diff --git a/node_modules/.bin/is-docker b/node_modules/.bin/is-docker deleted file mode 120000 index 9896ba572b..0000000000 --- a/node_modules/.bin/is-docker +++ /dev/null @@ -1 +0,0 @@ -../is-docker/cli.js \ No newline at end of file diff --git a/node_modules/.bin/is-inside-container b/node_modules/.bin/is-inside-container deleted file mode 120000 index e7ed4fe6f0..0000000000 --- a/node_modules/.bin/is-inside-container +++ /dev/null @@ -1 +0,0 @@ -../is-inside-container/cli.js \ No newline at end of file diff --git a/node_modules/.bin/browserslist-lint b/node_modules/.bin/update-browserslist-db similarity index 100% rename from node_modules/.bin/browserslist-lint rename to node_modules/.bin/update-browserslist-db diff --git a/node_modules/.package-lock.json b/node_modules/.package-lock.json index 4319a1d5d2..0e73dad104 100644 --- a/node_modules/.package-lock.json +++ b/node_modules/.package-lock.json @@ -1072,18 +1072,12 @@ "node": ">=14" } }, - "node_modules/@pkgr/utils": { - "version": "2.4.2", + "node_modules/@pkgr/core": { + "version": "0.1.1", + "resolved": "https://registry.npmjs.org/@pkgr/core/-/core-0.1.1.tgz", + "integrity": "sha512-cq8o4cWH0ibXh9VGi5P20Tu9XF/0fFXl9EUinr9QfTM7a7p0oTA4iJRCQWppXR1Pg8dSM0UCItCkPwsk9qWWYA==", "dev": true, "license": "MIT", - "dependencies": { - "cross-spawn": "^7.0.3", - "fast-glob": "^3.3.0", - "is-glob": "^4.0.3", - "open": "^9.1.0", - "picocolors": "^1.0.0", - "tslib": "^2.6.0" - }, "engines": { "node": "^12.20.0 || ^14.18.0 || >=16.0.0" }, @@ -1091,11 +1085,6 @@ "url": "https://opencollective.com/unts" } }, - "node_modules/@pkgr/utils/node_modules/tslib": { - "version": "2.6.0", - "dev": true, - "license": "0BSD" - }, "node_modules/@protobuf-ts/plugin": { "version": "2.9.4", "resolved": "https://registry.npmjs.org/@protobuf-ts/plugin/-/plugin-2.9.4.tgz", @@ -1303,16 +1292,17 @@ "license": "MIT" }, "node_modules/@typescript-eslint/eslint-plugin": { - "version": "8.15.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-8.15.0.tgz", - "integrity": "sha512-+zkm9AR1Ds9uLWN3fkoeXgFppaQ+uEVtfOV62dDmsy9QCNqlRHWNEck4yarvRNrvRcHQLGfqBNui3cimoz8XAg==", + "version": "8.16.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-8.16.0.tgz", + "integrity": "sha512-5YTHKV8MYlyMI6BaEG7crQ9BhSc8RxzshOReKwZwRWN0+XvvTOm+L/UYLCYxFpfwYuAAqhxiq4yae0CMFwbL7Q==", "dev": true, + "license": "MIT", "dependencies": { "@eslint-community/regexpp": "^4.10.0", - "@typescript-eslint/scope-manager": "8.15.0", - "@typescript-eslint/type-utils": "8.15.0", - "@typescript-eslint/utils": "8.15.0", - "@typescript-eslint/visitor-keys": "8.15.0", + "@typescript-eslint/scope-manager": "8.16.0", + "@typescript-eslint/type-utils": "8.16.0", + "@typescript-eslint/utils": "8.16.0", + "@typescript-eslint/visitor-keys": "8.16.0", "graphemer": "^1.4.0", "ignore": "^5.3.1", "natural-compare": "^1.4.0", @@ -1336,15 +1326,16 @@ } }, "node_modules/@typescript-eslint/parser": { - "version": "8.15.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-8.15.0.tgz", - "integrity": "sha512-7n59qFpghG4uazrF9qtGKBZXn7Oz4sOMm8dwNWDQY96Xlm2oX67eipqcblDj+oY1lLCbf1oltMZFpUso66Kl1A==", + "version": "8.16.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-8.16.0.tgz", + "integrity": "sha512-D7DbgGFtsqIPIFMPJwCad9Gfi/hC0PWErRRHFnaCWoEDYi5tQUDiJCTmGUbBiLzjqAck4KcXt9Ayj0CNlIrF+w==", "dev": true, + "license": "BSD-2-Clause", "dependencies": { - "@typescript-eslint/scope-manager": "8.15.0", - "@typescript-eslint/types": "8.15.0", - "@typescript-eslint/typescript-estree": "8.15.0", - "@typescript-eslint/visitor-keys": "8.15.0", + "@typescript-eslint/scope-manager": "8.16.0", + "@typescript-eslint/types": "8.16.0", + "@typescript-eslint/typescript-estree": "8.16.0", + "@typescript-eslint/visitor-keys": "8.16.0", "debug": "^4.3.4" }, "engines": { @@ -1364,13 +1355,14 @@ } }, "node_modules/@typescript-eslint/scope-manager": { - "version": "8.15.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-8.15.0.tgz", - "integrity": "sha512-QRGy8ADi4J7ii95xz4UoiymmmMd/zuy9azCaamnZ3FM8T5fZcex8UfJcjkiEZjJSztKfEBe3dZ5T/5RHAmw2mA==", + "version": "8.16.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-8.16.0.tgz", + "integrity": "sha512-mwsZWubQvBki2t5565uxF0EYvG+FwdFb8bMtDuGQLdCCnGPrDEDvm1gtfynuKlnpzeBRqdFCkMf9jg1fnAK8sg==", "dev": true, + "license": "MIT", "dependencies": { - "@typescript-eslint/types": "8.15.0", - "@typescript-eslint/visitor-keys": "8.15.0" + "@typescript-eslint/types": "8.16.0", + "@typescript-eslint/visitor-keys": "8.16.0" }, "engines": { "node": "^18.18.0 || ^20.9.0 || >=21.1.0" @@ -1381,13 +1373,14 @@ } }, "node_modules/@typescript-eslint/type-utils": { - "version": "8.15.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-8.15.0.tgz", - "integrity": "sha512-UU6uwXDoI3JGSXmcdnP5d8Fffa2KayOhUUqr/AiBnG1Gl7+7ut/oyagVeSkh7bxQ0zSXV9ptRh/4N15nkCqnpw==", + "version": "8.16.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-8.16.0.tgz", + "integrity": "sha512-IqZHGG+g1XCWX9NyqnI/0CX5LL8/18awQqmkZSl2ynn8F76j579dByc0jhfVSnSnhf7zv76mKBQv9HQFKvDCgg==", "dev": true, + "license": "MIT", "dependencies": { - "@typescript-eslint/typescript-estree": "8.15.0", - "@typescript-eslint/utils": "8.15.0", + "@typescript-eslint/typescript-estree": "8.16.0", + "@typescript-eslint/utils": "8.16.0", "debug": "^4.3.4", "ts-api-utils": "^1.3.0" }, @@ -1408,10 +1401,11 @@ } }, "node_modules/@typescript-eslint/types": { - "version": "8.15.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-8.15.0.tgz", - "integrity": "sha512-n3Gt8Y/KyJNe0S3yDCD2RVKrHBC4gTUcLTebVBXacPy091E6tNspFLKRXlk3hwT4G55nfr1n2AdFqi/XMxzmPQ==", + "version": "8.16.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-8.16.0.tgz", + "integrity": "sha512-NzrHj6thBAOSE4d9bsuRNMvk+BvaQvmY4dDglgkgGC0EW/tB3Kelnp3tAKH87GEwzoxgeQn9fNGRyFJM/xd+GQ==", "dev": true, + "license": "MIT", "engines": { "node": "^18.18.0 || ^20.9.0 || >=21.1.0" }, @@ -1421,13 +1415,14 @@ } }, "node_modules/@typescript-eslint/typescript-estree": { - "version": "8.15.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-8.15.0.tgz", - "integrity": "sha512-1eMp2JgNec/niZsR7ioFBlsh/Fk0oJbhaqO0jRyQBMgkz7RrFfkqF9lYYmBoGBaSiLnu8TAPQTwoTUiSTUW9dg==", + "version": "8.16.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-8.16.0.tgz", + "integrity": "sha512-E2+9IzzXMc1iaBy9zmo+UYvluE3TW7bCGWSF41hVWUE01o8nzr1rvOQYSxelxr6StUvRcTMe633eY8mXASMaNw==", "dev": true, + "license": "BSD-2-Clause", "dependencies": { - "@typescript-eslint/types": "8.15.0", - "@typescript-eslint/visitor-keys": "8.15.0", + "@typescript-eslint/types": "8.16.0", + "@typescript-eslint/visitor-keys": "8.16.0", "debug": "^4.3.4", "fast-glob": "^3.3.2", "is-glob": "^4.0.3", @@ -1453,6 +1448,7 @@ "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.1.tgz", "integrity": "sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA==", "dev": true, + "license": "MIT", "dependencies": { "balanced-match": "^1.0.0" } @@ -1462,6 +1458,7 @@ "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-9.0.5.tgz", "integrity": "sha512-G6T0ZX48xgozx7587koeX9Ys2NYy6Gmv//P89sEte9V9whIapMNF4idKxnW2QtCcLiTWlb/wfCabAtAFWhhBow==", "dev": true, + "license": "ISC", "dependencies": { "brace-expansion": "^2.0.1" }, @@ -1473,15 +1470,16 @@ } }, "node_modules/@typescript-eslint/utils": { - "version": "8.15.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-8.15.0.tgz", - "integrity": "sha512-k82RI9yGhr0QM3Dnq+egEpz9qB6Un+WLYhmoNcvl8ltMEededhh7otBVVIDDsEEttauwdY/hQoSsOv13lxrFzQ==", + "version": "8.16.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-8.16.0.tgz", + "integrity": "sha512-C1zRy/mOL8Pj157GiX4kaw7iyRLKfJXBR3L82hk5kS/GyHcOFmy4YUq/zfZti72I9wnuQtA/+xzft4wCC8PJdA==", "dev": true, + "license": "MIT", "dependencies": { "@eslint-community/eslint-utils": "^4.4.0", - "@typescript-eslint/scope-manager": "8.15.0", - "@typescript-eslint/types": "8.15.0", - "@typescript-eslint/typescript-estree": "8.15.0" + "@typescript-eslint/scope-manager": "8.16.0", + "@typescript-eslint/types": "8.16.0", + "@typescript-eslint/typescript-estree": "8.16.0" }, "engines": { "node": "^18.18.0 || ^20.9.0 || >=21.1.0" @@ -1500,12 +1498,13 @@ } }, "node_modules/@typescript-eslint/visitor-keys": { - "version": "8.15.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-8.15.0.tgz", - "integrity": "sha512-h8vYOulWec9LhpwfAdZf2bjr8xIp0KNKnpgqSz0qqYYKAW/QZKw3ktRndbiAtUz4acH4QLQavwZBYCc0wulA/Q==", + "version": "8.16.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-8.16.0.tgz", + "integrity": "sha512-pq19gbaMOmFE3CbL0ZB8J8BFCo2ckfHBfaIsaOZgBIF4EoISJIdLX5xRhd0FGB0LlHReNRuzoJoMGpTjq8F2CQ==", "dev": true, + "license": "MIT", "dependencies": { - "@typescript-eslint/types": "8.15.0", + "@typescript-eslint/types": "8.16.0", "eslint-visitor-keys": "^4.2.0" }, "engines": { @@ -1521,6 +1520,7 @@ "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-4.2.0.tgz", "integrity": "sha512-UyLnSehNt62FFhSwjZlHmeokpRK59rcz29j+F1/aDgbkbRTk7wIc9XzdoasMUbRNKDM0qQt/+BJ4BrpFeABemw==", "dev": true, + "license": "Apache-2.0", "engines": { "node": "^18.18.0 || ^20.9.0 || >=21.1.0" }, @@ -2077,14 +2077,6 @@ "version": "2.2.3", "license": "Apache-2.0" }, - "node_modules/big-integer": { - "version": "1.6.51", - "dev": true, - "license": "Unlicense", - "engines": { - "node": ">=0.6" - } - }, "node_modules/binary": { "version": "0.3.0", "resolved": "https://registry.npmjs.org/binary/-/binary-0.3.0.tgz", @@ -2115,17 +2107,6 @@ "version": "2.19.5", "license": "MIT" }, - "node_modules/bplist-parser": { - "version": "0.2.0", - "dev": true, - "license": "MIT", - "dependencies": { - "big-integer": "^1.6.44" - }, - "engines": { - "node": ">= 5.10.0" - } - }, "node_modules/brace-expansion": { "version": "1.1.11", "license": "MIT", @@ -2145,7 +2126,9 @@ } }, "node_modules/browserslist": { - "version": "4.21.4", + "version": "4.24.2", + "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.24.2.tgz", + "integrity": "sha512-ZIc+Q62revdMcqC6aChtW4jz3My3klmCO1fEmINZY/8J3EpBg5/A/D0AKmBveUh6pgoeycoMkVMko84tuYS+Gg==", "dev": true, "funding": [ { @@ -2155,14 +2138,18 @@ { "type": "tidelift", "url": "https://tidelift.com/funding/github/npm/browserslist" + }, + { + "type": "github", + "url": "https://github.com/sponsors/ai" } ], "license": "MIT", "dependencies": { - "caniuse-lite": "^1.0.30001400", - "electron-to-chromium": "^1.4.251", - "node-releases": "^2.0.6", - "update-browserslist-db": "^1.0.9" + "caniuse-lite": "^1.0.30001669", + "electron-to-chromium": "^1.5.41", + "node-releases": "^2.0.18", + "update-browserslist-db": "^1.1.1" }, "bin": { "browserslist": "cli.js" @@ -2212,20 +2199,6 @@ "node": ">=0.2.0" } }, - "node_modules/bundle-name": { - "version": "3.0.0", - "dev": true, - "license": "MIT", - "dependencies": { - "run-applescript": "^5.0.0" - }, - "engines": { - "node": ">=12" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, "node_modules/call-bind": { "version": "1.0.7", "resolved": "https://registry.npmjs.org/call-bind/-/call-bind-1.0.7.tgz", @@ -2270,7 +2243,9 @@ "license": "0BSD" }, "node_modules/caniuse-lite": { - "version": "1.0.30001639", + "version": "1.0.30001684", + "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001684.tgz", + "integrity": "sha512-G1LRwLIQjBQoyq0ZJGqGIJUXzJ8irpbjHLpVRXDvBEScFJ9b17sgK6vlx0GAJFE21okD7zXl08rRRUfq6HdoEQ==", "dev": true, "funding": [ { @@ -2774,38 +2749,6 @@ "dev": true, "license": "MIT" }, - "node_modules/default-browser": { - "version": "4.0.0", - "dev": true, - "license": "MIT", - "dependencies": { - "bundle-name": "^3.0.0", - "default-browser-id": "^3.0.0", - "execa": "^7.1.1", - "titleize": "^3.0.0" - }, - "engines": { - "node": ">=14.16" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/default-browser-id": { - "version": "3.0.0", - "dev": true, - "license": "MIT", - "dependencies": { - "bplist-parser": "^0.2.0", - "untildify": "^4.0.0" - }, - "engines": { - "node": ">=12" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, "node_modules/define-data-property": { "version": "1.1.4", "resolved": "https://registry.npmjs.org/define-data-property/-/define-data-property-1.1.4.tgz", @@ -2823,17 +2766,6 @@ "url": "https://github.com/sponsors/ljharb" } }, - "node_modules/define-lazy-prop": { - "version": "3.0.0", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=12" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, "node_modules/define-properties": { "version": "1.2.1", "resolved": "https://registry.npmjs.org/define-properties/-/define-properties-1.2.1.tgz", @@ -2997,7 +2929,9 @@ "license": "MIT" }, "node_modules/electron-to-chromium": { - "version": "1.4.284", + "version": "1.5.64", + "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.5.64.tgz", + "integrity": "sha512-IXEuxU+5ClW2IGEYFC2T7szbyVgehupCWQe5GNh+H065CD6U6IFN0s4KeAMFGNmQolRU4IV7zGBWSYMmZ8uuqQ==", "dev": true, "license": "ISC" }, @@ -3181,7 +3115,9 @@ } }, "node_modules/escalade": { - "version": "3.1.1", + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/escalade/-/escalade-3.2.0.tgz", + "integrity": "sha512-WUj2qlxaQtO4g6Pq5c29GTcWGDyd8itL8zTlipgECz3JesAiiOKotd8JU6otB3PACgG6xkJUyVhboMS+bje/jA==", "dev": true, "license": "MIT", "engines": { @@ -3341,11 +3277,13 @@ } }, "node_modules/eslint-plugin-escompat": { - "version": "3.3.4", + "version": "3.11.4", + "resolved": "https://registry.npmjs.org/eslint-plugin-escompat/-/eslint-plugin-escompat-3.11.4.tgz", + "integrity": "sha512-j0ywwNnIufshOzgAu+PfIig1c7VRClKSNKzpniMT2vXQ4leL5q+e/SpMFQU0nrdL2WFFM44XmhSuwmxb3G0CJg==", "dev": true, "license": "MIT", "dependencies": { - "browserslist": "^4.21.0" + "browserslist": "^4.23.1" }, "peerDependencies": { "eslint": ">=5.14.1" @@ -3384,34 +3322,69 @@ } }, "node_modules/eslint-plugin-github": { - "version": "5.0.2", - "resolved": "https://registry.npmjs.org/eslint-plugin-github/-/eslint-plugin-github-5.0.2.tgz", - "integrity": "sha512-nMdzWJQ5CimjQDY6SFeJ0KIXuNFf0dgDWEd4eP3UWfuTuP/dXcZJDg7MQRvAFt743T1zUi4+/HdOihfu8xJkLA==", + "version": "5.1.1", + "resolved": "https://registry.npmjs.org/eslint-plugin-github/-/eslint-plugin-github-5.1.1.tgz", + "integrity": "sha512-+yE9caIn0v14AUE+vYksZy2xMnzHhsiiC9DBMbrZutb4nsHEZy+Uzimdfth7GAyxAh6VWCiivYG/ktH4LT+hnQ==", "dev": true, + "license": "MIT", "dependencies": { + "@eslint/compat": "^1.2.3", + "@eslint/eslintrc": "^3.1.0", + "@eslint/js": "^9.14.0", "@github/browserslist-config": "^1.0.0", - "@typescript-eslint/eslint-plugin": "^8.0.0", - "@typescript-eslint/parser": "^8.0.0", "aria-query": "^5.3.0", "eslint-config-prettier": ">=8.0.0", - "eslint-plugin-escompat": "^3.3.3", + "eslint-plugin-escompat": "^3.11.3", "eslint-plugin-eslint-comments": "^3.2.0", "eslint-plugin-filenames": "^1.3.2", "eslint-plugin-i18n-text": "^1.0.1", "eslint-plugin-import": "^2.25.2", "eslint-plugin-jsx-a11y": "^6.7.1", "eslint-plugin-no-only-tests": "^3.0.0", - "eslint-plugin-prettier": "^5.0.0", + "eslint-plugin-prettier": "^5.2.1", "eslint-rule-documentation": ">=1.0.0", + "globals": "^15.12.0", "jsx-ast-utils": "^3.3.2", "prettier": "^3.0.0", - "svg-element-attributes": "^1.3.1" + "svg-element-attributes": "^1.3.1", + "typescript-eslint": "^8.14.0" }, "bin": { "eslint-ignore-errors": "bin/eslint-ignore-errors.js" }, "peerDependencies": { - "eslint": "^8.0.1" + "eslint": "^8 || ^9" + } + }, + "node_modules/eslint-plugin-github/node_modules/@eslint/compat": { + "version": "1.2.3", + "resolved": "https://registry.npmjs.org/@eslint/compat/-/compat-1.2.3.tgz", + "integrity": "sha512-wlZhwlDFxkxIZ571aH0FoK4h4Vwx7P3HJx62Gp8hTc10bfpwT2x0nULuAHmQSJBOWPgPeVf+9YtnD4j50zVHmA==", + "dev": true, + "license": "Apache-2.0", + "engines": { + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + }, + "peerDependencies": { + "eslint": "^9.10.0" + }, + "peerDependenciesMeta": { + "eslint": { + "optional": true + } + } + }, + "node_modules/eslint-plugin-github/node_modules/globals": { + "version": "15.12.0", + "resolved": "https://registry.npmjs.org/globals/-/globals-15.12.0.tgz", + "integrity": "sha512-1+gLErljJFhbOVyaetcwJiJ4+eLe45S2E7P5UiZ9xGfeq3ATQf5DOv9G7MH3gGbKQLkzmNh2DxfZwLdw+j6oTQ==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=18" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" } }, "node_modules/eslint-plugin-i18n-text": { @@ -3523,22 +3496,25 @@ } }, "node_modules/eslint-plugin-prettier": { - "version": "5.0.0", + "version": "5.2.1", + "resolved": "https://registry.npmjs.org/eslint-plugin-prettier/-/eslint-plugin-prettier-5.2.1.tgz", + "integrity": "sha512-gH3iR3g4JfF+yYPaJYkN7jEl9QbweL/YfkoRlNnuIEHEz1vHVlCmWOS+eGGiRuzHQXdJFCOTxRgvju9b8VUmrw==", "dev": true, "license": "MIT", "dependencies": { "prettier-linter-helpers": "^1.0.0", - "synckit": "^0.8.5" + "synckit": "^0.9.1" }, "engines": { "node": "^14.18.0 || >=16.0.0" }, "funding": { - "url": "https://opencollective.com/prettier" + "url": "https://opencollective.com/eslint-plugin-prettier" }, "peerDependencies": { "@types/eslint": ">=8.0.0", "eslint": ">=8.0.0", + "eslint-config-prettier": "*", "prettier": ">=3.0.0" }, "peerDependenciesMeta": { @@ -4713,20 +4689,6 @@ "url": "https://github.com/sponsors/ljharb" } }, - "node_modules/is-docker": { - "version": "3.0.0", - "dev": true, - "license": "MIT", - "bin": { - "is-docker": "cli.js" - }, - "engines": { - "node": "^12.20.0 || ^14.13.1 || >=16.0.0" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, "node_modules/is-error": { "version": "2.2.2", "dev": true, @@ -4756,23 +4718,6 @@ "node": ">=0.10.0" } }, - "node_modules/is-inside-container": { - "version": "1.0.0", - "dev": true, - "license": "MIT", - "dependencies": { - "is-docker": "^3.0.0" - }, - "bin": { - "is-inside-container": "cli.js" - }, - "engines": { - "node": ">=14.16" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, "node_modules/is-map": { "version": "2.0.2", "dev": true, @@ -4974,31 +4919,6 @@ "url": "https://github.com/sponsors/ljharb" } }, - "node_modules/is-wsl": { - "version": "2.2.0", - "dev": true, - "license": "MIT", - "dependencies": { - "is-docker": "^2.0.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/is-wsl/node_modules/is-docker": { - "version": "2.2.1", - "dev": true, - "license": "MIT", - "bin": { - "is-docker": "cli.js" - }, - "engines": { - "node": ">=8" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, "node_modules/isarray": { "version": "2.0.5", "resolved": "https://registry.npmjs.org/isarray/-/isarray-2.0.5.tgz", @@ -5497,7 +5417,9 @@ } }, "node_modules/node-releases": { - "version": "2.0.8", + "version": "2.0.18", + "resolved": "https://registry.npmjs.org/node-releases/-/node-releases-2.0.18.tgz", + "integrity": "sha512-d9VeXT4SJ7ZeOqGX6R5EM022wpL+eWPooLI+5UpWn2jCT1aosUQEhQP214x33Wkwx3JQMvIm+tIoVOdodFS40g==", "dev": true, "license": "MIT" }, @@ -5677,23 +5599,6 @@ "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/open": { - "version": "9.1.0", - "dev": true, - "license": "MIT", - "dependencies": { - "default-browser": "^4.0.0", - "define-lazy-prop": "^3.0.0", - "is-inside-container": "^1.0.0", - "is-wsl": "^2.2.0" - }, - "engines": { - "node": ">=14.16" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, "node_modules/optionator": { "version": "0.9.3", "dev": true, @@ -5897,7 +5802,9 @@ } }, "node_modules/picocolors": { - "version": "1.0.0", + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/picocolors/-/picocolors-1.1.1.tgz", + "integrity": "sha512-xceH2snhtb5M9liqDsmEw56le376mTZkEX/jEb/RxNFyegNul7eNslCXP9FDj/Lcu0X8KEyMceP2ntpaHrDEVA==", "dev": true, "license": "ISC" }, @@ -5958,7 +5865,9 @@ } }, "node_modules/prettier": { - "version": "3.0.0", + "version": "3.3.3", + "resolved": "https://registry.npmjs.org/prettier/-/prettier-3.3.3.tgz", + "integrity": "sha512-i2tDNA0O5IrMO757lfrdQZCc2jPNDVntV0m/+4whiDfWaTKfMNgR7Qz0NAeGz/nRqF4m5/6CLzbP4/liHt12Ew==", "dev": true, "license": "MIT", "bin": { @@ -5973,6 +5882,8 @@ }, "node_modules/prettier-linter-helpers": { "version": "1.0.0", + "resolved": "https://registry.npmjs.org/prettier-linter-helpers/-/prettier-linter-helpers-1.0.0.tgz", + "integrity": "sha512-GbK2cP9nraSSUF9N2XwUwqfzlAFlMNYYl+ShE/V+H8a9uNl/oUqB1w2EL54Jh0OlyRSd8RfWYJ3coVS4TROP2w==", "dev": true, "license": "MIT", "dependencies": { @@ -6239,102 +6150,6 @@ "url": "https://github.com/sponsors/isaacs" } }, - "node_modules/run-applescript": { - "version": "5.0.0", - "dev": true, - "license": "MIT", - "dependencies": { - "execa": "^5.0.0" - }, - "engines": { - "node": ">=12" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/run-applescript/node_modules/execa": { - "version": "5.1.1", - "dev": true, - "license": "MIT", - "dependencies": { - "cross-spawn": "^7.0.3", - "get-stream": "^6.0.0", - "human-signals": "^2.1.0", - "is-stream": "^2.0.0", - "merge-stream": "^2.0.0", - "npm-run-path": "^4.0.1", - "onetime": "^5.1.2", - "signal-exit": "^3.0.3", - "strip-final-newline": "^2.0.0" - }, - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/sindresorhus/execa?sponsor=1" - } - }, - "node_modules/run-applescript/node_modules/human-signals": { - "version": "2.1.0", - "dev": true, - "license": "Apache-2.0", - "engines": { - "node": ">=10.17.0" - } - }, - "node_modules/run-applescript/node_modules/is-stream": { - "version": "2.0.1", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=8" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/run-applescript/node_modules/mimic-fn": { - "version": "2.1.0", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=6" - } - }, - "node_modules/run-applescript/node_modules/npm-run-path": { - "version": "4.0.1", - "dev": true, - "license": "MIT", - "dependencies": { - "path-key": "^3.0.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/run-applescript/node_modules/onetime": { - "version": "5.1.2", - "dev": true, - "license": "MIT", - "dependencies": { - "mimic-fn": "^2.1.0" - }, - "engines": { - "node": ">=6" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/run-applescript/node_modules/strip-final-newline": { - "version": "2.0.0", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=6" - } - }, "node_modules/run-parallel": { "version": "1.2.0", "funding": [ @@ -6861,12 +6676,14 @@ } }, "node_modules/synckit": { - "version": "0.8.5", + "version": "0.9.2", + "resolved": "https://registry.npmjs.org/synckit/-/synckit-0.9.2.tgz", + "integrity": "sha512-vrozgXDQwYO72vHjUb/HnFbQx1exDjoKzqx23aXEg2a9VIg2TSFZ8FmeZpTjUCFMYw7mpX4BE2SFu8wI7asYsw==", "dev": true, "license": "MIT", "dependencies": { - "@pkgr/utils": "^2.3.1", - "tslib": "^2.5.0" + "@pkgr/core": "^0.1.0", + "tslib": "^2.6.2" }, "engines": { "node": "^14.18.0 || >=16.0.0" @@ -6876,7 +6693,9 @@ } }, "node_modules/synckit/node_modules/tslib": { - "version": "2.6.0", + "version": "2.8.1", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.8.1.tgz", + "integrity": "sha512-oJFu94HQb+KVduSUQL7wnpmqnfmLsOA/nAh6b6EH0wCEoK0/mPeXU6c3wKDV83MkOuHPRHtSXKKU99IBazS/2w==", "dev": true, "license": "0BSD" }, @@ -6934,17 +6753,6 @@ "version": "2.0.3", "license": "MIT" }, - "node_modules/titleize": { - "version": "3.0.0", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=12" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, "node_modules/tmp": { "version": "0.2.3", "resolved": "https://registry.npmjs.org/tmp/-/tmp-0.2.3.tgz", @@ -7184,10 +6992,11 @@ } }, "node_modules/typescript": { - "version": "5.6.3", - "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.6.3.tgz", - "integrity": "sha512-hjcS1mhfuyi4WW8IWtjP7brDrG2cuDZukyrYrSauoXGNgx0S7zceP07adYkJycEr56BOUTNPzbInooiN3fn1qw==", + "version": "5.7.2", + "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.7.2.tgz", + "integrity": "sha512-i5t66RHxDvVN40HfDd1PsEThGNnlMCMT3jMUuoh9/0TaqWevNontacunWyN02LA9/fIbEWlcHZcgTKb9QoaLfg==", "dev": true, + "license": "Apache-2.0", "bin": { "tsc": "bin/tsc", "tsserver": "bin/tsserver" @@ -7196,6 +7005,33 @@ "node": ">=14.17" } }, + "node_modules/typescript-eslint": { + "version": "8.16.0", + "resolved": "https://registry.npmjs.org/typescript-eslint/-/typescript-eslint-8.16.0.tgz", + "integrity": "sha512-wDkVmlY6O2do4V+lZd0GtRfbtXbeD0q9WygwXXSJnC1xorE8eqyC2L1tJimqpSeFrOzRlYtWnUp/uzgHQOgfBQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "@typescript-eslint/eslint-plugin": "8.16.0", + "@typescript-eslint/parser": "8.16.0", + "@typescript-eslint/utils": "8.16.0" + }, + "engines": { + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/typescript-eslint" + }, + "peerDependencies": { + "eslint": "^8.57.0 || ^9.0.0" + }, + "peerDependenciesMeta": { + "typescript": { + "optional": true + } + } + }, "node_modules/unbox-primitive": { "version": "1.0.2", "dev": true, @@ -7218,14 +7054,6 @@ "version": "6.0.0", "license": "ISC" }, - "node_modules/untildify": { - "version": "4.0.0", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=8" - } - }, "node_modules/unzip-stream": { "version": "0.3.4", "resolved": "https://registry.npmjs.org/unzip-stream/-/unzip-stream-0.3.4.tgz", @@ -7237,7 +7065,9 @@ } }, "node_modules/update-browserslist-db": { - "version": "1.0.10", + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/update-browserslist-db/-/update-browserslist-db-1.1.1.tgz", + "integrity": "sha512-R8UzCaa9Az+38REPiJ1tXlImTJXlVfgHZsglwBD/k6nj76ctsH1E3q4doGrukiLQd3sGQYu56r5+lo5r94l29A==", "dev": true, "funding": [ { @@ -7247,15 +7077,19 @@ { "type": "tidelift", "url": "https://tidelift.com/funding/github/npm/browserslist" + }, + { + "type": "github", + "url": "https://github.com/sponsors/ai" } ], "license": "MIT", "dependencies": { - "escalade": "^3.1.1", - "picocolors": "^1.0.0" + "escalade": "^3.2.0", + "picocolors": "^1.1.0" }, "bin": { - "browserslist-lint": "cli.js" + "update-browserslist-db": "cli.js" }, "peerDependencies": { "browserslist": ">= 4.21.0" diff --git a/node_modules/@pkgr/core/lib/constants.d.ts b/node_modules/@pkgr/core/lib/constants.d.ts new file mode 100644 index 0000000000..134889154c --- /dev/null +++ b/node_modules/@pkgr/core/lib/constants.d.ts @@ -0,0 +1,4 @@ +/// +export declare const CWD: string; +export declare const cjsRequire: NodeRequire; +export declare const EXTENSIONS: string[]; diff --git a/node_modules/@pkgr/core/lib/constants.js b/node_modules/@pkgr/core/lib/constants.js new file mode 100644 index 0000000000..374f420c29 --- /dev/null +++ b/node_modules/@pkgr/core/lib/constants.js @@ -0,0 +1,5 @@ +import { createRequire } from 'node:module'; +export const CWD = process.cwd(); +export const cjsRequire = typeof require === 'undefined' ? createRequire(import.meta.url) : require; +export const EXTENSIONS = ['.ts', '.tsx', ...Object.keys(cjsRequire.extensions)]; +//# sourceMappingURL=constants.js.map \ No newline at end of file diff --git a/node_modules/@pkgr/core/lib/constants.js.map b/node_modules/@pkgr/core/lib/constants.js.map new file mode 100644 index 0000000000..8721e26dac --- /dev/null +++ b/node_modules/@pkgr/core/lib/constants.js.map @@ -0,0 +1 @@ +{"version":3,"file":"constants.js","sourceRoot":"","sources":["../src/constants.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,aAAa,CAAA;AAE3C,MAAM,CAAC,MAAM,GAAG,GAAG,OAAO,CAAC,GAAG,EAAE,CAAA;AAEhC,MAAM,CAAC,MAAM,UAAU,GACrB,OAAO,OAAO,KAAK,WAAW,CAAC,CAAC,CAAC,aAAa,CAAC,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,OAAO,CAAA;AAG3E,MAAM,CAAC,MAAM,UAAU,GAAG,CAAC,KAAK,EAAE,MAAM,EAAE,GAAG,MAAM,CAAC,IAAI,CAAC,UAAU,CAAC,UAAU,CAAC,CAAC,CAAA"} \ No newline at end of file diff --git a/node_modules/@pkgr/core/lib/helpers.d.ts b/node_modules/@pkgr/core/lib/helpers.d.ts new file mode 100644 index 0000000000..4b84d0337f --- /dev/null +++ b/node_modules/@pkgr/core/lib/helpers.d.ts @@ -0,0 +1,5 @@ +export declare const tryPkg: (pkg: string) => string | undefined; +export declare const isPkgAvailable: (pkg: string) => boolean; +export declare const tryFile: (filePath?: string[] | string, includeDir?: boolean) => string; +export declare const tryExtensions: (filepath: string, extensions?: string[]) => string; +export declare const findUp: (searchEntry: string, searchFileOrIncludeDir?: boolean | string, includeDir?: boolean) => string; diff --git a/node_modules/@pkgr/core/lib/helpers.js b/node_modules/@pkgr/core/lib/helpers.js new file mode 100644 index 0000000000..08e33302dc --- /dev/null +++ b/node_modules/@pkgr/core/lib/helpers.js @@ -0,0 +1,49 @@ +import fs from 'node:fs'; +import path from 'node:path'; +import { CWD, EXTENSIONS, cjsRequire } from './constants.js'; +export const tryPkg = (pkg) => { + try { + return cjsRequire.resolve(pkg); + } + catch (_a) { } +}; +export const isPkgAvailable = (pkg) => !!tryPkg(pkg); +export const tryFile = (filePath, includeDir = false) => { + if (typeof filePath === 'string') { + return fs.existsSync(filePath) && + (includeDir || fs.statSync(filePath).isFile()) + ? filePath + : ''; + } + for (const file of filePath !== null && filePath !== void 0 ? filePath : []) { + if (tryFile(file, includeDir)) { + return file; + } + } + return ''; +}; +export const tryExtensions = (filepath, extensions = EXTENSIONS) => { + const ext = [...extensions, ''].find(ext => tryFile(filepath + ext)); + return ext == null ? '' : filepath + ext; +}; +export const findUp = (searchEntry, searchFileOrIncludeDir, includeDir) => { + console.assert(path.isAbsolute(searchEntry)); + if (!tryFile(searchEntry, true) || + (searchEntry !== CWD && !searchEntry.startsWith(CWD + path.sep))) { + return ''; + } + searchEntry = path.resolve(fs.statSync(searchEntry).isDirectory() + ? searchEntry + : path.resolve(searchEntry, '..')); + const isSearchFile = typeof searchFileOrIncludeDir === 'string'; + const searchFile = isSearchFile ? searchFileOrIncludeDir : 'package.json'; + do { + const searched = tryFile(path.resolve(searchEntry, searchFile), isSearchFile && includeDir); + if (searched) { + return searched; + } + searchEntry = path.resolve(searchEntry, '..'); + } while (searchEntry === CWD || searchEntry.startsWith(CWD + path.sep)); + return ''; +}; +//# sourceMappingURL=helpers.js.map \ No newline at end of file diff --git a/node_modules/@pkgr/core/lib/helpers.js.map b/node_modules/@pkgr/core/lib/helpers.js.map new file mode 100644 index 0000000000..aaf8d4f601 --- /dev/null +++ b/node_modules/@pkgr/core/lib/helpers.js.map @@ -0,0 +1 @@ +{"version":3,"file":"helpers.js","sourceRoot":"","sources":["../src/helpers.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,SAAS,CAAA;AACxB,OAAO,IAAI,MAAM,WAAW,CAAA;AAE5B,OAAO,EAAE,GAAG,EAAE,UAAU,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAA;AAE5D,MAAM,CAAC,MAAM,MAAM,GAAG,CAAC,GAAW,EAAE,EAAE;IACpC,IAAI,CAAC;QACH,OAAO,UAAU,CAAC,OAAO,CAAC,GAAG,CAAC,CAAA;IAChC,CAAC;IAAC,WAAM,CAAC,CAAA,CAAC;AACZ,CAAC,CAAA;AAED,MAAM,CAAC,MAAM,cAAc,GAAG,CAAC,GAAW,EAAE,EAAE,CAAC,CAAC,CAAC,MAAM,CAAC,GAAG,CAAC,CAAA;AAE5D,MAAM,CAAC,MAAM,OAAO,GAAG,CAAC,QAA4B,EAAE,UAAU,GAAG,KAAK,EAAE,EAAE;IAC1E,IAAI,OAAO,QAAQ,KAAK,QAAQ,EAAE,CAAC;QACjC,OAAO,EAAE,CAAC,UAAU,CAAC,QAAQ,CAAC;YAC5B,CAAC,UAAU,IAAI,EAAE,CAAC,QAAQ,CAAC,QAAQ,CAAC,CAAC,MAAM,EAAE,CAAC;YAC9C,CAAC,CAAC,QAAQ;YACV,CAAC,CAAC,EAAE,CAAA;IACR,CAAC;IAED,KAAK,MAAM,IAAI,IAAI,QAAQ,aAAR,QAAQ,cAAR,QAAQ,GAAI,EAAE,EAAE,CAAC;QAClC,IAAI,OAAO,CAAC,IAAI,EAAE,UAAU,CAAC,EAAE,CAAC;YAC9B,OAAO,IAAI,CAAA;QACb,CAAC;IACH,CAAC;IAED,OAAO,EAAE,CAAA;AACX,CAAC,CAAA;AAED,MAAM,CAAC,MAAM,aAAa,GAAG,CAAC,QAAgB,EAAE,UAAU,GAAG,UAAU,EAAE,EAAE;IACzE,MAAM,GAAG,GAAG,CAAC,GAAG,UAAU,EAAE,EAAE,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,OAAO,CAAC,QAAQ,GAAG,GAAG,CAAC,CAAC,CAAA;IACpE,OAAO,GAAG,IAAI,IAAI,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,QAAQ,GAAG,GAAG,CAAA;AAC1C,CAAC,CAAA;AAED,MAAM,CAAC,MAAM,MAAM,GAAG,CACpB,WAAmB,EACnB,sBAAyC,EACzC,UAAoB,EACpB,EAAE;IACF,OAAO,CAAC,MAAM,CAAC,IAAI,CAAC,UAAU,CAAC,WAAW,CAAC,CAAC,CAAA;IAE5C,IACE,CAAC,OAAO,CAAC,WAAW,EAAE,IAAI,CAAC;QAC3B,CAAC,WAAW,KAAK,GAAG,IAAI,CAAC,WAAW,CAAC,UAAU,CAAC,GAAG,GAAG,IAAI,CAAC,GAAG,CAAC,CAAC,EAChE,CAAC;QACD,OAAO,EAAE,CAAA;IACX,CAAC;IAED,WAAW,GAAG,IAAI,CAAC,OAAO,CACxB,EAAE,CAAC,QAAQ,CAAC,WAAW,CAAC,CAAC,WAAW,EAAE;QACpC,CAAC,CAAC,WAAW;QACb,CAAC,CAAC,IAAI,CAAC,OAAO,CAAC,WAAW,EAAE,IAAI,CAAC,CACpC,CAAA;IAED,MAAM,YAAY,GAAG,OAAO,sBAAsB,KAAK,QAAQ,CAAA;IAE/D,MAAM,UAAU,GAAG,YAAY,CAAC,CAAC,CAAC,sBAAsB,CAAC,CAAC,CAAC,cAAc,CAAA;IAEzE,GAAG,CAAC;QACF,MAAM,QAAQ,GAAG,OAAO,CACtB,IAAI,CAAC,OAAO,CAAC,WAAW,EAAE,UAAU,CAAC,EACrC,YAAY,IAAI,UAAU,CAC3B,CAAA;QACD,IAAI,QAAQ,EAAE,CAAC;YACb,OAAO,QAAQ,CAAA;QACjB,CAAC;QACD,WAAW,GAAG,IAAI,CAAC,OAAO,CAAC,WAAW,EAAE,IAAI,CAAC,CAAA;IAC/C,CAAC,QAAQ,WAAW,KAAK,GAAG,IAAI,WAAW,CAAC,UAAU,CAAC,GAAG,GAAG,IAAI,CAAC,GAAG,CAAC,EAAC;IAEvE,OAAO,EAAE,CAAA;AACX,CAAC,CAAA"} \ No newline at end of file diff --git a/node_modules/@pkgr/core/lib/index.cjs b/node_modules/@pkgr/core/lib/index.cjs new file mode 100644 index 0000000000..8c63baf13b --- /dev/null +++ b/node_modules/@pkgr/core/lib/index.cjs @@ -0,0 +1,64 @@ +'use strict'; + +var node_module = require('node:module'); +var fs = require('node:fs'); +var path = require('node:path'); + +const import_meta = {}; +const CWD = process.cwd(); +const cjsRequire = typeof require === "undefined" ? node_module.createRequire(import_meta.url) : require; +const EXTENSIONS = [".ts", ".tsx", ...Object.keys(cjsRequire.extensions)]; + +const tryPkg = (pkg) => { + try { + return cjsRequire.resolve(pkg); + } catch (e) { + } +}; +const isPkgAvailable = (pkg) => !!tryPkg(pkg); +const tryFile = (filePath, includeDir = false) => { + if (typeof filePath === "string") { + return fs.existsSync(filePath) && (includeDir || fs.statSync(filePath).isFile()) ? filePath : ""; + } + for (const file of filePath != null ? filePath : []) { + if (tryFile(file, includeDir)) { + return file; + } + } + return ""; +}; +const tryExtensions = (filepath, extensions = EXTENSIONS) => { + const ext = [...extensions, ""].find((ext2) => tryFile(filepath + ext2)); + return ext == null ? "" : filepath + ext; +}; +const findUp = (searchEntry, searchFileOrIncludeDir, includeDir) => { + console.assert(path.isAbsolute(searchEntry)); + if (!tryFile(searchEntry, true) || searchEntry !== CWD && !searchEntry.startsWith(CWD + path.sep)) { + return ""; + } + searchEntry = path.resolve( + fs.statSync(searchEntry).isDirectory() ? searchEntry : path.resolve(searchEntry, "..") + ); + const isSearchFile = typeof searchFileOrIncludeDir === "string"; + const searchFile = isSearchFile ? searchFileOrIncludeDir : "package.json"; + do { + const searched = tryFile( + path.resolve(searchEntry, searchFile), + isSearchFile && includeDir + ); + if (searched) { + return searched; + } + searchEntry = path.resolve(searchEntry, ".."); + } while (searchEntry === CWD || searchEntry.startsWith(CWD + path.sep)); + return ""; +}; + +exports.CWD = CWD; +exports.EXTENSIONS = EXTENSIONS; +exports.cjsRequire = cjsRequire; +exports.findUp = findUp; +exports.isPkgAvailable = isPkgAvailable; +exports.tryExtensions = tryExtensions; +exports.tryFile = tryFile; +exports.tryPkg = tryPkg; diff --git a/node_modules/@pkgr/utils/lib/index.d.ts b/node_modules/@pkgr/core/lib/index.d.ts similarity index 50% rename from node_modules/@pkgr/utils/lib/index.d.ts rename to node_modules/@pkgr/core/lib/index.d.ts index a7d98e976c..0d6045d9fb 100644 --- a/node_modules/@pkgr/utils/lib/index.d.ts +++ b/node_modules/@pkgr/core/lib/index.d.ts @@ -1,4 +1,2 @@ -export * from './browser.js'; export * from './constants.js'; export * from './helpers.js'; -export * from './monorepo.js'; diff --git a/node_modules/@pkgr/utils/lib/index.js b/node_modules/@pkgr/core/lib/index.js similarity index 60% rename from node_modules/@pkgr/utils/lib/index.js rename to node_modules/@pkgr/core/lib/index.js index a4d61de8e1..e543553206 100644 --- a/node_modules/@pkgr/utils/lib/index.js +++ b/node_modules/@pkgr/core/lib/index.js @@ -1,5 +1,3 @@ -export * from './browser.js'; export * from './constants.js'; export * from './helpers.js'; -export * from './monorepo.js'; //# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/node_modules/@pkgr/core/lib/index.js.map b/node_modules/@pkgr/core/lib/index.js.map new file mode 100644 index 0000000000..e7c2203158 --- /dev/null +++ b/node_modules/@pkgr/core/lib/index.js.map @@ -0,0 +1 @@ +{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,gBAAgB,CAAA;AAC9B,cAAc,cAAc,CAAA"} \ No newline at end of file diff --git a/node_modules/@pkgr/utils/package.json b/node_modules/@pkgr/core/package.json similarity index 64% rename from node_modules/@pkgr/utils/package.json rename to node_modules/@pkgr/core/package.json index 25b644e015..6760bd5598 100644 --- a/node_modules/@pkgr/utils/package.json +++ b/node_modules/@pkgr/core/package.json @@ -1,10 +1,10 @@ { - "name": "@pkgr/utils", - "version": "2.4.2", + "name": "@pkgr/core", + "version": "0.1.1", "type": "module", - "description": "Shared utils for `@pkgr` packages or any package else", + "description": "Shared core module for `@pkgr` packages or any package else", "repository": "git+https://github.com/un-ts/pkgr.git", - "homepage": "https://github.com/un-ts/pkgr/blob/master/packages/utils", + "homepage": "https://github.com/un-ts/pkgr/blob/master/packages/core", "author": "JounQin (https://www.1stG.me) ", "funding": "https://opencollective.com/unts", "license": "MIT", @@ -20,17 +20,8 @@ }, "types": "./lib/index.d.ts", "files": [ - "lib", - "openChrome.applescript" + "lib" ], - "dependencies": { - "cross-spawn": "^7.0.3", - "fast-glob": "^3.3.0", - "is-glob": "^4.0.3", - "open": "^9.1.0", - "picocolors": "^1.0.0", - "tslib": "^2.6.0" - }, "publishConfig": { "access": "public" }, diff --git a/node_modules/@pkgr/utils/lib/browser.d.ts b/node_modules/@pkgr/utils/lib/browser.d.ts deleted file mode 100644 index 6f3a5f1df5..0000000000 --- a/node_modules/@pkgr/utils/lib/browser.d.ts +++ /dev/null @@ -1 +0,0 @@ -export declare function openBrowser(url: string): Promise; diff --git a/node_modules/@pkgr/utils/lib/browser.js b/node_modules/@pkgr/utils/lib/browser.js deleted file mode 100644 index b36ffa9a37..0000000000 --- a/node_modules/@pkgr/utils/lib/browser.js +++ /dev/null @@ -1,122 +0,0 @@ -import { __awaiter } from "tslib"; -import { execSync } from 'node:child_process'; -import path from 'node:path'; -import { fileURLToPath } from 'node:url'; -import spawn from 'cross-spawn'; -import picocolors from 'picocolors'; -const OSX_CHROME = 'google chrome'; -var Action; -(function (Action) { - Action[Action["NONE"] = 0] = "NONE"; - Action[Action["BROWSER"] = 1] = "BROWSER"; - Action[Action["SCRIPT"] = 2] = "SCRIPT"; -})(Action || (Action = {})); -function getBrowserEnv() { - const value = process.env.BROWSER; - const args = process.env.BROWSER_ARGS - ? process.env.BROWSER_ARGS.split(' ') - : []; - let action; - if (!value) { - action = Action.BROWSER; - } - else if (value.toLowerCase().endsWith('.js')) { - action = Action.SCRIPT; - } - else if (value.toLowerCase() === 'none') { - action = Action.NONE; - } - else { - action = Action.BROWSER; - } - return { action, value, args }; -} -function executeNodeScript(scriptPath, url) { - const extraArgs = process.argv.slice(2); - const child = spawn(process.execPath, [scriptPath, ...extraArgs, url], { - stdio: 'inherit', - }); - child.on('close', code => { - if (code !== 0) { - console.log(); - console.log(picocolors.red('The script specified as BROWSER environment variable failed.')); - console.log(`${picocolors.cyan(scriptPath)} exited with code ${code}`); - console.log(); - } - }); - return true; -} -function startBrowserProcess(browser, url, args) { - return __awaiter(this, void 0, void 0, function* () { - const shouldTryOpenChromiumWithAppleScript = process.platform === 'darwin' && - (typeof browser !== 'string' || browser === OSX_CHROME); - if (shouldTryOpenChromiumWithAppleScript) { - const supportedChromiumBrowsers = [ - 'Google Chrome Canary', - 'Google Chrome', - 'Microsoft Edge', - 'Brave Browser', - 'Vivaldi', - 'Chromium', - ]; - const _dirname = typeof __dirname === 'undefined' - ? path.dirname(fileURLToPath(import.meta.url)) - : __dirname; - for (const chromiumBrowser of supportedChromiumBrowsers) { - try { - execSync('ps cax | grep "' + chromiumBrowser + '"'); - execSync('osascript ../openChrome.applescript "' + - encodeURI(url) + - '" "' + - chromiumBrowser + - '"', { - cwd: _dirname, - stdio: 'ignore', - }); - return true; - } - catch (_a) { - } - } - } - if (process.platform === 'darwin' && browser === 'open') { - browser = undefined; - } - try { - const open = (yield import('open')).default; - open(url, { - app: browser - ? { - name: browser, - arguments: args, - } - : undefined, - wait: false, - }).catch(() => { }); - return true; - } - catch (_b) { - return false; - } - }); -} -export function openBrowser(url) { - return __awaiter(this, void 0, void 0, function* () { - const { action, value, args } = getBrowserEnv(); - switch (action) { - case Action.NONE: { - return false; - } - case Action.SCRIPT: { - return executeNodeScript(value, url); - } - case Action.BROWSER: { - return startBrowserProcess(value, url, args); - } - default: { - throw new Error('Not implemented.'); - } - } - }); -} -//# sourceMappingURL=browser.js.map \ No newline at end of file diff --git a/node_modules/@pkgr/utils/lib/browser.js.map b/node_modules/@pkgr/utils/lib/browser.js.map deleted file mode 100644 index 4c60755053..0000000000 --- a/node_modules/@pkgr/utils/lib/browser.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"browser.js","sourceRoot":"","sources":["../src/browser.ts"],"names":[],"mappings":";AAEA,OAAO,EAAE,QAAQ,EAAE,MAAM,oBAAoB,CAAA;AAC7C,OAAO,IAAI,MAAM,WAAW,CAAA;AAC5B,OAAO,EAAE,aAAa,EAAE,MAAM,UAAU,CAAA;AAExC,OAAO,KAAK,MAAM,aAAa,CAAA;AAC/B,OAAO,UAAU,MAAM,YAAY,CAAA;AAGnC,MAAM,UAAU,GAAG,eAAe,CAAA;AAElC,IAAK,MAIJ;AAJD,WAAK,MAAM;IACT,mCAAI,CAAA;IACJ,yCAAO,CAAA;IACP,uCAAM,CAAA;AACR,CAAC,EAJI,MAAM,KAAN,MAAM,QAIV;AAED,SAAS,aAAa;IAIpB,MAAM,KAAK,GAAG,OAAO,CAAC,GAAG,CAAC,OAAO,CAAA;IACjC,MAAM,IAAI,GAAG,OAAO,CAAC,GAAG,CAAC,YAAY;QACnC,CAAC,CAAC,OAAO,CAAC,GAAG,CAAC,YAAY,CAAC,KAAK,CAAC,GAAG,CAAC;QACrC,CAAC,CAAC,EAAE,CAAA;IACN,IAAI,MAAc,CAAA;IAClB,IAAI,CAAC,KAAK,EAAE;QAEV,MAAM,GAAG,MAAM,CAAC,OAAO,CAAA;KACxB;SAAM,IAAI,KAAK,CAAC,WAAW,EAAE,CAAC,QAAQ,CAAC,KAAK,CAAC,EAAE;QAC9C,MAAM,GAAG,MAAM,CAAC,MAAM,CAAA;KACvB;SAAM,IAAI,KAAK,CAAC,WAAW,EAAE,KAAK,MAAM,EAAE;QACzC,MAAM,GAAG,MAAM,CAAC,IAAI,CAAA;KACrB;SAAM;QACL,MAAM,GAAG,MAAM,CAAC,OAAO,CAAA;KACxB;IACD,OAAO,EAAE,MAAM,EAAE,KAAK,EAAE,IAAI,EAAE,CAAA;AAChC,CAAC;AAED,SAAS,iBAAiB,CAAC,UAAkB,EAAE,GAAW;IACxD,MAAM,SAAS,GAAG,OAAO,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAA;IACvC,MAAM,KAAK,GAAG,KAAK,CAAC,OAAO,CAAC,QAAQ,EAAE,CAAC,UAAU,EAAE,GAAG,SAAS,EAAE,GAAG,CAAC,EAAE;QACrE,KAAK,EAAE,SAAS;KACjB,CAAC,CAAA;IACF,KAAK,CAAC,EAAE,CAAC,OAAO,EAAE,IAAI,CAAC,EAAE;QACvB,IAAI,IAAI,KAAK,CAAC,EAAE;YACd,OAAO,CAAC,GAAG,EAAE,CAAA;YACb,OAAO,CAAC,GAAG,CACT,UAAU,CAAC,GAAG,CACZ,8DAA8D,CAC/D,CACF,CAAA;YACD,OAAO,CAAC,GAAG,CAAC,GAAG,UAAU,CAAC,IAAI,CAAC,UAAU,CAAC,qBAAqB,IAAK,EAAE,CAAC,CAAA;YACvE,OAAO,CAAC,GAAG,EAAE,CAAA;SACd;IACH,CAAC,CAAC,CAAA;IACF,OAAO,IAAI,CAAA;AACb,CAAC;AAED,SAAe,mBAAmB,CAChC,OAAsC,EACtC,GAAW,EACX,IAAc;;QAMd,MAAM,oCAAoC,GACxC,OAAO,CAAC,QAAQ,KAAK,QAAQ;YAC7B,CAAC,OAAO,OAAO,KAAK,QAAQ,IAAI,OAAO,KAAK,UAAU,CAAC,CAAA;QAEzD,IAAI,oCAAoC,EAAE;YAExC,MAAM,yBAAyB,GAAG;gBAChC,sBAAsB;gBACtB,eAAe;gBACf,gBAAgB;gBAChB,eAAe;gBACf,SAAS;gBACT,UAAU;aACX,CAAA;YAED,MAAM,QAAQ,GACZ,OAAO,SAAS,KAAK,WAAW;gBAC9B,CAAC,CAAC,IAAI,CAAC,OAAO,CAAC,aAAa,CAAC,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;gBAC9C,CAAC,CAAC,SAAS,CAAA;YAEf,KAAK,MAAM,eAAe,IAAI,yBAAyB,EAAE;gBACvD,IAAI;oBAGF,QAAQ,CAAC,iBAAiB,GAAG,eAAe,GAAG,GAAG,CAAC,CAAA;oBACnD,QAAQ,CACN,uCAAuC;wBACrC,SAAS,CAAC,GAAG,CAAC;wBACd,KAAK;wBACL,eAAe;wBACf,GAAG,EACL;wBACE,GAAG,EAAE,QAAQ;wBACb,KAAK,EAAE,QAAQ;qBAChB,CACF,CAAA;oBACD,OAAO,IAAI,CAAA;iBACZ;gBAAC,WAAM;iBAEP;aACF;SACF;QAMD,IAAI,OAAO,CAAC,QAAQ,KAAK,QAAQ,IAAI,OAAO,KAAK,MAAM,EAAE;YACvD,OAAO,GAAG,SAAS,CAAA;SACpB;QAID,IAAI;YAEF,MAAM,IAAI,GAAG,CAAC,MAAM,MAAM,CAAC,MAAM,CAAC,CAAC,CAAC,OAAO,CAAA;YAC3C,IAAI,CAAC,GAAG,EAAE;gBACR,GAAG,EAAE,OAAO;oBACV,CAAC,CAAC;wBACE,IAAI,EAAE,OAAO;wBACb,SAAS,EAAE,IAAI;qBAChB;oBACH,CAAC,CAAC,SAAS;gBACb,IAAI,EAAE,KAAK;aACZ,CAAC,CAAC,KAAK,CAAC,GAAG,EAAE,GAAE,CAAC,CAAC,CAAA;YAClB,OAAO,IAAI,CAAA;SACZ;QAAC,WAAM;YACN,OAAO,KAAK,CAAA;SACb;IACH,CAAC;CAAA;AAMD,MAAM,UAAgB,WAAW,CAAC,GAAW;;QAC3C,MAAM,EAAE,MAAM,EAAE,KAAK,EAAE,IAAI,EAAE,GAAG,aAAa,EAAE,CAAA;QAC/C,QAAQ,MAAM,EAAE;YACd,KAAK,MAAM,CAAC,IAAI,CAAC,CAAC;gBAEhB,OAAO,KAAK,CAAA;aACb;YACD,KAAK,MAAM,CAAC,MAAM,CAAC,CAAC;gBAClB,OAAO,iBAAiB,CAAC,KAAM,EAAE,GAAG,CAAC,CAAA;aACtC;YACD,KAAK,MAAM,CAAC,OAAO,CAAC,CAAC;gBACnB,OAAO,mBAAmB,CAAC,KAAK,EAAE,GAAG,EAAE,IAAI,CAAC,CAAA;aAC7C;YACD,OAAO,CAAC,CAAC;gBACP,MAAM,IAAI,KAAK,CAAC,kBAAkB,CAAC,CAAA;aACpC;SACF;IACH,CAAC;CAAA"} \ No newline at end of file diff --git a/node_modules/@pkgr/utils/lib/constants.d.ts b/node_modules/@pkgr/utils/lib/constants.d.ts deleted file mode 100644 index 289b3247b9..0000000000 --- a/node_modules/@pkgr/utils/lib/constants.d.ts +++ /dev/null @@ -1,20 +0,0 @@ -/// -export declare const DEV: "development"; -export declare const PROD: "production"; -export declare const NODE_ENV: string; -export declare const __DEV__: boolean; -export declare const __PROD__: boolean; -export declare const NODE_MODULES_REG: RegExp; -export declare const CWD: string; -export declare const cjsRequire: NodeRequire; -export declare const EXTENSIONS: string[]; -export declare const SCRIPT_RUNNERS: { - readonly npm: "npx"; - readonly pnpm: "pnpm"; - readonly yarn: "yarn"; -}; -export declare const SCRIPT_EXECUTORS: { - readonly npm: "npx"; - readonly pnpm: "pnpx"; - readonly yarn: "yarn dlx"; -}; diff --git a/node_modules/@pkgr/utils/lib/constants.js b/node_modules/@pkgr/utils/lib/constants.js deleted file mode 100644 index a09c9b0632..0000000000 --- a/node_modules/@pkgr/utils/lib/constants.js +++ /dev/null @@ -1,22 +0,0 @@ -var _a; -import { createRequire } from 'node:module'; -export const DEV = 'development'; -export const PROD = 'production'; -export const NODE_ENV = (_a = process.env.NODE_ENV) !== null && _a !== void 0 ? _a : DEV; -export const __DEV__ = NODE_ENV === DEV; -export const __PROD__ = NODE_ENV === PROD; -export const NODE_MODULES_REG = /[/\\]node_modules[/\\]/; -export const CWD = process.cwd(); -export const cjsRequire = typeof require === 'undefined' ? createRequire(import.meta.url) : require; -export const EXTENSIONS = ['.ts', '.tsx', ...Object.keys(cjsRequire.extensions)]; -export const SCRIPT_RUNNERS = { - npm: 'npx', - pnpm: 'pnpm', - yarn: 'yarn', -}; -export const SCRIPT_EXECUTORS = { - npm: 'npx', - pnpm: 'pnpx', - yarn: 'yarn dlx', -}; -//# sourceMappingURL=constants.js.map \ No newline at end of file diff --git a/node_modules/@pkgr/utils/lib/constants.js.map b/node_modules/@pkgr/utils/lib/constants.js.map deleted file mode 100644 index 21c001dc0d..0000000000 --- a/node_modules/@pkgr/utils/lib/constants.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"constants.js","sourceRoot":"","sources":["../src/constants.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,aAAa,CAAA;AAE3C,MAAM,CAAC,MAAM,GAAG,GAAG,aAAsB,CAAA;AACzC,MAAM,CAAC,MAAM,IAAI,GAAG,YAAqB,CAAA;AAEzC,MAAM,CAAC,MAAM,QAAQ,GAAG,MAAA,OAAO,CAAC,GAAG,CAAC,QAAQ,mCAAI,GAAG,CAAA;AAEnD,MAAM,CAAC,MAAM,OAAO,GAAG,QAAQ,KAAK,GAAG,CAAA;AACvC,MAAM,CAAC,MAAM,QAAQ,GAAG,QAAQ,KAAK,IAAI,CAAA;AAEzC,MAAM,CAAC,MAAM,gBAAgB,GAAG,wBAAwB,CAAA;AAExD,MAAM,CAAC,MAAM,GAAG,GAAG,OAAO,CAAC,GAAG,EAAE,CAAA;AAEhC,MAAM,CAAC,MAAM,UAAU,GACrB,OAAO,OAAO,KAAK,WAAW,CAAC,CAAC,CAAC,aAAa,CAAC,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,OAAO,CAAA;AAG3E,MAAM,CAAC,MAAM,UAAU,GAAG,CAAC,KAAK,EAAE,MAAM,EAAE,GAAG,MAAM,CAAC,IAAI,CAAC,UAAU,CAAC,UAAU,CAAC,CAAC,CAAA;AAEhF,MAAM,CAAC,MAAM,cAAc,GAAG;IAC5B,GAAG,EAAE,KAAK;IACV,IAAI,EAAE,MAAM;IACZ,IAAI,EAAE,MAAM;CACJ,CAAA;AAEV,MAAM,CAAC,MAAM,gBAAgB,GAAG;IAC9B,GAAG,EAAE,KAAK;IACV,IAAI,EAAE,MAAM;IACZ,IAAI,EAAE,UAAU;CACR,CAAA"} \ No newline at end of file diff --git a/node_modules/@pkgr/utils/lib/helpers.d.ts b/node_modules/@pkgr/utils/lib/helpers.d.ts deleted file mode 100644 index 6338bf9674..0000000000 --- a/node_modules/@pkgr/utils/lib/helpers.d.ts +++ /dev/null @@ -1,22 +0,0 @@ -export declare const tryPkg: (pkg: string) => string | undefined; -export declare const tryRequirePkg: (pkg: string) => T | undefined; -export declare const isPkgAvailable: (pkg: string) => boolean; -export declare const isTsAvailable: boolean; -export declare const isAngularAvailable: boolean; -export declare const isMdxAvailable: boolean; -export declare const isReactAvailable: boolean; -export declare const isSvelteAvailable: boolean; -export declare const isVueAvailable: boolean; -export declare const tryFile: (filePath?: string[] | string, includeDir?: boolean) => string; -export declare const tryExtensions: (filepath: string, extensions?: string[]) => string; -export declare const tryGlob: (paths: string[], options?: string | { - absolute?: boolean; - baseDir?: string; - ignore?: [string]; -}) => string[]; -export declare const identify: (_: T) => _ is Exclude; -export declare const findUp: (searchEntry: string, searchFile?: string) => string; -export declare const arrayify: : NonNullable>(...args: (R | R[])[]) => R[]; -export declare const getPackageManager: () => "pnpm" | "yarn" | "npm" | undefined; -export declare const getScriptRunner: () => "npx" | "pnpm" | "yarn" | undefined; -export declare const getScriptExecutor: () => "npx" | "pnpx" | "yarn dlx" | undefined; diff --git a/node_modules/@pkgr/utils/lib/helpers.js b/node_modules/@pkgr/utils/lib/helpers.js deleted file mode 100644 index 3caead9658..0000000000 --- a/node_modules/@pkgr/utils/lib/helpers.js +++ /dev/null @@ -1,111 +0,0 @@ -import fs from 'node:fs'; -import path from 'node:path'; -import isGlob from 'is-glob'; -import { CWD, EXTENSIONS, cjsRequire, SCRIPT_RUNNERS, SCRIPT_EXECUTORS, } from './constants.js'; -export const tryPkg = (pkg) => { - try { - return cjsRequire.resolve(pkg); - } - catch (_a) { } -}; -export const tryRequirePkg = (pkg) => { - try { - return cjsRequire(pkg); - } - catch (_a) { } -}; -export const isPkgAvailable = (pkg) => !!tryPkg(pkg); -export const isTsAvailable = isPkgAvailable('typescript'); -export const isAngularAvailable = isPkgAvailable('@angular/core/package.json'); -export const isMdxAvailable = isPkgAvailable('@mdx-js/mdx/package.json') || - isPkgAvailable('@mdx-js/react/package.json'); -export const isReactAvailable = isPkgAvailable('react'); -export const isSvelteAvailable = isPkgAvailable('svelte'); -export const isVueAvailable = isPkgAvailable('vue'); -export const tryFile = (filePath, includeDir = false) => { - if (typeof filePath === 'string') { - return fs.existsSync(filePath) && - (includeDir || fs.statSync(filePath).isFile()) - ? filePath - : ''; - } - for (const file of filePath !== null && filePath !== void 0 ? filePath : []) { - if (tryFile(file, includeDir)) { - return file; - } - } - return ''; -}; -export const tryExtensions = (filepath, extensions = EXTENSIONS) => { - const ext = [...extensions, ''].find(ext => tryFile(filepath + ext)); - return ext == null ? '' : filepath + ext; -}; -export const tryGlob = (paths, options = {}) => { - const { absolute = true, baseDir = CWD, ignore = ['**/node_modules/**'], } = typeof options === 'string' ? { baseDir: options } : options; - return paths.reduce((acc, pkg) => [ - ...acc, - ...(isGlob(pkg) - ? tryRequirePkg('fast-glob') - .sync(pkg, { - cwd: baseDir, - ignore, - onlyFiles: false, - }) - .map(file => (absolute ? path.resolve(baseDir, file) : file)) - : [tryFile(path.resolve(baseDir, pkg), true)]), - ].filter(Boolean), []); -}; -export const identify = (_) => !!_; -export const findUp = (searchEntry, searchFile = 'package.json') => { - console.assert(path.isAbsolute(searchEntry)); - if (!tryFile(searchEntry, true) || - (searchEntry !== CWD && !searchEntry.startsWith(CWD + path.sep))) { - return ''; - } - searchEntry = path.resolve(fs.statSync(searchEntry).isDirectory() - ? searchEntry - : path.resolve(searchEntry, '..')); - do { - const searched = tryFile(path.resolve(searchEntry, searchFile)); - if (searched) { - return searched; - } - searchEntry = path.resolve(searchEntry, '..'); - } while (searchEntry === CWD || searchEntry.startsWith(CWD + path.sep)); - return ''; -}; -export const arrayify = (...args) => args.reduce((arr, curr) => { - arr.push(...(Array.isArray(curr) ? curr : curr == null ? [] : [curr])); - return arr; -}, []); -export const getPackageManager = () => { - const execPath = process.env.npm_execpath; - if (!execPath) { - return; - } - if (/\byarn\b/.test(execPath)) { - return 'yarn'; - } - if (/\bpnpm\b/.test(execPath)) { - return 'pnpm'; - } - if (/\bnpm\b/.test(execPath)) { - return 'npm'; - } - console.warn('unknown package manager:', execPath); -}; -export const getScriptRunner = () => { - const pm = getPackageManager(); - if (!pm) { - return; - } - return SCRIPT_RUNNERS[pm]; -}; -export const getScriptExecutor = () => { - const pm = getPackageManager(); - if (!pm) { - return; - } - return SCRIPT_EXECUTORS[pm]; -}; -//# sourceMappingURL=helpers.js.map \ No newline at end of file diff --git a/node_modules/@pkgr/utils/lib/helpers.js.map b/node_modules/@pkgr/utils/lib/helpers.js.map deleted file mode 100644 index fae8ad10cc..0000000000 --- a/node_modules/@pkgr/utils/lib/helpers.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"helpers.js","sourceRoot":"","sources":["../src/helpers.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,SAAS,CAAA;AACxB,OAAO,IAAI,MAAM,WAAW,CAAA;AAE5B,OAAO,MAAM,MAAM,SAAS,CAAA;AAE5B,OAAO,EACL,GAAG,EACH,UAAU,EACV,UAAU,EACV,cAAc,EACd,gBAAgB,GACjB,MAAM,gBAAgB,CAAA;AAEvB,MAAM,CAAC,MAAM,MAAM,GAAG,CAAC,GAAW,EAAE,EAAE;IACpC,IAAI;QACF,OAAO,UAAU,CAAC,OAAO,CAAC,GAAG,CAAC,CAAA;KAC/B;IAAC,WAAM,GAAE;AACZ,CAAC,CAAA;AAED,MAAM,CAAC,MAAM,aAAa,GAAG,CAAI,GAAW,EAAiB,EAAE;IAC7D,IAAI;QAEF,OAAO,UAAU,CAAC,GAAG,CAAC,CAAA;KACvB;IAAC,WAAM,GAAE;AACZ,CAAC,CAAA;AAED,MAAM,CAAC,MAAM,cAAc,GAAG,CAAC,GAAW,EAAE,EAAE,CAAC,CAAC,CAAC,MAAM,CAAC,GAAG,CAAC,CAAA;AAE5D,MAAM,CAAC,MAAM,aAAa,GAAG,cAAc,CAAC,YAAY,CAAC,CAAA;AAEzD,MAAM,CAAC,MAAM,kBAAkB,GAAG,cAAc,CAAC,4BAA4B,CAAC,CAAA;AAE9E,MAAM,CAAC,MAAM,cAAc,GACzB,cAAc,CAAC,0BAA0B,CAAC;IAC1C,cAAc,CAAC,4BAA4B,CAAC,CAAA;AAE9C,MAAM,CAAC,MAAM,gBAAgB,GAAG,cAAc,CAAC,OAAO,CAAC,CAAA;AAEvD,MAAM,CAAC,MAAM,iBAAiB,GAAG,cAAc,CAAC,QAAQ,CAAC,CAAA;AAEzD,MAAM,CAAC,MAAM,cAAc,GAAG,cAAc,CAAC,KAAK,CAAC,CAAA;AAEnD,MAAM,CAAC,MAAM,OAAO,GAAG,CAAC,QAA4B,EAAE,UAAU,GAAG,KAAK,EAAE,EAAE;IAC1E,IAAI,OAAO,QAAQ,KAAK,QAAQ,EAAE;QAChC,OAAO,EAAE,CAAC,UAAU,CAAC,QAAQ,CAAC;YAC5B,CAAC,UAAU,IAAI,EAAE,CAAC,QAAQ,CAAC,QAAQ,CAAC,CAAC,MAAM,EAAE,CAAC;YAC9C,CAAC,CAAC,QAAQ;YACV,CAAC,CAAC,EAAE,CAAA;KACP;IAED,KAAK,MAAM,IAAI,IAAI,QAAQ,aAAR,QAAQ,cAAR,QAAQ,GAAI,EAAE,EAAE;QACjC,IAAI,OAAO,CAAC,IAAI,EAAE,UAAU,CAAC,EAAE;YAC7B,OAAO,IAAI,CAAA;SACZ;KACF;IAED,OAAO,EAAE,CAAA;AACX,CAAC,CAAA;AAED,MAAM,CAAC,MAAM,aAAa,GAAG,CAAC,QAAgB,EAAE,UAAU,GAAG,UAAU,EAAE,EAAE;IACzE,MAAM,GAAG,GAAG,CAAC,GAAG,UAAU,EAAE,EAAE,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,OAAO,CAAC,QAAQ,GAAG,GAAG,CAAC,CAAC,CAAA;IACpE,OAAO,GAAG,IAAI,IAAI,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,QAAQ,GAAG,GAAG,CAAA;AAC1C,CAAC,CAAA;AAED,MAAM,CAAC,MAAM,OAAO,GAAG,CACrB,KAAe,EACf,UAMQ,EAAE,EACV,EAAE;IACF,MAAM,EACJ,QAAQ,GAAG,IAAI,EACf,OAAO,GAAG,GAAG,EACb,MAAM,GAAG,CAAC,oBAAoB,CAAC,GAChC,GAAG,OAAO,OAAO,KAAK,QAAQ,CAAC,CAAC,CAAC,EAAE,OAAO,EAAE,OAAO,EAAE,CAAC,CAAC,CAAC,OAAO,CAAA;IAChE,OAAO,KAAK,CAAC,MAAM,CACjB,CAAC,GAAG,EAAE,GAAG,EAAE,EAAE,CACX;QACE,GAAG,GAAG;QACN,GAAG,CAAC,MAAM,CAAC,GAAG,CAAC;YACb,CAAC,CAAC,aAAa,CAA6B,WAAW,CAAE;iBACpD,IAAI,CAAC,GAAG,EAAE;gBACT,GAAG,EAAE,OAAO;gBACZ,MAAM;gBACN,SAAS,EAAE,KAAK;aACjB,CAAC;iBAED,GAAG,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,IAAI,CAAC,OAAO,CAAC,OAAO,EAAE,IAAI,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC;YACjE,CAAC,CAAC,CAAC,OAAO,CAAC,IAAI,CAAC,OAAO,CAAC,OAAO,EAAE,GAAG,CAAC,EAAE,IAAI,CAAC,CAAC,CAAC;KACjD,CAAC,MAAM,CAAC,OAAO,CAAC,EACnB,EAAE,CACH,CAAA;AACH,CAAC,CAAA;AAED,MAAM,CAAC,MAAM,QAAQ,GAAG,CACtB,CAAI,EAIJ,EAAE,CAAC,CAAC,CAAC,CAAC,CAAA;AAER,MAAM,CAAC,MAAM,MAAM,GAAG,CAAC,WAAmB,EAAE,UAAU,GAAG,cAAc,EAAE,EAAE;IACzE,OAAO,CAAC,MAAM,CAAC,IAAI,CAAC,UAAU,CAAC,WAAW,CAAC,CAAC,CAAA;IAE5C,IACE,CAAC,OAAO,CAAC,WAAW,EAAE,IAAI,CAAC;QAC3B,CAAC,WAAW,KAAK,GAAG,IAAI,CAAC,WAAW,CAAC,UAAU,CAAC,GAAG,GAAG,IAAI,CAAC,GAAG,CAAC,CAAC,EAChE;QACA,OAAO,EAAE,CAAA;KACV;IAED,WAAW,GAAG,IAAI,CAAC,OAAO,CACxB,EAAE,CAAC,QAAQ,CAAC,WAAW,CAAC,CAAC,WAAW,EAAE;QACpC,CAAC,CAAC,WAAW;QACb,CAAC,CAAC,IAAI,CAAC,OAAO,CAAC,WAAW,EAAE,IAAI,CAAC,CACpC,CAAA;IAED,GAAG;QACD,MAAM,QAAQ,GAAG,OAAO,CAAC,IAAI,CAAC,OAAO,CAAC,WAAW,EAAE,UAAU,CAAC,CAAC,CAAA;QAC/D,IAAI,QAAQ,EAAE;YACZ,OAAO,QAAQ,CAAA;SAChB;QACD,WAAW,GAAG,IAAI,CAAC,OAAO,CAAC,WAAW,EAAE,IAAI,CAAC,CAAA;KAC9C,QAAQ,WAAW,KAAK,GAAG,IAAI,WAAW,CAAC,UAAU,CAAC,GAAG,GAAG,IAAI,CAAC,GAAG,CAAC,EAAC;IAEvE,OAAO,EAAE,CAAA;AACX,CAAC,CAAA;AAED,MAAM,CAAC,MAAM,QAAQ,GAAG,CAItB,GAAG,IAAoB,EACvB,EAAE,CACF,IAAI,CAAC,MAAM,CAAM,CAAC,GAAG,EAAE,IAAI,EAAE,EAAE;IAC7B,GAAG,CAAC,IAAI,CAAC,GAAG,CAAC,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,IAAI,IAAI,IAAI,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,CAAA;IACtE,OAAO,GAAG,CAAA;AACZ,CAAC,EAAE,EAAE,CAAC,CAAA;AAER,MAAM,CAAC,MAAM,iBAAiB,GAAG,GAAG,EAAE;IACpC,MAAM,QAAQ,GAAG,OAAO,CAAC,GAAG,CAAC,YAAY,CAAA;IAEzC,IAAI,CAAC,QAAQ,EAAE;QACb,OAAM;KACP;IAED,IAAI,UAAU,CAAC,IAAI,CAAC,QAAQ,CAAC,EAAE;QAC7B,OAAO,MAAM,CAAA;KACd;IAED,IAAI,UAAU,CAAC,IAAI,CAAC,QAAQ,CAAC,EAAE;QAC7B,OAAO,MAAM,CAAA;KACd;IAED,IAAI,SAAS,CAAC,IAAI,CAAC,QAAQ,CAAC,EAAE;QAC5B,OAAO,KAAK,CAAA;KACb;IAED,OAAO,CAAC,IAAI,CAAC,0BAA0B,EAAE,QAAQ,CAAC,CAAA;AACpD,CAAC,CAAA;AAED,MAAM,CAAC,MAAM,eAAe,GAAG,GAAG,EAAE;IAClC,MAAM,EAAE,GAAG,iBAAiB,EAAE,CAAA;IAE9B,IAAI,CAAC,EAAE,EAAE;QACP,OAAM;KACP;IAED,OAAO,cAAc,CAAC,EAAE,CAAC,CAAA;AAC3B,CAAC,CAAA;AAED,MAAM,CAAC,MAAM,iBAAiB,GAAG,GAAG,EAAE;IACpC,MAAM,EAAE,GAAG,iBAAiB,EAAE,CAAA;IAE9B,IAAI,CAAC,EAAE,EAAE;QACP,OAAM;KACP;IAED,OAAO,gBAAgB,CAAC,EAAE,CAAC,CAAA;AAC7B,CAAC,CAAA"} \ No newline at end of file diff --git a/node_modules/@pkgr/utils/lib/index.cjs b/node_modules/@pkgr/utils/lib/index.cjs deleted file mode 100644 index 88c446fd77..0000000000 --- a/node_modules/@pkgr/utils/lib/index.cjs +++ /dev/null @@ -1,306 +0,0 @@ -'use strict'; - -var node_child_process = require('node:child_process'); -var path = require('node:path'); -var node_url = require('node:url'); -var spawn = require('cross-spawn'); -var picocolors = require('picocolors'); -var node_module = require('node:module'); -var fs = require('node:fs'); -var isGlob = require('is-glob'); - -var __async = (__this, __arguments, generator) => { - return new Promise((resolve, reject) => { - var fulfilled = (value) => { - try { - step(generator.next(value)); - } catch (e) { - reject(e); - } - }; - var rejected = (value) => { - try { - step(generator.throw(value)); - } catch (e) { - reject(e); - } - }; - var step = (x) => x.done ? resolve(x.value) : Promise.resolve(x.value).then(fulfilled, rejected); - step((generator = generator.apply(__this, __arguments)).next()); - }); -}; -const import_meta$1 = {}; -const OSX_CHROME = "google chrome"; -function getBrowserEnv() { - const value = process.env.BROWSER; - const args = process.env.BROWSER_ARGS ? process.env.BROWSER_ARGS.split(" ") : []; - let action; - if (!value) { - action = 1 /* BROWSER */; - } else if (value.toLowerCase().endsWith(".js")) { - action = 2 /* SCRIPT */; - } else if (value.toLowerCase() === "none") { - action = 0 /* NONE */; - } else { - action = 1 /* BROWSER */; - } - return { action, value, args }; -} -function executeNodeScript(scriptPath, url) { - const extraArgs = process.argv.slice(2); - const child = spawn(process.execPath, [scriptPath, ...extraArgs, url], { - stdio: "inherit" - }); - child.on("close", (code) => { - if (code !== 0) { - console.log(); - console.log( - picocolors.red( - "The script specified as BROWSER environment variable failed." - ) - ); - console.log(`${picocolors.cyan(scriptPath)} exited with code ${code}`); - console.log(); - } - }); - return true; -} -function startBrowserProcess(browser, url, args) { - return __async(this, null, function* () { - const shouldTryOpenChromiumWithAppleScript = process.platform === "darwin" && (typeof browser !== "string" || browser === OSX_CHROME); - if (shouldTryOpenChromiumWithAppleScript) { - const supportedChromiumBrowsers = [ - "Google Chrome Canary", - "Google Chrome", - "Microsoft Edge", - "Brave Browser", - "Vivaldi", - "Chromium" - ]; - const _dirname = typeof __dirname === "undefined" ? path.dirname(node_url.fileURLToPath(import_meta$1.url)) : __dirname; - for (const chromiumBrowser of supportedChromiumBrowsers) { - try { - node_child_process.execSync('ps cax | grep "' + chromiumBrowser + '"'); - node_child_process.execSync( - 'osascript ../openChrome.applescript "' + // lgtm [js/shell-command-constructed-from-input] - encodeURI(url) + '" "' + chromiumBrowser + '"', - { - cwd: _dirname, - stdio: "ignore" - } - ); - return true; - } catch (e) { - } - } - } - if (process.platform === "darwin" && browser === "open") { - browser = void 0; - } - try { - const open = (yield import('open')).default; - open(url, { - app: browser ? { - name: browser, - arguments: args - } : void 0, - wait: false - }).catch(() => { - }); - return true; - } catch (e) { - return false; - } - }); -} -function openBrowser(url) { - return __async(this, null, function* () { - const { action, value, args } = getBrowserEnv(); - switch (action) { - case 0 /* NONE */: { - return false; - } - case 2 /* SCRIPT */: { - return executeNodeScript(value, url); - } - case 1 /* BROWSER */: { - return startBrowserProcess(value, url, args); - } - default: { - throw new Error("Not implemented."); - } - } - }); -} - -const import_meta = {}; -var _a$1; -const DEV = "development"; -const PROD = "production"; -const NODE_ENV = (_a$1 = process.env.NODE_ENV) != null ? _a$1 : DEV; -const __DEV__ = NODE_ENV === DEV; -const __PROD__ = NODE_ENV === PROD; -const NODE_MODULES_REG = /[/\\]node_modules[/\\]/; -const CWD = process.cwd(); -const cjsRequire = typeof require === "undefined" ? node_module.createRequire(import_meta.url) : require; -const EXTENSIONS = [".ts", ".tsx", ...Object.keys(cjsRequire.extensions)]; -const SCRIPT_RUNNERS = { - npm: "npx", - pnpm: "pnpm", - yarn: "yarn" -}; -const SCRIPT_EXECUTORS = { - npm: "npx", - pnpm: "pnpx", - // same as 'pnpm dlx' - yarn: "yarn dlx" -}; - -const tryPkg = (pkg) => { - try { - return cjsRequire.resolve(pkg); - } catch (e) { - } -}; -const tryRequirePkg = (pkg) => { - try { - return cjsRequire(pkg); - } catch (e) { - } -}; -const isPkgAvailable = (pkg) => !!tryPkg(pkg); -const isTsAvailable = isPkgAvailable("typescript"); -const isAngularAvailable = isPkgAvailable("@angular/core/package.json"); -const isMdxAvailable = isPkgAvailable("@mdx-js/mdx/package.json") || isPkgAvailable("@mdx-js/react/package.json"); -const isReactAvailable = isPkgAvailable("react"); -const isSvelteAvailable = isPkgAvailable("svelte"); -const isVueAvailable = isPkgAvailable("vue"); -const tryFile = (filePath, includeDir = false) => { - if (typeof filePath === "string") { - return fs.existsSync(filePath) && (includeDir || fs.statSync(filePath).isFile()) ? filePath : ""; - } - for (const file of filePath != null ? filePath : []) { - if (tryFile(file, includeDir)) { - return file; - } - } - return ""; -}; -const tryExtensions = (filepath, extensions = EXTENSIONS) => { - const ext = [...extensions, ""].find((ext2) => tryFile(filepath + ext2)); - return ext == null ? "" : filepath + ext; -}; -const tryGlob = (paths, options = {}) => { - const { - absolute = true, - baseDir = CWD, - ignore = ["**/node_modules/**"] - } = typeof options === "string" ? { baseDir: options } : options; - return paths.reduce( - (acc, pkg) => [ - ...acc, - ...isGlob(pkg) ? tryRequirePkg("fast-glob").sync(pkg, { - cwd: baseDir, - ignore, - onlyFiles: false - }).map((file) => absolute ? path.resolve(baseDir, file) : file) : [tryFile(path.resolve(baseDir, pkg), true)] - ].filter(Boolean), - [] - ); -}; -const identify = (_) => !!_; -const findUp = (searchEntry, searchFile = "package.json") => { - console.assert(path.isAbsolute(searchEntry)); - if (!tryFile(searchEntry, true) || searchEntry !== CWD && !searchEntry.startsWith(CWD + path.sep)) { - return ""; - } - searchEntry = path.resolve( - fs.statSync(searchEntry).isDirectory() ? searchEntry : path.resolve(searchEntry, "..") - ); - do { - const searched = tryFile(path.resolve(searchEntry, searchFile)); - if (searched) { - return searched; - } - searchEntry = path.resolve(searchEntry, ".."); - } while (searchEntry === CWD || searchEntry.startsWith(CWD + path.sep)); - return ""; -}; -const arrayify = (...args) => args.reduce((arr, curr) => { - arr.push(...Array.isArray(curr) ? curr : curr == null ? [] : [curr]); - return arr; -}, []); -const getPackageManager = () => { - const execPath = process.env.npm_execpath; - if (!execPath) { - return; - } - if (/\byarn\b/.test(execPath)) { - return "yarn"; - } - if (/\bpnpm\b/.test(execPath)) { - return "pnpm"; - } - if (/\bnpm\b/.test(execPath)) { - return "npm"; - } - console.warn("unknown package manager:", execPath); -}; -const getScriptRunner = () => { - const pm = getPackageManager(); - if (!pm) { - return; - } - return SCRIPT_RUNNERS[pm]; -}; -const getScriptExecutor = () => { - const pm = getPackageManager(); - if (!pm) { - return; - } - return SCRIPT_EXECUTORS[pm]; -}; - -var _a, _b, _c, _d; -const pkg = (_a = tryRequirePkg(path.resolve("package.json"))) != null ? _a : {}; -const lernaConfig = (_b = tryRequirePkg(path.resolve("lerna.json"))) != null ? _b : {}; -const pkgsPath = (_d = (_c = lernaConfig.packages) != null ? _c : pkg.workspaces) != null ? _d : []; -const isMonorepo = Array.isArray(pkgsPath) && pkgsPath.length > 0; -const monorepoPkgs = isMonorepo ? tryGlob( - pkgsPath.map( - (pkg2) => pkg2.endsWith("/package.json") ? pkg2 : `${pkg2}/package.json` - ) -) : []; - -exports.CWD = CWD; -exports.DEV = DEV; -exports.EXTENSIONS = EXTENSIONS; -exports.NODE_ENV = NODE_ENV; -exports.NODE_MODULES_REG = NODE_MODULES_REG; -exports.PROD = PROD; -exports.SCRIPT_EXECUTORS = SCRIPT_EXECUTORS; -exports.SCRIPT_RUNNERS = SCRIPT_RUNNERS; -exports.__DEV__ = __DEV__; -exports.__PROD__ = __PROD__; -exports.arrayify = arrayify; -exports.cjsRequire = cjsRequire; -exports.findUp = findUp; -exports.getPackageManager = getPackageManager; -exports.getScriptExecutor = getScriptExecutor; -exports.getScriptRunner = getScriptRunner; -exports.identify = identify; -exports.isAngularAvailable = isAngularAvailable; -exports.isMdxAvailable = isMdxAvailable; -exports.isMonorepo = isMonorepo; -exports.isPkgAvailable = isPkgAvailable; -exports.isReactAvailable = isReactAvailable; -exports.isSvelteAvailable = isSvelteAvailable; -exports.isTsAvailable = isTsAvailable; -exports.isVueAvailable = isVueAvailable; -exports.monorepoPkgs = monorepoPkgs; -exports.openBrowser = openBrowser; -exports.tryExtensions = tryExtensions; -exports.tryFile = tryFile; -exports.tryGlob = tryGlob; -exports.tryPkg = tryPkg; -exports.tryRequirePkg = tryRequirePkg; diff --git a/node_modules/@pkgr/utils/lib/index.js.map b/node_modules/@pkgr/utils/lib/index.js.map deleted file mode 100644 index 37670952d4..0000000000 --- a/node_modules/@pkgr/utils/lib/index.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAA;AAC5B,cAAc,gBAAgB,CAAA;AAC9B,cAAc,cAAc,CAAA;AAC5B,cAAc,eAAe,CAAA"} \ No newline at end of file diff --git a/node_modules/@pkgr/utils/lib/monorepo.d.ts b/node_modules/@pkgr/utils/lib/monorepo.d.ts deleted file mode 100644 index 16f5308d25..0000000000 --- a/node_modules/@pkgr/utils/lib/monorepo.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -export declare const isMonorepo: boolean; -export declare const monorepoPkgs: string[]; diff --git a/node_modules/@pkgr/utils/lib/monorepo.js b/node_modules/@pkgr/utils/lib/monorepo.js deleted file mode 100644 index 7126296034..0000000000 --- a/node_modules/@pkgr/utils/lib/monorepo.js +++ /dev/null @@ -1,11 +0,0 @@ -var _a, _b, _c, _d; -import path from 'node:path'; -import { tryGlob, tryRequirePkg } from './helpers.js'; -const pkg = (_a = tryRequirePkg(path.resolve('package.json'))) !== null && _a !== void 0 ? _a : {}; -const lernaConfig = (_b = tryRequirePkg(path.resolve('lerna.json'))) !== null && _b !== void 0 ? _b : {}; -const pkgsPath = (_d = (_c = lernaConfig.packages) !== null && _c !== void 0 ? _c : pkg.workspaces) !== null && _d !== void 0 ? _d : []; -export const isMonorepo = Array.isArray(pkgsPath) && pkgsPath.length > 0; -export const monorepoPkgs = isMonorepo - ? tryGlob(pkgsPath.map(pkg => pkg.endsWith('/package.json') ? pkg : `${pkg}/package.json`)) - : []; -//# sourceMappingURL=monorepo.js.map \ No newline at end of file diff --git a/node_modules/@pkgr/utils/lib/monorepo.js.map b/node_modules/@pkgr/utils/lib/monorepo.js.map deleted file mode 100644 index 70d8d4fe98..0000000000 --- a/node_modules/@pkgr/utils/lib/monorepo.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"monorepo.js","sourceRoot":"","sources":["../src/monorepo.ts"],"names":[],"mappings":";AAAA,OAAO,IAAI,MAAM,WAAW,CAAA;AAE5B,OAAO,EAAE,OAAO,EAAE,aAAa,EAAE,MAAM,cAAc,CAAA;AAErD,MAAM,GAAG,GACP,MAAA,aAAa,CAA4B,IAAI,CAAC,OAAO,CAAC,cAAc,CAAC,CAAC,mCAAI,EAAE,CAAA;AAE9E,MAAM,WAAW,GACf,MAAA,aAAa,CAA0B,IAAI,CAAC,OAAO,CAAC,YAAY,CAAC,CAAC,mCAAI,EAAE,CAAA;AAE1E,MAAM,QAAQ,GAAG,MAAA,MAAA,WAAW,CAAC,QAAQ,mCAAI,GAAG,CAAC,UAAU,mCAAI,EAAE,CAAA;AAE7D,MAAM,CAAC,MAAM,UAAU,GAAG,KAAK,CAAC,OAAO,CAAC,QAAQ,CAAC,IAAI,QAAQ,CAAC,MAAM,GAAG,CAAC,CAAA;AAExE,MAAM,CAAC,MAAM,YAAY,GAAG,UAAU;IACpC,CAAC,CAAC,OAAO,CACL,QAAQ,CAAC,GAAG,CAAC,GAAG,CAAC,EAAE,CACjB,GAAG,CAAC,QAAQ,CAAC,eAAe,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,GAAG,GAAG,eAAe,CAC5D,CACF;IACH,CAAC,CAAC,EAAE,CAAA"} \ No newline at end of file diff --git a/node_modules/@pkgr/utils/node_modules/tslib/CopyrightNotice.txt b/node_modules/@pkgr/utils/node_modules/tslib/CopyrightNotice.txt deleted file mode 100644 index 0e42542369..0000000000 --- a/node_modules/@pkgr/utils/node_modules/tslib/CopyrightNotice.txt +++ /dev/null @@ -1,15 +0,0 @@ -/****************************************************************************** -Copyright (c) Microsoft Corporation. - -Permission to use, copy, modify, and/or distribute this software for any -purpose with or without fee is hereby granted. - -THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH -REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY -AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, -INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM -LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR -OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR -PERFORMANCE OF THIS SOFTWARE. -***************************************************************************** */ - diff --git a/node_modules/@pkgr/utils/node_modules/tslib/LICENSE.txt b/node_modules/@pkgr/utils/node_modules/tslib/LICENSE.txt deleted file mode 100644 index bfe6430cb0..0000000000 --- a/node_modules/@pkgr/utils/node_modules/tslib/LICENSE.txt +++ /dev/null @@ -1,12 +0,0 @@ -Copyright (c) Microsoft Corporation. - -Permission to use, copy, modify, and/or distribute this software for any -purpose with or without fee is hereby granted. - -THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH -REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY -AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, -INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM -LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR -OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR -PERFORMANCE OF THIS SOFTWARE. \ No newline at end of file diff --git a/node_modules/@pkgr/utils/node_modules/tslib/README.md b/node_modules/@pkgr/utils/node_modules/tslib/README.md deleted file mode 100644 index 290cc618fb..0000000000 --- a/node_modules/@pkgr/utils/node_modules/tslib/README.md +++ /dev/null @@ -1,164 +0,0 @@ -# tslib - -This is a runtime library for [TypeScript](https://www.typescriptlang.org/) that contains all of the TypeScript helper functions. - -This library is primarily used by the `--importHelpers` flag in TypeScript. -When using `--importHelpers`, a module that uses helper functions like `__extends` and `__assign` in the following emitted file: - -```ts -var __assign = (this && this.__assign) || Object.assign || function(t) { - for (var s, i = 1, n = arguments.length; i < n; i++) { - s = arguments[i]; - for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) - t[p] = s[p]; - } - return t; -}; -exports.x = {}; -exports.y = __assign({}, exports.x); - -``` - -will instead be emitted as something like the following: - -```ts -var tslib_1 = require("tslib"); -exports.x = {}; -exports.y = tslib_1.__assign({}, exports.x); -``` - -Because this can avoid duplicate declarations of things like `__extends`, `__assign`, etc., this means delivering users smaller files on average, as well as less runtime overhead. -For optimized bundles with TypeScript, you should absolutely consider using `tslib` and `--importHelpers`. - -# Installing - -For the latest stable version, run: - -## npm - -```sh -# TypeScript 3.9.2 or later -npm install tslib - -# TypeScript 3.8.4 or earlier -npm install tslib@^1 - -# TypeScript 2.3.2 or earlier -npm install tslib@1.6.1 -``` - -## yarn - -```sh -# TypeScript 3.9.2 or later -yarn add tslib - -# TypeScript 3.8.4 or earlier -yarn add tslib@^1 - -# TypeScript 2.3.2 or earlier -yarn add tslib@1.6.1 -``` - -## bower - -```sh -# TypeScript 3.9.2 or later -bower install tslib - -# TypeScript 3.8.4 or earlier -bower install tslib@^1 - -# TypeScript 2.3.2 or earlier -bower install tslib@1.6.1 -``` - -## JSPM - -```sh -# TypeScript 3.9.2 or later -jspm install tslib - -# TypeScript 3.8.4 or earlier -jspm install tslib@^1 - -# TypeScript 2.3.2 or earlier -jspm install tslib@1.6.1 -``` - -# Usage - -Set the `importHelpers` compiler option on the command line: - -``` -tsc --importHelpers file.ts -``` - -or in your tsconfig.json: - -```json -{ - "compilerOptions": { - "importHelpers": true - } -} -``` - -#### For bower and JSPM users - -You will need to add a `paths` mapping for `tslib`, e.g. For Bower users: - -```json -{ - "compilerOptions": { - "module": "amd", - "importHelpers": true, - "baseUrl": "./", - "paths": { - "tslib" : ["bower_components/tslib/tslib.d.ts"] - } - } -} -``` - -For JSPM users: - -```json -{ - "compilerOptions": { - "module": "system", - "importHelpers": true, - "baseUrl": "./", - "paths": { - "tslib" : ["jspm_packages/npm/tslib@2.x.y/tslib.d.ts"] - } - } -} -``` - -## Deployment - -- Choose your new version number -- Set it in `package.json` and `bower.json` -- Create a tag: `git tag [version]` -- Push the tag: `git push --tags` -- Create a [release in GitHub](https://github.com/microsoft/tslib/releases) -- Run the [publish to npm](https://github.com/microsoft/tslib/actions?query=workflow%3A%22Publish+to+NPM%22) workflow - -Done. - -# Contribute - -There are many ways to [contribute](https://github.com/Microsoft/TypeScript/blob/master/CONTRIBUTING.md) to TypeScript. - -* [Submit bugs](https://github.com/Microsoft/TypeScript/issues) and help us verify fixes as they are checked in. -* Review the [source code changes](https://github.com/Microsoft/TypeScript/pulls). -* Engage with other TypeScript users and developers on [StackOverflow](http://stackoverflow.com/questions/tagged/typescript). -* Join the [#typescript](http://twitter.com/#!/search/realtime/%23typescript) discussion on Twitter. -* [Contribute bug fixes](https://github.com/Microsoft/TypeScript/blob/master/CONTRIBUTING.md). - -# Documentation - -* [Quick tutorial](http://www.typescriptlang.org/Tutorial) -* [Programming handbook](http://www.typescriptlang.org/Handbook) -* [Homepage](http://www.typescriptlang.org/) diff --git a/node_modules/@pkgr/utils/node_modules/tslib/SECURITY.md b/node_modules/@pkgr/utils/node_modules/tslib/SECURITY.md deleted file mode 100644 index 869fdfe2b2..0000000000 --- a/node_modules/@pkgr/utils/node_modules/tslib/SECURITY.md +++ /dev/null @@ -1,41 +0,0 @@ - - -## Security - -Microsoft takes the security of our software products and services seriously, which includes all source code repositories managed through our GitHub organizations, which include [Microsoft](https://github.com/Microsoft), [Azure](https://github.com/Azure), [DotNet](https://github.com/dotnet), [AspNet](https://github.com/aspnet), [Xamarin](https://github.com/xamarin), and [our GitHub organizations](https://opensource.microsoft.com/). - -If you believe you have found a security vulnerability in any Microsoft-owned repository that meets [Microsoft's definition of a security vulnerability](https://aka.ms/opensource/security/definition), please report it to us as described below. - -## Reporting Security Issues - -**Please do not report security vulnerabilities through public GitHub issues.** - -Instead, please report them to the Microsoft Security Response Center (MSRC) at [https://msrc.microsoft.com/create-report](https://aka.ms/opensource/security/create-report). - -If you prefer to submit without logging in, send email to [secure@microsoft.com](mailto:secure@microsoft.com). If possible, encrypt your message with our PGP key; please download it from the [Microsoft Security Response Center PGP Key page](https://aka.ms/opensource/security/pgpkey). - -You should receive a response within 24 hours. If for some reason you do not, please follow up via email to ensure we received your original message. Additional information can be found at [microsoft.com/msrc](https://aka.ms/opensource/security/msrc). - -Please include the requested information listed below (as much as you can provide) to help us better understand the nature and scope of the possible issue: - - * Type of issue (e.g. buffer overflow, SQL injection, cross-site scripting, etc.) - * Full paths of source file(s) related to the manifestation of the issue - * The location of the affected source code (tag/branch/commit or direct URL) - * Any special configuration required to reproduce the issue - * Step-by-step instructions to reproduce the issue - * Proof-of-concept or exploit code (if possible) - * Impact of the issue, including how an attacker might exploit the issue - -This information will help us triage your report more quickly. - -If you are reporting for a bug bounty, more complete reports can contribute to a higher bounty award. Please visit our [Microsoft Bug Bounty Program](https://aka.ms/opensource/security/bounty) page for more details about our active programs. - -## Preferred Languages - -We prefer all communications to be in English. - -## Policy - -Microsoft follows the principle of [Coordinated Vulnerability Disclosure](https://aka.ms/opensource/security/cvd). - - diff --git a/node_modules/@pkgr/utils/node_modules/tslib/modules/index.d.ts b/node_modules/@pkgr/utils/node_modules/tslib/modules/index.d.ts deleted file mode 100644 index 0fedae881e..0000000000 --- a/node_modules/@pkgr/utils/node_modules/tslib/modules/index.d.ts +++ /dev/null @@ -1,37 +0,0 @@ -// Note: named reexports are used instead of `export *` because -// TypeScript itself doesn't resolve the `export *` when checking -// if a particular helper exists. -export { - __extends, - __assign, - __rest, - __decorate, - __param, - __esDecorate, - __runInitializers, - __propKey, - __setFunctionName, - __metadata, - __awaiter, - __generator, - __exportStar, - __values, - __read, - __spread, - __spreadArrays, - __spreadArray, - __await, - __asyncGenerator, - __asyncDelegator, - __asyncValues, - __makeTemplateObject, - __importStar, - __importDefault, - __classPrivateFieldGet, - __classPrivateFieldSet, - __classPrivateFieldIn, - __createBinding, - __addDisposableResource, - __disposeResources, -} from '../tslib.js'; -export * as default from '../tslib.js'; diff --git a/node_modules/@pkgr/utils/node_modules/tslib/modules/index.js b/node_modules/@pkgr/utils/node_modules/tslib/modules/index.js deleted file mode 100644 index af9f5ac4e2..0000000000 --- a/node_modules/@pkgr/utils/node_modules/tslib/modules/index.js +++ /dev/null @@ -1,68 +0,0 @@ -import tslib from '../tslib.js'; -const { - __extends, - __assign, - __rest, - __decorate, - __param, - __esDecorate, - __runInitializers, - __propKey, - __setFunctionName, - __metadata, - __awaiter, - __generator, - __exportStar, - __createBinding, - __values, - __read, - __spread, - __spreadArrays, - __spreadArray, - __await, - __asyncGenerator, - __asyncDelegator, - __asyncValues, - __makeTemplateObject, - __importStar, - __importDefault, - __classPrivateFieldGet, - __classPrivateFieldSet, - __classPrivateFieldIn, - __addDisposableResource, - __disposeResources, -} = tslib; -export { - __extends, - __assign, - __rest, - __decorate, - __param, - __esDecorate, - __runInitializers, - __propKey, - __setFunctionName, - __metadata, - __awaiter, - __generator, - __exportStar, - __createBinding, - __values, - __read, - __spread, - __spreadArrays, - __spreadArray, - __await, - __asyncGenerator, - __asyncDelegator, - __asyncValues, - __makeTemplateObject, - __importStar, - __importDefault, - __classPrivateFieldGet, - __classPrivateFieldSet, - __classPrivateFieldIn, - __addDisposableResource, - __disposeResources, -}; -export default tslib; diff --git a/node_modules/@pkgr/utils/node_modules/tslib/modules/package.json b/node_modules/@pkgr/utils/node_modules/tslib/modules/package.json deleted file mode 100644 index aead43de36..0000000000 --- a/node_modules/@pkgr/utils/node_modules/tslib/modules/package.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "type": "module" -} \ No newline at end of file diff --git a/node_modules/@pkgr/utils/node_modules/tslib/package.json b/node_modules/@pkgr/utils/node_modules/tslib/package.json deleted file mode 100644 index 2e92f67a77..0000000000 --- a/node_modules/@pkgr/utils/node_modules/tslib/package.json +++ /dev/null @@ -1,47 +0,0 @@ -{ - "name": "tslib", - "author": "Microsoft Corp.", - "homepage": "https://www.typescriptlang.org/", - "version": "2.6.0", - "license": "0BSD", - "description": "Runtime library for TypeScript helper functions", - "keywords": [ - "TypeScript", - "Microsoft", - "compiler", - "language", - "javascript", - "tslib", - "runtime" - ], - "bugs": { - "url": "https://github.com/Microsoft/TypeScript/issues" - }, - "repository": { - "type": "git", - "url": "https://github.com/Microsoft/tslib.git" - }, - "main": "tslib.js", - "module": "tslib.es6.js", - "jsnext:main": "tslib.es6.js", - "typings": "tslib.d.ts", - "sideEffects": false, - "exports": { - ".": { - "module": { - "types": "./tslib/modules/index.d.ts", - "default": "./tslib.es6.mjs" - }, - "import": { - "node": "./modules/index.js", - "default": { - "types": "./modules/index.d.ts", - "default": "./tslib.es6.mjs" - } - }, - "default": "./tslib.js" - }, - "./*": "./*", - "./": "./" - } -} diff --git a/node_modules/@pkgr/utils/node_modules/tslib/tslib.d.ts b/node_modules/@pkgr/utils/node_modules/tslib/tslib.d.ts deleted file mode 100644 index 104369b3b5..0000000000 --- a/node_modules/@pkgr/utils/node_modules/tslib/tslib.d.ts +++ /dev/null @@ -1,453 +0,0 @@ -/****************************************************************************** -Copyright (c) Microsoft Corporation. - -Permission to use, copy, modify, and/or distribute this software for any -purpose with or without fee is hereby granted. - -THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH -REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY -AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, -INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM -LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR -OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR -PERFORMANCE OF THIS SOFTWARE. -***************************************************************************** */ - -/** - * Used to shim class extends. - * - * @param d The derived class. - * @param b The base class. - */ -export declare function __extends(d: Function, b: Function): void; - -/** - * Copy the values of all of the enumerable own properties from one or more source objects to a - * target object. Returns the target object. - * - * @param t The target object to copy to. - * @param sources One or more source objects from which to copy properties - */ -export declare function __assign(t: any, ...sources: any[]): any; - -/** - * Performs a rest spread on an object. - * - * @param t The source value. - * @param propertyNames The property names excluded from the rest spread. - */ -export declare function __rest(t: any, propertyNames: (string | symbol)[]): any; - -/** - * Applies decorators to a target object - * - * @param decorators The set of decorators to apply. - * @param target The target object. - * @param key If specified, the own property to apply the decorators to. - * @param desc The property descriptor, defaults to fetching the descriptor from the target object. - * @experimental - */ -export declare function __decorate(decorators: Function[], target: any, key?: string | symbol, desc?: any): any; - -/** - * Creates an observing function decorator from a parameter decorator. - * - * @param paramIndex The parameter index to apply the decorator to. - * @param decorator The parameter decorator to apply. Note that the return value is ignored. - * @experimental - */ -export declare function __param(paramIndex: number, decorator: Function): Function; - -/** - * Applies decorators to a class or class member, following the native ECMAScript decorator specification. - * @param ctor For non-field class members, the class constructor. Otherwise, `null`. - * @param descriptorIn The `PropertyDescriptor` to use when unable to look up the property from `ctor`. - * @param decorators The decorators to apply - * @param contextIn The `DecoratorContext` to clone for each decorator application. - * @param initializers An array of field initializer mutation functions into which new initializers are written. - * @param extraInitializers An array of extra initializer functions into which new initializers are written. - */ -export declare function __esDecorate(ctor: Function | null, descriptorIn: object | null, decorators: Function[], contextIn: object, initializers: Function[] | null, extraInitializers: Function[]): void; - -/** - * Runs field initializers or extra initializers generated by `__esDecorate`. - * @param thisArg The `this` argument to use. - * @param initializers The array of initializers to evaluate. - * @param value The initial value to pass to the initializers. - */ -export declare function __runInitializers(thisArg: unknown, initializers: Function[], value?: any): any; - -/** - * Converts a computed property name into a `string` or `symbol` value. - */ -export declare function __propKey(x: any): string | symbol; - -/** - * Assigns the name of a function derived from the left-hand side of an assignment. - * @param f The function to rename. - * @param name The new name for the function. - * @param prefix A prefix (such as `"get"` or `"set"`) to insert before the name. - */ -export declare function __setFunctionName(f: Function, name: string | symbol, prefix?: string): Function; - -/** - * Creates a decorator that sets metadata. - * - * @param metadataKey The metadata key - * @param metadataValue The metadata value - * @experimental - */ -export declare function __metadata(metadataKey: any, metadataValue: any): Function; - -/** - * Converts a generator function into a pseudo-async function, by treating each `yield` as an `await`. - * - * @param thisArg The reference to use as the `this` value in the generator function - * @param _arguments The optional arguments array - * @param P The optional promise constructor argument, defaults to the `Promise` property of the global object. - * @param generator The generator function - */ -export declare function __awaiter(thisArg: any, _arguments: any, P: Function, generator: Function): any; - -/** - * Creates an Iterator object using the body as the implementation. - * - * @param thisArg The reference to use as the `this` value in the function - * @param body The generator state-machine based implementation. - * - * @see [./docs/generator.md] - */ -export declare function __generator(thisArg: any, body: Function): any; - -/** - * Creates bindings for all enumerable properties of `m` on `exports` - * - * @param m The source object - * @param exports The `exports` object. - */ -export declare function __exportStar(m: any, o: any): void; - -/** - * Creates a value iterator from an `Iterable` or `ArrayLike` object. - * - * @param o The object. - * @throws {TypeError} If `o` is neither `Iterable`, nor an `ArrayLike`. - */ -export declare function __values(o: any): any; - -/** - * Reads values from an `Iterable` or `ArrayLike` object and returns the resulting array. - * - * @param o The object to read from. - * @param n The maximum number of arguments to read, defaults to `Infinity`. - */ -export declare function __read(o: any, n?: number): any[]; - -/** - * Creates an array from iterable spread. - * - * @param args The Iterable objects to spread. - * @deprecated since TypeScript 4.2 - Use `__spreadArray` - */ -export declare function __spread(...args: any[][]): any[]; - -/** - * Creates an array from array spread. - * - * @param args The ArrayLikes to spread into the resulting array. - * @deprecated since TypeScript 4.2 - Use `__spreadArray` - */ -export declare function __spreadArrays(...args: any[][]): any[]; - -/** - * Spreads the `from` array into the `to` array. - * - * @param pack Replace empty elements with `undefined`. - */ -export declare function __spreadArray(to: any[], from: any[], pack?: boolean): any[]; - -/** - * Creates an object that signals to `__asyncGenerator` that it shouldn't be yielded, - * and instead should be awaited and the resulting value passed back to the generator. - * - * @param v The value to await. - */ -export declare function __await(v: any): any; - -/** - * Converts a generator function into an async generator function, by using `yield __await` - * in place of normal `await`. - * - * @param thisArg The reference to use as the `this` value in the generator function - * @param _arguments The optional arguments array - * @param generator The generator function - */ -export declare function __asyncGenerator(thisArg: any, _arguments: any, generator: Function): any; - -/** - * Used to wrap a potentially async iterator in such a way so that it wraps the result - * of calling iterator methods of `o` in `__await` instances, and then yields the awaited values. - * - * @param o The potentially async iterator. - * @returns A synchronous iterator yielding `__await` instances on every odd invocation - * and returning the awaited `IteratorResult` passed to `next` every even invocation. - */ -export declare function __asyncDelegator(o: any): any; - -/** - * Creates a value async iterator from an `AsyncIterable`, `Iterable` or `ArrayLike` object. - * - * @param o The object. - * @throws {TypeError} If `o` is neither `AsyncIterable`, `Iterable`, nor an `ArrayLike`. - */ -export declare function __asyncValues(o: any): any; - -/** - * Creates a `TemplateStringsArray` frozen object from the `cooked` and `raw` arrays. - * - * @param cooked The cooked possibly-sparse array. - * @param raw The raw string content. - */ -export declare function __makeTemplateObject(cooked: string[], raw: string[]): TemplateStringsArray; - -/** - * Used to shim default and named imports in ECMAScript Modules transpiled to CommonJS. - * - * ```js - * import Default, { Named, Other } from "mod"; - * // or - * import { default as Default, Named, Other } from "mod"; - * ``` - * - * @param mod The CommonJS module exports object. - */ -export declare function __importStar(mod: T): T; - -/** - * Used to shim default imports in ECMAScript Modules transpiled to CommonJS. - * - * ```js - * import Default from "mod"; - * ``` - * - * @param mod The CommonJS module exports object. - */ -export declare function __importDefault(mod: T): T | { default: T }; - -/** - * Emulates reading a private instance field. - * - * @param receiver The instance from which to read the private field. - * @param state A WeakMap containing the private field value for an instance. - * @param kind Either `"f"` for a field, `"a"` for an accessor, or `"m"` for a method. - * - * @throws {TypeError} If `state` doesn't have an entry for `receiver`. - */ -export declare function __classPrivateFieldGet( - receiver: T, - state: { has(o: T): boolean, get(o: T): V | undefined }, - kind?: "f" -): V; - -/** - * Emulates reading a private static field. - * - * @param receiver The object from which to read the private static field. - * @param state The class constructor containing the definition of the static field. - * @param kind Either `"f"` for a field, `"a"` for an accessor, or `"m"` for a method. - * @param f The descriptor that holds the static field value. - * - * @throws {TypeError} If `receiver` is not `state`. - */ -export declare function __classPrivateFieldGet unknown, V>( - receiver: T, - state: T, - kind: "f", - f: { value: V } -): V; - -/** - * Emulates evaluating a private instance "get" accessor. - * - * @param receiver The instance on which to evaluate the private "get" accessor. - * @param state A WeakSet used to verify an instance supports the private "get" accessor. - * @param kind Either `"f"` for a field, `"a"` for an accessor, or `"m"` for a method. - * @param f The "get" accessor function to evaluate. - * - * @throws {TypeError} If `state` doesn't have an entry for `receiver`. - */ -export declare function __classPrivateFieldGet( - receiver: T, - state: { has(o: T): boolean }, - kind: "a", - f: () => V -): V; - -/** - * Emulates evaluating a private static "get" accessor. - * - * @param receiver The object on which to evaluate the private static "get" accessor. - * @param state The class constructor containing the definition of the static "get" accessor. - * @param kind Either `"f"` for a field, `"a"` for an accessor, or `"m"` for a method. - * @param f The "get" accessor function to evaluate. - * - * @throws {TypeError} If `receiver` is not `state`. - */ -export declare function __classPrivateFieldGet unknown, V>( - receiver: T, - state: T, - kind: "a", - f: () => V -): V; - -/** - * Emulates reading a private instance method. - * - * @param receiver The instance from which to read a private method. - * @param state A WeakSet used to verify an instance supports the private method. - * @param kind Either `"f"` for a field, `"a"` for an accessor, or `"m"` for a method. - * @param f The function to return as the private instance method. - * - * @throws {TypeError} If `state` doesn't have an entry for `receiver`. - */ -export declare function __classPrivateFieldGet unknown>( - receiver: T, - state: { has(o: T): boolean }, - kind: "m", - f: V -): V; - -/** - * Emulates reading a private static method. - * - * @param receiver The object from which to read the private static method. - * @param state The class constructor containing the definition of the static method. - * @param kind Either `"f"` for a field, `"a"` for an accessor, or `"m"` for a method. - * @param f The function to return as the private static method. - * - * @throws {TypeError} If `receiver` is not `state`. - */ -export declare function __classPrivateFieldGet unknown, V extends (...args: any[]) => unknown>( - receiver: T, - state: T, - kind: "m", - f: V -): V; - -/** - * Emulates writing to a private instance field. - * - * @param receiver The instance on which to set a private field value. - * @param state A WeakMap used to store the private field value for an instance. - * @param value The value to store in the private field. - * @param kind Either `"f"` for a field, `"a"` for an accessor, or `"m"` for a method. - * - * @throws {TypeError} If `state` doesn't have an entry for `receiver`. - */ -export declare function __classPrivateFieldSet( - receiver: T, - state: { has(o: T): boolean, set(o: T, value: V): unknown }, - value: V, - kind?: "f" -): V; - -/** - * Emulates writing to a private static field. - * - * @param receiver The object on which to set the private static field. - * @param state The class constructor containing the definition of the private static field. - * @param value The value to store in the private field. - * @param kind Either `"f"` for a field, `"a"` for an accessor, or `"m"` for a method. - * @param f The descriptor that holds the static field value. - * - * @throws {TypeError} If `receiver` is not `state`. - */ -export declare function __classPrivateFieldSet unknown, V>( - receiver: T, - state: T, - value: V, - kind: "f", - f: { value: V } -): V; - -/** - * Emulates writing to a private instance "set" accessor. - * - * @param receiver The instance on which to evaluate the private instance "set" accessor. - * @param state A WeakSet used to verify an instance supports the private "set" accessor. - * @param value The value to store in the private accessor. - * @param kind Either `"f"` for a field, `"a"` for an accessor, or `"m"` for a method. - * @param f The "set" accessor function to evaluate. - * - * @throws {TypeError} If `state` doesn't have an entry for `receiver`. - */ -export declare function __classPrivateFieldSet( - receiver: T, - state: { has(o: T): boolean }, - value: V, - kind: "a", - f: (v: V) => void -): V; - -/** - * Emulates writing to a private static "set" accessor. - * - * @param receiver The object on which to evaluate the private static "set" accessor. - * @param state The class constructor containing the definition of the static "set" accessor. - * @param value The value to store in the private field. - * @param kind Either `"f"` for a field, `"a"` for an accessor, or `"m"` for a method. - * @param f The "set" accessor function to evaluate. - * - * @throws {TypeError} If `receiver` is not `state`. - */ -export declare function __classPrivateFieldSet unknown, V>( - receiver: T, - state: T, - value: V, - kind: "a", - f: (v: V) => void -): V; - -/** - * Checks for the existence of a private field/method/accessor. - * - * @param state The class constructor containing the static member, or the WeakMap or WeakSet associated with a private instance member. - * @param receiver The object for which to test the presence of the private member. - */ -export declare function __classPrivateFieldIn( - state: (new (...args: any[]) => unknown) | { has(o: any): boolean }, - receiver: unknown, -): boolean; - -/** - * Creates a re-export binding on `object` with key `objectKey` that references `target[key]`. - * - * @param object The local `exports` object. - * @param target The object to re-export from. - * @param key The property key of `target` to re-export. - * @param objectKey The property key to re-export as. Defaults to `key`. - */ -export declare function __createBinding(object: object, target: object, key: PropertyKey, objectKey?: PropertyKey): void; - -/** - * Adds a disposable resource to a resource-tracking environment object. - * @param env A resource-tracking environment object. - * @param value Either a Disposable or AsyncDisposable object, `null`, or `undefined`. - * @param async When `true`, `AsyncDisposable` resources can be added. When `false`, `AsyncDisposable` resources cannot be added. - * @returns The {@link value} argument. - * - * @throws {TypeError} If {@link value} is not an object, or if either `Symbol.dispose` or `Symbol.asyncDispose` are not - * defined, or if {@link value} does not have an appropriate `Symbol.dispose` or `Symbol.asyncDispose` method. - */ -export declare function __addDisposableResource(env: { stack: { value?: unknown, dispose?: Function, async: boolean }[]; error: unknown; hasError: boolean; }, value: T, async: boolean): T; - -/** - * Disposes all resources in a resource-tracking environment object. - * @param env A resource-tracking environment object. - * @returns A {@link Promise} if any resources in the environment were marked as `async` when added; otherwise, `void`. - * - * @throws {SuppressedError} if an error thrown during disposal would have suppressed a prior error from disposal or the - * error recorded in the resource-tracking environment object. - * @seealso {@link __addDisposableResource} - */ -export declare function __disposeResources(env: { stack: { value?: unknown, dispose?: Function, async: boolean }[]; error: unknown; hasError: boolean; }): any; diff --git a/node_modules/@pkgr/utils/node_modules/tslib/tslib.es6.html b/node_modules/@pkgr/utils/node_modules/tslib/tslib.es6.html deleted file mode 100644 index b122e41b06..0000000000 --- a/node_modules/@pkgr/utils/node_modules/tslib/tslib.es6.html +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/node_modules/@pkgr/utils/node_modules/tslib/tslib.es6.js b/node_modules/@pkgr/utils/node_modules/tslib/tslib.es6.js deleted file mode 100644 index 801630cc8e..0000000000 --- a/node_modules/@pkgr/utils/node_modules/tslib/tslib.es6.js +++ /dev/null @@ -1,370 +0,0 @@ -/****************************************************************************** -Copyright (c) Microsoft Corporation. - -Permission to use, copy, modify, and/or distribute this software for any -purpose with or without fee is hereby granted. - -THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH -REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY -AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, -INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM -LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR -OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR -PERFORMANCE OF THIS SOFTWARE. -***************************************************************************** */ -/* global Reflect, Promise, SuppressedError, Symbol */ - -var extendStatics = function(d, b) { - extendStatics = Object.setPrototypeOf || - ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) || - function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; }; - return extendStatics(d, b); -}; - -export function __extends(d, b) { - if (typeof b !== "function" && b !== null) - throw new TypeError("Class extends value " + String(b) + " is not a constructor or null"); - extendStatics(d, b); - function __() { this.constructor = d; } - d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); -} - -export var __assign = function() { - __assign = Object.assign || function __assign(t) { - for (var s, i = 1, n = arguments.length; i < n; i++) { - s = arguments[i]; - for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p]; - } - return t; - } - return __assign.apply(this, arguments); -} - -export function __rest(s, e) { - var t = {}; - for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) - t[p] = s[p]; - if (s != null && typeof Object.getOwnPropertySymbols === "function") - for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) { - if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) - t[p[i]] = s[p[i]]; - } - return t; -} - -export function __decorate(decorators, target, key, desc) { - var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; - if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); - 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; - return c > 3 && r && Object.defineProperty(target, key, r), r; -} - -export function __param(paramIndex, decorator) { - return function (target, key) { decorator(target, key, paramIndex); } -} - -export function __esDecorate(ctor, descriptorIn, decorators, contextIn, initializers, extraInitializers) { - function accept(f) { if (f !== void 0 && typeof f !== "function") throw new TypeError("Function expected"); return f; } - var kind = contextIn.kind, key = kind === "getter" ? "get" : kind === "setter" ? "set" : "value"; - var target = !descriptorIn && ctor ? contextIn["static"] ? ctor : ctor.prototype : null; - var descriptor = descriptorIn || (target ? Object.getOwnPropertyDescriptor(target, contextIn.name) : {}); - var _, done = false; - for (var i = decorators.length - 1; i >= 0; i--) { - var context = {}; - for (var p in contextIn) context[p] = p === "access" ? {} : contextIn[p]; - for (var p in contextIn.access) context.access[p] = contextIn.access[p]; - context.addInitializer = function (f) { if (done) throw new TypeError("Cannot add initializers after decoration has completed"); extraInitializers.push(accept(f || null)); }; - var result = (0, decorators[i])(kind === "accessor" ? { get: descriptor.get, set: descriptor.set } : descriptor[key], context); - if (kind === "accessor") { - if (result === void 0) continue; - if (result === null || typeof result !== "object") throw new TypeError("Object expected"); - if (_ = accept(result.get)) descriptor.get = _; - if (_ = accept(result.set)) descriptor.set = _; - if (_ = accept(result.init)) initializers.unshift(_); - } - else if (_ = accept(result)) { - if (kind === "field") initializers.unshift(_); - else descriptor[key] = _; - } - } - if (target) Object.defineProperty(target, contextIn.name, descriptor); - done = true; -}; - -export function __runInitializers(thisArg, initializers, value) { - var useValue = arguments.length > 2; - for (var i = 0; i < initializers.length; i++) { - value = useValue ? initializers[i].call(thisArg, value) : initializers[i].call(thisArg); - } - return useValue ? value : void 0; -}; - -export function __propKey(x) { - return typeof x === "symbol" ? x : "".concat(x); -}; - -export function __setFunctionName(f, name, prefix) { - if (typeof name === "symbol") name = name.description ? "[".concat(name.description, "]") : ""; - return Object.defineProperty(f, "name", { configurable: true, value: prefix ? "".concat(prefix, " ", name) : name }); -}; - -export function __metadata(metadataKey, metadataValue) { - if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(metadataKey, metadataValue); -} - -export function __awaiter(thisArg, _arguments, P, generator) { - function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); } - return new (P || (P = Promise))(function (resolve, reject) { - function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } } - function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } } - function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); } - step((generator = generator.apply(thisArg, _arguments || [])).next()); - }); -} - -export function __generator(thisArg, body) { - var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g; - return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g; - function verb(n) { return function (v) { return step([n, v]); }; } - function step(op) { - if (f) throw new TypeError("Generator is already executing."); - while (g && (g = 0, op[0] && (_ = 0)), _) try { - 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; - if (y = 0, t) op = [op[0] & 2, t.value]; - switch (op[0]) { - case 0: case 1: t = op; break; - case 4: _.label++; return { value: op[1], done: false }; - case 5: _.label++; y = op[1]; op = [0]; continue; - case 7: op = _.ops.pop(); _.trys.pop(); continue; - default: - if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; } - if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; } - if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; } - if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; } - if (t[2]) _.ops.pop(); - _.trys.pop(); continue; - } - op = body.call(thisArg, _); - } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; } - if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true }; - } -} - -export var __createBinding = Object.create ? (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - var desc = Object.getOwnPropertyDescriptor(m, k); - if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { - desc = { enumerable: true, get: function() { return m[k]; } }; - } - Object.defineProperty(o, k2, desc); -}) : (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - o[k2] = m[k]; -}); - -export function __exportStar(m, o) { - for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(o, p)) __createBinding(o, m, p); -} - -export function __values(o) { - var s = typeof Symbol === "function" && Symbol.iterator, m = s && o[s], i = 0; - if (m) return m.call(o); - if (o && typeof o.length === "number") return { - next: function () { - if (o && i >= o.length) o = void 0; - return { value: o && o[i++], done: !o }; - } - }; - throw new TypeError(s ? "Object is not iterable." : "Symbol.iterator is not defined."); -} - -export function __read(o, n) { - var m = typeof Symbol === "function" && o[Symbol.iterator]; - if (!m) return o; - var i = m.call(o), r, ar = [], e; - try { - while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value); - } - catch (error) { e = { error: error }; } - finally { - try { - if (r && !r.done && (m = i["return"])) m.call(i); - } - finally { if (e) throw e.error; } - } - return ar; -} - -/** @deprecated */ -export function __spread() { - for (var ar = [], i = 0; i < arguments.length; i++) - ar = ar.concat(__read(arguments[i])); - return ar; -} - -/** @deprecated */ -export function __spreadArrays() { - for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length; - for (var r = Array(s), k = 0, i = 0; i < il; i++) - for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++) - r[k] = a[j]; - return r; -} - -export function __spreadArray(to, from, pack) { - if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) { - if (ar || !(i in from)) { - if (!ar) ar = Array.prototype.slice.call(from, 0, i); - ar[i] = from[i]; - } - } - return to.concat(ar || Array.prototype.slice.call(from)); -} - -export function __await(v) { - return this instanceof __await ? (this.v = v, this) : new __await(v); -} - -export function __asyncGenerator(thisArg, _arguments, generator) { - if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined."); - var g = generator.apply(thisArg, _arguments || []), i, q = []; - return i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i; - 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); }); }; } - function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } } - function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); } - function fulfill(value) { resume("next", value); } - function reject(value) { resume("throw", value); } - function settle(f, v) { if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]); } -} - -export function __asyncDelegator(o) { - var i, p; - return i = {}, verb("next"), verb("throw", function (e) { throw e; }), verb("return"), i[Symbol.iterator] = function () { return this; }, i; - function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: false } : f ? f(v) : v; } : f; } -} - -export function __asyncValues(o) { - if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined."); - var m = o[Symbol.asyncIterator], i; - 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); - 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); }); }; } - function settle(resolve, reject, d, v) { Promise.resolve(v).then(function(v) { resolve({ value: v, done: d }); }, reject); } -} - -export function __makeTemplateObject(cooked, raw) { - if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; } - return cooked; -}; - -var __setModuleDefault = Object.create ? (function(o, v) { - Object.defineProperty(o, "default", { enumerable: true, value: v }); -}) : function(o, v) { - o["default"] = v; -}; - -export function __importStar(mod) { - if (mod && mod.__esModule) return mod; - var result = {}; - if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k); - __setModuleDefault(result, mod); - return result; -} - -export function __importDefault(mod) { - return (mod && mod.__esModule) ? mod : { default: mod }; -} - -export function __classPrivateFieldGet(receiver, state, kind, f) { - if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a getter"); - 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"); - return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver); -} - -export function __classPrivateFieldSet(receiver, state, value, kind, f) { - if (kind === "m") throw new TypeError("Private method is not writable"); - if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a setter"); - 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"); - return (kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value; -} - -export function __classPrivateFieldIn(state, receiver) { - if (receiver === null || (typeof receiver !== "object" && typeof receiver !== "function")) throw new TypeError("Cannot use 'in' operator on non-object"); - return typeof state === "function" ? receiver === state : state.has(receiver); -} - -export function __addDisposableResource(env, value, async) { - if (value !== null && value !== void 0) { - if (typeof value !== "object") throw new TypeError("Object expected."); - var dispose; - if (async) { - if (!Symbol.asyncDispose) throw new TypeError("Symbol.asyncDispose is not defined."); - dispose = value[Symbol.asyncDispose]; - } - if (dispose === void 0) { - if (!Symbol.dispose) throw new TypeError("Symbol.dispose is not defined."); - dispose = value[Symbol.dispose]; - } - if (typeof dispose !== "function") throw new TypeError("Object not disposable."); - env.stack.push({ value: value, dispose: dispose, async: async }); - } - else if (async) { - env.stack.push({ async: true }); - } - return value; -} - -var _SuppressedError = typeof SuppressedError === "function" ? SuppressedError : function (error, suppressed, message) { - var e = new Error(message); - return e.name = "SuppressedError", e.error = error, e.suppressed = suppressed, e; -}; - -export function __disposeResources(env) { - function fail(e) { - env.error = env.hasError ? new _SuppressedError(e, env.error, "An error was suppressed during disposal.") : e; - env.hasError = true; - } - function next() { - while (env.stack.length) { - var rec = env.stack.pop(); - try { - var result = rec.dispose && rec.dispose.call(rec.value); - if (rec.async) return Promise.resolve(result).then(next, function(e) { fail(e); return next(); }); - } - catch (e) { - fail(e); - } - } - if (env.hasError) throw env.error; - } - return next(); -} - -export default { - __extends, - __assign, - __rest, - __decorate, - __param, - __metadata, - __awaiter, - __generator, - __createBinding, - __exportStar, - __values, - __read, - __spread, - __spreadArrays, - __spreadArray, - __await, - __asyncGenerator, - __asyncDelegator, - __asyncValues, - __makeTemplateObject, - __importStar, - __importDefault, - __classPrivateFieldGet, - __classPrivateFieldSet, - __classPrivateFieldIn, - __addDisposableResource, - __disposeResources, -}; diff --git a/node_modules/@pkgr/utils/node_modules/tslib/tslib.es6.mjs b/node_modules/@pkgr/utils/node_modules/tslib/tslib.es6.mjs deleted file mode 100644 index 3f941d2044..0000000000 --- a/node_modules/@pkgr/utils/node_modules/tslib/tslib.es6.mjs +++ /dev/null @@ -1,370 +0,0 @@ -/****************************************************************************** -Copyright (c) Microsoft Corporation. - -Permission to use, copy, modify, and/or distribute this software for any -purpose with or without fee is hereby granted. - -THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH -REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY -AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, -INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM -LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR -OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR -PERFORMANCE OF THIS SOFTWARE. -***************************************************************************** */ -/* global Reflect, Promise, SuppressedError, Symbol */ - -var extendStatics = function(d, b) { - extendStatics = Object.setPrototypeOf || - ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) || - function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; }; - return extendStatics(d, b); -}; - -export function __extends(d, b) { - if (typeof b !== "function" && b !== null) - throw new TypeError("Class extends value " + String(b) + " is not a constructor or null"); - extendStatics(d, b); - function __() { this.constructor = d; } - d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); -} - -export var __assign = function() { - __assign = Object.assign || function __assign(t) { - for (var s, i = 1, n = arguments.length; i < n; i++) { - s = arguments[i]; - for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p]; - } - return t; - } - return __assign.apply(this, arguments); -} - -export function __rest(s, e) { - var t = {}; - for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) - t[p] = s[p]; - if (s != null && typeof Object.getOwnPropertySymbols === "function") - for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) { - if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) - t[p[i]] = s[p[i]]; - } - return t; -} - -export function __decorate(decorators, target, key, desc) { - var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; - if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); - 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; - return c > 3 && r && Object.defineProperty(target, key, r), r; -} - -export function __param(paramIndex, decorator) { - return function (target, key) { decorator(target, key, paramIndex); } -} - -export function __esDecorate(ctor, descriptorIn, decorators, contextIn, initializers, extraInitializers) { - function accept(f) { if (f !== void 0 && typeof f !== "function") throw new TypeError("Function expected"); return f; } - var kind = contextIn.kind, key = kind === "getter" ? "get" : kind === "setter" ? "set" : "value"; - var target = !descriptorIn && ctor ? contextIn["static"] ? ctor : ctor.prototype : null; - var descriptor = descriptorIn || (target ? Object.getOwnPropertyDescriptor(target, contextIn.name) : {}); - var _, done = false; - for (var i = decorators.length - 1; i >= 0; i--) { - var context = {}; - for (var p in contextIn) context[p] = p === "access" ? {} : contextIn[p]; - for (var p in contextIn.access) context.access[p] = contextIn.access[p]; - context.addInitializer = function (f) { if (done) throw new TypeError("Cannot add initializers after decoration has completed"); extraInitializers.push(accept(f || null)); }; - var result = (0, decorators[i])(kind === "accessor" ? { get: descriptor.get, set: descriptor.set } : descriptor[key], context); - if (kind === "accessor") { - if (result === void 0) continue; - if (result === null || typeof result !== "object") throw new TypeError("Object expected"); - if (_ = accept(result.get)) descriptor.get = _; - if (_ = accept(result.set)) descriptor.set = _; - if (_ = accept(result.init)) initializers.unshift(_); - } - else if (_ = accept(result)) { - if (kind === "field") initializers.unshift(_); - else descriptor[key] = _; - } - } - if (target) Object.defineProperty(target, contextIn.name, descriptor); - done = true; -}; - -export function __runInitializers(thisArg, initializers, value) { - var useValue = arguments.length > 2; - for (var i = 0; i < initializers.length; i++) { - value = useValue ? initializers[i].call(thisArg, value) : initializers[i].call(thisArg); - } - return useValue ? value : void 0; -}; - -export function __propKey(x) { - return typeof x === "symbol" ? x : "".concat(x); -}; - -export function __setFunctionName(f, name, prefix) { - if (typeof name === "symbol") name = name.description ? "[".concat(name.description, "]") : ""; - return Object.defineProperty(f, "name", { configurable: true, value: prefix ? "".concat(prefix, " ", name) : name }); -}; - -export function __metadata(metadataKey, metadataValue) { - if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(metadataKey, metadataValue); -} - -export function __awaiter(thisArg, _arguments, P, generator) { - function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); } - return new (P || (P = Promise))(function (resolve, reject) { - function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } } - function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } } - function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); } - step((generator = generator.apply(thisArg, _arguments || [])).next()); - }); -} - -export function __generator(thisArg, body) { - var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g; - return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g; - function verb(n) { return function (v) { return step([n, v]); }; } - function step(op) { - if (f) throw new TypeError("Generator is already executing."); - while (g && (g = 0, op[0] && (_ = 0)), _) try { - 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; - if (y = 0, t) op = [op[0] & 2, t.value]; - switch (op[0]) { - case 0: case 1: t = op; break; - case 4: _.label++; return { value: op[1], done: false }; - case 5: _.label++; y = op[1]; op = [0]; continue; - case 7: op = _.ops.pop(); _.trys.pop(); continue; - default: - if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; } - if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; } - if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; } - if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; } - if (t[2]) _.ops.pop(); - _.trys.pop(); continue; - } - op = body.call(thisArg, _); - } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; } - if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true }; - } -} - -export var __createBinding = Object.create ? (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - var desc = Object.getOwnPropertyDescriptor(m, k); - if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { - desc = { enumerable: true, get: function() { return m[k]; } }; - } - Object.defineProperty(o, k2, desc); -}) : (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - o[k2] = m[k]; -}); - -export function __exportStar(m, o) { - for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(o, p)) __createBinding(o, m, p); -} - -export function __values(o) { - var s = typeof Symbol === "function" && Symbol.iterator, m = s && o[s], i = 0; - if (m) return m.call(o); - if (o && typeof o.length === "number") return { - next: function () { - if (o && i >= o.length) o = void 0; - return { value: o && o[i++], done: !o }; - } - }; - throw new TypeError(s ? "Object is not iterable." : "Symbol.iterator is not defined."); -} - -export function __read(o, n) { - var m = typeof Symbol === "function" && o[Symbol.iterator]; - if (!m) return o; - var i = m.call(o), r, ar = [], e; - try { - while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value); - } - catch (error) { e = { error: error }; } - finally { - try { - if (r && !r.done && (m = i["return"])) m.call(i); - } - finally { if (e) throw e.error; } - } - return ar; -} - -/** @deprecated */ -export function __spread() { - for (var ar = [], i = 0; i < arguments.length; i++) - ar = ar.concat(__read(arguments[i])); - return ar; -} - -/** @deprecated */ -export function __spreadArrays() { - for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length; - for (var r = Array(s), k = 0, i = 0; i < il; i++) - for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++) - r[k] = a[j]; - return r; -} - -export function __spreadArray(to, from, pack) { - if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) { - if (ar || !(i in from)) { - if (!ar) ar = Array.prototype.slice.call(from, 0, i); - ar[i] = from[i]; - } - } - return to.concat(ar || Array.prototype.slice.call(from)); -} - -export function __await(v) { - return this instanceof __await ? (this.v = v, this) : new __await(v); -} - -export function __asyncGenerator(thisArg, _arguments, generator) { - if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined."); - var g = generator.apply(thisArg, _arguments || []), i, q = []; - return i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i; - 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); }); }; } - function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } } - function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); } - function fulfill(value) { resume("next", value); } - function reject(value) { resume("throw", value); } - function settle(f, v) { if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]); } -} - -export function __asyncDelegator(o) { - var i, p; - return i = {}, verb("next"), verb("throw", function (e) { throw e; }), verb("return"), i[Symbol.iterator] = function () { return this; }, i; - function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: false } : f ? f(v) : v; } : f; } -} - -export function __asyncValues(o) { - if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined."); - var m = o[Symbol.asyncIterator], i; - 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); - 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); }); }; } - function settle(resolve, reject, d, v) { Promise.resolve(v).then(function(v) { resolve({ value: v, done: d }); }, reject); } -} - -export function __makeTemplateObject(cooked, raw) { - if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; } - return cooked; -}; - -var __setModuleDefault = Object.create ? (function(o, v) { - Object.defineProperty(o, "default", { enumerable: true, value: v }); -}) : function(o, v) { - o["default"] = v; -}; - -export function __importStar(mod) { - if (mod && mod.__esModule) return mod; - var result = {}; - if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k); - __setModuleDefault(result, mod); - return result; -} - -export function __importDefault(mod) { - return (mod && mod.__esModule) ? mod : { default: mod }; -} - -export function __classPrivateFieldGet(receiver, state, kind, f) { - if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a getter"); - 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"); - return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver); -} - -export function __classPrivateFieldSet(receiver, state, value, kind, f) { - if (kind === "m") throw new TypeError("Private method is not writable"); - if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a setter"); - 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"); - return (kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value; -} - -export function __classPrivateFieldIn(state, receiver) { - if (receiver === null || (typeof receiver !== "object" && typeof receiver !== "function")) throw new TypeError("Cannot use 'in' operator on non-object"); - return typeof state === "function" ? receiver === state : state.has(receiver); -} - -export function __addDisposableResource(env, value, async) { - if (value !== null && value !== void 0) { - if (typeof value !== "object") throw new TypeError("Object expected."); - var dispose; - if (async) { - if (!Symbol.asyncDispose) throw new TypeError("Symbol.asyncDispose is not defined."); - dispose = value[Symbol.asyncDispose]; - } - if (dispose === void 0) { - if (!Symbol.dispose) throw new TypeError("Symbol.dispose is not defined."); - dispose = value[Symbol.dispose]; - } - if (typeof dispose !== "function") throw new TypeError("Object not disposable."); - env.stack.push({ value: value, dispose: dispose, async: async }); - } - else if (async) { - env.stack.push({ async: true }); - } - return value; -} - -var _SuppressedError = typeof SuppressedError === "function" ? SuppressedError : function (error, suppressed, message) { - var e = new Error(message); - return e.name = "SuppressedError", e.error = error, e.suppressed = suppressed, e; -}; - -export function __disposeResources(env) { - function fail(e) { - env.error = env.hasError ? new _SuppressedError(e, env.error, "An error was suppressed during disposal.") : e; - env.hasError = true; - } - function next() { - while (env.stack.length) { - var rec = env.stack.pop(); - try { - var result = rec.dispose && rec.dispose.call(rec.value); - if (rec.async) return Promise.resolve(result).then(next, function(e) { fail(e); return next(); }); - } - catch (e) { - fail(e); - } - } - if (env.hasError) throw env.error; - } - return next(); -} - -export default { - __extends, - __assign, - __rest, - __decorate, - __param, - __metadata, - __awaiter, - __generator, - __createBinding, - __exportStar, - __values, - __read, - __spread, - __spreadArrays, - __spreadArray, - __await, - __asyncGenerator, - __asyncDelegator, - __asyncValues, - __makeTemplateObject, - __importStar, - __importDefault, - __classPrivateFieldGet, - __classPrivateFieldSet, - __classPrivateFieldIn, - __addDisposableResource, - __disposeResources, -}; diff --git a/node_modules/@pkgr/utils/node_modules/tslib/tslib.html b/node_modules/@pkgr/utils/node_modules/tslib/tslib.html deleted file mode 100644 index 44c9ba51e3..0000000000 --- a/node_modules/@pkgr/utils/node_modules/tslib/tslib.html +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/node_modules/@pkgr/utils/node_modules/tslib/tslib.js b/node_modules/@pkgr/utils/node_modules/tslib/tslib.js deleted file mode 100644 index 54c30ed78e..0000000000 --- a/node_modules/@pkgr/utils/node_modules/tslib/tslib.js +++ /dev/null @@ -1,421 +0,0 @@ -/****************************************************************************** -Copyright (c) Microsoft Corporation. - -Permission to use, copy, modify, and/or distribute this software for any -purpose with or without fee is hereby granted. - -THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH -REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY -AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, -INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM -LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR -OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR -PERFORMANCE OF THIS SOFTWARE. -***************************************************************************** */ -/* global global, define, Symbol, Reflect, Promise, SuppressedError */ -var __extends; -var __assign; -var __rest; -var __decorate; -var __param; -var __esDecorate; -var __runInitializers; -var __propKey; -var __setFunctionName; -var __metadata; -var __awaiter; -var __generator; -var __exportStar; -var __values; -var __read; -var __spread; -var __spreadArrays; -var __spreadArray; -var __await; -var __asyncGenerator; -var __asyncDelegator; -var __asyncValues; -var __makeTemplateObject; -var __importStar; -var __importDefault; -var __classPrivateFieldGet; -var __classPrivateFieldSet; -var __classPrivateFieldIn; -var __createBinding; -var __addDisposableResource; -var __disposeResources; -(function (factory) { - var root = typeof global === "object" ? global : typeof self === "object" ? self : typeof this === "object" ? this : {}; - if (typeof define === "function" && define.amd) { - define("tslib", ["exports"], function (exports) { factory(createExporter(root, createExporter(exports))); }); - } - else if (typeof module === "object" && typeof module.exports === "object") { - factory(createExporter(root, createExporter(module.exports))); - } - else { - factory(createExporter(root)); - } - function createExporter(exports, previous) { - if (exports !== root) { - if (typeof Object.create === "function") { - Object.defineProperty(exports, "__esModule", { value: true }); - } - else { - exports.__esModule = true; - } - } - return function (id, v) { return exports[id] = previous ? previous(id, v) : v; }; - } -}) -(function (exporter) { - var extendStatics = Object.setPrototypeOf || - ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) || - function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; }; - - __extends = function (d, b) { - if (typeof b !== "function" && b !== null) - throw new TypeError("Class extends value " + String(b) + " is not a constructor or null"); - extendStatics(d, b); - function __() { this.constructor = d; } - d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); - }; - - __assign = Object.assign || function (t) { - for (var s, i = 1, n = arguments.length; i < n; i++) { - s = arguments[i]; - for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p]; - } - return t; - }; - - __rest = function (s, e) { - var t = {}; - for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) - t[p] = s[p]; - if (s != null && typeof Object.getOwnPropertySymbols === "function") - for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) { - if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) - t[p[i]] = s[p[i]]; - } - return t; - }; - - __decorate = function (decorators, target, key, desc) { - var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; - if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); - 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; - return c > 3 && r && Object.defineProperty(target, key, r), r; - }; - - __param = function (paramIndex, decorator) { - return function (target, key) { decorator(target, key, paramIndex); } - }; - - __esDecorate = function (ctor, descriptorIn, decorators, contextIn, initializers, extraInitializers) { - function accept(f) { if (f !== void 0 && typeof f !== "function") throw new TypeError("Function expected"); return f; } - var kind = contextIn.kind, key = kind === "getter" ? "get" : kind === "setter" ? "set" : "value"; - var target = !descriptorIn && ctor ? contextIn["static"] ? ctor : ctor.prototype : null; - var descriptor = descriptorIn || (target ? Object.getOwnPropertyDescriptor(target, contextIn.name) : {}); - var _, done = false; - for (var i = decorators.length - 1; i >= 0; i--) { - var context = {}; - for (var p in contextIn) context[p] = p === "access" ? {} : contextIn[p]; - for (var p in contextIn.access) context.access[p] = contextIn.access[p]; - context.addInitializer = function (f) { if (done) throw new TypeError("Cannot add initializers after decoration has completed"); extraInitializers.push(accept(f || null)); }; - var result = (0, decorators[i])(kind === "accessor" ? { get: descriptor.get, set: descriptor.set } : descriptor[key], context); - if (kind === "accessor") { - if (result === void 0) continue; - if (result === null || typeof result !== "object") throw new TypeError("Object expected"); - if (_ = accept(result.get)) descriptor.get = _; - if (_ = accept(result.set)) descriptor.set = _; - if (_ = accept(result.init)) initializers.unshift(_); - } - else if (_ = accept(result)) { - if (kind === "field") initializers.unshift(_); - else descriptor[key] = _; - } - } - if (target) Object.defineProperty(target, contextIn.name, descriptor); - done = true; - }; - - __runInitializers = function (thisArg, initializers, value) { - var useValue = arguments.length > 2; - for (var i = 0; i < initializers.length; i++) { - value = useValue ? initializers[i].call(thisArg, value) : initializers[i].call(thisArg); - } - return useValue ? value : void 0; - }; - - __propKey = function (x) { - return typeof x === "symbol" ? x : "".concat(x); - }; - - __setFunctionName = function (f, name, prefix) { - if (typeof name === "symbol") name = name.description ? "[".concat(name.description, "]") : ""; - return Object.defineProperty(f, "name", { configurable: true, value: prefix ? "".concat(prefix, " ", name) : name }); - }; - - __metadata = function (metadataKey, metadataValue) { - if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(metadataKey, metadataValue); - }; - - __awaiter = function (thisArg, _arguments, P, generator) { - function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); } - return new (P || (P = Promise))(function (resolve, reject) { - function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } } - function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } } - function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); } - step((generator = generator.apply(thisArg, _arguments || [])).next()); - }); - }; - - __generator = function (thisArg, body) { - var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g; - return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g; - function verb(n) { return function (v) { return step([n, v]); }; } - function step(op) { - if (f) throw new TypeError("Generator is already executing."); - while (g && (g = 0, op[0] && (_ = 0)), _) try { - 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; - if (y = 0, t) op = [op[0] & 2, t.value]; - switch (op[0]) { - case 0: case 1: t = op; break; - case 4: _.label++; return { value: op[1], done: false }; - case 5: _.label++; y = op[1]; op = [0]; continue; - case 7: op = _.ops.pop(); _.trys.pop(); continue; - default: - if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; } - if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; } - if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; } - if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; } - if (t[2]) _.ops.pop(); - _.trys.pop(); continue; - } - op = body.call(thisArg, _); - } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; } - if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true }; - } - }; - - __exportStar = function(m, o) { - for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(o, p)) __createBinding(o, m, p); - }; - - __createBinding = Object.create ? (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - var desc = Object.getOwnPropertyDescriptor(m, k); - if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { - desc = { enumerable: true, get: function() { return m[k]; } }; - } - Object.defineProperty(o, k2, desc); - }) : (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - o[k2] = m[k]; - }); - - __values = function (o) { - var s = typeof Symbol === "function" && Symbol.iterator, m = s && o[s], i = 0; - if (m) return m.call(o); - if (o && typeof o.length === "number") return { - next: function () { - if (o && i >= o.length) o = void 0; - return { value: o && o[i++], done: !o }; - } - }; - throw new TypeError(s ? "Object is not iterable." : "Symbol.iterator is not defined."); - }; - - __read = function (o, n) { - var m = typeof Symbol === "function" && o[Symbol.iterator]; - if (!m) return o; - var i = m.call(o), r, ar = [], e; - try { - while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value); - } - catch (error) { e = { error: error }; } - finally { - try { - if (r && !r.done && (m = i["return"])) m.call(i); - } - finally { if (e) throw e.error; } - } - return ar; - }; - - /** @deprecated */ - __spread = function () { - for (var ar = [], i = 0; i < arguments.length; i++) - ar = ar.concat(__read(arguments[i])); - return ar; - }; - - /** @deprecated */ - __spreadArrays = function () { - for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length; - for (var r = Array(s), k = 0, i = 0; i < il; i++) - for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++) - r[k] = a[j]; - return r; - }; - - __spreadArray = function (to, from, pack) { - if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) { - if (ar || !(i in from)) { - if (!ar) ar = Array.prototype.slice.call(from, 0, i); - ar[i] = from[i]; - } - } - return to.concat(ar || Array.prototype.slice.call(from)); - }; - - __await = function (v) { - return this instanceof __await ? (this.v = v, this) : new __await(v); - }; - - __asyncGenerator = function (thisArg, _arguments, generator) { - if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined."); - var g = generator.apply(thisArg, _arguments || []), i, q = []; - return i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i; - 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); }); }; } - function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } } - function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); } - function fulfill(value) { resume("next", value); } - function reject(value) { resume("throw", value); } - function settle(f, v) { if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]); } - }; - - __asyncDelegator = function (o) { - var i, p; - return i = {}, verb("next"), verb("throw", function (e) { throw e; }), verb("return"), i[Symbol.iterator] = function () { return this; }, i; - function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: false } : f ? f(v) : v; } : f; } - }; - - __asyncValues = function (o) { - if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined."); - var m = o[Symbol.asyncIterator], i; - 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); - 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); }); }; } - function settle(resolve, reject, d, v) { Promise.resolve(v).then(function(v) { resolve({ value: v, done: d }); }, reject); } - }; - - __makeTemplateObject = function (cooked, raw) { - if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; } - return cooked; - }; - - var __setModuleDefault = Object.create ? (function(o, v) { - Object.defineProperty(o, "default", { enumerable: true, value: v }); - }) : function(o, v) { - o["default"] = v; - }; - - __importStar = function (mod) { - if (mod && mod.__esModule) return mod; - var result = {}; - if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k); - __setModuleDefault(result, mod); - return result; - }; - - __importDefault = function (mod) { - return (mod && mod.__esModule) ? mod : { "default": mod }; - }; - - __classPrivateFieldGet = function (receiver, state, kind, f) { - if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a getter"); - 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"); - return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver); - }; - - __classPrivateFieldSet = function (receiver, state, value, kind, f) { - if (kind === "m") throw new TypeError("Private method is not writable"); - if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a setter"); - 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"); - return (kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value; - }; - - __classPrivateFieldIn = function (state, receiver) { - if (receiver === null || (typeof receiver !== "object" && typeof receiver !== "function")) throw new TypeError("Cannot use 'in' operator on non-object"); - return typeof state === "function" ? receiver === state : state.has(receiver); - }; - - __addDisposableResource = function (env, value, async) { - if (value !== null && value !== void 0) { - if (typeof value !== "object") throw new TypeError("Object expected."); - var dispose; - if (async) { - if (!Symbol.asyncDispose) throw new TypeError("Symbol.asyncDispose is not defined."); - dispose = value[Symbol.asyncDispose]; - } - if (dispose === void 0) { - if (!Symbol.dispose) throw new TypeError("Symbol.dispose is not defined."); - dispose = value[Symbol.dispose]; - } - if (typeof dispose !== "function") throw new TypeError("Object not disposable."); - env.stack.push({ value: value, dispose: dispose, async: async }); - } - else if (async) { - env.stack.push({ async: true }); - } - return value; - }; - - var _SuppressedError = typeof SuppressedError === "function" ? SuppressedError : function (error, suppressed, message) { - var e = new Error(message); - return e.name = "SuppressedError", e.error = error, e.suppressed = suppressed, e; - }; - - __disposeResources = function (env) { - function fail(e) { - env.error = env.hasError ? new _SuppressedError(e, env.error, "An error was suppressed during disposal.") : e; - env.hasError = true; - } - function next() { - while (env.stack.length) { - var rec = env.stack.pop(); - try { - var result = rec.dispose && rec.dispose.call(rec.value); - if (rec.async) return Promise.resolve(result).then(next, function(e) { fail(e); return next(); }); - } - catch (e) { - fail(e); - } - } - if (env.hasError) throw env.error; - } - return next(); - }; - - exporter("__extends", __extends); - exporter("__assign", __assign); - exporter("__rest", __rest); - exporter("__decorate", __decorate); - exporter("__param", __param); - exporter("__esDecorate", __esDecorate); - exporter("__runInitializers", __runInitializers); - exporter("__propKey", __propKey); - exporter("__setFunctionName", __setFunctionName); - exporter("__metadata", __metadata); - exporter("__awaiter", __awaiter); - exporter("__generator", __generator); - exporter("__exportStar", __exportStar); - exporter("__createBinding", __createBinding); - exporter("__values", __values); - exporter("__read", __read); - exporter("__spread", __spread); - exporter("__spreadArrays", __spreadArrays); - exporter("__spreadArray", __spreadArray); - exporter("__await", __await); - exporter("__asyncGenerator", __asyncGenerator); - exporter("__asyncDelegator", __asyncDelegator); - exporter("__asyncValues", __asyncValues); - exporter("__makeTemplateObject", __makeTemplateObject); - exporter("__importStar", __importStar); - exporter("__importDefault", __importDefault); - exporter("__classPrivateFieldGet", __classPrivateFieldGet); - exporter("__classPrivateFieldSet", __classPrivateFieldSet); - exporter("__classPrivateFieldIn", __classPrivateFieldIn); - exporter("__addDisposableResource", __addDisposableResource); - exporter("__disposeResources", __disposeResources); -}); diff --git a/node_modules/@pkgr/utils/openChrome.applescript b/node_modules/@pkgr/utils/openChrome.applescript deleted file mode 100644 index 83b6f522d5..0000000000 --- a/node_modules/@pkgr/utils/openChrome.applescript +++ /dev/null @@ -1,87 +0,0 @@ -property targetTab: null -property targetTabIndex: -1 -property targetWindow: null -property theProgram: "Google Chrome" - -on run argv - set theURL to item 1 of argv - - -- Allow requested program to be optional, - -- default to Google Chrome - if (count of argv) > 1 then - set theProgram to item 2 of argv - end if - - using terms from application "Google Chrome" - tell application theProgram - - if (count every window) = 0 then - make new window - end if - - -- 1: Looking for tab running debugger - -- then, Reload debugging tab if found - -- then return - set found to my lookupTabWithUrl(theURL) - if found then - set targetWindow's active tab index to targetTabIndex - tell targetTab to reload - tell targetWindow to activate - set index of targetWindow to 1 - return - end if - - -- 2: Looking for Empty tab - -- In case debugging tab was not found - -- We try to find an empty tab instead - set found to my lookupTabWithUrl("chrome://newtab/") - if found then - set targetWindow's active tab index to targetTabIndex - set URL of targetTab to theURL - tell targetWindow to activate - return - end if - - -- 3: Create new tab - -- both debugging and empty tab were not found - -- make a new tab with url - tell window 1 - activate - make new tab with properties {URL:theURL} - end tell - end tell - end using terms from -end run - --- Function: --- Lookup tab with given url --- if found, store tab, index, and window in properties --- (properties were declared on top of file) -on lookupTabWithUrl(lookupUrl) - using terms from application "Google Chrome" - tell application theProgram - -- Find a tab with the given url - set found to false - set theTabIndex to -1 - repeat with theWindow in every window - set theTabIndex to 0 - repeat with theTab in every tab of theWindow - set theTabIndex to theTabIndex + 1 - if (theTab's URL as string) contains lookupUrl then - -- assign tab, tab index, and window to properties - set targetTab to theTab - set targetTabIndex to theTabIndex - set targetWindow to theWindow - set found to true - exit repeat - end if - end repeat - - if found then - exit repeat - end if - end repeat - end tell - end using terms from - return found -end lookupTabWithUrl diff --git a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/await-thenable.js b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/await-thenable.js index 172369246b..6161a2b87c 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/await-thenable.js +++ b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/await-thenable.js @@ -15,13 +15,23 @@ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? ( }) : function(o, v) { o["default"] = v; }); -var __importStar = (this && this.__importStar) || function (mod) { - if (mod && mod.__esModule) return mod; - var result = {}; - if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k); - __setModuleDefault(result, mod); - return result; -}; +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); Object.defineProperty(exports, "__esModule", { value: true }); const tsutils = __importStar(require("ts-api-utils")); const util_1 = require("../util"); diff --git a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/await-thenable.js.map b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/await-thenable.js.map index 123efe086e..af9dad6912 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/await-thenable.js.map +++ b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/await-thenable.js.map @@ -1 +1 @@ -{"version":3,"file":"await-thenable.js","sourceRoot":"","sources":["../../src/rules/await-thenable.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AAEA,sDAAwC;AAExC,kCAUiB;AACjB,2EAAwE;AASxE,kBAAe,IAAA,iBAAU,EAAgB;IACvC,IAAI,EAAE,gBAAgB;IACtB,IAAI,EAAE;QACJ,IAAI,EAAE,SAAS;QACf,IAAI,EAAE;YACJ,WAAW,EAAE,kDAAkD;YAC/D,WAAW,EAAE,aAAa;YAC1B,oBAAoB,EAAE,IAAI;SAC3B;QACD,cAAc,EAAE,IAAI;QACpB,QAAQ,EAAE;YACR,KAAK,EAAE,6DAA6D;YACpE,8BAA8B,EAC5B,mEAAmE;YACrE,oBAAoB,EAAE,yCAAyC;YAC/D,0BAA0B,EACxB,oEAAoE;YACtE,WAAW,EAAE,6BAA6B;SAC3C;QACD,MAAM,EAAE,EAAE;KACX;IACD,cAAc,EAAE,EAAE;IAElB,MAAM,CAAC,OAAO;QACZ,MAAM,QAAQ,GAAG,IAAA,wBAAiB,EAAC,OAAO,CAAC,CAAC;QAC5C,MAAM,OAAO,GAAG,QAAQ,CAAC,OAAO,CAAC,cAAc,EAAE,CAAC;QAElD,OAAO;YACL,eAAe,CAAC,IAAI;gBAClB,MAAM,IAAI,GAAG,QAAQ,CAAC,iBAAiB,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC;gBAEvD,MAAM,YAAY,GAAG,QAAQ,CAAC,qBAAqB,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC;gBAC9D,MAAM,SAAS,GAAG,IAAA,uBAAgB,EAAC,OAAO,EAAE,YAAY,EAAE,IAAI,CAAC,CAAC;gBAEhE,IAAI,SAAS,KAAK,gBAAS,CAAC,KAAK,EAAE,CAAC;oBAClC,OAAO,CAAC,MAAM,CAAC;wBACb,IAAI;wBACJ,SAAS,EAAE,OAAO;wBAClB,OAAO,EAAE;4BACP;gCACE,SAAS,EAAE,aAAa;gCACxB,GAAG,CAAC,KAAK;oCACP,MAAM,YAAY,GAAG,IAAA,iBAAU,EAC7B,OAAO,CAAC,UAAU,CAAC,aAAa,CAAC,IAAI,EAAE,qBAAc,CAAC,EACtD,wBAAiB,CAAC,YAAY,CAAC,OAAO,EAAE,kBAAkB,CAAC,CAC5D,CAAC;oCAEF,OAAO,KAAK,CAAC,MAAM,CAAC,YAAY,CAAC,CAAC;gCACpC,CAAC;6BACF;yBACF;qBACF,CAAC,CAAC;gBACL,CAAC;YACH,CAAC;YAED,4BAA4B,CAAC,IAA6B;gBACxD,MAAM,IAAI,GAAG,QAAQ,CAAC,iBAAiB,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;gBACpD,IAAI,IAAA,oBAAa,EAAC,IAAI,CAAC,EAAE,CAAC;oBACxB,OAAO;gBACT,CAAC;gBAED,MAAM,sBAAsB,GAAG,OAAO;qBACnC,cAAc,CAAC,IAAI,CAAC;qBACpB,IAAI,CACH,QAAQ,CAAC,EAAE,CACT,OAAO,CAAC,gCAAgC,CACtC,QAAQ,EACR,eAAe,EACf,OAAO,CACR,IAAI,IAAI,CACZ,CAAC;gBAEJ,IAAI,CAAC,sBAAsB,EAAE,CAAC;oBAC5B,OAAO,CAAC,MAAM,CAAC;wBACb,GAAG,EAAE,IAAA,+CAAsB,EAAC,OAAO,CAAC,UAAU,EAAE,IAAI,CAAC;wBACrD,SAAS,EAAE,4BAA4B;wBACvC,OAAO,EAAE;4BACP,kEAAkE;4BAClE,uDAAuD;4BACvD;gCACE,SAAS,EAAE,sBAAsB;gCACjC,GAAG,CAAC,KAAK;oCACP,MAAM,UAAU,GAAG,IAAA,iBAAU,EAC3B,OAAO,CAAC,UAAU,CAAC,aAAa,CAAC,IAAI,EAAE,qBAAc,CAAC,EACtD,wBAAiB,CAAC,YAAY,CAAC,OAAO,EAAE,gBAAgB,CAAC,CAC1D,CAAC;oCACF,OAAO,KAAK,CAAC,MAAM,CAAC,UAAU,CAAC,CAAC;gCAClC,CAAC;6BACF;yBACF;qBACF,CAAC,CAAC;gBACL,CAAC;YACH,CAAC;YAED,yCAAyC,CACvC,IAAkC;gBAElC,KAAK,MAAM,UAAU,IAAI,IAAI,CAAC,YAAY,EAAE,CAAC;oBAC3C,MAAM,IAAI,GAAG,UAAU,CAAC,IAAI,CAAC;oBAC7B,IAAI,IAAI,IAAI,IAAI,EAAE,CAAC;wBACjB,SAAS;oBACX,CAAC;oBACD,MAAM,IAAI,GAAG,QAAQ,CAAC,iBAAiB,CAAC,IAAI,CAAC,CAAC;oBAC9C,IAAI,IAAA,oBAAa,EAAC,IAAI,CAAC,EAAE,CAAC;wBACxB,SAAS;oBACX,CAAC;oBAED,MAAM,qBAAqB,GAAG,OAAO;yBAClC,cAAc,CAAC,IAAI,CAAC;yBACpB,IAAI,CACH,QAAQ,CAAC,EAAE,CACT,OAAO,CAAC,gCAAgC,CACtC,QAAQ,EACR,cAAc,EACd,OAAO,CACR,IAAI,IAAI,CACZ,CAAC;oBAEJ,IAAI,CAAC,qBAAqB,EAAE,CAAC;wBAC3B,OAAO,CAAC,MAAM,CAAC;4BACb,IAAI,EAAE,IAAI;4BACV,SAAS,EAAE,gCAAgC;4BAC3C,gDAAgD;4BAChD,mCAAmC;4BACnC,oDAAoD;4BACpD,GAAG,IAAA,sBAAe,EAAC;gCACjB,YAAY,EACV,IAAI,CAAC,YAAY,CAAC,MAAM,KAAK,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,MAAM;gCAErD,UAAU,EAAE;oCACV,SAAS,EAAE,aAAa;oCACxB,GAAG,CAAC,KAAK;wCACP,MAAM,UAAU,GAAG,IAAA,iBAAU,EAC3B,OAAO,CAAC,UAAU,CAAC,aAAa,CAAC,IAAI,EAAE,qBAAc,CAAC,EACtD,wBAAiB,CAAC,YAAY,CAAC,OAAO,EAAE,aAAa,CAAC,CACvD,CAAC;wCACF,OAAO,KAAK,CAAC,MAAM,CAAC,UAAU,CAAC,CAAC;oCAClC,CAAC;iCACF;6BACF,CAAC;yBACH,CAAC,CAAC;oBACL,CAAC;gBACH,CAAC;YACH,CAAC;SACF,CAAC;IACJ,CAAC;CACF,CAAC,CAAC"} \ No newline at end of file +{"version":3,"file":"await-thenable.js","sourceRoot":"","sources":["../../src/rules/await-thenable.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEA,sDAAwC;AAExC,kCAUiB;AACjB,2EAAwE;AASxE,kBAAe,IAAA,iBAAU,EAAgB;IACvC,IAAI,EAAE,gBAAgB;IACtB,IAAI,EAAE;QACJ,IAAI,EAAE,SAAS;QACf,IAAI,EAAE;YACJ,WAAW,EAAE,kDAAkD;YAC/D,WAAW,EAAE,aAAa;YAC1B,oBAAoB,EAAE,IAAI;SAC3B;QACD,cAAc,EAAE,IAAI;QACpB,QAAQ,EAAE;YACR,KAAK,EAAE,6DAA6D;YACpE,8BAA8B,EAC5B,mEAAmE;YACrE,oBAAoB,EAAE,yCAAyC;YAC/D,0BAA0B,EACxB,oEAAoE;YACtE,WAAW,EAAE,6BAA6B;SAC3C;QACD,MAAM,EAAE,EAAE;KACX;IACD,cAAc,EAAE,EAAE;IAElB,MAAM,CAAC,OAAO;QACZ,MAAM,QAAQ,GAAG,IAAA,wBAAiB,EAAC,OAAO,CAAC,CAAC;QAC5C,MAAM,OAAO,GAAG,QAAQ,CAAC,OAAO,CAAC,cAAc,EAAE,CAAC;QAElD,OAAO;YACL,eAAe,CAAC,IAAI;gBAClB,MAAM,IAAI,GAAG,QAAQ,CAAC,iBAAiB,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC;gBAEvD,MAAM,YAAY,GAAG,QAAQ,CAAC,qBAAqB,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC;gBAC9D,MAAM,SAAS,GAAG,IAAA,uBAAgB,EAAC,OAAO,EAAE,YAAY,EAAE,IAAI,CAAC,CAAC;gBAEhE,IAAI,SAAS,KAAK,gBAAS,CAAC,KAAK,EAAE,CAAC;oBAClC,OAAO,CAAC,MAAM,CAAC;wBACb,IAAI;wBACJ,SAAS,EAAE,OAAO;wBAClB,OAAO,EAAE;4BACP;gCACE,SAAS,EAAE,aAAa;gCACxB,GAAG,CAAC,KAAK;oCACP,MAAM,YAAY,GAAG,IAAA,iBAAU,EAC7B,OAAO,CAAC,UAAU,CAAC,aAAa,CAAC,IAAI,EAAE,qBAAc,CAAC,EACtD,wBAAiB,CAAC,YAAY,CAAC,OAAO,EAAE,kBAAkB,CAAC,CAC5D,CAAC;oCAEF,OAAO,KAAK,CAAC,MAAM,CAAC,YAAY,CAAC,CAAC;gCACpC,CAAC;6BACF;yBACF;qBACF,CAAC,CAAC;gBACL,CAAC;YACH,CAAC;YAED,4BAA4B,CAAC,IAA6B;gBACxD,MAAM,IAAI,GAAG,QAAQ,CAAC,iBAAiB,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;gBACpD,IAAI,IAAA,oBAAa,EAAC,IAAI,CAAC,EAAE,CAAC;oBACxB,OAAO;gBACT,CAAC;gBAED,MAAM,sBAAsB,GAAG,OAAO;qBACnC,cAAc,CAAC,IAAI,CAAC;qBACpB,IAAI,CACH,QAAQ,CAAC,EAAE,CACT,OAAO,CAAC,gCAAgC,CACtC,QAAQ,EACR,eAAe,EACf,OAAO,CACR,IAAI,IAAI,CACZ,CAAC;gBAEJ,IAAI,CAAC,sBAAsB,EAAE,CAAC;oBAC5B,OAAO,CAAC,MAAM,CAAC;wBACb,GAAG,EAAE,IAAA,+CAAsB,EAAC,OAAO,CAAC,UAAU,EAAE,IAAI,CAAC;wBACrD,SAAS,EAAE,4BAA4B;wBACvC,OAAO,EAAE;4BACP,kEAAkE;4BAClE,uDAAuD;4BACvD;gCACE,SAAS,EAAE,sBAAsB;gCACjC,GAAG,CAAC,KAAK;oCACP,MAAM,UAAU,GAAG,IAAA,iBAAU,EAC3B,OAAO,CAAC,UAAU,CAAC,aAAa,CAAC,IAAI,EAAE,qBAAc,CAAC,EACtD,wBAAiB,CAAC,YAAY,CAAC,OAAO,EAAE,gBAAgB,CAAC,CAC1D,CAAC;oCACF,OAAO,KAAK,CAAC,MAAM,CAAC,UAAU,CAAC,CAAC;gCAClC,CAAC;6BACF;yBACF;qBACF,CAAC,CAAC;gBACL,CAAC;YACH,CAAC;YAED,yCAAyC,CACvC,IAAkC;gBAElC,KAAK,MAAM,UAAU,IAAI,IAAI,CAAC,YAAY,EAAE,CAAC;oBAC3C,MAAM,IAAI,GAAG,UAAU,CAAC,IAAI,CAAC;oBAC7B,IAAI,IAAI,IAAI,IAAI,EAAE,CAAC;wBACjB,SAAS;oBACX,CAAC;oBACD,MAAM,IAAI,GAAG,QAAQ,CAAC,iBAAiB,CAAC,IAAI,CAAC,CAAC;oBAC9C,IAAI,IAAA,oBAAa,EAAC,IAAI,CAAC,EAAE,CAAC;wBACxB,SAAS;oBACX,CAAC;oBAED,MAAM,qBAAqB,GAAG,OAAO;yBAClC,cAAc,CAAC,IAAI,CAAC;yBACpB,IAAI,CACH,QAAQ,CAAC,EAAE,CACT,OAAO,CAAC,gCAAgC,CACtC,QAAQ,EACR,cAAc,EACd,OAAO,CACR,IAAI,IAAI,CACZ,CAAC;oBAEJ,IAAI,CAAC,qBAAqB,EAAE,CAAC;wBAC3B,OAAO,CAAC,MAAM,CAAC;4BACb,IAAI,EAAE,IAAI;4BACV,SAAS,EAAE,gCAAgC;4BAC3C,gDAAgD;4BAChD,mCAAmC;4BACnC,oDAAoD;4BACpD,GAAG,IAAA,sBAAe,EAAC;gCACjB,YAAY,EACV,IAAI,CAAC,YAAY,CAAC,MAAM,KAAK,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,MAAM;gCAErD,UAAU,EAAE;oCACV,SAAS,EAAE,aAAa;oCACxB,GAAG,CAAC,KAAK;wCACP,MAAM,UAAU,GAAG,IAAA,iBAAU,EAC3B,OAAO,CAAC,UAAU,CAAC,aAAa,CAAC,IAAI,EAAE,qBAAc,CAAC,EACtD,wBAAiB,CAAC,YAAY,CAAC,OAAO,EAAE,aAAa,CAAC,CACvD,CAAC;wCACF,OAAO,KAAK,CAAC,MAAM,CAAC,UAAU,CAAC,CAAC;oCAClC,CAAC;iCACF;6BACF,CAAC;yBACH,CAAC,CAAC;oBACL,CAAC;gBACH,CAAC;YACH,CAAC;SACF,CAAC;IACJ,CAAC;CACF,CAAC,CAAC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/consistent-return.js b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/consistent-return.js index abb7e5fe28..05223f3d92 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/consistent-return.js +++ b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/consistent-return.js @@ -15,13 +15,23 @@ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? ( }) : function(o, v) { o["default"] = v; }); -var __importStar = (this && this.__importStar) || function (mod) { - if (mod && mod.__esModule) return mod; - var result = {}; - if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k); - __setModuleDefault(result, mod); - return result; -}; +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); Object.defineProperty(exports, "__esModule", { value: true }); const tsutils = __importStar(require("ts-api-utils")); const ts = __importStar(require("typescript")); diff --git a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/consistent-return.js.map b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/consistent-return.js.map index 80501fe4e4..7500b2d823 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/consistent-return.js.map +++ b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/consistent-return.js.map @@ -1 +1 @@ -{"version":3,"file":"consistent-return.js","sourceRoot":"","sources":["../../src/rules/consistent-return.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AAEA,sDAAwC;AACxC,+CAAiC;AAOjC,kCAAuE;AACvE,iEAA8D;AAE9D,MAAM,QAAQ,GAAG,IAAA,qCAAiB,EAAC,mBAAmB,CAAC,CAAC;AAUxD,MAAM,cAAc,GAAY,CAAC,EAAE,2BAA2B,EAAE,KAAK,EAAE,CAAC,CAAC;AACzE,kBAAe,IAAA,iBAAU,EAAsB;IAC7C,IAAI,EAAE,mBAAmB;IACzB,IAAI,EAAE;QACJ,IAAI,EAAE,YAAY;QAClB,cAAc;QACd,IAAI,EAAE;YACJ,WAAW,EACT,sEAAsE;YACxE,eAAe,EAAE,IAAI;YACrB,oBAAoB,EAAE,IAAI;SAC3B;QACD,cAAc,EAAE,QAAQ,CAAC,IAAI,CAAC,cAAc;QAC5C,QAAQ,EAAE,QAAQ,CAAC,IAAI,CAAC,QAAQ;QAChC,MAAM,EAAE,QAAQ,CAAC,IAAI,CAAC,MAAM;KAC7B;IACD,cAAc;IACd,MAAM,CAAC,OAAO,EAAE,CAAC,OAAO,CAAC;QACvB,MAAM,QAAQ,GAAG,IAAA,wBAAiB,EAAC,OAAO,CAAC,CAAC;QAC5C,MAAM,OAAO,GAAG,QAAQ,CAAC,OAAO,CAAC,cAAc,EAAE,CAAC;QAClD,MAAM,KAAK,GAAG,QAAQ,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC;QACvC,MAAM,SAAS,GAAmB,EAAE,CAAC;QACrC,MAAM,2BAA2B,GAC/B,OAAO,EAAE,2BAA2B,KAAK,IAAI,CAAC;QAEhD,SAAS,aAAa,CAAC,IAAkB;YACvC,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;QACvB,CAAC;QAED,SAAS,YAAY;YACnB,SAAS,CAAC,GAAG,EAAE,CAAC;QAClB,CAAC;QAED,SAAS,kBAAkB;YACzB,OAAO,SAAS,CAAC,SAAS,CAAC,MAAM,GAAG,CAAC,CAAC,IAAI,IAAI,CAAC;QACjD,CAAC;QAED,SAAS,aAAa,CAAC,IAAa,EAAE,IAAa;YACjD,IACE,OAAO,CAAC,cAAc,CAAC,OAAO,EAAE,IAAI,EAAE,IAAI,CAAC;gBAC3C,OAAO,CAAC,eAAe,CAAC,IAAI,CAAC,EAC7B,CAAC;gBACD,MAAM,WAAW,GAAG,IAAI,CAAC,aAAa,EAAE,CAAC,CAAC,CAAC,CAAC;gBAC5C,IAAI,WAAW,EAAE,CAAC;oBAChB,IAAI,IAAA,oBAAa,EAAC,WAAW,EAAE,EAAE,CAAC,SAAS,CAAC,IAAI,CAAC,EAAE,CAAC;wBAClD,OAAO,IAAI,CAAC;oBACd,CAAC;oBACD,OAAO,aAAa,CAAC,IAAI,EAAE,WAAW,CAAC,CAAC;gBAC1C,CAAC;YACH,CAAC;YACD,OAAO,KAAK,CAAC;QACf,CAAC;QAED,SAAS,0BAA0B,CAAC,IAAkB;YACpD,MAAM,YAAY,GAAG,QAAQ,CAAC,iBAAiB,CAAC,IAAI,CAAC,CAAC;YACtD,MAAM,MAAM,GAAG,QAAQ,CAAC,qBAAqB,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC;YACxD,MAAM,cAAc,GAAG,YAAY,CAAC,iBAAiB,EAAE,CAAC;YAExD,OAAO,cAAc,CAAC,IAAI,CAAC,SAAS,CAAC,EAAE;gBACrC,MAAM,UAAU,GAAG,SAAS,CAAC,aAAa,EAAE,CAAC;gBAC7C,IAAI,IAAI,CAAC,KAAK,EAAE,CAAC;oBACf,OAAO,aAAa,CAAC,MAAM,EAAE,UAAU,CAAC,CAAC;gBAC3C,CAAC;gBACD,OAAO,IAAA,oBAAa,EAAC,UAAU,EAAE,EAAE,CAAC,SAAS,CAAC,IAAI,CAAC,CAAC;YACtD,CAAC,CAAC,CAAC;QACL,CAAC;QAED,OAAO;YACL,GAAG,KAAK;YACR,uBAAuB,EAAE,aAAa;YACtC,8BAA8B,CAAC,IAAI;gBACjC,YAAY,EAAE,CAAC;gBACf,KAAK,CAAC,8BAA8B,CAAC,CAAC,IAAI,CAAC,CAAC;YAC9C,CAAC;YACD,mBAAmB,EAAE,aAAa;YAClC,0BAA0B,CAAC,IAAI;gBAC7B,YAAY,EAAE,CAAC;gBACf,KAAK,CAAC,0BAA0B,CAAC,CAAC,IAAI,CAAC,CAAC;YAC1C,CAAC;YACD,kBAAkB,EAAE,aAAa;YACjC,yBAAyB,CAAC,IAAI;gBAC5B,YAAY,EAAE,CAAC;gBACf,KAAK,CAAC,yBAAyB,CAAC,CAAC,IAAI,CAAC,CAAC;YACzC,CAAC;YACD,eAAe,CAAC,IAAI;gBAClB,MAAM,YAAY,GAAG,kBAAkB,EAAE,CAAC;gBAC1C,IACE,CAAC,IAAI,CAAC,QAAQ;oBACd,YAAY;oBACZ,0BAA0B,CAAC,YAAY,CAAC,EACxC,CAAC;oBACD,OAAO;gBACT,CAAC;gBACD,IAAI,2BAA2B,IAAI,IAAI,CAAC,QAAQ,EAAE,CAAC;oBACjD,MAAM,eAAe,GAAG,QAAQ,CAAC,iBAAiB,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC;oBAClE,IAAI,eAAe,CAAC,KAAK,KAAK,EAAE,CAAC,SAAS,CAAC,SAAS,EAAE,CAAC;wBACrD,KAAK,CAAC,eAAe,CAAC;4BACpB,GAAG,IAAI;4BACP,QAAQ,EAAE,IAAI;yBACf,CAAC,CAAC;wBACH,OAAO;oBACT,CAAC;gBACH,CAAC;gBAED,KAAK,CAAC,eAAe,CAAC,IAAI,CAAC,CAAC;YAC9B,CAAC;SACF,CAAC;IACJ,CAAC;CACF,CAAC,CAAC"} \ No newline at end of file +{"version":3,"file":"consistent-return.js","sourceRoot":"","sources":["../../src/rules/consistent-return.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEA,sDAAwC;AACxC,+CAAiC;AAOjC,kCAAuE;AACvE,iEAA8D;AAE9D,MAAM,QAAQ,GAAG,IAAA,qCAAiB,EAAC,mBAAmB,CAAC,CAAC;AAUxD,MAAM,cAAc,GAAY,CAAC,EAAE,2BAA2B,EAAE,KAAK,EAAE,CAAC,CAAC;AACzE,kBAAe,IAAA,iBAAU,EAAsB;IAC7C,IAAI,EAAE,mBAAmB;IACzB,IAAI,EAAE;QACJ,IAAI,EAAE,YAAY;QAClB,cAAc;QACd,IAAI,EAAE;YACJ,WAAW,EACT,sEAAsE;YACxE,eAAe,EAAE,IAAI;YACrB,oBAAoB,EAAE,IAAI;SAC3B;QACD,cAAc,EAAE,QAAQ,CAAC,IAAI,CAAC,cAAc;QAC5C,QAAQ,EAAE,QAAQ,CAAC,IAAI,CAAC,QAAQ;QAChC,MAAM,EAAE,QAAQ,CAAC,IAAI,CAAC,MAAM;KAC7B;IACD,cAAc;IACd,MAAM,CAAC,OAAO,EAAE,CAAC,OAAO,CAAC;QACvB,MAAM,QAAQ,GAAG,IAAA,wBAAiB,EAAC,OAAO,CAAC,CAAC;QAC5C,MAAM,OAAO,GAAG,QAAQ,CAAC,OAAO,CAAC,cAAc,EAAE,CAAC;QAClD,MAAM,KAAK,GAAG,QAAQ,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC;QACvC,MAAM,SAAS,GAAmB,EAAE,CAAC;QACrC,MAAM,2BAA2B,GAC/B,OAAO,EAAE,2BAA2B,KAAK,IAAI,CAAC;QAEhD,SAAS,aAAa,CAAC,IAAkB;YACvC,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;QACvB,CAAC;QAED,SAAS,YAAY;YACnB,SAAS,CAAC,GAAG,EAAE,CAAC;QAClB,CAAC;QAED,SAAS,kBAAkB;YACzB,OAAO,SAAS,CAAC,SAAS,CAAC,MAAM,GAAG,CAAC,CAAC,IAAI,IAAI,CAAC;QACjD,CAAC;QAED,SAAS,aAAa,CAAC,IAAa,EAAE,IAAa;YACjD,IACE,OAAO,CAAC,cAAc,CAAC,OAAO,EAAE,IAAI,EAAE,IAAI,CAAC;gBAC3C,OAAO,CAAC,eAAe,CAAC,IAAI,CAAC,EAC7B,CAAC;gBACD,MAAM,WAAW,GAAG,IAAI,CAAC,aAAa,EAAE,CAAC,CAAC,CAAC,CAAC;gBAC5C,IAAI,WAAW,EAAE,CAAC;oBAChB,IAAI,IAAA,oBAAa,EAAC,WAAW,EAAE,EAAE,CAAC,SAAS,CAAC,IAAI,CAAC,EAAE,CAAC;wBAClD,OAAO,IAAI,CAAC;oBACd,CAAC;oBACD,OAAO,aAAa,CAAC,IAAI,EAAE,WAAW,CAAC,CAAC;gBAC1C,CAAC;YACH,CAAC;YACD,OAAO,KAAK,CAAC;QACf,CAAC;QAED,SAAS,0BAA0B,CAAC,IAAkB;YACpD,MAAM,YAAY,GAAG,QAAQ,CAAC,iBAAiB,CAAC,IAAI,CAAC,CAAC;YACtD,MAAM,MAAM,GAAG,QAAQ,CAAC,qBAAqB,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC;YACxD,MAAM,cAAc,GAAG,YAAY,CAAC,iBAAiB,EAAE,CAAC;YAExD,OAAO,cAAc,CAAC,IAAI,CAAC,SAAS,CAAC,EAAE;gBACrC,MAAM,UAAU,GAAG,SAAS,CAAC,aAAa,EAAE,CAAC;gBAC7C,IAAI,IAAI,CAAC,KAAK,EAAE,CAAC;oBACf,OAAO,aAAa,CAAC,MAAM,EAAE,UAAU,CAAC,CAAC;gBAC3C,CAAC;gBACD,OAAO,IAAA,oBAAa,EAAC,UAAU,EAAE,EAAE,CAAC,SAAS,CAAC,IAAI,CAAC,CAAC;YACtD,CAAC,CAAC,CAAC;QACL,CAAC;QAED,OAAO;YACL,GAAG,KAAK;YACR,uBAAuB,EAAE,aAAa;YACtC,8BAA8B,CAAC,IAAI;gBACjC,YAAY,EAAE,CAAC;gBACf,KAAK,CAAC,8BAA8B,CAAC,CAAC,IAAI,CAAC,CAAC;YAC9C,CAAC;YACD,mBAAmB,EAAE,aAAa;YAClC,0BAA0B,CAAC,IAAI;gBAC7B,YAAY,EAAE,CAAC;gBACf,KAAK,CAAC,0BAA0B,CAAC,CAAC,IAAI,CAAC,CAAC;YAC1C,CAAC;YACD,kBAAkB,EAAE,aAAa;YACjC,yBAAyB,CAAC,IAAI;gBAC5B,YAAY,EAAE,CAAC;gBACf,KAAK,CAAC,yBAAyB,CAAC,CAAC,IAAI,CAAC,CAAC;YACzC,CAAC;YACD,eAAe,CAAC,IAAI;gBAClB,MAAM,YAAY,GAAG,kBAAkB,EAAE,CAAC;gBAC1C,IACE,CAAC,IAAI,CAAC,QAAQ;oBACd,YAAY;oBACZ,0BAA0B,CAAC,YAAY,CAAC,EACxC,CAAC;oBACD,OAAO;gBACT,CAAC;gBACD,IAAI,2BAA2B,IAAI,IAAI,CAAC,QAAQ,EAAE,CAAC;oBACjD,MAAM,eAAe,GAAG,QAAQ,CAAC,iBAAiB,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC;oBAClE,IAAI,eAAe,CAAC,KAAK,KAAK,EAAE,CAAC,SAAS,CAAC,SAAS,EAAE,CAAC;wBACrD,KAAK,CAAC,eAAe,CAAC;4BACpB,GAAG,IAAI;4BACP,QAAQ,EAAE,IAAI;yBACf,CAAC,CAAC;wBACH,OAAO;oBACT,CAAC;gBACH,CAAC;gBAED,KAAK,CAAC,eAAe,CAAC,IAAI,CAAC,CAAC;YAC9B,CAAC;SACF,CAAC;IACJ,CAAC;CACF,CAAC,CAAC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/consistent-type-assertions.js b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/consistent-type-assertions.js index a24ec12807..6e9c2ed28a 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/consistent-type-assertions.js +++ b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/consistent-type-assertions.js @@ -15,13 +15,23 @@ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? ( }) : function(o, v) { o["default"] = v; }); -var __importStar = (this && this.__importStar) || function (mod) { - if (mod && mod.__esModule) return mod; - var result = {}; - if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k); - __setModuleDefault(result, mod); - return result; -}; +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); Object.defineProperty(exports, "__esModule", { value: true }); const utils_1 = require("@typescript-eslint/utils"); const ts = __importStar(require("typescript")); diff --git a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/consistent-type-assertions.js.map b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/consistent-type-assertions.js.map index 2fd9390cc1..205fc4feb0 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/consistent-type-assertions.js.map +++ b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/consistent-type-assertions.js.map @@ -1 +1 @@ -{"version":3,"file":"consistent-type-assertions.js","sourceRoot":"","sources":["../../src/rules/consistent-type-assertions.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AAEA,oDAA0D;AAC1D,+CAAiC;AAEjC,kCAOiB;AACjB,2DAAwD;AAoBxD,kBAAe,IAAA,iBAAU,EAAsB;IAC7C,IAAI,EAAE,4BAA4B;IAClC,IAAI,EAAE;QACJ,IAAI,EAAE,YAAY;QAClB,IAAI,EAAE;YACJ,WAAW,EAAE,6CAA6C;YAC1D,WAAW,EAAE,WAAW;SACzB;QACD,OAAO,EAAE,MAAM;QACf,cAAc,EAAE,IAAI;QACpB,QAAQ,EAAE;YACR,eAAe,EAAE,4CAA4C;YAC7D,EAAE,EAAE,4CAA4C;YAChD,KAAK,EAAE,iCAAiC;YACxC,wCAAwC,EACtC,0CAA0C;YAC5C,uCAAuC,EACrC,mDAAmD;YACrD,6BAA6B,EAAE,qCAAqC;SACrE;QACD,MAAM,EAAE;YACN;gBACE,KAAK,EAAE;oBACL;wBACE,IAAI,EAAE,QAAQ;wBACd,oBAAoB,EAAE,KAAK;wBAC3B,UAAU,EAAE;4BACV,cAAc,EAAE;gCACd,IAAI,EAAE,QAAQ;gCACd,WAAW,EAAE,0CAA0C;gCACvD,IAAI,EAAE,CAAC,OAAO,CAAC;6BAChB;yBACF;wBACD,QAAQ,EAAE,CAAC,gBAAgB,CAAC;qBAC7B;oBACD;wBACE,IAAI,EAAE,QAAQ;wBACd,oBAAoB,EAAE,KAAK;wBAC3B,UAAU,EAAE;4BACV,cAAc,EAAE;gCACd,IAAI,EAAE,QAAQ;gCACd,WAAW,EAAE,0CAA0C;gCACvD,IAAI,EAAE,CAAC,IAAI,EAAE,eAAe,CAAC;6BAC9B;4BACD,2BAA2B,EAAE;gCAC3B,IAAI,EAAE,QAAQ;gCACd,WAAW,EACT,4HAA4H;gCAC9H,IAAI,EAAE,CAAC,OAAO,EAAE,oBAAoB,EAAE,OAAO,CAAC;6BAC/C;yBACF;wBACD,QAAQ,EAAE,CAAC,gBAAgB,CAAC;qBAC7B;iBACF;aACF;SACF;KACF;IACD,cAAc,EAAE;QACd;YACE,cAAc,EAAE,IAAI;YACpB,2BAA2B,EAAE,OAAO;SACrC;KACF;IACD,MAAM,CAAC,OAAO,EAAE,CAAC,OAAO,CAAC;QACvB,SAAS,OAAO,CAAC,IAAuB;YACtC,IAAI,IAAI,CAAC,IAAI,KAAK,sBAAc,CAAC,eAAe,EAAE,CAAC;gBACjD,OAAO,KAAK,CAAC;YACf,CAAC;YAED,OAAO,CACL,IAAI,CAAC,QAAQ,CAAC,IAAI,KAAK,sBAAc,CAAC,UAAU;gBAChD,IAAI,CAAC,QAAQ,CAAC,IAAI,KAAK,OAAO,CAC/B,CAAC;QACJ,CAAC;QAED,SAAS,4BAA4B,CACnC,IAAwD;YAExD,MAAM,SAAS,GAAG,OAAO,CAAC,cAAc,CAAC;YAEzC,0DAA0D;YAC1D,IAAI,OAAO,CAAC,IAAI,CAAC,cAAc,CAAC,IAAI,SAAS,KAAK,OAAO,EAAE,CAAC;gBAC1D,OAAO;YACT,CAAC;YACD,OAAO,CAAC,MAAM,CAAC;gBACb,IAAI;gBACJ,SAAS;gBACT,IAAI,EACF,SAAS,KAAK,OAAO;oBACnB,CAAC,CAAC,EAAE,IAAI,EAAE,OAAO,CAAC,UAAU,CAAC,OAAO,CAAC,IAAI,CAAC,cAAc,CAAC,EAAE;oBAC3D,CAAC,CAAC,EAAE;gBACR,GAAG,EACD,SAAS,KAAK,IAAI;oBAChB,CAAC,CAAC,CAAC,KAAK,EAAoB,EAAE;wBAC1B,yEAAyE;wBACzE,MAAM,MAAM,GAAG,IAAA,wBAAiB,EAC9B,OAAO,EACP,IAAI,CACL,CAAC,qBAAqB,CAAC,GAAG,CAAC,IAAgC,CAAC,CAAC;wBAE9D,MAAM,cAAc,GAAG,OAAO,CAAC,UAAU,CAAC,OAAO,CAC/C,IAAI,CAAC,UAAU,CAChB,CAAC;wBACF,MAAM,kBAAkB,GAAG,OAAO,CAAC,UAAU,CAAC,OAAO,CACnD,IAAI,CAAC,cAAc,CACpB,CAAC;wBAEF,MAAM,YAAY,GAAG,IAAA,4BAAqB,EACxC,EAAE,CAAC,UAAU,CAAC,YAAY,EAC1B,EAAE,CAAC,UAAU,CAAC,OAAO,CACtB,CAAC;wBACF,MAAM,gBAAgB,GAAG,IAAA,4BAAqB,EAC5C,MAAM,CAAC,MAAM,CAAC,IAAI,EAClB,EAAE,CAAC,kBAAkB,CAAC,MAAM,CAAC,MAAM,CAAC;4BAClC,CAAC,CAAC,MAAM,CAAC,MAAM,CAAC,aAAa,CAAC,IAAI;4BAClC,CAAC,CAAC,EAAE,CAAC,UAAU,CAAC,OAAO,EACzB,EAAE,CAAC,eAAe,CAAC,MAAM,CAAC,MAAM,CAAC;4BAC/B,CAAC,CAAC,MAAM,CAAC,MAAM,CAAC,SAAS,IAAI,IAAI;gCAC7B,MAAM,CAAC,MAAM,CAAC,SAAS,CAAC,MAAM,GAAG,CAAC;4BACtC,CAAC,CAAC,SAAS,CACd,CAAC;wBAEF,MAAM,oBAAoB,GAAG,IAAA,mCAA4B,EACvD,IAAI,CAAC,UAAU,CAChB,CAAC;wBAEF,MAAM,qBAAqB,GAAG,IAAA,+BAAc,EAC1C,cAAc,EACd,oBAAoB,EACpB,YAAY,CACb,CAAC;wBAEF,MAAM,IAAI,GAAG,GAAG,qBAAqB,OAAO,kBAAkB,EAAE,CAAC;wBACjE,OAAO,KAAK,CAAC,WAAW,CACtB,IAAI,EACJ,IAAA,sBAAe,EAAC,IAAI,EAAE,OAAO,CAAC,UAAU,CAAC;4BACvC,CAAC,CAAC,IAAI;4BACN,CAAC,CAAC,IAAA,+BAAc,EAAC,IAAI,EAAE,YAAY,EAAE,gBAAgB,CAAC,CACzD,CAAC;oBACJ,CAAC;oBACH,CAAC,CAAC,SAAS;aAChB,CAAC,CAAC;QACL,CAAC;QAED,SAAS,SAAS,CAAC,IAAuB;YACxC,QAAQ,IAAI,CAAC,IAAI,EAAE,CAAC;gBAClB,KAAK,sBAAc,CAAC,YAAY,CAAC;gBACjC,KAAK,sBAAc,CAAC,gBAAgB;oBAClC,OAAO,KAAK,CAAC;gBACf,KAAK,sBAAc,CAAC,eAAe;oBACjC,OAAO;oBACL,kCAAkC;oBAClC,CAAC,OAAO,CAAC,IAAI,CAAC;wBACd,uEAAuE;wBACvE,IAAI,CAAC,QAAQ,CAAC,IAAI,KAAK,sBAAc,CAAC,eAAe,CACtD,CAAC;gBAEJ;oBACE,OAAO,IAAI,CAAC;YAChB,CAAC;QACH,CAAC;QAED,SAAS,eAAe,CACtB,IAAwD;YAExD,IACE,OAAO,CAAC,cAAc,KAAK,OAAO;gBAClC,OAAO,CAAC,2BAA2B,KAAK,OAAO;gBAC/C,IAAI,CAAC,UAAU,CAAC,IAAI,KAAK,sBAAc,CAAC,gBAAgB,EACxD,CAAC;gBACD,OAAO;YACT,CAAC;YAED,IACE,OAAO,CAAC,2BAA2B,KAAK,oBAAoB;gBAC5D,CAAC,IAAI,CAAC,MAAM,CAAC,IAAI,KAAK,sBAAc,CAAC,aAAa;oBAChD,IAAI,CAAC,MAAM,CAAC,IAAI,KAAK,sBAAc,CAAC,cAAc;oBAClD,IAAI,CAAC,MAAM,CAAC,IAAI,KAAK,sBAAc,CAAC,cAAc;oBAClD,IAAI,CAAC,MAAM,CAAC,IAAI,KAAK,sBAAc,CAAC,iBAAiB;oBACrD,IAAI,CAAC,MAAM,CAAC,IAAI,KAAK,sBAAc,CAAC,sBAAsB;oBAC1D,CAAC,IAAI,CAAC,MAAM,CAAC,IAAI,KAAK,sBAAc,CAAC,eAAe;wBAClD,IAAI,CAAC,MAAM,CAAC,MAAM,CAAC,IAAI;4BACrB,sBAAc,CAAC,wBAAwB,CAAC,CAAC,EAC/C,CAAC;gBACD,OAAO;YACT,CAAC;YAED,IAAI,SAAS,CAAC,IAAI,CAAC,cAAc,CAAC,EAAE,CAAC;gBACnC,MAAM,OAAO,GAA+C,EAAE,CAAC;gBAC/D,IACE,IAAI,CAAC,MAAM,CAAC,IAAI,KAAK,sBAAc,CAAC,kBAAkB;oBACtD,CAAC,IAAI,CAAC,MAAM,CAAC,EAAE,CAAC,cAAc,EAC9B,CAAC;oBACD,MAAM,EAAE,MAAM,EAAE,GAAG,IAAI,CAAC;oBACxB,OAAO,CAAC,IAAI,CAAC;wBACX,SAAS,EAAE,0CAA0C;wBACrD,IAAI,EAAE,EAAE,IAAI,EAAE,OAAO,CAAC,UAAU,CAAC,OAAO,CAAC,IAAI,CAAC,cAAc,CAAC,EAAE;wBAC/D,GAAG,EAAE,KAAK,CAAC,EAAE,CAAC;4BACZ,KAAK,CAAC,eAAe,CACnB,MAAM,CAAC,EAAE,EACT,KAAK,OAAO,CAAC,UAAU,CAAC,OAAO,CAAC,IAAI,CAAC,cAAc,CAAC,EAAE,CACvD;4BACD,KAAK,CAAC,WAAW,CACf,IAAI,EACJ,IAAA,6BAAsB,EAAC,OAAO,CAAC,UAAU,EAAE,IAAI,CAAC,UAAU,CAAC,CAC5D;yBACF;qBACF,CAAC,CAAC;gBACL,CAAC;gBACD,OAAO,CAAC,IAAI,CAAC;oBACX,SAAS,EAAE,yCAAyC;oBACpD,IAAI,EAAE,EAAE,IAAI,EAAE,OAAO,CAAC,UAAU,CAAC,OAAO,CAAC,IAAI,CAAC,cAAc,CAAC,EAAE;oBAC/D,GAAG,EAAE,KAAK,CAAC,EAAE,CAAC;wBACZ,KAAK,CAAC,WAAW,CACf,IAAI,EACJ,IAAA,6BAAsB,EAAC,OAAO,CAAC,UAAU,EAAE,IAAI,CAAC,UAAU,CAAC,CAC5D;wBACD,KAAK,CAAC,eAAe,CACnB,IAAI,EACJ,cAAc,OAAO,CAAC,UAAU,CAAC,OAAO,CAAC,IAAI,CAAC,cAAc,CAAC,EAAE,CAChE;qBACF;iBACF,CAAC,CAAC;gBAEH,OAAO,CAAC,MAAM,CAAC;oBACb,IAAI;oBACJ,SAAS,EAAE,+BAA+B;oBAC1C,OAAO;iBACR,CAAC,CAAC;YACL,CAAC;QACH,CAAC;QAED,OAAO;YACL,cAAc,CAAC,IAAI;gBACjB,IAAI,OAAO,CAAC,cAAc,KAAK,IAAI,EAAE,CAAC;oBACpC,4BAA4B,CAAC,IAAI,CAAC,CAAC;oBACnC,OAAO;gBACT,CAAC;gBAED,eAAe,CAAC,IAAI,CAAC,CAAC;YACxB,CAAC;YACD,eAAe,CAAC,IAAI;gBAClB,IAAI,OAAO,CAAC,cAAc,KAAK,eAAe,EAAE,CAAC;oBAC/C,4BAA4B,CAAC,IAAI,CAAC,CAAC;oBACnC,OAAO;gBACT,CAAC;gBAED,eAAe,CAAC,IAAI,CAAC,CAAC;YACxB,CAAC;SACF,CAAC;IACJ,CAAC;CACF,CAAC,CAAC"} \ No newline at end of file +{"version":3,"file":"consistent-type-assertions.js","sourceRoot":"","sources":["../../src/rules/consistent-type-assertions.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEA,oDAA0D;AAC1D,+CAAiC;AAEjC,kCAOiB;AACjB,2DAAwD;AAoBxD,kBAAe,IAAA,iBAAU,EAAsB;IAC7C,IAAI,EAAE,4BAA4B;IAClC,IAAI,EAAE;QACJ,IAAI,EAAE,YAAY;QAClB,IAAI,EAAE;YACJ,WAAW,EAAE,6CAA6C;YAC1D,WAAW,EAAE,WAAW;SACzB;QACD,OAAO,EAAE,MAAM;QACf,cAAc,EAAE,IAAI;QACpB,QAAQ,EAAE;YACR,eAAe,EAAE,4CAA4C;YAC7D,EAAE,EAAE,4CAA4C;YAChD,KAAK,EAAE,iCAAiC;YACxC,wCAAwC,EACtC,0CAA0C;YAC5C,uCAAuC,EACrC,mDAAmD;YACrD,6BAA6B,EAAE,qCAAqC;SACrE;QACD,MAAM,EAAE;YACN;gBACE,KAAK,EAAE;oBACL;wBACE,IAAI,EAAE,QAAQ;wBACd,oBAAoB,EAAE,KAAK;wBAC3B,UAAU,EAAE;4BACV,cAAc,EAAE;gCACd,IAAI,EAAE,QAAQ;gCACd,WAAW,EAAE,0CAA0C;gCACvD,IAAI,EAAE,CAAC,OAAO,CAAC;6BAChB;yBACF;wBACD,QAAQ,EAAE,CAAC,gBAAgB,CAAC;qBAC7B;oBACD;wBACE,IAAI,EAAE,QAAQ;wBACd,oBAAoB,EAAE,KAAK;wBAC3B,UAAU,EAAE;4BACV,cAAc,EAAE;gCACd,IAAI,EAAE,QAAQ;gCACd,WAAW,EAAE,0CAA0C;gCACvD,IAAI,EAAE,CAAC,IAAI,EAAE,eAAe,CAAC;6BAC9B;4BACD,2BAA2B,EAAE;gCAC3B,IAAI,EAAE,QAAQ;gCACd,WAAW,EACT,4HAA4H;gCAC9H,IAAI,EAAE,CAAC,OAAO,EAAE,oBAAoB,EAAE,OAAO,CAAC;6BAC/C;yBACF;wBACD,QAAQ,EAAE,CAAC,gBAAgB,CAAC;qBAC7B;iBACF;aACF;SACF;KACF;IACD,cAAc,EAAE;QACd;YACE,cAAc,EAAE,IAAI;YACpB,2BAA2B,EAAE,OAAO;SACrC;KACF;IACD,MAAM,CAAC,OAAO,EAAE,CAAC,OAAO,CAAC;QACvB,SAAS,OAAO,CAAC,IAAuB;YACtC,IAAI,IAAI,CAAC,IAAI,KAAK,sBAAc,CAAC,eAAe,EAAE,CAAC;gBACjD,OAAO,KAAK,CAAC;YACf,CAAC;YAED,OAAO,CACL,IAAI,CAAC,QAAQ,CAAC,IAAI,KAAK,sBAAc,CAAC,UAAU;gBAChD,IAAI,CAAC,QAAQ,CAAC,IAAI,KAAK,OAAO,CAC/B,CAAC;QACJ,CAAC;QAED,SAAS,4BAA4B,CACnC,IAAwD;YAExD,MAAM,SAAS,GAAG,OAAO,CAAC,cAAc,CAAC;YAEzC,0DAA0D;YAC1D,IAAI,OAAO,CAAC,IAAI,CAAC,cAAc,CAAC,IAAI,SAAS,KAAK,OAAO,EAAE,CAAC;gBAC1D,OAAO;YACT,CAAC;YACD,OAAO,CAAC,MAAM,CAAC;gBACb,IAAI;gBACJ,SAAS;gBACT,IAAI,EACF,SAAS,KAAK,OAAO;oBACnB,CAAC,CAAC,EAAE,IAAI,EAAE,OAAO,CAAC,UAAU,CAAC,OAAO,CAAC,IAAI,CAAC,cAAc,CAAC,EAAE;oBAC3D,CAAC,CAAC,EAAE;gBACR,GAAG,EACD,SAAS,KAAK,IAAI;oBAChB,CAAC,CAAC,CAAC,KAAK,EAAoB,EAAE;wBAC1B,yEAAyE;wBACzE,MAAM,MAAM,GAAG,IAAA,wBAAiB,EAC9B,OAAO,EACP,IAAI,CACL,CAAC,qBAAqB,CAAC,GAAG,CAAC,IAAgC,CAAC,CAAC;wBAE9D,MAAM,cAAc,GAAG,OAAO,CAAC,UAAU,CAAC,OAAO,CAC/C,IAAI,CAAC,UAAU,CAChB,CAAC;wBACF,MAAM,kBAAkB,GAAG,OAAO,CAAC,UAAU,CAAC,OAAO,CACnD,IAAI,CAAC,cAAc,CACpB,CAAC;wBAEF,MAAM,YAAY,GAAG,IAAA,4BAAqB,EACxC,EAAE,CAAC,UAAU,CAAC,YAAY,EAC1B,EAAE,CAAC,UAAU,CAAC,OAAO,CACtB,CAAC;wBACF,MAAM,gBAAgB,GAAG,IAAA,4BAAqB,EAC5C,MAAM,CAAC,MAAM,CAAC,IAAI,EAClB,EAAE,CAAC,kBAAkB,CAAC,MAAM,CAAC,MAAM,CAAC;4BAClC,CAAC,CAAC,MAAM,CAAC,MAAM,CAAC,aAAa,CAAC,IAAI;4BAClC,CAAC,CAAC,EAAE,CAAC,UAAU,CAAC,OAAO,EACzB,EAAE,CAAC,eAAe,CAAC,MAAM,CAAC,MAAM,CAAC;4BAC/B,CAAC,CAAC,MAAM,CAAC,MAAM,CAAC,SAAS,IAAI,IAAI;gCAC7B,MAAM,CAAC,MAAM,CAAC,SAAS,CAAC,MAAM,GAAG,CAAC;4BACtC,CAAC,CAAC,SAAS,CACd,CAAC;wBAEF,MAAM,oBAAoB,GAAG,IAAA,mCAA4B,EACvD,IAAI,CAAC,UAAU,CAChB,CAAC;wBAEF,MAAM,qBAAqB,GAAG,IAAA,+BAAc,EAC1C,cAAc,EACd,oBAAoB,EACpB,YAAY,CACb,CAAC;wBAEF,MAAM,IAAI,GAAG,GAAG,qBAAqB,OAAO,kBAAkB,EAAE,CAAC;wBACjE,OAAO,KAAK,CAAC,WAAW,CACtB,IAAI,EACJ,IAAA,sBAAe,EAAC,IAAI,EAAE,OAAO,CAAC,UAAU,CAAC;4BACvC,CAAC,CAAC,IAAI;4BACN,CAAC,CAAC,IAAA,+BAAc,EAAC,IAAI,EAAE,YAAY,EAAE,gBAAgB,CAAC,CACzD,CAAC;oBACJ,CAAC;oBACH,CAAC,CAAC,SAAS;aAChB,CAAC,CAAC;QACL,CAAC;QAED,SAAS,SAAS,CAAC,IAAuB;YACxC,QAAQ,IAAI,CAAC,IAAI,EAAE,CAAC;gBAClB,KAAK,sBAAc,CAAC,YAAY,CAAC;gBACjC,KAAK,sBAAc,CAAC,gBAAgB;oBAClC,OAAO,KAAK,CAAC;gBACf,KAAK,sBAAc,CAAC,eAAe;oBACjC,OAAO;oBACL,kCAAkC;oBAClC,CAAC,OAAO,CAAC,IAAI,CAAC;wBACd,uEAAuE;wBACvE,IAAI,CAAC,QAAQ,CAAC,IAAI,KAAK,sBAAc,CAAC,eAAe,CACtD,CAAC;gBAEJ;oBACE,OAAO,IAAI,CAAC;YAChB,CAAC;QACH,CAAC;QAED,SAAS,eAAe,CACtB,IAAwD;YAExD,IACE,OAAO,CAAC,cAAc,KAAK,OAAO;gBAClC,OAAO,CAAC,2BAA2B,KAAK,OAAO;gBAC/C,IAAI,CAAC,UAAU,CAAC,IAAI,KAAK,sBAAc,CAAC,gBAAgB,EACxD,CAAC;gBACD,OAAO;YACT,CAAC;YAED,IACE,OAAO,CAAC,2BAA2B,KAAK,oBAAoB;gBAC5D,CAAC,IAAI,CAAC,MAAM,CAAC,IAAI,KAAK,sBAAc,CAAC,aAAa;oBAChD,IAAI,CAAC,MAAM,CAAC,IAAI,KAAK,sBAAc,CAAC,cAAc;oBAClD,IAAI,CAAC,MAAM,CAAC,IAAI,KAAK,sBAAc,CAAC,cAAc;oBAClD,IAAI,CAAC,MAAM,CAAC,IAAI,KAAK,sBAAc,CAAC,iBAAiB;oBACrD,IAAI,CAAC,MAAM,CAAC,IAAI,KAAK,sBAAc,CAAC,sBAAsB;oBAC1D,CAAC,IAAI,CAAC,MAAM,CAAC,IAAI,KAAK,sBAAc,CAAC,eAAe;wBAClD,IAAI,CAAC,MAAM,CAAC,MAAM,CAAC,IAAI;4BACrB,sBAAc,CAAC,wBAAwB,CAAC,CAAC,EAC/C,CAAC;gBACD,OAAO;YACT,CAAC;YAED,IAAI,SAAS,CAAC,IAAI,CAAC,cAAc,CAAC,EAAE,CAAC;gBACnC,MAAM,OAAO,GAA+C,EAAE,CAAC;gBAC/D,IACE,IAAI,CAAC,MAAM,CAAC,IAAI,KAAK,sBAAc,CAAC,kBAAkB;oBACtD,CAAC,IAAI,CAAC,MAAM,CAAC,EAAE,CAAC,cAAc,EAC9B,CAAC;oBACD,MAAM,EAAE,MAAM,EAAE,GAAG,IAAI,CAAC;oBACxB,OAAO,CAAC,IAAI,CAAC;wBACX,SAAS,EAAE,0CAA0C;wBACrD,IAAI,EAAE,EAAE,IAAI,EAAE,OAAO,CAAC,UAAU,CAAC,OAAO,CAAC,IAAI,CAAC,cAAc,CAAC,EAAE;wBAC/D,GAAG,EAAE,KAAK,CAAC,EAAE,CAAC;4BACZ,KAAK,CAAC,eAAe,CACnB,MAAM,CAAC,EAAE,EACT,KAAK,OAAO,CAAC,UAAU,CAAC,OAAO,CAAC,IAAI,CAAC,cAAc,CAAC,EAAE,CACvD;4BACD,KAAK,CAAC,WAAW,CACf,IAAI,EACJ,IAAA,6BAAsB,EAAC,OAAO,CAAC,UAAU,EAAE,IAAI,CAAC,UAAU,CAAC,CAC5D;yBACF;qBACF,CAAC,CAAC;gBACL,CAAC;gBACD,OAAO,CAAC,IAAI,CAAC;oBACX,SAAS,EAAE,yCAAyC;oBACpD,IAAI,EAAE,EAAE,IAAI,EAAE,OAAO,CAAC,UAAU,CAAC,OAAO,CAAC,IAAI,CAAC,cAAc,CAAC,EAAE;oBAC/D,GAAG,EAAE,KAAK,CAAC,EAAE,CAAC;wBACZ,KAAK,CAAC,WAAW,CACf,IAAI,EACJ,IAAA,6BAAsB,EAAC,OAAO,CAAC,UAAU,EAAE,IAAI,CAAC,UAAU,CAAC,CAC5D;wBACD,KAAK,CAAC,eAAe,CACnB,IAAI,EACJ,cAAc,OAAO,CAAC,UAAU,CAAC,OAAO,CAAC,IAAI,CAAC,cAAc,CAAC,EAAE,CAChE;qBACF;iBACF,CAAC,CAAC;gBAEH,OAAO,CAAC,MAAM,CAAC;oBACb,IAAI;oBACJ,SAAS,EAAE,+BAA+B;oBAC1C,OAAO;iBACR,CAAC,CAAC;YACL,CAAC;QACH,CAAC;QAED,OAAO;YACL,cAAc,CAAC,IAAI;gBACjB,IAAI,OAAO,CAAC,cAAc,KAAK,IAAI,EAAE,CAAC;oBACpC,4BAA4B,CAAC,IAAI,CAAC,CAAC;oBACnC,OAAO;gBACT,CAAC;gBAED,eAAe,CAAC,IAAI,CAAC,CAAC;YACxB,CAAC;YACD,eAAe,CAAC,IAAI;gBAClB,IAAI,OAAO,CAAC,cAAc,KAAK,eAAe,EAAE,CAAC;oBAC/C,4BAA4B,CAAC,IAAI,CAAC,CAAC;oBACnC,OAAO;gBACT,CAAC;gBAED,eAAe,CAAC,IAAI,CAAC,CAAC;YACxB,CAAC;SACF,CAAC;IACJ,CAAC;CACF,CAAC,CAAC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/consistent-type-exports.js b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/consistent-type-exports.js index c62ba207fb..505a8fc842 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/consistent-type-exports.js +++ b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/consistent-type-exports.js @@ -15,13 +15,23 @@ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? ( }) : function(o, v) { o["default"] = v; }); -var __importStar = (this && this.__importStar) || function (mod) { - if (mod && mod.__esModule) return mod; - var result = {}; - if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k); - __setModuleDefault(result, mod); - return result; -}; +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); Object.defineProperty(exports, "__esModule", { value: true }); const utils_1 = require("@typescript-eslint/utils"); const tsutils = __importStar(require("ts-api-utils")); diff --git a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/consistent-type-exports.js.map b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/consistent-type-exports.js.map index c25f1434ac..d623f06539 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/consistent-type-exports.js.map +++ b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/consistent-type-exports.js.map @@ -1 +1 @@ -{"version":3,"file":"consistent-type-exports.js","sourceRoot":"","sources":["../../src/rules/consistent-type-exports.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AAEA,oDAA2E;AAC3E,sDAAwC;AACxC,+CAAiC;AAEjC,kCAQiB;AA2BjB,kBAAe,IAAA,iBAAU,EAAsB;IAC7C,IAAI,EAAE,yBAAyB;IAC/B,IAAI,EAAE;QACJ,IAAI,EAAE,YAAY;QAClB,IAAI,EAAE;YACJ,WAAW,EAAE,0CAA0C;YACvD,oBAAoB,EAAE,IAAI;SAC3B;QACD,OAAO,EAAE,MAAM;QACf,QAAQ,EAAE;YACR,uBAAuB,EACrB,yFAAyF;YAC3F,kBAAkB,EAChB,wFAAwF;YAC1F,aAAa,EACX,2EAA2E;SAC9E;QACD,MAAM,EAAE;YACN;gBACE,IAAI,EAAE,QAAQ;gBACd,oBAAoB,EAAE,KAAK;gBAC3B,UAAU,EAAE;oBACV,sCAAsC,EAAE;wBACtC,IAAI,EAAE,SAAS;wBACf,WAAW,EACT,qFAAqF;qBACxF;iBACF;aACF;SACF;KACF;IACD,cAAc,EAAE;QACd;YACE,sCAAsC,EAAE,KAAK;SAC9C;KACF;IAED,MAAM,CAAC,OAAO,EAAE,CAAC,EAAE,sCAAsC,EAAE,CAAC;QAC1D,MAAM,gBAAgB,GAAkC,EAAE,CAAC;QAC3D,MAAM,QAAQ,GAAG,IAAA,wBAAiB,EAAC,OAAO,CAAC,CAAC;QAC5C,MAAM,OAAO,GAAG,QAAQ,CAAC,OAAO,CAAC,cAAc,EAAE,CAAC;QAElD;;;;;;WAMG;QACH,SAAS,iBAAiB,CACxB,MAA6B;YAE7B,IAAI,CAAC,MAAM,EAAE,CAAC;gBACZ,OAAO,SAAS,CAAC;YACnB,CAAC;YAED,MAAM,aAAa,GAAG,OAAO,CAAC,eAAe,CAC3C,MAAM,EACN,EAAE,CAAC,WAAW,CAAC,KAAK,CACrB;gBACC,CAAC,CAAC,OAAO,CAAC,gBAAgB,CAAC,MAAM,CAAC;gBAClC,CAAC,CAAC,MAAM,CAAC;YAEX,IAAI,OAAO,CAAC,eAAe,CAAC,aAAa,CAAC,EAAE,CAAC;gBAC3C,OAAO,SAAS,CAAC;YACnB,CAAC;YAED,OAAO,CAAC,CAAC,aAAa,CAAC,KAAK,GAAG,EAAE,CAAC,WAAW,CAAC,KAAK,CAAC,CAAC;QACvD,CAAC;QAED,OAAO;YACL,oBAAoB,CAAC,IAAI;gBACvB,IAAI,IAAI,CAAC,UAAU,KAAK,MAAM,EAAE,CAAC;oBAC/B,OAAO;gBACT,CAAC;gBAED,MAAM,YAAY,GAAG,EAAE,CAAC,iBAAiB,CACvC,IAAI,CAAC,MAAM,CAAC,KAAK,EACjB,OAAO,CAAC,QAAQ,EAChB,QAAQ,CAAC,OAAO,CAAC,kBAAkB,EAAE,EACrC,EAAE,CAAC,GAAG,CACP,CAAC;gBACF,IAAI,YAAY,CAAC,cAAc,IAAI,IAAI,EAAE,CAAC;oBACxC,OAAO;gBACT,CAAC;gBACD,MAAM,UAAU,GAAG,QAAQ,CAAC,OAAO,CAAC,aAAa,CAC/C,YAAY,CAAC,cAAc,CAAC,gBAAgB,CAC7C,CAAC;gBACF,IAAI,UAAU,IAAI,IAAI,EAAE,CAAC;oBACvB,OAAO;gBACT,CAAC;gBACD,MAAM,gBAAgB,GAAG,OAAO,CAAC,mBAAmB,CAAC,UAAU,CAAC,CAAC;gBACjE,IAAI,gBAAgB,IAAI,IAAI,EAAE,CAAC;oBAC7B,OAAO;gBACT,CAAC;gBAED,MAAM,cAAc,GAAG,OAAO,CAAC,eAAe,CAAC,gBAAgB,CAAC,CAAC;gBACjE,uEAAuE;gBACvE,mEAAmE;gBACnE,iEAAiE;gBACjE,4BAA4B;gBAC5B,EAAE;gBACF,4DAA4D;gBAC5D,kDAAkD;gBAClD,4DAA4D;gBAC5D,EAAE;gBACF,oEAAoE;gBACpE,uEAAuE;gBACvE,sEAAsE;gBACtE,kEAAkE;gBAClE,6DAA6D;gBAC7D,EAAE;gBACF,wEAAwE;gBACxE,uEAAuE;gBACvE,8DAA8D;gBAC9D,8DAA8D;gBAC9D,MAAM,uBAAuB,GAAG,OAAO;qBACpC,mBAAmB,CAAC,cAAc,CAAC;qBACnC,IAAI,CACH,kBAAkB,CAAC,EAAE,CACnB,OAAO,CAAC,iBAAiB,CACvB,cAAc,EACd,kBAAkB,CAAC,WAAW,CAAC,QAAQ,EAAE,CAC1C,IAAI,IAAI,CACZ,CAAC;gBACJ,IAAI,uBAAuB,EAAE,CAAC;oBAC5B,OAAO;gBACT,CAAC;gBAED,OAAO,CAAC,MAAM,CAAC;oBACb,IAAI;oBACJ,SAAS,EAAE,eAAe;oBAC1B,GAAG,CAAC,KAAK;wBACP,MAAM,aAAa,GAAG,IAAA,iBAAU,EAC9B,OAAO,CAAC,UAAU,CAAC,aAAa,CAC9B,IAAI,EACJ,KAAK,CAAC,EAAE,CACN,KAAK,CAAC,IAAI,KAAK,uBAAe,CAAC,UAAU;4BACzC,KAAK,CAAC,KAAK,KAAK,GAAG,CACtB,EACD,wBAAiB,CAAC,YAAY,CAC5B,UAAU,EACV,wBAAwB,CACzB,CACF,CAAC;wBAEF,OAAO,KAAK,CAAC,gBAAgB,CAAC,aAAa,EAAE,OAAO,CAAC,CAAC;oBACxD,CAAC;iBACF,CAAC,CAAC;YACL,CAAC;YACD,sBAAsB,CAAC,IAAqC;gBAC1D,6DAA6D;gBAC7D,MAAM,MAAM,GAAG,mBAAmB,CAAC,IAAI,CAAC,IAAI,WAAW,CAAC;gBACxD,uEAAuE;gBACvE,MAAM,aAAa,GAAG,CAAC,gBAAgB,CAAC,MAAM,CAAC,KAAK;oBAClD,kBAAkB,EAAE,EAAE;oBACtB,MAAM;oBACN,mBAAmB,EAAE,IAAI;oBACzB,oBAAoB,EAAE,IAAI;iBAC3B,CAAC,CAAC;gBAEH,4EAA4E;gBAC5E,gDAAgD;gBAChD,IAAI,IAAI,CAAC,UAAU,KAAK,MAAM,EAAE,CAAC;oBAC/B,IAAI,aAAa,CAAC,mBAAmB,IAAI,IAAI,EAAE,CAAC;wBAC9C,8BAA8B;wBAC9B,aAAa,CAAC,mBAAmB,GAAG,IAAI,CAAC;oBAC3C,CAAC;gBACH,CAAC;qBAAM,IAAI,aAAa,CAAC,oBAAoB,IAAI,IAAI,EAAE,CAAC;oBACtD,+BAA+B;oBAC/B,aAAa,CAAC,oBAAoB,GAAG,IAAI,CAAC;gBAC5C,CAAC;gBAED,uEAAuE;gBACvE,MAAM,mBAAmB,GAA+B,EAAE,CAAC;gBAC3D,MAAM,oBAAoB,GAA+B,EAAE,CAAC;gBAC5D,MAAM,eAAe,GAA+B,EAAE,CAAC;gBAEvD,8EAA8E;gBAC9E,4BAA4B;gBAC5B,IAAI,IAAI,CAAC,UAAU,KAAK,MAAM,EAAE,CAAC;oBAC/B,KAAK,MAAM,SAAS,IAAI,IAAI,CAAC,UAAU,EAAE,CAAC;wBACxC,IAAI,SAAS,CAAC,UAAU,KAAK,MAAM,EAAE,CAAC;4BACpC,oBAAoB,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC;4BACrC,SAAS;wBACX,CAAC;wBAED,MAAM,WAAW,GAAG,iBAAiB,CACnC,QAAQ,CAAC,mBAAmB,CAAC,SAAS,CAAC,QAAQ,CAAC,CACjD,CAAC;wBAEF,IAAI,WAAW,KAAK,IAAI,EAAE,CAAC;4BACzB,mBAAmB,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC;wBACtC,CAAC;6BAAM,IAAI,WAAW,KAAK,KAAK,EAAE,CAAC;4BACjC,iEAAiE;4BACjE,eAAe,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC;wBAClC,CAAC;oBACH,CAAC;gBACH,CAAC;gBAED,IACE,CAAC,IAAI,CAAC,UAAU,KAAK,OAAO,IAAI,mBAAmB,CAAC,MAAM,CAAC;oBAC3D,CAAC,IAAI,CAAC,UAAU,KAAK,MAAM,IAAI,eAAe,CAAC,MAAM,CAAC,EACtD,CAAC;oBACD,aAAa,CAAC,kBAAkB,CAAC,IAAI,CAAC;wBACpC,IAAI;wBACJ,oBAAoB;wBACpB,mBAAmB;wBACnB,eAAe;qBAChB,CAAC,CAAC;gBACL,CAAC;YACH,CAAC;YAED,cAAc;gBACZ,KAAK,MAAM,aAAa,IAAI,MAAM,CAAC,MAAM,CAAC,gBAAgB,CAAC,EAAE,CAAC;oBAC5D,yCAAyC;oBACzC,IAAI,aAAa,CAAC,kBAAkB,CAAC,MAAM,KAAK,CAAC,EAAE,CAAC;wBAClD,SAAS;oBACX,CAAC;oBAED,KAAK,MAAM,MAAM,IAAI,aAAa,CAAC,kBAAkB,EAAE,CAAC;wBACtD,IAAI,MAAM,CAAC,eAAe,CAAC,MAAM,KAAK,CAAC,EAAE,CAAC;4BACxC,+FAA+F;4BAC/F,OAAO,CAAC,MAAM,CAAC;gCACb,IAAI,EAAE,MAAM,CAAC,IAAI;gCACjB,SAAS,EAAE,eAAe;gCAC1B,CAAC,GAAG,CAAC,KAAK;oCACR,KAAK,CAAC,CAAC,mBAAmB,CACxB,KAAK,EACL,OAAO,CAAC,UAAU,EAClB,MAAM,CAAC,IAAI,CACZ,CAAC;gCACJ,CAAC;6BACF,CAAC,CAAC;4BACH,SAAS;wBACX,CAAC;wBAED,0CAA0C;wBAC1C,MAAM,cAAc,GAAG,MAAM,CAAC,mBAAmB,CAAC,GAAG,CAAC,SAAS,CAAC,EAAE,CAChE,SAAS,CAAC,KAAK,CAAC,IAAI,KAAK,sBAAc,CAAC,UAAU;4BAChD,CAAC,CAAC,SAAS,CAAC,KAAK,CAAC,IAAI;4BACtB,CAAC,CAAC,SAAS,CAAC,KAAK,CAAC,KAAK,CAC1B,CAAC;wBAEF,IAAI,cAAc,CAAC,MAAM,KAAK,CAAC,EAAE,CAAC;4BAChC,MAAM,WAAW,GAAG,cAAc,CAAC,CAAC,CAAC,CAAC;4BAEtC,OAAO,CAAC,MAAM,CAAC;gCACb,IAAI,EAAE,MAAM,CAAC,IAAI;gCACjB,SAAS,EAAE,oBAAoB;gCAC/B,IAAI,EAAE,EAAE,WAAW,EAAE;gCACrB,CAAC,GAAG,CAAC,KAAK;oCACR,IAAI,sCAAsC,EAAE,CAAC;wCAC3C,KAAK,CAAC,CAAC,iCAAiC,CAAC,KAAK,EAAE,MAAM,CAAC,CAAC;oCAC1D,CAAC;yCAAM,CAAC;wCACN,KAAK,CAAC,CAAC,uBAAuB,CAC5B,KAAK,EACL,OAAO,CAAC,UAAU,EAClB,MAAM,CACP,CAAC;oCACJ,CAAC;gCACH,CAAC;6BACF,CAAC,CAAC;wBACL,CAAC;6BAAM,CAAC;4BACN,MAAM,WAAW,GAAG,IAAA,qBAAc,EAAC,cAAc,CAAC,CAAC;4BAEnD,OAAO,CAAC,MAAM,CAAC;gCACb,IAAI,EAAE,MAAM,CAAC,IAAI;gCACjB,SAAS,EAAE,yBAAyB;gCACpC,IAAI,EAAE,EAAE,WAAW,EAAE;gCACrB,CAAC,GAAG,CAAC,KAAK;oCACR,IAAI,sCAAsC,EAAE,CAAC;wCAC3C,KAAK,CAAC,CAAC,iCAAiC,CAAC,KAAK,EAAE,MAAM,CAAC,CAAC;oCAC1D,CAAC;yCAAM,CAAC;wCACN,KAAK,CAAC,CAAC,uBAAuB,CAC5B,KAAK,EACL,OAAO,CAAC,UAAU,EAClB,MAAM,CACP,CAAC;oCACJ,CAAC;gCACH,CAAC;6BACF,CAAC,CAAC;wBACL,CAAC;oBACH,CAAC;gBACH,CAAC;YACH,CAAC;SACF,CAAC;IACJ,CAAC;CACF,CAAC,CAAC;AAEH;;;;;;;GAOG;AACH,QAAQ,CAAC,CAAC,mBAAmB,CAC3B,KAAyB,EACzB,UAAyC,EACzC,IAAqC;IAErC,MAAM,WAAW,GAAG,IAAA,iBAAU,EAC5B,UAAU,CAAC,aAAa,CAAC,IAAI,CAAC,EAC9B,wBAAiB,CAAC,YAAY,CAAC,QAAQ,EAAE,IAAI,CAAC,IAAI,CAAC,CACpD,CAAC;IAEF,MAAM,KAAK,CAAC,eAAe,CAAC,WAAW,EAAE,OAAO,CAAC,CAAC;IAElD,KAAK,MAAM,SAAS,IAAI,IAAI,CAAC,UAAU,EAAE,CAAC;QACxC,IAAI,SAAS,CAAC,UAAU,KAAK,MAAM,EAAE,CAAC;YACpC,MAAM,SAAS,GAAG,IAAA,iBAAU,EAC1B,UAAU,CAAC,aAAa,CAAC,SAAS,CAAC,EACnC,wBAAiB,CAAC,YAAY,CAAC,QAAQ,EAAE,SAAS,CAAC,IAAI,CAAC,CACzD,CAAC;YACF,MAAM,eAAe,GAAG,IAAA,iBAAU,EAChC,UAAU,CAAC,aAAa,CAAC,SAAS,EAAE;gBAClC,eAAe,EAAE,IAAI;aACtB,CAAC,EACF,0CAA0C,CAC3C,CAAC;YAEF,MAAM,KAAK,CAAC,WAAW,CAAC,CAAC,SAAS,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,eAAe,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAC1E,CAAC;IACH,CAAC;AACH,CAAC;AAED;;;;GAIG;AACH,QAAQ,CAAC,CAAC,uBAAuB,CAC/B,KAAyB,EACzB,UAAyC,EACzC,MAAyB;IAEzB,MAAM,EAAE,IAAI,EAAE,oBAAoB,EAAE,mBAAmB,EAAE,eAAe,EAAE,GACxE,MAAM,CAAC;IACT,MAAM,cAAc,GAAG,CAAC,GAAG,mBAAmB,EAAE,GAAG,oBAAoB,CAAC,CAAC;IACzE,MAAM,MAAM,GAAG,mBAAmB,CAAC,IAAI,CAAC,CAAC;IACzC,MAAM,cAAc,GAAG,cAAc,CAAC,GAAG,CAAC,gBAAgB,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;IAEvE,MAAM,WAAW,GAAG,IAAA,iBAAU,EAC5B,UAAU,CAAC,aAAa,CAAC,IAAI,CAAC,EAC9B,wBAAiB,CAAC,YAAY,CAAC,QAAQ,EAAE,IAAI,CAAC,IAAI,CAAC,CACpD,CAAC;IAEF,gDAAgD;IAChD,MAAM,sBAAsB,GAAG,eAAe;SAC3C,GAAG,CAAC,gBAAgB,CAAC;SACrB,IAAI,CAAC,IAAI,CAAC,CAAC;IACd,MAAM,SAAS,GAAG,IAAA,iBAAU,EAC1B,UAAU,CAAC,aAAa,CAAC,IAAI,EAAE,0BAAmB,CAAC,EACnD,wBAAiB,CAAC,YAAY,CAAC,GAAG,EAAE,IAAI,CAAC,IAAI,CAAC,CAC/C,CAAC;IACF,MAAM,UAAU,GAAG,IAAA,iBAAU,EAC3B,UAAU,CAAC,YAAY,CAAC,IAAI,EAAE,0BAAmB,CAAC,EAClD,wBAAiB,CAAC,YAAY,CAAC,GAAG,EAAE,IAAI,CAAC,IAAI,CAAC,CAC/C,CAAC;IAEF,uEAAuE;IACvE,MAAM,KAAK,CAAC,gBAAgB,CAC1B,CAAC,SAAS,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,UAAU,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EACzC,IAAI,sBAAsB,GAAG,CAC9B,CAAC;IAEF,uDAAuD;IACvD,MAAM,KAAK,CAAC,gBAAgB,CAC1B,WAAW,EACX,iBAAiB,cAAc,KAAK,MAAM,CAAC,CAAC,CAAC,UAAU,MAAM,GAAG,CAAC,CAAC,CAAC,EAAE,KAAK,CAC3E,CAAC;AACJ,CAAC;AAED,QAAQ,CAAC,CAAC,iCAAiC,CACzC,KAAyB,EACzB,MAAyB;IAEzB,IAAI,MAAM,CAAC,IAAI,CAAC,UAAU,KAAK,MAAM,EAAE,CAAC;QACtC,OAAO;IACT,CAAC;IAED,KAAK,MAAM,SAAS,IAAI,MAAM,CAAC,mBAAmB,EAAE,CAAC;QACnD,MAAM,KAAK,CAAC,gBAAgB,CAAC,SAAS,EAAE,OAAO,CAAC,CAAC;IACnD,CAAC;AACH,CAAC;AAED;;GAEG;AACH,SAAS,mBAAmB,CAC1B,IAAqC;IAErC,IACE,IAAI,CAAC,MAAM,EAAE,IAAI,KAAK,sBAAc,CAAC,OAAO;QAC5C,OAAO,IAAI,CAAC,MAAM,CAAC,KAAK,KAAK,QAAQ,EACrC,CAAC;QACD,OAAO,IAAI,CAAC,MAAM,CAAC,KAAK,CAAC;IAC3B,CAAC;IAED,OAAO,SAAS,CAAC;AACnB,CAAC;AAED;;;GAGG;AACH,SAAS,gBAAgB,CAAC,SAAmC;IAC3D,MAAM,YAAY,GAChB,SAAS,CAAC,QAAQ,CAAC,IAAI,KAAK,sBAAc,CAAC,OAAO;QAChD,CAAC,CAAC,SAAS,CAAC,QAAQ,CAAC,GAAG;QACxB,CAAC,CAAC,SAAS,CAAC,QAAQ,CAAC,IAAI,CAAC;IAC9B,MAAM,SAAS,GACb,SAAS,CAAC,KAAK,CAAC,IAAI,KAAK,sBAAc,CAAC,OAAO;QAC7C,CAAC,CAAC,SAAS,CAAC,KAAK,CAAC,GAAG;QACrB,CAAC,CAAC,SAAS,CAAC,KAAK,CAAC,IAAI,CAAC;IAE3B,OAAO,GAAG,SAAS,GACjB,YAAY,KAAK,SAAS,CAAC,CAAC,CAAC,OAAO,YAAY,EAAE,CAAC,CAAC,CAAC,EACvD,EAAE,CAAC;AACL,CAAC"} \ No newline at end of file +{"version":3,"file":"consistent-type-exports.js","sourceRoot":"","sources":["../../src/rules/consistent-type-exports.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEA,oDAA2E;AAC3E,sDAAwC;AACxC,+CAAiC;AAEjC,kCAQiB;AA2BjB,kBAAe,IAAA,iBAAU,EAAsB;IAC7C,IAAI,EAAE,yBAAyB;IAC/B,IAAI,EAAE;QACJ,IAAI,EAAE,YAAY;QAClB,IAAI,EAAE;YACJ,WAAW,EAAE,0CAA0C;YACvD,oBAAoB,EAAE,IAAI;SAC3B;QACD,OAAO,EAAE,MAAM;QACf,QAAQ,EAAE;YACR,uBAAuB,EACrB,yFAAyF;YAC3F,kBAAkB,EAChB,wFAAwF;YAC1F,aAAa,EACX,2EAA2E;SAC9E;QACD,MAAM,EAAE;YACN;gBACE,IAAI,EAAE,QAAQ;gBACd,oBAAoB,EAAE,KAAK;gBAC3B,UAAU,EAAE;oBACV,sCAAsC,EAAE;wBACtC,IAAI,EAAE,SAAS;wBACf,WAAW,EACT,qFAAqF;qBACxF;iBACF;aACF;SACF;KACF;IACD,cAAc,EAAE;QACd;YACE,sCAAsC,EAAE,KAAK;SAC9C;KACF;IAED,MAAM,CAAC,OAAO,EAAE,CAAC,EAAE,sCAAsC,EAAE,CAAC;QAC1D,MAAM,gBAAgB,GAAkC,EAAE,CAAC;QAC3D,MAAM,QAAQ,GAAG,IAAA,wBAAiB,EAAC,OAAO,CAAC,CAAC;QAC5C,MAAM,OAAO,GAAG,QAAQ,CAAC,OAAO,CAAC,cAAc,EAAE,CAAC;QAElD;;;;;;WAMG;QACH,SAAS,iBAAiB,CACxB,MAA6B;YAE7B,IAAI,CAAC,MAAM,EAAE,CAAC;gBACZ,OAAO,SAAS,CAAC;YACnB,CAAC;YAED,MAAM,aAAa,GAAG,OAAO,CAAC,eAAe,CAC3C,MAAM,EACN,EAAE,CAAC,WAAW,CAAC,KAAK,CACrB;gBACC,CAAC,CAAC,OAAO,CAAC,gBAAgB,CAAC,MAAM,CAAC;gBAClC,CAAC,CAAC,MAAM,CAAC;YAEX,IAAI,OAAO,CAAC,eAAe,CAAC,aAAa,CAAC,EAAE,CAAC;gBAC3C,OAAO,SAAS,CAAC;YACnB,CAAC;YAED,OAAO,CAAC,CAAC,aAAa,CAAC,KAAK,GAAG,EAAE,CAAC,WAAW,CAAC,KAAK,CAAC,CAAC;QACvD,CAAC;QAED,OAAO;YACL,oBAAoB,CAAC,IAAI;gBACvB,IAAI,IAAI,CAAC,UAAU,KAAK,MAAM,EAAE,CAAC;oBAC/B,OAAO;gBACT,CAAC;gBAED,MAAM,YAAY,GAAG,EAAE,CAAC,iBAAiB,CACvC,IAAI,CAAC,MAAM,CAAC,KAAK,EACjB,OAAO,CAAC,QAAQ,EAChB,QAAQ,CAAC,OAAO,CAAC,kBAAkB,EAAE,EACrC,EAAE,CAAC,GAAG,CACP,CAAC;gBACF,IAAI,YAAY,CAAC,cAAc,IAAI,IAAI,EAAE,CAAC;oBACxC,OAAO;gBACT,CAAC;gBACD,MAAM,UAAU,GAAG,QAAQ,CAAC,OAAO,CAAC,aAAa,CAC/C,YAAY,CAAC,cAAc,CAAC,gBAAgB,CAC7C,CAAC;gBACF,IAAI,UAAU,IAAI,IAAI,EAAE,CAAC;oBACvB,OAAO;gBACT,CAAC;gBACD,MAAM,gBAAgB,GAAG,OAAO,CAAC,mBAAmB,CAAC,UAAU,CAAC,CAAC;gBACjE,IAAI,gBAAgB,IAAI,IAAI,EAAE,CAAC;oBAC7B,OAAO;gBACT,CAAC;gBAED,MAAM,cAAc,GAAG,OAAO,CAAC,eAAe,CAAC,gBAAgB,CAAC,CAAC;gBACjE,uEAAuE;gBACvE,mEAAmE;gBACnE,iEAAiE;gBACjE,4BAA4B;gBAC5B,EAAE;gBACF,4DAA4D;gBAC5D,kDAAkD;gBAClD,4DAA4D;gBAC5D,EAAE;gBACF,oEAAoE;gBACpE,uEAAuE;gBACvE,sEAAsE;gBACtE,kEAAkE;gBAClE,6DAA6D;gBAC7D,EAAE;gBACF,wEAAwE;gBACxE,uEAAuE;gBACvE,8DAA8D;gBAC9D,8DAA8D;gBAC9D,MAAM,uBAAuB,GAAG,OAAO;qBACpC,mBAAmB,CAAC,cAAc,CAAC;qBACnC,IAAI,CACH,kBAAkB,CAAC,EAAE,CACnB,OAAO,CAAC,iBAAiB,CACvB,cAAc,EACd,kBAAkB,CAAC,WAAW,CAAC,QAAQ,EAAE,CAC1C,IAAI,IAAI,CACZ,CAAC;gBACJ,IAAI,uBAAuB,EAAE,CAAC;oBAC5B,OAAO;gBACT,CAAC;gBAED,OAAO,CAAC,MAAM,CAAC;oBACb,IAAI;oBACJ,SAAS,EAAE,eAAe;oBAC1B,GAAG,CAAC,KAAK;wBACP,MAAM,aAAa,GAAG,IAAA,iBAAU,EAC9B,OAAO,CAAC,UAAU,CAAC,aAAa,CAC9B,IAAI,EACJ,KAAK,CAAC,EAAE,CACN,KAAK,CAAC,IAAI,KAAK,uBAAe,CAAC,UAAU;4BACzC,KAAK,CAAC,KAAK,KAAK,GAAG,CACtB,EACD,wBAAiB,CAAC,YAAY,CAC5B,UAAU,EACV,wBAAwB,CACzB,CACF,CAAC;wBAEF,OAAO,KAAK,CAAC,gBAAgB,CAAC,aAAa,EAAE,OAAO,CAAC,CAAC;oBACxD,CAAC;iBACF,CAAC,CAAC;YACL,CAAC;YACD,sBAAsB,CAAC,IAAqC;gBAC1D,6DAA6D;gBAC7D,MAAM,MAAM,GAAG,mBAAmB,CAAC,IAAI,CAAC,IAAI,WAAW,CAAC;gBACxD,uEAAuE;gBACvE,MAAM,aAAa,GAAG,CAAC,gBAAgB,CAAC,MAAM,CAAC,KAAK;oBAClD,kBAAkB,EAAE,EAAE;oBACtB,MAAM;oBACN,mBAAmB,EAAE,IAAI;oBACzB,oBAAoB,EAAE,IAAI;iBAC3B,CAAC,CAAC;gBAEH,4EAA4E;gBAC5E,gDAAgD;gBAChD,IAAI,IAAI,CAAC,UAAU,KAAK,MAAM,EAAE,CAAC;oBAC/B,IAAI,aAAa,CAAC,mBAAmB,IAAI,IAAI,EAAE,CAAC;wBAC9C,8BAA8B;wBAC9B,aAAa,CAAC,mBAAmB,GAAG,IAAI,CAAC;oBAC3C,CAAC;gBACH,CAAC;qBAAM,IAAI,aAAa,CAAC,oBAAoB,IAAI,IAAI,EAAE,CAAC;oBACtD,+BAA+B;oBAC/B,aAAa,CAAC,oBAAoB,GAAG,IAAI,CAAC;gBAC5C,CAAC;gBAED,uEAAuE;gBACvE,MAAM,mBAAmB,GAA+B,EAAE,CAAC;gBAC3D,MAAM,oBAAoB,GAA+B,EAAE,CAAC;gBAC5D,MAAM,eAAe,GAA+B,EAAE,CAAC;gBAEvD,8EAA8E;gBAC9E,4BAA4B;gBAC5B,IAAI,IAAI,CAAC,UAAU,KAAK,MAAM,EAAE,CAAC;oBAC/B,KAAK,MAAM,SAAS,IAAI,IAAI,CAAC,UAAU,EAAE,CAAC;wBACxC,IAAI,SAAS,CAAC,UAAU,KAAK,MAAM,EAAE,CAAC;4BACpC,oBAAoB,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC;4BACrC,SAAS;wBACX,CAAC;wBAED,MAAM,WAAW,GAAG,iBAAiB,CACnC,QAAQ,CAAC,mBAAmB,CAAC,SAAS,CAAC,QAAQ,CAAC,CACjD,CAAC;wBAEF,IAAI,WAAW,KAAK,IAAI,EAAE,CAAC;4BACzB,mBAAmB,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC;wBACtC,CAAC;6BAAM,IAAI,WAAW,KAAK,KAAK,EAAE,CAAC;4BACjC,iEAAiE;4BACjE,eAAe,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC;wBAClC,CAAC;oBACH,CAAC;gBACH,CAAC;gBAED,IACE,CAAC,IAAI,CAAC,UAAU,KAAK,OAAO,IAAI,mBAAmB,CAAC,MAAM,CAAC;oBAC3D,CAAC,IAAI,CAAC,UAAU,KAAK,MAAM,IAAI,eAAe,CAAC,MAAM,CAAC,EACtD,CAAC;oBACD,aAAa,CAAC,kBAAkB,CAAC,IAAI,CAAC;wBACpC,IAAI;wBACJ,oBAAoB;wBACpB,mBAAmB;wBACnB,eAAe;qBAChB,CAAC,CAAC;gBACL,CAAC;YACH,CAAC;YAED,cAAc;gBACZ,KAAK,MAAM,aAAa,IAAI,MAAM,CAAC,MAAM,CAAC,gBAAgB,CAAC,EAAE,CAAC;oBAC5D,yCAAyC;oBACzC,IAAI,aAAa,CAAC,kBAAkB,CAAC,MAAM,KAAK,CAAC,EAAE,CAAC;wBAClD,SAAS;oBACX,CAAC;oBAED,KAAK,MAAM,MAAM,IAAI,aAAa,CAAC,kBAAkB,EAAE,CAAC;wBACtD,IAAI,MAAM,CAAC,eAAe,CAAC,MAAM,KAAK,CAAC,EAAE,CAAC;4BACxC,+FAA+F;4BAC/F,OAAO,CAAC,MAAM,CAAC;gCACb,IAAI,EAAE,MAAM,CAAC,IAAI;gCACjB,SAAS,EAAE,eAAe;gCAC1B,CAAC,GAAG,CAAC,KAAK;oCACR,KAAK,CAAC,CAAC,mBAAmB,CACxB,KAAK,EACL,OAAO,CAAC,UAAU,EAClB,MAAM,CAAC,IAAI,CACZ,CAAC;gCACJ,CAAC;6BACF,CAAC,CAAC;4BACH,SAAS;wBACX,CAAC;wBAED,0CAA0C;wBAC1C,MAAM,cAAc,GAAG,MAAM,CAAC,mBAAmB,CAAC,GAAG,CAAC,SAAS,CAAC,EAAE,CAChE,SAAS,CAAC,KAAK,CAAC,IAAI,KAAK,sBAAc,CAAC,UAAU;4BAChD,CAAC,CAAC,SAAS,CAAC,KAAK,CAAC,IAAI;4BACtB,CAAC,CAAC,SAAS,CAAC,KAAK,CAAC,KAAK,CAC1B,CAAC;wBAEF,IAAI,cAAc,CAAC,MAAM,KAAK,CAAC,EAAE,CAAC;4BAChC,MAAM,WAAW,GAAG,cAAc,CAAC,CAAC,CAAC,CAAC;4BAEtC,OAAO,CAAC,MAAM,CAAC;gCACb,IAAI,EAAE,MAAM,CAAC,IAAI;gCACjB,SAAS,EAAE,oBAAoB;gCAC/B,IAAI,EAAE,EAAE,WAAW,EAAE;gCACrB,CAAC,GAAG,CAAC,KAAK;oCACR,IAAI,sCAAsC,EAAE,CAAC;wCAC3C,KAAK,CAAC,CAAC,iCAAiC,CAAC,KAAK,EAAE,MAAM,CAAC,CAAC;oCAC1D,CAAC;yCAAM,CAAC;wCACN,KAAK,CAAC,CAAC,uBAAuB,CAC5B,KAAK,EACL,OAAO,CAAC,UAAU,EAClB,MAAM,CACP,CAAC;oCACJ,CAAC;gCACH,CAAC;6BACF,CAAC,CAAC;wBACL,CAAC;6BAAM,CAAC;4BACN,MAAM,WAAW,GAAG,IAAA,qBAAc,EAAC,cAAc,CAAC,CAAC;4BAEnD,OAAO,CAAC,MAAM,CAAC;gCACb,IAAI,EAAE,MAAM,CAAC,IAAI;gCACjB,SAAS,EAAE,yBAAyB;gCACpC,IAAI,EAAE,EAAE,WAAW,EAAE;gCACrB,CAAC,GAAG,CAAC,KAAK;oCACR,IAAI,sCAAsC,EAAE,CAAC;wCAC3C,KAAK,CAAC,CAAC,iCAAiC,CAAC,KAAK,EAAE,MAAM,CAAC,CAAC;oCAC1D,CAAC;yCAAM,CAAC;wCACN,KAAK,CAAC,CAAC,uBAAuB,CAC5B,KAAK,EACL,OAAO,CAAC,UAAU,EAClB,MAAM,CACP,CAAC;oCACJ,CAAC;gCACH,CAAC;6BACF,CAAC,CAAC;wBACL,CAAC;oBACH,CAAC;gBACH,CAAC;YACH,CAAC;SACF,CAAC;IACJ,CAAC;CACF,CAAC,CAAC;AAEH;;;;;;;GAOG;AACH,QAAQ,CAAC,CAAC,mBAAmB,CAC3B,KAAyB,EACzB,UAAyC,EACzC,IAAqC;IAErC,MAAM,WAAW,GAAG,IAAA,iBAAU,EAC5B,UAAU,CAAC,aAAa,CAAC,IAAI,CAAC,EAC9B,wBAAiB,CAAC,YAAY,CAAC,QAAQ,EAAE,IAAI,CAAC,IAAI,CAAC,CACpD,CAAC;IAEF,MAAM,KAAK,CAAC,eAAe,CAAC,WAAW,EAAE,OAAO,CAAC,CAAC;IAElD,KAAK,MAAM,SAAS,IAAI,IAAI,CAAC,UAAU,EAAE,CAAC;QACxC,IAAI,SAAS,CAAC,UAAU,KAAK,MAAM,EAAE,CAAC;YACpC,MAAM,SAAS,GAAG,IAAA,iBAAU,EAC1B,UAAU,CAAC,aAAa,CAAC,SAAS,CAAC,EACnC,wBAAiB,CAAC,YAAY,CAAC,QAAQ,EAAE,SAAS,CAAC,IAAI,CAAC,CACzD,CAAC;YACF,MAAM,eAAe,GAAG,IAAA,iBAAU,EAChC,UAAU,CAAC,aAAa,CAAC,SAAS,EAAE;gBAClC,eAAe,EAAE,IAAI;aACtB,CAAC,EACF,0CAA0C,CAC3C,CAAC;YAEF,MAAM,KAAK,CAAC,WAAW,CAAC,CAAC,SAAS,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,eAAe,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAC1E,CAAC;IACH,CAAC;AACH,CAAC;AAED;;;;GAIG;AACH,QAAQ,CAAC,CAAC,uBAAuB,CAC/B,KAAyB,EACzB,UAAyC,EACzC,MAAyB;IAEzB,MAAM,EAAE,IAAI,EAAE,oBAAoB,EAAE,mBAAmB,EAAE,eAAe,EAAE,GACxE,MAAM,CAAC;IACT,MAAM,cAAc,GAAG,CAAC,GAAG,mBAAmB,EAAE,GAAG,oBAAoB,CAAC,CAAC;IACzE,MAAM,MAAM,GAAG,mBAAmB,CAAC,IAAI,CAAC,CAAC;IACzC,MAAM,cAAc,GAAG,cAAc,CAAC,GAAG,CAAC,gBAAgB,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;IAEvE,MAAM,WAAW,GAAG,IAAA,iBAAU,EAC5B,UAAU,CAAC,aAAa,CAAC,IAAI,CAAC,EAC9B,wBAAiB,CAAC,YAAY,CAAC,QAAQ,EAAE,IAAI,CAAC,IAAI,CAAC,CACpD,CAAC;IAEF,gDAAgD;IAChD,MAAM,sBAAsB,GAAG,eAAe;SAC3C,GAAG,CAAC,gBAAgB,CAAC;SACrB,IAAI,CAAC,IAAI,CAAC,CAAC;IACd,MAAM,SAAS,GAAG,IAAA,iBAAU,EAC1B,UAAU,CAAC,aAAa,CAAC,IAAI,EAAE,0BAAmB,CAAC,EACnD,wBAAiB,CAAC,YAAY,CAAC,GAAG,EAAE,IAAI,CAAC,IAAI,CAAC,CAC/C,CAAC;IACF,MAAM,UAAU,GAAG,IAAA,iBAAU,EAC3B,UAAU,CAAC,YAAY,CAAC,IAAI,EAAE,0BAAmB,CAAC,EAClD,wBAAiB,CAAC,YAAY,CAAC,GAAG,EAAE,IAAI,CAAC,IAAI,CAAC,CAC/C,CAAC;IAEF,uEAAuE;IACvE,MAAM,KAAK,CAAC,gBAAgB,CAC1B,CAAC,SAAS,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,UAAU,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EACzC,IAAI,sBAAsB,GAAG,CAC9B,CAAC;IAEF,uDAAuD;IACvD,MAAM,KAAK,CAAC,gBAAgB,CAC1B,WAAW,EACX,iBAAiB,cAAc,KAAK,MAAM,CAAC,CAAC,CAAC,UAAU,MAAM,GAAG,CAAC,CAAC,CAAC,EAAE,KAAK,CAC3E,CAAC;AACJ,CAAC;AAED,QAAQ,CAAC,CAAC,iCAAiC,CACzC,KAAyB,EACzB,MAAyB;IAEzB,IAAI,MAAM,CAAC,IAAI,CAAC,UAAU,KAAK,MAAM,EAAE,CAAC;QACtC,OAAO;IACT,CAAC;IAED,KAAK,MAAM,SAAS,IAAI,MAAM,CAAC,mBAAmB,EAAE,CAAC;QACnD,MAAM,KAAK,CAAC,gBAAgB,CAAC,SAAS,EAAE,OAAO,CAAC,CAAC;IACnD,CAAC;AACH,CAAC;AAED;;GAEG;AACH,SAAS,mBAAmB,CAC1B,IAAqC;IAErC,IACE,IAAI,CAAC,MAAM,EAAE,IAAI,KAAK,sBAAc,CAAC,OAAO;QAC5C,OAAO,IAAI,CAAC,MAAM,CAAC,KAAK,KAAK,QAAQ,EACrC,CAAC;QACD,OAAO,IAAI,CAAC,MAAM,CAAC,KAAK,CAAC;IAC3B,CAAC;IAED,OAAO,SAAS,CAAC;AACnB,CAAC;AAED;;;GAGG;AACH,SAAS,gBAAgB,CAAC,SAAmC;IAC3D,MAAM,YAAY,GAChB,SAAS,CAAC,QAAQ,CAAC,IAAI,KAAK,sBAAc,CAAC,OAAO;QAChD,CAAC,CAAC,SAAS,CAAC,QAAQ,CAAC,GAAG;QACxB,CAAC,CAAC,SAAS,CAAC,QAAQ,CAAC,IAAI,CAAC;IAC9B,MAAM,SAAS,GACb,SAAS,CAAC,KAAK,CAAC,IAAI,KAAK,sBAAc,CAAC,OAAO;QAC7C,CAAC,CAAC,SAAS,CAAC,KAAK,CAAC,GAAG;QACrB,CAAC,CAAC,SAAS,CAAC,KAAK,CAAC,IAAI,CAAC;IAE3B,OAAO,GAAG,SAAS,GACjB,YAAY,KAAK,SAAS,CAAC,CAAC,CAAC,OAAO,YAAY,EAAE,CAAC,CAAC,CAAC,EACvD,EAAE,CAAC;AACL,CAAC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/consistent-type-imports.js b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/consistent-type-imports.js index 358a590da8..62943c1a92 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/consistent-type-imports.js +++ b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/consistent-type-imports.js @@ -452,7 +452,7 @@ exports.default = (0, util_1.createRule)({ } return; } - else if (defaultSpecifier) { + if (defaultSpecifier) { if (report.typeSpecifiers.includes(defaultSpecifier) && namedSpecifiers.length === 0 && !namespaceSpecifier) { @@ -460,7 +460,7 @@ exports.default = (0, util_1.createRule)({ yield* fixInsertTypeSpecifierForImportDeclaration(fixer, node, true); return; } - else if (fixStyle === 'inline-type-imports' && + if (fixStyle === 'inline-type-imports' && !report.typeSpecifiers.includes(defaultSpecifier) && namedSpecifiers.length > 0 && !namespaceSpecifier) { @@ -477,7 +477,7 @@ exports.default = (0, util_1.createRule)({ yield* fixInlineTypeImportDeclaration(fixer, report, sourceImports); return; } - else if (namedSpecifiers.every(specifier => report.typeSpecifiers.includes(specifier))) { + if (namedSpecifiers.every(specifier => report.typeSpecifiers.includes(specifier))) { // import {Type1, Type2} from 'foo' yield* fixInsertTypeSpecifierForImportDeclaration(fixer, node, false); return; diff --git a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/consistent-type-imports.js.map b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/consistent-type-imports.js.map index 568bdcce39..3cffc616f8 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/consistent-type-imports.js.map +++ b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/consistent-type-imports.js.map @@ -1 +1 @@ -{"version":3,"file":"consistent-type-imports.js","sourceRoot":"","sources":["../../src/rules/consistent-type-imports.ts"],"names":[],"mappings":";;AAGA,oDAA0D;AAE1D,kCAWiB;AAoCjB,kBAAe,IAAA,iBAAU,EAAsB;IAC7C,IAAI,EAAE,yBAAyB;IAC/B,IAAI,EAAE;QACJ,IAAI,EAAE,YAAY;QAClB,IAAI,EAAE;YACJ,WAAW,EAAE,0CAA0C;SACxD;QACD,OAAO,EAAE,MAAM;QACf,QAAQ,EAAE;YACR,eAAe,EAAE,8CAA8C;YAC/D,uBAAuB,EAAE,4CAA4C;YACrE,uBAAuB,EAAE,gDAAgD;YACzE,aAAa,EACX,2EAA2E;SAC9E;QACD,MAAM,EAAE;YACN;gBACE,IAAI,EAAE,QAAQ;gBACd,oBAAoB,EAAE,KAAK;gBAC3B,UAAU,EAAE;oBACV,uBAAuB,EAAE;wBACvB,IAAI,EAAE,SAAS;wBACf,WAAW,EACT,oEAAoE;qBACvE;oBACD,QAAQ,EAAE;wBACR,IAAI,EAAE,QAAQ;wBACd,WAAW,EACT,sGAAsG;wBACxG,IAAI,EAAE,CAAC,uBAAuB,EAAE,qBAAqB,CAAC;qBACvD;oBACD,MAAM,EAAE;wBACN,IAAI,EAAE,QAAQ;wBACd,WAAW,EAAE,iDAAiD;wBAC9D,IAAI,EAAE,CAAC,cAAc,EAAE,iBAAiB,CAAC;qBAC1C;iBACF;aACF;SACF;KACF;IAED,cAAc,EAAE;QACd;YACE,uBAAuB,EAAE,IAAI;YAC7B,QAAQ,EAAE,uBAAuB;YACjC,MAAM,EAAE,cAAc;SACvB;KACF;IAED,MAAM,CAAC,OAAO,EAAE,CAAC,MAAM,CAAC;QACtB,MAAM,MAAM,GAAG,MAAM,CAAC,MAAM,IAAI,cAAc,CAAC;QAC/C,MAAM,uBAAuB,GAAG,MAAM,CAAC,uBAAuB,KAAK,KAAK,CAAC;QAEzE,MAAM,SAAS,GAAiB,EAAE,CAAC;QAEnC,IAAI,uBAAuB,EAAE,CAAC;YAC5B,SAAS,CAAC,YAAY,GAAG,CAAC,IAAI,EAAQ,EAAE;gBACtC,OAAO,CAAC,MAAM,CAAC;oBACb,IAAI;oBACJ,SAAS,EAAE,yBAAyB;iBACrC,CAAC,CAAC;YACL,CAAC,CAAC;QACJ,CAAC;QAED,IAAI,MAAM,KAAK,iBAAiB,EAAE,CAAC;YACjC,OAAO;gBACL,GAAG,SAAS;gBACZ,wCAAwC,CACtC,IAAgC;oBAEhC,OAAO,CAAC,MAAM,CAAC;wBACb,IAAI;wBACJ,SAAS,EAAE,iBAAiB;wBAC5B,GAAG,CAAC,KAAK;4BACP,OAAO,2CAA2C,CAAC,KAAK,EAAE,IAAI,CAAC,CAAC;wBAClE,CAAC;qBACF,CAAC,CAAC;gBACL,CAAC;gBACD,sCAAsC,CACpC,IAA8B;oBAE9B,OAAO,CAAC,MAAM,CAAC;wBACb,IAAI;wBACJ,SAAS,EAAE,iBAAiB;wBAC5B,GAAG,CAAC,KAAK;4BACP,OAAO,yCAAyC,CAAC,KAAK,EAAE,IAAI,CAAC,CAAC;wBAChE,CAAC;qBACF,CAAC,CAAC;gBACL,CAAC;aACF,CAAC;QACJ,CAAC;QAED,sBAAsB;QACtB,MAAM,QAAQ,GAAG,MAAM,CAAC,QAAQ,IAAI,uBAAuB,CAAC;QAE5D,IAAI,oBAAoB,GAAG,KAAK,CAAC;QACjC,MAAM,gBAAgB,GAAkC,EAAE,CAAC;QAE3D,MAAM,qBAAqB,GACzB,IAAA,wBAAiB,EAAC,OAAO,EAAE,IAAI,CAAC,CAAC,qBAAqB,IAAI,KAAK,CAAC;QAClE,MAAM,sBAAsB,GAC1B,IAAA,wBAAiB,EAAC,OAAO,EAAE,IAAI,CAAC,CAAC,sBAAsB,IAAI,KAAK,CAAC;QACnE,IAAI,sBAAsB,IAAI,qBAAqB,EAAE,CAAC;YACpD,SAAS,CAAC,SAAS,GAAG,GAAS,EAAE;gBAC/B,oBAAoB,GAAG,IAAI,CAAC;YAC9B,CAAC,CAAC;QACJ,CAAC;QAED,OAAO;YACL,GAAG,SAAS;YAEZ,iBAAiB,CAAC,IAAI;gBACpB,MAAM,MAAM,GAAG,IAAI,CAAC,MAAM,CAAC,KAAK,CAAC;gBACjC,yGAAyG;gBACzG,gBAAgB,CAAC,MAAM,CAAC,KAAK;oBAC3B,kBAAkB,EAAE,EAAE,EAAE,oEAAoE;oBAC5F,MAAM;oBACN,mBAAmB,EAAE,IAAI,EAAE,uBAAuB;oBAClD,WAAW,EAAE,IAAI,EAAE,wBAAwB;oBAC3C,oBAAoB,EAAE,IAAI,EAAE,8CAA8C;iBAC3E,CAAC;gBACF,MAAM,aAAa,GAAG,gBAAgB,CAAC,MAAM,CAAC,CAAC;gBAC/C,IAAI,IAAI,CAAC,UAAU,KAAK,MAAM,EAAE,CAAC;oBAC/B,IACE,CAAC,aAAa,CAAC,mBAAmB;wBAClC,IAAI,CAAC,UAAU,CAAC,KAAK,CACnB,SAAS,CAAC,EAAE,CAAC,SAAS,CAAC,IAAI,KAAK,sBAAc,CAAC,eAAe,CAC/D,EACD,CAAC;wBACD,mCAAmC;wBACnC,aAAa,CAAC,mBAAmB,GAAG,IAAI,CAAC;oBAC3C,CAAC;gBACH,CAAC;qBAAM,IACL,CAAC,aAAa,CAAC,oBAAoB;oBACnC,IAAI,CAAC,UAAU,CAAC,MAAM;oBACtB,IAAI,CAAC,UAAU,CAAC,KAAK,CACnB,SAAS,CAAC,EAAE,CAAC,SAAS,CAAC,IAAI,KAAK,sBAAc,CAAC,eAAe,CAC/D,EACD,CAAC;oBACD,aAAa,CAAC,oBAAoB,GAAG,IAAI,CAAC;oBAC1C,aAAa,CAAC,WAAW,GAAG,IAAI,CAAC;gBACnC,CAAC;qBAAM,IACL,CAAC,aAAa,CAAC,WAAW;oBAC1B,IAAI,CAAC,UAAU,CAAC,IAAI,CAClB,SAAS,CAAC,EAAE,CACV,SAAS,CAAC,IAAI,KAAK,sBAAc,CAAC,sBAAsB,CAC3D,EACD,CAAC;oBACD,aAAa,CAAC,WAAW,GAAG,IAAI,CAAC;gBACnC,CAAC;gBAED,MAAM,cAAc,GAA4B,EAAE,CAAC;gBACnD,MAAM,oBAAoB,GAA+B,EAAE,CAAC;gBAC5D,MAAM,eAAe,GAA4B,EAAE,CAAC;gBACpD,MAAM,gBAAgB,GAA4B,EAAE,CAAC;gBACrD,KAAK,MAAM,SAAS,IAAI,IAAI,CAAC,UAAU,EAAE,CAAC;oBACxC,IACE,SAAS,CAAC,IAAI,KAAK,sBAAc,CAAC,eAAe;wBACjD,SAAS,CAAC,UAAU,KAAK,MAAM,EAC/B,CAAC;wBACD,oBAAoB,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC;wBACrC,SAAS;oBACX,CAAC;oBAED,MAAM,CAAC,QAAQ,CAAC,GAAG,OAAO,CAAC,UAAU,CAAC,oBAAoB,CAAC,SAAS,CAAC,CAAC;oBACtE,IAAI,QAAQ,CAAC,UAAU,CAAC,MAAM,KAAK,CAAC,EAAE,CAAC;wBACrC,gBAAgB,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC;oBACnC,CAAC;yBAAM,CAAC;wBACN,MAAM,qBAAqB,GAAG,QAAQ,CAAC,UAAU,CAAC,KAAK,CAAC,GAAG,CAAC,EAAE;4BAC5D;;;;;+BAKG;4BACH,IACE,CAAC,GAAG,CAAC,UAAU,CAAC,MAAM,CAAC,IAAI;gCACzB,sBAAc,CAAC,eAAe;gCAC9B,GAAG,CAAC,UAAU,CAAC,MAAM,CAAC,IAAI;oCACxB,sBAAc,CAAC,wBAAwB;gCACzC,GAAG,CAAC,UAAU,CAAC,MAAM,CAAC,IAAI;oCACxB,sBAAc,CAAC,kBAAkB,CAAC;gCACtC,GAAG,CAAC,gBAAgB;gCACpB,GAAG,CAAC,eAAe,EACnB,CAAC;gCACD,OAAO,IAAI,CAAC,UAAU,KAAK,MAAM,CAAC;4BACpC,CAAC;4BACD,IAAI,GAAG,CAAC,gBAAgB,EAAE,CAAC;gCACzB,IAAI,MAAM,GAAG,GAAG,CAAC,UAAU,CAAC,MAAmC,CAAC;gCAChE,IAAI,KAAK,GAAkB,GAAG,CAAC,UAAU,CAAC;gCAC1C,OAAO,MAAM,EAAE,CAAC;oCACd,QAAQ,MAAM,CAAC,IAAI,EAAE,CAAC;wCACpB,UAAU;wCACV,yFAAyF;wCACzF,qEAAqE;wCACrE,KAAK,sBAAc,CAAC,WAAW;4CAC7B,OAAO,IAAI,CAAC;wCAEd,KAAK,sBAAc,CAAC,eAAe;4CACjC,kGAAkG;4CAClG,IAAI,MAAM,CAAC,IAAI,KAAK,KAAK,EAAE,CAAC;gDAC1B,OAAO,KAAK,CAAC;4CACf,CAAC;4CACD,KAAK,GAAG,MAAM,CAAC;4CACf,MAAM,GAAG,MAAM,CAAC,MAAM,CAAC;4CACvB,SAAS;wCACX,aAAa;wCAEb,cAAc;wCAEd,UAAU;wCACV,gGAAgG;wCAChG,sEAAsE;wCACtE,8EAA8E;wCAC9E,KAAK,sBAAc,CAAC,mBAAmB;4CACrC,OAAO,MAAM,CAAC,GAAG,KAAK,KAAK,CAAC;wCAE9B,KAAK,sBAAc,CAAC,gBAAgB;4CAClC,IAAI,MAAM,CAAC,MAAM,KAAK,KAAK,EAAE,CAAC;gDAC5B,OAAO,KAAK,CAAC;4CACf,CAAC;4CACD,KAAK,GAAG,MAAM,CAAC;4CACf,MAAM,GAAG,MAAM,CAAC,MAAM,CAAC;4CACvB,SAAS;wCACX,aAAa;wCAEb;4CACE,OAAO,KAAK,CAAC;oCACjB,CAAC;gCACH,CAAC;4BACH,CAAC;4BAED,OAAO,GAAG,CAAC,eAAe,CAAC;wBAC7B,CAAC,CAAC,CAAC;wBACH,IAAI,qBAAqB,EAAE,CAAC;4BAC1B,cAAc,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC;wBACjC,CAAC;6BAAM,CAAC;4BACN,eAAe,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC;wBAClC,CAAC;oBACH,CAAC;gBACH,CAAC;gBAED,IAAI,IAAI,CAAC,UAAU,KAAK,OAAO,IAAI,cAAc,CAAC,MAAM,EAAE,CAAC;oBACzD,aAAa,CAAC,kBAAkB,CAAC,IAAI,CAAC;wBACpC,IAAI;wBACJ,oBAAoB;wBACpB,cAAc;wBACd,gBAAgB;wBAChB,eAAe;qBAChB,CAAC,CAAC;gBACL,CAAC;YACH,CAAC;YAED,cAAc;gBACZ,IAAI,oBAAoB,EAAE,CAAC;oBACzB,iEAAiE;oBACjE,8CAA8C;oBAC9C,EAAE;oBACF,kCAAkC;oBAClC,+DAA+D;oBAC/D,mEAAmE;oBACnE,WAAW;oBACX,mEAAmE;oBACnE,oCAAoC;oBACpC,EAAE;oBACF,sEAAsE;oBACtE,kEAAkE;oBAClE,sEAAsE;oBACtE,sDAAsD;oBACtD,EAAE;oBACF,mEAAmE;oBACnE,UAAU;oBACV,qEAAqE;oBACrE,EAAE;oBACF,EAAE;oBACF,sEAAsE;oBACtE,sEAAsE;oBACtE,qEAAqE;oBACrE,sEAAsE;oBACtE,0DAA0D;oBAC1D,EAAE;oBACF,EAAE;oBACF,0CAA0C;oBAC1C,4CAA4C;oBAC5C,mEAAmE;oBACnE,gEAAgE;oBAChE,aAAa;oBACb,uCAAuC;oBACvC,OAAO;gBACT,CAAC;gBAED,KAAK,MAAM,aAAa,IAAI,MAAM,CAAC,MAAM,CAAC,gBAAgB,CAAC,EAAE,CAAC;oBAC5D,IAAI,aAAa,CAAC,kBAAkB,CAAC,MAAM,KAAK,CAAC,EAAE,CAAC;wBAClD,6EAA6E;wBAC7E,SAAS;oBACX,CAAC;oBACD,KAAK,MAAM,MAAM,IAAI,aAAa,CAAC,kBAAkB,EAAE,CAAC;wBACtD,IACE,MAAM,CAAC,eAAe,CAAC,MAAM,KAAK,CAAC;4BACnC,MAAM,CAAC,gBAAgB,CAAC,MAAM,KAAK,CAAC;4BACpC,MAAM,CAAC,IAAI,CAAC,UAAU,KAAK,MAAM,EACjC,CAAC;4BACD;;;;;;;+BAOG;4BACH,IAAI,MAAM,CAAC,IAAI,CAAC,UAAU,CAAC,MAAM,KAAK,CAAC,EAAE,CAAC;gCACxC,OAAO,CAAC,MAAM,CAAC;oCACb,IAAI,EAAE,MAAM,CAAC,IAAI;oCACjB,SAAS,EAAE,eAAe;oCAC1B,CAAC,GAAG,CAAC,KAAK;wCACR,KAAK,CAAC,CAAC,0BAA0B,CAC/B,KAAK,EACL,MAAM,EACN,aAAa,CACd,CAAC;oCACJ,CAAC;iCACF,CAAC,CAAC;4BACL,CAAC;wBACH,CAAC;6BAAM,CAAC;4BACN,qJAAqJ;4BACrJ,MAAM,WAAW,GAAG,MAAM,CAAC,cAAc,CAAC,GAAG,CAC3C,SAAS,CAAC,EAAE,CAAC,IAAI,SAAS,CAAC,KAAK,CAAC,IAAI,GAAG,CACzC,CAAC;4BAEF,MAAM,OAAO,GAAG,CAAC,GAGf,EAAE;gCACF,MAAM,WAAW,GAAG,IAAA,qBAAc,EAAC,WAAW,CAAC,CAAC;gCAEhD,IAAI,WAAW,CAAC,MAAM,KAAK,CAAC,EAAE,CAAC;oCAC7B,OAAO;wCACL,SAAS,EAAE,yBAAyB;wCACpC,IAAI,EAAE;4CACJ,WAAW;yCACZ;qCACF,CAAC;gCACJ,CAAC;gCACD,OAAO;oCACL,SAAS,EAAE,yBAAyB;oCACpC,IAAI,EAAE;wCACJ,WAAW;qCACZ;iCACF,CAAC;4BACJ,CAAC,CAAC,EAAE,CAAC;4BAEL,OAAO,CAAC,MAAM,CAAC;gCACb,IAAI,EAAE,MAAM,CAAC,IAAI;gCACjB,GAAG,OAAO;gCACV,CAAC,GAAG,CAAC,KAAK;oCACR,yDAAyD;oCACzD,KAAK,CAAC,CAAC,0BAA0B,CAC/B,KAAK,EACL,MAAM,EACN,aAAa,CACd,CAAC;gCACJ,CAAC;6BACF,CAAC,CAAC;wBACL,CAAC;oBACH,CAAC;gBACH,CAAC;YACH,CAAC;SACF,CAAC;QAEF,SAAS,iBAAiB,CAAC,IAAgC;YAKzD,MAAM,gBAAgB,GACpB,IAAI,CAAC,UAAU,CAAC,CAAC,CAAC,CAAC,IAAI,KAAK,sBAAc,CAAC,sBAAsB;gBAC/D,CAAC,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC,CAAC;gBACpB,CAAC,CAAC,IAAI,CAAC;YACX,MAAM,kBAAkB,GACtB,IAAI,CAAC,UAAU,CAAC,IAAI,CAClB,CAAC,SAAS,EAAkD,EAAE,CAC5D,SAAS,CAAC,IAAI,KAAK,sBAAc,CAAC,wBAAwB,CAC7D,IAAI,IAAI,CAAC;YACZ,MAAM,eAAe,GAAG,IAAI,CAAC,UAAU,CAAC,MAAM,CAC5C,CAAC,SAAS,EAAyC,EAAE,CACnD,SAAS,CAAC,IAAI,KAAK,sBAAc,CAAC,eAAe,CACpD,CAAC;YACF,OAAO;gBACL,gBAAgB;gBAChB,eAAe;gBACf,kBAAkB;aACnB,CAAC;QACJ,CAAC;QAED;;WAEG;QACH,SAAS,uBAAuB,CAC9B,KAAyB,EACzB,IAAgC,EAChC,qBAAiD,EACjD,kBAA8C;YAK9C,IAAI,kBAAkB,CAAC,MAAM,KAAK,CAAC,EAAE,CAAC;gBACpC,OAAO;oBACL,yBAAyB,EAAE,EAAE;oBAC7B,uBAAuB,EAAE,EAAE;iBAC5B,CAAC;YACJ,CAAC;YACD,MAAM,wBAAwB,GAAa,EAAE,CAAC;YAC9C,MAAM,yBAAyB,GAAuB,EAAE,CAAC;YACzD,IAAI,qBAAqB,CAAC,MAAM,KAAK,kBAAkB,CAAC,MAAM,EAAE,CAAC;gBAC/D,wCAAwC;gBACxC,4CAA4C;gBAC5C,MAAM,iBAAiB,GAAG,IAAA,iBAAU,EAClC,OAAO,CAAC,UAAU,CAAC,cAAc,CAC/B,qBAAqB,CAAC,CAAC,CAAC,EACxB,0BAAmB,CACpB,EACD,wBAAiB,CAAC,YAAY,CAAC,GAAG,EAAE,IAAI,CAAC,IAAI,CAAC,CAC/C,CAAC;gBACF,MAAM,UAAU,GAAG,IAAA,iBAAU,EAC3B,OAAO,CAAC,UAAU,CAAC,cAAc,CAAC,iBAAiB,EAAE,mBAAY,CAAC,EAClE,wBAAiB,CAAC,YAAY,CAAC,GAAG,EAAE,IAAI,CAAC,IAAI,CAAC,CAC/C,CAAC;gBACF,MAAM,iBAAiB,GAAG,IAAA,iBAAU,EAClC,OAAO,CAAC,UAAU,CAAC,oBAAoB,CACrC,iBAAiB,EACjB,IAAI,CAAC,MAAM,EACX,0BAAmB,CACpB,EACD,wBAAiB,CAAC,YAAY,CAAC,GAAG,EAAE,IAAI,CAAC,IAAI,CAAC,CAC/C,CAAC;gBAEF,mCAAmC;gBACnC,+BAA+B;gBAC/B,yBAAyB,CAAC,IAAI,CAC5B,KAAK,CAAC,WAAW,CAAC,CAAC,UAAU,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,iBAAiB,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC,CACrE,CAAC;gBAEF,wBAAwB,CAAC,IAAI,CAC3B,OAAO,CAAC,UAAU,CAAC,IAAI,CAAC,KAAK,CAC3B,iBAAiB,CAAC,KAAK,CAAC,CAAC,CAAC,EAC1B,iBAAiB,CAAC,KAAK,CAAC,CAAC,CAAC,CAC3B,CACF,CAAC;YACJ,CAAC;iBAAM,CAAC;gBACN,MAAM,oBAAoB,GAAiC,EAAE,CAAC;gBAC9D,IAAI,KAAK,GAA+B,EAAE,CAAC;gBAC3C,KAAK,MAAM,cAAc,IAAI,kBAAkB,EAAE,CAAC;oBAChD,IAAI,qBAAqB,CAAC,QAAQ,CAAC,cAAc,CAAC,EAAE,CAAC;wBACnD,KAAK,CAAC,IAAI,CAAC,cAAc,CAAC,CAAC;oBAC7B,CAAC;yBAAM,IAAI,KAAK,CAAC,MAAM,EAAE,CAAC;wBACxB,oBAAoB,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;wBACjC,KAAK,GAAG,EAAE,CAAC;oBACb,CAAC;gBACH,CAAC;gBACD,IAAI,KAAK,CAAC,MAAM,EAAE,CAAC;oBACjB,oBAAoB,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;gBACnC,CAAC;gBACD,KAAK,MAAM,eAAe,IAAI,oBAAoB,EAAE,CAAC;oBACnD,MAAM,EAAE,WAAW,EAAE,SAAS,EAAE,GAAG,uBAAuB,CACxD,eAAe,EACf,kBAAkB,CACnB,CAAC;oBACF,yBAAyB,CAAC,IAAI,CAAC,KAAK,CAAC,WAAW,CAAC,WAAW,CAAC,CAAC,CAAC;oBAE/D,wBAAwB,CAAC,IAAI,CAC3B,OAAO,CAAC,UAAU,CAAC,IAAI,CAAC,KAAK,CAAC,GAAG,SAAS,CAAC,CAC5C,CAAC;gBACJ,CAAC;YACH,CAAC;YACD,OAAO;gBACL,yBAAyB;gBACzB,uBAAuB,EAAE,wBAAwB,CAAC,IAAI,CAAC,GAAG,CAAC;aAC5D,CAAC;QACJ,CAAC;QAED;;WAEG;QACH,SAAS,uBAAuB,CAC9B,mBAA+C,EAC/C,kBAA8C;YAK9C,MAAM,KAAK,GAAG,mBAAmB,CAAC,CAAC,CAAC,CAAC;YACrC,MAAM,IAAI,GAAG,mBAAmB,CAAC,mBAAmB,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC;YACjE,MAAM,WAAW,GAAmB,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC;YACpE,MAAM,SAAS,GAAmB,CAAC,GAAG,WAAW,CAAC,CAAC;YACnD,MAAM,MAAM,GAAG,IAAA,iBAAU,EACvB,OAAO,CAAC,UAAU,CAAC,cAAc,CAAC,KAAK,CAAC,EACxC,wBAAiB,CAAC,YAAY,CAAC,OAAO,EAAE,iBAAiB,CAAC,CAC3D,CAAC;YACF,SAAS,CAAC,CAAC,CAAC,GAAG,MAAM,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC;YAC/B,IAAI,IAAA,mBAAY,EAAC,MAAM,CAAC,EAAE,CAAC;gBACzB,WAAW,CAAC,CAAC,CAAC,GAAG,MAAM,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC;YACnC,CAAC;iBAAM,CAAC;gBACN,WAAW,CAAC,CAAC,CAAC,GAAG,MAAM,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC;YACnC,CAAC;YAED,MAAM,OAAO,GAAG,kBAAkB,CAAC,CAAC,CAAC,KAAK,KAAK,CAAC;YAChD,MAAM,MAAM,GAAG,kBAAkB,CAAC,kBAAkB,CAAC,MAAM,GAAG,CAAC,CAAC,KAAK,IAAI,CAAC;YAC1E,MAAM,KAAK,GAAG,IAAA,iBAAU,EACtB,OAAO,CAAC,UAAU,CAAC,aAAa,CAAC,IAAI,CAAC,EACtC,wBAAiB,CAAC,YAAY,CAAC,OAAO,EAAE,gBAAgB,CAAC,CAC1D,CAAC;YACF,SAAS,CAAC,CAAC,CAAC,GAAG,KAAK,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC;YAC9B,IAAI,CAAC,OAAO,IAAI,MAAM,CAAC,IAAI,IAAA,mBAAY,EAAC,KAAK,CAAC,EAAE,CAAC;gBAC/C,WAAW,CAAC,CAAC,CAAC,GAAG,KAAK,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC;YAClC,CAAC;YAED,OAAO;gBACL,WAAW;gBACX,SAAS;aACV,CAAC;QACJ,CAAC;QAED;;;;;WAKG;QACH,SAAS,4CAA4C,CACnD,KAAyB,EACzB,MAAkC,EAClC,UAAkB;YAElB,MAAM,iBAAiB,GAAG,IAAA,iBAAU,EAClC,OAAO,CAAC,UAAU,CAAC,oBAAoB,CACrC,IAAA,iBAAU,EACR,OAAO,CAAC,UAAU,CAAC,aAAa,CAAC,MAAM,CAAC,EACxC,wBAAiB,CAAC,YAAY,CAAC,cAAc,EAAE,QAAQ,CAAC,CACzD,EACD,MAAM,CAAC,MAAM,EACb,0BAAmB,CACpB,EACD,wBAAiB,CAAC,YAAY,CAAC,GAAG,EAAE,MAAM,CAAC,IAAI,CAAC,CACjD,CAAC;YACF,MAAM,MAAM,GAAG,IAAA,iBAAU,EACvB,OAAO,CAAC,UAAU,CAAC,cAAc,CAAC,iBAAiB,CAAC,EACpD,wBAAiB,CAAC,YAAY,CAAC,cAAc,EAAE,eAAe,CAAC,CAChE,CAAC;YACF,IAAI,CAAC,IAAA,mBAAY,EAAC,MAAM,CAAC,IAAI,CAAC,IAAA,0BAAmB,EAAC,MAAM,CAAC,EAAE,CAAC;gBAC1D,UAAU,GAAG,IAAI,UAAU,EAAE,CAAC;YAChC,CAAC;YACD,OAAO,KAAK,CAAC,gBAAgB,CAAC,iBAAiB,EAAE,UAAU,CAAC,CAAC;QAC/D,CAAC;QAED;;;;;WAKG;QACH,QAAQ,CAAC,CAAC,wCAAwC,CAChD,KAAyB,EACzB,cAA0C;YAE1C,KAAK,MAAM,IAAI,IAAI,cAAc,EAAE,CAAC;gBAClC,MAAM,UAAU,GAAG,OAAO,CAAC,UAAU,CAAC,IAAI,CAAC,KAAK,CAAC,GAAG,IAAI,CAAC,KAAK,CAAC,CAAC;gBAChE,MAAM,KAAK,CAAC,gBAAgB,CAAC,IAAI,CAAC,KAAK,EAAE,QAAQ,UAAU,EAAE,CAAC,CAAC;YACjE,CAAC;QACH,CAAC;QAED,QAAQ,CAAC,CAAC,8BAA8B,CACtC,KAAyB,EACzB,MAAyB,EACzB,aAA4B;YAE5B,MAAM,EAAE,IAAI,EAAE,GAAG,MAAM,CAAC;YACxB,uEAAuE;YACvE,MAAM,EAAE,eAAe,EAAE,GAAG,iBAAiB,CAAC,IAAI,CAAC,CAAC;YACpD,MAAM,mBAAmB,GAAG,eAAe,CAAC,MAAM,CAAC,SAAS,CAAC,EAAE,CAC7D,MAAM,CAAC,cAAc,CAAC,QAAQ,CAAC,SAAS,CAAC,CAC1C,CAAC;YAEF,IAAI,aAAa,CAAC,WAAW,EAAE,CAAC;gBAC9B,uDAAuD;gBACvD,4BAA4B;gBAC5B,+BAA+B;gBAC/B,MAAM,EAAE,eAAe,EAAE,0BAA0B,EAAE,GACnD,iBAAiB,CAAC,aAAa,CAAC,WAAW,CAAC,CAAC;gBAC/C,IACE,aAAa,CAAC,oBAAoB;oBAClC,0BAA0B,CAAC,MAAM,EACjC,CAAC;oBACD,KAAK,CAAC,CAAC,wCAAwC,CAC7C,KAAK,EACL,mBAAmB,CACpB,CAAC;gBACJ,CAAC;YACH,CAAC;QACH,CAAC;QAED,QAAQ,CAAC,CAAC,0BAA0B,CAClC,KAAyB,EACzB,MAAyB,EACzB,aAA4B;YAE5B,MAAM,EAAE,IAAI,EAAE,GAAG,MAAM,CAAC;YAExB,MAAM,EAAE,gBAAgB,EAAE,eAAe,EAAE,kBAAkB,EAAE,GAC7D,iBAAiB,CAAC,IAAI,CAAC,CAAC;YAE1B,IAAI,kBAAkB,IAAI,CAAC,gBAAgB,EAAE,CAAC;gBAC5C,+BAA+B;gBAE/B,2CAA2C;gBAC3C,IAAI,IAAI,CAAC,UAAU,CAAC,MAAM,KAAK,CAAC,EAAE,CAAC;oBACjC,KAAK,CAAC,CAAC,0CAA0C,CAAC,KAAK,EAAE,IAAI,EAAE,KAAK,CAAC,CAAC;gBACxE,CAAC;gBACD,OAAO;YACT,CAAC;iBAAM,IAAI,gBAAgB,EAAE,CAAC;gBAC5B,IACE,MAAM,CAAC,cAAc,CAAC,QAAQ,CAAC,gBAAgB,CAAC;oBAChD,eAAe,CAAC,MAAM,KAAK,CAAC;oBAC5B,CAAC,kBAAkB,EACnB,CAAC;oBACD,yBAAyB;oBACzB,KAAK,CAAC,CAAC,0CAA0C,CAAC,KAAK,EAAE,IAAI,EAAE,IAAI,CAAC,CAAC;oBACrE,OAAO;gBACT,CAAC;qBAAM,IACL,QAAQ,KAAK,qBAAqB;oBAClC,CAAC,MAAM,CAAC,cAAc,CAAC,QAAQ,CAAC,gBAAgB,CAAC;oBACjD,eAAe,CAAC,MAAM,GAAG,CAAC;oBAC1B,CAAC,kBAAkB,EACnB,CAAC;oBACD,gIAAgI;oBAChI,mDAAmD;oBACnD,KAAK,CAAC,CAAC,8BAA8B,CAAC,KAAK,EAAE,MAAM,EAAE,aAAa,CAAC,CAAC;oBACpE,OAAO;gBACT,CAAC;YACH,CAAC;iBAAM,IAAI,CAAC,kBAAkB,EAAE,CAAC;gBAC/B,IACE,QAAQ,KAAK,qBAAqB;oBAClC,eAAe,CAAC,IAAI,CAAC,SAAS,CAAC,EAAE,CAC/B,MAAM,CAAC,cAAc,CAAC,QAAQ,CAAC,SAAS,CAAC,CAC1C,EACD,CAAC;oBACD,2CAA2C;oBAC3C,KAAK,CAAC,CAAC,8BAA8B,CAAC,KAAK,EAAE,MAAM,EAAE,aAAa,CAAC,CAAC;oBACpE,OAAO;gBACT,CAAC;qBAAM,IACL,eAAe,CAAC,KAAK,CAAC,SAAS,CAAC,EAAE,CAChC,MAAM,CAAC,cAAc,CAAC,QAAQ,CAAC,SAAS,CAAC,CAC1C,EACD,CAAC;oBACD,mCAAmC;oBACnC,KAAK,CAAC,CAAC,0CAA0C,CAAC,KAAK,EAAE,IAAI,EAAE,KAAK,CAAC,CAAC;oBACtE,OAAO;gBACT,CAAC;YACH,CAAC;YAED,MAAM,mBAAmB,GAAG,eAAe,CAAC,MAAM,CAAC,SAAS,CAAC,EAAE,CAC7D,MAAM,CAAC,cAAc,CAAC,QAAQ,CAAC,SAAS,CAAC,CAC1C,CAAC;YAEF,MAAM,oBAAoB,GAAG,uBAAuB,CAClD,KAAK,EACL,IAAI,EACJ,mBAAmB,EACnB,eAAe,CAChB,CAAC;YACF,MAAM,UAAU,GAAuB,EAAE,CAAC;YAC1C,IAAI,mBAAmB,CAAC,MAAM,EAAE,CAAC;gBAC/B,IAAI,aAAa,CAAC,mBAAmB,EAAE,CAAC;oBACtC,MAAM,yBAAyB,GAC7B,4CAA4C,CAC1C,KAAK,EACL,aAAa,CAAC,mBAAmB,EACjC,oBAAoB,CAAC,uBAAuB,CAC7C,CAAC;oBACJ,IAAI,aAAa,CAAC,mBAAmB,CAAC,KAAK,CAAC,CAAC,CAAC,IAAI,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,CAAC;wBAChE,MAAM,yBAAyB,CAAC;oBAClC,CAAC;yBAAM,CAAC;wBACN,UAAU,CAAC,IAAI,CAAC,yBAAyB,CAAC,CAAC;oBAC7C,CAAC;gBACH,CAAC;qBAAM,CAAC;oBACN,+HAA+H;oBAC/H,wCAAwC;oBACxC,IAAI,QAAQ,KAAK,qBAAqB,EAAE,CAAC;wBACvC,MAAM,KAAK,CAAC,gBAAgB,CAC1B,IAAI,EACJ,WAAW,mBAAmB;6BAC3B,GAAG,CAAC,IAAI,CAAC,EAAE;4BACV,MAAM,UAAU,GAAG,OAAO,CAAC,UAAU,CAAC,IAAI,CAAC,KAAK,CAC9C,GAAG,IAAI,CAAC,KAAK,CACd,CAAC;4BACF,OAAO,QAAQ,UAAU,EAAE,CAAC;wBAC9B,CAAC,CAAC;6BACD,IAAI,CACH,IAAI,CACL,UAAU,OAAO,CAAC,UAAU,CAAC,OAAO,CAAC,IAAI,CAAC,MAAM,CAAC,KAAK,CAC1D,CAAC;oBACJ,CAAC;yBAAM,CAAC;wBACN,MAAM,KAAK,CAAC,gBAAgB,CAC1B,IAAI,EACJ,gBACE,oBAAoB,CAAC,uBACvB,UAAU,OAAO,CAAC,UAAU,CAAC,OAAO,CAAC,IAAI,CAAC,MAAM,CAAC,KAAK,CACvD,CAAC;oBACJ,CAAC;gBACH,CAAC;YACH,CAAC;YAED,MAAM,iCAAiC,GAAuB,EAAE,CAAC;YACjE,IACE,kBAAkB;gBAClB,MAAM,CAAC,cAAc,CAAC,QAAQ,CAAC,kBAAkB,CAAC,EAClD,CAAC;gBACD,mCAAmC;gBACnC,uCAAuC;gBACvC,uCAAuC;gBACvC,MAAM,UAAU,GAAG,IAAA,iBAAU,EAC3B,OAAO,CAAC,UAAU,CAAC,cAAc,CAAC,kBAAkB,EAAE,mBAAY,CAAC,EACnE,wBAAiB,CAAC,YAAY,CAAC,GAAG,EAAE,IAAI,CAAC,IAAI,CAAC,CAC/C,CAAC;gBAEF,iCAAiC;gBACjC,6BAA6B;gBAC7B,iCAAiC,CAAC,IAAI,CACpC,KAAK,CAAC,WAAW,CAAC,CAAC,UAAU,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,kBAAkB,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC,CACtE,CAAC;gBAEF,iCAAiC;gBACjC,wCAAwC;gBACxC,MAAM,KAAK,CAAC,gBAAgB,CAC1B,IAAI,EACJ,eAAe,OAAO,CAAC,UAAU,CAAC,OAAO,CACvC,kBAAkB,CACnB,SAAS,OAAO,CAAC,UAAU,CAAC,OAAO,CAAC,IAAI,CAAC,MAAM,CAAC,KAAK,CACvD,CAAC;YACJ,CAAC;YACD,IACE,gBAAgB;gBAChB,MAAM,CAAC,cAAc,CAAC,QAAQ,CAAC,gBAAgB,CAAC,EAChD,CAAC;gBACD,IAAI,MAAM,CAAC,cAAc,CAAC,MAAM,KAAK,IAAI,CAAC,UAAU,CAAC,MAAM,EAAE,CAAC;oBAC5D,MAAM,WAAW,GAAG,IAAA,iBAAU,EAC5B,OAAO,CAAC,UAAU,CAAC,aAAa,CAAC,IAAI,EAAE,sBAAe,CAAC,EACvD,wBAAiB,CAAC,YAAY,CAAC,QAAQ,EAAE,IAAI,CAAC,IAAI,CAAC,CACpD,CAAC;oBACF,8BAA8B;oBAC9B,qBAAqB;oBACrB,MAAM,KAAK,CAAC,eAAe,CAAC,WAAW,EAAE,OAAO,CAAC,CAAC;gBACpD,CAAC;qBAAM,CAAC;oBACN,MAAM,UAAU,GAAG,IAAA,iBAAU,EAC3B,OAAO,CAAC,UAAU,CAAC,aAAa,CAAC,gBAAgB,EAAE,mBAAY,CAAC,EAChE,wBAAiB,CAAC,YAAY,CAAC,GAAG,EAAE,gBAAgB,CAAC,IAAI,CAAC,CAC3D,CAAC;oBACF,iCAAiC;oBACjC,oBAAoB;oBACpB,MAAM,WAAW,GAAG,OAAO,CAAC,UAAU,CAAC,IAAI;yBACxC,KAAK,CAAC,gBAAgB,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,UAAU,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC;yBACrD,IAAI,EAAE,CAAC;oBACV,MAAM,KAAK,CAAC,gBAAgB,CAC1B,IAAI,EACJ,eAAe,WAAW,SAAS,OAAO,CAAC,UAAU,CAAC,OAAO,CAC3D,IAAI,CAAC,MAAM,CACZ,KAAK,CACP,CAAC;oBACF,MAAM,UAAU,GAAG,IAAA,iBAAU,EAC3B,OAAO,CAAC,UAAU,CAAC,aAAa,CAAC,UAAU,EAAE;wBAC3C,eAAe,EAAE,IAAI;qBACtB,CAAC,EACF,wBAAiB,CAAC,YAAY,CAAC,WAAW,EAAE,IAAI,CAAC,IAAI,CAAC,CACvD,CAAC;oBACF,iCAAiC;oBACjC,wBAAwB;oBACxB,MAAM,KAAK,CAAC,WAAW,CAAC;wBACtB,gBAAgB,CAAC,KAAK,CAAC,CAAC,CAAC;wBACzB,UAAU,CAAC,KAAK,CAAC,CAAC,CAAC;qBACpB,CAAC,CAAC;gBACL,CAAC;YACH,CAAC;YAED,KAAK,CAAC,CAAC,oBAAoB,CAAC,yBAAyB,CAAC;YACtD,KAAK,CAAC,CAAC,iCAAiC,CAAC;YAEzC,KAAK,CAAC,CAAC,UAAU,CAAC;QACpB,CAAC;QAED,QAAQ,CAAC,CAAC,0CAA0C,CAClD,KAAyB,EACzB,IAAgC,EAChC,eAAwB;YAExB,6BAA6B;YAC7B,qBAAqB;YACrB,MAAM,WAAW,GAAG,IAAA,iBAAU,EAC5B,OAAO,CAAC,UAAU,CAAC,aAAa,CAAC,IAAI,EAAE,sBAAe,CAAC,EACvD,wBAAiB,CAAC,YAAY,CAAC,QAAQ,EAAE,IAAI,CAAC,IAAI,CAAC,CACpD,CAAC;YACF,MAAM,KAAK,CAAC,eAAe,CAAC,WAAW,EAAE,OAAO,CAAC,CAAC;YAElD,IAAI,eAAe,EAAE,CAAC;gBACpB,qBAAqB;gBACrB,MAAM,iBAAiB,GAAG,OAAO,CAAC,UAAU,CAAC,oBAAoB,CAC/D,WAAW,EACX,IAAI,CAAC,MAAM,EACX,0BAAmB,CACpB,CAAC;gBACF,IAAI,iBAAiB,EAAE,CAAC;oBACtB,8CAA8C;oBAC9C,MAAM,UAAU,GAAG,IAAA,iBAAU,EAC3B,OAAO,CAAC,UAAU,CAAC,cAAc,CAAC,iBAAiB,EAAE,mBAAY,CAAC,EAClE,wBAAiB,CAAC,YAAY,CAAC,GAAG,EAAE,IAAI,CAAC,IAAI,CAAC,CAC/C,CAAC;oBACF,MAAM,iBAAiB,GAAG,IAAA,iBAAU,EAClC,OAAO,CAAC,UAAU,CAAC,oBAAoB,CACrC,iBAAiB,EACjB,IAAI,CAAC,MAAM,EACX,0BAAmB,CACpB,EACD,wBAAiB,CAAC,YAAY,CAAC,GAAG,EAAE,IAAI,CAAC,IAAI,CAAC,CAC/C,CAAC;oBAEF,iCAAiC;oBACjC,6BAA6B;oBAC7B,MAAM,KAAK,CAAC,WAAW,CAAC;wBACtB,UAAU,CAAC,KAAK,CAAC,CAAC,CAAC;wBACnB,iBAAiB,CAAC,KAAK,CAAC,CAAC,CAAC;qBAC3B,CAAC,CAAC;oBACH,MAAM,cAAc,GAAG,OAAO,CAAC,UAAU,CAAC,IAAI,CAAC,KAAK,CAClD,UAAU,CAAC,KAAK,CAAC,CAAC,CAAC,EACnB,iBAAiB,CAAC,KAAK,CAAC,CAAC,CAAC,CAC3B,CAAC;oBACF,IAAI,IAAI,CAAC,UAAU,CAAC,MAAM,GAAG,CAAC,EAAE,CAAC;wBAC/B,MAAM,KAAK,CAAC,eAAe,CACzB,IAAI,EACJ,gBAAgB,cAAc,SAAS,OAAO,CAAC,UAAU,CAAC,OAAO,CAC/D,IAAI,CAAC,MAAM,CACZ,GAAG,CACL,CAAC;oBACJ,CAAC;gBACH,CAAC;YACH,CAAC;YAED,yEAAyE;YACzE,KAAK,MAAM,SAAS,IAAI,IAAI,CAAC,UAAU,EAAE,CAAC;gBACxC,IACE,SAAS,CAAC,IAAI,KAAK,sBAAc,CAAC,eAAe;oBACjD,SAAS,CAAC,UAAU,KAAK,MAAM,EAC/B,CAAC;oBACD,KAAK,CAAC,CAAC,yCAAyC,CAAC,KAAK,EAAE,SAAS,CAAC,CAAC;gBACrE,CAAC;YACH,CAAC;QACH,CAAC;QAED,QAAQ,CAAC,CAAC,2CAA2C,CACnD,KAAyB,EACzB,IAAgC;YAEhC,6BAA6B;YAC7B,qBAAqB;YACrB,MAAM,WAAW,GAAG,IAAA,iBAAU,EAC5B,OAAO,CAAC,UAAU,CAAC,aAAa,CAAC,IAAI,EAAE,sBAAe,CAAC,EACvD,wBAAiB,CAAC,YAAY,CAAC,QAAQ,EAAE,IAAI,CAAC,IAAI,CAAC,CACpD,CAAC;YACF,MAAM,SAAS,GAAG,IAAA,iBAAU,EAC1B,OAAO,CAAC,UAAU,CAAC,oBAAoB,CACrC,WAAW,EACX,IAAI,CAAC,UAAU,CAAC,CAAC,CAAC,EAAE,KAAK,IAAI,IAAI,CAAC,MAAM,EACxC,oBAAa,CACd,EACD,wBAAiB,CAAC,YAAY,CAAC,MAAM,EAAE,IAAI,CAAC,IAAI,CAAC,CAClD,CAAC;YACF,MAAM,UAAU,GAAG,IAAA,iBAAU,EAC3B,OAAO,CAAC,UAAU,CAAC,aAAa,CAAC,SAAS,EAAE,EAAE,eAAe,EAAE,IAAI,EAAE,CAAC,EACtE,wBAAiB,CAAC,YAAY,CAAC,WAAW,EAAE,IAAI,CAAC,IAAI,CAAC,CACvD,CAAC;YACF,MAAM,KAAK,CAAC,WAAW,CAAC,CAAC,SAAS,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,UAAU,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QACrE,CAAC;QAED,QAAQ,CAAC,CAAC,yCAAyC,CACjD,KAAyB,EACzB,IAA8B;YAE9B,iCAAiC;YACjC,uBAAuB;YACvB,MAAM,SAAS,GAAG,IAAA,iBAAU,EAC1B,OAAO,CAAC,UAAU,CAAC,aAAa,CAAC,IAAI,EAAE,oBAAa,CAAC,EACrD,wBAAiB,CAAC,YAAY,CAAC,MAAM,EAAE,IAAI,CAAC,IAAI,CAAC,CAClD,CAAC;YACF,MAAM,UAAU,GAAG,IAAA,iBAAU,EAC3B,OAAO,CAAC,UAAU,CAAC,aAAa,CAAC,SAAS,EAAE,EAAE,eAAe,EAAE,IAAI,EAAE,CAAC,EACtE,wBAAiB,CAAC,YAAY,CAAC,WAAW,EAAE,IAAI,CAAC,IAAI,CAAC,CACvD,CAAC;YACF,MAAM,KAAK,CAAC,WAAW,CAAC,CAAC,SAAS,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,UAAU,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QACrE,CAAC;IACH,CAAC;CACF,CAAC,CAAC"} \ No newline at end of file +{"version":3,"file":"consistent-type-imports.js","sourceRoot":"","sources":["../../src/rules/consistent-type-imports.ts"],"names":[],"mappings":";;AAGA,oDAA0D;AAE1D,kCAWiB;AAoCjB,kBAAe,IAAA,iBAAU,EAAsB;IAC7C,IAAI,EAAE,yBAAyB;IAC/B,IAAI,EAAE;QACJ,IAAI,EAAE,YAAY;QAClB,IAAI,EAAE;YACJ,WAAW,EAAE,0CAA0C;SACxD;QACD,OAAO,EAAE,MAAM;QACf,QAAQ,EAAE;YACR,eAAe,EAAE,8CAA8C;YAC/D,uBAAuB,EAAE,4CAA4C;YACrE,uBAAuB,EAAE,gDAAgD;YACzE,aAAa,EACX,2EAA2E;SAC9E;QACD,MAAM,EAAE;YACN;gBACE,IAAI,EAAE,QAAQ;gBACd,oBAAoB,EAAE,KAAK;gBAC3B,UAAU,EAAE;oBACV,uBAAuB,EAAE;wBACvB,IAAI,EAAE,SAAS;wBACf,WAAW,EACT,oEAAoE;qBACvE;oBACD,QAAQ,EAAE;wBACR,IAAI,EAAE,QAAQ;wBACd,WAAW,EACT,sGAAsG;wBACxG,IAAI,EAAE,CAAC,uBAAuB,EAAE,qBAAqB,CAAC;qBACvD;oBACD,MAAM,EAAE;wBACN,IAAI,EAAE,QAAQ;wBACd,WAAW,EAAE,iDAAiD;wBAC9D,IAAI,EAAE,CAAC,cAAc,EAAE,iBAAiB,CAAC;qBAC1C;iBACF;aACF;SACF;KACF;IAED,cAAc,EAAE;QACd;YACE,uBAAuB,EAAE,IAAI;YAC7B,QAAQ,EAAE,uBAAuB;YACjC,MAAM,EAAE,cAAc;SACvB;KACF;IAED,MAAM,CAAC,OAAO,EAAE,CAAC,MAAM,CAAC;QACtB,MAAM,MAAM,GAAG,MAAM,CAAC,MAAM,IAAI,cAAc,CAAC;QAC/C,MAAM,uBAAuB,GAAG,MAAM,CAAC,uBAAuB,KAAK,KAAK,CAAC;QAEzE,MAAM,SAAS,GAAiB,EAAE,CAAC;QAEnC,IAAI,uBAAuB,EAAE,CAAC;YAC5B,SAAS,CAAC,YAAY,GAAG,CAAC,IAAI,EAAQ,EAAE;gBACtC,OAAO,CAAC,MAAM,CAAC;oBACb,IAAI;oBACJ,SAAS,EAAE,yBAAyB;iBACrC,CAAC,CAAC;YACL,CAAC,CAAC;QACJ,CAAC;QAED,IAAI,MAAM,KAAK,iBAAiB,EAAE,CAAC;YACjC,OAAO;gBACL,GAAG,SAAS;gBACZ,wCAAwC,CACtC,IAAgC;oBAEhC,OAAO,CAAC,MAAM,CAAC;wBACb,IAAI;wBACJ,SAAS,EAAE,iBAAiB;wBAC5B,GAAG,CAAC,KAAK;4BACP,OAAO,2CAA2C,CAAC,KAAK,EAAE,IAAI,CAAC,CAAC;wBAClE,CAAC;qBACF,CAAC,CAAC;gBACL,CAAC;gBACD,sCAAsC,CACpC,IAA8B;oBAE9B,OAAO,CAAC,MAAM,CAAC;wBACb,IAAI;wBACJ,SAAS,EAAE,iBAAiB;wBAC5B,GAAG,CAAC,KAAK;4BACP,OAAO,yCAAyC,CAAC,KAAK,EAAE,IAAI,CAAC,CAAC;wBAChE,CAAC;qBACF,CAAC,CAAC;gBACL,CAAC;aACF,CAAC;QACJ,CAAC;QAED,sBAAsB;QACtB,MAAM,QAAQ,GAAG,MAAM,CAAC,QAAQ,IAAI,uBAAuB,CAAC;QAE5D,IAAI,oBAAoB,GAAG,KAAK,CAAC;QACjC,MAAM,gBAAgB,GAAkC,EAAE,CAAC;QAE3D,MAAM,qBAAqB,GACzB,IAAA,wBAAiB,EAAC,OAAO,EAAE,IAAI,CAAC,CAAC,qBAAqB,IAAI,KAAK,CAAC;QAClE,MAAM,sBAAsB,GAC1B,IAAA,wBAAiB,EAAC,OAAO,EAAE,IAAI,CAAC,CAAC,sBAAsB,IAAI,KAAK,CAAC;QACnE,IAAI,sBAAsB,IAAI,qBAAqB,EAAE,CAAC;YACpD,SAAS,CAAC,SAAS,GAAG,GAAS,EAAE;gBAC/B,oBAAoB,GAAG,IAAI,CAAC;YAC9B,CAAC,CAAC;QACJ,CAAC;QAED,OAAO;YACL,GAAG,SAAS;YAEZ,iBAAiB,CAAC,IAAI;gBACpB,MAAM,MAAM,GAAG,IAAI,CAAC,MAAM,CAAC,KAAK,CAAC;gBACjC,yGAAyG;gBACzG,gBAAgB,CAAC,MAAM,CAAC,KAAK;oBAC3B,kBAAkB,EAAE,EAAE,EAAE,oEAAoE;oBAC5F,MAAM;oBACN,mBAAmB,EAAE,IAAI,EAAE,uBAAuB;oBAClD,WAAW,EAAE,IAAI,EAAE,wBAAwB;oBAC3C,oBAAoB,EAAE,IAAI,EAAE,8CAA8C;iBAC3E,CAAC;gBACF,MAAM,aAAa,GAAG,gBAAgB,CAAC,MAAM,CAAC,CAAC;gBAC/C,IAAI,IAAI,CAAC,UAAU,KAAK,MAAM,EAAE,CAAC;oBAC/B,IACE,CAAC,aAAa,CAAC,mBAAmB;wBAClC,IAAI,CAAC,UAAU,CAAC,KAAK,CACnB,SAAS,CAAC,EAAE,CAAC,SAAS,CAAC,IAAI,KAAK,sBAAc,CAAC,eAAe,CAC/D,EACD,CAAC;wBACD,mCAAmC;wBACnC,aAAa,CAAC,mBAAmB,GAAG,IAAI,CAAC;oBAC3C,CAAC;gBACH,CAAC;qBAAM,IACL,CAAC,aAAa,CAAC,oBAAoB;oBACnC,IAAI,CAAC,UAAU,CAAC,MAAM;oBACtB,IAAI,CAAC,UAAU,CAAC,KAAK,CACnB,SAAS,CAAC,EAAE,CAAC,SAAS,CAAC,IAAI,KAAK,sBAAc,CAAC,eAAe,CAC/D,EACD,CAAC;oBACD,aAAa,CAAC,oBAAoB,GAAG,IAAI,CAAC;oBAC1C,aAAa,CAAC,WAAW,GAAG,IAAI,CAAC;gBACnC,CAAC;qBAAM,IACL,CAAC,aAAa,CAAC,WAAW;oBAC1B,IAAI,CAAC,UAAU,CAAC,IAAI,CAClB,SAAS,CAAC,EAAE,CACV,SAAS,CAAC,IAAI,KAAK,sBAAc,CAAC,sBAAsB,CAC3D,EACD,CAAC;oBACD,aAAa,CAAC,WAAW,GAAG,IAAI,CAAC;gBACnC,CAAC;gBAED,MAAM,cAAc,GAA4B,EAAE,CAAC;gBACnD,MAAM,oBAAoB,GAA+B,EAAE,CAAC;gBAC5D,MAAM,eAAe,GAA4B,EAAE,CAAC;gBACpD,MAAM,gBAAgB,GAA4B,EAAE,CAAC;gBACrD,KAAK,MAAM,SAAS,IAAI,IAAI,CAAC,UAAU,EAAE,CAAC;oBACxC,IACE,SAAS,CAAC,IAAI,KAAK,sBAAc,CAAC,eAAe;wBACjD,SAAS,CAAC,UAAU,KAAK,MAAM,EAC/B,CAAC;wBACD,oBAAoB,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC;wBACrC,SAAS;oBACX,CAAC;oBAED,MAAM,CAAC,QAAQ,CAAC,GAAG,OAAO,CAAC,UAAU,CAAC,oBAAoB,CAAC,SAAS,CAAC,CAAC;oBACtE,IAAI,QAAQ,CAAC,UAAU,CAAC,MAAM,KAAK,CAAC,EAAE,CAAC;wBACrC,gBAAgB,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC;oBACnC,CAAC;yBAAM,CAAC;wBACN,MAAM,qBAAqB,GAAG,QAAQ,CAAC,UAAU,CAAC,KAAK,CAAC,GAAG,CAAC,EAAE;4BAC5D;;;;;+BAKG;4BACH,IACE,CAAC,GAAG,CAAC,UAAU,CAAC,MAAM,CAAC,IAAI;gCACzB,sBAAc,CAAC,eAAe;gCAC9B,GAAG,CAAC,UAAU,CAAC,MAAM,CAAC,IAAI;oCACxB,sBAAc,CAAC,wBAAwB;gCACzC,GAAG,CAAC,UAAU,CAAC,MAAM,CAAC,IAAI;oCACxB,sBAAc,CAAC,kBAAkB,CAAC;gCACtC,GAAG,CAAC,gBAAgB;gCACpB,GAAG,CAAC,eAAe,EACnB,CAAC;gCACD,OAAO,IAAI,CAAC,UAAU,KAAK,MAAM,CAAC;4BACpC,CAAC;4BACD,IAAI,GAAG,CAAC,gBAAgB,EAAE,CAAC;gCACzB,IAAI,MAAM,GAAG,GAAG,CAAC,UAAU,CAAC,MAAmC,CAAC;gCAChE,IAAI,KAAK,GAAkB,GAAG,CAAC,UAAU,CAAC;gCAC1C,OAAO,MAAM,EAAE,CAAC;oCACd,QAAQ,MAAM,CAAC,IAAI,EAAE,CAAC;wCACpB,UAAU;wCACV,yFAAyF;wCACzF,qEAAqE;wCACrE,KAAK,sBAAc,CAAC,WAAW;4CAC7B,OAAO,IAAI,CAAC;wCAEd,KAAK,sBAAc,CAAC,eAAe;4CACjC,kGAAkG;4CAClG,IAAI,MAAM,CAAC,IAAI,KAAK,KAAK,EAAE,CAAC;gDAC1B,OAAO,KAAK,CAAC;4CACf,CAAC;4CACD,KAAK,GAAG,MAAM,CAAC;4CACf,MAAM,GAAG,MAAM,CAAC,MAAM,CAAC;4CACvB,SAAS;wCACX,aAAa;wCAEb,cAAc;wCAEd,UAAU;wCACV,gGAAgG;wCAChG,sEAAsE;wCACtE,8EAA8E;wCAC9E,KAAK,sBAAc,CAAC,mBAAmB;4CACrC,OAAO,MAAM,CAAC,GAAG,KAAK,KAAK,CAAC;wCAE9B,KAAK,sBAAc,CAAC,gBAAgB;4CAClC,IAAI,MAAM,CAAC,MAAM,KAAK,KAAK,EAAE,CAAC;gDAC5B,OAAO,KAAK,CAAC;4CACf,CAAC;4CACD,KAAK,GAAG,MAAM,CAAC;4CACf,MAAM,GAAG,MAAM,CAAC,MAAM,CAAC;4CACvB,SAAS;wCACX,aAAa;wCAEb;4CACE,OAAO,KAAK,CAAC;oCACjB,CAAC;gCACH,CAAC;4BACH,CAAC;4BAED,OAAO,GAAG,CAAC,eAAe,CAAC;wBAC7B,CAAC,CAAC,CAAC;wBACH,IAAI,qBAAqB,EAAE,CAAC;4BAC1B,cAAc,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC;wBACjC,CAAC;6BAAM,CAAC;4BACN,eAAe,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC;wBAClC,CAAC;oBACH,CAAC;gBACH,CAAC;gBAED,IAAI,IAAI,CAAC,UAAU,KAAK,OAAO,IAAI,cAAc,CAAC,MAAM,EAAE,CAAC;oBACzD,aAAa,CAAC,kBAAkB,CAAC,IAAI,CAAC;wBACpC,IAAI;wBACJ,oBAAoB;wBACpB,cAAc;wBACd,gBAAgB;wBAChB,eAAe;qBAChB,CAAC,CAAC;gBACL,CAAC;YACH,CAAC;YAED,cAAc;gBACZ,IAAI,oBAAoB,EAAE,CAAC;oBACzB,iEAAiE;oBACjE,8CAA8C;oBAC9C,EAAE;oBACF,kCAAkC;oBAClC,+DAA+D;oBAC/D,mEAAmE;oBACnE,WAAW;oBACX,mEAAmE;oBACnE,oCAAoC;oBACpC,EAAE;oBACF,sEAAsE;oBACtE,kEAAkE;oBAClE,sEAAsE;oBACtE,sDAAsD;oBACtD,EAAE;oBACF,mEAAmE;oBACnE,UAAU;oBACV,qEAAqE;oBACrE,EAAE;oBACF,EAAE;oBACF,sEAAsE;oBACtE,sEAAsE;oBACtE,qEAAqE;oBACrE,sEAAsE;oBACtE,0DAA0D;oBAC1D,EAAE;oBACF,EAAE;oBACF,0CAA0C;oBAC1C,4CAA4C;oBAC5C,mEAAmE;oBACnE,gEAAgE;oBAChE,aAAa;oBACb,uCAAuC;oBACvC,OAAO;gBACT,CAAC;gBAED,KAAK,MAAM,aAAa,IAAI,MAAM,CAAC,MAAM,CAAC,gBAAgB,CAAC,EAAE,CAAC;oBAC5D,IAAI,aAAa,CAAC,kBAAkB,CAAC,MAAM,KAAK,CAAC,EAAE,CAAC;wBAClD,6EAA6E;wBAC7E,SAAS;oBACX,CAAC;oBACD,KAAK,MAAM,MAAM,IAAI,aAAa,CAAC,kBAAkB,EAAE,CAAC;wBACtD,IACE,MAAM,CAAC,eAAe,CAAC,MAAM,KAAK,CAAC;4BACnC,MAAM,CAAC,gBAAgB,CAAC,MAAM,KAAK,CAAC;4BACpC,MAAM,CAAC,IAAI,CAAC,UAAU,KAAK,MAAM,EACjC,CAAC;4BACD;;;;;;;+BAOG;4BACH,IAAI,MAAM,CAAC,IAAI,CAAC,UAAU,CAAC,MAAM,KAAK,CAAC,EAAE,CAAC;gCACxC,OAAO,CAAC,MAAM,CAAC;oCACb,IAAI,EAAE,MAAM,CAAC,IAAI;oCACjB,SAAS,EAAE,eAAe;oCAC1B,CAAC,GAAG,CAAC,KAAK;wCACR,KAAK,CAAC,CAAC,0BAA0B,CAC/B,KAAK,EACL,MAAM,EACN,aAAa,CACd,CAAC;oCACJ,CAAC;iCACF,CAAC,CAAC;4BACL,CAAC;wBACH,CAAC;6BAAM,CAAC;4BACN,qJAAqJ;4BACrJ,MAAM,WAAW,GAAG,MAAM,CAAC,cAAc,CAAC,GAAG,CAC3C,SAAS,CAAC,EAAE,CAAC,IAAI,SAAS,CAAC,KAAK,CAAC,IAAI,GAAG,CACzC,CAAC;4BAEF,MAAM,OAAO,GAAG,CAAC,GAGf,EAAE;gCACF,MAAM,WAAW,GAAG,IAAA,qBAAc,EAAC,WAAW,CAAC,CAAC;gCAEhD,IAAI,WAAW,CAAC,MAAM,KAAK,CAAC,EAAE,CAAC;oCAC7B,OAAO;wCACL,SAAS,EAAE,yBAAyB;wCACpC,IAAI,EAAE;4CACJ,WAAW;yCACZ;qCACF,CAAC;gCACJ,CAAC;gCACD,OAAO;oCACL,SAAS,EAAE,yBAAyB;oCACpC,IAAI,EAAE;wCACJ,WAAW;qCACZ;iCACF,CAAC;4BACJ,CAAC,CAAC,EAAE,CAAC;4BAEL,OAAO,CAAC,MAAM,CAAC;gCACb,IAAI,EAAE,MAAM,CAAC,IAAI;gCACjB,GAAG,OAAO;gCACV,CAAC,GAAG,CAAC,KAAK;oCACR,yDAAyD;oCACzD,KAAK,CAAC,CAAC,0BAA0B,CAC/B,KAAK,EACL,MAAM,EACN,aAAa,CACd,CAAC;gCACJ,CAAC;6BACF,CAAC,CAAC;wBACL,CAAC;oBACH,CAAC;gBACH,CAAC;YACH,CAAC;SACF,CAAC;QAEF,SAAS,iBAAiB,CAAC,IAAgC;YAKzD,MAAM,gBAAgB,GACpB,IAAI,CAAC,UAAU,CAAC,CAAC,CAAC,CAAC,IAAI,KAAK,sBAAc,CAAC,sBAAsB;gBAC/D,CAAC,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC,CAAC;gBACpB,CAAC,CAAC,IAAI,CAAC;YACX,MAAM,kBAAkB,GACtB,IAAI,CAAC,UAAU,CAAC,IAAI,CAClB,CAAC,SAAS,EAAkD,EAAE,CAC5D,SAAS,CAAC,IAAI,KAAK,sBAAc,CAAC,wBAAwB,CAC7D,IAAI,IAAI,CAAC;YACZ,MAAM,eAAe,GAAG,IAAI,CAAC,UAAU,CAAC,MAAM,CAC5C,CAAC,SAAS,EAAyC,EAAE,CACnD,SAAS,CAAC,IAAI,KAAK,sBAAc,CAAC,eAAe,CACpD,CAAC;YACF,OAAO;gBACL,gBAAgB;gBAChB,eAAe;gBACf,kBAAkB;aACnB,CAAC;QACJ,CAAC;QAED;;WAEG;QACH,SAAS,uBAAuB,CAC9B,KAAyB,EACzB,IAAgC,EAChC,qBAAiD,EACjD,kBAA8C;YAK9C,IAAI,kBAAkB,CAAC,MAAM,KAAK,CAAC,EAAE,CAAC;gBACpC,OAAO;oBACL,yBAAyB,EAAE,EAAE;oBAC7B,uBAAuB,EAAE,EAAE;iBAC5B,CAAC;YACJ,CAAC;YACD,MAAM,wBAAwB,GAAa,EAAE,CAAC;YAC9C,MAAM,yBAAyB,GAAuB,EAAE,CAAC;YACzD,IAAI,qBAAqB,CAAC,MAAM,KAAK,kBAAkB,CAAC,MAAM,EAAE,CAAC;gBAC/D,wCAAwC;gBACxC,4CAA4C;gBAC5C,MAAM,iBAAiB,GAAG,IAAA,iBAAU,EAClC,OAAO,CAAC,UAAU,CAAC,cAAc,CAC/B,qBAAqB,CAAC,CAAC,CAAC,EACxB,0BAAmB,CACpB,EACD,wBAAiB,CAAC,YAAY,CAAC,GAAG,EAAE,IAAI,CAAC,IAAI,CAAC,CAC/C,CAAC;gBACF,MAAM,UAAU,GAAG,IAAA,iBAAU,EAC3B,OAAO,CAAC,UAAU,CAAC,cAAc,CAAC,iBAAiB,EAAE,mBAAY,CAAC,EAClE,wBAAiB,CAAC,YAAY,CAAC,GAAG,EAAE,IAAI,CAAC,IAAI,CAAC,CAC/C,CAAC;gBACF,MAAM,iBAAiB,GAAG,IAAA,iBAAU,EAClC,OAAO,CAAC,UAAU,CAAC,oBAAoB,CACrC,iBAAiB,EACjB,IAAI,CAAC,MAAM,EACX,0BAAmB,CACpB,EACD,wBAAiB,CAAC,YAAY,CAAC,GAAG,EAAE,IAAI,CAAC,IAAI,CAAC,CAC/C,CAAC;gBAEF,mCAAmC;gBACnC,+BAA+B;gBAC/B,yBAAyB,CAAC,IAAI,CAC5B,KAAK,CAAC,WAAW,CAAC,CAAC,UAAU,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,iBAAiB,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC,CACrE,CAAC;gBAEF,wBAAwB,CAAC,IAAI,CAC3B,OAAO,CAAC,UAAU,CAAC,IAAI,CAAC,KAAK,CAC3B,iBAAiB,CAAC,KAAK,CAAC,CAAC,CAAC,EAC1B,iBAAiB,CAAC,KAAK,CAAC,CAAC,CAAC,CAC3B,CACF,CAAC;YACJ,CAAC;iBAAM,CAAC;gBACN,MAAM,oBAAoB,GAAiC,EAAE,CAAC;gBAC9D,IAAI,KAAK,GAA+B,EAAE,CAAC;gBAC3C,KAAK,MAAM,cAAc,IAAI,kBAAkB,EAAE,CAAC;oBAChD,IAAI,qBAAqB,CAAC,QAAQ,CAAC,cAAc,CAAC,EAAE,CAAC;wBACnD,KAAK,CAAC,IAAI,CAAC,cAAc,CAAC,CAAC;oBAC7B,CAAC;yBAAM,IAAI,KAAK,CAAC,MAAM,EAAE,CAAC;wBACxB,oBAAoB,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;wBACjC,KAAK,GAAG,EAAE,CAAC;oBACb,CAAC;gBACH,CAAC;gBACD,IAAI,KAAK,CAAC,MAAM,EAAE,CAAC;oBACjB,oBAAoB,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;gBACnC,CAAC;gBACD,KAAK,MAAM,eAAe,IAAI,oBAAoB,EAAE,CAAC;oBACnD,MAAM,EAAE,WAAW,EAAE,SAAS,EAAE,GAAG,uBAAuB,CACxD,eAAe,EACf,kBAAkB,CACnB,CAAC;oBACF,yBAAyB,CAAC,IAAI,CAAC,KAAK,CAAC,WAAW,CAAC,WAAW,CAAC,CAAC,CAAC;oBAE/D,wBAAwB,CAAC,IAAI,CAC3B,OAAO,CAAC,UAAU,CAAC,IAAI,CAAC,KAAK,CAAC,GAAG,SAAS,CAAC,CAC5C,CAAC;gBACJ,CAAC;YACH,CAAC;YACD,OAAO;gBACL,yBAAyB;gBACzB,uBAAuB,EAAE,wBAAwB,CAAC,IAAI,CAAC,GAAG,CAAC;aAC5D,CAAC;QACJ,CAAC;QAED;;WAEG;QACH,SAAS,uBAAuB,CAC9B,mBAA+C,EAC/C,kBAA8C;YAK9C,MAAM,KAAK,GAAG,mBAAmB,CAAC,CAAC,CAAC,CAAC;YACrC,MAAM,IAAI,GAAG,mBAAmB,CAAC,mBAAmB,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC;YACjE,MAAM,WAAW,GAAmB,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC;YACpE,MAAM,SAAS,GAAmB,CAAC,GAAG,WAAW,CAAC,CAAC;YACnD,MAAM,MAAM,GAAG,IAAA,iBAAU,EACvB,OAAO,CAAC,UAAU,CAAC,cAAc,CAAC,KAAK,CAAC,EACxC,wBAAiB,CAAC,YAAY,CAAC,OAAO,EAAE,iBAAiB,CAAC,CAC3D,CAAC;YACF,SAAS,CAAC,CAAC,CAAC,GAAG,MAAM,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC;YAC/B,IAAI,IAAA,mBAAY,EAAC,MAAM,CAAC,EAAE,CAAC;gBACzB,WAAW,CAAC,CAAC,CAAC,GAAG,MAAM,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC;YACnC,CAAC;iBAAM,CAAC;gBACN,WAAW,CAAC,CAAC,CAAC,GAAG,MAAM,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC;YACnC,CAAC;YAED,MAAM,OAAO,GAAG,kBAAkB,CAAC,CAAC,CAAC,KAAK,KAAK,CAAC;YAChD,MAAM,MAAM,GAAG,kBAAkB,CAAC,kBAAkB,CAAC,MAAM,GAAG,CAAC,CAAC,KAAK,IAAI,CAAC;YAC1E,MAAM,KAAK,GAAG,IAAA,iBAAU,EACtB,OAAO,CAAC,UAAU,CAAC,aAAa,CAAC,IAAI,CAAC,EACtC,wBAAiB,CAAC,YAAY,CAAC,OAAO,EAAE,gBAAgB,CAAC,CAC1D,CAAC;YACF,SAAS,CAAC,CAAC,CAAC,GAAG,KAAK,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC;YAC9B,IAAI,CAAC,OAAO,IAAI,MAAM,CAAC,IAAI,IAAA,mBAAY,EAAC,KAAK,CAAC,EAAE,CAAC;gBAC/C,WAAW,CAAC,CAAC,CAAC,GAAG,KAAK,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC;YAClC,CAAC;YAED,OAAO;gBACL,WAAW;gBACX,SAAS;aACV,CAAC;QACJ,CAAC;QAED;;;;;WAKG;QACH,SAAS,4CAA4C,CACnD,KAAyB,EACzB,MAAkC,EAClC,UAAkB;YAElB,MAAM,iBAAiB,GAAG,IAAA,iBAAU,EAClC,OAAO,CAAC,UAAU,CAAC,oBAAoB,CACrC,IAAA,iBAAU,EACR,OAAO,CAAC,UAAU,CAAC,aAAa,CAAC,MAAM,CAAC,EACxC,wBAAiB,CAAC,YAAY,CAAC,cAAc,EAAE,QAAQ,CAAC,CACzD,EACD,MAAM,CAAC,MAAM,EACb,0BAAmB,CACpB,EACD,wBAAiB,CAAC,YAAY,CAAC,GAAG,EAAE,MAAM,CAAC,IAAI,CAAC,CACjD,CAAC;YACF,MAAM,MAAM,GAAG,IAAA,iBAAU,EACvB,OAAO,CAAC,UAAU,CAAC,cAAc,CAAC,iBAAiB,CAAC,EACpD,wBAAiB,CAAC,YAAY,CAAC,cAAc,EAAE,eAAe,CAAC,CAChE,CAAC;YACF,IAAI,CAAC,IAAA,mBAAY,EAAC,MAAM,CAAC,IAAI,CAAC,IAAA,0BAAmB,EAAC,MAAM,CAAC,EAAE,CAAC;gBAC1D,UAAU,GAAG,IAAI,UAAU,EAAE,CAAC;YAChC,CAAC;YACD,OAAO,KAAK,CAAC,gBAAgB,CAAC,iBAAiB,EAAE,UAAU,CAAC,CAAC;QAC/D,CAAC;QAED;;;;;WAKG;QACH,QAAQ,CAAC,CAAC,wCAAwC,CAChD,KAAyB,EACzB,cAA0C;YAE1C,KAAK,MAAM,IAAI,IAAI,cAAc,EAAE,CAAC;gBAClC,MAAM,UAAU,GAAG,OAAO,CAAC,UAAU,CAAC,IAAI,CAAC,KAAK,CAAC,GAAG,IAAI,CAAC,KAAK,CAAC,CAAC;gBAChE,MAAM,KAAK,CAAC,gBAAgB,CAAC,IAAI,CAAC,KAAK,EAAE,QAAQ,UAAU,EAAE,CAAC,CAAC;YACjE,CAAC;QACH,CAAC;QAED,QAAQ,CAAC,CAAC,8BAA8B,CACtC,KAAyB,EACzB,MAAyB,EACzB,aAA4B;YAE5B,MAAM,EAAE,IAAI,EAAE,GAAG,MAAM,CAAC;YACxB,uEAAuE;YACvE,MAAM,EAAE,eAAe,EAAE,GAAG,iBAAiB,CAAC,IAAI,CAAC,CAAC;YACpD,MAAM,mBAAmB,GAAG,eAAe,CAAC,MAAM,CAAC,SAAS,CAAC,EAAE,CAC7D,MAAM,CAAC,cAAc,CAAC,QAAQ,CAAC,SAAS,CAAC,CAC1C,CAAC;YAEF,IAAI,aAAa,CAAC,WAAW,EAAE,CAAC;gBAC9B,uDAAuD;gBACvD,4BAA4B;gBAC5B,+BAA+B;gBAC/B,MAAM,EAAE,eAAe,EAAE,0BAA0B,EAAE,GACnD,iBAAiB,CAAC,aAAa,CAAC,WAAW,CAAC,CAAC;gBAC/C,IACE,aAAa,CAAC,oBAAoB;oBAClC,0BAA0B,CAAC,MAAM,EACjC,CAAC;oBACD,KAAK,CAAC,CAAC,wCAAwC,CAC7C,KAAK,EACL,mBAAmB,CACpB,CAAC;gBACJ,CAAC;YACH,CAAC;QACH,CAAC;QAED,QAAQ,CAAC,CAAC,0BAA0B,CAClC,KAAyB,EACzB,MAAyB,EACzB,aAA4B;YAE5B,MAAM,EAAE,IAAI,EAAE,GAAG,MAAM,CAAC;YAExB,MAAM,EAAE,gBAAgB,EAAE,eAAe,EAAE,kBAAkB,EAAE,GAC7D,iBAAiB,CAAC,IAAI,CAAC,CAAC;YAE1B,IAAI,kBAAkB,IAAI,CAAC,gBAAgB,EAAE,CAAC;gBAC5C,+BAA+B;gBAE/B,2CAA2C;gBAC3C,IAAI,IAAI,CAAC,UAAU,CAAC,MAAM,KAAK,CAAC,EAAE,CAAC;oBACjC,KAAK,CAAC,CAAC,0CAA0C,CAAC,KAAK,EAAE,IAAI,EAAE,KAAK,CAAC,CAAC;gBACxE,CAAC;gBACD,OAAO;YACT,CAAC;YAED,IAAI,gBAAgB,EAAE,CAAC;gBACrB,IACE,MAAM,CAAC,cAAc,CAAC,QAAQ,CAAC,gBAAgB,CAAC;oBAChD,eAAe,CAAC,MAAM,KAAK,CAAC;oBAC5B,CAAC,kBAAkB,EACnB,CAAC;oBACD,yBAAyB;oBACzB,KAAK,CAAC,CAAC,0CAA0C,CAAC,KAAK,EAAE,IAAI,EAAE,IAAI,CAAC,CAAC;oBACrE,OAAO;gBACT,CAAC;gBAED,IACE,QAAQ,KAAK,qBAAqB;oBAClC,CAAC,MAAM,CAAC,cAAc,CAAC,QAAQ,CAAC,gBAAgB,CAAC;oBACjD,eAAe,CAAC,MAAM,GAAG,CAAC;oBAC1B,CAAC,kBAAkB,EACnB,CAAC;oBACD,gIAAgI;oBAChI,mDAAmD;oBACnD,KAAK,CAAC,CAAC,8BAA8B,CAAC,KAAK,EAAE,MAAM,EAAE,aAAa,CAAC,CAAC;oBACpE,OAAO;gBACT,CAAC;YACH,CAAC;iBAAM,IAAI,CAAC,kBAAkB,EAAE,CAAC;gBAC/B,IACE,QAAQ,KAAK,qBAAqB;oBAClC,eAAe,CAAC,IAAI,CAAC,SAAS,CAAC,EAAE,CAC/B,MAAM,CAAC,cAAc,CAAC,QAAQ,CAAC,SAAS,CAAC,CAC1C,EACD,CAAC;oBACD,2CAA2C;oBAC3C,KAAK,CAAC,CAAC,8BAA8B,CAAC,KAAK,EAAE,MAAM,EAAE,aAAa,CAAC,CAAC;oBACpE,OAAO;gBACT,CAAC;gBAED,IACE,eAAe,CAAC,KAAK,CAAC,SAAS,CAAC,EAAE,CAChC,MAAM,CAAC,cAAc,CAAC,QAAQ,CAAC,SAAS,CAAC,CAC1C,EACD,CAAC;oBACD,mCAAmC;oBACnC,KAAK,CAAC,CAAC,0CAA0C,CAAC,KAAK,EAAE,IAAI,EAAE,KAAK,CAAC,CAAC;oBACtE,OAAO;gBACT,CAAC;YACH,CAAC;YAED,MAAM,mBAAmB,GAAG,eAAe,CAAC,MAAM,CAAC,SAAS,CAAC,EAAE,CAC7D,MAAM,CAAC,cAAc,CAAC,QAAQ,CAAC,SAAS,CAAC,CAC1C,CAAC;YAEF,MAAM,oBAAoB,GAAG,uBAAuB,CAClD,KAAK,EACL,IAAI,EACJ,mBAAmB,EACnB,eAAe,CAChB,CAAC;YACF,MAAM,UAAU,GAAuB,EAAE,CAAC;YAC1C,IAAI,mBAAmB,CAAC,MAAM,EAAE,CAAC;gBAC/B,IAAI,aAAa,CAAC,mBAAmB,EAAE,CAAC;oBACtC,MAAM,yBAAyB,GAC7B,4CAA4C,CAC1C,KAAK,EACL,aAAa,CAAC,mBAAmB,EACjC,oBAAoB,CAAC,uBAAuB,CAC7C,CAAC;oBACJ,IAAI,aAAa,CAAC,mBAAmB,CAAC,KAAK,CAAC,CAAC,CAAC,IAAI,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,CAAC;wBAChE,MAAM,yBAAyB,CAAC;oBAClC,CAAC;yBAAM,CAAC;wBACN,UAAU,CAAC,IAAI,CAAC,yBAAyB,CAAC,CAAC;oBAC7C,CAAC;gBACH,CAAC;qBAAM,CAAC;oBACN,+HAA+H;oBAC/H,wCAAwC;oBACxC,IAAI,QAAQ,KAAK,qBAAqB,EAAE,CAAC;wBACvC,MAAM,KAAK,CAAC,gBAAgB,CAC1B,IAAI,EACJ,WAAW,mBAAmB;6BAC3B,GAAG,CAAC,IAAI,CAAC,EAAE;4BACV,MAAM,UAAU,GAAG,OAAO,CAAC,UAAU,CAAC,IAAI,CAAC,KAAK,CAC9C,GAAG,IAAI,CAAC,KAAK,CACd,CAAC;4BACF,OAAO,QAAQ,UAAU,EAAE,CAAC;wBAC9B,CAAC,CAAC;6BACD,IAAI,CACH,IAAI,CACL,UAAU,OAAO,CAAC,UAAU,CAAC,OAAO,CAAC,IAAI,CAAC,MAAM,CAAC,KAAK,CAC1D,CAAC;oBACJ,CAAC;yBAAM,CAAC;wBACN,MAAM,KAAK,CAAC,gBAAgB,CAC1B,IAAI,EACJ,gBACE,oBAAoB,CAAC,uBACvB,UAAU,OAAO,CAAC,UAAU,CAAC,OAAO,CAAC,IAAI,CAAC,MAAM,CAAC,KAAK,CACvD,CAAC;oBACJ,CAAC;gBACH,CAAC;YACH,CAAC;YAED,MAAM,iCAAiC,GAAuB,EAAE,CAAC;YACjE,IACE,kBAAkB;gBAClB,MAAM,CAAC,cAAc,CAAC,QAAQ,CAAC,kBAAkB,CAAC,EAClD,CAAC;gBACD,mCAAmC;gBACnC,uCAAuC;gBACvC,uCAAuC;gBACvC,MAAM,UAAU,GAAG,IAAA,iBAAU,EAC3B,OAAO,CAAC,UAAU,CAAC,cAAc,CAAC,kBAAkB,EAAE,mBAAY,CAAC,EACnE,wBAAiB,CAAC,YAAY,CAAC,GAAG,EAAE,IAAI,CAAC,IAAI,CAAC,CAC/C,CAAC;gBAEF,iCAAiC;gBACjC,6BAA6B;gBAC7B,iCAAiC,CAAC,IAAI,CACpC,KAAK,CAAC,WAAW,CAAC,CAAC,UAAU,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,kBAAkB,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC,CACtE,CAAC;gBAEF,iCAAiC;gBACjC,wCAAwC;gBACxC,MAAM,KAAK,CAAC,gBAAgB,CAC1B,IAAI,EACJ,eAAe,OAAO,CAAC,UAAU,CAAC,OAAO,CACvC,kBAAkB,CACnB,SAAS,OAAO,CAAC,UAAU,CAAC,OAAO,CAAC,IAAI,CAAC,MAAM,CAAC,KAAK,CACvD,CAAC;YACJ,CAAC;YACD,IACE,gBAAgB;gBAChB,MAAM,CAAC,cAAc,CAAC,QAAQ,CAAC,gBAAgB,CAAC,EAChD,CAAC;gBACD,IAAI,MAAM,CAAC,cAAc,CAAC,MAAM,KAAK,IAAI,CAAC,UAAU,CAAC,MAAM,EAAE,CAAC;oBAC5D,MAAM,WAAW,GAAG,IAAA,iBAAU,EAC5B,OAAO,CAAC,UAAU,CAAC,aAAa,CAAC,IAAI,EAAE,sBAAe,CAAC,EACvD,wBAAiB,CAAC,YAAY,CAAC,QAAQ,EAAE,IAAI,CAAC,IAAI,CAAC,CACpD,CAAC;oBACF,8BAA8B;oBAC9B,qBAAqB;oBACrB,MAAM,KAAK,CAAC,eAAe,CAAC,WAAW,EAAE,OAAO,CAAC,CAAC;gBACpD,CAAC;qBAAM,CAAC;oBACN,MAAM,UAAU,GAAG,IAAA,iBAAU,EAC3B,OAAO,CAAC,UAAU,CAAC,aAAa,CAAC,gBAAgB,EAAE,mBAAY,CAAC,EAChE,wBAAiB,CAAC,YAAY,CAAC,GAAG,EAAE,gBAAgB,CAAC,IAAI,CAAC,CAC3D,CAAC;oBACF,iCAAiC;oBACjC,oBAAoB;oBACpB,MAAM,WAAW,GAAG,OAAO,CAAC,UAAU,CAAC,IAAI;yBACxC,KAAK,CAAC,gBAAgB,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,UAAU,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC;yBACrD,IAAI,EAAE,CAAC;oBACV,MAAM,KAAK,CAAC,gBAAgB,CAC1B,IAAI,EACJ,eAAe,WAAW,SAAS,OAAO,CAAC,UAAU,CAAC,OAAO,CAC3D,IAAI,CAAC,MAAM,CACZ,KAAK,CACP,CAAC;oBACF,MAAM,UAAU,GAAG,IAAA,iBAAU,EAC3B,OAAO,CAAC,UAAU,CAAC,aAAa,CAAC,UAAU,EAAE;wBAC3C,eAAe,EAAE,IAAI;qBACtB,CAAC,EACF,wBAAiB,CAAC,YAAY,CAAC,WAAW,EAAE,IAAI,CAAC,IAAI,CAAC,CACvD,CAAC;oBACF,iCAAiC;oBACjC,wBAAwB;oBACxB,MAAM,KAAK,CAAC,WAAW,CAAC;wBACtB,gBAAgB,CAAC,KAAK,CAAC,CAAC,CAAC;wBACzB,UAAU,CAAC,KAAK,CAAC,CAAC,CAAC;qBACpB,CAAC,CAAC;gBACL,CAAC;YACH,CAAC;YAED,KAAK,CAAC,CAAC,oBAAoB,CAAC,yBAAyB,CAAC;YACtD,KAAK,CAAC,CAAC,iCAAiC,CAAC;YAEzC,KAAK,CAAC,CAAC,UAAU,CAAC;QACpB,CAAC;QAED,QAAQ,CAAC,CAAC,0CAA0C,CAClD,KAAyB,EACzB,IAAgC,EAChC,eAAwB;YAExB,6BAA6B;YAC7B,qBAAqB;YACrB,MAAM,WAAW,GAAG,IAAA,iBAAU,EAC5B,OAAO,CAAC,UAAU,CAAC,aAAa,CAAC,IAAI,EAAE,sBAAe,CAAC,EACvD,wBAAiB,CAAC,YAAY,CAAC,QAAQ,EAAE,IAAI,CAAC,IAAI,CAAC,CACpD,CAAC;YACF,MAAM,KAAK,CAAC,eAAe,CAAC,WAAW,EAAE,OAAO,CAAC,CAAC;YAElD,IAAI,eAAe,EAAE,CAAC;gBACpB,qBAAqB;gBACrB,MAAM,iBAAiB,GAAG,OAAO,CAAC,UAAU,CAAC,oBAAoB,CAC/D,WAAW,EACX,IAAI,CAAC,MAAM,EACX,0BAAmB,CACpB,CAAC;gBACF,IAAI,iBAAiB,EAAE,CAAC;oBACtB,8CAA8C;oBAC9C,MAAM,UAAU,GAAG,IAAA,iBAAU,EAC3B,OAAO,CAAC,UAAU,CAAC,cAAc,CAAC,iBAAiB,EAAE,mBAAY,CAAC,EAClE,wBAAiB,CAAC,YAAY,CAAC,GAAG,EAAE,IAAI,CAAC,IAAI,CAAC,CAC/C,CAAC;oBACF,MAAM,iBAAiB,GAAG,IAAA,iBAAU,EAClC,OAAO,CAAC,UAAU,CAAC,oBAAoB,CACrC,iBAAiB,EACjB,IAAI,CAAC,MAAM,EACX,0BAAmB,CACpB,EACD,wBAAiB,CAAC,YAAY,CAAC,GAAG,EAAE,IAAI,CAAC,IAAI,CAAC,CAC/C,CAAC;oBAEF,iCAAiC;oBACjC,6BAA6B;oBAC7B,MAAM,KAAK,CAAC,WAAW,CAAC;wBACtB,UAAU,CAAC,KAAK,CAAC,CAAC,CAAC;wBACnB,iBAAiB,CAAC,KAAK,CAAC,CAAC,CAAC;qBAC3B,CAAC,CAAC;oBACH,MAAM,cAAc,GAAG,OAAO,CAAC,UAAU,CAAC,IAAI,CAAC,KAAK,CAClD,UAAU,CAAC,KAAK,CAAC,CAAC,CAAC,EACnB,iBAAiB,CAAC,KAAK,CAAC,CAAC,CAAC,CAC3B,CAAC;oBACF,IAAI,IAAI,CAAC,UAAU,CAAC,MAAM,GAAG,CAAC,EAAE,CAAC;wBAC/B,MAAM,KAAK,CAAC,eAAe,CACzB,IAAI,EACJ,gBAAgB,cAAc,SAAS,OAAO,CAAC,UAAU,CAAC,OAAO,CAC/D,IAAI,CAAC,MAAM,CACZ,GAAG,CACL,CAAC;oBACJ,CAAC;gBACH,CAAC;YACH,CAAC;YAED,yEAAyE;YACzE,KAAK,MAAM,SAAS,IAAI,IAAI,CAAC,UAAU,EAAE,CAAC;gBACxC,IACE,SAAS,CAAC,IAAI,KAAK,sBAAc,CAAC,eAAe;oBACjD,SAAS,CAAC,UAAU,KAAK,MAAM,EAC/B,CAAC;oBACD,KAAK,CAAC,CAAC,yCAAyC,CAAC,KAAK,EAAE,SAAS,CAAC,CAAC;gBACrE,CAAC;YACH,CAAC;QACH,CAAC;QAED,QAAQ,CAAC,CAAC,2CAA2C,CACnD,KAAyB,EACzB,IAAgC;YAEhC,6BAA6B;YAC7B,qBAAqB;YACrB,MAAM,WAAW,GAAG,IAAA,iBAAU,EAC5B,OAAO,CAAC,UAAU,CAAC,aAAa,CAAC,IAAI,EAAE,sBAAe,CAAC,EACvD,wBAAiB,CAAC,YAAY,CAAC,QAAQ,EAAE,IAAI,CAAC,IAAI,CAAC,CACpD,CAAC;YACF,MAAM,SAAS,GAAG,IAAA,iBAAU,EAC1B,OAAO,CAAC,UAAU,CAAC,oBAAoB,CACrC,WAAW,EACX,IAAI,CAAC,UAAU,CAAC,CAAC,CAAC,EAAE,KAAK,IAAI,IAAI,CAAC,MAAM,EACxC,oBAAa,CACd,EACD,wBAAiB,CAAC,YAAY,CAAC,MAAM,EAAE,IAAI,CAAC,IAAI,CAAC,CAClD,CAAC;YACF,MAAM,UAAU,GAAG,IAAA,iBAAU,EAC3B,OAAO,CAAC,UAAU,CAAC,aAAa,CAAC,SAAS,EAAE,EAAE,eAAe,EAAE,IAAI,EAAE,CAAC,EACtE,wBAAiB,CAAC,YAAY,CAAC,WAAW,EAAE,IAAI,CAAC,IAAI,CAAC,CACvD,CAAC;YACF,MAAM,KAAK,CAAC,WAAW,CAAC,CAAC,SAAS,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,UAAU,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QACrE,CAAC;QAED,QAAQ,CAAC,CAAC,yCAAyC,CACjD,KAAyB,EACzB,IAA8B;YAE9B,iCAAiC;YACjC,uBAAuB;YACvB,MAAM,SAAS,GAAG,IAAA,iBAAU,EAC1B,OAAO,CAAC,UAAU,CAAC,aAAa,CAAC,IAAI,EAAE,oBAAa,CAAC,EACrD,wBAAiB,CAAC,YAAY,CAAC,MAAM,EAAE,IAAI,CAAC,IAAI,CAAC,CAClD,CAAC;YACF,MAAM,UAAU,GAAG,IAAA,iBAAU,EAC3B,OAAO,CAAC,UAAU,CAAC,aAAa,CAAC,SAAS,EAAE,EAAE,eAAe,EAAE,IAAI,EAAE,CAAC,EACtE,wBAAiB,CAAC,YAAY,CAAC,WAAW,EAAE,IAAI,CAAC,IAAI,CAAC,CACvD,CAAC;YACF,MAAM,KAAK,CAAC,WAAW,CAAC,CAAC,SAAS,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,UAAU,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QACrE,CAAC;IACH,CAAC;CACF,CAAC,CAAC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/dot-notation.js b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/dot-notation.js index 57361dbd20..42a8d50c0d 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/dot-notation.js +++ b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/dot-notation.js @@ -15,13 +15,23 @@ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? ( }) : function(o, v) { o["default"] = v; }); -var __importStar = (this && this.__importStar) || function (mod) { - if (mod && mod.__esModule) return mod; - var result = {}; - if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k); - __setModuleDefault(result, mod); - return result; -}; +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); Object.defineProperty(exports, "__esModule", { value: true }); const utils_1 = require("@typescript-eslint/utils"); const tsutils = __importStar(require("ts-api-utils")); diff --git a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/dot-notation.js.map b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/dot-notation.js.map index 34b066e3a7..aabceed1bd 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/dot-notation.js.map +++ b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/dot-notation.js.map @@ -1 +1 @@ -{"version":3,"file":"dot-notation.js","sourceRoot":"","sources":["../../src/rules/dot-notation.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AAEA,oDAA0D;AAC1D,sDAAwC;AACxC,+CAAiC;AAOjC,kCAAsE;AACtE,iEAA8D;AAE9D,MAAM,QAAQ,GAAG,IAAA,qCAAiB,EAAC,cAAc,CAAC,CAAC;AAKnD,MAAM,cAAc,GAAY;IAC9B;QACE,iCAAiC,EAAE,KAAK;QACxC,aAAa,EAAE,IAAI;QACnB,YAAY,EAAE,EAAE;QAChB,+BAA+B,EAAE,KAAK;QACtC,iCAAiC,EAAE,KAAK;KACzC;CACF,CAAC;AAEF,kBAAe,IAAA,iBAAU,EAAsB;IAC7C,IAAI,EAAE,cAAc;IACpB,IAAI,EAAE;QACJ,IAAI,EAAE,YAAY;QAClB,cAAc;QACd,IAAI,EAAE;YACJ,WAAW,EAAE,wCAAwC;YACrD,eAAe,EAAE,IAAI;YACrB,WAAW,EAAE,WAAW;YACxB,oBAAoB,EAAE,IAAI;SAC3B;QACD,OAAO,EAAE,QAAQ,CAAC,IAAI,CAAC,OAAO;QAC9B,cAAc,EAAE,QAAQ,CAAC,IAAI,CAAC,cAAc;QAC5C,QAAQ,EAAE,QAAQ,CAAC,IAAI,CAAC,QAAQ;QAChC,MAAM,EAAE;YACN;gBACE,IAAI,EAAE,QAAQ;gBACd,oBAAoB,EAAE,KAAK;gBAC3B,UAAU,EAAE;oBACV,iCAAiC,EAAE;wBACjC,IAAI,EAAE,SAAS;wBACf,OAAO,EAAE,KAAK;wBACd,WAAW,EACT,wFAAwF;qBAC3F;oBACD,aAAa,EAAE;wBACb,IAAI,EAAE,SAAS;wBACf,OAAO,EAAE,IAAI;wBACb,WAAW,EAAE,+CAA+C;qBAC7D;oBACD,YAAY,EAAE;wBACZ,IAAI,EAAE,QAAQ;wBACd,OAAO,EAAE,EAAE;wBACX,WAAW,EAAE,uCAAuC;qBACrD;oBACD,+BAA+B,EAAE;wBAC/B,IAAI,EAAE,SAAS;wBACf,OAAO,EAAE,KAAK;wBACd,WAAW,EACT,mFAAmF;qBACtF;oBACD,iCAAiC,EAAE;wBACjC,IAAI,EAAE,SAAS;wBACf,OAAO,EAAE,KAAK;wBACd,WAAW,EACT,qFAAqF;qBACxF;iBACF;aACF;SACF;KACF;IACD,cAAc;IACd,MAAM,CAAC,OAAO,EAAE,CAAC,OAAO,CAAC;QACvB,MAAM,KAAK,GAAG,QAAQ,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC;QACvC,MAAM,QAAQ,GAAG,IAAA,wBAAiB,EAAC,OAAO,CAAC,CAAC;QAE5C,MAAM,+BAA+B,GACnC,OAAO,CAAC,+BAA+B,CAAC;QAC1C,MAAM,iCAAiC,GACrC,OAAO,CAAC,iCAAiC,CAAC;QAC5C,MAAM,iCAAiC,GACrC,CAAC,OAAO,CAAC,iCAAiC,IAAI,KAAK,CAAC;YACpD,OAAO,CAAC,uBAAuB,CAC7B,QAAQ,CAAC,OAAO,CAAC,kBAAkB,EAAE,EACrC,oCAAoC,CACrC,CAAC;QAEJ,OAAO;YACL,gBAAgB,CAAC,IAA+B;gBAC9C,IACE,CAAC,+BAA+B;oBAC9B,iCAAiC;oBACjC,iCAAiC,CAAC;oBACpC,IAAI,CAAC,QAAQ,EACb,CAAC;oBACD,sDAAsD;oBACtD,MAAM,cAAc,GAClB,QAAQ,CAAC,mBAAmB,CAAC,IAAI,CAAC,QAAQ,CAAC;wBAC3C,QAAQ;6BACL,iBAAiB,CAAC,IAAI,CAAC,MAAM,CAAC;6BAC9B,kBAAkB,EAAE;6BACpB,aAAa,EAAE;6BACf,IAAI,CACH,cAAc,CAAC,EAAE,CACf,IAAI,CAAC,QAAQ,CAAC,IAAI,KAAK,sBAAc,CAAC,OAAO;4BAC7C,cAAc,CAAC,WAAW,KAAK,IAAI,CAAC,QAAQ,CAAC,KAAK,CACrD,CAAC;oBACN,MAAM,YAAY,GAAG,IAAA,mBAAY,EAC/B,cAAc,EAAE,eAAe,EAAE,EAAE,CAAC,CAAC,CAAC,CACvC,EAAE,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC;oBACZ,IACE,CAAC,+BAA+B;wBAC9B,YAAY,KAAK,EAAE,CAAC,UAAU,CAAC,cAAc,CAAC;wBAChD,CAAC,iCAAiC;4BAChC,YAAY,KAAK,EAAE,CAAC,UAAU,CAAC,gBAAgB,CAAC,EAClD,CAAC;wBACD,OAAO;oBACT,CAAC;oBACD,IACE,cAAc,KAAK,SAAS;wBAC5B,iCAAiC,EACjC,CAAC;wBACD,MAAM,UAAU,GAAG,QAAQ,CAAC,iBAAiB,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC;wBAC3D,MAAM,SAAS,GAAG,UAAU;6BACzB,kBAAkB,EAAE;6BACpB,kBAAkB,EAAE,CAAC;wBACxB,IAAI,SAAS,KAAK,SAAS,EAAE,CAAC;4BAC5B,OAAO;wBACT,CAAC;oBACH,CAAC;gBACH,CAAC;gBACD,KAAK,CAAC,gBAAgB,CAAC,IAAI,CAAC,CAAC;YAC/B,CAAC;SACF,CAAC;IACJ,CAAC;CACF,CAAC,CAAC"} \ No newline at end of file +{"version":3,"file":"dot-notation.js","sourceRoot":"","sources":["../../src/rules/dot-notation.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEA,oDAA0D;AAC1D,sDAAwC;AACxC,+CAAiC;AAOjC,kCAAsE;AACtE,iEAA8D;AAE9D,MAAM,QAAQ,GAAG,IAAA,qCAAiB,EAAC,cAAc,CAAC,CAAC;AAKnD,MAAM,cAAc,GAAY;IAC9B;QACE,iCAAiC,EAAE,KAAK;QACxC,aAAa,EAAE,IAAI;QACnB,YAAY,EAAE,EAAE;QAChB,+BAA+B,EAAE,KAAK;QACtC,iCAAiC,EAAE,KAAK;KACzC;CACF,CAAC;AAEF,kBAAe,IAAA,iBAAU,EAAsB;IAC7C,IAAI,EAAE,cAAc;IACpB,IAAI,EAAE;QACJ,IAAI,EAAE,YAAY;QAClB,cAAc;QACd,IAAI,EAAE;YACJ,WAAW,EAAE,wCAAwC;YACrD,eAAe,EAAE,IAAI;YACrB,WAAW,EAAE,WAAW;YACxB,oBAAoB,EAAE,IAAI;SAC3B;QACD,OAAO,EAAE,QAAQ,CAAC,IAAI,CAAC,OAAO;QAC9B,cAAc,EAAE,QAAQ,CAAC,IAAI,CAAC,cAAc;QAC5C,QAAQ,EAAE,QAAQ,CAAC,IAAI,CAAC,QAAQ;QAChC,MAAM,EAAE;YACN;gBACE,IAAI,EAAE,QAAQ;gBACd,oBAAoB,EAAE,KAAK;gBAC3B,UAAU,EAAE;oBACV,iCAAiC,EAAE;wBACjC,IAAI,EAAE,SAAS;wBACf,OAAO,EAAE,KAAK;wBACd,WAAW,EACT,wFAAwF;qBAC3F;oBACD,aAAa,EAAE;wBACb,IAAI,EAAE,SAAS;wBACf,OAAO,EAAE,IAAI;wBACb,WAAW,EAAE,+CAA+C;qBAC7D;oBACD,YAAY,EAAE;wBACZ,IAAI,EAAE,QAAQ;wBACd,OAAO,EAAE,EAAE;wBACX,WAAW,EAAE,uCAAuC;qBACrD;oBACD,+BAA+B,EAAE;wBAC/B,IAAI,EAAE,SAAS;wBACf,OAAO,EAAE,KAAK;wBACd,WAAW,EACT,mFAAmF;qBACtF;oBACD,iCAAiC,EAAE;wBACjC,IAAI,EAAE,SAAS;wBACf,OAAO,EAAE,KAAK;wBACd,WAAW,EACT,qFAAqF;qBACxF;iBACF;aACF;SACF;KACF;IACD,cAAc;IACd,MAAM,CAAC,OAAO,EAAE,CAAC,OAAO,CAAC;QACvB,MAAM,KAAK,GAAG,QAAQ,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC;QACvC,MAAM,QAAQ,GAAG,IAAA,wBAAiB,EAAC,OAAO,CAAC,CAAC;QAE5C,MAAM,+BAA+B,GACnC,OAAO,CAAC,+BAA+B,CAAC;QAC1C,MAAM,iCAAiC,GACrC,OAAO,CAAC,iCAAiC,CAAC;QAC5C,MAAM,iCAAiC,GACrC,CAAC,OAAO,CAAC,iCAAiC,IAAI,KAAK,CAAC;YACpD,OAAO,CAAC,uBAAuB,CAC7B,QAAQ,CAAC,OAAO,CAAC,kBAAkB,EAAE,EACrC,oCAAoC,CACrC,CAAC;QAEJ,OAAO;YACL,gBAAgB,CAAC,IAA+B;gBAC9C,IACE,CAAC,+BAA+B;oBAC9B,iCAAiC;oBACjC,iCAAiC,CAAC;oBACpC,IAAI,CAAC,QAAQ,EACb,CAAC;oBACD,sDAAsD;oBACtD,MAAM,cAAc,GAClB,QAAQ,CAAC,mBAAmB,CAAC,IAAI,CAAC,QAAQ,CAAC;wBAC3C,QAAQ;6BACL,iBAAiB,CAAC,IAAI,CAAC,MAAM,CAAC;6BAC9B,kBAAkB,EAAE;6BACpB,aAAa,EAAE;6BACf,IAAI,CACH,cAAc,CAAC,EAAE,CACf,IAAI,CAAC,QAAQ,CAAC,IAAI,KAAK,sBAAc,CAAC,OAAO;4BAC7C,cAAc,CAAC,WAAW,KAAK,IAAI,CAAC,QAAQ,CAAC,KAAK,CACrD,CAAC;oBACN,MAAM,YAAY,GAAG,IAAA,mBAAY,EAC/B,cAAc,EAAE,eAAe,EAAE,EAAE,CAAC,CAAC,CAAC,CACvC,EAAE,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC;oBACZ,IACE,CAAC,+BAA+B;wBAC9B,YAAY,KAAK,EAAE,CAAC,UAAU,CAAC,cAAc,CAAC;wBAChD,CAAC,iCAAiC;4BAChC,YAAY,KAAK,EAAE,CAAC,UAAU,CAAC,gBAAgB,CAAC,EAClD,CAAC;wBACD,OAAO;oBACT,CAAC;oBACD,IACE,cAAc,KAAK,SAAS;wBAC5B,iCAAiC,EACjC,CAAC;wBACD,MAAM,UAAU,GAAG,QAAQ,CAAC,iBAAiB,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC;wBAC3D,MAAM,SAAS,GAAG,UAAU;6BACzB,kBAAkB,EAAE;6BACpB,kBAAkB,EAAE,CAAC;wBACxB,IAAI,SAAS,KAAK,SAAS,EAAE,CAAC;4BAC5B,OAAO;wBACT,CAAC;oBACH,CAAC;gBACH,CAAC;gBACD,KAAK,CAAC,gBAAgB,CAAC,IAAI,CAAC,CAAC;YAC/B,CAAC;SACF,CAAC;IACJ,CAAC;CACF,CAAC,CAAC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/enum-utils/shared.js b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/enum-utils/shared.js index 632b09de01..122b135bd3 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/enum-utils/shared.js +++ b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/enum-utils/shared.js @@ -15,13 +15,23 @@ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? ( }) : function(o, v) { o["default"] = v; }); -var __importStar = (this && this.__importStar) || function (mod) { - if (mod && mod.__esModule) return mod; - var result = {}; - if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k); - __setModuleDefault(result, mod); - return result; -}; +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); Object.defineProperty(exports, "__esModule", { value: true }); exports.getEnumLiterals = getEnumLiterals; exports.getEnumTypes = getEnumTypes; diff --git a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/enum-utils/shared.js.map b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/enum-utils/shared.js.map index 726984ccaf..74eecb8466 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/enum-utils/shared.js.map +++ b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/enum-utils/shared.js.map @@ -1 +1 @@ -{"version":3,"file":"shared.js","sourceRoot":"","sources":["../../../src/rules/enum-utils/shared.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AAkCA,0CAMC;AAWD,oCAKC;AAgBD,oDAkCC;AA1GD,sDAAwC;AACxC,+CAAiC;AAEjC,qCAA2C;AAE3C;;;;;;;GAOG;AACH,SAAS,eAAe,CAAC,WAA2B,EAAE,IAAa;IACjE,oEAAoE;IACpE,MAAM,MAAM,GAAG,IAAI,CAAC,SAAS,EAAG,CAAC;IACjC,IAAI,CAAC,OAAO,CAAC,eAAe,CAAC,MAAM,EAAE,EAAE,CAAC,WAAW,CAAC,UAAU,CAAC,EAAE,CAAC;QAChE,OAAO,IAAI,CAAC;IACd,CAAC;IAED,OAAO,WAAW,CAAC,iBAAiB,CACjC,MAAM,CAAC,gBAAkC,CAAC,MAAM,CAClD,CAAC;AACJ,CAAC;AAED;;;;;;;;GAQG;AACH,SAAgB,eAAe,CAAC,IAAa;IAC3C,OAAO,OAAO;SACX,cAAc,CAAC,IAAI,CAAC;SACpB,MAAM,CAAC,CAAC,OAAO,EAA6B,EAAE,CAC7C,IAAA,oBAAa,EAAC,OAAO,EAAE,EAAE,CAAC,SAAS,CAAC,WAAW,CAAC,CACjD,CAAC;AACN,CAAC;AAED;;;;;;;;GAQG;AACH,SAAgB,YAAY,CAC1B,WAA2B,EAC3B,IAAa;IAEb,OAAO,eAAe,CAAC,IAAI,CAAC,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE,CAAC,eAAe,CAAC,WAAW,EAAE,IAAI,CAAC,CAAC,CAAC;AAC/E,CAAC;AAED;;;;;;;;;;;;;GAaG;AACH,SAAgB,oBAAoB,CAClC,YAA8B,EAC9B,OAAgB;IAEhB,KAAK,MAAM,WAAW,IAAI,YAAY,EAAE,CAAC;QACvC,IAAI,WAAW,CAAC,KAAK,KAAK,OAAO,EAAE,CAAC;YAClC,MAAM,EAAE,MAAM,EAAE,GAAG,WAAW,CAAC;YAE/B,MAAM,iBAAiB,GAAG,MAAM,CAAC,gBAAiC,CAAC;YACnE,MAAM,eAAe,GAAG,iBAAiB,CAAC,MAAM,CAAC;YAEjD,MAAM,oBAAoB,GAAG,iBAAiB,CAAC,IAAI,CAAC;YACpD,MAAM,QAAQ,GAAG,eAAe,CAAC,IAAI,CAAC,IAAI,CAAC;YAE3C,QAAQ,oBAAoB,CAAC,IAAI,EAAE,CAAC;gBAClC,KAAK,EAAE,CAAC,UAAU,CAAC,UAAU;oBAC3B,OAAO,GAAG,QAAQ,IAAI,oBAAoB,CAAC,IAAI,EAAE,CAAC;gBAEpD,KAAK,EAAE,CAAC,UAAU,CAAC,aAAa,CAAC,CAAC,CAAC;oBACjC,MAAM,UAAU,GAAG,oBAAoB,CAAC,IAAI,CAAC,UAAU,CAAC,GAAG,EAAE,KAAK,CAAC,CAAC;oBAEpE,OAAO,GAAG,QAAQ,KAAK,UAAU,IAAI,CAAC;gBACxC,CAAC;gBAED,KAAK,EAAE,CAAC,UAAU,CAAC,oBAAoB;oBACrC,OAAO,GAAG,QAAQ,IAAI,oBAAoB,CAAC,UAAU,CAAC,OAAO,EAAE,GAAG,CAAC;gBAErE;oBACE,MAAM;YACV,CAAC;QACH,CAAC;IACH,CAAC;IAED,OAAO,IAAI,CAAC;AACd,CAAC"} \ No newline at end of file +{"version":3,"file":"shared.js","sourceRoot":"","sources":["../../../src/rules/enum-utils/shared.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAkCA,0CAMC;AAWD,oCAKC;AAgBD,oDAkCC;AA1GD,sDAAwC;AACxC,+CAAiC;AAEjC,qCAA2C;AAE3C;;;;;;;GAOG;AACH,SAAS,eAAe,CAAC,WAA2B,EAAE,IAAa;IACjE,oEAAoE;IACpE,MAAM,MAAM,GAAG,IAAI,CAAC,SAAS,EAAG,CAAC;IACjC,IAAI,CAAC,OAAO,CAAC,eAAe,CAAC,MAAM,EAAE,EAAE,CAAC,WAAW,CAAC,UAAU,CAAC,EAAE,CAAC;QAChE,OAAO,IAAI,CAAC;IACd,CAAC;IAED,OAAO,WAAW,CAAC,iBAAiB,CACjC,MAAM,CAAC,gBAAkC,CAAC,MAAM,CAClD,CAAC;AACJ,CAAC;AAED;;;;;;;;GAQG;AACH,SAAgB,eAAe,CAAC,IAAa;IAC3C,OAAO,OAAO;SACX,cAAc,CAAC,IAAI,CAAC;SACpB,MAAM,CAAC,CAAC,OAAO,EAA6B,EAAE,CAC7C,IAAA,oBAAa,EAAC,OAAO,EAAE,EAAE,CAAC,SAAS,CAAC,WAAW,CAAC,CACjD,CAAC;AACN,CAAC;AAED;;;;;;;;GAQG;AACH,SAAgB,YAAY,CAC1B,WAA2B,EAC3B,IAAa;IAEb,OAAO,eAAe,CAAC,IAAI,CAAC,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE,CAAC,eAAe,CAAC,WAAW,EAAE,IAAI,CAAC,CAAC,CAAC;AAC/E,CAAC;AAED;;;;;;;;;;;;;GAaG;AACH,SAAgB,oBAAoB,CAClC,YAA8B,EAC9B,OAAgB;IAEhB,KAAK,MAAM,WAAW,IAAI,YAAY,EAAE,CAAC;QACvC,IAAI,WAAW,CAAC,KAAK,KAAK,OAAO,EAAE,CAAC;YAClC,MAAM,EAAE,MAAM,EAAE,GAAG,WAAW,CAAC;YAE/B,MAAM,iBAAiB,GAAG,MAAM,CAAC,gBAAiC,CAAC;YACnE,MAAM,eAAe,GAAG,iBAAiB,CAAC,MAAM,CAAC;YAEjD,MAAM,oBAAoB,GAAG,iBAAiB,CAAC,IAAI,CAAC;YACpD,MAAM,QAAQ,GAAG,eAAe,CAAC,IAAI,CAAC,IAAI,CAAC;YAE3C,QAAQ,oBAAoB,CAAC,IAAI,EAAE,CAAC;gBAClC,KAAK,EAAE,CAAC,UAAU,CAAC,UAAU;oBAC3B,OAAO,GAAG,QAAQ,IAAI,oBAAoB,CAAC,IAAI,EAAE,CAAC;gBAEpD,KAAK,EAAE,CAAC,UAAU,CAAC,aAAa,CAAC,CAAC,CAAC;oBACjC,MAAM,UAAU,GAAG,oBAAoB,CAAC,IAAI,CAAC,UAAU,CAAC,GAAG,EAAE,KAAK,CAAC,CAAC;oBAEpE,OAAO,GAAG,QAAQ,KAAK,UAAU,IAAI,CAAC;gBACxC,CAAC;gBAED,KAAK,EAAE,CAAC,UAAU,CAAC,oBAAoB;oBACrC,OAAO,GAAG,QAAQ,IAAI,oBAAoB,CAAC,UAAU,CAAC,OAAO,EAAE,GAAG,CAAC;gBAErE;oBACE,MAAM;YACV,CAAC;QACH,CAAC;IACH,CAAC;IAED,OAAO,IAAI,CAAC;AACd,CAAC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/explicit-module-boundary-types.js b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/explicit-module-boundary-types.js index 97c5697949..f02b1dec99 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/explicit-module-boundary-types.js +++ b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/explicit-module-boundary-types.js @@ -203,7 +203,7 @@ exports.default = (0, util_1.createRule)({ return (node.id?.type === utils_1.AST_NODE_TYPES.Identifier && options.allowedNames.includes(node.id.name)); } - else if (node.type === utils_1.AST_NODE_TYPES.MethodDefinition || + if (node.type === utils_1.AST_NODE_TYPES.MethodDefinition || node.type === utils_1.AST_NODE_TYPES.TSAbstractMethodDefinition || (node.type === utils_1.AST_NODE_TYPES.Property && node.method) || node.type === utils_1.AST_NODE_TYPES.PropertyDefinition) { diff --git a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/explicit-module-boundary-types.js.map b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/explicit-module-boundary-types.js.map index c12cb724de..834a3b0bff 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/explicit-module-boundary-types.js.map +++ b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/explicit-module-boundary-types.js.map @@ -1 +1 @@ -{"version":3,"file":"explicit-module-boundary-types.js","sourceRoot":"","sources":["../../src/rules/explicit-module-boundary-types.ts"],"names":[],"mappings":";;AAEA,oEAAkE;AAClE,oDAA0D;AAQ1D,kCAA8E;AAC9E,6EAMyC;AAkBzC,kBAAe,IAAA,iBAAU,EAAsB;IAC7C,IAAI,EAAE,gCAAgC;IACtC,IAAI,EAAE;QACJ,IAAI,EAAE,SAAS;QACf,IAAI,EAAE;YACJ,WAAW,EACT,qGAAqG;SACxG;QACD,QAAQ,EAAE;YACR,WAAW,EAAE,0DAA0D;YACvE,kBAAkB,EAChB,wDAAwD;YAC1D,cAAc,EAAE,sCAAsC;YACtD,qBAAqB,EAAE,oCAAoC;YAC3D,iBAAiB,EAAE,kCAAkC;SACtD;QACD,MAAM,EAAE;YACN;gBACE,IAAI,EAAE,QAAQ;gBACd,oBAAoB,EAAE,KAAK;gBAC3B,UAAU,EAAE;oBACV,kCAAkC,EAAE;wBAClC,IAAI,EAAE,SAAS;wBACf,WAAW,EACT,iEAAiE;qBACpE;oBACD,yCAAyC,EAAE;wBACzC,IAAI,EAAE,SAAS;wBACf,WAAW,EAAE;4BACX,kHAAkH;4BAClH,qDAAqD;yBACtD,CAAC,IAAI,CAAC,IAAI,CAAC;qBACb;oBACD,YAAY,EAAE;wBACZ,IAAI,EAAE,OAAO;wBACb,WAAW,EACT,gGAAgG;wBAClG,KAAK,EAAE;4BACL,IAAI,EAAE,QAAQ;yBACf;qBACF;oBACD,yBAAyB,EAAE;wBACzB,IAAI,EAAE,SAAS;wBACf,WAAW,EAAE;4BACX,2GAA2G;4BAC3G,qDAAqD;yBACtD,CAAC,IAAI,CAAC,IAAI,CAAC;qBACb;oBACD,6BAA6B,EAAE;wBAC7B,IAAI,EAAE,SAAS;wBACf,WAAW,EACT,8EAA8E;qBACjF;iBACF;aACF;SACF;KACF;IACD,cAAc,EAAE;QACd;YACE,kCAAkC,EAAE,KAAK;YACzC,yCAAyC,EAAE,IAAI;YAC/C,YAAY,EAAE,EAAE;YAChB,yBAAyB,EAAE,IAAI;YAC/B,6BAA6B,EAAE,IAAI;SACpC;KACF;IACD,MAAM,CAAC,OAAO,EAAE,CAAC,OAAO,CAAC;QACvB,oDAAoD;QACpD,MAAM,gBAAgB,GAAG,IAAI,GAAG,EAAgB,CAAC;QAEjD,MAAM,aAAa,GAAmB,EAAE,CAAC;QACzC,MAAM,kBAAkB,GAAG,IAAI,GAAG,EAG/B,CAAC;QAEJ,qEAAqE;QACrE,6CAA6C;QAC7C,MAAM,cAAc,GAAG,IAAI,GAAG,EAAiB,CAAC;QAEhD,SAAS,oBAAoB,CAC3B,IAAkB;YAElB,OAAO,kBAAkB,CAAC,GAAG,CAAC,IAAI,CAAC,IAAI,EAAE,CAAC;QAC5C,CAAC;QAED,SAAS,aAAa,CAAC,IAAkB;YACvC,aAAa,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;YACzB,kBAAkB,CAAC,GAAG,CAAC,IAAI,EAAE,EAAE,CAAC,CAAC;QACnC,CAAC;QAED,SAAS,YAAY;YACnB,aAAa,CAAC,GAAG,EAAE,CAAC;QACtB,CAAC;QAED;;;;;;;;;UASE;QAEF,OAAO;YACL,kEAAkE,EAChE,aAAa;YACf,8BAA8B,EAAE,YAAY;YAC5C,+BAA+B,CAAC,IAAI;gBAClC,SAAS,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC;YAC9B,CAAC;YACD,2CAA2C,CACzC,IAAkD;gBAElD,IAAI,IAAI,CAAC,WAAW,EAAE,CAAC;oBACrB,SAAS,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC;gBAC9B,CAAC;qBAAM,CAAC;oBACN,KAAK,MAAM,SAAS,IAAI,IAAI,CAAC,UAAU,EAAE,CAAC;wBACxC,eAAe,CAAC,SAAS,CAAC,KAAK,CAAC,CAAC;oBACnC,CAAC;gBACH,CAAC;YACH,CAAC;YACD,0BAA0B,EAAE,YAAY;YACxC,yBAAyB,EAAE,YAAY;YACvC,cAAc;gBACZ,KAAK,MAAM,CAAC,IAAI,EAAE,OAAO,CAAC,IAAI,kBAAkB,EAAE,CAAC;oBACjD,IAAI,6BAA6B,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,CAAC,EAAE,CAAC;wBACrD,SAAS,CAAC,IAAI,CAAC,CAAC;oBAClB,CAAC;gBACH,CAAC;YACH,CAAC;YACD,eAAe,CAAC,IAAI;gBAClB,MAAM,OAAO,GAAG,aAAa,CAAC,aAAa,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC;gBACxD,kBAAkB,CAAC,GAAG,CAAC,OAAO,CAAC,EAAE,IAAI,CAAC,IAAI,CAAC,CAAC;YAC9C,CAAC;YACD,yBAAyB,CAAC,IAAI;gBAC5B,SAAS,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC;YAC7B,CAAC;SACF,CAAC;QAEF,SAAS,eAAe,CACtB,IAA2D;YAE3D,SAAS,cAAc,CAAC,KAAyB;gBAC/C,SAAS,MAAM,CACb,cAA0B,EAC1B,gBAA4B;oBAE5B,IAAI,KAAK,CAAC,IAAI,KAAK,sBAAc,CAAC,UAAU,EAAE,CAAC;wBAC7C,OAAO,CAAC,MAAM,CAAC;4BACb,IAAI,EAAE,KAAK;4BACX,SAAS,EAAE,cAAc;4BACzB,IAAI,EAAE,EAAE,IAAI,EAAE,KAAK,CAAC,IAAI,EAAE;yBAC3B,CAAC,CAAC;oBACL,CAAC;yBAAM,IAAI,KAAK,CAAC,IAAI,KAAK,sBAAc,CAAC,YAAY,EAAE,CAAC;wBACtD,OAAO,CAAC,MAAM,CAAC;4BACb,IAAI,EAAE,KAAK;4BACX,SAAS,EAAE,gBAAgB;4BAC3B,IAAI,EAAE,EAAE,IAAI,EAAE,eAAe,EAAE;yBAChC,CAAC,CAAC;oBACL,CAAC;yBAAM,IAAI,KAAK,CAAC,IAAI,KAAK,sBAAc,CAAC,aAAa,EAAE,CAAC;wBACvD,OAAO,CAAC,MAAM,CAAC;4BACb,IAAI,EAAE,KAAK;4BACX,SAAS,EAAE,gBAAgB;4BAC3B,IAAI,EAAE,EAAE,IAAI,EAAE,gBAAgB,EAAE;yBACjC,CAAC,CAAC;oBACL,CAAC;yBAAM,IAAI,KAAK,CAAC,IAAI,KAAK,sBAAc,CAAC,WAAW,EAAE,CAAC;wBACrD,IAAI,KAAK,CAAC,QAAQ,CAAC,IAAI,KAAK,sBAAc,CAAC,UAAU,EAAE,CAAC;4BACtD,OAAO,CAAC,MAAM,CAAC;gCACb,IAAI,EAAE,KAAK;gCACX,SAAS,EAAE,cAAc;gCACzB,IAAI,EAAE,EAAE,IAAI,EAAE,KAAK,CAAC,QAAQ,CAAC,IAAI,EAAE;6BACpC,CAAC,CAAC;wBACL,CAAC;6BAAM,CAAC;4BACN,OAAO,CAAC,MAAM,CAAC;gCACb,IAAI,EAAE,KAAK;gCACX,SAAS,EAAE,gBAAgB;gCAC3B,IAAI,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE;6BACvB,CAAC,CAAC;wBACL,CAAC;oBACH,CAAC;gBACH,CAAC;gBAED,QAAQ,KAAK,CAAC,IAAI,EAAE,CAAC;oBACnB,KAAK,sBAAc,CAAC,YAAY,CAAC;oBACjC,KAAK,sBAAc,CAAC,UAAU,CAAC;oBAC/B,KAAK,sBAAc,CAAC,aAAa,CAAC;oBAClC,KAAK,sBAAc,CAAC,WAAW;wBAC7B,IAAI,CAAC,KAAK,CAAC,cAAc,EAAE,CAAC;4BAC1B,MAAM,CAAC,gBAAgB,EAAE,uBAAuB,CAAC,CAAC;wBACpD,CAAC;6BAAM,IACL,OAAO,CAAC,kCAAkC,KAAK,IAAI;4BACnD,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC,IAAI;gCACtC,sBAAc,CAAC,YAAY,EAC7B,CAAC;4BACD,MAAM,CAAC,aAAa,EAAE,oBAAoB,CAAC,CAAC;wBAC9C,CAAC;wBACD,OAAO;oBAET,KAAK,sBAAc,CAAC,mBAAmB;wBACrC,OAAO,cAAc,CAAC,KAAK,CAAC,SAAS,CAAC,CAAC;oBAEzC,KAAK,sBAAc,CAAC,iBAAiB,EAAE,8CAA8C;wBACnF,OAAO;gBACX,CAAC;YACH,CAAC;YAED,KAAK,MAAM,GAAG,IAAI,IAAI,CAAC,MAAM,EAAE,CAAC;gBAC9B,cAAc,CAAC,GAAG,CAAC,CAAC;YACtB,CAAC;QACH,CAAC;QAED;;WAEG;QACH,SAAS,aAAa,CAAC,IAA+B;YACpD,IAAI,CAAC,IAAI,IAAI,CAAC,OAAO,CAAC,YAAY,IAAI,OAAO,CAAC,YAAY,CAAC,MAAM,KAAK,CAAC,EAAE,CAAC;gBACxE,OAAO,KAAK,CAAC;YACf,CAAC;YAED,IACE,IAAI,CAAC,IAAI,KAAK,sBAAc,CAAC,kBAAkB;gBAC/C,IAAI,CAAC,IAAI,KAAK,sBAAc,CAAC,mBAAmB,EAChD,CAAC;gBACD,OAAO,CACL,IAAI,CAAC,EAAE,EAAE,IAAI,KAAK,sBAAc,CAAC,UAAU;oBAC3C,OAAO,CAAC,YAAY,CAAC,QAAQ,CAAC,IAAI,CAAC,EAAE,CAAC,IAAI,CAAC,CAC5C,CAAC;YACJ,CAAC;iBAAM,IACL,IAAI,CAAC,IAAI,KAAK,sBAAc,CAAC,gBAAgB;gBAC7C,IAAI,CAAC,IAAI,KAAK,sBAAc,CAAC,0BAA0B;gBACvD,CAAC,IAAI,CAAC,IAAI,KAAK,sBAAc,CAAC,QAAQ,IAAI,IAAI,CAAC,MAAM,CAAC;gBACtD,IAAI,CAAC,IAAI,KAAK,sBAAc,CAAC,kBAAkB,EAC/C,CAAC;gBACD,OAAO,IAAA,kCAA2B,EAChC,IAAI,EACJ,OAAO,EACP,GAAG,OAAO,CAAC,YAAY,CACxB,CAAC;YACJ,CAAC;YAED,OAAO,KAAK,CAAC;QACf,CAAC;QAED,SAAS,6BAA6B,CAAC,EACrC,IAAI,GACuB;YAC3B,IAAI,OAAO,GAA8B,IAAI,CAAC,MAAM,CAAC;YACrD,OAAO,OAAO,EAAE,CAAC;gBACf,IAAI,OAAO,CAAC,IAAI,KAAK,sBAAc,CAAC,eAAe,EAAE,CAAC;oBACpD,kFAAkF;oBAClF,OAAO,GAAG,OAAO,CAAC,MAAM,CAAC,MAAM,CAAC;oBAChC,SAAS;gBACX,CAAC;gBAED,IAAI,CAAC,IAAA,iBAAU,EAAC,OAAO,CAAC,EAAE,CAAC;oBACzB,OAAO,KAAK,CAAC;gBACf,CAAC;gBACD,MAAM,OAAO,GAAG,oBAAoB,CAAC,OAAO,CAAC,CAAC;gBAC9C,IACE,CAAC,IAAA,iEAAuC,EAAC,EAAE,IAAI,EAAE,OAAO,EAAE,OAAO,EAAE,CAAC,EACpE,CAAC;oBACD,OAAO,KAAK,CAAC;gBACf,CAAC;gBAED,IAAI,gBAAgB,CAAC,GAAG,CAAC,OAAO,CAAC,EAAE,CAAC;oBAClC,OAAO,IAAI,CAAC;gBACd,CAAC;gBAED,OAAO,GAAG,OAAO,CAAC,MAAM,CAAC;YAC3B,CAAC;YAED,OAAO,KAAK,CAAC;QACf,CAAC;QAED,SAAS,eAAe,CAAC,IAAyB;YAChD,MAAM,KAAK,GAAG,OAAO,CAAC,UAAU,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC;YAChD,MAAM,QAAQ,GAAG,KAAK,CAAC,GAAG,CAAC,GAAG,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;YAC1C,wBAAwB,CAAC,IAAI,CAAC,QAAQ,EAAE,CAAC;gBACvC,OAAO;YACT,CAAC;YAED,+BAA+B;YAC/B,KAAK,MAAM,UAAU,IAAI,QAAQ,CAAC,IAAI,EAAE,CAAC;gBACvC,yCAAyC;gBACzC,IACE;oBACE,8BAAc,CAAC,WAAW;oBAC1B,8BAAc,CAAC,sBAAsB;oBACrC,8BAAc,CAAC,aAAa;oBAC5B,8BAAc,CAAC,SAAS;iBACzB,CAAC,QAAQ,CAAC,UAAU,CAAC,IAAI,CAAC,EAC3B,CAAC;oBACD,SAAS;gBACX,CAAC;gBAED,SAAS,CAAC,UAAU,CAAC,IAAI,CAAC,CAAC;YAC7B,CAAC;YAED,mDAAmD;YACnD,KAAK,MAAM,SAAS,IAAI,QAAQ,CAAC,UAAU,EAAE,CAAC;gBAC5C;gBACE,6FAA6F;gBAC7F,CAAC,SAAS,CAAC,IAAI;oBACf,SAAS,CAAC,SAAS,EACnB,CAAC;oBACD,SAAS,CAAC,SAAS,CAAC,SAAS,CAAC,CAAC;gBACjC,CAAC;YACH,CAAC;QACH,CAAC;QAED,SAAS,SAAS,CAAC,IAA0B;YAC3C,IAAI,IAAI,IAAI,IAAI,IAAI,cAAc,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE,CAAC;gBAC7C,OAAO;YACT,CAAC;YACD,cAAc,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC;YAEzB,QAAQ,IAAI,CAAC,IAAI,EAAE,CAAC;gBAClB,KAAK,sBAAc,CAAC,uBAAuB,CAAC;gBAC5C,KAAK,sBAAc,CAAC,kBAAkB,CAAC,CAAC,CAAC;oBACvC,MAAM,OAAO,GAAG,oBAAoB,CAAC,IAAI,CAAC,CAAC;oBAC3C,OAAO,uBAAuB,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,CAAC,CAAC;gBACpD,CAAC;gBAED,KAAK,sBAAc,CAAC,eAAe;oBACjC,KAAK,MAAM,OAAO,IAAI,IAAI,CAAC,QAAQ,EAAE,CAAC;wBACpC,SAAS,CAAC,OAAO,CAAC,CAAC;oBACrB,CAAC;oBACD,OAAO;gBAET,KAAK,sBAAc,CAAC,kBAAkB,CAAC;gBACvC,KAAK,sBAAc,CAAC,gBAAgB,CAAC;gBACrC,KAAK,sBAAc,CAAC,0BAA0B;oBAC5C,IACE,IAAI,CAAC,aAAa,KAAK,SAAS;wBAChC,IAAI,CAAC,GAAG,CAAC,IAAI,KAAK,sBAAc,CAAC,iBAAiB,EAClD,CAAC;wBACD,OAAO;oBACT,CAAC;oBACD,OAAO,SAAS,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;gBAE/B,KAAK,sBAAc,CAAC,gBAAgB,CAAC;gBACrC,KAAK,sBAAc,CAAC,eAAe;oBACjC,KAAK,MAAM,OAAO,IAAI,IAAI,CAAC,IAAI,CAAC,IAAI,EAAE,CAAC;wBACrC,SAAS,CAAC,OAAO,CAAC,CAAC;oBACrB,CAAC;oBACD,OAAO;gBAET,KAAK,sBAAc,CAAC,mBAAmB,CAAC,CAAC,CAAC;oBACxC,MAAM,OAAO,GAAG,oBAAoB,CAAC,IAAI,CAAC,CAAC;oBAC3C,OAAO,aAAa,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,CAAC,CAAC;gBAC1C,CAAC;gBAED,KAAK,sBAAc,CAAC,UAAU;oBAC5B,OAAO,eAAe,CAAC,IAAI,CAAC,CAAC;gBAE/B,KAAK,sBAAc,CAAC,gBAAgB;oBAClC,KAAK,MAAM,QAAQ,IAAI,IAAI,CAAC,UAAU,EAAE,CAAC;wBACvC,SAAS,CAAC,QAAQ,CAAC,CAAC;oBACtB,CAAC;oBACD,OAAO;gBAET,KAAK,sBAAc,CAAC,QAAQ;oBAC1B,OAAO,SAAS,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;gBAE/B,KAAK,sBAAc,CAAC,6BAA6B;oBAC/C,OAAO,gCAAgC,CAAC,IAAI,CAAC,CAAC;gBAEhD,KAAK,sBAAc,CAAC,mBAAmB;oBACrC,KAAK,MAAM,WAAW,IAAI,IAAI,CAAC,YAAY,EAAE,CAAC;wBAC5C,SAAS,CAAC,WAAW,CAAC,CAAC;oBACzB,CAAC;oBACD,OAAO;gBAET,KAAK,sBAAc,CAAC,kBAAkB;oBACpC,OAAO,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;YAChC,CAAC;QACH,CAAC;QAED,SAAS,gCAAgC,CACvC,IAA4C;YAE5C,MAAM,aAAa,GACjB,IAAI,CAAC,MAAM,CAAC,IAAI,KAAK,sBAAc,CAAC,gBAAgB;gBACpD,IAAI,CAAC,MAAM,CAAC,IAAI,KAAK,aAAa,CAAC;YACrC,MAAM,aAAa,GACjB,CAAC,IAAI,CAAC,MAAM,CAAC,IAAI,KAAK,sBAAc,CAAC,0BAA0B;gBAC7D,IAAI,CAAC,MAAM,CAAC,IAAI,KAAK,sBAAc,CAAC,gBAAgB,CAAC;gBACvD,IAAI,CAAC,MAAM,CAAC,IAAI,KAAK,KAAK,CAAC;YAC7B,IAAI,CAAC,aAAa,IAAI,CAAC,aAAa,IAAI,CAAC,IAAI,CAAC,UAAU,EAAE,CAAC;gBACzD,OAAO,CAAC,MAAM,CAAC;oBACb,IAAI;oBACJ,SAAS,EAAE,mBAAmB;iBAC/B,CAAC,CAAC;YACL,CAAC;YAED,eAAe,CAAC,IAAI,CAAC,CAAC;QACxB,CAAC;QAED,SAAS,uBAAuB,CAAC,EAC/B,IAAI,EACJ,OAAO,GAC0B;YACjC,IAAI,gBAAgB,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE,CAAC;gBAC/B,OAAO;YACT,CAAC;YACD,gBAAgB,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC;YAE3B,IACE,aAAa,CAAC,IAAI,CAAC,MAAM,CAAC;gBAC1B,IAAA,mDAAyB,EAAC,IAAI,EAAE,OAAO,CAAC;gBACxC,IAAA,+CAAqB,EAAC,IAAI,CAAC,EAC3B,CAAC;gBACD,OAAO;YACT,CAAC;YAED,IAAA,2DAAiC,EAC/B,EAAE,IAAI,EAAE,OAAO,EAAE,EACjB,OAAO,EACP,OAAO,CAAC,UAAU,EAClB,GAAG,CAAC,EAAE;gBACJ,OAAO,CAAC,MAAM,CAAC;oBACb,GAAG;oBACH,IAAI;oBACJ,SAAS,EAAE,mBAAmB;iBAC/B,CAAC,CAAC;YACL,CAAC,CACF,CAAC;YAEF,eAAe,CAAC,IAAI,CAAC,CAAC;QACxB,CAAC;QAED,SAAS,aAAa,CAAC,EACrB,IAAI,EACJ,OAAO,GACoC;YAC3C,IAAI,gBAAgB,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE,CAAC;gBAC/B,OAAO;YACT,CAAC;YACD,gBAAgB,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC;YAE3B,IAAI,aAAa,CAAC,IAAI,CAAC,IAAI,IAAA,+CAAqB,EAAC,IAAI,CAAC,EAAE,CAAC;gBACvD,OAAO;YACT,CAAC;YAED,IAAA,iDAAuB,EACrB,EAAE,IAAI,EAAE,OAAO,EAAE,EACjB,OAAO,EACP,OAAO,CAAC,UAAU,EAClB,GAAG,CAAC,EAAE;gBACJ,OAAO,CAAC,MAAM,CAAC;oBACb,GAAG;oBACH,IAAI;oBACJ,SAAS,EAAE,mBAAmB;iBAC/B,CAAC,CAAC;YACL,CAAC,CACF,CAAC;YAEF,eAAe,CAAC,IAAI,CAAC,CAAC;QACxB,CAAC;IACH,CAAC;CACF,CAAC,CAAC"} \ No newline at end of file +{"version":3,"file":"explicit-module-boundary-types.js","sourceRoot":"","sources":["../../src/rules/explicit-module-boundary-types.ts"],"names":[],"mappings":";;AAEA,oEAAkE;AAClE,oDAA0D;AAQ1D,kCAA8E;AAC9E,6EAMyC;AAkBzC,kBAAe,IAAA,iBAAU,EAAsB;IAC7C,IAAI,EAAE,gCAAgC;IACtC,IAAI,EAAE;QACJ,IAAI,EAAE,SAAS;QACf,IAAI,EAAE;YACJ,WAAW,EACT,qGAAqG;SACxG;QACD,QAAQ,EAAE;YACR,WAAW,EAAE,0DAA0D;YACvE,kBAAkB,EAChB,wDAAwD;YAC1D,cAAc,EAAE,sCAAsC;YACtD,qBAAqB,EAAE,oCAAoC;YAC3D,iBAAiB,EAAE,kCAAkC;SACtD;QACD,MAAM,EAAE;YACN;gBACE,IAAI,EAAE,QAAQ;gBACd,oBAAoB,EAAE,KAAK;gBAC3B,UAAU,EAAE;oBACV,kCAAkC,EAAE;wBAClC,IAAI,EAAE,SAAS;wBACf,WAAW,EACT,iEAAiE;qBACpE;oBACD,yCAAyC,EAAE;wBACzC,IAAI,EAAE,SAAS;wBACf,WAAW,EAAE;4BACX,kHAAkH;4BAClH,qDAAqD;yBACtD,CAAC,IAAI,CAAC,IAAI,CAAC;qBACb;oBACD,YAAY,EAAE;wBACZ,IAAI,EAAE,OAAO;wBACb,WAAW,EACT,gGAAgG;wBAClG,KAAK,EAAE;4BACL,IAAI,EAAE,QAAQ;yBACf;qBACF;oBACD,yBAAyB,EAAE;wBACzB,IAAI,EAAE,SAAS;wBACf,WAAW,EAAE;4BACX,2GAA2G;4BAC3G,qDAAqD;yBACtD,CAAC,IAAI,CAAC,IAAI,CAAC;qBACb;oBACD,6BAA6B,EAAE;wBAC7B,IAAI,EAAE,SAAS;wBACf,WAAW,EACT,8EAA8E;qBACjF;iBACF;aACF;SACF;KACF;IACD,cAAc,EAAE;QACd;YACE,kCAAkC,EAAE,KAAK;YACzC,yCAAyC,EAAE,IAAI;YAC/C,YAAY,EAAE,EAAE;YAChB,yBAAyB,EAAE,IAAI;YAC/B,6BAA6B,EAAE,IAAI;SACpC;KACF;IACD,MAAM,CAAC,OAAO,EAAE,CAAC,OAAO,CAAC;QACvB,oDAAoD;QACpD,MAAM,gBAAgB,GAAG,IAAI,GAAG,EAAgB,CAAC;QAEjD,MAAM,aAAa,GAAmB,EAAE,CAAC;QACzC,MAAM,kBAAkB,GAAG,IAAI,GAAG,EAG/B,CAAC;QAEJ,qEAAqE;QACrE,6CAA6C;QAC7C,MAAM,cAAc,GAAG,IAAI,GAAG,EAAiB,CAAC;QAEhD,SAAS,oBAAoB,CAC3B,IAAkB;YAElB,OAAO,kBAAkB,CAAC,GAAG,CAAC,IAAI,CAAC,IAAI,EAAE,CAAC;QAC5C,CAAC;QAED,SAAS,aAAa,CAAC,IAAkB;YACvC,aAAa,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;YACzB,kBAAkB,CAAC,GAAG,CAAC,IAAI,EAAE,EAAE,CAAC,CAAC;QACnC,CAAC;QAED,SAAS,YAAY;YACnB,aAAa,CAAC,GAAG,EAAE,CAAC;QACtB,CAAC;QAED;;;;;;;;;UASE;QAEF,OAAO;YACL,kEAAkE,EAChE,aAAa;YACf,8BAA8B,EAAE,YAAY;YAC5C,+BAA+B,CAAC,IAAI;gBAClC,SAAS,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC;YAC9B,CAAC;YACD,2CAA2C,CACzC,IAAkD;gBAElD,IAAI,IAAI,CAAC,WAAW,EAAE,CAAC;oBACrB,SAAS,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC;gBAC9B,CAAC;qBAAM,CAAC;oBACN,KAAK,MAAM,SAAS,IAAI,IAAI,CAAC,UAAU,EAAE,CAAC;wBACxC,eAAe,CAAC,SAAS,CAAC,KAAK,CAAC,CAAC;oBACnC,CAAC;gBACH,CAAC;YACH,CAAC;YACD,0BAA0B,EAAE,YAAY;YACxC,yBAAyB,EAAE,YAAY;YACvC,cAAc;gBACZ,KAAK,MAAM,CAAC,IAAI,EAAE,OAAO,CAAC,IAAI,kBAAkB,EAAE,CAAC;oBACjD,IAAI,6BAA6B,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,CAAC,EAAE,CAAC;wBACrD,SAAS,CAAC,IAAI,CAAC,CAAC;oBAClB,CAAC;gBACH,CAAC;YACH,CAAC;YACD,eAAe,CAAC,IAAI;gBAClB,MAAM,OAAO,GAAG,aAAa,CAAC,aAAa,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC;gBACxD,kBAAkB,CAAC,GAAG,CAAC,OAAO,CAAC,EAAE,IAAI,CAAC,IAAI,CAAC,CAAC;YAC9C,CAAC;YACD,yBAAyB,CAAC,IAAI;gBAC5B,SAAS,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC;YAC7B,CAAC;SACF,CAAC;QAEF,SAAS,eAAe,CACtB,IAA2D;YAE3D,SAAS,cAAc,CAAC,KAAyB;gBAC/C,SAAS,MAAM,CACb,cAA0B,EAC1B,gBAA4B;oBAE5B,IAAI,KAAK,CAAC,IAAI,KAAK,sBAAc,CAAC,UAAU,EAAE,CAAC;wBAC7C,OAAO,CAAC,MAAM,CAAC;4BACb,IAAI,EAAE,KAAK;4BACX,SAAS,EAAE,cAAc;4BACzB,IAAI,EAAE,EAAE,IAAI,EAAE,KAAK,CAAC,IAAI,EAAE;yBAC3B,CAAC,CAAC;oBACL,CAAC;yBAAM,IAAI,KAAK,CAAC,IAAI,KAAK,sBAAc,CAAC,YAAY,EAAE,CAAC;wBACtD,OAAO,CAAC,MAAM,CAAC;4BACb,IAAI,EAAE,KAAK;4BACX,SAAS,EAAE,gBAAgB;4BAC3B,IAAI,EAAE,EAAE,IAAI,EAAE,eAAe,EAAE;yBAChC,CAAC,CAAC;oBACL,CAAC;yBAAM,IAAI,KAAK,CAAC,IAAI,KAAK,sBAAc,CAAC,aAAa,EAAE,CAAC;wBACvD,OAAO,CAAC,MAAM,CAAC;4BACb,IAAI,EAAE,KAAK;4BACX,SAAS,EAAE,gBAAgB;4BAC3B,IAAI,EAAE,EAAE,IAAI,EAAE,gBAAgB,EAAE;yBACjC,CAAC,CAAC;oBACL,CAAC;yBAAM,IAAI,KAAK,CAAC,IAAI,KAAK,sBAAc,CAAC,WAAW,EAAE,CAAC;wBACrD,IAAI,KAAK,CAAC,QAAQ,CAAC,IAAI,KAAK,sBAAc,CAAC,UAAU,EAAE,CAAC;4BACtD,OAAO,CAAC,MAAM,CAAC;gCACb,IAAI,EAAE,KAAK;gCACX,SAAS,EAAE,cAAc;gCACzB,IAAI,EAAE,EAAE,IAAI,EAAE,KAAK,CAAC,QAAQ,CAAC,IAAI,EAAE;6BACpC,CAAC,CAAC;wBACL,CAAC;6BAAM,CAAC;4BACN,OAAO,CAAC,MAAM,CAAC;gCACb,IAAI,EAAE,KAAK;gCACX,SAAS,EAAE,gBAAgB;gCAC3B,IAAI,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE;6BACvB,CAAC,CAAC;wBACL,CAAC;oBACH,CAAC;gBACH,CAAC;gBAED,QAAQ,KAAK,CAAC,IAAI,EAAE,CAAC;oBACnB,KAAK,sBAAc,CAAC,YAAY,CAAC;oBACjC,KAAK,sBAAc,CAAC,UAAU,CAAC;oBAC/B,KAAK,sBAAc,CAAC,aAAa,CAAC;oBAClC,KAAK,sBAAc,CAAC,WAAW;wBAC7B,IAAI,CAAC,KAAK,CAAC,cAAc,EAAE,CAAC;4BAC1B,MAAM,CAAC,gBAAgB,EAAE,uBAAuB,CAAC,CAAC;wBACpD,CAAC;6BAAM,IACL,OAAO,CAAC,kCAAkC,KAAK,IAAI;4BACnD,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC,IAAI;gCACtC,sBAAc,CAAC,YAAY,EAC7B,CAAC;4BACD,MAAM,CAAC,aAAa,EAAE,oBAAoB,CAAC,CAAC;wBAC9C,CAAC;wBACD,OAAO;oBAET,KAAK,sBAAc,CAAC,mBAAmB;wBACrC,OAAO,cAAc,CAAC,KAAK,CAAC,SAAS,CAAC,CAAC;oBAEzC,KAAK,sBAAc,CAAC,iBAAiB,EAAE,8CAA8C;wBACnF,OAAO;gBACX,CAAC;YACH,CAAC;YAED,KAAK,MAAM,GAAG,IAAI,IAAI,CAAC,MAAM,EAAE,CAAC;gBAC9B,cAAc,CAAC,GAAG,CAAC,CAAC;YACtB,CAAC;QACH,CAAC;QAED;;WAEG;QACH,SAAS,aAAa,CAAC,IAA+B;YACpD,IAAI,CAAC,IAAI,IAAI,CAAC,OAAO,CAAC,YAAY,IAAI,OAAO,CAAC,YAAY,CAAC,MAAM,KAAK,CAAC,EAAE,CAAC;gBACxE,OAAO,KAAK,CAAC;YACf,CAAC;YAED,IACE,IAAI,CAAC,IAAI,KAAK,sBAAc,CAAC,kBAAkB;gBAC/C,IAAI,CAAC,IAAI,KAAK,sBAAc,CAAC,mBAAmB,EAChD,CAAC;gBACD,OAAO,CACL,IAAI,CAAC,EAAE,EAAE,IAAI,KAAK,sBAAc,CAAC,UAAU;oBAC3C,OAAO,CAAC,YAAY,CAAC,QAAQ,CAAC,IAAI,CAAC,EAAE,CAAC,IAAI,CAAC,CAC5C,CAAC;YACJ,CAAC;YAED,IACE,IAAI,CAAC,IAAI,KAAK,sBAAc,CAAC,gBAAgB;gBAC7C,IAAI,CAAC,IAAI,KAAK,sBAAc,CAAC,0BAA0B;gBACvD,CAAC,IAAI,CAAC,IAAI,KAAK,sBAAc,CAAC,QAAQ,IAAI,IAAI,CAAC,MAAM,CAAC;gBACtD,IAAI,CAAC,IAAI,KAAK,sBAAc,CAAC,kBAAkB,EAC/C,CAAC;gBACD,OAAO,IAAA,kCAA2B,EAChC,IAAI,EACJ,OAAO,EACP,GAAG,OAAO,CAAC,YAAY,CACxB,CAAC;YACJ,CAAC;YAED,OAAO,KAAK,CAAC;QACf,CAAC;QAED,SAAS,6BAA6B,CAAC,EACrC,IAAI,GACuB;YAC3B,IAAI,OAAO,GAA8B,IAAI,CAAC,MAAM,CAAC;YACrD,OAAO,OAAO,EAAE,CAAC;gBACf,IAAI,OAAO,CAAC,IAAI,KAAK,sBAAc,CAAC,eAAe,EAAE,CAAC;oBACpD,kFAAkF;oBAClF,OAAO,GAAG,OAAO,CAAC,MAAM,CAAC,MAAM,CAAC;oBAChC,SAAS;gBACX,CAAC;gBAED,IAAI,CAAC,IAAA,iBAAU,EAAC,OAAO,CAAC,EAAE,CAAC;oBACzB,OAAO,KAAK,CAAC;gBACf,CAAC;gBACD,MAAM,OAAO,GAAG,oBAAoB,CAAC,OAAO,CAAC,CAAC;gBAC9C,IACE,CAAC,IAAA,iEAAuC,EAAC,EAAE,IAAI,EAAE,OAAO,EAAE,OAAO,EAAE,CAAC,EACpE,CAAC;oBACD,OAAO,KAAK,CAAC;gBACf,CAAC;gBAED,IAAI,gBAAgB,CAAC,GAAG,CAAC,OAAO,CAAC,EAAE,CAAC;oBAClC,OAAO,IAAI,CAAC;gBACd,CAAC;gBAED,OAAO,GAAG,OAAO,CAAC,MAAM,CAAC;YAC3B,CAAC;YAED,OAAO,KAAK,CAAC;QACf,CAAC;QAED,SAAS,eAAe,CAAC,IAAyB;YAChD,MAAM,KAAK,GAAG,OAAO,CAAC,UAAU,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC;YAChD,MAAM,QAAQ,GAAG,KAAK,CAAC,GAAG,CAAC,GAAG,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;YAC1C,wBAAwB,CAAC,IAAI,CAAC,QAAQ,EAAE,CAAC;gBACvC,OAAO;YACT,CAAC;YAED,+BAA+B;YAC/B,KAAK,MAAM,UAAU,IAAI,QAAQ,CAAC,IAAI,EAAE,CAAC;gBACvC,yCAAyC;gBACzC,IACE;oBACE,8BAAc,CAAC,WAAW;oBAC1B,8BAAc,CAAC,sBAAsB;oBACrC,8BAAc,CAAC,aAAa;oBAC5B,8BAAc,CAAC,SAAS;iBACzB,CAAC,QAAQ,CAAC,UAAU,CAAC,IAAI,CAAC,EAC3B,CAAC;oBACD,SAAS;gBACX,CAAC;gBAED,SAAS,CAAC,UAAU,CAAC,IAAI,CAAC,CAAC;YAC7B,CAAC;YAED,mDAAmD;YACnD,KAAK,MAAM,SAAS,IAAI,QAAQ,CAAC,UAAU,EAAE,CAAC;gBAC5C;gBACE,6FAA6F;gBAC7F,CAAC,SAAS,CAAC,IAAI;oBACf,SAAS,CAAC,SAAS,EACnB,CAAC;oBACD,SAAS,CAAC,SAAS,CAAC,SAAS,CAAC,CAAC;gBACjC,CAAC;YACH,CAAC;QACH,CAAC;QAED,SAAS,SAAS,CAAC,IAA0B;YAC3C,IAAI,IAAI,IAAI,IAAI,IAAI,cAAc,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE,CAAC;gBAC7C,OAAO;YACT,CAAC;YACD,cAAc,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC;YAEzB,QAAQ,IAAI,CAAC,IAAI,EAAE,CAAC;gBAClB,KAAK,sBAAc,CAAC,uBAAuB,CAAC;gBAC5C,KAAK,sBAAc,CAAC,kBAAkB,CAAC,CAAC,CAAC;oBACvC,MAAM,OAAO,GAAG,oBAAoB,CAAC,IAAI,CAAC,CAAC;oBAC3C,OAAO,uBAAuB,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,CAAC,CAAC;gBACpD,CAAC;gBAED,KAAK,sBAAc,CAAC,eAAe;oBACjC,KAAK,MAAM,OAAO,IAAI,IAAI,CAAC,QAAQ,EAAE,CAAC;wBACpC,SAAS,CAAC,OAAO,CAAC,CAAC;oBACrB,CAAC;oBACD,OAAO;gBAET,KAAK,sBAAc,CAAC,kBAAkB,CAAC;gBACvC,KAAK,sBAAc,CAAC,gBAAgB,CAAC;gBACrC,KAAK,sBAAc,CAAC,0BAA0B;oBAC5C,IACE,IAAI,CAAC,aAAa,KAAK,SAAS;wBAChC,IAAI,CAAC,GAAG,CAAC,IAAI,KAAK,sBAAc,CAAC,iBAAiB,EAClD,CAAC;wBACD,OAAO;oBACT,CAAC;oBACD,OAAO,SAAS,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;gBAE/B,KAAK,sBAAc,CAAC,gBAAgB,CAAC;gBACrC,KAAK,sBAAc,CAAC,eAAe;oBACjC,KAAK,MAAM,OAAO,IAAI,IAAI,CAAC,IAAI,CAAC,IAAI,EAAE,CAAC;wBACrC,SAAS,CAAC,OAAO,CAAC,CAAC;oBACrB,CAAC;oBACD,OAAO;gBAET,KAAK,sBAAc,CAAC,mBAAmB,CAAC,CAAC,CAAC;oBACxC,MAAM,OAAO,GAAG,oBAAoB,CAAC,IAAI,CAAC,CAAC;oBAC3C,OAAO,aAAa,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,CAAC,CAAC;gBAC1C,CAAC;gBAED,KAAK,sBAAc,CAAC,UAAU;oBAC5B,OAAO,eAAe,CAAC,IAAI,CAAC,CAAC;gBAE/B,KAAK,sBAAc,CAAC,gBAAgB;oBAClC,KAAK,MAAM,QAAQ,IAAI,IAAI,CAAC,UAAU,EAAE,CAAC;wBACvC,SAAS,CAAC,QAAQ,CAAC,CAAC;oBACtB,CAAC;oBACD,OAAO;gBAET,KAAK,sBAAc,CAAC,QAAQ;oBAC1B,OAAO,SAAS,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;gBAE/B,KAAK,sBAAc,CAAC,6BAA6B;oBAC/C,OAAO,gCAAgC,CAAC,IAAI,CAAC,CAAC;gBAEhD,KAAK,sBAAc,CAAC,mBAAmB;oBACrC,KAAK,MAAM,WAAW,IAAI,IAAI,CAAC,YAAY,EAAE,CAAC;wBAC5C,SAAS,CAAC,WAAW,CAAC,CAAC;oBACzB,CAAC;oBACD,OAAO;gBAET,KAAK,sBAAc,CAAC,kBAAkB;oBACpC,OAAO,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;YAChC,CAAC;QACH,CAAC;QAED,SAAS,gCAAgC,CACvC,IAA4C;YAE5C,MAAM,aAAa,GACjB,IAAI,CAAC,MAAM,CAAC,IAAI,KAAK,sBAAc,CAAC,gBAAgB;gBACpD,IAAI,CAAC,MAAM,CAAC,IAAI,KAAK,aAAa,CAAC;YACrC,MAAM,aAAa,GACjB,CAAC,IAAI,CAAC,MAAM,CAAC,IAAI,KAAK,sBAAc,CAAC,0BAA0B;gBAC7D,IAAI,CAAC,MAAM,CAAC,IAAI,KAAK,sBAAc,CAAC,gBAAgB,CAAC;gBACvD,IAAI,CAAC,MAAM,CAAC,IAAI,KAAK,KAAK,CAAC;YAC7B,IAAI,CAAC,aAAa,IAAI,CAAC,aAAa,IAAI,CAAC,IAAI,CAAC,UAAU,EAAE,CAAC;gBACzD,OAAO,CAAC,MAAM,CAAC;oBACb,IAAI;oBACJ,SAAS,EAAE,mBAAmB;iBAC/B,CAAC,CAAC;YACL,CAAC;YAED,eAAe,CAAC,IAAI,CAAC,CAAC;QACxB,CAAC;QAED,SAAS,uBAAuB,CAAC,EAC/B,IAAI,EACJ,OAAO,GAC0B;YACjC,IAAI,gBAAgB,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE,CAAC;gBAC/B,OAAO;YACT,CAAC;YACD,gBAAgB,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC;YAE3B,IACE,aAAa,CAAC,IAAI,CAAC,MAAM,CAAC;gBAC1B,IAAA,mDAAyB,EAAC,IAAI,EAAE,OAAO,CAAC;gBACxC,IAAA,+CAAqB,EAAC,IAAI,CAAC,EAC3B,CAAC;gBACD,OAAO;YACT,CAAC;YAED,IAAA,2DAAiC,EAC/B,EAAE,IAAI,EAAE,OAAO,EAAE,EACjB,OAAO,EACP,OAAO,CAAC,UAAU,EAClB,GAAG,CAAC,EAAE;gBACJ,OAAO,CAAC,MAAM,CAAC;oBACb,GAAG;oBACH,IAAI;oBACJ,SAAS,EAAE,mBAAmB;iBAC/B,CAAC,CAAC;YACL,CAAC,CACF,CAAC;YAEF,eAAe,CAAC,IAAI,CAAC,CAAC;QACxB,CAAC;QAED,SAAS,aAAa,CAAC,EACrB,IAAI,EACJ,OAAO,GACoC;YAC3C,IAAI,gBAAgB,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE,CAAC;gBAC/B,OAAO;YACT,CAAC;YACD,gBAAgB,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC;YAE3B,IAAI,aAAa,CAAC,IAAI,CAAC,IAAI,IAAA,+CAAqB,EAAC,IAAI,CAAC,EAAE,CAAC;gBACvD,OAAO;YACT,CAAC;YAED,IAAA,iDAAuB,EACrB,EAAE,IAAI,EAAE,OAAO,EAAE,EACjB,OAAO,EACP,OAAO,CAAC,UAAU,EAClB,GAAG,CAAC,EAAE;gBACJ,OAAO,CAAC,MAAM,CAAC;oBACb,GAAG;oBACH,IAAI;oBACJ,SAAS,EAAE,mBAAmB;iBAC/B,CAAC,CAAC;YACL,CAAC,CACF,CAAC;YAEF,eAAe,CAAC,IAAI,CAAC,CAAC;QACxB,CAAC;IACH,CAAC;CACF,CAAC,CAAC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/max-params.js b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/max-params.js index be16a8016e..e3e807aab7 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/max-params.js +++ b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/max-params.js @@ -65,6 +65,8 @@ exports.default = (0, util_1.createRule)({ ArrowFunctionExpression: wrapListener(baseRules.ArrowFunctionExpression), FunctionDeclaration: wrapListener(baseRules.FunctionDeclaration), FunctionExpression: wrapListener(baseRules.FunctionExpression), + TSDeclareFunction: wrapListener(baseRules.FunctionDeclaration), + TSFunctionType: wrapListener(baseRules.FunctionDeclaration), }; }, }); diff --git a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/max-params.js.map b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/max-params.js.map index 397141b59a..187e02b1f8 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/max-params.js.map +++ b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/max-params.js.map @@ -1 +1 @@ -{"version":3,"file":"max-params.js","sourceRoot":"","sources":["../../src/rules/max-params.ts"],"names":[],"mappings":";;AAEA,oDAA0D;AAO1D,kCAAqC;AACrC,iEAA8D;AAS9D,MAAM,QAAQ,GAAG,IAAA,qCAAiB,EAAC,YAAY,CAAC,CAAC;AAKjD,kBAAe,IAAA,iBAAU,EAAsB;IAC7C,IAAI,EAAE,YAAY;IAClB,IAAI,EAAE;QACJ,IAAI,EAAE,YAAY;QAClB,2DAA2D;QAC3D,IAAI,EAAE;YACJ,WAAW,EACT,gEAAgE;YAClE,eAAe,EAAE,IAAI;SACtB;QACD,QAAQ,EAAE,QAAQ,CAAC,IAAI,CAAC,QAAQ;QAChC,MAAM,EAAE;YACN;gBACE,IAAI,EAAE,QAAQ;gBACd,oBAAoB,EAAE,KAAK;gBAC3B,UAAU,EAAE;oBACV,aAAa,EAAE;wBACb,IAAI,EAAE,SAAS;wBACf,WAAW,EACT,gEAAgE;qBACnE;oBACD,GAAG,EAAE;wBACH,IAAI,EAAE,SAAS;wBACf,WAAW,EACT,yDAAyD;wBAC3D,OAAO,EAAE,CAAC;qBACX;oBACD,OAAO,EAAE;wBACP,IAAI,EAAE,SAAS;wBACf,WAAW,EACT,sEAAsE;wBACxE,OAAO,EAAE,CAAC;qBACX;iBACF;aACF;SACF;KACF;IACD,cAAc,EAAE,CAAC,EAAE,aAAa,EAAE,KAAK,EAAE,GAAG,EAAE,CAAC,EAAE,CAAC;IAElD,MAAM,CAAC,OAAO,EAAE,CAAC,EAAE,aAAa,EAAE,CAAC;QACjC,MAAM,SAAS,GAAG,QAAQ,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC;QAE3C,IAAI,aAAa,KAAK,IAAI,EAAE,CAAC;YAC3B,OAAO,SAAS,CAAC;QACnB,CAAC;QAED,MAAM,mBAAmB,GAAG,CAAyB,IAAO,EAAK,EAAE;YACjE,IACE,IAAI,CAAC,MAAM,CAAC,MAAM,KAAK,CAAC;gBACxB,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,IAAI,KAAK,sBAAc,CAAC,UAAU;gBACjD,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,IAAI,KAAK,MAAM;gBAC9B,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,cAAc,EAAE,cAAc,CAAC,IAAI;oBAChD,sBAAc,CAAC,aAAa,EAC9B,CAAC;gBACD,OAAO,IAAI,CAAC;YACd,CAAC;YAED,OAAO;gBACL,GAAG,IAAI;gBACP,MAAM,EAAE,IAAI,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC,CAAC;aAC7B,CAAC;QACJ,CAAC,CAAC;QAEF,MAAM,YAAY,GAAG,CACnB,QAAiC,EACR,EAAE;YAC3B,OAAO,CAAC,IAAO,EAAQ,EAAE;gBACvB,QAAQ,CAAC,mBAAmB,CAAC,IAAI,CAAC,CAAC,CAAC;YACtC,CAAC,CAAC;QACJ,CAAC,CAAC;QAEF,OAAO;YACL,uBAAuB,EAAE,YAAY,CAAC,SAAS,CAAC,uBAAuB,CAAC;YACxE,mBAAmB,EAAE,YAAY,CAAC,SAAS,CAAC,mBAAmB,CAAC;YAChE,kBAAkB,EAAE,YAAY,CAAC,SAAS,CAAC,kBAAkB,CAAC;SAC/D,CAAC;IACJ,CAAC;CACF,CAAC,CAAC"} \ No newline at end of file +{"version":3,"file":"max-params.js","sourceRoot":"","sources":["../../src/rules/max-params.ts"],"names":[],"mappings":";;AAEA,oDAA0D;AAO1D,kCAAqC;AACrC,iEAA8D;AAW9D,MAAM,QAAQ,GAAG,IAAA,qCAAiB,EAAC,YAAY,CAAC,CAAC;AAKjD,kBAAe,IAAA,iBAAU,EAAsB;IAC7C,IAAI,EAAE,YAAY;IAClB,IAAI,EAAE;QACJ,IAAI,EAAE,YAAY;QAClB,2DAA2D;QAC3D,IAAI,EAAE;YACJ,WAAW,EACT,gEAAgE;YAClE,eAAe,EAAE,IAAI;SACtB;QACD,QAAQ,EAAE,QAAQ,CAAC,IAAI,CAAC,QAAQ;QAChC,MAAM,EAAE;YACN;gBACE,IAAI,EAAE,QAAQ;gBACd,oBAAoB,EAAE,KAAK;gBAC3B,UAAU,EAAE;oBACV,aAAa,EAAE;wBACb,IAAI,EAAE,SAAS;wBACf,WAAW,EACT,gEAAgE;qBACnE;oBACD,GAAG,EAAE;wBACH,IAAI,EAAE,SAAS;wBACf,WAAW,EACT,yDAAyD;wBAC3D,OAAO,EAAE,CAAC;qBACX;oBACD,OAAO,EAAE;wBACP,IAAI,EAAE,SAAS;wBACf,WAAW,EACT,sEAAsE;wBACxE,OAAO,EAAE,CAAC;qBACX;iBACF;aACF;SACF;KACF;IACD,cAAc,EAAE,CAAC,EAAE,aAAa,EAAE,KAAK,EAAE,GAAG,EAAE,CAAC,EAAE,CAAC;IAElD,MAAM,CAAC,OAAO,EAAE,CAAC,EAAE,aAAa,EAAE,CAAC;QACjC,MAAM,SAAS,GAAG,QAAQ,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC;QAE3C,IAAI,aAAa,KAAK,IAAI,EAAE,CAAC;YAC3B,OAAO,SAAS,CAAC;QACnB,CAAC;QAED,MAAM,mBAAmB,GAAG,CAAyB,IAAO,EAAK,EAAE;YACjE,IACE,IAAI,CAAC,MAAM,CAAC,MAAM,KAAK,CAAC;gBACxB,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,IAAI,KAAK,sBAAc,CAAC,UAAU;gBACjD,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,IAAI,KAAK,MAAM;gBAC9B,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,cAAc,EAAE,cAAc,CAAC,IAAI;oBAChD,sBAAc,CAAC,aAAa,EAC9B,CAAC;gBACD,OAAO,IAAI,CAAC;YACd,CAAC;YAED,OAAO;gBACL,GAAG,IAAI;gBACP,MAAM,EAAE,IAAI,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC,CAAC;aAC7B,CAAC;QACJ,CAAC,CAAC;QAEF,MAAM,YAAY,GAAG,CACnB,QAAiC,EACR,EAAE;YAC3B,OAAO,CAAC,IAAO,EAAQ,EAAE;gBACvB,QAAQ,CAAC,mBAAmB,CAAC,IAAI,CAAC,CAAC,CAAC;YACtC,CAAC,CAAC;QACJ,CAAC,CAAC;QAEF,OAAO;YACL,uBAAuB,EAAE,YAAY,CAAC,SAAS,CAAC,uBAAuB,CAAC;YACxE,mBAAmB,EAAE,YAAY,CAAC,SAAS,CAAC,mBAAmB,CAAC;YAChE,kBAAkB,EAAE,YAAY,CAAC,SAAS,CAAC,kBAAkB,CAAC;YAC9D,iBAAiB,EAAE,YAAY,CAAC,SAAS,CAAC,mBAAmB,CAAC;YAC9D,cAAc,EAAE,YAAY,CAAC,SAAS,CAAC,mBAAmB,CAAC;SAC5D,CAAC;IACJ,CAAC;CACF,CAAC,CAAC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-base-to-string.js b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-base-to-string.js index 9435878ec3..a80583d15d 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-base-to-string.js +++ b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-base-to-string.js @@ -15,15 +15,26 @@ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? ( }) : function(o, v) { o["default"] = v; }); -var __importStar = (this && this.__importStar) || function (mod) { - if (mod && mod.__esModule) return mod; - var result = {}; - if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k); - __setModuleDefault(result, mod); - return result; -}; +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); Object.defineProperty(exports, "__esModule", { value: true }); const utils_1 = require("@typescript-eslint/utils"); +const tsutils = __importStar(require("ts-api-utils")); const ts = __importStar(require("typescript")); const util_1 = require("../util"); var Usefulness; @@ -42,6 +53,7 @@ exports.default = (0, util_1.createRule)({ requiresTypeChecking: true, }, messages: { + baseArrayJoin: "Using `join()` for {{name}} {{certainty}} use Object's default stringification format ('[object Object]') when stringified.", baseToString: "'{{name}}' {{certainty}} use Object's default stringification format ('[object Object]') when stringified.", }, schema: [ @@ -86,6 +98,63 @@ exports.default = (0, util_1.createRule)({ }, }); } + function checkExpressionForArrayJoin(node, type) { + const certainty = collectJoinCertainty(type); + if (certainty === Usefulness.Always) { + return; + } + context.report({ + node, + messageId: 'baseArrayJoin', + data: { + name: context.sourceCode.getText(node), + certainty, + }, + }); + } + function collectUnionTypeCertainty(type, collectSubTypeCertainty) { + const certainties = type.types.map(t => collectSubTypeCertainty(t)); + if (certainties.every(certainty => certainty === Usefulness.Never)) { + return Usefulness.Never; + } + if (certainties.every(certainty => certainty === Usefulness.Always)) { + return Usefulness.Always; + } + return Usefulness.Sometimes; + } + function collectIntersectionTypeCertainty(type, collectSubTypeCertainty) { + for (const subType of type.types) { + const subtypeUsefulness = collectSubTypeCertainty(subType); + if (subtypeUsefulness === Usefulness.Always) { + return Usefulness.Always; + } + } + return Usefulness.Never; + } + function collectJoinCertainty(type) { + if (tsutils.isUnionType(type)) { + return collectUnionTypeCertainty(type, collectJoinCertainty); + } + if (tsutils.isIntersectionType(type)) { + return collectIntersectionTypeCertainty(type, collectJoinCertainty); + } + if (checker.isTupleType(type)) { + const typeArgs = checker.getTypeArguments(type); + const certainties = typeArgs.map(t => collectToStringCertainty(t)); + if (certainties.some(certainty => certainty === Usefulness.Never)) { + return Usefulness.Never; + } + if (certainties.some(certainty => certainty === Usefulness.Sometimes)) { + return Usefulness.Sometimes; + } + return Usefulness.Always; + } + if (checker.isArrayType(type)) { + const elemType = (0, util_1.nullThrows)(type.getNumberIndexType(), 'array should have number index type'); + return collectToStringCertainty(elemType); + } + return Usefulness.Always; + } function collectToStringCertainty(type) { const toString = checker.getPropertyOfType(type, 'toString') ?? checker.getPropertyOfType(type, 'toLocaleString'); @@ -105,35 +174,12 @@ exports.default = (0, util_1.createRule)({ return Usefulness.Always; } if (type.isIntersection()) { - for (const subType of type.types) { - const subtypeUsefulness = collectToStringCertainty(subType); - if (subtypeUsefulness === Usefulness.Always) { - return Usefulness.Always; - } - } - return Usefulness.Never; + return collectIntersectionTypeCertainty(type, collectToStringCertainty); } if (!type.isUnion()) { return Usefulness.Never; } - let allSubtypesUseful = true; - let someSubtypeUseful = false; - for (const subType of type.types) { - const subtypeUsefulness = collectToStringCertainty(subType); - if (subtypeUsefulness !== Usefulness.Always && allSubtypesUseful) { - allSubtypesUseful = false; - } - if (subtypeUsefulness !== Usefulness.Never && !someSubtypeUseful) { - someSubtypeUseful = true; - } - } - if (allSubtypesUseful && someSubtypeUseful) { - return Usefulness.Always; - } - if (someSubtypeUseful) { - return Usefulness.Sometimes; - } - return Usefulness.Never; + return collectUnionTypeCertainty(type, collectToStringCertainty); } function isBuiltInStringCall(node) { if (node.callee.type === utils_1.AST_NODE_TYPES.Identifier && @@ -162,6 +208,11 @@ exports.default = (0, util_1.createRule)({ checkExpression(node.arguments[0]); } }, + 'CallExpression > MemberExpression.callee > Identifier[name = "join"].property'(node) { + const memberExpr = node.parent; + const type = (0, util_1.getConstrainedTypeAtLocation)(services, memberExpr.object); + checkExpressionForArrayJoin(memberExpr.object, type); + }, 'CallExpression > MemberExpression.callee > Identifier[name = /^(toLocaleString|toString)$/].property'(node) { const memberExpr = node.parent; checkExpression(memberExpr.object); diff --git a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-base-to-string.js.map b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-base-to-string.js.map index e5697c72c4..526940f7ad 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-base-to-string.js.map +++ b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-base-to-string.js.map @@ -1 +1 @@ -{"version":3,"file":"no-base-to-string.js","sourceRoot":"","sources":["../../src/rules/no-base-to-string.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AAGA,oDAA0D;AAC1D,+CAAiC;AAEjC,kCAAqE;AAErE,IAAK,UAIJ;AAJD,WAAK,UAAU;IACb,+BAAiB,CAAA;IACjB,4BAAc,CAAA;IACd,+BAAiB,CAAA;AACnB,CAAC,EAJI,UAAU,KAAV,UAAU,QAId;AASD,kBAAe,IAAA,iBAAU,EAAsB;IAC7C,IAAI,EAAE,mBAAmB;IACzB,IAAI,EAAE;QACJ,IAAI,EAAE,YAAY;QAClB,IAAI,EAAE;YACJ,WAAW,EACT,8HAA8H;YAChI,WAAW,EAAE,aAAa;YAC1B,oBAAoB,EAAE,IAAI;SAC3B;QACD,QAAQ,EAAE;YACR,YAAY,EACV,4GAA4G;SAC/G;QACD,MAAM,EAAE;YACN;gBACE,IAAI,EAAE,QAAQ;gBACd,oBAAoB,EAAE,KAAK;gBAC3B,UAAU,EAAE;oBACV,gBAAgB,EAAE;wBAChB,IAAI,EAAE,OAAO;wBACb,WAAW,EACT,0DAA0D;wBAC5D,KAAK,EAAE;4BACL,IAAI,EAAE,QAAQ;yBACf;qBACF;iBACF;aACF;SACF;KACF;IACD,cAAc,EAAE;QACd;YACE,gBAAgB,EAAE,CAAC,OAAO,EAAE,QAAQ,EAAE,KAAK,EAAE,iBAAiB,CAAC;SAChE;KACF;IACD,MAAM,CAAC,OAAO,EAAE,CAAC,MAAM,CAAC;QACtB,MAAM,QAAQ,GAAG,IAAA,wBAAiB,EAAC,OAAO,CAAC,CAAC;QAC5C,MAAM,OAAO,GAAG,QAAQ,CAAC,OAAO,CAAC,cAAc,EAAE,CAAC;QAClD,MAAM,gBAAgB,GAAG,MAAM,CAAC,gBAAgB,IAAI,EAAE,CAAC;QAEvD,SAAS,eAAe,CAAC,IAAmB,EAAE,IAAc;YAC1D,IAAI,IAAI,CAAC,IAAI,KAAK,sBAAc,CAAC,OAAO,EAAE,CAAC;gBACzC,OAAO;YACT,CAAC;YAED,MAAM,SAAS,GAAG,wBAAwB,CACxC,IAAI,IAAI,QAAQ,CAAC,iBAAiB,CAAC,IAAI,CAAC,CACzC,CAAC;YACF,IAAI,SAAS,KAAK,UAAU,CAAC,MAAM,EAAE,CAAC;gBACpC,OAAO;YACT,CAAC;YAED,OAAO,CAAC,MAAM,CAAC;gBACb,IAAI;gBACJ,SAAS,EAAE,cAAc;gBACzB,IAAI,EAAE;oBACJ,IAAI,EAAE,OAAO,CAAC,UAAU,CAAC,OAAO,CAAC,IAAI,CAAC;oBACtC,SAAS;iBACV;aACF,CAAC,CAAC;QACL,CAAC;QAED,SAAS,wBAAwB,CAAC,IAAa;YAC7C,MAAM,QAAQ,GACZ,OAAO,CAAC,iBAAiB,CAAC,IAAI,EAAE,UAAU,CAAC;gBAC3C,OAAO,CAAC,iBAAiB,CAAC,IAAI,EAAE,gBAAgB,CAAC,CAAC;YACpD,MAAM,YAAY,GAAG,QAAQ,EAAE,eAAe,EAAE,CAAC;YACjD,IAAI,CAAC,QAAQ,IAAI,CAAC,YAAY,IAAI,YAAY,CAAC,MAAM,KAAK,CAAC,EAAE,CAAC;gBAC5D,OAAO,UAAU,CAAC,MAAM,CAAC;YAC3B,CAAC;YAED,mFAAmF;YACnF,IACE,IAAI,CAAC,KAAK,GAAG,EAAE,CAAC,SAAS,CAAC,OAAO;gBACjC,IAAI,CAAC,KAAK,GAAG,EAAE,CAAC,SAAS,CAAC,cAAc,EACxC,CAAC;gBACD,OAAO,UAAU,CAAC,MAAM,CAAC;YAC3B,CAAC;YAED,IAAI,gBAAgB,CAAC,QAAQ,CAAC,IAAA,kBAAW,EAAC,OAAO,EAAE,IAAI,CAAC,CAAC,EAAE,CAAC;gBAC1D,OAAO,UAAU,CAAC,MAAM,CAAC;YAC3B,CAAC;YAED,IACE,YAAY,CAAC,KAAK,CAChB,CAAC,EAAE,MAAM,EAAE,EAAE,EAAE,CACb,CAAC,EAAE,CAAC,sBAAsB,CAAC,MAAM,CAAC,IAAI,MAAM,CAAC,IAAI,CAAC,IAAI,KAAK,QAAQ,CACtE,EACD,CAAC;gBACD,OAAO,UAAU,CAAC,MAAM,CAAC;YAC3B,CAAC;YAED,IAAI,IAAI,CAAC,cAAc,EAAE,EAAE,CAAC;gBAC1B,KAAK,MAAM,OAAO,IAAI,IAAI,CAAC,KAAK,EAAE,CAAC;oBACjC,MAAM,iBAAiB,GAAG,wBAAwB,CAAC,OAAO,CAAC,CAAC;oBAE5D,IAAI,iBAAiB,KAAK,UAAU,CAAC,MAAM,EAAE,CAAC;wBAC5C,OAAO,UAAU,CAAC,MAAM,CAAC;oBAC3B,CAAC;gBACH,CAAC;gBAED,OAAO,UAAU,CAAC,KAAK,CAAC;YAC1B,CAAC;YAED,IAAI,CAAC,IAAI,CAAC,OAAO,EAAE,EAAE,CAAC;gBACpB,OAAO,UAAU,CAAC,KAAK,CAAC;YAC1B,CAAC;YAED,IAAI,iBAAiB,GAAG,IAAI,CAAC;YAC7B,IAAI,iBAAiB,GAAG,KAAK,CAAC;YAE9B,KAAK,MAAM,OAAO,IAAI,IAAI,CAAC,KAAK,EAAE,CAAC;gBACjC,MAAM,iBAAiB,GAAG,wBAAwB,CAAC,OAAO,CAAC,CAAC;gBAE5D,IAAI,iBAAiB,KAAK,UAAU,CAAC,MAAM,IAAI,iBAAiB,EAAE,CAAC;oBACjE,iBAAiB,GAAG,KAAK,CAAC;gBAC5B,CAAC;gBAED,IAAI,iBAAiB,KAAK,UAAU,CAAC,KAAK,IAAI,CAAC,iBAAiB,EAAE,CAAC;oBACjE,iBAAiB,GAAG,IAAI,CAAC;gBAC3B,CAAC;YACH,CAAC;YAED,IAAI,iBAAiB,IAAI,iBAAiB,EAAE,CAAC;gBAC3C,OAAO,UAAU,CAAC,MAAM,CAAC;YAC3B,CAAC;YAED,IAAI,iBAAiB,EAAE,CAAC;gBACtB,OAAO,UAAU,CAAC,SAAS,CAAC;YAC9B,CAAC;YAED,OAAO,UAAU,CAAC,KAAK,CAAC;QAC1B,CAAC;QAED,SAAS,mBAAmB,CAAC,IAA6B;YACxD,IACE,IAAI,CAAC,MAAM,CAAC,IAAI,KAAK,sBAAc,CAAC,UAAU;gBAC9C,IAAI,CAAC,MAAM,CAAC,IAAI,KAAK,QAAQ;gBAC7B,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC,EACjB,CAAC;gBACD,MAAM,KAAK,GAAG,OAAO,CAAC,UAAU,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC;gBAChD,MAAM,QAAQ,GAAG,KAAK,CAAC,GAAG,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAC;gBACzC,OAAO,CAAC,QAAQ,EAAE,IAAI,CAAC,MAAM,CAAC;YAChC,CAAC;YACD,OAAO,KAAK,CAAC;QACf,CAAC;QAED,OAAO;YACL,yEAAyE,CACvE,IAA+D;gBAE/D,MAAM,QAAQ,GAAG,QAAQ,CAAC,iBAAiB,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;gBACvD,MAAM,SAAS,GAAG,QAAQ,CAAC,iBAAiB,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;gBAEzD,IAAI,IAAA,kBAAW,EAAC,OAAO,EAAE,QAAQ,CAAC,KAAK,QAAQ,EAAE,CAAC;oBAChD,eAAe,CAAC,IAAI,CAAC,KAAK,EAAE,SAAS,CAAC,CAAC;gBACzC,CAAC;qBAAM,IACL,IAAA,kBAAW,EAAC,OAAO,EAAE,SAAS,CAAC,KAAK,QAAQ;oBAC5C,IAAI,CAAC,IAAI,CAAC,IAAI,KAAK,sBAAc,CAAC,iBAAiB,EACnD,CAAC;oBACD,eAAe,CAAC,IAAI,CAAC,IAAI,EAAE,QAAQ,CAAC,CAAC;gBACvC,CAAC;YACH,CAAC;YACD,cAAc,CAAC,IAA6B;gBAC1C,IAAI,mBAAmB,CAAC,IAAI,CAAC,EAAE,CAAC;oBAC9B,eAAe,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC,CAAC;gBACrC,CAAC;YACH,CAAC;YACD,sGAAsG,CACpG,IAAyB;gBAEzB,MAAM,UAAU,GAAG,IAAI,CAAC,MAAmC,CAAC;gBAC5D,eAAe,CAAC,UAAU,CAAC,MAAM,CAAC,CAAC;YACrC,CAAC;YACD,eAAe,CAAC,IAA8B;gBAC5C,IAAI,IAAI,CAAC,MAAM,CAAC,IAAI,KAAK,sBAAc,CAAC,wBAAwB,EAAE,CAAC;oBACjE,OAAO;gBACT,CAAC;gBACD,KAAK,MAAM,UAAU,IAAI,IAAI,CAAC,WAAW,EAAE,CAAC;oBAC1C,eAAe,CAAC,UAAU,CAAC,CAAC;gBAC9B,CAAC;YACH,CAAC;SACF,CAAC;IACJ,CAAC;CACF,CAAC,CAAC"} \ No newline at end of file +{"version":3,"file":"no-base-to-string.js","sourceRoot":"","sources":["../../src/rules/no-base-to-string.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAGA,oDAA0D;AAC1D,sDAAwC;AACxC,+CAAiC;AAEjC,kCAMiB;AAEjB,IAAK,UAIJ;AAJD,WAAK,UAAU;IACb,+BAAiB,CAAA;IACjB,4BAAc,CAAA;IACd,+BAAiB,CAAA;AACnB,CAAC,EAJI,UAAU,KAAV,UAAU,QAId;AASD,kBAAe,IAAA,iBAAU,EAAsB;IAC7C,IAAI,EAAE,mBAAmB;IACzB,IAAI,EAAE;QACJ,IAAI,EAAE,YAAY;QAClB,IAAI,EAAE;YACJ,WAAW,EACT,8HAA8H;YAChI,WAAW,EAAE,aAAa;YAC1B,oBAAoB,EAAE,IAAI;SAC3B;QACD,QAAQ,EAAE;YACR,aAAa,EACX,6HAA6H;YAC/H,YAAY,EACV,4GAA4G;SAC/G;QACD,MAAM,EAAE;YACN;gBACE,IAAI,EAAE,QAAQ;gBACd,oBAAoB,EAAE,KAAK;gBAC3B,UAAU,EAAE;oBACV,gBAAgB,EAAE;wBAChB,IAAI,EAAE,OAAO;wBACb,WAAW,EACT,0DAA0D;wBAC5D,KAAK,EAAE;4BACL,IAAI,EAAE,QAAQ;yBACf;qBACF;iBACF;aACF;SACF;KACF;IACD,cAAc,EAAE;QACd;YACE,gBAAgB,EAAE,CAAC,OAAO,EAAE,QAAQ,EAAE,KAAK,EAAE,iBAAiB,CAAC;SAChE;KACF;IACD,MAAM,CAAC,OAAO,EAAE,CAAC,MAAM,CAAC;QACtB,MAAM,QAAQ,GAAG,IAAA,wBAAiB,EAAC,OAAO,CAAC,CAAC;QAC5C,MAAM,OAAO,GAAG,QAAQ,CAAC,OAAO,CAAC,cAAc,EAAE,CAAC;QAClD,MAAM,gBAAgB,GAAG,MAAM,CAAC,gBAAgB,IAAI,EAAE,CAAC;QAEvD,SAAS,eAAe,CAAC,IAAmB,EAAE,IAAc;YAC1D,IAAI,IAAI,CAAC,IAAI,KAAK,sBAAc,CAAC,OAAO,EAAE,CAAC;gBACzC,OAAO;YACT,CAAC;YACD,MAAM,SAAS,GAAG,wBAAwB,CACxC,IAAI,IAAI,QAAQ,CAAC,iBAAiB,CAAC,IAAI,CAAC,CACzC,CAAC;YACF,IAAI,SAAS,KAAK,UAAU,CAAC,MAAM,EAAE,CAAC;gBACpC,OAAO;YACT,CAAC;YAED,OAAO,CAAC,MAAM,CAAC;gBACb,IAAI;gBACJ,SAAS,EAAE,cAAc;gBACzB,IAAI,EAAE;oBACJ,IAAI,EAAE,OAAO,CAAC,UAAU,CAAC,OAAO,CAAC,IAAI,CAAC;oBACtC,SAAS;iBACV;aACF,CAAC,CAAC;QACL,CAAC;QAED,SAAS,2BAA2B,CAClC,IAAmB,EACnB,IAAa;YAEb,MAAM,SAAS,GAAG,oBAAoB,CAAC,IAAI,CAAC,CAAC;YAE7C,IAAI,SAAS,KAAK,UAAU,CAAC,MAAM,EAAE,CAAC;gBACpC,OAAO;YACT,CAAC;YAED,OAAO,CAAC,MAAM,CAAC;gBACb,IAAI;gBACJ,SAAS,EAAE,eAAe;gBAC1B,IAAI,EAAE;oBACJ,IAAI,EAAE,OAAO,CAAC,UAAU,CAAC,OAAO,CAAC,IAAI,CAAC;oBACtC,SAAS;iBACV;aACF,CAAC,CAAC;QACL,CAAC;QAED,SAAS,yBAAyB,CAChC,IAAkB,EAClB,uBAAsD;YAEtD,MAAM,WAAW,GAAG,IAAI,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,uBAAuB,CAAC,CAAC,CAAC,CAAC,CAAC;YACpE,IAAI,WAAW,CAAC,KAAK,CAAC,SAAS,CAAC,EAAE,CAAC,SAAS,KAAK,UAAU,CAAC,KAAK,CAAC,EAAE,CAAC;gBACnE,OAAO,UAAU,CAAC,KAAK,CAAC;YAC1B,CAAC;YAED,IAAI,WAAW,CAAC,KAAK,CAAC,SAAS,CAAC,EAAE,CAAC,SAAS,KAAK,UAAU,CAAC,MAAM,CAAC,EAAE,CAAC;gBACpE,OAAO,UAAU,CAAC,MAAM,CAAC;YAC3B,CAAC;YAED,OAAO,UAAU,CAAC,SAAS,CAAC;QAC9B,CAAC;QAED,SAAS,gCAAgC,CACvC,IAAyB,EACzB,uBAAsD;YAEtD,KAAK,MAAM,OAAO,IAAI,IAAI,CAAC,KAAK,EAAE,CAAC;gBACjC,MAAM,iBAAiB,GAAG,uBAAuB,CAAC,OAAO,CAAC,CAAC;gBAE3D,IAAI,iBAAiB,KAAK,UAAU,CAAC,MAAM,EAAE,CAAC;oBAC5C,OAAO,UAAU,CAAC,MAAM,CAAC;gBAC3B,CAAC;YACH,CAAC;YAED,OAAO,UAAU,CAAC,KAAK,CAAC;QAC1B,CAAC;QAED,SAAS,oBAAoB,CAAC,IAAa;YACzC,IAAI,OAAO,CAAC,WAAW,CAAC,IAAI,CAAC,EAAE,CAAC;gBAC9B,OAAO,yBAAyB,CAAC,IAAI,EAAE,oBAAoB,CAAC,CAAC;YAC/D,CAAC;YAED,IAAI,OAAO,CAAC,kBAAkB,CAAC,IAAI,CAAC,EAAE,CAAC;gBACrC,OAAO,gCAAgC,CAAC,IAAI,EAAE,oBAAoB,CAAC,CAAC;YACtE,CAAC;YAED,IAAI,OAAO,CAAC,WAAW,CAAC,IAAI,CAAC,EAAE,CAAC;gBAC9B,MAAM,QAAQ,GAAG,OAAO,CAAC,gBAAgB,CAAC,IAAI,CAAC,CAAC;gBAChD,MAAM,WAAW,GAAG,QAAQ,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,wBAAwB,CAAC,CAAC,CAAC,CAAC,CAAC;gBACnE,IAAI,WAAW,CAAC,IAAI,CAAC,SAAS,CAAC,EAAE,CAAC,SAAS,KAAK,UAAU,CAAC,KAAK,CAAC,EAAE,CAAC;oBAClE,OAAO,UAAU,CAAC,KAAK,CAAC;gBAC1B,CAAC;gBAED,IAAI,WAAW,CAAC,IAAI,CAAC,SAAS,CAAC,EAAE,CAAC,SAAS,KAAK,UAAU,CAAC,SAAS,CAAC,EAAE,CAAC;oBACtE,OAAO,UAAU,CAAC,SAAS,CAAC;gBAC9B,CAAC;gBAED,OAAO,UAAU,CAAC,MAAM,CAAC;YAC3B,CAAC;YAED,IAAI,OAAO,CAAC,WAAW,CAAC,IAAI,CAAC,EAAE,CAAC;gBAC9B,MAAM,QAAQ,GAAG,IAAA,iBAAU,EACzB,IAAI,CAAC,kBAAkB,EAAE,EACzB,qCAAqC,CACtC,CAAC;gBACF,OAAO,wBAAwB,CAAC,QAAQ,CAAC,CAAC;YAC5C,CAAC;YAED,OAAO,UAAU,CAAC,MAAM,CAAC;QAC3B,CAAC;QAED,SAAS,wBAAwB,CAAC,IAAa;YAC7C,MAAM,QAAQ,GACZ,OAAO,CAAC,iBAAiB,CAAC,IAAI,EAAE,UAAU,CAAC;gBAC3C,OAAO,CAAC,iBAAiB,CAAC,IAAI,EAAE,gBAAgB,CAAC,CAAC;YACpD,MAAM,YAAY,GAAG,QAAQ,EAAE,eAAe,EAAE,CAAC;YACjD,IAAI,CAAC,QAAQ,IAAI,CAAC,YAAY,IAAI,YAAY,CAAC,MAAM,KAAK,CAAC,EAAE,CAAC;gBAC5D,OAAO,UAAU,CAAC,MAAM,CAAC;YAC3B,CAAC;YAED,mFAAmF;YACnF,IACE,IAAI,CAAC,KAAK,GAAG,EAAE,CAAC,SAAS,CAAC,OAAO;gBACjC,IAAI,CAAC,KAAK,GAAG,EAAE,CAAC,SAAS,CAAC,cAAc,EACxC,CAAC;gBACD,OAAO,UAAU,CAAC,MAAM,CAAC;YAC3B,CAAC;YAED,IAAI,gBAAgB,CAAC,QAAQ,CAAC,IAAA,kBAAW,EAAC,OAAO,EAAE,IAAI,CAAC,CAAC,EAAE,CAAC;gBAC1D,OAAO,UAAU,CAAC,MAAM,CAAC;YAC3B,CAAC;YAED,IACE,YAAY,CAAC,KAAK,CAChB,CAAC,EAAE,MAAM,EAAE,EAAE,EAAE,CACb,CAAC,EAAE,CAAC,sBAAsB,CAAC,MAAM,CAAC,IAAI,MAAM,CAAC,IAAI,CAAC,IAAI,KAAK,QAAQ,CACtE,EACD,CAAC;gBACD,OAAO,UAAU,CAAC,MAAM,CAAC;YAC3B,CAAC;YAED,IAAI,IAAI,CAAC,cAAc,EAAE,EAAE,CAAC;gBAC1B,OAAO,gCAAgC,CAAC,IAAI,EAAE,wBAAwB,CAAC,CAAC;YAC1E,CAAC;YAED,IAAI,CAAC,IAAI,CAAC,OAAO,EAAE,EAAE,CAAC;gBACpB,OAAO,UAAU,CAAC,KAAK,CAAC;YAC1B,CAAC;YACD,OAAO,yBAAyB,CAAC,IAAI,EAAE,wBAAwB,CAAC,CAAC;QACnE,CAAC;QAED,SAAS,mBAAmB,CAAC,IAA6B;YACxD,IACE,IAAI,CAAC,MAAM,CAAC,IAAI,KAAK,sBAAc,CAAC,UAAU;gBAC9C,IAAI,CAAC,MAAM,CAAC,IAAI,KAAK,QAAQ;gBAC7B,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC,EACjB,CAAC;gBACD,MAAM,KAAK,GAAG,OAAO,CAAC,UAAU,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC;gBAChD,MAAM,QAAQ,GAAG,KAAK,CAAC,GAAG,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAC;gBACzC,OAAO,CAAC,QAAQ,EAAE,IAAI,CAAC,MAAM,CAAC;YAChC,CAAC;YACD,OAAO,KAAK,CAAC;QACf,CAAC;QAED,OAAO;YACL,yEAAyE,CACvE,IAA+D;gBAE/D,MAAM,QAAQ,GAAG,QAAQ,CAAC,iBAAiB,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;gBACvD,MAAM,SAAS,GAAG,QAAQ,CAAC,iBAAiB,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;gBAEzD,IAAI,IAAA,kBAAW,EAAC,OAAO,EAAE,QAAQ,CAAC,KAAK,QAAQ,EAAE,CAAC;oBAChD,eAAe,CAAC,IAAI,CAAC,KAAK,EAAE,SAAS,CAAC,CAAC;gBACzC,CAAC;qBAAM,IACL,IAAA,kBAAW,EAAC,OAAO,EAAE,SAAS,CAAC,KAAK,QAAQ;oBAC5C,IAAI,CAAC,IAAI,CAAC,IAAI,KAAK,sBAAc,CAAC,iBAAiB,EACnD,CAAC;oBACD,eAAe,CAAC,IAAI,CAAC,IAAI,EAAE,QAAQ,CAAC,CAAC;gBACvC,CAAC;YACH,CAAC;YACD,cAAc,CAAC,IAA6B;gBAC1C,IAAI,mBAAmB,CAAC,IAAI,CAAC,EAAE,CAAC;oBAC9B,eAAe,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC,CAAC;gBACrC,CAAC;YACH,CAAC;YACD,+EAA+E,CAC7E,IAAyB;gBAEzB,MAAM,UAAU,GAAG,IAAI,CAAC,MAAmC,CAAC;gBAC5D,MAAM,IAAI,GAAG,IAAA,mCAA4B,EAAC,QAAQ,EAAE,UAAU,CAAC,MAAM,CAAC,CAAC;gBACvE,2BAA2B,CAAC,UAAU,CAAC,MAAM,EAAE,IAAI,CAAC,CAAC;YACvD,CAAC;YACD,sGAAsG,CACpG,IAAyB;gBAEzB,MAAM,UAAU,GAAG,IAAI,CAAC,MAAmC,CAAC;gBAC5D,eAAe,CAAC,UAAU,CAAC,MAAM,CAAC,CAAC;YACrC,CAAC;YAED,eAAe,CAAC,IAA8B;gBAC5C,IAAI,IAAI,CAAC,MAAM,CAAC,IAAI,KAAK,sBAAc,CAAC,wBAAwB,EAAE,CAAC;oBACjE,OAAO;gBACT,CAAC;gBACD,KAAK,MAAM,UAAU,IAAI,IAAI,CAAC,WAAW,EAAE,CAAC;oBAC1C,eAAe,CAAC,UAAU,CAAC,CAAC;gBAC9B,CAAC;YACH,CAAC;SACF,CAAC;IACJ,CAAC;CACF,CAAC,CAAC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-confusing-void-expression.js b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-confusing-void-expression.js index b7fefbd7d7..1541895cc5 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-confusing-void-expression.js +++ b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-confusing-void-expression.js @@ -15,13 +15,23 @@ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? ( }) : function(o, v) { o["default"] = v; }); -var __importStar = (this && this.__importStar) || function (mod) { - if (mod && mod.__esModule) return mod; - var result = {}; - if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k); - __setModuleDefault(result, mod); - return result; -}; +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); Object.defineProperty(exports, "__esModule", { value: true }); const utils_1 = require("@typescript-eslint/utils"); const tsutils = __importStar(require("ts-api-utils")); diff --git a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-confusing-void-expression.js.map b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-confusing-void-expression.js.map index 791936a2a1..23b3349d5e 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-confusing-void-expression.js.map +++ b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-confusing-void-expression.js.map @@ -1 +1 @@ -{"version":3,"file":"no-confusing-void-expression.js","sourceRoot":"","sources":["../../src/rules/no-confusing-void-expression.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AAEA,oDAA0D;AAC1D,sDAAwC;AACxC,+CAAiC;AAIjC,kCASiB;AACjB,yEAAsE;AAoBtE,kBAAe,IAAA,iBAAU,EAAqB;IAC5C,IAAI,EAAE,8BAA8B;IACpC,IAAI,EAAE;QACJ,IAAI,EAAE,SAAS;QACf,IAAI,EAAE;YACJ,WAAW,EACT,kEAAkE;YACpE,WAAW,EAAE,QAAQ;YACrB,oBAAoB,EAAE,IAAI;SAC3B;QACD,OAAO,EAAE,MAAM;QACf,cAAc,EAAE,IAAI;QACpB,QAAQ,EAAE;YACR,eAAe,EACb,oEAAoE;gBACpE,uCAAuC;YACzC,oBAAoB,EAClB,6EAA6E;gBAC7E,0CAA0C;YAC5C,4BAA4B,EAC1B,6DAA6D;gBAC7D,qDAAqD;YACvD,qBAAqB,EACnB,4DAA4D;gBAC5D,+CAA+C;YACjD,yBAAyB,EACvB,4DAA4D;gBAC5D,uCAAuC;YACzC,6BAA6B,EAC3B,4CAA4C;gBAC5C,qDAAqD;YACvD,uBAAuB,EACrB,kDAAkD;gBAClD,qCAAqC;gBACrC,gDAAgD;YAClD,gBAAgB,EAAE,wCAAwC;SAC3D;QACD,MAAM,EAAE;YACN;gBACE,IAAI,EAAE,QAAQ;gBACd,oBAAoB,EAAE,KAAK;gBAC3B,UAAU,EAAE;oBACV,oBAAoB,EAAE;wBACpB,IAAI,EAAE,SAAS;wBACf,WAAW,EACT,wFAAwF;qBAC3F;oBACD,kBAAkB,EAAE;wBAClB,IAAI,EAAE,SAAS;wBACf,WAAW,EACT,gEAAgE;qBACnE;oBACD,4BAA4B,EAAE;wBAC5B,IAAI,EAAE,SAAS;wBACf,WAAW,EACT,+HAA+H;qBAClI;iBACF;aACF;SACF;KACF;IACD,cAAc,EAAE;QACd;YACE,oBAAoB,EAAE,KAAK;YAC3B,kBAAkB,EAAE,KAAK;YACzB,4BAA4B,EAAE,KAAK;SACpC;KACF;IAED,MAAM,CAAC,OAAO,EAAE,CAAC,OAAO,CAAC;QACvB,MAAM,QAAQ,GAAG,IAAA,wBAAiB,EAAC,OAAO,CAAC,CAAC;QAC5C,MAAM,OAAO,GAAG,QAAQ,CAAC,OAAO,CAAC,cAAc,EAAE,CAAC;QAElD,OAAO;YACL,2DAA2D,CACzD,IAGqC;gBAErC,MAAM,IAAI,GAAG,IAAA,mCAA4B,EAAC,QAAQ,EAAE,IAAI,CAAC,CAAC;gBAC1D,IAAI,CAAC,OAAO,CAAC,aAAa,CAAC,IAAI,EAAE,EAAE,CAAC,SAAS,CAAC,QAAQ,CAAC,EAAE,CAAC;oBACxD,wBAAwB;oBACxB,OAAO;gBACT,CAAC;gBAED,MAAM,eAAe,GAAG,mBAAmB,CAAC,IAAI,CAAC,CAAC;gBAClD,IAAI,eAAe,IAAI,IAAI,EAAE,CAAC;oBAC5B,uCAAuC;oBACvC,OAAO;gBACT,CAAC;gBAED,MAAM,WAAW,GAAG,CAAC,KAAyB,EAAoB,EAAE;oBAClE,MAAM,QAAQ,GAAG,OAAO,CAAC,UAAU,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC;oBAClD,MAAM,WAAW,GAAG,QAAQ,QAAQ,EAAE,CAAC;oBACvC,OAAO,KAAK,CAAC,WAAW,CAAC,IAAI,EAAE,WAAW,CAAC,CAAC;gBAC9C,CAAC,CAAC;gBAEF,IAAI,eAAe,CAAC,IAAI,KAAK,sBAAc,CAAC,uBAAuB,EAAE,CAAC;oBACpE,kCAAkC;oBAElC,IAAI,OAAO,CAAC,4BAA4B,EAAE,CAAC;wBACzC,MAAM,WAAW,GAAG,2BAA2B,CAAC,eAAe,CAAC,CAAC;wBAEjE,IAAI,WAAW,EAAE,CAAC;4BAChB,OAAO;wBACT,CAAC;oBACH,CAAC;oBAED,IAAI,OAAO,CAAC,kBAAkB,EAAE,CAAC;wBAC/B,8BAA8B;wBAC9B,OAAO,OAAO,CAAC,MAAM,CAAC;4BACpB,IAAI;4BACJ,SAAS,EAAE,8BAA8B;4BACzC,GAAG,EAAE,WAAW;yBACjB,CAAC,CAAC;oBACL,CAAC;oBAED,8BAA8B;oBAC9B,MAAM,aAAa,GAAG,eAAe,CAAC;oBACtC,OAAO,OAAO,CAAC,MAAM,CAAC;wBACpB,IAAI;wBACJ,SAAS,EAAE,sBAAsB;wBACjC,GAAG,CAAC,KAAK;4BACP,IAAI,CAAC,MAAM,CAAC,aAAa,CAAC,EAAE,CAAC;gCAC3B,OAAO,IAAI,CAAC;4BACd,CAAC;4BACD,MAAM,SAAS,GAAG,aAAa,CAAC,IAAI,CAAC;4BACrC,MAAM,aAAa,GAAG,OAAO,CAAC,UAAU,CAAC,OAAO,CAAC,SAAS,CAAC,CAAC;4BAC5D,MAAM,gBAAgB,GAAG,KAAK,aAAa,KAAK,CAAC;4BACjD,IAAI,IAAA,sBAAe,EAAC,SAAS,EAAE,OAAO,CAAC,UAAU,CAAC,EAAE,CAAC;gCACnD,MAAM,gBAAgB,GAAG,IAAA,iBAAU,EACjC,OAAO,CAAC,UAAU,CAAC,cAAc,CAC/B,SAAS,EACT,0BAAmB,CACpB,EACD,wBAAiB,CAAC,YAAY,CAC5B,qBAAqB,EACrB,YAAY,CACb,CACF,CAAC;gCACF,MAAM,gBAAgB,GAAG,IAAA,iBAAU,EACjC,OAAO,CAAC,UAAU,CAAC,aAAa,CAC9B,SAAS,EACT,0BAAmB,CACpB,EACD,wBAAiB,CAAC,YAAY,CAC5B,qBAAqB,EACrB,YAAY,CACb,CACF,CAAC;gCACF,OAAO,KAAK,CAAC,gBAAgB,CAC3B,CAAC,gBAAgB,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,gBAAgB,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EACtD,gBAAgB,CACjB,CAAC;4BACJ,CAAC;4BACD,OAAO,KAAK,CAAC,WAAW,CAAC,SAAS,EAAE,gBAAgB,CAAC,CAAC;wBACxD,CAAC;qBACF,CAAC,CAAC;gBACL,CAAC;gBAED,IAAI,eAAe,CAAC,IAAI,KAAK,sBAAc,CAAC,eAAe,EAAE,CAAC;oBAC5D,0BAA0B;oBAE1B,IAAI,OAAO,CAAC,4BAA4B,EAAE,CAAC;wBACzC,MAAM,YAAY,GAAG,IAAA,6CAAqB,EAAC,eAAe,CAAC,CAAC;wBAE5D,IAAI,YAAY,EAAE,CAAC;4BACjB,MAAM,WAAW,GAAG,2BAA2B,CAAC,YAAY,CAAC,CAAC;4BAE9D,IAAI,WAAW,EAAE,CAAC;gCAChB,OAAO;4BACT,CAAC;wBACH,CAAC;oBACH,CAAC;oBAED,IAAI,OAAO,CAAC,kBAAkB,EAAE,CAAC;wBAC/B,8BAA8B;wBAC9B,OAAO,OAAO,CAAC,MAAM,CAAC;4BACpB,IAAI;4BACJ,SAAS,EAAE,+BAA+B;4BAC1C,GAAG,EAAE,WAAW;yBACjB,CAAC,CAAC;oBACL,CAAC;oBAED,IAAI,aAAa,CAAC,eAAe,CAAC,EAAE,CAAC;wBACnC,8BAA8B;wBAC9B,OAAO,OAAO,CAAC,MAAM,CAAC;4BACpB,IAAI;4BACJ,SAAS,EAAE,2BAA2B;4BACtC,GAAG,CAAC,KAAK;gCACP,IAAI,CAAC,MAAM,CAAC,eAAe,CAAC,EAAE,CAAC;oCAC7B,OAAO,IAAI,CAAC;gCACd,CAAC;gCACD,MAAM,WAAW,GAAG,eAAe,CAAC,QAAQ,CAAC;gCAC7C,MAAM,eAAe,GAAG,OAAO,CAAC,UAAU,CAAC,OAAO,CAAC,WAAW,CAAC,CAAC;gCAChE,IAAI,iBAAiB,GAAG,GAAG,eAAe,GAAG,CAAC;gCAC9C,IAAI,eAAe,CAAC,WAAW,CAAC,EAAE,CAAC;oCACjC,+CAA+C;oCAC/C,iBAAiB,GAAG,IAAI,iBAAiB,EAAE,CAAC;gCAC9C,CAAC;gCACD,OAAO,KAAK,CAAC,WAAW,CAAC,eAAe,EAAE,iBAAiB,CAAC,CAAC;4BAC/D,CAAC;yBACF,CAAC,CAAC;oBACL,CAAC;oBAED,mCAAmC;oBACnC,OAAO,OAAO,CAAC,MAAM,CAAC;wBACpB,IAAI;wBACJ,SAAS,EAAE,uBAAuB;wBAClC,GAAG,CAAC,KAAK;4BACP,MAAM,WAAW,GAAG,eAAe,CAAC,QAAQ,CAAC;4BAC7C,MAAM,eAAe,GAAG,OAAO,CAAC,UAAU,CAAC,OAAO,CAAC,WAAW,CAAC,CAAC;4BAChE,IAAI,iBAAiB,GAAG,GAAG,eAAe,WAAW,CAAC;4BACtD,IAAI,eAAe,CAAC,WAAW,CAAC,EAAE,CAAC;gCACjC,+CAA+C;gCAC/C,iBAAiB,GAAG,IAAI,iBAAiB,EAAE,CAAC;4BAC9C,CAAC;4BACD,IACE,eAAe,CAAC,MAAM,CAAC,IAAI,KAAK,sBAAc,CAAC,cAAc,EAC7D,CAAC;gCACD,2CAA2C;gCAC3C,mCAAmC;gCACnC,iBAAiB,GAAG,KAAK,iBAAiB,IAAI,CAAC;4BACjD,CAAC;4BACD,OAAO,KAAK,CAAC,WAAW,CAAC,eAAe,EAAE,iBAAiB,CAAC,CAAC;wBAC/D,CAAC;qBACF,CAAC,CAAC;gBACL,CAAC;gBAED,sBAAsB;gBACtB,IAAI,OAAO,CAAC,kBAAkB,EAAE,CAAC;oBAC/B,sDAAsD;oBACtD,OAAO,OAAO,CAAC,MAAM,CAAC;wBACpB,IAAI;wBACJ,SAAS,EAAE,yBAAyB;wBACpC,OAAO,EAAE,CAAC,EAAE,SAAS,EAAE,kBAAkB,EAAE,GAAG,EAAE,WAAW,EAAE,CAAC;qBAC/D,CAAC,CAAC;gBACL,CAAC;gBAED,OAAO,CAAC,MAAM,CAAC;oBACb,IAAI;oBACJ,SAAS,EAAE,iBAAiB;iBAC7B,CAAC,CAAC;YACL,CAAC;SACF,CAAC;QAWF;;;;;;;WAOG;QACH,SAAS,mBAAmB,CAAC,IAAmB;YAC9C,MAAM,MAAM,GAAG,IAAA,iBAAU,EAAC,IAAI,CAAC,MAAM,EAAE,wBAAiB,CAAC,aAAa,CAAC,CAAC;YACxE,IACE,MAAM,CAAC,IAAI,KAAK,sBAAc,CAAC,kBAAkB;gBACjD,IAAI,KAAK,MAAM,CAAC,WAAW,CAAC,MAAM,CAAC,WAAW,CAAC,MAAM,GAAG,CAAC,CAAC,EAC1D,CAAC;gBACD,OAAO,IAAI,CAAC;YACd,CAAC;YAED,IAAI,MAAM,CAAC,IAAI,KAAK,sBAAc,CAAC,mBAAmB,EAAE,CAAC;gBACvD,iCAAiC;gBACjC,uBAAuB;gBACvB,OAAO,IAAI,CAAC;YACd,CAAC;YAED,IACE,MAAM,CAAC,IAAI,KAAK,sBAAc,CAAC,iBAAiB;gBAChD,MAAM,CAAC,KAAK,KAAK,IAAI,EACrB,CAAC;gBACD,6BAA6B;gBAC7B,mDAAmD;gBACnD,OAAO,mBAAmB,CAAC,MAAM,CAAC,CAAC;YACrC,CAAC;YAED,IACE,MAAM,CAAC,IAAI,KAAK,sBAAc,CAAC,qBAAqB;gBACpD,CAAC,MAAM,CAAC,UAAU,KAAK,IAAI,IAAI,MAAM,CAAC,SAAS,KAAK,IAAI,CAAC,EACzD,CAAC;gBACD,uDAAuD;gBACvD,mDAAmD;gBACnD,OAAO,mBAAmB,CAAC,MAAM,CAAC,CAAC;YACrC,CAAC;YAED,IACE,MAAM,CAAC,IAAI,KAAK,sBAAc,CAAC,uBAAuB;gBACtD,kCAAkC;gBAClC,2CAA2C;gBAC3C,OAAO,CAAC,oBAAoB,EAC5B,CAAC;gBACD,OAAO,IAAI,CAAC;YACd,CAAC;YAED,IACE,MAAM,CAAC,IAAI,KAAK,sBAAc,CAAC,eAAe;gBAC9C,MAAM,CAAC,QAAQ,KAAK,MAAM;gBAC1B,iCAAiC;gBACjC,2CAA2C;gBAC3C,OAAO,CAAC,kBAAkB,EAC1B,CAAC;gBACD,OAAO,IAAI,CAAC;YACd,CAAC;YAED,IAAI,MAAM,CAAC,IAAI,KAAK,sBAAc,CAAC,eAAe,EAAE,CAAC;gBACnD,6BAA6B;gBAC7B,OAAO,mBAAmB,CAAC,MAAM,CAAC,CAAC;YACrC,CAAC;YAED,+BAA+B;YAC/B,0DAA0D;YAC1D,OAAO,MAAyB,CAAC;QACnC,CAAC;QAED,oFAAoF;QACpF,SAAS,aAAa,CAAC,IAA8B;YACnD,6BAA6B;YAC7B,MAAM,KAAK,GAAG,IAAA,iBAAU,EAAC,IAAI,CAAC,MAAM,EAAE,wBAAiB,CAAC,aAAa,CAAC,CAAC;YACvE,IAAI,KAAK,CAAC,IAAI,KAAK,sBAAc,CAAC,cAAc,EAAE,CAAC;gBACjD,4CAA4C;gBAC5C,OAAO,KAAK,CAAC;YACf,CAAC;YAED,wCAAwC;YACxC,MAAM,WAAW,GAAG,IAAA,iBAAU,EAC5B,KAAK,CAAC,MAAM,EACZ,wBAAiB,CAAC,aAAa,CAChC,CAAC;YACF,IACE,CAAC;gBACC,sBAAc,CAAC,uBAAuB;gBACtC,sBAAc,CAAC,mBAAmB;gBAClC,sBAAc,CAAC,kBAAkB;aAClC,CAAC,QAAQ,CAAC,WAAW,CAAC,IAAI,CAAC,EAC5B,CAAC;gBACD,+BAA+B;gBAC/B,oCAAoC;gBACpC,OAAO,KAAK,CAAC;YACf,CAAC;YAED,sCAAsC;YACtC,IAAI,KAAK,CAAC,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,GAAG,KAAK,CAAC,IAAI,CAAC,MAAM,GAAG,CAAC,EAAE,CAAC;gBACrD,sCAAsC;gBACtC,OAAO,KAAK,CAAC;YACf,CAAC;YAED,OAAO,IAAI,CAAC;QACd,CAAC;QAED;;;;;WAKG;QACH,SAAS,eAAe,CAAC,IAAyB;YAChD,MAAM,UAAU,GAAG,IAAA,iBAAU,EAC3B,OAAO,CAAC,UAAU,CAAC,aAAa,CAAC,IAAI,CAAC,EACtC,wBAAiB,CAAC,YAAY,CAAC,aAAa,EAAE,IAAI,CAAC,IAAI,CAAC,CACzD,CAAC;YAEF,OAAO,CAAC,GAAG,EAAE,GAAG,EAAE,GAAG,CAAC,CAAC,QAAQ,CAAC,UAAU,CAAC,KAAK,CAAC,CAAC;QACpD,CAAC;QAED,SAAS,MAAM,CACb,IAAoE;YAEpE,MAAM,UAAU,GACd,IAAI,CAAC,IAAI,KAAK,sBAAc,CAAC,eAAe;gBAC1C,CAAC,CAAC,IAAI,CAAC,QAAQ;gBACf,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC;YAEhB,MAAM,IAAI,GAAG,IAAA,mCAA4B,EAAC,QAAQ,EAAE,UAAU,CAAC,CAAC;YAChE,OAAO,OAAO,CAAC,aAAa,CAAC,IAAI,EAAE,EAAE,CAAC,SAAS,CAAC,QAAQ,CAAC,CAAC;QAC5D,CAAC;QAED,SAAS,gCAAgC,CAAC,YAAqB;YAC7D,MAAM,cAAc,GAAG,OAAO,CAAC,uBAAuB,CAAC,YAAY,CAAC,CAAC;YAErE,OAAO,cAAc,CAAC,IAAI,CAAC,SAAS,CAAC,EAAE;gBACrC,MAAM,UAAU,GAAG,SAAS,CAAC,aAAa,EAAE,CAAC;gBAE7C,OAAO,OAAO;qBACX,cAAc,CAAC,UAAU,CAAC;qBAC1B,IAAI,CAAC,OAAO,CAAC,mBAAmB,CAAC,CAAC;YACvC,CAAC,CAAC,CAAC;QACL,CAAC;QAED,SAAS,2BAA2B,CAClC,YAG+B;YAE/B,aAAa;YACb,+EAA+E;YAC/E,8EAA8E;YAC9E,sFAAsF;YACtF,iEAAiE;YACjE,yEAAyE;YAEzE,MAAM,cAAc,GAAG,QAAQ,CAAC,qBAAqB,CAAC,GAAG,CAAC,YAAY,CAAC,CAAC;YAExE,IAAI,cAAc,CAAC,IAAI,EAAE,CAAC;gBACxB,MAAM,UAAU,GAAG,OAAO,CAAC,mBAAmB,CAAC,cAAc,CAAC,IAAI,CAAC,CAAC;gBAEpE,OAAO,OAAO;qBACX,cAAc,CAAC,UAAU,CAAC;qBAC1B,IAAI,CAAC,OAAO,CAAC,mBAAmB,CAAC,CAAC;YACvC,CAAC;YAED,IAAI,EAAE,CAAC,YAAY,CAAC,cAAc,CAAC,EAAE,CAAC;gBACpC,MAAM,YAAY,GAAG,OAAO,CAAC,iBAAiB,CAAC,cAAc,CAAC,CAAC;gBAE/D,IAAI,YAAY,EAAE,CAAC;oBACjB,OAAO,OAAO;yBACX,cAAc,CAAC,YAAY,CAAC;yBAC5B,IAAI,CAAC,gCAAgC,CAAC,CAAC;gBAC5C,CAAC;YACH,CAAC;YAED,OAAO,KAAK,CAAC;QACf,CAAC;IACH,CAAC;CACF,CAAC,CAAC"} \ No newline at end of file +{"version":3,"file":"no-confusing-void-expression.js","sourceRoot":"","sources":["../../src/rules/no-confusing-void-expression.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEA,oDAA0D;AAC1D,sDAAwC;AACxC,+CAAiC;AAIjC,kCASiB;AACjB,yEAAsE;AAoBtE,kBAAe,IAAA,iBAAU,EAAqB;IAC5C,IAAI,EAAE,8BAA8B;IACpC,IAAI,EAAE;QACJ,IAAI,EAAE,SAAS;QACf,IAAI,EAAE;YACJ,WAAW,EACT,kEAAkE;YACpE,WAAW,EAAE,QAAQ;YACrB,oBAAoB,EAAE,IAAI;SAC3B;QACD,OAAO,EAAE,MAAM;QACf,cAAc,EAAE,IAAI;QACpB,QAAQ,EAAE;YACR,eAAe,EACb,oEAAoE;gBACpE,uCAAuC;YACzC,oBAAoB,EAClB,6EAA6E;gBAC7E,0CAA0C;YAC5C,4BAA4B,EAC1B,6DAA6D;gBAC7D,qDAAqD;YACvD,qBAAqB,EACnB,4DAA4D;gBAC5D,+CAA+C;YACjD,yBAAyB,EACvB,4DAA4D;gBAC5D,uCAAuC;YACzC,6BAA6B,EAC3B,4CAA4C;gBAC5C,qDAAqD;YACvD,uBAAuB,EACrB,kDAAkD;gBAClD,qCAAqC;gBACrC,gDAAgD;YAClD,gBAAgB,EAAE,wCAAwC;SAC3D;QACD,MAAM,EAAE;YACN;gBACE,IAAI,EAAE,QAAQ;gBACd,oBAAoB,EAAE,KAAK;gBAC3B,UAAU,EAAE;oBACV,oBAAoB,EAAE;wBACpB,IAAI,EAAE,SAAS;wBACf,WAAW,EACT,wFAAwF;qBAC3F;oBACD,kBAAkB,EAAE;wBAClB,IAAI,EAAE,SAAS;wBACf,WAAW,EACT,gEAAgE;qBACnE;oBACD,4BAA4B,EAAE;wBAC5B,IAAI,EAAE,SAAS;wBACf,WAAW,EACT,+HAA+H;qBAClI;iBACF;aACF;SACF;KACF;IACD,cAAc,EAAE;QACd;YACE,oBAAoB,EAAE,KAAK;YAC3B,kBAAkB,EAAE,KAAK;YACzB,4BAA4B,EAAE,KAAK;SACpC;KACF;IAED,MAAM,CAAC,OAAO,EAAE,CAAC,OAAO,CAAC;QACvB,MAAM,QAAQ,GAAG,IAAA,wBAAiB,EAAC,OAAO,CAAC,CAAC;QAC5C,MAAM,OAAO,GAAG,QAAQ,CAAC,OAAO,CAAC,cAAc,EAAE,CAAC;QAElD,OAAO;YACL,2DAA2D,CACzD,IAGqC;gBAErC,MAAM,IAAI,GAAG,IAAA,mCAA4B,EAAC,QAAQ,EAAE,IAAI,CAAC,CAAC;gBAC1D,IAAI,CAAC,OAAO,CAAC,aAAa,CAAC,IAAI,EAAE,EAAE,CAAC,SAAS,CAAC,QAAQ,CAAC,EAAE,CAAC;oBACxD,wBAAwB;oBACxB,OAAO;gBACT,CAAC;gBAED,MAAM,eAAe,GAAG,mBAAmB,CAAC,IAAI,CAAC,CAAC;gBAClD,IAAI,eAAe,IAAI,IAAI,EAAE,CAAC;oBAC5B,uCAAuC;oBACvC,OAAO;gBACT,CAAC;gBAED,MAAM,WAAW,GAAG,CAAC,KAAyB,EAAoB,EAAE;oBAClE,MAAM,QAAQ,GAAG,OAAO,CAAC,UAAU,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC;oBAClD,MAAM,WAAW,GAAG,QAAQ,QAAQ,EAAE,CAAC;oBACvC,OAAO,KAAK,CAAC,WAAW,CAAC,IAAI,EAAE,WAAW,CAAC,CAAC;gBAC9C,CAAC,CAAC;gBAEF,IAAI,eAAe,CAAC,IAAI,KAAK,sBAAc,CAAC,uBAAuB,EAAE,CAAC;oBACpE,kCAAkC;oBAElC,IAAI,OAAO,CAAC,4BAA4B,EAAE,CAAC;wBACzC,MAAM,WAAW,GAAG,2BAA2B,CAAC,eAAe,CAAC,CAAC;wBAEjE,IAAI,WAAW,EAAE,CAAC;4BAChB,OAAO;wBACT,CAAC;oBACH,CAAC;oBAED,IAAI,OAAO,CAAC,kBAAkB,EAAE,CAAC;wBAC/B,8BAA8B;wBAC9B,OAAO,OAAO,CAAC,MAAM,CAAC;4BACpB,IAAI;4BACJ,SAAS,EAAE,8BAA8B;4BACzC,GAAG,EAAE,WAAW;yBACjB,CAAC,CAAC;oBACL,CAAC;oBAED,8BAA8B;oBAC9B,MAAM,aAAa,GAAG,eAAe,CAAC;oBACtC,OAAO,OAAO,CAAC,MAAM,CAAC;wBACpB,IAAI;wBACJ,SAAS,EAAE,sBAAsB;wBACjC,GAAG,CAAC,KAAK;4BACP,IAAI,CAAC,MAAM,CAAC,aAAa,CAAC,EAAE,CAAC;gCAC3B,OAAO,IAAI,CAAC;4BACd,CAAC;4BACD,MAAM,SAAS,GAAG,aAAa,CAAC,IAAI,CAAC;4BACrC,MAAM,aAAa,GAAG,OAAO,CAAC,UAAU,CAAC,OAAO,CAAC,SAAS,CAAC,CAAC;4BAC5D,MAAM,gBAAgB,GAAG,KAAK,aAAa,KAAK,CAAC;4BACjD,IAAI,IAAA,sBAAe,EAAC,SAAS,EAAE,OAAO,CAAC,UAAU,CAAC,EAAE,CAAC;gCACnD,MAAM,gBAAgB,GAAG,IAAA,iBAAU,EACjC,OAAO,CAAC,UAAU,CAAC,cAAc,CAC/B,SAAS,EACT,0BAAmB,CACpB,EACD,wBAAiB,CAAC,YAAY,CAC5B,qBAAqB,EACrB,YAAY,CACb,CACF,CAAC;gCACF,MAAM,gBAAgB,GAAG,IAAA,iBAAU,EACjC,OAAO,CAAC,UAAU,CAAC,aAAa,CAC9B,SAAS,EACT,0BAAmB,CACpB,EACD,wBAAiB,CAAC,YAAY,CAC5B,qBAAqB,EACrB,YAAY,CACb,CACF,CAAC;gCACF,OAAO,KAAK,CAAC,gBAAgB,CAC3B,CAAC,gBAAgB,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,gBAAgB,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EACtD,gBAAgB,CACjB,CAAC;4BACJ,CAAC;4BACD,OAAO,KAAK,CAAC,WAAW,CAAC,SAAS,EAAE,gBAAgB,CAAC,CAAC;wBACxD,CAAC;qBACF,CAAC,CAAC;gBACL,CAAC;gBAED,IAAI,eAAe,CAAC,IAAI,KAAK,sBAAc,CAAC,eAAe,EAAE,CAAC;oBAC5D,0BAA0B;oBAE1B,IAAI,OAAO,CAAC,4BAA4B,EAAE,CAAC;wBACzC,MAAM,YAAY,GAAG,IAAA,6CAAqB,EAAC,eAAe,CAAC,CAAC;wBAE5D,IAAI,YAAY,EAAE,CAAC;4BACjB,MAAM,WAAW,GAAG,2BAA2B,CAAC,YAAY,CAAC,CAAC;4BAE9D,IAAI,WAAW,EAAE,CAAC;gCAChB,OAAO;4BACT,CAAC;wBACH,CAAC;oBACH,CAAC;oBAED,IAAI,OAAO,CAAC,kBAAkB,EAAE,CAAC;wBAC/B,8BAA8B;wBAC9B,OAAO,OAAO,CAAC,MAAM,CAAC;4BACpB,IAAI;4BACJ,SAAS,EAAE,+BAA+B;4BAC1C,GAAG,EAAE,WAAW;yBACjB,CAAC,CAAC;oBACL,CAAC;oBAED,IAAI,aAAa,CAAC,eAAe,CAAC,EAAE,CAAC;wBACnC,8BAA8B;wBAC9B,OAAO,OAAO,CAAC,MAAM,CAAC;4BACpB,IAAI;4BACJ,SAAS,EAAE,2BAA2B;4BACtC,GAAG,CAAC,KAAK;gCACP,IAAI,CAAC,MAAM,CAAC,eAAe,CAAC,EAAE,CAAC;oCAC7B,OAAO,IAAI,CAAC;gCACd,CAAC;gCACD,MAAM,WAAW,GAAG,eAAe,CAAC,QAAQ,CAAC;gCAC7C,MAAM,eAAe,GAAG,OAAO,CAAC,UAAU,CAAC,OAAO,CAAC,WAAW,CAAC,CAAC;gCAChE,IAAI,iBAAiB,GAAG,GAAG,eAAe,GAAG,CAAC;gCAC9C,IAAI,eAAe,CAAC,WAAW,CAAC,EAAE,CAAC;oCACjC,+CAA+C;oCAC/C,iBAAiB,GAAG,IAAI,iBAAiB,EAAE,CAAC;gCAC9C,CAAC;gCACD,OAAO,KAAK,CAAC,WAAW,CAAC,eAAe,EAAE,iBAAiB,CAAC,CAAC;4BAC/D,CAAC;yBACF,CAAC,CAAC;oBACL,CAAC;oBAED,mCAAmC;oBACnC,OAAO,OAAO,CAAC,MAAM,CAAC;wBACpB,IAAI;wBACJ,SAAS,EAAE,uBAAuB;wBAClC,GAAG,CAAC,KAAK;4BACP,MAAM,WAAW,GAAG,eAAe,CAAC,QAAQ,CAAC;4BAC7C,MAAM,eAAe,GAAG,OAAO,CAAC,UAAU,CAAC,OAAO,CAAC,WAAW,CAAC,CAAC;4BAChE,IAAI,iBAAiB,GAAG,GAAG,eAAe,WAAW,CAAC;4BACtD,IAAI,eAAe,CAAC,WAAW,CAAC,EAAE,CAAC;gCACjC,+CAA+C;gCAC/C,iBAAiB,GAAG,IAAI,iBAAiB,EAAE,CAAC;4BAC9C,CAAC;4BACD,IACE,eAAe,CAAC,MAAM,CAAC,IAAI,KAAK,sBAAc,CAAC,cAAc,EAC7D,CAAC;gCACD,2CAA2C;gCAC3C,mCAAmC;gCACnC,iBAAiB,GAAG,KAAK,iBAAiB,IAAI,CAAC;4BACjD,CAAC;4BACD,OAAO,KAAK,CAAC,WAAW,CAAC,eAAe,EAAE,iBAAiB,CAAC,CAAC;wBAC/D,CAAC;qBACF,CAAC,CAAC;gBACL,CAAC;gBAED,sBAAsB;gBACtB,IAAI,OAAO,CAAC,kBAAkB,EAAE,CAAC;oBAC/B,sDAAsD;oBACtD,OAAO,OAAO,CAAC,MAAM,CAAC;wBACpB,IAAI;wBACJ,SAAS,EAAE,yBAAyB;wBACpC,OAAO,EAAE,CAAC,EAAE,SAAS,EAAE,kBAAkB,EAAE,GAAG,EAAE,WAAW,EAAE,CAAC;qBAC/D,CAAC,CAAC;gBACL,CAAC;gBAED,OAAO,CAAC,MAAM,CAAC;oBACb,IAAI;oBACJ,SAAS,EAAE,iBAAiB;iBAC7B,CAAC,CAAC;YACL,CAAC;SACF,CAAC;QAWF;;;;;;;WAOG;QACH,SAAS,mBAAmB,CAAC,IAAmB;YAC9C,MAAM,MAAM,GAAG,IAAA,iBAAU,EAAC,IAAI,CAAC,MAAM,EAAE,wBAAiB,CAAC,aAAa,CAAC,CAAC;YACxE,IACE,MAAM,CAAC,IAAI,KAAK,sBAAc,CAAC,kBAAkB;gBACjD,IAAI,KAAK,MAAM,CAAC,WAAW,CAAC,MAAM,CAAC,WAAW,CAAC,MAAM,GAAG,CAAC,CAAC,EAC1D,CAAC;gBACD,OAAO,IAAI,CAAC;YACd,CAAC;YAED,IAAI,MAAM,CAAC,IAAI,KAAK,sBAAc,CAAC,mBAAmB,EAAE,CAAC;gBACvD,iCAAiC;gBACjC,uBAAuB;gBACvB,OAAO,IAAI,CAAC;YACd,CAAC;YAED,IACE,MAAM,CAAC,IAAI,KAAK,sBAAc,CAAC,iBAAiB;gBAChD,MAAM,CAAC,KAAK,KAAK,IAAI,EACrB,CAAC;gBACD,6BAA6B;gBAC7B,mDAAmD;gBACnD,OAAO,mBAAmB,CAAC,MAAM,CAAC,CAAC;YACrC,CAAC;YAED,IACE,MAAM,CAAC,IAAI,KAAK,sBAAc,CAAC,qBAAqB;gBACpD,CAAC,MAAM,CAAC,UAAU,KAAK,IAAI,IAAI,MAAM,CAAC,SAAS,KAAK,IAAI,CAAC,EACzD,CAAC;gBACD,uDAAuD;gBACvD,mDAAmD;gBACnD,OAAO,mBAAmB,CAAC,MAAM,CAAC,CAAC;YACrC,CAAC;YAED,IACE,MAAM,CAAC,IAAI,KAAK,sBAAc,CAAC,uBAAuB;gBACtD,kCAAkC;gBAClC,2CAA2C;gBAC3C,OAAO,CAAC,oBAAoB,EAC5B,CAAC;gBACD,OAAO,IAAI,CAAC;YACd,CAAC;YAED,IACE,MAAM,CAAC,IAAI,KAAK,sBAAc,CAAC,eAAe;gBAC9C,MAAM,CAAC,QAAQ,KAAK,MAAM;gBAC1B,iCAAiC;gBACjC,2CAA2C;gBAC3C,OAAO,CAAC,kBAAkB,EAC1B,CAAC;gBACD,OAAO,IAAI,CAAC;YACd,CAAC;YAED,IAAI,MAAM,CAAC,IAAI,KAAK,sBAAc,CAAC,eAAe,EAAE,CAAC;gBACnD,6BAA6B;gBAC7B,OAAO,mBAAmB,CAAC,MAAM,CAAC,CAAC;YACrC,CAAC;YAED,+BAA+B;YAC/B,0DAA0D;YAC1D,OAAO,MAAyB,CAAC;QACnC,CAAC;QAED,oFAAoF;QACpF,SAAS,aAAa,CAAC,IAA8B;YACnD,6BAA6B;YAC7B,MAAM,KAAK,GAAG,IAAA,iBAAU,EAAC,IAAI,CAAC,MAAM,EAAE,wBAAiB,CAAC,aAAa,CAAC,CAAC;YACvE,IAAI,KAAK,CAAC,IAAI,KAAK,sBAAc,CAAC,cAAc,EAAE,CAAC;gBACjD,4CAA4C;gBAC5C,OAAO,KAAK,CAAC;YACf,CAAC;YAED,wCAAwC;YACxC,MAAM,WAAW,GAAG,IAAA,iBAAU,EAC5B,KAAK,CAAC,MAAM,EACZ,wBAAiB,CAAC,aAAa,CAChC,CAAC;YACF,IACE,CAAC;gBACC,sBAAc,CAAC,uBAAuB;gBACtC,sBAAc,CAAC,mBAAmB;gBAClC,sBAAc,CAAC,kBAAkB;aAClC,CAAC,QAAQ,CAAC,WAAW,CAAC,IAAI,CAAC,EAC5B,CAAC;gBACD,+BAA+B;gBAC/B,oCAAoC;gBACpC,OAAO,KAAK,CAAC;YACf,CAAC;YAED,sCAAsC;YACtC,IAAI,KAAK,CAAC,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,GAAG,KAAK,CAAC,IAAI,CAAC,MAAM,GAAG,CAAC,EAAE,CAAC;gBACrD,sCAAsC;gBACtC,OAAO,KAAK,CAAC;YACf,CAAC;YAED,OAAO,IAAI,CAAC;QACd,CAAC;QAED;;;;;WAKG;QACH,SAAS,eAAe,CAAC,IAAyB;YAChD,MAAM,UAAU,GAAG,IAAA,iBAAU,EAC3B,OAAO,CAAC,UAAU,CAAC,aAAa,CAAC,IAAI,CAAC,EACtC,wBAAiB,CAAC,YAAY,CAAC,aAAa,EAAE,IAAI,CAAC,IAAI,CAAC,CACzD,CAAC;YAEF,OAAO,CAAC,GAAG,EAAE,GAAG,EAAE,GAAG,CAAC,CAAC,QAAQ,CAAC,UAAU,CAAC,KAAK,CAAC,CAAC;QACpD,CAAC;QAED,SAAS,MAAM,CACb,IAAoE;YAEpE,MAAM,UAAU,GACd,IAAI,CAAC,IAAI,KAAK,sBAAc,CAAC,eAAe;gBAC1C,CAAC,CAAC,IAAI,CAAC,QAAQ;gBACf,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC;YAEhB,MAAM,IAAI,GAAG,IAAA,mCAA4B,EAAC,QAAQ,EAAE,UAAU,CAAC,CAAC;YAChE,OAAO,OAAO,CAAC,aAAa,CAAC,IAAI,EAAE,EAAE,CAAC,SAAS,CAAC,QAAQ,CAAC,CAAC;QAC5D,CAAC;QAED,SAAS,gCAAgC,CAAC,YAAqB;YAC7D,MAAM,cAAc,GAAG,OAAO,CAAC,uBAAuB,CAAC,YAAY,CAAC,CAAC;YAErE,OAAO,cAAc,CAAC,IAAI,CAAC,SAAS,CAAC,EAAE;gBACrC,MAAM,UAAU,GAAG,SAAS,CAAC,aAAa,EAAE,CAAC;gBAE7C,OAAO,OAAO;qBACX,cAAc,CAAC,UAAU,CAAC;qBAC1B,IAAI,CAAC,OAAO,CAAC,mBAAmB,CAAC,CAAC;YACvC,CAAC,CAAC,CAAC;QACL,CAAC;QAED,SAAS,2BAA2B,CAClC,YAG+B;YAE/B,aAAa;YACb,+EAA+E;YAC/E,8EAA8E;YAC9E,sFAAsF;YACtF,iEAAiE;YACjE,yEAAyE;YAEzE,MAAM,cAAc,GAAG,QAAQ,CAAC,qBAAqB,CAAC,GAAG,CAAC,YAAY,CAAC,CAAC;YAExE,IAAI,cAAc,CAAC,IAAI,EAAE,CAAC;gBACxB,MAAM,UAAU,GAAG,OAAO,CAAC,mBAAmB,CAAC,cAAc,CAAC,IAAI,CAAC,CAAC;gBAEpE,OAAO,OAAO;qBACX,cAAc,CAAC,UAAU,CAAC;qBAC1B,IAAI,CAAC,OAAO,CAAC,mBAAmB,CAAC,CAAC;YACvC,CAAC;YAED,IAAI,EAAE,CAAC,YAAY,CAAC,cAAc,CAAC,EAAE,CAAC;gBACpC,MAAM,YAAY,GAAG,OAAO,CAAC,iBAAiB,CAAC,cAAc,CAAC,CAAC;gBAE/D,IAAI,YAAY,EAAE,CAAC;oBACjB,OAAO,OAAO;yBACX,cAAc,CAAC,YAAY,CAAC;yBAC5B,IAAI,CAAC,gCAAgC,CAAC,CAAC;gBAC5C,CAAC;YACH,CAAC;YAED,OAAO,KAAK,CAAC;QACf,CAAC;IACH,CAAC;CACF,CAAC,CAAC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-deprecated.js b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-deprecated.js index f03ea02bb8..d4215a2b37 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-deprecated.js +++ b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-deprecated.js @@ -15,13 +15,23 @@ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? ( }) : function(o, v) { o["default"] = v; }); -var __importStar = (this && this.__importStar) || function (mod) { - if (mod && mod.__esModule) return mod; - var result = {}; - if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k); - __setModuleDefault(result, mod); - return result; -}; +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); Object.defineProperty(exports, "__esModule", { value: true }); const utils_1 = require("@typescript-eslint/utils"); const tsutils = __importStar(require("ts-api-utils")); diff --git a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-deprecated.js.map b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-deprecated.js.map index 630806b459..8d6f4a90eb 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-deprecated.js.map +++ b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-deprecated.js.map @@ -1 +1 @@ -{"version":3,"file":"no-deprecated.js","sourceRoot":"","sources":["../../src/rules/no-deprecated.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AAEA,oDAA0D;AAC1D,sDAAwC;AACxC,+CAAiC;AAEjC,kCAAoE;AAIpE,kBAAe,IAAA,iBAAU,EAAC;IACxB,IAAI,EAAE,eAAe;IACrB,IAAI,EAAE;QACJ,IAAI,EAAE,SAAS;QACf,IAAI,EAAE;YACJ,WAAW,EAAE,6CAA6C;YAC1D,WAAW,EAAE,QAAQ;YACrB,oBAAoB,EAAE,IAAI;SAC3B;QACD,QAAQ,EAAE;YACR,UAAU,EAAE,6BAA6B;YACzC,oBAAoB,EAAE,wCAAwC;SAC/D;QACD,MAAM,EAAE,EAAE;KACX;IACD,cAAc,EAAE,EAAE;IAClB,MAAM,CAAC,OAAO;QACZ,MAAM,EAAE,gBAAgB,EAAE,GAAG,OAAO,CAAC,aAAa,CAAC;QACnD,IAAI,gBAAgB,KAAK,MAAM,IAAI,gBAAgB,KAAK,WAAW,EAAE,CAAC;YACpE,MAAM,IAAI,KAAK,CACb,0CAA0C,gBAAgB,IAAI,CAC/D,CAAC;QACJ,CAAC;QAED,MAAM,QAAQ,GAAG,IAAA,wBAAiB,EAAC,OAAO,CAAC,CAAC;QAC5C,MAAM,OAAO,GAAG,QAAQ,CAAC,OAAO,CAAC,cAAc,EAAE,CAAC;QAElD,gEAAgE;QAChE,EAAE;QACF,oCAAoC;QACpC,EAAE;QACF,0EAA0E;QAC1E,0EAA0E;QAC1E,yEAAyE;QACzE,sCAAsC;QACtC,SAAS,kCAAkC,CACzC,MAA6B,EAC7B,gCAAyC;YAEzC,IAAI,CAAC,MAAM,IAAI,CAAC,OAAO,CAAC,eAAe,CAAC,MAAM,EAAE,EAAE,CAAC,WAAW,CAAC,KAAK,CAAC,EAAE,CAAC;gBACtE,OAAO,gCAAgC;oBACrC,CAAC,CAAC,mBAAmB,CAAC,MAAM,CAAC;oBAC7B,CAAC,CAAC,SAAS,CAAC;YAChB,CAAC;YACD,MAAM,YAAY,GAAG,OAAO,CAAC,gBAAgB,CAAC,MAAM,CAAC,CAAC;YACtD,OAAO,OAAO,CAAC,eAAe,CAAC,MAAM,EAAE,EAAE,CAAC,WAAW,CAAC,KAAK,CAAC,EAAE,CAAC;gBAC7D,MAAM,MAAM,GAAG,mBAAmB,CAAC,MAAM,CAAC,CAAC;gBAC3C,IAAI,MAAM,KAAK,SAAS,EAAE,CAAC;oBACzB,OAAO,MAAM,CAAC;gBAChB,CAAC;gBACD,MAAM,sBAAsB,GAC1B,MAAM,CAAC,eAAe,EAAE,IAAI,OAAO,CAAC,yBAAyB,CAAC,MAAM,CAAC,CAAC;gBACxE,IAAI,CAAC,sBAAsB,EAAE,CAAC;oBAC5B,MAAM;gBACR,CAAC;gBACD,MAAM,GAAG,sBAAsB,CAAC;gBAChC,IAAI,gCAAgC,IAAI,MAAM,KAAK,YAAY,EAAE,CAAC;oBAChE,OAAO,mBAAmB,CAAC,MAAM,CAAC,CAAC;gBACrC,CAAC;YACH,CAAC;YACD,OAAO,SAAS,CAAC;QACnB,CAAC;QAED,SAAS,aAAa,CAAC,IAAoB;YACzC,MAAM,EAAE,MAAM,EAAE,GAAG,IAAI,CAAC;YAExB,QAAQ,MAAM,CAAC,IAAI,EAAE,CAAC;gBACpB,KAAK,sBAAc,CAAC,YAAY;oBAC9B,OAAO,MAAM,CAAC,QAAQ,CAAC,QAAQ,CAAC,IAA2B,CAAC,CAAC;gBAE/D,KAAK,sBAAc,CAAC,eAAe,CAAC;gBACpC,KAAK,sBAAc,CAAC,gBAAgB,CAAC;gBACrC,KAAK,sBAAc,CAAC,kBAAkB,CAAC;gBACvC,KAAK,sBAAc,CAAC,YAAY;oBAC9B,OAAO,MAAM,CAAC,EAAE,KAAK,IAAI,CAAC;gBAE5B,KAAK,sBAAc,CAAC,gBAAgB,CAAC;gBACrC,KAAK,sBAAc,CAAC,kBAAkB;oBACpC,OAAO,MAAM,CAAC,GAAG,KAAK,IAAI,CAAC;gBAE7B,KAAK,sBAAc,CAAC,QAAQ;oBAC1B,sEAAsE;oBACtE,4DAA4D;oBAC5D,OAAO,CACL,CAAC,MAAM,CAAC,SAAS,IAAI,MAAM,CAAC,KAAK,KAAK,IAAI,CAAC;wBAC3C,MAAM,CAAC,MAAM,CAAC,IAAI,KAAK,sBAAc,CAAC,gBAAgB,CACvD,CAAC;gBAEJ,KAAK,sBAAc,CAAC,iBAAiB;oBACnC,kFAAkF;oBAClF,2DAA2D;oBAC3D,OAAO,MAAM,CAAC,IAAI,KAAK,IAAI,CAAC;gBAE9B,KAAK,sBAAc,CAAC,uBAAuB,CAAC;gBAC5C,KAAK,sBAAc,CAAC,mBAAmB,CAAC;gBACxC,KAAK,sBAAc,CAAC,kBAAkB,CAAC;gBACvC,KAAK,sBAAc,CAAC,iBAAiB,CAAC;gBACtC,KAAK,sBAAc,CAAC,6BAA6B,CAAC;gBAClD,KAAK,sBAAc,CAAC,iBAAiB,CAAC;gBACtC,KAAK,sBAAc,CAAC,sBAAsB,CAAC;gBAC3C,KAAK,sBAAc,CAAC,iBAAiB,CAAC;gBACtC,KAAK,sBAAc,CAAC,mBAAmB,CAAC;gBACxC,KAAK,sBAAc,CAAC,mBAAmB,CAAC;gBACxC,KAAK,sBAAc,CAAC,mBAAmB,CAAC;gBACxC,KAAK,sBAAc,CAAC,sBAAsB,CAAC;gBAC3C,KAAK,sBAAc,CAAC,eAAe;oBACjC,OAAO,IAAI,CAAC;gBAEd;oBACE,OAAO,KAAK,CAAC;YACjB,CAAC;QACH,CAAC;QAED,SAAS,sBAAsB,CAAC,IAAmB;YACjD,IAAI,OAAO,GAAG,IAAI,CAAC;YAEnB,OAAO,IAAI,EAAE,CAAC;gBACZ,QAAQ,OAAO,CAAC,IAAI,EAAE,CAAC;oBACrB,KAAK,sBAAc,CAAC,oBAAoB,CAAC;oBACzC,KAAK,sBAAc,CAAC,sBAAsB,CAAC;oBAC3C,KAAK,sBAAc,CAAC,iBAAiB;wBACnC,OAAO,IAAI,CAAC;oBAEd,KAAK,sBAAc,CAAC,uBAAuB,CAAC;oBAC5C,KAAK,sBAAc,CAAC,cAAc,CAAC;oBACnC,KAAK,sBAAc,CAAC,gBAAgB,CAAC;oBACrC,KAAK,sBAAc,CAAC,sBAAsB,CAAC;oBAC3C,KAAK,sBAAc,CAAC,mBAAmB,CAAC;oBACxC,KAAK,sBAAc,CAAC,kBAAkB,CAAC;oBACvC,KAAK,sBAAc,CAAC,OAAO,CAAC;oBAC5B,KAAK,sBAAc,CAAC,WAAW,CAAC;oBAChC,KAAK,sBAAc,CAAC,kBAAkB;wBACpC,OAAO,KAAK,CAAC;oBAEf;wBACE,OAAO,GAAG,OAAO,CAAC,MAAM,CAAC;gBAC7B,CAAC;YACH,CAAC;QACH,CAAC;QAED,SAAS,mBAAmB,CAC1B,MAA4C;YAE5C,IAAI,SAAwC,CAAC;YAC7C,IAAI,CAAC;gBACH,SAAS,GAAG,MAAM,EAAE,YAAY,CAAC,OAAO,CAAC,CAAC;YAC5C,CAAC;YAAC,MAAM,CAAC;gBACP,sEAAsE;gBACtE,OAAO;YACT,CAAC;YACD,MAAM,GAAG,GAAG,SAAS,EAAE,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,CAAC,IAAI,KAAK,YAAY,CAAC,CAAC;YAE9D,IAAI,CAAC,GAAG,EAAE,CAAC;gBACT,OAAO,SAAS,CAAC;YACnB,CAAC;YAED,MAAM,YAAY,GAAG,GAAG,CAAC,IAAI,CAAC;YAE9B,OAAO,YAAY,CAAC,CAAC,CAAC,EAAE,CAAC,oBAAoB,CAAC,YAAY,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC;QACnE,CAAC;QAQD,SAAS,oBAAoB,CAAC,IAAmB;YAC/C,QAAQ,IAAI,CAAC,MAAM,EAAE,IAAI,EAAE,CAAC;gBAC1B,KAAK,sBAAc,CAAC,aAAa,CAAC;gBAClC,KAAK,sBAAc,CAAC,cAAc;oBAChC,OAAO,IAAI,CAAC,MAAM,CAAC,MAAM,KAAK,IAAI,CAAC;gBAErC,KAAK,sBAAc,CAAC,wBAAwB;oBAC1C,OAAO,IAAI,CAAC,MAAM,CAAC,GAAG,KAAK,IAAI,CAAC;gBAElC,KAAK,sBAAc,CAAC,iBAAiB;oBACnC,OAAO,IAAI,CAAC,MAAM,CAAC,IAAI,KAAK,IAAI,CAAC;gBAEnC;oBACE,OAAO,KAAK,CAAC;YACjB,CAAC;QACH,CAAC;QAED,SAAS,eAAe,CAAC,IAAmB;YAC1C,IAAI,MAAM,GAAG,IAAI,CAAC;YAElB,OACE,MAAM,CAAC,MAAM,EAAE,IAAI,KAAK,sBAAc,CAAC,gBAAgB;gBACvD,MAAM,CAAC,MAAM,CAAC,QAAQ,KAAK,MAAM,EACjC,CAAC;gBACD,MAAM,GAAG,MAAM,CAAC,MAAM,CAAC;YACzB,CAAC;YAED,OAAO,oBAAoB,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,SAAS,CAAC;QAC3D,CAAC;QAED,SAAS,sBAAsB,CAAC,IAAkB;YAChD,MAAM,MAAM,GAAG,QAAQ,CAAC,qBAAqB,CAAC,GAAG,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC;YAE/D,oEAAoE;YACpE,MAAM,SAAS,GAAG,IAAA,iBAAU,EAC1B,OAAO,CAAC,oBAAoB,CAAC,MAA+B,CAAC,EAC7D,2CAA2C,CAC5C,CAAC;YAEF,MAAM,MAAM,GAAG,QAAQ,CAAC,mBAAmB,CAAC,IAAI,CAAC,CAAC;YAClD,MAAM,aAAa,GACjB,MAAM,KAAK,SAAS;gBACpB,OAAO,CAAC,eAAe,CAAC,MAAM,EAAE,EAAE,CAAC,WAAW,CAAC,KAAK,CAAC;gBACnD,CAAC,CAAC,OAAO,CAAC,gBAAgB,CAAC,MAAM,CAAC;gBAClC,CAAC,CAAC,MAAM,CAAC;YACb,MAAM,qBAAqB,GAAG,aAAa,EAAE,YAAY,EAAE,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC;YACpE,8DAA8D;YAC9D,6CAA6C;YAC7C,EAAE;YACF,oBAAoB;YACpB,uBAAuB;YACvB,0BAA0B;YAC1B,0BAA0B;YAC1B,IAAI;YACJ,IACE,qBAAqB,KAAK,EAAE,CAAC,UAAU,CAAC,iBAAiB;gBACzD,qBAAqB,KAAK,EAAE,CAAC,UAAU,CAAC,mBAAmB;gBAC3D,qBAAqB,KAAK,EAAE,CAAC,UAAU,CAAC,eAAe,EACvD,CAAC;gBACD,OAAO,CACL,kCAAkC,CAAC,MAAM,EAAE,IAAI,CAAC;oBAChD,mBAAmB,CAAC,SAAS,CAAC;oBAC9B,mBAAmB,CAAC,aAAa,CAAC,CACnC,CAAC;YACJ,CAAC;YACD,OAAO,CACL,kCAAkC,CAChC,MAAM;YACN,4DAA4D;YAC5D,+DAA+D;YAC/D,yDAAyD;YACzD,EAAE;YACF,8BAA8B;YAC9B,EAAE;YACF,uBAAuB;YACvB,iCAAiC;YACjC,kCAAkC;YAClC,sCAAsC;YACtC,EAAE;YACF,mCAAmC;YACnC,EAAE;YACF,oEAAoE;YACpE,+DAA+D;YAC/D,sCAAsC;YACtC,kEAAkE;YAClE,sEAAsE;YACtE,oEAAoE;YACpE,oCAAoC;YACpC,EAAE;YACF,2EAA2E;YAC3E,6EAA6E;YAC7E,KAAK,CACN,IAAI,mBAAmB,CAAC,SAAS,CAAC,CACpC,CAAC;QACJ,CAAC;QAED,SAAS,oBAAoB,CAAC,IAAoB;YAChD,MAAM,YAAY,GAAG,eAAe,CAAC,IAAI,CAAC,CAAC;YAC3C,IAAI,YAAY,EAAE,CAAC;gBACjB,OAAO,sBAAsB,CAAC,YAAY,CAAC,CAAC;YAC9C,CAAC;YACD,IAAI,IAAI,CAAC,MAAM,CAAC,IAAI,KAAK,sBAAc,CAAC,QAAQ,EAAE,CAAC;gBACjD,OAAO,mBAAmB,CACxB,QAAQ,CAAC,iBAAiB,CAAC,IAAI,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC,WAAW,CAAC,IAAI,CAAC,IAAI,CAAC,CACtE,CAAC;YACJ,CAAC;YACD,OAAO,kCAAkC,CACvC,QAAQ,CAAC,mBAAmB,CAAC,IAAI,CAAC,EAClC,IAAI,CACL,CAAC;QACJ,CAAC;QAED,SAAS,eAAe,CAAC,IAAoB;YAC3C,IAAI,aAAa,CAAC,IAAI,CAAC,IAAI,sBAAsB,CAAC,IAAI,CAAC,EAAE,CAAC;gBACxD,OAAO;YACT,CAAC;YAED,MAAM,MAAM,GAAG,oBAAoB,CAAC,IAAI,CAAC,CAAC;YAC1C,IAAI,MAAM,KAAK,SAAS,EAAE,CAAC;gBACzB,OAAO;YACT,CAAC;YAED,OAAO,CAAC,MAAM,CAAC;gBACb,GAAG,CAAC,MAAM;oBACR,CAAC,CAAC;wBACE,SAAS,EAAE,sBAAsB;wBACjC,IAAI,EAAE,EAAE,IAAI,EAAE,IAAI,CAAC,IAAI,EAAE,MAAM,EAAE;qBAClC;oBACH,CAAC,CAAC;wBACE,SAAS,EAAE,YAAY;wBACvB,IAAI,EAAE,EAAE,IAAI,EAAE,IAAI,CAAC,IAAI,EAAE;qBAC1B,CAAC;gBACN,IAAI;aACL,CAAC,CAAC;QACL,CAAC;QAED,OAAO;YACL,UAAU,EAAE,eAAe;YAC3B,aAAa,CAAC,IAAI;gBAChB,IAAI,IAAI,CAAC,MAAM,CAAC,IAAI,KAAK,sBAAc,CAAC,iBAAiB,EAAE,CAAC;oBAC1D,eAAe,CAAC,IAAI,CAAC,CAAC;gBACxB,CAAC;YACH,CAAC;SACF,CAAC;IACJ,CAAC;CACF,CAAC,CAAC"} \ No newline at end of file +{"version":3,"file":"no-deprecated.js","sourceRoot":"","sources":["../../src/rules/no-deprecated.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEA,oDAA0D;AAC1D,sDAAwC;AACxC,+CAAiC;AAEjC,kCAAoE;AAIpE,kBAAe,IAAA,iBAAU,EAAC;IACxB,IAAI,EAAE,eAAe;IACrB,IAAI,EAAE;QACJ,IAAI,EAAE,SAAS;QACf,IAAI,EAAE;YACJ,WAAW,EAAE,6CAA6C;YAC1D,WAAW,EAAE,QAAQ;YACrB,oBAAoB,EAAE,IAAI;SAC3B;QACD,QAAQ,EAAE;YACR,UAAU,EAAE,6BAA6B;YACzC,oBAAoB,EAAE,wCAAwC;SAC/D;QACD,MAAM,EAAE,EAAE;KACX;IACD,cAAc,EAAE,EAAE;IAClB,MAAM,CAAC,OAAO;QACZ,MAAM,EAAE,gBAAgB,EAAE,GAAG,OAAO,CAAC,aAAa,CAAC;QACnD,IAAI,gBAAgB,KAAK,MAAM,IAAI,gBAAgB,KAAK,WAAW,EAAE,CAAC;YACpE,MAAM,IAAI,KAAK,CACb,0CAA0C,gBAAgB,IAAI,CAC/D,CAAC;QACJ,CAAC;QAED,MAAM,QAAQ,GAAG,IAAA,wBAAiB,EAAC,OAAO,CAAC,CAAC;QAC5C,MAAM,OAAO,GAAG,QAAQ,CAAC,OAAO,CAAC,cAAc,EAAE,CAAC;QAElD,gEAAgE;QAChE,EAAE;QACF,oCAAoC;QACpC,EAAE;QACF,0EAA0E;QAC1E,0EAA0E;QAC1E,yEAAyE;QACzE,sCAAsC;QACtC,SAAS,kCAAkC,CACzC,MAA6B,EAC7B,gCAAyC;YAEzC,IAAI,CAAC,MAAM,IAAI,CAAC,OAAO,CAAC,eAAe,CAAC,MAAM,EAAE,EAAE,CAAC,WAAW,CAAC,KAAK,CAAC,EAAE,CAAC;gBACtE,OAAO,gCAAgC;oBACrC,CAAC,CAAC,mBAAmB,CAAC,MAAM,CAAC;oBAC7B,CAAC,CAAC,SAAS,CAAC;YAChB,CAAC;YACD,MAAM,YAAY,GAAG,OAAO,CAAC,gBAAgB,CAAC,MAAM,CAAC,CAAC;YACtD,OAAO,OAAO,CAAC,eAAe,CAAC,MAAM,EAAE,EAAE,CAAC,WAAW,CAAC,KAAK,CAAC,EAAE,CAAC;gBAC7D,MAAM,MAAM,GAAG,mBAAmB,CAAC,MAAM,CAAC,CAAC;gBAC3C,IAAI,MAAM,KAAK,SAAS,EAAE,CAAC;oBACzB,OAAO,MAAM,CAAC;gBAChB,CAAC;gBACD,MAAM,sBAAsB,GAC1B,MAAM,CAAC,eAAe,EAAE,IAAI,OAAO,CAAC,yBAAyB,CAAC,MAAM,CAAC,CAAC;gBACxE,IAAI,CAAC,sBAAsB,EAAE,CAAC;oBAC5B,MAAM;gBACR,CAAC;gBACD,MAAM,GAAG,sBAAsB,CAAC;gBAChC,IAAI,gCAAgC,IAAI,MAAM,KAAK,YAAY,EAAE,CAAC;oBAChE,OAAO,mBAAmB,CAAC,MAAM,CAAC,CAAC;gBACrC,CAAC;YACH,CAAC;YACD,OAAO,SAAS,CAAC;QACnB,CAAC;QAED,SAAS,aAAa,CAAC,IAAoB;YACzC,MAAM,EAAE,MAAM,EAAE,GAAG,IAAI,CAAC;YAExB,QAAQ,MAAM,CAAC,IAAI,EAAE,CAAC;gBACpB,KAAK,sBAAc,CAAC,YAAY;oBAC9B,OAAO,MAAM,CAAC,QAAQ,CAAC,QAAQ,CAAC,IAA2B,CAAC,CAAC;gBAE/D,KAAK,sBAAc,CAAC,eAAe,CAAC;gBACpC,KAAK,sBAAc,CAAC,gBAAgB,CAAC;gBACrC,KAAK,sBAAc,CAAC,kBAAkB,CAAC;gBACvC,KAAK,sBAAc,CAAC,YAAY;oBAC9B,OAAO,MAAM,CAAC,EAAE,KAAK,IAAI,CAAC;gBAE5B,KAAK,sBAAc,CAAC,gBAAgB,CAAC;gBACrC,KAAK,sBAAc,CAAC,kBAAkB;oBACpC,OAAO,MAAM,CAAC,GAAG,KAAK,IAAI,CAAC;gBAE7B,KAAK,sBAAc,CAAC,QAAQ;oBAC1B,sEAAsE;oBACtE,4DAA4D;oBAC5D,OAAO,CACL,CAAC,MAAM,CAAC,SAAS,IAAI,MAAM,CAAC,KAAK,KAAK,IAAI,CAAC;wBAC3C,MAAM,CAAC,MAAM,CAAC,IAAI,KAAK,sBAAc,CAAC,gBAAgB,CACvD,CAAC;gBAEJ,KAAK,sBAAc,CAAC,iBAAiB;oBACnC,kFAAkF;oBAClF,2DAA2D;oBAC3D,OAAO,MAAM,CAAC,IAAI,KAAK,IAAI,CAAC;gBAE9B,KAAK,sBAAc,CAAC,uBAAuB,CAAC;gBAC5C,KAAK,sBAAc,CAAC,mBAAmB,CAAC;gBACxC,KAAK,sBAAc,CAAC,kBAAkB,CAAC;gBACvC,KAAK,sBAAc,CAAC,iBAAiB,CAAC;gBACtC,KAAK,sBAAc,CAAC,6BAA6B,CAAC;gBAClD,KAAK,sBAAc,CAAC,iBAAiB,CAAC;gBACtC,KAAK,sBAAc,CAAC,sBAAsB,CAAC;gBAC3C,KAAK,sBAAc,CAAC,iBAAiB,CAAC;gBACtC,KAAK,sBAAc,CAAC,mBAAmB,CAAC;gBACxC,KAAK,sBAAc,CAAC,mBAAmB,CAAC;gBACxC,KAAK,sBAAc,CAAC,mBAAmB,CAAC;gBACxC,KAAK,sBAAc,CAAC,sBAAsB,CAAC;gBAC3C,KAAK,sBAAc,CAAC,eAAe;oBACjC,OAAO,IAAI,CAAC;gBAEd;oBACE,OAAO,KAAK,CAAC;YACjB,CAAC;QACH,CAAC;QAED,SAAS,sBAAsB,CAAC,IAAmB;YACjD,IAAI,OAAO,GAAG,IAAI,CAAC;YAEnB,OAAO,IAAI,EAAE,CAAC;gBACZ,QAAQ,OAAO,CAAC,IAAI,EAAE,CAAC;oBACrB,KAAK,sBAAc,CAAC,oBAAoB,CAAC;oBACzC,KAAK,sBAAc,CAAC,sBAAsB,CAAC;oBAC3C,KAAK,sBAAc,CAAC,iBAAiB;wBACnC,OAAO,IAAI,CAAC;oBAEd,KAAK,sBAAc,CAAC,uBAAuB,CAAC;oBAC5C,KAAK,sBAAc,CAAC,cAAc,CAAC;oBACnC,KAAK,sBAAc,CAAC,gBAAgB,CAAC;oBACrC,KAAK,sBAAc,CAAC,sBAAsB,CAAC;oBAC3C,KAAK,sBAAc,CAAC,mBAAmB,CAAC;oBACxC,KAAK,sBAAc,CAAC,kBAAkB,CAAC;oBACvC,KAAK,sBAAc,CAAC,OAAO,CAAC;oBAC5B,KAAK,sBAAc,CAAC,WAAW,CAAC;oBAChC,KAAK,sBAAc,CAAC,kBAAkB;wBACpC,OAAO,KAAK,CAAC;oBAEf;wBACE,OAAO,GAAG,OAAO,CAAC,MAAM,CAAC;gBAC7B,CAAC;YACH,CAAC;QACH,CAAC;QAED,SAAS,mBAAmB,CAC1B,MAA4C;YAE5C,IAAI,SAAwC,CAAC;YAC7C,IAAI,CAAC;gBACH,SAAS,GAAG,MAAM,EAAE,YAAY,CAAC,OAAO,CAAC,CAAC;YAC5C,CAAC;YAAC,MAAM,CAAC;gBACP,sEAAsE;gBACtE,OAAO;YACT,CAAC;YACD,MAAM,GAAG,GAAG,SAAS,EAAE,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,CAAC,IAAI,KAAK,YAAY,CAAC,CAAC;YAE9D,IAAI,CAAC,GAAG,EAAE,CAAC;gBACT,OAAO,SAAS,CAAC;YACnB,CAAC;YAED,MAAM,YAAY,GAAG,GAAG,CAAC,IAAI,CAAC;YAE9B,OAAO,YAAY,CAAC,CAAC,CAAC,EAAE,CAAC,oBAAoB,CAAC,YAAY,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC;QACnE,CAAC;QAQD,SAAS,oBAAoB,CAAC,IAAmB;YAC/C,QAAQ,IAAI,CAAC,MAAM,EAAE,IAAI,EAAE,CAAC;gBAC1B,KAAK,sBAAc,CAAC,aAAa,CAAC;gBAClC,KAAK,sBAAc,CAAC,cAAc;oBAChC,OAAO,IAAI,CAAC,MAAM,CAAC,MAAM,KAAK,IAAI,CAAC;gBAErC,KAAK,sBAAc,CAAC,wBAAwB;oBAC1C,OAAO,IAAI,CAAC,MAAM,CAAC,GAAG,KAAK,IAAI,CAAC;gBAElC,KAAK,sBAAc,CAAC,iBAAiB;oBACnC,OAAO,IAAI,CAAC,MAAM,CAAC,IAAI,KAAK,IAAI,CAAC;gBAEnC;oBACE,OAAO,KAAK,CAAC;YACjB,CAAC;QACH,CAAC;QAED,SAAS,eAAe,CAAC,IAAmB;YAC1C,IAAI,MAAM,GAAG,IAAI,CAAC;YAElB,OACE,MAAM,CAAC,MAAM,EAAE,IAAI,KAAK,sBAAc,CAAC,gBAAgB;gBACvD,MAAM,CAAC,MAAM,CAAC,QAAQ,KAAK,MAAM,EACjC,CAAC;gBACD,MAAM,GAAG,MAAM,CAAC,MAAM,CAAC;YACzB,CAAC;YAED,OAAO,oBAAoB,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,SAAS,CAAC;QAC3D,CAAC;QAED,SAAS,sBAAsB,CAAC,IAAkB;YAChD,MAAM,MAAM,GAAG,QAAQ,CAAC,qBAAqB,CAAC,GAAG,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC;YAE/D,oEAAoE;YACpE,MAAM,SAAS,GAAG,IAAA,iBAAU,EAC1B,OAAO,CAAC,oBAAoB,CAAC,MAA+B,CAAC,EAC7D,2CAA2C,CAC5C,CAAC;YAEF,MAAM,MAAM,GAAG,QAAQ,CAAC,mBAAmB,CAAC,IAAI,CAAC,CAAC;YAClD,MAAM,aAAa,GACjB,MAAM,KAAK,SAAS;gBACpB,OAAO,CAAC,eAAe,CAAC,MAAM,EAAE,EAAE,CAAC,WAAW,CAAC,KAAK,CAAC;gBACnD,CAAC,CAAC,OAAO,CAAC,gBAAgB,CAAC,MAAM,CAAC;gBAClC,CAAC,CAAC,MAAM,CAAC;YACb,MAAM,qBAAqB,GAAG,aAAa,EAAE,YAAY,EAAE,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC;YACpE,8DAA8D;YAC9D,6CAA6C;YAC7C,EAAE;YACF,oBAAoB;YACpB,uBAAuB;YACvB,0BAA0B;YAC1B,0BAA0B;YAC1B,IAAI;YACJ,IACE,qBAAqB,KAAK,EAAE,CAAC,UAAU,CAAC,iBAAiB;gBACzD,qBAAqB,KAAK,EAAE,CAAC,UAAU,CAAC,mBAAmB;gBAC3D,qBAAqB,KAAK,EAAE,CAAC,UAAU,CAAC,eAAe,EACvD,CAAC;gBACD,OAAO,CACL,kCAAkC,CAAC,MAAM,EAAE,IAAI,CAAC;oBAChD,mBAAmB,CAAC,SAAS,CAAC;oBAC9B,mBAAmB,CAAC,aAAa,CAAC,CACnC,CAAC;YACJ,CAAC;YACD,OAAO,CACL,kCAAkC,CAChC,MAAM;YACN,4DAA4D;YAC5D,+DAA+D;YAC/D,yDAAyD;YACzD,EAAE;YACF,8BAA8B;YAC9B,EAAE;YACF,uBAAuB;YACvB,iCAAiC;YACjC,kCAAkC;YAClC,sCAAsC;YACtC,EAAE;YACF,mCAAmC;YACnC,EAAE;YACF,oEAAoE;YACpE,+DAA+D;YAC/D,sCAAsC;YACtC,kEAAkE;YAClE,sEAAsE;YACtE,oEAAoE;YACpE,oCAAoC;YACpC,EAAE;YACF,2EAA2E;YAC3E,6EAA6E;YAC7E,KAAK,CACN,IAAI,mBAAmB,CAAC,SAAS,CAAC,CACpC,CAAC;QACJ,CAAC;QAED,SAAS,oBAAoB,CAAC,IAAoB;YAChD,MAAM,YAAY,GAAG,eAAe,CAAC,IAAI,CAAC,CAAC;YAC3C,IAAI,YAAY,EAAE,CAAC;gBACjB,OAAO,sBAAsB,CAAC,YAAY,CAAC,CAAC;YAC9C,CAAC;YACD,IAAI,IAAI,CAAC,MAAM,CAAC,IAAI,KAAK,sBAAc,CAAC,QAAQ,EAAE,CAAC;gBACjD,OAAO,mBAAmB,CACxB,QAAQ,CAAC,iBAAiB,CAAC,IAAI,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC,WAAW,CAAC,IAAI,CAAC,IAAI,CAAC,CACtE,CAAC;YACJ,CAAC;YACD,OAAO,kCAAkC,CACvC,QAAQ,CAAC,mBAAmB,CAAC,IAAI,CAAC,EAClC,IAAI,CACL,CAAC;QACJ,CAAC;QAED,SAAS,eAAe,CAAC,IAAoB;YAC3C,IAAI,aAAa,CAAC,IAAI,CAAC,IAAI,sBAAsB,CAAC,IAAI,CAAC,EAAE,CAAC;gBACxD,OAAO;YACT,CAAC;YAED,MAAM,MAAM,GAAG,oBAAoB,CAAC,IAAI,CAAC,CAAC;YAC1C,IAAI,MAAM,KAAK,SAAS,EAAE,CAAC;gBACzB,OAAO;YACT,CAAC;YAED,OAAO,CAAC,MAAM,CAAC;gBACb,GAAG,CAAC,MAAM;oBACR,CAAC,CAAC;wBACE,SAAS,EAAE,sBAAsB;wBACjC,IAAI,EAAE,EAAE,IAAI,EAAE,IAAI,CAAC,IAAI,EAAE,MAAM,EAAE;qBAClC;oBACH,CAAC,CAAC;wBACE,SAAS,EAAE,YAAY;wBACvB,IAAI,EAAE,EAAE,IAAI,EAAE,IAAI,CAAC,IAAI,EAAE;qBAC1B,CAAC;gBACN,IAAI;aACL,CAAC,CAAC;QACL,CAAC;QAED,OAAO;YACL,UAAU,EAAE,eAAe;YAC3B,aAAa,CAAC,IAAI;gBAChB,IAAI,IAAI,CAAC,MAAM,CAAC,IAAI,KAAK,sBAAc,CAAC,iBAAiB,EAAE,CAAC;oBAC1D,eAAe,CAAC,IAAI,CAAC,CAAC;gBACxB,CAAC;YACH,CAAC;SACF,CAAC;IACJ,CAAC;CACF,CAAC,CAAC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-duplicate-type-constituents.js b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-duplicate-type-constituents.js index 8f24171da8..7fc9deadcf 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-duplicate-type-constituents.js +++ b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-duplicate-type-constituents.js @@ -15,13 +15,23 @@ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? ( }) : function(o, v) { o["default"] = v; }); -var __importStar = (this && this.__importStar) || function (mod) { - if (mod && mod.__esModule) return mod; - var result = {}; - if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k); - __setModuleDefault(result, mod); - return result; -}; +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); Object.defineProperty(exports, "__esModule", { value: true }); const utils_1 = require("@typescript-eslint/utils"); const tsutils = __importStar(require("ts-api-utils")); diff --git a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-duplicate-type-constituents.js.map b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-duplicate-type-constituents.js.map index 31d032fdf4..7b2a2bdd28 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-duplicate-type-constituents.js.map +++ b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-duplicate-type-constituents.js.map @@ -1 +1 @@ -{"version":3,"file":"no-duplicate-type-constituents.js","sourceRoot":"","sources":["../../src/rules/no-duplicate-type-constituents.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AAGA,oDAA0D;AAC1D,sDAAwC;AACxC,+CAAiC;AAEjC,kCAMiB;AAWjB,MAAM,aAAa,GAAG,IAAI,GAAG,CAAC,CAAC,KAAK,EAAE,QAAQ,EAAE,OAAO,CAAC,CAAC,CAAC;AAE1D,MAAM,aAAa,GAAG,CAAC,UAAmB,EAAE,YAAqB,EAAW,EAAE;IAC5E,IAAI,UAAU,KAAK,YAAY,EAAE,CAAC;QAChC,OAAO,IAAI,CAAC;IACd,CAAC;IACD,IACE,UAAU;QACV,YAAY;QACZ,OAAO,UAAU,KAAK,QAAQ;QAC9B,OAAO,YAAY,KAAK,QAAQ,EAChC,CAAC;QACD,IAAI,KAAK,CAAC,OAAO,CAAC,UAAU,CAAC,IAAI,KAAK,CAAC,OAAO,CAAC,YAAY,CAAC,EAAE,CAAC;YAC7D,IAAI,UAAU,CAAC,MAAM,KAAK,YAAY,CAAC,MAAM,EAAE,CAAC;gBAC9C,OAAO,KAAK,CAAC;YACf,CAAC;YACD,OAAO,CAAC,UAAU,CAAC,IAAI,CACrB,CAAC,OAAO,EAAE,KAAK,EAAE,EAAE,CAAC,CAAC,aAAa,CAAC,OAAO,EAAE,YAAY,CAAC,KAAK,CAAC,CAAC,CACjE,CAAC;QACJ,CAAC;QACD,MAAM,cAAc,GAAG,MAAM,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC,MAAM,CACnD,GAAG,CAAC,EAAE,CAAC,CAAC,aAAa,CAAC,GAAG,CAAC,GAAG,CAAC,CAC/B,CAAC;QACF,MAAM,gBAAgB,GAAG,MAAM,CAAC,IAAI,CAAC,YAAY,CAAC,CAAC,MAAM,CACvD,GAAG,CAAC,EAAE,CAAC,CAAC,aAAa,CAAC,GAAG,CAAC,GAAG,CAAC,CAC/B,CAAC;QACF,IAAI,cAAc,CAAC,MAAM,KAAK,gBAAgB,CAAC,MAAM,EAAE,CAAC;YACtD,OAAO,KAAK,CAAC;QACf,CAAC;QACD,IACE,cAAc,CAAC,IAAI,CACjB,aAAa,CAAC,EAAE,CAAC,CAAC,MAAM,CAAC,MAAM,CAAC,YAAY,EAAE,aAAa,CAAC,CAC7D,EACD,CAAC;YACD,OAAO,KAAK,CAAC;QACf,CAAC;QACD,IACE,cAAc,CAAC,IAAI,CACjB,aAAa,CAAC,EAAE,CACd,CAAC,aAAa,CACZ,UAAU,CAAC,aAAwC,CAAC,EACpD,YAAY,CAAC,aAA0C,CAAC,CACzD,CACJ,EACD,CAAC;YACD,OAAO,KAAK,CAAC;QACf,CAAC;QACD,OAAO,IAAI,CAAC;IACd,CAAC;IACD,OAAO,KAAK,CAAC;AACf,CAAC,CAAC;AAEF,kBAAe,IAAA,iBAAU,EAAsB;IAC7C,IAAI,EAAE,gCAAgC;IACtC,IAAI,EAAE;QACJ,IAAI,EAAE,YAAY;QAClB,IAAI,EAAE;YACJ,WAAW,EACT,gEAAgE;YAClE,WAAW,EAAE,aAAa;YAC1B,oBAAoB,EAAE,IAAI;SAC3B;QACD,OAAO,EAAE,MAAM;QACf,QAAQ,EAAE;YACR,SAAS,EAAE,4DAA4D;YACvE,WAAW,EACT,6DAA6D;SAChE;QACD,MAAM,EAAE;YACN;gBACE,IAAI,EAAE,QAAQ;gBACd,oBAAoB,EAAE,KAAK;gBAC3B,UAAU,EAAE;oBACV,mBAAmB,EAAE;wBACnB,IAAI,EAAE,SAAS;wBACf,WAAW,EAAE,sCAAsC;qBACpD;oBACD,YAAY,EAAE;wBACZ,IAAI,EAAE,SAAS;wBACf,WAAW,EAAE,+BAA+B;qBAC7C;iBACF;aACF;SACF;KACF;IACD,cAAc,EAAE;QACd;YACE,mBAAmB,EAAE,KAAK;YAC1B,YAAY,EAAE,KAAK;SACpB;KACF;IACD,MAAM,CAAC,OAAO,EAAE,CAAC,EAAE,mBAAmB,EAAE,YAAY,EAAE,CAAC;QACrD,MAAM,cAAc,GAAG,IAAA,wBAAiB,EAAC,OAAO,CAAC,CAAC;QAClD,MAAM,EAAE,UAAU,EAAE,GAAG,OAAO,CAAC;QAE/B,SAAS,cAAc,CACrB,IAAwD,EACxD,eAGS;YAET,MAAM,aAAa,GAAG,IAAI,GAAG,EAA2B,CAAC;YACzD,IAAI,CAAC,KAAK,CAAC,MAAM,CACf,CAAC,kBAAkB,EAAE,eAAe,EAAE,EAAE;gBACtC,MAAM,mBAAmB,GACvB,cAAc,CAAC,iBAAiB,CAAC,eAAe,CAAC,CAAC;gBACpD,IAAI,OAAO,CAAC,oBAAoB,CAAC,mBAAmB,CAAC,EAAE,CAAC;oBACtD,OAAO,kBAAkB,CAAC;gBAC5B,CAAC;gBAED,MAAM,MAAM,GAAG,CACb,SAAqB,EACrB,IAA8B,EACxB,EAAE;oBACR,MAAM,2BAA2B,GAAG,CAClC,KAAyB,EACzB,EAAU,EACkB,EAAE,CAC9B,UAAU,CAAC,YAAY,KAAK,EAAE,CAAC,CAAC,eAAe,EAAE;wBAC/C,MAAM,EAAE,KAAK,CAAC,EAAE,CAAC,CAAC,GAAG,EAAE,GAAG,CAAC,CAAC,QAAQ,CAAC,KAAK,CAAC,KAAK,CAAC;qBAClD,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,CAAC;oBAEZ,MAAM,8BAA8B,GAAG,2BAA2B,CAChE,QAAQ,EACR,CAAC,CAAC,CACH,CAAC;oBACF,IAAI,6BAAyD,CAAC;oBAC9D,IAAI,mBAAmB,CAAC;oBACxB,IAAI,kBAAkB,CAAC;oBACvB,IAAI,8BAA8B,EAAE,CAAC;wBACnC,mBAAmB,GAAG,UAAU,CAAC,gBAAgB,CAC/C,8BAA8B,EAC9B,eAAe,CAChB,CAAC;wBACF,kBAAkB,GAAG,UAAU,CAAC,cAAc,CAAC,eAAe,EAAE;4BAC9D,KAAK,EAAE,mBAAmB,CAAC,MAAM;yBAClC,CAAC,CAAC;oBACL,CAAC;yBAAM,CAAC;wBACN,6BAA6B,GAAG,IAAA,iBAAU,EACxC,2BAA2B,CAAC,OAAO,EAAE,CAAC,CAAC,EACvC,wBAAiB,CAAC,YAAY,CAC5B,6BAA6B,EAC7B,4BAA4B,CAC7B,CACF,CAAC;wBACF,kBAAkB,GAAG,UAAU,CAAC,gBAAgB,CAC9C,eAAe,EACf,6BAA6B,CAC9B,CAAC;wBACF,mBAAmB,GAAG,UAAU,CAAC,eAAe,CAC9C,eAAe,EACf;4BACE,KAAK,EAAE,kBAAkB,CAAC,MAAM;yBACjC,CACF,CAAC;oBACJ,CAAC;oBACD,OAAO,CAAC,MAAM,CAAC;wBACb,GAAG,EAAE;4BACH,KAAK,EAAE,eAAe,CAAC,GAAG,CAAC,KAAK;4BAChC,GAAG,EAAE,CAAC,kBAAkB,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC,IAAI,eAAe,CAAC,CAAC,GAAG,CAAC,GAAG;yBAC5D;wBACD,IAAI,EAAE,eAAe;wBACrB,SAAS;wBACT,IAAI;wBACJ,GAAG,EAAE,KAAK,CAAC,EAAE,CACX;4BACE,8BAA8B;4BAC9B,GAAG,mBAAmB;4BACtB,eAAe;4BACf,GAAG,kBAAkB;4BACrB,6BAA6B;yBAC9B,CAAC,OAAO,CAAC,KAAK,CAAC,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC;qBACzD,CAAC,CAAC;gBACL,CAAC,CAAC;gBACF,MAAM,iBAAiB,GACrB,kBAAkB,CAAC,IAAI,CAAC,GAAG,CAAC,EAAE,CAC5B,aAAa,CAAC,GAAG,EAAE,eAAe,CAAC,CACpC,IAAI,aAAa,CAAC,GAAG,CAAC,mBAAmB,CAAC,CAAC;gBAC9C,IAAI,iBAAiB,EAAE,CAAC;oBACtB,MAAM,CAAC,WAAW,EAAE;wBAClB,IAAI,EACF,IAAI,CAAC,IAAI,KAAK,sBAAc,CAAC,kBAAkB;4BAC7C,CAAC,CAAC,cAAc;4BAChB,CAAC,CAAC,OAAO;wBACb,QAAQ,EAAE,UAAU,CAAC,OAAO,CAAC,iBAAiB,CAAC;qBAChD,CAAC,CAAC;oBACH,OAAO,kBAAkB,CAAC;gBAC5B,CAAC;gBACD,eAAe,EAAE,CAAC,mBAAmB,EAAE,MAAM,CAAC,CAAC;gBAC/C,aAAa,CAAC,GAAG,CAAC,mBAAmB,EAAE,eAAe,CAAC,CAAC;gBACxD,OAAO,CAAC,GAAG,kBAAkB,EAAE,eAAe,CAAC,CAAC;YAClD,CAAC,EACD,EAAE,CACH,CAAC;QACJ,CAAC;QAED,OAAO;YACL,GAAG,CAAC,CAAC,mBAAmB,IAAI;gBAC1B,kBAAkB,EAAE,cAAc;aACnC,CAAC;YACF,GAAG,CAAC,CAAC,YAAY,IAAI;gBACnB,WAAW,EAAE,CAAC,IAAI,EAAQ,EAAE,CAC1B,cAAc,CAAC,IAAI,EAAE,CAAC,mBAAmB,EAAE,MAAM,EAAE,EAAE;oBACnD,MAAM,mBAAmB,GAAG,IAAI,CAAC,MAAM,CAAC;oBACxC,IAAI,mBAAmB,CAAC,IAAI,KAAK,sBAAc,CAAC,gBAAgB,EAAE,CAAC;wBACjE,MAAM,eAAe,GAAG,mBAAmB,CAAC,MAAM,CAAC;wBACnD,IACE,eAAe,CAAC,IAAI,KAAK,sBAAc,CAAC,UAAU;4BAClD,eAAe,CAAC,QAAQ,EACxB,CAAC;4BACD,MAAM,aAAa,GAAG,eAAe,CAAC,MAAM,CAAC;4BAC7C,IACE,IAAA,+BAAwB,EAAC,aAAa,CAAC;gCACvC,aAAa,CAAC,MAAM,CAAC,QAAQ,CAAC,eAAe,CAAC;gCAC9C,OAAO,CAAC,aAAa,CACnB,mBAAmB,EACnB,EAAE,CAAC,SAAS,CAAC,SAAS,CACvB,EACD,CAAC;gCACD,MAAM,CAAC,aAAa,CAAC,CAAC;4BACxB,CAAC;wBACH,CAAC;oBACH,CAAC;gBACH,CAAC,CAAC;aACL,CAAC;SACH,CAAC;IACJ,CAAC;CACF,CAAC,CAAC"} \ No newline at end of file +{"version":3,"file":"no-duplicate-type-constituents.js","sourceRoot":"","sources":["../../src/rules/no-duplicate-type-constituents.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAGA,oDAA0D;AAC1D,sDAAwC;AACxC,+CAAiC;AAEjC,kCAMiB;AAWjB,MAAM,aAAa,GAAG,IAAI,GAAG,CAAC,CAAC,KAAK,EAAE,QAAQ,EAAE,OAAO,CAAC,CAAC,CAAC;AAE1D,MAAM,aAAa,GAAG,CAAC,UAAmB,EAAE,YAAqB,EAAW,EAAE;IAC5E,IAAI,UAAU,KAAK,YAAY,EAAE,CAAC;QAChC,OAAO,IAAI,CAAC;IACd,CAAC;IACD,IACE,UAAU;QACV,YAAY;QACZ,OAAO,UAAU,KAAK,QAAQ;QAC9B,OAAO,YAAY,KAAK,QAAQ,EAChC,CAAC;QACD,IAAI,KAAK,CAAC,OAAO,CAAC,UAAU,CAAC,IAAI,KAAK,CAAC,OAAO,CAAC,YAAY,CAAC,EAAE,CAAC;YAC7D,IAAI,UAAU,CAAC,MAAM,KAAK,YAAY,CAAC,MAAM,EAAE,CAAC;gBAC9C,OAAO,KAAK,CAAC;YACf,CAAC;YACD,OAAO,CAAC,UAAU,CAAC,IAAI,CACrB,CAAC,OAAO,EAAE,KAAK,EAAE,EAAE,CAAC,CAAC,aAAa,CAAC,OAAO,EAAE,YAAY,CAAC,KAAK,CAAC,CAAC,CACjE,CAAC;QACJ,CAAC;QACD,MAAM,cAAc,GAAG,MAAM,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC,MAAM,CACnD,GAAG,CAAC,EAAE,CAAC,CAAC,aAAa,CAAC,GAAG,CAAC,GAAG,CAAC,CAC/B,CAAC;QACF,MAAM,gBAAgB,GAAG,MAAM,CAAC,IAAI,CAAC,YAAY,CAAC,CAAC,MAAM,CACvD,GAAG,CAAC,EAAE,CAAC,CAAC,aAAa,CAAC,GAAG,CAAC,GAAG,CAAC,CAC/B,CAAC;QACF,IAAI,cAAc,CAAC,MAAM,KAAK,gBAAgB,CAAC,MAAM,EAAE,CAAC;YACtD,OAAO,KAAK,CAAC;QACf,CAAC;QACD,IACE,cAAc,CAAC,IAAI,CACjB,aAAa,CAAC,EAAE,CAAC,CAAC,MAAM,CAAC,MAAM,CAAC,YAAY,EAAE,aAAa,CAAC,CAC7D,EACD,CAAC;YACD,OAAO,KAAK,CAAC;QACf,CAAC;QACD,IACE,cAAc,CAAC,IAAI,CACjB,aAAa,CAAC,EAAE,CACd,CAAC,aAAa,CACZ,UAAU,CAAC,aAAwC,CAAC,EACpD,YAAY,CAAC,aAA0C,CAAC,CACzD,CACJ,EACD,CAAC;YACD,OAAO,KAAK,CAAC;QACf,CAAC;QACD,OAAO,IAAI,CAAC;IACd,CAAC;IACD,OAAO,KAAK,CAAC;AACf,CAAC,CAAC;AAEF,kBAAe,IAAA,iBAAU,EAAsB;IAC7C,IAAI,EAAE,gCAAgC;IACtC,IAAI,EAAE;QACJ,IAAI,EAAE,YAAY;QAClB,IAAI,EAAE;YACJ,WAAW,EACT,gEAAgE;YAClE,WAAW,EAAE,aAAa;YAC1B,oBAAoB,EAAE,IAAI;SAC3B;QACD,OAAO,EAAE,MAAM;QACf,QAAQ,EAAE;YACR,SAAS,EAAE,4DAA4D;YACvE,WAAW,EACT,6DAA6D;SAChE;QACD,MAAM,EAAE;YACN;gBACE,IAAI,EAAE,QAAQ;gBACd,oBAAoB,EAAE,KAAK;gBAC3B,UAAU,EAAE;oBACV,mBAAmB,EAAE;wBACnB,IAAI,EAAE,SAAS;wBACf,WAAW,EAAE,sCAAsC;qBACpD;oBACD,YAAY,EAAE;wBACZ,IAAI,EAAE,SAAS;wBACf,WAAW,EAAE,+BAA+B;qBAC7C;iBACF;aACF;SACF;KACF;IACD,cAAc,EAAE;QACd;YACE,mBAAmB,EAAE,KAAK;YAC1B,YAAY,EAAE,KAAK;SACpB;KACF;IACD,MAAM,CAAC,OAAO,EAAE,CAAC,EAAE,mBAAmB,EAAE,YAAY,EAAE,CAAC;QACrD,MAAM,cAAc,GAAG,IAAA,wBAAiB,EAAC,OAAO,CAAC,CAAC;QAClD,MAAM,EAAE,UAAU,EAAE,GAAG,OAAO,CAAC;QAE/B,SAAS,cAAc,CACrB,IAAwD,EACxD,eAGS;YAET,MAAM,aAAa,GAAG,IAAI,GAAG,EAA2B,CAAC;YACzD,IAAI,CAAC,KAAK,CAAC,MAAM,CACf,CAAC,kBAAkB,EAAE,eAAe,EAAE,EAAE;gBACtC,MAAM,mBAAmB,GACvB,cAAc,CAAC,iBAAiB,CAAC,eAAe,CAAC,CAAC;gBACpD,IAAI,OAAO,CAAC,oBAAoB,CAAC,mBAAmB,CAAC,EAAE,CAAC;oBACtD,OAAO,kBAAkB,CAAC;gBAC5B,CAAC;gBAED,MAAM,MAAM,GAAG,CACb,SAAqB,EACrB,IAA8B,EACxB,EAAE;oBACR,MAAM,2BAA2B,GAAG,CAClC,KAAyB,EACzB,EAAU,EACkB,EAAE,CAC9B,UAAU,CAAC,YAAY,KAAK,EAAE,CAAC,CAAC,eAAe,EAAE;wBAC/C,MAAM,EAAE,KAAK,CAAC,EAAE,CAAC,CAAC,GAAG,EAAE,GAAG,CAAC,CAAC,QAAQ,CAAC,KAAK,CAAC,KAAK,CAAC;qBAClD,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,CAAC;oBAEZ,MAAM,8BAA8B,GAAG,2BAA2B,CAChE,QAAQ,EACR,CAAC,CAAC,CACH,CAAC;oBACF,IAAI,6BAAyD,CAAC;oBAC9D,IAAI,mBAAmB,CAAC;oBACxB,IAAI,kBAAkB,CAAC;oBACvB,IAAI,8BAA8B,EAAE,CAAC;wBACnC,mBAAmB,GAAG,UAAU,CAAC,gBAAgB,CAC/C,8BAA8B,EAC9B,eAAe,CAChB,CAAC;wBACF,kBAAkB,GAAG,UAAU,CAAC,cAAc,CAAC,eAAe,EAAE;4BAC9D,KAAK,EAAE,mBAAmB,CAAC,MAAM;yBAClC,CAAC,CAAC;oBACL,CAAC;yBAAM,CAAC;wBACN,6BAA6B,GAAG,IAAA,iBAAU,EACxC,2BAA2B,CAAC,OAAO,EAAE,CAAC,CAAC,EACvC,wBAAiB,CAAC,YAAY,CAC5B,6BAA6B,EAC7B,4BAA4B,CAC7B,CACF,CAAC;wBACF,kBAAkB,GAAG,UAAU,CAAC,gBAAgB,CAC9C,eAAe,EACf,6BAA6B,CAC9B,CAAC;wBACF,mBAAmB,GAAG,UAAU,CAAC,eAAe,CAC9C,eAAe,EACf;4BACE,KAAK,EAAE,kBAAkB,CAAC,MAAM;yBACjC,CACF,CAAC;oBACJ,CAAC;oBACD,OAAO,CAAC,MAAM,CAAC;wBACb,GAAG,EAAE;4BACH,KAAK,EAAE,eAAe,CAAC,GAAG,CAAC,KAAK;4BAChC,GAAG,EAAE,CAAC,kBAAkB,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC,IAAI,eAAe,CAAC,CAAC,GAAG,CAAC,GAAG;yBAC5D;wBACD,IAAI,EAAE,eAAe;wBACrB,SAAS;wBACT,IAAI;wBACJ,GAAG,EAAE,KAAK,CAAC,EAAE,CACX;4BACE,8BAA8B;4BAC9B,GAAG,mBAAmB;4BACtB,eAAe;4BACf,GAAG,kBAAkB;4BACrB,6BAA6B;yBAC9B,CAAC,OAAO,CAAC,KAAK,CAAC,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC;qBACzD,CAAC,CAAC;gBACL,CAAC,CAAC;gBACF,MAAM,iBAAiB,GACrB,kBAAkB,CAAC,IAAI,CAAC,GAAG,CAAC,EAAE,CAC5B,aAAa,CAAC,GAAG,EAAE,eAAe,CAAC,CACpC,IAAI,aAAa,CAAC,GAAG,CAAC,mBAAmB,CAAC,CAAC;gBAC9C,IAAI,iBAAiB,EAAE,CAAC;oBACtB,MAAM,CAAC,WAAW,EAAE;wBAClB,IAAI,EACF,IAAI,CAAC,IAAI,KAAK,sBAAc,CAAC,kBAAkB;4BAC7C,CAAC,CAAC,cAAc;4BAChB,CAAC,CAAC,OAAO;wBACb,QAAQ,EAAE,UAAU,CAAC,OAAO,CAAC,iBAAiB,CAAC;qBAChD,CAAC,CAAC;oBACH,OAAO,kBAAkB,CAAC;gBAC5B,CAAC;gBACD,eAAe,EAAE,CAAC,mBAAmB,EAAE,MAAM,CAAC,CAAC;gBAC/C,aAAa,CAAC,GAAG,CAAC,mBAAmB,EAAE,eAAe,CAAC,CAAC;gBACxD,OAAO,CAAC,GAAG,kBAAkB,EAAE,eAAe,CAAC,CAAC;YAClD,CAAC,EACD,EAAE,CACH,CAAC;QACJ,CAAC;QAED,OAAO;YACL,GAAG,CAAC,CAAC,mBAAmB,IAAI;gBAC1B,kBAAkB,EAAE,cAAc;aACnC,CAAC;YACF,GAAG,CAAC,CAAC,YAAY,IAAI;gBACnB,WAAW,EAAE,CAAC,IAAI,EAAQ,EAAE,CAC1B,cAAc,CAAC,IAAI,EAAE,CAAC,mBAAmB,EAAE,MAAM,EAAE,EAAE;oBACnD,MAAM,mBAAmB,GAAG,IAAI,CAAC,MAAM,CAAC;oBACxC,IAAI,mBAAmB,CAAC,IAAI,KAAK,sBAAc,CAAC,gBAAgB,EAAE,CAAC;wBACjE,MAAM,eAAe,GAAG,mBAAmB,CAAC,MAAM,CAAC;wBACnD,IACE,eAAe,CAAC,IAAI,KAAK,sBAAc,CAAC,UAAU;4BAClD,eAAe,CAAC,QAAQ,EACxB,CAAC;4BACD,MAAM,aAAa,GAAG,eAAe,CAAC,MAAM,CAAC;4BAC7C,IACE,IAAA,+BAAwB,EAAC,aAAa,CAAC;gCACvC,aAAa,CAAC,MAAM,CAAC,QAAQ,CAAC,eAAe,CAAC;gCAC9C,OAAO,CAAC,aAAa,CACnB,mBAAmB,EACnB,EAAE,CAAC,SAAS,CAAC,SAAS,CACvB,EACD,CAAC;gCACD,MAAM,CAAC,aAAa,CAAC,CAAC;4BACxB,CAAC;wBACH,CAAC;oBACH,CAAC;gBACH,CAAC,CAAC;aACL,CAAC;SACH,CAAC;IACJ,CAAC;CACF,CAAC,CAAC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-floating-promises.js b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-floating-promises.js index e9110b2a23..c622860f79 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-floating-promises.js +++ b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-floating-promises.js @@ -15,13 +15,23 @@ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? ( }) : function(o, v) { o["default"] = v; }); -var __importStar = (this && this.__importStar) || function (mod) { - if (mod && mod.__esModule) return mod; - var result = {}; - if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k); - __setModuleDefault(result, mod); - return result; -}; +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); Object.defineProperty(exports, "__esModule", { value: true }); const utils_1 = require("@typescript-eslint/utils"); const tsutils = __importStar(require("ts-api-utils")); @@ -280,7 +290,7 @@ exports.default = (0, util_1.createRule)({ // All other cases are unhandled. return { isUnhandled: true }; } - else if (node.type === utils_1.AST_NODE_TYPES.ConditionalExpression) { + if (node.type === utils_1.AST_NODE_TYPES.ConditionalExpression) { // We must be getting the promise-like value from one of the branches of the // ternary. Check them directly. const alternateResult = isUnhandledPromise(checker, node.alternate); @@ -289,7 +299,7 @@ exports.default = (0, util_1.createRule)({ } return isUnhandledPromise(checker, node.consequent); } - else if (node.type === utils_1.AST_NODE_TYPES.LogicalExpression) { + if (node.type === utils_1.AST_NODE_TYPES.LogicalExpression) { const leftResult = isUnhandledPromise(checker, node.left); if (leftResult.isUnhandled) { return leftResult; diff --git a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-floating-promises.js.map b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-floating-promises.js.map index c5a7198969..ec2a97889f 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-floating-promises.js.map +++ b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-floating-promises.js.map @@ -1 +1 @@ -{"version":3,"file":"no-floating-promises.js","sourceRoot":"","sources":["../../src/rules/no-floating-promises.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AAEA,oDAA0D;AAC1D,sDAAwC;AACxC,+CAAiC;AAIjC,kCAUiB;AAsBjB,MAAM,WAAW,GACf,4GAA4G,CAAC;AAE/G,MAAM,eAAe,GACnB,wGAAwG;IACxG,+DAA+D,CAAC;AAElE,MAAM,uBAAuB,GAC3B,6DAA6D,CAAC;AAEhE,MAAM,mBAAmB,GACvB,kIAAkI,CAAC;AAErI,MAAM,uBAAuB,GAC3B,kIAAkI;IAClI,4EAA4E,CAAC;AAE/E,kBAAe,IAAA,iBAAU,EAAqB;IAC5C,IAAI,EAAE,sBAAsB;IAC5B,IAAI,EAAE;QACJ,IAAI,EAAE,SAAS;QACf,IAAI,EAAE;YACJ,WAAW,EACT,6DAA6D;YAC/D,WAAW,EAAE,aAAa;YAC1B,oBAAoB,EAAE,IAAI;SAC3B;QACD,cAAc,EAAE,IAAI;QACpB,QAAQ,EAAE;YACR,QAAQ,EAAE,WAAW;YACrB,gBAAgB,EAAE,qBAAqB;YACvC,eAAe,EAAE,8BAA8B;YAC/C,oBAAoB,EAAE,mBAAmB;YACzC,wBAAwB,EAAE,uBAAuB;YACjD,+BAA+B,EAAE,GAAG,WAAW,IAAI,uBAAuB,EAAE;YAC5E,mCAAmC,EAAE,GAAG,eAAe,IAAI,uBAAuB,EAAE;YACpF,YAAY,EAAE,eAAe;SAC9B;QACD,MAAM,EAAE;YACN;gBACE,IAAI,EAAE,QAAQ;gBACd,oBAAoB,EAAE,KAAK;gBAC3B,UAAU,EAAE;oBACV,sBAAsB,EAAE;wBACtB,GAAG,gCAAyB,CAAC,UAAU,CAAC,KAAK;wBAC7C,WAAW,EACT,6DAA6D;qBAChE;oBACD,yBAAyB,EAAE;wBACzB,GAAG,gCAAyB,CAAC,UAAU,CAAC,KAAK;wBAC7C,WAAW,EAAE,qDAAqD;qBACnE;oBACD,cAAc,EAAE;wBACd,IAAI,EAAE,SAAS;wBACf,WAAW,EACT,uEAAuE;qBAC1E;oBACD,UAAU,EAAE;wBACV,IAAI,EAAE,SAAS;wBACf,WAAW,EACT,2EAA2E;qBAC9E;oBACD,UAAU,EAAE;wBACV,IAAI,EAAE,SAAS;wBACf,WAAW,EAAE,uCAAuC;qBACrD;iBACF;aACF;SACF;KACF;IACD,cAAc,EAAE;QACd;YACE,sBAAsB,EAAE,kCAA2B,CAAC,KAAK;YACzD,yBAAyB,EAAE,kCAA2B,CAAC,KAAK;YAC5D,cAAc,EAAE,KAAK;YACrB,UAAU,EAAE,KAAK;YACjB,UAAU,EAAE,IAAI;SACjB;KACF;IAED,MAAM,CAAC,OAAO,EAAE,CAAC,OAAO,CAAC;QACvB,MAAM,QAAQ,GAAG,IAAA,wBAAiB,EAAC,OAAO,CAAC,CAAC;QAC5C,MAAM,OAAO,GAAG,QAAQ,CAAC,OAAO,CAAC,cAAc,EAAE,CAAC;QAClD,MAAM,EAAE,cAAc,EAAE,GAAG,OAAO,CAAC;QAEnC,cAAc;QACd,6DAA6D;QAC7D,MAAM,yBAAyB,GAAG,OAAO,CAAC,yBAA0B,CAAC;QACrE,MAAM,sBAAsB,GAAG,OAAO,CAAC,sBAAuB,CAAC;QAC/D,4DAA4D;QAE5D,OAAO;YACL,mBAAmB,CAAC,IAAI;gBACtB,IAAI,OAAO,CAAC,UAAU,IAAI,WAAW,CAAC,IAAI,CAAC,EAAE,CAAC;oBAC5C,OAAO;gBACT,CAAC;gBAED,IAAI,UAAU,GAAG,IAAI,CAAC,UAAU,CAAC;gBAEjC,IAAI,UAAU,CAAC,IAAI,KAAK,sBAAc,CAAC,eAAe,EAAE,CAAC;oBACvD,UAAU,GAAG,UAAU,CAAC,UAAU,CAAC;gBACrC,CAAC;gBAED,IAAI,wBAAwB,CAAC,UAAU,CAAC,EAAE,CAAC;oBACzC,OAAO;gBACT,CAAC;gBAED,MAAM,EAAE,WAAW,EAAE,kBAAkB,EAAE,YAAY,EAAE,GACrD,kBAAkB,CAAC,OAAO,EAAE,UAAU,CAAC,CAAC;gBAE1C,IAAI,WAAW,EAAE,CAAC;oBAChB,IAAI,YAAY,EAAE,CAAC;wBACjB,OAAO,CAAC,MAAM,CAAC;4BACb,IAAI;4BACJ,SAAS,EAAE,OAAO,CAAC,UAAU;gCAC3B,CAAC,CAAC,0BAA0B;gCAC5B,CAAC,CAAC,sBAAsB;yBAC3B,CAAC,CAAC;oBACL,CAAC;yBAAM,IAAI,OAAO,CAAC,UAAU,EAAE,CAAC;wBAC9B,OAAO,CAAC,MAAM,CAAC;4BACb,IAAI;4BACJ,SAAS,EAAE,kBAAkB;gCAC3B,CAAC,CAAC,qCAAqC;gCACvC,CAAC,CAAC,cAAc;4BAClB,OAAO,EAAE;gCACP;oCACE,SAAS,EAAE,iBAAiB;oCAC5B,GAAG,CAAC,KAAK;wCACP,MAAM,MAAM,GAAG,QAAQ,CAAC,qBAAqB,CAAC,GAAG,CAC/C,IAAI,CAAC,UAAU,CAChB,CAAC;wCACF,IAAI,2BAA2B,CAAC,MAAM,CAAC,EAAE,CAAC;4CACxC,OAAO,KAAK,CAAC,gBAAgB,CAAC,IAAI,EAAE,OAAO,CAAC,CAAC;wCAC/C,CAAC;wCACD,OAAO;4CACL,KAAK,CAAC,gBAAgB,CAAC,IAAI,EAAE,QAAQ,CAAC;4CACtC,KAAK,CAAC,oBAAoB,CACxB,CAAC,UAAU,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,UAAU,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EAC1C,GAAG,CACJ;yCACF,CAAC;oCACJ,CAAC;iCACF;gCACD;oCACE,SAAS,EAAE,kBAAkB;oCAC7B,GAAG,EAAE,CAAC,KAAK,EAAyC,EAAE,CACpD,QAAQ,CAAC,KAAK,EAAE,UAAU,EAAE,IAAI,CAAC;iCACpC;6BACF;yBACF,CAAC,CAAC;oBACL,CAAC;yBAAM,CAAC;wBACN,OAAO,CAAC,MAAM,CAAC;4BACb,IAAI;4BACJ,SAAS,EAAE,kBAAkB;gCAC3B,CAAC,CAAC,iCAAiC;gCACnC,CAAC,CAAC,UAAU;4BACd,OAAO,EAAE;gCACP;oCACE,SAAS,EAAE,kBAAkB;oCAC7B,GAAG,EAAE,CAAC,KAAK,EAAyC,EAAE,CACpD,QAAQ,CAAC,KAAK,EAAE,UAAU,EAAE,IAAI,CAAC;iCACpC;6BACF;yBACF,CAAC,CAAC;oBACL,CAAC;gBACH,CAAC;YACH,CAAC;SACF,CAAC;QAEF,SAAS,QAAQ,CACf,KAAyB,EACzB,UAA+B,EAC/B,IAAkC;YAElC,IACE,UAAU,CAAC,IAAI,KAAK,sBAAc,CAAC,eAAe;gBAClD,UAAU,CAAC,QAAQ,KAAK,MAAM,EAC9B,CAAC;gBACD,OAAO,KAAK,CAAC,gBAAgB,CAC3B,CAAC,UAAU,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,UAAU,CAAC,KAAK,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,EAC9C,OAAO,CACR,CAAC;YACJ,CAAC;YACD,MAAM,MAAM,GAAG,QAAQ,CAAC,qBAAqB,CAAC,GAAG,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC;YACnE,IAAI,2BAA2B,CAAC,MAAM,CAAC,EAAE,CAAC;gBACxC,OAAO,KAAK,CAAC,gBAAgB,CAAC,IAAI,EAAE,QAAQ,CAAC,CAAC;YAChD,CAAC;YACD,OAAO;gBACL,KAAK,CAAC,gBAAgB,CAAC,IAAI,EAAE,SAAS,CAAC;gBACvC,KAAK,CAAC,oBAAoB,CACxB,CAAC,UAAU,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,UAAU,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EAC1C,GAAG,CACJ;aACF,CAAC;QACJ,CAAC;QAED,SAAS,wBAAwB,CAAC,IAAmB;YACnD,IAAI,IAAI,CAAC,IAAI,KAAK,sBAAc,CAAC,cAAc,EAAE,CAAC;gBAChD,OAAO,KAAK,CAAC;YACf,CAAC;YAED,MAAM,IAAI,GAAG,QAAQ,CAAC,iBAAiB,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC;YAErD,OAAO,IAAA,+BAAwB,EAC7B,IAAI,EACJ,sBAAsB,EACtB,QAAQ,CAAC,OAAO,CACjB,CAAC;QACJ,CAAC;QAED,SAAS,2BAA2B,CAAC,IAAa;YAChD,MAAM,QAAQ,GAAG,EAAE,CAAC,kBAAkB,CAAC,IAAI,CAAC;gBAC1C,CAAC,CAAC,IAAI,CAAC,aAAa,CAAC,IAAI;gBACzB,CAAC,CAAC,EAAE,CAAC,UAAU,CAAC,OAAO,CAAC;YAC1B,MAAM,cAAc,GAAG,IAAA,4BAAqB,EAAC,IAAI,CAAC,IAAI,EAAE,QAAQ,CAAC,CAAC;YAClE,OAAO,cAAc,GAAG,yBAAkB,CAAC,KAAK,CAAC;QACnD,CAAC;QAED,SAAS,WAAW,CAAC,IAAkC;YACrD,IAAI,IAAI,CAAC,UAAU,CAAC,IAAI,KAAK,sBAAc,CAAC,cAAc,EAAE,CAAC;gBAC3D,OAAO,KAAK,CAAC;YACf,CAAC;YAED,OAAO,CACL,IAAI,CAAC,UAAU,CAAC,MAAM,CAAC,IAAI;gBACzB,sBAAc,CAAC,uBAAuB;gBACxC,IAAI,CAAC,UAAU,CAAC,MAAM,CAAC,IAAI,KAAK,sBAAc,CAAC,kBAAkB,CAClE,CAAC;QACJ,CAAC;QAED,SAAS,uBAAuB,CAAC,gBAA+B;YAC9D,OAAO,CACL,QAAQ,CAAC,OAAO;iBACb,cAAc,EAAE;iBAChB,iBAAiB,CAChB,QAAQ,CAAC,qBAAqB,CAAC,GAAG,CAAC,gBAAgB,CAAC,CACrD;iBACA,iBAAiB,EAAE,CAAC,MAAM,GAAG,CAAC,CAClC,CAAC;QACJ,CAAC;QAED,SAAS,kBAAkB,CACzB,OAAuB,EACvB,IAAmB;YAMnB,IAAI,IAAI,CAAC,IAAI,KAAK,sBAAc,CAAC,oBAAoB,EAAE,CAAC;gBACtD,OAAO,EAAE,WAAW,EAAE,KAAK,EAAE,CAAC;YAChC,CAAC;YAED,yEAAyE;YACzE,IAAI,IAAI,CAAC,IAAI,KAAK,sBAAc,CAAC,kBAAkB,EAAE,CAAC;gBACpD,uEAAuE;gBACvE,yEAAyE;gBACzE,yBAAyB;gBACzB,OAAO,CACL,IAAI,CAAC,WAAW;qBACb,GAAG,CAAC,IAAI,CAAC,EAAE,CAAC,kBAAkB,CAAC,OAAO,EAAE,IAAI,CAAC,CAAC;qBAC9C,IAAI,CAAC,MAAM,CAAC,EAAE,CAAC,MAAM,CAAC,WAAW,CAAC,IAAI,EAAE,WAAW,EAAE,KAAK,EAAE,CAChE,CAAC;YACJ,CAAC;YAED,IACE,CAAC,OAAO,CAAC,UAAU;gBACnB,IAAI,CAAC,IAAI,KAAK,sBAAc,CAAC,eAAe;gBAC5C,IAAI,CAAC,QAAQ,KAAK,MAAM,EACxB,CAAC;gBACD,yEAAyE;gBACzE,4EAA4E;gBAC5E,OAAO,kBAAkB,CAAC,OAAO,EAAE,IAAI,CAAC,QAAQ,CAAC,CAAC;YACpD,CAAC;YAED,MAAM,MAAM,GAAG,QAAQ,CAAC,qBAAqB,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC;YAExD,4EAA4E;YAC5E,oBAAoB;YAEpB,IAAI,cAAc,CAAC,MAAM,CAAC,EAAE,CAAC;gBAC3B,OAAO,EAAE,WAAW,EAAE,IAAI,EAAE,YAAY,EAAE,IAAI,EAAE,CAAC;YACnD,CAAC;YAED,+DAA+D;YAC/D,IAAI,IAAI,CAAC,IAAI,KAAK,sBAAc,CAAC,eAAe,EAAE,CAAC;gBACjD,mEAAmE;gBACnE,oEAAoE;gBACpE,sEAAsE;gBACtE,qDAAqD;gBACrD,OAAO,EAAE,WAAW,EAAE,KAAK,EAAE,CAAC;YAChC,CAAC;YAED,IAAI,CAAC,aAAa,CAAC,MAAM,CAAC,EAAE,CAAC;gBAC3B,OAAO,EAAE,WAAW,EAAE,KAAK,EAAE,CAAC;YAChC,CAAC;YAED,IAAI,IAAI,CAAC,IAAI,KAAK,sBAAc,CAAC,cAAc,EAAE,CAAC;gBAChD,oEAAoE;gBACpE,yCAAyC;gBAEzC,MAAM,EAAE,MAAM,EAAE,GAAG,IAAI,CAAC;gBACxB,IAAI,MAAM,CAAC,IAAI,KAAK,sBAAc,CAAC,gBAAgB,EAAE,CAAC;oBACpD,MAAM,UAAU,GAAG,IAAA,iCAA0B,EAAC,MAAM,EAAE,OAAO,CAAC,CAAC;oBAC/D,MAAM,qBAAqB,GACzB,UAAU,KAAK,OAAO,IAAI,IAAI,CAAC,SAAS,CAAC,MAAM,IAAI,CAAC;wBAClD,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC;wBACnB,CAAC,CAAC,SAAS,CAAC;oBAChB,IAAI,qBAAqB,EAAE,CAAC;wBAC1B,IAAI,uBAAuB,CAAC,qBAAqB,CAAC,EAAE,CAAC;4BACnD,OAAO,EAAE,WAAW,EAAE,KAAK,EAAE,CAAC;wBAChC,CAAC;wBACD,OAAO,EAAE,WAAW,EAAE,IAAI,EAAE,kBAAkB,EAAE,IAAI,EAAE,CAAC;oBACzD,CAAC;oBAED,MAAM,oBAAoB,GACxB,UAAU,KAAK,MAAM,IAAI,IAAI,CAAC,SAAS,CAAC,MAAM,IAAI,CAAC;wBACjD,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC;wBACnB,CAAC,CAAC,SAAS,CAAC;oBAChB,IAAI,oBAAoB,EAAE,CAAC;wBACzB,IAAI,uBAAuB,CAAC,oBAAoB,CAAC,EAAE,CAAC;4BAClD,OAAO,EAAE,WAAW,EAAE,KAAK,EAAE,CAAC;wBAChC,CAAC;wBACD,OAAO,EAAE,WAAW,EAAE,IAAI,EAAE,kBAAkB,EAAE,IAAI,EAAE,CAAC;oBACzD,CAAC;oBAED,2EAA2E;oBAC3E,yDAAyD;oBACzD,MAAM,oBAAoB,GACxB,UAAU,KAAK,SAAS,CAAC,CAAC,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC,CAAC,SAAS,CAAC;oBACvD,IAAI,oBAAoB,EAAE,CAAC;wBACzB,OAAO,kBAAkB,CAAC,OAAO,EAAE,oBAAoB,CAAC,CAAC;oBAC3D,CAAC;gBACH,CAAC;gBAED,iCAAiC;gBACjC,OAAO,EAAE,WAAW,EAAE,IAAI,EAAE,CAAC;YAC/B,CAAC;iBAAM,IAAI,IAAI,CAAC,IAAI,KAAK,sBAAc,CAAC,qBAAqB,EAAE,CAAC;gBAC9D,4EAA4E;gBAC5E,gCAAgC;gBAChC,MAAM,eAAe,GAAG,kBAAkB,CAAC,OAAO,EAAE,IAAI,CAAC,SAAS,CAAC,CAAC;gBACpE,IAAI,eAAe,CAAC,WAAW,EAAE,CAAC;oBAChC,OAAO,eAAe,CAAC;gBACzB,CAAC;gBACD,OAAO,kBAAkB,CAAC,OAAO,EAAE,IAAI,CAAC,UAAU,CAAC,CAAC;YACtD,CAAC;iBAAM,IAAI,IAAI,CAAC,IAAI,KAAK,sBAAc,CAAC,iBAAiB,EAAE,CAAC;gBAC1D,MAAM,UAAU,GAAG,kBAAkB,CAAC,OAAO,EAAE,IAAI,CAAC,IAAI,CAAC,CAAC;gBAC1D,IAAI,UAAU,CAAC,WAAW,EAAE,CAAC;oBAC3B,OAAO,UAAU,CAAC;gBACpB,CAAC;gBACD,OAAO,kBAAkB,CAAC,OAAO,EAAE,IAAI,CAAC,KAAK,CAAC,CAAC;YACjD,CAAC;YAED,8BAA8B;YAC9B,OAAO,EAAE,WAAW,EAAE,IAAI,EAAE,CAAC;QAC/B,CAAC;QAED,SAAS,cAAc,CAAC,IAAa;YACnC,MAAM,IAAI,GAAG,OAAO,CAAC,iBAAiB,CAAC,IAAI,CAAC,CAAC;YAC7C,KAAK,MAAM,EAAE,IAAI,OAAO;iBACrB,cAAc,CAAC,IAAI,CAAC;iBACpB,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,OAAO,CAAC,eAAe,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC;gBACxC,IAAI,OAAO,CAAC,WAAW,CAAC,EAAE,CAAC,EAAE,CAAC;oBAC5B,MAAM,SAAS,GAAG,OAAO,CAAC,gBAAgB,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC,CAAC;oBAClD,IAAI,aAAa,CAAC,IAAI,EAAE,SAAS,CAAC,EAAE,CAAC;wBACnC,OAAO,IAAI,CAAC;oBACd,CAAC;gBACH,CAAC;gBAED,IAAI,OAAO,CAAC,WAAW,CAAC,EAAE,CAAC,EAAE,CAAC;oBAC5B,KAAK,MAAM,gBAAgB,IAAI,OAAO,CAAC,gBAAgB,CAAC,EAAE,CAAC,EAAE,CAAC;wBAC5D,IAAI,aAAa,CAAC,IAAI,EAAE,gBAAgB,CAAC,EAAE,CAAC;4BAC1C,OAAO,IAAI,CAAC;wBACd,CAAC;oBACH,CAAC;gBACH,CAAC;YACH,CAAC;YACD,OAAO,KAAK,CAAC;QACf,CAAC;QAED,SAAS,aAAa,CAAC,IAAa,EAAE,IAAc;YAClD,IAAI,KAAK,OAAO,CAAC,iBAAiB,CAAC,IAAI,CAAC,CAAC;YAEzC,wDAAwD;YACxD,IACE,IAAA,+BAAwB,EACtB,IAAI,EACJ,yBAAyB,EACzB,QAAQ,CAAC,OAAO,CACjB,EACD,CAAC;gBACD,OAAO,KAAK,CAAC;YACf,CAAC;YAED,2EAA2E;YAC3E,MAAM,SAAS,GAAG,OAAO,CAAC,cAAc,CAAC,OAAO,CAAC,eAAe,CAAC,IAAI,CAAC,CAAC,CAAC;YACxE,IACE,SAAS,CAAC,IAAI,CAAC,QAAQ,CAAC,EAAE,CACxB,IAAA,0BAAmB,EAAC,QAAQ,CAAC,OAAO,EAAE,QAAQ,EAAE,SAAS,CAAC,CAC3D,EACD,CAAC;gBACD,OAAO,IAAI,CAAC;YACd,CAAC;YAED,wDAAwD;YACxD,IAAI,CAAC,cAAc,EAAE,CAAC;gBACpB,OAAO,KAAK,CAAC;YACf,CAAC;YAED,6EAA6E;YAC7E,0EAA0E;YAC1E,EAAE;YACF,0GAA0G;YAC1G,KAAK,MAAM,EAAE,IAAI,SAAS,EAAE,CAAC;gBAC3B,MAAM,IAAI,GAAG,EAAE,CAAC,WAAW,CAAC,MAAM,CAAC,CAAC;gBACpC,IAAI,IAAI,KAAK,SAAS,EAAE,CAAC;oBACvB,SAAS;gBACX,CAAC;gBAED,MAAM,QAAQ,GAAG,OAAO,CAAC,yBAAyB,CAAC,IAAI,EAAE,IAAI,CAAC,CAAC;gBAC/D,IACE,oBAAoB,CAClB,QAAQ,EACR,SAAS,CAAC,EAAE,CACV,SAAS,CAAC,UAAU,CAAC,MAAM,IAAI,CAAC;oBAChC,eAAe,CAAC,OAAO,EAAE,SAAS,CAAC,UAAU,CAAC,CAAC,CAAC,EAAE,IAAI,CAAC;oBACvD,eAAe,CAAC,OAAO,EAAE,SAAS,CAAC,UAAU,CAAC,CAAC,CAAC,EAAE,IAAI,CAAC,CAC1D,EACD,CAAC;oBACD,OAAO,IAAI,CAAC;gBACd,CAAC;YACH,CAAC;YACD,OAAO,KAAK,CAAC;QACf,CAAC;IACH,CAAC;CACF,CAAC,CAAC;AAEH,SAAS,oBAAoB,CAC3B,IAAa,EACb,OAA6C;IAE7C,KAAK,MAAM,CAAC,IAAI,OAAO,CAAC,cAAc,CAAC,IAAI,CAAC,EAAE,CAAC;QAC7C,IAAI,CAAC,CAAC,iBAAiB,EAAE,CAAC,IAAI,CAAC,OAAO,CAAC,EAAE,CAAC;YACxC,OAAO,IAAI,CAAC;QACd,CAAC;IACH,CAAC;IAED,OAAO,KAAK,CAAC;AACf,CAAC;AAED,SAAS,eAAe,CACtB,OAAuB,EACvB,KAAgB,EAChB,IAAa;IAEb,MAAM,IAAI,GAAwB,OAAO,CAAC,eAAe,CACvD,OAAO,CAAC,yBAAyB,CAAC,KAAK,EAAE,IAAI,CAAC,CAC/C,CAAC;IACF,KAAK,MAAM,CAAC,IAAI,OAAO,CAAC,cAAc,CAAC,IAAI,CAAC,EAAE,CAAC;QAC7C,IAAI,CAAC,CAAC,iBAAiB,EAAE,CAAC,MAAM,KAAK,CAAC,EAAE,CAAC;YACvC,OAAO,IAAI,CAAC;QACd,CAAC;IACH,CAAC;IACD,OAAO,KAAK,CAAC;AACf,CAAC"} \ No newline at end of file +{"version":3,"file":"no-floating-promises.js","sourceRoot":"","sources":["../../src/rules/no-floating-promises.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEA,oDAA0D;AAC1D,sDAAwC;AACxC,+CAAiC;AAIjC,kCAUiB;AAsBjB,MAAM,WAAW,GACf,4GAA4G,CAAC;AAE/G,MAAM,eAAe,GACnB,wGAAwG;IACxG,+DAA+D,CAAC;AAElE,MAAM,uBAAuB,GAC3B,6DAA6D,CAAC;AAEhE,MAAM,mBAAmB,GACvB,kIAAkI,CAAC;AAErI,MAAM,uBAAuB,GAC3B,kIAAkI;IAClI,4EAA4E,CAAC;AAE/E,kBAAe,IAAA,iBAAU,EAAqB;IAC5C,IAAI,EAAE,sBAAsB;IAC5B,IAAI,EAAE;QACJ,IAAI,EAAE,SAAS;QACf,IAAI,EAAE;YACJ,WAAW,EACT,6DAA6D;YAC/D,WAAW,EAAE,aAAa;YAC1B,oBAAoB,EAAE,IAAI;SAC3B;QACD,cAAc,EAAE,IAAI;QACpB,QAAQ,EAAE;YACR,QAAQ,EAAE,WAAW;YACrB,gBAAgB,EAAE,qBAAqB;YACvC,eAAe,EAAE,8BAA8B;YAC/C,oBAAoB,EAAE,mBAAmB;YACzC,wBAAwB,EAAE,uBAAuB;YACjD,+BAA+B,EAAE,GAAG,WAAW,IAAI,uBAAuB,EAAE;YAC5E,mCAAmC,EAAE,GAAG,eAAe,IAAI,uBAAuB,EAAE;YACpF,YAAY,EAAE,eAAe;SAC9B;QACD,MAAM,EAAE;YACN;gBACE,IAAI,EAAE,QAAQ;gBACd,oBAAoB,EAAE,KAAK;gBAC3B,UAAU,EAAE;oBACV,sBAAsB,EAAE;wBACtB,GAAG,gCAAyB,CAAC,UAAU,CAAC,KAAK;wBAC7C,WAAW,EACT,6DAA6D;qBAChE;oBACD,yBAAyB,EAAE;wBACzB,GAAG,gCAAyB,CAAC,UAAU,CAAC,KAAK;wBAC7C,WAAW,EAAE,qDAAqD;qBACnE;oBACD,cAAc,EAAE;wBACd,IAAI,EAAE,SAAS;wBACf,WAAW,EACT,uEAAuE;qBAC1E;oBACD,UAAU,EAAE;wBACV,IAAI,EAAE,SAAS;wBACf,WAAW,EACT,2EAA2E;qBAC9E;oBACD,UAAU,EAAE;wBACV,IAAI,EAAE,SAAS;wBACf,WAAW,EAAE,uCAAuC;qBACrD;iBACF;aACF;SACF;KACF;IACD,cAAc,EAAE;QACd;YACE,sBAAsB,EAAE,kCAA2B,CAAC,KAAK;YACzD,yBAAyB,EAAE,kCAA2B,CAAC,KAAK;YAC5D,cAAc,EAAE,KAAK;YACrB,UAAU,EAAE,KAAK;YACjB,UAAU,EAAE,IAAI;SACjB;KACF;IAED,MAAM,CAAC,OAAO,EAAE,CAAC,OAAO,CAAC;QACvB,MAAM,QAAQ,GAAG,IAAA,wBAAiB,EAAC,OAAO,CAAC,CAAC;QAC5C,MAAM,OAAO,GAAG,QAAQ,CAAC,OAAO,CAAC,cAAc,EAAE,CAAC;QAClD,MAAM,EAAE,cAAc,EAAE,GAAG,OAAO,CAAC;QAEnC,cAAc;QACd,6DAA6D;QAC7D,MAAM,yBAAyB,GAAG,OAAO,CAAC,yBAA0B,CAAC;QACrE,MAAM,sBAAsB,GAAG,OAAO,CAAC,sBAAuB,CAAC;QAC/D,4DAA4D;QAE5D,OAAO;YACL,mBAAmB,CAAC,IAAI;gBACtB,IAAI,OAAO,CAAC,UAAU,IAAI,WAAW,CAAC,IAAI,CAAC,EAAE,CAAC;oBAC5C,OAAO;gBACT,CAAC;gBAED,IAAI,UAAU,GAAG,IAAI,CAAC,UAAU,CAAC;gBAEjC,IAAI,UAAU,CAAC,IAAI,KAAK,sBAAc,CAAC,eAAe,EAAE,CAAC;oBACvD,UAAU,GAAG,UAAU,CAAC,UAAU,CAAC;gBACrC,CAAC;gBAED,IAAI,wBAAwB,CAAC,UAAU,CAAC,EAAE,CAAC;oBACzC,OAAO;gBACT,CAAC;gBAED,MAAM,EAAE,WAAW,EAAE,kBAAkB,EAAE,YAAY,EAAE,GACrD,kBAAkB,CAAC,OAAO,EAAE,UAAU,CAAC,CAAC;gBAE1C,IAAI,WAAW,EAAE,CAAC;oBAChB,IAAI,YAAY,EAAE,CAAC;wBACjB,OAAO,CAAC,MAAM,CAAC;4BACb,IAAI;4BACJ,SAAS,EAAE,OAAO,CAAC,UAAU;gCAC3B,CAAC,CAAC,0BAA0B;gCAC5B,CAAC,CAAC,sBAAsB;yBAC3B,CAAC,CAAC;oBACL,CAAC;yBAAM,IAAI,OAAO,CAAC,UAAU,EAAE,CAAC;wBAC9B,OAAO,CAAC,MAAM,CAAC;4BACb,IAAI;4BACJ,SAAS,EAAE,kBAAkB;gCAC3B,CAAC,CAAC,qCAAqC;gCACvC,CAAC,CAAC,cAAc;4BAClB,OAAO,EAAE;gCACP;oCACE,SAAS,EAAE,iBAAiB;oCAC5B,GAAG,CAAC,KAAK;wCACP,MAAM,MAAM,GAAG,QAAQ,CAAC,qBAAqB,CAAC,GAAG,CAC/C,IAAI,CAAC,UAAU,CAChB,CAAC;wCACF,IAAI,2BAA2B,CAAC,MAAM,CAAC,EAAE,CAAC;4CACxC,OAAO,KAAK,CAAC,gBAAgB,CAAC,IAAI,EAAE,OAAO,CAAC,CAAC;wCAC/C,CAAC;wCACD,OAAO;4CACL,KAAK,CAAC,gBAAgB,CAAC,IAAI,EAAE,QAAQ,CAAC;4CACtC,KAAK,CAAC,oBAAoB,CACxB,CAAC,UAAU,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,UAAU,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EAC1C,GAAG,CACJ;yCACF,CAAC;oCACJ,CAAC;iCACF;gCACD;oCACE,SAAS,EAAE,kBAAkB;oCAC7B,GAAG,EAAE,CAAC,KAAK,EAAyC,EAAE,CACpD,QAAQ,CAAC,KAAK,EAAE,UAAU,EAAE,IAAI,CAAC;iCACpC;6BACF;yBACF,CAAC,CAAC;oBACL,CAAC;yBAAM,CAAC;wBACN,OAAO,CAAC,MAAM,CAAC;4BACb,IAAI;4BACJ,SAAS,EAAE,kBAAkB;gCAC3B,CAAC,CAAC,iCAAiC;gCACnC,CAAC,CAAC,UAAU;4BACd,OAAO,EAAE;gCACP;oCACE,SAAS,EAAE,kBAAkB;oCAC7B,GAAG,EAAE,CAAC,KAAK,EAAyC,EAAE,CACpD,QAAQ,CAAC,KAAK,EAAE,UAAU,EAAE,IAAI,CAAC;iCACpC;6BACF;yBACF,CAAC,CAAC;oBACL,CAAC;gBACH,CAAC;YACH,CAAC;SACF,CAAC;QAEF,SAAS,QAAQ,CACf,KAAyB,EACzB,UAA+B,EAC/B,IAAkC;YAElC,IACE,UAAU,CAAC,IAAI,KAAK,sBAAc,CAAC,eAAe;gBAClD,UAAU,CAAC,QAAQ,KAAK,MAAM,EAC9B,CAAC;gBACD,OAAO,KAAK,CAAC,gBAAgB,CAC3B,CAAC,UAAU,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,UAAU,CAAC,KAAK,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,EAC9C,OAAO,CACR,CAAC;YACJ,CAAC;YACD,MAAM,MAAM,GAAG,QAAQ,CAAC,qBAAqB,CAAC,GAAG,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC;YACnE,IAAI,2BAA2B,CAAC,MAAM,CAAC,EAAE,CAAC;gBACxC,OAAO,KAAK,CAAC,gBAAgB,CAAC,IAAI,EAAE,QAAQ,CAAC,CAAC;YAChD,CAAC;YACD,OAAO;gBACL,KAAK,CAAC,gBAAgB,CAAC,IAAI,EAAE,SAAS,CAAC;gBACvC,KAAK,CAAC,oBAAoB,CACxB,CAAC,UAAU,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,UAAU,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EAC1C,GAAG,CACJ;aACF,CAAC;QACJ,CAAC;QAED,SAAS,wBAAwB,CAAC,IAAmB;YACnD,IAAI,IAAI,CAAC,IAAI,KAAK,sBAAc,CAAC,cAAc,EAAE,CAAC;gBAChD,OAAO,KAAK,CAAC;YACf,CAAC;YAED,MAAM,IAAI,GAAG,QAAQ,CAAC,iBAAiB,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC;YAErD,OAAO,IAAA,+BAAwB,EAC7B,IAAI,EACJ,sBAAsB,EACtB,QAAQ,CAAC,OAAO,CACjB,CAAC;QACJ,CAAC;QAED,SAAS,2BAA2B,CAAC,IAAa;YAChD,MAAM,QAAQ,GAAG,EAAE,CAAC,kBAAkB,CAAC,IAAI,CAAC;gBAC1C,CAAC,CAAC,IAAI,CAAC,aAAa,CAAC,IAAI;gBACzB,CAAC,CAAC,EAAE,CAAC,UAAU,CAAC,OAAO,CAAC;YAC1B,MAAM,cAAc,GAAG,IAAA,4BAAqB,EAAC,IAAI,CAAC,IAAI,EAAE,QAAQ,CAAC,CAAC;YAClE,OAAO,cAAc,GAAG,yBAAkB,CAAC,KAAK,CAAC;QACnD,CAAC;QAED,SAAS,WAAW,CAAC,IAAkC;YACrD,IAAI,IAAI,CAAC,UAAU,CAAC,IAAI,KAAK,sBAAc,CAAC,cAAc,EAAE,CAAC;gBAC3D,OAAO,KAAK,CAAC;YACf,CAAC;YAED,OAAO,CACL,IAAI,CAAC,UAAU,CAAC,MAAM,CAAC,IAAI;gBACzB,sBAAc,CAAC,uBAAuB;gBACxC,IAAI,CAAC,UAAU,CAAC,MAAM,CAAC,IAAI,KAAK,sBAAc,CAAC,kBAAkB,CAClE,CAAC;QACJ,CAAC;QAED,SAAS,uBAAuB,CAAC,gBAA+B;YAC9D,OAAO,CACL,QAAQ,CAAC,OAAO;iBACb,cAAc,EAAE;iBAChB,iBAAiB,CAChB,QAAQ,CAAC,qBAAqB,CAAC,GAAG,CAAC,gBAAgB,CAAC,CACrD;iBACA,iBAAiB,EAAE,CAAC,MAAM,GAAG,CAAC,CAClC,CAAC;QACJ,CAAC;QAED,SAAS,kBAAkB,CACzB,OAAuB,EACvB,IAAmB;YAMnB,IAAI,IAAI,CAAC,IAAI,KAAK,sBAAc,CAAC,oBAAoB,EAAE,CAAC;gBACtD,OAAO,EAAE,WAAW,EAAE,KAAK,EAAE,CAAC;YAChC,CAAC;YAED,yEAAyE;YACzE,IAAI,IAAI,CAAC,IAAI,KAAK,sBAAc,CAAC,kBAAkB,EAAE,CAAC;gBACpD,uEAAuE;gBACvE,yEAAyE;gBACzE,yBAAyB;gBACzB,OAAO,CACL,IAAI,CAAC,WAAW;qBACb,GAAG,CAAC,IAAI,CAAC,EAAE,CAAC,kBAAkB,CAAC,OAAO,EAAE,IAAI,CAAC,CAAC;qBAC9C,IAAI,CAAC,MAAM,CAAC,EAAE,CAAC,MAAM,CAAC,WAAW,CAAC,IAAI,EAAE,WAAW,EAAE,KAAK,EAAE,CAChE,CAAC;YACJ,CAAC;YAED,IACE,CAAC,OAAO,CAAC,UAAU;gBACnB,IAAI,CAAC,IAAI,KAAK,sBAAc,CAAC,eAAe;gBAC5C,IAAI,CAAC,QAAQ,KAAK,MAAM,EACxB,CAAC;gBACD,yEAAyE;gBACzE,4EAA4E;gBAC5E,OAAO,kBAAkB,CAAC,OAAO,EAAE,IAAI,CAAC,QAAQ,CAAC,CAAC;YACpD,CAAC;YAED,MAAM,MAAM,GAAG,QAAQ,CAAC,qBAAqB,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC;YAExD,4EAA4E;YAC5E,oBAAoB;YAEpB,IAAI,cAAc,CAAC,MAAM,CAAC,EAAE,CAAC;gBAC3B,OAAO,EAAE,WAAW,EAAE,IAAI,EAAE,YAAY,EAAE,IAAI,EAAE,CAAC;YACnD,CAAC;YAED,+DAA+D;YAC/D,IAAI,IAAI,CAAC,IAAI,KAAK,sBAAc,CAAC,eAAe,EAAE,CAAC;gBACjD,mEAAmE;gBACnE,oEAAoE;gBACpE,sEAAsE;gBACtE,qDAAqD;gBACrD,OAAO,EAAE,WAAW,EAAE,KAAK,EAAE,CAAC;YAChC,CAAC;YAED,IAAI,CAAC,aAAa,CAAC,MAAM,CAAC,EAAE,CAAC;gBAC3B,OAAO,EAAE,WAAW,EAAE,KAAK,EAAE,CAAC;YAChC,CAAC;YAED,IAAI,IAAI,CAAC,IAAI,KAAK,sBAAc,CAAC,cAAc,EAAE,CAAC;gBAChD,oEAAoE;gBACpE,yCAAyC;gBAEzC,MAAM,EAAE,MAAM,EAAE,GAAG,IAAI,CAAC;gBACxB,IAAI,MAAM,CAAC,IAAI,KAAK,sBAAc,CAAC,gBAAgB,EAAE,CAAC;oBACpD,MAAM,UAAU,GAAG,IAAA,iCAA0B,EAAC,MAAM,EAAE,OAAO,CAAC,CAAC;oBAC/D,MAAM,qBAAqB,GACzB,UAAU,KAAK,OAAO,IAAI,IAAI,CAAC,SAAS,CAAC,MAAM,IAAI,CAAC;wBAClD,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC;wBACnB,CAAC,CAAC,SAAS,CAAC;oBAChB,IAAI,qBAAqB,EAAE,CAAC;wBAC1B,IAAI,uBAAuB,CAAC,qBAAqB,CAAC,EAAE,CAAC;4BACnD,OAAO,EAAE,WAAW,EAAE,KAAK,EAAE,CAAC;wBAChC,CAAC;wBACD,OAAO,EAAE,WAAW,EAAE,IAAI,EAAE,kBAAkB,EAAE,IAAI,EAAE,CAAC;oBACzD,CAAC;oBAED,MAAM,oBAAoB,GACxB,UAAU,KAAK,MAAM,IAAI,IAAI,CAAC,SAAS,CAAC,MAAM,IAAI,CAAC;wBACjD,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC;wBACnB,CAAC,CAAC,SAAS,CAAC;oBAChB,IAAI,oBAAoB,EAAE,CAAC;wBACzB,IAAI,uBAAuB,CAAC,oBAAoB,CAAC,EAAE,CAAC;4BAClD,OAAO,EAAE,WAAW,EAAE,KAAK,EAAE,CAAC;wBAChC,CAAC;wBACD,OAAO,EAAE,WAAW,EAAE,IAAI,EAAE,kBAAkB,EAAE,IAAI,EAAE,CAAC;oBACzD,CAAC;oBAED,2EAA2E;oBAC3E,yDAAyD;oBACzD,MAAM,oBAAoB,GACxB,UAAU,KAAK,SAAS,CAAC,CAAC,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC,CAAC,SAAS,CAAC;oBACvD,IAAI,oBAAoB,EAAE,CAAC;wBACzB,OAAO,kBAAkB,CAAC,OAAO,EAAE,oBAAoB,CAAC,CAAC;oBAC3D,CAAC;gBACH,CAAC;gBAED,iCAAiC;gBACjC,OAAO,EAAE,WAAW,EAAE,IAAI,EAAE,CAAC;YAC/B,CAAC;YAED,IAAI,IAAI,CAAC,IAAI,KAAK,sBAAc,CAAC,qBAAqB,EAAE,CAAC;gBACvD,4EAA4E;gBAC5E,gCAAgC;gBAChC,MAAM,eAAe,GAAG,kBAAkB,CAAC,OAAO,EAAE,IAAI,CAAC,SAAS,CAAC,CAAC;gBACpE,IAAI,eAAe,CAAC,WAAW,EAAE,CAAC;oBAChC,OAAO,eAAe,CAAC;gBACzB,CAAC;gBACD,OAAO,kBAAkB,CAAC,OAAO,EAAE,IAAI,CAAC,UAAU,CAAC,CAAC;YACtD,CAAC;YAED,IAAI,IAAI,CAAC,IAAI,KAAK,sBAAc,CAAC,iBAAiB,EAAE,CAAC;gBACnD,MAAM,UAAU,GAAG,kBAAkB,CAAC,OAAO,EAAE,IAAI,CAAC,IAAI,CAAC,CAAC;gBAC1D,IAAI,UAAU,CAAC,WAAW,EAAE,CAAC;oBAC3B,OAAO,UAAU,CAAC;gBACpB,CAAC;gBACD,OAAO,kBAAkB,CAAC,OAAO,EAAE,IAAI,CAAC,KAAK,CAAC,CAAC;YACjD,CAAC;YAED,8BAA8B;YAC9B,OAAO,EAAE,WAAW,EAAE,IAAI,EAAE,CAAC;QAC/B,CAAC;QAED,SAAS,cAAc,CAAC,IAAa;YACnC,MAAM,IAAI,GAAG,OAAO,CAAC,iBAAiB,CAAC,IAAI,CAAC,CAAC;YAC7C,KAAK,MAAM,EAAE,IAAI,OAAO;iBACrB,cAAc,CAAC,IAAI,CAAC;iBACpB,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,OAAO,CAAC,eAAe,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC;gBACxC,IAAI,OAAO,CAAC,WAAW,CAAC,EAAE,CAAC,EAAE,CAAC;oBAC5B,MAAM,SAAS,GAAG,OAAO,CAAC,gBAAgB,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC,CAAC;oBAClD,IAAI,aAAa,CAAC,IAAI,EAAE,SAAS,CAAC,EAAE,CAAC;wBACnC,OAAO,IAAI,CAAC;oBACd,CAAC;gBACH,CAAC;gBAED,IAAI,OAAO,CAAC,WAAW,CAAC,EAAE,CAAC,EAAE,CAAC;oBAC5B,KAAK,MAAM,gBAAgB,IAAI,OAAO,CAAC,gBAAgB,CAAC,EAAE,CAAC,EAAE,CAAC;wBAC5D,IAAI,aAAa,CAAC,IAAI,EAAE,gBAAgB,CAAC,EAAE,CAAC;4BAC1C,OAAO,IAAI,CAAC;wBACd,CAAC;oBACH,CAAC;gBACH,CAAC;YACH,CAAC;YACD,OAAO,KAAK,CAAC;QACf,CAAC;QAED,SAAS,aAAa,CAAC,IAAa,EAAE,IAAc;YAClD,IAAI,KAAK,OAAO,CAAC,iBAAiB,CAAC,IAAI,CAAC,CAAC;YAEzC,wDAAwD;YACxD,IACE,IAAA,+BAAwB,EACtB,IAAI,EACJ,yBAAyB,EACzB,QAAQ,CAAC,OAAO,CACjB,EACD,CAAC;gBACD,OAAO,KAAK,CAAC;YACf,CAAC;YAED,2EAA2E;YAC3E,MAAM,SAAS,GAAG,OAAO,CAAC,cAAc,CAAC,OAAO,CAAC,eAAe,CAAC,IAAI,CAAC,CAAC,CAAC;YACxE,IACE,SAAS,CAAC,IAAI,CAAC,QAAQ,CAAC,EAAE,CACxB,IAAA,0BAAmB,EAAC,QAAQ,CAAC,OAAO,EAAE,QAAQ,EAAE,SAAS,CAAC,CAC3D,EACD,CAAC;gBACD,OAAO,IAAI,CAAC;YACd,CAAC;YAED,wDAAwD;YACxD,IAAI,CAAC,cAAc,EAAE,CAAC;gBACpB,OAAO,KAAK,CAAC;YACf,CAAC;YAED,6EAA6E;YAC7E,0EAA0E;YAC1E,EAAE;YACF,0GAA0G;YAC1G,KAAK,MAAM,EAAE,IAAI,SAAS,EAAE,CAAC;gBAC3B,MAAM,IAAI,GAAG,EAAE,CAAC,WAAW,CAAC,MAAM,CAAC,CAAC;gBACpC,IAAI,IAAI,KAAK,SAAS,EAAE,CAAC;oBACvB,SAAS;gBACX,CAAC;gBAED,MAAM,QAAQ,GAAG,OAAO,CAAC,yBAAyB,CAAC,IAAI,EAAE,IAAI,CAAC,CAAC;gBAC/D,IACE,oBAAoB,CAClB,QAAQ,EACR,SAAS,CAAC,EAAE,CACV,SAAS,CAAC,UAAU,CAAC,MAAM,IAAI,CAAC;oBAChC,eAAe,CAAC,OAAO,EAAE,SAAS,CAAC,UAAU,CAAC,CAAC,CAAC,EAAE,IAAI,CAAC;oBACvD,eAAe,CAAC,OAAO,EAAE,SAAS,CAAC,UAAU,CAAC,CAAC,CAAC,EAAE,IAAI,CAAC,CAC1D,EACD,CAAC;oBACD,OAAO,IAAI,CAAC;gBACd,CAAC;YACH,CAAC;YACD,OAAO,KAAK,CAAC;QACf,CAAC;IACH,CAAC;CACF,CAAC,CAAC;AAEH,SAAS,oBAAoB,CAC3B,IAAa,EACb,OAA6C;IAE7C,KAAK,MAAM,CAAC,IAAI,OAAO,CAAC,cAAc,CAAC,IAAI,CAAC,EAAE,CAAC;QAC7C,IAAI,CAAC,CAAC,iBAAiB,EAAE,CAAC,IAAI,CAAC,OAAO,CAAC,EAAE,CAAC;YACxC,OAAO,IAAI,CAAC;QACd,CAAC;IACH,CAAC;IAED,OAAO,KAAK,CAAC;AACf,CAAC;AAED,SAAS,eAAe,CACtB,OAAuB,EACvB,KAAgB,EAChB,IAAa;IAEb,MAAM,IAAI,GAAwB,OAAO,CAAC,eAAe,CACvD,OAAO,CAAC,yBAAyB,CAAC,KAAK,EAAE,IAAI,CAAC,CAC/C,CAAC;IACF,KAAK,MAAM,CAAC,IAAI,OAAO,CAAC,cAAc,CAAC,IAAI,CAAC,EAAE,CAAC;QAC7C,IAAI,CAAC,CAAC,iBAAiB,EAAE,CAAC,MAAM,KAAK,CAAC,EAAE,CAAC;YACvC,OAAO,IAAI,CAAC;QACd,CAAC;IACH,CAAC;IACD,OAAO,KAAK,CAAC;AACf,CAAC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-for-in-array.js b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-for-in-array.js index e4d5fd274c..d4c48260c3 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-for-in-array.js +++ b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-for-in-array.js @@ -15,13 +15,23 @@ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? ( }) : function(o, v) { o["default"] = v; }); -var __importStar = (this && this.__importStar) || function (mod) { - if (mod && mod.__esModule) return mod; - var result = {}; - if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k); - __setModuleDefault(result, mod); - return result; -}; +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); Object.defineProperty(exports, "__esModule", { value: true }); const ts = __importStar(require("typescript")); const util_1 = require("../util"); diff --git a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-for-in-array.js.map b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-for-in-array.js.map index 5f9bf7fad7..963a101b16 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-for-in-array.js.map +++ b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-for-in-array.js.map @@ -1 +1 @@ -{"version":3,"file":"no-for-in-array.js","sourceRoot":"","sources":["../../src/rules/no-for-in-array.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AAAA,+CAAiC;AAEjC,kCAKiB;AACjB,2EAAwE;AAExE,kBAAe,IAAA,iBAAU,EAAC;IACxB,IAAI,EAAE,iBAAiB;IACvB,IAAI,EAAE;QACJ,IAAI,EAAE,SAAS;QACf,IAAI,EAAE;YACJ,WAAW,EAAE,qDAAqD;YAClE,WAAW,EAAE,aAAa;YAC1B,oBAAoB,EAAE,IAAI;SAC3B;QACD,QAAQ,EAAE;YACR,cAAc,EACZ,iNAAiN;SACpN;QACD,MAAM,EAAE,EAAE;KACX;IACD,cAAc,EAAE,EAAE;IAClB,MAAM,CAAC,OAAO;QACZ,OAAO;YACL,cAAc,CAAC,IAAI;gBACjB,MAAM,QAAQ,GAAG,IAAA,wBAAiB,EAAC,OAAO,CAAC,CAAC;gBAC5C,MAAM,OAAO,GAAG,QAAQ,CAAC,OAAO,CAAC,cAAc,EAAE,CAAC;gBAElD,MAAM,IAAI,GAAG,IAAA,mCAA4B,EAAC,QAAQ,EAAE,IAAI,CAAC,KAAK,CAAC,CAAC;gBAEhE,IACE,IAAA,yCAAkC,EAAC,IAAI,EAAE,OAAO,CAAC;oBACjD,CAAC,IAAI,CAAC,KAAK,GAAG,EAAE,CAAC,SAAS,CAAC,UAAU,CAAC,KAAK,CAAC,EAC5C,CAAC;oBACD,OAAO,CAAC,MAAM,CAAC;wBACb,GAAG,EAAE,IAAA,+CAAsB,EAAC,OAAO,CAAC,UAAU,EAAE,IAAI,CAAC;wBACrD,SAAS,EAAE,gBAAgB;qBAC5B,CAAC,CAAC;gBACL,CAAC;YACH,CAAC;SACF,CAAC;IACJ,CAAC;CACF,CAAC,CAAC"} \ No newline at end of file +{"version":3,"file":"no-for-in-array.js","sourceRoot":"","sources":["../../src/rules/no-for-in-array.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,+CAAiC;AAEjC,kCAKiB;AACjB,2EAAwE;AAExE,kBAAe,IAAA,iBAAU,EAAC;IACxB,IAAI,EAAE,iBAAiB;IACvB,IAAI,EAAE;QACJ,IAAI,EAAE,SAAS;QACf,IAAI,EAAE;YACJ,WAAW,EAAE,qDAAqD;YAClE,WAAW,EAAE,aAAa;YAC1B,oBAAoB,EAAE,IAAI;SAC3B;QACD,QAAQ,EAAE;YACR,cAAc,EACZ,iNAAiN;SACpN;QACD,MAAM,EAAE,EAAE;KACX;IACD,cAAc,EAAE,EAAE;IAClB,MAAM,CAAC,OAAO;QACZ,OAAO;YACL,cAAc,CAAC,IAAI;gBACjB,MAAM,QAAQ,GAAG,IAAA,wBAAiB,EAAC,OAAO,CAAC,CAAC;gBAC5C,MAAM,OAAO,GAAG,QAAQ,CAAC,OAAO,CAAC,cAAc,EAAE,CAAC;gBAElD,MAAM,IAAI,GAAG,IAAA,mCAA4B,EAAC,QAAQ,EAAE,IAAI,CAAC,KAAK,CAAC,CAAC;gBAEhE,IACE,IAAA,yCAAkC,EAAC,IAAI,EAAE,OAAO,CAAC;oBACjD,CAAC,IAAI,CAAC,KAAK,GAAG,EAAE,CAAC,SAAS,CAAC,UAAU,CAAC,KAAK,CAAC,EAC5C,CAAC;oBACD,OAAO,CAAC,MAAM,CAAC;wBACb,GAAG,EAAE,IAAA,+CAAsB,EAAC,OAAO,CAAC,UAAU,EAAE,IAAI,CAAC;wBACrD,SAAS,EAAE,gBAAgB;qBAC5B,CAAC,CAAC;gBACL,CAAC;YACH,CAAC;SACF,CAAC;IACJ,CAAC;CACF,CAAC,CAAC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-implied-eval.js b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-implied-eval.js index 48e6b4c756..da016efa12 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-implied-eval.js +++ b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-implied-eval.js @@ -15,13 +15,23 @@ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? ( }) : function(o, v) { o["default"] = v; }); -var __importStar = (this && this.__importStar) || function (mod) { - if (mod && mod.__esModule) return mod; - var result = {}; - if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k); - __setModuleDefault(result, mod); - return result; -}; +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); Object.defineProperty(exports, "__esModule", { value: true }); const utils_1 = require("@typescript-eslint/utils"); const tsutils = __importStar(require("ts-api-utils")); diff --git a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-implied-eval.js.map b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-implied-eval.js.map index afe4d6b155..1362432c53 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-implied-eval.js.map +++ b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-implied-eval.js.map @@ -1 +1 @@ -{"version":3,"file":"no-implied-eval.js","sourceRoot":"","sources":["../../src/rules/no-implied-eval.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AAEA,oDAA0D;AAC1D,sDAAwC;AACxC,+CAAiC;AAEjC,kCAKiB;AAEjB,MAAM,oBAAoB,GAAG,UAAU,CAAC;AACxC,MAAM,iBAAiB,GAAG,IAAI,GAAG,CAAC,CAAC,QAAQ,EAAE,YAAY,EAAE,QAAQ,CAAC,CAAC,CAAC;AACtE,MAAM,iBAAiB,GAAG,IAAI,GAAG,CAAC;IAChC,YAAY;IACZ,cAAc;IACd,aAAa;IACb,YAAY;CACb,CAAC,CAAC;AAEH,kBAAe,IAAA,iBAAU,EAAC;IACxB,IAAI,EAAE,iBAAiB;IACvB,IAAI,EAAE;QACJ,IAAI,EAAE,YAAY;QAClB,IAAI,EAAE;YACJ,WAAW,EAAE,2CAA2C;YACxD,eAAe,EAAE,IAAI;YACrB,WAAW,EAAE,aAAa;YAC1B,oBAAoB,EAAE,IAAI;SAC3B;QACD,QAAQ,EAAE;YACR,qBAAqB,EACnB,wEAAwE;YAC1E,kBAAkB,EAAE,4CAA4C;SACjE;QACD,MAAM,EAAE,EAAE;KACX;IACD,cAAc,EAAE,EAAE;IAClB,MAAM,CAAC,OAAO;QACZ,MAAM,QAAQ,GAAG,IAAA,wBAAiB,EAAC,OAAO,CAAC,CAAC;QAC5C,MAAM,OAAO,GAAG,QAAQ,CAAC,OAAO,CAAC,cAAc,EAAE,CAAC;QAElD,SAAS,aAAa,CAAC,IAAyB;YAC9C,IAAI,IAAI,CAAC,IAAI,KAAK,sBAAc,CAAC,UAAU,EAAE,CAAC;gBAC5C,OAAO,IAAI,CAAC,IAAI,CAAC;YACnB,CAAC;YAED,IACE,IAAI,CAAC,IAAI,KAAK,sBAAc,CAAC,gBAAgB;gBAC7C,IAAI,CAAC,MAAM,CAAC,IAAI,KAAK,sBAAc,CAAC,UAAU;gBAC9C,iBAAiB,CAAC,GAAG,CAAC,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,EACvC,CAAC;gBACD,IAAI,IAAI,CAAC,QAAQ,CAAC,IAAI,KAAK,sBAAc,CAAC,UAAU,EAAE,CAAC;oBACrD,OAAO,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC;gBAC5B,CAAC;gBAED,IACE,IAAI,CAAC,QAAQ,CAAC,IAAI,KAAK,sBAAc,CAAC,OAAO;oBAC7C,OAAO,IAAI,CAAC,QAAQ,CAAC,KAAK,KAAK,QAAQ,EACvC,CAAC;oBACD,OAAO,IAAI,CAAC,QAAQ,CAAC,KAAK,CAAC;gBAC7B,CAAC;YACH,CAAC;YAED,OAAO,IAAI,CAAC;QACd,CAAC;QAED,SAAS,cAAc,CAAC,IAAmB;YACzC,MAAM,IAAI,GAAG,QAAQ,CAAC,iBAAiB,CAAC,IAAI,CAAC,CAAC;YAC9C,MAAM,MAAM,GAAG,IAAI,CAAC,SAAS,EAAE,CAAC;YAEhC,IACE,MAAM;gBACN,OAAO,CAAC,eAAe,CACrB,MAAM,EACN,EAAE,CAAC,WAAW,CAAC,QAAQ,GAAG,EAAE,CAAC,WAAW,CAAC,MAAM,CAChD,EACD,CAAC;gBACD,OAAO,IAAI,CAAC;YACd,CAAC;YAED,IAAI,IAAA,0BAAmB,EAAC,QAAQ,CAAC,OAAO,EAAE,IAAI,EAAE,oBAAoB,CAAC,EAAE,CAAC;gBACtE,OAAO,IAAI,CAAC;YACd,CAAC;YAED,MAAM,UAAU,GAAG,OAAO,CAAC,mBAAmB,CAC5C,IAAI,EACJ,EAAE,CAAC,aAAa,CAAC,IAAI,CACtB,CAAC;YAEF,OAAO,UAAU,CAAC,MAAM,GAAG,CAAC,CAAC;QAC/B,CAAC;QAED,SAAS,MAAM,CAAC,IAAmB;YACjC,OAAO,IAAI,CAAC,IAAI,KAAK,sBAAc,CAAC,gBAAgB;gBAClD,CAAC,CAAC,MAAM,CAAC,IAAI,CAAC,QAAQ,CAAC;gBACvB,CAAC,CAAC,IAAI,CAAC,IAAI,KAAK,sBAAc,CAAC,UAAU,IAAI,IAAI,CAAC,IAAI,KAAK,MAAM,CAAC;QACtE,CAAC;QAED,SAAS,UAAU,CAAC,IAAmB;YACrC,QAAQ,IAAI,CAAC,IAAI,EAAE,CAAC;gBAClB,KAAK,sBAAc,CAAC,uBAAuB,CAAC;gBAC5C,KAAK,sBAAc,CAAC,mBAAmB,CAAC;gBACxC,KAAK,sBAAc,CAAC,kBAAkB;oBACpC,OAAO,IAAI,CAAC;gBAEd,KAAK,sBAAc,CAAC,OAAO,CAAC;gBAC5B,KAAK,sBAAc,CAAC,eAAe;oBACjC,OAAO,KAAK,CAAC;gBAEf,KAAK,sBAAc,CAAC,cAAc;oBAChC,OAAO,MAAM,CAAC,IAAI,CAAC,MAAM,CAAC,IAAI,cAAc,CAAC,IAAI,CAAC,CAAC;gBAErD;oBACE,OAAO,cAAc,CAAC,IAAI,CAAC,CAAC;YAChC,CAAC;QACH,CAAC;QAED,SAAS,gBAAgB,CACvB,IAAsD;YAEtD,MAAM,UAAU,GAAG,aAAa,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC;YAC9C,IAAI,UAAU,IAAI,IAAI,EAAE,CAAC;gBACvB,OAAO;YACT,CAAC;YAED,IAAI,UAAU,KAAK,oBAAoB,EAAE,CAAC;gBACxC,MAAM,IAAI,GAAG,QAAQ,CAAC,iBAAiB,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC;gBACrD,MAAM,MAAM,GAAG,IAAI,CAAC,SAAS,EAAE,CAAC;gBAChC,IAAI,MAAM,EAAE,CAAC;oBACX,IACE,IAAA,0BAAmB,EAAC,QAAQ,CAAC,OAAO,EAAE,IAAI,EAAE,qBAAqB,CAAC,EAClE,CAAC;wBACD,OAAO,CAAC,MAAM,CAAC,EAAE,IAAI,EAAE,SAAS,EAAE,uBAAuB,EAAE,CAAC,CAAC;wBAC7D,OAAO;oBACT,CAAC;gBACH,CAAC;qBAAM,CAAC;oBACN,OAAO,CAAC,MAAM,CAAC,EAAE,IAAI,EAAE,SAAS,EAAE,uBAAuB,EAAE,CAAC,CAAC;oBAC7D,OAAO;gBACT,CAAC;YACH,CAAC;YAED,IAAI,IAAI,CAAC,SAAS,CAAC,MAAM,KAAK,CAAC,EAAE,CAAC;gBAChC,OAAO;YACT,CAAC;YAED,MAAM,CAAC,OAAO,CAAC,GAAG,IAAI,CAAC,SAAS,CAAC;YACjC,IACE,iBAAiB,CAAC,GAAG,CAAC,UAAU,CAAC;gBACjC,CAAC,UAAU,CAAC,OAAO,CAAC;gBACpB,IAAA,kCAA2B,EAAC,UAAU,EAAE,IAAI,EAAE,OAAO,CAAC,UAAU,CAAC,EACjE,CAAC;gBACD,OAAO,CAAC,MAAM,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,SAAS,EAAE,oBAAoB,EAAE,CAAC,CAAC;YACrE,CAAC;QACH,CAAC;QAED,OAAO;YACL,cAAc,EAAE,gBAAgB;YAChC,aAAa,EAAE,gBAAgB;SAChC,CAAC;IACJ,CAAC;CACF,CAAC,CAAC"} \ No newline at end of file +{"version":3,"file":"no-implied-eval.js","sourceRoot":"","sources":["../../src/rules/no-implied-eval.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEA,oDAA0D;AAC1D,sDAAwC;AACxC,+CAAiC;AAEjC,kCAKiB;AAEjB,MAAM,oBAAoB,GAAG,UAAU,CAAC;AACxC,MAAM,iBAAiB,GAAG,IAAI,GAAG,CAAC,CAAC,QAAQ,EAAE,YAAY,EAAE,QAAQ,CAAC,CAAC,CAAC;AACtE,MAAM,iBAAiB,GAAG,IAAI,GAAG,CAAC;IAChC,YAAY;IACZ,cAAc;IACd,aAAa;IACb,YAAY;CACb,CAAC,CAAC;AAEH,kBAAe,IAAA,iBAAU,EAAC;IACxB,IAAI,EAAE,iBAAiB;IACvB,IAAI,EAAE;QACJ,IAAI,EAAE,YAAY;QAClB,IAAI,EAAE;YACJ,WAAW,EAAE,2CAA2C;YACxD,eAAe,EAAE,IAAI;YACrB,WAAW,EAAE,aAAa;YAC1B,oBAAoB,EAAE,IAAI;SAC3B;QACD,QAAQ,EAAE;YACR,qBAAqB,EACnB,wEAAwE;YAC1E,kBAAkB,EAAE,4CAA4C;SACjE;QACD,MAAM,EAAE,EAAE;KACX;IACD,cAAc,EAAE,EAAE;IAClB,MAAM,CAAC,OAAO;QACZ,MAAM,QAAQ,GAAG,IAAA,wBAAiB,EAAC,OAAO,CAAC,CAAC;QAC5C,MAAM,OAAO,GAAG,QAAQ,CAAC,OAAO,CAAC,cAAc,EAAE,CAAC;QAElD,SAAS,aAAa,CAAC,IAAyB;YAC9C,IAAI,IAAI,CAAC,IAAI,KAAK,sBAAc,CAAC,UAAU,EAAE,CAAC;gBAC5C,OAAO,IAAI,CAAC,IAAI,CAAC;YACnB,CAAC;YAED,IACE,IAAI,CAAC,IAAI,KAAK,sBAAc,CAAC,gBAAgB;gBAC7C,IAAI,CAAC,MAAM,CAAC,IAAI,KAAK,sBAAc,CAAC,UAAU;gBAC9C,iBAAiB,CAAC,GAAG,CAAC,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,EACvC,CAAC;gBACD,IAAI,IAAI,CAAC,QAAQ,CAAC,IAAI,KAAK,sBAAc,CAAC,UAAU,EAAE,CAAC;oBACrD,OAAO,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC;gBAC5B,CAAC;gBAED,IACE,IAAI,CAAC,QAAQ,CAAC,IAAI,KAAK,sBAAc,CAAC,OAAO;oBAC7C,OAAO,IAAI,CAAC,QAAQ,CAAC,KAAK,KAAK,QAAQ,EACvC,CAAC;oBACD,OAAO,IAAI,CAAC,QAAQ,CAAC,KAAK,CAAC;gBAC7B,CAAC;YACH,CAAC;YAED,OAAO,IAAI,CAAC;QACd,CAAC;QAED,SAAS,cAAc,CAAC,IAAmB;YACzC,MAAM,IAAI,GAAG,QAAQ,CAAC,iBAAiB,CAAC,IAAI,CAAC,CAAC;YAC9C,MAAM,MAAM,GAAG,IAAI,CAAC,SAAS,EAAE,CAAC;YAEhC,IACE,MAAM;gBACN,OAAO,CAAC,eAAe,CACrB,MAAM,EACN,EAAE,CAAC,WAAW,CAAC,QAAQ,GAAG,EAAE,CAAC,WAAW,CAAC,MAAM,CAChD,EACD,CAAC;gBACD,OAAO,IAAI,CAAC;YACd,CAAC;YAED,IAAI,IAAA,0BAAmB,EAAC,QAAQ,CAAC,OAAO,EAAE,IAAI,EAAE,oBAAoB,CAAC,EAAE,CAAC;gBACtE,OAAO,IAAI,CAAC;YACd,CAAC;YAED,MAAM,UAAU,GAAG,OAAO,CAAC,mBAAmB,CAC5C,IAAI,EACJ,EAAE,CAAC,aAAa,CAAC,IAAI,CACtB,CAAC;YAEF,OAAO,UAAU,CAAC,MAAM,GAAG,CAAC,CAAC;QAC/B,CAAC;QAED,SAAS,MAAM,CAAC,IAAmB;YACjC,OAAO,IAAI,CAAC,IAAI,KAAK,sBAAc,CAAC,gBAAgB;gBAClD,CAAC,CAAC,MAAM,CAAC,IAAI,CAAC,QAAQ,CAAC;gBACvB,CAAC,CAAC,IAAI,CAAC,IAAI,KAAK,sBAAc,CAAC,UAAU,IAAI,IAAI,CAAC,IAAI,KAAK,MAAM,CAAC;QACtE,CAAC;QAED,SAAS,UAAU,CAAC,IAAmB;YACrC,QAAQ,IAAI,CAAC,IAAI,EAAE,CAAC;gBAClB,KAAK,sBAAc,CAAC,uBAAuB,CAAC;gBAC5C,KAAK,sBAAc,CAAC,mBAAmB,CAAC;gBACxC,KAAK,sBAAc,CAAC,kBAAkB;oBACpC,OAAO,IAAI,CAAC;gBAEd,KAAK,sBAAc,CAAC,OAAO,CAAC;gBAC5B,KAAK,sBAAc,CAAC,eAAe;oBACjC,OAAO,KAAK,CAAC;gBAEf,KAAK,sBAAc,CAAC,cAAc;oBAChC,OAAO,MAAM,CAAC,IAAI,CAAC,MAAM,CAAC,IAAI,cAAc,CAAC,IAAI,CAAC,CAAC;gBAErD;oBACE,OAAO,cAAc,CAAC,IAAI,CAAC,CAAC;YAChC,CAAC;QACH,CAAC;QAED,SAAS,gBAAgB,CACvB,IAAsD;YAEtD,MAAM,UAAU,GAAG,aAAa,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC;YAC9C,IAAI,UAAU,IAAI,IAAI,EAAE,CAAC;gBACvB,OAAO;YACT,CAAC;YAED,IAAI,UAAU,KAAK,oBAAoB,EAAE,CAAC;gBACxC,MAAM,IAAI,GAAG,QAAQ,CAAC,iBAAiB,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC;gBACrD,MAAM,MAAM,GAAG,IAAI,CAAC,SAAS,EAAE,CAAC;gBAChC,IAAI,MAAM,EAAE,CAAC;oBACX,IACE,IAAA,0BAAmB,EAAC,QAAQ,CAAC,OAAO,EAAE,IAAI,EAAE,qBAAqB,CAAC,EAClE,CAAC;wBACD,OAAO,CAAC,MAAM,CAAC,EAAE,IAAI,EAAE,SAAS,EAAE,uBAAuB,EAAE,CAAC,CAAC;wBAC7D,OAAO;oBACT,CAAC;gBACH,CAAC;qBAAM,CAAC;oBACN,OAAO,CAAC,MAAM,CAAC,EAAE,IAAI,EAAE,SAAS,EAAE,uBAAuB,EAAE,CAAC,CAAC;oBAC7D,OAAO;gBACT,CAAC;YACH,CAAC;YAED,IAAI,IAAI,CAAC,SAAS,CAAC,MAAM,KAAK,CAAC,EAAE,CAAC;gBAChC,OAAO;YACT,CAAC;YAED,MAAM,CAAC,OAAO,CAAC,GAAG,IAAI,CAAC,SAAS,CAAC;YACjC,IACE,iBAAiB,CAAC,GAAG,CAAC,UAAU,CAAC;gBACjC,CAAC,UAAU,CAAC,OAAO,CAAC;gBACpB,IAAA,kCAA2B,EAAC,UAAU,EAAE,IAAI,EAAE,OAAO,CAAC,UAAU,CAAC,EACjE,CAAC;gBACD,OAAO,CAAC,MAAM,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,SAAS,EAAE,oBAAoB,EAAE,CAAC,CAAC;YACrE,CAAC;QACH,CAAC;QAED,OAAO;YACL,cAAc,EAAE,gBAAgB;YAChC,aAAa,EAAE,gBAAgB;SAChC,CAAC;IACJ,CAAC;CACF,CAAC,CAAC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-magic-numbers.js b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-magic-numbers.js index 2e2c3b0dd4..582ca4101b 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-magic-numbers.js +++ b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-magic-numbers.js @@ -92,7 +92,7 @@ exports.default = (0, util_1.createRule)({ return; } // If the ignore option is *not* set we can report it now - else if (isAllowed === false) { + if (isAllowed === false) { let fullNumberNode = node; let raw = node.raw; if (node.parent.type === utils_1.AST_NODE_TYPES.UnaryExpression && diff --git a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-magic-numbers.js.map b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-magic-numbers.js.map index ae454ab761..d3116c8144 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-magic-numbers.js.map +++ b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-magic-numbers.js.map @@ -1 +1 @@ -{"version":3,"file":"no-magic-numbers.js","sourceRoot":"","sources":["../../src/rules/no-magic-numbers.ts"],"names":[],"mappings":";;AAGA,oDAA0D;AAO1D,kCAAgD;AAChD,iEAA8D;AAE9D,MAAM,QAAQ,GAAG,IAAA,qCAAiB,EAAC,kBAAkB,CAAC,CAAC;AAKvD,iFAAiF;AACjF,MAAM,MAAM,GAAG,IAAA,gBAAS;AACtB,yHAAyH;AACzH,KAAK,CAAC,OAAO,CAAC,QAAQ,CAAC,IAAI,CAAC,MAAM,CAAC;IACjC,CAAC,CAAC,QAAQ,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC;IACzB,CAAC,CAAC,QAAQ,CAAC,IAAI,CAAC,MAAM,EACxB;IACE,UAAU,EAAE;QACV,WAAW,EAAE;YACX,IAAI,EAAE,SAAS;YACf,WAAW,EAAE,uDAAuD;SACrE;QACD,yBAAyB,EAAE;YACzB,IAAI,EAAE,SAAS;YACf,WAAW,EACT,+EAA+E;SAClF;QACD,6BAA6B,EAAE;YAC7B,IAAI,EAAE,SAAS;YACf,WAAW,EAAE,0DAA0D;SACxE;QACD,iBAAiB,EAAE;YACjB,IAAI,EAAE,SAAS;YACf,WAAW,EAAE,+CAA+C;SAC7D;KACF;CACF,CACwB,CAAC;AAE5B,kBAAe,IAAA,iBAAU,EAAsB;IAC7C,IAAI,EAAE,kBAAkB;IACxB,IAAI,EAAE;QACJ,IAAI,EAAE,YAAY;QAClB,2DAA2D;QAC3D,IAAI,EAAE;YACJ,WAAW,EAAE,wBAAwB;YACrC,eAAe,EAAE,IAAI;SACtB;QACD,QAAQ,EAAE,QAAQ,CAAC,IAAI,CAAC,QAAQ;QAChC,MAAM,EAAE,CAAC,MAAM,CAAC;KACjB;IACD,cAAc,EAAE;QACd;YACE,aAAa,EAAE,KAAK;YACpB,YAAY,EAAE,KAAK;YACnB,MAAM,EAAE,EAAE;YACV,kBAAkB,EAAE,KAAK;YACzB,WAAW,EAAE,KAAK;YAClB,yBAAyB,EAAE,KAAK;YAChC,6BAA6B,EAAE,KAAK;YACpC,iBAAiB,EAAE,KAAK;SACzB;KACF;IACD,MAAM,CAAC,OAAO,EAAE,CAAC,OAAO,CAAC;QACvB,MAAM,KAAK,GAAG,QAAQ,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC;QAEvC,MAAM,OAAO,GAAG,IAAI,GAAG,CAAC,CAAC,OAAO,CAAC,MAAM,IAAI,EAAE,CAAC,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC,CAAC;QAE1E,OAAO;YACL,OAAO,CAAC,IAAI;gBACV,qDAAqD;gBACrD,IAAI,OAAO,IAAI,CAAC,KAAK,KAAK,QAAQ,IAAI,OAAO,IAAI,CAAC,KAAK,KAAK,QAAQ,EAAE,CAAC;oBACrE,OAAO;gBACT,CAAC;gBAED,wEAAwE;gBACxE,wEAAwE;gBACxE,wEAAwE;gBACxE,wEAAwE;gBACxE,IAAI,SAA8B,CAAC;gBAEnC,+BAA+B;gBAC/B,IAAI,OAAO,CAAC,GAAG,CAAC,qBAAqB,CAAC,IAAI,EAAE,IAAI,CAAC,KAAK,CAAC,CAAC,EAAE,CAAC;oBACzD,SAAS,GAAG,IAAI,CAAC;gBACnB,CAAC;gBACD,qDAAqD;qBAChD,IAAI,yBAAyB,CAAC,IAAI,CAAC,EAAE,CAAC;oBACzC,SAAS,GAAG,OAAO,CAAC,WAAW,KAAK,IAAI,CAAC;gBAC3C,CAAC;gBACD,sDAAsD;qBACjD,IAAI,sBAAsB,CAAC,IAAI,CAAC,EAAE,CAAC;oBACtC,SAAS,GAAG,OAAO,CAAC,yBAAyB,KAAK,IAAI,CAAC;gBACzD,CAAC;gBACD,oCAAoC;qBAC/B,IAAI,6BAA6B,CAAC,IAAI,CAAC,EAAE,CAAC;oBAC7C,SAAS,GAAG,OAAO,CAAC,iBAAiB,KAAK,IAAI,CAAC;gBACjD,CAAC;gBACD,iDAAiD;qBAC5C,IAAI,oCAAoC,CAAC,IAAI,CAAC,EAAE,CAAC;oBACpD,SAAS,GAAG,OAAO,CAAC,6BAA6B,KAAK,IAAI,CAAC;gBAC7D,CAAC;gBAED,wEAAwE;gBACxE,IAAI,SAAS,KAAK,IAAI,EAAE,CAAC;oBACvB,OAAO;gBACT,CAAC;gBACD,yDAAyD;qBACpD,IAAI,SAAS,KAAK,KAAK,EAAE,CAAC;oBAC7B,IAAI,cAAc,GAChB,IAAI,CAAC;oBACP,IAAI,GAAG,GAAG,IAAI,CAAC,GAAG,CAAC;oBAEnB,IACE,IAAI,CAAC,MAAM,CAAC,IAAI,KAAK,sBAAc,CAAC,eAAe;wBACnD,6DAA6D;wBAC7D,oHAAoH;wBACpH,IAAI,CAAC,MAAM,CAAC,QAAQ,KAAK,GAAG,EAC5B,CAAC;wBACD,cAAc,GAAG,IAAI,CAAC,MAAM,CAAC;wBAC7B,GAAG,GAAG,GAAG,IAAI,CAAC,MAAM,CAAC,QAAQ,GAAG,IAAI,CAAC,GAAG,EAAE,CAAC;oBAC7C,CAAC;oBAED,OAAO,CAAC,MAAM,CAAC;wBACb,IAAI,EAAE,cAAc;wBACpB,SAAS,EAAE,SAAS;wBACpB,IAAI,EAAE,EAAE,GAAG,EAAE;qBACd,CAAC,CAAC;oBAEH,OAAO;gBACT,CAAC;gBAED,uCAAuC;gBACvC,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC;YACtB,CAAC;SACF,CAAC;IACJ,CAAC;CACF,CAAC,CAAC;AAEH;;;;GAIG;AACH,SAAS,oBAAoB,CAC3B,KAA+B;IAE/B,IAAI,OAAO,KAAK,KAAK,QAAQ,EAAE,CAAC;QAC9B,OAAO,MAAM,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC,CAAC;IACpC,CAAC;IAED,OAAO,KAAK,CAAC;AACf,CAAC;AAED;;;;GAIG;AACH,SAAS,qBAAqB,CAC5B,IAAqD,EACrD,KAAsB;IAEtB,IACE,IAAI,CAAC,MAAM,CAAC,IAAI,KAAK,sBAAc,CAAC,eAAe;QACnD,CAAC,GAAG,EAAE,GAAG,CAAC,CAAC,QAAQ,CAAC,IAAI,CAAC,MAAM,CAAC,QAAQ,CAAC;QACzC,IAAI,CAAC,MAAM,CAAC,QAAQ,KAAK,GAAG,EAC5B,CAAC;QACD,OAAO,CAAC,KAAK,CAAC;IAChB,CAAC;IAED,OAAO,KAAK,CAAC;AACf,CAAC;AAED;;GAEG;AACH,SAAS,gBAAgB,CAAC,IAAsB;IAC9C,IACE,IAAI,CAAC,MAAM,CAAC,IAAI,KAAK,sBAAc,CAAC,eAAe;QACnD,CAAC,GAAG,EAAE,GAAG,CAAC,CAAC,QAAQ,CAAC,IAAI,CAAC,MAAM,CAAC,QAAQ,CAAC,EACzC,CAAC;QACD,OAAO,IAAI,CAAC,MAAM,CAAC,MAAM,CAAC;IAC5B,CAAC;IAED,OAAO,IAAI,CAAC,MAAM,CAAC;AACrB,CAAC;AAED;;;;;GAKG;AACH,SAAS,mCAAmC,CAAC,IAAmB;IAC9D,OAAO,IAAI,CAAC,MAAM,EAAE,MAAM,EAAE,IAAI,KAAK,sBAAc,CAAC,sBAAsB,CAAC;AAC7E,CAAC;AAED;;;;;GAKG;AACH,SAAS,wBAAwB,CAAC,IAAmB;IACnD,IAAI,IAAI,CAAC,MAAM,EAAE,MAAM,EAAE,IAAI,KAAK,sBAAc,CAAC,WAAW,EAAE,CAAC;QAC7D,OAAO,mCAAmC,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC;IAC1D,CAAC;IAED,OAAO,KAAK,CAAC;AACf,CAAC;AAED;;;;;GAKG;AACH,SAAS,yBAAyB,CAAC,IAAsB;IACvD,MAAM,MAAM,GAAG,gBAAgB,CAAC,IAAI,CAAC,CAAC;IACtC,OAAO,MAAM,EAAE,IAAI,KAAK,sBAAc,CAAC,YAAY,CAAC;AACtD,CAAC;AAED;;;;;GAKG;AACH,SAAS,qBAAqB,CAAC,IAAmB;IAChD,OAAO,IAAI,CAAC,MAAM,EAAE,IAAI,KAAK,sBAAc,CAAC,aAAa,CAAC;AAC5D,CAAC;AAED;;;;;GAKG;AACH,SAAS,sBAAsB,CAAC,IAAmB;IACjD,4CAA4C;IAC5C,IACE,IAAI,CAAC,MAAM,EAAE,IAAI,KAAK,sBAAc,CAAC,eAAe;QACpD,IAAI,CAAC,MAAM,CAAC,QAAQ,KAAK,GAAG,EAC5B,CAAC;QACD,IAAI,GAAG,IAAI,CAAC,MAAM,CAAC;IACrB,CAAC;IAED,0DAA0D;IAC1D,IAAI,CAAC,qBAAqB,CAAC,IAAI,CAAC,EAAE,CAAC;QACjC,OAAO,KAAK,CAAC;IACf,CAAC;IAED,yDAAyD;IACzD,IAAI,mCAAmC,CAAC,IAAI,CAAC,EAAE,CAAC;QAC9C,OAAO,IAAI,CAAC;IACd,CAAC;IAED,0FAA0F;IAC1F,IAAI,wBAAwB,CAAC,IAAI,CAAC,EAAE,CAAC;QACnC,OAAO,IAAI,CAAC;IACd,CAAC;IAED,OAAO,KAAK,CAAC;AACf,CAAC;AAED;;;;;GAKG;AACH,SAAS,oCAAoC,CAAC,IAAsB;IAClE,MAAM,MAAM,GAAG,gBAAgB,CAAC,IAAI,CAAC,CAAC;IAEtC,IAAI,MAAM,EAAE,IAAI,KAAK,sBAAc,CAAC,kBAAkB,IAAI,MAAM,CAAC,QAAQ,EAAE,CAAC;QAC1E,OAAO,IAAI,CAAC;IACd,CAAC;IAED,OAAO,KAAK,CAAC;AACf,CAAC;AAED;;;;;GAKG;AACH,SAAS,6BAA6B,CAAC,IAAsB;IAC3D,oCAAoC;IACpC,IAAI,QAAQ,GAAG,gBAAgB,CAAC,IAAI,CAAC,CAAC;IAEtC,sEAAsE;IACtE,2BAA2B;IAC3B,OACE,QAAQ,EAAE,MAAM,EAAE,IAAI,KAAK,sBAAc,CAAC,WAAW;QACrD,QAAQ,EAAE,MAAM,EAAE,IAAI,KAAK,sBAAc,CAAC,kBAAkB,EAC5D,CAAC;QACD,QAAQ,GAAG,QAAQ,CAAC,MAAM,CAAC;IAC7B,CAAC;IAED,OAAO,QAAQ,EAAE,MAAM,EAAE,IAAI,KAAK,sBAAc,CAAC,mBAAmB,CAAC;AACvE,CAAC"} \ No newline at end of file +{"version":3,"file":"no-magic-numbers.js","sourceRoot":"","sources":["../../src/rules/no-magic-numbers.ts"],"names":[],"mappings":";;AAGA,oDAA0D;AAO1D,kCAAgD;AAChD,iEAA8D;AAE9D,MAAM,QAAQ,GAAG,IAAA,qCAAiB,EAAC,kBAAkB,CAAC,CAAC;AAKvD,iFAAiF;AACjF,MAAM,MAAM,GAAG,IAAA,gBAAS;AACtB,yHAAyH;AACzH,KAAK,CAAC,OAAO,CAAC,QAAQ,CAAC,IAAI,CAAC,MAAM,CAAC;IACjC,CAAC,CAAC,QAAQ,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC;IACzB,CAAC,CAAC,QAAQ,CAAC,IAAI,CAAC,MAAM,EACxB;IACE,UAAU,EAAE;QACV,WAAW,EAAE;YACX,IAAI,EAAE,SAAS;YACf,WAAW,EAAE,uDAAuD;SACrE;QACD,yBAAyB,EAAE;YACzB,IAAI,EAAE,SAAS;YACf,WAAW,EACT,+EAA+E;SAClF;QACD,6BAA6B,EAAE;YAC7B,IAAI,EAAE,SAAS;YACf,WAAW,EAAE,0DAA0D;SACxE;QACD,iBAAiB,EAAE;YACjB,IAAI,EAAE,SAAS;YACf,WAAW,EAAE,+CAA+C;SAC7D;KACF;CACF,CACwB,CAAC;AAE5B,kBAAe,IAAA,iBAAU,EAAsB;IAC7C,IAAI,EAAE,kBAAkB;IACxB,IAAI,EAAE;QACJ,IAAI,EAAE,YAAY;QAClB,2DAA2D;QAC3D,IAAI,EAAE;YACJ,WAAW,EAAE,wBAAwB;YACrC,eAAe,EAAE,IAAI;SACtB;QACD,QAAQ,EAAE,QAAQ,CAAC,IAAI,CAAC,QAAQ;QAChC,MAAM,EAAE,CAAC,MAAM,CAAC;KACjB;IACD,cAAc,EAAE;QACd;YACE,aAAa,EAAE,KAAK;YACpB,YAAY,EAAE,KAAK;YACnB,MAAM,EAAE,EAAE;YACV,kBAAkB,EAAE,KAAK;YACzB,WAAW,EAAE,KAAK;YAClB,yBAAyB,EAAE,KAAK;YAChC,6BAA6B,EAAE,KAAK;YACpC,iBAAiB,EAAE,KAAK;SACzB;KACF;IACD,MAAM,CAAC,OAAO,EAAE,CAAC,OAAO,CAAC;QACvB,MAAM,KAAK,GAAG,QAAQ,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC;QAEvC,MAAM,OAAO,GAAG,IAAI,GAAG,CAAC,CAAC,OAAO,CAAC,MAAM,IAAI,EAAE,CAAC,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC,CAAC;QAE1E,OAAO;YACL,OAAO,CAAC,IAAI;gBACV,qDAAqD;gBACrD,IAAI,OAAO,IAAI,CAAC,KAAK,KAAK,QAAQ,IAAI,OAAO,IAAI,CAAC,KAAK,KAAK,QAAQ,EAAE,CAAC;oBACrE,OAAO;gBACT,CAAC;gBAED,wEAAwE;gBACxE,wEAAwE;gBACxE,wEAAwE;gBACxE,wEAAwE;gBACxE,IAAI,SAA8B,CAAC;gBAEnC,+BAA+B;gBAC/B,IAAI,OAAO,CAAC,GAAG,CAAC,qBAAqB,CAAC,IAAI,EAAE,IAAI,CAAC,KAAK,CAAC,CAAC,EAAE,CAAC;oBACzD,SAAS,GAAG,IAAI,CAAC;gBACnB,CAAC;gBACD,qDAAqD;qBAChD,IAAI,yBAAyB,CAAC,IAAI,CAAC,EAAE,CAAC;oBACzC,SAAS,GAAG,OAAO,CAAC,WAAW,KAAK,IAAI,CAAC;gBAC3C,CAAC;gBACD,sDAAsD;qBACjD,IAAI,sBAAsB,CAAC,IAAI,CAAC,EAAE,CAAC;oBACtC,SAAS,GAAG,OAAO,CAAC,yBAAyB,KAAK,IAAI,CAAC;gBACzD,CAAC;gBACD,oCAAoC;qBAC/B,IAAI,6BAA6B,CAAC,IAAI,CAAC,EAAE,CAAC;oBAC7C,SAAS,GAAG,OAAO,CAAC,iBAAiB,KAAK,IAAI,CAAC;gBACjD,CAAC;gBACD,iDAAiD;qBAC5C,IAAI,oCAAoC,CAAC,IAAI,CAAC,EAAE,CAAC;oBACpD,SAAS,GAAG,OAAO,CAAC,6BAA6B,KAAK,IAAI,CAAC;gBAC7D,CAAC;gBAED,wEAAwE;gBACxE,IAAI,SAAS,KAAK,IAAI,EAAE,CAAC;oBACvB,OAAO;gBACT,CAAC;gBACD,yDAAyD;gBACzD,IAAI,SAAS,KAAK,KAAK,EAAE,CAAC;oBACxB,IAAI,cAAc,GAChB,IAAI,CAAC;oBACP,IAAI,GAAG,GAAG,IAAI,CAAC,GAAG,CAAC;oBACnB,IACE,IAAI,CAAC,MAAM,CAAC,IAAI,KAAK,sBAAc,CAAC,eAAe;wBACnD,6DAA6D;wBAC7D,oHAAoH;wBACpH,IAAI,CAAC,MAAM,CAAC,QAAQ,KAAK,GAAG,EAC5B,CAAC;wBACD,cAAc,GAAG,IAAI,CAAC,MAAM,CAAC;wBAC7B,GAAG,GAAG,GAAG,IAAI,CAAC,MAAM,CAAC,QAAQ,GAAG,IAAI,CAAC,GAAG,EAAE,CAAC;oBAC7C,CAAC;oBACD,OAAO,CAAC,MAAM,CAAC;wBACb,IAAI,EAAE,cAAc;wBACpB,SAAS,EAAE,SAAS;wBACpB,IAAI,EAAE,EAAE,GAAG,EAAE;qBACd,CAAC,CAAC;oBAEH,OAAO;gBACT,CAAC;gBAED,uCAAuC;gBACvC,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC;YACtB,CAAC;SACF,CAAC;IACJ,CAAC;CACF,CAAC,CAAC;AAEH;;;;GAIG;AACH,SAAS,oBAAoB,CAC3B,KAA+B;IAE/B,IAAI,OAAO,KAAK,KAAK,QAAQ,EAAE,CAAC;QAC9B,OAAO,MAAM,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC,CAAC;IACpC,CAAC;IAED,OAAO,KAAK,CAAC;AACf,CAAC;AAED;;;;GAIG;AACH,SAAS,qBAAqB,CAC5B,IAAqD,EACrD,KAAsB;IAEtB,IACE,IAAI,CAAC,MAAM,CAAC,IAAI,KAAK,sBAAc,CAAC,eAAe;QACnD,CAAC,GAAG,EAAE,GAAG,CAAC,CAAC,QAAQ,CAAC,IAAI,CAAC,MAAM,CAAC,QAAQ,CAAC;QACzC,IAAI,CAAC,MAAM,CAAC,QAAQ,KAAK,GAAG,EAC5B,CAAC;QACD,OAAO,CAAC,KAAK,CAAC;IAChB,CAAC;IAED,OAAO,KAAK,CAAC;AACf,CAAC;AAED;;GAEG;AACH,SAAS,gBAAgB,CAAC,IAAsB;IAC9C,IACE,IAAI,CAAC,MAAM,CAAC,IAAI,KAAK,sBAAc,CAAC,eAAe;QACnD,CAAC,GAAG,EAAE,GAAG,CAAC,CAAC,QAAQ,CAAC,IAAI,CAAC,MAAM,CAAC,QAAQ,CAAC,EACzC,CAAC;QACD,OAAO,IAAI,CAAC,MAAM,CAAC,MAAM,CAAC;IAC5B,CAAC;IAED,OAAO,IAAI,CAAC,MAAM,CAAC;AACrB,CAAC;AAED;;;;;GAKG;AACH,SAAS,mCAAmC,CAAC,IAAmB;IAC9D,OAAO,IAAI,CAAC,MAAM,EAAE,MAAM,EAAE,IAAI,KAAK,sBAAc,CAAC,sBAAsB,CAAC;AAC7E,CAAC;AAED;;;;;GAKG;AACH,SAAS,wBAAwB,CAAC,IAAmB;IACnD,IAAI,IAAI,CAAC,MAAM,EAAE,MAAM,EAAE,IAAI,KAAK,sBAAc,CAAC,WAAW,EAAE,CAAC;QAC7D,OAAO,mCAAmC,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC;IAC1D,CAAC;IAED,OAAO,KAAK,CAAC;AACf,CAAC;AAED;;;;;GAKG;AACH,SAAS,yBAAyB,CAAC,IAAsB;IACvD,MAAM,MAAM,GAAG,gBAAgB,CAAC,IAAI,CAAC,CAAC;IACtC,OAAO,MAAM,EAAE,IAAI,KAAK,sBAAc,CAAC,YAAY,CAAC;AACtD,CAAC;AAED;;;;;GAKG;AACH,SAAS,qBAAqB,CAAC,IAAmB;IAChD,OAAO,IAAI,CAAC,MAAM,EAAE,IAAI,KAAK,sBAAc,CAAC,aAAa,CAAC;AAC5D,CAAC;AAED;;;;;GAKG;AACH,SAAS,sBAAsB,CAAC,IAAmB;IACjD,4CAA4C;IAC5C,IACE,IAAI,CAAC,MAAM,EAAE,IAAI,KAAK,sBAAc,CAAC,eAAe;QACpD,IAAI,CAAC,MAAM,CAAC,QAAQ,KAAK,GAAG,EAC5B,CAAC;QACD,IAAI,GAAG,IAAI,CAAC,MAAM,CAAC;IACrB,CAAC;IAED,0DAA0D;IAC1D,IAAI,CAAC,qBAAqB,CAAC,IAAI,CAAC,EAAE,CAAC;QACjC,OAAO,KAAK,CAAC;IACf,CAAC;IAED,yDAAyD;IACzD,IAAI,mCAAmC,CAAC,IAAI,CAAC,EAAE,CAAC;QAC9C,OAAO,IAAI,CAAC;IACd,CAAC;IAED,0FAA0F;IAC1F,IAAI,wBAAwB,CAAC,IAAI,CAAC,EAAE,CAAC;QACnC,OAAO,IAAI,CAAC;IACd,CAAC;IAED,OAAO,KAAK,CAAC;AACf,CAAC;AAED;;;;;GAKG;AACH,SAAS,oCAAoC,CAAC,IAAsB;IAClE,MAAM,MAAM,GAAG,gBAAgB,CAAC,IAAI,CAAC,CAAC;IAEtC,IAAI,MAAM,EAAE,IAAI,KAAK,sBAAc,CAAC,kBAAkB,IAAI,MAAM,CAAC,QAAQ,EAAE,CAAC;QAC1E,OAAO,IAAI,CAAC;IACd,CAAC;IAED,OAAO,KAAK,CAAC;AACf,CAAC;AAED;;;;;GAKG;AACH,SAAS,6BAA6B,CAAC,IAAsB;IAC3D,oCAAoC;IACpC,IAAI,QAAQ,GAAG,gBAAgB,CAAC,IAAI,CAAC,CAAC;IAEtC,sEAAsE;IACtE,2BAA2B;IAC3B,OACE,QAAQ,EAAE,MAAM,EAAE,IAAI,KAAK,sBAAc,CAAC,WAAW;QACrD,QAAQ,EAAE,MAAM,EAAE,IAAI,KAAK,sBAAc,CAAC,kBAAkB,EAC5D,CAAC;QACD,QAAQ,GAAG,QAAQ,CAAC,MAAM,CAAC;IAC7B,CAAC;IAED,OAAO,QAAQ,EAAE,MAAM,EAAE,IAAI,KAAK,sBAAc,CAAC,mBAAmB,CAAC;AACvE,CAAC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-meaningless-void-operator.js b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-meaningless-void-operator.js index 240fe34088..38c1cf145b 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-meaningless-void-operator.js +++ b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-meaningless-void-operator.js @@ -15,13 +15,23 @@ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? ( }) : function(o, v) { o["default"] = v; }); -var __importStar = (this && this.__importStar) || function (mod) { - if (mod && mod.__esModule) return mod; - var result = {}; - if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k); - __setModuleDefault(result, mod); - return result; -}; +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); Object.defineProperty(exports, "__esModule", { value: true }); const utils_1 = require("@typescript-eslint/utils"); const tsutils = __importStar(require("ts-api-utils")); diff --git a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-meaningless-void-operator.js.map b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-meaningless-void-operator.js.map index 9346419ff3..8a5728e4d5 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-meaningless-void-operator.js.map +++ b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-meaningless-void-operator.js.map @@ -1 +1 @@ -{"version":3,"file":"no-meaningless-void-operator.js","sourceRoot":"","sources":["../../src/rules/no-meaningless-void-operator.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AAEA,oDAAuD;AACvD,sDAAwC;AACxC,+CAAiC;AAEjC,kCAAqC;AAQrC,kBAAe,IAAA,iBAAU,EAAoD;IAC3E,IAAI,EAAE,8BAA8B;IACpC,IAAI,EAAE;QACJ,IAAI,EAAE,YAAY;QAClB,IAAI,EAAE;YACJ,WAAW,EACT,kEAAkE;YACpE,WAAW,EAAE,QAAQ;YACrB,oBAAoB,EAAE,IAAI;SAC3B;QACD,OAAO,EAAE,MAAM;QACf,cAAc,EAAE,IAAI;QACpB,QAAQ,EAAE;YACR,uBAAuB,EACrB,oGAAoG;YACtG,UAAU,EAAE,eAAe;SAC5B;QACD,MAAM,EAAE;YACN;gBACE,IAAI,EAAE,QAAQ;gBACd,oBAAoB,EAAE,KAAK;gBAC3B,UAAU,EAAE;oBACV,UAAU,EAAE;wBACV,IAAI,EAAE,SAAS;wBACf,OAAO,EAAE,KAAK;wBACd,WAAW,EACT,wEAAwE;qBAC3E;iBACF;aACF;SACF;KACF;IACD,cAAc,EAAE,CAAC,EAAE,UAAU,EAAE,KAAK,EAAE,CAAC;IAEvC,MAAM,CAAC,OAAO,EAAE,CAAC,EAAE,UAAU,EAAE,CAAC;QAC9B,MAAM,QAAQ,GAAG,mBAAW,CAAC,iBAAiB,CAAC,OAAO,CAAC,CAAC;QACxD,MAAM,OAAO,GAAG,QAAQ,CAAC,OAAO,CAAC,cAAc,EAAE,CAAC;QAElD,OAAO;YACL,kCAAkC,CAAC,IAA8B;gBAC/D,MAAM,GAAG,GAAG,CAAC,KAAyB,EAAoB,EAAE;oBAC1D,OAAO,KAAK,CAAC,WAAW,CAAC;wBACvB,OAAO,CAAC,UAAU,CAAC,SAAS,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC;wBAC9C,OAAO,CAAC,UAAU,CAAC,SAAS,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC;qBAC/C,CAAC,CAAC;gBACL,CAAC,CAAC;gBAEF,MAAM,OAAO,GAAG,QAAQ,CAAC,iBAAiB,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC;gBAC1D,MAAM,UAAU,GAAG,OAAO,CAAC,cAAc,CAAC,OAAO,CAAC,CAAC;gBACnD,IACE,UAAU,CAAC,KAAK,CACd,IAAI,CAAC,EAAE,CAAC,IAAI,CAAC,KAAK,GAAG,CAAC,EAAE,CAAC,SAAS,CAAC,IAAI,GAAG,EAAE,CAAC,SAAS,CAAC,SAAS,CAAC,CAClE,EACD,CAAC;oBACD,OAAO,CAAC,MAAM,CAAC;wBACb,IAAI;wBACJ,SAAS,EAAE,yBAAyB;wBACpC,IAAI,EAAE,EAAE,IAAI,EAAE,OAAO,CAAC,YAAY,CAAC,OAAO,CAAC,EAAE;wBAC7C,GAAG;qBACJ,CAAC,CAAC;gBACL,CAAC;qBAAM,IACL,UAAU;oBACV,UAAU,CAAC,KAAK,CACd,IAAI,CAAC,EAAE,CACL,IAAI,CAAC,KAAK;wBACV,CAAC,EAAE,CAAC,SAAS,CAAC,IAAI,GAAG,EAAE,CAAC,SAAS,CAAC,SAAS,GAAG,EAAE,CAAC,SAAS,CAAC,KAAK,CAAC,CACpE,EACD,CAAC;oBACD,OAAO,CAAC,MAAM,CAAC;wBACb,IAAI;wBACJ,SAAS,EAAE,yBAAyB;wBACpC,IAAI,EAAE,EAAE,IAAI,EAAE,OAAO,CAAC,YAAY,CAAC,OAAO,CAAC,EAAE;wBAC7C,OAAO,EAAE,CAAC,EAAE,SAAS,EAAE,YAAY,EAAE,GAAG,EAAE,CAAC;qBAC5C,CAAC,CAAC;gBACL,CAAC;YACH,CAAC;SACF,CAAC;IACJ,CAAC;CACF,CAAC,CAAC"} \ No newline at end of file +{"version":3,"file":"no-meaningless-void-operator.js","sourceRoot":"","sources":["../../src/rules/no-meaningless-void-operator.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEA,oDAAuD;AACvD,sDAAwC;AACxC,+CAAiC;AAEjC,kCAAqC;AAQrC,kBAAe,IAAA,iBAAU,EAAoD;IAC3E,IAAI,EAAE,8BAA8B;IACpC,IAAI,EAAE;QACJ,IAAI,EAAE,YAAY;QAClB,IAAI,EAAE;YACJ,WAAW,EACT,kEAAkE;YACpE,WAAW,EAAE,QAAQ;YACrB,oBAAoB,EAAE,IAAI;SAC3B;QACD,OAAO,EAAE,MAAM;QACf,cAAc,EAAE,IAAI;QACpB,QAAQ,EAAE;YACR,uBAAuB,EACrB,oGAAoG;YACtG,UAAU,EAAE,eAAe;SAC5B;QACD,MAAM,EAAE;YACN;gBACE,IAAI,EAAE,QAAQ;gBACd,oBAAoB,EAAE,KAAK;gBAC3B,UAAU,EAAE;oBACV,UAAU,EAAE;wBACV,IAAI,EAAE,SAAS;wBACf,OAAO,EAAE,KAAK;wBACd,WAAW,EACT,wEAAwE;qBAC3E;iBACF;aACF;SACF;KACF;IACD,cAAc,EAAE,CAAC,EAAE,UAAU,EAAE,KAAK,EAAE,CAAC;IAEvC,MAAM,CAAC,OAAO,EAAE,CAAC,EAAE,UAAU,EAAE,CAAC;QAC9B,MAAM,QAAQ,GAAG,mBAAW,CAAC,iBAAiB,CAAC,OAAO,CAAC,CAAC;QACxD,MAAM,OAAO,GAAG,QAAQ,CAAC,OAAO,CAAC,cAAc,EAAE,CAAC;QAElD,OAAO;YACL,kCAAkC,CAAC,IAA8B;gBAC/D,MAAM,GAAG,GAAG,CAAC,KAAyB,EAAoB,EAAE;oBAC1D,OAAO,KAAK,CAAC,WAAW,CAAC;wBACvB,OAAO,CAAC,UAAU,CAAC,SAAS,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC;wBAC9C,OAAO,CAAC,UAAU,CAAC,SAAS,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC;qBAC/C,CAAC,CAAC;gBACL,CAAC,CAAC;gBAEF,MAAM,OAAO,GAAG,QAAQ,CAAC,iBAAiB,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC;gBAC1D,MAAM,UAAU,GAAG,OAAO,CAAC,cAAc,CAAC,OAAO,CAAC,CAAC;gBACnD,IACE,UAAU,CAAC,KAAK,CACd,IAAI,CAAC,EAAE,CAAC,IAAI,CAAC,KAAK,GAAG,CAAC,EAAE,CAAC,SAAS,CAAC,IAAI,GAAG,EAAE,CAAC,SAAS,CAAC,SAAS,CAAC,CAClE,EACD,CAAC;oBACD,OAAO,CAAC,MAAM,CAAC;wBACb,IAAI;wBACJ,SAAS,EAAE,yBAAyB;wBACpC,IAAI,EAAE,EAAE,IAAI,EAAE,OAAO,CAAC,YAAY,CAAC,OAAO,CAAC,EAAE;wBAC7C,GAAG;qBACJ,CAAC,CAAC;gBACL,CAAC;qBAAM,IACL,UAAU;oBACV,UAAU,CAAC,KAAK,CACd,IAAI,CAAC,EAAE,CACL,IAAI,CAAC,KAAK;wBACV,CAAC,EAAE,CAAC,SAAS,CAAC,IAAI,GAAG,EAAE,CAAC,SAAS,CAAC,SAAS,GAAG,EAAE,CAAC,SAAS,CAAC,KAAK,CAAC,CACpE,EACD,CAAC;oBACD,OAAO,CAAC,MAAM,CAAC;wBACb,IAAI;wBACJ,SAAS,EAAE,yBAAyB;wBACpC,IAAI,EAAE,EAAE,IAAI,EAAE,OAAO,CAAC,YAAY,CAAC,OAAO,CAAC,EAAE;wBAC7C,OAAO,EAAE,CAAC,EAAE,SAAS,EAAE,YAAY,EAAE,GAAG,EAAE,CAAC;qBAC5C,CAAC,CAAC;gBACL,CAAC;YACH,CAAC;SACF,CAAC;IACJ,CAAC;CACF,CAAC,CAAC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-misused-promises.js b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-misused-promises.js index 038f1a05ad..7deedded9f 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-misused-promises.js +++ b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-misused-promises.js @@ -15,13 +15,23 @@ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? ( }) : function(o, v) { o["default"] = v; }); -var __importStar = (this && this.__importStar) || function (mod) { - if (mod && mod.__esModule) return mod; - var result = {}; - if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k); - __setModuleDefault(result, mod); - return result; -}; +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); Object.defineProperty(exports, "__esModule", { value: true }); const utils_1 = require("@typescript-eslint/utils"); const tsutils = __importStar(require("ts-api-utils")); diff --git a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-misused-promises.js.map b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-misused-promises.js.map index 72b14de48b..7cd2e782a2 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-misused-promises.js.map +++ b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-misused-promises.js.map @@ -1 +1 @@ -{"version":3,"file":"no-misused-promises.js","sourceRoot":"","sources":["../../src/rules/no-misused-promises.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AAEA,oDAA0D;AAC1D,sDAAwC;AACxC,+CAAiC;AAEjC,kCASiB;AA8BjB,SAAS,qBAAqB,CAC5B,gBAA+D;IAE/D,QAAQ,gBAAgB,EAAE,CAAC;QACzB,KAAK,KAAK;YACR,OAAO,KAAK,CAAC;QAEf,KAAK,IAAI,CAAC;QACV,KAAK,SAAS;YACZ,OAAO;gBACL,SAAS,EAAE,IAAI;gBACf,UAAU,EAAE,IAAI;gBAChB,gBAAgB,EAAE,IAAI;gBACtB,UAAU,EAAE,IAAI;gBAChB,OAAO,EAAE,IAAI;gBACb,SAAS,EAAE,IAAI;aAChB,CAAC;QAEJ;YACE,OAAO;gBACL,SAAS,EAAE,gBAAgB,CAAC,SAAS,IAAI,IAAI;gBAC7C,UAAU,EAAE,gBAAgB,CAAC,UAAU,IAAI,IAAI;gBAC/C,gBAAgB,EAAE,gBAAgB,CAAC,gBAAgB,IAAI,IAAI;gBAC3D,UAAU,EAAE,gBAAgB,CAAC,UAAU,IAAI,IAAI;gBAC/C,OAAO,EAAE,gBAAgB,CAAC,OAAO,IAAI,IAAI;gBACzC,SAAS,EAAE,gBAAgB,CAAC,SAAS,IAAI,IAAI;aAC9C,CAAC;IACN,CAAC;AACH,CAAC;AAED,kBAAe,IAAA,iBAAU,EAAqB;IAC5C,IAAI,EAAE,qBAAqB;IAC3B,IAAI,EAAE;QACJ,IAAI,EAAE,SAAS;QACf,IAAI,EAAE;YACJ,WAAW,EAAE,yDAAyD;YACtE,WAAW,EAAE,aAAa;YAC1B,oBAAoB,EAAE,IAAI;SAC3B;QACD,QAAQ,EAAE;YACR,WAAW,EAAE,sDAAsD;YACnE,SAAS,EAAE,8CAA8C;YACzD,MAAM,EAAE,2DAA2D;YACnE,kBAAkB,EAChB,yEAAyE;YAC3E,mBAAmB,EACjB,oFAAoF;YACtF,yBAAyB,EACvB,2HAA2H;YAC7H,kBAAkB,EAChB,mFAAmF;YACrF,qBAAqB,EACnB,uFAAuF;YACzF,kBAAkB,EAChB,mFAAmF;SACtF;QACD,MAAM,EAAE;YACN;gBACE,IAAI,EAAE,QAAQ;gBACd,oBAAoB,EAAE,KAAK;gBAC3B,UAAU,EAAE;oBACV,kBAAkB,EAAE;wBAClB,IAAI,EAAE,SAAS;wBACf,WAAW,EACT,uEAAuE;qBAC1E;oBACD,aAAa,EAAE;wBACb,IAAI,EAAE,SAAS;wBACf,WAAW,EAAE,mDAAmD;qBACjE;oBACD,gBAAgB,EAAE;wBAChB,WAAW,EACT,uFAAuF;wBACzF,KAAK,EAAE;4BACL;gCACE,IAAI,EAAE,SAAS;gCACf,WAAW,EACT,yDAAyD;6BAC5D;4BACD;gCACE,IAAI,EAAE,QAAQ;gCACd,oBAAoB,EAAE,KAAK;gCAC3B,WAAW,EACT,sDAAsD;gCACxD,UAAU,EAAE;oCACV,SAAS,EAAE;wCACT,IAAI,EAAE,SAAS;wCACf,WAAW,EACT,gIAAgI;qCACnI;oCACD,UAAU,EAAE;wCACV,IAAI,EAAE,SAAS;wCACf,WAAW,EACT,qHAAqH;qCACxH;oCACD,gBAAgB,EAAE;wCAChB,IAAI,EAAE,SAAS;wCACf,WAAW,EACT,oIAAoI;qCACvI;oCACD,UAAU,EAAE;wCACV,IAAI,EAAE,SAAS;wCACf,WAAW,EACT,wHAAwH;qCAC3H;oCACD,OAAO,EAAE;wCACP,IAAI,EAAE,SAAS;wCACf,WAAW,EACT,wHAAwH;qCAC3H;oCACD,SAAS,EAAE;wCACT,IAAI,EAAE,SAAS;wCACf,WAAW,EACT,oHAAoH;qCACvH;iCACF;6BACF;yBACF;qBACF;iBACF;aACF;SACF;KACF;IACD,cAAc,EAAE;QACd;YACE,kBAAkB,EAAE,IAAI;YACxB,aAAa,EAAE,IAAI;YACnB,gBAAgB,EAAE,IAAI;SACvB;KACF;IAED,MAAM,CAAC,OAAO,EAAE,CAAC,EAAE,kBAAkB,EAAE,aAAa,EAAE,gBAAgB,EAAE,CAAC;QACvE,MAAM,QAAQ,GAAG,IAAA,wBAAiB,EAAC,OAAO,CAAC,CAAC;QAC5C,MAAM,OAAO,GAAG,QAAQ,CAAC,OAAO,CAAC,cAAc,EAAE,CAAC;QAElD,MAAM,YAAY,GAAG,IAAI,GAAG,EAAiB,CAAC;QAE9C,MAAM,iBAAiB,GAA0B;YAC/C,mCAAmC,EAAE,oBAAoB;YACzD,qBAAqB,EAAE,oBAAoB;YAC3C,gBAAgB,EAAE,oBAAoB;YACtC,YAAY,EAAE,oBAAoB;YAClC,WAAW,EAAE,oBAAoB;YACjC,iBAAiB,EAAE,gBAAgB;YACnC,+BAA+B,CAAC,IAA8B;gBAC5D,gBAAgB,CAAC,IAAI,CAAC,QAAQ,EAAE,IAAI,CAAC,CAAC;YACxC,CAAC;YACD,cAAc,EAAE,oBAAoB;SACrC,CAAC;QAEF,gBAAgB,GAAG,qBAAqB,CAAC,gBAAgB,CAAC,CAAC;QAE3D,MAAM,gBAAgB,GAA0B,gBAAgB;YAC9D,CAAC,CAAC;gBACE,GAAG,CAAC,gBAAgB,CAAC,SAAS,IAAI;oBAChC,cAAc,EAAE,cAAc;oBAC9B,aAAa,EAAE,cAAc;iBAC9B,CAAC;gBACF,GAAG,CAAC,gBAAgB,CAAC,UAAU,IAAI;oBACjC,YAAY,EAAE,iBAAiB;iBAChC,CAAC;gBACF,GAAG,CAAC,gBAAgB,CAAC,gBAAgB,IAAI;oBACvC,gBAAgB,EAAE,6BAA6B;oBAC/C,eAAe,EAAE,6BAA6B;oBAC9C,sBAAsB,EAAE,6BAA6B;iBACtD,CAAC;gBACF,GAAG,CAAC,gBAAgB,CAAC,UAAU,IAAI;oBACjC,QAAQ,EAAE,aAAa;iBACxB,CAAC;gBACF,GAAG,CAAC,gBAAgB,CAAC,OAAO,IAAI;oBAC9B,eAAe,EAAE,oBAAoB;iBACtC,CAAC;gBACF,GAAG,CAAC,gBAAgB,CAAC,SAAS,IAAI;oBAChC,oBAAoB,EAAE,eAAe;oBACrC,kBAAkB,EAAE,wBAAwB;iBAC7C,CAAC;aACH;YACH,CAAC,CAAC,EAAE,CAAC;QAEP,MAAM,YAAY,GAA0B;YAC1C,aAAa,EAAE,WAAW;SAC3B,CAAC;QAEF;;;WAGG;QACH,SAAS,sBAAsB,CAAC,IAA+B;YAC7D,QAAQ,IAAI,CAAC,cAAc,CAAC,IAAI,EAAE,CAAC;gBACjC,KAAK,sBAAc,CAAC,iBAAiB,CAAC;gBACtC,KAAK,sBAAc,CAAC,iBAAiB,CAAC;gBACtC,KAAK,sBAAc,CAAC,cAAc,CAAC;gBACnC,KAAK,sBAAc,CAAC,YAAY,CAAC;gBACjC,KAAK,sBAAc,CAAC,mBAAmB,CAAC;gBACxC,KAAK,sBAAc,CAAC,WAAW,CAAC;gBAChC,KAAK,sBAAc,CAAC,kBAAkB,CAAC;gBACvC,KAAK,sBAAc,CAAC,eAAe,CAAC;gBACpC,KAAK,sBAAc,CAAC,UAAU,CAAC;gBAC/B,KAAK,sBAAc,CAAC,cAAc,CAAC;gBACnC,KAAK,sBAAc,CAAC,WAAW,CAAC;gBAChC,KAAK,sBAAc,CAAC,eAAe,CAAC;gBACpC,KAAK,sBAAc,CAAC,WAAW;oBAC7B,OAAO,IAAI,CAAC;gBAEd,KAAK,sBAAc,CAAC,aAAa;oBAC/B,OAAO,IAAI,CAAC,cAAc,CAAC,OAAO,CAAC,IAAI,CACrC,MAAM,CAAC,EAAE,CACP,MAAM,CAAC,IAAI,KAAK,sBAAc,CAAC,0BAA0B;wBACzD,MAAM,CAAC,IAAI,KAAK,sBAAc,CAAC,+BAA+B,CACjE,CAAC;gBAEJ,KAAK,sBAAc,CAAC,iBAAiB,CAAC;gBACtC,KAAK,sBAAc,CAAC,YAAY,CAAC;gBACjC,KAAK,sBAAc,CAAC,WAAW,CAAC;gBAChC,KAAK,sBAAc,CAAC,cAAc,CAAC;gBACnC,KAAK,sBAAc,CAAC,eAAe,CAAC;gBACpC,KAAK,sBAAc,CAAC,gBAAgB,CAAC;gBACrC,KAAK,sBAAc,CAAC,gBAAgB,CAAC;gBACrC,KAAK,sBAAc,CAAC,eAAe,CAAC;gBACpC,KAAK,sBAAc,CAAC,kBAAkB,CAAC;gBACvC,KAAK,sBAAc,CAAC,aAAa,CAAC;gBAClC,KAAK,sBAAc,CAAC,YAAY,CAAC;gBACjC,KAAK,sBAAc,CAAC,kBAAkB,CAAC;gBACvC,KAAK,sBAAc,CAAC,cAAc,CAAC;gBACnC,KAAK,sBAAc,CAAC,aAAa,CAAC;gBAClC,KAAK,sBAAc,CAAC,eAAe,CAAC;gBACpC,KAAK,sBAAc,CAAC,eAAe,CAAC;gBACpC,KAAK,sBAAc,CAAC,cAAc,CAAC;gBACnC,KAAK,sBAAc,CAAC,gBAAgB,CAAC;gBACrC,KAAK,sBAAc,CAAC,kBAAkB,CAAC;gBACvC,KAAK,sBAAc,CAAC,eAAe,CAAC;gBACpC,KAAK,sBAAc,CAAC,iBAAiB,CAAC;gBACtC,KAAK,sBAAc,CAAC,UAAU,CAAC;gBAC/B,KAAK,sBAAc,CAAC,eAAe,CAAC;gBACpC,KAAK,sBAAc,CAAC,eAAe,CAAC;gBACpC,KAAK,sBAAc,CAAC,eAAe,CAAC;gBACpC,KAAK,sBAAc,CAAC,qBAAqB,CAAC;gBAC1C,KAAK,sBAAc,CAAC,WAAW,CAAC;gBAChC,KAAK,sBAAc,CAAC,eAAe,CAAC;gBACpC,KAAK,sBAAc,CAAC,kBAAkB,CAAC;gBACvC,KAAK,sBAAc,CAAC,gBAAgB,CAAC;gBACrC,KAAK,sBAAc,CAAC,aAAa;oBAC/B,OAAO,KAAK,CAAC;YACjB,CAAC;QACH,CAAC;QAED,SAAS,oBAAoB,CAC3B,IAK2B;YAE3B,IAAI,IAAI,CAAC,IAAI,EAAE,CAAC;gBACd,gBAAgB,CAAC,IAAI,CAAC,IAAI,EAAE,IAAI,CAAC,CAAC;YACpC,CAAC;QACH,CAAC;QAED;;;;;WAKG;QACH,SAAS,gBAAgB,CACvB,IAAyB,EACzB,UAAU,GAAG,KAAK;YAElB,gDAAgD;YAChD,IAAI,YAAY,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE,CAAC;gBAC3B,OAAO;YACT,CAAC;YACD,YAAY,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC;YAEvB,IAAI,IAAI,CAAC,IAAI,KAAK,sBAAc,CAAC,iBAAiB,EAAE,CAAC;gBACnD,mGAAmG;gBACnG,IAAI,IAAI,CAAC,QAAQ,KAAK,IAAI,IAAI,UAAU,EAAE,CAAC;oBACzC,gBAAgB,CAAC,IAAI,CAAC,IAAI,EAAE,UAAU,CAAC,CAAC;gBAC1C,CAAC;gBACD,yEAAyE;gBACzE,IAAI,UAAU,EAAE,CAAC;oBACf,gBAAgB,CAAC,IAAI,CAAC,KAAK,EAAE,UAAU,CAAC,CAAC;gBAC3C,CAAC;gBACD,OAAO;YACT,CAAC;YACD,MAAM,MAAM,GAAG,QAAQ,CAAC,qBAAqB,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC;YACxD,IAAI,gBAAgB,CAAC,OAAO,EAAE,MAAM,CAAC,EAAE,CAAC;gBACtC,OAAO,CAAC,MAAM,CAAC;oBACb,IAAI;oBACJ,SAAS,EAAE,aAAa;iBACzB,CAAC,CAAC;YACL,CAAC;QACH,CAAC;QAED,SAAS,oBAAoB,CAAC,IAA+B;YAC3D,MAAM,MAAM,GAAG,IAAI,CAAC,MAAM,CAAC;YAC3B,IAAI,MAAM,CAAC,IAAI,KAAK,sBAAc,CAAC,cAAc,EAAE,CAAC;gBAClD,MAAM,QAAQ,GAAG,MAAM,CAAC,SAAS,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC;gBACxC,IACE,QAAQ;oBACR,IAAA,qCAA8B,EAAC,OAAO,EAAE,QAAQ,EAAE,MAAM,CAAC,EACzD,CAAC;oBACD,MAAM,IAAI,GAAG,QAAQ,CAAC,qBAAqB,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAC;oBAC1D,IAAI,eAAe,CAAC,OAAO,EAAE,IAAI,CAAC,EAAE,CAAC;wBACnC,OAAO,CAAC,MAAM,CAAC;4BACb,IAAI,EAAE,QAAQ;4BACd,SAAS,EAAE,WAAW;yBACvB,CAAC,CAAC;oBACL,CAAC;gBACH,CAAC;YACH,CAAC;QACH,CAAC;QAED,SAAS,cAAc,CACrB,IAAsD;YAEtD,MAAM,MAAM,GAAG,QAAQ,CAAC,qBAAqB,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC;YACxD,MAAM,QAAQ,GAAG,qBAAqB,CAAC,OAAO,EAAE,MAAM,CAAC,CAAC;YACxD,IAAI,QAAQ,CAAC,IAAI,KAAK,CAAC,EAAE,CAAC;gBACxB,OAAO;YACT,CAAC;YAED,KAAK,MAAM,CAAC,KAAK,EAAE,QAAQ,CAAC,IAAI,IAAI,CAAC,SAAS,CAAC,OAAO,EAAE,EAAE,CAAC;gBACzD,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,KAAK,CAAC,EAAE,CAAC;oBACzB,SAAS;gBACX,CAAC;gBAED,MAAM,MAAM,GAAG,QAAQ,CAAC,qBAAqB,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAC;gBAC5D,IAAI,eAAe,CAAC,OAAO,EAAE,MAAuB,CAAC,EAAE,CAAC;oBACtD,OAAO,CAAC,MAAM,CAAC;wBACb,IAAI,EAAE,QAAQ;wBACd,SAAS,EAAE,oBAAoB;qBAChC,CAAC,CAAC;gBACL,CAAC;YACH,CAAC;QACH,CAAC;QAED,SAAS,eAAe,CAAC,IAAmC;YAC1D,MAAM,MAAM,GAAG,QAAQ,CAAC,qBAAqB,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC;YACxD,MAAM,OAAO,GAAG,QAAQ,CAAC,iBAAiB,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;YACtD,IAAI,CAAC,2BAA2B,CAAC,OAAO,EAAE,MAAM,CAAC,IAAI,EAAE,OAAO,CAAC,EAAE,CAAC;gBAChE,OAAO;YACT,CAAC;YAED,IAAI,eAAe,CAAC,OAAO,EAAE,MAAM,CAAC,KAAK,CAAC,EAAE,CAAC;gBAC3C,OAAO,CAAC,MAAM,CAAC;oBACb,IAAI,EAAE,IAAI,CAAC,KAAK;oBAChB,SAAS,EAAE,oBAAoB;iBAChC,CAAC,CAAC;YACL,CAAC;QACH,CAAC;QAED,SAAS,wBAAwB,CAAC,IAAiC;YACjE,MAAM,MAAM,GAAG,QAAQ,CAAC,qBAAqB,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC;YACxD,IACE,MAAM,CAAC,WAAW,KAAK,SAAS;gBAChC,IAAI,CAAC,IAAI,IAAI,IAAI;gBACjB,IAAI,CAAC,EAAE,CAAC,cAAc,IAAI,IAAI,EAC9B,CAAC;gBACD,OAAO;YACT,CAAC;YAED,yEAAyE;YACzE,IAAI,CAAC,sBAAsB,CAAC,IAAI,CAAC,EAAE,CAAC,cAAc,CAAC,EAAE,CAAC;gBACpD,OAAO;YACT,CAAC;YAED,MAAM,OAAO,GAAG,QAAQ,CAAC,iBAAiB,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;YACpD,IAAI,CAAC,2BAA2B,CAAC,OAAO,EAAE,MAAM,CAAC,WAAW,EAAE,OAAO,CAAC,EAAE,CAAC;gBACvE,OAAO;YACT,CAAC;YAED,IAAI,eAAe,CAAC,OAAO,EAAE,MAAM,CAAC,WAAW,CAAC,EAAE,CAAC;gBACjD,OAAO,CAAC,MAAM,CAAC;oBACb,IAAI,EAAE,IAAI,CAAC,IAAI;oBACf,SAAS,EAAE,oBAAoB;iBAChC,CAAC,CAAC;YACL,CAAC;QACH,CAAC;QAED,SAAS,aAAa,CAAC,IAAuB;YAC5C,MAAM,MAAM,GAAG,QAAQ,CAAC,qBAAqB,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC;YACxD,IAAI,EAAE,CAAC,oBAAoB,CAAC,MAAM,CAAC,EAAE,CAAC;gBACpC,MAAM,cAAc,GAAG,OAAO,CAAC,iBAAiB,CAAC,MAAM,CAAC,WAAW,CAAC,CAAC;gBACrE,IACE,cAAc,KAAK,SAAS;oBAC5B,2BAA2B,CACzB,OAAO,EACP,MAAM,CAAC,WAAW,EAClB,cAAc,CACf;oBACD,eAAe,CAAC,OAAO,EAAE,MAAM,CAAC,WAAW,CAAC,EAC5C,CAAC;oBACD,IAAI,IAAA,iBAAU,EAAC,IAAI,CAAC,KAAK,CAAC,EAAE,CAAC;wBAC3B,MAAM,YAAY,GAAG,IAAI,CAAC,KAAK,CAAC;wBAChC,IAAI,YAAY,CAAC,UAAU,EAAE,CAAC;4BAC5B,OAAO,CAAC,MAAM,CAAC;gCACb,IAAI,EAAE,YAAY,CAAC,UAAU,CAAC,cAAc;gCAC5C,SAAS,EAAE,oBAAoB;6BAChC,CAAC,CAAC;wBACL,CAAC;6BAAM,CAAC;4BACN,OAAO,CAAC,MAAM,CAAC;gCACb,GAAG,EAAE,IAAA,yBAAkB,EAAC,YAAY,EAAE,OAAO,CAAC,UAAU,CAAC;gCACzD,SAAS,EAAE,oBAAoB;6BAChC,CAAC,CAAC;wBACL,CAAC;oBACH,CAAC;yBAAM,CAAC;wBACN,OAAO,CAAC,MAAM,CAAC;4BACb,IAAI,EAAE,IAAI,CAAC,KAAK;4BAChB,SAAS,EAAE,oBAAoB;yBAChC,CAAC,CAAC;oBACL,CAAC;gBACH,CAAC;YACH,CAAC;iBAAM,IAAI,EAAE,CAAC,6BAA6B,CAAC,MAAM,CAAC,EAAE,CAAC;gBACpD,MAAM,cAAc,GAAG,OAAO,CAAC,iBAAiB,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC;gBAC9D,IACE,cAAc,KAAK,SAAS;oBAC5B,2BAA2B,CAAC,OAAO,EAAE,MAAM,CAAC,IAAI,EAAE,cAAc,CAAC;oBACjE,eAAe,CAAC,OAAO,EAAE,MAAM,CAAC,IAAI,CAAC,EACrC,CAAC;oBACD,OAAO,CAAC,MAAM,CAAC;wBACb,IAAI,EAAE,IAAI,CAAC,KAAK;wBAChB,SAAS,EAAE,oBAAoB;qBAChC,CAAC,CAAC;gBACL,CAAC;YACH,CAAC;iBAAM,IAAI,EAAE,CAAC,mBAAmB,CAAC,MAAM,CAAC,EAAE,CAAC;gBAC1C,IAAI,EAAE,CAAC,sBAAsB,CAAC,MAAM,CAAC,IAAI,CAAC,EAAE,CAAC;oBAC3C,OAAO;gBACT,CAAC;gBACD,MAAM,GAAG,GAAG,MAAM,CAAC,MAAM,CAAC;gBAE1B,+DAA+D;gBAC/D,mCAAmC;gBACnC,+DAA+D;gBAC/D,mEAAmE;gBACnE,+DAA+D;gBAC/D,qDAAqD;gBACrD,IAAI,CAAC,EAAE,CAAC,yBAAyB,CAAC,GAAG,CAAC,EAAE,CAAC;oBACvC,OAAO;gBACT,CAAC;gBAED,IAAI,CAAC,eAAe,CAAC,OAAO,EAAE,MAAM,CAAC,EAAE,CAAC;oBACtC,OAAO;gBACT,CAAC;gBACD,MAAM,OAAO,GAAG,OAAO,CAAC,iBAAiB,CAAC,GAAG,CAAC,CAAC;gBAC/C,IAAI,OAAO,KAAK,SAAS,EAAE,CAAC;oBAC1B,OAAO;gBACT,CAAC;gBACD,MAAM,cAAc,GAAG,OAAO,CAAC,iBAAiB,CAC9C,OAAO,EACP,MAAM,CAAC,IAAI,CAAC,IAAI,CACjB,CAAC;gBACF,IAAI,cAAc,KAAK,SAAS,EAAE,CAAC;oBACjC,OAAO;gBACT,CAAC;gBAED,MAAM,cAAc,GAAG,OAAO,CAAC,yBAAyB,CACtD,cAAc,EACd,MAAM,CAAC,IAAI,CACZ,CAAC;gBAEF,IAAI,2BAA2B,CAAC,OAAO,EAAE,MAAM,CAAC,IAAI,EAAE,cAAc,CAAC,EAAE,CAAC;oBACtE,MAAM,YAAY,GAAG,IAAI,CAAC,KAAoC,CAAC;oBAE/D,IAAI,YAAY,CAAC,UAAU,EAAE,CAAC;wBAC5B,OAAO,CAAC,MAAM,CAAC;4BACb,IAAI,EAAE,YAAY,CAAC,UAAU,CAAC,cAAc;4BAC5C,SAAS,EAAE,oBAAoB;yBAChC,CAAC,CAAC;oBACL,CAAC;yBAAM,CAAC;wBACN,OAAO,CAAC,MAAM,CAAC;4BACb,GAAG,EAAE,IAAA,yBAAkB,EAAC,YAAY,EAAE,OAAO,CAAC,UAAU,CAAC;4BACzD,SAAS,EAAE,oBAAoB;yBAChC,CAAC,CAAC;oBACL,CAAC;gBACH,CAAC;gBACD,OAAO;YACT,CAAC;QACH,CAAC;QAED,SAAS,oBAAoB,CAAC,IAA8B;YAC1D,MAAM,MAAM,GAAG,QAAQ,CAAC,qBAAqB,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC;YACxD,IAAI,MAAM,CAAC,UAAU,KAAK,SAAS,IAAI,IAAI,CAAC,QAAQ,IAAI,IAAI,EAAE,CAAC;gBAC7D,OAAO;YACT,CAAC;YAED,yEAAyE;YACzE,MAAM,YAAY,GAAG,CAAC,GAAG,EAAE;gBACzB,IAAI,OAAO,GAA8B,IAAI,CAAC,MAAM,CAAC;gBACrD,OAAO,OAAO,IAAI,CAAC,IAAA,iBAAU,EAAC,OAAO,CAAC,EAAE,CAAC;oBACvC,OAAO,GAAG,OAAO,CAAC,MAAM,CAAC;gBAC3B,CAAC;gBACD,OAAO,IAAA,iBAAU,EAAC,OAAO,EAAE,wBAAiB,CAAC,aAAa,CAAC,CAAC;YAC9D,CAAC,CAAC,EAAE,CAAC;YAEL,IACE,YAAY,CAAC,UAAU;gBACvB,CAAC,sBAAsB,CAAC,YAAY,CAAC,UAAU,CAAC,EAChD,CAAC;gBACD,OAAO;YACT,CAAC;YAED,MAAM,cAAc,GAAG,OAAO,CAAC,iBAAiB,CAAC,MAAM,CAAC,UAAU,CAAC,CAAC;YACpE,IACE,cAAc,KAAK,SAAS;gBAC5B,2BAA2B,CACzB,OAAO,EACP,MAAM,CAAC,UAAU,EACjB,cAAc,CACf;gBACD,eAAe,CAAC,OAAO,EAAE,MAAM,CAAC,UAAU,CAAC,EAC3C,CAAC;gBACD,OAAO,CAAC,MAAM,CAAC;oBACb,IAAI,EAAE,IAAI,CAAC,QAAQ;oBACnB,SAAS,EAAE,uBAAuB;iBACnC,CAAC,CAAC;YACL,CAAC;QACH,CAAC;QAED,SAAS,6BAA6B,CACpC,IAGmC;YAEnC,MAAM,MAAM,GAAG,QAAQ,CAAC,qBAAqB,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC;YAExD,MAAM,aAAa,GAAG,gBAAgB,CAAC,OAAO,EAAE,MAAM,CAAC,CAAC;YACxD,IAAI,CAAC,aAAa,EAAE,MAAM,EAAE,CAAC;gBAC3B,OAAO;YACT,CAAC;YAED,KAAK,MAAM,UAAU,IAAI,MAAM,CAAC,OAAO,EAAE,CAAC;gBACxC,MAAM,UAAU,GAAG,UAAU,CAAC,IAAI,EAAE,OAAO,EAAE,CAAC;gBAC9C,IAAI,UAAU,KAAK,SAAS,EAAE,CAAC;oBAC7B,2FAA2F;oBAC3F,2CAA2C;oBAC3C,yFAAyF;oBACzF,4EAA4E;oBAC5E,SAAS;gBACX,CAAC;gBACD,IAAI,CAAC,eAAe,CAAC,OAAO,EAAE,UAAU,CAAC,EAAE,CAAC;oBAC1C,SAAS;gBACX,CAAC;gBAED,MAAM,IAAI,GAAG,QAAQ,CAAC,qBAAqB,CAAC,GAAG,CAAC,UAAU,CAAC,CAAC;gBAC5D,IAAI,cAAc,CAAC,IAAI,CAAC,EAAE,CAAC;oBACzB,SAAS;gBACX,CAAC;gBAED,KAAK,MAAM,YAAY,IAAI,aAAa,EAAE,CAAC;oBACzC,uCAAuC,CACrC,UAAU,EACV,YAAY,EACZ,UAAU,CACX,CAAC;gBACJ,CAAC;YACH,CAAC;QACH,CAAC;QAED;;;;;;WAMG;QACH,SAAS,uCAAuC,CAC9C,UAAmB,EACnB,YAAqB,EACrB,UAAkB;YAElB,MAAM,cAAc,GAAG,iBAAiB,CAAC,YAAY,EAAE,UAAU,CAAC,CAAC;YACnE,IAAI,cAAc,KAAK,SAAS,EAAE,CAAC;gBACjC,OAAO;YACT,CAAC;YACD,MAAM,UAAU,GAAG,OAAO,CAAC,yBAAyB,CAClD,cAAc,EACd,UAAU,CACX,CAAC;YACF,IAAI,CAAC,2BAA2B,CAAC,OAAO,EAAE,UAAU,EAAE,UAAU,CAAC,EAAE,CAAC;gBAClE,OAAO;YACT,CAAC;YACD,OAAO,CAAC,MAAM,CAAC;gBACb,IAAI,EAAE,QAAQ,CAAC,qBAAqB,CAAC,GAAG,CAAC,UAAU,CAAC;gBACpD,SAAS,EAAE,2BAA2B;gBACtC,IAAI,EAAE,EAAE,gBAAgB,EAAE,OAAO,CAAC,YAAY,CAAC,YAAY,CAAC,EAAE;aAC/D,CAAC,CAAC;QACL,CAAC;QAED,SAAS,iBAAiB,CAAC,IAA2B;YACpD,IACE,IAAI,CAAC,KAAK,IAAI,IAAI;gBAClB,IAAI,CAAC,KAAK,CAAC,IAAI,KAAK,sBAAc,CAAC,sBAAsB,EACzD,CAAC;gBACD,OAAO;YACT,CAAC;YACD,MAAM,mBAAmB,GAAG,QAAQ,CAAC,qBAAqB,CAAC,GAAG,CAC5D,IAAI,CAAC,KAAK,CACX,CAAC;YACF,MAAM,UAAU,GAAG,QAAQ,CAAC,qBAAqB,CAAC,GAAG,CACnD,IAAI,CAAC,KAAK,CAAC,UAAU,CACtB,CAAC;YACF,MAAM,cAAc,GAAG,OAAO,CAAC,iBAAiB,CAAC,mBAAmB,CAAC,CAAC;YACtE,IACE,cAAc,KAAK,SAAS;gBAC5B,2BAA2B,CACzB,OAAO,EACP,mBAAmB,EACnB,cAAc,CACf;gBACD,eAAe,CAAC,OAAO,EAAE,UAAU,CAAC,EACpC,CAAC;gBACD,OAAO,CAAC,MAAM,CAAC;oBACb,IAAI,EAAE,IAAI,CAAC,KAAK;oBAChB,SAAS,EAAE,qBAAqB;iBACjC,CAAC,CAAC;YACL,CAAC;QACH,CAAC;QAED,SAAS,WAAW,CAAC,IAA4B;YAC/C,MAAM,MAAM,GAAG,QAAQ,CAAC,qBAAqB,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC;YAExD,IAAI,mBAAmB,CAAC,OAAO,EAAE,MAAM,CAAC,UAAU,CAAC,EAAE,CAAC;gBACpD,OAAO,CAAC,MAAM,CAAC;oBACb,IAAI,EAAE,IAAI,CAAC,QAAQ;oBACnB,SAAS,EAAE,QAAQ;iBACpB,CAAC,CAAC;YACL,CAAC;QACH,CAAC;QAED,OAAO;YACL,GAAG,CAAC,kBAAkB,CAAC,CAAC,CAAC,iBAAiB,CAAC,CAAC,CAAC,EAAE,CAAC;YAChD,GAAG,CAAC,gBAAgB,CAAC,CAAC,CAAC,gBAAgB,CAAC,CAAC,CAAC,EAAE,CAAC;YAC7C,GAAG,CAAC,aAAa,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,CAAC,EAAE,CAAC;SACvC,CAAC;IACJ,CAAC;CACF,CAAC,CAAC;AAEH,SAAS,mBAAmB,CAAC,OAAuB,EAAE,IAAa;IACjE,MAAM,IAAI,GAAG,OAAO,CAAC,iBAAiB,CAAC,IAAI,CAAC,CAAC;IAE7C,KAAK,MAAM,OAAO,IAAI,OAAO,CAAC,cAAc,CAAC,OAAO,CAAC,eAAe,CAAC,IAAI,CAAC,CAAC,EAAE,CAAC;QAC5E,IAAI,OAAO,CAAC,cAAc,CAAC,OAAO,EAAE,IAAI,EAAE,OAAO,CAAC,EAAE,CAAC;YACnD,OAAO,IAAI,CAAC;QACd,CAAC;IACH,CAAC;IAED,OAAO,KAAK,CAAC;AACf,CAAC;AAED,8EAA8E;AAC9E,2EAA2E;AAC3E,+EAA+E;AAC/E,wBAAwB;AACxB,SAAS,gBAAgB,CAAC,OAAuB,EAAE,IAAa;IAC9D,MAAM,IAAI,GAAG,OAAO,CAAC,iBAAiB,CAAC,IAAI,CAAC,CAAC;IAE7C,KAAK,MAAM,OAAO,IAAI,OAAO,CAAC,cAAc,CAAC,OAAO,CAAC,eAAe,CAAC,IAAI,CAAC,CAAC,EAAE,CAAC;QAC5E,MAAM,QAAQ,GAAG,OAAO,CAAC,WAAW,CAAC,MAAM,CAAC,CAAC;QAE7C,2EAA2E;QAC3E,SAAS;QACT,IAAI,QAAQ,KAAK,SAAS,EAAE,CAAC;YAC3B,OAAO,KAAK,CAAC;QACf,CAAC;QAED,wEAAwE;QACxE,uEAAuE;QACvE,gDAAgD;QAChD,MAAM,QAAQ,GAAG,OAAO,CAAC,yBAAyB,CAAC,QAAQ,EAAE,IAAI,CAAC,CAAC;QACnE,IAAI,oBAAoB,GAAG,KAAK,CAAC;QACjC,KAAK,MAAM,OAAO,IAAI,OAAO,CAAC,cAAc,CAAC,QAAQ,CAAC,EAAE,CAAC;YACvD,KAAK,MAAM,SAAS,IAAI,OAAO,CAAC,iBAAiB,EAAE,EAAE,CAAC;gBACpD,IACE,SAAS,CAAC,UAAU,CAAC,MAAM,KAAK,CAAC;oBACjC,eAAe,CAAC,OAAO,EAAE,SAAS,CAAC,UAAU,CAAC,CAAC,CAAC,EAAE,IAAI,CAAC,EACvD,CAAC;oBACD,oBAAoB,GAAG,IAAI,CAAC;oBAC5B,MAAM;gBACR,CAAC;YACH,CAAC;YAED,mEAAmE;YACnE,4CAA4C;YAC5C,IAAI,oBAAoB,EAAE,CAAC;gBACzB,MAAM;YACR,CAAC;QACH,CAAC;QAED,yEAAyE;QACzE,8BAA8B;QAC9B,IAAI,CAAC,oBAAoB,EAAE,CAAC;YAC1B,OAAO,KAAK,CAAC;QACf,CAAC;IACH,CAAC;IAED,4EAA4E;IAC5E,qCAAqC;IACrC,OAAO,IAAI,CAAC;AACd,CAAC;AAED,SAAS,eAAe,CACtB,OAAuB,EACvB,KAAgB,EAChB,IAAa;IAEb,MAAM,IAAI,GAAwB,OAAO,CAAC,eAAe,CACvD,OAAO,CAAC,yBAAyB,CAAC,KAAK,EAAE,IAAI,CAAC,CAC/C,CAAC;IACF,KAAK,MAAM,OAAO,IAAI,OAAO,CAAC,cAAc,CAAC,IAAI,CAAC,EAAE,CAAC;QACnD,IAAI,OAAO,CAAC,iBAAiB,EAAE,CAAC,MAAM,KAAK,CAAC,EAAE,CAAC;YAC7C,OAAO,IAAI,CAAC;QACd,CAAC;IACH,CAAC;IACD,OAAO,KAAK,CAAC;AACf,CAAC;AAED,SAAS,2BAA2B,CAClC,OAAuB,EACvB,IAA0C,EAC1C,IAAa,EACb,KAAa,EACb,qBAAkC,EAClC,iBAA8B;IAE9B,IAAI,+BAA+B,CAAC,OAAO,EAAE,IAAI,CAAC,UAAU,EAAE,IAAI,CAAC,EAAE,CAAC;QACpE,qBAAqB,CAAC,GAAG,CAAC,KAAK,CAAC,CAAC;IACnC,CAAC;SAAM,IACL,2BAA2B,CAAC,OAAO,EAAE,IAAI,CAAC,UAAU,EAAE,IAAI,CAAC;QAC3D,gEAAgE;QAChE,wCAAwC;QACxC,CAAC,qBAAqB,CAAC,GAAG,CAAC,KAAK,CAAC,EACjC,CAAC;QACD,iBAAiB,CAAC,GAAG,CAAC,KAAK,CAAC,CAAC;IAC/B,CAAC;IACD,MAAM,cAAc,GAAG,OAAO,CAAC,mCAAmC,CAChE,IAAI,EACJ,KAAK,CACN,CAAC;IACF,IAAI,cAAc,KAAK,IAAI,EAAE,CAAC;QAC5B,2BAA2B,CACzB,OAAO,EACP,IAAI,EACJ,cAAc,EACd,KAAK,EACL,qBAAqB,EACrB,iBAAiB,CAClB,CAAC;IACJ,CAAC;AACH,CAAC;AAED,wEAAwE;AACxE,6EAA6E;AAC7E,yBAAyB;AACzB,2EAA2E;AAC3E,6EAA6E;AAC7E,wCAAwC;AACxC,SAAS,qBAAqB,CAC5B,OAAuB,EACvB,IAA0C;IAE1C,uEAAuE;IACvE,2EAA2E;IAC3E,IAAI,CAAC,IAAI,CAAC,SAAS,EAAE,CAAC;QACpB,OAAO,IAAI,GAAG,EAAU,CAAC;IAC3B,CAAC;IACD,MAAM,qBAAqB,GAAG,IAAI,GAAG,EAAU,CAAC;IAChD,MAAM,iBAAiB,GAAG,IAAI,GAAG,EAAU,CAAC;IAC5C,MAAM,IAAI,GAAG,OAAO,CAAC,iBAAiB,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC;IAExD,wHAAwH;IACxH,2DAA2D;IAE3D,KAAK,MAAM,OAAO,IAAI,OAAO,CAAC,cAAc,CAAC,IAAI,CAAC,EAAE,CAAC;QACnD,2EAA2E;QAC3E,MAAM,UAAU,GAAG,EAAE,CAAC,gBAAgB,CAAC,IAAI,CAAC;YAC1C,CAAC,CAAC,OAAO,CAAC,iBAAiB,EAAE;YAC7B,CAAC,CAAC,OAAO,CAAC,sBAAsB,EAAE,CAAC;QACrC,KAAK,MAAM,SAAS,IAAI,UAAU,EAAE,CAAC;YACnC,KAAK,MAAM,CAAC,KAAK,EAAE,SAAS,CAAC,IAAI,SAAS,CAAC,UAAU,CAAC,OAAO,EAAE,EAAE,CAAC;gBAChE,MAAM,IAAI,GAAG,SAAS,CAAC,gBAAgB,CAAC;gBACxC,IAAI,IAAI,GAAG,OAAO,CAAC,yBAAyB,CAC1C,SAAS,EACT,IAAI,CAAC,UAAU,CAChB,CAAC;gBAEF,yEAAyE;gBACzE,wCAAwC;gBACxC,IAAI,IAAI,IAAI,IAAA,iCAA0B,EAAC,IAAI,CAAC,EAAE,CAAC;oBAC7C,IAAI,OAAO,CAAC,WAAW,CAAC,IAAI,CAAC,EAAE,CAAC;wBAC9B,4DAA4D;wBAC5D,wDAAwD;wBACxD,6BAA6B;wBAC7B,IAAI,GAAG,OAAO,CAAC,gBAAgB,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,CAAC;wBACzC,KAAK,IAAI,CAAC,GAAG,KAAK,EAAE,CAAC,GAAG,IAAI,CAAC,SAAS,CAAC,MAAM,EAAE,CAAC,EAAE,EAAE,CAAC;4BACnD,2BAA2B,CACzB,OAAO,EACP,IAAI,EACJ,IAAI,EACJ,CAAC,EACD,qBAAqB,EACrB,iBAAiB,CAClB,CAAC;wBACJ,CAAC;oBACH,CAAC;yBAAM,IAAI,OAAO,CAAC,WAAW,CAAC,IAAI,CAAC,EAAE,CAAC;wBACrC,0EAA0E;wBAC1E,qEAAqE;wBACrE,MAAM,QAAQ,GAAG,OAAO,CAAC,gBAAgB,CAAC,IAAI,CAAC,CAAC;wBAChD,KACE,IAAI,CAAC,GAAG,KAAK,EACb,CAAC,GAAG,IAAI,CAAC,SAAS,CAAC,MAAM,IAAI,CAAC,GAAG,KAAK,GAAG,QAAQ,CAAC,MAAM,EACxD,CAAC,EAAE,EACH,CAAC;4BACD,2BAA2B,CACzB,OAAO,EACP,IAAI,EACJ,QAAQ,CAAC,CAAC,GAAG,KAAK,CAAC,EACnB,CAAC,EACD,qBAAqB,EACrB,iBAAiB,CAClB,CAAC;wBACJ,CAAC;oBACH,CAAC;gBACH,CAAC;qBAAM,CAAC;oBACN,2BAA2B,CACzB,OAAO,EACP,IAAI,EACJ,IAAI,EACJ,KAAK,EACL,qBAAqB,EACrB,iBAAiB,CAClB,CAAC;gBACJ,CAAC;YACH,CAAC;QACH,CAAC;IACH,CAAC;IAED,KAAK,MAAM,KAAK,IAAI,qBAAqB,EAAE,CAAC;QAC1C,iBAAiB,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC;IAClC,CAAC;IAED,OAAO,iBAAiB,CAAC;AAC3B,CAAC;AAED;;GAEG;AACH,SAAS,0BAA0B,CACjC,OAAuB,EACvB,IAAa,EACb,IAAa;IAEb,KAAK,MAAM,SAAS,IAAI,IAAI,CAAC,iBAAiB,EAAE,EAAE,CAAC;QACjD,MAAM,UAAU,GAAG,SAAS,CAAC,aAAa,EAAE,CAAC;QAC7C,IAAI,OAAO,CAAC,cAAc,CAAC,OAAO,EAAE,IAAI,EAAE,UAAU,CAAC,EAAE,CAAC;YACtD,OAAO,IAAI,CAAC;QACd,CAAC;IACH,CAAC;IAED,OAAO,KAAK,CAAC;AACf,CAAC;AAED;;GAEG;AACH,SAAS,+BAA+B,CACtC,OAAuB,EACvB,IAAa,EACb,IAAa;IAEb,KAAK,MAAM,OAAO,IAAI,OAAO,CAAC,cAAc,CAAC,IAAI,CAAC,EAAE,CAAC;QACnD,IAAI,0BAA0B,CAAC,OAAO,EAAE,IAAI,EAAE,OAAO,CAAC,EAAE,CAAC;YACvD,OAAO,IAAI,CAAC;QACd,CAAC;IACH,CAAC;IAED,OAAO,KAAK,CAAC;AACf,CAAC;AAED;;GAEG;AACH,SAAS,2BAA2B,CAClC,OAAuB,EACvB,IAAa,EACb,IAAa;IAEb,IAAI,aAAa,GAAG,KAAK,CAAC;IAE1B,KAAK,MAAM,OAAO,IAAI,OAAO,CAAC,cAAc,CAAC,IAAI,CAAC,EAAE,CAAC;QACnD,KAAK,MAAM,SAAS,IAAI,OAAO,CAAC,iBAAiB,EAAE,EAAE,CAAC;YACpD,MAAM,UAAU,GAAG,SAAS,CAAC,aAAa,EAAE,CAAC;YAE7C,2EAA2E;YAC3E,wCAAwC;YACxC,IAAI,OAAO,CAAC,cAAc,CAAC,OAAO,EAAE,IAAI,EAAE,UAAU,CAAC,EAAE,CAAC;gBACtD,OAAO,KAAK,CAAC;YACf,CAAC;YAED,aAAa,KAAK,OAAO,CAAC,aAAa,CAAC,UAAU,EAAE,EAAE,CAAC,SAAS,CAAC,IAAI,CAAC,CAAC;QACzE,CAAC;IACH,CAAC;IAED,OAAO,aAAa,CAAC;AACvB,CAAC;AAED;;GAEG;AACH,SAAS,eAAe,CAAC,OAAuB,EAAE,IAAa;IAC7D,MAAM,IAAI,GAAG,OAAO,CAAC,eAAe,CAAC,OAAO,CAAC,iBAAiB,CAAC,IAAI,CAAC,CAAC,CAAC;IACtE,OAAO,OAAO;SACX,cAAc,CAAC,IAAI,CAAC;SACpB,IAAI,CAAC,CAAC,CAAC,EAAE,CAAC,0BAA0B,CAAC,OAAO,EAAE,IAAI,EAAE,CAAC,CAAC,CAAC,CAAC;AAC7D,CAAC;AAED,SAAS,gBAAgB,CACvB,OAAuB,EACvB,MAA0E;IAE1E,OAAO,MAAM,CAAC,eAAe;QAC3B,EAAE,OAAO,CAAC,MAAM,CAAC,EAAE,CAAC,MAAM,CAAC,KAAK,CAAC;SAChC,GAAG,CAAC,cAAc,CAAC,EAAE,CAAC,OAAO,CAAC,iBAAiB,CAAC,cAAc,CAAC,CAAC,CAAC;AACtE,CAAC;AAED;;GAEG;AACH,SAAS,iBAAiB,CACxB,IAAa,EACb,UAAkB;IAElB,MAAM,iBAAiB,GAAG,EAAE,CAAC,wBAAwB,CAAC,UAAU,CAAC,CAAC;IAClE,MAAM,iBAAiB,GAAG,IAAI,CAAC,SAAS,EAAE,EAAE,OAAO,EAAE,GAAG,CAAC,iBAAiB,CAAC,CAAC;IAC5E,OAAO,CACL,iBAAiB,IAAI,OAAO,CAAC,iBAAiB,CAAC,IAAI,EAAE,iBAAiB,CAAC,CACxE,CAAC;AACJ,CAAC;AAED,SAAS,cAAc,CAAC,IAAmB;IACzC,OAAO,CACL,CAAC,IAAI,CAAC,IAAI,KAAK,sBAAc,CAAC,gBAAgB;QAC5C,IAAI,CAAC,IAAI,KAAK,sBAAc,CAAC,kBAAkB,CAAC;QAClD,IAAI,CAAC,MAAM,CACZ,CAAC;AACJ,CAAC"} \ No newline at end of file +{"version":3,"file":"no-misused-promises.js","sourceRoot":"","sources":["../../src/rules/no-misused-promises.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEA,oDAA0D;AAC1D,sDAAwC;AACxC,+CAAiC;AAEjC,kCASiB;AA8BjB,SAAS,qBAAqB,CAC5B,gBAA+D;IAE/D,QAAQ,gBAAgB,EAAE,CAAC;QACzB,KAAK,KAAK;YACR,OAAO,KAAK,CAAC;QAEf,KAAK,IAAI,CAAC;QACV,KAAK,SAAS;YACZ,OAAO;gBACL,SAAS,EAAE,IAAI;gBACf,UAAU,EAAE,IAAI;gBAChB,gBAAgB,EAAE,IAAI;gBACtB,UAAU,EAAE,IAAI;gBAChB,OAAO,EAAE,IAAI;gBACb,SAAS,EAAE,IAAI;aAChB,CAAC;QAEJ;YACE,OAAO;gBACL,SAAS,EAAE,gBAAgB,CAAC,SAAS,IAAI,IAAI;gBAC7C,UAAU,EAAE,gBAAgB,CAAC,UAAU,IAAI,IAAI;gBAC/C,gBAAgB,EAAE,gBAAgB,CAAC,gBAAgB,IAAI,IAAI;gBAC3D,UAAU,EAAE,gBAAgB,CAAC,UAAU,IAAI,IAAI;gBAC/C,OAAO,EAAE,gBAAgB,CAAC,OAAO,IAAI,IAAI;gBACzC,SAAS,EAAE,gBAAgB,CAAC,SAAS,IAAI,IAAI;aAC9C,CAAC;IACN,CAAC;AACH,CAAC;AAED,kBAAe,IAAA,iBAAU,EAAqB;IAC5C,IAAI,EAAE,qBAAqB;IAC3B,IAAI,EAAE;QACJ,IAAI,EAAE,SAAS;QACf,IAAI,EAAE;YACJ,WAAW,EAAE,yDAAyD;YACtE,WAAW,EAAE,aAAa;YAC1B,oBAAoB,EAAE,IAAI;SAC3B;QACD,QAAQ,EAAE;YACR,WAAW,EAAE,sDAAsD;YACnE,SAAS,EAAE,8CAA8C;YACzD,MAAM,EAAE,2DAA2D;YACnE,kBAAkB,EAChB,yEAAyE;YAC3E,mBAAmB,EACjB,oFAAoF;YACtF,yBAAyB,EACvB,2HAA2H;YAC7H,kBAAkB,EAChB,mFAAmF;YACrF,qBAAqB,EACnB,uFAAuF;YACzF,kBAAkB,EAChB,mFAAmF;SACtF;QACD,MAAM,EAAE;YACN;gBACE,IAAI,EAAE,QAAQ;gBACd,oBAAoB,EAAE,KAAK;gBAC3B,UAAU,EAAE;oBACV,kBAAkB,EAAE;wBAClB,IAAI,EAAE,SAAS;wBACf,WAAW,EACT,uEAAuE;qBAC1E;oBACD,aAAa,EAAE;wBACb,IAAI,EAAE,SAAS;wBACf,WAAW,EAAE,mDAAmD;qBACjE;oBACD,gBAAgB,EAAE;wBAChB,WAAW,EACT,uFAAuF;wBACzF,KAAK,EAAE;4BACL;gCACE,IAAI,EAAE,SAAS;gCACf,WAAW,EACT,yDAAyD;6BAC5D;4BACD;gCACE,IAAI,EAAE,QAAQ;gCACd,oBAAoB,EAAE,KAAK;gCAC3B,WAAW,EACT,sDAAsD;gCACxD,UAAU,EAAE;oCACV,SAAS,EAAE;wCACT,IAAI,EAAE,SAAS;wCACf,WAAW,EACT,gIAAgI;qCACnI;oCACD,UAAU,EAAE;wCACV,IAAI,EAAE,SAAS;wCACf,WAAW,EACT,qHAAqH;qCACxH;oCACD,gBAAgB,EAAE;wCAChB,IAAI,EAAE,SAAS;wCACf,WAAW,EACT,oIAAoI;qCACvI;oCACD,UAAU,EAAE;wCACV,IAAI,EAAE,SAAS;wCACf,WAAW,EACT,wHAAwH;qCAC3H;oCACD,OAAO,EAAE;wCACP,IAAI,EAAE,SAAS;wCACf,WAAW,EACT,wHAAwH;qCAC3H;oCACD,SAAS,EAAE;wCACT,IAAI,EAAE,SAAS;wCACf,WAAW,EACT,oHAAoH;qCACvH;iCACF;6BACF;yBACF;qBACF;iBACF;aACF;SACF;KACF;IACD,cAAc,EAAE;QACd;YACE,kBAAkB,EAAE,IAAI;YACxB,aAAa,EAAE,IAAI;YACnB,gBAAgB,EAAE,IAAI;SACvB;KACF;IAED,MAAM,CAAC,OAAO,EAAE,CAAC,EAAE,kBAAkB,EAAE,aAAa,EAAE,gBAAgB,EAAE,CAAC;QACvE,MAAM,QAAQ,GAAG,IAAA,wBAAiB,EAAC,OAAO,CAAC,CAAC;QAC5C,MAAM,OAAO,GAAG,QAAQ,CAAC,OAAO,CAAC,cAAc,EAAE,CAAC;QAElD,MAAM,YAAY,GAAG,IAAI,GAAG,EAAiB,CAAC;QAE9C,MAAM,iBAAiB,GAA0B;YAC/C,mCAAmC,EAAE,oBAAoB;YACzD,qBAAqB,EAAE,oBAAoB;YAC3C,gBAAgB,EAAE,oBAAoB;YACtC,YAAY,EAAE,oBAAoB;YAClC,WAAW,EAAE,oBAAoB;YACjC,iBAAiB,EAAE,gBAAgB;YACnC,+BAA+B,CAAC,IAA8B;gBAC5D,gBAAgB,CAAC,IAAI,CAAC,QAAQ,EAAE,IAAI,CAAC,CAAC;YACxC,CAAC;YACD,cAAc,EAAE,oBAAoB;SACrC,CAAC;QAEF,gBAAgB,GAAG,qBAAqB,CAAC,gBAAgB,CAAC,CAAC;QAE3D,MAAM,gBAAgB,GAA0B,gBAAgB;YAC9D,CAAC,CAAC;gBACE,GAAG,CAAC,gBAAgB,CAAC,SAAS,IAAI;oBAChC,cAAc,EAAE,cAAc;oBAC9B,aAAa,EAAE,cAAc;iBAC9B,CAAC;gBACF,GAAG,CAAC,gBAAgB,CAAC,UAAU,IAAI;oBACjC,YAAY,EAAE,iBAAiB;iBAChC,CAAC;gBACF,GAAG,CAAC,gBAAgB,CAAC,gBAAgB,IAAI;oBACvC,gBAAgB,EAAE,6BAA6B;oBAC/C,eAAe,EAAE,6BAA6B;oBAC9C,sBAAsB,EAAE,6BAA6B;iBACtD,CAAC;gBACF,GAAG,CAAC,gBAAgB,CAAC,UAAU,IAAI;oBACjC,QAAQ,EAAE,aAAa;iBACxB,CAAC;gBACF,GAAG,CAAC,gBAAgB,CAAC,OAAO,IAAI;oBAC9B,eAAe,EAAE,oBAAoB;iBACtC,CAAC;gBACF,GAAG,CAAC,gBAAgB,CAAC,SAAS,IAAI;oBAChC,oBAAoB,EAAE,eAAe;oBACrC,kBAAkB,EAAE,wBAAwB;iBAC7C,CAAC;aACH;YACH,CAAC,CAAC,EAAE,CAAC;QAEP,MAAM,YAAY,GAA0B;YAC1C,aAAa,EAAE,WAAW;SAC3B,CAAC;QAEF;;;WAGG;QACH,SAAS,sBAAsB,CAAC,IAA+B;YAC7D,QAAQ,IAAI,CAAC,cAAc,CAAC,IAAI,EAAE,CAAC;gBACjC,KAAK,sBAAc,CAAC,iBAAiB,CAAC;gBACtC,KAAK,sBAAc,CAAC,iBAAiB,CAAC;gBACtC,KAAK,sBAAc,CAAC,cAAc,CAAC;gBACnC,KAAK,sBAAc,CAAC,YAAY,CAAC;gBACjC,KAAK,sBAAc,CAAC,mBAAmB,CAAC;gBACxC,KAAK,sBAAc,CAAC,WAAW,CAAC;gBAChC,KAAK,sBAAc,CAAC,kBAAkB,CAAC;gBACvC,KAAK,sBAAc,CAAC,eAAe,CAAC;gBACpC,KAAK,sBAAc,CAAC,UAAU,CAAC;gBAC/B,KAAK,sBAAc,CAAC,cAAc,CAAC;gBACnC,KAAK,sBAAc,CAAC,WAAW,CAAC;gBAChC,KAAK,sBAAc,CAAC,eAAe,CAAC;gBACpC,KAAK,sBAAc,CAAC,WAAW;oBAC7B,OAAO,IAAI,CAAC;gBAEd,KAAK,sBAAc,CAAC,aAAa;oBAC/B,OAAO,IAAI,CAAC,cAAc,CAAC,OAAO,CAAC,IAAI,CACrC,MAAM,CAAC,EAAE,CACP,MAAM,CAAC,IAAI,KAAK,sBAAc,CAAC,0BAA0B;wBACzD,MAAM,CAAC,IAAI,KAAK,sBAAc,CAAC,+BAA+B,CACjE,CAAC;gBAEJ,KAAK,sBAAc,CAAC,iBAAiB,CAAC;gBACtC,KAAK,sBAAc,CAAC,YAAY,CAAC;gBACjC,KAAK,sBAAc,CAAC,WAAW,CAAC;gBAChC,KAAK,sBAAc,CAAC,cAAc,CAAC;gBACnC,KAAK,sBAAc,CAAC,eAAe,CAAC;gBACpC,KAAK,sBAAc,CAAC,gBAAgB,CAAC;gBACrC,KAAK,sBAAc,CAAC,gBAAgB,CAAC;gBACrC,KAAK,sBAAc,CAAC,eAAe,CAAC;gBACpC,KAAK,sBAAc,CAAC,kBAAkB,CAAC;gBACvC,KAAK,sBAAc,CAAC,aAAa,CAAC;gBAClC,KAAK,sBAAc,CAAC,YAAY,CAAC;gBACjC,KAAK,sBAAc,CAAC,kBAAkB,CAAC;gBACvC,KAAK,sBAAc,CAAC,cAAc,CAAC;gBACnC,KAAK,sBAAc,CAAC,aAAa,CAAC;gBAClC,KAAK,sBAAc,CAAC,eAAe,CAAC;gBACpC,KAAK,sBAAc,CAAC,eAAe,CAAC;gBACpC,KAAK,sBAAc,CAAC,cAAc,CAAC;gBACnC,KAAK,sBAAc,CAAC,gBAAgB,CAAC;gBACrC,KAAK,sBAAc,CAAC,kBAAkB,CAAC;gBACvC,KAAK,sBAAc,CAAC,eAAe,CAAC;gBACpC,KAAK,sBAAc,CAAC,iBAAiB,CAAC;gBACtC,KAAK,sBAAc,CAAC,UAAU,CAAC;gBAC/B,KAAK,sBAAc,CAAC,eAAe,CAAC;gBACpC,KAAK,sBAAc,CAAC,eAAe,CAAC;gBACpC,KAAK,sBAAc,CAAC,eAAe,CAAC;gBACpC,KAAK,sBAAc,CAAC,qBAAqB,CAAC;gBAC1C,KAAK,sBAAc,CAAC,WAAW,CAAC;gBAChC,KAAK,sBAAc,CAAC,eAAe,CAAC;gBACpC,KAAK,sBAAc,CAAC,kBAAkB,CAAC;gBACvC,KAAK,sBAAc,CAAC,gBAAgB,CAAC;gBACrC,KAAK,sBAAc,CAAC,aAAa;oBAC/B,OAAO,KAAK,CAAC;YACjB,CAAC;QACH,CAAC;QAED,SAAS,oBAAoB,CAC3B,IAK2B;YAE3B,IAAI,IAAI,CAAC,IAAI,EAAE,CAAC;gBACd,gBAAgB,CAAC,IAAI,CAAC,IAAI,EAAE,IAAI,CAAC,CAAC;YACpC,CAAC;QACH,CAAC;QAED;;;;;WAKG;QACH,SAAS,gBAAgB,CACvB,IAAyB,EACzB,UAAU,GAAG,KAAK;YAElB,gDAAgD;YAChD,IAAI,YAAY,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE,CAAC;gBAC3B,OAAO;YACT,CAAC;YACD,YAAY,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC;YAEvB,IAAI,IAAI,CAAC,IAAI,KAAK,sBAAc,CAAC,iBAAiB,EAAE,CAAC;gBACnD,mGAAmG;gBACnG,IAAI,IAAI,CAAC,QAAQ,KAAK,IAAI,IAAI,UAAU,EAAE,CAAC;oBACzC,gBAAgB,CAAC,IAAI,CAAC,IAAI,EAAE,UAAU,CAAC,CAAC;gBAC1C,CAAC;gBACD,yEAAyE;gBACzE,IAAI,UAAU,EAAE,CAAC;oBACf,gBAAgB,CAAC,IAAI,CAAC,KAAK,EAAE,UAAU,CAAC,CAAC;gBAC3C,CAAC;gBACD,OAAO;YACT,CAAC;YACD,MAAM,MAAM,GAAG,QAAQ,CAAC,qBAAqB,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC;YACxD,IAAI,gBAAgB,CAAC,OAAO,EAAE,MAAM,CAAC,EAAE,CAAC;gBACtC,OAAO,CAAC,MAAM,CAAC;oBACb,IAAI;oBACJ,SAAS,EAAE,aAAa;iBACzB,CAAC,CAAC;YACL,CAAC;QACH,CAAC;QAED,SAAS,oBAAoB,CAAC,IAA+B;YAC3D,MAAM,MAAM,GAAG,IAAI,CAAC,MAAM,CAAC;YAC3B,IAAI,MAAM,CAAC,IAAI,KAAK,sBAAc,CAAC,cAAc,EAAE,CAAC;gBAClD,MAAM,QAAQ,GAAG,MAAM,CAAC,SAAS,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC;gBACxC,IACE,QAAQ;oBACR,IAAA,qCAA8B,EAAC,OAAO,EAAE,QAAQ,EAAE,MAAM,CAAC,EACzD,CAAC;oBACD,MAAM,IAAI,GAAG,QAAQ,CAAC,qBAAqB,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAC;oBAC1D,IAAI,eAAe,CAAC,OAAO,EAAE,IAAI,CAAC,EAAE,CAAC;wBACnC,OAAO,CAAC,MAAM,CAAC;4BACb,IAAI,EAAE,QAAQ;4BACd,SAAS,EAAE,WAAW;yBACvB,CAAC,CAAC;oBACL,CAAC;gBACH,CAAC;YACH,CAAC;QACH,CAAC;QAED,SAAS,cAAc,CACrB,IAAsD;YAEtD,MAAM,MAAM,GAAG,QAAQ,CAAC,qBAAqB,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC;YACxD,MAAM,QAAQ,GAAG,qBAAqB,CAAC,OAAO,EAAE,MAAM,CAAC,CAAC;YACxD,IAAI,QAAQ,CAAC,IAAI,KAAK,CAAC,EAAE,CAAC;gBACxB,OAAO;YACT,CAAC;YAED,KAAK,MAAM,CAAC,KAAK,EAAE,QAAQ,CAAC,IAAI,IAAI,CAAC,SAAS,CAAC,OAAO,EAAE,EAAE,CAAC;gBACzD,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,KAAK,CAAC,EAAE,CAAC;oBACzB,SAAS;gBACX,CAAC;gBAED,MAAM,MAAM,GAAG,QAAQ,CAAC,qBAAqB,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAC;gBAC5D,IAAI,eAAe,CAAC,OAAO,EAAE,MAAuB,CAAC,EAAE,CAAC;oBACtD,OAAO,CAAC,MAAM,CAAC;wBACb,IAAI,EAAE,QAAQ;wBACd,SAAS,EAAE,oBAAoB;qBAChC,CAAC,CAAC;gBACL,CAAC;YACH,CAAC;QACH,CAAC;QAED,SAAS,eAAe,CAAC,IAAmC;YAC1D,MAAM,MAAM,GAAG,QAAQ,CAAC,qBAAqB,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC;YACxD,MAAM,OAAO,GAAG,QAAQ,CAAC,iBAAiB,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;YACtD,IAAI,CAAC,2BAA2B,CAAC,OAAO,EAAE,MAAM,CAAC,IAAI,EAAE,OAAO,CAAC,EAAE,CAAC;gBAChE,OAAO;YACT,CAAC;YAED,IAAI,eAAe,CAAC,OAAO,EAAE,MAAM,CAAC,KAAK,CAAC,EAAE,CAAC;gBAC3C,OAAO,CAAC,MAAM,CAAC;oBACb,IAAI,EAAE,IAAI,CAAC,KAAK;oBAChB,SAAS,EAAE,oBAAoB;iBAChC,CAAC,CAAC;YACL,CAAC;QACH,CAAC;QAED,SAAS,wBAAwB,CAAC,IAAiC;YACjE,MAAM,MAAM,GAAG,QAAQ,CAAC,qBAAqB,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC;YACxD,IACE,MAAM,CAAC,WAAW,KAAK,SAAS;gBAChC,IAAI,CAAC,IAAI,IAAI,IAAI;gBACjB,IAAI,CAAC,EAAE,CAAC,cAAc,IAAI,IAAI,EAC9B,CAAC;gBACD,OAAO;YACT,CAAC;YAED,yEAAyE;YACzE,IAAI,CAAC,sBAAsB,CAAC,IAAI,CAAC,EAAE,CAAC,cAAc,CAAC,EAAE,CAAC;gBACpD,OAAO;YACT,CAAC;YAED,MAAM,OAAO,GAAG,QAAQ,CAAC,iBAAiB,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;YACpD,IAAI,CAAC,2BAA2B,CAAC,OAAO,EAAE,MAAM,CAAC,WAAW,EAAE,OAAO,CAAC,EAAE,CAAC;gBACvE,OAAO;YACT,CAAC;YAED,IAAI,eAAe,CAAC,OAAO,EAAE,MAAM,CAAC,WAAW,CAAC,EAAE,CAAC;gBACjD,OAAO,CAAC,MAAM,CAAC;oBACb,IAAI,EAAE,IAAI,CAAC,IAAI;oBACf,SAAS,EAAE,oBAAoB;iBAChC,CAAC,CAAC;YACL,CAAC;QACH,CAAC;QAED,SAAS,aAAa,CAAC,IAAuB;YAC5C,MAAM,MAAM,GAAG,QAAQ,CAAC,qBAAqB,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC;YACxD,IAAI,EAAE,CAAC,oBAAoB,CAAC,MAAM,CAAC,EAAE,CAAC;gBACpC,MAAM,cAAc,GAAG,OAAO,CAAC,iBAAiB,CAAC,MAAM,CAAC,WAAW,CAAC,CAAC;gBACrE,IACE,cAAc,KAAK,SAAS;oBAC5B,2BAA2B,CACzB,OAAO,EACP,MAAM,CAAC,WAAW,EAClB,cAAc,CACf;oBACD,eAAe,CAAC,OAAO,EAAE,MAAM,CAAC,WAAW,CAAC,EAC5C,CAAC;oBACD,IAAI,IAAA,iBAAU,EAAC,IAAI,CAAC,KAAK,CAAC,EAAE,CAAC;wBAC3B,MAAM,YAAY,GAAG,IAAI,CAAC,KAAK,CAAC;wBAChC,IAAI,YAAY,CAAC,UAAU,EAAE,CAAC;4BAC5B,OAAO,CAAC,MAAM,CAAC;gCACb,IAAI,EAAE,YAAY,CAAC,UAAU,CAAC,cAAc;gCAC5C,SAAS,EAAE,oBAAoB;6BAChC,CAAC,CAAC;wBACL,CAAC;6BAAM,CAAC;4BACN,OAAO,CAAC,MAAM,CAAC;gCACb,GAAG,EAAE,IAAA,yBAAkB,EAAC,YAAY,EAAE,OAAO,CAAC,UAAU,CAAC;gCACzD,SAAS,EAAE,oBAAoB;6BAChC,CAAC,CAAC;wBACL,CAAC;oBACH,CAAC;yBAAM,CAAC;wBACN,OAAO,CAAC,MAAM,CAAC;4BACb,IAAI,EAAE,IAAI,CAAC,KAAK;4BAChB,SAAS,EAAE,oBAAoB;yBAChC,CAAC,CAAC;oBACL,CAAC;gBACH,CAAC;YACH,CAAC;iBAAM,IAAI,EAAE,CAAC,6BAA6B,CAAC,MAAM,CAAC,EAAE,CAAC;gBACpD,MAAM,cAAc,GAAG,OAAO,CAAC,iBAAiB,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC;gBAC9D,IACE,cAAc,KAAK,SAAS;oBAC5B,2BAA2B,CAAC,OAAO,EAAE,MAAM,CAAC,IAAI,EAAE,cAAc,CAAC;oBACjE,eAAe,CAAC,OAAO,EAAE,MAAM,CAAC,IAAI,CAAC,EACrC,CAAC;oBACD,OAAO,CAAC,MAAM,CAAC;wBACb,IAAI,EAAE,IAAI,CAAC,KAAK;wBAChB,SAAS,EAAE,oBAAoB;qBAChC,CAAC,CAAC;gBACL,CAAC;YACH,CAAC;iBAAM,IAAI,EAAE,CAAC,mBAAmB,CAAC,MAAM,CAAC,EAAE,CAAC;gBAC1C,IAAI,EAAE,CAAC,sBAAsB,CAAC,MAAM,CAAC,IAAI,CAAC,EAAE,CAAC;oBAC3C,OAAO;gBACT,CAAC;gBACD,MAAM,GAAG,GAAG,MAAM,CAAC,MAAM,CAAC;gBAE1B,+DAA+D;gBAC/D,mCAAmC;gBACnC,+DAA+D;gBAC/D,mEAAmE;gBACnE,+DAA+D;gBAC/D,qDAAqD;gBACrD,IAAI,CAAC,EAAE,CAAC,yBAAyB,CAAC,GAAG,CAAC,EAAE,CAAC;oBACvC,OAAO;gBACT,CAAC;gBAED,IAAI,CAAC,eAAe,CAAC,OAAO,EAAE,MAAM,CAAC,EAAE,CAAC;oBACtC,OAAO;gBACT,CAAC;gBACD,MAAM,OAAO,GAAG,OAAO,CAAC,iBAAiB,CAAC,GAAG,CAAC,CAAC;gBAC/C,IAAI,OAAO,KAAK,SAAS,EAAE,CAAC;oBAC1B,OAAO;gBACT,CAAC;gBACD,MAAM,cAAc,GAAG,OAAO,CAAC,iBAAiB,CAC9C,OAAO,EACP,MAAM,CAAC,IAAI,CAAC,IAAI,CACjB,CAAC;gBACF,IAAI,cAAc,KAAK,SAAS,EAAE,CAAC;oBACjC,OAAO;gBACT,CAAC;gBAED,MAAM,cAAc,GAAG,OAAO,CAAC,yBAAyB,CACtD,cAAc,EACd,MAAM,CAAC,IAAI,CACZ,CAAC;gBAEF,IAAI,2BAA2B,CAAC,OAAO,EAAE,MAAM,CAAC,IAAI,EAAE,cAAc,CAAC,EAAE,CAAC;oBACtE,MAAM,YAAY,GAAG,IAAI,CAAC,KAAoC,CAAC;oBAE/D,IAAI,YAAY,CAAC,UAAU,EAAE,CAAC;wBAC5B,OAAO,CAAC,MAAM,CAAC;4BACb,IAAI,EAAE,YAAY,CAAC,UAAU,CAAC,cAAc;4BAC5C,SAAS,EAAE,oBAAoB;yBAChC,CAAC,CAAC;oBACL,CAAC;yBAAM,CAAC;wBACN,OAAO,CAAC,MAAM,CAAC;4BACb,GAAG,EAAE,IAAA,yBAAkB,EAAC,YAAY,EAAE,OAAO,CAAC,UAAU,CAAC;4BACzD,SAAS,EAAE,oBAAoB;yBAChC,CAAC,CAAC;oBACL,CAAC;gBACH,CAAC;gBACD,OAAO;YACT,CAAC;QACH,CAAC;QAED,SAAS,oBAAoB,CAAC,IAA8B;YAC1D,MAAM,MAAM,GAAG,QAAQ,CAAC,qBAAqB,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC;YACxD,IAAI,MAAM,CAAC,UAAU,KAAK,SAAS,IAAI,IAAI,CAAC,QAAQ,IAAI,IAAI,EAAE,CAAC;gBAC7D,OAAO;YACT,CAAC;YAED,yEAAyE;YACzE,MAAM,YAAY,GAAG,CAAC,GAAG,EAAE;gBACzB,IAAI,OAAO,GAA8B,IAAI,CAAC,MAAM,CAAC;gBACrD,OAAO,OAAO,IAAI,CAAC,IAAA,iBAAU,EAAC,OAAO,CAAC,EAAE,CAAC;oBACvC,OAAO,GAAG,OAAO,CAAC,MAAM,CAAC;gBAC3B,CAAC;gBACD,OAAO,IAAA,iBAAU,EAAC,OAAO,EAAE,wBAAiB,CAAC,aAAa,CAAC,CAAC;YAC9D,CAAC,CAAC,EAAE,CAAC;YAEL,IACE,YAAY,CAAC,UAAU;gBACvB,CAAC,sBAAsB,CAAC,YAAY,CAAC,UAAU,CAAC,EAChD,CAAC;gBACD,OAAO;YACT,CAAC;YAED,MAAM,cAAc,GAAG,OAAO,CAAC,iBAAiB,CAAC,MAAM,CAAC,UAAU,CAAC,CAAC;YACpE,IACE,cAAc,KAAK,SAAS;gBAC5B,2BAA2B,CACzB,OAAO,EACP,MAAM,CAAC,UAAU,EACjB,cAAc,CACf;gBACD,eAAe,CAAC,OAAO,EAAE,MAAM,CAAC,UAAU,CAAC,EAC3C,CAAC;gBACD,OAAO,CAAC,MAAM,CAAC;oBACb,IAAI,EAAE,IAAI,CAAC,QAAQ;oBACnB,SAAS,EAAE,uBAAuB;iBACnC,CAAC,CAAC;YACL,CAAC;QACH,CAAC;QAED,SAAS,6BAA6B,CACpC,IAGmC;YAEnC,MAAM,MAAM,GAAG,QAAQ,CAAC,qBAAqB,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC;YAExD,MAAM,aAAa,GAAG,gBAAgB,CAAC,OAAO,EAAE,MAAM,CAAC,CAAC;YACxD,IAAI,CAAC,aAAa,EAAE,MAAM,EAAE,CAAC;gBAC3B,OAAO;YACT,CAAC;YAED,KAAK,MAAM,UAAU,IAAI,MAAM,CAAC,OAAO,EAAE,CAAC;gBACxC,MAAM,UAAU,GAAG,UAAU,CAAC,IAAI,EAAE,OAAO,EAAE,CAAC;gBAC9C,IAAI,UAAU,KAAK,SAAS,EAAE,CAAC;oBAC7B,2FAA2F;oBAC3F,2CAA2C;oBAC3C,yFAAyF;oBACzF,4EAA4E;oBAC5E,SAAS;gBACX,CAAC;gBACD,IAAI,CAAC,eAAe,CAAC,OAAO,EAAE,UAAU,CAAC,EAAE,CAAC;oBAC1C,SAAS;gBACX,CAAC;gBAED,MAAM,IAAI,GAAG,QAAQ,CAAC,qBAAqB,CAAC,GAAG,CAAC,UAAU,CAAC,CAAC;gBAC5D,IAAI,cAAc,CAAC,IAAI,CAAC,EAAE,CAAC;oBACzB,SAAS;gBACX,CAAC;gBAED,KAAK,MAAM,YAAY,IAAI,aAAa,EAAE,CAAC;oBACzC,uCAAuC,CACrC,UAAU,EACV,YAAY,EACZ,UAAU,CACX,CAAC;gBACJ,CAAC;YACH,CAAC;QACH,CAAC;QAED;;;;;;WAMG;QACH,SAAS,uCAAuC,CAC9C,UAAmB,EACnB,YAAqB,EACrB,UAAkB;YAElB,MAAM,cAAc,GAAG,iBAAiB,CAAC,YAAY,EAAE,UAAU,CAAC,CAAC;YACnE,IAAI,cAAc,KAAK,SAAS,EAAE,CAAC;gBACjC,OAAO;YACT,CAAC;YACD,MAAM,UAAU,GAAG,OAAO,CAAC,yBAAyB,CAClD,cAAc,EACd,UAAU,CACX,CAAC;YACF,IAAI,CAAC,2BAA2B,CAAC,OAAO,EAAE,UAAU,EAAE,UAAU,CAAC,EAAE,CAAC;gBAClE,OAAO;YACT,CAAC;YACD,OAAO,CAAC,MAAM,CAAC;gBACb,IAAI,EAAE,QAAQ,CAAC,qBAAqB,CAAC,GAAG,CAAC,UAAU,CAAC;gBACpD,SAAS,EAAE,2BAA2B;gBACtC,IAAI,EAAE,EAAE,gBAAgB,EAAE,OAAO,CAAC,YAAY,CAAC,YAAY,CAAC,EAAE;aAC/D,CAAC,CAAC;QACL,CAAC;QAED,SAAS,iBAAiB,CAAC,IAA2B;YACpD,IACE,IAAI,CAAC,KAAK,IAAI,IAAI;gBAClB,IAAI,CAAC,KAAK,CAAC,IAAI,KAAK,sBAAc,CAAC,sBAAsB,EACzD,CAAC;gBACD,OAAO;YACT,CAAC;YACD,MAAM,mBAAmB,GAAG,QAAQ,CAAC,qBAAqB,CAAC,GAAG,CAC5D,IAAI,CAAC,KAAK,CACX,CAAC;YACF,MAAM,UAAU,GAAG,QAAQ,CAAC,qBAAqB,CAAC,GAAG,CACnD,IAAI,CAAC,KAAK,CAAC,UAAU,CACtB,CAAC;YACF,MAAM,cAAc,GAAG,OAAO,CAAC,iBAAiB,CAAC,mBAAmB,CAAC,CAAC;YACtE,IACE,cAAc,KAAK,SAAS;gBAC5B,2BAA2B,CACzB,OAAO,EACP,mBAAmB,EACnB,cAAc,CACf;gBACD,eAAe,CAAC,OAAO,EAAE,UAAU,CAAC,EACpC,CAAC;gBACD,OAAO,CAAC,MAAM,CAAC;oBACb,IAAI,EAAE,IAAI,CAAC,KAAK;oBAChB,SAAS,EAAE,qBAAqB;iBACjC,CAAC,CAAC;YACL,CAAC;QACH,CAAC;QAED,SAAS,WAAW,CAAC,IAA4B;YAC/C,MAAM,MAAM,GAAG,QAAQ,CAAC,qBAAqB,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC;YAExD,IAAI,mBAAmB,CAAC,OAAO,EAAE,MAAM,CAAC,UAAU,CAAC,EAAE,CAAC;gBACpD,OAAO,CAAC,MAAM,CAAC;oBACb,IAAI,EAAE,IAAI,CAAC,QAAQ;oBACnB,SAAS,EAAE,QAAQ;iBACpB,CAAC,CAAC;YACL,CAAC;QACH,CAAC;QAED,OAAO;YACL,GAAG,CAAC,kBAAkB,CAAC,CAAC,CAAC,iBAAiB,CAAC,CAAC,CAAC,EAAE,CAAC;YAChD,GAAG,CAAC,gBAAgB,CAAC,CAAC,CAAC,gBAAgB,CAAC,CAAC,CAAC,EAAE,CAAC;YAC7C,GAAG,CAAC,aAAa,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,CAAC,EAAE,CAAC;SACvC,CAAC;IACJ,CAAC;CACF,CAAC,CAAC;AAEH,SAAS,mBAAmB,CAAC,OAAuB,EAAE,IAAa;IACjE,MAAM,IAAI,GAAG,OAAO,CAAC,iBAAiB,CAAC,IAAI,CAAC,CAAC;IAE7C,KAAK,MAAM,OAAO,IAAI,OAAO,CAAC,cAAc,CAAC,OAAO,CAAC,eAAe,CAAC,IAAI,CAAC,CAAC,EAAE,CAAC;QAC5E,IAAI,OAAO,CAAC,cAAc,CAAC,OAAO,EAAE,IAAI,EAAE,OAAO,CAAC,EAAE,CAAC;YACnD,OAAO,IAAI,CAAC;QACd,CAAC;IACH,CAAC;IAED,OAAO,KAAK,CAAC;AACf,CAAC;AAED,8EAA8E;AAC9E,2EAA2E;AAC3E,+EAA+E;AAC/E,wBAAwB;AACxB,SAAS,gBAAgB,CAAC,OAAuB,EAAE,IAAa;IAC9D,MAAM,IAAI,GAAG,OAAO,CAAC,iBAAiB,CAAC,IAAI,CAAC,CAAC;IAE7C,KAAK,MAAM,OAAO,IAAI,OAAO,CAAC,cAAc,CAAC,OAAO,CAAC,eAAe,CAAC,IAAI,CAAC,CAAC,EAAE,CAAC;QAC5E,MAAM,QAAQ,GAAG,OAAO,CAAC,WAAW,CAAC,MAAM,CAAC,CAAC;QAE7C,2EAA2E;QAC3E,SAAS;QACT,IAAI,QAAQ,KAAK,SAAS,EAAE,CAAC;YAC3B,OAAO,KAAK,CAAC;QACf,CAAC;QAED,wEAAwE;QACxE,uEAAuE;QACvE,gDAAgD;QAChD,MAAM,QAAQ,GAAG,OAAO,CAAC,yBAAyB,CAAC,QAAQ,EAAE,IAAI,CAAC,CAAC;QACnE,IAAI,oBAAoB,GAAG,KAAK,CAAC;QACjC,KAAK,MAAM,OAAO,IAAI,OAAO,CAAC,cAAc,CAAC,QAAQ,CAAC,EAAE,CAAC;YACvD,KAAK,MAAM,SAAS,IAAI,OAAO,CAAC,iBAAiB,EAAE,EAAE,CAAC;gBACpD,IACE,SAAS,CAAC,UAAU,CAAC,MAAM,KAAK,CAAC;oBACjC,eAAe,CAAC,OAAO,EAAE,SAAS,CAAC,UAAU,CAAC,CAAC,CAAC,EAAE,IAAI,CAAC,EACvD,CAAC;oBACD,oBAAoB,GAAG,IAAI,CAAC;oBAC5B,MAAM;gBACR,CAAC;YACH,CAAC;YAED,mEAAmE;YACnE,4CAA4C;YAC5C,IAAI,oBAAoB,EAAE,CAAC;gBACzB,MAAM;YACR,CAAC;QACH,CAAC;QAED,yEAAyE;QACzE,8BAA8B;QAC9B,IAAI,CAAC,oBAAoB,EAAE,CAAC;YAC1B,OAAO,KAAK,CAAC;QACf,CAAC;IACH,CAAC;IAED,4EAA4E;IAC5E,qCAAqC;IACrC,OAAO,IAAI,CAAC;AACd,CAAC;AAED,SAAS,eAAe,CACtB,OAAuB,EACvB,KAAgB,EAChB,IAAa;IAEb,MAAM,IAAI,GAAwB,OAAO,CAAC,eAAe,CACvD,OAAO,CAAC,yBAAyB,CAAC,KAAK,EAAE,IAAI,CAAC,CAC/C,CAAC;IACF,KAAK,MAAM,OAAO,IAAI,OAAO,CAAC,cAAc,CAAC,IAAI,CAAC,EAAE,CAAC;QACnD,IAAI,OAAO,CAAC,iBAAiB,EAAE,CAAC,MAAM,KAAK,CAAC,EAAE,CAAC;YAC7C,OAAO,IAAI,CAAC;QACd,CAAC;IACH,CAAC;IACD,OAAO,KAAK,CAAC;AACf,CAAC;AAED,SAAS,2BAA2B,CAClC,OAAuB,EACvB,IAA0C,EAC1C,IAAa,EACb,KAAa,EACb,qBAAkC,EAClC,iBAA8B;IAE9B,IAAI,+BAA+B,CAAC,OAAO,EAAE,IAAI,CAAC,UAAU,EAAE,IAAI,CAAC,EAAE,CAAC;QACpE,qBAAqB,CAAC,GAAG,CAAC,KAAK,CAAC,CAAC;IACnC,CAAC;SAAM,IACL,2BAA2B,CAAC,OAAO,EAAE,IAAI,CAAC,UAAU,EAAE,IAAI,CAAC;QAC3D,gEAAgE;QAChE,wCAAwC;QACxC,CAAC,qBAAqB,CAAC,GAAG,CAAC,KAAK,CAAC,EACjC,CAAC;QACD,iBAAiB,CAAC,GAAG,CAAC,KAAK,CAAC,CAAC;IAC/B,CAAC;IACD,MAAM,cAAc,GAAG,OAAO,CAAC,mCAAmC,CAChE,IAAI,EACJ,KAAK,CACN,CAAC;IACF,IAAI,cAAc,KAAK,IAAI,EAAE,CAAC;QAC5B,2BAA2B,CACzB,OAAO,EACP,IAAI,EACJ,cAAc,EACd,KAAK,EACL,qBAAqB,EACrB,iBAAiB,CAClB,CAAC;IACJ,CAAC;AACH,CAAC;AAED,wEAAwE;AACxE,6EAA6E;AAC7E,yBAAyB;AACzB,2EAA2E;AAC3E,6EAA6E;AAC7E,wCAAwC;AACxC,SAAS,qBAAqB,CAC5B,OAAuB,EACvB,IAA0C;IAE1C,uEAAuE;IACvE,2EAA2E;IAC3E,IAAI,CAAC,IAAI,CAAC,SAAS,EAAE,CAAC;QACpB,OAAO,IAAI,GAAG,EAAU,CAAC;IAC3B,CAAC;IACD,MAAM,qBAAqB,GAAG,IAAI,GAAG,EAAU,CAAC;IAChD,MAAM,iBAAiB,GAAG,IAAI,GAAG,EAAU,CAAC;IAC5C,MAAM,IAAI,GAAG,OAAO,CAAC,iBAAiB,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC;IAExD,wHAAwH;IACxH,2DAA2D;IAE3D,KAAK,MAAM,OAAO,IAAI,OAAO,CAAC,cAAc,CAAC,IAAI,CAAC,EAAE,CAAC;QACnD,2EAA2E;QAC3E,MAAM,UAAU,GAAG,EAAE,CAAC,gBAAgB,CAAC,IAAI,CAAC;YAC1C,CAAC,CAAC,OAAO,CAAC,iBAAiB,EAAE;YAC7B,CAAC,CAAC,OAAO,CAAC,sBAAsB,EAAE,CAAC;QACrC,KAAK,MAAM,SAAS,IAAI,UAAU,EAAE,CAAC;YACnC,KAAK,MAAM,CAAC,KAAK,EAAE,SAAS,CAAC,IAAI,SAAS,CAAC,UAAU,CAAC,OAAO,EAAE,EAAE,CAAC;gBAChE,MAAM,IAAI,GAAG,SAAS,CAAC,gBAAgB,CAAC;gBACxC,IAAI,IAAI,GAAG,OAAO,CAAC,yBAAyB,CAC1C,SAAS,EACT,IAAI,CAAC,UAAU,CAChB,CAAC;gBAEF,yEAAyE;gBACzE,wCAAwC;gBACxC,IAAI,IAAI,IAAI,IAAA,iCAA0B,EAAC,IAAI,CAAC,EAAE,CAAC;oBAC7C,IAAI,OAAO,CAAC,WAAW,CAAC,IAAI,CAAC,EAAE,CAAC;wBAC9B,4DAA4D;wBAC5D,wDAAwD;wBACxD,6BAA6B;wBAC7B,IAAI,GAAG,OAAO,CAAC,gBAAgB,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,CAAC;wBACzC,KAAK,IAAI,CAAC,GAAG,KAAK,EAAE,CAAC,GAAG,IAAI,CAAC,SAAS,CAAC,MAAM,EAAE,CAAC,EAAE,EAAE,CAAC;4BACnD,2BAA2B,CACzB,OAAO,EACP,IAAI,EACJ,IAAI,EACJ,CAAC,EACD,qBAAqB,EACrB,iBAAiB,CAClB,CAAC;wBACJ,CAAC;oBACH,CAAC;yBAAM,IAAI,OAAO,CAAC,WAAW,CAAC,IAAI,CAAC,EAAE,CAAC;wBACrC,0EAA0E;wBAC1E,qEAAqE;wBACrE,MAAM,QAAQ,GAAG,OAAO,CAAC,gBAAgB,CAAC,IAAI,CAAC,CAAC;wBAChD,KACE,IAAI,CAAC,GAAG,KAAK,EACb,CAAC,GAAG,IAAI,CAAC,SAAS,CAAC,MAAM,IAAI,CAAC,GAAG,KAAK,GAAG,QAAQ,CAAC,MAAM,EACxD,CAAC,EAAE,EACH,CAAC;4BACD,2BAA2B,CACzB,OAAO,EACP,IAAI,EACJ,QAAQ,CAAC,CAAC,GAAG,KAAK,CAAC,EACnB,CAAC,EACD,qBAAqB,EACrB,iBAAiB,CAClB,CAAC;wBACJ,CAAC;oBACH,CAAC;gBACH,CAAC;qBAAM,CAAC;oBACN,2BAA2B,CACzB,OAAO,EACP,IAAI,EACJ,IAAI,EACJ,KAAK,EACL,qBAAqB,EACrB,iBAAiB,CAClB,CAAC;gBACJ,CAAC;YACH,CAAC;QACH,CAAC;IACH,CAAC;IAED,KAAK,MAAM,KAAK,IAAI,qBAAqB,EAAE,CAAC;QAC1C,iBAAiB,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC;IAClC,CAAC;IAED,OAAO,iBAAiB,CAAC;AAC3B,CAAC;AAED;;GAEG;AACH,SAAS,0BAA0B,CACjC,OAAuB,EACvB,IAAa,EACb,IAAa;IAEb,KAAK,MAAM,SAAS,IAAI,IAAI,CAAC,iBAAiB,EAAE,EAAE,CAAC;QACjD,MAAM,UAAU,GAAG,SAAS,CAAC,aAAa,EAAE,CAAC;QAC7C,IAAI,OAAO,CAAC,cAAc,CAAC,OAAO,EAAE,IAAI,EAAE,UAAU,CAAC,EAAE,CAAC;YACtD,OAAO,IAAI,CAAC;QACd,CAAC;IACH,CAAC;IAED,OAAO,KAAK,CAAC;AACf,CAAC;AAED;;GAEG;AACH,SAAS,+BAA+B,CACtC,OAAuB,EACvB,IAAa,EACb,IAAa;IAEb,KAAK,MAAM,OAAO,IAAI,OAAO,CAAC,cAAc,CAAC,IAAI,CAAC,EAAE,CAAC;QACnD,IAAI,0BAA0B,CAAC,OAAO,EAAE,IAAI,EAAE,OAAO,CAAC,EAAE,CAAC;YACvD,OAAO,IAAI,CAAC;QACd,CAAC;IACH,CAAC;IAED,OAAO,KAAK,CAAC;AACf,CAAC;AAED;;GAEG;AACH,SAAS,2BAA2B,CAClC,OAAuB,EACvB,IAAa,EACb,IAAa;IAEb,IAAI,aAAa,GAAG,KAAK,CAAC;IAE1B,KAAK,MAAM,OAAO,IAAI,OAAO,CAAC,cAAc,CAAC,IAAI,CAAC,EAAE,CAAC;QACnD,KAAK,MAAM,SAAS,IAAI,OAAO,CAAC,iBAAiB,EAAE,EAAE,CAAC;YACpD,MAAM,UAAU,GAAG,SAAS,CAAC,aAAa,EAAE,CAAC;YAE7C,2EAA2E;YAC3E,wCAAwC;YACxC,IAAI,OAAO,CAAC,cAAc,CAAC,OAAO,EAAE,IAAI,EAAE,UAAU,CAAC,EAAE,CAAC;gBACtD,OAAO,KAAK,CAAC;YACf,CAAC;YAED,aAAa,KAAK,OAAO,CAAC,aAAa,CAAC,UAAU,EAAE,EAAE,CAAC,SAAS,CAAC,IAAI,CAAC,CAAC;QACzE,CAAC;IACH,CAAC;IAED,OAAO,aAAa,CAAC;AACvB,CAAC;AAED;;GAEG;AACH,SAAS,eAAe,CAAC,OAAuB,EAAE,IAAa;IAC7D,MAAM,IAAI,GAAG,OAAO,CAAC,eAAe,CAAC,OAAO,CAAC,iBAAiB,CAAC,IAAI,CAAC,CAAC,CAAC;IACtE,OAAO,OAAO;SACX,cAAc,CAAC,IAAI,CAAC;SACpB,IAAI,CAAC,CAAC,CAAC,EAAE,CAAC,0BAA0B,CAAC,OAAO,EAAE,IAAI,EAAE,CAAC,CAAC,CAAC,CAAC;AAC7D,CAAC;AAED,SAAS,gBAAgB,CACvB,OAAuB,EACvB,MAA0E;IAE1E,OAAO,MAAM,CAAC,eAAe;QAC3B,EAAE,OAAO,CAAC,MAAM,CAAC,EAAE,CAAC,MAAM,CAAC,KAAK,CAAC;SAChC,GAAG,CAAC,cAAc,CAAC,EAAE,CAAC,OAAO,CAAC,iBAAiB,CAAC,cAAc,CAAC,CAAC,CAAC;AACtE,CAAC;AAED;;GAEG;AACH,SAAS,iBAAiB,CACxB,IAAa,EACb,UAAkB;IAElB,MAAM,iBAAiB,GAAG,EAAE,CAAC,wBAAwB,CAAC,UAAU,CAAC,CAAC;IAClE,MAAM,iBAAiB,GAAG,IAAI,CAAC,SAAS,EAAE,EAAE,OAAO,EAAE,GAAG,CAAC,iBAAiB,CAAC,CAAC;IAC5E,OAAO,CACL,iBAAiB,IAAI,OAAO,CAAC,iBAAiB,CAAC,IAAI,EAAE,iBAAiB,CAAC,CACxE,CAAC;AACJ,CAAC;AAED,SAAS,cAAc,CAAC,IAAmB;IACzC,OAAO,CACL,CAAC,IAAI,CAAC,IAAI,KAAK,sBAAc,CAAC,gBAAgB;QAC5C,IAAI,CAAC,IAAI,KAAK,sBAAc,CAAC,kBAAkB,CAAC;QAClD,IAAI,CAAC,MAAM,CACZ,CAAC;AACJ,CAAC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-mixed-enums.js b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-mixed-enums.js index 6763d33dde..a67731ba94 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-mixed-enums.js +++ b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-mixed-enums.js @@ -15,13 +15,23 @@ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? ( }) : function(o, v) { o["default"] = v; }); -var __importStar = (this && this.__importStar) || function (mod) { - if (mod && mod.__esModule) return mod; - var result = {}; - if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k); - __setModuleDefault(result, mod); - return result; -}; +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); Object.defineProperty(exports, "__esModule", { value: true }); const scope_manager_1 = require("@typescript-eslint/scope-manager"); const utils_1 = require("@typescript-eslint/utils"); diff --git a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-mixed-enums.js.map b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-mixed-enums.js.map index 9f2b4833aa..46fb3966f5 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-mixed-enums.js.map +++ b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-mixed-enums.js.map @@ -1 +1 @@ -{"version":3,"file":"no-mixed-enums.js","sourceRoot":"","sources":["../../src/rules/no-mixed-enums.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AAGA,oEAAkE;AAClE,oDAA0D;AAC1D,sDAAwC;AACxC,+CAAiC;AAEjC,kCAAwD;AAExD,IAAK,WAIJ;AAJD,WAAK,WAAW;IACd,iDAAM,CAAA;IACN,iDAAM,CAAA;IACN,mDAAO,CAAA;AACT,CAAC,EAJI,WAAW,KAAX,WAAW,QAIf;AAED,kBAAe,IAAA,iBAAU,EAAC;IACxB,IAAI,EAAE,gBAAgB;IACtB,IAAI,EAAE;QACJ,IAAI,EAAE,SAAS;QACf,IAAI,EAAE;YACJ,WAAW,EAAE,2DAA2D;YACxE,WAAW,EAAE,QAAQ;YACrB,oBAAoB,EAAE,IAAI;SAC3B;QACD,QAAQ,EAAE;YACR,KAAK,EAAE,kDAAkD;SAC1D;QACD,MAAM,EAAE,EAAE;KACX;IACD,cAAc,EAAE,EAAE;IAClB,MAAM,CAAC,OAAO;QACZ,MAAM,cAAc,GAAG,IAAA,wBAAiB,EAAC,OAAO,CAAC,CAAC;QAClD,MAAM,WAAW,GAAG,cAAc,CAAC,OAAO,CAAC,cAAc,EAAE,CAAC;QAO5D,SAAS,sBAAsB,CAC7B,IAAgC;YAEhC,MAAM,EAAE,IAAI,EAAE,GAAG,IAAI,CAAC,EAAE,CAAC;YACzB,MAAM,KAAK,GAAyB;gBAClC,OAAO,EAAE,EAAE;gBACX,eAAe,EAAE,SAAS;aAC3B,CAAC;YACF,IAAI,KAAK,GAAiB,OAAO,CAAC,UAAU,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC;YAE5D,KAAK,MAAM,UAAU,IAAI,KAAK,CAAC,KAAK,EAAE,GAAG,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE,IAAI,IAAI,EAAE,EAAE,CAAC;gBAChE,IACE,UAAU,CAAC,IAAI,CAAC,IAAI,KAAK,sBAAc,CAAC,iBAAiB;oBACzD,UAAU,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,GAAG,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC;oBACxC,UAAU,CAAC,IAAI,CAAC,IAAI,CAAC,OAAO,CAAC,MAAM,GAAG,CAAC,EACvC,CAAC;oBACD,KAAK,CAAC,eAAe,GAAG,UAAU,CAAC,IAAI,CAAC;oBACxC,MAAM;gBACR,CAAC;YACH,CAAC;YAED,OAAO,KAAK,EAAE,CAAC;gBACb,KAAK,CAAC,GAAG,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE,IAAI,CAAC,OAAO,CAAC,UAAU,CAAC,EAAE;oBAC7C,IAAI,UAAU,CAAC,IAAI,KAAK,8BAAc,CAAC,aAAa,EAAE,CAAC;wBACrD,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,UAAU,CAAC,IAAI,CAAC,CAAC;oBACtC,CAAC;gBACH,CAAC,CAAC,CAAC;gBAEH,KAAK,GAAG,KAAK,CAAC,KAAK,CAAC;YACtB,CAAC;YAED,OAAO,KAAK,CAAC;QACf,CAAC;QAED,SAAS,qBAAqB,CAAC,IAAa;YAC1C,OAAO,OAAO,CAAC,aAAa,CAC1B,WAAW,CAAC,iBAAiB,CAAC,IAAI,CAAC,EACnC,EAAE,CAAC,SAAS,CAAC,UAAU,CACxB;gBACC,CAAC,CAAC,WAAW,CAAC,MAAM;gBACpB,CAAC,CAAC,WAAW,CAAC,MAAM,CAAC;QACzB,CAAC;QAED,SAAS,mBAAmB,CAC1B,QAAuB;YAEvB,MAAM,IAAI,GAAG,WAAW,CAAC,iBAAiB,CACxC,cAAc,CAAC,qBAAqB,CAAC,GAAG,CAAC,QAAQ,CAAC,CACnD,CAAC;YAEF,MAAM,gBAAgB,GAAG,IAAI,CAAC,SAAS,EAAE,EAAE,gBAAgB,CAAC;YAC5D,IACE,CAAC,gBAAgB;gBACjB,CAAC,EAAE,CAAC,iBAAiB,CAAC,gBAAgB,CAAC;gBACvC,gBAAgB,CAAC,OAAO,CAAC,MAAM,KAAK,CAAC,EACrC,CAAC;gBACD,OAAO,SAAS,CAAC;YACnB,CAAC;YAED,OAAO,qBAAqB,CAAC,gBAAgB,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,CAAC;QAC5D,CAAC;QAED,SAAS,aAAa,CAAC,MAA6B;YAClD,IAAI,CAAC,MAAM,CAAC,WAAW,EAAE,CAAC;gBACxB,OAAO,WAAW,CAAC,MAAM,CAAC;YAC5B,CAAC;YAED,QAAQ,MAAM,CAAC,WAAW,CAAC,IAAI,EAAE,CAAC;gBAChC,KAAK,sBAAc,CAAC,OAAO;oBACzB,QAAQ,OAAO,MAAM,CAAC,WAAW,CAAC,KAAK,EAAE,CAAC;wBACxC,KAAK,QAAQ;4BACX,OAAO,WAAW,CAAC,MAAM,CAAC;wBAC5B,KAAK,QAAQ;4BACX,OAAO,WAAW,CAAC,MAAM,CAAC;wBAC5B;4BACE,OAAO,WAAW,CAAC,OAAO,CAAC;oBAC/B,CAAC;gBAEH,KAAK,sBAAc,CAAC,eAAe;oBACjC,OAAO,WAAW,CAAC,MAAM,CAAC;gBAE5B;oBACE,OAAO,qBAAqB,CAC1B,cAAc,CAAC,qBAAqB,CAAC,GAAG,CAAC,MAAM,CAAC,WAAW,CAAC,CAC7D,CAAC;YACN,CAAC;QACH,CAAC;QAED,SAAS,2BAA2B,CAClC,IAAgC;YAEhC,MAAM,EAAE,OAAO,EAAE,eAAe,EAAE,GAAG,sBAAsB,CAAC,IAAI,CAAC,CAAC;YAElE,iDAAiD;YACjD,yCAAyC;YACzC,kCAAkC;YAClC,sBAAsB;YACtB,IAAI;YACJ,KAAK,MAAM,QAAQ,IAAI,OAAO,EAAE,CAAC;gBAC/B,MAAM,gBAAgB,GAAG,mBAAmB,CAAC,QAAQ,CAAC,CAAC;gBACvD,IAAI,gBAAgB,KAAK,SAAS,EAAE,CAAC;oBACnC,OAAO,gBAAgB,CAAC;gBAC1B,CAAC;YACH,CAAC;YAED,oDAAoD;YACpD,oBAAoB;YACpB,oBAAoB;YACpB,IAAI,eAAe,EAAE,CAAC;gBACpB,OAAO,aAAa,CAAC,eAAe,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,CAAC;YACxD,CAAC;YAED,sCAAsC;YACtC,0BAA0B;YAC1B,6BAA6B;YAC7B,IAAI;YACJ,0BAA0B;YAC1B,6BAA6B;YAC7B,IAAI;YACJ,IACE,IAAI,CAAC,MAAM,CAAC,IAAI,KAAK,sBAAc,CAAC,sBAAsB;gBAC1D,IAAI,CAAC,MAAM,CAAC,MAAM,CAAC,IAAI,KAAK,sBAAc,CAAC,aAAa,EACxD,CAAC;gBACD,qEAAqE;gBACrE,oEAAoE;gBACpE,qDAAqD;gBACrD,iEAAiE;gBACjE,MAAM,MAAM,GAAG,cAAc,CAAC,qBAAqB,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;gBACjE,oEAAoE;gBACpE,MAAM,YAAY,GAAG,WAAW;qBAC7B,mBAAmB,CAAC,MAAM,CAAE;qBAC5B,eAAe,EAAG,CAAC;gBAEtB,MAAM,CAAC,EAAE,WAAW,EAAE,CAAC,GAAI,YAAY,CAAC,CAAC,CAAwB;qBAC9D,OAAO,CAAC;gBACX,OAAO,WAAW;oBAChB,OAAO,CAAC,aAAa,CACnB,WAAW,CAAC,iBAAiB,CAAC,WAAW,CAAC,EAC1C,EAAE,CAAC,SAAS,CAAC,UAAU,CACxB;oBACD,CAAC,CAAC,WAAW,CAAC,MAAM;oBACpB,CAAC,CAAC,WAAW,CAAC,MAAM,CAAC;YACzB,CAAC;YAED,2DAA2D;YAC3D,OAAO,aAAa,CAAC,IAAI,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,CAAC;QAC7C,CAAC;QAED,OAAO;YACL,iBAAiB,CAAC,IAAI;gBACpB,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,OAAO,CAAC,MAAM,EAAE,CAAC;oBAC9B,OAAO;gBACT,CAAC;gBAED,IAAI,WAAW,GAAG,2BAA2B,CAAC,IAAI,CAAC,CAAC;gBACpD,IAAI,WAAW,KAAK,EAAE,CAAC,SAAS,CAAC,OAAO,EAAE,CAAC;oBACzC,OAAO;gBACT,CAAC;gBAED,KAAK,MAAM,MAAM,IAAI,IAAI,CAAC,IAAI,CAAC,OAAO,EAAE,CAAC;oBACvC,MAAM,WAAW,GAAG,aAAa,CAAC,MAAM,CAAC,CAAC;oBAC1C,IAAI,WAAW,KAAK,WAAW,CAAC,OAAO,EAAE,CAAC;wBACxC,OAAO;oBACT,CAAC;oBAED,IAAI,WAAW,KAAK,WAAW,CAAC,MAAM,EAAE,CAAC;wBACvC,WAAW,KAAK,WAAW,CAAC;oBAC9B,CAAC;oBAED,IAAI,WAAW,KAAK,WAAW,EAAE,CAAC;wBAChC,OAAO,CAAC,MAAM,CAAC;4BACb,IAAI,EAAE,MAAM,CAAC,WAAW,IAAI,MAAM;4BAClC,SAAS,EAAE,OAAO;yBACnB,CAAC,CAAC;wBACH,OAAO;oBACT,CAAC;gBACH,CAAC;YACH,CAAC;SACF,CAAC;IACJ,CAAC;CACF,CAAC,CAAC"} \ No newline at end of file +{"version":3,"file":"no-mixed-enums.js","sourceRoot":"","sources":["../../src/rules/no-mixed-enums.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAGA,oEAAkE;AAClE,oDAA0D;AAC1D,sDAAwC;AACxC,+CAAiC;AAEjC,kCAAwD;AAExD,IAAK,WAIJ;AAJD,WAAK,WAAW;IACd,iDAAM,CAAA;IACN,iDAAM,CAAA;IACN,mDAAO,CAAA;AACT,CAAC,EAJI,WAAW,KAAX,WAAW,QAIf;AAED,kBAAe,IAAA,iBAAU,EAAC;IACxB,IAAI,EAAE,gBAAgB;IACtB,IAAI,EAAE;QACJ,IAAI,EAAE,SAAS;QACf,IAAI,EAAE;YACJ,WAAW,EAAE,2DAA2D;YACxE,WAAW,EAAE,QAAQ;YACrB,oBAAoB,EAAE,IAAI;SAC3B;QACD,QAAQ,EAAE;YACR,KAAK,EAAE,kDAAkD;SAC1D;QACD,MAAM,EAAE,EAAE;KACX;IACD,cAAc,EAAE,EAAE;IAClB,MAAM,CAAC,OAAO;QACZ,MAAM,cAAc,GAAG,IAAA,wBAAiB,EAAC,OAAO,CAAC,CAAC;QAClD,MAAM,WAAW,GAAG,cAAc,CAAC,OAAO,CAAC,cAAc,EAAE,CAAC;QAO5D,SAAS,sBAAsB,CAC7B,IAAgC;YAEhC,MAAM,EAAE,IAAI,EAAE,GAAG,IAAI,CAAC,EAAE,CAAC;YACzB,MAAM,KAAK,GAAyB;gBAClC,OAAO,EAAE,EAAE;gBACX,eAAe,EAAE,SAAS;aAC3B,CAAC;YACF,IAAI,KAAK,GAAiB,OAAO,CAAC,UAAU,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC;YAE5D,KAAK,MAAM,UAAU,IAAI,KAAK,CAAC,KAAK,EAAE,GAAG,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE,IAAI,IAAI,EAAE,EAAE,CAAC;gBAChE,IACE,UAAU,CAAC,IAAI,CAAC,IAAI,KAAK,sBAAc,CAAC,iBAAiB;oBACzD,UAAU,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,GAAG,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC;oBACxC,UAAU,CAAC,IAAI,CAAC,IAAI,CAAC,OAAO,CAAC,MAAM,GAAG,CAAC,EACvC,CAAC;oBACD,KAAK,CAAC,eAAe,GAAG,UAAU,CAAC,IAAI,CAAC;oBACxC,MAAM;gBACR,CAAC;YACH,CAAC;YAED,OAAO,KAAK,EAAE,CAAC;gBACb,KAAK,CAAC,GAAG,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE,IAAI,CAAC,OAAO,CAAC,UAAU,CAAC,EAAE;oBAC7C,IAAI,UAAU,CAAC,IAAI,KAAK,8BAAc,CAAC,aAAa,EAAE,CAAC;wBACrD,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,UAAU,CAAC,IAAI,CAAC,CAAC;oBACtC,CAAC;gBACH,CAAC,CAAC,CAAC;gBAEH,KAAK,GAAG,KAAK,CAAC,KAAK,CAAC;YACtB,CAAC;YAED,OAAO,KAAK,CAAC;QACf,CAAC;QAED,SAAS,qBAAqB,CAAC,IAAa;YAC1C,OAAO,OAAO,CAAC,aAAa,CAC1B,WAAW,CAAC,iBAAiB,CAAC,IAAI,CAAC,EACnC,EAAE,CAAC,SAAS,CAAC,UAAU,CACxB;gBACC,CAAC,CAAC,WAAW,CAAC,MAAM;gBACpB,CAAC,CAAC,WAAW,CAAC,MAAM,CAAC;QACzB,CAAC;QAED,SAAS,mBAAmB,CAC1B,QAAuB;YAEvB,MAAM,IAAI,GAAG,WAAW,CAAC,iBAAiB,CACxC,cAAc,CAAC,qBAAqB,CAAC,GAAG,CAAC,QAAQ,CAAC,CACnD,CAAC;YAEF,MAAM,gBAAgB,GAAG,IAAI,CAAC,SAAS,EAAE,EAAE,gBAAgB,CAAC;YAC5D,IACE,CAAC,gBAAgB;gBACjB,CAAC,EAAE,CAAC,iBAAiB,CAAC,gBAAgB,CAAC;gBACvC,gBAAgB,CAAC,OAAO,CAAC,MAAM,KAAK,CAAC,EACrC,CAAC;gBACD,OAAO,SAAS,CAAC;YACnB,CAAC;YAED,OAAO,qBAAqB,CAAC,gBAAgB,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,CAAC;QAC5D,CAAC;QAED,SAAS,aAAa,CAAC,MAA6B;YAClD,IAAI,CAAC,MAAM,CAAC,WAAW,EAAE,CAAC;gBACxB,OAAO,WAAW,CAAC,MAAM,CAAC;YAC5B,CAAC;YAED,QAAQ,MAAM,CAAC,WAAW,CAAC,IAAI,EAAE,CAAC;gBAChC,KAAK,sBAAc,CAAC,OAAO;oBACzB,QAAQ,OAAO,MAAM,CAAC,WAAW,CAAC,KAAK,EAAE,CAAC;wBACxC,KAAK,QAAQ;4BACX,OAAO,WAAW,CAAC,MAAM,CAAC;wBAC5B,KAAK,QAAQ;4BACX,OAAO,WAAW,CAAC,MAAM,CAAC;wBAC5B;4BACE,OAAO,WAAW,CAAC,OAAO,CAAC;oBAC/B,CAAC;gBAEH,KAAK,sBAAc,CAAC,eAAe;oBACjC,OAAO,WAAW,CAAC,MAAM,CAAC;gBAE5B;oBACE,OAAO,qBAAqB,CAC1B,cAAc,CAAC,qBAAqB,CAAC,GAAG,CAAC,MAAM,CAAC,WAAW,CAAC,CAC7D,CAAC;YACN,CAAC;QACH,CAAC;QAED,SAAS,2BAA2B,CAClC,IAAgC;YAEhC,MAAM,EAAE,OAAO,EAAE,eAAe,EAAE,GAAG,sBAAsB,CAAC,IAAI,CAAC,CAAC;YAElE,iDAAiD;YACjD,yCAAyC;YACzC,kCAAkC;YAClC,sBAAsB;YACtB,IAAI;YACJ,KAAK,MAAM,QAAQ,IAAI,OAAO,EAAE,CAAC;gBAC/B,MAAM,gBAAgB,GAAG,mBAAmB,CAAC,QAAQ,CAAC,CAAC;gBACvD,IAAI,gBAAgB,KAAK,SAAS,EAAE,CAAC;oBACnC,OAAO,gBAAgB,CAAC;gBAC1B,CAAC;YACH,CAAC;YAED,oDAAoD;YACpD,oBAAoB;YACpB,oBAAoB;YACpB,IAAI,eAAe,EAAE,CAAC;gBACpB,OAAO,aAAa,CAAC,eAAe,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,CAAC;YACxD,CAAC;YAED,sCAAsC;YACtC,0BAA0B;YAC1B,6BAA6B;YAC7B,IAAI;YACJ,0BAA0B;YAC1B,6BAA6B;YAC7B,IAAI;YACJ,IACE,IAAI,CAAC,MAAM,CAAC,IAAI,KAAK,sBAAc,CAAC,sBAAsB;gBAC1D,IAAI,CAAC,MAAM,CAAC,MAAM,CAAC,IAAI,KAAK,sBAAc,CAAC,aAAa,EACxD,CAAC;gBACD,qEAAqE;gBACrE,oEAAoE;gBACpE,qDAAqD;gBACrD,iEAAiE;gBACjE,MAAM,MAAM,GAAG,cAAc,CAAC,qBAAqB,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;gBACjE,oEAAoE;gBACpE,MAAM,YAAY,GAAG,WAAW;qBAC7B,mBAAmB,CAAC,MAAM,CAAE;qBAC5B,eAAe,EAAG,CAAC;gBAEtB,MAAM,CAAC,EAAE,WAAW,EAAE,CAAC,GAAI,YAAY,CAAC,CAAC,CAAwB;qBAC9D,OAAO,CAAC;gBACX,OAAO,WAAW;oBAChB,OAAO,CAAC,aAAa,CACnB,WAAW,CAAC,iBAAiB,CAAC,WAAW,CAAC,EAC1C,EAAE,CAAC,SAAS,CAAC,UAAU,CACxB;oBACD,CAAC,CAAC,WAAW,CAAC,MAAM;oBACpB,CAAC,CAAC,WAAW,CAAC,MAAM,CAAC;YACzB,CAAC;YAED,2DAA2D;YAC3D,OAAO,aAAa,CAAC,IAAI,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,CAAC;QAC7C,CAAC;QAED,OAAO;YACL,iBAAiB,CAAC,IAAI;gBACpB,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,OAAO,CAAC,MAAM,EAAE,CAAC;oBAC9B,OAAO;gBACT,CAAC;gBAED,IAAI,WAAW,GAAG,2BAA2B,CAAC,IAAI,CAAC,CAAC;gBACpD,IAAI,WAAW,KAAK,EAAE,CAAC,SAAS,CAAC,OAAO,EAAE,CAAC;oBACzC,OAAO;gBACT,CAAC;gBAED,KAAK,MAAM,MAAM,IAAI,IAAI,CAAC,IAAI,CAAC,OAAO,EAAE,CAAC;oBACvC,MAAM,WAAW,GAAG,aAAa,CAAC,MAAM,CAAC,CAAC;oBAC1C,IAAI,WAAW,KAAK,WAAW,CAAC,OAAO,EAAE,CAAC;wBACxC,OAAO;oBACT,CAAC;oBAED,IAAI,WAAW,KAAK,WAAW,CAAC,MAAM,EAAE,CAAC;wBACvC,WAAW,KAAK,WAAW,CAAC;oBAC9B,CAAC;oBAED,IAAI,WAAW,KAAK,WAAW,EAAE,CAAC;wBAChC,OAAO,CAAC,MAAM,CAAC;4BACb,IAAI,EAAE,MAAM,CAAC,WAAW,IAAI,MAAM;4BAClC,SAAS,EAAE,OAAO;yBACnB,CAAC,CAAC;wBACH,OAAO;oBACT,CAAC;gBACH,CAAC;YACH,CAAC;SACF,CAAC;IACJ,CAAC;CACF,CAAC,CAAC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-redundant-type-constituents.js b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-redundant-type-constituents.js index cbfd235320..c43290bf43 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-redundant-type-constituents.js +++ b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-redundant-type-constituents.js @@ -15,13 +15,23 @@ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? ( }) : function(o, v) { o["default"] = v; }); -var __importStar = (this && this.__importStar) || function (mod) { - if (mod && mod.__esModule) return mod; - var result = {}; - if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k); - __setModuleDefault(result, mod); - return result; -}; +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); Object.defineProperty(exports, "__esModule", { value: true }); const utils_1 = require("@typescript-eslint/utils"); const tsutils = __importStar(require("ts-api-utils")); diff --git a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-redundant-type-constituents.js.map b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-redundant-type-constituents.js.map index 6821bb5d58..9aa63e2938 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-redundant-type-constituents.js.map +++ b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-redundant-type-constituents.js.map @@ -1 +1 @@ -{"version":3,"file":"no-redundant-type-constituents.js","sourceRoot":"","sources":["../../src/rules/no-redundant-type-constituents.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AAAA,oDAAoE;AACpE,sDAAwC;AACxC,+CAAiC;AAEjC,kCAUiB;AAEjB,MAAM,2BAA2B,GAAG;IAClC,CAAC,EAAE,CAAC,SAAS,CAAC,aAAa,CAAC,EAAE,EAAE,CAAC,SAAS,CAAC,MAAM;IACjD,CAAC,EAAE,CAAC,SAAS,CAAC,cAAc,CAAC,EAAE,EAAE,CAAC,SAAS,CAAC,OAAO;IACnD,CAAC,EAAE,CAAC,SAAS,CAAC,aAAa,CAAC,EAAE,EAAE,CAAC,SAAS,CAAC,MAAM;IACjD,CAAC,EAAE,CAAC,SAAS,CAAC,aAAa,CAAC,EAAE,EAAE,CAAC,SAAS,CAAC,MAAM;IACjD,CAAC,EAAE,CAAC,SAAS,CAAC,eAAe,CAAC,EAAE,EAAE,CAAC,SAAS,CAAC,MAAM;CAC3C,CAAC;AAEX,MAAM,gBAAgB,GAAG;IACvB,EAAE,CAAC,SAAS,CAAC,aAAa;IAC1B,EAAE,CAAC,SAAS,CAAC,cAAc;IAC3B,EAAE,CAAC,SAAS,CAAC,aAAa;IAC1B,EAAE,CAAC,SAAS,CAAC,aAAa;IAC1B,EAAE,CAAC,SAAS,CAAC,eAAe;CACpB,CAAC;AAEX,MAAM,kBAAkB,GAAG;IACzB,EAAE,CAAC,SAAS,CAAC,MAAM;IACnB,EAAE,CAAC,SAAS,CAAC,OAAO;IACpB,EAAE,CAAC,SAAS,CAAC,MAAM;IACnB,EAAE,CAAC,SAAS,CAAC,MAAM;CACX,CAAC;AAEX,MAAM,sBAAsB,GAAG;IAC7B,CAAC,EAAE,CAAC,SAAS,CAAC,MAAM,CAAC,EAAE,QAAQ;IAC/B,CAAC,EAAE,CAAC,SAAS,CAAC,OAAO,CAAC,EAAE,SAAS;IACjC,CAAC,EAAE,CAAC,SAAS,CAAC,MAAM,CAAC,EAAE,QAAQ;IAC/B,CAAC,EAAE,CAAC,SAAS,CAAC,MAAM,CAAC,EAAE,QAAQ;CACvB,CAAC;AAEX,MAAM,sBAAsB,GAAG;IAC7B,MAAM,EAAE,EAAE,CAAC,SAAS,CAAC,aAAa;IAClC,OAAO,EAAE,EAAE,CAAC,SAAS,CAAC,cAAc;IACpC,MAAM,EAAE,EAAE,CAAC,SAAS,CAAC,aAAa;IAClC,MAAM,EAAE,EAAE,CAAC,SAAS,CAAC,aAAa;CAC1B,CAAC;AAEX,MAAM,yBAAyB,GAAG,IAAI,GAAG,CAAC;IACxC,CAAC,gBAAQ,CAAC,cAAc,CAAC,YAAY,EAAE,EAAE,CAAC,SAAS,CAAC,GAAG,CAAC;IACxD,CAAC,gBAAQ,CAAC,cAAc,CAAC,eAAe,EAAE,EAAE,CAAC,SAAS,CAAC,MAAM,CAAC;IAC9D,CAAC,gBAAQ,CAAC,cAAc,CAAC,gBAAgB,EAAE,EAAE,CAAC,SAAS,CAAC,OAAO,CAAC;IAChE,CAAC,gBAAQ,CAAC,cAAc,CAAC,cAAc,EAAE,EAAE,CAAC,SAAS,CAAC,KAAK,CAAC;IAC5D,CAAC,gBAAQ,CAAC,cAAc,CAAC,eAAe,EAAE,EAAE,CAAC,SAAS,CAAC,MAAM,CAAC;IAC9D,CAAC,gBAAQ,CAAC,cAAc,CAAC,eAAe,EAAE,EAAE,CAAC,SAAS,CAAC,MAAM,CAAC;IAC9D,CAAC,gBAAQ,CAAC,cAAc,CAAC,gBAAgB,EAAE,EAAE,CAAC,SAAS,CAAC,OAAO,CAAC;CACjE,CAAC,CAAC;AAcH,SAAS,aAAa,CACpB,GAAsB,EACtB,GAAQ,EACR,KAAY;IAEZ,MAAM,QAAQ,GAAG,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC;IAE9B,IAAI,QAAQ,EAAE,CAAC;QACb,QAAQ,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;IACvB,CAAC;SAAM,CAAC;QACN,GAAG,CAAC,GAAG,CAAC,GAAG,EAAE,CAAC,KAAK,CAAC,CAAC,CAAC;IACxB,CAAC;AACH,CAAC;AAED,SAAS,mBAAmB,CAAC,IAAa;IACxC,IAAI,IAAI,CAAC,eAAe,EAAE,EAAE,CAAC;QAC3B,OAAO,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;IACpC,CAAC;IAED,IAAI,IAAA,8BAAuB,EAAC,IAAI,CAAC,EAAE,CAAC;QAClC,OAAO,GAAG,IAAI,CAAC,KAAK,CAAC,QAAQ,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,GAAG,IAAI,CAAC,KAAK,CAAC,WAAW,GAAG,CAAC;IACvE,CAAC;IAED,IAAI,IAAI,CAAC,SAAS,EAAE,EAAE,CAAC;QACrB,gEAAgE;QAChE,OAAO,IAAI,CAAC,KAAK,CAAC,QAAQ,EAAE,CAAC;IAC/B,CAAC;IAED,IAAI,OAAO,CAAC,oBAAoB,CAAC,IAAI,CAAC,IAAI,IAAI,CAAC,WAAW,EAAE,CAAC;QAC3D,OAAO,IAAI,CAAC,WAAW,CAAC,WAAW,CAAC,QAAQ,EAAE,CAAC;IACjD,CAAC;IAED,IAAI,IAAA,oBAAa,EAAC,IAAI,CAAC,EAAE,CAAC;QACxB,OAAO,KAAK,CAAC;IACf,CAAC;IAED,IAAI,IAAA,sBAAe,EAAC,IAAI,CAAC,EAAE,CAAC;QAC1B,OAAO,OAAO,CAAC;IACjB,CAAC;IAED,IAAI,IAAA,wBAAiB,EAAC,IAAI,CAAC,EAAE,CAAC;QAC5B,OAAO,SAAS,CAAC;IACnB,CAAC;IAED,IAAI,IAAA,gCAAyB,EAAC,IAAI,CAAC,EAAE,CAAC;QACpC,OAAO,uBAAuB,CAAC;IACjC,CAAC;IAED,IAAI,IAAA,8BAAuB,EAAC,IAAI,CAAC,EAAE,CAAC;QAClC,OAAO,GAAG,IAAI,CAAC,KAAK,CAAC,QAAQ,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,GAAG,IAAI,CAAC,KAAK,CAAC,WAAW,GAAG,CAAC;IACvE,CAAC;IAED,IAAI,OAAO,CAAC,iBAAiB,CAAC,IAAI,CAAC,EAAE,CAAC;QACpC,OAAO,MAAM,CAAC;IAChB,CAAC;IAED,IAAI,OAAO,CAAC,kBAAkB,CAAC,IAAI,CAAC,EAAE,CAAC;QACrC,OAAO,OAAO,CAAC;IACjB,CAAC;IAED,OAAO,cAAc,CAAC;AACxB,CAAC;AAED,SAAS,uBAAuB,CAAC,QAA2B;IAC1D,QAAQ,QAAQ,CAAC,IAAI,EAAE,CAAC;QACtB,KAAK,sBAAc,CAAC,YAAY;YAC9B,OAAO,KAAK,CAAC;QACf,KAAK,sBAAc,CAAC,gBAAgB;YAClC,OAAO,SAAS,CAAC;QACnB,KAAK,sBAAc,CAAC,cAAc;YAChC,OAAO,OAAO,CAAC;QACjB,KAAK,sBAAc,CAAC,eAAe;YACjC,OAAO,QAAQ,CAAC;QAClB,KAAK,sBAAc,CAAC,eAAe;YACjC,OAAO,QAAQ,CAAC;QAClB,KAAK,sBAAc,CAAC,gBAAgB;YAClC,OAAO,SAAS,CAAC;QACnB,KAAK,sBAAc,CAAC,aAAa;YAC/B,QAAQ,QAAQ,CAAC,OAAO,CAAC,IAAI,EAAE,CAAC;gBAC9B,KAAK,gBAAQ,CAAC,cAAc,CAAC,OAAO;oBAClC,QAAQ,OAAO,QAAQ,CAAC,OAAO,CAAC,KAAK,EAAE,CAAC;wBACtC,KAAK,QAAQ;4BACX,OAAO,GAAG,QAAQ,CAAC,OAAO,CAAC,KAAK,GAAG,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,GAC7C,QAAQ,CAAC,OAAO,CAAC,KACnB,GAAG,CAAC;wBACN,KAAK,QAAQ;4BACX,OAAO,IAAI,CAAC,SAAS,CAAC,QAAQ,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC;wBAChD;4BACE,OAAO,GAAG,QAAQ,CAAC,OAAO,CAAC,KAAK,EAAE,CAAC;oBACvC,CAAC;gBACH,KAAK,gBAAQ,CAAC,cAAc,CAAC,eAAe;oBAC1C,OAAO,uBAAuB,CAAC;YACnC,CAAC;IACL,CAAC;IAED,OAAO,cAAc,CAAC;AACxB,CAAC;AAED,SAAS,sBAAsB,CAAC,IAA0B;IACxD,OAAO,CAAC,CAAC,CACP,IAAI,CAAC,MAAM,CAAC,IAAI,KAAK,sBAAc,CAAC,gBAAgB;QACpD,IAAA,+BAAwB,EAAC,IAAI,CAAC,MAAM,CAAC,MAAM,CAAC,CAC7C,CAAC;AACJ,CAAC;AAED;;GAEG;AACH,SAAS,2BAA2B,CAAC,IAAa;IAChD,OAAO,IAAI,CAAC,OAAO,EAAE;QACnB,IAAI,CAAC,KAAK,CAAC,MAAM,KAAK,CAAC;QACvB,OAAO,CAAC,kBAAkB,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC;QACzC,OAAO,CAAC,iBAAiB,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC;QACxC,CAAC,CAAC,CAAC,IAAI,CAAC;QACR,CAAC,CAAC,OAAO,CAAC,cAAc,CAAC,IAAI,CAAC,CAAC;AACnC,CAAC;AAED,kBAAe,IAAA,iBAAU,EAAC;IACxB,IAAI,EAAE,gCAAgC;IACtC,IAAI,EAAE;QACJ,IAAI,EAAE,YAAY;QAClB,IAAI,EAAE;YACJ,WAAW,EACT,2FAA2F;YAC7F,WAAW,EAAE,aAAa;YAC1B,oBAAoB,EAAE,IAAI;SAC3B;QACD,QAAQ,EAAE;YACR,kBAAkB,EAAE,gHAAgH;YACpI,iBAAiB,EAAE,gEAAgE;YACnF,UAAU,EAAE,yEAAyE;YACrF,SAAS,EAAE,sEAAsE;YACjF,mBAAmB,EAAE,2EAA2E;SACjG;QACD,MAAM,EAAE,EAAE;KACX;IACD,cAAc,EAAE,EAAE;IAClB,MAAM,CAAC,OAAO;QACZ,MAAM,QAAQ,GAAG,IAAA,wBAAiB,EAAC,OAAO,CAAC,CAAC;QAC5C,MAAM,UAAU,GAAG,IAAI,GAAG,EAA0C,CAAC;QAErE,SAAS,wBAAwB,CAC/B,QAA2B;YAE3B,MAAM,gBAAgB,GAAG,yBAAyB,CAAC,GAAG,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC;YACtE,IAAI,gBAAgB,EAAE,CAAC;gBACrB,OAAO;oBACL;wBACE,SAAS,EAAE,gBAAgB;wBAC3B,QAAQ,EAAE,uBAAuB,CAAC,QAAQ,CAAC;qBAC5C;iBACF,CAAC;YACJ,CAAC;YAED,IACE,QAAQ,CAAC,IAAI,KAAK,sBAAc,CAAC,aAAa;gBAC9C,QAAQ,CAAC,OAAO,CAAC,IAAI,KAAK,sBAAc,CAAC,OAAO,EAChD,CAAC;gBACD,OAAO;oBACL;wBACE,SAAS,EACP,sBAAsB,CACpB,OAAO,QAAQ,CAAC,OAAO;6BACpB,KAA4C,CAChD;wBACH,QAAQ,EAAE,uBAAuB,CAAC,QAAQ,CAAC;qBAC5C;iBACF,CAAC;YACJ,CAAC;YAED,IAAI,QAAQ,CAAC,IAAI,KAAK,sBAAc,CAAC,WAAW,EAAE,CAAC;gBACjD,OAAO,QAAQ,CAAC,KAAK,CAAC,OAAO,CAAC,wBAAwB,CAAC,CAAC;YAC1D,CAAC;YAED,MAAM,QAAQ,GAAG,QAAQ,CAAC,iBAAiB,CAAC,QAAQ,CAAC,CAAC;YACtD,MAAM,SAAS,GAAG,2BAA2B,CAAC,QAAQ,CAAC,CAAC;YAExD,OAAO,SAAS,CAAC,GAAG,CAAC,QAAQ,CAAC,EAAE,CAAC,CAAC;gBAChC,SAAS,EAAE,QAAQ,CAAC,KAAK;gBACzB,QAAQ,EAAE,mBAAmB,CAAC,QAAQ,CAAC;aACxC,CAAC,CAAC,CAAC;QACN,CAAC;QAED,SAAS,8BAA8B,CACrC,QAA2B;YAE3B,MAAM,QAAQ,GAAG,UAAU,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAC;YAC1C,IAAI,QAAQ,EAAE,CAAC;gBACb,OAAO,QAAQ,CAAC;YAClB,CAAC;YAED,MAAM,OAAO,GAAG,wBAAwB,CAAC,QAAQ,CAAC,CAAC;YACnD,UAAU,CAAC,GAAG,CAAC,QAAQ,EAAE,OAAO,CAAC,CAAC;YAClC,OAAO,OAAO,CAAC;QACjB,CAAC;QAED,OAAO;YACL,yBAAyB,CAAC,IAAiC;gBACzD,MAAM,gBAAgB,GAAG,IAAI,GAAG,EAA+B,CAAC;gBAChE,MAAM,kBAAkB,GAAG,IAAI,GAAG,EAG/B,CAAC;gBACJ,MAAM,cAAc,GAAG,IAAI,GAAG,EAG3B,CAAC;gBAEJ,SAAS,kCAAkC,CACzC,EAAE,SAAS,EAAE,QAAQ,EAAqB,EAC1C,QAA2B;oBAE3B,KAAK,MAAM,CAAC,SAAS,EAAE,SAAS,CAAC,IAAI;wBACnC,CAAC,WAAW,EAAE,EAAE,CAAC,SAAS,CAAC,GAAG,CAAC;wBAC/B,CAAC,WAAW,EAAE,EAAE,CAAC,SAAS,CAAC,KAAK,CAAC;wBACjC,CAAC,YAAY,EAAE,EAAE,CAAC,SAAS,CAAC,OAAO,CAAC;qBAC5B,EAAE,CAAC;wBACX,IAAI,SAAS,KAAK,SAAS,EAAE,CAAC;4BAC5B,OAAO,CAAC,MAAM,CAAC;gCACb,IAAI,EAAE,QAAQ;gCACd,SAAS,EACP,SAAS,KAAK,EAAE,CAAC,SAAS,CAAC,GAAG,IAAI,QAAQ,KAAK,KAAK;oCAClD,CAAC,CAAC,oBAAoB;oCACtB,CAAC,CAAC,SAAS;gCACf,IAAI,EAAE;oCACJ,SAAS,EAAE,cAAc;oCACzB,QAAQ;iCACT;6BACF,CAAC,CAAC;4BACH,OAAO,IAAI,CAAC;wBACd,CAAC;oBACH,CAAC;oBAED,OAAO,KAAK,CAAC;gBACf,CAAC;gBAED,KAAK,MAAM,QAAQ,IAAI,IAAI,CAAC,KAAK,EAAE,CAAC;oBAClC,MAAM,aAAa,GAAG,8BAA8B,CAAC,QAAQ,CAAC,CAAC;oBAE/D,KAAK,MAAM,QAAQ,IAAI,aAAa,EAAE,CAAC;wBACrC,IAAI,kCAAkC,CAAC,QAAQ,EAAE,QAAQ,CAAC,EAAE,CAAC;4BAC3D,SAAS;wBACX,CAAC;wBAED,KAAK,MAAM,eAAe,IAAI,gBAAgB,EAAE,CAAC;4BAC/C,IAAI,QAAQ,CAAC,SAAS,KAAK,eAAe,EAAE,CAAC;gCAC3C,aAAa,CACX,gBAAgB,EAChB,2BAA2B,CAAC,eAAe,CAAC,EAC5C,QAAQ,CAAC,QAAQ,CAClB,CAAC;gCACF,MAAM;4BACR,CAAC;wBACH,CAAC;wBAED,KAAK,MAAM,iBAAiB,IAAI,kBAAkB,EAAE,CAAC;4BACnD,IAAI,QAAQ,CAAC,SAAS,KAAK,iBAAiB,EAAE,CAAC;gCAC7C,aAAa,CAAC,kBAAkB,EAAE,iBAAiB,EAAE,QAAQ,CAAC,CAAC;4BACjE,CAAC;wBACH,CAAC;oBACH,CAAC;oBACD,iIAAiI;oBACjI,IAAI,aAAa,CAAC,MAAM,IAAI,CAAC,EAAE,CAAC;wBAC9B,cAAc,CAAC,GAAG,CAAC,QAAQ,EAAE,aAAa,CAAC,CAAC;oBAC9C,CAAC;gBACH,CAAC;gBACD;;;;;;;mBAOG;gBACH,MAAM,0BAA0B,GAAG,GAAc,EAAE;oBACjD,KAAK,MAAM,CAAC,OAAO,EAAE,UAAU,CAAC,IAAI,cAAc,EAAE,CAAC;wBACnD,IAAI,SAAS,GAAuB,SAAS,CAAC;wBAC9C,KAAK,MAAM,EAAE,SAAS,EAAE,IAAI,UAAU,EAAE,CAAC;4BACvC,IACE,kBAAkB,CAAC,GAAG,CACpB,2BAA2B,CACzB,SAAqD,CACtD,CACF,EACD,CAAC;gCACD,SAAS;oCACP,2BAA2B,CACzB,SAAqD,CACtD,CAAC;4BACN,CAAC;iCAAM,CAAC;gCACN,SAAS,GAAG,SAAS,CAAC;gCACtB,MAAM;4BACR,CAAC;wBACH,CAAC;wBACD,IAAI,MAAM,CAAC,SAAS,CAAC,SAAS,CAAC,EAAE,CAAC;4BAChC,OAAO,CAAC,MAAM,CAAC;gCACb,IAAI,EAAE,OAAO;gCACb,SAAS,EAAE,qBAAqB;gCAChC,IAAI,EAAE;oCACJ,OAAO,EAAE,UAAU,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC;oCAC1D,SAAS,EACP,sBAAsB,CACpB,SAAgD,CACjD;iCACJ;6BACF,CAAC,CAAC;wBACL,CAAC;oBACH,CAAC;gBACH,CAAC,CAAC;gBACF,IAAI,cAAc,CAAC,IAAI,GAAG,CAAC,EAAE,CAAC;oBAC5B,0BAA0B,EAAE,CAAC;oBAC7B,OAAO;gBACT,CAAC;gBACD,2DAA2D;gBAC3D,sDAAsD;gBACtD,iDAAiD;gBACjD,KAAK,MAAM,CAAC,iBAAiB,EAAE,SAAS,CAAC,IAAI,kBAAkB,EAAE,CAAC;oBAChE,MAAM,mBAAmB,GAAG,gBAAgB,CAAC,GAAG,CAAC,iBAAiB,CAAC,CAAC;oBACpE,IAAI,mBAAmB,EAAE,CAAC;wBACxB,KAAK,MAAM,QAAQ,IAAI,SAAS,EAAE,CAAC;4BACjC,OAAO,CAAC,MAAM,CAAC;gCACb,IAAI,EAAE,QAAQ;gCACd,SAAS,EAAE,qBAAqB;gCAChC,IAAI,EAAE;oCACJ,OAAO,EAAE,mBAAmB,CAAC,IAAI,CAAC,KAAK,CAAC;oCACxC,SAAS,EAAE,sBAAsB,CAAC,iBAAiB,CAAC;iCACrD;6BACF,CAAC,CAAC;wBACL,CAAC;oBACH,CAAC;gBACH,CAAC;YACH,CAAC;YACD,kBAAkB,CAAC,IAA0B;gBAC3C,MAAM,gBAAgB,GAAG,IAAI,GAAG,EAG7B,CAAC;gBACJ,MAAM,kBAAkB,GAAG,IAAI,GAAG,EAAqB,CAAC;gBAExD,SAAS,2BAA2B,CAClC,EAAE,SAAS,EAAE,QAAQ,EAAqB,EAC1C,QAA2B;oBAE3B,KAAK,MAAM,SAAS,IAAI;wBACtB,EAAE,CAAC,SAAS,CAAC,GAAG;wBAChB,EAAE,CAAC,SAAS,CAAC,OAAO;qBACZ,EAAE,CAAC;wBACX,IAAI,SAAS,KAAK,SAAS,EAAE,CAAC;4BAC5B,OAAO,CAAC,MAAM,CAAC;gCACb,IAAI,EAAE,QAAQ;gCACd,SAAS,EACP,SAAS,KAAK,EAAE,CAAC,SAAS,CAAC,GAAG,IAAI,QAAQ,KAAK,KAAK;oCAClD,CAAC,CAAC,oBAAoB;oCACtB,CAAC,CAAC,WAAW;gCACjB,IAAI,EAAE;oCACJ,SAAS,EAAE,OAAO;oCAClB,QAAQ;iCACT;6BACF,CAAC,CAAC;4BACH,OAAO,IAAI,CAAC;wBACd,CAAC;oBACH,CAAC;oBAED,IACE,SAAS,KAAK,EAAE,CAAC,SAAS,CAAC,KAAK;wBAChC,CAAC,sBAAsB,CAAC,IAAI,CAAC,EAC7B,CAAC;wBACD,OAAO,CAAC,MAAM,CAAC;4BACb,IAAI,EAAE,QAAQ;4BACd,SAAS,EAAE,YAAY;4BACvB,IAAI,EAAE;gCACJ,SAAS,EAAE,OAAO;gCAClB,QAAQ,EAAE,OAAO;6BAClB;yBACF,CAAC,CAAC;wBACH,OAAO,IAAI,CAAC;oBACd,CAAC;oBAED,OAAO,KAAK,CAAC;gBACf,CAAC;gBAED,KAAK,MAAM,QAAQ,IAAI,IAAI,CAAC,KAAK,EAAE,CAAC;oBAClC,MAAM,aAAa,GAAG,8BAA8B,CAAC,QAAQ,CAAC,CAAC;oBAE/D,KAAK,MAAM,QAAQ,IAAI,aAAa,EAAE,CAAC;wBACrC,IAAI,2BAA2B,CAAC,QAAQ,EAAE,QAAQ,CAAC,EAAE,CAAC;4BACpD,SAAS;wBACX,CAAC;wBAED,KAAK,MAAM,eAAe,IAAI,gBAAgB,EAAE,CAAC;4BAC/C,IAAI,QAAQ,CAAC,SAAS,KAAK,eAAe,EAAE,CAAC;gCAC3C,aAAa,CACX,gBAAgB,EAChB,2BAA2B,CAAC,eAAe,CAAC,EAC5C;oCACE,YAAY,EAAE,QAAQ,CAAC,QAAQ;oCAC/B,QAAQ;iCACT,CACF,CAAC;gCACF,MAAM;4BACR,CAAC;wBACH,CAAC;wBAED,KAAK,MAAM,iBAAiB,IAAI,kBAAkB,EAAE,CAAC;4BACnD,IAAI,CAAC,QAAQ,CAAC,SAAS,GAAG,iBAAiB,CAAC,KAAK,CAAC,EAAE,CAAC;gCACnD,kBAAkB,CAAC,GAAG,CAAC,iBAAiB,CAAC,CAAC;4BAC5C,CAAC;wBACH,CAAC;oBACH,CAAC;gBACH,CAAC;gBAOD,MAAM,mBAAmB,GAAG,IAAI,GAAG,EAGhC,CAAC;gBAEJ,yDAAyD;gBACzD,wDAAwD;gBACxD,yEAAyE;gBACzE,KAAK,MAAM,CAAC,iBAAiB,EAAE,iBAAiB,CAAC,IAAI,gBAAgB,EAAE,CAAC;oBACtE,IAAI,kBAAkB,CAAC,GAAG,CAAC,iBAAiB,CAAC,EAAE,CAAC;wBAC9C,KAAK,MAAM,EAAE,YAAY,EAAE,QAAQ,EAAE,IAAI,iBAAiB,EAAE,CAAC;4BAC3D,aAAa,CAAC,mBAAmB,EAAE,QAAQ,EAAE;gCAC3C,YAAY;gCACZ,iBAAiB;6BAClB,CAAC,CAAC;wBACL,CAAC;oBACH,CAAC;gBACH,CAAC;gBAED,+DAA+D;gBAC/D,gDAAgD;gBAChD,wDAAwD;gBACxD,KAAK,MAAM,CAAC,QAAQ,EAAE,iBAAiB,CAAC,IAAI,mBAAmB,EAAE,CAAC;oBAChE,MAAM,OAAO,GAAG,IAAA,wBAAiB,EAC/B,iBAAiB,EACjB,IAAI,CAAC,EAAE,CAAC,IAAI,CAAC,iBAAiB,CAC/B,CAAC;oBAEF,KAAK,MAAM,CAAC,iBAAiB,EAAE,KAAK,CAAC,IAAI,OAAO,EAAE,CAAC;wBACjD,OAAO,CAAC,MAAM,CAAC;4BACb,IAAI,EAAE,QAAQ;4BACd,SAAS,EAAE,mBAAmB;4BAC9B,IAAI,EAAE;gCACJ,OAAO,EAAE,KAAK,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE,CAAC,IAAI,CAAC,YAAY,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC;gCACzD,SAAS,EAAE,sBAAsB,CAAC,iBAAiB,CAAC;6BACrD;yBACF,CAAC,CAAC;oBACL,CAAC;gBACH,CAAC;YACH,CAAC;SACF,CAAC;IACJ,CAAC;CACF,CAAC,CAAC"} \ No newline at end of file +{"version":3,"file":"no-redundant-type-constituents.js","sourceRoot":"","sources":["../../src/rules/no-redundant-type-constituents.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,oDAAoE;AACpE,sDAAwC;AACxC,+CAAiC;AAEjC,kCAUiB;AAEjB,MAAM,2BAA2B,GAAG;IAClC,CAAC,EAAE,CAAC,SAAS,CAAC,aAAa,CAAC,EAAE,EAAE,CAAC,SAAS,CAAC,MAAM;IACjD,CAAC,EAAE,CAAC,SAAS,CAAC,cAAc,CAAC,EAAE,EAAE,CAAC,SAAS,CAAC,OAAO;IACnD,CAAC,EAAE,CAAC,SAAS,CAAC,aAAa,CAAC,EAAE,EAAE,CAAC,SAAS,CAAC,MAAM;IACjD,CAAC,EAAE,CAAC,SAAS,CAAC,aAAa,CAAC,EAAE,EAAE,CAAC,SAAS,CAAC,MAAM;IACjD,CAAC,EAAE,CAAC,SAAS,CAAC,eAAe,CAAC,EAAE,EAAE,CAAC,SAAS,CAAC,MAAM;CAC3C,CAAC;AAEX,MAAM,gBAAgB,GAAG;IACvB,EAAE,CAAC,SAAS,CAAC,aAAa;IAC1B,EAAE,CAAC,SAAS,CAAC,cAAc;IAC3B,EAAE,CAAC,SAAS,CAAC,aAAa;IAC1B,EAAE,CAAC,SAAS,CAAC,aAAa;IAC1B,EAAE,CAAC,SAAS,CAAC,eAAe;CACpB,CAAC;AAEX,MAAM,kBAAkB,GAAG;IACzB,EAAE,CAAC,SAAS,CAAC,MAAM;IACnB,EAAE,CAAC,SAAS,CAAC,OAAO;IACpB,EAAE,CAAC,SAAS,CAAC,MAAM;IACnB,EAAE,CAAC,SAAS,CAAC,MAAM;CACX,CAAC;AAEX,MAAM,sBAAsB,GAAG;IAC7B,CAAC,EAAE,CAAC,SAAS,CAAC,MAAM,CAAC,EAAE,QAAQ;IAC/B,CAAC,EAAE,CAAC,SAAS,CAAC,OAAO,CAAC,EAAE,SAAS;IACjC,CAAC,EAAE,CAAC,SAAS,CAAC,MAAM,CAAC,EAAE,QAAQ;IAC/B,CAAC,EAAE,CAAC,SAAS,CAAC,MAAM,CAAC,EAAE,QAAQ;CACvB,CAAC;AAEX,MAAM,sBAAsB,GAAG;IAC7B,MAAM,EAAE,EAAE,CAAC,SAAS,CAAC,aAAa;IAClC,OAAO,EAAE,EAAE,CAAC,SAAS,CAAC,cAAc;IACpC,MAAM,EAAE,EAAE,CAAC,SAAS,CAAC,aAAa;IAClC,MAAM,EAAE,EAAE,CAAC,SAAS,CAAC,aAAa;CAC1B,CAAC;AAEX,MAAM,yBAAyB,GAAG,IAAI,GAAG,CAAC;IACxC,CAAC,gBAAQ,CAAC,cAAc,CAAC,YAAY,EAAE,EAAE,CAAC,SAAS,CAAC,GAAG,CAAC;IACxD,CAAC,gBAAQ,CAAC,cAAc,CAAC,eAAe,EAAE,EAAE,CAAC,SAAS,CAAC,MAAM,CAAC;IAC9D,CAAC,gBAAQ,CAAC,cAAc,CAAC,gBAAgB,EAAE,EAAE,CAAC,SAAS,CAAC,OAAO,CAAC;IAChE,CAAC,gBAAQ,CAAC,cAAc,CAAC,cAAc,EAAE,EAAE,CAAC,SAAS,CAAC,KAAK,CAAC;IAC5D,CAAC,gBAAQ,CAAC,cAAc,CAAC,eAAe,EAAE,EAAE,CAAC,SAAS,CAAC,MAAM,CAAC;IAC9D,CAAC,gBAAQ,CAAC,cAAc,CAAC,eAAe,EAAE,EAAE,CAAC,SAAS,CAAC,MAAM,CAAC;IAC9D,CAAC,gBAAQ,CAAC,cAAc,CAAC,gBAAgB,EAAE,EAAE,CAAC,SAAS,CAAC,OAAO,CAAC;CACjE,CAAC,CAAC;AAcH,SAAS,aAAa,CACpB,GAAsB,EACtB,GAAQ,EACR,KAAY;IAEZ,MAAM,QAAQ,GAAG,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC;IAE9B,IAAI,QAAQ,EAAE,CAAC;QACb,QAAQ,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;IACvB,CAAC;SAAM,CAAC;QACN,GAAG,CAAC,GAAG,CAAC,GAAG,EAAE,CAAC,KAAK,CAAC,CAAC,CAAC;IACxB,CAAC;AACH,CAAC;AAED,SAAS,mBAAmB,CAAC,IAAa;IACxC,IAAI,IAAI,CAAC,eAAe,EAAE,EAAE,CAAC;QAC3B,OAAO,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;IACpC,CAAC;IAED,IAAI,IAAA,8BAAuB,EAAC,IAAI,CAAC,EAAE,CAAC;QAClC,OAAO,GAAG,IAAI,CAAC,KAAK,CAAC,QAAQ,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,GAAG,IAAI,CAAC,KAAK,CAAC,WAAW,GAAG,CAAC;IACvE,CAAC;IAED,IAAI,IAAI,CAAC,SAAS,EAAE,EAAE,CAAC;QACrB,gEAAgE;QAChE,OAAO,IAAI,CAAC,KAAK,CAAC,QAAQ,EAAE,CAAC;IAC/B,CAAC;IAED,IAAI,OAAO,CAAC,oBAAoB,CAAC,IAAI,CAAC,IAAI,IAAI,CAAC,WAAW,EAAE,CAAC;QAC3D,OAAO,IAAI,CAAC,WAAW,CAAC,WAAW,CAAC,QAAQ,EAAE,CAAC;IACjD,CAAC;IAED,IAAI,IAAA,oBAAa,EAAC,IAAI,CAAC,EAAE,CAAC;QACxB,OAAO,KAAK,CAAC;IACf,CAAC;IAED,IAAI,IAAA,sBAAe,EAAC,IAAI,CAAC,EAAE,CAAC;QAC1B,OAAO,OAAO,CAAC;IACjB,CAAC;IAED,IAAI,IAAA,wBAAiB,EAAC,IAAI,CAAC,EAAE,CAAC;QAC5B,OAAO,SAAS,CAAC;IACnB,CAAC;IAED,IAAI,IAAA,gCAAyB,EAAC,IAAI,CAAC,EAAE,CAAC;QACpC,OAAO,uBAAuB,CAAC;IACjC,CAAC;IAED,IAAI,IAAA,8BAAuB,EAAC,IAAI,CAAC,EAAE,CAAC;QAClC,OAAO,GAAG,IAAI,CAAC,KAAK,CAAC,QAAQ,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,GAAG,IAAI,CAAC,KAAK,CAAC,WAAW,GAAG,CAAC;IACvE,CAAC;IAED,IAAI,OAAO,CAAC,iBAAiB,CAAC,IAAI,CAAC,EAAE,CAAC;QACpC,OAAO,MAAM,CAAC;IAChB,CAAC;IAED,IAAI,OAAO,CAAC,kBAAkB,CAAC,IAAI,CAAC,EAAE,CAAC;QACrC,OAAO,OAAO,CAAC;IACjB,CAAC;IAED,OAAO,cAAc,CAAC;AACxB,CAAC;AAED,SAAS,uBAAuB,CAAC,QAA2B;IAC1D,QAAQ,QAAQ,CAAC,IAAI,EAAE,CAAC;QACtB,KAAK,sBAAc,CAAC,YAAY;YAC9B,OAAO,KAAK,CAAC;QACf,KAAK,sBAAc,CAAC,gBAAgB;YAClC,OAAO,SAAS,CAAC;QACnB,KAAK,sBAAc,CAAC,cAAc;YAChC,OAAO,OAAO,CAAC;QACjB,KAAK,sBAAc,CAAC,eAAe;YACjC,OAAO,QAAQ,CAAC;QAClB,KAAK,sBAAc,CAAC,eAAe;YACjC,OAAO,QAAQ,CAAC;QAClB,KAAK,sBAAc,CAAC,gBAAgB;YAClC,OAAO,SAAS,CAAC;QACnB,KAAK,sBAAc,CAAC,aAAa;YAC/B,QAAQ,QAAQ,CAAC,OAAO,CAAC,IAAI,EAAE,CAAC;gBAC9B,KAAK,gBAAQ,CAAC,cAAc,CAAC,OAAO;oBAClC,QAAQ,OAAO,QAAQ,CAAC,OAAO,CAAC,KAAK,EAAE,CAAC;wBACtC,KAAK,QAAQ;4BACX,OAAO,GAAG,QAAQ,CAAC,OAAO,CAAC,KAAK,GAAG,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,GAC7C,QAAQ,CAAC,OAAO,CAAC,KACnB,GAAG,CAAC;wBACN,KAAK,QAAQ;4BACX,OAAO,IAAI,CAAC,SAAS,CAAC,QAAQ,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC;wBAChD;4BACE,OAAO,GAAG,QAAQ,CAAC,OAAO,CAAC,KAAK,EAAE,CAAC;oBACvC,CAAC;gBACH,KAAK,gBAAQ,CAAC,cAAc,CAAC,eAAe;oBAC1C,OAAO,uBAAuB,CAAC;YACnC,CAAC;IACL,CAAC;IAED,OAAO,cAAc,CAAC;AACxB,CAAC;AAED,SAAS,sBAAsB,CAAC,IAA0B;IACxD,OAAO,CAAC,CAAC,CACP,IAAI,CAAC,MAAM,CAAC,IAAI,KAAK,sBAAc,CAAC,gBAAgB;QACpD,IAAA,+BAAwB,EAAC,IAAI,CAAC,MAAM,CAAC,MAAM,CAAC,CAC7C,CAAC;AACJ,CAAC;AAED;;GAEG;AACH,SAAS,2BAA2B,CAAC,IAAa;IAChD,OAAO,IAAI,CAAC,OAAO,EAAE;QACnB,IAAI,CAAC,KAAK,CAAC,MAAM,KAAK,CAAC;QACvB,OAAO,CAAC,kBAAkB,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC;QACzC,OAAO,CAAC,iBAAiB,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC;QACxC,CAAC,CAAC,CAAC,IAAI,CAAC;QACR,CAAC,CAAC,OAAO,CAAC,cAAc,CAAC,IAAI,CAAC,CAAC;AACnC,CAAC;AAED,kBAAe,IAAA,iBAAU,EAAC;IACxB,IAAI,EAAE,gCAAgC;IACtC,IAAI,EAAE;QACJ,IAAI,EAAE,YAAY;QAClB,IAAI,EAAE;YACJ,WAAW,EACT,2FAA2F;YAC7F,WAAW,EAAE,aAAa;YAC1B,oBAAoB,EAAE,IAAI;SAC3B;QACD,QAAQ,EAAE;YACR,kBAAkB,EAAE,gHAAgH;YACpI,iBAAiB,EAAE,gEAAgE;YACnF,UAAU,EAAE,yEAAyE;YACrF,SAAS,EAAE,sEAAsE;YACjF,mBAAmB,EAAE,2EAA2E;SACjG;QACD,MAAM,EAAE,EAAE;KACX;IACD,cAAc,EAAE,EAAE;IAClB,MAAM,CAAC,OAAO;QACZ,MAAM,QAAQ,GAAG,IAAA,wBAAiB,EAAC,OAAO,CAAC,CAAC;QAC5C,MAAM,UAAU,GAAG,IAAI,GAAG,EAA0C,CAAC;QAErE,SAAS,wBAAwB,CAC/B,QAA2B;YAE3B,MAAM,gBAAgB,GAAG,yBAAyB,CAAC,GAAG,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC;YACtE,IAAI,gBAAgB,EAAE,CAAC;gBACrB,OAAO;oBACL;wBACE,SAAS,EAAE,gBAAgB;wBAC3B,QAAQ,EAAE,uBAAuB,CAAC,QAAQ,CAAC;qBAC5C;iBACF,CAAC;YACJ,CAAC;YAED,IACE,QAAQ,CAAC,IAAI,KAAK,sBAAc,CAAC,aAAa;gBAC9C,QAAQ,CAAC,OAAO,CAAC,IAAI,KAAK,sBAAc,CAAC,OAAO,EAChD,CAAC;gBACD,OAAO;oBACL;wBACE,SAAS,EACP,sBAAsB,CACpB,OAAO,QAAQ,CAAC,OAAO;6BACpB,KAA4C,CAChD;wBACH,QAAQ,EAAE,uBAAuB,CAAC,QAAQ,CAAC;qBAC5C;iBACF,CAAC;YACJ,CAAC;YAED,IAAI,QAAQ,CAAC,IAAI,KAAK,sBAAc,CAAC,WAAW,EAAE,CAAC;gBACjD,OAAO,QAAQ,CAAC,KAAK,CAAC,OAAO,CAAC,wBAAwB,CAAC,CAAC;YAC1D,CAAC;YAED,MAAM,QAAQ,GAAG,QAAQ,CAAC,iBAAiB,CAAC,QAAQ,CAAC,CAAC;YACtD,MAAM,SAAS,GAAG,2BAA2B,CAAC,QAAQ,CAAC,CAAC;YAExD,OAAO,SAAS,CAAC,GAAG,CAAC,QAAQ,CAAC,EAAE,CAAC,CAAC;gBAChC,SAAS,EAAE,QAAQ,CAAC,KAAK;gBACzB,QAAQ,EAAE,mBAAmB,CAAC,QAAQ,CAAC;aACxC,CAAC,CAAC,CAAC;QACN,CAAC;QAED,SAAS,8BAA8B,CACrC,QAA2B;YAE3B,MAAM,QAAQ,GAAG,UAAU,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAC;YAC1C,IAAI,QAAQ,EAAE,CAAC;gBACb,OAAO,QAAQ,CAAC;YAClB,CAAC;YAED,MAAM,OAAO,GAAG,wBAAwB,CAAC,QAAQ,CAAC,CAAC;YACnD,UAAU,CAAC,GAAG,CAAC,QAAQ,EAAE,OAAO,CAAC,CAAC;YAClC,OAAO,OAAO,CAAC;QACjB,CAAC;QAED,OAAO;YACL,yBAAyB,CAAC,IAAiC;gBACzD,MAAM,gBAAgB,GAAG,IAAI,GAAG,EAA+B,CAAC;gBAChE,MAAM,kBAAkB,GAAG,IAAI,GAAG,EAG/B,CAAC;gBACJ,MAAM,cAAc,GAAG,IAAI,GAAG,EAG3B,CAAC;gBAEJ,SAAS,kCAAkC,CACzC,EAAE,SAAS,EAAE,QAAQ,EAAqB,EAC1C,QAA2B;oBAE3B,KAAK,MAAM,CAAC,SAAS,EAAE,SAAS,CAAC,IAAI;wBACnC,CAAC,WAAW,EAAE,EAAE,CAAC,SAAS,CAAC,GAAG,CAAC;wBAC/B,CAAC,WAAW,EAAE,EAAE,CAAC,SAAS,CAAC,KAAK,CAAC;wBACjC,CAAC,YAAY,EAAE,EAAE,CAAC,SAAS,CAAC,OAAO,CAAC;qBAC5B,EAAE,CAAC;wBACX,IAAI,SAAS,KAAK,SAAS,EAAE,CAAC;4BAC5B,OAAO,CAAC,MAAM,CAAC;gCACb,IAAI,EAAE,QAAQ;gCACd,SAAS,EACP,SAAS,KAAK,EAAE,CAAC,SAAS,CAAC,GAAG,IAAI,QAAQ,KAAK,KAAK;oCAClD,CAAC,CAAC,oBAAoB;oCACtB,CAAC,CAAC,SAAS;gCACf,IAAI,EAAE;oCACJ,SAAS,EAAE,cAAc;oCACzB,QAAQ;iCACT;6BACF,CAAC,CAAC;4BACH,OAAO,IAAI,CAAC;wBACd,CAAC;oBACH,CAAC;oBAED,OAAO,KAAK,CAAC;gBACf,CAAC;gBAED,KAAK,MAAM,QAAQ,IAAI,IAAI,CAAC,KAAK,EAAE,CAAC;oBAClC,MAAM,aAAa,GAAG,8BAA8B,CAAC,QAAQ,CAAC,CAAC;oBAE/D,KAAK,MAAM,QAAQ,IAAI,aAAa,EAAE,CAAC;wBACrC,IAAI,kCAAkC,CAAC,QAAQ,EAAE,QAAQ,CAAC,EAAE,CAAC;4BAC3D,SAAS;wBACX,CAAC;wBAED,KAAK,MAAM,eAAe,IAAI,gBAAgB,EAAE,CAAC;4BAC/C,IAAI,QAAQ,CAAC,SAAS,KAAK,eAAe,EAAE,CAAC;gCAC3C,aAAa,CACX,gBAAgB,EAChB,2BAA2B,CAAC,eAAe,CAAC,EAC5C,QAAQ,CAAC,QAAQ,CAClB,CAAC;gCACF,MAAM;4BACR,CAAC;wBACH,CAAC;wBAED,KAAK,MAAM,iBAAiB,IAAI,kBAAkB,EAAE,CAAC;4BACnD,IAAI,QAAQ,CAAC,SAAS,KAAK,iBAAiB,EAAE,CAAC;gCAC7C,aAAa,CAAC,kBAAkB,EAAE,iBAAiB,EAAE,QAAQ,CAAC,CAAC;4BACjE,CAAC;wBACH,CAAC;oBACH,CAAC;oBACD,iIAAiI;oBACjI,IAAI,aAAa,CAAC,MAAM,IAAI,CAAC,EAAE,CAAC;wBAC9B,cAAc,CAAC,GAAG,CAAC,QAAQ,EAAE,aAAa,CAAC,CAAC;oBAC9C,CAAC;gBACH,CAAC;gBACD;;;;;;;mBAOG;gBACH,MAAM,0BAA0B,GAAG,GAAc,EAAE;oBACjD,KAAK,MAAM,CAAC,OAAO,EAAE,UAAU,CAAC,IAAI,cAAc,EAAE,CAAC;wBACnD,IAAI,SAAS,GAAuB,SAAS,CAAC;wBAC9C,KAAK,MAAM,EAAE,SAAS,EAAE,IAAI,UAAU,EAAE,CAAC;4BACvC,IACE,kBAAkB,CAAC,GAAG,CACpB,2BAA2B,CACzB,SAAqD,CACtD,CACF,EACD,CAAC;gCACD,SAAS;oCACP,2BAA2B,CACzB,SAAqD,CACtD,CAAC;4BACN,CAAC;iCAAM,CAAC;gCACN,SAAS,GAAG,SAAS,CAAC;gCACtB,MAAM;4BACR,CAAC;wBACH,CAAC;wBACD,IAAI,MAAM,CAAC,SAAS,CAAC,SAAS,CAAC,EAAE,CAAC;4BAChC,OAAO,CAAC,MAAM,CAAC;gCACb,IAAI,EAAE,OAAO;gCACb,SAAS,EAAE,qBAAqB;gCAChC,IAAI,EAAE;oCACJ,OAAO,EAAE,UAAU,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC;oCAC1D,SAAS,EACP,sBAAsB,CACpB,SAAgD,CACjD;iCACJ;6BACF,CAAC,CAAC;wBACL,CAAC;oBACH,CAAC;gBACH,CAAC,CAAC;gBACF,IAAI,cAAc,CAAC,IAAI,GAAG,CAAC,EAAE,CAAC;oBAC5B,0BAA0B,EAAE,CAAC;oBAC7B,OAAO;gBACT,CAAC;gBACD,2DAA2D;gBAC3D,sDAAsD;gBACtD,iDAAiD;gBACjD,KAAK,MAAM,CAAC,iBAAiB,EAAE,SAAS,CAAC,IAAI,kBAAkB,EAAE,CAAC;oBAChE,MAAM,mBAAmB,GAAG,gBAAgB,CAAC,GAAG,CAAC,iBAAiB,CAAC,CAAC;oBACpE,IAAI,mBAAmB,EAAE,CAAC;wBACxB,KAAK,MAAM,QAAQ,IAAI,SAAS,EAAE,CAAC;4BACjC,OAAO,CAAC,MAAM,CAAC;gCACb,IAAI,EAAE,QAAQ;gCACd,SAAS,EAAE,qBAAqB;gCAChC,IAAI,EAAE;oCACJ,OAAO,EAAE,mBAAmB,CAAC,IAAI,CAAC,KAAK,CAAC;oCACxC,SAAS,EAAE,sBAAsB,CAAC,iBAAiB,CAAC;iCACrD;6BACF,CAAC,CAAC;wBACL,CAAC;oBACH,CAAC;gBACH,CAAC;YACH,CAAC;YACD,kBAAkB,CAAC,IAA0B;gBAC3C,MAAM,gBAAgB,GAAG,IAAI,GAAG,EAG7B,CAAC;gBACJ,MAAM,kBAAkB,GAAG,IAAI,GAAG,EAAqB,CAAC;gBAExD,SAAS,2BAA2B,CAClC,EAAE,SAAS,EAAE,QAAQ,EAAqB,EAC1C,QAA2B;oBAE3B,KAAK,MAAM,SAAS,IAAI;wBACtB,EAAE,CAAC,SAAS,CAAC,GAAG;wBAChB,EAAE,CAAC,SAAS,CAAC,OAAO;qBACZ,EAAE,CAAC;wBACX,IAAI,SAAS,KAAK,SAAS,EAAE,CAAC;4BAC5B,OAAO,CAAC,MAAM,CAAC;gCACb,IAAI,EAAE,QAAQ;gCACd,SAAS,EACP,SAAS,KAAK,EAAE,CAAC,SAAS,CAAC,GAAG,IAAI,QAAQ,KAAK,KAAK;oCAClD,CAAC,CAAC,oBAAoB;oCACtB,CAAC,CAAC,WAAW;gCACjB,IAAI,EAAE;oCACJ,SAAS,EAAE,OAAO;oCAClB,QAAQ;iCACT;6BACF,CAAC,CAAC;4BACH,OAAO,IAAI,CAAC;wBACd,CAAC;oBACH,CAAC;oBAED,IACE,SAAS,KAAK,EAAE,CAAC,SAAS,CAAC,KAAK;wBAChC,CAAC,sBAAsB,CAAC,IAAI,CAAC,EAC7B,CAAC;wBACD,OAAO,CAAC,MAAM,CAAC;4BACb,IAAI,EAAE,QAAQ;4BACd,SAAS,EAAE,YAAY;4BACvB,IAAI,EAAE;gCACJ,SAAS,EAAE,OAAO;gCAClB,QAAQ,EAAE,OAAO;6BAClB;yBACF,CAAC,CAAC;wBACH,OAAO,IAAI,CAAC;oBACd,CAAC;oBAED,OAAO,KAAK,CAAC;gBACf,CAAC;gBAED,KAAK,MAAM,QAAQ,IAAI,IAAI,CAAC,KAAK,EAAE,CAAC;oBAClC,MAAM,aAAa,GAAG,8BAA8B,CAAC,QAAQ,CAAC,CAAC;oBAE/D,KAAK,MAAM,QAAQ,IAAI,aAAa,EAAE,CAAC;wBACrC,IAAI,2BAA2B,CAAC,QAAQ,EAAE,QAAQ,CAAC,EAAE,CAAC;4BACpD,SAAS;wBACX,CAAC;wBAED,KAAK,MAAM,eAAe,IAAI,gBAAgB,EAAE,CAAC;4BAC/C,IAAI,QAAQ,CAAC,SAAS,KAAK,eAAe,EAAE,CAAC;gCAC3C,aAAa,CACX,gBAAgB,EAChB,2BAA2B,CAAC,eAAe,CAAC,EAC5C;oCACE,YAAY,EAAE,QAAQ,CAAC,QAAQ;oCAC/B,QAAQ;iCACT,CACF,CAAC;gCACF,MAAM;4BACR,CAAC;wBACH,CAAC;wBAED,KAAK,MAAM,iBAAiB,IAAI,kBAAkB,EAAE,CAAC;4BACnD,IAAI,CAAC,QAAQ,CAAC,SAAS,GAAG,iBAAiB,CAAC,KAAK,CAAC,EAAE,CAAC;gCACnD,kBAAkB,CAAC,GAAG,CAAC,iBAAiB,CAAC,CAAC;4BAC5C,CAAC;wBACH,CAAC;oBACH,CAAC;gBACH,CAAC;gBAOD,MAAM,mBAAmB,GAAG,IAAI,GAAG,EAGhC,CAAC;gBAEJ,yDAAyD;gBACzD,wDAAwD;gBACxD,yEAAyE;gBACzE,KAAK,MAAM,CAAC,iBAAiB,EAAE,iBAAiB,CAAC,IAAI,gBAAgB,EAAE,CAAC;oBACtE,IAAI,kBAAkB,CAAC,GAAG,CAAC,iBAAiB,CAAC,EAAE,CAAC;wBAC9C,KAAK,MAAM,EAAE,YAAY,EAAE,QAAQ,EAAE,IAAI,iBAAiB,EAAE,CAAC;4BAC3D,aAAa,CAAC,mBAAmB,EAAE,QAAQ,EAAE;gCAC3C,YAAY;gCACZ,iBAAiB;6BAClB,CAAC,CAAC;wBACL,CAAC;oBACH,CAAC;gBACH,CAAC;gBAED,+DAA+D;gBAC/D,gDAAgD;gBAChD,wDAAwD;gBACxD,KAAK,MAAM,CAAC,QAAQ,EAAE,iBAAiB,CAAC,IAAI,mBAAmB,EAAE,CAAC;oBAChE,MAAM,OAAO,GAAG,IAAA,wBAAiB,EAC/B,iBAAiB,EACjB,IAAI,CAAC,EAAE,CAAC,IAAI,CAAC,iBAAiB,CAC/B,CAAC;oBAEF,KAAK,MAAM,CAAC,iBAAiB,EAAE,KAAK,CAAC,IAAI,OAAO,EAAE,CAAC;wBACjD,OAAO,CAAC,MAAM,CAAC;4BACb,IAAI,EAAE,QAAQ;4BACd,SAAS,EAAE,mBAAmB;4BAC9B,IAAI,EAAE;gCACJ,OAAO,EAAE,KAAK,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE,CAAC,IAAI,CAAC,YAAY,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC;gCACzD,SAAS,EAAE,sBAAsB,CAAC,iBAAiB,CAAC;6BACrD;yBACF,CAAC,CAAC;oBACL,CAAC;gBACH,CAAC;YACH,CAAC;SACF,CAAC;IACJ,CAAC;CACF,CAAC,CAAC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-require-imports.js b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-require-imports.js index aafbde0469..181ab0a166 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-require-imports.js +++ b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-require-imports.js @@ -15,13 +15,23 @@ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? ( }) : function(o, v) { o["default"] = v; }); -var __importStar = (this && this.__importStar) || function (mod) { - if (mod && mod.__esModule) return mod; - var result = {}; - if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k); - __setModuleDefault(result, mod); - return result; -}; +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); Object.defineProperty(exports, "__esModule", { value: true }); const utils_1 = require("@typescript-eslint/utils"); const util = __importStar(require("../util")); diff --git a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-require-imports.js.map b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-require-imports.js.map index 2c0c677b06..0ab3ffd26b 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-require-imports.js.map +++ b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-require-imports.js.map @@ -1 +1 @@ -{"version":3,"file":"no-require-imports.js","sourceRoot":"","sources":["../../src/rules/no-require-imports.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AAEA,oDAAoE;AAEpE,8CAAgC;AAUhC,kBAAe,IAAI,CAAC,UAAU,CAAsB;IAClD,IAAI,EAAE,oBAAoB;IAC1B,IAAI,EAAE;QACJ,IAAI,EAAE,SAAS;QACf,IAAI,EAAE;YACJ,WAAW,EAAE,oCAAoC;YACjD,WAAW,EAAE,aAAa;SAC3B;QACD,QAAQ,EAAE;YACR,gBAAgB,EAAE,0CAA0C;SAC7D;QACD,MAAM,EAAE;YACN;gBACE,IAAI,EAAE,QAAQ;gBACd,oBAAoB,EAAE,KAAK;gBAC3B,UAAU,EAAE;oBACV,KAAK,EAAE;wBACL,IAAI,EAAE,OAAO;wBACb,WAAW,EAAE,mDAAmD;wBAChE,KAAK,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE;qBAC1B;oBACD,aAAa,EAAE;wBACb,IAAI,EAAE,SAAS;wBACf,WAAW,EAAE,qDAAqD;qBACnE;iBACF;aACF;SACF;KACF;IACD,cAAc,EAAE,CAAC,EAAE,KAAK,EAAE,EAAE,EAAE,aAAa,EAAE,KAAK,EAAE,CAAC;IACrD,MAAM,CAAC,OAAO,EAAE,OAAO;QACrB,MAAM,aAAa,GAAG,OAAO,CAAC,CAAC,CAAC,CAAC,aAAa,CAAC;QAC/C,MAAM,aAAa,GAAG,OAAO,CAAC,CAAC,CAAC,CAAC,KAAK,EAAE,GAAG,CACzC,OAAO,CAAC,EAAE,CAAC,IAAI,MAAM,CAAC,OAAO,EAAE,GAAG,CAAC,CACpC,CAAC;QACF,SAAS,mBAAmB,CAAC,UAAkB;YAC7C,OAAO,aAAa,EAAE,IAAI,CAAC,OAAO,CAAC,EAAE,CAAC,UAAU,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC;QACnE,CAAC;QACD,SAAS,yBAAyB,CAAC,IAAmB;YACpD,OAAO,CACL,CAAC,IAAI,CAAC,IAAI,KAAK,sBAAc,CAAC,OAAO;gBACnC,OAAO,IAAI,CAAC,KAAK,KAAK,QAAQ,CAAC;gBACjC,IAAI,CAAC,IAAI,KAAK,sBAAc,CAAC,eAAe,CAC7C,CAAC;QACJ,CAAC;QAED,OAAO;YACL,uCAAuC,CACrC,IAA6B;gBAE7B,IAAI,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC,IAAI,yBAAyB,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC;oBACtE,MAAM,QAAQ,GAAG,IAAI,CAAC,oBAAoB,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC,CAAC;oBAC9D,IAAI,OAAO,QAAQ,KAAK,QAAQ,IAAI,mBAAmB,CAAC,QAAQ,CAAC,EAAE,CAAC;wBAClE,OAAO;oBACT,CAAC;gBACH,CAAC;gBACD,MAAM,QAAQ,GAAG,gBAAQ,CAAC,YAAY,CACpC,OAAO,CAAC,UAAU,CAAC,QAAQ,CAAC,IAAI,CAAC,EACjC,SAAS,CACV,CAAC;gBACF,6EAA6E;gBAC7E,2BAA2B;gBAC3B,IAAI,CAAC,QAAQ,EAAE,WAAW,CAAC,MAAM,EAAE,CAAC;oBAClC,OAAO,CAAC,MAAM,CAAC;wBACb,IAAI;wBACJ,SAAS,EAAE,kBAAkB;qBAC9B,CAAC,CAAC;gBACL,CAAC;YACH,CAAC;YACD,yBAAyB,CAAC,IAAI;gBAC5B,IAAI,yBAAyB,CAAC,IAAI,CAAC,UAAU,CAAC,EAAE,CAAC;oBAC/C,MAAM,QAAQ,GAAG,IAAI,CAAC,oBAAoB,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC;oBAC5D,IAAI,OAAO,QAAQ,KAAK,QAAQ,IAAI,mBAAmB,CAAC,QAAQ,CAAC,EAAE,CAAC;wBAClE,OAAO;oBACT,CAAC;gBACH,CAAC;gBACD,IACE,aAAa;oBACb,IAAI,CAAC,MAAM,CAAC,IAAI,KAAK,sBAAc,CAAC,yBAAyB,EAC7D,CAAC;oBACD,OAAO;gBACT,CAAC;gBACD,OAAO,CAAC,MAAM,CAAC;oBACb,IAAI;oBACJ,SAAS,EAAE,kBAAkB;iBAC9B,CAAC,CAAC;YACL,CAAC;SACF,CAAC;IACJ,CAAC;CACF,CAAC,CAAC"} \ No newline at end of file +{"version":3,"file":"no-require-imports.js","sourceRoot":"","sources":["../../src/rules/no-require-imports.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEA,oDAAoE;AAEpE,8CAAgC;AAUhC,kBAAe,IAAI,CAAC,UAAU,CAAsB;IAClD,IAAI,EAAE,oBAAoB;IAC1B,IAAI,EAAE;QACJ,IAAI,EAAE,SAAS;QACf,IAAI,EAAE;YACJ,WAAW,EAAE,oCAAoC;YACjD,WAAW,EAAE,aAAa;SAC3B;QACD,QAAQ,EAAE;YACR,gBAAgB,EAAE,0CAA0C;SAC7D;QACD,MAAM,EAAE;YACN;gBACE,IAAI,EAAE,QAAQ;gBACd,oBAAoB,EAAE,KAAK;gBAC3B,UAAU,EAAE;oBACV,KAAK,EAAE;wBACL,IAAI,EAAE,OAAO;wBACb,WAAW,EAAE,mDAAmD;wBAChE,KAAK,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE;qBAC1B;oBACD,aAAa,EAAE;wBACb,IAAI,EAAE,SAAS;wBACf,WAAW,EAAE,qDAAqD;qBACnE;iBACF;aACF;SACF;KACF;IACD,cAAc,EAAE,CAAC,EAAE,KAAK,EAAE,EAAE,EAAE,aAAa,EAAE,KAAK,EAAE,CAAC;IACrD,MAAM,CAAC,OAAO,EAAE,OAAO;QACrB,MAAM,aAAa,GAAG,OAAO,CAAC,CAAC,CAAC,CAAC,aAAa,CAAC;QAC/C,MAAM,aAAa,GAAG,OAAO,CAAC,CAAC,CAAC,CAAC,KAAK,EAAE,GAAG,CACzC,OAAO,CAAC,EAAE,CAAC,IAAI,MAAM,CAAC,OAAO,EAAE,GAAG,CAAC,CACpC,CAAC;QACF,SAAS,mBAAmB,CAAC,UAAkB;YAC7C,OAAO,aAAa,EAAE,IAAI,CAAC,OAAO,CAAC,EAAE,CAAC,UAAU,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC;QACnE,CAAC;QACD,SAAS,yBAAyB,CAAC,IAAmB;YACpD,OAAO,CACL,CAAC,IAAI,CAAC,IAAI,KAAK,sBAAc,CAAC,OAAO;gBACnC,OAAO,IAAI,CAAC,KAAK,KAAK,QAAQ,CAAC;gBACjC,IAAI,CAAC,IAAI,KAAK,sBAAc,CAAC,eAAe,CAC7C,CAAC;QACJ,CAAC;QAED,OAAO;YACL,uCAAuC,CACrC,IAA6B;gBAE7B,IAAI,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC,IAAI,yBAAyB,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC;oBACtE,MAAM,QAAQ,GAAG,IAAI,CAAC,oBAAoB,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC,CAAC;oBAC9D,IAAI,OAAO,QAAQ,KAAK,QAAQ,IAAI,mBAAmB,CAAC,QAAQ,CAAC,EAAE,CAAC;wBAClE,OAAO;oBACT,CAAC;gBACH,CAAC;gBACD,MAAM,QAAQ,GAAG,gBAAQ,CAAC,YAAY,CACpC,OAAO,CAAC,UAAU,CAAC,QAAQ,CAAC,IAAI,CAAC,EACjC,SAAS,CACV,CAAC;gBACF,6EAA6E;gBAC7E,2BAA2B;gBAC3B,IAAI,CAAC,QAAQ,EAAE,WAAW,CAAC,MAAM,EAAE,CAAC;oBAClC,OAAO,CAAC,MAAM,CAAC;wBACb,IAAI;wBACJ,SAAS,EAAE,kBAAkB;qBAC9B,CAAC,CAAC;gBACL,CAAC;YACH,CAAC;YACD,yBAAyB,CAAC,IAAI;gBAC5B,IAAI,yBAAyB,CAAC,IAAI,CAAC,UAAU,CAAC,EAAE,CAAC;oBAC/C,MAAM,QAAQ,GAAG,IAAI,CAAC,oBAAoB,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC;oBAC5D,IAAI,OAAO,QAAQ,KAAK,QAAQ,IAAI,mBAAmB,CAAC,QAAQ,CAAC,EAAE,CAAC;wBAClE,OAAO;oBACT,CAAC;gBACH,CAAC;gBACD,IACE,aAAa;oBACb,IAAI,CAAC,MAAM,CAAC,IAAI,KAAK,sBAAc,CAAC,yBAAyB,EAC7D,CAAC;oBACD,OAAO;gBACT,CAAC;gBACD,OAAO,CAAC,MAAM,CAAC;oBACb,IAAI;oBACJ,SAAS,EAAE,kBAAkB;iBAC9B,CAAC,CAAC;YACL,CAAC;SACF,CAAC;IACJ,CAAC;CACF,CAAC,CAAC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-boolean-literal-compare.js b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-boolean-literal-compare.js index 28f040ec4b..eb0377efdc 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-boolean-literal-compare.js +++ b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-boolean-literal-compare.js @@ -15,13 +15,23 @@ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? ( }) : function(o, v) { o["default"] = v; }); -var __importStar = (this && this.__importStar) || function (mod) { - if (mod && mod.__esModule) return mod; - var result = {}; - if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k); - __setModuleDefault(result, mod); - return result; -}; +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); Object.defineProperty(exports, "__esModule", { value: true }); const utils_1 = require("@typescript-eslint/utils"); const tsutils = __importStar(require("ts-api-utils")); diff --git a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-boolean-literal-compare.js.map b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-boolean-literal-compare.js.map index add839e528..f2e3f27e4e 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-boolean-literal-compare.js.map +++ b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-boolean-literal-compare.js.map @@ -1 +1 @@ -{"version":3,"file":"no-unnecessary-boolean-literal-compare.js","sourceRoot":"","sources":["../../src/rules/no-unnecessary-boolean-literal-compare.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AAEA,oDAA0D;AAC1D,sDAAwC;AACxC,+CAAiC;AAEjC,kCAAgF;AA0BhF,kBAAe,IAAA,iBAAU,EAAsB;IAC7C,IAAI,EAAE,wCAAwC;IAC9C,IAAI,EAAE;QACJ,IAAI,EAAE,YAAY;QAClB,IAAI,EAAE;YACJ,WAAW,EACT,oEAAoE;YACtE,WAAW,EAAE,QAAQ;YACrB,oBAAoB,EAAE,IAAI;SAC3B;QACD,OAAO,EAAE,MAAM;QACf,QAAQ,EAAE;YACR,wBAAwB,EACtB,iIAAiI;YACnI,6BAA6B,EAC3B,uGAAuG;YACzG,8BAA8B,EAC5B,iGAAiG;YACnG,MAAM,EACJ,mGAAmG;YACrG,OAAO,EACL,6FAA6F;SAChG;QACD,MAAM,EAAE;YACN;gBACE,IAAI,EAAE,QAAQ;gBACd,oBAAoB,EAAE,KAAK;gBAC3B,UAAU,EAAE;oBACV,qCAAqC,EAAE;wBACrC,IAAI,EAAE,SAAS;wBACf,WAAW,EACT,8EAA8E;qBACjF;oBACD,oCAAoC,EAAE;wBACpC,IAAI,EAAE,SAAS;wBACf,WAAW,EACT,6EAA6E;qBAChF;iBACF;aACF;SACF;KACF;IACD,cAAc,EAAE;QACd;YACE,qCAAqC,EAAE,IAAI;YAC3C,oCAAoC,EAAE,IAAI;SAC3C;KACF;IACD,MAAM,CAAC,OAAO,EAAE,CAAC,OAAO,CAAC;QACvB,MAAM,QAAQ,GAAG,IAAA,wBAAiB,EAAC,OAAO,CAAC,CAAC;QAE5C,SAAS,oBAAoB,CAC3B,IAA+B;YAE/B,MAAM,UAAU,GAAG,qBAAqB,CAAC,IAAI,CAAC,CAAC;YAC/C,IAAI,CAAC,UAAU,EAAE,CAAC;gBAChB,OAAO,SAAS,CAAC;YACnB,CAAC;YAED,MAAM,cAAc,GAAG,QAAQ,CAAC,iBAAiB,CAAC,UAAU,CAAC,UAAU,CAAC,CAAC;YAEzE,IAAI,aAAa,CAAC,cAAc,CAAC,EAAE,CAAC;gBAClC,OAAO;oBACL,GAAG,UAAU;oBACb,2BAA2B,EAAE,KAAK;iBACnC,CAAC;YACJ,CAAC;YAED,IAAI,iBAAiB,CAAC,cAAc,CAAC,EAAE,CAAC;gBACtC,OAAO;oBACL,GAAG,UAAU;oBACb,2BAA2B,EAAE,IAAI;iBAClC,CAAC;YACJ,CAAC;YAED,OAAO,SAAS,CAAC;QACnB,CAAC;QAED,SAAS,aAAa,CAAC,cAAuB;YAC5C,OAAO,OAAO,CAAC,aAAa,CAC1B,cAAc,EACd,EAAE,CAAC,SAAS,CAAC,OAAO,GAAG,EAAE,CAAC,SAAS,CAAC,cAAc,CACnD,CAAC;QACJ,CAAC;QAED;;;;;WAKG;QACH,SAAS,iBAAiB,CAAC,cAAuB;YAChD,IAAI,CAAC,cAAc,CAAC,OAAO,EAAE,EAAE,CAAC;gBAC9B,OAAO,KAAK,CAAC;YACf,CAAC;YAED,MAAM,EAAE,KAAK,EAAE,GAAG,cAAc,CAAC;YAEjC,MAAM,eAAe,GAAG,KAAK,CAAC,MAAM,CAClC,IAAI,CAAC,EAAE,CACL,CAAC,OAAO,CAAC,aAAa,CACpB,IAAI,EACJ,EAAE,CAAC,SAAS,CAAC,SAAS,GAAG,EAAE,CAAC,SAAS,CAAC,IAAI,CAC3C,CACJ,CAAC;YAEF,MAAM,iBAAiB,GAAG,eAAe,CAAC,MAAM,GAAG,CAAC,CAAC;YACrD,IAAI,CAAC,iBAAiB,EAAE,CAAC;gBACvB,OAAO,KAAK,CAAC;YACf,CAAC;YAED,MAAM,eAAe,GAAG,eAAe,CAAC,MAAM,GAAG,KAAK,CAAC,MAAM,CAAC;YAC9D,IAAI,CAAC,eAAe,EAAE,CAAC;gBACrB,OAAO,KAAK,CAAC;YACf,CAAC;YAED,MAAM,4BAA4B,GAAG,eAAe,CAAC,KAAK,CAAC,aAAa,CAAC,CAAC;YAC1E,IAAI,CAAC,4BAA4B,EAAE,CAAC;gBAClC,OAAO,KAAK,CAAC;YACf,CAAC;YAED,OAAO,IAAI,CAAC;QACd,CAAC;QAED,SAAS,qBAAqB,CAC5B,IAA+B;YAE/B,MAAM,cAAc,GAAG,aAAa,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC;YACpD,IAAI,CAAC,cAAc,EAAE,CAAC;gBACpB,OAAO,SAAS,CAAC;YACnB,CAAC;YAED,KAAK,MAAM,CAAC,OAAO,EAAE,UAAU,CAAC,IAAI;gBAClC,CAAC,IAAI,CAAC,KAAK,EAAE,IAAI,CAAC,IAAI,CAAC;gBACvB,CAAC,IAAI,CAAC,IAAI,EAAE,IAAI,CAAC,KAAK,CAAC;aACxB,EAAE,CAAC;gBACF,IACE,OAAO,CAAC,IAAI,KAAK,sBAAc,CAAC,OAAO;oBACvC,OAAO,OAAO,CAAC,KAAK,KAAK,SAAS,EAClC,CAAC;oBACD,SAAS;gBACX,CAAC;gBAED,MAAM,EAAE,KAAK,EAAE,0BAA0B,EAAE,GAAG,OAAO,CAAC;gBACtD,MAAM,OAAO,GAAG,CAAC,cAAc,CAAC,UAAU,CAAC;gBAE3C,OAAO;oBACL,UAAU;oBACV,0BAA0B;oBAC1B,OAAO;iBACR,CAAC;YACJ,CAAC;YAED,OAAO,SAAS,CAAC;QACnB,CAAC;QAED,SAAS,mBAAmB,CAAC,IAAmB;YAC9C,OAAO,CACL,IAAI,CAAC,IAAI,KAAK,sBAAc,CAAC,eAAe;gBAC5C,IAAI,CAAC,MAAM;gBACX,IAAI,CAAC,QAAQ,KAAK,GAAG,CACtB,CAAC;QACJ,CAAC;QAED,OAAO;YACL,gBAAgB,CAAC,IAAI;gBACnB,MAAM,UAAU,GAAG,oBAAoB,CAAC,IAAI,CAAC,CAAC;gBAC9C,IAAI,UAAU,KAAK,SAAS,EAAE,CAAC;oBAC7B,OAAO;gBACT,CAAC;gBAED,IAAI,UAAU,CAAC,2BAA2B,EAAE,CAAC;oBAC3C,IACE,UAAU,CAAC,0BAA0B;wBACrC,OAAO,CAAC,oCAAoC,EAC5C,CAAC;wBACD,OAAO;oBACT,CAAC;oBACD,IACE,CAAC,UAAU,CAAC,0BAA0B;wBACtC,OAAO,CAAC,qCAAqC,EAC7C,CAAC;wBACD,OAAO;oBACT,CAAC;gBACH,CAAC;gBAED,OAAO,CAAC,MAAM,CAAC;oBACb,IAAI;oBACJ,SAAS,EAAE,UAAU,CAAC,2BAA2B;wBAC/C,CAAC,CAAC,UAAU,CAAC,0BAA0B;4BACrC,CAAC,CAAC,UAAU,CAAC,OAAO;gCAClB,CAAC,CAAC,gCAAgC;gCAClC,CAAC,CAAC,+BAA+B;4BACnC,CAAC,CAAC,0BAA0B;wBAC9B,CAAC,CAAC,UAAU,CAAC,OAAO;4BAClB,CAAC,CAAC,SAAS;4BACX,CAAC,CAAC,QAAQ;oBACd,CAAC,GAAG,CAAC,KAAK;wBACR,uCAAuC;wBACvC,iEAAiE;wBACjE,qCAAqC;wBAErC,MAAM,eAAe,GAAG,mBAAmB,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC;wBAEzD,MAAM,YAAY,GAChB,UAAU,CAAC,OAAO,KAAK,UAAU,CAAC,0BAA0B,CAAC;wBAE/D,MAAM,WAAW,GAAG,eAAe,CAAC,CAAC,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,IAAI,CAAC;wBAEzD,MAAM,KAAK,CAAC,WAAW,CACrB,WAAW,EACX,OAAO,CAAC,UAAU,CAAC,OAAO,CAAC,UAAU,CAAC,UAAU,CAAC,CAClD,CAAC;wBAEF,mGAAmG;wBACnG,IAAI,YAAY,KAAK,eAAe,EAAE,CAAC;4BACrC,MAAM,KAAK,CAAC,gBAAgB,CAAC,WAAW,EAAE,GAAG,CAAC,CAAC;4BAE/C,kFAAkF;4BAClF,IAAI,CAAC,IAAA,6BAAsB,EAAC,UAAU,CAAC,UAAU,CAAC,EAAE,CAAC;gCACnD,MAAM,KAAK,CAAC,gBAAgB,CAAC,WAAW,EAAE,GAAG,CAAC,CAAC;gCAC/C,MAAM,KAAK,CAAC,eAAe,CAAC,WAAW,EAAE,GAAG,CAAC,CAAC;4BAChD,CAAC;wBACH,CAAC;wBAED,2FAA2F;wBAC3F,IACE,UAAU,CAAC,2BAA2B;4BACtC,CAAC,UAAU,CAAC,0BAA0B,EACtC,CAAC;4BACD,6BAA6B;4BAC7B,MAAM,KAAK,CAAC,gBAAgB,CAAC,WAAW,EAAE,GAAG,CAAC,CAAC;4BAC/C,MAAM,KAAK,CAAC,eAAe,CAAC,WAAW,EAAE,WAAW,CAAC,CAAC;wBACxD,CAAC;oBACH,CAAC;iBACF,CAAC,CAAC;YACL,CAAC;SACF,CAAC;IACJ,CAAC;CACF,CAAC,CAAC;AAOH,SAAS,aAAa,CAAC,QAAgB;IACrC,QAAQ,QAAQ,EAAE,CAAC;QACjB,KAAK,IAAI;YACP,OAAO;gBACL,UAAU,EAAE,KAAK;gBACjB,QAAQ,EAAE,KAAK;aAChB,CAAC;QAEJ,KAAK,KAAK;YACR,OAAO;gBACL,UAAU,EAAE,KAAK;gBACjB,QAAQ,EAAE,IAAI;aACf,CAAC;QAEJ,KAAK,IAAI;YACP,OAAO;gBACL,UAAU,EAAE,IAAI;gBAChB,QAAQ,EAAE,KAAK;aAChB,CAAC;QAEJ,KAAK,KAAK;YACR,OAAO;gBACL,UAAU,EAAE,IAAI;gBAChB,QAAQ,EAAE,IAAI;aACf,CAAC;QAEJ;YACE,OAAO,SAAS,CAAC;IACrB,CAAC;AACH,CAAC"} \ No newline at end of file +{"version":3,"file":"no-unnecessary-boolean-literal-compare.js","sourceRoot":"","sources":["../../src/rules/no-unnecessary-boolean-literal-compare.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEA,oDAA0D;AAC1D,sDAAwC;AACxC,+CAAiC;AAEjC,kCAAgF;AA0BhF,kBAAe,IAAA,iBAAU,EAAsB;IAC7C,IAAI,EAAE,wCAAwC;IAC9C,IAAI,EAAE;QACJ,IAAI,EAAE,YAAY;QAClB,IAAI,EAAE;YACJ,WAAW,EACT,oEAAoE;YACtE,WAAW,EAAE,QAAQ;YACrB,oBAAoB,EAAE,IAAI;SAC3B;QACD,OAAO,EAAE,MAAM;QACf,QAAQ,EAAE;YACR,wBAAwB,EACtB,iIAAiI;YACnI,6BAA6B,EAC3B,uGAAuG;YACzG,8BAA8B,EAC5B,iGAAiG;YACnG,MAAM,EACJ,mGAAmG;YACrG,OAAO,EACL,6FAA6F;SAChG;QACD,MAAM,EAAE;YACN;gBACE,IAAI,EAAE,QAAQ;gBACd,oBAAoB,EAAE,KAAK;gBAC3B,UAAU,EAAE;oBACV,qCAAqC,EAAE;wBACrC,IAAI,EAAE,SAAS;wBACf,WAAW,EACT,8EAA8E;qBACjF;oBACD,oCAAoC,EAAE;wBACpC,IAAI,EAAE,SAAS;wBACf,WAAW,EACT,6EAA6E;qBAChF;iBACF;aACF;SACF;KACF;IACD,cAAc,EAAE;QACd;YACE,qCAAqC,EAAE,IAAI;YAC3C,oCAAoC,EAAE,IAAI;SAC3C;KACF;IACD,MAAM,CAAC,OAAO,EAAE,CAAC,OAAO,CAAC;QACvB,MAAM,QAAQ,GAAG,IAAA,wBAAiB,EAAC,OAAO,CAAC,CAAC;QAE5C,SAAS,oBAAoB,CAC3B,IAA+B;YAE/B,MAAM,UAAU,GAAG,qBAAqB,CAAC,IAAI,CAAC,CAAC;YAC/C,IAAI,CAAC,UAAU,EAAE,CAAC;gBAChB,OAAO,SAAS,CAAC;YACnB,CAAC;YAED,MAAM,cAAc,GAAG,QAAQ,CAAC,iBAAiB,CAAC,UAAU,CAAC,UAAU,CAAC,CAAC;YAEzE,IAAI,aAAa,CAAC,cAAc,CAAC,EAAE,CAAC;gBAClC,OAAO;oBACL,GAAG,UAAU;oBACb,2BAA2B,EAAE,KAAK;iBACnC,CAAC;YACJ,CAAC;YAED,IAAI,iBAAiB,CAAC,cAAc,CAAC,EAAE,CAAC;gBACtC,OAAO;oBACL,GAAG,UAAU;oBACb,2BAA2B,EAAE,IAAI;iBAClC,CAAC;YACJ,CAAC;YAED,OAAO,SAAS,CAAC;QACnB,CAAC;QAED,SAAS,aAAa,CAAC,cAAuB;YAC5C,OAAO,OAAO,CAAC,aAAa,CAC1B,cAAc,EACd,EAAE,CAAC,SAAS,CAAC,OAAO,GAAG,EAAE,CAAC,SAAS,CAAC,cAAc,CACnD,CAAC;QACJ,CAAC;QAED;;;;;WAKG;QACH,SAAS,iBAAiB,CAAC,cAAuB;YAChD,IAAI,CAAC,cAAc,CAAC,OAAO,EAAE,EAAE,CAAC;gBAC9B,OAAO,KAAK,CAAC;YACf,CAAC;YAED,MAAM,EAAE,KAAK,EAAE,GAAG,cAAc,CAAC;YAEjC,MAAM,eAAe,GAAG,KAAK,CAAC,MAAM,CAClC,IAAI,CAAC,EAAE,CACL,CAAC,OAAO,CAAC,aAAa,CACpB,IAAI,EACJ,EAAE,CAAC,SAAS,CAAC,SAAS,GAAG,EAAE,CAAC,SAAS,CAAC,IAAI,CAC3C,CACJ,CAAC;YAEF,MAAM,iBAAiB,GAAG,eAAe,CAAC,MAAM,GAAG,CAAC,CAAC;YACrD,IAAI,CAAC,iBAAiB,EAAE,CAAC;gBACvB,OAAO,KAAK,CAAC;YACf,CAAC;YAED,MAAM,eAAe,GAAG,eAAe,CAAC,MAAM,GAAG,KAAK,CAAC,MAAM,CAAC;YAC9D,IAAI,CAAC,eAAe,EAAE,CAAC;gBACrB,OAAO,KAAK,CAAC;YACf,CAAC;YAED,MAAM,4BAA4B,GAAG,eAAe,CAAC,KAAK,CAAC,aAAa,CAAC,CAAC;YAC1E,IAAI,CAAC,4BAA4B,EAAE,CAAC;gBAClC,OAAO,KAAK,CAAC;YACf,CAAC;YAED,OAAO,IAAI,CAAC;QACd,CAAC;QAED,SAAS,qBAAqB,CAC5B,IAA+B;YAE/B,MAAM,cAAc,GAAG,aAAa,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC;YACpD,IAAI,CAAC,cAAc,EAAE,CAAC;gBACpB,OAAO,SAAS,CAAC;YACnB,CAAC;YAED,KAAK,MAAM,CAAC,OAAO,EAAE,UAAU,CAAC,IAAI;gBAClC,CAAC,IAAI,CAAC,KAAK,EAAE,IAAI,CAAC,IAAI,CAAC;gBACvB,CAAC,IAAI,CAAC,IAAI,EAAE,IAAI,CAAC,KAAK,CAAC;aACxB,EAAE,CAAC;gBACF,IACE,OAAO,CAAC,IAAI,KAAK,sBAAc,CAAC,OAAO;oBACvC,OAAO,OAAO,CAAC,KAAK,KAAK,SAAS,EAClC,CAAC;oBACD,SAAS;gBACX,CAAC;gBAED,MAAM,EAAE,KAAK,EAAE,0BAA0B,EAAE,GAAG,OAAO,CAAC;gBACtD,MAAM,OAAO,GAAG,CAAC,cAAc,CAAC,UAAU,CAAC;gBAE3C,OAAO;oBACL,UAAU;oBACV,0BAA0B;oBAC1B,OAAO;iBACR,CAAC;YACJ,CAAC;YAED,OAAO,SAAS,CAAC;QACnB,CAAC;QAED,SAAS,mBAAmB,CAAC,IAAmB;YAC9C,OAAO,CACL,IAAI,CAAC,IAAI,KAAK,sBAAc,CAAC,eAAe;gBAC5C,IAAI,CAAC,MAAM;gBACX,IAAI,CAAC,QAAQ,KAAK,GAAG,CACtB,CAAC;QACJ,CAAC;QAED,OAAO;YACL,gBAAgB,CAAC,IAAI;gBACnB,MAAM,UAAU,GAAG,oBAAoB,CAAC,IAAI,CAAC,CAAC;gBAC9C,IAAI,UAAU,KAAK,SAAS,EAAE,CAAC;oBAC7B,OAAO;gBACT,CAAC;gBAED,IAAI,UAAU,CAAC,2BAA2B,EAAE,CAAC;oBAC3C,IACE,UAAU,CAAC,0BAA0B;wBACrC,OAAO,CAAC,oCAAoC,EAC5C,CAAC;wBACD,OAAO;oBACT,CAAC;oBACD,IACE,CAAC,UAAU,CAAC,0BAA0B;wBACtC,OAAO,CAAC,qCAAqC,EAC7C,CAAC;wBACD,OAAO;oBACT,CAAC;gBACH,CAAC;gBAED,OAAO,CAAC,MAAM,CAAC;oBACb,IAAI;oBACJ,SAAS,EAAE,UAAU,CAAC,2BAA2B;wBAC/C,CAAC,CAAC,UAAU,CAAC,0BAA0B;4BACrC,CAAC,CAAC,UAAU,CAAC,OAAO;gCAClB,CAAC,CAAC,gCAAgC;gCAClC,CAAC,CAAC,+BAA+B;4BACnC,CAAC,CAAC,0BAA0B;wBAC9B,CAAC,CAAC,UAAU,CAAC,OAAO;4BAClB,CAAC,CAAC,SAAS;4BACX,CAAC,CAAC,QAAQ;oBACd,CAAC,GAAG,CAAC,KAAK;wBACR,uCAAuC;wBACvC,iEAAiE;wBACjE,qCAAqC;wBAErC,MAAM,eAAe,GAAG,mBAAmB,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC;wBAEzD,MAAM,YAAY,GAChB,UAAU,CAAC,OAAO,KAAK,UAAU,CAAC,0BAA0B,CAAC;wBAE/D,MAAM,WAAW,GAAG,eAAe,CAAC,CAAC,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,IAAI,CAAC;wBAEzD,MAAM,KAAK,CAAC,WAAW,CACrB,WAAW,EACX,OAAO,CAAC,UAAU,CAAC,OAAO,CAAC,UAAU,CAAC,UAAU,CAAC,CAClD,CAAC;wBAEF,mGAAmG;wBACnG,IAAI,YAAY,KAAK,eAAe,EAAE,CAAC;4BACrC,MAAM,KAAK,CAAC,gBAAgB,CAAC,WAAW,EAAE,GAAG,CAAC,CAAC;4BAE/C,kFAAkF;4BAClF,IAAI,CAAC,IAAA,6BAAsB,EAAC,UAAU,CAAC,UAAU,CAAC,EAAE,CAAC;gCACnD,MAAM,KAAK,CAAC,gBAAgB,CAAC,WAAW,EAAE,GAAG,CAAC,CAAC;gCAC/C,MAAM,KAAK,CAAC,eAAe,CAAC,WAAW,EAAE,GAAG,CAAC,CAAC;4BAChD,CAAC;wBACH,CAAC;wBAED,2FAA2F;wBAC3F,IACE,UAAU,CAAC,2BAA2B;4BACtC,CAAC,UAAU,CAAC,0BAA0B,EACtC,CAAC;4BACD,6BAA6B;4BAC7B,MAAM,KAAK,CAAC,gBAAgB,CAAC,WAAW,EAAE,GAAG,CAAC,CAAC;4BAC/C,MAAM,KAAK,CAAC,eAAe,CAAC,WAAW,EAAE,WAAW,CAAC,CAAC;wBACxD,CAAC;oBACH,CAAC;iBACF,CAAC,CAAC;YACL,CAAC;SACF,CAAC;IACJ,CAAC;CACF,CAAC,CAAC;AAOH,SAAS,aAAa,CAAC,QAAgB;IACrC,QAAQ,QAAQ,EAAE,CAAC;QACjB,KAAK,IAAI;YACP,OAAO;gBACL,UAAU,EAAE,KAAK;gBACjB,QAAQ,EAAE,KAAK;aAChB,CAAC;QAEJ,KAAK,KAAK;YACR,OAAO;gBACL,UAAU,EAAE,KAAK;gBACjB,QAAQ,EAAE,IAAI;aACf,CAAC;QAEJ,KAAK,IAAI;YACP,OAAO;gBACL,UAAU,EAAE,IAAI;gBAChB,QAAQ,EAAE,KAAK;aAChB,CAAC;QAEJ,KAAK,KAAK;YACR,OAAO;gBACL,UAAU,EAAE,IAAI;gBAChB,QAAQ,EAAE,IAAI;aACf,CAAC;QAEJ;YACE,OAAO,SAAS,CAAC;IACrB,CAAC;AACH,CAAC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-condition.js b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-condition.js index 62053e36c6..084fbb60e0 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-condition.js +++ b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-condition.js @@ -15,13 +15,23 @@ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? ( }) : function(o, v) { o["default"] = v; }); -var __importStar = (this && this.__importStar) || function (mod) { - if (mod && mod.__esModule) return mod; - var result = {}; - if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k); - __setModuleDefault(result, mod); - return result; -}; +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); Object.defineProperty(exports, "__esModule", { value: true }); const utils_1 = require("@typescript-eslint/utils"); const tsutils = __importStar(require("ts-api-utils")); diff --git a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-condition.js.map b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-condition.js.map index e669993df0..2cd17d152e 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-condition.js.map +++ b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-condition.js.map @@ -1 +1 @@ -{"version":3,"file":"no-unnecessary-condition.js","sourceRoot":"","sources":["../../src/rules/no-unnecessary-condition.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AAEA,oDAA2E;AAC3E,sDAAwC;AACxC,+CAAiC;AAEjC,kCAciB;AACjB,2EAGwC;AAExC,uBAAuB;AACvB,UAAU;AACV,MAAM,mBAAmB,GAAG,CAC1B,KAAwC,EACd,EAAE;IAC5B,OAAO,OAAO,KAAK,KAAK,QAAQ,CAAC;AACnC,CAAC,CAAC;AAEF,MAAM,qBAAqB,GAAG,CAC5B,IAAoB,EACM,EAAE;IAC5B,IAAI,mBAAmB,CAAC,IAAI,CAAC,KAAK,CAAC,EAAE,CAAC;QACpC,OAAO,oBAAoB,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;IAC1C,CAAC;IACD,OAAO,IAAI,CAAC,KAAK,CAAC;AACpB,CAAC,CAAC;AAEF,MAAM,aAAa,GAAG,CAAC,IAAa,EAAW,EAAE;IAC/C,OAAO,CACL,OAAO,CAAC,aAAa,CAAC,IAAI,CAAC;QAC3B,mBAAmB,CAAC,IAAI,CAAC,KAAK,CAAC;QAC/B,CAAC,qBAAqB,CAAC,IAAI,CAAC,CAC7B,CAAC;AACJ,CAAC,CAAC;AACF,MAAM,eAAe,GAAG,CAAC,IAAa,EAAW,EAAE,CACjD,OAAO,CAAC,iBAAiB,CAAC,IAAI,CAAC;IAC/B,CAAC,IAAI,CAAC,SAAS,EAAE,IAAI,CAAC,CAAC,qBAAqB,CAAC,IAAI,CAAC,CAAC,CAAC;AAEtD,MAAM,eAAe,GAAG,CAAC,IAAa,EAAW,EAAE,CACjD,OAAO;KACJ,cAAc,CAAC,IAAI,CAAC;IACrB,+DAA+D;IAC/D,8CAA8C;KAC7C,OAAO,CAAC,IAAI,CAAC,EAAE,CAAC,OAAO,CAAC,qBAAqB,CAAC,IAAI,CAAC,CAAC;IACrD,mEAAmE;IACnE,wBAAwB;KACvB,MAAM,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,eAAe,CAAC,CAAC,CAAC,CAAC;KAChC,IAAI,CAAC,IAAI,CAAC,EAAE,CAAC,IAAA,oBAAa,EAAC,IAAI,EAAE,EAAE,CAAC,SAAS,CAAC,aAAa,CAAC,CAAC,CAAC;AAEnE,MAAM,gBAAgB,GAAG,CAAC,IAAa,EAAW,EAAE,CAClD,OAAO;KACJ,cAAc,CAAC,IAAI,CAAC;KACpB,GAAG,CAAC,IAAI,CAAC,EAAE,CAAC,OAAO,CAAC,qBAAqB,CAAC,IAAI,CAAC,CAAC;KAChD,IAAI,CAAC,iBAAiB,CAAC,EAAE;AACxB,gEAAgE;AAChE,mCAAmC;AACnC,iBAAiB,CAAC,KAAK,CACrB,IAAI,CAAC,EAAE,CACL,CAAC,OAAO,CAAC,WAAW,CAAC,IAAI,CAAC;IAC1B,6CAA6C;IAC7C,iEAAiE;IACjE,CAAC,aAAa,CAAC,IAAI,CAAC,CACvB,CACF,CAAC;AAEN,oBAAoB;AACpB,MAAM,WAAW,GAAG,EAAE,CAAC,SAAS,CAAC,SAAS,GAAG,EAAE,CAAC,SAAS,CAAC,IAAI,CAAC;AAC/D,MAAM,aAAa,GAAG,CAAC,IAAa,EAAW,EAAE,CAC/C,IAAA,oBAAa,EAAC,IAAI,EAAE,WAAW,CAAC,CAAC;AAEnC,MAAM,iBAAiB,GAAG,CAAC,IAAa,EAAW,EAAE,CACnD,OAAO,CAAC,cAAc,CAAC,IAAI,CAAC,CAAC,IAAI,CAAC,aAAa,CAAC,CAAC;AAEnD,MAAM,eAAe,GAAG,CAAC,IAAa,EAAW,EAAE,CACjD,OAAO,CAAC,cAAc,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,aAAa,CAAC,CAAC;AAEpD,SAAS,aAAa,CACpB,IAAa;IAIb,4FAA4F;IAC5F,IAAI,OAAO,CAAC,oBAAoB,CAAC,IAAI,CAAC,EAAE,CAAC;QACvC,0EAA0E;QAC1E,4DAA4D;QAC5D,iEAAiE;QACjE,OAAO,EAAE,KAAK,EAAE,IAAI,CAAC,aAAa,KAAK,MAAM,EAAE,CAAC;IAClD,CAAC;IACD,IAAI,IAAI,CAAC,KAAK,KAAK,EAAE,CAAC,SAAS,CAAC,SAAS,EAAE,CAAC;QAC1C,OAAO,EAAE,KAAK,EAAE,SAAS,EAAE,CAAC;IAC9B,CAAC;IACD,IAAI,IAAI,CAAC,KAAK,KAAK,EAAE,CAAC,SAAS,CAAC,IAAI,EAAE,CAAC;QACrC,OAAO,EAAE,KAAK,EAAE,IAAI,EAAE,CAAC;IACzB,CAAC;IACD,IAAI,IAAI,CAAC,SAAS,EAAE,EAAE,CAAC;QACrB,OAAO,EAAE,KAAK,EAAE,qBAAqB,CAAC,IAAI,CAAC,EAAE,CAAC;IAChD,CAAC;IAED,OAAO,SAAS,CAAC;AACnB,CAAC;AAED,SAAS,oBAAoB,CAAC,KAAsB;IAClD,OAAO,MAAM,CAAC,CAAC,KAAK,CAAC,QAAQ,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,GAAG,KAAK,CAAC,WAAW,CAAC,CAAC;AACjE,CAAC;AAED,MAAM,cAAc,GAAG,IAAI,GAAG,CAAC;IAC7B,GAAG;IACH,GAAG;IACH,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,KAAK;IACL,IAAI;IACJ,KAAK;CACG,CAAC,CAAC;AAIZ,SAAS,cAAc,CAAC,QAAgB;IACtC,OAAQ,cAA8B,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAC;AACvD,CAAC;AAED,SAAS,iBAAiB,CACxB,IAAa,EACb,QAAsB,EACtB,KAAc;IAEd,QAAQ,QAAQ,EAAE,CAAC;QACjB,KAAK,IAAI;YACP,iFAAiF;YACjF,OAAO,IAAI,IAAI,KAAK,CAAC;QACvB,KAAK,KAAK;YACR,OAAO,IAAI,KAAK,KAAK,CAAC;QACxB,KAAK,GAAG;YACN,yEAAyE;YACzE,OAAO,IAAI,GAAG,KAAK,CAAC;QACtB,KAAK,IAAI;YACP,yEAAyE;YACzE,OAAO,IAAI,IAAI,KAAK,CAAC;QACvB,KAAK,IAAI;YACP,iFAAiF;YACjF,OAAO,IAAI,IAAI,KAAK,CAAC;QACvB,KAAK,KAAK;YACR,OAAO,IAAI,KAAK,KAAK,CAAC;QACxB,KAAK,GAAG;YACN,yEAAyE;YACzE,OAAO,IAAI,GAAG,KAAK,CAAC;QACtB,KAAK,IAAI;YACP,yEAAyE;YACzE,OAAO,IAAI,IAAI,KAAK,CAAC;IACzB,CAAC;AACH,CAAC;AA0BD,kBAAe,IAAA,iBAAU,EAAqB;IAC5C,IAAI,EAAE,0BAA0B;IAChC,IAAI,EAAE;QACJ,IAAI,EAAE,YAAY;QAClB,IAAI,EAAE;YACJ,WAAW,EACT,uEAAuE;YACzE,WAAW,EAAE,QAAQ;YACrB,oBAAoB,EAAE,IAAI;SAC3B;QACD,OAAO,EAAE,MAAM;QACf,QAAQ,EAAE;YACR,WAAW,EAAE,iDAAiD;YAC9D,eAAe,EACb,wEAAwE;YAC1E,aAAa,EACX,2FAA2F;YAC7F,YAAY,EAAE,kDAAkD;YAChE,gBAAgB,EACd,yEAAyE;YAC3E,wBAAwB,EACtB,yHAAyH;YAC3H,KAAK,EAAE,4CAA4C;YACnD,YAAY,EACV,qGAAqG;YACvG,kBAAkB,EAAE,oDAAoD;YACxE,0BAA0B,EACxB,qDAAqD;YACvD,iBAAiB,EACf,kGAAkG;YACpG,sBAAsB,EACpB,iHAAiH;SACpH;QACD,MAAM,EAAE;YACN;gBACE,IAAI,EAAE,QAAQ;gBACd,oBAAoB,EAAE,KAAK;gBAC3B,UAAU,EAAE;oBACV,2BAA2B,EAAE;wBAC3B,IAAI,EAAE,SAAS;wBACf,WAAW,EACT,qEAAqE;qBACxE;oBACD,sDAAsD,EAAE;wBACtD,IAAI,EAAE,SAAS;wBACf,WAAW,EACT,qFAAqF;qBACxF;oBACD,mBAAmB,EAAE;wBACnB,IAAI,EAAE,SAAS;wBACf,WAAW,EACT,gGAAgG;qBACnG;iBACF;aACF;SACF;KACF;IACD,cAAc,EAAE;QACd;YACE,2BAA2B,EAAE,KAAK;YAClC,sDAAsD,EAAE,KAAK;YAC7D,mBAAmB,EAAE,KAAK;SAC3B;KACF;IACD,MAAM,CACJ,OAAO,EACP,CACE,EACE,2BAA2B,EAC3B,sDAAsD,EACtD,mBAAmB,GACpB,EACF;QAED,MAAM,QAAQ,GAAG,IAAA,wBAAiB,EAAC,OAAO,CAAC,CAAC;QAC5C,MAAM,OAAO,GAAG,QAAQ,CAAC,OAAO,CAAC,cAAc,EAAE,CAAC;QAElD,MAAM,eAAe,GAAG,QAAQ,CAAC,OAAO,CAAC,kBAAkB,EAAE,CAAC;QAC9D,MAAM,kBAAkB,GAAG,OAAO,CAAC,6BAA6B,CAC9D,eAAe,EACf,kBAAkB,CACnB,CAAC;QAEF,IACE,CAAC,kBAAkB;YACnB,sDAAsD,KAAK,IAAI,EAC/D,CAAC;YACD,OAAO,CAAC,MAAM,CAAC;gBACb,GAAG,EAAE;oBACH,KAAK,EAAE,EAAE,MAAM,EAAE,CAAC,EAAE,IAAI,EAAE,CAAC,EAAE;oBAC7B,GAAG,EAAE,EAAE,MAAM,EAAE,CAAC,EAAE,IAAI,EAAE,CAAC,EAAE;iBAC5B;gBACD,SAAS,EAAE,mBAAmB;aAC/B,CAAC,CAAC;QACL,CAAC;QAED,SAAS,eAAe,CAAC,IAAyB;YAChD,MAAM,QAAQ,GAAG,IAAA,mCAA4B,EAAC,QAAQ,EAAE,IAAI,CAAC,CAAC;YAC9D,OAAO,OAAO;iBACX,cAAc,CAAC,QAAQ,CAAC;iBACxB,IAAI,CAAC,IAAI,CAAC,EAAE,CAAC,OAAO,CAAC,WAAW,CAAC,IAAI,CAAC,CAAC,CAAC;QAC7C,CAAC;QAED,SAAS,eAAe,CAAC,IAAyB;YAChD,MAAM,QAAQ,GAAG,IAAA,mCAA4B,EAAC,QAAQ,EAAE,IAAI,CAAC,CAAC;YAC9D,OAAO,OAAO;iBACX,cAAc,CAAC,QAAQ,CAAC;iBACxB,IAAI,CAAC,IAAI,CAAC,EAAE,CAAC,OAAO,CAAC,WAAW,CAAC,IAAI,CAAC,CAAC,CAAC;QAC7C,CAAC;QAED,SAAS,sBAAsB,CAAC,IAAyB;YACvD,OAAO;YACL,wBAAwB;YACxB,IAAI,CAAC,IAAI,KAAK,sBAAc,CAAC,gBAAgB;gBAC7C,IAAI,CAAC,QAAQ;gBACb,wBAAwB;gBACxB,CAAC,eAAe,CAAC,IAAI,CAAC,MAAM,CAAC;oBAC3B,sBAAsB;oBACtB,CAAC,eAAe,CAAC,IAAI,CAAC,MAAM,CAAC;wBAC3B,iEAAiE;wBACjE,IAAI,CAAC,QAAQ,CAAC,IAAI,KAAK,sBAAc,CAAC,OAAO,CAAC,CAAC,CACpD,CAAC;QACJ,CAAC;QAED,SAAS,0BAA0B,CACjC,IAA+B;YAE/B,MAAM,UAAU,GAAG,QAAQ,CAAC,iBAAiB,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC;YAC3D,IAAI,IAAI,CAAC,QAAQ,EAAE,CAAC;gBAClB,MAAM,YAAY,GAAG,QAAQ,CAAC,iBAAiB,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC;gBAC/D,OAAO,sBAAsB,CAAC,UAAU,EAAE,YAAY,CAAC,CAAC;YAC1D,CAAC;YACD,MAAM,QAAQ,GAAG,IAAI,CAAC,QAAQ,CAAC;YAE/B,gFAAgF;YAChF,MAAM,YAAY,GAAG,OAAO,CAAC,UAAU,CAAC,OAAO,CAAC,QAAQ,CAAC,CAAC;YAE1D,MAAM,YAAY,GAAG,UAAU;iBAC5B,aAAa,EAAE;iBACf,IAAI,CAAC,IAAI,CAAC,EAAE,CAAC,IAAI,CAAC,IAAI,KAAK,YAAY,CAAC,CAAC;YAE5C,IACE,YAAY;gBACZ,OAAO,CAAC,eAAe,CAAC,YAAY,EAAE,EAAE,CAAC,WAAW,CAAC,QAAQ,CAAC,EAC9D,CAAC;gBACD,OAAO,IAAI,CAAC;YACd,CAAC;YAED,OAAO,KAAK,CAAC;QACf,CAAC;QAED;;;WAGG;QACH,SAAS,SAAS,CAChB,UAA+B,EAC/B,kBAAkB,GAAG,KAAK,EAC1B,IAAI,GAAG,UAAU;YAEjB,+DAA+D;YAC/D,IACE,UAAU,CAAC,IAAI,KAAK,sBAAc,CAAC,eAAe;gBAClD,UAAU,CAAC,QAAQ,KAAK,GAAG,EAC3B,CAAC;gBACD,OAAO,SAAS,CAAC,UAAU,CAAC,QAAQ,EAAE,CAAC,kBAAkB,EAAE,IAAI,CAAC,CAAC;YACnE,CAAC;YAED,mEAAmE;YACnE,wEAAwE;YACxE,iDAAiD;YACjD,IAAI,sBAAsB,CAAC,UAAU,CAAC,EAAE,CAAC;gBACvC,OAAO;YACT,CAAC;YAED,+DAA+D;YAC/D,yFAAyF;YACzF,EAAE;YACF,6GAA6G;YAC7G,kGAAkG;YAClG,6EAA6E;YAC7E,IACE,UAAU,CAAC,IAAI,KAAK,sBAAc,CAAC,iBAAiB;gBACpD,UAAU,CAAC,QAAQ,KAAK,IAAI,EAC5B,CAAC;gBACD,OAAO,SAAS,CAAC,UAAU,CAAC,KAAK,CAAC,CAAC;YACrC,CAAC;YAED,MAAM,IAAI,GAAG,IAAA,mCAA4B,EAAC,QAAQ,EAAE,UAAU,CAAC,CAAC;YAEhE,kDAAkD;YAClD,iDAAiD;YACjD,IACE,OAAO;iBACJ,cAAc,CAAC,IAAI,CAAC;iBACpB,IAAI,CACH,IAAI,CAAC,EAAE,CACL,IAAA,oBAAa,EAAC,IAAI,CAAC;gBACnB,IAAA,wBAAiB,EAAC,IAAI,CAAC;gBACvB,IAAA,oBAAa,EAAC,IAAI,EAAE,EAAE,CAAC,SAAS,CAAC,YAAY,CAAC,CACjD,EACH,CAAC;gBACD,OAAO;YACT,CAAC;YACD,IAAI,SAAS,GAAqB,IAAI,CAAC;YAEvC,IAAI,IAAA,oBAAa,EAAC,IAAI,EAAE,EAAE,CAAC,SAAS,CAAC,KAAK,CAAC,EAAE,CAAC;gBAC5C,SAAS,GAAG,OAAO,CAAC;YACtB,CAAC;iBAAM,IAAI,CAAC,gBAAgB,CAAC,IAAI,CAAC,EAAE,CAAC;gBACnC,SAAS,GAAG,CAAC,kBAAkB,CAAC,CAAC,CAAC,aAAa,CAAC,CAAC,CAAC,cAAc,CAAC;YACnE,CAAC;iBAAM,IAAI,CAAC,eAAe,CAAC,IAAI,CAAC,EAAE,CAAC;gBAClC,SAAS,GAAG,CAAC,kBAAkB,CAAC,CAAC,CAAC,cAAc,CAAC,CAAC,CAAC,aAAa,CAAC;YACnE,CAAC;YAED,IAAI,SAAS,EAAE,CAAC;gBACd,OAAO,CAAC,MAAM,CAAC,EAAE,IAAI,EAAE,SAAS,EAAE,CAAC,CAAC;YACtC,CAAC;QACH,CAAC;QAED,SAAS,mBAAmB,CAAC,IAAyB;YACpD,MAAM,IAAI,GAAG,IAAA,mCAA4B,EAAC,QAAQ,EAAE,IAAI,CAAC,CAAC;YAE1D,4FAA4F;YAC5F,IACE,IAAA,oBAAa,EACX,IAAI,EACJ,EAAE,CAAC,SAAS,CAAC,GAAG;gBACd,EAAE,CAAC,SAAS,CAAC,OAAO;gBACpB,EAAE,CAAC,SAAS,CAAC,aAAa;gBAC1B,EAAE,CAAC,SAAS,CAAC,YAAY,CAC5B,EACD,CAAC;gBACD,OAAO;YACT,CAAC;YAED,IAAI,SAAS,GAAqB,IAAI,CAAC;YACvC,IAAI,IAAA,oBAAa,EAAC,IAAI,EAAE,EAAE,CAAC,SAAS,CAAC,KAAK,CAAC,EAAE,CAAC;gBAC5C,SAAS,GAAG,OAAO,CAAC;YACtB,CAAC;iBAAM,IACL,CAAC,iBAAiB,CAAC,IAAI,CAAC;gBACxB,CAAC,CACC,IAAI,CAAC,IAAI,KAAK,sBAAc,CAAC,gBAAgB;oBAC7C,0BAA0B,CAAC,IAAI,CAAC,CACjC,EACD,CAAC;gBACD,mEAAmE;gBACnE,wEAAwE;gBACxE,iDAAiD;gBACjD,IACE,CAAC,sBAAsB,CAAC,IAAI,CAAC;oBAC7B,CAAC,CACC,IAAI,CAAC,IAAI,KAAK,sBAAc,CAAC,eAAe;wBAC5C,IAAI,CAAC,UAAU,CAAC,IAAI,KAAK,sBAAc,CAAC,mBAAmB;wBAC3D,mCAAmC,CAAC,IAAI,CAAC,UAAU,CAAC,CACrD,EACD,CAAC;oBACD,SAAS,GAAG,cAAc,CAAC;gBAC7B,CAAC;YACH,CAAC;iBAAM,IAAI,eAAe,CAAC,IAAI,CAAC,EAAE,CAAC;gBACjC,SAAS,GAAG,eAAe,CAAC;YAC9B,CAAC;YAED,IAAI,SAAS,EAAE,CAAC;gBACd,OAAO,CAAC,MAAM,CAAC,EAAE,IAAI,EAAE,SAAS,EAAE,CAAC,CAAC;YACtC,CAAC;QACH,CAAC;QAED;;;;;;;;;WASG;QACH,SAAS,2CAA2C,CAClD,IAAmB,EACnB,IAAmB,EACnB,KAAoB,EACpB,QAAsB;YAEtB,MAAM,QAAQ,GAAG,IAAA,mCAA4B,EAAC,QAAQ,EAAE,IAAI,CAAC,CAAC;YAC9D,MAAM,SAAS,GAAG,IAAA,mCAA4B,EAAC,QAAQ,EAAE,KAAK,CAAC,CAAC;YAEhE,MAAM,eAAe,GAAG,aAAa,CAAC,QAAQ,CAAC,CAAC;YAChD,MAAM,gBAAgB,GAAG,aAAa,CAAC,SAAS,CAAC,CAAC;YAElD,IAAI,eAAe,IAAI,IAAI,IAAI,gBAAgB,IAAI,IAAI,EAAE,CAAC;gBACxD,MAAM,eAAe,GAAG,iBAAiB,CACvC,eAAe,CAAC,KAAK,EACrB,QAAQ,EACR,gBAAgB,CAAC,KAAK,CACvB,CAAC;gBAEF,OAAO,CAAC,MAAM,CAAC;oBACb,IAAI;oBACJ,SAAS,EAAE,0BAA0B;oBACrC,IAAI,EAAE;wBACJ,WAAW,EAAE,eAAe,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,OAAO;qBAChD;iBACF,CAAC,CAAC;gBACH,OAAO;YACT,CAAC;YAED,sEAAsE;YACtE,IAAI,kBAAkB,EAAE,CAAC;gBACvB,MAAM,SAAS,GAAG,EAAE,CAAC,SAAS,CAAC,SAAS,CAAC;gBACzC,MAAM,IAAI,GAAG,EAAE,CAAC,SAAS,CAAC,IAAI,CAAC;gBAC/B,MAAM,IAAI,GAAG,EAAE,CAAC,SAAS,CAAC,IAAI,CAAC;gBAC/B,MAAM,YAAY,GAAG,CAAC,IAAa,EAAE,IAAkB,EAAW,EAAE;oBAClE,kEAAkE;oBAClE,IAAI;wBACF,EAAE,CAAC,SAAS,CAAC,GAAG;4BAChB,EAAE,CAAC,SAAS,CAAC,OAAO;4BACpB,EAAE,CAAC,SAAS,CAAC,aAAa;4BAC1B,EAAE,CAAC,SAAS,CAAC,YAAY,CAAC;oBAE5B,4CAA4C;oBAC5C,IAAI,QAAQ,KAAK,IAAI,IAAI,QAAQ,KAAK,IAAI,EAAE,CAAC;wBAC3C,IAAI,IAAI,IAAI,GAAG,SAAS,GAAG,IAAI,CAAC;oBAClC,CAAC;oBAED,OAAO,IAAA,oBAAa,EAAC,IAAI,EAAE,IAAI,CAAC,CAAC;gBACnC,CAAC,CAAC;gBAEF,IACE,CAAC,QAAQ,CAAC,KAAK,KAAK,SAAS;oBAC3B,CAAC,YAAY,CAAC,SAAS,EAAE,SAAS,GAAG,IAAI,CAAC,CAAC;oBAC7C,CAAC,SAAS,CAAC,KAAK,KAAK,SAAS;wBAC5B,CAAC,YAAY,CAAC,QAAQ,EAAE,SAAS,GAAG,IAAI,CAAC,CAAC;oBAC5C,CAAC,QAAQ,CAAC,KAAK,KAAK,IAAI,IAAI,CAAC,YAAY,CAAC,SAAS,EAAE,IAAI,CAAC,CAAC;oBAC3D,CAAC,SAAS,CAAC,KAAK,KAAK,IAAI,IAAI,CAAC,YAAY,CAAC,QAAQ,EAAE,IAAI,CAAC,CAAC,EAC3D,CAAC;oBACD,OAAO,CAAC,MAAM,CAAC,EAAE,IAAI,EAAE,SAAS,EAAE,4BAA4B,EAAE,CAAC,CAAC;oBAClE,OAAO;gBACT,CAAC;YACH,CAAC;QACH,CAAC;QAED;;WAEG;QACH,SAAS,gDAAgD,CACvD,IAAgC;YAEhC,IAAI,IAAI,CAAC,QAAQ,KAAK,IAAI,EAAE,CAAC;gBAC3B,mBAAmB,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;gBAC/B,OAAO;YACT,CAAC;YACD,qFAAqF;YACrF,2FAA2F;YAC3F,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;QACvB,CAAC;QAED;;WAEG;QACH,SAAS,iCAAiC,CACxC,IAG2B;YAE3B,IAAI,IAAI,CAAC,IAAI,IAAI,IAAI,EAAE,CAAC;gBACtB,iBAAiB;gBACjB,OAAO;YACT,CAAC;YAED;;;;;eAKG;YACH,IACE,2BAA2B;gBAC3B,OAAO,CAAC,iBAAiB,CACvB,IAAA,mCAA4B,EAAC,QAAQ,EAAE,IAAI,CAAC,IAAI,CAAC,CAClD,EACD,CAAC;gBACD,OAAO;YACT,CAAC;YAED,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;QACvB,CAAC;QAED,SAAS,mBAAmB,CAAC,IAA6B;YACxD,IAAI,mBAAmB,EAAE,CAAC;gBACxB,MAAM,0BAA0B,GAAG,IAAA,uDAA8B,EAC/D,QAAQ,EACR,IAAI,CACL,CAAC;gBACF,IAAI,0BAA0B,IAAI,IAAI,EAAE,CAAC;oBACvC,SAAS,CAAC,0BAA0B,CAAC,CAAC;gBACxC,CAAC;gBAED,MAAM,yBAAyB,GAAG,IAAA,sDAA6B,EAC7D,QAAQ,EACR,IAAI,CACL,CAAC;gBACF,IAAI,yBAAyB,IAAI,IAAI,EAAE,CAAC;oBACtC,MAAM,cAAc,GAAG,IAAA,mCAA4B,EACjD,QAAQ,EACR,yBAAyB,CAAC,QAAQ,CACnC,CAAC;oBACF,IAAI,cAAc,KAAK,yBAAyB,CAAC,IAAI,EAAE,CAAC;wBACtD,OAAO,CAAC,MAAM,CAAC;4BACb,IAAI,EAAE,yBAAyB,CAAC,QAAQ;4BACxC,SAAS,EAAE,wBAAwB;4BACnC,IAAI,EAAE;gCACJ,4BAA4B,EAAE,yBAAyB,CAAC,OAAO;oCAC7D,CAAC,CAAC,oBAAoB;oCACtB,CAAC,CAAC,YAAY;6BACjB;yBACF,CAAC,CAAC;oBACL,CAAC;gBACH,CAAC;YACH,CAAC;YAED,8EAA8E;YAC9E,IACE,IAAA,qCAA8B,EAAC,OAAO,EAAE,QAAQ,EAAE,IAAI,CAAC;gBACvD,IAAI,CAAC,SAAS,CAAC,MAAM,EACrB,CAAC;gBACD,MAAM,QAAQ,GAAG,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC;gBACnC,2BAA2B;gBAC3B,IACE,QAAQ,CAAC,IAAI,KAAK,sBAAc,CAAC,uBAAuB;oBACxD,QAAQ,CAAC,IAAI,KAAK,sBAAc,CAAC,kBAAkB,EACnD,CAAC;oBACD,2EAA2E;oBAC3E,kBAAkB;oBAClB,IAAI,QAAQ,CAAC,IAAI,CAAC,IAAI,KAAK,sBAAc,CAAC,cAAc,EAAE,CAAC;wBACzD,OAAO,SAAS,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC;oBAClC,CAAC;oBACD,8BAA8B;oBAC9B,MAAM,YAAY,GAAG,QAAQ,CAAC,IAAI,CAAC,IAAI,CAAC;oBACxC,IACE,YAAY,CAAC,MAAM,KAAK,CAAC;wBACzB,YAAY,CAAC,CAAC,CAAC,CAAC,IAAI,KAAK,sBAAc,CAAC,eAAe;wBACvD,YAAY,CAAC,CAAC,CAAC,CAAC,QAAQ,EACxB,CAAC;wBACD,OAAO,SAAS,CAAC,YAAY,CAAC,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC;oBAC7C,CAAC;oBACD,+DAA+D;oBAC/D,gDAAgD;oBAChD,iDAAiD;gBACnD,CAAC;gBACD,8DAA8D;gBAC9D,MAAM,WAAW,GAAG,OAAO;qBACxB,uBAAuB,CACtB,IAAA,mCAA4B,EAAC,QAAQ,EAAE,QAAQ,CAAC,CACjD;qBACA,GAAG,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,CAAC,aAAa,EAAE,CAAC,CAAC;gBACnC,wBAAwB,CAAC,IAAI,WAAW,CAAC,MAAM,KAAK,CAAC,EAAE,CAAC;oBACtD,0BAA0B;oBAC1B,OAAO;gBACT,CAAC;gBACD,kEAAkE;gBAClE,IAAI,WAAW,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,CAAC,IAAA,oBAAa,EAAC,CAAC,CAAC,IAAI,IAAA,wBAAiB,EAAC,CAAC,CAAC,CAAC,EAAE,CAAC;oBACpE,OAAO;gBACT,CAAC;gBACD,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC,eAAe,CAAC,EAAE,CAAC;oBACvC,OAAO,OAAO,CAAC,MAAM,CAAC;wBACpB,IAAI,EAAE,QAAQ;wBACd,SAAS,EAAE,kBAAkB;qBAC9B,CAAC,CAAC;gBACL,CAAC;gBACD,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC,gBAAgB,CAAC,EAAE,CAAC;oBACxC,OAAO,OAAO,CAAC,MAAM,CAAC;wBACpB,IAAI,EAAE,QAAQ;wBACd,SAAS,EAAE,iBAAiB;qBAC7B,CAAC,CAAC;gBACL,CAAC;YACH,CAAC;QACH,CAAC;QAED,uEAAuE;QACvE,8FAA8F;QAC9F,YAAY;QACZ,OAAO;QACP,gDAAgD;QAChD,6BAA6B;QAC7B,2EAA2E;QAC3E,OAAO;QACP,SAAS,mCAAmC,CAC1C,IAAyD;YAEzD,MAAM,OAAO,GACX,IAAI,CAAC,IAAI,KAAK,sBAAc,CAAC,cAAc,CAAC,CAAC,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,IAAI,CAAC,MAAM,CAAC;YAC1E,IAAI,IAAI,CAAC,QAAQ,IAAI,sBAAsB,CAAC,OAAO,CAAC,EAAE,CAAC;gBACrD,OAAO,IAAI,CAAC;YACd,CAAC;YACD,IACE,OAAO,CAAC,IAAI,KAAK,sBAAc,CAAC,gBAAgB;gBAChD,OAAO,CAAC,IAAI,KAAK,sBAAc,CAAC,cAAc,EAC9C,CAAC;gBACD,OAAO,mCAAmC,CAAC,OAAO,CAAC,CAAC;YACtD,CAAC;YACD,OAAO,KAAK,CAAC;QACf,CAAC;QAED,SAAS,sBAAsB,CAC7B,OAAgB,EAChB,YAAqB;YAErB,IAAI,YAAY,CAAC,OAAO,EAAE,EAAE,CAAC;gBAC3B,OAAO,YAAY,CAAC,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,EAAE,CACpC,sBAAsB,CAAC,OAAO,EAAE,IAAI,CAAC,CACtC,CAAC;YACJ,CAAC;YACD,IAAI,YAAY,CAAC,eAAe,EAAE,IAAI,YAAY,CAAC,eAAe,EAAE,EAAE,CAAC;gBACrE,MAAM,QAAQ,GAAG,IAAA,8BAAuB,EACtC,OAAO,EACP,OAAO,EACP,YAAY,CAAC,KAAK,CAAC,QAAQ,EAAE,CAC9B,CAAC;gBACF,IAAI,QAAQ,EAAE,CAAC;oBACb,OAAO,IAAA,qBAAc,EAAC,QAAQ,CAAC,CAAC;gBAClC,CAAC;YACH,CAAC;YACD,MAAM,QAAQ,GAAG,IAAA,kBAAW,EAAC,OAAO,EAAE,YAAY,CAAC,CAAC;YACpD,OAAO,OAAO;iBACX,mBAAmB,CAAC,OAAO,CAAC;iBAC5B,IAAI,CAAC,IAAI,CAAC,EAAE,CAAC,IAAA,kBAAW,EAAC,OAAO,EAAE,IAAI,CAAC,OAAO,CAAC,KAAK,QAAQ,CAAC,CAAC;QACnE,CAAC;QAED,0FAA0F;QAC1F,YAAY;QACZ,OAAO;QACP,0CAA0C;QAC1C,4EAA4E;QAC5E,uDAAuD;QACvD,aAAa;QACb,OAAO;QACP,SAAS,0CAA0C,CACjD,IAA+B;YAE/B,MAAM,QAAQ,GAAG,IAAA,mCAA4B,EAAC,QAAQ,EAAE,IAAI,CAAC,MAAM,CAAC,CAAC;YACrE,MAAM,QAAQ,GAAG,IAAI,CAAC,QAAQ,CAAC;YAC/B,IAAI,QAAQ,CAAC,OAAO,EAAE,IAAI,IAAA,mBAAY,EAAC,QAAQ,CAAC,EAAE,CAAC;gBACjD,MAAM,aAAa,GAAG,QAAQ,CAAC,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,EAAE;oBAC/C,IAAI,IAAI,CAAC,QAAQ,EAAE,CAAC;wBAClB,MAAM,YAAY,GAAG,IAAA,mCAA4B,EAC/C,QAAQ,EACR,IAAI,CAAC,QAAQ,CACd,CAAC;wBACF,OAAO,sBAAsB,CAAC,IAAI,EAAE,YAAY,CAAC,CAAC;oBACpD,CAAC;oBACD,MAAM,QAAQ,GAAG,IAAA,8BAAuB,EACtC,OAAO,EACP,IAAI,EACJ,QAAQ,CAAC,IAAI,CACd,CAAC;oBAEF,IAAI,QAAQ,EAAE,CAAC;wBACb,OAAO,IAAA,qBAAc,EAAC,QAAQ,CAAC,CAAC;oBAClC,CAAC;oBAED,OAAO,CAAC,CAAC,OAAO,CAAC,kBAAkB,CAAC,IAAI,EAAE,EAAE,CAAC,SAAS,CAAC,MAAM,CAAC,CAAC;gBACjE,CAAC,CAAC,CAAC;gBACH,OAAO,CAAC,aAAa,IAAI,IAAA,qBAAc,EAAC,QAAQ,CAAC,CAAC;YACpD,CAAC;YACD,OAAO,KAAK,CAAC;QACf,CAAC;QAED,SAAS,wCAAwC,CAC/C,IAA6B;YAE7B,MAAM,QAAQ,GAAG,IAAA,mCAA4B,EAAC,QAAQ,EAAE,IAAI,CAAC,MAAM,CAAC,CAAC;YAErE,IAAI,QAAQ,CAAC,OAAO,EAAE,EAAE,CAAC;gBACvB,MAAM,aAAa,GAAG,QAAQ,CAAC,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,EAAE;oBAC/C,MAAM,UAAU,GAAG,IAAI,CAAC,iBAAiB,EAAE,CAAC;oBAC5C,OAAO,UAAU,CAAC,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,IAAA,qBAAc,EAAC,GAAG,CAAC,aAAa,EAAE,CAAC,CAAC,CAAC;gBACrE,CAAC,CAAC,CAAC;gBACH,OAAO,CAAC,aAAa,IAAI,IAAA,qBAAc,EAAC,QAAQ,CAAC,CAAC;YACpD,CAAC;YAED,OAAO,KAAK,CAAC;QACf,CAAC;QAED,SAAS,sBAAsB,CAAC,IAAyB;YACvD,MAAM,IAAI,GAAG,IAAA,mCAA4B,EAAC,QAAQ,EAAE,IAAI,CAAC,CAAC;YAC1D,MAAM,aAAa,GACjB,IAAI,CAAC,IAAI,KAAK,sBAAc,CAAC,gBAAgB;gBAC3C,CAAC,CAAC,CAAC,0CAA0C,CAAC,IAAI,CAAC;gBACnD,CAAC,CAAC,IAAI,CAAC,IAAI,KAAK,sBAAc,CAAC,cAAc;oBAC3C,CAAC,CAAC,CAAC,wCAAwC,CAAC,IAAI,CAAC;oBACjD,CAAC,CAAC,IAAI,CAAC;YAEb,OAAO,CACL,IAAA,oBAAa,EAAC,IAAI,EAAE,EAAE,CAAC,SAAS,CAAC,GAAG,GAAG,EAAE,CAAC,SAAS,CAAC,OAAO,CAAC;gBAC5D,CAAC,aAAa,IAAI,IAAA,qBAAc,EAAC,IAAI,CAAC,CAAC,CACxC,CAAC;QACJ,CAAC;QAED,SAAS,kBAAkB,CACzB,IAAyD,EACzD,cAA6B,EAC7B,GAAa;YAEb,sEAAsE;YACtE,4CAA4C;YAC5C,IAAI,CAAC,IAAI,CAAC,QAAQ,EAAE,CAAC;gBACnB,OAAO;YACT,CAAC;YAED,mEAAmE;YACnE,wEAAwE;YACxE,iDAAiD;YACjD,IAAI,mCAAmC,CAAC,IAAI,CAAC,EAAE,CAAC;gBAC9C,OAAO;YACT,CAAC;YAED,MAAM,WAAW,GACf,IAAI,CAAC,IAAI,KAAK,sBAAc,CAAC,cAAc,CAAC,CAAC,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,IAAI,CAAC,MAAM,CAAC;YAE1E,IAAI,sBAAsB,CAAC,WAAW,CAAC,EAAE,CAAC;gBACxC,OAAO;YACT,CAAC;YAED,MAAM,mBAAmB,GAAG,IAAA,iBAAU,EACpC,OAAO,CAAC,UAAU,CAAC,aAAa,CAC9B,cAAc,EACd,KAAK,CAAC,EAAE,CACN,KAAK,CAAC,IAAI,KAAK,uBAAe,CAAC,UAAU,IAAI,KAAK,CAAC,KAAK,KAAK,IAAI,CACpE,EACD,wBAAiB,CAAC,YAAY,CAAC,UAAU,EAAE,IAAI,CAAC,IAAI,CAAC,CACtD,CAAC;YAEF,OAAO,CAAC,MAAM,CAAC;gBACb,GAAG,EAAE,mBAAmB,CAAC,GAAG;gBAC5B,IAAI;gBACJ,SAAS,EAAE,oBAAoB;gBAC/B,GAAG,CAAC,KAAK;oBACP,OAAO,KAAK,CAAC,WAAW,CAAC,mBAAmB,EAAE,GAAG,CAAC,CAAC;gBACrD,CAAC;aACF,CAAC,CAAC;QACL,CAAC;QAED,SAAS,6BAA6B,CACpC,IAA+B;YAE/B,kBAAkB,CAAC,IAAI,EAAE,IAAI,CAAC,MAAM,EAAE,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC;QAClE,CAAC;QAED,SAAS,2BAA2B,CAAC,IAA6B;YAChE,kBAAkB,CAAC,IAAI,EAAE,IAAI,CAAC,MAAM,EAAE,EAAE,CAAC,CAAC;QAC5C,CAAC;QAED,SAAS,yBAAyB,CAChC,IAAmC;YAEnC,qEAAqE;YACrE,wCAAwC;YACxC,IAAI,CAAC,KAAK,EAAE,KAAK,CAAC,CAAC,QAAQ,CAAC,IAAI,CAAC,QAAQ,CAAC,EAAE,CAAC;gBAC3C,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;YACvB,CAAC;iBAAM,IAAI,IAAI,CAAC,QAAQ,KAAK,KAAK,EAAE,CAAC;gBACnC,mBAAmB,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;YACjC,CAAC;QACH,CAAC;QAED,OAAO;YACL,oBAAoB,EAAE,yBAAyB;YAC/C,gBAAgB,CAAC,IAAI;gBACnB,MAAM,EAAE,QAAQ,EAAE,GAAG,IAAI,CAAC;gBAC1B,IAAI,cAAc,CAAC,QAAQ,CAAC,EAAE,CAAC;oBAC7B,2CAA2C,CACzC,IAAI,EACJ,IAAI,CAAC,IAAI,EACT,IAAI,CAAC,KAAK,EACV,QAAQ,CACT,CAAC;gBACJ,CAAC;YACH,CAAC;YACD,cAAc,EAAE,mBAAmB;YACnC,iCAAiC,EAAE,2BAA2B;YAC9D,qBAAqB,EAAE,CAAC,IAAI,EAAQ,EAAE,CAAC,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC;YAC3D,gBAAgB,EAAE,iCAAiC;YACnD,YAAY,EAAE,iCAAiC;YAC/C,WAAW,EAAE,CAAC,IAAI,EAAQ,EAAE,CAAC,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC;YACjD,iBAAiB,EAAE,gDAAgD;YACnE,mCAAmC,EAAE,6BAA6B;YAClE,UAAU,CAAC,EAAE,MAAM,EAAE,IAAI,EAAE;gBACzB,yCAAyC;gBACzC,IAAI,IAAI,EAAE,CAAC;oBACT,2CAA2C,CACzC,IAAI,EACJ,MAAM,CAAC,YAAY,EACnB,IAAI,EACJ,KAAK,CACN,CAAC;gBACJ,CAAC;YACH,CAAC;YACD,cAAc,EAAE,iCAAiC;SAClD,CAAC;IACJ,CAAC;CACF,CAAC,CAAC"} \ No newline at end of file +{"version":3,"file":"no-unnecessary-condition.js","sourceRoot":"","sources":["../../src/rules/no-unnecessary-condition.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEA,oDAA2E;AAC3E,sDAAwC;AACxC,+CAAiC;AAEjC,kCAciB;AACjB,2EAGwC;AAExC,uBAAuB;AACvB,UAAU;AACV,MAAM,mBAAmB,GAAG,CAC1B,KAAwC,EACd,EAAE;IAC5B,OAAO,OAAO,KAAK,KAAK,QAAQ,CAAC;AACnC,CAAC,CAAC;AAEF,MAAM,qBAAqB,GAAG,CAC5B,IAAoB,EACM,EAAE;IAC5B,IAAI,mBAAmB,CAAC,IAAI,CAAC,KAAK,CAAC,EAAE,CAAC;QACpC,OAAO,oBAAoB,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;IAC1C,CAAC;IACD,OAAO,IAAI,CAAC,KAAK,CAAC;AACpB,CAAC,CAAC;AAEF,MAAM,aAAa,GAAG,CAAC,IAAa,EAAW,EAAE;IAC/C,OAAO,CACL,OAAO,CAAC,aAAa,CAAC,IAAI,CAAC;QAC3B,mBAAmB,CAAC,IAAI,CAAC,KAAK,CAAC;QAC/B,CAAC,qBAAqB,CAAC,IAAI,CAAC,CAC7B,CAAC;AACJ,CAAC,CAAC;AACF,MAAM,eAAe,GAAG,CAAC,IAAa,EAAW,EAAE,CACjD,OAAO,CAAC,iBAAiB,CAAC,IAAI,CAAC;IAC/B,CAAC,IAAI,CAAC,SAAS,EAAE,IAAI,CAAC,CAAC,qBAAqB,CAAC,IAAI,CAAC,CAAC,CAAC;AAEtD,MAAM,eAAe,GAAG,CAAC,IAAa,EAAW,EAAE,CACjD,OAAO;KACJ,cAAc,CAAC,IAAI,CAAC;IACrB,+DAA+D;IAC/D,8CAA8C;KAC7C,OAAO,CAAC,IAAI,CAAC,EAAE,CAAC,OAAO,CAAC,qBAAqB,CAAC,IAAI,CAAC,CAAC;IACrD,mEAAmE;IACnE,wBAAwB;KACvB,MAAM,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,eAAe,CAAC,CAAC,CAAC,CAAC;KAChC,IAAI,CAAC,IAAI,CAAC,EAAE,CAAC,IAAA,oBAAa,EAAC,IAAI,EAAE,EAAE,CAAC,SAAS,CAAC,aAAa,CAAC,CAAC,CAAC;AAEnE,MAAM,gBAAgB,GAAG,CAAC,IAAa,EAAW,EAAE,CAClD,OAAO;KACJ,cAAc,CAAC,IAAI,CAAC;KACpB,GAAG,CAAC,IAAI,CAAC,EAAE,CAAC,OAAO,CAAC,qBAAqB,CAAC,IAAI,CAAC,CAAC;KAChD,IAAI,CAAC,iBAAiB,CAAC,EAAE;AACxB,gEAAgE;AAChE,mCAAmC;AACnC,iBAAiB,CAAC,KAAK,CACrB,IAAI,CAAC,EAAE,CACL,CAAC,OAAO,CAAC,WAAW,CAAC,IAAI,CAAC;IAC1B,6CAA6C;IAC7C,iEAAiE;IACjE,CAAC,aAAa,CAAC,IAAI,CAAC,CACvB,CACF,CAAC;AAEN,oBAAoB;AACpB,MAAM,WAAW,GAAG,EAAE,CAAC,SAAS,CAAC,SAAS,GAAG,EAAE,CAAC,SAAS,CAAC,IAAI,CAAC;AAC/D,MAAM,aAAa,GAAG,CAAC,IAAa,EAAW,EAAE,CAC/C,IAAA,oBAAa,EAAC,IAAI,EAAE,WAAW,CAAC,CAAC;AAEnC,MAAM,iBAAiB,GAAG,CAAC,IAAa,EAAW,EAAE,CACnD,OAAO,CAAC,cAAc,CAAC,IAAI,CAAC,CAAC,IAAI,CAAC,aAAa,CAAC,CAAC;AAEnD,MAAM,eAAe,GAAG,CAAC,IAAa,EAAW,EAAE,CACjD,OAAO,CAAC,cAAc,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,aAAa,CAAC,CAAC;AAEpD,SAAS,aAAa,CACpB,IAAa;IAIb,4FAA4F;IAC5F,IAAI,OAAO,CAAC,oBAAoB,CAAC,IAAI,CAAC,EAAE,CAAC;QACvC,0EAA0E;QAC1E,4DAA4D;QAC5D,iEAAiE;QACjE,OAAO,EAAE,KAAK,EAAE,IAAI,CAAC,aAAa,KAAK,MAAM,EAAE,CAAC;IAClD,CAAC;IACD,IAAI,IAAI,CAAC,KAAK,KAAK,EAAE,CAAC,SAAS,CAAC,SAAS,EAAE,CAAC;QAC1C,OAAO,EAAE,KAAK,EAAE,SAAS,EAAE,CAAC;IAC9B,CAAC;IACD,IAAI,IAAI,CAAC,KAAK,KAAK,EAAE,CAAC,SAAS,CAAC,IAAI,EAAE,CAAC;QACrC,OAAO,EAAE,KAAK,EAAE,IAAI,EAAE,CAAC;IACzB,CAAC;IACD,IAAI,IAAI,CAAC,SAAS,EAAE,EAAE,CAAC;QACrB,OAAO,EAAE,KAAK,EAAE,qBAAqB,CAAC,IAAI,CAAC,EAAE,CAAC;IAChD,CAAC;IAED,OAAO,SAAS,CAAC;AACnB,CAAC;AAED,SAAS,oBAAoB,CAAC,KAAsB;IAClD,OAAO,MAAM,CAAC,CAAC,KAAK,CAAC,QAAQ,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,GAAG,KAAK,CAAC,WAAW,CAAC,CAAC;AACjE,CAAC;AAED,MAAM,cAAc,GAAG,IAAI,GAAG,CAAC;IAC7B,GAAG;IACH,GAAG;IACH,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,KAAK;IACL,IAAI;IACJ,KAAK;CACG,CAAC,CAAC;AAIZ,SAAS,cAAc,CAAC,QAAgB;IACtC,OAAQ,cAA8B,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAC;AACvD,CAAC;AAED,SAAS,iBAAiB,CACxB,IAAa,EACb,QAAsB,EACtB,KAAc;IAEd,QAAQ,QAAQ,EAAE,CAAC;QACjB,KAAK,IAAI;YACP,iFAAiF;YACjF,OAAO,IAAI,IAAI,KAAK,CAAC;QACvB,KAAK,KAAK;YACR,OAAO,IAAI,KAAK,KAAK,CAAC;QACxB,KAAK,GAAG;YACN,yEAAyE;YACzE,OAAO,IAAI,GAAG,KAAK,CAAC;QACtB,KAAK,IAAI;YACP,yEAAyE;YACzE,OAAO,IAAI,IAAI,KAAK,CAAC;QACvB,KAAK,IAAI;YACP,iFAAiF;YACjF,OAAO,IAAI,IAAI,KAAK,CAAC;QACvB,KAAK,KAAK;YACR,OAAO,IAAI,KAAK,KAAK,CAAC;QACxB,KAAK,GAAG;YACN,yEAAyE;YACzE,OAAO,IAAI,GAAG,KAAK,CAAC;QACtB,KAAK,IAAI;YACP,yEAAyE;YACzE,OAAO,IAAI,IAAI,KAAK,CAAC;IACzB,CAAC;AACH,CAAC;AA0BD,kBAAe,IAAA,iBAAU,EAAqB;IAC5C,IAAI,EAAE,0BAA0B;IAChC,IAAI,EAAE;QACJ,IAAI,EAAE,YAAY;QAClB,IAAI,EAAE;YACJ,WAAW,EACT,uEAAuE;YACzE,WAAW,EAAE,QAAQ;YACrB,oBAAoB,EAAE,IAAI;SAC3B;QACD,OAAO,EAAE,MAAM;QACf,QAAQ,EAAE;YACR,WAAW,EAAE,iDAAiD;YAC9D,eAAe,EACb,wEAAwE;YAC1E,aAAa,EACX,2FAA2F;YAC7F,YAAY,EAAE,kDAAkD;YAChE,gBAAgB,EACd,yEAAyE;YAC3E,wBAAwB,EACtB,yHAAyH;YAC3H,KAAK,EAAE,4CAA4C;YACnD,YAAY,EACV,qGAAqG;YACvG,kBAAkB,EAAE,oDAAoD;YACxE,0BAA0B,EACxB,qDAAqD;YACvD,iBAAiB,EACf,kGAAkG;YACpG,sBAAsB,EACpB,iHAAiH;SACpH;QACD,MAAM,EAAE;YACN;gBACE,IAAI,EAAE,QAAQ;gBACd,oBAAoB,EAAE,KAAK;gBAC3B,UAAU,EAAE;oBACV,2BAA2B,EAAE;wBAC3B,IAAI,EAAE,SAAS;wBACf,WAAW,EACT,qEAAqE;qBACxE;oBACD,sDAAsD,EAAE;wBACtD,IAAI,EAAE,SAAS;wBACf,WAAW,EACT,qFAAqF;qBACxF;oBACD,mBAAmB,EAAE;wBACnB,IAAI,EAAE,SAAS;wBACf,WAAW,EACT,gGAAgG;qBACnG;iBACF;aACF;SACF;KACF;IACD,cAAc,EAAE;QACd;YACE,2BAA2B,EAAE,KAAK;YAClC,sDAAsD,EAAE,KAAK;YAC7D,mBAAmB,EAAE,KAAK;SAC3B;KACF;IACD,MAAM,CACJ,OAAO,EACP,CACE,EACE,2BAA2B,EAC3B,sDAAsD,EACtD,mBAAmB,GACpB,EACF;QAED,MAAM,QAAQ,GAAG,IAAA,wBAAiB,EAAC,OAAO,CAAC,CAAC;QAC5C,MAAM,OAAO,GAAG,QAAQ,CAAC,OAAO,CAAC,cAAc,EAAE,CAAC;QAElD,MAAM,eAAe,GAAG,QAAQ,CAAC,OAAO,CAAC,kBAAkB,EAAE,CAAC;QAC9D,MAAM,kBAAkB,GAAG,OAAO,CAAC,6BAA6B,CAC9D,eAAe,EACf,kBAAkB,CACnB,CAAC;QAEF,IACE,CAAC,kBAAkB;YACnB,sDAAsD,KAAK,IAAI,EAC/D,CAAC;YACD,OAAO,CAAC,MAAM,CAAC;gBACb,GAAG,EAAE;oBACH,KAAK,EAAE,EAAE,MAAM,EAAE,CAAC,EAAE,IAAI,EAAE,CAAC,EAAE;oBAC7B,GAAG,EAAE,EAAE,MAAM,EAAE,CAAC,EAAE,IAAI,EAAE,CAAC,EAAE;iBAC5B;gBACD,SAAS,EAAE,mBAAmB;aAC/B,CAAC,CAAC;QACL,CAAC;QAED,SAAS,eAAe,CAAC,IAAyB;YAChD,MAAM,QAAQ,GAAG,IAAA,mCAA4B,EAAC,QAAQ,EAAE,IAAI,CAAC,CAAC;YAC9D,OAAO,OAAO;iBACX,cAAc,CAAC,QAAQ,CAAC;iBACxB,IAAI,CAAC,IAAI,CAAC,EAAE,CAAC,OAAO,CAAC,WAAW,CAAC,IAAI,CAAC,CAAC,CAAC;QAC7C,CAAC;QAED,SAAS,eAAe,CAAC,IAAyB;YAChD,MAAM,QAAQ,GAAG,IAAA,mCAA4B,EAAC,QAAQ,EAAE,IAAI,CAAC,CAAC;YAC9D,OAAO,OAAO;iBACX,cAAc,CAAC,QAAQ,CAAC;iBACxB,IAAI,CAAC,IAAI,CAAC,EAAE,CAAC,OAAO,CAAC,WAAW,CAAC,IAAI,CAAC,CAAC,CAAC;QAC7C,CAAC;QAED,SAAS,sBAAsB,CAAC,IAAyB;YACvD,OAAO;YACL,wBAAwB;YACxB,IAAI,CAAC,IAAI,KAAK,sBAAc,CAAC,gBAAgB;gBAC7C,IAAI,CAAC,QAAQ;gBACb,wBAAwB;gBACxB,CAAC,eAAe,CAAC,IAAI,CAAC,MAAM,CAAC;oBAC3B,sBAAsB;oBACtB,CAAC,eAAe,CAAC,IAAI,CAAC,MAAM,CAAC;wBAC3B,iEAAiE;wBACjE,IAAI,CAAC,QAAQ,CAAC,IAAI,KAAK,sBAAc,CAAC,OAAO,CAAC,CAAC,CACpD,CAAC;QACJ,CAAC;QAED,SAAS,0BAA0B,CACjC,IAA+B;YAE/B,MAAM,UAAU,GAAG,QAAQ,CAAC,iBAAiB,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC;YAC3D,IAAI,IAAI,CAAC,QAAQ,EAAE,CAAC;gBAClB,MAAM,YAAY,GAAG,QAAQ,CAAC,iBAAiB,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC;gBAC/D,OAAO,sBAAsB,CAAC,UAAU,EAAE,YAAY,CAAC,CAAC;YAC1D,CAAC;YACD,MAAM,QAAQ,GAAG,IAAI,CAAC,QAAQ,CAAC;YAE/B,gFAAgF;YAChF,MAAM,YAAY,GAAG,OAAO,CAAC,UAAU,CAAC,OAAO,CAAC,QAAQ,CAAC,CAAC;YAE1D,MAAM,YAAY,GAAG,UAAU;iBAC5B,aAAa,EAAE;iBACf,IAAI,CAAC,IAAI,CAAC,EAAE,CAAC,IAAI,CAAC,IAAI,KAAK,YAAY,CAAC,CAAC;YAE5C,IACE,YAAY;gBACZ,OAAO,CAAC,eAAe,CAAC,YAAY,EAAE,EAAE,CAAC,WAAW,CAAC,QAAQ,CAAC,EAC9D,CAAC;gBACD,OAAO,IAAI,CAAC;YACd,CAAC;YAED,OAAO,KAAK,CAAC;QACf,CAAC;QAED;;;WAGG;QACH,SAAS,SAAS,CAChB,UAA+B,EAC/B,kBAAkB,GAAG,KAAK,EAC1B,IAAI,GAAG,UAAU;YAEjB,+DAA+D;YAC/D,IACE,UAAU,CAAC,IAAI,KAAK,sBAAc,CAAC,eAAe;gBAClD,UAAU,CAAC,QAAQ,KAAK,GAAG,EAC3B,CAAC;gBACD,OAAO,SAAS,CAAC,UAAU,CAAC,QAAQ,EAAE,CAAC,kBAAkB,EAAE,IAAI,CAAC,CAAC;YACnE,CAAC;YAED,mEAAmE;YACnE,wEAAwE;YACxE,iDAAiD;YACjD,IAAI,sBAAsB,CAAC,UAAU,CAAC,EAAE,CAAC;gBACvC,OAAO;YACT,CAAC;YAED,+DAA+D;YAC/D,yFAAyF;YACzF,EAAE;YACF,6GAA6G;YAC7G,kGAAkG;YAClG,6EAA6E;YAC7E,IACE,UAAU,CAAC,IAAI,KAAK,sBAAc,CAAC,iBAAiB;gBACpD,UAAU,CAAC,QAAQ,KAAK,IAAI,EAC5B,CAAC;gBACD,OAAO,SAAS,CAAC,UAAU,CAAC,KAAK,CAAC,CAAC;YACrC,CAAC;YAED,MAAM,IAAI,GAAG,IAAA,mCAA4B,EAAC,QAAQ,EAAE,UAAU,CAAC,CAAC;YAEhE,kDAAkD;YAClD,iDAAiD;YACjD,IACE,OAAO;iBACJ,cAAc,CAAC,IAAI,CAAC;iBACpB,IAAI,CACH,IAAI,CAAC,EAAE,CACL,IAAA,oBAAa,EAAC,IAAI,CAAC;gBACnB,IAAA,wBAAiB,EAAC,IAAI,CAAC;gBACvB,IAAA,oBAAa,EAAC,IAAI,EAAE,EAAE,CAAC,SAAS,CAAC,YAAY,CAAC,CACjD,EACH,CAAC;gBACD,OAAO;YACT,CAAC;YACD,IAAI,SAAS,GAAqB,IAAI,CAAC;YAEvC,IAAI,IAAA,oBAAa,EAAC,IAAI,EAAE,EAAE,CAAC,SAAS,CAAC,KAAK,CAAC,EAAE,CAAC;gBAC5C,SAAS,GAAG,OAAO,CAAC;YACtB,CAAC;iBAAM,IAAI,CAAC,gBAAgB,CAAC,IAAI,CAAC,EAAE,CAAC;gBACnC,SAAS,GAAG,CAAC,kBAAkB,CAAC,CAAC,CAAC,aAAa,CAAC,CAAC,CAAC,cAAc,CAAC;YACnE,CAAC;iBAAM,IAAI,CAAC,eAAe,CAAC,IAAI,CAAC,EAAE,CAAC;gBAClC,SAAS,GAAG,CAAC,kBAAkB,CAAC,CAAC,CAAC,cAAc,CAAC,CAAC,CAAC,aAAa,CAAC;YACnE,CAAC;YAED,IAAI,SAAS,EAAE,CAAC;gBACd,OAAO,CAAC,MAAM,CAAC,EAAE,IAAI,EAAE,SAAS,EAAE,CAAC,CAAC;YACtC,CAAC;QACH,CAAC;QAED,SAAS,mBAAmB,CAAC,IAAyB;YACpD,MAAM,IAAI,GAAG,IAAA,mCAA4B,EAAC,QAAQ,EAAE,IAAI,CAAC,CAAC;YAE1D,4FAA4F;YAC5F,IACE,IAAA,oBAAa,EACX,IAAI,EACJ,EAAE,CAAC,SAAS,CAAC,GAAG;gBACd,EAAE,CAAC,SAAS,CAAC,OAAO;gBACpB,EAAE,CAAC,SAAS,CAAC,aAAa;gBAC1B,EAAE,CAAC,SAAS,CAAC,YAAY,CAC5B,EACD,CAAC;gBACD,OAAO;YACT,CAAC;YAED,IAAI,SAAS,GAAqB,IAAI,CAAC;YACvC,IAAI,IAAA,oBAAa,EAAC,IAAI,EAAE,EAAE,CAAC,SAAS,CAAC,KAAK,CAAC,EAAE,CAAC;gBAC5C,SAAS,GAAG,OAAO,CAAC;YACtB,CAAC;iBAAM,IACL,CAAC,iBAAiB,CAAC,IAAI,CAAC;gBACxB,CAAC,CACC,IAAI,CAAC,IAAI,KAAK,sBAAc,CAAC,gBAAgB;oBAC7C,0BAA0B,CAAC,IAAI,CAAC,CACjC,EACD,CAAC;gBACD,mEAAmE;gBACnE,wEAAwE;gBACxE,iDAAiD;gBACjD,IACE,CAAC,sBAAsB,CAAC,IAAI,CAAC;oBAC7B,CAAC,CACC,IAAI,CAAC,IAAI,KAAK,sBAAc,CAAC,eAAe;wBAC5C,IAAI,CAAC,UAAU,CAAC,IAAI,KAAK,sBAAc,CAAC,mBAAmB;wBAC3D,mCAAmC,CAAC,IAAI,CAAC,UAAU,CAAC,CACrD,EACD,CAAC;oBACD,SAAS,GAAG,cAAc,CAAC;gBAC7B,CAAC;YACH,CAAC;iBAAM,IAAI,eAAe,CAAC,IAAI,CAAC,EAAE,CAAC;gBACjC,SAAS,GAAG,eAAe,CAAC;YAC9B,CAAC;YAED,IAAI,SAAS,EAAE,CAAC;gBACd,OAAO,CAAC,MAAM,CAAC,EAAE,IAAI,EAAE,SAAS,EAAE,CAAC,CAAC;YACtC,CAAC;QACH,CAAC;QAED;;;;;;;;;WASG;QACH,SAAS,2CAA2C,CAClD,IAAmB,EACnB,IAAmB,EACnB,KAAoB,EACpB,QAAsB;YAEtB,MAAM,QAAQ,GAAG,IAAA,mCAA4B,EAAC,QAAQ,EAAE,IAAI,CAAC,CAAC;YAC9D,MAAM,SAAS,GAAG,IAAA,mCAA4B,EAAC,QAAQ,EAAE,KAAK,CAAC,CAAC;YAEhE,MAAM,eAAe,GAAG,aAAa,CAAC,QAAQ,CAAC,CAAC;YAChD,MAAM,gBAAgB,GAAG,aAAa,CAAC,SAAS,CAAC,CAAC;YAElD,IAAI,eAAe,IAAI,IAAI,IAAI,gBAAgB,IAAI,IAAI,EAAE,CAAC;gBACxD,MAAM,eAAe,GAAG,iBAAiB,CACvC,eAAe,CAAC,KAAK,EACrB,QAAQ,EACR,gBAAgB,CAAC,KAAK,CACvB,CAAC;gBAEF,OAAO,CAAC,MAAM,CAAC;oBACb,IAAI;oBACJ,SAAS,EAAE,0BAA0B;oBACrC,IAAI,EAAE;wBACJ,WAAW,EAAE,eAAe,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,OAAO;qBAChD;iBACF,CAAC,CAAC;gBACH,OAAO;YACT,CAAC;YAED,sEAAsE;YACtE,IAAI,kBAAkB,EAAE,CAAC;gBACvB,MAAM,SAAS,GAAG,EAAE,CAAC,SAAS,CAAC,SAAS,CAAC;gBACzC,MAAM,IAAI,GAAG,EAAE,CAAC,SAAS,CAAC,IAAI,CAAC;gBAC/B,MAAM,IAAI,GAAG,EAAE,CAAC,SAAS,CAAC,IAAI,CAAC;gBAC/B,MAAM,YAAY,GAAG,CAAC,IAAa,EAAE,IAAkB,EAAW,EAAE;oBAClE,kEAAkE;oBAClE,IAAI;wBACF,EAAE,CAAC,SAAS,CAAC,GAAG;4BAChB,EAAE,CAAC,SAAS,CAAC,OAAO;4BACpB,EAAE,CAAC,SAAS,CAAC,aAAa;4BAC1B,EAAE,CAAC,SAAS,CAAC,YAAY,CAAC;oBAE5B,4CAA4C;oBAC5C,IAAI,QAAQ,KAAK,IAAI,IAAI,QAAQ,KAAK,IAAI,EAAE,CAAC;wBAC3C,IAAI,IAAI,IAAI,GAAG,SAAS,GAAG,IAAI,CAAC;oBAClC,CAAC;oBAED,OAAO,IAAA,oBAAa,EAAC,IAAI,EAAE,IAAI,CAAC,CAAC;gBACnC,CAAC,CAAC;gBAEF,IACE,CAAC,QAAQ,CAAC,KAAK,KAAK,SAAS;oBAC3B,CAAC,YAAY,CAAC,SAAS,EAAE,SAAS,GAAG,IAAI,CAAC,CAAC;oBAC7C,CAAC,SAAS,CAAC,KAAK,KAAK,SAAS;wBAC5B,CAAC,YAAY,CAAC,QAAQ,EAAE,SAAS,GAAG,IAAI,CAAC,CAAC;oBAC5C,CAAC,QAAQ,CAAC,KAAK,KAAK,IAAI,IAAI,CAAC,YAAY,CAAC,SAAS,EAAE,IAAI,CAAC,CAAC;oBAC3D,CAAC,SAAS,CAAC,KAAK,KAAK,IAAI,IAAI,CAAC,YAAY,CAAC,QAAQ,EAAE,IAAI,CAAC,CAAC,EAC3D,CAAC;oBACD,OAAO,CAAC,MAAM,CAAC,EAAE,IAAI,EAAE,SAAS,EAAE,4BAA4B,EAAE,CAAC,CAAC;oBAClE,OAAO;gBACT,CAAC;YACH,CAAC;QACH,CAAC;QAED;;WAEG;QACH,SAAS,gDAAgD,CACvD,IAAgC;YAEhC,IAAI,IAAI,CAAC,QAAQ,KAAK,IAAI,EAAE,CAAC;gBAC3B,mBAAmB,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;gBAC/B,OAAO;YACT,CAAC;YACD,qFAAqF;YACrF,2FAA2F;YAC3F,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;QACvB,CAAC;QAED;;WAEG;QACH,SAAS,iCAAiC,CACxC,IAG2B;YAE3B,IAAI,IAAI,CAAC,IAAI,IAAI,IAAI,EAAE,CAAC;gBACtB,iBAAiB;gBACjB,OAAO;YACT,CAAC;YAED;;;;;eAKG;YACH,IACE,2BAA2B;gBAC3B,OAAO,CAAC,iBAAiB,CACvB,IAAA,mCAA4B,EAAC,QAAQ,EAAE,IAAI,CAAC,IAAI,CAAC,CAClD,EACD,CAAC;gBACD,OAAO;YACT,CAAC;YAED,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;QACvB,CAAC;QAED,SAAS,mBAAmB,CAAC,IAA6B;YACxD,IAAI,mBAAmB,EAAE,CAAC;gBACxB,MAAM,0BAA0B,GAAG,IAAA,uDAA8B,EAC/D,QAAQ,EACR,IAAI,CACL,CAAC;gBACF,IAAI,0BAA0B,IAAI,IAAI,EAAE,CAAC;oBACvC,SAAS,CAAC,0BAA0B,CAAC,CAAC;gBACxC,CAAC;gBAED,MAAM,yBAAyB,GAAG,IAAA,sDAA6B,EAC7D,QAAQ,EACR,IAAI,CACL,CAAC;gBACF,IAAI,yBAAyB,IAAI,IAAI,EAAE,CAAC;oBACtC,MAAM,cAAc,GAAG,IAAA,mCAA4B,EACjD,QAAQ,EACR,yBAAyB,CAAC,QAAQ,CACnC,CAAC;oBACF,IAAI,cAAc,KAAK,yBAAyB,CAAC,IAAI,EAAE,CAAC;wBACtD,OAAO,CAAC,MAAM,CAAC;4BACb,IAAI,EAAE,yBAAyB,CAAC,QAAQ;4BACxC,SAAS,EAAE,wBAAwB;4BACnC,IAAI,EAAE;gCACJ,4BAA4B,EAAE,yBAAyB,CAAC,OAAO;oCAC7D,CAAC,CAAC,oBAAoB;oCACtB,CAAC,CAAC,YAAY;6BACjB;yBACF,CAAC,CAAC;oBACL,CAAC;gBACH,CAAC;YACH,CAAC;YAED,8EAA8E;YAC9E,IACE,IAAA,qCAA8B,EAAC,OAAO,EAAE,QAAQ,EAAE,IAAI,CAAC;gBACvD,IAAI,CAAC,SAAS,CAAC,MAAM,EACrB,CAAC;gBACD,MAAM,QAAQ,GAAG,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC;gBACnC,2BAA2B;gBAC3B,IACE,QAAQ,CAAC,IAAI,KAAK,sBAAc,CAAC,uBAAuB;oBACxD,QAAQ,CAAC,IAAI,KAAK,sBAAc,CAAC,kBAAkB,EACnD,CAAC;oBACD,2EAA2E;oBAC3E,kBAAkB;oBAClB,IAAI,QAAQ,CAAC,IAAI,CAAC,IAAI,KAAK,sBAAc,CAAC,cAAc,EAAE,CAAC;wBACzD,OAAO,SAAS,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC;oBAClC,CAAC;oBACD,8BAA8B;oBAC9B,MAAM,YAAY,GAAG,QAAQ,CAAC,IAAI,CAAC,IAAI,CAAC;oBACxC,IACE,YAAY,CAAC,MAAM,KAAK,CAAC;wBACzB,YAAY,CAAC,CAAC,CAAC,CAAC,IAAI,KAAK,sBAAc,CAAC,eAAe;wBACvD,YAAY,CAAC,CAAC,CAAC,CAAC,QAAQ,EACxB,CAAC;wBACD,OAAO,SAAS,CAAC,YAAY,CAAC,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC;oBAC7C,CAAC;oBACD,+DAA+D;oBAC/D,gDAAgD;oBAChD,iDAAiD;gBACnD,CAAC;gBACD,8DAA8D;gBAC9D,MAAM,WAAW,GAAG,OAAO;qBACxB,uBAAuB,CACtB,IAAA,mCAA4B,EAAC,QAAQ,EAAE,QAAQ,CAAC,CACjD;qBACA,GAAG,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,CAAC,aAAa,EAAE,CAAC,CAAC;gBACnC,wBAAwB,CAAC,IAAI,WAAW,CAAC,MAAM,KAAK,CAAC,EAAE,CAAC;oBACtD,0BAA0B;oBAC1B,OAAO;gBACT,CAAC;gBACD,kEAAkE;gBAClE,IAAI,WAAW,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,CAAC,IAAA,oBAAa,EAAC,CAAC,CAAC,IAAI,IAAA,wBAAiB,EAAC,CAAC,CAAC,CAAC,EAAE,CAAC;oBACpE,OAAO;gBACT,CAAC;gBACD,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC,eAAe,CAAC,EAAE,CAAC;oBACvC,OAAO,OAAO,CAAC,MAAM,CAAC;wBACpB,IAAI,EAAE,QAAQ;wBACd,SAAS,EAAE,kBAAkB;qBAC9B,CAAC,CAAC;gBACL,CAAC;gBACD,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC,gBAAgB,CAAC,EAAE,CAAC;oBACxC,OAAO,OAAO,CAAC,MAAM,CAAC;wBACpB,IAAI,EAAE,QAAQ;wBACd,SAAS,EAAE,iBAAiB;qBAC7B,CAAC,CAAC;gBACL,CAAC;YACH,CAAC;QACH,CAAC;QAED,uEAAuE;QACvE,8FAA8F;QAC9F,YAAY;QACZ,OAAO;QACP,gDAAgD;QAChD,6BAA6B;QAC7B,2EAA2E;QAC3E,OAAO;QACP,SAAS,mCAAmC,CAC1C,IAAyD;YAEzD,MAAM,OAAO,GACX,IAAI,CAAC,IAAI,KAAK,sBAAc,CAAC,cAAc,CAAC,CAAC,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,IAAI,CAAC,MAAM,CAAC;YAC1E,IAAI,IAAI,CAAC,QAAQ,IAAI,sBAAsB,CAAC,OAAO,CAAC,EAAE,CAAC;gBACrD,OAAO,IAAI,CAAC;YACd,CAAC;YACD,IACE,OAAO,CAAC,IAAI,KAAK,sBAAc,CAAC,gBAAgB;gBAChD,OAAO,CAAC,IAAI,KAAK,sBAAc,CAAC,cAAc,EAC9C,CAAC;gBACD,OAAO,mCAAmC,CAAC,OAAO,CAAC,CAAC;YACtD,CAAC;YACD,OAAO,KAAK,CAAC;QACf,CAAC;QAED,SAAS,sBAAsB,CAC7B,OAAgB,EAChB,YAAqB;YAErB,IAAI,YAAY,CAAC,OAAO,EAAE,EAAE,CAAC;gBAC3B,OAAO,YAAY,CAAC,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,EAAE,CACpC,sBAAsB,CAAC,OAAO,EAAE,IAAI,CAAC,CACtC,CAAC;YACJ,CAAC;YACD,IAAI,YAAY,CAAC,eAAe,EAAE,IAAI,YAAY,CAAC,eAAe,EAAE,EAAE,CAAC;gBACrE,MAAM,QAAQ,GAAG,IAAA,8BAAuB,EACtC,OAAO,EACP,OAAO,EACP,YAAY,CAAC,KAAK,CAAC,QAAQ,EAAE,CAC9B,CAAC;gBACF,IAAI,QAAQ,EAAE,CAAC;oBACb,OAAO,IAAA,qBAAc,EAAC,QAAQ,CAAC,CAAC;gBAClC,CAAC;YACH,CAAC;YACD,MAAM,QAAQ,GAAG,IAAA,kBAAW,EAAC,OAAO,EAAE,YAAY,CAAC,CAAC;YACpD,OAAO,OAAO;iBACX,mBAAmB,CAAC,OAAO,CAAC;iBAC5B,IAAI,CAAC,IAAI,CAAC,EAAE,CAAC,IAAA,kBAAW,EAAC,OAAO,EAAE,IAAI,CAAC,OAAO,CAAC,KAAK,QAAQ,CAAC,CAAC;QACnE,CAAC;QAED,0FAA0F;QAC1F,YAAY;QACZ,OAAO;QACP,0CAA0C;QAC1C,4EAA4E;QAC5E,uDAAuD;QACvD,aAAa;QACb,OAAO;QACP,SAAS,0CAA0C,CACjD,IAA+B;YAE/B,MAAM,QAAQ,GAAG,IAAA,mCAA4B,EAAC,QAAQ,EAAE,IAAI,CAAC,MAAM,CAAC,CAAC;YACrE,MAAM,QAAQ,GAAG,IAAI,CAAC,QAAQ,CAAC;YAC/B,IAAI,QAAQ,CAAC,OAAO,EAAE,IAAI,IAAA,mBAAY,EAAC,QAAQ,CAAC,EAAE,CAAC;gBACjD,MAAM,aAAa,GAAG,QAAQ,CAAC,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,EAAE;oBAC/C,IAAI,IAAI,CAAC,QAAQ,EAAE,CAAC;wBAClB,MAAM,YAAY,GAAG,IAAA,mCAA4B,EAC/C,QAAQ,EACR,IAAI,CAAC,QAAQ,CACd,CAAC;wBACF,OAAO,sBAAsB,CAAC,IAAI,EAAE,YAAY,CAAC,CAAC;oBACpD,CAAC;oBACD,MAAM,QAAQ,GAAG,IAAA,8BAAuB,EACtC,OAAO,EACP,IAAI,EACJ,QAAQ,CAAC,IAAI,CACd,CAAC;oBAEF,IAAI,QAAQ,EAAE,CAAC;wBACb,OAAO,IAAA,qBAAc,EAAC,QAAQ,CAAC,CAAC;oBAClC,CAAC;oBAED,OAAO,CAAC,CAAC,OAAO,CAAC,kBAAkB,CAAC,IAAI,EAAE,EAAE,CAAC,SAAS,CAAC,MAAM,CAAC,CAAC;gBACjE,CAAC,CAAC,CAAC;gBACH,OAAO,CAAC,aAAa,IAAI,IAAA,qBAAc,EAAC,QAAQ,CAAC,CAAC;YACpD,CAAC;YACD,OAAO,KAAK,CAAC;QACf,CAAC;QAED,SAAS,wCAAwC,CAC/C,IAA6B;YAE7B,MAAM,QAAQ,GAAG,IAAA,mCAA4B,EAAC,QAAQ,EAAE,IAAI,CAAC,MAAM,CAAC,CAAC;YAErE,IAAI,QAAQ,CAAC,OAAO,EAAE,EAAE,CAAC;gBACvB,MAAM,aAAa,GAAG,QAAQ,CAAC,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,EAAE;oBAC/C,MAAM,UAAU,GAAG,IAAI,CAAC,iBAAiB,EAAE,CAAC;oBAC5C,OAAO,UAAU,CAAC,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,IAAA,qBAAc,EAAC,GAAG,CAAC,aAAa,EAAE,CAAC,CAAC,CAAC;gBACrE,CAAC,CAAC,CAAC;gBACH,OAAO,CAAC,aAAa,IAAI,IAAA,qBAAc,EAAC,QAAQ,CAAC,CAAC;YACpD,CAAC;YAED,OAAO,KAAK,CAAC;QACf,CAAC;QAED,SAAS,sBAAsB,CAAC,IAAyB;YACvD,MAAM,IAAI,GAAG,IAAA,mCAA4B,EAAC,QAAQ,EAAE,IAAI,CAAC,CAAC;YAC1D,MAAM,aAAa,GACjB,IAAI,CAAC,IAAI,KAAK,sBAAc,CAAC,gBAAgB;gBAC3C,CAAC,CAAC,CAAC,0CAA0C,CAAC,IAAI,CAAC;gBACnD,CAAC,CAAC,IAAI,CAAC,IAAI,KAAK,sBAAc,CAAC,cAAc;oBAC3C,CAAC,CAAC,CAAC,wCAAwC,CAAC,IAAI,CAAC;oBACjD,CAAC,CAAC,IAAI,CAAC;YAEb,OAAO,CACL,IAAA,oBAAa,EAAC,IAAI,EAAE,EAAE,CAAC,SAAS,CAAC,GAAG,GAAG,EAAE,CAAC,SAAS,CAAC,OAAO,CAAC;gBAC5D,CAAC,aAAa,IAAI,IAAA,qBAAc,EAAC,IAAI,CAAC,CAAC,CACxC,CAAC;QACJ,CAAC;QAED,SAAS,kBAAkB,CACzB,IAAyD,EACzD,cAA6B,EAC7B,GAAa;YAEb,sEAAsE;YACtE,4CAA4C;YAC5C,IAAI,CAAC,IAAI,CAAC,QAAQ,EAAE,CAAC;gBACnB,OAAO;YACT,CAAC;YAED,mEAAmE;YACnE,wEAAwE;YACxE,iDAAiD;YACjD,IAAI,mCAAmC,CAAC,IAAI,CAAC,EAAE,CAAC;gBAC9C,OAAO;YACT,CAAC;YAED,MAAM,WAAW,GACf,IAAI,CAAC,IAAI,KAAK,sBAAc,CAAC,cAAc,CAAC,CAAC,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,IAAI,CAAC,MAAM,CAAC;YAE1E,IAAI,sBAAsB,CAAC,WAAW,CAAC,EAAE,CAAC;gBACxC,OAAO;YACT,CAAC;YAED,MAAM,mBAAmB,GAAG,IAAA,iBAAU,EACpC,OAAO,CAAC,UAAU,CAAC,aAAa,CAC9B,cAAc,EACd,KAAK,CAAC,EAAE,CACN,KAAK,CAAC,IAAI,KAAK,uBAAe,CAAC,UAAU,IAAI,KAAK,CAAC,KAAK,KAAK,IAAI,CACpE,EACD,wBAAiB,CAAC,YAAY,CAAC,UAAU,EAAE,IAAI,CAAC,IAAI,CAAC,CACtD,CAAC;YAEF,OAAO,CAAC,MAAM,CAAC;gBACb,GAAG,EAAE,mBAAmB,CAAC,GAAG;gBAC5B,IAAI;gBACJ,SAAS,EAAE,oBAAoB;gBAC/B,GAAG,CAAC,KAAK;oBACP,OAAO,KAAK,CAAC,WAAW,CAAC,mBAAmB,EAAE,GAAG,CAAC,CAAC;gBACrD,CAAC;aACF,CAAC,CAAC;QACL,CAAC;QAED,SAAS,6BAA6B,CACpC,IAA+B;YAE/B,kBAAkB,CAAC,IAAI,EAAE,IAAI,CAAC,MAAM,EAAE,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC;QAClE,CAAC;QAED,SAAS,2BAA2B,CAAC,IAA6B;YAChE,kBAAkB,CAAC,IAAI,EAAE,IAAI,CAAC,MAAM,EAAE,EAAE,CAAC,CAAC;QAC5C,CAAC;QAED,SAAS,yBAAyB,CAChC,IAAmC;YAEnC,qEAAqE;YACrE,wCAAwC;YACxC,IAAI,CAAC,KAAK,EAAE,KAAK,CAAC,CAAC,QAAQ,CAAC,IAAI,CAAC,QAAQ,CAAC,EAAE,CAAC;gBAC3C,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;YACvB,CAAC;iBAAM,IAAI,IAAI,CAAC,QAAQ,KAAK,KAAK,EAAE,CAAC;gBACnC,mBAAmB,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;YACjC,CAAC;QACH,CAAC;QAED,OAAO;YACL,oBAAoB,EAAE,yBAAyB;YAC/C,gBAAgB,CAAC,IAAI;gBACnB,MAAM,EAAE,QAAQ,EAAE,GAAG,IAAI,CAAC;gBAC1B,IAAI,cAAc,CAAC,QAAQ,CAAC,EAAE,CAAC;oBAC7B,2CAA2C,CACzC,IAAI,EACJ,IAAI,CAAC,IAAI,EACT,IAAI,CAAC,KAAK,EACV,QAAQ,CACT,CAAC;gBACJ,CAAC;YACH,CAAC;YACD,cAAc,EAAE,mBAAmB;YACnC,iCAAiC,EAAE,2BAA2B;YAC9D,qBAAqB,EAAE,CAAC,IAAI,EAAQ,EAAE,CAAC,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC;YAC3D,gBAAgB,EAAE,iCAAiC;YACnD,YAAY,EAAE,iCAAiC;YAC/C,WAAW,EAAE,CAAC,IAAI,EAAQ,EAAE,CAAC,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC;YACjD,iBAAiB,EAAE,gDAAgD;YACnE,mCAAmC,EAAE,6BAA6B;YAClE,UAAU,CAAC,EAAE,MAAM,EAAE,IAAI,EAAE;gBACzB,yCAAyC;gBACzC,IAAI,IAAI,EAAE,CAAC;oBACT,2CAA2C,CACzC,IAAI,EACJ,MAAM,CAAC,YAAY,EACnB,IAAI,EACJ,KAAK,CACN,CAAC;gBACJ,CAAC;YACH,CAAC;YACD,cAAc,EAAE,iCAAiC;SAClD,CAAC;IACJ,CAAC;CACF,CAAC,CAAC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-qualifier.js b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-qualifier.js index c0310078c9..b6651dfbac 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-qualifier.js +++ b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-qualifier.js @@ -15,13 +15,23 @@ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? ( }) : function(o, v) { o["default"] = v; }); -var __importStar = (this && this.__importStar) || function (mod) { - if (mod && mod.__esModule) return mod; - var result = {}; - if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k); - __setModuleDefault(result, mod); - return result; -}; +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); Object.defineProperty(exports, "__esModule", { value: true }); const utils_1 = require("@typescript-eslint/utils"); const tsutils = __importStar(require("ts-api-utils")); diff --git a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-qualifier.js.map b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-qualifier.js.map index 1ca3bcc16b..d2192cb56a 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-qualifier.js.map +++ b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-qualifier.js.map @@ -1 +1 @@ -{"version":3,"file":"no-unnecessary-qualifier.js","sourceRoot":"","sources":["../../src/rules/no-unnecessary-qualifier.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AAEA,oDAA0D;AAC1D,sDAAwC;AACxC,+CAAiC;AAEjC,kCAAwD;AAExD,kBAAe,IAAA,iBAAU,EAAC;IACxB,IAAI,EAAE,0BAA0B;IAChC,IAAI,EAAE;QACJ,IAAI,EAAE,YAAY;QAClB,IAAI,EAAE;YACJ,WAAW,EAAE,2CAA2C;YACxD,oBAAoB,EAAE,IAAI;SAC3B;QACD,OAAO,EAAE,MAAM;QACf,QAAQ,EAAE;YACR,oBAAoB,EAClB,0DAA0D;SAC7D;QACD,MAAM,EAAE,EAAE;KACX;IACD,cAAc,EAAE,EAAE;IAClB,MAAM,CAAC,OAAO;QACZ,MAAM,iBAAiB,GAAc,EAAE,CAAC;QACxC,IAAI,gCAAgC,GAAyB,IAAI,CAAC;QAClE,MAAM,QAAQ,GAAG,IAAA,wBAAiB,EAAC,OAAO,CAAC,CAAC;QAC5C,MAAM,qBAAqB,GAAG,QAAQ,CAAC,qBAAqB,CAAC;QAC7D,MAAM,OAAO,GAAG,QAAQ,CAAC,OAAO,CAAC,cAAc,EAAE,CAAC;QAElD,SAAS,mBAAmB,CAC1B,MAAiB,EACjB,OAAuB;YAEvB,OAAO,OAAO,CAAC,eAAe,CAAC,MAAM,EAAE,EAAE,CAAC,WAAW,CAAC,KAAK,CAAC;gBAC1D,CAAC,CAAC,OAAO,CAAC,gBAAgB,CAAC,MAAM,CAAC;gBAClC,CAAC,CAAC,IAAI,CAAC;QACX,CAAC;QAED,SAAS,wBAAwB,CAAC,MAAiB;YACjD,MAAM,kBAAkB,GAAG,MAAM,CAAC,eAAe,EAAE,IAAI,EAAE,CAAC;YAE1D,IACE,kBAAkB,CAAC,IAAI,CAAC,IAAI,CAAC,EAAE,CAC7B,iBAAiB,CAAC,IAAI,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,KAAK,IAAI,CAAC,CAC1C,EACD,CAAC;gBACD,OAAO,IAAI,CAAC;YACd,CAAC;YAED,MAAM,KAAK,GAAG,mBAAmB,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;YAEnD,OAAO,KAAK,IAAI,IAAI,IAAI,wBAAwB,CAAC,KAAK,CAAC,CAAC;QAC1D,CAAC;QAED,SAAS,gBAAgB,CACvB,IAAa,EACb,KAAqB,EACrB,IAAY;YAEZ,MAAM,KAAK,GAAG,OAAO,CAAC,iBAAiB,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;YAErD,OAAO,KAAK,CAAC,IAAI,CAAC,WAAW,CAAC,EAAE,CAAC,WAAW,CAAC,IAAI,KAAK,IAAI,CAAC,CAAC;QAC9D,CAAC;QAED,SAAS,eAAe,CAAC,QAAmB,EAAE,OAAkB;YAC9D,OAAO,QAAQ,KAAK,OAAO,CAAC,uBAAuB,CAAC,OAAO,CAAC,CAAC;QAC/D,CAAC;QAED,SAAS,sBAAsB,CAC7B,SAA0D,EAC1D,IAAyB;YAEzB,MAAM,eAAe,GAAG,QAAQ,CAAC,mBAAmB,CAAC,SAAS,CAAC,CAAC;YAEhE,IACE,eAAe,KAAK,SAAS;gBAC7B,CAAC,wBAAwB,CAAC,eAAe,CAAC,EAC1C,CAAC;gBACD,OAAO,KAAK,CAAC;YACf,CAAC;YAED,MAAM,cAAc,GAAG,QAAQ,CAAC,mBAAmB,CAAC,IAAI,CAAC,CAAC;YAE1D,IAAI,cAAc,KAAK,SAAS,EAAE,CAAC;gBACjC,OAAO,KAAK,CAAC;YACf,CAAC;YAED,mEAAmE;YACnE,MAAM,WAAW,GAAG,qBAAqB,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;YACzD,MAAM,SAAS,GAAG,gBAAgB,CAChC,WAAW,EACX,cAAc,CAAC,KAAK,EACpB,OAAO,CAAC,UAAU,CAAC,OAAO,CAAC,IAAI,CAAC,CACjC,CAAC;YAEF,OAAO,CAAC,CAAC,SAAS,IAAI,eAAe,CAAC,cAAc,EAAE,SAAS,CAAC,CAAC;QACnE,CAAC;QAED,SAAS,oBAAoB,CAC3B,IAAmB,EACnB,SAA0D,EAC1D,IAAyB;YAEzB,0FAA0F;YAC1F,IACE,CAAC,gCAAgC;gBACjC,sBAAsB,CAAC,SAAS,EAAE,IAAI,CAAC,EACvC,CAAC;gBACD,gCAAgC,GAAG,IAAI,CAAC;gBACxC,OAAO,CAAC,MAAM,CAAC;oBACb,IAAI,EAAE,SAAS;oBACf,SAAS,EAAE,sBAAsB;oBACjC,IAAI,EAAE;wBACJ,IAAI,EAAE,OAAO,CAAC,UAAU,CAAC,OAAO,CAAC,IAAI,CAAC;qBACvC;oBACD,GAAG,CAAC,KAAK;wBACP,OAAO,KAAK,CAAC,WAAW,CAAC,CAAC,SAAS,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;oBAChE,CAAC;iBACF,CAAC,CAAC;YACL,CAAC;QACH,CAAC;QAED,SAAS,gBAAgB,CACvB,IAGgC;YAEhC,iBAAiB,CAAC,IAAI,CAAC,qBAAqB,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC,CAAC;QAC1D,CAAC;QAED,SAAS,eAAe;YACtB,iBAAiB,CAAC,GAAG,EAAE,CAAC;QAC1B,CAAC;QAED,SAAS,+BAA+B,CAAC,IAAmB;YAC1D,IAAI,IAAI,KAAK,gCAAgC,EAAE,CAAC;gBAC9C,gCAAgC,GAAG,IAAI,CAAC;YAC1C,CAAC;QACH,CAAC;QAED,SAAS,0BAA0B,CACjC,IAAmB;YAEnB,OAAO,IAAI,CAAC,IAAI,KAAK,sBAAc,CAAC,gBAAgB,IAAI,CAAC,IAAI,CAAC,QAAQ,CAAC;QACzE,CAAC;QAED,SAAS,sBAAsB,CAC7B,IAAmB;YAEnB,OAAO,CACL,IAAI,CAAC,IAAI,KAAK,sBAAc,CAAC,UAAU;gBACvC,CAAC,0BAA0B,CAAC,IAAI,CAAC;oBAC/B,sBAAsB,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CACvC,CAAC;QACJ,CAAC;QAED,OAAO;YACL,8DAA8D,EAC5D,gBAAgB;YAClB,mEAAmE,EACjE,eAAe;YACjB,gEAAgE,EAC9D,gBAAgB;YAClB,qEAAqE,EACnE,eAAe;YACjB,uBAAuB,EAAE,+BAA+B;YACxD,kCAAkC,CAChC,IAA+B;gBAE/B,MAAM,QAAQ,GAAG,IAAI,CAAC,QAA+B,CAAC;gBACtD,IAAI,sBAAsB,CAAC,IAAI,CAAC,MAAM,CAAC,EAAE,CAAC;oBACxC,oBAAoB,CAAC,IAAI,EAAE,IAAI,CAAC,MAAM,EAAE,QAAQ,CAAC,CAAC;gBACpD,CAAC;YACH,CAAC;YACD,iBAAiB,EAAE,gBAAgB;YACnC,wBAAwB,EAAE,eAAe;YACzC,0BAA0B,EAAE,eAAe;YAC3C,qCAAqC,CACnC,IAA4B;gBAE5B,gBAAgB,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC;YAChC,CAAC;YACD,eAAe,CAAC,IAA8B;gBAC5C,oBAAoB,CAAC,IAAI,EAAE,IAAI,CAAC,IAAI,EAAE,IAAI,CAAC,KAAK,CAAC,CAAC;YACpD,CAAC;YACD,sBAAsB,EAAE,+BAA+B;SACxD,CAAC;IACJ,CAAC;CACF,CAAC,CAAC"} \ No newline at end of file +{"version":3,"file":"no-unnecessary-qualifier.js","sourceRoot":"","sources":["../../src/rules/no-unnecessary-qualifier.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEA,oDAA0D;AAC1D,sDAAwC;AACxC,+CAAiC;AAEjC,kCAAwD;AAExD,kBAAe,IAAA,iBAAU,EAAC;IACxB,IAAI,EAAE,0BAA0B;IAChC,IAAI,EAAE;QACJ,IAAI,EAAE,YAAY;QAClB,IAAI,EAAE;YACJ,WAAW,EAAE,2CAA2C;YACxD,oBAAoB,EAAE,IAAI;SAC3B;QACD,OAAO,EAAE,MAAM;QACf,QAAQ,EAAE;YACR,oBAAoB,EAClB,0DAA0D;SAC7D;QACD,MAAM,EAAE,EAAE;KACX;IACD,cAAc,EAAE,EAAE;IAClB,MAAM,CAAC,OAAO;QACZ,MAAM,iBAAiB,GAAc,EAAE,CAAC;QACxC,IAAI,gCAAgC,GAAyB,IAAI,CAAC;QAClE,MAAM,QAAQ,GAAG,IAAA,wBAAiB,EAAC,OAAO,CAAC,CAAC;QAC5C,MAAM,qBAAqB,GAAG,QAAQ,CAAC,qBAAqB,CAAC;QAC7D,MAAM,OAAO,GAAG,QAAQ,CAAC,OAAO,CAAC,cAAc,EAAE,CAAC;QAElD,SAAS,mBAAmB,CAC1B,MAAiB,EACjB,OAAuB;YAEvB,OAAO,OAAO,CAAC,eAAe,CAAC,MAAM,EAAE,EAAE,CAAC,WAAW,CAAC,KAAK,CAAC;gBAC1D,CAAC,CAAC,OAAO,CAAC,gBAAgB,CAAC,MAAM,CAAC;gBAClC,CAAC,CAAC,IAAI,CAAC;QACX,CAAC;QAED,SAAS,wBAAwB,CAAC,MAAiB;YACjD,MAAM,kBAAkB,GAAG,MAAM,CAAC,eAAe,EAAE,IAAI,EAAE,CAAC;YAE1D,IACE,kBAAkB,CAAC,IAAI,CAAC,IAAI,CAAC,EAAE,CAC7B,iBAAiB,CAAC,IAAI,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,KAAK,IAAI,CAAC,CAC1C,EACD,CAAC;gBACD,OAAO,IAAI,CAAC;YACd,CAAC;YAED,MAAM,KAAK,GAAG,mBAAmB,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;YAEnD,OAAO,KAAK,IAAI,IAAI,IAAI,wBAAwB,CAAC,KAAK,CAAC,CAAC;QAC1D,CAAC;QAED,SAAS,gBAAgB,CACvB,IAAa,EACb,KAAqB,EACrB,IAAY;YAEZ,MAAM,KAAK,GAAG,OAAO,CAAC,iBAAiB,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;YAErD,OAAO,KAAK,CAAC,IAAI,CAAC,WAAW,CAAC,EAAE,CAAC,WAAW,CAAC,IAAI,KAAK,IAAI,CAAC,CAAC;QAC9D,CAAC;QAED,SAAS,eAAe,CAAC,QAAmB,EAAE,OAAkB;YAC9D,OAAO,QAAQ,KAAK,OAAO,CAAC,uBAAuB,CAAC,OAAO,CAAC,CAAC;QAC/D,CAAC;QAED,SAAS,sBAAsB,CAC7B,SAA0D,EAC1D,IAAyB;YAEzB,MAAM,eAAe,GAAG,QAAQ,CAAC,mBAAmB,CAAC,SAAS,CAAC,CAAC;YAEhE,IACE,eAAe,KAAK,SAAS;gBAC7B,CAAC,wBAAwB,CAAC,eAAe,CAAC,EAC1C,CAAC;gBACD,OAAO,KAAK,CAAC;YACf,CAAC;YAED,MAAM,cAAc,GAAG,QAAQ,CAAC,mBAAmB,CAAC,IAAI,CAAC,CAAC;YAE1D,IAAI,cAAc,KAAK,SAAS,EAAE,CAAC;gBACjC,OAAO,KAAK,CAAC;YACf,CAAC;YAED,mEAAmE;YACnE,MAAM,WAAW,GAAG,qBAAqB,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;YACzD,MAAM,SAAS,GAAG,gBAAgB,CAChC,WAAW,EACX,cAAc,CAAC,KAAK,EACpB,OAAO,CAAC,UAAU,CAAC,OAAO,CAAC,IAAI,CAAC,CACjC,CAAC;YAEF,OAAO,CAAC,CAAC,SAAS,IAAI,eAAe,CAAC,cAAc,EAAE,SAAS,CAAC,CAAC;QACnE,CAAC;QAED,SAAS,oBAAoB,CAC3B,IAAmB,EACnB,SAA0D,EAC1D,IAAyB;YAEzB,0FAA0F;YAC1F,IACE,CAAC,gCAAgC;gBACjC,sBAAsB,CAAC,SAAS,EAAE,IAAI,CAAC,EACvC,CAAC;gBACD,gCAAgC,GAAG,IAAI,CAAC;gBACxC,OAAO,CAAC,MAAM,CAAC;oBACb,IAAI,EAAE,SAAS;oBACf,SAAS,EAAE,sBAAsB;oBACjC,IAAI,EAAE;wBACJ,IAAI,EAAE,OAAO,CAAC,UAAU,CAAC,OAAO,CAAC,IAAI,CAAC;qBACvC;oBACD,GAAG,CAAC,KAAK;wBACP,OAAO,KAAK,CAAC,WAAW,CAAC,CAAC,SAAS,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;oBAChE,CAAC;iBACF,CAAC,CAAC;YACL,CAAC;QACH,CAAC;QAED,SAAS,gBAAgB,CACvB,IAGgC;YAEhC,iBAAiB,CAAC,IAAI,CAAC,qBAAqB,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC,CAAC;QAC1D,CAAC;QAED,SAAS,eAAe;YACtB,iBAAiB,CAAC,GAAG,EAAE,CAAC;QAC1B,CAAC;QAED,SAAS,+BAA+B,CAAC,IAAmB;YAC1D,IAAI,IAAI,KAAK,gCAAgC,EAAE,CAAC;gBAC9C,gCAAgC,GAAG,IAAI,CAAC;YAC1C,CAAC;QACH,CAAC;QAED,SAAS,0BAA0B,CACjC,IAAmB;YAEnB,OAAO,IAAI,CAAC,IAAI,KAAK,sBAAc,CAAC,gBAAgB,IAAI,CAAC,IAAI,CAAC,QAAQ,CAAC;QACzE,CAAC;QAED,SAAS,sBAAsB,CAC7B,IAAmB;YAEnB,OAAO,CACL,IAAI,CAAC,IAAI,KAAK,sBAAc,CAAC,UAAU;gBACvC,CAAC,0BAA0B,CAAC,IAAI,CAAC;oBAC/B,sBAAsB,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CACvC,CAAC;QACJ,CAAC;QAED,OAAO;YACL,8DAA8D,EAC5D,gBAAgB;YAClB,mEAAmE,EACjE,eAAe;YACjB,gEAAgE,EAC9D,gBAAgB;YAClB,qEAAqE,EACnE,eAAe;YACjB,uBAAuB,EAAE,+BAA+B;YACxD,kCAAkC,CAChC,IAA+B;gBAE/B,MAAM,QAAQ,GAAG,IAAI,CAAC,QAA+B,CAAC;gBACtD,IAAI,sBAAsB,CAAC,IAAI,CAAC,MAAM,CAAC,EAAE,CAAC;oBACxC,oBAAoB,CAAC,IAAI,EAAE,IAAI,CAAC,MAAM,EAAE,QAAQ,CAAC,CAAC;gBACpD,CAAC;YACH,CAAC;YACD,iBAAiB,EAAE,gBAAgB;YACnC,wBAAwB,EAAE,eAAe;YACzC,0BAA0B,EAAE,eAAe;YAC3C,qCAAqC,CACnC,IAA4B;gBAE5B,gBAAgB,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC;YAChC,CAAC;YACD,eAAe,CAAC,IAA8B;gBAC5C,oBAAoB,CAAC,IAAI,EAAE,IAAI,CAAC,IAAI,EAAE,IAAI,CAAC,KAAK,CAAC,CAAC;YACpD,CAAC;YACD,sBAAsB,EAAE,+BAA+B;SACxD,CAAC;IACJ,CAAC;CACF,CAAC,CAAC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-template-expression.js b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-template-expression.js index 9945de4a2a..9e68ce15a7 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-template-expression.js +++ b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-template-expression.js @@ -15,13 +15,23 @@ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? ( }) : function(o, v) { o["default"] = v; }); -var __importStar = (this && this.__importStar) || function (mod) { - if (mod && mod.__esModule) return mod; - var result = {}; - if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k); - __setModuleDefault(result, mod); - return result; -}; +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); Object.defineProperty(exports, "__esModule", { value: true }); const utils_1 = require("@typescript-eslint/utils"); const ts = __importStar(require("typescript")); diff --git a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-template-expression.js.map b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-template-expression.js.map index eb7a515d45..57cc377d22 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-template-expression.js.map +++ b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-template-expression.js.map @@ -1 +1 @@ -{"version":3,"file":"no-unnecessary-template-expression.js","sourceRoot":"","sources":["../../src/rules/no-unnecessary-template-expression.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AAEA,oDAA0D;AAC1D,+CAAiC;AAEjC,kCAOiB;AACjB,mDAAgD;AAIhD,MAAM,0BAA0B,GAAG,6BAA6B,CAAC;AAEjE,iBAAiB;AACjB,kBAAkB;AAClB,qBAAqB;AACrB,SAAS,2BAA2B,CAAC,GAAW;IAC9C,OAAO,IAAI,MAAM,CAAC,GAAG,MAAM,CAAC,0BAA0B,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC,IAAI,CACxE,GAAG,CACJ,CAAC;AACJ,CAAC;AAED,kBAAe,IAAA,iBAAU,EAAgB;IACvC,IAAI,EAAE,oCAAoC;IAC1C,IAAI,EAAE;QACJ,IAAI,EAAE,YAAY;QAClB,IAAI,EAAE;YACJ,WAAW,EAAE,2CAA2C;YACxD,WAAW,EAAE,QAAQ;YACrB,oBAAoB,EAAE,IAAI;SAC3B;QACD,OAAO,EAAE,MAAM;QACf,QAAQ,EAAE;YACR,+BAA+B,EAC7B,mEAAmE;SACtE;QACD,MAAM,EAAE,EAAE;KACX;IACD,cAAc,EAAE,EAAE;IAClB,MAAM,CAAC,OAAO;QACZ,MAAM,QAAQ,GAAG,IAAA,wBAAiB,EAAC,OAAO,CAAC,CAAC;QAE5C,SAAS,sBAAsB,CAC7B,UAA+B;YAE/B,MAAM,IAAI,GAAG,IAAA,mCAA4B,EAAC,QAAQ,EAAE,UAAU,CAAC,CAAC;YAEhE,MAAM,QAAQ,GAAG,CAAC,CAAU,EAAW,EAAE;gBACvC,OAAO,IAAA,oBAAa,EAAC,CAAC,EAAE,EAAE,CAAC,SAAS,CAAC,UAAU,CAAC,CAAC;YACnD,CAAC,CAAC;YAEF,IAAI,IAAI,CAAC,OAAO,EAAE,EAAE,CAAC;gBACnB,OAAO,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,QAAQ,CAAC,CAAC;YACpC,CAAC;YAED,IAAI,IAAI,CAAC,cAAc,EAAE,EAAE,CAAC;gBAC1B,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC;YACnC,CAAC;YAED,OAAO,QAAQ,CAAC,IAAI,CAAC,CAAC;QACxB,CAAC;QAED,SAAS,SAAS,CAChB,UAA+B;YAE/B,OAAO,UAAU,CAAC,IAAI,KAAK,sBAAc,CAAC,OAAO,CAAC;QACpD,CAAC;QAED,SAAS,iBAAiB,CACxB,UAA+B;YAE/B,OAAO,UAAU,CAAC,IAAI,KAAK,sBAAc,CAAC,eAAe,CAAC;QAC5D,CAAC;QAED,SAAS,oBAAoB,CAAC,UAA+B;YAC3D,OAAO,CACL,UAAU,CAAC,IAAI,KAAK,sBAAc,CAAC,UAAU;gBAC7C,UAAU,CAAC,IAAI,KAAK,UAAU,CAC/B,CAAC;QACJ,CAAC;QAED,SAAS,eAAe,CAAC,UAA+B;YACtD,OAAO,CACL,UAAU,CAAC,IAAI,KAAK,sBAAc,CAAC,UAAU;gBAC7C,UAAU,CAAC,IAAI,KAAK,KAAK,CAC1B,CAAC;QACJ,CAAC;QAED,OAAO;YACL,eAAe,CAAC,IAA8B;gBAC5C,IAAI,IAAI,CAAC,MAAM,CAAC,IAAI,KAAK,sBAAc,CAAC,wBAAwB,EAAE,CAAC;oBACjE,OAAO;gBACT,CAAC;gBAED,MAAM,uBAAuB,GAC3B,IAAI,CAAC,MAAM,CAAC,MAAM,KAAK,CAAC;oBACxB,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC,GAAG,KAAK,EAAE;oBAC/B,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC,GAAG,KAAK,EAAE;oBAC/B,IAAI,CAAC,WAAW,CAAC,MAAM,KAAK,CAAC;oBAC7B,sBAAsB,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC,CAAC,CAAC;gBAE9C,IAAI,uBAAuB,EAAE,CAAC;oBAC5B,OAAO,CAAC,MAAM,CAAC;wBACb,GAAG,EAAE,IAAA,uBAAU,EAAC,OAAO,CAAC,UAAU,EAAE;4BAClC,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,GAAG,CAAC;4BAChC,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,GAAG,CAAC;yBACjC,CAAC;wBACF,SAAS,EAAE,iCAAiC;wBAC5C,GAAG,CAAC,KAAK;4BACP,MAAM,YAAY,GAAG,IAAA,uBAAgB,EAAC;gCACpC,eAAe,EAAE,IAAI;gCACrB,UAAU,EAAE,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC;gCAC/B,UAAU,EAAE,OAAO,CAAC,UAAU;6BAC/B,CAAC,CAAC;4BAEH,OAAO,KAAK,CAAC,WAAW,CAAC,IAAI,EAAE,YAAY,CAAC,CAAC;wBAC/C,CAAC;qBACF,CAAC,CAAC;oBAEH,OAAO;gBACT,CAAC;gBAED,MAAM,kBAAkB,GAAG,IAAI,CAAC,WAAW;qBACxC,MAAM,CACL,UAAU,CAAC,EAAE,CACX,SAAS,CAAC,UAAU,CAAC;oBACrB,iBAAiB,CAAC,UAAU,CAAC;oBAC7B,IAAA,4BAAqB,EAAC,UAAU,CAAC;oBACjC,oBAAoB,CAAC,UAAU,CAAC;oBAChC,eAAe,CAAC,UAAU,CAAC,CAC9B;qBACA,OAAO,EAAE,CAAC;gBAEb,IAAI,gCAAgC,GAAG,KAAK,CAAC;gBAE7C,KAAK,MAAM,UAAU,IAAI,kBAAkB,EAAE,CAAC;oBAC5C,MAAM,MAAM,GACV,EAAE,CAAC;oBACL,MAAM,KAAK,GAAG,IAAI,CAAC,WAAW,CAAC,OAAO,CAAC,UAAU,CAAC,CAAC;oBACnD,MAAM,SAAS,GAAG,IAAI,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC;oBACrC,MAAM,SAAS,GAAG,IAAI,CAAC,MAAM,CAAC,KAAK,GAAG,CAAC,CAAC,CAAC;oBAEzC,IAAI,SAAS,CAAC,KAAK,CAAC,GAAG,CAAC,MAAM,KAAK,CAAC,EAAE,CAAC;wBACrC,gCAAgC;4BAC9B,SAAS,CAAC,KAAK,CAAC,GAAG,CAAC,UAAU,CAAC,GAAG,CAAC,CAAC;oBACxC,CAAC;oBAED,IAAI,SAAS,CAAC,UAAU,CAAC,EAAE,CAAC;wBAC1B,IAAI,YAAY,GAAG,CACjB,OAAO,UAAU,CAAC,KAAK,KAAK,QAAQ;4BAClC,CAAC,CAAC,2DAA2D;gCAC3D,yBAAyB;gCACzB,UAAU,CAAC,GAAG,CAAC,KAAK,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC;4BAC7B,CAAC,CAAC,qEAAqE;gCACrE,oDAAoD;gCACpD,MAAM,CAAC,UAAU,CAAC,KAAK,CAAC,CAAC,UAAU,CAAC,IAAI,EAAE,MAAM,CAAC,CACtD;4BACC,4CAA4C;4BAC5C,wEAAwE;4BACxE,EAAE;4BACF,kEAAkE;4BAClE,kEAAkE;4BAClE,oEAAoE;4BACpE,oEAAoE;4BACpE,EAAE;4BACF,kDAAkD;4BAClD,WAAW;4BACX,cAAc;4BACd,aAAa;4BACb,gBAAgB;6BACf,UAAU,CACT,IAAI,MAAM,CACR,GAAG,MAAM,CAAC,0BAA0B,CAAC,MAAM,CAAC,YAAY,EACxD,GAAG,CACJ,EACD,MAAM,CACP,CAAC;wBAEJ,qBAAqB;wBACrB,iBAAiB;wBACjB,IACE,gCAAgC;4BAChC,2BAA2B,CAAC,YAAY,CAAC,EACzC,CAAC;4BACD,YAAY,GAAG,YAAY,CAAC,UAAU,CAAC,MAAM,EAAE,KAAK,CAAC,CAAC;wBACxD,CAAC;wBAED,IAAI,YAAY,CAAC,MAAM,KAAK,CAAC,EAAE,CAAC;4BAC9B,gCAAgC,GAAG,YAAY,CAAC,UAAU,CAAC,GAAG,CAAC,CAAC;wBAClE,CAAC;wBAED,MAAM,CAAC,IAAI,CAAC,KAAK,CAAC,EAAE,CAAC,CAAC,KAAK,CAAC,WAAW,CAAC,UAAU,EAAE,YAAY,CAAC,CAAC,CAAC,CAAC;oBACtE,CAAC;yBAAM,IAAI,iBAAiB,CAAC,UAAU,CAAC,EAAE,CAAC;wBACzC,0DAA0D;wBAC1D,0DAA0D;wBAC1D,yBAAyB;wBACzB,EAAE;wBACF,gCAAgC;wBAChC,0DAA0D;wBAC1D,0DAA0D;wBAC1D,uDAAuD;wBACvD,uDAAuD;wBACvD,IACE,gCAAgC;4BAChC,2BAA2B,CACzB,UAAU,CAAC,MAAM,CAAC,UAAU,CAAC,MAAM,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC,KAAK,CAAC,GAAG,CAC1D,EACD,CAAC;4BACD,MAAM,CAAC,IAAI,CAAC,KAAK,CAAC,EAAE,CAAC;gCACnB,KAAK,CAAC,gBAAgB,CACpB,CAAC,UAAU,CAAC,KAAK,CAAC,CAAC,CAAC,GAAG,CAAC,EAAE,UAAU,CAAC,KAAK,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,EAClD,IAAI,CACL;6BACF,CAAC,CAAC;wBACL,CAAC;wBACD,IACE,UAAU,CAAC,MAAM,CAAC,MAAM,KAAK,CAAC;4BAC9B,UAAU,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC,GAAG,CAAC,MAAM,KAAK,CAAC,EAC3C,CAAC;4BACD,gCAAgC;gCAC9B,UAAU,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC,GAAG,CAAC,UAAU,CAAC,GAAG,CAAC,CAAC;wBACnD,CAAC;wBAED,yDAAyD;wBACzD,MAAM,CAAC,IAAI,CAAC,KAAK,CAAC,EAAE,CAAC;4BACnB,KAAK,CAAC,WAAW,CAAC,CAAC,UAAU,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,UAAU,CAAC,KAAK,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC;4BACjE,KAAK,CAAC,WAAW,CAAC,CAAC,UAAU,CAAC,KAAK,CAAC,CAAC,CAAC,GAAG,CAAC,EAAE,UAAU,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC;yBAClE,CAAC,CAAC;oBACL,CAAC;yBAAM,CAAC;wBACN,gCAAgC,GAAG,KAAK,CAAC;oBAC3C,CAAC;oBAED,uBAAuB;oBACvB,aAAa;oBACb,IACE,gCAAgC;wBAChC,2BAA2B,CAAC,SAAS,CAAC,KAAK,CAAC,GAAG,CAAC,EAChD,CAAC;wBACD,MAAM,CAAC,IAAI,CAAC,KAAK,CAAC,EAAE,CAAC;4BACnB,KAAK,CAAC,gBAAgB,CACpB,CAAC,SAAS,CAAC,KAAK,CAAC,CAAC,CAAC,GAAG,CAAC,EAAE,SAAS,CAAC,KAAK,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,EAChD,KAAK,CACN;yBACF,CAAC,CAAC;oBACL,CAAC;oBAED,MAAM,YAAY,GAAG,SAAS,CAAC,KAAK,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC;oBAC5C,MAAM,UAAU,GAAG,SAAS,CAAC,KAAK,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC;oBAE1C,OAAO,CAAC,MAAM,CAAC;wBACb,GAAG,EAAE,IAAA,uBAAU,EAAC,OAAO,CAAC,UAAU,EAAE,CAAC,YAAY,EAAE,UAAU,CAAC,CAAC;wBAC/D,SAAS,EAAE,iCAAiC;wBAC5C,GAAG,CAAC,KAAK;4BACP,OAAO;gCACL,uEAAuE;gCACvE,KAAK,CAAC,WAAW,CAAC,CAAC,YAAY,EAAE,UAAU,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC;gCACtD,KAAK,CAAC,WAAW,CAAC,CAAC,UAAU,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,UAAU,CAAC,CAAC;gCAEpD,GAAG,MAAM,CAAC,OAAO,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,KAAK,CAAC,CAAC;6BACnC,CAAC;wBACJ,CAAC;qBACF,CAAC,CAAC;gBACL,CAAC;YACH,CAAC;SACF,CAAC;IACJ,CAAC;CACF,CAAC,CAAC"} \ No newline at end of file +{"version":3,"file":"no-unnecessary-template-expression.js","sourceRoot":"","sources":["../../src/rules/no-unnecessary-template-expression.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEA,oDAA0D;AAC1D,+CAAiC;AAEjC,kCAOiB;AACjB,mDAAgD;AAIhD,MAAM,0BAA0B,GAAG,6BAA6B,CAAC;AAEjE,iBAAiB;AACjB,kBAAkB;AAClB,qBAAqB;AACrB,SAAS,2BAA2B,CAAC,GAAW;IAC9C,OAAO,IAAI,MAAM,CAAC,GAAG,MAAM,CAAC,0BAA0B,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC,IAAI,CACxE,GAAG,CACJ,CAAC;AACJ,CAAC;AAED,kBAAe,IAAA,iBAAU,EAAgB;IACvC,IAAI,EAAE,oCAAoC;IAC1C,IAAI,EAAE;QACJ,IAAI,EAAE,YAAY;QAClB,IAAI,EAAE;YACJ,WAAW,EAAE,2CAA2C;YACxD,WAAW,EAAE,QAAQ;YACrB,oBAAoB,EAAE,IAAI;SAC3B;QACD,OAAO,EAAE,MAAM;QACf,QAAQ,EAAE;YACR,+BAA+B,EAC7B,mEAAmE;SACtE;QACD,MAAM,EAAE,EAAE;KACX;IACD,cAAc,EAAE,EAAE;IAClB,MAAM,CAAC,OAAO;QACZ,MAAM,QAAQ,GAAG,IAAA,wBAAiB,EAAC,OAAO,CAAC,CAAC;QAE5C,SAAS,sBAAsB,CAC7B,UAA+B;YAE/B,MAAM,IAAI,GAAG,IAAA,mCAA4B,EAAC,QAAQ,EAAE,UAAU,CAAC,CAAC;YAEhE,MAAM,QAAQ,GAAG,CAAC,CAAU,EAAW,EAAE;gBACvC,OAAO,IAAA,oBAAa,EAAC,CAAC,EAAE,EAAE,CAAC,SAAS,CAAC,UAAU,CAAC,CAAC;YACnD,CAAC,CAAC;YAEF,IAAI,IAAI,CAAC,OAAO,EAAE,EAAE,CAAC;gBACnB,OAAO,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,QAAQ,CAAC,CAAC;YACpC,CAAC;YAED,IAAI,IAAI,CAAC,cAAc,EAAE,EAAE,CAAC;gBAC1B,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC;YACnC,CAAC;YAED,OAAO,QAAQ,CAAC,IAAI,CAAC,CAAC;QACxB,CAAC;QAED,SAAS,SAAS,CAChB,UAA+B;YAE/B,OAAO,UAAU,CAAC,IAAI,KAAK,sBAAc,CAAC,OAAO,CAAC;QACpD,CAAC;QAED,SAAS,iBAAiB,CACxB,UAA+B;YAE/B,OAAO,UAAU,CAAC,IAAI,KAAK,sBAAc,CAAC,eAAe,CAAC;QAC5D,CAAC;QAED,SAAS,oBAAoB,CAAC,UAA+B;YAC3D,OAAO,CACL,UAAU,CAAC,IAAI,KAAK,sBAAc,CAAC,UAAU;gBAC7C,UAAU,CAAC,IAAI,KAAK,UAAU,CAC/B,CAAC;QACJ,CAAC;QAED,SAAS,eAAe,CAAC,UAA+B;YACtD,OAAO,CACL,UAAU,CAAC,IAAI,KAAK,sBAAc,CAAC,UAAU;gBAC7C,UAAU,CAAC,IAAI,KAAK,KAAK,CAC1B,CAAC;QACJ,CAAC;QAED,OAAO;YACL,eAAe,CAAC,IAA8B;gBAC5C,IAAI,IAAI,CAAC,MAAM,CAAC,IAAI,KAAK,sBAAc,CAAC,wBAAwB,EAAE,CAAC;oBACjE,OAAO;gBACT,CAAC;gBAED,MAAM,uBAAuB,GAC3B,IAAI,CAAC,MAAM,CAAC,MAAM,KAAK,CAAC;oBACxB,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC,GAAG,KAAK,EAAE;oBAC/B,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC,GAAG,KAAK,EAAE;oBAC/B,IAAI,CAAC,WAAW,CAAC,MAAM,KAAK,CAAC;oBAC7B,sBAAsB,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC,CAAC,CAAC;gBAE9C,IAAI,uBAAuB,EAAE,CAAC;oBAC5B,OAAO,CAAC,MAAM,CAAC;wBACb,GAAG,EAAE,IAAA,uBAAU,EAAC,OAAO,CAAC,UAAU,EAAE;4BAClC,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,GAAG,CAAC;4BAChC,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,GAAG,CAAC;yBACjC,CAAC;wBACF,SAAS,EAAE,iCAAiC;wBAC5C,GAAG,CAAC,KAAK;4BACP,MAAM,YAAY,GAAG,IAAA,uBAAgB,EAAC;gCACpC,eAAe,EAAE,IAAI;gCACrB,UAAU,EAAE,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC;gCAC/B,UAAU,EAAE,OAAO,CAAC,UAAU;6BAC/B,CAAC,CAAC;4BAEH,OAAO,KAAK,CAAC,WAAW,CAAC,IAAI,EAAE,YAAY,CAAC,CAAC;wBAC/C,CAAC;qBACF,CAAC,CAAC;oBAEH,OAAO;gBACT,CAAC;gBAED,MAAM,kBAAkB,GAAG,IAAI,CAAC,WAAW;qBACxC,MAAM,CACL,UAAU,CAAC,EAAE,CACX,SAAS,CAAC,UAAU,CAAC;oBACrB,iBAAiB,CAAC,UAAU,CAAC;oBAC7B,IAAA,4BAAqB,EAAC,UAAU,CAAC;oBACjC,oBAAoB,CAAC,UAAU,CAAC;oBAChC,eAAe,CAAC,UAAU,CAAC,CAC9B;qBACA,OAAO,EAAE,CAAC;gBAEb,IAAI,gCAAgC,GAAG,KAAK,CAAC;gBAE7C,KAAK,MAAM,UAAU,IAAI,kBAAkB,EAAE,CAAC;oBAC5C,MAAM,MAAM,GACV,EAAE,CAAC;oBACL,MAAM,KAAK,GAAG,IAAI,CAAC,WAAW,CAAC,OAAO,CAAC,UAAU,CAAC,CAAC;oBACnD,MAAM,SAAS,GAAG,IAAI,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC;oBACrC,MAAM,SAAS,GAAG,IAAI,CAAC,MAAM,CAAC,KAAK,GAAG,CAAC,CAAC,CAAC;oBAEzC,IAAI,SAAS,CAAC,KAAK,CAAC,GAAG,CAAC,MAAM,KAAK,CAAC,EAAE,CAAC;wBACrC,gCAAgC;4BAC9B,SAAS,CAAC,KAAK,CAAC,GAAG,CAAC,UAAU,CAAC,GAAG,CAAC,CAAC;oBACxC,CAAC;oBAED,IAAI,SAAS,CAAC,UAAU,CAAC,EAAE,CAAC;wBAC1B,IAAI,YAAY,GAAG,CACjB,OAAO,UAAU,CAAC,KAAK,KAAK,QAAQ;4BAClC,CAAC,CAAC,2DAA2D;gCAC3D,yBAAyB;gCACzB,UAAU,CAAC,GAAG,CAAC,KAAK,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC;4BAC7B,CAAC,CAAC,qEAAqE;gCACrE,oDAAoD;gCACpD,MAAM,CAAC,UAAU,CAAC,KAAK,CAAC,CAAC,UAAU,CAAC,IAAI,EAAE,MAAM,CAAC,CACtD;4BACC,4CAA4C;4BAC5C,wEAAwE;4BACxE,EAAE;4BACF,kEAAkE;4BAClE,kEAAkE;4BAClE,oEAAoE;4BACpE,oEAAoE;4BACpE,EAAE;4BACF,kDAAkD;4BAClD,WAAW;4BACX,cAAc;4BACd,aAAa;4BACb,gBAAgB;6BACf,UAAU,CACT,IAAI,MAAM,CACR,GAAG,MAAM,CAAC,0BAA0B,CAAC,MAAM,CAAC,YAAY,EACxD,GAAG,CACJ,EACD,MAAM,CACP,CAAC;wBAEJ,qBAAqB;wBACrB,iBAAiB;wBACjB,IACE,gCAAgC;4BAChC,2BAA2B,CAAC,YAAY,CAAC,EACzC,CAAC;4BACD,YAAY,GAAG,YAAY,CAAC,UAAU,CAAC,MAAM,EAAE,KAAK,CAAC,CAAC;wBACxD,CAAC;wBAED,IAAI,YAAY,CAAC,MAAM,KAAK,CAAC,EAAE,CAAC;4BAC9B,gCAAgC,GAAG,YAAY,CAAC,UAAU,CAAC,GAAG,CAAC,CAAC;wBAClE,CAAC;wBAED,MAAM,CAAC,IAAI,CAAC,KAAK,CAAC,EAAE,CAAC,CAAC,KAAK,CAAC,WAAW,CAAC,UAAU,EAAE,YAAY,CAAC,CAAC,CAAC,CAAC;oBACtE,CAAC;yBAAM,IAAI,iBAAiB,CAAC,UAAU,CAAC,EAAE,CAAC;wBACzC,0DAA0D;wBAC1D,0DAA0D;wBAC1D,yBAAyB;wBACzB,EAAE;wBACF,gCAAgC;wBAChC,0DAA0D;wBAC1D,0DAA0D;wBAC1D,uDAAuD;wBACvD,uDAAuD;wBACvD,IACE,gCAAgC;4BAChC,2BAA2B,CACzB,UAAU,CAAC,MAAM,CAAC,UAAU,CAAC,MAAM,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC,KAAK,CAAC,GAAG,CAC1D,EACD,CAAC;4BACD,MAAM,CAAC,IAAI,CAAC,KAAK,CAAC,EAAE,CAAC;gCACnB,KAAK,CAAC,gBAAgB,CACpB,CAAC,UAAU,CAAC,KAAK,CAAC,CAAC,CAAC,GAAG,CAAC,EAAE,UAAU,CAAC,KAAK,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,EAClD,IAAI,CACL;6BACF,CAAC,CAAC;wBACL,CAAC;wBACD,IACE,UAAU,CAAC,MAAM,CAAC,MAAM,KAAK,CAAC;4BAC9B,UAAU,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC,GAAG,CAAC,MAAM,KAAK,CAAC,EAC3C,CAAC;4BACD,gCAAgC;gCAC9B,UAAU,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC,GAAG,CAAC,UAAU,CAAC,GAAG,CAAC,CAAC;wBACnD,CAAC;wBAED,yDAAyD;wBACzD,MAAM,CAAC,IAAI,CAAC,KAAK,CAAC,EAAE,CAAC;4BACnB,KAAK,CAAC,WAAW,CAAC,CAAC,UAAU,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,UAAU,CAAC,KAAK,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC;4BACjE,KAAK,CAAC,WAAW,CAAC,CAAC,UAAU,CAAC,KAAK,CAAC,CAAC,CAAC,GAAG,CAAC,EAAE,UAAU,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC;yBAClE,CAAC,CAAC;oBACL,CAAC;yBAAM,CAAC;wBACN,gCAAgC,GAAG,KAAK,CAAC;oBAC3C,CAAC;oBAED,uBAAuB;oBACvB,aAAa;oBACb,IACE,gCAAgC;wBAChC,2BAA2B,CAAC,SAAS,CAAC,KAAK,CAAC,GAAG,CAAC,EAChD,CAAC;wBACD,MAAM,CAAC,IAAI,CAAC,KAAK,CAAC,EAAE,CAAC;4BACnB,KAAK,CAAC,gBAAgB,CACpB,CAAC,SAAS,CAAC,KAAK,CAAC,CAAC,CAAC,GAAG,CAAC,EAAE,SAAS,CAAC,KAAK,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,EAChD,KAAK,CACN;yBACF,CAAC,CAAC;oBACL,CAAC;oBAED,MAAM,YAAY,GAAG,SAAS,CAAC,KAAK,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC;oBAC5C,MAAM,UAAU,GAAG,SAAS,CAAC,KAAK,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC;oBAE1C,OAAO,CAAC,MAAM,CAAC;wBACb,GAAG,EAAE,IAAA,uBAAU,EAAC,OAAO,CAAC,UAAU,EAAE,CAAC,YAAY,EAAE,UAAU,CAAC,CAAC;wBAC/D,SAAS,EAAE,iCAAiC;wBAC5C,GAAG,CAAC,KAAK;4BACP,OAAO;gCACL,uEAAuE;gCACvE,KAAK,CAAC,WAAW,CAAC,CAAC,YAAY,EAAE,UAAU,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC;gCACtD,KAAK,CAAC,WAAW,CAAC,CAAC,UAAU,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,UAAU,CAAC,CAAC;gCAEpD,GAAG,MAAM,CAAC,OAAO,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,KAAK,CAAC,CAAC;6BACnC,CAAC;wBACJ,CAAC;qBACF,CAAC,CAAC;gBACL,CAAC;YACH,CAAC;SACF,CAAC;IACJ,CAAC;CACF,CAAC,CAAC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-type-arguments.js b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-type-arguments.js index d77b792107..1bbf4f9aee 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-type-arguments.js +++ b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-type-arguments.js @@ -15,13 +15,23 @@ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? ( }) : function(o, v) { o["default"] = v; }); -var __importStar = (this && this.__importStar) || function (mod) { - if (mod && mod.__esModule) return mod; - var result = {}; - if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k); - __setModuleDefault(result, mod); - return result; -}; +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); Object.defineProperty(exports, "__esModule", { value: true }); const tsutils = __importStar(require("ts-api-utils")); const ts = __importStar(require("typescript")); diff --git a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-type-arguments.js.map b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-type-arguments.js.map index da71764eee..dd47794c26 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-type-arguments.js.map +++ b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-type-arguments.js.map @@ -1 +1 @@ -{"version":3,"file":"no-unnecessary-type-arguments.js","sourceRoot":"","sources":["../../src/rules/no-unnecessary-type-arguments.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AAEA,sDAAwC;AACxC,+CAAiC;AAEjC,kCAKiB;AAejB,kBAAe,IAAA,iBAAU,EAAiB;IACxC,IAAI,EAAE,+BAA+B;IACrC,IAAI,EAAE;QACJ,IAAI,EAAE,YAAY;QAClB,IAAI,EAAE;YACJ,WAAW,EAAE,uDAAuD;YACpE,WAAW,EAAE,QAAQ;YACrB,oBAAoB,EAAE,IAAI;SAC3B;QACD,OAAO,EAAE,MAAM;QACf,QAAQ,EAAE;YACR,wBAAwB,EACtB,0EAA0E;SAC7E;QACD,MAAM,EAAE,EAAE;KACX;IACD,cAAc,EAAE,EAAE;IAClB,MAAM,CAAC,OAAO;QACZ,MAAM,QAAQ,GAAG,IAAA,wBAAiB,EAAC,OAAO,CAAC,CAAC;QAC5C,MAAM,OAAO,GAAG,QAAQ,CAAC,OAAO,CAAC,cAAc,EAAE,CAAC;QAElD,SAAS,oBAAoB,CAAC,IAAa;YAIzC,IAAI,IAAA,0BAAmB,EAAC,IAAI,CAAC,EAAE,CAAC;gBAC9B,OAAO;oBACL,IAAI,EAAE,IAAI,CAAC,MAAM;oBACjB,aAAa,EAAE,OAAO,CAAC,gBAAgB,CAAC,IAAI,CAAC;iBAC9C,CAAC;YACJ,CAAC;YACD,OAAO;gBACL,IAAI;gBACJ,aAAa,EAAE,EAAE;aAClB,CAAC;QACJ,CAAC;QAED,SAAS,wBAAwB,CAC/B,YAAmD,EACnD,cAAsD;YAEtD,+FAA+F;YAC/F,MAAM,CAAC,GAAG,YAAY,CAAC,MAAM,CAAC,MAAM,GAAG,CAAC,CAAC;YACzC,MAAM,GAAG,GAAG,YAAY,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC;YACnC,MAAM,KAAK,GAAG,cAAc,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC;YACnC,IAAI,CAAC,KAAK,EAAE,OAAO,EAAE,CAAC;gBACpB,OAAO;YACT,CAAC;YAED,oGAAoG;YACpG,MAAM,WAAW,GAAG,OAAO,CAAC,iBAAiB,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC;YAC7D,MAAM,OAAO,GAAG,QAAQ,CAAC,iBAAiB,CAAC,GAAG,CAAC,CAAC;YAChD,uFAAuF;YACvF,IAAI,WAAW,KAAK,OAAO,EAAE,CAAC;gBAC5B,2FAA2F;gBAC3F,0FAA0F;gBAC1F,gDAAgD;gBAChD,iFAAiF;gBACjF,MAAM,mBAAmB,GAAG,oBAAoB,CAAC,WAAW,CAAC,CAAC;gBAC9D,MAAM,eAAe,GAAG,oBAAoB,CAAC,OAAO,CAAC,CAAC;gBACtD;gBACE,+DAA+D;gBAC/D,mBAAmB,CAAC,IAAI,KAAK,eAAe,CAAC,IAAI;oBACjD,mBAAmB,CAAC,aAAa,CAAC,MAAM;wBACtC,eAAe,CAAC,aAAa,CAAC,MAAM;oBACtC,mBAAmB,CAAC,aAAa,CAAC,IAAI,CACpC,CAAC,CAAC,EAAE,CAAC,EAAE,EAAE,CAAC,CAAC,KAAK,eAAe,CAAC,aAAa,CAAC,CAAC,CAAC,CACjD,EACD,CAAC;oBACD,OAAO;gBACT,CAAC;YACH,CAAC;YAED,OAAO,CAAC,MAAM,CAAC;gBACb,IAAI,EAAE,GAAG;gBACT,SAAS,EAAE,0BAA0B;gBACrC,GAAG,EAAE,KAAK,CAAC,EAAE,CACX,KAAK,CAAC,WAAW,CACf,CAAC,KAAK,CAAC;oBACL,CAAC,CAAC,YAAY,CAAC,KAAK;oBACpB,CAAC,CAAC,CAAC,YAAY,CAAC,MAAM,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,GAAG,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,CACxD;aACJ,CAAC,CAAC;QACL,CAAC;QAED,OAAO;YACL,4BAA4B,CAAC,IAAI;gBAC/B,MAAM,UAAU,GAAG,QAAQ,CAAC,qBAAqB,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC;gBAE5D,MAAM,cAAc,GAAG,yBAAyB,CAAC,UAAU,EAAE,OAAO,CAAC,CAAC;gBACtE,IAAI,cAAc,EAAE,CAAC;oBACnB,wBAAwB,CAAC,IAAI,EAAE,cAAc,CAAC,CAAC;gBACjD,CAAC;YACH,CAAC;SACF,CAAC;IACJ,CAAC;CACF,CAAC,CAAC;AAEH,SAAS,yBAAyB,CAChC,IAA4B,EAC5B,OAAuB;IAEvB,IAAI,EAAE,CAAC,6BAA6B,CAAC,IAAI,CAAC,EAAE,CAAC;QAC3C,OAAO,yBAAyB,CAAC,IAAI,CAAC,UAAU,EAAE,OAAO,CAAC,CAAC;IAC7D,CAAC;IAED,IAAI,EAAE,CAAC,mBAAmB,CAAC,IAAI,CAAC,EAAE,CAAC;QACjC,OAAO,yBAAyB,CAAC,IAAI,CAAC,QAAQ,EAAE,OAAO,CAAC,CAAC;IAC3D,CAAC;IAED,IACE,EAAE,CAAC,gBAAgB,CAAC,IAAI,CAAC;QACzB,EAAE,CAAC,eAAe,CAAC,IAAI,CAAC;QACxB,EAAE,CAAC,0BAA0B,CAAC,IAAI,CAAC,EACnC,CAAC;QACD,OAAO,yBAAyB,CAAC,IAAI,EAAE,OAAO,CAAC,CAAC;IAClD,CAAC;IAED,OAAO,SAAS,CAAC;AACnB,CAAC;AAED,SAAS,yBAAyB,CAChC,IAAyD,EACzD,OAAuB;IAEvB,MAAM,aAAa,GAAG,OAAO,CAAC,mBAAmB,CAAC,IAAI,CAAC,CAAC;IACxD,IAAI,CAAC,aAAa,EAAE,CAAC;QACnB,OAAO,SAAS,CAAC;IACnB,CAAC;IAED,MAAM,GAAG,GAAG,gBAAgB,CAAC,aAAa,EAAE,OAAO,CAAC,CAAC;IACrD,MAAM,YAAY,GAAG,GAAG,CAAC,eAAe,EAAE,CAAC;IAE3C,IAAI,CAAC,YAAY,EAAE,CAAC;QAClB,OAAO,SAAS,CAAC;IACnB,CAAC;IAED,OAAO,IAAA,sBAAe,EAAC,YAAY,EAAE,IAAI,CAAC,EAAE,CAC1C,EAAE,CAAC,WAAW,CAAC,IAAI,CAAC;QACpB,EAAE,CAAC,sBAAsB,CAAC,IAAI,CAAC;QAC/B,EAAE,CAAC,sBAAsB,CAAC,IAAI,CAAC;QAC7B,CAAC,CAAC,IAAI,CAAC,cAAc;QACrB,CAAC,CAAC,SAAS,CACd,CAAC;AACJ,CAAC;AAED,SAAS,yBAAyB,CAChC,IAAwE,EACxE,OAAuB;IAEvB,MAAM,GAAG,GAAG,OAAO,CAAC,oBAAoB,CAAC,IAAI,CAAC,CAAC;IAC/C,MAAM,OAAO,GAAG,GAAG,EAAE,cAAc,EAAE,CAAC;IACtC,IAAI,CAAC,OAAO,EAAE,CAAC;QACb,OAAO,EAAE,CAAC,eAAe,CAAC,IAAI,CAAC;YAC7B,CAAC,CAAC,yBAAyB,CAAC,IAAI,CAAC,UAAU,EAAE,OAAO,CAAC;YACrD,CAAC,CAAC,SAAS,CAAC;IAChB,CAAC;IAED,OAAO,OAAO,CAAC,cAAc,CAAC;AAChC,CAAC;AAED,SAAS,gBAAgB,CACvB,MAAiB,EACjB,OAAuB;IAEvB,OAAO,OAAO,CAAC,eAAe,CAAC,MAAM,EAAE,EAAE,CAAC,WAAW,CAAC,KAAK,CAAC;QAC1D,CAAC,CAAC,OAAO,CAAC,gBAAgB,CAAC,MAAM,CAAC;QAClC,CAAC,CAAC,MAAM,CAAC;AACb,CAAC"} \ No newline at end of file +{"version":3,"file":"no-unnecessary-type-arguments.js","sourceRoot":"","sources":["../../src/rules/no-unnecessary-type-arguments.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEA,sDAAwC;AACxC,+CAAiC;AAEjC,kCAKiB;AAejB,kBAAe,IAAA,iBAAU,EAAiB;IACxC,IAAI,EAAE,+BAA+B;IACrC,IAAI,EAAE;QACJ,IAAI,EAAE,YAAY;QAClB,IAAI,EAAE;YACJ,WAAW,EAAE,uDAAuD;YACpE,WAAW,EAAE,QAAQ;YACrB,oBAAoB,EAAE,IAAI;SAC3B;QACD,OAAO,EAAE,MAAM;QACf,QAAQ,EAAE;YACR,wBAAwB,EACtB,0EAA0E;SAC7E;QACD,MAAM,EAAE,EAAE;KACX;IACD,cAAc,EAAE,EAAE;IAClB,MAAM,CAAC,OAAO;QACZ,MAAM,QAAQ,GAAG,IAAA,wBAAiB,EAAC,OAAO,CAAC,CAAC;QAC5C,MAAM,OAAO,GAAG,QAAQ,CAAC,OAAO,CAAC,cAAc,EAAE,CAAC;QAElD,SAAS,oBAAoB,CAAC,IAAa;YAIzC,IAAI,IAAA,0BAAmB,EAAC,IAAI,CAAC,EAAE,CAAC;gBAC9B,OAAO;oBACL,IAAI,EAAE,IAAI,CAAC,MAAM;oBACjB,aAAa,EAAE,OAAO,CAAC,gBAAgB,CAAC,IAAI,CAAC;iBAC9C,CAAC;YACJ,CAAC;YACD,OAAO;gBACL,IAAI;gBACJ,aAAa,EAAE,EAAE;aAClB,CAAC;QACJ,CAAC;QAED,SAAS,wBAAwB,CAC/B,YAAmD,EACnD,cAAsD;YAEtD,+FAA+F;YAC/F,MAAM,CAAC,GAAG,YAAY,CAAC,MAAM,CAAC,MAAM,GAAG,CAAC,CAAC;YACzC,MAAM,GAAG,GAAG,YAAY,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC;YACnC,MAAM,KAAK,GAAG,cAAc,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC;YACnC,IAAI,CAAC,KAAK,EAAE,OAAO,EAAE,CAAC;gBACpB,OAAO;YACT,CAAC;YAED,oGAAoG;YACpG,MAAM,WAAW,GAAG,OAAO,CAAC,iBAAiB,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC;YAC7D,MAAM,OAAO,GAAG,QAAQ,CAAC,iBAAiB,CAAC,GAAG,CAAC,CAAC;YAChD,uFAAuF;YACvF,IAAI,WAAW,KAAK,OAAO,EAAE,CAAC;gBAC5B,2FAA2F;gBAC3F,0FAA0F;gBAC1F,gDAAgD;gBAChD,iFAAiF;gBACjF,MAAM,mBAAmB,GAAG,oBAAoB,CAAC,WAAW,CAAC,CAAC;gBAC9D,MAAM,eAAe,GAAG,oBAAoB,CAAC,OAAO,CAAC,CAAC;gBACtD;gBACE,+DAA+D;gBAC/D,mBAAmB,CAAC,IAAI,KAAK,eAAe,CAAC,IAAI;oBACjD,mBAAmB,CAAC,aAAa,CAAC,MAAM;wBACtC,eAAe,CAAC,aAAa,CAAC,MAAM;oBACtC,mBAAmB,CAAC,aAAa,CAAC,IAAI,CACpC,CAAC,CAAC,EAAE,CAAC,EAAE,EAAE,CAAC,CAAC,KAAK,eAAe,CAAC,aAAa,CAAC,CAAC,CAAC,CACjD,EACD,CAAC;oBACD,OAAO;gBACT,CAAC;YACH,CAAC;YAED,OAAO,CAAC,MAAM,CAAC;gBACb,IAAI,EAAE,GAAG;gBACT,SAAS,EAAE,0BAA0B;gBACrC,GAAG,EAAE,KAAK,CAAC,EAAE,CACX,KAAK,CAAC,WAAW,CACf,CAAC,KAAK,CAAC;oBACL,CAAC,CAAC,YAAY,CAAC,KAAK;oBACpB,CAAC,CAAC,CAAC,YAAY,CAAC,MAAM,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,GAAG,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,CACxD;aACJ,CAAC,CAAC;QACL,CAAC;QAED,OAAO;YACL,4BAA4B,CAAC,IAAI;gBAC/B,MAAM,UAAU,GAAG,QAAQ,CAAC,qBAAqB,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC;gBAE5D,MAAM,cAAc,GAAG,yBAAyB,CAAC,UAAU,EAAE,OAAO,CAAC,CAAC;gBACtE,IAAI,cAAc,EAAE,CAAC;oBACnB,wBAAwB,CAAC,IAAI,EAAE,cAAc,CAAC,CAAC;gBACjD,CAAC;YACH,CAAC;SACF,CAAC;IACJ,CAAC;CACF,CAAC,CAAC;AAEH,SAAS,yBAAyB,CAChC,IAA4B,EAC5B,OAAuB;IAEvB,IAAI,EAAE,CAAC,6BAA6B,CAAC,IAAI,CAAC,EAAE,CAAC;QAC3C,OAAO,yBAAyB,CAAC,IAAI,CAAC,UAAU,EAAE,OAAO,CAAC,CAAC;IAC7D,CAAC;IAED,IAAI,EAAE,CAAC,mBAAmB,CAAC,IAAI,CAAC,EAAE,CAAC;QACjC,OAAO,yBAAyB,CAAC,IAAI,CAAC,QAAQ,EAAE,OAAO,CAAC,CAAC;IAC3D,CAAC;IAED,IACE,EAAE,CAAC,gBAAgB,CAAC,IAAI,CAAC;QACzB,EAAE,CAAC,eAAe,CAAC,IAAI,CAAC;QACxB,EAAE,CAAC,0BAA0B,CAAC,IAAI,CAAC,EACnC,CAAC;QACD,OAAO,yBAAyB,CAAC,IAAI,EAAE,OAAO,CAAC,CAAC;IAClD,CAAC;IAED,OAAO,SAAS,CAAC;AACnB,CAAC;AAED,SAAS,yBAAyB,CAChC,IAAyD,EACzD,OAAuB;IAEvB,MAAM,aAAa,GAAG,OAAO,CAAC,mBAAmB,CAAC,IAAI,CAAC,CAAC;IACxD,IAAI,CAAC,aAAa,EAAE,CAAC;QACnB,OAAO,SAAS,CAAC;IACnB,CAAC;IAED,MAAM,GAAG,GAAG,gBAAgB,CAAC,aAAa,EAAE,OAAO,CAAC,CAAC;IACrD,MAAM,YAAY,GAAG,GAAG,CAAC,eAAe,EAAE,CAAC;IAE3C,IAAI,CAAC,YAAY,EAAE,CAAC;QAClB,OAAO,SAAS,CAAC;IACnB,CAAC;IAED,OAAO,IAAA,sBAAe,EAAC,YAAY,EAAE,IAAI,CAAC,EAAE,CAC1C,EAAE,CAAC,WAAW,CAAC,IAAI,CAAC;QACpB,EAAE,CAAC,sBAAsB,CAAC,IAAI,CAAC;QAC/B,EAAE,CAAC,sBAAsB,CAAC,IAAI,CAAC;QAC7B,CAAC,CAAC,IAAI,CAAC,cAAc;QACrB,CAAC,CAAC,SAAS,CACd,CAAC;AACJ,CAAC;AAED,SAAS,yBAAyB,CAChC,IAAwE,EACxE,OAAuB;IAEvB,MAAM,GAAG,GAAG,OAAO,CAAC,oBAAoB,CAAC,IAAI,CAAC,CAAC;IAC/C,MAAM,OAAO,GAAG,GAAG,EAAE,cAAc,EAAE,CAAC;IACtC,IAAI,CAAC,OAAO,EAAE,CAAC;QACb,OAAO,EAAE,CAAC,eAAe,CAAC,IAAI,CAAC;YAC7B,CAAC,CAAC,yBAAyB,CAAC,IAAI,CAAC,UAAU,EAAE,OAAO,CAAC;YACrD,CAAC,CAAC,SAAS,CAAC;IAChB,CAAC;IAED,OAAO,OAAO,CAAC,cAAc,CAAC;AAChC,CAAC;AAED,SAAS,gBAAgB,CACvB,MAAiB,EACjB,OAAuB;IAEvB,OAAO,OAAO,CAAC,eAAe,CAAC,MAAM,EAAE,EAAE,CAAC,WAAW,CAAC,KAAK,CAAC;QAC1D,CAAC,CAAC,OAAO,CAAC,gBAAgB,CAAC,MAAM,CAAC;QAClC,CAAC,CAAC,MAAM,CAAC;AACb,CAAC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-type-assertion.js b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-type-assertion.js index 1b48482a37..bed2437193 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-type-assertion.js +++ b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-type-assertion.js @@ -15,13 +15,23 @@ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? ( }) : function(o, v) { o["default"] = v; }); -var __importStar = (this && this.__importStar) || function (mod) { - if (mod && mod.__esModule) return mod; - var result = {}; - if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k); - __setModuleDefault(result, mod); - return result; -}; +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); Object.defineProperty(exports, "__esModule", { value: true }); const utils_1 = require("@typescript-eslint/utils"); const tsutils = __importStar(require("ts-api-utils")); diff --git a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-type-assertion.js.map b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-type-assertion.js.map index 9204d82841..c8bcf38b94 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-type-assertion.js.map +++ b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-type-assertion.js.map @@ -1 +1 @@ -{"version":3,"file":"no-unnecessary-type-assertion.js","sourceRoot":"","sources":["../../src/rules/no-unnecessary-type-assertion.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AAIA,oDAA2E;AAC3E,sDAAwC;AACxC,+CAAiC;AAEjC,kCAWiB;AASjB,kBAAe,IAAA,iBAAU,EAAsB;IAC7C,IAAI,EAAE,+BAA+B;IACrC,IAAI,EAAE;QACJ,IAAI,EAAE,YAAY;QAClB,IAAI,EAAE;YACJ,WAAW,EACT,uEAAuE;YACzE,WAAW,EAAE,aAAa;YAC1B,oBAAoB,EAAE,IAAI;SAC3B;QACD,OAAO,EAAE,MAAM;QACf,QAAQ,EAAE;YACR,uBAAuB,EACrB,+FAA+F;YACjG,oBAAoB,EAClB,oFAAoF;SACvF;QACD,MAAM,EAAE;YACN;gBACE,IAAI,EAAE,QAAQ;gBACd,oBAAoB,EAAE,KAAK;gBAC3B,UAAU,EAAE;oBACV,aAAa,EAAE;wBACb,IAAI,EAAE,OAAO;wBACb,WAAW,EAAE,iCAAiC;wBAC9C,KAAK,EAAE;4BACL,IAAI,EAAE,QAAQ;yBACf;qBACF;iBACF;aACF;SACF;KACF;IACD,cAAc,EAAE,CAAC,EAAE,CAAC;IACpB,MAAM,CAAC,OAAO,EAAE,CAAC,OAAO,CAAC;QACvB,MAAM,QAAQ,GAAG,IAAA,wBAAiB,EAAC,OAAO,CAAC,CAAC;QAC5C,MAAM,OAAO,GAAG,QAAQ,CAAC,OAAO,CAAC,cAAc,EAAE,CAAC;QAClD,MAAM,eAAe,GAAG,QAAQ,CAAC,OAAO,CAAC,kBAAkB,EAAE,CAAC;QAE9D;;WAEG;QACH,SAAS,4BAA4B,CAAC,IAAyB;YAC7D,MAAM,WAAW,GAAG,IAAA,qBAAc,EAAC,QAAQ,EAAE,IAAI,CAAC,CAAC;YACnD,IAAI,CAAC,WAAW,EAAE,CAAC;gBACjB,+EAA+E;gBAC/E,OAAO,IAAI,CAAC;YACd,CAAC;YAED;YACE,iEAAiE;YACjE,OAAO,CAAC,6BAA6B,CACnC,eAAe,EACf,kBAAkB,CACnB;gBACD,2DAA2D;gBAC3D,sEAAsE;gBACtE,EAAE,CAAC,qBAAqB,CAAC,WAAW,CAAC,EACrC,CAAC;gBACD,0DAA0D;gBAC1D,iEAAiE;gBACjE,iCAAiC;gBAEjC,KAAK;gBACL,6BAA6B;gBAC7B,0BAA0B;gBAC1B,WAAW;gBACX,oBAAoB;gBACpB,IAAI;gBACJ,IACE,EAAE,CAAC,yBAAyB,CAAC,WAAW,CAAC,MAAM,CAAC;oBAChD,MAAM;oBACN,WAAW,CAAC,MAAM,CAAC,KAAK,KAAK,EAAE,CAAC,SAAS,CAAC,IAAI;oBAC9C,sDAAsD;oBACtD,sDAAsD;oBACtD,QAAQ,CAAC,qBAAqB,CAAC,GAAG,CAAC,WAAW,CAAC,EAC/C,CAAC;oBACD,MAAM,cAAc,GAClB,QAAQ,CAAC,qBAAqB,CAAC,GAAG,CAAC,WAAW,CAAC,CAAC;oBAClD,MAAM,KAAK,GAAG,OAAO,CAAC,UAAU,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC;oBAChD,MAAM,eAAe,GAAG,OAAO,CAAC,UAAU,CAAC,QAAQ,CAAC,cAAc,CAAC,CAAC;oBACpE,IAAI,WAAW,GAAiB,eAAe,CAAC;oBAChD,OAAO,CAAC,WAAW,GAAG,WAAW,CAAC,KAAK,CAAC,EAAE,CAAC;wBACzC,IAAI,WAAW,KAAK,KAAK,EAAE,CAAC;4BAC1B,OAAO,IAAI,CAAC;wBACd,CAAC;oBACH,CAAC;gBACH,CAAC;gBAED;gBACE,2BAA2B;gBAC3B,WAAW,CAAC,WAAW,KAAK,SAAS;oBACrC,WAAW,CAAC,gBAAgB,KAAK,SAAS;oBAC1C,WAAW,CAAC,IAAI,KAAK,SAAS,EAC9B,CAAC;oBACD,kEAAkE;oBAClE,MAAM,eAAe,GAAG,OAAO,CAAC,mBAAmB,CAAC,WAAW,CAAC,IAAI,CAAC,CAAC;oBACtE,MAAM,IAAI,GAAG,IAAA,mCAA4B,EAAC,QAAQ,EAAE,IAAI,CAAC,CAAC;oBAC1D,IACE,eAAe,KAAK,IAAI;wBACxB,oDAAoD;wBACpD,CAAC,CACC,EAAE,CAAC,yBAAyB,CAAC,WAAW,CAAC,MAAM,CAAC;4BAChD,EAAE,CAAC,mBAAmB,CAAC,WAAW,CAAC,MAAM,CAAC,MAAM,CAAC;4BACjD,OAAO,CAAC,gBAAgB,CACtB,IAAA,mBAAY,EAAC,WAAW,CAAC,MAAM,CAAC,MAAM,CAAC,EACvC,EAAE,CAAC,UAAU,CAAC,cAAc,CAC7B,CACF,EACD,CAAC;wBACD,iDAAiD;wBACjD,6FAA6F;wBAC7F,EAAE;wBACF,6CAA6C;wBAC7C,uDAAuD;wBACvD,OAAO,IAAI,CAAC;oBACd,CAAC;gBACH,CAAC;YACH,CAAC;YACD,OAAO,KAAK,CAAC;QACf,CAAC;QAED,SAAS,gBAAgB,CAAC,IAAuB;YAC/C,OAAO,CACL,IAAI,CAAC,IAAI,KAAK,sBAAc,CAAC,eAAe;gBAC5C,IAAI,CAAC,QAAQ,CAAC,IAAI,KAAK,sBAAc,CAAC,UAAU;gBAChD,IAAI,CAAC,QAAQ,CAAC,IAAI,KAAK,OAAO,CAC/B,CAAC;QACJ,CAAC;QAED,SAAS,oCAAoC,CAAC,EAC5C,UAAU,EACV,MAAM,GAC6C;YACnD,oEAAoE;YACpE,MAAM,oBAAoB,GAAG,MAAM,CAAC,MAAO,CAAC;YAC5C,MAAM,gCAAgC,GACpC,UAAU,CAAC,IAAI,KAAK,sBAAc,CAAC,eAAe;gBAClD,UAAU,CAAC,WAAW,CAAC,MAAM,KAAK,CAAC,CAAC;YACtC,OAAO,CACL,oBAAoB,CAAC,IAAI,KAAK,sBAAc,CAAC,mBAAmB;gBAChE,oBAAoB,CAAC,IAAI,KAAK,OAAO;gBACrC;;;mBAGG;gBACH,CAAC,gCAAgC,CAClC,CAAC;QACJ,CAAC;QAED,SAAS,eAAe,CAAC,MAAe,EAAE,IAAa;YACrD,IAAI,MAAM,KAAK,IAAI,EAAE,CAAC;gBACpB,OAAO,IAAI,CAAC;YACd,CAAC;YAED,IACE,IAAA,oBAAa,EAAC,MAAM,EAAE,EAAE,CAAC,SAAS,CAAC,SAAS,CAAC;gBAC7C,IAAA,oBAAa,EAAC,IAAI,EAAE,EAAE,CAAC,SAAS,CAAC,SAAS,CAAC;gBAC3C,OAAO,CAAC,uBAAuB,CAC7B,eAAe,EACf,4BAA4B,CAC7B,EACD,CAAC;gBACD,MAAM,WAAW,GAAG,OAAO;qBACxB,cAAc,CAAC,MAAM,CAAC;qBACtB,MAAM,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC,IAAA,oBAAa,EAAC,IAAI,EAAE,EAAE,CAAC,SAAS,CAAC,SAAS,CAAC,CAAC,CAAC;gBAEhE,MAAM,SAAS,GAAG,OAAO;qBACtB,cAAc,CAAC,IAAI,CAAC;qBACpB,MAAM,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC,IAAA,oBAAa,EAAC,IAAI,EAAE,EAAE,CAAC,SAAS,CAAC,SAAS,CAAC,CAAC,CAAC;gBAEhE,IAAI,WAAW,CAAC,MAAM,KAAK,SAAS,CAAC,MAAM,EAAE,CAAC;oBAC5C,OAAO,KAAK,CAAC;gBACf,CAAC;gBAED,MAAM,cAAc,GAAG,IAAI,GAAG,CAAC,WAAW,CAAC,CAAC;gBAC5C,OAAO,SAAS,CAAC,KAAK,CAAC,IAAI,CAAC,EAAE,CAAC,cAAc,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC,CAAC;YAC3D,CAAC;YAED,OAAO,KAAK,CAAC;QACf,CAAC;QAED,OAAO;YACL,iCAAiC,CAC/B,IAAwD;gBAExD,IACE,OAAO,CAAC,aAAa,EAAE,QAAQ,CAC7B,OAAO,CAAC,UAAU,CAAC,OAAO,CAAC,IAAI,CAAC,cAAc,CAAC,CAChD,EACD,CAAC;oBACD,OAAO;gBACT,CAAC;gBAED,MAAM,QAAQ,GAAG,QAAQ,CAAC,iBAAiB,CAAC,IAAI,CAAC,CAAC;gBAClD,MAAM,UAAU,GAAG,QAAQ,CAAC,iBAAiB,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC;gBAC/D,MAAM,eAAe,GAAG,eAAe,CAAC,UAAU,EAAE,QAAQ,CAAC,CAAC;gBAE9D,MAAM,uBAAuB,GAAG,QAAQ,CAAC,SAAS,EAAE;oBAClD,CAAC,CAAC,oCAAoC,CAAC,IAAI,CAAC;oBAC5C,CAAC,CAAC,CAAC,gBAAgB,CAAC,IAAI,CAAC,cAAc,CAAC,CAAC;gBAE3C,IAAI,eAAe,IAAI,uBAAuB,EAAE,CAAC;oBAC/C,OAAO,CAAC,MAAM,CAAC;wBACb,IAAI;wBACJ,SAAS,EAAE,sBAAsB;wBACjC,GAAG,CAAC,KAAK;4BACP,IAAI,IAAI,CAAC,IAAI,KAAK,sBAAc,CAAC,eAAe,EAAE,CAAC;gCACjD,MAAM,mBAAmB,GAAG,IAAA,iBAAU,EACpC,OAAO,CAAC,UAAU,CAAC,cAAc,CAC/B,IAAI,CAAC,cAAc,EACnB,KAAK,CAAC,EAAE,CACN,KAAK,CAAC,IAAI,KAAK,uBAAe,CAAC,UAAU;oCACzC,KAAK,CAAC,KAAK,KAAK,GAAG,CACtB,EACD,wBAAiB,CAAC,YAAY,CAAC,GAAG,EAAE,iBAAiB,CAAC,CACvD,CAAC;gCACF,MAAM,mBAAmB,GAAG,IAAA,iBAAU,EACpC,OAAO,CAAC,UAAU,CAAC,aAAa,CAC9B,IAAI,CAAC,cAAc,EACnB,KAAK,CAAC,EAAE,CACN,KAAK,CAAC,IAAI,KAAK,uBAAe,CAAC,UAAU;oCACzC,KAAK,CAAC,KAAK,KAAK,GAAG,CACtB,EACD,wBAAiB,CAAC,YAAY,CAAC,GAAG,EAAE,iBAAiB,CAAC,CACvD,CAAC;gCAEF,2BAA2B;gCAC3B,iBAAiB;gCACjB,OAAO,KAAK,CAAC,WAAW,CAAC;oCACvB,mBAAmB,CAAC,KAAK,CAAC,CAAC,CAAC;oCAC5B,mBAAmB,CAAC,KAAK,CAAC,CAAC,CAAC;iCAC7B,CAAC,CAAC;4BACL,CAAC;4BACD,2CAA2C;4BAC3C,MAAM,OAAO,GAAG,IAAA,iBAAU,EACxB,OAAO,CAAC,UAAU,CAAC,aAAa,CAC9B,IAAI,CAAC,UAAU,EACf,KAAK,CAAC,EAAE,CACN,KAAK,CAAC,IAAI,KAAK,uBAAe,CAAC,UAAU;gCACzC,KAAK,CAAC,KAAK,KAAK,IAAI,CACvB,EACD,wBAAiB,CAAC,YAAY,CAAC,GAAG,EAAE,iBAAiB,CAAC,CACvD,CAAC;4BACF,MAAM,aAAa,GAAG,IAAA,iBAAU,EAC9B,OAAO,CAAC,UAAU,CAAC,cAAc,CAAC,OAAO,EAAE;gCACzC,eAAe,EAAE,IAAI;6BACtB,CAAC,EACF,wBAAiB,CAAC,YAAY,CAAC,SAAS,EAAE,IAAI,CAAC,CAChD,CAAC;4BAEF,wBAAwB;4BACxB,wBAAwB;4BACxB,OAAO,KAAK,CAAC,WAAW,CAAC,CAAC,aAAa,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;wBACpE,CAAC;qBACF,CAAC,CAAC;gBACL,CAAC;gBAED,qDAAqD;YACvD,CAAC;YACD,mBAAmB,CAAC,IAAI;gBACtB,MAAM,oBAAoB,GAAsB,KAAK,CAAC,EAAE;oBACtD,MAAM,gBAAgB,GAAG,IAAA,iBAAU,EACjC,OAAO,CAAC,UAAU,CAAC,YAAY,CAAC,IAAI,EAAE,KAAK,CAAC,EAAE,CAAC,KAAK,CAAC,KAAK,KAAK,GAAG,CAAC,EACnE,wBAAiB,CAAC,YAAY,CAC5B,kBAAkB,EAClB,oBAAoB,CACrB,CACF,CAAC;oBAEF,OAAO,KAAK,CAAC,WAAW,CAAC,gBAAgB,CAAC,KAAK,CAAC,CAAC;gBACnD,CAAC,CAAC;gBAEF,IACE,IAAI,CAAC,MAAM,CAAC,IAAI,KAAK,sBAAc,CAAC,oBAAoB;oBACxD,IAAI,CAAC,MAAM,CAAC,QAAQ,KAAK,GAAG,EAC5B,CAAC;oBACD,IAAI,IAAI,CAAC,MAAM,CAAC,IAAI,KAAK,IAAI,EAAE,CAAC;wBAC9B,OAAO,CAAC,MAAM,CAAC;4BACb,IAAI;4BACJ,SAAS,EAAE,yBAAyB;4BACpC,GAAG,EAAE,oBAAoB;yBAC1B,CAAC,CAAC;oBACL,CAAC;oBACD,wDAAwD;oBACxD,2EAA2E;oBAC3E,8EAA8E;oBAC9E,qBAAqB;oBACrB,OAAO;gBACT,CAAC;gBAED,MAAM,YAAY,GAAG,QAAQ,CAAC,qBAAqB,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC;gBAE9D,MAAM,IAAI,GAAG,IAAA,mCAA4B,EAAC,QAAQ,EAAE,IAAI,CAAC,UAAU,CAAC,CAAC;gBAErE,IAAI,CAAC,IAAA,qBAAc,EAAC,IAAI,CAAC,EAAE,CAAC;oBAC1B,IACE,IAAI,CAAC,UAAU,CAAC,IAAI,KAAK,sBAAc,CAAC,UAAU;wBAClD,4BAA4B,CAAC,IAAI,CAAC,UAAU,CAAC,EAC7C,CAAC;wBACD,OAAO;oBACT,CAAC;oBAED,OAAO,CAAC,MAAM,CAAC;wBACb,IAAI;wBACJ,SAAS,EAAE,sBAAsB;wBACjC,GAAG,EAAE,oBAAoB;qBAC1B,CAAC,CAAC;gBACL,CAAC;qBAAM,CAAC;oBACN,+BAA+B;oBAC/B,+EAA+E;oBAE/E,MAAM,cAAc,GAAG,IAAA,wBAAiB,EAAC,OAAO,EAAE,YAAY,CAAC,CAAC;oBAChE,IAAI,cAAc,EAAE,CAAC;wBACnB,kFAAkF;wBAClF,sCAAsC;wBACtC,MAAM,qBAAqB,GAAG,IAAA,oBAAa,EACzC,IAAI,EACJ,EAAE,CAAC,SAAS,CAAC,SAAS,CACvB,CAAC;wBACF,MAAM,gBAAgB,GAAG,IAAA,oBAAa,EAAC,IAAI,EAAE,EAAE,CAAC,SAAS,CAAC,IAAI,CAAC,CAAC;wBAChE,MAAM,gBAAgB,GAAG,IAAA,oBAAa,EAAC,IAAI,EAAE,EAAE,CAAC,SAAS,CAAC,IAAI,CAAC,CAAC;wBAEhE,MAAM,+BAA+B,GAAG,IAAA,oBAAa,EACnD,cAAc,EACd,EAAE,CAAC,SAAS,CAAC,SAAS,CACvB,CAAC;wBACF,MAAM,0BAA0B,GAAG,IAAA,oBAAa,EAC9C,cAAc,EACd,EAAE,CAAC,SAAS,CAAC,IAAI,CAClB,CAAC;wBACF,MAAM,0BAA0B,GAAG,IAAA,oBAAa,EAC9C,cAAc,EACd,EAAE,CAAC,SAAS,CAAC,IAAI,CAClB,CAAC;wBAEF,mDAAmD;wBACnD,gFAAgF;wBAChF,MAAM,gBAAgB,GAAG,qBAAqB;4BAC5C,CAAC,CAAC,+BAA+B;4BACjC,CAAC,CAAC,IAAI,CAAC;wBACT,MAAM,WAAW,GAAG,gBAAgB;4BAClC,CAAC,CAAC,0BAA0B;4BAC5B,CAAC,CAAC,IAAI,CAAC;wBACT,MAAM,WAAW,GAAG,gBAAgB;4BAClC,CAAC,CAAC,0BAA0B;4BAC5B,CAAC,CAAC,IAAI,CAAC;wBAET,IAAI,gBAAgB,IAAI,WAAW,IAAI,WAAW,EAAE,CAAC;4BACnD,OAAO,CAAC,MAAM,CAAC;gCACb,IAAI;gCACJ,SAAS,EAAE,yBAAyB;gCACpC,GAAG,EAAE,oBAAoB;6BAC1B,CAAC,CAAC;wBACL,CAAC;oBACH,CAAC;gBACH,CAAC;YACH,CAAC;SACF,CAAC;IACJ,CAAC;CACF,CAAC,CAAC"} \ No newline at end of file +{"version":3,"file":"no-unnecessary-type-assertion.js","sourceRoot":"","sources":["../../src/rules/no-unnecessary-type-assertion.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAIA,oDAA2E;AAC3E,sDAAwC;AACxC,+CAAiC;AAEjC,kCAWiB;AASjB,kBAAe,IAAA,iBAAU,EAAsB;IAC7C,IAAI,EAAE,+BAA+B;IACrC,IAAI,EAAE;QACJ,IAAI,EAAE,YAAY;QAClB,IAAI,EAAE;YACJ,WAAW,EACT,uEAAuE;YACzE,WAAW,EAAE,aAAa;YAC1B,oBAAoB,EAAE,IAAI;SAC3B;QACD,OAAO,EAAE,MAAM;QACf,QAAQ,EAAE;YACR,uBAAuB,EACrB,+FAA+F;YACjG,oBAAoB,EAClB,oFAAoF;SACvF;QACD,MAAM,EAAE;YACN;gBACE,IAAI,EAAE,QAAQ;gBACd,oBAAoB,EAAE,KAAK;gBAC3B,UAAU,EAAE;oBACV,aAAa,EAAE;wBACb,IAAI,EAAE,OAAO;wBACb,WAAW,EAAE,iCAAiC;wBAC9C,KAAK,EAAE;4BACL,IAAI,EAAE,QAAQ;yBACf;qBACF;iBACF;aACF;SACF;KACF;IACD,cAAc,EAAE,CAAC,EAAE,CAAC;IACpB,MAAM,CAAC,OAAO,EAAE,CAAC,OAAO,CAAC;QACvB,MAAM,QAAQ,GAAG,IAAA,wBAAiB,EAAC,OAAO,CAAC,CAAC;QAC5C,MAAM,OAAO,GAAG,QAAQ,CAAC,OAAO,CAAC,cAAc,EAAE,CAAC;QAClD,MAAM,eAAe,GAAG,QAAQ,CAAC,OAAO,CAAC,kBAAkB,EAAE,CAAC;QAE9D;;WAEG;QACH,SAAS,4BAA4B,CAAC,IAAyB;YAC7D,MAAM,WAAW,GAAG,IAAA,qBAAc,EAAC,QAAQ,EAAE,IAAI,CAAC,CAAC;YACnD,IAAI,CAAC,WAAW,EAAE,CAAC;gBACjB,+EAA+E;gBAC/E,OAAO,IAAI,CAAC;YACd,CAAC;YAED;YACE,iEAAiE;YACjE,OAAO,CAAC,6BAA6B,CACnC,eAAe,EACf,kBAAkB,CACnB;gBACD,2DAA2D;gBAC3D,sEAAsE;gBACtE,EAAE,CAAC,qBAAqB,CAAC,WAAW,CAAC,EACrC,CAAC;gBACD,0DAA0D;gBAC1D,iEAAiE;gBACjE,iCAAiC;gBAEjC,KAAK;gBACL,6BAA6B;gBAC7B,0BAA0B;gBAC1B,WAAW;gBACX,oBAAoB;gBACpB,IAAI;gBACJ,IACE,EAAE,CAAC,yBAAyB,CAAC,WAAW,CAAC,MAAM,CAAC;oBAChD,MAAM;oBACN,WAAW,CAAC,MAAM,CAAC,KAAK,KAAK,EAAE,CAAC,SAAS,CAAC,IAAI;oBAC9C,sDAAsD;oBACtD,sDAAsD;oBACtD,QAAQ,CAAC,qBAAqB,CAAC,GAAG,CAAC,WAAW,CAAC,EAC/C,CAAC;oBACD,MAAM,cAAc,GAClB,QAAQ,CAAC,qBAAqB,CAAC,GAAG,CAAC,WAAW,CAAC,CAAC;oBAClD,MAAM,KAAK,GAAG,OAAO,CAAC,UAAU,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC;oBAChD,MAAM,eAAe,GAAG,OAAO,CAAC,UAAU,CAAC,QAAQ,CAAC,cAAc,CAAC,CAAC;oBACpE,IAAI,WAAW,GAAiB,eAAe,CAAC;oBAChD,OAAO,CAAC,WAAW,GAAG,WAAW,CAAC,KAAK,CAAC,EAAE,CAAC;wBACzC,IAAI,WAAW,KAAK,KAAK,EAAE,CAAC;4BAC1B,OAAO,IAAI,CAAC;wBACd,CAAC;oBACH,CAAC;gBACH,CAAC;gBAED;gBACE,2BAA2B;gBAC3B,WAAW,CAAC,WAAW,KAAK,SAAS;oBACrC,WAAW,CAAC,gBAAgB,KAAK,SAAS;oBAC1C,WAAW,CAAC,IAAI,KAAK,SAAS,EAC9B,CAAC;oBACD,kEAAkE;oBAClE,MAAM,eAAe,GAAG,OAAO,CAAC,mBAAmB,CAAC,WAAW,CAAC,IAAI,CAAC,CAAC;oBACtE,MAAM,IAAI,GAAG,IAAA,mCAA4B,EAAC,QAAQ,EAAE,IAAI,CAAC,CAAC;oBAC1D,IACE,eAAe,KAAK,IAAI;wBACxB,oDAAoD;wBACpD,CAAC,CACC,EAAE,CAAC,yBAAyB,CAAC,WAAW,CAAC,MAAM,CAAC;4BAChD,EAAE,CAAC,mBAAmB,CAAC,WAAW,CAAC,MAAM,CAAC,MAAM,CAAC;4BACjD,OAAO,CAAC,gBAAgB,CACtB,IAAA,mBAAY,EAAC,WAAW,CAAC,MAAM,CAAC,MAAM,CAAC,EACvC,EAAE,CAAC,UAAU,CAAC,cAAc,CAC7B,CACF,EACD,CAAC;wBACD,iDAAiD;wBACjD,6FAA6F;wBAC7F,EAAE;wBACF,6CAA6C;wBAC7C,uDAAuD;wBACvD,OAAO,IAAI,CAAC;oBACd,CAAC;gBACH,CAAC;YACH,CAAC;YACD,OAAO,KAAK,CAAC;QACf,CAAC;QAED,SAAS,gBAAgB,CAAC,IAAuB;YAC/C,OAAO,CACL,IAAI,CAAC,IAAI,KAAK,sBAAc,CAAC,eAAe;gBAC5C,IAAI,CAAC,QAAQ,CAAC,IAAI,KAAK,sBAAc,CAAC,UAAU;gBAChD,IAAI,CAAC,QAAQ,CAAC,IAAI,KAAK,OAAO,CAC/B,CAAC;QACJ,CAAC;QAED,SAAS,oCAAoC,CAAC,EAC5C,UAAU,EACV,MAAM,GAC6C;YACnD,oEAAoE;YACpE,MAAM,oBAAoB,GAAG,MAAM,CAAC,MAAO,CAAC;YAC5C,MAAM,gCAAgC,GACpC,UAAU,CAAC,IAAI,KAAK,sBAAc,CAAC,eAAe;gBAClD,UAAU,CAAC,WAAW,CAAC,MAAM,KAAK,CAAC,CAAC;YACtC,OAAO,CACL,oBAAoB,CAAC,IAAI,KAAK,sBAAc,CAAC,mBAAmB;gBAChE,oBAAoB,CAAC,IAAI,KAAK,OAAO;gBACrC;;;mBAGG;gBACH,CAAC,gCAAgC,CAClC,CAAC;QACJ,CAAC;QAED,SAAS,eAAe,CAAC,MAAe,EAAE,IAAa;YACrD,IAAI,MAAM,KAAK,IAAI,EAAE,CAAC;gBACpB,OAAO,IAAI,CAAC;YACd,CAAC;YAED,IACE,IAAA,oBAAa,EAAC,MAAM,EAAE,EAAE,CAAC,SAAS,CAAC,SAAS,CAAC;gBAC7C,IAAA,oBAAa,EAAC,IAAI,EAAE,EAAE,CAAC,SAAS,CAAC,SAAS,CAAC;gBAC3C,OAAO,CAAC,uBAAuB,CAC7B,eAAe,EACf,4BAA4B,CAC7B,EACD,CAAC;gBACD,MAAM,WAAW,GAAG,OAAO;qBACxB,cAAc,CAAC,MAAM,CAAC;qBACtB,MAAM,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC,IAAA,oBAAa,EAAC,IAAI,EAAE,EAAE,CAAC,SAAS,CAAC,SAAS,CAAC,CAAC,CAAC;gBAEhE,MAAM,SAAS,GAAG,OAAO;qBACtB,cAAc,CAAC,IAAI,CAAC;qBACpB,MAAM,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC,IAAA,oBAAa,EAAC,IAAI,EAAE,EAAE,CAAC,SAAS,CAAC,SAAS,CAAC,CAAC,CAAC;gBAEhE,IAAI,WAAW,CAAC,MAAM,KAAK,SAAS,CAAC,MAAM,EAAE,CAAC;oBAC5C,OAAO,KAAK,CAAC;gBACf,CAAC;gBAED,MAAM,cAAc,GAAG,IAAI,GAAG,CAAC,WAAW,CAAC,CAAC;gBAC5C,OAAO,SAAS,CAAC,KAAK,CAAC,IAAI,CAAC,EAAE,CAAC,cAAc,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC,CAAC;YAC3D,CAAC;YAED,OAAO,KAAK,CAAC;QACf,CAAC;QAED,OAAO;YACL,iCAAiC,CAC/B,IAAwD;gBAExD,IACE,OAAO,CAAC,aAAa,EAAE,QAAQ,CAC7B,OAAO,CAAC,UAAU,CAAC,OAAO,CAAC,IAAI,CAAC,cAAc,CAAC,CAChD,EACD,CAAC;oBACD,OAAO;gBACT,CAAC;gBAED,MAAM,QAAQ,GAAG,QAAQ,CAAC,iBAAiB,CAAC,IAAI,CAAC,CAAC;gBAClD,MAAM,UAAU,GAAG,QAAQ,CAAC,iBAAiB,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC;gBAC/D,MAAM,eAAe,GAAG,eAAe,CAAC,UAAU,EAAE,QAAQ,CAAC,CAAC;gBAE9D,MAAM,uBAAuB,GAAG,QAAQ,CAAC,SAAS,EAAE;oBAClD,CAAC,CAAC,oCAAoC,CAAC,IAAI,CAAC;oBAC5C,CAAC,CAAC,CAAC,gBAAgB,CAAC,IAAI,CAAC,cAAc,CAAC,CAAC;gBAE3C,IAAI,eAAe,IAAI,uBAAuB,EAAE,CAAC;oBAC/C,OAAO,CAAC,MAAM,CAAC;wBACb,IAAI;wBACJ,SAAS,EAAE,sBAAsB;wBACjC,GAAG,CAAC,KAAK;4BACP,IAAI,IAAI,CAAC,IAAI,KAAK,sBAAc,CAAC,eAAe,EAAE,CAAC;gCACjD,MAAM,mBAAmB,GAAG,IAAA,iBAAU,EACpC,OAAO,CAAC,UAAU,CAAC,cAAc,CAC/B,IAAI,CAAC,cAAc,EACnB,KAAK,CAAC,EAAE,CACN,KAAK,CAAC,IAAI,KAAK,uBAAe,CAAC,UAAU;oCACzC,KAAK,CAAC,KAAK,KAAK,GAAG,CACtB,EACD,wBAAiB,CAAC,YAAY,CAAC,GAAG,EAAE,iBAAiB,CAAC,CACvD,CAAC;gCACF,MAAM,mBAAmB,GAAG,IAAA,iBAAU,EACpC,OAAO,CAAC,UAAU,CAAC,aAAa,CAC9B,IAAI,CAAC,cAAc,EACnB,KAAK,CAAC,EAAE,CACN,KAAK,CAAC,IAAI,KAAK,uBAAe,CAAC,UAAU;oCACzC,KAAK,CAAC,KAAK,KAAK,GAAG,CACtB,EACD,wBAAiB,CAAC,YAAY,CAAC,GAAG,EAAE,iBAAiB,CAAC,CACvD,CAAC;gCAEF,2BAA2B;gCAC3B,iBAAiB;gCACjB,OAAO,KAAK,CAAC,WAAW,CAAC;oCACvB,mBAAmB,CAAC,KAAK,CAAC,CAAC,CAAC;oCAC5B,mBAAmB,CAAC,KAAK,CAAC,CAAC,CAAC;iCAC7B,CAAC,CAAC;4BACL,CAAC;4BACD,2CAA2C;4BAC3C,MAAM,OAAO,GAAG,IAAA,iBAAU,EACxB,OAAO,CAAC,UAAU,CAAC,aAAa,CAC9B,IAAI,CAAC,UAAU,EACf,KAAK,CAAC,EAAE,CACN,KAAK,CAAC,IAAI,KAAK,uBAAe,CAAC,UAAU;gCACzC,KAAK,CAAC,KAAK,KAAK,IAAI,CACvB,EACD,wBAAiB,CAAC,YAAY,CAAC,GAAG,EAAE,iBAAiB,CAAC,CACvD,CAAC;4BACF,MAAM,aAAa,GAAG,IAAA,iBAAU,EAC9B,OAAO,CAAC,UAAU,CAAC,cAAc,CAAC,OAAO,EAAE;gCACzC,eAAe,EAAE,IAAI;6BACtB,CAAC,EACF,wBAAiB,CAAC,YAAY,CAAC,SAAS,EAAE,IAAI,CAAC,CAChD,CAAC;4BAEF,wBAAwB;4BACxB,wBAAwB;4BACxB,OAAO,KAAK,CAAC,WAAW,CAAC,CAAC,aAAa,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;wBACpE,CAAC;qBACF,CAAC,CAAC;gBACL,CAAC;gBAED,qDAAqD;YACvD,CAAC;YACD,mBAAmB,CAAC,IAAI;gBACtB,MAAM,oBAAoB,GAAsB,KAAK,CAAC,EAAE;oBACtD,MAAM,gBAAgB,GAAG,IAAA,iBAAU,EACjC,OAAO,CAAC,UAAU,CAAC,YAAY,CAAC,IAAI,EAAE,KAAK,CAAC,EAAE,CAAC,KAAK,CAAC,KAAK,KAAK,GAAG,CAAC,EACnE,wBAAiB,CAAC,YAAY,CAC5B,kBAAkB,EAClB,oBAAoB,CACrB,CACF,CAAC;oBAEF,OAAO,KAAK,CAAC,WAAW,CAAC,gBAAgB,CAAC,KAAK,CAAC,CAAC;gBACnD,CAAC,CAAC;gBAEF,IACE,IAAI,CAAC,MAAM,CAAC,IAAI,KAAK,sBAAc,CAAC,oBAAoB;oBACxD,IAAI,CAAC,MAAM,CAAC,QAAQ,KAAK,GAAG,EAC5B,CAAC;oBACD,IAAI,IAAI,CAAC,MAAM,CAAC,IAAI,KAAK,IAAI,EAAE,CAAC;wBAC9B,OAAO,CAAC,MAAM,CAAC;4BACb,IAAI;4BACJ,SAAS,EAAE,yBAAyB;4BACpC,GAAG,EAAE,oBAAoB;yBAC1B,CAAC,CAAC;oBACL,CAAC;oBACD,wDAAwD;oBACxD,2EAA2E;oBAC3E,8EAA8E;oBAC9E,qBAAqB;oBACrB,OAAO;gBACT,CAAC;gBAED,MAAM,YAAY,GAAG,QAAQ,CAAC,qBAAqB,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC;gBAE9D,MAAM,IAAI,GAAG,IAAA,mCAA4B,EAAC,QAAQ,EAAE,IAAI,CAAC,UAAU,CAAC,CAAC;gBAErE,IAAI,CAAC,IAAA,qBAAc,EAAC,IAAI,CAAC,EAAE,CAAC;oBAC1B,IACE,IAAI,CAAC,UAAU,CAAC,IAAI,KAAK,sBAAc,CAAC,UAAU;wBAClD,4BAA4B,CAAC,IAAI,CAAC,UAAU,CAAC,EAC7C,CAAC;wBACD,OAAO;oBACT,CAAC;oBAED,OAAO,CAAC,MAAM,CAAC;wBACb,IAAI;wBACJ,SAAS,EAAE,sBAAsB;wBACjC,GAAG,EAAE,oBAAoB;qBAC1B,CAAC,CAAC;gBACL,CAAC;qBAAM,CAAC;oBACN,+BAA+B;oBAC/B,+EAA+E;oBAE/E,MAAM,cAAc,GAAG,IAAA,wBAAiB,EAAC,OAAO,EAAE,YAAY,CAAC,CAAC;oBAChE,IAAI,cAAc,EAAE,CAAC;wBACnB,kFAAkF;wBAClF,sCAAsC;wBACtC,MAAM,qBAAqB,GAAG,IAAA,oBAAa,EACzC,IAAI,EACJ,EAAE,CAAC,SAAS,CAAC,SAAS,CACvB,CAAC;wBACF,MAAM,gBAAgB,GAAG,IAAA,oBAAa,EAAC,IAAI,EAAE,EAAE,CAAC,SAAS,CAAC,IAAI,CAAC,CAAC;wBAChE,MAAM,gBAAgB,GAAG,IAAA,oBAAa,EAAC,IAAI,EAAE,EAAE,CAAC,SAAS,CAAC,IAAI,CAAC,CAAC;wBAEhE,MAAM,+BAA+B,GAAG,IAAA,oBAAa,EACnD,cAAc,EACd,EAAE,CAAC,SAAS,CAAC,SAAS,CACvB,CAAC;wBACF,MAAM,0BAA0B,GAAG,IAAA,oBAAa,EAC9C,cAAc,EACd,EAAE,CAAC,SAAS,CAAC,IAAI,CAClB,CAAC;wBACF,MAAM,0BAA0B,GAAG,IAAA,oBAAa,EAC9C,cAAc,EACd,EAAE,CAAC,SAAS,CAAC,IAAI,CAClB,CAAC;wBAEF,mDAAmD;wBACnD,gFAAgF;wBAChF,MAAM,gBAAgB,GAAG,qBAAqB;4BAC5C,CAAC,CAAC,+BAA+B;4BACjC,CAAC,CAAC,IAAI,CAAC;wBACT,MAAM,WAAW,GAAG,gBAAgB;4BAClC,CAAC,CAAC,0BAA0B;4BAC5B,CAAC,CAAC,IAAI,CAAC;wBACT,MAAM,WAAW,GAAG,gBAAgB;4BAClC,CAAC,CAAC,0BAA0B;4BAC5B,CAAC,CAAC,IAAI,CAAC;wBAET,IAAI,gBAAgB,IAAI,WAAW,IAAI,WAAW,EAAE,CAAC;4BACnD,OAAO,CAAC,MAAM,CAAC;gCACb,IAAI;gCACJ,SAAS,EAAE,yBAAyB;gCACpC,GAAG,EAAE,oBAAoB;6BAC1B,CAAC,CAAC;wBACL,CAAC;oBACH,CAAC;gBACH,CAAC;YACH,CAAC;SACF,CAAC;IACJ,CAAC;CACF,CAAC,CAAC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-type-constraint.js b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-type-constraint.js index 11e534e312..7449f10e22 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-type-constraint.js +++ b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-type-constraint.js @@ -15,13 +15,23 @@ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? ( }) : function(o, v) { o["default"] = v; }); -var __importStar = (this && this.__importStar) || function (mod) { - if (mod && mod.__esModule) return mod; - var result = {}; - if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k); - __setModuleDefault(result, mod); - return result; -}; +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); Object.defineProperty(exports, "__esModule", { value: true }); const utils_1 = require("@typescript-eslint/utils"); const node_path_1 = require("node:path"); diff --git a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-type-constraint.js.map b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-type-constraint.js.map index 520247acf3..55cee2a6f6 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-type-constraint.js.map +++ b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-type-constraint.js.map @@ -1 +1 @@ -{"version":3,"file":"no-unnecessary-type-constraint.js","sourceRoot":"","sources":["../../src/rules/no-unnecessary-type-constraint.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AAEA,oDAA0D;AAC1D,yCAAoC;AACpC,+CAAiC;AAIjC,kCAAqC;AAOrC,kBAAe,IAAA,iBAAU,EAAC;IACxB,IAAI,EAAE,gCAAgC;IACtC,IAAI,EAAE;QACJ,IAAI,EAAE,YAAY;QAClB,IAAI,EAAE;YACJ,WAAW,EAAE,mDAAmD;YAChE,WAAW,EAAE,aAAa;SAC3B;QACD,cAAc,EAAE,IAAI;QACpB,QAAQ,EAAE;YACR,2BAA2B,EACzB,qDAAqD;YACvD,qBAAqB,EACnB,+FAA+F;SAClG;QACD,MAAM,EAAE,EAAE;KACX;IACD,cAAc,EAAE,EAAE;IAClB,MAAM,CAAC,OAAO;QACZ,iFAAiF;QACjF,sFAAsF;QACtF,yFAAyF;QACzF,MAAM,sBAAsB,GAAG,IAAI,GAAG,CAAC;YACrC,CAAC,sBAAc,CAAC,YAAY,EAAE,KAAK,CAAC;YACpC,CAAC,sBAAc,CAAC,gBAAgB,EAAE,SAAS,CAAC;SAC7C,CAAC,CAAC;QAEH,SAAS,6CAA6C,CACpD,QAAgB;YAEhB,MAAM,OAAO,GAAG,IAAA,mBAAO,EAAC,QAAQ,CAAC,CAAC,iBAAiB,EAAkB,CAAC;YACtE,QAAQ,OAAO,EAAE,CAAC;gBAChB,KAAK,EAAE,CAAC,SAAS,CAAC,GAAG,CAAC;gBACtB,KAAK,EAAE,CAAC,SAAS,CAAC,GAAG,CAAC;gBACtB,KAAK,EAAE,CAAC,SAAS,CAAC,GAAG;oBACnB,OAAO,IAAI,CAAC;gBAEd;oBACE,OAAO,KAAK,CAAC;YACjB,CAAC;QACH,CAAC;QAED,MAAM,wCAAwC,GAC5C,6CAA6C,CAAC,OAAO,CAAC,QAAQ,CAAC,CAAC;QAElE,MAAM,SAAS,GAAG,CAChB,IAAiC,EACjC,eAAwB,EAClB,EAAE;YACR,MAAM,UAAU,GAAG,sBAAsB,CAAC,GAAG,CAAC,IAAI,CAAC,UAAU,CAAC,IAAI,CAAC,CAAC;YACpE,SAAS,sBAAsB;gBAC7B,IAAI,CAAC,eAAe,IAAI,CAAC,wCAAwC,EAAE,CAAC;oBAClE,OAAO,KAAK,CAAC;gBACf,CAAC;gBACD,6CAA6C;gBAC7C,OAAO,CACJ,IAAI,CAAC,MAA8C,CAAC,MAAM,CAAC,MAAM;oBAChE,CAAC;oBACH,OAAO,CAAC,UAAU,CAAC,cAAc,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,CAAC,KAAK,KAAK,GAAG;oBACxD,CAAC,IAAI,CAAC,OAAO,CACd,CAAC;YACJ,CAAC;YAED,IAAI,UAAU,EAAE,CAAC;gBACf,OAAO,CAAC,MAAM,CAAC;oBACb,IAAI;oBACJ,SAAS,EAAE,uBAAuB;oBAClC,IAAI,EAAE;wBACJ,IAAI,EAAE,IAAI,CAAC,IAAI,CAAC,IAAI;wBACpB,UAAU;qBACX;oBACD,OAAO,EAAE;wBACP;4BACE,SAAS,EAAE,6BAA6B;4BACxC,IAAI,EAAE;gCACJ,UAAU;6BACX;4BACD,GAAG,CAAC,KAAK;gCACP,OAAO,KAAK,CAAC,gBAAgB,CAC3B,CAAC,IAAI,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,IAAI,CAAC,UAAU,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EAC9C,sBAAsB,EAAE,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,CACpC,CAAC;4BACJ,CAAC;yBACF;qBACF;iBACF,CAAC,CAAC;YACL,CAAC;QACH,CAAC,CAAC;QAEF,OAAO;YACL,0FAA0F,CACxF,IAAiC;gBAEjC,SAAS,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;YACzB,CAAC;YACD,oFAAoF,CAClF,IAAiC;gBAEjC,SAAS,CAAC,IAAI,EAAE,IAAI,CAAC,CAAC;YACxB,CAAC;SACF,CAAC;IACJ,CAAC;CACF,CAAC,CAAC"} \ No newline at end of file +{"version":3,"file":"no-unnecessary-type-constraint.js","sourceRoot":"","sources":["../../src/rules/no-unnecessary-type-constraint.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEA,oDAA0D;AAC1D,yCAAoC;AACpC,+CAAiC;AAIjC,kCAAqC;AAOrC,kBAAe,IAAA,iBAAU,EAAC;IACxB,IAAI,EAAE,gCAAgC;IACtC,IAAI,EAAE;QACJ,IAAI,EAAE,YAAY;QAClB,IAAI,EAAE;YACJ,WAAW,EAAE,mDAAmD;YAChE,WAAW,EAAE,aAAa;SAC3B;QACD,cAAc,EAAE,IAAI;QACpB,QAAQ,EAAE;YACR,2BAA2B,EACzB,qDAAqD;YACvD,qBAAqB,EACnB,+FAA+F;SAClG;QACD,MAAM,EAAE,EAAE;KACX;IACD,cAAc,EAAE,EAAE;IAClB,MAAM,CAAC,OAAO;QACZ,iFAAiF;QACjF,sFAAsF;QACtF,yFAAyF;QACzF,MAAM,sBAAsB,GAAG,IAAI,GAAG,CAAC;YACrC,CAAC,sBAAc,CAAC,YAAY,EAAE,KAAK,CAAC;YACpC,CAAC,sBAAc,CAAC,gBAAgB,EAAE,SAAS,CAAC;SAC7C,CAAC,CAAC;QAEH,SAAS,6CAA6C,CACpD,QAAgB;YAEhB,MAAM,OAAO,GAAG,IAAA,mBAAO,EAAC,QAAQ,CAAC,CAAC,iBAAiB,EAAkB,CAAC;YACtE,QAAQ,OAAO,EAAE,CAAC;gBAChB,KAAK,EAAE,CAAC,SAAS,CAAC,GAAG,CAAC;gBACtB,KAAK,EAAE,CAAC,SAAS,CAAC,GAAG,CAAC;gBACtB,KAAK,EAAE,CAAC,SAAS,CAAC,GAAG;oBACnB,OAAO,IAAI,CAAC;gBAEd;oBACE,OAAO,KAAK,CAAC;YACjB,CAAC;QACH,CAAC;QAED,MAAM,wCAAwC,GAC5C,6CAA6C,CAAC,OAAO,CAAC,QAAQ,CAAC,CAAC;QAElE,MAAM,SAAS,GAAG,CAChB,IAAiC,EACjC,eAAwB,EAClB,EAAE;YACR,MAAM,UAAU,GAAG,sBAAsB,CAAC,GAAG,CAAC,IAAI,CAAC,UAAU,CAAC,IAAI,CAAC,CAAC;YACpE,SAAS,sBAAsB;gBAC7B,IAAI,CAAC,eAAe,IAAI,CAAC,wCAAwC,EAAE,CAAC;oBAClE,OAAO,KAAK,CAAC;gBACf,CAAC;gBACD,6CAA6C;gBAC7C,OAAO,CACJ,IAAI,CAAC,MAA8C,CAAC,MAAM,CAAC,MAAM;oBAChE,CAAC;oBACH,OAAO,CAAC,UAAU,CAAC,cAAc,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,CAAC,KAAK,KAAK,GAAG;oBACxD,CAAC,IAAI,CAAC,OAAO,CACd,CAAC;YACJ,CAAC;YAED,IAAI,UAAU,EAAE,CAAC;gBACf,OAAO,CAAC,MAAM,CAAC;oBACb,IAAI;oBACJ,SAAS,EAAE,uBAAuB;oBAClC,IAAI,EAAE;wBACJ,IAAI,EAAE,IAAI,CAAC,IAAI,CAAC,IAAI;wBACpB,UAAU;qBACX;oBACD,OAAO,EAAE;wBACP;4BACE,SAAS,EAAE,6BAA6B;4BACxC,IAAI,EAAE;gCACJ,UAAU;6BACX;4BACD,GAAG,CAAC,KAAK;gCACP,OAAO,KAAK,CAAC,gBAAgB,CAC3B,CAAC,IAAI,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,IAAI,CAAC,UAAU,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EAC9C,sBAAsB,EAAE,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,CACpC,CAAC;4BACJ,CAAC;yBACF;qBACF;iBACF,CAAC,CAAC;YACL,CAAC;QACH,CAAC,CAAC;QAEF,OAAO;YACL,0FAA0F,CACxF,IAAiC;gBAEjC,SAAS,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;YACzB,CAAC;YACD,oFAAoF,CAClF,IAAiC;gBAEjC,SAAS,CAAC,IAAI,EAAE,IAAI,CAAC,CAAC;YACxB,CAAC;SACF,CAAC;IACJ,CAAC;CACF,CAAC,CAAC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-type-parameters.js b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-type-parameters.js index 1d74d9e6cb..da5558e21a 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-type-parameters.js +++ b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-type-parameters.js @@ -15,13 +15,23 @@ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? ( }) : function(o, v) { o["default"] = v; }); -var __importStar = (this && this.__importStar) || function (mod) { - if (mod && mod.__esModule) return mod; - var result = {}; - if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k); - __setModuleDefault(result, mod); - return result; -}; +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); Object.defineProperty(exports, "__esModule", { value: true }); const utils_1 = require("@typescript-eslint/utils"); const tsutils = __importStar(require("ts-api-utils")); diff --git a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-type-parameters.js.map b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-type-parameters.js.map index a20655dc24..7a6c0dceac 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-type-parameters.js.map +++ b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-type-parameters.js.map @@ -1 +1 @@ -{"version":3,"file":"no-unnecessary-type-parameters.js","sourceRoot":"","sources":["../../src/rules/no-unnecessary-type-parameters.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AAGA,oDAA0D;AAC1D,sDAAwC;AACxC,+CAAiC;AAIjC,kCAKiB;AAOjB,kBAAe,IAAA,iBAAU,EAAC;IACxB,IAAI,EAAE,gCAAgC;IACtC,IAAI,EAAE;QACJ,IAAI,EAAE,SAAS;QACf,IAAI,EAAE;YACJ,WAAW,EAAE,0DAA0D;YACvE,WAAW,EAAE,QAAQ;YACrB,oBAAoB,EAAE,IAAI;SAC3B;QACD,cAAc,EAAE,IAAI;QACpB,QAAQ,EAAE;YACR,2BAA2B,EACzB,2DAA2D;YAC7D,IAAI,EAAE,sEAAsE;SAC7E;QACD,MAAM,EAAE,EAAE;KACX;IACD,cAAc,EAAE,EAAE;IAClB,MAAM,CAAC,OAAO;QACZ,MAAM,cAAc,GAAG,IAAA,wBAAiB,EAAC,OAAO,CAAC,CAAC;QAElD,SAAS,SAAS,CAAC,IAA2B,EAAE,UAAkB;YAChE,MAAM,MAAM,GAAG,cAAc,CAAC,qBAAqB,CAAC,GAAG,CACrD,IAAI,CACqB,CAAC;YAE5B,MAAM,OAAO,GAAG,cAAc,CAAC,OAAO,CAAC,cAAc,EAAE,CAAC;YACxD,IAAI,MAA8C,CAAC;YAEnD,2DAA2D;YAC3D,MAAM,KAAK,GAAG,OAAO,CAAC,UAAU,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC;YAEhD,KAAK,MAAM,aAAa,IAAI,MAAM,CAAC,cAAc,EAAE,CAAC;gBAClD,MAAM,eAAe,GACnB,cAAc,CAAC,qBAAqB,CAAC,GAAG,CACtC,aAAa,CACd,CAAC;gBAEJ,MAAM,uBAAuB,GAAG,IAAA,iBAAU,EACxC,CAAC,GAAG,EAAE;oBACJ,MAAM,QAAQ,GAAG,KAAK,CAAC,GAAG,CAAC,GAAG,CAAC,eAAe,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;oBAC1D,OAAO,QAAQ,EAAE,cAAc,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,CAAC;gBACzD,CAAC,CAAC,EAAE,EACJ,wDAAwD,CACzD,CAAC;gBAEF,uEAAuE;gBACvE,yDAAyD;gBACzD,IACE,4BAA4B,CAC1B,eAAe,EACf,uBAAuB,CAAC,UAAU,EAClC,IAAI,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC,CAAC,IAAI,IAAI,CAAC,UAAU,EAAE,KAAK,CAAC,CAAC,CAAC,CACjD,EACD,CAAC;oBACD,SAAS;gBACX,CAAC;gBAED,6DAA6D;gBAC7D,MAAM,KAAK,uBAAuB,CAAC,OAAO,EAAE,MAAM,CAAC,CAAC;gBACpD,MAAM,gBAAgB,GAAG,MAAM,CAAC,GAAG,CAAC,aAAa,CAAC,IAAI,CAAC,CAAC;gBACxD,IAAI,CAAC,gBAAgB,IAAI,gBAAgB,GAAG,CAAC,EAAE,CAAC;oBAC9C,SAAS;gBACX,CAAC;gBAED,OAAO,CAAC,MAAM,CAAC;oBACb,IAAI,EAAE,eAAe;oBACrB,SAAS,EAAE,MAAM;oBACjB,IAAI,EAAE;wBACJ,IAAI,EAAE,aAAa,CAAC,IAAI,CAAC,IAAI;wBAC7B,UAAU;wBACV,IAAI,EAAE,gBAAgB,KAAK,CAAC,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,CAAC,gBAAgB;qBAC/D;oBACD,OAAO,EAAE;wBACP;4BACE,SAAS,EAAE,6BAA6B;4BACxC,CAAC,GAAG,CAAC,KAAK;gCACR,sEAAsE;gCAEtE,MAAM,UAAU,GAAG,eAAe,CAAC,UAAU,CAAC;gCAC9C,oEAAoE;gCACpE,MAAM,cAAc,GAClB,UAAU,IAAI,IAAI;oCAClB,UAAU,CAAC,IAAI,KAAK,sBAAc,CAAC,YAAY;oCAC7C,CAAC,CAAC,OAAO,CAAC,UAAU,CAAC,OAAO,CAAC,UAAU,CAAC;oCACxC,CAAC,CAAC,SAAS,CAAC;gCAChB,KAAK,MAAM,SAAS,IAAI,uBAAuB,CAAC,UAAU,EAAE,CAAC;oCAC3D,IAAI,SAAS,CAAC,eAAe,EAAE,CAAC;wCAC9B,MAAM,aAAa,GAAG,SAAS,CAAC,UAAU,CAAC;wCAC3C,MAAM,KAAK,CAAC,WAAW,CAAC,aAAa,EAAE,cAAc,CAAC,CAAC;oCACzD,CAAC;gCACH,CAAC;gCAED,gEAAgE;gCAEhE,MAAM,cAAc,GAAG,IAAA,iBAAU,EAC/B,IAAI,CAAC,cAAc,EACnB,kCAAkC,CACnC,CAAC;gCAEF,iEAAiE;gCACjE,sDAAsD;gCACtD,IAAI,cAAc,CAAC,MAAM,CAAC,MAAM,KAAK,CAAC,EAAE,CAAC;oCACvC,6FAA6F;oCAC7F,MAAM,KAAK,CAAC,MAAM,CAAC,cAAc,CAAC,CAAC;gCACrC,CAAC;qCAAM,CAAC;oCACN,MAAM,KAAK,GAAG,cAAc,CAAC,MAAM,CAAC,OAAO,CAAC,eAAe,CAAC,CAAC;oCAE7D,IAAI,KAAK,KAAK,CAAC,EAAE,CAAC;wCAChB,MAAM,UAAU,GAAG,IAAA,iBAAU,EAC3B,OAAO,CAAC,UAAU,CAAC,aAAa,CAC9B,eAAe,EACf,KAAK,CAAC,EAAE,CAAC,KAAK,CAAC,KAAK,KAAK,GAAG,CAC7B,EACD,wBAAiB,CAAC,YAAY,CAC5B,OAAO,EACP,qBAAqB,CACtB,CACF,CAAC;wCAEF,MAAM,eAAe,GAAG,IAAA,iBAAU,EAChC,OAAO,CAAC,UAAU,CAAC,aAAa,CAAC,UAAU,EAAE;4CAC3C,eAAe,EAAE,IAAI;yCACtB,CAAC,EACF,wBAAiB,CAAC,YAAY,CAC5B,OAAO,EACP,qBAAqB,CACtB,CACF,CAAC;wCAEF,MAAM,KAAK,CAAC,WAAW,CAAC;4CACtB,eAAe,CAAC,KAAK,CAAC,CAAC,CAAC;4CACxB,eAAe,CAAC,KAAK,CAAC,CAAC,CAAC;yCACzB,CAAC,CAAC;oCACL,CAAC;yCAAM,CAAC;wCACN,MAAM,WAAW,GAAG,IAAA,iBAAU,EAC5B,OAAO,CAAC,UAAU,CAAC,cAAc,CAC/B,eAAe,EACf,KAAK,CAAC,EAAE,CAAC,KAAK,CAAC,KAAK,KAAK,GAAG,CAC7B,EACD,wBAAiB,CAAC,YAAY,CAC5B,OAAO,EACP,qBAAqB,CACtB,CACF,CAAC;wCAEF,MAAM,KAAK,CAAC,WAAW,CAAC;4CACtB,WAAW,CAAC,KAAK,CAAC,CAAC,CAAC;4CACpB,eAAe,CAAC,KAAK,CAAC,CAAC,CAAC;yCACzB,CAAC,CAAC;oCACL,CAAC;gCACH,CAAC;4BACH,CAAC;yBACF;qBACF;iBACF,CAAC,CAAC;YACL,CAAC;QACH,CAAC;QAED,OAAO;YACL,CAAC;gBACC,yCAAyC;gBACzC,qCAAqC;gBACrC,oCAAoC;gBACpC,4CAA4C;gBAC5C,mCAAmC;gBACnC,mCAAmC;gBACnC,+CAA+C;gBAC/C,gCAAgC;gBAChC,mCAAmC;aACpC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,IAA2B;gBACvC,SAAS,CAAC,IAAI,EAAE,UAAU,CAAC,CAAC;YAC9B,CAAC;YACD,CAAC;gBACC,kCAAkC;gBAClC,iCAAiC;aAClC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,IAA2B;gBACvC,SAAS,CAAC,IAAI,EAAE,OAAO,CAAC,CAAC;YAC3B,CAAC;SACF,CAAC;IACJ,CAAC;CACF,CAAC,CAAC;AAEH,SAAS,4BAA4B,CACnC,IAA8B,EAC9B,UAAuB,EACvB,WAAW,GAAG,QAAQ;IAEtB,IAAI,KAAK,GAAG,CAAC,CAAC;IAEd,KAAK,MAAM,SAAS,IAAI,UAAU,EAAE,CAAC;QACnC,mEAAmE;QACnE,IACE,SAAS,CAAC,UAAU,CAAC,KAAK,CAAC,CAAC,CAAC,GAAG,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC;YAC7C,SAAS,CAAC,UAAU,CAAC,KAAK,CAAC,CAAC,CAAC,GAAG,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,EAC7C,CAAC;YACD,SAAS;QACX,CAAC;QAED,8DAA8D;QAC9D,IAAI,SAAS,CAAC,UAAU,CAAC,KAAK,CAAC,CAAC,CAAC,GAAG,WAAW,EAAE,CAAC;YAChD,SAAS;QACX,CAAC;QAED,gEAAgE;QAChE,yEAAyE;QACzE,yDAAyD;QACzD,IACE,CAAC,SAAS,CAAC,eAAe;YAC1B,SAAS,CAAC,UAAU,CAAC,IAAI,KAAK,IAAI,CAAC,IAAI,CAAC,IAAI,EAC5C,CAAC;YACD,SAAS;QACX,CAAC;QAED,kEAAkE;QAClE,iEAAiE;QACjE,IAAI,SAAS,CAAC,UAAU,CAAC,MAAM,CAAC,IAAI,KAAK,sBAAc,CAAC,eAAe,EAAE,CAAC;YACxE,MAAM,WAAW,GAAG,sBAAsB,CACxC,SAAS,CAAC,UAAU,CAAC,MAAM,CAAC,MAAM,CACnC,CAAC;YACF,IACE,WAAW,CAAC,IAAI,KAAK,sBAAc,CAAC,4BAA4B;gBAChE,WAAW,CAAC,MAAM,CAAC,QAAQ,CAAC,SAAS,CAAC,UAAU,CAAC,MAAM,CAAC,EACxD,CAAC;gBACD,OAAO,IAAI,CAAC;YACd,CAAC;QACH,CAAC;QAED,KAAK,IAAI,CAAC,CAAC;QAEX,IAAI,KAAK,IAAI,CAAC,EAAE,CAAC;YACf,OAAO,IAAI,CAAC;QACd,CAAC;IACH,CAAC;IAED,OAAO,KAAK,CAAC;AACf,CAAC;AAED,SAAS,sBAAsB,CAAC,IAAmB;IACjD,QAAQ,IAAI,CAAC,IAAI,EAAE,CAAC;QAClB,KAAK,sBAAc,CAAC,kBAAkB,CAAC;QACvC,KAAK,sBAAc,CAAC,WAAW;YAC7B,OAAO,sBAAsB,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC;QAC7C;YACE,OAAO,IAAI,CAAC;IAChB,CAAC;AACH,CAAC;AAED;;;;;GAKG;AACH,SAAS,uBAAuB,CAC9B,OAAuB,EACvB,IAA4B;IAE5B,MAAM,MAAM,GAAG,IAAI,GAAG,EAAyB,CAAC;IAEhD,IAAI,EAAE,CAAC,WAAW,CAAC,IAAI,CAAC,EAAE,CAAC;QACzB,KAAK,MAAM,aAAa,IAAI,IAAI,CAAC,cAAc,EAAE,CAAC;YAChD,+BAA+B,CAAC,OAAO,EAAE,aAAa,EAAE,MAAM,CAAC,CAAC;QAClE,CAAC;QACD,KAAK,MAAM,MAAM,IAAI,IAAI,CAAC,OAAO,EAAE,CAAC;YAClC,+BAA+B,CAAC,OAAO,EAAE,MAAM,EAAE,MAAM,CAAC,CAAC;QAC3D,CAAC;IACH,CAAC;SAAM,CAAC;QACN,+BAA+B,CAAC,OAAO,EAAE,IAAI,EAAE,MAAM,CAAC,CAAC;IACzD,CAAC;IAED,OAAO,MAAM,CAAC;AAChB,CAAC;AAED;;;;GAIG;AACH,SAAS,+BAA+B,CACtC,OAAuB,EACvB,IAAa,EACb,qBAAiD;IAEjD,MAAM,kBAAkB,GAAG,IAAI,GAAG,EAAe,CAAC;IAClD,MAAM,IAAI,GAAG,OAAO,CAAC,iBAAiB,CAAC,IAAI,CAAC,CAAC;IAC7C,MAAM,UAAU,GAAG,IAAI,GAAG,EAAmB,CAAC;IAC9C,MAAM,kBAAkB,GAAG,IAAI,GAAG,EAAe,CAAC;IAClD,IAAI,gBAAgB,GAAG,KAAK,CAAC;IAC7B,IAAI,cAAc,GAAG,KAAK,CAAC;IAE3B,IACE,EAAE,CAAC,0BAA0B,CAAC,IAAI,CAAC;QACnC,EAAE,CAAC,wBAAwB,CAAC,IAAI,CAAC,EACjC,CAAC;QACD,gBAAgB,GAAG,IAAI,CAAC;QACxB,cAAc,CAAC,OAAO,CAAC,2BAA2B,CAAC,IAAI,CAAC,CAAC,CAAC;IAC5D,CAAC;IAED,IAAI,CAAC,gBAAgB,EAAE,CAAC;QACtB,SAAS,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;IACzB,CAAC;IAED,SAAS,SAAS,CAChB,IAAyB,EACzB,kBAA2B;QAE3B,qEAAqE;QACrE,yDAAyD;QACzD,wEAAwE;QACxE,gEAAgE;QAChE,IAAI,CAAC,IAAI,IAAI,mBAAmB,CAAC,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC;YAC3C,OAAO;QACT,CAAC;QAED,6DAA6D;QAC7D,IAAK,OAAO,CAAC,eAA8C,CAAC,IAAI,CAAC,EAAE,CAAC;YAClE,MAAM,WAAW,GAAG,IAAI,CAAC,SAAS,EAAE,EAAE,eAAe,EAAE,EAAE,CAAC,CAAC,CAE9C,CAAC;YAEd,IAAI,WAAW,EAAE,CAAC;gBAChB,wBAAwB,CAAC,WAAW,CAAC,IAAI,EAAE,kBAAkB,CAAC,CAAC;gBAE/D,sEAAsE;gBACtE,sEAAsE;gBACtE,IACE,WAAW,CAAC,UAAU;oBACtB,CAAC,kBAAkB,CAAC,GAAG,CAAC,WAAW,CAAC,UAAU,CAAC,EAC/C,CAAC;oBACD,kBAAkB,CAAC,GAAG,CAAC,WAAW,CAAC,UAAU,CAAC,CAAC;oBAC/C,SAAS,CAAC,OAAO,CAAC,iBAAiB,CAAC,WAAW,CAAC,UAAU,CAAC,EAAE,KAAK,CAAC,CAAC;gBACtE,CAAC;gBAED,IAAI,WAAW,CAAC,OAAO,IAAI,CAAC,cAAc,EAAE,CAAC;oBAC3C,cAAc,GAAG,IAAI,CAAC;oBACtB,SAAS,CAAC,OAAO,CAAC,iBAAiB,CAAC,WAAW,CAAC,OAAO,CAAC,EAAE,KAAK,CAAC,CAAC;gBACnE,CAAC;YACH,CAAC;QACH,CAAC;QAED,6DAA6D;aACxD,IAAI,IAAI,CAAC,kBAAkB,EAAE,CAAC;YACjC,sEAAsE;YACtE,sEAAsE;YACtE,cAAc,CAAC,IAAI,CAAC,kBAAkB,EAAE,IAAI,CAAC,CAAC;QAChD,CAAC;QAED,wCAAwC;aACnC,IAAI,OAAO,CAAC,yBAAyB,CAAC,IAAI,CAAC,EAAE,CAAC;YACjD,cAAc,CAAC,IAAI,CAAC,KAAK,EAAE,kBAAkB,CAAC,CAAC;QACjD,CAAC;QAED,iCAAiC;aAC5B,IAAI,OAAO,CAAC,mBAAmB,CAAC,IAAI,CAAC,EAAE,CAAC;YAC3C,SAAS,CAAC,IAAI,CAAC,UAAU,EAAE,kBAAkB,CAAC,CAAC;YAC/C,SAAS,CAAC,IAAI,CAAC,SAAS,EAAE,kBAAkB,CAAC,CAAC;QAChD,CAAC;QAED,4BAA4B;QAC5B,2CAA2C;aACtC,IAAI,OAAO,CAAC,WAAW,CAAC,IAAI,CAAC,IAAI,OAAO,CAAC,eAAe,CAAC,IAAI,CAAC,EAAE,CAAC;YACpE,KAAK,MAAM,YAAY,IAAI,IAAI,CAAC,aAAa,IAAI,EAAE,EAAE,CAAC;gBACpD,SAAS,CAAC,YAAY,EAAE,IAAI,CAAC,CAAC;YAChC,CAAC;QACH,CAAC;QAED,kCAAkC;aAC7B,IAAI,OAAO,CAAC,qBAAqB,CAAC,IAAI,CAAC,EAAE,CAAC;YAC7C,KAAK,MAAM,OAAO,IAAI,IAAI,CAAC,KAAK,EAAE,CAAC;gBACjC,SAAS,CAAC,OAAO,EAAE,kBAAkB,CAAC,CAAC;YACzC,CAAC;QACH,CAAC;QAED,wDAAwD;aACnD,IAAI,OAAO,CAAC,iBAAiB,CAAC,IAAI,CAAC,EAAE,CAAC;YACzC,SAAS,CAAC,IAAI,CAAC,SAAS,EAAE,kBAAkB,CAAC,CAAC;YAC9C,SAAS,CAAC,IAAI,CAAC,WAAW,EAAE,kBAAkB,CAAC,CAAC;QAClD,CAAC;QAED,oDAAoD;QACpD,+DAA+D;QAC/D,qEAAqE;QACrE,6CAA6C;aACxC,IAAI,OAAO,CAAC,YAAY,CAAC,IAAI,CAAC,EAAE,CAAC;YACpC,MAAM,UAAU,GAAG,IAAI,CAAC,aAAa,EAAE,CAAC;YACxC,oBAAoB,CAAC,UAAU,EAAE,KAAK,CAAC,CAAC;YAExC,IAAI,YAAY,CAAC,IAAI,CAAC,EAAE,CAAC;gBACvB,SAAS,CAAC,IAAI,CAAC,aAAa,EAAE,KAAK,CAAC,CAAC;gBACrC,IAAI,UAAU,CAAC,MAAM,KAAK,CAAC,EAAE,CAAC;oBAC5B,+DAA+D;oBAC/D,6DAA6D;oBAC7D,SAAS,CAAC,IAAI,CAAC,YAAY,IAAI,IAAI,CAAC,cAAc,EAAE,KAAK,CAAC,CAAC;gBAC7D,CAAC;YACH,CAAC;YAED,SAAS,CAAC,IAAI,CAAC,kBAAkB,EAAE,EAAE,IAAI,CAAC,CAAC;YAC3C,SAAS,CAAC,IAAI,CAAC,kBAAkB,EAAE,EAAE,IAAI,CAAC,CAAC;YAE3C,IAAI,CAAC,iBAAiB,EAAE,CAAC,OAAO,CAAC,SAAS,CAAC,EAAE;gBAC3C,gBAAgB,GAAG,IAAI,CAAC;gBACxB,cAAc,CAAC,SAAS,CAAC,CAAC;YAC5B,CAAC,CAAC,CAAC;YAEH,IAAI,CAAC,sBAAsB,EAAE,CAAC,OAAO,CAAC,SAAS,CAAC,EAAE;gBAChD,gBAAgB,GAAG,IAAI,CAAC;gBACxB,cAAc,CAAC,SAAS,CAAC,CAAC;YAC5B,CAAC,CAAC,CAAC;QACL,CAAC;QAED,2CAA2C;aACtC,IAAI,cAAc,CAAC,IAAI,CAAC,EAAE,CAAC;YAC9B,SAAS,CAAC,IAAI,CAAC,IAAI,EAAE,kBAAkB,CAAC,CAAC;QAC3C,CAAC;IACH,CAAC;IAED,SAAS,wBAAwB,CAC/B,EAAiB,EACjB,kBAA2B;QAE3B,MAAM,eAAe,GAAG,qBAAqB,CAAC,GAAG,CAAC,EAAE,CAAC,IAAI,CAAC,CAAC;QAC3D,MAAM,KAAK,GAAG,kBAAkB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QACzC,qBAAqB,CAAC,GAAG,CAAC,EAAE,EAAE,eAAe,GAAG,KAAK,CAAC,CAAC;IACzD,CAAC;IAED,SAAS,mBAAmB,CAAC,IAAa;QACxC,MAAM,KAAK,GAAG,CAAC,UAAU,CAAC,GAAG,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,GAAG,CAAC,CAAC;QAC9C,UAAU,CAAC,GAAG,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;QAC5B,OAAO,KAAK,CAAC;IACf,CAAC;IAED,SAAS,cAAc,CAAC,SAAmC;QACzD,IAAI,CAAC,SAAS,EAAE,CAAC;YACf,OAAO;QACT,CAAC;QAED,IAAI,SAAS,CAAC,aAAa,EAAE,CAAC;YAC5B,SAAS,CAAC,OAAO,CAAC,eAAe,CAAC,SAAS,CAAC,aAAa,CAAC,EAAE,KAAK,CAAC,CAAC;QACrE,CAAC;QAED,KAAK,MAAM,SAAS,IAAI,SAAS,CAAC,UAAU,EAAE,CAAC;YAC7C,SAAS,CAAC,OAAO,CAAC,eAAe,CAAC,SAAS,CAAC,EAAE,KAAK,CAAC,CAAC;QACvD,CAAC;QAED,KAAK,MAAM,aAAa,IAAI,SAAS,CAAC,iBAAiB,EAAE,IAAI,EAAE,EAAE,CAAC;YAChE,SAAS,CAAC,aAAa,EAAE,KAAK,CAAC,CAAC;QAClC,CAAC;QAED,SAAS,CACP,OAAO,CAAC,2BAA2B,CAAC,SAAS,CAAC,EAAE,IAAI;YAClD,SAAS,CAAC,aAAa,EAAE,EAC3B,KAAK,CACN,CAAC;IACJ,CAAC;IAED,SAAS,oBAAoB,CAC3B,OAAoB,EACpB,kBAA2B;QAE3B,IAAI,kBAAkB,CAAC,GAAG,CAAC,OAAO,CAAC,EAAE,CAAC;YACpC,OAAO;QACT,CAAC;QAED,kBAAkB,CAAC,GAAG,CAAC,OAAO,CAAC,CAAC;QAEhC,KAAK,MAAM,MAAM,IAAI,OAAO,EAAE,CAAC;YAC7B,SAAS,CAAC,OAAO,CAAC,eAAe,CAAC,MAAM,CAAC,EAAE,kBAAkB,CAAC,CAAC;QACjE,CAAC;IACH,CAAC;IAED,SAAS,cAAc,CACrB,KAAyB,EACzB,kBAA2B;QAE3B,KAAK,MAAM,IAAI,IAAI,KAAK,EAAE,CAAC;YACzB,SAAS,CAAC,IAAI,EAAE,kBAAkB,CAAC,CAAC;QACtC,CAAC;IACH,CAAC;AACH,CAAC;AAQD,SAAS,YAAY,CAAC,IAAa;IACjC,OAAO,eAAe,IAAI,IAAI,CAAC;AACjC,CAAC;AAMD,SAAS,cAAc,CAAC,IAAa;IACnC,OAAO,MAAM,IAAI,IAAI,IAAI,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC;AACvC,CAAC"} \ No newline at end of file +{"version":3,"file":"no-unnecessary-type-parameters.js","sourceRoot":"","sources":["../../src/rules/no-unnecessary-type-parameters.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAGA,oDAA0D;AAC1D,sDAAwC;AACxC,+CAAiC;AAIjC,kCAKiB;AAOjB,kBAAe,IAAA,iBAAU,EAAC;IACxB,IAAI,EAAE,gCAAgC;IACtC,IAAI,EAAE;QACJ,IAAI,EAAE,SAAS;QACf,IAAI,EAAE;YACJ,WAAW,EAAE,0DAA0D;YACvE,WAAW,EAAE,QAAQ;YACrB,oBAAoB,EAAE,IAAI;SAC3B;QACD,cAAc,EAAE,IAAI;QACpB,QAAQ,EAAE;YACR,2BAA2B,EACzB,2DAA2D;YAC7D,IAAI,EAAE,sEAAsE;SAC7E;QACD,MAAM,EAAE,EAAE;KACX;IACD,cAAc,EAAE,EAAE;IAClB,MAAM,CAAC,OAAO;QACZ,MAAM,cAAc,GAAG,IAAA,wBAAiB,EAAC,OAAO,CAAC,CAAC;QAElD,SAAS,SAAS,CAAC,IAA2B,EAAE,UAAkB;YAChE,MAAM,MAAM,GAAG,cAAc,CAAC,qBAAqB,CAAC,GAAG,CACrD,IAAI,CACqB,CAAC;YAE5B,MAAM,OAAO,GAAG,cAAc,CAAC,OAAO,CAAC,cAAc,EAAE,CAAC;YACxD,IAAI,MAA8C,CAAC;YAEnD,2DAA2D;YAC3D,MAAM,KAAK,GAAG,OAAO,CAAC,UAAU,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC;YAEhD,KAAK,MAAM,aAAa,IAAI,MAAM,CAAC,cAAc,EAAE,CAAC;gBAClD,MAAM,eAAe,GACnB,cAAc,CAAC,qBAAqB,CAAC,GAAG,CACtC,aAAa,CACd,CAAC;gBAEJ,MAAM,uBAAuB,GAAG,IAAA,iBAAU,EACxC,CAAC,GAAG,EAAE;oBACJ,MAAM,QAAQ,GAAG,KAAK,CAAC,GAAG,CAAC,GAAG,CAAC,eAAe,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;oBAC1D,OAAO,QAAQ,EAAE,cAAc,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,CAAC;gBACzD,CAAC,CAAC,EAAE,EACJ,wDAAwD,CACzD,CAAC;gBAEF,uEAAuE;gBACvE,yDAAyD;gBACzD,IACE,4BAA4B,CAC1B,eAAe,EACf,uBAAuB,CAAC,UAAU,EAClC,IAAI,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC,CAAC,IAAI,IAAI,CAAC,UAAU,EAAE,KAAK,CAAC,CAAC,CAAC,CACjD,EACD,CAAC;oBACD,SAAS;gBACX,CAAC;gBAED,6DAA6D;gBAC7D,MAAM,KAAK,uBAAuB,CAAC,OAAO,EAAE,MAAM,CAAC,CAAC;gBACpD,MAAM,gBAAgB,GAAG,MAAM,CAAC,GAAG,CAAC,aAAa,CAAC,IAAI,CAAC,CAAC;gBACxD,IAAI,CAAC,gBAAgB,IAAI,gBAAgB,GAAG,CAAC,EAAE,CAAC;oBAC9C,SAAS;gBACX,CAAC;gBAED,OAAO,CAAC,MAAM,CAAC;oBACb,IAAI,EAAE,eAAe;oBACrB,SAAS,EAAE,MAAM;oBACjB,IAAI,EAAE;wBACJ,IAAI,EAAE,aAAa,CAAC,IAAI,CAAC,IAAI;wBAC7B,UAAU;wBACV,IAAI,EAAE,gBAAgB,KAAK,CAAC,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,CAAC,gBAAgB;qBAC/D;oBACD,OAAO,EAAE;wBACP;4BACE,SAAS,EAAE,6BAA6B;4BACxC,CAAC,GAAG,CAAC,KAAK;gCACR,sEAAsE;gCAEtE,MAAM,UAAU,GAAG,eAAe,CAAC,UAAU,CAAC;gCAC9C,oEAAoE;gCACpE,MAAM,cAAc,GAClB,UAAU,IAAI,IAAI;oCAClB,UAAU,CAAC,IAAI,KAAK,sBAAc,CAAC,YAAY;oCAC7C,CAAC,CAAC,OAAO,CAAC,UAAU,CAAC,OAAO,CAAC,UAAU,CAAC;oCACxC,CAAC,CAAC,SAAS,CAAC;gCAChB,KAAK,MAAM,SAAS,IAAI,uBAAuB,CAAC,UAAU,EAAE,CAAC;oCAC3D,IAAI,SAAS,CAAC,eAAe,EAAE,CAAC;wCAC9B,MAAM,aAAa,GAAG,SAAS,CAAC,UAAU,CAAC;wCAC3C,MAAM,KAAK,CAAC,WAAW,CAAC,aAAa,EAAE,cAAc,CAAC,CAAC;oCACzD,CAAC;gCACH,CAAC;gCAED,gEAAgE;gCAEhE,MAAM,cAAc,GAAG,IAAA,iBAAU,EAC/B,IAAI,CAAC,cAAc,EACnB,kCAAkC,CACnC,CAAC;gCAEF,iEAAiE;gCACjE,sDAAsD;gCACtD,IAAI,cAAc,CAAC,MAAM,CAAC,MAAM,KAAK,CAAC,EAAE,CAAC;oCACvC,6FAA6F;oCAC7F,MAAM,KAAK,CAAC,MAAM,CAAC,cAAc,CAAC,CAAC;gCACrC,CAAC;qCAAM,CAAC;oCACN,MAAM,KAAK,GAAG,cAAc,CAAC,MAAM,CAAC,OAAO,CAAC,eAAe,CAAC,CAAC;oCAE7D,IAAI,KAAK,KAAK,CAAC,EAAE,CAAC;wCAChB,MAAM,UAAU,GAAG,IAAA,iBAAU,EAC3B,OAAO,CAAC,UAAU,CAAC,aAAa,CAC9B,eAAe,EACf,KAAK,CAAC,EAAE,CAAC,KAAK,CAAC,KAAK,KAAK,GAAG,CAC7B,EACD,wBAAiB,CAAC,YAAY,CAC5B,OAAO,EACP,qBAAqB,CACtB,CACF,CAAC;wCAEF,MAAM,eAAe,GAAG,IAAA,iBAAU,EAChC,OAAO,CAAC,UAAU,CAAC,aAAa,CAAC,UAAU,EAAE;4CAC3C,eAAe,EAAE,IAAI;yCACtB,CAAC,EACF,wBAAiB,CAAC,YAAY,CAC5B,OAAO,EACP,qBAAqB,CACtB,CACF,CAAC;wCAEF,MAAM,KAAK,CAAC,WAAW,CAAC;4CACtB,eAAe,CAAC,KAAK,CAAC,CAAC,CAAC;4CACxB,eAAe,CAAC,KAAK,CAAC,CAAC,CAAC;yCACzB,CAAC,CAAC;oCACL,CAAC;yCAAM,CAAC;wCACN,MAAM,WAAW,GAAG,IAAA,iBAAU,EAC5B,OAAO,CAAC,UAAU,CAAC,cAAc,CAC/B,eAAe,EACf,KAAK,CAAC,EAAE,CAAC,KAAK,CAAC,KAAK,KAAK,GAAG,CAC7B,EACD,wBAAiB,CAAC,YAAY,CAC5B,OAAO,EACP,qBAAqB,CACtB,CACF,CAAC;wCAEF,MAAM,KAAK,CAAC,WAAW,CAAC;4CACtB,WAAW,CAAC,KAAK,CAAC,CAAC,CAAC;4CACpB,eAAe,CAAC,KAAK,CAAC,CAAC,CAAC;yCACzB,CAAC,CAAC;oCACL,CAAC;gCACH,CAAC;4BACH,CAAC;yBACF;qBACF;iBACF,CAAC,CAAC;YACL,CAAC;QACH,CAAC;QAED,OAAO;YACL,CAAC;gBACC,yCAAyC;gBACzC,qCAAqC;gBACrC,oCAAoC;gBACpC,4CAA4C;gBAC5C,mCAAmC;gBACnC,mCAAmC;gBACnC,+CAA+C;gBAC/C,gCAAgC;gBAChC,mCAAmC;aACpC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,IAA2B;gBACvC,SAAS,CAAC,IAAI,EAAE,UAAU,CAAC,CAAC;YAC9B,CAAC;YACD,CAAC;gBACC,kCAAkC;gBAClC,iCAAiC;aAClC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,IAA2B;gBACvC,SAAS,CAAC,IAAI,EAAE,OAAO,CAAC,CAAC;YAC3B,CAAC;SACF,CAAC;IACJ,CAAC;CACF,CAAC,CAAC;AAEH,SAAS,4BAA4B,CACnC,IAA8B,EAC9B,UAAuB,EACvB,WAAW,GAAG,QAAQ;IAEtB,IAAI,KAAK,GAAG,CAAC,CAAC;IAEd,KAAK,MAAM,SAAS,IAAI,UAAU,EAAE,CAAC;QACnC,mEAAmE;QACnE,IACE,SAAS,CAAC,UAAU,CAAC,KAAK,CAAC,CAAC,CAAC,GAAG,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC;YAC7C,SAAS,CAAC,UAAU,CAAC,KAAK,CAAC,CAAC,CAAC,GAAG,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,EAC7C,CAAC;YACD,SAAS;QACX,CAAC;QAED,8DAA8D;QAC9D,IAAI,SAAS,CAAC,UAAU,CAAC,KAAK,CAAC,CAAC,CAAC,GAAG,WAAW,EAAE,CAAC;YAChD,SAAS;QACX,CAAC;QAED,gEAAgE;QAChE,yEAAyE;QACzE,yDAAyD;QACzD,IACE,CAAC,SAAS,CAAC,eAAe;YAC1B,SAAS,CAAC,UAAU,CAAC,IAAI,KAAK,IAAI,CAAC,IAAI,CAAC,IAAI,EAC5C,CAAC;YACD,SAAS;QACX,CAAC;QAED,kEAAkE;QAClE,iEAAiE;QACjE,IAAI,SAAS,CAAC,UAAU,CAAC,MAAM,CAAC,IAAI,KAAK,sBAAc,CAAC,eAAe,EAAE,CAAC;YACxE,MAAM,WAAW,GAAG,sBAAsB,CACxC,SAAS,CAAC,UAAU,CAAC,MAAM,CAAC,MAAM,CACnC,CAAC;YACF,IACE,WAAW,CAAC,IAAI,KAAK,sBAAc,CAAC,4BAA4B;gBAChE,WAAW,CAAC,MAAM,CAAC,QAAQ,CAAC,SAAS,CAAC,UAAU,CAAC,MAAM,CAAC,EACxD,CAAC;gBACD,OAAO,IAAI,CAAC;YACd,CAAC;QACH,CAAC;QAED,KAAK,IAAI,CAAC,CAAC;QAEX,IAAI,KAAK,IAAI,CAAC,EAAE,CAAC;YACf,OAAO,IAAI,CAAC;QACd,CAAC;IACH,CAAC;IAED,OAAO,KAAK,CAAC;AACf,CAAC;AAED,SAAS,sBAAsB,CAAC,IAAmB;IACjD,QAAQ,IAAI,CAAC,IAAI,EAAE,CAAC;QAClB,KAAK,sBAAc,CAAC,kBAAkB,CAAC;QACvC,KAAK,sBAAc,CAAC,WAAW;YAC7B,OAAO,sBAAsB,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC;QAC7C;YACE,OAAO,IAAI,CAAC;IAChB,CAAC;AACH,CAAC;AAED;;;;;GAKG;AACH,SAAS,uBAAuB,CAC9B,OAAuB,EACvB,IAA4B;IAE5B,MAAM,MAAM,GAAG,IAAI,GAAG,EAAyB,CAAC;IAEhD,IAAI,EAAE,CAAC,WAAW,CAAC,IAAI,CAAC,EAAE,CAAC;QACzB,KAAK,MAAM,aAAa,IAAI,IAAI,CAAC,cAAc,EAAE,CAAC;YAChD,+BAA+B,CAAC,OAAO,EAAE,aAAa,EAAE,MAAM,CAAC,CAAC;QAClE,CAAC;QACD,KAAK,MAAM,MAAM,IAAI,IAAI,CAAC,OAAO,EAAE,CAAC;YAClC,+BAA+B,CAAC,OAAO,EAAE,MAAM,EAAE,MAAM,CAAC,CAAC;QAC3D,CAAC;IACH,CAAC;SAAM,CAAC;QACN,+BAA+B,CAAC,OAAO,EAAE,IAAI,EAAE,MAAM,CAAC,CAAC;IACzD,CAAC;IAED,OAAO,MAAM,CAAC;AAChB,CAAC;AAED;;;;GAIG;AACH,SAAS,+BAA+B,CACtC,OAAuB,EACvB,IAAa,EACb,qBAAiD;IAEjD,MAAM,kBAAkB,GAAG,IAAI,GAAG,EAAe,CAAC;IAClD,MAAM,IAAI,GAAG,OAAO,CAAC,iBAAiB,CAAC,IAAI,CAAC,CAAC;IAC7C,MAAM,UAAU,GAAG,IAAI,GAAG,EAAmB,CAAC;IAC9C,MAAM,kBAAkB,GAAG,IAAI,GAAG,EAAe,CAAC;IAClD,IAAI,gBAAgB,GAAG,KAAK,CAAC;IAC7B,IAAI,cAAc,GAAG,KAAK,CAAC;IAE3B,IACE,EAAE,CAAC,0BAA0B,CAAC,IAAI,CAAC;QACnC,EAAE,CAAC,wBAAwB,CAAC,IAAI,CAAC,EACjC,CAAC;QACD,gBAAgB,GAAG,IAAI,CAAC;QACxB,cAAc,CAAC,OAAO,CAAC,2BAA2B,CAAC,IAAI,CAAC,CAAC,CAAC;IAC5D,CAAC;IAED,IAAI,CAAC,gBAAgB,EAAE,CAAC;QACtB,SAAS,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;IACzB,CAAC;IAED,SAAS,SAAS,CAChB,IAAyB,EACzB,kBAA2B;QAE3B,qEAAqE;QACrE,yDAAyD;QACzD,wEAAwE;QACxE,gEAAgE;QAChE,IAAI,CAAC,IAAI,IAAI,mBAAmB,CAAC,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC;YAC3C,OAAO;QACT,CAAC;QAED,6DAA6D;QAC7D,IAAK,OAAO,CAAC,eAA8C,CAAC,IAAI,CAAC,EAAE,CAAC;YAClE,MAAM,WAAW,GAAG,IAAI,CAAC,SAAS,EAAE,EAAE,eAAe,EAAE,EAAE,CAAC,CAAC,CAE9C,CAAC;YAEd,IAAI,WAAW,EAAE,CAAC;gBAChB,wBAAwB,CAAC,WAAW,CAAC,IAAI,EAAE,kBAAkB,CAAC,CAAC;gBAE/D,sEAAsE;gBACtE,sEAAsE;gBACtE,IACE,WAAW,CAAC,UAAU;oBACtB,CAAC,kBAAkB,CAAC,GAAG,CAAC,WAAW,CAAC,UAAU,CAAC,EAC/C,CAAC;oBACD,kBAAkB,CAAC,GAAG,CAAC,WAAW,CAAC,UAAU,CAAC,CAAC;oBAC/C,SAAS,CAAC,OAAO,CAAC,iBAAiB,CAAC,WAAW,CAAC,UAAU,CAAC,EAAE,KAAK,CAAC,CAAC;gBACtE,CAAC;gBAED,IAAI,WAAW,CAAC,OAAO,IAAI,CAAC,cAAc,EAAE,CAAC;oBAC3C,cAAc,GAAG,IAAI,CAAC;oBACtB,SAAS,CAAC,OAAO,CAAC,iBAAiB,CAAC,WAAW,CAAC,OAAO,CAAC,EAAE,KAAK,CAAC,CAAC;gBACnE,CAAC;YACH,CAAC;QACH,CAAC;QAED,6DAA6D;aACxD,IAAI,IAAI,CAAC,kBAAkB,EAAE,CAAC;YACjC,sEAAsE;YACtE,sEAAsE;YACtE,cAAc,CAAC,IAAI,CAAC,kBAAkB,EAAE,IAAI,CAAC,CAAC;QAChD,CAAC;QAED,wCAAwC;aACnC,IAAI,OAAO,CAAC,yBAAyB,CAAC,IAAI,CAAC,EAAE,CAAC;YACjD,cAAc,CAAC,IAAI,CAAC,KAAK,EAAE,kBAAkB,CAAC,CAAC;QACjD,CAAC;QAED,iCAAiC;aAC5B,IAAI,OAAO,CAAC,mBAAmB,CAAC,IAAI,CAAC,EAAE,CAAC;YAC3C,SAAS,CAAC,IAAI,CAAC,UAAU,EAAE,kBAAkB,CAAC,CAAC;YAC/C,SAAS,CAAC,IAAI,CAAC,SAAS,EAAE,kBAAkB,CAAC,CAAC;QAChD,CAAC;QAED,4BAA4B;QAC5B,2CAA2C;aACtC,IAAI,OAAO,CAAC,WAAW,CAAC,IAAI,CAAC,IAAI,OAAO,CAAC,eAAe,CAAC,IAAI,CAAC,EAAE,CAAC;YACpE,KAAK,MAAM,YAAY,IAAI,IAAI,CAAC,aAAa,IAAI,EAAE,EAAE,CAAC;gBACpD,SAAS,CAAC,YAAY,EAAE,IAAI,CAAC,CAAC;YAChC,CAAC;QACH,CAAC;QAED,kCAAkC;aAC7B,IAAI,OAAO,CAAC,qBAAqB,CAAC,IAAI,CAAC,EAAE,CAAC;YAC7C,KAAK,MAAM,OAAO,IAAI,IAAI,CAAC,KAAK,EAAE,CAAC;gBACjC,SAAS,CAAC,OAAO,EAAE,kBAAkB,CAAC,CAAC;YACzC,CAAC;QACH,CAAC;QAED,wDAAwD;aACnD,IAAI,OAAO,CAAC,iBAAiB,CAAC,IAAI,CAAC,EAAE,CAAC;YACzC,SAAS,CAAC,IAAI,CAAC,SAAS,EAAE,kBAAkB,CAAC,CAAC;YAC9C,SAAS,CAAC,IAAI,CAAC,WAAW,EAAE,kBAAkB,CAAC,CAAC;QAClD,CAAC;QAED,oDAAoD;QACpD,+DAA+D;QAC/D,qEAAqE;QACrE,6CAA6C;aACxC,IAAI,OAAO,CAAC,YAAY,CAAC,IAAI,CAAC,EAAE,CAAC;YACpC,MAAM,UAAU,GAAG,IAAI,CAAC,aAAa,EAAE,CAAC;YACxC,oBAAoB,CAAC,UAAU,EAAE,KAAK,CAAC,CAAC;YAExC,IAAI,YAAY,CAAC,IAAI,CAAC,EAAE,CAAC;gBACvB,SAAS,CAAC,IAAI,CAAC,aAAa,EAAE,KAAK,CAAC,CAAC;gBACrC,IAAI,UAAU,CAAC,MAAM,KAAK,CAAC,EAAE,CAAC;oBAC5B,+DAA+D;oBAC/D,6DAA6D;oBAC7D,SAAS,CAAC,IAAI,CAAC,YAAY,IAAI,IAAI,CAAC,cAAc,EAAE,KAAK,CAAC,CAAC;gBAC7D,CAAC;YACH,CAAC;YAED,SAAS,CAAC,IAAI,CAAC,kBAAkB,EAAE,EAAE,IAAI,CAAC,CAAC;YAC3C,SAAS,CAAC,IAAI,CAAC,kBAAkB,EAAE,EAAE,IAAI,CAAC,CAAC;YAE3C,IAAI,CAAC,iBAAiB,EAAE,CAAC,OAAO,CAAC,SAAS,CAAC,EAAE;gBAC3C,gBAAgB,GAAG,IAAI,CAAC;gBACxB,cAAc,CAAC,SAAS,CAAC,CAAC;YAC5B,CAAC,CAAC,CAAC;YAEH,IAAI,CAAC,sBAAsB,EAAE,CAAC,OAAO,CAAC,SAAS,CAAC,EAAE;gBAChD,gBAAgB,GAAG,IAAI,CAAC;gBACxB,cAAc,CAAC,SAAS,CAAC,CAAC;YAC5B,CAAC,CAAC,CAAC;QACL,CAAC;QAED,2CAA2C;aACtC,IAAI,cAAc,CAAC,IAAI,CAAC,EAAE,CAAC;YAC9B,SAAS,CAAC,IAAI,CAAC,IAAI,EAAE,kBAAkB,CAAC,CAAC;QAC3C,CAAC;IACH,CAAC;IAED,SAAS,wBAAwB,CAC/B,EAAiB,EACjB,kBAA2B;QAE3B,MAAM,eAAe,GAAG,qBAAqB,CAAC,GAAG,CAAC,EAAE,CAAC,IAAI,CAAC,CAAC;QAC3D,MAAM,KAAK,GAAG,kBAAkB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QACzC,qBAAqB,CAAC,GAAG,CAAC,EAAE,EAAE,eAAe,GAAG,KAAK,CAAC,CAAC;IACzD,CAAC;IAED,SAAS,mBAAmB,CAAC,IAAa;QACxC,MAAM,KAAK,GAAG,CAAC,UAAU,CAAC,GAAG,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,GAAG,CAAC,CAAC;QAC9C,UAAU,CAAC,GAAG,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;QAC5B,OAAO,KAAK,CAAC;IACf,CAAC;IAED,SAAS,cAAc,CAAC,SAAmC;QACzD,IAAI,CAAC,SAAS,EAAE,CAAC;YACf,OAAO;QACT,CAAC;QAED,IAAI,SAAS,CAAC,aAAa,EAAE,CAAC;YAC5B,SAAS,CAAC,OAAO,CAAC,eAAe,CAAC,SAAS,CAAC,aAAa,CAAC,EAAE,KAAK,CAAC,CAAC;QACrE,CAAC;QAED,KAAK,MAAM,SAAS,IAAI,SAAS,CAAC,UAAU,EAAE,CAAC;YAC7C,SAAS,CAAC,OAAO,CAAC,eAAe,CAAC,SAAS,CAAC,EAAE,KAAK,CAAC,CAAC;QACvD,CAAC;QAED,KAAK,MAAM,aAAa,IAAI,SAAS,CAAC,iBAAiB,EAAE,IAAI,EAAE,EAAE,CAAC;YAChE,SAAS,CAAC,aAAa,EAAE,KAAK,CAAC,CAAC;QAClC,CAAC;QAED,SAAS,CACP,OAAO,CAAC,2BAA2B,CAAC,SAAS,CAAC,EAAE,IAAI;YAClD,SAAS,CAAC,aAAa,EAAE,EAC3B,KAAK,CACN,CAAC;IACJ,CAAC;IAED,SAAS,oBAAoB,CAC3B,OAAoB,EACpB,kBAA2B;QAE3B,IAAI,kBAAkB,CAAC,GAAG,CAAC,OAAO,CAAC,EAAE,CAAC;YACpC,OAAO;QACT,CAAC;QAED,kBAAkB,CAAC,GAAG,CAAC,OAAO,CAAC,CAAC;QAEhC,KAAK,MAAM,MAAM,IAAI,OAAO,EAAE,CAAC;YAC7B,SAAS,CAAC,OAAO,CAAC,eAAe,CAAC,MAAM,CAAC,EAAE,kBAAkB,CAAC,CAAC;QACjE,CAAC;IACH,CAAC;IAED,SAAS,cAAc,CACrB,KAAyB,EACzB,kBAA2B;QAE3B,KAAK,MAAM,IAAI,IAAI,KAAK,EAAE,CAAC;YACzB,SAAS,CAAC,IAAI,EAAE,kBAAkB,CAAC,CAAC;QACtC,CAAC;IACH,CAAC;AACH,CAAC;AAQD,SAAS,YAAY,CAAC,IAAa;IACjC,OAAO,eAAe,IAAI,IAAI,CAAC;AACjC,CAAC;AAMD,SAAS,cAAc,CAAC,IAAa;IACnC,OAAO,MAAM,IAAI,IAAI,IAAI,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC;AACvC,CAAC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unsafe-argument.js b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unsafe-argument.js index 3a8a330116..12f63b621d 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unsafe-argument.js +++ b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unsafe-argument.js @@ -15,13 +15,23 @@ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? ( }) : function(o, v) { o["default"] = v; }); -var __importStar = (this && this.__importStar) || function (mod) { - if (mod && mod.__esModule) return mod; - var result = {}; - if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k); - __setModuleDefault(result, mod); - return result; -}; +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); Object.defineProperty(exports, "__esModule", { value: true }); const utils_1 = require("@typescript-eslint/utils"); const tsutils = __importStar(require("ts-api-utils")); diff --git a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unsafe-argument.js.map b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unsafe-argument.js.map index 74a583a6ac..1f349eca7d 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unsafe-argument.js.map +++ b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unsafe-argument.js.map @@ -1 +1 @@ -{"version":3,"file":"no-unsafe-argument.js","sourceRoot":"","sources":["../../src/rules/no-unsafe-argument.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AAEA,oDAA0D;AAC1D,sDAAwC;AACxC,+CAAiC;AAEjC,kCAQiB;AA8BjB,MAAM,iBAAiB;IAMX;IACA;IANF,oBAAoB,GAAG,KAAK,CAAC;IAE7B,kBAAkB,GAAG,CAAC,CAAC;IAE/B,YACU,UAAqB,EACrB,QAAyB;QADzB,eAAU,GAAV,UAAU,CAAW;QACrB,aAAQ,GAAR,QAAQ,CAAiB;IAChC,CAAC;IAEG,MAAM,CAAC,MAAM,CAClB,OAAuB,EACvB,MAA6B;QAE7B,MAAM,SAAS,GAAG,OAAO,CAAC,oBAAoB,CAAC,MAAM,CAAC,CAAC;QACvD,IAAI,CAAC,SAAS,EAAE,CAAC;YACf,OAAO,IAAI,CAAC;QACd,CAAC;QAED,MAAM,UAAU,GAAc,EAAE,CAAC;QACjC,IAAI,QAAQ,GAAoB,IAAI,CAAC;QAErC,MAAM,UAAU,GAAG,SAAS,CAAC,aAAa,EAAE,CAAC;QAC7C,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,UAAU,CAAC,MAAM,EAAE,CAAC,IAAI,CAAC,EAAE,CAAC;YAC9C,MAAM,KAAK,GAAG,UAAU,CAAC,CAAC,CAAC,CAAC;YAC5B,MAAM,IAAI,GAAG,OAAO,CAAC,yBAAyB,CAAC,KAAK,EAAE,MAAM,CAAC,CAAC;YAE9D,MAAM,IAAI,GAAG,KAAK,CAAC,eAAe,EAAE,EAAE,CAAC,CAAC,CAAC,CAAC;YAC1C,IAAI,IAAI,IAAI,IAAA,iCAA0B,EAAC,IAAI,CAAC,EAAE,CAAC;gBAC7C,kBAAkB;gBAClB,IAAI,OAAO,CAAC,WAAW,CAAC,IAAI,CAAC,EAAE,CAAC;oBAC9B,QAAQ,GAAG;wBACT,IAAI,EAAE,OAAO,CAAC,gBAAgB,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;wBACvC,KAAK,EAAE,CAAC;wBACR,IAAI,4BAAoB;qBACzB,CAAC;gBACJ,CAAC;qBAAM,IAAI,OAAO,CAAC,WAAW,CAAC,IAAI,CAAC,EAAE,CAAC;oBACrC,QAAQ,GAAG;wBACT,KAAK,EAAE,CAAC;wBACR,IAAI,4BAAoB;wBACxB,aAAa,EAAE,OAAO,CAAC,gBAAgB,CAAC,IAAI,CAAC;qBAC9C,CAAC;gBACJ,CAAC;qBAAM,CAAC;oBACN,QAAQ,GAAG;wBACT,IAAI;wBACJ,KAAK,EAAE,CAAC;wBACR,IAAI,4BAAoB;qBACzB,CAAC;gBACJ,CAAC;gBACD,MAAM;YACR,CAAC;YAED,UAAU,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;QACxB,CAAC;QAED,OAAO,IAAI,IAAI,CAAC,UAAU,EAAE,QAAQ,CAAC,CAAC;IACxC,CAAC;IAEM,yBAAyB;QAC9B,IAAI,CAAC,oBAAoB,GAAG,IAAI,CAAC;IACnC,CAAC;IAEM,oBAAoB;QACzB,MAAM,KAAK,GAAG,IAAI,CAAC,kBAAkB,CAAC;QACtC,IAAI,CAAC,kBAAkB,IAAI,CAAC,CAAC;QAE7B,IAAI,KAAK,IAAI,IAAI,CAAC,UAAU,CAAC,MAAM,IAAI,IAAI,CAAC,oBAAoB,EAAE,CAAC;YACjE,IAAI,IAAI,CAAC,QAAQ,IAAI,IAAI,EAAE,CAAC;gBAC1B,OAAO,IAAI,CAAC;YACd,CAAC;YAED,QAAQ,IAAI,CAAC,QAAQ,CAAC,IAAI,EAAE,CAAC;gBAC3B,+BAAuB,CAAC,CAAC,CAAC;oBACxB,MAAM,aAAa,GAAG,IAAI,CAAC,QAAQ,CAAC,aAAa,CAAC;oBAClD,IAAI,IAAI,CAAC,oBAAoB,EAAE,CAAC;wBAC9B,gEAAgE;wBAChE,uEAAuE;wBACvE,6CAA6C;wBAC7C,wDAAwD;wBACxD,OAAO,aAAa,CAAC,aAAa,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC;oBACjD,CAAC;oBAED,MAAM,SAAS,GAAG,KAAK,GAAG,IAAI,CAAC,QAAQ,CAAC,KAAK,CAAC;oBAC9C,IAAI,SAAS,IAAI,aAAa,CAAC,MAAM,EAAE,CAAC;wBACtC,OAAO,aAAa,CAAC,aAAa,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC;oBACjD,CAAC;oBAED,OAAO,aAAa,CAAC,SAAS,CAAC,CAAC;gBAClC,CAAC;gBAED,gCAAwB;gBACxB;oBACE,OAAO,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC;YAC9B,CAAC;QACH,CAAC;QACD,OAAO,IAAI,CAAC,UAAU,CAAC,KAAK,CAAC,CAAC;IAChC,CAAC;CACF;AAED,kBAAe,IAAA,iBAAU,EAAiB;IACxC,IAAI,EAAE,oBAAoB;IAC1B,IAAI,EAAE;QACJ,IAAI,EAAE,SAAS;QACf,IAAI,EAAE;YACJ,WAAW,EAAE,0DAA0D;YACvE,WAAW,EAAE,aAAa;YAC1B,oBAAoB,EAAE,IAAI;SAC3B;QACD,QAAQ,EAAE;YACR,cAAc,EACZ,kFAAkF;YACpF,iBAAiB,EAAE,4CAA4C;YAC/D,YAAY,EAAE,sCAAsC;YACpD,iBAAiB,EACf,gHAAgH;SACnH;QACD,MAAM,EAAE,EAAE;KACX;IACD,cAAc,EAAE,EAAE;IAClB,MAAM,CAAC,OAAO;QACZ,MAAM,QAAQ,GAAG,IAAA,wBAAiB,EAAC,OAAO,CAAC,CAAC;QAC5C,MAAM,OAAO,GAAG,QAAQ,CAAC,OAAO,CAAC,cAAc,EAAE,CAAC;QAElD,SAAS,YAAY,CAAC,IAAa;YACjC,IAAI,OAAO,CAAC,oBAAoB,CAAC,IAAI,CAAC,EAAE,CAAC;gBACvC,OAAO,aAAa,CAAC;YACvB,CAAC;YAED,OAAO,KAAK,OAAO,CAAC,YAAY,CAAC,IAAI,CAAC,IAAI,CAAC;QAC7C,CAAC;QAED,SAAS,qBAAqB,CAAC,IAAa;YAC1C,IACE,OAAO,CAAC,WAAW,CAAC,IAAI,CAAC;gBACzB,OAAO,CAAC,oBAAoB,CAAC,OAAO,CAAC,gBAAgB,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,CAAC,EAC/D,CAAC;gBACD,OAAO,OAAO,CAAC;YACjB,CAAC;YAED,OAAO,YAAY,CAAC,IAAI,CAAC,CAAC;QAC5B,CAAC;QAED,SAAS,oBAAoB,CAAC,IAAa;YACzC,IAAI,OAAO,CAAC,oBAAoB,CAAC,IAAI,CAAC,EAAE,CAAC;gBACvC,OAAO,aAAa,CAAC;YACvB,CAAC;YAED,OAAO,aAAa,OAAO,CAAC,YAAY,CAAC,IAAI,CAAC,IAAI,CAAC;QACrD,CAAC;QAED,SAAS,oBAAoB,CAC3B,IAA+D,EAC/D,MAA2B,EAC3B,IAGqC;YAErC,IAAI,IAAI,CAAC,MAAM,KAAK,CAAC,EAAE,CAAC;gBACtB,OAAO;YACT,CAAC;YAED,+DAA+D;YAC/D,IAAI,IAAA,oBAAa,EAAC,QAAQ,CAAC,iBAAiB,CAAC,MAAM,CAAC,CAAC,EAAE,CAAC;gBACtD,OAAO;YACT,CAAC;YAED,MAAM,MAAM,GAAG,QAAQ,CAAC,qBAAqB,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC;YACxD,MAAM,SAAS,GAAG,IAAA,iBAAU,EAC1B,iBAAiB,CAAC,MAAM,CAAC,OAAO,EAAE,MAAM,CAAC,EACzC,kCAAkC,CACnC,CAAC;YAEF,IAAI,IAAI,CAAC,IAAI,KAAK,sBAAc,CAAC,wBAAwB,EAAE,CAAC;gBAC1D,4GAA4G;gBAC5G,SAAS,CAAC,oBAAoB,EAAE,CAAC;YACnC,CAAC;YAED,KAAK,MAAM,QAAQ,IAAI,IAAI,EAAE,CAAC;gBAC5B,QAAQ,QAAQ,CAAC,IAAI,EAAE,CAAC;oBACtB,kBAAkB;oBAClB,KAAK,sBAAc,CAAC,aAAa,CAAC,CAAC,CAAC;wBAClC,MAAM,aAAa,GAAG,QAAQ,CAAC,iBAAiB,CAAC,QAAQ,CAAC,QAAQ,CAAC,CAAC;wBAEpE,IAAI,IAAA,oBAAa,EAAC,aAAa,CAAC,EAAE,CAAC;4BACjC,cAAc;4BACd,OAAO,CAAC,MAAM,CAAC;gCACb,IAAI,EAAE,QAAQ;gCACd,SAAS,EAAE,cAAc;gCACzB,IAAI,EAAE,EAAE,MAAM,EAAE,YAAY,CAAC,aAAa,CAAC,EAAE;6BAC9C,CAAC,CAAC;wBACL,CAAC;6BAAM,IAAI,IAAA,yBAAkB,EAAC,aAAa,EAAE,OAAO,CAAC,EAAE,CAAC;4BACtD,gBAAgB;4BAEhB,yFAAyF;4BACzF,OAAO,CAAC,MAAM,CAAC;gCACb,IAAI,EAAE,QAAQ;gCACd,SAAS,EAAE,mBAAmB;gCAC9B,IAAI,EAAE,EAAE,MAAM,EAAE,qBAAqB,CAAC,aAAa,CAAC,EAAE;6BACvD,CAAC,CAAC;wBACL,CAAC;6BAAM,IAAI,OAAO,CAAC,WAAW,CAAC,aAAa,CAAC,EAAE,CAAC;4BAC9C,2BAA2B;4BAC3B,MAAM,mBAAmB,GACvB,OAAO,CAAC,gBAAgB,CAAC,aAAa,CAAC,CAAC;4BAC1C,KAAK,MAAM,SAAS,IAAI,mBAAmB,EAAE,CAAC;gCAC5C,MAAM,aAAa,GAAG,SAAS,CAAC,oBAAoB,EAAE,CAAC;gCACvD,IAAI,aAAa,IAAI,IAAI,EAAE,CAAC;oCAC1B,SAAS;gCACX,CAAC;gCACD,MAAM,MAAM,GAAG,IAAA,yBAAkB,EAC/B,SAAS,EACT,aAAa,EACb,OAAO;gCACP,mGAAmG;gCACnG,qBAAqB;gCACrB,IAAI,CACL,CAAC;gCACF,IAAI,MAAM,EAAE,CAAC;oCACX,OAAO,CAAC,MAAM,CAAC;wCACb,IAAI,EAAE,QAAQ;wCACd,SAAS,EAAE,mBAAmB;wCAC9B,IAAI,EAAE;4CACJ,QAAQ,EAAE,YAAY,CAAC,aAAa,CAAC;4CACrC,MAAM,EAAE,oBAAoB,CAAC,SAAS,CAAC;yCACxC;qCACF,CAAC,CAAC;gCACL,CAAC;4BACH,CAAC;4BACD,IACE,aAAa,CAAC,MAAM,CAAC,aAAa,GAAG,EAAE,CAAC,YAAY,CAAC,QAAQ,EAC7D,CAAC;gCACD,gGAAgG;gCAChG,mFAAmF;gCACnF,SAAS,CAAC,yBAAyB,EAAE,CAAC;4BACxC,CAAC;wBACH,CAAC;6BAAM,CAAC;4BACN,4BAA4B;4BAC5B,iEAAiE;4BACjE,sCAAsC;wBACxC,CAAC;wBACD,MAAM;oBACR,CAAC;oBAED,OAAO,CAAC,CAAC,CAAC;wBACR,MAAM,aAAa,GAAG,SAAS,CAAC,oBAAoB,EAAE,CAAC;wBACvD,IAAI,aAAa,IAAI,IAAI,EAAE,CAAC;4BAC1B,SAAS;wBACX,CAAC;wBAED,MAAM,YAAY,GAAG,QAAQ,CAAC,iBAAiB,CAAC,QAAQ,CAAC,CAAC;wBAC1D,MAAM,MAAM,GAAG,IAAA,yBAAkB,EAC/B,YAAY,EACZ,aAAa,EACb,OAAO,EACP,QAAQ,CACT,CAAC;wBACF,IAAI,MAAM,EAAE,CAAC;4BACX,OAAO,CAAC,MAAM,CAAC;gCACb,IAAI,EAAE,QAAQ;gCACd,SAAS,EAAE,gBAAgB;gCAC3B,IAAI,EAAE;oCACJ,QAAQ,EAAE,YAAY,CAAC,aAAa,CAAC;oCACrC,MAAM,EAAE,YAAY,CAAC,YAAY,CAAC;iCACnC;6BACF,CAAC,CAAC;wBACL,CAAC;oBACH,CAAC;gBACH,CAAC;YACH,CAAC;QACH,CAAC;QAED,OAAO;YACL,+BAA+B,CAC7B,IAAsD;gBAEtD,oBAAoB,CAAC,IAAI,CAAC,SAAS,EAAE,IAAI,CAAC,MAAM,EAAE,IAAI,CAAC,CAAC;YAC1D,CAAC;YACD,wBAAwB,CAAC,IAAuC;gBAC9D,oBAAoB,CAAC,IAAI,CAAC,KAAK,CAAC,WAAW,EAAE,IAAI,CAAC,GAAG,EAAE,IAAI,CAAC,CAAC;YAC/D,CAAC;SACF,CAAC;IACJ,CAAC;CACF,CAAC,CAAC"} \ No newline at end of file +{"version":3,"file":"no-unsafe-argument.js","sourceRoot":"","sources":["../../src/rules/no-unsafe-argument.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEA,oDAA0D;AAC1D,sDAAwC;AACxC,+CAAiC;AAEjC,kCAQiB;AA8BjB,MAAM,iBAAiB;IAMX;IACA;IANF,oBAAoB,GAAG,KAAK,CAAC;IAE7B,kBAAkB,GAAG,CAAC,CAAC;IAE/B,YACU,UAAqB,EACrB,QAAyB;QADzB,eAAU,GAAV,UAAU,CAAW;QACrB,aAAQ,GAAR,QAAQ,CAAiB;IAChC,CAAC;IAEG,MAAM,CAAC,MAAM,CAClB,OAAuB,EACvB,MAA6B;QAE7B,MAAM,SAAS,GAAG,OAAO,CAAC,oBAAoB,CAAC,MAAM,CAAC,CAAC;QACvD,IAAI,CAAC,SAAS,EAAE,CAAC;YACf,OAAO,IAAI,CAAC;QACd,CAAC;QAED,MAAM,UAAU,GAAc,EAAE,CAAC;QACjC,IAAI,QAAQ,GAAoB,IAAI,CAAC;QAErC,MAAM,UAAU,GAAG,SAAS,CAAC,aAAa,EAAE,CAAC;QAC7C,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,UAAU,CAAC,MAAM,EAAE,CAAC,IAAI,CAAC,EAAE,CAAC;YAC9C,MAAM,KAAK,GAAG,UAAU,CAAC,CAAC,CAAC,CAAC;YAC5B,MAAM,IAAI,GAAG,OAAO,CAAC,yBAAyB,CAAC,KAAK,EAAE,MAAM,CAAC,CAAC;YAE9D,MAAM,IAAI,GAAG,KAAK,CAAC,eAAe,EAAE,EAAE,CAAC,CAAC,CAAC,CAAC;YAC1C,IAAI,IAAI,IAAI,IAAA,iCAA0B,EAAC,IAAI,CAAC,EAAE,CAAC;gBAC7C,kBAAkB;gBAClB,IAAI,OAAO,CAAC,WAAW,CAAC,IAAI,CAAC,EAAE,CAAC;oBAC9B,QAAQ,GAAG;wBACT,IAAI,EAAE,OAAO,CAAC,gBAAgB,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;wBACvC,KAAK,EAAE,CAAC;wBACR,IAAI,4BAAoB;qBACzB,CAAC;gBACJ,CAAC;qBAAM,IAAI,OAAO,CAAC,WAAW,CAAC,IAAI,CAAC,EAAE,CAAC;oBACrC,QAAQ,GAAG;wBACT,KAAK,EAAE,CAAC;wBACR,IAAI,4BAAoB;wBACxB,aAAa,EAAE,OAAO,CAAC,gBAAgB,CAAC,IAAI,CAAC;qBAC9C,CAAC;gBACJ,CAAC;qBAAM,CAAC;oBACN,QAAQ,GAAG;wBACT,IAAI;wBACJ,KAAK,EAAE,CAAC;wBACR,IAAI,4BAAoB;qBACzB,CAAC;gBACJ,CAAC;gBACD,MAAM;YACR,CAAC;YAED,UAAU,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;QACxB,CAAC;QAED,OAAO,IAAI,IAAI,CAAC,UAAU,EAAE,QAAQ,CAAC,CAAC;IACxC,CAAC;IAEM,yBAAyB;QAC9B,IAAI,CAAC,oBAAoB,GAAG,IAAI,CAAC;IACnC,CAAC;IAEM,oBAAoB;QACzB,MAAM,KAAK,GAAG,IAAI,CAAC,kBAAkB,CAAC;QACtC,IAAI,CAAC,kBAAkB,IAAI,CAAC,CAAC;QAE7B,IAAI,KAAK,IAAI,IAAI,CAAC,UAAU,CAAC,MAAM,IAAI,IAAI,CAAC,oBAAoB,EAAE,CAAC;YACjE,IAAI,IAAI,CAAC,QAAQ,IAAI,IAAI,EAAE,CAAC;gBAC1B,OAAO,IAAI,CAAC;YACd,CAAC;YAED,QAAQ,IAAI,CAAC,QAAQ,CAAC,IAAI,EAAE,CAAC;gBAC3B,+BAAuB,CAAC,CAAC,CAAC;oBACxB,MAAM,aAAa,GAAG,IAAI,CAAC,QAAQ,CAAC,aAAa,CAAC;oBAClD,IAAI,IAAI,CAAC,oBAAoB,EAAE,CAAC;wBAC9B,gEAAgE;wBAChE,uEAAuE;wBACvE,6CAA6C;wBAC7C,wDAAwD;wBACxD,OAAO,aAAa,CAAC,aAAa,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC;oBACjD,CAAC;oBAED,MAAM,SAAS,GAAG,KAAK,GAAG,IAAI,CAAC,QAAQ,CAAC,KAAK,CAAC;oBAC9C,IAAI,SAAS,IAAI,aAAa,CAAC,MAAM,EAAE,CAAC;wBACtC,OAAO,aAAa,CAAC,aAAa,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC;oBACjD,CAAC;oBAED,OAAO,aAAa,CAAC,SAAS,CAAC,CAAC;gBAClC,CAAC;gBAED,gCAAwB;gBACxB;oBACE,OAAO,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC;YAC9B,CAAC;QACH,CAAC;QACD,OAAO,IAAI,CAAC,UAAU,CAAC,KAAK,CAAC,CAAC;IAChC,CAAC;CACF;AAED,kBAAe,IAAA,iBAAU,EAAiB;IACxC,IAAI,EAAE,oBAAoB;IAC1B,IAAI,EAAE;QACJ,IAAI,EAAE,SAAS;QACf,IAAI,EAAE;YACJ,WAAW,EAAE,0DAA0D;YACvE,WAAW,EAAE,aAAa;YAC1B,oBAAoB,EAAE,IAAI;SAC3B;QACD,QAAQ,EAAE;YACR,cAAc,EACZ,kFAAkF;YACpF,iBAAiB,EAAE,4CAA4C;YAC/D,YAAY,EAAE,sCAAsC;YACpD,iBAAiB,EACf,gHAAgH;SACnH;QACD,MAAM,EAAE,EAAE;KACX;IACD,cAAc,EAAE,EAAE;IAClB,MAAM,CAAC,OAAO;QACZ,MAAM,QAAQ,GAAG,IAAA,wBAAiB,EAAC,OAAO,CAAC,CAAC;QAC5C,MAAM,OAAO,GAAG,QAAQ,CAAC,OAAO,CAAC,cAAc,EAAE,CAAC;QAElD,SAAS,YAAY,CAAC,IAAa;YACjC,IAAI,OAAO,CAAC,oBAAoB,CAAC,IAAI,CAAC,EAAE,CAAC;gBACvC,OAAO,aAAa,CAAC;YACvB,CAAC;YAED,OAAO,KAAK,OAAO,CAAC,YAAY,CAAC,IAAI,CAAC,IAAI,CAAC;QAC7C,CAAC;QAED,SAAS,qBAAqB,CAAC,IAAa;YAC1C,IACE,OAAO,CAAC,WAAW,CAAC,IAAI,CAAC;gBACzB,OAAO,CAAC,oBAAoB,CAAC,OAAO,CAAC,gBAAgB,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,CAAC,EAC/D,CAAC;gBACD,OAAO,OAAO,CAAC;YACjB,CAAC;YAED,OAAO,YAAY,CAAC,IAAI,CAAC,CAAC;QAC5B,CAAC;QAED,SAAS,oBAAoB,CAAC,IAAa;YACzC,IAAI,OAAO,CAAC,oBAAoB,CAAC,IAAI,CAAC,EAAE,CAAC;gBACvC,OAAO,aAAa,CAAC;YACvB,CAAC;YAED,OAAO,aAAa,OAAO,CAAC,YAAY,CAAC,IAAI,CAAC,IAAI,CAAC;QACrD,CAAC;QAED,SAAS,oBAAoB,CAC3B,IAA+D,EAC/D,MAA2B,EAC3B,IAGqC;YAErC,IAAI,IAAI,CAAC,MAAM,KAAK,CAAC,EAAE,CAAC;gBACtB,OAAO;YACT,CAAC;YAED,+DAA+D;YAC/D,IAAI,IAAA,oBAAa,EAAC,QAAQ,CAAC,iBAAiB,CAAC,MAAM,CAAC,CAAC,EAAE,CAAC;gBACtD,OAAO;YACT,CAAC;YAED,MAAM,MAAM,GAAG,QAAQ,CAAC,qBAAqB,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC;YACxD,MAAM,SAAS,GAAG,IAAA,iBAAU,EAC1B,iBAAiB,CAAC,MAAM,CAAC,OAAO,EAAE,MAAM,CAAC,EACzC,kCAAkC,CACnC,CAAC;YAEF,IAAI,IAAI,CAAC,IAAI,KAAK,sBAAc,CAAC,wBAAwB,EAAE,CAAC;gBAC1D,4GAA4G;gBAC5G,SAAS,CAAC,oBAAoB,EAAE,CAAC;YACnC,CAAC;YAED,KAAK,MAAM,QAAQ,IAAI,IAAI,EAAE,CAAC;gBAC5B,QAAQ,QAAQ,CAAC,IAAI,EAAE,CAAC;oBACtB,kBAAkB;oBAClB,KAAK,sBAAc,CAAC,aAAa,CAAC,CAAC,CAAC;wBAClC,MAAM,aAAa,GAAG,QAAQ,CAAC,iBAAiB,CAAC,QAAQ,CAAC,QAAQ,CAAC,CAAC;wBAEpE,IAAI,IAAA,oBAAa,EAAC,aAAa,CAAC,EAAE,CAAC;4BACjC,cAAc;4BACd,OAAO,CAAC,MAAM,CAAC;gCACb,IAAI,EAAE,QAAQ;gCACd,SAAS,EAAE,cAAc;gCACzB,IAAI,EAAE,EAAE,MAAM,EAAE,YAAY,CAAC,aAAa,CAAC,EAAE;6BAC9C,CAAC,CAAC;wBACL,CAAC;6BAAM,IAAI,IAAA,yBAAkB,EAAC,aAAa,EAAE,OAAO,CAAC,EAAE,CAAC;4BACtD,gBAAgB;4BAEhB,yFAAyF;4BACzF,OAAO,CAAC,MAAM,CAAC;gCACb,IAAI,EAAE,QAAQ;gCACd,SAAS,EAAE,mBAAmB;gCAC9B,IAAI,EAAE,EAAE,MAAM,EAAE,qBAAqB,CAAC,aAAa,CAAC,EAAE;6BACvD,CAAC,CAAC;wBACL,CAAC;6BAAM,IAAI,OAAO,CAAC,WAAW,CAAC,aAAa,CAAC,EAAE,CAAC;4BAC9C,2BAA2B;4BAC3B,MAAM,mBAAmB,GACvB,OAAO,CAAC,gBAAgB,CAAC,aAAa,CAAC,CAAC;4BAC1C,KAAK,MAAM,SAAS,IAAI,mBAAmB,EAAE,CAAC;gCAC5C,MAAM,aAAa,GAAG,SAAS,CAAC,oBAAoB,EAAE,CAAC;gCACvD,IAAI,aAAa,IAAI,IAAI,EAAE,CAAC;oCAC1B,SAAS;gCACX,CAAC;gCACD,MAAM,MAAM,GAAG,IAAA,yBAAkB,EAC/B,SAAS,EACT,aAAa,EACb,OAAO;gCACP,mGAAmG;gCACnG,qBAAqB;gCACrB,IAAI,CACL,CAAC;gCACF,IAAI,MAAM,EAAE,CAAC;oCACX,OAAO,CAAC,MAAM,CAAC;wCACb,IAAI,EAAE,QAAQ;wCACd,SAAS,EAAE,mBAAmB;wCAC9B,IAAI,EAAE;4CACJ,QAAQ,EAAE,YAAY,CAAC,aAAa,CAAC;4CACrC,MAAM,EAAE,oBAAoB,CAAC,SAAS,CAAC;yCACxC;qCACF,CAAC,CAAC;gCACL,CAAC;4BACH,CAAC;4BACD,IACE,aAAa,CAAC,MAAM,CAAC,aAAa,GAAG,EAAE,CAAC,YAAY,CAAC,QAAQ,EAC7D,CAAC;gCACD,gGAAgG;gCAChG,mFAAmF;gCACnF,SAAS,CAAC,yBAAyB,EAAE,CAAC;4BACxC,CAAC;wBACH,CAAC;6BAAM,CAAC;4BACN,4BAA4B;4BAC5B,iEAAiE;4BACjE,sCAAsC;wBACxC,CAAC;wBACD,MAAM;oBACR,CAAC;oBAED,OAAO,CAAC,CAAC,CAAC;wBACR,MAAM,aAAa,GAAG,SAAS,CAAC,oBAAoB,EAAE,CAAC;wBACvD,IAAI,aAAa,IAAI,IAAI,EAAE,CAAC;4BAC1B,SAAS;wBACX,CAAC;wBAED,MAAM,YAAY,GAAG,QAAQ,CAAC,iBAAiB,CAAC,QAAQ,CAAC,CAAC;wBAC1D,MAAM,MAAM,GAAG,IAAA,yBAAkB,EAC/B,YAAY,EACZ,aAAa,EACb,OAAO,EACP,QAAQ,CACT,CAAC;wBACF,IAAI,MAAM,EAAE,CAAC;4BACX,OAAO,CAAC,MAAM,CAAC;gCACb,IAAI,EAAE,QAAQ;gCACd,SAAS,EAAE,gBAAgB;gCAC3B,IAAI,EAAE;oCACJ,QAAQ,EAAE,YAAY,CAAC,aAAa,CAAC;oCACrC,MAAM,EAAE,YAAY,CAAC,YAAY,CAAC;iCACnC;6BACF,CAAC,CAAC;wBACL,CAAC;oBACH,CAAC;gBACH,CAAC;YACH,CAAC;QACH,CAAC;QAED,OAAO;YACL,+BAA+B,CAC7B,IAAsD;gBAEtD,oBAAoB,CAAC,IAAI,CAAC,SAAS,EAAE,IAAI,CAAC,MAAM,EAAE,IAAI,CAAC,CAAC;YAC1D,CAAC;YACD,wBAAwB,CAAC,IAAuC;gBAC9D,oBAAoB,CAAC,IAAI,CAAC,KAAK,CAAC,WAAW,EAAE,IAAI,CAAC,GAAG,EAAE,IAAI,CAAC,CAAC;YAC/D,CAAC;SACF,CAAC;IACJ,CAAC;CACF,CAAC,CAAC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unsafe-assignment.js b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unsafe-assignment.js index 2298e0723c..aa35a0d7fd 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unsafe-assignment.js +++ b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unsafe-assignment.js @@ -15,13 +15,23 @@ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? ( }) : function(o, v) { o["default"] = v; }); -var __importStar = (this && this.__importStar) || function (mod) { - if (mod && mod.__esModule) return mod; - var result = {}; - if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k); - __setModuleDefault(result, mod); - return result; -}; +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); Object.defineProperty(exports, "__esModule", { value: true }); const utils_1 = require("@typescript-eslint/utils"); const tsutils = __importStar(require("ts-api-utils")); diff --git a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unsafe-assignment.js.map b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unsafe-assignment.js.map index 14a0be90ed..a81e758638 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unsafe-assignment.js.map +++ b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unsafe-assignment.js.map @@ -1 +1 @@ -{"version":3,"file":"no-unsafe-assignment.js","sourceRoot":"","sources":["../../src/rules/no-unsafe-assignment.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AAGA,oDAA0D;AAC1D,sDAAwC;AAExC,kCAYiB;AAWjB,kBAAe,IAAA,iBAAU,EAAC;IACxB,IAAI,EAAE,sBAAsB;IAC5B,IAAI,EAAE;QACJ,IAAI,EAAE,SAAS;QACf,IAAI,EAAE;YACJ,WAAW,EACT,wEAAwE;YAC1E,WAAW,EAAE,aAAa;YAC1B,oBAAoB,EAAE,IAAI;SAC3B;QACD,QAAQ,EAAE;YACR,aAAa,EAAE,2CAA2C;YAC1D,iBAAiB,EAAE;gBACjB,qEAAqE;gBACrE,2HAA2H;aAC5H,CAAC,IAAI,CAAC,IAAI,CAAC;YACZ,kBAAkB,EAChB,0DAA0D;YAC5D,2BAA2B,EACzB,yEAAyE;YAC3E,iBAAiB,EAAE,mDAAmD;YACtE,gBAAgB,EACd,0EAA0E;SAC7E;QACD,MAAM,EAAE,EAAE;KACX;IACD,cAAc,EAAE,EAAE;IAClB,MAAM,CAAC,OAAO;QACZ,MAAM,QAAQ,GAAG,IAAA,wBAAiB,EAAC,OAAO,CAAC,CAAC;QAC5C,MAAM,OAAO,GAAG,QAAQ,CAAC,OAAO,CAAC,cAAc,EAAE,CAAC;QAClD,MAAM,eAAe,GAAG,QAAQ,CAAC,OAAO,CAAC,kBAAkB,EAAE,CAAC;QAC9D,MAAM,gBAAgB,GAAG,OAAO,CAAC,6BAA6B,CAC5D,eAAe,EACf,gBAAgB,CACjB,CAAC;QAEF,0CAA0C;QAC1C,SAAS,2BAA2B,CAClC,YAA2B,EAC3B,UAAyB;YAEzB,IAAI,YAAY,CAAC,IAAI,KAAK,sBAAc,CAAC,YAAY,EAAE,CAAC;gBACtD,OAAO,KAAK,CAAC;YACf,CAAC;YAED,MAAM,YAAY,GAAG,QAAQ,CAAC,qBAAqB,CAAC,GAAG,CAAC,UAAU,CAAC,CAAC;YACpE,MAAM,UAAU,GAAG,QAAQ,CAAC,iBAAiB,CAAC,UAAU,CAAC,CAAC;YAE1D,OAAO,qBAAqB,CAAC,YAAY,EAAE,UAAU,EAAE,YAAY,CAAC,CAAC;QACvE,CAAC;QAED,0CAA0C;QAC1C,SAAS,qBAAqB,CAC5B,YAAmC,EACnC,UAAmB,EACnB,UAAmB;YAEnB,YAAY;YACZ,6BAA6B;YAC7B,IAAI,IAAA,yBAAkB,EAAC,UAAU,EAAE,OAAO,CAAC,EAAE,CAAC;gBAC5C,OAAO,CAAC,MAAM,CAAC;oBACb,IAAI,EAAE,YAAY;oBAClB,SAAS,EAAE,oBAAoB;oBAC/B,IAAI,EAAE,UAAU,CAAC,UAAU,CAAC;iBAC7B,CAAC,CAAC;gBACH,OAAO,KAAK,CAAC;YACf,CAAC;YAED,IAAI,CAAC,OAAO,CAAC,WAAW,CAAC,UAAU,CAAC,EAAE,CAAC;gBACrC,OAAO,IAAI,CAAC;YACd,CAAC;YAED,MAAM,aAAa,GAAG,OAAO,CAAC,gBAAgB,CAAC,UAAU,CAAC,CAAC;YAE3D,iBAAiB;YACjB,0BAA0B;YAC1B,IAAI,SAAS,GAAG,KAAK,CAAC;YACtB,KACE,IAAI,aAAa,GAAG,CAAC,EACrB,aAAa,GAAG,YAAY,CAAC,QAAQ,CAAC,MAAM,EAC5C,aAAa,IAAI,CAAC,EAClB,CAAC;gBACD,MAAM,eAAe,GAAG,YAAY,CAAC,QAAQ,CAAC,aAAa,CAAC,CAAC;gBAC7D,IAAI,CAAC,eAAe,EAAE,CAAC;oBACrB,SAAS;gBACX,CAAC;gBAED,IAAI,eAAe,CAAC,IAAI,KAAK,sBAAc,CAAC,WAAW,EAAE,CAAC;oBACxD,qDAAqD;oBACrD,SAAS;gBACX,CAAC;gBAED,MAAM,UAAU,GAAG,aAAa,CAAC,aAAa,CAAwB,CAAC;gBACvE,IAAI,CAAC,UAAU,EAAE,CAAC;oBAChB,SAAS;gBACX,CAAC;gBAED,gEAAgE;gBAChE,IAAI,IAAA,oBAAa,EAAC,UAAU,CAAC,EAAE,CAAC;oBAC9B,OAAO,CAAC,MAAM,CAAC;wBACb,IAAI,EAAE,eAAe;wBACrB,SAAS,EAAE,6BAA6B;wBACxC,IAAI,EAAE,UAAU,CAAC,UAAU,CAAC;qBAC7B,CAAC,CAAC;oBACH,0DAA0D;oBAC1D,SAAS,GAAG,IAAI,CAAC;gBACnB,CAAC;qBAAM,IAAI,eAAe,CAAC,IAAI,KAAK,sBAAc,CAAC,YAAY,EAAE,CAAC;oBAChE,SAAS,GAAG,qBAAqB,CAC/B,eAAe,EACf,UAAU,EACV,UAAU,CACX,CAAC;gBACJ,CAAC;qBAAM,IAAI,eAAe,CAAC,IAAI,KAAK,sBAAc,CAAC,aAAa,EAAE,CAAC;oBACjE,SAAS,GAAG,sBAAsB,CAChC,eAAe,EACf,UAAU,EACV,UAAU,CACX,CAAC;gBACJ,CAAC;YACH,CAAC;YAED,OAAO,SAAS,CAAC;QACnB,CAAC;QAED,0CAA0C;QAC1C,SAAS,4BAA4B,CACnC,YAA2B,EAC3B,UAAyB;YAEzB,IAAI,YAAY,CAAC,IAAI,KAAK,sBAAc,CAAC,aAAa,EAAE,CAAC;gBACvD,OAAO,KAAK,CAAC;YACf,CAAC;YAED,MAAM,YAAY,GAAG,QAAQ,CAAC,qBAAqB,CAAC,GAAG,CAAC,UAAU,CAAC,CAAC;YACpE,MAAM,UAAU,GAAG,QAAQ,CAAC,iBAAiB,CAAC,UAAU,CAAC,CAAC;YAE1D,OAAO,sBAAsB,CAAC,YAAY,EAAE,UAAU,EAAE,YAAY,CAAC,CAAC;QACxE,CAAC;QAED,0CAA0C;QAC1C,SAAS,sBAAsB,CAC7B,YAAoC,EACpC,UAAmB,EACnB,UAAmB;YAEnB,MAAM,UAAU,GAAG,IAAI,GAAG,CACxB,UAAU;iBACP,aAAa,EAAE;iBACf,GAAG,CAAC,QAAQ,CAAC,EAAE,CAAC;gBACf,QAAQ,CAAC,OAAO,EAAE;gBAClB,OAAO,CAAC,yBAAyB,CAAC,QAAQ,EAAE,UAAU,CAAC;aACxD,CAAC,CACL,CAAC;YAEF,IAAI,SAAS,GAAG,KAAK,CAAC;YACtB,KAAK,MAAM,gBAAgB,IAAI,YAAY,CAAC,UAAU,EAAE,CAAC;gBACvD,IAAI,gBAAgB,CAAC,IAAI,KAAK,sBAAc,CAAC,WAAW,EAAE,CAAC;oBACzD,6BAA6B;oBAC7B,SAAS;gBACX,CAAC;gBAED,IAAI,GAAW,CAAC;gBAChB,IAAI,CAAC,gBAAgB,CAAC,QAAQ,EAAE,CAAC;oBAC/B,GAAG;wBACD,gBAAgB,CAAC,GAAG,CAAC,IAAI,KAAK,sBAAc,CAAC,UAAU;4BACrD,CAAC,CAAC,gBAAgB,CAAC,GAAG,CAAC,IAAI;4BAC3B,CAAC,CAAC,MAAM,CAAC,gBAAgB,CAAC,GAAG,CAAC,KAAK,CAAC,CAAC;gBAC3C,CAAC;qBAAM,IAAI,gBAAgB,CAAC,GAAG,CAAC,IAAI,KAAK,sBAAc,CAAC,OAAO,EAAE,CAAC;oBAChE,GAAG,GAAG,MAAM,CAAC,gBAAgB,CAAC,GAAG,CAAC,KAAK,CAAC,CAAC;gBAC3C,CAAC;qBAAM,IACL,gBAAgB,CAAC,GAAG,CAAC,IAAI,KAAK,sBAAc,CAAC,eAAe;oBAC5D,gBAAgB,CAAC,GAAG,CAAC,MAAM,CAAC,MAAM,KAAK,CAAC,EACxC,CAAC;oBACD,GAAG,GAAG,MAAM,CAAC,gBAAgB,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;gBAC5D,CAAC;qBAAM,CAAC;oBACN,wCAAwC;oBACxC,SAAS;gBACX,CAAC;gBAED,MAAM,UAAU,GAAG,UAAU,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC;gBACvC,IAAI,CAAC,UAAU,EAAE,CAAC;oBAChB,SAAS;gBACX,CAAC;gBAED,uEAAuE;gBACvE,IAAI,IAAA,oBAAa,EAAC,UAAU,CAAC,EAAE,CAAC;oBAC9B,OAAO,CAAC,MAAM,CAAC;wBACb,IAAI,EAAE,gBAAgB,CAAC,KAAK;wBAC5B,SAAS,EAAE,6BAA6B;wBACxC,IAAI,EAAE,UAAU,CAAC,UAAU,CAAC;qBAC7B,CAAC,CAAC;oBACH,SAAS,GAAG,IAAI,CAAC;gBACnB,CAAC;qBAAM,IACL,gBAAgB,CAAC,KAAK,CAAC,IAAI,KAAK,sBAAc,CAAC,YAAY,EAC3D,CAAC;oBACD,SAAS,GAAG,qBAAqB,CAC/B,gBAAgB,CAAC,KAAK,EACtB,UAAU,EACV,UAAU,CACX,CAAC;gBACJ,CAAC;qBAAM,IACL,gBAAgB,CAAC,KAAK,CAAC,IAAI,KAAK,sBAAc,CAAC,aAAa,EAC5D,CAAC;oBACD,SAAS,GAAG,sBAAsB,CAChC,gBAAgB,CAAC,KAAK,EACtB,UAAU,EACV,UAAU,CACX,CAAC;gBACJ,CAAC;YACH,CAAC;YAED,OAAO,SAAS,CAAC;QACnB,CAAC;QAED,0CAA0C;QAC1C,SAAS,eAAe,CACtB,YAA2B,EAC3B,UAA+B,EAC/B,aAA4B,EAC5B,cAA8B;YAE9B,MAAM,cAAc,GAAG,QAAQ,CAAC,qBAAqB,CAAC,GAAG,CAAC,YAAY,CAAC,CAAC;YACxE,MAAM,YAAY,GAChB,cAAc,sCAA8B;gBAC1C,CAAC,CAAC,IAAA,wBAAiB,EAAC,OAAO,EAAE,cAA+B,CAAC;oBAC3D,QAAQ,CAAC,iBAAiB,CAAC,YAAY,CAAC;gBAC1C,CAAC,CAAC,QAAQ,CAAC,iBAAiB,CAAC,YAAY,CAAC,CAAC;YAC/C,MAAM,UAAU,GAAG,QAAQ,CAAC,iBAAiB,CAAC,UAAU,CAAC,CAAC;YAE1D,IAAI,IAAA,oBAAa,EAAC,UAAU,CAAC,EAAE,CAAC;gBAC9B,+CAA+C;gBAC/C,IAAI,IAAA,wBAAiB,EAAC,YAAY,CAAC,EAAE,CAAC;oBACpC,OAAO,KAAK,CAAC;gBACf,CAAC;gBAED,IAAI,SAAS,GAA0C,eAAe,CAAC;gBAEvE,IAAI,CAAC,gBAAgB,EAAE,CAAC;oBACtB,mBAAmB;oBACnB,MAAM,cAAc,GAAG,IAAA,wBAAiB,EAAC,UAAU,CAAC,CAAC;oBACrD,IACE,cAAc;wBACd,IAAA,oBAAa,EACX,IAAA,mCAA4B,EAAC,QAAQ,EAAE,cAAc,CAAC,CACvD,EACD,CAAC;wBACD,SAAS,GAAG,mBAAmB,CAAC;oBAClC,CAAC;gBACH,CAAC;gBAED,OAAO,CAAC,MAAM,CAAC;oBACb,IAAI,EAAE,aAAa;oBACnB,SAAS;oBACT,IAAI,EAAE,UAAU,CAAC,UAAU,CAAC;iBAC7B,CAAC,CAAC;gBAEH,OAAO,IAAI,CAAC;YACd,CAAC;YAED,IAAI,cAAc,gCAAwB,EAAE,CAAC;gBAC3C,OAAO,KAAK,CAAC;YACf,CAAC;YAED,MAAM,MAAM,GAAG,IAAA,yBAAkB,EAC/B,UAAU,EACV,YAAY,EACZ,OAAO,EACP,UAAU,CACX,CAAC;YACF,IAAI,CAAC,MAAM,EAAE,CAAC;gBACZ,OAAO,KAAK,CAAC;YACf,CAAC;YAED,MAAM,EAAE,QAAQ,EAAE,MAAM,EAAE,GAAG,MAAM,CAAC;YACpC,OAAO,CAAC,MAAM,CAAC;gBACb,IAAI,EAAE,aAAa;gBACnB,SAAS,EAAE,kBAAkB;gBAC7B,IAAI,EAAE,UAAU,CAAC,MAAM,EAAE,QAAQ,CAAC;aACnC,CAAC,CAAC;YACH,OAAO,IAAI,CAAC;QACd,CAAC;QAED,SAAS,iBAAiB,CACxB,cAAqD;YAErD,OAAO,cAAc;gBACnB,CAAC,CAAC,uDAAuD;;gBAEzD,CAAC,CAAC,iFAAiF;+CAC9D,CAAC;QAC1B,CAAC;QAED,SAAS,UAAU,CACjB,UAAmB,EACnB,YAAsB;YAEtB,IAAI,YAAY,EAAE,CAAC;gBACjB,OAAO;oBACL,QAAQ,EAAE,KAAK,OAAO,CAAC,YAAY,CAAC,YAAY,CAAC,IAAI;oBACrD,MAAM,EAAE,KAAK,OAAO,CAAC,YAAY,CAAC,UAAU,CAAC,IAAI;iBAClD,CAAC;YACJ,CAAC;YACD,OAAO;gBACL,MAAM,EAAE,OAAO,CAAC,oBAAoB,CAAC,UAAU,CAAC;oBAC9C,CAAC,CAAC,aAAa;oBACf,CAAC,CAAC,OAAO;aACZ,CAAC;QACJ,CAAC;QAED,OAAO;YACL,yDAAyD,CACvD,IAAgE;gBAEhE,IAAI,SAAS,GAAG,eAAe,CAC7B,IAAI,CAAC,IAAI,EACT,IAAI,CAAC,KAAK,EACV,IAAI,+BAGL,CAAC;gBAEF,IAAI,CAAC,SAAS,EAAE,CAAC;oBACf,SAAS,GAAG,2BAA2B,CAAC,IAAI,CAAC,IAAI,EAAE,IAAI,CAAC,KAAK,CAAC,CAAC;gBACjE,CAAC;gBACD,IAAI,CAAC,SAAS,EAAE,CAAC;oBACf,4BAA4B,CAAC,IAAI,CAAC,IAAI,EAAE,IAAI,CAAC,KAAK,CAAC,CAAC;gBACtD,CAAC;YACH,CAAC;YACD,mCAAmC,CACjC,IAAmE;gBAEnE,eAAe,CACb,IAAI,CAAC,GAAG,EACR,IAAI,CAAC,KAAK,EACV,IAAI,EACJ,iBAAiB,CAAC,IAAI,CAAC,cAAc,CAAC,CACvC,CAAC;YACJ,CAAC;YACD,kCAAkC,CAChC,IAAiC;gBAEjC,MAAM,IAAI,GAAG,IAAA,iBAAU,EACrB,IAAI,CAAC,IAAI,EACT,wBAAiB,CAAC,YAAY,CAAC,IAAI,CAAC,IAAI,EAAE,MAAM,CAAC,CAClD,CAAC;gBACF,IAAI,SAAS,GAAG,eAAe,CAC7B,IAAI,CAAC,EAAE,EACP,IAAI,EACJ,IAAI,EACJ,iBAAiB,CAAC,IAAI,CAAC,EAAE,CAAC,cAAc,CAAC,CAC1C,CAAC;gBAEF,IAAI,CAAC,SAAS,EAAE,CAAC;oBACf,SAAS,GAAG,2BAA2B,CAAC,IAAI,CAAC,EAAE,EAAE,IAAI,CAAC,CAAC;gBACzD,CAAC;gBACD,IAAI,CAAC,SAAS,EAAE,CAAC;oBACf,4BAA4B,CAAC,IAAI,CAAC,EAAE,EAAE,IAAI,CAAC,CAAC;gBAC9C,CAAC;YACH,CAAC;YACD,mDAAmD;YACnD,gCAAgC,CAAC,IAAuB;gBACtD,IACE,IAAI,CAAC,KAAK,CAAC,IAAI,KAAK,sBAAc,CAAC,iBAAiB;oBACpD,IAAI,CAAC,KAAK,CAAC,IAAI,KAAK,sBAAc,CAAC,6BAA6B,EAChE,CAAC;oBACD,4BAA4B;oBAC5B,OAAO;gBACT,CAAC;gBAED,eAAe,CAAC,IAAI,CAAC,GAAG,EAAE,IAAI,CAAC,KAAK,EAAE,IAAI,oCAA4B,CAAC;YACzE,CAAC;YACD,iCAAiC,CAAC,IAA4B;gBAC5D,MAAM,QAAQ,GAAG,QAAQ,CAAC,iBAAiB,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC;gBAC3D,IAAI,IAAA,oBAAa,EAAC,QAAQ,CAAC,IAAI,IAAA,yBAAkB,EAAC,QAAQ,EAAE,OAAO,CAAC,EAAE,CAAC;oBACrE,OAAO,CAAC,MAAM,CAAC;wBACb,IAAI;wBACJ,SAAS,EAAE,mBAAmB;wBAC9B,IAAI,EAAE,UAAU,CAAC,QAAQ,CAAC;qBAC3B,CAAC,CAAC;gBACL,CAAC;YACH,CAAC;YACD,6BAA6B,CAAC,IAA2B;gBACvD,MAAM,KAAK,GAAG,IAAA,iBAAU,EACtB,IAAI,CAAC,KAAK,EACV,wBAAiB,CAAC,YAAY,CAAC,IAAI,CAAC,IAAI,EAAE,OAAO,CAAC,CACnD,CAAC;gBACF,IACE,KAAK,CAAC,IAAI,KAAK,sBAAc,CAAC,sBAAsB;oBACpD,KAAK,CAAC,UAAU,CAAC,IAAI,KAAK,sBAAc,CAAC,kBAAkB,EAC3D,CAAC;oBACD,OAAO;gBACT,CAAC;gBAED,eAAe,CACb,IAAI,CAAC,IAAI,EACT,KAAK,CAAC,UAAU,EAChB,KAAK,CAAC,UAAU,oCAEjB,CAAC;YACJ,CAAC;SACF,CAAC;IACJ,CAAC;CACF,CAAC,CAAC"} \ No newline at end of file +{"version":3,"file":"no-unsafe-assignment.js","sourceRoot":"","sources":["../../src/rules/no-unsafe-assignment.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAGA,oDAA0D;AAC1D,sDAAwC;AAExC,kCAYiB;AAWjB,kBAAe,IAAA,iBAAU,EAAC;IACxB,IAAI,EAAE,sBAAsB;IAC5B,IAAI,EAAE;QACJ,IAAI,EAAE,SAAS;QACf,IAAI,EAAE;YACJ,WAAW,EACT,wEAAwE;YAC1E,WAAW,EAAE,aAAa;YAC1B,oBAAoB,EAAE,IAAI;SAC3B;QACD,QAAQ,EAAE;YACR,aAAa,EAAE,2CAA2C;YAC1D,iBAAiB,EAAE;gBACjB,qEAAqE;gBACrE,2HAA2H;aAC5H,CAAC,IAAI,CAAC,IAAI,CAAC;YACZ,kBAAkB,EAChB,0DAA0D;YAC5D,2BAA2B,EACzB,yEAAyE;YAC3E,iBAAiB,EAAE,mDAAmD;YACtE,gBAAgB,EACd,0EAA0E;SAC7E;QACD,MAAM,EAAE,EAAE;KACX;IACD,cAAc,EAAE,EAAE;IAClB,MAAM,CAAC,OAAO;QACZ,MAAM,QAAQ,GAAG,IAAA,wBAAiB,EAAC,OAAO,CAAC,CAAC;QAC5C,MAAM,OAAO,GAAG,QAAQ,CAAC,OAAO,CAAC,cAAc,EAAE,CAAC;QAClD,MAAM,eAAe,GAAG,QAAQ,CAAC,OAAO,CAAC,kBAAkB,EAAE,CAAC;QAC9D,MAAM,gBAAgB,GAAG,OAAO,CAAC,6BAA6B,CAC5D,eAAe,EACf,gBAAgB,CACjB,CAAC;QAEF,0CAA0C;QAC1C,SAAS,2BAA2B,CAClC,YAA2B,EAC3B,UAAyB;YAEzB,IAAI,YAAY,CAAC,IAAI,KAAK,sBAAc,CAAC,YAAY,EAAE,CAAC;gBACtD,OAAO,KAAK,CAAC;YACf,CAAC;YAED,MAAM,YAAY,GAAG,QAAQ,CAAC,qBAAqB,CAAC,GAAG,CAAC,UAAU,CAAC,CAAC;YACpE,MAAM,UAAU,GAAG,QAAQ,CAAC,iBAAiB,CAAC,UAAU,CAAC,CAAC;YAE1D,OAAO,qBAAqB,CAAC,YAAY,EAAE,UAAU,EAAE,YAAY,CAAC,CAAC;QACvE,CAAC;QAED,0CAA0C;QAC1C,SAAS,qBAAqB,CAC5B,YAAmC,EACnC,UAAmB,EACnB,UAAmB;YAEnB,YAAY;YACZ,6BAA6B;YAC7B,IAAI,IAAA,yBAAkB,EAAC,UAAU,EAAE,OAAO,CAAC,EAAE,CAAC;gBAC5C,OAAO,CAAC,MAAM,CAAC;oBACb,IAAI,EAAE,YAAY;oBAClB,SAAS,EAAE,oBAAoB;oBAC/B,IAAI,EAAE,UAAU,CAAC,UAAU,CAAC;iBAC7B,CAAC,CAAC;gBACH,OAAO,KAAK,CAAC;YACf,CAAC;YAED,IAAI,CAAC,OAAO,CAAC,WAAW,CAAC,UAAU,CAAC,EAAE,CAAC;gBACrC,OAAO,IAAI,CAAC;YACd,CAAC;YAED,MAAM,aAAa,GAAG,OAAO,CAAC,gBAAgB,CAAC,UAAU,CAAC,CAAC;YAE3D,iBAAiB;YACjB,0BAA0B;YAC1B,IAAI,SAAS,GAAG,KAAK,CAAC;YACtB,KACE,IAAI,aAAa,GAAG,CAAC,EACrB,aAAa,GAAG,YAAY,CAAC,QAAQ,CAAC,MAAM,EAC5C,aAAa,IAAI,CAAC,EAClB,CAAC;gBACD,MAAM,eAAe,GAAG,YAAY,CAAC,QAAQ,CAAC,aAAa,CAAC,CAAC;gBAC7D,IAAI,CAAC,eAAe,EAAE,CAAC;oBACrB,SAAS;gBACX,CAAC;gBAED,IAAI,eAAe,CAAC,IAAI,KAAK,sBAAc,CAAC,WAAW,EAAE,CAAC;oBACxD,qDAAqD;oBACrD,SAAS;gBACX,CAAC;gBAED,MAAM,UAAU,GAAG,aAAa,CAAC,aAAa,CAAwB,CAAC;gBACvE,IAAI,CAAC,UAAU,EAAE,CAAC;oBAChB,SAAS;gBACX,CAAC;gBAED,gEAAgE;gBAChE,IAAI,IAAA,oBAAa,EAAC,UAAU,CAAC,EAAE,CAAC;oBAC9B,OAAO,CAAC,MAAM,CAAC;wBACb,IAAI,EAAE,eAAe;wBACrB,SAAS,EAAE,6BAA6B;wBACxC,IAAI,EAAE,UAAU,CAAC,UAAU,CAAC;qBAC7B,CAAC,CAAC;oBACH,0DAA0D;oBAC1D,SAAS,GAAG,IAAI,CAAC;gBACnB,CAAC;qBAAM,IAAI,eAAe,CAAC,IAAI,KAAK,sBAAc,CAAC,YAAY,EAAE,CAAC;oBAChE,SAAS,GAAG,qBAAqB,CAC/B,eAAe,EACf,UAAU,EACV,UAAU,CACX,CAAC;gBACJ,CAAC;qBAAM,IAAI,eAAe,CAAC,IAAI,KAAK,sBAAc,CAAC,aAAa,EAAE,CAAC;oBACjE,SAAS,GAAG,sBAAsB,CAChC,eAAe,EACf,UAAU,EACV,UAAU,CACX,CAAC;gBACJ,CAAC;YACH,CAAC;YAED,OAAO,SAAS,CAAC;QACnB,CAAC;QAED,0CAA0C;QAC1C,SAAS,4BAA4B,CACnC,YAA2B,EAC3B,UAAyB;YAEzB,IAAI,YAAY,CAAC,IAAI,KAAK,sBAAc,CAAC,aAAa,EAAE,CAAC;gBACvD,OAAO,KAAK,CAAC;YACf,CAAC;YAED,MAAM,YAAY,GAAG,QAAQ,CAAC,qBAAqB,CAAC,GAAG,CAAC,UAAU,CAAC,CAAC;YACpE,MAAM,UAAU,GAAG,QAAQ,CAAC,iBAAiB,CAAC,UAAU,CAAC,CAAC;YAE1D,OAAO,sBAAsB,CAAC,YAAY,EAAE,UAAU,EAAE,YAAY,CAAC,CAAC;QACxE,CAAC;QAED,0CAA0C;QAC1C,SAAS,sBAAsB,CAC7B,YAAoC,EACpC,UAAmB,EACnB,UAAmB;YAEnB,MAAM,UAAU,GAAG,IAAI,GAAG,CACxB,UAAU;iBACP,aAAa,EAAE;iBACf,GAAG,CAAC,QAAQ,CAAC,EAAE,CAAC;gBACf,QAAQ,CAAC,OAAO,EAAE;gBAClB,OAAO,CAAC,yBAAyB,CAAC,QAAQ,EAAE,UAAU,CAAC;aACxD,CAAC,CACL,CAAC;YAEF,IAAI,SAAS,GAAG,KAAK,CAAC;YACtB,KAAK,MAAM,gBAAgB,IAAI,YAAY,CAAC,UAAU,EAAE,CAAC;gBACvD,IAAI,gBAAgB,CAAC,IAAI,KAAK,sBAAc,CAAC,WAAW,EAAE,CAAC;oBACzD,6BAA6B;oBAC7B,SAAS;gBACX,CAAC;gBAED,IAAI,GAAW,CAAC;gBAChB,IAAI,CAAC,gBAAgB,CAAC,QAAQ,EAAE,CAAC;oBAC/B,GAAG;wBACD,gBAAgB,CAAC,GAAG,CAAC,IAAI,KAAK,sBAAc,CAAC,UAAU;4BACrD,CAAC,CAAC,gBAAgB,CAAC,GAAG,CAAC,IAAI;4BAC3B,CAAC,CAAC,MAAM,CAAC,gBAAgB,CAAC,GAAG,CAAC,KAAK,CAAC,CAAC;gBAC3C,CAAC;qBAAM,IAAI,gBAAgB,CAAC,GAAG,CAAC,IAAI,KAAK,sBAAc,CAAC,OAAO,EAAE,CAAC;oBAChE,GAAG,GAAG,MAAM,CAAC,gBAAgB,CAAC,GAAG,CAAC,KAAK,CAAC,CAAC;gBAC3C,CAAC;qBAAM,IACL,gBAAgB,CAAC,GAAG,CAAC,IAAI,KAAK,sBAAc,CAAC,eAAe;oBAC5D,gBAAgB,CAAC,GAAG,CAAC,MAAM,CAAC,MAAM,KAAK,CAAC,EACxC,CAAC;oBACD,GAAG,GAAG,MAAM,CAAC,gBAAgB,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;gBAC5D,CAAC;qBAAM,CAAC;oBACN,wCAAwC;oBACxC,SAAS;gBACX,CAAC;gBAED,MAAM,UAAU,GAAG,UAAU,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC;gBACvC,IAAI,CAAC,UAAU,EAAE,CAAC;oBAChB,SAAS;gBACX,CAAC;gBAED,uEAAuE;gBACvE,IAAI,IAAA,oBAAa,EAAC,UAAU,CAAC,EAAE,CAAC;oBAC9B,OAAO,CAAC,MAAM,CAAC;wBACb,IAAI,EAAE,gBAAgB,CAAC,KAAK;wBAC5B,SAAS,EAAE,6BAA6B;wBACxC,IAAI,EAAE,UAAU,CAAC,UAAU,CAAC;qBAC7B,CAAC,CAAC;oBACH,SAAS,GAAG,IAAI,CAAC;gBACnB,CAAC;qBAAM,IACL,gBAAgB,CAAC,KAAK,CAAC,IAAI,KAAK,sBAAc,CAAC,YAAY,EAC3D,CAAC;oBACD,SAAS,GAAG,qBAAqB,CAC/B,gBAAgB,CAAC,KAAK,EACtB,UAAU,EACV,UAAU,CACX,CAAC;gBACJ,CAAC;qBAAM,IACL,gBAAgB,CAAC,KAAK,CAAC,IAAI,KAAK,sBAAc,CAAC,aAAa,EAC5D,CAAC;oBACD,SAAS,GAAG,sBAAsB,CAChC,gBAAgB,CAAC,KAAK,EACtB,UAAU,EACV,UAAU,CACX,CAAC;gBACJ,CAAC;YACH,CAAC;YAED,OAAO,SAAS,CAAC;QACnB,CAAC;QAED,0CAA0C;QAC1C,SAAS,eAAe,CACtB,YAA2B,EAC3B,UAA+B,EAC/B,aAA4B,EAC5B,cAA8B;YAE9B,MAAM,cAAc,GAAG,QAAQ,CAAC,qBAAqB,CAAC,GAAG,CAAC,YAAY,CAAC,CAAC;YACxE,MAAM,YAAY,GAChB,cAAc,sCAA8B;gBAC1C,CAAC,CAAC,IAAA,wBAAiB,EAAC,OAAO,EAAE,cAA+B,CAAC;oBAC3D,QAAQ,CAAC,iBAAiB,CAAC,YAAY,CAAC;gBAC1C,CAAC,CAAC,QAAQ,CAAC,iBAAiB,CAAC,YAAY,CAAC,CAAC;YAC/C,MAAM,UAAU,GAAG,QAAQ,CAAC,iBAAiB,CAAC,UAAU,CAAC,CAAC;YAE1D,IAAI,IAAA,oBAAa,EAAC,UAAU,CAAC,EAAE,CAAC;gBAC9B,+CAA+C;gBAC/C,IAAI,IAAA,wBAAiB,EAAC,YAAY,CAAC,EAAE,CAAC;oBACpC,OAAO,KAAK,CAAC;gBACf,CAAC;gBAED,IAAI,SAAS,GAA0C,eAAe,CAAC;gBAEvE,IAAI,CAAC,gBAAgB,EAAE,CAAC;oBACtB,mBAAmB;oBACnB,MAAM,cAAc,GAAG,IAAA,wBAAiB,EAAC,UAAU,CAAC,CAAC;oBACrD,IACE,cAAc;wBACd,IAAA,oBAAa,EACX,IAAA,mCAA4B,EAAC,QAAQ,EAAE,cAAc,CAAC,CACvD,EACD,CAAC;wBACD,SAAS,GAAG,mBAAmB,CAAC;oBAClC,CAAC;gBACH,CAAC;gBAED,OAAO,CAAC,MAAM,CAAC;oBACb,IAAI,EAAE,aAAa;oBACnB,SAAS;oBACT,IAAI,EAAE,UAAU,CAAC,UAAU,CAAC;iBAC7B,CAAC,CAAC;gBAEH,OAAO,IAAI,CAAC;YACd,CAAC;YAED,IAAI,cAAc,gCAAwB,EAAE,CAAC;gBAC3C,OAAO,KAAK,CAAC;YACf,CAAC;YAED,MAAM,MAAM,GAAG,IAAA,yBAAkB,EAC/B,UAAU,EACV,YAAY,EACZ,OAAO,EACP,UAAU,CACX,CAAC;YACF,IAAI,CAAC,MAAM,EAAE,CAAC;gBACZ,OAAO,KAAK,CAAC;YACf,CAAC;YAED,MAAM,EAAE,QAAQ,EAAE,MAAM,EAAE,GAAG,MAAM,CAAC;YACpC,OAAO,CAAC,MAAM,CAAC;gBACb,IAAI,EAAE,aAAa;gBACnB,SAAS,EAAE,kBAAkB;gBAC7B,IAAI,EAAE,UAAU,CAAC,MAAM,EAAE,QAAQ,CAAC;aACnC,CAAC,CAAC;YACH,OAAO,IAAI,CAAC;QACd,CAAC;QAED,SAAS,iBAAiB,CACxB,cAAqD;YAErD,OAAO,cAAc;gBACnB,CAAC,CAAC,uDAAuD;;gBAEzD,CAAC,CAAC,iFAAiF;+CAC9D,CAAC;QAC1B,CAAC;QAED,SAAS,UAAU,CACjB,UAAmB,EACnB,YAAsB;YAEtB,IAAI,YAAY,EAAE,CAAC;gBACjB,OAAO;oBACL,QAAQ,EAAE,KAAK,OAAO,CAAC,YAAY,CAAC,YAAY,CAAC,IAAI;oBACrD,MAAM,EAAE,KAAK,OAAO,CAAC,YAAY,CAAC,UAAU,CAAC,IAAI;iBAClD,CAAC;YACJ,CAAC;YACD,OAAO;gBACL,MAAM,EAAE,OAAO,CAAC,oBAAoB,CAAC,UAAU,CAAC;oBAC9C,CAAC,CAAC,aAAa;oBACf,CAAC,CAAC,OAAO;aACZ,CAAC;QACJ,CAAC;QAED,OAAO;YACL,yDAAyD,CACvD,IAAgE;gBAEhE,IAAI,SAAS,GAAG,eAAe,CAC7B,IAAI,CAAC,IAAI,EACT,IAAI,CAAC,KAAK,EACV,IAAI,+BAGL,CAAC;gBAEF,IAAI,CAAC,SAAS,EAAE,CAAC;oBACf,SAAS,GAAG,2BAA2B,CAAC,IAAI,CAAC,IAAI,EAAE,IAAI,CAAC,KAAK,CAAC,CAAC;gBACjE,CAAC;gBACD,IAAI,CAAC,SAAS,EAAE,CAAC;oBACf,4BAA4B,CAAC,IAAI,CAAC,IAAI,EAAE,IAAI,CAAC,KAAK,CAAC,CAAC;gBACtD,CAAC;YACH,CAAC;YACD,mCAAmC,CACjC,IAAmE;gBAEnE,eAAe,CACb,IAAI,CAAC,GAAG,EACR,IAAI,CAAC,KAAK,EACV,IAAI,EACJ,iBAAiB,CAAC,IAAI,CAAC,cAAc,CAAC,CACvC,CAAC;YACJ,CAAC;YACD,kCAAkC,CAChC,IAAiC;gBAEjC,MAAM,IAAI,GAAG,IAAA,iBAAU,EACrB,IAAI,CAAC,IAAI,EACT,wBAAiB,CAAC,YAAY,CAAC,IAAI,CAAC,IAAI,EAAE,MAAM,CAAC,CAClD,CAAC;gBACF,IAAI,SAAS,GAAG,eAAe,CAC7B,IAAI,CAAC,EAAE,EACP,IAAI,EACJ,IAAI,EACJ,iBAAiB,CAAC,IAAI,CAAC,EAAE,CAAC,cAAc,CAAC,CAC1C,CAAC;gBAEF,IAAI,CAAC,SAAS,EAAE,CAAC;oBACf,SAAS,GAAG,2BAA2B,CAAC,IAAI,CAAC,EAAE,EAAE,IAAI,CAAC,CAAC;gBACzD,CAAC;gBACD,IAAI,CAAC,SAAS,EAAE,CAAC;oBACf,4BAA4B,CAAC,IAAI,CAAC,EAAE,EAAE,IAAI,CAAC,CAAC;gBAC9C,CAAC;YACH,CAAC;YACD,mDAAmD;YACnD,gCAAgC,CAAC,IAAuB;gBACtD,IACE,IAAI,CAAC,KAAK,CAAC,IAAI,KAAK,sBAAc,CAAC,iBAAiB;oBACpD,IAAI,CAAC,KAAK,CAAC,IAAI,KAAK,sBAAc,CAAC,6BAA6B,EAChE,CAAC;oBACD,4BAA4B;oBAC5B,OAAO;gBACT,CAAC;gBAED,eAAe,CAAC,IAAI,CAAC,GAAG,EAAE,IAAI,CAAC,KAAK,EAAE,IAAI,oCAA4B,CAAC;YACzE,CAAC;YACD,iCAAiC,CAAC,IAA4B;gBAC5D,MAAM,QAAQ,GAAG,QAAQ,CAAC,iBAAiB,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC;gBAC3D,IAAI,IAAA,oBAAa,EAAC,QAAQ,CAAC,IAAI,IAAA,yBAAkB,EAAC,QAAQ,EAAE,OAAO,CAAC,EAAE,CAAC;oBACrE,OAAO,CAAC,MAAM,CAAC;wBACb,IAAI;wBACJ,SAAS,EAAE,mBAAmB;wBAC9B,IAAI,EAAE,UAAU,CAAC,QAAQ,CAAC;qBAC3B,CAAC,CAAC;gBACL,CAAC;YACH,CAAC;YACD,6BAA6B,CAAC,IAA2B;gBACvD,MAAM,KAAK,GAAG,IAAA,iBAAU,EACtB,IAAI,CAAC,KAAK,EACV,wBAAiB,CAAC,YAAY,CAAC,IAAI,CAAC,IAAI,EAAE,OAAO,CAAC,CACnD,CAAC;gBACF,IACE,KAAK,CAAC,IAAI,KAAK,sBAAc,CAAC,sBAAsB;oBACpD,KAAK,CAAC,UAAU,CAAC,IAAI,KAAK,sBAAc,CAAC,kBAAkB,EAC3D,CAAC;oBACD,OAAO;gBACT,CAAC;gBAED,eAAe,CACb,IAAI,CAAC,IAAI,EACT,KAAK,CAAC,UAAU,EAChB,KAAK,CAAC,UAAU,oCAEjB,CAAC;YACJ,CAAC;SACF,CAAC;IACJ,CAAC;CACF,CAAC,CAAC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unsafe-call.js b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unsafe-call.js index 39e0bd9a69..c6ca5668bb 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unsafe-call.js +++ b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unsafe-call.js @@ -15,13 +15,23 @@ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? ( }) : function(o, v) { o["default"] = v; }); -var __importStar = (this && this.__importStar) || function (mod) { - if (mod && mod.__esModule) return mod; - var result = {}; - if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k); - __setModuleDefault(result, mod); - return result; -}; +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); Object.defineProperty(exports, "__esModule", { value: true }); const tsutils = __importStar(require("ts-api-utils")); const util_1 = require("../util"); diff --git a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unsafe-call.js.map b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unsafe-call.js.map index 370993f38d..e27acb65f0 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unsafe-call.js.map +++ b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unsafe-call.js.map @@ -1 +1 @@ -{"version":3,"file":"no-unsafe-call.js","sourceRoot":"","sources":["../../src/rules/no-unsafe-call.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AAEA,sDAAwC;AAExC,kCAOiB;AAQjB,kBAAe,IAAA,iBAAU,EAAiB;IACxC,IAAI,EAAE,gBAAgB;IACtB,IAAI,EAAE;QACJ,IAAI,EAAE,SAAS;QACf,IAAI,EAAE;YACJ,WAAW,EAAE,0CAA0C;YACvD,WAAW,EAAE,aAAa;YAC1B,oBAAoB,EAAE,IAAI;SAC3B;QACD,QAAQ,EAAE;YACR,UAAU,EAAE,2CAA2C;YACvD,cAAc,EAAE;gBACd,wEAAwE;gBACxE,2HAA2H;aAC5H,CAAC,IAAI,CAAC,IAAI,CAAC;YACZ,SAAS,EAAE,mDAAmD;YAC9D,iBAAiB,EAAE,iDAAiD;SACrE;QACD,MAAM,EAAE,EAAE;KACX;IACD,cAAc,EAAE,EAAE;IAClB,MAAM,CAAC,OAAO;QACZ,MAAM,QAAQ,GAAG,IAAA,wBAAiB,EAAC,OAAO,CAAC,CAAC;QAC5C,MAAM,eAAe,GAAG,QAAQ,CAAC,OAAO,CAAC,kBAAkB,EAAE,CAAC;QAC9D,MAAM,gBAAgB,GAAG,OAAO,CAAC,6BAA6B,CAC5D,eAAe,EACf,gBAAgB,CACjB,CAAC;QAEF,SAAS,SAAS,CAChB,IAAmB,EACnB,aAA4B,EAC5B,SAAqB;YAErB,MAAM,IAAI,GAAG,IAAA,mCAA4B,EAAC,QAAQ,EAAE,IAAI,CAAC,CAAC;YAE1D,IAAI,IAAA,oBAAa,EAAC,IAAI,CAAC,EAAE,CAAC;gBACxB,IAAI,CAAC,gBAAgB,EAAE,CAAC;oBACtB,gDAAgD;oBAChD,MAAM,cAAc,GAAG,IAAA,wBAAiB,EAAC,IAAI,CAAC,CAAC;oBAC/C,IACE,cAAc;wBACd,IAAA,oBAAa,EACX,IAAA,mCAA4B,EAAC,QAAQ,EAAE,cAAc,CAAC,CACvD,EACD,CAAC;wBACD,SAAS,GAAG,gBAAgB,CAAC;oBAC/B,CAAC;gBACH,CAAC;gBAED,MAAM,WAAW,GAAG,OAAO,CAAC,oBAAoB,CAAC,IAAI,CAAC,CAAC;gBAEvD,OAAO,CAAC,MAAM,CAAC;oBACb,IAAI,EAAE,aAAa;oBACnB,SAAS;oBACT,IAAI,EAAE;wBACJ,IAAI,EAAE,WAAW,CAAC,CAAC,CAAC,cAAc,CAAC,CAAC,CAAC,OAAO;qBAC7C;iBACF,CAAC,CAAC;gBACH,OAAO;YACT,CAAC;YAED,IAAI,IAAA,0BAAmB,EAAC,QAAQ,CAAC,OAAO,EAAE,IAAI,EAAE,UAAU,CAAC,EAAE,CAAC;gBAC5D,sFAAsF;gBACtF,EAAE;gBACF,0DAA0D;gBAC1D,EAAE;gBACF,wBAAwB;gBACxB,wEAAwE;gBACxE,mDAAmD;gBACnD,EAAE;gBACF,2CAA2C;gBAC3C,0CAA0C;gBAC1C,mDAAmD;gBAEnD,MAAM,mBAAmB,GAAG,IAAI,CAAC,sBAAsB,EAAE,CAAC;gBAC1D,IAAI,mBAAmB,CAAC,MAAM,GAAG,CAAC,EAAE,CAAC;oBACnC,OAAO;gBACT,CAAC;gBAED,MAAM,cAAc,GAAG,IAAI,CAAC,iBAAiB,EAAE,CAAC;gBAChD,IAAI,SAAS,KAAK,WAAW,EAAE,CAAC;oBAC9B,IACE,cAAc,CAAC,IAAI,CACjB,SAAS,CAAC,EAAE,CACV,CAAC,OAAO,CAAC,mBAAmB,CAAC,SAAS,CAAC,aAAa,EAAE,CAAC,CAC1D,EACD,CAAC;wBACD,OAAO;oBACT,CAAC;gBACH,CAAC;qBAAM,IAAI,cAAc,CAAC,MAAM,GAAG,CAAC,EAAE,CAAC;oBACrC,OAAO;gBACT,CAAC;gBAED,OAAO,CAAC,MAAM,CAAC;oBACb,IAAI,EAAE,aAAa;oBACnB,SAAS;oBACT,IAAI,EAAE;wBACJ,IAAI,EAAE,YAAY;qBACnB;iBACF,CAAC,CAAC;gBACH,OAAO;YACT,CAAC;QACH,CAAC;QAED,OAAO;YACL,2BAA2B,CACzB,IAAuC;gBAEvC,SAAS,CAAC,IAAI,EAAE,IAAI,EAAE,YAAY,CAAC,CAAC;YACtC,CAAC;YACD,aAAa,CAAC,IAAI;gBAChB,SAAS,CAAC,IAAI,CAAC,MAAM,EAAE,IAAI,EAAE,WAAW,CAAC,CAAC;YAC5C,CAAC;YACD,kCAAkC,CAAC,IAAmB;gBACpD,SAAS,CAAC,IAAI,EAAE,IAAI,EAAE,mBAAmB,CAAC,CAAC;YAC7C,CAAC;SACF,CAAC;IACJ,CAAC;CACF,CAAC,CAAC"} \ No newline at end of file +{"version":3,"file":"no-unsafe-call.js","sourceRoot":"","sources":["../../src/rules/no-unsafe-call.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEA,sDAAwC;AAExC,kCAOiB;AAQjB,kBAAe,IAAA,iBAAU,EAAiB;IACxC,IAAI,EAAE,gBAAgB;IACtB,IAAI,EAAE;QACJ,IAAI,EAAE,SAAS;QACf,IAAI,EAAE;YACJ,WAAW,EAAE,0CAA0C;YACvD,WAAW,EAAE,aAAa;YAC1B,oBAAoB,EAAE,IAAI;SAC3B;QACD,QAAQ,EAAE;YACR,UAAU,EAAE,2CAA2C;YACvD,cAAc,EAAE;gBACd,wEAAwE;gBACxE,2HAA2H;aAC5H,CAAC,IAAI,CAAC,IAAI,CAAC;YACZ,SAAS,EAAE,mDAAmD;YAC9D,iBAAiB,EAAE,iDAAiD;SACrE;QACD,MAAM,EAAE,EAAE;KACX;IACD,cAAc,EAAE,EAAE;IAClB,MAAM,CAAC,OAAO;QACZ,MAAM,QAAQ,GAAG,IAAA,wBAAiB,EAAC,OAAO,CAAC,CAAC;QAC5C,MAAM,eAAe,GAAG,QAAQ,CAAC,OAAO,CAAC,kBAAkB,EAAE,CAAC;QAC9D,MAAM,gBAAgB,GAAG,OAAO,CAAC,6BAA6B,CAC5D,eAAe,EACf,gBAAgB,CACjB,CAAC;QAEF,SAAS,SAAS,CAChB,IAAmB,EACnB,aAA4B,EAC5B,SAAqB;YAErB,MAAM,IAAI,GAAG,IAAA,mCAA4B,EAAC,QAAQ,EAAE,IAAI,CAAC,CAAC;YAE1D,IAAI,IAAA,oBAAa,EAAC,IAAI,CAAC,EAAE,CAAC;gBACxB,IAAI,CAAC,gBAAgB,EAAE,CAAC;oBACtB,gDAAgD;oBAChD,MAAM,cAAc,GAAG,IAAA,wBAAiB,EAAC,IAAI,CAAC,CAAC;oBAC/C,IACE,cAAc;wBACd,IAAA,oBAAa,EACX,IAAA,mCAA4B,EAAC,QAAQ,EAAE,cAAc,CAAC,CACvD,EACD,CAAC;wBACD,SAAS,GAAG,gBAAgB,CAAC;oBAC/B,CAAC;gBACH,CAAC;gBAED,MAAM,WAAW,GAAG,OAAO,CAAC,oBAAoB,CAAC,IAAI,CAAC,CAAC;gBAEvD,OAAO,CAAC,MAAM,CAAC;oBACb,IAAI,EAAE,aAAa;oBACnB,SAAS;oBACT,IAAI,EAAE;wBACJ,IAAI,EAAE,WAAW,CAAC,CAAC,CAAC,cAAc,CAAC,CAAC,CAAC,OAAO;qBAC7C;iBACF,CAAC,CAAC;gBACH,OAAO;YACT,CAAC;YAED,IAAI,IAAA,0BAAmB,EAAC,QAAQ,CAAC,OAAO,EAAE,IAAI,EAAE,UAAU,CAAC,EAAE,CAAC;gBAC5D,sFAAsF;gBACtF,EAAE;gBACF,0DAA0D;gBAC1D,EAAE;gBACF,wBAAwB;gBACxB,wEAAwE;gBACxE,mDAAmD;gBACnD,EAAE;gBACF,2CAA2C;gBAC3C,0CAA0C;gBAC1C,mDAAmD;gBAEnD,MAAM,mBAAmB,GAAG,IAAI,CAAC,sBAAsB,EAAE,CAAC;gBAC1D,IAAI,mBAAmB,CAAC,MAAM,GAAG,CAAC,EAAE,CAAC;oBACnC,OAAO;gBACT,CAAC;gBAED,MAAM,cAAc,GAAG,IAAI,CAAC,iBAAiB,EAAE,CAAC;gBAChD,IAAI,SAAS,KAAK,WAAW,EAAE,CAAC;oBAC9B,IACE,cAAc,CAAC,IAAI,CACjB,SAAS,CAAC,EAAE,CACV,CAAC,OAAO,CAAC,mBAAmB,CAAC,SAAS,CAAC,aAAa,EAAE,CAAC,CAC1D,EACD,CAAC;wBACD,OAAO;oBACT,CAAC;gBACH,CAAC;qBAAM,IAAI,cAAc,CAAC,MAAM,GAAG,CAAC,EAAE,CAAC;oBACrC,OAAO;gBACT,CAAC;gBAED,OAAO,CAAC,MAAM,CAAC;oBACb,IAAI,EAAE,aAAa;oBACnB,SAAS;oBACT,IAAI,EAAE;wBACJ,IAAI,EAAE,YAAY;qBACnB;iBACF,CAAC,CAAC;gBACH,OAAO;YACT,CAAC;QACH,CAAC;QAED,OAAO;YACL,2BAA2B,CACzB,IAAuC;gBAEvC,SAAS,CAAC,IAAI,EAAE,IAAI,EAAE,YAAY,CAAC,CAAC;YACtC,CAAC;YACD,aAAa,CAAC,IAAI;gBAChB,SAAS,CAAC,IAAI,CAAC,MAAM,EAAE,IAAI,EAAE,WAAW,CAAC,CAAC;YAC5C,CAAC;YACD,kCAAkC,CAAC,IAAmB;gBACpD,SAAS,CAAC,IAAI,EAAE,IAAI,EAAE,mBAAmB,CAAC,CAAC;YAC7C,CAAC;SACF,CAAC;IACJ,CAAC;CACF,CAAC,CAAC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unsafe-enum-comparison.js b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unsafe-enum-comparison.js index ded996f417..ae7dacb963 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unsafe-enum-comparison.js +++ b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unsafe-enum-comparison.js @@ -15,13 +15,23 @@ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? ( }) : function(o, v) { o["default"] = v; }); -var __importStar = (this && this.__importStar) || function (mod) { - if (mod && mod.__esModule) return mod; - var result = {}; - if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k); - __setModuleDefault(result, mod); - return result; -}; +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); Object.defineProperty(exports, "__esModule", { value: true }); const tsutils = __importStar(require("ts-api-utils")); const ts = __importStar(require("typescript")); diff --git a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unsafe-enum-comparison.js.map b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unsafe-enum-comparison.js.map index 75274b899a..914eac9891 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unsafe-enum-comparison.js.map +++ b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unsafe-enum-comparison.js.map @@ -1 +1 @@ -{"version":3,"file":"no-unsafe-enum-comparison.js","sourceRoot":"","sources":["../../src/rules/no-unsafe-enum-comparison.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AAEA,sDAAwC;AACxC,+CAAiC;AAEjC,kCAAwE;AACxE,gDAI6B;AAE7B;;GAEG;AACH,SAAS,YAAY,CAAC,aAAwB,EAAE,SAAkB;IAChE,MAAM,kBAAkB,GAAG,IAAI,GAAG,CAAC,aAAa,CAAC,GAAG,CAAC,gBAAgB,CAAC,CAAC,CAAC;IAExE,OAAO,CACL,CAAC,kBAAkB,CAAC,GAAG,CAAC,EAAE,CAAC,SAAS,CAAC,MAAM,CAAC,IAAI,YAAY,CAAC,SAAS,CAAC,CAAC;QACxE,CAAC,kBAAkB,CAAC,GAAG,CAAC,EAAE,CAAC,SAAS,CAAC,MAAM,CAAC,IAAI,YAAY,CAAC,SAAS,CAAC,CAAC,CACzE,CAAC;AACJ,CAAC;AAED,SAAS,YAAY,CAAC,IAAa;IACjC,MAAM,SAAS,GAAG,OAAO,CAAC,qBAAqB,CAAC,IAAI,CAAC,CAAC;IAEtD,OAAO,SAAS,CAAC,IAAI,CAAC,QAAQ,CAAC,EAAE;QAC/B,OAAO,OAAO,CAAC,aAAa,CAC1B,QAAQ,EACR,EAAE,CAAC,SAAS,CAAC,MAAM,GAAG,EAAE,CAAC,SAAS,CAAC,UAAU,CAC9C,CAAC;IACJ,CAAC,CAAC,CAAC;AACL,CAAC;AAED,SAAS,YAAY,CAAC,IAAa;IACjC,MAAM,SAAS,GAAG,OAAO,CAAC,qBAAqB,CAAC,IAAI,CAAC,CAAC;IAEtD,OAAO,SAAS,CAAC,IAAI,CAAC,QAAQ,CAAC,EAAE;QAC/B,OAAO,OAAO,CAAC,aAAa,CAC1B,QAAQ,EACR,EAAE,CAAC,SAAS,CAAC,MAAM,GAAG,EAAE,CAAC,SAAS,CAAC,UAAU,CAC9C,CAAC;IACJ,CAAC,CAAC,CAAC;AACL,CAAC;AAED;;GAEG;AACH,SAAS,gBAAgB,CAAC,IAAa;IACrC,OAAO,OAAO,CAAC,aAAa,CAAC,IAAI,EAAE,EAAE,CAAC,SAAS,CAAC,QAAQ,CAAC;QACvD,CAAC,CAAC,OAAO,CAAC,aAAa,CAAC,IAAI,EAAE,EAAE,CAAC,SAAS,CAAC,aAAa,CAAC;YACvD,CAAC,CAAC,EAAE,CAAC,SAAS,CAAC,MAAM;YACrB,CAAC,CAAC,EAAE,CAAC,SAAS,CAAC,MAAM;QACvB,CAAC,CAAC,SAAS,CAAC;AAChB,CAAC;AAED,kBAAe,IAAA,iBAAU,EAAC;IACxB,IAAI,EAAE,2BAA2B;IACjC,IAAI,EAAE;QACJ,IAAI,EAAE,YAAY;QAClB,IAAI,EAAE;YACJ,WAAW,EAAE,wDAAwD;YACrE,WAAW,EAAE,aAAa;YAC1B,oBAAoB,EAAE,IAAI;SAC3B;QACD,cAAc,EAAE,IAAI;QACpB,QAAQ,EAAE;YACR,cAAc,EACZ,gFAAgF;YAClF,mBAAmB,EACjB,mEAAmE;YACrE,oBAAoB,EAAE,wCAAwC;SAC/D;QACD,MAAM,EAAE,EAAE;KACX;IACD,cAAc,EAAE,EAAE;IAClB,MAAM,CAAC,OAAO;QACZ,MAAM,cAAc,GAAG,IAAA,wBAAiB,EAAC,OAAO,CAAC,CAAC;QAClD,MAAM,WAAW,GAAG,cAAc,CAAC,OAAO,CAAC,cAAc,EAAE,CAAC;QAE5D,SAAS,sBAAsB,CAC7B,QAAiB,EACjB,SAAkB;YAElB,+DAA+D;YAC/D,EAAE;YACF,QAAQ;YACR,WAAW;YACX,MAAM;YACN,MAAM,aAAa,GAAG,IAAA,qBAAY,EAAC,WAAW,EAAE,QAAQ,CAAC,CAAC;YAC1D,MAAM,cAAc,GAAG,IAAI,GAAG,CAAC,IAAA,qBAAY,EAAC,WAAW,EAAE,SAAS,CAAC,CAAC,CAAC;YACrE,IAAI,aAAa,CAAC,MAAM,KAAK,CAAC,IAAI,cAAc,CAAC,IAAI,KAAK,CAAC,EAAE,CAAC;gBAC5D,OAAO,KAAK,CAAC;YACf,CAAC;YAED,6CAA6C;YAC7C,EAAE;YACF,QAAQ;YACR,gCAAgC;YAChC,MAAM;YACN,KAAK,MAAM,YAAY,IAAI,aAAa,EAAE,CAAC;gBACzC,IAAI,cAAc,CAAC,GAAG,CAAC,YAAY,CAAC,EAAE,CAAC;oBACrC,OAAO,KAAK,CAAC;gBACf,CAAC;YACH,CAAC;YAED,uEAAuE;YACvE,+BAA+B;YAC/B,EAAE;YACF,QAAQ;YACR,8CAA8C;YAC9C,6BAA6B;YAC7B,MAAM;YACN,MAAM,aAAa,GAAG,OAAO,CAAC,cAAc,CAAC,QAAQ,CAAC,CAAC;YACvD,MAAM,cAAc,GAAG,OAAO,CAAC,cAAc,CAAC,SAAS,CAAC,CAAC;YAEzD,oEAAoE;YACpE,EAAE;YACF,QAAQ;YACR,wCAAwC;YACxC,eAAe;YACf,MAAM;YACN,KAAK,MAAM,YAAY,IAAI,aAAa,EAAE,CAAC;gBACzC,IAAI,cAAc,CAAC,QAAQ,CAAC,YAAY,CAAC,EAAE,CAAC;oBAC1C,OAAO,KAAK,CAAC;gBACf,CAAC;YACH,CAAC;YAED,OAAO,CACL,YAAY,CAAC,aAAa,EAAE,SAAS,CAAC;gBACtC,YAAY,CAAC,cAAc,EAAE,QAAQ,CAAC,CACvC,CAAC;QACJ,CAAC;QAED,OAAO;YACL,8CAA8C,CAC5C,IAA+B;gBAE/B,MAAM,QAAQ,GAAG,cAAc,CAAC,iBAAiB,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;gBAC7D,MAAM,SAAS,GAAG,cAAc,CAAC,iBAAiB,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;gBAE/D,IAAI,sBAAsB,CAAC,QAAQ,EAAE,SAAS,CAAC,EAAE,CAAC;oBAChD,OAAO,CAAC,MAAM,CAAC;wBACb,IAAI;wBACJ,SAAS,EAAE,qBAAqB;wBAChC,OAAO,EAAE;4BACP;gCACE,SAAS,EAAE,sBAAsB;gCACjC,GAAG,CAAC,KAAK;oCACP,uDAAuD;oCACvD,EAAE;oCACF,QAAQ;oCACR,0DAA0D;oCAC1D,MAAM;oCACN,MAAM,WAAW,GAAG,IAAA,6BAAoB,EACtC,IAAA,wBAAe,EAAC,QAAQ,CAAC,EACzB,IAAA,qBAAc,EAAC,IAAI,CAAC,KAAK,CAAC,EAAE,KAAK,CAClC,CAAC;oCAEF,IAAI,WAAW,EAAE,CAAC;wCAChB,OAAO,KAAK,CAAC,WAAW,CAAC,IAAI,CAAC,KAAK,EAAE,WAAW,CAAC,CAAC;oCACpD,CAAC;oCAED,sDAAsD;oCACtD,EAAE;oCACF,QAAQ;oCACR,8BAA8B;oCAC9B,0DAA0D;oCAC1D,MAAM;oCACN,MAAM,YAAY,GAAG,IAAA,6BAAoB,EACvC,IAAA,wBAAe,EAAC,SAAS,CAAC,EAC1B,IAAA,qBAAc,EAAC,IAAI,CAAC,IAAI,CAAC,EAAE,KAAK,CACjC,CAAC;oCAEF,IAAI,YAAY,EAAE,CAAC;wCACjB,OAAO,KAAK,CAAC,WAAW,CAAC,IAAI,CAAC,IAAI,EAAE,YAAY,CAAC,CAAC;oCACpD,CAAC;oCAED,OAAO,IAAI,CAAC;gCACd,CAAC;6BACF;yBACF;qBACF,CAAC,CAAC;gBACL,CAAC;YACH,CAAC;YAED,UAAU,CAAC,IAAI;gBACb,0BAA0B;gBAC1B,IAAI,IAAI,CAAC,IAAI,IAAI,IAAI,EAAE,CAAC;oBACtB,OAAO;gBACT,CAAC;gBAED,MAAM,EAAE,MAAM,EAAE,GAAG,IAAI,CAAC;gBAExB,MAAM,QAAQ,GAAG,cAAc,CAAC,iBAAiB,CAAC,MAAM,CAAC,YAAY,CAAC,CAAC;gBACvE,MAAM,SAAS,GAAG,cAAc,CAAC,iBAAiB,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;gBAE9D,IAAI,sBAAsB,CAAC,QAAQ,EAAE,SAAS,CAAC,EAAE,CAAC;oBAChD,OAAO,CAAC,MAAM,CAAC;wBACb,IAAI;wBACJ,SAAS,EAAE,gBAAgB;qBAC5B,CAAC,CAAC;gBACL,CAAC;YACH,CAAC;SACF,CAAC;IACJ,CAAC;CACF,CAAC,CAAC"} \ No newline at end of file +{"version":3,"file":"no-unsafe-enum-comparison.js","sourceRoot":"","sources":["../../src/rules/no-unsafe-enum-comparison.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEA,sDAAwC;AACxC,+CAAiC;AAEjC,kCAAwE;AACxE,gDAI6B;AAE7B;;GAEG;AACH,SAAS,YAAY,CAAC,aAAwB,EAAE,SAAkB;IAChE,MAAM,kBAAkB,GAAG,IAAI,GAAG,CAAC,aAAa,CAAC,GAAG,CAAC,gBAAgB,CAAC,CAAC,CAAC;IAExE,OAAO,CACL,CAAC,kBAAkB,CAAC,GAAG,CAAC,EAAE,CAAC,SAAS,CAAC,MAAM,CAAC,IAAI,YAAY,CAAC,SAAS,CAAC,CAAC;QACxE,CAAC,kBAAkB,CAAC,GAAG,CAAC,EAAE,CAAC,SAAS,CAAC,MAAM,CAAC,IAAI,YAAY,CAAC,SAAS,CAAC,CAAC,CACzE,CAAC;AACJ,CAAC;AAED,SAAS,YAAY,CAAC,IAAa;IACjC,MAAM,SAAS,GAAG,OAAO,CAAC,qBAAqB,CAAC,IAAI,CAAC,CAAC;IAEtD,OAAO,SAAS,CAAC,IAAI,CAAC,QAAQ,CAAC,EAAE;QAC/B,OAAO,OAAO,CAAC,aAAa,CAC1B,QAAQ,EACR,EAAE,CAAC,SAAS,CAAC,MAAM,GAAG,EAAE,CAAC,SAAS,CAAC,UAAU,CAC9C,CAAC;IACJ,CAAC,CAAC,CAAC;AACL,CAAC;AAED,SAAS,YAAY,CAAC,IAAa;IACjC,MAAM,SAAS,GAAG,OAAO,CAAC,qBAAqB,CAAC,IAAI,CAAC,CAAC;IAEtD,OAAO,SAAS,CAAC,IAAI,CAAC,QAAQ,CAAC,EAAE;QAC/B,OAAO,OAAO,CAAC,aAAa,CAC1B,QAAQ,EACR,EAAE,CAAC,SAAS,CAAC,MAAM,GAAG,EAAE,CAAC,SAAS,CAAC,UAAU,CAC9C,CAAC;IACJ,CAAC,CAAC,CAAC;AACL,CAAC;AAED;;GAEG;AACH,SAAS,gBAAgB,CAAC,IAAa;IACrC,OAAO,OAAO,CAAC,aAAa,CAAC,IAAI,EAAE,EAAE,CAAC,SAAS,CAAC,QAAQ,CAAC;QACvD,CAAC,CAAC,OAAO,CAAC,aAAa,CAAC,IAAI,EAAE,EAAE,CAAC,SAAS,CAAC,aAAa,CAAC;YACvD,CAAC,CAAC,EAAE,CAAC,SAAS,CAAC,MAAM;YACrB,CAAC,CAAC,EAAE,CAAC,SAAS,CAAC,MAAM;QACvB,CAAC,CAAC,SAAS,CAAC;AAChB,CAAC;AAED,kBAAe,IAAA,iBAAU,EAAC;IACxB,IAAI,EAAE,2BAA2B;IACjC,IAAI,EAAE;QACJ,IAAI,EAAE,YAAY;QAClB,IAAI,EAAE;YACJ,WAAW,EAAE,wDAAwD;YACrE,WAAW,EAAE,aAAa;YAC1B,oBAAoB,EAAE,IAAI;SAC3B;QACD,cAAc,EAAE,IAAI;QACpB,QAAQ,EAAE;YACR,cAAc,EACZ,gFAAgF;YAClF,mBAAmB,EACjB,mEAAmE;YACrE,oBAAoB,EAAE,wCAAwC;SAC/D;QACD,MAAM,EAAE,EAAE;KACX;IACD,cAAc,EAAE,EAAE;IAClB,MAAM,CAAC,OAAO;QACZ,MAAM,cAAc,GAAG,IAAA,wBAAiB,EAAC,OAAO,CAAC,CAAC;QAClD,MAAM,WAAW,GAAG,cAAc,CAAC,OAAO,CAAC,cAAc,EAAE,CAAC;QAE5D,SAAS,sBAAsB,CAC7B,QAAiB,EACjB,SAAkB;YAElB,+DAA+D;YAC/D,EAAE;YACF,QAAQ;YACR,WAAW;YACX,MAAM;YACN,MAAM,aAAa,GAAG,IAAA,qBAAY,EAAC,WAAW,EAAE,QAAQ,CAAC,CAAC;YAC1D,MAAM,cAAc,GAAG,IAAI,GAAG,CAAC,IAAA,qBAAY,EAAC,WAAW,EAAE,SAAS,CAAC,CAAC,CAAC;YACrE,IAAI,aAAa,CAAC,MAAM,KAAK,CAAC,IAAI,cAAc,CAAC,IAAI,KAAK,CAAC,EAAE,CAAC;gBAC5D,OAAO,KAAK,CAAC;YACf,CAAC;YAED,6CAA6C;YAC7C,EAAE;YACF,QAAQ;YACR,gCAAgC;YAChC,MAAM;YACN,KAAK,MAAM,YAAY,IAAI,aAAa,EAAE,CAAC;gBACzC,IAAI,cAAc,CAAC,GAAG,CAAC,YAAY,CAAC,EAAE,CAAC;oBACrC,OAAO,KAAK,CAAC;gBACf,CAAC;YACH,CAAC;YAED,uEAAuE;YACvE,+BAA+B;YAC/B,EAAE;YACF,QAAQ;YACR,8CAA8C;YAC9C,6BAA6B;YAC7B,MAAM;YACN,MAAM,aAAa,GAAG,OAAO,CAAC,cAAc,CAAC,QAAQ,CAAC,CAAC;YACvD,MAAM,cAAc,GAAG,OAAO,CAAC,cAAc,CAAC,SAAS,CAAC,CAAC;YAEzD,oEAAoE;YACpE,EAAE;YACF,QAAQ;YACR,wCAAwC;YACxC,eAAe;YACf,MAAM;YACN,KAAK,MAAM,YAAY,IAAI,aAAa,EAAE,CAAC;gBACzC,IAAI,cAAc,CAAC,QAAQ,CAAC,YAAY,CAAC,EAAE,CAAC;oBAC1C,OAAO,KAAK,CAAC;gBACf,CAAC;YACH,CAAC;YAED,OAAO,CACL,YAAY,CAAC,aAAa,EAAE,SAAS,CAAC;gBACtC,YAAY,CAAC,cAAc,EAAE,QAAQ,CAAC,CACvC,CAAC;QACJ,CAAC;QAED,OAAO;YACL,8CAA8C,CAC5C,IAA+B;gBAE/B,MAAM,QAAQ,GAAG,cAAc,CAAC,iBAAiB,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;gBAC7D,MAAM,SAAS,GAAG,cAAc,CAAC,iBAAiB,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;gBAE/D,IAAI,sBAAsB,CAAC,QAAQ,EAAE,SAAS,CAAC,EAAE,CAAC;oBAChD,OAAO,CAAC,MAAM,CAAC;wBACb,IAAI;wBACJ,SAAS,EAAE,qBAAqB;wBAChC,OAAO,EAAE;4BACP;gCACE,SAAS,EAAE,sBAAsB;gCACjC,GAAG,CAAC,KAAK;oCACP,uDAAuD;oCACvD,EAAE;oCACF,QAAQ;oCACR,0DAA0D;oCAC1D,MAAM;oCACN,MAAM,WAAW,GAAG,IAAA,6BAAoB,EACtC,IAAA,wBAAe,EAAC,QAAQ,CAAC,EACzB,IAAA,qBAAc,EAAC,IAAI,CAAC,KAAK,CAAC,EAAE,KAAK,CAClC,CAAC;oCAEF,IAAI,WAAW,EAAE,CAAC;wCAChB,OAAO,KAAK,CAAC,WAAW,CAAC,IAAI,CAAC,KAAK,EAAE,WAAW,CAAC,CAAC;oCACpD,CAAC;oCAED,sDAAsD;oCACtD,EAAE;oCACF,QAAQ;oCACR,8BAA8B;oCAC9B,0DAA0D;oCAC1D,MAAM;oCACN,MAAM,YAAY,GAAG,IAAA,6BAAoB,EACvC,IAAA,wBAAe,EAAC,SAAS,CAAC,EAC1B,IAAA,qBAAc,EAAC,IAAI,CAAC,IAAI,CAAC,EAAE,KAAK,CACjC,CAAC;oCAEF,IAAI,YAAY,EAAE,CAAC;wCACjB,OAAO,KAAK,CAAC,WAAW,CAAC,IAAI,CAAC,IAAI,EAAE,YAAY,CAAC,CAAC;oCACpD,CAAC;oCAED,OAAO,IAAI,CAAC;gCACd,CAAC;6BACF;yBACF;qBACF,CAAC,CAAC;gBACL,CAAC;YACH,CAAC;YAED,UAAU,CAAC,IAAI;gBACb,0BAA0B;gBAC1B,IAAI,IAAI,CAAC,IAAI,IAAI,IAAI,EAAE,CAAC;oBACtB,OAAO;gBACT,CAAC;gBAED,MAAM,EAAE,MAAM,EAAE,GAAG,IAAI,CAAC;gBAExB,MAAM,QAAQ,GAAG,cAAc,CAAC,iBAAiB,CAAC,MAAM,CAAC,YAAY,CAAC,CAAC;gBACvE,MAAM,SAAS,GAAG,cAAc,CAAC,iBAAiB,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;gBAE9D,IAAI,sBAAsB,CAAC,QAAQ,EAAE,SAAS,CAAC,EAAE,CAAC;oBAChD,OAAO,CAAC,MAAM,CAAC;wBACb,IAAI;wBACJ,SAAS,EAAE,gBAAgB;qBAC5B,CAAC,CAAC;gBACL,CAAC;YACH,CAAC;SACF,CAAC;IACJ,CAAC;CACF,CAAC,CAAC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unsafe-member-access.js b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unsafe-member-access.js index 7e71fbcccf..8e7d6407b8 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unsafe-member-access.js +++ b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unsafe-member-access.js @@ -15,13 +15,23 @@ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? ( }) : function(o, v) { o["default"] = v; }); -var __importStar = (this && this.__importStar) || function (mod) { - if (mod && mod.__esModule) return mod; - var result = {}; - if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k); - __setModuleDefault(result, mod); - return result; -}; +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); Object.defineProperty(exports, "__esModule", { value: true }); const utils_1 = require("@typescript-eslint/utils"); const tsutils = __importStar(require("ts-api-utils")); diff --git a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unsafe-member-access.js.map b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unsafe-member-access.js.map index b9e698e59f..25f8402bcb 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unsafe-member-access.js.map +++ b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unsafe-member-access.js.map @@ -1 +1 @@ -{"version":3,"file":"no-unsafe-member-access.js","sourceRoot":"","sources":["../../src/rules/no-unsafe-member-access.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AAGA,oDAA0D;AAC1D,sDAAwC;AAExC,kCAMiB;AAOjB,SAAS,cAAc,CAAC,IAAa;IACnC,MAAM,WAAW,GAAG,OAAO,CAAC,oBAAoB,CAAC,IAAI,CAAC,CAAC;IACvD,OAAO,WAAW,CAAC,CAAC,CAAC,eAAe,CAAC,CAAC,CAAC,OAAO,CAAC;AACjD,CAAC;AAED,kBAAe,IAAA,iBAAU,EAAC;IACxB,IAAI,EAAE,yBAAyB;IAC/B,IAAI,EAAE;QACJ,IAAI,EAAE,SAAS;QACf,IAAI,EAAE;YACJ,WAAW,EAAE,mDAAmD;YAChE,WAAW,EAAE,aAAa;YAC1B,oBAAoB,EAAE,IAAI;SAC3B;QACD,QAAQ,EAAE;YACR,0BAA0B,EACxB,2DAA2D;YAC7D,sBAAsB,EACpB,yDAAyD;YAC3D,0BAA0B,EAAE;gBAC1B,gFAAgF;gBAChF,2HAA2H;aAC5H,CAAC,IAAI,CAAC,IAAI,CAAC;SACb;QACD,MAAM,EAAE,EAAE;KACX;IACD,cAAc,EAAE,EAAE;IAClB,MAAM,CAAC,OAAO;QACZ,MAAM,QAAQ,GAAG,IAAA,wBAAiB,EAAC,OAAO,CAAC,CAAC;QAC5C,MAAM,eAAe,GAAG,QAAQ,CAAC,OAAO,CAAC,kBAAkB,EAAE,CAAC;QAC9D,MAAM,gBAAgB,GAAG,OAAO,CAAC,6BAA6B,CAC5D,eAAe,EACf,gBAAgB,CACjB,CAAC;QAEF,MAAM,UAAU,GAAG,IAAI,GAAG,EAAwB,CAAC;QAEnD,SAAS,qBAAqB,CAAC,IAA+B;YAC5D,MAAM,WAAW,GAAG,UAAU,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC;YACzC,IAAI,WAAW,EAAE,CAAC;gBAChB,OAAO,WAAW,CAAC;YACrB,CAAC;YAED,IAAI,IAAI,CAAC,MAAM,CAAC,IAAI,KAAK,sBAAc,CAAC,gBAAgB,EAAE,CAAC;gBACzD,MAAM,WAAW,GAAG,qBAAqB,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC;gBACvD,IAAI,WAAW,yBAAiB,EAAE,CAAC;oBACjC,+DAA+D;oBAC/D,gFAAgF;oBAChF,UAAU,CAAC,GAAG,CAAC,IAAI,EAAE,WAAW,CAAC,CAAC;oBAClC,OAAO,WAAW,CAAC;gBACrB,CAAC;YACH,CAAC;YAED,MAAM,IAAI,GAAG,QAAQ,CAAC,iBAAiB,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC;YACrD,MAAM,KAAK,GAAG,IAAA,oBAAa,EAAC,IAAI,CAAC,CAAC,CAAC,sBAAc,CAAC,mBAAW,CAAC;YAC9D,UAAU,CAAC,GAAG,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;YAE5B,IAAI,KAAK,yBAAiB,EAAE,CAAC;gBAC3B,MAAM,YAAY,GAAG,OAAO,CAAC,UAAU,CAAC,OAAO,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC;gBAE/D,IAAI,SAAS,GACX,wBAAwB,CAAC;gBAE3B,IAAI,CAAC,gBAAgB,EAAE,CAAC;oBACtB,gCAAgC;oBAChC,MAAM,cAAc,GAAG,IAAA,wBAAiB,EAAC,IAAI,CAAC,CAAC;oBAE/C,IACE,cAAc;wBACd,IAAA,oBAAa,EACX,IAAA,mCAA4B,EAAC,QAAQ,EAAE,cAAc,CAAC,CACvD,EACD,CAAC;wBACD,SAAS,GAAG,4BAA4B,CAAC;oBAC3C,CAAC;gBACH,CAAC;gBAED,OAAO,CAAC,MAAM,CAAC;oBACb,IAAI,EAAE,IAAI,CAAC,QAAQ;oBACnB,SAAS;oBACT,IAAI,EAAE;wBACJ,IAAI,EAAE,cAAc,CAAC,IAAI,CAAC;wBAC1B,QAAQ,EAAE,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC,IAAI,YAAY,GAAG,CAAC,CAAC,CAAC,IAAI,YAAY,EAAE;qBACnE;iBACF,CAAC,CAAC;YACL,CAAC;YAED,OAAO,KAAK,CAAC;QACf,CAAC;QAED,OAAO;YACL,+FAA+F;YAC/F,gGAAgG,EAC9F,qBAAqB;YACvB,gDAAgD,CAC9C,IAAyB;gBAEzB;gBACE,OAAO;gBACP,IAAI,CAAC,IAAI,KAAK,sBAAc,CAAC,OAAO;oBACpC,oBAAoB;oBACpB,+FAA+F;oBAC/F,uEAAuE;oBACvE,IAAI,CAAC,IAAI,KAAK,sBAAc,CAAC,gBAAgB,EAC7C,CAAC;oBACD,6DAA6D;oBAC7D,OAAO;gBACT,CAAC;gBAED,MAAM,IAAI,GAAG,QAAQ,CAAC,iBAAiB,CAAC,IAAI,CAAC,CAAC;gBAE9C,IAAI,IAAA,oBAAa,EAAC,IAAI,CAAC,EAAE,CAAC;oBACxB,MAAM,YAAY,GAAG,OAAO,CAAC,UAAU,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC;oBACtD,OAAO,CAAC,MAAM,CAAC;wBACb,IAAI;wBACJ,SAAS,EAAE,4BAA4B;wBACvC,IAAI,EAAE;4BACJ,IAAI,EAAE,cAAc,CAAC,IAAI,CAAC;4BAC1B,QAAQ,EAAE,IAAI,YAAY,GAAG;yBAC9B;qBACF,CAAC,CAAC;gBACL,CAAC;YACH,CAAC;SACF,CAAC;IACJ,CAAC;CACF,CAAC,CAAC"} \ No newline at end of file +{"version":3,"file":"no-unsafe-member-access.js","sourceRoot":"","sources":["../../src/rules/no-unsafe-member-access.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAGA,oDAA0D;AAC1D,sDAAwC;AAExC,kCAMiB;AAOjB,SAAS,cAAc,CAAC,IAAa;IACnC,MAAM,WAAW,GAAG,OAAO,CAAC,oBAAoB,CAAC,IAAI,CAAC,CAAC;IACvD,OAAO,WAAW,CAAC,CAAC,CAAC,eAAe,CAAC,CAAC,CAAC,OAAO,CAAC;AACjD,CAAC;AAED,kBAAe,IAAA,iBAAU,EAAC;IACxB,IAAI,EAAE,yBAAyB;IAC/B,IAAI,EAAE;QACJ,IAAI,EAAE,SAAS;QACf,IAAI,EAAE;YACJ,WAAW,EAAE,mDAAmD;YAChE,WAAW,EAAE,aAAa;YAC1B,oBAAoB,EAAE,IAAI;SAC3B;QACD,QAAQ,EAAE;YACR,0BAA0B,EACxB,2DAA2D;YAC7D,sBAAsB,EACpB,yDAAyD;YAC3D,0BAA0B,EAAE;gBAC1B,gFAAgF;gBAChF,2HAA2H;aAC5H,CAAC,IAAI,CAAC,IAAI,CAAC;SACb;QACD,MAAM,EAAE,EAAE;KACX;IACD,cAAc,EAAE,EAAE;IAClB,MAAM,CAAC,OAAO;QACZ,MAAM,QAAQ,GAAG,IAAA,wBAAiB,EAAC,OAAO,CAAC,CAAC;QAC5C,MAAM,eAAe,GAAG,QAAQ,CAAC,OAAO,CAAC,kBAAkB,EAAE,CAAC;QAC9D,MAAM,gBAAgB,GAAG,OAAO,CAAC,6BAA6B,CAC5D,eAAe,EACf,gBAAgB,CACjB,CAAC;QAEF,MAAM,UAAU,GAAG,IAAI,GAAG,EAAwB,CAAC;QAEnD,SAAS,qBAAqB,CAAC,IAA+B;YAC5D,MAAM,WAAW,GAAG,UAAU,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC;YACzC,IAAI,WAAW,EAAE,CAAC;gBAChB,OAAO,WAAW,CAAC;YACrB,CAAC;YAED,IAAI,IAAI,CAAC,MAAM,CAAC,IAAI,KAAK,sBAAc,CAAC,gBAAgB,EAAE,CAAC;gBACzD,MAAM,WAAW,GAAG,qBAAqB,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC;gBACvD,IAAI,WAAW,yBAAiB,EAAE,CAAC;oBACjC,+DAA+D;oBAC/D,gFAAgF;oBAChF,UAAU,CAAC,GAAG,CAAC,IAAI,EAAE,WAAW,CAAC,CAAC;oBAClC,OAAO,WAAW,CAAC;gBACrB,CAAC;YACH,CAAC;YAED,MAAM,IAAI,GAAG,QAAQ,CAAC,iBAAiB,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC;YACrD,MAAM,KAAK,GAAG,IAAA,oBAAa,EAAC,IAAI,CAAC,CAAC,CAAC,sBAAc,CAAC,mBAAW,CAAC;YAC9D,UAAU,CAAC,GAAG,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;YAE5B,IAAI,KAAK,yBAAiB,EAAE,CAAC;gBAC3B,MAAM,YAAY,GAAG,OAAO,CAAC,UAAU,CAAC,OAAO,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC;gBAE/D,IAAI,SAAS,GACX,wBAAwB,CAAC;gBAE3B,IAAI,CAAC,gBAAgB,EAAE,CAAC;oBACtB,gCAAgC;oBAChC,MAAM,cAAc,GAAG,IAAA,wBAAiB,EAAC,IAAI,CAAC,CAAC;oBAE/C,IACE,cAAc;wBACd,IAAA,oBAAa,EACX,IAAA,mCAA4B,EAAC,QAAQ,EAAE,cAAc,CAAC,CACvD,EACD,CAAC;wBACD,SAAS,GAAG,4BAA4B,CAAC;oBAC3C,CAAC;gBACH,CAAC;gBAED,OAAO,CAAC,MAAM,CAAC;oBACb,IAAI,EAAE,IAAI,CAAC,QAAQ;oBACnB,SAAS;oBACT,IAAI,EAAE;wBACJ,IAAI,EAAE,cAAc,CAAC,IAAI,CAAC;wBAC1B,QAAQ,EAAE,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC,IAAI,YAAY,GAAG,CAAC,CAAC,CAAC,IAAI,YAAY,EAAE;qBACnE;iBACF,CAAC,CAAC;YACL,CAAC;YAED,OAAO,KAAK,CAAC;QACf,CAAC;QAED,OAAO;YACL,+FAA+F;YAC/F,gGAAgG,EAC9F,qBAAqB;YACvB,gDAAgD,CAC9C,IAAyB;gBAEzB;gBACE,OAAO;gBACP,IAAI,CAAC,IAAI,KAAK,sBAAc,CAAC,OAAO;oBACpC,oBAAoB;oBACpB,+FAA+F;oBAC/F,uEAAuE;oBACvE,IAAI,CAAC,IAAI,KAAK,sBAAc,CAAC,gBAAgB,EAC7C,CAAC;oBACD,6DAA6D;oBAC7D,OAAO;gBACT,CAAC;gBAED,MAAM,IAAI,GAAG,QAAQ,CAAC,iBAAiB,CAAC,IAAI,CAAC,CAAC;gBAE9C,IAAI,IAAA,oBAAa,EAAC,IAAI,CAAC,EAAE,CAAC;oBACxB,MAAM,YAAY,GAAG,OAAO,CAAC,UAAU,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC;oBACtD,OAAO,CAAC,MAAM,CAAC;wBACb,IAAI;wBACJ,SAAS,EAAE,4BAA4B;wBACvC,IAAI,EAAE;4BACJ,IAAI,EAAE,cAAc,CAAC,IAAI,CAAC;4BAC1B,QAAQ,EAAE,IAAI,YAAY,GAAG;yBAC9B;qBACF,CAAC,CAAC;gBACL,CAAC;YACH,CAAC;SACF,CAAC;IACJ,CAAC;CACF,CAAC,CAAC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unsafe-return.js b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unsafe-return.js index aa2ad369e5..eb561f9907 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unsafe-return.js +++ b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unsafe-return.js @@ -15,13 +15,23 @@ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? ( }) : function(o, v) { o["default"] = v; }); -var __importStar = (this && this.__importStar) || function (mod) { - if (mod && mod.__esModule) return mod; - var result = {}; - if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k); - __setModuleDefault(result, mod); - return result; -}; +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); Object.defineProperty(exports, "__esModule", { value: true }); const tsutils = __importStar(require("ts-api-utils")); const ts = __importStar(require("typescript")); diff --git a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unsafe-return.js.map b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unsafe-return.js.map index 1ccece7302..029c127a96 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unsafe-return.js.map +++ b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unsafe-return.js.map @@ -1 +1 @@ -{"version":3,"file":"no-unsafe-return.js","sourceRoot":"","sources":["../../src/rules/no-unsafe-return.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AAEA,sDAAwC;AACxC,+CAAiC;AAEjC,kCAaiB;AACjB,yEAAsE;AAEtE,kBAAe,IAAA,iBAAU,EAAC;IACxB,IAAI,EAAE,kBAAkB;IACxB,IAAI,EAAE;QACJ,IAAI,EAAE,SAAS;QACf,IAAI,EAAE;YACJ,WAAW,EAAE,4DAA4D;YACzE,WAAW,EAAE,aAAa;YAC1B,oBAAoB,EAAE,IAAI;SAC3B;QACD,QAAQ,EAAE;YACR,YAAY,EAAE,4CAA4C;YAC1D,sBAAsB,EACpB,mFAAmF;YACrF,gBAAgB,EAAE;gBAChB,wEAAwE;gBACxE,2HAA2H;aAC5H,CAAC,IAAI,CAAC,IAAI,CAAC;SACb;QACD,MAAM,EAAE,EAAE;KACX;IACD,cAAc,EAAE,EAAE;IAClB,MAAM,CAAC,OAAO;QACZ,MAAM,QAAQ,GAAG,IAAA,wBAAiB,EAAC,OAAO,CAAC,CAAC;QAC5C,MAAM,OAAO,GAAG,QAAQ,CAAC,OAAO,CAAC,cAAc,EAAE,CAAC;QAClD,MAAM,eAAe,GAAG,QAAQ,CAAC,OAAO,CAAC,kBAAkB,EAAE,CAAC;QAC9D,MAAM,gBAAgB,GAAG,OAAO,CAAC,6BAA6B,CAC5D,eAAe,EACf,gBAAgB,CACjB,CAAC;QAEF,SAAS,WAAW,CAClB,UAAyB,EACzB,gBAA+B,UAAU;YAEzC,MAAM,MAAM,GAAG,QAAQ,CAAC,qBAAqB,CAAC,GAAG,CAAC,UAAU,CAAC,CAAC;YAC9D,MAAM,IAAI,GAAG,OAAO,CAAC,iBAAiB,CAAC,MAAM,CAAC,CAAC;YAE/C,MAAM,OAAO,GAAG,IAAA,0BAAmB,EACjC,IAAI,EACJ,OAAO,EACP,QAAQ,CAAC,OAAO,EAChB,MAAM,CACP,CAAC;YACF,MAAM,YAAY,GAAG,IAAA,6CAAqB,EAAC,UAAU,CAAC,CAAC;YACvD,wBAAwB,CAAC,IAAI,CAAC,YAAY,EAAE,CAAC;gBAC3C,OAAO;YACT,CAAC;YAED,qEAAqE;YACrE,MAAM,cAAc,GAAG,IAAA,mCAA4B,EAAC,QAAQ,EAAE,UAAU,CAAC,CAAC;YAC1E,MAAM,cAAc,GAAG,QAAQ,CAAC,qBAAqB,CAAC,GAAG,CAAC,YAAY,CAAC,CAAC;YAExE,yFAAyF;YACzF,+DAA+D;YAC/D,wDAAwD;YACxD,qGAAqG;YACrG,IAAI,YAAY,GACd,EAAE,CAAC,oBAAoB,CAAC,cAAc,CAAC;gBACvC,EAAE,CAAC,eAAe,CAAC,cAAc,CAAC;gBAChC,CAAC,CAAC,IAAA,wBAAiB,EAAC,OAAO,EAAE,cAAc,CAAC;gBAC5C,CAAC,CAAC,QAAQ,CAAC,iBAAiB,CAAC,YAAY,CAAC,CAAC;YAC/C,IAAI,CAAC,YAAY,EAAE,CAAC;gBAClB,YAAY,GAAG,QAAQ,CAAC,iBAAiB,CAAC,YAAY,CAAC,CAAC;YAC1D,CAAC;YACD,MAAM,cAAc,GAAG,OAAO,CAAC,uBAAuB,CAAC,YAAY,CAAC,CAAC;YACrE,6EAA6E;YAC7E,iFAAiF;YACjF,IAAI,cAAc,CAAC,IAAI,EAAE,CAAC;gBACxB,KAAK,MAAM,SAAS,IAAI,cAAc,EAAE,CAAC;oBACvC,MAAM,mBAAmB,GAAG,SAAS,CAAC,aAAa,EAAE,CAAC;oBAEtD,IACE,cAAc,KAAK,mBAAmB;wBACtC,IAAA,oBAAa,EACX,mBAAmB,EACnB,EAAE,CAAC,SAAS,CAAC,GAAG,GAAG,EAAE,CAAC,SAAS,CAAC,OAAO,CACxC,EACD,CAAC;wBACD,OAAO;oBACT,CAAC;oBACD,IAAI,YAAY,CAAC,KAAK,EAAE,CAAC;wBACvB,MAAM,0BAA0B,GAC9B,OAAO,CAAC,cAAc,CAAC,mBAAmB,CAAC,CAAC;wBAE9C,MAAM,qBAAqB,GACzB,OAAO,CAAC,cAAc,CAAC,cAAc,CAAC,CAAC;wBACzC,IACE,qBAAqB,KAAK,0BAA0B;4BACpD,CAAC,0BAA0B;gCACzB,IAAA,oBAAa,EACX,0BAA0B,EAC1B,EAAE,CAAC,SAAS,CAAC,GAAG,GAAG,EAAE,CAAC,SAAS,CAAC,OAAO,CACxC,CAAC,EACJ,CAAC;4BACD,OAAO;wBACT,CAAC;oBACH,CAAC;gBACH,CAAC;YACH,CAAC;YAED,IAAI,OAAO,KAAK,cAAO,CAAC,IAAI,EAAE,CAAC;gBAC7B,2FAA2F;gBAC3F,8CAA8C;gBAC9C,KAAK,MAAM,SAAS,IAAI,cAAc,EAAE,CAAC;oBACvC,MAAM,kBAAkB,GAAG,SAAS,CAAC,aAAa,EAAE,CAAC;oBACrD,IACE,OAAO,KAAK,cAAO,CAAC,GAAG;wBACvB,IAAA,wBAAiB,EAAC,kBAAkB,CAAC,EACrC,CAAC;wBACD,OAAO;oBACT,CAAC;oBACD,IACE,OAAO,KAAK,cAAO,CAAC,QAAQ;wBAC5B,IAAA,6BAAsB,EAAC,kBAAkB,EAAE,OAAO,CAAC,EACnD,CAAC;wBACD,OAAO;oBACT,CAAC;oBACD,MAAM,WAAW,GAAG,OAAO,CAAC,cAAc,CAAC,kBAAkB,CAAC,CAAC;oBAC/D,IACE,WAAW;wBACX,OAAO,KAAK,cAAO,CAAC,UAAU;wBAC9B,IAAA,wBAAiB,EAAC,WAAW,CAAC,EAC9B,CAAC;wBACD,OAAO;oBACT,CAAC;gBACH,CAAC;gBAED,IAAI,OAAO,KAAK,cAAO,CAAC,UAAU,IAAI,CAAC,YAAY,CAAC,KAAK,EAAE,CAAC;oBAC1D,OAAO;gBACT,CAAC;gBAED,IAAI,SAAS,GAAwC,cAAc,CAAC;gBACpE,MAAM,WAAW,GAAG,OAAO,CAAC,oBAAoB,CAAC,cAAc,CAAC,CAAC;gBAEjE,IAAI,CAAC,gBAAgB,EAAE,CAAC;oBACtB,gBAAgB;oBAChB,MAAM,cAAc,GAAG,IAAA,wBAAiB,EAAC,UAAU,CAAC,CAAC;oBACrD,IACE,cAAc;wBACd,IAAA,oBAAa,EACX,IAAA,mCAA4B,EAAC,QAAQ,EAAE,cAAc,CAAC,CACvD,EACD,CAAC;wBACD,SAAS,GAAG,kBAAkB,CAAC;oBACjC,CAAC;gBACH,CAAC;gBAED,qFAAqF;gBACrF,OAAO,OAAO,CAAC,MAAM,CAAC;oBACpB,IAAI,EAAE,aAAa;oBACnB,SAAS;oBACT,IAAI,EAAE;wBACJ,IAAI,EAAE,WAAW;4BACf,CAAC,CAAC,OAAO;4BACT,CAAC,CAAC,OAAO,KAAK,cAAO,CAAC,GAAG;gCACvB,CAAC,CAAC,OAAO;gCACT,CAAC,CAAC,OAAO,KAAK,cAAO,CAAC,UAAU;oCAC9B,CAAC,CAAC,gBAAgB;oCAClB,CAAC,CAAC,SAAS;qBAClB;iBACF,CAAC,CAAC;YACL,CAAC;YAED,MAAM,SAAS,GAAG,YAAY,CAAC,iBAAiB,EAAE,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC;YACzD,IAAI,SAAS,EAAE,CAAC;gBACd,MAAM,kBAAkB,GAAG,SAAS,CAAC,aAAa,EAAE,CAAC;gBACrD,MAAM,MAAM,GAAG,IAAA,yBAAkB,EAC/B,cAAc,EACd,kBAAkB,EAClB,OAAO,EACP,UAAU,CACX,CAAC;gBACF,IAAI,CAAC,MAAM,EAAE,CAAC;oBACZ,OAAO;gBACT,CAAC;gBAED,MAAM,EAAE,QAAQ,EAAE,MAAM,EAAE,GAAG,MAAM,CAAC;gBACpC,OAAO,OAAO,CAAC,MAAM,CAAC;oBACpB,IAAI,EAAE,aAAa;oBACnB,SAAS,EAAE,wBAAwB;oBACnC,IAAI,EAAE;wBACJ,QAAQ,EAAE,OAAO,CAAC,YAAY,CAAC,QAAQ,CAAC;wBACxC,MAAM,EAAE,OAAO,CAAC,YAAY,CAAC,MAAM,CAAC;qBACrC;iBACF,CAAC,CAAC;YACL,CAAC;QACH,CAAC;QAED,OAAO;YACL,qDAAqD,EAAE,WAAW;YAClE,eAAe,CAAC,IAAI;gBAClB,MAAM,QAAQ,GAAG,IAAI,CAAC,QAAQ,CAAC;gBAC/B,IAAI,CAAC,QAAQ,EAAE,CAAC;oBACd,OAAO;gBACT,CAAC;gBAED,WAAW,CAAC,QAAQ,EAAE,IAAI,CAAC,CAAC;YAC9B,CAAC;SACF,CAAC;IACJ,CAAC;CACF,CAAC,CAAC"} \ No newline at end of file +{"version":3,"file":"no-unsafe-return.js","sourceRoot":"","sources":["../../src/rules/no-unsafe-return.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEA,sDAAwC;AACxC,+CAAiC;AAEjC,kCAaiB;AACjB,yEAAsE;AAEtE,kBAAe,IAAA,iBAAU,EAAC;IACxB,IAAI,EAAE,kBAAkB;IACxB,IAAI,EAAE;QACJ,IAAI,EAAE,SAAS;QACf,IAAI,EAAE;YACJ,WAAW,EAAE,4DAA4D;YACzE,WAAW,EAAE,aAAa;YAC1B,oBAAoB,EAAE,IAAI;SAC3B;QACD,QAAQ,EAAE;YACR,YAAY,EAAE,4CAA4C;YAC1D,sBAAsB,EACpB,mFAAmF;YACrF,gBAAgB,EAAE;gBAChB,wEAAwE;gBACxE,2HAA2H;aAC5H,CAAC,IAAI,CAAC,IAAI,CAAC;SACb;QACD,MAAM,EAAE,EAAE;KACX;IACD,cAAc,EAAE,EAAE;IAClB,MAAM,CAAC,OAAO;QACZ,MAAM,QAAQ,GAAG,IAAA,wBAAiB,EAAC,OAAO,CAAC,CAAC;QAC5C,MAAM,OAAO,GAAG,QAAQ,CAAC,OAAO,CAAC,cAAc,EAAE,CAAC;QAClD,MAAM,eAAe,GAAG,QAAQ,CAAC,OAAO,CAAC,kBAAkB,EAAE,CAAC;QAC9D,MAAM,gBAAgB,GAAG,OAAO,CAAC,6BAA6B,CAC5D,eAAe,EACf,gBAAgB,CACjB,CAAC;QAEF,SAAS,WAAW,CAClB,UAAyB,EACzB,gBAA+B,UAAU;YAEzC,MAAM,MAAM,GAAG,QAAQ,CAAC,qBAAqB,CAAC,GAAG,CAAC,UAAU,CAAC,CAAC;YAC9D,MAAM,IAAI,GAAG,OAAO,CAAC,iBAAiB,CAAC,MAAM,CAAC,CAAC;YAE/C,MAAM,OAAO,GAAG,IAAA,0BAAmB,EACjC,IAAI,EACJ,OAAO,EACP,QAAQ,CAAC,OAAO,EAChB,MAAM,CACP,CAAC;YACF,MAAM,YAAY,GAAG,IAAA,6CAAqB,EAAC,UAAU,CAAC,CAAC;YACvD,wBAAwB,CAAC,IAAI,CAAC,YAAY,EAAE,CAAC;gBAC3C,OAAO;YACT,CAAC;YAED,qEAAqE;YACrE,MAAM,cAAc,GAAG,IAAA,mCAA4B,EAAC,QAAQ,EAAE,UAAU,CAAC,CAAC;YAC1E,MAAM,cAAc,GAAG,QAAQ,CAAC,qBAAqB,CAAC,GAAG,CAAC,YAAY,CAAC,CAAC;YAExE,yFAAyF;YACzF,+DAA+D;YAC/D,wDAAwD;YACxD,qGAAqG;YACrG,IAAI,YAAY,GACd,EAAE,CAAC,oBAAoB,CAAC,cAAc,CAAC;gBACvC,EAAE,CAAC,eAAe,CAAC,cAAc,CAAC;gBAChC,CAAC,CAAC,IAAA,wBAAiB,EAAC,OAAO,EAAE,cAAc,CAAC;gBAC5C,CAAC,CAAC,QAAQ,CAAC,iBAAiB,CAAC,YAAY,CAAC,CAAC;YAC/C,IAAI,CAAC,YAAY,EAAE,CAAC;gBAClB,YAAY,GAAG,QAAQ,CAAC,iBAAiB,CAAC,YAAY,CAAC,CAAC;YAC1D,CAAC;YACD,MAAM,cAAc,GAAG,OAAO,CAAC,uBAAuB,CAAC,YAAY,CAAC,CAAC;YACrE,6EAA6E;YAC7E,iFAAiF;YACjF,IAAI,cAAc,CAAC,IAAI,EAAE,CAAC;gBACxB,KAAK,MAAM,SAAS,IAAI,cAAc,EAAE,CAAC;oBACvC,MAAM,mBAAmB,GAAG,SAAS,CAAC,aAAa,EAAE,CAAC;oBAEtD,IACE,cAAc,KAAK,mBAAmB;wBACtC,IAAA,oBAAa,EACX,mBAAmB,EACnB,EAAE,CAAC,SAAS,CAAC,GAAG,GAAG,EAAE,CAAC,SAAS,CAAC,OAAO,CACxC,EACD,CAAC;wBACD,OAAO;oBACT,CAAC;oBACD,IAAI,YAAY,CAAC,KAAK,EAAE,CAAC;wBACvB,MAAM,0BAA0B,GAC9B,OAAO,CAAC,cAAc,CAAC,mBAAmB,CAAC,CAAC;wBAE9C,MAAM,qBAAqB,GACzB,OAAO,CAAC,cAAc,CAAC,cAAc,CAAC,CAAC;wBACzC,IACE,qBAAqB,KAAK,0BAA0B;4BACpD,CAAC,0BAA0B;gCACzB,IAAA,oBAAa,EACX,0BAA0B,EAC1B,EAAE,CAAC,SAAS,CAAC,GAAG,GAAG,EAAE,CAAC,SAAS,CAAC,OAAO,CACxC,CAAC,EACJ,CAAC;4BACD,OAAO;wBACT,CAAC;oBACH,CAAC;gBACH,CAAC;YACH,CAAC;YAED,IAAI,OAAO,KAAK,cAAO,CAAC,IAAI,EAAE,CAAC;gBAC7B,2FAA2F;gBAC3F,8CAA8C;gBAC9C,KAAK,MAAM,SAAS,IAAI,cAAc,EAAE,CAAC;oBACvC,MAAM,kBAAkB,GAAG,SAAS,CAAC,aAAa,EAAE,CAAC;oBACrD,IACE,OAAO,KAAK,cAAO,CAAC,GAAG;wBACvB,IAAA,wBAAiB,EAAC,kBAAkB,CAAC,EACrC,CAAC;wBACD,OAAO;oBACT,CAAC;oBACD,IACE,OAAO,KAAK,cAAO,CAAC,QAAQ;wBAC5B,IAAA,6BAAsB,EAAC,kBAAkB,EAAE,OAAO,CAAC,EACnD,CAAC;wBACD,OAAO;oBACT,CAAC;oBACD,MAAM,WAAW,GAAG,OAAO,CAAC,cAAc,CAAC,kBAAkB,CAAC,CAAC;oBAC/D,IACE,WAAW;wBACX,OAAO,KAAK,cAAO,CAAC,UAAU;wBAC9B,IAAA,wBAAiB,EAAC,WAAW,CAAC,EAC9B,CAAC;wBACD,OAAO;oBACT,CAAC;gBACH,CAAC;gBAED,IAAI,OAAO,KAAK,cAAO,CAAC,UAAU,IAAI,CAAC,YAAY,CAAC,KAAK,EAAE,CAAC;oBAC1D,OAAO;gBACT,CAAC;gBAED,IAAI,SAAS,GAAwC,cAAc,CAAC;gBACpE,MAAM,WAAW,GAAG,OAAO,CAAC,oBAAoB,CAAC,cAAc,CAAC,CAAC;gBAEjE,IAAI,CAAC,gBAAgB,EAAE,CAAC;oBACtB,gBAAgB;oBAChB,MAAM,cAAc,GAAG,IAAA,wBAAiB,EAAC,UAAU,CAAC,CAAC;oBACrD,IACE,cAAc;wBACd,IAAA,oBAAa,EACX,IAAA,mCAA4B,EAAC,QAAQ,EAAE,cAAc,CAAC,CACvD,EACD,CAAC;wBACD,SAAS,GAAG,kBAAkB,CAAC;oBACjC,CAAC;gBACH,CAAC;gBAED,qFAAqF;gBACrF,OAAO,OAAO,CAAC,MAAM,CAAC;oBACpB,IAAI,EAAE,aAAa;oBACnB,SAAS;oBACT,IAAI,EAAE;wBACJ,IAAI,EAAE,WAAW;4BACf,CAAC,CAAC,OAAO;4BACT,CAAC,CAAC,OAAO,KAAK,cAAO,CAAC,GAAG;gCACvB,CAAC,CAAC,OAAO;gCACT,CAAC,CAAC,OAAO,KAAK,cAAO,CAAC,UAAU;oCAC9B,CAAC,CAAC,gBAAgB;oCAClB,CAAC,CAAC,SAAS;qBAClB;iBACF,CAAC,CAAC;YACL,CAAC;YAED,MAAM,SAAS,GAAG,YAAY,CAAC,iBAAiB,EAAE,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC;YACzD,IAAI,SAAS,EAAE,CAAC;gBACd,MAAM,kBAAkB,GAAG,SAAS,CAAC,aAAa,EAAE,CAAC;gBACrD,MAAM,MAAM,GAAG,IAAA,yBAAkB,EAC/B,cAAc,EACd,kBAAkB,EAClB,OAAO,EACP,UAAU,CACX,CAAC;gBACF,IAAI,CAAC,MAAM,EAAE,CAAC;oBACZ,OAAO;gBACT,CAAC;gBAED,MAAM,EAAE,QAAQ,EAAE,MAAM,EAAE,GAAG,MAAM,CAAC;gBACpC,OAAO,OAAO,CAAC,MAAM,CAAC;oBACpB,IAAI,EAAE,aAAa;oBACnB,SAAS,EAAE,wBAAwB;oBACnC,IAAI,EAAE;wBACJ,QAAQ,EAAE,OAAO,CAAC,YAAY,CAAC,QAAQ,CAAC;wBACxC,MAAM,EAAE,OAAO,CAAC,YAAY,CAAC,MAAM,CAAC;qBACrC;iBACF,CAAC,CAAC;YACL,CAAC;QACH,CAAC;QAED,OAAO;YACL,qDAAqD,EAAE,WAAW;YAClE,eAAe,CAAC,IAAI;gBAClB,MAAM,QAAQ,GAAG,IAAI,CAAC,QAAQ,CAAC;gBAC/B,IAAI,CAAC,QAAQ,EAAE,CAAC;oBACd,OAAO;gBACT,CAAC;gBAED,WAAW,CAAC,QAAQ,EAAE,IAAI,CAAC,CAAC;YAC9B,CAAC;SACF,CAAC;IACJ,CAAC;CACF,CAAC,CAAC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unsafe-type-assertion.js b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unsafe-type-assertion.js index b5454f9d08..464f227397 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unsafe-type-assertion.js +++ b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unsafe-type-assertion.js @@ -15,13 +15,23 @@ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? ( }) : function(o, v) { o["default"] = v; }); -var __importStar = (this && this.__importStar) || function (mod) { - if (mod && mod.__esModule) return mod; - var result = {}; - if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k); - __setModuleDefault(result, mod); - return result; -}; +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); Object.defineProperty(exports, "__esModule", { value: true }); const tsutils = __importStar(require("ts-api-utils")); const ts = __importStar(require("typescript")); diff --git a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unsafe-type-assertion.js.map b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unsafe-type-assertion.js.map index b2ecfe5110..76401177d0 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unsafe-type-assertion.js.map +++ b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unsafe-type-assertion.js.map @@ -1 +1 @@ -{"version":3,"file":"no-unsafe-type-assertion.js","sourceRoot":"","sources":["../../src/rules/no-unsafe-type-assertion.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AAEA,sDAAwC;AACxC,+CAAiC;AAEjC,kCAOiB;AAEjB,kBAAe,IAAA,iBAAU,EAAC;IACxB,IAAI,EAAE,0BAA0B;IAChC,IAAI,EAAE;QACJ,IAAI,EAAE,SAAS;QACf,IAAI,EAAE;YACJ,WAAW,EAAE,6CAA6C;YAC1D,oBAAoB,EAAE,IAAI;SAC3B;QACD,QAAQ,EAAE;YACR,wBAAwB,EACtB,iFAAiF;YACnF,wBAAwB,EACtB,yFAAyF;YAC3F,mBAAmB,EACjB,+EAA+E;SAClF;QACD,MAAM,EAAE,EAAE;KACX;IACD,cAAc,EAAE,EAAE;IAClB,MAAM,CAAC,OAAO;QACZ,MAAM,QAAQ,GAAG,IAAA,wBAAiB,EAAC,OAAO,CAAC,CAAC;QAC5C,MAAM,OAAO,GAAG,QAAQ,CAAC,OAAO,CAAC,cAAc,EAAE,CAAC;QAElD,SAAS,cAAc,CAAC,IAAa;YACnC,OAAO,OAAO,CAAC,oBAAoB,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,aAAa,CAAC,CAAC,CAAC,OAAO,CAAC;QACtE,CAAC;QAED,SAAS,mBAAmB,CAAC,IAAa;YACxC,OAAO,CACL,OAAO,CAAC,YAAY,CAAC,IAAI,CAAC;gBAC1B,OAAO,CAAC,eAAe,CAAC,IAAI,EAAE,EAAE,CAAC,WAAW,CAAC,aAAa,CAAC,CAC5D,CAAC;QACJ,CAAC;QAED,SAAS,eAAe,CACtB,IAAwD;YAExD,MAAM,cAAc,GAAG,IAAA,mCAA4B,EACjD,QAAQ,EACR,IAAI,CAAC,UAAU,CAChB,CAAC;YACF,MAAM,YAAY,GAAG,IAAA,mCAA4B,EAC/C,QAAQ,EACR,IAAI,CAAC,cAAc,CACpB,CAAC;YAEF,IAAI,cAAc,KAAK,YAAY,EAAE,CAAC;gBACpC,OAAO;YACT,CAAC;YAED,6CAA6C;YAC7C,IAAI,IAAA,oBAAa,EAAC,YAAY,CAAC,IAAI,IAAA,wBAAiB,EAAC,cAAc,CAAC,EAAE,CAAC;gBACrE,OAAO,CAAC,MAAM,CAAC;oBACb,IAAI;oBACJ,SAAS,EAAE,0BAA0B;oBACrC,IAAI,EAAE;wBACJ,IAAI,EAAE,OAAO;qBACd;iBACF,CAAC,CAAC;gBAEH,OAAO;YACT,CAAC;YAED,MAAM,mBAAmB,GAAG,IAAA,yBAAkB,EAC5C,cAAc,EACd,YAAY,EACZ,OAAO,EACP,IAAI,CAAC,UAAU,CAChB,CAAC;YAEF,IAAI,mBAAmB,EAAE,CAAC;gBACxB,OAAO,CAAC,MAAM,CAAC;oBACb,IAAI;oBACJ,SAAS,EAAE,0BAA0B;oBACrC,IAAI,EAAE;wBACJ,IAAI,EAAE,cAAc,CAAC,mBAAmB,CAAC,MAAM,CAAC;qBACjD;iBACF,CAAC,CAAC;gBAEH,OAAO;YACT,CAAC;YAED,MAAM,iBAAiB,GAAG,IAAA,yBAAkB,EAC1C,YAAY,EACZ,cAAc,EACd,OAAO,EACP,IAAI,CAAC,cAAc,CACpB,CAAC;YAEF,IAAI,iBAAiB,EAAE,CAAC;gBACtB,OAAO,CAAC,MAAM,CAAC;oBACb,IAAI;oBACJ,SAAS,EAAE,0BAA0B;oBACrC,IAAI,EAAE;wBACJ,IAAI,EAAE,cAAc,CAAC,iBAAiB,CAAC,MAAM,CAAC;qBAC/C;iBACF,CAAC,CAAC;gBAEH,OAAO;YACT,CAAC;YAED,8EAA8E;YAC9E,uCAAuC;YACvC,MAAM,eAAe,GAAG,mBAAmB,CAAC,cAAc,CAAC;gBACzD,CAAC,CAAC,OAAO,CAAC,cAAc,CAAC,cAAc,CAAC;gBACxC,CAAC,CAAC,cAAc,CAAC;YAEnB,MAAM,eAAe,GAAG,OAAO,CAAC,kBAAkB,CAChD,eAAe,EACf,YAAY,CACb,CAAC;YAEF,IAAI,CAAC,eAAe,EAAE,CAAC;gBACrB,OAAO,CAAC,MAAM,CAAC;oBACb,IAAI;oBACJ,SAAS,EAAE,qBAAqB;oBAChC,IAAI,EAAE;wBACJ,IAAI,EAAE,OAAO,CAAC,YAAY,CAAC,YAAY,CAAC;qBACzC;iBACF,CAAC,CAAC;YACL,CAAC;QACH,CAAC;QAED,OAAO;YACL,iCAAiC,CAC/B,IAAwD;gBAExD,eAAe,CAAC,IAAI,CAAC,CAAC;YACxB,CAAC;SACF,CAAC;IACJ,CAAC;CACF,CAAC,CAAC"} \ No newline at end of file +{"version":3,"file":"no-unsafe-type-assertion.js","sourceRoot":"","sources":["../../src/rules/no-unsafe-type-assertion.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEA,sDAAwC;AACxC,+CAAiC;AAEjC,kCAOiB;AAEjB,kBAAe,IAAA,iBAAU,EAAC;IACxB,IAAI,EAAE,0BAA0B;IAChC,IAAI,EAAE;QACJ,IAAI,EAAE,SAAS;QACf,IAAI,EAAE;YACJ,WAAW,EAAE,6CAA6C;YAC1D,oBAAoB,EAAE,IAAI;SAC3B;QACD,QAAQ,EAAE;YACR,wBAAwB,EACtB,iFAAiF;YACnF,wBAAwB,EACtB,yFAAyF;YAC3F,mBAAmB,EACjB,+EAA+E;SAClF;QACD,MAAM,EAAE,EAAE;KACX;IACD,cAAc,EAAE,EAAE;IAClB,MAAM,CAAC,OAAO;QACZ,MAAM,QAAQ,GAAG,IAAA,wBAAiB,EAAC,OAAO,CAAC,CAAC;QAC5C,MAAM,OAAO,GAAG,QAAQ,CAAC,OAAO,CAAC,cAAc,EAAE,CAAC;QAElD,SAAS,cAAc,CAAC,IAAa;YACnC,OAAO,OAAO,CAAC,oBAAoB,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,aAAa,CAAC,CAAC,CAAC,OAAO,CAAC;QACtE,CAAC;QAED,SAAS,mBAAmB,CAAC,IAAa;YACxC,OAAO,CACL,OAAO,CAAC,YAAY,CAAC,IAAI,CAAC;gBAC1B,OAAO,CAAC,eAAe,CAAC,IAAI,EAAE,EAAE,CAAC,WAAW,CAAC,aAAa,CAAC,CAC5D,CAAC;QACJ,CAAC;QAED,SAAS,eAAe,CACtB,IAAwD;YAExD,MAAM,cAAc,GAAG,IAAA,mCAA4B,EACjD,QAAQ,EACR,IAAI,CAAC,UAAU,CAChB,CAAC;YACF,MAAM,YAAY,GAAG,IAAA,mCAA4B,EAC/C,QAAQ,EACR,IAAI,CAAC,cAAc,CACpB,CAAC;YAEF,IAAI,cAAc,KAAK,YAAY,EAAE,CAAC;gBACpC,OAAO;YACT,CAAC;YAED,6CAA6C;YAC7C,IAAI,IAAA,oBAAa,EAAC,YAAY,CAAC,IAAI,IAAA,wBAAiB,EAAC,cAAc,CAAC,EAAE,CAAC;gBACrE,OAAO,CAAC,MAAM,CAAC;oBACb,IAAI;oBACJ,SAAS,EAAE,0BAA0B;oBACrC,IAAI,EAAE;wBACJ,IAAI,EAAE,OAAO;qBACd;iBACF,CAAC,CAAC;gBAEH,OAAO;YACT,CAAC;YAED,MAAM,mBAAmB,GAAG,IAAA,yBAAkB,EAC5C,cAAc,EACd,YAAY,EACZ,OAAO,EACP,IAAI,CAAC,UAAU,CAChB,CAAC;YAEF,IAAI,mBAAmB,EAAE,CAAC;gBACxB,OAAO,CAAC,MAAM,CAAC;oBACb,IAAI;oBACJ,SAAS,EAAE,0BAA0B;oBACrC,IAAI,EAAE;wBACJ,IAAI,EAAE,cAAc,CAAC,mBAAmB,CAAC,MAAM,CAAC;qBACjD;iBACF,CAAC,CAAC;gBAEH,OAAO;YACT,CAAC;YAED,MAAM,iBAAiB,GAAG,IAAA,yBAAkB,EAC1C,YAAY,EACZ,cAAc,EACd,OAAO,EACP,IAAI,CAAC,cAAc,CACpB,CAAC;YAEF,IAAI,iBAAiB,EAAE,CAAC;gBACtB,OAAO,CAAC,MAAM,CAAC;oBACb,IAAI;oBACJ,SAAS,EAAE,0BAA0B;oBACrC,IAAI,EAAE;wBACJ,IAAI,EAAE,cAAc,CAAC,iBAAiB,CAAC,MAAM,CAAC;qBAC/C;iBACF,CAAC,CAAC;gBAEH,OAAO;YACT,CAAC;YAED,8EAA8E;YAC9E,uCAAuC;YACvC,MAAM,eAAe,GAAG,mBAAmB,CAAC,cAAc,CAAC;gBACzD,CAAC,CAAC,OAAO,CAAC,cAAc,CAAC,cAAc,CAAC;gBACxC,CAAC,CAAC,cAAc,CAAC;YAEnB,MAAM,eAAe,GAAG,OAAO,CAAC,kBAAkB,CAChD,eAAe,EACf,YAAY,CACb,CAAC;YAEF,IAAI,CAAC,eAAe,EAAE,CAAC;gBACrB,OAAO,CAAC,MAAM,CAAC;oBACb,IAAI;oBACJ,SAAS,EAAE,qBAAqB;oBAChC,IAAI,EAAE;wBACJ,IAAI,EAAE,OAAO,CAAC,YAAY,CAAC,YAAY,CAAC;qBACzC;iBACF,CAAC,CAAC;YACL,CAAC;QACH,CAAC;QAED,OAAO;YACL,iCAAiC,CAC/B,IAAwD;gBAExD,eAAe,CAAC,IAAI,CAAC,CAAC;YACxB,CAAC;SACF,CAAC;IACJ,CAAC;CACF,CAAC,CAAC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unsafe-unary-minus.js b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unsafe-unary-minus.js index c94807f811..a2a05414d3 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unsafe-unary-minus.js +++ b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unsafe-unary-minus.js @@ -15,13 +15,23 @@ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? ( }) : function(o, v) { o["default"] = v; }); -var __importStar = (this && this.__importStar) || function (mod) { - if (mod && mod.__esModule) return mod; - var result = {}; - if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k); - __setModuleDefault(result, mod); - return result; -}; +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); Object.defineProperty(exports, "__esModule", { value: true }); const tsutils = __importStar(require("ts-api-utils")); const ts = __importStar(require("typescript")); diff --git a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unsafe-unary-minus.js.map b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unsafe-unary-minus.js.map index e5aae17d80..f453affb6c 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unsafe-unary-minus.js.map +++ b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unsafe-unary-minus.js.map @@ -1 +1 @@ -{"version":3,"file":"no-unsafe-unary-minus.js","sourceRoot":"","sources":["../../src/rules/no-unsafe-unary-minus.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AAAA,sDAAwC;AACxC,+CAAiC;AAEjC,8CAAgC;AAKhC,kBAAe,IAAI,CAAC,UAAU,CAAsB;IAClD,IAAI,EAAE,uBAAuB;IAC7B,IAAI,EAAE;QACJ,IAAI,EAAE,SAAS;QACf,IAAI,EAAE;YACJ,WAAW,EAAE,yCAAyC;YACtD,WAAW,EAAE,aAAa;YAC1B,oBAAoB,EAAE,IAAI;SAC3B;QACD,QAAQ,EAAE;YACR,UAAU,EACR,6FAA6F;SAChG;QACD,MAAM,EAAE,EAAE;KACX;IACD,cAAc,EAAE,EAAE;IAClB,MAAM,CAAC,OAAO;QACZ,OAAO;YACL,eAAe,CAAC,IAAI;gBAClB,IAAI,IAAI,CAAC,QAAQ,KAAK,GAAG,EAAE,CAAC;oBAC1B,OAAO;gBACT,CAAC;gBACD,MAAM,QAAQ,GAAG,IAAI,CAAC,iBAAiB,CAAC,OAAO,CAAC,CAAC;gBACjD,MAAM,OAAO,GAAG,IAAI,CAAC,4BAA4B,CAC/C,QAAQ,EACR,IAAI,CAAC,QAAQ,CACd,CAAC;gBACF,MAAM,OAAO,GAAG,QAAQ,CAAC,OAAO,CAAC,cAAc,EAAE,CAAC;gBAClD,IACE,OAAO;qBACJ,cAAc,CAAC,OAAO,CAAC;qBACvB,IAAI,CACH,IAAI,CAAC,EAAE,CACL,CAAC,OAAO,CAAC,aAAa,CACpB,IAAI,EACJ,EAAE,CAAC,SAAS,CAAC,GAAG;oBACd,EAAE,CAAC,SAAS,CAAC,KAAK;oBAClB,EAAE,CAAC,SAAS,CAAC,UAAU;oBACvB,EAAE,CAAC,SAAS,CAAC,UAAU,CAC1B,CACJ,EACH,CAAC;oBACD,OAAO,CAAC,MAAM,CAAC;wBACb,IAAI;wBACJ,SAAS,EAAE,YAAY;wBACvB,IAAI,EAAE,EAAE,IAAI,EAAE,OAAO,CAAC,YAAY,CAAC,OAAO,CAAC,EAAE;qBAC9C,CAAC,CAAC;gBACL,CAAC;YACH,CAAC;SACF,CAAC;IACJ,CAAC;CACF,CAAC,CAAC"} \ No newline at end of file +{"version":3,"file":"no-unsafe-unary-minus.js","sourceRoot":"","sources":["../../src/rules/no-unsafe-unary-minus.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,sDAAwC;AACxC,+CAAiC;AAEjC,8CAAgC;AAKhC,kBAAe,IAAI,CAAC,UAAU,CAAsB;IAClD,IAAI,EAAE,uBAAuB;IAC7B,IAAI,EAAE;QACJ,IAAI,EAAE,SAAS;QACf,IAAI,EAAE;YACJ,WAAW,EAAE,yCAAyC;YACtD,WAAW,EAAE,aAAa;YAC1B,oBAAoB,EAAE,IAAI;SAC3B;QACD,QAAQ,EAAE;YACR,UAAU,EACR,6FAA6F;SAChG;QACD,MAAM,EAAE,EAAE;KACX;IACD,cAAc,EAAE,EAAE;IAClB,MAAM,CAAC,OAAO;QACZ,OAAO;YACL,eAAe,CAAC,IAAI;gBAClB,IAAI,IAAI,CAAC,QAAQ,KAAK,GAAG,EAAE,CAAC;oBAC1B,OAAO;gBACT,CAAC;gBACD,MAAM,QAAQ,GAAG,IAAI,CAAC,iBAAiB,CAAC,OAAO,CAAC,CAAC;gBACjD,MAAM,OAAO,GAAG,IAAI,CAAC,4BAA4B,CAC/C,QAAQ,EACR,IAAI,CAAC,QAAQ,CACd,CAAC;gBACF,MAAM,OAAO,GAAG,QAAQ,CAAC,OAAO,CAAC,cAAc,EAAE,CAAC;gBAClD,IACE,OAAO;qBACJ,cAAc,CAAC,OAAO,CAAC;qBACvB,IAAI,CACH,IAAI,CAAC,EAAE,CACL,CAAC,OAAO,CAAC,aAAa,CACpB,IAAI,EACJ,EAAE,CAAC,SAAS,CAAC,GAAG;oBACd,EAAE,CAAC,SAAS,CAAC,KAAK;oBAClB,EAAE,CAAC,SAAS,CAAC,UAAU;oBACvB,EAAE,CAAC,SAAS,CAAC,UAAU,CAC1B,CACJ,EACH,CAAC;oBACD,OAAO,CAAC,MAAM,CAAC;wBACb,IAAI;wBACJ,SAAS,EAAE,YAAY;wBACvB,IAAI,EAAE,EAAE,IAAI,EAAE,OAAO,CAAC,YAAY,CAAC,OAAO,CAAC,EAAE;qBAC9C,CAAC,CAAC;gBACL,CAAC;YACH,CAAC;SACF,CAAC;IACJ,CAAC;CACF,CAAC,CAAC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/non-nullable-type-assertion-style.js b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/non-nullable-type-assertion-style.js index 5ca0f59836..298379761e 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/non-nullable-type-assertion-style.js +++ b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/non-nullable-type-assertion-style.js @@ -15,13 +15,23 @@ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? ( }) : function(o, v) { o["default"] = v; }); -var __importStar = (this && this.__importStar) || function (mod) { - if (mod && mod.__esModule) return mod; - var result = {}; - if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k); - __setModuleDefault(result, mod); - return result; -}; +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); Object.defineProperty(exports, "__esModule", { value: true }); const utils_1 = require("@typescript-eslint/utils"); const tsutils = __importStar(require("ts-api-utils")); @@ -57,7 +67,7 @@ exports.default = (0, util_1.createRule)({ const constraint = type.getConstraint(); return constraint == null || couldBeNullish(constraint); } - else if (tsutils.isUnionType(type)) { + if (tsutils.isUnionType(type)) { for (const part of type.types) { if (couldBeNullish(part)) { return true; diff --git a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/non-nullable-type-assertion-style.js.map b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/non-nullable-type-assertion-style.js.map index bc8d70a242..f76e1763ee 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/non-nullable-type-assertion-style.js.map +++ b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/non-nullable-type-assertion-style.js.map @@ -1 +1 @@ -{"version":3,"file":"non-nullable-type-assertion-style.js","sourceRoot":"","sources":["../../src/rules/non-nullable-type-assertion-style.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AAEA,oDAA0D;AAC1D,sDAAwC;AACxC,+CAAiC;AAEjC,kCAKiB;AAEjB,kBAAe,IAAA,iBAAU,EAAC;IACxB,IAAI,EAAE,mCAAmC;IACzC,IAAI,EAAE;QACJ,IAAI,EAAE,YAAY;QAClB,IAAI,EAAE;YACJ,WAAW,EAAE,sDAAsD;YACnE,WAAW,EAAE,WAAW;YACxB,oBAAoB,EAAE,IAAI;SAC3B;QACD,OAAO,EAAE,MAAM;QACf,QAAQ,EAAE;YACR,sBAAsB,EACpB,+EAA+E;SAClF;QACD,MAAM,EAAE,EAAE;KACX;IACD,cAAc,EAAE,EAAE;IAElB,MAAM,CAAC,OAAO;QACZ,MAAM,QAAQ,GAAG,IAAA,wBAAiB,EAAC,OAAO,CAAC,CAAC;QAE5C,MAAM,kBAAkB,GAAG,CAAC,IAAmB,EAAyB,EAAE;YACxE,MAAM,IAAI,GAAG,QAAQ,CAAC,iBAAiB,CAAC,IAAI,CAAC,CAAC;YAE9C,IACE,OAAO,CAAC,aAAa,CAAC,IAAI,EAAE,EAAE,CAAC,SAAS,CAAC,GAAG,GAAG,EAAE,CAAC,SAAS,CAAC,OAAO,CAAC,EACpE,CAAC;gBACD,OAAO,SAAS,CAAC;YACnB,CAAC;YAED,OAAO,OAAO,CAAC,cAAc,CAAC,IAAI,CAAC,CAAC;QACtC,CAAC,CAAC;QAEF,MAAM,cAAc,GAAG,CAAC,IAAa,EAAW,EAAE;YAChD,IAAI,IAAI,CAAC,KAAK,GAAG,EAAE,CAAC,SAAS,CAAC,aAAa,EAAE,CAAC;gBAC5C,MAAM,UAAU,GAAG,IAAI,CAAC,aAAa,EAAE,CAAC;gBACxC,OAAO,UAAU,IAAI,IAAI,IAAI,cAAc,CAAC,UAAU,CAAC,CAAC;YAC1D,CAAC;iBAAM,IAAI,OAAO,CAAC,WAAW,CAAC,IAAI,CAAC,EAAE,CAAC;gBACrC,KAAK,MAAM,IAAI,IAAI,IAAI,CAAC,KAAK,EAAE,CAAC;oBAC9B,IAAI,cAAc,CAAC,IAAI,CAAC,EAAE,CAAC;wBACzB,OAAO,IAAI,CAAC;oBACd,CAAC;gBACH,CAAC;gBACD,OAAO,KAAK,CAAC;YACf,CAAC;YACD,OAAO,CAAC,IAAI,CAAC,KAAK,GAAG,CAAC,EAAE,CAAC,SAAS,CAAC,IAAI,GAAG,EAAE,CAAC,SAAS,CAAC,SAAS,CAAC,CAAC,KAAK,CAAC,CAAC;QAC3E,CAAC,CAAC;QAEF,MAAM,sBAAsB,GAAG,CAC7B,aAAwB,EACxB,aAAwB,EACf,EAAE;YACX,MAAM,uBAAuB,GAAG,aAAa,CAAC,MAAM,CAClD,IAAI,CAAC,EAAE,CACL,CAAC,IAAI,CAAC,KAAK,GAAG,CAAC,EAAE,CAAC,SAAS,CAAC,IAAI,GAAG,EAAE,CAAC,SAAS,CAAC,SAAS,CAAC,CAAC,KAAK,CAAC,CACpE,CAAC;YAEF,IAAI,uBAAuB,CAAC,MAAM,KAAK,aAAa,CAAC,MAAM,EAAE,CAAC;gBAC5D,OAAO,KAAK,CAAC;YACf,CAAC;YAED,KAAK,MAAM,YAAY,IAAI,aAAa,EAAE,CAAC;gBACzC,IACE,cAAc,CAAC,YAAY,CAAC;oBAC5B,CAAC,uBAAuB,CAAC,QAAQ,CAAC,YAAY,CAAC,EAC/C,CAAC;oBACD,OAAO,KAAK,CAAC;gBACf,CAAC;YACH,CAAC;YAED,KAAK,MAAM,YAAY,IAAI,uBAAuB,EAAE,CAAC;gBACnD,IAAI,CAAC,aAAa,CAAC,QAAQ,CAAC,YAAY,CAAC,EAAE,CAAC;oBAC1C,OAAO,KAAK,CAAC;gBACf,CAAC;YACH,CAAC;YAED,OAAO,IAAI,CAAC;QACd,CAAC,CAAC;QAEF,MAAM,gBAAgB,GAAG,CACvB,IAAwD,EAC/C,EAAE;YACX,OAAO,CACL,IAAI,CAAC,cAAc,CAAC,IAAI,KAAK,sBAAc,CAAC,eAAe;gBAC3D,IAAI,CAAC,cAAc,CAAC,QAAQ,CAAC,IAAI,KAAK,sBAAc,CAAC,UAAU;gBAC/D,IAAI,CAAC,cAAc,CAAC,QAAQ,CAAC,IAAI,KAAK,OAAO,CAC9C,CAAC;QACJ,CAAC,CAAC;QAEF,OAAO;YACL,iCAAiC,CAC/B,IAAwD;gBAExD,IAAI,gBAAgB,CAAC,IAAI,CAAC,EAAE,CAAC;oBAC3B,OAAO;gBACT,CAAC;gBAED,MAAM,aAAa,GAAG,kBAAkB,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC;gBAC1D,IAAI,CAAC,aAAa,EAAE,CAAC;oBACnB,OAAO;gBACT,CAAC;gBAED,MAAM,aAAa,GAAG,kBAAkB,CAAC,IAAI,CAAC,cAAc,CAAC,CAAC;gBAC9D,IAAI,CAAC,aAAa,EAAE,CAAC;oBACnB,OAAO;gBACT,CAAC;gBAED,IAAI,sBAAsB,CAAC,aAAa,EAAE,aAAa,CAAC,EAAE,CAAC;oBACzD,MAAM,oBAAoB,GAAG,OAAO,CAAC,UAAU,CAAC,OAAO,CACrD,IAAI,CAAC,UAAU,CAChB,CAAC;oBAEF,MAAM,yBAAyB,GAC7B,IAAA,4BAAqB,EACnB,QAAQ,CAAC,qBAAqB,CAAC,GAAG,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC,IAAI,EACxD,EAAE,CAAC,UAAU,CAAC,OAAO,CACtB,GAAG,yBAAkB,CAAC,KAAK,CAAC;oBAE/B,OAAO,CAAC,MAAM,CAAC;wBACb,IAAI;wBACJ,SAAS,EAAE,wBAAwB;wBACnC,GAAG,CAAC,KAAK;4BACP,OAAO,KAAK,CAAC,WAAW,CACtB,IAAI,EACJ,yBAAyB;gCACvB,CAAC,CAAC,GAAG,oBAAoB,GAAG;gCAC5B,CAAC,CAAC,IAAI,oBAAoB,IAAI,CACjC,CAAC;wBACJ,CAAC;qBACF,CAAC,CAAC;gBACL,CAAC;YACH,CAAC;SACF,CAAC;IACJ,CAAC;CACF,CAAC,CAAC"} \ No newline at end of file +{"version":3,"file":"non-nullable-type-assertion-style.js","sourceRoot":"","sources":["../../src/rules/non-nullable-type-assertion-style.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEA,oDAA0D;AAC1D,sDAAwC;AACxC,+CAAiC;AAEjC,kCAKiB;AAEjB,kBAAe,IAAA,iBAAU,EAAC;IACxB,IAAI,EAAE,mCAAmC;IACzC,IAAI,EAAE;QACJ,IAAI,EAAE,YAAY;QAClB,IAAI,EAAE;YACJ,WAAW,EAAE,sDAAsD;YACnE,WAAW,EAAE,WAAW;YACxB,oBAAoB,EAAE,IAAI;SAC3B;QACD,OAAO,EAAE,MAAM;QACf,QAAQ,EAAE;YACR,sBAAsB,EACpB,+EAA+E;SAClF;QACD,MAAM,EAAE,EAAE;KACX;IACD,cAAc,EAAE,EAAE;IAElB,MAAM,CAAC,OAAO;QACZ,MAAM,QAAQ,GAAG,IAAA,wBAAiB,EAAC,OAAO,CAAC,CAAC;QAE5C,MAAM,kBAAkB,GAAG,CAAC,IAAmB,EAAyB,EAAE;YACxE,MAAM,IAAI,GAAG,QAAQ,CAAC,iBAAiB,CAAC,IAAI,CAAC,CAAC;YAE9C,IACE,OAAO,CAAC,aAAa,CAAC,IAAI,EAAE,EAAE,CAAC,SAAS,CAAC,GAAG,GAAG,EAAE,CAAC,SAAS,CAAC,OAAO,CAAC,EACpE,CAAC;gBACD,OAAO,SAAS,CAAC;YACnB,CAAC;YAED,OAAO,OAAO,CAAC,cAAc,CAAC,IAAI,CAAC,CAAC;QACtC,CAAC,CAAC;QAEF,MAAM,cAAc,GAAG,CAAC,IAAa,EAAW,EAAE;YAChD,IAAI,IAAI,CAAC,KAAK,GAAG,EAAE,CAAC,SAAS,CAAC,aAAa,EAAE,CAAC;gBAC5C,MAAM,UAAU,GAAG,IAAI,CAAC,aAAa,EAAE,CAAC;gBACxC,OAAO,UAAU,IAAI,IAAI,IAAI,cAAc,CAAC,UAAU,CAAC,CAAC;YAC1D,CAAC;YAED,IAAI,OAAO,CAAC,WAAW,CAAC,IAAI,CAAC,EAAE,CAAC;gBAC9B,KAAK,MAAM,IAAI,IAAI,IAAI,CAAC,KAAK,EAAE,CAAC;oBAC9B,IAAI,cAAc,CAAC,IAAI,CAAC,EAAE,CAAC;wBACzB,OAAO,IAAI,CAAC;oBACd,CAAC;gBACH,CAAC;gBACD,OAAO,KAAK,CAAC;YACf,CAAC;YACD,OAAO,CAAC,IAAI,CAAC,KAAK,GAAG,CAAC,EAAE,CAAC,SAAS,CAAC,IAAI,GAAG,EAAE,CAAC,SAAS,CAAC,SAAS,CAAC,CAAC,KAAK,CAAC,CAAC;QAC3E,CAAC,CAAC;QAEF,MAAM,sBAAsB,GAAG,CAC7B,aAAwB,EACxB,aAAwB,EACf,EAAE;YACX,MAAM,uBAAuB,GAAG,aAAa,CAAC,MAAM,CAClD,IAAI,CAAC,EAAE,CACL,CAAC,IAAI,CAAC,KAAK,GAAG,CAAC,EAAE,CAAC,SAAS,CAAC,IAAI,GAAG,EAAE,CAAC,SAAS,CAAC,SAAS,CAAC,CAAC,KAAK,CAAC,CACpE,CAAC;YAEF,IAAI,uBAAuB,CAAC,MAAM,KAAK,aAAa,CAAC,MAAM,EAAE,CAAC;gBAC5D,OAAO,KAAK,CAAC;YACf,CAAC;YAED,KAAK,MAAM,YAAY,IAAI,aAAa,EAAE,CAAC;gBACzC,IACE,cAAc,CAAC,YAAY,CAAC;oBAC5B,CAAC,uBAAuB,CAAC,QAAQ,CAAC,YAAY,CAAC,EAC/C,CAAC;oBACD,OAAO,KAAK,CAAC;gBACf,CAAC;YACH,CAAC;YAED,KAAK,MAAM,YAAY,IAAI,uBAAuB,EAAE,CAAC;gBACnD,IAAI,CAAC,aAAa,CAAC,QAAQ,CAAC,YAAY,CAAC,EAAE,CAAC;oBAC1C,OAAO,KAAK,CAAC;gBACf,CAAC;YACH,CAAC;YAED,OAAO,IAAI,CAAC;QACd,CAAC,CAAC;QAEF,MAAM,gBAAgB,GAAG,CACvB,IAAwD,EAC/C,EAAE;YACX,OAAO,CACL,IAAI,CAAC,cAAc,CAAC,IAAI,KAAK,sBAAc,CAAC,eAAe;gBAC3D,IAAI,CAAC,cAAc,CAAC,QAAQ,CAAC,IAAI,KAAK,sBAAc,CAAC,UAAU;gBAC/D,IAAI,CAAC,cAAc,CAAC,QAAQ,CAAC,IAAI,KAAK,OAAO,CAC9C,CAAC;QACJ,CAAC,CAAC;QAEF,OAAO;YACL,iCAAiC,CAC/B,IAAwD;gBAExD,IAAI,gBAAgB,CAAC,IAAI,CAAC,EAAE,CAAC;oBAC3B,OAAO;gBACT,CAAC;gBAED,MAAM,aAAa,GAAG,kBAAkB,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC;gBAC1D,IAAI,CAAC,aAAa,EAAE,CAAC;oBACnB,OAAO;gBACT,CAAC;gBAED,MAAM,aAAa,GAAG,kBAAkB,CAAC,IAAI,CAAC,cAAc,CAAC,CAAC;gBAC9D,IAAI,CAAC,aAAa,EAAE,CAAC;oBACnB,OAAO;gBACT,CAAC;gBAED,IAAI,sBAAsB,CAAC,aAAa,EAAE,aAAa,CAAC,EAAE,CAAC;oBACzD,MAAM,oBAAoB,GAAG,OAAO,CAAC,UAAU,CAAC,OAAO,CACrD,IAAI,CAAC,UAAU,CAChB,CAAC;oBAEF,MAAM,yBAAyB,GAC7B,IAAA,4BAAqB,EACnB,QAAQ,CAAC,qBAAqB,CAAC,GAAG,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC,IAAI,EACxD,EAAE,CAAC,UAAU,CAAC,OAAO,CACtB,GAAG,yBAAkB,CAAC,KAAK,CAAC;oBAE/B,OAAO,CAAC,MAAM,CAAC;wBACb,IAAI;wBACJ,SAAS,EAAE,wBAAwB;wBACnC,GAAG,CAAC,KAAK;4BACP,OAAO,KAAK,CAAC,WAAW,CACtB,IAAI,EACJ,yBAAyB;gCACvB,CAAC,CAAC,GAAG,oBAAoB,GAAG;gCAC5B,CAAC,CAAC,IAAI,oBAAoB,IAAI,CACjC,CAAC;wBACJ,CAAC;qBACF,CAAC,CAAC;gBACL,CAAC;YACH,CAAC;SACF,CAAC;IACJ,CAAC;CACF,CAAC,CAAC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/only-throw-error.js b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/only-throw-error.js index 80bd4d2bce..af1accf89b 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/only-throw-error.js +++ b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/only-throw-error.js @@ -15,13 +15,23 @@ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? ( }) : function(o, v) { o["default"] = v; }); -var __importStar = (this && this.__importStar) || function (mod) { - if (mod && mod.__esModule) return mod; - var result = {}; - if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k); - __setModuleDefault(result, mod); - return result; -}; +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); Object.defineProperty(exports, "__esModule", { value: true }); const utils_1 = require("@typescript-eslint/utils"); const ts = __importStar(require("typescript")); diff --git a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/only-throw-error.js.map b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/only-throw-error.js.map index 92a291a2b4..1db93b5d37 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/only-throw-error.js.map +++ b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/only-throw-error.js.map @@ -1 +1 @@ -{"version":3,"file":"only-throw-error.js","sourceRoot":"","sources":["../../src/rules/only-throw-error.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AAEA,oDAA0D;AAC1D,+CAAiC;AAIjC,kCAQiB;AAYjB,kBAAe,IAAA,iBAAU,EAAsB;IAC7C,IAAI,EAAE,kBAAkB;IACxB,IAAI,EAAE;QACJ,IAAI,EAAE,SAAS;QACf,IAAI,EAAE;YACJ,WAAW,EAAE,oDAAoD;YACjE,eAAe,EAAE,kBAAkB;YACnC,WAAW,EAAE,aAAa;YAC1B,oBAAoB,EAAE,IAAI;SAC3B;QACD,QAAQ,EAAE;YACR,MAAM,EAAE,wCAAwC;YAChD,KAAK,EAAE,yBAAyB;SACjC;QACD,MAAM,EAAE;YACN;gBACE,IAAI,EAAE,QAAQ;gBACd,oBAAoB,EAAE,KAAK;gBAC3B,UAAU,EAAE;oBACV,KAAK,EAAE;wBACL,GAAG,kCAA2B;wBAC9B,WAAW,EAAE,qCAAqC;qBACnD;oBACD,gBAAgB,EAAE;wBAChB,IAAI,EAAE,SAAS;wBACf,WAAW,EACT,yDAAyD;qBAC5D;oBACD,oBAAoB,EAAE;wBACpB,IAAI,EAAE,SAAS;wBACf,WAAW,EACT,6DAA6D;qBAChE;iBACF;aACF;SACF;KACF;IACD,cAAc,EAAE;QACd;YACE,KAAK,EAAE,EAAE;YACT,gBAAgB,EAAE,IAAI;YACtB,oBAAoB,EAAE,IAAI;SAC3B;KACF;IACD,MAAM,CAAC,OAAO,EAAE,CAAC,OAAO,CAAC;QACvB,MAAM,QAAQ,GAAG,IAAA,wBAAiB,EAAC,OAAO,CAAC,CAAC;QAC5C,MAAM,KAAK,GAAG,OAAO,CAAC,KAAK,CAAC;QAC5B,SAAS,kBAAkB,CAAC,IAAmB;YAC7C,IACE,IAAI,CAAC,IAAI,KAAK,sBAAc,CAAC,eAAe;gBAC5C,IAAI,CAAC,IAAI,KAAK,sBAAc,CAAC,eAAe,EAC5C,CAAC;gBACD,OAAO;YACT,CAAC;YAED,MAAM,IAAI,GAAG,QAAQ,CAAC,iBAAiB,CAAC,IAAI,CAAC,CAAC;YAE9C,IAAI,IAAA,+BAAwB,EAAC,IAAI,EAAE,KAAK,EAAE,QAAQ,CAAC,OAAO,CAAC,EAAE,CAAC;gBAC5D,OAAO;YACT,CAAC;YAED,IAAI,IAAI,CAAC,KAAK,GAAG,EAAE,CAAC,SAAS,CAAC,SAAS,EAAE,CAAC;gBACxC,OAAO,CAAC,MAAM,CAAC,EAAE,IAAI,EAAE,SAAS,EAAE,OAAO,EAAE,CAAC,CAAC;gBAC7C,OAAO;YACT,CAAC;YAED,IAAI,OAAO,CAAC,gBAAgB,IAAI,IAAA,oBAAa,EAAC,IAAI,CAAC,EAAE,CAAC;gBACpD,OAAO;YACT,CAAC;YAED,IAAI,OAAO,CAAC,oBAAoB,IAAI,IAAA,wBAAiB,EAAC,IAAI,CAAC,EAAE,CAAC;gBAC5D,OAAO;YACT,CAAC;YAED,IAAI,IAAA,kBAAW,EAAC,QAAQ,CAAC,OAAO,EAAE,IAAI,CAAC,EAAE,CAAC;gBACxC,OAAO;YACT,CAAC;YAED,OAAO,CAAC,MAAM,CAAC,EAAE,IAAI,EAAE,SAAS,EAAE,QAAQ,EAAE,CAAC,CAAC;QAChD,CAAC;QAED,OAAO;YACL,cAAc,CAAC,IAAI;gBACjB,kBAAkB,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC;YACpC,CAAC;SACF,CAAC;IACJ,CAAC;CACF,CAAC,CAAC"} \ No newline at end of file +{"version":3,"file":"only-throw-error.js","sourceRoot":"","sources":["../../src/rules/only-throw-error.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEA,oDAA0D;AAC1D,+CAAiC;AAIjC,kCAQiB;AAYjB,kBAAe,IAAA,iBAAU,EAAsB;IAC7C,IAAI,EAAE,kBAAkB;IACxB,IAAI,EAAE;QACJ,IAAI,EAAE,SAAS;QACf,IAAI,EAAE;YACJ,WAAW,EAAE,oDAAoD;YACjE,eAAe,EAAE,kBAAkB;YACnC,WAAW,EAAE,aAAa;YAC1B,oBAAoB,EAAE,IAAI;SAC3B;QACD,QAAQ,EAAE;YACR,MAAM,EAAE,wCAAwC;YAChD,KAAK,EAAE,yBAAyB;SACjC;QACD,MAAM,EAAE;YACN;gBACE,IAAI,EAAE,QAAQ;gBACd,oBAAoB,EAAE,KAAK;gBAC3B,UAAU,EAAE;oBACV,KAAK,EAAE;wBACL,GAAG,kCAA2B;wBAC9B,WAAW,EAAE,qCAAqC;qBACnD;oBACD,gBAAgB,EAAE;wBAChB,IAAI,EAAE,SAAS;wBACf,WAAW,EACT,yDAAyD;qBAC5D;oBACD,oBAAoB,EAAE;wBACpB,IAAI,EAAE,SAAS;wBACf,WAAW,EACT,6DAA6D;qBAChE;iBACF;aACF;SACF;KACF;IACD,cAAc,EAAE;QACd;YACE,KAAK,EAAE,EAAE;YACT,gBAAgB,EAAE,IAAI;YACtB,oBAAoB,EAAE,IAAI;SAC3B;KACF;IACD,MAAM,CAAC,OAAO,EAAE,CAAC,OAAO,CAAC;QACvB,MAAM,QAAQ,GAAG,IAAA,wBAAiB,EAAC,OAAO,CAAC,CAAC;QAC5C,MAAM,KAAK,GAAG,OAAO,CAAC,KAAK,CAAC;QAC5B,SAAS,kBAAkB,CAAC,IAAmB;YAC7C,IACE,IAAI,CAAC,IAAI,KAAK,sBAAc,CAAC,eAAe;gBAC5C,IAAI,CAAC,IAAI,KAAK,sBAAc,CAAC,eAAe,EAC5C,CAAC;gBACD,OAAO;YACT,CAAC;YAED,MAAM,IAAI,GAAG,QAAQ,CAAC,iBAAiB,CAAC,IAAI,CAAC,CAAC;YAE9C,IAAI,IAAA,+BAAwB,EAAC,IAAI,EAAE,KAAK,EAAE,QAAQ,CAAC,OAAO,CAAC,EAAE,CAAC;gBAC5D,OAAO;YACT,CAAC;YAED,IAAI,IAAI,CAAC,KAAK,GAAG,EAAE,CAAC,SAAS,CAAC,SAAS,EAAE,CAAC;gBACxC,OAAO,CAAC,MAAM,CAAC,EAAE,IAAI,EAAE,SAAS,EAAE,OAAO,EAAE,CAAC,CAAC;gBAC7C,OAAO;YACT,CAAC;YAED,IAAI,OAAO,CAAC,gBAAgB,IAAI,IAAA,oBAAa,EAAC,IAAI,CAAC,EAAE,CAAC;gBACpD,OAAO;YACT,CAAC;YAED,IAAI,OAAO,CAAC,oBAAoB,IAAI,IAAA,wBAAiB,EAAC,IAAI,CAAC,EAAE,CAAC;gBAC5D,OAAO;YACT,CAAC;YAED,IAAI,IAAA,kBAAW,EAAC,QAAQ,CAAC,OAAO,EAAE,IAAI,CAAC,EAAE,CAAC;gBACxC,OAAO;YACT,CAAC;YAED,OAAO,CAAC,MAAM,CAAC,EAAE,IAAI,EAAE,SAAS,EAAE,QAAQ,EAAE,CAAC,CAAC;QAChD,CAAC;QAED,OAAO;YACL,cAAc,CAAC,IAAI;gBACjB,kBAAkB,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC;YACpC,CAAC;SACF,CAAC;IACJ,CAAC;CACF,CAAC,CAAC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-destructuring.js b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-destructuring.js index 7cc5defc10..71074cbd75 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-destructuring.js +++ b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-destructuring.js @@ -15,13 +15,23 @@ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? ( }) : function(o, v) { o["default"] = v; }); -var __importStar = (this && this.__importStar) || function (mod) { - if (mod && mod.__esModule) return mod; - var result = {}; - if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k); - __setModuleDefault(result, mod); - return result; -}; +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); Object.defineProperty(exports, "__esModule", { value: true }); const utils_1 = require("@typescript-eslint/utils"); const tsutils = __importStar(require("ts-api-utils")); diff --git a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-destructuring.js.map b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-destructuring.js.map index 26c378ea9b..35f8ef1177 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-destructuring.js.map +++ b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-destructuring.js.map @@ -1 +1 @@ -{"version":3,"file":"prefer-destructuring.js","sourceRoot":"","sources":["../../src/rules/prefer-destructuring.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AAIA,oDAA0D;AAC1D,sDAAwC;AAOxC,kCAAuE;AACvE,iEAA8D;AAE9D,MAAM,QAAQ,GAAG,IAAA,qCAAiB,EAAC,sBAAsB,CAAC,CAAC;AAU3D,MAAM,uBAAuB,GAAgB;IAC3C,IAAI,EAAE,QAAQ;IACd,oBAAoB,EAAE,KAAK;IAC3B,UAAU,EAAE;QACV,KAAK,EAAE;YACL,IAAI,EAAE,SAAS;SAChB;QACD,MAAM,EAAE;YACN,IAAI,EAAE,SAAS;SAChB;KACF;CACF,CAAC;AAEF,MAAM,MAAM,GAA2B;IACrC;QACE,KAAK,EAAE;YACL;gBACE,IAAI,EAAE,QAAQ;gBACd,oBAAoB,EAAE,KAAK;gBAC3B,UAAU,EAAE;oBACV,oBAAoB,EAAE,uBAAuB;oBAC7C,kBAAkB,EAAE,uBAAuB;iBAC5C;aACF;YACD,uBAAuB;SACxB;KACF;IACD;QACE,IAAI,EAAE,QAAQ;QACd,UAAU,EAAE;YACV,uCAAuC,EAAE;gBACvC,IAAI,EAAE,SAAS;gBACf,WAAW,EACT,kFAAkF;aACrF;YACD,2BAA2B,EAAE;gBAC3B,IAAI,EAAE,SAAS;gBACf,WAAW,EACT,6FAA6F;aAChG;SACF;KACF;CACF,CAAC;AAEF,kBAAe,IAAA,iBAAU,EAAsB;IAC7C,IAAI,EAAE,sBAAsB;IAC5B,IAAI,EAAE;QACJ,IAAI,EAAE,YAAY;QAClB,2DAA2D;QAC3D,IAAI,EAAE;YACJ,WAAW,EAAE,kDAAkD;YAC/D,eAAe,EAAE,IAAI;YACrB,oBAAoB,EAAE,IAAI;SAC3B;QACD,OAAO,EAAE,QAAQ,CAAC,IAAI,CAAC,OAAO;QAC9B,cAAc,EAAE,QAAQ,CAAC,IAAI,CAAC,cAAc;QAC5C,QAAQ,EAAE,QAAQ,CAAC,IAAI,CAAC,QAAQ;QAChC,MAAM;KACP;IACD,cAAc,EAAE;QACd;YACE,oBAAoB,EAAE;gBACpB,KAAK,EAAE,IAAI;gBACX,MAAM,EAAE,IAAI;aACb;YACD,kBAAkB,EAAE;gBAClB,KAAK,EAAE,IAAI;gBACX,MAAM,EAAE,IAAI;aACb;SACF;QACD,EAAE;KACH;IACD,MAAM,CAAC,OAAO,EAAE,CAAC,YAAY,EAAE,OAAO,CAAC;QACrC,MAAM,EACJ,uCAAuC,GAAG,KAAK,EAC/C,2BAA2B,GAAG,KAAK,GACpC,GAAG,OAAO,CAAC;QACZ,MAAM,EAAE,qBAAqB,EAAE,OAAO,EAAE,GAAG,IAAA,wBAAiB,EAAC,OAAO,CAAC,CAAC;QACtE,MAAM,WAAW,GAAG,OAAO,CAAC,cAAc,EAAE,CAAC;QAC7C,MAAM,SAAS,GAAG,QAAQ,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC;QAC3C,IAAI,wBAAwB,GAA4B,IAAI,CAAC;QAE7D,OAAO;YACL,oBAAoB,CAAC,IAAI;gBACvB,IAAI,IAAI,CAAC,QAAQ,KAAK,GAAG,EAAE,CAAC;oBAC1B,OAAO;gBACT,CAAC;gBACD,YAAY,CAAC,IAAI,CAAC,IAAI,EAAE,IAAI,CAAC,KAAK,EAAE,IAAI,CAAC,CAAC;YAC5C,CAAC;YACD,kBAAkB,CAAC,IAAI;gBACrB,YAAY,CAAC,IAAI,CAAC,EAAE,EAAE,IAAI,CAAC,IAAI,EAAE,IAAI,CAAC,CAAC;YACzC,CAAC;SACF,CAAC;QAEF,SAAS,YAAY,CACnB,QAAoD,EACpD,SAAqC,EACrC,UAAuE;YAEvE,MAAM,KAAK,GACT,QAAQ,CAAC,IAAI,KAAK,sBAAc,CAAC,UAAU;gBAC3C,QAAQ,CAAC,cAAc,KAAK,SAAS;gBACnC,CAAC,CAAC,SAAS;gBACX,CAAC,CAAC,mBAAmB,EAAE,CAAC;YAC5B,IACE,CAAC,QAAQ,CAAC,IAAI,KAAK,sBAAc,CAAC,YAAY;gBAC5C,QAAQ,CAAC,IAAI,KAAK,sBAAc,CAAC,UAAU;gBAC3C,QAAQ,CAAC,IAAI,KAAK,sBAAc,CAAC,aAAa,CAAC;gBACjD,QAAQ,CAAC,cAAc,KAAK,SAAS;gBACrC,CAAC,uCAAuC,EACxC,CAAC;gBACD,OAAO;YACT,CAAC;YAED,IACE,SAAS,IAAI,IAAI;gBACjB,gCAAgC,CAAC,SAAS,CAAC;gBAC3C,SAAS,CAAC,MAAM,CAAC,IAAI,KAAK,sBAAc,CAAC,KAAK,EAC9C,CAAC;gBACD,MAAM,KAAK,GAAG,qBAAqB,CAAC,GAAG,CAAC,SAAS,CAAC,MAAM,CAAC,CAAC;gBAC1D,MAAM,OAAO,GAAG,WAAW,CAAC,iBAAiB,CAAC,KAAK,CAAC,CAAC;gBACrD,IAAI,CAAC,uBAAuB,CAAC,OAAO,EAAE,WAAW,CAAC,EAAE,CAAC;oBACnD,IACE,CAAC,2BAA2B;wBAC5B,CAAC,wBAAwB,CAAC,UAAU,CAAC,IAAI,EAAE,QAAQ,CAAC,EACpD,CAAC;wBACD,OAAO;oBACT,CAAC;oBACD,OAAO,CAAC,MAAM,CAAC;wBACb,IAAI,EAAE,UAAU;wBAChB,SAAS,EAAE,qBAAqB;wBAChC,IAAI,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE;qBACzB,CAAC,CAAC;oBACH,OAAO;gBACT,CAAC;YACH,CAAC;YAED,IAAI,UAAU,CAAC,IAAI,KAAK,sBAAc,CAAC,oBAAoB,EAAE,CAAC;gBAC5D,KAAK,CAAC,oBAAoB,CAAC,UAAU,CAAC,CAAC;YACzC,CAAC;iBAAM,CAAC;gBACN,KAAK,CAAC,kBAAkB,CAAC,UAAU,CAAC,CAAC;YACvC,CAAC;QACH,CAAC;QAED,SAAS,wBAAwB,CAC/B,QAEqC,EACrC,iBAAqC;YAErC,IAAI,QAAQ,IAAI,YAAY,IAAI,OAAO,IAAI,YAAY,EAAE,CAAC;gBACxD,OAAO,YAAY,CAAC,iBAAiB,CAAC,CAAC;YACzC,CAAC;YACD,OAAO,YAAY,CAAC,QAAqC,CAAC,CACxD,iBAA2E,CAC5E,CAAC;QACJ,CAAC;QAED,SAAS,mBAAmB;YAC1B,wBAAwB,KAAK,QAAQ,CAAC,MAAM,CAAC,YAAY,CAAC,OAAO,CAAC,CAAC,CAAC;YACpE,OAAO,wBAAwB,CAAC;QAClC,CAAC;IACH,CAAC;CACF,CAAC,CAAC;AAIH,SAAS,YAAY,CAAC,OAAgB;IACpC,MAAM,aAAa,GAEf;QACF,MAAM,EAAE,CAAC,UAAU,EAAQ,EAAE;YAC3B,OAAO,CAAC,MAAM,CAAC;gBACb,GAAG,UAAU;gBACb,GAAG,EAAE,SAAS;aACf,CAAC,CAAC;QACL,CAAC;KACF,CAAC;IAEF,sFAAsF;IACtF,iEAAiE;IACjE,8DAA8D;IAC9D,OAAO,IAAI,KAAK,CAAU,aAA+B,EAAE;QACzD,GAAG,CAAC,MAAM,EAAE,IAAI,EAAE,QAAQ;YACxB,IAAI,IAAI,KAAK,QAAQ,EAAE,CAAC;gBACtB,OAAO,OAAO,CAAC,GAAG,CAAC,OAAO,EAAE,IAAI,EAAE,QAAQ,CAAC,CAAC;YAC9C,CAAC;YACD,OAAO,OAAO,CAAC,GAAG,CAAC,MAAM,EAAE,IAAI,EAAE,QAAQ,CAAC,CAAC;QAC7C,CAAC;KACF,CAAC,CAAC;AACL,CAAC;AAED,SAAS,uBAAuB,CAC9B,IAAa,EACb,WAA2B;IAE3B,IAAI,IAAA,oBAAa,EAAC,IAAI,CAAC,EAAE,CAAC;QACxB,OAAO,IAAI,CAAC;IACd,CAAC;IACD,IAAI,CAAC,IAAI,CAAC,OAAO,EAAE,EAAE,CAAC;QACpB,MAAM,QAAQ,GAAG,OAAO,CAAC,gCAAgC,CACvD,IAAI,EACJ,UAAU,EACV,WAAW,CACZ,CAAC;QACF,OAAO,QAAQ,KAAK,SAAS,CAAC;IAChC,CAAC;IACD,OAAO,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,CAAC,uBAAuB,CAAC,CAAC,EAAE,WAAW,CAAC,CAAC,CAAC;AACxE,CAAC;AAED,SAAS,gCAAgC,CACvC,IAAyB;IAEzB,IAAI,IAAI,CAAC,IAAI,KAAK,sBAAc,CAAC,gBAAgB,EAAE,CAAC;QAClD,OAAO,KAAK,CAAC;IACf,CAAC;IACD,IAAI,IAAI,CAAC,QAAQ,CAAC,IAAI,KAAK,sBAAc,CAAC,OAAO,EAAE,CAAC;QAClD,OAAO,KAAK,CAAC;IACf,CAAC;IACD,OAAO,MAAM,CAAC,SAAS,CAAC,IAAI,CAAC,QAAQ,CAAC,KAAK,CAAC,CAAC;AAC/C,CAAC"} \ No newline at end of file +{"version":3,"file":"prefer-destructuring.js","sourceRoot":"","sources":["../../src/rules/prefer-destructuring.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAIA,oDAA0D;AAC1D,sDAAwC;AAOxC,kCAAuE;AACvE,iEAA8D;AAE9D,MAAM,QAAQ,GAAG,IAAA,qCAAiB,EAAC,sBAAsB,CAAC,CAAC;AAU3D,MAAM,uBAAuB,GAAgB;IAC3C,IAAI,EAAE,QAAQ;IACd,oBAAoB,EAAE,KAAK;IAC3B,UAAU,EAAE;QACV,KAAK,EAAE;YACL,IAAI,EAAE,SAAS;SAChB;QACD,MAAM,EAAE;YACN,IAAI,EAAE,SAAS;SAChB;KACF;CACF,CAAC;AAEF,MAAM,MAAM,GAA2B;IACrC;QACE,KAAK,EAAE;YACL;gBACE,IAAI,EAAE,QAAQ;gBACd,oBAAoB,EAAE,KAAK;gBAC3B,UAAU,EAAE;oBACV,oBAAoB,EAAE,uBAAuB;oBAC7C,kBAAkB,EAAE,uBAAuB;iBAC5C;aACF;YACD,uBAAuB;SACxB;KACF;IACD;QACE,IAAI,EAAE,QAAQ;QACd,UAAU,EAAE;YACV,uCAAuC,EAAE;gBACvC,IAAI,EAAE,SAAS;gBACf,WAAW,EACT,kFAAkF;aACrF;YACD,2BAA2B,EAAE;gBAC3B,IAAI,EAAE,SAAS;gBACf,WAAW,EACT,6FAA6F;aAChG;SACF;KACF;CACF,CAAC;AAEF,kBAAe,IAAA,iBAAU,EAAsB;IAC7C,IAAI,EAAE,sBAAsB;IAC5B,IAAI,EAAE;QACJ,IAAI,EAAE,YAAY;QAClB,2DAA2D;QAC3D,IAAI,EAAE;YACJ,WAAW,EAAE,kDAAkD;YAC/D,eAAe,EAAE,IAAI;YACrB,oBAAoB,EAAE,IAAI;SAC3B;QACD,OAAO,EAAE,QAAQ,CAAC,IAAI,CAAC,OAAO;QAC9B,cAAc,EAAE,QAAQ,CAAC,IAAI,CAAC,cAAc;QAC5C,QAAQ,EAAE,QAAQ,CAAC,IAAI,CAAC,QAAQ;QAChC,MAAM;KACP;IACD,cAAc,EAAE;QACd;YACE,oBAAoB,EAAE;gBACpB,KAAK,EAAE,IAAI;gBACX,MAAM,EAAE,IAAI;aACb;YACD,kBAAkB,EAAE;gBAClB,KAAK,EAAE,IAAI;gBACX,MAAM,EAAE,IAAI;aACb;SACF;QACD,EAAE;KACH;IACD,MAAM,CAAC,OAAO,EAAE,CAAC,YAAY,EAAE,OAAO,CAAC;QACrC,MAAM,EACJ,uCAAuC,GAAG,KAAK,EAC/C,2BAA2B,GAAG,KAAK,GACpC,GAAG,OAAO,CAAC;QACZ,MAAM,EAAE,qBAAqB,EAAE,OAAO,EAAE,GAAG,IAAA,wBAAiB,EAAC,OAAO,CAAC,CAAC;QACtE,MAAM,WAAW,GAAG,OAAO,CAAC,cAAc,EAAE,CAAC;QAC7C,MAAM,SAAS,GAAG,QAAQ,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC;QAC3C,IAAI,wBAAwB,GAA4B,IAAI,CAAC;QAE7D,OAAO;YACL,oBAAoB,CAAC,IAAI;gBACvB,IAAI,IAAI,CAAC,QAAQ,KAAK,GAAG,EAAE,CAAC;oBAC1B,OAAO;gBACT,CAAC;gBACD,YAAY,CAAC,IAAI,CAAC,IAAI,EAAE,IAAI,CAAC,KAAK,EAAE,IAAI,CAAC,CAAC;YAC5C,CAAC;YACD,kBAAkB,CAAC,IAAI;gBACrB,YAAY,CAAC,IAAI,CAAC,EAAE,EAAE,IAAI,CAAC,IAAI,EAAE,IAAI,CAAC,CAAC;YACzC,CAAC;SACF,CAAC;QAEF,SAAS,YAAY,CACnB,QAAoD,EACpD,SAAqC,EACrC,UAAuE;YAEvE,MAAM,KAAK,GACT,QAAQ,CAAC,IAAI,KAAK,sBAAc,CAAC,UAAU;gBAC3C,QAAQ,CAAC,cAAc,KAAK,SAAS;gBACnC,CAAC,CAAC,SAAS;gBACX,CAAC,CAAC,mBAAmB,EAAE,CAAC;YAC5B,IACE,CAAC,QAAQ,CAAC,IAAI,KAAK,sBAAc,CAAC,YAAY;gBAC5C,QAAQ,CAAC,IAAI,KAAK,sBAAc,CAAC,UAAU;gBAC3C,QAAQ,CAAC,IAAI,KAAK,sBAAc,CAAC,aAAa,CAAC;gBACjD,QAAQ,CAAC,cAAc,KAAK,SAAS;gBACrC,CAAC,uCAAuC,EACxC,CAAC;gBACD,OAAO;YACT,CAAC;YAED,IACE,SAAS,IAAI,IAAI;gBACjB,gCAAgC,CAAC,SAAS,CAAC;gBAC3C,SAAS,CAAC,MAAM,CAAC,IAAI,KAAK,sBAAc,CAAC,KAAK,EAC9C,CAAC;gBACD,MAAM,KAAK,GAAG,qBAAqB,CAAC,GAAG,CAAC,SAAS,CAAC,MAAM,CAAC,CAAC;gBAC1D,MAAM,OAAO,GAAG,WAAW,CAAC,iBAAiB,CAAC,KAAK,CAAC,CAAC;gBACrD,IAAI,CAAC,uBAAuB,CAAC,OAAO,EAAE,WAAW,CAAC,EAAE,CAAC;oBACnD,IACE,CAAC,2BAA2B;wBAC5B,CAAC,wBAAwB,CAAC,UAAU,CAAC,IAAI,EAAE,QAAQ,CAAC,EACpD,CAAC;wBACD,OAAO;oBACT,CAAC;oBACD,OAAO,CAAC,MAAM,CAAC;wBACb,IAAI,EAAE,UAAU;wBAChB,SAAS,EAAE,qBAAqB;wBAChC,IAAI,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE;qBACzB,CAAC,CAAC;oBACH,OAAO;gBACT,CAAC;YACH,CAAC;YAED,IAAI,UAAU,CAAC,IAAI,KAAK,sBAAc,CAAC,oBAAoB,EAAE,CAAC;gBAC5D,KAAK,CAAC,oBAAoB,CAAC,UAAU,CAAC,CAAC;YACzC,CAAC;iBAAM,CAAC;gBACN,KAAK,CAAC,kBAAkB,CAAC,UAAU,CAAC,CAAC;YACvC,CAAC;QACH,CAAC;QAED,SAAS,wBAAwB,CAC/B,QAEqC,EACrC,iBAAqC;YAErC,IAAI,QAAQ,IAAI,YAAY,IAAI,OAAO,IAAI,YAAY,EAAE,CAAC;gBACxD,OAAO,YAAY,CAAC,iBAAiB,CAAC,CAAC;YACzC,CAAC;YACD,OAAO,YAAY,CAAC,QAAqC,CAAC,CACxD,iBAA2E,CAC5E,CAAC;QACJ,CAAC;QAED,SAAS,mBAAmB;YAC1B,wBAAwB,KAAK,QAAQ,CAAC,MAAM,CAAC,YAAY,CAAC,OAAO,CAAC,CAAC,CAAC;YACpE,OAAO,wBAAwB,CAAC;QAClC,CAAC;IACH,CAAC;CACF,CAAC,CAAC;AAIH,SAAS,YAAY,CAAC,OAAgB;IACpC,MAAM,aAAa,GAEf;QACF,MAAM,EAAE,CAAC,UAAU,EAAQ,EAAE;YAC3B,OAAO,CAAC,MAAM,CAAC;gBACb,GAAG,UAAU;gBACb,GAAG,EAAE,SAAS;aACf,CAAC,CAAC;QACL,CAAC;KACF,CAAC;IAEF,sFAAsF;IACtF,iEAAiE;IACjE,8DAA8D;IAC9D,OAAO,IAAI,KAAK,CAAU,aAA+B,EAAE;QACzD,GAAG,CAAC,MAAM,EAAE,IAAI,EAAE,QAAQ;YACxB,IAAI,IAAI,KAAK,QAAQ,EAAE,CAAC;gBACtB,OAAO,OAAO,CAAC,GAAG,CAAC,OAAO,EAAE,IAAI,EAAE,QAAQ,CAAC,CAAC;YAC9C,CAAC;YACD,OAAO,OAAO,CAAC,GAAG,CAAC,MAAM,EAAE,IAAI,EAAE,QAAQ,CAAC,CAAC;QAC7C,CAAC;KACF,CAAC,CAAC;AACL,CAAC;AAED,SAAS,uBAAuB,CAC9B,IAAa,EACb,WAA2B;IAE3B,IAAI,IAAA,oBAAa,EAAC,IAAI,CAAC,EAAE,CAAC;QACxB,OAAO,IAAI,CAAC;IACd,CAAC;IACD,IAAI,CAAC,IAAI,CAAC,OAAO,EAAE,EAAE,CAAC;QACpB,MAAM,QAAQ,GAAG,OAAO,CAAC,gCAAgC,CACvD,IAAI,EACJ,UAAU,EACV,WAAW,CACZ,CAAC;QACF,OAAO,QAAQ,KAAK,SAAS,CAAC;IAChC,CAAC;IACD,OAAO,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,CAAC,uBAAuB,CAAC,CAAC,EAAE,WAAW,CAAC,CAAC,CAAC;AACxE,CAAC;AAED,SAAS,gCAAgC,CACvC,IAAyB;IAEzB,IAAI,IAAI,CAAC,IAAI,KAAK,sBAAc,CAAC,gBAAgB,EAAE,CAAC;QAClD,OAAO,KAAK,CAAC;IACf,CAAC;IACD,IAAI,IAAI,CAAC,QAAQ,CAAC,IAAI,KAAK,sBAAc,CAAC,OAAO,EAAE,CAAC;QAClD,OAAO,KAAK,CAAC;IACf,CAAC;IACD,OAAO,MAAM,CAAC,SAAS,CAAC,IAAI,CAAC,QAAQ,CAAC,KAAK,CAAC,CAAC;AAC/C,CAAC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-find.js b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-find.js index f61d29979b..0e1757e7ec 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-find.js +++ b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-find.js @@ -15,13 +15,23 @@ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? ( }) : function(o, v) { o["default"] = v; }); -var __importStar = (this && this.__importStar) || function (mod) { - if (mod && mod.__esModule) return mod; - var result = {}; - if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k); - __setModuleDefault(result, mod); - return result; -}; +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); Object.defineProperty(exports, "__esModule", { value: true }); const utils_1 = require("@typescript-eslint/utils"); const tsutils = __importStar(require("ts-api-utils")); diff --git a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-find.js.map b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-find.js.map index 717fe7887f..058a2718b6 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-find.js.map +++ b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-find.js.map @@ -1 +1 @@ -{"version":3,"file":"prefer-find.js","sourceRoot":"","sources":["../../src/rules/prefer-find.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AAIA,oDAA0D;AAC1D,sDAAwC;AAExC,kCAOiB;AAEjB,kBAAe,IAAA,iBAAU,EAAC;IACxB,IAAI,EAAE,aAAa;IACnB,IAAI,EAAE;QACJ,IAAI,EAAE,YAAY;QAClB,IAAI,EAAE;YACJ,WAAW,EACT,0HAA0H;YAC5H,WAAW,EAAE,WAAW;YACxB,oBAAoB,EAAE,IAAI;SAC3B;QACD,cAAc,EAAE,IAAI;QACpB,QAAQ,EAAE;YACR,UAAU,EAAE,+CAA+C;YAC3D,oBAAoB,EAAE,4CAA4C;SACnE;QACD,MAAM,EAAE,EAAE;KACX;IAED,cAAc,EAAE,EAAE;IAElB,MAAM,CAAC,OAAO;QACZ,MAAM,WAAW,GAAG,OAAO,CAAC,UAAU,CAAC,QAAQ,CAAC,OAAO,CAAC,UAAU,CAAC,GAAG,CAAC,CAAC;QACxE,MAAM,QAAQ,GAAG,IAAA,wBAAiB,EAAC,OAAO,CAAC,CAAC;QAC5C,MAAM,OAAO,GAAG,QAAQ,CAAC,OAAO,CAAC,cAAc,EAAE,CAAC;QAOlD,SAAS,2BAA2B,CAClC,UAA+B;YAE/B,IAAI,UAAU,CAAC,IAAI,KAAK,sBAAc,CAAC,kBAAkB,EAAE,CAAC;gBAC1D,6EAA6E;gBAC7E,MAAM,cAAc,GAAG,IAAA,iBAAU,EAC/B,UAAU,CAAC,WAAW,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC,EAC7B,sEAAsE,CACvE,CAAC;gBACF,OAAO,2BAA2B,CAAC,cAAc,CAAC,CAAC;YACrD,CAAC;YAED,IAAI,UAAU,CAAC,IAAI,KAAK,sBAAc,CAAC,eAAe,EAAE,CAAC;gBACvD,OAAO,2BAA2B,CAAC,UAAU,CAAC,UAAU,CAAC,CAAC;YAC5D,CAAC;YAED,6EAA6E;YAC7E,IAAI,UAAU,CAAC,IAAI,KAAK,sBAAc,CAAC,qBAAqB,EAAE,CAAC;gBAC7D,sDAAsD;gBACtD,MAAM,gBAAgB,GAAG,2BAA2B,CAClD,UAAU,CAAC,UAAU,CACtB,CAAC;gBACF,IAAI,gBAAgB,CAAC,MAAM,KAAK,CAAC,EAAE,CAAC;oBAClC,OAAO,EAAE,CAAC;gBACZ,CAAC;gBAED,MAAM,eAAe,GAAG,2BAA2B,CACjD,UAAU,CAAC,SAAS,CACrB,CAAC;gBACF,IAAI,eAAe,CAAC,MAAM,KAAK,CAAC,EAAE,CAAC;oBACjC,OAAO,EAAE,CAAC;gBACZ,CAAC;gBAED,gEAAgE;gBAChE,OAAO,CAAC,GAAG,gBAAgB,EAAE,GAAG,eAAe,CAAC,CAAC;YACnD,CAAC;YAED,kEAAkE;YAClE,IACE,UAAU,CAAC,IAAI,KAAK,sBAAc,CAAC,cAAc;gBACjD,CAAC,UAAU,CAAC,QAAQ,EACpB,CAAC;gBACD,MAAM,MAAM,GAAG,UAAU,CAAC,MAAM,CAAC;gBACjC,4EAA4E;gBAC5E,qCAAqC;gBACrC,IAAI,MAAM,CAAC,IAAI,KAAK,sBAAc,CAAC,gBAAgB,EAAE,CAAC;oBACpD,MAAM,wBAAwB,GAAG,MAAM,CAAC,QAAQ,CAAC;oBACjD,IAAI,IAAA,kCAA2B,EAAC,MAAM,EAAE,OAAO,EAAE,QAAQ,CAAC,EAAE,CAAC;wBAC3D,MAAM,UAAU,GAAG,MAAM,CAAC,QAAQ,CAAC;wBAEnC,MAAM,kBAAkB,GAAG,IAAA,mCAA4B,EACrD,QAAQ,EACR,MAAM,CAAC,MAAM,CACd,CAAC;wBAEF,wDAAwD;wBACxD,gDAAgD;wBAChD,IAAI,UAAU,CAAC,kBAAkB,CAAC,EAAE,CAAC;4BACnC,OAAO;gCACL;oCACE,UAAU;oCACV,wBAAwB;iCACzB;6BACF,CAAC;wBACJ,CAAC;oBACH,CAAC;gBACH,CAAC;YACH,CAAC;YAED,2BAA2B;YAC3B,OAAO,EAAE,CAAC;QACZ,CAAC;QAED;;WAEG;QACH,SAAS,UAAU,CAAC,IAAU;YAC5B,IAAI,6BAA6B,GAAG,KAAK,CAAC;YAC1C,KAAK,MAAM,SAAS,IAAI,OAAO,CAAC,cAAc,CAAC,IAAI,CAAC,EAAE,CAAC;gBACrD,IACE,OAAO,CAAC,mBAAmB,CAAC,SAAS,CAAC;oBACtC,OAAO,CAAC,wBAAwB,CAAC,SAAS,CAAC,EAC3C,CAAC;oBACD,SAAS;gBACX,CAAC;gBAED,sDAAsD;gBACtD,2DAA2D;gBAC3D,MAAM,4BAA4B,GAAG,OAAO;qBACzC,qBAAqB,CAAC,SAAS,CAAC;qBAChC,KAAK,CACJ,gBAAgB,CAAC,EAAE,CACjB,OAAO,CAAC,WAAW,CAAC,gBAAgB,CAAC;oBACrC,OAAO,CAAC,WAAW,CAAC,gBAAgB,CAAC,CACxC,CAAC;gBAEJ,IAAI,CAAC,4BAA4B,EAAE,CAAC;oBAClC,oDAAoD;oBACpD,wBAAwB;oBACxB,OAAO,KAAK,CAAC;gBACf,CAAC;gBAED,6BAA6B,GAAG,IAAI,CAAC;YACvC,CAAC;YAED,OAAO,6BAA6B,CAAC;QACvC,CAAC;QAED,SAAS,gCAAgC,CACvC,IAA6B;YAE7B,0CAA0C;YAC1C,IAAI,IAAI,CAAC,SAAS,CAAC,MAAM,KAAK,CAAC,EAAE,CAAC;gBAChC,OAAO,SAAS,CAAC;YACnB,CAAC;YAED,MAAM,MAAM,GAAG,IAAI,CAAC,MAAM,CAAC;YAC3B,IACE,MAAM,CAAC,IAAI,KAAK,sBAAc,CAAC,gBAAgB;gBAC/C,CAAC,MAAM,CAAC,QAAQ;gBAChB,IAAA,kCAA2B,EAAC,MAAM,EAAE,OAAO,EAAE,IAAI,CAAC,EAClD,CAAC;gBACD,MAAM,UAAU,GAAG,IAAA,qBAAc,EAAC,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,WAAW,CAAC,CAAC;gBAClE,IAAI,UAAU,IAAI,IAAI,IAAI,wBAAwB,CAAC,UAAU,CAAC,KAAK,CAAC,EAAE,CAAC;oBACrE,OAAO,MAAM,CAAC,MAAM,CAAC;gBACvB,CAAC;YACH,CAAC;YAED,OAAO,SAAS,CAAC;QACnB,CAAC;QAED;;;WAGG;QACH,SAAS,wBAAwB,CAAC,KAAc;YAC9C,0EAA0E;YAC1E,mBAAmB;YACnB,IAAI,OAAO,KAAK,KAAK,QAAQ,EAAE,CAAC;gBAC9B,OAAO,KAAK,CAAC;YACf,CAAC;YAED,MAAM,QAAQ,GAAG,MAAM,CAAC,KAAK,CAAC,CAAC;YAE/B,IAAI,KAAK,CAAC,QAAQ,CAAC,EAAE,CAAC;gBACpB,OAAO,IAAI,CAAC;YACd,CAAC;YAED,OAAO,IAAI,CAAC,KAAK,CAAC,QAAQ,CAAC,KAAK,CAAC,CAAC;QACpC,CAAC;QAED,SAAS,oBAAoB,CAC3B,IAA2C;YAE3C,MAAM,QAAQ,GAAG,IAAA,qBAAc,EAAC,IAAI,CAAC,QAAQ,EAAE,WAAW,CAAC,CAAC;YAC5D,gFAAgF;YAChF,OAAO,CACL,CAAC,IAAI,CAAC,QAAQ;gBACd,QAAQ,IAAI,IAAI;gBAChB,6BAA6B,CAAC,QAAQ,CAAC,KAAK,CAAC,CAC9C,CAAC;QACJ,CAAC;QAED;;;WAGG;QACH,SAAS,6BAA6B,CAAC,KAAc;YACnD,OAAO,MAAM,CAAC,KAAK,CAAC,KAAK,GAAG,CAAC;QAC/B,CAAC;QAED,SAAS,qCAAqC,CAC5C,KAAyB,EACzB,SAA8B,EAC9B,2BAAgD;YAEhD,MAAM,wBAAwB,GAAG,IAAA,iBAAU;YACzC,iDAAiD;YACjD,2DAA2D;YAC3D,OAAO,CAAC,UAAU,CAAC,aAAa,CAC9B,SAAS,EACT,KAAK,CAAC,EAAE,CAAC,KAAK,CAAC,KAAK,KAAK,GAAG,IAAI,KAAK,CAAC,KAAK,KAAK,GAAG,CACpD,EACD,yCAAyC,CAC1C,CAAC;YACF,OAAO,KAAK,CAAC,WAAW,CAAC;gBACvB,wBAAwB,CAAC,KAAK,CAAC,CAAC,CAAC;gBACjC,2BAA2B,CAAC,KAAK,CAAC,CAAC,CAAC;aACrC,CAAC,CAAC;QACL,CAAC;QAED,SAAS,kCAAkC,CACzC,KAAyB,EACzB,gBAAsC;YAEtC,OAAO,KAAK,CAAC,WAAW,CACtB,gBAAgB,CAAC,UAAU,EAC3B,gBAAgB,CAAC,wBAAwB,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,CAC9D,CAAC;QACJ,CAAC;QAED,OAAO;YACL,uEAAuE;YACvE,cAAc,CAAC,IAAI;gBACjB,MAAM,MAAM,GAAG,gCAAgC,CAAC,IAAI,CAAC,CAAC;gBACtD,IAAI,MAAM,EAAE,CAAC;oBACX,MAAM,iBAAiB,GAAG,2BAA2B,CAAC,MAAM,CAAC,CAAC;oBAC9D,IAAI,iBAAiB,CAAC,MAAM,KAAK,CAAC,EAAE,CAAC;wBACnC,OAAO,CAAC,MAAM,CAAC;4BACb,IAAI;4BACJ,SAAS,EAAE,YAAY;4BACvB,OAAO,EAAE;gCACP;oCACE,SAAS,EAAE,sBAAsB;oCACjC,GAAG,EAAE,CAAC,KAAK,EAAsB,EAAE;wCACjC,OAAO;4CACL,GAAG,iBAAiB,CAAC,GAAG,CAAC,gBAAgB,CAAC,EAAE,CAC1C,kCAAkC,CAChC,KAAK,EACL,gBAAgB,CACjB,CACF;4CACD,sCAAsC;4CACtC,qCAAqC,CACnC,KAAK,EACL,MAAM,EACN,IAAI,CACL;yCACF,CAAC;oCACJ,CAAC;iCACF;6BACF;yBACF,CAAC,CAAC;oBACL,CAAC;gBACH,CAAC;YACH,CAAC;YAED,oEAAoE;YACpE,EAAE;YACF,uEAAuE;YACvE,sEAAsE;YACtE,iCAAiC,CAC/B,IAA2C;gBAE3C,IAAI,oBAAoB,CAAC,IAAI,CAAC,EAAE,CAAC;oBAC/B,MAAM,MAAM,GAAG,IAAI,CAAC,MAAM,CAAC;oBAC3B,MAAM,iBAAiB,GAAG,2BAA2B,CAAC,MAAM,CAAC,CAAC;oBAC9D,IAAI,iBAAiB,CAAC,MAAM,KAAK,CAAC,EAAE,CAAC;wBACnC,OAAO,CAAC,MAAM,CAAC;4BACb,IAAI;4BACJ,SAAS,EAAE,YAAY;4BACvB,OAAO,EAAE;gCACP;oCACE,SAAS,EAAE,sBAAsB;oCACjC,GAAG,EAAE,CAAC,KAAK,EAAsB,EAAE;wCACjC,OAAO;4CACL,GAAG,iBAAiB,CAAC,GAAG,CAAC,gBAAgB,CAAC,EAAE,CAC1C,kCAAkC,CAChC,KAAK,EACL,gBAAgB,CACjB,CACF;4CACD,sBAAsB;4CACtB,qCAAqC,CACnC,KAAK,EACL,MAAM,EACN,IAAI,CACL;yCACF,CAAC;oCACJ,CAAC;iCACF;6BACF;yBACF,CAAC,CAAC;oBACL,CAAC;gBACH,CAAC;YACH,CAAC;SACF,CAAC;IACJ,CAAC;CACF,CAAC,CAAC"} \ No newline at end of file +{"version":3,"file":"prefer-find.js","sourceRoot":"","sources":["../../src/rules/prefer-find.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAIA,oDAA0D;AAC1D,sDAAwC;AAExC,kCAOiB;AAEjB,kBAAe,IAAA,iBAAU,EAAC;IACxB,IAAI,EAAE,aAAa;IACnB,IAAI,EAAE;QACJ,IAAI,EAAE,YAAY;QAClB,IAAI,EAAE;YACJ,WAAW,EACT,0HAA0H;YAC5H,WAAW,EAAE,WAAW;YACxB,oBAAoB,EAAE,IAAI;SAC3B;QACD,cAAc,EAAE,IAAI;QACpB,QAAQ,EAAE;YACR,UAAU,EAAE,+CAA+C;YAC3D,oBAAoB,EAAE,4CAA4C;SACnE;QACD,MAAM,EAAE,EAAE;KACX;IAED,cAAc,EAAE,EAAE;IAElB,MAAM,CAAC,OAAO;QACZ,MAAM,WAAW,GAAG,OAAO,CAAC,UAAU,CAAC,QAAQ,CAAC,OAAO,CAAC,UAAU,CAAC,GAAG,CAAC,CAAC;QACxE,MAAM,QAAQ,GAAG,IAAA,wBAAiB,EAAC,OAAO,CAAC,CAAC;QAC5C,MAAM,OAAO,GAAG,QAAQ,CAAC,OAAO,CAAC,cAAc,EAAE,CAAC;QAOlD,SAAS,2BAA2B,CAClC,UAA+B;YAE/B,IAAI,UAAU,CAAC,IAAI,KAAK,sBAAc,CAAC,kBAAkB,EAAE,CAAC;gBAC1D,6EAA6E;gBAC7E,MAAM,cAAc,GAAG,IAAA,iBAAU,EAC/B,UAAU,CAAC,WAAW,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC,EAC7B,sEAAsE,CACvE,CAAC;gBACF,OAAO,2BAA2B,CAAC,cAAc,CAAC,CAAC;YACrD,CAAC;YAED,IAAI,UAAU,CAAC,IAAI,KAAK,sBAAc,CAAC,eAAe,EAAE,CAAC;gBACvD,OAAO,2BAA2B,CAAC,UAAU,CAAC,UAAU,CAAC,CAAC;YAC5D,CAAC;YAED,6EAA6E;YAC7E,IAAI,UAAU,CAAC,IAAI,KAAK,sBAAc,CAAC,qBAAqB,EAAE,CAAC;gBAC7D,sDAAsD;gBACtD,MAAM,gBAAgB,GAAG,2BAA2B,CAClD,UAAU,CAAC,UAAU,CACtB,CAAC;gBACF,IAAI,gBAAgB,CAAC,MAAM,KAAK,CAAC,EAAE,CAAC;oBAClC,OAAO,EAAE,CAAC;gBACZ,CAAC;gBAED,MAAM,eAAe,GAAG,2BAA2B,CACjD,UAAU,CAAC,SAAS,CACrB,CAAC;gBACF,IAAI,eAAe,CAAC,MAAM,KAAK,CAAC,EAAE,CAAC;oBACjC,OAAO,EAAE,CAAC;gBACZ,CAAC;gBAED,gEAAgE;gBAChE,OAAO,CAAC,GAAG,gBAAgB,EAAE,GAAG,eAAe,CAAC,CAAC;YACnD,CAAC;YAED,kEAAkE;YAClE,IACE,UAAU,CAAC,IAAI,KAAK,sBAAc,CAAC,cAAc;gBACjD,CAAC,UAAU,CAAC,QAAQ,EACpB,CAAC;gBACD,MAAM,MAAM,GAAG,UAAU,CAAC,MAAM,CAAC;gBACjC,4EAA4E;gBAC5E,qCAAqC;gBACrC,IAAI,MAAM,CAAC,IAAI,KAAK,sBAAc,CAAC,gBAAgB,EAAE,CAAC;oBACpD,MAAM,wBAAwB,GAAG,MAAM,CAAC,QAAQ,CAAC;oBACjD,IAAI,IAAA,kCAA2B,EAAC,MAAM,EAAE,OAAO,EAAE,QAAQ,CAAC,EAAE,CAAC;wBAC3D,MAAM,UAAU,GAAG,MAAM,CAAC,QAAQ,CAAC;wBAEnC,MAAM,kBAAkB,GAAG,IAAA,mCAA4B,EACrD,QAAQ,EACR,MAAM,CAAC,MAAM,CACd,CAAC;wBAEF,wDAAwD;wBACxD,gDAAgD;wBAChD,IAAI,UAAU,CAAC,kBAAkB,CAAC,EAAE,CAAC;4BACnC,OAAO;gCACL;oCACE,UAAU;oCACV,wBAAwB;iCACzB;6BACF,CAAC;wBACJ,CAAC;oBACH,CAAC;gBACH,CAAC;YACH,CAAC;YAED,2BAA2B;YAC3B,OAAO,EAAE,CAAC;QACZ,CAAC;QAED;;WAEG;QACH,SAAS,UAAU,CAAC,IAAU;YAC5B,IAAI,6BAA6B,GAAG,KAAK,CAAC;YAC1C,KAAK,MAAM,SAAS,IAAI,OAAO,CAAC,cAAc,CAAC,IAAI,CAAC,EAAE,CAAC;gBACrD,IACE,OAAO,CAAC,mBAAmB,CAAC,SAAS,CAAC;oBACtC,OAAO,CAAC,wBAAwB,CAAC,SAAS,CAAC,EAC3C,CAAC;oBACD,SAAS;gBACX,CAAC;gBAED,sDAAsD;gBACtD,2DAA2D;gBAC3D,MAAM,4BAA4B,GAAG,OAAO;qBACzC,qBAAqB,CAAC,SAAS,CAAC;qBAChC,KAAK,CACJ,gBAAgB,CAAC,EAAE,CACjB,OAAO,CAAC,WAAW,CAAC,gBAAgB,CAAC;oBACrC,OAAO,CAAC,WAAW,CAAC,gBAAgB,CAAC,CACxC,CAAC;gBAEJ,IAAI,CAAC,4BAA4B,EAAE,CAAC;oBAClC,oDAAoD;oBACpD,wBAAwB;oBACxB,OAAO,KAAK,CAAC;gBACf,CAAC;gBAED,6BAA6B,GAAG,IAAI,CAAC;YACvC,CAAC;YAED,OAAO,6BAA6B,CAAC;QACvC,CAAC;QAED,SAAS,gCAAgC,CACvC,IAA6B;YAE7B,0CAA0C;YAC1C,IAAI,IAAI,CAAC,SAAS,CAAC,MAAM,KAAK,CAAC,EAAE,CAAC;gBAChC,OAAO,SAAS,CAAC;YACnB,CAAC;YAED,MAAM,MAAM,GAAG,IAAI,CAAC,MAAM,CAAC;YAC3B,IACE,MAAM,CAAC,IAAI,KAAK,sBAAc,CAAC,gBAAgB;gBAC/C,CAAC,MAAM,CAAC,QAAQ;gBAChB,IAAA,kCAA2B,EAAC,MAAM,EAAE,OAAO,EAAE,IAAI,CAAC,EAClD,CAAC;gBACD,MAAM,UAAU,GAAG,IAAA,qBAAc,EAAC,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,WAAW,CAAC,CAAC;gBAClE,IAAI,UAAU,IAAI,IAAI,IAAI,wBAAwB,CAAC,UAAU,CAAC,KAAK,CAAC,EAAE,CAAC;oBACrE,OAAO,MAAM,CAAC,MAAM,CAAC;gBACvB,CAAC;YACH,CAAC;YAED,OAAO,SAAS,CAAC;QACnB,CAAC;QAED;;;WAGG;QACH,SAAS,wBAAwB,CAAC,KAAc;YAC9C,0EAA0E;YAC1E,mBAAmB;YACnB,IAAI,OAAO,KAAK,KAAK,QAAQ,EAAE,CAAC;gBAC9B,OAAO,KAAK,CAAC;YACf,CAAC;YAED,MAAM,QAAQ,GAAG,MAAM,CAAC,KAAK,CAAC,CAAC;YAE/B,IAAI,KAAK,CAAC,QAAQ,CAAC,EAAE,CAAC;gBACpB,OAAO,IAAI,CAAC;YACd,CAAC;YAED,OAAO,IAAI,CAAC,KAAK,CAAC,QAAQ,CAAC,KAAK,CAAC,CAAC;QACpC,CAAC;QAED,SAAS,oBAAoB,CAC3B,IAA2C;YAE3C,MAAM,QAAQ,GAAG,IAAA,qBAAc,EAAC,IAAI,CAAC,QAAQ,EAAE,WAAW,CAAC,CAAC;YAC5D,gFAAgF;YAChF,OAAO,CACL,CAAC,IAAI,CAAC,QAAQ;gBACd,QAAQ,IAAI,IAAI;gBAChB,6BAA6B,CAAC,QAAQ,CAAC,KAAK,CAAC,CAC9C,CAAC;QACJ,CAAC;QAED;;;WAGG;QACH,SAAS,6BAA6B,CAAC,KAAc;YACnD,OAAO,MAAM,CAAC,KAAK,CAAC,KAAK,GAAG,CAAC;QAC/B,CAAC;QAED,SAAS,qCAAqC,CAC5C,KAAyB,EACzB,SAA8B,EAC9B,2BAAgD;YAEhD,MAAM,wBAAwB,GAAG,IAAA,iBAAU;YACzC,iDAAiD;YACjD,2DAA2D;YAC3D,OAAO,CAAC,UAAU,CAAC,aAAa,CAC9B,SAAS,EACT,KAAK,CAAC,EAAE,CAAC,KAAK,CAAC,KAAK,KAAK,GAAG,IAAI,KAAK,CAAC,KAAK,KAAK,GAAG,CACpD,EACD,yCAAyC,CAC1C,CAAC;YACF,OAAO,KAAK,CAAC,WAAW,CAAC;gBACvB,wBAAwB,CAAC,KAAK,CAAC,CAAC,CAAC;gBACjC,2BAA2B,CAAC,KAAK,CAAC,CAAC,CAAC;aACrC,CAAC,CAAC;QACL,CAAC;QAED,SAAS,kCAAkC,CACzC,KAAyB,EACzB,gBAAsC;YAEtC,OAAO,KAAK,CAAC,WAAW,CACtB,gBAAgB,CAAC,UAAU,EAC3B,gBAAgB,CAAC,wBAAwB,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,CAC9D,CAAC;QACJ,CAAC;QAED,OAAO;YACL,uEAAuE;YACvE,cAAc,CAAC,IAAI;gBACjB,MAAM,MAAM,GAAG,gCAAgC,CAAC,IAAI,CAAC,CAAC;gBACtD,IAAI,MAAM,EAAE,CAAC;oBACX,MAAM,iBAAiB,GAAG,2BAA2B,CAAC,MAAM,CAAC,CAAC;oBAC9D,IAAI,iBAAiB,CAAC,MAAM,KAAK,CAAC,EAAE,CAAC;wBACnC,OAAO,CAAC,MAAM,CAAC;4BACb,IAAI;4BACJ,SAAS,EAAE,YAAY;4BACvB,OAAO,EAAE;gCACP;oCACE,SAAS,EAAE,sBAAsB;oCACjC,GAAG,EAAE,CAAC,KAAK,EAAsB,EAAE;wCACjC,OAAO;4CACL,GAAG,iBAAiB,CAAC,GAAG,CAAC,gBAAgB,CAAC,EAAE,CAC1C,kCAAkC,CAChC,KAAK,EACL,gBAAgB,CACjB,CACF;4CACD,sCAAsC;4CACtC,qCAAqC,CACnC,KAAK,EACL,MAAM,EACN,IAAI,CACL;yCACF,CAAC;oCACJ,CAAC;iCACF;6BACF;yBACF,CAAC,CAAC;oBACL,CAAC;gBACH,CAAC;YACH,CAAC;YAED,oEAAoE;YACpE,EAAE;YACF,uEAAuE;YACvE,sEAAsE;YACtE,iCAAiC,CAC/B,IAA2C;gBAE3C,IAAI,oBAAoB,CAAC,IAAI,CAAC,EAAE,CAAC;oBAC/B,MAAM,MAAM,GAAG,IAAI,CAAC,MAAM,CAAC;oBAC3B,MAAM,iBAAiB,GAAG,2BAA2B,CAAC,MAAM,CAAC,CAAC;oBAC9D,IAAI,iBAAiB,CAAC,MAAM,KAAK,CAAC,EAAE,CAAC;wBACnC,OAAO,CAAC,MAAM,CAAC;4BACb,IAAI;4BACJ,SAAS,EAAE,YAAY;4BACvB,OAAO,EAAE;gCACP;oCACE,SAAS,EAAE,sBAAsB;oCACjC,GAAG,EAAE,CAAC,KAAK,EAAsB,EAAE;wCACjC,OAAO;4CACL,GAAG,iBAAiB,CAAC,GAAG,CAAC,gBAAgB,CAAC,EAAE,CAC1C,kCAAkC,CAChC,KAAK,EACL,gBAAgB,CACjB,CACF;4CACD,sBAAsB;4CACtB,qCAAqC,CACnC,KAAK,EACL,MAAM,EACN,IAAI,CACL;yCACF,CAAC;oCACJ,CAAC;iCACF;6BACF;yBACF,CAAC,CAAC;oBACL,CAAC;gBACH,CAAC;YACH,CAAC;SACF,CAAC;IACJ,CAAC;CACF,CAAC,CAAC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-for-of.js b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-for-of.js index 00b92a0442..7618ac8dbe 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-for-of.js +++ b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-for-of.js @@ -55,7 +55,7 @@ exports.default = (0, util_1.createRule)({ // x += 1 return isLiteral(node.right, 1); } - else if (node.operator === '=') { + if (node.operator === '=') { // x = x + 1 or x = 1 + x const expr = node.right; return (expr.type === utils_1.AST_NODE_TYPES.BinaryExpression && diff --git a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-for-of.js.map b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-for-of.js.map index cd02187d7f..92cfabb2f0 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-for-of.js.map +++ b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-for-of.js.map @@ -1 +1 @@ -{"version":3,"file":"prefer-for-of.js","sourceRoot":"","sources":["../../src/rules/prefer-for-of.ts"],"names":[],"mappings":";;AAEA,oDAA0D;AAE1D,kCAAiD;AAEjD,kBAAe,IAAA,iBAAU,EAAC;IACxB,IAAI,EAAE,eAAe;IACrB,IAAI,EAAE;QACJ,IAAI,EAAE,YAAY;QAClB,IAAI,EAAE;YACJ,WAAW,EACT,8EAA8E;YAChF,WAAW,EAAE,WAAW;SACzB;QACD,QAAQ,EAAE;YACR,WAAW,EACT,8EAA8E;SACjF;QACD,MAAM,EAAE,EAAE;KACX;IACD,cAAc,EAAE,EAAE;IAClB,MAAM,CAAC,OAAO;QACZ,SAAS,2BAA2B,CAClC,IAA0B;YAE1B,OAAO,CACL,IAAI,EAAE,IAAI,KAAK,sBAAc,CAAC,mBAAmB;gBACjD,IAAI,CAAC,IAAI,KAAK,OAAO;gBACrB,IAAI,CAAC,YAAY,CAAC,MAAM,KAAK,CAAC,CAC/B,CAAC;QACJ,CAAC;QAED,SAAS,SAAS,CAChB,IAAsD,EACtD,KAAa;YAEb,OAAO,IAAI,CAAC,IAAI,KAAK,sBAAc,CAAC,OAAO,IAAI,IAAI,CAAC,KAAK,KAAK,KAAK,CAAC;QACtE,CAAC;QAED,SAAS,iBAAiB,CAAC,IAAiC;YAC1D,OAAO,IAAI,CAAC,IAAI,IAAI,IAAI,IAAI,SAAS,CAAC,IAAI,CAAC,IAAI,EAAE,CAAC,CAAC,CAAC;QACtD,CAAC;QAED,SAAS,oBAAoB,CAC3B,IAAsD,EACtD,IAAY;YAEZ,OAAO,IAAI,CAAC,IAAI,KAAK,sBAAc,CAAC,UAAU,IAAI,IAAI,CAAC,IAAI,KAAK,IAAI,CAAC;QACvE,CAAC;QAED,SAAS,0BAA0B,CACjC,IAA0B,EAC1B,IAAY;YAEZ,IACE,IAAI,EAAE,IAAI,KAAK,sBAAc,CAAC,gBAAgB;gBAC9C,IAAI,CAAC,QAAQ,KAAK,GAAG;gBACrB,oBAAoB,CAAC,IAAI,CAAC,IAAI,EAAE,IAAI,CAAC;gBACrC,IAAI,CAAC,KAAK,CAAC,IAAI,KAAK,sBAAc,CAAC,gBAAgB;gBACnD,oBAAoB,CAAC,IAAI,CAAC,KAAK,CAAC,QAAQ,EAAE,QAAQ,CAAC,EACnD,CAAC;gBACD,OAAO,IAAI,CAAC,KAAK,CAAC,MAAM,CAAC;YAC3B,CAAC;YACD,OAAO,IAAI,CAAC;QACd,CAAC;QAED,SAAS,WAAW,CAAC,IAA0B,EAAE,IAAY;YAC3D,IAAI,CAAC,IAAI,EAAE,CAAC;gBACV,OAAO,KAAK,CAAC;YACf,CAAC;YACD,QAAQ,IAAI,CAAC,IAAI,EAAE,CAAC;gBAClB,KAAK,sBAAc,CAAC,gBAAgB;oBAClC,aAAa;oBACb,OAAO,CACL,IAAI,CAAC,QAAQ,KAAK,IAAI,IAAI,oBAAoB,CAAC,IAAI,CAAC,QAAQ,EAAE,IAAI,CAAC,CACpE,CAAC;gBACJ,KAAK,sBAAc,CAAC,oBAAoB;oBACtC,IAAI,oBAAoB,CAAC,IAAI,CAAC,IAAI,EAAE,IAAI,CAAC,EAAE,CAAC;wBAC1C,IAAI,IAAI,CAAC,QAAQ,KAAK,IAAI,EAAE,CAAC;4BAC3B,SAAS;4BACT,OAAO,SAAS,CAAC,IAAI,CAAC,KAAK,EAAE,CAAC,CAAC,CAAC;wBAClC,CAAC;6BAAM,IAAI,IAAI,CAAC,QAAQ,KAAK,GAAG,EAAE,CAAC;4BACjC,yBAAyB;4BACzB,MAAM,IAAI,GAAG,IAAI,CAAC,KAAK,CAAC;4BACxB,OAAO,CACL,IAAI,CAAC,IAAI,KAAK,sBAAc,CAAC,gBAAgB;gCAC7C,IAAI,CAAC,QAAQ,KAAK,GAAG;gCACrB,CAAC,CAAC,oBAAoB,CAAC,IAAI,CAAC,IAAI,EAAE,IAAI,CAAC;oCACrC,SAAS,CAAC,IAAI,CAAC,KAAK,EAAE,CAAC,CAAC,CAAC;oCACzB,CAAC,SAAS,CAAC,IAAI,CAAC,IAAI,EAAE,CAAC,CAAC;wCACtB,oBAAoB,CAAC,IAAI,CAAC,KAAK,EAAE,IAAI,CAAC,CAAC,CAAC,CAC7C,CAAC;wBACJ,CAAC;oBACH,CAAC;YACL,CAAC;YACD,OAAO,KAAK,CAAC;QACf,CAAC;QAED,SAAS,QAAQ,CAAC,KAAoB,EAAE,KAAoB;YAC1D,OAAO,CACL,KAAK,CAAC,KAAK,CAAC,CAAC,CAAC,IAAI,KAAK,CAAC,KAAK,CAAC,CAAC,CAAC,IAAI,KAAK,CAAC,KAAK,CAAC,CAAC,CAAC,IAAI,KAAK,CAAC,KAAK,CAAC,CAAC,CAAC,CACrE,CAAC;QACJ,CAAC;QAED,SAAS,wBAAwB,CAC/B,IAAwB,EACxB,QAAiC,EACjC,eAAoC;YAEpC,MAAM,SAAS,GAAG,OAAO,CAAC,UAAU,CAAC,OAAO,CAAC,eAAe,CAAC,CAAC;YAC9D,OAAO,QAAQ,CAAC,UAAU,CAAC,KAAK,CAAC,SAAS,CAAC,EAAE;gBAC3C,MAAM,EAAE,GAAG,SAAS,CAAC,UAAU,CAAC;gBAChC,MAAM,IAAI,GAAG,EAAE,CAAC,MAAM,CAAC;gBACvB,OAAO,CACL,CAAC,QAAQ,CAAC,IAAI,EAAE,EAAE,CAAC;oBACnB,CAAC,IAAI,CAAC,IAAI,KAAK,sBAAc,CAAC,gBAAgB;wBAC5C,IAAI,CAAC,MAAM,CAAC,IAAI,KAAK,sBAAc,CAAC,cAAc;wBAClD,IAAI,CAAC,QAAQ,KAAK,EAAE;wBACpB,OAAO,CAAC,UAAU,CAAC,OAAO,CAAC,IAAI,CAAC,MAAM,CAAC,KAAK,SAAS;wBACrD,CAAC,IAAA,iBAAU,EAAC,IAAI,CAAC,CAAC,CACrB,CAAC;YACJ,CAAC,CAAC,CAAC;QACL,CAAC;QAED,OAAO;YACL,mBAAmB,CAAC,IAA2B;gBAC7C,IAAI,CAAC,2BAA2B,CAAC,IAAI,CAAC,IAAI,CAAC,EAAE,CAAC;oBAC5C,OAAO;gBACT,CAAC;gBAED,MAAM,UAAU,GAAG,IAAI,CAAC,IAAI,CAAC,YAAY,CAAC,CAAC,CAE9B,CAAC;gBACd,IACE,CAAC,UAAU;oBACX,CAAC,iBAAiB,CAAC,UAAU,CAAC;oBAC9B,UAAU,CAAC,EAAE,CAAC,IAAI,KAAK,sBAAc,CAAC,UAAU,EAChD,CAAC;oBACD,OAAO;gBACT,CAAC;gBAED,MAAM,SAAS,GAAG,UAAU,CAAC,EAAE,CAAC,IAAI,CAAC;gBACrC,MAAM,eAAe,GAAG,0BAA0B,CAChD,IAAI,CAAC,IAAI,EACT,SAAS,CACV,CAAC;gBACF,IAAI,CAAC,eAAe,EAAE,CAAC;oBACrB,OAAO;gBACT,CAAC;gBAED,MAAM,CAAC,QAAQ,CAAC,GAAG,OAAO,CAAC,UAAU,CAAC,oBAAoB,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;gBACtE,IACE,WAAW,CAAC,IAAI,CAAC,MAAM,EAAE,SAAS,CAAC;oBACnC,wBAAwB,CAAC,IAAI,CAAC,IAAI,EAAE,QAAQ,EAAE,eAAe,CAAC,EAC9D,CAAC;oBACD,OAAO,CAAC,MAAM,CAAC;wBACb,IAAI;wBACJ,SAAS,EAAE,aAAa;qBACzB,CAAC,CAAC;gBACL,CAAC;YACH,CAAC;SACF,CAAC;IACJ,CAAC;CACF,CAAC,CAAC"} \ No newline at end of file +{"version":3,"file":"prefer-for-of.js","sourceRoot":"","sources":["../../src/rules/prefer-for-of.ts"],"names":[],"mappings":";;AAEA,oDAA0D;AAE1D,kCAAiD;AAEjD,kBAAe,IAAA,iBAAU,EAAC;IACxB,IAAI,EAAE,eAAe;IACrB,IAAI,EAAE;QACJ,IAAI,EAAE,YAAY;QAClB,IAAI,EAAE;YACJ,WAAW,EACT,8EAA8E;YAChF,WAAW,EAAE,WAAW;SACzB;QACD,QAAQ,EAAE;YACR,WAAW,EACT,8EAA8E;SACjF;QACD,MAAM,EAAE,EAAE;KACX;IACD,cAAc,EAAE,EAAE;IAClB,MAAM,CAAC,OAAO;QACZ,SAAS,2BAA2B,CAClC,IAA0B;YAE1B,OAAO,CACL,IAAI,EAAE,IAAI,KAAK,sBAAc,CAAC,mBAAmB;gBACjD,IAAI,CAAC,IAAI,KAAK,OAAO;gBACrB,IAAI,CAAC,YAAY,CAAC,MAAM,KAAK,CAAC,CAC/B,CAAC;QACJ,CAAC;QAED,SAAS,SAAS,CAChB,IAAsD,EACtD,KAAa;YAEb,OAAO,IAAI,CAAC,IAAI,KAAK,sBAAc,CAAC,OAAO,IAAI,IAAI,CAAC,KAAK,KAAK,KAAK,CAAC;QACtE,CAAC;QAED,SAAS,iBAAiB,CAAC,IAAiC;YAC1D,OAAO,IAAI,CAAC,IAAI,IAAI,IAAI,IAAI,SAAS,CAAC,IAAI,CAAC,IAAI,EAAE,CAAC,CAAC,CAAC;QACtD,CAAC;QAED,SAAS,oBAAoB,CAC3B,IAAsD,EACtD,IAAY;YAEZ,OAAO,IAAI,CAAC,IAAI,KAAK,sBAAc,CAAC,UAAU,IAAI,IAAI,CAAC,IAAI,KAAK,IAAI,CAAC;QACvE,CAAC;QAED,SAAS,0BAA0B,CACjC,IAA0B,EAC1B,IAAY;YAEZ,IACE,IAAI,EAAE,IAAI,KAAK,sBAAc,CAAC,gBAAgB;gBAC9C,IAAI,CAAC,QAAQ,KAAK,GAAG;gBACrB,oBAAoB,CAAC,IAAI,CAAC,IAAI,EAAE,IAAI,CAAC;gBACrC,IAAI,CAAC,KAAK,CAAC,IAAI,KAAK,sBAAc,CAAC,gBAAgB;gBACnD,oBAAoB,CAAC,IAAI,CAAC,KAAK,CAAC,QAAQ,EAAE,QAAQ,CAAC,EACnD,CAAC;gBACD,OAAO,IAAI,CAAC,KAAK,CAAC,MAAM,CAAC;YAC3B,CAAC;YACD,OAAO,IAAI,CAAC;QACd,CAAC;QAED,SAAS,WAAW,CAAC,IAA0B,EAAE,IAAY;YAC3D,IAAI,CAAC,IAAI,EAAE,CAAC;gBACV,OAAO,KAAK,CAAC;YACf,CAAC;YAED,QAAQ,IAAI,CAAC,IAAI,EAAE,CAAC;gBAClB,KAAK,sBAAc,CAAC,gBAAgB;oBAClC,aAAa;oBACb,OAAO,CACL,IAAI,CAAC,QAAQ,KAAK,IAAI,IAAI,oBAAoB,CAAC,IAAI,CAAC,QAAQ,EAAE,IAAI,CAAC,CACpE,CAAC;gBACJ,KAAK,sBAAc,CAAC,oBAAoB;oBACtC,IAAI,oBAAoB,CAAC,IAAI,CAAC,IAAI,EAAE,IAAI,CAAC,EAAE,CAAC;wBAC1C,IAAI,IAAI,CAAC,QAAQ,KAAK,IAAI,EAAE,CAAC;4BAC3B,SAAS;4BACT,OAAO,SAAS,CAAC,IAAI,CAAC,KAAK,EAAE,CAAC,CAAC,CAAC;wBAClC,CAAC;wBACD,IAAI,IAAI,CAAC,QAAQ,KAAK,GAAG,EAAE,CAAC;4BAC1B,yBAAyB;4BACzB,MAAM,IAAI,GAAG,IAAI,CAAC,KAAK,CAAC;4BACxB,OAAO,CACL,IAAI,CAAC,IAAI,KAAK,sBAAc,CAAC,gBAAgB;gCAC7C,IAAI,CAAC,QAAQ,KAAK,GAAG;gCACrB,CAAC,CAAC,oBAAoB,CAAC,IAAI,CAAC,IAAI,EAAE,IAAI,CAAC;oCACrC,SAAS,CAAC,IAAI,CAAC,KAAK,EAAE,CAAC,CAAC,CAAC;oCACzB,CAAC,SAAS,CAAC,IAAI,CAAC,IAAI,EAAE,CAAC,CAAC;wCACtB,oBAAoB,CAAC,IAAI,CAAC,KAAK,EAAE,IAAI,CAAC,CAAC,CAAC,CAC7C,CAAC;wBACJ,CAAC;oBACH,CAAC;YACL,CAAC;YACD,OAAO,KAAK,CAAC;QACf,CAAC;QAED,SAAS,QAAQ,CAAC,KAAoB,EAAE,KAAoB;YAC1D,OAAO,CACL,KAAK,CAAC,KAAK,CAAC,CAAC,CAAC,IAAI,KAAK,CAAC,KAAK,CAAC,CAAC,CAAC,IAAI,KAAK,CAAC,KAAK,CAAC,CAAC,CAAC,IAAI,KAAK,CAAC,KAAK,CAAC,CAAC,CAAC,CACrE,CAAC;QACJ,CAAC;QAED,SAAS,wBAAwB,CAC/B,IAAwB,EACxB,QAAiC,EACjC,eAAoC;YAEpC,MAAM,SAAS,GAAG,OAAO,CAAC,UAAU,CAAC,OAAO,CAAC,eAAe,CAAC,CAAC;YAC9D,OAAO,QAAQ,CAAC,UAAU,CAAC,KAAK,CAAC,SAAS,CAAC,EAAE;gBAC3C,MAAM,EAAE,GAAG,SAAS,CAAC,UAAU,CAAC;gBAChC,MAAM,IAAI,GAAG,EAAE,CAAC,MAAM,CAAC;gBACvB,OAAO,CACL,CAAC,QAAQ,CAAC,IAAI,EAAE,EAAE,CAAC;oBACnB,CAAC,IAAI,CAAC,IAAI,KAAK,sBAAc,CAAC,gBAAgB;wBAC5C,IAAI,CAAC,MAAM,CAAC,IAAI,KAAK,sBAAc,CAAC,cAAc;wBAClD,IAAI,CAAC,QAAQ,KAAK,EAAE;wBACpB,OAAO,CAAC,UAAU,CAAC,OAAO,CAAC,IAAI,CAAC,MAAM,CAAC,KAAK,SAAS;wBACrD,CAAC,IAAA,iBAAU,EAAC,IAAI,CAAC,CAAC,CACrB,CAAC;YACJ,CAAC,CAAC,CAAC;QACL,CAAC;QAED,OAAO;YACL,mBAAmB,CAAC,IAA2B;gBAC7C,IAAI,CAAC,2BAA2B,CAAC,IAAI,CAAC,IAAI,CAAC,EAAE,CAAC;oBAC5C,OAAO;gBACT,CAAC;gBAED,MAAM,UAAU,GAAG,IAAI,CAAC,IAAI,CAAC,YAAY,CAAC,CAAC,CAE9B,CAAC;gBACd,IACE,CAAC,UAAU;oBACX,CAAC,iBAAiB,CAAC,UAAU,CAAC;oBAC9B,UAAU,CAAC,EAAE,CAAC,IAAI,KAAK,sBAAc,CAAC,UAAU,EAChD,CAAC;oBACD,OAAO;gBACT,CAAC;gBAED,MAAM,SAAS,GAAG,UAAU,CAAC,EAAE,CAAC,IAAI,CAAC;gBACrC,MAAM,eAAe,GAAG,0BAA0B,CAChD,IAAI,CAAC,IAAI,EACT,SAAS,CACV,CAAC;gBACF,IAAI,CAAC,eAAe,EAAE,CAAC;oBACrB,OAAO;gBACT,CAAC;gBAED,MAAM,CAAC,QAAQ,CAAC,GAAG,OAAO,CAAC,UAAU,CAAC,oBAAoB,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;gBACtE,IACE,WAAW,CAAC,IAAI,CAAC,MAAM,EAAE,SAAS,CAAC;oBACnC,wBAAwB,CAAC,IAAI,CAAC,IAAI,EAAE,QAAQ,EAAE,eAAe,CAAC,EAC9D,CAAC;oBACD,OAAO,CAAC,MAAM,CAAC;wBACb,IAAI;wBACJ,SAAS,EAAE,aAAa;qBACzB,CAAC,CAAC;gBACL,CAAC;YACH,CAAC;SACF,CAAC;IACJ,CAAC;CACF,CAAC,CAAC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-includes.js b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-includes.js index 4a05933a25..1241251010 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-includes.js +++ b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-includes.js @@ -15,13 +15,23 @@ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? ( }) : function(o, v) { o["default"] = v; }); -var __importStar = (this && this.__importStar) || function (mod) { - if (mod && mod.__esModule) return mod; - var result = {}; - if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k); - __setModuleDefault(result, mod); - return result; -}; +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); Object.defineProperty(exports, "__esModule", { value: true }); const regexpp_1 = require("@eslint-community/regexpp"); const utils_1 = require("@typescript-eslint/utils"); diff --git a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-includes.js.map b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-includes.js.map index 5fd6f43b2f..f8a0956116 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-includes.js.map +++ b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-includes.js.map @@ -1 +1 @@ -{"version":3,"file":"prefer-includes.js","sourceRoot":"","sources":["../../src/rules/prefer-includes.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AAEA,uDAA+D;AAC/D,oDAA0D;AAC1D,+CAAiC;AAEjC,kCAMiB;AAEjB,kBAAe,IAAA,iBAAU,EAAC;IACxB,IAAI,EAAE,iBAAiB;IACvB,IAAI,EAAE;QACJ,IAAI,EAAE,YAAY;QAClB,IAAI,EAAE;YACJ,WAAW,EAAE,iDAAiD;YAC9D,WAAW,EAAE,WAAW;YACxB,oBAAoB,EAAE,IAAI;SAC3B;QACD,OAAO,EAAE,MAAM;QACf,QAAQ,EAAE;YACR,cAAc,EAAE,kCAAkC;YAClD,oBAAoB,EAClB,uDAAuD;SAC1D;QACD,MAAM,EAAE,EAAE;KACX;IAED,cAAc,EAAE,EAAE;IAElB,MAAM,CAAC,OAAO;QACZ,MAAM,WAAW,GAAG,OAAO,CAAC,UAAU,CAAC,QAAQ,CAAC,OAAO,CAAC,UAAU,CAAC,GAAG,CAAC,CAAC;QACxE,MAAM,QAAQ,GAAG,IAAA,wBAAiB,EAAC,OAAO,CAAC,CAAC;QAC5C,MAAM,OAAO,GAAG,QAAQ,CAAC,OAAO,CAAC,cAAc,EAAE,CAAC;QAElD,SAAS,QAAQ,CAAC,IAAmB,EAAE,KAAa;YAClD,MAAM,SAAS,GAAG,IAAA,qBAAc,EAAC,IAAI,EAAE,WAAW,CAAC,CAAC;YACpD,OAAO,SAAS,IAAI,IAAI,IAAI,SAAS,CAAC,KAAK,KAAK,KAAK,CAAC;QACxD,CAAC;QAED,SAAS,eAAe,CAAC,IAA+B;YACtD,QAAQ,IAAI,CAAC,QAAQ,EAAE,CAAC;gBACtB,KAAK,KAAK,CAAC;gBACX,KAAK,IAAI,CAAC;gBACV,KAAK,GAAG;oBACN,OAAO,QAAQ,CAAC,IAAI,CAAC,KAAK,EAAE,CAAC,CAAC,CAAC,CAAC;gBAClC,KAAK,IAAI;oBACP,OAAO,QAAQ,CAAC,IAAI,CAAC,KAAK,EAAE,CAAC,CAAC,CAAC;gBACjC;oBACE,OAAO,KAAK,CAAC;YACjB,CAAC;QACH,CAAC;QACD,SAAS,eAAe,CAAC,IAA+B;YACtD,QAAQ,IAAI,CAAC,QAAQ,EAAE,CAAC;gBACtB,KAAK,KAAK,CAAC;gBACX,KAAK,IAAI,CAAC;gBACV,KAAK,IAAI;oBACP,OAAO,QAAQ,CAAC,IAAI,CAAC,KAAK,EAAE,CAAC,CAAC,CAAC,CAAC;gBAClC,KAAK,GAAG;oBACN,OAAO,QAAQ,CAAC,IAAI,CAAC,KAAK,EAAE,CAAC,CAAC,CAAC;gBACjC;oBACE,OAAO,KAAK,CAAC;YACjB,CAAC;QACH,CAAC;QAED,SAAS,iBAAiB,CACxB,KAAqB,EACrB,KAAqB;YAErB,IAAI,CAAC,EAAE,CAAC,cAAc,CAAC,KAAK,CAAC,IAAI,CAAC,EAAE,CAAC,cAAc,CAAC,KAAK,CAAC,EAAE,CAAC;gBAC3D,OAAO,KAAK,CAAC;YACf,CAAC;YAED,MAAM,OAAO,GAAG,KAAK,CAAC,UAAU,CAAC;YACjC,MAAM,OAAO,GAAG,KAAK,CAAC,UAAU,CAAC;YACjC,IAAI,OAAO,CAAC,MAAM,KAAK,OAAO,CAAC,MAAM,EAAE,CAAC;gBACtC,OAAO,KAAK,CAAC;YACf,CAAC;YAED,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,OAAO,CAAC,MAAM,EAAE,EAAE,CAAC,EAAE,CAAC;gBACxC,MAAM,MAAM,GAAG,OAAO,CAAC,CAAC,CAAC,CAAC;gBAC1B,MAAM,MAAM,GAAG,OAAO,CAAC,CAAC,CAAC,CAAC;gBAE1B,6CAA6C;gBAC7C,IAAI,MAAM,CAAC,OAAO,EAAE,KAAK,MAAM,CAAC,OAAO,EAAE,EAAE,CAAC;oBAC1C,OAAO,KAAK,CAAC;gBACf,CAAC;YACH,CAAC;YAED,OAAO,IAAI,CAAC;QACd,CAAC;QAED;;;WAGG;QACH,SAAS,WAAW,CAAC,IAAmB;YACtC,MAAM,SAAS,GAAG,IAAA,qBAAc,EAAC,IAAI,EAAE,WAAW,CAAC,CAAC;YACpD,IAAI,SAAS,IAAI,IAAI,IAAI,CAAC,CAAC,SAAS,CAAC,KAAK,YAAY,MAAM,CAAC,EAAE,CAAC;gBAC9D,OAAO,IAAI,CAAC;YACd,CAAC;YAED,MAAM,EAAE,KAAK,EAAE,OAAO,EAAE,GAAG,IAAA,4BAAkB,EAAC,SAAS,CAAC,KAAK,CAAC,CAAC;YAC/D,IACE,OAAO,CAAC,YAAY,CAAC,MAAM,KAAK,CAAC;gBACjC,KAAK,CAAC,UAAU;gBAChB,KAAK,CAAC,MAAM,EACZ,CAAC;gBACD,OAAO,IAAI,CAAC;YACd,CAAC;YAED,6CAA6C;YAC7C,MAAM,KAAK,GAAG,OAAO,CAAC,YAAY,CAAC,CAAC,CAAC,CAAC,QAAQ,CAAC;YAC/C,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,IAAI,KAAK,WAAW,CAAC,EAAE,CAAC;gBAC9C,OAAO,IAAI,CAAC;YACd,CAAC;YAED,aAAa;YACb,OAAO,MAAM,CAAC,aAAa,CAAC,GAAG,KAAK,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC;QAC1D,CAAC;QAED,SAAS,YAAY,CAAC,GAAW;YAC/B,MAAM,SAAS,GAAG;gBAChB,IAAI,EAAE,KAAK;gBACX,IAAI,EAAE,KAAK;gBACX,IAAI,EAAE,KAAK;gBACX,IAAI,EAAE,KAAK;gBACX,IAAI,EAAE,KAAK;gBACX,IAAI,EAAE,KAAK;gBACX,GAAG,EAAE,KAAK;gBACV,IAAI,EAAE,MAAM;gBACZ,qCAAqC;gBACrC,eAAe;aAChB,CAAC;YACF,MAAM,YAAY,GAAG,IAAI,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,SAAS,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,EAAE,GAAG,CAAC,CAAC;YAEzE,OAAO,GAAG,CAAC,UAAU,CACnB,YAAY,EACZ,IAAI,CAAC,EAAE,CAAC,SAAS,CAAC,IAA8B,CAAC,CAClD,CAAC;QACJ,CAAC;QAED,SAAS,iBAAiB,CACxB,IAA+B,EAC/B,WAAoB;YAEpB,IAAI,CAAC,IAAA,kCAA2B,EAAC,IAAI,EAAE,OAAO,EAAE,SAAS,CAAC,EAAE,CAAC;gBAC3D,OAAO;YACT,CAAC;YACD,yDAAyD;YACzD,MAAM,QAAQ,GAAG,IAAI,CAAC,MAAiC,CAAC;YACxD,MAAM,WAAW,GAAG,CAClB,QAAQ,CAAC,MAAM,CAAC,IAAI,KAAK,sBAAc,CAAC,eAAe;gBACrD,CAAC,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM;gBACxB,CAAC,CAAC,QAAQ,CAAC,MAAM,CACS,CAAC;YAC/B,MAAM,QAAQ,GAAG,eAAe,CAAC,WAAW,CAAC,CAAC;YAC9C,IAAI,CAAC,QAAQ,IAAI,CAAC,eAAe,CAAC,WAAW,CAAC,EAAE,CAAC;gBAC/C,OAAO;YACT,CAAC;YAED,sCAAsC;YACtC,MAAM,yBAAyB,GAAG,QAAQ;iBACvC,mBAAmB,CAAC,IAAI,CAAC,QAAQ,CAAC;gBACnC,EAAE,eAAe,EAAE,CAAC;YACtB,IACE,yBAAyB,IAAI,IAAI;gBACjC,yBAAyB,CAAC,MAAM,KAAK,CAAC,EACtC,CAAC;gBACD,OAAO;YACT,CAAC;YAED,uEAAuE;YACvE,gDAAgD;YAChD,KAAK,MAAM,oBAAoB,IAAI,yBAAyB,EAAE,CAAC;gBAC7D,MAAM,QAAQ,GAAG,oBAAoB,CAAC,MAAM,CAAC;gBAC7C,MAAM,IAAI,GAAG,OAAO,CAAC,iBAAiB,CAAC,QAAQ,CAAC,CAAC;gBACjD,MAAM,kBAAkB,GAAG,IAAI;qBAC5B,WAAW,CAAC,UAAU,CAAC;oBACxB,EAAE,eAAe,EAAE,CAAC;gBACtB,IACE,CAAC,kBAAkB,EAAE,IAAI,CAAC,kBAAkB,CAAC,EAAE,CAC7C,iBAAiB,CAAC,kBAAkB,EAAE,oBAAoB,CAAC,CAC5D,EACD,CAAC;oBACD,OAAO;gBACT,CAAC;YACH,CAAC;YAED,aAAa;YACb,OAAO,CAAC,MAAM,CAAC;gBACb,IAAI,EAAE,WAAW;gBACjB,SAAS,EAAE,gBAAgB;gBAC3B,GAAG,CAAC,WAAW,IAAI;oBACjB,CAAC,GAAG,CAAC,KAAK;wBACR,IAAI,QAAQ,EAAE,CAAC;4BACb,MAAM,KAAK,CAAC,gBAAgB,CAAC,QAAQ,EAAE,GAAG,CAAC,CAAC;wBAC9C,CAAC;wBACD,MAAM,KAAK,CAAC,WAAW,CAAC,IAAI,CAAC,QAAQ,EAAE,UAAU,CAAC,CAAC;wBACnD,MAAM,KAAK,CAAC,WAAW,CAAC,CAAC,QAAQ,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,WAAW,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;oBACrE,CAAC;iBACF,CAAC;aACH,CAAC,CAAC;QACL,CAAC;QAED,OAAO;YACL,qBAAqB;YACrB,2DAA2D,CACzD,IAA+B;gBAE/B,iBAAiB,CAAC,IAAI,EAAE,iBAAiB,CAAC,IAAI,CAAC,CAAC;YAClD,CAAC;YAED,sBAAsB;YACtB,6EAA6E,CAC3E,IAA+B;gBAE/B,iBAAiB,CAAC,IAAI,EAAE,iBAAiB,CAAC,KAAK,CAAC,CAAC;YACnD,CAAC;YAED,kBAAkB;YAClB,oGAAoG,CAClG,IAAqE;gBAErE,MAAM,QAAQ,GAAG,IAAI,CAAC,MAAM,CAAC;gBAC7B,MAAM,IAAI,GAAG,WAAW,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC;gBACtC,IAAI,IAAI,IAAI,IAAI,EAAE,CAAC;oBACjB,OAAO;gBACT,CAAC;gBAED,yCAAyC;gBACzC,MAAM,QAAQ,GAAG,QAAQ,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC;gBACvC,MAAM,IAAI,GAAG,IAAA,mCAA4B,EAAC,QAAQ,EAAE,QAAQ,CAAC,CAAC;gBAE9D,MAAM,kBAAkB,GAAG,IAAI;qBAC5B,WAAW,CAAC,UAAU,CAAC;oBACxB,EAAE,eAAe,EAAE,CAAC;gBACtB,IAAI,kBAAkB,IAAI,IAAI,EAAE,CAAC;oBAC/B,OAAO;gBACT,CAAC;gBAED,OAAO,CAAC,MAAM,CAAC;oBACb,IAAI,EAAE,QAAQ;oBACd,SAAS,EAAE,sBAAsB;oBACjC,CAAC,GAAG,CAAC,KAAK;wBACR,MAAM,OAAO,GAAG,QAAQ,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC;wBACtC,MAAM,UAAU,GACd,OAAO,CAAC,IAAI,KAAK,sBAAc,CAAC,OAAO;4BACvC,OAAO,CAAC,IAAI,KAAK,sBAAc,CAAC,eAAe;4BAC/C,OAAO,CAAC,IAAI,KAAK,sBAAc,CAAC,UAAU;4BAC1C,OAAO,CAAC,IAAI,KAAK,sBAAc,CAAC,gBAAgB;4BAChD,OAAO,CAAC,IAAI,KAAK,sBAAc,CAAC,cAAc,CAAC;wBAEjD,MAAM,KAAK,CAAC,WAAW,CAAC,CAAC,QAAQ,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,OAAO,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;wBAC/D,MAAM,KAAK,CAAC,WAAW,CAAC,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,QAAQ,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;wBAC/D,IAAI,UAAU,EAAE,CAAC;4BACf,MAAM,KAAK,CAAC,gBAAgB,CAAC,OAAO,EAAE,GAAG,CAAC,CAAC;4BAC3C,MAAM,KAAK,CAAC,eAAe,CAAC,OAAO,EAAE,GAAG,CAAC,CAAC;wBAC5C,CAAC;wBACD,MAAM,KAAK,CAAC,eAAe,CACzB,OAAO,EACP,GAAG,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,GAAG,aAAa,YAAY,CAAC,IAAI,CAAC,IAAI,CACjE,CAAC;oBACJ,CAAC;iBACF,CAAC,CAAC;YACL,CAAC;SACF,CAAC;IACJ,CAAC;CACF,CAAC,CAAC"} \ No newline at end of file +{"version":3,"file":"prefer-includes.js","sourceRoot":"","sources":["../../src/rules/prefer-includes.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEA,uDAA+D;AAC/D,oDAA0D;AAC1D,+CAAiC;AAEjC,kCAMiB;AAEjB,kBAAe,IAAA,iBAAU,EAAC;IACxB,IAAI,EAAE,iBAAiB;IACvB,IAAI,EAAE;QACJ,IAAI,EAAE,YAAY;QAClB,IAAI,EAAE;YACJ,WAAW,EAAE,iDAAiD;YAC9D,WAAW,EAAE,WAAW;YACxB,oBAAoB,EAAE,IAAI;SAC3B;QACD,OAAO,EAAE,MAAM;QACf,QAAQ,EAAE;YACR,cAAc,EAAE,kCAAkC;YAClD,oBAAoB,EAClB,uDAAuD;SAC1D;QACD,MAAM,EAAE,EAAE;KACX;IAED,cAAc,EAAE,EAAE;IAElB,MAAM,CAAC,OAAO;QACZ,MAAM,WAAW,GAAG,OAAO,CAAC,UAAU,CAAC,QAAQ,CAAC,OAAO,CAAC,UAAU,CAAC,GAAG,CAAC,CAAC;QACxE,MAAM,QAAQ,GAAG,IAAA,wBAAiB,EAAC,OAAO,CAAC,CAAC;QAC5C,MAAM,OAAO,GAAG,QAAQ,CAAC,OAAO,CAAC,cAAc,EAAE,CAAC;QAElD,SAAS,QAAQ,CAAC,IAAmB,EAAE,KAAa;YAClD,MAAM,SAAS,GAAG,IAAA,qBAAc,EAAC,IAAI,EAAE,WAAW,CAAC,CAAC;YACpD,OAAO,SAAS,IAAI,IAAI,IAAI,SAAS,CAAC,KAAK,KAAK,KAAK,CAAC;QACxD,CAAC;QAED,SAAS,eAAe,CAAC,IAA+B;YACtD,QAAQ,IAAI,CAAC,QAAQ,EAAE,CAAC;gBACtB,KAAK,KAAK,CAAC;gBACX,KAAK,IAAI,CAAC;gBACV,KAAK,GAAG;oBACN,OAAO,QAAQ,CAAC,IAAI,CAAC,KAAK,EAAE,CAAC,CAAC,CAAC,CAAC;gBAClC,KAAK,IAAI;oBACP,OAAO,QAAQ,CAAC,IAAI,CAAC,KAAK,EAAE,CAAC,CAAC,CAAC;gBACjC;oBACE,OAAO,KAAK,CAAC;YACjB,CAAC;QACH,CAAC;QACD,SAAS,eAAe,CAAC,IAA+B;YACtD,QAAQ,IAAI,CAAC,QAAQ,EAAE,CAAC;gBACtB,KAAK,KAAK,CAAC;gBACX,KAAK,IAAI,CAAC;gBACV,KAAK,IAAI;oBACP,OAAO,QAAQ,CAAC,IAAI,CAAC,KAAK,EAAE,CAAC,CAAC,CAAC,CAAC;gBAClC,KAAK,GAAG;oBACN,OAAO,QAAQ,CAAC,IAAI,CAAC,KAAK,EAAE,CAAC,CAAC,CAAC;gBACjC;oBACE,OAAO,KAAK,CAAC;YACjB,CAAC;QACH,CAAC;QAED,SAAS,iBAAiB,CACxB,KAAqB,EACrB,KAAqB;YAErB,IAAI,CAAC,EAAE,CAAC,cAAc,CAAC,KAAK,CAAC,IAAI,CAAC,EAAE,CAAC,cAAc,CAAC,KAAK,CAAC,EAAE,CAAC;gBAC3D,OAAO,KAAK,CAAC;YACf,CAAC;YAED,MAAM,OAAO,GAAG,KAAK,CAAC,UAAU,CAAC;YACjC,MAAM,OAAO,GAAG,KAAK,CAAC,UAAU,CAAC;YACjC,IAAI,OAAO,CAAC,MAAM,KAAK,OAAO,CAAC,MAAM,EAAE,CAAC;gBACtC,OAAO,KAAK,CAAC;YACf,CAAC;YAED,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,OAAO,CAAC,MAAM,EAAE,EAAE,CAAC,EAAE,CAAC;gBACxC,MAAM,MAAM,GAAG,OAAO,CAAC,CAAC,CAAC,CAAC;gBAC1B,MAAM,MAAM,GAAG,OAAO,CAAC,CAAC,CAAC,CAAC;gBAE1B,6CAA6C;gBAC7C,IAAI,MAAM,CAAC,OAAO,EAAE,KAAK,MAAM,CAAC,OAAO,EAAE,EAAE,CAAC;oBAC1C,OAAO,KAAK,CAAC;gBACf,CAAC;YACH,CAAC;YAED,OAAO,IAAI,CAAC;QACd,CAAC;QAED;;;WAGG;QACH,SAAS,WAAW,CAAC,IAAmB;YACtC,MAAM,SAAS,GAAG,IAAA,qBAAc,EAAC,IAAI,EAAE,WAAW,CAAC,CAAC;YACpD,IAAI,SAAS,IAAI,IAAI,IAAI,CAAC,CAAC,SAAS,CAAC,KAAK,YAAY,MAAM,CAAC,EAAE,CAAC;gBAC9D,OAAO,IAAI,CAAC;YACd,CAAC;YAED,MAAM,EAAE,KAAK,EAAE,OAAO,EAAE,GAAG,IAAA,4BAAkB,EAAC,SAAS,CAAC,KAAK,CAAC,CAAC;YAC/D,IACE,OAAO,CAAC,YAAY,CAAC,MAAM,KAAK,CAAC;gBACjC,KAAK,CAAC,UAAU;gBAChB,KAAK,CAAC,MAAM,EACZ,CAAC;gBACD,OAAO,IAAI,CAAC;YACd,CAAC;YAED,6CAA6C;YAC7C,MAAM,KAAK,GAAG,OAAO,CAAC,YAAY,CAAC,CAAC,CAAC,CAAC,QAAQ,CAAC;YAC/C,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,IAAI,KAAK,WAAW,CAAC,EAAE,CAAC;gBAC9C,OAAO,IAAI,CAAC;YACd,CAAC;YAED,aAAa;YACb,OAAO,MAAM,CAAC,aAAa,CAAC,GAAG,KAAK,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC;QAC1D,CAAC;QAED,SAAS,YAAY,CAAC,GAAW;YAC/B,MAAM,SAAS,GAAG;gBAChB,IAAI,EAAE,KAAK;gBACX,IAAI,EAAE,KAAK;gBACX,IAAI,EAAE,KAAK;gBACX,IAAI,EAAE,KAAK;gBACX,IAAI,EAAE,KAAK;gBACX,IAAI,EAAE,KAAK;gBACX,GAAG,EAAE,KAAK;gBACV,IAAI,EAAE,MAAM;gBACZ,qCAAqC;gBACrC,eAAe;aAChB,CAAC;YACF,MAAM,YAAY,GAAG,IAAI,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,SAAS,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,EAAE,GAAG,CAAC,CAAC;YAEzE,OAAO,GAAG,CAAC,UAAU,CACnB,YAAY,EACZ,IAAI,CAAC,EAAE,CAAC,SAAS,CAAC,IAA8B,CAAC,CAClD,CAAC;QACJ,CAAC;QAED,SAAS,iBAAiB,CACxB,IAA+B,EAC/B,WAAoB;YAEpB,IAAI,CAAC,IAAA,kCAA2B,EAAC,IAAI,EAAE,OAAO,EAAE,SAAS,CAAC,EAAE,CAAC;gBAC3D,OAAO;YACT,CAAC;YACD,yDAAyD;YACzD,MAAM,QAAQ,GAAG,IAAI,CAAC,MAAiC,CAAC;YACxD,MAAM,WAAW,GAAG,CAClB,QAAQ,CAAC,MAAM,CAAC,IAAI,KAAK,sBAAc,CAAC,eAAe;gBACrD,CAAC,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM;gBACxB,CAAC,CAAC,QAAQ,CAAC,MAAM,CACS,CAAC;YAC/B,MAAM,QAAQ,GAAG,eAAe,CAAC,WAAW,CAAC,CAAC;YAC9C,IAAI,CAAC,QAAQ,IAAI,CAAC,eAAe,CAAC,WAAW,CAAC,EAAE,CAAC;gBAC/C,OAAO;YACT,CAAC;YAED,sCAAsC;YACtC,MAAM,yBAAyB,GAAG,QAAQ;iBACvC,mBAAmB,CAAC,IAAI,CAAC,QAAQ,CAAC;gBACnC,EAAE,eAAe,EAAE,CAAC;YACtB,IACE,yBAAyB,IAAI,IAAI;gBACjC,yBAAyB,CAAC,MAAM,KAAK,CAAC,EACtC,CAAC;gBACD,OAAO;YACT,CAAC;YAED,uEAAuE;YACvE,gDAAgD;YAChD,KAAK,MAAM,oBAAoB,IAAI,yBAAyB,EAAE,CAAC;gBAC7D,MAAM,QAAQ,GAAG,oBAAoB,CAAC,MAAM,CAAC;gBAC7C,MAAM,IAAI,GAAG,OAAO,CAAC,iBAAiB,CAAC,QAAQ,CAAC,CAAC;gBACjD,MAAM,kBAAkB,GAAG,IAAI;qBAC5B,WAAW,CAAC,UAAU,CAAC;oBACxB,EAAE,eAAe,EAAE,CAAC;gBACtB,IACE,CAAC,kBAAkB,EAAE,IAAI,CAAC,kBAAkB,CAAC,EAAE,CAC7C,iBAAiB,CAAC,kBAAkB,EAAE,oBAAoB,CAAC,CAC5D,EACD,CAAC;oBACD,OAAO;gBACT,CAAC;YACH,CAAC;YAED,aAAa;YACb,OAAO,CAAC,MAAM,CAAC;gBACb,IAAI,EAAE,WAAW;gBACjB,SAAS,EAAE,gBAAgB;gBAC3B,GAAG,CAAC,WAAW,IAAI;oBACjB,CAAC,GAAG,CAAC,KAAK;wBACR,IAAI,QAAQ,EAAE,CAAC;4BACb,MAAM,KAAK,CAAC,gBAAgB,CAAC,QAAQ,EAAE,GAAG,CAAC,CAAC;wBAC9C,CAAC;wBACD,MAAM,KAAK,CAAC,WAAW,CAAC,IAAI,CAAC,QAAQ,EAAE,UAAU,CAAC,CAAC;wBACnD,MAAM,KAAK,CAAC,WAAW,CAAC,CAAC,QAAQ,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,WAAW,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;oBACrE,CAAC;iBACF,CAAC;aACH,CAAC,CAAC;QACL,CAAC;QAED,OAAO;YACL,qBAAqB;YACrB,2DAA2D,CACzD,IAA+B;gBAE/B,iBAAiB,CAAC,IAAI,EAAE,iBAAiB,CAAC,IAAI,CAAC,CAAC;YAClD,CAAC;YAED,sBAAsB;YACtB,6EAA6E,CAC3E,IAA+B;gBAE/B,iBAAiB,CAAC,IAAI,EAAE,iBAAiB,CAAC,KAAK,CAAC,CAAC;YACnD,CAAC;YAED,kBAAkB;YAClB,oGAAoG,CAClG,IAAqE;gBAErE,MAAM,QAAQ,GAAG,IAAI,CAAC,MAAM,CAAC;gBAC7B,MAAM,IAAI,GAAG,WAAW,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC;gBACtC,IAAI,IAAI,IAAI,IAAI,EAAE,CAAC;oBACjB,OAAO;gBACT,CAAC;gBAED,yCAAyC;gBACzC,MAAM,QAAQ,GAAG,QAAQ,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC;gBACvC,MAAM,IAAI,GAAG,IAAA,mCAA4B,EAAC,QAAQ,EAAE,QAAQ,CAAC,CAAC;gBAE9D,MAAM,kBAAkB,GAAG,IAAI;qBAC5B,WAAW,CAAC,UAAU,CAAC;oBACxB,EAAE,eAAe,EAAE,CAAC;gBACtB,IAAI,kBAAkB,IAAI,IAAI,EAAE,CAAC;oBAC/B,OAAO;gBACT,CAAC;gBAED,OAAO,CAAC,MAAM,CAAC;oBACb,IAAI,EAAE,QAAQ;oBACd,SAAS,EAAE,sBAAsB;oBACjC,CAAC,GAAG,CAAC,KAAK;wBACR,MAAM,OAAO,GAAG,QAAQ,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC;wBACtC,MAAM,UAAU,GACd,OAAO,CAAC,IAAI,KAAK,sBAAc,CAAC,OAAO;4BACvC,OAAO,CAAC,IAAI,KAAK,sBAAc,CAAC,eAAe;4BAC/C,OAAO,CAAC,IAAI,KAAK,sBAAc,CAAC,UAAU;4BAC1C,OAAO,CAAC,IAAI,KAAK,sBAAc,CAAC,gBAAgB;4BAChD,OAAO,CAAC,IAAI,KAAK,sBAAc,CAAC,cAAc,CAAC;wBAEjD,MAAM,KAAK,CAAC,WAAW,CAAC,CAAC,QAAQ,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,OAAO,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;wBAC/D,MAAM,KAAK,CAAC,WAAW,CAAC,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,QAAQ,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;wBAC/D,IAAI,UAAU,EAAE,CAAC;4BACf,MAAM,KAAK,CAAC,gBAAgB,CAAC,OAAO,EAAE,GAAG,CAAC,CAAC;4BAC3C,MAAM,KAAK,CAAC,eAAe,CAAC,OAAO,EAAE,GAAG,CAAC,CAAC;wBAC5C,CAAC;wBACD,MAAM,KAAK,CAAC,eAAe,CACzB,OAAO,EACP,GAAG,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,GAAG,aAAa,YAAY,CAAC,IAAI,CAAC,IAAI,CACjE,CAAC;oBACJ,CAAC;iBACF,CAAC,CAAC;YACL,CAAC;SACF,CAAC;IACJ,CAAC;CACF,CAAC,CAAC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-nullish-coalescing.js b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-nullish-coalescing.js index 422e08d725..9a43492826 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-nullish-coalescing.js +++ b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-nullish-coalescing.js @@ -15,13 +15,23 @@ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? ( }) : function(o, v) { o["default"] = v; }); -var __importStar = (this && this.__importStar) || function (mod) { - if (mod && mod.__esModule) return mod; - var result = {}; - if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k); - __setModuleDefault(result, mod); - return result; -}; +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); Object.defineProperty(exports, "__esModule", { value: true }); const utils_1 = require("@typescript-eslint/utils"); const tsutils = __importStar(require("ts-api-utils")); @@ -412,7 +422,7 @@ function isMixedLogicalExpression(node) { if (current.operator === '&&') { return true; } - else if (['||', '||='].includes(current.operator)) { + if (['||', '||='].includes(current.operator)) { // check the pieces of the node to catch cases like `a || b || c && d` queue.push(current.parent, current.left, current.right); } diff --git a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-nullish-coalescing.js.map b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-nullish-coalescing.js.map index 66fd016325..d37329c2d8 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-nullish-coalescing.js.map +++ b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-nullish-coalescing.js.map @@ -1 +1 @@ -{"version":3,"file":"prefer-nullish-coalescing.js","sourceRoot":"","sources":["../../src/rules/prefer-nullish-coalescing.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AAEA,oDAA2E;AAC3E,sDAAwC;AACxC,+CAAiC;AAEjC,kCAYiB;AA0BjB,kBAAe,IAAA,iBAAU,EAAsB;IAC7C,IAAI,EAAE,2BAA2B;IACjC,IAAI,EAAE;QACJ,IAAI,EAAE,YAAY;QAClB,IAAI,EAAE;YACJ,WAAW,EACT,0FAA0F;YAC5F,WAAW,EAAE,WAAW;YACxB,oBAAoB,EAAE,IAAI;SAC3B;QACD,cAAc,EAAE,IAAI;QACpB,QAAQ,EAAE;YACR,iBAAiB,EACf,kGAAkG;YACpG,mBAAmB,EACjB,mJAAmJ;YACrJ,wBAAwB,EACtB,wHAAwH;YAC1H,cAAc,EAAE,wDAAwD;SACzE;QACD,MAAM,EAAE;YACN;gBACE,IAAI,EAAE,QAAQ;gBACd,oBAAoB,EAAE,KAAK;gBAC3B,UAAU,EAAE;oBACV,sDAAsD,EAAE;wBACtD,IAAI,EAAE,SAAS;wBACf,WAAW,EACT,2KAA2K;qBAC9K;oBACD,qBAAqB,EAAE;wBACrB,IAAI,EAAE,SAAS;wBACf,WAAW,EACT,0DAA0D;qBAC7D;oBACD,sBAAsB,EAAE;wBACtB,IAAI,EAAE,SAAS;wBACf,WAAW,EACT,qEAAqE;qBACxE;oBACD,6BAA6B,EAAE;wBAC7B,IAAI,EAAE,SAAS;wBACf,WAAW,EACT,uGAAuG;qBAC1G;oBACD,gBAAgB,EAAE;wBAChB,WAAW,EACT,qFAAqF;wBACvF,KAAK,EAAE;4BACL;gCACE,IAAI,EAAE,QAAQ;gCACd,WAAW,EAAE,wCAAwC;gCACrD,UAAU,EAAE;oCACV,MAAM,EAAE;wCACN,IAAI,EAAE,SAAS;wCACf,WAAW,EAAE,gCAAgC;qCAC9C;oCACD,OAAO,EAAE;wCACP,IAAI,EAAE,SAAS;wCACf,WAAW,EAAE,iCAAiC;qCAC/C;oCACD,MAAM,EAAE;wCACN,IAAI,EAAE,SAAS;wCACf,WAAW,EAAE,gCAAgC;qCAC9C;oCACD,MAAM,EAAE;wCACN,IAAI,EAAE,SAAS;wCACf,WAAW,EAAE,gCAAgC;qCAC9C;iCACF;6BACF;4BACD;gCACE,IAAI,EAAE,SAAS;gCACf,WAAW,EAAE,6BAA6B;gCAC1C,IAAI,EAAE,CAAC,IAAI,CAAC;6BACb;yBACF;qBACF;oBACD,kBAAkB,EAAE;wBAClB,IAAI,EAAE,SAAS;wBACf,WAAW,EACT,8GAA8G;qBACjH;iBACF;aACF;SACF;KACF;IACD,cAAc,EAAE;QACd;YACE,sDAAsD,EAAE,KAAK;YAC7D,qBAAqB,EAAE,KAAK;YAC5B,sBAAsB,EAAE,IAAI;YAC5B,6BAA6B,EAAE,KAAK;YACpC,gBAAgB,EAAE;gBAChB,MAAM,EAAE,KAAK;gBACb,OAAO,EAAE,KAAK;gBACd,MAAM,EAAE,KAAK;gBACb,MAAM,EAAE,KAAK;aACd;YACD,kBAAkB,EAAE,KAAK;SAC1B;KACF;IACD,MAAM,CACJ,OAAO,EACP,CACE,EACE,sDAAsD,EACtD,qBAAqB,EACrB,sBAAsB,EACtB,6BAA6B,EAC7B,gBAAgB,EAChB,kBAAkB,GACnB,EACF;QAED,MAAM,cAAc,GAAG,IAAA,wBAAiB,EAAC,OAAO,CAAC,CAAC;QAClD,MAAM,eAAe,GAAG,cAAc,CAAC,OAAO,CAAC,kBAAkB,EAAE,CAAC;QAEpE,MAAM,OAAO,GAAG,cAAc,CAAC,OAAO,CAAC,cAAc,EAAE,CAAC;QACxD,MAAM,kBAAkB,GAAG,OAAO,CAAC,6BAA6B,CAC9D,eAAe,EACf,kBAAkB,CACnB,CAAC;QAEF,IACE,CAAC,kBAAkB;YACnB,sDAAsD,KAAK,IAAI,EAC/D,CAAC;YACD,OAAO,CAAC,MAAM,CAAC;gBACb,GAAG,EAAE;oBACH,KAAK,EAAE,EAAE,MAAM,EAAE,CAAC,EAAE,IAAI,EAAE,CAAC,EAAE;oBAC7B,GAAG,EAAE,EAAE,MAAM,EAAE,CAAC,EAAE,IAAI,EAAE,CAAC,EAAE;iBAC5B;gBACD,SAAS,EAAE,mBAAmB;aAC/B,CAAC,CAAC;QACL,CAAC;QAED,2CAA2C;QAC3C,SAAS,kCAAkC,CACzC,IAAgE,EAChE,WAAmB,EACnB,MAAc;YAEd,MAAM,MAAM,GAAG,cAAc,CAAC,qBAAqB,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC;YAC9D,MAAM,IAAI,GAAG,OAAO,CAAC,iBAAiB,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC;YACpD,IAAI,CAAC,IAAA,oBAAa,EAAC,IAAI,EAAE,EAAE,CAAC,SAAS,CAAC,IAAI,GAAG,EAAE,CAAC,SAAS,CAAC,SAAS,CAAC,EAAE,CAAC;gBACrE,OAAO;YACT,CAAC;YAED,IAAI,sBAAsB,KAAK,IAAI,IAAI,iBAAiB,CAAC,IAAI,CAAC,EAAE,CAAC;gBAC/D,OAAO;YACT,CAAC;YAED,IACE,6BAA6B,KAAK,IAAI;gBACtC,wBAAwB,CAAC,IAAI,CAAC,EAC9B,CAAC;gBACD,OAAO;YACT,CAAC;YAED,qEAAqE;YACrE,6DAA6D;YAC7D,MAAM,cAAc,GAAG;gBACrB,CAAC,gBAAgB,KAAK,IAAI,IAAI,gBAAiB,CAAC,MAAM,CAAC;oBACrD,EAAE,CAAC,SAAS,CAAC,UAAU;gBACzB,CAAC,gBAAgB,KAAK,IAAI,IAAI,gBAAiB,CAAC,OAAO,CAAC;oBACtD,EAAE,CAAC,SAAS,CAAC,WAAW;gBAC1B,CAAC,gBAAgB,KAAK,IAAI,IAAI,gBAAiB,CAAC,MAAM,CAAC;oBACrD,EAAE,CAAC,SAAS,CAAC,UAAU;gBACzB,CAAC,gBAAgB,KAAK,IAAI,IAAI,gBAAiB,CAAC,MAAM,CAAC;oBACrD,EAAE,CAAC,SAAS,CAAC,UAAU;aAC1B;iBACE,MAAM,CAAC,CAAC,IAAI,EAAkB,EAAE,CAAC,OAAO,IAAI,KAAK,QAAQ,CAAC;iBAC1D,MAAM,CAAC,CAAC,QAAQ,EAAE,IAAI,EAAE,EAAE,CAAC,QAAQ,GAAG,IAAI,EAAE,CAAC,CAAC,CAAC;YAClD,IACE,IAAI,CAAC,KAAK,KAAK,EAAE,CAAC,SAAS,CAAC,IAAI;gBAChC,IAAI,CAAC,KAAK,KAAK,EAAE,CAAC,SAAS,CAAC,SAAS;gBACpC,IAAmC,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,CAClD,OAAO;qBACJ,qBAAqB,CAAC,CAAC,CAAC;qBACxB,IAAI,CAAC,CAAC,CAAC,EAAE,CAAC,OAAO,CAAC,aAAa,CAAC,CAAC,EAAE,cAAc,CAAC,CAAC,CACvD,EACD,CAAC;gBACD,OAAO;YACT,CAAC;YACD,4DAA4D;YAE5D,MAAM,cAAc,GAAG,IAAA,iBAAU,EAC/B,OAAO,CAAC,UAAU,CAAC,aAAa,CAC9B,IAAI,CAAC,IAAI,EACT,KAAK,CAAC,EAAE,CACN,KAAK,CAAC,IAAI,KAAK,uBAAe,CAAC,UAAU;gBACzC,KAAK,CAAC,KAAK,KAAK,IAAI,CAAC,QAAQ,CAChC,EACD,wBAAiB,CAAC,YAAY,CAAC,UAAU,EAAE,IAAI,CAAC,IAAI,CAAC,CACtD,CAAC;YAEF,QAAQ,CAAC,CAAC,GAAG,CACX,KAAyB;gBAEzB,IAAI,IAAA,0BAAmB,EAAC,IAAI,CAAC,MAAM,CAAC,EAAE,CAAC;oBACrC,kFAAkF;oBAClF,IACE,IAAI,CAAC,IAAI,CAAC,IAAI,KAAK,sBAAc,CAAC,iBAAiB;wBACnD,CAAC,IAAA,0BAAmB,EAAC,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,EACpC,CAAC;wBACD,MAAM,KAAK,CAAC,gBAAgB,CAAC,IAAI,CAAC,IAAI,CAAC,KAAK,EAAE,GAAG,CAAC,CAAC;oBACrD,CAAC;yBAAM,CAAC;wBACN,MAAM,KAAK,CAAC,gBAAgB,CAAC,IAAI,CAAC,IAAI,EAAE,GAAG,CAAC,CAAC;oBAC/C,CAAC;oBACD,MAAM,KAAK,CAAC,eAAe,CAAC,IAAI,CAAC,KAAK,EAAE,GAAG,CAAC,CAAC;gBAC/C,CAAC;gBACD,MAAM,KAAK,CAAC,WAAW,CACrB,cAAc,EACd,IAAI,CAAC,QAAQ,CAAC,OAAO,CAAC,IAAI,EAAE,IAAI,CAAC,CAClC,CAAC;YACJ,CAAC;YAED,OAAO,CAAC,MAAM,CAAC;gBACb,IAAI,EAAE,cAAc;gBACpB,SAAS,EAAE,qBAAqB;gBAChC,IAAI,EAAE,EAAE,WAAW,EAAE,MAAM,EAAE;gBAC7B,OAAO,EAAE;oBACP;wBACE,SAAS,EAAE,gBAAgB;wBAC3B,IAAI,EAAE,EAAE,MAAM,EAAE;wBAChB,GAAG;qBACJ;iBACF;aACF,CAAC,CAAC;QACL,CAAC;QAED,OAAO;YACL,wCAAwC,CACtC,IAAmC;gBAEnC,kCAAkC,CAAC,IAAI,EAAE,YAAY,EAAE,GAAG,CAAC,CAAC;YAC9D,CAAC;YACD,qBAAqB,CAAC,IAAoC;gBACxD,IAAI,kBAAkB,EAAE,CAAC;oBACvB,OAAO;gBACT,CAAC;gBAED,IAAI,QAAiD,CAAC;gBACtD,IAAI,yBAAyB,GAAoB,EAAE,CAAC;gBACpD,IAAI,IAAI,CAAC,IAAI,CAAC,IAAI,KAAK,sBAAc,CAAC,gBAAgB,EAAE,CAAC;oBACvD,yBAAyB,GAAG,CAAC,IAAI,CAAC,IAAI,CAAC,IAAI,EAAE,IAAI,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;oBAC9D,IACE,IAAI,CAAC,IAAI,CAAC,QAAQ,KAAK,IAAI;wBAC3B,IAAI,CAAC,IAAI,CAAC,QAAQ,KAAK,IAAI;wBAC3B,IAAI,CAAC,IAAI,CAAC,QAAQ,KAAK,KAAK;wBAC5B,IAAI,CAAC,IAAI,CAAC,QAAQ,KAAK,KAAK,EAC5B,CAAC;wBACD,QAAQ,GAAG,IAAI,CAAC,IAAI,CAAC,QAAQ,CAAC;oBAChC,CAAC;gBACH,CAAC;qBAAM,IACL,IAAI,CAAC,IAAI,CAAC,IAAI,KAAK,sBAAc,CAAC,iBAAiB;oBACnD,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,IAAI,KAAK,sBAAc,CAAC,gBAAgB;oBACvD,IAAI,CAAC,IAAI,CAAC,KAAK,CAAC,IAAI,KAAK,sBAAc,CAAC,gBAAgB,EACxD,CAAC;oBACD,yBAAyB,GAAG;wBAC1B,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,IAAI;wBACnB,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,KAAK;wBACpB,IAAI,CAAC,IAAI,CAAC,KAAK,CAAC,IAAI;wBACpB,IAAI,CAAC,IAAI,CAAC,KAAK,CAAC,KAAK;qBACtB,CAAC;oBACF,IAAI,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC,QAAQ,CAAC,IAAI,CAAC,IAAI,CAAC,QAAQ,CAAC,EAAE,CAAC;wBAC/C,IACE,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,QAAQ,KAAK,KAAK;4BACjC,IAAI,CAAC,IAAI,CAAC,KAAK,CAAC,QAAQ,KAAK,KAAK,EAClC,CAAC;4BACD,QAAQ,GAAG,KAAK,CAAC;wBACnB,CAAC;6BAAM,IACL,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,QAAQ,KAAK,KAAK;4BACjC,IAAI,CAAC,IAAI,CAAC,KAAK,CAAC,QAAQ,KAAK,KAAK,CAAC;4BACnC,CAAC,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,QAAQ,KAAK,IAAI;gCAC/B,IAAI,CAAC,IAAI,CAAC,KAAK,CAAC,QAAQ,KAAK,IAAI,CAAC,CAAC;4BACvC,CAAC,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,QAAQ,KAAK,IAAI;gCAC/B,IAAI,CAAC,IAAI,CAAC,KAAK,CAAC,QAAQ,KAAK,IAAI,CAAC,EACpC,CAAC;4BACD,QAAQ,GAAG,IAAI,CAAC;wBAClB,CAAC;oBACH,CAAC;yBAAM,IAAI,IAAI,CAAC,IAAI,CAAC,QAAQ,KAAK,IAAI,EAAE,CAAC;wBACvC,IACE,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,QAAQ,KAAK,KAAK;4BACjC,IAAI,CAAC,IAAI,CAAC,KAAK,CAAC,QAAQ,KAAK,KAAK,EAClC,CAAC;4BACD,QAAQ,GAAG,KAAK,CAAC;wBACnB,CAAC;6BAAM,IACL,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,QAAQ,KAAK,KAAK;4BACjC,IAAI,CAAC,IAAI,CAAC,KAAK,CAAC,QAAQ,KAAK,KAAK,CAAC;4BACnC,CAAC,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,QAAQ,KAAK,IAAI;gCAC/B,IAAI,CAAC,IAAI,CAAC,KAAK,CAAC,QAAQ,KAAK,IAAI,CAAC,CAAC;4BACvC,CAAC,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,QAAQ,KAAK,IAAI;gCAC/B,IAAI,CAAC,IAAI,CAAC,KAAK,CAAC,QAAQ,KAAK,IAAI,CAAC,EACpC,CAAC;4BACD,QAAQ,GAAG,IAAI,CAAC;wBAClB,CAAC;oBACH,CAAC;gBACH,CAAC;gBAED,IAAI,CAAC,QAAQ,EAAE,CAAC;oBACd,OAAO;gBACT,CAAC;gBAED,IAAI,UAAqC,CAAC;gBAC1C,IAAI,iBAAiB,GAAG,KAAK,CAAC;gBAC9B,IAAI,YAAY,GAAG,KAAK,CAAC;gBAEzB,0EAA0E;gBAC1E,KAAK,MAAM,QAAQ,IAAI,yBAAyB,EAAE,CAAC;oBACjD,IAAI,IAAA,oBAAa,EAAC,QAAQ,CAAC,EAAE,CAAC;wBAC5B,YAAY,GAAG,IAAI,CAAC;oBACtB,CAAC;yBAAM,IAAI,IAAA,4BAAqB,EAAC,QAAQ,CAAC,EAAE,CAAC;wBAC3C,iBAAiB,GAAG,IAAI,CAAC;oBAC3B,CAAC;yBAAM,IACL,CAAC,QAAQ,KAAK,KAAK,IAAI,QAAQ,KAAK,IAAI,CAAC;wBACzC,IAAA,kBAAW,EAAC,QAAQ,EAAE,IAAI,CAAC,UAAU,CAAC,EACtC,CAAC;wBACD,UAAU,GAAG,QAAQ,CAAC;oBACxB,CAAC;yBAAM,IACL,CAAC,QAAQ,KAAK,KAAK,IAAI,QAAQ,KAAK,IAAI,CAAC;wBACzC,IAAA,kBAAW,EAAC,QAAQ,EAAE,IAAI,CAAC,SAAS,CAAC,EACrC,CAAC;wBACD,UAAU,GAAG,QAAQ,CAAC;oBACxB,CAAC;yBAAM,CAAC;wBACN,OAAO;oBACT,CAAC;gBACH,CAAC;gBAED,IAAI,CAAC,UAAU,EAAE,CAAC;oBAChB,OAAO;gBACT,CAAC;gBAED,MAAM,SAAS,GAAG,CAAC,GAAY,EAAE;oBAC/B,2EAA2E;oBAC3E,IAAI,iBAAiB,KAAK,YAAY,EAAE,CAAC;wBACvC,OAAO,iBAAiB,CAAC;oBAC3B,CAAC;oBAED,iEAAiE;oBACjE,IAAI,QAAQ,KAAK,IAAI,IAAI,QAAQ,KAAK,IAAI,EAAE,CAAC;wBAC3C,OAAO,IAAI,CAAC;oBACd,CAAC;oBAED,MAAM,MAAM,GAAG,cAAc,CAAC,qBAAqB,CAAC,GAAG,CAAC,UAAU,CAAC,CAAC;oBACpE,MAAM,IAAI,GAAG,OAAO,CAAC,iBAAiB,CAAC,MAAM,CAAC,CAAC;oBAC/C,MAAM,KAAK,GAAG,IAAA,mBAAY,EAAC,IAAI,CAAC,CAAC;oBAEjC,IAAI,KAAK,GAAG,CAAC,EAAE,CAAC,SAAS,CAAC,GAAG,GAAG,EAAE,CAAC,SAAS,CAAC,OAAO,CAAC,EAAE,CAAC;wBACtD,OAAO,KAAK,CAAC;oBACf,CAAC;oBAED,MAAM,WAAW,GAAG,CAAC,KAAK,GAAG,EAAE,CAAC,SAAS,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;oBAEtD,uEAAuE;oBACvE,IAAI,iBAAiB,IAAI,CAAC,WAAW,EAAE,CAAC;wBACtC,OAAO,IAAI,CAAC;oBACd,CAAC;oBAED,MAAM,gBAAgB,GAAG,CAAC,KAAK,GAAG,EAAE,CAAC,SAAS,CAAC,SAAS,CAAC,KAAK,CAAC,CAAC;oBAEhE,qEAAqE;oBACrE,OAAO,YAAY,IAAI,CAAC,gBAAgB,CAAC;gBAC3C,CAAC,CAAC,EAAE,CAAC;gBAEL,IAAI,SAAS,EAAE,CAAC;oBACd,OAAO,CAAC,MAAM,CAAC;wBACb,IAAI;wBACJ,SAAS,EAAE,0BAA0B;wBACrC,iDAAiD;wBACjD,IAAI,EAAE,EAAE,MAAM,EAAE,EAAE,EAAE;wBACpB,OAAO,EAAE;4BACP;gCACE,SAAS,EAAE,gBAAgB;gCAC3B,IAAI,EAAE,EAAE,MAAM,EAAE,EAAE,EAAE;gCACpB,GAAG,CAAC,KAAyB;oCAC3B,MAAM,CAAC,IAAI,EAAE,KAAK,CAAC,GACjB,QAAQ,KAAK,KAAK,IAAI,QAAQ,KAAK,IAAI;wCACrC,CAAC,CAAC,CAAC,IAAI,CAAC,SAAS,EAAE,IAAI,CAAC,UAAU,CAAC;wCACnC,CAAC,CAAC,CAAC,IAAI,CAAC,UAAU,EAAE,IAAI,CAAC,SAAS,CAAC,CAAC;oCACxC,OAAO,KAAK,CAAC,WAAW,CACtB,IAAI,EACJ,GAAG,IAAA,6BAAsB,EAAC,OAAO,CAAC,UAAU,EAAE,IAAI,CAAC,OAAO,IAAA,6BAAsB,EAC9E,OAAO,CAAC,UAAU,EAClB,KAAK,CACN,EAAE,CACJ,CAAC;gCACJ,CAAC;6BACF;yBACF;qBACF,CAAC,CAAC;gBACL,CAAC;YACH,CAAC;YACD,oCAAoC,CAClC,IAAgC;gBAEhC,IACE,qBAAqB,KAAK,IAAI;oBAC9B,2BAA2B,CAAC,IAAI,EAAE,OAAO,CAAC,EAC1C,CAAC;oBACD,OAAO;gBACT,CAAC;gBAED,kCAAkC,CAAC,IAAI,EAAE,IAAI,EAAE,EAAE,CAAC,CAAC;YACrD,CAAC;SACF,CAAC;IACJ,CAAC;CACF,CAAC,CAAC;AAEH,SAAS,iBAAiB,CAAC,IAAmB;IAC5C,MAAM,MAAM,GAAG,IAAI,CAAC,MAAM,CAAC;IAC3B,IAAI,MAAM,IAAI,IAAI,EAAE,CAAC;QACnB,OAAO,KAAK,CAAC;IACf,CAAC;IAED,IAAI,MAAM,CAAC,IAAI,KAAK,sBAAc,CAAC,iBAAiB,EAAE,CAAC;QACrD,OAAO,iBAAiB,CAAC,MAAM,CAAC,CAAC;IACnC,CAAC;IAED,IACE,MAAM,CAAC,IAAI,KAAK,sBAAc,CAAC,qBAAqB;QACpD,CAAC,MAAM,CAAC,UAAU,KAAK,IAAI,IAAI,MAAM,CAAC,SAAS,KAAK,IAAI,CAAC,EACzD,CAAC;QACD,OAAO,iBAAiB,CAAC,MAAM,CAAC,CAAC;IACnC,CAAC;IAED,IACE,MAAM,CAAC,IAAI,KAAK,sBAAc,CAAC,kBAAkB;QACjD,MAAM,CAAC,WAAW,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC,KAAK,IAAI,EAClC,CAAC;QACD,OAAO,iBAAiB,CAAC,MAAM,CAAC,CAAC;IACnC,CAAC;IAED,IACE,MAAM,CAAC,IAAI,KAAK,sBAAc,CAAC,eAAe;QAC9C,MAAM,CAAC,QAAQ,KAAK,GAAG,EACvB,CAAC;QACD,OAAO,iBAAiB,CAAC,MAAM,CAAC,CAAC;IACnC,CAAC;IAED,IACE,CAAC,MAAM,CAAC,IAAI,KAAK,sBAAc,CAAC,qBAAqB;QACnD,MAAM,CAAC,IAAI,KAAK,sBAAc,CAAC,gBAAgB;QAC/C,MAAM,CAAC,IAAI,KAAK,sBAAc,CAAC,WAAW;QAC1C,MAAM,CAAC,IAAI,KAAK,sBAAc,CAAC,YAAY;QAC3C,MAAM,CAAC,IAAI,KAAK,sBAAc,CAAC,cAAc,CAAC;QAChD,MAAM,CAAC,IAAI,KAAK,IAAI,EACpB,CAAC;QACD,OAAO,IAAI,CAAC;IACd,CAAC;IAED,OAAO,KAAK,CAAC;AACf,CAAC;AAED,SAAS,2BAA2B,CAClC,IAAmB,EACnB,OAA4D;IAE5D,MAAM,MAAM,GAAG,IAAI,CAAC,MAAM,CAAC;IAC3B,IAAI,MAAM,IAAI,IAAI,EAAE,CAAC;QACnB,OAAO,KAAK,CAAC;IACf,CAAC;IAED,IAAI,MAAM,CAAC,IAAI,KAAK,sBAAc,CAAC,iBAAiB,EAAE,CAAC;QACrD,OAAO,2BAA2B,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACtD,CAAC;IAED,IACE,MAAM,CAAC,IAAI,KAAK,sBAAc,CAAC,qBAAqB;QACpD,CAAC,MAAM,CAAC,UAAU,KAAK,IAAI,IAAI,MAAM,CAAC,SAAS,KAAK,IAAI,CAAC,EACzD,CAAC;QACD,OAAO,2BAA2B,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACtD,CAAC;IAED,IACE,MAAM,CAAC,IAAI,KAAK,sBAAc,CAAC,kBAAkB;QACjD,MAAM,CAAC,WAAW,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC,KAAK,IAAI,EAClC,CAAC;QACD,OAAO,2BAA2B,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACtD,CAAC;IAED,OAAO,oBAAoB,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;AAC/C,CAAC;AAED,SAAS,oBAAoB,CAC3B,IAAmB,EACnB,OAA4D;IAE5D,IACE,IAAI,CAAC,IAAI,KAAK,sBAAc,CAAC,cAAc;QAC3C,IAAI,CAAC,MAAM,CAAC,IAAI,KAAK,sBAAc,CAAC,UAAU;QAC9C,6EAA6E;QAC7E,IAAI,CAAC,MAAM,CAAC,IAAI,KAAK,SAAS;QAC9B,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC,EACjB,CAAC;QACD,MAAM,KAAK,GAAG,OAAO,CAAC,UAAU,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC;QAChD,MAAM,QAAQ,GAAG,KAAK,CAAC,GAAG,CAAC,GAAG,CAAC,uBAAe,CAAC,OAAO,CAAC,CAAC;QACxD,OAAO,QAAQ,IAAI,IAAI,IAAI,QAAQ,CAAC,IAAI,CAAC,MAAM,KAAK,CAAC,CAAC;IACxD,CAAC;IACD,OAAO,KAAK,CAAC;AACf,CAAC;AAED,SAAS,wBAAwB,CAC/B,IAAgE;IAEhE,MAAM,IAAI,GAAG,IAAI,GAAG,EAA6B,CAAC;IAClD,MAAM,KAAK,GAAG,CAAC,IAAI,CAAC,MAAM,EAAE,IAAI,CAAC,IAAI,EAAE,IAAI,CAAC,KAAK,CAAC,CAAC;IACnD,KAAK,MAAM,OAAO,IAAI,KAAK,EAAE,CAAC;QAC5B,IAAI,IAAI,CAAC,GAAG,CAAC,OAAO,CAAC,EAAE,CAAC;YACtB,SAAS;QACX,CAAC;QACD,IAAI,CAAC,GAAG,CAAC,OAAO,CAAC,CAAC;QAElB,IAAI,OAAO,CAAC,IAAI,KAAK,sBAAc,CAAC,iBAAiB,EAAE,CAAC;YACtD,IAAI,OAAO,CAAC,QAAQ,KAAK,IAAI,EAAE,CAAC;gBAC9B,OAAO,IAAI,CAAC;YACd,CAAC;iBAAM,IAAI,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC,QAAQ,CAAC,OAAO,CAAC,QAAQ,CAAC,EAAE,CAAC;gBACpD,sEAAsE;gBACtE,KAAK,CAAC,IAAI,CAAC,OAAO,CAAC,MAAM,EAAE,OAAO,CAAC,IAAI,EAAE,OAAO,CAAC,KAAK,CAAC,CAAC;YAC1D,CAAC;QACH,CAAC;IACH,CAAC;IAED,OAAO,KAAK,CAAC;AACf,CAAC"} \ No newline at end of file +{"version":3,"file":"prefer-nullish-coalescing.js","sourceRoot":"","sources":["../../src/rules/prefer-nullish-coalescing.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEA,oDAA2E;AAC3E,sDAAwC;AACxC,+CAAiC;AAEjC,kCAYiB;AA0BjB,kBAAe,IAAA,iBAAU,EAAsB;IAC7C,IAAI,EAAE,2BAA2B;IACjC,IAAI,EAAE;QACJ,IAAI,EAAE,YAAY;QAClB,IAAI,EAAE;YACJ,WAAW,EACT,0FAA0F;YAC5F,WAAW,EAAE,WAAW;YACxB,oBAAoB,EAAE,IAAI;SAC3B;QACD,cAAc,EAAE,IAAI;QACpB,QAAQ,EAAE;YACR,iBAAiB,EACf,kGAAkG;YACpG,mBAAmB,EACjB,mJAAmJ;YACrJ,wBAAwB,EACtB,wHAAwH;YAC1H,cAAc,EAAE,wDAAwD;SACzE;QACD,MAAM,EAAE;YACN;gBACE,IAAI,EAAE,QAAQ;gBACd,oBAAoB,EAAE,KAAK;gBAC3B,UAAU,EAAE;oBACV,sDAAsD,EAAE;wBACtD,IAAI,EAAE,SAAS;wBACf,WAAW,EACT,2KAA2K;qBAC9K;oBACD,qBAAqB,EAAE;wBACrB,IAAI,EAAE,SAAS;wBACf,WAAW,EACT,0DAA0D;qBAC7D;oBACD,sBAAsB,EAAE;wBACtB,IAAI,EAAE,SAAS;wBACf,WAAW,EACT,qEAAqE;qBACxE;oBACD,6BAA6B,EAAE;wBAC7B,IAAI,EAAE,SAAS;wBACf,WAAW,EACT,uGAAuG;qBAC1G;oBACD,gBAAgB,EAAE;wBAChB,WAAW,EACT,qFAAqF;wBACvF,KAAK,EAAE;4BACL;gCACE,IAAI,EAAE,QAAQ;gCACd,WAAW,EAAE,wCAAwC;gCACrD,UAAU,EAAE;oCACV,MAAM,EAAE;wCACN,IAAI,EAAE,SAAS;wCACf,WAAW,EAAE,gCAAgC;qCAC9C;oCACD,OAAO,EAAE;wCACP,IAAI,EAAE,SAAS;wCACf,WAAW,EAAE,iCAAiC;qCAC/C;oCACD,MAAM,EAAE;wCACN,IAAI,EAAE,SAAS;wCACf,WAAW,EAAE,gCAAgC;qCAC9C;oCACD,MAAM,EAAE;wCACN,IAAI,EAAE,SAAS;wCACf,WAAW,EAAE,gCAAgC;qCAC9C;iCACF;6BACF;4BACD;gCACE,IAAI,EAAE,SAAS;gCACf,WAAW,EAAE,6BAA6B;gCAC1C,IAAI,EAAE,CAAC,IAAI,CAAC;6BACb;yBACF;qBACF;oBACD,kBAAkB,EAAE;wBAClB,IAAI,EAAE,SAAS;wBACf,WAAW,EACT,8GAA8G;qBACjH;iBACF;aACF;SACF;KACF;IACD,cAAc,EAAE;QACd;YACE,sDAAsD,EAAE,KAAK;YAC7D,qBAAqB,EAAE,KAAK;YAC5B,sBAAsB,EAAE,IAAI;YAC5B,6BAA6B,EAAE,KAAK;YACpC,gBAAgB,EAAE;gBAChB,MAAM,EAAE,KAAK;gBACb,OAAO,EAAE,KAAK;gBACd,MAAM,EAAE,KAAK;gBACb,MAAM,EAAE,KAAK;aACd;YACD,kBAAkB,EAAE,KAAK;SAC1B;KACF;IACD,MAAM,CACJ,OAAO,EACP,CACE,EACE,sDAAsD,EACtD,qBAAqB,EACrB,sBAAsB,EACtB,6BAA6B,EAC7B,gBAAgB,EAChB,kBAAkB,GACnB,EACF;QAED,MAAM,cAAc,GAAG,IAAA,wBAAiB,EAAC,OAAO,CAAC,CAAC;QAClD,MAAM,eAAe,GAAG,cAAc,CAAC,OAAO,CAAC,kBAAkB,EAAE,CAAC;QAEpE,MAAM,OAAO,GAAG,cAAc,CAAC,OAAO,CAAC,cAAc,EAAE,CAAC;QACxD,MAAM,kBAAkB,GAAG,OAAO,CAAC,6BAA6B,CAC9D,eAAe,EACf,kBAAkB,CACnB,CAAC;QAEF,IACE,CAAC,kBAAkB;YACnB,sDAAsD,KAAK,IAAI,EAC/D,CAAC;YACD,OAAO,CAAC,MAAM,CAAC;gBACb,GAAG,EAAE;oBACH,KAAK,EAAE,EAAE,MAAM,EAAE,CAAC,EAAE,IAAI,EAAE,CAAC,EAAE;oBAC7B,GAAG,EAAE,EAAE,MAAM,EAAE,CAAC,EAAE,IAAI,EAAE,CAAC,EAAE;iBAC5B;gBACD,SAAS,EAAE,mBAAmB;aAC/B,CAAC,CAAC;QACL,CAAC;QAED,2CAA2C;QAC3C,SAAS,kCAAkC,CACzC,IAAgE,EAChE,WAAmB,EACnB,MAAc;YAEd,MAAM,MAAM,GAAG,cAAc,CAAC,qBAAqB,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC;YAC9D,MAAM,IAAI,GAAG,OAAO,CAAC,iBAAiB,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC;YACpD,IAAI,CAAC,IAAA,oBAAa,EAAC,IAAI,EAAE,EAAE,CAAC,SAAS,CAAC,IAAI,GAAG,EAAE,CAAC,SAAS,CAAC,SAAS,CAAC,EAAE,CAAC;gBACrE,OAAO;YACT,CAAC;YAED,IAAI,sBAAsB,KAAK,IAAI,IAAI,iBAAiB,CAAC,IAAI,CAAC,EAAE,CAAC;gBAC/D,OAAO;YACT,CAAC;YAED,IACE,6BAA6B,KAAK,IAAI;gBACtC,wBAAwB,CAAC,IAAI,CAAC,EAC9B,CAAC;gBACD,OAAO;YACT,CAAC;YAED,qEAAqE;YACrE,6DAA6D;YAC7D,MAAM,cAAc,GAAG;gBACrB,CAAC,gBAAgB,KAAK,IAAI,IAAI,gBAAiB,CAAC,MAAM,CAAC;oBACrD,EAAE,CAAC,SAAS,CAAC,UAAU;gBACzB,CAAC,gBAAgB,KAAK,IAAI,IAAI,gBAAiB,CAAC,OAAO,CAAC;oBACtD,EAAE,CAAC,SAAS,CAAC,WAAW;gBAC1B,CAAC,gBAAgB,KAAK,IAAI,IAAI,gBAAiB,CAAC,MAAM,CAAC;oBACrD,EAAE,CAAC,SAAS,CAAC,UAAU;gBACzB,CAAC,gBAAgB,KAAK,IAAI,IAAI,gBAAiB,CAAC,MAAM,CAAC;oBACrD,EAAE,CAAC,SAAS,CAAC,UAAU;aAC1B;iBACE,MAAM,CAAC,CAAC,IAAI,EAAkB,EAAE,CAAC,OAAO,IAAI,KAAK,QAAQ,CAAC;iBAC1D,MAAM,CAAC,CAAC,QAAQ,EAAE,IAAI,EAAE,EAAE,CAAC,QAAQ,GAAG,IAAI,EAAE,CAAC,CAAC,CAAC;YAClD,IACE,IAAI,CAAC,KAAK,KAAK,EAAE,CAAC,SAAS,CAAC,IAAI;gBAChC,IAAI,CAAC,KAAK,KAAK,EAAE,CAAC,SAAS,CAAC,SAAS;gBACpC,IAAmC,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,CAClD,OAAO;qBACJ,qBAAqB,CAAC,CAAC,CAAC;qBACxB,IAAI,CAAC,CAAC,CAAC,EAAE,CAAC,OAAO,CAAC,aAAa,CAAC,CAAC,EAAE,cAAc,CAAC,CAAC,CACvD,EACD,CAAC;gBACD,OAAO;YACT,CAAC;YACD,4DAA4D;YAE5D,MAAM,cAAc,GAAG,IAAA,iBAAU,EAC/B,OAAO,CAAC,UAAU,CAAC,aAAa,CAC9B,IAAI,CAAC,IAAI,EACT,KAAK,CAAC,EAAE,CACN,KAAK,CAAC,IAAI,KAAK,uBAAe,CAAC,UAAU;gBACzC,KAAK,CAAC,KAAK,KAAK,IAAI,CAAC,QAAQ,CAChC,EACD,wBAAiB,CAAC,YAAY,CAAC,UAAU,EAAE,IAAI,CAAC,IAAI,CAAC,CACtD,CAAC;YAEF,QAAQ,CAAC,CAAC,GAAG,CACX,KAAyB;gBAEzB,IAAI,IAAA,0BAAmB,EAAC,IAAI,CAAC,MAAM,CAAC,EAAE,CAAC;oBACrC,kFAAkF;oBAClF,IACE,IAAI,CAAC,IAAI,CAAC,IAAI,KAAK,sBAAc,CAAC,iBAAiB;wBACnD,CAAC,IAAA,0BAAmB,EAAC,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,EACpC,CAAC;wBACD,MAAM,KAAK,CAAC,gBAAgB,CAAC,IAAI,CAAC,IAAI,CAAC,KAAK,EAAE,GAAG,CAAC,CAAC;oBACrD,CAAC;yBAAM,CAAC;wBACN,MAAM,KAAK,CAAC,gBAAgB,CAAC,IAAI,CAAC,IAAI,EAAE,GAAG,CAAC,CAAC;oBAC/C,CAAC;oBACD,MAAM,KAAK,CAAC,eAAe,CAAC,IAAI,CAAC,KAAK,EAAE,GAAG,CAAC,CAAC;gBAC/C,CAAC;gBACD,MAAM,KAAK,CAAC,WAAW,CACrB,cAAc,EACd,IAAI,CAAC,QAAQ,CAAC,OAAO,CAAC,IAAI,EAAE,IAAI,CAAC,CAClC,CAAC;YACJ,CAAC;YAED,OAAO,CAAC,MAAM,CAAC;gBACb,IAAI,EAAE,cAAc;gBACpB,SAAS,EAAE,qBAAqB;gBAChC,IAAI,EAAE,EAAE,WAAW,EAAE,MAAM,EAAE;gBAC7B,OAAO,EAAE;oBACP;wBACE,SAAS,EAAE,gBAAgB;wBAC3B,IAAI,EAAE,EAAE,MAAM,EAAE;wBAChB,GAAG;qBACJ;iBACF;aACF,CAAC,CAAC;QACL,CAAC;QAED,OAAO;YACL,wCAAwC,CACtC,IAAmC;gBAEnC,kCAAkC,CAAC,IAAI,EAAE,YAAY,EAAE,GAAG,CAAC,CAAC;YAC9D,CAAC;YACD,qBAAqB,CAAC,IAAoC;gBACxD,IAAI,kBAAkB,EAAE,CAAC;oBACvB,OAAO;gBACT,CAAC;gBAED,IAAI,QAAiD,CAAC;gBACtD,IAAI,yBAAyB,GAAoB,EAAE,CAAC;gBACpD,IAAI,IAAI,CAAC,IAAI,CAAC,IAAI,KAAK,sBAAc,CAAC,gBAAgB,EAAE,CAAC;oBACvD,yBAAyB,GAAG,CAAC,IAAI,CAAC,IAAI,CAAC,IAAI,EAAE,IAAI,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;oBAC9D,IACE,IAAI,CAAC,IAAI,CAAC,QAAQ,KAAK,IAAI;wBAC3B,IAAI,CAAC,IAAI,CAAC,QAAQ,KAAK,IAAI;wBAC3B,IAAI,CAAC,IAAI,CAAC,QAAQ,KAAK,KAAK;wBAC5B,IAAI,CAAC,IAAI,CAAC,QAAQ,KAAK,KAAK,EAC5B,CAAC;wBACD,QAAQ,GAAG,IAAI,CAAC,IAAI,CAAC,QAAQ,CAAC;oBAChC,CAAC;gBACH,CAAC;qBAAM,IACL,IAAI,CAAC,IAAI,CAAC,IAAI,KAAK,sBAAc,CAAC,iBAAiB;oBACnD,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,IAAI,KAAK,sBAAc,CAAC,gBAAgB;oBACvD,IAAI,CAAC,IAAI,CAAC,KAAK,CAAC,IAAI,KAAK,sBAAc,CAAC,gBAAgB,EACxD,CAAC;oBACD,yBAAyB,GAAG;wBAC1B,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,IAAI;wBACnB,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,KAAK;wBACpB,IAAI,CAAC,IAAI,CAAC,KAAK,CAAC,IAAI;wBACpB,IAAI,CAAC,IAAI,CAAC,KAAK,CAAC,KAAK;qBACtB,CAAC;oBACF,IAAI,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC,QAAQ,CAAC,IAAI,CAAC,IAAI,CAAC,QAAQ,CAAC,EAAE,CAAC;wBAC/C,IACE,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,QAAQ,KAAK,KAAK;4BACjC,IAAI,CAAC,IAAI,CAAC,KAAK,CAAC,QAAQ,KAAK,KAAK,EAClC,CAAC;4BACD,QAAQ,GAAG,KAAK,CAAC;wBACnB,CAAC;6BAAM,IACL,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,QAAQ,KAAK,KAAK;4BACjC,IAAI,CAAC,IAAI,CAAC,KAAK,CAAC,QAAQ,KAAK,KAAK,CAAC;4BACnC,CAAC,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,QAAQ,KAAK,IAAI;gCAC/B,IAAI,CAAC,IAAI,CAAC,KAAK,CAAC,QAAQ,KAAK,IAAI,CAAC,CAAC;4BACvC,CAAC,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,QAAQ,KAAK,IAAI;gCAC/B,IAAI,CAAC,IAAI,CAAC,KAAK,CAAC,QAAQ,KAAK,IAAI,CAAC,EACpC,CAAC;4BACD,QAAQ,GAAG,IAAI,CAAC;wBAClB,CAAC;oBACH,CAAC;yBAAM,IAAI,IAAI,CAAC,IAAI,CAAC,QAAQ,KAAK,IAAI,EAAE,CAAC;wBACvC,IACE,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,QAAQ,KAAK,KAAK;4BACjC,IAAI,CAAC,IAAI,CAAC,KAAK,CAAC,QAAQ,KAAK,KAAK,EAClC,CAAC;4BACD,QAAQ,GAAG,KAAK,CAAC;wBACnB,CAAC;6BAAM,IACL,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,QAAQ,KAAK,KAAK;4BACjC,IAAI,CAAC,IAAI,CAAC,KAAK,CAAC,QAAQ,KAAK,KAAK,CAAC;4BACnC,CAAC,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,QAAQ,KAAK,IAAI;gCAC/B,IAAI,CAAC,IAAI,CAAC,KAAK,CAAC,QAAQ,KAAK,IAAI,CAAC,CAAC;4BACvC,CAAC,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,QAAQ,KAAK,IAAI;gCAC/B,IAAI,CAAC,IAAI,CAAC,KAAK,CAAC,QAAQ,KAAK,IAAI,CAAC,EACpC,CAAC;4BACD,QAAQ,GAAG,IAAI,CAAC;wBAClB,CAAC;oBACH,CAAC;gBACH,CAAC;gBAED,IAAI,CAAC,QAAQ,EAAE,CAAC;oBACd,OAAO;gBACT,CAAC;gBAED,IAAI,UAAqC,CAAC;gBAC1C,IAAI,iBAAiB,GAAG,KAAK,CAAC;gBAC9B,IAAI,YAAY,GAAG,KAAK,CAAC;gBAEzB,0EAA0E;gBAC1E,KAAK,MAAM,QAAQ,IAAI,yBAAyB,EAAE,CAAC;oBACjD,IAAI,IAAA,oBAAa,EAAC,QAAQ,CAAC,EAAE,CAAC;wBAC5B,YAAY,GAAG,IAAI,CAAC;oBACtB,CAAC;yBAAM,IAAI,IAAA,4BAAqB,EAAC,QAAQ,CAAC,EAAE,CAAC;wBAC3C,iBAAiB,GAAG,IAAI,CAAC;oBAC3B,CAAC;yBAAM,IACL,CAAC,QAAQ,KAAK,KAAK,IAAI,QAAQ,KAAK,IAAI,CAAC;wBACzC,IAAA,kBAAW,EAAC,QAAQ,EAAE,IAAI,CAAC,UAAU,CAAC,EACtC,CAAC;wBACD,UAAU,GAAG,QAAQ,CAAC;oBACxB,CAAC;yBAAM,IACL,CAAC,QAAQ,KAAK,KAAK,IAAI,QAAQ,KAAK,IAAI,CAAC;wBACzC,IAAA,kBAAW,EAAC,QAAQ,EAAE,IAAI,CAAC,SAAS,CAAC,EACrC,CAAC;wBACD,UAAU,GAAG,QAAQ,CAAC;oBACxB,CAAC;yBAAM,CAAC;wBACN,OAAO;oBACT,CAAC;gBACH,CAAC;gBAED,IAAI,CAAC,UAAU,EAAE,CAAC;oBAChB,OAAO;gBACT,CAAC;gBAED,MAAM,SAAS,GAAG,CAAC,GAAY,EAAE;oBAC/B,2EAA2E;oBAC3E,IAAI,iBAAiB,KAAK,YAAY,EAAE,CAAC;wBACvC,OAAO,iBAAiB,CAAC;oBAC3B,CAAC;oBAED,iEAAiE;oBACjE,IAAI,QAAQ,KAAK,IAAI,IAAI,QAAQ,KAAK,IAAI,EAAE,CAAC;wBAC3C,OAAO,IAAI,CAAC;oBACd,CAAC;oBAED,MAAM,MAAM,GAAG,cAAc,CAAC,qBAAqB,CAAC,GAAG,CAAC,UAAU,CAAC,CAAC;oBACpE,MAAM,IAAI,GAAG,OAAO,CAAC,iBAAiB,CAAC,MAAM,CAAC,CAAC;oBAC/C,MAAM,KAAK,GAAG,IAAA,mBAAY,EAAC,IAAI,CAAC,CAAC;oBAEjC,IAAI,KAAK,GAAG,CAAC,EAAE,CAAC,SAAS,CAAC,GAAG,GAAG,EAAE,CAAC,SAAS,CAAC,OAAO,CAAC,EAAE,CAAC;wBACtD,OAAO,KAAK,CAAC;oBACf,CAAC;oBAED,MAAM,WAAW,GAAG,CAAC,KAAK,GAAG,EAAE,CAAC,SAAS,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;oBAEtD,uEAAuE;oBACvE,IAAI,iBAAiB,IAAI,CAAC,WAAW,EAAE,CAAC;wBACtC,OAAO,IAAI,CAAC;oBACd,CAAC;oBAED,MAAM,gBAAgB,GAAG,CAAC,KAAK,GAAG,EAAE,CAAC,SAAS,CAAC,SAAS,CAAC,KAAK,CAAC,CAAC;oBAEhE,qEAAqE;oBACrE,OAAO,YAAY,IAAI,CAAC,gBAAgB,CAAC;gBAC3C,CAAC,CAAC,EAAE,CAAC;gBAEL,IAAI,SAAS,EAAE,CAAC;oBACd,OAAO,CAAC,MAAM,CAAC;wBACb,IAAI;wBACJ,SAAS,EAAE,0BAA0B;wBACrC,iDAAiD;wBACjD,IAAI,EAAE,EAAE,MAAM,EAAE,EAAE,EAAE;wBACpB,OAAO,EAAE;4BACP;gCACE,SAAS,EAAE,gBAAgB;gCAC3B,IAAI,EAAE,EAAE,MAAM,EAAE,EAAE,EAAE;gCACpB,GAAG,CAAC,KAAyB;oCAC3B,MAAM,CAAC,IAAI,EAAE,KAAK,CAAC,GACjB,QAAQ,KAAK,KAAK,IAAI,QAAQ,KAAK,IAAI;wCACrC,CAAC,CAAC,CAAC,IAAI,CAAC,SAAS,EAAE,IAAI,CAAC,UAAU,CAAC;wCACnC,CAAC,CAAC,CAAC,IAAI,CAAC,UAAU,EAAE,IAAI,CAAC,SAAS,CAAC,CAAC;oCACxC,OAAO,KAAK,CAAC,WAAW,CACtB,IAAI,EACJ,GAAG,IAAA,6BAAsB,EAAC,OAAO,CAAC,UAAU,EAAE,IAAI,CAAC,OAAO,IAAA,6BAAsB,EAC9E,OAAO,CAAC,UAAU,EAClB,KAAK,CACN,EAAE,CACJ,CAAC;gCACJ,CAAC;6BACF;yBACF;qBACF,CAAC,CAAC;gBACL,CAAC;YACH,CAAC;YACD,oCAAoC,CAClC,IAAgC;gBAEhC,IACE,qBAAqB,KAAK,IAAI;oBAC9B,2BAA2B,CAAC,IAAI,EAAE,OAAO,CAAC,EAC1C,CAAC;oBACD,OAAO;gBACT,CAAC;gBAED,kCAAkC,CAAC,IAAI,EAAE,IAAI,EAAE,EAAE,CAAC,CAAC;YACrD,CAAC;SACF,CAAC;IACJ,CAAC;CACF,CAAC,CAAC;AAEH,SAAS,iBAAiB,CAAC,IAAmB;IAC5C,MAAM,MAAM,GAAG,IAAI,CAAC,MAAM,CAAC;IAC3B,IAAI,MAAM,IAAI,IAAI,EAAE,CAAC;QACnB,OAAO,KAAK,CAAC;IACf,CAAC;IAED,IAAI,MAAM,CAAC,IAAI,KAAK,sBAAc,CAAC,iBAAiB,EAAE,CAAC;QACrD,OAAO,iBAAiB,CAAC,MAAM,CAAC,CAAC;IACnC,CAAC;IAED,IACE,MAAM,CAAC,IAAI,KAAK,sBAAc,CAAC,qBAAqB;QACpD,CAAC,MAAM,CAAC,UAAU,KAAK,IAAI,IAAI,MAAM,CAAC,SAAS,KAAK,IAAI,CAAC,EACzD,CAAC;QACD,OAAO,iBAAiB,CAAC,MAAM,CAAC,CAAC;IACnC,CAAC;IAED,IACE,MAAM,CAAC,IAAI,KAAK,sBAAc,CAAC,kBAAkB;QACjD,MAAM,CAAC,WAAW,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC,KAAK,IAAI,EAClC,CAAC;QACD,OAAO,iBAAiB,CAAC,MAAM,CAAC,CAAC;IACnC,CAAC;IAED,IACE,MAAM,CAAC,IAAI,KAAK,sBAAc,CAAC,eAAe;QAC9C,MAAM,CAAC,QAAQ,KAAK,GAAG,EACvB,CAAC;QACD,OAAO,iBAAiB,CAAC,MAAM,CAAC,CAAC;IACnC,CAAC;IAED,IACE,CAAC,MAAM,CAAC,IAAI,KAAK,sBAAc,CAAC,qBAAqB;QACnD,MAAM,CAAC,IAAI,KAAK,sBAAc,CAAC,gBAAgB;QAC/C,MAAM,CAAC,IAAI,KAAK,sBAAc,CAAC,WAAW;QAC1C,MAAM,CAAC,IAAI,KAAK,sBAAc,CAAC,YAAY;QAC3C,MAAM,CAAC,IAAI,KAAK,sBAAc,CAAC,cAAc,CAAC;QAChD,MAAM,CAAC,IAAI,KAAK,IAAI,EACpB,CAAC;QACD,OAAO,IAAI,CAAC;IACd,CAAC;IAED,OAAO,KAAK,CAAC;AACf,CAAC;AAED,SAAS,2BAA2B,CAClC,IAAmB,EACnB,OAA4D;IAE5D,MAAM,MAAM,GAAG,IAAI,CAAC,MAAM,CAAC;IAC3B,IAAI,MAAM,IAAI,IAAI,EAAE,CAAC;QACnB,OAAO,KAAK,CAAC;IACf,CAAC;IAED,IAAI,MAAM,CAAC,IAAI,KAAK,sBAAc,CAAC,iBAAiB,EAAE,CAAC;QACrD,OAAO,2BAA2B,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACtD,CAAC;IAED,IACE,MAAM,CAAC,IAAI,KAAK,sBAAc,CAAC,qBAAqB;QACpD,CAAC,MAAM,CAAC,UAAU,KAAK,IAAI,IAAI,MAAM,CAAC,SAAS,KAAK,IAAI,CAAC,EACzD,CAAC;QACD,OAAO,2BAA2B,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACtD,CAAC;IAED,IACE,MAAM,CAAC,IAAI,KAAK,sBAAc,CAAC,kBAAkB;QACjD,MAAM,CAAC,WAAW,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC,KAAK,IAAI,EAClC,CAAC;QACD,OAAO,2BAA2B,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACtD,CAAC;IAED,OAAO,oBAAoB,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;AAC/C,CAAC;AAED,SAAS,oBAAoB,CAC3B,IAAmB,EACnB,OAA4D;IAE5D,IACE,IAAI,CAAC,IAAI,KAAK,sBAAc,CAAC,cAAc;QAC3C,IAAI,CAAC,MAAM,CAAC,IAAI,KAAK,sBAAc,CAAC,UAAU;QAC9C,6EAA6E;QAC7E,IAAI,CAAC,MAAM,CAAC,IAAI,KAAK,SAAS;QAC9B,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC,EACjB,CAAC;QACD,MAAM,KAAK,GAAG,OAAO,CAAC,UAAU,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC;QAChD,MAAM,QAAQ,GAAG,KAAK,CAAC,GAAG,CAAC,GAAG,CAAC,uBAAe,CAAC,OAAO,CAAC,CAAC;QACxD,OAAO,QAAQ,IAAI,IAAI,IAAI,QAAQ,CAAC,IAAI,CAAC,MAAM,KAAK,CAAC,CAAC;IACxD,CAAC;IACD,OAAO,KAAK,CAAC;AACf,CAAC;AAED,SAAS,wBAAwB,CAC/B,IAAgE;IAEhE,MAAM,IAAI,GAAG,IAAI,GAAG,EAA6B,CAAC;IAClD,MAAM,KAAK,GAAG,CAAC,IAAI,CAAC,MAAM,EAAE,IAAI,CAAC,IAAI,EAAE,IAAI,CAAC,KAAK,CAAC,CAAC;IACnD,KAAK,MAAM,OAAO,IAAI,KAAK,EAAE,CAAC;QAC5B,IAAI,IAAI,CAAC,GAAG,CAAC,OAAO,CAAC,EAAE,CAAC;YACtB,SAAS;QACX,CAAC;QACD,IAAI,CAAC,GAAG,CAAC,OAAO,CAAC,CAAC;QAElB,IAAI,OAAO,CAAC,IAAI,KAAK,sBAAc,CAAC,iBAAiB,EAAE,CAAC;YACtD,IAAI,OAAO,CAAC,QAAQ,KAAK,IAAI,EAAE,CAAC;gBAC9B,OAAO,IAAI,CAAC;YACd,CAAC;YAED,IAAI,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC,QAAQ,CAAC,OAAO,CAAC,QAAQ,CAAC,EAAE,CAAC;gBAC7C,sEAAsE;gBACtE,KAAK,CAAC,IAAI,CAAC,OAAO,CAAC,MAAM,EAAE,OAAO,CAAC,IAAI,EAAE,OAAO,CAAC,KAAK,CAAC,CAAC;YAC1D,CAAC;QACH,CAAC;IACH,CAAC;IAED,OAAO,KAAK,CAAC;AACf,CAAC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-optional-chain-utils/analyzeChain.js b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-optional-chain-utils/analyzeChain.js index 9b3fe8d2b5..0685eb0153 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-optional-chain-utils/analyzeChain.js +++ b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-optional-chain-utils/analyzeChain.js @@ -15,13 +15,23 @@ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? ( }) : function(o, v) { o["default"] = v; }); -var __importStar = (this && this.__importStar) || function (mod) { - if (mod && mod.__esModule) return mod; - var result = {}; - if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k); - __setModuleDefault(result, mod); - return result; -}; +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); Object.defineProperty(exports, "__esModule", { value: true }); exports.analyzeChain = analyzeChain; const utils_1 = require("@typescript-eslint/utils"); diff --git a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-optional-chain-utils/analyzeChain.js.map b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-optional-chain-utils/analyzeChain.js.map index d8f712e373..416916c164 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-optional-chain-utils/analyzeChain.js.map +++ b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-optional-chain-utils/analyzeChain.js.map @@ -1 +1 @@ -{"version":3,"file":"analyzeChain.js","sourceRoot":"","sources":["../../../src/rules/prefer-optional-chain-utils/analyzeChain.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AAigBA,oCAoHC;AA1mBD,oDAA0D;AAC1D,+CAA8C;AAC9C,+CAAiC;AAQjC,qCASoB;AACpB,mEAAgE;AAChE,iDAAoE;AAGpE,SAAS,YAAY,CACnB,cAAiD,EACjD,IAAmB,EACnB,UAAwB;IAExB,MAAM,QAAQ,GAAG,UAAU,GAAG,EAAE,CAAC,SAAS,CAAC,GAAG,GAAG,EAAE,CAAC,SAAS,CAAC,OAAO,CAAC;IACtE,MAAM,KAAK,GAAG,IAAA,6BAAc,EAAC,cAAc,CAAC,iBAAiB,CAAC,IAAI,CAAC,CAAC,CAAC;IACrE,KAAK,MAAM,IAAI,IAAI,KAAK,EAAE,CAAC;QACzB,IAAI,IAAA,oBAAa,EAAC,IAAI,EAAE,QAAQ,CAAC,EAAE,CAAC;YAClC,OAAO,IAAI,CAAC;QACd,CAAC;IACH,CAAC;IACD,OAAO,KAAK,CAAC;AACf,CAAC;AAYD,MAAM,sBAAsB,GAAoB,CAC9C,cAAc,EACd,OAAO,EACP,KAAK,EACL,KAAK,EACL,EAAE;IACF,QAAQ,OAAO,CAAC,cAAc,EAAE,CAAC;QAC/B,kDAAkC,CAAC,CAAC,CAAC;YACnC,MAAM,WAAW,GAAG,KAAK,CAAC,EAAE,CAAC,KAAK,GAAG,CAAC,CAAC,CAAC;YACxC,IACE,WAAW,EAAE,cAAc;mFACe;gBAC1C,OAAO,CAAC,YAAY,CAAC,IAAI,KAAK,sBAAc,CAAC,UAAU,EACvD,CAAC;gBACD,OAAO,IAAI,CAAC;YACd,CAAC;YACD,OAAO,CAAC,OAAO,CAAC,CAAC;QACnB,CAAC;QAED;YACE,OAAO,CAAC,OAAO,CAAC,CAAC;QAEnB,wEAA6C,CAAC,CAAC,CAAC;YAC9C,yCAAyC;YACzC,MAAM,WAAW,GAAG,KAAK,CAAC,EAAE,CAAC,KAAK,GAAG,CAAC,CAAC,CAAC;YACxC,IACE,WAAW,EAAE,cAAc;6FACoB;gBAC/C,IAAA,2BAAY,EAAC,OAAO,CAAC,YAAY,EAAE,WAAW,CAAC,YAAY,CAAC;4DAChC,EAC5B,CAAC;gBACD,OAAO,CAAC,OAAO,EAAE,WAAW,CAAC,CAAC;YAChC,CAAC;YACD,IACE,YAAY,CACV,cAAc,EACd,OAAO,CAAC,YAAY,EACpB,EAAE,CAAC,SAAS,CAAC,SAAS,CACvB,EACD,CAAC;gBACD,qEAAqE;gBACrE,iEAAiE;gBACjE,qEAAqE;gBACrE,OAAO,IAAI,CAAC;YACd,CAAC;YAED,OAAO,CAAC,OAAO,CAAC,CAAC;QACnB,CAAC;QAED,kFAAkD,CAAC,CAAC,CAAC;YACnD,yCAAyC;YACzC,MAAM,WAAW,GAAG,KAAK,CAAC,EAAE,CAAC,KAAK,GAAG,CAAC,CAAC,CAAC;YACxC,IACE,WAAW,EAAE,cAAc;mFACe;gBAC1C,IAAA,2BAAY,EAAC,OAAO,CAAC,YAAY,EAAE,WAAW,CAAC,YAAY,CAAC;4DAChC,EAC5B,CAAC;gBACD,OAAO,CAAC,OAAO,EAAE,WAAW,CAAC,CAAC;YAChC,CAAC;YACD,IACE,YAAY,CAAC,cAAc,EAAE,OAAO,CAAC,YAAY,EAAE,EAAE,CAAC,SAAS,CAAC,IAAI,CAAC,EACrE,CAAC;gBACD,+DAA+D;gBAC/D,4DAA4D;gBAC5D,qEAAqE;gBACrE,OAAO,IAAI,CAAC;YACd,CAAC;YAED,OAAO,CAAC,OAAO,CAAC,CAAC;QACnB,CAAC;QAED;YACE,OAAO,IAAI,CAAC;IAChB,CAAC;AACH,CAAC,CAAC;AACF,MAAM,qBAAqB,GAAoB,CAC7C,cAAc,EACd,OAAO,EACP,KAAK,EACL,KAAK,EACL,EAAE;IACF,QAAQ,OAAO,CAAC,cAAc,EAAE,CAAC;QAC/B,yDAAsC;QACtC;YACE,OAAO,CAAC,OAAO,CAAC,CAAC;QAEnB,kEAA0C,CAAC,CAAC,CAAC;YAC3C,yCAAyC;YACzC,MAAM,WAAW,GAAG,KAAK,CAAC,EAAE,CAAC,KAAK,GAAG,CAAC,CAAC,CAAC;YACxC,IACE,WAAW,EAAE,cAAc;uFACiB;gBAC5C,IAAA,2BAAY,EAAC,OAAO,CAAC,YAAY,EAAE,WAAW,CAAC,YAAY,CAAC;4DAChC,EAC5B,CAAC;gBACD,OAAO,CAAC,OAAO,EAAE,WAAW,CAAC,CAAC;YAChC,CAAC;YACD,IACE,YAAY,CACV,cAAc,EACd,OAAO,CAAC,YAAY,EACpB,EAAE,CAAC,SAAS,CAAC,SAAS,CACvB,EACD,CAAC;gBACD,qEAAqE;gBACrE,iEAAiE;gBACjE,qEAAqE;gBACrE,OAAO,IAAI,CAAC;YACd,CAAC;YAED,OAAO,CAAC,OAAO,CAAC,CAAC;QACnB,CAAC;QAED,4EAA+C,CAAC,CAAC,CAAC;YAChD,yCAAyC;YACzC,MAAM,WAAW,GAAG,KAAK,CAAC,EAAE,CAAC,KAAK,GAAG,CAAC,CAAC,CAAC;YACxC,IACE,WAAW,EAAE,cAAc,kEAA0C;gBACrE,IAAA,2BAAY,EAAC,OAAO,CAAC,YAAY,EAAE,WAAW,CAAC,YAAY,CAAC;4DAChC,EAC5B,CAAC;gBACD,OAAO,CAAC,OAAO,EAAE,WAAW,CAAC,CAAC;YAChC,CAAC;YACD,IACE,YAAY,CAAC,cAAc,EAAE,OAAO,CAAC,YAAY,EAAE,EAAE,CAAC,SAAS,CAAC,IAAI,CAAC,EACrE,CAAC;gBACD,+DAA+D;gBAC/D,4DAA4D;gBAC5D,qEAAqE;gBACrE,OAAO,IAAI,CAAC;YACd,CAAC;YAED,OAAO,CAAC,OAAO,CAAC,CAAC;QACnB,CAAC;QAED;YACE,OAAO,IAAI,CAAC;IAChB,CAAC;AACH,CAAC,CAAC;AAEF;;;;;;GAMG;AACH,SAAS,cAAc,CACrB,KAAqB,EACrB,QAAwB,EACxB,UAAsB;IAEtB,MAAM,QAAQ,GAAG,KAAK,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC;IAC/B,MAAM,SAAS,GAAG,KAAK,CAAC,KAAK,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC,IAAI,CAAC;IAC/C,IAAI,QAAQ,GAAG,IAAA,iBAAU,EACvB,UAAU,CAAC,aAAa,CAAC,QAAQ,CAAC,EAClC,wBAAiB,CAAC,YAAY,CAAC,WAAW,EAAE,QAAQ,CAAC,IAAI,CAAC,CAC3D,CAAC;IACF,IAAI,SAAS,GAAG,IAAA,iBAAU,EACxB,UAAU,CAAC,YAAY,CAAC,SAAS,CAAC,EAClC,wBAAiB,CAAC,YAAY,CAAC,WAAW,EAAE,SAAS,CAAC,IAAI,CAAC,CAC5D,CAAC;IAEF,OAAO,QAAQ,CAAC,KAAK,CAAC,CAAC,CAAC,GAAG,QAAQ,CAAC,CAAC,CAAC,EAAE,CAAC;QACvC,MAAM,KAAK,GAAG,UAAU,CAAC,cAAc,CAAC,QAAQ,CAAC,CAAC;QAClD,IAAI,CAAC,KAAK,IAAI,CAAC,IAAA,0BAAmB,EAAC,KAAK,CAAC,IAAI,KAAK,CAAC,KAAK,CAAC,CAAC,CAAC,GAAG,QAAQ,CAAC,CAAC,CAAC,EAAE,CAAC;YAC1E,MAAM;QACR,CAAC;QACD,QAAQ,GAAG,KAAK,CAAC;IACnB,CAAC;IAED,OAAO,SAAS,CAAC,KAAK,CAAC,CAAC,CAAC,GAAG,QAAQ,CAAC,CAAC,CAAC,EAAE,CAAC;QACxC,MAAM,KAAK,GAAG,UAAU,CAAC,aAAa,CAAC,SAAS,CAAC,CAAC;QAClD,IAAI,CAAC,KAAK,IAAI,CAAC,IAAA,0BAAmB,EAAC,KAAK,CAAC,IAAI,KAAK,CAAC,KAAK,CAAC,CAAC,CAAC,GAAG,QAAQ,CAAC,CAAC,CAAC,EAAE,CAAC;YAC1E,MAAM;QACR,CAAC;QACD,SAAS,GAAG,KAAK,CAAC;IACpB,CAAC;IAED,OAAO,CAAC,QAAQ,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,SAAS,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC;AACjD,CAAC;AAED,SAAS,mBAAmB,CAC1B,UAAsB,EACtB,cAAiD,EACjD,IAAmB,EACnB,QAAqB,EACrB,OAAmC,EACnC,KAAqB;IAErB,MAAM,WAAW,GAAG,KAAK,CAAC,KAAK,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC;IAE5C,IAAI,kBAA2B,CAAC;IAChC,IACE,OAAO,CAAC,kEAAkE;QAC1E,IAAI,EACJ,CAAC;QACD,2CAA2C;QAC3C,kBAAkB,GAAG,KAAK,CAAC;IAC7B,CAAC;IACD,yEAAyE;IACzE,2EAA2E;IAC3E,uEAAuE;IACvE,iDAAiD;SAC5C,IACH,WAAW,CAAC,cAAc,4EAA+C;QACzE,WAAW,CAAC,cAAc;yFACqB;QAC/C,WAAW,CAAC,cAAc,4EAA+C;QACzE,WAAW,CAAC,cAAc;yFACqB;QAC/C,CAAC,QAAQ,KAAK,IAAI;YAChB,WAAW,CAAC,cAAc,wDAAqC,CAAC,EAClE,CAAC;QACD,yEAAyE;QACzE,yEAAyE;QACzE,cAAc;QACd,kBAAkB,GAAG,KAAK,CAAC;IAC7B,CAAC;SAAM,CAAC;QACN,kBAAkB,GAAG,IAAI,CAAC;QAE1B,KAAK,MAAM,OAAO,IAAI,KAAK,EAAE,CAAC;YAC5B,IAAI,YAAY,CAAC,cAAc,EAAE,OAAO,CAAC,IAAI,EAAE,EAAE,CAAC,SAAS,CAAC,SAAS,CAAC,EAAE,CAAC;gBACvE,kBAAkB,GAAG,KAAK,CAAC;gBAC3B,MAAM;YACR,CAAC;QACH,CAAC;QAED,0EAA0E;QAC1E,wEAAwE;QACxE,yDAAyD;QACzD,uEAAuE;QACvE,6DAA6D;QAC7D,EAAE;QACF,oEAAoE;QACpE,qEAAqE;QACrE,sBAAsB;IACxB,CAAC;IAED,8EAA8E;IAC9E,2EAA2E;IAC3E,4EAA4E;IAC5E,+DAA+D;IAC/D,EAAE;IACF,8EAA8E;IAC9E,0EAA0E;IAC1E,6EAA6E;IAC7E,2EAA2E;IAC3E,wEAAwE;IACxE,WAAW;IACX,EAAE;IACF,qEAAqE;IACrE,8EAA8E;IAC9E,iBAAiB;IACjB,EAAE;IACF,KAAK;IACL,4DAA4D;IAC5D,WAAW;IACX,qCAAqC;IACrC,yBAAyB;IACzB,uDAAuD;IACvD,mCAAmC;IACnC,0DAA0D;IAC1D,uCAAuC;IAEvC,MAAM,KAAK,GAAG,EAAE,CAAC;IACjB,KAAK,MAAM,OAAO,IAAI,KAAK,EAAE,CAAC;QAC5B,MAAM,WAAW,GAAG,sBAAsB,CACxC,UAAU,EACV,OAAO,CAAC,YAAY,CACrB,CAAC;QACF,MAAM,IAAI,GAAG,WAAW,CAAC,KAAK,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;QAC7C,IAAI,IAAI,CAAC,MAAM,GAAG,CAAC,EAAE,CAAC;YACpB,IAAI,KAAK,CAAC,MAAM,GAAG,CAAC,EAAE,CAAC;gBACrB,2EAA2E;gBAC3E,uBAAuB;gBACvB,yBAAyB;gBACzB,cAAc;gBACd,wBAAwB;gBACxB,IAAI,CAAC,CAAC,CAAC,CAAC,QAAQ,GAAG,IAAI,CAAC;YAC1B,CAAC;YACD,KAAK,CAAC,IAAI,CAAC,GAAG,IAAI,CAAC,CAAC;QACtB,CAAC;IACH,CAAC;IAED,IAAI,OAAO,GAAG,KAAK;SAChB,GAAG,CAAC,IAAI,CAAC,EAAE;QACV,IAAI,GAAG,GAAG,EAAE,CAAC;QACb,IAAI,IAAI,CAAC,QAAQ,EAAE,CAAC;YAClB,GAAG,IAAI,IAAI,CAAC;QACd,CAAC;aAAM,CAAC;YACN,IAAI,IAAI,CAAC,OAAO,EAAE,CAAC;gBACjB,GAAG,IAAI,GAAG,CAAC;YACb,CAAC;YACD,IAAI,IAAI,CAAC,WAAW,EAAE,CAAC;gBACrB,GAAG,IAAI,GAAG,CAAC;YACb,CAAC;QACH,CAAC;QACD,IACE,IAAI,CAAC,UAAU,KAAK,yBAAkB,CAAC,OAAO;YAC9C,IAAI,CAAC,UAAU,GAAG,yBAAkB,CAAC,MAAM,EAC3C,CAAC;YACD,GAAG,IAAI,IAAI,IAAI,CAAC,IAAI,GAAG,CAAC;QAC1B,CAAC;aAAM,CAAC;YACN,GAAG,IAAI,IAAI,CAAC,IAAI,CAAC;QACnB,CAAC;QACD,OAAO,GAAG,CAAC;IACb,CAAC,CAAC;SACD,IAAI,CAAC,EAAE,CAAC,CAAC;IAEZ,IAAI,WAAW,CAAC,IAAI,CAAC,IAAI,KAAK,sBAAc,CAAC,gBAAgB,EAAE,CAAC;QAC9D,8CAA8C;QAC9C,mBAAmB;QACnB,kCAAkC;QAClC,MAAM,QAAQ,GAAG,WAAW,CAAC,IAAI,CAAC,QAAQ,CAAC;QAC3C,MAAM,EAAE,IAAI,EAAE,KAAK,EAAE,GAAG,CAAC,GAAG,EAAE;YAC5B,IAAI,WAAW,CAAC,MAAM,EAAE,CAAC;gBACvB,MAAM,aAAa,GACjB,WAAW,CAAC,IAAI,CAAC,KAAK,CAAC,IAAI,KAAK,sBAAc,CAAC,eAAe;oBAC5D,CAAC,CAAC,GAAG,WAAW,CAAC,IAAI,CAAC,KAAK,CAAC,QAAQ,GAAG;oBACvC,CAAC,CAAC,EAAE,CAAC;gBAET,OAAO;oBACL,IAAI,EAAE,UAAU,CAAC,OAAO,CAAC,WAAW,CAAC,IAAI,CAAC,IAAI,CAAC;oBAC/C,KAAK,EAAE,aAAa,GAAG,OAAO;iBAC/B,CAAC;YACJ,CAAC;YACD,MAAM,aAAa,GACjB,WAAW,CAAC,IAAI,CAAC,IAAI,CAAC,IAAI,KAAK,sBAAc,CAAC,eAAe;gBAC3D,CAAC,CAAC,GAAG,WAAW,CAAC,IAAI,CAAC,IAAI,CAAC,QAAQ,GAAG;gBACtC,CAAC,CAAC,EAAE,CAAC;YACT,OAAO;gBACL,IAAI,EAAE,aAAa,GAAG,OAAO;gBAC7B,KAAK,EAAE,UAAU,CAAC,OAAO,CAAC,WAAW,CAAC,IAAI,CAAC,KAAK,CAAC;aAClD,CAAC;QACJ,CAAC,CAAC,EAAE,CAAC;QAEL,OAAO,GAAG,GAAG,IAAI,IAAI,QAAQ,IAAI,KAAK,EAAE,CAAC;IAC3C,CAAC;SAAM,IAAI,WAAW,CAAC,cAAc,wDAAqC,EAAE,CAAC;QAC3E,OAAO,GAAG,IAAI,OAAO,EAAE,CAAC;IAC1B,CAAC;IAED,MAAM,WAAW,GAAG,cAAc,CAAC,KAAK,EAAE,IAAI,CAAC,KAAK,EAAE,UAAU,CAAC,CAAC;IAElE,MAAM,GAAG,GAAsB,KAAK,CAAC,EAAE,CACrC,KAAK,CAAC,gBAAgB,CAAC,WAAW,EAAE,OAAO,CAAC,CAAC;IAE/C,OAAO;QACL,GAAG,EAAE;YACH,GAAG,EAAE,UAAU,CAAC,eAAe,CAAC,WAAW,CAAC,CAAC,CAAC,CAAC;YAC/C,KAAK,EAAE,UAAU,CAAC,eAAe,CAAC,WAAW,CAAC,CAAC,CAAC,CAAC;SAClD;QACD,SAAS,EAAE,qBAAqB;QAChC,GAAG,IAAA,sBAAe,EAAC;YACjB,YAAY,EAAE,kBAAkB,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,KAAK;YACpD,UAAU,EAAE;gBACV,GAAG;gBACH,SAAS,EAAE,sBAAsB;aAClC;SACF,CAAC;KACH,CAAC;IASF,SAAS,sBAAsB,CAC7B,UAAsB,EACtB,IAAmB;QAEnB,QAAQ,IAAI,CAAC,IAAI,EAAE,CAAC;YAClB,KAAK,sBAAc,CAAC,eAAe;gBACjC,OAAO,sBAAsB,CAAC,UAAU,EAAE,IAAI,CAAC,UAAU,CAAC,CAAC;YAE7D,KAAK,sBAAc,CAAC,cAAc,CAAC,CAAC,CAAC;gBACnC,MAAM,aAAa,GAAG,CAAC,GAAG,EAAE;oBAC1B,MAAM,iBAAiB,GAAG,IAAA,iBAAU,EAClC,UAAU,CAAC,YAAY,CAAC,IAAI,CAAC,EAC7B,wBAAiB,CAAC,YAAY,CAAC,qBAAqB,EAAE,IAAI,CAAC,IAAI,CAAC,CACjE,CAAC;oBACF,MAAM,iBAAiB,GAAG,IAAA,iBAAU,EAClC,UAAU,CAAC,oBAAoB,CAC7B,IAAI,CAAC,aAAa,IAAI,IAAI,CAAC,MAAM,EACjC,iBAAiB,EACjB,0BAAmB,CACpB,EACD,wBAAiB,CAAC,YAAY,CAAC,qBAAqB,EAAE,IAAI,CAAC,IAAI,CAAC,CACjE,CAAC;oBACF,OAAO,UAAU,CAAC,IAAI,CAAC,SAAS,CAC9B,iBAAiB,CAAC,KAAK,CAAC,CAAC,CAAC,EAC1B,iBAAiB,CAAC,KAAK,CAAC,CAAC,CAAC,CAC3B,CAAC;gBACJ,CAAC,CAAC,EAAE,CAAC;gBAEL,MAAM,iBAAiB,GAAG,CAAC,GAAG,EAAE;oBAC9B,IAAI,IAAI,CAAC,aAAa,IAAI,IAAI,EAAE,CAAC;wBAC/B,OAAO,EAAE,CAAC;oBACZ,CAAC;oBAED,OAAO,UAAU,CAAC,OAAO,CAAC,IAAI,CAAC,aAAa,CAAC,CAAC;gBAChD,CAAC,CAAC,EAAE,CAAC;gBAEL,OAAO;oBACL,GAAG,sBAAsB,CAAC,UAAU,EAAE,IAAI,CAAC,MAAM,CAAC;oBAClD;wBACE,OAAO,EAAE,KAAK;wBACd,QAAQ,EAAE,IAAI,CAAC,QAAQ;wBACvB,yBAAyB;wBACzB,UAAU,EAAE,yBAAkB,CAAC,OAAO;wBACtC,WAAW,EAAE,KAAK;wBAClB,IAAI,EAAE,iBAAiB,GAAG,aAAa;qBACxC;iBACF,CAAC;YACJ,CAAC;YAED,KAAK,sBAAc,CAAC,gBAAgB,CAAC,CAAC,CAAC;gBACrC,MAAM,YAAY,GAAG,UAAU,CAAC,OAAO,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC;gBACvD,OAAO;oBACL,GAAG,sBAAsB,CAAC,UAAU,EAAE,IAAI,CAAC,MAAM,CAAC;oBAClD;wBACE,OAAO,EAAE,IAAI,CAAC,MAAM,CAAC,IAAI,KAAK,sBAAc,CAAC,mBAAmB;wBAChE,QAAQ,EAAE,IAAI,CAAC,QAAQ;wBACvB,UAAU,EAAE,IAAI,CAAC,QAAQ;4BACvB,CAAC,CAAC,qEAAqE;gCACrE,yBAAkB,CAAC,OAAO;4BAC5B,CAAC,CAAC,IAAA,mCAA4B,EAAC,IAAI,CAAC,QAAQ,CAAC;wBAC/C,WAAW,EAAE,CAAC,IAAI,CAAC,QAAQ;wBAC3B,IAAI,EAAE,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC,IAAI,YAAY,GAAG,CAAC,CAAC,CAAC,YAAY;qBACzD;iBACF,CAAC;YACJ,CAAC;YAED,KAAK,sBAAc,CAAC,mBAAmB;gBACrC,OAAO,sBAAsB,CAAC,UAAU,EAAE,IAAI,CAAC,UAAU,CAAC,CAAC;YAE7D;gBACE,OAAO;oBACL;wBACE,OAAO,EAAE,KAAK;wBACd,QAAQ,EAAE,KAAK;wBACf,UAAU,EAAE,IAAA,mCAA4B,EAAC,IAAI,CAAC;wBAC9C,WAAW,EAAE,KAAK;wBAClB,IAAI,EAAE,UAAU,CAAC,OAAO,CAAC,IAAI,CAAC;qBAC/B;iBACF,CAAC;QACN,CAAC;IACH,CAAC;AACH,CAAC;AAED,SAAgB,YAAY,CAC1B,OAGC,EACD,cAAiD,EACjD,OAAmC,EACnC,IAAmB,EACnB,QAAgD,EAChD,KAAqB;IAErB,2DAA2D;IAC3D,IACE,KAAK,CAAC,MAAM,IAAI,CAAC;QACjB,yGAAyG;QACzG,QAAQ,KAAK,IAAI,EACjB,CAAC;QACD,OAAO;IACT,CAAC;IAED,MAAM,cAAc,GAAG,CAAC,GAAG,EAAE;QAC3B,QAAQ,QAAQ,EAAE,CAAC;YACjB,KAAK,IAAI;gBACP,OAAO,sBAAsB,CAAC;YAEhC,KAAK,IAAI;gBACP,OAAO,qBAAqB,CAAC;QACjC,CAAC;IACH,CAAC,CAAC,EAAE,CAAC;IAEL,yEAAyE;IACzE,4DAA4D;IAC5D,IAAI,QAAQ,GAA+C,EAAE,CAAC;IAC9D,MAAM,oBAAoB,GAAG,CAC3B,YAAyD,EACnD,EAAE;QACR,IAAI,QAAQ,CAAC,MAAM,GAAG,CAAC,EAAE,CAAC;YACxB,MAAM,YAAY,GAAG,QAAQ,CAAC,IAAI,EAAE,CAAC;YACrC,IAAA,6CAAqB,EACnB,OAAO,EACP,cAAc,EACd,OAAO,EACP,YAAY,CAAC,KAAK,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,EAAE,IAAI,EAAE,EAAE,EAAE,CAAC,IAAI,CAAC,EACjD,mBAAmB,CACjB,OAAO,CAAC,UAAU,EAClB,cAAc,EACd,IAAI,EACJ,QAAQ,EACR,OAAO,EACP,YAAY,CACb,CACF,CAAC;QACJ,CAAC;QAED,0DAA0D;QAC1D,iEAAiE;QACjE,EAAE;QACF,4EAA4E;QAC5E,yEAAyE;QACzE,2BAA2B;QAC3B,EAAE;QACF,yCAAyC;QACzC,2DAA2D;QAC3D,qDAAqD;QACrD,oDAAoD;QACpD,uEAAuE;QACvE,QAAQ,GAAG,YAAY,CAAC,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC;IAChD,CAAC,CAAC;IAEF,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,KAAK,CAAC,MAAM,EAAE,CAAC,IAAI,CAAC,EAAE,CAAC;QACzC,MAAM,WAAW,GAAG,QAAQ,CAAC,IAAI,EAAE,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC,CAAC;QAC3C,MAAM,OAAO,GAAG,KAAK,CAAC,CAAC,CAAC,CAAC;QAEzB,MAAM,iBAAiB,GAAG,cAAc,CAAC,cAAc,EAAE,OAAO,EAAE,CAAC,EAAE,KAAK,CAAC,CAAC;QAC5E,IAAI,CAAC,iBAAiB,EAAE,CAAC;YACvB,eAAe;YACf,mEAAmE;YACnE,0EAA0E;YAC1E,aAAa;YACb,8BAA8B;YAC9B,iCAAiC;YACjC,yEAAyE;YACzE,gEAAgE;YAEhE,oBAAoB,EAAE,CAAC;YACvB,SAAS;QACX,CAAC;QACD,uFAAuF;QACvF,CAAC,IAAI,iBAAiB,CAAC,MAAM,GAAG,CAAC,CAAC;QAElC,MAAM,cAAc,GAAG,iBAAiB,CAAC,CAAC,CAAC,CAAC;QAC5C,IAAI,WAAW,EAAE,CAAC;YAChB,MAAM,gBAAgB,GAAG,IAAA,2BAAY,EACnC,WAAW,CAAC,YAAY;YACxB,sFAAsF;YACtF,wDAAwD;YACxD,oCAAoC;YACpC,iBAAiB,CAAC,iBAAiB,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC,YAAY,CAC7D,CAAC;YACF,IAAI,gBAAgB,+CAAgC,EAAE,CAAC;gBACrD,4DAA4D;gBAC5D,QAAQ,CAAC,IAAI,CAAC,cAAc,CAAC,CAAC;YAChC,CAAC;iBAAM,IAAI,gBAAgB,iDAAiC,EAAE,CAAC;gBAC7D,oBAAoB,CAAC,iBAAiB,CAAC,CAAC;YAC1C,CAAC;iBAAM,CAAC;gBACN,oEAAoE;gBACpE,qDAAqD;gBACrD,aAAa;YACf,CAAC;QACH,CAAC;aAAM,CAAC;YACN,QAAQ,CAAC,IAAI,CAAC,cAAc,CAAC,CAAC;QAChC,CAAC;IACH,CAAC;IAED,sBAAsB;IACtB,oBAAoB,EAAE,CAAC;AACzB,CAAC"} \ No newline at end of file +{"version":3,"file":"analyzeChain.js","sourceRoot":"","sources":["../../../src/rules/prefer-optional-chain-utils/analyzeChain.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAigBA,oCAoHC;AA1mBD,oDAA0D;AAC1D,+CAA8C;AAC9C,+CAAiC;AAQjC,qCASoB;AACpB,mEAAgE;AAChE,iDAAoE;AAGpE,SAAS,YAAY,CACnB,cAAiD,EACjD,IAAmB,EACnB,UAAwB;IAExB,MAAM,QAAQ,GAAG,UAAU,GAAG,EAAE,CAAC,SAAS,CAAC,GAAG,GAAG,EAAE,CAAC,SAAS,CAAC,OAAO,CAAC;IACtE,MAAM,KAAK,GAAG,IAAA,6BAAc,EAAC,cAAc,CAAC,iBAAiB,CAAC,IAAI,CAAC,CAAC,CAAC;IACrE,KAAK,MAAM,IAAI,IAAI,KAAK,EAAE,CAAC;QACzB,IAAI,IAAA,oBAAa,EAAC,IAAI,EAAE,QAAQ,CAAC,EAAE,CAAC;YAClC,OAAO,IAAI,CAAC;QACd,CAAC;IACH,CAAC;IACD,OAAO,KAAK,CAAC;AACf,CAAC;AAYD,MAAM,sBAAsB,GAAoB,CAC9C,cAAc,EACd,OAAO,EACP,KAAK,EACL,KAAK,EACL,EAAE;IACF,QAAQ,OAAO,CAAC,cAAc,EAAE,CAAC;QAC/B,kDAAkC,CAAC,CAAC,CAAC;YACnC,MAAM,WAAW,GAAG,KAAK,CAAC,EAAE,CAAC,KAAK,GAAG,CAAC,CAAC,CAAC;YACxC,IACE,WAAW,EAAE,cAAc;mFACe;gBAC1C,OAAO,CAAC,YAAY,CAAC,IAAI,KAAK,sBAAc,CAAC,UAAU,EACvD,CAAC;gBACD,OAAO,IAAI,CAAC;YACd,CAAC;YACD,OAAO,CAAC,OAAO,CAAC,CAAC;QACnB,CAAC;QAED;YACE,OAAO,CAAC,OAAO,CAAC,CAAC;QAEnB,wEAA6C,CAAC,CAAC,CAAC;YAC9C,yCAAyC;YACzC,MAAM,WAAW,GAAG,KAAK,CAAC,EAAE,CAAC,KAAK,GAAG,CAAC,CAAC,CAAC;YACxC,IACE,WAAW,EAAE,cAAc;6FACoB;gBAC/C,IAAA,2BAAY,EAAC,OAAO,CAAC,YAAY,EAAE,WAAW,CAAC,YAAY,CAAC;4DAChC,EAC5B,CAAC;gBACD,OAAO,CAAC,OAAO,EAAE,WAAW,CAAC,CAAC;YAChC,CAAC;YACD,IACE,YAAY,CACV,cAAc,EACd,OAAO,CAAC,YAAY,EACpB,EAAE,CAAC,SAAS,CAAC,SAAS,CACvB,EACD,CAAC;gBACD,qEAAqE;gBACrE,iEAAiE;gBACjE,qEAAqE;gBACrE,OAAO,IAAI,CAAC;YACd,CAAC;YAED,OAAO,CAAC,OAAO,CAAC,CAAC;QACnB,CAAC;QAED,kFAAkD,CAAC,CAAC,CAAC;YACnD,yCAAyC;YACzC,MAAM,WAAW,GAAG,KAAK,CAAC,EAAE,CAAC,KAAK,GAAG,CAAC,CAAC,CAAC;YACxC,IACE,WAAW,EAAE,cAAc;mFACe;gBAC1C,IAAA,2BAAY,EAAC,OAAO,CAAC,YAAY,EAAE,WAAW,CAAC,YAAY,CAAC;4DAChC,EAC5B,CAAC;gBACD,OAAO,CAAC,OAAO,EAAE,WAAW,CAAC,CAAC;YAChC,CAAC;YACD,IACE,YAAY,CAAC,cAAc,EAAE,OAAO,CAAC,YAAY,EAAE,EAAE,CAAC,SAAS,CAAC,IAAI,CAAC,EACrE,CAAC;gBACD,+DAA+D;gBAC/D,4DAA4D;gBAC5D,qEAAqE;gBACrE,OAAO,IAAI,CAAC;YACd,CAAC;YAED,OAAO,CAAC,OAAO,CAAC,CAAC;QACnB,CAAC;QAED;YACE,OAAO,IAAI,CAAC;IAChB,CAAC;AACH,CAAC,CAAC;AACF,MAAM,qBAAqB,GAAoB,CAC7C,cAAc,EACd,OAAO,EACP,KAAK,EACL,KAAK,EACL,EAAE;IACF,QAAQ,OAAO,CAAC,cAAc,EAAE,CAAC;QAC/B,yDAAsC;QACtC;YACE,OAAO,CAAC,OAAO,CAAC,CAAC;QAEnB,kEAA0C,CAAC,CAAC,CAAC;YAC3C,yCAAyC;YACzC,MAAM,WAAW,GAAG,KAAK,CAAC,EAAE,CAAC,KAAK,GAAG,CAAC,CAAC,CAAC;YACxC,IACE,WAAW,EAAE,cAAc;uFACiB;gBAC5C,IAAA,2BAAY,EAAC,OAAO,CAAC,YAAY,EAAE,WAAW,CAAC,YAAY,CAAC;4DAChC,EAC5B,CAAC;gBACD,OAAO,CAAC,OAAO,EAAE,WAAW,CAAC,CAAC;YAChC,CAAC;YACD,IACE,YAAY,CACV,cAAc,EACd,OAAO,CAAC,YAAY,EACpB,EAAE,CAAC,SAAS,CAAC,SAAS,CACvB,EACD,CAAC;gBACD,qEAAqE;gBACrE,iEAAiE;gBACjE,qEAAqE;gBACrE,OAAO,IAAI,CAAC;YACd,CAAC;YAED,OAAO,CAAC,OAAO,CAAC,CAAC;QACnB,CAAC;QAED,4EAA+C,CAAC,CAAC,CAAC;YAChD,yCAAyC;YACzC,MAAM,WAAW,GAAG,KAAK,CAAC,EAAE,CAAC,KAAK,GAAG,CAAC,CAAC,CAAC;YACxC,IACE,WAAW,EAAE,cAAc,kEAA0C;gBACrE,IAAA,2BAAY,EAAC,OAAO,CAAC,YAAY,EAAE,WAAW,CAAC,YAAY,CAAC;4DAChC,EAC5B,CAAC;gBACD,OAAO,CAAC,OAAO,EAAE,WAAW,CAAC,CAAC;YAChC,CAAC;YACD,IACE,YAAY,CAAC,cAAc,EAAE,OAAO,CAAC,YAAY,EAAE,EAAE,CAAC,SAAS,CAAC,IAAI,CAAC,EACrE,CAAC;gBACD,+DAA+D;gBAC/D,4DAA4D;gBAC5D,qEAAqE;gBACrE,OAAO,IAAI,CAAC;YACd,CAAC;YAED,OAAO,CAAC,OAAO,CAAC,CAAC;QACnB,CAAC;QAED;YACE,OAAO,IAAI,CAAC;IAChB,CAAC;AACH,CAAC,CAAC;AAEF;;;;;;GAMG;AACH,SAAS,cAAc,CACrB,KAAqB,EACrB,QAAwB,EACxB,UAAsB;IAEtB,MAAM,QAAQ,GAAG,KAAK,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC;IAC/B,MAAM,SAAS,GAAG,KAAK,CAAC,KAAK,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC,IAAI,CAAC;IAC/C,IAAI,QAAQ,GAAG,IAAA,iBAAU,EACvB,UAAU,CAAC,aAAa,CAAC,QAAQ,CAAC,EAClC,wBAAiB,CAAC,YAAY,CAAC,WAAW,EAAE,QAAQ,CAAC,IAAI,CAAC,CAC3D,CAAC;IACF,IAAI,SAAS,GAAG,IAAA,iBAAU,EACxB,UAAU,CAAC,YAAY,CAAC,SAAS,CAAC,EAClC,wBAAiB,CAAC,YAAY,CAAC,WAAW,EAAE,SAAS,CAAC,IAAI,CAAC,CAC5D,CAAC;IAEF,OAAO,QAAQ,CAAC,KAAK,CAAC,CAAC,CAAC,GAAG,QAAQ,CAAC,CAAC,CAAC,EAAE,CAAC;QACvC,MAAM,KAAK,GAAG,UAAU,CAAC,cAAc,CAAC,QAAQ,CAAC,CAAC;QAClD,IAAI,CAAC,KAAK,IAAI,CAAC,IAAA,0BAAmB,EAAC,KAAK,CAAC,IAAI,KAAK,CAAC,KAAK,CAAC,CAAC,CAAC,GAAG,QAAQ,CAAC,CAAC,CAAC,EAAE,CAAC;YAC1E,MAAM;QACR,CAAC;QACD,QAAQ,GAAG,KAAK,CAAC;IACnB,CAAC;IAED,OAAO,SAAS,CAAC,KAAK,CAAC,CAAC,CAAC,GAAG,QAAQ,CAAC,CAAC,CAAC,EAAE,CAAC;QACxC,MAAM,KAAK,GAAG,UAAU,CAAC,aAAa,CAAC,SAAS,CAAC,CAAC;QAClD,IAAI,CAAC,KAAK,IAAI,CAAC,IAAA,0BAAmB,EAAC,KAAK,CAAC,IAAI,KAAK,CAAC,KAAK,CAAC,CAAC,CAAC,GAAG,QAAQ,CAAC,CAAC,CAAC,EAAE,CAAC;YAC1E,MAAM;QACR,CAAC;QACD,SAAS,GAAG,KAAK,CAAC;IACpB,CAAC;IAED,OAAO,CAAC,QAAQ,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,SAAS,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC;AACjD,CAAC;AAED,SAAS,mBAAmB,CAC1B,UAAsB,EACtB,cAAiD,EACjD,IAAmB,EACnB,QAAqB,EACrB,OAAmC,EACnC,KAAqB;IAErB,MAAM,WAAW,GAAG,KAAK,CAAC,KAAK,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC;IAE5C,IAAI,kBAA2B,CAAC;IAChC,IACE,OAAO,CAAC,kEAAkE;QAC1E,IAAI,EACJ,CAAC;QACD,2CAA2C;QAC3C,kBAAkB,GAAG,KAAK,CAAC;IAC7B,CAAC;IACD,yEAAyE;IACzE,2EAA2E;IAC3E,uEAAuE;IACvE,iDAAiD;SAC5C,IACH,WAAW,CAAC,cAAc,4EAA+C;QACzE,WAAW,CAAC,cAAc;yFACqB;QAC/C,WAAW,CAAC,cAAc,4EAA+C;QACzE,WAAW,CAAC,cAAc;yFACqB;QAC/C,CAAC,QAAQ,KAAK,IAAI;YAChB,WAAW,CAAC,cAAc,wDAAqC,CAAC,EAClE,CAAC;QACD,yEAAyE;QACzE,yEAAyE;QACzE,cAAc;QACd,kBAAkB,GAAG,KAAK,CAAC;IAC7B,CAAC;SAAM,CAAC;QACN,kBAAkB,GAAG,IAAI,CAAC;QAE1B,KAAK,MAAM,OAAO,IAAI,KAAK,EAAE,CAAC;YAC5B,IAAI,YAAY,CAAC,cAAc,EAAE,OAAO,CAAC,IAAI,EAAE,EAAE,CAAC,SAAS,CAAC,SAAS,CAAC,EAAE,CAAC;gBACvE,kBAAkB,GAAG,KAAK,CAAC;gBAC3B,MAAM;YACR,CAAC;QACH,CAAC;QAED,0EAA0E;QAC1E,wEAAwE;QACxE,yDAAyD;QACzD,uEAAuE;QACvE,6DAA6D;QAC7D,EAAE;QACF,oEAAoE;QACpE,qEAAqE;QACrE,sBAAsB;IACxB,CAAC;IAED,8EAA8E;IAC9E,2EAA2E;IAC3E,4EAA4E;IAC5E,+DAA+D;IAC/D,EAAE;IACF,8EAA8E;IAC9E,0EAA0E;IAC1E,6EAA6E;IAC7E,2EAA2E;IAC3E,wEAAwE;IACxE,WAAW;IACX,EAAE;IACF,qEAAqE;IACrE,8EAA8E;IAC9E,iBAAiB;IACjB,EAAE;IACF,KAAK;IACL,4DAA4D;IAC5D,WAAW;IACX,qCAAqC;IACrC,yBAAyB;IACzB,uDAAuD;IACvD,mCAAmC;IACnC,0DAA0D;IAC1D,uCAAuC;IAEvC,MAAM,KAAK,GAAG,EAAE,CAAC;IACjB,KAAK,MAAM,OAAO,IAAI,KAAK,EAAE,CAAC;QAC5B,MAAM,WAAW,GAAG,sBAAsB,CACxC,UAAU,EACV,OAAO,CAAC,YAAY,CACrB,CAAC;QACF,MAAM,IAAI,GAAG,WAAW,CAAC,KAAK,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;QAC7C,IAAI,IAAI,CAAC,MAAM,GAAG,CAAC,EAAE,CAAC;YACpB,IAAI,KAAK,CAAC,MAAM,GAAG,CAAC,EAAE,CAAC;gBACrB,2EAA2E;gBAC3E,uBAAuB;gBACvB,yBAAyB;gBACzB,cAAc;gBACd,wBAAwB;gBACxB,IAAI,CAAC,CAAC,CAAC,CAAC,QAAQ,GAAG,IAAI,CAAC;YAC1B,CAAC;YACD,KAAK,CAAC,IAAI,CAAC,GAAG,IAAI,CAAC,CAAC;QACtB,CAAC;IACH,CAAC;IAED,IAAI,OAAO,GAAG,KAAK;SAChB,GAAG,CAAC,IAAI,CAAC,EAAE;QACV,IAAI,GAAG,GAAG,EAAE,CAAC;QACb,IAAI,IAAI,CAAC,QAAQ,EAAE,CAAC;YAClB,GAAG,IAAI,IAAI,CAAC;QACd,CAAC;aAAM,CAAC;YACN,IAAI,IAAI,CAAC,OAAO,EAAE,CAAC;gBACjB,GAAG,IAAI,GAAG,CAAC;YACb,CAAC;YACD,IAAI,IAAI,CAAC,WAAW,EAAE,CAAC;gBACrB,GAAG,IAAI,GAAG,CAAC;YACb,CAAC;QACH,CAAC;QACD,IACE,IAAI,CAAC,UAAU,KAAK,yBAAkB,CAAC,OAAO;YAC9C,IAAI,CAAC,UAAU,GAAG,yBAAkB,CAAC,MAAM,EAC3C,CAAC;YACD,GAAG,IAAI,IAAI,IAAI,CAAC,IAAI,GAAG,CAAC;QAC1B,CAAC;aAAM,CAAC;YACN,GAAG,IAAI,IAAI,CAAC,IAAI,CAAC;QACnB,CAAC;QACD,OAAO,GAAG,CAAC;IACb,CAAC,CAAC;SACD,IAAI,CAAC,EAAE,CAAC,CAAC;IAEZ,IAAI,WAAW,CAAC,IAAI,CAAC,IAAI,KAAK,sBAAc,CAAC,gBAAgB,EAAE,CAAC;QAC9D,8CAA8C;QAC9C,mBAAmB;QACnB,kCAAkC;QAClC,MAAM,QAAQ,GAAG,WAAW,CAAC,IAAI,CAAC,QAAQ,CAAC;QAC3C,MAAM,EAAE,IAAI,EAAE,KAAK,EAAE,GAAG,CAAC,GAAG,EAAE;YAC5B,IAAI,WAAW,CAAC,MAAM,EAAE,CAAC;gBACvB,MAAM,aAAa,GACjB,WAAW,CAAC,IAAI,CAAC,KAAK,CAAC,IAAI,KAAK,sBAAc,CAAC,eAAe;oBAC5D,CAAC,CAAC,GAAG,WAAW,CAAC,IAAI,CAAC,KAAK,CAAC,QAAQ,GAAG;oBACvC,CAAC,CAAC,EAAE,CAAC;gBAET,OAAO;oBACL,IAAI,EAAE,UAAU,CAAC,OAAO,CAAC,WAAW,CAAC,IAAI,CAAC,IAAI,CAAC;oBAC/C,KAAK,EAAE,aAAa,GAAG,OAAO;iBAC/B,CAAC;YACJ,CAAC;YACD,MAAM,aAAa,GACjB,WAAW,CAAC,IAAI,CAAC,IAAI,CAAC,IAAI,KAAK,sBAAc,CAAC,eAAe;gBAC3D,CAAC,CAAC,GAAG,WAAW,CAAC,IAAI,CAAC,IAAI,CAAC,QAAQ,GAAG;gBACtC,CAAC,CAAC,EAAE,CAAC;YACT,OAAO;gBACL,IAAI,EAAE,aAAa,GAAG,OAAO;gBAC7B,KAAK,EAAE,UAAU,CAAC,OAAO,CAAC,WAAW,CAAC,IAAI,CAAC,KAAK,CAAC;aAClD,CAAC;QACJ,CAAC,CAAC,EAAE,CAAC;QAEL,OAAO,GAAG,GAAG,IAAI,IAAI,QAAQ,IAAI,KAAK,EAAE,CAAC;IAC3C,CAAC;SAAM,IAAI,WAAW,CAAC,cAAc,wDAAqC,EAAE,CAAC;QAC3E,OAAO,GAAG,IAAI,OAAO,EAAE,CAAC;IAC1B,CAAC;IAED,MAAM,WAAW,GAAG,cAAc,CAAC,KAAK,EAAE,IAAI,CAAC,KAAK,EAAE,UAAU,CAAC,CAAC;IAElE,MAAM,GAAG,GAAsB,KAAK,CAAC,EAAE,CACrC,KAAK,CAAC,gBAAgB,CAAC,WAAW,EAAE,OAAO,CAAC,CAAC;IAE/C,OAAO;QACL,GAAG,EAAE;YACH,GAAG,EAAE,UAAU,CAAC,eAAe,CAAC,WAAW,CAAC,CAAC,CAAC,CAAC;YAC/C,KAAK,EAAE,UAAU,CAAC,eAAe,CAAC,WAAW,CAAC,CAAC,CAAC,CAAC;SAClD;QACD,SAAS,EAAE,qBAAqB;QAChC,GAAG,IAAA,sBAAe,EAAC;YACjB,YAAY,EAAE,kBAAkB,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,KAAK;YACpD,UAAU,EAAE;gBACV,GAAG;gBACH,SAAS,EAAE,sBAAsB;aAClC;SACF,CAAC;KACH,CAAC;IASF,SAAS,sBAAsB,CAC7B,UAAsB,EACtB,IAAmB;QAEnB,QAAQ,IAAI,CAAC,IAAI,EAAE,CAAC;YAClB,KAAK,sBAAc,CAAC,eAAe;gBACjC,OAAO,sBAAsB,CAAC,UAAU,EAAE,IAAI,CAAC,UAAU,CAAC,CAAC;YAE7D,KAAK,sBAAc,CAAC,cAAc,CAAC,CAAC,CAAC;gBACnC,MAAM,aAAa,GAAG,CAAC,GAAG,EAAE;oBAC1B,MAAM,iBAAiB,GAAG,IAAA,iBAAU,EAClC,UAAU,CAAC,YAAY,CAAC,IAAI,CAAC,EAC7B,wBAAiB,CAAC,YAAY,CAAC,qBAAqB,EAAE,IAAI,CAAC,IAAI,CAAC,CACjE,CAAC;oBACF,MAAM,iBAAiB,GAAG,IAAA,iBAAU,EAClC,UAAU,CAAC,oBAAoB,CAC7B,IAAI,CAAC,aAAa,IAAI,IAAI,CAAC,MAAM,EACjC,iBAAiB,EACjB,0BAAmB,CACpB,EACD,wBAAiB,CAAC,YAAY,CAAC,qBAAqB,EAAE,IAAI,CAAC,IAAI,CAAC,CACjE,CAAC;oBACF,OAAO,UAAU,CAAC,IAAI,CAAC,SAAS,CAC9B,iBAAiB,CAAC,KAAK,CAAC,CAAC,CAAC,EAC1B,iBAAiB,CAAC,KAAK,CAAC,CAAC,CAAC,CAC3B,CAAC;gBACJ,CAAC,CAAC,EAAE,CAAC;gBAEL,MAAM,iBAAiB,GAAG,CAAC,GAAG,EAAE;oBAC9B,IAAI,IAAI,CAAC,aAAa,IAAI,IAAI,EAAE,CAAC;wBAC/B,OAAO,EAAE,CAAC;oBACZ,CAAC;oBAED,OAAO,UAAU,CAAC,OAAO,CAAC,IAAI,CAAC,aAAa,CAAC,CAAC;gBAChD,CAAC,CAAC,EAAE,CAAC;gBAEL,OAAO;oBACL,GAAG,sBAAsB,CAAC,UAAU,EAAE,IAAI,CAAC,MAAM,CAAC;oBAClD;wBACE,OAAO,EAAE,KAAK;wBACd,QAAQ,EAAE,IAAI,CAAC,QAAQ;wBACvB,yBAAyB;wBACzB,UAAU,EAAE,yBAAkB,CAAC,OAAO;wBACtC,WAAW,EAAE,KAAK;wBAClB,IAAI,EAAE,iBAAiB,GAAG,aAAa;qBACxC;iBACF,CAAC;YACJ,CAAC;YAED,KAAK,sBAAc,CAAC,gBAAgB,CAAC,CAAC,CAAC;gBACrC,MAAM,YAAY,GAAG,UAAU,CAAC,OAAO,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC;gBACvD,OAAO;oBACL,GAAG,sBAAsB,CAAC,UAAU,EAAE,IAAI,CAAC,MAAM,CAAC;oBAClD;wBACE,OAAO,EAAE,IAAI,CAAC,MAAM,CAAC,IAAI,KAAK,sBAAc,CAAC,mBAAmB;wBAChE,QAAQ,EAAE,IAAI,CAAC,QAAQ;wBACvB,UAAU,EAAE,IAAI,CAAC,QAAQ;4BACvB,CAAC,CAAC,qEAAqE;gCACrE,yBAAkB,CAAC,OAAO;4BAC5B,CAAC,CAAC,IAAA,mCAA4B,EAAC,IAAI,CAAC,QAAQ,CAAC;wBAC/C,WAAW,EAAE,CAAC,IAAI,CAAC,QAAQ;wBAC3B,IAAI,EAAE,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC,IAAI,YAAY,GAAG,CAAC,CAAC,CAAC,YAAY;qBACzD;iBACF,CAAC;YACJ,CAAC;YAED,KAAK,sBAAc,CAAC,mBAAmB;gBACrC,OAAO,sBAAsB,CAAC,UAAU,EAAE,IAAI,CAAC,UAAU,CAAC,CAAC;YAE7D;gBACE,OAAO;oBACL;wBACE,OAAO,EAAE,KAAK;wBACd,QAAQ,EAAE,KAAK;wBACf,UAAU,EAAE,IAAA,mCAA4B,EAAC,IAAI,CAAC;wBAC9C,WAAW,EAAE,KAAK;wBAClB,IAAI,EAAE,UAAU,CAAC,OAAO,CAAC,IAAI,CAAC;qBAC/B;iBACF,CAAC;QACN,CAAC;IACH,CAAC;AACH,CAAC;AAED,SAAgB,YAAY,CAC1B,OAGC,EACD,cAAiD,EACjD,OAAmC,EACnC,IAAmB,EACnB,QAAgD,EAChD,KAAqB;IAErB,2DAA2D;IAC3D,IACE,KAAK,CAAC,MAAM,IAAI,CAAC;QACjB,yGAAyG;QACzG,QAAQ,KAAK,IAAI,EACjB,CAAC;QACD,OAAO;IACT,CAAC;IAED,MAAM,cAAc,GAAG,CAAC,GAAG,EAAE;QAC3B,QAAQ,QAAQ,EAAE,CAAC;YACjB,KAAK,IAAI;gBACP,OAAO,sBAAsB,CAAC;YAEhC,KAAK,IAAI;gBACP,OAAO,qBAAqB,CAAC;QACjC,CAAC;IACH,CAAC,CAAC,EAAE,CAAC;IAEL,yEAAyE;IACzE,4DAA4D;IAC5D,IAAI,QAAQ,GAA+C,EAAE,CAAC;IAC9D,MAAM,oBAAoB,GAAG,CAC3B,YAAyD,EACnD,EAAE;QACR,IAAI,QAAQ,CAAC,MAAM,GAAG,CAAC,EAAE,CAAC;YACxB,MAAM,YAAY,GAAG,QAAQ,CAAC,IAAI,EAAE,CAAC;YACrC,IAAA,6CAAqB,EACnB,OAAO,EACP,cAAc,EACd,OAAO,EACP,YAAY,CAAC,KAAK,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,EAAE,IAAI,EAAE,EAAE,EAAE,CAAC,IAAI,CAAC,EACjD,mBAAmB,CACjB,OAAO,CAAC,UAAU,EAClB,cAAc,EACd,IAAI,EACJ,QAAQ,EACR,OAAO,EACP,YAAY,CACb,CACF,CAAC;QACJ,CAAC;QAED,0DAA0D;QAC1D,iEAAiE;QACjE,EAAE;QACF,4EAA4E;QAC5E,yEAAyE;QACzE,2BAA2B;QAC3B,EAAE;QACF,yCAAyC;QACzC,2DAA2D;QAC3D,qDAAqD;QACrD,oDAAoD;QACpD,uEAAuE;QACvE,QAAQ,GAAG,YAAY,CAAC,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC;IAChD,CAAC,CAAC;IAEF,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,KAAK,CAAC,MAAM,EAAE,CAAC,IAAI,CAAC,EAAE,CAAC;QACzC,MAAM,WAAW,GAAG,QAAQ,CAAC,IAAI,EAAE,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC,CAAC;QAC3C,MAAM,OAAO,GAAG,KAAK,CAAC,CAAC,CAAC,CAAC;QAEzB,MAAM,iBAAiB,GAAG,cAAc,CAAC,cAAc,EAAE,OAAO,EAAE,CAAC,EAAE,KAAK,CAAC,CAAC;QAC5E,IAAI,CAAC,iBAAiB,EAAE,CAAC;YACvB,eAAe;YACf,mEAAmE;YACnE,0EAA0E;YAC1E,aAAa;YACb,8BAA8B;YAC9B,iCAAiC;YACjC,yEAAyE;YACzE,gEAAgE;YAEhE,oBAAoB,EAAE,CAAC;YACvB,SAAS;QACX,CAAC;QACD,uFAAuF;QACvF,CAAC,IAAI,iBAAiB,CAAC,MAAM,GAAG,CAAC,CAAC;QAElC,MAAM,cAAc,GAAG,iBAAiB,CAAC,CAAC,CAAC,CAAC;QAC5C,IAAI,WAAW,EAAE,CAAC;YAChB,MAAM,gBAAgB,GAAG,IAAA,2BAAY,EACnC,WAAW,CAAC,YAAY;YACxB,sFAAsF;YACtF,wDAAwD;YACxD,oCAAoC;YACpC,iBAAiB,CAAC,iBAAiB,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC,YAAY,CAC7D,CAAC;YACF,IAAI,gBAAgB,+CAAgC,EAAE,CAAC;gBACrD,4DAA4D;gBAC5D,QAAQ,CAAC,IAAI,CAAC,cAAc,CAAC,CAAC;YAChC,CAAC;iBAAM,IAAI,gBAAgB,iDAAiC,EAAE,CAAC;gBAC7D,oBAAoB,CAAC,iBAAiB,CAAC,CAAC;YAC1C,CAAC;iBAAM,CAAC;gBACN,oEAAoE;gBACpE,qDAAqD;gBACrD,aAAa;YACf,CAAC;QACH,CAAC;aAAM,CAAC;YACN,QAAQ,CAAC,IAAI,CAAC,cAAc,CAAC,CAAC;QAChC,CAAC;IACH,CAAC;IAED,sBAAsB;IACtB,oBAAoB,EAAE,CAAC;AACzB,CAAC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-optional-chain-utils/checkNullishAndReport.js b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-optional-chain-utils/checkNullishAndReport.js index fe50be1343..9e308d351a 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-optional-chain-utils/checkNullishAndReport.js +++ b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-optional-chain-utils/checkNullishAndReport.js @@ -15,13 +15,23 @@ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? ( }) : function(o, v) { o["default"] = v; }); -var __importStar = (this && this.__importStar) || function (mod) { - if (mod && mod.__esModule) return mod; - var result = {}; - if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k); - __setModuleDefault(result, mod); - return result; -}; +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); Object.defineProperty(exports, "__esModule", { value: true }); exports.checkNullishAndReport = checkNullishAndReport; const type_utils_1 = require("@typescript-eslint/type-utils"); diff --git a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-optional-chain-utils/checkNullishAndReport.js.map b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-optional-chain-utils/checkNullishAndReport.js.map index b1188b7f30..a884281469 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-optional-chain-utils/checkNullishAndReport.js.map +++ b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-optional-chain-utils/checkNullishAndReport.js.map @@ -1 +1 @@ -{"version":3,"file":"checkNullishAndReport.js","sourceRoot":"","sources":["../../../src/rules/prefer-optional-chain-utils/checkNullishAndReport.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AAkBA,sDAoBC;AA7BD,8DAA8D;AAC9D,+CAA8C;AAC9C,+CAAiC;AAOjC,SAAgB,qBAAqB,CACnC,OAGC,EACD,cAAiD,EACjD,EAAE,cAAc,EAA8B,EAC9C,iBAAwC,EACxC,UAA2D;IAE3D,IACE,CAAC,cAAc;QACf,iBAAiB,CAAC,IAAI,CAAC,IAAI,CAAC,EAAE,CAC5B,IAAA,6BAAc,EAAC,cAAc,CAAC,iBAAiB,CAAC,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,CAC9D,IAAA,0BAAa,EAAC,CAAC,EAAE,EAAE,CAAC,SAAS,CAAC,IAAI,GAAG,EAAE,CAAC,SAAS,CAAC,SAAS,CAAC,CAC7D,CACF,EACD,CAAC;QACD,OAAO,CAAC,MAAM,CAAC,UAAU,CAAC,CAAC;IAC7B,CAAC;AACH,CAAC"} \ No newline at end of file +{"version":3,"file":"checkNullishAndReport.js","sourceRoot":"","sources":["../../../src/rules/prefer-optional-chain-utils/checkNullishAndReport.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAkBA,sDAoBC;AA7BD,8DAA8D;AAC9D,+CAA8C;AAC9C,+CAAiC;AAOjC,SAAgB,qBAAqB,CACnC,OAGC,EACD,cAAiD,EACjD,EAAE,cAAc,EAA8B,EAC9C,iBAAwC,EACxC,UAA2D;IAE3D,IACE,CAAC,cAAc;QACf,iBAAiB,CAAC,IAAI,CAAC,IAAI,CAAC,EAAE,CAC5B,IAAA,6BAAc,EAAC,cAAc,CAAC,iBAAiB,CAAC,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,CAC9D,IAAA,0BAAa,EAAC,CAAC,EAAE,EAAE,CAAC,SAAS,CAAC,IAAI,GAAG,EAAE,CAAC,SAAS,CAAC,SAAS,CAAC,CAC7D,CACF,EACD,CAAC;QACD,OAAO,CAAC,MAAM,CAAC,UAAU,CAAC,CAAC;IAC7B,CAAC;AACH,CAAC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-optional-chain-utils/gatherLogicalOperands.js b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-optional-chain-utils/gatherLogicalOperands.js index 1aaafd1c2d..44d54c6e00 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-optional-chain-utils/gatherLogicalOperands.js +++ b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-optional-chain-utils/gatherLogicalOperands.js @@ -15,13 +15,23 @@ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? ( }) : function(o, v) { o["default"] = v; }); -var __importStar = (this && this.__importStar) || function (mod) { - if (mod && mod.__esModule) return mod; - var result = {}; - if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k); - __setModuleDefault(result, mod); - return result; -}; +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); Object.defineProperty(exports, "__esModule", { value: true }); exports.gatherLogicalOperands = gatherLogicalOperands; const utils_1 = require("@typescript-eslint/utils"); diff --git a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-optional-chain-utils/gatherLogicalOperands.js.map b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-optional-chain-utils/gatherLogicalOperands.js.map index 0360591d12..5aa1345b7b 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-optional-chain-utils/gatherLogicalOperands.js.map +++ b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-optional-chain-utils/gatherLogicalOperands.js.map @@ -1 +1 @@ -{"version":3,"file":"gatherLogicalOperands.js","sourceRoot":"","sources":["../../../src/rules/prefer-optional-chain-utils/gatherLogicalOperands.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AAoHA,sDAkQC;AAhXD,oDAA0D;AAC1D,+CAMsB;AACtB,+CAAiC;AAIjC,qCAAwE;AA4CxE,MAAM,aAAa,GAAG,EAAE,CAAC,SAAS,CAAC,IAAI,GAAG,EAAE,CAAC,SAAS,CAAC,SAAS,CAAC;AACjE,SAAS,4BAA4B,CACnC,IAAmB,EACnB,qBAA8B,EAC9B,cAAiD,EACjD,OAAmC;IAEnC,MAAM,IAAI,GAAG,cAAc,CAAC,iBAAiB,CAAC,IAAI,CAAC,CAAC;IACpD,MAAM,KAAK,GAAG,IAAA,6BAAc,EAAC,IAAI,CAAC,CAAC;IAEnC,IACE,qBAAqB;QACrB;;;;;;;;;;UAUE,CAAC,CAAC,KAAK,CAAC,IAAI,CACZ,CAAC,CAAC,EAAE,CAAC,IAAA,mCAAoB,EAAC,CAAC,CAAC,IAAI,CAAC,CAAC,aAAa,KAAK,OAAO,CAC5D;YACC,KAAK,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,CAAC,IAAA,kCAAmB,EAAC,CAAC,CAAC,IAAI,CAAC,CAAC,KAAK,KAAK,EAAE,CAAC;YACzD,KAAK,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,CAAC,IAAA,kCAAmB,EAAC,CAAC,CAAC,IAAI,CAAC,CAAC,KAAK,KAAK,CAAC,CAAC;YACxD,KAAK,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,CAAC,IAAA,kCAAmB,EAAC,CAAC,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,WAAW,KAAK,GAAG,CAAC,CAAC,EACzE,CAAC;QACD,OAAO,KAAK,CAAC;IACf,CAAC;IAED,IAAI,YAAY,GAAG,aAAa,GAAG,EAAE,CAAC,SAAS,CAAC,MAAM,CAAC;IACvD,IAAI,OAAO,CAAC,QAAQ,KAAK,IAAI,EAAE,CAAC;QAC9B,YAAY,IAAI,EAAE,CAAC,SAAS,CAAC,GAAG,CAAC;IACnC,CAAC;IACD,IAAI,OAAO,CAAC,YAAY,KAAK,IAAI,EAAE,CAAC;QAClC,YAAY,IAAI,EAAE,CAAC,SAAS,CAAC,OAAO,CAAC;IACvC,CAAC;IACD,IAAI,OAAO,CAAC,WAAW,KAAK,IAAI,EAAE,CAAC;QACjC,YAAY,IAAI,EAAE,CAAC,SAAS,CAAC,UAAU,CAAC;IAC1C,CAAC;IACD,IAAI,OAAO,CAAC,WAAW,KAAK,IAAI,EAAE,CAAC;QACjC,YAAY,IAAI,EAAE,CAAC,SAAS,CAAC,UAAU,CAAC;IAC1C,CAAC;IACD,IAAI,OAAO,CAAC,YAAY,KAAK,IAAI,EAAE,CAAC;QAClC,YAAY,IAAI,EAAE,CAAC,SAAS,CAAC,WAAW,CAAC;IAC3C,CAAC;IACD,IAAI,OAAO,CAAC,WAAW,KAAK,IAAI,EAAE,CAAC;QACjC,YAAY,IAAI,EAAE,CAAC,SAAS,CAAC,UAAU,CAAC;IAC1C,CAAC;IACD,OAAO,KAAK,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,CAAC,IAAA,oBAAa,EAAC,CAAC,EAAE,YAAY,CAAC,CAAC,CAAC;AAC1D,CAAC;AAED,SAAgB,qBAAqB,CACnC,IAAgC,EAChC,cAAiD,EACjD,UAAgC,EAChC,OAAmC;IAKnC,MAAM,MAAM,GAAc,EAAE,CAAC;IAC7B,MAAM,EAAE,iBAAiB,EAAE,QAAQ,EAAE,GAAG,sBAAsB,CAAC,IAAI,CAAC,CAAC;IAErE,KAAK,MAAM,OAAO,IAAI,QAAQ,EAAE,CAAC;QAC/B,MAAM,eAAe,GAAG,OAAO,KAAK,QAAQ,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC,CAAC;QACpD,QAAQ,OAAO,CAAC,IAAI,EAAE,CAAC;YACrB,KAAK,sBAAc,CAAC,gBAAgB,CAAC,CAAC,CAAC;gBACrC,4CAA4C;gBAE5C,MAAM,EAAE,kBAAkB,EAAE,aAAa,EAAE,MAAM,EAAE,GAAG,CAAC,GAAG,EAAE;oBAC1D,sEAAsE;oBACtE,MAAM,kBAAkB,GAAG,sBAAsB,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC;oBACjE,IAAI,kBAAkB,EAAE,CAAC;wBACvB,OAAO;4BACL,kBAAkB,EAAE,OAAO,CAAC,IAAI;4BAChC,aAAa,EAAE,kBAAkB;4BACjC,MAAM,EAAE,KAAK;yBACd,CAAC;oBACJ,CAAC;oBACD,OAAO;wBACL,kBAAkB,EAAE,OAAO,CAAC,KAAK;wBACjC,aAAa,EAAE,sBAAsB,CAAC,OAAO,CAAC,IAAI,CAAC;wBACnD,MAAM,EAAE,IAAI;qBACb,CAAC;gBACJ,CAAC,CAAC,EAAE,CAAC;gBAEL,IAAI,aAAa,8EAA+C,EAAE,CAAC;oBACjE,IACE,kBAAkB,CAAC,IAAI,KAAK,sBAAc,CAAC,eAAe;wBAC1D,kBAAkB,CAAC,QAAQ,KAAK,QAAQ,EACxC,CAAC;wBACD,MAAM,QAAQ,GAAG,kBAAkB,CAAC,QAAQ,CAAC;wBAC7C,IACE,QAAQ,CAAC,IAAI,KAAK,sBAAc,CAAC,UAAU;4BAC3C,gCAAgC;4BAChC,IAAA,kCAA2B,EAAC,QAAQ,CAAC,IAAI,EAAE,QAAQ,EAAE,UAAU,CAAC,EAChE,CAAC;4BACD,MAAM,CAAC,IAAI,CAAC,EAAE,IAAI,yCAAyB,EAAE,CAAC,CAAC;4BAC/C,SAAS;wBACX,CAAC;wBAED,6BAA6B;wBAC7B,MAAM,CAAC,IAAI,CAAC;4BACV,YAAY,EAAE,kBAAkB,CAAC,QAAQ;4BACzC,cAAc,EAAE,OAAO,CAAC,QAAQ,CAAC,UAAU,CAAC,GAAG,CAAC;gCAC9C,CAAC;gCACD,CAAC,wEAA2C;4BAC9C,MAAM;4BACN,IAAI,EAAE,OAAO;4BACb,IAAI,qCAAuB;yBAC5B,CAAC,CAAC;wBACH,SAAS;oBACX,CAAC;oBAED,oBAAoB;oBACpB,MAAM,CAAC,IAAI,CAAC,EAAE,IAAI,yCAAyB,EAAE,CAAC,CAAC;oBAC/C,SAAS;gBACX,CAAC;gBAED,QAAQ,OAAO,CAAC,QAAQ,EAAE,CAAC;oBACzB,KAAK,IAAI,CAAC;oBACV,KAAK,IAAI;wBACP,IACE,aAAa,0CAA6B;4BAC1C,aAAa,oDAAkC,EAC/C,CAAC;4BACD,4BAA4B;4BAC5B,MAAM,CAAC,IAAI,CAAC;gCACV,YAAY,EAAE,kBAAkB;gCAChC,cAAc,EAAE,OAAO,CAAC,QAAQ,CAAC,UAAU,CAAC,GAAG,CAAC;oCAC9C,CAAC;oCACD,CAAC,wEAA2C;gCAC9C,MAAM;gCACN,IAAI,EAAE,OAAO;gCACb,IAAI,qCAAuB;6BAC5B,CAAC,CAAC;4BACH,SAAS;wBACX,CAAC;wBACD,oBAAoB;wBACpB,MAAM,CAAC,IAAI,CAAC,EAAE,IAAI,yCAAyB,EAAE,CAAC,CAAC;wBAC/C,SAAS;oBAEX,KAAK,KAAK,CAAC;oBACX,KAAK,KAAK,CAAC,CAAC,CAAC;wBACX,MAAM,YAAY,GAAG,kBAAkB,CAAC;wBACxC,QAAQ,aAAa,EAAE,CAAC;4BACtB;gCACE,MAAM,CAAC,IAAI,CAAC;oCACV,YAAY;oCACZ,cAAc,EAAE,OAAO,CAAC,QAAQ,CAAC,UAAU,CAAC,GAAG,CAAC;wCAC9C,CAAC;wCACD,CAAC,8DAAsC;oCACzC,MAAM;oCACN,IAAI,EAAE,OAAO;oCACb,IAAI,qCAAuB;iCAC5B,CAAC,CAAC;gCACH,SAAS;4BAEX;gCACE,MAAM,CAAC,IAAI,CAAC;oCACV,YAAY;oCACZ,cAAc,EAAE,OAAO,CAAC,QAAQ,CAAC,UAAU,CAAC,GAAG,CAAC;wCAC9C,CAAC;wCACD,CAAC,wEAA2C;oCAC9C,MAAM;oCACN,IAAI,EAAE,OAAO;oCACb,IAAI,qCAAuB;iCAC5B,CAAC,CAAC;gCACH,SAAS;4BAEX;gCACE,qBAAqB;gCACrB,MAAM,CAAC,IAAI,CAAC,EAAE,IAAI,yCAAyB,EAAE,CAAC,CAAC;gCAC/C,SAAS;wBACb,CAAC;oBACH,CAAC;gBACH,CAAC;gBAED,MAAM,CAAC,IAAI,CAAC,EAAE,IAAI,yCAAyB,EAAE,CAAC,CAAC;gBAC/C,SAAS;YACX,CAAC;YAED,KAAK,sBAAc,CAAC,eAAe;gBACjC,IACE,OAAO,CAAC,QAAQ,KAAK,GAAG;oBACxB,4BAA4B,CAC1B,OAAO,CAAC,QAAQ,EAChB,eAAe,IAAI,IAAI,CAAC,QAAQ,KAAK,IAAI,EACzC,cAAc,EACd,OAAO,CACR,EACD,CAAC;oBACD,MAAM,CAAC,IAAI,CAAC;wBACV,YAAY,EAAE,OAAO,CAAC,QAAQ;wBAC9B,cAAc,qDAAkC;wBAChD,MAAM,EAAE,KAAK;wBACb,IAAI,EAAE,OAAO;wBACb,IAAI,qCAAuB;qBAC5B,CAAC,CAAC;oBACH,SAAS;gBACX,CAAC;gBACD,MAAM,CAAC,IAAI,CAAC,EAAE,IAAI,yCAAyB,EAAE,CAAC,CAAC;gBAC/C,SAAS;YAEX,KAAK,sBAAc,CAAC,iBAAiB;gBACnC,uDAAuD;gBACvD,MAAM,CAAC,IAAI,CAAC,EAAE,IAAI,yCAAyB,EAAE,CAAC,CAAC;gBAC/C,SAAS;YAEX;gBACE,IACE,4BAA4B,CAC1B,OAAO,EACP,eAAe,IAAI,IAAI,CAAC,QAAQ,KAAK,IAAI,EACzC,cAAc,EACd,OAAO,CACR,EACD,CAAC;oBACD,MAAM,CAAC,IAAI,CAAC;wBACV,YAAY,EAAE,OAAO;wBACrB,cAAc,+CAA+B;wBAC7C,MAAM,EAAE,KAAK;wBACb,IAAI,EAAE,OAAO;wBACb,IAAI,qCAAuB;qBAC5B,CAAC,CAAC;gBACL,CAAC;qBAAM,CAAC;oBACN,MAAM,CAAC,IAAI,CAAC,EAAE,IAAI,yCAAyB,EAAE,CAAC,CAAC;gBACjD,CAAC;gBACD,SAAS;QACb,CAAC;IACH,CAAC;IAED,OAAO;QACL,iBAAiB;QACjB,QAAQ,EAAE,MAAM;KACjB,CAAC;IAEF;;;;;;;;;;;;;;;;;;;;MAoBE;IACF,SAAS,sBAAsB,CAAC,IAAgC;QAI9D,MAAM,QAAQ,GAA0B,EAAE,CAAC;QAC3C,MAAM,iBAAiB,GAAG,IAAI,GAAG,CAA6B,CAAC,IAAI,CAAC,CAAC,CAAC;QAEtE,MAAM,KAAK,GAA0B,CAAC,IAAI,CAAC,KAAK,EAAE,IAAI,CAAC,IAAI,CAAC,CAAC;QAC7D,IAAI,OAAwC,CAAC;QAC7C,OAAO,CAAC,OAAO,GAAG,KAAK,CAAC,GAAG,EAAE,CAAC,EAAE,CAAC;YAC/B,IACE,OAAO,CAAC,IAAI,KAAK,sBAAc,CAAC,iBAAiB;gBACjD,OAAO,CAAC,QAAQ,KAAK,IAAI,CAAC,QAAQ,EAClC,CAAC;gBACD,iBAAiB,CAAC,GAAG,CAAC,OAAO,CAAC,CAAC;gBAC/B,KAAK,CAAC,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC;gBAC1B,KAAK,CAAC,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC;YAC3B,CAAC;iBAAM,CAAC;gBACN,QAAQ,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;YACzB,CAAC;QACH,CAAC;QAED,OAAO;YACL,iBAAiB;YACjB,QAAQ;SACT,CAAC;IACJ,CAAC;IAED,SAAS,sBAAsB,CAC7B,IAAmB;QAEnB,QAAQ,IAAI,CAAC,IAAI,EAAE,CAAC;YAClB,KAAK,sBAAc,CAAC,OAAO;gBACzB,+EAA+E;gBAC/E,IAAI,IAAI,CAAC,KAAK,KAAK,IAAI,IAAI,IAAI,CAAC,GAAG,KAAK,MAAM,EAAE,CAAC;oBAC/C,6CAAgC;gBAClC,CAAC;gBACD,IAAI,IAAI,CAAC,KAAK,KAAK,WAAW,EAAE,CAAC;oBAC/B,iFAAkD;gBACpD,CAAC;gBACD,OAAO,IAAI,CAAC;YAEd,KAAK,sBAAc,CAAC,UAAU;gBAC5B,IAAI,IAAI,CAAC,IAAI,KAAK,WAAW,EAAE,CAAC;oBAC9B,uDAAqC;gBACvC,CAAC;gBACD,OAAO,IAAI,CAAC;QAChB,CAAC;QAED,OAAO,IAAI,CAAC;IACd,CAAC;AACH,CAAC"} \ No newline at end of file +{"version":3,"file":"gatherLogicalOperands.js","sourceRoot":"","sources":["../../../src/rules/prefer-optional-chain-utils/gatherLogicalOperands.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAoHA,sDAkQC;AAhXD,oDAA0D;AAC1D,+CAMsB;AACtB,+CAAiC;AAIjC,qCAAwE;AA4CxE,MAAM,aAAa,GAAG,EAAE,CAAC,SAAS,CAAC,IAAI,GAAG,EAAE,CAAC,SAAS,CAAC,SAAS,CAAC;AACjE,SAAS,4BAA4B,CACnC,IAAmB,EACnB,qBAA8B,EAC9B,cAAiD,EACjD,OAAmC;IAEnC,MAAM,IAAI,GAAG,cAAc,CAAC,iBAAiB,CAAC,IAAI,CAAC,CAAC;IACpD,MAAM,KAAK,GAAG,IAAA,6BAAc,EAAC,IAAI,CAAC,CAAC;IAEnC,IACE,qBAAqB;QACrB;;;;;;;;;;UAUE,CAAC,CAAC,KAAK,CAAC,IAAI,CACZ,CAAC,CAAC,EAAE,CAAC,IAAA,mCAAoB,EAAC,CAAC,CAAC,IAAI,CAAC,CAAC,aAAa,KAAK,OAAO,CAC5D;YACC,KAAK,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,CAAC,IAAA,kCAAmB,EAAC,CAAC,CAAC,IAAI,CAAC,CAAC,KAAK,KAAK,EAAE,CAAC;YACzD,KAAK,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,CAAC,IAAA,kCAAmB,EAAC,CAAC,CAAC,IAAI,CAAC,CAAC,KAAK,KAAK,CAAC,CAAC;YACxD,KAAK,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,CAAC,IAAA,kCAAmB,EAAC,CAAC,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,WAAW,KAAK,GAAG,CAAC,CAAC,EACzE,CAAC;QACD,OAAO,KAAK,CAAC;IACf,CAAC;IAED,IAAI,YAAY,GAAG,aAAa,GAAG,EAAE,CAAC,SAAS,CAAC,MAAM,CAAC;IACvD,IAAI,OAAO,CAAC,QAAQ,KAAK,IAAI,EAAE,CAAC;QAC9B,YAAY,IAAI,EAAE,CAAC,SAAS,CAAC,GAAG,CAAC;IACnC,CAAC;IACD,IAAI,OAAO,CAAC,YAAY,KAAK,IAAI,EAAE,CAAC;QAClC,YAAY,IAAI,EAAE,CAAC,SAAS,CAAC,OAAO,CAAC;IACvC,CAAC;IACD,IAAI,OAAO,CAAC,WAAW,KAAK,IAAI,EAAE,CAAC;QACjC,YAAY,IAAI,EAAE,CAAC,SAAS,CAAC,UAAU,CAAC;IAC1C,CAAC;IACD,IAAI,OAAO,CAAC,WAAW,KAAK,IAAI,EAAE,CAAC;QACjC,YAAY,IAAI,EAAE,CAAC,SAAS,CAAC,UAAU,CAAC;IAC1C,CAAC;IACD,IAAI,OAAO,CAAC,YAAY,KAAK,IAAI,EAAE,CAAC;QAClC,YAAY,IAAI,EAAE,CAAC,SAAS,CAAC,WAAW,CAAC;IAC3C,CAAC;IACD,IAAI,OAAO,CAAC,WAAW,KAAK,IAAI,EAAE,CAAC;QACjC,YAAY,IAAI,EAAE,CAAC,SAAS,CAAC,UAAU,CAAC;IAC1C,CAAC;IACD,OAAO,KAAK,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,CAAC,IAAA,oBAAa,EAAC,CAAC,EAAE,YAAY,CAAC,CAAC,CAAC;AAC1D,CAAC;AAED,SAAgB,qBAAqB,CACnC,IAAgC,EAChC,cAAiD,EACjD,UAAgC,EAChC,OAAmC;IAKnC,MAAM,MAAM,GAAc,EAAE,CAAC;IAC7B,MAAM,EAAE,iBAAiB,EAAE,QAAQ,EAAE,GAAG,sBAAsB,CAAC,IAAI,CAAC,CAAC;IAErE,KAAK,MAAM,OAAO,IAAI,QAAQ,EAAE,CAAC;QAC/B,MAAM,eAAe,GAAG,OAAO,KAAK,QAAQ,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC,CAAC;QACpD,QAAQ,OAAO,CAAC,IAAI,EAAE,CAAC;YACrB,KAAK,sBAAc,CAAC,gBAAgB,CAAC,CAAC,CAAC;gBACrC,4CAA4C;gBAE5C,MAAM,EAAE,kBAAkB,EAAE,aAAa,EAAE,MAAM,EAAE,GAAG,CAAC,GAAG,EAAE;oBAC1D,sEAAsE;oBACtE,MAAM,kBAAkB,GAAG,sBAAsB,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC;oBACjE,IAAI,kBAAkB,EAAE,CAAC;wBACvB,OAAO;4BACL,kBAAkB,EAAE,OAAO,CAAC,IAAI;4BAChC,aAAa,EAAE,kBAAkB;4BACjC,MAAM,EAAE,KAAK;yBACd,CAAC;oBACJ,CAAC;oBACD,OAAO;wBACL,kBAAkB,EAAE,OAAO,CAAC,KAAK;wBACjC,aAAa,EAAE,sBAAsB,CAAC,OAAO,CAAC,IAAI,CAAC;wBACnD,MAAM,EAAE,IAAI;qBACb,CAAC;gBACJ,CAAC,CAAC,EAAE,CAAC;gBAEL,IAAI,aAAa,8EAA+C,EAAE,CAAC;oBACjE,IACE,kBAAkB,CAAC,IAAI,KAAK,sBAAc,CAAC,eAAe;wBAC1D,kBAAkB,CAAC,QAAQ,KAAK,QAAQ,EACxC,CAAC;wBACD,MAAM,QAAQ,GAAG,kBAAkB,CAAC,QAAQ,CAAC;wBAC7C,IACE,QAAQ,CAAC,IAAI,KAAK,sBAAc,CAAC,UAAU;4BAC3C,gCAAgC;4BAChC,IAAA,kCAA2B,EAAC,QAAQ,CAAC,IAAI,EAAE,QAAQ,EAAE,UAAU,CAAC,EAChE,CAAC;4BACD,MAAM,CAAC,IAAI,CAAC,EAAE,IAAI,yCAAyB,EAAE,CAAC,CAAC;4BAC/C,SAAS;wBACX,CAAC;wBAED,6BAA6B;wBAC7B,MAAM,CAAC,IAAI,CAAC;4BACV,YAAY,EAAE,kBAAkB,CAAC,QAAQ;4BACzC,cAAc,EAAE,OAAO,CAAC,QAAQ,CAAC,UAAU,CAAC,GAAG,CAAC;gCAC9C,CAAC;gCACD,CAAC,wEAA2C;4BAC9C,MAAM;4BACN,IAAI,EAAE,OAAO;4BACb,IAAI,qCAAuB;yBAC5B,CAAC,CAAC;wBACH,SAAS;oBACX,CAAC;oBAED,oBAAoB;oBACpB,MAAM,CAAC,IAAI,CAAC,EAAE,IAAI,yCAAyB,EAAE,CAAC,CAAC;oBAC/C,SAAS;gBACX,CAAC;gBAED,QAAQ,OAAO,CAAC,QAAQ,EAAE,CAAC;oBACzB,KAAK,IAAI,CAAC;oBACV,KAAK,IAAI;wBACP,IACE,aAAa,0CAA6B;4BAC1C,aAAa,oDAAkC,EAC/C,CAAC;4BACD,4BAA4B;4BAC5B,MAAM,CAAC,IAAI,CAAC;gCACV,YAAY,EAAE,kBAAkB;gCAChC,cAAc,EAAE,OAAO,CAAC,QAAQ,CAAC,UAAU,CAAC,GAAG,CAAC;oCAC9C,CAAC;oCACD,CAAC,wEAA2C;gCAC9C,MAAM;gCACN,IAAI,EAAE,OAAO;gCACb,IAAI,qCAAuB;6BAC5B,CAAC,CAAC;4BACH,SAAS;wBACX,CAAC;wBACD,oBAAoB;wBACpB,MAAM,CAAC,IAAI,CAAC,EAAE,IAAI,yCAAyB,EAAE,CAAC,CAAC;wBAC/C,SAAS;oBAEX,KAAK,KAAK,CAAC;oBACX,KAAK,KAAK,CAAC,CAAC,CAAC;wBACX,MAAM,YAAY,GAAG,kBAAkB,CAAC;wBACxC,QAAQ,aAAa,EAAE,CAAC;4BACtB;gCACE,MAAM,CAAC,IAAI,CAAC;oCACV,YAAY;oCACZ,cAAc,EAAE,OAAO,CAAC,QAAQ,CAAC,UAAU,CAAC,GAAG,CAAC;wCAC9C,CAAC;wCACD,CAAC,8DAAsC;oCACzC,MAAM;oCACN,IAAI,EAAE,OAAO;oCACb,IAAI,qCAAuB;iCAC5B,CAAC,CAAC;gCACH,SAAS;4BAEX;gCACE,MAAM,CAAC,IAAI,CAAC;oCACV,YAAY;oCACZ,cAAc,EAAE,OAAO,CAAC,QAAQ,CAAC,UAAU,CAAC,GAAG,CAAC;wCAC9C,CAAC;wCACD,CAAC,wEAA2C;oCAC9C,MAAM;oCACN,IAAI,EAAE,OAAO;oCACb,IAAI,qCAAuB;iCAC5B,CAAC,CAAC;gCACH,SAAS;4BAEX;gCACE,qBAAqB;gCACrB,MAAM,CAAC,IAAI,CAAC,EAAE,IAAI,yCAAyB,EAAE,CAAC,CAAC;gCAC/C,SAAS;wBACb,CAAC;oBACH,CAAC;gBACH,CAAC;gBAED,MAAM,CAAC,IAAI,CAAC,EAAE,IAAI,yCAAyB,EAAE,CAAC,CAAC;gBAC/C,SAAS;YACX,CAAC;YAED,KAAK,sBAAc,CAAC,eAAe;gBACjC,IACE,OAAO,CAAC,QAAQ,KAAK,GAAG;oBACxB,4BAA4B,CAC1B,OAAO,CAAC,QAAQ,EAChB,eAAe,IAAI,IAAI,CAAC,QAAQ,KAAK,IAAI,EACzC,cAAc,EACd,OAAO,CACR,EACD,CAAC;oBACD,MAAM,CAAC,IAAI,CAAC;wBACV,YAAY,EAAE,OAAO,CAAC,QAAQ;wBAC9B,cAAc,qDAAkC;wBAChD,MAAM,EAAE,KAAK;wBACb,IAAI,EAAE,OAAO;wBACb,IAAI,qCAAuB;qBAC5B,CAAC,CAAC;oBACH,SAAS;gBACX,CAAC;gBACD,MAAM,CAAC,IAAI,CAAC,EAAE,IAAI,yCAAyB,EAAE,CAAC,CAAC;gBAC/C,SAAS;YAEX,KAAK,sBAAc,CAAC,iBAAiB;gBACnC,uDAAuD;gBACvD,MAAM,CAAC,IAAI,CAAC,EAAE,IAAI,yCAAyB,EAAE,CAAC,CAAC;gBAC/C,SAAS;YAEX;gBACE,IACE,4BAA4B,CAC1B,OAAO,EACP,eAAe,IAAI,IAAI,CAAC,QAAQ,KAAK,IAAI,EACzC,cAAc,EACd,OAAO,CACR,EACD,CAAC;oBACD,MAAM,CAAC,IAAI,CAAC;wBACV,YAAY,EAAE,OAAO;wBACrB,cAAc,+CAA+B;wBAC7C,MAAM,EAAE,KAAK;wBACb,IAAI,EAAE,OAAO;wBACb,IAAI,qCAAuB;qBAC5B,CAAC,CAAC;gBACL,CAAC;qBAAM,CAAC;oBACN,MAAM,CAAC,IAAI,CAAC,EAAE,IAAI,yCAAyB,EAAE,CAAC,CAAC;gBACjD,CAAC;gBACD,SAAS;QACb,CAAC;IACH,CAAC;IAED,OAAO;QACL,iBAAiB;QACjB,QAAQ,EAAE,MAAM;KACjB,CAAC;IAEF;;;;;;;;;;;;;;;;;;;;MAoBE;IACF,SAAS,sBAAsB,CAAC,IAAgC;QAI9D,MAAM,QAAQ,GAA0B,EAAE,CAAC;QAC3C,MAAM,iBAAiB,GAAG,IAAI,GAAG,CAA6B,CAAC,IAAI,CAAC,CAAC,CAAC;QAEtE,MAAM,KAAK,GAA0B,CAAC,IAAI,CAAC,KAAK,EAAE,IAAI,CAAC,IAAI,CAAC,CAAC;QAC7D,IAAI,OAAwC,CAAC;QAC7C,OAAO,CAAC,OAAO,GAAG,KAAK,CAAC,GAAG,EAAE,CAAC,EAAE,CAAC;YAC/B,IACE,OAAO,CAAC,IAAI,KAAK,sBAAc,CAAC,iBAAiB;gBACjD,OAAO,CAAC,QAAQ,KAAK,IAAI,CAAC,QAAQ,EAClC,CAAC;gBACD,iBAAiB,CAAC,GAAG,CAAC,OAAO,CAAC,CAAC;gBAC/B,KAAK,CAAC,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC;gBAC1B,KAAK,CAAC,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC;YAC3B,CAAC;iBAAM,CAAC;gBACN,QAAQ,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;YACzB,CAAC;QACH,CAAC;QAED,OAAO;YACL,iBAAiB;YACjB,QAAQ;SACT,CAAC;IACJ,CAAC;IAED,SAAS,sBAAsB,CAC7B,IAAmB;QAEnB,QAAQ,IAAI,CAAC,IAAI,EAAE,CAAC;YAClB,KAAK,sBAAc,CAAC,OAAO;gBACzB,+EAA+E;gBAC/E,IAAI,IAAI,CAAC,KAAK,KAAK,IAAI,IAAI,IAAI,CAAC,GAAG,KAAK,MAAM,EAAE,CAAC;oBAC/C,6CAAgC;gBAClC,CAAC;gBACD,IAAI,IAAI,CAAC,KAAK,KAAK,WAAW,EAAE,CAAC;oBAC/B,iFAAkD;gBACpD,CAAC;gBACD,OAAO,IAAI,CAAC;YAEd,KAAK,sBAAc,CAAC,UAAU;gBAC5B,IAAI,IAAI,CAAC,IAAI,KAAK,WAAW,EAAE,CAAC;oBAC9B,uDAAqC;gBACvC,CAAC;gBACD,OAAO,IAAI,CAAC;QAChB,CAAC;QAED,OAAO,IAAI,CAAC;IACd,CAAC;AACH,CAAC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-readonly.js b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-readonly.js index 2a40caa174..18413996db 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-readonly.js +++ b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-readonly.js @@ -15,13 +15,23 @@ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? ( }) : function(o, v) { o["default"] = v; }); -var __importStar = (this && this.__importStar) || function (mod) { - if (mod && mod.__esModule) return mod; - var result = {}; - if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k); - __setModuleDefault(result, mod); - return result; -}; +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); Object.defineProperty(exports, "__esModule", { value: true }); const utils_1 = require("@typescript-eslint/utils"); const tsutils = __importStar(require("ts-api-utils")); diff --git a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-readonly.js.map b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-readonly.js.map index 73488f3ea9..cdf5ade641 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-readonly.js.map +++ b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-readonly.js.map @@ -1 +1 @@ -{"version":3,"file":"prefer-readonly.js","sourceRoot":"","sources":["../../src/rules/prefer-readonly.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AAEA,oDAAoE;AACpE,sDAAwC;AACxC,+CAAiC;AAEjC,kCAKiB;AACjB,+DAGkC;AASlC,MAAM,uBAAuB,GAAG;IAC9B,sBAAc,CAAC,uBAAuB;IACtC,sBAAc,CAAC,mBAAmB;IAClC,sBAAc,CAAC,kBAAkB;IACjC,sBAAc,CAAC,gBAAgB;CAChC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;AAEb,kBAAe,IAAA,iBAAU,EAAsB;IAC7C,IAAI,EAAE,iBAAiB;IACvB,IAAI,EAAE;QACJ,IAAI,EAAE,YAAY;QAClB,IAAI,EAAE;YACJ,WAAW,EACT,yGAAyG;YAC3G,oBAAoB,EAAE,IAAI;SAC3B;QACD,OAAO,EAAE,MAAM;QACf,QAAQ,EAAE;YACR,cAAc,EACZ,+DAA+D;SAClE;QACD,MAAM,EAAE;YACN;gBACE,IAAI,EAAE,QAAQ;gBACd,oBAAoB,EAAE,KAAK;gBAC3B,UAAU,EAAE;oBACV,iBAAiB,EAAE;wBACjB,IAAI,EAAE,SAAS;wBACf,WAAW,EACT,mFAAmF;qBACtF;iBACF;aACF;SACF;KACF;IACD,cAAc,EAAE,CAAC,EAAE,iBAAiB,EAAE,KAAK,EAAE,CAAC;IAC9C,MAAM,CAAC,OAAO,EAAE,CAAC,EAAE,iBAAiB,EAAE,CAAC;QACrC,MAAM,QAAQ,GAAG,IAAA,wBAAiB,EAAC,OAAO,CAAC,CAAC;QAC5C,MAAM,OAAO,GAAG,QAAQ,CAAC,OAAO,CAAC,cAAc,EAAE,CAAC;QAClD,MAAM,eAAe,GAAiB,EAAE,CAAC;QAEzC,SAAS,8BAA8B,CACrC,IAAiC,EACjC,MAAe,EACf,UAAsB;YAEtB,IAAI,EAAE,CAAC,kBAAkB,CAAC,MAAM,CAAC,EAAE,CAAC;gBAClC,4BAA4B,CAAC,IAAI,EAAE,MAAM,EAAE,UAAU,CAAC,CAAC;gBACvD,OAAO;YACT,CAAC;YAED,IAAI,EAAE,CAAC,kBAAkB,CAAC,MAAM,CAAC,IAAI,yBAAyB,CAAC,IAAI,CAAC,EAAE,CAAC;gBACrE,UAAU,CAAC,uBAAuB,CAAC,IAAI,CAAC,CAAC;gBACzC,OAAO;YACT,CAAC;YAED,IACE,EAAE,CAAC,wBAAwB,CAAC,MAAM,CAAC;gBACnC,EAAE,CAAC,uBAAuB,CAAC,MAAM,CAAC,EAClC,CAAC;gBACD,0CAA0C,CAAC,MAAM,EAAE,UAAU,CAAC,CAAC;YACjE,CAAC;QACH,CAAC;QAED,SAAS,4BAA4B,CACnC,IAAiC,EACjC,MAA2B,EAC3B,UAAsB;YAEtB,IACE,MAAM,CAAC,IAAI,KAAK,IAAI;gBACpB,OAAO,CAAC,gBAAgB,CAAC,MAAM,CAAC,aAAa,CAAC,IAAI,CAAC,EACnD,CAAC;gBACD,UAAU,CAAC,uBAAuB,CAAC,IAAI,CAAC,CAAC;YAC3C,CAAC;QACH,CAAC;QAED,SAAS,0CAA0C,CACjD,IAA0D,EAC1D,UAAsB;YAEtB,IACE,IAAI,CAAC,QAAQ,KAAK,EAAE,CAAC,UAAU,CAAC,aAAa;gBAC7C,IAAI,CAAC,QAAQ,KAAK,EAAE,CAAC,UAAU,CAAC,eAAe,EAC/C,CAAC;gBACD,UAAU,CAAC,uBAAuB,CAChC,IAAI,CAAC,OAAsC,CAC5C,CAAC;YACJ,CAAC;QACH,CAAC;QAED,SAAS,yBAAyB,CAChC,IAAiC;YAEjC,IAAI,OAAO,GAAG,IAAI,CAAC,MAA6B,CAAC;YAEjD,OAAO,OAAO,EAAE,CAAC;gBACf,MAAM,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC;gBAE9B,IACE,EAAE,CAAC,yBAAyB,CAAC,MAAM,CAAC;oBACpC,EAAE,CAAC,wBAAwB,CAAC,MAAM,CAAC;oBACnC,EAAE,CAAC,kBAAkB,CAAC,MAAM,CAAC;oBAC7B,CAAC,EAAE,CAAC,eAAe,CAAC,MAAM,CAAC;wBACzB,EAAE,CAAC,wBAAwB,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC,EAC7C,CAAC;oBACD,OAAO,GAAG,MAAM,CAAC;gBACnB,CAAC;qBAAM,IACL,EAAE,CAAC,kBAAkB,CAAC,MAAM,CAAC;oBAC7B,CAAC,EAAE,CAAC,0BAA0B,CAAC,OAAO,CAAC,EACvC,CAAC;oBACD,OAAO,CACL,MAAM,CAAC,IAAI,KAAK,OAAO;wBACvB,MAAM,CAAC,aAAa,CAAC,IAAI,KAAK,EAAE,CAAC,UAAU,CAAC,WAAW,CACxD,CAAC;gBACJ,CAAC;qBAAM,CAAC;oBACN,MAAM;gBACR,CAAC;YACH,CAAC;YAED,OAAO,KAAK,CAAC;QACf,CAAC;QAED,SAAS,8BAA8B,CACrC,IAI6B;YAE7B,IAAI,eAAe,CAAC,MAAM,KAAK,CAAC,EAAE,CAAC;gBACjC,OAAO,KAAK,CAAC;YACf,CAAC;YAED,MAAM,MAAM,GAAG,QAAQ,CAAC,qBAAqB,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC;YACxD,IAAI,EAAE,CAAC,wBAAwB,CAAC,MAAM,CAAC,EAAE,CAAC;gBACxC,OAAO,KAAK,CAAC;YACf,CAAC;YAED,OAAO,OAAO,CAAC,uBAAuB,CAAC,MAAM,CAAC,CAAC;QACjD,CAAC;QAED,SAAS,2BAA2B,CAClC,aAA6C;YAE7C,OAAO;gBACL,MAAM,EAAE,QAAQ,CAAC,qBAAqB,CAAC,GAAG,CAAC,aAAa,CAAC;gBACzD,QAAQ,EAAE,QAAQ,CAAC,qBAAqB,CAAC,GAAG,CAAC,aAAa,CAAC,IAAI,CAAC;aACjE,CAAC;QACJ,CAAC;QAED,OAAO;YACL,CAAC,GAAG,uBAAuB,OAAO,CAAC,CACjC,IAI6B;gBAE7B,IAAI,gBAAQ,CAAC,aAAa,CAAC,IAAI,CAAC,EAAE,CAAC;oBACjC,eAAe,CAAC,eAAe,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC,eAAe,EAAE,CAAC;gBAChE,CAAC;qBAAM,IAAI,8BAA8B,CAAC,IAAI,CAAC,EAAE,CAAC;oBAChD,eAAe,CAAC,eAAe,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC,kBAAkB,EAAE,CAAC;gBACnE,CAAC;YACH,CAAC;YACD,mCAAmC,CACjC,IAA0D;gBAE1D,eAAe,CAAC,IAAI,CAClB,IAAI,UAAU,CACZ,OAAO,EACP,QAAQ,CAAC,qBAAqB,CAAC,GAAG,CAAC,IAAI,CAAC,EACxC,iBAAiB,CAClB,CACF,CAAC;YACJ,CAAC;YACD,wCAAwC;gBACtC,MAAM,mBAAmB,GAAG,IAAA,iBAAU,EACpC,eAAe,CAAC,GAAG,EAAE,EACrB,kCAAkC,CACnC,CAAC;gBAEF,KAAK,MAAM,aAAa,IAAI,mBAAmB,CAAC,qCAAqC,EAAE,EAAE,CAAC;oBACxF,MAAM,EAAE,MAAM,EAAE,QAAQ,EAAE,GACxB,2BAA2B,CAAC,aAAa,CAAC,CAAC;oBAE7C,MAAM,eAAe,GAES,CAAC,GAAG,EAAE;wBAClC,QAAQ,MAAM,CAAC,IAAI,EAAE,CAAC;4BACpB,KAAK,sBAAc,CAAC,gBAAgB,CAAC;4BACrC,KAAK,sBAAc,CAAC,kBAAkB,CAAC;4BACvC,KAAK,sBAAc,CAAC,0BAA0B;gCAC5C,OAAO,EAAE,GAAG,EAAE,IAAA,mCAAgB,EAAC,OAAO,CAAC,UAAU,EAAE,MAAM,CAAC,EAAE,CAAC;4BAC/D,KAAK,sBAAc,CAAC,mBAAmB;gCACrC,OAAO;oCACL,GAAG,EAAE,IAAA,8CAA2B,EAC9B,OAAO,CAAC,UAAU,EAClB,MAAM,EACL,QAAgC,CAAC,IAAI,CACvC;iCACF,CAAC;4BACJ;gCACE,OAAO,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC;wBAC5B,CAAC;oBACH,CAAC,CAAC,EAAE,CAAC;oBAEL,OAAO,CAAC,MAAM,CAAC;wBACb,GAAG,eAAe;wBAClB,SAAS,EAAE,gBAAgB;wBAC3B,IAAI,EAAE;4BACJ,IAAI,EAAE,OAAO,CAAC,UAAU,CAAC,OAAO,CAAC,QAAQ,CAAC;yBAC3C;wBACD,GAAG,EAAE,KAAK,CAAC,EAAE,CAAC,KAAK,CAAC,gBAAgB,CAAC,QAAQ,EAAE,WAAW,CAAC;qBAC5D,CAAC,CAAC;gBACL,CAAC;YACH,CAAC;YACD,CAAC,uBAAuB,CAAC,CACvB,IAI6B;gBAE7B,IAAI,gBAAQ,CAAC,aAAa,CAAC,IAAI,CAAC,EAAE,CAAC;oBACjC,eAAe,CAAC,eAAe,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC,gBAAgB,CAC1D,QAAQ,CAAC,qBAAqB,CAAC,GAAG,CAAC,IAAI,CAAC,CACzC,CAAC;gBACJ,CAAC;qBAAM,IAAI,8BAA8B,CAAC,IAAI,CAAC,EAAE,CAAC;oBAChD,eAAe,CAAC,eAAe,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC,mBAAmB,EAAE,CAAC;gBACpE,CAAC;YACH,CAAC;YACD,gBAAgB,CAAC,IAAI;gBACnB,IAAI,eAAe,CAAC,MAAM,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,QAAQ,EAAE,CAAC;oBACnD,MAAM,MAAM,GAAG,QAAQ,CAAC,qBAAqB,CAAC,GAAG,CAC/C,IAAI,CAC0B,CAAC;oBACjC,8BAA8B,CAC5B,MAAM,EACN,MAAM,CAAC,MAAM,EACb,eAAe,CAAC,eAAe,CAAC,MAAM,GAAG,CAAC,CAAC,CAC5C,CAAC;gBACJ,CAAC;YACH,CAAC;SACF,CAAC;IACJ,CAAC;CACF,CAAC,CAAC;AAMH,MAAM,mBAAmB,GAAG,CAAC,CAAC,CAAC;AAC/B,MAAM,2BAA2B,GAAG,CAAC,CAAC;AAEtC,IAAK,mBAKJ;AALD,WAAK,mBAAmB;IACtB,qFAAgB,CAAA;IAChB,+DAAK,CAAA;IACL,qEAAQ,CAAA;IACR,6DAAI,CAAA;AACN,CAAC,EALI,mBAAmB,KAAnB,mBAAmB,QAKvB;AAED,MAAM,UAAU;IAiBK;IAEA;IAlBF,SAAS,CAAU;IAC5B,qBAAqB,GAAG,mBAAmB,CAAC;IACnC,2BAA2B,GAAG,IAAI,GAAG,EAAU,CAAC;IAChD,wBAAwB,GAAG,IAAI,GAAG,EAGhD,CAAC;IAEa,wBAAwB,GAAG,IAAI,GAAG,EAGhD,CAAC;IAEa,2BAA2B,GAAG,IAAI,GAAG,EAAU,CAAC;IAEjE,YACmB,OAAuB,EACxC,SAAkC,EACjB,iBAA2B;QAF3B,YAAO,GAAP,OAAO,CAAgB;QAEvB,sBAAiB,GAAjB,iBAAiB,CAAU;QAE5C,MAAM,SAAS,GAAG,OAAO,CAAC,iBAAiB,CAAC,SAAS,CAAC,CAAC;QACvD,IAAI,OAAO,CAAC,kBAAkB,CAAC,SAAS,CAAC,EAAE,CAAC;YAC1C,IAAI,CAAC,SAAS,GAAG,SAAS,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC;QACtC,CAAC;aAAM,CAAC;YACN,IAAI,CAAC,SAAS,GAAG,SAAS,CAAC;QAC7B,CAAC;QAED,KAAK,MAAM,MAAM,IAAI,SAAS,CAAC,OAAO,EAAE,CAAC;YACvC,IAAI,EAAE,CAAC,qBAAqB,CAAC,MAAM,CAAC,EAAE,CAAC;gBACrC,IAAI,CAAC,mBAAmB,CAAC,MAAM,CAAC,CAAC;YACnC,CAAC;QACH,CAAC;IACH,CAAC;IAEM,mBAAmB,CAAC,IAAoC;QAC7D,IACE,CAAC,CACC,OAAO,CAAC,iBAAiB,CAAC,IAAI,EAAE,EAAE,CAAC,aAAa,CAAC,OAAO,CAAC;YACzD,IAAI,CAAC,IAAI,CAAC,IAAI,KAAK,EAAE,CAAC,UAAU,CAAC,iBAAiB,CACnD;YACD,OAAO,CAAC,iBAAiB,CACvB,IAAI,EACJ,EAAE,CAAC,aAAa,CAAC,QAAQ,GAAG,EAAE,CAAC,aAAa,CAAC,QAAQ,CACtD;YACD,EAAE,CAAC,sBAAsB,CAAC,IAAI,CAAC,IAAI,CAAC,EACpC,CAAC;YACD,OAAO;QACT,CAAC;QAED,IACE,IAAI,CAAC,iBAAiB;YACtB,IAAI,CAAC,WAAW,KAAK,SAAS;YAC9B,CAAC,EAAE,CAAC,eAAe,CAAC,IAAI,CAAC,WAAW,CAAC,EACrC,CAAC;YACD,OAAO;QACT,CAAC;QAED,CAAC,OAAO,CAAC,iBAAiB,CAAC,IAAI,EAAE,EAAE,CAAC,aAAa,CAAC,MAAM,CAAC;YACvD,CAAC,CAAC,IAAI,CAAC,wBAAwB;YAC/B,CAAC,CAAC,IAAI,CAAC,wBAAwB,CAChC,CAAC,GAAG,CAAC,IAAI,CAAC,IAAI,CAAC,OAAO,EAAE,EAAE,IAAI,CAAC,CAAC;IACnC,CAAC;IAEM,uBAAuB,CAAC,IAAiC;QAC9D,MAAM,YAAY,GAAG,IAAI,CAAC,OAAO,CAAC,iBAAiB,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC;QAErE,MAAM,6BAA6B,GACjC,IAAI,CAAC,sBAAsB,CAAC,YAAY,CAAC,CAAC;QAE5C,IACE,6BAA6B,KAAK,mBAAmB,CAAC,QAAQ;YAC9D,IAAI,CAAC,qBAAqB,KAAK,2BAA2B,EAC1D,CAAC;YACD,OAAO;QACT,CAAC;QAED,IACE,6BAA6B,KAAK,mBAAmB,CAAC,QAAQ;YAC9D,6BAA6B,KAAK,mBAAmB,CAAC,gBAAgB,EACtE,CAAC;YACD,IAAI,CAAC,2BAA2B,CAAC,GAAG,CAAC,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;QACvD,CAAC;QACD,IACE,6BAA6B,KAAK,mBAAmB,CAAC,KAAK;YAC3D,6BAA6B,KAAK,mBAAmB,CAAC,gBAAgB,EACtE,CAAC;YACD,IAAI,CAAC,2BAA2B,CAAC,GAAG,CAAC,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;QACvD,CAAC;IACH,CAAC;IAEM,gBAAgB,CACrB,IAI6B;QAE7B,IAAI,CAAC,qBAAqB,GAAG,2BAA2B,CAAC;QAEzD,KAAK,MAAM,SAAS,IAAI,IAAI,CAAC,UAAU,EAAE,CAAC;YACxC,IAAI,OAAO,CAAC,iBAAiB,CAAC,SAAS,EAAE,EAAE,CAAC,aAAa,CAAC,OAAO,CAAC,EAAE,CAAC;gBACnE,IAAI,CAAC,mBAAmB,CAAC,SAAS,CAAC,CAAC;YACtC,CAAC;QACH,CAAC;IACH,CAAC;IAEM,mBAAmB;QACxB,IAAI,IAAI,CAAC,qBAAqB,KAAK,mBAAmB,EAAE,CAAC;YACvD,IAAI,CAAC,qBAAqB,IAAI,CAAC,CAAC;QAClC,CAAC;IACH,CAAC;IAEM,eAAe;QACpB,IAAI,CAAC,qBAAqB,GAAG,mBAAmB,CAAC;IACnD,CAAC;IAEM,kBAAkB;QACvB,IAAI,IAAI,CAAC,qBAAqB,KAAK,mBAAmB,EAAE,CAAC;YACvD,IAAI,CAAC,qBAAqB,IAAI,CAAC,CAAC;QAClC,CAAC;IACH,CAAC;IAEM,qCAAqC;QAC1C,IAAI,CAAC,2BAA2B,CAAC,OAAO,CAAC,YAAY,CAAC,EAAE;YACtD,IAAI,CAAC,wBAAwB,CAAC,MAAM,CAAC,YAAY,CAAC,CAAC;QACrD,CAAC,CAAC,CAAC;QAEH,IAAI,CAAC,2BAA2B,CAAC,OAAO,CAAC,YAAY,CAAC,EAAE;YACtD,IAAI,CAAC,wBAAwB,CAAC,MAAM,CAAC,YAAY,CAAC,CAAC;QACrD,CAAC,CAAC,CAAC;QAEH,OAAO;YACL,GAAG,IAAI,CAAC,wBAAwB,CAAC,MAAM,EAAE;YACzC,GAAG,IAAI,CAAC,wBAAwB,CAAC,MAAM,EAAE;SAC1C,CAAC;IACJ,CAAC;IAEM,sBAAsB,CAAC,IAAa;QACzC,IAAI,IAAI,CAAC,cAAc,EAAE,EAAE,CAAC;YAC1B,IAAI,MAAM,GAAwB,mBAAmB,CAAC,IAAI,CAAC;YAC3D,KAAK,MAAM,OAAO,IAAI,IAAI,CAAC,KAAK,EAAE,CAAC;gBACjC,MAAM,aAAa,GAAG,IAAI,CAAC,sBAAsB,CAAC,OAAO,CAAC,CAAC;gBAC3D,QAAQ,aAAa,EAAE,CAAC;oBACtB,KAAK,mBAAmB,CAAC,KAAK;wBAC5B,IAAI,MAAM,KAAK,mBAAmB,CAAC,QAAQ,EAAE,CAAC;4BAC5C,OAAO,mBAAmB,CAAC,gBAAgB,CAAC;wBAC9C,CAAC;wBACD,MAAM,GAAG,mBAAmB,CAAC,KAAK,CAAC;wBACnC,MAAM;oBACR,KAAK,mBAAmB,CAAC,QAAQ;wBAC/B,IAAI,MAAM,KAAK,mBAAmB,CAAC,KAAK,EAAE,CAAC;4BACzC,OAAO,mBAAmB,CAAC,gBAAgB,CAAC;wBAC9C,CAAC;wBACD,MAAM,GAAG,mBAAmB,CAAC,QAAQ,CAAC;wBACtC,MAAM;gBACV,CAAC;YACH,CAAC;YACD,OAAO,MAAM,CAAC;QAChB,CAAC;QACD,IAAI,IAAI,CAAC,OAAO,EAAE,EAAE,CAAC;YACnB,wEAAwE;YACxE,oEAAoE;YACpE,iEAAiE;YACjE,OAAO,IAAI,CAAC,sBAAsB,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC;QACpD,CAAC;QAED,IAAI,CAAC,IAAI,CAAC,SAAS,EAAE,IAAI,CAAC,IAAA,0BAAmB,EAAC,IAAI,EAAE,IAAI,CAAC,SAAS,CAAC,EAAE,CAAC;YACpE,OAAO,mBAAmB,CAAC,IAAI,CAAC;QAClC,CAAC;QAED,MAAM,WAAW,GACf,OAAO,CAAC,YAAY,CAAC,IAAI,CAAC;YAC1B,OAAO,CAAC,eAAe,CAAC,IAAI,EAAE,EAAE,CAAC,WAAW,CAAC,SAAS,CAAC,CAAC;QAE1D,IAAI,WAAW,EAAE,CAAC;YAChB,OAAO,mBAAmB,CAAC,KAAK,CAAC;QACnC,CAAC;QAED,OAAO,mBAAmB,CAAC,QAAQ,CAAC;IACtC,CAAC;CACF"} \ No newline at end of file +{"version":3,"file":"prefer-readonly.js","sourceRoot":"","sources":["../../src/rules/prefer-readonly.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEA,oDAAoE;AACpE,sDAAwC;AACxC,+CAAiC;AAEjC,kCAKiB;AACjB,+DAGkC;AASlC,MAAM,uBAAuB,GAAG;IAC9B,sBAAc,CAAC,uBAAuB;IACtC,sBAAc,CAAC,mBAAmB;IAClC,sBAAc,CAAC,kBAAkB;IACjC,sBAAc,CAAC,gBAAgB;CAChC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;AAEb,kBAAe,IAAA,iBAAU,EAAsB;IAC7C,IAAI,EAAE,iBAAiB;IACvB,IAAI,EAAE;QACJ,IAAI,EAAE,YAAY;QAClB,IAAI,EAAE;YACJ,WAAW,EACT,yGAAyG;YAC3G,oBAAoB,EAAE,IAAI;SAC3B;QACD,OAAO,EAAE,MAAM;QACf,QAAQ,EAAE;YACR,cAAc,EACZ,+DAA+D;SAClE;QACD,MAAM,EAAE;YACN;gBACE,IAAI,EAAE,QAAQ;gBACd,oBAAoB,EAAE,KAAK;gBAC3B,UAAU,EAAE;oBACV,iBAAiB,EAAE;wBACjB,IAAI,EAAE,SAAS;wBACf,WAAW,EACT,mFAAmF;qBACtF;iBACF;aACF;SACF;KACF;IACD,cAAc,EAAE,CAAC,EAAE,iBAAiB,EAAE,KAAK,EAAE,CAAC;IAC9C,MAAM,CAAC,OAAO,EAAE,CAAC,EAAE,iBAAiB,EAAE,CAAC;QACrC,MAAM,QAAQ,GAAG,IAAA,wBAAiB,EAAC,OAAO,CAAC,CAAC;QAC5C,MAAM,OAAO,GAAG,QAAQ,CAAC,OAAO,CAAC,cAAc,EAAE,CAAC;QAClD,MAAM,eAAe,GAAiB,EAAE,CAAC;QAEzC,SAAS,8BAA8B,CACrC,IAAiC,EACjC,MAAe,EACf,UAAsB;YAEtB,IAAI,EAAE,CAAC,kBAAkB,CAAC,MAAM,CAAC,EAAE,CAAC;gBAClC,4BAA4B,CAAC,IAAI,EAAE,MAAM,EAAE,UAAU,CAAC,CAAC;gBACvD,OAAO;YACT,CAAC;YAED,IAAI,EAAE,CAAC,kBAAkB,CAAC,MAAM,CAAC,IAAI,yBAAyB,CAAC,IAAI,CAAC,EAAE,CAAC;gBACrE,UAAU,CAAC,uBAAuB,CAAC,IAAI,CAAC,CAAC;gBACzC,OAAO;YACT,CAAC;YAED,IACE,EAAE,CAAC,wBAAwB,CAAC,MAAM,CAAC;gBACnC,EAAE,CAAC,uBAAuB,CAAC,MAAM,CAAC,EAClC,CAAC;gBACD,0CAA0C,CAAC,MAAM,EAAE,UAAU,CAAC,CAAC;YACjE,CAAC;QACH,CAAC;QAED,SAAS,4BAA4B,CACnC,IAAiC,EACjC,MAA2B,EAC3B,UAAsB;YAEtB,IACE,MAAM,CAAC,IAAI,KAAK,IAAI;gBACpB,OAAO,CAAC,gBAAgB,CAAC,MAAM,CAAC,aAAa,CAAC,IAAI,CAAC,EACnD,CAAC;gBACD,UAAU,CAAC,uBAAuB,CAAC,IAAI,CAAC,CAAC;YAC3C,CAAC;QACH,CAAC;QAED,SAAS,0CAA0C,CACjD,IAA0D,EAC1D,UAAsB;YAEtB,IACE,IAAI,CAAC,QAAQ,KAAK,EAAE,CAAC,UAAU,CAAC,aAAa;gBAC7C,IAAI,CAAC,QAAQ,KAAK,EAAE,CAAC,UAAU,CAAC,eAAe,EAC/C,CAAC;gBACD,UAAU,CAAC,uBAAuB,CAChC,IAAI,CAAC,OAAsC,CAC5C,CAAC;YACJ,CAAC;QACH,CAAC;QAED,SAAS,yBAAyB,CAChC,IAAiC;YAEjC,IAAI,OAAO,GAAG,IAAI,CAAC,MAA6B,CAAC;YAEjD,OAAO,OAAO,EAAE,CAAC;gBACf,MAAM,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC;gBAE9B,IACE,EAAE,CAAC,yBAAyB,CAAC,MAAM,CAAC;oBACpC,EAAE,CAAC,wBAAwB,CAAC,MAAM,CAAC;oBACnC,EAAE,CAAC,kBAAkB,CAAC,MAAM,CAAC;oBAC7B,CAAC,EAAE,CAAC,eAAe,CAAC,MAAM,CAAC;wBACzB,EAAE,CAAC,wBAAwB,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC,EAC7C,CAAC;oBACD,OAAO,GAAG,MAAM,CAAC;gBACnB,CAAC;qBAAM,IACL,EAAE,CAAC,kBAAkB,CAAC,MAAM,CAAC;oBAC7B,CAAC,EAAE,CAAC,0BAA0B,CAAC,OAAO,CAAC,EACvC,CAAC;oBACD,OAAO,CACL,MAAM,CAAC,IAAI,KAAK,OAAO;wBACvB,MAAM,CAAC,aAAa,CAAC,IAAI,KAAK,EAAE,CAAC,UAAU,CAAC,WAAW,CACxD,CAAC;gBACJ,CAAC;qBAAM,CAAC;oBACN,MAAM;gBACR,CAAC;YACH,CAAC;YAED,OAAO,KAAK,CAAC;QACf,CAAC;QAED,SAAS,8BAA8B,CACrC,IAI6B;YAE7B,IAAI,eAAe,CAAC,MAAM,KAAK,CAAC,EAAE,CAAC;gBACjC,OAAO,KAAK,CAAC;YACf,CAAC;YAED,MAAM,MAAM,GAAG,QAAQ,CAAC,qBAAqB,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC;YACxD,IAAI,EAAE,CAAC,wBAAwB,CAAC,MAAM,CAAC,EAAE,CAAC;gBACxC,OAAO,KAAK,CAAC;YACf,CAAC;YAED,OAAO,OAAO,CAAC,uBAAuB,CAAC,MAAM,CAAC,CAAC;QACjD,CAAC;QAED,SAAS,2BAA2B,CAClC,aAA6C;YAE7C,OAAO;gBACL,MAAM,EAAE,QAAQ,CAAC,qBAAqB,CAAC,GAAG,CAAC,aAAa,CAAC;gBACzD,QAAQ,EAAE,QAAQ,CAAC,qBAAqB,CAAC,GAAG,CAAC,aAAa,CAAC,IAAI,CAAC;aACjE,CAAC;QACJ,CAAC;QAED,OAAO;YACL,CAAC,GAAG,uBAAuB,OAAO,CAAC,CACjC,IAI6B;gBAE7B,IAAI,gBAAQ,CAAC,aAAa,CAAC,IAAI,CAAC,EAAE,CAAC;oBACjC,eAAe,CAAC,eAAe,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC,eAAe,EAAE,CAAC;gBAChE,CAAC;qBAAM,IAAI,8BAA8B,CAAC,IAAI,CAAC,EAAE,CAAC;oBAChD,eAAe,CAAC,eAAe,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC,kBAAkB,EAAE,CAAC;gBACnE,CAAC;YACH,CAAC;YACD,mCAAmC,CACjC,IAA0D;gBAE1D,eAAe,CAAC,IAAI,CAClB,IAAI,UAAU,CACZ,OAAO,EACP,QAAQ,CAAC,qBAAqB,CAAC,GAAG,CAAC,IAAI,CAAC,EACxC,iBAAiB,CAClB,CACF,CAAC;YACJ,CAAC;YACD,wCAAwC;gBACtC,MAAM,mBAAmB,GAAG,IAAA,iBAAU,EACpC,eAAe,CAAC,GAAG,EAAE,EACrB,kCAAkC,CACnC,CAAC;gBAEF,KAAK,MAAM,aAAa,IAAI,mBAAmB,CAAC,qCAAqC,EAAE,EAAE,CAAC;oBACxF,MAAM,EAAE,MAAM,EAAE,QAAQ,EAAE,GACxB,2BAA2B,CAAC,aAAa,CAAC,CAAC;oBAE7C,MAAM,eAAe,GAES,CAAC,GAAG,EAAE;wBAClC,QAAQ,MAAM,CAAC,IAAI,EAAE,CAAC;4BACpB,KAAK,sBAAc,CAAC,gBAAgB,CAAC;4BACrC,KAAK,sBAAc,CAAC,kBAAkB,CAAC;4BACvC,KAAK,sBAAc,CAAC,0BAA0B;gCAC5C,OAAO,EAAE,GAAG,EAAE,IAAA,mCAAgB,EAAC,OAAO,CAAC,UAAU,EAAE,MAAM,CAAC,EAAE,CAAC;4BAC/D,KAAK,sBAAc,CAAC,mBAAmB;gCACrC,OAAO;oCACL,GAAG,EAAE,IAAA,8CAA2B,EAC9B,OAAO,CAAC,UAAU,EAClB,MAAM,EACL,QAAgC,CAAC,IAAI,CACvC;iCACF,CAAC;4BACJ;gCACE,OAAO,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC;wBAC5B,CAAC;oBACH,CAAC,CAAC,EAAE,CAAC;oBAEL,OAAO,CAAC,MAAM,CAAC;wBACb,GAAG,eAAe;wBAClB,SAAS,EAAE,gBAAgB;wBAC3B,IAAI,EAAE;4BACJ,IAAI,EAAE,OAAO,CAAC,UAAU,CAAC,OAAO,CAAC,QAAQ,CAAC;yBAC3C;wBACD,GAAG,EAAE,KAAK,CAAC,EAAE,CAAC,KAAK,CAAC,gBAAgB,CAAC,QAAQ,EAAE,WAAW,CAAC;qBAC5D,CAAC,CAAC;gBACL,CAAC;YACH,CAAC;YACD,CAAC,uBAAuB,CAAC,CACvB,IAI6B;gBAE7B,IAAI,gBAAQ,CAAC,aAAa,CAAC,IAAI,CAAC,EAAE,CAAC;oBACjC,eAAe,CAAC,eAAe,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC,gBAAgB,CAC1D,QAAQ,CAAC,qBAAqB,CAAC,GAAG,CAAC,IAAI,CAAC,CACzC,CAAC;gBACJ,CAAC;qBAAM,IAAI,8BAA8B,CAAC,IAAI,CAAC,EAAE,CAAC;oBAChD,eAAe,CAAC,eAAe,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC,mBAAmB,EAAE,CAAC;gBACpE,CAAC;YACH,CAAC;YACD,gBAAgB,CAAC,IAAI;gBACnB,IAAI,eAAe,CAAC,MAAM,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,QAAQ,EAAE,CAAC;oBACnD,MAAM,MAAM,GAAG,QAAQ,CAAC,qBAAqB,CAAC,GAAG,CAC/C,IAAI,CAC0B,CAAC;oBACjC,8BAA8B,CAC5B,MAAM,EACN,MAAM,CAAC,MAAM,EACb,eAAe,CAAC,eAAe,CAAC,MAAM,GAAG,CAAC,CAAC,CAC5C,CAAC;gBACJ,CAAC;YACH,CAAC;SACF,CAAC;IACJ,CAAC;CACF,CAAC,CAAC;AAMH,MAAM,mBAAmB,GAAG,CAAC,CAAC,CAAC;AAC/B,MAAM,2BAA2B,GAAG,CAAC,CAAC;AAEtC,IAAK,mBAKJ;AALD,WAAK,mBAAmB;IACtB,qFAAgB,CAAA;IAChB,+DAAK,CAAA;IACL,qEAAQ,CAAA;IACR,6DAAI,CAAA;AACN,CAAC,EALI,mBAAmB,KAAnB,mBAAmB,QAKvB;AAED,MAAM,UAAU;IAiBK;IAEA;IAlBF,SAAS,CAAU;IAC5B,qBAAqB,GAAG,mBAAmB,CAAC;IACnC,2BAA2B,GAAG,IAAI,GAAG,EAAU,CAAC;IAChD,wBAAwB,GAAG,IAAI,GAAG,EAGhD,CAAC;IAEa,wBAAwB,GAAG,IAAI,GAAG,EAGhD,CAAC;IAEa,2BAA2B,GAAG,IAAI,GAAG,EAAU,CAAC;IAEjE,YACmB,OAAuB,EACxC,SAAkC,EACjB,iBAA2B;QAF3B,YAAO,GAAP,OAAO,CAAgB;QAEvB,sBAAiB,GAAjB,iBAAiB,CAAU;QAE5C,MAAM,SAAS,GAAG,OAAO,CAAC,iBAAiB,CAAC,SAAS,CAAC,CAAC;QACvD,IAAI,OAAO,CAAC,kBAAkB,CAAC,SAAS,CAAC,EAAE,CAAC;YAC1C,IAAI,CAAC,SAAS,GAAG,SAAS,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC;QACtC,CAAC;aAAM,CAAC;YACN,IAAI,CAAC,SAAS,GAAG,SAAS,CAAC;QAC7B,CAAC;QAED,KAAK,MAAM,MAAM,IAAI,SAAS,CAAC,OAAO,EAAE,CAAC;YACvC,IAAI,EAAE,CAAC,qBAAqB,CAAC,MAAM,CAAC,EAAE,CAAC;gBACrC,IAAI,CAAC,mBAAmB,CAAC,MAAM,CAAC,CAAC;YACnC,CAAC;QACH,CAAC;IACH,CAAC;IAEM,mBAAmB,CAAC,IAAoC;QAC7D,IACE,CAAC,CACC,OAAO,CAAC,iBAAiB,CAAC,IAAI,EAAE,EAAE,CAAC,aAAa,CAAC,OAAO,CAAC;YACzD,IAAI,CAAC,IAAI,CAAC,IAAI,KAAK,EAAE,CAAC,UAAU,CAAC,iBAAiB,CACnD;YACD,OAAO,CAAC,iBAAiB,CACvB,IAAI,EACJ,EAAE,CAAC,aAAa,CAAC,QAAQ,GAAG,EAAE,CAAC,aAAa,CAAC,QAAQ,CACtD;YACD,EAAE,CAAC,sBAAsB,CAAC,IAAI,CAAC,IAAI,CAAC,EACpC,CAAC;YACD,OAAO;QACT,CAAC;QAED,IACE,IAAI,CAAC,iBAAiB;YACtB,IAAI,CAAC,WAAW,KAAK,SAAS;YAC9B,CAAC,EAAE,CAAC,eAAe,CAAC,IAAI,CAAC,WAAW,CAAC,EACrC,CAAC;YACD,OAAO;QACT,CAAC;QAED,CAAC,OAAO,CAAC,iBAAiB,CAAC,IAAI,EAAE,EAAE,CAAC,aAAa,CAAC,MAAM,CAAC;YACvD,CAAC,CAAC,IAAI,CAAC,wBAAwB;YAC/B,CAAC,CAAC,IAAI,CAAC,wBAAwB,CAChC,CAAC,GAAG,CAAC,IAAI,CAAC,IAAI,CAAC,OAAO,EAAE,EAAE,IAAI,CAAC,CAAC;IACnC,CAAC;IAEM,uBAAuB,CAAC,IAAiC;QAC9D,MAAM,YAAY,GAAG,IAAI,CAAC,OAAO,CAAC,iBAAiB,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC;QAErE,MAAM,6BAA6B,GACjC,IAAI,CAAC,sBAAsB,CAAC,YAAY,CAAC,CAAC;QAE5C,IACE,6BAA6B,KAAK,mBAAmB,CAAC,QAAQ;YAC9D,IAAI,CAAC,qBAAqB,KAAK,2BAA2B,EAC1D,CAAC;YACD,OAAO;QACT,CAAC;QAED,IACE,6BAA6B,KAAK,mBAAmB,CAAC,QAAQ;YAC9D,6BAA6B,KAAK,mBAAmB,CAAC,gBAAgB,EACtE,CAAC;YACD,IAAI,CAAC,2BAA2B,CAAC,GAAG,CAAC,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;QACvD,CAAC;QACD,IACE,6BAA6B,KAAK,mBAAmB,CAAC,KAAK;YAC3D,6BAA6B,KAAK,mBAAmB,CAAC,gBAAgB,EACtE,CAAC;YACD,IAAI,CAAC,2BAA2B,CAAC,GAAG,CAAC,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;QACvD,CAAC;IACH,CAAC;IAEM,gBAAgB,CACrB,IAI6B;QAE7B,IAAI,CAAC,qBAAqB,GAAG,2BAA2B,CAAC;QAEzD,KAAK,MAAM,SAAS,IAAI,IAAI,CAAC,UAAU,EAAE,CAAC;YACxC,IAAI,OAAO,CAAC,iBAAiB,CAAC,SAAS,EAAE,EAAE,CAAC,aAAa,CAAC,OAAO,CAAC,EAAE,CAAC;gBACnE,IAAI,CAAC,mBAAmB,CAAC,SAAS,CAAC,CAAC;YACtC,CAAC;QACH,CAAC;IACH,CAAC;IAEM,mBAAmB;QACxB,IAAI,IAAI,CAAC,qBAAqB,KAAK,mBAAmB,EAAE,CAAC;YACvD,IAAI,CAAC,qBAAqB,IAAI,CAAC,CAAC;QAClC,CAAC;IACH,CAAC;IAEM,eAAe;QACpB,IAAI,CAAC,qBAAqB,GAAG,mBAAmB,CAAC;IACnD,CAAC;IAEM,kBAAkB;QACvB,IAAI,IAAI,CAAC,qBAAqB,KAAK,mBAAmB,EAAE,CAAC;YACvD,IAAI,CAAC,qBAAqB,IAAI,CAAC,CAAC;QAClC,CAAC;IACH,CAAC;IAEM,qCAAqC;QAC1C,IAAI,CAAC,2BAA2B,CAAC,OAAO,CAAC,YAAY,CAAC,EAAE;YACtD,IAAI,CAAC,wBAAwB,CAAC,MAAM,CAAC,YAAY,CAAC,CAAC;QACrD,CAAC,CAAC,CAAC;QAEH,IAAI,CAAC,2BAA2B,CAAC,OAAO,CAAC,YAAY,CAAC,EAAE;YACtD,IAAI,CAAC,wBAAwB,CAAC,MAAM,CAAC,YAAY,CAAC,CAAC;QACrD,CAAC,CAAC,CAAC;QAEH,OAAO;YACL,GAAG,IAAI,CAAC,wBAAwB,CAAC,MAAM,EAAE;YACzC,GAAG,IAAI,CAAC,wBAAwB,CAAC,MAAM,EAAE;SAC1C,CAAC;IACJ,CAAC;IAEM,sBAAsB,CAAC,IAAa;QACzC,IAAI,IAAI,CAAC,cAAc,EAAE,EAAE,CAAC;YAC1B,IAAI,MAAM,GAAwB,mBAAmB,CAAC,IAAI,CAAC;YAC3D,KAAK,MAAM,OAAO,IAAI,IAAI,CAAC,KAAK,EAAE,CAAC;gBACjC,MAAM,aAAa,GAAG,IAAI,CAAC,sBAAsB,CAAC,OAAO,CAAC,CAAC;gBAC3D,QAAQ,aAAa,EAAE,CAAC;oBACtB,KAAK,mBAAmB,CAAC,KAAK;wBAC5B,IAAI,MAAM,KAAK,mBAAmB,CAAC,QAAQ,EAAE,CAAC;4BAC5C,OAAO,mBAAmB,CAAC,gBAAgB,CAAC;wBAC9C,CAAC;wBACD,MAAM,GAAG,mBAAmB,CAAC,KAAK,CAAC;wBACnC,MAAM;oBACR,KAAK,mBAAmB,CAAC,QAAQ;wBAC/B,IAAI,MAAM,KAAK,mBAAmB,CAAC,KAAK,EAAE,CAAC;4BACzC,OAAO,mBAAmB,CAAC,gBAAgB,CAAC;wBAC9C,CAAC;wBACD,MAAM,GAAG,mBAAmB,CAAC,QAAQ,CAAC;wBACtC,MAAM;gBACV,CAAC;YACH,CAAC;YACD,OAAO,MAAM,CAAC;QAChB,CAAC;QACD,IAAI,IAAI,CAAC,OAAO,EAAE,EAAE,CAAC;YACnB,wEAAwE;YACxE,oEAAoE;YACpE,iEAAiE;YACjE,OAAO,IAAI,CAAC,sBAAsB,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC;QACpD,CAAC;QAED,IAAI,CAAC,IAAI,CAAC,SAAS,EAAE,IAAI,CAAC,IAAA,0BAAmB,EAAC,IAAI,EAAE,IAAI,CAAC,SAAS,CAAC,EAAE,CAAC;YACpE,OAAO,mBAAmB,CAAC,IAAI,CAAC;QAClC,CAAC;QAED,MAAM,WAAW,GACf,OAAO,CAAC,YAAY,CAAC,IAAI,CAAC;YAC1B,OAAO,CAAC,eAAe,CAAC,IAAI,EAAE,EAAE,CAAC,WAAW,CAAC,SAAS,CAAC,CAAC;QAE1D,IAAI,WAAW,EAAE,CAAC;YAChB,OAAO,mBAAmB,CAAC,KAAK,CAAC;QACnC,CAAC;QAED,OAAO,mBAAmB,CAAC,QAAQ,CAAC;IACtC,CAAC;CACF"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-reduce-type-parameter.js b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-reduce-type-parameter.js index d693d33796..6a877fe7cd 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-reduce-type-parameter.js +++ b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-reduce-type-parameter.js @@ -15,13 +15,23 @@ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? ( }) : function(o, v) { o["default"] = v; }); -var __importStar = (this && this.__importStar) || function (mod) { - if (mod && mod.__esModule) return mod; - var result = {}; - if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k); - __setModuleDefault(result, mod); - return result; -}; +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); Object.defineProperty(exports, "__esModule", { value: true }); const tsutils = __importStar(require("ts-api-utils")); const util_1 = require("../util"); diff --git a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-reduce-type-parameter.js.map b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-reduce-type-parameter.js.map index f65b9b1e53..19af9a5da7 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-reduce-type-parameter.js.map +++ b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-reduce-type-parameter.js.map @@ -1 +1 @@ -{"version":3,"file":"prefer-reduce-type-parameter.js","sourceRoot":"","sources":["../../src/rules/prefer-reduce-type-parameter.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AAGA,sDAAwC;AAExC,kCAMiB;AAMjB,kBAAe,IAAA,iBAAU,EAAC;IACxB,IAAI,EAAE,8BAA8B;IACpC,IAAI,EAAE;QACJ,IAAI,EAAE,SAAS;QACf,IAAI,EAAE;YACJ,WAAW,EACT,6EAA6E;YAC/E,WAAW,EAAE,QAAQ;YACrB,oBAAoB,EAAE,IAAI;SAC3B;QACD,OAAO,EAAE,MAAM;QACf,QAAQ,EAAE;YACR,mBAAmB,EACjB,gFAAgF;SACnF;QACD,MAAM,EAAE,EAAE;KACX;IACD,cAAc,EAAE,EAAE;IAClB,MAAM,CAAC,OAAO;QACZ,MAAM,QAAQ,GAAG,IAAA,wBAAiB,EAAC,OAAO,CAAC,CAAC;QAC5C,MAAM,OAAO,GAAG,QAAQ,CAAC,OAAO,CAAC,cAAc,EAAE,CAAC;QAElD,SAAS,WAAW,CAAC,IAAa;YAChC,OAAO,OAAO;iBACX,cAAc,CAAC,IAAI,CAAC;iBACpB,KAAK,CAAC,SAAS,CAAC,EAAE,CACjB,OAAO;iBACJ,qBAAqB,CAAC,SAAS,CAAC;iBAChC,KAAK,CAAC,CAAC,CAAC,EAAE,CAAC,OAAO,CAAC,WAAW,CAAC,CAAC,CAAC,IAAI,OAAO,CAAC,WAAW,CAAC,CAAC,CAAC,CAAC,CAChE,CAAC;QACN,CAAC;QAED,OAAO;YACL,0CAA0C,CACxC,MAAgD;gBAEhD,IAAI,CAAC,IAAA,kCAA2B,EAAC,MAAM,EAAE,OAAO,EAAE,QAAQ,CAAC,EAAE,CAAC;oBAC5D,OAAO;gBACT,CAAC;gBAED,MAAM,CAAC,EAAE,SAAS,CAAC,GAAG,MAAM,CAAC,MAAM,CAAC,SAAS,CAAC;gBAE9C,IAAI,MAAM,CAAC,MAAM,CAAC,SAAS,CAAC,MAAM,GAAG,CAAC,IAAI,CAAC,IAAA,sBAAe,EAAC,SAAS,CAAC,EAAE,CAAC;oBACtE,OAAO;gBACT,CAAC;gBAED,yCAAyC;gBACzC,MAAM,aAAa,GAAG,IAAA,mCAA4B,EAChD,QAAQ,EACR,MAAM,CAAC,MAAM,CACd,CAAC;gBAEF,+CAA+C;gBAC/C,IAAI,WAAW,CAAC,aAAa,CAAC,EAAE,CAAC;oBAC/B,OAAO,CAAC,MAAM,CAAC;wBACb,IAAI,EAAE,SAAS;wBACf,SAAS,EAAE,qBAAqB;wBAChC,GAAG,EAAE,KAAK,CAAC,EAAE;4BACX,MAAM,KAAK,GAAG;gCACZ,KAAK,CAAC,WAAW,CAAC;oCAChB,SAAS,CAAC,KAAK,CAAC,CAAC,CAAC;oCAClB,SAAS,CAAC,UAAU,CAAC,KAAK,CAAC,CAAC,CAAC;iCAC9B,CAAC;gCACF,KAAK,CAAC,WAAW,CAAC;oCAChB,SAAS,CAAC,UAAU,CAAC,KAAK,CAAC,CAAC,CAAC;oCAC7B,SAAS,CAAC,KAAK,CAAC,CAAC,CAAC;iCACnB,CAAC;6BACH,CAAC;4BAEF,IAAI,CAAC,MAAM,CAAC,MAAM,CAAC,aAAa,EAAE,CAAC;gCACjC,KAAK,CAAC,IAAI,CACR,KAAK,CAAC,eAAe,CACnB,MAAM,EACN,IAAI,OAAO,CAAC,UAAU,CAAC,OAAO,CAAC,SAAS,CAAC,cAAc,CAAC,GAAG,CAC5D,CACF,CAAC;4BACJ,CAAC;4BAED,OAAO,KAAK,CAAC;wBACf,CAAC;qBACF,CAAC,CAAC;oBAEH,OAAO;gBACT,CAAC;YACH,CAAC;SACF,CAAC;IACJ,CAAC;CACF,CAAC,CAAC"} \ No newline at end of file +{"version":3,"file":"prefer-reduce-type-parameter.js","sourceRoot":"","sources":["../../src/rules/prefer-reduce-type-parameter.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAGA,sDAAwC;AAExC,kCAMiB;AAMjB,kBAAe,IAAA,iBAAU,EAAC;IACxB,IAAI,EAAE,8BAA8B;IACpC,IAAI,EAAE;QACJ,IAAI,EAAE,SAAS;QACf,IAAI,EAAE;YACJ,WAAW,EACT,6EAA6E;YAC/E,WAAW,EAAE,QAAQ;YACrB,oBAAoB,EAAE,IAAI;SAC3B;QACD,OAAO,EAAE,MAAM;QACf,QAAQ,EAAE;YACR,mBAAmB,EACjB,gFAAgF;SACnF;QACD,MAAM,EAAE,EAAE;KACX;IACD,cAAc,EAAE,EAAE;IAClB,MAAM,CAAC,OAAO;QACZ,MAAM,QAAQ,GAAG,IAAA,wBAAiB,EAAC,OAAO,CAAC,CAAC;QAC5C,MAAM,OAAO,GAAG,QAAQ,CAAC,OAAO,CAAC,cAAc,EAAE,CAAC;QAElD,SAAS,WAAW,CAAC,IAAa;YAChC,OAAO,OAAO;iBACX,cAAc,CAAC,IAAI,CAAC;iBACpB,KAAK,CAAC,SAAS,CAAC,EAAE,CACjB,OAAO;iBACJ,qBAAqB,CAAC,SAAS,CAAC;iBAChC,KAAK,CAAC,CAAC,CAAC,EAAE,CAAC,OAAO,CAAC,WAAW,CAAC,CAAC,CAAC,IAAI,OAAO,CAAC,WAAW,CAAC,CAAC,CAAC,CAAC,CAChE,CAAC;QACN,CAAC;QAED,OAAO;YACL,0CAA0C,CACxC,MAAgD;gBAEhD,IAAI,CAAC,IAAA,kCAA2B,EAAC,MAAM,EAAE,OAAO,EAAE,QAAQ,CAAC,EAAE,CAAC;oBAC5D,OAAO;gBACT,CAAC;gBAED,MAAM,CAAC,EAAE,SAAS,CAAC,GAAG,MAAM,CAAC,MAAM,CAAC,SAAS,CAAC;gBAE9C,IAAI,MAAM,CAAC,MAAM,CAAC,SAAS,CAAC,MAAM,GAAG,CAAC,IAAI,CAAC,IAAA,sBAAe,EAAC,SAAS,CAAC,EAAE,CAAC;oBACtE,OAAO;gBACT,CAAC;gBAED,yCAAyC;gBACzC,MAAM,aAAa,GAAG,IAAA,mCAA4B,EAChD,QAAQ,EACR,MAAM,CAAC,MAAM,CACd,CAAC;gBAEF,+CAA+C;gBAC/C,IAAI,WAAW,CAAC,aAAa,CAAC,EAAE,CAAC;oBAC/B,OAAO,CAAC,MAAM,CAAC;wBACb,IAAI,EAAE,SAAS;wBACf,SAAS,EAAE,qBAAqB;wBAChC,GAAG,EAAE,KAAK,CAAC,EAAE;4BACX,MAAM,KAAK,GAAG;gCACZ,KAAK,CAAC,WAAW,CAAC;oCAChB,SAAS,CAAC,KAAK,CAAC,CAAC,CAAC;oCAClB,SAAS,CAAC,UAAU,CAAC,KAAK,CAAC,CAAC,CAAC;iCAC9B,CAAC;gCACF,KAAK,CAAC,WAAW,CAAC;oCAChB,SAAS,CAAC,UAAU,CAAC,KAAK,CAAC,CAAC,CAAC;oCAC7B,SAAS,CAAC,KAAK,CAAC,CAAC,CAAC;iCACnB,CAAC;6BACH,CAAC;4BAEF,IAAI,CAAC,MAAM,CAAC,MAAM,CAAC,aAAa,EAAE,CAAC;gCACjC,KAAK,CAAC,IAAI,CACR,KAAK,CAAC,eAAe,CACnB,MAAM,EACN,IAAI,OAAO,CAAC,UAAU,CAAC,OAAO,CAAC,SAAS,CAAC,cAAc,CAAC,GAAG,CAC5D,CACF,CAAC;4BACJ,CAAC;4BAED,OAAO,KAAK,CAAC;wBACf,CAAC;qBACF,CAAC,CAAC;oBAEH,OAAO;gBACT,CAAC;YACH,CAAC;SACF,CAAC;IACJ,CAAC;CACF,CAAC,CAAC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-regexp-exec.js b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-regexp-exec.js index 8e025989d1..f7d97ad90d 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-regexp-exec.js +++ b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-regexp-exec.js @@ -15,13 +15,23 @@ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? ( }) : function(o, v) { o["default"] = v; }); -var __importStar = (this && this.__importStar) || function (mod) { - if (mod && mod.__esModule) return mod; - var result = {}; - if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k); - __setModuleDefault(result, mod); - return result; -}; +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); Object.defineProperty(exports, "__esModule", { value: true }); const utils_1 = require("@typescript-eslint/utils"); const tsutils = __importStar(require("ts-api-utils")); diff --git a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-regexp-exec.js.map b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-regexp-exec.js.map index a26df812da..798f3e4ad4 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-regexp-exec.js.map +++ b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-regexp-exec.js.map @@ -1 +1 @@ -{"version":3,"file":"prefer-regexp-exec.js","sourceRoot":"","sources":["../../src/rules/prefer-regexp-exec.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AAGA,oDAA0D;AAC1D,sDAAwC;AAExC,kCAOiB;AAEjB,IAAK,YAKJ;AALD,WAAK,YAAY;IACf,iDAAS,CAAA;IACT,mDAAe,CAAA;IACf,mDAAe,CAAA;IACf,+CAAsB,CAAA;AACxB,CAAC,EALI,YAAY,KAAZ,YAAY,QAKhB;AAED,kBAAe,IAAA,iBAAU,EAAC;IACxB,IAAI,EAAE,oBAAoB;IAC1B,IAAI,EAAE;QACJ,IAAI,EAAE,YAAY;QAClB,IAAI,EAAE;YACJ,WAAW,EACT,yEAAyE;YAC3E,WAAW,EAAE,WAAW;YACxB,oBAAoB,EAAE,IAAI;SAC3B;QACD,OAAO,EAAE,MAAM;QACf,QAAQ,EAAE;YACR,yBAAyB,EAAE,yCAAyC;SACrE;QACD,MAAM,EAAE,EAAE;KACX;IAED,cAAc,EAAE,EAAE;IAElB,MAAM,CAAC,OAAO;QACZ,MAAM,WAAW,GAAG,OAAO,CAAC,UAAU,CAAC,QAAQ,CAAC,OAAO,CAAC,UAAU,CAAC,GAAG,CAAC,CAAC;QACxE,MAAM,QAAQ,GAAG,IAAA,wBAAiB,EAAC,OAAO,CAAC,CAAC;QAC5C,MAAM,OAAO,GAAG,QAAQ,CAAC,OAAO,CAAC,cAAc,EAAE,CAAC;QAElD;;;WAGG;QACH,SAAS,YAAY,CAAC,IAAa;YACjC,OAAO,IAAA,kBAAW,EAAC,OAAO,EAAE,IAAI,CAAC,KAAK,QAAQ,CAAC;QACjD,CAAC;QAED;;;WAGG;QACH,SAAS,YAAY,CAAC,IAAa;YACjC,OAAO,IAAA,kBAAW,EAAC,OAAO,EAAE,IAAI,CAAC,KAAK,QAAQ,CAAC;QACjD,CAAC;QAED,SAAS,oBAAoB,CAAC,KAAgB;YAC5C,IAAI,MAAM,GAAG,YAAY,CAAC,KAAK,CAAC;YAEhC,KAAK,MAAM,IAAI,IAAI,KAAK,EAAE,CAAC;gBACzB,IAAI,YAAY,CAAC,IAAI,CAAC,EAAE,CAAC;oBACvB,MAAM,IAAI,YAAY,CAAC,MAAM,CAAC;gBAChC,CAAC;qBAAM,IAAI,YAAY,CAAC,IAAI,CAAC,EAAE,CAAC;oBAC9B,MAAM,IAAI,YAAY,CAAC,MAAM,CAAC;gBAChC,CAAC;YACH,CAAC;YAED,OAAO,MAAM,CAAC;QAChB,CAAC;QAED;;;;WAIG;QACH,SAAS,kCAAkC,CACzC,IAAqC;YAErC,IACE,CAAC,IAAI,CAAC,IAAI,KAAK,sBAAc,CAAC,cAAc;gBAC1C,IAAI,CAAC,IAAI,KAAK,sBAAc,CAAC,aAAa,CAAC;gBAC7C,IAAI,CAAC,MAAM,CAAC,IAAI,KAAK,sBAAc,CAAC,UAAU;gBAC9C,IAAI,CAAC,MAAM,CAAC,IAAI,KAAK,QAAQ,EAC7B,CAAC;gBACD,MAAM,KAAK,GAAG,IAAI,CAAC,SAAS,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC;gBACnC,OAAO,CAAC,CACN,KAAK,EAAE,IAAI,KAAK,sBAAc,CAAC,OAAO;oBACtC,OAAO,KAAK,CAAC,KAAK,KAAK,QAAQ;oBAC/B,KAAK,CAAC,KAAK,CAAC,QAAQ,CAAC,GAAG,CAAC,CAC1B,CAAC;YACJ,CAAC;YAED,OAAO,KAAK,CAAC;QACf,CAAC;QAED,OAAO;YACL,uDAAuD,CACrD,UAAqC;gBAErC,IAAI,CAAC,IAAA,kCAA2B,EAAC,UAAU,EAAE,OAAO,EAAE,OAAO,CAAC,EAAE,CAAC;oBAC/D,OAAO;gBACT,CAAC;gBACD,MAAM,UAAU,GAAG,UAAU,CAAC,MAAM,CAAC;gBACrC,MAAM,QAAQ,GAAG,UAAU,CAAC,MAAiC,CAAC;gBAC9D,MAAM,CAAC,YAAY,CAAC,GAAG,QAAQ,CAAC,SAAS,CAAC;gBAC1C,MAAM,aAAa,GAAG,IAAA,qBAAc,EAAC,YAAY,EAAE,WAAW,CAAC,CAAC;gBAEhE,IAAI,CAAC,YAAY,CAAC,QAAQ,CAAC,iBAAiB,CAAC,UAAU,CAAC,CAAC,EAAE,CAAC;oBAC1D,OAAO;gBACT,CAAC;gBAED,qDAAqD;gBACrD,IACE,CAAC,CAAC,aAAa;oBACb,CAAC,kCAAkC,CAAC,YAAY,CAAC,CAAC;oBACpD,CAAC,aAAa;wBACZ,aAAa,CAAC,KAAK,YAAY,MAAM;wBACrC,aAAa,CAAC,KAAK,CAAC,KAAK,CAAC,QAAQ,CAAC,GAAG,CAAC,CAAC,EAC1C,CAAC;oBACD,OAAO;gBACT,CAAC;gBAED,IACE,YAAY,CAAC,IAAI,KAAK,sBAAc,CAAC,OAAO;oBAC5C,OAAO,YAAY,CAAC,KAAK,KAAK,QAAQ,EACtC,CAAC;oBACD,IAAI,MAAc,CAAC;oBACnB,IAAI,CAAC;wBACH,MAAM,GAAG,MAAM,CAAC,YAAY,CAAC,KAAK,CAAC,CAAC;oBACtC,CAAC;oBAAC,MAAM,CAAC;wBACP,OAAO;oBACT,CAAC;oBACD,OAAO,OAAO,CAAC,MAAM,CAAC;wBACpB,IAAI,EAAE,UAAU,CAAC,QAAQ;wBACzB,SAAS,EAAE,2BAA2B;wBACtC,GAAG,EAAE,IAAA,uBAAgB,EAAC;4BACpB,IAAI,EAAE,QAAQ;4BACd,SAAS,EAAE,CAAC,UAAU,CAAC;4BACvB,UAAU,EAAE,OAAO,CAAC,UAAU;4BAC9B,IAAI,EAAE,UAAU,CAAC,EAAE,CAAC,GAAG,MAAM,CAAC,QAAQ,EAAE,SAAS,UAAU,GAAG;yBAC/D,CAAC;qBACH,CAAC,CAAC;gBACL,CAAC;gBAED,MAAM,YAAY,GAAG,QAAQ,CAAC,iBAAiB,CAAC,YAAY,CAAC,CAAC;gBAC9D,MAAM,aAAa,GAAG,oBAAoB,CACxC,OAAO,CAAC,cAAc,CAAC,YAAY,CAAC,CACrC,CAAC;gBACF,QAAQ,aAAa,EAAE,CAAC;oBACtB,KAAK,YAAY,CAAC,MAAM;wBACtB,OAAO,OAAO,CAAC,MAAM,CAAC;4BACpB,IAAI,EAAE,UAAU,CAAC,QAAQ;4BACzB,SAAS,EAAE,2BAA2B;4BACtC,GAAG,EAAE,IAAA,uBAAgB,EAAC;gCACpB,IAAI,EAAE,QAAQ;gCACd,SAAS,EAAE,CAAC,UAAU,EAAE,YAAY,CAAC;gCACrC,UAAU,EAAE,OAAO,CAAC,UAAU;gCAC9B,IAAI,EAAE,CAAC,UAAU,EAAE,YAAY,EAAE,EAAE,CACjC,GAAG,YAAY,SAAS,UAAU,GAAG;6BACxC,CAAC;yBACH,CAAC,CAAC;oBAEL,KAAK,YAAY,CAAC,MAAM;wBACtB,OAAO,OAAO,CAAC,MAAM,CAAC;4BACpB,IAAI,EAAE,UAAU,CAAC,QAAQ;4BACzB,SAAS,EAAE,2BAA2B;4BACtC,GAAG,EAAE,IAAA,uBAAgB,EAAC;gCACpB,IAAI,EAAE,QAAQ;gCACd,SAAS,EAAE,CAAC,UAAU,EAAE,YAAY,CAAC;gCACrC,UAAU,EAAE,OAAO,CAAC,UAAU;gCAC9B,IAAI,EAAE,CAAC,UAAU,EAAE,YAAY,EAAE,EAAE,CACjC,UAAU,YAAY,UAAU,UAAU,GAAG;6BAChD,CAAC;yBACH,CAAC,CAAC;gBACP,CAAC;YACH,CAAC;SACF,CAAC;IACJ,CAAC;CACF,CAAC,CAAC"} \ No newline at end of file +{"version":3,"file":"prefer-regexp-exec.js","sourceRoot":"","sources":["../../src/rules/prefer-regexp-exec.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAGA,oDAA0D;AAC1D,sDAAwC;AAExC,kCAOiB;AAEjB,IAAK,YAKJ;AALD,WAAK,YAAY;IACf,iDAAS,CAAA;IACT,mDAAe,CAAA;IACf,mDAAe,CAAA;IACf,+CAAsB,CAAA;AACxB,CAAC,EALI,YAAY,KAAZ,YAAY,QAKhB;AAED,kBAAe,IAAA,iBAAU,EAAC;IACxB,IAAI,EAAE,oBAAoB;IAC1B,IAAI,EAAE;QACJ,IAAI,EAAE,YAAY;QAClB,IAAI,EAAE;YACJ,WAAW,EACT,yEAAyE;YAC3E,WAAW,EAAE,WAAW;YACxB,oBAAoB,EAAE,IAAI;SAC3B;QACD,OAAO,EAAE,MAAM;QACf,QAAQ,EAAE;YACR,yBAAyB,EAAE,yCAAyC;SACrE;QACD,MAAM,EAAE,EAAE;KACX;IAED,cAAc,EAAE,EAAE;IAElB,MAAM,CAAC,OAAO;QACZ,MAAM,WAAW,GAAG,OAAO,CAAC,UAAU,CAAC,QAAQ,CAAC,OAAO,CAAC,UAAU,CAAC,GAAG,CAAC,CAAC;QACxE,MAAM,QAAQ,GAAG,IAAA,wBAAiB,EAAC,OAAO,CAAC,CAAC;QAC5C,MAAM,OAAO,GAAG,QAAQ,CAAC,OAAO,CAAC,cAAc,EAAE,CAAC;QAElD;;;WAGG;QACH,SAAS,YAAY,CAAC,IAAa;YACjC,OAAO,IAAA,kBAAW,EAAC,OAAO,EAAE,IAAI,CAAC,KAAK,QAAQ,CAAC;QACjD,CAAC;QAED;;;WAGG;QACH,SAAS,YAAY,CAAC,IAAa;YACjC,OAAO,IAAA,kBAAW,EAAC,OAAO,EAAE,IAAI,CAAC,KAAK,QAAQ,CAAC;QACjD,CAAC;QAED,SAAS,oBAAoB,CAAC,KAAgB;YAC5C,IAAI,MAAM,GAAG,YAAY,CAAC,KAAK,CAAC;YAEhC,KAAK,MAAM,IAAI,IAAI,KAAK,EAAE,CAAC;gBACzB,IAAI,YAAY,CAAC,IAAI,CAAC,EAAE,CAAC;oBACvB,MAAM,IAAI,YAAY,CAAC,MAAM,CAAC;gBAChC,CAAC;qBAAM,IAAI,YAAY,CAAC,IAAI,CAAC,EAAE,CAAC;oBAC9B,MAAM,IAAI,YAAY,CAAC,MAAM,CAAC;gBAChC,CAAC;YACH,CAAC;YAED,OAAO,MAAM,CAAC;QAChB,CAAC;QAED;;;;WAIG;QACH,SAAS,kCAAkC,CACzC,IAAqC;YAErC,IACE,CAAC,IAAI,CAAC,IAAI,KAAK,sBAAc,CAAC,cAAc;gBAC1C,IAAI,CAAC,IAAI,KAAK,sBAAc,CAAC,aAAa,CAAC;gBAC7C,IAAI,CAAC,MAAM,CAAC,IAAI,KAAK,sBAAc,CAAC,UAAU;gBAC9C,IAAI,CAAC,MAAM,CAAC,IAAI,KAAK,QAAQ,EAC7B,CAAC;gBACD,MAAM,KAAK,GAAG,IAAI,CAAC,SAAS,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC;gBACnC,OAAO,CAAC,CACN,KAAK,EAAE,IAAI,KAAK,sBAAc,CAAC,OAAO;oBACtC,OAAO,KAAK,CAAC,KAAK,KAAK,QAAQ;oBAC/B,KAAK,CAAC,KAAK,CAAC,QAAQ,CAAC,GAAG,CAAC,CAC1B,CAAC;YACJ,CAAC;YAED,OAAO,KAAK,CAAC;QACf,CAAC;QAED,OAAO;YACL,uDAAuD,CACrD,UAAqC;gBAErC,IAAI,CAAC,IAAA,kCAA2B,EAAC,UAAU,EAAE,OAAO,EAAE,OAAO,CAAC,EAAE,CAAC;oBAC/D,OAAO;gBACT,CAAC;gBACD,MAAM,UAAU,GAAG,UAAU,CAAC,MAAM,CAAC;gBACrC,MAAM,QAAQ,GAAG,UAAU,CAAC,MAAiC,CAAC;gBAC9D,MAAM,CAAC,YAAY,CAAC,GAAG,QAAQ,CAAC,SAAS,CAAC;gBAC1C,MAAM,aAAa,GAAG,IAAA,qBAAc,EAAC,YAAY,EAAE,WAAW,CAAC,CAAC;gBAEhE,IAAI,CAAC,YAAY,CAAC,QAAQ,CAAC,iBAAiB,CAAC,UAAU,CAAC,CAAC,EAAE,CAAC;oBAC1D,OAAO;gBACT,CAAC;gBAED,qDAAqD;gBACrD,IACE,CAAC,CAAC,aAAa;oBACb,CAAC,kCAAkC,CAAC,YAAY,CAAC,CAAC;oBACpD,CAAC,aAAa;wBACZ,aAAa,CAAC,KAAK,YAAY,MAAM;wBACrC,aAAa,CAAC,KAAK,CAAC,KAAK,CAAC,QAAQ,CAAC,GAAG,CAAC,CAAC,EAC1C,CAAC;oBACD,OAAO;gBACT,CAAC;gBAED,IACE,YAAY,CAAC,IAAI,KAAK,sBAAc,CAAC,OAAO;oBAC5C,OAAO,YAAY,CAAC,KAAK,KAAK,QAAQ,EACtC,CAAC;oBACD,IAAI,MAAc,CAAC;oBACnB,IAAI,CAAC;wBACH,MAAM,GAAG,MAAM,CAAC,YAAY,CAAC,KAAK,CAAC,CAAC;oBACtC,CAAC;oBAAC,MAAM,CAAC;wBACP,OAAO;oBACT,CAAC;oBACD,OAAO,OAAO,CAAC,MAAM,CAAC;wBACpB,IAAI,EAAE,UAAU,CAAC,QAAQ;wBACzB,SAAS,EAAE,2BAA2B;wBACtC,GAAG,EAAE,IAAA,uBAAgB,EAAC;4BACpB,IAAI,EAAE,QAAQ;4BACd,SAAS,EAAE,CAAC,UAAU,CAAC;4BACvB,UAAU,EAAE,OAAO,CAAC,UAAU;4BAC9B,IAAI,EAAE,UAAU,CAAC,EAAE,CAAC,GAAG,MAAM,CAAC,QAAQ,EAAE,SAAS,UAAU,GAAG;yBAC/D,CAAC;qBACH,CAAC,CAAC;gBACL,CAAC;gBAED,MAAM,YAAY,GAAG,QAAQ,CAAC,iBAAiB,CAAC,YAAY,CAAC,CAAC;gBAC9D,MAAM,aAAa,GAAG,oBAAoB,CACxC,OAAO,CAAC,cAAc,CAAC,YAAY,CAAC,CACrC,CAAC;gBACF,QAAQ,aAAa,EAAE,CAAC;oBACtB,KAAK,YAAY,CAAC,MAAM;wBACtB,OAAO,OAAO,CAAC,MAAM,CAAC;4BACpB,IAAI,EAAE,UAAU,CAAC,QAAQ;4BACzB,SAAS,EAAE,2BAA2B;4BACtC,GAAG,EAAE,IAAA,uBAAgB,EAAC;gCACpB,IAAI,EAAE,QAAQ;gCACd,SAAS,EAAE,CAAC,UAAU,EAAE,YAAY,CAAC;gCACrC,UAAU,EAAE,OAAO,CAAC,UAAU;gCAC9B,IAAI,EAAE,CAAC,UAAU,EAAE,YAAY,EAAE,EAAE,CACjC,GAAG,YAAY,SAAS,UAAU,GAAG;6BACxC,CAAC;yBACH,CAAC,CAAC;oBAEL,KAAK,YAAY,CAAC,MAAM;wBACtB,OAAO,OAAO,CAAC,MAAM,CAAC;4BACpB,IAAI,EAAE,UAAU,CAAC,QAAQ;4BACzB,SAAS,EAAE,2BAA2B;4BACtC,GAAG,EAAE,IAAA,uBAAgB,EAAC;gCACpB,IAAI,EAAE,QAAQ;gCACd,SAAS,EAAE,CAAC,UAAU,EAAE,YAAY,CAAC;gCACrC,UAAU,EAAE,OAAO,CAAC,UAAU;gCAC9B,IAAI,EAAE,CAAC,UAAU,EAAE,YAAY,EAAE,EAAE,CACjC,UAAU,YAAY,UAAU,UAAU,GAAG;6BAChD,CAAC;yBACH,CAAC,CAAC;gBACP,CAAC;YACH,CAAC;SACF,CAAC;IACJ,CAAC;CACF,CAAC,CAAC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-return-this-type.js b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-return-this-type.js index e2fb4e8afe..b0af27578c 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-return-this-type.js +++ b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-return-this-type.js @@ -15,13 +15,23 @@ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? ( }) : function(o, v) { o["default"] = v; }); -var __importStar = (this && this.__importStar) || function (mod) { - if (mod && mod.__esModule) return mod; - var result = {}; - if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k); - __setModuleDefault(result, mod); - return result; -}; +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); Object.defineProperty(exports, "__esModule", { value: true }); const utils_1 = require("@typescript-eslint/utils"); const ts = __importStar(require("typescript")); diff --git a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-return-this-type.js.map b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-return-this-type.js.map index fb47f7cb8d..0aaebb7317 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-return-this-type.js.map +++ b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-return-this-type.js.map @@ -1 +1 @@ -{"version":3,"file":"prefer-return-this-type.js","sourceRoot":"","sources":["../../src/rules/prefer-return-this-type.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AAEA,oDAA0D;AAC1D,+CAAiC;AAEjC,kCAAgF;AAUhF,kBAAe,IAAA,iBAAU,EAAC;IACxB,IAAI,EAAE,yBAAyB;IAC/B,IAAI,EAAE;QACJ,IAAI,EAAE,YAAY;QAClB,IAAI,EAAE;YACJ,WAAW,EACT,+DAA+D;YACjE,WAAW,EAAE,QAAQ;YACrB,oBAAoB,EAAE,IAAI;SAC3B;QACD,OAAO,EAAE,MAAM;QACf,QAAQ,EAAE;YACR,WAAW,EAAE,0BAA0B;SACxC;QACD,MAAM,EAAE,EAAE;KACX;IAED,cAAc,EAAE,EAAE;IAElB,MAAM,CAAC,OAAO;QACZ,MAAM,QAAQ,GAAG,IAAA,wBAAiB,EAAC,OAAO,CAAC,CAAC;QAC5C,MAAM,OAAO,GAAG,QAAQ,CAAC,OAAO,CAAC,cAAc,EAAE,CAAC;QAElD,SAAS,gBAAgB,CACvB,IAAY,EACZ,QAA2B;YAE3B,IACE,QAAQ,CAAC,IAAI,KAAK,sBAAc,CAAC,eAAe;gBAChD,QAAQ,CAAC,QAAQ,CAAC,IAAI,KAAK,sBAAc,CAAC,UAAU;gBACpD,QAAQ,CAAC,QAAQ,CAAC,IAAI,KAAK,IAAI,EAC/B,CAAC;gBACD,OAAO,QAAQ,CAAC;YAClB,CAAC;YAED,IAAI,QAAQ,CAAC,IAAI,KAAK,sBAAc,CAAC,WAAW,EAAE,CAAC;gBACjD,KAAK,MAAM,IAAI,IAAI,QAAQ,CAAC,KAAK,EAAE,CAAC;oBAClC,MAAM,KAAK,GAAG,gBAAgB,CAAC,IAAI,EAAE,IAAI,CAAC,CAAC;oBAC3C,IAAI,KAAK,EAAE,CAAC;wBACV,OAAO,KAAK,CAAC;oBACf,CAAC;gBACH,CAAC;YACH,CAAC;YAED,OAAO,SAAS,CAAC;QACnB,CAAC;QAED,SAAS,2BAA2B,CAAC,YAA0B;YAC7D,MAAM,QAAQ,GAAG,YAAY,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC;YAC3C,OAAO,CAAC,CAAC,CACP,QAAQ,EAAE,IAAI,KAAK,sBAAc,CAAC,UAAU,IAAI,QAAQ,CAAC,IAAI,KAAK,MAAM,CACzE,CAAC;QACJ,CAAC;QAED,SAAS,uBAAuB,CAC9B,YAA0B,EAC1B,aAAmC;YAEnC,IAAI,2BAA2B,CAAC,YAAY,CAAC,EAAE,CAAC;gBAC9C,OAAO,KAAK,CAAC;YACf,CAAC;YAED,MAAM,IAAI,GAAG,QAAQ,CAAC,qBAAqB,CAAC,GAAG,CAAC,YAAY,CAAC,CAAC;YAE9D,IAAI,CAAC,IAAI,CAAC,IAAI,EAAE,CAAC;gBACf,OAAO,KAAK,CAAC;YACf,CAAC;YAED,MAAM,SAAS,GAAG,QAAQ,CAAC,iBAAiB,CAC1C,aAAa,CACM,CAAC;YAEtB,IAAI,IAAI,CAAC,IAAI,CAAC,IAAI,KAAK,EAAE,CAAC,UAAU,CAAC,KAAK,EAAE,CAAC;gBAC3C,MAAM,IAAI,GAAG,OAAO,CAAC,iBAAiB,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;gBAClD,OAAO,SAAS,CAAC,QAAQ,KAAK,IAAI,CAAC;YACrC,CAAC;YAED,IAAI,aAAa,GAAG,KAAK,CAAC;YAC1B,IAAI,kBAAkB,GAAG,KAAgB,CAAC;YAE1C,IAAA,6BAAsB,EAAC,IAAI,CAAC,IAAgB,EAAE,IAAI,CAAC,EAAE;gBACnD,MAAM,IAAI,GAAG,IAAI,CAAC,UAAU,CAAC;gBAC7B,IAAI,CAAC,IAAI,EAAE,CAAC;oBACV,OAAO;gBACT,CAAC;gBAED,aAAa;gBACb,IAAI,IAAI,CAAC,IAAI,KAAK,EAAE,CAAC,UAAU,CAAC,WAAW,EAAE,CAAC;oBAC5C,aAAa,GAAG,IAAI,CAAC;oBACrB,OAAO;gBACT,CAAC;gBAED,MAAM,IAAI,GAAG,OAAO,CAAC,iBAAiB,CAAC,IAAI,CAAC,CAAC;gBAC7C,IAAI,SAAS,KAAK,IAAI,EAAE,CAAC;oBACvB,kBAAkB,GAAG,IAAI,CAAC;oBAC1B,OAAO,IAAI,CAAC;gBACd,CAAC;gBAED,IAAI,SAAS,CAAC,QAAQ,KAAK,IAAI,EAAE,CAAC;oBAChC,aAAa,GAAG,IAAI,CAAC;oBACrB,OAAO;gBACT,CAAC;gBAED,OAAO;YACT,CAAC,CAAC,CAAC;YAEH,OAAO,CAAC,kBAAkB,IAAI,aAAa,CAAC;QAC9C,CAAC;QAED,SAAS,aAAa,CACpB,YAA0B,EAC1B,aAAmC;YAEnC,MAAM,SAAS,GAAG,aAAa,CAAC,EAAE,EAAE,IAAI,CAAC;YACzC,IAAI,CAAC,SAAS,IAAI,CAAC,YAAY,CAAC,UAAU,EAAE,CAAC;gBAC3C,OAAO;YACT,CAAC;YAED,MAAM,IAAI,GAAG,gBAAgB,CAC3B,SAAS,EACT,YAAY,CAAC,UAAU,CAAC,cAAc,CACvC,CAAC;YACF,IAAI,CAAC,IAAI,EAAE,CAAC;gBACV,OAAO;YACT,CAAC;YAED,IAAI,uBAAuB,CAAC,YAAY,EAAE,aAAa,CAAC,EAAE,CAAC;gBACzD,OAAO,CAAC,MAAM,CAAC;oBACb,IAAI;oBACJ,SAAS,EAAE,aAAa;oBACxB,GAAG,EAAE,KAAK,CAAC,EAAE,CAAC,KAAK,CAAC,WAAW,CAAC,IAAI,EAAE,MAAM,CAAC;iBAC9C,CAAC,CAAC;YACL,CAAC;QACH,CAAC;QAED,OAAO;YACL,8BAA8B,CAAC,IAA+B;gBAC5D,aAAa,CAAC,IAAI,CAAC,KAAK,EAAE,IAAI,CAAC,MAAM,CAAC,MAA8B,CAAC,CAAC;YACxE,CAAC;YACD,gCAAgC,CAC9B,IAAiC;gBAEjC,IACE,CAAC,CACC,IAAI,CAAC,KAAK,EAAE,IAAI,KAAK,sBAAc,CAAC,kBAAkB;oBACtD,IAAI,CAAC,KAAK,EAAE,IAAI,KAAK,sBAAc,CAAC,uBAAuB,CAC5D,EACD,CAAC;oBACD,OAAO;gBACT,CAAC;gBAED,aAAa,CAAC,IAAI,CAAC,KAAK,EAAE,IAAI,CAAC,MAAM,CAAC,MAA8B,CAAC,CAAC;YACxE,CAAC;SACF,CAAC;IACJ,CAAC;CACF,CAAC,CAAC"} \ No newline at end of file +{"version":3,"file":"prefer-return-this-type.js","sourceRoot":"","sources":["../../src/rules/prefer-return-this-type.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEA,oDAA0D;AAC1D,+CAAiC;AAEjC,kCAAgF;AAUhF,kBAAe,IAAA,iBAAU,EAAC;IACxB,IAAI,EAAE,yBAAyB;IAC/B,IAAI,EAAE;QACJ,IAAI,EAAE,YAAY;QAClB,IAAI,EAAE;YACJ,WAAW,EACT,+DAA+D;YACjE,WAAW,EAAE,QAAQ;YACrB,oBAAoB,EAAE,IAAI;SAC3B;QACD,OAAO,EAAE,MAAM;QACf,QAAQ,EAAE;YACR,WAAW,EAAE,0BAA0B;SACxC;QACD,MAAM,EAAE,EAAE;KACX;IAED,cAAc,EAAE,EAAE;IAElB,MAAM,CAAC,OAAO;QACZ,MAAM,QAAQ,GAAG,IAAA,wBAAiB,EAAC,OAAO,CAAC,CAAC;QAC5C,MAAM,OAAO,GAAG,QAAQ,CAAC,OAAO,CAAC,cAAc,EAAE,CAAC;QAElD,SAAS,gBAAgB,CACvB,IAAY,EACZ,QAA2B;YAE3B,IACE,QAAQ,CAAC,IAAI,KAAK,sBAAc,CAAC,eAAe;gBAChD,QAAQ,CAAC,QAAQ,CAAC,IAAI,KAAK,sBAAc,CAAC,UAAU;gBACpD,QAAQ,CAAC,QAAQ,CAAC,IAAI,KAAK,IAAI,EAC/B,CAAC;gBACD,OAAO,QAAQ,CAAC;YAClB,CAAC;YAED,IAAI,QAAQ,CAAC,IAAI,KAAK,sBAAc,CAAC,WAAW,EAAE,CAAC;gBACjD,KAAK,MAAM,IAAI,IAAI,QAAQ,CAAC,KAAK,EAAE,CAAC;oBAClC,MAAM,KAAK,GAAG,gBAAgB,CAAC,IAAI,EAAE,IAAI,CAAC,CAAC;oBAC3C,IAAI,KAAK,EAAE,CAAC;wBACV,OAAO,KAAK,CAAC;oBACf,CAAC;gBACH,CAAC;YACH,CAAC;YAED,OAAO,SAAS,CAAC;QACnB,CAAC;QAED,SAAS,2BAA2B,CAAC,YAA0B;YAC7D,MAAM,QAAQ,GAAG,YAAY,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC;YAC3C,OAAO,CAAC,CAAC,CACP,QAAQ,EAAE,IAAI,KAAK,sBAAc,CAAC,UAAU,IAAI,QAAQ,CAAC,IAAI,KAAK,MAAM,CACzE,CAAC;QACJ,CAAC;QAED,SAAS,uBAAuB,CAC9B,YAA0B,EAC1B,aAAmC;YAEnC,IAAI,2BAA2B,CAAC,YAAY,CAAC,EAAE,CAAC;gBAC9C,OAAO,KAAK,CAAC;YACf,CAAC;YAED,MAAM,IAAI,GAAG,QAAQ,CAAC,qBAAqB,CAAC,GAAG,CAAC,YAAY,CAAC,CAAC;YAE9D,IAAI,CAAC,IAAI,CAAC,IAAI,EAAE,CAAC;gBACf,OAAO,KAAK,CAAC;YACf,CAAC;YAED,MAAM,SAAS,GAAG,QAAQ,CAAC,iBAAiB,CAC1C,aAAa,CACM,CAAC;YAEtB,IAAI,IAAI,CAAC,IAAI,CAAC,IAAI,KAAK,EAAE,CAAC,UAAU,CAAC,KAAK,EAAE,CAAC;gBAC3C,MAAM,IAAI,GAAG,OAAO,CAAC,iBAAiB,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;gBAClD,OAAO,SAAS,CAAC,QAAQ,KAAK,IAAI,CAAC;YACrC,CAAC;YAED,IAAI,aAAa,GAAG,KAAK,CAAC;YAC1B,IAAI,kBAAkB,GAAG,KAAgB,CAAC;YAE1C,IAAA,6BAAsB,EAAC,IAAI,CAAC,IAAgB,EAAE,IAAI,CAAC,EAAE;gBACnD,MAAM,IAAI,GAAG,IAAI,CAAC,UAAU,CAAC;gBAC7B,IAAI,CAAC,IAAI,EAAE,CAAC;oBACV,OAAO;gBACT,CAAC;gBAED,aAAa;gBACb,IAAI,IAAI,CAAC,IAAI,KAAK,EAAE,CAAC,UAAU,CAAC,WAAW,EAAE,CAAC;oBAC5C,aAAa,GAAG,IAAI,CAAC;oBACrB,OAAO;gBACT,CAAC;gBAED,MAAM,IAAI,GAAG,OAAO,CAAC,iBAAiB,CAAC,IAAI,CAAC,CAAC;gBAC7C,IAAI,SAAS,KAAK,IAAI,EAAE,CAAC;oBACvB,kBAAkB,GAAG,IAAI,CAAC;oBAC1B,OAAO,IAAI,CAAC;gBACd,CAAC;gBAED,IAAI,SAAS,CAAC,QAAQ,KAAK,IAAI,EAAE,CAAC;oBAChC,aAAa,GAAG,IAAI,CAAC;oBACrB,OAAO;gBACT,CAAC;gBAED,OAAO;YACT,CAAC,CAAC,CAAC;YAEH,OAAO,CAAC,kBAAkB,IAAI,aAAa,CAAC;QAC9C,CAAC;QAED,SAAS,aAAa,CACpB,YAA0B,EAC1B,aAAmC;YAEnC,MAAM,SAAS,GAAG,aAAa,CAAC,EAAE,EAAE,IAAI,CAAC;YACzC,IAAI,CAAC,SAAS,IAAI,CAAC,YAAY,CAAC,UAAU,EAAE,CAAC;gBAC3C,OAAO;YACT,CAAC;YAED,MAAM,IAAI,GAAG,gBAAgB,CAC3B,SAAS,EACT,YAAY,CAAC,UAAU,CAAC,cAAc,CACvC,CAAC;YACF,IAAI,CAAC,IAAI,EAAE,CAAC;gBACV,OAAO;YACT,CAAC;YAED,IAAI,uBAAuB,CAAC,YAAY,EAAE,aAAa,CAAC,EAAE,CAAC;gBACzD,OAAO,CAAC,MAAM,CAAC;oBACb,IAAI;oBACJ,SAAS,EAAE,aAAa;oBACxB,GAAG,EAAE,KAAK,CAAC,EAAE,CAAC,KAAK,CAAC,WAAW,CAAC,IAAI,EAAE,MAAM,CAAC;iBAC9C,CAAC,CAAC;YACL,CAAC;QACH,CAAC;QAED,OAAO;YACL,8BAA8B,CAAC,IAA+B;gBAC5D,aAAa,CAAC,IAAI,CAAC,KAAK,EAAE,IAAI,CAAC,MAAM,CAAC,MAA8B,CAAC,CAAC;YACxE,CAAC;YACD,gCAAgC,CAC9B,IAAiC;gBAEjC,IACE,CAAC,CACC,IAAI,CAAC,KAAK,EAAE,IAAI,KAAK,sBAAc,CAAC,kBAAkB;oBACtD,IAAI,CAAC,KAAK,EAAE,IAAI,KAAK,sBAAc,CAAC,uBAAuB,CAC5D,EACD,CAAC;oBACD,OAAO;gBACT,CAAC;gBAED,aAAa,CAAC,IAAI,CAAC,KAAK,EAAE,IAAI,CAAC,MAAM,CAAC,MAA8B,CAAC,CAAC;YACxE,CAAC;SACF,CAAC;IACJ,CAAC;CACF,CAAC,CAAC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/promise-function-async.js b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/promise-function-async.js index 58f16d2628..16dd3daf6e 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/promise-function-async.js +++ b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/promise-function-async.js @@ -15,13 +15,23 @@ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? ( }) : function(o, v) { o["default"] = v; }); -var __importStar = (this && this.__importStar) || function (mod) { - if (mod && mod.__esModule) return mod; - var result = {}; - if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k); - __setModuleDefault(result, mod); - return result; -}; +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); Object.defineProperty(exports, "__esModule", { value: true }); const utils_1 = require("@typescript-eslint/utils"); const ts = __importStar(require("typescript")); diff --git a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/promise-function-async.js.map b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/promise-function-async.js.map index 506baae83f..c0bf2c236d 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/promise-function-async.js.map +++ b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/promise-function-async.js.map @@ -1 +1 @@ -{"version":3,"file":"promise-function-async.js","sourceRoot":"","sources":["../../src/rules/promise-function-async.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AAEA,oDAA2E;AAC3E,+CAAiC;AAEjC,kCAQiB;AAcjB,kBAAe,IAAA,iBAAU,EAAsB;IAC7C,IAAI,EAAE,wBAAwB;IAC9B,IAAI,EAAE;QACJ,IAAI,EAAE,YAAY;QAClB,IAAI,EAAE;YACJ,WAAW,EACT,0EAA0E;YAC5E,oBAAoB,EAAE,IAAI;SAC3B;QACD,OAAO,EAAE,MAAM;QACf,QAAQ,EAAE;YACR,YAAY,EAAE,+CAA+C;SAC9D;QACD,MAAM,EAAE;YACN;gBACE,IAAI,EAAE,QAAQ;gBACd,oBAAoB,EAAE,KAAK;gBAC3B,UAAU,EAAE;oBACV,QAAQ,EAAE;wBACR,IAAI,EAAE,SAAS;wBACf,WAAW,EACT,yDAAyD;qBAC5D;oBACD,mBAAmB,EAAE;wBACnB,IAAI,EAAE,OAAO;wBACb,WAAW,EACT,qEAAqE;wBACvE,KAAK,EAAE;4BACL,IAAI,EAAE,QAAQ;yBACf;qBACF;oBACD,mBAAmB,EAAE;wBACnB,IAAI,EAAE,SAAS;wBACf,WAAW,EAAE,mCAAmC;qBACjD;oBACD,yBAAyB,EAAE;wBACzB,IAAI,EAAE,SAAS;wBACf,WAAW,EAAE,oDAAoD;qBAClE;oBACD,wBAAwB,EAAE;wBACxB,IAAI,EAAE,SAAS;wBACf,WAAW,EAAE,8CAA8C;qBAC5D;oBACD,uBAAuB,EAAE;wBACvB,IAAI,EAAE,SAAS;wBACf,WAAW,EACT,0DAA0D;qBAC7D;iBACF;aACF;SACF;KACF;IACD,cAAc,EAAE;QACd;YACE,QAAQ,EAAE,IAAI;YACd,mBAAmB,EAAE,EAAE;YACvB,mBAAmB,EAAE,IAAI;YACzB,yBAAyB,EAAE,IAAI;YAC/B,wBAAwB,EAAE,IAAI;YAC9B,uBAAuB,EAAE,IAAI;SAC9B;KACF;IACD,MAAM,CACJ,OAAO,EACP,CACE,EACE,QAAQ,EACR,mBAAmB,EACnB,mBAAmB,EACnB,yBAAyB,EACzB,wBAAwB,EACxB,uBAAuB,GACxB,EACF;QAED,MAAM,sBAAsB,GAAG,IAAI,GAAG,CAAC;YACrC,SAAS;YACT,qEAAqE;YACrE,oEAAoE;YACpE,GAAG,mBAAoB;SACxB,CAAC,CAAC;QACH,MAAM,QAAQ,GAAG,IAAA,wBAAiB,EAAC,OAAO,CAAC,CAAC;QAC5C,MAAM,OAAO,GAAG,QAAQ,CAAC,OAAO,CAAC,cAAc,EAAE,CAAC;QAElD,SAAS,YAAY,CACnB,IAG+B;YAE/B,MAAM,UAAU,GAAG,QAAQ,CAAC,iBAAiB,CAAC,IAAI,CAAC,CAAC,iBAAiB,EAAE,CAAC;YACxE,IAAI,CAAC,UAAU,CAAC,MAAM,EAAE,CAAC;gBACvB,OAAO;YACT,CAAC;YACD,MAAM,UAAU,GAAG,OAAO,CAAC,wBAAwB,CAAC,UAAU,CAAC,CAAC,CAAC,CAAC,CAAC;YAEnE,IACE,CAAC,IAAA,6BAAsB,EACrB,UAAU;YACV,oEAAoE;YACpE,QAAS,EACT,sBAAsB;YACtB,qIAAqI;YACrI,IAAI,CAAC,UAAU,IAAI,IAAI,CACxB,EACD,CAAC;gBACD,+BAA+B;gBAC/B,OAAO;YACT,CAAC;YAED,IAAI,IAAI,CAAC,MAAM,CAAC,IAAI,KAAK,sBAAc,CAAC,0BAA0B,EAAE,CAAC;gBACnE,iCAAiC;gBACjC,OAAO;YACT,CAAC;YAED,IACE,CAAC,IAAI,CAAC,MAAM,CAAC,IAAI,KAAK,sBAAc,CAAC,QAAQ;gBAC3C,IAAI,CAAC,MAAM,CAAC,IAAI,KAAK,sBAAc,CAAC,gBAAgB,CAAC;gBACvD,CAAC,IAAI,CAAC,MAAM,CAAC,IAAI,KAAK,KAAK,IAAI,IAAI,CAAC,MAAM,CAAC,IAAI,KAAK,KAAK,CAAC,EAC1D,CAAC;gBACD,qCAAqC;gBACrC,OAAO;YACT,CAAC;YAED,IAAI,IAAA,oBAAa,EAAC,UAAU,EAAE,EAAE,CAAC,SAAS,CAAC,GAAG,GAAG,EAAE,CAAC,SAAS,CAAC,OAAO,CAAC,EAAE,CAAC;gBACvE,+DAA+D;gBAC/D,OAAO,OAAO,CAAC,MAAM,CAAC;oBACpB,GAAG,EAAE,IAAA,yBAAkB,EAAC,IAAI,EAAE,OAAO,CAAC,UAAU,CAAC;oBACjD,IAAI;oBACJ,SAAS,EAAE,cAAc;iBAC1B,CAAC,CAAC;YACL,CAAC;YAED,OAAO,CAAC,MAAM,CAAC;gBACb,GAAG,EAAE,IAAA,yBAAkB,EAAC,IAAI,EAAE,OAAO,CAAC,UAAU,CAAC;gBACjD,IAAI;gBACJ,SAAS,EAAE,cAAc;gBACzB,GAAG,EAAE,KAAK,CAAC,EAAE;oBACX,IACE,IAAI,CAAC,MAAM,CAAC,IAAI,KAAK,sBAAc,CAAC,gBAAgB;wBACpD,CAAC,IAAI,CAAC,MAAM,CAAC,IAAI,KAAK,sBAAc,CAAC,QAAQ,IAAI,IAAI,CAAC,MAAM,CAAC,MAAM,CAAC,EACpE,CAAC;wBACD,wEAAwE;wBACxE,MAAM,MAAM,GAAG,IAAI,CAAC,MAAM,CAAC;wBAE3B,kCAAkC;wBAClC,IAAI,QAAQ,GAAG,IAAA,iBAAU,EACvB,OAAO,CAAC,UAAU,CAAC,aAAa,CAAC,MAAM,CAAC,EACxC,wBAAiB,CAAC,YAAY,CAAC,WAAW,EAAE,QAAQ,CAAC,CACtD,CAAC;wBAEF,8CAA8C;wBAC9C,IACE,MAAM,CAAC,IAAI,KAAK,sBAAc,CAAC,gBAAgB;4BAC/C,MAAM,CAAC,UAAU,CAAC,MAAM,EACxB,CAAC;4BACD,MAAM,aAAa,GACjB,MAAM,CAAC,UAAU,CAAC,MAAM,CAAC,UAAU,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC;4BAClD,QAAQ,GAAG,IAAA,iBAAU,EACnB,OAAO,CAAC,UAAU,CAAC,aAAa,CAAC,aAAa,CAAC,EAC/C,wBAAiB,CAAC,YAAY,CAAC,WAAW,EAAE,gBAAgB,CAAC,CAC9D,CAAC;wBACJ,CAAC;wBAED,uEAAuE;wBACvE,OACE,QAAQ,CAAC,IAAI,KAAK,uBAAe,CAAC,OAAO;4BACzC,QAAQ,CAAC,KAAK,CAAC,CAAC,CAAC,GAAG,MAAM,CAAC,GAAG,CAAC,KAAK,CAAC,CAAC,CAAC,EACvC,CAAC;4BACD,QAAQ,GAAG,IAAA,iBAAU,EACnB,OAAO,CAAC,UAAU,CAAC,aAAa,CAAC,QAAQ,CAAC,EAC1C,wBAAiB,CAAC,YAAY,CAAC,OAAO,EAAE,SAAS,CAAC,CACnD,CAAC;wBACJ,CAAC;wBAED,2DAA2D;wBAC3D,MAAM,WAAW,GAAG,CAAC,OAAO,CAAC,UAAU,CAAC,cAAc,CACpD,IAAA,iBAAU,EACR,OAAO,CAAC,UAAU,CAAC,cAAc,CAAC,QAAQ,CAAC,EAC3C,wBAAiB,CAAC,YAAY,CAAC,OAAO,EAAE,SAAS,CAAC,CACnD,EACD,QAAQ,CACT,CAAC;wBAEF,IAAI,IAAI,GAAG,QAAQ,CAAC;wBACpB,IAAI,WAAW,EAAE,CAAC;4BAChB,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;wBACpB,CAAC;wBACD,OAAO,KAAK,CAAC,gBAAgB,CAAC,QAAQ,EAAE,IAAI,CAAC,CAAC;oBAChD,CAAC;oBAED,OAAO,KAAK,CAAC,gBAAgB,CAAC,IAAI,EAAE,QAAQ,CAAC,CAAC;gBAChD,CAAC;aACF,CAAC,CAAC;QACL,CAAC;QAED,OAAO;YACL,GAAG,CAAC,mBAAmB,IAAI;gBACzB,wCAAwC,CACtC,IAAsC;oBAEtC,YAAY,CAAC,IAAI,CAAC,CAAC;gBACrB,CAAC;aACF,CAAC;YACF,GAAG,CAAC,yBAAyB,IAAI;gBAC/B,oCAAoC,CAClC,IAAkC;oBAElC,YAAY,CAAC,IAAI,CAAC,CAAC;gBACrB,CAAC;aACF,CAAC;YACF,mCAAmC,CACjC,IAAiC;gBAEjC,IACE,IAAI,CAAC,MAAM,CAAC,IAAI,KAAK,sBAAc,CAAC,gBAAgB;oBACpD,IAAI,CAAC,MAAM,CAAC,IAAI,KAAK,QAAQ,EAC7B,CAAC;oBACD,IAAI,uBAAuB,EAAE,CAAC;wBAC5B,YAAY,CAAC,IAAI,CAAC,CAAC;oBACrB,CAAC;oBACD,OAAO;gBACT,CAAC;gBACD,IAAI,wBAAwB,EAAE,CAAC;oBAC7B,YAAY,CAAC,IAAI,CAAC,CAAC;gBACrB,CAAC;YACH,CAAC;SACF,CAAC;IACJ,CAAC;CACF,CAAC,CAAC"} \ No newline at end of file +{"version":3,"file":"promise-function-async.js","sourceRoot":"","sources":["../../src/rules/promise-function-async.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEA,oDAA2E;AAC3E,+CAAiC;AAEjC,kCAQiB;AAcjB,kBAAe,IAAA,iBAAU,EAAsB;IAC7C,IAAI,EAAE,wBAAwB;IAC9B,IAAI,EAAE;QACJ,IAAI,EAAE,YAAY;QAClB,IAAI,EAAE;YACJ,WAAW,EACT,0EAA0E;YAC5E,oBAAoB,EAAE,IAAI;SAC3B;QACD,OAAO,EAAE,MAAM;QACf,QAAQ,EAAE;YACR,YAAY,EAAE,+CAA+C;SAC9D;QACD,MAAM,EAAE;YACN;gBACE,IAAI,EAAE,QAAQ;gBACd,oBAAoB,EAAE,KAAK;gBAC3B,UAAU,EAAE;oBACV,QAAQ,EAAE;wBACR,IAAI,EAAE,SAAS;wBACf,WAAW,EACT,yDAAyD;qBAC5D;oBACD,mBAAmB,EAAE;wBACnB,IAAI,EAAE,OAAO;wBACb,WAAW,EACT,qEAAqE;wBACvE,KAAK,EAAE;4BACL,IAAI,EAAE,QAAQ;yBACf;qBACF;oBACD,mBAAmB,EAAE;wBACnB,IAAI,EAAE,SAAS;wBACf,WAAW,EAAE,mCAAmC;qBACjD;oBACD,yBAAyB,EAAE;wBACzB,IAAI,EAAE,SAAS;wBACf,WAAW,EAAE,oDAAoD;qBAClE;oBACD,wBAAwB,EAAE;wBACxB,IAAI,EAAE,SAAS;wBACf,WAAW,EAAE,8CAA8C;qBAC5D;oBACD,uBAAuB,EAAE;wBACvB,IAAI,EAAE,SAAS;wBACf,WAAW,EACT,0DAA0D;qBAC7D;iBACF;aACF;SACF;KACF;IACD,cAAc,EAAE;QACd;YACE,QAAQ,EAAE,IAAI;YACd,mBAAmB,EAAE,EAAE;YACvB,mBAAmB,EAAE,IAAI;YACzB,yBAAyB,EAAE,IAAI;YAC/B,wBAAwB,EAAE,IAAI;YAC9B,uBAAuB,EAAE,IAAI;SAC9B;KACF;IACD,MAAM,CACJ,OAAO,EACP,CACE,EACE,QAAQ,EACR,mBAAmB,EACnB,mBAAmB,EACnB,yBAAyB,EACzB,wBAAwB,EACxB,uBAAuB,GACxB,EACF;QAED,MAAM,sBAAsB,GAAG,IAAI,GAAG,CAAC;YACrC,SAAS;YACT,qEAAqE;YACrE,oEAAoE;YACpE,GAAG,mBAAoB;SACxB,CAAC,CAAC;QACH,MAAM,QAAQ,GAAG,IAAA,wBAAiB,EAAC,OAAO,CAAC,CAAC;QAC5C,MAAM,OAAO,GAAG,QAAQ,CAAC,OAAO,CAAC,cAAc,EAAE,CAAC;QAElD,SAAS,YAAY,CACnB,IAG+B;YAE/B,MAAM,UAAU,GAAG,QAAQ,CAAC,iBAAiB,CAAC,IAAI,CAAC,CAAC,iBAAiB,EAAE,CAAC;YACxE,IAAI,CAAC,UAAU,CAAC,MAAM,EAAE,CAAC;gBACvB,OAAO;YACT,CAAC;YACD,MAAM,UAAU,GAAG,OAAO,CAAC,wBAAwB,CAAC,UAAU,CAAC,CAAC,CAAC,CAAC,CAAC;YAEnE,IACE,CAAC,IAAA,6BAAsB,EACrB,UAAU;YACV,oEAAoE;YACpE,QAAS,EACT,sBAAsB;YACtB,qIAAqI;YACrI,IAAI,CAAC,UAAU,IAAI,IAAI,CACxB,EACD,CAAC;gBACD,+BAA+B;gBAC/B,OAAO;YACT,CAAC;YAED,IAAI,IAAI,CAAC,MAAM,CAAC,IAAI,KAAK,sBAAc,CAAC,0BAA0B,EAAE,CAAC;gBACnE,iCAAiC;gBACjC,OAAO;YACT,CAAC;YAED,IACE,CAAC,IAAI,CAAC,MAAM,CAAC,IAAI,KAAK,sBAAc,CAAC,QAAQ;gBAC3C,IAAI,CAAC,MAAM,CAAC,IAAI,KAAK,sBAAc,CAAC,gBAAgB,CAAC;gBACvD,CAAC,IAAI,CAAC,MAAM,CAAC,IAAI,KAAK,KAAK,IAAI,IAAI,CAAC,MAAM,CAAC,IAAI,KAAK,KAAK,CAAC,EAC1D,CAAC;gBACD,qCAAqC;gBACrC,OAAO;YACT,CAAC;YAED,IAAI,IAAA,oBAAa,EAAC,UAAU,EAAE,EAAE,CAAC,SAAS,CAAC,GAAG,GAAG,EAAE,CAAC,SAAS,CAAC,OAAO,CAAC,EAAE,CAAC;gBACvE,+DAA+D;gBAC/D,OAAO,OAAO,CAAC,MAAM,CAAC;oBACpB,GAAG,EAAE,IAAA,yBAAkB,EAAC,IAAI,EAAE,OAAO,CAAC,UAAU,CAAC;oBACjD,IAAI;oBACJ,SAAS,EAAE,cAAc;iBAC1B,CAAC,CAAC;YACL,CAAC;YAED,OAAO,CAAC,MAAM,CAAC;gBACb,GAAG,EAAE,IAAA,yBAAkB,EAAC,IAAI,EAAE,OAAO,CAAC,UAAU,CAAC;gBACjD,IAAI;gBACJ,SAAS,EAAE,cAAc;gBACzB,GAAG,EAAE,KAAK,CAAC,EAAE;oBACX,IACE,IAAI,CAAC,MAAM,CAAC,IAAI,KAAK,sBAAc,CAAC,gBAAgB;wBACpD,CAAC,IAAI,CAAC,MAAM,CAAC,IAAI,KAAK,sBAAc,CAAC,QAAQ,IAAI,IAAI,CAAC,MAAM,CAAC,MAAM,CAAC,EACpE,CAAC;wBACD,wEAAwE;wBACxE,MAAM,MAAM,GAAG,IAAI,CAAC,MAAM,CAAC;wBAE3B,kCAAkC;wBAClC,IAAI,QAAQ,GAAG,IAAA,iBAAU,EACvB,OAAO,CAAC,UAAU,CAAC,aAAa,CAAC,MAAM,CAAC,EACxC,wBAAiB,CAAC,YAAY,CAAC,WAAW,EAAE,QAAQ,CAAC,CACtD,CAAC;wBAEF,8CAA8C;wBAC9C,IACE,MAAM,CAAC,IAAI,KAAK,sBAAc,CAAC,gBAAgB;4BAC/C,MAAM,CAAC,UAAU,CAAC,MAAM,EACxB,CAAC;4BACD,MAAM,aAAa,GACjB,MAAM,CAAC,UAAU,CAAC,MAAM,CAAC,UAAU,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC;4BAClD,QAAQ,GAAG,IAAA,iBAAU,EACnB,OAAO,CAAC,UAAU,CAAC,aAAa,CAAC,aAAa,CAAC,EAC/C,wBAAiB,CAAC,YAAY,CAAC,WAAW,EAAE,gBAAgB,CAAC,CAC9D,CAAC;wBACJ,CAAC;wBAED,uEAAuE;wBACvE,OACE,QAAQ,CAAC,IAAI,KAAK,uBAAe,CAAC,OAAO;4BACzC,QAAQ,CAAC,KAAK,CAAC,CAAC,CAAC,GAAG,MAAM,CAAC,GAAG,CAAC,KAAK,CAAC,CAAC,CAAC,EACvC,CAAC;4BACD,QAAQ,GAAG,IAAA,iBAAU,EACnB,OAAO,CAAC,UAAU,CAAC,aAAa,CAAC,QAAQ,CAAC,EAC1C,wBAAiB,CAAC,YAAY,CAAC,OAAO,EAAE,SAAS,CAAC,CACnD,CAAC;wBACJ,CAAC;wBAED,2DAA2D;wBAC3D,MAAM,WAAW,GAAG,CAAC,OAAO,CAAC,UAAU,CAAC,cAAc,CACpD,IAAA,iBAAU,EACR,OAAO,CAAC,UAAU,CAAC,cAAc,CAAC,QAAQ,CAAC,EAC3C,wBAAiB,CAAC,YAAY,CAAC,OAAO,EAAE,SAAS,CAAC,CACnD,EACD,QAAQ,CACT,CAAC;wBAEF,IAAI,IAAI,GAAG,QAAQ,CAAC;wBACpB,IAAI,WAAW,EAAE,CAAC;4BAChB,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;wBACpB,CAAC;wBACD,OAAO,KAAK,CAAC,gBAAgB,CAAC,QAAQ,EAAE,IAAI,CAAC,CAAC;oBAChD,CAAC;oBAED,OAAO,KAAK,CAAC,gBAAgB,CAAC,IAAI,EAAE,QAAQ,CAAC,CAAC;gBAChD,CAAC;aACF,CAAC,CAAC;QACL,CAAC;QAED,OAAO;YACL,GAAG,CAAC,mBAAmB,IAAI;gBACzB,wCAAwC,CACtC,IAAsC;oBAEtC,YAAY,CAAC,IAAI,CAAC,CAAC;gBACrB,CAAC;aACF,CAAC;YACF,GAAG,CAAC,yBAAyB,IAAI;gBAC/B,oCAAoC,CAClC,IAAkC;oBAElC,YAAY,CAAC,IAAI,CAAC,CAAC;gBACrB,CAAC;aACF,CAAC;YACF,mCAAmC,CACjC,IAAiC;gBAEjC,IACE,IAAI,CAAC,MAAM,CAAC,IAAI,KAAK,sBAAc,CAAC,gBAAgB;oBACpD,IAAI,CAAC,MAAM,CAAC,IAAI,KAAK,QAAQ,EAC7B,CAAC;oBACD,IAAI,uBAAuB,EAAE,CAAC;wBAC5B,YAAY,CAAC,IAAI,CAAC,CAAC;oBACrB,CAAC;oBACD,OAAO;gBACT,CAAC;gBACD,IAAI,wBAAwB,EAAE,CAAC;oBAC7B,YAAY,CAAC,IAAI,CAAC,CAAC;gBACrB,CAAC;YACH,CAAC;SACF,CAAC;IACJ,CAAC;CACF,CAAC,CAAC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/require-await.js b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/require-await.js index 7321a56f36..a87dc51708 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/require-await.js +++ b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/require-await.js @@ -15,13 +15,23 @@ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? ( }) : function(o, v) { o["default"] = v; }); -var __importStar = (this && this.__importStar) || function (mod) { - if (mod && mod.__esModule) return mod; - var result = {}; - if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k); - __setModuleDefault(result, mod); - return result; -}; +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); Object.defineProperty(exports, "__esModule", { value: true }); const utils_1 = require("@typescript-eslint/utils"); const tsutils = __importStar(require("ts-api-utils")); diff --git a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/require-await.js.map b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/require-await.js.map index 166b6b29fa..0d75d4bedf 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/require-await.js.map +++ b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/require-await.js.map @@ -1 +1 @@ -{"version":3,"file":"require-await.js","sourceRoot":"","sources":["../../src/rules/require-await.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AAIA,oDAA2E;AAC3E,sDAAwC;AAExC,kCASiB;AAcjB,kBAAe,IAAA,iBAAU,EAAC;IACxB,IAAI,EAAE,eAAe;IACrB,IAAI,EAAE;QACJ,IAAI,EAAE,YAAY;QAClB,IAAI,EAAE;YACJ,WAAW,EACT,sFAAsF;YACxF,eAAe,EAAE,IAAI;YACrB,WAAW,EAAE,aAAa;YAC1B,oBAAoB,EAAE,IAAI;SAC3B;QACD,cAAc,EAAE,IAAI;QACpB,QAAQ,EAAE;YACR,YAAY,EAAE,qCAAqC;YACnD,WAAW,EAAE,iBAAiB;SAC/B;QACD,MAAM,EAAE,EAAE;KACX;IACD,cAAc,EAAE,EAAE;IAClB,MAAM,CAAC,OAAO;QACZ,MAAM,QAAQ,GAAG,IAAA,wBAAiB,EAAC,OAAO,CAAC,CAAC;QAC5C,MAAM,OAAO,GAAG,QAAQ,CAAC,OAAO,CAAC,cAAc,EAAE,CAAC;QAElD,IAAI,SAAS,GAAqB,IAAI,CAAC;QAEvC;;WAEG;QACH,SAAS,aAAa,CAAC,IAAkB;YACvC,SAAS,GAAG;gBACV,QAAQ,EAAE,IAAI,CAAC,KAAK;gBACpB,QAAQ,EAAE,KAAK;gBACf,YAAY,EAAE,KAAK;gBACnB,KAAK,EAAE,IAAI,CAAC,SAAS,IAAI,KAAK;gBAC9B,KAAK,EAAE,SAAS;aACjB,CAAC;QACJ,CAAC;QAED;;;WAGG;QACH,SAAS,YAAY,CAAC,IAAkB;YACtC,wBAAwB,CAAC,IAAI,CAAC,SAAS,EAAE,CAAC;gBACxC,8EAA8E;gBAC9E,OAAO;YACT,CAAC;YAED,IACE,IAAI,CAAC,KAAK;gBACV,CAAC,SAAS,CAAC,QAAQ;gBACnB,CAAC,eAAe,CAAC,IAAI,CAAC;gBACtB,CAAC,CAAC,SAAS,CAAC,KAAK,IAAI,SAAS,CAAC,YAAY,CAAC,EAC5C,CAAC;gBACD,oDAAoD;gBACpD,0DAA0D;gBAC1D,4DAA4D;gBAC5D,MAAM,oBAAoB,GACxB,CAAC,IAAI,CAAC,MAAM,CAAC,IAAI,KAAK,sBAAc,CAAC,gBAAgB;oBACnD,IAAI,CAAC,MAAM,CAAC,KAAK,KAAK,IAAI,CAAC;oBAC7B,CAAC,IAAI,CAAC,MAAM,CAAC,IAAI,KAAK,sBAAc,CAAC,QAAQ;wBAC3C,IAAI,CAAC,MAAM,CAAC,MAAM;wBAClB,IAAI,CAAC,MAAM,CAAC,KAAK,KAAK,IAAI,CAAC;oBAC3B,CAAC,CAAC,IAAI,CAAC,MAAM;oBACb,CAAC,CAAC,IAAI,CAAC;gBAEX,MAAM,UAAU,GAAG,IAAA,iBAAU,EAC3B,OAAO,CAAC,UAAU,CAAC,aAAa,CAC9B,oBAAoB,EACpB,KAAK,CAAC,EAAE,CAAC,KAAK,CAAC,KAAK,KAAK,OAAO,CACjC,EACD,kEAAkE,CACnE,CAAC;gBAEF,MAAM,UAAU,GAAwB;oBACtC,UAAU,CAAC,KAAK,CAAC,CAAC,CAAC;oBACnB,IAAA,iBAAU,EACR,OAAO,CAAC,UAAU,CAAC,aAAa,CAAC,UAAU,EAAE;wBAC3C,eAAe,EAAE,IAAI;qBACtB,CAAC,EACF,yDAAyD,CAC1D,CAAC,KAAK,CAAC,CAAC,CAAC;iBACF,CAAC;gBAEX,+DAA+D;gBAC/D,iEAAiE;gBACjE,6DAA6D;gBAC7D,oCAAoC;gBACpC,MAAM,SAAS,GAAG,IAAA,iBAAU,EAC1B,OAAO,CAAC,UAAU,CAAC,aAAa,CAAC,UAAU,CAAC,EAC5C,yDAAyD,CAC1D,CAAC;gBACF,MAAM,YAAY,GAChB,SAAS,CAAC,IAAI,KAAK,uBAAe,CAAC,UAAU;oBAC7C,CAAC,SAAS,CAAC,KAAK,KAAK,GAAG,IAAI,SAAS,CAAC,KAAK,KAAK,GAAG,CAAC;oBACpD,CAAC,oBAAoB,CAAC,IAAI,KAAK,sBAAc,CAAC,gBAAgB;wBAC5D,IAAA,mCAA4B,EAAC,oBAAoB,CAAC,CAAC;oBACrD,IAAA,8BAAuB,EAAC,OAAO,CAAC,UAAU,EAAE,oBAAoB,CAAC,CAAC;gBAEpE,MAAM,OAAO,GAAG;oBACd,EAAE,KAAK,EAAE,UAAU,EAAE,WAAW,EAAE,YAAY,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,SAAS,EAAE;iBACnE,CAAC;gBAEF,iDAAiD;gBACjD,mDAAmD;gBACnD,oDAAoD;gBACpD,oDAAoD;gBACpD,qDAAqD;gBACrD,2CAA2C;gBAC3C,IACE,IAAI,CAAC,UAAU,EAAE,cAAc,CAAC,IAAI;oBACpC,sBAAc,CAAC,eAAe,EAC9B,CAAC;oBACD,IAAI,SAAS,CAAC,KAAK,EAAE,CAAC;wBACpB,IAAI,WAAW,CAAC,IAAI,CAAC,UAAU,CAAC,cAAc,EAAE,gBAAgB,CAAC,EAAE,CAAC;4BAClE,OAAO,CAAC,IAAI,CAAC;gCACX,KAAK,EAAE,IAAI,CAAC,UAAU,CAAC,cAAc,CAAC,QAAQ,CAAC,KAAK;gCACpD,WAAW,EAAE,WAAW;6BACzB,CAAC,CAAC;wBACL,CAAC;oBACH,CAAC;yBAAM,IACL,WAAW,CAAC,IAAI,CAAC,UAAU,CAAC,cAAc,EAAE,SAAS,CAAC;wBACtD,IAAI,CAAC,UAAU,CAAC,cAAc,CAAC,aAAa,IAAI,IAAI,EACpD,CAAC;wBACD,MAAM,SAAS,GAAG,IAAA,iBAAU,EAC1B,OAAO,CAAC,UAAU,CAAC,aAAa,CAC9B,IAAI,CAAC,UAAU,CAAC,cAAc,EAC9B,KAAK,CAAC,EAAE,CACN,KAAK,CAAC,IAAI,KAAK,uBAAe,CAAC,UAAU;4BACzC,KAAK,CAAC,KAAK,KAAK,GAAG,CACtB,EACD,4DAA4D,CAC7D,CAAC;wBACF,MAAM,UAAU,GAAG,IAAA,iBAAU,EAC3B,OAAO,CAAC,UAAU,CAAC,YAAY,CAC7B,IAAI,CAAC,UAAU,CAAC,cAAc,EAC9B,KAAK,CAAC,EAAE,CACN,KAAK,CAAC,IAAI,KAAK,uBAAe,CAAC,UAAU;4BACzC,KAAK,CAAC,KAAK,KAAK,GAAG,CACtB,EACD,4DAA4D,CAC7D,CAAC;wBACF,OAAO,CAAC,IAAI;wBACV,qCAAqC;wBACrC,EAAE,KAAK,EAAE,UAAU,CAAC,KAAK,EAAE,WAAW,EAAE,SAAS,EAAE;wBACnD,kCAAkC;wBAClC,kCAAkC;wBAClC;4BACE,KAAK,EAAE;gCACL,IAAI,CAAC,UAAU,CAAC,cAAc,CAAC,QAAQ,CAAC,KAAK,CAAC,CAAC,CAAC;gCAChD,SAAS,CAAC,KAAK,CAAC,CAAC,CAAC;6BACnB;4BACD,WAAW,EAAE,SAAS;yBACvB,CACF,CAAC;oBACJ,CAAC;gBACH,CAAC;gBAED,OAAO,CAAC,MAAM,CAAC;oBACb,GAAG,EAAE,IAAA,yBAAkB,EAAC,IAAI,EAAE,OAAO,CAAC,UAAU,CAAC;oBACjD,IAAI;oBACJ,SAAS,EAAE,cAAc;oBACzB,IAAI,EAAE;wBACJ,IAAI,EAAE,IAAA,qBAAc,EAAC,IAAA,8BAAuB,EAAC,IAAI,CAAC,CAAC;qBACpD;oBACD,OAAO,EAAE;wBACP;4BACE,SAAS,EAAE,aAAa;4BACxB,GAAG,EAAE,CAAC,KAAK,EAAa,EAAE,CACxB,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,EAAE,CACnB,MAAM,CAAC,WAAW,KAAK,SAAS;gCAC9B,CAAC,CAAC,KAAK,CAAC,gBAAgB,CAAC,MAAM,CAAC,KAAK,EAAE,MAAM,CAAC,WAAW,CAAC;gCAC1D,CAAC,CAAC,KAAK,CAAC,WAAW,CAAC,MAAM,CAAC,KAAK,CAAC,CACpC;yBACJ;qBACF;iBACF,CAAC,CAAC;YACL,CAAC;YAED,SAAS,GAAG,SAAS,CAAC,KAAK,CAAC;QAC9B,CAAC;QAED;;WAEG;QACH,SAAS,cAAc,CAAC,IAAa;YACnC,MAAM,IAAI,GAAG,OAAO,CAAC,iBAAiB,CAAC,IAAI,CAAC,CAAC;YAE7C,OAAO,OAAO,CAAC,cAAc,CAAC,OAAO,EAAE,IAAI,EAAE,IAAI,CAAC,CAAC;QACrD,CAAC;QAED;;WAEG;QACH,SAAS,cAAc;YACrB,IAAI,CAAC,SAAS,EAAE,CAAC;gBACf,OAAO;YACT,CAAC;YACD,SAAS,CAAC,QAAQ,GAAG,IAAI,CAAC;QAC5B,CAAC;QAED;;;;;WAKG;QACH,SAAS,oBAAoB,CAAC,IAA8B;YAC1D,IAAI,CAAC,SAAS,EAAE,KAAK,IAAI,CAAC,IAAI,CAAC,QAAQ,EAAE,CAAC;gBACxC,OAAO;YACT,CAAC;YAED,IAAI,IAAI,CAAC,QAAQ,CAAC,IAAI,KAAK,sBAAc,CAAC,OAAO,EAAE,CAAC;gBAClD,sEAAsE;gBACtE,0CAA0C;gBAC1C,OAAO;YACT,CAAC;YAED,IAAI,CAAC,IAAI,CAAC,QAAQ,EAAE,CAAC;gBACnB,IAAI,cAAc,CAAC,QAAQ,CAAC,qBAAqB,CAAC,GAAG,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC,EAAE,CAAC;oBACtE,SAAS,CAAC,YAAY,GAAG,IAAI,CAAC;gBAChC,CAAC;gBACD,OAAO;YACT,CAAC;YAED,MAAM,IAAI,GAAG,QAAQ,CAAC,iBAAiB,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC;YACvD,MAAM,YAAY,GAAG,6BAA6B,CAAC,IAAI,CAAC,CAAC;YACzD,KAAK,MAAM,IAAI,IAAI,YAAY,EAAE,CAAC;gBAChC,MAAM,aAAa,GAAG,OAAO,CAAC,gCAAgC,CAC5D,IAAI,EACJ,eAAe,EACf,OAAO,CACR,CAAC;gBACF,IAAI,aAAa,KAAK,SAAS,EAAE,CAAC;oBAChC,SAAS,CAAC,YAAY,GAAG,IAAI,CAAC;oBAC9B,MAAM;gBACR,CAAC;YACH,CAAC;QACH,CAAC;QAED,OAAO;YACL,uBAAuB,EAAE,aAAa;YACtC,8BAA8B,EAAE,YAAY;YAC5C,eAAe,EAAE,cAAc;YAC/B,8BAA8B,EAAE,cAAc;YAC9C,mBAAmB,EAAE,aAAa;YAClC,0BAA0B,EAAE,YAAY;YAExC,kBAAkB,EAAE,aAAa;YACjC,yBAAyB,EAAE,YAAY;YACvC,2CAA2C,EAAE,cAAc;YAC3D,eAAe,EAAE,oBAAoB;YAErC,wCAAwC;YACxC,gEAAgE;YAChE,+EAA+E,CAC7E,IAGC;gBAED,MAAM,UAAU,GAAG,QAAQ,CAAC,qBAAqB,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC;gBAC5D,IAAI,cAAc,CAAC,UAAU,CAAC,EAAE,CAAC;oBAC/B,cAAc,EAAE,CAAC;gBACnB,CAAC;YACH,CAAC;YACD,eAAe,CAAC,IAAI;gBAClB,uDAAuD;gBACvD,IAAI,CAAC,SAAS,IAAI,SAAS,CAAC,QAAQ,IAAI,CAAC,SAAS,CAAC,QAAQ,EAAE,CAAC;oBAC5D,OAAO;gBACT,CAAC;gBAED,MAAM,EAAE,UAAU,EAAE,GAAG,QAAQ,CAAC,qBAAqB,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC;gBAChE,IAAI,UAAU,IAAI,cAAc,CAAC,UAAU,CAAC,EAAE,CAAC;oBAC7C,cAAc,EAAE,CAAC;gBACnB,CAAC;YACH,CAAC;SACF,CAAC;IACJ,CAAC;CACF,CAAC,CAAC;AAEH,SAAS,eAAe,CAAC,IAAkB;IACzC,OAAO,CACL,IAAI,CAAC,IAAI,CAAC,IAAI,KAAK,sBAAc,CAAC,cAAc;QAChD,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,MAAM,KAAK,CAAC,CAC5B,CAAC;AACJ,CAAC;AAED,SAAS,6BAA6B,CAAC,IAAa;IAClD,IAAI,IAAI,CAAC,qBAAqB,EAAE,EAAE,CAAC;QACjC,OAAO,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,6BAA6B,CAAC,CAAC;IAC3D,CAAC;IACD,OAAO,CAAC,IAAI,CAAC,CAAC;AAChB,CAAC;AAED,SAAS,WAAW,CAClB,aAAuC,EACvC,QAAgB;IAEhB,OAAO,CACL,aAAa,CAAC,QAAQ,CAAC,IAAI,KAAK,sBAAc,CAAC,UAAU;QACzD,aAAa,CAAC,QAAQ,CAAC,IAAI,KAAK,QAAQ,CACzC,CAAC;AACJ,CAAC"} \ No newline at end of file +{"version":3,"file":"require-await.js","sourceRoot":"","sources":["../../src/rules/require-await.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAIA,oDAA2E;AAC3E,sDAAwC;AAExC,kCASiB;AAcjB,kBAAe,IAAA,iBAAU,EAAC;IACxB,IAAI,EAAE,eAAe;IACrB,IAAI,EAAE;QACJ,IAAI,EAAE,YAAY;QAClB,IAAI,EAAE;YACJ,WAAW,EACT,sFAAsF;YACxF,eAAe,EAAE,IAAI;YACrB,WAAW,EAAE,aAAa;YAC1B,oBAAoB,EAAE,IAAI;SAC3B;QACD,cAAc,EAAE,IAAI;QACpB,QAAQ,EAAE;YACR,YAAY,EAAE,qCAAqC;YACnD,WAAW,EAAE,iBAAiB;SAC/B;QACD,MAAM,EAAE,EAAE;KACX;IACD,cAAc,EAAE,EAAE;IAClB,MAAM,CAAC,OAAO;QACZ,MAAM,QAAQ,GAAG,IAAA,wBAAiB,EAAC,OAAO,CAAC,CAAC;QAC5C,MAAM,OAAO,GAAG,QAAQ,CAAC,OAAO,CAAC,cAAc,EAAE,CAAC;QAElD,IAAI,SAAS,GAAqB,IAAI,CAAC;QAEvC;;WAEG;QACH,SAAS,aAAa,CAAC,IAAkB;YACvC,SAAS,GAAG;gBACV,QAAQ,EAAE,IAAI,CAAC,KAAK;gBACpB,QAAQ,EAAE,KAAK;gBACf,YAAY,EAAE,KAAK;gBACnB,KAAK,EAAE,IAAI,CAAC,SAAS,IAAI,KAAK;gBAC9B,KAAK,EAAE,SAAS;aACjB,CAAC;QACJ,CAAC;QAED;;;WAGG;QACH,SAAS,YAAY,CAAC,IAAkB;YACtC,wBAAwB,CAAC,IAAI,CAAC,SAAS,EAAE,CAAC;gBACxC,8EAA8E;gBAC9E,OAAO;YACT,CAAC;YAED,IACE,IAAI,CAAC,KAAK;gBACV,CAAC,SAAS,CAAC,QAAQ;gBACnB,CAAC,eAAe,CAAC,IAAI,CAAC;gBACtB,CAAC,CAAC,SAAS,CAAC,KAAK,IAAI,SAAS,CAAC,YAAY,CAAC,EAC5C,CAAC;gBACD,oDAAoD;gBACpD,0DAA0D;gBAC1D,4DAA4D;gBAC5D,MAAM,oBAAoB,GACxB,CAAC,IAAI,CAAC,MAAM,CAAC,IAAI,KAAK,sBAAc,CAAC,gBAAgB;oBACnD,IAAI,CAAC,MAAM,CAAC,KAAK,KAAK,IAAI,CAAC;oBAC7B,CAAC,IAAI,CAAC,MAAM,CAAC,IAAI,KAAK,sBAAc,CAAC,QAAQ;wBAC3C,IAAI,CAAC,MAAM,CAAC,MAAM;wBAClB,IAAI,CAAC,MAAM,CAAC,KAAK,KAAK,IAAI,CAAC;oBAC3B,CAAC,CAAC,IAAI,CAAC,MAAM;oBACb,CAAC,CAAC,IAAI,CAAC;gBAEX,MAAM,UAAU,GAAG,IAAA,iBAAU,EAC3B,OAAO,CAAC,UAAU,CAAC,aAAa,CAC9B,oBAAoB,EACpB,KAAK,CAAC,EAAE,CAAC,KAAK,CAAC,KAAK,KAAK,OAAO,CACjC,EACD,kEAAkE,CACnE,CAAC;gBAEF,MAAM,UAAU,GAAwB;oBACtC,UAAU,CAAC,KAAK,CAAC,CAAC,CAAC;oBACnB,IAAA,iBAAU,EACR,OAAO,CAAC,UAAU,CAAC,aAAa,CAAC,UAAU,EAAE;wBAC3C,eAAe,EAAE,IAAI;qBACtB,CAAC,EACF,yDAAyD,CAC1D,CAAC,KAAK,CAAC,CAAC,CAAC;iBACF,CAAC;gBAEX,+DAA+D;gBAC/D,iEAAiE;gBACjE,6DAA6D;gBAC7D,oCAAoC;gBACpC,MAAM,SAAS,GAAG,IAAA,iBAAU,EAC1B,OAAO,CAAC,UAAU,CAAC,aAAa,CAAC,UAAU,CAAC,EAC5C,yDAAyD,CAC1D,CAAC;gBACF,MAAM,YAAY,GAChB,SAAS,CAAC,IAAI,KAAK,uBAAe,CAAC,UAAU;oBAC7C,CAAC,SAAS,CAAC,KAAK,KAAK,GAAG,IAAI,SAAS,CAAC,KAAK,KAAK,GAAG,CAAC;oBACpD,CAAC,oBAAoB,CAAC,IAAI,KAAK,sBAAc,CAAC,gBAAgB;wBAC5D,IAAA,mCAA4B,EAAC,oBAAoB,CAAC,CAAC;oBACrD,IAAA,8BAAuB,EAAC,OAAO,CAAC,UAAU,EAAE,oBAAoB,CAAC,CAAC;gBAEpE,MAAM,OAAO,GAAG;oBACd,EAAE,KAAK,EAAE,UAAU,EAAE,WAAW,EAAE,YAAY,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,SAAS,EAAE;iBACnE,CAAC;gBAEF,iDAAiD;gBACjD,mDAAmD;gBACnD,oDAAoD;gBACpD,oDAAoD;gBACpD,qDAAqD;gBACrD,2CAA2C;gBAC3C,IACE,IAAI,CAAC,UAAU,EAAE,cAAc,CAAC,IAAI;oBACpC,sBAAc,CAAC,eAAe,EAC9B,CAAC;oBACD,IAAI,SAAS,CAAC,KAAK,EAAE,CAAC;wBACpB,IAAI,WAAW,CAAC,IAAI,CAAC,UAAU,CAAC,cAAc,EAAE,gBAAgB,CAAC,EAAE,CAAC;4BAClE,OAAO,CAAC,IAAI,CAAC;gCACX,KAAK,EAAE,IAAI,CAAC,UAAU,CAAC,cAAc,CAAC,QAAQ,CAAC,KAAK;gCACpD,WAAW,EAAE,WAAW;6BACzB,CAAC,CAAC;wBACL,CAAC;oBACH,CAAC;yBAAM,IACL,WAAW,CAAC,IAAI,CAAC,UAAU,CAAC,cAAc,EAAE,SAAS,CAAC;wBACtD,IAAI,CAAC,UAAU,CAAC,cAAc,CAAC,aAAa,IAAI,IAAI,EACpD,CAAC;wBACD,MAAM,SAAS,GAAG,IAAA,iBAAU,EAC1B,OAAO,CAAC,UAAU,CAAC,aAAa,CAC9B,IAAI,CAAC,UAAU,CAAC,cAAc,EAC9B,KAAK,CAAC,EAAE,CACN,KAAK,CAAC,IAAI,KAAK,uBAAe,CAAC,UAAU;4BACzC,KAAK,CAAC,KAAK,KAAK,GAAG,CACtB,EACD,4DAA4D,CAC7D,CAAC;wBACF,MAAM,UAAU,GAAG,IAAA,iBAAU,EAC3B,OAAO,CAAC,UAAU,CAAC,YAAY,CAC7B,IAAI,CAAC,UAAU,CAAC,cAAc,EAC9B,KAAK,CAAC,EAAE,CACN,KAAK,CAAC,IAAI,KAAK,uBAAe,CAAC,UAAU;4BACzC,KAAK,CAAC,KAAK,KAAK,GAAG,CACtB,EACD,4DAA4D,CAC7D,CAAC;wBACF,OAAO,CAAC,IAAI;wBACV,qCAAqC;wBACrC,EAAE,KAAK,EAAE,UAAU,CAAC,KAAK,EAAE,WAAW,EAAE,SAAS,EAAE;wBACnD,kCAAkC;wBAClC,kCAAkC;wBAClC;4BACE,KAAK,EAAE;gCACL,IAAI,CAAC,UAAU,CAAC,cAAc,CAAC,QAAQ,CAAC,KAAK,CAAC,CAAC,CAAC;gCAChD,SAAS,CAAC,KAAK,CAAC,CAAC,CAAC;6BACnB;4BACD,WAAW,EAAE,SAAS;yBACvB,CACF,CAAC;oBACJ,CAAC;gBACH,CAAC;gBAED,OAAO,CAAC,MAAM,CAAC;oBACb,GAAG,EAAE,IAAA,yBAAkB,EAAC,IAAI,EAAE,OAAO,CAAC,UAAU,CAAC;oBACjD,IAAI;oBACJ,SAAS,EAAE,cAAc;oBACzB,IAAI,EAAE;wBACJ,IAAI,EAAE,IAAA,qBAAc,EAAC,IAAA,8BAAuB,EAAC,IAAI,CAAC,CAAC;qBACpD;oBACD,OAAO,EAAE;wBACP;4BACE,SAAS,EAAE,aAAa;4BACxB,GAAG,EAAE,CAAC,KAAK,EAAa,EAAE,CACxB,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,EAAE,CACnB,MAAM,CAAC,WAAW,KAAK,SAAS;gCAC9B,CAAC,CAAC,KAAK,CAAC,gBAAgB,CAAC,MAAM,CAAC,KAAK,EAAE,MAAM,CAAC,WAAW,CAAC;gCAC1D,CAAC,CAAC,KAAK,CAAC,WAAW,CAAC,MAAM,CAAC,KAAK,CAAC,CACpC;yBACJ;qBACF;iBACF,CAAC,CAAC;YACL,CAAC;YAED,SAAS,GAAG,SAAS,CAAC,KAAK,CAAC;QAC9B,CAAC;QAED;;WAEG;QACH,SAAS,cAAc,CAAC,IAAa;YACnC,MAAM,IAAI,GAAG,OAAO,CAAC,iBAAiB,CAAC,IAAI,CAAC,CAAC;YAE7C,OAAO,OAAO,CAAC,cAAc,CAAC,OAAO,EAAE,IAAI,EAAE,IAAI,CAAC,CAAC;QACrD,CAAC;QAED;;WAEG;QACH,SAAS,cAAc;YACrB,IAAI,CAAC,SAAS,EAAE,CAAC;gBACf,OAAO;YACT,CAAC;YACD,SAAS,CAAC,QAAQ,GAAG,IAAI,CAAC;QAC5B,CAAC;QAED;;;;;WAKG;QACH,SAAS,oBAAoB,CAAC,IAA8B;YAC1D,IAAI,CAAC,SAAS,EAAE,KAAK,IAAI,CAAC,IAAI,CAAC,QAAQ,EAAE,CAAC;gBACxC,OAAO;YACT,CAAC;YAED,IAAI,IAAI,CAAC,QAAQ,CAAC,IAAI,KAAK,sBAAc,CAAC,OAAO,EAAE,CAAC;gBAClD,sEAAsE;gBACtE,0CAA0C;gBAC1C,OAAO;YACT,CAAC;YAED,IAAI,CAAC,IAAI,CAAC,QAAQ,EAAE,CAAC;gBACnB,IAAI,cAAc,CAAC,QAAQ,CAAC,qBAAqB,CAAC,GAAG,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC,EAAE,CAAC;oBACtE,SAAS,CAAC,YAAY,GAAG,IAAI,CAAC;gBAChC,CAAC;gBACD,OAAO;YACT,CAAC;YAED,MAAM,IAAI,GAAG,QAAQ,CAAC,iBAAiB,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC;YACvD,MAAM,YAAY,GAAG,6BAA6B,CAAC,IAAI,CAAC,CAAC;YACzD,KAAK,MAAM,IAAI,IAAI,YAAY,EAAE,CAAC;gBAChC,MAAM,aAAa,GAAG,OAAO,CAAC,gCAAgC,CAC5D,IAAI,EACJ,eAAe,EACf,OAAO,CACR,CAAC;gBACF,IAAI,aAAa,KAAK,SAAS,EAAE,CAAC;oBAChC,SAAS,CAAC,YAAY,GAAG,IAAI,CAAC;oBAC9B,MAAM;gBACR,CAAC;YACH,CAAC;QACH,CAAC;QAED,OAAO;YACL,uBAAuB,EAAE,aAAa;YACtC,8BAA8B,EAAE,YAAY;YAC5C,eAAe,EAAE,cAAc;YAC/B,8BAA8B,EAAE,cAAc;YAC9C,mBAAmB,EAAE,aAAa;YAClC,0BAA0B,EAAE,YAAY;YAExC,kBAAkB,EAAE,aAAa;YACjC,yBAAyB,EAAE,YAAY;YACvC,2CAA2C,EAAE,cAAc;YAC3D,eAAe,EAAE,oBAAoB;YAErC,wCAAwC;YACxC,gEAAgE;YAChE,+EAA+E,CAC7E,IAGC;gBAED,MAAM,UAAU,GAAG,QAAQ,CAAC,qBAAqB,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC;gBAC5D,IAAI,cAAc,CAAC,UAAU,CAAC,EAAE,CAAC;oBAC/B,cAAc,EAAE,CAAC;gBACnB,CAAC;YACH,CAAC;YACD,eAAe,CAAC,IAAI;gBAClB,uDAAuD;gBACvD,IAAI,CAAC,SAAS,IAAI,SAAS,CAAC,QAAQ,IAAI,CAAC,SAAS,CAAC,QAAQ,EAAE,CAAC;oBAC5D,OAAO;gBACT,CAAC;gBAED,MAAM,EAAE,UAAU,EAAE,GAAG,QAAQ,CAAC,qBAAqB,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC;gBAChE,IAAI,UAAU,IAAI,cAAc,CAAC,UAAU,CAAC,EAAE,CAAC;oBAC7C,cAAc,EAAE,CAAC;gBACnB,CAAC;YACH,CAAC;SACF,CAAC;IACJ,CAAC;CACF,CAAC,CAAC;AAEH,SAAS,eAAe,CAAC,IAAkB;IACzC,OAAO,CACL,IAAI,CAAC,IAAI,CAAC,IAAI,KAAK,sBAAc,CAAC,cAAc;QAChD,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,MAAM,KAAK,CAAC,CAC5B,CAAC;AACJ,CAAC;AAED,SAAS,6BAA6B,CAAC,IAAa;IAClD,IAAI,IAAI,CAAC,qBAAqB,EAAE,EAAE,CAAC;QACjC,OAAO,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,6BAA6B,CAAC,CAAC;IAC3D,CAAC;IACD,OAAO,CAAC,IAAI,CAAC,CAAC;AAChB,CAAC;AAED,SAAS,WAAW,CAClB,aAAuC,EACvC,QAAgB;IAEhB,OAAO,CACL,aAAa,CAAC,QAAQ,CAAC,IAAI,KAAK,sBAAc,CAAC,UAAU;QACzD,aAAa,CAAC,QAAQ,CAAC,IAAI,KAAK,QAAQ,CACzC,CAAC;AACJ,CAAC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/restrict-plus-operands.js b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/restrict-plus-operands.js index 763d569736..d4f996fe83 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/restrict-plus-operands.js +++ b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/restrict-plus-operands.js @@ -15,13 +15,23 @@ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? ( }) : function(o, v) { o["default"] = v; }); -var __importStar = (this && this.__importStar) || function (mod) { - if (mod && mod.__esModule) return mod; - var result = {}; - if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k); - __setModuleDefault(result, mod); - return result; -}; +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); Object.defineProperty(exports, "__esModule", { value: true }); const tsutils = __importStar(require("ts-api-utils")); const ts = __importStar(require("typescript")); diff --git a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/restrict-plus-operands.js.map b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/restrict-plus-operands.js.map index d4be0c1d52..1c62ac2e59 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/restrict-plus-operands.js.map +++ b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/restrict-plus-operands.js.map @@ -1 +1 @@ -{"version":3,"file":"restrict-plus-operands.js","sourceRoot":"","sources":["../../src/rules/restrict-plus-operands.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AAEA,sDAAwC;AACxC,+CAAiC;AAEjC,kCAOiB;AAejB,kBAAe,IAAA,iBAAU,EAAsB;IAC7C,IAAI,EAAE,wBAAwB;IAC9B,IAAI,EAAE;QACJ,IAAI,EAAE,SAAS;QACf,IAAI,EAAE;YACJ,WAAW,EACT,8FAA8F;YAChG,WAAW,EAAE;gBACX,WAAW,EAAE,IAAI;gBACjB,MAAM,EAAE;oBACN;wBACE,QAAQ,EAAE,KAAK;wBACf,YAAY,EAAE,KAAK;wBACnB,YAAY,EAAE,KAAK;wBACnB,oBAAoB,EAAE,KAAK;wBAC3B,WAAW,EAAE,KAAK;qBACnB;iBACF;aACF;YACD,oBAAoB,EAAE,IAAI;SAC3B;QACD,QAAQ,EAAE;YACR,eAAe,EACb,mGAAmG;YACrG,OAAO,EACL,wGAAwG;YAC1G,UAAU,EACR,8FAA8F;SACjG;QACD,MAAM,EAAE;YACN;gBACE,IAAI,EAAE,QAAQ;gBACd,oBAAoB,EAAE,KAAK;gBAC3B,UAAU,EAAE;oBACV,QAAQ,EAAE;wBACR,IAAI,EAAE,SAAS;wBACf,WAAW,EAAE,sCAAsC;qBACpD;oBACD,YAAY,EAAE;wBACZ,IAAI,EAAE,SAAS;wBACf,WAAW,EAAE,0CAA0C;qBACxD;oBACD,YAAY,EAAE;wBACZ,IAAI,EAAE,SAAS;wBACf,WAAW,EACT,kEAAkE;qBACrE;oBACD,oBAAoB,EAAE;wBACpB,IAAI,EAAE,SAAS;wBACf,WAAW,EACT,iGAAiG;qBACpG;oBACD,WAAW,EAAE;wBACX,IAAI,EAAE,SAAS;wBACf,WAAW,EAAE,yCAAyC;qBACvD;oBACD,uBAAuB,EAAE;wBACvB,IAAI,EAAE,SAAS;wBACf,WAAW,EAAE,oDAAoD;qBAClE;iBACF;aACF;SACF;KACF;IACD,cAAc,EAAE;QACd;YACE,QAAQ,EAAE,IAAI;YACd,YAAY,EAAE,IAAI;YAClB,YAAY,EAAE,IAAI;YAClB,oBAAoB,EAAE,IAAI;YAC1B,WAAW,EAAE,IAAI;YACjB,uBAAuB,EAAE,KAAK;SAC/B;KACF;IACD,MAAM,CACJ,OAAO,EACP,CACE,EACE,QAAQ,EACR,YAAY,EACZ,YAAY,EACZ,oBAAoB,EACpB,WAAW,EACX,uBAAuB,GACxB,EACF;QAED,MAAM,QAAQ,GAAG,IAAA,wBAAiB,EAAC,OAAO,CAAC,CAAC;QAC5C,MAAM,WAAW,GAAG,QAAQ,CAAC,OAAO,CAAC,cAAc,EAAE,CAAC;QAEtD,MAAM,WAAW,GAAG;YAClB,QAAQ,IAAI,OAAO;YACnB,YAAY,IAAI,WAAW;YAC3B,YAAY,IAAI,QAAQ;YACxB,WAAW,IAAI,UAAU;YACzB,YAAY,IAAI,aAAa;SAC9B,CAAC,MAAM,CAAC,CAAC,KAAK,EAAmB,EAAE,CAAC,OAAO,KAAK,KAAK,QAAQ,CAAC,CAAC;QAChE,MAAM,UAAU,GAAG,WAAW,CAAC,MAAM;YACnC,CAAC,CAAC,WAAW,CAAC,MAAM,KAAK,CAAC;gBACxB,CAAC,CAAC,+BAA+B,WAAW,CAAC,CAAC,CAAC,EAAE;gBACjD,CAAC,CAAC,uCAAuC,WAAW,CAAC,IAAI,CAAC,IAAI,CAAC,EAAE;YACnE,CAAC,CAAC,QAAQ,CAAC;QAEb,SAAS,kBAAkB,CAAC,IAAmB;YAC7C,OAAO,WAAW,CAAC,wBAAwB,CACzC,IAAA,mCAA4B,EAAC,QAAQ,EAAE,IAAI,CAAC,CAC7C,CAAC;QACJ,CAAC;QAED,SAAS,iBAAiB,CACxB,IAA+D;YAE/D,MAAM,QAAQ,GAAG,kBAAkB,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;YAC/C,MAAM,SAAS,GAAG,kBAAkB,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;YAEjD,IACE,QAAQ,KAAK,SAAS;gBACtB,OAAO,CAAC,aAAa,CACnB,QAAQ,EACR,EAAE,CAAC,SAAS,CAAC,UAAU;oBACrB,EAAE,CAAC,SAAS,CAAC,UAAU;oBACvB,EAAE,CAAC,SAAS,CAAC,UAAU,CAC1B,EACD,CAAC;gBACD,OAAO;YACT,CAAC;YAED,IAAI,sBAAsB,GAAG,KAAK,CAAC;YAEnC,KAAK,MAAM,CAAC,QAAQ,EAAE,QAAQ,EAAE,SAAS,CAAC,IAAI;gBAC5C,CAAC,IAAI,CAAC,IAAI,EAAE,QAAQ,EAAE,SAAS,CAAC;gBAChC,CAAC,IAAI,CAAC,KAAK,EAAE,SAAS,EAAE,QAAQ,CAAC;aACzB,EAAE,CAAC;gBACX,IACE,oBAAoB,CAClB,QAAQ,EACR,EAAE,CAAC,SAAS,CAAC,YAAY;oBACvB,EAAE,CAAC,SAAS,CAAC,KAAK;oBAClB,EAAE,CAAC,SAAS,CAAC,OAAO,CACvB;oBACD,CAAC,CAAC,QAAQ,IAAI,oBAAoB,CAAC,QAAQ,EAAE,EAAE,CAAC,SAAS,CAAC,GAAG,CAAC,CAAC;oBAC/D,CAAC,CAAC,YAAY;wBACZ,oBAAoB,CAAC,QAAQ,EAAE,EAAE,CAAC,SAAS,CAAC,WAAW,CAAC,CAAC;oBAC3D,CAAC,CAAC,YAAY;wBACZ,IAAA,oBAAa,EAAC,QAAQ,EAAE,EAAE,CAAC,SAAS,CAAC,IAAI,GAAG,EAAE,CAAC,SAAS,CAAC,SAAS,CAAC,CAAC,EACtE,CAAC;oBACD,OAAO,CAAC,MAAM,CAAC;wBACb,IAAI,EAAE,QAAQ;wBACd,SAAS,EAAE,SAAS;wBACpB,IAAI,EAAE;4BACJ,IAAI,EAAE,WAAW,CAAC,YAAY,CAAC,QAAQ,CAAC;4BACxC,UAAU;yBACX;qBACF,CAAC,CAAC;oBACH,sBAAsB,GAAG,IAAI,CAAC;oBAC9B,SAAS;gBACX,CAAC;gBAED,8DAA8D;gBAC9D,KAAK,MAAM,WAAW,IAAI,OAAO,CAAC,cAAc,CAAC,QAAQ,CAAC,EAAE,CAAC;oBAC3D,MAAM,QAAQ,GAAG,IAAA,kBAAW,EAAC,WAAW,EAAE,WAAW,CAAC,CAAC;oBACvD,IACE,QAAQ,KAAK,QAAQ;wBACnB,CAAC,CAAC,CAAC,WAAW;4BACZ,OAAO,CAAC,aAAa,CAAC,SAAS,EAAE,EAAE,CAAC,SAAS,CAAC,UAAU,CAAC;wBAC3D,CAAC,CAAC,CAAC,CAAC,QAAQ,IAAI,IAAA,oBAAa,EAAC,WAAW,CAAC,CAAC;4BACzC,kBAAkB,CAAC,WAAW,CAAC,EACnC,CAAC;wBACD,OAAO,CAAC,MAAM,CAAC;4BACb,IAAI,EAAE,QAAQ;4BACd,SAAS,EAAE,SAAS;4BACpB,IAAI,EAAE;gCACJ,IAAI,EAAE,WAAW,CAAC,YAAY,CAAC,WAAW,CAAC;gCAC3C,UAAU;6BACX;yBACF,CAAC,CAAC;wBACH,sBAAsB,GAAG,IAAI,CAAC;wBAC9B,SAAS;oBACX,CAAC;gBACH,CAAC;YACH,CAAC;YAED,IAAI,sBAAsB,EAAE,CAAC;gBAC3B,OAAO;YACT,CAAC;YAED,KAAK,MAAM,CAAC,QAAQ,EAAE,SAAS,CAAC,IAAI;gBAClC,CAAC,QAAQ,EAAE,SAAS,CAAC;gBACrB,CAAC,SAAS,EAAE,QAAQ,CAAC;aACb,EAAE,CAAC;gBACX,IACE,CAAC,oBAAoB;oBACrB,oBAAoB,CAAC,QAAQ,EAAE,EAAE,CAAC,SAAS,CAAC,UAAU,CAAC;oBACvD,oBAAoB,CAAC,SAAS,EAAE,EAAE,CAAC,SAAS,CAAC,UAAU,CAAC,EACxD,CAAC;oBACD,OAAO,OAAO,CAAC,MAAM,CAAC;wBACpB,IAAI;wBACJ,SAAS,EAAE,YAAY;wBACvB,IAAI,EAAE;4BACJ,IAAI,EAAE,WAAW,CAAC,YAAY,CAAC,QAAQ,CAAC;4BACxC,KAAK,EAAE,WAAW,CAAC,YAAY,CAAC,SAAS,CAAC;4BAC1C,UAAU;yBACX;qBACF,CAAC,CAAC;gBACL,CAAC;gBAED,IACE,oBAAoB,CAAC,QAAQ,EAAE,EAAE,CAAC,SAAS,CAAC,UAAU,CAAC;oBACvD,oBAAoB,CAAC,SAAS,EAAE,EAAE,CAAC,SAAS,CAAC,UAAU,CAAC,EACxD,CAAC;oBACD,OAAO,OAAO,CAAC,MAAM,CAAC;wBACpB,IAAI;wBACJ,SAAS,EAAE,iBAAiB;wBAC5B,IAAI,EAAE;4BACJ,IAAI,EAAE,WAAW,CAAC,YAAY,CAAC,QAAQ,CAAC;4BACxC,KAAK,EAAE,WAAW,CAAC,YAAY,CAAC,SAAS,CAAC;yBAC3C;qBACF,CAAC,CAAC;gBACL,CAAC;YACH,CAAC;QACH,CAAC;QAED,OAAO;YACL,gCAAgC,EAAE,iBAAiB;YACnD,GAAG,CAAC,CAAC,uBAAuB,IAAI;gBAC9B,qCAAqC,CAAC,IAAI;oBACxC,iBAAiB,CAAC,IAAI,CAAC,CAAC;gBAC1B,CAAC;aACF,CAAC;SACH,CAAC;IACJ,CAAC;CACF,CAAC,CAAC;AAEH,SAAS,kBAAkB,CAAC,IAAa;IACvC,OAAO,IAAI,CAAC,cAAc,EAAE;QAC1B,CAAC,CAAC,OAAO,CAAC,qBAAqB,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,YAAY,CAAC;QACjE,CAAC,CAAC,OAAO,CAAC,cAAc,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,YAAY,CAAC,CAAC;AAC/D,CAAC;AAED,SAAS,oBAAoB,CAAC,IAAa,EAAE,IAAkB;IAC7D,OAAO,OAAO;SACX,cAAc,CAAC,IAAI,CAAC;SACpB,IAAI,CAAC,OAAO,CAAC,EAAE,CAAC,OAAO,CAAC,aAAa,CAAC,OAAO,EAAE,IAAI,CAAC,CAAC,CAAC;AAC3D,CAAC"} \ No newline at end of file +{"version":3,"file":"restrict-plus-operands.js","sourceRoot":"","sources":["../../src/rules/restrict-plus-operands.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEA,sDAAwC;AACxC,+CAAiC;AAEjC,kCAOiB;AAejB,kBAAe,IAAA,iBAAU,EAAsB;IAC7C,IAAI,EAAE,wBAAwB;IAC9B,IAAI,EAAE;QACJ,IAAI,EAAE,SAAS;QACf,IAAI,EAAE;YACJ,WAAW,EACT,8FAA8F;YAChG,WAAW,EAAE;gBACX,WAAW,EAAE,IAAI;gBACjB,MAAM,EAAE;oBACN;wBACE,QAAQ,EAAE,KAAK;wBACf,YAAY,EAAE,KAAK;wBACnB,YAAY,EAAE,KAAK;wBACnB,oBAAoB,EAAE,KAAK;wBAC3B,WAAW,EAAE,KAAK;qBACnB;iBACF;aACF;YACD,oBAAoB,EAAE,IAAI;SAC3B;QACD,QAAQ,EAAE;YACR,eAAe,EACb,mGAAmG;YACrG,OAAO,EACL,wGAAwG;YAC1G,UAAU,EACR,8FAA8F;SACjG;QACD,MAAM,EAAE;YACN;gBACE,IAAI,EAAE,QAAQ;gBACd,oBAAoB,EAAE,KAAK;gBAC3B,UAAU,EAAE;oBACV,QAAQ,EAAE;wBACR,IAAI,EAAE,SAAS;wBACf,WAAW,EAAE,sCAAsC;qBACpD;oBACD,YAAY,EAAE;wBACZ,IAAI,EAAE,SAAS;wBACf,WAAW,EAAE,0CAA0C;qBACxD;oBACD,YAAY,EAAE;wBACZ,IAAI,EAAE,SAAS;wBACf,WAAW,EACT,kEAAkE;qBACrE;oBACD,oBAAoB,EAAE;wBACpB,IAAI,EAAE,SAAS;wBACf,WAAW,EACT,iGAAiG;qBACpG;oBACD,WAAW,EAAE;wBACX,IAAI,EAAE,SAAS;wBACf,WAAW,EAAE,yCAAyC;qBACvD;oBACD,uBAAuB,EAAE;wBACvB,IAAI,EAAE,SAAS;wBACf,WAAW,EAAE,oDAAoD;qBAClE;iBACF;aACF;SACF;KACF;IACD,cAAc,EAAE;QACd;YACE,QAAQ,EAAE,IAAI;YACd,YAAY,EAAE,IAAI;YAClB,YAAY,EAAE,IAAI;YAClB,oBAAoB,EAAE,IAAI;YAC1B,WAAW,EAAE,IAAI;YACjB,uBAAuB,EAAE,KAAK;SAC/B;KACF;IACD,MAAM,CACJ,OAAO,EACP,CACE,EACE,QAAQ,EACR,YAAY,EACZ,YAAY,EACZ,oBAAoB,EACpB,WAAW,EACX,uBAAuB,GACxB,EACF;QAED,MAAM,QAAQ,GAAG,IAAA,wBAAiB,EAAC,OAAO,CAAC,CAAC;QAC5C,MAAM,WAAW,GAAG,QAAQ,CAAC,OAAO,CAAC,cAAc,EAAE,CAAC;QAEtD,MAAM,WAAW,GAAG;YAClB,QAAQ,IAAI,OAAO;YACnB,YAAY,IAAI,WAAW;YAC3B,YAAY,IAAI,QAAQ;YACxB,WAAW,IAAI,UAAU;YACzB,YAAY,IAAI,aAAa;SAC9B,CAAC,MAAM,CAAC,CAAC,KAAK,EAAmB,EAAE,CAAC,OAAO,KAAK,KAAK,QAAQ,CAAC,CAAC;QAChE,MAAM,UAAU,GAAG,WAAW,CAAC,MAAM;YACnC,CAAC,CAAC,WAAW,CAAC,MAAM,KAAK,CAAC;gBACxB,CAAC,CAAC,+BAA+B,WAAW,CAAC,CAAC,CAAC,EAAE;gBACjD,CAAC,CAAC,uCAAuC,WAAW,CAAC,IAAI,CAAC,IAAI,CAAC,EAAE;YACnE,CAAC,CAAC,QAAQ,CAAC;QAEb,SAAS,kBAAkB,CAAC,IAAmB;YAC7C,OAAO,WAAW,CAAC,wBAAwB,CACzC,IAAA,mCAA4B,EAAC,QAAQ,EAAE,IAAI,CAAC,CAC7C,CAAC;QACJ,CAAC;QAED,SAAS,iBAAiB,CACxB,IAA+D;YAE/D,MAAM,QAAQ,GAAG,kBAAkB,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;YAC/C,MAAM,SAAS,GAAG,kBAAkB,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;YAEjD,IACE,QAAQ,KAAK,SAAS;gBACtB,OAAO,CAAC,aAAa,CACnB,QAAQ,EACR,EAAE,CAAC,SAAS,CAAC,UAAU;oBACrB,EAAE,CAAC,SAAS,CAAC,UAAU;oBACvB,EAAE,CAAC,SAAS,CAAC,UAAU,CAC1B,EACD,CAAC;gBACD,OAAO;YACT,CAAC;YAED,IAAI,sBAAsB,GAAG,KAAK,CAAC;YAEnC,KAAK,MAAM,CAAC,QAAQ,EAAE,QAAQ,EAAE,SAAS,CAAC,IAAI;gBAC5C,CAAC,IAAI,CAAC,IAAI,EAAE,QAAQ,EAAE,SAAS,CAAC;gBAChC,CAAC,IAAI,CAAC,KAAK,EAAE,SAAS,EAAE,QAAQ,CAAC;aACzB,EAAE,CAAC;gBACX,IACE,oBAAoB,CAClB,QAAQ,EACR,EAAE,CAAC,SAAS,CAAC,YAAY;oBACvB,EAAE,CAAC,SAAS,CAAC,KAAK;oBAClB,EAAE,CAAC,SAAS,CAAC,OAAO,CACvB;oBACD,CAAC,CAAC,QAAQ,IAAI,oBAAoB,CAAC,QAAQ,EAAE,EAAE,CAAC,SAAS,CAAC,GAAG,CAAC,CAAC;oBAC/D,CAAC,CAAC,YAAY;wBACZ,oBAAoB,CAAC,QAAQ,EAAE,EAAE,CAAC,SAAS,CAAC,WAAW,CAAC,CAAC;oBAC3D,CAAC,CAAC,YAAY;wBACZ,IAAA,oBAAa,EAAC,QAAQ,EAAE,EAAE,CAAC,SAAS,CAAC,IAAI,GAAG,EAAE,CAAC,SAAS,CAAC,SAAS,CAAC,CAAC,EACtE,CAAC;oBACD,OAAO,CAAC,MAAM,CAAC;wBACb,IAAI,EAAE,QAAQ;wBACd,SAAS,EAAE,SAAS;wBACpB,IAAI,EAAE;4BACJ,IAAI,EAAE,WAAW,CAAC,YAAY,CAAC,QAAQ,CAAC;4BACxC,UAAU;yBACX;qBACF,CAAC,CAAC;oBACH,sBAAsB,GAAG,IAAI,CAAC;oBAC9B,SAAS;gBACX,CAAC;gBAED,8DAA8D;gBAC9D,KAAK,MAAM,WAAW,IAAI,OAAO,CAAC,cAAc,CAAC,QAAQ,CAAC,EAAE,CAAC;oBAC3D,MAAM,QAAQ,GAAG,IAAA,kBAAW,EAAC,WAAW,EAAE,WAAW,CAAC,CAAC;oBACvD,IACE,QAAQ,KAAK,QAAQ;wBACnB,CAAC,CAAC,CAAC,WAAW;4BACZ,OAAO,CAAC,aAAa,CAAC,SAAS,EAAE,EAAE,CAAC,SAAS,CAAC,UAAU,CAAC;wBAC3D,CAAC,CAAC,CAAC,CAAC,QAAQ,IAAI,IAAA,oBAAa,EAAC,WAAW,CAAC,CAAC;4BACzC,kBAAkB,CAAC,WAAW,CAAC,EACnC,CAAC;wBACD,OAAO,CAAC,MAAM,CAAC;4BACb,IAAI,EAAE,QAAQ;4BACd,SAAS,EAAE,SAAS;4BACpB,IAAI,EAAE;gCACJ,IAAI,EAAE,WAAW,CAAC,YAAY,CAAC,WAAW,CAAC;gCAC3C,UAAU;6BACX;yBACF,CAAC,CAAC;wBACH,sBAAsB,GAAG,IAAI,CAAC;wBAC9B,SAAS;oBACX,CAAC;gBACH,CAAC;YACH,CAAC;YAED,IAAI,sBAAsB,EAAE,CAAC;gBAC3B,OAAO;YACT,CAAC;YAED,KAAK,MAAM,CAAC,QAAQ,EAAE,SAAS,CAAC,IAAI;gBAClC,CAAC,QAAQ,EAAE,SAAS,CAAC;gBACrB,CAAC,SAAS,EAAE,QAAQ,CAAC;aACb,EAAE,CAAC;gBACX,IACE,CAAC,oBAAoB;oBACrB,oBAAoB,CAAC,QAAQ,EAAE,EAAE,CAAC,SAAS,CAAC,UAAU,CAAC;oBACvD,oBAAoB,CAAC,SAAS,EAAE,EAAE,CAAC,SAAS,CAAC,UAAU,CAAC,EACxD,CAAC;oBACD,OAAO,OAAO,CAAC,MAAM,CAAC;wBACpB,IAAI;wBACJ,SAAS,EAAE,YAAY;wBACvB,IAAI,EAAE;4BACJ,IAAI,EAAE,WAAW,CAAC,YAAY,CAAC,QAAQ,CAAC;4BACxC,KAAK,EAAE,WAAW,CAAC,YAAY,CAAC,SAAS,CAAC;4BAC1C,UAAU;yBACX;qBACF,CAAC,CAAC;gBACL,CAAC;gBAED,IACE,oBAAoB,CAAC,QAAQ,EAAE,EAAE,CAAC,SAAS,CAAC,UAAU,CAAC;oBACvD,oBAAoB,CAAC,SAAS,EAAE,EAAE,CAAC,SAAS,CAAC,UAAU,CAAC,EACxD,CAAC;oBACD,OAAO,OAAO,CAAC,MAAM,CAAC;wBACpB,IAAI;wBACJ,SAAS,EAAE,iBAAiB;wBAC5B,IAAI,EAAE;4BACJ,IAAI,EAAE,WAAW,CAAC,YAAY,CAAC,QAAQ,CAAC;4BACxC,KAAK,EAAE,WAAW,CAAC,YAAY,CAAC,SAAS,CAAC;yBAC3C;qBACF,CAAC,CAAC;gBACL,CAAC;YACH,CAAC;QACH,CAAC;QAED,OAAO;YACL,gCAAgC,EAAE,iBAAiB;YACnD,GAAG,CAAC,CAAC,uBAAuB,IAAI;gBAC9B,qCAAqC,CAAC,IAAI;oBACxC,iBAAiB,CAAC,IAAI,CAAC,CAAC;gBAC1B,CAAC;aACF,CAAC;SACH,CAAC;IACJ,CAAC;CACF,CAAC,CAAC;AAEH,SAAS,kBAAkB,CAAC,IAAa;IACvC,OAAO,IAAI,CAAC,cAAc,EAAE;QAC1B,CAAC,CAAC,OAAO,CAAC,qBAAqB,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,YAAY,CAAC;QACjE,CAAC,CAAC,OAAO,CAAC,cAAc,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,YAAY,CAAC,CAAC;AAC/D,CAAC;AAED,SAAS,oBAAoB,CAAC,IAAa,EAAE,IAAkB;IAC7D,OAAO,OAAO;SACX,cAAc,CAAC,IAAI,CAAC;SACpB,IAAI,CAAC,OAAO,CAAC,EAAE,CAAC,OAAO,CAAC,aAAa,CAAC,OAAO,EAAE,IAAI,CAAC,CAAC,CAAC;AAC3D,CAAC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/return-await.js b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/return-await.js index 03a2bb4216..51d1c249e0 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/return-await.js +++ b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/return-await.js @@ -15,13 +15,23 @@ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? ( }) : function(o, v) { o["default"] = v; }); -var __importStar = (this && this.__importStar) || function (mod) { - if (mod && mod.__esModule) return mod; - var result = {}; - if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k); - __setModuleDefault(result, mod); - return result; -}; +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); Object.defineProperty(exports, "__esModule", { value: true }); const utils_1 = require("@typescript-eslint/utils"); const ts = __importStar(require("typescript")); diff --git a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/return-await.js.map b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/return-await.js.map index 5a608841f5..08f487871c 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/return-await.js.map +++ b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/return-await.js.map @@ -1 +1 @@ -{"version":3,"file":"return-await.js","sourceRoot":"","sources":["../../src/rules/return-await.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AAEA,oDAA0D;AAC1D,+CAAiC;AAEjC,kCASiB;AACjB,yEAAsE;AAkBtE,kBAAe,IAAA,iBAAU,EAAC;IACxB,IAAI,EAAE,cAAc;IACpB,IAAI,EAAE;QACJ,IAAI,EAAE,SAAS;QACf,IAAI,EAAE;YACJ,WAAW,EAAE,kDAAkD;YAC/D,eAAe,EAAE,iBAAiB;YAClC,WAAW,EAAE;gBACX,MAAM,EAAE,CAAC,iCAAiC,CAAC;aAC5C;YACD,oBAAoB,EAAE,IAAI;SAC3B;QACD,OAAO,EAAE,MAAM;QACf,mHAAmH;QACnH,cAAc,EAAE,IAAI;QACpB,QAAQ,EAAE;YACR,sBAAsB,EACpB,8DAA8D;YAChE,gCAAgC,EAC9B,oFAAoF;YACtF,eAAe,EACb,kEAAkE;YACpE,oBAAoB,EAClB,2DAA2D;YAC7D,8BAA8B,EAC5B,iFAAiF;SACpF;QACD,MAAM,EAAE;YACN;gBACE,IAAI,EAAE,QAAQ;gBACd,KAAK,EAAE;oBACL;wBACE,IAAI,EAAE,QAAQ;wBACd,WAAW,EAAE,iDAAiD;wBAC9D,IAAI,EAAE,CAAC,QAAQ,CAAC;qBACjB;oBACD;wBACE,IAAI,EAAE,QAAQ;wBACd,WAAW,EACT,6MAA6M;wBAC/M,IAAI,EAAE,CAAC,iCAAiC,CAAC;qBAC1C;oBACD;wBACE,IAAI,EAAE,QAAQ;wBACd,WAAW,EACT,6KAA6K;wBAC/K,IAAI,EAAE,CAAC,cAAc,CAAC;qBACvB;oBACD;wBACE,IAAI,EAAE,QAAQ;wBACd,WAAW,EAAE,2CAA2C;wBACxD,IAAI,EAAE,CAAC,OAAO,CAAC;qBAChB;iBACF;aACF;SACF;KACF;IACD,cAAc,EAAE,CAAC,cAAc,CAAC;IAEhC,MAAM,CAAC,OAAO,EAAE,CAAC,MAAM,CAAC;QACtB,MAAM,QAAQ,GAAG,IAAA,wBAAiB,EAAC,OAAO,CAAC,CAAC;QAC5C,MAAM,OAAO,GAAG,QAAQ,CAAC,OAAO,CAAC,cAAc,EAAE,CAAC;QAElD,MAAM,cAAc,GAAgB,EAAE,CAAC;QAEvC,SAAS,aAAa,CAAC,IAAkB;YACvC,cAAc,CAAC,IAAI,CAAC;gBAClB,QAAQ,EAAE,IAAI,CAAC,KAAK;gBACpB,UAAU,EAAE,IAAI;aACjB,CAAC,CAAC;QACL,CAAC;QAED,SAAS,YAAY;YACnB,cAAc,CAAC,GAAG,EAAE,CAAC;QACvB,CAAC;QAED,SAAS,iCAAiC,CAAC,IAAmB;YAC5D,qEAAqE;YACrE,IAAI,KAAK,GAAG,OAAO,CAAC,UAAU,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC;YAC9C,MAAM,aAAa,GAAG,KAAK,CAAC,aAAa,CAAC;YAC1C,OAAO,IAAI,EAAE,CAAC;gBACZ,KAAK,MAAM,QAAQ,IAAI,KAAK,CAAC,SAAS,EAAE,CAAC;oBACvC,IAAI,QAAQ,CAAC,IAAI,CAAC,MAAM,KAAK,CAAC,EAAE,CAAC;wBAC/B,iEAAiE;wBACjE,gEAAgE;wBAChE,mCAAmC;wBACnC,SAAS;oBACX,CAAC;oBAED,MAAM,WAAW,GAAG,QAAQ,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;oBACrC,MAAM,cAAc,GAAG,WAAW,CAAC,IAAI,CAAC;oBACxC,MAAM,eAAe,GACnB,cAAc,CAAC,MAAsC,CAAC;oBAExD,qEAAqE;oBACrE,8DAA8D;oBAC9D,IACE,CAAC,aAAa,EAAE,OAAO,CAAC,CAAC,QAAQ,CAAC,eAAe,CAAC,IAAI,CAAC;wBACvD,cAAc,CAAC,KAAK,CAAC,CAAC,CAAC,GAAG,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,EACvC,CAAC;wBACD,OAAO,IAAI,CAAC;oBACd,CAAC;gBACH,CAAC;gBAED,IAAI,KAAK,KAAK,aAAa,EAAE,CAAC;oBAC5B,wCAAwC;oBACxC,MAAM;gBACR,CAAC;gBAED,mEAAmE;gBACnE,uEAAuE;gBACvE,wBAAwB;gBACxB,KAAK,GAAG,IAAA,iBAAU,EAChB,KAAK,CAAC,KAAK,EACX,wGAAwG,CACzG,CAAC;YACJ,CAAC;YAED,OAAO,KAAK,CAAC;QACf,CAAC;QAED;;;;WAIG;QACH,SAAS,4BAA4B,CAAC,IAAa;YACjD,0EAA0E;YAC1E,yEAAyE;YACzE,0EAA0E;YAC1E,oEAAoE;YACpE,wEAAwE;YACxE,QAAQ;YACR,MAAM,iBAAiB,GAAG,0BAA0B,CAAC,IAAI,CAAC,CAAC;YAC3D,IAAI,iBAAiB,IAAI,IAAI,EAAE,CAAC;gBAC9B,OAAO,KAAK,CAAC;YACf,CAAC;YAED,MAAM,EAAE,KAAK,EAAE,YAAY,EAAE,GAAG,iBAAiB,CAAC;YAElD,QAAQ,KAAK,EAAE,CAAC;gBACd,KAAK,OAAO;oBACV,uEAAuE;oBACvE,gBAAgB;oBAChB,IAAI,YAAY,CAAC,YAAY,IAAI,IAAI,EAAE,CAAC;wBACtC,OAAO,IAAI,CAAC;oBACd,CAAC;oBAED,qBAAqB;oBACrB,OAAO,4BAA4B,CAAC,YAAY,CAAC,CAAC;gBACpD,KAAK,SAAS;oBACZ,OAAO,4BAA4B,CAAC,YAAY,CAAC,CAAC;gBACpD,KAAK,KAAK;oBACR,+DAA+D;oBAC/D,wDAAwD;oBACxD,OAAO,IAAI,CAAC;gBACd,OAAO,CAAC,CAAC,CAAC;oBACR,MAAM,OAAO,GAAU,KAAK,CAAC;oBAC7B,MAAM,IAAI,KAAK,CAAC,0BAA0B,MAAM,CAAC,OAAO,CAAC,EAAE,CAAC,CAAC;gBAC/D,CAAC;YACH,CAAC;QACH,CAAC;QAOD;;;;;WAKG;QACH,SAAS,0BAA0B,CACjC,IAAa;YAEb,IAAI,KAAK,GAAG,IAAI,CAAC;YACjB,IAAI,QAAQ,GAAG,IAAI,CAAC,MAA6B,CAAC;YAElD,OAAO,QAAQ,IAAI,CAAC,EAAE,CAAC,cAAc,CAAC,QAAQ,CAAC,EAAE,CAAC;gBAChD,IAAI,EAAE,CAAC,cAAc,CAAC,QAAQ,CAAC,EAAE,CAAC;oBAChC,IAAI,KAA8C,CAAC;oBACnD,IAAI,KAAK,KAAK,QAAQ,CAAC,QAAQ,EAAE,CAAC;wBAChC,KAAK,GAAG,KAAK,CAAC;oBAChB,CAAC;yBAAM,IAAI,KAAK,KAAK,QAAQ,CAAC,WAAW,EAAE,CAAC;wBAC1C,KAAK,GAAG,OAAO,CAAC;oBAClB,CAAC;yBAAM,IAAI,KAAK,KAAK,QAAQ,CAAC,YAAY,EAAE,CAAC;wBAC3C,KAAK,GAAG,SAAS,CAAC;oBACpB,CAAC;oBAED,OAAO;wBACL,KAAK,EAAE,IAAA,iBAAU,EACf,KAAK,EACL,8EAA8E,CAC/E;wBACD,YAAY,EAAE,QAAQ;qBACvB,CAAC;gBACJ,CAAC;gBACD,KAAK,GAAG,QAAQ,CAAC;gBACjB,QAAQ,GAAG,QAAQ,CAAC,MAAM,CAAC;YAC7B,CAAC;YAED,OAAO,SAAS,CAAC;QACnB,CAAC;QAED,SAAS,WAAW,CAClB,KAAyB,EACzB,IAAyB;YAEzB,qDAAqD;YACrD,wBAAwB,CAAC,IAAI,CAAC,IAAA,wBAAiB,EAAC,IAAI,CAAC,EAAE,CAAC;gBACtD,OAAO,IAAI,CAAC;YACd,CAAC;YAED,MAAM,UAAU,GAAG,OAAO,CAAC,UAAU,CAAC,aAAa,CAAC,IAAI,EAAE,qBAAc,CAAC,CAAC;YAC1E,gDAAgD;YAChD,wBAAwB,CAAC,IAAI,CAAC,UAAU,EAAE,CAAC;gBACzC,OAAO,IAAI,CAAC;YACd,CAAC;YAED,MAAM,OAAO,GAAG,UAAU,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC;YACpC,IAAI,KAAK,GAAG,UAAU,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC;YAChC,wEAAwE;YACxE,MAAM,SAAS,GAAG,OAAO,CAAC,UAAU,CAAC,aAAa,CAAC,UAAU,EAAE;gBAC7D,eAAe,EAAE,IAAI;aACtB,CAAC,CAAC;YACH,IAAI,SAAS,EAAE,CAAC;gBACd,KAAK,GAAG,SAAS,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC;YAC7B,CAAC;YAED,OAAO,KAAK,CAAC,WAAW,CAAC,CAAC,OAAO,EAAE,KAAK,CAAC,CAAC,CAAC;QAC7C,CAAC;QAED,SAAS,WAAW,CAClB,KAAyB,EACzB,IAAyB,EACzB,iBAA0B;YAE1B,IAAI,iBAAiB,EAAE,CAAC;gBACtB,OAAO,KAAK,CAAC,gBAAgB,CAAC,IAAI,EAAE,QAAQ,CAAC,CAAC;YAChD,CAAC;YACD,OAAO;gBACL,KAAK,CAAC,gBAAgB,CAAC,IAAI,EAAE,SAAS,CAAC;gBACvC,KAAK,CAAC,eAAe,CAAC,IAAI,EAAE,GAAG,CAAC;aACjC,CAAC;QACJ,CAAC;QAED,SAAS,2BAA2B,CAAC,IAAa;YAChD,MAAM,QAAQ,GAAG,EAAE,CAAC,kBAAkB,CAAC,IAAI,CAAC;gBAC1C,CAAC,CAAC,IAAI,CAAC,aAAa,CAAC,IAAI;gBACzB,CAAC,CAAC,EAAE,CAAC,UAAU,CAAC,OAAO,CAAC;YAC1B,MAAM,cAAc,GAAG,IAAA,6CAAqB,EAAC,IAAI,CAAC,IAAI,EAAE,QAAQ,CAAC,CAAC;YAClE,MAAM,eAAe,GAAG,IAAA,6CAAqB,EAC3C,EAAE,CAAC,UAAU,CAAC,eAAe,EAC7B,EAAE,CAAC,UAAU,CAAC,OAAO,CACtB,CAAC;YACF,OAAO,cAAc,GAAG,eAAe,CAAC;QAC1C,CAAC;QAED,SAAS,IAAI,CAAC,IAAyB,EAAE,UAAmB;YAC1D,IAAI,KAAc,CAAC;YAEnB,MAAM,OAAO,GAAG,EAAE,CAAC,iBAAiB,CAAC,UAAU,CAAC,CAAC;YAEjD,IAAI,OAAO,EAAE,CAAC;gBACZ,KAAK,GAAG,UAAU,CAAC,UAAU,CAAC,CAAC,CAAC,CAAC;YACnC,CAAC;iBAAM,CAAC;gBACN,KAAK,GAAG,UAAU,CAAC;YACrB,CAAC;YAED,MAAM,IAAI,GAAG,OAAO,CAAC,iBAAiB,CAAC,KAAK,CAAC,CAAC;YAC9C,MAAM,SAAS,GAAG,IAAA,uBAAgB,EAAC,OAAO,EAAE,UAAU,EAAE,IAAI,CAAC,CAAC;YAE9D,gCAAgC;YAEhC,IAAI,SAAS,KAAK,gBAAS,CAAC,MAAM,EAAE,CAAC;gBACnC,IAAI,OAAO,EAAE,CAAC;oBACZ,IAAI,SAAS,KAAK,gBAAS,CAAC,GAAG,EAAE,CAAC;wBAChC,OAAO;oBACT,CAAC;oBACD,OAAO,CAAC,MAAM,CAAC;wBACb,IAAI;wBACJ,SAAS,EAAE,iBAAiB;wBAC5B,GAAG,EAAE,KAAK,CAAC,EAAE,CAAC,WAAW,CAAC,KAAK,EAAE,IAAI,CAAC;qBACvC,CAAC,CAAC;gBACL,CAAC;gBACD,OAAO;YACT,CAAC;YAED,4CAA4C;YAE5C,MAAM,oBAAoB,GACxB,4BAA4B,CAAC,UAAU,CAAC;gBACxC,iCAAiC,CAAC,IAAI,CAAC,CAAC;YAC1C,MAAM,UAAU,GAAG,CAAC,oBAAoB,CAAC;YAEzC,MAAM,iBAAiB,GAAG,gBAAgB,CAAC,MAAgB,CAAC,CAAC;YAE7D,MAAM,2BAA2B,GAAG,oBAAoB;gBACtD,CAAC,CAAC,iBAAiB,CAAC,oBAAoB;gBACxC,CAAC,CAAC,iBAAiB,CAAC,eAAe,CAAC;YAEtC,QAAQ,2BAA2B,EAAE,CAAC;gBACpC,KAAK,OAAO;oBACV,IAAI,CAAC,OAAO,EAAE,CAAC;wBACb,OAAO,CAAC,MAAM,CAAC;4BACb,IAAI;4BACJ,SAAS,EAAE,sBAAsB;4BACjC,GAAG,IAAA,sBAAe,EAAC;gCACjB,YAAY,EAAE,UAAU,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,SAAS;gCAC5C,UAAU,EAAE;oCACV,SAAS,EAAE,gCAAgC;oCAC3C,GAAG,EAAE,KAAK,CAAC,EAAE,CACX,WAAW,CACT,KAAK,EACL,IAAI,EACJ,2BAA2B,CAAC,UAAU,CAAC,CACxC;iCACJ;6BACF,CAAC;yBACH,CAAC,CAAC;oBACL,CAAC;oBACD,MAAM;gBACR,KAAK,YAAY;oBACf,MAAM;gBACR,KAAK,UAAU;oBACb,IAAI,OAAO,EAAE,CAAC;wBACZ,OAAO,CAAC,MAAM,CAAC;4BACb,IAAI;4BACJ,SAAS,EAAE,wBAAwB;4BACnC,GAAG,IAAA,sBAAe,EAAC;gCACjB,YAAY,EAAE,UAAU,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,SAAS;gCAC5C,UAAU,EAAE;oCACV,SAAS,EAAE,kCAAkC;oCAC7C,GAAG,EAAE,KAAK,CAAC,EAAE,CAAC,WAAW,CAAC,KAAK,EAAE,IAAI,CAAC;iCACvC;6BACF,CAAC;yBACH,CAAC,CAAC;oBACL,CAAC;oBACD,MAAM;YACV,CAAC;QACH,CAAC;QAED,SAAS,yBAAyB,CAChC,IAAyB;YAEzB,IAAI,IAAI,CAAC,IAAI,KAAK,sBAAc,CAAC,qBAAqB,EAAE,CAAC;gBACvD,OAAO;oBACL,GAAG,yBAAyB,CAAC,IAAI,CAAC,SAAS,CAAC;oBAC5C,GAAG,yBAAyB,CAAC,IAAI,CAAC,UAAU,CAAC;iBAC9C,CAAC;YACJ,CAAC;YACD,OAAO,CAAC,IAAI,CAAC,CAAC;QAChB,CAAC;QAED,OAAO;YACL,uBAAuB,EAAE,aAAa;YACtC,8BAA8B,EAAE,YAAY;YAC5C,mBAAmB,EAAE,aAAa;YAElC,0BAA0B,EAAE,YAAY;YACxC,kBAAkB,EAAE,aAAa;YACjC,yBAAyB,EAAE,YAAY;YAEvC,kEAAkE;YAClE,4CAA4C,CAC1C,IAAsC;gBAEtC,IAAI,IAAI,CAAC,IAAI,CAAC,IAAI,KAAK,sBAAc,CAAC,cAAc,EAAE,CAAC;oBACrD,yBAAyB,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,OAAO,CAAC,IAAI,CAAC,EAAE;wBAClD,MAAM,MAAM,GAAG,QAAQ,CAAC,qBAAqB,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC;wBACxD,IAAI,CAAC,IAAI,EAAE,MAAM,CAAC,CAAC;oBACrB,CAAC,CAAC,CAAC;gBACL,CAAC;YACH,CAAC;YACD,eAAe,CAAC,IAAI;gBAClB,MAAM,SAAS,GAAG,cAAc,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC,CAAC;gBACxC,IAAI,CAAC,SAAS,EAAE,QAAQ,IAAI,CAAC,IAAI,CAAC,QAAQ,EAAE,CAAC;oBAC3C,OAAO;gBACT,CAAC;gBACD,yBAAyB,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC,OAAO,CAAC,IAAI,CAAC,EAAE;oBACtD,MAAM,MAAM,GAAG,QAAQ,CAAC,qBAAqB,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC;oBACxD,IAAI,CAAC,IAAI,EAAE,MAAM,CAAC,CAAC;gBACrB,CAAC,CAAC,CAAC;YACL,CAAC;SACF,CAAC;IACJ,CAAC;CACF,CAAC,CAAC;AASH,SAAS,gBAAgB,CAAC,MAAc;IACtC,QAAQ,MAAM,EAAE,CAAC;QACf,KAAK,QAAQ;YACX,OAAO;gBACL,oBAAoB,EAAE,OAAO;gBAC7B,eAAe,EAAE,OAAO;aACzB,CAAC;QACJ,KAAK,iCAAiC;YACpC,OAAO;gBACL,oBAAoB,EAAE,OAAO;gBAC7B,eAAe,EAAE,YAAY;aAC9B,CAAC;QACJ,KAAK,cAAc;YACjB,OAAO;gBACL,oBAAoB,EAAE,OAAO;gBAC7B,eAAe,EAAE,UAAU;aAC5B,CAAC;QACJ,KAAK,OAAO;YACV,OAAO;gBACL,oBAAoB,EAAE,UAAU;gBAChC,eAAe,EAAE,UAAU;aAC5B,CAAC;IACN,CAAC;AACH,CAAC"} \ No newline at end of file +{"version":3,"file":"return-await.js","sourceRoot":"","sources":["../../src/rules/return-await.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEA,oDAA0D;AAC1D,+CAAiC;AAEjC,kCASiB;AACjB,yEAAsE;AAkBtE,kBAAe,IAAA,iBAAU,EAAC;IACxB,IAAI,EAAE,cAAc;IACpB,IAAI,EAAE;QACJ,IAAI,EAAE,SAAS;QACf,IAAI,EAAE;YACJ,WAAW,EAAE,kDAAkD;YAC/D,eAAe,EAAE,iBAAiB;YAClC,WAAW,EAAE;gBACX,MAAM,EAAE,CAAC,iCAAiC,CAAC;aAC5C;YACD,oBAAoB,EAAE,IAAI;SAC3B;QACD,OAAO,EAAE,MAAM;QACf,mHAAmH;QACnH,cAAc,EAAE,IAAI;QACpB,QAAQ,EAAE;YACR,sBAAsB,EACpB,8DAA8D;YAChE,gCAAgC,EAC9B,oFAAoF;YACtF,eAAe,EACb,kEAAkE;YACpE,oBAAoB,EAClB,2DAA2D;YAC7D,8BAA8B,EAC5B,iFAAiF;SACpF;QACD,MAAM,EAAE;YACN;gBACE,IAAI,EAAE,QAAQ;gBACd,KAAK,EAAE;oBACL;wBACE,IAAI,EAAE,QAAQ;wBACd,WAAW,EAAE,iDAAiD;wBAC9D,IAAI,EAAE,CAAC,QAAQ,CAAC;qBACjB;oBACD;wBACE,IAAI,EAAE,QAAQ;wBACd,WAAW,EACT,6MAA6M;wBAC/M,IAAI,EAAE,CAAC,iCAAiC,CAAC;qBAC1C;oBACD;wBACE,IAAI,EAAE,QAAQ;wBACd,WAAW,EACT,6KAA6K;wBAC/K,IAAI,EAAE,CAAC,cAAc,CAAC;qBACvB;oBACD;wBACE,IAAI,EAAE,QAAQ;wBACd,WAAW,EAAE,2CAA2C;wBACxD,IAAI,EAAE,CAAC,OAAO,CAAC;qBAChB;iBACF;aACF;SACF;KACF;IACD,cAAc,EAAE,CAAC,cAAc,CAAC;IAEhC,MAAM,CAAC,OAAO,EAAE,CAAC,MAAM,CAAC;QACtB,MAAM,QAAQ,GAAG,IAAA,wBAAiB,EAAC,OAAO,CAAC,CAAC;QAC5C,MAAM,OAAO,GAAG,QAAQ,CAAC,OAAO,CAAC,cAAc,EAAE,CAAC;QAElD,MAAM,cAAc,GAAgB,EAAE,CAAC;QAEvC,SAAS,aAAa,CAAC,IAAkB;YACvC,cAAc,CAAC,IAAI,CAAC;gBAClB,QAAQ,EAAE,IAAI,CAAC,KAAK;gBACpB,UAAU,EAAE,IAAI;aACjB,CAAC,CAAC;QACL,CAAC;QAED,SAAS,YAAY;YACnB,cAAc,CAAC,GAAG,EAAE,CAAC;QACvB,CAAC;QAED,SAAS,iCAAiC,CAAC,IAAmB;YAC5D,qEAAqE;YACrE,IAAI,KAAK,GAAG,OAAO,CAAC,UAAU,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC;YAC9C,MAAM,aAAa,GAAG,KAAK,CAAC,aAAa,CAAC;YAC1C,OAAO,IAAI,EAAE,CAAC;gBACZ,KAAK,MAAM,QAAQ,IAAI,KAAK,CAAC,SAAS,EAAE,CAAC;oBACvC,IAAI,QAAQ,CAAC,IAAI,CAAC,MAAM,KAAK,CAAC,EAAE,CAAC;wBAC/B,iEAAiE;wBACjE,gEAAgE;wBAChE,mCAAmC;wBACnC,SAAS;oBACX,CAAC;oBAED,MAAM,WAAW,GAAG,QAAQ,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;oBACrC,MAAM,cAAc,GAAG,WAAW,CAAC,IAAI,CAAC;oBACxC,MAAM,eAAe,GACnB,cAAc,CAAC,MAAsC,CAAC;oBAExD,qEAAqE;oBACrE,8DAA8D;oBAC9D,IACE,CAAC,aAAa,EAAE,OAAO,CAAC,CAAC,QAAQ,CAAC,eAAe,CAAC,IAAI,CAAC;wBACvD,cAAc,CAAC,KAAK,CAAC,CAAC,CAAC,GAAG,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,EACvC,CAAC;wBACD,OAAO,IAAI,CAAC;oBACd,CAAC;gBACH,CAAC;gBAED,IAAI,KAAK,KAAK,aAAa,EAAE,CAAC;oBAC5B,wCAAwC;oBACxC,MAAM;gBACR,CAAC;gBAED,mEAAmE;gBACnE,uEAAuE;gBACvE,wBAAwB;gBACxB,KAAK,GAAG,IAAA,iBAAU,EAChB,KAAK,CAAC,KAAK,EACX,wGAAwG,CACzG,CAAC;YACJ,CAAC;YAED,OAAO,KAAK,CAAC;QACf,CAAC;QAED;;;;WAIG;QACH,SAAS,4BAA4B,CAAC,IAAa;YACjD,0EAA0E;YAC1E,yEAAyE;YACzE,0EAA0E;YAC1E,oEAAoE;YACpE,wEAAwE;YACxE,QAAQ;YACR,MAAM,iBAAiB,GAAG,0BAA0B,CAAC,IAAI,CAAC,CAAC;YAC3D,IAAI,iBAAiB,IAAI,IAAI,EAAE,CAAC;gBAC9B,OAAO,KAAK,CAAC;YACf,CAAC;YAED,MAAM,EAAE,KAAK,EAAE,YAAY,EAAE,GAAG,iBAAiB,CAAC;YAElD,QAAQ,KAAK,EAAE,CAAC;gBACd,KAAK,OAAO;oBACV,uEAAuE;oBACvE,gBAAgB;oBAChB,IAAI,YAAY,CAAC,YAAY,IAAI,IAAI,EAAE,CAAC;wBACtC,OAAO,IAAI,CAAC;oBACd,CAAC;oBAED,qBAAqB;oBACrB,OAAO,4BAA4B,CAAC,YAAY,CAAC,CAAC;gBACpD,KAAK,SAAS;oBACZ,OAAO,4BAA4B,CAAC,YAAY,CAAC,CAAC;gBACpD,KAAK,KAAK;oBACR,+DAA+D;oBAC/D,wDAAwD;oBACxD,OAAO,IAAI,CAAC;gBACd,OAAO,CAAC,CAAC,CAAC;oBACR,MAAM,OAAO,GAAU,KAAK,CAAC;oBAC7B,MAAM,IAAI,KAAK,CAAC,0BAA0B,MAAM,CAAC,OAAO,CAAC,EAAE,CAAC,CAAC;gBAC/D,CAAC;YACH,CAAC;QACH,CAAC;QAOD;;;;;WAKG;QACH,SAAS,0BAA0B,CACjC,IAAa;YAEb,IAAI,KAAK,GAAG,IAAI,CAAC;YACjB,IAAI,QAAQ,GAAG,IAAI,CAAC,MAA6B,CAAC;YAElD,OAAO,QAAQ,IAAI,CAAC,EAAE,CAAC,cAAc,CAAC,QAAQ,CAAC,EAAE,CAAC;gBAChD,IAAI,EAAE,CAAC,cAAc,CAAC,QAAQ,CAAC,EAAE,CAAC;oBAChC,IAAI,KAA8C,CAAC;oBACnD,IAAI,KAAK,KAAK,QAAQ,CAAC,QAAQ,EAAE,CAAC;wBAChC,KAAK,GAAG,KAAK,CAAC;oBAChB,CAAC;yBAAM,IAAI,KAAK,KAAK,QAAQ,CAAC,WAAW,EAAE,CAAC;wBAC1C,KAAK,GAAG,OAAO,CAAC;oBAClB,CAAC;yBAAM,IAAI,KAAK,KAAK,QAAQ,CAAC,YAAY,EAAE,CAAC;wBAC3C,KAAK,GAAG,SAAS,CAAC;oBACpB,CAAC;oBAED,OAAO;wBACL,KAAK,EAAE,IAAA,iBAAU,EACf,KAAK,EACL,8EAA8E,CAC/E;wBACD,YAAY,EAAE,QAAQ;qBACvB,CAAC;gBACJ,CAAC;gBACD,KAAK,GAAG,QAAQ,CAAC;gBACjB,QAAQ,GAAG,QAAQ,CAAC,MAAM,CAAC;YAC7B,CAAC;YAED,OAAO,SAAS,CAAC;QACnB,CAAC;QAED,SAAS,WAAW,CAClB,KAAyB,EACzB,IAAyB;YAEzB,qDAAqD;YACrD,wBAAwB,CAAC,IAAI,CAAC,IAAA,wBAAiB,EAAC,IAAI,CAAC,EAAE,CAAC;gBACtD,OAAO,IAAI,CAAC;YACd,CAAC;YAED,MAAM,UAAU,GAAG,OAAO,CAAC,UAAU,CAAC,aAAa,CAAC,IAAI,EAAE,qBAAc,CAAC,CAAC;YAC1E,gDAAgD;YAChD,wBAAwB,CAAC,IAAI,CAAC,UAAU,EAAE,CAAC;gBACzC,OAAO,IAAI,CAAC;YACd,CAAC;YAED,MAAM,OAAO,GAAG,UAAU,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC;YACpC,IAAI,KAAK,GAAG,UAAU,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC;YAChC,wEAAwE;YACxE,MAAM,SAAS,GAAG,OAAO,CAAC,UAAU,CAAC,aAAa,CAAC,UAAU,EAAE;gBAC7D,eAAe,EAAE,IAAI;aACtB,CAAC,CAAC;YACH,IAAI,SAAS,EAAE,CAAC;gBACd,KAAK,GAAG,SAAS,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC;YAC7B,CAAC;YAED,OAAO,KAAK,CAAC,WAAW,CAAC,CAAC,OAAO,EAAE,KAAK,CAAC,CAAC,CAAC;QAC7C,CAAC;QAED,SAAS,WAAW,CAClB,KAAyB,EACzB,IAAyB,EACzB,iBAA0B;YAE1B,IAAI,iBAAiB,EAAE,CAAC;gBACtB,OAAO,KAAK,CAAC,gBAAgB,CAAC,IAAI,EAAE,QAAQ,CAAC,CAAC;YAChD,CAAC;YACD,OAAO;gBACL,KAAK,CAAC,gBAAgB,CAAC,IAAI,EAAE,SAAS,CAAC;gBACvC,KAAK,CAAC,eAAe,CAAC,IAAI,EAAE,GAAG,CAAC;aACjC,CAAC;QACJ,CAAC;QAED,SAAS,2BAA2B,CAAC,IAAa;YAChD,MAAM,QAAQ,GAAG,EAAE,CAAC,kBAAkB,CAAC,IAAI,CAAC;gBAC1C,CAAC,CAAC,IAAI,CAAC,aAAa,CAAC,IAAI;gBACzB,CAAC,CAAC,EAAE,CAAC,UAAU,CAAC,OAAO,CAAC;YAC1B,MAAM,cAAc,GAAG,IAAA,6CAAqB,EAAC,IAAI,CAAC,IAAI,EAAE,QAAQ,CAAC,CAAC;YAClE,MAAM,eAAe,GAAG,IAAA,6CAAqB,EAC3C,EAAE,CAAC,UAAU,CAAC,eAAe,EAC7B,EAAE,CAAC,UAAU,CAAC,OAAO,CACtB,CAAC;YACF,OAAO,cAAc,GAAG,eAAe,CAAC;QAC1C,CAAC;QAED,SAAS,IAAI,CAAC,IAAyB,EAAE,UAAmB;YAC1D,IAAI,KAAc,CAAC;YAEnB,MAAM,OAAO,GAAG,EAAE,CAAC,iBAAiB,CAAC,UAAU,CAAC,CAAC;YAEjD,IAAI,OAAO,EAAE,CAAC;gBACZ,KAAK,GAAG,UAAU,CAAC,UAAU,CAAC,CAAC,CAAC,CAAC;YACnC,CAAC;iBAAM,CAAC;gBACN,KAAK,GAAG,UAAU,CAAC;YACrB,CAAC;YAED,MAAM,IAAI,GAAG,OAAO,CAAC,iBAAiB,CAAC,KAAK,CAAC,CAAC;YAC9C,MAAM,SAAS,GAAG,IAAA,uBAAgB,EAAC,OAAO,EAAE,UAAU,EAAE,IAAI,CAAC,CAAC;YAE9D,gCAAgC;YAEhC,IAAI,SAAS,KAAK,gBAAS,CAAC,MAAM,EAAE,CAAC;gBACnC,IAAI,OAAO,EAAE,CAAC;oBACZ,IAAI,SAAS,KAAK,gBAAS,CAAC,GAAG,EAAE,CAAC;wBAChC,OAAO;oBACT,CAAC;oBACD,OAAO,CAAC,MAAM,CAAC;wBACb,IAAI;wBACJ,SAAS,EAAE,iBAAiB;wBAC5B,GAAG,EAAE,KAAK,CAAC,EAAE,CAAC,WAAW,CAAC,KAAK,EAAE,IAAI,CAAC;qBACvC,CAAC,CAAC;gBACL,CAAC;gBACD,OAAO;YACT,CAAC;YAED,4CAA4C;YAE5C,MAAM,oBAAoB,GACxB,4BAA4B,CAAC,UAAU,CAAC;gBACxC,iCAAiC,CAAC,IAAI,CAAC,CAAC;YAC1C,MAAM,UAAU,GAAG,CAAC,oBAAoB,CAAC;YAEzC,MAAM,iBAAiB,GAAG,gBAAgB,CAAC,MAAgB,CAAC,CAAC;YAE7D,MAAM,2BAA2B,GAAG,oBAAoB;gBACtD,CAAC,CAAC,iBAAiB,CAAC,oBAAoB;gBACxC,CAAC,CAAC,iBAAiB,CAAC,eAAe,CAAC;YAEtC,QAAQ,2BAA2B,EAAE,CAAC;gBACpC,KAAK,OAAO;oBACV,IAAI,CAAC,OAAO,EAAE,CAAC;wBACb,OAAO,CAAC,MAAM,CAAC;4BACb,IAAI;4BACJ,SAAS,EAAE,sBAAsB;4BACjC,GAAG,IAAA,sBAAe,EAAC;gCACjB,YAAY,EAAE,UAAU,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,SAAS;gCAC5C,UAAU,EAAE;oCACV,SAAS,EAAE,gCAAgC;oCAC3C,GAAG,EAAE,KAAK,CAAC,EAAE,CACX,WAAW,CACT,KAAK,EACL,IAAI,EACJ,2BAA2B,CAAC,UAAU,CAAC,CACxC;iCACJ;6BACF,CAAC;yBACH,CAAC,CAAC;oBACL,CAAC;oBACD,MAAM;gBACR,KAAK,YAAY;oBACf,MAAM;gBACR,KAAK,UAAU;oBACb,IAAI,OAAO,EAAE,CAAC;wBACZ,OAAO,CAAC,MAAM,CAAC;4BACb,IAAI;4BACJ,SAAS,EAAE,wBAAwB;4BACnC,GAAG,IAAA,sBAAe,EAAC;gCACjB,YAAY,EAAE,UAAU,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,SAAS;gCAC5C,UAAU,EAAE;oCACV,SAAS,EAAE,kCAAkC;oCAC7C,GAAG,EAAE,KAAK,CAAC,EAAE,CAAC,WAAW,CAAC,KAAK,EAAE,IAAI,CAAC;iCACvC;6BACF,CAAC;yBACH,CAAC,CAAC;oBACL,CAAC;oBACD,MAAM;YACV,CAAC;QACH,CAAC;QAED,SAAS,yBAAyB,CAChC,IAAyB;YAEzB,IAAI,IAAI,CAAC,IAAI,KAAK,sBAAc,CAAC,qBAAqB,EAAE,CAAC;gBACvD,OAAO;oBACL,GAAG,yBAAyB,CAAC,IAAI,CAAC,SAAS,CAAC;oBAC5C,GAAG,yBAAyB,CAAC,IAAI,CAAC,UAAU,CAAC;iBAC9C,CAAC;YACJ,CAAC;YACD,OAAO,CAAC,IAAI,CAAC,CAAC;QAChB,CAAC;QAED,OAAO;YACL,uBAAuB,EAAE,aAAa;YACtC,8BAA8B,EAAE,YAAY;YAC5C,mBAAmB,EAAE,aAAa;YAElC,0BAA0B,EAAE,YAAY;YACxC,kBAAkB,EAAE,aAAa;YACjC,yBAAyB,EAAE,YAAY;YAEvC,kEAAkE;YAClE,4CAA4C,CAC1C,IAAsC;gBAEtC,IAAI,IAAI,CAAC,IAAI,CAAC,IAAI,KAAK,sBAAc,CAAC,cAAc,EAAE,CAAC;oBACrD,yBAAyB,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,OAAO,CAAC,IAAI,CAAC,EAAE;wBAClD,MAAM,MAAM,GAAG,QAAQ,CAAC,qBAAqB,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC;wBACxD,IAAI,CAAC,IAAI,EAAE,MAAM,CAAC,CAAC;oBACrB,CAAC,CAAC,CAAC;gBACL,CAAC;YACH,CAAC;YACD,eAAe,CAAC,IAAI;gBAClB,MAAM,SAAS,GAAG,cAAc,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC,CAAC;gBACxC,IAAI,CAAC,SAAS,EAAE,QAAQ,IAAI,CAAC,IAAI,CAAC,QAAQ,EAAE,CAAC;oBAC3C,OAAO;gBACT,CAAC;gBACD,yBAAyB,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC,OAAO,CAAC,IAAI,CAAC,EAAE;oBACtD,MAAM,MAAM,GAAG,QAAQ,CAAC,qBAAqB,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC;oBACxD,IAAI,CAAC,IAAI,EAAE,MAAM,CAAC,CAAC;gBACrB,CAAC,CAAC,CAAC;YACL,CAAC;SACF,CAAC;IACJ,CAAC;CACF,CAAC,CAAC;AASH,SAAS,gBAAgB,CAAC,MAAc;IACtC,QAAQ,MAAM,EAAE,CAAC;QACf,KAAK,QAAQ;YACX,OAAO;gBACL,oBAAoB,EAAE,OAAO;gBAC7B,eAAe,EAAE,OAAO;aACzB,CAAC;QACJ,KAAK,iCAAiC;YACpC,OAAO;gBACL,oBAAoB,EAAE,OAAO;gBAC7B,eAAe,EAAE,YAAY;aAC9B,CAAC;QACJ,KAAK,cAAc;YACjB,OAAO;gBACL,oBAAoB,EAAE,OAAO;gBAC7B,eAAe,EAAE,UAAU;aAC5B,CAAC;QACJ,KAAK,OAAO;YACV,OAAO;gBACL,oBAAoB,EAAE,UAAU;gBAChC,eAAe,EAAE,UAAU;aAC5B,CAAC;IACN,CAAC;AACH,CAAC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/sort-type-constituents.js b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/sort-type-constituents.js index 130a32de54..cd53a7a2e3 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/sort-type-constituents.js +++ b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/sort-type-constituents.js @@ -85,7 +85,7 @@ function caseSensitiveSort(a, b) { if (a < b) { return -1; } - else if (a > b) { + if (a > b) { return 1; } return 0; diff --git a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/sort-type-constituents.js.map b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/sort-type-constituents.js.map index 549ad185dd..c250eb1dbd 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/sort-type-constituents.js.map +++ b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/sort-type-constituents.js.map @@ -1 +1 @@ -{"version":3,"file":"sort-type-constituents.js","sourceRoot":"","sources":["../../src/rules/sort-type-constituents.ts"],"names":[],"mappings":";;AAEA,oDAA0D;AAE1D,kCAAgF;AAEhF,IAAK,KAaJ;AAbD,WAAK,KAAK;IACR,oCAA2B,CAAA;IAC3B,8BAAqB,CAAA;IACrB,0BAAiB,CAAA;IACjB,sCAA6B,CAAA;IAC7B,4BAAmB,CAAA;IACnB,4BAAmB,CAAA;IACnB,4BAAmB,CAAA;IACnB,wBAAe,CAAA;IACf,0BAAiB,CAAA;IACjB,8BAAqB,CAAA;IACrB,wBAAe,CAAA;IACf,wBAAe,CAAA;AACjB,CAAC,EAbI,KAAK,KAAL,KAAK,QAaT;AAED,SAAS,QAAQ,CAAC,IAAuB;IACvC,QAAQ,IAAI,CAAC,IAAI,EAAE,CAAC;QAClB,KAAK,sBAAc,CAAC,iBAAiB;YACnC,OAAO,KAAK,CAAC,WAAW,CAAC;QAE3B,KAAK,sBAAc,CAAC,iBAAiB,CAAC;QACtC,KAAK,sBAAc,CAAC,cAAc;YAChC,OAAO,KAAK,CAAC,QAAQ,CAAC;QAExB,KAAK,sBAAc,CAAC,YAAY;YAC9B,OAAO,KAAK,CAAC,MAAM,CAAC;QAEtB,KAAK,sBAAc,CAAC,kBAAkB;YACpC,OAAO,KAAK,CAAC,YAAY,CAAC;QAE5B,KAAK,sBAAc,CAAC,YAAY,CAAC;QACjC,KAAK,sBAAc,CAAC,eAAe,CAAC;QACpC,KAAK,sBAAc,CAAC,gBAAgB,CAAC;QACrC,KAAK,sBAAc,CAAC,cAAc,CAAC;QACnC,KAAK,sBAAc,CAAC,eAAe,CAAC;QACpC,KAAK,sBAAc,CAAC,eAAe,CAAC;QACpC,KAAK,sBAAc,CAAC,eAAe,CAAC;QACpC,KAAK,sBAAc,CAAC,eAAe,CAAC;QACpC,KAAK,sBAAc,CAAC,UAAU,CAAC;QAC/B,KAAK,sBAAc,CAAC,gBAAgB,CAAC;QACrC,KAAK,sBAAc,CAAC,kBAAkB;YACpC,OAAO,KAAK,CAAC,OAAO,CAAC;QAEvB,KAAK,sBAAc,CAAC,aAAa,CAAC;QAClC,KAAK,sBAAc,CAAC,kBAAkB,CAAC;QACvC,KAAK,sBAAc,CAAC,aAAa;YAC/B,OAAO,KAAK,CAAC,OAAO,CAAC;QAEvB,KAAK,sBAAc,CAAC,aAAa,CAAC;QAClC,KAAK,sBAAc,CAAC,qBAAqB;YACvC,OAAO,KAAK,CAAC,OAAO,CAAC;QAEvB,KAAK,sBAAc,CAAC,WAAW,CAAC;QAChC,KAAK,sBAAc,CAAC,mBAAmB,CAAC;QACxC,KAAK,sBAAc,CAAC,WAAW,CAAC;QAChC,KAAK,sBAAc,CAAC,eAAe,CAAC;QACpC,KAAK,sBAAc,CAAC,eAAe;YACjC,OAAO,KAAK,CAAC,KAAK,CAAC;QAErB,KAAK,sBAAc,CAAC,YAAY,CAAC;QACjC,KAAK,sBAAc,CAAC,aAAa;YAC/B,OAAO,KAAK,CAAC,MAAM,CAAC;QAEtB,KAAK,sBAAc,CAAC,cAAc,CAAC;QACnC,KAAK,sBAAc,CAAC,WAAW;YAC7B,OAAO,KAAK,CAAC,QAAQ,CAAC;QAExB,KAAK,sBAAc,CAAC,WAAW;YAC7B,OAAO,KAAK,CAAC,KAAK,CAAC;QAErB,KAAK,sBAAc,CAAC,WAAW;YAC7B,OAAO,KAAK,CAAC,KAAK,CAAC;QAErB,iEAAiE;QACjE,KAAK,sBAAc,CAAC,iBAAiB,CAAC;QACtC,KAAK,sBAAc,CAAC,cAAc,CAAC;QACnC,KAAK,sBAAc,CAAC,gBAAgB,CAAC;QACrC,KAAK,sBAAc,CAAC,eAAe,CAAC;QACpC,KAAK,sBAAc,CAAC,kBAAkB,CAAC;QACvC,KAAK,sBAAc,CAAC,cAAc,CAAC;QACnC,KAAK,sBAAc,CAAC,gBAAgB,CAAC;QACrC,KAAK,sBAAc,CAAC,kBAAkB,CAAC;QACvC,KAAK,sBAAc,CAAC,eAAe,CAAC;QACpC,KAAK,sBAAc,CAAC,iBAAiB,CAAC;QACtC,KAAK,sBAAc,CAAC,UAAU,CAAC;QAC/B,KAAK,sBAAc,CAAC,eAAe,CAAC;QACpC,KAAK,sBAAc,CAAC,eAAe;YACjC,0BAA0B;YAC1B,MAAM,IAAI,KAAK,CAAC,mBAAmB,IAAI,CAAC,IAAI,EAAE,CAAC,CAAC;IACpD,CAAC;AACH,CAAC;AAED,SAAS,iBAAiB,CAAC,CAAS,EAAE,CAAS;IAC7C,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC;QACV,OAAO,CAAC,CAAC,CAAC;IACZ,CAAC;SAAM,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC;QACjB,OAAO,CAAC,CAAC;IACX,CAAC;IACD,OAAO,CAAC,CAAC;AACX,CAAC;AAYD,kBAAe,IAAA,iBAAU,EAAsB;IAC7C,IAAI,EAAE,wBAAwB;IAC9B,IAAI,EAAE;QACJ,IAAI,EAAE,YAAY;QAClB,UAAU,EAAE,IAAI;QAChB,IAAI,EAAE;YACJ,WAAW,EACT,+EAA+E;SAClF;QACD,OAAO,EAAE,MAAM;QACf,cAAc,EAAE,IAAI;QACpB,QAAQ,EAAE;YACR,SAAS,EAAE,4CAA4C;YACvD,cAAc,EAAE,qDAAqD;YACrE,UAAU,EAAE,mDAAmD;SAChE;QACD,UAAU,EAAE;YACV,uCAAuC;YACvC,gCAAgC;SACjC;QACD,MAAM,EAAE;YACN;gBACE,IAAI,EAAE,QAAQ;gBACd,oBAAoB,EAAE,KAAK;gBAC3B,UAAU,EAAE;oBACV,aAAa,EAAE;wBACb,IAAI,EAAE,SAAS;wBACf,WAAW,EACT,0DAA0D;qBAC7D;oBACD,kBAAkB,EAAE;wBAClB,IAAI,EAAE,SAAS;wBACf,WAAW,EAAE,4CAA4C;qBAC1D;oBACD,WAAW,EAAE;wBACX,IAAI,EAAE,SAAS;wBACf,WAAW,EAAE,qCAAqC;qBACnD;oBACD,UAAU,EAAE;wBACV,IAAI,EAAE,OAAO;wBACb,WAAW,EAAE,yBAAyB;wBACtC,KAAK,EAAE;4BACL,IAAI,EAAE,QAAQ;4BACd,IAAI,EAAE,IAAA,mBAAY,EAAC,KAAK,CAAC;yBAC1B;qBACF;iBACF;aACF;SACF;KACF;IACD,cAAc,EAAE;QACd;YACE,aAAa,EAAE,KAAK;YACpB,kBAAkB,EAAE,IAAI;YACxB,WAAW,EAAE,IAAI;YACjB,UAAU,EAAE;gBACV,KAAK,CAAC,KAAK;gBACX,KAAK,CAAC,OAAO;gBACb,KAAK,CAAC,QAAQ;gBACd,KAAK,CAAC,OAAO;gBACb,KAAK,CAAC,QAAQ;gBACd,KAAK,CAAC,MAAM;gBACZ,KAAK,CAAC,WAAW;gBACjB,KAAK,CAAC,MAAM;gBACZ,KAAK,CAAC,KAAK;gBACX,KAAK,CAAC,YAAY;gBAClB,KAAK,CAAC,KAAK;gBACX,KAAK,CAAC,OAAO;aACd;SACF;KACF;IACD,MAAM,CACJ,OAAO,EACP,CAAC,EAAE,aAAa,EAAE,kBAAkB,EAAE,WAAW,EAAE,UAAU,EAAE,CAAC;QAEhE,MAAM,QAAQ,GAAG,IAAI,IAAI,CAAC,QAAQ,CAAC,IAAI,EAAE;YACvC,OAAO,EAAE,IAAI;YACb,WAAW,EAAE,MAAM;SACpB,CAAC,CAAC;QAEH,SAAS,YAAY,CACnB,IAAwD;YAExD,MAAM,WAAW,GAAG,IAAI,CAAC,KAAK,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;gBACxC,MAAM,KAAK,GAAG,UAAU,EAAE,OAAO,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC;gBACxD,OAAO;oBACL,IAAI,EAAE,IAAI;oBACV,KAAK,EAAE,KAAK,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC,gBAAgB,CAAC,CAAC,CAAC,KAAK;oBACrD,IAAI,EAAE,OAAO,CAAC,UAAU,CAAC,OAAO,CAAC,IAAI,CAAC;iBACvC,CAAC;YACJ,CAAC,CAAC,CAAC;YACH,MAAM,aAAa,GAAG,CAAC,GAAG,WAAW,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,CAAC,EAAE,EAAE;gBACnD,IAAI,CAAC,CAAC,KAAK,KAAK,CAAC,CAAC,KAAK,EAAE,CAAC;oBACxB,OAAO,CAAC,CAAC,KAAK,GAAG,CAAC,CAAC,KAAK,CAAC;gBAC3B,CAAC;gBAED,IAAI,aAAa,EAAE,CAAC;oBAClB,OAAO,iBAAiB,CAAC,CAAC,CAAC,IAAI,EAAE,CAAC,CAAC,IAAI,CAAC,CAAC;gBAC3C,CAAC;gBAED,OAAO,CACL,QAAQ,CAAC,OAAO,CAAC,CAAC,CAAC,IAAI,EAAE,CAAC,CAAC,IAAI,CAAC;oBAChC,CAAC,CAAC,CAAC,IAAI,GAAG,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,IAAI,GAAG,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CACjD,CAAC;YACJ,CAAC,CAAC,CAAC;YAEH,MAAM,WAAW,GAAG,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,EAAE;gBACzC,MAAM,KAAK,GACT,OAAO,CAAC,UAAU,CAAC,iBAAiB,CAAC,IAAI,CAAC,CAAC,MAAM;oBACjD,OAAO,CAAC,UAAU,CAAC,gBAAgB,CAAC,IAAI,CAAC,CAAC,MAAM,CAAC;gBACnD,OAAO,KAAK,GAAG,CAAC,CAAC;YACnB,CAAC,CAAC,CAAC;YAEH,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,aAAa,CAAC,MAAM,EAAE,CAAC,IAAI,CAAC,EAAE,CAAC;gBACjD,IAAI,aAAa,CAAC,CAAC,CAAC,CAAC,IAAI,KAAK,WAAW,CAAC,CAAC,CAAC,CAAC,IAAI,EAAE,CAAC;oBAClD,IAAI,SAAS,GAAe,WAAW,CAAC;oBACxC,MAAM,IAAI,GAAG;wBACX,IAAI,EAAE,EAAE;wBACR,IAAI,EACF,IAAI,CAAC,IAAI,KAAK,sBAAc,CAAC,kBAAkB;4BAC7C,CAAC,CAAC,cAAc;4BAChB,CAAC,CAAC,OAAO;qBACd,CAAC;oBACF,IAAI,IAAI,CAAC,MAAM,CAAC,IAAI,KAAK,sBAAc,CAAC,sBAAsB,EAAE,CAAC;wBAC/D,SAAS,GAAG,gBAAgB,CAAC;wBAC7B,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC,MAAM,CAAC,EAAE,CAAC,IAAI,CAAC;oBAClC,CAAC;oBAED,MAAM,GAAG,GAA+B,KAAK,CAAC,EAAE;wBAC9C,MAAM,MAAM,GAAG,aAAa;6BACzB,GAAG,CAAC,CAAC,CAAC,EAAE,CACP,IAAA,kCAA2B,EAAC,CAAC,CAAC,IAAI,EAAE,CAAC,CAAC,IAAI,CAAC;4BAC3C,CAAC,IAAI,CAAC,IAAI,KAAK,sBAAc,CAAC,kBAAkB;gCAC9C,CAAC,CAAC,IAAI,CAAC,IAAI,KAAK,sBAAc,CAAC,WAAW,CAAC;4BAC3C,CAAC,CAAC,IAAI,CAAC,CAAC,IAAI,GAAG;4BACf,CAAC,CAAC,CAAC,CAAC,IAAI,CACX;6BACA,IAAI,CACH,IAAI,CAAC,IAAI,KAAK,sBAAc,CAAC,kBAAkB,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,KAAK,CAChE,CAAC;wBAEJ,OAAO,KAAK,CAAC,WAAW,CAAC,IAAI,EAAE,MAAM,CAAC,CAAC;oBACzC,CAAC,CAAC;oBACF,OAAO,OAAO,CAAC,MAAM,CAAC;wBACpB,IAAI;wBACJ,SAAS;wBACT,IAAI;wBACJ,mEAAmE;wBACnE,kFAAkF;wBAClF,GAAG,CAAC,WAAW;4BACb,CAAC,CAAC;gCACE,OAAO,EAAE;oCACP;wCACE,SAAS,EAAE,YAAY;wCACvB,GAAG;qCACJ;iCACF;6BACF;4BACH,CAAC,CAAC,EAAE,GAAG,EAAE,CAAC;qBACb,CAAC,CAAC;gBACL,CAAC;YACH,CAAC;QACH,CAAC;QAED,OAAO;YACL,GAAG,CAAC,kBAAkB,IAAI;gBACxB,kBAAkB,CAAC,IAAI;oBACrB,YAAY,CAAC,IAAI,CAAC,CAAC;gBACrB,CAAC;aACF,CAAC;YACF,GAAG,CAAC,WAAW,IAAI;gBACjB,WAAW,CAAC,IAAI;oBACd,YAAY,CAAC,IAAI,CAAC,CAAC;gBACrB,CAAC;aACF,CAAC;SACH,CAAC;IACJ,CAAC;CACF,CAAC,CAAC"} \ No newline at end of file +{"version":3,"file":"sort-type-constituents.js","sourceRoot":"","sources":["../../src/rules/sort-type-constituents.ts"],"names":[],"mappings":";;AAEA,oDAA0D;AAE1D,kCAAgF;AAEhF,IAAK,KAaJ;AAbD,WAAK,KAAK;IACR,oCAA2B,CAAA;IAC3B,8BAAqB,CAAA;IACrB,0BAAiB,CAAA;IACjB,sCAA6B,CAAA;IAC7B,4BAAmB,CAAA;IACnB,4BAAmB,CAAA;IACnB,4BAAmB,CAAA;IACnB,wBAAe,CAAA;IACf,0BAAiB,CAAA;IACjB,8BAAqB,CAAA;IACrB,wBAAe,CAAA;IACf,wBAAe,CAAA;AACjB,CAAC,EAbI,KAAK,KAAL,KAAK,QAaT;AAED,SAAS,QAAQ,CAAC,IAAuB;IACvC,QAAQ,IAAI,CAAC,IAAI,EAAE,CAAC;QAClB,KAAK,sBAAc,CAAC,iBAAiB;YACnC,OAAO,KAAK,CAAC,WAAW,CAAC;QAE3B,KAAK,sBAAc,CAAC,iBAAiB,CAAC;QACtC,KAAK,sBAAc,CAAC,cAAc;YAChC,OAAO,KAAK,CAAC,QAAQ,CAAC;QAExB,KAAK,sBAAc,CAAC,YAAY;YAC9B,OAAO,KAAK,CAAC,MAAM,CAAC;QAEtB,KAAK,sBAAc,CAAC,kBAAkB;YACpC,OAAO,KAAK,CAAC,YAAY,CAAC;QAE5B,KAAK,sBAAc,CAAC,YAAY,CAAC;QACjC,KAAK,sBAAc,CAAC,eAAe,CAAC;QACpC,KAAK,sBAAc,CAAC,gBAAgB,CAAC;QACrC,KAAK,sBAAc,CAAC,cAAc,CAAC;QACnC,KAAK,sBAAc,CAAC,eAAe,CAAC;QACpC,KAAK,sBAAc,CAAC,eAAe,CAAC;QACpC,KAAK,sBAAc,CAAC,eAAe,CAAC;QACpC,KAAK,sBAAc,CAAC,eAAe,CAAC;QACpC,KAAK,sBAAc,CAAC,UAAU,CAAC;QAC/B,KAAK,sBAAc,CAAC,gBAAgB,CAAC;QACrC,KAAK,sBAAc,CAAC,kBAAkB;YACpC,OAAO,KAAK,CAAC,OAAO,CAAC;QAEvB,KAAK,sBAAc,CAAC,aAAa,CAAC;QAClC,KAAK,sBAAc,CAAC,kBAAkB,CAAC;QACvC,KAAK,sBAAc,CAAC,aAAa;YAC/B,OAAO,KAAK,CAAC,OAAO,CAAC;QAEvB,KAAK,sBAAc,CAAC,aAAa,CAAC;QAClC,KAAK,sBAAc,CAAC,qBAAqB;YACvC,OAAO,KAAK,CAAC,OAAO,CAAC;QAEvB,KAAK,sBAAc,CAAC,WAAW,CAAC;QAChC,KAAK,sBAAc,CAAC,mBAAmB,CAAC;QACxC,KAAK,sBAAc,CAAC,WAAW,CAAC;QAChC,KAAK,sBAAc,CAAC,eAAe,CAAC;QACpC,KAAK,sBAAc,CAAC,eAAe;YACjC,OAAO,KAAK,CAAC,KAAK,CAAC;QAErB,KAAK,sBAAc,CAAC,YAAY,CAAC;QACjC,KAAK,sBAAc,CAAC,aAAa;YAC/B,OAAO,KAAK,CAAC,MAAM,CAAC;QAEtB,KAAK,sBAAc,CAAC,cAAc,CAAC;QACnC,KAAK,sBAAc,CAAC,WAAW;YAC7B,OAAO,KAAK,CAAC,QAAQ,CAAC;QAExB,KAAK,sBAAc,CAAC,WAAW;YAC7B,OAAO,KAAK,CAAC,KAAK,CAAC;QAErB,KAAK,sBAAc,CAAC,WAAW;YAC7B,OAAO,KAAK,CAAC,KAAK,CAAC;QAErB,iEAAiE;QACjE,KAAK,sBAAc,CAAC,iBAAiB,CAAC;QACtC,KAAK,sBAAc,CAAC,cAAc,CAAC;QACnC,KAAK,sBAAc,CAAC,gBAAgB,CAAC;QACrC,KAAK,sBAAc,CAAC,eAAe,CAAC;QACpC,KAAK,sBAAc,CAAC,kBAAkB,CAAC;QACvC,KAAK,sBAAc,CAAC,cAAc,CAAC;QACnC,KAAK,sBAAc,CAAC,gBAAgB,CAAC;QACrC,KAAK,sBAAc,CAAC,kBAAkB,CAAC;QACvC,KAAK,sBAAc,CAAC,eAAe,CAAC;QACpC,KAAK,sBAAc,CAAC,iBAAiB,CAAC;QACtC,KAAK,sBAAc,CAAC,UAAU,CAAC;QAC/B,KAAK,sBAAc,CAAC,eAAe,CAAC;QACpC,KAAK,sBAAc,CAAC,eAAe;YACjC,0BAA0B;YAC1B,MAAM,IAAI,KAAK,CAAC,mBAAmB,IAAI,CAAC,IAAI,EAAE,CAAC,CAAC;IACpD,CAAC;AACH,CAAC;AAED,SAAS,iBAAiB,CAAC,CAAS,EAAE,CAAS;IAC7C,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC;QACV,OAAO,CAAC,CAAC,CAAC;IACZ,CAAC;IAED,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC;QACV,OAAO,CAAC,CAAC;IACX,CAAC;IACD,OAAO,CAAC,CAAC;AACX,CAAC;AAYD,kBAAe,IAAA,iBAAU,EAAsB;IAC7C,IAAI,EAAE,wBAAwB;IAC9B,IAAI,EAAE;QACJ,IAAI,EAAE,YAAY;QAClB,UAAU,EAAE,IAAI;QAChB,IAAI,EAAE;YACJ,WAAW,EACT,+EAA+E;SAClF;QACD,OAAO,EAAE,MAAM;QACf,cAAc,EAAE,IAAI;QACpB,QAAQ,EAAE;YACR,SAAS,EAAE,4CAA4C;YACvD,cAAc,EAAE,qDAAqD;YACrE,UAAU,EAAE,mDAAmD;SAChE;QACD,UAAU,EAAE;YACV,uCAAuC;YACvC,gCAAgC;SACjC;QACD,MAAM,EAAE;YACN;gBACE,IAAI,EAAE,QAAQ;gBACd,oBAAoB,EAAE,KAAK;gBAC3B,UAAU,EAAE;oBACV,aAAa,EAAE;wBACb,IAAI,EAAE,SAAS;wBACf,WAAW,EACT,0DAA0D;qBAC7D;oBACD,kBAAkB,EAAE;wBAClB,IAAI,EAAE,SAAS;wBACf,WAAW,EAAE,4CAA4C;qBAC1D;oBACD,WAAW,EAAE;wBACX,IAAI,EAAE,SAAS;wBACf,WAAW,EAAE,qCAAqC;qBACnD;oBACD,UAAU,EAAE;wBACV,IAAI,EAAE,OAAO;wBACb,WAAW,EAAE,yBAAyB;wBACtC,KAAK,EAAE;4BACL,IAAI,EAAE,QAAQ;4BACd,IAAI,EAAE,IAAA,mBAAY,EAAC,KAAK,CAAC;yBAC1B;qBACF;iBACF;aACF;SACF;KACF;IACD,cAAc,EAAE;QACd;YACE,aAAa,EAAE,KAAK;YACpB,kBAAkB,EAAE,IAAI;YACxB,WAAW,EAAE,IAAI;YACjB,UAAU,EAAE;gBACV,KAAK,CAAC,KAAK;gBACX,KAAK,CAAC,OAAO;gBACb,KAAK,CAAC,QAAQ;gBACd,KAAK,CAAC,OAAO;gBACb,KAAK,CAAC,QAAQ;gBACd,KAAK,CAAC,MAAM;gBACZ,KAAK,CAAC,WAAW;gBACjB,KAAK,CAAC,MAAM;gBACZ,KAAK,CAAC,KAAK;gBACX,KAAK,CAAC,YAAY;gBAClB,KAAK,CAAC,KAAK;gBACX,KAAK,CAAC,OAAO;aACd;SACF;KACF;IACD,MAAM,CACJ,OAAO,EACP,CAAC,EAAE,aAAa,EAAE,kBAAkB,EAAE,WAAW,EAAE,UAAU,EAAE,CAAC;QAEhE,MAAM,QAAQ,GAAG,IAAI,IAAI,CAAC,QAAQ,CAAC,IAAI,EAAE;YACvC,OAAO,EAAE,IAAI;YACb,WAAW,EAAE,MAAM;SACpB,CAAC,CAAC;QAEH,SAAS,YAAY,CACnB,IAAwD;YAExD,MAAM,WAAW,GAAG,IAAI,CAAC,KAAK,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;gBACxC,MAAM,KAAK,GAAG,UAAU,EAAE,OAAO,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC;gBACxD,OAAO;oBACL,IAAI,EAAE,IAAI;oBACV,KAAK,EAAE,KAAK,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC,gBAAgB,CAAC,CAAC,CAAC,KAAK;oBACrD,IAAI,EAAE,OAAO,CAAC,UAAU,CAAC,OAAO,CAAC,IAAI,CAAC;iBACvC,CAAC;YACJ,CAAC,CAAC,CAAC;YACH,MAAM,aAAa,GAAG,CAAC,GAAG,WAAW,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,CAAC,EAAE,EAAE;gBACnD,IAAI,CAAC,CAAC,KAAK,KAAK,CAAC,CAAC,KAAK,EAAE,CAAC;oBACxB,OAAO,CAAC,CAAC,KAAK,GAAG,CAAC,CAAC,KAAK,CAAC;gBAC3B,CAAC;gBAED,IAAI,aAAa,EAAE,CAAC;oBAClB,OAAO,iBAAiB,CAAC,CAAC,CAAC,IAAI,EAAE,CAAC,CAAC,IAAI,CAAC,CAAC;gBAC3C,CAAC;gBAED,OAAO,CACL,QAAQ,CAAC,OAAO,CAAC,CAAC,CAAC,IAAI,EAAE,CAAC,CAAC,IAAI,CAAC;oBAChC,CAAC,CAAC,CAAC,IAAI,GAAG,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,IAAI,GAAG,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CACjD,CAAC;YACJ,CAAC,CAAC,CAAC;YAEH,MAAM,WAAW,GAAG,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,EAAE;gBACzC,MAAM,KAAK,GACT,OAAO,CAAC,UAAU,CAAC,iBAAiB,CAAC,IAAI,CAAC,CAAC,MAAM;oBACjD,OAAO,CAAC,UAAU,CAAC,gBAAgB,CAAC,IAAI,CAAC,CAAC,MAAM,CAAC;gBACnD,OAAO,KAAK,GAAG,CAAC,CAAC;YACnB,CAAC,CAAC,CAAC;YAEH,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,aAAa,CAAC,MAAM,EAAE,CAAC,IAAI,CAAC,EAAE,CAAC;gBACjD,IAAI,aAAa,CAAC,CAAC,CAAC,CAAC,IAAI,KAAK,WAAW,CAAC,CAAC,CAAC,CAAC,IAAI,EAAE,CAAC;oBAClD,IAAI,SAAS,GAAe,WAAW,CAAC;oBACxC,MAAM,IAAI,GAAG;wBACX,IAAI,EAAE,EAAE;wBACR,IAAI,EACF,IAAI,CAAC,IAAI,KAAK,sBAAc,CAAC,kBAAkB;4BAC7C,CAAC,CAAC,cAAc;4BAChB,CAAC,CAAC,OAAO;qBACd,CAAC;oBACF,IAAI,IAAI,CAAC,MAAM,CAAC,IAAI,KAAK,sBAAc,CAAC,sBAAsB,EAAE,CAAC;wBAC/D,SAAS,GAAG,gBAAgB,CAAC;wBAC7B,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC,MAAM,CAAC,EAAE,CAAC,IAAI,CAAC;oBAClC,CAAC;oBAED,MAAM,GAAG,GAA+B,KAAK,CAAC,EAAE;wBAC9C,MAAM,MAAM,GAAG,aAAa;6BACzB,GAAG,CAAC,CAAC,CAAC,EAAE,CACP,IAAA,kCAA2B,EAAC,CAAC,CAAC,IAAI,EAAE,CAAC,CAAC,IAAI,CAAC;4BAC3C,CAAC,IAAI,CAAC,IAAI,KAAK,sBAAc,CAAC,kBAAkB;gCAC9C,CAAC,CAAC,IAAI,CAAC,IAAI,KAAK,sBAAc,CAAC,WAAW,CAAC;4BAC3C,CAAC,CAAC,IAAI,CAAC,CAAC,IAAI,GAAG;4BACf,CAAC,CAAC,CAAC,CAAC,IAAI,CACX;6BACA,IAAI,CACH,IAAI,CAAC,IAAI,KAAK,sBAAc,CAAC,kBAAkB,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,KAAK,CAChE,CAAC;wBAEJ,OAAO,KAAK,CAAC,WAAW,CAAC,IAAI,EAAE,MAAM,CAAC,CAAC;oBACzC,CAAC,CAAC;oBACF,OAAO,OAAO,CAAC,MAAM,CAAC;wBACpB,IAAI;wBACJ,SAAS;wBACT,IAAI;wBACJ,mEAAmE;wBACnE,kFAAkF;wBAClF,GAAG,CAAC,WAAW;4BACb,CAAC,CAAC;gCACE,OAAO,EAAE;oCACP;wCACE,SAAS,EAAE,YAAY;wCACvB,GAAG;qCACJ;iCACF;6BACF;4BACH,CAAC,CAAC,EAAE,GAAG,EAAE,CAAC;qBACb,CAAC,CAAC;gBACL,CAAC;YACH,CAAC;QACH,CAAC;QAED,OAAO;YACL,GAAG,CAAC,kBAAkB,IAAI;gBACxB,kBAAkB,CAAC,IAAI;oBACrB,YAAY,CAAC,IAAI,CAAC,CAAC;gBACrB,CAAC;aACF,CAAC;YACF,GAAG,CAAC,WAAW,IAAI;gBACjB,WAAW,CAAC,IAAI;oBACd,YAAY,CAAC,IAAI,CAAC,CAAC;gBACrB,CAAC;aACF,CAAC;SACH,CAAC;IACJ,CAAC;CACF,CAAC,CAAC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/strict-boolean-expressions.js b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/strict-boolean-expressions.js index 0e826b7120..850169a302 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/strict-boolean-expressions.js +++ b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/strict-boolean-expressions.js @@ -15,13 +15,23 @@ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? ( }) : function(o, v) { o["default"] = v; }); -var __importStar = (this && this.__importStar) || function (mod) { - if (mod && mod.__esModule) return mod; - var result = {}; - if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k); - __setModuleDefault(result, mod); - return result; -}; +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); Object.defineProperty(exports, "__esModule", { value: true }); const utils_1 = require("@typescript-eslint/utils"); const tsutils = __importStar(require("ts-api-utils")); diff --git a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/strict-boolean-expressions.js.map b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/strict-boolean-expressions.js.map index 364edb7e55..77d9e04979 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/strict-boolean-expressions.js.map +++ b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/strict-boolean-expressions.js.map @@ -1 +1 @@ -{"version":3,"file":"strict-boolean-expressions.js","sourceRoot":"","sources":["../../src/rules/strict-boolean-expressions.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AAKA,oDAA0D;AAC1D,sDAAwC;AACxC,+CAAiC;AAEjC,kCAMiB;AACjB,2EAAgF;AAyChF,kBAAe,IAAA,iBAAU,EAAqB;IAC5C,IAAI,EAAE,4BAA4B;IAClC,IAAI,EAAE;QACJ,IAAI,EAAE,YAAY;QAClB,IAAI,EAAE;YACJ,WAAW,EAAE,+CAA+C;YAC5D,oBAAoB,EAAE,IAAI;SAC3B;QACD,OAAO,EAAE,MAAM;QACf,cAAc,EAAE,IAAI;QACpB,QAAQ,EAAE;YACR,iBAAiB,EACf,uCAAuC;gBACvC,kDAAkD;YACpD,6BAA6B,EAC3B,oDAAoD;gBACpD,4CAA4C;YAC9C,0BAA0B,EACxB,iDAAiD;gBACjD,sDAAsD;YACxD,4BAA4B,EAC1B,mDAAmD;gBACnD,sDAAsD;YACxD,4BAA4B,EAC1B,mDAAmD;gBACnD,qCAAqC;YACvC,4BAA4B,EAC1B,mDAAmD;gBACnD,mDAAmD;YACrD,qBAAqB,EACnB,2CAA2C;gBAC3C,gCAAgC;YAClC,oBAAoB,EAClB,0CAA0C;gBAC1C,yCAAyC;YAC3C,oBAAoB,EAClB,0CAA0C;gBAC1C,+BAA+B;YACjC,mBAAmB,EACjB,mCAAmC;gBACnC,mCAAmC;YACrC,oBAAoB,EAClB,0CAA0C;gBAC1C,6CAA6C;YAC/C,uBAAuB,EACrB,uDAAuD;YAEzD,8BAA8B,EAC5B,6DAA6D;YAC/D,wBAAwB,EACtB,wDAAwD;YAC1D,sBAAsB,EACpB,4DAA4D;YAC9D,0BAA0B,EACxB,gEAAgE;YAClE,+BAA+B,EAC7B,kEAAkE;YACpE,uBAAuB,EACrB,sDAAsD;YACxD,uBAAuB,EACrB,iDAAiD;YACnD,8BAA8B,EAC5B,4EAA4E;YAC9E,wBAAwB,EACtB,qEAAqE;YACvE,uBAAuB,EACrB,6DAA6D;YAC/D,iBAAiB,EACf,kGAAkG;SACrG;QACD,MAAM,EAAE;YACN;gBACE,IAAI,EAAE,QAAQ;gBACd,oBAAoB,EAAE,KAAK;gBAC3B,UAAU,EAAE;oBACV,QAAQ,EAAE;wBACR,IAAI,EAAE,SAAS;wBACf,WAAW,EAAE,+CAA+C;qBAC7D;oBACD,oBAAoB,EAAE;wBACpB,IAAI,EAAE,SAAS;wBACf,WAAW,EACT,4DAA4D;qBAC/D;oBACD,iBAAiB,EAAE;wBACjB,IAAI,EAAE,SAAS;wBACf,WAAW,EACT,yDAAyD;qBAC5D;oBACD,mBAAmB,EAAE;wBACnB,IAAI,EAAE,SAAS;wBACf,WAAW,EACT,2DAA2D;qBAC9D;oBACD,mBAAmB,EAAE;wBACnB,IAAI,EAAE,SAAS;wBACf,WAAW,EACT,qFAAqF;qBACxF;oBACD,mBAAmB,EAAE;wBACnB,IAAI,EAAE,SAAS;wBACf,WAAW,EACT,2DAA2D;qBAC9D;oBACD,WAAW,EAAE;wBACX,IAAI,EAAE,SAAS;wBACf,WAAW,EAAE,kDAAkD;qBAChE;oBACD,sDAAsD,EAAE;wBACtD,IAAI,EAAE,SAAS;wBACf,WAAW,EACT,2KAA2K;qBAC9K;oBACD,WAAW,EAAE;wBACX,IAAI,EAAE,SAAS;wBACf,WAAW,EAAE,kDAAkD;qBAChE;iBACF;aACF;SACF;KACF;IACD,cAAc,EAAE;QACd;YACE,QAAQ,EAAE,KAAK;YACf,oBAAoB,EAAE,KAAK;YAC3B,iBAAiB,EAAE,KAAK;YACxB,mBAAmB,EAAE,KAAK;YAC1B,mBAAmB,EAAE,IAAI;YACzB,mBAAmB,EAAE,KAAK;YAC1B,WAAW,EAAE,IAAI;YACjB,sDAAsD,EAAE,KAAK;YAC7D,WAAW,EAAE,IAAI;SAClB;KACF;IACD,MAAM,CAAC,OAAO,EAAE,CAAC,OAAO,CAAC;QACvB,MAAM,QAAQ,GAAG,IAAA,wBAAiB,EAAC,OAAO,CAAC,CAAC;QAC5C,MAAM,OAAO,GAAG,QAAQ,CAAC,OAAO,CAAC,cAAc,EAAE,CAAC;QAClD,MAAM,eAAe,GAAG,QAAQ,CAAC,OAAO,CAAC,kBAAkB,EAAE,CAAC;QAE9D,MAAM,kBAAkB,GAAG,OAAO,CAAC,6BAA6B,CAC9D,eAAe,EACf,kBAAkB,CACnB,CAAC;QAEF,IACE,CAAC,kBAAkB;YACnB,OAAO,CAAC,sDAAsD,KAAK,IAAI,EACvE,CAAC;YACD,OAAO,CAAC,MAAM,CAAC;gBACb,GAAG,EAAE;oBACH,KAAK,EAAE,EAAE,MAAM,EAAE,CAAC,EAAE,IAAI,EAAE,CAAC,EAAE;oBAC7B,GAAG,EAAE,EAAE,MAAM,EAAE,CAAC,EAAE,IAAI,EAAE,CAAC,EAAE;iBAC5B;gBACD,SAAS,EAAE,mBAAmB;aAC/B,CAAC,CAAC;QACL,CAAC;QAED,MAAM,cAAc,GAAG,IAAI,GAAG,EAAiB,CAAC;QAEhD,OAAO;YACL,cAAc,EAAE,sBAAsB;YACtC,qBAAqB,EAAE,sBAAsB;YAC7C,gBAAgB,EAAE,sBAAsB;YACxC,YAAY,EAAE,sBAAsB;YACpC,WAAW,EAAE,sBAAsB;YACnC,mCAAmC,EAAE,yBAAyB;YAC9D,+BAA+B,EAAE,8BAA8B;YAC/D,cAAc,EAAE,sBAAsB;SACvC,CAAC;QASF;;WAEG;QACH,SAAS,sBAAsB,CAAC,IAAoB;YAClD,IAAI,IAAI,CAAC,IAAI,IAAI,IAAI,EAAE,CAAC;gBACtB,OAAO;YACT,CAAC;YACD,YAAY,CAAC,IAAI,CAAC,IAAI,EAAE,IAAI,CAAC,CAAC;QAChC,CAAC;QAED;;WAEG;QACH,SAAS,8BAA8B,CACrC,IAA8B;YAE9B,YAAY,CAAC,IAAI,CAAC,QAAQ,EAAE,IAAI,CAAC,CAAC;QACpC,CAAC;QAED;;;;;;;WAOG;QACH,SAAS,yBAAyB,CAChC,IAAgC,EAChC,WAAW,GAAG,KAAK;YAEnB,iDAAiD;YACjD,YAAY,CAAC,IAAI,CAAC,IAAI,EAAE,IAAI,CAAC,CAAC;YAC9B,sDAAsD;YACtD,4DAA4D;YAC5D,YAAY,CAAC,IAAI,CAAC,KAAK,EAAE,WAAW,CAAC,CAAC;QACxC,CAAC;QAED,SAAS,sBAAsB,CAAC,IAA6B;YAC3D,MAAM,gBAAgB,GAAG,IAAA,uDAA8B,EAAC,QAAQ,EAAE,IAAI,CAAC,CAAC;YACxE,IAAI,gBAAgB,IAAI,IAAI,EAAE,CAAC;gBAC7B,YAAY,CAAC,gBAAgB,EAAE,IAAI,CAAC,CAAC;YACvC,CAAC;QACH,CAAC;QAED;;;;;;;WAOG;QACH,SAAS,YAAY,CACnB,IAAyB,EACzB,WAAoB;YAEpB,gDAAgD;YAChD,IAAI,cAAc,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE,CAAC;gBAC7B,OAAO;YACT,CAAC;YACD,cAAc,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC;YAEzB,8CAA8C;YAC9C,IACE,IAAI,CAAC,IAAI,KAAK,sBAAc,CAAC,iBAAiB;gBAC9C,IAAI,CAAC,QAAQ,KAAK,IAAI,EACtB,CAAC;gBACD,yBAAyB,CAAC,IAAI,EAAE,WAAW,CAAC,CAAC;gBAC7C,OAAO;YACT,CAAC;YAED,kCAAkC;YAClC,IAAI,CAAC,WAAW,EAAE,CAAC;gBACjB,OAAO;YACT,CAAC;YAED,SAAS,CAAC,IAAI,CAAC,CAAC;QAClB,CAAC;QAED;;;WAGG;QACH,SAAS,SAAS,CAAC,IAAyB;YAC1C,MAAM,IAAI,GAAG,IAAA,mCAA4B,EAAC,QAAQ,EAAE,IAAI,CAAC,CAAC;YAC1D,MAAM,KAAK,GAAG,mBAAmB,CAAC,OAAO,CAAC,cAAc,CAAC,IAAI,CAAC,CAAC,CAAC;YAEhE,MAAM,EAAE,GAAG,CAAC,GAAG,WAAmC,EAAW,EAAE,CAC7D,KAAK,CAAC,IAAI,KAAK,WAAW,CAAC,MAAM;gBACjC,WAAW,CAAC,KAAK,CAAC,IAAI,CAAC,EAAE,CAAC,KAAK,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC,CAAC;YAE7C,UAAU;YACV,IAAI,EAAE,CAAC,SAAS,CAAC,IAAI,EAAE,CAAC,gBAAgB,CAAC,EAAE,CAAC;gBAC1C,yBAAyB;gBACzB,OAAO;YACT,CAAC;YAED,QAAQ;YACR,IAAI,EAAE,CAAC,OAAO,CAAC,EAAE,CAAC;gBAChB,uBAAuB;gBACvB,OAAO;YACT,CAAC;YAED,UAAU;YACV,IAAI,EAAE,CAAC,SAAS,CAAC,EAAE,CAAC;gBAClB,4BAA4B;gBAC5B,OAAO,CAAC,MAAM,CAAC,EAAE,IAAI,EAAE,SAAS,EAAE,uBAAuB,EAAE,CAAC,CAAC;gBAC7D,OAAO;YACT,CAAC;YAED,0FAA0F;YAC1F,IAAI,EAAE,CAAC,SAAS,EAAE,gBAAgB,CAAC,EAAE,CAAC;gBACpC,OAAO;YACT,CAAC;YAED,mBAAmB;YACnB,IAAI,EAAE,CAAC,SAAS,EAAE,SAAS,CAAC,EAAE,CAAC;gBAC7B,IAAI,CAAC,OAAO,CAAC,oBAAoB,EAAE,CAAC;oBAClC,IAAI,2BAA2B,CAAC,IAAI,CAAC,MAAM,CAAC,EAAE,CAAC;wBAC7C,wBAAwB;wBACxB,OAAO,CAAC,MAAM,CAAC;4BACb,IAAI;4BACJ,SAAS,EAAE,+BAA+B;4BAC1C,OAAO,EAAE;gCACP;oCACE,SAAS,EAAE,0BAA0B;oCACrC,GAAG,EAAE,IAAA,uBAAgB,EAAC;wCACpB,IAAI;wCACJ,UAAU,EAAE,OAAO,CAAC,UAAU;wCAC9B,IAAI,EAAE,IAAI,CAAC,EAAE,CAAC,GAAG,IAAI,WAAW;qCACjC,CAAC;iCACH;gCACD;oCACE,SAAS,EAAE,0BAA0B;oCACrC,GAAG,EAAE,IAAA,uBAAgB,EAAC;wCACpB,IAAI,EAAE,IAAI,CAAC,MAAM;wCACjB,SAAS,EAAE,IAAI;wCACf,UAAU,EAAE,OAAO,CAAC,UAAU;wCAC9B,IAAI,EAAE,IAAI,CAAC,EAAE,CAAC,GAAG,IAAI,YAAY;qCAClC,CAAC;iCACH;6BACF;yBACF,CAAC,CAAC;oBACL,CAAC;yBAAM,CAAC;wBACN,uBAAuB;wBACvB,OAAO,CAAC,MAAM,CAAC;4BACb,IAAI;4BACJ,SAAS,EAAE,+BAA+B;4BAC1C,OAAO,EAAE;gCACP;oCACE,SAAS,EAAE,0BAA0B;oCACrC,GAAG,EAAE,IAAA,uBAAgB,EAAC;wCACpB,IAAI;wCACJ,UAAU,EAAE,OAAO,CAAC,UAAU;wCAC9B,IAAI,EAAE,IAAI,CAAC,EAAE,CAAC,GAAG,IAAI,WAAW;qCACjC,CAAC;iCACH;gCACD;oCACE,SAAS,EAAE,yBAAyB;oCACpC,GAAG,EAAE,IAAA,uBAAgB,EAAC;wCACpB,IAAI;wCACJ,UAAU,EAAE,OAAO,CAAC,UAAU;wCAC9B,IAAI,EAAE,IAAI,CAAC,EAAE,CAAC,GAAG,IAAI,WAAW;qCACjC,CAAC;iCACH;6BACF;yBACF,CAAC,CAAC;oBACL,CAAC;gBACH,CAAC;gBACD,OAAO;YACT,CAAC;YAED,6FAA6F;YAC7F,IACE,CAAC,OAAO,CAAC,WAAW,IAAI,EAAE,CAAC,SAAS,EAAE,eAAe,CAAC,CAAC;gBACvD,CAAC,OAAO,CAAC,WAAW,IAAI,EAAE,CAAC,SAAS,EAAE,eAAe,CAAC,CAAC,EACvD,CAAC;gBACD,OAAO;YACT,CAAC;YAED,SAAS;YACT,IAAI,EAAE,CAAC,QAAQ,CAAC,IAAI,EAAE,CAAC,eAAe,CAAC,EAAE,CAAC;gBACxC,IAAI,CAAC,OAAO,CAAC,WAAW,EAAE,CAAC;oBACzB,IAAI,2BAA2B,CAAC,IAAI,CAAC,MAAM,CAAC,EAAE,CAAC;wBAC7C,eAAe;wBACf,OAAO,CAAC,MAAM,CAAC;4BACb,IAAI;4BACJ,SAAS,EAAE,sBAAsB;4BACjC,OAAO,EAAE;gCACP;oCACE,SAAS,EAAE,iCAAiC;oCAC5C,GAAG,EAAE,IAAA,uBAAgB,EAAC;wCACpB,IAAI,EAAE,IAAI,CAAC,MAAM;wCACjB,SAAS,EAAE,IAAI;wCACf,UAAU,EAAE,OAAO,CAAC,UAAU;wCAC9B,IAAI,EAAE,IAAI,CAAC,EAAE,CAAC,GAAG,IAAI,eAAe;qCACrC,CAAC;iCACH;gCACD;oCACE,SAAS,EAAE,gCAAgC;oCAC3C,GAAG,EAAE,IAAA,uBAAgB,EAAC;wCACpB,IAAI,EAAE,IAAI,CAAC,MAAM;wCACjB,SAAS,EAAE,IAAI;wCACf,UAAU,EAAE,OAAO,CAAC,UAAU;wCAC9B,IAAI,EAAE,IAAI,CAAC,EAAE,CAAC,GAAG,IAAI,SAAS;qCAC/B,CAAC;iCACH;gCACD;oCACE,SAAS,EAAE,yBAAyB;oCACpC,GAAG,EAAE,IAAA,uBAAgB,EAAC;wCACpB,IAAI,EAAE,IAAI,CAAC,MAAM;wCACjB,SAAS,EAAE,IAAI;wCACf,UAAU,EAAE,OAAO,CAAC,UAAU;wCAC9B,IAAI,EAAE,IAAI,CAAC,EAAE,CAAC,YAAY,IAAI,GAAG;qCAClC,CAAC;iCACH;6BACF;yBACF,CAAC,CAAC;oBACL,CAAC;yBAAM,CAAC;wBACN,cAAc;wBACd,OAAO,CAAC,MAAM,CAAC;4BACb,IAAI;4BACJ,SAAS,EAAE,sBAAsB;4BACjC,OAAO,EAAE;gCACP;oCACE,SAAS,EAAE,iCAAiC;oCAC5C,GAAG,EAAE,IAAA,uBAAgB,EAAC;wCACpB,IAAI;wCACJ,UAAU,EAAE,OAAO,CAAC,UAAU;wCAC9B,IAAI,EAAE,IAAI,CAAC,EAAE,CAAC,GAAG,IAAI,aAAa;qCACnC,CAAC;iCACH;gCACD;oCACE,SAAS,EAAE,gCAAgC;oCAC3C,GAAG,EAAE,IAAA,uBAAgB,EAAC;wCACpB,IAAI;wCACJ,UAAU,EAAE,OAAO,CAAC,UAAU;wCAC9B,IAAI,EAAE,IAAI,CAAC,EAAE,CAAC,GAAG,IAAI,SAAS;qCAC/B,CAAC;iCACH;gCACD;oCACE,SAAS,EAAE,yBAAyB;oCACpC,GAAG,EAAE,IAAA,uBAAgB,EAAC;wCACpB,IAAI;wCACJ,UAAU,EAAE,OAAO,CAAC,UAAU;wCAC9B,IAAI,EAAE,IAAI,CAAC,EAAE,CAAC,WAAW,IAAI,GAAG;qCACjC,CAAC;iCACH;6BACF;yBACF,CAAC,CAAC;oBACL,CAAC;gBACH,CAAC;gBACD,OAAO;YACT,CAAC;YAED,kBAAkB;YAClB,IAAI,EAAE,CAAC,SAAS,EAAE,QAAQ,CAAC,EAAE,CAAC;gBAC5B,IAAI,CAAC,OAAO,CAAC,mBAAmB,EAAE,CAAC;oBACjC,IAAI,2BAA2B,CAAC,IAAI,CAAC,MAAM,CAAC,EAAE,CAAC;wBAC7C,uBAAuB;wBACvB,OAAO,CAAC,MAAM,CAAC;4BACb,IAAI;4BACJ,SAAS,EAAE,8BAA8B;4BACzC,OAAO,EAAE;gCACP;oCACE,SAAS,EAAE,4BAA4B;oCACvC,GAAG,EAAE,IAAA,uBAAgB,EAAC;wCACpB,IAAI,EAAE,IAAI,CAAC,MAAM;wCACjB,SAAS,EAAE,IAAI;wCACf,UAAU,EAAE,OAAO,CAAC,UAAU;wCAC9B,IAAI,EAAE,IAAI,CAAC,EAAE,CAAC,GAAG,IAAI,UAAU;qCAChC,CAAC;iCACH;gCACD;oCACE,SAAS,EAAE,gCAAgC;oCAC3C,GAAG,EAAE,IAAA,uBAAgB,EAAC;wCACpB,IAAI;wCACJ,UAAU,EAAE,OAAO,CAAC,UAAU;wCAC9B,IAAI,EAAE,IAAI,CAAC,EAAE,CAAC,GAAG,IAAI,QAAQ;qCAC9B,CAAC;iCACH;gCACD;oCACE,SAAS,EAAE,yBAAyB;oCACpC,GAAG,EAAE,IAAA,uBAAgB,EAAC;wCACpB,IAAI,EAAE,IAAI,CAAC,MAAM;wCACjB,SAAS,EAAE,IAAI;wCACf,UAAU,EAAE,OAAO,CAAC,UAAU;wCAC9B,IAAI,EAAE,IAAI,CAAC,EAAE,CAAC,YAAY,IAAI,GAAG;qCAClC,CAAC;iCACH;6BACF;yBACF,CAAC,CAAC;oBACL,CAAC;yBAAM,CAAC;wBACN,sBAAsB;wBACtB,OAAO,CAAC,MAAM,CAAC;4BACb,IAAI;4BACJ,SAAS,EAAE,8BAA8B;4BACzC,OAAO,EAAE;gCACP;oCACE,SAAS,EAAE,4BAA4B;oCACvC,GAAG,EAAE,IAAA,uBAAgB,EAAC;wCACpB,IAAI;wCACJ,UAAU,EAAE,OAAO,CAAC,UAAU;wCAC9B,IAAI,EAAE,IAAI,CAAC,EAAE,CAAC,GAAG,IAAI,UAAU;qCAChC,CAAC;iCACH;gCACD;oCACE,SAAS,EAAE,gCAAgC;oCAC3C,GAAG,EAAE,IAAA,uBAAgB,EAAC;wCACpB,IAAI;wCACJ,UAAU,EAAE,OAAO,CAAC,UAAU;wCAC9B,IAAI,EAAE,IAAI,CAAC,EAAE,CAAC,GAAG,IAAI,QAAQ;qCAC9B,CAAC;iCACH;gCACD;oCACE,SAAS,EAAE,yBAAyB;oCACpC,GAAG,EAAE,IAAA,uBAAgB,EAAC;wCACpB,IAAI;wCACJ,UAAU,EAAE,OAAO,CAAC,UAAU;wCAC9B,IAAI,EAAE,IAAI,CAAC,EAAE,CAAC,WAAW,IAAI,GAAG;qCACjC,CAAC;iCACH;6BACF;yBACF,CAAC,CAAC;oBACL,CAAC;gBACH,CAAC;gBACD,OAAO;YACT,CAAC;YAED,SAAS;YACT,IAAI,EAAE,CAAC,QAAQ,CAAC,IAAI,EAAE,CAAC,eAAe,CAAC,EAAE,CAAC;gBACxC,IAAI,CAAC,OAAO,CAAC,WAAW,EAAE,CAAC;oBACzB,IAAI,uBAAuB,CAAC,IAAI,EAAE,OAAO,EAAE,QAAQ,CAAC,EAAE,CAAC;wBACrD,IAAI,2BAA2B,CAAC,IAAI,CAAC,MAAM,CAAC,EAAE,CAAC;4BAC7C,qBAAqB;4BACrB,OAAO,CAAC,MAAM,CAAC;gCACb,IAAI;gCACJ,SAAS,EAAE,sBAAsB;gCACjC,GAAG,EAAE,IAAA,uBAAgB,EAAC;oCACpB,IAAI,EAAE,IAAI,CAAC,MAAM;oCACjB,SAAS,EAAE,IAAI;oCACf,UAAU,EAAE,OAAO,CAAC,UAAU;oCAC9B,IAAI,EAAE,IAAI,CAAC,EAAE,CAAC,GAAG,IAAI,QAAQ;iCAC9B,CAAC;6BACH,CAAC,CAAC;wBACL,CAAC;6BAAM,CAAC;4BACN,oBAAoB;4BACpB,OAAO,CAAC,MAAM,CAAC;gCACb,IAAI;gCACJ,SAAS,EAAE,sBAAsB;gCACjC,GAAG,EAAE,IAAA,uBAAgB,EAAC;oCACpB,IAAI;oCACJ,UAAU,EAAE,OAAO,CAAC,UAAU;oCAC9B,IAAI,EAAE,IAAI,CAAC,EAAE,CAAC,GAAG,IAAI,MAAM;iCAC5B,CAAC;6BACH,CAAC,CAAC;wBACL,CAAC;oBACH,CAAC;yBAAM,IAAI,2BAA2B,CAAC,IAAI,CAAC,MAAM,CAAC,EAAE,CAAC;wBACpD,eAAe;wBACf,OAAO,CAAC,MAAM,CAAC;4BACb,IAAI;4BACJ,SAAS,EAAE,sBAAsB;4BACjC,OAAO,EAAE;gCACP;oCACE,SAAS,EAAE,yBAAyB;oCACpC,GAAG,EAAE,IAAA,uBAAgB,EAAC;wCACpB,IAAI,EAAE,IAAI,CAAC,MAAM;wCACjB,SAAS,EAAE,IAAI;wCACf,UAAU,EAAE,OAAO,CAAC,UAAU;wCAC9B,uDAAuD;wCACvD,IAAI,EAAE,IAAI,CAAC,EAAE,CAAC,GAAG,IAAI,QAAQ;qCAC9B,CAAC;iCACH;gCACD;oCACE,8DAA8D;oCAC9D,SAAS,EAAE,wBAAwB;oCACnC,GAAG,EAAE,IAAA,uBAAgB,EAAC;wCACpB,IAAI,EAAE,IAAI,CAAC,MAAM;wCACjB,SAAS,EAAE,IAAI;wCACf,UAAU,EAAE,OAAO,CAAC,UAAU;wCAC9B,IAAI,EAAE,IAAI,CAAC,EAAE,CAAC,gBAAgB,IAAI,GAAG;qCACtC,CAAC;iCACH;gCACD;oCACE,SAAS,EAAE,yBAAyB;oCACpC,GAAG,EAAE,IAAA,uBAAgB,EAAC;wCACpB,IAAI,EAAE,IAAI,CAAC,MAAM;wCACjB,SAAS,EAAE,IAAI;wCACf,UAAU,EAAE,OAAO,CAAC,UAAU;wCAC9B,IAAI,EAAE,IAAI,CAAC,EAAE,CAAC,YAAY,IAAI,GAAG;qCAClC,CAAC;iCACH;6BACF;yBACF,CAAC,CAAC;oBACL,CAAC;yBAAM,CAAC;wBACN,cAAc;wBACd,OAAO,CAAC,MAAM,CAAC;4BACb,IAAI;4BACJ,SAAS,EAAE,sBAAsB;4BACjC,OAAO,EAAE;gCACP;oCACE,SAAS,EAAE,yBAAyB;oCACpC,GAAG,EAAE,IAAA,uBAAgB,EAAC;wCACpB,IAAI;wCACJ,UAAU,EAAE,OAAO,CAAC,UAAU;wCAC9B,IAAI,EAAE,IAAI,CAAC,EAAE,CAAC,GAAG,IAAI,QAAQ;qCAC9B,CAAC;iCACH;gCACD;oCACE,SAAS,EAAE,wBAAwB;oCACnC,GAAG,EAAE,IAAA,uBAAgB,EAAC;wCACpB,IAAI;wCACJ,UAAU,EAAE,OAAO,CAAC,UAAU;wCAC9B,IAAI,EAAE,IAAI,CAAC,EAAE,CAAC,iBAAiB,IAAI,GAAG;qCACvC,CAAC;iCACH;gCACD;oCACE,SAAS,EAAE,yBAAyB;oCACpC,GAAG,EAAE,IAAA,uBAAgB,EAAC;wCACpB,IAAI;wCACJ,UAAU,EAAE,OAAO,CAAC,UAAU;wCAC9B,IAAI,EAAE,IAAI,CAAC,EAAE,CAAC,WAAW,IAAI,GAAG;qCACjC,CAAC;iCACH;6BACF;yBACF,CAAC,CAAC;oBACL,CAAC;gBACH,CAAC;gBACD,OAAO;YACT,CAAC;YAED,kBAAkB;YAClB,IAAI,EAAE,CAAC,SAAS,EAAE,QAAQ,CAAC,EAAE,CAAC;gBAC5B,IAAI,CAAC,OAAO,CAAC,mBAAmB,EAAE,CAAC;oBACjC,IAAI,2BAA2B,CAAC,IAAI,CAAC,MAAM,CAAC,EAAE,CAAC;wBAC7C,uBAAuB;wBACvB,OAAO,CAAC,MAAM,CAAC;4BACb,IAAI;4BACJ,SAAS,EAAE,8BAA8B;4BACzC,OAAO,EAAE;gCACP;oCACE,SAAS,EAAE,4BAA4B;oCACvC,GAAG,EAAE,IAAA,uBAAgB,EAAC;wCACpB,IAAI,EAAE,IAAI,CAAC,MAAM;wCACjB,SAAS,EAAE,IAAI;wCACf,UAAU,EAAE,OAAO,CAAC,UAAU;wCAC9B,IAAI,EAAE,IAAI,CAAC,EAAE,CAAC,GAAG,IAAI,UAAU;qCAChC,CAAC;iCACH;gCACD;oCACE,SAAS,EAAE,yBAAyB;oCACpC,GAAG,EAAE,IAAA,uBAAgB,EAAC;wCACpB,IAAI;wCACJ,UAAU,EAAE,OAAO,CAAC,UAAU;wCAC9B,IAAI,EAAE,IAAI,CAAC,EAAE,CAAC,GAAG,IAAI,OAAO;qCAC7B,CAAC;iCACH;gCACD;oCACE,SAAS,EAAE,yBAAyB;oCACpC,GAAG,EAAE,IAAA,uBAAgB,EAAC;wCACpB,IAAI,EAAE,IAAI,CAAC,MAAM;wCACjB,SAAS,EAAE,IAAI;wCACf,UAAU,EAAE,OAAO,CAAC,UAAU;wCAC9B,IAAI,EAAE,IAAI,CAAC,EAAE,CAAC,YAAY,IAAI,GAAG;qCAClC,CAAC;iCACH;6BACF;yBACF,CAAC,CAAC;oBACL,CAAC;yBAAM,CAAC;wBACN,sBAAsB;wBACtB,OAAO,CAAC,MAAM,CAAC;4BACb,IAAI;4BACJ,SAAS,EAAE,8BAA8B;4BACzC,OAAO,EAAE;gCACP;oCACE,SAAS,EAAE,4BAA4B;oCACvC,GAAG,EAAE,IAAA,uBAAgB,EAAC;wCACpB,IAAI;wCACJ,UAAU,EAAE,OAAO,CAAC,UAAU;wCAC9B,IAAI,EAAE,IAAI,CAAC,EAAE,CAAC,GAAG,IAAI,UAAU;qCAChC,CAAC;iCACH;gCACD;oCACE,SAAS,EAAE,yBAAyB;oCACpC,GAAG,EAAE,IAAA,uBAAgB,EAAC;wCACpB,IAAI;wCACJ,UAAU,EAAE,OAAO,CAAC,UAAU;wCAC9B,IAAI,EAAE,IAAI,CAAC,EAAE,CAAC,GAAG,IAAI,OAAO;qCAC7B,CAAC;iCACH;gCACD;oCACE,SAAS,EAAE,yBAAyB;oCACpC,GAAG,EAAE,IAAA,uBAAgB,EAAC;wCACpB,IAAI;wCACJ,UAAU,EAAE,OAAO,CAAC,UAAU;wCAC9B,IAAI,EAAE,IAAI,CAAC,EAAE,CAAC,WAAW,IAAI,GAAG;qCACjC,CAAC;iCACH;6BACF;yBACF,CAAC,CAAC;oBACL,CAAC;gBACH,CAAC;gBACD,OAAO;YACT,CAAC;YAED,SAAS;YACT,IAAI,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;gBACjB,2BAA2B;gBAC3B,OAAO,CAAC,MAAM,CAAC,EAAE,IAAI,EAAE,SAAS,EAAE,sBAAsB,EAAE,CAAC,CAAC;gBAC5D,OAAO;YACT,CAAC;YAED,kBAAkB;YAClB,IAAI,EAAE,CAAC,SAAS,EAAE,QAAQ,CAAC,EAAE,CAAC;gBAC5B,IAAI,CAAC,OAAO,CAAC,mBAAmB,EAAE,CAAC;oBACjC,IAAI,2BAA2B,CAAC,IAAI,CAAC,MAAM,CAAC,EAAE,CAAC;wBAC7C,uBAAuB;wBACvB,OAAO,CAAC,MAAM,CAAC;4BACb,IAAI;4BACJ,SAAS,EAAE,8BAA8B;4BACzC,OAAO,EAAE;gCACP;oCACE,SAAS,EAAE,4BAA4B;oCACvC,GAAG,EAAE,IAAA,uBAAgB,EAAC;wCACpB,IAAI,EAAE,IAAI,CAAC,MAAM;wCACjB,SAAS,EAAE,IAAI;wCACf,UAAU,EAAE,OAAO,CAAC,UAAU;wCAC9B,IAAI,EAAE,IAAI,CAAC,EAAE,CAAC,GAAG,IAAI,UAAU;qCAChC,CAAC;iCACH;6BACF;yBACF,CAAC,CAAC;oBACL,CAAC;yBAAM,CAAC;wBACN,sBAAsB;wBACtB,OAAO,CAAC,MAAM,CAAC;4BACb,IAAI;4BACJ,SAAS,EAAE,8BAA8B;4BACzC,OAAO,EAAE;gCACP;oCACE,SAAS,EAAE,4BAA4B;oCACvC,GAAG,EAAE,IAAA,uBAAgB,EAAC;wCACpB,IAAI;wCACJ,UAAU,EAAE,OAAO,CAAC,UAAU;wCAC9B,IAAI,EAAE,IAAI,CAAC,EAAE,CAAC,GAAG,IAAI,UAAU;qCAChC,CAAC;iCACH;6BACF;yBACF,CAAC,CAAC;oBACL,CAAC;gBACH,CAAC;gBACD,OAAO;YACT,CAAC;YAED,gBAAgB;YAChB,IACE,EAAE,CAAC,SAAS,EAAE,QAAQ,EAAE,MAAM,CAAC;gBAC/B,EAAE,CAAC,SAAS,EAAE,QAAQ,EAAE,MAAM,CAAC;gBAC/B,EAAE,CAAC,SAAS,EAAE,eAAe,EAAE,MAAM,CAAC;gBACtC,EAAE,CAAC,SAAS,EAAE,eAAe,EAAE,MAAM,CAAC;gBACtC,cAAc;gBACd,EAAE,CAAC,SAAS,EAAE,eAAe,EAAE,eAAe,EAAE,MAAM,CAAC;gBACvD,EAAE,CAAC,SAAS,EAAE,eAAe,EAAE,QAAQ,EAAE,MAAM,CAAC;gBAChD,EAAE,CAAC,SAAS,EAAE,eAAe,EAAE,QAAQ,EAAE,MAAM,CAAC;gBAChD,EAAE,CAAC,SAAS,EAAE,QAAQ,EAAE,QAAQ,EAAE,MAAM,CAAC,EACzC,CAAC;gBACD,IAAI,CAAC,OAAO,CAAC,iBAAiB,EAAE,CAAC;oBAC/B,IAAI,2BAA2B,CAAC,IAAI,CAAC,MAAM,CAAC,EAAE,CAAC;wBAC7C,OAAO,CAAC,MAAM,CAAC;4BACb,IAAI;4BACJ,SAAS,EAAE,4BAA4B;4BACvC,GAAG,EAAE,IAAA,uBAAgB,EAAC;gCACpB,IAAI,EAAE,IAAI,CAAC,MAAM;gCACjB,SAAS,EAAE,IAAI;gCACf,UAAU,EAAE,OAAO,CAAC,UAAU;gCAC9B,IAAI,EAAE,IAAI,CAAC,EAAE,CAAC,GAAG,IAAI,UAAU;6BAChC,CAAC;yBACH,CAAC,CAAC;oBACL,CAAC;yBAAM,CAAC;wBACN,OAAO,CAAC,MAAM,CAAC;4BACb,IAAI;4BACJ,SAAS,EAAE,4BAA4B;4BACvC,GAAG,EAAE,IAAA,uBAAgB,EAAC;gCACpB,IAAI;gCACJ,UAAU,EAAE,OAAO,CAAC,UAAU;gCAC9B,IAAI,EAAE,IAAI,CAAC,EAAE,CAAC,GAAG,IAAI,UAAU;6BAChC,CAAC;yBACH,CAAC,CAAC;oBACL,CAAC;gBACH,CAAC;gBACD,OAAO;YACT,CAAC;YAED,MAAM;YACN,IAAI,EAAE,CAAC,KAAK,CAAC,EAAE,CAAC;gBACd,IAAI,CAAC,OAAO,CAAC,QAAQ,EAAE,CAAC;oBACtB,OAAO,CAAC,MAAM,CAAC;wBACb,IAAI;wBACJ,SAAS,EAAE,mBAAmB;wBAC9B,OAAO,EAAE;4BACP;gCACE,SAAS,EAAE,yBAAyB;gCACpC,GAAG,EAAE,IAAA,uBAAgB,EAAC;oCACpB,IAAI;oCACJ,UAAU,EAAE,OAAO,CAAC,UAAU;oCAC9B,IAAI,EAAE,IAAI,CAAC,EAAE,CAAC,WAAW,IAAI,GAAG;iCACjC,CAAC;6BACH;yBACF;qBACF,CAAC,CAAC;gBACL,CAAC;gBACD,OAAO;YACT,CAAC;YAED,QAAQ;YACR,OAAO,CAAC,MAAM,CAAC,EAAE,IAAI,EAAE,SAAS,EAAE,qBAAqB,EAAE,CAAC,CAAC;QAC7D,CAAC;QAgBD;;WAEG;QACH,SAAS,mBAAmB,CAAC,KAAgB;YAC3C,MAAM,YAAY,GAAG,IAAI,GAAG,EAAe,CAAC;YAE5C,IACE,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,EAAE,CAChB,OAAO,CAAC,aAAa,CACnB,IAAI,EACJ,EAAE,CAAC,SAAS,CAAC,IAAI,GAAG,EAAE,CAAC,SAAS,CAAC,SAAS,GAAG,EAAE,CAAC,SAAS,CAAC,QAAQ,CACnE,CACF,EACD,CAAC;gBACD,YAAY,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;YAC9B,CAAC;YACD,MAAM,QAAQ,GAAG,KAAK,CAAC,MAAM,CAAC,IAAI,CAAC,EAAE,CACnC,OAAO,CAAC,aAAa,CAAC,IAAI,EAAE,EAAE,CAAC,SAAS,CAAC,WAAW,CAAC,CACtD,CAAC;YAEF,uEAAuE;YACvE,4CAA4C;YAC5C,mEAAmE;YACnE,qFAAqF;YACrF,IAAI,QAAQ,CAAC,MAAM,KAAK,CAAC,EAAE,CAAC;gBAC1B,YAAY,CAAC,GAAG,CACd,OAAO,CAAC,iBAAiB,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,gBAAgB,CAAC,CAAC,CAAC,SAAS,CACtE,CAAC;YACJ,CAAC;iBAAM,IAAI,QAAQ,CAAC,MAAM,KAAK,CAAC,EAAE,CAAC;gBACjC,YAAY,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;YAC9B,CAAC;YAED,MAAM,OAAO,GAAG,KAAK,CAAC,MAAM,CAAC,IAAI,CAAC,EAAE,CAClC,OAAO,CAAC,aAAa,CAAC,IAAI,EAAE,EAAE,CAAC,SAAS,CAAC,UAAU,CAAC,CACrD,CAAC;YAEF,IAAI,OAAO,CAAC,MAAM,EAAE,CAAC;gBACnB,IACE,OAAO,CAAC,KAAK,CAAC,IAAI,CAAC,EAAE,CAAC,IAAI,CAAC,eAAe,EAAE,IAAI,IAAI,CAAC,KAAK,KAAK,EAAE,CAAC,EAClE,CAAC;oBACD,YAAY,CAAC,GAAG,CAAC,eAAe,CAAC,CAAC;gBACpC,CAAC;qBAAM,CAAC;oBACN,YAAY,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAC;gBAC7B,CAAC;YACH,CAAC;YAED,MAAM,OAAO,GAAG,KAAK,CAAC,MAAM,CAAC,IAAI,CAAC,EAAE,CAClC,OAAO,CAAC,aAAa,CACnB,IAAI,EACJ,EAAE,CAAC,SAAS,CAAC,UAAU,GAAG,EAAE,CAAC,SAAS,CAAC,UAAU,CAClD,CACF,CAAC;YAEF,IAAI,OAAO,CAAC,MAAM,EAAE,CAAC;gBACnB,IAAI,OAAO,CAAC,KAAK,CAAC,IAAI,CAAC,EAAE,CAAC,IAAI,CAAC,eAAe,EAAE,IAAI,IAAI,CAAC,KAAK,KAAK,CAAC,CAAC,EAAE,CAAC;oBACtE,YAAY,CAAC,GAAG,CAAC,eAAe,CAAC,CAAC;gBACpC,CAAC;qBAAM,CAAC;oBACN,YAAY,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAC;gBAC7B,CAAC;YACH,CAAC;YAED,IACE,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,EAAE,CAAC,OAAO,CAAC,aAAa,CAAC,IAAI,EAAE,EAAE,CAAC,SAAS,CAAC,QAAQ,CAAC,CAAC,EACtE,CAAC;gBACD,YAAY,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;YAC3B,CAAC;YAED,IACE,KAAK,CAAC,IAAI,CACR,IAAI,CAAC,EAAE,CACL,CAAC,OAAO,CAAC,aAAa,CACpB,IAAI,EACJ,EAAE,CAAC,SAAS,CAAC,IAAI;gBACf,EAAE,CAAC,SAAS,CAAC,SAAS;gBACtB,EAAE,CAAC,SAAS,CAAC,QAAQ;gBACrB,EAAE,CAAC,SAAS,CAAC,WAAW;gBACxB,EAAE,CAAC,SAAS,CAAC,UAAU;gBACvB,EAAE,CAAC,SAAS,CAAC,UAAU;gBACvB,EAAE,CAAC,SAAS,CAAC,UAAU;gBACvB,EAAE,CAAC,SAAS,CAAC,aAAa;gBAC1B,EAAE,CAAC,SAAS,CAAC,GAAG;gBAChB,EAAE,CAAC,SAAS,CAAC,OAAO;gBACpB,EAAE,CAAC,SAAS,CAAC,KAAK,CACrB,CACJ,EACD,CAAC;gBACD,YAAY,CAAC,GAAG,CAAC,KAAK,CAAC,IAAI,CAAC,gBAAgB,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC;YACxE,CAAC;YAED,IACE,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,EAAE,CAChB,OAAO,CAAC,aAAa,CACnB,IAAI,EACJ,EAAE,CAAC,SAAS,CAAC,aAAa;gBACxB,EAAE,CAAC,SAAS,CAAC,GAAG;gBAChB,EAAE,CAAC,SAAS,CAAC,OAAO,CACvB,CACF,EACD,CAAC;gBACD,YAAY,CAAC,GAAG,CAAC,KAAK,CAAC,CAAC;YAC1B,CAAC;YAED,IAAI,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,EAAE,CAAC,OAAO,CAAC,aAAa,CAAC,IAAI,EAAE,EAAE,CAAC,SAAS,CAAC,KAAK,CAAC,CAAC,EAAE,CAAC;gBACxE,YAAY,CAAC,GAAG,CAAC,OAAO,CAAC,CAAC;YAC5B,CAAC;YAED,OAAO,YAAY,CAAC;QACtB,CAAC;IACH,CAAC;CACF,CAAC,CAAC;AAEH,SAAS,2BAA2B,CAClC,IAAmB;IAEnB,OAAO,IAAI,CAAC,IAAI,KAAK,sBAAc,CAAC,eAAe,IAAI,IAAI,CAAC,QAAQ,KAAK,GAAG,CAAC;AAC/E,CAAC;AAED,SAAS,uBAAuB,CAC9B,IAAmB,EACnB,WAA2B,EAC3B,QAA2C;IAE3C,IAAI,IAAI,CAAC,IAAI,KAAK,sBAAc,CAAC,gBAAgB,EAAE,CAAC;QAClD,OAAO,KAAK,CAAC;IACf,CAAC;IACD,IAAI,IAAI,CAAC,QAAQ,EAAE,CAAC;QAClB,OAAO,KAAK,CAAC;IACf,CAAC;IACD,IAAI,IAAI,CAAC,QAAQ,CAAC,IAAI,KAAK,QAAQ,EAAE,CAAC;QACpC,OAAO,KAAK,CAAC;IACf,CAAC;IACD,MAAM,UAAU,GAAG,IAAA,mCAA4B,EAAC,QAAQ,EAAE,IAAI,CAAC,MAAM,CAAC,CAAC;IACvE,OAAO,IAAA,yCAAkC,EAAC,UAAU,EAAE,WAAW,CAAC,CAAC;AACrE,CAAC;AAED;;;;GAIG;AACH,SAAS,gBAAgB,CAAC,IAAa;IACrC,OAAO,CACL,IAAI,CAAC,cAAc,EAAE;QACrB,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,SAAS,CAAC,EAAE,CAC1B,OAAO,CAAC,aAAa,CACnB,SAAS,EACT,EAAE,CAAC,SAAS,CAAC,cAAc,GAAG,EAAE,CAAC,SAAS,CAAC,OAAO,CACnD,CACF,CACF,CAAC;AACJ,CAAC"} \ No newline at end of file +{"version":3,"file":"strict-boolean-expressions.js","sourceRoot":"","sources":["../../src/rules/strict-boolean-expressions.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAKA,oDAA0D;AAC1D,sDAAwC;AACxC,+CAAiC;AAEjC,kCAMiB;AACjB,2EAAgF;AAyChF,kBAAe,IAAA,iBAAU,EAAqB;IAC5C,IAAI,EAAE,4BAA4B;IAClC,IAAI,EAAE;QACJ,IAAI,EAAE,YAAY;QAClB,IAAI,EAAE;YACJ,WAAW,EAAE,+CAA+C;YAC5D,oBAAoB,EAAE,IAAI;SAC3B;QACD,OAAO,EAAE,MAAM;QACf,cAAc,EAAE,IAAI;QACpB,QAAQ,EAAE;YACR,iBAAiB,EACf,uCAAuC;gBACvC,kDAAkD;YACpD,6BAA6B,EAC3B,oDAAoD;gBACpD,4CAA4C;YAC9C,0BAA0B,EACxB,iDAAiD;gBACjD,sDAAsD;YACxD,4BAA4B,EAC1B,mDAAmD;gBACnD,sDAAsD;YACxD,4BAA4B,EAC1B,mDAAmD;gBACnD,qCAAqC;YACvC,4BAA4B,EAC1B,mDAAmD;gBACnD,mDAAmD;YACrD,qBAAqB,EACnB,2CAA2C;gBAC3C,gCAAgC;YAClC,oBAAoB,EAClB,0CAA0C;gBAC1C,yCAAyC;YAC3C,oBAAoB,EAClB,0CAA0C;gBAC1C,+BAA+B;YACjC,mBAAmB,EACjB,mCAAmC;gBACnC,mCAAmC;YACrC,oBAAoB,EAClB,0CAA0C;gBAC1C,6CAA6C;YAC/C,uBAAuB,EACrB,uDAAuD;YAEzD,8BAA8B,EAC5B,6DAA6D;YAC/D,wBAAwB,EACtB,wDAAwD;YAC1D,sBAAsB,EACpB,4DAA4D;YAC9D,0BAA0B,EACxB,gEAAgE;YAClE,+BAA+B,EAC7B,kEAAkE;YACpE,uBAAuB,EACrB,sDAAsD;YACxD,uBAAuB,EACrB,iDAAiD;YACnD,8BAA8B,EAC5B,4EAA4E;YAC9E,wBAAwB,EACtB,qEAAqE;YACvE,uBAAuB,EACrB,6DAA6D;YAC/D,iBAAiB,EACf,kGAAkG;SACrG;QACD,MAAM,EAAE;YACN;gBACE,IAAI,EAAE,QAAQ;gBACd,oBAAoB,EAAE,KAAK;gBAC3B,UAAU,EAAE;oBACV,QAAQ,EAAE;wBACR,IAAI,EAAE,SAAS;wBACf,WAAW,EAAE,+CAA+C;qBAC7D;oBACD,oBAAoB,EAAE;wBACpB,IAAI,EAAE,SAAS;wBACf,WAAW,EACT,4DAA4D;qBAC/D;oBACD,iBAAiB,EAAE;wBACjB,IAAI,EAAE,SAAS;wBACf,WAAW,EACT,yDAAyD;qBAC5D;oBACD,mBAAmB,EAAE;wBACnB,IAAI,EAAE,SAAS;wBACf,WAAW,EACT,2DAA2D;qBAC9D;oBACD,mBAAmB,EAAE;wBACnB,IAAI,EAAE,SAAS;wBACf,WAAW,EACT,qFAAqF;qBACxF;oBACD,mBAAmB,EAAE;wBACnB,IAAI,EAAE,SAAS;wBACf,WAAW,EACT,2DAA2D;qBAC9D;oBACD,WAAW,EAAE;wBACX,IAAI,EAAE,SAAS;wBACf,WAAW,EAAE,kDAAkD;qBAChE;oBACD,sDAAsD,EAAE;wBACtD,IAAI,EAAE,SAAS;wBACf,WAAW,EACT,2KAA2K;qBAC9K;oBACD,WAAW,EAAE;wBACX,IAAI,EAAE,SAAS;wBACf,WAAW,EAAE,kDAAkD;qBAChE;iBACF;aACF;SACF;KACF;IACD,cAAc,EAAE;QACd;YACE,QAAQ,EAAE,KAAK;YACf,oBAAoB,EAAE,KAAK;YAC3B,iBAAiB,EAAE,KAAK;YACxB,mBAAmB,EAAE,KAAK;YAC1B,mBAAmB,EAAE,IAAI;YACzB,mBAAmB,EAAE,KAAK;YAC1B,WAAW,EAAE,IAAI;YACjB,sDAAsD,EAAE,KAAK;YAC7D,WAAW,EAAE,IAAI;SAClB;KACF;IACD,MAAM,CAAC,OAAO,EAAE,CAAC,OAAO,CAAC;QACvB,MAAM,QAAQ,GAAG,IAAA,wBAAiB,EAAC,OAAO,CAAC,CAAC;QAC5C,MAAM,OAAO,GAAG,QAAQ,CAAC,OAAO,CAAC,cAAc,EAAE,CAAC;QAClD,MAAM,eAAe,GAAG,QAAQ,CAAC,OAAO,CAAC,kBAAkB,EAAE,CAAC;QAE9D,MAAM,kBAAkB,GAAG,OAAO,CAAC,6BAA6B,CAC9D,eAAe,EACf,kBAAkB,CACnB,CAAC;QAEF,IACE,CAAC,kBAAkB;YACnB,OAAO,CAAC,sDAAsD,KAAK,IAAI,EACvE,CAAC;YACD,OAAO,CAAC,MAAM,CAAC;gBACb,GAAG,EAAE;oBACH,KAAK,EAAE,EAAE,MAAM,EAAE,CAAC,EAAE,IAAI,EAAE,CAAC,EAAE;oBAC7B,GAAG,EAAE,EAAE,MAAM,EAAE,CAAC,EAAE,IAAI,EAAE,CAAC,EAAE;iBAC5B;gBACD,SAAS,EAAE,mBAAmB;aAC/B,CAAC,CAAC;QACL,CAAC;QAED,MAAM,cAAc,GAAG,IAAI,GAAG,EAAiB,CAAC;QAEhD,OAAO;YACL,cAAc,EAAE,sBAAsB;YACtC,qBAAqB,EAAE,sBAAsB;YAC7C,gBAAgB,EAAE,sBAAsB;YACxC,YAAY,EAAE,sBAAsB;YACpC,WAAW,EAAE,sBAAsB;YACnC,mCAAmC,EAAE,yBAAyB;YAC9D,+BAA+B,EAAE,8BAA8B;YAC/D,cAAc,EAAE,sBAAsB;SACvC,CAAC;QASF;;WAEG;QACH,SAAS,sBAAsB,CAAC,IAAoB;YAClD,IAAI,IAAI,CAAC,IAAI,IAAI,IAAI,EAAE,CAAC;gBACtB,OAAO;YACT,CAAC;YACD,YAAY,CAAC,IAAI,CAAC,IAAI,EAAE,IAAI,CAAC,CAAC;QAChC,CAAC;QAED;;WAEG;QACH,SAAS,8BAA8B,CACrC,IAA8B;YAE9B,YAAY,CAAC,IAAI,CAAC,QAAQ,EAAE,IAAI,CAAC,CAAC;QACpC,CAAC;QAED;;;;;;;WAOG;QACH,SAAS,yBAAyB,CAChC,IAAgC,EAChC,WAAW,GAAG,KAAK;YAEnB,iDAAiD;YACjD,YAAY,CAAC,IAAI,CAAC,IAAI,EAAE,IAAI,CAAC,CAAC;YAC9B,sDAAsD;YACtD,4DAA4D;YAC5D,YAAY,CAAC,IAAI,CAAC,KAAK,EAAE,WAAW,CAAC,CAAC;QACxC,CAAC;QAED,SAAS,sBAAsB,CAAC,IAA6B;YAC3D,MAAM,gBAAgB,GAAG,IAAA,uDAA8B,EAAC,QAAQ,EAAE,IAAI,CAAC,CAAC;YACxE,IAAI,gBAAgB,IAAI,IAAI,EAAE,CAAC;gBAC7B,YAAY,CAAC,gBAAgB,EAAE,IAAI,CAAC,CAAC;YACvC,CAAC;QACH,CAAC;QAED;;;;;;;WAOG;QACH,SAAS,YAAY,CACnB,IAAyB,EACzB,WAAoB;YAEpB,gDAAgD;YAChD,IAAI,cAAc,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE,CAAC;gBAC7B,OAAO;YACT,CAAC;YACD,cAAc,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC;YAEzB,8CAA8C;YAC9C,IACE,IAAI,CAAC,IAAI,KAAK,sBAAc,CAAC,iBAAiB;gBAC9C,IAAI,CAAC,QAAQ,KAAK,IAAI,EACtB,CAAC;gBACD,yBAAyB,CAAC,IAAI,EAAE,WAAW,CAAC,CAAC;gBAC7C,OAAO;YACT,CAAC;YAED,kCAAkC;YAClC,IAAI,CAAC,WAAW,EAAE,CAAC;gBACjB,OAAO;YACT,CAAC;YAED,SAAS,CAAC,IAAI,CAAC,CAAC;QAClB,CAAC;QAED;;;WAGG;QACH,SAAS,SAAS,CAAC,IAAyB;YAC1C,MAAM,IAAI,GAAG,IAAA,mCAA4B,EAAC,QAAQ,EAAE,IAAI,CAAC,CAAC;YAC1D,MAAM,KAAK,GAAG,mBAAmB,CAAC,OAAO,CAAC,cAAc,CAAC,IAAI,CAAC,CAAC,CAAC;YAEhE,MAAM,EAAE,GAAG,CAAC,GAAG,WAAmC,EAAW,EAAE,CAC7D,KAAK,CAAC,IAAI,KAAK,WAAW,CAAC,MAAM;gBACjC,WAAW,CAAC,KAAK,CAAC,IAAI,CAAC,EAAE,CAAC,KAAK,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC,CAAC;YAE7C,UAAU;YACV,IAAI,EAAE,CAAC,SAAS,CAAC,IAAI,EAAE,CAAC,gBAAgB,CAAC,EAAE,CAAC;gBAC1C,yBAAyB;gBACzB,OAAO;YACT,CAAC;YAED,QAAQ;YACR,IAAI,EAAE,CAAC,OAAO,CAAC,EAAE,CAAC;gBAChB,uBAAuB;gBACvB,OAAO;YACT,CAAC;YAED,UAAU;YACV,IAAI,EAAE,CAAC,SAAS,CAAC,EAAE,CAAC;gBAClB,4BAA4B;gBAC5B,OAAO,CAAC,MAAM,CAAC,EAAE,IAAI,EAAE,SAAS,EAAE,uBAAuB,EAAE,CAAC,CAAC;gBAC7D,OAAO;YACT,CAAC;YAED,0FAA0F;YAC1F,IAAI,EAAE,CAAC,SAAS,EAAE,gBAAgB,CAAC,EAAE,CAAC;gBACpC,OAAO;YACT,CAAC;YAED,mBAAmB;YACnB,IAAI,EAAE,CAAC,SAAS,EAAE,SAAS,CAAC,EAAE,CAAC;gBAC7B,IAAI,CAAC,OAAO,CAAC,oBAAoB,EAAE,CAAC;oBAClC,IAAI,2BAA2B,CAAC,IAAI,CAAC,MAAM,CAAC,EAAE,CAAC;wBAC7C,wBAAwB;wBACxB,OAAO,CAAC,MAAM,CAAC;4BACb,IAAI;4BACJ,SAAS,EAAE,+BAA+B;4BAC1C,OAAO,EAAE;gCACP;oCACE,SAAS,EAAE,0BAA0B;oCACrC,GAAG,EAAE,IAAA,uBAAgB,EAAC;wCACpB,IAAI;wCACJ,UAAU,EAAE,OAAO,CAAC,UAAU;wCAC9B,IAAI,EAAE,IAAI,CAAC,EAAE,CAAC,GAAG,IAAI,WAAW;qCACjC,CAAC;iCACH;gCACD;oCACE,SAAS,EAAE,0BAA0B;oCACrC,GAAG,EAAE,IAAA,uBAAgB,EAAC;wCACpB,IAAI,EAAE,IAAI,CAAC,MAAM;wCACjB,SAAS,EAAE,IAAI;wCACf,UAAU,EAAE,OAAO,CAAC,UAAU;wCAC9B,IAAI,EAAE,IAAI,CAAC,EAAE,CAAC,GAAG,IAAI,YAAY;qCAClC,CAAC;iCACH;6BACF;yBACF,CAAC,CAAC;oBACL,CAAC;yBAAM,CAAC;wBACN,uBAAuB;wBACvB,OAAO,CAAC,MAAM,CAAC;4BACb,IAAI;4BACJ,SAAS,EAAE,+BAA+B;4BAC1C,OAAO,EAAE;gCACP;oCACE,SAAS,EAAE,0BAA0B;oCACrC,GAAG,EAAE,IAAA,uBAAgB,EAAC;wCACpB,IAAI;wCACJ,UAAU,EAAE,OAAO,CAAC,UAAU;wCAC9B,IAAI,EAAE,IAAI,CAAC,EAAE,CAAC,GAAG,IAAI,WAAW;qCACjC,CAAC;iCACH;gCACD;oCACE,SAAS,EAAE,yBAAyB;oCACpC,GAAG,EAAE,IAAA,uBAAgB,EAAC;wCACpB,IAAI;wCACJ,UAAU,EAAE,OAAO,CAAC,UAAU;wCAC9B,IAAI,EAAE,IAAI,CAAC,EAAE,CAAC,GAAG,IAAI,WAAW;qCACjC,CAAC;iCACH;6BACF;yBACF,CAAC,CAAC;oBACL,CAAC;gBACH,CAAC;gBACD,OAAO;YACT,CAAC;YAED,6FAA6F;YAC7F,IACE,CAAC,OAAO,CAAC,WAAW,IAAI,EAAE,CAAC,SAAS,EAAE,eAAe,CAAC,CAAC;gBACvD,CAAC,OAAO,CAAC,WAAW,IAAI,EAAE,CAAC,SAAS,EAAE,eAAe,CAAC,CAAC,EACvD,CAAC;gBACD,OAAO;YACT,CAAC;YAED,SAAS;YACT,IAAI,EAAE,CAAC,QAAQ,CAAC,IAAI,EAAE,CAAC,eAAe,CAAC,EAAE,CAAC;gBACxC,IAAI,CAAC,OAAO,CAAC,WAAW,EAAE,CAAC;oBACzB,IAAI,2BAA2B,CAAC,IAAI,CAAC,MAAM,CAAC,EAAE,CAAC;wBAC7C,eAAe;wBACf,OAAO,CAAC,MAAM,CAAC;4BACb,IAAI;4BACJ,SAAS,EAAE,sBAAsB;4BACjC,OAAO,EAAE;gCACP;oCACE,SAAS,EAAE,iCAAiC;oCAC5C,GAAG,EAAE,IAAA,uBAAgB,EAAC;wCACpB,IAAI,EAAE,IAAI,CAAC,MAAM;wCACjB,SAAS,EAAE,IAAI;wCACf,UAAU,EAAE,OAAO,CAAC,UAAU;wCAC9B,IAAI,EAAE,IAAI,CAAC,EAAE,CAAC,GAAG,IAAI,eAAe;qCACrC,CAAC;iCACH;gCACD;oCACE,SAAS,EAAE,gCAAgC;oCAC3C,GAAG,EAAE,IAAA,uBAAgB,EAAC;wCACpB,IAAI,EAAE,IAAI,CAAC,MAAM;wCACjB,SAAS,EAAE,IAAI;wCACf,UAAU,EAAE,OAAO,CAAC,UAAU;wCAC9B,IAAI,EAAE,IAAI,CAAC,EAAE,CAAC,GAAG,IAAI,SAAS;qCAC/B,CAAC;iCACH;gCACD;oCACE,SAAS,EAAE,yBAAyB;oCACpC,GAAG,EAAE,IAAA,uBAAgB,EAAC;wCACpB,IAAI,EAAE,IAAI,CAAC,MAAM;wCACjB,SAAS,EAAE,IAAI;wCACf,UAAU,EAAE,OAAO,CAAC,UAAU;wCAC9B,IAAI,EAAE,IAAI,CAAC,EAAE,CAAC,YAAY,IAAI,GAAG;qCAClC,CAAC;iCACH;6BACF;yBACF,CAAC,CAAC;oBACL,CAAC;yBAAM,CAAC;wBACN,cAAc;wBACd,OAAO,CAAC,MAAM,CAAC;4BACb,IAAI;4BACJ,SAAS,EAAE,sBAAsB;4BACjC,OAAO,EAAE;gCACP;oCACE,SAAS,EAAE,iCAAiC;oCAC5C,GAAG,EAAE,IAAA,uBAAgB,EAAC;wCACpB,IAAI;wCACJ,UAAU,EAAE,OAAO,CAAC,UAAU;wCAC9B,IAAI,EAAE,IAAI,CAAC,EAAE,CAAC,GAAG,IAAI,aAAa;qCACnC,CAAC;iCACH;gCACD;oCACE,SAAS,EAAE,gCAAgC;oCAC3C,GAAG,EAAE,IAAA,uBAAgB,EAAC;wCACpB,IAAI;wCACJ,UAAU,EAAE,OAAO,CAAC,UAAU;wCAC9B,IAAI,EAAE,IAAI,CAAC,EAAE,CAAC,GAAG,IAAI,SAAS;qCAC/B,CAAC;iCACH;gCACD;oCACE,SAAS,EAAE,yBAAyB;oCACpC,GAAG,EAAE,IAAA,uBAAgB,EAAC;wCACpB,IAAI;wCACJ,UAAU,EAAE,OAAO,CAAC,UAAU;wCAC9B,IAAI,EAAE,IAAI,CAAC,EAAE,CAAC,WAAW,IAAI,GAAG;qCACjC,CAAC;iCACH;6BACF;yBACF,CAAC,CAAC;oBACL,CAAC;gBACH,CAAC;gBACD,OAAO;YACT,CAAC;YAED,kBAAkB;YAClB,IAAI,EAAE,CAAC,SAAS,EAAE,QAAQ,CAAC,EAAE,CAAC;gBAC5B,IAAI,CAAC,OAAO,CAAC,mBAAmB,EAAE,CAAC;oBACjC,IAAI,2BAA2B,CAAC,IAAI,CAAC,MAAM,CAAC,EAAE,CAAC;wBAC7C,uBAAuB;wBACvB,OAAO,CAAC,MAAM,CAAC;4BACb,IAAI;4BACJ,SAAS,EAAE,8BAA8B;4BACzC,OAAO,EAAE;gCACP;oCACE,SAAS,EAAE,4BAA4B;oCACvC,GAAG,EAAE,IAAA,uBAAgB,EAAC;wCACpB,IAAI,EAAE,IAAI,CAAC,MAAM;wCACjB,SAAS,EAAE,IAAI;wCACf,UAAU,EAAE,OAAO,CAAC,UAAU;wCAC9B,IAAI,EAAE,IAAI,CAAC,EAAE,CAAC,GAAG,IAAI,UAAU;qCAChC,CAAC;iCACH;gCACD;oCACE,SAAS,EAAE,gCAAgC;oCAC3C,GAAG,EAAE,IAAA,uBAAgB,EAAC;wCACpB,IAAI;wCACJ,UAAU,EAAE,OAAO,CAAC,UAAU;wCAC9B,IAAI,EAAE,IAAI,CAAC,EAAE,CAAC,GAAG,IAAI,QAAQ;qCAC9B,CAAC;iCACH;gCACD;oCACE,SAAS,EAAE,yBAAyB;oCACpC,GAAG,EAAE,IAAA,uBAAgB,EAAC;wCACpB,IAAI,EAAE,IAAI,CAAC,MAAM;wCACjB,SAAS,EAAE,IAAI;wCACf,UAAU,EAAE,OAAO,CAAC,UAAU;wCAC9B,IAAI,EAAE,IAAI,CAAC,EAAE,CAAC,YAAY,IAAI,GAAG;qCAClC,CAAC;iCACH;6BACF;yBACF,CAAC,CAAC;oBACL,CAAC;yBAAM,CAAC;wBACN,sBAAsB;wBACtB,OAAO,CAAC,MAAM,CAAC;4BACb,IAAI;4BACJ,SAAS,EAAE,8BAA8B;4BACzC,OAAO,EAAE;gCACP;oCACE,SAAS,EAAE,4BAA4B;oCACvC,GAAG,EAAE,IAAA,uBAAgB,EAAC;wCACpB,IAAI;wCACJ,UAAU,EAAE,OAAO,CAAC,UAAU;wCAC9B,IAAI,EAAE,IAAI,CAAC,EAAE,CAAC,GAAG,IAAI,UAAU;qCAChC,CAAC;iCACH;gCACD;oCACE,SAAS,EAAE,gCAAgC;oCAC3C,GAAG,EAAE,IAAA,uBAAgB,EAAC;wCACpB,IAAI;wCACJ,UAAU,EAAE,OAAO,CAAC,UAAU;wCAC9B,IAAI,EAAE,IAAI,CAAC,EAAE,CAAC,GAAG,IAAI,QAAQ;qCAC9B,CAAC;iCACH;gCACD;oCACE,SAAS,EAAE,yBAAyB;oCACpC,GAAG,EAAE,IAAA,uBAAgB,EAAC;wCACpB,IAAI;wCACJ,UAAU,EAAE,OAAO,CAAC,UAAU;wCAC9B,IAAI,EAAE,IAAI,CAAC,EAAE,CAAC,WAAW,IAAI,GAAG;qCACjC,CAAC;iCACH;6BACF;yBACF,CAAC,CAAC;oBACL,CAAC;gBACH,CAAC;gBACD,OAAO;YACT,CAAC;YAED,SAAS;YACT,IAAI,EAAE,CAAC,QAAQ,CAAC,IAAI,EAAE,CAAC,eAAe,CAAC,EAAE,CAAC;gBACxC,IAAI,CAAC,OAAO,CAAC,WAAW,EAAE,CAAC;oBACzB,IAAI,uBAAuB,CAAC,IAAI,EAAE,OAAO,EAAE,QAAQ,CAAC,EAAE,CAAC;wBACrD,IAAI,2BAA2B,CAAC,IAAI,CAAC,MAAM,CAAC,EAAE,CAAC;4BAC7C,qBAAqB;4BACrB,OAAO,CAAC,MAAM,CAAC;gCACb,IAAI;gCACJ,SAAS,EAAE,sBAAsB;gCACjC,GAAG,EAAE,IAAA,uBAAgB,EAAC;oCACpB,IAAI,EAAE,IAAI,CAAC,MAAM;oCACjB,SAAS,EAAE,IAAI;oCACf,UAAU,EAAE,OAAO,CAAC,UAAU;oCAC9B,IAAI,EAAE,IAAI,CAAC,EAAE,CAAC,GAAG,IAAI,QAAQ;iCAC9B,CAAC;6BACH,CAAC,CAAC;wBACL,CAAC;6BAAM,CAAC;4BACN,oBAAoB;4BACpB,OAAO,CAAC,MAAM,CAAC;gCACb,IAAI;gCACJ,SAAS,EAAE,sBAAsB;gCACjC,GAAG,EAAE,IAAA,uBAAgB,EAAC;oCACpB,IAAI;oCACJ,UAAU,EAAE,OAAO,CAAC,UAAU;oCAC9B,IAAI,EAAE,IAAI,CAAC,EAAE,CAAC,GAAG,IAAI,MAAM;iCAC5B,CAAC;6BACH,CAAC,CAAC;wBACL,CAAC;oBACH,CAAC;yBAAM,IAAI,2BAA2B,CAAC,IAAI,CAAC,MAAM,CAAC,EAAE,CAAC;wBACpD,eAAe;wBACf,OAAO,CAAC,MAAM,CAAC;4BACb,IAAI;4BACJ,SAAS,EAAE,sBAAsB;4BACjC,OAAO,EAAE;gCACP;oCACE,SAAS,EAAE,yBAAyB;oCACpC,GAAG,EAAE,IAAA,uBAAgB,EAAC;wCACpB,IAAI,EAAE,IAAI,CAAC,MAAM;wCACjB,SAAS,EAAE,IAAI;wCACf,UAAU,EAAE,OAAO,CAAC,UAAU;wCAC9B,uDAAuD;wCACvD,IAAI,EAAE,IAAI,CAAC,EAAE,CAAC,GAAG,IAAI,QAAQ;qCAC9B,CAAC;iCACH;gCACD;oCACE,8DAA8D;oCAC9D,SAAS,EAAE,wBAAwB;oCACnC,GAAG,EAAE,IAAA,uBAAgB,EAAC;wCACpB,IAAI,EAAE,IAAI,CAAC,MAAM;wCACjB,SAAS,EAAE,IAAI;wCACf,UAAU,EAAE,OAAO,CAAC,UAAU;wCAC9B,IAAI,EAAE,IAAI,CAAC,EAAE,CAAC,gBAAgB,IAAI,GAAG;qCACtC,CAAC;iCACH;gCACD;oCACE,SAAS,EAAE,yBAAyB;oCACpC,GAAG,EAAE,IAAA,uBAAgB,EAAC;wCACpB,IAAI,EAAE,IAAI,CAAC,MAAM;wCACjB,SAAS,EAAE,IAAI;wCACf,UAAU,EAAE,OAAO,CAAC,UAAU;wCAC9B,IAAI,EAAE,IAAI,CAAC,EAAE,CAAC,YAAY,IAAI,GAAG;qCAClC,CAAC;iCACH;6BACF;yBACF,CAAC,CAAC;oBACL,CAAC;yBAAM,CAAC;wBACN,cAAc;wBACd,OAAO,CAAC,MAAM,CAAC;4BACb,IAAI;4BACJ,SAAS,EAAE,sBAAsB;4BACjC,OAAO,EAAE;gCACP;oCACE,SAAS,EAAE,yBAAyB;oCACpC,GAAG,EAAE,IAAA,uBAAgB,EAAC;wCACpB,IAAI;wCACJ,UAAU,EAAE,OAAO,CAAC,UAAU;wCAC9B,IAAI,EAAE,IAAI,CAAC,EAAE,CAAC,GAAG,IAAI,QAAQ;qCAC9B,CAAC;iCACH;gCACD;oCACE,SAAS,EAAE,wBAAwB;oCACnC,GAAG,EAAE,IAAA,uBAAgB,EAAC;wCACpB,IAAI;wCACJ,UAAU,EAAE,OAAO,CAAC,UAAU;wCAC9B,IAAI,EAAE,IAAI,CAAC,EAAE,CAAC,iBAAiB,IAAI,GAAG;qCACvC,CAAC;iCACH;gCACD;oCACE,SAAS,EAAE,yBAAyB;oCACpC,GAAG,EAAE,IAAA,uBAAgB,EAAC;wCACpB,IAAI;wCACJ,UAAU,EAAE,OAAO,CAAC,UAAU;wCAC9B,IAAI,EAAE,IAAI,CAAC,EAAE,CAAC,WAAW,IAAI,GAAG;qCACjC,CAAC;iCACH;6BACF;yBACF,CAAC,CAAC;oBACL,CAAC;gBACH,CAAC;gBACD,OAAO;YACT,CAAC;YAED,kBAAkB;YAClB,IAAI,EAAE,CAAC,SAAS,EAAE,QAAQ,CAAC,EAAE,CAAC;gBAC5B,IAAI,CAAC,OAAO,CAAC,mBAAmB,EAAE,CAAC;oBACjC,IAAI,2BAA2B,CAAC,IAAI,CAAC,MAAM,CAAC,EAAE,CAAC;wBAC7C,uBAAuB;wBACvB,OAAO,CAAC,MAAM,CAAC;4BACb,IAAI;4BACJ,SAAS,EAAE,8BAA8B;4BACzC,OAAO,EAAE;gCACP;oCACE,SAAS,EAAE,4BAA4B;oCACvC,GAAG,EAAE,IAAA,uBAAgB,EAAC;wCACpB,IAAI,EAAE,IAAI,CAAC,MAAM;wCACjB,SAAS,EAAE,IAAI;wCACf,UAAU,EAAE,OAAO,CAAC,UAAU;wCAC9B,IAAI,EAAE,IAAI,CAAC,EAAE,CAAC,GAAG,IAAI,UAAU;qCAChC,CAAC;iCACH;gCACD;oCACE,SAAS,EAAE,yBAAyB;oCACpC,GAAG,EAAE,IAAA,uBAAgB,EAAC;wCACpB,IAAI;wCACJ,UAAU,EAAE,OAAO,CAAC,UAAU;wCAC9B,IAAI,EAAE,IAAI,CAAC,EAAE,CAAC,GAAG,IAAI,OAAO;qCAC7B,CAAC;iCACH;gCACD;oCACE,SAAS,EAAE,yBAAyB;oCACpC,GAAG,EAAE,IAAA,uBAAgB,EAAC;wCACpB,IAAI,EAAE,IAAI,CAAC,MAAM;wCACjB,SAAS,EAAE,IAAI;wCACf,UAAU,EAAE,OAAO,CAAC,UAAU;wCAC9B,IAAI,EAAE,IAAI,CAAC,EAAE,CAAC,YAAY,IAAI,GAAG;qCAClC,CAAC;iCACH;6BACF;yBACF,CAAC,CAAC;oBACL,CAAC;yBAAM,CAAC;wBACN,sBAAsB;wBACtB,OAAO,CAAC,MAAM,CAAC;4BACb,IAAI;4BACJ,SAAS,EAAE,8BAA8B;4BACzC,OAAO,EAAE;gCACP;oCACE,SAAS,EAAE,4BAA4B;oCACvC,GAAG,EAAE,IAAA,uBAAgB,EAAC;wCACpB,IAAI;wCACJ,UAAU,EAAE,OAAO,CAAC,UAAU;wCAC9B,IAAI,EAAE,IAAI,CAAC,EAAE,CAAC,GAAG,IAAI,UAAU;qCAChC,CAAC;iCACH;gCACD;oCACE,SAAS,EAAE,yBAAyB;oCACpC,GAAG,EAAE,IAAA,uBAAgB,EAAC;wCACpB,IAAI;wCACJ,UAAU,EAAE,OAAO,CAAC,UAAU;wCAC9B,IAAI,EAAE,IAAI,CAAC,EAAE,CAAC,GAAG,IAAI,OAAO;qCAC7B,CAAC;iCACH;gCACD;oCACE,SAAS,EAAE,yBAAyB;oCACpC,GAAG,EAAE,IAAA,uBAAgB,EAAC;wCACpB,IAAI;wCACJ,UAAU,EAAE,OAAO,CAAC,UAAU;wCAC9B,IAAI,EAAE,IAAI,CAAC,EAAE,CAAC,WAAW,IAAI,GAAG;qCACjC,CAAC;iCACH;6BACF;yBACF,CAAC,CAAC;oBACL,CAAC;gBACH,CAAC;gBACD,OAAO;YACT,CAAC;YAED,SAAS;YACT,IAAI,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;gBACjB,2BAA2B;gBAC3B,OAAO,CAAC,MAAM,CAAC,EAAE,IAAI,EAAE,SAAS,EAAE,sBAAsB,EAAE,CAAC,CAAC;gBAC5D,OAAO;YACT,CAAC;YAED,kBAAkB;YAClB,IAAI,EAAE,CAAC,SAAS,EAAE,QAAQ,CAAC,EAAE,CAAC;gBAC5B,IAAI,CAAC,OAAO,CAAC,mBAAmB,EAAE,CAAC;oBACjC,IAAI,2BAA2B,CAAC,IAAI,CAAC,MAAM,CAAC,EAAE,CAAC;wBAC7C,uBAAuB;wBACvB,OAAO,CAAC,MAAM,CAAC;4BACb,IAAI;4BACJ,SAAS,EAAE,8BAA8B;4BACzC,OAAO,EAAE;gCACP;oCACE,SAAS,EAAE,4BAA4B;oCACvC,GAAG,EAAE,IAAA,uBAAgB,EAAC;wCACpB,IAAI,EAAE,IAAI,CAAC,MAAM;wCACjB,SAAS,EAAE,IAAI;wCACf,UAAU,EAAE,OAAO,CAAC,UAAU;wCAC9B,IAAI,EAAE,IAAI,CAAC,EAAE,CAAC,GAAG,IAAI,UAAU;qCAChC,CAAC;iCACH;6BACF;yBACF,CAAC,CAAC;oBACL,CAAC;yBAAM,CAAC;wBACN,sBAAsB;wBACtB,OAAO,CAAC,MAAM,CAAC;4BACb,IAAI;4BACJ,SAAS,EAAE,8BAA8B;4BACzC,OAAO,EAAE;gCACP;oCACE,SAAS,EAAE,4BAA4B;oCACvC,GAAG,EAAE,IAAA,uBAAgB,EAAC;wCACpB,IAAI;wCACJ,UAAU,EAAE,OAAO,CAAC,UAAU;wCAC9B,IAAI,EAAE,IAAI,CAAC,EAAE,CAAC,GAAG,IAAI,UAAU;qCAChC,CAAC;iCACH;6BACF;yBACF,CAAC,CAAC;oBACL,CAAC;gBACH,CAAC;gBACD,OAAO;YACT,CAAC;YAED,gBAAgB;YAChB,IACE,EAAE,CAAC,SAAS,EAAE,QAAQ,EAAE,MAAM,CAAC;gBAC/B,EAAE,CAAC,SAAS,EAAE,QAAQ,EAAE,MAAM,CAAC;gBAC/B,EAAE,CAAC,SAAS,EAAE,eAAe,EAAE,MAAM,CAAC;gBACtC,EAAE,CAAC,SAAS,EAAE,eAAe,EAAE,MAAM,CAAC;gBACtC,cAAc;gBACd,EAAE,CAAC,SAAS,EAAE,eAAe,EAAE,eAAe,EAAE,MAAM,CAAC;gBACvD,EAAE,CAAC,SAAS,EAAE,eAAe,EAAE,QAAQ,EAAE,MAAM,CAAC;gBAChD,EAAE,CAAC,SAAS,EAAE,eAAe,EAAE,QAAQ,EAAE,MAAM,CAAC;gBAChD,EAAE,CAAC,SAAS,EAAE,QAAQ,EAAE,QAAQ,EAAE,MAAM,CAAC,EACzC,CAAC;gBACD,IAAI,CAAC,OAAO,CAAC,iBAAiB,EAAE,CAAC;oBAC/B,IAAI,2BAA2B,CAAC,IAAI,CAAC,MAAM,CAAC,EAAE,CAAC;wBAC7C,OAAO,CAAC,MAAM,CAAC;4BACb,IAAI;4BACJ,SAAS,EAAE,4BAA4B;4BACvC,GAAG,EAAE,IAAA,uBAAgB,EAAC;gCACpB,IAAI,EAAE,IAAI,CAAC,MAAM;gCACjB,SAAS,EAAE,IAAI;gCACf,UAAU,EAAE,OAAO,CAAC,UAAU;gCAC9B,IAAI,EAAE,IAAI,CAAC,EAAE,CAAC,GAAG,IAAI,UAAU;6BAChC,CAAC;yBACH,CAAC,CAAC;oBACL,CAAC;yBAAM,CAAC;wBACN,OAAO,CAAC,MAAM,CAAC;4BACb,IAAI;4BACJ,SAAS,EAAE,4BAA4B;4BACvC,GAAG,EAAE,IAAA,uBAAgB,EAAC;gCACpB,IAAI;gCACJ,UAAU,EAAE,OAAO,CAAC,UAAU;gCAC9B,IAAI,EAAE,IAAI,CAAC,EAAE,CAAC,GAAG,IAAI,UAAU;6BAChC,CAAC;yBACH,CAAC,CAAC;oBACL,CAAC;gBACH,CAAC;gBACD,OAAO;YACT,CAAC;YAED,MAAM;YACN,IAAI,EAAE,CAAC,KAAK,CAAC,EAAE,CAAC;gBACd,IAAI,CAAC,OAAO,CAAC,QAAQ,EAAE,CAAC;oBACtB,OAAO,CAAC,MAAM,CAAC;wBACb,IAAI;wBACJ,SAAS,EAAE,mBAAmB;wBAC9B,OAAO,EAAE;4BACP;gCACE,SAAS,EAAE,yBAAyB;gCACpC,GAAG,EAAE,IAAA,uBAAgB,EAAC;oCACpB,IAAI;oCACJ,UAAU,EAAE,OAAO,CAAC,UAAU;oCAC9B,IAAI,EAAE,IAAI,CAAC,EAAE,CAAC,WAAW,IAAI,GAAG;iCACjC,CAAC;6BACH;yBACF;qBACF,CAAC,CAAC;gBACL,CAAC;gBACD,OAAO;YACT,CAAC;YAED,QAAQ;YACR,OAAO,CAAC,MAAM,CAAC,EAAE,IAAI,EAAE,SAAS,EAAE,qBAAqB,EAAE,CAAC,CAAC;QAC7D,CAAC;QAgBD;;WAEG;QACH,SAAS,mBAAmB,CAAC,KAAgB;YAC3C,MAAM,YAAY,GAAG,IAAI,GAAG,EAAe,CAAC;YAE5C,IACE,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,EAAE,CAChB,OAAO,CAAC,aAAa,CACnB,IAAI,EACJ,EAAE,CAAC,SAAS,CAAC,IAAI,GAAG,EAAE,CAAC,SAAS,CAAC,SAAS,GAAG,EAAE,CAAC,SAAS,CAAC,QAAQ,CACnE,CACF,EACD,CAAC;gBACD,YAAY,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;YAC9B,CAAC;YACD,MAAM,QAAQ,GAAG,KAAK,CAAC,MAAM,CAAC,IAAI,CAAC,EAAE,CACnC,OAAO,CAAC,aAAa,CAAC,IAAI,EAAE,EAAE,CAAC,SAAS,CAAC,WAAW,CAAC,CACtD,CAAC;YAEF,uEAAuE;YACvE,4CAA4C;YAC5C,mEAAmE;YACnE,qFAAqF;YACrF,IAAI,QAAQ,CAAC,MAAM,KAAK,CAAC,EAAE,CAAC;gBAC1B,YAAY,CAAC,GAAG,CACd,OAAO,CAAC,iBAAiB,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,gBAAgB,CAAC,CAAC,CAAC,SAAS,CACtE,CAAC;YACJ,CAAC;iBAAM,IAAI,QAAQ,CAAC,MAAM,KAAK,CAAC,EAAE,CAAC;gBACjC,YAAY,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;YAC9B,CAAC;YAED,MAAM,OAAO,GAAG,KAAK,CAAC,MAAM,CAAC,IAAI,CAAC,EAAE,CAClC,OAAO,CAAC,aAAa,CAAC,IAAI,EAAE,EAAE,CAAC,SAAS,CAAC,UAAU,CAAC,CACrD,CAAC;YAEF,IAAI,OAAO,CAAC,MAAM,EAAE,CAAC;gBACnB,IACE,OAAO,CAAC,KAAK,CAAC,IAAI,CAAC,EAAE,CAAC,IAAI,CAAC,eAAe,EAAE,IAAI,IAAI,CAAC,KAAK,KAAK,EAAE,CAAC,EAClE,CAAC;oBACD,YAAY,CAAC,GAAG,CAAC,eAAe,CAAC,CAAC;gBACpC,CAAC;qBAAM,CAAC;oBACN,YAAY,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAC;gBAC7B,CAAC;YACH,CAAC;YAED,MAAM,OAAO,GAAG,KAAK,CAAC,MAAM,CAAC,IAAI,CAAC,EAAE,CAClC,OAAO,CAAC,aAAa,CACnB,IAAI,EACJ,EAAE,CAAC,SAAS,CAAC,UAAU,GAAG,EAAE,CAAC,SAAS,CAAC,UAAU,CAClD,CACF,CAAC;YAEF,IAAI,OAAO,CAAC,MAAM,EAAE,CAAC;gBACnB,IAAI,OAAO,CAAC,KAAK,CAAC,IAAI,CAAC,EAAE,CAAC,IAAI,CAAC,eAAe,EAAE,IAAI,IAAI,CAAC,KAAK,KAAK,CAAC,CAAC,EAAE,CAAC;oBACtE,YAAY,CAAC,GAAG,CAAC,eAAe,CAAC,CAAC;gBACpC,CAAC;qBAAM,CAAC;oBACN,YAAY,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAC;gBAC7B,CAAC;YACH,CAAC;YAED,IACE,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,EAAE,CAAC,OAAO,CAAC,aAAa,CAAC,IAAI,EAAE,EAAE,CAAC,SAAS,CAAC,QAAQ,CAAC,CAAC,EACtE,CAAC;gBACD,YAAY,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;YAC3B,CAAC;YAED,IACE,KAAK,CAAC,IAAI,CACR,IAAI,CAAC,EAAE,CACL,CAAC,OAAO,CAAC,aAAa,CACpB,IAAI,EACJ,EAAE,CAAC,SAAS,CAAC,IAAI;gBACf,EAAE,CAAC,SAAS,CAAC,SAAS;gBACtB,EAAE,CAAC,SAAS,CAAC,QAAQ;gBACrB,EAAE,CAAC,SAAS,CAAC,WAAW;gBACxB,EAAE,CAAC,SAAS,CAAC,UAAU;gBACvB,EAAE,CAAC,SAAS,CAAC,UAAU;gBACvB,EAAE,CAAC,SAAS,CAAC,UAAU;gBACvB,EAAE,CAAC,SAAS,CAAC,aAAa;gBAC1B,EAAE,CAAC,SAAS,CAAC,GAAG;gBAChB,EAAE,CAAC,SAAS,CAAC,OAAO;gBACpB,EAAE,CAAC,SAAS,CAAC,KAAK,CACrB,CACJ,EACD,CAAC;gBACD,YAAY,CAAC,GAAG,CAAC,KAAK,CAAC,IAAI,CAAC,gBAAgB,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC;YACxE,CAAC;YAED,IACE,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,EAAE,CAChB,OAAO,CAAC,aAAa,CACnB,IAAI,EACJ,EAAE,CAAC,SAAS,CAAC,aAAa;gBACxB,EAAE,CAAC,SAAS,CAAC,GAAG;gBAChB,EAAE,CAAC,SAAS,CAAC,OAAO,CACvB,CACF,EACD,CAAC;gBACD,YAAY,CAAC,GAAG,CAAC,KAAK,CAAC,CAAC;YAC1B,CAAC;YAED,IAAI,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,EAAE,CAAC,OAAO,CAAC,aAAa,CAAC,IAAI,EAAE,EAAE,CAAC,SAAS,CAAC,KAAK,CAAC,CAAC,EAAE,CAAC;gBACxE,YAAY,CAAC,GAAG,CAAC,OAAO,CAAC,CAAC;YAC5B,CAAC;YAED,OAAO,YAAY,CAAC;QACtB,CAAC;IACH,CAAC;CACF,CAAC,CAAC;AAEH,SAAS,2BAA2B,CAClC,IAAmB;IAEnB,OAAO,IAAI,CAAC,IAAI,KAAK,sBAAc,CAAC,eAAe,IAAI,IAAI,CAAC,QAAQ,KAAK,GAAG,CAAC;AAC/E,CAAC;AAED,SAAS,uBAAuB,CAC9B,IAAmB,EACnB,WAA2B,EAC3B,QAA2C;IAE3C,IAAI,IAAI,CAAC,IAAI,KAAK,sBAAc,CAAC,gBAAgB,EAAE,CAAC;QAClD,OAAO,KAAK,CAAC;IACf,CAAC;IACD,IAAI,IAAI,CAAC,QAAQ,EAAE,CAAC;QAClB,OAAO,KAAK,CAAC;IACf,CAAC;IACD,IAAI,IAAI,CAAC,QAAQ,CAAC,IAAI,KAAK,QAAQ,EAAE,CAAC;QACpC,OAAO,KAAK,CAAC;IACf,CAAC;IACD,MAAM,UAAU,GAAG,IAAA,mCAA4B,EAAC,QAAQ,EAAE,IAAI,CAAC,MAAM,CAAC,CAAC;IACvE,OAAO,IAAA,yCAAkC,EAAC,UAAU,EAAE,WAAW,CAAC,CAAC;AACrE,CAAC;AAED;;;;GAIG;AACH,SAAS,gBAAgB,CAAC,IAAa;IACrC,OAAO,CACL,IAAI,CAAC,cAAc,EAAE;QACrB,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,SAAS,CAAC,EAAE,CAC1B,OAAO,CAAC,aAAa,CACnB,SAAS,EACT,EAAE,CAAC,SAAS,CAAC,cAAc,GAAG,EAAE,CAAC,SAAS,CAAC,OAAO,CACnD,CACF,CACF,CAAC;AACJ,CAAC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/switch-exhaustiveness-check.js b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/switch-exhaustiveness-check.js index 1fcf202536..79e7ee1043 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/switch-exhaustiveness-check.js +++ b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/switch-exhaustiveness-check.js @@ -15,13 +15,23 @@ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? ( }) : function(o, v) { o["default"] = v; }); -var __importStar = (this && this.__importStar) || function (mod) { - if (mod && mod.__esModule) return mod; - var result = {}; - if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k); - __setModuleDefault(result, mod); - return result; -}; +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); Object.defineProperty(exports, "__esModule", { value: true }); const tsutils = __importStar(require("ts-api-utils")); const ts = __importStar(require("typescript")); diff --git a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/switch-exhaustiveness-check.js.map b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/switch-exhaustiveness-check.js.map index b2907a8742..0ec750ce57 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/switch-exhaustiveness-check.js.map +++ b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/switch-exhaustiveness-check.js.map @@ -1 +1 @@ -{"version":3,"file":"switch-exhaustiveness-check.js","sourceRoot":"","sources":["../../src/rules/switch-exhaustiveness-check.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AAEA,sDAAwC;AACxC,+CAAiC;AAEjC,kCASiB;AAwCjB,kBAAe,IAAA,iBAAU,EAAsB;IAC7C,IAAI,EAAE,6BAA6B;IACnC,IAAI,EAAE;QACJ,IAAI,EAAE,YAAY;QAClB,IAAI,EAAE;YACJ,WAAW,EAAE,iDAAiD;YAC9D,oBAAoB,EAAE,IAAI;SAC3B;QACD,cAAc,EAAE,IAAI;QACpB,QAAQ,EAAE;YACR,eAAe,EAAE,iCAAiC;YAClD,oBAAoB,EAClB,yEAAyE;YAC3E,qBAAqB,EACnB,kEAAkE;SACrE;QACD,MAAM,EAAE;YACN;gBACE,IAAI,EAAE,QAAQ;gBACd,oBAAoB,EAAE,KAAK;gBAC3B,UAAU,EAAE;oBACV,mCAAmC,EAAE;wBACnC,IAAI,EAAE,SAAS;wBACf,WAAW,EAAE,8EAA8E;qBAC5F;oBACD,kCAAkC,EAAE;wBAClC,IAAI,EAAE,SAAS;wBACf,WAAW,EAAE,gHAAgH;qBAC9H;oBACD,yBAAyB,EAAE;wBACzB,IAAI,EAAE,SAAS;wBACf,WAAW,EAAE,wEAAwE;qBACtF;iBACF;aACF;SACF;KACF;IACD,cAAc,EAAE;QACd;YACE,mCAAmC,EAAE,IAAI;YACzC,kCAAkC,EAAE,KAAK;YACzC,yBAAyB,EAAE,KAAK;SACjC;KACF;IACD,MAAM,CACJ,OAAO,EACP,CACE,EACE,mCAAmC,EACnC,kCAAkC,EAClC,yBAAyB,GAC1B,EACF;QAED,MAAM,QAAQ,GAAG,IAAA,wBAAiB,EAAC,OAAO,CAAC,CAAC;QAC5C,MAAM,OAAO,GAAG,QAAQ,CAAC,OAAO,CAAC,cAAc,EAAE,CAAC;QAClD,MAAM,eAAe,GAAG,QAAQ,CAAC,OAAO,CAAC,kBAAkB,EAAE,CAAC;QAE9D,SAAS,iBAAiB,CAAC,IAA8B;YACvD,MAAM,WAAW,GAAG,IAAI,CAAC,KAAK,CAAC,IAAI,CACjC,UAAU,CAAC,EAAE,CAAC,UAAU,CAAC,IAAI,IAAI,IAAI,CACtC,CAAC;YAEF,MAAM,gBAAgB,GAAG,IAAA,mCAA4B,EACnD,QAAQ,EACR,IAAI,CAAC,YAAY,CAClB,CAAC;YAEF,MAAM,UAAU,GAAG,gBAAgB,CAAC,SAAS,EAAE,EAAE,WAEpC,CAAC;YAEd,MAAM,sBAAsB,GAC1B,6BAA6B,CAAC,gBAAgB,CAAC,CAAC;YAElD,MAAM,SAAS,GAAG,IAAI,GAAG,EAAW,CAAC;YACrC,KAAK,MAAM,UAAU,IAAI,IAAI,CAAC,KAAK,EAAE,CAAC;gBACpC,wEAAwE;gBACxE,kBAAkB;gBAClB,IAAI,UAAU,CAAC,IAAI,IAAI,IAAI,EAAE,CAAC;oBAC5B,SAAS;gBACX,CAAC;gBAED,MAAM,QAAQ,GAAG,IAAA,mCAA4B,EAC3C,QAAQ,EACR,UAAU,CAAC,IAAI,CAChB,CAAC;gBACF,SAAS,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAC;YAC1B,CAAC;YAED,MAAM,yBAAyB,GAAc,EAAE,CAAC;YAEhD,KAAK,MAAM,SAAS,IAAI,OAAO,CAAC,cAAc,CAAC,gBAAgB,CAAC,EAAE,CAAC;gBACjE,KAAK,MAAM,gBAAgB,IAAI,OAAO,CAAC,qBAAqB,CAC1D,SAAS,CACV,EAAE,CAAC;oBACF,IACE,SAAS,CAAC,GAAG,CAAC,gBAAgB,CAAC;wBAC/B,CAAC,qBAAqB,CAAC,gBAAgB,CAAC,EACxC,CAAC;wBACD,SAAS;oBACX,CAAC;oBAED,6EAA6E;oBAC7E,qDAAqD;oBACrD,IACE,CAAC,GAAG,SAAS,CAAC,CAAC,IAAI,CAAC,OAAO,CAAC,wBAAwB,CAAC;wBACrD,OAAO,CAAC,wBAAwB,CAAC,gBAAgB,CAAC,EAClD,CAAC;wBACD,SAAS;oBACX,CAAC;oBAED,yBAAyB,CAAC,IAAI,CAAC,gBAAgB,CAAC,CAAC;gBACnD,CAAC;YACH,CAAC;YAED,OAAO;gBACL,sBAAsB;gBACtB,WAAW;gBACX,yBAAyB;gBACzB,UAAU;aACX,CAAC;QACJ,CAAC;QAED,SAAS,qBAAqB,CAC5B,IAA8B,EAC9B,cAA8B;YAE9B,MAAM,EAAE,WAAW,EAAE,yBAAyB,EAAE,UAAU,EAAE,GAC1D,cAAc,CAAC;YAEjB,mFAAmF;YACnF,sCAAsC;YACtC,IAAI,kCAAkC,IAAI,WAAW,IAAI,IAAI,EAAE,CAAC;gBAC9D,OAAO;YACT,CAAC;YAED,IAAI,yBAAyB,CAAC,MAAM,GAAG,CAAC,EAAE,CAAC;gBACzC,OAAO,CAAC,MAAM,CAAC;oBACb,IAAI,EAAE,IAAI,CAAC,YAAY;oBACvB,SAAS,EAAE,uBAAuB;oBAClC,IAAI,EAAE;wBACJ,eAAe,EAAE,yBAAyB;6BACvC,GAAG,CAAC,WAAW,CAAC,EAAE,CACjB,OAAO,CAAC,aAAa,CAAC,WAAW,EAAE,EAAE,CAAC,SAAS,CAAC,YAAY,CAAC;4BAC3D,CAAC,CAAC,UAAU,WAAW,CAAC,SAAS,EAAE,EAAE,WAAqB,EAAE;4BAC5D,CAAC,CAAC,OAAO,CAAC,YAAY,CAAC,WAAW,CAAC,CACtC;6BACA,IAAI,CAAC,KAAK,CAAC;qBACf;oBACD,OAAO,EAAE;wBACP;4BACE,SAAS,EAAE,iBAAiB;4BAC5B,GAAG,CAAC,KAAK;gCACP,OAAO,SAAS,CACd,KAAK,EACL,IAAI,EACJ,yBAAyB,EACzB,UAAU,EAAE,QAAQ,EAAE,CACvB,CAAC;4BACJ,CAAC;yBACF;qBACF;iBACF,CAAC,CAAC;YACL,CAAC;QACH,CAAC;QAED,SAAS,SAAS,CAChB,KAAyB,EACzB,IAA8B,EAC9B,kBAAsC,EAAE,4BAA4B;QACpE,UAAmB;YAEnB,MAAM,QAAQ,GACZ,IAAI,CAAC,KAAK,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC;YACnE,MAAM,WAAW,GAAG,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,MAAM,CAAC,EAAE,CAAC,MAAM,CAAC,IAAI,IAAI,IAAI,CAAC,CAAC;YAEnE,MAAM,UAAU,GAAG,QAAQ;gBACzB,CAAC,CAAC,GAAG,CAAC,MAAM,CAAC,QAAQ,CAAC,GAAG,CAAC,KAAK,CAAC,MAAM,CAAC;gBACvC,CAAC,CAAC,qEAAqE;oBACrE,+CAA+C;oBAC/C,GAAG,CAAC,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;YAEtC,MAAM,YAAY,GAAG,EAAE,CAAC;YACxB,KAAK,MAAM,iBAAiB,IAAI,kBAAkB,EAAE,CAAC;gBACnD,IAAI,iBAAiB,IAAI,IAAI,EAAE,CAAC;oBAC9B,YAAY,CAAC,IAAI,CAAC,8CAA8C,CAAC,CAAC;oBAClE,SAAS;gBACX,CAAC;gBAED,MAAM,iBAAiB,GAAG,iBAAiB,CAAC,SAAS,EAAE,EAAE,WAAW,CAAC;gBACrE,IAAI,QAAQ,GAAG,OAAO,CAAC,aAAa,CAClC,iBAAiB,EACjB,EAAE,CAAC,SAAS,CAAC,YAAY,CAC1B;oBACC,CAAC,CAAC,oEAAoE;wBACpE,iBAAkB;oBACpB,CAAC,CAAC,OAAO,CAAC,YAAY,CAAC,iBAAiB,CAAC,CAAC;gBAE5C,IACE,UAAU;oBACV,CAAC,iBAAiB,IAAI,iBAAiB,KAAK,EAAE,CAAC;oBAC/C,IAAA,sBAAe,EAAC,iBAAiB,CAAC,QAAQ,EAAE,EAAE,eAAe,CAAC,MAAM,CAAC,EACrE,CAAC;oBACD,MAAM,iBAAiB,GAAG,iBAAiB;yBACxC,UAAU,CAAC,GAAG,EAAE,KAAK,CAAC;yBACtB,UAAU,CAAC,IAAI,EAAE,KAAK,CAAC;yBACvB,UAAU,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;oBAE3B,QAAQ,GAAG,GAAG,UAAU,KAAK,iBAAiB,IAAI,CAAC;gBACrD,CAAC;gBAED,YAAY,CAAC,IAAI,CACf,QAAQ,QAAQ,6CAA6C,QAAQ;qBAClE,UAAU,CAAC,IAAI,EAAE,MAAM,CAAC;qBACxB,UAAU,CAAC,GAAG,EAAE,KAAK,CAAC,WAAW,CACrC,CAAC;YACJ,CAAC;YAED,MAAM,SAAS,GAAG,YAAY;iBAC3B,GAAG,CAAC,IAAI,CAAC,EAAE,CAAC,GAAG,UAAU,GAAG,IAAI,EAAE,CAAC;iBACnC,IAAI,CAAC,IAAI,CAAC,CAAC;YAEd,IAAI,QAAQ,EAAE,CAAC;gBACb,IAAI,WAAW,EAAE,CAAC;oBAChB,MAAM,eAAe,GAAG,YAAY;yBACjC,GAAG,CAAC,IAAI,CAAC,EAAE,CAAC,GAAG,IAAI,KAAK,UAAU,EAAE,CAAC;yBACrC,IAAI,CAAC,EAAE,CAAC,CAAC;oBAEZ,OAAO,KAAK,CAAC,gBAAgB,CAAC,WAAW,EAAE,eAAe,CAAC,CAAC;gBAC9D,CAAC;gBACD,OAAO,KAAK,CAAC,eAAe,CAAC,QAAQ,EAAE,KAAK,SAAS,EAAE,CAAC,CAAC;YAC3D,CAAC;YAED,gCAAgC;YAChC,MAAM,YAAY,GAAG,IAAA,iBAAU,EAC7B,OAAO,CAAC,UAAU,CAAC,aAAa,CAC9B,IAAI,CAAC,YAAY,EACjB,0BAAmB,CACpB,EACD,wBAAiB,CAAC,YAAY,CAAC,GAAG,EAAE,cAAc,CAAC,CACpD,CAAC;YACF,MAAM,YAAY,GAAG,IAAA,iBAAU,EAC7B,OAAO,CAAC,UAAU,CAAC,aAAa,CAC9B,IAAI,CAAC,YAAY,EACjB,0BAAmB,CACpB,EACD,wBAAiB,CAAC,YAAY,CAAC,GAAG,EAAE,cAAc,CAAC,CACpD,CAAC;YAEF,OAAO,KAAK,CAAC,gBAAgB,CAC3B,CAAC,YAAY,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,YAAY,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EAC9C,CAAC,GAAG,EAAE,SAAS,EAAE,GAAG,UAAU,GAAG,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAC9C,CAAC;QACJ,CAAC;QAED,SAAS,iCAAiC,CACxC,cAA8B;YAE9B,IAAI,mCAAmC,EAAE,CAAC;gBACxC,OAAO;YACT,CAAC;YAED,MAAM,EAAE,sBAAsB,EAAE,WAAW,EAAE,yBAAyB,EAAE,GACtE,cAAc,CAAC;YAEjB,IACE,yBAAyB,CAAC,MAAM,KAAK,CAAC;gBACtC,WAAW,KAAK,SAAS;gBACzB,CAAC,sBAAsB,EACvB,CAAC;gBACD,OAAO,CAAC,MAAM,CAAC;oBACb,IAAI,EAAE,WAAW;oBACjB,SAAS,EAAE,sBAAsB;iBAClC,CAAC,CAAC;YACL,CAAC;QACH,CAAC;QAED,SAAS,6BAA6B,CACpC,IAA8B,EAC9B,cAA8B;YAE9B,IAAI,CAAC,yBAAyB,EAAE,CAAC;gBAC/B,OAAO;YACT,CAAC;YAED,MAAM,EAAE,sBAAsB,EAAE,WAAW,EAAE,GAAG,cAAc,CAAC;YAE/D,IAAI,sBAAsB,IAAI,WAAW,KAAK,SAAS,EAAE,CAAC;gBACxD,OAAO,CAAC,MAAM,CAAC;oBACb,IAAI,EAAE,IAAI,CAAC,YAAY;oBACvB,SAAS,EAAE,uBAAuB;oBAClC,IAAI,EAAE,EAAE,eAAe,EAAE,SAAS,EAAE;oBACpC,OAAO,EAAE;wBACP;4BACE,SAAS,EAAE,iBAAiB;4BAC5B,GAAG,CAAC,KAAK;gCACP,OAAO,SAAS,CAAC,KAAK,EAAE,IAAI,EAAE,CAAC,IAAI,CAAC,CAAC,CAAC;4BACxC,CAAC;yBACF;qBACF;iBACF,CAAC,CAAC;YACL,CAAC;QACH,CAAC;QAED,OAAO;YACL,eAAe,CAAC,IAAI;gBAClB,MAAM,cAAc,GAAG,iBAAiB,CAAC,IAAI,CAAC,CAAC;gBAE/C,qBAAqB,CAAC,IAAI,EAAE,cAAc,CAAC,CAAC;gBAC5C,iCAAiC,CAAC,cAAc,CAAC,CAAC;gBAClD,6BAA6B,CAAC,IAAI,EAAE,cAAc,CAAC,CAAC;YACtD,CAAC;SACF,CAAC;IACJ,CAAC;CACF,CAAC,CAAC;AAEH,SAAS,qBAAqB,CAAC,IAAa;IAC1C,OAAO,OAAO,CAAC,aAAa,CAC1B,IAAI,EACJ,EAAE,CAAC,SAAS,CAAC,OAAO;QAClB,EAAE,CAAC,SAAS,CAAC,SAAS;QACtB,EAAE,CAAC,SAAS,CAAC,IAAI;QACjB,EAAE,CAAC,SAAS,CAAC,cAAc,CAC9B,CAAC;AACJ,CAAC;AAED;;;;;;;;GAQG;AACH,SAAS,6BAA6B,CAAC,IAAa;IAClD,OAAO,OAAO;SACX,cAAc,CAAC,IAAI,CAAC;SACpB,IAAI,CAAC,IAAI,CAAC,EAAE,CACX,OAAO;SACJ,qBAAqB,CAAC,IAAI,CAAC;SAC3B,KAAK,CAAC,OAAO,CAAC,EAAE,CAAC,CAAC,qBAAqB,CAAC,OAAO,CAAC,CAAC,CACrD,CAAC;AACN,CAAC"} \ No newline at end of file +{"version":3,"file":"switch-exhaustiveness-check.js","sourceRoot":"","sources":["../../src/rules/switch-exhaustiveness-check.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEA,sDAAwC;AACxC,+CAAiC;AAEjC,kCASiB;AAwCjB,kBAAe,IAAA,iBAAU,EAAsB;IAC7C,IAAI,EAAE,6BAA6B;IACnC,IAAI,EAAE;QACJ,IAAI,EAAE,YAAY;QAClB,IAAI,EAAE;YACJ,WAAW,EAAE,iDAAiD;YAC9D,oBAAoB,EAAE,IAAI;SAC3B;QACD,cAAc,EAAE,IAAI;QACpB,QAAQ,EAAE;YACR,eAAe,EAAE,iCAAiC;YAClD,oBAAoB,EAClB,yEAAyE;YAC3E,qBAAqB,EACnB,kEAAkE;SACrE;QACD,MAAM,EAAE;YACN;gBACE,IAAI,EAAE,QAAQ;gBACd,oBAAoB,EAAE,KAAK;gBAC3B,UAAU,EAAE;oBACV,mCAAmC,EAAE;wBACnC,IAAI,EAAE,SAAS;wBACf,WAAW,EAAE,8EAA8E;qBAC5F;oBACD,kCAAkC,EAAE;wBAClC,IAAI,EAAE,SAAS;wBACf,WAAW,EAAE,gHAAgH;qBAC9H;oBACD,yBAAyB,EAAE;wBACzB,IAAI,EAAE,SAAS;wBACf,WAAW,EAAE,wEAAwE;qBACtF;iBACF;aACF;SACF;KACF;IACD,cAAc,EAAE;QACd;YACE,mCAAmC,EAAE,IAAI;YACzC,kCAAkC,EAAE,KAAK;YACzC,yBAAyB,EAAE,KAAK;SACjC;KACF;IACD,MAAM,CACJ,OAAO,EACP,CACE,EACE,mCAAmC,EACnC,kCAAkC,EAClC,yBAAyB,GAC1B,EACF;QAED,MAAM,QAAQ,GAAG,IAAA,wBAAiB,EAAC,OAAO,CAAC,CAAC;QAC5C,MAAM,OAAO,GAAG,QAAQ,CAAC,OAAO,CAAC,cAAc,EAAE,CAAC;QAClD,MAAM,eAAe,GAAG,QAAQ,CAAC,OAAO,CAAC,kBAAkB,EAAE,CAAC;QAE9D,SAAS,iBAAiB,CAAC,IAA8B;YACvD,MAAM,WAAW,GAAG,IAAI,CAAC,KAAK,CAAC,IAAI,CACjC,UAAU,CAAC,EAAE,CAAC,UAAU,CAAC,IAAI,IAAI,IAAI,CACtC,CAAC;YAEF,MAAM,gBAAgB,GAAG,IAAA,mCAA4B,EACnD,QAAQ,EACR,IAAI,CAAC,YAAY,CAClB,CAAC;YAEF,MAAM,UAAU,GAAG,gBAAgB,CAAC,SAAS,EAAE,EAAE,WAEpC,CAAC;YAEd,MAAM,sBAAsB,GAC1B,6BAA6B,CAAC,gBAAgB,CAAC,CAAC;YAElD,MAAM,SAAS,GAAG,IAAI,GAAG,EAAW,CAAC;YACrC,KAAK,MAAM,UAAU,IAAI,IAAI,CAAC,KAAK,EAAE,CAAC;gBACpC,wEAAwE;gBACxE,kBAAkB;gBAClB,IAAI,UAAU,CAAC,IAAI,IAAI,IAAI,EAAE,CAAC;oBAC5B,SAAS;gBACX,CAAC;gBAED,MAAM,QAAQ,GAAG,IAAA,mCAA4B,EAC3C,QAAQ,EACR,UAAU,CAAC,IAAI,CAChB,CAAC;gBACF,SAAS,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAC;YAC1B,CAAC;YAED,MAAM,yBAAyB,GAAc,EAAE,CAAC;YAEhD,KAAK,MAAM,SAAS,IAAI,OAAO,CAAC,cAAc,CAAC,gBAAgB,CAAC,EAAE,CAAC;gBACjE,KAAK,MAAM,gBAAgB,IAAI,OAAO,CAAC,qBAAqB,CAC1D,SAAS,CACV,EAAE,CAAC;oBACF,IACE,SAAS,CAAC,GAAG,CAAC,gBAAgB,CAAC;wBAC/B,CAAC,qBAAqB,CAAC,gBAAgB,CAAC,EACxC,CAAC;wBACD,SAAS;oBACX,CAAC;oBAED,6EAA6E;oBAC7E,qDAAqD;oBACrD,IACE,CAAC,GAAG,SAAS,CAAC,CAAC,IAAI,CAAC,OAAO,CAAC,wBAAwB,CAAC;wBACrD,OAAO,CAAC,wBAAwB,CAAC,gBAAgB,CAAC,EAClD,CAAC;wBACD,SAAS;oBACX,CAAC;oBAED,yBAAyB,CAAC,IAAI,CAAC,gBAAgB,CAAC,CAAC;gBACnD,CAAC;YACH,CAAC;YAED,OAAO;gBACL,sBAAsB;gBACtB,WAAW;gBACX,yBAAyB;gBACzB,UAAU;aACX,CAAC;QACJ,CAAC;QAED,SAAS,qBAAqB,CAC5B,IAA8B,EAC9B,cAA8B;YAE9B,MAAM,EAAE,WAAW,EAAE,yBAAyB,EAAE,UAAU,EAAE,GAC1D,cAAc,CAAC;YAEjB,mFAAmF;YACnF,sCAAsC;YACtC,IAAI,kCAAkC,IAAI,WAAW,IAAI,IAAI,EAAE,CAAC;gBAC9D,OAAO;YACT,CAAC;YAED,IAAI,yBAAyB,CAAC,MAAM,GAAG,CAAC,EAAE,CAAC;gBACzC,OAAO,CAAC,MAAM,CAAC;oBACb,IAAI,EAAE,IAAI,CAAC,YAAY;oBACvB,SAAS,EAAE,uBAAuB;oBAClC,IAAI,EAAE;wBACJ,eAAe,EAAE,yBAAyB;6BACvC,GAAG,CAAC,WAAW,CAAC,EAAE,CACjB,OAAO,CAAC,aAAa,CAAC,WAAW,EAAE,EAAE,CAAC,SAAS,CAAC,YAAY,CAAC;4BAC3D,CAAC,CAAC,UAAU,WAAW,CAAC,SAAS,EAAE,EAAE,WAAqB,EAAE;4BAC5D,CAAC,CAAC,OAAO,CAAC,YAAY,CAAC,WAAW,CAAC,CACtC;6BACA,IAAI,CAAC,KAAK,CAAC;qBACf;oBACD,OAAO,EAAE;wBACP;4BACE,SAAS,EAAE,iBAAiB;4BAC5B,GAAG,CAAC,KAAK;gCACP,OAAO,SAAS,CACd,KAAK,EACL,IAAI,EACJ,yBAAyB,EACzB,UAAU,EAAE,QAAQ,EAAE,CACvB,CAAC;4BACJ,CAAC;yBACF;qBACF;iBACF,CAAC,CAAC;YACL,CAAC;QACH,CAAC;QAED,SAAS,SAAS,CAChB,KAAyB,EACzB,IAA8B,EAC9B,kBAAsC,EAAE,4BAA4B;QACpE,UAAmB;YAEnB,MAAM,QAAQ,GACZ,IAAI,CAAC,KAAK,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC;YACnE,MAAM,WAAW,GAAG,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,MAAM,CAAC,EAAE,CAAC,MAAM,CAAC,IAAI,IAAI,IAAI,CAAC,CAAC;YAEnE,MAAM,UAAU,GAAG,QAAQ;gBACzB,CAAC,CAAC,GAAG,CAAC,MAAM,CAAC,QAAQ,CAAC,GAAG,CAAC,KAAK,CAAC,MAAM,CAAC;gBACvC,CAAC,CAAC,qEAAqE;oBACrE,+CAA+C;oBAC/C,GAAG,CAAC,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;YAEtC,MAAM,YAAY,GAAG,EAAE,CAAC;YACxB,KAAK,MAAM,iBAAiB,IAAI,kBAAkB,EAAE,CAAC;gBACnD,IAAI,iBAAiB,IAAI,IAAI,EAAE,CAAC;oBAC9B,YAAY,CAAC,IAAI,CAAC,8CAA8C,CAAC,CAAC;oBAClE,SAAS;gBACX,CAAC;gBAED,MAAM,iBAAiB,GAAG,iBAAiB,CAAC,SAAS,EAAE,EAAE,WAAW,CAAC;gBACrE,IAAI,QAAQ,GAAG,OAAO,CAAC,aAAa,CAClC,iBAAiB,EACjB,EAAE,CAAC,SAAS,CAAC,YAAY,CAC1B;oBACC,CAAC,CAAC,oEAAoE;wBACpE,iBAAkB;oBACpB,CAAC,CAAC,OAAO,CAAC,YAAY,CAAC,iBAAiB,CAAC,CAAC;gBAE5C,IACE,UAAU;oBACV,CAAC,iBAAiB,IAAI,iBAAiB,KAAK,EAAE,CAAC;oBAC/C,IAAA,sBAAe,EAAC,iBAAiB,CAAC,QAAQ,EAAE,EAAE,eAAe,CAAC,MAAM,CAAC,EACrE,CAAC;oBACD,MAAM,iBAAiB,GAAG,iBAAiB;yBACxC,UAAU,CAAC,GAAG,EAAE,KAAK,CAAC;yBACtB,UAAU,CAAC,IAAI,EAAE,KAAK,CAAC;yBACvB,UAAU,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;oBAE3B,QAAQ,GAAG,GAAG,UAAU,KAAK,iBAAiB,IAAI,CAAC;gBACrD,CAAC;gBAED,YAAY,CAAC,IAAI,CACf,QAAQ,QAAQ,6CAA6C,QAAQ;qBAClE,UAAU,CAAC,IAAI,EAAE,MAAM,CAAC;qBACxB,UAAU,CAAC,GAAG,EAAE,KAAK,CAAC,WAAW,CACrC,CAAC;YACJ,CAAC;YAED,MAAM,SAAS,GAAG,YAAY;iBAC3B,GAAG,CAAC,IAAI,CAAC,EAAE,CAAC,GAAG,UAAU,GAAG,IAAI,EAAE,CAAC;iBACnC,IAAI,CAAC,IAAI,CAAC,CAAC;YAEd,IAAI,QAAQ,EAAE,CAAC;gBACb,IAAI,WAAW,EAAE,CAAC;oBAChB,MAAM,eAAe,GAAG,YAAY;yBACjC,GAAG,CAAC,IAAI,CAAC,EAAE,CAAC,GAAG,IAAI,KAAK,UAAU,EAAE,CAAC;yBACrC,IAAI,CAAC,EAAE,CAAC,CAAC;oBAEZ,OAAO,KAAK,CAAC,gBAAgB,CAAC,WAAW,EAAE,eAAe,CAAC,CAAC;gBAC9D,CAAC;gBACD,OAAO,KAAK,CAAC,eAAe,CAAC,QAAQ,EAAE,KAAK,SAAS,EAAE,CAAC,CAAC;YAC3D,CAAC;YAED,gCAAgC;YAChC,MAAM,YAAY,GAAG,IAAA,iBAAU,EAC7B,OAAO,CAAC,UAAU,CAAC,aAAa,CAC9B,IAAI,CAAC,YAAY,EACjB,0BAAmB,CACpB,EACD,wBAAiB,CAAC,YAAY,CAAC,GAAG,EAAE,cAAc,CAAC,CACpD,CAAC;YACF,MAAM,YAAY,GAAG,IAAA,iBAAU,EAC7B,OAAO,CAAC,UAAU,CAAC,aAAa,CAC9B,IAAI,CAAC,YAAY,EACjB,0BAAmB,CACpB,EACD,wBAAiB,CAAC,YAAY,CAAC,GAAG,EAAE,cAAc,CAAC,CACpD,CAAC;YAEF,OAAO,KAAK,CAAC,gBAAgB,CAC3B,CAAC,YAAY,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,YAAY,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EAC9C,CAAC,GAAG,EAAE,SAAS,EAAE,GAAG,UAAU,GAAG,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAC9C,CAAC;QACJ,CAAC;QAED,SAAS,iCAAiC,CACxC,cAA8B;YAE9B,IAAI,mCAAmC,EAAE,CAAC;gBACxC,OAAO;YACT,CAAC;YAED,MAAM,EAAE,sBAAsB,EAAE,WAAW,EAAE,yBAAyB,EAAE,GACtE,cAAc,CAAC;YAEjB,IACE,yBAAyB,CAAC,MAAM,KAAK,CAAC;gBACtC,WAAW,KAAK,SAAS;gBACzB,CAAC,sBAAsB,EACvB,CAAC;gBACD,OAAO,CAAC,MAAM,CAAC;oBACb,IAAI,EAAE,WAAW;oBACjB,SAAS,EAAE,sBAAsB;iBAClC,CAAC,CAAC;YACL,CAAC;QACH,CAAC;QAED,SAAS,6BAA6B,CACpC,IAA8B,EAC9B,cAA8B;YAE9B,IAAI,CAAC,yBAAyB,EAAE,CAAC;gBAC/B,OAAO;YACT,CAAC;YAED,MAAM,EAAE,sBAAsB,EAAE,WAAW,EAAE,GAAG,cAAc,CAAC;YAE/D,IAAI,sBAAsB,IAAI,WAAW,KAAK,SAAS,EAAE,CAAC;gBACxD,OAAO,CAAC,MAAM,CAAC;oBACb,IAAI,EAAE,IAAI,CAAC,YAAY;oBACvB,SAAS,EAAE,uBAAuB;oBAClC,IAAI,EAAE,EAAE,eAAe,EAAE,SAAS,EAAE;oBACpC,OAAO,EAAE;wBACP;4BACE,SAAS,EAAE,iBAAiB;4BAC5B,GAAG,CAAC,KAAK;gCACP,OAAO,SAAS,CAAC,KAAK,EAAE,IAAI,EAAE,CAAC,IAAI,CAAC,CAAC,CAAC;4BACxC,CAAC;yBACF;qBACF;iBACF,CAAC,CAAC;YACL,CAAC;QACH,CAAC;QAED,OAAO;YACL,eAAe,CAAC,IAAI;gBAClB,MAAM,cAAc,GAAG,iBAAiB,CAAC,IAAI,CAAC,CAAC;gBAE/C,qBAAqB,CAAC,IAAI,EAAE,cAAc,CAAC,CAAC;gBAC5C,iCAAiC,CAAC,cAAc,CAAC,CAAC;gBAClD,6BAA6B,CAAC,IAAI,EAAE,cAAc,CAAC,CAAC;YACtD,CAAC;SACF,CAAC;IACJ,CAAC;CACF,CAAC,CAAC;AAEH,SAAS,qBAAqB,CAAC,IAAa;IAC1C,OAAO,OAAO,CAAC,aAAa,CAC1B,IAAI,EACJ,EAAE,CAAC,SAAS,CAAC,OAAO;QAClB,EAAE,CAAC,SAAS,CAAC,SAAS;QACtB,EAAE,CAAC,SAAS,CAAC,IAAI;QACjB,EAAE,CAAC,SAAS,CAAC,cAAc,CAC9B,CAAC;AACJ,CAAC;AAED;;;;;;;;GAQG;AACH,SAAS,6BAA6B,CAAC,IAAa;IAClD,OAAO,OAAO;SACX,cAAc,CAAC,IAAI,CAAC;SACpB,IAAI,CAAC,IAAI,CAAC,EAAE,CACX,OAAO;SACJ,qBAAqB,CAAC,IAAI,CAAC;SAC3B,KAAK,CAAC,OAAO,CAAC,EAAE,CAAC,CAAC,qBAAqB,CAAC,OAAO,CAAC,CAAC,CACrD,CAAC;AACN,CAAC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/unbound-method.js b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/unbound-method.js index ad3063373a..ec08126d2b 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/unbound-method.js +++ b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/unbound-method.js @@ -15,13 +15,23 @@ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? ( }) : function(o, v) { o["default"] = v; }); -var __importStar = (this && this.__importStar) || function (mod) { - if (mod && mod.__esModule) return mod; - var result = {}; - if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k); - __setModuleDefault(result, mod); - return result; -}; +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); Object.defineProperty(exports, "__esModule", { value: true }); const utils_1 = require("@typescript-eslint/utils"); const tsutils = __importStar(require("ts-api-utils")); diff --git a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/unbound-method.js.map b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/unbound-method.js.map index ff3f60805a..4c530b037c 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/unbound-method.js.map +++ b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/unbound-method.js.map @@ -1 +1 @@ -{"version":3,"file":"unbound-method.js","sourceRoot":"","sources":["../../src/rules/unbound-method.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AAEA,oDAA0D;AAC1D,sDAAwC;AACxC,+CAAiC;AAEjC,kCAMiB;AAcjB;;;;;;;;;;GAUG;AACH,MAAM,iBAAiB,GAAG;IACxB,QAAQ;IACR,QAAQ;IACR,QAAQ,EAAE,wEAAwE;IAClF,QAAQ;IACR,QAAQ;IACR,OAAO;IACP,OAAO;IACP,MAAM;IACN,SAAS;IACT,SAAS;IACT,SAAS;IACT,MAAM;IACN,MAAM;IACN,MAAM;CACE,CAAC;AACX,MAAM,oBAAoB,GAAG,IAAI,GAAG,CAClC,iBAAiB,CAAC,OAAO,CAAC,SAAS,CAAC,EAAE;IACpC,IAAI,CAAC,CAAC,SAAS,IAAI,MAAM,CAAC,EAAE,CAAC;QAC3B,+EAA+E;QAC/E,qEAAqE;QACrE,OAAO,EAAE,CAAC;IACZ,CAAC;IACD,MAAM,MAAM,GAAG,MAAM,CAAC,SAAS,CAAC,CAAC;IACjC,OAAO,MAAM,CAAC,mBAAmB,CAAC,MAAM,CAAC;SACtC,MAAM,CACL,IAAI,CAAC,EAAE,CACL,CAAC,IAAI,CAAC,UAAU,CAAC,GAAG,CAAC;QACrB,OAAQ,MAAkC,CAAC,IAAI,CAAC,KAAK,UAAU,CAClE;SACA,GAAG,CAAC,IAAI,CAAC,EAAE,CAAC,GAAG,SAAS,IAAI,IAAI,EAAE,CAAC,CAAC;AACzC,CAAC,CAAC,CACH,CAAC;AAEF,MAAM,sBAAsB,GAAG;IAC7B,mBAAmB;IACnB,mBAAmB;IACnB,mBAAmB;IACnB,mBAAmB;IACnB,kBAAkB;IAClB,OAAO;IACP,kBAAkB;IAClB,SAAS;IACT,iBAAiB;IACjB,SAAS;IACT,MAAM;IACN,MAAM;CACP,CAAC;AAEF,MAAM,aAAa,GAAG,CACpB,MAAiB,EACjB,iBAA4C,EACnC,EAAE;IACX,MAAM,EAAE,gBAAgB,EAAE,GAAG,MAAM,CAAC;IACpC,IAAI,CAAC,gBAAgB,EAAE,CAAC;QACtB,sEAAsE;QACtE,OAAO,KAAK,CAAC;IACf,CAAC;IAED,OAAO,CACL,CAAC,CAAC,iBAAiB;QACnB,iBAAiB,KAAK,gBAAgB,CAAC,aAAa,EAAE,CACvD,CAAC;AACJ,CAAC,CAAC;AAEF,MAAM,YAAY,GAChB,oFAAoF,CAAC;AAEvF,kBAAe,IAAA,iBAAU,EAAsB;IAC7C,IAAI,EAAE,gBAAgB;IACtB,IAAI,EAAE;QACJ,IAAI,EAAE,SAAS;QACf,IAAI,EAAE;YACJ,WAAW,EACT,8DAA8D;YAChE,WAAW,EAAE,aAAa;YAC1B,oBAAoB,EAAE,IAAI;SAC3B;QACD,QAAQ,EAAE;YACR,OAAO,EAAE,YAAY;YACrB,4BAA4B,EAAE,GAAG,YAAY,oIAAoI;SAClL;QACD,MAAM,EAAE;YACN;gBACE,IAAI,EAAE,QAAQ;gBACd,oBAAoB,EAAE,KAAK;gBAC3B,UAAU,EAAE;oBACV,YAAY,EAAE;wBACZ,IAAI,EAAE,SAAS;wBACf,WAAW,EACT,wEAAwE;qBAC3E;iBACF;aACF;SACF;KACF;IACD,cAAc,EAAE;QACd;YACE,YAAY,EAAE,KAAK;SACpB;KACF;IACD,MAAM,CAAC,OAAO,EAAE,CAAC,EAAE,YAAY,EAAE,CAAC;QAChC,MAAM,QAAQ,GAAG,IAAA,wBAAiB,EAAC,OAAO,CAAC,CAAC;QAC5C,MAAM,iBAAiB,GAAG,QAAQ,CAAC,OAAO,CAAC,aAAa,CAAC,OAAO,CAAC,QAAQ,CAAC,CAAC;QAE3E,SAAS,sBAAsB,CAC7B,IAAmB,EACnB,MAA6B;YAE7B,IAAI,CAAC,MAAM,EAAE,CAAC;gBACZ,OAAO,KAAK,CAAC;YACf,CAAC;YAED,MAAM,EAAE,SAAS,EAAE,gBAAgB,EAAE,GAAG,aAAa,CACnD,MAAM,EACN,YAAY,CACb,CAAC;YACF,IAAI,SAAS,EAAE,CAAC;gBACd,OAAO,CAAC,MAAM,CAAC;oBACb,IAAI;oBACJ,SAAS,EACP,gBAAgB,KAAK,KAAK;wBACxB,CAAC,CAAC,8BAA8B;wBAChC,CAAC,CAAC,SAAS;iBAChB,CAAC,CAAC;gBACH,OAAO,IAAI,CAAC;YACd,CAAC;YACD,OAAO,KAAK,CAAC;QACf,CAAC;QAED,SAAS,eAAe,CACtB,MAAqB,EACrB,QAAuB;YAEvB,0EAA0E;YAC1E,oEAAoE;YACpE,2EAA2E;YAC3E,2EAA2E;YAC3E,iBAAiB;YACjB,EAAE;YACF,iHAAiH;YACjH,IACE,MAAM,CAAC,IAAI,KAAK,sBAAc,CAAC,UAAU;gBACzC,QAAQ,CAAC,IAAI,KAAK,sBAAc,CAAC,UAAU,EAC3C,CAAC;gBACD,MAAM,YAAY,GAAG,QAAQ,CAAC,mBAAmB,CAAC,MAAM,CAAC,CAAC;gBAC1D,MAAM,WAAW,GACf,YAAY,IAAI,IAAI;oBACpB,aAAa,CAAC,YAAY,EAAE,iBAAiB,CAAC,CAAC;gBAEjD,IACE,WAAW;oBACX,oBAAoB,CAAC,GAAG,CAAC,GAAG,MAAM,CAAC,IAAI,IAAI,QAAQ,CAAC,IAAI,EAAE,CAAC,EAC3D,CAAC;oBACD,OAAO,IAAI,CAAC;gBACd,CAAC;YACH,CAAC;YAED,4DAA4D;YAC5D,kEAAkE;YAClE,OAAO,CACL,IAAA,0BAAmB,EACjB,QAAQ,CAAC,OAAO,EAChB,QAAQ,CAAC,iBAAiB,CAAC,MAAM,CAAC,EAClC,sBAAsB,CACvB;gBACD,IAAA,iCAA0B,EACxB,QAAQ,CAAC,OAAO,EAChB,QAAQ,CAAC,iBAAiB,CAAC,QAAQ,CAAC,CAAC,SAAS,EAAE,CACjD,CACF,CAAC;QACJ,CAAC;QAED,OAAO;YACL,gBAAgB,CAAC,IAA+B;gBAC9C,IAAI,SAAS,CAAC,IAAI,CAAC,IAAI,eAAe,CAAC,IAAI,CAAC,MAAM,EAAE,IAAI,CAAC,QAAQ,CAAC,EAAE,CAAC;oBACnE,OAAO;gBACT,CAAC;gBAED,sBAAsB,CAAC,IAAI,EAAE,QAAQ,CAAC,mBAAmB,CAAC,IAAI,CAAC,CAAC,CAAC;YACnE,CAAC;YACD,aAAa,CAAC,IAAI;gBAChB,IAAI,2BAA2B,CAAC,IAAI,CAAC,EAAE,CAAC;oBACtC,OAAO;gBACT,CAAC;gBACD,IAAI,QAAQ,GAAyB,IAAI,CAAC;gBAC1C,IAAI,IAAI,CAAC,MAAM,CAAC,IAAI,KAAK,sBAAc,CAAC,kBAAkB,EAAE,CAAC;oBAC3D,QAAQ,GAAG,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC;gBAC9B,CAAC;qBAAM,IACL,IAAI,CAAC,MAAM,CAAC,IAAI,KAAK,sBAAc,CAAC,iBAAiB;oBACrD,IAAI,CAAC,MAAM,CAAC,IAAI,KAAK,sBAAc,CAAC,oBAAoB,EACxD,CAAC;oBACD,QAAQ,GAAG,IAAI,CAAC,MAAM,CAAC,KAAK,CAAC;gBAC/B,CAAC;gBAED,KAAK,MAAM,QAAQ,IAAI,IAAI,CAAC,UAAU,EAAE,CAAC;oBACvC,IACE,QAAQ,CAAC,IAAI,KAAK,sBAAc,CAAC,QAAQ;wBACzC,QAAQ,CAAC,GAAG,CAAC,IAAI,KAAK,sBAAc,CAAC,UAAU,EAC/C,CAAC;wBACD,SAAS;oBACX,CAAC;oBAED,IAAI,QAAQ,EAAE,CAAC;wBACb,IAAI,CAAC,eAAe,CAAC,QAAQ,EAAE,QAAQ,CAAC,GAAG,CAAC,EAAE,CAAC;4BAC7C,MAAM,QAAQ,GAAG,sBAAsB,CACrC,QAAQ,CAAC,GAAG,EACZ,QAAQ;iCACL,iBAAiB,CAAC,QAAQ,CAAC;iCAC3B,WAAW,CAAC,QAAQ,CAAC,GAAG,CAAC,IAAI,CAAC,CAClC,CAAC;4BACF,IAAI,QAAQ,EAAE,CAAC;gCACb,SAAS;4BACX,CAAC;4BACD,2DAA2D;4BAC3D,+DAA+D;4BAC/D,iBAAiB;4BACjB,wDAAwD;wBAC1D,CAAC;6BAAM,IAAI,IAAI,CAAC,MAAM,CAAC,IAAI,KAAK,sBAAc,CAAC,iBAAiB,EAAE,CAAC;4BACjE,SAAS;wBACX,CAAC;oBACH,CAAC;oBAED,KAAK,MAAM,gBAAgB,IAAI,OAAO;yBACnC,cAAc,CAAC,QAAQ,CAAC,iBAAiB,CAAC,IAAI,CAAC,CAAC;yBAChD,OAAO,CAAC,SAAS,CAAC,EAAE,CAAC,OAAO,CAAC,qBAAqB,CAAC,SAAS,CAAC,CAAC,EAAE,CAAC;wBAClE,MAAM,QAAQ,GAAG,sBAAsB,CACrC,QAAQ,CAAC,GAAG,EACZ,gBAAgB,CAAC,WAAW,CAAC,QAAQ,CAAC,GAAG,CAAC,IAAI,CAAC,CAChD,CAAC;wBACF,IAAI,QAAQ,EAAE,CAAC;4BACb,MAAM;wBACR,CAAC;oBACH,CAAC;gBACH,CAAC;YACH,CAAC;SACF,CAAC;IACJ,CAAC;CACF,CAAC,CAAC;AAEH,SAAS,2BAA2B,CAAC,IAAmB;IACtD,IAAI,MAAM,GAA8B,IAAI,CAAC;IAC7C,OAAO,CAAC,MAAM,GAAG,MAAM,CAAC,MAAM,CAAC,EAAE,CAAC;QAChC,IACE,CAAC,MAAM,CAAC,IAAI,KAAK,sBAAc,CAAC,gBAAgB,IAAI,MAAM,CAAC,OAAO,CAAC;YACnE,MAAM,CAAC,IAAI,KAAK,sBAAc,CAAC,0BAA0B;YACzD,MAAM,CAAC,IAAI,KAAK,sBAAc,CAAC,iBAAiB;YAChD,MAAM,CAAC,IAAI,KAAK,sBAAc,CAAC,cAAc;YAC7C,MAAM,CAAC,IAAI,KAAK,sBAAc,CAAC,sBAAsB;YACrD,MAAM,CAAC,IAAI,KAAK,sBAAc,CAAC,sBAAsB;YACrD,CAAC,MAAM,CAAC,IAAI,KAAK,sBAAc,CAAC,mBAAmB,IAAI,MAAM,CAAC,OAAO,CAAC,EACtE,CAAC;YACD,OAAO,IAAI,CAAC;QACd,CAAC;IACH,CAAC;IACD,OAAO,KAAK,CAAC;AACf,CAAC;AAOD,SAAS,aAAa,CACpB,MAAiB,EACjB,YAAqB;IAErB,MAAM,EAAE,gBAAgB,EAAE,GAAG,MAAM,CAAC;IACpC,IAAI,CAAC,gBAAgB,EAAE,CAAC;QACtB,sEAAsE;QACtE,OAAO,EAAE,SAAS,EAAE,KAAK,EAAE,CAAC;IAC9B,CAAC;IAED,QAAQ,gBAAgB,CAAC,IAAI,EAAE,CAAC;QAC9B,KAAK,EAAE,CAAC,UAAU,CAAC,mBAAmB;YACpC,OAAO;gBACL,SAAS,EACN,gBAA2C,CAAC,WAAW,EAAE,IAAI;oBAC9D,EAAE,CAAC,UAAU,CAAC,kBAAkB;aACnC,CAAC;QACJ,KAAK,EAAE,CAAC,UAAU,CAAC,kBAAkB,CAAC,CAAC,CAAC;YACtC,MAAM,QAAQ,GAAI,gBAA0C,CAAC,WAAW,CAAC;YACzE,IAAI,QAAQ,CAAC,IAAI,KAAK,EAAE,CAAC,UAAU,CAAC,kBAAkB,EAAE,CAAC;gBACvD,OAAO;oBACL,SAAS,EAAE,KAAK;iBACjB,CAAC;YACJ,CAAC;YACD,OAAO,WAAW,CAAC,QAAiC,EAAE,YAAY,CAAC,CAAC;QACtE,CAAC;QACD,KAAK,EAAE,CAAC,UAAU,CAAC,iBAAiB,CAAC;QACrC,KAAK,EAAE,CAAC,UAAU,CAAC,eAAe,CAAC,CAAC,CAAC;YACnC,OAAO,WAAW,CAChB,gBAA6D,EAC7D,YAAY,CACb,CAAC;QACJ,CAAC;IACH,CAAC;IAED,OAAO,EAAE,SAAS,EAAE,KAAK,EAAE,CAAC;AAC9B,CAAC;AAED,SAAS,WAAW,CAClB,gBAGsB,EACtB,YAAqB;IAErB,MAAM,UAAU,GAAG,gBAAgB,CAAC,UAAU,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC;IACrD,MAAM,gBAAgB,GACpB,UAAU,EAAE,IAAI,CAAC,IAAI,KAAK,EAAE,CAAC,UAAU,CAAC,UAAU;QAClD,wEAAwE;QACxE,UAAU,CAAC,IAAI,CAAC,WAAW,KAAK,MAAM,CAAC;IACzC,MAAM,aAAa,GACjB,gBAAgB,IAAI,UAAU,CAAC,IAAI,EAAE,IAAI,KAAK,EAAE,CAAC,UAAU,CAAC,WAAW,CAAC;IAE1E,OAAO;QACL,SAAS,EACP,CAAC,aAAa;YACd,CAAC,CACC,YAAY;gBACZ,OAAO,CAAC,gBAAgB,CACtB,IAAA,mBAAY,EAAC,gBAAgB,CAAC,EAC9B,EAAE,CAAC,UAAU,CAAC,aAAa,CAC5B,CACF;QACH,gBAAgB;KACjB,CAAC;AACJ,CAAC;AAED,SAAS,SAAS,CAAC,IAAmB;IACpC,MAAM,MAAM,GAAG,IAAI,CAAC,MAAM,CAAC;IAE3B,QAAQ,MAAM,EAAE,IAAI,EAAE,CAAC;QACrB,KAAK,sBAAc,CAAC,WAAW,CAAC;QAChC,KAAK,sBAAc,CAAC,YAAY,CAAC;QACjC,KAAK,sBAAc,CAAC,gBAAgB,CAAC;QACrC,KAAK,sBAAc,CAAC,eAAe,CAAC;QACpC,KAAK,sBAAc,CAAC,gBAAgB,CAAC;QACrC,KAAK,sBAAc,CAAC,cAAc;YAChC,OAAO,IAAI,CAAC;QAEd,KAAK,sBAAc,CAAC,cAAc;YAChC,OAAO,MAAM,CAAC,MAAM,KAAK,IAAI,CAAC;QAEhC,KAAK,sBAAc,CAAC,qBAAqB;YACvC,OAAO,MAAM,CAAC,IAAI,KAAK,IAAI,CAAC;QAE9B,KAAK,sBAAc,CAAC,wBAAwB;YAC1C,OAAO,MAAM,CAAC,GAAG,KAAK,IAAI,CAAC;QAE7B,KAAK,sBAAc,CAAC,eAAe;YACjC,qCAAqC;YACrC,uCAAuC;YACvC,wCAAwC;YACxC,OAAO,CAAC,GAAG,EAAE,QAAQ,EAAE,QAAQ,EAAE,MAAM,CAAC,CAAC,QAAQ,CAAC,MAAM,CAAC,QAAQ,CAAC,CAAC;QAErE,KAAK,sBAAc,CAAC,gBAAgB;YAClC,OAAO,CAAC,IAAI,EAAE,KAAK,EAAE,IAAI,EAAE,KAAK,EAAE,YAAY,CAAC,CAAC,QAAQ,CAAC,MAAM,CAAC,QAAQ,CAAC,CAAC;QAE5E,KAAK,sBAAc,CAAC,oBAAoB;YACtC,OAAO,CACL,MAAM,CAAC,QAAQ,KAAK,GAAG;gBACvB,CAAC,IAAI,KAAK,MAAM,CAAC,IAAI;oBACnB,CAAC,IAAI,CAAC,IAAI,KAAK,sBAAc,CAAC,gBAAgB;wBAC5C,IAAI,CAAC,MAAM,CAAC,IAAI,KAAK,sBAAc,CAAC,KAAK;wBACzC,MAAM,CAAC,IAAI,CAAC,IAAI,KAAK,sBAAc,CAAC,gBAAgB;wBACpD,MAAM,CAAC,IAAI,CAAC,MAAM,CAAC,IAAI,KAAK,sBAAc,CAAC,cAAc,CAAC,CAAC,CAChE,CAAC;QAEJ,KAAK,sBAAc,CAAC,eAAe,CAAC;QACpC,KAAK,sBAAc,CAAC,mBAAmB,CAAC;QACxC,KAAK,sBAAc,CAAC,cAAc,CAAC;QACnC,KAAK,sBAAc,CAAC,eAAe;YACjC,OAAO,SAAS,CAAC,MAAM,CAAC,CAAC;QAE3B,KAAK,sBAAc,CAAC,iBAAiB;YACnC,IAAI,MAAM,CAAC,QAAQ,KAAK,IAAI,IAAI,MAAM,CAAC,IAAI,KAAK,IAAI,EAAE,CAAC;gBACrD,qEAAqE;gBACrE,OAAO,IAAI,CAAC;YACd,CAAC;YAED,oFAAoF;YACpF,0CAA0C;YAC1C,OAAO,SAAS,CAAC,MAAM,CAAC,CAAC;IAC7B,CAAC;IAED,OAAO,KAAK,CAAC;AACf,CAAC"} \ No newline at end of file +{"version":3,"file":"unbound-method.js","sourceRoot":"","sources":["../../src/rules/unbound-method.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEA,oDAA0D;AAC1D,sDAAwC;AACxC,+CAAiC;AAEjC,kCAMiB;AAcjB;;;;;;;;;;GAUG;AACH,MAAM,iBAAiB,GAAG;IACxB,QAAQ;IACR,QAAQ;IACR,QAAQ,EAAE,wEAAwE;IAClF,QAAQ;IACR,QAAQ;IACR,OAAO;IACP,OAAO;IACP,MAAM;IACN,SAAS;IACT,SAAS;IACT,SAAS;IACT,MAAM;IACN,MAAM;IACN,MAAM;CACE,CAAC;AACX,MAAM,oBAAoB,GAAG,IAAI,GAAG,CAClC,iBAAiB,CAAC,OAAO,CAAC,SAAS,CAAC,EAAE;IACpC,IAAI,CAAC,CAAC,SAAS,IAAI,MAAM,CAAC,EAAE,CAAC;QAC3B,+EAA+E;QAC/E,qEAAqE;QACrE,OAAO,EAAE,CAAC;IACZ,CAAC;IACD,MAAM,MAAM,GAAG,MAAM,CAAC,SAAS,CAAC,CAAC;IACjC,OAAO,MAAM,CAAC,mBAAmB,CAAC,MAAM,CAAC;SACtC,MAAM,CACL,IAAI,CAAC,EAAE,CACL,CAAC,IAAI,CAAC,UAAU,CAAC,GAAG,CAAC;QACrB,OAAQ,MAAkC,CAAC,IAAI,CAAC,KAAK,UAAU,CAClE;SACA,GAAG,CAAC,IAAI,CAAC,EAAE,CAAC,GAAG,SAAS,IAAI,IAAI,EAAE,CAAC,CAAC;AACzC,CAAC,CAAC,CACH,CAAC;AAEF,MAAM,sBAAsB,GAAG;IAC7B,mBAAmB;IACnB,mBAAmB;IACnB,mBAAmB;IACnB,mBAAmB;IACnB,kBAAkB;IAClB,OAAO;IACP,kBAAkB;IAClB,SAAS;IACT,iBAAiB;IACjB,SAAS;IACT,MAAM;IACN,MAAM;CACP,CAAC;AAEF,MAAM,aAAa,GAAG,CACpB,MAAiB,EACjB,iBAA4C,EACnC,EAAE;IACX,MAAM,EAAE,gBAAgB,EAAE,GAAG,MAAM,CAAC;IACpC,IAAI,CAAC,gBAAgB,EAAE,CAAC;QACtB,sEAAsE;QACtE,OAAO,KAAK,CAAC;IACf,CAAC;IAED,OAAO,CACL,CAAC,CAAC,iBAAiB;QACnB,iBAAiB,KAAK,gBAAgB,CAAC,aAAa,EAAE,CACvD,CAAC;AACJ,CAAC,CAAC;AAEF,MAAM,YAAY,GAChB,oFAAoF,CAAC;AAEvF,kBAAe,IAAA,iBAAU,EAAsB;IAC7C,IAAI,EAAE,gBAAgB;IACtB,IAAI,EAAE;QACJ,IAAI,EAAE,SAAS;QACf,IAAI,EAAE;YACJ,WAAW,EACT,8DAA8D;YAChE,WAAW,EAAE,aAAa;YAC1B,oBAAoB,EAAE,IAAI;SAC3B;QACD,QAAQ,EAAE;YACR,OAAO,EAAE,YAAY;YACrB,4BAA4B,EAAE,GAAG,YAAY,oIAAoI;SAClL;QACD,MAAM,EAAE;YACN;gBACE,IAAI,EAAE,QAAQ;gBACd,oBAAoB,EAAE,KAAK;gBAC3B,UAAU,EAAE;oBACV,YAAY,EAAE;wBACZ,IAAI,EAAE,SAAS;wBACf,WAAW,EACT,wEAAwE;qBAC3E;iBACF;aACF;SACF;KACF;IACD,cAAc,EAAE;QACd;YACE,YAAY,EAAE,KAAK;SACpB;KACF;IACD,MAAM,CAAC,OAAO,EAAE,CAAC,EAAE,YAAY,EAAE,CAAC;QAChC,MAAM,QAAQ,GAAG,IAAA,wBAAiB,EAAC,OAAO,CAAC,CAAC;QAC5C,MAAM,iBAAiB,GAAG,QAAQ,CAAC,OAAO,CAAC,aAAa,CAAC,OAAO,CAAC,QAAQ,CAAC,CAAC;QAE3E,SAAS,sBAAsB,CAC7B,IAAmB,EACnB,MAA6B;YAE7B,IAAI,CAAC,MAAM,EAAE,CAAC;gBACZ,OAAO,KAAK,CAAC;YACf,CAAC;YAED,MAAM,EAAE,SAAS,EAAE,gBAAgB,EAAE,GAAG,aAAa,CACnD,MAAM,EACN,YAAY,CACb,CAAC;YACF,IAAI,SAAS,EAAE,CAAC;gBACd,OAAO,CAAC,MAAM,CAAC;oBACb,IAAI;oBACJ,SAAS,EACP,gBAAgB,KAAK,KAAK;wBACxB,CAAC,CAAC,8BAA8B;wBAChC,CAAC,CAAC,SAAS;iBAChB,CAAC,CAAC;gBACH,OAAO,IAAI,CAAC;YACd,CAAC;YACD,OAAO,KAAK,CAAC;QACf,CAAC;QAED,SAAS,eAAe,CACtB,MAAqB,EACrB,QAAuB;YAEvB,0EAA0E;YAC1E,oEAAoE;YACpE,2EAA2E;YAC3E,2EAA2E;YAC3E,iBAAiB;YACjB,EAAE;YACF,iHAAiH;YACjH,IACE,MAAM,CAAC,IAAI,KAAK,sBAAc,CAAC,UAAU;gBACzC,QAAQ,CAAC,IAAI,KAAK,sBAAc,CAAC,UAAU,EAC3C,CAAC;gBACD,MAAM,YAAY,GAAG,QAAQ,CAAC,mBAAmB,CAAC,MAAM,CAAC,CAAC;gBAC1D,MAAM,WAAW,GACf,YAAY,IAAI,IAAI;oBACpB,aAAa,CAAC,YAAY,EAAE,iBAAiB,CAAC,CAAC;gBAEjD,IACE,WAAW;oBACX,oBAAoB,CAAC,GAAG,CAAC,GAAG,MAAM,CAAC,IAAI,IAAI,QAAQ,CAAC,IAAI,EAAE,CAAC,EAC3D,CAAC;oBACD,OAAO,IAAI,CAAC;gBACd,CAAC;YACH,CAAC;YAED,4DAA4D;YAC5D,kEAAkE;YAClE,OAAO,CACL,IAAA,0BAAmB,EACjB,QAAQ,CAAC,OAAO,EAChB,QAAQ,CAAC,iBAAiB,CAAC,MAAM,CAAC,EAClC,sBAAsB,CACvB;gBACD,IAAA,iCAA0B,EACxB,QAAQ,CAAC,OAAO,EAChB,QAAQ,CAAC,iBAAiB,CAAC,QAAQ,CAAC,CAAC,SAAS,EAAE,CACjD,CACF,CAAC;QACJ,CAAC;QAED,OAAO;YACL,gBAAgB,CAAC,IAA+B;gBAC9C,IAAI,SAAS,CAAC,IAAI,CAAC,IAAI,eAAe,CAAC,IAAI,CAAC,MAAM,EAAE,IAAI,CAAC,QAAQ,CAAC,EAAE,CAAC;oBACnE,OAAO;gBACT,CAAC;gBAED,sBAAsB,CAAC,IAAI,EAAE,QAAQ,CAAC,mBAAmB,CAAC,IAAI,CAAC,CAAC,CAAC;YACnE,CAAC;YACD,aAAa,CAAC,IAAI;gBAChB,IAAI,2BAA2B,CAAC,IAAI,CAAC,EAAE,CAAC;oBACtC,OAAO;gBACT,CAAC;gBACD,IAAI,QAAQ,GAAyB,IAAI,CAAC;gBAC1C,IAAI,IAAI,CAAC,MAAM,CAAC,IAAI,KAAK,sBAAc,CAAC,kBAAkB,EAAE,CAAC;oBAC3D,QAAQ,GAAG,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC;gBAC9B,CAAC;qBAAM,IACL,IAAI,CAAC,MAAM,CAAC,IAAI,KAAK,sBAAc,CAAC,iBAAiB;oBACrD,IAAI,CAAC,MAAM,CAAC,IAAI,KAAK,sBAAc,CAAC,oBAAoB,EACxD,CAAC;oBACD,QAAQ,GAAG,IAAI,CAAC,MAAM,CAAC,KAAK,CAAC;gBAC/B,CAAC;gBAED,KAAK,MAAM,QAAQ,IAAI,IAAI,CAAC,UAAU,EAAE,CAAC;oBACvC,IACE,QAAQ,CAAC,IAAI,KAAK,sBAAc,CAAC,QAAQ;wBACzC,QAAQ,CAAC,GAAG,CAAC,IAAI,KAAK,sBAAc,CAAC,UAAU,EAC/C,CAAC;wBACD,SAAS;oBACX,CAAC;oBAED,IAAI,QAAQ,EAAE,CAAC;wBACb,IAAI,CAAC,eAAe,CAAC,QAAQ,EAAE,QAAQ,CAAC,GAAG,CAAC,EAAE,CAAC;4BAC7C,MAAM,QAAQ,GAAG,sBAAsB,CACrC,QAAQ,CAAC,GAAG,EACZ,QAAQ;iCACL,iBAAiB,CAAC,QAAQ,CAAC;iCAC3B,WAAW,CAAC,QAAQ,CAAC,GAAG,CAAC,IAAI,CAAC,CAClC,CAAC;4BACF,IAAI,QAAQ,EAAE,CAAC;gCACb,SAAS;4BACX,CAAC;4BACD,2DAA2D;4BAC3D,+DAA+D;4BAC/D,iBAAiB;4BACjB,wDAAwD;wBAC1D,CAAC;6BAAM,IAAI,IAAI,CAAC,MAAM,CAAC,IAAI,KAAK,sBAAc,CAAC,iBAAiB,EAAE,CAAC;4BACjE,SAAS;wBACX,CAAC;oBACH,CAAC;oBAED,KAAK,MAAM,gBAAgB,IAAI,OAAO;yBACnC,cAAc,CAAC,QAAQ,CAAC,iBAAiB,CAAC,IAAI,CAAC,CAAC;yBAChD,OAAO,CAAC,SAAS,CAAC,EAAE,CAAC,OAAO,CAAC,qBAAqB,CAAC,SAAS,CAAC,CAAC,EAAE,CAAC;wBAClE,MAAM,QAAQ,GAAG,sBAAsB,CACrC,QAAQ,CAAC,GAAG,EACZ,gBAAgB,CAAC,WAAW,CAAC,QAAQ,CAAC,GAAG,CAAC,IAAI,CAAC,CAChD,CAAC;wBACF,IAAI,QAAQ,EAAE,CAAC;4BACb,MAAM;wBACR,CAAC;oBACH,CAAC;gBACH,CAAC;YACH,CAAC;SACF,CAAC;IACJ,CAAC;CACF,CAAC,CAAC;AAEH,SAAS,2BAA2B,CAAC,IAAmB;IACtD,IAAI,MAAM,GAA8B,IAAI,CAAC;IAC7C,OAAO,CAAC,MAAM,GAAG,MAAM,CAAC,MAAM,CAAC,EAAE,CAAC;QAChC,IACE,CAAC,MAAM,CAAC,IAAI,KAAK,sBAAc,CAAC,gBAAgB,IAAI,MAAM,CAAC,OAAO,CAAC;YACnE,MAAM,CAAC,IAAI,KAAK,sBAAc,CAAC,0BAA0B;YACzD,MAAM,CAAC,IAAI,KAAK,sBAAc,CAAC,iBAAiB;YAChD,MAAM,CAAC,IAAI,KAAK,sBAAc,CAAC,cAAc;YAC7C,MAAM,CAAC,IAAI,KAAK,sBAAc,CAAC,sBAAsB;YACrD,MAAM,CAAC,IAAI,KAAK,sBAAc,CAAC,sBAAsB;YACrD,CAAC,MAAM,CAAC,IAAI,KAAK,sBAAc,CAAC,mBAAmB,IAAI,MAAM,CAAC,OAAO,CAAC,EACtE,CAAC;YACD,OAAO,IAAI,CAAC;QACd,CAAC;IACH,CAAC;IACD,OAAO,KAAK,CAAC;AACf,CAAC;AAOD,SAAS,aAAa,CACpB,MAAiB,EACjB,YAAqB;IAErB,MAAM,EAAE,gBAAgB,EAAE,GAAG,MAAM,CAAC;IACpC,IAAI,CAAC,gBAAgB,EAAE,CAAC;QACtB,sEAAsE;QACtE,OAAO,EAAE,SAAS,EAAE,KAAK,EAAE,CAAC;IAC9B,CAAC;IAED,QAAQ,gBAAgB,CAAC,IAAI,EAAE,CAAC;QAC9B,KAAK,EAAE,CAAC,UAAU,CAAC,mBAAmB;YACpC,OAAO;gBACL,SAAS,EACN,gBAA2C,CAAC,WAAW,EAAE,IAAI;oBAC9D,EAAE,CAAC,UAAU,CAAC,kBAAkB;aACnC,CAAC;QACJ,KAAK,EAAE,CAAC,UAAU,CAAC,kBAAkB,CAAC,CAAC,CAAC;YACtC,MAAM,QAAQ,GAAI,gBAA0C,CAAC,WAAW,CAAC;YACzE,IAAI,QAAQ,CAAC,IAAI,KAAK,EAAE,CAAC,UAAU,CAAC,kBAAkB,EAAE,CAAC;gBACvD,OAAO;oBACL,SAAS,EAAE,KAAK;iBACjB,CAAC;YACJ,CAAC;YACD,OAAO,WAAW,CAAC,QAAiC,EAAE,YAAY,CAAC,CAAC;QACtE,CAAC;QACD,KAAK,EAAE,CAAC,UAAU,CAAC,iBAAiB,CAAC;QACrC,KAAK,EAAE,CAAC,UAAU,CAAC,eAAe,CAAC,CAAC,CAAC;YACnC,OAAO,WAAW,CAChB,gBAA6D,EAC7D,YAAY,CACb,CAAC;QACJ,CAAC;IACH,CAAC;IAED,OAAO,EAAE,SAAS,EAAE,KAAK,EAAE,CAAC;AAC9B,CAAC;AAED,SAAS,WAAW,CAClB,gBAGsB,EACtB,YAAqB;IAErB,MAAM,UAAU,GAAG,gBAAgB,CAAC,UAAU,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC;IACrD,MAAM,gBAAgB,GACpB,UAAU,EAAE,IAAI,CAAC,IAAI,KAAK,EAAE,CAAC,UAAU,CAAC,UAAU;QAClD,wEAAwE;QACxE,UAAU,CAAC,IAAI,CAAC,WAAW,KAAK,MAAM,CAAC;IACzC,MAAM,aAAa,GACjB,gBAAgB,IAAI,UAAU,CAAC,IAAI,EAAE,IAAI,KAAK,EAAE,CAAC,UAAU,CAAC,WAAW,CAAC;IAE1E,OAAO;QACL,SAAS,EACP,CAAC,aAAa;YACd,CAAC,CACC,YAAY;gBACZ,OAAO,CAAC,gBAAgB,CACtB,IAAA,mBAAY,EAAC,gBAAgB,CAAC,EAC9B,EAAE,CAAC,UAAU,CAAC,aAAa,CAC5B,CACF;QACH,gBAAgB;KACjB,CAAC;AACJ,CAAC;AAED,SAAS,SAAS,CAAC,IAAmB;IACpC,MAAM,MAAM,GAAG,IAAI,CAAC,MAAM,CAAC;IAE3B,QAAQ,MAAM,EAAE,IAAI,EAAE,CAAC;QACrB,KAAK,sBAAc,CAAC,WAAW,CAAC;QAChC,KAAK,sBAAc,CAAC,YAAY,CAAC;QACjC,KAAK,sBAAc,CAAC,gBAAgB,CAAC;QACrC,KAAK,sBAAc,CAAC,eAAe,CAAC;QACpC,KAAK,sBAAc,CAAC,gBAAgB,CAAC;QACrC,KAAK,sBAAc,CAAC,cAAc;YAChC,OAAO,IAAI,CAAC;QAEd,KAAK,sBAAc,CAAC,cAAc;YAChC,OAAO,MAAM,CAAC,MAAM,KAAK,IAAI,CAAC;QAEhC,KAAK,sBAAc,CAAC,qBAAqB;YACvC,OAAO,MAAM,CAAC,IAAI,KAAK,IAAI,CAAC;QAE9B,KAAK,sBAAc,CAAC,wBAAwB;YAC1C,OAAO,MAAM,CAAC,GAAG,KAAK,IAAI,CAAC;QAE7B,KAAK,sBAAc,CAAC,eAAe;YACjC,qCAAqC;YACrC,uCAAuC;YACvC,wCAAwC;YACxC,OAAO,CAAC,GAAG,EAAE,QAAQ,EAAE,QAAQ,EAAE,MAAM,CAAC,CAAC,QAAQ,CAAC,MAAM,CAAC,QAAQ,CAAC,CAAC;QAErE,KAAK,sBAAc,CAAC,gBAAgB;YAClC,OAAO,CAAC,IAAI,EAAE,KAAK,EAAE,IAAI,EAAE,KAAK,EAAE,YAAY,CAAC,CAAC,QAAQ,CAAC,MAAM,CAAC,QAAQ,CAAC,CAAC;QAE5E,KAAK,sBAAc,CAAC,oBAAoB;YACtC,OAAO,CACL,MAAM,CAAC,QAAQ,KAAK,GAAG;gBACvB,CAAC,IAAI,KAAK,MAAM,CAAC,IAAI;oBACnB,CAAC,IAAI,CAAC,IAAI,KAAK,sBAAc,CAAC,gBAAgB;wBAC5C,IAAI,CAAC,MAAM,CAAC,IAAI,KAAK,sBAAc,CAAC,KAAK;wBACzC,MAAM,CAAC,IAAI,CAAC,IAAI,KAAK,sBAAc,CAAC,gBAAgB;wBACpD,MAAM,CAAC,IAAI,CAAC,MAAM,CAAC,IAAI,KAAK,sBAAc,CAAC,cAAc,CAAC,CAAC,CAChE,CAAC;QAEJ,KAAK,sBAAc,CAAC,eAAe,CAAC;QACpC,KAAK,sBAAc,CAAC,mBAAmB,CAAC;QACxC,KAAK,sBAAc,CAAC,cAAc,CAAC;QACnC,KAAK,sBAAc,CAAC,eAAe;YACjC,OAAO,SAAS,CAAC,MAAM,CAAC,CAAC;QAE3B,KAAK,sBAAc,CAAC,iBAAiB;YACnC,IAAI,MAAM,CAAC,QAAQ,KAAK,IAAI,IAAI,MAAM,CAAC,IAAI,KAAK,IAAI,EAAE,CAAC;gBACrD,qEAAqE;gBACrE,OAAO,IAAI,CAAC;YACd,CAAC;YAED,oFAAoF;YACpF,0CAA0C;YAC1C,OAAO,SAAS,CAAC,MAAM,CAAC,CAAC;IAC7B,CAAC;IAED,OAAO,KAAK,CAAC;AACf,CAAC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/use-unknown-in-catch-callback-variable.js b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/use-unknown-in-catch-callback-variable.js index 161d4ab322..c9b78e4142 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/use-unknown-in-catch-callback-variable.js +++ b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/use-unknown-in-catch-callback-variable.js @@ -15,13 +15,23 @@ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? ( }) : function(o, v) { o["default"] = v; }); -var __importStar = (this && this.__importStar) || function (mod) { - if (mod && mod.__esModule) return mod; - var result = {}; - if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k); - __setModuleDefault(result, mod); - return result; -}; +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); Object.defineProperty(exports, "__esModule", { value: true }); const utils_1 = require("@typescript-eslint/utils"); const tsutils = __importStar(require("ts-api-utils")); diff --git a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/use-unknown-in-catch-callback-variable.js.map b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/use-unknown-in-catch-callback-variable.js.map index 0de16f0e53..a367184444 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/use-unknown-in-catch-callback-variable.js.map +++ b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/use-unknown-in-catch-callback-variable.js.map @@ -1 +1 @@ -{"version":3,"file":"use-unknown-in-catch-callback-variable.js","sourceRoot":"","sources":["../../src/rules/use-unknown-in-catch-callback-variable.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AAIA,oDAA0D;AAC1D,sDAAwC;AAExC,kCAOiB;AAWjB,MAAM,qBAAqB,GACzB,6EAA6E,CAAC;AAEhF,kBAAe,IAAA,iBAAU,EAAiB;IACxC,IAAI,EAAE,wCAAwC;IAC9C,IAAI,EAAE;QACJ,IAAI,EAAE,YAAY;QAClB,IAAI,EAAE;YACJ,WAAW,EACT,sEAAsE;YACxE,WAAW,EAAE,QAAQ;YACrB,oBAAoB,EAAE,IAAI;SAC3B;QACD,OAAO,EAAE,MAAM;QACf,cAAc,EAAE,IAAI;QACpB,QAAQ,EAAE;YACR,sCAAsC,EACpC,wFAAwF;YAC1F,kCAAkC,EAChC,iFAAiF;YACnF,UAAU,EAAE,qBAAqB;YACjC,mCAAmC,EAAE,GAAG,qBAAqB,wCAAwC;YACrG,oCAAoC,EAAE,GACpC,qBACF,wEAAwE;YACxE,iCAAiC,EAC/B,mDAAmD;YACrD,6BAA6B,EAC3B,iDAAiD;SACpD;QACD,MAAM,EAAE,EAAE;KACX;IAED,cAAc,EAAE,EAAE;IAElB,MAAM,CAAC,OAAO;QACZ,MAAM,EAAE,qBAAqB,EAAE,OAAO,EAAE,GAAG,IAAA,wBAAiB,EAAC,OAAO,CAAC,CAAC;QACtE,MAAM,OAAO,GAAG,OAAO,CAAC,cAAc,EAAE,CAAC;QAEzC,SAAS,sBAAsB,CAAC,IAAa;YAC3C,KAAK,MAAM,SAAS,IAAI,OAAO,CAAC,cAAc,CAAC,IAAI,CAAC,EAAE,CAAC;gBACrD,MAAM,cAAc,GAAG,OAAO,CAAC,uBAAuB,CAAC,SAAS,CAAC,CAAC;gBAClE,IAAI,cAAc,CAAC,MAAM,KAAK,CAAC,EAAE,CAAC;oBAChC,qFAAqF;oBACrF,SAAS;gBACX,CAAC;gBAED,KAAK,MAAM,aAAa,IAAI,cAAc,EAAE,CAAC;oBAC3C,MAAM,UAAU,GAAG,aAAa,CAAC,UAAU,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC;oBAClD,IAAI,CAAC,UAAU,EAAE,CAAC;wBAChB,yDAAyD;wBACzD,SAAS;oBACX,CAAC;oBAED,IAAI,cAAc,GAAG,OAAO,CAAC,eAAe,CAAC,UAAU,CAAC,CAAC;oBAEzD,MAAM,IAAI,GAAG,UAAU,CAAC,gBAAgB,CAAC;oBACzC,IAAI,IAAI,IAAI,IAAI,IAAI,IAAA,iCAA0B,EAAC,IAAI,CAAC,EAAE,CAAC;wBACrD,IAAI,OAAO,CAAC,WAAW,CAAC,cAAc,CAAC,EAAE,CAAC;4BACxC,cAAc,GAAG,OAAO,CAAC,gBAAgB,CAAC,cAAc,CAAC,CAAC,CAAC,CAAC,CAAC;wBAC/D,CAAC;6BAAM,IAAI,OAAO,CAAC,WAAW,CAAC,cAAc,CAAC,EAAE,CAAC;4BAC/C,cAAc,GAAG,OAAO,CAAC,gBAAgB,CAAC,cAAc,CAAC,CAAC,CAAC,CAAC,CAAC;wBAC/D,CAAC;6BAAM,CAAC;4BACN,wEAAwE;4BACxE,OAAO,IAAI,CAAC;wBACd,CAAC;oBACH,CAAC;oBAED,IAAI,CAAC,OAAO,CAAC,sBAAsB,CAAC,cAAc,CAAC,EAAE,CAAC;wBACpD,OAAO,IAAI,CAAC;oBACd,CAAC;gBACH,CAAC;YACH,CAAC;YAED,OAAO,KAAK,CAAC;QACf,CAAC;QAED,SAAS,kBAAkB,CAAC,IAAyB;YACnD,MAAM,QAAQ,GAAG,qBAAqB,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC;YACjD,MAAM,cAAc,GAAG,OAAO,CAAC,iBAAiB,CAAC,QAAQ,CAAC,CAAC;YAC3D,OAAO,sBAAsB,CAAC,cAAc,CAAC,CAAC;QAChD,CAAC;QAED;;;;;;WAMG;QACH,SAAS,sBAAsB,CAC7B,QAA6B;YAE7B,uEAAuE;YACvE,IACE,CAAC,CACC,QAAQ,CAAC,IAAI,KAAK,sBAAc,CAAC,uBAAuB;gBACxD,QAAQ,CAAC,IAAI,KAAK,sBAAc,CAAC,kBAAkB,CACpD,EACD,CAAC;gBACD,OAAO,SAAS,CAAC;YACnB,CAAC;YAED,MAAM,oCAAoC,GAAG,IAAA,iBAAU,EACrD,QAAQ,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC,CAAC,EACrB,6EAA6E,CAC9E,CAAC;YAEF,0FAA0F;YAC1F,MAAM,kBAAkB,GACtB,oCAGC,CAAC;YACJ,MAAM,kBAAkB,GACtB,kBAAkB,CAAC,IAAI,KAAK,sBAAc,CAAC,iBAAiB;gBAC1D,CAAC,CAAC,kBAAkB,CAAC,IAAI;gBACzB,CAAC,CAAC,kBAAkB,CAAC;YAEzB,QAAQ,kBAAkB,CAAC,IAAI,EAAE,CAAC;gBAChC,KAAK,sBAAc,CAAC,UAAU,CAAC,CAAC,CAAC;oBAC/B,MAAM,2BAA2B,GAAG,kBAAkB,CAAC,cAAc,CAAC;oBACtE,IAAI,2BAA2B,IAAI,IAAI,EAAE,CAAC;wBACxC,OAAO;4BACL,IAAI,EAAE,kBAAkB;4BACxB,OAAO,EAAE;gCACP;oCACE,SAAS,EAAE,oCAAoC;oCAC/C,GAAG,EAAE,CAAC,KAAyB,EAAsB,EAAE;wCACrD,IACE,QAAQ,CAAC,IAAI;4CACX,sBAAc,CAAC,uBAAuB;4CACxC,IAAA,+BAAwB,EAAC,QAAQ,EAAE,OAAO,CAAC,UAAU,CAAC,EACtD,CAAC;4CACD,OAAO;gDACL,KAAK,CAAC,gBAAgB,CAAC,kBAAkB,EAAE,GAAG,CAAC;gDAC/C,KAAK,CAAC,eAAe,CAAC,kBAAkB,EAAE,YAAY,CAAC;6CACxD,CAAC;wCACJ,CAAC;wCAED,OAAO;4CACL,KAAK,CAAC,eAAe,CAAC,kBAAkB,EAAE,WAAW,CAAC;yCACvD,CAAC;oCACJ,CAAC;iCACF;6BACF;yBACF,CAAC;oBACJ,CAAC;oBAED,OAAO;wBACL,IAAI,EAAE,kBAAkB;wBACxB,OAAO,EAAE;4BACP;gCACE,SAAS,EAAE,+BAA+B;gCAC1C,GAAG,EAAE,CAAC,KAAyB,EAAoB,EAAE,CACnD,KAAK,CAAC,WAAW,CAAC,2BAA2B,EAAE,WAAW,CAAC;6BAC9D;yBACF;qBACF,CAAC;gBACJ,CAAC;gBACD,KAAK,sBAAc,CAAC,YAAY,CAAC,CAAC,CAAC;oBACjC,OAAO;wBACL,IAAI,EAAE,kBAAkB;wBACxB,SAAS,EAAE,qCAAqC;qBACjD,CAAC;gBACJ,CAAC;gBACD,KAAK,sBAAc,CAAC,aAAa,CAAC,CAAC,CAAC;oBAClC,OAAO;wBACL,IAAI,EAAE,kBAAkB;wBACxB,SAAS,EAAE,sCAAsC;qBAClD,CAAC;gBACJ,CAAC;gBACD,KAAK,sBAAc,CAAC,WAAW,CAAC,CAAC,CAAC;oBAChC,MAAM,2BAA2B,GAAG,kBAAkB,CAAC,cAAc,CAAC;oBACtE,IAAI,2BAA2B,IAAI,IAAI,EAAE,CAAC;wBACxC,OAAO;4BACL,IAAI,EAAE,kBAAkB;4BACxB,OAAO,EAAE;gCACP;oCACE,SAAS,EAAE,wCAAwC;oCACnD,GAAG,EAAE,CAAC,KAAK,EAAoB,EAAE,CAC/B,KAAK,CAAC,eAAe,CAAC,kBAAkB,EAAE,aAAa,CAAC;iCAC3D;6BACF;yBACF,CAAC;oBACJ,CAAC;oBACD,OAAO;wBACL,IAAI,EAAE,kBAAkB;wBACxB,OAAO,EAAE;4BACP;gCACE,SAAS,EAAE,mCAAmC;gCAC9C,GAAG,EAAE,CAAC,KAAK,EAAoB,EAAE,CAC/B,KAAK,CAAC,WAAW,CAAC,2BAA2B,EAAE,aAAa,CAAC;6BAChE;yBACF;qBACF,CAAC;gBACJ,CAAC;YACH,CAAC;QACH,CAAC;QAED,OAAO;YACL,cAAc,CAAC,EAAE,SAAS,EAAE,IAAI,EAAE,MAAM,EAAE;gBACxC,IAAI,MAAM,CAAC,IAAI,KAAK,sBAAc,CAAC,gBAAgB,EAAE,CAAC;oBACpD,OAAO;gBACT,CAAC;gBAED,MAAM,qBAAqB,GAAG,IAAA,iCAA0B,EACtD,MAAM,EACN,OAAO,CACR,CAAC;gBACF,IAAI,CAAC,qBAAqB,EAAE,CAAC;oBAC3B,OAAO;gBACT,CAAC;gBAED,MAAM,iBAAiB,GACrB;oBACE,EAAE,MAAM,EAAE,EAAE,EAAE,eAAe,EAAE,CAAC,EAAE,MAAM,EAAE,OAAO,EAAE;oBACnD,EAAE,MAAM,EAAE,YAAY,EAAE,eAAe,EAAE,CAAC,EAAE,MAAM,EAAE,MAAM,EAAE;iBAM/D,CAAC,IAAI,CAAC,CAAC,EAAE,MAAM,EAAE,EAAE,EAAE,CAAC,qBAAqB,KAAK,MAAM,CAAC,CAAC;gBACzD,IAAI,CAAC,iBAAiB,EAAE,CAAC;oBACvB,OAAO;gBACT,CAAC;gBAED,kCAAkC;gBAClC,MAAM,EAAE,eAAe,EAAE,GAAG,IAAI,EAAE,GAAG,iBAAiB,CAAC;gBACvD,IAAI,IAAI,CAAC,MAAM,GAAG,eAAe,GAAG,CAAC,EAAE,CAAC;oBACtC,OAAO;gBACT,CAAC;gBAED,0GAA0G;gBAC1G,yFAAyF;gBACzF,MAAM,WAAW,GAAG,IAAI,CAAC,KAAK,CAAC,CAAC,EAAE,eAAe,GAAG,CAAC,CAAC,CAAC;gBACvD,IACE,WAAW,CAAC,IAAI,CAAC,CAAC,EAAE,IAAI,EAAE,EAAE,EAAE,CAAC,IAAI,KAAK,sBAAc,CAAC,aAAa,CAAC,EACrE,CAAC;oBACD,OAAO;gBACT,CAAC;gBAED,IACE,CAAC,OAAO,CAAC,cAAc,CACrB,OAAO,EACP,qBAAqB,CAAC,GAAG,CAAC,MAAM,CAAC,EACjC,OAAO,CAAC,iBAAiB,CAAC,qBAAqB,CAAC,GAAG,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC,CACpE,EACD,CAAC;oBACD,OAAO;gBACT,CAAC;gBAED,iGAAiG;gBACjG,MAAM,IAAI,GAAG,WAAW,CAAC,eAAe,CAGvC,CAAC;gBACF,IAAI,kBAAkB,CAAC,IAAI,CAAC,EAAE,CAAC;oBAC7B,mEAAmE;oBACnE,yDAAyD;oBACzD,MAAM,SAAS,GAAG,sBAAsB,CAAC,IAAI,CAAC,CAAC;oBAC/C,OAAO,CAAC,MAAM,CAAC;wBACb,IAAI;wBACJ,SAAS,EAAE,YAAY;wBACvB,IAAI;wBACJ,GAAG,SAAS;qBACb,CAAC,CAAC;gBACL,CAAC;YACH,CAAC;SACF,CAAC;IACJ,CAAC;CACF,CAAC,CAAC"} \ No newline at end of file +{"version":3,"file":"use-unknown-in-catch-callback-variable.js","sourceRoot":"","sources":["../../src/rules/use-unknown-in-catch-callback-variable.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAIA,oDAA0D;AAC1D,sDAAwC;AAExC,kCAOiB;AAWjB,MAAM,qBAAqB,GACzB,6EAA6E,CAAC;AAEhF,kBAAe,IAAA,iBAAU,EAAiB;IACxC,IAAI,EAAE,wCAAwC;IAC9C,IAAI,EAAE;QACJ,IAAI,EAAE,YAAY;QAClB,IAAI,EAAE;YACJ,WAAW,EACT,sEAAsE;YACxE,WAAW,EAAE,QAAQ;YACrB,oBAAoB,EAAE,IAAI;SAC3B;QACD,OAAO,EAAE,MAAM;QACf,cAAc,EAAE,IAAI;QACpB,QAAQ,EAAE;YACR,sCAAsC,EACpC,wFAAwF;YAC1F,kCAAkC,EAChC,iFAAiF;YACnF,UAAU,EAAE,qBAAqB;YACjC,mCAAmC,EAAE,GAAG,qBAAqB,wCAAwC;YACrG,oCAAoC,EAAE,GACpC,qBACF,wEAAwE;YACxE,iCAAiC,EAC/B,mDAAmD;YACrD,6BAA6B,EAC3B,iDAAiD;SACpD;QACD,MAAM,EAAE,EAAE;KACX;IAED,cAAc,EAAE,EAAE;IAElB,MAAM,CAAC,OAAO;QACZ,MAAM,EAAE,qBAAqB,EAAE,OAAO,EAAE,GAAG,IAAA,wBAAiB,EAAC,OAAO,CAAC,CAAC;QACtE,MAAM,OAAO,GAAG,OAAO,CAAC,cAAc,EAAE,CAAC;QAEzC,SAAS,sBAAsB,CAAC,IAAa;YAC3C,KAAK,MAAM,SAAS,IAAI,OAAO,CAAC,cAAc,CAAC,IAAI,CAAC,EAAE,CAAC;gBACrD,MAAM,cAAc,GAAG,OAAO,CAAC,uBAAuB,CAAC,SAAS,CAAC,CAAC;gBAClE,IAAI,cAAc,CAAC,MAAM,KAAK,CAAC,EAAE,CAAC;oBAChC,qFAAqF;oBACrF,SAAS;gBACX,CAAC;gBAED,KAAK,MAAM,aAAa,IAAI,cAAc,EAAE,CAAC;oBAC3C,MAAM,UAAU,GAAG,aAAa,CAAC,UAAU,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC;oBAClD,IAAI,CAAC,UAAU,EAAE,CAAC;wBAChB,yDAAyD;wBACzD,SAAS;oBACX,CAAC;oBAED,IAAI,cAAc,GAAG,OAAO,CAAC,eAAe,CAAC,UAAU,CAAC,CAAC;oBAEzD,MAAM,IAAI,GAAG,UAAU,CAAC,gBAAgB,CAAC;oBACzC,IAAI,IAAI,IAAI,IAAI,IAAI,IAAA,iCAA0B,EAAC,IAAI,CAAC,EAAE,CAAC;wBACrD,IAAI,OAAO,CAAC,WAAW,CAAC,cAAc,CAAC,EAAE,CAAC;4BACxC,cAAc,GAAG,OAAO,CAAC,gBAAgB,CAAC,cAAc,CAAC,CAAC,CAAC,CAAC,CAAC;wBAC/D,CAAC;6BAAM,IAAI,OAAO,CAAC,WAAW,CAAC,cAAc,CAAC,EAAE,CAAC;4BAC/C,cAAc,GAAG,OAAO,CAAC,gBAAgB,CAAC,cAAc,CAAC,CAAC,CAAC,CAAC,CAAC;wBAC/D,CAAC;6BAAM,CAAC;4BACN,wEAAwE;4BACxE,OAAO,IAAI,CAAC;wBACd,CAAC;oBACH,CAAC;oBAED,IAAI,CAAC,OAAO,CAAC,sBAAsB,CAAC,cAAc,CAAC,EAAE,CAAC;wBACpD,OAAO,IAAI,CAAC;oBACd,CAAC;gBACH,CAAC;YACH,CAAC;YAED,OAAO,KAAK,CAAC;QACf,CAAC;QAED,SAAS,kBAAkB,CAAC,IAAyB;YACnD,MAAM,QAAQ,GAAG,qBAAqB,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC;YACjD,MAAM,cAAc,GAAG,OAAO,CAAC,iBAAiB,CAAC,QAAQ,CAAC,CAAC;YAC3D,OAAO,sBAAsB,CAAC,cAAc,CAAC,CAAC;QAChD,CAAC;QAED;;;;;;WAMG;QACH,SAAS,sBAAsB,CAC7B,QAA6B;YAE7B,uEAAuE;YACvE,IACE,CAAC,CACC,QAAQ,CAAC,IAAI,KAAK,sBAAc,CAAC,uBAAuB;gBACxD,QAAQ,CAAC,IAAI,KAAK,sBAAc,CAAC,kBAAkB,CACpD,EACD,CAAC;gBACD,OAAO,SAAS,CAAC;YACnB,CAAC;YAED,MAAM,oCAAoC,GAAG,IAAA,iBAAU,EACrD,QAAQ,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC,CAAC,EACrB,6EAA6E,CAC9E,CAAC;YAEF,0FAA0F;YAC1F,MAAM,kBAAkB,GACtB,oCAGC,CAAC;YACJ,MAAM,kBAAkB,GACtB,kBAAkB,CAAC,IAAI,KAAK,sBAAc,CAAC,iBAAiB;gBAC1D,CAAC,CAAC,kBAAkB,CAAC,IAAI;gBACzB,CAAC,CAAC,kBAAkB,CAAC;YAEzB,QAAQ,kBAAkB,CAAC,IAAI,EAAE,CAAC;gBAChC,KAAK,sBAAc,CAAC,UAAU,CAAC,CAAC,CAAC;oBAC/B,MAAM,2BAA2B,GAAG,kBAAkB,CAAC,cAAc,CAAC;oBACtE,IAAI,2BAA2B,IAAI,IAAI,EAAE,CAAC;wBACxC,OAAO;4BACL,IAAI,EAAE,kBAAkB;4BACxB,OAAO,EAAE;gCACP;oCACE,SAAS,EAAE,oCAAoC;oCAC/C,GAAG,EAAE,CAAC,KAAyB,EAAsB,EAAE;wCACrD,IACE,QAAQ,CAAC,IAAI;4CACX,sBAAc,CAAC,uBAAuB;4CACxC,IAAA,+BAAwB,EAAC,QAAQ,EAAE,OAAO,CAAC,UAAU,CAAC,EACtD,CAAC;4CACD,OAAO;gDACL,KAAK,CAAC,gBAAgB,CAAC,kBAAkB,EAAE,GAAG,CAAC;gDAC/C,KAAK,CAAC,eAAe,CAAC,kBAAkB,EAAE,YAAY,CAAC;6CACxD,CAAC;wCACJ,CAAC;wCAED,OAAO;4CACL,KAAK,CAAC,eAAe,CAAC,kBAAkB,EAAE,WAAW,CAAC;yCACvD,CAAC;oCACJ,CAAC;iCACF;6BACF;yBACF,CAAC;oBACJ,CAAC;oBAED,OAAO;wBACL,IAAI,EAAE,kBAAkB;wBACxB,OAAO,EAAE;4BACP;gCACE,SAAS,EAAE,+BAA+B;gCAC1C,GAAG,EAAE,CAAC,KAAyB,EAAoB,EAAE,CACnD,KAAK,CAAC,WAAW,CAAC,2BAA2B,EAAE,WAAW,CAAC;6BAC9D;yBACF;qBACF,CAAC;gBACJ,CAAC;gBACD,KAAK,sBAAc,CAAC,YAAY,CAAC,CAAC,CAAC;oBACjC,OAAO;wBACL,IAAI,EAAE,kBAAkB;wBACxB,SAAS,EAAE,qCAAqC;qBACjD,CAAC;gBACJ,CAAC;gBACD,KAAK,sBAAc,CAAC,aAAa,CAAC,CAAC,CAAC;oBAClC,OAAO;wBACL,IAAI,EAAE,kBAAkB;wBACxB,SAAS,EAAE,sCAAsC;qBAClD,CAAC;gBACJ,CAAC;gBACD,KAAK,sBAAc,CAAC,WAAW,CAAC,CAAC,CAAC;oBAChC,MAAM,2BAA2B,GAAG,kBAAkB,CAAC,cAAc,CAAC;oBACtE,IAAI,2BAA2B,IAAI,IAAI,EAAE,CAAC;wBACxC,OAAO;4BACL,IAAI,EAAE,kBAAkB;4BACxB,OAAO,EAAE;gCACP;oCACE,SAAS,EAAE,wCAAwC;oCACnD,GAAG,EAAE,CAAC,KAAK,EAAoB,EAAE,CAC/B,KAAK,CAAC,eAAe,CAAC,kBAAkB,EAAE,aAAa,CAAC;iCAC3D;6BACF;yBACF,CAAC;oBACJ,CAAC;oBACD,OAAO;wBACL,IAAI,EAAE,kBAAkB;wBACxB,OAAO,EAAE;4BACP;gCACE,SAAS,EAAE,mCAAmC;gCAC9C,GAAG,EAAE,CAAC,KAAK,EAAoB,EAAE,CAC/B,KAAK,CAAC,WAAW,CAAC,2BAA2B,EAAE,aAAa,CAAC;6BAChE;yBACF;qBACF,CAAC;gBACJ,CAAC;YACH,CAAC;QACH,CAAC;QAED,OAAO;YACL,cAAc,CAAC,EAAE,SAAS,EAAE,IAAI,EAAE,MAAM,EAAE;gBACxC,IAAI,MAAM,CAAC,IAAI,KAAK,sBAAc,CAAC,gBAAgB,EAAE,CAAC;oBACpD,OAAO;gBACT,CAAC;gBAED,MAAM,qBAAqB,GAAG,IAAA,iCAA0B,EACtD,MAAM,EACN,OAAO,CACR,CAAC;gBACF,IAAI,CAAC,qBAAqB,EAAE,CAAC;oBAC3B,OAAO;gBACT,CAAC;gBAED,MAAM,iBAAiB,GACrB;oBACE,EAAE,MAAM,EAAE,EAAE,EAAE,eAAe,EAAE,CAAC,EAAE,MAAM,EAAE,OAAO,EAAE;oBACnD,EAAE,MAAM,EAAE,YAAY,EAAE,eAAe,EAAE,CAAC,EAAE,MAAM,EAAE,MAAM,EAAE;iBAM/D,CAAC,IAAI,CAAC,CAAC,EAAE,MAAM,EAAE,EAAE,EAAE,CAAC,qBAAqB,KAAK,MAAM,CAAC,CAAC;gBACzD,IAAI,CAAC,iBAAiB,EAAE,CAAC;oBACvB,OAAO;gBACT,CAAC;gBAED,kCAAkC;gBAClC,MAAM,EAAE,eAAe,EAAE,GAAG,IAAI,EAAE,GAAG,iBAAiB,CAAC;gBACvD,IAAI,IAAI,CAAC,MAAM,GAAG,eAAe,GAAG,CAAC,EAAE,CAAC;oBACtC,OAAO;gBACT,CAAC;gBAED,0GAA0G;gBAC1G,yFAAyF;gBACzF,MAAM,WAAW,GAAG,IAAI,CAAC,KAAK,CAAC,CAAC,EAAE,eAAe,GAAG,CAAC,CAAC,CAAC;gBACvD,IACE,WAAW,CAAC,IAAI,CAAC,CAAC,EAAE,IAAI,EAAE,EAAE,EAAE,CAAC,IAAI,KAAK,sBAAc,CAAC,aAAa,CAAC,EACrE,CAAC;oBACD,OAAO;gBACT,CAAC;gBAED,IACE,CAAC,OAAO,CAAC,cAAc,CACrB,OAAO,EACP,qBAAqB,CAAC,GAAG,CAAC,MAAM,CAAC,EACjC,OAAO,CAAC,iBAAiB,CAAC,qBAAqB,CAAC,GAAG,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC,CACpE,EACD,CAAC;oBACD,OAAO;gBACT,CAAC;gBAED,iGAAiG;gBACjG,MAAM,IAAI,GAAG,WAAW,CAAC,eAAe,CAGvC,CAAC;gBACF,IAAI,kBAAkB,CAAC,IAAI,CAAC,EAAE,CAAC;oBAC7B,mEAAmE;oBACnE,yDAAyD;oBACzD,MAAM,SAAS,GAAG,sBAAsB,CAAC,IAAI,CAAC,CAAC;oBAC/C,OAAO,CAAC,MAAM,CAAC;wBACb,IAAI;wBACJ,SAAS,EAAE,YAAY;wBACvB,IAAI;wBACJ,GAAG,SAAS;qBACb,CAAC,CAAC;gBACL,CAAC;YACH,CAAC;SACF,CAAC;IACJ,CAAC;CACF,CAAC,CAAC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/eslint-plugin/dist/util/assertionFunctionUtils.js b/node_modules/@typescript-eslint/eslint-plugin/dist/util/assertionFunctionUtils.js index 68a2d905da..d598a39fb3 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/dist/util/assertionFunctionUtils.js +++ b/node_modules/@typescript-eslint/eslint-plugin/dist/util/assertionFunctionUtils.js @@ -15,13 +15,23 @@ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? ( }) : function(o, v) { o["default"] = v; }); -var __importStar = (this && this.__importStar) || function (mod) { - if (mod && mod.__esModule) return mod; - var result = {}; - if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k); - __setModuleDefault(result, mod); - return result; -}; +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); Object.defineProperty(exports, "__esModule", { value: true }); exports.findTruthinessAssertedArgument = findTruthinessAssertedArgument; exports.findTypeGuardAssertedArgument = findTypeGuardAssertedArgument; diff --git a/node_modules/@typescript-eslint/eslint-plugin/dist/util/assertionFunctionUtils.js.map b/node_modules/@typescript-eslint/eslint-plugin/dist/util/assertionFunctionUtils.js.map index 09abc57a85..7924c8598d 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/dist/util/assertionFunctionUtils.js.map +++ b/node_modules/@typescript-eslint/eslint-plugin/dist/util/assertionFunctionUtils.js.map @@ -1 +1 @@ -{"version":3,"file":"assertionFunctionUtils.js","sourceRoot":"","sources":["../../src/util/assertionFunctionUtils.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AAYA,wEAyCC;AAMD,sEA4DC;AAlHD,oDAA0D;AAC1D,+CAAiC;AAEjC;;;GAGG;AACH,SAAgB,8BAA8B,CAC5C,QAA2C,EAC3C,IAA6B;IAE7B,4EAA4E;IAC5E,2EAA2E;IAC3E,qEAAqE;IACrE,MAAM,kBAAkB,GAA0B,EAAE,CAAC;IACrD,KAAK,MAAM,QAAQ,IAAI,IAAI,CAAC,SAAS,EAAE,CAAC;QACtC,IAAI,QAAQ,CAAC,IAAI,KAAK,sBAAc,CAAC,aAAa,EAAE,CAAC;YACnD,MAAM;QACR,CAAC;QACD,kBAAkB,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC;IACpC,CAAC;IAED,gBAAgB;IAChB,IAAI,kBAAkB,CAAC,MAAM,KAAK,CAAC,EAAE,CAAC;QACpC,OAAO,SAAS,CAAC;IACnB,CAAC;IAED,MAAM,OAAO,GAAG,QAAQ,CAAC,OAAO,CAAC,cAAc,EAAE,CAAC;IAClD,MAAM,MAAM,GAAG,QAAQ,CAAC,qBAAqB,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC;IACxD,MAAM,SAAS,GAAG,OAAO,CAAC,oBAAoB,CAAC,MAAM,CAAC,CAAC;IAEvD,IAAI,SAAS,IAAI,IAAI,EAAE,CAAC;QACtB,OAAO,SAAS,CAAC;IACnB,CAAC;IAED,MAAM,wBAAwB,GAC5B,OAAO,CAAC,2BAA2B,CAAC,SAAS,CAAC,CAAC;IAEjD,IAAI,wBAAwB,IAAI,IAAI,EAAE,CAAC;QACrC,OAAO,SAAS,CAAC;IACnB,CAAC;IAED,MAAM,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,EAAE,GAAG,wBAAwB,CAAC;IAChE,IAAI,CAAC,CAAC,IAAI,KAAK,EAAE,CAAC,iBAAiB,CAAC,iBAAiB,IAAI,IAAI,IAAI,IAAI,CAAC,EAAE,CAAC;QACvE,OAAO,SAAS,CAAC;IACnB,CAAC;IAED,OAAO,kBAAkB,CAAC,EAAE,CAAC,cAAc,CAAC,CAAC;AAC/C,CAAC;AAED;;;GAGG;AACH,SAAgB,6BAA6B,CAC3C,QAA2C,EAC3C,IAA6B;IAQ7B,4EAA4E;IAC5E,2EAA2E;IAC3E,qEAAqE;IACrE,MAAM,kBAAkB,GAA0B,EAAE,CAAC;IACrD,KAAK,MAAM,QAAQ,IAAI,IAAI,CAAC,SAAS,EAAE,CAAC;QACtC,IAAI,QAAQ,CAAC,IAAI,KAAK,sBAAc,CAAC,aAAa,EAAE,CAAC;YACnD,MAAM;QACR,CAAC;QACD,kBAAkB,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC;IACpC,CAAC;IAED,gBAAgB;IAChB,IAAI,kBAAkB,CAAC,MAAM,KAAK,CAAC,EAAE,CAAC;QACpC,OAAO,SAAS,CAAC;IACnB,CAAC;IAED,MAAM,OAAO,GAAG,QAAQ,CAAC,OAAO,CAAC,cAAc,EAAE,CAAC;IAClD,MAAM,MAAM,GAAG,QAAQ,CAAC,qBAAqB,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC;IACxD,MAAM,aAAa,GAAG,OAAO,CAAC,oBAAoB,CAAC,MAAM,CAAC,CAAC;IAE3D,IAAI,aAAa,IAAI,IAAI,EAAE,CAAC;QAC1B,OAAO,SAAS,CAAC;IACnB,CAAC;IAED,MAAM,iBAAiB,GAAG,OAAO,CAAC,2BAA2B,CAAC,aAAa,CAAC,CAAC;IAE7E,IAAI,iBAAiB,IAAI,IAAI,EAAE,CAAC;QAC9B,OAAO,SAAS,CAAC;IACnB,CAAC;IAED,MAAM,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,EAAE,GAAG,iBAAiB,CAAC;IACzD,IACE,CAAC,CACC,CAAC,IAAI,KAAK,EAAE,CAAC,iBAAiB,CAAC,iBAAiB;QAC9C,IAAI,KAAK,EAAE,CAAC,iBAAiB,CAAC,UAAU,CAAC;QAC3C,IAAI,IAAI,IAAI,CACb,EACD,CAAC;QACD,OAAO,SAAS,CAAC;IACnB,CAAC;IAED,IAAI,cAAc,IAAI,kBAAkB,CAAC,MAAM,EAAE,CAAC;QAChD,OAAO,SAAS,CAAC;IACnB,CAAC;IAED,OAAO;QACL,QAAQ,EAAE,kBAAkB,CAAC,cAAc,CAAC;QAC5C,OAAO,EAAE,IAAI,KAAK,EAAE,CAAC,iBAAiB,CAAC,iBAAiB;QACxD,IAAI;KACL,CAAC;AACJ,CAAC"} \ No newline at end of file +{"version":3,"file":"assertionFunctionUtils.js","sourceRoot":"","sources":["../../src/util/assertionFunctionUtils.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAYA,wEAyCC;AAMD,sEA4DC;AAlHD,oDAA0D;AAC1D,+CAAiC;AAEjC;;;GAGG;AACH,SAAgB,8BAA8B,CAC5C,QAA2C,EAC3C,IAA6B;IAE7B,4EAA4E;IAC5E,2EAA2E;IAC3E,qEAAqE;IACrE,MAAM,kBAAkB,GAA0B,EAAE,CAAC;IACrD,KAAK,MAAM,QAAQ,IAAI,IAAI,CAAC,SAAS,EAAE,CAAC;QACtC,IAAI,QAAQ,CAAC,IAAI,KAAK,sBAAc,CAAC,aAAa,EAAE,CAAC;YACnD,MAAM;QACR,CAAC;QACD,kBAAkB,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC;IACpC,CAAC;IAED,gBAAgB;IAChB,IAAI,kBAAkB,CAAC,MAAM,KAAK,CAAC,EAAE,CAAC;QACpC,OAAO,SAAS,CAAC;IACnB,CAAC;IAED,MAAM,OAAO,GAAG,QAAQ,CAAC,OAAO,CAAC,cAAc,EAAE,CAAC;IAClD,MAAM,MAAM,GAAG,QAAQ,CAAC,qBAAqB,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC;IACxD,MAAM,SAAS,GAAG,OAAO,CAAC,oBAAoB,CAAC,MAAM,CAAC,CAAC;IAEvD,IAAI,SAAS,IAAI,IAAI,EAAE,CAAC;QACtB,OAAO,SAAS,CAAC;IACnB,CAAC;IAED,MAAM,wBAAwB,GAC5B,OAAO,CAAC,2BAA2B,CAAC,SAAS,CAAC,CAAC;IAEjD,IAAI,wBAAwB,IAAI,IAAI,EAAE,CAAC;QACrC,OAAO,SAAS,CAAC;IACnB,CAAC;IAED,MAAM,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,EAAE,GAAG,wBAAwB,CAAC;IAChE,IAAI,CAAC,CAAC,IAAI,KAAK,EAAE,CAAC,iBAAiB,CAAC,iBAAiB,IAAI,IAAI,IAAI,IAAI,CAAC,EAAE,CAAC;QACvE,OAAO,SAAS,CAAC;IACnB,CAAC;IAED,OAAO,kBAAkB,CAAC,EAAE,CAAC,cAAc,CAAC,CAAC;AAC/C,CAAC;AAED;;;GAGG;AACH,SAAgB,6BAA6B,CAC3C,QAA2C,EAC3C,IAA6B;IAQ7B,4EAA4E;IAC5E,2EAA2E;IAC3E,qEAAqE;IACrE,MAAM,kBAAkB,GAA0B,EAAE,CAAC;IACrD,KAAK,MAAM,QAAQ,IAAI,IAAI,CAAC,SAAS,EAAE,CAAC;QACtC,IAAI,QAAQ,CAAC,IAAI,KAAK,sBAAc,CAAC,aAAa,EAAE,CAAC;YACnD,MAAM;QACR,CAAC;QACD,kBAAkB,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC;IACpC,CAAC;IAED,gBAAgB;IAChB,IAAI,kBAAkB,CAAC,MAAM,KAAK,CAAC,EAAE,CAAC;QACpC,OAAO,SAAS,CAAC;IACnB,CAAC;IAED,MAAM,OAAO,GAAG,QAAQ,CAAC,OAAO,CAAC,cAAc,EAAE,CAAC;IAClD,MAAM,MAAM,GAAG,QAAQ,CAAC,qBAAqB,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC;IACxD,MAAM,aAAa,GAAG,OAAO,CAAC,oBAAoB,CAAC,MAAM,CAAC,CAAC;IAE3D,IAAI,aAAa,IAAI,IAAI,EAAE,CAAC;QAC1B,OAAO,SAAS,CAAC;IACnB,CAAC;IAED,MAAM,iBAAiB,GAAG,OAAO,CAAC,2BAA2B,CAAC,aAAa,CAAC,CAAC;IAE7E,IAAI,iBAAiB,IAAI,IAAI,EAAE,CAAC;QAC9B,OAAO,SAAS,CAAC;IACnB,CAAC;IAED,MAAM,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,EAAE,GAAG,iBAAiB,CAAC;IACzD,IACE,CAAC,CACC,CAAC,IAAI,KAAK,EAAE,CAAC,iBAAiB,CAAC,iBAAiB;QAC9C,IAAI,KAAK,EAAE,CAAC,iBAAiB,CAAC,UAAU,CAAC;QAC3C,IAAI,IAAI,IAAI,CACb,EACD,CAAC;QACD,OAAO,SAAS,CAAC;IACnB,CAAC;IAED,IAAI,cAAc,IAAI,kBAAkB,CAAC,MAAM,EAAE,CAAC;QAChD,OAAO,SAAS,CAAC;IACnB,CAAC;IAED,OAAO;QACL,QAAQ,EAAE,kBAAkB,CAAC,cAAc,CAAC;QAC5C,OAAO,EAAE,IAAI,KAAK,EAAE,CAAC,iBAAiB,CAAC,iBAAiB;QACxD,IAAI;KACL,CAAC;AACJ,CAAC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/eslint-plugin/dist/util/astUtils.js b/node_modules/@typescript-eslint/eslint-plugin/dist/util/astUtils.js index 1decfe6044..444addb7ad 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/dist/util/astUtils.js +++ b/node_modules/@typescript-eslint/eslint-plugin/dist/util/astUtils.js @@ -15,13 +15,23 @@ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? ( }) : function(o, v) { o["default"] = v; }); -var __importStar = (this && this.__importStar) || function (mod) { - if (mod && mod.__esModule) return mod; - var result = {}; - if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k); - __setModuleDefault(result, mod); - return result; -}; +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); var __exportStar = (this && this.__exportStar) || function(m, exports) { for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p); }; diff --git a/node_modules/@typescript-eslint/eslint-plugin/dist/util/astUtils.js.map b/node_modules/@typescript-eslint/eslint-plugin/dist/util/astUtils.js.map index 8a74bea7d5..1c052ca891 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/dist/util/astUtils.js.map +++ b/node_modules/@typescript-eslint/eslint-plugin/dist/util/astUtils.js.map @@ -1 +1 @@ -{"version":3,"file":"astUtils.js","sourceRoot":"","sources":["../../src/util/astUtils.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAmBA,0FA0BC;AAKD,wDA8BC;AA9ED,+CAAiC;AAEjC,iDAA8C;AAE9C,oCAAoC;AACpC,qEAAmD;AAEnD,0FAA0F;AAC1F,0HAA0H;AAC1H,sGAAsG;AACtG;;;;;;GAMG;AACH,SAAgB,uCAAuC,CACrD,UAA+B,EAC/B,OAAyB,EACzB,IAAY;IAEZ,MAAM,WAAW,GAAG,IAAI,MAAM,CAC5B,SAAS,IAAA,2BAAY,EAAC,IAAI,CAAC,eAAe,EAC1C,IAAI,CACL,CAAC;IAEF,qCAAqC;IACrC,WAAW,CAAC,SAAS,GAAG,OAAO,CAAC,KAAK,CAAC,OAAO,CAAC,QAAQ,CAAC,GAAG,CAAC,CAAC;IAE5D,gCAAgC;IAChC,MAAM,KAAK,GAAG,WAAW,CAAC,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC;IAE9C,4BAA4B;IAC5B,MAAM,KAAK,GAAG,UAAU,CAAC,eAAe,CACtC,OAAO,CAAC,KAAK,CAAC,CAAC,CAAC,GAAG,IAAI,CAAC,MAAM,GAAG,CAAC,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,KAAK,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAC/D,CAAC;IACF,MAAM,GAAG,GAAG;QACV,MAAM,EAAE,KAAK,CAAC,MAAM,GAAG,CAAC,KAAK,CAAC,CAAC,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,CAAC;QAChD,IAAI,EAAE,KAAK,CAAC,IAAI;KACjB,CAAC;IAEF,OAAO,EAAE,GAAG,EAAE,KAAK,EAAE,CAAC;AACxB,CAAC;AAED,+IAA+I;AAC/I,2EAA2E;AAC3E,6FAA6F;AAC7F,SAAgB,sBAAsB,CACpC,IAAc,EACd,OAAwC;IAExC,OAAO,QAAQ,CAAC,IAAI,CAAC,CAAC;IAEtB,SAAS,QAAQ,CAAC,IAAa;QAC7B,QAAQ,IAAI,CAAC,IAAI,EAAE,CAAC;YAClB,KAAK,EAAE,CAAC,UAAU,CAAC,eAAe;gBAChC,OAAO,OAAO,CAAC,IAA0B,CAAC,CAAC;YAC7C,KAAK,EAAE,CAAC,UAAU,CAAC,SAAS,CAAC;YAC7B,KAAK,EAAE,CAAC,UAAU,CAAC,KAAK,CAAC;YACzB,KAAK,EAAE,CAAC,UAAU,CAAC,WAAW,CAAC;YAC/B,KAAK,EAAE,CAAC,UAAU,CAAC,WAAW,CAAC;YAC/B,KAAK,EAAE,CAAC,UAAU,CAAC,cAAc,CAAC;YAClC,KAAK,EAAE,CAAC,UAAU,CAAC,YAAY,CAAC;YAChC,KAAK,EAAE,CAAC,UAAU,CAAC,cAAc,CAAC;YAClC,KAAK,EAAE,CAAC,UAAU,CAAC,cAAc,CAAC;YAClC,KAAK,EAAE,CAAC,UAAU,CAAC,aAAa,CAAC;YACjC,KAAK,EAAE,CAAC,UAAU,CAAC,eAAe,CAAC;YACnC,KAAK,EAAE,CAAC,UAAU,CAAC,UAAU,CAAC;YAC9B,KAAK,EAAE,CAAC,UAAU,CAAC,aAAa,CAAC;YACjC,KAAK,EAAE,CAAC,UAAU,CAAC,gBAAgB,CAAC;YACpC,KAAK,EAAE,CAAC,UAAU,CAAC,YAAY,CAAC;YAChC,KAAK,EAAE,CAAC,UAAU,CAAC,WAAW;gBAC5B,OAAO,EAAE,CAAC,YAAY,CAAC,IAAI,EAAE,QAAQ,CAAC,CAAC;QAC3C,CAAC;QAED,OAAO,SAAS,CAAC;IACnB,CAAC;AACH,CAAC"} \ No newline at end of file +{"version":3,"file":"astUtils.js","sourceRoot":"","sources":["../../src/util/astUtils.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAmBA,0FA0BC;AAKD,wDA8BC;AA9ED,+CAAiC;AAEjC,iDAA8C;AAE9C,oCAAoC;AACpC,qEAAmD;AAEnD,0FAA0F;AAC1F,0HAA0H;AAC1H,sGAAsG;AACtG;;;;;;GAMG;AACH,SAAgB,uCAAuC,CACrD,UAA+B,EAC/B,OAAyB,EACzB,IAAY;IAEZ,MAAM,WAAW,GAAG,IAAI,MAAM,CAC5B,SAAS,IAAA,2BAAY,EAAC,IAAI,CAAC,eAAe,EAC1C,IAAI,CACL,CAAC;IAEF,qCAAqC;IACrC,WAAW,CAAC,SAAS,GAAG,OAAO,CAAC,KAAK,CAAC,OAAO,CAAC,QAAQ,CAAC,GAAG,CAAC,CAAC;IAE5D,gCAAgC;IAChC,MAAM,KAAK,GAAG,WAAW,CAAC,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC;IAE9C,4BAA4B;IAC5B,MAAM,KAAK,GAAG,UAAU,CAAC,eAAe,CACtC,OAAO,CAAC,KAAK,CAAC,CAAC,CAAC,GAAG,IAAI,CAAC,MAAM,GAAG,CAAC,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,KAAK,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAC/D,CAAC;IACF,MAAM,GAAG,GAAG;QACV,MAAM,EAAE,KAAK,CAAC,MAAM,GAAG,CAAC,KAAK,CAAC,CAAC,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,CAAC;QAChD,IAAI,EAAE,KAAK,CAAC,IAAI;KACjB,CAAC;IAEF,OAAO,EAAE,GAAG,EAAE,KAAK,EAAE,CAAC;AACxB,CAAC;AAED,+IAA+I;AAC/I,2EAA2E;AAC3E,6FAA6F;AAC7F,SAAgB,sBAAsB,CACpC,IAAc,EACd,OAAwC;IAExC,OAAO,QAAQ,CAAC,IAAI,CAAC,CAAC;IAEtB,SAAS,QAAQ,CAAC,IAAa;QAC7B,QAAQ,IAAI,CAAC,IAAI,EAAE,CAAC;YAClB,KAAK,EAAE,CAAC,UAAU,CAAC,eAAe;gBAChC,OAAO,OAAO,CAAC,IAA0B,CAAC,CAAC;YAC7C,KAAK,EAAE,CAAC,UAAU,CAAC,SAAS,CAAC;YAC7B,KAAK,EAAE,CAAC,UAAU,CAAC,KAAK,CAAC;YACzB,KAAK,EAAE,CAAC,UAAU,CAAC,WAAW,CAAC;YAC/B,KAAK,EAAE,CAAC,UAAU,CAAC,WAAW,CAAC;YAC/B,KAAK,EAAE,CAAC,UAAU,CAAC,cAAc,CAAC;YAClC,KAAK,EAAE,CAAC,UAAU,CAAC,YAAY,CAAC;YAChC,KAAK,EAAE,CAAC,UAAU,CAAC,cAAc,CAAC;YAClC,KAAK,EAAE,CAAC,UAAU,CAAC,cAAc,CAAC;YAClC,KAAK,EAAE,CAAC,UAAU,CAAC,aAAa,CAAC;YACjC,KAAK,EAAE,CAAC,UAAU,CAAC,eAAe,CAAC;YACnC,KAAK,EAAE,CAAC,UAAU,CAAC,UAAU,CAAC;YAC9B,KAAK,EAAE,CAAC,UAAU,CAAC,aAAa,CAAC;YACjC,KAAK,EAAE,CAAC,UAAU,CAAC,gBAAgB,CAAC;YACpC,KAAK,EAAE,CAAC,UAAU,CAAC,YAAY,CAAC;YAChC,KAAK,EAAE,CAAC,UAAU,CAAC,WAAW;gBAC5B,OAAO,EAAE,CAAC,YAAY,CAAC,IAAI,EAAE,QAAQ,CAAC,CAAC;QAC3C,CAAC;QAED,OAAO,SAAS,CAAC;IACnB,CAAC;AACH,CAAC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/eslint-plugin/dist/util/isArrayMethodCallWithPredicate.js b/node_modules/@typescript-eslint/eslint-plugin/dist/util/isArrayMethodCallWithPredicate.js index c62756d9c5..f285af4c2a 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/dist/util/isArrayMethodCallWithPredicate.js +++ b/node_modules/@typescript-eslint/eslint-plugin/dist/util/isArrayMethodCallWithPredicate.js @@ -15,13 +15,23 @@ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? ( }) : function(o, v) { o["default"] = v; }); -var __importStar = (this && this.__importStar) || function (mod) { - if (mod && mod.__esModule) return mod; - var result = {}; - if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k); - __setModuleDefault(result, mod); - return result; -}; +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); Object.defineProperty(exports, "__esModule", { value: true }); exports.isArrayMethodCallWithPredicate = isArrayMethodCallWithPredicate; const type_utils_1 = require("@typescript-eslint/type-utils"); diff --git a/node_modules/@typescript-eslint/eslint-plugin/dist/util/isArrayMethodCallWithPredicate.js.map b/node_modules/@typescript-eslint/eslint-plugin/dist/util/isArrayMethodCallWithPredicate.js.map index 3c3902c350..045c694c7a 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/dist/util/isArrayMethodCallWithPredicate.js.map +++ b/node_modules/@typescript-eslint/eslint-plugin/dist/util/isArrayMethodCallWithPredicate.js.map @@ -1 +1 @@ -{"version":3,"file":"isArrayMethodCallWithPredicate.js","sourceRoot":"","sources":["../../src/util/isArrayMethodCallWithPredicate.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AAsBA,wEAqBC;AArCD,8DAA6E;AAC7E,oDAA0D;AAC1D,sDAAwC;AAExC,iCAAoD;AAEpD,MAAM,yBAAyB,GAAG,IAAI,GAAG,CAAU;IACjD,OAAO;IACP,QAAQ;IACR,MAAM;IACN,WAAW;IACX,UAAU;IACV,eAAe;IACf,MAAM;CACP,CAAC,CAAC;AAEH,SAAgB,8BAA8B,CAC5C,OAAuC,EACvC,QAA2C,EAC3C,IAA6B;IAE7B,IAAI,IAAI,CAAC,MAAM,CAAC,IAAI,KAAK,sBAAc,CAAC,gBAAgB,EAAE,CAAC;QACzD,OAAO,KAAK,CAAC;IACf,CAAC;IAED,MAAM,iBAAiB,GAAG,IAAA,iCAA0B,EAAC,IAAI,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAE3E,IAAI,CAAC,yBAAyB,CAAC,GAAG,CAAC,iBAAiB,CAAC,EAAE,CAAC;QACtD,OAAO,KAAK,CAAC;IACf,CAAC;IAED,MAAM,OAAO,GAAG,QAAQ,CAAC,OAAO,CAAC,cAAc,EAAE,CAAC;IAClD,MAAM,IAAI,GAAG,IAAA,yCAA4B,EAAC,QAAQ,EAAE,IAAI,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;IACxE,OAAO,OAAO;SACX,cAAc,CAAC,IAAI,CAAC;SACpB,OAAO,CAAC,IAAI,CAAC,EAAE,CAAC,OAAO,CAAC,qBAAqB,CAAC,IAAI,CAAC,CAAC;SACpD,IAAI,CAAC,CAAC,CAAC,EAAE,CAAC,OAAO,CAAC,WAAW,CAAC,CAAC,CAAC,IAAI,OAAO,CAAC,WAAW,CAAC,CAAC,CAAC,CAAC,CAAC;AACjE,CAAC"} \ No newline at end of file +{"version":3,"file":"isArrayMethodCallWithPredicate.js","sourceRoot":"","sources":["../../src/util/isArrayMethodCallWithPredicate.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAsBA,wEAqBC;AArCD,8DAA6E;AAC7E,oDAA0D;AAC1D,sDAAwC;AAExC,iCAAoD;AAEpD,MAAM,yBAAyB,GAAG,IAAI,GAAG,CAAU;IACjD,OAAO;IACP,QAAQ;IACR,MAAM;IACN,WAAW;IACX,UAAU;IACV,eAAe;IACf,MAAM;CACP,CAAC,CAAC;AAEH,SAAgB,8BAA8B,CAC5C,OAAuC,EACvC,QAA2C,EAC3C,IAA6B;IAE7B,IAAI,IAAI,CAAC,MAAM,CAAC,IAAI,KAAK,sBAAc,CAAC,gBAAgB,EAAE,CAAC;QACzD,OAAO,KAAK,CAAC;IACf,CAAC;IAED,MAAM,iBAAiB,GAAG,IAAA,iCAA0B,EAAC,IAAI,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAE3E,IAAI,CAAC,yBAAyB,CAAC,GAAG,CAAC,iBAAiB,CAAC,EAAE,CAAC;QACtD,OAAO,KAAK,CAAC;IACf,CAAC;IAED,MAAM,OAAO,GAAG,QAAQ,CAAC,OAAO,CAAC,cAAc,EAAE,CAAC;IAClD,MAAM,IAAI,GAAG,IAAA,yCAA4B,EAAC,QAAQ,EAAE,IAAI,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;IACxE,OAAO,OAAO;SACX,cAAc,CAAC,IAAI,CAAC;SACpB,OAAO,CAAC,IAAI,CAAC,EAAE,CAAC,OAAO,CAAC,qBAAqB,CAAC,IAAI,CAAC,CAAC;SACpD,IAAI,CAAC,CAAC,CAAC,EAAE,CAAC,OAAO,CAAC,WAAW,CAAC,CAAC,CAAC,IAAI,OAAO,CAAC,WAAW,CAAC,CAAC,CAAC,CAAC,CAAC;AACjE,CAAC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/eslint-plugin/dist/util/misc.js b/node_modules/@typescript-eslint/eslint-plugin/dist/util/misc.js index aae9eb5a5f..66a7b0d72c 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/dist/util/misc.js +++ b/node_modules/@typescript-eslint/eslint-plugin/dist/util/misc.js @@ -15,13 +15,23 @@ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? ( }) : function(o, v) { o["default"] = v; }); -var __importStar = (this && this.__importStar) || function (mod) { - if (mod && mod.__esModule) return mod; - var result = {}; - if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k); - __setModuleDefault(result, mod); - return result; -}; +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); Object.defineProperty(exports, "__esModule", { value: true }); exports.MemberNameType = exports.isStaticMemberAccessOfValue = void 0; exports.arrayGroupByToMap = arrayGroupByToMap; diff --git a/node_modules/@typescript-eslint/eslint-plugin/dist/util/misc.js.map b/node_modules/@typescript-eslint/eslint-plugin/dist/util/misc.js.map index 775c17c852..106752d546 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/dist/util/misc.js.map +++ b/node_modules/@typescript-eslint/eslint-plugin/dist/util/misc.js.map @@ -1 +1 @@ -{"version":3,"file":"misc.js","sourceRoot":"","sources":["../../src/util/misc.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAqUE,8CAAiB;AACjB,wCAAc;AAGd,0CAAe;AACf,sCAAa;AACb,wCAAc;AACd,oCAAY;AACZ,8DAAyB;AACzB,8CAAiB;AACjB,gEAA0B;AAC1B,4CAAgB;AAChB,4DAAwB;AACxB,gEAA0B;AAI1B,kEAA2B;AAC3B,wCAAc;AAjVhB,8DAAgE;AAChE,oDAA0D;AAC1D,+CAAiC;AAEjC,yCAA6D;AAE7D,MAAM,qBAAqB,GAAG;IAC5B,EAAE,CAAC,SAAS,CAAC,GAAG;IAChB,EAAE,CAAC,SAAS,CAAC,IAAI;IACjB,EAAE,CAAC,SAAS,CAAC,IAAI;CACT,CAAC;AACX;;GAEG;AACH,SAAS,gBAAgB,CAAC,QAAgB;IACxC,MAAM,aAAa,GAAG,QAAQ,CAAC,WAAW,EAAE,CAAC;IAC7C,KAAK,MAAM,aAAa,IAAI,qBAAqB,EAAE,CAAC;QAClD,IAAI,aAAa,CAAC,QAAQ,CAAC,aAAa,CAAC,EAAE,CAAC;YAC1C,OAAO,IAAI,CAAC;QACd,CAAC;IACH,CAAC;IACD,OAAO,KAAK,CAAC;AACf,CAAC;AAED;;GAEG;AACH,SAAS,cAAc,CAAC,GAAW;IACjC,OAAO,GAAG,CAAC,CAAC,CAAC,CAAC,WAAW,EAAE,GAAG,GAAG,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC;AAC7C,CAAC;AAED,SAAS,iBAAiB,CACxB,KAAU,EACV,MAAwB;IAExB,MAAM,MAAM,GAAG,IAAI,GAAG,EAAY,CAAC;IAEnC,KAAK,MAAM,IAAI,IAAI,KAAK,EAAE,CAAC;QACzB,MAAM,GAAG,GAAG,MAAM,CAAC,IAAI,CAAC,CAAC;QACzB,MAAM,QAAQ,GAAG,MAAM,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC;QAEjC,IAAI,QAAQ,EAAE,CAAC;YACb,QAAQ,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;QACtB,CAAC;aAAM,CAAC;YACN,MAAM,CAAC,GAAG,CAAC,GAAG,EAAE,CAAC,IAAI,CAAC,CAAC,CAAC;QAC1B,CAAC;IACH,CAAC;IAED,OAAO,MAAM,CAAC;AAChB,CAAC;AAKD,SAAS,cAAc,CACrB,CAAkB,EAClB,CAAkB,EAClB,EAA2B;IAE3B,OAAO,CACL,CAAC,KAAK,CAAC;QACP,CAAC,CAAC,KAAK,SAAS;YACd,CAAC,KAAK,SAAS;YACf,CAAC,CAAC,MAAM,KAAK,CAAC,CAAC,MAAM;YACrB,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,GAAG,EAAE,EAAE,CAAC,EAAE,CAAC,CAAC,EAAE,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,CACtC,CAAC;AACJ,CAAC;AAED,gDAAgD;AAChD,SAAS,eAAe,CACtB,MAAW,EACX,SAAkC;IAElC,KAAK,MAAM,OAAO,IAAI,MAAM,EAAE,CAAC;QAC7B,MAAM,MAAM,GAAG,SAAS,CAAC,OAAO,CAAC,CAAC;QAClC,IAAI,MAAM,KAAK,SAAS,EAAE,CAAC;YACzB,OAAO,MAAM,CAAC;QAChB,CAAC;IACH,CAAC;IACD,OAAO,SAAS,CAAC;AACnB,CAAC;AAED;;GAEG;AACH,SAAS,yBAAyB,CAAC,IAA+B;IAChE,MAAM,QAAQ,GAAsC,IAAI,CAAC,UAAU,CAAC,IAAI,CACtE,CAAC,SAA6B,EAAoC,EAAE,CAClE,SAAS,CAAC,IAAI,KAAK,sBAAc,CAAC,UAAU,CAC/C,CAAC;IACF,OAAO,QAAQ,CAAC,CAAC,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC,CAAC,mBAAmB,CAAC;AACxD,CAAC;AAED,IAAK,cAKJ;AALD,WAAK,cAAc;IACjB,yDAAW,CAAA;IACX,uDAAU,CAAA;IACV,uDAAU,CAAA;IACV,+DAAc,CAAA;AAChB,CAAC,EALI,cAAc,8BAAd,cAAc,QAKlB;AAED;;;GAGG;AACH,SAAS,iBAAiB,CACxB,MASgC,EAChC,UAA+B;IAE/B,IAAI,MAAM,CAAC,GAAG,CAAC,IAAI,KAAK,sBAAc,CAAC,UAAU,EAAE,CAAC;QAClD,OAAO;YACL,IAAI,EAAE,MAAM,CAAC,GAAG,CAAC,IAAI;YACrB,IAAI,EAAE,cAAc,CAAC,MAAM;SAC5B,CAAC;IACJ,CAAC;IACD,IAAI,MAAM,CAAC,GAAG,CAAC,IAAI,KAAK,sBAAc,CAAC,iBAAiB,EAAE,CAAC;QACzD,OAAO;YACL,IAAI,EAAE,IAAI,MAAM,CAAC,GAAG,CAAC,IAAI,EAAE;YAC3B,IAAI,EAAE,cAAc,CAAC,OAAO;SAC7B,CAAC;IACJ,CAAC;IACD,IAAI,MAAM,CAAC,GAAG,CAAC,IAAI,KAAK,sBAAc,CAAC,OAAO,EAAE,CAAC;QAC/C,MAAM,IAAI,GAAG,GAAG,MAAM,CAAC,GAAG,CAAC,KAAK,EAAE,CAAC;QACnC,IAAI,IAAA,4BAAe,EAAC,IAAI,CAAC,EAAE,CAAC;YAC1B,OAAO;gBACL,IAAI,EAAE,IAAI,IAAI,GAAG;gBACjB,IAAI,EAAE,cAAc,CAAC,MAAM;aAC5B,CAAC;QACJ,CAAC;QACD,OAAO;YACL,IAAI;YACJ,IAAI,EAAE,cAAc,CAAC,MAAM;SAC5B,CAAC;IACJ,CAAC;IAED,OAAO;QACL,IAAI,EAAE,UAAU,CAAC,IAAI,CAAC,KAAK,CAAC,GAAG,MAAM,CAAC,GAAG,CAAC,KAAK,CAAC;QAChD,IAAI,EAAE,cAAc,CAAC,UAAU;KAChC,CAAC;AACJ,CAAC;AAWD,SAAS,YAAY,CAAmB,MAA0B;IAChE,OAAO,MAAM,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,CAAQ,CAAC;AAClE,CAAC;AAED;;;;;GAKG;AACH,SAAS,cAAc,CAAC,KAAe;IACrC,IAAI,CAAC,KAAK,CAAC,MAAM,EAAE,CAAC;QAClB,OAAO,EAAE,CAAC;IACZ,CAAC;IAED,IAAI,KAAK,CAAC,MAAM,KAAK,CAAC,EAAE,CAAC;QACvB,OAAO,KAAK,CAAC,CAAC,CAAC,CAAC;IAClB,CAAC;IAED,OAAO,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,EAAE,KAAK,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;AAC3E,CAAC;AAED;;;;;GAKG;AACH,SAAS,aAAa,CACpB,OAAY,EACZ,SAAoD;IAEpD,IAAI,GAAG,GAAG,OAAO,CAAC,MAAM,GAAG,CAAC,CAAC;IAE7B,OAAO,GAAG,IAAI,CAAC,EAAE,CAAC;QAChB,MAAM,KAAK,GAAG,SAAS,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC;QACtC,IAAI,KAAK,EAAE,CAAC;YACV,OAAO,GAAG,CAAC;QACb,CAAC;QACD,GAAG,EAAE,CAAC;IACR,CAAC;IAED,OAAO,CAAC,CAAC,CAAC;AACZ,CAAC;AAED,SAAS,2BAA2B,CAClC,IAAuB,EACvB,IAAY;IAEZ,OAAO,CACL,IAAI,CAAC,IAAI,KAAK,sBAAc,CAAC,cAAc;QAC3C,IAAI,CAAC,IAAI,KAAK,sBAAc,CAAC,iBAAiB;QAC9C,IAAI,CAAC,IAAI,KAAK,sBAAc,CAAC,iBAAiB;QAC9C,CAAC,IAAI,CAAC,IAAI,KAAK,sBAAc,CAAC,WAAW,IAAI,IAAI,CAAC,UAAU,CAAC,GAAG,CAAC,CAAC;QAClE,CAAC,IAAI,CAAC,IAAI,KAAK,sBAAc,CAAC,kBAAkB,IAAI,IAAI,CAAC,UAAU,CAAC,GAAG,CAAC,CAAC,CAC1E,CAAC;AACJ,CAAC;AAED,SAAS,0BAA0B,CAAC,IAAoB;IACtD,OAAO,EAAE,CAAC,WAAW,CAAC,IAAI,CAAC,IAAI,IAAI,CAAC,cAAc,IAAI,IAAI,CAAC;AAC7D,CAAC;AAED,SAAS,wBAAwB,CAC/B,IAAsC,EACtC,UAA+B;IAE/B,OAAO,CACL,IAAI,CAAC,MAAM,CAAC,MAAM,KAAK,CAAC,IAAI,CAAC,IAAA,0BAAe,EAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,UAAU,CAAC,CACzE,CAAC;AACJ,CAAC;AAUD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4CG;AACH,SAAS,0BAA0B,CACjC,IAAiB,EACjB,EAAE,UAAU,EAAkC;IAE9C,MAAM,GAAG,GACP,IAAI,CAAC,IAAI,KAAK,sBAAc,CAAC,gBAAgB,CAAC,CAAC,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC;IAC3E,MAAM,EAAE,IAAI,EAAE,GAAG,GAAG,CAAC;IACrB,IACE,CAAC,IAAI,CAAC,QAAQ;QACd,CAAC,IAAI,KAAK,sBAAc,CAAC,UAAU;YACjC,IAAI,KAAK,sBAAc,CAAC,iBAAiB,CAAC,EAC5C,CAAC;QACD,OAAO,GAAG,CAAC,IAAI,CAAC;IAClB,CAAC;IACD,MAAM,MAAM,GAAG,IAAA,yBAAc,EAAC,GAAG,EAAE,UAAU,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC,CAAC;IAC9D,IAAI,CAAC,MAAM,EAAE,CAAC;QACZ,OAAO,SAAS,CAAC;IACnB,CAAC;IACD,MAAM,EAAE,KAAK,EAAE,GAAG,MAAM,CAAC;IACzB,OAAO,OAAO,KAAK,KAAK,QAAQ,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC;AAC3D,CAAC;AAED;;;;GAIG;AACH,MAAM,2BAA2B,GAAG,CAClC,gBAA6B,EAC7B,OAAuC,EACvC,GAAG,MAA2B,EACrB,EAAE,CACV,MAA0C,CAAC,QAAQ,CAClD,0BAA0B,CAAC,gBAAgB,EAAE,OAAO,CAAC,CACtD,CAAC;AAiBF,kEAA2B"} \ No newline at end of file +{"version":3,"file":"misc.js","sourceRoot":"","sources":["../../src/util/misc.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAqUE,8CAAiB;AACjB,wCAAc;AAGd,0CAAe;AACf,sCAAa;AACb,wCAAc;AACd,oCAAY;AACZ,8DAAyB;AACzB,8CAAiB;AACjB,gEAA0B;AAC1B,4CAAgB;AAChB,4DAAwB;AACxB,gEAA0B;AAI1B,kEAA2B;AAC3B,wCAAc;AAjVhB,8DAAgE;AAChE,oDAA0D;AAC1D,+CAAiC;AAEjC,yCAA6D;AAE7D,MAAM,qBAAqB,GAAG;IAC5B,EAAE,CAAC,SAAS,CAAC,GAAG;IAChB,EAAE,CAAC,SAAS,CAAC,IAAI;IACjB,EAAE,CAAC,SAAS,CAAC,IAAI;CACT,CAAC;AACX;;GAEG;AACH,SAAS,gBAAgB,CAAC,QAAgB;IACxC,MAAM,aAAa,GAAG,QAAQ,CAAC,WAAW,EAAE,CAAC;IAC7C,KAAK,MAAM,aAAa,IAAI,qBAAqB,EAAE,CAAC;QAClD,IAAI,aAAa,CAAC,QAAQ,CAAC,aAAa,CAAC,EAAE,CAAC;YAC1C,OAAO,IAAI,CAAC;QACd,CAAC;IACH,CAAC;IACD,OAAO,KAAK,CAAC;AACf,CAAC;AAED;;GAEG;AACH,SAAS,cAAc,CAAC,GAAW;IACjC,OAAO,GAAG,CAAC,CAAC,CAAC,CAAC,WAAW,EAAE,GAAG,GAAG,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC;AAC7C,CAAC;AAED,SAAS,iBAAiB,CACxB,KAAU,EACV,MAAwB;IAExB,MAAM,MAAM,GAAG,IAAI,GAAG,EAAY,CAAC;IAEnC,KAAK,MAAM,IAAI,IAAI,KAAK,EAAE,CAAC;QACzB,MAAM,GAAG,GAAG,MAAM,CAAC,IAAI,CAAC,CAAC;QACzB,MAAM,QAAQ,GAAG,MAAM,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC;QAEjC,IAAI,QAAQ,EAAE,CAAC;YACb,QAAQ,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;QACtB,CAAC;aAAM,CAAC;YACN,MAAM,CAAC,GAAG,CAAC,GAAG,EAAE,CAAC,IAAI,CAAC,CAAC,CAAC;QAC1B,CAAC;IACH,CAAC;IAED,OAAO,MAAM,CAAC;AAChB,CAAC;AAKD,SAAS,cAAc,CACrB,CAAkB,EAClB,CAAkB,EAClB,EAA2B;IAE3B,OAAO,CACL,CAAC,KAAK,CAAC;QACP,CAAC,CAAC,KAAK,SAAS;YACd,CAAC,KAAK,SAAS;YACf,CAAC,CAAC,MAAM,KAAK,CAAC,CAAC,MAAM;YACrB,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,GAAG,EAAE,EAAE,CAAC,EAAE,CAAC,CAAC,EAAE,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,CACtC,CAAC;AACJ,CAAC;AAED,gDAAgD;AAChD,SAAS,eAAe,CACtB,MAAW,EACX,SAAkC;IAElC,KAAK,MAAM,OAAO,IAAI,MAAM,EAAE,CAAC;QAC7B,MAAM,MAAM,GAAG,SAAS,CAAC,OAAO,CAAC,CAAC;QAClC,IAAI,MAAM,KAAK,SAAS,EAAE,CAAC;YACzB,OAAO,MAAM,CAAC;QAChB,CAAC;IACH,CAAC;IACD,OAAO,SAAS,CAAC;AACnB,CAAC;AAED;;GAEG;AACH,SAAS,yBAAyB,CAAC,IAA+B;IAChE,MAAM,QAAQ,GAAsC,IAAI,CAAC,UAAU,CAAC,IAAI,CACtE,CAAC,SAA6B,EAAoC,EAAE,CAClE,SAAS,CAAC,IAAI,KAAK,sBAAc,CAAC,UAAU,CAC/C,CAAC;IACF,OAAO,QAAQ,CAAC,CAAC,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC,CAAC,mBAAmB,CAAC;AACxD,CAAC;AAED,IAAK,cAKJ;AALD,WAAK,cAAc;IACjB,yDAAW,CAAA;IACX,uDAAU,CAAA;IACV,uDAAU,CAAA;IACV,+DAAc,CAAA;AAChB,CAAC,EALI,cAAc,8BAAd,cAAc,QAKlB;AAED;;;GAGG;AACH,SAAS,iBAAiB,CACxB,MASgC,EAChC,UAA+B;IAE/B,IAAI,MAAM,CAAC,GAAG,CAAC,IAAI,KAAK,sBAAc,CAAC,UAAU,EAAE,CAAC;QAClD,OAAO;YACL,IAAI,EAAE,MAAM,CAAC,GAAG,CAAC,IAAI;YACrB,IAAI,EAAE,cAAc,CAAC,MAAM;SAC5B,CAAC;IACJ,CAAC;IACD,IAAI,MAAM,CAAC,GAAG,CAAC,IAAI,KAAK,sBAAc,CAAC,iBAAiB,EAAE,CAAC;QACzD,OAAO;YACL,IAAI,EAAE,IAAI,MAAM,CAAC,GAAG,CAAC,IAAI,EAAE;YAC3B,IAAI,EAAE,cAAc,CAAC,OAAO;SAC7B,CAAC;IACJ,CAAC;IACD,IAAI,MAAM,CAAC,GAAG,CAAC,IAAI,KAAK,sBAAc,CAAC,OAAO,EAAE,CAAC;QAC/C,MAAM,IAAI,GAAG,GAAG,MAAM,CAAC,GAAG,CAAC,KAAK,EAAE,CAAC;QACnC,IAAI,IAAA,4BAAe,EAAC,IAAI,CAAC,EAAE,CAAC;YAC1B,OAAO;gBACL,IAAI,EAAE,IAAI,IAAI,GAAG;gBACjB,IAAI,EAAE,cAAc,CAAC,MAAM;aAC5B,CAAC;QACJ,CAAC;QACD,OAAO;YACL,IAAI;YACJ,IAAI,EAAE,cAAc,CAAC,MAAM;SAC5B,CAAC;IACJ,CAAC;IAED,OAAO;QACL,IAAI,EAAE,UAAU,CAAC,IAAI,CAAC,KAAK,CAAC,GAAG,MAAM,CAAC,GAAG,CAAC,KAAK,CAAC;QAChD,IAAI,EAAE,cAAc,CAAC,UAAU;KAChC,CAAC;AACJ,CAAC;AAWD,SAAS,YAAY,CAAmB,MAA0B;IAChE,OAAO,MAAM,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,CAAQ,CAAC;AAClE,CAAC;AAED;;;;;GAKG;AACH,SAAS,cAAc,CAAC,KAAe;IACrC,IAAI,CAAC,KAAK,CAAC,MAAM,EAAE,CAAC;QAClB,OAAO,EAAE,CAAC;IACZ,CAAC;IAED,IAAI,KAAK,CAAC,MAAM,KAAK,CAAC,EAAE,CAAC;QACvB,OAAO,KAAK,CAAC,CAAC,CAAC,CAAC;IAClB,CAAC;IAED,OAAO,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,EAAE,KAAK,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;AAC3E,CAAC;AAED;;;;;GAKG;AACH,SAAS,aAAa,CACpB,OAAY,EACZ,SAAoD;IAEpD,IAAI,GAAG,GAAG,OAAO,CAAC,MAAM,GAAG,CAAC,CAAC;IAE7B,OAAO,GAAG,IAAI,CAAC,EAAE,CAAC;QAChB,MAAM,KAAK,GAAG,SAAS,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC;QACtC,IAAI,KAAK,EAAE,CAAC;YACV,OAAO,GAAG,CAAC;QACb,CAAC;QACD,GAAG,EAAE,CAAC;IACR,CAAC;IAED,OAAO,CAAC,CAAC,CAAC;AACZ,CAAC;AAED,SAAS,2BAA2B,CAClC,IAAuB,EACvB,IAAY;IAEZ,OAAO,CACL,IAAI,CAAC,IAAI,KAAK,sBAAc,CAAC,cAAc;QAC3C,IAAI,CAAC,IAAI,KAAK,sBAAc,CAAC,iBAAiB;QAC9C,IAAI,CAAC,IAAI,KAAK,sBAAc,CAAC,iBAAiB;QAC9C,CAAC,IAAI,CAAC,IAAI,KAAK,sBAAc,CAAC,WAAW,IAAI,IAAI,CAAC,UAAU,CAAC,GAAG,CAAC,CAAC;QAClE,CAAC,IAAI,CAAC,IAAI,KAAK,sBAAc,CAAC,kBAAkB,IAAI,IAAI,CAAC,UAAU,CAAC,GAAG,CAAC,CAAC,CAC1E,CAAC;AACJ,CAAC;AAED,SAAS,0BAA0B,CAAC,IAAoB;IACtD,OAAO,EAAE,CAAC,WAAW,CAAC,IAAI,CAAC,IAAI,IAAI,CAAC,cAAc,IAAI,IAAI,CAAC;AAC7D,CAAC;AAED,SAAS,wBAAwB,CAC/B,IAAsC,EACtC,UAA+B;IAE/B,OAAO,CACL,IAAI,CAAC,MAAM,CAAC,MAAM,KAAK,CAAC,IAAI,CAAC,IAAA,0BAAe,EAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,UAAU,CAAC,CACzE,CAAC;AACJ,CAAC;AAUD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4CG;AACH,SAAS,0BAA0B,CACjC,IAAiB,EACjB,EAAE,UAAU,EAAkC;IAE9C,MAAM,GAAG,GACP,IAAI,CAAC,IAAI,KAAK,sBAAc,CAAC,gBAAgB,CAAC,CAAC,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC;IAC3E,MAAM,EAAE,IAAI,EAAE,GAAG,GAAG,CAAC;IACrB,IACE,CAAC,IAAI,CAAC,QAAQ;QACd,CAAC,IAAI,KAAK,sBAAc,CAAC,UAAU;YACjC,IAAI,KAAK,sBAAc,CAAC,iBAAiB,CAAC,EAC5C,CAAC;QACD,OAAO,GAAG,CAAC,IAAI,CAAC;IAClB,CAAC;IACD,MAAM,MAAM,GAAG,IAAA,yBAAc,EAAC,GAAG,EAAE,UAAU,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC,CAAC;IAC9D,IAAI,CAAC,MAAM,EAAE,CAAC;QACZ,OAAO,SAAS,CAAC;IACnB,CAAC;IACD,MAAM,EAAE,KAAK,EAAE,GAAG,MAAM,CAAC;IACzB,OAAO,OAAO,KAAK,KAAK,QAAQ,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC;AAC3D,CAAC;AAED;;;;GAIG;AACH,MAAM,2BAA2B,GAAG,CAClC,gBAA6B,EAC7B,OAAuC,EACvC,GAAG,MAA2B,EACrB,EAAE,CACV,MAA0C,CAAC,QAAQ,CAClD,0BAA0B,CAAC,gBAAgB,EAAE,OAAO,CAAC,CACtD,CAAC;AAiBF,kEAA2B"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/eslint-plugin/dist/util/needsToBeAwaited.js b/node_modules/@typescript-eslint/eslint-plugin/dist/util/needsToBeAwaited.js index 2818bd78aa..719f147fad 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/dist/util/needsToBeAwaited.js +++ b/node_modules/@typescript-eslint/eslint-plugin/dist/util/needsToBeAwaited.js @@ -15,13 +15,23 @@ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? ( }) : function(o, v) { o["default"] = v; }); -var __importStar = (this && this.__importStar) || function (mod) { - if (mod && mod.__esModule) return mod; - var result = {}; - if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k); - __setModuleDefault(result, mod); - return result; -}; +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); Object.defineProperty(exports, "__esModule", { value: true }); exports.Awaitable = void 0; exports.needsToBeAwaited = needsToBeAwaited; diff --git a/node_modules/@typescript-eslint/eslint-plugin/dist/util/needsToBeAwaited.js.map b/node_modules/@typescript-eslint/eslint-plugin/dist/util/needsToBeAwaited.js.map index 35d7794452..9e8c72ac82 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/dist/util/needsToBeAwaited.js.map +++ b/node_modules/@typescript-eslint/eslint-plugin/dist/util/needsToBeAwaited.js.map @@ -1 +1 @@ -{"version":3,"file":"needsToBeAwaited.js","sourceRoot":"","sources":["../../src/util/needsToBeAwaited.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAcA,4CA4BC;AAxCD,8DAGuC;AACvC,sDAAwC;AAExC,IAAY,SAIX;AAJD,WAAY,SAAS;IACnB,6CAAM,CAAA;IACN,2CAAK,CAAA;IACL,uCAAG,CAAA;AACL,CAAC,EAJW,SAAS,yBAAT,SAAS,QAIpB;AAED,SAAgB,gBAAgB,CAC9B,OAAuB,EACvB,IAAa,EACb,IAAa;IAEb,0EAA0E;IAC1E,0BAA0B;IAC1B,MAAM,eAAe,GAAG,CAAC,OAAO,CAAC,eAAe,CAAC,IAAI,CAAC;QACpD,CAAC,CAAC,IAAI;QACN,CAAC,CAAC,OAAO,CAAC,uBAAuB,CAAC,IAAI,CAAC,CAAC;IAE1C,2DAA2D;IAC3D,IAAI,eAAe,IAAI,IAAI,EAAE,CAAC;QAC5B,OAAO,SAAS,CAAC,GAAG,CAAC;IACvB,CAAC;IAED,mDAAmD;IACnD,IAAI,IAAA,0BAAa,EAAC,eAAe,CAAC,IAAI,IAAA,8BAAiB,EAAC,eAAe,CAAC,EAAE,CAAC;QACzE,OAAO,SAAS,CAAC,GAAG,CAAC;IACvB,CAAC;IAED,gDAAgD;IAChD,IAAI,OAAO,CAAC,cAAc,CAAC,OAAO,EAAE,IAAI,EAAE,eAAe,CAAC,EAAE,CAAC;QAC3D,OAAO,SAAS,CAAC,MAAM,CAAC;IAC1B,CAAC;IAED,sCAAsC;IACtC,OAAO,SAAS,CAAC,KAAK,CAAC;AACzB,CAAC"} \ No newline at end of file +{"version":3,"file":"needsToBeAwaited.js","sourceRoot":"","sources":["../../src/util/needsToBeAwaited.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAcA,4CA4BC;AAxCD,8DAGuC;AACvC,sDAAwC;AAExC,IAAY,SAIX;AAJD,WAAY,SAAS;IACnB,6CAAM,CAAA;IACN,2CAAK,CAAA;IACL,uCAAG,CAAA;AACL,CAAC,EAJW,SAAS,yBAAT,SAAS,QAIpB;AAED,SAAgB,gBAAgB,CAC9B,OAAuB,EACvB,IAAa,EACb,IAAa;IAEb,0EAA0E;IAC1E,0BAA0B;IAC1B,MAAM,eAAe,GAAG,CAAC,OAAO,CAAC,eAAe,CAAC,IAAI,CAAC;QACpD,CAAC,CAAC,IAAI;QACN,CAAC,CAAC,OAAO,CAAC,uBAAuB,CAAC,IAAI,CAAC,CAAC;IAE1C,2DAA2D;IAC3D,IAAI,eAAe,IAAI,IAAI,EAAE,CAAC;QAC5B,OAAO,SAAS,CAAC,GAAG,CAAC;IACvB,CAAC;IAED,mDAAmD;IACnD,IAAI,IAAA,0BAAa,EAAC,eAAe,CAAC,IAAI,IAAA,8BAAiB,EAAC,eAAe,CAAC,EAAE,CAAC;QACzE,OAAO,SAAS,CAAC,GAAG,CAAC;IACvB,CAAC;IAED,gDAAgD;IAChD,IAAI,OAAO,CAAC,cAAc,CAAC,OAAO,EAAE,IAAI,EAAE,eAAe,CAAC,EAAE,CAAC;QAC3D,OAAO,SAAS,CAAC,MAAM,CAAC;IAC1B,CAAC;IAED,sCAAsC;IACtC,OAAO,SAAS,CAAC,KAAK,CAAC;AACzB,CAAC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/eslint-plugin/docs/rules/array-type.mdx b/node_modules/@typescript-eslint/eslint-plugin/docs/rules/array-type.mdx index d3238025e4..8c520c8c59 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/docs/rules/array-type.mdx +++ b/node_modules/@typescript-eslint/eslint-plugin/docs/rules/array-type.mdx @@ -43,7 +43,7 @@ const y: readonly string[] = ['a', 'b']; ### `"generic"` Always use `Array`, `ReadonlyArray`, or `Readonly>` for all array types. -`readonly T[]` will be modified to `ReadonlyArray` and `Readonly` will be modified to `Readonly`. +`readonly T[]` will be modified to `ReadonlyArray` and `Readonly` will be modified to `Readonly>`. diff --git a/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-base-to-string.mdx b/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-base-to-string.mdx index 1da882c1eb..8097ca8b7f 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-base-to-string.mdx +++ b/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-base-to-string.mdx @@ -34,6 +34,9 @@ value + ''; String({}); ({}).toString(); ({}).toLocaleString(); + +// Stringifying objects or instances in an array with the `Array.prototype.join`. +[{}, new MyClass()].join(''); ``` diff --git a/node_modules/@typescript-eslint/eslint-plugin/package.json b/node_modules/@typescript-eslint/eslint-plugin/package.json index a34e17e0fa..d3c6da754d 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/package.json +++ b/node_modules/@typescript-eslint/eslint-plugin/package.json @@ -1,6 +1,6 @@ { "name": "@typescript-eslint/eslint-plugin", - "version": "8.15.0", + "version": "8.16.0", "description": "TypeScript plugin for ESLint", "files": [ "dist", @@ -61,10 +61,10 @@ }, "dependencies": { "@eslint-community/regexpp": "^4.10.0", - "@typescript-eslint/scope-manager": "8.15.0", - "@typescript-eslint/type-utils": "8.15.0", - "@typescript-eslint/utils": "8.15.0", - "@typescript-eslint/visitor-keys": "8.15.0", + "@typescript-eslint/scope-manager": "8.16.0", + "@typescript-eslint/type-utils": "8.16.0", + "@typescript-eslint/utils": "8.16.0", + "@typescript-eslint/visitor-keys": "8.16.0", "graphemer": "^1.4.0", "ignore": "^5.3.1", "natural-compare": "^1.4.0", @@ -75,8 +75,8 @@ "@types/marked": "^5.0.2", "@types/mdast": "^4.0.3", "@types/natural-compare": "*", - "@typescript-eslint/rule-schema-to-typescript-types": "8.15.0", - "@typescript-eslint/rule-tester": "8.15.0", + "@typescript-eslint/rule-schema-to-typescript-types": "8.16.0", + "@typescript-eslint/rule-tester": "8.16.0", "ajv": "^6.12.6", "cross-env": "^7.0.3", "cross-fetch": "*", diff --git a/node_modules/@typescript-eslint/parser/dist/parser.d.ts.map b/node_modules/@typescript-eslint/parser/dist/parser.d.ts.map index fe9607ba80..cae0758479 100644 --- a/node_modules/@typescript-eslint/parser/dist/parser.d.ts.map +++ b/node_modules/@typescript-eslint/parser/dist/parser.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"parser.d.ts","sourceRoot":"","sources":["../src/parser.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAEV,YAAY,EACb,MAAM,kCAAkC,CAAC;AAC1C,OAAO,KAAK,EAAO,aAAa,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AAC7E,OAAO,KAAK,EACV,GAAG,EACH,cAAc,EAEf,MAAM,sCAAsC,CAAC;AAC9C,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,iCAAiC,CAAC;AACnE,OAAO,KAAK,KAAK,EAAE,MAAM,YAAY,CAAC;AAUtC,UAAU,aAAc,SAAQ,GAAG,CAAC;IAAE,OAAO,EAAE,IAAI,CAAC;IAAC,MAAM,EAAE,IAAI,CAAA;CAAE,CAAC;IAClE,QAAQ,EAAE,QAAQ,CAAC,OAAO,EAAE,CAAC;IAC7B,KAAK,EAAE,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IACxB,MAAM,EAAE,QAAQ,CAAC,KAAK,EAAE,CAAC;CAC1B;AAED,UAAU,oBAAoB;IAC5B,GAAG,EAAE,aAAa,CAAC;IACnB,YAAY,EAAE,YAAY,CAAC;IAC3B,QAAQ,EAAE,cAAc,CAAC;IACzB,WAAW,EAAE,WAAW,CAAC;CAC1B;AAgDD,iBAAS,KAAK,CACZ,IAAI,EAAE,MAAM,GAAG,EAAE,CAAC,UAAU,EAC5B,OAAO,CAAC,EAAE,aAAa,GACtB,oBAAoB,CAAC,KAAK,CAAC,CAE7B;AAED,iBAAS,cAAc,CACrB,IAAI,EAAE,MAAM,GAAG,EAAE,CAAC,UAAU,EAC5B,aAAa,CAAC,EAAE,aAAa,GAAG,IAAI,GACnC,oBAAoB,CA8FtB;AAED,OAAO,EAAE,KAAK,EAAE,cAAc,EAAE,CAAC;AAEjC,YAAY,EAAE,aAAa,EAAE,MAAM,0BAA0B,CAAC"} \ No newline at end of file +{"version":3,"file":"parser.d.ts","sourceRoot":"","sources":["../src/parser.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAEV,YAAY,EACb,MAAM,kCAAkC,CAAC;AAC1C,OAAO,KAAK,EAAO,aAAa,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AAC7E,OAAO,KAAK,EACV,GAAG,EACH,cAAc,EAEf,MAAM,sCAAsC,CAAC;AAC9C,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,iCAAiC,CAAC;AACnE,OAAO,KAAK,KAAK,EAAE,MAAM,YAAY,CAAC;AAUtC,UAAU,aAAc,SAAQ,GAAG,CAAC;IAAE,OAAO,EAAE,IAAI,CAAC;IAAC,MAAM,EAAE,IAAI,CAAA;CAAE,CAAC;IAClE,QAAQ,EAAE,QAAQ,CAAC,OAAO,EAAE,CAAC;IAC7B,KAAK,EAAE,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IACxB,MAAM,EAAE,QAAQ,CAAC,KAAK,EAAE,CAAC;CAC1B;AAED,UAAU,oBAAoB;IAC5B,GAAG,EAAE,aAAa,CAAC;IACnB,YAAY,EAAE,YAAY,CAAC;IAC3B,QAAQ,EAAE,cAAc,CAAC;IACzB,WAAW,EAAE,WAAW,CAAC;CAC1B;AAkDD,iBAAS,KAAK,CACZ,IAAI,EAAE,MAAM,GAAG,EAAE,CAAC,UAAU,EAC5B,OAAO,CAAC,EAAE,aAAa,GACtB,oBAAoB,CAAC,KAAK,CAAC,CAE7B;AAED,iBAAS,cAAc,CACrB,IAAI,EAAE,MAAM,GAAG,EAAE,CAAC,UAAU,EAC5B,aAAa,CAAC,EAAE,aAAa,GAAG,IAAI,GACnC,oBAAoB,CA8FtB;AAED,OAAO,EAAE,KAAK,EAAE,cAAc,EAAE,CAAC;AAEjC,YAAY,EAAE,aAAa,EAAE,MAAM,0BAA0B,CAAC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/parser/dist/parser.js b/node_modules/@typescript-eslint/parser/dist/parser.js index 8b3466fca2..cabd8168a5 100644 --- a/node_modules/@typescript-eslint/parser/dist/parser.js +++ b/node_modules/@typescript-eslint/parser/dist/parser.js @@ -45,6 +45,8 @@ function getLib(compilerOptions) { return ['es2022.full']; case typescript_1.ScriptTarget.ES2023: return ['es2023.full']; + case typescript_1.ScriptTarget.ES2024: + return ['es2024.full']; case typescript_1.ScriptTarget.ESNext: return ['esnext.full']; default: diff --git a/node_modules/@typescript-eslint/parser/dist/parser.js.map b/node_modules/@typescript-eslint/parser/dist/parser.js.map index 092cbf1392..30a8052c31 100644 --- a/node_modules/@typescript-eslint/parser/dist/parser.js.map +++ b/node_modules/@typescript-eslint/parser/dist/parser.js.map @@ -1 +1 @@ -{"version":3,"file":"parser.js","sourceRoot":"","sources":["../src/parser.ts"],"names":[],"mappings":";;;;;AA0LS,sBAAK;AAAE,wCAAc;AA7K9B,oEAA2D;AAC3D,4EAAgF;AAChF,kEAA8D;AAC9D,kDAA0B;AAC1B,2CAA0C;AAE1C,MAAM,GAAG,GAAG,IAAA,eAAK,EAAC,iCAAiC,CAAC,CAAC;AAerD,SAAS,eAAe,CACtB,KAA0B,EAC1B,QAAQ,GAAG,KAAK;IAEhB,IAAI,OAAO,KAAK,KAAK,SAAS,EAAE,CAAC;QAC/B,OAAO,QAAQ,CAAC;IAClB,CAAC;IACD,OAAO,KAAK,CAAC;AACf,CAAC;AAED,MAAM,kBAAkB,GAAG,wBAAwB,CAAC;AACpD,SAAS,MAAM,CAAC,eAAmC;IACjD,IAAI,eAAe,CAAC,GAAG,EAAE,CAAC;QACxB,OAAO,eAAe,CAAC,GAAG;aACvB,GAAG,CAAC,GAAG,CAAC,EAAE,CAAC,kBAAkB,CAAC,IAAI,CAAC,GAAG,CAAC,WAAW,EAAE,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC;aAC3D,MAAM,CAAC,CAAC,GAAG,EAAc,EAAE,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC;IACxC,CAAC;IAED,MAAM,MAAM,GAAG,eAAe,CAAC,MAAM,IAAI,yBAAY,CAAC,GAAG,CAAC;IAC1D,gIAAgI;IAChI,QAAQ,MAAM,EAAE,CAAC;QACf,KAAK,yBAAY,CAAC,MAAM;YACtB,OAAO,CAAC,KAAK,CAAC,CAAC;QACjB,KAAK,yBAAY,CAAC,MAAM;YACtB,OAAO,CAAC,aAAa,CAAC,CAAC;QACzB,KAAK,yBAAY,CAAC,MAAM;YACtB,OAAO,CAAC,aAAa,CAAC,CAAC;QACzB,KAAK,yBAAY,CAAC,MAAM;YACtB,OAAO,CAAC,aAAa,CAAC,CAAC;QACzB,KAAK,yBAAY,CAAC,MAAM;YACtB,OAAO,CAAC,aAAa,CAAC,CAAC;QACzB,KAAK,yBAAY,CAAC,MAAM;YACtB,OAAO,CAAC,aAAa,CAAC,CAAC;QACzB,KAAK,yBAAY,CAAC,MAAM;YACtB,OAAO,CAAC,aAAa,CAAC,CAAC;QACzB,KAAK,yBAAY,CAAC,MAAM;YACtB,OAAO,CAAC,aAAa,CAAC,CAAC;QACzB,KAAK,yBAAY,CAAC,MAAM;YACtB,OAAO,CAAC,aAAa,CAAC,CAAC;QACzB,KAAK,yBAAY,CAAC,MAAM;YACtB,OAAO,CAAC,aAAa,CAAC,CAAC;QACzB;YACE,OAAO,CAAC,KAAK,CAAC,CAAC;IACnB,CAAC;AACH,CAAC;AAED,SAAS,KAAK,CACZ,IAA4B,EAC5B,OAAuB;IAEvB,OAAO,cAAc,CAAC,IAAI,EAAE,OAAO,CAAC,CAAC,GAAG,CAAC;AAC3C,CAAC;AAED,SAAS,cAAc,CACrB,IAA4B,EAC5B,aAAoC;IAEpC,IAAI,CAAC,aAAa,IAAI,OAAO,aAAa,KAAK,QAAQ,EAAE,CAAC;QACxD,aAAa,GAAG,EAAE,CAAC;IACrB,CAAC;SAAM,CAAC;QACN,aAAa,GAAG,EAAE,GAAG,aAAa,EAAE,CAAC;IACvC,CAAC;IACD,2EAA2E;IAC3E,yFAAyF;IACzF,IACE,aAAa,CAAC,UAAU,KAAK,QAAQ;QACrC,aAAa,CAAC,UAAU,KAAK,QAAQ,EACrC,CAAC;QACD,aAAa,CAAC,UAAU,GAAG,QAAQ,CAAC;IACtC,CAAC;IACD,IAAI,OAAO,aAAa,CAAC,YAAY,KAAK,QAAQ,EAAE,CAAC;QACnD,aAAa,CAAC,YAAY,GAAG,EAAE,CAAC;IAClC,CAAC;IAED;;;OAGG;IACH,MAAM,kCAAkC,GAAG,eAAe,CACxD,aAAa,CAAC,kCAAkC,EAChD,IAAI,CACL,CAAC;IAEF,MAAM,eAAe,GAAG;QACtB,GAAG,EAAE,eAAe,CAAC,aAAa,CAAC,YAAY,CAAC,GAAG,CAAC;QACpD,GAAG,CAAC,CAAC,kCAAkC,IAAI,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;QAC/D,GAAG,aAAa;QAChB,2GAA2G;QAC3G,6FAA6F;QAC7F,2CAA2C,EAAE,KAAK;QAClD,wEAAwE;QACxE,qEAAqE;QACrE,OAAO,EAAE,IAAI;QACb,GAAG,EAAE,IAAI;QACT,KAAK,EAAE,IAAI;QACX,MAAM,EAAE,IAAI;KACa,CAAC;IAE5B,MAAM,cAAc,GAAmB;QACrC,YAAY,EAAE,aAAa,CAAC,YAAY,CAAC,YAAY;QACrD,eAAe,EAAE,aAAa,CAAC,eAAe;QAC9C,SAAS,EAAE,aAAa,CAAC,SAAS;QAClC,GAAG,EAAE,aAAa,CAAC,GAAG;QACtB,UAAU,EAAE,aAAa,CAAC,UAAU;KACrC,CAAC;IAEF,MAAM,EAAE,GAAG,EAAE,QAAQ,EAAE,GAAG,IAAA,4CAAwB,EAAC,IAAI,EAAE,eAAe,CAAC,CAAC;IAC1E,GAAG,CAAC,UAAU,GAAG,aAAa,CAAC,UAAU,CAAC;IAE1C,IAAI,QAAQ,CAAC,OAAO,EAAE,CAAC;QACrB,6DAA6D;QAC7D,MAAM,eAAe,GAAG,QAAQ,CAAC,OAAO,CAAC,kBAAkB,EAAE,CAAC;QAC9D,IAAI,cAAc,CAAC,GAAG,IAAI,IAAI,EAAE,CAAC;YAC/B,cAAc,CAAC,GAAG,GAAG,MAAM,CAAC,eAAe,CAAC,CAAC;YAC7C,GAAG,CAAC,gCAAgC,EAAE,cAAc,CAAC,GAAG,CAAC,CAAC;QAC5D,CAAC;QACD,IACE,cAAc,CAAC,SAAS,KAAK,SAAS;YACtC,eAAe,CAAC,UAAU,IAAI,IAAI,EAClC,CAAC;YACD,2DAA2D;YAC3D,MAAM,OAAO,GAAG,eAAe,CAAC,UAAU,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC,IAAI,EAAE,CAAC;YAChE,cAAc,CAAC,SAAS,GAAG,OAAO,CAAC;YACnC,GAAG,CAAC,qCAAqC,EAAE,cAAc,CAAC,SAAS,CAAC,CAAC;QACvE,CAAC;QACD,IACE,cAAc,CAAC,eAAe,KAAK,SAAS;YAC5C,eAAe,CAAC,kBAAkB,IAAI,IAAI,EAC1C,CAAC;YACD,kEAAkE;YAClE,MAAM,WAAW,GAAG,eAAe,CAAC,kBAAkB;iBACnD,KAAK,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;iBACb,IAAI,EAAE,CAAC;YACV,cAAc,CAAC,eAAe,GAAG,WAAW,CAAC;YAC7C,GAAG,CACD,2CAA2C,EAC3C,cAAc,CAAC,eAAe,CAC/B,CAAC;QACJ,CAAC;IACH,CAAC;IAED,MAAM,YAAY,GAAG,IAAA,uBAAO,EAAC,GAAG,EAAE,cAAc,CAAC,CAAC;IAElD,mDAAmD;IACnD,QAAQ,CAAC,qBAAqB;QAC5B,aAAa,CAAC,qBAAqB,KAAK,IAAI,CAAC;IAC/C,QAAQ,CAAC,sBAAsB;QAC7B,aAAa,CAAC,sBAAsB,KAAK,IAAI,CAAC;IAEhD,OAAO,EAAE,GAAG,EAAE,YAAY,EAAE,QAAQ,EAAE,WAAW,EAAX,0BAAW,EAAE,CAAC;AACtD,CAAC"} \ No newline at end of file +{"version":3,"file":"parser.js","sourceRoot":"","sources":["../src/parser.ts"],"names":[],"mappings":";;;;;AA4LS,sBAAK;AAAE,wCAAc;AA/K9B,oEAA2D;AAC3D,4EAAgF;AAChF,kEAA8D;AAC9D,kDAA0B;AAC1B,2CAA0C;AAE1C,MAAM,GAAG,GAAG,IAAA,eAAK,EAAC,iCAAiC,CAAC,CAAC;AAerD,SAAS,eAAe,CACtB,KAA0B,EAC1B,QAAQ,GAAG,KAAK;IAEhB,IAAI,OAAO,KAAK,KAAK,SAAS,EAAE,CAAC;QAC/B,OAAO,QAAQ,CAAC;IAClB,CAAC;IACD,OAAO,KAAK,CAAC;AACf,CAAC;AAED,MAAM,kBAAkB,GAAG,wBAAwB,CAAC;AACpD,SAAS,MAAM,CAAC,eAAmC;IACjD,IAAI,eAAe,CAAC,GAAG,EAAE,CAAC;QACxB,OAAO,eAAe,CAAC,GAAG;aACvB,GAAG,CAAC,GAAG,CAAC,EAAE,CAAC,kBAAkB,CAAC,IAAI,CAAC,GAAG,CAAC,WAAW,EAAE,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC;aAC3D,MAAM,CAAC,CAAC,GAAG,EAAc,EAAE,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC;IACxC,CAAC;IAED,MAAM,MAAM,GAAG,eAAe,CAAC,MAAM,IAAI,yBAAY,CAAC,GAAG,CAAC;IAC1D,gIAAgI;IAChI,QAAQ,MAAM,EAAE,CAAC;QACf,KAAK,yBAAY,CAAC,MAAM;YACtB,OAAO,CAAC,KAAK,CAAC,CAAC;QACjB,KAAK,yBAAY,CAAC,MAAM;YACtB,OAAO,CAAC,aAAa,CAAC,CAAC;QACzB,KAAK,yBAAY,CAAC,MAAM;YACtB,OAAO,CAAC,aAAa,CAAC,CAAC;QACzB,KAAK,yBAAY,CAAC,MAAM;YACtB,OAAO,CAAC,aAAa,CAAC,CAAC;QACzB,KAAK,yBAAY,CAAC,MAAM;YACtB,OAAO,CAAC,aAAa,CAAC,CAAC;QACzB,KAAK,yBAAY,CAAC,MAAM;YACtB,OAAO,CAAC,aAAa,CAAC,CAAC;QACzB,KAAK,yBAAY,CAAC,MAAM;YACtB,OAAO,CAAC,aAAa,CAAC,CAAC;QACzB,KAAK,yBAAY,CAAC,MAAM;YACtB,OAAO,CAAC,aAAa,CAAC,CAAC;QACzB,KAAK,yBAAY,CAAC,MAAM;YACtB,OAAO,CAAC,aAAa,CAAC,CAAC;QACzB,KAAK,yBAAY,CAAC,MAAM;YACtB,OAAO,CAAC,aAAa,CAAC,CAAC;QACzB,KAAK,yBAAY,CAAC,MAAM;YACtB,OAAO,CAAC,aAAa,CAAC,CAAC;QACzB;YACE,OAAO,CAAC,KAAK,CAAC,CAAC;IACnB,CAAC;AACH,CAAC;AAED,SAAS,KAAK,CACZ,IAA4B,EAC5B,OAAuB;IAEvB,OAAO,cAAc,CAAC,IAAI,EAAE,OAAO,CAAC,CAAC,GAAG,CAAC;AAC3C,CAAC;AAED,SAAS,cAAc,CACrB,IAA4B,EAC5B,aAAoC;IAEpC,IAAI,CAAC,aAAa,IAAI,OAAO,aAAa,KAAK,QAAQ,EAAE,CAAC;QACxD,aAAa,GAAG,EAAE,CAAC;IACrB,CAAC;SAAM,CAAC;QACN,aAAa,GAAG,EAAE,GAAG,aAAa,EAAE,CAAC;IACvC,CAAC;IACD,2EAA2E;IAC3E,yFAAyF;IACzF,IACE,aAAa,CAAC,UAAU,KAAK,QAAQ;QACrC,aAAa,CAAC,UAAU,KAAK,QAAQ,EACrC,CAAC;QACD,aAAa,CAAC,UAAU,GAAG,QAAQ,CAAC;IACtC,CAAC;IACD,IAAI,OAAO,aAAa,CAAC,YAAY,KAAK,QAAQ,EAAE,CAAC;QACnD,aAAa,CAAC,YAAY,GAAG,EAAE,CAAC;IAClC,CAAC;IAED;;;OAGG;IACH,MAAM,kCAAkC,GAAG,eAAe,CACxD,aAAa,CAAC,kCAAkC,EAChD,IAAI,CACL,CAAC;IAEF,MAAM,eAAe,GAAG;QACtB,GAAG,EAAE,eAAe,CAAC,aAAa,CAAC,YAAY,CAAC,GAAG,CAAC;QACpD,GAAG,CAAC,CAAC,kCAAkC,IAAI,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;QAC/D,GAAG,aAAa;QAChB,2GAA2G;QAC3G,6FAA6F;QAC7F,2CAA2C,EAAE,KAAK;QAClD,wEAAwE;QACxE,qEAAqE;QACrE,OAAO,EAAE,IAAI;QACb,GAAG,EAAE,IAAI;QACT,KAAK,EAAE,IAAI;QACX,MAAM,EAAE,IAAI;KACa,CAAC;IAE5B,MAAM,cAAc,GAAmB;QACrC,YAAY,EAAE,aAAa,CAAC,YAAY,CAAC,YAAY;QACrD,eAAe,EAAE,aAAa,CAAC,eAAe;QAC9C,SAAS,EAAE,aAAa,CAAC,SAAS;QAClC,GAAG,EAAE,aAAa,CAAC,GAAG;QACtB,UAAU,EAAE,aAAa,CAAC,UAAU;KACrC,CAAC;IAEF,MAAM,EAAE,GAAG,EAAE,QAAQ,EAAE,GAAG,IAAA,4CAAwB,EAAC,IAAI,EAAE,eAAe,CAAC,CAAC;IAC1E,GAAG,CAAC,UAAU,GAAG,aAAa,CAAC,UAAU,CAAC;IAE1C,IAAI,QAAQ,CAAC,OAAO,EAAE,CAAC;QACrB,6DAA6D;QAC7D,MAAM,eAAe,GAAG,QAAQ,CAAC,OAAO,CAAC,kBAAkB,EAAE,CAAC;QAC9D,IAAI,cAAc,CAAC,GAAG,IAAI,IAAI,EAAE,CAAC;YAC/B,cAAc,CAAC,GAAG,GAAG,MAAM,CAAC,eAAe,CAAC,CAAC;YAC7C,GAAG,CAAC,gCAAgC,EAAE,cAAc,CAAC,GAAG,CAAC,CAAC;QAC5D,CAAC;QACD,IACE,cAAc,CAAC,SAAS,KAAK,SAAS;YACtC,eAAe,CAAC,UAAU,IAAI,IAAI,EAClC,CAAC;YACD,2DAA2D;YAC3D,MAAM,OAAO,GAAG,eAAe,CAAC,UAAU,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC,IAAI,EAAE,CAAC;YAChE,cAAc,CAAC,SAAS,GAAG,OAAO,CAAC;YACnC,GAAG,CAAC,qCAAqC,EAAE,cAAc,CAAC,SAAS,CAAC,CAAC;QACvE,CAAC;QACD,IACE,cAAc,CAAC,eAAe,KAAK,SAAS;YAC5C,eAAe,CAAC,kBAAkB,IAAI,IAAI,EAC1C,CAAC;YACD,kEAAkE;YAClE,MAAM,WAAW,GAAG,eAAe,CAAC,kBAAkB;iBACnD,KAAK,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;iBACb,IAAI,EAAE,CAAC;YACV,cAAc,CAAC,eAAe,GAAG,WAAW,CAAC;YAC7C,GAAG,CACD,2CAA2C,EAC3C,cAAc,CAAC,eAAe,CAC/B,CAAC;QACJ,CAAC;IACH,CAAC;IAED,MAAM,YAAY,GAAG,IAAA,uBAAO,EAAC,GAAG,EAAE,cAAc,CAAC,CAAC;IAElD,mDAAmD;IACnD,QAAQ,CAAC,qBAAqB;QAC5B,aAAa,CAAC,qBAAqB,KAAK,IAAI,CAAC;IAC/C,QAAQ,CAAC,sBAAsB;QAC7B,aAAa,CAAC,sBAAsB,KAAK,IAAI,CAAC;IAEhD,OAAO,EAAE,GAAG,EAAE,YAAY,EAAE,QAAQ,EAAE,WAAW,EAAX,0BAAW,EAAE,CAAC;AACtD,CAAC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/parser/package.json b/node_modules/@typescript-eslint/parser/package.json index a0eab1238e..30da8d3638 100644 --- a/node_modules/@typescript-eslint/parser/package.json +++ b/node_modules/@typescript-eslint/parser/package.json @@ -1,6 +1,6 @@ { "name": "@typescript-eslint/parser", - "version": "8.15.0", + "version": "8.16.0", "description": "An ESLint custom parser which leverages TypeScript ESTree", "files": [ "dist", @@ -52,10 +52,10 @@ "eslint": "^8.57.0 || ^9.0.0" }, "dependencies": { - "@typescript-eslint/scope-manager": "8.15.0", - "@typescript-eslint/types": "8.15.0", - "@typescript-eslint/typescript-estree": "8.15.0", - "@typescript-eslint/visitor-keys": "8.15.0", + "@typescript-eslint/scope-manager": "8.16.0", + "@typescript-eslint/types": "8.16.0", + "@typescript-eslint/typescript-estree": "8.16.0", + "@typescript-eslint/visitor-keys": "8.16.0", "debug": "^4.3.4" }, "devDependencies": { diff --git a/node_modules/@typescript-eslint/scope-manager/dist/lib/dom.d.ts.map b/node_modules/@typescript-eslint/scope-manager/dist/lib/dom.d.ts.map index afae365745..ac1e8a5535 100644 --- a/node_modules/@typescript-eslint/scope-manager/dist/lib/dom.d.ts.map +++ b/node_modules/@typescript-eslint/scope-manager/dist/lib/dom.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"dom.d.ts","sourceRoot":"","sources":["../../src/lib/dom.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,aAAa,CAAC;AAI9D,eAAO,MAAM,GAAG,EAm6CX,MAAM,CAAC,MAAM,EAAE,0BAA0B,CAAC,CAAC"} \ No newline at end of file +{"version":3,"file":"dom.d.ts","sourceRoot":"","sources":["../../src/lib/dom.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,aAAa,CAAC;AAI9D,eAAO,MAAM,GAAG,EA48CX,MAAM,CAAC,MAAM,EAAE,0BAA0B,CAAC,CAAC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/scope-manager/dist/lib/dom.js b/node_modules/@typescript-eslint/scope-manager/dist/lib/dom.js index 7f29701ab7..62371bdc08 100644 --- a/node_modules/@typescript-eslint/scope-manager/dist/lib/dom.js +++ b/node_modules/@typescript-eslint/scope-manager/dist/lib/dom.js @@ -14,6 +14,7 @@ exports.dom = { AbstractWorker: base_config_1.TYPE, AbstractWorkerEventMap: base_config_1.TYPE, AddEventListenerOptions: base_config_1.TYPE, + AddressErrors: base_config_1.TYPE, AesCbcParams: base_config_1.TYPE, AesCtrParams: base_config_1.TYPE, AesDerivedKeyParams: base_config_1.TYPE, @@ -54,7 +55,21 @@ exports.dom = { AudioContextLatencyCategory: base_config_1.TYPE, AudioContextOptions: base_config_1.TYPE, AudioContextState: base_config_1.TYPE, + AudioData: base_config_1.TYPE_VALUE, + AudioDataCopyToOptions: base_config_1.TYPE, + AudioDataInit: base_config_1.TYPE, + AudioDataOutputCallback: base_config_1.TYPE, + AudioDecoder: base_config_1.TYPE_VALUE, + AudioDecoderConfig: base_config_1.TYPE, + AudioDecoderEventMap: base_config_1.TYPE, + AudioDecoderInit: base_config_1.TYPE, + AudioDecoderSupport: base_config_1.TYPE, AudioDestinationNode: base_config_1.TYPE_VALUE, + AudioEncoder: base_config_1.TYPE_VALUE, + AudioEncoderConfig: base_config_1.TYPE, + AudioEncoderEventMap: base_config_1.TYPE, + AudioEncoderInit: base_config_1.TYPE, + AudioEncoderSupport: base_config_1.TYPE, AudioListener: base_config_1.TYPE_VALUE, AudioNode: base_config_1.TYPE_VALUE, AudioNodeOptions: base_config_1.TYPE, @@ -62,6 +77,7 @@ exports.dom = { AudioParamMap: base_config_1.TYPE_VALUE, AudioProcessingEvent: base_config_1.TYPE_VALUE, AudioProcessingEventInit: base_config_1.TYPE, + AudioSampleFormat: base_config_1.TYPE, AudioScheduledSourceNode: base_config_1.TYPE_VALUE, AudioScheduledSourceNodeEventMap: base_config_1.TYPE, AudioTimestamp: base_config_1.TYPE, @@ -70,7 +86,11 @@ exports.dom = { AudioWorkletNodeEventMap: base_config_1.TYPE, AudioWorkletNodeOptions: base_config_1.TYPE, AuthenticationExtensionsClientInputs: base_config_1.TYPE, + AuthenticationExtensionsClientInputsJSON: base_config_1.TYPE, AuthenticationExtensionsClientOutputs: base_config_1.TYPE, + AuthenticationExtensionsPRFInputs: base_config_1.TYPE, + AuthenticationExtensionsPRFOutputs: base_config_1.TYPE, + AuthenticationExtensionsPRFValues: base_config_1.TYPE, AuthenticatorAssertionResponse: base_config_1.TYPE_VALUE, AuthenticatorAttachment: base_config_1.TYPE, AuthenticatorAttestationResponse: base_config_1.TYPE_VALUE, @@ -91,15 +111,16 @@ exports.dom = { AvcBitstreamFormat: base_config_1.TYPE, AvcEncoderConfig: base_config_1.TYPE, BarProp: base_config_1.TYPE_VALUE, + Base64URLString: base_config_1.TYPE, BaseAudioContext: base_config_1.TYPE_VALUE, BaseAudioContextEventMap: base_config_1.TYPE, BeforeUnloadEvent: base_config_1.TYPE_VALUE, BigInteger: base_config_1.TYPE, - BinaryData: base_config_1.TYPE, BinaryType: base_config_1.TYPE, BiquadFilterNode: base_config_1.TYPE_VALUE, BiquadFilterOptions: base_config_1.TYPE, BiquadFilterType: base_config_1.TYPE, + BitrateMode: base_config_1.TYPE, Blob: base_config_1.TYPE_VALUE, BlobCallback: base_config_1.TYPE, BlobEvent: base_config_1.TYPE_VALUE, @@ -148,6 +169,8 @@ exports.dom = { CanvasTextRendering: base_config_1.TYPE, CanvasTransform: base_config_1.TYPE, CanvasUserInterface: base_config_1.TYPE, + CaretPosition: base_config_1.TYPE_VALUE, + CaretPositionFromPointOptions: base_config_1.TYPE, CDATASection: base_config_1.TYPE_VALUE, ChannelCountMode: base_config_1.TYPE, ChannelInterpretation: base_config_1.TYPE, @@ -344,6 +367,11 @@ exports.dom = { ElementEventMap: base_config_1.TYPE, ElementInternals: base_config_1.TYPE_VALUE, ElementTagNameMap: base_config_1.TYPE, + EncodedAudioChunk: base_config_1.TYPE_VALUE, + EncodedAudioChunkInit: base_config_1.TYPE, + EncodedAudioChunkMetadata: base_config_1.TYPE, + EncodedAudioChunkOutputCallback: base_config_1.TYPE, + EncodedAudioChunkType: base_config_1.TYPE, EncodedVideoChunk: base_config_1.TYPE_VALUE, EncodedVideoChunkInit: base_config_1.TYPE, EncodedVideoChunkMetadata: base_config_1.TYPE, @@ -422,6 +450,7 @@ exports.dom = { FormDataEntryValue: base_config_1.TYPE, FormDataEvent: base_config_1.TYPE_VALUE, FormDataEventInit: base_config_1.TYPE, + FragmentDirective: base_config_1.TYPE_VALUE, FrameRequestCallback: base_config_1.TYPE, FullscreenNavigationUI: base_config_1.TYPE, FullscreenOptions: base_config_1.TYPE, @@ -616,7 +645,6 @@ exports.dom = { IntersectionObserver: base_config_1.TYPE_VALUE, IntersectionObserverCallback: base_config_1.TYPE, IntersectionObserverEntry: base_config_1.TYPE_VALUE, - IntersectionObserverEntryInit: base_config_1.TYPE, IntersectionObserverInit: base_config_1.TYPE, IterationCompositeOperation: base_config_1.TYPE, JsonWebKey: base_config_1.TYPE, @@ -746,7 +774,6 @@ exports.dom = { MouseEventInit: base_config_1.TYPE, MultiCacheQueryOptions: base_config_1.TYPE, MutationCallback: base_config_1.TYPE, - MutationEvent: base_config_1.TYPE_VALUE, MutationObserver: base_config_1.TYPE_VALUE, MutationObserverInit: base_config_1.TYPE, MutationRecord: base_config_1.TYPE_VALUE, @@ -807,6 +834,8 @@ exports.dom = { OptionalEffectTiming: base_config_1.TYPE, OptionalPostfixToken: base_config_1.TYPE, OptionalPrefixToken: base_config_1.TYPE, + OpusBitstreamFormat: base_config_1.TYPE, + OpusEncoderConfig: base_config_1.TYPE, OrientationType: base_config_1.TYPE, OscillatorNode: base_config_1.TYPE_VALUE, OscillatorOptions: base_config_1.TYPE, @@ -821,6 +850,8 @@ exports.dom = { PanningModelType: base_config_1.TYPE, ParentNode: base_config_1.TYPE, Path2D: base_config_1.TYPE_VALUE, + PayerErrors: base_config_1.TYPE, + PaymentAddress: base_config_1.TYPE_VALUE, PaymentComplete: base_config_1.TYPE, PaymentCurrencyAmount: base_config_1.TYPE, PaymentDetailsBase: base_config_1.TYPE, @@ -831,11 +862,15 @@ exports.dom = { PaymentMethodChangeEvent: base_config_1.TYPE_VALUE, PaymentMethodChangeEventInit: base_config_1.TYPE, PaymentMethodData: base_config_1.TYPE, + PaymentOptions: base_config_1.TYPE, PaymentRequest: base_config_1.TYPE_VALUE, PaymentRequestEventMap: base_config_1.TYPE, PaymentRequestUpdateEvent: base_config_1.TYPE_VALUE, PaymentRequestUpdateEventInit: base_config_1.TYPE, PaymentResponse: base_config_1.TYPE_VALUE, + PaymentResponseEventMap: base_config_1.TYPE, + PaymentShippingOption: base_config_1.TYPE, + PaymentShippingType: base_config_1.TYPE, PaymentValidationErrors: base_config_1.TYPE, Pbkdf2Params: base_config_1.TYPE, Performance: base_config_1.TYPE_VALUE, @@ -896,13 +931,18 @@ exports.dom = { PropertyIndexedKeyframes: base_config_1.TYPE, PublicKeyCredential: base_config_1.TYPE_VALUE, PublicKeyCredentialCreationOptions: base_config_1.TYPE, + PublicKeyCredentialCreationOptionsJSON: base_config_1.TYPE, PublicKeyCredentialDescriptor: base_config_1.TYPE, + PublicKeyCredentialDescriptorJSON: base_config_1.TYPE, PublicKeyCredentialEntity: base_config_1.TYPE, + PublicKeyCredentialJSON: base_config_1.TYPE, PublicKeyCredentialParameters: base_config_1.TYPE, PublicKeyCredentialRequestOptions: base_config_1.TYPE, + PublicKeyCredentialRequestOptionsJSON: base_config_1.TYPE, PublicKeyCredentialRpEntity: base_config_1.TYPE, PublicKeyCredentialType: base_config_1.TYPE, PublicKeyCredentialUserEntity: base_config_1.TYPE, + PublicKeyCredentialUserEntityJSON: base_config_1.TYPE, PushEncryptionKeyName: base_config_1.TYPE, PushManager: base_config_1.TYPE_VALUE, PushSubscription: base_config_1.TYPE_VALUE, @@ -1309,7 +1349,6 @@ exports.dom = { UnderlyingSourceCancelCallback: base_config_1.TYPE, UnderlyingSourcePullCallback: base_config_1.TYPE, UnderlyingSourceStartCallback: base_config_1.TYPE, - UpdateCallback: base_config_1.TYPE, URL: base_config_1.TYPE_VALUE, URLSearchParams: base_config_1.TYPE_VALUE, UserActivation: base_config_1.TYPE_VALUE, @@ -1330,6 +1369,7 @@ exports.dom = { VideoEncoderBitrateMode: base_config_1.TYPE, VideoEncoderConfig: base_config_1.TYPE, VideoEncoderEncodeOptions: base_config_1.TYPE, + VideoEncoderEncodeOptionsForAvc: base_config_1.TYPE, VideoEncoderEventMap: base_config_1.TYPE, VideoEncoderInit: base_config_1.TYPE, VideoEncoderSupport: base_config_1.TYPE, @@ -1346,6 +1386,7 @@ exports.dom = { VideoPlaybackQuality: base_config_1.TYPE_VALUE, VideoTransferCharacteristics: base_config_1.TYPE, ViewTransition: base_config_1.TYPE_VALUE, + ViewTransitionUpdateCallback: base_config_1.TYPE, VisualViewport: base_config_1.TYPE_VALUE, VisualViewportEventMap: base_config_1.TYPE, VoidFunction: base_config_1.TYPE, diff --git a/node_modules/@typescript-eslint/scope-manager/dist/lib/dom.js.map b/node_modules/@typescript-eslint/scope-manager/dist/lib/dom.js.map index b5137ec370..d1387ff23b 100644 --- a/node_modules/@typescript-eslint/scope-manager/dist/lib/dom.js.map +++ b/node_modules/@typescript-eslint/scope-manager/dist/lib/dom.js.map @@ -1 +1 @@ -{"version":3,"file":"dom.js","sourceRoot":"","sources":["../../src/lib/dom.ts"],"names":[],"mappings":";AAAA,wCAAwC;AACxC,gCAAgC;AAChC,mEAAmE;AACnE,2BAA2B;;;AAI3B,+CAAiD;AAEpC,QAAA,GAAG,GAAG;IACjB,eAAe,EAAE,wBAAU;IAC3B,WAAW,EAAE,wBAAU;IACvB,mBAAmB,EAAE,kBAAI;IACzB,aAAa,EAAE,wBAAU;IACzB,cAAc,EAAE,kBAAI;IACpB,sBAAsB,EAAE,kBAAI;IAC5B,uBAAuB,EAAE,kBAAI;IAC7B,YAAY,EAAE,kBAAI;IAClB,YAAY,EAAE,kBAAI;IAClB,mBAAmB,EAAE,kBAAI;IACzB,YAAY,EAAE,kBAAI;IAClB,eAAe,EAAE,kBAAI;IACrB,eAAe,EAAE,kBAAI;IACrB,SAAS,EAAE,kBAAI;IACf,mBAAmB,EAAE,kBAAI;IACzB,YAAY,EAAE,kBAAI;IAClB,uBAAuB,EAAE,kBAAI;IAC7B,WAAW,EAAE,kBAAI;IACjB,YAAY,EAAE,wBAAU;IACxB,eAAe,EAAE,kBAAI;IACrB,sBAAsB,EAAE,kBAAI;IAC5B,UAAU,EAAE,kBAAI;IAChB,SAAS,EAAE,wBAAU;IACrB,eAAe,EAAE,wBAAU;IAC3B,cAAc,EAAE,wBAAU;IAC1B,kBAAkB,EAAE,kBAAI;IACxB,iBAAiB,EAAE,kBAAI;IACvB,sBAAsB,EAAE,kBAAI;IAC5B,sBAAsB,EAAE,wBAAU;IAClC,0BAA0B,EAAE,kBAAI;IAChC,kBAAkB,EAAE,kBAAI;IACxB,qBAAqB,EAAE,kBAAI;IAC3B,iBAAiB,EAAE,wBAAU;IAC7B,UAAU,EAAE,kBAAI;IAChB,SAAS,EAAE,kBAAI;IACf,oBAAoB,EAAE,kBAAI;IAC1B,+BAA+B,EAAE,kBAAI;IACrC,IAAI,EAAE,wBAAU;IAChB,WAAW,EAAE,wBAAU;IACvB,kBAAkB,EAAE,kBAAI;IACxB,qBAAqB,EAAE,wBAAU;IACjC,wBAAwB,EAAE,kBAAI;IAC9B,kBAAkB,EAAE,kBAAI;IACxB,YAAY,EAAE,wBAAU;IACxB,2BAA2B,EAAE,kBAAI;IACjC,mBAAmB,EAAE,kBAAI;IACzB,iBAAiB,EAAE,kBAAI;IACvB,oBAAoB,EAAE,wBAAU;IAChC,aAAa,EAAE,wBAAU;IACzB,SAAS,EAAE,wBAAU;IACrB,gBAAgB,EAAE,kBAAI;IACtB,UAAU,EAAE,wBAAU;IACtB,aAAa,EAAE,wBAAU;IACzB,oBAAoB,EAAE,wBAAU;IAChC,wBAAwB,EAAE,kBAAI;IAC9B,wBAAwB,EAAE,wBAAU;IACpC,gCAAgC,EAAE,kBAAI;IACtC,cAAc,EAAE,kBAAI;IACpB,YAAY,EAAE,wBAAU;IACxB,gBAAgB,EAAE,wBAAU;IAC5B,wBAAwB,EAAE,kBAAI;IAC9B,uBAAuB,EAAE,kBAAI;IAC7B,oCAAoC,EAAE,kBAAI;IAC1C,qCAAqC,EAAE,kBAAI;IAC3C,8BAA8B,EAAE,wBAAU;IAC1C,uBAAuB,EAAE,kBAAI;IAC7B,gCAAgC,EAAE,wBAAU;IAC5C,qBAAqB,EAAE,wBAAU;IACjC,8BAA8B,EAAE,kBAAI;IACpC,sBAAsB,EAAE,kBAAI;IAC5B,QAAQ,EAAE,kBAAI;IACd,mBAAmB,EAAE,kBAAI;IACzB,YAAY,EAAE,kBAAI;IAClB,oBAAoB,EAAE,kBAAI;IAC1B,mBAAmB,EAAE,kBAAI;IACzB,uBAAuB,EAAE,kBAAI;IAC7B,aAAa,EAAE,kBAAI;IACnB,mBAAmB,EAAE,kBAAI;IACzB,eAAe,EAAE,kBAAI;IACrB,WAAW,EAAE,kBAAI;IACjB,cAAc,EAAE,kBAAI;IACpB,kBAAkB,EAAE,kBAAI;IACxB,gBAAgB,EAAE,kBAAI;IACtB,OAAO,EAAE,wBAAU;IACnB,gBAAgB,EAAE,wBAAU;IAC5B,wBAAwB,EAAE,kBAAI;IAC9B,iBAAiB,EAAE,wBAAU;IAC7B,UAAU,EAAE,kBAAI;IAChB,UAAU,EAAE,kBAAI;IAChB,UAAU,EAAE,kBAAI;IAChB,gBAAgB,EAAE,wBAAU;IAC5B,mBAAmB,EAAE,kBAAI;IACzB,gBAAgB,EAAE,kBAAI;IACtB,IAAI,EAAE,wBAAU;IAChB,YAAY,EAAE,kBAAI;IAClB,SAAS,EAAE,wBAAU;IACrB,aAAa,EAAE,kBAAI;IACnB,QAAQ,EAAE,kBAAI;IACd,eAAe,EAAE,kBAAI;IACrB,IAAI,EAAE,kBAAI;IACV,QAAQ,EAAE,kBAAI;IACd,gBAAgB,EAAE,wBAAU;IAC5B,wBAAwB,EAAE,kBAAI;IAC9B,YAAY,EAAE,kBAAI;IAClB,yBAAyB,EAAE,wBAAU;IACrC,KAAK,EAAE,wBAAU;IACjB,iBAAiB,EAAE,kBAAI;IACvB,YAAY,EAAE,wBAAU;IACxB,iBAAiB,EAAE,kBAAI;IACvB,6BAA6B,EAAE,wBAAU;IACzC,iBAAiB,EAAE,kBAAI;IACvB,eAAe,EAAE,kBAAI;IACrB,eAAe,EAAE,kBAAI;IACrB,cAAc,EAAE,kBAAI;IACpB,cAAc,EAAE,kBAAI;IACpB,sBAAsB,EAAE,kBAAI;IAC5B,aAAa,EAAE,kBAAI;IACnB,iBAAiB,EAAE,kBAAI;IACvB,iBAAiB,EAAE,kBAAI;IACvB,qBAAqB,EAAE,kBAAI;IAC3B,cAAc,EAAE,wBAAU;IAC1B,eAAe,EAAE,kBAAI;IACrB,oBAAoB,EAAE,kBAAI;IAC1B,iBAAiB,EAAE,kBAAI;IACvB,aAAa,EAAE,kBAAI;IACnB,cAAc,EAAE,kBAAI;IACpB,UAAU,EAAE,kBAAI;IAChB,uBAAuB,EAAE,kBAAI;IAC7B,aAAa,EAAE,wBAAU;IACzB,UAAU,EAAE,kBAAI;IAChB,wBAAwB,EAAE,wBAAU;IACpC,gCAAgC,EAAE,kBAAI;IACtC,kBAAkB,EAAE,kBAAI;IACxB,WAAW,EAAE,kBAAI;IACjB,UAAU,EAAE,kBAAI;IAChB,eAAe,EAAE,kBAAI;IACrB,kBAAkB,EAAE,kBAAI;IACxB,uBAAuB,EAAE,kBAAI;IAC7B,mBAAmB,EAAE,kBAAI;IACzB,eAAe,EAAE,kBAAI;IACrB,mBAAmB,EAAE,kBAAI;IACzB,YAAY,EAAE,wBAAU;IACxB,gBAAgB,EAAE,kBAAI;IACtB,qBAAqB,EAAE,kBAAI;IAC3B,iBAAiB,EAAE,wBAAU;IAC7B,oBAAoB,EAAE,kBAAI;IAC1B,mBAAmB,EAAE,wBAAU;IAC/B,sBAAsB,EAAE,kBAAI;IAC5B,aAAa,EAAE,wBAAU;IACzB,sBAAsB,EAAE,kBAAI;IAC5B,SAAS,EAAE,kBAAI;IACf,kBAAkB,EAAE,kBAAI;IACxB,UAAU,EAAE,kBAAI;IAChB,WAAW,EAAE,kBAAI;IACjB,SAAS,EAAE,wBAAU;IACrB,cAAc,EAAE,wBAAU;IAC1B,kBAAkB,EAAE,kBAAI;IACxB,aAAa,EAAE,wBAAU;IACzB,iBAAiB,EAAE,kBAAI;IACvB,oBAAoB,EAAE,kBAAI;IAC1B,cAAc,EAAE,kBAAI;IACpB,UAAU,EAAE,wBAAU;IACtB,cAAc,EAAE,kBAAI;IACpB,UAAU,EAAE,kBAAI;IAChB,UAAU,EAAE,kBAAI;IAChB,oBAAoB,EAAE,kBAAI;IAC1B,OAAO,EAAE,wBAAU;IACnB,kBAAkB,EAAE,kBAAI;IACxB,wBAAwB,EAAE,kBAAI;IAC9B,gBAAgB,EAAE,wBAAU;IAC5B,oBAAoB,EAAE,kBAAI;IAC1B,iBAAiB,EAAE,kBAAI;IACvB,iBAAiB,EAAE,wBAAU;IAC7B,oBAAoB,EAAE,kBAAI;IAC1B,gBAAgB,EAAE,kBAAI;IACtB,OAAO,EAAE,kBAAI;IACb,kBAAkB,EAAE,wBAAU;IAC9B,qBAAqB,EAAE,kBAAI;IAC3B,gBAAgB,EAAE,kBAAI;IACtB,0BAA0B,EAAE,kBAAI;IAChC,kBAAkB,EAAE,kBAAI;IACxB,4BAA4B,EAAE,kBAAI;IAClC,eAAe,EAAE,kBAAI;IACrB,oBAAoB,EAAE,kBAAI;IAC1B,cAAc,EAAE,kBAAI;IACpB,mBAAmB,EAAE,kBAAI;IACzB,qCAAqC,EAAE,wBAAU;IACjD,yCAAyC,EAAE,kBAAI;IAC/C,aAAa,EAAE,wBAAU;IACzB,gBAAgB,EAAE,kBAAI;IACtB,uBAAuB,EAAE,kBAAI;IAC7B,oBAAoB,EAAE,wBAAU;IAChC,UAAU,EAAE,wBAAU;IACtB,yBAAyB,EAAE,kBAAI;IAC/B,8BAA8B,EAAE,kBAAI;IACpC,0BAA0B,EAAE,kBAAI;IAChC,wBAAwB,EAAE,kBAAI;IAC9B,oBAAoB,EAAE,wBAAU;IAChC,MAAM,EAAE,wBAAU;IAClB,SAAS,EAAE,wBAAU;IACrB,aAAa,EAAE,kBAAI;IACnB,GAAG,EAAE,wBAAU;IACf,YAAY,EAAE,wBAAU;IACxB,gBAAgB,EAAE,wBAAU;IAC5B,gBAAgB,EAAE,wBAAU;IAC5B,mBAAmB,EAAE,wBAAU;IAC/B,eAAe,EAAE,wBAAU;IAC3B,wBAAwB,EAAE,wBAAU;IACpC,wBAAwB,EAAE,wBAAU;IACpC,eAAe,EAAE,wBAAU;IAC3B,aAAa,EAAE,wBAAU;IACzB,aAAa,EAAE,wBAAU;IACzB,eAAe,EAAE,wBAAU;IAC3B,gBAAgB,EAAE,wBAAU;IAC5B,aAAa,EAAE,kBAAI;IACnB,eAAe,EAAE,wBAAU;IAC3B,iBAAiB,EAAE,wBAAU;IAC7B,qBAAqB,EAAE,wBAAU;IACjC,YAAY,EAAE,wBAAU;IACxB,aAAa,EAAE,wBAAU;IACzB,UAAU,EAAE,wBAAU;IACtB,UAAU,EAAE,wBAAU;IACtB,aAAa,EAAE,wBAAU;IACzB,eAAe,EAAE,kBAAI;IACrB,cAAc,EAAE,wBAAU;IAC1B,UAAU,EAAE,wBAAU;IACtB,YAAY,EAAE,wBAAU;IACxB,kBAAkB,EAAE,wBAAU;IAC9B,yBAAyB,EAAE,kBAAI;IAC/B,YAAY,EAAE,wBAAU;IACxB,gBAAgB,EAAE,wBAAU;IAC5B,YAAY,EAAE,kBAAI;IAClB,eAAe,EAAE,wBAAU;IAC3B,kBAAkB,EAAE,kBAAI;IACxB,cAAc,EAAE,kBAAI;IACpB,eAAe,EAAE,wBAAU;IAC3B,WAAW,EAAE,wBAAU;IACvB,cAAc,EAAE,wBAAU;IAC1B,mBAAmB,EAAE,kBAAI;IACzB,eAAe,EAAE,wBAAU;IAC3B,SAAS,EAAE,wBAAU;IACrB,OAAO,EAAE,wBAAU;IACnB,WAAW,EAAE,wBAAU;IACvB,QAAQ,EAAE,wBAAU;IACpB,YAAY,EAAE,wBAAU;IACxB,OAAO,EAAE,wBAAU;IACnB,QAAQ,EAAE,wBAAU;IACpB,QAAQ,EAAE,wBAAU;IACpB,oBAAoB,EAAE,wBAAU;IAChC,mBAAmB,EAAE,wBAAU;IAC/B,YAAY,EAAE,wBAAU;IACxB,aAAa,EAAE,wBAAU;IACzB,iBAAiB,EAAE,kBAAI;IACvB,aAAa,EAAE,wBAAU;IACzB,eAAe,EAAE,wBAAU;IAC3B,qBAAqB,EAAE,wBAAU;IACjC,iBAAiB,EAAE,wBAAU;IAC7B,aAAa,EAAE,wBAAU;IACzB,YAAY,EAAE,wBAAU;IACxB,YAAY,EAAE,wBAAU;IACxB,kBAAkB,EAAE,kBAAI;IACxB,gBAAgB,EAAE,wBAAU;IAC5B,yBAAyB,EAAE,wBAAU;IACrC,wBAAwB,EAAE,kBAAI;IAC9B,qBAAqB,EAAE,wBAAU;IACjC,WAAW,EAAE,wBAAU;IACvB,eAAe,EAAE,kBAAI;IACrB,cAAc,EAAE,wBAAU;IAC1B,YAAY,EAAE,wBAAU;IACxB,gBAAgB,EAAE,wBAAU;IAC5B,oBAAoB,EAAE,wBAAU;IAChC,mBAAmB,EAAE,kBAAI;IACzB,qBAAqB,EAAE,kBAAI;IAC3B,mBAAmB,EAAE,wBAAU;IAC/B,SAAS,EAAE,wBAAU;IACrB,YAAY,EAAE,kBAAI;IAClB,iBAAiB,EAAE,wBAAU;IAC7B,6BAA6B,EAAE,kBAAI;IACnC,iCAAiC,EAAE,kBAAI;IACvC,qBAAqB,EAAE,kBAAI;IAC3B,6BAA6B,EAAE,kBAAI;IACnC,iCAAiC,EAAE,kBAAI;IACvC,sBAAsB,EAAE,wBAAU;IAClC,0BAA0B,EAAE,kBAAI;IAChC,gBAAgB,EAAE,kBAAI;IACtB,yBAAyB,EAAE,kBAAI;IAC/B,yBAAyB,EAAE,kBAAI;IAC/B,iBAAiB,EAAE,kBAAI;IACvB,QAAQ,EAAE,wBAAU;IACpB,gBAAgB,EAAE,kBAAI;IACtB,gBAAgB,EAAE,wBAAU;IAC5B,oBAAoB,EAAE,kBAAI;IAC1B,kBAAkB,EAAE,kBAAI;IACxB,gBAAgB,EAAE,wBAAU;IAC5B,uBAAuB,EAAE,kBAAI;IAC7B,YAAY,EAAE,wBAAU;IACxB,uBAAuB,EAAE,kBAAI;IAC7B,YAAY,EAAE,wBAAU;IACxB,mBAAmB,EAAE,kBAAI;IACzB,iBAAiB,EAAE,wBAAU;IAC7B,SAAS,EAAE,wBAAU;IACrB,eAAe,EAAE,kBAAI;IACrB,aAAa,EAAE,kBAAI;IACnB,iBAAiB,EAAE,wBAAU;IAC7B,SAAS,EAAE,wBAAU;IACrB,sBAAsB,EAAE,kBAAI;IAC5B,QAAQ,EAAE,wBAAU;IACpB,YAAY,EAAE,kBAAI;IAClB,gBAAgB,EAAE,wBAAU;IAC5B,OAAO,EAAE,wBAAU;IACnB,WAAW,EAAE,kBAAI;IACjB,OAAO,EAAE,wBAAU;IACnB,WAAW,EAAE,kBAAI;IACjB,WAAW,EAAE,wBAAU;IACvB,eAAe,EAAE,wBAAU;IAC3B,aAAa,EAAE,wBAAU;IACzB,YAAY,EAAE,wBAAU;IACxB,YAAY,EAAE,wBAAU;IACxB,WAAW,EAAE,kBAAI;IACjB,SAAS,EAAE,wBAAU;IACrB,aAAa,EAAE,kBAAI;IACnB,sBAAsB,EAAE,wBAAU;IAClC,yBAAyB,EAAE,kBAAI;IAC/B,mBAAmB,EAAE,kBAAI;IACzB,WAAW,EAAE,kBAAI;IACjB,cAAc,EAAE,kBAAI;IACpB,cAAc,EAAE,kBAAI;IACpB,iBAAiB,EAAE,kBAAI;IACvB,YAAY,EAAE,kBAAI;IAClB,OAAO,EAAE,wBAAU;IACnB,sBAAsB,EAAE,kBAAI;IAC5B,sBAAsB,EAAE,kBAAI;IAC5B,qBAAqB,EAAE,kBAAI;IAC3B,wBAAwB,EAAE,kBAAI;IAC9B,eAAe,EAAE,kBAAI;IACrB,gBAAgB,EAAE,wBAAU;IAC5B,iBAAiB,EAAE,kBAAI;IACvB,iBAAiB,EAAE,wBAAU;IAC7B,qBAAqB,EAAE,kBAAI;IAC3B,yBAAyB,EAAE,kBAAI;IAC/B,+BAA+B,EAAE,kBAAI;IACrC,qBAAqB,EAAE,kBAAI;IAC3B,UAAU,EAAE,kBAAI;IAChB,gBAAgB,EAAE,kBAAI;IACtB,cAAc,EAAE,kBAAI;IACpB,aAAa,EAAE,kBAAI;IACnB,UAAU,EAAE,wBAAU;IACtB,cAAc,EAAE,kBAAI;IACpB,KAAK,EAAE,wBAAU;IACjB,WAAW,EAAE,wBAAU;IACvB,SAAS,EAAE,kBAAI;IACf,aAAa,EAAE,kBAAI;IACnB,mBAAmB,EAAE,kBAAI;IACzB,oBAAoB,EAAE,kBAAI;IAC1B,kCAAkC,EAAE,kBAAI;IACxC,iBAAiB,EAAE,kBAAI;IACvB,WAAW,EAAE,wBAAU;IACvB,mBAAmB,EAAE,kBAAI;IACzB,eAAe,EAAE,kBAAI;IACrB,WAAW,EAAE,wBAAU;IACvB,gBAAgB,EAAE,kBAAI;IACtB,sBAAsB,EAAE,kBAAI;IAC5B,2BAA2B,EAAE,kBAAI;IACjC,eAAe,EAAE,kBAAI;IACrB,cAAc,EAAE,kBAAI;IACpB,sBAAsB,EAAE,kBAAI;IAC5B,QAAQ,EAAE,kBAAI;IACd,4BAA4B,EAAE,kBAAI;IAClC,4BAA4B,EAAE,kBAAI;IAClC,8BAA8B,EAAE,kBAAI;IACpC,kBAAkB,EAAE,kBAAI;IACxB,QAAQ,EAAE,wBAAU;IACpB,IAAI,EAAE,wBAAU;IAChB,YAAY,EAAE,kBAAI;IAClB,QAAQ,EAAE,wBAAU;IACpB,eAAe,EAAE,kBAAI;IACrB,UAAU,EAAE,wBAAU;IACtB,kBAAkB,EAAE,kBAAI;IACxB,UAAU,EAAE,wBAAU;IACtB,+BAA+B,EAAE,kBAAI;IACrC,wBAAwB,EAAE,wBAAU;IACpC,yBAAyB,EAAE,wBAAU;IACrC,yBAAyB,EAAE,wBAAU;IACrC,yBAAyB,EAAE,kBAAI;IAC/B,eAAe,EAAE,wBAAU;IAC3B,uBAAuB,EAAE,kBAAI;IAC7B,mBAAmB,EAAE,wBAAU;IAC/B,oBAAoB,EAAE,wBAAU;IAChC,eAAe,EAAE,kBAAI;IACrB,6BAA6B,EAAE,kBAAI;IACnC,wBAAwB,EAAE,kBAAI;IAC9B,gBAAgB,EAAE,wBAAU;IAC5B,oBAAoB,EAAE,kBAAI;IAC1B,uBAAuB,EAAE,kBAAI;IAC7B,4BAA4B,EAAE,wBAAU;IACxC,wBAAwB,EAAE,kBAAI;IAC9B,QAAQ,EAAE,kBAAI;IACd,WAAW,EAAE,kBAAI;IACjB,UAAU,EAAE,wBAAU;IACtB,cAAc,EAAE,kBAAI;IACpB,YAAY,EAAE,kBAAI;IAClB,WAAW,EAAE,kBAAI;IACjB,QAAQ,EAAE,wBAAU;IACpB,mBAAmB,EAAE,kBAAI;IACzB,kBAAkB,EAAE,kBAAI;IACxB,WAAW,EAAE,wBAAU;IACvB,mBAAmB,EAAE,kBAAI;IACzB,oBAAoB,EAAE,wBAAU;IAChC,wBAAwB,EAAE,kBAAI;IAC9B,qBAAqB,EAAE,kBAAI;IAC3B,cAAc,EAAE,kBAAI;IACpB,QAAQ,EAAE,wBAAU;IACpB,kBAAkB,EAAE,kBAAI;IACxB,aAAa,EAAE,wBAAU;IACzB,iBAAiB,EAAE,kBAAI;IACvB,oBAAoB,EAAE,kBAAI;IAC1B,sBAAsB,EAAE,kBAAI;IAC5B,iBAAiB,EAAE,kBAAI;IACvB,sBAAsB,EAAE,kBAAI;IAC5B,QAAQ,EAAE,wBAAU;IACpB,WAAW,EAAE,kBAAI;IACjB,OAAO,EAAE,wBAAU;IACnB,aAAa,EAAE,wBAAU;IACzB,uBAAuB,EAAE,kBAAI;IAC7B,YAAY,EAAE,wBAAU;IACxB,gBAAgB,EAAE,kBAAI;IACtB,qBAAqB,EAAE,wBAAU;IACjC,uBAAuB,EAAE,kBAAI;IAC7B,oBAAoB,EAAE,kBAAI;IAC1B,kBAAkB,EAAE,kBAAI;IACxB,sBAAsB,EAAE,kBAAI;IAC5B,WAAW,EAAE,wBAAU;IACvB,sBAAsB,EAAE,wBAAU;IAClC,mBAAmB,EAAE,wBAAU;IAC/B,wBAAwB,EAAE,wBAAU;IACpC,oBAAoB,EAAE,kBAAI;IAC1B,cAAc,EAAE,kBAAI;IACpB,sBAAsB,EAAE,kBAAI;IAC5B,kBAAkB,EAAE,kBAAI;IACxB,UAAU,EAAE,kBAAI;IAChB,SAAS,EAAE,kBAAI;IACf,QAAQ,EAAE,kBAAI;IACd,MAAM,EAAE,kBAAI;IACZ,OAAO,EAAE,kBAAI;IACb,KAAK,EAAE,kBAAI;IACX,OAAO,EAAE,kBAAI;IACb,QAAQ,EAAE,kBAAI;IACd,wBAAwB,EAAE,kBAAI;IAC9B,mBAAmB,EAAE,kBAAI;IACzB,2BAA2B,EAAE,kBAAI;IACjC,OAAO,EAAE,kBAAI;IACb,UAAU,EAAE,kBAAI;IAChB,MAAM,EAAE,kBAAI;IACZ,QAAQ,EAAE,kBAAI;IACd,oBAAoB,EAAE,kBAAI;IAC1B,uBAAuB,EAAE,kBAAI;IAC7B,eAAe,EAAE,wBAAU;IAC3B,mBAAmB,EAAE,kBAAI;IACzB,eAAe,EAAE,kBAAI;IACrB,OAAO,EAAE,wBAAU;IACnB,WAAW,EAAE,kBAAI;IACjB,SAAS,EAAE,wBAAU;IACrB,iBAAiB,EAAE,wBAAU;IAC7B,aAAa,EAAE,kBAAI;IACnB,OAAO,EAAE,wBAAU;IACnB,UAAU,EAAE,kBAAI;IAChB,gBAAgB,EAAE,kBAAI;IACtB,gBAAgB,EAAE,kBAAI;IACtB,gBAAgB,EAAE,kBAAI;IACtB,iBAAiB,EAAE,wBAAU;IAC7B,iBAAiB,EAAE,wBAAU;IAC7B,eAAe,EAAE,wBAAU;IAC3B,gBAAgB,EAAE,wBAAU;IAC5B,eAAe,EAAE,wBAAU;IAC3B,eAAe,EAAE,wBAAU;IAC3B,uBAAuB,EAAE,kBAAI;IAC7B,aAAa,EAAE,wBAAU;IACzB,iBAAiB,EAAE,wBAAU;IAC7B,iBAAiB,EAAE,wBAAU;IAC7B,cAAc,EAAE,wBAAU;IAC1B,kBAAkB,EAAE,kBAAI;IACxB,gBAAgB,EAAE,kBAAI;IACtB,eAAe,EAAE,wBAAU;IAC3B,mBAAmB,EAAE,wBAAU;IAC/B,kBAAkB,EAAE,wBAAU;IAC9B,iBAAiB,EAAE,wBAAU;IAC7B,oBAAoB,EAAE,wBAAU;IAChC,cAAc,EAAE,wBAAU;IAC1B,gBAAgB,EAAE,wBAAU;IAC5B,YAAY,EAAE,wBAAU;IACxB,WAAW,EAAE,wBAAU;IACvB,+BAA+B,EAAE,kBAAI;IACrC,mBAAmB,EAAE,kBAAI;IACzB,qBAAqB,EAAE,kBAAI;IAC3B,gBAAgB,EAAE,wBAAU;IAC5B,mBAAmB,EAAE,wBAAU;IAC/B,eAAe,EAAE,wBAAU;IAC3B,0BAA0B,EAAE,wBAAU;IACtC,eAAe,EAAE,wBAAU;IAC3B,gBAAgB,EAAE,wBAAU;IAC5B,mBAAmB,EAAE,wBAAU;IAC/B,2BAA2B,EAAE,kBAAI;IACjC,eAAe,EAAE,wBAAU;IAC3B,kBAAkB,EAAE,wBAAU;IAC9B,aAAa,EAAE,wBAAU;IACzB,eAAe,EAAE,wBAAU;IAC3B,yBAAyB,EAAE,kBAAI;IAC/B,iBAAiB,EAAE,wBAAU;IAC7B,gBAAgB,EAAE,wBAAU;IAC5B,gBAAgB,EAAE,wBAAU;IAC5B,gBAAgB,EAAE,wBAAU;IAC5B,iBAAiB,EAAE,wBAAU;IAC7B,aAAa,EAAE,wBAAU;IACzB,eAAe,EAAE,wBAAU;IAC3B,cAAc,EAAE,wBAAU;IAC1B,kBAAkB,EAAE,wBAAU;IAC9B,gBAAgB,EAAE,wBAAU;IAC5B,wBAAwB,EAAE,kBAAI;IAC9B,eAAe,EAAE,wBAAU;IAC3B,eAAe,EAAE,wBAAU;IAC3B,gBAAgB,EAAE,wBAAU;IAC5B,cAAc,EAAE,wBAAU;IAC1B,iBAAiB,EAAE,wBAAU;IAC7B,gBAAgB,EAAE,wBAAU;IAC5B,mBAAmB,EAAE,wBAAU;IAC/B,iBAAiB,EAAE,wBAAU;IAC7B,qBAAqB,EAAE,wBAAU;IACjC,gBAAgB,EAAE,kBAAI;IACtB,qBAAqB,EAAE,kBAAI;IAC3B,sBAAsB,EAAE,kBAAI;IAC5B,iBAAiB,EAAE,wBAAU;IAC7B,oBAAoB,EAAE,wBAAU;IAChC,gBAAgB,EAAE,wBAAU;IAC5B,kBAAkB,EAAE,wBAAU;IAC9B,cAAc,EAAE,wBAAU;IAC1B,mBAAmB,EAAE,wBAAU;IAC/B,gBAAgB,EAAE,wBAAU;IAC5B,iBAAiB,EAAE,wBAAU;IAC7B,iBAAiB,EAAE,wBAAU;IAC7B,eAAe,EAAE,wBAAU;IAC3B,iBAAiB,EAAE,wBAAU;IAC7B,eAAe,EAAE,wBAAU;IAC3B,gBAAgB,EAAE,wBAAU;IAC5B,uBAAuB,EAAE,wBAAU;IACnC,oBAAoB,EAAE,wBAAU;IAChC,mBAAmB,EAAE,wBAAU;IAC/B,wBAAwB,EAAE,kBAAI;IAC9B,gBAAgB,EAAE,wBAAU;IAC5B,0BAA0B,EAAE,kBAAI;IAChC,mBAAmB,EAAE,wBAAU;IAC/B,uBAAuB,EAAE,wBAAU;IACnC,mBAAmB,EAAE,wBAAU;IAC/B,mBAAmB,EAAE,wBAAU;IAC/B,eAAe,EAAE,wBAAU;IAC3B,gBAAgB,EAAE,wBAAU;IAC5B,gBAAgB,EAAE,wBAAU;IAC5B,gBAAgB,EAAE,wBAAU;IAC5B,kBAAkB,EAAE,wBAAU;IAC9B,gBAAgB,EAAE,wBAAU;IAC5B,wBAAwB,EAAE,kBAAI;IAC9B,SAAS,EAAE,wBAAU;IACrB,kBAAkB,EAAE,kBAAI;IACxB,kBAAkB,EAAE,wBAAU;IAC9B,WAAW,EAAE,wBAAU;IACvB,mBAAmB,EAAE,kBAAI;IACzB,eAAe,EAAE,kBAAI;IACrB,UAAU,EAAE,wBAAU;IACtB,QAAQ,EAAE,wBAAU;IACpB,kBAAkB,EAAE,kBAAI;IACxB,WAAW,EAAE,wBAAU;IACvB,cAAc,EAAE,wBAAU;IAC1B,wBAAwB,EAAE,kBAAI;IAC9B,gBAAgB,EAAE,wBAAU;IAC5B,wBAAwB,EAAE,kBAAI;IAC9B,UAAU,EAAE,wBAAU;IACtB,kBAAkB,EAAE,kBAAI;IACxB,oBAAoB,EAAE,kBAAI;IAC1B,cAAc,EAAE,wBAAU;IAC1B,wBAAwB,EAAE,kBAAI;IAC9B,sBAAsB,EAAE,kBAAI;IAC5B,kBAAkB,EAAE,kBAAI;IACxB,qBAAqB,EAAE,kBAAI;IAC3B,WAAW,EAAE,kBAAI;IACjB,qBAAqB,EAAE,wBAAU;IACjC,yBAAyB,EAAE,kBAAI;IAC/B,YAAY,EAAE,wBAAU;IACxB,mBAAmB,EAAE,kBAAI;IACzB,kBAAkB,EAAE,kBAAI;IACxB,aAAa,EAAE,wBAAU;IACzB,gBAAgB,EAAE,kBAAI;IACtB,WAAW,EAAE,wBAAU;IACvB,kBAAkB,EAAE,kBAAI;IACxB,2BAA2B,EAAE,wBAAU;IACvC,mCAAmC,EAAE,kBAAI;IACzC,iBAAiB,EAAE,kBAAI;IACvB,SAAS,EAAE,wBAAU;IACrB,iBAAiB,EAAE,kBAAI;IACvB,kBAAkB,EAAE,kBAAI;IACxB,gBAAgB,EAAE,kBAAI;IACtB,qBAAqB,EAAE,kBAAI;IAC3B,UAAU,EAAE,kBAAI;IAChB,eAAe,EAAE,wBAAU;IAC3B,UAAU,EAAE,wBAAU;IACtB,cAAc,EAAE,kBAAI;IACpB,cAAc,EAAE,kBAAI;IACpB,SAAS,EAAE,kBAAI;IACf,oBAAoB,EAAE,wBAAU;IAChC,4BAA4B,EAAE,kBAAI;IAClC,yBAAyB,EAAE,wBAAU;IACrC,6BAA6B,EAAE,kBAAI;IACnC,wBAAwB,EAAE,kBAAI;IAC9B,2BAA2B,EAAE,kBAAI;IACjC,UAAU,EAAE,kBAAI;IAChB,YAAY,EAAE,kBAAI;IAClB,aAAa,EAAE,wBAAU;IACzB,iBAAiB,EAAE,kBAAI;IACvB,SAAS,EAAE,kBAAI;IACf,QAAQ,EAAE,kBAAI;IACd,wBAAwB,EAAE,kBAAI;IAC9B,cAAc,EAAE,wBAAU;IAC1B,qBAAqB,EAAE,kBAAI;IAC3B,OAAO,EAAE,kBAAI;IACb,QAAQ,EAAE,kBAAI;IACd,2BAA2B,EAAE,kBAAI;IACjC,sBAAsB,EAAE,wBAAU;IAClC,WAAW,EAAE,kBAAI;IACjB,gBAAgB,EAAE,kBAAI;IACtB,sBAAsB,EAAE,kBAAI;IAC5B,SAAS,EAAE,kBAAI;IACf,QAAQ,EAAE,wBAAU;IACpB,IAAI,EAAE,wBAAU;IAChB,mBAAmB,EAAE,kBAAI;IACzB,QAAQ,EAAE,kBAAI;IACd,WAAW,EAAE,wBAAU;IACvB,mBAAmB,EAAE,kBAAI;IACzB,QAAQ,EAAE,kBAAI;IACd,WAAW,EAAE,kBAAI;IACjB,aAAa,EAAE,wBAAU;IACzB,qBAAqB,EAAE,kBAAI;IAC3B,uBAAuB,EAAE,kBAAI;IAC7B,iBAAiB,EAAE,wBAAU;IAC7B,6BAA6B,EAAE,kBAAI;IACnC,6BAA6B,EAAE,kBAAI;IACnC,qBAAqB,EAAE,kBAAI;IAC3B,kBAAkB,EAAE,kBAAI;IACxB,0BAA0B,EAAE,kBAAI;IAChC,iBAAiB,EAAE,kBAAI;IACvB,eAAe,EAAE,wBAAU;IAC3B,eAAe,EAAE,kBAAI;IACrB,YAAY,EAAE,wBAAU;IACxB,oBAAoB,EAAE,kBAAI;IAC1B,2BAA2B,EAAE,wBAAU;IACvC,8BAA8B,EAAE,kBAAI;IACpC,0BAA0B,EAAE,kBAAI;IAChC,iBAAiB,EAAE,kBAAI;IACvB,mBAAmB,EAAE,wBAAU;IAC/B,uBAAuB,EAAE,kBAAI;IAC7B,UAAU,EAAE,wBAAU;IACtB,UAAU,EAAE,kBAAI;IAChB,oBAAoB,EAAE,wBAAU;IAChC,wBAAwB,EAAE,kBAAI;IAC9B,mBAAmB,EAAE,kBAAI;IACzB,SAAS,EAAE,wBAAU;IACrB,eAAe,EAAE,wBAAU;IAC3B,2BAA2B,EAAE,kBAAI;IACjC,uBAAuB,EAAE,kBAAI;IAC7B,mBAAmB,EAAE,kBAAI;IACzB,eAAe,EAAE,kBAAI;IACrB,oBAAoB,EAAE,kBAAI;IAC1B,cAAc,EAAE,kBAAI;IACpB,iBAAiB,EAAE,wBAAU;IAC7B,oBAAoB,EAAE,wBAAU;IAChC,2BAA2B,EAAE,kBAAI;IACjC,6BAA6B,EAAE,kBAAI;IACnC,SAAS,EAAE,wBAAU;IACrB,aAAa,EAAE,wBAAU;IACzB,iBAAiB,EAAE,kBAAI;IACvB,kBAAkB,EAAE,kBAAI;IACxB,aAAa,EAAE,kBAAI;IACnB,cAAc,EAAE,wBAAU;IAC1B,mBAAmB,EAAE,wBAAU;IAC/B,uBAAuB,EAAE,kBAAI;IAC7B,sBAAsB,EAAE,kBAAI;IAC5B,aAAa,EAAE,wBAAU;IACzB,qBAAqB,EAAE,kBAAI;IAC3B,oBAAoB,EAAE,kBAAI;IAC1B,YAAY,EAAE,wBAAU;IACxB,kBAAkB,EAAE,kBAAI;IACxB,yBAAyB,EAAE,kBAAI;IAC/B,yBAAyB,EAAE,kBAAI;IAC/B,yBAAyB,EAAE,kBAAI;IAC/B,WAAW,EAAE,wBAAU;IACvB,mBAAmB,EAAE,kBAAI;IACzB,iBAAiB,EAAE,wBAAU;IAC7B,WAAW,EAAE,wBAAU;IACvB,+BAA+B,EAAE,wBAAU;IAC3C,0BAA0B,EAAE,wBAAU;IACtC,6BAA6B,EAAE,kBAAI;IACnC,sBAAsB,EAAE,kBAAI;IAC5B,mBAAmB,EAAE,kBAAI;IACzB,gBAAgB,EAAE,wBAAU;IAC5B,qBAAqB,EAAE,wBAAU;IACjC,yBAAyB,EAAE,kBAAI;IAC/B,wBAAwB,EAAE,kBAAI;IAC9B,qBAAqB,EAAE,kBAAI;IAC3B,sBAAsB,EAAE,kBAAI;IAC5B,qBAAqB,EAAE,kBAAI;IAC3B,uBAAuB,EAAE,kBAAI;IAC7B,kBAAkB,EAAE,kBAAI;IACxB,8BAA8B,EAAE,kBAAI;IACpC,cAAc,EAAE,wBAAU;IAC1B,YAAY,EAAE,wBAAU;IACxB,gBAAgB,EAAE,kBAAI;IACtB,kBAAkB,EAAE,kBAAI;IACxB,WAAW,EAAE,wBAAU;IACvB,mBAAmB,EAAE,kBAAI;IACzB,UAAU,EAAE,wBAAU;IACtB,kBAAkB,EAAE,kBAAI;IACxB,mBAAmB,EAAE,wBAAU;IAC/B,uBAAuB,EAAE,kBAAI;IAC7B,SAAS,EAAE,wBAAU;IACrB,iBAAiB,EAAE,kBAAI;IACvB,YAAY,EAAE,wBAAU;IACxB,gBAAgB,EAAE,wBAAU;IAC5B,oBAAoB,EAAE,kBAAI;IAC1B,WAAW,EAAE,kBAAI;IACjB,UAAU,EAAE,wBAAU;IACtB,aAAa,EAAE,wBAAU;IACzB,QAAQ,EAAE,wBAAU;IACpB,uBAAuB,EAAE,kBAAI;IAC7B,mBAAmB,EAAE,kBAAI;IACzB,gBAAgB,EAAE,kBAAI;IACtB,YAAY,EAAE,kBAAI;IAClB,QAAQ,EAAE,wBAAU;IACpB,aAAa,EAAE,wBAAU;IACzB,UAAU,EAAE,wBAAU;IACtB,cAAc,EAAE,kBAAI;IACpB,sBAAsB,EAAE,kBAAI;IAC5B,gBAAgB,EAAE,kBAAI;IACtB,aAAa,EAAE,wBAAU;IACzB,gBAAgB,EAAE,wBAAU;IAC5B,oBAAoB,EAAE,kBAAI;IAC1B,cAAc,EAAE,wBAAU;IAC1B,kBAAkB,EAAE,kBAAI;IACxB,UAAU,EAAE,kBAAI;IAChB,YAAY,EAAE,wBAAU;IACxB,wBAAwB,EAAE,wBAAU;IACpC,sBAAsB,EAAE,kBAAI;IAC5B,oBAAoB,EAAE,kBAAI;IAC1B,SAAS,EAAE,wBAAU;IACrB,8BAA8B,EAAE,kBAAI;IACpC,cAAc,EAAE,kBAAI;IACpB,2BAA2B,EAAE,kBAAI;IACjC,qBAAqB,EAAE,kBAAI;IAC3B,gBAAgB,EAAE,kBAAI;IACtB,WAAW,EAAE,kBAAI;IACjB,iBAAiB,EAAE,kBAAI;IACvB,cAAc,EAAE,kBAAI;IACpB,eAAe,EAAE,kBAAI;IACrB,gBAAgB,EAAE,kBAAI;IACtB,gBAAgB,EAAE,kBAAI;IACtB,IAAI,EAAE,wBAAU;IAChB,UAAU,EAAE,wBAAU;IACtB,YAAY,EAAE,wBAAU;IACxB,QAAQ,EAAE,wBAAU;IACpB,UAAU,EAAE,kBAAI;IAChB,wBAAwB,EAAE,kBAAI;IAC9B,oBAAoB,EAAE,kBAAI;IAC1B,YAAY,EAAE,wBAAU;IACxB,qBAAqB,EAAE,kBAAI;IAC3B,oBAAoB,EAAE,kBAAI;IAC1B,mBAAmB,EAAE,kBAAI;IACzB,sBAAsB,EAAE,kBAAI;IAC5B,8BAA8B,EAAE,kBAAI;IACpC,wBAAwB,EAAE,kBAAI;IAC9B,sBAAsB,EAAE,kBAAI;IAC5B,qBAAqB,EAAE,kBAAI;IAC3B,wBAAwB,EAAE,kBAAI;IAC9B,iBAAiB,EAAE,kBAAI;IACvB,wBAAwB,EAAE,kBAAI;IAC9B,sBAAsB,EAAE,kBAAI;IAC5B,6BAA6B,EAAE,kBAAI;IACnC,uBAAuB,EAAE,kBAAI;IAC7B,2BAA2B,EAAE,wBAAU;IACvC,+BAA+B,EAAE,kBAAI;IACrC,mBAAmB,EAAE,wBAAU;IAC/B,2BAA2B,EAAE,kBAAI;IACjC,0BAA0B,EAAE,kBAAI;IAChC,eAAe,EAAE,wBAAU;IAC3B,uBAAuB,EAAE,kBAAI;IAC7B,iCAAiC,EAAE,wBAAU;IAC7C,yBAAyB,EAAE,kBAAI;IAC/B,2BAA2B,EAAE,kBAAI;IACjC,0BAA0B,EAAE,kBAAI;IAChC,iCAAiC,EAAE,kBAAI;IACvC,mBAAmB,EAAE,kBAAI;IACzB,0BAA0B,EAAE,kBAAI;IAChC,oBAAoB,EAAE,kBAAI;IAC1B,oBAAoB,EAAE,kBAAI;IAC1B,mBAAmB,EAAE,kBAAI;IACzB,eAAe,EAAE,kBAAI;IACrB,cAAc,EAAE,wBAAU;IAC1B,iBAAiB,EAAE,kBAAI;IACvB,cAAc,EAAE,kBAAI;IACpB,oBAAoB,EAAE,wBAAU;IAChC,cAAc,EAAE,kBAAI;IACpB,cAAc,EAAE,kBAAI;IACpB,mBAAmB,EAAE,wBAAU;IAC/B,uBAAuB,EAAE,kBAAI;IAC7B,UAAU,EAAE,wBAAU;IACtB,aAAa,EAAE,kBAAI;IACnB,gBAAgB,EAAE,kBAAI;IACtB,UAAU,EAAE,kBAAI;IAChB,MAAM,EAAE,wBAAU;IAClB,eAAe,EAAE,kBAAI;IACrB,qBAAqB,EAAE,kBAAI;IAC3B,kBAAkB,EAAE,kBAAI;IACxB,kBAAkB,EAAE,kBAAI;IACxB,sBAAsB,EAAE,kBAAI;IAC5B,oBAAoB,EAAE,kBAAI;IAC1B,WAAW,EAAE,kBAAI;IACjB,wBAAwB,EAAE,wBAAU;IACpC,4BAA4B,EAAE,kBAAI;IAClC,iBAAiB,EAAE,kBAAI;IACvB,cAAc,EAAE,wBAAU;IAC1B,sBAAsB,EAAE,kBAAI;IAC5B,yBAAyB,EAAE,wBAAU;IACrC,6BAA6B,EAAE,kBAAI;IACnC,eAAe,EAAE,wBAAU;IAC3B,uBAAuB,EAAE,kBAAI;IAC7B,YAAY,EAAE,kBAAI;IAClB,WAAW,EAAE,wBAAU;IACvB,gBAAgB,EAAE,wBAAU;IAC5B,oBAAoB,EAAE,kBAAI;IAC1B,mBAAmB,EAAE,kBAAI;IACzB,sBAAsB,EAAE,wBAAU;IAClC,eAAe,EAAE,wBAAU;IAC3B,sBAAsB,EAAE,kBAAI;IAC5B,kBAAkB,EAAE,wBAAU;IAC9B,yBAAyB,EAAE,kBAAI;IAC/B,qBAAqB,EAAE,wBAAU;IACjC,2BAA2B,EAAE,wBAAU;IACvC,mBAAmB,EAAE,wBAAU;IAC/B,2BAA2B,EAAE,kBAAI;IACjC,4BAA4B,EAAE,wBAAU;IACxC,uBAAuB,EAAE,kBAAI;IAC7B,sBAAsB,EAAE,wBAAU;IAClC,yBAAyB,EAAE,wBAAU;IACrC,uBAAuB,EAAE,wBAAU;IACnC,iBAAiB,EAAE,wBAAU;IAC7B,YAAY,EAAE,wBAAU;IACxB,uBAAuB,EAAE,kBAAI;IAC7B,mBAAmB,EAAE,kBAAI;IACzB,oBAAoB,EAAE,kBAAI;IAC1B,cAAc,EAAE,kBAAI;IACpB,WAAW,EAAE,wBAAU;IACvB,eAAe,EAAE,kBAAI;IACrB,gBAAgB,EAAE,wBAAU;IAC5B,wBAAwB,EAAE,kBAAI;IAC9B,qBAAqB,EAAE,wBAAU;IACjC,yBAAyB,EAAE,kBAAI;IAC/B,sBAAsB,EAAE,wBAAU;IAClC,8BAA8B,EAAE,kBAAI;IACpC,WAAW,EAAE,kBAAI;IACjB,iBAAiB,EAAE,kBAAI;IACvB,MAAM,EAAE,wBAAU;IAClB,WAAW,EAAE,wBAAU;IACvB,YAAY,EAAE,wBAAU;IACxB,gBAAgB,EAAE,kBAAI;IACtB,kBAAkB,EAAE,kBAAI;IACxB,qBAAqB,EAAE,kBAAI;IAC3B,aAAa,EAAE,wBAAU;IACzB,iBAAiB,EAAE,kBAAI;IACvB,oBAAoB,EAAE,kBAAI;IAC1B,gBAAgB,EAAE,kBAAI;IACtB,qBAAqB,EAAE,kBAAI;IAC3B,eAAe,EAAE,kBAAI;IACrB,oBAAoB,EAAE,kBAAI;IAC1B,gBAAgB,EAAE,kBAAI;IACtB,iBAAiB,EAAE,kBAAI;IACvB,qBAAqB,EAAE,wBAAU;IACjC,aAAa,EAAE,wBAAU;IACzB,iBAAiB,EAAE,kBAAI;IACvB,qBAAqB,EAAE,wBAAU;IACjC,yBAAyB,EAAE,kBAAI;IAC/B,kBAAkB,EAAE,kBAAI;IACxB,wBAAwB,EAAE,kBAAI;IAC9B,mBAAmB,EAAE,wBAAU;IAC/B,kCAAkC,EAAE,kBAAI;IACxC,6BAA6B,EAAE,kBAAI;IACnC,yBAAyB,EAAE,kBAAI;IAC/B,6BAA6B,EAAE,kBAAI;IACnC,iCAAiC,EAAE,kBAAI;IACvC,2BAA2B,EAAE,kBAAI;IACjC,uBAAuB,EAAE,kBAAI;IAC7B,6BAA6B,EAAE,kBAAI;IACnC,qBAAqB,EAAE,kBAAI;IAC3B,WAAW,EAAE,wBAAU;IACvB,gBAAgB,EAAE,wBAAU;IAC5B,oBAAoB,EAAE,kBAAI;IAC1B,uBAAuB,EAAE,wBAAU;IACnC,2BAA2B,EAAE,kBAAI;IACjC,eAAe,EAAE,kBAAI;IACrB,mBAAmB,EAAE,kBAAI;IACzB,mBAAmB,EAAE,kBAAI;IACzB,aAAa,EAAE,wBAAU;IACzB,KAAK,EAAE,wBAAU;IACjB,4BAA4B,EAAE,wBAAU;IACxC,cAAc,EAAE,wBAAU;IAC1B,wBAAwB,EAAE,wBAAU;IACpC,yBAAyB,EAAE,wBAAU;IACrC,wBAAwB,EAAE,kBAAI;IAC9B,+BAA+B,EAAE,wBAAU;IAC3C,2BAA2B,EAAE,wBAAU;IACvC,2BAA2B,EAAE,kBAAI;IACjC,8BAA8B,EAAE,kBAAI;IACpC,6BAA6B,EAAE,kBAAI;IACnC,4BAA4B,EAAE,kBAAI;IAClC,oBAAoB,EAAE,kBAAI;IAC1B,wBAAwB,EAAE,kBAAI;IAC9B,wBAAwB,EAAE,kBAAI;IAC9B,6BAA6B,EAAE,kBAAI;IACnC,kBAAkB,EAAE,kBAAI;IACxB,oBAAoB,EAAE,kBAAI;IAC1B,UAAU,EAAE,kBAAI;IAChB,cAAc,EAAE,kBAAI;IACpB,cAAc,EAAE,kBAAI;IACpB,mBAAmB,EAAE,kBAAI;IACzB,cAAc,EAAE,wBAAU;IAC1B,kCAAkC,EAAE,kBAAI;IACxC,sBAAsB,EAAE,kBAAI;IAC5B,mBAAmB,EAAE,kBAAI;IACzB,gBAAgB,EAAE,kBAAI;IACtB,MAAM,EAAE,wBAAU;IAClB,UAAU,EAAE,wBAAU;IACtB,iBAAiB,EAAE,wBAAU;IAC7B,yBAAyB,EAAE,kBAAI;IAC/B,wBAAwB,EAAE,kBAAI;IAC9B,UAAU,EAAE,kBAAI;IAChB,OAAO,EAAE,wBAAU;IACnB,YAAY,EAAE,kBAAI;IAClB,kBAAkB,EAAE,kBAAI;IACxB,kBAAkB,EAAE,kBAAI;IACxB,WAAW,EAAE,kBAAI;IACjB,WAAW,EAAE,kBAAI;IACjB,WAAW,EAAE,kBAAI;IACjB,eAAe,EAAE,kBAAI;IACrB,eAAe,EAAE,kBAAI;IACrB,sBAAsB,EAAE,kBAAI;IAC5B,cAAc,EAAE,wBAAU;IAC1B,wBAAwB,EAAE,kBAAI;IAC9B,sBAAsB,EAAE,kBAAI;IAC5B,mBAAmB,EAAE,wBAAU;IAC/B,qBAAqB,EAAE,kBAAI;IAC3B,kBAAkB,EAAE,wBAAU;IAC9B,aAAa,EAAE,kBAAI;IACnB,QAAQ,EAAE,wBAAU;IACpB,YAAY,EAAE,kBAAI;IAClB,YAAY,EAAE,kBAAI;IAClB,qBAAqB,EAAE,kBAAI;IAC3B,qBAAqB,EAAE,kBAAI;IAC3B,qBAAqB,EAAE,kBAAI;IAC3B,eAAe,EAAE,kBAAI;IACrB,eAAe,EAAE,kBAAI;IACrB,aAAa,EAAE,kBAAI;IACnB,kBAAkB,EAAE,kBAAI;IACxB,YAAY,EAAE,kBAAI;IAClB,gBAAgB,EAAE,kBAAI;IACtB,eAAe,EAAE,kBAAI;IACrB,cAAc,EAAE,wBAAU;IAC1B,wBAAwB,EAAE,kBAAI;IAC9B,gBAAgB,EAAE,kBAAI;IACtB,cAAc,EAAE,wBAAU;IAC1B,mBAAmB,EAAE,wBAAU;IAC/B,uBAAuB,EAAE,kBAAI;IAC7B,sBAAsB,EAAE,kBAAI;IAC5B,kBAAkB,EAAE,kBAAI;IACxB,mBAAmB,EAAE,kBAAI;IACzB,wBAAwB,EAAE,kBAAI;IAC9B,kBAAkB,EAAE,kBAAI;IACxB,gBAAgB,EAAE,wBAAU;IAC5B,wBAAwB,EAAE,kBAAI;IAC9B,qBAAqB,EAAE,kBAAI;IAC3B,aAAa,EAAE,wBAAU;IACzB,qBAAqB,EAAE,kBAAI;IAC3B,sBAAsB,EAAE,wBAAU;IAClC,0BAA0B,EAAE,kBAAI;IAChC,oBAAoB,EAAE,wBAAU;IAChC,4BAA4B,EAAE,kBAAI;IAClC,oBAAoB,EAAE,wBAAU;IAChC,4BAA4B,EAAE,kBAAI;IAClC,wBAAwB,EAAE,kBAAI;IAC9B,QAAQ,EAAE,wBAAU;IACpB,kBAAkB,EAAE,kBAAI;IACxB,aAAa,EAAE,wBAAU;IACzB,iBAAiB,EAAE,kBAAI;IACvB,YAAY,EAAE,kBAAI;IAClB,eAAe,EAAE,wBAAU;IAC3B,mBAAmB,EAAE,kBAAI;IACzB,mBAAmB,EAAE,kBAAI;IACzB,wBAAwB,EAAE,kBAAI;IAC9B,mBAAmB,EAAE,kBAAI;IACzB,eAAe,EAAE,kBAAI;IACrB,qBAAqB,EAAE,kBAAI;IAC3B,mBAAmB,EAAE,kBAAI;IACzB,oBAAoB,EAAE,kBAAI;IAC1B,cAAc,EAAE,kBAAI;IACpB,YAAY,EAAE,kBAAI;IAClB,sBAAsB,EAAE,kBAAI;IAC5B,eAAe,EAAE,wBAAU;IAC3B,uBAAuB,EAAE,kBAAI;IAC7B,qBAAqB,EAAE,kBAAI;IAC3B,oBAAoB,EAAE,kBAAI;IAC1B,wBAAwB,EAAE,kBAAI;IAC9B,8BAA8B,EAAE,kBAAI;IACpC,qBAAqB,EAAE,kBAAI;IAC3B,eAAe,EAAE,kBAAI;IACrB,yBAAyB,EAAE,kBAAI;IAC/B,iBAAiB,EAAE,wBAAU;IAC7B,8BAA8B,EAAE,kBAAI;IACpC,yBAAyB,EAAE,kBAAI;IAC/B,8BAA8B,EAAE,wBAAU;IAC1C,kCAAkC,EAAE,kBAAI;IACxC,yBAAyB,EAAE,wBAAU;IACrC,6BAA6B,EAAE,kBAAI;IACnC,sBAAsB,EAAE,kBAAI;IAC5B,eAAe,EAAE,kBAAI;IACrB,yBAAyB,EAAE,kBAAI;IAC/B,gBAAgB,EAAE,kBAAI;IACtB,iBAAiB,EAAE,kBAAI;IACvB,kBAAkB,EAAE,kBAAI;IACxB,WAAW,EAAE,kBAAI;IACjB,qBAAqB,EAAE,kBAAI;IAC3B,sBAAsB,EAAE,kBAAI;IAC5B,wBAAwB,EAAE,kBAAI;IAC9B,wBAAwB,EAAE,kBAAI;IAC9B,+BAA+B,EAAE,kBAAI;IACrC,+BAA+B,EAAE,kBAAI;IACrC,gBAAgB,EAAE,kBAAI;IACtB,uBAAuB,EAAE,kBAAI;IAC7B,cAAc,EAAE,wBAAU;IAC1B,qBAAqB,EAAE,wBAAU;IACjC,YAAY,EAAE,wBAAU;IACxB,oBAAoB,EAAE,kBAAI;IAC1B,iBAAiB,EAAE,kBAAI;IACvB,2BAA2B,EAAE,kBAAI;IACjC,iBAAiB,EAAE,wBAAU;IAC7B,0BAA0B,EAAE,kBAAI;IAChC,qBAAqB,EAAE,kBAAI;IAC3B,eAAe,EAAE,kBAAI;IACrB,gBAAgB,EAAE,wBAAU;IAC5B,wBAAwB,EAAE,kBAAI;IAC9B,qBAAqB,EAAE,kBAAI;IAC3B,UAAU,EAAE,kBAAI;IAChB,qBAAqB,EAAE,kBAAI;IAC3B,qBAAqB,EAAE,wBAAU;IACjC,6BAA6B,EAAE,kBAAI;IACnC,yBAAyB,EAAE,kBAAI;IAC/B,sBAAsB,EAAE,kBAAI;IAC5B,iBAAiB,EAAE,kBAAI;IACvB,QAAQ,EAAE,kBAAI;IACd,6BAA6B,EAAE,kBAAI;IACnC,cAAc,EAAE,wBAAU;IAC1B,YAAY,EAAE,kBAAI;IAClB,aAAa,EAAE,wBAAU;IACzB,iBAAiB,EAAE,kBAAI;IACvB,iBAAiB,EAAE,kBAAI;IACvB,MAAM,EAAE,wBAAU;IAClB,iBAAiB,EAAE,wBAAU;IAC7B,yBAAyB,EAAE,kBAAI;IAC/B,mBAAmB,EAAE,wBAAU;IAC/B,2BAA2B,EAAE,kBAAI;IACjC,cAAc,EAAE,kBAAI;IACpB,qBAAqB,EAAE,kBAAI;IAC3B,qBAAqB,EAAE,kBAAI;IAC3B,aAAa,EAAE,kBAAI;IACnB,iBAAiB,EAAE,kBAAI;IACvB,aAAa,EAAE,kBAAI;IACnB,eAAe,EAAE,kBAAI;IACrB,4BAA4B,EAAE,wBAAU;IACxC,uCAAuC,EAAE,kBAAI;IAC7C,gCAAgC,EAAE,kBAAI;IACtC,SAAS,EAAE,wBAAU;IACrB,aAAa,EAAE,kBAAI;IACnB,aAAa,EAAE,wBAAU;IACzB,sBAAsB,EAAE,wBAAU;IAClC,8BAA8B,EAAE,kBAAI;IACpC,qBAAqB,EAAE,kBAAI;IAC3B,yBAAyB,EAAE,wBAAU;IACrC,iCAAiC,EAAE,kBAAI;IACvC,kBAAkB,EAAE,kBAAI;IACxB,2BAA2B,EAAE,kBAAI;IACjC,UAAU,EAAE,wBAAU;IACtB,kBAAkB,EAAE,kBAAI;IACxB,cAAc,EAAE,kBAAI;IACpB,cAAc,EAAE,kBAAI;IACpB,SAAS,EAAE,kBAAI;IACf,YAAY,EAAE,wBAAU;IACxB,kBAAkB,EAAE,kBAAI;IACxB,SAAS,EAAE,kBAAI;IACf,YAAY,EAAE,wBAAU;IACxB,oBAAoB,EAAE,kBAAI;IAC1B,gBAAgB,EAAE,wBAAU;IAC5B,wBAAwB,EAAE,kBAAI;IAC9B,4BAA4B,EAAE,wBAAU;IACxC,uBAAuB,EAAE,wBAAU;IACnC,2BAA2B,EAAE,wBAAU;IACvC,eAAe,EAAE,wBAAU;IAC3B,wBAAwB,EAAE,kBAAI;IAC9B,yBAAyB,EAAE,wBAAU;IACrC,6BAA6B,EAAE,kBAAI;IACnC,oBAAoB,EAAE,wBAAU;IAChC,wBAAwB,EAAE,kBAAI;IAC9B,uBAAuB,EAAE,kBAAI;IAC7B,wBAAwB,EAAE,wBAAU;IACpC,gCAAgC,EAAE,kBAAI;IACtC,oBAAoB,EAAE,wBAAU;IAChC,WAAW,EAAE,wBAAU;IACvB,eAAe,EAAE,kBAAI;IACrB,gBAAgB,EAAE,wBAAU;IAC5B,mBAAmB,EAAE,kBAAI;IACzB,OAAO,EAAE,wBAAU;IACnB,eAAe,EAAE,kBAAI;IACrB,YAAY,EAAE,wBAAU;IACxB,gBAAgB,EAAE,kBAAI;IACtB,cAAc,EAAE,wBAAU;IAC1B,iBAAiB,EAAE,kBAAI;IACvB,0BAA0B,EAAE,kBAAI;IAChC,UAAU,EAAE,kBAAI;IAChB,gBAAgB,EAAE,wBAAU;IAC5B,wBAAwB,EAAE,wBAAU;IACpC,UAAU,EAAE,wBAAU;IACtB,cAAc,EAAE,wBAAU;IAC1B,WAAW,EAAE,wBAAU;IACvB,eAAe,EAAE,kBAAI;IACrB,YAAY,EAAE,wBAAU;IACxB,WAAW,EAAE,wBAAU;IACvB,QAAQ,EAAE,wBAAU;IACpB,gBAAgB,EAAE,wBAAU;IAC5B,kBAAkB,EAAE,wBAAU;IAC9B,sBAAsB,EAAE,wBAAU;IAClC,kBAAkB,EAAE,wBAAU;IAC9B,iBAAiB,EAAE,wBAAU;IAC7B,qBAAqB,EAAE,wBAAU;IACjC,iBAAiB,EAAE,wBAAU;IAC7B,qBAAqB,EAAE,wBAAU;IACjC,iBAAiB,EAAE,kBAAI;IACvB,8BAA8B,EAAE,wBAAU;IAC1C,eAAe,EAAE,wBAAU;IAC3B,iBAAiB,EAAE,wBAAU;IAC7B,wBAAwB,EAAE,wBAAU;IACpC,iBAAiB,EAAE,wBAAU;IAC7B,uBAAuB,EAAE,wBAAU;IACnC,0BAA0B,EAAE,wBAAU;IACtC,mBAAmB,EAAE,wBAAU;IAC/B,qBAAqB,EAAE,kBAAI;IAC3B,gBAAgB,EAAE,wBAAU;IAC5B,kBAAkB,EAAE,wBAAU;IAC9B,mCAAmC,EAAE,wBAAU;IAC/C,cAAc,EAAE,wBAAU;IAC1B,cAAc,EAAE,wBAAU;IAC1B,UAAU,EAAE,wBAAU;IACtB,kBAAkB,EAAE,kBAAI;IACxB,oBAAoB,EAAE,kBAAI;IAC1B,iBAAiB,EAAE,wBAAU;IAC7B,iBAAiB,EAAE,wBAAU;IAC7B,uBAAuB,EAAE,wBAAU;IACnC,6BAA6B,EAAE,wBAAU;IACzC,qBAAqB,EAAE,wBAAU;IACjC,0BAA0B,EAAE,wBAAU;IACtC,2BAA2B,EAAE,wBAAU;IACvC,2BAA2B,EAAE,wBAAU;IACvC,wBAAwB,EAAE,wBAAU;IACpC,sBAAsB,EAAE,wBAAU;IAClC,iBAAiB,EAAE,wBAAU;IAC7B,iBAAiB,EAAE,wBAAU;IAC7B,iBAAiB,EAAE,wBAAU;IAC7B,iBAAiB,EAAE,wBAAU;IAC7B,iBAAiB,EAAE,wBAAU;IAC7B,wBAAwB,EAAE,wBAAU;IACpC,iBAAiB,EAAE,wBAAU;IAC7B,iBAAiB,EAAE,wBAAU;IAC7B,qBAAqB,EAAE,wBAAU;IACjC,sBAAsB,EAAE,wBAAU;IAClC,kBAAkB,EAAE,wBAAU;IAC9B,sBAAsB,EAAE,wBAAU;IAClC,4BAA4B,EAAE,wBAAU;IACxC,qBAAqB,EAAE,wBAAU;IACjC,gBAAgB,EAAE,wBAAU;IAC5B,sBAAsB,EAAE,wBAAU;IAClC,gBAAgB,EAAE,wBAAU;IAC5B,oCAAoC,EAAE,kBAAI;IAC1C,eAAe,EAAE,kBAAI;IACrB,uBAAuB,EAAE,wBAAU;IACnC,WAAW,EAAE,wBAAU;IACvB,kBAAkB,EAAE,wBAAU;IAC9B,kBAAkB,EAAE,wBAAU;IAC9B,kBAAkB,EAAE,wBAAU;IAC9B,eAAe,EAAE,wBAAU;IAC3B,SAAS,EAAE,wBAAU;IACrB,aAAa,EAAE,wBAAU;IACzB,wBAAwB,EAAE,wBAAU;IACpC,cAAc,EAAE,wBAAU;IAC1B,gBAAgB,EAAE,wBAAU;IAC5B,cAAc,EAAE,wBAAU;IAC1B,SAAS,EAAE,wBAAU;IACrB,kBAAkB,EAAE,wBAAU;IAC9B,eAAe,EAAE,wBAAU;IAC3B,SAAS,EAAE,wBAAU;IACrB,aAAa,EAAE,wBAAU;IACzB,cAAc,EAAE,wBAAU;IAC1B,iBAAiB,EAAE,wBAAU;IAC7B,QAAQ,EAAE,wBAAU;IACpB,YAAY,EAAE,wBAAU;IACxB,iBAAiB,EAAE,wBAAU;IAC7B,kBAAkB,EAAE,wBAAU;IAC9B,sBAAsB,EAAE,wBAAU;IAClC,wBAAwB,EAAE,wBAAU;IACpC,OAAO,EAAE,wBAAU;IACnB,cAAc,EAAE,wBAAU;IAC1B,gBAAgB,EAAE,wBAAU;IAC5B,aAAa,EAAE,wBAAU;IACzB,cAAc,EAAE,wBAAU;IAC1B,aAAa,EAAE,wBAAU;IACzB,eAAe,EAAE,wBAAU;IAC3B,aAAa,EAAE,wBAAU;IACzB,qBAAqB,EAAE,kBAAI;IAC3B,gBAAgB,EAAE,wBAAU;IAC5B,gBAAgB,EAAE,wBAAU;IAC5B,QAAQ,EAAE,kBAAI;IACd,qBAAqB,EAAE,wBAAU;IACjC,cAAc,EAAE,wBAAU;IAC1B,kBAAkB,EAAE,wBAAU;IAC9B,yBAAyB,EAAE,wBAAU;IACrC,eAAe,EAAE,wBAAU;IAC3B,YAAY,EAAE,wBAAU;IACxB,gBAAgB,EAAE,wBAAU;IAC5B,eAAe,EAAE,wBAAU;IAC3B,YAAY,EAAE,wBAAU;IACxB,eAAe,EAAE,kBAAI;IACrB,aAAa,EAAE,wBAAU;IACzB,cAAc,EAAE,wBAAU;IAC1B,cAAc,EAAE,kBAAI;IACpB,IAAI,EAAE,wBAAU;IAChB,iBAAiB,EAAE,kBAAI;IACvB,WAAW,EAAE,wBAAU;IACvB,iBAAiB,EAAE,kBAAI;IACvB,kBAAkB,EAAE,kBAAI;IACxB,iBAAiB,EAAE,wBAAU;IAC7B,WAAW,EAAE,wBAAU;IACvB,iBAAiB,EAAE,kBAAI;IACvB,2BAA2B,EAAE,kBAAI;IACjC,iBAAiB,EAAE,wBAAU;IAC7B,SAAS,EAAE,wBAAU;IACrB,WAAW,EAAE,wBAAU;IACvB,SAAS,EAAE,wBAAU;IACrB,YAAY,EAAE,wBAAU;IACxB,oBAAoB,EAAE,kBAAI;IAC1B,gBAAgB,EAAE,wBAAU;IAC5B,iBAAiB,EAAE,kBAAI;IACvB,aAAa,EAAE,kBAAI;IACnB,aAAa,EAAE,wBAAU;IACzB,qBAAqB,EAAE,kBAAI;IAC3B,aAAa,EAAE,kBAAI;IACnB,UAAU,EAAE,wBAAU;IACtB,YAAY,EAAE,kBAAI;IAClB,WAAW,EAAE,wBAAU;IACvB,eAAe,EAAE,kBAAI;IACrB,KAAK,EAAE,wBAAU;IACjB,UAAU,EAAE,wBAAU;IACtB,cAAc,EAAE,kBAAI;IACpB,SAAS,EAAE,kBAAI;IACf,SAAS,EAAE,wBAAU;IACrB,SAAS,EAAE,kBAAI;IACf,UAAU,EAAE,wBAAU;IACtB,cAAc,EAAE,kBAAI;IACpB,YAAY,EAAE,kBAAI;IAClB,gBAAgB,EAAE,kBAAI;IACtB,WAAW,EAAE,kBAAI;IACjB,wBAAwB,EAAE,kBAAI;IAC9B,wBAAwB,EAAE,kBAAI;IAC9B,4BAA4B,EAAE,kBAAI;IAClC,eAAe,EAAE,wBAAU;IAC3B,gCAAgC,EAAE,wBAAU;IAC5C,eAAe,EAAE,wBAAU;IAC3B,mBAAmB,EAAE,kBAAI;IACzB,UAAU,EAAE,wBAAU;IACtB,OAAO,EAAE,wBAAU;IACnB,WAAW,EAAE,kBAAI;IACjB,UAAU,EAAE,kBAAI;IAChB,UAAU,EAAE,kBAAI;IAChB,oBAAoB,EAAE,kBAAI;IAC1B,uBAAuB,EAAE,kBAAI;IAC7B,cAAc,EAAE,kBAAI;IACpB,2BAA2B,EAAE,kBAAI;IACjC,2BAA2B,EAAE,kBAAI;IACjC,2BAA2B,EAAE,kBAAI;IACjC,2BAA2B,EAAE,kBAAI;IACjC,gBAAgB,EAAE,kBAAI;IACtB,8BAA8B,EAAE,kBAAI;IACpC,4BAA4B,EAAE,kBAAI;IAClC,6BAA6B,EAAE,kBAAI;IACnC,cAAc,EAAE,kBAAI;IACpB,GAAG,EAAE,wBAAU;IACf,eAAe,EAAE,wBAAU;IAC3B,cAAc,EAAE,wBAAU;IAC1B,2BAA2B,EAAE,kBAAI;IACjC,aAAa,EAAE,wBAAU;IACzB,kBAAkB,EAAE,kBAAI;IACxB,cAAc,EAAE,kBAAI;IACpB,mBAAmB,EAAE,kBAAI;IACzB,eAAe,EAAE,wBAAU;IAC3B,mBAAmB,EAAE,kBAAI;IACzB,kBAAkB,EAAE,kBAAI;IACxB,YAAY,EAAE,wBAAU;IACxB,kBAAkB,EAAE,kBAAI;IACxB,oBAAoB,EAAE,kBAAI;IAC1B,gBAAgB,EAAE,kBAAI;IACtB,mBAAmB,EAAE,kBAAI;IACzB,YAAY,EAAE,wBAAU;IACxB,uBAAuB,EAAE,kBAAI;IAC7B,kBAAkB,EAAE,kBAAI;IACxB,yBAAyB,EAAE,kBAAI;IAC/B,oBAAoB,EAAE,kBAAI;IAC1B,gBAAgB,EAAE,kBAAI;IACtB,mBAAmB,EAAE,kBAAI;IACzB,mBAAmB,EAAE,kBAAI;IACzB,UAAU,EAAE,wBAAU;IACtB,oBAAoB,EAAE,kBAAI;IAC1B,0BAA0B,EAAE,kBAAI;IAChC,uBAAuB,EAAE,kBAAI;IAC7B,cAAc,EAAE,kBAAI;IACpB,wBAAwB,EAAE,kBAAI;IAC9B,yBAAyB,EAAE,kBAAI;IAC/B,uBAAuB,EAAE,kBAAI;IAC7B,gBAAgB,EAAE,kBAAI;IACtB,oBAAoB,EAAE,wBAAU;IAChC,4BAA4B,EAAE,kBAAI;IAClC,cAAc,EAAE,wBAAU;IAC1B,cAAc,EAAE,wBAAU;IAC1B,sBAAsB,EAAE,kBAAI;IAC5B,YAAY,EAAE,kBAAI;IAClB,MAAM,EAAE,wBAAU;IAClB,SAAS,EAAE,wBAAU;IACrB,QAAQ,EAAE,wBAAU;IACpB,gBAAgB,EAAE,wBAAU;IAC5B,wBAAwB,EAAE,kBAAI;IAC9B,YAAY,EAAE,kBAAI;IAClB,cAAc,EAAE,wBAAU;IAC1B,iBAAiB,EAAE,kBAAI;IACvB,WAAW,EAAE,wBAAU;IACvB,sBAAsB,EAAE,kBAAI;IAC5B,wBAAwB,EAAE,kBAAI;IAC9B,6BAA6B,EAAE,kBAAI;IACnC,4BAA4B,EAAE,kBAAI;IAClC,6BAA6B,EAAE,kBAAI;IACnC,8BAA8B,EAAE,kBAAI;IACpC,6BAA6B,EAAE,kBAAI;IACnC,kCAAkC,EAAE,kBAAI;IACxC,yBAAyB,EAAE,kBAAI;IAC/B,mBAAmB,EAAE,kBAAI;IACzB,mBAAmB,EAAE,kBAAI;IACzB,kBAAkB,EAAE,kBAAI;IACxB,kBAAkB,EAAE,kBAAI;IACxB,gBAAgB,EAAE,kBAAI;IACtB,sBAAsB,EAAE,wBAAU;IAClC,0BAA0B,EAAE,kBAAI;IAChC,+BAA+B,EAAE,kBAAI;IACrC,eAAe,EAAE,wBAAU;IAC3B,WAAW,EAAE,wBAAU;IACvB,sBAAsB,EAAE,kBAAI;IAC5B,iBAAiB,EAAE,wBAAU;IAC7B,qBAAqB,EAAE,kBAAI;IAC3B,gBAAgB,EAAE,wBAAU;IAC5B,oBAAoB,EAAE,kBAAI;IAC1B,YAAY,EAAE,wBAAU;IACxB,UAAU,EAAE,wBAAU;IACtB,iBAAiB,EAAE,wBAAU;IAC7B,qBAAqB,EAAE,wBAAU;IACjC,yBAAyB,EAAE,kBAAI;IAC/B,8BAA8B,EAAE,kBAAI;IACpC,YAAY,EAAE,wBAAU;IACxB,WAAW,EAAE,wBAAU;IACvB,0BAA0B,EAAE,wBAAU;IACtC,SAAS,EAAE,wBAAU;IACrB,YAAY,EAAE,wBAAU;IACxB,sBAAsB,EAAE,wBAAU;IAClC,oBAAoB,EAAE,wBAAU;IAChC,sBAAsB,EAAE,wBAAU;IAClC,yBAAyB,EAAE,kBAAI;IAC/B,eAAe,EAAE,wBAAU;IAC3B,SAAS,EAAE,wBAAU;IACrB,SAAS,EAAE,wBAAU;IACrB,iBAAiB,EAAE,kBAAI;IACvB,YAAY,EAAE,wBAAU;IACxB,+BAA+B,EAAE,wBAAU;IAC3C,qBAAqB,EAAE,kBAAI;IAC3B,6BAA6B,EAAE,kBAAI;IACnC,gCAAgC,EAAE,wBAAU;IAC5C,iBAAiB,EAAE,wBAAU;IAC7B,wBAAwB,EAAE,kBAAI;IAC9B,uBAAuB,EAAE,kBAAI;IAC7B,gBAAgB,EAAE,kBAAI;IACtB,mBAAmB,EAAE,kBAAI;IACzB,6BAA6B,EAAE,kBAAI;IACnC,UAAU,EAAE,wBAAU;IACtB,cAAc,EAAE,kBAAI;IACpB,MAAM,EAAE,wBAAU;IAClB,mBAAmB,EAAE,kBAAI;IACzB,2BAA2B,EAAE,kBAAI;IACjC,cAAc,EAAE,kBAAI;IACpB,kBAAkB,EAAE,kBAAI;IACxB,yBAAyB,EAAE,kBAAI;IAC/B,wBAAwB,EAAE,kBAAI;IAC9B,WAAW,EAAE,kBAAI;IACjB,oBAAoB,EAAE,kBAAI;IAC1B,MAAM,EAAE,wBAAU;IAClB,cAAc,EAAE,kBAAI;IACpB,aAAa,EAAE,kBAAI;IACnB,UAAU,EAAE,kBAAI;IAChB,OAAO,EAAE,wBAAU;IACnB,cAAc,EAAE,kBAAI;IACpB,cAAc,EAAE,wBAAU;IAC1B,+BAA+B,EAAE,wBAAU;IAC3C,2BAA2B,EAAE,wBAAU;IACvC,gBAAgB,EAAE,kBAAI;IACtB,WAAW,EAAE,kBAAI;IACjB,WAAW,EAAE,wBAAU;IACvB,cAAc,EAAE,wBAAU;IAC1B,sBAAsB,EAAE,kBAAI;IAC5B,sBAAsB,EAAE,kBAAI;IAC5B,yBAAyB,EAAE,wBAAU;IACrC,iCAAiC,EAAE,kBAAI;IACvC,0BAA0B,EAAE,kBAAI;IAChC,oBAAoB,EAAE,wBAAU;IAChC,aAAa,EAAE,wBAAU;IACzB,cAAc,EAAE,wBAAU;IAC1B,kBAAkB,EAAE,kBAAI;IACxB,eAAe,EAAE,wBAAU;IAC3B,eAAe,EAAE,kBAAI;IACrB,WAAW,EAAE,wBAAU;IACvB,aAAa,EAAE,wBAAU;CACoB,CAAC"} \ No newline at end of file +{"version":3,"file":"dom.js","sourceRoot":"","sources":["../../src/lib/dom.ts"],"names":[],"mappings":";AAAA,wCAAwC;AACxC,gCAAgC;AAChC,mEAAmE;AACnE,2BAA2B;;;AAI3B,+CAAiD;AAEpC,QAAA,GAAG,GAAG;IACjB,eAAe,EAAE,wBAAU;IAC3B,WAAW,EAAE,wBAAU;IACvB,mBAAmB,EAAE,kBAAI;IACzB,aAAa,EAAE,wBAAU;IACzB,cAAc,EAAE,kBAAI;IACpB,sBAAsB,EAAE,kBAAI;IAC5B,uBAAuB,EAAE,kBAAI;IAC7B,aAAa,EAAE,kBAAI;IACnB,YAAY,EAAE,kBAAI;IAClB,YAAY,EAAE,kBAAI;IAClB,mBAAmB,EAAE,kBAAI;IACzB,YAAY,EAAE,kBAAI;IAClB,eAAe,EAAE,kBAAI;IACrB,eAAe,EAAE,kBAAI;IACrB,SAAS,EAAE,kBAAI;IACf,mBAAmB,EAAE,kBAAI;IACzB,YAAY,EAAE,kBAAI;IAClB,uBAAuB,EAAE,kBAAI;IAC7B,WAAW,EAAE,kBAAI;IACjB,YAAY,EAAE,wBAAU;IACxB,eAAe,EAAE,kBAAI;IACrB,sBAAsB,EAAE,kBAAI;IAC5B,UAAU,EAAE,kBAAI;IAChB,SAAS,EAAE,wBAAU;IACrB,eAAe,EAAE,wBAAU;IAC3B,cAAc,EAAE,wBAAU;IAC1B,kBAAkB,EAAE,kBAAI;IACxB,iBAAiB,EAAE,kBAAI;IACvB,sBAAsB,EAAE,kBAAI;IAC5B,sBAAsB,EAAE,wBAAU;IAClC,0BAA0B,EAAE,kBAAI;IAChC,kBAAkB,EAAE,kBAAI;IACxB,qBAAqB,EAAE,kBAAI;IAC3B,iBAAiB,EAAE,wBAAU;IAC7B,UAAU,EAAE,kBAAI;IAChB,SAAS,EAAE,kBAAI;IACf,oBAAoB,EAAE,kBAAI;IAC1B,+BAA+B,EAAE,kBAAI;IACrC,IAAI,EAAE,wBAAU;IAChB,WAAW,EAAE,wBAAU;IACvB,kBAAkB,EAAE,kBAAI;IACxB,qBAAqB,EAAE,wBAAU;IACjC,wBAAwB,EAAE,kBAAI;IAC9B,kBAAkB,EAAE,kBAAI;IACxB,YAAY,EAAE,wBAAU;IACxB,2BAA2B,EAAE,kBAAI;IACjC,mBAAmB,EAAE,kBAAI;IACzB,iBAAiB,EAAE,kBAAI;IACvB,SAAS,EAAE,wBAAU;IACrB,sBAAsB,EAAE,kBAAI;IAC5B,aAAa,EAAE,kBAAI;IACnB,uBAAuB,EAAE,kBAAI;IAC7B,YAAY,EAAE,wBAAU;IACxB,kBAAkB,EAAE,kBAAI;IACxB,oBAAoB,EAAE,kBAAI;IAC1B,gBAAgB,EAAE,kBAAI;IACtB,mBAAmB,EAAE,kBAAI;IACzB,oBAAoB,EAAE,wBAAU;IAChC,YAAY,EAAE,wBAAU;IACxB,kBAAkB,EAAE,kBAAI;IACxB,oBAAoB,EAAE,kBAAI;IAC1B,gBAAgB,EAAE,kBAAI;IACtB,mBAAmB,EAAE,kBAAI;IACzB,aAAa,EAAE,wBAAU;IACzB,SAAS,EAAE,wBAAU;IACrB,gBAAgB,EAAE,kBAAI;IACtB,UAAU,EAAE,wBAAU;IACtB,aAAa,EAAE,wBAAU;IACzB,oBAAoB,EAAE,wBAAU;IAChC,wBAAwB,EAAE,kBAAI;IAC9B,iBAAiB,EAAE,kBAAI;IACvB,wBAAwB,EAAE,wBAAU;IACpC,gCAAgC,EAAE,kBAAI;IACtC,cAAc,EAAE,kBAAI;IACpB,YAAY,EAAE,wBAAU;IACxB,gBAAgB,EAAE,wBAAU;IAC5B,wBAAwB,EAAE,kBAAI;IAC9B,uBAAuB,EAAE,kBAAI;IAC7B,oCAAoC,EAAE,kBAAI;IAC1C,wCAAwC,EAAE,kBAAI;IAC9C,qCAAqC,EAAE,kBAAI;IAC3C,iCAAiC,EAAE,kBAAI;IACvC,kCAAkC,EAAE,kBAAI;IACxC,iCAAiC,EAAE,kBAAI;IACvC,8BAA8B,EAAE,wBAAU;IAC1C,uBAAuB,EAAE,kBAAI;IAC7B,gCAAgC,EAAE,wBAAU;IAC5C,qBAAqB,EAAE,wBAAU;IACjC,8BAA8B,EAAE,kBAAI;IACpC,sBAAsB,EAAE,kBAAI;IAC5B,QAAQ,EAAE,kBAAI;IACd,mBAAmB,EAAE,kBAAI;IACzB,YAAY,EAAE,kBAAI;IAClB,oBAAoB,EAAE,kBAAI;IAC1B,mBAAmB,EAAE,kBAAI;IACzB,uBAAuB,EAAE,kBAAI;IAC7B,aAAa,EAAE,kBAAI;IACnB,mBAAmB,EAAE,kBAAI;IACzB,eAAe,EAAE,kBAAI;IACrB,WAAW,EAAE,kBAAI;IACjB,cAAc,EAAE,kBAAI;IACpB,kBAAkB,EAAE,kBAAI;IACxB,gBAAgB,EAAE,kBAAI;IACtB,OAAO,EAAE,wBAAU;IACnB,eAAe,EAAE,kBAAI;IACrB,gBAAgB,EAAE,wBAAU;IAC5B,wBAAwB,EAAE,kBAAI;IAC9B,iBAAiB,EAAE,wBAAU;IAC7B,UAAU,EAAE,kBAAI;IAChB,UAAU,EAAE,kBAAI;IAChB,gBAAgB,EAAE,wBAAU;IAC5B,mBAAmB,EAAE,kBAAI;IACzB,gBAAgB,EAAE,kBAAI;IACtB,WAAW,EAAE,kBAAI;IACjB,IAAI,EAAE,wBAAU;IAChB,YAAY,EAAE,kBAAI;IAClB,SAAS,EAAE,wBAAU;IACrB,aAAa,EAAE,kBAAI;IACnB,QAAQ,EAAE,kBAAI;IACd,eAAe,EAAE,kBAAI;IACrB,IAAI,EAAE,kBAAI;IACV,QAAQ,EAAE,kBAAI;IACd,gBAAgB,EAAE,wBAAU;IAC5B,wBAAwB,EAAE,kBAAI;IAC9B,YAAY,EAAE,kBAAI;IAClB,yBAAyB,EAAE,wBAAU;IACrC,KAAK,EAAE,wBAAU;IACjB,iBAAiB,EAAE,kBAAI;IACvB,YAAY,EAAE,wBAAU;IACxB,iBAAiB,EAAE,kBAAI;IACvB,6BAA6B,EAAE,wBAAU;IACzC,iBAAiB,EAAE,kBAAI;IACvB,eAAe,EAAE,kBAAI;IACrB,eAAe,EAAE,kBAAI;IACrB,cAAc,EAAE,kBAAI;IACpB,cAAc,EAAE,kBAAI;IACpB,sBAAsB,EAAE,kBAAI;IAC5B,aAAa,EAAE,kBAAI;IACnB,iBAAiB,EAAE,kBAAI;IACvB,iBAAiB,EAAE,kBAAI;IACvB,qBAAqB,EAAE,kBAAI;IAC3B,cAAc,EAAE,wBAAU;IAC1B,eAAe,EAAE,kBAAI;IACrB,oBAAoB,EAAE,kBAAI;IAC1B,iBAAiB,EAAE,kBAAI;IACvB,aAAa,EAAE,kBAAI;IACnB,cAAc,EAAE,kBAAI;IACpB,UAAU,EAAE,kBAAI;IAChB,uBAAuB,EAAE,kBAAI;IAC7B,aAAa,EAAE,wBAAU;IACzB,UAAU,EAAE,kBAAI;IAChB,wBAAwB,EAAE,wBAAU;IACpC,gCAAgC,EAAE,kBAAI;IACtC,kBAAkB,EAAE,kBAAI;IACxB,WAAW,EAAE,kBAAI;IACjB,UAAU,EAAE,kBAAI;IAChB,eAAe,EAAE,kBAAI;IACrB,kBAAkB,EAAE,kBAAI;IACxB,uBAAuB,EAAE,kBAAI;IAC7B,mBAAmB,EAAE,kBAAI;IACzB,eAAe,EAAE,kBAAI;IACrB,mBAAmB,EAAE,kBAAI;IACzB,aAAa,EAAE,wBAAU;IACzB,6BAA6B,EAAE,kBAAI;IACnC,YAAY,EAAE,wBAAU;IACxB,gBAAgB,EAAE,kBAAI;IACtB,qBAAqB,EAAE,kBAAI;IAC3B,iBAAiB,EAAE,wBAAU;IAC7B,oBAAoB,EAAE,kBAAI;IAC1B,mBAAmB,EAAE,wBAAU;IAC/B,sBAAsB,EAAE,kBAAI;IAC5B,aAAa,EAAE,wBAAU;IACzB,sBAAsB,EAAE,kBAAI;IAC5B,SAAS,EAAE,kBAAI;IACf,kBAAkB,EAAE,kBAAI;IACxB,UAAU,EAAE,kBAAI;IAChB,WAAW,EAAE,kBAAI;IACjB,SAAS,EAAE,wBAAU;IACrB,cAAc,EAAE,wBAAU;IAC1B,kBAAkB,EAAE,kBAAI;IACxB,aAAa,EAAE,wBAAU;IACzB,iBAAiB,EAAE,kBAAI;IACvB,oBAAoB,EAAE,kBAAI;IAC1B,cAAc,EAAE,kBAAI;IACpB,UAAU,EAAE,wBAAU;IACtB,cAAc,EAAE,kBAAI;IACpB,UAAU,EAAE,kBAAI;IAChB,UAAU,EAAE,kBAAI;IAChB,oBAAoB,EAAE,kBAAI;IAC1B,OAAO,EAAE,wBAAU;IACnB,kBAAkB,EAAE,kBAAI;IACxB,wBAAwB,EAAE,kBAAI;IAC9B,gBAAgB,EAAE,wBAAU;IAC5B,oBAAoB,EAAE,kBAAI;IAC1B,iBAAiB,EAAE,kBAAI;IACvB,iBAAiB,EAAE,wBAAU;IAC7B,oBAAoB,EAAE,kBAAI;IAC1B,gBAAgB,EAAE,kBAAI;IACtB,OAAO,EAAE,kBAAI;IACb,kBAAkB,EAAE,wBAAU;IAC9B,qBAAqB,EAAE,kBAAI;IAC3B,gBAAgB,EAAE,kBAAI;IACtB,0BAA0B,EAAE,kBAAI;IAChC,kBAAkB,EAAE,kBAAI;IACxB,4BAA4B,EAAE,kBAAI;IAClC,eAAe,EAAE,kBAAI;IACrB,oBAAoB,EAAE,kBAAI;IAC1B,cAAc,EAAE,kBAAI;IACpB,mBAAmB,EAAE,kBAAI;IACzB,qCAAqC,EAAE,wBAAU;IACjD,yCAAyC,EAAE,kBAAI;IAC/C,aAAa,EAAE,wBAAU;IACzB,gBAAgB,EAAE,kBAAI;IACtB,uBAAuB,EAAE,kBAAI;IAC7B,oBAAoB,EAAE,wBAAU;IAChC,UAAU,EAAE,wBAAU;IACtB,yBAAyB,EAAE,kBAAI;IAC/B,8BAA8B,EAAE,kBAAI;IACpC,0BAA0B,EAAE,kBAAI;IAChC,wBAAwB,EAAE,kBAAI;IAC9B,oBAAoB,EAAE,wBAAU;IAChC,MAAM,EAAE,wBAAU;IAClB,SAAS,EAAE,wBAAU;IACrB,aAAa,EAAE,kBAAI;IACnB,GAAG,EAAE,wBAAU;IACf,YAAY,EAAE,wBAAU;IACxB,gBAAgB,EAAE,wBAAU;IAC5B,gBAAgB,EAAE,wBAAU;IAC5B,mBAAmB,EAAE,wBAAU;IAC/B,eAAe,EAAE,wBAAU;IAC3B,wBAAwB,EAAE,wBAAU;IACpC,wBAAwB,EAAE,wBAAU;IACpC,eAAe,EAAE,wBAAU;IAC3B,aAAa,EAAE,wBAAU;IACzB,aAAa,EAAE,wBAAU;IACzB,eAAe,EAAE,wBAAU;IAC3B,gBAAgB,EAAE,wBAAU;IAC5B,aAAa,EAAE,kBAAI;IACnB,eAAe,EAAE,wBAAU;IAC3B,iBAAiB,EAAE,wBAAU;IAC7B,qBAAqB,EAAE,wBAAU;IACjC,YAAY,EAAE,wBAAU;IACxB,aAAa,EAAE,wBAAU;IACzB,UAAU,EAAE,wBAAU;IACtB,UAAU,EAAE,wBAAU;IACtB,aAAa,EAAE,wBAAU;IACzB,eAAe,EAAE,kBAAI;IACrB,cAAc,EAAE,wBAAU;IAC1B,UAAU,EAAE,wBAAU;IACtB,YAAY,EAAE,wBAAU;IACxB,kBAAkB,EAAE,wBAAU;IAC9B,yBAAyB,EAAE,kBAAI;IAC/B,YAAY,EAAE,wBAAU;IACxB,gBAAgB,EAAE,wBAAU;IAC5B,YAAY,EAAE,kBAAI;IAClB,eAAe,EAAE,wBAAU;IAC3B,kBAAkB,EAAE,kBAAI;IACxB,cAAc,EAAE,kBAAI;IACpB,eAAe,EAAE,wBAAU;IAC3B,WAAW,EAAE,wBAAU;IACvB,cAAc,EAAE,wBAAU;IAC1B,mBAAmB,EAAE,kBAAI;IACzB,eAAe,EAAE,wBAAU;IAC3B,SAAS,EAAE,wBAAU;IACrB,OAAO,EAAE,wBAAU;IACnB,WAAW,EAAE,wBAAU;IACvB,QAAQ,EAAE,wBAAU;IACpB,YAAY,EAAE,wBAAU;IACxB,OAAO,EAAE,wBAAU;IACnB,QAAQ,EAAE,wBAAU;IACpB,QAAQ,EAAE,wBAAU;IACpB,oBAAoB,EAAE,wBAAU;IAChC,mBAAmB,EAAE,wBAAU;IAC/B,YAAY,EAAE,wBAAU;IACxB,aAAa,EAAE,wBAAU;IACzB,iBAAiB,EAAE,kBAAI;IACvB,aAAa,EAAE,wBAAU;IACzB,eAAe,EAAE,wBAAU;IAC3B,qBAAqB,EAAE,wBAAU;IACjC,iBAAiB,EAAE,wBAAU;IAC7B,aAAa,EAAE,wBAAU;IACzB,YAAY,EAAE,wBAAU;IACxB,YAAY,EAAE,wBAAU;IACxB,kBAAkB,EAAE,kBAAI;IACxB,gBAAgB,EAAE,wBAAU;IAC5B,yBAAyB,EAAE,wBAAU;IACrC,wBAAwB,EAAE,kBAAI;IAC9B,qBAAqB,EAAE,wBAAU;IACjC,WAAW,EAAE,wBAAU;IACvB,eAAe,EAAE,kBAAI;IACrB,cAAc,EAAE,wBAAU;IAC1B,YAAY,EAAE,wBAAU;IACxB,gBAAgB,EAAE,wBAAU;IAC5B,oBAAoB,EAAE,wBAAU;IAChC,mBAAmB,EAAE,kBAAI;IACzB,qBAAqB,EAAE,kBAAI;IAC3B,mBAAmB,EAAE,wBAAU;IAC/B,SAAS,EAAE,wBAAU;IACrB,YAAY,EAAE,kBAAI;IAClB,iBAAiB,EAAE,wBAAU;IAC7B,6BAA6B,EAAE,kBAAI;IACnC,iCAAiC,EAAE,kBAAI;IACvC,qBAAqB,EAAE,kBAAI;IAC3B,6BAA6B,EAAE,kBAAI;IACnC,iCAAiC,EAAE,kBAAI;IACvC,sBAAsB,EAAE,wBAAU;IAClC,0BAA0B,EAAE,kBAAI;IAChC,gBAAgB,EAAE,kBAAI;IACtB,yBAAyB,EAAE,kBAAI;IAC/B,yBAAyB,EAAE,kBAAI;IAC/B,iBAAiB,EAAE,kBAAI;IACvB,QAAQ,EAAE,wBAAU;IACpB,gBAAgB,EAAE,kBAAI;IACtB,gBAAgB,EAAE,wBAAU;IAC5B,oBAAoB,EAAE,kBAAI;IAC1B,kBAAkB,EAAE,kBAAI;IACxB,gBAAgB,EAAE,wBAAU;IAC5B,uBAAuB,EAAE,kBAAI;IAC7B,YAAY,EAAE,wBAAU;IACxB,uBAAuB,EAAE,kBAAI;IAC7B,YAAY,EAAE,wBAAU;IACxB,mBAAmB,EAAE,kBAAI;IACzB,iBAAiB,EAAE,wBAAU;IAC7B,SAAS,EAAE,wBAAU;IACrB,eAAe,EAAE,kBAAI;IACrB,aAAa,EAAE,kBAAI;IACnB,iBAAiB,EAAE,wBAAU;IAC7B,SAAS,EAAE,wBAAU;IACrB,sBAAsB,EAAE,kBAAI;IAC5B,QAAQ,EAAE,wBAAU;IACpB,YAAY,EAAE,kBAAI;IAClB,gBAAgB,EAAE,wBAAU;IAC5B,OAAO,EAAE,wBAAU;IACnB,WAAW,EAAE,kBAAI;IACjB,OAAO,EAAE,wBAAU;IACnB,WAAW,EAAE,kBAAI;IACjB,WAAW,EAAE,wBAAU;IACvB,eAAe,EAAE,wBAAU;IAC3B,aAAa,EAAE,wBAAU;IACzB,YAAY,EAAE,wBAAU;IACxB,YAAY,EAAE,wBAAU;IACxB,WAAW,EAAE,kBAAI;IACjB,SAAS,EAAE,wBAAU;IACrB,aAAa,EAAE,kBAAI;IACnB,sBAAsB,EAAE,wBAAU;IAClC,yBAAyB,EAAE,kBAAI;IAC/B,mBAAmB,EAAE,kBAAI;IACzB,WAAW,EAAE,kBAAI;IACjB,cAAc,EAAE,kBAAI;IACpB,cAAc,EAAE,kBAAI;IACpB,iBAAiB,EAAE,kBAAI;IACvB,YAAY,EAAE,kBAAI;IAClB,OAAO,EAAE,wBAAU;IACnB,sBAAsB,EAAE,kBAAI;IAC5B,sBAAsB,EAAE,kBAAI;IAC5B,qBAAqB,EAAE,kBAAI;IAC3B,wBAAwB,EAAE,kBAAI;IAC9B,eAAe,EAAE,kBAAI;IACrB,gBAAgB,EAAE,wBAAU;IAC5B,iBAAiB,EAAE,kBAAI;IACvB,iBAAiB,EAAE,wBAAU;IAC7B,qBAAqB,EAAE,kBAAI;IAC3B,yBAAyB,EAAE,kBAAI;IAC/B,+BAA+B,EAAE,kBAAI;IACrC,qBAAqB,EAAE,kBAAI;IAC3B,iBAAiB,EAAE,wBAAU;IAC7B,qBAAqB,EAAE,kBAAI;IAC3B,yBAAyB,EAAE,kBAAI;IAC/B,+BAA+B,EAAE,kBAAI;IACrC,qBAAqB,EAAE,kBAAI;IAC3B,UAAU,EAAE,kBAAI;IAChB,gBAAgB,EAAE,kBAAI;IACtB,cAAc,EAAE,kBAAI;IACpB,aAAa,EAAE,kBAAI;IACnB,UAAU,EAAE,wBAAU;IACtB,cAAc,EAAE,kBAAI;IACpB,KAAK,EAAE,wBAAU;IACjB,WAAW,EAAE,wBAAU;IACvB,SAAS,EAAE,kBAAI;IACf,aAAa,EAAE,kBAAI;IACnB,mBAAmB,EAAE,kBAAI;IACzB,oBAAoB,EAAE,kBAAI;IAC1B,kCAAkC,EAAE,kBAAI;IACxC,iBAAiB,EAAE,kBAAI;IACvB,WAAW,EAAE,wBAAU;IACvB,mBAAmB,EAAE,kBAAI;IACzB,eAAe,EAAE,kBAAI;IACrB,WAAW,EAAE,wBAAU;IACvB,gBAAgB,EAAE,kBAAI;IACtB,sBAAsB,EAAE,kBAAI;IAC5B,2BAA2B,EAAE,kBAAI;IACjC,eAAe,EAAE,kBAAI;IACrB,cAAc,EAAE,kBAAI;IACpB,sBAAsB,EAAE,kBAAI;IAC5B,QAAQ,EAAE,kBAAI;IACd,4BAA4B,EAAE,kBAAI;IAClC,4BAA4B,EAAE,kBAAI;IAClC,8BAA8B,EAAE,kBAAI;IACpC,kBAAkB,EAAE,kBAAI;IACxB,QAAQ,EAAE,wBAAU;IACpB,IAAI,EAAE,wBAAU;IAChB,YAAY,EAAE,kBAAI;IAClB,QAAQ,EAAE,wBAAU;IACpB,eAAe,EAAE,kBAAI;IACrB,UAAU,EAAE,wBAAU;IACtB,kBAAkB,EAAE,kBAAI;IACxB,UAAU,EAAE,wBAAU;IACtB,+BAA+B,EAAE,kBAAI;IACrC,wBAAwB,EAAE,wBAAU;IACpC,yBAAyB,EAAE,wBAAU;IACrC,yBAAyB,EAAE,wBAAU;IACrC,yBAAyB,EAAE,kBAAI;IAC/B,eAAe,EAAE,wBAAU;IAC3B,uBAAuB,EAAE,kBAAI;IAC7B,mBAAmB,EAAE,wBAAU;IAC/B,oBAAoB,EAAE,wBAAU;IAChC,eAAe,EAAE,kBAAI;IACrB,6BAA6B,EAAE,kBAAI;IACnC,wBAAwB,EAAE,kBAAI;IAC9B,gBAAgB,EAAE,wBAAU;IAC5B,oBAAoB,EAAE,kBAAI;IAC1B,uBAAuB,EAAE,kBAAI;IAC7B,4BAA4B,EAAE,wBAAU;IACxC,wBAAwB,EAAE,kBAAI;IAC9B,QAAQ,EAAE,kBAAI;IACd,WAAW,EAAE,kBAAI;IACjB,UAAU,EAAE,wBAAU;IACtB,cAAc,EAAE,kBAAI;IACpB,YAAY,EAAE,kBAAI;IAClB,WAAW,EAAE,kBAAI;IACjB,QAAQ,EAAE,wBAAU;IACpB,mBAAmB,EAAE,kBAAI;IACzB,kBAAkB,EAAE,kBAAI;IACxB,WAAW,EAAE,wBAAU;IACvB,mBAAmB,EAAE,kBAAI;IACzB,oBAAoB,EAAE,wBAAU;IAChC,wBAAwB,EAAE,kBAAI;IAC9B,qBAAqB,EAAE,kBAAI;IAC3B,cAAc,EAAE,kBAAI;IACpB,QAAQ,EAAE,wBAAU;IACpB,kBAAkB,EAAE,kBAAI;IACxB,aAAa,EAAE,wBAAU;IACzB,iBAAiB,EAAE,kBAAI;IACvB,iBAAiB,EAAE,wBAAU;IAC7B,oBAAoB,EAAE,kBAAI;IAC1B,sBAAsB,EAAE,kBAAI;IAC5B,iBAAiB,EAAE,kBAAI;IACvB,sBAAsB,EAAE,kBAAI;IAC5B,QAAQ,EAAE,wBAAU;IACpB,WAAW,EAAE,kBAAI;IACjB,OAAO,EAAE,wBAAU;IACnB,aAAa,EAAE,wBAAU;IACzB,uBAAuB,EAAE,kBAAI;IAC7B,YAAY,EAAE,wBAAU;IACxB,gBAAgB,EAAE,kBAAI;IACtB,qBAAqB,EAAE,wBAAU;IACjC,uBAAuB,EAAE,kBAAI;IAC7B,oBAAoB,EAAE,kBAAI;IAC1B,kBAAkB,EAAE,kBAAI;IACxB,sBAAsB,EAAE,kBAAI;IAC5B,WAAW,EAAE,wBAAU;IACvB,sBAAsB,EAAE,wBAAU;IAClC,mBAAmB,EAAE,wBAAU;IAC/B,wBAAwB,EAAE,wBAAU;IACpC,oBAAoB,EAAE,kBAAI;IAC1B,cAAc,EAAE,kBAAI;IACpB,sBAAsB,EAAE,kBAAI;IAC5B,kBAAkB,EAAE,kBAAI;IACxB,UAAU,EAAE,kBAAI;IAChB,SAAS,EAAE,kBAAI;IACf,QAAQ,EAAE,kBAAI;IACd,MAAM,EAAE,kBAAI;IACZ,OAAO,EAAE,kBAAI;IACb,KAAK,EAAE,kBAAI;IACX,OAAO,EAAE,kBAAI;IACb,QAAQ,EAAE,kBAAI;IACd,wBAAwB,EAAE,kBAAI;IAC9B,mBAAmB,EAAE,kBAAI;IACzB,2BAA2B,EAAE,kBAAI;IACjC,OAAO,EAAE,kBAAI;IACb,UAAU,EAAE,kBAAI;IAChB,MAAM,EAAE,kBAAI;IACZ,QAAQ,EAAE,kBAAI;IACd,oBAAoB,EAAE,kBAAI;IAC1B,uBAAuB,EAAE,kBAAI;IAC7B,eAAe,EAAE,wBAAU;IAC3B,mBAAmB,EAAE,kBAAI;IACzB,eAAe,EAAE,kBAAI;IACrB,OAAO,EAAE,wBAAU;IACnB,WAAW,EAAE,kBAAI;IACjB,SAAS,EAAE,wBAAU;IACrB,iBAAiB,EAAE,wBAAU;IAC7B,aAAa,EAAE,kBAAI;IACnB,OAAO,EAAE,wBAAU;IACnB,UAAU,EAAE,kBAAI;IAChB,gBAAgB,EAAE,kBAAI;IACtB,gBAAgB,EAAE,kBAAI;IACtB,gBAAgB,EAAE,kBAAI;IACtB,iBAAiB,EAAE,wBAAU;IAC7B,iBAAiB,EAAE,wBAAU;IAC7B,eAAe,EAAE,wBAAU;IAC3B,gBAAgB,EAAE,wBAAU;IAC5B,eAAe,EAAE,wBAAU;IAC3B,eAAe,EAAE,wBAAU;IAC3B,uBAAuB,EAAE,kBAAI;IAC7B,aAAa,EAAE,wBAAU;IACzB,iBAAiB,EAAE,wBAAU;IAC7B,iBAAiB,EAAE,wBAAU;IAC7B,cAAc,EAAE,wBAAU;IAC1B,kBAAkB,EAAE,kBAAI;IACxB,gBAAgB,EAAE,kBAAI;IACtB,eAAe,EAAE,wBAAU;IAC3B,mBAAmB,EAAE,wBAAU;IAC/B,kBAAkB,EAAE,wBAAU;IAC9B,iBAAiB,EAAE,wBAAU;IAC7B,oBAAoB,EAAE,wBAAU;IAChC,cAAc,EAAE,wBAAU;IAC1B,gBAAgB,EAAE,wBAAU;IAC5B,YAAY,EAAE,wBAAU;IACxB,WAAW,EAAE,wBAAU;IACvB,+BAA+B,EAAE,kBAAI;IACrC,mBAAmB,EAAE,kBAAI;IACzB,qBAAqB,EAAE,kBAAI;IAC3B,gBAAgB,EAAE,wBAAU;IAC5B,mBAAmB,EAAE,wBAAU;IAC/B,eAAe,EAAE,wBAAU;IAC3B,0BAA0B,EAAE,wBAAU;IACtC,eAAe,EAAE,wBAAU;IAC3B,gBAAgB,EAAE,wBAAU;IAC5B,mBAAmB,EAAE,wBAAU;IAC/B,2BAA2B,EAAE,kBAAI;IACjC,eAAe,EAAE,wBAAU;IAC3B,kBAAkB,EAAE,wBAAU;IAC9B,aAAa,EAAE,wBAAU;IACzB,eAAe,EAAE,wBAAU;IAC3B,yBAAyB,EAAE,kBAAI;IAC/B,iBAAiB,EAAE,wBAAU;IAC7B,gBAAgB,EAAE,wBAAU;IAC5B,gBAAgB,EAAE,wBAAU;IAC5B,gBAAgB,EAAE,wBAAU;IAC5B,iBAAiB,EAAE,wBAAU;IAC7B,aAAa,EAAE,wBAAU;IACzB,eAAe,EAAE,wBAAU;IAC3B,cAAc,EAAE,wBAAU;IAC1B,kBAAkB,EAAE,wBAAU;IAC9B,gBAAgB,EAAE,wBAAU;IAC5B,wBAAwB,EAAE,kBAAI;IAC9B,eAAe,EAAE,wBAAU;IAC3B,eAAe,EAAE,wBAAU;IAC3B,gBAAgB,EAAE,wBAAU;IAC5B,cAAc,EAAE,wBAAU;IAC1B,iBAAiB,EAAE,wBAAU;IAC7B,gBAAgB,EAAE,wBAAU;IAC5B,mBAAmB,EAAE,wBAAU;IAC/B,iBAAiB,EAAE,wBAAU;IAC7B,qBAAqB,EAAE,wBAAU;IACjC,gBAAgB,EAAE,kBAAI;IACtB,qBAAqB,EAAE,kBAAI;IAC3B,sBAAsB,EAAE,kBAAI;IAC5B,iBAAiB,EAAE,wBAAU;IAC7B,oBAAoB,EAAE,wBAAU;IAChC,gBAAgB,EAAE,wBAAU;IAC5B,kBAAkB,EAAE,wBAAU;IAC9B,cAAc,EAAE,wBAAU;IAC1B,mBAAmB,EAAE,wBAAU;IAC/B,gBAAgB,EAAE,wBAAU;IAC5B,iBAAiB,EAAE,wBAAU;IAC7B,iBAAiB,EAAE,wBAAU;IAC7B,eAAe,EAAE,wBAAU;IAC3B,iBAAiB,EAAE,wBAAU;IAC7B,eAAe,EAAE,wBAAU;IAC3B,gBAAgB,EAAE,wBAAU;IAC5B,uBAAuB,EAAE,wBAAU;IACnC,oBAAoB,EAAE,wBAAU;IAChC,mBAAmB,EAAE,wBAAU;IAC/B,wBAAwB,EAAE,kBAAI;IAC9B,gBAAgB,EAAE,wBAAU;IAC5B,0BAA0B,EAAE,kBAAI;IAChC,mBAAmB,EAAE,wBAAU;IAC/B,uBAAuB,EAAE,wBAAU;IACnC,mBAAmB,EAAE,wBAAU;IAC/B,mBAAmB,EAAE,wBAAU;IAC/B,eAAe,EAAE,wBAAU;IAC3B,gBAAgB,EAAE,wBAAU;IAC5B,gBAAgB,EAAE,wBAAU;IAC5B,gBAAgB,EAAE,wBAAU;IAC5B,kBAAkB,EAAE,wBAAU;IAC9B,gBAAgB,EAAE,wBAAU;IAC5B,wBAAwB,EAAE,kBAAI;IAC9B,SAAS,EAAE,wBAAU;IACrB,kBAAkB,EAAE,kBAAI;IACxB,kBAAkB,EAAE,wBAAU;IAC9B,WAAW,EAAE,wBAAU;IACvB,mBAAmB,EAAE,kBAAI;IACzB,eAAe,EAAE,kBAAI;IACrB,UAAU,EAAE,wBAAU;IACtB,QAAQ,EAAE,wBAAU;IACpB,kBAAkB,EAAE,kBAAI;IACxB,WAAW,EAAE,wBAAU;IACvB,cAAc,EAAE,wBAAU;IAC1B,wBAAwB,EAAE,kBAAI;IAC9B,gBAAgB,EAAE,wBAAU;IAC5B,wBAAwB,EAAE,kBAAI;IAC9B,UAAU,EAAE,wBAAU;IACtB,kBAAkB,EAAE,kBAAI;IACxB,oBAAoB,EAAE,kBAAI;IAC1B,cAAc,EAAE,wBAAU;IAC1B,wBAAwB,EAAE,kBAAI;IAC9B,sBAAsB,EAAE,kBAAI;IAC5B,kBAAkB,EAAE,kBAAI;IACxB,qBAAqB,EAAE,kBAAI;IAC3B,WAAW,EAAE,kBAAI;IACjB,qBAAqB,EAAE,wBAAU;IACjC,yBAAyB,EAAE,kBAAI;IAC/B,YAAY,EAAE,wBAAU;IACxB,mBAAmB,EAAE,kBAAI;IACzB,kBAAkB,EAAE,kBAAI;IACxB,aAAa,EAAE,wBAAU;IACzB,gBAAgB,EAAE,kBAAI;IACtB,WAAW,EAAE,wBAAU;IACvB,kBAAkB,EAAE,kBAAI;IACxB,2BAA2B,EAAE,wBAAU;IACvC,mCAAmC,EAAE,kBAAI;IACzC,iBAAiB,EAAE,kBAAI;IACvB,SAAS,EAAE,wBAAU;IACrB,iBAAiB,EAAE,kBAAI;IACvB,kBAAkB,EAAE,kBAAI;IACxB,gBAAgB,EAAE,kBAAI;IACtB,qBAAqB,EAAE,kBAAI;IAC3B,UAAU,EAAE,kBAAI;IAChB,eAAe,EAAE,wBAAU;IAC3B,UAAU,EAAE,wBAAU;IACtB,cAAc,EAAE,kBAAI;IACpB,cAAc,EAAE,kBAAI;IACpB,SAAS,EAAE,kBAAI;IACf,oBAAoB,EAAE,wBAAU;IAChC,4BAA4B,EAAE,kBAAI;IAClC,yBAAyB,EAAE,wBAAU;IACrC,wBAAwB,EAAE,kBAAI;IAC9B,2BAA2B,EAAE,kBAAI;IACjC,UAAU,EAAE,kBAAI;IAChB,YAAY,EAAE,kBAAI;IAClB,aAAa,EAAE,wBAAU;IACzB,iBAAiB,EAAE,kBAAI;IACvB,SAAS,EAAE,kBAAI;IACf,QAAQ,EAAE,kBAAI;IACd,wBAAwB,EAAE,kBAAI;IAC9B,cAAc,EAAE,wBAAU;IAC1B,qBAAqB,EAAE,kBAAI;IAC3B,OAAO,EAAE,kBAAI;IACb,QAAQ,EAAE,kBAAI;IACd,2BAA2B,EAAE,kBAAI;IACjC,sBAAsB,EAAE,wBAAU;IAClC,WAAW,EAAE,kBAAI;IACjB,gBAAgB,EAAE,kBAAI;IACtB,sBAAsB,EAAE,kBAAI;IAC5B,SAAS,EAAE,kBAAI;IACf,QAAQ,EAAE,wBAAU;IACpB,IAAI,EAAE,wBAAU;IAChB,mBAAmB,EAAE,kBAAI;IACzB,QAAQ,EAAE,kBAAI;IACd,WAAW,EAAE,wBAAU;IACvB,mBAAmB,EAAE,kBAAI;IACzB,QAAQ,EAAE,kBAAI;IACd,WAAW,EAAE,kBAAI;IACjB,aAAa,EAAE,wBAAU;IACzB,qBAAqB,EAAE,kBAAI;IAC3B,uBAAuB,EAAE,kBAAI;IAC7B,iBAAiB,EAAE,wBAAU;IAC7B,6BAA6B,EAAE,kBAAI;IACnC,6BAA6B,EAAE,kBAAI;IACnC,qBAAqB,EAAE,kBAAI;IAC3B,kBAAkB,EAAE,kBAAI;IACxB,0BAA0B,EAAE,kBAAI;IAChC,iBAAiB,EAAE,kBAAI;IACvB,eAAe,EAAE,wBAAU;IAC3B,eAAe,EAAE,kBAAI;IACrB,YAAY,EAAE,wBAAU;IACxB,oBAAoB,EAAE,kBAAI;IAC1B,2BAA2B,EAAE,wBAAU;IACvC,8BAA8B,EAAE,kBAAI;IACpC,0BAA0B,EAAE,kBAAI;IAChC,iBAAiB,EAAE,kBAAI;IACvB,mBAAmB,EAAE,wBAAU;IAC/B,uBAAuB,EAAE,kBAAI;IAC7B,UAAU,EAAE,wBAAU;IACtB,UAAU,EAAE,kBAAI;IAChB,oBAAoB,EAAE,wBAAU;IAChC,wBAAwB,EAAE,kBAAI;IAC9B,mBAAmB,EAAE,kBAAI;IACzB,SAAS,EAAE,wBAAU;IACrB,eAAe,EAAE,wBAAU;IAC3B,2BAA2B,EAAE,kBAAI;IACjC,uBAAuB,EAAE,kBAAI;IAC7B,mBAAmB,EAAE,kBAAI;IACzB,eAAe,EAAE,kBAAI;IACrB,oBAAoB,EAAE,kBAAI;IAC1B,cAAc,EAAE,kBAAI;IACpB,iBAAiB,EAAE,wBAAU;IAC7B,oBAAoB,EAAE,wBAAU;IAChC,2BAA2B,EAAE,kBAAI;IACjC,6BAA6B,EAAE,kBAAI;IACnC,SAAS,EAAE,wBAAU;IACrB,aAAa,EAAE,wBAAU;IACzB,iBAAiB,EAAE,kBAAI;IACvB,kBAAkB,EAAE,kBAAI;IACxB,aAAa,EAAE,kBAAI;IACnB,cAAc,EAAE,wBAAU;IAC1B,mBAAmB,EAAE,wBAAU;IAC/B,uBAAuB,EAAE,kBAAI;IAC7B,sBAAsB,EAAE,kBAAI;IAC5B,aAAa,EAAE,wBAAU;IACzB,qBAAqB,EAAE,kBAAI;IAC3B,oBAAoB,EAAE,kBAAI;IAC1B,YAAY,EAAE,wBAAU;IACxB,kBAAkB,EAAE,kBAAI;IACxB,yBAAyB,EAAE,kBAAI;IAC/B,yBAAyB,EAAE,kBAAI;IAC/B,yBAAyB,EAAE,kBAAI;IAC/B,WAAW,EAAE,wBAAU;IACvB,mBAAmB,EAAE,kBAAI;IACzB,iBAAiB,EAAE,wBAAU;IAC7B,WAAW,EAAE,wBAAU;IACvB,+BAA+B,EAAE,wBAAU;IAC3C,0BAA0B,EAAE,wBAAU;IACtC,6BAA6B,EAAE,kBAAI;IACnC,sBAAsB,EAAE,kBAAI;IAC5B,mBAAmB,EAAE,kBAAI;IACzB,gBAAgB,EAAE,wBAAU;IAC5B,qBAAqB,EAAE,wBAAU;IACjC,yBAAyB,EAAE,kBAAI;IAC/B,wBAAwB,EAAE,kBAAI;IAC9B,qBAAqB,EAAE,kBAAI;IAC3B,sBAAsB,EAAE,kBAAI;IAC5B,qBAAqB,EAAE,kBAAI;IAC3B,uBAAuB,EAAE,kBAAI;IAC7B,kBAAkB,EAAE,kBAAI;IACxB,8BAA8B,EAAE,kBAAI;IACpC,cAAc,EAAE,wBAAU;IAC1B,YAAY,EAAE,wBAAU;IACxB,gBAAgB,EAAE,kBAAI;IACtB,kBAAkB,EAAE,kBAAI;IACxB,WAAW,EAAE,wBAAU;IACvB,mBAAmB,EAAE,kBAAI;IACzB,UAAU,EAAE,wBAAU;IACtB,kBAAkB,EAAE,kBAAI;IACxB,mBAAmB,EAAE,wBAAU;IAC/B,uBAAuB,EAAE,kBAAI;IAC7B,SAAS,EAAE,wBAAU;IACrB,iBAAiB,EAAE,kBAAI;IACvB,YAAY,EAAE,wBAAU;IACxB,gBAAgB,EAAE,wBAAU;IAC5B,oBAAoB,EAAE,kBAAI;IAC1B,WAAW,EAAE,kBAAI;IACjB,UAAU,EAAE,wBAAU;IACtB,aAAa,EAAE,wBAAU;IACzB,QAAQ,EAAE,wBAAU;IACpB,uBAAuB,EAAE,kBAAI;IAC7B,mBAAmB,EAAE,kBAAI;IACzB,gBAAgB,EAAE,kBAAI;IACtB,YAAY,EAAE,kBAAI;IAClB,QAAQ,EAAE,wBAAU;IACpB,aAAa,EAAE,wBAAU;IACzB,UAAU,EAAE,wBAAU;IACtB,cAAc,EAAE,kBAAI;IACpB,sBAAsB,EAAE,kBAAI;IAC5B,gBAAgB,EAAE,kBAAI;IACtB,gBAAgB,EAAE,wBAAU;IAC5B,oBAAoB,EAAE,kBAAI;IAC1B,cAAc,EAAE,wBAAU;IAC1B,kBAAkB,EAAE,kBAAI;IACxB,UAAU,EAAE,kBAAI;IAChB,YAAY,EAAE,wBAAU;IACxB,wBAAwB,EAAE,wBAAU;IACpC,sBAAsB,EAAE,kBAAI;IAC5B,oBAAoB,EAAE,kBAAI;IAC1B,SAAS,EAAE,wBAAU;IACrB,8BAA8B,EAAE,kBAAI;IACpC,cAAc,EAAE,kBAAI;IACpB,2BAA2B,EAAE,kBAAI;IACjC,qBAAqB,EAAE,kBAAI;IAC3B,gBAAgB,EAAE,kBAAI;IACtB,WAAW,EAAE,kBAAI;IACjB,iBAAiB,EAAE,kBAAI;IACvB,cAAc,EAAE,kBAAI;IACpB,eAAe,EAAE,kBAAI;IACrB,gBAAgB,EAAE,kBAAI;IACtB,gBAAgB,EAAE,kBAAI;IACtB,IAAI,EAAE,wBAAU;IAChB,UAAU,EAAE,wBAAU;IACtB,YAAY,EAAE,wBAAU;IACxB,QAAQ,EAAE,wBAAU;IACpB,UAAU,EAAE,kBAAI;IAChB,wBAAwB,EAAE,kBAAI;IAC9B,oBAAoB,EAAE,kBAAI;IAC1B,YAAY,EAAE,wBAAU;IACxB,qBAAqB,EAAE,kBAAI;IAC3B,oBAAoB,EAAE,kBAAI;IAC1B,mBAAmB,EAAE,kBAAI;IACzB,sBAAsB,EAAE,kBAAI;IAC5B,8BAA8B,EAAE,kBAAI;IACpC,wBAAwB,EAAE,kBAAI;IAC9B,sBAAsB,EAAE,kBAAI;IAC5B,qBAAqB,EAAE,kBAAI;IAC3B,wBAAwB,EAAE,kBAAI;IAC9B,iBAAiB,EAAE,kBAAI;IACvB,wBAAwB,EAAE,kBAAI;IAC9B,sBAAsB,EAAE,kBAAI;IAC5B,6BAA6B,EAAE,kBAAI;IACnC,uBAAuB,EAAE,kBAAI;IAC7B,2BAA2B,EAAE,wBAAU;IACvC,+BAA+B,EAAE,kBAAI;IACrC,mBAAmB,EAAE,wBAAU;IAC/B,2BAA2B,EAAE,kBAAI;IACjC,0BAA0B,EAAE,kBAAI;IAChC,eAAe,EAAE,wBAAU;IAC3B,uBAAuB,EAAE,kBAAI;IAC7B,iCAAiC,EAAE,wBAAU;IAC7C,yBAAyB,EAAE,kBAAI;IAC/B,2BAA2B,EAAE,kBAAI;IACjC,0BAA0B,EAAE,kBAAI;IAChC,iCAAiC,EAAE,kBAAI;IACvC,mBAAmB,EAAE,kBAAI;IACzB,0BAA0B,EAAE,kBAAI;IAChC,oBAAoB,EAAE,kBAAI;IAC1B,oBAAoB,EAAE,kBAAI;IAC1B,mBAAmB,EAAE,kBAAI;IACzB,mBAAmB,EAAE,kBAAI;IACzB,iBAAiB,EAAE,kBAAI;IACvB,eAAe,EAAE,kBAAI;IACrB,cAAc,EAAE,wBAAU;IAC1B,iBAAiB,EAAE,kBAAI;IACvB,cAAc,EAAE,kBAAI;IACpB,oBAAoB,EAAE,wBAAU;IAChC,cAAc,EAAE,kBAAI;IACpB,cAAc,EAAE,kBAAI;IACpB,mBAAmB,EAAE,wBAAU;IAC/B,uBAAuB,EAAE,kBAAI;IAC7B,UAAU,EAAE,wBAAU;IACtB,aAAa,EAAE,kBAAI;IACnB,gBAAgB,EAAE,kBAAI;IACtB,UAAU,EAAE,kBAAI;IAChB,MAAM,EAAE,wBAAU;IAClB,WAAW,EAAE,kBAAI;IACjB,cAAc,EAAE,wBAAU;IAC1B,eAAe,EAAE,kBAAI;IACrB,qBAAqB,EAAE,kBAAI;IAC3B,kBAAkB,EAAE,kBAAI;IACxB,kBAAkB,EAAE,kBAAI;IACxB,sBAAsB,EAAE,kBAAI;IAC5B,oBAAoB,EAAE,kBAAI;IAC1B,WAAW,EAAE,kBAAI;IACjB,wBAAwB,EAAE,wBAAU;IACpC,4BAA4B,EAAE,kBAAI;IAClC,iBAAiB,EAAE,kBAAI;IACvB,cAAc,EAAE,kBAAI;IACpB,cAAc,EAAE,wBAAU;IAC1B,sBAAsB,EAAE,kBAAI;IAC5B,yBAAyB,EAAE,wBAAU;IACrC,6BAA6B,EAAE,kBAAI;IACnC,eAAe,EAAE,wBAAU;IAC3B,uBAAuB,EAAE,kBAAI;IAC7B,qBAAqB,EAAE,kBAAI;IAC3B,mBAAmB,EAAE,kBAAI;IACzB,uBAAuB,EAAE,kBAAI;IAC7B,YAAY,EAAE,kBAAI;IAClB,WAAW,EAAE,wBAAU;IACvB,gBAAgB,EAAE,wBAAU;IAC5B,oBAAoB,EAAE,kBAAI;IAC1B,mBAAmB,EAAE,kBAAI;IACzB,sBAAsB,EAAE,wBAAU;IAClC,eAAe,EAAE,wBAAU;IAC3B,sBAAsB,EAAE,kBAAI;IAC5B,kBAAkB,EAAE,wBAAU;IAC9B,yBAAyB,EAAE,kBAAI;IAC/B,qBAAqB,EAAE,wBAAU;IACjC,2BAA2B,EAAE,wBAAU;IACvC,mBAAmB,EAAE,wBAAU;IAC/B,2BAA2B,EAAE,kBAAI;IACjC,4BAA4B,EAAE,wBAAU;IACxC,uBAAuB,EAAE,kBAAI;IAC7B,sBAAsB,EAAE,wBAAU;IAClC,yBAAyB,EAAE,wBAAU;IACrC,uBAAuB,EAAE,wBAAU;IACnC,iBAAiB,EAAE,wBAAU;IAC7B,YAAY,EAAE,wBAAU;IACxB,uBAAuB,EAAE,kBAAI;IAC7B,mBAAmB,EAAE,kBAAI;IACzB,oBAAoB,EAAE,kBAAI;IAC1B,cAAc,EAAE,kBAAI;IACpB,WAAW,EAAE,wBAAU;IACvB,eAAe,EAAE,kBAAI;IACrB,gBAAgB,EAAE,wBAAU;IAC5B,wBAAwB,EAAE,kBAAI;IAC9B,qBAAqB,EAAE,wBAAU;IACjC,yBAAyB,EAAE,kBAAI;IAC/B,sBAAsB,EAAE,wBAAU;IAClC,8BAA8B,EAAE,kBAAI;IACpC,WAAW,EAAE,kBAAI;IACjB,iBAAiB,EAAE,kBAAI;IACvB,MAAM,EAAE,wBAAU;IAClB,WAAW,EAAE,wBAAU;IACvB,YAAY,EAAE,wBAAU;IACxB,gBAAgB,EAAE,kBAAI;IACtB,kBAAkB,EAAE,kBAAI;IACxB,qBAAqB,EAAE,kBAAI;IAC3B,aAAa,EAAE,wBAAU;IACzB,iBAAiB,EAAE,kBAAI;IACvB,oBAAoB,EAAE,kBAAI;IAC1B,gBAAgB,EAAE,kBAAI;IACtB,qBAAqB,EAAE,kBAAI;IAC3B,eAAe,EAAE,kBAAI;IACrB,oBAAoB,EAAE,kBAAI;IAC1B,gBAAgB,EAAE,kBAAI;IACtB,iBAAiB,EAAE,kBAAI;IACvB,qBAAqB,EAAE,wBAAU;IACjC,aAAa,EAAE,wBAAU;IACzB,iBAAiB,EAAE,kBAAI;IACvB,qBAAqB,EAAE,wBAAU;IACjC,yBAAyB,EAAE,kBAAI;IAC/B,kBAAkB,EAAE,kBAAI;IACxB,wBAAwB,EAAE,kBAAI;IAC9B,mBAAmB,EAAE,wBAAU;IAC/B,kCAAkC,EAAE,kBAAI;IACxC,sCAAsC,EAAE,kBAAI;IAC5C,6BAA6B,EAAE,kBAAI;IACnC,iCAAiC,EAAE,kBAAI;IACvC,yBAAyB,EAAE,kBAAI;IAC/B,uBAAuB,EAAE,kBAAI;IAC7B,6BAA6B,EAAE,kBAAI;IACnC,iCAAiC,EAAE,kBAAI;IACvC,qCAAqC,EAAE,kBAAI;IAC3C,2BAA2B,EAAE,kBAAI;IACjC,uBAAuB,EAAE,kBAAI;IAC7B,6BAA6B,EAAE,kBAAI;IACnC,iCAAiC,EAAE,kBAAI;IACvC,qBAAqB,EAAE,kBAAI;IAC3B,WAAW,EAAE,wBAAU;IACvB,gBAAgB,EAAE,wBAAU;IAC5B,oBAAoB,EAAE,kBAAI;IAC1B,uBAAuB,EAAE,wBAAU;IACnC,2BAA2B,EAAE,kBAAI;IACjC,eAAe,EAAE,kBAAI;IACrB,mBAAmB,EAAE,kBAAI;IACzB,mBAAmB,EAAE,kBAAI;IACzB,aAAa,EAAE,wBAAU;IACzB,KAAK,EAAE,wBAAU;IACjB,4BAA4B,EAAE,wBAAU;IACxC,cAAc,EAAE,wBAAU;IAC1B,wBAAwB,EAAE,wBAAU;IACpC,yBAAyB,EAAE,wBAAU;IACrC,wBAAwB,EAAE,kBAAI;IAC9B,+BAA+B,EAAE,wBAAU;IAC3C,2BAA2B,EAAE,wBAAU;IACvC,2BAA2B,EAAE,kBAAI;IACjC,8BAA8B,EAAE,kBAAI;IACpC,6BAA6B,EAAE,kBAAI;IACnC,4BAA4B,EAAE,kBAAI;IAClC,oBAAoB,EAAE,kBAAI;IAC1B,wBAAwB,EAAE,kBAAI;IAC9B,wBAAwB,EAAE,kBAAI;IAC9B,6BAA6B,EAAE,kBAAI;IACnC,kBAAkB,EAAE,kBAAI;IACxB,oBAAoB,EAAE,kBAAI;IAC1B,UAAU,EAAE,kBAAI;IAChB,cAAc,EAAE,kBAAI;IACpB,cAAc,EAAE,kBAAI;IACpB,mBAAmB,EAAE,kBAAI;IACzB,cAAc,EAAE,wBAAU;IAC1B,kCAAkC,EAAE,kBAAI;IACxC,sBAAsB,EAAE,kBAAI;IAC5B,mBAAmB,EAAE,kBAAI;IACzB,gBAAgB,EAAE,kBAAI;IACtB,MAAM,EAAE,wBAAU;IAClB,UAAU,EAAE,wBAAU;IACtB,iBAAiB,EAAE,wBAAU;IAC7B,yBAAyB,EAAE,kBAAI;IAC/B,wBAAwB,EAAE,kBAAI;IAC9B,UAAU,EAAE,kBAAI;IAChB,OAAO,EAAE,wBAAU;IACnB,YAAY,EAAE,kBAAI;IAClB,kBAAkB,EAAE,kBAAI;IACxB,kBAAkB,EAAE,kBAAI;IACxB,WAAW,EAAE,kBAAI;IACjB,WAAW,EAAE,kBAAI;IACjB,WAAW,EAAE,kBAAI;IACjB,eAAe,EAAE,kBAAI;IACrB,eAAe,EAAE,kBAAI;IACrB,sBAAsB,EAAE,kBAAI;IAC5B,cAAc,EAAE,wBAAU;IAC1B,wBAAwB,EAAE,kBAAI;IAC9B,sBAAsB,EAAE,kBAAI;IAC5B,mBAAmB,EAAE,wBAAU;IAC/B,qBAAqB,EAAE,kBAAI;IAC3B,kBAAkB,EAAE,wBAAU;IAC9B,aAAa,EAAE,kBAAI;IACnB,QAAQ,EAAE,wBAAU;IACpB,YAAY,EAAE,kBAAI;IAClB,YAAY,EAAE,kBAAI;IAClB,qBAAqB,EAAE,kBAAI;IAC3B,qBAAqB,EAAE,kBAAI;IAC3B,qBAAqB,EAAE,kBAAI;IAC3B,eAAe,EAAE,kBAAI;IACrB,eAAe,EAAE,kBAAI;IACrB,aAAa,EAAE,kBAAI;IACnB,kBAAkB,EAAE,kBAAI;IACxB,YAAY,EAAE,kBAAI;IAClB,gBAAgB,EAAE,kBAAI;IACtB,eAAe,EAAE,kBAAI;IACrB,cAAc,EAAE,wBAAU;IAC1B,wBAAwB,EAAE,kBAAI;IAC9B,gBAAgB,EAAE,kBAAI;IACtB,cAAc,EAAE,wBAAU;IAC1B,mBAAmB,EAAE,wBAAU;IAC/B,uBAAuB,EAAE,kBAAI;IAC7B,sBAAsB,EAAE,kBAAI;IAC5B,kBAAkB,EAAE,kBAAI;IACxB,mBAAmB,EAAE,kBAAI;IACzB,wBAAwB,EAAE,kBAAI;IAC9B,kBAAkB,EAAE,kBAAI;IACxB,gBAAgB,EAAE,wBAAU;IAC5B,wBAAwB,EAAE,kBAAI;IAC9B,qBAAqB,EAAE,kBAAI;IAC3B,aAAa,EAAE,wBAAU;IACzB,qBAAqB,EAAE,kBAAI;IAC3B,sBAAsB,EAAE,wBAAU;IAClC,0BAA0B,EAAE,kBAAI;IAChC,oBAAoB,EAAE,wBAAU;IAChC,4BAA4B,EAAE,kBAAI;IAClC,oBAAoB,EAAE,wBAAU;IAChC,4BAA4B,EAAE,kBAAI;IAClC,wBAAwB,EAAE,kBAAI;IAC9B,QAAQ,EAAE,wBAAU;IACpB,kBAAkB,EAAE,kBAAI;IACxB,aAAa,EAAE,wBAAU;IACzB,iBAAiB,EAAE,kBAAI;IACvB,YAAY,EAAE,kBAAI;IAClB,eAAe,EAAE,wBAAU;IAC3B,mBAAmB,EAAE,kBAAI;IACzB,mBAAmB,EAAE,kBAAI;IACzB,wBAAwB,EAAE,kBAAI;IAC9B,mBAAmB,EAAE,kBAAI;IACzB,eAAe,EAAE,kBAAI;IACrB,qBAAqB,EAAE,kBAAI;IAC3B,mBAAmB,EAAE,kBAAI;IACzB,oBAAoB,EAAE,kBAAI;IAC1B,cAAc,EAAE,kBAAI;IACpB,YAAY,EAAE,kBAAI;IAClB,sBAAsB,EAAE,kBAAI;IAC5B,eAAe,EAAE,wBAAU;IAC3B,uBAAuB,EAAE,kBAAI;IAC7B,qBAAqB,EAAE,kBAAI;IAC3B,oBAAoB,EAAE,kBAAI;IAC1B,wBAAwB,EAAE,kBAAI;IAC9B,8BAA8B,EAAE,kBAAI;IACpC,qBAAqB,EAAE,kBAAI;IAC3B,eAAe,EAAE,kBAAI;IACrB,yBAAyB,EAAE,kBAAI;IAC/B,iBAAiB,EAAE,wBAAU;IAC7B,8BAA8B,EAAE,kBAAI;IACpC,yBAAyB,EAAE,kBAAI;IAC/B,8BAA8B,EAAE,wBAAU;IAC1C,kCAAkC,EAAE,kBAAI;IACxC,yBAAyB,EAAE,wBAAU;IACrC,6BAA6B,EAAE,kBAAI;IACnC,sBAAsB,EAAE,kBAAI;IAC5B,eAAe,EAAE,kBAAI;IACrB,yBAAyB,EAAE,kBAAI;IAC/B,gBAAgB,EAAE,kBAAI;IACtB,iBAAiB,EAAE,kBAAI;IACvB,kBAAkB,EAAE,kBAAI;IACxB,WAAW,EAAE,kBAAI;IACjB,qBAAqB,EAAE,kBAAI;IAC3B,sBAAsB,EAAE,kBAAI;IAC5B,wBAAwB,EAAE,kBAAI;IAC9B,wBAAwB,EAAE,kBAAI;IAC9B,+BAA+B,EAAE,kBAAI;IACrC,+BAA+B,EAAE,kBAAI;IACrC,gBAAgB,EAAE,kBAAI;IACtB,uBAAuB,EAAE,kBAAI;IAC7B,cAAc,EAAE,wBAAU;IAC1B,qBAAqB,EAAE,wBAAU;IACjC,YAAY,EAAE,wBAAU;IACxB,oBAAoB,EAAE,kBAAI;IAC1B,iBAAiB,EAAE,kBAAI;IACvB,2BAA2B,EAAE,kBAAI;IACjC,iBAAiB,EAAE,wBAAU;IAC7B,0BAA0B,EAAE,kBAAI;IAChC,qBAAqB,EAAE,kBAAI;IAC3B,eAAe,EAAE,kBAAI;IACrB,gBAAgB,EAAE,wBAAU;IAC5B,wBAAwB,EAAE,kBAAI;IAC9B,qBAAqB,EAAE,kBAAI;IAC3B,UAAU,EAAE,kBAAI;IAChB,qBAAqB,EAAE,kBAAI;IAC3B,qBAAqB,EAAE,wBAAU;IACjC,6BAA6B,EAAE,kBAAI;IACnC,yBAAyB,EAAE,kBAAI;IAC/B,sBAAsB,EAAE,kBAAI;IAC5B,iBAAiB,EAAE,kBAAI;IACvB,QAAQ,EAAE,kBAAI;IACd,6BAA6B,EAAE,kBAAI;IACnC,cAAc,EAAE,wBAAU;IAC1B,YAAY,EAAE,kBAAI;IAClB,aAAa,EAAE,wBAAU;IACzB,iBAAiB,EAAE,kBAAI;IACvB,iBAAiB,EAAE,kBAAI;IACvB,MAAM,EAAE,wBAAU;IAClB,iBAAiB,EAAE,wBAAU;IAC7B,yBAAyB,EAAE,kBAAI;IAC/B,mBAAmB,EAAE,wBAAU;IAC/B,2BAA2B,EAAE,kBAAI;IACjC,cAAc,EAAE,kBAAI;IACpB,qBAAqB,EAAE,kBAAI;IAC3B,qBAAqB,EAAE,kBAAI;IAC3B,aAAa,EAAE,kBAAI;IACnB,iBAAiB,EAAE,kBAAI;IACvB,aAAa,EAAE,kBAAI;IACnB,eAAe,EAAE,kBAAI;IACrB,4BAA4B,EAAE,wBAAU;IACxC,uCAAuC,EAAE,kBAAI;IAC7C,gCAAgC,EAAE,kBAAI;IACtC,SAAS,EAAE,wBAAU;IACrB,aAAa,EAAE,kBAAI;IACnB,aAAa,EAAE,wBAAU;IACzB,sBAAsB,EAAE,wBAAU;IAClC,8BAA8B,EAAE,kBAAI;IACpC,qBAAqB,EAAE,kBAAI;IAC3B,yBAAyB,EAAE,wBAAU;IACrC,iCAAiC,EAAE,kBAAI;IACvC,kBAAkB,EAAE,kBAAI;IACxB,2BAA2B,EAAE,kBAAI;IACjC,UAAU,EAAE,wBAAU;IACtB,kBAAkB,EAAE,kBAAI;IACxB,cAAc,EAAE,kBAAI;IACpB,cAAc,EAAE,kBAAI;IACpB,SAAS,EAAE,kBAAI;IACf,YAAY,EAAE,wBAAU;IACxB,kBAAkB,EAAE,kBAAI;IACxB,SAAS,EAAE,kBAAI;IACf,YAAY,EAAE,wBAAU;IACxB,oBAAoB,EAAE,kBAAI;IAC1B,gBAAgB,EAAE,wBAAU;IAC5B,wBAAwB,EAAE,kBAAI;IAC9B,4BAA4B,EAAE,wBAAU;IACxC,uBAAuB,EAAE,wBAAU;IACnC,2BAA2B,EAAE,wBAAU;IACvC,eAAe,EAAE,wBAAU;IAC3B,wBAAwB,EAAE,kBAAI;IAC9B,yBAAyB,EAAE,wBAAU;IACrC,6BAA6B,EAAE,kBAAI;IACnC,oBAAoB,EAAE,wBAAU;IAChC,wBAAwB,EAAE,kBAAI;IAC9B,uBAAuB,EAAE,kBAAI;IAC7B,wBAAwB,EAAE,wBAAU;IACpC,gCAAgC,EAAE,kBAAI;IACtC,oBAAoB,EAAE,wBAAU;IAChC,WAAW,EAAE,wBAAU;IACvB,eAAe,EAAE,kBAAI;IACrB,gBAAgB,EAAE,wBAAU;IAC5B,mBAAmB,EAAE,kBAAI;IACzB,OAAO,EAAE,wBAAU;IACnB,eAAe,EAAE,kBAAI;IACrB,YAAY,EAAE,wBAAU;IACxB,gBAAgB,EAAE,kBAAI;IACtB,cAAc,EAAE,wBAAU;IAC1B,iBAAiB,EAAE,kBAAI;IACvB,0BAA0B,EAAE,kBAAI;IAChC,UAAU,EAAE,kBAAI;IAChB,gBAAgB,EAAE,wBAAU;IAC5B,wBAAwB,EAAE,wBAAU;IACpC,UAAU,EAAE,wBAAU;IACtB,cAAc,EAAE,wBAAU;IAC1B,WAAW,EAAE,wBAAU;IACvB,eAAe,EAAE,kBAAI;IACrB,YAAY,EAAE,wBAAU;IACxB,WAAW,EAAE,wBAAU;IACvB,QAAQ,EAAE,wBAAU;IACpB,gBAAgB,EAAE,wBAAU;IAC5B,kBAAkB,EAAE,wBAAU;IAC9B,sBAAsB,EAAE,wBAAU;IAClC,kBAAkB,EAAE,wBAAU;IAC9B,iBAAiB,EAAE,wBAAU;IAC7B,qBAAqB,EAAE,wBAAU;IACjC,iBAAiB,EAAE,wBAAU;IAC7B,qBAAqB,EAAE,wBAAU;IACjC,iBAAiB,EAAE,kBAAI;IACvB,8BAA8B,EAAE,wBAAU;IAC1C,eAAe,EAAE,wBAAU;IAC3B,iBAAiB,EAAE,wBAAU;IAC7B,wBAAwB,EAAE,wBAAU;IACpC,iBAAiB,EAAE,wBAAU;IAC7B,uBAAuB,EAAE,wBAAU;IACnC,0BAA0B,EAAE,wBAAU;IACtC,mBAAmB,EAAE,wBAAU;IAC/B,qBAAqB,EAAE,kBAAI;IAC3B,gBAAgB,EAAE,wBAAU;IAC5B,kBAAkB,EAAE,wBAAU;IAC9B,mCAAmC,EAAE,wBAAU;IAC/C,cAAc,EAAE,wBAAU;IAC1B,cAAc,EAAE,wBAAU;IAC1B,UAAU,EAAE,wBAAU;IACtB,kBAAkB,EAAE,kBAAI;IACxB,oBAAoB,EAAE,kBAAI;IAC1B,iBAAiB,EAAE,wBAAU;IAC7B,iBAAiB,EAAE,wBAAU;IAC7B,uBAAuB,EAAE,wBAAU;IACnC,6BAA6B,EAAE,wBAAU;IACzC,qBAAqB,EAAE,wBAAU;IACjC,0BAA0B,EAAE,wBAAU;IACtC,2BAA2B,EAAE,wBAAU;IACvC,2BAA2B,EAAE,wBAAU;IACvC,wBAAwB,EAAE,wBAAU;IACpC,sBAAsB,EAAE,wBAAU;IAClC,iBAAiB,EAAE,wBAAU;IAC7B,iBAAiB,EAAE,wBAAU;IAC7B,iBAAiB,EAAE,wBAAU;IAC7B,iBAAiB,EAAE,wBAAU;IAC7B,iBAAiB,EAAE,wBAAU;IAC7B,wBAAwB,EAAE,wBAAU;IACpC,iBAAiB,EAAE,wBAAU;IAC7B,iBAAiB,EAAE,wBAAU;IAC7B,qBAAqB,EAAE,wBAAU;IACjC,sBAAsB,EAAE,wBAAU;IAClC,kBAAkB,EAAE,wBAAU;IAC9B,sBAAsB,EAAE,wBAAU;IAClC,4BAA4B,EAAE,wBAAU;IACxC,qBAAqB,EAAE,wBAAU;IACjC,gBAAgB,EAAE,wBAAU;IAC5B,sBAAsB,EAAE,wBAAU;IAClC,gBAAgB,EAAE,wBAAU;IAC5B,oCAAoC,EAAE,kBAAI;IAC1C,eAAe,EAAE,kBAAI;IACrB,uBAAuB,EAAE,wBAAU;IACnC,WAAW,EAAE,wBAAU;IACvB,kBAAkB,EAAE,wBAAU;IAC9B,kBAAkB,EAAE,wBAAU;IAC9B,kBAAkB,EAAE,wBAAU;IAC9B,eAAe,EAAE,wBAAU;IAC3B,SAAS,EAAE,wBAAU;IACrB,aAAa,EAAE,wBAAU;IACzB,wBAAwB,EAAE,wBAAU;IACpC,cAAc,EAAE,wBAAU;IAC1B,gBAAgB,EAAE,wBAAU;IAC5B,cAAc,EAAE,wBAAU;IAC1B,SAAS,EAAE,wBAAU;IACrB,kBAAkB,EAAE,wBAAU;IAC9B,eAAe,EAAE,wBAAU;IAC3B,SAAS,EAAE,wBAAU;IACrB,aAAa,EAAE,wBAAU;IACzB,cAAc,EAAE,wBAAU;IAC1B,iBAAiB,EAAE,wBAAU;IAC7B,QAAQ,EAAE,wBAAU;IACpB,YAAY,EAAE,wBAAU;IACxB,iBAAiB,EAAE,wBAAU;IAC7B,kBAAkB,EAAE,wBAAU;IAC9B,sBAAsB,EAAE,wBAAU;IAClC,wBAAwB,EAAE,wBAAU;IACpC,OAAO,EAAE,wBAAU;IACnB,cAAc,EAAE,wBAAU;IAC1B,gBAAgB,EAAE,wBAAU;IAC5B,aAAa,EAAE,wBAAU;IACzB,cAAc,EAAE,wBAAU;IAC1B,aAAa,EAAE,wBAAU;IACzB,eAAe,EAAE,wBAAU;IAC3B,aAAa,EAAE,wBAAU;IACzB,qBAAqB,EAAE,kBAAI;IAC3B,gBAAgB,EAAE,wBAAU;IAC5B,gBAAgB,EAAE,wBAAU;IAC5B,QAAQ,EAAE,kBAAI;IACd,qBAAqB,EAAE,wBAAU;IACjC,cAAc,EAAE,wBAAU;IAC1B,kBAAkB,EAAE,wBAAU;IAC9B,yBAAyB,EAAE,wBAAU;IACrC,eAAe,EAAE,wBAAU;IAC3B,YAAY,EAAE,wBAAU;IACxB,gBAAgB,EAAE,wBAAU;IAC5B,eAAe,EAAE,wBAAU;IAC3B,YAAY,EAAE,wBAAU;IACxB,eAAe,EAAE,kBAAI;IACrB,aAAa,EAAE,wBAAU;IACzB,cAAc,EAAE,wBAAU;IAC1B,cAAc,EAAE,kBAAI;IACpB,IAAI,EAAE,wBAAU;IAChB,iBAAiB,EAAE,kBAAI;IACvB,WAAW,EAAE,wBAAU;IACvB,iBAAiB,EAAE,kBAAI;IACvB,kBAAkB,EAAE,kBAAI;IACxB,iBAAiB,EAAE,wBAAU;IAC7B,WAAW,EAAE,wBAAU;IACvB,iBAAiB,EAAE,kBAAI;IACvB,2BAA2B,EAAE,kBAAI;IACjC,iBAAiB,EAAE,wBAAU;IAC7B,SAAS,EAAE,wBAAU;IACrB,WAAW,EAAE,wBAAU;IACvB,SAAS,EAAE,wBAAU;IACrB,YAAY,EAAE,wBAAU;IACxB,oBAAoB,EAAE,kBAAI;IAC1B,gBAAgB,EAAE,wBAAU;IAC5B,iBAAiB,EAAE,kBAAI;IACvB,aAAa,EAAE,kBAAI;IACnB,aAAa,EAAE,wBAAU;IACzB,qBAAqB,EAAE,kBAAI;IAC3B,aAAa,EAAE,kBAAI;IACnB,UAAU,EAAE,wBAAU;IACtB,YAAY,EAAE,kBAAI;IAClB,WAAW,EAAE,wBAAU;IACvB,eAAe,EAAE,kBAAI;IACrB,KAAK,EAAE,wBAAU;IACjB,UAAU,EAAE,wBAAU;IACtB,cAAc,EAAE,kBAAI;IACpB,SAAS,EAAE,kBAAI;IACf,SAAS,EAAE,wBAAU;IACrB,SAAS,EAAE,kBAAI;IACf,UAAU,EAAE,wBAAU;IACtB,cAAc,EAAE,kBAAI;IACpB,YAAY,EAAE,kBAAI;IAClB,gBAAgB,EAAE,kBAAI;IACtB,WAAW,EAAE,kBAAI;IACjB,wBAAwB,EAAE,kBAAI;IAC9B,wBAAwB,EAAE,kBAAI;IAC9B,4BAA4B,EAAE,kBAAI;IAClC,eAAe,EAAE,wBAAU;IAC3B,gCAAgC,EAAE,wBAAU;IAC5C,eAAe,EAAE,wBAAU;IAC3B,mBAAmB,EAAE,kBAAI;IACzB,UAAU,EAAE,wBAAU;IACtB,OAAO,EAAE,wBAAU;IACnB,WAAW,EAAE,kBAAI;IACjB,UAAU,EAAE,kBAAI;IAChB,UAAU,EAAE,kBAAI;IAChB,oBAAoB,EAAE,kBAAI;IAC1B,uBAAuB,EAAE,kBAAI;IAC7B,cAAc,EAAE,kBAAI;IACpB,2BAA2B,EAAE,kBAAI;IACjC,2BAA2B,EAAE,kBAAI;IACjC,2BAA2B,EAAE,kBAAI;IACjC,2BAA2B,EAAE,kBAAI;IACjC,gBAAgB,EAAE,kBAAI;IACtB,8BAA8B,EAAE,kBAAI;IACpC,4BAA4B,EAAE,kBAAI;IAClC,6BAA6B,EAAE,kBAAI;IACnC,GAAG,EAAE,wBAAU;IACf,eAAe,EAAE,wBAAU;IAC3B,cAAc,EAAE,wBAAU;IAC1B,2BAA2B,EAAE,kBAAI;IACjC,aAAa,EAAE,wBAAU;IACzB,kBAAkB,EAAE,kBAAI;IACxB,cAAc,EAAE,kBAAI;IACpB,mBAAmB,EAAE,kBAAI;IACzB,eAAe,EAAE,wBAAU;IAC3B,mBAAmB,EAAE,kBAAI;IACzB,kBAAkB,EAAE,kBAAI;IACxB,YAAY,EAAE,wBAAU;IACxB,kBAAkB,EAAE,kBAAI;IACxB,oBAAoB,EAAE,kBAAI;IAC1B,gBAAgB,EAAE,kBAAI;IACtB,mBAAmB,EAAE,kBAAI;IACzB,YAAY,EAAE,wBAAU;IACxB,uBAAuB,EAAE,kBAAI;IAC7B,kBAAkB,EAAE,kBAAI;IACxB,yBAAyB,EAAE,kBAAI;IAC/B,+BAA+B,EAAE,kBAAI;IACrC,oBAAoB,EAAE,kBAAI;IAC1B,gBAAgB,EAAE,kBAAI;IACtB,mBAAmB,EAAE,kBAAI;IACzB,mBAAmB,EAAE,kBAAI;IACzB,UAAU,EAAE,wBAAU;IACtB,oBAAoB,EAAE,kBAAI;IAC1B,0BAA0B,EAAE,kBAAI;IAChC,uBAAuB,EAAE,kBAAI;IAC7B,cAAc,EAAE,kBAAI;IACpB,wBAAwB,EAAE,kBAAI;IAC9B,yBAAyB,EAAE,kBAAI;IAC/B,uBAAuB,EAAE,kBAAI;IAC7B,gBAAgB,EAAE,kBAAI;IACtB,oBAAoB,EAAE,wBAAU;IAChC,4BAA4B,EAAE,kBAAI;IAClC,cAAc,EAAE,wBAAU;IAC1B,4BAA4B,EAAE,kBAAI;IAClC,cAAc,EAAE,wBAAU;IAC1B,sBAAsB,EAAE,kBAAI;IAC5B,YAAY,EAAE,kBAAI;IAClB,MAAM,EAAE,wBAAU;IAClB,SAAS,EAAE,wBAAU;IACrB,QAAQ,EAAE,wBAAU;IACpB,gBAAgB,EAAE,wBAAU;IAC5B,wBAAwB,EAAE,kBAAI;IAC9B,YAAY,EAAE,kBAAI;IAClB,cAAc,EAAE,wBAAU;IAC1B,iBAAiB,EAAE,kBAAI;IACvB,WAAW,EAAE,wBAAU;IACvB,sBAAsB,EAAE,kBAAI;IAC5B,wBAAwB,EAAE,kBAAI;IAC9B,6BAA6B,EAAE,kBAAI;IACnC,4BAA4B,EAAE,kBAAI;IAClC,6BAA6B,EAAE,kBAAI;IACnC,8BAA8B,EAAE,kBAAI;IACpC,6BAA6B,EAAE,kBAAI;IACnC,kCAAkC,EAAE,kBAAI;IACxC,yBAAyB,EAAE,kBAAI;IAC/B,mBAAmB,EAAE,kBAAI;IACzB,mBAAmB,EAAE,kBAAI;IACzB,kBAAkB,EAAE,kBAAI;IACxB,kBAAkB,EAAE,kBAAI;IACxB,gBAAgB,EAAE,kBAAI;IACtB,sBAAsB,EAAE,wBAAU;IAClC,0BAA0B,EAAE,kBAAI;IAChC,+BAA+B,EAAE,kBAAI;IACrC,eAAe,EAAE,wBAAU;IAC3B,WAAW,EAAE,wBAAU;IACvB,sBAAsB,EAAE,kBAAI;IAC5B,iBAAiB,EAAE,wBAAU;IAC7B,qBAAqB,EAAE,kBAAI;IAC3B,gBAAgB,EAAE,wBAAU;IAC5B,oBAAoB,EAAE,kBAAI;IAC1B,YAAY,EAAE,wBAAU;IACxB,UAAU,EAAE,wBAAU;IACtB,iBAAiB,EAAE,wBAAU;IAC7B,qBAAqB,EAAE,wBAAU;IACjC,yBAAyB,EAAE,kBAAI;IAC/B,8BAA8B,EAAE,kBAAI;IACpC,YAAY,EAAE,wBAAU;IACxB,WAAW,EAAE,wBAAU;IACvB,0BAA0B,EAAE,wBAAU;IACtC,SAAS,EAAE,wBAAU;IACrB,YAAY,EAAE,wBAAU;IACxB,sBAAsB,EAAE,wBAAU;IAClC,oBAAoB,EAAE,wBAAU;IAChC,sBAAsB,EAAE,wBAAU;IAClC,yBAAyB,EAAE,kBAAI;IAC/B,eAAe,EAAE,wBAAU;IAC3B,SAAS,EAAE,wBAAU;IACrB,SAAS,EAAE,wBAAU;IACrB,iBAAiB,EAAE,kBAAI;IACvB,YAAY,EAAE,wBAAU;IACxB,+BAA+B,EAAE,wBAAU;IAC3C,qBAAqB,EAAE,kBAAI;IAC3B,6BAA6B,EAAE,kBAAI;IACnC,gCAAgC,EAAE,wBAAU;IAC5C,iBAAiB,EAAE,wBAAU;IAC7B,wBAAwB,EAAE,kBAAI;IAC9B,uBAAuB,EAAE,kBAAI;IAC7B,gBAAgB,EAAE,kBAAI;IACtB,mBAAmB,EAAE,kBAAI;IACzB,6BAA6B,EAAE,kBAAI;IACnC,UAAU,EAAE,wBAAU;IACtB,cAAc,EAAE,kBAAI;IACpB,MAAM,EAAE,wBAAU;IAClB,mBAAmB,EAAE,kBAAI;IACzB,2BAA2B,EAAE,kBAAI;IACjC,cAAc,EAAE,kBAAI;IACpB,kBAAkB,EAAE,kBAAI;IACxB,yBAAyB,EAAE,kBAAI;IAC/B,wBAAwB,EAAE,kBAAI;IAC9B,WAAW,EAAE,kBAAI;IACjB,oBAAoB,EAAE,kBAAI;IAC1B,MAAM,EAAE,wBAAU;IAClB,cAAc,EAAE,kBAAI;IACpB,aAAa,EAAE,kBAAI;IACnB,UAAU,EAAE,kBAAI;IAChB,OAAO,EAAE,wBAAU;IACnB,cAAc,EAAE,kBAAI;IACpB,cAAc,EAAE,wBAAU;IAC1B,+BAA+B,EAAE,wBAAU;IAC3C,2BAA2B,EAAE,wBAAU;IACvC,gBAAgB,EAAE,kBAAI;IACtB,WAAW,EAAE,kBAAI;IACjB,WAAW,EAAE,wBAAU;IACvB,cAAc,EAAE,wBAAU;IAC1B,sBAAsB,EAAE,kBAAI;IAC5B,sBAAsB,EAAE,kBAAI;IAC5B,yBAAyB,EAAE,wBAAU;IACrC,iCAAiC,EAAE,kBAAI;IACvC,0BAA0B,EAAE,kBAAI;IAChC,oBAAoB,EAAE,wBAAU;IAChC,aAAa,EAAE,wBAAU;IACzB,cAAc,EAAE,wBAAU;IAC1B,kBAAkB,EAAE,kBAAI;IACxB,eAAe,EAAE,wBAAU;IAC3B,eAAe,EAAE,kBAAI;IACrB,WAAW,EAAE,wBAAU;IACvB,aAAa,EAAE,wBAAU;CACoB,CAAC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.arraybuffer.d.ts b/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.arraybuffer.d.ts new file mode 100644 index 0000000000..5c91e313d1 --- /dev/null +++ b/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.arraybuffer.d.ts @@ -0,0 +1,3 @@ +import type { ImplicitLibVariableOptions } from '../variable'; +export declare const es2017_arraybuffer: Record; +//# sourceMappingURL=es2017.arraybuffer.d.ts.map \ No newline at end of file diff --git a/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.arraybuffer.d.ts.map b/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.arraybuffer.d.ts.map new file mode 100644 index 0000000000..dc2e35e612 --- /dev/null +++ b/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.arraybuffer.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"es2017.arraybuffer.d.ts","sourceRoot":"","sources":["../../src/lib/es2017.arraybuffer.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,aAAa,CAAC;AAI9D,eAAO,MAAM,kBAAkB,EAE1B,MAAM,CAAC,MAAM,EAAE,0BAA0B,CAAC,CAAC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.arraybuffer.js b/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.arraybuffer.js new file mode 100644 index 0000000000..f6cd20098e --- /dev/null +++ b/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.arraybuffer.js @@ -0,0 +1,12 @@ +"use strict"; +// THIS CODE WAS AUTOMATICALLY GENERATED +// DO NOT EDIT THIS CODE BY HAND +// RUN THE FOLLOWING COMMAND FROM THE WORKSPACE ROOT TO REGENERATE: +// npx nx generate-lib repo +Object.defineProperty(exports, "__esModule", { value: true }); +exports.es2017_arraybuffer = void 0; +const base_config_1 = require("./base-config"); +exports.es2017_arraybuffer = { + ArrayBufferConstructor: base_config_1.TYPE, +}; +//# sourceMappingURL=es2017.arraybuffer.js.map \ No newline at end of file diff --git a/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.arraybuffer.js.map b/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.arraybuffer.js.map new file mode 100644 index 0000000000..ce09c918ff --- /dev/null +++ b/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.arraybuffer.js.map @@ -0,0 +1 @@ +{"version":3,"file":"es2017.arraybuffer.js","sourceRoot":"","sources":["../../src/lib/es2017.arraybuffer.ts"],"names":[],"mappings":";AAAA,wCAAwC;AACxC,gCAAgC;AAChC,mEAAmE;AACnE,2BAA2B;;;AAI3B,+CAAqC;AAExB,QAAA,kBAAkB,GAAG;IAChC,sBAAsB,EAAE,kBAAI;CACiB,CAAC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.d.ts.map b/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.d.ts.map index fb1a1e3e96..9b8e303c0c 100644 --- a/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.d.ts.map +++ b/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"es2017.d.ts","sourceRoot":"","sources":["../../src/lib/es2017.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,aAAa,CAAC;AAU9D,eAAO,MAAM,MAAM,EAQd,MAAM,CAAC,MAAM,EAAE,0BAA0B,CAAC,CAAC"} \ No newline at end of file +{"version":3,"file":"es2017.d.ts","sourceRoot":"","sources":["../../src/lib/es2017.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,aAAa,CAAC;AAW9D,eAAO,MAAM,MAAM,EASd,MAAM,CAAC,MAAM,EAAE,0BAA0B,CAAC,CAAC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.js b/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.js index 545b3399d8..c4fecc34e1 100644 --- a/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.js +++ b/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.js @@ -6,6 +6,7 @@ Object.defineProperty(exports, "__esModule", { value: true }); exports.es2017 = void 0; const es2016_1 = require("./es2016"); +const es2017_arraybuffer_1 = require("./es2017.arraybuffer"); const es2017_date_1 = require("./es2017.date"); const es2017_intl_1 = require("./es2017.intl"); const es2017_object_1 = require("./es2017.object"); @@ -14,11 +15,12 @@ const es2017_string_1 = require("./es2017.string"); const es2017_typedarrays_1 = require("./es2017.typedarrays"); exports.es2017 = { ...es2016_1.es2016, + ...es2017_arraybuffer_1.es2017_arraybuffer, + ...es2017_date_1.es2017_date, + ...es2017_intl_1.es2017_intl, ...es2017_object_1.es2017_object, ...es2017_sharedmemory_1.es2017_sharedmemory, ...es2017_string_1.es2017_string, - ...es2017_intl_1.es2017_intl, ...es2017_typedarrays_1.es2017_typedarrays, - ...es2017_date_1.es2017_date, }; //# sourceMappingURL=es2017.js.map \ No newline at end of file diff --git a/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.js.map b/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.js.map index 50855379be..514e6dcab1 100644 --- a/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.js.map +++ b/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.js.map @@ -1 +1 @@ -{"version":3,"file":"es2017.js","sourceRoot":"","sources":["../../src/lib/es2017.ts"],"names":[],"mappings":";AAAA,wCAAwC;AACxC,gCAAgC;AAChC,mEAAmE;AACnE,2BAA2B;;;AAI3B,qCAAkC;AAClC,+CAA4C;AAC5C,+CAA4C;AAC5C,mDAAgD;AAChD,+DAA4D;AAC5D,mDAAgD;AAChD,6DAA0D;AAE7C,QAAA,MAAM,GAAG;IACpB,GAAG,eAAM;IACT,GAAG,6BAAa;IAChB,GAAG,yCAAmB;IACtB,GAAG,6BAAa;IAChB,GAAG,yBAAW;IACd,GAAG,uCAAkB;IACrB,GAAG,yBAAW;CAC+B,CAAC"} \ No newline at end of file +{"version":3,"file":"es2017.js","sourceRoot":"","sources":["../../src/lib/es2017.ts"],"names":[],"mappings":";AAAA,wCAAwC;AACxC,gCAAgC;AAChC,mEAAmE;AACnE,2BAA2B;;;AAI3B,qCAAkC;AAClC,6DAA0D;AAC1D,+CAA4C;AAC5C,+CAA4C;AAC5C,mDAAgD;AAChD,+DAA4D;AAC5D,mDAAgD;AAChD,6DAA0D;AAE7C,QAAA,MAAM,GAAG;IACpB,GAAG,eAAM;IACT,GAAG,uCAAkB;IACrB,GAAG,yBAAW;IACd,GAAG,yBAAW;IACd,GAAG,6BAAa;IAChB,GAAG,yCAAmB;IACtB,GAAG,6BAAa;IAChB,GAAG,uCAAkB;CACwB,CAAC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.sharedmemory.d.ts.map b/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.sharedmemory.d.ts.map index 36fa752023..d7037521e9 100644 --- a/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.sharedmemory.d.ts.map +++ b/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.sharedmemory.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"es2020.sharedmemory.d.ts","sourceRoot":"","sources":["../../src/lib/es2020.sharedmemory.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,aAAa,CAAC;AAI9D,eAAO,MAAM,mBAAmB,EAE3B,MAAM,CAAC,MAAM,EAAE,0BAA0B,CAAC,CAAC"} \ No newline at end of file +{"version":3,"file":"es2020.sharedmemory.d.ts","sourceRoot":"","sources":["../../src/lib/es2020.sharedmemory.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,aAAa,CAAC;AAK9D,eAAO,MAAM,mBAAmB,EAG3B,MAAM,CAAC,MAAM,EAAE,0BAA0B,CAAC,CAAC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.sharedmemory.js b/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.sharedmemory.js index f452550ae1..97e08a30d6 100644 --- a/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.sharedmemory.js +++ b/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.sharedmemory.js @@ -6,7 +6,9 @@ Object.defineProperty(exports, "__esModule", { value: true }); exports.es2020_sharedmemory = void 0; const base_config_1 = require("./base-config"); +const es2020_bigint_1 = require("./es2020.bigint"); exports.es2020_sharedmemory = { + ...es2020_bigint_1.es2020_bigint, Atomics: base_config_1.TYPE, }; //# sourceMappingURL=es2020.sharedmemory.js.map \ No newline at end of file diff --git a/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.sharedmemory.js.map b/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.sharedmemory.js.map index 5a2cfdf79a..96acd864c7 100644 --- a/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.sharedmemory.js.map +++ b/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.sharedmemory.js.map @@ -1 +1 @@ -{"version":3,"file":"es2020.sharedmemory.js","sourceRoot":"","sources":["../../src/lib/es2020.sharedmemory.ts"],"names":[],"mappings":";AAAA,wCAAwC;AACxC,gCAAgC;AAChC,mEAAmE;AACnE,2BAA2B;;;AAI3B,+CAAqC;AAExB,QAAA,mBAAmB,GAAG;IACjC,OAAO,EAAE,kBAAI;CACgC,CAAC"} \ No newline at end of file +{"version":3,"file":"es2020.sharedmemory.js","sourceRoot":"","sources":["../../src/lib/es2020.sharedmemory.ts"],"names":[],"mappings":";AAAA,wCAAwC;AACxC,gCAAgC;AAChC,mEAAmE;AACnE,2BAA2B;;;AAI3B,+CAAqC;AACrC,mDAAgD;AAEnC,QAAA,mBAAmB,GAAG;IACjC,GAAG,6BAAa;IAChB,OAAO,EAAE,kBAAI;CACgC,CAAC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.string.d.ts.map b/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.string.d.ts.map index da4cc8dc1b..ca61963dd6 100644 --- a/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.string.d.ts.map +++ b/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.string.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"es2020.string.d.ts","sourceRoot":"","sources":["../../src/lib/es2020.string.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,aAAa,CAAC;AAK9D,eAAO,MAAM,aAAa,EAGrB,MAAM,CAAC,MAAM,EAAE,0BAA0B,CAAC,CAAC"} \ No newline at end of file +{"version":3,"file":"es2020.string.d.ts","sourceRoot":"","sources":["../../src/lib/es2020.string.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,aAAa,CAAC;AAO9D,eAAO,MAAM,aAAa,EAKrB,MAAM,CAAC,MAAM,EAAE,0BAA0B,CAAC,CAAC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.string.js b/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.string.js index ccefeaf46a..5a37ea87d6 100644 --- a/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.string.js +++ b/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.string.js @@ -6,8 +6,12 @@ Object.defineProperty(exports, "__esModule", { value: true }); exports.es2020_string = void 0; const base_config_1 = require("./base-config"); +const es2015_iterable_1 = require("./es2015.iterable"); +const es2020_intl_1 = require("./es2020.intl"); const es2020_symbol_wellknown_1 = require("./es2020.symbol.wellknown"); exports.es2020_string = { + ...es2015_iterable_1.es2015_iterable, + ...es2020_intl_1.es2020_intl, ...es2020_symbol_wellknown_1.es2020_symbol_wellknown, String: base_config_1.TYPE, }; diff --git a/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.string.js.map b/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.string.js.map index d839a97aee..ec556aea72 100644 --- a/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.string.js.map +++ b/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.string.js.map @@ -1 +1 @@ -{"version":3,"file":"es2020.string.js","sourceRoot":"","sources":["../../src/lib/es2020.string.ts"],"names":[],"mappings":";AAAA,wCAAwC;AACxC,gCAAgC;AAChC,mEAAmE;AACnE,2BAA2B;;;AAI3B,+CAAqC;AACrC,uEAAoE;AAEvD,QAAA,aAAa,GAAG;IAC3B,GAAG,iDAAuB;IAC1B,MAAM,EAAE,kBAAI;CACiC,CAAC"} \ No newline at end of file +{"version":3,"file":"es2020.string.js","sourceRoot":"","sources":["../../src/lib/es2020.string.ts"],"names":[],"mappings":";AAAA,wCAAwC;AACxC,gCAAgC;AAChC,mEAAmE;AACnE,2BAA2B;;;AAI3B,+CAAqC;AACrC,uDAAoD;AACpD,+CAA4C;AAC5C,uEAAoE;AAEvD,QAAA,aAAa,GAAG;IAC3B,GAAG,iCAAe;IAClB,GAAG,yBAAW;IACd,GAAG,iDAAuB;IAC1B,MAAM,EAAE,kBAAI;CACiC,CAAC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/scope-manager/dist/lib/es2021.weakref.d.ts.map b/node_modules/@typescript-eslint/scope-manager/dist/lib/es2021.weakref.d.ts.map index 63535c04a1..bf279179c4 100644 --- a/node_modules/@typescript-eslint/scope-manager/dist/lib/es2021.weakref.d.ts.map +++ b/node_modules/@typescript-eslint/scope-manager/dist/lib/es2021.weakref.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"es2021.weakref.d.ts","sourceRoot":"","sources":["../../src/lib/es2021.weakref.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,aAAa,CAAC;AAI9D,eAAO,MAAM,cAAc,EAKtB,MAAM,CAAC,MAAM,EAAE,0BAA0B,CAAC,CAAC"} \ No newline at end of file +{"version":3,"file":"es2021.weakref.d.ts","sourceRoot":"","sources":["../../src/lib/es2021.weakref.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,aAAa,CAAC;AAK9D,eAAO,MAAM,cAAc,EAMtB,MAAM,CAAC,MAAM,EAAE,0BAA0B,CAAC,CAAC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/scope-manager/dist/lib/es2021.weakref.js b/node_modules/@typescript-eslint/scope-manager/dist/lib/es2021.weakref.js index 3a54b4d164..73ca39bafe 100644 --- a/node_modules/@typescript-eslint/scope-manager/dist/lib/es2021.weakref.js +++ b/node_modules/@typescript-eslint/scope-manager/dist/lib/es2021.weakref.js @@ -6,7 +6,9 @@ Object.defineProperty(exports, "__esModule", { value: true }); exports.es2021_weakref = void 0; const base_config_1 = require("./base-config"); +const es2015_symbol_wellknown_1 = require("./es2015.symbol.wellknown"); exports.es2021_weakref = { + ...es2015_symbol_wellknown_1.es2015_symbol_wellknown, FinalizationRegistry: base_config_1.TYPE_VALUE, FinalizationRegistryConstructor: base_config_1.TYPE, WeakRef: base_config_1.TYPE_VALUE, diff --git a/node_modules/@typescript-eslint/scope-manager/dist/lib/es2021.weakref.js.map b/node_modules/@typescript-eslint/scope-manager/dist/lib/es2021.weakref.js.map index 232054b5d4..c2889a11d2 100644 --- a/node_modules/@typescript-eslint/scope-manager/dist/lib/es2021.weakref.js.map +++ b/node_modules/@typescript-eslint/scope-manager/dist/lib/es2021.weakref.js.map @@ -1 +1 @@ -{"version":3,"file":"es2021.weakref.js","sourceRoot":"","sources":["../../src/lib/es2021.weakref.ts"],"names":[],"mappings":";AAAA,wCAAwC;AACxC,gCAAgC;AAChC,mEAAmE;AACnE,2BAA2B;;;AAI3B,+CAAiD;AAEpC,QAAA,cAAc,GAAG;IAC5B,oBAAoB,EAAE,wBAAU;IAChC,+BAA+B,EAAE,kBAAI;IACrC,OAAO,EAAE,wBAAU;IACnB,kBAAkB,EAAE,kBAAI;CACqB,CAAC"} \ No newline at end of file +{"version":3,"file":"es2021.weakref.js","sourceRoot":"","sources":["../../src/lib/es2021.weakref.ts"],"names":[],"mappings":";AAAA,wCAAwC;AACxC,gCAAgC;AAChC,mEAAmE;AACnE,2BAA2B;;;AAI3B,+CAAiD;AACjD,uEAAoE;AAEvD,QAAA,cAAc,GAAG;IAC5B,GAAG,iDAAuB;IAC1B,oBAAoB,EAAE,wBAAU;IAChC,+BAA+B,EAAE,kBAAI;IACrC,OAAO,EAAE,wBAAU;IACnB,kBAAkB,EAAE,kBAAI;CACqB,CAAC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.d.ts.map b/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.d.ts.map index 0cb87ec101..1f369cd32d 100644 --- a/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.d.ts.map +++ b/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"es2022.d.ts","sourceRoot":"","sources":["../../src/lib/es2022.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,aAAa,CAAC;AAW9D,eAAO,MAAM,MAAM,EASd,MAAM,CAAC,MAAM,EAAE,0BAA0B,CAAC,CAAC"} \ No newline at end of file +{"version":3,"file":"es2022.d.ts","sourceRoot":"","sources":["../../src/lib/es2022.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,aAAa,CAAC;AAU9D,eAAO,MAAM,MAAM,EAQd,MAAM,CAAC,MAAM,EAAE,0BAA0B,CAAC,CAAC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.error.d.ts.map b/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.error.d.ts.map index ff1fe9f67b..25c46d4487 100644 --- a/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.error.d.ts.map +++ b/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.error.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"es2022.error.d.ts","sourceRoot":"","sources":["../../src/lib/es2022.error.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,aAAa,CAAC;AAI9D,eAAO,MAAM,YAAY,EAWpB,MAAM,CAAC,MAAM,EAAE,0BAA0B,CAAC,CAAC"} \ No newline at end of file +{"version":3,"file":"es2022.error.d.ts","sourceRoot":"","sources":["../../src/lib/es2022.error.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,aAAa,CAAC;AAK9D,eAAO,MAAM,YAAY,EAYpB,MAAM,CAAC,MAAM,EAAE,0BAA0B,CAAC,CAAC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.error.js b/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.error.js index 8da9a2a037..af9c5264f1 100644 --- a/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.error.js +++ b/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.error.js @@ -6,7 +6,9 @@ Object.defineProperty(exports, "__esModule", { value: true }); exports.es2022_error = void 0; const base_config_1 = require("./base-config"); +const es2021_promise_1 = require("./es2021.promise"); exports.es2022_error = { + ...es2021_promise_1.es2021_promise, AggregateErrorConstructor: base_config_1.TYPE, Error: base_config_1.TYPE, ErrorConstructor: base_config_1.TYPE, diff --git a/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.error.js.map b/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.error.js.map index 55179b7762..e015566641 100644 --- a/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.error.js.map +++ b/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.error.js.map @@ -1 +1 @@ -{"version":3,"file":"es2022.error.js","sourceRoot":"","sources":["../../src/lib/es2022.error.ts"],"names":[],"mappings":";AAAA,wCAAwC;AACxC,gCAAgC;AAChC,mEAAmE;AACnE,2BAA2B;;;AAI3B,+CAAqC;AAExB,QAAA,YAAY,GAAG;IAC1B,yBAAyB,EAAE,kBAAI;IAC/B,KAAK,EAAE,kBAAI;IACX,gBAAgB,EAAE,kBAAI;IACtB,YAAY,EAAE,kBAAI;IAClB,oBAAoB,EAAE,kBAAI;IAC1B,qBAAqB,EAAE,kBAAI;IAC3B,yBAAyB,EAAE,kBAAI;IAC/B,sBAAsB,EAAE,kBAAI;IAC5B,oBAAoB,EAAE,kBAAI;IAC1B,mBAAmB,EAAE,kBAAI;CACoB,CAAC"} \ No newline at end of file +{"version":3,"file":"es2022.error.js","sourceRoot":"","sources":["../../src/lib/es2022.error.ts"],"names":[],"mappings":";AAAA,wCAAwC;AACxC,gCAAgC;AAChC,mEAAmE;AACnE,2BAA2B;;;AAI3B,+CAAqC;AACrC,qDAAkD;AAErC,QAAA,YAAY,GAAG;IAC1B,GAAG,+BAAc;IACjB,yBAAyB,EAAE,kBAAI;IAC/B,KAAK,EAAE,kBAAI;IACX,gBAAgB,EAAE,kBAAI;IACtB,YAAY,EAAE,kBAAI;IAClB,oBAAoB,EAAE,kBAAI;IAC1B,qBAAqB,EAAE,kBAAI;IAC3B,yBAAyB,EAAE,kBAAI;IAC/B,sBAAsB,EAAE,kBAAI;IAC5B,oBAAoB,EAAE,kBAAI;IAC1B,mBAAmB,EAAE,kBAAI;CACoB,CAAC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.js b/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.js index 64c36ace9b..159ac906f8 100644 --- a/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.js +++ b/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.js @@ -11,7 +11,6 @@ const es2022_error_1 = require("./es2022.error"); const es2022_intl_1 = require("./es2022.intl"); const es2022_object_1 = require("./es2022.object"); const es2022_regexp_1 = require("./es2022.regexp"); -const es2022_sharedmemory_1 = require("./es2022.sharedmemory"); const es2022_string_1 = require("./es2022.string"); exports.es2022 = { ...es2021_1.es2021, @@ -19,8 +18,7 @@ exports.es2022 = { ...es2022_error_1.es2022_error, ...es2022_intl_1.es2022_intl, ...es2022_object_1.es2022_object, - ...es2022_sharedmemory_1.es2022_sharedmemory, - ...es2022_string_1.es2022_string, ...es2022_regexp_1.es2022_regexp, + ...es2022_string_1.es2022_string, }; //# sourceMappingURL=es2022.js.map \ No newline at end of file diff --git a/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.js.map b/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.js.map index 821f518300..6b047d8bde 100644 --- a/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.js.map +++ b/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.js.map @@ -1 +1 @@ -{"version":3,"file":"es2022.js","sourceRoot":"","sources":["../../src/lib/es2022.ts"],"names":[],"mappings":";AAAA,wCAAwC;AACxC,gCAAgC;AAChC,mEAAmE;AACnE,2BAA2B;;;AAI3B,qCAAkC;AAClC,iDAA8C;AAC9C,iDAA8C;AAC9C,+CAA4C;AAC5C,mDAAgD;AAChD,mDAAgD;AAChD,+DAA4D;AAC5D,mDAAgD;AAEnC,QAAA,MAAM,GAAG;IACpB,GAAG,eAAM;IACT,GAAG,2BAAY;IACf,GAAG,2BAAY;IACf,GAAG,yBAAW;IACd,GAAG,6BAAa;IAChB,GAAG,yCAAmB;IACtB,GAAG,6BAAa;IAChB,GAAG,6BAAa;CAC6B,CAAC"} \ No newline at end of file +{"version":3,"file":"es2022.js","sourceRoot":"","sources":["../../src/lib/es2022.ts"],"names":[],"mappings":";AAAA,wCAAwC;AACxC,gCAAgC;AAChC,mEAAmE;AACnE,2BAA2B;;;AAI3B,qCAAkC;AAClC,iDAA8C;AAC9C,iDAA8C;AAC9C,+CAA4C;AAC5C,mDAAgD;AAChD,mDAAgD;AAChD,mDAAgD;AAEnC,QAAA,MAAM,GAAG;IACpB,GAAG,eAAM;IACT,GAAG,2BAAY;IACf,GAAG,2BAAY;IACf,GAAG,yBAAW;IACd,GAAG,6BAAa;IAChB,GAAG,6BAAa;IAChB,GAAG,6BAAa;CAC6B,CAAC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.sharedmemory.d.ts b/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.sharedmemory.d.ts deleted file mode 100644 index 5d547efedc..0000000000 --- a/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.sharedmemory.d.ts +++ /dev/null @@ -1,3 +0,0 @@ -import type { ImplicitLibVariableOptions } from '../variable'; -export declare const es2022_sharedmemory: Record; -//# sourceMappingURL=es2022.sharedmemory.d.ts.map \ No newline at end of file diff --git a/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.sharedmemory.d.ts.map b/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.sharedmemory.d.ts.map deleted file mode 100644 index 06b06e2b50..0000000000 --- a/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.sharedmemory.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"es2022.sharedmemory.d.ts","sourceRoot":"","sources":["../../src/lib/es2022.sharedmemory.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,aAAa,CAAC;AAI9D,eAAO,MAAM,mBAAmB,EAE3B,MAAM,CAAC,MAAM,EAAE,0BAA0B,CAAC,CAAC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.sharedmemory.js.map b/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.sharedmemory.js.map deleted file mode 100644 index bb4c7c9a0c..0000000000 --- a/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.sharedmemory.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"es2022.sharedmemory.js","sourceRoot":"","sources":["../../src/lib/es2022.sharedmemory.ts"],"names":[],"mappings":";AAAA,wCAAwC;AACxC,gCAAgC;AAChC,mEAAmE;AACnE,2BAA2B;;;AAI3B,+CAAqC;AAExB,QAAA,mBAAmB,GAAG;IACjC,OAAO,EAAE,kBAAI;CACgC,CAAC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/scope-manager/dist/lib/es2024.arraybuffer.d.ts b/node_modules/@typescript-eslint/scope-manager/dist/lib/es2024.arraybuffer.d.ts new file mode 100644 index 0000000000..0a80d4dcec --- /dev/null +++ b/node_modules/@typescript-eslint/scope-manager/dist/lib/es2024.arraybuffer.d.ts @@ -0,0 +1,3 @@ +import type { ImplicitLibVariableOptions } from '../variable'; +export declare const es2024_arraybuffer: Record; +//# sourceMappingURL=es2024.arraybuffer.d.ts.map \ No newline at end of file diff --git a/node_modules/@typescript-eslint/scope-manager/dist/lib/es2024.arraybuffer.d.ts.map b/node_modules/@typescript-eslint/scope-manager/dist/lib/es2024.arraybuffer.d.ts.map new file mode 100644 index 0000000000..39fda514b2 --- /dev/null +++ b/node_modules/@typescript-eslint/scope-manager/dist/lib/es2024.arraybuffer.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"es2024.arraybuffer.d.ts","sourceRoot":"","sources":["../../src/lib/es2024.arraybuffer.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,aAAa,CAAC;AAI9D,eAAO,MAAM,kBAAkB,EAG1B,MAAM,CAAC,MAAM,EAAE,0BAA0B,CAAC,CAAC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/scope-manager/dist/lib/es2024.arraybuffer.js b/node_modules/@typescript-eslint/scope-manager/dist/lib/es2024.arraybuffer.js new file mode 100644 index 0000000000..be7726ed7f --- /dev/null +++ b/node_modules/@typescript-eslint/scope-manager/dist/lib/es2024.arraybuffer.js @@ -0,0 +1,13 @@ +"use strict"; +// THIS CODE WAS AUTOMATICALLY GENERATED +// DO NOT EDIT THIS CODE BY HAND +// RUN THE FOLLOWING COMMAND FROM THE WORKSPACE ROOT TO REGENERATE: +// npx nx generate-lib repo +Object.defineProperty(exports, "__esModule", { value: true }); +exports.es2024_arraybuffer = void 0; +const base_config_1 = require("./base-config"); +exports.es2024_arraybuffer = { + ArrayBuffer: base_config_1.TYPE, + ArrayBufferConstructor: base_config_1.TYPE, +}; +//# sourceMappingURL=es2024.arraybuffer.js.map \ No newline at end of file diff --git a/node_modules/@typescript-eslint/scope-manager/dist/lib/es2024.arraybuffer.js.map b/node_modules/@typescript-eslint/scope-manager/dist/lib/es2024.arraybuffer.js.map new file mode 100644 index 0000000000..aafcc84314 --- /dev/null +++ b/node_modules/@typescript-eslint/scope-manager/dist/lib/es2024.arraybuffer.js.map @@ -0,0 +1 @@ +{"version":3,"file":"es2024.arraybuffer.js","sourceRoot":"","sources":["../../src/lib/es2024.arraybuffer.ts"],"names":[],"mappings":";AAAA,wCAAwC;AACxC,gCAAgC;AAChC,mEAAmE;AACnE,2BAA2B;;;AAI3B,+CAAqC;AAExB,QAAA,kBAAkB,GAAG;IAChC,WAAW,EAAE,kBAAI;IACjB,sBAAsB,EAAE,kBAAI;CACiB,CAAC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/scope-manager/dist/lib/es2024.collection.d.ts b/node_modules/@typescript-eslint/scope-manager/dist/lib/es2024.collection.d.ts new file mode 100644 index 0000000000..576c0a1a30 --- /dev/null +++ b/node_modules/@typescript-eslint/scope-manager/dist/lib/es2024.collection.d.ts @@ -0,0 +1,3 @@ +import type { ImplicitLibVariableOptions } from '../variable'; +export declare const es2024_collection: Record; +//# sourceMappingURL=es2024.collection.d.ts.map \ No newline at end of file diff --git a/node_modules/@typescript-eslint/scope-manager/dist/lib/es2024.collection.d.ts.map b/node_modules/@typescript-eslint/scope-manager/dist/lib/es2024.collection.d.ts.map new file mode 100644 index 0000000000..600c030d5e --- /dev/null +++ b/node_modules/@typescript-eslint/scope-manager/dist/lib/es2024.collection.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"es2024.collection.d.ts","sourceRoot":"","sources":["../../src/lib/es2024.collection.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,aAAa,CAAC;AAI9D,eAAO,MAAM,iBAAiB,EAEzB,MAAM,CAAC,MAAM,EAAE,0BAA0B,CAAC,CAAC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/scope-manager/dist/lib/es2024.collection.js b/node_modules/@typescript-eslint/scope-manager/dist/lib/es2024.collection.js new file mode 100644 index 0000000000..26cc4a66c2 --- /dev/null +++ b/node_modules/@typescript-eslint/scope-manager/dist/lib/es2024.collection.js @@ -0,0 +1,12 @@ +"use strict"; +// THIS CODE WAS AUTOMATICALLY GENERATED +// DO NOT EDIT THIS CODE BY HAND +// RUN THE FOLLOWING COMMAND FROM THE WORKSPACE ROOT TO REGENERATE: +// npx nx generate-lib repo +Object.defineProperty(exports, "__esModule", { value: true }); +exports.es2024_collection = void 0; +const base_config_1 = require("./base-config"); +exports.es2024_collection = { + MapConstructor: base_config_1.TYPE, +}; +//# sourceMappingURL=es2024.collection.js.map \ No newline at end of file diff --git a/node_modules/@typescript-eslint/scope-manager/dist/lib/es2024.collection.js.map b/node_modules/@typescript-eslint/scope-manager/dist/lib/es2024.collection.js.map new file mode 100644 index 0000000000..3c0f538482 --- /dev/null +++ b/node_modules/@typescript-eslint/scope-manager/dist/lib/es2024.collection.js.map @@ -0,0 +1 @@ +{"version":3,"file":"es2024.collection.js","sourceRoot":"","sources":["../../src/lib/es2024.collection.ts"],"names":[],"mappings":";AAAA,wCAAwC;AACxC,gCAAgC;AAChC,mEAAmE;AACnE,2BAA2B;;;AAI3B,+CAAqC;AAExB,QAAA,iBAAiB,GAAG;IAC/B,cAAc,EAAE,kBAAI;CACyB,CAAC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/scope-manager/dist/lib/es2024.d.ts b/node_modules/@typescript-eslint/scope-manager/dist/lib/es2024.d.ts new file mode 100644 index 0000000000..307c99f13e --- /dev/null +++ b/node_modules/@typescript-eslint/scope-manager/dist/lib/es2024.d.ts @@ -0,0 +1,3 @@ +import type { ImplicitLibVariableOptions } from '../variable'; +export declare const es2024: Record; +//# sourceMappingURL=es2024.d.ts.map \ No newline at end of file diff --git a/node_modules/@typescript-eslint/scope-manager/dist/lib/es2024.d.ts.map b/node_modules/@typescript-eslint/scope-manager/dist/lib/es2024.d.ts.map new file mode 100644 index 0000000000..f718527126 --- /dev/null +++ b/node_modules/@typescript-eslint/scope-manager/dist/lib/es2024.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"es2024.d.ts","sourceRoot":"","sources":["../../src/lib/es2024.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,aAAa,CAAC;AAW9D,eAAO,MAAM,MAAM,EASd,MAAM,CAAC,MAAM,EAAE,0BAA0B,CAAC,CAAC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/scope-manager/dist/lib/es2024.full.d.ts b/node_modules/@typescript-eslint/scope-manager/dist/lib/es2024.full.d.ts new file mode 100644 index 0000000000..d875abb058 --- /dev/null +++ b/node_modules/@typescript-eslint/scope-manager/dist/lib/es2024.full.d.ts @@ -0,0 +1,3 @@ +import type { ImplicitLibVariableOptions } from '../variable'; +export declare const es2024_full: Record; +//# sourceMappingURL=es2024.full.d.ts.map \ No newline at end of file diff --git a/node_modules/@typescript-eslint/scope-manager/dist/lib/es2024.full.d.ts.map b/node_modules/@typescript-eslint/scope-manager/dist/lib/es2024.full.d.ts.map new file mode 100644 index 0000000000..295d5b9dd6 --- /dev/null +++ b/node_modules/@typescript-eslint/scope-manager/dist/lib/es2024.full.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"es2024.full.d.ts","sourceRoot":"","sources":["../../src/lib/es2024.full.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,aAAa,CAAC;AAS9D,eAAO,MAAM,WAAW,EAOnB,MAAM,CAAC,MAAM,EAAE,0BAA0B,CAAC,CAAC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/scope-manager/dist/lib/es2024.full.js b/node_modules/@typescript-eslint/scope-manager/dist/lib/es2024.full.js new file mode 100644 index 0000000000..21f549f6b8 --- /dev/null +++ b/node_modules/@typescript-eslint/scope-manager/dist/lib/es2024.full.js @@ -0,0 +1,22 @@ +"use strict"; +// THIS CODE WAS AUTOMATICALLY GENERATED +// DO NOT EDIT THIS CODE BY HAND +// RUN THE FOLLOWING COMMAND FROM THE WORKSPACE ROOT TO REGENERATE: +// npx nx generate-lib repo +Object.defineProperty(exports, "__esModule", { value: true }); +exports.es2024_full = void 0; +const dom_1 = require("./dom"); +const dom_asynciterable_1 = require("./dom.asynciterable"); +const dom_iterable_1 = require("./dom.iterable"); +const es2024_1 = require("./es2024"); +const scripthost_1 = require("./scripthost"); +const webworker_importscripts_1 = require("./webworker.importscripts"); +exports.es2024_full = { + ...es2024_1.es2024, + ...dom_1.dom, + ...webworker_importscripts_1.webworker_importscripts, + ...scripthost_1.scripthost, + ...dom_iterable_1.dom_iterable, + ...dom_asynciterable_1.dom_asynciterable, +}; +//# sourceMappingURL=es2024.full.js.map \ No newline at end of file diff --git a/node_modules/@typescript-eslint/scope-manager/dist/lib/es2024.full.js.map b/node_modules/@typescript-eslint/scope-manager/dist/lib/es2024.full.js.map new file mode 100644 index 0000000000..8e25e88952 --- /dev/null +++ b/node_modules/@typescript-eslint/scope-manager/dist/lib/es2024.full.js.map @@ -0,0 +1 @@ +{"version":3,"file":"es2024.full.js","sourceRoot":"","sources":["../../src/lib/es2024.full.ts"],"names":[],"mappings":";AAAA,wCAAwC;AACxC,gCAAgC;AAChC,mEAAmE;AACnE,2BAA2B;;;AAI3B,+BAA4B;AAC5B,2DAAwD;AACxD,iDAA8C;AAC9C,qCAAkC;AAClC,6CAA0C;AAC1C,uEAAoE;AAEvD,QAAA,WAAW,GAAG;IACzB,GAAG,eAAM;IACT,GAAG,SAAG;IACN,GAAG,iDAAuB;IAC1B,GAAG,uBAAU;IACb,GAAG,2BAAY;IACf,GAAG,qCAAiB;CACyB,CAAC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/scope-manager/dist/lib/es2024.js b/node_modules/@typescript-eslint/scope-manager/dist/lib/es2024.js new file mode 100644 index 0000000000..7b2cd67230 --- /dev/null +++ b/node_modules/@typescript-eslint/scope-manager/dist/lib/es2024.js @@ -0,0 +1,26 @@ +"use strict"; +// THIS CODE WAS AUTOMATICALLY GENERATED +// DO NOT EDIT THIS CODE BY HAND +// RUN THE FOLLOWING COMMAND FROM THE WORKSPACE ROOT TO REGENERATE: +// npx nx generate-lib repo +Object.defineProperty(exports, "__esModule", { value: true }); +exports.es2024 = void 0; +const es2023_1 = require("./es2023"); +const es2024_arraybuffer_1 = require("./es2024.arraybuffer"); +const es2024_collection_1 = require("./es2024.collection"); +const es2024_object_1 = require("./es2024.object"); +const es2024_promise_1 = require("./es2024.promise"); +const es2024_regexp_1 = require("./es2024.regexp"); +const es2024_sharedmemory_1 = require("./es2024.sharedmemory"); +const es2024_string_1 = require("./es2024.string"); +exports.es2024 = { + ...es2023_1.es2023, + ...es2024_arraybuffer_1.es2024_arraybuffer, + ...es2024_collection_1.es2024_collection, + ...es2024_object_1.es2024_object, + ...es2024_promise_1.es2024_promise, + ...es2024_regexp_1.es2024_regexp, + ...es2024_sharedmemory_1.es2024_sharedmemory, + ...es2024_string_1.es2024_string, +}; +//# sourceMappingURL=es2024.js.map \ No newline at end of file diff --git a/node_modules/@typescript-eslint/scope-manager/dist/lib/es2024.js.map b/node_modules/@typescript-eslint/scope-manager/dist/lib/es2024.js.map new file mode 100644 index 0000000000..44605c7afb --- /dev/null +++ b/node_modules/@typescript-eslint/scope-manager/dist/lib/es2024.js.map @@ -0,0 +1 @@ +{"version":3,"file":"es2024.js","sourceRoot":"","sources":["../../src/lib/es2024.ts"],"names":[],"mappings":";AAAA,wCAAwC;AACxC,gCAAgC;AAChC,mEAAmE;AACnE,2BAA2B;;;AAI3B,qCAAkC;AAClC,6DAA0D;AAC1D,2DAAwD;AACxD,mDAAgD;AAChD,qDAAkD;AAClD,mDAAgD;AAChD,+DAA4D;AAC5D,mDAAgD;AAEnC,QAAA,MAAM,GAAG;IACpB,GAAG,eAAM;IACT,GAAG,uCAAkB;IACrB,GAAG,qCAAiB;IACpB,GAAG,6BAAa;IAChB,GAAG,+BAAc;IACjB,GAAG,6BAAa;IAChB,GAAG,yCAAmB;IACtB,GAAG,6BAAa;CAC6B,CAAC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/scope-manager/dist/lib/es2024.object.d.ts b/node_modules/@typescript-eslint/scope-manager/dist/lib/es2024.object.d.ts new file mode 100644 index 0000000000..532a133383 --- /dev/null +++ b/node_modules/@typescript-eslint/scope-manager/dist/lib/es2024.object.d.ts @@ -0,0 +1,3 @@ +import type { ImplicitLibVariableOptions } from '../variable'; +export declare const es2024_object: Record; +//# sourceMappingURL=es2024.object.d.ts.map \ No newline at end of file diff --git a/node_modules/@typescript-eslint/scope-manager/dist/lib/es2024.object.d.ts.map b/node_modules/@typescript-eslint/scope-manager/dist/lib/es2024.object.d.ts.map new file mode 100644 index 0000000000..3a3c8a5036 --- /dev/null +++ b/node_modules/@typescript-eslint/scope-manager/dist/lib/es2024.object.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"es2024.object.d.ts","sourceRoot":"","sources":["../../src/lib/es2024.object.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,aAAa,CAAC;AAI9D,eAAO,MAAM,aAAa,EAErB,MAAM,CAAC,MAAM,EAAE,0BAA0B,CAAC,CAAC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.sharedmemory.js b/node_modules/@typescript-eslint/scope-manager/dist/lib/es2024.object.js similarity index 66% rename from node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.sharedmemory.js rename to node_modules/@typescript-eslint/scope-manager/dist/lib/es2024.object.js index 00b0feb2d4..4af325694b 100644 --- a/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.sharedmemory.js +++ b/node_modules/@typescript-eslint/scope-manager/dist/lib/es2024.object.js @@ -4,9 +4,9 @@ // RUN THE FOLLOWING COMMAND FROM THE WORKSPACE ROOT TO REGENERATE: // npx nx generate-lib repo Object.defineProperty(exports, "__esModule", { value: true }); -exports.es2022_sharedmemory = void 0; +exports.es2024_object = void 0; const base_config_1 = require("./base-config"); -exports.es2022_sharedmemory = { - Atomics: base_config_1.TYPE, +exports.es2024_object = { + ObjectConstructor: base_config_1.TYPE, }; -//# sourceMappingURL=es2022.sharedmemory.js.map \ No newline at end of file +//# sourceMappingURL=es2024.object.js.map \ No newline at end of file diff --git a/node_modules/@typescript-eslint/scope-manager/dist/lib/es2024.object.js.map b/node_modules/@typescript-eslint/scope-manager/dist/lib/es2024.object.js.map new file mode 100644 index 0000000000..a86f3b4b99 --- /dev/null +++ b/node_modules/@typescript-eslint/scope-manager/dist/lib/es2024.object.js.map @@ -0,0 +1 @@ +{"version":3,"file":"es2024.object.js","sourceRoot":"","sources":["../../src/lib/es2024.object.ts"],"names":[],"mappings":";AAAA,wCAAwC;AACxC,gCAAgC;AAChC,mEAAmE;AACnE,2BAA2B;;;AAI3B,+CAAqC;AAExB,QAAA,aAAa,GAAG;IAC3B,iBAAiB,EAAE,kBAAI;CACsB,CAAC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/scope-manager/dist/lib/es2024.promise.d.ts b/node_modules/@typescript-eslint/scope-manager/dist/lib/es2024.promise.d.ts new file mode 100644 index 0000000000..c38ec2ea36 --- /dev/null +++ b/node_modules/@typescript-eslint/scope-manager/dist/lib/es2024.promise.d.ts @@ -0,0 +1,3 @@ +import type { ImplicitLibVariableOptions } from '../variable'; +export declare const es2024_promise: Record; +//# sourceMappingURL=es2024.promise.d.ts.map \ No newline at end of file diff --git a/node_modules/@typescript-eslint/scope-manager/dist/lib/es2024.promise.d.ts.map b/node_modules/@typescript-eslint/scope-manager/dist/lib/es2024.promise.d.ts.map new file mode 100644 index 0000000000..2919b17e18 --- /dev/null +++ b/node_modules/@typescript-eslint/scope-manager/dist/lib/es2024.promise.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"es2024.promise.d.ts","sourceRoot":"","sources":["../../src/lib/es2024.promise.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,aAAa,CAAC;AAI9D,eAAO,MAAM,cAAc,EAGtB,MAAM,CAAC,MAAM,EAAE,0BAA0B,CAAC,CAAC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/scope-manager/dist/lib/es2024.promise.js b/node_modules/@typescript-eslint/scope-manager/dist/lib/es2024.promise.js new file mode 100644 index 0000000000..b05487fe72 --- /dev/null +++ b/node_modules/@typescript-eslint/scope-manager/dist/lib/es2024.promise.js @@ -0,0 +1,13 @@ +"use strict"; +// THIS CODE WAS AUTOMATICALLY GENERATED +// DO NOT EDIT THIS CODE BY HAND +// RUN THE FOLLOWING COMMAND FROM THE WORKSPACE ROOT TO REGENERATE: +// npx nx generate-lib repo +Object.defineProperty(exports, "__esModule", { value: true }); +exports.es2024_promise = void 0; +const base_config_1 = require("./base-config"); +exports.es2024_promise = { + PromiseConstructor: base_config_1.TYPE, + PromiseWithResolvers: base_config_1.TYPE, +}; +//# sourceMappingURL=es2024.promise.js.map \ No newline at end of file diff --git a/node_modules/@typescript-eslint/scope-manager/dist/lib/es2024.promise.js.map b/node_modules/@typescript-eslint/scope-manager/dist/lib/es2024.promise.js.map new file mode 100644 index 0000000000..d31e7e95c6 --- /dev/null +++ b/node_modules/@typescript-eslint/scope-manager/dist/lib/es2024.promise.js.map @@ -0,0 +1 @@ +{"version":3,"file":"es2024.promise.js","sourceRoot":"","sources":["../../src/lib/es2024.promise.ts"],"names":[],"mappings":";AAAA,wCAAwC;AACxC,gCAAgC;AAChC,mEAAmE;AACnE,2BAA2B;;;AAI3B,+CAAqC;AAExB,QAAA,cAAc,GAAG;IAC5B,kBAAkB,EAAE,kBAAI;IACxB,oBAAoB,EAAE,kBAAI;CACmB,CAAC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/scope-manager/dist/lib/es2024.regexp.d.ts b/node_modules/@typescript-eslint/scope-manager/dist/lib/es2024.regexp.d.ts new file mode 100644 index 0000000000..6c19272502 --- /dev/null +++ b/node_modules/@typescript-eslint/scope-manager/dist/lib/es2024.regexp.d.ts @@ -0,0 +1,3 @@ +import type { ImplicitLibVariableOptions } from '../variable'; +export declare const es2024_regexp: Record; +//# sourceMappingURL=es2024.regexp.d.ts.map \ No newline at end of file diff --git a/node_modules/@typescript-eslint/scope-manager/dist/lib/es2024.regexp.d.ts.map b/node_modules/@typescript-eslint/scope-manager/dist/lib/es2024.regexp.d.ts.map new file mode 100644 index 0000000000..b2e8427ead --- /dev/null +++ b/node_modules/@typescript-eslint/scope-manager/dist/lib/es2024.regexp.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"es2024.regexp.d.ts","sourceRoot":"","sources":["../../src/lib/es2024.regexp.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,aAAa,CAAC;AAI9D,eAAO,MAAM,aAAa,EAErB,MAAM,CAAC,MAAM,EAAE,0BAA0B,CAAC,CAAC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/scope-manager/dist/lib/es2024.regexp.js b/node_modules/@typescript-eslint/scope-manager/dist/lib/es2024.regexp.js new file mode 100644 index 0000000000..3b5d9d5a4e --- /dev/null +++ b/node_modules/@typescript-eslint/scope-manager/dist/lib/es2024.regexp.js @@ -0,0 +1,12 @@ +"use strict"; +// THIS CODE WAS AUTOMATICALLY GENERATED +// DO NOT EDIT THIS CODE BY HAND +// RUN THE FOLLOWING COMMAND FROM THE WORKSPACE ROOT TO REGENERATE: +// npx nx generate-lib repo +Object.defineProperty(exports, "__esModule", { value: true }); +exports.es2024_regexp = void 0; +const base_config_1 = require("./base-config"); +exports.es2024_regexp = { + RegExp: base_config_1.TYPE, +}; +//# sourceMappingURL=es2024.regexp.js.map \ No newline at end of file diff --git a/node_modules/@typescript-eslint/scope-manager/dist/lib/es2024.regexp.js.map b/node_modules/@typescript-eslint/scope-manager/dist/lib/es2024.regexp.js.map new file mode 100644 index 0000000000..d4883bb6fb --- /dev/null +++ b/node_modules/@typescript-eslint/scope-manager/dist/lib/es2024.regexp.js.map @@ -0,0 +1 @@ +{"version":3,"file":"es2024.regexp.js","sourceRoot":"","sources":["../../src/lib/es2024.regexp.ts"],"names":[],"mappings":";AAAA,wCAAwC;AACxC,gCAAgC;AAChC,mEAAmE;AACnE,2BAA2B;;;AAI3B,+CAAqC;AAExB,QAAA,aAAa,GAAG;IAC3B,MAAM,EAAE,kBAAI;CACiC,CAAC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/scope-manager/dist/lib/es2024.sharedmemory.d.ts b/node_modules/@typescript-eslint/scope-manager/dist/lib/es2024.sharedmemory.d.ts new file mode 100644 index 0000000000..75865c5e96 --- /dev/null +++ b/node_modules/@typescript-eslint/scope-manager/dist/lib/es2024.sharedmemory.d.ts @@ -0,0 +1,3 @@ +import type { ImplicitLibVariableOptions } from '../variable'; +export declare const es2024_sharedmemory: Record; +//# sourceMappingURL=es2024.sharedmemory.d.ts.map \ No newline at end of file diff --git a/node_modules/@typescript-eslint/scope-manager/dist/lib/es2024.sharedmemory.d.ts.map b/node_modules/@typescript-eslint/scope-manager/dist/lib/es2024.sharedmemory.d.ts.map new file mode 100644 index 0000000000..38f6f650b0 --- /dev/null +++ b/node_modules/@typescript-eslint/scope-manager/dist/lib/es2024.sharedmemory.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"es2024.sharedmemory.d.ts","sourceRoot":"","sources":["../../src/lib/es2024.sharedmemory.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,aAAa,CAAC;AAK9D,eAAO,MAAM,mBAAmB,EAK3B,MAAM,CAAC,MAAM,EAAE,0BAA0B,CAAC,CAAC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/scope-manager/dist/lib/es2024.sharedmemory.js b/node_modules/@typescript-eslint/scope-manager/dist/lib/es2024.sharedmemory.js new file mode 100644 index 0000000000..9769eb2771 --- /dev/null +++ b/node_modules/@typescript-eslint/scope-manager/dist/lib/es2024.sharedmemory.js @@ -0,0 +1,16 @@ +"use strict"; +// THIS CODE WAS AUTOMATICALLY GENERATED +// DO NOT EDIT THIS CODE BY HAND +// RUN THE FOLLOWING COMMAND FROM THE WORKSPACE ROOT TO REGENERATE: +// npx nx generate-lib repo +Object.defineProperty(exports, "__esModule", { value: true }); +exports.es2024_sharedmemory = void 0; +const base_config_1 = require("./base-config"); +const es2020_bigint_1 = require("./es2020.bigint"); +exports.es2024_sharedmemory = { + ...es2020_bigint_1.es2020_bigint, + Atomics: base_config_1.TYPE, + SharedArrayBuffer: base_config_1.TYPE, + SharedArrayBufferConstructor: base_config_1.TYPE, +}; +//# sourceMappingURL=es2024.sharedmemory.js.map \ No newline at end of file diff --git a/node_modules/@typescript-eslint/scope-manager/dist/lib/es2024.sharedmemory.js.map b/node_modules/@typescript-eslint/scope-manager/dist/lib/es2024.sharedmemory.js.map new file mode 100644 index 0000000000..d0dca2580d --- /dev/null +++ b/node_modules/@typescript-eslint/scope-manager/dist/lib/es2024.sharedmemory.js.map @@ -0,0 +1 @@ +{"version":3,"file":"es2024.sharedmemory.js","sourceRoot":"","sources":["../../src/lib/es2024.sharedmemory.ts"],"names":[],"mappings":";AAAA,wCAAwC;AACxC,gCAAgC;AAChC,mEAAmE;AACnE,2BAA2B;;;AAI3B,+CAAqC;AACrC,mDAAgD;AAEnC,QAAA,mBAAmB,GAAG;IACjC,GAAG,6BAAa;IAChB,OAAO,EAAE,kBAAI;IACb,iBAAiB,EAAE,kBAAI;IACvB,4BAA4B,EAAE,kBAAI;CACW,CAAC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/scope-manager/dist/lib/es2024.string.d.ts b/node_modules/@typescript-eslint/scope-manager/dist/lib/es2024.string.d.ts new file mode 100644 index 0000000000..9680181f51 --- /dev/null +++ b/node_modules/@typescript-eslint/scope-manager/dist/lib/es2024.string.d.ts @@ -0,0 +1,3 @@ +import type { ImplicitLibVariableOptions } from '../variable'; +export declare const es2024_string: Record; +//# sourceMappingURL=es2024.string.d.ts.map \ No newline at end of file diff --git a/node_modules/@typescript-eslint/scope-manager/dist/lib/es2024.string.d.ts.map b/node_modules/@typescript-eslint/scope-manager/dist/lib/es2024.string.d.ts.map new file mode 100644 index 0000000000..40b353339e --- /dev/null +++ b/node_modules/@typescript-eslint/scope-manager/dist/lib/es2024.string.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"es2024.string.d.ts","sourceRoot":"","sources":["../../src/lib/es2024.string.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,aAAa,CAAC;AAI9D,eAAO,MAAM,aAAa,EAErB,MAAM,CAAC,MAAM,EAAE,0BAA0B,CAAC,CAAC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/scope-manager/dist/lib/es2024.string.js b/node_modules/@typescript-eslint/scope-manager/dist/lib/es2024.string.js new file mode 100644 index 0000000000..eae1cb1b62 --- /dev/null +++ b/node_modules/@typescript-eslint/scope-manager/dist/lib/es2024.string.js @@ -0,0 +1,12 @@ +"use strict"; +// THIS CODE WAS AUTOMATICALLY GENERATED +// DO NOT EDIT THIS CODE BY HAND +// RUN THE FOLLOWING COMMAND FROM THE WORKSPACE ROOT TO REGENERATE: +// npx nx generate-lib repo +Object.defineProperty(exports, "__esModule", { value: true }); +exports.es2024_string = void 0; +const base_config_1 = require("./base-config"); +exports.es2024_string = { + String: base_config_1.TYPE, +}; +//# sourceMappingURL=es2024.string.js.map \ No newline at end of file diff --git a/node_modules/@typescript-eslint/scope-manager/dist/lib/es2024.string.js.map b/node_modules/@typescript-eslint/scope-manager/dist/lib/es2024.string.js.map new file mode 100644 index 0000000000..9922fdaadf --- /dev/null +++ b/node_modules/@typescript-eslint/scope-manager/dist/lib/es2024.string.js.map @@ -0,0 +1 @@ +{"version":3,"file":"es2024.string.js","sourceRoot":"","sources":["../../src/lib/es2024.string.ts"],"names":[],"mappings":";AAAA,wCAAwC;AACxC,gCAAgC;AAChC,mEAAmE;AACnE,2BAA2B;;;AAI3B,+CAAqC;AAExB,QAAA,aAAa,GAAG;IAC3B,MAAM,EAAE,kBAAI;CACiC,CAAC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.collection.d.ts.map b/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.collection.d.ts.map index f70baa70c5..b504a8417a 100644 --- a/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.collection.d.ts.map +++ b/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.collection.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"esnext.collection.d.ts","sourceRoot":"","sources":["../../src/lib/esnext.collection.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,aAAa,CAAC;AAI9D,eAAO,MAAM,iBAAiB,EAKzB,MAAM,CAAC,MAAM,EAAE,0BAA0B,CAAC,CAAC"} \ No newline at end of file +{"version":3,"file":"esnext.collection.d.ts","sourceRoot":"","sources":["../../src/lib/esnext.collection.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,aAAa,CAAC;AAK9D,eAAO,MAAM,iBAAiB,EAKzB,MAAM,CAAC,MAAM,EAAE,0BAA0B,CAAC,CAAC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.collection.js b/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.collection.js index ac1996877b..efb74f6242 100644 --- a/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.collection.js +++ b/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.collection.js @@ -6,8 +6,9 @@ Object.defineProperty(exports, "__esModule", { value: true }); exports.esnext_collection = void 0; const base_config_1 = require("./base-config"); +const es2024_collection_1 = require("./es2024.collection"); exports.esnext_collection = { - MapConstructor: base_config_1.TYPE, + ...es2024_collection_1.es2024_collection, ReadonlySet: base_config_1.TYPE, ReadonlySetLike: base_config_1.TYPE, Set: base_config_1.TYPE, diff --git a/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.collection.js.map b/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.collection.js.map index 61cd0e5f0f..e00e21138a 100644 --- a/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.collection.js.map +++ b/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.collection.js.map @@ -1 +1 @@ -{"version":3,"file":"esnext.collection.js","sourceRoot":"","sources":["../../src/lib/esnext.collection.ts"],"names":[],"mappings":";AAAA,wCAAwC;AACxC,gCAAgC;AAChC,mEAAmE;AACnE,2BAA2B;;;AAI3B,+CAAqC;AAExB,QAAA,iBAAiB,GAAG;IAC/B,cAAc,EAAE,kBAAI;IACpB,WAAW,EAAE,kBAAI;IACjB,eAAe,EAAE,kBAAI;IACrB,GAAG,EAAE,kBAAI;CACoC,CAAC"} \ No newline at end of file +{"version":3,"file":"esnext.collection.js","sourceRoot":"","sources":["../../src/lib/esnext.collection.ts"],"names":[],"mappings":";AAAA,wCAAwC;AACxC,gCAAgC;AAChC,mEAAmE;AACnE,2BAA2B;;;AAI3B,+CAAqC;AACrC,2DAAwD;AAE3C,QAAA,iBAAiB,GAAG;IAC/B,GAAG,qCAAiB;IACpB,WAAW,EAAE,kBAAI;IACjB,eAAe,EAAE,kBAAI;IACrB,GAAG,EAAE,kBAAI;CACoC,CAAC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.d.ts.map b/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.d.ts.map index 2a2dea8291..fa915dc76b 100644 --- a/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.d.ts.map +++ b/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"esnext.d.ts","sourceRoot":"","sources":["../../src/lib/esnext.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,aAAa,CAAC;AAc9D,eAAO,MAAM,MAAM,EAYd,MAAM,CAAC,MAAM,EAAE,0BAA0B,CAAC,CAAC"} \ No newline at end of file +{"version":3,"file":"esnext.d.ts","sourceRoot":"","sources":["../../src/lib/esnext.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,aAAa,CAAC;AAU9D,eAAO,MAAM,MAAM,EAQd,MAAM,CAAC,MAAM,EAAE,0BAA0B,CAAC,CAAC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.js b/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.js index 1caf64cc7d..69cce1a0c2 100644 --- a/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.js +++ b/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.js @@ -5,28 +5,20 @@ // npx nx generate-lib repo Object.defineProperty(exports, "__esModule", { value: true }); exports.esnext = void 0; -const es2023_1 = require("./es2023"); +const es2024_1 = require("./es2024"); const esnext_array_1 = require("./esnext.array"); const esnext_collection_1 = require("./esnext.collection"); const esnext_decorators_1 = require("./esnext.decorators"); const esnext_disposable_1 = require("./esnext.disposable"); const esnext_intl_1 = require("./esnext.intl"); const esnext_iterator_1 = require("./esnext.iterator"); -const esnext_object_1 = require("./esnext.object"); -const esnext_promise_1 = require("./esnext.promise"); -const esnext_regexp_1 = require("./esnext.regexp"); -const esnext_string_1 = require("./esnext.string"); exports.esnext = { - ...es2023_1.es2023, + ...es2024_1.es2024, ...esnext_intl_1.esnext_intl, ...esnext_decorators_1.esnext_decorators, ...esnext_disposable_1.esnext_disposable, - ...esnext_promise_1.esnext_promise, - ...esnext_object_1.esnext_object, ...esnext_collection_1.esnext_collection, ...esnext_array_1.esnext_array, - ...esnext_regexp_1.esnext_regexp, - ...esnext_string_1.esnext_string, ...esnext_iterator_1.esnext_iterator, }; //# sourceMappingURL=esnext.js.map \ No newline at end of file diff --git a/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.js.map b/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.js.map index ff44832e6a..f336e08261 100644 --- a/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.js.map +++ b/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.js.map @@ -1 +1 @@ -{"version":3,"file":"esnext.js","sourceRoot":"","sources":["../../src/lib/esnext.ts"],"names":[],"mappings":";AAAA,wCAAwC;AACxC,gCAAgC;AAChC,mEAAmE;AACnE,2BAA2B;;;AAI3B,qCAAkC;AAClC,iDAA8C;AAC9C,2DAAwD;AACxD,2DAAwD;AACxD,2DAAwD;AACxD,+CAA4C;AAC5C,uDAAoD;AACpD,mDAAgD;AAChD,qDAAkD;AAClD,mDAAgD;AAChD,mDAAgD;AAEnC,QAAA,MAAM,GAAG;IACpB,GAAG,eAAM;IACT,GAAG,yBAAW;IACd,GAAG,qCAAiB;IACpB,GAAG,qCAAiB;IACpB,GAAG,+BAAc;IACjB,GAAG,6BAAa;IAChB,GAAG,qCAAiB;IACpB,GAAG,2BAAY;IACf,GAAG,6BAAa;IAChB,GAAG,6BAAa;IAChB,GAAG,iCAAe;CAC2B,CAAC"} \ No newline at end of file +{"version":3,"file":"esnext.js","sourceRoot":"","sources":["../../src/lib/esnext.ts"],"names":[],"mappings":";AAAA,wCAAwC;AACxC,gCAAgC;AAChC,mEAAmE;AACnE,2BAA2B;;;AAI3B,qCAAkC;AAClC,iDAA8C;AAC9C,2DAAwD;AACxD,2DAAwD;AACxD,2DAAwD;AACxD,+CAA4C;AAC5C,uDAAoD;AAEvC,QAAA,MAAM,GAAG;IACpB,GAAG,eAAM;IACT,GAAG,yBAAW;IACd,GAAG,qCAAiB;IACpB,GAAG,qCAAiB;IACpB,GAAG,qCAAiB;IACpB,GAAG,2BAAY;IACf,GAAG,iCAAe;CAC2B,CAAC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.weakref.d.ts.map b/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.weakref.d.ts.map index fa44c22fde..109aa74585 100644 --- a/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.weakref.d.ts.map +++ b/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.weakref.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"esnext.weakref.d.ts","sourceRoot":"","sources":["../../src/lib/esnext.weakref.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,aAAa,CAAC;AAI9D,eAAO,MAAM,cAAc,EAKtB,MAAM,CAAC,MAAM,EAAE,0BAA0B,CAAC,CAAC"} \ No newline at end of file +{"version":3,"file":"esnext.weakref.d.ts","sourceRoot":"","sources":["../../src/lib/esnext.weakref.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,aAAa,CAAC;AAK9D,eAAO,MAAM,cAAc,EAMtB,MAAM,CAAC,MAAM,EAAE,0BAA0B,CAAC,CAAC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.weakref.js b/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.weakref.js index a27a1724a9..29f616b35d 100644 --- a/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.weakref.js +++ b/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.weakref.js @@ -6,7 +6,9 @@ Object.defineProperty(exports, "__esModule", { value: true }); exports.esnext_weakref = void 0; const base_config_1 = require("./base-config"); +const es2015_symbol_wellknown_1 = require("./es2015.symbol.wellknown"); exports.esnext_weakref = { + ...es2015_symbol_wellknown_1.es2015_symbol_wellknown, FinalizationRegistry: base_config_1.TYPE_VALUE, FinalizationRegistryConstructor: base_config_1.TYPE, WeakRef: base_config_1.TYPE_VALUE, diff --git a/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.weakref.js.map b/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.weakref.js.map index a9adc58549..3282d71914 100644 --- a/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.weakref.js.map +++ b/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.weakref.js.map @@ -1 +1 @@ -{"version":3,"file":"esnext.weakref.js","sourceRoot":"","sources":["../../src/lib/esnext.weakref.ts"],"names":[],"mappings":";AAAA,wCAAwC;AACxC,gCAAgC;AAChC,mEAAmE;AACnE,2BAA2B;;;AAI3B,+CAAiD;AAEpC,QAAA,cAAc,GAAG;IAC5B,oBAAoB,EAAE,wBAAU;IAChC,+BAA+B,EAAE,kBAAI;IACrC,OAAO,EAAE,wBAAU;IACnB,kBAAkB,EAAE,kBAAI;CACqB,CAAC"} \ No newline at end of file +{"version":3,"file":"esnext.weakref.js","sourceRoot":"","sources":["../../src/lib/esnext.weakref.ts"],"names":[],"mappings":";AAAA,wCAAwC;AACxC,gCAAgC;AAChC,mEAAmE;AACnE,2BAA2B;;;AAI3B,+CAAiD;AACjD,uEAAoE;AAEvD,QAAA,cAAc,GAAG;IAC5B,GAAG,iDAAuB;IAC1B,oBAAoB,EAAE,wBAAU;IAChC,+BAA+B,EAAE,kBAAI;IACrC,OAAO,EAAE,wBAAU;IACnB,kBAAkB,EAAE,kBAAI;CACqB,CAAC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/scope-manager/dist/lib/index.d.ts b/node_modules/@typescript-eslint/scope-manager/dist/lib/index.d.ts index 6c1926d019..56ef44536b 100644 --- a/node_modules/@typescript-eslint/scope-manager/dist/lib/index.d.ts +++ b/node_modules/@typescript-eslint/scope-manager/dist/lib/index.d.ts @@ -22,6 +22,7 @@ declare const lib: { readonly 'es2016.full': Record; readonly 'es2016.intl': Record; readonly es2017: Record; + readonly 'es2017.arraybuffer': Record; readonly 'es2017.date': Record; readonly 'es2017.full': Record; readonly 'es2017.intl': Record; @@ -66,13 +67,21 @@ declare const lib: { readonly 'es2022.intl': Record; readonly 'es2022.object': Record; readonly 'es2022.regexp': Record; - readonly 'es2022.sharedmemory': Record; readonly 'es2022.string': Record; readonly es2023: Record; readonly 'es2023.array': Record; readonly 'es2023.collection': Record; readonly 'es2023.full': Record; readonly 'es2023.intl': Record; + readonly es2024: Record; + readonly 'es2024.arraybuffer': Record; + readonly 'es2024.collection': Record; + readonly 'es2024.full': Record; + readonly 'es2024.object': Record; + readonly 'es2024.promise': Record; + readonly 'es2024.regexp': Record; + readonly 'es2024.sharedmemory': Record; + readonly 'es2024.string': Record; readonly esnext: Record; readonly 'esnext.array': Record; readonly 'esnext.asynciterable': Record; diff --git a/node_modules/@typescript-eslint/scope-manager/dist/lib/index.d.ts.map b/node_modules/@typescript-eslint/scope-manager/dist/lib/index.d.ts.map index ae1410f011..1508f374e8 100644 --- a/node_modules/@typescript-eslint/scope-manager/dist/lib/index.d.ts.map +++ b/node_modules/@typescript-eslint/scope-manager/dist/lib/index.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/lib/index.ts"],"names":[],"mappings":"AAsGA,QAAA,MAAM,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAiGC,CAAC;AAEX,OAAO,EAAE,GAAG,EAAE,CAAC"} \ No newline at end of file +{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/lib/index.ts"],"names":[],"mappings":"AA+GA,QAAA,MAAM,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA0GC,CAAC;AAEX,OAAO,EAAE,GAAG,EAAE,CAAC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/scope-manager/dist/lib/index.js b/node_modules/@typescript-eslint/scope-manager/dist/lib/index.js index 0eb1ac9a26..67f08d3783 100644 --- a/node_modules/@typescript-eslint/scope-manager/dist/lib/index.js +++ b/node_modules/@typescript-eslint/scope-manager/dist/lib/index.js @@ -28,6 +28,7 @@ const es2016_array_include_1 = require("./es2016.array.include"); const es2016_full_1 = require("./es2016.full"); const es2016_intl_1 = require("./es2016.intl"); const es2017_1 = require("./es2017"); +const es2017_arraybuffer_1 = require("./es2017.arraybuffer"); const es2017_date_1 = require("./es2017.date"); const es2017_full_1 = require("./es2017.full"); const es2017_intl_1 = require("./es2017.intl"); @@ -72,13 +73,21 @@ const es2022_full_1 = require("./es2022.full"); const es2022_intl_1 = require("./es2022.intl"); const es2022_object_1 = require("./es2022.object"); const es2022_regexp_1 = require("./es2022.regexp"); -const es2022_sharedmemory_1 = require("./es2022.sharedmemory"); const es2022_string_1 = require("./es2022.string"); const es2023_1 = require("./es2023"); const es2023_array_1 = require("./es2023.array"); const es2023_collection_1 = require("./es2023.collection"); const es2023_full_1 = require("./es2023.full"); const es2023_intl_1 = require("./es2023.intl"); +const es2024_1 = require("./es2024"); +const es2024_arraybuffer_1 = require("./es2024.arraybuffer"); +const es2024_collection_1 = require("./es2024.collection"); +const es2024_full_1 = require("./es2024.full"); +const es2024_object_1 = require("./es2024.object"); +const es2024_promise_1 = require("./es2024.promise"); +const es2024_regexp_1 = require("./es2024.regexp"); +const es2024_sharedmemory_1 = require("./es2024.sharedmemory"); +const es2024_string_1 = require("./es2024.string"); const esnext_1 = require("./esnext"); const esnext_array_1 = require("./esnext.array"); const esnext_asynciterable_1 = require("./esnext.asynciterable"); @@ -125,6 +134,7 @@ const lib = { 'es2016.full': es2016_full_1.es2016_full, 'es2016.intl': es2016_intl_1.es2016_intl, es2017: es2017_1.es2017, + 'es2017.arraybuffer': es2017_arraybuffer_1.es2017_arraybuffer, 'es2017.date': es2017_date_1.es2017_date, 'es2017.full': es2017_full_1.es2017_full, 'es2017.intl': es2017_intl_1.es2017_intl, @@ -169,13 +179,21 @@ const lib = { 'es2022.intl': es2022_intl_1.es2022_intl, 'es2022.object': es2022_object_1.es2022_object, 'es2022.regexp': es2022_regexp_1.es2022_regexp, - 'es2022.sharedmemory': es2022_sharedmemory_1.es2022_sharedmemory, 'es2022.string': es2022_string_1.es2022_string, es2023: es2023_1.es2023, 'es2023.array': es2023_array_1.es2023_array, 'es2023.collection': es2023_collection_1.es2023_collection, 'es2023.full': es2023_full_1.es2023_full, 'es2023.intl': es2023_intl_1.es2023_intl, + es2024: es2024_1.es2024, + 'es2024.arraybuffer': es2024_arraybuffer_1.es2024_arraybuffer, + 'es2024.collection': es2024_collection_1.es2024_collection, + 'es2024.full': es2024_full_1.es2024_full, + 'es2024.object': es2024_object_1.es2024_object, + 'es2024.promise': es2024_promise_1.es2024_promise, + 'es2024.regexp': es2024_regexp_1.es2024_regexp, + 'es2024.sharedmemory': es2024_sharedmemory_1.es2024_sharedmemory, + 'es2024.string': es2024_string_1.es2024_string, esnext: esnext_1.esnext, 'esnext.array': esnext_array_1.esnext_array, 'esnext.asynciterable': esnext_asynciterable_1.esnext_asynciterable, diff --git a/node_modules/@typescript-eslint/scope-manager/dist/lib/index.js.map b/node_modules/@typescript-eslint/scope-manager/dist/lib/index.js.map index b10cc74993..c58f9ae2e6 100644 --- a/node_modules/@typescript-eslint/scope-manager/dist/lib/index.js.map +++ b/node_modules/@typescript-eslint/scope-manager/dist/lib/index.js.map @@ -1 +1 @@ -{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/lib/index.ts"],"names":[],"mappings":";AAAA,wCAAwC;AACxC,gCAAgC;AAChC,mEAAmE;AACnE,2BAA2B;;;AAE3B,6CAA0C;AAC1C,2DAAwD;AACxD,+BAA4B;AAC5B,2DAAwD;AACxD,iDAA8C;AAC9C,+BAA4B;AAC5B,+BAA4B;AAC5B,+BAA4B;AAC5B,qCAAkC;AAClC,2DAAwD;AACxD,+CAA4C;AAC5C,yDAAsD;AACtD,uDAAoD;AACpD,qDAAkD;AAClD,iDAA8C;AAC9C,qDAAkD;AAClD,mDAAgD;AAChD,uEAAoE;AACpE,qCAAkC;AAClC,iEAA8D;AAC9D,+CAA4C;AAC5C,+CAA4C;AAC5C,qCAAkC;AAClC,+CAA4C;AAC5C,+CAA4C;AAC5C,+CAA4C;AAC5C,mDAAgD;AAChD,+DAA4D;AAC5D,mDAAgD;AAChD,6DAA0D;AAC1D,qCAAkC;AAClC,mEAAgE;AAChE,iEAA8D;AAC9D,+CAA4C;AAC5C,+CAA4C;AAC5C,qDAAkD;AAClD,mDAAgD;AAChD,qCAAkC;AAClC,iDAA8C;AAC9C,+CAA4C;AAC5C,+CAA4C;AAC5C,mDAAgD;AAChD,mDAAgD;AAChD,mDAAgD;AAChD,qCAAkC;AAClC,mDAAgD;AAChD,+CAA4C;AAC5C,+CAA4C;AAC5C,+CAA4C;AAC5C,mDAAgD;AAChD,qDAAkD;AAClD,+DAA4D;AAC5D,mDAAgD;AAChD,uEAAoE;AACpE,qCAAkC;AAClC,+CAA4C;AAC5C,+CAA4C;AAC5C,qDAAkD;AAClD,mDAAgD;AAChD,qDAAkD;AAClD,qCAAkC;AAClC,iDAA8C;AAC9C,iDAA8C;AAC9C,+CAA4C;AAC5C,+CAA4C;AAC5C,mDAAgD;AAChD,mDAAgD;AAChD,+DAA4D;AAC5D,mDAAgD;AAChD,qCAAkC;AAClC,iDAA8C;AAC9C,2DAAwD;AACxD,+CAA4C;AAC5C,+CAA4C;AAC5C,qCAAkC;AAClC,iDAA8C;AAC9C,iEAA8D;AAC9D,mDAAgD;AAChD,2DAAwD;AACxD,2DAAwD;AACxD,2DAAwD;AACxD,+CAA4C;AAC5C,+CAA4C;AAC5C,uDAAoD;AACpD,mDAAgD;AAChD,qDAAkD;AAClD,mDAAgD;AAChD,mDAAgD;AAChD,mDAAgD;AAChD,qDAAkD;AAClD,+BAAuC;AACvC,6CAA0C;AAC1C,2CAAwC;AACxC,uEAAoE;AACpE,uEAAoE;AACpE,6DAA0D;AAE1D,MAAM,GAAG,GAAG;IACV,UAAU,EAAV,uBAAU;IACV,mBAAmB,EAAE,qCAAiB;IACtC,GAAG,EAAH,SAAG;IACH,mBAAmB,EAAE,qCAAiB;IACtC,cAAc,EAAE,2BAAY;IAC5B,GAAG,EAAH,SAAG;IACH,GAAG,EAAH,SAAG;IACH,GAAG,EAAH,SAAG;IACH,MAAM,EAAN,eAAM;IACN,mBAAmB,EAAE,qCAAiB;IACtC,aAAa,EAAE,yBAAW;IAC1B,kBAAkB,EAAE,mCAAgB;IACpC,iBAAiB,EAAE,iCAAe;IAClC,gBAAgB,EAAE,+BAAc;IAChC,cAAc,EAAE,2BAAY;IAC5B,gBAAgB,EAAE,+BAAc;IAChC,eAAe,EAAE,6BAAa;IAC9B,yBAAyB,EAAE,iDAAuB;IAClD,MAAM,EAAN,eAAM;IACN,sBAAsB,EAAE,2CAAoB;IAC5C,aAAa,EAAE,yBAAW;IAC1B,aAAa,EAAE,yBAAW;IAC1B,MAAM,EAAN,eAAM;IACN,aAAa,EAAE,yBAAW;IAC1B,aAAa,EAAE,yBAAW;IAC1B,aAAa,EAAE,yBAAW;IAC1B,eAAe,EAAE,6BAAa;IAC9B,qBAAqB,EAAE,yCAAmB;IAC1C,eAAe,EAAE,6BAAa;IAC9B,oBAAoB,EAAE,uCAAkB;IACxC,MAAM,EAAN,eAAM;IACN,uBAAuB,EAAE,6CAAqB;IAC9C,sBAAsB,EAAE,2CAAoB;IAC5C,aAAa,EAAE,yBAAW;IAC1B,aAAa,EAAE,yBAAW;IAC1B,gBAAgB,EAAE,+BAAc;IAChC,eAAe,EAAE,6BAAa;IAC9B,MAAM,EAAN,eAAM;IACN,cAAc,EAAE,2BAAY;IAC5B,aAAa,EAAE,yBAAW;IAC1B,aAAa,EAAE,yBAAW;IAC1B,eAAe,EAAE,6BAAa;IAC9B,eAAe,EAAE,6BAAa;IAC9B,eAAe,EAAE,6BAAa;IAC9B,MAAM,EAAN,eAAM;IACN,eAAe,EAAE,6BAAa;IAC9B,aAAa,EAAE,yBAAW;IAC1B,aAAa,EAAE,yBAAW;IAC1B,aAAa,EAAE,yBAAW;IAC1B,eAAe,EAAE,6BAAa;IAC9B,gBAAgB,EAAE,+BAAc;IAChC,qBAAqB,EAAE,yCAAmB;IAC1C,eAAe,EAAE,6BAAa;IAC9B,yBAAyB,EAAE,iDAAuB;IAClD,MAAM,EAAN,eAAM;IACN,aAAa,EAAE,yBAAW;IAC1B,aAAa,EAAE,yBAAW;IAC1B,gBAAgB,EAAE,+BAAc;IAChC,eAAe,EAAE,6BAAa;IAC9B,gBAAgB,EAAE,+BAAc;IAChC,MAAM,EAAN,eAAM;IACN,cAAc,EAAE,2BAAY;IAC5B,cAAc,EAAE,2BAAY;IAC5B,aAAa,EAAE,yBAAW;IAC1B,aAAa,EAAE,yBAAW;IAC1B,eAAe,EAAE,6BAAa;IAC9B,eAAe,EAAE,6BAAa;IAC9B,qBAAqB,EAAE,yCAAmB;IAC1C,eAAe,EAAE,6BAAa;IAC9B,MAAM,EAAN,eAAM;IACN,cAAc,EAAE,2BAAY;IAC5B,mBAAmB,EAAE,qCAAiB;IACtC,aAAa,EAAE,yBAAW;IAC1B,aAAa,EAAE,yBAAW;IAC1B,MAAM,EAAN,eAAM;IACN,cAAc,EAAE,2BAAY;IAC5B,sBAAsB,EAAE,2CAAoB;IAC5C,eAAe,EAAE,6BAAa;IAC9B,mBAAmB,EAAE,qCAAiB;IACtC,mBAAmB,EAAE,qCAAiB;IACtC,mBAAmB,EAAE,qCAAiB;IACtC,aAAa,EAAE,yBAAW;IAC1B,aAAa,EAAE,yBAAW;IAC1B,iBAAiB,EAAE,iCAAe;IAClC,eAAe,EAAE,6BAAa;IAC9B,gBAAgB,EAAE,+BAAc;IAChC,eAAe,EAAE,6BAAa;IAC9B,eAAe,EAAE,6BAAa;IAC9B,eAAe,EAAE,6BAAa;IAC9B,gBAAgB,EAAE,+BAAc;IAChC,GAAG,EAAE,SAAO;IACZ,UAAU,EAAV,uBAAU;IACV,SAAS,EAAT,qBAAS;IACT,yBAAyB,EAAE,iDAAuB;IAClD,yBAAyB,EAAE,iDAAuB;IAClD,oBAAoB,EAAE,uCAAkB;CAChC,CAAC;AAEF,kBAAG"} \ No newline at end of file +{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/lib/index.ts"],"names":[],"mappings":";AAAA,wCAAwC;AACxC,gCAAgC;AAChC,mEAAmE;AACnE,2BAA2B;;;AAE3B,6CAA0C;AAC1C,2DAAwD;AACxD,+BAA4B;AAC5B,2DAAwD;AACxD,iDAA8C;AAC9C,+BAA4B;AAC5B,+BAA4B;AAC5B,+BAA4B;AAC5B,qCAAkC;AAClC,2DAAwD;AACxD,+CAA4C;AAC5C,yDAAsD;AACtD,uDAAoD;AACpD,qDAAkD;AAClD,iDAA8C;AAC9C,qDAAkD;AAClD,mDAAgD;AAChD,uEAAoE;AACpE,qCAAkC;AAClC,iEAA8D;AAC9D,+CAA4C;AAC5C,+CAA4C;AAC5C,qCAAkC;AAClC,6DAA0D;AAC1D,+CAA4C;AAC5C,+CAA4C;AAC5C,+CAA4C;AAC5C,mDAAgD;AAChD,+DAA4D;AAC5D,mDAAgD;AAChD,6DAA0D;AAC1D,qCAAkC;AAClC,mEAAgE;AAChE,iEAA8D;AAC9D,+CAA4C;AAC5C,+CAA4C;AAC5C,qDAAkD;AAClD,mDAAgD;AAChD,qCAAkC;AAClC,iDAA8C;AAC9C,+CAA4C;AAC5C,+CAA4C;AAC5C,mDAAgD;AAChD,mDAAgD;AAChD,mDAAgD;AAChD,qCAAkC;AAClC,mDAAgD;AAChD,+CAA4C;AAC5C,+CAA4C;AAC5C,+CAA4C;AAC5C,mDAAgD;AAChD,qDAAkD;AAClD,+DAA4D;AAC5D,mDAAgD;AAChD,uEAAoE;AACpE,qCAAkC;AAClC,+CAA4C;AAC5C,+CAA4C;AAC5C,qDAAkD;AAClD,mDAAgD;AAChD,qDAAkD;AAClD,qCAAkC;AAClC,iDAA8C;AAC9C,iDAA8C;AAC9C,+CAA4C;AAC5C,+CAA4C;AAC5C,mDAAgD;AAChD,mDAAgD;AAChD,mDAAgD;AAChD,qCAAkC;AAClC,iDAA8C;AAC9C,2DAAwD;AACxD,+CAA4C;AAC5C,+CAA4C;AAC5C,qCAAkC;AAClC,6DAA0D;AAC1D,2DAAwD;AACxD,+CAA4C;AAC5C,mDAAgD;AAChD,qDAAkD;AAClD,mDAAgD;AAChD,+DAA4D;AAC5D,mDAAgD;AAChD,qCAAkC;AAClC,iDAA8C;AAC9C,iEAA8D;AAC9D,mDAAgD;AAChD,2DAAwD;AACxD,2DAAwD;AACxD,2DAAwD;AACxD,+CAA4C;AAC5C,+CAA4C;AAC5C,uDAAoD;AACpD,mDAAgD;AAChD,qDAAkD;AAClD,mDAAgD;AAChD,mDAAgD;AAChD,mDAAgD;AAChD,qDAAkD;AAClD,+BAAuC;AACvC,6CAA0C;AAC1C,2CAAwC;AACxC,uEAAoE;AACpE,uEAAoE;AACpE,6DAA0D;AAE1D,MAAM,GAAG,GAAG;IACV,UAAU,EAAV,uBAAU;IACV,mBAAmB,EAAE,qCAAiB;IACtC,GAAG,EAAH,SAAG;IACH,mBAAmB,EAAE,qCAAiB;IACtC,cAAc,EAAE,2BAAY;IAC5B,GAAG,EAAH,SAAG;IACH,GAAG,EAAH,SAAG;IACH,GAAG,EAAH,SAAG;IACH,MAAM,EAAN,eAAM;IACN,mBAAmB,EAAE,qCAAiB;IACtC,aAAa,EAAE,yBAAW;IAC1B,kBAAkB,EAAE,mCAAgB;IACpC,iBAAiB,EAAE,iCAAe;IAClC,gBAAgB,EAAE,+BAAc;IAChC,cAAc,EAAE,2BAAY;IAC5B,gBAAgB,EAAE,+BAAc;IAChC,eAAe,EAAE,6BAAa;IAC9B,yBAAyB,EAAE,iDAAuB;IAClD,MAAM,EAAN,eAAM;IACN,sBAAsB,EAAE,2CAAoB;IAC5C,aAAa,EAAE,yBAAW;IAC1B,aAAa,EAAE,yBAAW;IAC1B,MAAM,EAAN,eAAM;IACN,oBAAoB,EAAE,uCAAkB;IACxC,aAAa,EAAE,yBAAW;IAC1B,aAAa,EAAE,yBAAW;IAC1B,aAAa,EAAE,yBAAW;IAC1B,eAAe,EAAE,6BAAa;IAC9B,qBAAqB,EAAE,yCAAmB;IAC1C,eAAe,EAAE,6BAAa;IAC9B,oBAAoB,EAAE,uCAAkB;IACxC,MAAM,EAAN,eAAM;IACN,uBAAuB,EAAE,6CAAqB;IAC9C,sBAAsB,EAAE,2CAAoB;IAC5C,aAAa,EAAE,yBAAW;IAC1B,aAAa,EAAE,yBAAW;IAC1B,gBAAgB,EAAE,+BAAc;IAChC,eAAe,EAAE,6BAAa;IAC9B,MAAM,EAAN,eAAM;IACN,cAAc,EAAE,2BAAY;IAC5B,aAAa,EAAE,yBAAW;IAC1B,aAAa,EAAE,yBAAW;IAC1B,eAAe,EAAE,6BAAa;IAC9B,eAAe,EAAE,6BAAa;IAC9B,eAAe,EAAE,6BAAa;IAC9B,MAAM,EAAN,eAAM;IACN,eAAe,EAAE,6BAAa;IAC9B,aAAa,EAAE,yBAAW;IAC1B,aAAa,EAAE,yBAAW;IAC1B,aAAa,EAAE,yBAAW;IAC1B,eAAe,EAAE,6BAAa;IAC9B,gBAAgB,EAAE,+BAAc;IAChC,qBAAqB,EAAE,yCAAmB;IAC1C,eAAe,EAAE,6BAAa;IAC9B,yBAAyB,EAAE,iDAAuB;IAClD,MAAM,EAAN,eAAM;IACN,aAAa,EAAE,yBAAW;IAC1B,aAAa,EAAE,yBAAW;IAC1B,gBAAgB,EAAE,+BAAc;IAChC,eAAe,EAAE,6BAAa;IAC9B,gBAAgB,EAAE,+BAAc;IAChC,MAAM,EAAN,eAAM;IACN,cAAc,EAAE,2BAAY;IAC5B,cAAc,EAAE,2BAAY;IAC5B,aAAa,EAAE,yBAAW;IAC1B,aAAa,EAAE,yBAAW;IAC1B,eAAe,EAAE,6BAAa;IAC9B,eAAe,EAAE,6BAAa;IAC9B,eAAe,EAAE,6BAAa;IAC9B,MAAM,EAAN,eAAM;IACN,cAAc,EAAE,2BAAY;IAC5B,mBAAmB,EAAE,qCAAiB;IACtC,aAAa,EAAE,yBAAW;IAC1B,aAAa,EAAE,yBAAW;IAC1B,MAAM,EAAN,eAAM;IACN,oBAAoB,EAAE,uCAAkB;IACxC,mBAAmB,EAAE,qCAAiB;IACtC,aAAa,EAAE,yBAAW;IAC1B,eAAe,EAAE,6BAAa;IAC9B,gBAAgB,EAAE,+BAAc;IAChC,eAAe,EAAE,6BAAa;IAC9B,qBAAqB,EAAE,yCAAmB;IAC1C,eAAe,EAAE,6BAAa;IAC9B,MAAM,EAAN,eAAM;IACN,cAAc,EAAE,2BAAY;IAC5B,sBAAsB,EAAE,2CAAoB;IAC5C,eAAe,EAAE,6BAAa;IAC9B,mBAAmB,EAAE,qCAAiB;IACtC,mBAAmB,EAAE,qCAAiB;IACtC,mBAAmB,EAAE,qCAAiB;IACtC,aAAa,EAAE,yBAAW;IAC1B,aAAa,EAAE,yBAAW;IAC1B,iBAAiB,EAAE,iCAAe;IAClC,eAAe,EAAE,6BAAa;IAC9B,gBAAgB,EAAE,+BAAc;IAChC,eAAe,EAAE,6BAAa;IAC9B,eAAe,EAAE,6BAAa;IAC9B,eAAe,EAAE,6BAAa;IAC9B,gBAAgB,EAAE,+BAAc;IAChC,GAAG,EAAE,SAAO;IACZ,UAAU,EAAV,uBAAU;IACV,SAAS,EAAT,qBAAS;IACT,yBAAyB,EAAE,iDAAuB;IAClD,yBAAyB,EAAE,iDAAuB;IAClD,oBAAoB,EAAE,uCAAkB;CAChC,CAAC;AAEF,kBAAG"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/scope-manager/dist/lib/webworker.d.ts.map b/node_modules/@typescript-eslint/scope-manager/dist/lib/webworker.d.ts.map index eb11273591..728c2fcbfe 100644 --- a/node_modules/@typescript-eslint/scope-manager/dist/lib/webworker.d.ts.map +++ b/node_modules/@typescript-eslint/scope-manager/dist/lib/webworker.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"webworker.d.ts","sourceRoot":"","sources":["../../src/lib/webworker.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,aAAa,CAAC;AAI9D,eAAO,MAAM,SAAS,EAwkBjB,MAAM,CAAC,MAAM,EAAE,0BAA0B,CAAC,CAAC"} \ No newline at end of file +{"version":3,"file":"webworker.d.ts","sourceRoot":"","sources":["../../src/lib/webworker.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,aAAa,CAAC;AAI9D,eAAO,MAAM,SAAS,EA+lBjB,MAAM,CAAC,MAAM,EAAE,0BAA0B,CAAC,CAAC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/scope-manager/dist/lib/webworker.js b/node_modules/@typescript-eslint/scope-manager/dist/lib/webworker.js index 5d051c85ae..537f084bd9 100644 --- a/node_modules/@typescript-eslint/scope-manager/dist/lib/webworker.js +++ b/node_modules/@typescript-eslint/scope-manager/dist/lib/webworker.js @@ -26,11 +26,26 @@ exports.webworker = { ANGLE_instanced_arrays: base_config_1.TYPE, AnimationFrameProvider: base_config_1.TYPE, AudioConfiguration: base_config_1.TYPE, + AudioData: base_config_1.TYPE_VALUE, + AudioDataCopyToOptions: base_config_1.TYPE, + AudioDataInit: base_config_1.TYPE, + AudioDataOutputCallback: base_config_1.TYPE, + AudioDecoder: base_config_1.TYPE_VALUE, + AudioDecoderConfig: base_config_1.TYPE, + AudioDecoderEventMap: base_config_1.TYPE, + AudioDecoderInit: base_config_1.TYPE, + AudioDecoderSupport: base_config_1.TYPE, + AudioEncoder: base_config_1.TYPE_VALUE, + AudioEncoderConfig: base_config_1.TYPE, + AudioEncoderEventMap: base_config_1.TYPE, + AudioEncoderInit: base_config_1.TYPE, + AudioEncoderSupport: base_config_1.TYPE, + AudioSampleFormat: base_config_1.TYPE, AvcBitstreamFormat: base_config_1.TYPE, AvcEncoderConfig: base_config_1.TYPE, BigInteger: base_config_1.TYPE, - BinaryData: base_config_1.TYPE, BinaryType: base_config_1.TYPE, + BitrateMode: base_config_1.TYPE, Blob: base_config_1.TYPE_VALUE, BlobPart: base_config_1.TYPE, BlobPropertyBag: base_config_1.TYPE, @@ -146,6 +161,11 @@ exports.webworker = { EcdsaParams: base_config_1.TYPE, EcKeyGenParams: base_config_1.TYPE, EcKeyImportParams: base_config_1.TYPE, + EncodedAudioChunk: base_config_1.TYPE_VALUE, + EncodedAudioChunkInit: base_config_1.TYPE, + EncodedAudioChunkMetadata: base_config_1.TYPE, + EncodedAudioChunkOutputCallback: base_config_1.TYPE, + EncodedAudioChunkType: base_config_1.TYPE, EncodedVideoChunk: base_config_1.TYPE_VALUE, EncodedVideoChunkInit: base_config_1.TYPE, EncodedVideoChunkMetadata: base_config_1.TYPE, @@ -341,6 +361,8 @@ exports.webworker = { OffscreenRenderingContextId: base_config_1.TYPE, OnErrorEventHandler: base_config_1.TYPE, OnErrorEventHandlerNonNull: base_config_1.TYPE, + OpusBitstreamFormat: base_config_1.TYPE, + OpusEncoderConfig: base_config_1.TYPE, OVR_multiview2: base_config_1.TYPE, Path2D: base_config_1.TYPE_VALUE, Pbkdf2Params: base_config_1.TYPE, @@ -503,6 +525,7 @@ exports.webworker = { VideoEncoderBitrateMode: base_config_1.TYPE, VideoEncoderConfig: base_config_1.TYPE, VideoEncoderEncodeOptions: base_config_1.TYPE, + VideoEncoderEncodeOptionsForAvc: base_config_1.TYPE, VideoEncoderEventMap: base_config_1.TYPE, VideoEncoderInit: base_config_1.TYPE, VideoEncoderSupport: base_config_1.TYPE, diff --git a/node_modules/@typescript-eslint/scope-manager/dist/lib/webworker.js.map b/node_modules/@typescript-eslint/scope-manager/dist/lib/webworker.js.map index 5908321431..a9956c68bf 100644 --- a/node_modules/@typescript-eslint/scope-manager/dist/lib/webworker.js.map +++ b/node_modules/@typescript-eslint/scope-manager/dist/lib/webworker.js.map @@ -1 +1 @@ -{"version":3,"file":"webworker.js","sourceRoot":"","sources":["../../src/lib/webworker.ts"],"names":[],"mappings":";AAAA,wCAAwC;AACxC,gCAAgC;AAChC,mEAAmE;AACnE,2BAA2B;;;AAI3B,+CAAiD;AAEpC,QAAA,SAAS,GAAG;IACvB,eAAe,EAAE,wBAAU;IAC3B,WAAW,EAAE,wBAAU;IACvB,mBAAmB,EAAE,kBAAI;IACzB,cAAc,EAAE,kBAAI;IACpB,sBAAsB,EAAE,kBAAI;IAC5B,uBAAuB,EAAE,kBAAI;IAC7B,YAAY,EAAE,kBAAI;IAClB,YAAY,EAAE,kBAAI;IAClB,mBAAmB,EAAE,kBAAI;IACzB,YAAY,EAAE,kBAAI;IAClB,eAAe,EAAE,kBAAI;IACrB,eAAe,EAAE,kBAAI;IACrB,SAAS,EAAE,kBAAI;IACf,mBAAmB,EAAE,kBAAI;IACzB,uBAAuB,EAAE,kBAAI;IAC7B,WAAW,EAAE,kBAAI;IACjB,sBAAsB,EAAE,kBAAI;IAC5B,sBAAsB,EAAE,kBAAI;IAC5B,kBAAkB,EAAE,kBAAI;IACxB,kBAAkB,EAAE,kBAAI;IACxB,gBAAgB,EAAE,kBAAI;IACtB,UAAU,EAAE,kBAAI;IAChB,UAAU,EAAE,kBAAI;IAChB,UAAU,EAAE,kBAAI;IAChB,IAAI,EAAE,wBAAU;IAChB,QAAQ,EAAE,kBAAI;IACd,eAAe,EAAE,kBAAI;IACrB,IAAI,EAAE,kBAAI;IACV,QAAQ,EAAE,kBAAI;IACd,gBAAgB,EAAE,wBAAU;IAC5B,wBAAwB,EAAE,kBAAI;IAC9B,YAAY,EAAE,kBAAI;IAClB,yBAAyB,EAAE,wBAAU;IACrC,KAAK,EAAE,wBAAU;IACjB,iBAAiB,EAAE,kBAAI;IACvB,YAAY,EAAE,wBAAU;IACxB,iBAAiB,EAAE,kBAAI;IACvB,eAAe,EAAE,kBAAI;IACrB,eAAe,EAAE,kBAAI;IACrB,cAAc,EAAE,kBAAI;IACpB,cAAc,EAAE,kBAAI;IACpB,sBAAsB,EAAE,kBAAI;IAC5B,aAAa,EAAE,kBAAI;IACnB,iBAAiB,EAAE,kBAAI;IACvB,iBAAiB,EAAE,kBAAI;IACvB,qBAAqB,EAAE,kBAAI;IAC3B,cAAc,EAAE,wBAAU;IAC1B,eAAe,EAAE,kBAAI;IACrB,oBAAoB,EAAE,kBAAI;IAC1B,iBAAiB,EAAE,kBAAI;IACvB,aAAa,EAAE,kBAAI;IACnB,cAAc,EAAE,kBAAI;IACpB,UAAU,EAAE,kBAAI;IAChB,uBAAuB,EAAE,kBAAI;IAC7B,aAAa,EAAE,wBAAU;IACzB,UAAU,EAAE,kBAAI;IAChB,kBAAkB,EAAE,kBAAI;IACxB,WAAW,EAAE,kBAAI;IACjB,UAAU,EAAE,kBAAI;IAChB,eAAe,EAAE,kBAAI;IACrB,kBAAkB,EAAE,kBAAI;IACxB,uBAAuB,EAAE,kBAAI;IAC7B,mBAAmB,EAAE,kBAAI;IACzB,eAAe,EAAE,kBAAI;IACrB,MAAM,EAAE,wBAAU;IAClB,kBAAkB,EAAE,kBAAI;IACxB,OAAO,EAAE,wBAAU;IACnB,WAAW,EAAE,kBAAI;IACjB,UAAU,EAAE,wBAAU;IACtB,cAAc,EAAE,kBAAI;IACpB,UAAU,EAAE,kBAAI;IAChB,UAAU,EAAE,kBAAI;IAChB,oBAAoB,EAAE,kBAAI;IAC1B,iBAAiB,EAAE,kBAAI;IACvB,iBAAiB,EAAE,wBAAU;IAC7B,OAAO,EAAE,kBAAI;IACb,oBAAoB,EAAE,wBAAU;IAChC,MAAM,EAAE,wBAAU;IAClB,SAAS,EAAE,wBAAU;IACrB,aAAa,EAAE,kBAAI;IACnB,aAAa,EAAE,wBAAU;IACzB,aAAa,EAAE,kBAAI;IACnB,eAAe,EAAE,wBAAU;IAC3B,YAAY,EAAE,wBAAU;IACxB,aAAa,EAAE,wBAAU;IACzB,UAAU,EAAE,wBAAU;IACtB,UAAU,EAAE,wBAAU;IACtB,aAAa,EAAE,wBAAU;IACzB,eAAe,EAAE,kBAAI;IACrB,cAAc,EAAE,wBAAU;IAC1B,UAAU,EAAE,wBAAU;IACtB,YAAY,EAAE,wBAAU;IACxB,kBAAkB,EAAE,wBAAU;IAC9B,yBAAyB,EAAE,kBAAI;IAC/B,YAAY,EAAE,kBAAI;IAClB,eAAe,EAAE,wBAAU;IAC3B,kBAAkB,EAAE,kBAAI;IACxB,cAAc,EAAE,kBAAI;IACpB,eAAe,EAAE,wBAAU;IAC3B,cAAc,EAAE,wBAAU;IAC1B,mBAAmB,EAAE,kBAAI;IACzB,SAAS,EAAE,wBAAU;IACrB,QAAQ,EAAE,wBAAU;IACpB,OAAO,EAAE,wBAAU;IACnB,QAAQ,EAAE,wBAAU;IACpB,QAAQ,EAAE,wBAAU;IACpB,aAAa,EAAE,wBAAU;IACzB,qBAAqB,EAAE,wBAAU;IACjC,iBAAiB,EAAE,wBAAU;IAC7B,YAAY,EAAE,wBAAU;IACxB,YAAY,EAAE,wBAAU;IACxB,kBAAkB,EAAE,kBAAI;IACxB,gBAAgB,EAAE,wBAAU;IAC5B,yBAAyB,EAAE,wBAAU;IACrC,WAAW,EAAE,wBAAU;IACvB,eAAe,EAAE,kBAAI;IACrB,mBAAmB,EAAE,wBAAU;IAC/B,0BAA0B,EAAE,wBAAU;IACtC,kCAAkC,EAAE,kBAAI;IACxC,uBAAuB,EAAE,kBAAI;IAC7B,YAAY,EAAE,wBAAU;IACxB,mBAAmB,EAAE,kBAAI;IACzB,SAAS,EAAE,wBAAU;IACrB,eAAe,EAAE,kBAAI;IACrB,aAAa,EAAE,kBAAI;IACnB,iBAAiB,EAAE,wBAAU;IAC7B,QAAQ,EAAE,wBAAU;IACpB,YAAY,EAAE,kBAAI;IAClB,gBAAgB,EAAE,wBAAU;IAC5B,OAAO,EAAE,wBAAU;IACnB,WAAW,EAAE,kBAAI;IACjB,OAAO,EAAE,wBAAU;IACnB,WAAW,EAAE,kBAAI;IACjB,eAAe,EAAE,wBAAU;IAC3B,aAAa,EAAE,wBAAU;IACzB,mBAAmB,EAAE,kBAAI;IACzB,WAAW,EAAE,kBAAI;IACjB,cAAc,EAAE,kBAAI;IACpB,iBAAiB,EAAE,kBAAI;IACvB,iBAAiB,EAAE,wBAAU;IAC7B,qBAAqB,EAAE,kBAAI;IAC3B,yBAAyB,EAAE,kBAAI;IAC/B,+BAA+B,EAAE,kBAAI;IACrC,qBAAqB,EAAE,kBAAI;IAC3B,UAAU,EAAE,kBAAI;IAChB,cAAc,EAAE,kBAAI;IACpB,UAAU,EAAE,wBAAU;IACtB,cAAc,EAAE,kBAAI;IACpB,KAAK,EAAE,wBAAU;IACjB,SAAS,EAAE,kBAAI;IACf,aAAa,EAAE,kBAAI;IACnB,mBAAmB,EAAE,kBAAI;IACzB,oBAAoB,EAAE,kBAAI;IAC1B,kCAAkC,EAAE,kBAAI;IACxC,WAAW,EAAE,wBAAU;IACvB,mBAAmB,EAAE,kBAAI;IACzB,eAAe,EAAE,kBAAI;IACrB,WAAW,EAAE,wBAAU;IACvB,gBAAgB,EAAE,kBAAI;IACtB,sBAAsB,EAAE,kBAAI;IAC5B,2BAA2B,EAAE,kBAAI;IACjC,eAAe,EAAE,kBAAI;IACrB,cAAc,EAAE,kBAAI;IACpB,sBAAsB,EAAE,kBAAI;IAC5B,QAAQ,EAAE,kBAAI;IACd,4BAA4B,EAAE,kBAAI;IAClC,4BAA4B,EAAE,kBAAI;IAClC,8BAA8B,EAAE,kBAAI;IACpC,kBAAkB,EAAE,kBAAI;IACxB,eAAe,EAAE,wBAAU;IAC3B,mBAAmB,EAAE,kBAAI;IACzB,sBAAsB,EAAE,wBAAU;IAClC,0BAA0B,EAAE,kBAAI;IAChC,UAAU,EAAE,wBAAU;IACtB,cAAc,EAAE,kBAAI;IACpB,IAAI,EAAE,wBAAU;IAChB,QAAQ,EAAE,wBAAU;IACpB,eAAe,EAAE,kBAAI;IACrB,UAAU,EAAE,wBAAU;IACtB,kBAAkB,EAAE,kBAAI;IACxB,cAAc,EAAE,wBAAU;IAC1B,+BAA+B,EAAE,kBAAI;IACrC,yBAAyB,EAAE,wBAAU;IACrC,oBAAoB,EAAE,wBAAU;IAChC,6BAA6B,EAAE,kBAAI;IACnC,wBAAwB,EAAE,kBAAI;IAC9B,gBAAgB,EAAE,wBAAU;IAC5B,oBAAoB,EAAE,kBAAI;IAC1B,0BAA0B,EAAE,kBAAI;IAChC,uBAAuB,EAAE,kBAAI;IAC7B,0BAA0B,EAAE,wBAAU;IACtC,4BAA4B,EAAE,wBAAU;IACxC,wBAAwB,EAAE,kBAAI;IAC9B,WAAW,EAAE,kBAAI;IACjB,WAAW,EAAE,kBAAI;IACjB,QAAQ,EAAE,wBAAU;IACpB,mBAAmB,EAAE,kBAAI;IACzB,kBAAkB,EAAE,kBAAI;IACxB,WAAW,EAAE,wBAAU;IACvB,mBAAmB,EAAE,kBAAI;IACzB,oBAAoB,EAAE,wBAAU;IAChC,wBAAwB,EAAE,kBAAI;IAC9B,qBAAqB,EAAE,kBAAI;IAC3B,cAAc,EAAE,kBAAI;IACpB,QAAQ,EAAE,wBAAU;IACpB,kBAAkB,EAAE,kBAAI;IACxB,oBAAoB,EAAE,kBAAI;IAC1B,SAAS,EAAE,kBAAI;IACf,sBAAsB,EAAE,kBAAI;IAC5B,sBAAsB,EAAE,kBAAI;IAC5B,UAAU,EAAE,kBAAI;IAChB,SAAS,EAAE,kBAAI;IACf,QAAQ,EAAE,kBAAI;IACd,MAAM,EAAE,kBAAI;IACZ,OAAO,EAAE,kBAAI;IACb,KAAK,EAAE,kBAAI;IACX,OAAO,EAAE,kBAAI;IACb,QAAQ,EAAE,kBAAI;IACd,wBAAwB,EAAE,kBAAI;IAC9B,OAAO,EAAE,kBAAI;IACb,UAAU,EAAE,kBAAI;IAChB,MAAM,EAAE,kBAAI;IACZ,QAAQ,EAAE,kBAAI;IACd,oBAAoB,EAAE,kBAAI;IAC1B,uBAAuB,EAAE,kBAAI;IAC7B,eAAe,EAAE,kBAAI;IACrB,OAAO,EAAE,wBAAU;IACnB,WAAW,EAAE,kBAAI;IACjB,UAAU,EAAE,kBAAI;IAChB,gBAAgB,EAAE,kBAAI;IACtB,gBAAgB,EAAE,kBAAI;IACtB,SAAS,EAAE,wBAAU;IACrB,kBAAkB,EAAE,kBAAI;IACxB,kBAAkB,EAAE,wBAAU;IAC9B,WAAW,EAAE,wBAAU;IACvB,mBAAmB,EAAE,kBAAI;IACzB,eAAe,EAAE,kBAAI;IACrB,UAAU,EAAE,wBAAU;IACtB,QAAQ,EAAE,wBAAU;IACpB,kBAAkB,EAAE,kBAAI;IACxB,WAAW,EAAE,wBAAU;IACvB,cAAc,EAAE,wBAAU;IAC1B,wBAAwB,EAAE,kBAAI;IAC9B,gBAAgB,EAAE,wBAAU;IAC5B,wBAAwB,EAAE,kBAAI;IAC9B,UAAU,EAAE,wBAAU;IACtB,kBAAkB,EAAE,kBAAI;IACxB,oBAAoB,EAAE,kBAAI;IAC1B,cAAc,EAAE,wBAAU;IAC1B,wBAAwB,EAAE,kBAAI;IAC9B,sBAAsB,EAAE,kBAAI;IAC5B,kBAAkB,EAAE,kBAAI;IACxB,qBAAqB,EAAE,kBAAI;IAC3B,WAAW,EAAE,kBAAI;IACjB,qBAAqB,EAAE,wBAAU;IACjC,yBAAyB,EAAE,kBAAI;IAC/B,WAAW,EAAE,wBAAU;IACvB,kBAAkB,EAAE,kBAAI;IACxB,2BAA2B,EAAE,wBAAU;IACvC,mCAAmC,EAAE,kBAAI;IACzC,iBAAiB,EAAE,kBAAI;IACvB,SAAS,EAAE,wBAAU;IACrB,iBAAiB,EAAE,kBAAI;IACvB,kBAAkB,EAAE,kBAAI;IACxB,gBAAgB,EAAE,kBAAI;IACtB,qBAAqB,EAAE,kBAAI;IAC3B,UAAU,EAAE,kBAAI;IAChB,SAAS,EAAE,kBAAI;IACf,UAAU,EAAE,kBAAI;IAChB,YAAY,EAAE,kBAAI;IAClB,SAAS,EAAE,kBAAI;IACf,OAAO,EAAE,kBAAI;IACb,QAAQ,EAAE,kBAAI;IACd,2BAA2B,EAAE,kBAAI;IACjC,WAAW,EAAE,kBAAI;IACjB,IAAI,EAAE,wBAAU;IAChB,mBAAmB,EAAE,kBAAI;IACzB,QAAQ,EAAE,kBAAI;IACd,WAAW,EAAE,wBAAU;IACvB,mBAAmB,EAAE,kBAAI;IACzB,QAAQ,EAAE,kBAAI;IACd,WAAW,EAAE,kBAAI;IACjB,iBAAiB,EAAE,wBAAU;IAC7B,6BAA6B,EAAE,kBAAI;IACnC,6BAA6B,EAAE,kBAAI;IACnC,qBAAqB,EAAE,kBAAI;IAC3B,kBAAkB,EAAE,kBAAI;IACxB,0BAA0B,EAAE,kBAAI;IAChC,iBAAiB,EAAE,kBAAI;IACvB,0BAA0B,EAAE,kBAAI;IAChC,iBAAiB,EAAE,kBAAI;IACvB,iBAAiB,EAAE,wBAAU;IAC7B,yBAAyB,EAAE,wBAAU;IACrC,6BAA6B,EAAE,kBAAI;IACnC,cAAc,EAAE,wBAAU;IAC1B,YAAY,EAAE,wBAAU;IACxB,gBAAgB,EAAE,kBAAI;IACtB,kBAAkB,EAAE,kBAAI;IACxB,WAAW,EAAE,wBAAU;IACvB,mBAAmB,EAAE,kBAAI;IACzB,sBAAsB,EAAE,kBAAI;IAC5B,UAAU,EAAE,kBAAI;IAChB,wBAAwB,EAAE,wBAAU;IACpC,sBAAsB,EAAE,kBAAI;IAC5B,cAAc,EAAE,kBAAI;IACpB,2BAA2B,EAAE,kBAAI;IACjC,WAAW,EAAE,kBAAI;IACjB,iBAAiB,EAAE,kBAAI;IACvB,cAAc,EAAE,kBAAI;IACpB,eAAe,EAAE,kBAAI;IACrB,gBAAgB,EAAE,kBAAI;IACtB,YAAY,EAAE,wBAAU;IACxB,qBAAqB,EAAE,kBAAI;IAC3B,iBAAiB,EAAE,wBAAU;IAC7B,qBAAqB,EAAE,kBAAI;IAC3B,oBAAoB,EAAE,kBAAI;IAC1B,mBAAmB,EAAE,kBAAI;IACzB,sBAAsB,EAAE,kBAAI;IAC5B,wBAAwB,EAAE,kBAAI;IAC9B,sBAAsB,EAAE,kBAAI;IAC5B,qBAAqB,EAAE,kBAAI;IAC3B,wBAAwB,EAAE,kBAAI;IAC9B,iBAAiB,EAAE,kBAAI;IACvB,wBAAwB,EAAE,kBAAI;IAC9B,sBAAsB,EAAE,kBAAI;IAC5B,6BAA6B,EAAE,kBAAI;IACnC,uBAAuB,EAAE,kBAAI;IAC7B,eAAe,EAAE,wBAAU;IAC3B,uBAAuB,EAAE,kBAAI;IAC7B,iCAAiC,EAAE,wBAAU;IAC7C,yBAAyB,EAAE,kBAAI;IAC/B,2BAA2B,EAAE,kBAAI;IACjC,mBAAmB,EAAE,kBAAI;IACzB,0BAA0B,EAAE,kBAAI;IAChC,cAAc,EAAE,kBAAI;IACpB,MAAM,EAAE,wBAAU;IAClB,YAAY,EAAE,kBAAI;IAClB,WAAW,EAAE,wBAAU;IACvB,gBAAgB,EAAE,wBAAU;IAC5B,oBAAoB,EAAE,kBAAI;IAC1B,mBAAmB,EAAE,kBAAI;IACzB,eAAe,EAAE,wBAAU;IAC3B,sBAAsB,EAAE,kBAAI;IAC5B,kBAAkB,EAAE,wBAAU;IAC9B,yBAAyB,EAAE,kBAAI;IAC/B,mBAAmB,EAAE,wBAAU;IAC/B,2BAA2B,EAAE,kBAAI;IACjC,4BAA4B,EAAE,wBAAU;IACxC,uBAAuB,EAAE,kBAAI;IAC7B,yBAAyB,EAAE,wBAAU;IACrC,uBAAuB,EAAE,wBAAU;IACnC,oBAAoB,EAAE,kBAAI;IAC1B,cAAc,EAAE,kBAAI;IACpB,WAAW,EAAE,wBAAU;IACvB,eAAe,EAAE,kBAAI;IACrB,gBAAgB,EAAE,wBAAU;IAC5B,wBAAwB,EAAE,kBAAI;IAC9B,WAAW,EAAE,kBAAI;IACjB,oBAAoB,EAAE,kBAAI;IAC1B,gBAAgB,EAAE,kBAAI;IACtB,aAAa,EAAE,wBAAU;IACzB,iBAAiB,EAAE,kBAAI;IACvB,qBAAqB,EAAE,wBAAU;IACjC,yBAAyB,EAAE,kBAAI;IAC/B,qBAAqB,EAAE,kBAAI;IAC3B,SAAS,EAAE,wBAAU;IACrB,aAAa,EAAE,kBAAI;IACnB,WAAW,EAAE,wBAAU;IACvB,eAAe,EAAE,wBAAU;IAC3B,mBAAmB,EAAE,kBAAI;IACzB,gBAAgB,EAAE,wBAAU;IAC5B,oBAAoB,EAAE,kBAAI;IAC1B,uBAAuB,EAAE,wBAAU;IACnC,2BAA2B,EAAE,kBAAI;IACjC,eAAe,EAAE,kBAAI;IACrB,mBAAmB,EAAE,kBAAI;IACzB,mBAAmB,EAAE,kBAAI;IACzB,4BAA4B,EAAE,wBAAU;IACxC,cAAc,EAAE,wBAAU;IAC1B,wBAAwB,EAAE,wBAAU;IACpC,yBAAyB,EAAE,wBAAU;IACrC,wBAAwB,EAAE,kBAAI;IAC9B,+BAA+B,EAAE,wBAAU;IAC3C,2BAA2B,EAAE,wBAAU;IACvC,2BAA2B,EAAE,kBAAI;IACjC,8BAA8B,EAAE,kBAAI;IACpC,6BAA6B,EAAE,kBAAI;IACnC,4BAA4B,EAAE,kBAAI;IAClC,oBAAoB,EAAE,kBAAI;IAC1B,wBAAwB,EAAE,kBAAI;IAC9B,wBAAwB,EAAE,kBAAI;IAC9B,6BAA6B,EAAE,kBAAI;IACnC,kBAAkB,EAAE,kBAAI;IACxB,oBAAoB,EAAE,kBAAI;IAC1B,cAAc,EAAE,kBAAI;IACpB,mBAAmB,EAAE,kBAAI;IACzB,MAAM,EAAE,wBAAU;IAClB,UAAU,EAAE,wBAAU;IACtB,iBAAiB,EAAE,wBAAU;IAC7B,yBAAyB,EAAE,kBAAI;IAC/B,wBAAwB,EAAE,kBAAI;IAC9B,UAAU,EAAE,kBAAI;IAChB,OAAO,EAAE,wBAAU;IACnB,YAAY,EAAE,kBAAI;IAClB,kBAAkB,EAAE,kBAAI;IACxB,kBAAkB,EAAE,kBAAI;IACxB,WAAW,EAAE,kBAAI;IACjB,WAAW,EAAE,kBAAI;IACjB,WAAW,EAAE,kBAAI;IACjB,eAAe,EAAE,kBAAI;IACrB,eAAe,EAAE,kBAAI;IACrB,aAAa,EAAE,kBAAI;IACnB,QAAQ,EAAE,wBAAU;IACpB,YAAY,EAAE,kBAAI;IAClB,YAAY,EAAE,kBAAI;IAClB,qBAAqB,EAAE,kBAAI;IAC3B,qBAAqB,EAAE,kBAAI;IAC3B,eAAe,EAAE,kBAAI;IACrB,aAAa,EAAE,kBAAI;IACnB,kBAAkB,EAAE,kBAAI;IACxB,YAAY,EAAE,kBAAI;IAClB,oBAAoB,EAAE,wBAAU;IAChC,4BAA4B,EAAE,kBAAI;IAClC,oBAAoB,EAAE,wBAAU;IAChC,4BAA4B,EAAE,kBAAI;IAClC,wBAAwB,EAAE,kBAAI;IAC9B,uBAAuB,EAAE,wBAAU;IACnC,iBAAiB,EAAE,wBAAU;IAC7B,4BAA4B,EAAE,wBAAU;IACxC,uCAAuC,EAAE,kBAAI;IAC7C,gCAAgC,EAAE,kBAAI;IACtC,aAAa,EAAE,wBAAU;IACzB,sBAAsB,EAAE,wBAAU;IAClC,8BAA8B,EAAE,kBAAI;IACpC,qBAAqB,EAAE,kBAAI;IAC3B,wBAAwB,EAAE,wBAAU;IACpC,gCAAgC,EAAE,kBAAI;IACtC,yBAAyB,EAAE,wBAAU;IACrC,iCAAiC,EAAE,kBAAI;IACvC,kBAAkB,EAAE,kBAAI;IACxB,2BAA2B,EAAE,kBAAI;IACjC,uBAAuB,EAAE,wBAAU;IACnC,+BAA+B,EAAE,kBAAI;IACrC,eAAe,EAAE,kBAAI;IACrB,cAAc,EAAE,wBAAU;IAC1B,iBAAiB,EAAE,kBAAI;IACvB,0BAA0B,EAAE,kBAAI;IAChC,wBAAwB,EAAE,wBAAU;IACpC,YAAY,EAAE,wBAAU;IACxB,cAAc,EAAE,kBAAI;IACpB,iBAAiB,EAAE,kBAAI;IACvB,WAAW,EAAE,wBAAU;IACvB,iBAAiB,EAAE,kBAAI;IACvB,kBAAkB,EAAE,kBAAI;IACxB,iBAAiB,EAAE,wBAAU;IAC7B,WAAW,EAAE,wBAAU;IACvB,iBAAiB,EAAE,kBAAI;IACvB,2BAA2B,EAAE,kBAAI;IACjC,iBAAiB,EAAE,wBAAU;IAC7B,WAAW,EAAE,wBAAU;IACvB,YAAY,EAAE,kBAAI;IAClB,YAAY,EAAE,kBAAI;IAClB,gBAAgB,EAAE,kBAAI;IACtB,WAAW,EAAE,kBAAI;IACjB,wBAAwB,EAAE,kBAAI;IAC9B,wBAAwB,EAAE,kBAAI;IAC9B,4BAA4B,EAAE,kBAAI;IAClC,eAAe,EAAE,wBAAU;IAC3B,gCAAgC,EAAE,wBAAU;IAC5C,UAAU,EAAE,kBAAI;IAChB,oBAAoB,EAAE,kBAAI;IAC1B,uBAAuB,EAAE,kBAAI;IAC7B,cAAc,EAAE,kBAAI;IACpB,2BAA2B,EAAE,kBAAI;IACjC,2BAA2B,EAAE,kBAAI;IACjC,2BAA2B,EAAE,kBAAI;IACjC,2BAA2B,EAAE,kBAAI;IACjC,gBAAgB,EAAE,kBAAI;IACtB,8BAA8B,EAAE,kBAAI;IACpC,4BAA4B,EAAE,kBAAI;IAClC,6BAA6B,EAAE,kBAAI;IACnC,GAAG,EAAE,wBAAU;IACf,eAAe,EAAE,wBAAU;IAC3B,mBAAmB,EAAE,kBAAI;IACzB,eAAe,EAAE,wBAAU;IAC3B,mBAAmB,EAAE,kBAAI;IACzB,kBAAkB,EAAE,kBAAI;IACxB,YAAY,EAAE,wBAAU;IACxB,kBAAkB,EAAE,kBAAI;IACxB,oBAAoB,EAAE,kBAAI;IAC1B,gBAAgB,EAAE,kBAAI;IACtB,mBAAmB,EAAE,kBAAI;IACzB,YAAY,EAAE,wBAAU;IACxB,uBAAuB,EAAE,kBAAI;IAC7B,kBAAkB,EAAE,kBAAI;IACxB,yBAAyB,EAAE,kBAAI;IAC/B,oBAAoB,EAAE,kBAAI;IAC1B,gBAAgB,EAAE,kBAAI;IACtB,mBAAmB,EAAE,kBAAI;IACzB,UAAU,EAAE,wBAAU;IACtB,oBAAoB,EAAE,kBAAI;IAC1B,uBAAuB,EAAE,kBAAI;IAC7B,cAAc,EAAE,kBAAI;IACpB,wBAAwB,EAAE,kBAAI;IAC9B,uBAAuB,EAAE,kBAAI;IAC7B,gBAAgB,EAAE,kBAAI;IACtB,4BAA4B,EAAE,kBAAI;IAClC,YAAY,EAAE,kBAAI;IAClB,WAAW,EAAE,wBAAU;IACvB,sBAAsB,EAAE,kBAAI;IAC5B,wBAAwB,EAAE,kBAAI;IAC9B,6BAA6B,EAAE,kBAAI;IACnC,4BAA4B,EAAE,kBAAI;IAClC,6BAA6B,EAAE,kBAAI;IACnC,8BAA8B,EAAE,kBAAI;IACpC,6BAA6B,EAAE,kBAAI;IACnC,kCAAkC,EAAE,kBAAI;IACxC,yBAAyB,EAAE,kBAAI;IAC/B,mBAAmB,EAAE,kBAAI;IACzB,mBAAmB,EAAE,kBAAI;IACzB,kBAAkB,EAAE,kBAAI;IACxB,kBAAkB,EAAE,kBAAI;IACxB,gBAAgB,EAAE,kBAAI;IACtB,sBAAsB,EAAE,wBAAU;IAClC,0BAA0B,EAAE,kBAAI;IAChC,+BAA+B,EAAE,kBAAI;IACrC,eAAe,EAAE,wBAAU;IAC3B,WAAW,EAAE,wBAAU;IACvB,sBAAsB,EAAE,kBAAI;IAC5B,iBAAiB,EAAE,wBAAU;IAC7B,qBAAqB,EAAE,kBAAI;IAC3B,gBAAgB,EAAE,wBAAU;IAC5B,oBAAoB,EAAE,kBAAI;IAC1B,YAAY,EAAE,wBAAU;IACxB,UAAU,EAAE,wBAAU;IACtB,iBAAiB,EAAE,wBAAU;IAC7B,qBAAqB,EAAE,wBAAU;IACjC,yBAAyB,EAAE,kBAAI;IAC/B,8BAA8B,EAAE,kBAAI;IACpC,YAAY,EAAE,wBAAU;IACxB,WAAW,EAAE,wBAAU;IACvB,0BAA0B,EAAE,wBAAU;IACtC,SAAS,EAAE,wBAAU;IACrB,YAAY,EAAE,wBAAU;IACxB,sBAAsB,EAAE,wBAAU;IAClC,oBAAoB,EAAE,wBAAU;IAChC,sBAAsB,EAAE,wBAAU;IAClC,yBAAyB,EAAE,kBAAI;IAC/B,SAAS,EAAE,wBAAU;IACrB,iBAAiB,EAAE,kBAAI;IACvB,YAAY,EAAE,wBAAU;IACxB,+BAA+B,EAAE,wBAAU;IAC3C,qBAAqB,EAAE,kBAAI;IAC3B,6BAA6B,EAAE,kBAAI;IACnC,gCAAgC,EAAE,wBAAU;IAC5C,iBAAiB,EAAE,wBAAU;IAC7B,wBAAwB,EAAE,kBAAI;IAC9B,uBAAuB,EAAE,kBAAI;IAC7B,gBAAgB,EAAE,kBAAI;IACtB,mBAAmB,EAAE,kBAAI;IACzB,6BAA6B,EAAE,kBAAI;IACnC,YAAY,EAAE,wBAAU;IACxB,yBAAyB,EAAE,kBAAI;IAC/B,MAAM,EAAE,wBAAU;IAClB,cAAc,EAAE,kBAAI;IACpB,iBAAiB,EAAE,wBAAU;IAC7B,yBAAyB,EAAE,kBAAI;IAC/B,cAAc,EAAE,wBAAU;IAC1B,eAAe,EAAE,wBAAU;IAC3B,aAAa,EAAE,kBAAI;IACnB,UAAU,EAAE,kBAAI;IAChB,cAAc,EAAE,wBAAU;IAC1B,+BAA+B,EAAE,wBAAU;IAC3C,2BAA2B,EAAE,wBAAU;IACvC,gBAAgB,EAAE,kBAAI;IACtB,WAAW,EAAE,kBAAI;IACjB,cAAc,EAAE,wBAAU;IAC1B,sBAAsB,EAAE,kBAAI;IAC5B,sBAAsB,EAAE,kBAAI;IAC5B,yBAAyB,EAAE,wBAAU;IACrC,iCAAiC,EAAE,kBAAI;IACvC,0BAA0B,EAAE,kBAAI;IAChC,oBAAoB,EAAE,wBAAU;CACa,CAAC"} \ No newline at end of file +{"version":3,"file":"webworker.js","sourceRoot":"","sources":["../../src/lib/webworker.ts"],"names":[],"mappings":";AAAA,wCAAwC;AACxC,gCAAgC;AAChC,mEAAmE;AACnE,2BAA2B;;;AAI3B,+CAAiD;AAEpC,QAAA,SAAS,GAAG;IACvB,eAAe,EAAE,wBAAU;IAC3B,WAAW,EAAE,wBAAU;IACvB,mBAAmB,EAAE,kBAAI;IACzB,cAAc,EAAE,kBAAI;IACpB,sBAAsB,EAAE,kBAAI;IAC5B,uBAAuB,EAAE,kBAAI;IAC7B,YAAY,EAAE,kBAAI;IAClB,YAAY,EAAE,kBAAI;IAClB,mBAAmB,EAAE,kBAAI;IACzB,YAAY,EAAE,kBAAI;IAClB,eAAe,EAAE,kBAAI;IACrB,eAAe,EAAE,kBAAI;IACrB,SAAS,EAAE,kBAAI;IACf,mBAAmB,EAAE,kBAAI;IACzB,uBAAuB,EAAE,kBAAI;IAC7B,WAAW,EAAE,kBAAI;IACjB,sBAAsB,EAAE,kBAAI;IAC5B,sBAAsB,EAAE,kBAAI;IAC5B,kBAAkB,EAAE,kBAAI;IACxB,SAAS,EAAE,wBAAU;IACrB,sBAAsB,EAAE,kBAAI;IAC5B,aAAa,EAAE,kBAAI;IACnB,uBAAuB,EAAE,kBAAI;IAC7B,YAAY,EAAE,wBAAU;IACxB,kBAAkB,EAAE,kBAAI;IACxB,oBAAoB,EAAE,kBAAI;IAC1B,gBAAgB,EAAE,kBAAI;IACtB,mBAAmB,EAAE,kBAAI;IACzB,YAAY,EAAE,wBAAU;IACxB,kBAAkB,EAAE,kBAAI;IACxB,oBAAoB,EAAE,kBAAI;IAC1B,gBAAgB,EAAE,kBAAI;IACtB,mBAAmB,EAAE,kBAAI;IACzB,iBAAiB,EAAE,kBAAI;IACvB,kBAAkB,EAAE,kBAAI;IACxB,gBAAgB,EAAE,kBAAI;IACtB,UAAU,EAAE,kBAAI;IAChB,UAAU,EAAE,kBAAI;IAChB,WAAW,EAAE,kBAAI;IACjB,IAAI,EAAE,wBAAU;IAChB,QAAQ,EAAE,kBAAI;IACd,eAAe,EAAE,kBAAI;IACrB,IAAI,EAAE,kBAAI;IACV,QAAQ,EAAE,kBAAI;IACd,gBAAgB,EAAE,wBAAU;IAC5B,wBAAwB,EAAE,kBAAI;IAC9B,YAAY,EAAE,kBAAI;IAClB,yBAAyB,EAAE,wBAAU;IACrC,KAAK,EAAE,wBAAU;IACjB,iBAAiB,EAAE,kBAAI;IACvB,YAAY,EAAE,wBAAU;IACxB,iBAAiB,EAAE,kBAAI;IACvB,eAAe,EAAE,kBAAI;IACrB,eAAe,EAAE,kBAAI;IACrB,cAAc,EAAE,kBAAI;IACpB,cAAc,EAAE,kBAAI;IACpB,sBAAsB,EAAE,kBAAI;IAC5B,aAAa,EAAE,kBAAI;IACnB,iBAAiB,EAAE,kBAAI;IACvB,iBAAiB,EAAE,kBAAI;IACvB,qBAAqB,EAAE,kBAAI;IAC3B,cAAc,EAAE,wBAAU;IAC1B,eAAe,EAAE,kBAAI;IACrB,oBAAoB,EAAE,kBAAI;IAC1B,iBAAiB,EAAE,kBAAI;IACvB,aAAa,EAAE,kBAAI;IACnB,cAAc,EAAE,kBAAI;IACpB,UAAU,EAAE,kBAAI;IAChB,uBAAuB,EAAE,kBAAI;IAC7B,aAAa,EAAE,wBAAU;IACzB,UAAU,EAAE,kBAAI;IAChB,kBAAkB,EAAE,kBAAI;IACxB,WAAW,EAAE,kBAAI;IACjB,UAAU,EAAE,kBAAI;IAChB,eAAe,EAAE,kBAAI;IACrB,kBAAkB,EAAE,kBAAI;IACxB,uBAAuB,EAAE,kBAAI;IAC7B,mBAAmB,EAAE,kBAAI;IACzB,eAAe,EAAE,kBAAI;IACrB,MAAM,EAAE,wBAAU;IAClB,kBAAkB,EAAE,kBAAI;IACxB,OAAO,EAAE,wBAAU;IACnB,WAAW,EAAE,kBAAI;IACjB,UAAU,EAAE,wBAAU;IACtB,cAAc,EAAE,kBAAI;IACpB,UAAU,EAAE,kBAAI;IAChB,UAAU,EAAE,kBAAI;IAChB,oBAAoB,EAAE,kBAAI;IAC1B,iBAAiB,EAAE,kBAAI;IACvB,iBAAiB,EAAE,wBAAU;IAC7B,OAAO,EAAE,kBAAI;IACb,oBAAoB,EAAE,wBAAU;IAChC,MAAM,EAAE,wBAAU;IAClB,SAAS,EAAE,wBAAU;IACrB,aAAa,EAAE,kBAAI;IACnB,aAAa,EAAE,wBAAU;IACzB,aAAa,EAAE,kBAAI;IACnB,eAAe,EAAE,wBAAU;IAC3B,YAAY,EAAE,wBAAU;IACxB,aAAa,EAAE,wBAAU;IACzB,UAAU,EAAE,wBAAU;IACtB,UAAU,EAAE,wBAAU;IACtB,aAAa,EAAE,wBAAU;IACzB,eAAe,EAAE,kBAAI;IACrB,cAAc,EAAE,wBAAU;IAC1B,UAAU,EAAE,wBAAU;IACtB,YAAY,EAAE,wBAAU;IACxB,kBAAkB,EAAE,wBAAU;IAC9B,yBAAyB,EAAE,kBAAI;IAC/B,YAAY,EAAE,kBAAI;IAClB,eAAe,EAAE,wBAAU;IAC3B,kBAAkB,EAAE,kBAAI;IACxB,cAAc,EAAE,kBAAI;IACpB,eAAe,EAAE,wBAAU;IAC3B,cAAc,EAAE,wBAAU;IAC1B,mBAAmB,EAAE,kBAAI;IACzB,SAAS,EAAE,wBAAU;IACrB,QAAQ,EAAE,wBAAU;IACpB,OAAO,EAAE,wBAAU;IACnB,QAAQ,EAAE,wBAAU;IACpB,QAAQ,EAAE,wBAAU;IACpB,aAAa,EAAE,wBAAU;IACzB,qBAAqB,EAAE,wBAAU;IACjC,iBAAiB,EAAE,wBAAU;IAC7B,YAAY,EAAE,wBAAU;IACxB,YAAY,EAAE,wBAAU;IACxB,kBAAkB,EAAE,kBAAI;IACxB,gBAAgB,EAAE,wBAAU;IAC5B,yBAAyB,EAAE,wBAAU;IACrC,WAAW,EAAE,wBAAU;IACvB,eAAe,EAAE,kBAAI;IACrB,mBAAmB,EAAE,wBAAU;IAC/B,0BAA0B,EAAE,wBAAU;IACtC,kCAAkC,EAAE,kBAAI;IACxC,uBAAuB,EAAE,kBAAI;IAC7B,YAAY,EAAE,wBAAU;IACxB,mBAAmB,EAAE,kBAAI;IACzB,SAAS,EAAE,wBAAU;IACrB,eAAe,EAAE,kBAAI;IACrB,aAAa,EAAE,kBAAI;IACnB,iBAAiB,EAAE,wBAAU;IAC7B,QAAQ,EAAE,wBAAU;IACpB,YAAY,EAAE,kBAAI;IAClB,gBAAgB,EAAE,wBAAU;IAC5B,OAAO,EAAE,wBAAU;IACnB,WAAW,EAAE,kBAAI;IACjB,OAAO,EAAE,wBAAU;IACnB,WAAW,EAAE,kBAAI;IACjB,eAAe,EAAE,wBAAU;IAC3B,aAAa,EAAE,wBAAU;IACzB,mBAAmB,EAAE,kBAAI;IACzB,WAAW,EAAE,kBAAI;IACjB,cAAc,EAAE,kBAAI;IACpB,iBAAiB,EAAE,kBAAI;IACvB,iBAAiB,EAAE,wBAAU;IAC7B,qBAAqB,EAAE,kBAAI;IAC3B,yBAAyB,EAAE,kBAAI;IAC/B,+BAA+B,EAAE,kBAAI;IACrC,qBAAqB,EAAE,kBAAI;IAC3B,iBAAiB,EAAE,wBAAU;IAC7B,qBAAqB,EAAE,kBAAI;IAC3B,yBAAyB,EAAE,kBAAI;IAC/B,+BAA+B,EAAE,kBAAI;IACrC,qBAAqB,EAAE,kBAAI;IAC3B,UAAU,EAAE,kBAAI;IAChB,cAAc,EAAE,kBAAI;IACpB,UAAU,EAAE,wBAAU;IACtB,cAAc,EAAE,kBAAI;IACpB,KAAK,EAAE,wBAAU;IACjB,SAAS,EAAE,kBAAI;IACf,aAAa,EAAE,kBAAI;IACnB,mBAAmB,EAAE,kBAAI;IACzB,oBAAoB,EAAE,kBAAI;IAC1B,kCAAkC,EAAE,kBAAI;IACxC,WAAW,EAAE,wBAAU;IACvB,mBAAmB,EAAE,kBAAI;IACzB,eAAe,EAAE,kBAAI;IACrB,WAAW,EAAE,wBAAU;IACvB,gBAAgB,EAAE,kBAAI;IACtB,sBAAsB,EAAE,kBAAI;IAC5B,2BAA2B,EAAE,kBAAI;IACjC,eAAe,EAAE,kBAAI;IACrB,cAAc,EAAE,kBAAI;IACpB,sBAAsB,EAAE,kBAAI;IAC5B,QAAQ,EAAE,kBAAI;IACd,4BAA4B,EAAE,kBAAI;IAClC,4BAA4B,EAAE,kBAAI;IAClC,8BAA8B,EAAE,kBAAI;IACpC,kBAAkB,EAAE,kBAAI;IACxB,eAAe,EAAE,wBAAU;IAC3B,mBAAmB,EAAE,kBAAI;IACzB,sBAAsB,EAAE,wBAAU;IAClC,0BAA0B,EAAE,kBAAI;IAChC,UAAU,EAAE,wBAAU;IACtB,cAAc,EAAE,kBAAI;IACpB,IAAI,EAAE,wBAAU;IAChB,QAAQ,EAAE,wBAAU;IACpB,eAAe,EAAE,kBAAI;IACrB,UAAU,EAAE,wBAAU;IACtB,kBAAkB,EAAE,kBAAI;IACxB,cAAc,EAAE,wBAAU;IAC1B,+BAA+B,EAAE,kBAAI;IACrC,yBAAyB,EAAE,wBAAU;IACrC,oBAAoB,EAAE,wBAAU;IAChC,6BAA6B,EAAE,kBAAI;IACnC,wBAAwB,EAAE,kBAAI;IAC9B,gBAAgB,EAAE,wBAAU;IAC5B,oBAAoB,EAAE,kBAAI;IAC1B,0BAA0B,EAAE,kBAAI;IAChC,uBAAuB,EAAE,kBAAI;IAC7B,0BAA0B,EAAE,wBAAU;IACtC,4BAA4B,EAAE,wBAAU;IACxC,wBAAwB,EAAE,kBAAI;IAC9B,WAAW,EAAE,kBAAI;IACjB,WAAW,EAAE,kBAAI;IACjB,QAAQ,EAAE,wBAAU;IACpB,mBAAmB,EAAE,kBAAI;IACzB,kBAAkB,EAAE,kBAAI;IACxB,WAAW,EAAE,wBAAU;IACvB,mBAAmB,EAAE,kBAAI;IACzB,oBAAoB,EAAE,wBAAU;IAChC,wBAAwB,EAAE,kBAAI;IAC9B,qBAAqB,EAAE,kBAAI;IAC3B,cAAc,EAAE,kBAAI;IACpB,QAAQ,EAAE,wBAAU;IACpB,kBAAkB,EAAE,kBAAI;IACxB,oBAAoB,EAAE,kBAAI;IAC1B,SAAS,EAAE,kBAAI;IACf,sBAAsB,EAAE,kBAAI;IAC5B,sBAAsB,EAAE,kBAAI;IAC5B,UAAU,EAAE,kBAAI;IAChB,SAAS,EAAE,kBAAI;IACf,QAAQ,EAAE,kBAAI;IACd,MAAM,EAAE,kBAAI;IACZ,OAAO,EAAE,kBAAI;IACb,KAAK,EAAE,kBAAI;IACX,OAAO,EAAE,kBAAI;IACb,QAAQ,EAAE,kBAAI;IACd,wBAAwB,EAAE,kBAAI;IAC9B,OAAO,EAAE,kBAAI;IACb,UAAU,EAAE,kBAAI;IAChB,MAAM,EAAE,kBAAI;IACZ,QAAQ,EAAE,kBAAI;IACd,oBAAoB,EAAE,kBAAI;IAC1B,uBAAuB,EAAE,kBAAI;IAC7B,eAAe,EAAE,kBAAI;IACrB,OAAO,EAAE,wBAAU;IACnB,WAAW,EAAE,kBAAI;IACjB,UAAU,EAAE,kBAAI;IAChB,gBAAgB,EAAE,kBAAI;IACtB,gBAAgB,EAAE,kBAAI;IACtB,SAAS,EAAE,wBAAU;IACrB,kBAAkB,EAAE,kBAAI;IACxB,kBAAkB,EAAE,wBAAU;IAC9B,WAAW,EAAE,wBAAU;IACvB,mBAAmB,EAAE,kBAAI;IACzB,eAAe,EAAE,kBAAI;IACrB,UAAU,EAAE,wBAAU;IACtB,QAAQ,EAAE,wBAAU;IACpB,kBAAkB,EAAE,kBAAI;IACxB,WAAW,EAAE,wBAAU;IACvB,cAAc,EAAE,wBAAU;IAC1B,wBAAwB,EAAE,kBAAI;IAC9B,gBAAgB,EAAE,wBAAU;IAC5B,wBAAwB,EAAE,kBAAI;IAC9B,UAAU,EAAE,wBAAU;IACtB,kBAAkB,EAAE,kBAAI;IACxB,oBAAoB,EAAE,kBAAI;IAC1B,cAAc,EAAE,wBAAU;IAC1B,wBAAwB,EAAE,kBAAI;IAC9B,sBAAsB,EAAE,kBAAI;IAC5B,kBAAkB,EAAE,kBAAI;IACxB,qBAAqB,EAAE,kBAAI;IAC3B,WAAW,EAAE,kBAAI;IACjB,qBAAqB,EAAE,wBAAU;IACjC,yBAAyB,EAAE,kBAAI;IAC/B,WAAW,EAAE,wBAAU;IACvB,kBAAkB,EAAE,kBAAI;IACxB,2BAA2B,EAAE,wBAAU;IACvC,mCAAmC,EAAE,kBAAI;IACzC,iBAAiB,EAAE,kBAAI;IACvB,SAAS,EAAE,wBAAU;IACrB,iBAAiB,EAAE,kBAAI;IACvB,kBAAkB,EAAE,kBAAI;IACxB,gBAAgB,EAAE,kBAAI;IACtB,qBAAqB,EAAE,kBAAI;IAC3B,UAAU,EAAE,kBAAI;IAChB,SAAS,EAAE,kBAAI;IACf,UAAU,EAAE,kBAAI;IAChB,YAAY,EAAE,kBAAI;IAClB,SAAS,EAAE,kBAAI;IACf,OAAO,EAAE,kBAAI;IACb,QAAQ,EAAE,kBAAI;IACd,2BAA2B,EAAE,kBAAI;IACjC,WAAW,EAAE,kBAAI;IACjB,IAAI,EAAE,wBAAU;IAChB,mBAAmB,EAAE,kBAAI;IACzB,QAAQ,EAAE,kBAAI;IACd,WAAW,EAAE,wBAAU;IACvB,mBAAmB,EAAE,kBAAI;IACzB,QAAQ,EAAE,kBAAI;IACd,WAAW,EAAE,kBAAI;IACjB,iBAAiB,EAAE,wBAAU;IAC7B,6BAA6B,EAAE,kBAAI;IACnC,6BAA6B,EAAE,kBAAI;IACnC,qBAAqB,EAAE,kBAAI;IAC3B,kBAAkB,EAAE,kBAAI;IACxB,0BAA0B,EAAE,kBAAI;IAChC,iBAAiB,EAAE,kBAAI;IACvB,0BAA0B,EAAE,kBAAI;IAChC,iBAAiB,EAAE,kBAAI;IACvB,iBAAiB,EAAE,wBAAU;IAC7B,yBAAyB,EAAE,wBAAU;IACrC,6BAA6B,EAAE,kBAAI;IACnC,cAAc,EAAE,wBAAU;IAC1B,YAAY,EAAE,wBAAU;IACxB,gBAAgB,EAAE,kBAAI;IACtB,kBAAkB,EAAE,kBAAI;IACxB,WAAW,EAAE,wBAAU;IACvB,mBAAmB,EAAE,kBAAI;IACzB,sBAAsB,EAAE,kBAAI;IAC5B,UAAU,EAAE,kBAAI;IAChB,wBAAwB,EAAE,wBAAU;IACpC,sBAAsB,EAAE,kBAAI;IAC5B,cAAc,EAAE,kBAAI;IACpB,2BAA2B,EAAE,kBAAI;IACjC,WAAW,EAAE,kBAAI;IACjB,iBAAiB,EAAE,kBAAI;IACvB,cAAc,EAAE,kBAAI;IACpB,eAAe,EAAE,kBAAI;IACrB,gBAAgB,EAAE,kBAAI;IACtB,YAAY,EAAE,wBAAU;IACxB,qBAAqB,EAAE,kBAAI;IAC3B,iBAAiB,EAAE,wBAAU;IAC7B,qBAAqB,EAAE,kBAAI;IAC3B,oBAAoB,EAAE,kBAAI;IAC1B,mBAAmB,EAAE,kBAAI;IACzB,sBAAsB,EAAE,kBAAI;IAC5B,wBAAwB,EAAE,kBAAI;IAC9B,sBAAsB,EAAE,kBAAI;IAC5B,qBAAqB,EAAE,kBAAI;IAC3B,wBAAwB,EAAE,kBAAI;IAC9B,iBAAiB,EAAE,kBAAI;IACvB,wBAAwB,EAAE,kBAAI;IAC9B,sBAAsB,EAAE,kBAAI;IAC5B,6BAA6B,EAAE,kBAAI;IACnC,uBAAuB,EAAE,kBAAI;IAC7B,eAAe,EAAE,wBAAU;IAC3B,uBAAuB,EAAE,kBAAI;IAC7B,iCAAiC,EAAE,wBAAU;IAC7C,yBAAyB,EAAE,kBAAI;IAC/B,2BAA2B,EAAE,kBAAI;IACjC,mBAAmB,EAAE,kBAAI;IACzB,0BAA0B,EAAE,kBAAI;IAChC,mBAAmB,EAAE,kBAAI;IACzB,iBAAiB,EAAE,kBAAI;IACvB,cAAc,EAAE,kBAAI;IACpB,MAAM,EAAE,wBAAU;IAClB,YAAY,EAAE,kBAAI;IAClB,WAAW,EAAE,wBAAU;IACvB,gBAAgB,EAAE,wBAAU;IAC5B,oBAAoB,EAAE,kBAAI;IAC1B,mBAAmB,EAAE,kBAAI;IACzB,eAAe,EAAE,wBAAU;IAC3B,sBAAsB,EAAE,kBAAI;IAC5B,kBAAkB,EAAE,wBAAU;IAC9B,yBAAyB,EAAE,kBAAI;IAC/B,mBAAmB,EAAE,wBAAU;IAC/B,2BAA2B,EAAE,kBAAI;IACjC,4BAA4B,EAAE,wBAAU;IACxC,uBAAuB,EAAE,kBAAI;IAC7B,yBAAyB,EAAE,wBAAU;IACrC,uBAAuB,EAAE,wBAAU;IACnC,oBAAoB,EAAE,kBAAI;IAC1B,cAAc,EAAE,kBAAI;IACpB,WAAW,EAAE,wBAAU;IACvB,eAAe,EAAE,kBAAI;IACrB,gBAAgB,EAAE,wBAAU;IAC5B,wBAAwB,EAAE,kBAAI;IAC9B,WAAW,EAAE,kBAAI;IACjB,oBAAoB,EAAE,kBAAI;IAC1B,gBAAgB,EAAE,kBAAI;IACtB,aAAa,EAAE,wBAAU;IACzB,iBAAiB,EAAE,kBAAI;IACvB,qBAAqB,EAAE,wBAAU;IACjC,yBAAyB,EAAE,kBAAI;IAC/B,qBAAqB,EAAE,kBAAI;IAC3B,SAAS,EAAE,wBAAU;IACrB,aAAa,EAAE,kBAAI;IACnB,WAAW,EAAE,wBAAU;IACvB,eAAe,EAAE,wBAAU;IAC3B,mBAAmB,EAAE,kBAAI;IACzB,gBAAgB,EAAE,wBAAU;IAC5B,oBAAoB,EAAE,kBAAI;IAC1B,uBAAuB,EAAE,wBAAU;IACnC,2BAA2B,EAAE,kBAAI;IACjC,eAAe,EAAE,kBAAI;IACrB,mBAAmB,EAAE,kBAAI;IACzB,mBAAmB,EAAE,kBAAI;IACzB,4BAA4B,EAAE,wBAAU;IACxC,cAAc,EAAE,wBAAU;IAC1B,wBAAwB,EAAE,wBAAU;IACpC,yBAAyB,EAAE,wBAAU;IACrC,wBAAwB,EAAE,kBAAI;IAC9B,+BAA+B,EAAE,wBAAU;IAC3C,2BAA2B,EAAE,wBAAU;IACvC,2BAA2B,EAAE,kBAAI;IACjC,8BAA8B,EAAE,kBAAI;IACpC,6BAA6B,EAAE,kBAAI;IACnC,4BAA4B,EAAE,kBAAI;IAClC,oBAAoB,EAAE,kBAAI;IAC1B,wBAAwB,EAAE,kBAAI;IAC9B,wBAAwB,EAAE,kBAAI;IAC9B,6BAA6B,EAAE,kBAAI;IACnC,kBAAkB,EAAE,kBAAI;IACxB,oBAAoB,EAAE,kBAAI;IAC1B,cAAc,EAAE,kBAAI;IACpB,mBAAmB,EAAE,kBAAI;IACzB,MAAM,EAAE,wBAAU;IAClB,UAAU,EAAE,wBAAU;IACtB,iBAAiB,EAAE,wBAAU;IAC7B,yBAAyB,EAAE,kBAAI;IAC/B,wBAAwB,EAAE,kBAAI;IAC9B,UAAU,EAAE,kBAAI;IAChB,OAAO,EAAE,wBAAU;IACnB,YAAY,EAAE,kBAAI;IAClB,kBAAkB,EAAE,kBAAI;IACxB,kBAAkB,EAAE,kBAAI;IACxB,WAAW,EAAE,kBAAI;IACjB,WAAW,EAAE,kBAAI;IACjB,WAAW,EAAE,kBAAI;IACjB,eAAe,EAAE,kBAAI;IACrB,eAAe,EAAE,kBAAI;IACrB,aAAa,EAAE,kBAAI;IACnB,QAAQ,EAAE,wBAAU;IACpB,YAAY,EAAE,kBAAI;IAClB,YAAY,EAAE,kBAAI;IAClB,qBAAqB,EAAE,kBAAI;IAC3B,qBAAqB,EAAE,kBAAI;IAC3B,eAAe,EAAE,kBAAI;IACrB,aAAa,EAAE,kBAAI;IACnB,kBAAkB,EAAE,kBAAI;IACxB,YAAY,EAAE,kBAAI;IAClB,oBAAoB,EAAE,wBAAU;IAChC,4BAA4B,EAAE,kBAAI;IAClC,oBAAoB,EAAE,wBAAU;IAChC,4BAA4B,EAAE,kBAAI;IAClC,wBAAwB,EAAE,kBAAI;IAC9B,uBAAuB,EAAE,wBAAU;IACnC,iBAAiB,EAAE,wBAAU;IAC7B,4BAA4B,EAAE,wBAAU;IACxC,uCAAuC,EAAE,kBAAI;IAC7C,gCAAgC,EAAE,kBAAI;IACtC,aAAa,EAAE,wBAAU;IACzB,sBAAsB,EAAE,wBAAU;IAClC,8BAA8B,EAAE,kBAAI;IACpC,qBAAqB,EAAE,kBAAI;IAC3B,wBAAwB,EAAE,wBAAU;IACpC,gCAAgC,EAAE,kBAAI;IACtC,yBAAyB,EAAE,wBAAU;IACrC,iCAAiC,EAAE,kBAAI;IACvC,kBAAkB,EAAE,kBAAI;IACxB,2BAA2B,EAAE,kBAAI;IACjC,uBAAuB,EAAE,wBAAU;IACnC,+BAA+B,EAAE,kBAAI;IACrC,eAAe,EAAE,kBAAI;IACrB,cAAc,EAAE,wBAAU;IAC1B,iBAAiB,EAAE,kBAAI;IACvB,0BAA0B,EAAE,kBAAI;IAChC,wBAAwB,EAAE,wBAAU;IACpC,YAAY,EAAE,wBAAU;IACxB,cAAc,EAAE,kBAAI;IACpB,iBAAiB,EAAE,kBAAI;IACvB,WAAW,EAAE,wBAAU;IACvB,iBAAiB,EAAE,kBAAI;IACvB,kBAAkB,EAAE,kBAAI;IACxB,iBAAiB,EAAE,wBAAU;IAC7B,WAAW,EAAE,wBAAU;IACvB,iBAAiB,EAAE,kBAAI;IACvB,2BAA2B,EAAE,kBAAI;IACjC,iBAAiB,EAAE,wBAAU;IAC7B,WAAW,EAAE,wBAAU;IACvB,YAAY,EAAE,kBAAI;IAClB,YAAY,EAAE,kBAAI;IAClB,gBAAgB,EAAE,kBAAI;IACtB,WAAW,EAAE,kBAAI;IACjB,wBAAwB,EAAE,kBAAI;IAC9B,wBAAwB,EAAE,kBAAI;IAC9B,4BAA4B,EAAE,kBAAI;IAClC,eAAe,EAAE,wBAAU;IAC3B,gCAAgC,EAAE,wBAAU;IAC5C,UAAU,EAAE,kBAAI;IAChB,oBAAoB,EAAE,kBAAI;IAC1B,uBAAuB,EAAE,kBAAI;IAC7B,cAAc,EAAE,kBAAI;IACpB,2BAA2B,EAAE,kBAAI;IACjC,2BAA2B,EAAE,kBAAI;IACjC,2BAA2B,EAAE,kBAAI;IACjC,2BAA2B,EAAE,kBAAI;IACjC,gBAAgB,EAAE,kBAAI;IACtB,8BAA8B,EAAE,kBAAI;IACpC,4BAA4B,EAAE,kBAAI;IAClC,6BAA6B,EAAE,kBAAI;IACnC,GAAG,EAAE,wBAAU;IACf,eAAe,EAAE,wBAAU;IAC3B,mBAAmB,EAAE,kBAAI;IACzB,eAAe,EAAE,wBAAU;IAC3B,mBAAmB,EAAE,kBAAI;IACzB,kBAAkB,EAAE,kBAAI;IACxB,YAAY,EAAE,wBAAU;IACxB,kBAAkB,EAAE,kBAAI;IACxB,oBAAoB,EAAE,kBAAI;IAC1B,gBAAgB,EAAE,kBAAI;IACtB,mBAAmB,EAAE,kBAAI;IACzB,YAAY,EAAE,wBAAU;IACxB,uBAAuB,EAAE,kBAAI;IAC7B,kBAAkB,EAAE,kBAAI;IACxB,yBAAyB,EAAE,kBAAI;IAC/B,+BAA+B,EAAE,kBAAI;IACrC,oBAAoB,EAAE,kBAAI;IAC1B,gBAAgB,EAAE,kBAAI;IACtB,mBAAmB,EAAE,kBAAI;IACzB,UAAU,EAAE,wBAAU;IACtB,oBAAoB,EAAE,kBAAI;IAC1B,uBAAuB,EAAE,kBAAI;IAC7B,cAAc,EAAE,kBAAI;IACpB,wBAAwB,EAAE,kBAAI;IAC9B,uBAAuB,EAAE,kBAAI;IAC7B,gBAAgB,EAAE,kBAAI;IACtB,4BAA4B,EAAE,kBAAI;IAClC,YAAY,EAAE,kBAAI;IAClB,WAAW,EAAE,wBAAU;IACvB,sBAAsB,EAAE,kBAAI;IAC5B,wBAAwB,EAAE,kBAAI;IAC9B,6BAA6B,EAAE,kBAAI;IACnC,4BAA4B,EAAE,kBAAI;IAClC,6BAA6B,EAAE,kBAAI;IACnC,8BAA8B,EAAE,kBAAI;IACpC,6BAA6B,EAAE,kBAAI;IACnC,kCAAkC,EAAE,kBAAI;IACxC,yBAAyB,EAAE,kBAAI;IAC/B,mBAAmB,EAAE,kBAAI;IACzB,mBAAmB,EAAE,kBAAI;IACzB,kBAAkB,EAAE,kBAAI;IACxB,kBAAkB,EAAE,kBAAI;IACxB,gBAAgB,EAAE,kBAAI;IACtB,sBAAsB,EAAE,wBAAU;IAClC,0BAA0B,EAAE,kBAAI;IAChC,+BAA+B,EAAE,kBAAI;IACrC,eAAe,EAAE,wBAAU;IAC3B,WAAW,EAAE,wBAAU;IACvB,sBAAsB,EAAE,kBAAI;IAC5B,iBAAiB,EAAE,wBAAU;IAC7B,qBAAqB,EAAE,kBAAI;IAC3B,gBAAgB,EAAE,wBAAU;IAC5B,oBAAoB,EAAE,kBAAI;IAC1B,YAAY,EAAE,wBAAU;IACxB,UAAU,EAAE,wBAAU;IACtB,iBAAiB,EAAE,wBAAU;IAC7B,qBAAqB,EAAE,wBAAU;IACjC,yBAAyB,EAAE,kBAAI;IAC/B,8BAA8B,EAAE,kBAAI;IACpC,YAAY,EAAE,wBAAU;IACxB,WAAW,EAAE,wBAAU;IACvB,0BAA0B,EAAE,wBAAU;IACtC,SAAS,EAAE,wBAAU;IACrB,YAAY,EAAE,wBAAU;IACxB,sBAAsB,EAAE,wBAAU;IAClC,oBAAoB,EAAE,wBAAU;IAChC,sBAAsB,EAAE,wBAAU;IAClC,yBAAyB,EAAE,kBAAI;IAC/B,SAAS,EAAE,wBAAU;IACrB,iBAAiB,EAAE,kBAAI;IACvB,YAAY,EAAE,wBAAU;IACxB,+BAA+B,EAAE,wBAAU;IAC3C,qBAAqB,EAAE,kBAAI;IAC3B,6BAA6B,EAAE,kBAAI;IACnC,gCAAgC,EAAE,wBAAU;IAC5C,iBAAiB,EAAE,wBAAU;IAC7B,wBAAwB,EAAE,kBAAI;IAC9B,uBAAuB,EAAE,kBAAI;IAC7B,gBAAgB,EAAE,kBAAI;IACtB,mBAAmB,EAAE,kBAAI;IACzB,6BAA6B,EAAE,kBAAI;IACnC,YAAY,EAAE,wBAAU;IACxB,yBAAyB,EAAE,kBAAI;IAC/B,MAAM,EAAE,wBAAU;IAClB,cAAc,EAAE,kBAAI;IACpB,iBAAiB,EAAE,wBAAU;IAC7B,yBAAyB,EAAE,kBAAI;IAC/B,cAAc,EAAE,wBAAU;IAC1B,eAAe,EAAE,wBAAU;IAC3B,aAAa,EAAE,kBAAI;IACnB,UAAU,EAAE,kBAAI;IAChB,cAAc,EAAE,wBAAU;IAC1B,+BAA+B,EAAE,wBAAU;IAC3C,2BAA2B,EAAE,wBAAU;IACvC,gBAAgB,EAAE,kBAAI;IACtB,WAAW,EAAE,kBAAI;IACjB,cAAc,EAAE,wBAAU;IAC1B,sBAAsB,EAAE,kBAAI;IAC5B,sBAAsB,EAAE,kBAAI;IAC5B,yBAAyB,EAAE,wBAAU;IACrC,iCAAiC,EAAE,kBAAI;IACvC,0BAA0B,EAAE,kBAAI;IAChC,oBAAoB,EAAE,wBAAU;CACa,CAAC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/scope-manager/package.json b/node_modules/@typescript-eslint/scope-manager/package.json index 0c3d55a85c..0293f8fe13 100644 --- a/node_modules/@typescript-eslint/scope-manager/package.json +++ b/node_modules/@typescript-eslint/scope-manager/package.json @@ -1,6 +1,6 @@ { "name": "@typescript-eslint/scope-manager", - "version": "8.15.0", + "version": "8.16.0", "description": "TypeScript scope analyser for ESLint", "files": [ "dist", @@ -46,13 +46,13 @@ "typecheck": "npx nx typecheck" }, "dependencies": { - "@typescript-eslint/types": "8.15.0", - "@typescript-eslint/visitor-keys": "8.15.0" + "@typescript-eslint/types": "8.16.0", + "@typescript-eslint/visitor-keys": "8.16.0" }, "devDependencies": { "@jest/types": "29.6.3", "@types/glob": "*", - "@typescript-eslint/typescript-estree": "8.15.0", + "@typescript-eslint/typescript-estree": "8.16.0", "glob": "*", "jest-specific-snapshot": "*", "make-dir": "*", diff --git a/node_modules/@typescript-eslint/type-utils/dist/TypeOrValueSpecifier.js b/node_modules/@typescript-eslint/type-utils/dist/TypeOrValueSpecifier.js index b373535aeb..a504970875 100644 --- a/node_modules/@typescript-eslint/type-utils/dist/TypeOrValueSpecifier.js +++ b/node_modules/@typescript-eslint/type-utils/dist/TypeOrValueSpecifier.js @@ -15,13 +15,23 @@ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? ( }) : function(o, v) { o["default"] = v; }); -var __importStar = (this && this.__importStar) || function (mod) { - if (mod && mod.__esModule) return mod; - var result = {}; - if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k); - __setModuleDefault(result, mod); - return result; -}; +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); Object.defineProperty(exports, "__esModule", { value: true }); exports.typeMatchesSomeSpecifier = exports.typeOrValueSpecifiersSchema = void 0; exports.typeMatchesSpecifier = typeMatchesSpecifier; diff --git a/node_modules/@typescript-eslint/type-utils/dist/TypeOrValueSpecifier.js.map b/node_modules/@typescript-eslint/type-utils/dist/TypeOrValueSpecifier.js.map index af99bc1880..3b64aecbd2 100644 --- a/node_modules/@typescript-eslint/type-utils/dist/TypeOrValueSpecifier.js.map +++ b/node_modules/@typescript-eslint/type-utils/dist/TypeOrValueSpecifier.js.map @@ -1 +1 @@ -{"version":3,"file":"TypeOrValueSpecifier.js","sourceRoot":"","sources":["../src/TypeOrValueSpecifier.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAoKA,oDAgCC;AAjMD,sDAAwC;AAExC,uFAAoF;AACpF,mFAAgF;AAChF,iFAA8E;AAC9E,uHAAoH;AA6DvG,QAAA,2BAA2B,GAAG;IACzC,KAAK,EAAE;QACL,KAAK,EAAE;YACL;gBACE,IAAI,EAAE,QAAQ;aACf;YACD;gBACE,oBAAoB,EAAE,KAAK;gBAC3B,UAAU,EAAE;oBACV,IAAI,EAAE;wBACJ,IAAI,EAAE,CAAC,MAAM,CAAC;wBACd,IAAI,EAAE,QAAQ;qBACf;oBACD,IAAI,EAAE;wBACJ,KAAK,EAAE;4BACL;gCACE,IAAI,EAAE,QAAQ;6BACf;4BACD;gCACE,KAAK,EAAE;oCACL,IAAI,EAAE,QAAQ;iCACf;gCACD,QAAQ,EAAE,CAAC;gCACX,IAAI,EAAE,OAAO;gCACb,WAAW,EAAE,IAAI;6BAClB;yBACF;qBACF;oBACD,IAAI,EAAE;wBACJ,IAAI,EAAE,QAAQ;qBACf;iBACF;gBACD,QAAQ,EAAE,CAAC,MAAM,EAAE,MAAM,CAAC;gBAC1B,IAAI,EAAE,QAAQ;aACf;YACD;gBACE,oBAAoB,EAAE,KAAK;gBAC3B,UAAU,EAAE;oBACV,IAAI,EAAE;wBACJ,IAAI,EAAE,CAAC,KAAK,CAAC;wBACb,IAAI,EAAE,QAAQ;qBACf;oBACD,IAAI,EAAE;wBACJ,KAAK,EAAE;4BACL;gCACE,IAAI,EAAE,QAAQ;6BACf;4BACD;gCACE,KAAK,EAAE;oCACL,IAAI,EAAE,QAAQ;iCACf;gCACD,QAAQ,EAAE,CAAC;gCACX,IAAI,EAAE,OAAO;gCACb,WAAW,EAAE,IAAI;6BAClB;yBACF;qBACF;iBACF;gBACD,QAAQ,EAAE,CAAC,MAAM,EAAE,MAAM,CAAC;gBAC1B,IAAI,EAAE,QAAQ;aACf;YACD;gBACE,oBAAoB,EAAE,KAAK;gBAC3B,UAAU,EAAE;oBACV,IAAI,EAAE;wBACJ,IAAI,EAAE,CAAC,SAAS,CAAC;wBACjB,IAAI,EAAE,QAAQ;qBACf;oBACD,IAAI,EAAE;wBACJ,KAAK,EAAE;4BACL;gCACE,IAAI,EAAE,QAAQ;6BACf;4BACD;gCACE,KAAK,EAAE;oCACL,IAAI,EAAE,QAAQ;iCACf;gCACD,QAAQ,EAAE,CAAC;gCACX,IAAI,EAAE,OAAO;gCACb,WAAW,EAAE,IAAI;6BAClB;yBACF;qBACF;oBACD,OAAO,EAAE;wBACP,IAAI,EAAE,QAAQ;qBACf;iBACF;gBACD,QAAQ,EAAE,CAAC,MAAM,EAAE,MAAM,EAAE,SAAS,CAAC;gBACrC,IAAI,EAAE,QAAQ;aACf;SACF;KACF;IACD,IAAI,EAAE,OAAO;CACiB,CAAC;AAEjC,SAAgB,oBAAoB,CAClC,IAAa,EACb,SAA+B,EAC/B,OAAmB;IAEnB,IAAI,OAAO,CAAC,oBAAoB,CAAC,IAAI,CAAC,EAAE,CAAC;QACvC,OAAO,KAAK,CAAC;IACf,CAAC;IACD,IAAI,OAAO,SAAS,KAAK,QAAQ,EAAE,CAAC;QAClC,OAAO,IAAA,2CAAoB,EAAC,IAAI,EAAE,SAAS,CAAC,CAAC;IAC/C,CAAC;IACD,IAAI,CAAC,IAAA,2CAAoB,EAAC,IAAI,EAAE,SAAS,CAAC,IAAI,CAAC,EAAE,CAAC;QAChD,OAAO,KAAK,CAAC;IACf,CAAC;IACD,MAAM,MAAM,GAAG,IAAI,CAAC,SAAS,EAAE,IAAI,IAAI,CAAC,WAAW,CAAC;IACpD,MAAM,YAAY,GAAG,MAAM,EAAE,eAAe,EAAE,IAAI,EAAE,CAAC;IACrD,MAAM,gBAAgB,GAAG,YAAY,CAAC,GAAG,CAAC,WAAW,CAAC,EAAE,CACtD,WAAW,CAAC,aAAa,EAAE,CAC5B,CAAC;IACF,QAAQ,SAAS,CAAC,IAAI,EAAE,CAAC;QACvB,KAAK,MAAM;YACT,OAAO,IAAA,uCAAkB,EAAC,SAAS,CAAC,IAAI,EAAE,gBAAgB,EAAE,OAAO,CAAC,CAAC;QACvE,KAAK,KAAK;YACR,OAAO,IAAA,qCAAiB,EAAC,gBAAgB,EAAE,OAAO,CAAC,CAAC;QACtD,KAAK,SAAS;YACZ,OAAO,IAAA,2EAAoC,EACzC,SAAS,CAAC,OAAO,EACjB,YAAY,EACZ,gBAAgB,EAChB,OAAO,CACR,CAAC;IACN,CAAC;AACH,CAAC;AAEM,MAAM,wBAAwB,GAAG,CACtC,IAAa,EACb,aAAqC,EAAE,EACvC,OAAmB,EACV,EAAE,CACX,UAAU,CAAC,IAAI,CAAC,SAAS,CAAC,EAAE,CAAC,oBAAoB,CAAC,IAAI,EAAE,SAAS,EAAE,OAAO,CAAC,CAAC,CAAC;AALlE,QAAA,wBAAwB,4BAK0C"} \ No newline at end of file +{"version":3,"file":"TypeOrValueSpecifier.js","sourceRoot":"","sources":["../src/TypeOrValueSpecifier.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAoKA,oDAgCC;AAjMD,sDAAwC;AAExC,uFAAoF;AACpF,mFAAgF;AAChF,iFAA8E;AAC9E,uHAAoH;AA6DvG,QAAA,2BAA2B,GAAG;IACzC,KAAK,EAAE;QACL,KAAK,EAAE;YACL;gBACE,IAAI,EAAE,QAAQ;aACf;YACD;gBACE,oBAAoB,EAAE,KAAK;gBAC3B,UAAU,EAAE;oBACV,IAAI,EAAE;wBACJ,IAAI,EAAE,CAAC,MAAM,CAAC;wBACd,IAAI,EAAE,QAAQ;qBACf;oBACD,IAAI,EAAE;wBACJ,KAAK,EAAE;4BACL;gCACE,IAAI,EAAE,QAAQ;6BACf;4BACD;gCACE,KAAK,EAAE;oCACL,IAAI,EAAE,QAAQ;iCACf;gCACD,QAAQ,EAAE,CAAC;gCACX,IAAI,EAAE,OAAO;gCACb,WAAW,EAAE,IAAI;6BAClB;yBACF;qBACF;oBACD,IAAI,EAAE;wBACJ,IAAI,EAAE,QAAQ;qBACf;iBACF;gBACD,QAAQ,EAAE,CAAC,MAAM,EAAE,MAAM,CAAC;gBAC1B,IAAI,EAAE,QAAQ;aACf;YACD;gBACE,oBAAoB,EAAE,KAAK;gBAC3B,UAAU,EAAE;oBACV,IAAI,EAAE;wBACJ,IAAI,EAAE,CAAC,KAAK,CAAC;wBACb,IAAI,EAAE,QAAQ;qBACf;oBACD,IAAI,EAAE;wBACJ,KAAK,EAAE;4BACL;gCACE,IAAI,EAAE,QAAQ;6BACf;4BACD;gCACE,KAAK,EAAE;oCACL,IAAI,EAAE,QAAQ;iCACf;gCACD,QAAQ,EAAE,CAAC;gCACX,IAAI,EAAE,OAAO;gCACb,WAAW,EAAE,IAAI;6BAClB;yBACF;qBACF;iBACF;gBACD,QAAQ,EAAE,CAAC,MAAM,EAAE,MAAM,CAAC;gBAC1B,IAAI,EAAE,QAAQ;aACf;YACD;gBACE,oBAAoB,EAAE,KAAK;gBAC3B,UAAU,EAAE;oBACV,IAAI,EAAE;wBACJ,IAAI,EAAE,CAAC,SAAS,CAAC;wBACjB,IAAI,EAAE,QAAQ;qBACf;oBACD,IAAI,EAAE;wBACJ,KAAK,EAAE;4BACL;gCACE,IAAI,EAAE,QAAQ;6BACf;4BACD;gCACE,KAAK,EAAE;oCACL,IAAI,EAAE,QAAQ;iCACf;gCACD,QAAQ,EAAE,CAAC;gCACX,IAAI,EAAE,OAAO;gCACb,WAAW,EAAE,IAAI;6BAClB;yBACF;qBACF;oBACD,OAAO,EAAE;wBACP,IAAI,EAAE,QAAQ;qBACf;iBACF;gBACD,QAAQ,EAAE,CAAC,MAAM,EAAE,MAAM,EAAE,SAAS,CAAC;gBACrC,IAAI,EAAE,QAAQ;aACf;SACF;KACF;IACD,IAAI,EAAE,OAAO;CACiB,CAAC;AAEjC,SAAgB,oBAAoB,CAClC,IAAa,EACb,SAA+B,EAC/B,OAAmB;IAEnB,IAAI,OAAO,CAAC,oBAAoB,CAAC,IAAI,CAAC,EAAE,CAAC;QACvC,OAAO,KAAK,CAAC;IACf,CAAC;IACD,IAAI,OAAO,SAAS,KAAK,QAAQ,EAAE,CAAC;QAClC,OAAO,IAAA,2CAAoB,EAAC,IAAI,EAAE,SAAS,CAAC,CAAC;IAC/C,CAAC;IACD,IAAI,CAAC,IAAA,2CAAoB,EAAC,IAAI,EAAE,SAAS,CAAC,IAAI,CAAC,EAAE,CAAC;QAChD,OAAO,KAAK,CAAC;IACf,CAAC;IACD,MAAM,MAAM,GAAG,IAAI,CAAC,SAAS,EAAE,IAAI,IAAI,CAAC,WAAW,CAAC;IACpD,MAAM,YAAY,GAAG,MAAM,EAAE,eAAe,EAAE,IAAI,EAAE,CAAC;IACrD,MAAM,gBAAgB,GAAG,YAAY,CAAC,GAAG,CAAC,WAAW,CAAC,EAAE,CACtD,WAAW,CAAC,aAAa,EAAE,CAC5B,CAAC;IACF,QAAQ,SAAS,CAAC,IAAI,EAAE,CAAC;QACvB,KAAK,MAAM;YACT,OAAO,IAAA,uCAAkB,EAAC,SAAS,CAAC,IAAI,EAAE,gBAAgB,EAAE,OAAO,CAAC,CAAC;QACvE,KAAK,KAAK;YACR,OAAO,IAAA,qCAAiB,EAAC,gBAAgB,EAAE,OAAO,CAAC,CAAC;QACtD,KAAK,SAAS;YACZ,OAAO,IAAA,2EAAoC,EACzC,SAAS,CAAC,OAAO,EACjB,YAAY,EACZ,gBAAgB,EAChB,OAAO,CACR,CAAC;IACN,CAAC;AACH,CAAC;AAEM,MAAM,wBAAwB,GAAG,CACtC,IAAa,EACb,aAAqC,EAAE,EACvC,OAAmB,EACV,EAAE,CACX,UAAU,CAAC,IAAI,CAAC,SAAS,CAAC,EAAE,CAAC,oBAAoB,CAAC,IAAI,EAAE,SAAS,EAAE,OAAO,CAAC,CAAC,CAAC;AALlE,QAAA,wBAAwB,4BAK0C"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/type-utils/dist/builtinSymbolLikes.js b/node_modules/@typescript-eslint/type-utils/dist/builtinSymbolLikes.js index 799eaf1f6d..fc91f7ac54 100644 --- a/node_modules/@typescript-eslint/type-utils/dist/builtinSymbolLikes.js +++ b/node_modules/@typescript-eslint/type-utils/dist/builtinSymbolLikes.js @@ -15,13 +15,23 @@ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? ( }) : function(o, v) { o["default"] = v; }); -var __importStar = (this && this.__importStar) || function (mod) { - if (mod && mod.__esModule) return mod; - var result = {}; - if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k); - __setModuleDefault(result, mod); - return result; -}; +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); Object.defineProperty(exports, "__esModule", { value: true }); exports.isPromiseLike = isPromiseLike; exports.isPromiseConstructorLike = isPromiseConstructorLike; diff --git a/node_modules/@typescript-eslint/type-utils/dist/builtinSymbolLikes.js.map b/node_modules/@typescript-eslint/type-utils/dist/builtinSymbolLikes.js.map index 74be617b6b..a858bb3942 100644 --- a/node_modules/@typescript-eslint/type-utils/dist/builtinSymbolLikes.js.map +++ b/node_modules/@typescript-eslint/type-utils/dist/builtinSymbolLikes.js.map @@ -1 +1 @@ -{"version":3,"file":"builtinSymbolLikes.js","sourceRoot":"","sources":["../src/builtinSymbolLikes.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AAaA,sCAEC;AAUD,4DAKC;AAUD,kCAEC;AASD,kDAWC;AASD,gDAeC;AACD,wDA+BC;AAED,kDAwBC;AAED,kEA4CC;AA9LD,sDAAwC;AACxC,+CAAiC;AAEjC,6EAA0E;AAE1E;;;;;;;GAOG;AACH,SAAgB,aAAa,CAAC,OAAmB,EAAE,IAAa;IAC9D,OAAO,mBAAmB,CAAC,OAAO,EAAE,IAAI,EAAE,SAAS,CAAC,CAAC;AACvD,CAAC;AAED;;;;;;;GAOG;AACH,SAAgB,wBAAwB,CACtC,OAAmB,EACnB,IAAa;IAEb,OAAO,mBAAmB,CAAC,OAAO,EAAE,IAAI,EAAE,oBAAoB,CAAC,CAAC;AAClE,CAAC;AAED;;;;;;;GAOG;AACH,SAAgB,WAAW,CAAC,OAAmB,EAAE,IAAa;IAC5D,OAAO,mBAAmB,CAAC,OAAO,EAAE,IAAI,EAAE,OAAO,CAAC,CAAC;AACrD,CAAC;AAED;;;;;;GAMG;AACH,SAAgB,mBAAmB,CACjC,OAAmB,EACnB,IAAa;IAEb,OAAO,kBAAkB,CAAC,OAAO,EAAE,IAAI,EAAE,OAAO,CAAC,EAAE;QACjD,MAAM,CAAC,YAAY,CAAC,GAAG,OAAO,CAAC,kBAAkB,CAAC;QAClD,OAAO,CACL,WAAW,CAAC,OAAO,EAAE,YAAY,CAAC;YAClC,mBAAmB,CAAC,OAAO,EAAE,YAAY,CAAC,CAC3C,CAAC;IACJ,CAAC,CAAC,CAAC;AACL,CAAC;AAED;;;;;;GAMG;AACH,SAAgB,kBAAkB,CAChC,OAAmB,EACnB,IAAa,EACb,SAKY;IAEZ,OAAO,sBAAsB,CAAC,OAAO,EAAE,IAAI,EAAE,OAAO,CAAC,EAAE;QACrD,OAAO,CACL,OAAO,CAAC,WAAW,CAAC,OAAO,EAAE,KAAK,UAAU,IAAI,CAAC,CAAC,SAAS,EAAE,CAAC,OAAO,CAAC,CACvE,CAAC;IACJ,CAAC,CAAC,CAAC;AACL,CAAC;AACD,SAAgB,sBAAsB,CACpC,OAAmB,EACnB,IAAa,EACb,SAKY;IAEZ,OAAO,2BAA2B,CAAC,OAAO,EAAE,IAAI,EAAE,OAAO,CAAC,EAAE;QAC1D,MAAM,EAAE,WAAW,EAAE,kBAAkB,EAAE,GAAG,OAAO,CAAC;QAEpD,IAAI,CAAC,WAAW,IAAI,CAAC,kBAAkB,EAAE,CAAC;YACxC,OAAO,KAAK,CAAC;QACf,CAAC;QAED,IACE,IAAA,uDAA0B,EAAC,OAAO,EAAE,WAAW,CAAC;YAChD,SAAS,CACP,OAGW,CACZ,EACD,CAAC;YACD,OAAO,IAAI,CAAC;QACd,CAAC;QAED,OAAO,IAAI,CAAC;IACd,CAAC,CAAC,CAAC;AACL,CAAC;AAED,SAAgB,mBAAmB,CACjC,OAAmB,EACnB,IAAa,EACb,UAA6B;IAE7B,OAAO,2BAA2B,CAAC,OAAO,EAAE,IAAI,EAAE,OAAO,CAAC,EAAE;QAC1D,MAAM,MAAM,GAAG,OAAO,CAAC,SAAS,EAAE,CAAC;QACnC,IAAI,CAAC,MAAM,EAAE,CAAC;YACZ,OAAO,KAAK,CAAC;QACf,CAAC;QAED,MAAM,gBAAgB,GAAG,MAAM,CAAC,OAAO,EAAE,CAAC;QAE1C,IACE,CAAC,KAAK,CAAC,OAAO,CAAC,UAAU,CAAC;YACxB,CAAC,CAAC,UAAU,CAAC,IAAI,CAAC,IAAI,CAAC,EAAE,CAAC,gBAAgB,KAAK,IAAI,CAAC;YACpD,CAAC,CAAC,gBAAgB,KAAK,UAAU,CAAC;YACpC,IAAA,uDAA0B,EAAC,OAAO,EAAE,MAAM,CAAC,EAC3C,CAAC;YACD,OAAO,IAAI,CAAC;QACd,CAAC;QAED,OAAO,IAAI,CAAC;IACd,CAAC,CAAC,CAAC;AACL,CAAC;AAED,SAAgB,2BAA2B,CACzC,OAAmB,EACnB,IAAa,EACb,SAA+C;IAE/C,IAAI,IAAI,CAAC,cAAc,EAAE,EAAE,CAAC;QAC1B,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,CACzB,2BAA2B,CAAC,OAAO,EAAE,CAAC,EAAE,SAAS,CAAC,CACnD,CAAC;IACJ,CAAC;IACD,IAAI,IAAI,CAAC,OAAO,EAAE,EAAE,CAAC;QACnB,OAAO,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,CAC1B,2BAA2B,CAAC,OAAO,EAAE,CAAC,EAAE,SAAS,CAAC,CACnD,CAAC;IACJ,CAAC;IACD,6DAA6D;IAC7D,IAAK,OAAO,CAAC,eAA8C,CAAC,IAAI,CAAC,EAAE,CAAC;QAClE,MAAM,CAAC,GAAG,IAAI,CAAC,aAAa,EAAE,CAAC;QAE/B,IAAI,CAAC,EAAE,CAAC;YACN,OAAO,2BAA2B,CAAC,OAAO,EAAE,CAAC,EAAE,SAAS,CAAC,CAAC;QAC5D,CAAC;QAED,OAAO,KAAK,CAAC;IACf,CAAC;IAED,MAAM,eAAe,GAAG,SAAS,CAAC,IAAI,CAAC,CAAC;IACxC,IAAI,OAAO,eAAe,KAAK,SAAS,EAAE,CAAC;QACzC,OAAO,eAAe,CAAC;IACzB,CAAC;IAED,MAAM,MAAM,GAAG,IAAI,CAAC,SAAS,EAAE,CAAC;IAChC,IACE,MAAM;QACN,MAAM,CAAC,KAAK,GAAG,CAAC,EAAE,CAAC,WAAW,CAAC,KAAK,GAAG,EAAE,CAAC,WAAW,CAAC,SAAS,CAAC,EAChE,CAAC;QACD,MAAM,OAAO,GAAG,OAAO,CAAC,cAAc,EAAE,CAAC;QACzC,KAAK,MAAM,QAAQ,IAAI,OAAO,CAAC,YAAY,CAAC,IAAwB,CAAC,EAAE,CAAC;YACtE,IAAI,2BAA2B,CAAC,OAAO,EAAE,QAAQ,EAAE,SAAS,CAAC,EAAE,CAAC;gBAC9D,OAAO,IAAI,CAAC;YACd,CAAC;QACH,CAAC;IACH,CAAC;IACD,OAAO,KAAK,CAAC;AACf,CAAC"} \ No newline at end of file +{"version":3,"file":"builtinSymbolLikes.js","sourceRoot":"","sources":["../src/builtinSymbolLikes.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAaA,sCAEC;AAUD,4DAKC;AAUD,kCAEC;AASD,kDAWC;AASD,gDAeC;AACD,wDA+BC;AAED,kDAwBC;AAED,kEA4CC;AA9LD,sDAAwC;AACxC,+CAAiC;AAEjC,6EAA0E;AAE1E;;;;;;;GAOG;AACH,SAAgB,aAAa,CAAC,OAAmB,EAAE,IAAa;IAC9D,OAAO,mBAAmB,CAAC,OAAO,EAAE,IAAI,EAAE,SAAS,CAAC,CAAC;AACvD,CAAC;AAED;;;;;;;GAOG;AACH,SAAgB,wBAAwB,CACtC,OAAmB,EACnB,IAAa;IAEb,OAAO,mBAAmB,CAAC,OAAO,EAAE,IAAI,EAAE,oBAAoB,CAAC,CAAC;AAClE,CAAC;AAED;;;;;;;GAOG;AACH,SAAgB,WAAW,CAAC,OAAmB,EAAE,IAAa;IAC5D,OAAO,mBAAmB,CAAC,OAAO,EAAE,IAAI,EAAE,OAAO,CAAC,CAAC;AACrD,CAAC;AAED;;;;;;GAMG;AACH,SAAgB,mBAAmB,CACjC,OAAmB,EACnB,IAAa;IAEb,OAAO,kBAAkB,CAAC,OAAO,EAAE,IAAI,EAAE,OAAO,CAAC,EAAE;QACjD,MAAM,CAAC,YAAY,CAAC,GAAG,OAAO,CAAC,kBAAkB,CAAC;QAClD,OAAO,CACL,WAAW,CAAC,OAAO,EAAE,YAAY,CAAC;YAClC,mBAAmB,CAAC,OAAO,EAAE,YAAY,CAAC,CAC3C,CAAC;IACJ,CAAC,CAAC,CAAC;AACL,CAAC;AAED;;;;;;GAMG;AACH,SAAgB,kBAAkB,CAChC,OAAmB,EACnB,IAAa,EACb,SAKY;IAEZ,OAAO,sBAAsB,CAAC,OAAO,EAAE,IAAI,EAAE,OAAO,CAAC,EAAE;QACrD,OAAO,CACL,OAAO,CAAC,WAAW,CAAC,OAAO,EAAE,KAAK,UAAU,IAAI,CAAC,CAAC,SAAS,EAAE,CAAC,OAAO,CAAC,CACvE,CAAC;IACJ,CAAC,CAAC,CAAC;AACL,CAAC;AACD,SAAgB,sBAAsB,CACpC,OAAmB,EACnB,IAAa,EACb,SAKY;IAEZ,OAAO,2BAA2B,CAAC,OAAO,EAAE,IAAI,EAAE,OAAO,CAAC,EAAE;QAC1D,MAAM,EAAE,WAAW,EAAE,kBAAkB,EAAE,GAAG,OAAO,CAAC;QAEpD,IAAI,CAAC,WAAW,IAAI,CAAC,kBAAkB,EAAE,CAAC;YACxC,OAAO,KAAK,CAAC;QACf,CAAC;QAED,IACE,IAAA,uDAA0B,EAAC,OAAO,EAAE,WAAW,CAAC;YAChD,SAAS,CACP,OAGW,CACZ,EACD,CAAC;YACD,OAAO,IAAI,CAAC;QACd,CAAC;QAED,OAAO,IAAI,CAAC;IACd,CAAC,CAAC,CAAC;AACL,CAAC;AAED,SAAgB,mBAAmB,CACjC,OAAmB,EACnB,IAAa,EACb,UAA6B;IAE7B,OAAO,2BAA2B,CAAC,OAAO,EAAE,IAAI,EAAE,OAAO,CAAC,EAAE;QAC1D,MAAM,MAAM,GAAG,OAAO,CAAC,SAAS,EAAE,CAAC;QACnC,IAAI,CAAC,MAAM,EAAE,CAAC;YACZ,OAAO,KAAK,CAAC;QACf,CAAC;QAED,MAAM,gBAAgB,GAAG,MAAM,CAAC,OAAO,EAAE,CAAC;QAE1C,IACE,CAAC,KAAK,CAAC,OAAO,CAAC,UAAU,CAAC;YACxB,CAAC,CAAC,UAAU,CAAC,IAAI,CAAC,IAAI,CAAC,EAAE,CAAC,gBAAgB,KAAK,IAAI,CAAC;YACpD,CAAC,CAAC,gBAAgB,KAAK,UAAU,CAAC;YACpC,IAAA,uDAA0B,EAAC,OAAO,EAAE,MAAM,CAAC,EAC3C,CAAC;YACD,OAAO,IAAI,CAAC;QACd,CAAC;QAED,OAAO,IAAI,CAAC;IACd,CAAC,CAAC,CAAC;AACL,CAAC;AAED,SAAgB,2BAA2B,CACzC,OAAmB,EACnB,IAAa,EACb,SAA+C;IAE/C,IAAI,IAAI,CAAC,cAAc,EAAE,EAAE,CAAC;QAC1B,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,CACzB,2BAA2B,CAAC,OAAO,EAAE,CAAC,EAAE,SAAS,CAAC,CACnD,CAAC;IACJ,CAAC;IACD,IAAI,IAAI,CAAC,OAAO,EAAE,EAAE,CAAC;QACnB,OAAO,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,CAC1B,2BAA2B,CAAC,OAAO,EAAE,CAAC,EAAE,SAAS,CAAC,CACnD,CAAC;IACJ,CAAC;IACD,6DAA6D;IAC7D,IAAK,OAAO,CAAC,eAA8C,CAAC,IAAI,CAAC,EAAE,CAAC;QAClE,MAAM,CAAC,GAAG,IAAI,CAAC,aAAa,EAAE,CAAC;QAE/B,IAAI,CAAC,EAAE,CAAC;YACN,OAAO,2BAA2B,CAAC,OAAO,EAAE,CAAC,EAAE,SAAS,CAAC,CAAC;QAC5D,CAAC;QAED,OAAO,KAAK,CAAC;IACf,CAAC;IAED,MAAM,eAAe,GAAG,SAAS,CAAC,IAAI,CAAC,CAAC;IACxC,IAAI,OAAO,eAAe,KAAK,SAAS,EAAE,CAAC;QACzC,OAAO,eAAe,CAAC;IACzB,CAAC;IAED,MAAM,MAAM,GAAG,IAAI,CAAC,SAAS,EAAE,CAAC;IAChC,IACE,MAAM;QACN,MAAM,CAAC,KAAK,GAAG,CAAC,EAAE,CAAC,WAAW,CAAC,KAAK,GAAG,EAAE,CAAC,WAAW,CAAC,SAAS,CAAC,EAChE,CAAC;QACD,MAAM,OAAO,GAAG,OAAO,CAAC,cAAc,EAAE,CAAC;QACzC,KAAK,MAAM,QAAQ,IAAI,OAAO,CAAC,YAAY,CAAC,IAAwB,CAAC,EAAE,CAAC;YACtE,IAAI,2BAA2B,CAAC,OAAO,EAAE,QAAQ,EAAE,SAAS,CAAC,EAAE,CAAC;gBAC9D,OAAO,IAAI,CAAC;YACd,CAAC;QACH,CAAC;IACH,CAAC;IACD,OAAO,KAAK,CAAC;AACf,CAAC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/type-utils/dist/containsAllTypesByName.js b/node_modules/@typescript-eslint/type-utils/dist/containsAllTypesByName.js index fef4efd795..9e431a10bd 100644 --- a/node_modules/@typescript-eslint/type-utils/dist/containsAllTypesByName.js +++ b/node_modules/@typescript-eslint/type-utils/dist/containsAllTypesByName.js @@ -15,13 +15,23 @@ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? ( }) : function(o, v) { o["default"] = v; }); -var __importStar = (this && this.__importStar) || function (mod) { - if (mod && mod.__esModule) return mod; - var result = {}; - if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k); - __setModuleDefault(result, mod); - return result; -}; +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); Object.defineProperty(exports, "__esModule", { value: true }); exports.containsAllTypesByName = containsAllTypesByName; const tsutils = __importStar(require("ts-api-utils")); diff --git a/node_modules/@typescript-eslint/type-utils/dist/containsAllTypesByName.js.map b/node_modules/@typescript-eslint/type-utils/dist/containsAllTypesByName.js.map index ec246df9aa..7a3071c548 100644 --- a/node_modules/@typescript-eslint/type-utils/dist/containsAllTypesByName.js.map +++ b/node_modules/@typescript-eslint/type-utils/dist/containsAllTypesByName.js.map @@ -1 +1 @@ -{"version":3,"file":"containsAllTypesByName.js","sourceRoot":"","sources":["../src/containsAllTypesByName.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AAYA,wDAoCC;AAhDD,sDAAwC;AACxC,+CAAiC;AAEjC,mDAAgD;AAEhD;;;;;;GAMG;AACH,SAAgB,sBAAsB,CACpC,IAAa,EACb,QAAiB,EACjB,YAAyB,EACzB,eAAe,GAAG,KAAK;IAEvB,IAAI,IAAA,6BAAa,EAAC,IAAI,EAAE,EAAE,CAAC,SAAS,CAAC,GAAG,GAAG,EAAE,CAAC,SAAS,CAAC,OAAO,CAAC,EAAE,CAAC;QACjE,OAAO,CAAC,QAAQ,CAAC;IACnB,CAAC;IAED,IAAI,OAAO,CAAC,eAAe,CAAC,IAAI,CAAC,EAAE,CAAC;QAClC,IAAI,GAAG,IAAI,CAAC,MAAM,CAAC;IACrB,CAAC;IAED,MAAM,MAAM,GAAG,IAAI,CAAC,SAAS,EAAE,CAAC;IAChC,IAAI,MAAM,IAAI,YAAY,CAAC,GAAG,CAAC,MAAM,CAAC,IAAI,CAAC,EAAE,CAAC;QAC5C,OAAO,IAAI,CAAC;IACd,CAAC;IAED,MAAM,SAAS,GAAG,CAAC,CAAU,EAAW,EAAE,CACxC,sBAAsB,CAAC,CAAC,EAAE,QAAQ,EAAE,YAAY,EAAE,eAAe,CAAC,CAAC;IAErE,IAAI,OAAO,CAAC,yBAAyB,CAAC,IAAI,CAAC,EAAE,CAAC;QAC5C,OAAO,eAAe;YACpB,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,SAAS,CAAC;YAC5B,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,SAAS,CAAC,CAAC;IAClC,CAAC;IAED,MAAM,KAAK,GAAG,IAAI,CAAC,YAAY,EAAE,CAAC;IAElC,OAAO,CACL,KAAK,KAAK,SAAS;QACnB,CAAC,eAAe;YACd,CAAC,CAAC,KAAK,CAAC,IAAI,CAAC,SAAS,CAAC;YACvB,CAAC,CAAC,KAAK,CAAC,MAAM,GAAG,CAAC,IAAI,KAAK,CAAC,KAAK,CAAC,SAAS,CAAC,CAAC,CAChD,CAAC;AACJ,CAAC"} \ No newline at end of file +{"version":3,"file":"containsAllTypesByName.js","sourceRoot":"","sources":["../src/containsAllTypesByName.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAYA,wDAoCC;AAhDD,sDAAwC;AACxC,+CAAiC;AAEjC,mDAAgD;AAEhD;;;;;;GAMG;AACH,SAAgB,sBAAsB,CACpC,IAAa,EACb,QAAiB,EACjB,YAAyB,EACzB,eAAe,GAAG,KAAK;IAEvB,IAAI,IAAA,6BAAa,EAAC,IAAI,EAAE,EAAE,CAAC,SAAS,CAAC,GAAG,GAAG,EAAE,CAAC,SAAS,CAAC,OAAO,CAAC,EAAE,CAAC;QACjE,OAAO,CAAC,QAAQ,CAAC;IACnB,CAAC;IAED,IAAI,OAAO,CAAC,eAAe,CAAC,IAAI,CAAC,EAAE,CAAC;QAClC,IAAI,GAAG,IAAI,CAAC,MAAM,CAAC;IACrB,CAAC;IAED,MAAM,MAAM,GAAG,IAAI,CAAC,SAAS,EAAE,CAAC;IAChC,IAAI,MAAM,IAAI,YAAY,CAAC,GAAG,CAAC,MAAM,CAAC,IAAI,CAAC,EAAE,CAAC;QAC5C,OAAO,IAAI,CAAC;IACd,CAAC;IAED,MAAM,SAAS,GAAG,CAAC,CAAU,EAAW,EAAE,CACxC,sBAAsB,CAAC,CAAC,EAAE,QAAQ,EAAE,YAAY,EAAE,eAAe,CAAC,CAAC;IAErE,IAAI,OAAO,CAAC,yBAAyB,CAAC,IAAI,CAAC,EAAE,CAAC;QAC5C,OAAO,eAAe;YACpB,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,SAAS,CAAC;YAC5B,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,SAAS,CAAC,CAAC;IAClC,CAAC;IAED,MAAM,KAAK,GAAG,IAAI,CAAC,YAAY,EAAE,CAAC;IAElC,OAAO,CACL,KAAK,KAAK,SAAS;QACnB,CAAC,eAAe;YACd,CAAC,CAAC,KAAK,CAAC,IAAI,CAAC,SAAS,CAAC;YACvB,CAAC,CAAC,KAAK,CAAC,MAAM,GAAG,CAAC,IAAI,KAAK,CAAC,KAAK,CAAC,SAAS,CAAC,CAAC,CAChD,CAAC;AACJ,CAAC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/type-utils/dist/getContextualType.js b/node_modules/@typescript-eslint/type-utils/dist/getContextualType.js index 70bb3add7f..0097e037dd 100644 --- a/node_modules/@typescript-eslint/type-utils/dist/getContextualType.js +++ b/node_modules/@typescript-eslint/type-utils/dist/getContextualType.js @@ -15,13 +15,23 @@ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? ( }) : function(o, v) { o["default"] = v; }); -var __importStar = (this && this.__importStar) || function (mod) { - if (mod && mod.__esModule) return mod; - var result = {}; - if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k); - __setModuleDefault(result, mod); - return result; -}; +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); Object.defineProperty(exports, "__esModule", { value: true }); exports.getContextualType = getContextualType; const ts = __importStar(require("typescript")); diff --git a/node_modules/@typescript-eslint/type-utils/dist/getContextualType.js.map b/node_modules/@typescript-eslint/type-utils/dist/getContextualType.js.map index 1f789c0ea9..245d31c1d1 100644 --- a/node_modules/@typescript-eslint/type-utils/dist/getContextualType.js.map +++ b/node_modules/@typescript-eslint/type-utils/dist/getContextualType.js.map @@ -1 +1 @@ -{"version":3,"file":"getContextualType.js","sourceRoot":"","sources":["../src/getContextualType.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AAOA,8CA2CC;AAlDD,+CAAiC;AAEjC;;;;GAIG;AACH,SAAgB,iBAAiB,CAC/B,OAAuB,EACvB,IAAmB;IAEnB,MAAM,MAAM,GAAG,IAAI,CAAC,MAAM,CAAC;IAE3B,IAAI,EAAE,CAAC,gBAAgB,CAAC,MAAM,CAAC,IAAI,EAAE,CAAC,eAAe,CAAC,MAAM,CAAC,EAAE,CAAC;QAC9D,IAAI,IAAI,KAAK,MAAM,CAAC,UAAU,EAAE,CAAC;YAC/B,2CAA2C;YAC3C,OAAO;QACT,CAAC;IACH,CAAC;SAAM,IACL,EAAE,CAAC,qBAAqB,CAAC,MAAM,CAAC;QAChC,EAAE,CAAC,qBAAqB,CAAC,MAAM,CAAC;QAChC,EAAE,CAAC,WAAW,CAAC,MAAM,CAAC,EACtB,CAAC;QACD,OAAO,MAAM,CAAC,IAAI,CAAC,CAAC,CAAC,OAAO,CAAC,mBAAmB,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC;IAC5E,CAAC;SAAM,IAAI,EAAE,CAAC,eAAe,CAAC,MAAM,CAAC,EAAE,CAAC;QACtC,OAAO,OAAO,CAAC,iBAAiB,CAAC,MAAM,CAAC,CAAC;IAC3C,CAAC;SAAM,IACL,EAAE,CAAC,YAAY,CAAC,IAAI,CAAC;QACrB,CAAC,EAAE,CAAC,oBAAoB,CAAC,MAAM,CAAC;YAC9B,EAAE,CAAC,6BAA6B,CAAC,MAAM,CAAC,CAAC,EAC3C,CAAC;QACD,OAAO,OAAO,CAAC,iBAAiB,CAAC,IAAI,CAAC,CAAC;IACzC,CAAC;SAAM,IACL,EAAE,CAAC,kBAAkB,CAAC,MAAM,CAAC;QAC7B,MAAM,CAAC,aAAa,CAAC,IAAI,KAAK,EAAE,CAAC,UAAU,CAAC,WAAW;QACvD,MAAM,CAAC,KAAK,KAAK,IAAI,EACrB,CAAC;QACD,uBAAuB;QACvB,OAAO,OAAO,CAAC,iBAAiB,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC;IAChD,CAAC;SAAM,IACL,CAAC,CAAC,EAAE,CAAC,UAAU,CAAC,aAAa,EAAE,EAAE,CAAC,UAAU,CAAC,YAAY,CAAC,CAAC,QAAQ,CACjE,MAAM,CAAC,IAAI,CACZ,EACD,CAAC;QACD,oEAAoE;QACpE,OAAO;IACT,CAAC;IACD,2CAA2C;IAE3C,OAAO,OAAO,CAAC,iBAAiB,CAAC,IAAI,CAAC,CAAC;AACzC,CAAC"} \ No newline at end of file +{"version":3,"file":"getContextualType.js","sourceRoot":"","sources":["../src/getContextualType.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAOA,8CA2CC;AAlDD,+CAAiC;AAEjC;;;;GAIG;AACH,SAAgB,iBAAiB,CAC/B,OAAuB,EACvB,IAAmB;IAEnB,MAAM,MAAM,GAAG,IAAI,CAAC,MAAM,CAAC;IAE3B,IAAI,EAAE,CAAC,gBAAgB,CAAC,MAAM,CAAC,IAAI,EAAE,CAAC,eAAe,CAAC,MAAM,CAAC,EAAE,CAAC;QAC9D,IAAI,IAAI,KAAK,MAAM,CAAC,UAAU,EAAE,CAAC;YAC/B,2CAA2C;YAC3C,OAAO;QACT,CAAC;IACH,CAAC;SAAM,IACL,EAAE,CAAC,qBAAqB,CAAC,MAAM,CAAC;QAChC,EAAE,CAAC,qBAAqB,CAAC,MAAM,CAAC;QAChC,EAAE,CAAC,WAAW,CAAC,MAAM,CAAC,EACtB,CAAC;QACD,OAAO,MAAM,CAAC,IAAI,CAAC,CAAC,CAAC,OAAO,CAAC,mBAAmB,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC;IAC5E,CAAC;SAAM,IAAI,EAAE,CAAC,eAAe,CAAC,MAAM,CAAC,EAAE,CAAC;QACtC,OAAO,OAAO,CAAC,iBAAiB,CAAC,MAAM,CAAC,CAAC;IAC3C,CAAC;SAAM,IACL,EAAE,CAAC,YAAY,CAAC,IAAI,CAAC;QACrB,CAAC,EAAE,CAAC,oBAAoB,CAAC,MAAM,CAAC;YAC9B,EAAE,CAAC,6BAA6B,CAAC,MAAM,CAAC,CAAC,EAC3C,CAAC;QACD,OAAO,OAAO,CAAC,iBAAiB,CAAC,IAAI,CAAC,CAAC;IACzC,CAAC;SAAM,IACL,EAAE,CAAC,kBAAkB,CAAC,MAAM,CAAC;QAC7B,MAAM,CAAC,aAAa,CAAC,IAAI,KAAK,EAAE,CAAC,UAAU,CAAC,WAAW;QACvD,MAAM,CAAC,KAAK,KAAK,IAAI,EACrB,CAAC;QACD,uBAAuB;QACvB,OAAO,OAAO,CAAC,iBAAiB,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC;IAChD,CAAC;SAAM,IACL,CAAC,CAAC,EAAE,CAAC,UAAU,CAAC,aAAa,EAAE,EAAE,CAAC,UAAU,CAAC,YAAY,CAAC,CAAC,QAAQ,CACjE,MAAM,CAAC,IAAI,CACZ,EACD,CAAC;QACD,oEAAoE;QACpE,OAAO;IACT,CAAC;IACD,2CAA2C;IAE3C,OAAO,OAAO,CAAC,iBAAiB,CAAC,IAAI,CAAC,CAAC;AACzC,CAAC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/type-utils/dist/getSourceFileOfNode.js b/node_modules/@typescript-eslint/type-utils/dist/getSourceFileOfNode.js index bbb0fc6f19..58d32407d1 100644 --- a/node_modules/@typescript-eslint/type-utils/dist/getSourceFileOfNode.js +++ b/node_modules/@typescript-eslint/type-utils/dist/getSourceFileOfNode.js @@ -15,13 +15,23 @@ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? ( }) : function(o, v) { o["default"] = v; }); -var __importStar = (this && this.__importStar) || function (mod) { - if (mod && mod.__esModule) return mod; - var result = {}; - if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k); - __setModuleDefault(result, mod); - return result; -}; +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); Object.defineProperty(exports, "__esModule", { value: true }); exports.getSourceFileOfNode = getSourceFileOfNode; const ts = __importStar(require("typescript")); diff --git a/node_modules/@typescript-eslint/type-utils/dist/getSourceFileOfNode.js.map b/node_modules/@typescript-eslint/type-utils/dist/getSourceFileOfNode.js.map index ba485902df..5847405f5d 100644 --- a/node_modules/@typescript-eslint/type-utils/dist/getSourceFileOfNode.js.map +++ b/node_modules/@typescript-eslint/type-utils/dist/getSourceFileOfNode.js.map @@ -1 +1 @@ -{"version":3,"file":"getSourceFileOfNode.js","sourceRoot":"","sources":["../src/getSourceFileOfNode.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AAKA,kDAKC;AAVD,+CAAiC;AAEjC;;GAEG;AACH,SAAgB,mBAAmB,CAAC,IAAa;IAC/C,OAAO,IAAI,CAAC,IAAI,KAAK,EAAE,CAAC,UAAU,CAAC,UAAU,EAAE,CAAC;QAC9C,IAAI,GAAG,IAAI,CAAC,MAAM,CAAC;IACrB,CAAC;IACD,OAAO,IAAqB,CAAC;AAC/B,CAAC"} \ No newline at end of file +{"version":3,"file":"getSourceFileOfNode.js","sourceRoot":"","sources":["../src/getSourceFileOfNode.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAKA,kDAKC;AAVD,+CAAiC;AAEjC;;GAEG;AACH,SAAgB,mBAAmB,CAAC,IAAa;IAC/C,OAAO,IAAI,CAAC,IAAI,KAAK,EAAE,CAAC,UAAU,CAAC,UAAU,EAAE,CAAC;QAC9C,IAAI,GAAG,IAAI,CAAC,MAAM,CAAC;IACrB,CAAC;IACD,OAAO,IAAqB,CAAC;AAC/B,CAAC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/type-utils/dist/getTypeName.js b/node_modules/@typescript-eslint/type-utils/dist/getTypeName.js index 857e58d72f..aed6d58d07 100644 --- a/node_modules/@typescript-eslint/type-utils/dist/getTypeName.js +++ b/node_modules/@typescript-eslint/type-utils/dist/getTypeName.js @@ -15,13 +15,23 @@ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? ( }) : function(o, v) { o["default"] = v; }); -var __importStar = (this && this.__importStar) || function (mod) { - if (mod && mod.__esModule) return mod; - var result = {}; - if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k); - __setModuleDefault(result, mod); - return result; -}; +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); Object.defineProperty(exports, "__esModule", { value: true }); exports.getTypeName = getTypeName; const ts = __importStar(require("typescript")); diff --git a/node_modules/@typescript-eslint/type-utils/dist/getTypeName.js.map b/node_modules/@typescript-eslint/type-utils/dist/getTypeName.js.map index ec5c5047f2..7d1128092d 100644 --- a/node_modules/@typescript-eslint/type-utils/dist/getTypeName.js.map +++ b/node_modules/@typescript-eslint/type-utils/dist/getTypeName.js.map @@ -1 +1 @@ -{"version":3,"file":"getTypeName.js","sourceRoot":"","sources":["../src/getTypeName.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AAOA,kCAwDC;AA/DD,+CAAiC;AAEjC;;;;GAIG;AACH,SAAgB,WAAW,CACzB,WAA2B,EAC3B,IAAa;IAEb,0DAA0D;IAC1D,IAAI,CAAC,IAAI,CAAC,KAAK,GAAG,EAAE,CAAC,SAAS,CAAC,UAAU,CAAC,KAAK,CAAC,EAAE,CAAC;QACjD,OAAO,QAAQ,CAAC;IAClB,CAAC;IAED,wEAAwE;IACxE,sEAAsE;IACtE,8BAA8B;IAC9B,IAAI,CAAC,IAAI,CAAC,KAAK,GAAG,EAAE,CAAC,SAAS,CAAC,aAAa,CAAC,KAAK,CAAC,EAAE,CAAC;QACpD,sEAAsE;QACtE,uEAAuE;QACvE,WAAW;QACX,MAAM,MAAM,GAAG,IAAI,CAAC,SAAS,EAAE,CAAC;QAChC,MAAM,KAAK,GAAG,MAAM,EAAE,eAAe,EAAE,CAAC;QACxC,MAAM,aAAa,GAAG,KAAK,EAAE,CAAC,CAAC,CAAC,CAAC;QACjC,IACE,aAAa,IAAI,IAAI;YACrB,EAAE,CAAC,0BAA0B,CAAC,aAAa,CAAC;YAC5C,aAAa,CAAC,UAAU,IAAI,IAAI,EAChC,CAAC;YACD,OAAO,WAAW,CAChB,WAAW,EACX,WAAW,CAAC,mBAAmB,CAAC,aAAa,CAAC,UAAU,CAAC,CAC1D,CAAC;QACJ,CAAC;IACH,CAAC;IAED,qEAAqE;IACrE,gCAAgC;IAChC,2BAA2B;IAC3B,uCAAuC;IACvC,IACE,IAAI,CAAC,OAAO,EAAE;QACd,IAAI,CAAC,KAAK;aACP,GAAG,CAAC,KAAK,CAAC,EAAE,CAAC,WAAW,CAAC,WAAW,EAAE,KAAK,CAAC,CAAC;aAC7C,KAAK,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,KAAK,QAAQ,CAAC,EAC7B,CAAC;QACD,OAAO,QAAQ,CAAC;IAClB,CAAC;IAED,0EAA0E;IAC1E,uEAAuE;IACvE,IACE,IAAI,CAAC,cAAc,EAAE;QACrB,IAAI,CAAC,KAAK;aACP,GAAG,CAAC,KAAK,CAAC,EAAE,CAAC,WAAW,CAAC,WAAW,EAAE,KAAK,CAAC,CAAC;aAC7C,IAAI,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,KAAK,QAAQ,CAAC,EAC5B,CAAC;QACD,OAAO,QAAQ,CAAC;IAClB,CAAC;IAED,OAAO,WAAW,CAAC,YAAY,CAAC,IAAI,CAAC,CAAC;AACxC,CAAC"} \ No newline at end of file +{"version":3,"file":"getTypeName.js","sourceRoot":"","sources":["../src/getTypeName.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAOA,kCAwDC;AA/DD,+CAAiC;AAEjC;;;;GAIG;AACH,SAAgB,WAAW,CACzB,WAA2B,EAC3B,IAAa;IAEb,0DAA0D;IAC1D,IAAI,CAAC,IAAI,CAAC,KAAK,GAAG,EAAE,CAAC,SAAS,CAAC,UAAU,CAAC,KAAK,CAAC,EAAE,CAAC;QACjD,OAAO,QAAQ,CAAC;IAClB,CAAC;IAED,wEAAwE;IACxE,sEAAsE;IACtE,8BAA8B;IAC9B,IAAI,CAAC,IAAI,CAAC,KAAK,GAAG,EAAE,CAAC,SAAS,CAAC,aAAa,CAAC,KAAK,CAAC,EAAE,CAAC;QACpD,sEAAsE;QACtE,uEAAuE;QACvE,WAAW;QACX,MAAM,MAAM,GAAG,IAAI,CAAC,SAAS,EAAE,CAAC;QAChC,MAAM,KAAK,GAAG,MAAM,EAAE,eAAe,EAAE,CAAC;QACxC,MAAM,aAAa,GAAG,KAAK,EAAE,CAAC,CAAC,CAAC,CAAC;QACjC,IACE,aAAa,IAAI,IAAI;YACrB,EAAE,CAAC,0BAA0B,CAAC,aAAa,CAAC;YAC5C,aAAa,CAAC,UAAU,IAAI,IAAI,EAChC,CAAC;YACD,OAAO,WAAW,CAChB,WAAW,EACX,WAAW,CAAC,mBAAmB,CAAC,aAAa,CAAC,UAAU,CAAC,CAC1D,CAAC;QACJ,CAAC;IACH,CAAC;IAED,qEAAqE;IACrE,gCAAgC;IAChC,2BAA2B;IAC3B,uCAAuC;IACvC,IACE,IAAI,CAAC,OAAO,EAAE;QACd,IAAI,CAAC,KAAK;aACP,GAAG,CAAC,KAAK,CAAC,EAAE,CAAC,WAAW,CAAC,WAAW,EAAE,KAAK,CAAC,CAAC;aAC7C,KAAK,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,KAAK,QAAQ,CAAC,EAC7B,CAAC;QACD,OAAO,QAAQ,CAAC;IAClB,CAAC;IAED,0EAA0E;IAC1E,uEAAuE;IACvE,IACE,IAAI,CAAC,cAAc,EAAE;QACrB,IAAI,CAAC,KAAK;aACP,GAAG,CAAC,KAAK,CAAC,EAAE,CAAC,WAAW,CAAC,WAAW,EAAE,KAAK,CAAC,CAAC;aAC7C,IAAI,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,KAAK,QAAQ,CAAC,EAC5B,CAAC;QACD,OAAO,QAAQ,CAAC;IAClB,CAAC;IAED,OAAO,WAAW,CAAC,YAAY,CAAC,IAAI,CAAC,CAAC;AACxC,CAAC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/type-utils/dist/isTypeReadonly.js b/node_modules/@typescript-eslint/type-utils/dist/isTypeReadonly.js index 65e07cb732..8a691095eb 100644 --- a/node_modules/@typescript-eslint/type-utils/dist/isTypeReadonly.js +++ b/node_modules/@typescript-eslint/type-utils/dist/isTypeReadonly.js @@ -15,13 +15,23 @@ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? ( }) : function(o, v) { o["default"] = v; }); -var __importStar = (this && this.__importStar) || function (mod) { - if (mod && mod.__esModule) return mod; - var result = {}; - if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k); - __setModuleDefault(result, mod); - return result; -}; +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); Object.defineProperty(exports, "__esModule", { value: true }); exports.readonlynessOptionsDefaults = exports.readonlynessOptionsSchema = void 0; exports.isTypeReadonly = isTypeReadonly; diff --git a/node_modules/@typescript-eslint/type-utils/dist/isTypeReadonly.js.map b/node_modules/@typescript-eslint/type-utils/dist/isTypeReadonly.js.map index b8771a40ab..0d0faf02bb 100644 --- a/node_modules/@typescript-eslint/type-utils/dist/isTypeReadonly.js.map +++ b/node_modules/@typescript-eslint/type-utils/dist/isTypeReadonly.js.map @@ -1 +1 @@ -{"version":3,"file":"isTypeReadonly.js","sourceRoot":"","sources":["../src/isTypeReadonly.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAwVS,wCAAc;AAtVvB,oDAAuD;AACvD,sDAAwC;AACxC,+CAAiC;AAIjC,mDAA0D;AAC1D,iEAGgC;AAgBnB,QAAA,yBAAyB,GAAG;IACvC,oBAAoB,EAAE,KAAK;IAC3B,UAAU,EAAE;QACV,KAAK,EAAE,kDAA2B;QAClC,sBAAsB,EAAE;YACtB,IAAI,EAAE,SAAS;SAChB;KACF;IACD,IAAI,EAAE,QAAQ;CACO,CAAC;AAEX,QAAA,2BAA2B,GAAwB;IAC9D,KAAK,EAAE,EAAE;IACT,sBAAsB,EAAE,KAAK;CAC9B,CAAC;AAEF,SAAS,SAAS,CAAC,IAAa;IAC9B,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,EAAE,QAAQ,CAAC,CAAC;AACvC,CAAC;AAED,SAAS,0BAA0B,CACjC,OAAmB,EACnB,IAAa,EACb,OAA4B,EAC5B,SAAuB;IAEvB,MAAM,OAAO,GAAG,OAAO,CAAC,cAAc,EAAE,CAAC;IACzC,SAAS,kBAAkB,CAAC,SAA2B;QACrD,MAAM,aAAa,GAAG,OAAO,CAAC,gBAAgB,CAAC,SAAS,CAAC,CAAC;QAE1D,uCAAuC;QACvC,4CAA4C;QAC5C,oDAAoD;QACpD,wBAAwB,CAAC,IAAI,aAAa,CAAC,MAAM,KAAK,CAAC,EAAE,CAAC;YACxD,qCAA6B;QAC/B,CAAC;QAED,+CAA+C;QAC/C,IACE,aAAa,CAAC,IAAI,CAChB,OAAO,CAAC,EAAE,CACR,sBAAsB,CAAC,OAAO,EAAE,OAAO,EAAE,OAAO,EAAE,SAAS,CAAC;wCACxC,CACvB,EACD,CAAC;YACD,oCAA4B;QAC9B,CAAC;QACD,qCAA6B;IAC/B,CAAC;IAED,IAAI,OAAO,CAAC,WAAW,CAAC,IAAI,CAAC,EAAE,CAAC;QAC9B,MAAM,MAAM,GAAG,mBAAW,CAAC,UAAU,CACnC,IAAI,CAAC,SAAS,EAAE,EAChB,mBAAW,CAAC,iBAAiB,CAAC,YAAY,CAAC,QAAQ,EAAE,YAAY,CAAC,CACnE,CAAC;QACF,MAAM,WAAW,GAAG,MAAM,CAAC,cAAc,EAAE,CAAC;QAC5C,wEAAwE;QACxE,IAAI,WAAW,KAAK,OAAO,EAAE,CAAC;YAC5B,oCAA4B;QAC9B,CAAC;QAED,OAAO,kBAAkB,CAAC,IAAI,CAAC,CAAC;IAClC,CAAC;IAED,IAAI,OAAO,CAAC,WAAW,CAAC,IAAI,CAAC,EAAE,CAAC;QAC9B,IAAI,CAAC,IAAI,CAAC,MAAM,CAAC,QAAQ,EAAE,CAAC;YAC1B,oCAA4B;QAC9B,CAAC;QAED,OAAO,kBAAkB,CAAC,IAAI,CAAC,CAAC;IAClC,CAAC;IAED,wCAAgC;AAClC,CAAC;AAED,SAAS,oBAAoB,CAC3B,OAAmB,EACnB,IAAa,EACb,OAA4B,EAC5B,SAAuB;IAEvB,MAAM,OAAO,GAAG,OAAO,CAAC,cAAc,EAAE,CAAC;IACzC,SAAS,mBAAmB,CAAC,IAAkB;QAC7C,MAAM,SAAS,GAAG,OAAO,CAAC,kBAAkB,CAAC,IAAI,EAAE,IAAI,CAAC,CAAC;QACzD,IAAI,SAAS,EAAE,CAAC;YACd,IAAI,CAAC,SAAS,CAAC,UAAU,EAAE,CAAC;gBAC1B,oCAA4B;YAC9B,CAAC;YAED,IAAI,SAAS,CAAC,IAAI,KAAK,IAAI,IAAI,SAAS,CAAC,GAAG,CAAC,SAAS,CAAC,IAAI,CAAC,EAAE,CAAC;gBAC7D,qCAA6B;YAC/B,CAAC;YAED,OAAO,sBAAsB,CAC3B,OAAO,EACP,SAAS,CAAC,IAAI,EACd,OAAO,EACP,SAAS,CACV,CAAC;QACJ,CAAC;QAED,wCAAgC;IAClC,CAAC;IAED,MAAM,UAAU,GAAG,IAAI,CAAC,aAAa,EAAE,CAAC;IACxC,IAAI,UAAU,CAAC,MAAM,EAAE,CAAC;QACtB,+CAA+C;QAC/C,KAAK,MAAM,QAAQ,IAAI,UAAU,EAAE,CAAC;YAClC,IAAI,OAAO,CAAC,sBAAsB,EAAE,CAAC;gBACnC,IACE,QAAQ,CAAC,gBAAgB,KAAK,SAAS;oBACvC,SAAS,CAAC,QAAQ,CAAC,gBAAgB,CAAC;oBACpC,OAAO,CAAC,eAAe,CACrB,QAAQ,CAAC,gBAAgB,CAAC,MAAM,EAChC,EAAE,CAAC,WAAW,CAAC,MAAM,CACtB,EACD,CAAC;oBACD,SAAS;gBACX,CAAC;gBAED,MAAM,YAAY,GAAG,QAAQ,CAAC,eAAe,EAAE,CAAC;gBAChD,MAAM,eAAe,GACnB,YAAY,KAAK,SAAS,IAAI,YAAY,CAAC,MAAM,GAAG,CAAC;oBACnD,CAAC,CAAC,YAAY,CAAC,YAAY,CAAC,MAAM,GAAG,CAAC,CAAC;oBACvC,CAAC,CAAC,SAAS,CAAC;gBAChB,IACE,eAAe,KAAK,SAAS;oBAC7B,SAAS,CAAC,eAAe,CAAC;oBAC1B,OAAO,CAAC,eAAe,CAAC,eAAe,CAAC,MAAM,EAAE,EAAE,CAAC,WAAW,CAAC,MAAM,CAAC,EACtE,CAAC;oBACD,SAAS;gBACX,CAAC;YACH,CAAC;YAED,IACE,OAAO,CAAC,wBAAwB,CAC9B,IAAI,EACJ,QAAQ,CAAC,cAAc,EAAE,EACzB,OAAO,CACR,EACD,CAAC;gBACD,SAAS;YACX,CAAC;YAED,MAAM,IAAI,GAAG,EAAE,CAAC,oBAAoB,CAAC,QAAQ,CAAC,gBAAgB,CAAC,CAAC;YAChE,IAAI,IAAI,IAAI,EAAE,CAAC,mBAAmB,CAAC,IAAI,CAAC,EAAE,CAAC;gBACzC,SAAS;YACX,CAAC;YAED,oCAA4B;QAC9B,CAAC;QAED,+BAA+B;QAC/B,uDAAuD;QAEvD,wEAAwE;QACxE,yEAAyE;QACzE,gDAAgD;QAChD,KAAK,MAAM,QAAQ,IAAI,UAAU,EAAE,CAAC;YAClC,MAAM,YAAY,GAAG,mBAAW,CAAC,UAAU,CACzC,IAAA,uCAAuB,EAAC,OAAO,EAAE,IAAI,EAAE,QAAQ,CAAC,EAChD,mBAAW,CAAC,iBAAiB,CAAC,YAAY,CACxC,aAAa,QAAQ,CAAC,IAAI,GAAG,EAC7B,MAAM,CACP,CACF,CAAC;YAEF,0BAA0B;YAC1B,gHAAgH;YAChH,IAAI,SAAS,CAAC,GAAG,CAAC,YAAY,CAAC,EAAE,CAAC;gBAChC,SAAS;YACX,CAAC;YAED,IACE,sBAAsB,CAAC,OAAO,EAAE,YAAY,EAAE,OAAO,EAAE,SAAS,CAAC;4CAC7C,EACpB,CAAC;gBACD,oCAA4B;YAC9B,CAAC;QACH,CAAC;IACH,CAAC;IAED,MAAM,wBAAwB,GAAG,mBAAmB,CAAC,EAAE,CAAC,SAAS,CAAC,MAAM,CAAC,CAAC;IAC1E,IAAI,wBAAwB,iCAAyB,EAAE,CAAC;QACtD,OAAO,wBAAwB,CAAC;IAClC,CAAC;IAED,MAAM,wBAAwB,GAAG,mBAAmB,CAAC,EAAE,CAAC,SAAS,CAAC,MAAM,CAAC,CAAC;IAC1E,IAAI,wBAAwB,iCAAyB,EAAE,CAAC;QACtD,OAAO,wBAAwB,CAAC;IAClC,CAAC;IAED,qCAA6B;AAC/B,CAAC;AAED,qGAAqG;AACrG,SAAS,sBAAsB,CAC7B,OAAmB,EACnB,IAAa,EACb,OAA4B,EAC5B,SAAuB;IAEvB,MAAM,OAAO,GAAG,OAAO,CAAC,cAAc,EAAE,CAAC;IACzC,SAAS,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC;IAEpB,IAAI,IAAA,+CAAwB,EAAC,IAAI,EAAE,OAAO,CAAC,KAAK,EAAE,OAAO,CAAC,EAAE,CAAC;QAC3D,qCAA6B;IAC/B,CAAC;IAED,IAAI,OAAO,CAAC,WAAW,CAAC,IAAI,CAAC,EAAE,CAAC;QAC9B,0CAA0C;QAC1C,MAAM,MAAM,GAAG,OAAO;aACnB,cAAc,CAAC,IAAI,CAAC;aACpB,KAAK,CACJ,CAAC,CAAC,EAAE,CACF,SAAS,CAAC,GAAG,CAAC,CAAC,CAAC;YAChB,sBAAsB,CAAC,OAAO,EAAE,CAAC,EAAE,OAAO,EAAE,SAAS,CAAC;6CAC/B,CAC1B,CAAC;QACJ,MAAM,YAAY,GAAG,MAAM,CAAC,CAAC,+BAAuB,CAAC,6BAAqB,CAAC;QAC3E,OAAO,YAAY,CAAC;IACtB,CAAC;IAED,IAAI,OAAO,CAAC,kBAAkB,CAAC,IAAI,CAAC,EAAE,CAAC;QACrC,mGAAmG;QACnG,IACE,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,CAAC,OAAO,CAAC,WAAW,CAAC,CAAC,CAAC,IAAI,OAAO,CAAC,WAAW,CAAC,CAAC,CAAC,CAAC,EACtE,CAAC;YACD,MAAM,gBAAgB,GAAG,IAAI,CAAC,KAAK,CAAC,KAAK,CACvC,CAAC,CAAC,EAAE,CACF,SAAS,CAAC,GAAG,CAAC,CAAC,CAAC;gBAChB,sBAAsB,CAAC,OAAO,EAAE,CAAC,EAAE,OAAO,EAAE,SAAS,CAAC;iDAC/B,CAC1B,CAAC;YACF,OAAO,gBAAgB,CAAC,CAAC,+BAAuB,CAAC,6BAAqB,CAAC;QACzE,CAAC;QAED,eAAe;QACf,MAAM,gBAAgB,GAAG,oBAAoB,CAC3C,OAAO,EACP,IAAI,EACJ,OAAO,EACP,SAAS,CACV,CAAC;QACF,IAAI,gBAAgB,qCAA6B,EAAE,CAAC;YAClD,OAAO,gBAAgB,CAAC;QAC1B,CAAC;IACH,CAAC;IAED,IAAI,OAAO,CAAC,iBAAiB,CAAC,IAAI,CAAC,EAAE,CAAC;QACpC,MAAM,MAAM,GAAG,CAAC,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,QAAQ,EAAE,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,SAAS,CAAC;aAC/D,GAAG,CAAC,OAAO,CAAC,mBAAmB,CAAC;aAChC,KAAK,CACJ,CAAC,CAAC,EAAE,CACF,SAAS,CAAC,GAAG,CAAC,CAAC,CAAC;YAChB,sBAAsB,CAAC,OAAO,EAAE,CAAC,EAAE,OAAO,EAAE,SAAS,CAAC;6CAC/B,CAC1B,CAAC;QAEJ,MAAM,YAAY,GAAG,MAAM,CAAC,CAAC,+BAAuB,CAAC,6BAAqB,CAAC;QAC3E,OAAO,YAAY,CAAC;IACtB,CAAC;IAED,uDAAuD;IACvD,sCAAsC;IACtC,IAAI,CAAC,OAAO,CAAC,YAAY,CAAC,IAAI,CAAC,EAAE,CAAC;QAChC,qCAA6B;IAC/B,CAAC;IAED,mCAAmC;IACnC,IACE,IAAI,CAAC,iBAAiB,EAAE,CAAC,MAAM,GAAG,CAAC;QACnC,IAAI,CAAC,aAAa,EAAE,CAAC,MAAM,KAAK,CAAC,EACjC,CAAC;QACD,qCAA6B;IAC/B,CAAC;IAED,MAAM,eAAe,GAAG,0BAA0B,CAChD,OAAO,EACP,IAAI,EACJ,OAAO,EACP,SAAS,CACV,CAAC;IACF,IAAI,eAAe,qCAA6B,EAAE,CAAC;QACjD,OAAO,eAAe,CAAC;IACzB,CAAC;IAED,MAAM,gBAAgB,GAAG,oBAAoB,CAC3C,OAAO,EACP,IAAI,EACJ,OAAO,EACP,SAAS,CACV,CAAC;IACF,0BAA0B,CAAC,IACzB,gBAAgB,qCAA6B,EAC7C,CAAC;QACD,OAAO,gBAAgB,CAAC;IAC1B,CAAC;IAED,MAAM,IAAI,KAAK,CAAC,gBAAgB,CAAC,CAAC;AACpC,CAAC;AAED;;GAEG;AACH,SAAS,cAAc,CACrB,OAAmB,EACnB,IAAa,EACb,UAA+B,mCAA2B;IAE1D,OAAO,CACL,sBAAsB,CAAC,OAAO,EAAE,IAAI,EAAE,OAAO,EAAE,IAAI,GAAG,EAAE,CAAC;qCACpC,CACtB,CAAC;AACJ,CAAC"} \ No newline at end of file +{"version":3,"file":"isTypeReadonly.js","sourceRoot":"","sources":["../src/isTypeReadonly.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAwVS,wCAAc;AAtVvB,oDAAuD;AACvD,sDAAwC;AACxC,+CAAiC;AAIjC,mDAA0D;AAC1D,iEAGgC;AAgBnB,QAAA,yBAAyB,GAAG;IACvC,oBAAoB,EAAE,KAAK;IAC3B,UAAU,EAAE;QACV,KAAK,EAAE,kDAA2B;QAClC,sBAAsB,EAAE;YACtB,IAAI,EAAE,SAAS;SAChB;KACF;IACD,IAAI,EAAE,QAAQ;CACO,CAAC;AAEX,QAAA,2BAA2B,GAAwB;IAC9D,KAAK,EAAE,EAAE;IACT,sBAAsB,EAAE,KAAK;CAC9B,CAAC;AAEF,SAAS,SAAS,CAAC,IAAa;IAC9B,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,EAAE,QAAQ,CAAC,CAAC;AACvC,CAAC;AAED,SAAS,0BAA0B,CACjC,OAAmB,EACnB,IAAa,EACb,OAA4B,EAC5B,SAAuB;IAEvB,MAAM,OAAO,GAAG,OAAO,CAAC,cAAc,EAAE,CAAC;IACzC,SAAS,kBAAkB,CAAC,SAA2B;QACrD,MAAM,aAAa,GAAG,OAAO,CAAC,gBAAgB,CAAC,SAAS,CAAC,CAAC;QAE1D,uCAAuC;QACvC,4CAA4C;QAC5C,oDAAoD;QACpD,wBAAwB,CAAC,IAAI,aAAa,CAAC,MAAM,KAAK,CAAC,EAAE,CAAC;YACxD,qCAA6B;QAC/B,CAAC;QAED,+CAA+C;QAC/C,IACE,aAAa,CAAC,IAAI,CAChB,OAAO,CAAC,EAAE,CACR,sBAAsB,CAAC,OAAO,EAAE,OAAO,EAAE,OAAO,EAAE,SAAS,CAAC;wCACxC,CACvB,EACD,CAAC;YACD,oCAA4B;QAC9B,CAAC;QACD,qCAA6B;IAC/B,CAAC;IAED,IAAI,OAAO,CAAC,WAAW,CAAC,IAAI,CAAC,EAAE,CAAC;QAC9B,MAAM,MAAM,GAAG,mBAAW,CAAC,UAAU,CACnC,IAAI,CAAC,SAAS,EAAE,EAChB,mBAAW,CAAC,iBAAiB,CAAC,YAAY,CAAC,QAAQ,EAAE,YAAY,CAAC,CACnE,CAAC;QACF,MAAM,WAAW,GAAG,MAAM,CAAC,cAAc,EAAE,CAAC;QAC5C,wEAAwE;QACxE,IAAI,WAAW,KAAK,OAAO,EAAE,CAAC;YAC5B,oCAA4B;QAC9B,CAAC;QAED,OAAO,kBAAkB,CAAC,IAAI,CAAC,CAAC;IAClC,CAAC;IAED,IAAI,OAAO,CAAC,WAAW,CAAC,IAAI,CAAC,EAAE,CAAC;QAC9B,IAAI,CAAC,IAAI,CAAC,MAAM,CAAC,QAAQ,EAAE,CAAC;YAC1B,oCAA4B;QAC9B,CAAC;QAED,OAAO,kBAAkB,CAAC,IAAI,CAAC,CAAC;IAClC,CAAC;IAED,wCAAgC;AAClC,CAAC;AAED,SAAS,oBAAoB,CAC3B,OAAmB,EACnB,IAAa,EACb,OAA4B,EAC5B,SAAuB;IAEvB,MAAM,OAAO,GAAG,OAAO,CAAC,cAAc,EAAE,CAAC;IACzC,SAAS,mBAAmB,CAAC,IAAkB;QAC7C,MAAM,SAAS,GAAG,OAAO,CAAC,kBAAkB,CAAC,IAAI,EAAE,IAAI,CAAC,CAAC;QACzD,IAAI,SAAS,EAAE,CAAC;YACd,IAAI,CAAC,SAAS,CAAC,UAAU,EAAE,CAAC;gBAC1B,oCAA4B;YAC9B,CAAC;YAED,IAAI,SAAS,CAAC,IAAI,KAAK,IAAI,IAAI,SAAS,CAAC,GAAG,CAAC,SAAS,CAAC,IAAI,CAAC,EAAE,CAAC;gBAC7D,qCAA6B;YAC/B,CAAC;YAED,OAAO,sBAAsB,CAC3B,OAAO,EACP,SAAS,CAAC,IAAI,EACd,OAAO,EACP,SAAS,CACV,CAAC;QACJ,CAAC;QAED,wCAAgC;IAClC,CAAC;IAED,MAAM,UAAU,GAAG,IAAI,CAAC,aAAa,EAAE,CAAC;IACxC,IAAI,UAAU,CAAC,MAAM,EAAE,CAAC;QACtB,+CAA+C;QAC/C,KAAK,MAAM,QAAQ,IAAI,UAAU,EAAE,CAAC;YAClC,IAAI,OAAO,CAAC,sBAAsB,EAAE,CAAC;gBACnC,IACE,QAAQ,CAAC,gBAAgB,KAAK,SAAS;oBACvC,SAAS,CAAC,QAAQ,CAAC,gBAAgB,CAAC;oBACpC,OAAO,CAAC,eAAe,CACrB,QAAQ,CAAC,gBAAgB,CAAC,MAAM,EAChC,EAAE,CAAC,WAAW,CAAC,MAAM,CACtB,EACD,CAAC;oBACD,SAAS;gBACX,CAAC;gBAED,MAAM,YAAY,GAAG,QAAQ,CAAC,eAAe,EAAE,CAAC;gBAChD,MAAM,eAAe,GACnB,YAAY,KAAK,SAAS,IAAI,YAAY,CAAC,MAAM,GAAG,CAAC;oBACnD,CAAC,CAAC,YAAY,CAAC,YAAY,CAAC,MAAM,GAAG,CAAC,CAAC;oBACvC,CAAC,CAAC,SAAS,CAAC;gBAChB,IACE,eAAe,KAAK,SAAS;oBAC7B,SAAS,CAAC,eAAe,CAAC;oBAC1B,OAAO,CAAC,eAAe,CAAC,eAAe,CAAC,MAAM,EAAE,EAAE,CAAC,WAAW,CAAC,MAAM,CAAC,EACtE,CAAC;oBACD,SAAS;gBACX,CAAC;YACH,CAAC;YAED,IACE,OAAO,CAAC,wBAAwB,CAC9B,IAAI,EACJ,QAAQ,CAAC,cAAc,EAAE,EACzB,OAAO,CACR,EACD,CAAC;gBACD,SAAS;YACX,CAAC;YAED,MAAM,IAAI,GAAG,EAAE,CAAC,oBAAoB,CAAC,QAAQ,CAAC,gBAAgB,CAAC,CAAC;YAChE,IAAI,IAAI,IAAI,EAAE,CAAC,mBAAmB,CAAC,IAAI,CAAC,EAAE,CAAC;gBACzC,SAAS;YACX,CAAC;YAED,oCAA4B;QAC9B,CAAC;QAED,+BAA+B;QAC/B,uDAAuD;QAEvD,wEAAwE;QACxE,yEAAyE;QACzE,gDAAgD;QAChD,KAAK,MAAM,QAAQ,IAAI,UAAU,EAAE,CAAC;YAClC,MAAM,YAAY,GAAG,mBAAW,CAAC,UAAU,CACzC,IAAA,uCAAuB,EAAC,OAAO,EAAE,IAAI,EAAE,QAAQ,CAAC,EAChD,mBAAW,CAAC,iBAAiB,CAAC,YAAY,CACxC,aAAa,QAAQ,CAAC,IAAI,GAAG,EAC7B,MAAM,CACP,CACF,CAAC;YAEF,0BAA0B;YAC1B,gHAAgH;YAChH,IAAI,SAAS,CAAC,GAAG,CAAC,YAAY,CAAC,EAAE,CAAC;gBAChC,SAAS;YACX,CAAC;YAED,IACE,sBAAsB,CAAC,OAAO,EAAE,YAAY,EAAE,OAAO,EAAE,SAAS,CAAC;4CAC7C,EACpB,CAAC;gBACD,oCAA4B;YAC9B,CAAC;QACH,CAAC;IACH,CAAC;IAED,MAAM,wBAAwB,GAAG,mBAAmB,CAAC,EAAE,CAAC,SAAS,CAAC,MAAM,CAAC,CAAC;IAC1E,IAAI,wBAAwB,iCAAyB,EAAE,CAAC;QACtD,OAAO,wBAAwB,CAAC;IAClC,CAAC;IAED,MAAM,wBAAwB,GAAG,mBAAmB,CAAC,EAAE,CAAC,SAAS,CAAC,MAAM,CAAC,CAAC;IAC1E,IAAI,wBAAwB,iCAAyB,EAAE,CAAC;QACtD,OAAO,wBAAwB,CAAC;IAClC,CAAC;IAED,qCAA6B;AAC/B,CAAC;AAED,qGAAqG;AACrG,SAAS,sBAAsB,CAC7B,OAAmB,EACnB,IAAa,EACb,OAA4B,EAC5B,SAAuB;IAEvB,MAAM,OAAO,GAAG,OAAO,CAAC,cAAc,EAAE,CAAC;IACzC,SAAS,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC;IAEpB,IAAI,IAAA,+CAAwB,EAAC,IAAI,EAAE,OAAO,CAAC,KAAK,EAAE,OAAO,CAAC,EAAE,CAAC;QAC3D,qCAA6B;IAC/B,CAAC;IAED,IAAI,OAAO,CAAC,WAAW,CAAC,IAAI,CAAC,EAAE,CAAC;QAC9B,0CAA0C;QAC1C,MAAM,MAAM,GAAG,OAAO;aACnB,cAAc,CAAC,IAAI,CAAC;aACpB,KAAK,CACJ,CAAC,CAAC,EAAE,CACF,SAAS,CAAC,GAAG,CAAC,CAAC,CAAC;YAChB,sBAAsB,CAAC,OAAO,EAAE,CAAC,EAAE,OAAO,EAAE,SAAS,CAAC;6CAC/B,CAC1B,CAAC;QACJ,MAAM,YAAY,GAAG,MAAM,CAAC,CAAC,+BAAuB,CAAC,6BAAqB,CAAC;QAC3E,OAAO,YAAY,CAAC;IACtB,CAAC;IAED,IAAI,OAAO,CAAC,kBAAkB,CAAC,IAAI,CAAC,EAAE,CAAC;QACrC,mGAAmG;QACnG,IACE,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,CAAC,OAAO,CAAC,WAAW,CAAC,CAAC,CAAC,IAAI,OAAO,CAAC,WAAW,CAAC,CAAC,CAAC,CAAC,EACtE,CAAC;YACD,MAAM,gBAAgB,GAAG,IAAI,CAAC,KAAK,CAAC,KAAK,CACvC,CAAC,CAAC,EAAE,CACF,SAAS,CAAC,GAAG,CAAC,CAAC,CAAC;gBAChB,sBAAsB,CAAC,OAAO,EAAE,CAAC,EAAE,OAAO,EAAE,SAAS,CAAC;iDAC/B,CAC1B,CAAC;YACF,OAAO,gBAAgB,CAAC,CAAC,+BAAuB,CAAC,6BAAqB,CAAC;QACzE,CAAC;QAED,eAAe;QACf,MAAM,gBAAgB,GAAG,oBAAoB,CAC3C,OAAO,EACP,IAAI,EACJ,OAAO,EACP,SAAS,CACV,CAAC;QACF,IAAI,gBAAgB,qCAA6B,EAAE,CAAC;YAClD,OAAO,gBAAgB,CAAC;QAC1B,CAAC;IACH,CAAC;IAED,IAAI,OAAO,CAAC,iBAAiB,CAAC,IAAI,CAAC,EAAE,CAAC;QACpC,MAAM,MAAM,GAAG,CAAC,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,QAAQ,EAAE,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,SAAS,CAAC;aAC/D,GAAG,CAAC,OAAO,CAAC,mBAAmB,CAAC;aAChC,KAAK,CACJ,CAAC,CAAC,EAAE,CACF,SAAS,CAAC,GAAG,CAAC,CAAC,CAAC;YAChB,sBAAsB,CAAC,OAAO,EAAE,CAAC,EAAE,OAAO,EAAE,SAAS,CAAC;6CAC/B,CAC1B,CAAC;QAEJ,MAAM,YAAY,GAAG,MAAM,CAAC,CAAC,+BAAuB,CAAC,6BAAqB,CAAC;QAC3E,OAAO,YAAY,CAAC;IACtB,CAAC;IAED,uDAAuD;IACvD,sCAAsC;IACtC,IAAI,CAAC,OAAO,CAAC,YAAY,CAAC,IAAI,CAAC,EAAE,CAAC;QAChC,qCAA6B;IAC/B,CAAC;IAED,mCAAmC;IACnC,IACE,IAAI,CAAC,iBAAiB,EAAE,CAAC,MAAM,GAAG,CAAC;QACnC,IAAI,CAAC,aAAa,EAAE,CAAC,MAAM,KAAK,CAAC,EACjC,CAAC;QACD,qCAA6B;IAC/B,CAAC;IAED,MAAM,eAAe,GAAG,0BAA0B,CAChD,OAAO,EACP,IAAI,EACJ,OAAO,EACP,SAAS,CACV,CAAC;IACF,IAAI,eAAe,qCAA6B,EAAE,CAAC;QACjD,OAAO,eAAe,CAAC;IACzB,CAAC;IAED,MAAM,gBAAgB,GAAG,oBAAoB,CAC3C,OAAO,EACP,IAAI,EACJ,OAAO,EACP,SAAS,CACV,CAAC;IACF,0BAA0B,CAAC,IACzB,gBAAgB,qCAA6B,EAC7C,CAAC;QACD,OAAO,gBAAgB,CAAC;IAC1B,CAAC;IAED,MAAM,IAAI,KAAK,CAAC,gBAAgB,CAAC,CAAC;AACpC,CAAC;AAED;;GAEG;AACH,SAAS,cAAc,CACrB,OAAmB,EACnB,IAAa,EACb,UAA+B,mCAA2B;IAE1D,OAAO,CACL,sBAAsB,CAAC,OAAO,EAAE,IAAI,EAAE,OAAO,EAAE,IAAI,GAAG,EAAE,CAAC;qCACpC,CACtB,CAAC;AACJ,CAAC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/type-utils/dist/isUnsafeAssignment.js b/node_modules/@typescript-eslint/type-utils/dist/isUnsafeAssignment.js index 629798d955..e5979ead88 100644 --- a/node_modules/@typescript-eslint/type-utils/dist/isUnsafeAssignment.js +++ b/node_modules/@typescript-eslint/type-utils/dist/isUnsafeAssignment.js @@ -15,13 +15,23 @@ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? ( }) : function(o, v) { o["default"] = v; }); -var __importStar = (this && this.__importStar) || function (mod) { - if (mod && mod.__esModule) return mod; - var result = {}; - if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k); - __setModuleDefault(result, mod); - return result; -}; +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); Object.defineProperty(exports, "__esModule", { value: true }); exports.isUnsafeAssignment = isUnsafeAssignment; const utils_1 = require("@typescript-eslint/utils"); diff --git a/node_modules/@typescript-eslint/type-utils/dist/isUnsafeAssignment.js.map b/node_modules/@typescript-eslint/type-utils/dist/isUnsafeAssignment.js.map index 16f0c70589..eb34db2e08 100644 --- a/node_modules/@typescript-eslint/type-utils/dist/isUnsafeAssignment.js.map +++ b/node_modules/@typescript-eslint/type-utils/dist/isUnsafeAssignment.js.map @@ -1 +1 @@ -{"version":3,"file":"isUnsafeAssignment.js","sourceRoot":"","sources":["../src/isUnsafeAssignment.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AAkBA,gDAaC;AA5BD,oDAA0D;AAC1D,sDAAwC;AAExC,6CAAgE;AAEhE;;;;;;;;;GASG;AACH,SAAgB,kBAAkB,CAChC,IAAa,EACb,QAAiB,EACjB,OAAuB,EACvB,UAAgC;IAEhC,OAAO,wBAAwB,CAC7B,IAAI,EACJ,QAAQ,EACR,OAAO,EACP,UAAU,EACV,IAAI,GAAG,EAAE,CACV,CAAC;AACJ,CAAC;AAED,SAAS,wBAAwB,CAC/B,IAAa,EACb,QAAiB,EACjB,OAAuB,EACvB,UAAgC,EAChC,OAAmC;IAEnC,IAAI,IAAA,0BAAa,EAAC,IAAI,CAAC,EAAE,CAAC;QACxB,uCAAuC;QACvC,IAAI,IAAA,8BAAiB,EAAC,QAAQ,CAAC,EAAE,CAAC;YAChC,OAAO,KAAK,CAAC;QACf,CAAC;QAED,IAAI,CAAC,IAAA,0BAAa,EAAC,QAAQ,CAAC,EAAE,CAAC;YAC7B,OAAO,EAAE,QAAQ,EAAE,MAAM,EAAE,IAAI,EAAE,CAAC;QACpC,CAAC;IACH,CAAC;IAED,MAAM,kBAAkB,GAAG,OAAO,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC;IAE7C,IAAI,kBAAkB,EAAE,CAAC;QACvB,IAAI,kBAAkB,CAAC,GAAG,CAAC,QAAQ,CAAC,EAAE,CAAC;YACrC,OAAO,KAAK,CAAC;QACf,CAAC;QACD,kBAAkB,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAC;IACnC,CAAC;SAAM,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,IAAI,EAAE,IAAI,GAAG,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC;IACzC,CAAC;IAED,IAAI,OAAO,CAAC,eAAe,CAAC,IAAI,CAAC,IAAI,OAAO,CAAC,eAAe,CAAC,QAAQ,CAAC,EAAE,CAAC;QACvE,mDAAmD;QACnD,wDAAwD;QACxD;;;;;;;;;UASE;QAEF,IAAI,IAAI,CAAC,MAAM,KAAK,QAAQ,CAAC,MAAM,EAAE,CAAC;YACpC,mGAAmG;YACnG,+DAA+D;YAC/D,OAAO,KAAK,CAAC;QACf,CAAC;QAED,IACE,UAAU,EAAE,IAAI,KAAK,sBAAc,CAAC,aAAa;YACjD,UAAU,CAAC,MAAM,CAAC,IAAI,KAAK,sBAAc,CAAC,UAAU;YACpD,UAAU,CAAC,MAAM,CAAC,IAAI,KAAK,KAAK;YAChC,UAAU,CAAC,SAAS,CAAC,MAAM,KAAK,CAAC;YACjC,UAAU,CAAC,aAAa,IAAI,IAAI,EAChC,CAAC;YACD,qCAAqC;YACrC,sFAAsF;YACtF,4FAA4F;YAC5F,OAAO,KAAK,CAAC;QACf,CAAC;QAED,MAAM,aAAa,GAAG,IAAI,CAAC,aAAa,IAAI,EAAE,CAAC;QAC/C,MAAM,qBAAqB,GAAG,QAAQ,CAAC,aAAa,IAAI,EAAE,CAAC;QAE3D,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,aAAa,CAAC,MAAM,EAAE,CAAC,IAAI,CAAC,EAAE,CAAC;YACjD,MAAM,GAAG,GAAG,aAAa,CAAC,CAAC,CAAC,CAAC;YAC7B,MAAM,WAAW,GAAG,qBAAqB,CAAC,CAAC,CAAC,CAAC;YAE7C,MAAM,MAAM,GAAG,wBAAwB,CACrC,GAAG,EACH,WAAW,EACX,OAAO,EACP,UAAU,EACV,OAAO,CACR,CAAC;YACF,IAAI,MAAM,EAAE,CAAC;gBACX,OAAO,EAAE,QAAQ,EAAE,MAAM,EAAE,IAAI,EAAE,CAAC;YACpC,CAAC;QACH,CAAC;QAED,OAAO,KAAK,CAAC;IACf,CAAC;IAED,OAAO,KAAK,CAAC;AACf,CAAC"} \ No newline at end of file +{"version":3,"file":"isUnsafeAssignment.js","sourceRoot":"","sources":["../src/isUnsafeAssignment.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAkBA,gDAaC;AA5BD,oDAA0D;AAC1D,sDAAwC;AAExC,6CAAgE;AAEhE;;;;;;;;;GASG;AACH,SAAgB,kBAAkB,CAChC,IAAa,EACb,QAAiB,EACjB,OAAuB,EACvB,UAAgC;IAEhC,OAAO,wBAAwB,CAC7B,IAAI,EACJ,QAAQ,EACR,OAAO,EACP,UAAU,EACV,IAAI,GAAG,EAAE,CACV,CAAC;AACJ,CAAC;AAED,SAAS,wBAAwB,CAC/B,IAAa,EACb,QAAiB,EACjB,OAAuB,EACvB,UAAgC,EAChC,OAAmC;IAEnC,IAAI,IAAA,0BAAa,EAAC,IAAI,CAAC,EAAE,CAAC;QACxB,uCAAuC;QACvC,IAAI,IAAA,8BAAiB,EAAC,QAAQ,CAAC,EAAE,CAAC;YAChC,OAAO,KAAK,CAAC;QACf,CAAC;QAED,IAAI,CAAC,IAAA,0BAAa,EAAC,QAAQ,CAAC,EAAE,CAAC;YAC7B,OAAO,EAAE,QAAQ,EAAE,MAAM,EAAE,IAAI,EAAE,CAAC;QACpC,CAAC;IACH,CAAC;IAED,MAAM,kBAAkB,GAAG,OAAO,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC;IAE7C,IAAI,kBAAkB,EAAE,CAAC;QACvB,IAAI,kBAAkB,CAAC,GAAG,CAAC,QAAQ,CAAC,EAAE,CAAC;YACrC,OAAO,KAAK,CAAC;QACf,CAAC;QACD,kBAAkB,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAC;IACnC,CAAC;SAAM,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,IAAI,EAAE,IAAI,GAAG,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC;IACzC,CAAC;IAED,IAAI,OAAO,CAAC,eAAe,CAAC,IAAI,CAAC,IAAI,OAAO,CAAC,eAAe,CAAC,QAAQ,CAAC,EAAE,CAAC;QACvE,mDAAmD;QACnD,wDAAwD;QACxD;;;;;;;;;UASE;QAEF,IAAI,IAAI,CAAC,MAAM,KAAK,QAAQ,CAAC,MAAM,EAAE,CAAC;YACpC,mGAAmG;YACnG,+DAA+D;YAC/D,OAAO,KAAK,CAAC;QACf,CAAC;QAED,IACE,UAAU,EAAE,IAAI,KAAK,sBAAc,CAAC,aAAa;YACjD,UAAU,CAAC,MAAM,CAAC,IAAI,KAAK,sBAAc,CAAC,UAAU;YACpD,UAAU,CAAC,MAAM,CAAC,IAAI,KAAK,KAAK;YAChC,UAAU,CAAC,SAAS,CAAC,MAAM,KAAK,CAAC;YACjC,UAAU,CAAC,aAAa,IAAI,IAAI,EAChC,CAAC;YACD,qCAAqC;YACrC,sFAAsF;YACtF,4FAA4F;YAC5F,OAAO,KAAK,CAAC;QACf,CAAC;QAED,MAAM,aAAa,GAAG,IAAI,CAAC,aAAa,IAAI,EAAE,CAAC;QAC/C,MAAM,qBAAqB,GAAG,QAAQ,CAAC,aAAa,IAAI,EAAE,CAAC;QAE3D,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,aAAa,CAAC,MAAM,EAAE,CAAC,IAAI,CAAC,EAAE,CAAC;YACjD,MAAM,GAAG,GAAG,aAAa,CAAC,CAAC,CAAC,CAAC;YAC7B,MAAM,WAAW,GAAG,qBAAqB,CAAC,CAAC,CAAC,CAAC;YAE7C,MAAM,MAAM,GAAG,wBAAwB,CACrC,GAAG,EACH,WAAW,EACX,OAAO,EACP,UAAU,EACV,OAAO,CACR,CAAC;YACF,IAAI,MAAM,EAAE,CAAC;gBACX,OAAO,EAAE,QAAQ,EAAE,MAAM,EAAE,IAAI,EAAE,CAAC;YACpC,CAAC;QACH,CAAC;QAED,OAAO,KAAK,CAAC;IACf,CAAC;IAED,OAAO,KAAK,CAAC;AACf,CAAC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/type-utils/dist/predicates.js b/node_modules/@typescript-eslint/type-utils/dist/predicates.js index 26437ee390..7c7d1a3fc6 100644 --- a/node_modules/@typescript-eslint/type-utils/dist/predicates.js +++ b/node_modules/@typescript-eslint/type-utils/dist/predicates.js @@ -15,13 +15,23 @@ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? ( }) : function(o, v) { o["default"] = v; }); -var __importStar = (this && this.__importStar) || function (mod) { - if (mod && mod.__esModule) return mod; - var result = {}; - if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k); - __setModuleDefault(result, mod); - return result; -}; +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; }; diff --git a/node_modules/@typescript-eslint/type-utils/dist/predicates.js.map b/node_modules/@typescript-eslint/type-utils/dist/predicates.js.map index 3682ad7292..954c6f91bc 100644 --- a/node_modules/@typescript-eslint/type-utils/dist/predicates.js.map +++ b/node_modules/@typescript-eslint/type-utils/dist/predicates.js.map @@ -1 +1 @@ -{"version":3,"file":"predicates.js","sourceRoot":"","sources":["../src/predicates.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAWA,wCASC;AAMD,gFAWC;AAKD,0CAEC;AAKD,8CAEC;AAYD,kDAMC;AAKD,sCAQC;AAKD,gDAQC;AAKD,wDAQC;AAYD,kDA8BC;AAKD,kDAwBC;AAED,0DAIC;AAED,8DAIC;AA/LD,kDAA0B;AAC1B,sDAAwC;AACxC,+CAAiC;AAEjC,mDAAgD;AAEhD,MAAM,GAAG,GAAG,IAAA,eAAK,EAAC,6CAA6C,CAAC,CAAC;AAEjE;;GAEG;AACH,SAAgB,cAAc,CAAC,IAAa;IAC1C,OAAO,IAAA,6BAAa,EAClB,IAAI,EACJ,EAAE,CAAC,SAAS,CAAC,GAAG;QACd,EAAE,CAAC,SAAS,CAAC,OAAO;QACpB,EAAE,CAAC,SAAS,CAAC,IAAI;QACjB,EAAE,CAAC,SAAS,CAAC,SAAS;QACtB,EAAE,CAAC,SAAS,CAAC,IAAI,CACpB,CAAC;AACJ,CAAC;AAED;;;GAGG;AACH,SAAgB,kCAAkC,CAChD,IAAa,EACb,OAAuB;IAEvB,KAAK,MAAM,CAAC,IAAI,OAAO,CAAC,cAAc,CAAC,IAAI,CAAC,EAAE,CAAC;QAC7C,IAAI,CAAC,OAAO,CAAC,WAAW,CAAC,CAAC,CAAC,EAAE,CAAC;YAC5B,OAAO,KAAK,CAAC;QACf,CAAC;IACH,CAAC;IAED,OAAO,IAAI,CAAC;AACd,CAAC;AAED;;GAEG;AACH,SAAgB,eAAe,CAAC,IAAa;IAC3C,OAAO,IAAA,6BAAa,EAAC,IAAI,EAAE,EAAE,CAAC,SAAS,CAAC,KAAK,CAAC,CAAC;AACjD,CAAC;AAED;;GAEG;AACH,SAAgB,iBAAiB,CAAC,IAAa;IAC7C,OAAO,IAAA,6BAAa,EAAC,IAAI,EAAE,EAAE,CAAC,SAAS,CAAC,OAAO,CAAC,CAAC;AACnD,CAAC;AAED,oHAAoH;AACpH,MAAM,QAAQ,GAAG,EAAE,CAAC,SAAS,CAAC,SAAS,GAAG,EAAE,CAAC,SAAS,CAAC,IAAI,CAAC;AAC5D,oHAAoH;AACpH,MAAM,eAAe,GACnB,EAAE,CAAC,SAAS,CAAC,GAAG;IAChB,QAAQ;IACR,EAAE,CAAC,SAAS,CAAC,KAAK;IAClB,EAAE,CAAC,SAAS,CAAC,MAAM;IACnB,EAAE,CAAC,SAAS,CAAC,KAAK;IAClB,EAAE,CAAC,SAAS,CAAC,YAAY,CAAC;AAC5B,SAAgB,mBAAmB,CAAC,IAAa;IAC/C,IAAI,CAAC,IAAI,CAAC,KAAK,GAAG,eAAe,CAAC,KAAK,CAAC,EAAE,CAAC;QACzC,OAAO,KAAK,CAAC;IACf,CAAC;IACD,MAAM,eAAe,GAAI,IAAsB,CAAC,WAAW,CAAC;IAC5D,OAAO,CAAC,eAAe,GAAG,EAAE,CAAC,WAAW,CAAC,SAAS,CAAC,KAAK,CAAC,CAAC;AAC5D,CAAC;AAED;;GAEG;AACH,SAAgB,aAAa,CAAC,IAAa;IACzC,IAAI,IAAA,6BAAa,EAAC,IAAI,EAAE,EAAE,CAAC,SAAS,CAAC,GAAG,CAAC,EAAE,CAAC;QAC1C,IAAI,IAAI,CAAC,aAAa,KAAK,OAAO,EAAE,CAAC;YACnC,GAAG,CAAC,2BAA2B,CAAC,CAAC;QACnC,CAAC;QACD,OAAO,IAAI,CAAC;IACd,CAAC;IACD,OAAO,KAAK,CAAC;AACf,CAAC;AAED;;GAEG;AACH,SAAgB,kBAAkB,CAChC,IAAa,EACb,OAAuB;IAEvB,OAAO,CACL,OAAO,CAAC,WAAW,CAAC,IAAI,CAAC;QACzB,aAAa,CAAC,OAAO,CAAC,gBAAgB,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,CAAC,CACjD,CAAC;AACJ,CAAC;AAED;;GAEG;AACH,SAAgB,sBAAsB,CACpC,IAAa,EACb,OAAuB;IAEvB,OAAO,CACL,OAAO,CAAC,WAAW,CAAC,IAAI,CAAC;QACzB,iBAAiB,CAAC,OAAO,CAAC,gBAAgB,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,CAAC,CACrD,CAAC;AACJ,CAAC;AAED,IAAY,OAKX;AALD,WAAY,OAAO;IACjB,mCAAG,CAAA;IACH,iDAAU,CAAA;IACV,6CAAQ,CAAA;IACR,qCAAI,CAAA;AACN,CAAC,EALW,OAAO,uBAAP,OAAO,QAKlB;AACD;;;GAGG;AACH,SAAgB,mBAAmB,CACjC,IAAa,EACb,OAAuB,EACvB,OAAmB,EACnB,MAAe;IAEf,IAAI,aAAa,CAAC,IAAI,CAAC,EAAE,CAAC;QACxB,OAAO,OAAO,CAAC,GAAG,CAAC;IACrB,CAAC;IACD,IAAI,kBAAkB,CAAC,IAAI,EAAE,OAAO,CAAC,EAAE,CAAC;QACtC,OAAO,OAAO,CAAC,QAAQ,CAAC;IAC1B,CAAC;IACD,KAAK,MAAM,IAAI,IAAI,OAAO,CAAC,SAAS,CAAC,IAAI,CAAC,EAAE,CAAC;QAC3C,IAAI,OAAO,CAAC,cAAc,CAAC,OAAO,EAAE,MAAM,EAAE,IAAI,CAAC,EAAE,CAAC;YAClD,MAAM,WAAW,GAAG,OAAO,CAAC,cAAc,CAAC,IAAI,CAAC,CAAC;YACjD,IAAI,WAAW,EAAE,CAAC;gBAChB,MAAM,cAAc,GAAG,mBAAmB,CACxC,WAAW,EACX,OAAO,EACP,OAAO,EACP,MAAM,CACP,CAAC;gBACF,IAAI,cAAc,KAAK,OAAO,CAAC,GAAG,EAAE,CAAC;oBACnC,OAAO,OAAO,CAAC,UAAU,CAAC;gBAC5B,CAAC;YACH,CAAC;QACH,CAAC;IACH,CAAC;IAED,OAAO,OAAO,CAAC,IAAI,CAAC;AACtB,CAAC;AAED;;GAEG;AACH,SAAgB,mBAAmB,CACjC,IAAa,EACb,UAAmB;IAEnB,MAAM,YAAY,GAAG,UAAU,CAAC,SAAS,EAAE,CAAC;IAC5C,IAAI,CAAC,IAAI,CAAC,SAAS,EAAE,IAAI,CAAC,YAAY,EAAE,CAAC;QACvC,OAAO,KAAK,CAAC;IACf,CAAC;IAED,MAAM,gBAAgB,GAAG,CAAC,IAAI,CAAC,CAAC;IAChC,MAAM,aAAa,GAAG,IAAI,CAAC,YAAY,EAAE,CAAC;IAE1C,IAAI,aAAa,EAAE,CAAC;QAClB,gBAAgB,CAAC,IAAI,CAAC,GAAG,aAAa,CAAC,CAAC;IAC1C,CAAC;IAED,KAAK,MAAM,QAAQ,IAAI,gBAAgB,EAAE,CAAC;QACxC,MAAM,UAAU,GAAG,QAAQ,CAAC,SAAS,EAAE,CAAC;QACxC,IAAI,UAAU,IAAI,UAAU,CAAC,IAAI,KAAK,YAAY,CAAC,IAAI,EAAE,CAAC;YACxD,OAAO,IAAI,CAAC;QACd,CAAC;IACH,CAAC;IAED,OAAO,KAAK,CAAC;AACf,CAAC;AAED,SAAgB,uBAAuB,CACrC,IAAa;IAEb,OAAO,IAAA,6BAAa,EAAC,IAAI,EAAE,EAAE,CAAC,SAAS,CAAC,aAAa,CAAC,CAAC;AACzD,CAAC;AAED,SAAgB,yBAAyB,CACvC,IAAa;IAEb,OAAO,IAAA,6BAAa,EAAC,IAAI,EAAE,EAAE,CAAC,SAAS,CAAC,eAAe,CAAC,CAAC;AAC3D,CAAC"} \ No newline at end of file +{"version":3,"file":"predicates.js","sourceRoot":"","sources":["../src/predicates.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAWA,wCASC;AAMD,gFAWC;AAKD,0CAEC;AAKD,8CAEC;AAYD,kDAMC;AAKD,sCAQC;AAKD,gDAQC;AAKD,wDAQC;AAYD,kDA8BC;AAKD,kDAwBC;AAED,0DAIC;AAED,8DAIC;AA/LD,kDAA0B;AAC1B,sDAAwC;AACxC,+CAAiC;AAEjC,mDAAgD;AAEhD,MAAM,GAAG,GAAG,IAAA,eAAK,EAAC,6CAA6C,CAAC,CAAC;AAEjE;;GAEG;AACH,SAAgB,cAAc,CAAC,IAAa;IAC1C,OAAO,IAAA,6BAAa,EAClB,IAAI,EACJ,EAAE,CAAC,SAAS,CAAC,GAAG;QACd,EAAE,CAAC,SAAS,CAAC,OAAO;QACpB,EAAE,CAAC,SAAS,CAAC,IAAI;QACjB,EAAE,CAAC,SAAS,CAAC,SAAS;QACtB,EAAE,CAAC,SAAS,CAAC,IAAI,CACpB,CAAC;AACJ,CAAC;AAED;;;GAGG;AACH,SAAgB,kCAAkC,CAChD,IAAa,EACb,OAAuB;IAEvB,KAAK,MAAM,CAAC,IAAI,OAAO,CAAC,cAAc,CAAC,IAAI,CAAC,EAAE,CAAC;QAC7C,IAAI,CAAC,OAAO,CAAC,WAAW,CAAC,CAAC,CAAC,EAAE,CAAC;YAC5B,OAAO,KAAK,CAAC;QACf,CAAC;IACH,CAAC;IAED,OAAO,IAAI,CAAC;AACd,CAAC;AAED;;GAEG;AACH,SAAgB,eAAe,CAAC,IAAa;IAC3C,OAAO,IAAA,6BAAa,EAAC,IAAI,EAAE,EAAE,CAAC,SAAS,CAAC,KAAK,CAAC,CAAC;AACjD,CAAC;AAED;;GAEG;AACH,SAAgB,iBAAiB,CAAC,IAAa;IAC7C,OAAO,IAAA,6BAAa,EAAC,IAAI,EAAE,EAAE,CAAC,SAAS,CAAC,OAAO,CAAC,CAAC;AACnD,CAAC;AAED,oHAAoH;AACpH,MAAM,QAAQ,GAAG,EAAE,CAAC,SAAS,CAAC,SAAS,GAAG,EAAE,CAAC,SAAS,CAAC,IAAI,CAAC;AAC5D,oHAAoH;AACpH,MAAM,eAAe,GACnB,EAAE,CAAC,SAAS,CAAC,GAAG;IAChB,QAAQ;IACR,EAAE,CAAC,SAAS,CAAC,KAAK;IAClB,EAAE,CAAC,SAAS,CAAC,MAAM;IACnB,EAAE,CAAC,SAAS,CAAC,KAAK;IAClB,EAAE,CAAC,SAAS,CAAC,YAAY,CAAC;AAC5B,SAAgB,mBAAmB,CAAC,IAAa;IAC/C,IAAI,CAAC,IAAI,CAAC,KAAK,GAAG,eAAe,CAAC,KAAK,CAAC,EAAE,CAAC;QACzC,OAAO,KAAK,CAAC;IACf,CAAC;IACD,MAAM,eAAe,GAAI,IAAsB,CAAC,WAAW,CAAC;IAC5D,OAAO,CAAC,eAAe,GAAG,EAAE,CAAC,WAAW,CAAC,SAAS,CAAC,KAAK,CAAC,CAAC;AAC5D,CAAC;AAED;;GAEG;AACH,SAAgB,aAAa,CAAC,IAAa;IACzC,IAAI,IAAA,6BAAa,EAAC,IAAI,EAAE,EAAE,CAAC,SAAS,CAAC,GAAG,CAAC,EAAE,CAAC;QAC1C,IAAI,IAAI,CAAC,aAAa,KAAK,OAAO,EAAE,CAAC;YACnC,GAAG,CAAC,2BAA2B,CAAC,CAAC;QACnC,CAAC;QACD,OAAO,IAAI,CAAC;IACd,CAAC;IACD,OAAO,KAAK,CAAC;AACf,CAAC;AAED;;GAEG;AACH,SAAgB,kBAAkB,CAChC,IAAa,EACb,OAAuB;IAEvB,OAAO,CACL,OAAO,CAAC,WAAW,CAAC,IAAI,CAAC;QACzB,aAAa,CAAC,OAAO,CAAC,gBAAgB,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,CAAC,CACjD,CAAC;AACJ,CAAC;AAED;;GAEG;AACH,SAAgB,sBAAsB,CACpC,IAAa,EACb,OAAuB;IAEvB,OAAO,CACL,OAAO,CAAC,WAAW,CAAC,IAAI,CAAC;QACzB,iBAAiB,CAAC,OAAO,CAAC,gBAAgB,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,CAAC,CACrD,CAAC;AACJ,CAAC;AAED,IAAY,OAKX;AALD,WAAY,OAAO;IACjB,mCAAG,CAAA;IACH,iDAAU,CAAA;IACV,6CAAQ,CAAA;IACR,qCAAI,CAAA;AACN,CAAC,EALW,OAAO,uBAAP,OAAO,QAKlB;AACD;;;GAGG;AACH,SAAgB,mBAAmB,CACjC,IAAa,EACb,OAAuB,EACvB,OAAmB,EACnB,MAAe;IAEf,IAAI,aAAa,CAAC,IAAI,CAAC,EAAE,CAAC;QACxB,OAAO,OAAO,CAAC,GAAG,CAAC;IACrB,CAAC;IACD,IAAI,kBAAkB,CAAC,IAAI,EAAE,OAAO,CAAC,EAAE,CAAC;QACtC,OAAO,OAAO,CAAC,QAAQ,CAAC;IAC1B,CAAC;IACD,KAAK,MAAM,IAAI,IAAI,OAAO,CAAC,SAAS,CAAC,IAAI,CAAC,EAAE,CAAC;QAC3C,IAAI,OAAO,CAAC,cAAc,CAAC,OAAO,EAAE,MAAM,EAAE,IAAI,CAAC,EAAE,CAAC;YAClD,MAAM,WAAW,GAAG,OAAO,CAAC,cAAc,CAAC,IAAI,CAAC,CAAC;YACjD,IAAI,WAAW,EAAE,CAAC;gBAChB,MAAM,cAAc,GAAG,mBAAmB,CACxC,WAAW,EACX,OAAO,EACP,OAAO,EACP,MAAM,CACP,CAAC;gBACF,IAAI,cAAc,KAAK,OAAO,CAAC,GAAG,EAAE,CAAC;oBACnC,OAAO,OAAO,CAAC,UAAU,CAAC;gBAC5B,CAAC;YACH,CAAC;QACH,CAAC;IACH,CAAC;IAED,OAAO,OAAO,CAAC,IAAI,CAAC;AACtB,CAAC;AAED;;GAEG;AACH,SAAgB,mBAAmB,CACjC,IAAa,EACb,UAAmB;IAEnB,MAAM,YAAY,GAAG,UAAU,CAAC,SAAS,EAAE,CAAC;IAC5C,IAAI,CAAC,IAAI,CAAC,SAAS,EAAE,IAAI,CAAC,YAAY,EAAE,CAAC;QACvC,OAAO,KAAK,CAAC;IACf,CAAC;IAED,MAAM,gBAAgB,GAAG,CAAC,IAAI,CAAC,CAAC;IAChC,MAAM,aAAa,GAAG,IAAI,CAAC,YAAY,EAAE,CAAC;IAE1C,IAAI,aAAa,EAAE,CAAC;QAClB,gBAAgB,CAAC,IAAI,CAAC,GAAG,aAAa,CAAC,CAAC;IAC1C,CAAC;IAED,KAAK,MAAM,QAAQ,IAAI,gBAAgB,EAAE,CAAC;QACxC,MAAM,UAAU,GAAG,QAAQ,CAAC,SAAS,EAAE,CAAC;QACxC,IAAI,UAAU,IAAI,UAAU,CAAC,IAAI,KAAK,YAAY,CAAC,IAAI,EAAE,CAAC;YACxD,OAAO,IAAI,CAAC;QACd,CAAC;IACH,CAAC;IAED,OAAO,KAAK,CAAC;AACf,CAAC;AAED,SAAgB,uBAAuB,CACrC,IAAa;IAEb,OAAO,IAAA,6BAAa,EAAC,IAAI,EAAE,EAAE,CAAC,SAAS,CAAC,aAAa,CAAC,CAAC;AACzD,CAAC;AAED,SAAgB,yBAAyB,CACvC,IAAa;IAEb,OAAO,IAAA,6BAAa,EAAC,IAAI,EAAE,EAAE,CAAC,SAAS,CAAC,eAAe,CAAC,CAAC;AAC3D,CAAC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/type-utils/dist/requiresQuoting.js b/node_modules/@typescript-eslint/type-utils/dist/requiresQuoting.js index 8040c043cc..03e37ce2e7 100644 --- a/node_modules/@typescript-eslint/type-utils/dist/requiresQuoting.js +++ b/node_modules/@typescript-eslint/type-utils/dist/requiresQuoting.js @@ -15,13 +15,23 @@ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? ( }) : function(o, v) { o["default"] = v; }); -var __importStar = (this && this.__importStar) || function (mod) { - if (mod && mod.__esModule) return mod; - var result = {}; - if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k); - __setModuleDefault(result, mod); - return result; -}; +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); Object.defineProperty(exports, "__esModule", { value: true }); exports.requiresQuoting = requiresQuoting; const ts = __importStar(require("typescript")); diff --git a/node_modules/@typescript-eslint/type-utils/dist/requiresQuoting.js.map b/node_modules/@typescript-eslint/type-utils/dist/requiresQuoting.js.map index e1af80c7d4..3ed6242d3b 100644 --- a/node_modules/@typescript-eslint/type-utils/dist/requiresQuoting.js.map +++ b/node_modules/@typescript-eslint/type-utils/dist/requiresQuoting.js.map @@ -1 +1 @@ -{"version":3,"file":"requiresQuoting.js","sourceRoot":"","sources":["../src/requiresQuoting.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AAuBS,0CAAe;AAvBxB,+CAAiC;AACjC,8HAA8H;AAC9H,SAAS,eAAe,CACtB,IAAY,EACZ,SAA0B,EAAE,CAAC,YAAY,CAAC,MAAM;IAEhD,IAAI,IAAI,CAAC,MAAM,KAAK,CAAC,EAAE,CAAC;QACtB,OAAO,IAAI,CAAC;IACd,CAAC;IAED,IAAI,CAAC,EAAE,CAAC,iBAAiB,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC,CAAC,EAAE,MAAM,CAAC,EAAE,CAAC;QACtD,OAAO,IAAI,CAAC;IACd,CAAC;IAED,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,IAAI,CAAC,MAAM,EAAE,CAAC,IAAI,CAAC,EAAE,CAAC;QACxC,IAAI,CAAC,EAAE,CAAC,gBAAgB,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC,CAAC,EAAE,MAAM,CAAC,EAAE,CAAC;YACrD,OAAO,IAAI,CAAC;QACd,CAAC;IACH,CAAC;IAED,OAAO,KAAK,CAAC;AACf,CAAC"} \ No newline at end of file +{"version":3,"file":"requiresQuoting.js","sourceRoot":"","sources":["../src/requiresQuoting.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAuBS,0CAAe;AAvBxB,+CAAiC;AACjC,8HAA8H;AAC9H,SAAS,eAAe,CACtB,IAAY,EACZ,SAA0B,EAAE,CAAC,YAAY,CAAC,MAAM;IAEhD,IAAI,IAAI,CAAC,MAAM,KAAK,CAAC,EAAE,CAAC;QACtB,OAAO,IAAI,CAAC;IACd,CAAC;IAED,IAAI,CAAC,EAAE,CAAC,iBAAiB,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC,CAAC,EAAE,MAAM,CAAC,EAAE,CAAC;QACtD,OAAO,IAAI,CAAC;IACd,CAAC;IAED,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,IAAI,CAAC,MAAM,EAAE,CAAC,IAAI,CAAC,EAAE,CAAC;QACxC,IAAI,CAAC,EAAE,CAAC,gBAAgB,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC,CAAC,EAAE,MAAM,CAAC,EAAE,CAAC;YACrD,OAAO,IAAI,CAAC;QACd,CAAC;IACH,CAAC;IAED,OAAO,KAAK,CAAC;AACf,CAAC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/type-utils/dist/typeFlagUtils.js b/node_modules/@typescript-eslint/type-utils/dist/typeFlagUtils.js index fc58120142..af134eb189 100644 --- a/node_modules/@typescript-eslint/type-utils/dist/typeFlagUtils.js +++ b/node_modules/@typescript-eslint/type-utils/dist/typeFlagUtils.js @@ -15,13 +15,23 @@ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? ( }) : function(o, v) { o["default"] = v; }); -var __importStar = (this && this.__importStar) || function (mod) { - if (mod && mod.__esModule) return mod; - var result = {}; - if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k); - __setModuleDefault(result, mod); - return result; -}; +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); Object.defineProperty(exports, "__esModule", { value: true }); exports.getTypeFlags = getTypeFlags; exports.isTypeFlagSet = isTypeFlagSet; diff --git a/node_modules/@typescript-eslint/type-utils/dist/typeFlagUtils.js.map b/node_modules/@typescript-eslint/type-utils/dist/typeFlagUtils.js.map index b4eb91fae4..14c048f30c 100644 --- a/node_modules/@typescript-eslint/type-utils/dist/typeFlagUtils.js.map +++ b/node_modules/@typescript-eslint/type-utils/dist/typeFlagUtils.js.map @@ -1 +1 @@ -{"version":3,"file":"typeFlagUtils.js","sourceRoot":"","sources":["../src/typeFlagUtils.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AAQA,oCAOC;AAWD,sCAcC;AAxCD,sDAAwC;AACxC,+CAAiC;AAEjC,MAAM,cAAc,GAAG,EAAE,CAAC,SAAS,CAAC,GAAG,GAAG,EAAE,CAAC,SAAS,CAAC,OAAO,CAAC;AAE/D;;GAEG;AACH,SAAgB,YAAY,CAAC,IAAa;IACxC,wGAAwG;IACxG,IAAI,KAAK,GAAiB,CAAC,CAAC;IAC5B,KAAK,MAAM,CAAC,IAAI,OAAO,CAAC,cAAc,CAAC,IAAI,CAAC,EAAE,CAAC;QAC7C,KAAK,IAAI,CAAC,CAAC,KAAK,CAAC;IACnB,CAAC;IACD,OAAO,KAAK,CAAC;AACf,CAAC;AAED;;;;;;;;GAQG;AACH,SAAgB,aAAa,CAC3B,IAAa,EACb,YAA0B;AAC1B,4EAA4E;AAC5E,UAAoB;IAEpB,MAAM,KAAK,GAAG,YAAY,CAAC,IAAI,CAAC,CAAC;IAEjC,wEAAwE;IACxE,IAAI,UAAU,IAAI,KAAK,GAAG,cAAc,EAAE,CAAC;QACzC,OAAO,IAAI,CAAC;IACd,CAAC;IAED,OAAO,CAAC,KAAK,GAAG,YAAY,CAAC,KAAK,CAAC,CAAC;AACtC,CAAC"} \ No newline at end of file +{"version":3,"file":"typeFlagUtils.js","sourceRoot":"","sources":["../src/typeFlagUtils.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAQA,oCAOC;AAWD,sCAcC;AAxCD,sDAAwC;AACxC,+CAAiC;AAEjC,MAAM,cAAc,GAAG,EAAE,CAAC,SAAS,CAAC,GAAG,GAAG,EAAE,CAAC,SAAS,CAAC,OAAO,CAAC;AAE/D;;GAEG;AACH,SAAgB,YAAY,CAAC,IAAa;IACxC,wGAAwG;IACxG,IAAI,KAAK,GAAiB,CAAC,CAAC;IAC5B,KAAK,MAAM,CAAC,IAAI,OAAO,CAAC,cAAc,CAAC,IAAI,CAAC,EAAE,CAAC;QAC7C,KAAK,IAAI,CAAC,CAAC,KAAK,CAAC;IACnB,CAAC;IACD,OAAO,KAAK,CAAC;AACf,CAAC;AAED;;;;;;;;GAQG;AACH,SAAgB,aAAa,CAC3B,IAAa,EACb,YAA0B;AAC1B,4EAA4E;AAC5E,UAAoB;IAEpB,MAAM,KAAK,GAAG,YAAY,CAAC,IAAI,CAAC,CAAC;IAEjC,wEAAwE;IACxE,IAAI,UAAU,IAAI,KAAK,GAAG,cAAc,EAAE,CAAC;QACzC,OAAO,IAAI,CAAC;IACd,CAAC;IAED,OAAO,CAAC,KAAK,GAAG,YAAY,CAAC,KAAK,CAAC,CAAC;AACtC,CAAC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/type-utils/dist/typeOrValueSpecifiers/specifierNameMatches.js b/node_modules/@typescript-eslint/type-utils/dist/typeOrValueSpecifiers/specifierNameMatches.js index 0f28f95643..ec3730035b 100644 --- a/node_modules/@typescript-eslint/type-utils/dist/typeOrValueSpecifiers/specifierNameMatches.js +++ b/node_modules/@typescript-eslint/type-utils/dist/typeOrValueSpecifiers/specifierNameMatches.js @@ -15,13 +15,23 @@ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? ( }) : function(o, v) { o["default"] = v; }); -var __importStar = (this && this.__importStar) || function (mod) { - if (mod && mod.__esModule) return mod; - var result = {}; - if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k); - __setModuleDefault(result, mod); - return result; -}; +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); Object.defineProperty(exports, "__esModule", { value: true }); exports.specifierNameMatches = specifierNameMatches; const tsutils = __importStar(require("ts-api-utils")); diff --git a/node_modules/@typescript-eslint/type-utils/dist/typeOrValueSpecifiers/specifierNameMatches.js.map b/node_modules/@typescript-eslint/type-utils/dist/typeOrValueSpecifiers/specifierNameMatches.js.map index af1e07344d..37726a7a2c 100644 --- a/node_modules/@typescript-eslint/type-utils/dist/typeOrValueSpecifiers/specifierNameMatches.js.map +++ b/node_modules/@typescript-eslint/type-utils/dist/typeOrValueSpecifiers/specifierNameMatches.js.map @@ -1 +1 @@ -{"version":3,"file":"specifierNameMatches.js","sourceRoot":"","sources":["../../src/typeOrValueSpecifiers/specifierNameMatches.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AAIA,oDAsBC;AAxBD,sDAAwC;AAExC,SAAgB,oBAAoB,CAClC,IAAa,EACb,KAAwB;IAExB,IAAI,OAAO,KAAK,KAAK,QAAQ,EAAE,CAAC;QAC9B,KAAK,GAAG,CAAC,KAAK,CAAC,CAAC;IAClB,CAAC;IAED,MAAM,MAAM,GAAG,IAAI,CAAC,WAAW,IAAI,IAAI,CAAC,SAAS,EAAE,CAAC;IACpD,MAAM,cAAc,GAAG,MAAM;QAC3B,CAAC,CAAC,CAAC,MAAM,CAAC,WAAqB,EAAE,IAAI,CAAC,aAAa,CAAC;QACpD,CAAC,CAAC,CAAC,IAAI,CAAC,aAAa,CAAC,CAAC;IAEzB,IAAI,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,EAAE,CAAC,cAAc,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC,EAAE,CAAC;QACtD,OAAO,IAAI,CAAC;IACd,CAAC;IAED,IAAI,OAAO,CAAC,kBAAkB,CAAC,IAAI,CAAC,EAAE,CAAC;QACrC,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,OAAO,CAAC,EAAE,CAAC,oBAAoB,CAAC,OAAO,EAAE,KAAK,CAAC,CAAC,CAAC;IAC1E,CAAC;IAED,OAAO,KAAK,CAAC;AACf,CAAC"} \ No newline at end of file +{"version":3,"file":"specifierNameMatches.js","sourceRoot":"","sources":["../../src/typeOrValueSpecifiers/specifierNameMatches.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAIA,oDAsBC;AAxBD,sDAAwC;AAExC,SAAgB,oBAAoB,CAClC,IAAa,EACb,KAAwB;IAExB,IAAI,OAAO,KAAK,KAAK,QAAQ,EAAE,CAAC;QAC9B,KAAK,GAAG,CAAC,KAAK,CAAC,CAAC;IAClB,CAAC;IAED,MAAM,MAAM,GAAG,IAAI,CAAC,WAAW,IAAI,IAAI,CAAC,SAAS,EAAE,CAAC;IACpD,MAAM,cAAc,GAAG,MAAM;QAC3B,CAAC,CAAC,CAAC,MAAM,CAAC,WAAqB,EAAE,IAAI,CAAC,aAAa,CAAC;QACpD,CAAC,CAAC,CAAC,IAAI,CAAC,aAAa,CAAC,CAAC;IAEzB,IAAI,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,EAAE,CAAC,cAAc,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC,EAAE,CAAC;QACtD,OAAO,IAAI,CAAC;IACd,CAAC;IAED,IAAI,OAAO,CAAC,kBAAkB,CAAC,IAAI,CAAC,EAAE,CAAC;QACrC,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,OAAO,CAAC,EAAE,CAAC,oBAAoB,CAAC,OAAO,EAAE,KAAK,CAAC,CAAC,CAAC;IAC1E,CAAC;IAED,OAAO,KAAK,CAAC;AACf,CAAC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/type-utils/dist/typeOrValueSpecifiers/typeDeclaredInPackageDeclarationFile.js b/node_modules/@typescript-eslint/type-utils/dist/typeOrValueSpecifiers/typeDeclaredInPackageDeclarationFile.js index 0e821b4911..671f0b5fea 100644 --- a/node_modules/@typescript-eslint/type-utils/dist/typeOrValueSpecifiers/typeDeclaredInPackageDeclarationFile.js +++ b/node_modules/@typescript-eslint/type-utils/dist/typeOrValueSpecifiers/typeDeclaredInPackageDeclarationFile.js @@ -15,13 +15,23 @@ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? ( }) : function(o, v) { o["default"] = v; }); -var __importStar = (this && this.__importStar) || function (mod) { - if (mod && mod.__esModule) return mod; - var result = {}; - if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k); - __setModuleDefault(result, mod); - return result; -}; +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); Object.defineProperty(exports, "__esModule", { value: true }); exports.typeDeclaredInPackageDeclarationFile = typeDeclaredInPackageDeclarationFile; const ts = __importStar(require("typescript")); diff --git a/node_modules/@typescript-eslint/type-utils/dist/typeOrValueSpecifiers/typeDeclaredInPackageDeclarationFile.js.map b/node_modules/@typescript-eslint/type-utils/dist/typeOrValueSpecifiers/typeDeclaredInPackageDeclarationFile.js.map index 27eee78ad0..2f5d73cf01 100644 --- a/node_modules/@typescript-eslint/type-utils/dist/typeOrValueSpecifiers/typeDeclaredInPackageDeclarationFile.js.map +++ b/node_modules/@typescript-eslint/type-utils/dist/typeOrValueSpecifiers/typeDeclaredInPackageDeclarationFile.js.map @@ -1 +1 @@ -{"version":3,"file":"typeDeclaredInPackageDeclarationFile.js","sourceRoot":"","sources":["../../src/typeOrValueSpecifiers/typeDeclaredInPackageDeclarationFile.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AA8CA,oFAUC;AAxDD,+CAAiC;AAEjC,SAAS,2BAA2B,CAClC,IAAa;IAEb,QAAQ,IAAI,CAAC,IAAI,EAAE,CAAC;QAClB,KAAK,EAAE,CAAC,UAAU,CAAC,iBAAiB;YAClC,OAAO,EAAE,CAAC,eAAe,CAAE,IAA6B,CAAC,IAAI,CAAC;gBAC5D,CAAC,CAAE,IAA6B;gBAChC,CAAC,CAAC,SAAS,CAAC;QAChB,KAAK,EAAE,CAAC,UAAU,CAAC,UAAU;YAC3B,OAAO,SAAS,CAAC;QACnB;YACE,OAAO,2BAA2B,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC;IACpD,CAAC;AACH,CAAC;AAED,SAAS,2BAA2B,CAClC,WAAmB,EACnB,YAAuB;IAEvB,OAAO,YAAY,CAAC,IAAI,CACtB,WAAW,CAAC,EAAE,CACZ,2BAA2B,CAAC,WAAW,CAAC,EAAE,IAAI,CAAC,IAAI,KAAK,WAAW,CACtE,CAAC;AACJ,CAAC;AAED,SAAS,6BAA6B,CACpC,WAAmB,EACnB,gBAAiC,EACjC,OAAmB;IAEnB,qFAAqF;IACrF,MAAM,gBAAgB,GAAG,WAAW,CAAC,OAAO,CAAC,aAAa,EAAE,MAAM,CAAC,CAAC;IAEpE,MAAM,OAAO,GAAG,IAAI,MAAM,CAAC,GAAG,WAAW,IAAI,gBAAgB,EAAE,CAAC,CAAC;IACjE,OAAO,gBAAgB,CAAC,IAAI,CAAC,WAAW,CAAC,EAAE;QACzC,MAAM,aAAa,GAAG,OAAO,CAAC,uBAAuB,CAAC,GAAG,CAAC,WAAW,CAAC,IAAI,CAAC,CAAC;QAC5E,OAAO,CACL,aAAa,KAAK,SAAS;YAC3B,OAAO,CAAC,IAAI,CAAC,aAAa,CAAC;YAC3B,OAAO,CAAC,+BAA+B,CAAC,WAAW,CAAC,CACrD,CAAC;IACJ,CAAC,CAAC,CAAC;AACL,CAAC;AAED,SAAgB,oCAAoC,CAClD,WAAmB,EACnB,YAAuB,EACvB,gBAAiC,EACjC,OAAmB;IAEnB,OAAO,CACL,2BAA2B,CAAC,WAAW,EAAE,YAAY,CAAC;QACtD,6BAA6B,CAAC,WAAW,EAAE,gBAAgB,EAAE,OAAO,CAAC,CACtE,CAAC;AACJ,CAAC"} \ No newline at end of file +{"version":3,"file":"typeDeclaredInPackageDeclarationFile.js","sourceRoot":"","sources":["../../src/typeOrValueSpecifiers/typeDeclaredInPackageDeclarationFile.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA8CA,oFAUC;AAxDD,+CAAiC;AAEjC,SAAS,2BAA2B,CAClC,IAAa;IAEb,QAAQ,IAAI,CAAC,IAAI,EAAE,CAAC;QAClB,KAAK,EAAE,CAAC,UAAU,CAAC,iBAAiB;YAClC,OAAO,EAAE,CAAC,eAAe,CAAE,IAA6B,CAAC,IAAI,CAAC;gBAC5D,CAAC,CAAE,IAA6B;gBAChC,CAAC,CAAC,SAAS,CAAC;QAChB,KAAK,EAAE,CAAC,UAAU,CAAC,UAAU;YAC3B,OAAO,SAAS,CAAC;QACnB;YACE,OAAO,2BAA2B,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC;IACpD,CAAC;AACH,CAAC;AAED,SAAS,2BAA2B,CAClC,WAAmB,EACnB,YAAuB;IAEvB,OAAO,YAAY,CAAC,IAAI,CACtB,WAAW,CAAC,EAAE,CACZ,2BAA2B,CAAC,WAAW,CAAC,EAAE,IAAI,CAAC,IAAI,KAAK,WAAW,CACtE,CAAC;AACJ,CAAC;AAED,SAAS,6BAA6B,CACpC,WAAmB,EACnB,gBAAiC,EACjC,OAAmB;IAEnB,qFAAqF;IACrF,MAAM,gBAAgB,GAAG,WAAW,CAAC,OAAO,CAAC,aAAa,EAAE,MAAM,CAAC,CAAC;IAEpE,MAAM,OAAO,GAAG,IAAI,MAAM,CAAC,GAAG,WAAW,IAAI,gBAAgB,EAAE,CAAC,CAAC;IACjE,OAAO,gBAAgB,CAAC,IAAI,CAAC,WAAW,CAAC,EAAE;QACzC,MAAM,aAAa,GAAG,OAAO,CAAC,uBAAuB,CAAC,GAAG,CAAC,WAAW,CAAC,IAAI,CAAC,CAAC;QAC5E,OAAO,CACL,aAAa,KAAK,SAAS;YAC3B,OAAO,CAAC,IAAI,CAAC,aAAa,CAAC;YAC3B,OAAO,CAAC,+BAA+B,CAAC,WAAW,CAAC,CACrD,CAAC;IACJ,CAAC,CAAC,CAAC;AACL,CAAC;AAED,SAAgB,oCAAoC,CAClD,WAAmB,EACnB,YAAuB,EACvB,gBAAiC,EACjC,OAAmB;IAEnB,OAAO,CACL,2BAA2B,CAAC,WAAW,EAAE,YAAY,CAAC;QACtD,6BAA6B,CAAC,WAAW,EAAE,gBAAgB,EAAE,OAAO,CAAC,CACtE,CAAC;AACJ,CAAC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/type-utils/package.json b/node_modules/@typescript-eslint/type-utils/package.json index 6bf9c43fba..0eb486640d 100644 --- a/node_modules/@typescript-eslint/type-utils/package.json +++ b/node_modules/@typescript-eslint/type-utils/package.json @@ -1,6 +1,6 @@ { "name": "@typescript-eslint/type-utils", - "version": "8.15.0", + "version": "8.16.0", "description": "Type utilities for working with TypeScript + ESLint together", "files": [ "dist", @@ -46,8 +46,8 @@ "typecheck": "tsc --noEmit" }, "dependencies": { - "@typescript-eslint/typescript-estree": "8.15.0", - "@typescript-eslint/utils": "8.15.0", + "@typescript-eslint/typescript-estree": "8.16.0", + "@typescript-eslint/utils": "8.16.0", "debug": "^4.3.4", "ts-api-utils": "^1.3.0" }, @@ -56,7 +56,7 @@ }, "devDependencies": { "@jest/types": "29.6.3", - "@typescript-eslint/parser": "8.15.0", + "@typescript-eslint/parser": "8.16.0", "ajv": "^6.12.6", "downlevel-dts": "*", "jest": "29.7.0", diff --git a/node_modules/@typescript-eslint/types/dist/lib.d.ts b/node_modules/@typescript-eslint/types/dist/lib.d.ts index 6745ae598f..d007fce8ee 100644 --- a/node_modules/@typescript-eslint/types/dist/lib.d.ts +++ b/node_modules/@typescript-eslint/types/dist/lib.d.ts @@ -1,3 +1,3 @@ -type Lib = 'decorators' | 'decorators.legacy' | 'dom' | 'dom.asynciterable' | 'dom.iterable' | 'es5' | 'es6' | 'es7' | 'es2015' | 'es2015.collection' | 'es2015.core' | 'es2015.generator' | 'es2015.iterable' | 'es2015.promise' | 'es2015.proxy' | 'es2015.reflect' | 'es2015.symbol' | 'es2015.symbol.wellknown' | 'es2016' | 'es2016.array.include' | 'es2016.full' | 'es2016.intl' | 'es2017' | 'es2017.date' | 'es2017.full' | 'es2017.intl' | 'es2017.object' | 'es2017.sharedmemory' | 'es2017.string' | 'es2017.typedarrays' | 'es2018' | 'es2018.asyncgenerator' | 'es2018.asynciterable' | 'es2018.full' | 'es2018.intl' | 'es2018.promise' | 'es2018.regexp' | 'es2019' | 'es2019.array' | 'es2019.full' | 'es2019.intl' | 'es2019.object' | 'es2019.string' | 'es2019.symbol' | 'es2020' | 'es2020.bigint' | 'es2020.date' | 'es2020.full' | 'es2020.intl' | 'es2020.number' | 'es2020.promise' | 'es2020.sharedmemory' | 'es2020.string' | 'es2020.symbol.wellknown' | 'es2021' | 'es2021.full' | 'es2021.intl' | 'es2021.promise' | 'es2021.string' | 'es2021.weakref' | 'es2022' | 'es2022.array' | 'es2022.error' | 'es2022.full' | 'es2022.intl' | 'es2022.object' | 'es2022.regexp' | 'es2022.sharedmemory' | 'es2022.string' | 'es2023' | 'es2023.array' | 'es2023.collection' | 'es2023.full' | 'es2023.intl' | 'esnext' | 'esnext.array' | 'esnext.asynciterable' | 'esnext.bigint' | 'esnext.collection' | 'esnext.decorators' | 'esnext.disposable' | 'esnext.full' | 'esnext.intl' | 'esnext.iterator' | 'esnext.object' | 'esnext.promise' | 'esnext.regexp' | 'esnext.string' | 'esnext.symbol' | 'esnext.weakref' | 'lib' | 'scripthost' | 'webworker' | 'webworker.asynciterable' | 'webworker.importscripts' | 'webworker.iterable'; +type Lib = 'decorators' | 'decorators.legacy' | 'dom' | 'dom.asynciterable' | 'dom.iterable' | 'es5' | 'es6' | 'es7' | 'es2015' | 'es2015.collection' | 'es2015.core' | 'es2015.generator' | 'es2015.iterable' | 'es2015.promise' | 'es2015.proxy' | 'es2015.reflect' | 'es2015.symbol' | 'es2015.symbol.wellknown' | 'es2016' | 'es2016.array.include' | 'es2016.full' | 'es2016.intl' | 'es2017' | 'es2017.arraybuffer' | 'es2017.date' | 'es2017.full' | 'es2017.intl' | 'es2017.object' | 'es2017.sharedmemory' | 'es2017.string' | 'es2017.typedarrays' | 'es2018' | 'es2018.asyncgenerator' | 'es2018.asynciterable' | 'es2018.full' | 'es2018.intl' | 'es2018.promise' | 'es2018.regexp' | 'es2019' | 'es2019.array' | 'es2019.full' | 'es2019.intl' | 'es2019.object' | 'es2019.string' | 'es2019.symbol' | 'es2020' | 'es2020.bigint' | 'es2020.date' | 'es2020.full' | 'es2020.intl' | 'es2020.number' | 'es2020.promise' | 'es2020.sharedmemory' | 'es2020.string' | 'es2020.symbol.wellknown' | 'es2021' | 'es2021.full' | 'es2021.intl' | 'es2021.promise' | 'es2021.string' | 'es2021.weakref' | 'es2022' | 'es2022.array' | 'es2022.error' | 'es2022.full' | 'es2022.intl' | 'es2022.object' | 'es2022.regexp' | 'es2022.string' | 'es2023' | 'es2023.array' | 'es2023.collection' | 'es2023.full' | 'es2023.intl' | 'es2024' | 'es2024.arraybuffer' | 'es2024.collection' | 'es2024.full' | 'es2024.object' | 'es2024.promise' | 'es2024.regexp' | 'es2024.sharedmemory' | 'es2024.string' | 'esnext' | 'esnext.array' | 'esnext.asynciterable' | 'esnext.bigint' | 'esnext.collection' | 'esnext.decorators' | 'esnext.disposable' | 'esnext.full' | 'esnext.intl' | 'esnext.iterator' | 'esnext.object' | 'esnext.promise' | 'esnext.regexp' | 'esnext.string' | 'esnext.symbol' | 'esnext.weakref' | 'lib' | 'scripthost' | 'webworker' | 'webworker.asynciterable' | 'webworker.importscripts' | 'webworker.iterable'; export { Lib }; //# sourceMappingURL=lib.d.ts.map \ No newline at end of file diff --git a/node_modules/@typescript-eslint/types/dist/lib.d.ts.map b/node_modules/@typescript-eslint/types/dist/lib.d.ts.map index e1b9c05d0c..51e8fd1347 100644 --- a/node_modules/@typescript-eslint/types/dist/lib.d.ts.map +++ b/node_modules/@typescript-eslint/types/dist/lib.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"lib.d.ts","sourceRoot":"","sources":["../src/lib.ts"],"names":[],"mappings":"AAKA,KAAK,GAAG,GACJ,YAAY,GACZ,mBAAmB,GACnB,KAAK,GACL,mBAAmB,GACnB,cAAc,GACd,KAAK,GACL,KAAK,GACL,KAAK,GACL,QAAQ,GACR,mBAAmB,GACnB,aAAa,GACb,kBAAkB,GAClB,iBAAiB,GACjB,gBAAgB,GAChB,cAAc,GACd,gBAAgB,GAChB,eAAe,GACf,yBAAyB,GACzB,QAAQ,GACR,sBAAsB,GACtB,aAAa,GACb,aAAa,GACb,QAAQ,GACR,aAAa,GACb,aAAa,GACb,aAAa,GACb,eAAe,GACf,qBAAqB,GACrB,eAAe,GACf,oBAAoB,GACpB,QAAQ,GACR,uBAAuB,GACvB,sBAAsB,GACtB,aAAa,GACb,aAAa,GACb,gBAAgB,GAChB,eAAe,GACf,QAAQ,GACR,cAAc,GACd,aAAa,GACb,aAAa,GACb,eAAe,GACf,eAAe,GACf,eAAe,GACf,QAAQ,GACR,eAAe,GACf,aAAa,GACb,aAAa,GACb,aAAa,GACb,eAAe,GACf,gBAAgB,GAChB,qBAAqB,GACrB,eAAe,GACf,yBAAyB,GACzB,QAAQ,GACR,aAAa,GACb,aAAa,GACb,gBAAgB,GAChB,eAAe,GACf,gBAAgB,GAChB,QAAQ,GACR,cAAc,GACd,cAAc,GACd,aAAa,GACb,aAAa,GACb,eAAe,GACf,eAAe,GACf,qBAAqB,GACrB,eAAe,GACf,QAAQ,GACR,cAAc,GACd,mBAAmB,GACnB,aAAa,GACb,aAAa,GACb,QAAQ,GACR,cAAc,GACd,sBAAsB,GACtB,eAAe,GACf,mBAAmB,GACnB,mBAAmB,GACnB,mBAAmB,GACnB,aAAa,GACb,aAAa,GACb,iBAAiB,GACjB,eAAe,GACf,gBAAgB,GAChB,eAAe,GACf,eAAe,GACf,eAAe,GACf,gBAAgB,GAChB,KAAK,GACL,YAAY,GACZ,WAAW,GACX,yBAAyB,GACzB,yBAAyB,GACzB,oBAAoB,CAAC;AAEzB,OAAO,EAAE,GAAG,EAAE,CAAC"} \ No newline at end of file +{"version":3,"file":"lib.d.ts","sourceRoot":"","sources":["../src/lib.ts"],"names":[],"mappings":"AAKA,KAAK,GAAG,GACJ,YAAY,GACZ,mBAAmB,GACnB,KAAK,GACL,mBAAmB,GACnB,cAAc,GACd,KAAK,GACL,KAAK,GACL,KAAK,GACL,QAAQ,GACR,mBAAmB,GACnB,aAAa,GACb,kBAAkB,GAClB,iBAAiB,GACjB,gBAAgB,GAChB,cAAc,GACd,gBAAgB,GAChB,eAAe,GACf,yBAAyB,GACzB,QAAQ,GACR,sBAAsB,GACtB,aAAa,GACb,aAAa,GACb,QAAQ,GACR,oBAAoB,GACpB,aAAa,GACb,aAAa,GACb,aAAa,GACb,eAAe,GACf,qBAAqB,GACrB,eAAe,GACf,oBAAoB,GACpB,QAAQ,GACR,uBAAuB,GACvB,sBAAsB,GACtB,aAAa,GACb,aAAa,GACb,gBAAgB,GAChB,eAAe,GACf,QAAQ,GACR,cAAc,GACd,aAAa,GACb,aAAa,GACb,eAAe,GACf,eAAe,GACf,eAAe,GACf,QAAQ,GACR,eAAe,GACf,aAAa,GACb,aAAa,GACb,aAAa,GACb,eAAe,GACf,gBAAgB,GAChB,qBAAqB,GACrB,eAAe,GACf,yBAAyB,GACzB,QAAQ,GACR,aAAa,GACb,aAAa,GACb,gBAAgB,GAChB,eAAe,GACf,gBAAgB,GAChB,QAAQ,GACR,cAAc,GACd,cAAc,GACd,aAAa,GACb,aAAa,GACb,eAAe,GACf,eAAe,GACf,eAAe,GACf,QAAQ,GACR,cAAc,GACd,mBAAmB,GACnB,aAAa,GACb,aAAa,GACb,QAAQ,GACR,oBAAoB,GACpB,mBAAmB,GACnB,aAAa,GACb,eAAe,GACf,gBAAgB,GAChB,eAAe,GACf,qBAAqB,GACrB,eAAe,GACf,QAAQ,GACR,cAAc,GACd,sBAAsB,GACtB,eAAe,GACf,mBAAmB,GACnB,mBAAmB,GACnB,mBAAmB,GACnB,aAAa,GACb,aAAa,GACb,iBAAiB,GACjB,eAAe,GACf,gBAAgB,GAChB,eAAe,GACf,eAAe,GACf,eAAe,GACf,gBAAgB,GAChB,KAAK,GACL,YAAY,GACZ,WAAW,GACX,yBAAyB,GACzB,yBAAyB,GACzB,oBAAoB,CAAC;AAEzB,OAAO,EAAE,GAAG,EAAE,CAAC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/types/dist/ts-estree.js b/node_modules/@typescript-eslint/types/dist/ts-estree.js index e0dc7c61d3..9e361e6ec4 100644 --- a/node_modules/@typescript-eslint/types/dist/ts-estree.js +++ b/node_modules/@typescript-eslint/types/dist/ts-estree.js @@ -15,13 +15,23 @@ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? ( }) : function(o, v) { o["default"] = v; }); -var __importStar = (this && this.__importStar) || function (mod) { - if (mod && mod.__esModule) return mod; - var result = {}; - if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k); - __setModuleDefault(result, mod); - return result; -}; +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); Object.defineProperty(exports, "__esModule", { value: true }); exports.TSESTree = void 0; exports.TSESTree = __importStar(require("./generated/ast-spec")); diff --git a/node_modules/@typescript-eslint/types/dist/ts-estree.js.map b/node_modules/@typescript-eslint/types/dist/ts-estree.js.map index c7732e383b..ac9ead2c95 100644 --- a/node_modules/@typescript-eslint/types/dist/ts-estree.js.map +++ b/node_modules/@typescript-eslint/types/dist/ts-estree.js.map @@ -1 +1 @@ -{"version":3,"file":"ts-estree.js","sourceRoot":"","sources":["../src/ts-estree.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAkOA,iEAAiD"} \ No newline at end of file +{"version":3,"file":"ts-estree.js","sourceRoot":"","sources":["../src/ts-estree.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAkOA,iEAAiD"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/types/package.json b/node_modules/@typescript-eslint/types/package.json index 92a124df4c..a5c435e5e3 100644 --- a/node_modules/@typescript-eslint/types/package.json +++ b/node_modules/@typescript-eslint/types/package.json @@ -1,6 +1,6 @@ { "name": "@typescript-eslint/types", - "version": "8.15.0", + "version": "8.16.0", "description": "Types for the TypeScript-ESTree AST spec", "files": [ "dist", diff --git a/node_modules/@typescript-eslint/typescript-estree/dist/convert-comments.js b/node_modules/@typescript-eslint/typescript-estree/dist/convert-comments.js index 81b740496c..31aca933eb 100644 --- a/node_modules/@typescript-eslint/typescript-estree/dist/convert-comments.js +++ b/node_modules/@typescript-eslint/typescript-estree/dist/convert-comments.js @@ -15,13 +15,23 @@ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? ( }) : function(o, v) { o["default"] = v; }); -var __importStar = (this && this.__importStar) || function (mod) { - if (mod && mod.__esModule) return mod; - var result = {}; - if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k); - __setModuleDefault(result, mod); - return result; -}; +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); Object.defineProperty(exports, "__esModule", { value: true }); exports.convertComments = convertComments; const tsutils = __importStar(require("ts-api-utils")); diff --git a/node_modules/@typescript-eslint/typescript-estree/dist/convert-comments.js.map b/node_modules/@typescript-eslint/typescript-estree/dist/convert-comments.js.map index e79c91ddcb..f4addc760c 100644 --- a/node_modules/@typescript-eslint/typescript-estree/dist/convert-comments.js.map +++ b/node_modules/@typescript-eslint/typescript-estree/dist/convert-comments.js.map @@ -1 +1 @@ -{"version":3,"file":"convert-comments.js","sourceRoot":"","sources":["../src/convert-comments.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AAeA,0CAmCC;AAlDD,sDAAwC;AACxC,+CAAiC;AAIjC,6CAAyC;AACzC,2CAA8C;AAE9C;;;;;;GAMG;AACH,SAAgB,eAAe,CAC7B,GAAkB,EAClB,IAAY;IAEZ,MAAM,QAAQ,GAAuB,EAAE,CAAC;IAExC,OAAO,CAAC,cAAc,CACpB,GAAG,EACH,CAAC,CAAC,EAAE,OAAO,EAAE,EAAE;QACb,MAAM,IAAI,GACR,OAAO,CAAC,IAAI,KAAK,EAAE,CAAC,UAAU,CAAC,uBAAuB;YACpD,CAAC,CAAC,2BAAe,CAAC,IAAI;YACtB,CAAC,CAAC,2BAAe,CAAC,KAAK,CAAC;QAC5B,MAAM,KAAK,GAAmB,CAAC,OAAO,CAAC,GAAG,EAAE,OAAO,CAAC,GAAG,CAAC,CAAC;QACzD,MAAM,GAAG,GAAG,IAAA,sBAAS,EAAC,KAAK,EAAE,GAAG,CAAC,CAAC;QAElC,mDAAmD;QACnD,MAAM,SAAS,GAAG,KAAK,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC;QAC/B,MAAM,OAAO,GACX,OAAO,CAAC,IAAI,KAAK,EAAE,CAAC,UAAU,CAAC,uBAAuB;YACpD,CAAC,CAAC,sCAAsC;gBACtC,KAAK,CAAC,CAAC,CAAC,GAAG,SAAS;YACtB,CAAC,CAAC,4CAA4C;gBAC5C,KAAK,CAAC,CAAC,CAAC,GAAG,SAAS,GAAG,CAAC,CAAC;QAC/B,QAAQ,CAAC,IAAI,CAAC;YACZ,IAAI;YACJ,GAAG;YACH,KAAK;YACL,KAAK,EAAE,IAAI,CAAC,KAAK,CAAC,SAAS,EAAE,SAAS,GAAG,OAAO,CAAC;SAClD,CAAC,CAAC;IACL,CAAC,EACD,GAAG,CACJ,CAAC;IAEF,OAAO,QAAQ,CAAC;AAClB,CAAC"} \ No newline at end of file +{"version":3,"file":"convert-comments.js","sourceRoot":"","sources":["../src/convert-comments.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAeA,0CAmCC;AAlDD,sDAAwC;AACxC,+CAAiC;AAIjC,6CAAyC;AACzC,2CAA8C;AAE9C;;;;;;GAMG;AACH,SAAgB,eAAe,CAC7B,GAAkB,EAClB,IAAY;IAEZ,MAAM,QAAQ,GAAuB,EAAE,CAAC;IAExC,OAAO,CAAC,cAAc,CACpB,GAAG,EACH,CAAC,CAAC,EAAE,OAAO,EAAE,EAAE;QACb,MAAM,IAAI,GACR,OAAO,CAAC,IAAI,KAAK,EAAE,CAAC,UAAU,CAAC,uBAAuB;YACpD,CAAC,CAAC,2BAAe,CAAC,IAAI;YACtB,CAAC,CAAC,2BAAe,CAAC,KAAK,CAAC;QAC5B,MAAM,KAAK,GAAmB,CAAC,OAAO,CAAC,GAAG,EAAE,OAAO,CAAC,GAAG,CAAC,CAAC;QACzD,MAAM,GAAG,GAAG,IAAA,sBAAS,EAAC,KAAK,EAAE,GAAG,CAAC,CAAC;QAElC,mDAAmD;QACnD,MAAM,SAAS,GAAG,KAAK,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC;QAC/B,MAAM,OAAO,GACX,OAAO,CAAC,IAAI,KAAK,EAAE,CAAC,UAAU,CAAC,uBAAuB;YACpD,CAAC,CAAC,sCAAsC;gBACtC,KAAK,CAAC,CAAC,CAAC,GAAG,SAAS;YACtB,CAAC,CAAC,4CAA4C;gBAC5C,KAAK,CAAC,CAAC,CAAC,GAAG,SAAS,GAAG,CAAC,CAAC;QAC/B,QAAQ,CAAC,IAAI,CAAC;YACZ,IAAI;YACJ,GAAG;YACH,KAAK;YACL,KAAK,EAAE,IAAI,CAAC,KAAK,CAAC,SAAS,EAAE,SAAS,GAAG,OAAO,CAAC;SAClD,CAAC,CAAC;IACL,CAAC,EACD,GAAG,CACJ,CAAC;IAEF,OAAO,QAAQ,CAAC;AAClB,CAAC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/typescript-estree/dist/convert.d.ts.map b/node_modules/@typescript-eslint/typescript-estree/dist/convert.d.ts.map index 2469ef76c6..92463b3cb9 100644 --- a/node_modules/@typescript-eslint/typescript-estree/dist/convert.d.ts.map +++ b/node_modules/@typescript-eslint/typescript-estree/dist/convert.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"convert.d.ts","sourceRoot":"","sources":["../src/convert.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,MAAM,YAAY,CAAC;AAEjC,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AAC5C,OAAO,KAAK,EACV,aAAa,EACb,2BAA2B,EAC5B,MAAM,kBAAkB,CAAC;AAC1B,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,gCAAgC,CAAC;AAC/E,OAAO,KAAK,EAAE,QAAQ,EAAoB,MAAM,EAAE,MAAM,aAAa,CAAC;AAmCtE,MAAM,WAAW,gBAAgB;IAC/B,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,qBAAqB,CAAC,EAAE,OAAO,CAAC;IAChC,sBAAsB,CAAC,EAAE,OAAO,CAAC;IACjC,kCAAkC,CAAC,EAAE,OAAO,CAAC;CAC9C;AAED;;;;GAIG;AACH,wBAAgB,YAAY,CAC1B,KAAK,EAAE,wBAAwB,GAAG,EAAE,CAAC,sBAAsB,GAC1D,OAAO,CAMT;AAED,MAAM,WAAW,OAAO;IACtB,qBAAqB,EAAE,2BAA2B,CAAC;IACnD,qBAAqB,EAAE,aAAa,CAAC,MAAM,EAAE,QAAQ,CAAC,IAAI,CAAC,CAAC;CAC7D;AAED,qBAAa,SAAS;;IACpB,OAAO,CAAC,YAAY,CAAS;IAC7B,OAAO,CAAC,QAAQ,CAAC,GAAG,CAAgB;IACpC,OAAO,CAAC,QAAQ,CAAC,qBAAqB,CAAiB;IACvD,OAAO,CAAC,QAAQ,CAAC,OAAO,CAAmB;IAC3C,OAAO,CAAC,QAAQ,CAAC,qBAAqB,CAAiB;IAEvD;;;;;OAKG;gBACS,GAAG,EAAE,EAAE,CAAC,UAAU,EAAE,OAAO,CAAC,EAAE,gBAAgB;IAsZ1D,OAAO,CAAC,qBAAqB;IAsB7B,OAAO,CAAC,oCAAoC;IAe5C;;;;;OAKG;IACH,OAAO,CAAC,sBAAsB;IAiC9B,OAAO,CAAC,sBAAsB;IA4C9B;;;;;OAKG;IACH,OAAO,CAAC,YAAY;IAIpB;;;;;OAKG;IACH,OAAO,CAAC,cAAc;IAItB;;;;;;OAMG;IACH,OAAO,CAAC,qBAAqB;IAsB7B;;;;;OAKG;IACH,OAAO,CAAC,gDAAgD;IAexD;;;;OAIG;IACH,OAAO,CAAC,kDAAkD;IAmB1D;;;;OAIG;IACH,OAAO,CAAC,iBAAiB;IAgBzB;;;;;;OAMG;IACH,OAAO,CAAC,SAAS;IA8BjB,OAAO,CAAC,uBAAuB;IAQ/B,OAAO,CAAC,oBAAoB;IAW5B,OAAO,CAAC,+BAA+B;IAiDvC;;;;OAIG;IACH,OAAO,CAAC,iBAAiB;IA8BzB,OAAO,CAAC,sBAAsB;IAoC9B;;;;OAIG;IACH,OAAO,CAAC,iBAAiB;IAczB;;;;;OAKG;IACH,OAAO,CAAC,WAAW;IA09EnB,OAAO,CAAC,UAAU;IAelB,cAAc,IAAI,QAAQ,CAAC,OAAO;IAIlC;;;;OAIG;IACH,OAAO,CAAC,UAAU;IA0FlB;;;OAGG;IACH,OAAO,CAAC,UAAU;IAiFlB,UAAU,IAAI,OAAO;IAOrB;;OAEG;IACH,OAAO,CAAC,uBAAuB;CAYhC"} \ No newline at end of file +{"version":3,"file":"convert.d.ts","sourceRoot":"","sources":["../src/convert.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,MAAM,YAAY,CAAC;AAEjC,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AAC5C,OAAO,KAAK,EACV,aAAa,EACb,2BAA2B,EAC5B,MAAM,kBAAkB,CAAC;AAC1B,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,gCAAgC,CAAC;AAC/E,OAAO,KAAK,EAAE,QAAQ,EAAoB,MAAM,EAAE,MAAM,aAAa,CAAC;AAmCtE,MAAM,WAAW,gBAAgB;IAC/B,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,qBAAqB,CAAC,EAAE,OAAO,CAAC;IAChC,sBAAsB,CAAC,EAAE,OAAO,CAAC;IACjC,kCAAkC,CAAC,EAAE,OAAO,CAAC;CAC9C;AAED;;;;GAIG;AACH,wBAAgB,YAAY,CAC1B,KAAK,EAAE,wBAAwB,GAAG,EAAE,CAAC,sBAAsB,GAC1D,OAAO,CAMT;AAED,MAAM,WAAW,OAAO;IACtB,qBAAqB,EAAE,2BAA2B,CAAC;IACnD,qBAAqB,EAAE,aAAa,CAAC,MAAM,EAAE,QAAQ,CAAC,IAAI,CAAC,CAAC;CAC7D;AAED,qBAAa,SAAS;;IACpB,OAAO,CAAC,YAAY,CAAS;IAC7B,OAAO,CAAC,QAAQ,CAAC,GAAG,CAAgB;IACpC,OAAO,CAAC,QAAQ,CAAC,qBAAqB,CAAiB;IACvD,OAAO,CAAC,QAAQ,CAAC,OAAO,CAAmB;IAC3C,OAAO,CAAC,QAAQ,CAAC,qBAAqB,CAAiB;IAEvD;;;;;OAKG;gBACS,GAAG,EAAE,EAAE,CAAC,UAAU,EAAE,OAAO,CAAC,EAAE,gBAAgB;IAsZ1D,OAAO,CAAC,qBAAqB;IAsB7B,OAAO,CAAC,oCAAoC;IAe5C;;;;;OAKG;IACH,OAAO,CAAC,sBAAsB;IAiC9B,OAAO,CAAC,sBAAsB;IA4C9B;;;;;OAKG;IACH,OAAO,CAAC,YAAY;IAIpB;;;;;OAKG;IACH,OAAO,CAAC,cAAc;IAItB;;;;;;OAMG;IACH,OAAO,CAAC,qBAAqB;IAsB7B;;;;;OAKG;IACH,OAAO,CAAC,gDAAgD;IAexD;;;;OAIG;IACH,OAAO,CAAC,kDAAkD;IAmB1D;;;;OAIG;IACH,OAAO,CAAC,iBAAiB;IAgBzB;;;;;;OAMG;IACH,OAAO,CAAC,SAAS;IA8BjB,OAAO,CAAC,uBAAuB;IAQ/B,OAAO,CAAC,oBAAoB;IAW5B,OAAO,CAAC,+BAA+B;IAiDvC;;;;OAIG;IACH,OAAO,CAAC,iBAAiB;IA8BzB,OAAO,CAAC,sBAAsB;IAoC9B;;;;OAIG;IACH,OAAO,CAAC,iBAAiB;IAczB;;;;;OAKG;IACH,OAAO,CAAC,WAAW;IA49EnB,OAAO,CAAC,UAAU;IAelB,cAAc,IAAI,QAAQ,CAAC,OAAO;IAIlC;;;;OAIG;IACH,OAAO,CAAC,UAAU;IA0FlB;;;OAGG;IACH,OAAO,CAAC,UAAU;IAiFlB,UAAU,IAAI,OAAO;IAOrB;;OAEG;IACH,OAAO,CAAC,uBAAuB;CAYhC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/typescript-estree/dist/convert.js b/node_modules/@typescript-eslint/typescript-estree/dist/convert.js index c9d7bf2a8b..7d8684163c 100644 --- a/node_modules/@typescript-eslint/typescript-estree/dist/convert.js +++ b/node_modules/@typescript-eslint/typescript-estree/dist/convert.js @@ -15,13 +15,23 @@ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? ( }) : function(o, v) { o["default"] = v; }); -var __importStar = (this && this.__importStar) || function (mod) { - if (mod && mod.__esModule) return mod; - var result = {}; - if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k); - __setModuleDefault(result, mod); - return result; -}; +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); Object.defineProperty(exports, "__esModule", { value: true }); exports.Converter = void 0; exports.convertError = convertError; @@ -1235,7 +1245,7 @@ class Converter { typeAnnotation: undefined, }); } - else if (node.dotDotDotToken) { + if (node.dotDotDotToken) { return this.createNode(node, { type: ts_estree_1.AST_NODE_TYPES.RestElement, argument: arrayItem, diff --git a/node_modules/@typescript-eslint/typescript-estree/dist/convert.js.map b/node_modules/@typescript-eslint/typescript-estree/dist/convert.js.map index 285f2c6bc1..2bbf5a5e8a 100644 --- a/node_modules/@typescript-eslint/typescript-estree/dist/convert.js.map +++ b/node_modules/@typescript-eslint/typescript-estree/dist/convert.js.map @@ -1 +1 @@ -{"version":3,"file":"convert.js","sourceRoot":"","sources":["../src/convert.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAyDA,oCAQC;AAjED,2DAA2D;AAC3D,2SAA2S;AAC3S,+CAAiC;AAUjC,iDAA6D;AAC7D,6CA2BsB;AACtB,2CAA6C;AAE7C,MAAM,UAAU,GAAG,EAAE,CAAC,UAAU,CAAC;AASjC;;;;GAIG;AACH,SAAgB,YAAY,CAC1B,KAA2D;IAE3D,OAAO,IAAA,wBAAW,EAChB,CAAC,SAAS,IAAI,KAAK,IAAI,KAAK,CAAC,OAAO,CAAC,IAAK,KAAK,CAAC,WAAsB,EACtE,KAAK,CAAC,IAAK,EACX,KAAK,CAAC,KAAM,CACb,CAAC;AACJ,CAAC;AAOD,MAAa,SAAS;IACZ,YAAY,GAAG,KAAK,CAAC;IACZ,GAAG,CAAgB;IACnB,qBAAqB,GAAG,IAAI,OAAO,EAAE,CAAC;IACtC,OAAO,CAAmB;IAC1B,qBAAqB,GAAG,IAAI,OAAO,EAAE,CAAC;IAEvD;;;;;OAKG;IACH,YAAY,GAAkB,EAAE,OAA0B;QACxD,IAAI,CAAC,GAAG,GAAG,GAAG,CAAC;QACf,IAAI,CAAC,OAAO,GAAG,EAAE,GAAG,OAAO,EAAE,CAAC;IAChC,CAAC;IAED,6BAA6B,CAC3B,WAA8B,EAC9B,IAAiE;QAEjE,MAAM,IAAI,GACR,IAAI,KAAK,EAAE,CAAC,UAAU,CAAC,cAAc,CAAC,CAAC,CAAC,UAAU,CAAC,CAAC,CAAC,UAAU,CAAC;QAClE,IAAI,EAAE,CAAC,yBAAyB,CAAC,WAAW,CAAC,EAAE,CAAC;YAC9C,IAAI,WAAW,CAAC,YAAY,CAAC,MAAM,KAAK,CAAC,EAAE,CAAC;gBAC1C,IAAI,CAAC,WAAW,CACd,WAAW,EACX,uDAAuD,IAAI,cAAc,CAC1E,CAAC;YACJ,CAAC;YACD,MAAM,WAAW,GAAG,WAAW,CAAC,YAAY,CAAC,CAAC,CAAC,CAAC;YAChD,IAAI,WAAW,CAAC,WAAW,EAAE,CAAC;gBAC5B,IAAI,CAAC,WAAW,CACd,WAAW,EACX,kCAAkC,IAAI,yCAAyC,CAChF,CAAC;YACJ,CAAC;iBAAM,IAAI,WAAW,CAAC,IAAI,EAAE,CAAC;gBAC5B,IAAI,CAAC,WAAW,CACd,WAAW,EACX,kCAAkC,IAAI,4CAA4C,CACnF,CAAC;YACJ,CAAC;YACD,IACE,IAAI,KAAK,EAAE,CAAC,UAAU,CAAC,cAAc;gBACrC,WAAW,CAAC,KAAK,GAAG,EAAE,CAAC,SAAS,CAAC,KAAK,EACtC,CAAC;gBACD,IAAI,CAAC,WAAW,CACd,WAAW,EACX,+EAA+E,CAChF,CAAC;YACJ,CAAC;QACH,CAAC;aAAM,IACL,CAAC,IAAA,oCAAuB,EAAC,WAAW,CAAC;YACrC,WAAW,CAAC,IAAI,KAAK,EAAE,CAAC,UAAU,CAAC,uBAAuB;YAC1D,WAAW,CAAC,IAAI,KAAK,EAAE,CAAC,UAAU,CAAC,sBAAsB,EACzD,CAAC;YACD,IAAI,CAAC,WAAW,CACd,WAAW,EACX,4BAA4B,IAAI,sDAAsD,CACvF,CAAC;QACJ,CAAC;IACH,CAAC;IAED,eAAe,CAAC,IAAa;QAC3B,IAAI,IAAI,CAAC,OAAO,CAAC,eAAe,EAAE,CAAC;YACjC,OAAO;QACT,CAAC;QAED,mBAAmB;QACnB,IAAI,IAAA,qCAAwB,EAAC,IAAI,CAAC,EAAE,CAAC;YACnC,IAAI,CAAC,WAAW,CACd,IAAI,CAAC,iBAAiB,CAAC,CAAC,CAAC,EACzB,gCAAgC,CACjC,CAAC;QACJ,CAAC;QAED,KAAK,MAAM,SAAS,IAAI,IAAA,4BAAa,EACnC,IAAI;QACJ,8BAA8B,CAAC,IAAI,CACpC,IAAI,EAAE,EAAE,CAAC;YACR,iDAAiD;YACjD,IAAI,CAAC,IAAA,+BAAkB,EAAC,IAAc,CAAC,EAAE,CAAC;gBACxC,IAAI,EAAE,CAAC,mBAAmB,CAAC,IAAI,CAAC,IAAI,CAAC,IAAA,0BAAa,EAAC,IAAI,CAAC,IAAI,CAAC,EAAE,CAAC;oBAC9D,IAAI,CAAC,WAAW,CACd,SAAS,EACT,yEAAyE,CAC1E,CAAC;gBACJ,CAAC;qBAAM,CAAC;oBACN,IAAI,CAAC,WAAW,CAAC,SAAS,EAAE,gCAAgC,CAAC,CAAC;gBAChE,CAAC;YACH,CAAC;QACH,CAAC;QAED,KAAK,MAAM,QAAQ,IAAI,IAAA,2BAAY,EACjC,IAAI;QACJ,6BAA6B,CAAC,IAAI,CACnC,IAAI,EAAE,EAAE,CAAC;YACR,IAAI,QAAQ,CAAC,IAAI,KAAK,UAAU,CAAC,eAAe,EAAE,CAAC;gBACjD,IACE,IAAI,CAAC,IAAI,KAAK,UAAU,CAAC,iBAAiB;oBAC1C,IAAI,CAAC,IAAI,KAAK,UAAU,CAAC,eAAe,EACxC,CAAC;oBACD,IAAI,CAAC,WAAW,CACd,QAAQ,EACR,IAAI,EAAE,CAAC,aAAa,CAClB,QAAQ,CAAC,IAAI,CACd,2CAA2C,CAC7C,CAAC;gBACJ,CAAC;gBAED,IACE,IAAI,CAAC,IAAI,KAAK,UAAU,CAAC,cAAc;oBACvC,CAAC,QAAQ,CAAC,IAAI,KAAK,UAAU,CAAC,aAAa;wBACzC,CAAC,EAAE,CAAC,WAAW,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,EAC/B,CAAC;oBACD,IAAI,CAAC,WAAW,CACd,QAAQ,EACR,IAAI,EAAE,CAAC,aAAa,CAClB,QAAQ,CAAC,IAAI,CACd,gDAAgD,CAClD,CAAC;gBACJ,CAAC;YACH,CAAC;YAED,IACE,QAAQ,CAAC,IAAI,KAAK,UAAU,CAAC,SAAS;gBACtC,QAAQ,CAAC,IAAI,KAAK,UAAU,CAAC,UAAU;gBACvC,QAAQ,CAAC,IAAI,KAAK,UAAU,CAAC,YAAY;gBACzC,IAAI,CAAC,IAAI,KAAK,UAAU,CAAC,aAAa,EACtC,CAAC;gBACD,IAAI,CAAC,WAAW,CACd,QAAQ,EACR,IAAI,EAAE,CAAC,aAAa,CAClB,QAAQ,CAAC,IAAI,CACd,8CAA8C,CAChD,CAAC;YACJ,CAAC;YAED,IACE,CAAC,QAAQ,CAAC,IAAI,KAAK,UAAU,CAAC,SAAS;gBACrC,QAAQ,CAAC,IAAI,KAAK,UAAU,CAAC,UAAU,CAAC;gBAC1C,CAAC,IAAI,CAAC,IAAI,KAAK,UAAU,CAAC,aAAa;oBACrC,CAAC,CACC,EAAE,CAAC,sBAAsB,CAAC,IAAI,CAAC,MAAM,CAAC;wBACtC,EAAE,CAAC,WAAW,CAAC,IAAI,CAAC,MAAM,CAAC;wBAC3B,EAAE,CAAC,sBAAsB,CAAC,IAAI,CAAC,MAAM,CAAC,CACvC,CAAC,EACJ,CAAC;gBACD,IAAI,CAAC,WAAW,CACd,QAAQ,EACR,IAAI,EAAE,CAAC,aAAa,CAClB,QAAQ,CAAC,IAAI,CACd,oFAAoF,CACtF,CAAC;YACJ,CAAC;YAED,IACE,QAAQ,CAAC,IAAI,KAAK,UAAU,CAAC,eAAe;gBAC5C,IAAI,CAAC,IAAI,KAAK,UAAU,CAAC,mBAAmB;gBAC5C,IAAI,CAAC,IAAI,KAAK,UAAU,CAAC,iBAAiB;gBAC1C,IAAI,CAAC,IAAI,KAAK,UAAU,CAAC,cAAc;gBACvC,IAAI,CAAC,IAAI,KAAK,UAAU,CAAC,SAAS,EAClC,CAAC;gBACD,IAAI,CAAC,WAAW,CACd,QAAQ,EACR,mFAAmF,CACpF,CAAC;YACJ,CAAC;YAED,IACE,QAAQ,CAAC,IAAI,KAAK,UAAU,CAAC,cAAc;gBAC3C,EAAE,CAAC,WAAW,CAAC,IAAI,CAAC,MAAM,CAAC;gBAC3B,CAAC,EAAE,CAAC,qBAAqB,CAAC,IAAI,CAAC,EAC/B,CAAC;gBACD,IAAI,CAAC,WAAW,CACd,QAAQ,EACR,IAAI,EAAE,CAAC,aAAa,CAClB,QAAQ,CAAC,IAAI,CACd,0DAA0D,CAC5D,CAAC;YACJ,CAAC;YAED,IACE,QAAQ,CAAC,IAAI,KAAK,UAAU,CAAC,cAAc;gBAC3C,EAAE,CAAC,mBAAmB,CAAC,IAAI,CAAC,EAC5B,CAAC;gBACD,MAAM,eAAe,GAAG,IAAA,+BAAkB,EAAC,IAAI,CAAC,eAAe,CAAC,CAAC;gBACjE,IAAI,eAAe,KAAK,OAAO,IAAI,eAAe,KAAK,aAAa,EAAE,CAAC;oBACrE,IAAI,CAAC,WAAW,CACd,QAAQ,EACR,0CAA0C,eAAe,gBAAgB,CAC1E,CAAC;gBACJ,CAAC;YACH,CAAC;YAED,IACE,QAAQ,CAAC,IAAI,KAAK,UAAU,CAAC,eAAe;gBAC5C,IAAI,CAAC,IAAI,KAAK,UAAU,CAAC,gBAAgB;gBACzC,IAAI,CAAC,IAAI,KAAK,UAAU,CAAC,eAAe;gBACxC,IAAI,CAAC,IAAI,KAAK,UAAU,CAAC,iBAAiB;gBAC1C,IAAI,CAAC,IAAI,KAAK,UAAU,CAAC,mBAAmB;gBAC5C,IAAI,CAAC,IAAI,KAAK,UAAU,CAAC,WAAW;gBACpC,IAAI,CAAC,IAAI,KAAK,UAAU,CAAC,WAAW,EACpC,CAAC;gBACD,IAAI,CAAC,WAAW,CACd,QAAQ,EACR,IAAI,EAAE,CAAC,aAAa,CAClB,QAAQ,CAAC,IAAI,CACd,yEAAyE,CAC3E,CAAC;YACJ,CAAC;YAED,IACE,CAAC,QAAQ,CAAC,IAAI,KAAK,UAAU,CAAC,aAAa;gBACzC,QAAQ,CAAC,IAAI,KAAK,UAAU,CAAC,aAAa;gBAC1C,QAAQ,CAAC,IAAI,KAAK,UAAU,CAAC,gBAAgB;gBAC7C,QAAQ,CAAC,IAAI,KAAK,UAAU,CAAC,cAAc,CAAC;gBAC9C,CAAC,IAAI,CAAC,MAAM,CAAC,IAAI,KAAK,UAAU,CAAC,WAAW;oBAC1C,IAAI,CAAC,MAAM,CAAC,IAAI,KAAK,UAAU,CAAC,UAAU,CAAC,EAC7C,CAAC;gBACD,IAAI,CAAC,WAAW,CACd,QAAQ,EACR,IAAI,EAAE,CAAC,aAAa,CAClB,QAAQ,CAAC,IAAI,CACd,4DAA4D,CAC9D,CAAC;YACJ,CAAC;YAED,IACE,QAAQ,CAAC,IAAI,KAAK,UAAU,CAAC,eAAe;gBAC5C,IAAI,CAAC,IAAI,KAAK,UAAU,CAAC,mBAAmB,EAC5C,CAAC;gBACD,IAAI,CAAC,WAAW,CACd,QAAQ,EACR,gEAAgE,CACjE,CAAC;YACJ,CAAC;YAED,uDAAuD;YACvD,IACE,QAAQ,CAAC,IAAI,KAAK,UAAU,CAAC,YAAY;gBACzC,IAAI,CAAC,IAAI,KAAK,UAAU,CAAC,iBAAiB;gBAC1C,IAAI,CAAC,IAAI,KAAK,UAAU,CAAC,mBAAmB;gBAC5C,IAAI,CAAC,IAAI,KAAK,UAAU,CAAC,kBAAkB;gBAC3C,IAAI,CAAC,IAAI,KAAK,UAAU,CAAC,aAAa,EACtC,CAAC;gBACD,IAAI,CAAC,WAAW,CAAC,QAAQ,EAAE,uCAAuC,CAAC,CAAC;YACtE,CAAC;YAED,mDAAmD;YACnD,IACE,IAAI,CAAC,IAAI,KAAK,UAAU,CAAC,SAAS;gBAClC,CAAC,QAAQ,CAAC,IAAI,KAAK,UAAU,CAAC,aAAa;oBACzC,QAAQ,CAAC,IAAI,KAAK,UAAU,CAAC,aAAa;oBAC1C,QAAQ,CAAC,IAAI,KAAK,UAAU,CAAC,cAAc;oBAC3C,QAAQ,CAAC,IAAI,KAAK,UAAU,CAAC,YAAY,CAAC,EAC5C,CAAC;gBACD,IAAI,CAAC,WAAW,CACd,QAAQ,EACR,IAAI,EAAE,CAAC,aAAa,CAClB,QAAQ,CAAC,IAAI,CACd,0CAA0C,CAC5C,CAAC;YACJ,CAAC;YAED,mDAAmD;YACnD,IACE,QAAQ,CAAC,IAAI,KAAK,UAAU,CAAC,aAAa;gBAC1C,QAAQ,CAAC,IAAI,KAAK,UAAU,CAAC,gBAAgB;gBAC7C,QAAQ,CAAC,IAAI,KAAK,UAAU,CAAC,cAAc,EAC3C,CAAC;gBACD,KAAK,MAAM,eAAe,IAAI,IAAA,2BAAY,EAAC,IAAI,CAAC,IAAI,EAAE,EAAE,CAAC;oBACvD,IACE,eAAe,KAAK,QAAQ;wBAC5B,CAAC,eAAe,CAAC,IAAI,KAAK,UAAU,CAAC,aAAa;4BAChD,eAAe,CAAC,IAAI,KAAK,UAAU,CAAC,gBAAgB;4BACpD,eAAe,CAAC,IAAI,KAAK,UAAU,CAAC,cAAc,CAAC,EACrD,CAAC;wBACD,IAAI,CAAC,WAAW,CACd,eAAe,EACf,sCAAsC,CACvC,CAAC;oBACJ,CAAC;gBACH,CAAC;YACH,CAAC;YAED,4CAA4C;YAC5C,IACE,IAAI,CAAC,IAAI,KAAK,UAAU,CAAC,SAAS;gBAClC,4GAA4G;gBAC5G,0FAA0F;gBAC1F,CAAC,QAAQ,CAAC,IAAI,KAAK,UAAU,CAAC,aAAa;oBACzC,QAAQ,CAAC,IAAI,KAAK,UAAU,CAAC,cAAc;oBAC3C,QAAQ,CAAC,IAAI,KAAK,UAAU,CAAC,gBAAgB;oBAC7C,QAAQ,CAAC,IAAI,KAAK,UAAU,CAAC,eAAe;oBAC5C,QAAQ,CAAC,IAAI,KAAK,UAAU,CAAC,eAAe,CAAC,EAC/C,CAAC;gBACD,MAAM,IAAI,GAAG,IAAA,kCAAqB,EAAC,IAAI,CAAE,CAAC;gBAE1C,IACE,CAAC,CAAC,IAAI,CAAC,IAAI,KAAK,UAAU,CAAC,WAAW,IAAI,IAAA,0BAAa,EAAC,IAAI,CAAC,IAAI,CAAC,CAAC,EACnE,CAAC;oBACD,IAAI,CAAC,WAAW,CACd,QAAQ,EACR,uEAAuE,CACxE,CAAC;gBACJ,CAAC;YACH,CAAC;QACH,CAAC;IACH,CAAC;IAED,WAAW,CAAC,IAAsB,EAAE,OAAe;QACjD,IAAI,KAAK,CAAC;QACV,IAAI,GAAG,CAAC;QACR,IAAI,OAAO,IAAI,KAAK,QAAQ,EAAE,CAAC;YAC7B,KAAK,GAAG,GAAG,GAAG,IAAI,CAAC;QACrB,CAAC;aAAM,CAAC;YACN,KAAK,GAAG,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;YAChC,GAAG,GAAG,IAAI,CAAC,MAAM,EAAE,CAAC;QACtB,CAAC;QAED,MAAM,IAAA,wBAAW,EAAC,OAAO,EAAE,IAAI,CAAC,GAAG,EAAE,KAAK,EAAE,GAAG,CAAC,CAAC;IACnD,CAAC;IAED,2BAA2B,CACzB,IAAsB,EACtB,OAAe;QAEf,IAAI,CAAC,IAAI,CAAC,OAAO,CAAC,eAAe,EAAE,CAAC;YAClC,IAAI,CAAC,WAAW,CAAC,IAAI,EAAE,OAAO,CAAC,CAAC;QAClC,CAAC;IACH,CAAC;IAED;;;;;;OAMG;IACH,0BAA0B,CAKxB,IAAgB,EAChB,QAAkB,EAClB,QAAkB,EAClB,gBAAgB,GAAG,KAAK;QAExB,IAAI,MAAM,GAAG,gBAAgB,CAAC;QAE9B,MAAM,CAAC,cAAc,CAAC,IAAI,EAAE,QAAQ,EAAE;YACpC,YAAY,EAAE,IAAI;YAClB,GAAG,EAAE,IAAI,CAAC,OAAO,CAAC,kCAAkC;gBAClD,CAAC,CAAC,GAAgC,EAAE,CAAC,IAAI,CAAC,QAAQ,CAAC;gBACnD,CAAC,CAAC,GAAgC,EAAE;oBAChC,IAAI,CAAC,MAAM,EAAE,CAAC;wBACZ,OAAO,CAAC,WAAW,CACjB,QAAQ,QAAQ,+BAA+B,IAAI,CAAC,IAAI,gBAAgB,QAAQ,iJAAiJ,EACjO,oBAAoB,CACrB,CAAC;wBACF,MAAM,GAAG,IAAI,CAAC;oBAChB,CAAC;oBAED,OAAO,IAAI,CAAC,QAAQ,CAAC,CAAC;gBACxB,CAAC;YACL,GAAG,CAAC,KAAK;gBACP,MAAM,CAAC,cAAc,CAAC,IAAI,EAAE,QAAQ,EAAE;oBACpC,UAAU,EAAE,IAAI;oBAChB,KAAK;oBACL,QAAQ,EAAE,IAAI;iBACf,CAAC,CAAC;YACL,CAAC;SACF,CAAC,CAAC;QAEH,OAAO,IAA2D,CAAC;IACrE,CAAC;IAED,qBAAqB,CAKnB,IAAgB,EAChB,aAAkB,EAClB,YAAoB,EACpB,KAAY;QAEZ,IAAI,MAAM,GAAG,KAAK,CAAC;QAEnB,MAAM,CAAC,cAAc,CAAC,IAAI,EAAE,aAAa,EAAE;YACzC,YAAY,EAAE,IAAI;YAClB,GAAG,EAAE,IAAI,CAAC,OAAO,CAAC,kCAAkC;gBAClD,CAAC,CAAC,GAAU,EAAE,CAAC,KAAK;gBACpB,CAAC,CAAC,GAAU,EAAE;oBACV,IAAI,CAAC,MAAM,EAAE,CAAC;wBACZ,OAAO,CAAC,WAAW,CACjB,QAAQ,aAAa,+BAA+B,IAAI,CAAC,IAAI,eAAe,YAAY,gJAAgJ,EACxO,oBAAoB,CACrB,CAAC;wBACF,MAAM,GAAG,IAAI,CAAC;oBAChB,CAAC;oBAED,OAAO,KAAK,CAAC;gBACf,CAAC;YACL,GAAG,CAAC,KAAK;gBACP,MAAM,CAAC,cAAc,CAAC,IAAI,EAAE,aAAa,EAAE;oBACzC,UAAU,EAAE,IAAI;oBAChB,KAAK;oBACL,QAAQ,EAAE,IAAI;iBACf,CAAC,CAAC;YACL,CAAC;SACF,CAAC,CAAC;QAEH,OAAO,IAAuC,CAAC;IACjD,CAAC;IAEO,qBAAqB,CAC3B,IAAiD,EACjD,SAAkB;QAElB,IAAI,CAAC,SAAS,IAAI,IAAI,CAAC,eAAe,IAAI,IAAI,EAAE,CAAC;YAC/C,IAAI,CAAC,2BAA2B,CAC9B,IAAI,EACJ,4CAA4C,CAC7C,CAAC;QACJ,CAAC;QAED,IACE,IAAI,CAAC,eAAe;YACpB,IAAI,CAAC,eAAe,EAAE,IAAI,KAAK,UAAU,CAAC,aAAa,EACvD,CAAC;YACD,IAAI,CAAC,2BAA2B,CAC9B,IAAI,CAAC,eAAe,EACpB,4CAA4C,CAC7C,CAAC;QACJ,CAAC;IACH,CAAC;IAEO,oCAAoC,CAC1C,IAAoB,EACpB,MAA+B,EAC/B,MAAgB;QAEhB,MAAM,EAAE,GAAG,IAAI,CAAC,cAAc,CAAC,IAAI,CAAyB,CAAC;QAE7D,IAAI,MAAM,EAAE,CAAC;YACX,EAAE,CAAC,cAAc,GAAG,IAAI,CAAC,qBAAqB,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;YAC/D,IAAI,CAAC,iBAAiB,CAAC,EAAE,EAAE,EAAE,CAAC,cAAc,CAAC,KAAK,CAAC,CAAC;QACtD,CAAC;QAED,OAAO,EAAE,CAAC;IACZ,CAAC;IAED;;;;;OAKG;IACK,sBAAsB,CAC5B,KAAiC,EACjC,MAIiB;QAEjB,IAAI,eAAe,GAAG,IAAA,gCAAmB,EAAC,MAAM,CAAC,CAAC;QAElD,OAAO,CACL,KAAK;aACF,GAAG,CAAC,SAAS,CAAC,EAAE;YACf,MAAM,KAAK,GAAG,IAAI,CAAC,YAAY,CAAC,SAAS,CAAC,CAAC;YAC3C,IAAI,eAAe,EAAE,CAAC;gBACpB,IACE,KAAK,EAAE,UAAU;oBACjB,EAAE,CAAC,qBAAqB,CAAC,SAAS,CAAC;oBACnC,EAAE,CAAC,eAAe,CAAC,SAAS,CAAC,UAAU,CAAC,EACxC,CAAC;oBACD,MAAM,GAAG,GAAG,KAAK,CAAC,UAAU,CAAC,GAAG,CAAC;oBACjC,KAAK,CAAC,SAAS,GAAG,GAAG,CAAC,KAAK,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC;oBACnC,OAAO,KAAK,CAAC,CAAC,6CAA6C;gBAC7D,CAAC;gBACD,eAAe,GAAG,KAAK,CAAC;YAC1B,CAAC;YACD,OAAO,KAAK,CAAC,CAAC,6CAA6C;QAC7D,CAAC,CAAC;YACF,mCAAmC;aAClC,MAAM,CAAC,SAAS,CAAC,EAAE,CAAC,SAAS,CAAC,CAClC,CAAC;IACJ,CAAC;IAEO,sBAAsB,CAC5B,IAA2B,EAC3B,MAI+B;QAE/B,MAAM,EAAE,KAAK,EAAE,UAAU,EAAE,GAAG,CAAC,GAG7B,EAAE;YACF,IAAI,IAAI,CAAC,IAAI,KAAK,0BAAc,CAAC,gBAAgB,EAAE,CAAC;gBAClD,OAAO,EAAE,KAAK,EAAE,IAAI,CAAC,MAAM,EAAE,UAAU,EAAE,IAAI,CAAC,QAAQ,EAAE,CAAC;YAC3D,CAAC;YACD,IAAI,IAAI,CAAC,IAAI,KAAK,0BAAc,CAAC,cAAc,EAAE,CAAC;gBAChD,OAAO,EAAE,KAAK,EAAE,IAAI,CAAC,MAAM,EAAE,UAAU,EAAE,IAAI,CAAC,QAAQ,EAAE,CAAC;YAC3D,CAAC;YACD,OAAO,EAAE,KAAK,EAAE,IAAI,CAAC,UAAU,EAAE,UAAU,EAAE,KAAK,EAAE,CAAC;QACvD,CAAC,CAAC,EAAE,CAAC;QACL,MAAM,kBAAkB,GAAG,IAAA,4CAA+B,EAAC,MAAM,EAAE,KAAK,CAAC,CAAC;QAE1E,IAAI,CAAC,kBAAkB,IAAI,CAAC,UAAU,EAAE,CAAC;YACvC,OAAO,IAAI,CAAC;QACd,CAAC;QAED,IAAI,kBAAkB,IAAI,IAAA,8BAAiB,EAAC,KAAK,CAAC,EAAE,CAAC;YACnD,oCAAoC;YACpC,MAAM,QAAQ,GAAG,KAAK,CAAC,UAAU,CAAC;YAClC,IAAI,IAAI,CAAC,IAAI,KAAK,0BAAc,CAAC,gBAAgB,EAAE,CAAC;gBAClD,IAAI,CAAC,MAAM,GAAG,QAAQ,CAAC;YACzB,CAAC;iBAAM,IAAI,IAAI,CAAC,IAAI,KAAK,0BAAc,CAAC,cAAc,EAAE,CAAC;gBACvD,IAAI,CAAC,MAAM,GAAG,QAAQ,CAAC;YACzB,CAAC;iBAAM,CAAC;gBACN,IAAI,CAAC,UAAU,GAAG,QAAQ,CAAC;YAC7B,CAAC;QACH,CAAC;QAED,OAAO,IAAI,CAAC,UAAU,CAA2B,MAAM,EAAE;YACvD,IAAI,EAAE,0BAAc,CAAC,eAAe;YACpC,UAAU,EAAE,IAAI;SACjB,CAAC,CAAC;IACL,CAAC;IAED;;;;;OAKG;IACK,YAAY,CAAC,KAAe,EAAE,MAAgB;QACpD,OAAO,IAAI,CAAC,SAAS,CAAC,KAAK,EAAE,MAAM,EAAE,KAAK,CAAC,CAAC;IAC9C,CAAC;IAED;;;;;OAKG;IACK,cAAc,CAAC,KAAe,EAAE,MAAgB;QACtD,OAAO,IAAI,CAAC,SAAS,CAAC,KAAK,EAAE,MAAM,EAAE,IAAI,CAAC,CAAC;IAC7C,CAAC;IAED;;;;;;OAMG;IACK,qBAAqB,CAC3B,KAAkB,EAClB,MAA2B;QAE3B,6GAA6G;QAC7G,MAAM,MAAM,GACV,MAAM,EAAE,IAAI,KAAK,UAAU,CAAC,YAAY;YACxC,MAAM,EAAE,IAAI,KAAK,UAAU,CAAC,eAAe;YACzC,CAAC,CAAC,CAAC;YACH,CAAC,CAAC,CAAC,CAAC;QACR,MAAM,kBAAkB,GAAG,KAAK,CAAC,YAAY,EAAE,GAAG,MAAM,CAAC;QACzD,MAAM,KAAK,GAAmB,CAAC,kBAAkB,EAAE,KAAK,CAAC,GAAG,CAAC,CAAC;QAC9D,MAAM,GAAG,GAAG,IAAA,sBAAS,EAAC,KAAK,EAAE,IAAI,CAAC,GAAG,CAAC,CAAC;QAEvC,OAAO;YACL,IAAI,EAAE,0BAAc,CAAC,gBAAgB;YACrC,GAAG;YACH,KAAK;YACL,cAAc,EAAE,IAAI,CAAC,YAAY,CAAC,KAAK,CAAC;SACZ,CAAC;IACjC,CAAC;IAED;;;;;OAKG;IACK,gDAAgD,CACtD,aAAwC,EACxC,IAA6D;QAE7D,MAAM,gBAAgB,GAAG,IAAA,0BAAa,EAAC,aAAa,EAAE,IAAI,CAAC,GAAG,EAAE,IAAI,CAAC,GAAG,CAAE,CAAC;QAE3E,OAAO,IAAI,CAAC,UAAU,CAAwC,IAAI,EAAE;YAClE,IAAI,EAAE,0BAAc,CAAC,4BAA4B;YACjD,KAAK,EAAE,CAAC,aAAa,CAAC,GAAG,GAAG,CAAC,EAAE,gBAAgB,CAAC,GAAG,CAAC;YACpD,MAAM,EAAE,aAAa,CAAC,GAAG,CAAC,YAAY,CAAC,EAAE,CACvC,IAAI,CAAC,YAAY,CAAC,YAAY,CAAC,CAChC;SACF,CAAC,CAAC;IACL,CAAC;IAED;;;;OAIG;IACK,kDAAkD,CACxD,cAAyD;QAEzD,MAAM,gBAAgB,GAAG,IAAA,0BAAa,EAAC,cAAc,EAAE,IAAI,CAAC,GAAG,EAAE,IAAI,CAAC,GAAG,CAAE,CAAC;QAC5E,MAAM,KAAK,GAAmB;YAC5B,cAAc,CAAC,GAAG,GAAG,CAAC;YACtB,gBAAgB,CAAC,GAAG;SACrB,CAAC;QAEF,OAAO;YACL,IAAI,EAAE,0BAAc,CAAC,0BAA0B;YAC/C,GAAG,EAAE,IAAA,sBAAS,EAAC,KAAK,EAAE,IAAI,CAAC,GAAG,CAAC;YAC/B,KAAK;YACL,MAAM,EAAE,cAAc,CAAC,GAAG,CAAC,aAAa,CAAC,EAAE,CACzC,IAAI,CAAC,YAAY,CAAC,aAAa,CAAC,CACjC;SACqC,CAAC;IAC3C,CAAC;IAED;;;;OAIG;IACK,iBAAiB,CACvB,UAAiD;QAEjD,IAAI,CAAC,UAAU,EAAE,MAAM,EAAE,CAAC;YACxB,OAAO,EAAE,CAAC;QACZ,CAAC;QACD,OAAO,UAAU,CAAC,GAAG,CAAC,KAAK,CAAC,EAAE;YAC5B,MAAM,cAAc,GAAG,IAAI,CAAC,YAAY,CAAC,KAAK,CAAuB,CAAC;YAEtE,cAAc,CAAC,UAAU;gBACvB,IAAA,4BAAa,EAAC,KAAK,CAAC,EAAE,GAAG,CAAC,EAAE,CAAC,EAAE,CAAC,IAAI,CAAC,YAAY,CAAC,EAAE,CAAC,CAAC,IAAI,EAAE,CAAC;YAE/D,OAAO,cAAc,CAAC;QACxB,CAAC,CAAC,CAAC;IACL,CAAC;IAED;;;;;;OAMG;IACK,SAAS,CACf,IAAc,EACd,MAAgB,EAChB,YAAsB;QAEtB;;WAEG;QACH,IAAI,CAAC,IAAI,EAAE,CAAC;YACV,OAAO,IAAI,CAAC;QACd,CAAC;QAED,IAAI,CAAC,eAAe,CAAC,IAAI,CAAC,CAAC;QAE3B,MAAM,OAAO,GAAG,IAAI,CAAC,YAAY,CAAC;QAClC,IAAI,YAAY,KAAK,SAAS,EAAE,CAAC;YAC/B,IAAI,CAAC,YAAY,GAAG,YAAY,CAAC;QACnC,CAAC;QAED,MAAM,MAAM,GAAG,IAAI,CAAC,WAAW,CAC7B,IAAc,EACd,CAAC,MAAM,IAAI,IAAI,CAAC,MAAM,CAAW,CAClC,CAAC;QAEF,IAAI,CAAC,uBAAuB,CAAC,IAAI,EAAE,MAAM,CAAC,CAAC;QAE3C,IAAI,CAAC,YAAY,GAAG,OAAO,CAAC;QAC5B,OAAO,MAAM,CAAC;IAChB,CAAC;IAEO,uBAAuB,CAC7B,IAAqC;QAErC,OAAO,IAAI,KAAK,SAAS;YACvB,CAAC,CAAC,EAAE;YACJ,CAAC,CAAC,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,OAAO,CAAC,EAAE,CAAC,IAAI,CAAC,YAAY,CAAC,OAAO,CAAC,CAAC,CAAC;IAC/D,CAAC;IAEO,oBAAoB,CAC1B,IAAuC;QAEvC,MAAM,MAAM,GAAG,IAAI,CAAC,UAAU,CAAyB,IAAI,EAAE;YAC3D,IAAI,EAAE,0BAAc,CAAC,aAAa;YAClC,IAAI,EAAE,IAAI,CAAC,OAAO,EAAE;SACrB,CAAC,CAAC;QACH,IAAI,CAAC,uBAAuB,CAAC,IAAI,EAAE,MAAM,CAAC,CAAC;QAC3C,OAAO,MAAM,CAAC;IAChB,CAAC;IAEO,+BAA+B,CACrC,IAA8D;QAE9D,wDAAwD;QACxD,2DAA2D;QAC3D,IAAI,IAAI,CAAC,IAAI,KAAK,EAAE,CAAC,UAAU,CAAC,iBAAiB,EAAE,CAAC;YAClD,MAAM,MAAM,GAAG,IAAI,CAAC,UAAU,CAA6B,IAAI,EAAE;gBAC/D,IAAI,EAAE,0BAAc,CAAC,iBAAiB;gBACtC,IAAI,EAAE,IAAI,CAAC,UAAU,CAAC,IAAI,CAAC,IAAI,EAAE;oBAC/B,IAAI,EAAE,0BAAc,CAAC,aAAa;oBAClC,IAAI,EAAE,IAAI,CAAC,IAAI,CAAC,IAAI;iBACrB,CAAC;gBACF,SAAS,EAAE,IAAI,CAAC,UAAU,CAAC,IAAI,CAAC,SAAS,EAAE;oBACzC,IAAI,EAAE,0BAAc,CAAC,aAAa;oBAClC,IAAI,EAAE,IAAI,CAAC,SAAS,CAAC,IAAI;iBAC1B,CAAC;aACH,CAAC,CAAC;YACH,IAAI,CAAC,uBAAuB,CAAC,IAAI,EAAE,MAAM,CAAC,CAAC;YAC3C,OAAO,MAAM,CAAC;QAChB,CAAC;QAED,2DAA2D;QAC3D,MAAM,IAAI,GAAG,IAAI,CAAC,OAAO,EAAE,CAAC;QAC5B,MAAM,UAAU,GAAG,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC;QACrC,4EAA4E;QAC5E,IAAI,UAAU,GAAG,CAAC,EAAE,CAAC;YACnB,MAAM,KAAK,GAAG,IAAA,qBAAQ,EAAC,IAAI,EAAE,IAAI,CAAC,GAAG,CAAC,CAAC;YACvC,wEAAwE;YACxE,MAAM,MAAM,GAAG,IAAI,CAAC,UAAU,CAA6B,IAAI,EAAE;gBAC/D,IAAI,EAAE,0BAAc,CAAC,iBAAiB;gBACtC,KAAK;gBACL,IAAI,EAAE,IAAI,CAAC,UAAU,CAAyB,IAAI,EAAE;oBAClD,IAAI,EAAE,0BAAc,CAAC,aAAa;oBAClC,KAAK,EAAE,CAAC,KAAK,CAAC,CAAC,CAAC,GAAG,UAAU,GAAG,CAAC,EAAE,KAAK,CAAC,CAAC,CAAC,CAAC;oBAC5C,IAAI,EAAE,IAAI,CAAC,KAAK,CAAC,UAAU,GAAG,CAAC,CAAC;iBACjC,CAAC;gBACF,SAAS,EAAE,IAAI,CAAC,UAAU,CAAyB,IAAI,EAAE;oBACvD,IAAI,EAAE,0BAAc,CAAC,aAAa;oBAClC,KAAK,EAAE,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,KAAK,CAAC,CAAC,CAAC,GAAG,UAAU,CAAC;oBACxC,IAAI,EAAE,IAAI,CAAC,KAAK,CAAC,CAAC,EAAE,UAAU,CAAC;iBAChC,CAAC;aACH,CAAC,CAAC;YACH,IAAI,CAAC,uBAAuB,CAAC,IAAI,EAAE,MAAM,CAAC,CAAC;YAC3C,OAAO,MAAM,CAAC;QAChB,CAAC;QAED,OAAO,IAAI,CAAC,oBAAoB,CAAC,IAAI,CAAC,CAAC;IACzC,CAAC;IAED;;;;OAIG;IACK,iBAAiB,CACvB,IAA6B,EAC7B,MAAe;QAEf,IAAI,MAAqC,CAAC;QAC1C,QAAQ,IAAI,CAAC,IAAI,EAAE,CAAC;YAClB,KAAK,UAAU,CAAC,wBAAwB;gBACtC,IAAI,IAAI,CAAC,IAAI,CAAC,IAAI,KAAK,UAAU,CAAC,iBAAiB,EAAE,CAAC;oBACpD,0GAA0G;oBAC1G,0DAA0D;oBAC1D,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC,IAAI,EAAE,kCAAkC,CAAC,CAAC;gBAClE,CAAC;gBAED,MAAM,GAAG,IAAI,CAAC,UAAU,CAA+B,IAAI,EAAE;oBAC3D,IAAI,EAAE,0BAAc,CAAC,mBAAmB;oBACxC,MAAM,EAAE,IAAI,CAAC,iBAAiB,CAAC,IAAI,CAAC,UAAU,EAAE,MAAM,CAAC;oBACvD,QAAQ,EAAE,IAAI,CAAC,oBAAoB,CAAC,IAAI,CAAC,IAAI,CAAC;iBAC/C,CAAC,CAAC;gBACH,MAAM;YAER,KAAK,UAAU,CAAC,WAAW,CAAC;YAC5B,KAAK,UAAU,CAAC,UAAU,CAAC;YAC3B;gBACE,OAAO,IAAI,CAAC,+BAA+B,CAAC,IAAI,CAAC,CAAC;QACtD,CAAC;QAED,IAAI,CAAC,uBAAuB,CAAC,IAAI,EAAE,MAAM,CAAC,CAAC;QAC3C,OAAO,MAAM,CAAC;IAChB,CAAC;IAEO,sBAAsB,CAC5B,IAG6B;QAE7B,OAAO,IAAI,CAAC,UAAU,CAA6B,IAAI,EAAE;YACvD,IAAI,EAAE,0BAAc,CAAC,iBAAiB;YACtC,aAAa,EAAE,IAAA,mCAAsB,EAAC,IAAI,CAAC;YAC3C,QAAQ,EAAE,IAAA,+BAAkB,EAAC,IAAI,CAAC,IAAI,CAAC;YACvC,GAAG,EAAE,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,IAAI,CAAC;YACjC,IAAI,EAAE,CAAC,GAA6B,EAAE;gBACpC,QAAQ,IAAI,CAAC,IAAI,EAAE,CAAC;oBAClB,KAAK,UAAU,CAAC,WAAW;wBACzB,OAAO,KAAK,CAAC;oBAEf,KAAK,UAAU,CAAC,WAAW;wBACzB,OAAO,KAAK,CAAC;oBAEf,KAAK,UAAU,CAAC,eAAe;wBAC7B,OAAO,QAAQ,CAAC;gBACpB,CAAC;YACH,CAAC,CAAC,EAAE;YACJ,QAAQ,EAAE,IAAA,uBAAU,EAAC,IAAI,CAAC;YAC1B,MAAM,EAAE,IAAI,CAAC,iBAAiB,CAAC,IAAI,CAAC,UAAU,CAAC;YAC/C,QAAQ,EAAE,IAAA,wBAAW,EAAC,UAAU,CAAC,eAAe,EAAE,IAAI,CAAC;YACvD,UAAU,EAAE,IAAI,CAAC,IAAI,IAAI,IAAI,CAAC,qBAAqB,CAAC,IAAI,CAAC,IAAI,EAAE,IAAI,CAAC;YACpE,MAAM,EAAE,IAAA,wBAAW,EAAC,UAAU,CAAC,aAAa,EAAE,IAAI,CAAC;YACnD,cAAc,EACZ,IAAI,CAAC,cAAc;gBACnB,IAAI,CAAC,kDAAkD,CACrD,IAAI,CAAC,cAAc,CACpB;SACJ,CAAC,CAAC;IACL,CAAC;IAED;;;;OAIG;IACK,iBAAiB,CACvB,MAAyB,EACzB,UAA4B;QAE5B,IAAI,UAAU,CAAC,CAAC,CAAC,GAAG,MAAM,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,CAAC;YACpC,MAAM,CAAC,KAAK,CAAC,CAAC,CAAC,GAAG,UAAU,CAAC,CAAC,CAAC,CAAC;YAChC,MAAM,CAAC,GAAG,CAAC,KAAK,GAAG,IAAA,mCAAsB,EAAC,MAAM,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,IAAI,CAAC,GAAG,CAAC,CAAC;QACvE,CAAC;QACD,IAAI,UAAU,CAAC,CAAC,CAAC,GAAG,MAAM,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,CAAC;YACpC,MAAM,CAAC,KAAK,CAAC,CAAC,CAAC,GAAG,UAAU,CAAC,CAAC,CAAC,CAAC;YAChC,MAAM,CAAC,GAAG,CAAC,GAAG,GAAG,IAAA,mCAAsB,EAAC,MAAM,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,IAAI,CAAC,GAAG,CAAC,CAAC;QACrE,CAAC;IACH,CAAC;IAED;;;;;OAKG;IACK,WAAW,CAAC,IAAY,EAAE,MAAc;QAC9C,QAAQ,IAAI,CAAC,IAAI,EAAE,CAAC;YAClB,KAAK,UAAU,CAAC,UAAU,CAAC,CAAC,CAAC;gBAC3B,OAAO,IAAI,CAAC,UAAU,CAAmB,IAAI,EAAE;oBAC7C,IAAI,EAAE,0BAAc,CAAC,OAAO;oBAC5B,KAAK,EAAE,CAAC,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,GAAG,CAAC,EAAE,IAAI,CAAC,cAAc,CAAC,GAAG,CAAC;oBACzD,IAAI,EAAE,IAAI,CAAC,sBAAsB,CAAC,IAAI,CAAC,UAAU,EAAE,IAAI,CAAC;oBACxD,QAAQ,EAAE,SAAS;oBACnB,UAAU,EAAE,IAAI,CAAC,uBAAuB,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,QAAQ;oBAC9D,MAAM,EAAE,SAAS;iBAClB,CAAC,CAAC;YACL,CAAC;YAED,KAAK,UAAU,CAAC,KAAK,CAAC,CAAC,CAAC;gBACtB,OAAO,IAAI,CAAC,UAAU,CAA0B,IAAI,EAAE;oBACpD,IAAI,EAAE,0BAAc,CAAC,cAAc;oBACnC,IAAI,EAAE,IAAI,CAAC,sBAAsB,CAAC,IAAI,CAAC,UAAU,EAAE,IAAI,CAAC;iBACzD,CAAC,CAAC;YACL,CAAC;YAED,KAAK,UAAU,CAAC,UAAU,CAAC,CAAC,CAAC;gBAC3B,IAAI,IAAA,8BAAiB,EAAC,IAAI,CAAC,EAAE,CAAC;oBAC5B,yEAAyE;oBACzE,8DAA8D;oBAC9D,OAAO,IAAI,CAAC,UAAU,CAA0B,IAAI,EAAE;wBACpD,IAAI,EAAE,0BAAc,CAAC,cAAc;qBACpC,CAAC,CAAC;gBACL,CAAC;gBACD,OAAO,IAAI,CAAC,UAAU,CAAsB,IAAI,EAAE;oBAChD,IAAI,EAAE,0BAAc,CAAC,UAAU;oBAC/B,UAAU,EAAE,EAAE;oBACd,IAAI,EAAE,IAAI,CAAC,IAAI;oBACf,QAAQ,EAAE,KAAK;oBACf,cAAc,EAAE,SAAS;iBAC1B,CAAC,CAAC;YACL,CAAC;YAED,KAAK,UAAU,CAAC,iBAAiB,CAAC,CAAC,CAAC;gBAClC,OAAO,IAAI,CAAC,UAAU,CAA6B,IAAI,EAAE;oBACvD,IAAI,EAAE,0BAAc,CAAC,iBAAiB;oBACtC,0CAA0C;oBAC1C,IAAI,EAAE,IAAI,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC;iBACzB,CAAC,CAAC;YACL,CAAC;YAED,KAAK,UAAU,CAAC,aAAa;gBAC3B,OAAO,IAAI,CAAC,UAAU,CAAyB,IAAI,EAAE;oBACnD,IAAI,EAAE,0BAAc,CAAC,aAAa;oBAClC,IAAI,EAAE,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,SAAS,CAAC;oBACvC,MAAM,EAAE,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,UAAU,CAAC;iBAC3C,CAAC,CAAC;YAEL,eAAe;YAEf,KAAK,UAAU,CAAC,eAAe;gBAC7B,OAAO,IAAI,CAAC,UAAU,CAA2B,IAAI,EAAE;oBACrD,IAAI,EAAE,0BAAc,CAAC,eAAe;oBACpC,QAAQ,EAAE,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,UAAU,CAAC;iBAC7C,CAAC,CAAC;YAEL,KAAK,UAAU,CAAC,gBAAgB;gBAC9B,OAAO,IAAI,CAAC,UAAU,CAA4B,IAAI,EAAE;oBACtD,IAAI,EAAE,0BAAc,CAAC,gBAAgB;oBACrC,IAAI,EAAE,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,SAAS,CAAC;oBACvC,KAAK,EAAE,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,KAAK,CAAC;iBACrC,CAAC,CAAC;YAEL,KAAK,UAAU,CAAC,iBAAiB;gBAC/B,OAAO,IAAI,CAAC,UAAU,CAA6B,IAAI,EAAE;oBACvD,IAAI,EAAE,0BAAc,CAAC,iBAAiB;oBACtC,KAAK,EAAE,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,KAAK,CAAC;iBACrC,CAAC,CAAC;YAEL,KAAK,UAAU,CAAC,cAAc;gBAC5B,OAAO,IAAI,CAAC,UAAU,CAA0B,IAAI,EAAE;oBACpD,IAAI,EAAE,0BAAc,CAAC,cAAc;oBACnC,KAAK,EAAE,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,KAAK,CAAC;iBACrC,CAAC,CAAC;YAEL,SAAS;YAET,KAAK,UAAU,CAAC,WAAW;gBACzB,OAAO,IAAI,CAAC,UAAU,CAAuB,IAAI,EAAE;oBACjD,IAAI,EAAE,0BAAc,CAAC,WAAW;oBAChC,SAAS,EAAE,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,aAAa,CAAC;oBAChD,UAAU,EAAE,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,aAAa,CAAC;oBACjD,IAAI,EAAE,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,UAAU,CAAC;iBACzC,CAAC,CAAC;YAEL,KAAK,UAAU,CAAC,eAAe;gBAC7B,IACE,IAAI,CAAC,SAAS,CAAC,OAAO,CAAC,MAAM,CAC3B,UAAU,CAAC,EAAE,CAAC,UAAU,CAAC,IAAI,KAAK,UAAU,CAAC,aAAa,CAC3D,CAAC,MAAM,GAAG,CAAC,EACZ,CAAC;oBACD,IAAI,CAAC,WAAW,CACd,IAAI,EACJ,0EAA0E,CAC3E,CAAC;gBACJ,CAAC;gBAED,OAAO,IAAI,CAAC,UAAU,CAA2B,IAAI,EAAE;oBACrD,IAAI,EAAE,0BAAc,CAAC,eAAe;oBACpC,KAAK,EAAE,IAAI,CAAC,SAAS,CAAC,OAAO,CAAC,GAAG,CAAC,EAAE,CAAC,EAAE,CAAC,IAAI,CAAC,YAAY,CAAC,EAAE,CAAC,CAAC;oBAC9D,YAAY,EAAE,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,UAAU,CAAC;iBACjD,CAAC,CAAC;YAEL,KAAK,UAAU,CAAC,UAAU,CAAC;YAC3B,KAAK,UAAU,CAAC,aAAa;gBAC3B,OAAO,IAAI,CAAC,UAAU,CAAsB,IAAI,EAAE;oBAChD,IAAI,EAAE,0BAAc,CAAC,UAAU;oBAC/B,qCAAqC;oBACrC,UAAU,EAAE,IAAI,CAAC,UAAU,CAAC,GAAG,CAAC,EAAE,CAAC,EAAE,CAAC,IAAI,CAAC,YAAY,CAAC,EAAE,CAAC,CAAC;oBAC5D,IAAI,EACF,IAAI,CAAC,IAAI,KAAK,UAAU,CAAC,UAAU;wBACjC,CAAC,CAAC,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,UAAU,CAAC;wBACpC,CAAC,CAAC,IAAI;iBACX,CAAC,CAAC;YAEL,aAAa;YAEb,KAAK,UAAU,CAAC,cAAc;gBAC5B,IAAI,IAAI,CAAC,UAAU,CAAC,GAAG,KAAK,IAAI,CAAC,UAAU,CAAC,GAAG,EAAE,CAAC;oBAChD,IAAI,CAAC,2BAA2B,CAC9B,IAAI,EACJ,6CAA6C,CAC9C,CAAC;gBACJ,CAAC;gBAED,OAAO,IAAI,CAAC,UAAU,CAA0B,IAAI,EAAE;oBACpD,IAAI,EAAE,0BAAc,CAAC,cAAc;oBACnC,QAAQ,EAAE,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,UAAU,CAAC;iBAC7C,CAAC,CAAC;YAEL,KAAK,UAAU,CAAC,YAAY;gBAC1B,OAAO,IAAI,CAAC,UAAU,CAAwB,IAAI,EAAE;oBAClD,IAAI,EAAE,0BAAc,CAAC,YAAY;oBACjC,KAAK,EAAE,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,QAAQ,CAAC;oBACvC,SAAS,EAAE,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,YAAY,CAAC;oBAC/C,OAAO,EAAE,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,WAAW,CAAC;iBAC7C,CAAC,CAAC;YAEL,KAAK,UAAU,CAAC,WAAW;gBACzB,IAAI,IAAI,CAAC,mBAAmB,EAAE,WAAW,EAAE,CAAC;oBAC1C,IAAI,CAAC,WAAW,CACd,IAAI,CAAC,mBAAmB,CAAC,WAAW,EACpC,mDAAmD,CACpD,CAAC;gBACJ,CAAC;gBACD,OAAO,IAAI,CAAC,UAAU,CAAuB,IAAI,EAAE;oBACjD,IAAI,EAAE,0BAAc,CAAC,WAAW;oBAChC,IAAI,EAAE,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,KAAK,CAAC;oBACnC,KAAK,EAAE,IAAI,CAAC,mBAAmB;wBAC7B,CAAC,CAAC,IAAI,CAAC,oCAAoC,CACvC,IAAI,CAAC,mBAAmB,CAAC,IAAI,EAC7B,IAAI,CAAC,mBAAmB,CAAC,IAAI,CAC9B;wBACH,CAAC,CAAC,IAAI;iBACT,CAAC,CAAC;YAEL,QAAQ;YAER,KAAK,UAAU,CAAC,cAAc;gBAC5B,OAAO,IAAI,CAAC,UAAU,CAA0B,IAAI,EAAE;oBACpD,IAAI,EAAE,0BAAc,CAAC,cAAc;oBACnC,IAAI,EAAE,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,SAAS,CAAC;oBACvC,IAAI,EAAE,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,UAAU,CAAC;iBACzC,CAAC,CAAC;YAEL;;;eAGG;YACH,KAAK,UAAU,CAAC,WAAW;gBACzB,OAAO,IAAI,CAAC,UAAU,CAA4B,IAAI,EAAE;oBACtD,IAAI,EAAE,0BAAc,CAAC,gBAAgB;oBACrC,IAAI,EAAE,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,SAAS,CAAC;oBACvC,IAAI,EAAE,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,UAAU,CAAC;iBACzC,CAAC,CAAC;YAEL,KAAK,UAAU,CAAC,YAAY;gBAC1B,OAAO,IAAI,CAAC,UAAU,CAAwB,IAAI,EAAE;oBAClD,IAAI,EAAE,0BAAc,CAAC,YAAY;oBACjC,IAAI,EAAE,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,SAAS,CAAC;oBACvC,IAAI,EAAE,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,WAAW,CAAC;oBACzC,IAAI,EAAE,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,SAAS,CAAC;oBACvC,MAAM,EAAE,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,WAAW,CAAC;iBAC5C,CAAC,CAAC;YAEL,KAAK,UAAU,CAAC,cAAc;gBAC5B,IAAI,CAAC,6BAA6B,CAAC,IAAI,CAAC,WAAW,EAAE,IAAI,CAAC,IAAI,CAAC,CAAC;gBAChE,OAAO,IAAI,CAAC,UAAU,CAA0B,IAAI,EAAE;oBACpD,IAAI,EAAE,0BAAc,CAAC,cAAc;oBACnC,IAAI,EAAE,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,SAAS,CAAC;oBACvC,IAAI,EAAE,IAAI,CAAC,cAAc,CAAC,IAAI,CAAC,WAAW,CAAC;oBAC3C,KAAK,EAAE,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,UAAU,CAAC;iBAC1C,CAAC,CAAC;YAEL,KAAK,UAAU,CAAC,cAAc,CAAC,CAAC,CAAC;gBAC/B,IAAI,CAAC,6BAA6B,CAAC,IAAI,CAAC,WAAW,EAAE,IAAI,CAAC,IAAI,CAAC,CAAC;gBAChE,OAAO,IAAI,CAAC,UAAU,CAA0B,IAAI,EAAE;oBACpD,IAAI,EAAE,0BAAc,CAAC,cAAc;oBACnC,KAAK,EAAE,OAAO,CACZ,IAAI,CAAC,aAAa;wBAChB,IAAI,CAAC,aAAa,CAAC,IAAI,KAAK,UAAU,CAAC,YAAY,CACtD;oBACD,IAAI,EAAE,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,SAAS,CAAC;oBACvC,IAAI,EAAE,IAAI,CAAC,cAAc,CAAC,IAAI,CAAC,WAAW,CAAC;oBAC3C,KAAK,EAAE,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,UAAU,CAAC;iBAC1C,CAAC,CAAC;YACL,CAAC;YAED,eAAe;YAEf,KAAK,UAAU,CAAC,mBAAmB,CAAC,CAAC,CAAC;gBACpC,MAAM,SAAS,GAAG,IAAA,wBAAW,EAAC,UAAU,CAAC,cAAc,EAAE,IAAI,CAAC,CAAC;gBAC/D,MAAM,OAAO,GAAG,IAAA,wBAAW,EAAC,UAAU,CAAC,YAAY,EAAE,IAAI,CAAC,CAAC;gBAC3D,MAAM,WAAW,GAAG,CAAC,CAAC,IAAI,CAAC,aAAa,CAAC;gBACzC,IAAI,SAAS,EAAE,CAAC;oBACd,IAAI,IAAI,CAAC,IAAI,EAAE,CAAC;wBACd,IAAI,CAAC,WAAW,CACd,IAAI,EACJ,2DAA2D,CAC5D,CAAC;oBACJ,CAAC;yBAAM,IAAI,OAAO,EAAE,CAAC;wBACnB,IAAI,CAAC,WAAW,CACd,IAAI,EACJ,wDAAwD,CACzD,CAAC;oBACJ,CAAC;yBAAM,IAAI,WAAW,EAAE,CAAC;wBACvB,IAAI,CAAC,WAAW,CACd,IAAI,EACJ,mDAAmD,CACpD,CAAC;oBACJ,CAAC;gBACH,CAAC;qBAAM,IAAI,CAAC,IAAI,CAAC,IAAI,IAAI,WAAW,EAAE,CAAC;oBACrC,IAAI,CAAC,WAAW,CACd,IAAI,EACJ,yDAAyD,CAC1D,CAAC;gBACJ,CAAC;gBAED,MAAM,MAAM,GAAG,IAAI,CAAC,UAAU,CAE5B,IAAI,EAAE;oBACN,qDAAqD;oBACrD,IAAI,EAAE,CAAC,IAAI,CAAC,IAAI;wBACd,CAAC,CAAC,0BAAc,CAAC,iBAAiB;wBAClC,CAAC,CAAC,0BAAc,CAAC,mBAAmB;oBACtC,KAAK,EAAE,OAAO;oBACd,IAAI,EAAE,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,IAAI,CAAC,IAAI,SAAS;oBAC/C,OAAO,EAAE,SAAS;oBAClB,UAAU,EAAE,KAAK;oBACjB,SAAS,EAAE,WAAW;oBACtB,EAAE,EAAE,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,IAAI,CAAC;oBAChC,MAAM,EAAE,IAAI,CAAC,iBAAiB,CAAC,IAAI,CAAC,UAAU,CAAC;oBAC/C,UAAU,EAAE,IAAI,CAAC,IAAI,IAAI,IAAI,CAAC,qBAAqB,CAAC,IAAI,CAAC,IAAI,EAAE,IAAI,CAAC;oBACpE,cAAc,EACZ,IAAI,CAAC,cAAc;wBACnB,IAAI,CAAC,kDAAkD,CACrD,IAAI,CAAC,cAAc,CACpB;iBACJ,CAAC,CAAC;gBAEH,OAAO,IAAI,CAAC,UAAU,CAAC,IAAI,EAAE,MAAM,CAAC,CAAC;YACvC,CAAC;YAED,KAAK,UAAU,CAAC,mBAAmB,CAAC,CAAC,CAAC;gBACpC,MAAM,QAAQ,GAAG,CAAC,CAAC,IAAI,CAAC,gBAAgB,CAAC;gBACzC,MAAM,IAAI,GAAG,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC;gBACjD,MAAM,EAAE,GAAG,IAAI,CAAC,oCAAoC,CAClD,IAAI,CAAC,IAAI,EACT,IAAI,CAAC,IAAI,EACT,IAAI,CACL,CAAC;gBACF,IAAI,QAAQ,EAAE,CAAC;oBACb,IAAI,IAAI,EAAE,CAAC;wBACT,IAAI,CAAC,WAAW,CACd,IAAI,EACJ,iFAAiF,CAClF,CAAC;oBACJ,CAAC;yBAAM,IACL,EAAE,CAAC,IAAI,KAAK,0BAAc,CAAC,UAAU;wBACrC,CAAC,EAAE,CAAC,cAAc,EAClB,CAAC;wBACD,IAAI,CAAC,WAAW,CACd,IAAI,EACJ,mFAAmF,CACpF,CAAC;oBACJ,CAAC;gBACH,CAAC;gBACD,OAAO,IAAI,CAAC,UAAU,CAA8B,IAAI,EAAE;oBACxD,IAAI,EAAE,0BAAc,CAAC,kBAAkB;oBACvC,QAAQ;oBACR,EAAE;oBACF,IAAI;iBACL,CAAC,CAAC;YACL,CAAC;YAED,KAAK,UAAU,CAAC,iBAAiB,CAAC,CAAC,CAAC;gBAClC,MAAM,MAAM,GAAG,IAAI,CAAC,UAAU,CAA+B,IAAI,EAAE;oBACjE,IAAI,EAAE,0BAAc,CAAC,mBAAmB;oBACxC,YAAY,EAAE,IAAI,CAAC,eAAe,CAAC,YAAY,CAAC,GAAG,CAAC,EAAE,CAAC,EAAE,CACvD,IAAI,CAAC,YAAY,CAAC,EAAE,CAAC,CACtB;oBACD,OAAO,EAAE,IAAA,wBAAW,EAAC,UAAU,CAAC,cAAc,EAAE,IAAI,CAAC;oBACrD,IAAI,EAAE,IAAA,+BAAkB,EAAC,IAAI,CAAC,eAAe,CAAC;iBAC/C,CAAC,CAAC;gBAEH,IAAI,CAAC,MAAM,CAAC,YAAY,CAAC,MAAM,EAAE,CAAC;oBAChC,IAAI,CAAC,2BAA2B,CAC9B,IAAI,EACJ,yEAAyE,CAC1E,CAAC;gBACJ,CAAC;gBACD,IAAI,MAAM,CAAC,IAAI,KAAK,OAAO,IAAI,MAAM,CAAC,IAAI,KAAK,aAAa,EAAE,CAAC;oBAC7D,IAAI,CAAC,eAAe,CAAC,YAAY,CAAC,OAAO,CAAC,CAAC,WAAW,EAAE,CAAC,EAAE,EAAE;wBAC3D,IAAI,MAAM,CAAC,YAAY,CAAC,CAAC,CAAC,CAAC,IAAI,IAAI,IAAI,EAAE,CAAC;4BACxC,IAAI,CAAC,WAAW,CACd,WAAW,EACX,IAAI,MAAM,CAAC,IAAI,qCAAqC,CACrD,CAAC;wBACJ,CAAC;wBACD,IAAI,MAAM,CAAC,YAAY,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC,IAAI,KAAK,0BAAc,CAAC,UAAU,EAAE,CAAC;4BACjE,IAAI,CAAC,WAAW,CACd,WAAW,CAAC,IAAI,EAChB,IAAI,MAAM,CAAC,IAAI,+CAA+C,CAC/D,CAAC;wBACJ,CAAC;oBACH,CAAC,CAAC,CAAC;gBACL,CAAC;gBACD,+DAA+D;gBAC/D,IACE,MAAM,CAAC,OAAO;oBACd,CAAC,aAAa,EAAE,OAAO,EAAE,OAAO,CAAC,CAAC,QAAQ,CAAC,MAAM,CAAC,IAAI,CAAC,EACvD,CAAC;oBACD,IAAI,CAAC,eAAe,CAAC,YAAY,CAAC,OAAO,CAAC,CAAC,WAAW,EAAE,CAAC,EAAE,EAAE;wBAC3D,IAAI,MAAM,CAAC,YAAY,CAAC,CAAC,CAAC,CAAC,QAAQ,EAAE,CAAC;4BACpC,IAAI,CAAC,WAAW,CACd,WAAW,EACX,uEAAuE,CACxE,CAAC;wBACJ,CAAC;oBACH,CAAC,CAAC,CAAC;gBACL,CAAC;gBACD,IAAI,MAAM,CAAC,OAAO,EAAE,CAAC;oBACnB,IAAI,CAAC,eAAe,CAAC,YAAY,CAAC,OAAO,CAAC,CAAC,WAAW,EAAE,CAAC,EAAE,EAAE;wBAC3D,IACE,MAAM,CAAC,YAAY,CAAC,CAAC,CAAC,CAAC,IAAI;4BAC3B,CAAC,CAAC,KAAK,EAAE,KAAK,CAAC,CAAC,QAAQ,CAAC,MAAM,CAAC,IAAI,CAAC;gCACnC,MAAM,CAAC,YAAY,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC,cAAc,CAAC,EAC3C,CAAC;4BACD,IAAI,CAAC,WAAW,CACd,WAAW,EACX,qDAAqD,CACtD,CAAC;wBACJ,CAAC;oBACH,CAAC,CAAC,CAAC;oBACH,0EAA0E;oBAC1E,wEAAwE;oBACxE,mEAAmE;oBACnE,kBAAkB;gBACpB,CAAC;gBACD,sEAAsE;gBACtE,0EAA0E;gBAC1E,gCAAgC;gBAEhC;;;;;;mBAMG;gBACH,OAAO,IAAI,CAAC,UAAU,CAAC,IAAI,EAAE,MAAM,CAAC,CAAC;YACvC,CAAC;YAED,4BAA4B;YAC5B,KAAK,UAAU,CAAC,uBAAuB,CAAC,CAAC,CAAC;gBACxC,MAAM,MAAM,GAAG,IAAI,CAAC,UAAU,CAA+B,IAAI,EAAE;oBACjE,IAAI,EAAE,0BAAc,CAAC,mBAAmB;oBACxC,YAAY,EAAE,IAAI,CAAC,YAAY,CAAC,GAAG,CAAC,EAAE,CAAC,EAAE,CAAC,IAAI,CAAC,YAAY,CAAC,EAAE,CAAC,CAAC;oBAChE,OAAO,EAAE,KAAK;oBACd,IAAI,EAAE,IAAA,+BAAkB,EAAC,IAAI,CAAC;iBAC/B,CAAC,CAAC;gBAEH,IAAI,MAAM,CAAC,IAAI,KAAK,OAAO,IAAI,MAAM,CAAC,IAAI,KAAK,aAAa,EAAE,CAAC;oBAC7D,IAAI,CAAC,YAAY,CAAC,OAAO,CAAC,CAAC,WAAW,EAAE,CAAC,EAAE,EAAE;wBAC3C,IAAI,MAAM,CAAC,YAAY,CAAC,CAAC,CAAC,CAAC,IAAI,IAAI,IAAI,EAAE,CAAC;4BACxC,IAAI,CAAC,WAAW,CACd,WAAW,EACX,IAAI,MAAM,CAAC,IAAI,yDAAyD,CACzE,CAAC;wBACJ,CAAC;wBACD,IAAI,MAAM,CAAC,YAAY,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC,IAAI,KAAK,0BAAc,CAAC,UAAU,EAAE,CAAC;4BACjE,IAAI,CAAC,WAAW,CACd,WAAW,CAAC,IAAI,EAChB,IAAI,MAAM,CAAC,IAAI,+CAA+C,CAC/D,CAAC;wBACJ,CAAC;oBACH,CAAC,CAAC,CAAC;gBACL,CAAC;gBACD,OAAO,MAAM,CAAC;YAChB,CAAC;YAED,cAAc;YAEd,KAAK,UAAU,CAAC,mBAAmB;gBACjC,OAAO,IAAI,CAAC,UAAU,CAA+B,IAAI,EAAE;oBACzD,IAAI,EAAE,0BAAc,CAAC,mBAAmB;oBACxC,SAAS,EAAE,SAAS;oBACpB,UAAU,EAAE,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,UAAU,CAAC;iBAC/C,CAAC,CAAC;YAEL,KAAK,UAAU,CAAC,WAAW;gBACzB,OAAO,IAAI,CAAC,UAAU,CAA0B,IAAI,EAAE;oBACpD,IAAI,EAAE,0BAAc,CAAC,cAAc;iBACpC,CAAC,CAAC;YAEL,KAAK,UAAU,CAAC,sBAAsB,CAAC,CAAC,CAAC;gBACvC,0EAA0E;gBAC1E,IAAI,IAAI,CAAC,YAAY,EAAE,CAAC;oBACtB,OAAO,IAAI,CAAC,UAAU,CAAwB,IAAI,EAAE;wBAClD,IAAI,EAAE,0BAAc,CAAC,YAAY;wBACjC,UAAU,EAAE,EAAE;wBACd,QAAQ,EAAE,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,EAAE,CAAC,EAAE,CAAC,IAAI,CAAC,cAAc,CAAC,EAAE,CAAC,CAAC;wBAC1D,QAAQ,EAAE,KAAK;wBACf,cAAc,EAAE,SAAS;qBAC1B,CAAC,CAAC;gBACL,CAAC;gBACD,OAAO,IAAI,CAAC,UAAU,CAA2B,IAAI,EAAE;oBACrD,IAAI,EAAE,0BAAc,CAAC,eAAe;oBACpC,QAAQ,EAAE,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,EAAE,CAAC,EAAE,CAAC,IAAI,CAAC,YAAY,CAAC,EAAE,CAAC,CAAC;iBACzD,CAAC,CAAC;YACL,CAAC;YAED,KAAK,UAAU,CAAC,uBAAuB,CAAC,CAAC,CAAC;gBACxC,2EAA2E;gBAC3E,IAAI,IAAI,CAAC,YAAY,EAAE,CAAC;oBACtB,OAAO,IAAI,CAAC,UAAU,CAAyB,IAAI,EAAE;wBACnD,IAAI,EAAE,0BAAc,CAAC,aAAa;wBAClC,UAAU,EAAE,EAAE;wBACd,QAAQ,EAAE,KAAK;wBACf,UAAU,EAAE,IAAI,CAAC,UAAU,CAAC,GAAG,CAAC,EAAE,CAAC,EAAE,CAAC,IAAI,CAAC,cAAc,CAAC,EAAE,CAAC,CAAC;wBAC9D,cAAc,EAAE,SAAS;qBAC1B,CAAC,CAAC;gBACL,CAAC;gBAED,MAAM,UAAU,GAAwB,EAAE,CAAC;gBAC3C,KAAK,MAAM,QAAQ,IAAI,IAAI,CAAC,UAAU,EAAE,CAAC;oBACvC,IACE,CAAC,QAAQ,CAAC,IAAI,KAAK,UAAU,CAAC,WAAW;wBACvC,QAAQ,CAAC,IAAI,KAAK,UAAU,CAAC,WAAW;wBACxC,QAAQ,CAAC,IAAI,KAAK,UAAU,CAAC,iBAAiB,CAAC;wBACjD,CAAC,QAAQ,CAAC,IAAI,EACd,CAAC;wBACD,IAAI,CAAC,2BAA2B,CAAC,QAAQ,CAAC,GAAG,GAAG,CAAC,EAAE,eAAe,CAAC,CAAC;oBACtE,CAAC;oBAED,UAAU,CAAC,IAAI,CAAC,IAAI,CAAC,YAAY,CAAC,QAAQ,CAAsB,CAAC,CAAC;gBACpE,CAAC;gBAED,OAAO,IAAI,CAAC,UAAU,CAA4B,IAAI,EAAE;oBACtD,IAAI,EAAE,0BAAc,CAAC,gBAAgB;oBACrC,UAAU;iBACX,CAAC,CAAC;YACL,CAAC;YAED,KAAK,UAAU,CAAC,kBAAkB,CAAC,CAAC,CAAC;gBACnC,4DAA4D;gBAC5D,MAAM,EAAE,gBAAgB,EAAE,aAAa,EAAE,GAAG,IAAI,CAAC;gBAEjD,IAAI,aAAa,EAAE,CAAC;oBAClB,IAAI,CAAC,WAAW,CACd,aAAa,EACb,qDAAqD,CACtD,CAAC;gBACJ,CAAC;gBAED,IAAI,gBAAgB,EAAE,CAAC;oBACrB,IAAI,CAAC,WAAW,CACd,gBAAgB,EAChB,yDAAyD,CAC1D,CAAC;gBACJ,CAAC;gBAED,OAAO,IAAI,CAAC,UAAU,CAAoB,IAAI,EAAE;oBAC9C,IAAI,EAAE,0BAAc,CAAC,QAAQ;oBAC7B,QAAQ,EAAE,IAAA,+BAAkB,EAAC,IAAI,CAAC,IAAI,CAAC;oBACvC,GAAG,EAAE,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,IAAI,CAAC;oBACjC,IAAI,EAAE,MAAM;oBACZ,MAAM,EAAE,KAAK;oBACb,QAAQ,EAAE,KAAK;oBACf,SAAS,EAAE,KAAK;oBAChB,KAAK,EAAE,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,WAAW,EAAE,IAAI,EAAE,IAAI,CAAC,YAAY,CAAC;iBACjE,CAAC,CAAC;YACL,CAAC;YAED,KAAK,UAAU,CAAC,2BAA2B,CAAC,CAAC,CAAC;gBAC5C,4DAA4D;gBAC5D,MAAM,EAAE,gBAAgB,EAAE,SAAS,EAAE,aAAa,EAAE,GAAG,IAAI,CAAC;gBAE5D,IAAI,SAAS,EAAE,CAAC;oBACd,IAAI,CAAC,WAAW,CACd,SAAS,CAAC,CAAC,CAAC,EACZ,wDAAwD,CACzD,CAAC;gBACJ,CAAC;gBAED,IAAI,aAAa,EAAE,CAAC;oBAClB,IAAI,CAAC,WAAW,CACd,aAAa,EACb,+DAA+D,CAChE,CAAC;gBACJ,CAAC;gBAED,IAAI,gBAAgB,EAAE,CAAC;oBACrB,IAAI,CAAC,WAAW,CACd,gBAAgB,EAChB,mEAAmE,CACpE,CAAC;gBACJ,CAAC;gBAED,IAAI,IAAI,CAAC,2BAA2B,EAAE,CAAC;oBACrC,OAAO,IAAI,CAAC,UAAU,CAAoB,IAAI,EAAE;wBAC9C,IAAI,EAAE,0BAAc,CAAC,QAAQ;wBAC7B,QAAQ,EAAE,KAAK;wBACf,GAAG,EAAE,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,IAAI,CAAC;wBACjC,IAAI,EAAE,MAAM;wBACZ,MAAM,EAAE,KAAK;wBACb,QAAQ,EAAE,KAAK;wBACf,SAAS,EAAE,IAAI;wBACf,KAAK,EAAE,IAAI,CAAC,UAAU,CAA6B,IAAI,EAAE;4BACvD,IAAI,EAAE,0BAAc,CAAC,iBAAiB;4BACtC,UAAU,EAAE,EAAE;4BACd,IAAI,EAAE,IAAI,CAAC,cAAc,CAAC,IAAI,CAAC,IAAI,CAAC;4BACpC,QAAQ,EAAE,KAAK;4BACf,KAAK,EAAE,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,2BAA2B,CAAC;4BAC1D,cAAc,EAAE,SAAS;yBAC1B,CAAC;qBACH,CAAC,CAAC;gBACL,CAAC;gBACD,OAAO,IAAI,CAAC,UAAU,CAAoB,IAAI,EAAE;oBAC9C,IAAI,EAAE,0BAAc,CAAC,QAAQ;oBAC7B,QAAQ,EAAE,KAAK;oBACf,GAAG,EAAE,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,IAAI,CAAC;oBACjC,IAAI,EAAE,MAAM;oBACZ,MAAM,EAAE,KAAK;oBACb,QAAQ,EAAE,KAAK;oBACf,SAAS,EAAE,IAAI;oBACf,KAAK,EAAE,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,IAAI,CAAC;iBACpC,CAAC,CAAC;YACL,CAAC;YAED,KAAK,UAAU,CAAC,oBAAoB;gBAClC,OAAO,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC;YAE5C,KAAK,UAAU,CAAC,mBAAmB,CAAC,CAAC,CAAC;gBACpC,MAAM,UAAU,GAAG,IAAA,wBAAW,EAAC,UAAU,CAAC,eAAe,EAAE,IAAI,CAAC,CAAC;gBAEjE,IAAI,UAAU,IAAI,IAAI,CAAC,WAAW,EAAE,CAAC;oBACnC,IAAI,CAAC,WAAW,CACd,IAAI,CAAC,WAAW,EAChB,+CAA+C,CAChD,CAAC;gBACJ,CAAC;gBAED,MAAM,UAAU,GAAG,IAAA,wBAAW,EAAC,UAAU,CAAC,eAAe,EAAE,IAAI,CAAC,CAAC;gBACjE,MAAM,IAAI,GAAG,CAAC,GAAG,EAAE;oBACjB,IAAI,UAAU,EAAE,CAAC;wBACf,IAAI,UAAU,EAAE,CAAC;4BACf,OAAO,0BAAc,CAAC,0BAA0B,CAAC;wBACnD,CAAC;wBACD,OAAO,0BAAc,CAAC,gBAAgB,CAAC;oBACzC,CAAC;oBAED,IAAI,UAAU,EAAE,CAAC;wBACf,OAAO,0BAAc,CAAC,4BAA4B,CAAC;oBACrD,CAAC;oBACD,OAAO,0BAAc,CAAC,kBAAkB,CAAC;gBAC3C,CAAC,CAAC,EAAE,CAAC;gBAEL,MAAM,GAAG,GAAG,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;gBAEzC,OAAO,IAAI,CAAC,UAAU,CAKpB,IAAI,EAAE;oBACN,IAAI;oBACJ,aAAa,EAAE,IAAA,mCAAsB,EAAC,IAAI,CAAC;oBAC3C,QAAQ,EAAE,IAAA,+BAAkB,EAAC,IAAI,CAAC,IAAI,CAAC;oBACvC,OAAO,EAAE,IAAA,wBAAW,EAAC,UAAU,CAAC,cAAc,EAAE,IAAI,CAAC;oBACrD,UAAU,EACR,IAAA,4BAAa,EAAC,IAAI,CAAC,EAAE,GAAG,CAAC,EAAE,CAAC,EAAE,CAAC,IAAI,CAAC,YAAY,CAAC,EAAE,CAAC,CAAC,IAAI,EAAE;oBAC7D,QAAQ,EAAE,CAAC,CAAC,IAAI,CAAC,gBAAgB;oBACjC,GAAG;oBACH,QAAQ,EACN,CAAC,GAAG,CAAC,IAAI,KAAK,0BAAc,CAAC,OAAO;wBAClC,IAAI,CAAC,IAAI,CAAC,IAAI,KAAK,UAAU,CAAC,UAAU;wBACxC,IAAI,CAAC,IAAI,CAAC,IAAI,KAAK,UAAU,CAAC,oBAAoB;wBAClD,IAAI,CAAC,IAAI,CAAC,IAAI,KAAK,UAAU,CAAC,iBAAiB,CAAC;wBAClD,CAAC,CAAC,IAAI,CAAC,aAAa;oBAEtB,QAAQ,EAAE,IAAA,wBAAW,EAAC,UAAU,CAAC,eAAe,EAAE,IAAI,CAAC;oBACvD,QAAQ,EAAE,IAAA,wBAAW,EAAC,UAAU,CAAC,eAAe,EAAE,IAAI,CAAC;oBACvD,MAAM,EAAE,IAAA,wBAAW,EAAC,UAAU,CAAC,aAAa,EAAE,IAAI,CAAC;oBACnD,cAAc,EACZ,IAAI,CAAC,IAAI,IAAI,IAAI,CAAC,qBAAqB,CAAC,IAAI,CAAC,IAAI,EAAE,IAAI,CAAC;oBAC1D,KAAK,EAAE,UAAU,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,WAAW,CAAC;iBAC/D,CAAC,CAAC;YACL,CAAC;YAED,KAAK,UAAU,CAAC,WAAW,CAAC;YAC5B,KAAK,UAAU,CAAC,WAAW,CAAC,CAAC,CAAC;gBAC5B,IACE,IAAI,CAAC,MAAM,CAAC,IAAI,KAAK,UAAU,CAAC,oBAAoB;oBACpD,IAAI,CAAC,MAAM,CAAC,IAAI,KAAK,UAAU,CAAC,WAAW,EAC3C,CAAC;oBACD,OAAO,IAAI,CAAC,sBAAsB,CAAC,IAAI,CAAC,CAAC;gBAC3C,CAAC;YACH,CAAC;YACD,iEAAiE;YACjE,KAAK,UAAU,CAAC,iBAAiB,CAAC,CAAC,CAAC;gBAClC,MAAM,MAAM,GAAG,IAAI,CAAC,UAAU,CAE5B,IAAI,EAAE;oBACN,IAAI,EAAE,CAAC,IAAI,CAAC,IAAI;wBACd,CAAC,CAAC,0BAAc,CAAC,6BAA6B;wBAC9C,CAAC,CAAC,0BAAc,CAAC,kBAAkB;oBACrC,KAAK,EAAE,CAAC,IAAI,CAAC,UAAU,CAAC,GAAG,GAAG,CAAC,EAAE,IAAI,CAAC,GAAG,CAAC;oBAC1C,KAAK,EAAE,IAAA,wBAAW,EAAC,UAAU,CAAC,YAAY,EAAE,IAAI,CAAC;oBACjD,IAAI,EAAE,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,IAAI,CAAC;oBAClC,OAAO,EAAE,KAAK;oBACd,UAAU,EAAE,KAAK,EAAE,gCAAgC;oBACnD,SAAS,EAAE,CAAC,CAAC,IAAI,CAAC,aAAa;oBAC/B,EAAE,EAAE,IAAI;oBACR,MAAM,EAAE,EAAE;oBACV,UAAU,EAAE,IAAI,CAAC,IAAI,IAAI,IAAI,CAAC,qBAAqB,CAAC,IAAI,CAAC,IAAI,EAAE,IAAI,CAAC;oBACpE,cAAc,EACZ,IAAI,CAAC,cAAc;wBACnB,IAAI,CAAC,kDAAkD,CACrD,IAAI,CAAC,cAAc,CACpB;iBACJ,CAAC,CAAC;gBAEH,IAAI,MAAM,CAAC,cAAc,EAAE,CAAC;oBAC1B,IAAI,CAAC,iBAAiB,CAAC,MAAM,EAAE,MAAM,CAAC,cAAc,CAAC,KAAK,CAAC,CAAC;gBAC9D,CAAC;gBAED,IAAI,MAGmC,CAAC;gBAExC,IAAI,MAAM,CAAC,IAAI,KAAK,UAAU,CAAC,uBAAuB,EAAE,CAAC;oBACvD,MAAM,CAAC,MAAM,GAAG,IAAI,CAAC,UAAU,CAAC,GAAG,CAAC,EAAE,CAAC,EAAE,CAAC,IAAI,CAAC,YAAY,CAAC,EAAE,CAAC,CAAC,CAAC;oBAEjE,MAAM,GAAG,IAAI,CAAC,UAAU,CAAoB,IAAI,EAAE;wBAChD,IAAI,EAAE,0BAAc,CAAC,QAAQ;wBAC7B,QAAQ,EAAE,IAAA,+BAAkB,EAAC,IAAI,CAAC,IAAI,CAAC;wBACvC,GAAG,EAAE,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,IAAI,CAAC;wBACjC,IAAI,EAAE,MAAM;wBACZ,MAAM,EAAE,IAAI,CAAC,IAAI,KAAK,UAAU,CAAC,iBAAiB;wBAClD,QAAQ,EAAE,CAAC,CAAC,IAAI,CAAC,aAAa;wBAC9B,SAAS,EAAE,KAAK;wBAChB,KAAK,EAAE,MAAM;qBACd,CAAC,CAAC;gBACL,CAAC;qBAAM,CAAC;oBACN,QAAQ;oBAER;;uBAEG;oBACH,MAAM,CAAC,MAAM,GAAG,IAAI,CAAC,iBAAiB,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC;oBAExD;;uBAEG;oBACH,MAAM,oBAAoB,GAAG,IAAA,wBAAW,EACtC,UAAU,CAAC,eAAe,EAC1B,IAAI,CACL;wBACC,CAAC,CAAC,0BAAc,CAAC,0BAA0B;wBAC3C,CAAC,CAAC,0BAAc,CAAC,gBAAgB,CAAC;oBAEpC,MAAM,GAAG,IAAI,CAAC,UAAU,CAEtB,IAAI,EAAE;wBACN,IAAI,EAAE,oBAAoB;wBAC1B,aAAa,EAAE,IAAA,mCAAsB,EAAC,IAAI,CAAC;wBAC3C,QAAQ,EAAE,IAAA,+BAAkB,EAAC,IAAI,CAAC,IAAI,CAAC;wBACvC,UAAU,EACR,IAAA,4BAAa,EAAC,IAAI,CAAC,EAAE,GAAG,CAAC,EAAE,CAAC,EAAE,CAAC,IAAI,CAAC,YAAY,CAAC,EAAE,CAAC,CAAC,IAAI,EAAE;wBAC7D,GAAG,EAAE,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,IAAI,CAAC;wBACjC,IAAI,EAAE,QAAQ;wBACd,QAAQ,EAAE,CAAC,CAAC,IAAI,CAAC,aAAa;wBAC9B,QAAQ,EAAE,IAAA,wBAAW,EAAC,UAAU,CAAC,eAAe,EAAE,IAAI,CAAC;wBACvD,MAAM,EAAE,IAAA,wBAAW,EAAC,UAAU,CAAC,aAAa,EAAE,IAAI,CAAC;wBACnD,KAAK,EAAE,MAAM;qBACd,CAAC,CAAC;gBACL,CAAC;gBAED,IAAI,IAAI,CAAC,IAAI,KAAK,UAAU,CAAC,WAAW,EAAE,CAAC;oBACzC,MAAM,CAAC,IAAI,GAAG,KAAK,CAAC;gBACtB,CAAC;qBAAM,IAAI,IAAI,CAAC,IAAI,KAAK,UAAU,CAAC,WAAW,EAAE,CAAC;oBAChD,MAAM,CAAC,IAAI,GAAG,KAAK,CAAC;gBACtB,CAAC;qBAAM,IACL,CAAE,MAAoC,CAAC,MAAM;oBAC7C,IAAI,CAAC,IAAI,CAAC,IAAI,KAAK,UAAU,CAAC,aAAa;oBAC3C,IAAI,CAAC,IAAI,CAAC,IAAI,KAAK,aAAa;oBAChC,MAAM,CAAC,IAAI,KAAK,0BAAc,CAAC,QAAQ,EACvC,CAAC;oBACD,MAAM,CAAC,IAAI,GAAG,aAAa,CAAC;gBAC9B,CAAC;gBACD,OAAO,MAAM,CAAC;YAChB,CAAC;YAED,mEAAmE;YACnE,KAAK,UAAU,CAAC,WAAW,CAAC,CAAC,CAAC;gBAC5B,MAAM,YAAY,GAAG,IAAA,4BAAe,EAAC,IAAI,CAAC,CAAC;gBAC3C,MAAM,gBAAgB,GACpB,CAAC,YAAY,IAAI,IAAA,0BAAa,EAAC,YAAY,EAAE,IAAI,EAAE,IAAI,CAAC,GAAG,CAAC,CAAC;oBAC7D,IAAI,CAAC,aAAa,EAAG,CAAC;gBAExB,MAAM,WAAW,GAAG,IAAI,CAAC,UAAU,CAEjC,IAAI,EAAE;oBACN,IAAI,EAAE,CAAC,IAAI,CAAC,IAAI;wBACd,CAAC,CAAC,0BAAc,CAAC,6BAA6B;wBAC9C,CAAC,CAAC,0BAAc,CAAC,kBAAkB;oBACrC,KAAK,EAAE,CAAC,IAAI,CAAC,UAAU,CAAC,GAAG,GAAG,CAAC,EAAE,IAAI,CAAC,GAAG,CAAC;oBAC1C,KAAK,EAAE,KAAK;oBACZ,IAAI,EAAE,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,IAAI,CAAC;oBAClC,OAAO,EAAE,KAAK;oBACd,UAAU,EAAE,KAAK,EAAE,+BAA+B;oBAClD,SAAS,EAAE,KAAK;oBAChB,EAAE,EAAE,IAAI;oBACR,MAAM,EAAE,IAAI,CAAC,iBAAiB,CAAC,IAAI,CAAC,UAAU,CAAC;oBAC/C,UAAU,EAAE,IAAI,CAAC,IAAI,IAAI,IAAI,CAAC,qBAAqB,CAAC,IAAI,CAAC,IAAI,EAAE,IAAI,CAAC;oBACpE,cAAc,EACZ,IAAI,CAAC,cAAc;wBACnB,IAAI,CAAC,kDAAkD,CACrD,IAAI,CAAC,cAAc,CACpB;iBACJ,CAAC,CAAC;gBAEH,IAAI,WAAW,CAAC,cAAc,EAAE,CAAC;oBAC/B,IAAI,CAAC,iBAAiB,CAAC,WAAW,EAAE,WAAW,CAAC,cAAc,CAAC,KAAK,CAAC,CAAC;gBACxE,CAAC;gBAED,MAAM,cAAc,GAAG,IAAI,CAAC,UAAU,CAAsB,IAAI,EAAE;oBAChE,IAAI,EAAE,0BAAc,CAAC,UAAU;oBAC/B,KAAK,EAAE,CAAC,gBAAgB,CAAC,QAAQ,CAAC,IAAI,CAAC,GAAG,CAAC,EAAE,gBAAgB,CAAC,GAAG,CAAC;oBAClE,UAAU,EAAE,EAAE;oBACd,IAAI,EAAE,aAAa;oBACnB,QAAQ,EAAE,KAAK;oBACf,cAAc,EAAE,SAAS;iBAC1B,CAAC,CAAC;gBAEH,MAAM,QAAQ,GAAG,IAAA,wBAAW,EAAC,UAAU,CAAC,aAAa,EAAE,IAAI,CAAC,CAAC;gBAE7D,OAAO,IAAI,CAAC,UAAU,CAEpB,IAAI,EAAE;oBACN,IAAI,EAAE,IAAA,wBAAW,EAAC,UAAU,CAAC,eAAe,EAAE,IAAI,CAAC;wBACjD,CAAC,CAAC,0BAAc,CAAC,0BAA0B;wBAC3C,CAAC,CAAC,0BAAc,CAAC,gBAAgB;oBACnC,aAAa,EAAE,IAAA,mCAAsB,EAAC,IAAI,CAAC;oBAC3C,QAAQ,EAAE,KAAK;oBACf,UAAU,EAAE,EAAE;oBACd,GAAG,EAAE,cAAc;oBACnB,IAAI,EAAE,QAAQ,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,aAAa;oBACzC,QAAQ,EAAE,KAAK;oBACf,QAAQ,EAAE,KAAK;oBACf,MAAM,EAAE,QAAQ;oBAChB,KAAK,EAAE,WAAW;iBACnB,CAAC,CAAC;YACL,CAAC;YAED,KAAK,UAAU,CAAC,kBAAkB,CAAC,CAAC,CAAC;gBACnC,OAAO,IAAI,CAAC,UAAU,CAA8B,IAAI,EAAE;oBACxD,IAAI,EAAE,0BAAc,CAAC,kBAAkB;oBACvC,KAAK,EAAE,IAAA,wBAAW,EAAC,UAAU,CAAC,YAAY,EAAE,IAAI,CAAC;oBACjD,IAAI,EAAE,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,IAAI,CAAC;oBAClC,OAAO,EAAE,KAAK;oBACd,UAAU,EAAE,KAAK;oBACjB,SAAS,EAAE,CAAC,CAAC,IAAI,CAAC,aAAa;oBAC/B,EAAE,EAAE,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,IAAI,CAAC;oBAChC,MAAM,EAAE,IAAI,CAAC,iBAAiB,CAAC,IAAI,CAAC,UAAU,CAAC;oBAC/C,UAAU,EAAE,IAAI,CAAC,IAAI,IAAI,IAAI,CAAC,qBAAqB,CAAC,IAAI,CAAC,IAAI,EAAE,IAAI,CAAC;oBACpE,cAAc,EACZ,IAAI,CAAC,cAAc;wBACnB,IAAI,CAAC,kDAAkD,CACrD,IAAI,CAAC,cAAc,CACpB;iBACJ,CAAC,CAAC;YACL,CAAC;YAED,KAAK,UAAU,CAAC,YAAY;gBAC1B,OAAO,IAAI,CAAC,UAAU,CAAiB,IAAI,EAAE;oBAC3C,IAAI,EAAE,0BAAc,CAAC,KAAK;iBAC3B,CAAC,CAAC;YAEL,KAAK,UAAU,CAAC,mBAAmB;gBACjC,OAAO,IAAI,CAAC,UAAU,CAAwB,IAAI,EAAE;oBAClD,IAAI,EAAE,0BAAc,CAAC,YAAY;oBACjC,UAAU,EAAE,EAAE;oBACd,QAAQ,EAAE,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,EAAE,CAAC,EAAE,CAAC,IAAI,CAAC,cAAc,CAAC,EAAE,CAAC,CAAC;oBAC1D,QAAQ,EAAE,KAAK;oBACf,cAAc,EAAE,SAAS;iBAC1B,CAAC,CAAC;YAEL,8CAA8C;YAC9C,KAAK,UAAU,CAAC,iBAAiB;gBAC/B,OAAO,IAAI,CAAC;YAEd,KAAK,UAAU,CAAC,oBAAoB;gBAClC,OAAO,IAAI,CAAC,UAAU,CAAyB,IAAI,EAAE;oBACnD,IAAI,EAAE,0BAAc,CAAC,aAAa;oBAClC,UAAU,EAAE,EAAE;oBACd,QAAQ,EAAE,KAAK;oBACf,UAAU,EAAE,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,EAAE,CAAC,EAAE,CAAC,IAAI,CAAC,cAAc,CAAC,EAAE,CAAC,CAAC;oBAC5D,cAAc,EAAE,SAAS;iBAC1B,CAAC,CAAC;YAEL,KAAK,UAAU,CAAC,cAAc,CAAC,CAAC,CAAC;gBAC/B,IAAI,MAAM,CAAC,IAAI,KAAK,UAAU,CAAC,mBAAmB,EAAE,CAAC;oBACnD,MAAM,SAAS,GAAG,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,IAAI,EAAE,MAAM,CAAC,CAAC;oBAEvD,IAAI,IAAI,CAAC,WAAW,EAAE,CAAC;wBACrB,OAAO,IAAI,CAAC,UAAU,CAA6B,IAAI,EAAE;4BACvD,IAAI,EAAE,0BAAc,CAAC,iBAAiB;4BACtC,UAAU,EAAE,EAAE;4BACd,IAAI,EAAE,SAAS;4BACf,QAAQ,EAAE,KAAK;4BACf,KAAK,EAAE,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,WAAW,CAAC;4BAC1C,cAAc,EAAE,SAAS;yBAC1B,CAAC,CAAC;oBACL,CAAC;yBAAM,IAAI,IAAI,CAAC,cAAc,EAAE,CAAC;wBAC/B,OAAO,IAAI,CAAC,UAAU,CAAuB,IAAI,EAAE;4BACjD,IAAI,EAAE,0BAAc,CAAC,WAAW;4BAChC,QAAQ,EAAE,SAAS;4BACnB,UAAU,EAAE,EAAE;4BACd,QAAQ,EAAE,KAAK;4BACf,cAAc,EAAE,SAAS;4BACzB,KAAK,EAAE,SAAS;yBACjB,CAAC,CAAC;oBACL,CAAC;oBACD,OAAO,SAAS,CAAC;gBACnB,CAAC;gBACD,IAAI,MAAgD,CAAC;gBACrD,IAAI,IAAI,CAAC,cAAc,EAAE,CAAC;oBACxB,MAAM,GAAG,IAAI,CAAC,UAAU,CAAuB,IAAI,EAAE;wBACnD,IAAI,EAAE,0BAAc,CAAC,WAAW;wBAChC,QAAQ,EAAE,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,YAAY,IAAI,IAAI,CAAC,IAAI,CAAC;wBAC3D,UAAU,EAAE,EAAE;wBACd,QAAQ,EAAE,KAAK;wBACf,cAAc,EAAE,SAAS;wBACzB,KAAK,EAAE,SAAS;qBACjB,CAAC,CAAC;gBACL,CAAC;qBAAM,CAAC;oBACN,MAAM,GAAG,IAAI,CAAC,UAAU,CAAoB,IAAI,EAAE;wBAChD,IAAI,EAAE,0BAAc,CAAC,QAAQ;wBAC7B,QAAQ,EAAE,OAAO,CACf,IAAI,CAAC,YAAY;4BACf,IAAI,CAAC,YAAY,CAAC,IAAI,KAAK,UAAU,CAAC,oBAAoB,CAC7D;wBACD,GAAG,EAAE,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,YAAY,IAAI,IAAI,CAAC,IAAI,CAAC;wBACtD,IAAI,EAAE,MAAM;wBACZ,MAAM,EAAE,KAAK;wBACb,QAAQ,EAAE,KAAK;wBACf,SAAS,EAAE,CAAC,IAAI,CAAC,YAAY;wBAC7B,KAAK,EAAE,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,IAAI,CAAC;qBACpC,CAAC,CAAC;gBACL,CAAC;gBAED,IAAI,IAAI,CAAC,WAAW,EAAE,CAAC;oBACrB,MAAM,CAAC,KAAK,GAAG,IAAI,CAAC,UAAU,CAA6B,IAAI,EAAE;wBAC/D,IAAI,EAAE,0BAAc,CAAC,iBAAiB;wBACtC,KAAK,EAAE,CAAC,IAAI,CAAC,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,GAAG,CAAC,EAAE,IAAI,CAAC,WAAW,CAAC,GAAG,CAAC;wBAC3D,UAAU,EAAE,EAAE;wBACd,IAAI,EAAE,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,IAAI,CAAC;wBAClC,QAAQ,EAAE,KAAK;wBACf,KAAK,EAAE,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,WAAW,CAAC;wBAC1C,cAAc,EAAE,SAAS;qBAC1B,CAAC,CAAC;gBACL,CAAC;gBACD,OAAO,MAAM,CAAC;YAChB,CAAC;YAED,KAAK,UAAU,CAAC,aAAa,CAAC,CAAC,CAAC;gBAC9B,OAAO,IAAI,CAAC,UAAU,CAAmC,IAAI,EAAE;oBAC7D,IAAI,EAAE,0BAAc,CAAC,uBAAuB;oBAC5C,KAAK,EAAE,IAAA,wBAAW,EAAC,UAAU,CAAC,YAAY,EAAE,IAAI,CAAC;oBACjD,IAAI,EAAE,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,IAAI,CAAC;oBAClC,UAAU,EAAE,IAAI,CAAC,IAAI,CAAC,IAAI,KAAK,UAAU,CAAC,KAAK;oBAC/C,SAAS,EAAE,KAAK;oBAChB,EAAE,EAAE,IAAI;oBACR,MAAM,EAAE,IAAI,CAAC,iBAAiB,CAAC,IAAI,CAAC,UAAU,CAAC;oBAC/C,UAAU,EAAE,IAAI,CAAC,IAAI,IAAI,IAAI,CAAC,qBAAqB,CAAC,IAAI,CAAC,IAAI,EAAE,IAAI,CAAC;oBACpE,cAAc,EACZ,IAAI,CAAC,cAAc;wBACnB,IAAI,CAAC,kDAAkD,CACrD,IAAI,CAAC,cAAc,CACpB;iBACJ,CAAC,CAAC;YACL,CAAC;YAED,KAAK,UAAU,CAAC,eAAe;gBAC7B,OAAO,IAAI,CAAC,UAAU,CAA2B,IAAI,EAAE;oBACrD,IAAI,EAAE,0BAAc,CAAC,eAAe;oBACpC,QAAQ,EAAE,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,UAAU,CAAC;oBAC5C,QAAQ,EAAE,CAAC,CAAC,IAAI,CAAC,aAAa;iBAC/B,CAAC,CAAC;YAEL,KAAK,UAAU,CAAC,eAAe;gBAC7B,OAAO,IAAI,CAAC,UAAU,CAA2B,IAAI,EAAE;oBACrD,IAAI,EAAE,0BAAc,CAAC,eAAe;oBACpC,QAAQ,EAAE,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,UAAU,CAAC;iBAC7C,CAAC,CAAC;YAEL,oBAAoB;YAEpB,KAAK,UAAU,CAAC,6BAA6B;gBAC3C,OAAO,IAAI,CAAC,UAAU,CAA2B,IAAI,EAAE;oBACrD,IAAI,EAAE,0BAAc,CAAC,eAAe;oBACpC,WAAW,EAAE,EAAE;oBACf,MAAM,EAAE;wBACN,IAAI,CAAC,UAAU,CAA2B,IAAI,EAAE;4BAC9C,IAAI,EAAE,0BAAc,CAAC,eAAe;4BACpC,IAAI,EAAE,IAAI;4BACV,KAAK,EAAE;gCACL,MAAM,EAAE,IAAI,CAAC,IAAI;gCACjB,GAAG,EAAE,IAAI,CAAC,GAAG,CAAC,IAAI,CAAC,KAAK,CACtB,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,GAAG,CAAC,GAAG,CAAC,EAC3B,IAAI,CAAC,GAAG,GAAG,CAAC,CACb;6BACF;yBACF,CAAC;qBACH;iBACF,CAAC,CAAC;YAEL,KAAK,UAAU,CAAC,kBAAkB,CAAC,CAAC,CAAC;gBACnC,MAAM,MAAM,GAAG,IAAI,CAAC,UAAU,CAA2B,IAAI,EAAE;oBAC7D,IAAI,EAAE,0BAAc,CAAC,eAAe;oBACpC,WAAW,EAAE,EAAE;oBACf,MAAM,EAAE,CAAC,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;iBACvC,CAAC,CAAC;gBAEH,IAAI,CAAC,aAAa,CAAC,OAAO,CAAC,YAAY,CAAC,EAAE;oBACxC,MAAM,CAAC,WAAW,CAAC,IAAI,CACrB,IAAI,CAAC,YAAY,CAAC,YAAY,CAAC,UAAU,CAAwB,CAClE,CAAC;oBACF,MAAM,CAAC,MAAM,CAAC,IAAI,CAChB,IAAI,CAAC,YAAY,CAAC,YAAY,CAAC,OAAO,CAA6B,CACpE,CAAC;gBACJ,CAAC,CAAC,CAAC;gBACH,OAAO,MAAM,CAAC;YAChB,CAAC;YAED,KAAK,UAAU,CAAC,wBAAwB;gBACtC,OAAO,IAAI,CAAC,UAAU,CAAoC,IAAI,EAAE;oBAC9D,IAAI,EAAE,0BAAc,CAAC,wBAAwB;oBAC7C,KAAK,EAAE,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,QAAQ,CAAC;oBACvC,GAAG,EAAE,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,GAAG,CAAC;oBAChC,aAAa,EACX,IAAI,CAAC,aAAa;wBAClB,IAAI,CAAC,gDAAgD,CACnD,IAAI,CAAC,aAAa,EAClB,IAAI,CACL;iBACJ,CAAC,CAAC;YAEL,KAAK,UAAU,CAAC,YAAY,CAAC;YAC7B,KAAK,UAAU,CAAC,cAAc,CAAC;YAC/B,KAAK,UAAU,CAAC,YAAY,CAAC,CAAC,CAAC;gBAC7B,MAAM,IAAI,GAAG,IAAI,CAAC,IAAI,KAAK,UAAU,CAAC,YAAY,CAAC;gBACnD,OAAO,IAAI,CAAC,UAAU,CAA2B,IAAI,EAAE;oBACrD,IAAI,EAAE,0BAAc,CAAC,eAAe;oBACpC,IAAI;oBACJ,KAAK,EAAE;wBACL,MAAM,EAAE,IAAI,CAAC,IAAI;wBACjB,GAAG,EAAE,IAAI,CAAC,GAAG,CAAC,IAAI,CAAC,KAAK,CACtB,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,GAAG,CAAC,GAAG,CAAC,EAC3B,IAAI,CAAC,GAAG,GAAG,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAC1B;qBACF;iBACF,CAAC,CAAC;YACL,CAAC;YAED,WAAW;YAEX,KAAK,UAAU,CAAC,gBAAgB,CAAC;YACjC,KAAK,UAAU,CAAC,aAAa,CAAC,CAAC,CAAC;gBAC9B,IAAI,IAAI,CAAC,YAAY,EAAE,CAAC;oBACtB,OAAO,IAAI,CAAC,UAAU,CAAuB,IAAI,EAAE;wBACjD,IAAI,EAAE,0BAAc,CAAC,WAAW;wBAChC,QAAQ,EAAE,IAAI,CAAC,cAAc,CAAC,IAAI,CAAC,UAAU,CAAC;wBAC9C,UAAU,EAAE,EAAE;wBACd,QAAQ,EAAE,KAAK;wBACf,cAAc,EAAE,SAAS;wBACzB,KAAK,EAAE,SAAS;qBACjB,CAAC,CAAC;gBACL,CAAC;gBACD,OAAO,IAAI,CAAC,UAAU,CAAyB,IAAI,EAAE;oBACnD,IAAI,EAAE,0BAAc,CAAC,aAAa;oBAClC,QAAQ,EAAE,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,UAAU,CAAC;iBAC7C,CAAC,CAAC;YACL,CAAC;YAED,KAAK,UAAU,CAAC,SAAS,CAAC,CAAC,CAAC;gBAC1B,IAAI,SAAsD,CAAC;gBAC3D,IAAI,MAAyD,CAAC;gBAE9D,IAAI,IAAI,CAAC,cAAc,EAAE,CAAC;oBACxB,SAAS,GAAG,MAAM,GAAG,IAAI,CAAC,UAAU,CAAuB,IAAI,EAAE;wBAC/D,IAAI,EAAE,0BAAc,CAAC,WAAW;wBAChC,QAAQ,EAAE,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,IAAI,CAAC;wBACtC,UAAU,EAAE,EAAE;wBACd,QAAQ,EAAE,KAAK;wBACf,cAAc,EAAE,SAAS;wBACzB,KAAK,EAAE,SAAS;qBACjB,CAAC,CAAC;gBACL,CAAC;qBAAM,IAAI,IAAI,CAAC,WAAW,EAAE,CAAC;oBAC5B,SAAS,GAAG,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,IAAI,CAAyB,CAAC;oBACjE,MAAM,GAAG,IAAI,CAAC,UAAU,CAA6B,IAAI,EAAE;wBACzD,IAAI,EAAE,0BAAc,CAAC,iBAAiB;wBACtC,UAAU,EAAE,EAAE;wBACd,IAAI,EAAE,SAAS;wBACf,QAAQ,EAAE,KAAK;wBACf,KAAK,EAAE,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,WAAW,CAAC;wBAC1C,cAAc,EAAE,SAAS;qBAC1B,CAAC,CAAC;oBAEH,MAAM,SAAS,GAAG,IAAA,2BAAY,EAAC,IAAI,CAAC,CAAC;oBACrC,IAAI,SAAS,EAAE,CAAC;wBACd,0DAA0D;wBAC1D,MAAM,CAAC,KAAK,CAAC,CAAC,CAAC,GAAG,SAAS,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC;wBACrC,MAAM,CAAC,GAAG,GAAG,IAAA,sBAAS,EAAC,MAAM,CAAC,KAAK,EAAE,IAAI,CAAC,GAAG,CAAC,CAAC;oBACjD,CAAC;gBACH,CAAC;qBAAM,CAAC;oBACN,SAAS,GAAG,MAAM,GAAG,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,IAAI,EAAE,MAAM,CAAC,CAAC;gBAC5D,CAAC;gBAED,IAAI,IAAI,CAAC,IAAI,EAAE,CAAC;oBACd,SAAS,CAAC,cAAc,GAAG,IAAI,CAAC,qBAAqB,CACnD,IAAI,CAAC,IAAI,EACT,IAAI,CACL,CAAC;oBACF,IAAI,CAAC,iBAAiB,CAAC,SAAS,EAAE,SAAS,CAAC,cAAc,CAAC,KAAK,CAAC,CAAC;gBACpE,CAAC;gBAED,IAAI,IAAI,CAAC,aAAa,EAAE,CAAC;oBACvB,IAAI,IAAI,CAAC,aAAa,CAAC,GAAG,GAAG,SAAS,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,CAAC;wBAChD,SAAS,CAAC,KAAK,CAAC,CAAC,CAAC,GAAG,IAAI,CAAC,aAAa,CAAC,GAAG,CAAC;wBAC5C,SAAS,CAAC,GAAG,CAAC,GAAG,GAAG,IAAA,mCAAsB,EACxC,SAAS,CAAC,KAAK,CAAC,CAAC,CAAC,EAClB,IAAI,CAAC,GAAG,CACT,CAAC;oBACJ,CAAC;oBACD,SAAS,CAAC,QAAQ,GAAG,IAAI,CAAC;gBAC5B,CAAC;gBAED,MAAM,SAAS,GAAG,IAAA,2BAAY,EAAC,IAAI,CAAC,CAAC;gBACrC,IAAI,SAAS,EAAE,CAAC;oBACd,OAAO,IAAI,CAAC,UAAU,CAA+B,IAAI,EAAE;wBACzD,IAAI,EAAE,0BAAc,CAAC,mBAAmB;wBACxC,aAAa,EAAE,IAAA,mCAAsB,EAAC,IAAI,CAAC;wBAC3C,UAAU,EAAE,EAAE;wBACd,QAAQ,EAAE,IAAA,wBAAW,EAAC,UAAU,CAAC,eAAe,EAAE,IAAI,CAAC;wBACvD,SAAS,EAAE,MAAM;wBACjB,QAAQ,EAAE,IAAA,wBAAW,EAAC,UAAU,CAAC,eAAe,EAAE,IAAI,CAAC;wBACvD,MAAM,EAAE,IAAA,wBAAW,EAAC,UAAU,CAAC,aAAa,EAAE,IAAI,CAAC;qBACpD,CAAC,CAAC;gBACL,CAAC;gBACD,OAAO,MAAM,CAAC;YAChB,CAAC;YAED,UAAU;YAEV,KAAK,UAAU,CAAC,gBAAgB;gBAC9B,IACE,CAAC,IAAI,CAAC,IAAI;oBACV,CAAC,CAAC,IAAA,wBAAW,EAAC,EAAE,CAAC,UAAU,CAAC,aAAa,EAAE,IAAI,CAAC;wBAC9C,CAAC,IAAA,wBAAW,EAAC,EAAE,CAAC,UAAU,CAAC,cAAc,EAAE,IAAI,CAAC,CAAC,EACnD,CAAC;oBACD,IAAI,CAAC,2BAA2B,CAC9B,IAAI,EACJ,sEAAsE,CACvE,CAAC;gBACJ,CAAC;YACH,6BAA6B;YAC7B,KAAK,UAAU,CAAC,eAAe,CAAC,CAAC,CAAC;gBAChC,MAAM,eAAe,GAAG,IAAI,CAAC,eAAe,IAAI,EAAE,CAAC;gBACnD,MAAM,aAAa,GACjB,IAAI,CAAC,IAAI,KAAK,UAAU,CAAC,gBAAgB;oBACvC,CAAC,CAAC,0BAAc,CAAC,gBAAgB;oBACjC,CAAC,CAAC,0BAAc,CAAC,eAAe,CAAC;gBAErC,IAAI,aAA4C,CAAC;gBACjD,IAAI,gBAA+C,CAAC;gBACpD,KAAK,MAAM,cAAc,IAAI,eAAe,EAAE,CAAC;oBAC7C,MAAM,EAAE,KAAK,EAAE,KAAK,EAAE,GAAG,cAAc,CAAC;oBAExC,IAAI,KAAK,CAAC,MAAM,KAAK,CAAC,EAAE,CAAC;wBACvB,IAAI,CAAC,2BAA2B,CAC9B,cAAc,EACd,IAAI,EAAE,CAAC,aAAa,CAAC,KAAK,CAAC,yBAAyB,CACrD,CAAC;oBACJ,CAAC;oBAED,IAAI,KAAK,KAAK,UAAU,CAAC,cAAc,EAAE,CAAC;wBACxC,IAAI,aAAa,EAAE,CAAC;4BAClB,IAAI,CAAC,2BAA2B,CAC9B,cAAc,EACd,gCAAgC,CACjC,CAAC;wBACJ,CAAC;wBAED,IAAI,gBAAgB,EAAE,CAAC;4BACrB,IAAI,CAAC,2BAA2B,CAC9B,cAAc,EACd,oDAAoD,CACrD,CAAC;wBACJ,CAAC;wBAED,IAAI,KAAK,CAAC,MAAM,GAAG,CAAC,EAAE,CAAC;4BACrB,IAAI,CAAC,2BAA2B,CAC9B,KAAK,CAAC,CAAC,CAAC,EACR,yCAAyC,CAC1C,CAAC;wBACJ,CAAC;wBAED,aAAa,KAAK,cAAc,CAAC;oBACnC,CAAC;yBAAM,IAAI,KAAK,KAAK,UAAU,CAAC,iBAAiB,EAAE,CAAC;wBAClD,IAAI,gBAAgB,EAAE,CAAC;4BACrB,IAAI,CAAC,2BAA2B,CAC9B,cAAc,EACd,mCAAmC,CACpC,CAAC;wBACJ,CAAC;wBAED,gBAAgB,KAAK,cAAc,CAAC;oBACtC,CAAC;gBACH,CAAC;gBAED,MAAM,MAAM,GAAG,IAAI,CAAC,UAAU,CAE5B,IAAI,EAAE;oBACN,IAAI,EAAE,aAAa;oBACnB,QAAQ,EAAE,IAAA,wBAAW,EAAC,UAAU,CAAC,eAAe,EAAE,IAAI,CAAC;oBACvD,IAAI,EAAE,IAAI,CAAC,UAAU,CAAqB,IAAI,EAAE;wBAC9C,IAAI,EAAE,0BAAc,CAAC,SAAS;wBAC9B,KAAK,EAAE,CAAC,IAAI,CAAC,OAAO,CAAC,GAAG,GAAG,CAAC,EAAE,IAAI,CAAC,GAAG,CAAC;wBACvC,IAAI,EAAE,IAAI,CAAC,OAAO;6BACf,MAAM,CAAC,gCAAmB,CAAC;6BAC3B,GAAG,CAAC,EAAE,CAAC,EAAE,CAAC,IAAI,CAAC,YAAY,CAAC,EAAE,CAAC,CAAC;qBACpC,CAAC;oBACF,OAAO,EAAE,IAAA,wBAAW,EAAC,UAAU,CAAC,cAAc,EAAE,IAAI,CAAC;oBACrD,UAAU,EACR,IAAA,4BAAa,EAAC,IAAI,CAAC,EAAE,GAAG,CAAC,EAAE,CAAC,EAAE,CAAC,IAAI,CAAC,YAAY,CAAC,EAAE,CAAC,CAAC,IAAI,EAAE;oBAC7D,EAAE,EAAE,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,IAAI,CAAC;oBAChC,UAAU,EACR,gBAAgB,EAAE,KAAK,CAAC,GAAG,CAAC,EAAE,CAAC,EAAE,CAAC,IAAI,CAAC,YAAY,CAAC,EAAE,CAAC,CAAC,IAAI,EAAE;oBAChE,UAAU,EAAE,aAAa,EAAE,KAAK,CAAC,CAAC,CAAC;wBACjC,CAAC,CAAC,IAAI,CAAC,YAAY,CAAC,aAAa,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,UAAU,CAAC;wBACtD,CAAC,CAAC,IAAI;oBACR,kBAAkB,EAAE,SAAS;oBAC7B,cAAc,EACZ,IAAI,CAAC,cAAc;wBACnB,IAAI,CAAC,kDAAkD,CACrD,IAAI,CAAC,cAAc,CACpB;iBACJ,CAAC,CAAC;gBAEH,IAAI,aAAa,EAAE,KAAK,CAAC,CAAC,CAAC,EAAE,aAAa,EAAE,CAAC;oBAC3C,MAAM,CAAC,kBAAkB;wBACvB,IAAI,CAAC,gDAAgD,CACnD,aAAa,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,aAAa,EACpC,aAAa,CAAC,KAAK,CAAC,CAAC,CAAC,CACvB,CAAC;gBACN,CAAC;gBAED,OAAO,IAAI,CAAC,UAAU,CAAC,IAAI,EAAE,MAAM,CAAC,CAAC;YACvC,CAAC;YAED,UAAU;YACV,KAAK,UAAU,CAAC,WAAW;gBACzB,OAAO,IAAI,CAAC,UAAU,CAAyB,IAAI,EAAE;oBACnD,IAAI,EAAE,0BAAc,CAAC,aAAa;oBAClC,IAAI,EAAE,IAAI,CAAC,sBAAsB,CAAC,IAAI,CAAC,UAAU,EAAE,IAAI,CAAC;iBACzD,CAAC,CAAC;YAEL,KAAK,UAAU,CAAC,iBAAiB,CAAC,CAAC,CAAC;gBAClC,IAAI,CAAC,qBAAqB,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;gBAExC,MAAM,MAAM,GAAG,IAAI,CAAC,UAAU,CAC5B,IAAI,EACJ,IAAI,CAAC,0BAA0B,CAC7B;oBACE,IAAI,EAAE,0BAAc,CAAC,iBAAiB;oBACtC,UAAU,EAAE,IAAI,CAAC,uBAAuB;oBACtC,4DAA4D;oBAC5D,IAAI,CAAC,UAAU,IAAI,IAAI,CAAC,YAAY,CACrC;oBACD,UAAU,EAAE,OAAO;oBACnB,MAAM,EAAE,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,eAAe,CAAC;oBAC/C,UAAU,EAAE,EAAE;iBACf,EACD,YAAY,EACZ,YAAY,EACZ,IAAI,CACL,CACF,CAAC;gBAEF,IAAI,IAAI,CAAC,YAAY,EAAE,CAAC;oBACtB,IAAI,IAAI,CAAC,YAAY,CAAC,UAAU,EAAE,CAAC;wBACjC,MAAM,CAAC,UAAU,GAAG,MAAM,CAAC;oBAC7B,CAAC;oBAED,IAAI,IAAI,CAAC,YAAY,CAAC,IAAI,EAAE,CAAC;wBAC3B,MAAM,CAAC,UAAU,CAAC,IAAI,CACpB,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,YAAY,CAA0B,CAC9D,CAAC;oBACJ,CAAC;oBAED,IAAI,IAAI,CAAC,YAAY,CAAC,aAAa,EAAE,CAAC;wBACpC,QAAQ,IAAI,CAAC,YAAY,CAAC,aAAa,CAAC,IAAI,EAAE,CAAC;4BAC7C,KAAK,UAAU,CAAC,eAAe;gCAC7B,MAAM,CAAC,UAAU,CAAC,IAAI,CACpB,IAAI,CAAC,YAAY,CACf,IAAI,CAAC,YAAY,CAAC,aAAa,CACP,CAC3B,CAAC;gCACF,MAAM;4BACR,KAAK,UAAU,CAAC,YAAY;gCAC1B,MAAM,CAAC,UAAU,CAAC,IAAI,CACpB,GAAG,IAAI,CAAC,YAAY,CAAC,aAAa,CAAC,QAAQ,CAAC,GAAG,CAC7C,EAAE,CAAC,EAAE,CAAC,IAAI,CAAC,YAAY,CAAC,EAAE,CAA0B,CACrD,CACF,CAAC;gCACF,MAAM;wBACV,CAAC;oBACH,CAAC;gBACH,CAAC;gBACD,OAAO,MAAM,CAAC;YAChB,CAAC;YAED,KAAK,UAAU,CAAC,eAAe;gBAC7B,OAAO,IAAI,CAAC,UAAU,CAAoC,IAAI,EAAE;oBAC9D,IAAI,EAAE,0BAAc,CAAC,wBAAwB;oBAC7C,KAAK,EAAE,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,IAAI,CAAC;iBACpC,CAAC,CAAC;YAEL,KAAK,UAAU,CAAC,eAAe;gBAC7B,OAAO,IAAI,CAAC,UAAU,CAA2B,IAAI,EAAE;oBACrD,IAAI,EAAE,0BAAc,CAAC,eAAe;oBACpC,QAAQ,EAAE,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,YAAY,IAAI,IAAI,CAAC,IAAI,CAAC;oBAC3D,UAAU,EAAE,IAAI,CAAC,UAAU,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,OAAO;oBAC9C,KAAK,EAAE,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,IAAI,CAAC;iBACpC,CAAC,CAAC;YAEL,KAAK,UAAU,CAAC,YAAY,CAAC,CAAC,CAAC;gBAC7B,MAAM,KAAK,GAAG,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;gBAC3C,OAAO,IAAI,CAAC,UAAU,CAAkC,IAAI,EAAE;oBAC5D,IAAI,EAAE,0BAAc,CAAC,sBAAsB;oBAC3C,KAAK,EAAE,KAAK,CAAC,KAAK;oBAClB,KAAK;iBACN,CAAC,CAAC;YACL,CAAC;YAED,KAAK,UAAU,CAAC,iBAAiB,CAAC,CAAC,CAAC;gBAClC,IAAI,IAAI,CAAC,YAAY,EAAE,IAAI,KAAK,UAAU,CAAC,YAAY,EAAE,CAAC;oBACxD,IAAI,CAAC,qBAAqB,CAAC,IAAI,EAAE,IAAI,CAAC,CAAC;oBACvC,OAAO,IAAI,CAAC,UAAU,CACpB,IAAI,EACJ,IAAI,CAAC,0BAA0B,CAC7B;wBACE,IAAI,EAAE,0BAAc,CAAC,sBAAsB;wBAC3C,UAAU,EAAE,IAAI,CAAC,uBAAuB;wBACtC,4DAA4D;wBAC5D,IAAI,CAAC,UAAU,IAAI,IAAI,CAAC,YAAY,CACrC;wBACD,WAAW,EAAE,IAAI;wBACjB,UAAU,EAAE,IAAI,CAAC,UAAU,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,OAAO;wBAC9C,MAAM,EAAE,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,eAAe,CAAC;wBAC/C,UAAU,EAAE,IAAI,CAAC,YAAY,CAAC,QAAQ,CAAC,GAAG,CAAC,EAAE,CAAC,EAAE,CAC9C,IAAI,CAAC,YAAY,CAAC,EAAE,EAAE,IAAI,CAAC,CAC5B;qBACF,EACD,YAAY,EACZ,YAAY,EACZ,IAAI,CACL,CACF,CAAC;gBACJ,CAAC;gBACD,IAAI,CAAC,qBAAqB,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;gBACxC,OAAO,IAAI,CAAC,UAAU,CACpB,IAAI,EACJ,IAAI,CAAC,0BAA0B,CAC7B;oBACE,IAAI,EAAE,0BAAc,CAAC,oBAAoB;oBACzC,UAAU,EAAE,IAAI,CAAC,uBAAuB;oBACtC,4DAA4D;oBAC5D,IAAI,CAAC,UAAU,IAAI,IAAI,CAAC,YAAY,CACrC;oBACD,QAAQ,EACN,IAAI,CAAC,YAAY,EAAE,IAAI,KAAK,UAAU,CAAC,eAAe;wBACpD,CAAC,CAAC,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC;wBAC3C,CAAC,CAAC,IAAI;oBACV,UAAU,EAAE,IAAI,CAAC,UAAU,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,OAAO;oBAC9C,MAAM,EAAE,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,eAAe,CAAC;iBAChD,EACD,YAAY,EACZ,YAAY,EACZ,IAAI,CACL,CACF,CAAC;YACJ,CAAC;YAED,KAAK,UAAU,CAAC,eAAe,CAAC,CAAC,CAAC;gBAChC,MAAM,KAAK,GAAG,IAAI,CAAC,YAAY,IAAI,IAAI,CAAC,IAAI,CAAC;gBAC7C,IACE,KAAK,CAAC,IAAI,KAAK,UAAU,CAAC,aAAa;oBACvC,MAAM,CAAC,IAAI,KAAK,UAAU,CAAC,iBAAiB;oBAC5C,MAAM,CAAC,eAAe,EAAE,IAAI,KAAK,UAAU,CAAC,aAAa,EACzD,CAAC;oBACD,IAAI,CAAC,WAAW,CACd,KAAK,EACL,6EAA6E,CAC9E,CAAC;gBACJ,CAAC;gBACD,OAAO,IAAI,CAAC,UAAU,CAA2B,IAAI,EAAE;oBACrD,IAAI,EAAE,0BAAc,CAAC,eAAe;oBACpC,QAAQ,EAAE,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,IAAI,CAAC;oBACtC,UAAU,EAAE,IAAI,CAAC,UAAU,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,OAAO;oBAC9C,KAAK,EAAE,IAAI,CAAC,YAAY,CAAC,KAAK,CAAC;iBAChC,CAAC,CAAC;YACL,CAAC;YAED,KAAK,UAAU,CAAC,gBAAgB;gBAC9B,IAAI,IAAI,CAAC,cAAc,EAAE,CAAC;oBACxB,OAAO,IAAI,CAAC,UAAU,CAA8B,IAAI,EAAE;wBACxD,IAAI,EAAE,0BAAc,CAAC,kBAAkB;wBACvC,UAAU,EAAE,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,UAAU,CAAC;qBAC/C,CAAC,CAAC;gBACL,CAAC;gBACD,OAAO,IAAI,CAAC,UAAU,CAAoC,IAAI,EAAE;oBAC9D,IAAI,EAAE,0BAAc,CAAC,wBAAwB;oBAC7C,WAAW,EAAE,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,UAAU,CAAC;oBAC/C,UAAU,EAAE,OAAO;iBACpB,CAAC,CAAC;YAEL,mBAAmB;YAEnB,KAAK,UAAU,CAAC,qBAAqB,CAAC;YACtC,KAAK,UAAU,CAAC,sBAAsB,CAAC,CAAC,CAAC;gBACvC,MAAM,QAAQ,GAAG,IAAA,gCAAmB,EAAC,IAAI,CAAC,QAAQ,CAAC,CAAC;gBACpD;;mBAEG;gBACH,IAAI,QAAQ,KAAK,IAAI,IAAI,QAAQ,KAAK,IAAI,EAAE,CAAC;oBAC3C,IAAI,CAAC,IAAA,oCAAuB,EAAC,IAAI,CAAC,OAAO,CAAC,EAAE,CAAC;wBAC3C,IAAI,CAAC,2BAA2B,CAC9B,IAAI,CAAC,OAAO,EACZ,sDAAsD,CACvD,CAAC;oBACJ,CAAC;oBACD,OAAO,IAAI,CAAC,UAAU,CAA4B,IAAI,EAAE;wBACtD,IAAI,EAAE,0BAAc,CAAC,gBAAgB;wBACrC,QAAQ,EAAE,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,OAAO,CAAC;wBACzC,QAAQ;wBACR,MAAM,EAAE,IAAI,CAAC,IAAI,KAAK,UAAU,CAAC,qBAAqB;qBACvD,CAAC,CAAC;gBACL,CAAC;gBACD,OAAO,IAAI,CAAC,UAAU,CAA2B,IAAI,EAAE;oBACrD,IAAI,EAAE,0BAAc,CAAC,eAAe;oBACpC,QAAQ,EAAE,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,OAAO,CAAC;oBACzC,QAAQ;oBACR,MAAM,EAAE,IAAI,CAAC,IAAI,KAAK,UAAU,CAAC,qBAAqB;iBACvD,CAAC,CAAC;YACL,CAAC;YAED,KAAK,UAAU,CAAC,gBAAgB;gBAC9B,OAAO,IAAI,CAAC,UAAU,CAA2B,IAAI,EAAE;oBACrD,IAAI,EAAE,0BAAc,CAAC,eAAe;oBACpC,QAAQ,EAAE,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,UAAU,CAAC;oBAC5C,QAAQ,EAAE,QAAQ;oBAClB,MAAM,EAAE,IAAI;iBACb,CAAC,CAAC;YAEL,KAAK,UAAU,CAAC,cAAc;gBAC5B,OAAO,IAAI,CAAC,UAAU,CAA2B,IAAI,EAAE;oBACrD,IAAI,EAAE,0BAAc,CAAC,eAAe;oBACpC,QAAQ,EAAE,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,UAAU,CAAC;oBAC5C,QAAQ,EAAE,MAAM;oBAChB,MAAM,EAAE,IAAI;iBACb,CAAC,CAAC;YAEL,KAAK,UAAU,CAAC,gBAAgB;gBAC9B,OAAO,IAAI,CAAC,UAAU,CAA2B,IAAI,EAAE;oBACrD,IAAI,EAAE,0BAAc,CAAC,eAAe;oBACpC,QAAQ,EAAE,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,UAAU,CAAC;oBAC5C,QAAQ,EAAE,QAAQ;oBAClB,MAAM,EAAE,IAAI;iBACb,CAAC,CAAC;YAEL,KAAK,UAAU,CAAC,YAAY;gBAC1B,OAAO,IAAI,CAAC,UAAU,CAA0B,IAAI,EAAE;oBACpD,IAAI,EAAE,0BAAc,CAAC,cAAc;oBACnC,QAAQ,EAAE,IAAA,gCAAmB,EAAC,IAAI,CAAC,QAAQ,CAAC;oBAC5C,cAAc,EAAE,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,IAAI,CAAC;iBAC7C,CAAC,CAAC;YAEL,oBAAoB;YAEpB,KAAK,UAAU,CAAC,gBAAgB,CAAC,CAAC,CAAC;gBACjC,yDAAyD;gBACzD,IAAI,IAAA,oBAAO,EAAC,IAAI,CAAC,aAAa,CAAC,EAAE,CAAC;oBAChC,MAAM,MAAM,GAAG,IAAI,CAAC,UAAU,CAA8B,IAAI,EAAE;wBAChE,IAAI,EAAE,0BAAc,CAAC,kBAAkB;wBACvC,WAAW,EAAE,EAAE;qBAChB,CAAC,CAAC;oBAEH,MAAM,IAAI,GAAG,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,IAAI,CAAwB,CAAC;oBACjE,IACE,IAAI,CAAC,IAAI,KAAK,0BAAc,CAAC,kBAAkB;wBAC/C,IAAI,CAAC,IAAI,CAAC,IAAI,KAAK,UAAU,CAAC,uBAAuB,EACrD,CAAC;wBACD,MAAM,CAAC,WAAW,CAAC,IAAI,CAAC,GAAG,IAAI,CAAC,WAAW,CAAC,CAAC;oBAC/C,CAAC;yBAAM,CAAC;wBACN,MAAM,CAAC,WAAW,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;oBAChC,CAAC;oBAED,MAAM,CAAC,WAAW,CAAC,IAAI,CACrB,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,KAAK,CAAwB,CACrD,CAAC;oBACF,OAAO,MAAM,CAAC;gBAChB,CAAC;gBACD,MAAM,cAAc,GAAG,IAAA,oCAAuB,EAAC,IAAI,CAAC,aAAa,CAAC,CAAC;gBACnE,IACE,IAAI,CAAC,YAAY;oBACjB,cAAc,CAAC,IAAI,KAAK,0BAAc,CAAC,oBAAoB,EAC3D,CAAC;oBACD,OAAO,IAAI,CAAC,UAAU,CAA6B,IAAI,EAAE;wBACvD,IAAI,EAAE,0BAAc,CAAC,iBAAiB;wBACtC,UAAU,EAAE,EAAE;wBACd,IAAI,EAAE,IAAI,CAAC,cAAc,CAAC,IAAI,CAAC,IAAI,EAAE,IAAI,CAAC;wBAC1C,QAAQ,EAAE,KAAK;wBACf,KAAK,EAAE,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,KAAK,CAAC;wBACpC,cAAc,EAAE,SAAS;qBAC1B,CAAC,CAAC;gBACL,CAAC;gBACD,OAAO,IAAI,CAAC,UAAU,CAIpB,IAAI,EAAE;oBACN,GAAG,cAAc;oBACjB,IAAI,EAAE,IAAI,CAAC,SAAS,CAClB,IAAI,CAAC,IAAI,EACT,IAAI,EACJ,cAAc,CAAC,IAAI,KAAK,0BAAc,CAAC,oBAAoB,CAC5D;oBACD,KAAK,EAAE,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,KAAK,CAAC;iBACrC,CAAC,CAAC;YACL,CAAC;YAED,KAAK,UAAU,CAAC,wBAAwB,CAAC,CAAC,CAAC;gBACzC,MAAM,MAAM,GAAG,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC;gBAClD,MAAM,QAAQ,GAAG,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;gBAC9C,MAAM,QAAQ,GAAG,KAAK,CAAC;gBAEvB,MAAM,MAAM,GAAG,IAAI,CAAC,UAAU,CAA4B,IAAI,EAAE;oBAC9D,IAAI,EAAE,0BAAc,CAAC,gBAAgB;oBACrC,QAAQ;oBACR,MAAM;oBACN,QAAQ,EAAE,IAAI,CAAC,gBAAgB,KAAK,SAAS;oBAC7C,QAAQ;iBACT,CAAC,CAAC;gBAEH,OAAO,IAAI,CAAC,sBAAsB,CAAC,MAAM,EAAE,IAAI,CAAC,CAAC;YACnD,CAAC;YAED,KAAK,UAAU,CAAC,uBAAuB,CAAC,CAAC,CAAC;gBACxC,MAAM,MAAM,GAAG,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC;gBAClD,MAAM,QAAQ,GAAG,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,kBAAkB,CAAC,CAAC;gBAC5D,MAAM,QAAQ,GAAG,IAAI,CAAC;gBAEtB,MAAM,MAAM,GAAG,IAAI,CAAC,UAAU,CAA4B,IAAI,EAAE;oBAC9D,IAAI,EAAE,0BAAc,CAAC,gBAAgB;oBACrC,QAAQ;oBACR,MAAM;oBACN,QAAQ,EAAE,IAAI,CAAC,gBAAgB,KAAK,SAAS;oBAC7C,QAAQ;iBACT,CAAC,CAAC;gBAEH,OAAO,IAAI,CAAC,sBAAsB,CAAC,MAAM,EAAE,IAAI,CAAC,CAAC;YACnD,CAAC;YAED,KAAK,UAAU,CAAC,cAAc,CAAC,CAAC,CAAC;gBAC/B,IAAI,IAAI,CAAC,UAAU,CAAC,IAAI,KAAK,UAAU,CAAC,aAAa,EAAE,CAAC;oBACtD,IAAI,IAAI,CAAC,SAAS,CAAC,MAAM,KAAK,CAAC,IAAI,IAAI,CAAC,SAAS,CAAC,MAAM,KAAK,CAAC,EAAE,CAAC;wBAC/D,IAAI,CAAC,2BAA2B,CAC9B,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC,IAAI,IAAI,EACzB,uDAAuD,CACxD,CAAC;oBACJ,CAAC;oBACD,OAAO,IAAI,CAAC,UAAU,CACpB,IAAI,EACJ,IAAI,CAAC,0BAA0B,CAC7B;wBACE,IAAI,EAAE,0BAAc,CAAC,gBAAgB;wBACrC,OAAO,EAAE,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC;4BACxB,CAAC,CAAC,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC;4BACtC,CAAC,CAAC,IAAI;wBACR,MAAM,EAAE,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC;qBAC7C,EACD,YAAY,EACZ,SAAS,EACT,IAAI,CACL,CACF,CAAC;gBACJ,CAAC;gBAED,MAAM,MAAM,GAAG,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC;gBAClD,MAAM,IAAI,GAAG,IAAI,CAAC,SAAS,CAAC,GAAG,CAAC,EAAE,CAAC,EAAE,CAAC,IAAI,CAAC,YAAY,CAAC,EAAE,CAAC,CAAC,CAAC;gBAC7D,MAAM,aAAa,GACjB,IAAI,CAAC,aAAa;oBAClB,IAAI,CAAC,gDAAgD,CACnD,IAAI,CAAC,aAAa,EAClB,IAAI,CACL,CAAC;gBAEJ,MAAM,MAAM,GAAG,IAAI,CAAC,UAAU,CAA0B,IAAI,EAAE;oBAC5D,IAAI,EAAE,0BAAc,CAAC,cAAc;oBACnC,SAAS,EAAE,IAAI;oBACf,MAAM;oBACN,QAAQ,EAAE,IAAI,CAAC,gBAAgB,KAAK,SAAS;oBAC7C,aAAa;iBACd,CAAC,CAAC;gBAEH,OAAO,IAAI,CAAC,sBAAsB,CAAC,MAAM,EAAE,IAAI,CAAC,CAAC;YACnD,CAAC;YAED,KAAK,UAAU,CAAC,aAAa,CAAC,CAAC,CAAC;gBAC9B,MAAM,aAAa,GACjB,IAAI,CAAC,aAAa;oBAClB,IAAI,CAAC,gDAAgD,CACnD,IAAI,CAAC,aAAa,EAClB,IAAI,CACL,CAAC;gBAEJ,2DAA2D;gBAC3D,OAAO,IAAI,CAAC,UAAU,CAAyB,IAAI,EAAE;oBACnD,IAAI,EAAE,0BAAc,CAAC,aAAa;oBAClC,SAAS,EAAE,IAAI,CAAC,SAAS;wBACvB,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC,GAAG,CAAC,EAAE,CAAC,EAAE,CAAC,IAAI,CAAC,YAAY,CAAC,EAAE,CAAC,CAAC;wBACjD,CAAC,CAAC,EAAE;oBACN,MAAM,EAAE,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,UAAU,CAAC;oBAC1C,aAAa;iBACd,CAAC,CAAC;YACL,CAAC;YAED,KAAK,UAAU,CAAC,qBAAqB;gBACnC,OAAO,IAAI,CAAC,UAAU,CAAiC,IAAI,EAAE;oBAC3D,IAAI,EAAE,0BAAc,CAAC,qBAAqB;oBAC1C,SAAS,EAAE,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,SAAS,CAAC;oBAC5C,UAAU,EAAE,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,QAAQ,CAAC;oBAC5C,IAAI,EAAE,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,SAAS,CAAC;iBACxC,CAAC,CAAC;YAEL,KAAK,UAAU,CAAC,YAAY,CAAC,CAAC,CAAC;gBAC7B,OAAO,IAAI,CAAC,UAAU,CAAwB,IAAI,EAAE;oBAClD,IAAI,EAAE,0BAAc,CAAC,YAAY;oBACjC,IAAI,EAAE,IAAI,CAAC,UAAU;oBACnB,kDAAkD;oBAClD,IAAI,CAAC,aAAa,EAAyC,EAC3D;wBACE,IAAI,EAAE,0BAAc,CAAC,UAAU;wBAC/B,UAAU,EAAE,EAAE;wBACd,IAAI,EAAE,IAAA,gCAAmB,EAAC,IAAI,CAAC,YAAY,CAAC;wBAC5C,QAAQ,EAAE,KAAK;wBACf,cAAc,EAAE,SAAS;qBAC1B,CACF;oBACD,QAAQ,EAAE,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,IAAI,CAAC;iBACvC,CAAC,CAAC;YACL,CAAC;YAED,KAAK,UAAU,CAAC,SAAS,CAAC,CAAC,CAAC;gBAC1B,OAAO,IAAI,CAAC,UAAU,CAAqB,IAAI,EAAE;oBAC/C,IAAI,EAAE,0BAAc,CAAC,SAAS;oBAC9B,UAAU,EAAE,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,UAAU,CAAC;iBAC/C,CAAC,CAAC;YACL,CAAC;YAED,WAAW;YAEX,KAAK,UAAU,CAAC,aAAa,CAAC,CAAC,CAAC;gBAC9B,OAAO,IAAI,CAAC,UAAU,CAAyB,IAAI,EAAE;oBACnD,IAAI,EAAE,0BAAc,CAAC,OAAO;oBAC5B,GAAG,EAAE,IAAI,CAAC,OAAO,EAAE;oBACnB,KAAK,EACH,MAAM,CAAC,IAAI,KAAK,UAAU,CAAC,YAAY;wBACrC,CAAC,CAAC,IAAA,sCAAyB,EAAC,IAAI,CAAC,IAAI,CAAC;wBACtC,CAAC,CAAC,IAAI,CAAC,IAAI;iBAChB,CAAC,CAAC;YACL,CAAC;YAED,KAAK,UAAU,CAAC,cAAc,CAAC,CAAC,CAAC;gBAC/B,OAAO,IAAI,CAAC,UAAU,CAAyB,IAAI,EAAE;oBACnD,IAAI,EAAE,0BAAc,CAAC,OAAO;oBAC5B,GAAG,EAAE,IAAI,CAAC,OAAO,EAAE;oBACnB,KAAK,EAAE,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC;iBACzB,CAAC,CAAC;YACL,CAAC;YAED,KAAK,UAAU,CAAC,aAAa,CAAC,CAAC,CAAC;gBAC9B,MAAM,KAAK,GAAG,IAAA,qBAAQ,EAAC,IAAI,EAAE,IAAI,CAAC,GAAG,CAAC,CAAC;gBACvC,MAAM,QAAQ,GAAG,IAAI,CAAC,GAAG,CAAC,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC;gBACzD,MAAM,MAAM,GAAG,QAAQ;oBACrB,oBAAoB;qBACnB,KAAK,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC;oBACb,4CAA4C;oBAC5C,6DAA6D;qBAC5D,UAAU,CAAC,GAAG,EAAE,EAAE,CAAC,CAAC;gBACvB,MAAM,KAAK,GAAG,OAAO,MAAM,KAAK,WAAW,CAAC,CAAC,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC;gBACpE,OAAO,IAAI,CAAC,UAAU,CAAyB,IAAI,EAAE;oBACnD,IAAI,EAAE,0BAAc,CAAC,OAAO;oBAC5B,KAAK;oBACL,MAAM,EAAE,KAAK,IAAI,IAAI,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,MAAM,CAAC,KAAK,CAAC;oBAC9C,GAAG,EAAE,QAAQ;oBACb,KAAK;iBACN,CAAC,CAAC;YACL,CAAC;YAED,KAAK,UAAU,CAAC,wBAAwB,CAAC,CAAC,CAAC;gBACzC,MAAM,OAAO,GAAG,IAAI,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,EAAE,IAAI,CAAC,IAAI,CAAC,WAAW,CAAC,GAAG,CAAC,CAAC,CAAC;gBAC/D,MAAM,KAAK,GAAG,IAAI,CAAC,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,WAAW,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC,CAAC;gBAE9D,IAAI,KAAK,GAAG,IAAI,CAAC;gBACjB,IAAI,CAAC;oBACH,KAAK,GAAG,IAAI,MAAM,CAAC,OAAO,EAAE,KAAK,CAAC,CAAC;gBACrC,CAAC;gBAAC,MAAM,CAAC;oBACP,2CAA2C;gBAC7C,CAAC;gBAED,OAAO,IAAI,CAAC,UAAU,CAAyB,IAAI,EAAE;oBACnD,IAAI,EAAE,0BAAc,CAAC,OAAO;oBAC5B,GAAG,EAAE,IAAI,CAAC,IAAI;oBACd,KAAK,EAAE;wBACL,KAAK;wBACL,OAAO;qBACR;oBACD,KAAK,EAAE,KAAK;iBACb,CAAC,CAAC;YACL,CAAC;YAED,KAAK,UAAU,CAAC,WAAW;gBACzB,OAAO,IAAI,CAAC,UAAU,CAA0B,IAAI,EAAE;oBACpD,IAAI,EAAE,0BAAc,CAAC,OAAO;oBAC5B,GAAG,EAAE,MAAM;oBACX,KAAK,EAAE,IAAI;iBACZ,CAAC,CAAC;YAEL,KAAK,UAAU,CAAC,YAAY;gBAC1B,OAAO,IAAI,CAAC,UAAU,CAA0B,IAAI,EAAE;oBACpD,IAAI,EAAE,0BAAc,CAAC,OAAO;oBAC5B,GAAG,EAAE,OAAO;oBACZ,KAAK,EAAE,KAAK;iBACb,CAAC,CAAC;YAEL,KAAK,UAAU,CAAC,WAAW,CAAC,CAAC,CAAC;gBAC5B,OAAO,IAAI,CAAC,UAAU,CAAuB,IAAI,EAAE;oBACjD,IAAI,EAAE,0BAAc,CAAC,OAAO;oBAC5B,GAAG,EAAE,MAAM;oBACX,KAAK,EAAE,IAAI;iBACZ,CAAC,CAAC;YACL,CAAC;YAED,KAAK,UAAU,CAAC,cAAc;gBAC5B,OAAO,IAAI,CAAC,UAAU,CAA0B,IAAI,EAAE;oBACpD,IAAI,EAAE,0BAAc,CAAC,cAAc;iBACpC,CAAC,CAAC;YAEL,KAAK,UAAU,CAAC,iBAAiB;gBAC/B,OAAO,IAAI,CAAC,UAAU,CAA6B,IAAI,EAAE;oBACvD,IAAI,EAAE,0BAAc,CAAC,iBAAiB;iBACvC,CAAC,CAAC;YAEL,MAAM;YAEN,KAAK,UAAU,CAAC,UAAU;gBACxB,OAAO,IAAI,CAAC,UAAU,CAAsB,IAAI,EAAE;oBAChD,IAAI,EAAE,0BAAc,CAAC,UAAU;oBAC/B,QAAQ,EAAE,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,EAAE,CAAC,EAAE,CAAC,IAAI,CAAC,YAAY,CAAC,EAAE,CAAC,CAAC;oBACxD,cAAc,EAAE,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,cAAc,CAAC;oBACtD,cAAc,EAAE,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,cAAc,CAAC;iBACvD,CAAC,CAAC;YAEL,KAAK,UAAU,CAAC,WAAW;gBACzB,OAAO,IAAI,CAAC,UAAU,CAAuB,IAAI,EAAE;oBACjD,IAAI,EAAE,0BAAc,CAAC,WAAW;oBAChC,QAAQ,EAAE,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,EAAE,CAAC,EAAE,CAAC,IAAI,CAAC,YAAY,CAAC,EAAE,CAAC,CAAC;oBACxD,eAAe,EAAE,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,eAAe,CAAC;oBACxD,eAAe,EAAE,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,eAAe,CAAC;iBACzD,CAAC,CAAC;YAEL,KAAK,UAAU,CAAC,qBAAqB,CAAC,CAAC,CAAC;gBACtC,OAAO,IAAI,CAAC,UAAU,CAAsB,IAAI,EAAE;oBAChD,IAAI,EAAE,0BAAc,CAAC,UAAU;oBAC/B;;;uBAGG;oBACH,QAAQ,EAAE,EAAE;oBACZ,cAAc,EAAE,IAAI;oBACpB,cAAc,EAAE,IAAI,CAAC,UAAU,CAA6B,IAAI,EAAE;wBAChE,IAAI,EAAE,0BAAc,CAAC,iBAAiB;wBACtC,KAAK,EAAE,IAAA,qBAAQ,EAAC,IAAI,EAAE,IAAI,CAAC,GAAG,CAAC;wBAC/B,UAAU,EAAE,IAAI,CAAC,UAAU,CAAC,UAAU,CAAC,GAAG,CAAC,EAAE,CAAC,EAAE,CAC9C,IAAI,CAAC,YAAY,CAAC,EAAE,CAAC,CACtB;wBACD,IAAI,EAAE,IAAI,CAAC,iBAAiB,CAAC,IAAI,CAAC,OAAO,EAAE,IAAI,CAAC;wBAChD,WAAW,EAAE,IAAI;wBACjB,aAAa,EAAE,IAAI,CAAC,aAAa;4BAC/B,CAAC,CAAC,IAAI,CAAC,gDAAgD,CACnD,IAAI,CAAC,aAAa,EAClB,IAAI,CACL;4BACH,CAAC,CAAC,SAAS;qBACd,CAAC;iBACH,CAAC,CAAC;YACL,CAAC;YAED,KAAK,UAAU,CAAC,iBAAiB,CAAC,CAAC,CAAC;gBAClC,OAAO,IAAI,CAAC,UAAU,CAA6B,IAAI,EAAE;oBACvD,IAAI,EAAE,0BAAc,CAAC,iBAAiB;oBACtC,UAAU,EAAE,IAAI,CAAC,UAAU,CAAC,UAAU,CAAC,GAAG,CAAC,EAAE,CAAC,EAAE,CAC9C,IAAI,CAAC,YAAY,CAAC,EAAE,CAAC,CACtB;oBACD,IAAI,EAAE,IAAI,CAAC,iBAAiB,CAAC,IAAI,CAAC,OAAO,EAAE,IAAI,CAAC;oBAChD,WAAW,EAAE,KAAK;oBAClB,aAAa,EACX,IAAI,CAAC,aAAa;wBAClB,IAAI,CAAC,gDAAgD,CACnD,IAAI,CAAC,aAAa,EAClB,IAAI,CACL;iBACJ,CAAC,CAAC;YACL,CAAC;YAED,KAAK,UAAU,CAAC,iBAAiB;gBAC/B,OAAO,IAAI,CAAC,UAAU,CAA6B,IAAI,EAAE;oBACvD,IAAI,EAAE,0BAAc,CAAC,iBAAiB;oBACtC,IAAI,EAAE,IAAI,CAAC,iBAAiB,CAAC,IAAI,CAAC,OAAO,EAAE,IAAI,CAAC;iBACjD,CAAC,CAAC;YAEL,KAAK,UAAU,CAAC,kBAAkB;gBAChC,OAAO,IAAI,CAAC,UAAU,CAA8B,IAAI,EAAE;oBACxD,IAAI,EAAE,0BAAc,CAAC,kBAAkB;iBACxC,CAAC,CAAC;YAEL,KAAK,UAAU,CAAC,kBAAkB;gBAChC,OAAO,IAAI,CAAC,UAAU,CAA8B,IAAI,EAAE;oBACxD,IAAI,EAAE,0BAAc,CAAC,kBAAkB;iBACxC,CAAC,CAAC;YAEL,KAAK,UAAU,CAAC,aAAa,CAAC,CAAC,CAAC;gBAC9B,MAAM,UAAU,GAAG,IAAI,CAAC,UAAU;oBAChC,CAAC,CAAC,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,UAAU,CAAC;oBACpC,CAAC,CAAC,IAAI,CAAC,UAAU,CAA8B,IAAI,EAAE;wBACjD,IAAI,EAAE,0BAAc,CAAC,kBAAkB;wBACvC,KAAK,EAAE,CAAC,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,GAAG,CAAC,GAAG,CAAC,EAAE,IAAI,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;qBACxD,CAAC,CAAC;gBAEP,IAAI,IAAI,CAAC,cAAc,EAAE,CAAC;oBACxB,OAAO,IAAI,CAAC,UAAU,CAA0B,IAAI,EAAE;wBACpD,IAAI,EAAE,0BAAc,CAAC,cAAc;wBACnC,UAAU;qBACX,CAAC,CAAC;gBACL,CAAC;gBACD,OAAO,IAAI,CAAC,UAAU,CAAkC,IAAI,EAAE;oBAC5D,IAAI,EAAE,0BAAc,CAAC,sBAAsB;oBAC3C,UAAU;iBACX,CAAC,CAAC;YACL,CAAC;YAED,KAAK,UAAU,CAAC,YAAY,CAAC,CAAC,CAAC;gBAC7B,OAAO,IAAI,CAAC,UAAU,CAAwB,IAAI,EAAE;oBAClD,IAAI,EAAE,0BAAc,CAAC,YAAY;oBACjC,IAAI,EAAE,IAAI,CAAC,+BAA+B,CAAC,IAAI,CAAC,IAAI,CAAC;oBACrD,KAAK,EAAE,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,WAAW,CAAC;iBAC3C,CAAC,CAAC;YACL,CAAC;YAED,KAAK,UAAU,CAAC,OAAO,CAAC,CAAC,CAAC;gBACxB,MAAM,KAAK,GAAG,IAAI,CAAC,YAAY,EAAE,CAAC;gBAClC,MAAM,GAAG,GAAG,IAAI,CAAC,MAAM,EAAE,CAAC;gBAC1B,MAAM,IAAI,GAAG,IAAI,CAAC,GAAG,CAAC,IAAI,CAAC,KAAK,CAAC,KAAK,EAAE,GAAG,CAAC,CAAC;gBAE7C,OAAO,IAAI,CAAC,UAAU,CAAmB,IAAI,EAAE;oBAC7C,IAAI,EAAE,0BAAc,CAAC,OAAO;oBAC5B,KAAK,EAAE,CAAC,KAAK,EAAE,GAAG,CAAC;oBACnB,GAAG,EAAE,IAAI;oBACT,KAAK,EAAE,IAAA,sCAAyB,EAAC,IAAI,CAAC;iBACvC,CAAC,CAAC;YACL,CAAC;YAED,KAAK,UAAU,CAAC,kBAAkB;gBAChC,OAAO,IAAI,CAAC,UAAU,CAA8B,IAAI,EAAE;oBACxD,IAAI,EAAE,0BAAc,CAAC,kBAAkB;oBACvC,QAAQ,EAAE,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,UAAU,CAAC;iBAC7C,CAAC,CAAC;YAEL,KAAK,UAAU,CAAC,aAAa,CAAC,CAAC,CAAC;gBAC9B,OAAO,IAAI,CAAC,UAAU,CAA2B,IAAI,EAAE;oBACrD,IAAI,EAAE,0BAAc,CAAC,eAAe;oBACpC,IAAI,EAAE,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,IAAI,CAAC;oBAClC,KAAK,EAAE,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,KAAK,CAAC;iBACrC,CAAC,CAAC;YACL,CAAC;YAED,sBAAsB;YAEtB,KAAK,UAAU,CAAC,aAAa;gBAC3B,OAAO,IAAI,CAAC,UAAU,CAA2B,IAAI,EAAE;oBACrD,IAAI,EAAE,0BAAc,CAAC,eAAe;oBACpC,aAAa,EACX,IAAI,CAAC,aAAa;wBAClB,IAAI,CAAC,gDAAgD,CACnD,IAAI,CAAC,aAAa,EAClB,IAAI,CACL;oBACH,QAAQ,EAAE,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,QAAQ,CAAC;iBAC3C,CAAC,CAAC;YAEL,KAAK,UAAU,CAAC,aAAa,CAAC,CAAC,CAAC;gBAC9B,OAAO,IAAI,CAAC,UAAU,CAA2B,IAAI,EAAE;oBACrD,IAAI,EAAE,0BAAc,CAAC,eAAe;oBACpC,KAAK,EAAE,IAAA,wBAAW,EAAC,UAAU,CAAC,YAAY,EAAE,IAAI,CAAC;oBACjD,UAAU,EAAE,IAAI,CAAC,UAAU,IAAI,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,UAAU,CAAC;oBACjE,OAAO,EAAE,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS;oBACnE,EAAE,EAAE,IAAA,wBAAW,EAAC,UAAU,CAAC,SAAS,EAAE,IAAI,CAAC;oBAC3C,IAAI,EAAE,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,IAAI,CAAC;oBAClC,GAAG,EAAE,IAAA,wBAAW,EAAC,UAAU,CAAC,UAAU,EAAE,IAAI,CAAC;iBAC9C,CAAC,CAAC;YACL,CAAC;YAED,KAAK,UAAU,CAAC,QAAQ;gBACtB,OAAO,IAAI,CAAC,UAAU,CAAsB,IAAI,EAAE;oBAChD,IAAI,EAAE,0BAAc,CAAC,UAAU;iBAChC,CAAC,CAAC;YAEL,KAAK,UAAU,CAAC,UAAU,CAAC;YAC3B,KAAK,UAAU,CAAC,aAAa,CAAC;YAC9B,KAAK,UAAU,CAAC,cAAc,CAAC;YAC/B,KAAK,UAAU,CAAC,YAAY,CAAC;YAC7B,KAAK,UAAU,CAAC,aAAa,CAAC;YAC9B,KAAK,UAAU,CAAC,aAAa,CAAC;YAC9B,KAAK,UAAU,CAAC,aAAa,CAAC;YAC9B,KAAK,UAAU,CAAC,aAAa,CAAC;YAC9B,KAAK,UAAU,CAAC,cAAc,CAAC;YAC/B,KAAK,UAAU,CAAC,WAAW,CAAC;YAC5B,KAAK,UAAU,CAAC,gBAAgB,CAAC;YACjC,KAAK,UAAU,CAAC,gBAAgB,CAAC,CAAC,CAAC;gBACjC,OAAO,IAAI,CAAC,UAAU,CAAM,IAAI,EAAE;oBAChC,IAAI,EAAE,0BAAc,CAAC,KAAK,UAAU,CAAC,IAAI,CAAC,IAAI,CAAC,EAAoB,CAAC;iBACrE,CAAC,CAAC;YACL,CAAC;YAED,KAAK,UAAU,CAAC,iBAAiB,CAAC,CAAC,CAAC;gBAClC,MAAM,MAAM,GAAG,IAAI,CAAC,UAAU,CAA+B,IAAI,EAAE;oBACjE,IAAI,EAAE,0BAAc,CAAC,mBAAmB;oBACxC,UAAU,EAAE,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,UAAU,CAAC;iBAC/C,CAAC,CAAC;gBAEH,OAAO,IAAI,CAAC,sBAAsB,CAAC,MAAM,EAAE,IAAI,CAAC,CAAC;YACnD,CAAC;YAED,KAAK,UAAU,CAAC,WAAW,CAAC,CAAC,CAAC;gBAC5B,OAAO,IAAI,CAAC,UAAU,CAAyB,IAAI,EAAE;oBACnD,IAAI,EAAE,0BAAc,CAAC,aAAa;oBAClC,OAAO,EAAE,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,EAAE,CAAC,EAAE,CAAC,IAAI,CAAC,YAAY,CAAC,EAAE,CAAC,CAAC;iBACvD,CAAC,CAAC;YACL,CAAC;YAED,KAAK,UAAU,CAAC,SAAS,CAAC,CAAC,CAAC;gBAC1B,OAAO,IAAI,CAAC,UAAU,CAAuB,IAAI,EAAE;oBACjD,IAAI,EAAE,0BAAc,CAAC,WAAW;oBAChC,WAAW,EAAE,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,WAAW,CAAC;iBACjD,CAAC,CAAC;YACL,CAAC;YAED,KAAK,UAAU,CAAC,iBAAiB,CAAC,CAAC,CAAC;gBAClC,OAAO,IAAI,CAAC,UAAU,CAA+B,IAAI,EAAE;oBACzD,IAAI,EAAE,0BAAc,CAAC,mBAAmB;oBACxC,SAAS,EAAE,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,SAAS,CAAC;oBAC5C,UAAU,EAAE,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,UAAU,CAAC;iBAC/C,CAAC,CAAC;YACL,CAAC;YAED,KAAK,UAAU,CAAC,eAAe,CAAC,CAAC,CAAC;gBAChC,OAAO,IAAI,CAAC,UAAU,CAA6B,IAAI,EAAE;oBACvD,IAAI,EAAE,0BAAc,CAAC,iBAAiB;oBACtC,SAAS,EAAE,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,SAAS,CAAC;oBAC5C,WAAW,EAAE,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,WAAW,CAAC;oBAChD,SAAS,EAAE,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,SAAS,CAAC;oBAC5C,QAAQ,EAAE,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,QAAQ,CAAC;iBAC3C,CAAC,CAAC;YACL,CAAC;YAED,KAAK,UAAU,CAAC,SAAS;gBACvB,OAAO,IAAI,CAAC,UAAU,CAAuB,IAAI,EAAE;oBACjD,IAAI,EAAE,0BAAc,CAAC,WAAW;oBAChC,QAAQ,EAAE,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,QAAQ,CAAC;oBAC1C,aAAa,EACX,IAAI,CAAC,aAAa;wBAClB,IAAI,CAAC,gDAAgD,CACnD,IAAI,CAAC,aAAa,EAClB,IAAI,CACL;iBACJ,CAAC,CAAC;YAEL,KAAK,UAAU,CAAC,UAAU,CAAC,CAAC,CAAC;gBAC3B,IAAI,IAAI,CAAC,OAAO,IAAI,IAAI,CAAC,OAAO,CAAC,MAAM,GAAG,CAAC,EAAE,CAAC;oBAC5C,IAAI,CAAC,2BAA2B,CAC9B,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,EACf,sDAAsD,CACvD,CAAC;gBACJ,CAAC;gBAED,OAAO,IAAI,CAAC,UAAU,CACpB,IAAI,EACJ,IAAI,CAAC,qBAAqB,CACxB;oBACE,IAAI,EAAE,0BAAc,CAAC,YAAY;oBACjC,UAAU,EAAE,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,aAAa,CAAC,UAAU,CAAC;oBAC5D,GAAG,EAAE,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,aAAa,CAAC,IAAI,CAAC;oBAC/C,QAAQ,EAAE,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,QAAQ,CAAC,IAAI,IAAI;oBAClD,QAAQ,EACN,IAAI,CAAC,aAAa;wBAClB,CAAC,IAAI,CAAC,aAAa,CAAC,IAAI,KAAK,UAAU,CAAC,aAAa;4BACnD,IAAA,gCAAmB,EAAC,IAAI,CAAC,aAAa,CAAC,IAAI,CAAC,CAAC;oBACjD,QAAQ,EACN,IAAI,CAAC,aAAa;wBAClB,CAAC,IAAI,CAAC,aAAa,CAAC,IAAI,KAAK,UAAU,CAAC,eAAe;4BACrD,IAAA,gCAAmB,EAAC,IAAI,CAAC,aAAa,CAAC,IAAI,CAAC,CAAC;oBACjD,cAAc,EAAE,IAAI,CAAC,IAAI,IAAI,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,IAAI,CAAC;iBAC1D,EACD,eAAe,EACf,wBAAwB,EACxB,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,aAAa,CAAC,CACtC,CACF,CAAC;YACJ,CAAC;YAED,KAAK,UAAU,CAAC,uBAAuB;gBACrC,OAAO,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,UAAU,EAAE,MAAM,CAAC,CAAC;YAEpD,KAAK,UAAU,CAAC,oBAAoB,CAAC,CAAC,CAAC;gBACrC,MAAM,MAAM,GAAG,IAAI,CAAC,UAAU,CAAkC,IAAI,EAAE;oBACpE,IAAI,EAAE,0BAAc,CAAC,sBAAsB;oBAC3C,OAAO,EAAE,IAAA,wBAAW,EAAC,UAAU,CAAC,cAAc,EAAE,IAAI,CAAC;oBACrD,EAAE,EAAE,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,IAAI,CAAC;oBAChC,cAAc,EAAE,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,IAAI,CAAC;oBAC5C,cAAc,EACZ,IAAI,CAAC,cAAc;wBACnB,IAAI,CAAC,kDAAkD,CACrD,IAAI,CAAC,cAAc,CACpB;iBACJ,CAAC,CAAC;gBAEH,OAAO,IAAI,CAAC,UAAU,CAAC,IAAI,EAAE,MAAM,CAAC,CAAC;YACvC,CAAC;YAED,KAAK,UAAU,CAAC,eAAe,CAAC,CAAC,CAAC;gBAChC,OAAO,IAAI,CAAC,sBAAsB,CAAC,IAAI,CAAC,CAAC;YAC3C,CAAC;YAED,KAAK,UAAU,CAAC,iBAAiB,CAAC,CAAC,CAAC;gBAClC,4DAA4D;gBAC5D,MAAM,EAAE,WAAW,EAAE,GAAG,IAAI,CAAC;gBAC7B,IAAI,WAAW,EAAE,CAAC;oBAChB,IAAI,CAAC,WAAW,CACd,WAAW,EACX,kDAAkD,CACnD,CAAC;gBACJ,CAAC;gBAED,OAAO,IAAI,CAAC,UAAU,CAA+B,IAAI,EAAE;oBACzD,IAAI,EAAE,0BAAc,CAAC,mBAAmB;oBACxC,aAAa,EAAE,IAAA,mCAAsB,EAAC,IAAI,CAAC;oBAC3C,QAAQ,EAAE,IAAA,+BAAkB,EAAC,IAAI,CAAC,IAAI,CAAC;oBACvC,GAAG,EAAE,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,IAAI,CAAC;oBACjC,QAAQ,EAAE,IAAA,uBAAU,EAAC,IAAI,CAAC;oBAC1B,QAAQ,EAAE,IAAA,wBAAW,EAAC,UAAU,CAAC,eAAe,EAAE,IAAI,CAAC;oBACvD,MAAM,EAAE,IAAA,wBAAW,EAAC,UAAU,CAAC,aAAa,EAAE,IAAI,CAAC;oBACnD,cAAc,EACZ,IAAI,CAAC,IAAI,IAAI,IAAI,CAAC,qBAAqB,CAAC,IAAI,CAAC,IAAI,EAAE,IAAI,CAAC;iBAC3D,CAAC,CAAC;YACL,CAAC;YAED,KAAK,UAAU,CAAC,cAAc,CAAC,CAAC,CAAC;gBAC/B,OAAO,IAAI,CAAC,UAAU,CAA4B,IAAI,EAAE;oBACtD,IAAI,EAAE,0BAAc,CAAC,gBAAgB;oBACrC,aAAa,EAAE,IAAA,mCAAsB,EAAC,IAAI,CAAC;oBAC3C,UAAU,EAAE,IAAI,CAAC,UAAU,CAAC,GAAG,CAAC,EAAE,CAAC,EAAE,CAAC,IAAI,CAAC,YAAY,CAAC,EAAE,CAAC,CAAC;oBAC5D,QAAQ,EAAE,IAAA,wBAAW,EAAC,UAAU,CAAC,eAAe,EAAE,IAAI,CAAC;oBACvD,MAAM,EAAE,IAAA,wBAAW,EAAC,UAAU,CAAC,aAAa,EAAE,IAAI,CAAC;oBACnD,cAAc,EACZ,IAAI,CAAC,IAAI,IAAI,IAAI,CAAC,qBAAqB,CAAC,IAAI,CAAC,IAAI,EAAE,IAAI,CAAC;iBAC3D,CAAC,CAAC;YACL,CAAC;YAED,KAAK,UAAU,CAAC,eAAe,CAAC,CAAC,CAAC;gBAChC,OAAO,IAAI,CAAC,UAAU,CAA6B,IAAI,EAAE;oBACvD,IAAI,EAAE,0BAAc,CAAC,iBAAiB;oBACtC,QAAQ,EAAE,IAAA,wBAAW,EAAC,UAAU,CAAC,eAAe,EAAE,IAAI,CAAC;oBACvD,MAAM,EAAE,IAAI,CAAC,iBAAiB,CAAC,IAAI,CAAC,UAAU,CAAC;oBAC/C,UAAU,EAAE,IAAI,CAAC,IAAI,IAAI,IAAI,CAAC,qBAAqB,CAAC,IAAI,CAAC,IAAI,EAAE,IAAI,CAAC;oBACpE,cAAc,EACZ,IAAI,CAAC,cAAc;wBACnB,IAAI,CAAC,kDAAkD,CACrD,IAAI,CAAC,cAAc,CACpB;iBACJ,CAAC,CAAC;YACL,CAAC;YAED,KAAK,UAAU,CAAC,YAAY,CAAC,CAAC,CAAC;gBAC7B,4DAA4D;gBAC5D,MAAM,EAAE,SAAS,EAAE,GAAG,IAAI,CAAC;gBAC3B,IAAI,SAAS,EAAE,CAAC;oBACd,IAAI,CAAC,WAAW,CACd,SAAS,CAAC,CAAC,CAAC,EACZ,wCAAwC,CACzC,CAAC;gBACJ,CAAC;YACH,CAAC;YACD,0BAA0B;YAC1B,KAAK,UAAU,CAAC,kBAAkB,CAAC;YACnC,KAAK,UAAU,CAAC,aAAa,CAAC,CAAC,CAAC;gBAC9B,MAAM,IAAI,GACR,IAAI,CAAC,IAAI,KAAK,UAAU,CAAC,kBAAkB;oBACzC,CAAC,CAAC,0BAAc,CAAC,+BAA+B;oBAChD,CAAC,CAAC,IAAI,CAAC,IAAI,KAAK,UAAU,CAAC,aAAa;wBACtC,CAAC,CAAC,0BAAc,CAAC,0BAA0B;wBAC3C,CAAC,CAAC,0BAAc,CAAC,cAAc,CAAC;gBAEtC,OAAO,IAAI,CAAC,UAAU,CAIpB,IAAI,EAAE;oBACN,IAAI;oBACJ,MAAM,EAAE,IAAI,CAAC,iBAAiB,CAAC,IAAI,CAAC,UAAU,CAAC;oBAC/C,UAAU,EAAE,IAAI,CAAC,IAAI,IAAI,IAAI,CAAC,qBAAqB,CAAC,IAAI,CAAC,IAAI,EAAE,IAAI,CAAC;oBACpE,cAAc,EACZ,IAAI,CAAC,cAAc;wBACnB,IAAI,CAAC,kDAAkD,CACrD,IAAI,CAAC,cAAc,CACpB;iBACJ,CAAC,CAAC;YACL,CAAC;YAED,KAAK,UAAU,CAAC,2BAA2B,CAAC,CAAC,CAAC;gBAC5C,MAAM,UAAU,GAAG,MAAM,CAAC,IAAI,CAAC;gBAC/B,MAAM,IAAI,GACR,UAAU,KAAK,UAAU,CAAC,oBAAoB;oBAC5C,CAAC,CAAC,0BAAc,CAAC,mBAAmB;oBACpC,CAAC,CAAC,UAAU,KAAK,UAAU,CAAC,cAAc;wBACxC,CAAC,CAAC,0BAAc,CAAC,iBAAiB;wBAClC,CAAC,CAAC,0BAAc,CAAC,yBAAyB,CAAC;gBAEjD,OAAO,IAAI,CAAC,UAAU,CAIpB,IAAI,EAAE;oBACN,IAAI;oBACJ,UAAU,EAAE,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,UAAU,CAAC;oBAC9C,aAAa,EACX,IAAI,CAAC,aAAa;wBAClB,IAAI,CAAC,gDAAgD,CACnD,IAAI,CAAC,aAAa,EAClB,IAAI,CACL;iBACJ,CAAC,CAAC;YACL,CAAC;YAED,KAAK,UAAU,CAAC,oBAAoB,CAAC,CAAC,CAAC;gBACrC,MAAM,wBAAwB,GAAG,IAAI,CAAC,eAAe,IAAI,EAAE,CAAC;gBAC5D,MAAM,gBAAgB,GAAmC,EAAE,CAAC;gBAE5D,KAAK,MAAM,cAAc,IAAI,wBAAwB,EAAE,CAAC;oBACtD,IAAI,cAAc,CAAC,KAAK,KAAK,UAAU,CAAC,cAAc,EAAE,CAAC;wBACvD,IAAI,CAAC,WAAW,CACd,cAAc,EACd,cAAc,CAAC,KAAK,KAAK,UAAU,CAAC,iBAAiB;4BACnD,CAAC,CAAC,wDAAwD;4BAC1D,CAAC,CAAC,mBAAmB,CACxB,CAAC;oBACJ,CAAC;oBAED,KAAK,MAAM,YAAY,IAAI,cAAc,CAAC,KAAK,EAAE,CAAC;wBAChD,gBAAgB,CAAC,IAAI,CACnB,IAAI,CAAC,YAAY,CACf,YAAY,EACZ,IAAI,CAC2B,CAClC,CAAC;oBACJ,CAAC;gBACH,CAAC;gBAED,MAAM,MAAM,GAAG,IAAI,CAAC,UAAU,CAAkC,IAAI,EAAE;oBACpE,IAAI,EAAE,0BAAc,CAAC,sBAAsB;oBAC3C,IAAI,EAAE,IAAI,CAAC,UAAU,CAA2B,IAAI,EAAE;wBACpD,IAAI,EAAE,0BAAc,CAAC,eAAe;wBACpC,KAAK,EAAE,CAAC,IAAI,CAAC,OAAO,CAAC,GAAG,GAAG,CAAC,EAAE,IAAI,CAAC,GAAG,CAAC;wBACvC,IAAI,EAAE,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,EAAE,CAAC,IAAI,CAAC,YAAY,CAAC,MAAM,CAAC,CAAC;qBAC5D,CAAC;oBACF,OAAO,EAAE,IAAA,wBAAW,EAAC,UAAU,CAAC,cAAc,EAAE,IAAI,CAAC;oBACrD,OAAO,EAAE,gBAAgB;oBACzB,EAAE,EAAE,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,IAAI,CAAC;oBAChC,cAAc,EACZ,IAAI,CAAC,cAAc;wBACnB,IAAI,CAAC,kDAAkD,CACrD,IAAI,CAAC,cAAc,CACpB;iBACJ,CAAC,CAAC;gBAEH,OAAO,IAAI,CAAC,UAAU,CAAC,IAAI,EAAE,MAAM,CAAC,CAAC;YACvC,CAAC;YAED,KAAK,UAAU,CAAC,aAAa,CAAC,CAAC,CAAC;gBAC9B,MAAM,MAAM,GAAG,IAAI,CAAC,UAAU,CAA2B,IAAI,EAAE;oBAC7D,IAAI,EAAE,0BAAc,CAAC,eAAe;oBACpC,OAAO,EAAE,IAAI,CAAC,eAAe,KAAK,SAAS;oBAC3C,aAAa,EAAE,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,aAAa,CAAC;oBACpD,cAAc,EAAE,IAAI;iBACrB,CAAC,CAAC;gBACH;;mBAEG;gBACH,IAAI,IAAI,CAAC,IAAI,EAAE,CAAC;oBACd,MAAM,CAAC,cAAc,GAAG,IAAI,CAAC,qBAAqB,CAAC,IAAI,CAAC,IAAI,EAAE,IAAI,CAAC,CAAC;oBACpE,MAAM,CAAC,cAAc,CAAC,GAAG,GAAG,MAAM,CAAC,cAAc,CAAC,cAAc,CAAC,GAAG,CAAC;oBACrE,MAAM,CAAC,cAAc,CAAC,KAAK;wBACzB,MAAM,CAAC,cAAc,CAAC,cAAc,CAAC,KAAK,CAAC;gBAC/C,CAAC;gBACD,OAAO,MAAM,CAAC;YAChB,CAAC;YAED,KAAK,UAAU,CAAC,UAAU,CAAC,CAAC,CAAC;gBAC3B,MAAM,KAAK,GAAG,IAAA,qBAAQ,EAAC,IAAI,EAAE,IAAI,CAAC,GAAG,CAAC,CAAC;gBACvC,IAAI,IAAI,CAAC,QAAQ,EAAE,CAAC;oBAClB,MAAM,KAAK,GAAG,IAAA,0BAAa,EAAC,IAAI,CAAC,aAAa,EAAG,EAAE,IAAI,EAAE,IAAI,CAAC,GAAG,CAAE,CAAC;oBACpE,KAAK,CAAC,CAAC,CAAC,GAAG,KAAK,CAAC,QAAQ,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;gBACtC,CAAC;gBACD,MAAM,MAAM,GAAG,IAAI,CAAC,UAAU,CAAwB,IAAI,EAAE;oBAC1D,IAAI,EAAE,0BAAc,CAAC,YAAY;oBACjC,KAAK;oBACL,QAAQ,EAAE,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,QAAQ,CAAC;oBAC1C,SAAS,EAAE,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,SAAS,CAAC;oBAC5C,aAAa,EAAE,IAAI,CAAC,aAAa;wBAC/B,CAAC,CAAC,IAAI,CAAC,gDAAgD,CACnD,IAAI,CAAC,aAAa,EAClB,IAAI,CACL;wBACH,CAAC,CAAC,IAAI;iBACT,CAAC,CAAC;gBAEH,IAAI,IAAI,CAAC,QAAQ,EAAE,CAAC;oBAClB,OAAO,IAAI,CAAC,UAAU,CAAuB,IAAI,EAAE;wBACjD,IAAI,EAAE,0BAAc,CAAC,WAAW;wBAChC,QAAQ,EAAE,MAAM;wBAChB,aAAa,EAAE,SAAS;qBACzB,CAAC,CAAC;gBACL,CAAC;gBACD,OAAO,MAAM,CAAC;YAChB,CAAC;YAED,KAAK,UAAU,CAAC,eAAe,CAAC,CAAC,CAAC;gBAChC,MAAM,OAAO,GAAG,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,EAAE,CAAC,EAAE,CAAC,IAAI,CAAC,YAAY,CAAC,EAAE,CAAC,CAAC,CAAC;gBAC9D,MAAM,MAAM,GAAG,IAAI,CAAC,UAAU,CAC5B,IAAI,EACJ,IAAI,CAAC,qBAAqB,CACxB;oBACE,IAAI,EAAE,0BAAc,CAAC,iBAAiB;oBACtC,IAAI,EAAE,IAAI,CAAC,UAAU,CAAsB,IAAI,EAAE;wBAC/C,IAAI,EAAE,0BAAc,CAAC,UAAU;wBAC/B,KAAK,EAAE,CAAC,IAAI,CAAC,OAAO,CAAC,GAAG,GAAG,CAAC,EAAE,IAAI,CAAC,GAAG,CAAC;wBACvC,OAAO;qBACR,CAAC;oBACF,KAAK,EAAE,IAAA,wBAAW,EAAC,UAAU,CAAC,YAAY,EAAE,IAAI,CAAC;oBACjD,OAAO,EAAE,IAAA,wBAAW,EAAC,UAAU,CAAC,cAAc,EAAE,IAAI,CAAC;oBACrD,EAAE,EAAE,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,IAAI,CAAC;iBACjC,EACD,SAAS,EACT,gBAAgB,EAChB,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,EAAE,CAAC,EAAE,CAAC,IAAI,CAAC,YAAY,CAAC,EAAE,CAAC,CAAC,CAC9C,CACF,CAAC;gBAEF,OAAO,IAAI,CAAC,UAAU,CAAC,IAAI,EAAE,MAAM,CAAC,CAAC;YACvC,CAAC;YAED,KAAK,UAAU,CAAC,UAAU,CAAC,CAAC,CAAC;gBAC3B,OAAO,IAAI,CAAC,UAAU,CAAwB,IAAI,EAAE;oBAClD,IAAI,EAAE,0BAAc,CAAC,YAAY;oBACjC,QAAQ,EAAE,IAAI,CAAC,IAAI,CAAC,IAAI,KAAK,EAAE,CAAC,UAAU,CAAC,oBAAoB;oBAC/D,EAAE,EAAE,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,IAAI,CAAC;oBAChC,WAAW,EAAE,IAAI,CAAC,WAAW,IAAI,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,WAAW,CAAC;iBACrE,CAAC,CAAC;YACL,CAAC;YAED,KAAK,UAAU,CAAC,iBAAiB,CAAC,CAAC,CAAC;gBAClC,IAAI,SAAS,GAAG,IAAA,wBAAW,EAAC,UAAU,CAAC,cAAc,EAAE,IAAI,CAAC,CAAC;gBAE7D,MAAM,MAAM,GAAG,IAAI,CAAC,UAAU,CAA+B,IAAI,EAAE;oBACjE,IAAI,EAAE,0BAAc,CAAC,mBAAmB;oBACxC,GAAG,CAAC,GAEF,EAAE;wBACF,4EAA4E;wBAC5E,0CAA0C;wBAE1C,IAAI,IAAI,CAAC,KAAK,GAAG,EAAE,CAAC,SAAS,CAAC,kBAAkB,EAAE,CAAC;4BACjD,MAAM,EAAE,GACN,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;4BAC/B,MAAM,IAAI,GAGC,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;4BAExC,IACE,IAAI,IAAI,IAAI;gCACZ,IAAI,CAAC,IAAI,KAAK,0BAAc,CAAC,mBAAmB,EAChD,CAAC;gCACD,IAAI,CAAC,2BAA2B,CAC9B,IAAI,CAAC,IAAI,IAAI,IAAI,EACjB,8BAA8B,CAC/B,CAAC;4BACJ,CAAC;4BACD,IAAI,EAAE,CAAC,IAAI,KAAK,0BAAc,CAAC,UAAU,EAAE,CAAC;gCAC1C,IAAI,CAAC,2BAA2B,CAC9B,IAAI,CAAC,IAAI,EACT,uDAAuD,CACxD,CAAC;4BACJ,CAAC;4BACD,OAAO;gCACL,IAAI,EAAE,IAA8B;gCACpC,OAAO,EAAE,KAAK;gCACd,MAAM,EAAE,KAAK;gCACb,EAAE;gCACF,IAAI,EAAE,QAAQ;6BACf,CAAC;wBACJ,CAAC;wBAED,IAAI,CAAC,CAAC,IAAI,CAAC,KAAK,GAAG,EAAE,CAAC,SAAS,CAAC,SAAS,CAAC,EAAE,CAAC;4BAC3C,MAAM,IAAI,GAAkC,IAAI,CAAC,YAAY,CAC3D,IAAI,CAAC,IAAI,CACV,CAAC;4BACF,OAAO;gCACL,IAAI,EAAE,QAAQ;gCACd,GAAG,CAAC,IAAI,IAAI,IAAI,CAAC,CAAC,CAAC,EAAE,IAAI,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC;gCACjC,OAAO,EAAE,KAAK;gCACd,MAAM,EAAE,KAAK;gCACb,EAAE,EAAE,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,IAAI,CAAC;6BACjC,CAAC;wBACJ,CAAC;wBAED,4EAA4E;wBAC5E,mEAAmE;wBACnE,0DAA0D;wBAE1D,IAAI,IAAI,CAAC,IAAI,IAAI,IAAI,EAAE,CAAC;4BACtB,IAAI,CAAC,2BAA2B,CAAC,IAAI,EAAE,wBAAwB,CAAC,CAAC;wBACnE,CAAC;wBACD,IAAI,IAAI,CAAC,IAAI,CAAC,IAAI,KAAK,EAAE,CAAC,UAAU,CAAC,UAAU,EAAE,CAAC;4BAChD,IAAI,CAAC,2BAA2B,CAC9B,IAAI,CAAC,IAAI,EACT,yCAAyC,CAC1C,CAAC;wBACJ,CAAC;wBAED,IAAI,IAAI,GACN,IAAI,CAAC,UAAU,CAAsB,IAAI,CAAC,IAAI,EAAE;4BAC9C,IAAI,EAAE,0BAAc,CAAC,UAAU;4BAC/B,KAAK,EAAE,CAAC,IAAI,CAAC,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,GAAG,CAAC,EAAE,IAAI,CAAC,IAAI,CAAC,MAAM,EAAE,CAAC;4BACzD,UAAU,EAAE,EAAE;4BACd,IAAI,EAAE,IAAI,CAAC,IAAI,CAAC,IAAI;4BACpB,QAAQ,EAAE,KAAK;4BACf,cAAc,EAAE,SAAS;yBAC1B,CAAC,CAAC;wBAEL,OACE,IAAI,CAAC,IAAI;4BACT,EAAE,CAAC,mBAAmB,CAAC,IAAI,CAAC,IAAI,CAAC;4BACjC,IAAI,CAAC,IAAI,CAAC,IAAI,EACd,CAAC;4BACD,IAAI,GAAG,IAAI,CAAC,IAAI,CAAC;4BACjB,SAAS,KAAK,IAAA,wBAAW,EAAC,UAAU,CAAC,cAAc,EAAE,IAAI,CAAC,CAAC;4BAE3D,MAAM,QAAQ,GAAG,IAAI,CAAC,IAAqB,CAAC;4BAE5C,MAAM,KAAK,GAAG,IAAI,CAAC,UAAU,CAAsB,QAAQ,EAAE;gCAC3D,IAAI,EAAE,0BAAc,CAAC,UAAU;gCAC/B,KAAK,EAAE,CAAC,QAAQ,CAAC,QAAQ,CAAC,IAAI,CAAC,GAAG,CAAC,EAAE,QAAQ,CAAC,MAAM,EAAE,CAAC;gCACvD,UAAU,EAAE,EAAE;gCACd,IAAI,EAAE,QAAQ,CAAC,IAAI;gCACnB,QAAQ,EAAE,KAAK;gCACf,cAAc,EAAE,SAAS;6BAC1B,CAAC,CAAC;4BAEH,IAAI,GAAG,IAAI,CAAC,UAAU,CAA2B,QAAQ,EAAE;gCACzD,IAAI,EAAE,0BAAc,CAAC,eAAe;gCACpC,KAAK,EAAE,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,KAAK,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC;gCACtC,IAAI,EAAE,IAAI;gCACV,KAAK;6BACN,CAAC,CAAC;wBACL,CAAC;wBAED,OAAO;4BACL,IAAI,EAAE,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,IAAI,CAAC;4BAClC,OAAO,EAAE,KAAK;4BACd,MAAM,EAAE,KAAK;4BACb,EAAE,EAAE,IAAI;4BACR,IAAI,EAAE,WAAW;yBAClB,CAAC;oBACJ,CAAC,CAAC,EAAE;iBACL,CAAC,CAAC;gBAEH,MAAM,CAAC,OAAO,GAAG,SAAS,CAAC;gBAE3B,IAAI,IAAI,CAAC,KAAK,GAAG,EAAE,CAAC,SAAS,CAAC,kBAAkB,EAAE,CAAC;oBACjD,4DAA4D;oBAC5D,MAAM,CAAC,MAAM,GAAG,IAAI,CAAC;gBACvB,CAAC;gBAED,OAAO,IAAI,CAAC,UAAU,CAAC,IAAI,EAAE,MAAM,CAAC,CAAC;YACvC,CAAC;YAED,4BAA4B;YAC5B,KAAK,UAAU,CAAC,iBAAiB,CAAC,CAAC,CAAC;gBAClC,OAAO,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;YACtC,CAAC;YACD,KAAK,UAAU,CAAC,SAAS,CAAC,CAAC,CAAC;gBAC1B,OAAO,IAAI,CAAC,UAAU,CAAuB,IAAI,EAAE;oBACjD,IAAI,EAAE,0BAAc,CAAC,WAAW;oBAChC,KAAK,EAAE,IAAI,CAAC,KAAK,CAAC,GAAG,CAAC,EAAE,CAAC,EAAE,CAAC,IAAI,CAAC,YAAY,CAAC,EAAE,CAAC,CAAC;iBACnD,CAAC,CAAC;YACL,CAAC;YACD,KAAK,UAAU,CAAC,gBAAgB,CAAC,CAAC,CAAC;gBACjC,OAAO,IAAI,CAAC,UAAU,CAA8B,IAAI,EAAE;oBACxD,IAAI,EAAE,0BAAc,CAAC,kBAAkB;oBACvC,KAAK,EAAE,IAAI,CAAC,KAAK,CAAC,GAAG,CAAC,EAAE,CAAC,EAAE,CAAC,IAAI,CAAC,YAAY,CAAC,EAAE,CAAC,CAAC;iBACnD,CAAC,CAAC;YACL,CAAC;YACD,KAAK,UAAU,CAAC,YAAY,CAAC,CAAC,CAAC;gBAC7B,OAAO,IAAI,CAAC,UAAU,CAA0B,IAAI,EAAE;oBACpD,IAAI,EAAE,0BAAc,CAAC,cAAc;oBACnC,UAAU,EAAE,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,UAAU,CAAC;oBAC9C,cAAc,EAAE,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,IAAI,CAAC;iBAC7C,CAAC,CAAC;YACL,CAAC;YACD,KAAK,UAAU,CAAC,SAAS,CAAC,CAAC,CAAC;gBAC1B,OAAO,IAAI,CAAC,UAAU,CAAuB,IAAI,EAAE;oBACjD,IAAI,EAAE,0BAAc,CAAC,WAAW;oBAChC,aAAa,EAAE,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,aAAa,CAAC;iBACrD,CAAC,CAAC;YACL,CAAC;YACD,KAAK,UAAU,CAAC,WAAW,CAAC,CAAC,CAAC;gBAC5B,IAAI,IAAI,CAAC,OAAO,CAAC,IAAI,KAAK,UAAU,CAAC,WAAW,EAAE,CAAC;oBACjD,2DAA2D;oBAC3D,qEAAqE;oBACrE,OAAO,IAAI,CAAC,UAAU,CACpB,IAAI,CAAC,OAAyB,EAC9B;wBACE,IAAI,EAAE,0BAAc,CAAC,aAAa;qBACnC,CACF,CAAC;gBACJ,CAAC;gBAED,OAAO,IAAI,CAAC,UAAU,CAAyB,IAAI,EAAE;oBACnD,IAAI,EAAE,0BAAc,CAAC,aAAa;oBAClC,OAAO,EAAE,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,OAAO,CAAC;iBACzC,CAAC,CAAC;YACL,CAAC;YACD,KAAK,UAAU,CAAC,uBAAuB,CAAC,CAAC,CAAC;gBACxC,OAAO,IAAI,CAAC,UAAU,CAA2B,IAAI,EAAE;oBACrD,IAAI,EAAE,0BAAc,CAAC,eAAe;oBACpC,UAAU,EAAE,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,UAAU,CAAC;oBAC9C,cAAc,EAAE,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,IAAI,CAAC;iBAC7C,CAAC,CAAC;YACL,CAAC;YACD,KAAK,UAAU,CAAC,uBAAuB,CAAC,CAAC,CAAC;gBACxC,OAAO,IAAI,CAAC,UAAU,CACpB,IAAI,EACJ,IAAI,CAAC,UAAU,CAAqC,IAAI,EAAE;oBACxD,IAAI,EAAE,0BAAc,CAAC,yBAAyB;oBAC9C,EAAE,EAAE,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,IAAI,CAAC;oBAChC,UAAU,EAAE,IAAI,CAAC,UAAU,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,OAAO;oBAC9C,eAAe,EAAE,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,eAAe,CAAC;iBACzD,CAAC,CACH,CAAC;YACJ,CAAC;YACD,KAAK,UAAU,CAAC,uBAAuB,CAAC,CAAC,CAAC;gBACxC,IAAI,IAAI,CAAC,UAAU,CAAC,IAAI,KAAK,UAAU,CAAC,aAAa,EAAE,CAAC;oBACtD,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC,UAAU,EAAE,0BAA0B,CAAC,CAAC;gBAChE,CAAC;gBACD,OAAO,IAAI,CAAC,UAAU,CAAqC,IAAI,EAAE;oBAC/D,IAAI,EAAE,0BAAc,CAAC,yBAAyB;oBAC9C,UAAU,EAAE,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,UAAU,CAAC;iBAC/C,CAAC,CAAC;YACL,CAAC;YACD,KAAK,UAAU,CAAC,0BAA0B,CAAC,CAAC,CAAC;gBAC3C,OAAO,IAAI,CAAC,UAAU,CAAwC,IAAI,EAAE;oBAClE,IAAI,EAAE,0BAAc,CAAC,4BAA4B;oBACjD,EAAE,EAAE,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,IAAI,CAAC;iBACjC,CAAC,CAAC;YACL,CAAC;YACD,KAAK,UAAU,CAAC,eAAe,CAAC,CAAC,CAAC;gBAChC,OAAO,IAAI,CAAC,UAAU,CAA6B,IAAI,EAAE;oBACvD,IAAI,EAAE,0BAAc,CAAC,iBAAiB;iBACvC,CAAC,CAAC;YACL,CAAC;YAED,QAAQ;YACR,KAAK,UAAU,CAAC,SAAS,CAAC,CAAC,CAAC;gBAC1B,MAAM,YAAY,GAAG,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,EAAE,CAAC,EAAE,CAAC,IAAI,CAAC,YAAY,CAAC,EAAE,CAAC,CAAC,CAAC;gBAEpE,OAAO,IAAI,CAAC,UAAU,CAAuB,IAAI,EAAE;oBACjD,IAAI,EAAE,0BAAc,CAAC,WAAW;oBAChC,YAAY;iBACb,CAAC,CAAC;YACL,CAAC;YACD,KAAK,UAAU,CAAC,gBAAgB,CAAC,CAAC,CAAC;gBACjC,MAAM,MAAM,GAAG,IAAI,CAAC,UAAU,CAA8B,IAAI,EAAE;oBAChE,IAAI,EAAE,0BAAc,CAAC,kBAAkB;oBACvC,WAAW,EAAE,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,IAAI,EAAE,IAAI,CAAC;oBAC/C,KAAK,EAAE,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,IAAI,EAAE,IAAI,CAAC;oBACzC,QAAQ,EAAE,IAAI,CAAC,aAAa,IAAI,IAAI;iBACrC,CAAC,CAAC;gBAEH,IAAI,IAAI,CAAC,cAAc,EAAE,CAAC;oBACxB,4CAA4C;oBAC5C,MAAM,CAAC,KAAK,CAAC,CAAC,CAAC,GAAG,MAAM,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC;oBACxC,MAAM,CAAC,GAAG,CAAC,KAAK,GAAG,MAAM,CAAC,KAAK,CAAC,GAAG,CAAC,KAAK,CAAC;oBAC1C,OAAO,IAAI,CAAC,UAAU,CAAsB,IAAI,EAAE;wBAChD,IAAI,EAAE,0BAAc,CAAC,UAAU;wBAC/B,cAAc,EAAE,MAAM;qBACvB,CAAC,CAAC;gBACL,CAAC;gBAED,OAAO,MAAM,CAAC;YAChB,CAAC;YACD,KAAK,UAAU,CAAC,YAAY,CAAC,CAAC,CAAC;gBAC7B,OAAO,IAAI,CAAC,UAAU,CAA0B,IAAI,EAAE;oBACpD,IAAI,EAAE,0BAAc,CAAC,cAAc;oBACnC,cAAc,EAAE,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,IAAI,CAAC;iBAC7C,CAAC,CAAC;YACL,CAAC;YACD,KAAK,UAAU,CAAC,QAAQ,CAAC,CAAC,CAAC;gBACzB,OAAO,IAAI,CAAC,UAAU,CAAsB,IAAI,EAAE;oBAChD,IAAI,EAAE,0BAAc,CAAC,UAAU;oBAC/B,cAAc,EAAE,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,IAAI,CAAC;iBAC7C,CAAC,CAAC;YACL,CAAC;YAED,yBAAyB;YACzB,KAAK,UAAU,CAAC,mBAAmB,CAAC,CAAC,CAAC;gBACpC,MAAM,MAAM,GAAG,IAAI,CAAC,UAAU,CAAiC,IAAI,EAAE;oBACnE,IAAI,EAAE,0BAAc,CAAC,qBAAqB;oBAC1C,MAAM,EAAE,CAAC,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;oBACtC,KAAK,EAAE,EAAE;iBACV,CAAC,CAAC;gBAEH,IAAI,CAAC,aAAa,CAAC,OAAO,CAAC,YAAY,CAAC,EAAE;oBACxC,MAAM,CAAC,KAAK,CAAC,IAAI,CACf,IAAI,CAAC,YAAY,CAAC,YAAY,CAAC,IAAI,CAAsB,CAC1D,CAAC;oBACF,MAAM,CAAC,MAAM,CAAC,IAAI,CAChB,IAAI,CAAC,YAAY,CAAC,YAAY,CAAC,OAAO,CAA6B,CACpE,CAAC;gBACJ,CAAC,CAAC,CAAC;gBACH,OAAO,MAAM,CAAC;YAChB,CAAC;YAED,KAAK,UAAU,CAAC,2BAA2B,CAAC,CAAC,CAAC;gBAC5C,OAAO,IAAI,CAAC,UAAU,CAAuB,IAAI,EAAE;oBACjD,IAAI,EAAE,0BAAc,CAAC,WAAW;oBAChC,IAAI,EAAE,IAAI,CAAC,sBAAsB,CAAC,IAAI,CAAC,IAAI,CAAC,UAAU,EAAE,IAAI,CAAC;iBAC9D,CAAC,CAAC;YACL,CAAC;YAED,4DAA4D;YAC5D,KAAK,UAAU,CAAC,WAAW,CAAC;YAC5B,KAAK,UAAU,CAAC,eAAe,CAAC,CAAC,CAAC;gBAChC,OAAO,IAAI,CAAC,UAAU,CAA2B,IAAI,EAAE;oBACrD,IAAI,EAAE,0BAAc,CAAC,eAAe;oBACpC,GAAG,EAAE,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,IAAI,CAAC;oBACjC,KAAK,EAAE,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,KAAK,CAAC;iBACrC,CAAC,CAAC;YACL,CAAC;YAED,KAAK,UAAU,CAAC,mBAAmB,CAAC,CAAC,CAAC;gBACpC,OAAO,IAAI,CAAC,UAAU,CAAiC,IAAI,EAAE;oBAC3D,IAAI,EAAE,0BAAc,CAAC,qBAAqB;oBAC1C,UAAU,EAAE,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,UAAU,CAAC;oBAC9C,cAAc,EAAE,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,IAAI,CAAC;iBAC7C,CAAC,CAAC;YACL,CAAC;YAED;gBACE,OAAO,IAAI,CAAC,UAAU,CAAC,IAAI,CAAC,CAAC;QACjC,CAAC;IACH,CAAC;IAEO,UAAU;IAChB,yDAAyD;IACzD,IAAyC,EACzC,IAAqD;QAErD,MAAM,MAAM,GAAG,IAAI,CAAC;QACpB,MAAM,CAAC,KAAK,KAAK,IAAA,qBAAQ,EAAC,IAAI,EAAE,IAAI,CAAC,GAAG,CAAC,CAAC;QAC1C,MAAM,CAAC,GAAG,KAAK,IAAA,sBAAS,EAAC,MAAM,CAAC,KAAK,EAAE,IAAI,CAAC,GAAG,CAAC,CAAC;QAEjD,IAAI,MAAM,IAAI,IAAI,CAAC,OAAO,CAAC,sBAAsB,EAAE,CAAC;YAClD,IAAI,CAAC,qBAAqB,CAAC,GAAG,CAAC,MAAM,EAAE,IAAI,CAAC,CAAC;QAC/C,CAAC;QACD,OAAO,MAAW,CAAC;IACrB,CAAC;IAED,cAAc;QACZ,OAAO,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,GAAG,CAAqB,CAAC;IACtD,CAAC;IAED;;;;OAIG;IACK,UAAU,CAAC,IAAY;QAC7B,IAAI,IAAI,CAAC,IAAI,KAAK,EAAE,CAAC,UAAU,CAAC,iBAAiB,EAAE,CAAC;YAClD,IAAI,CAAC,WAAW,CACd,IAAI,EACJ,6DAA6D,CAC9D,CAAC;QACJ,CAAC;QAED,MAAM,UAAU,GAAG,KAAK,UAAU,CAAC,IAAI,CAAC,IAAI,CAAC,EAAoB,CAAC;QAElE;;;WAGG;QACH,IAAI,IAAI,CAAC,OAAO,CAAC,qBAAqB,IAAI,CAAC,0BAAc,CAAC,UAAU,CAAC,EAAE,CAAC;YACtE,MAAM,IAAI,KAAK,CAAC,2BAA2B,UAAU,GAAG,CAAC,CAAC;QAC5D,CAAC;QAED,MAAM,MAAM,GAAG,IAAI,CAAC,UAAU,CAAM,IAAI,EAAE;YACxC,IAAI,EAAE,UAAU;SACjB,CAAC,CAAC;QAEH,IAAI,MAAM,IAAI,IAAI,EAAE,CAAC;YACnB,MAAM,CAAC,cAAc;gBACnB,IAAI,CAAC,IAAI,IAAI,MAAM,IAAI,IAAI,CAAC,IAAI,IAAI,EAAE,CAAC,UAAU,CAAC,IAAI,CAAC,IAAI,CAAC;oBAC1D,CAAC,CAAC,IAAI,CAAC,qBAAqB,CAAC,IAAI,CAAC,IAAI,EAAE,IAAI,CAAC;oBAC7C,CAAC,CAAC,IAAI,CAAC;QACb,CAAC;QACD,IAAI,eAAe,IAAI,IAAI,EAAE,CAAC;YAC5B,MAAM,CAAC,aAAa;gBAClB,IAAI,CAAC,aAAa,IAAI,KAAK,IAAI,IAAI,CAAC,aAAa;oBAC/C,CAAC,CAAC,IAAI,CAAC,gDAAgD,CACnD,IAAI,CAAC,aAAa,EAClB,IAAI,CACL;oBACH,CAAC,CAAC,IAAI,CAAC;QACb,CAAC;QACD,IAAI,gBAAgB,IAAI,IAAI,EAAE,CAAC;YAC7B,MAAM,CAAC,cAAc;gBACnB,IAAI,CAAC,cAAc,IAAI,KAAK,IAAI,IAAI,CAAC,cAAc;oBACjD,CAAC,CAAC,IAAI,CAAC,kDAAkD,CACrD,IAAI,CAAC,cAAc,CACpB;oBACH,CAAC,CAAC,IAAI,CAAC;QACb,CAAC;QACD,MAAM,UAAU,GAAG,IAAA,4BAAa,EAAC,IAAI,CAAC,CAAC;QACvC,IAAI,UAAU,EAAE,MAAM,EAAE,CAAC;YACvB,MAAM,CAAC,UAAU,GAAG,UAAU,CAAC,GAAG,CAAC,EAAE,CAAC,EAAE,CAAC,IAAI,CAAC,YAAY,CAAC,EAAE,CAAC,CAAC,CAAC;QAClE,CAAC;QAED,oEAAoE;QACpE,iCAAiC;QACjC,MAAM,gBAAgB,GAAG,IAAI,GAAG,CAAC;YAC/B,WAAW;YACX,YAAY;YACZ,KAAK;YACL,OAAO;YACP,iBAAiB;YACjB,mBAAmB;YACnB,OAAO;YACP,MAAM;YACN,QAAQ;YACR,aAAa;YACb,oBAAoB;YACpB,WAAW;YACX,eAAe;YACf,QAAQ;YACR,KAAK;YACL,QAAQ;YACR,gBAAgB;YAChB,MAAM;YACN,eAAe;YACf,gBAAgB;SACjB,CAAC,CAAC;QAEH,MAAM,CAAC,OAAO,CAAM,IAAI,CAAC;aACtB,MAAM,CAAC,CAAC,CAAC,GAAG,CAAC,EAAE,EAAE,CAAC,CAAC,gBAAgB,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC;aAC7C,OAAO,CAAC,CAAC,CAAC,GAAG,EAAE,KAAK,CAAC,EAAE,EAAE;YACxB,IAAI,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,EAAE,CAAC;gBACzB,MAAM,CAAC,GAAG,CAAC,GAAG,KAAK,CAAC,GAAG,CAAC,EAAE,CAAC,EAAE,CAAC,IAAI,CAAC,YAAY,CAAC,EAAY,CAAC,CAAC,CAAC;YACjE,CAAC;iBAAM,IAAI,KAAK,IAAI,OAAO,KAAK,KAAK,QAAQ,IAAI,KAAK,CAAC,IAAI,EAAE,CAAC;gBAC5D,0EAA0E;gBAC1E,MAAM,CAAC,GAAG,CAAC,GAAG,IAAI,CAAC,YAAY,CAAC,KAAe,CAAC,CAAC;YACnD,CAAC;iBAAM,CAAC;gBACN,MAAM,CAAC,GAAG,CAAC,GAAG,KAAK,CAAC;YACtB,CAAC;QACH,CAAC,CAAC,CAAC;QACL,OAAO,MAAM,CAAC;IAChB,CAAC;IAED;;;OAGG;IACK,UAAU,CAKhB,IASwB,EACxB,MAAS;QAET,MAAM,eAAe,GACnB,EAAE,CAAC,mBAAmB,CAAC,IAAI,CAAC;YAC5B,OAAO,CAAC,IAAI,CAAC,KAAK,GAAG,EAAE,CAAC,SAAS,CAAC,SAAS,CAAC,CAAC;QAE/C,MAAM,SAAS,GAAG,eAAe;YAC/B,CAAC,CAAC,IAAA,kCAAqB,EAAC,IAAI,CAAC;YAC7B,CAAC,CAAC,IAAA,2BAAY,EAAC,IAAI,CAAC,CAAC;QAEvB,IAAI,SAAS,EAAE,CAAC,CAAC,CAAC,CAAC,IAAI,KAAK,UAAU,CAAC,aAAa,EAAE,CAAC;YACrD;;eAEG;YACH,IAAI,CAAC,uBAAuB,CAAC,IAAI,EAAE,MAAM,CAAC,CAAC;YAE3C,MAAM,aAAa,GAAG,SAAS,CAAC,CAAC,CAAC,CAAC;YACnC,MAAM,YAAY,GAAG,SAAS,CAAC,CAAC,CAAC,CAAC;YAClC,MAAM,oBAAoB,GACxB,YAAY,EAAE,IAAI,KAAK,UAAU,CAAC,cAAc,CAAC;YAEnD,MAAM,QAAQ,GAAG,oBAAoB;gBACnC,CAAC,CAAC,IAAA,0BAAa,EAAC,YAAY,EAAE,IAAI,CAAC,GAAG,EAAE,IAAI,CAAC,GAAG,CAAC;gBACjD,CAAC,CAAC,IAAA,0BAAa,EAAC,aAAa,EAAE,IAAI,CAAC,GAAG,EAAE,IAAI,CAAC,GAAG,CAAC,CAAC;YAErD,MAAM,CAAC,KAAK,CAAC,CAAC,CAAC,GAAG,QAAS,CAAC,QAAQ,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;YAC/C,MAAM,CAAC,GAAG,GAAG,IAAA,sBAAS,EAAC,MAAM,CAAC,KAAK,EAAE,IAAI,CAAC,GAAG,CAAC,CAAC;YAE/C,IAAI,oBAAoB,EAAE,CAAC;gBACzB,OAAO,IAAI,CAAC,UAAU,CACpB,IAAwD,EACxD;oBACE,IAAI,EAAE,0BAAc,CAAC,wBAAwB;oBAC7C,KAAK,EAAE,CAAC,aAAa,CAAC,QAAQ,CAAC,IAAI,CAAC,GAAG,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC;oBAC1D,WAAW,EAAE,MAA4C;oBACzD,UAAU,EAAE,OAAO;iBACpB,CACF,CAAC;YACJ,CAAC;YACD,MAAM,MAAM,GACV,MAAM,CAAC,IAAI,KAAK,0BAAc,CAAC,sBAAsB;gBACrD,MAAM,CAAC,IAAI,KAAK,0BAAc,CAAC,sBAAsB,CAAC;YACxD,MAAM,SAAS,GAAG,SAAS,IAAI,MAAM,IAAI,MAAM,CAAC,OAAO,CAAC;YACxD,OAAO,IAAI,CAAC,UAAU,CACpB,IAAI;YACJ,iDAAiD;YACjD,IAAI,CAAC,0BAA0B,CAC7B;gBACE,IAAI,EAAE,0BAAc,CAAC,sBAAsB;gBAC3C,KAAK,EAAE,CAAC,aAAa,CAAC,QAAQ,CAAC,IAAI,CAAC,GAAG,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC;gBAC1D,UAAU,EAAE,EAAE;gBACd,WAAW,EAAE,MAAM;gBACnB,UAAU,EAAE,MAAM,IAAI,SAAS,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,OAAO;gBAClD,MAAM,EAAE,IAAI;gBACZ,UAAU,EAAE,EAAE;aACf,EACD,YAAY,EACZ,YAAY,EACZ,IAAI,CACL,CACF,CAAC;QACJ,CAAC;QAED,OAAO,MAAM,CAAC;IAChB,CAAC;IAED,UAAU;QACR,OAAO;YACL,qBAAqB,EAAE,IAAI,CAAC,qBAAqB;YACjD,qBAAqB,EAAE,IAAI,CAAC,qBAAqB;SAClD,CAAC;IACJ,CAAC;IAED;;OAEG;IACK,uBAAuB,CAC7B,IAAa,EACb,MAA4B;QAE5B,IACE,MAAM;YACN,IAAI,CAAC,OAAO,CAAC,sBAAsB;YACnC,CAAC,IAAI,CAAC,qBAAqB,CAAC,GAAG,CAAC,IAAI,CAAC,EACrC,CAAC;YACD,IAAI,CAAC,qBAAqB,CAAC,GAAG,CAAC,IAAI,EAAE,MAAM,CAAC,CAAC;QAC/C,CAAC;IACH,CAAC;CACF;AA9gHD,8BA8gHC"} \ No newline at end of file +{"version":3,"file":"convert.js","sourceRoot":"","sources":["../src/convert.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAyDA,oCAQC;AAjED,2DAA2D;AAC3D,2SAA2S;AAC3S,+CAAiC;AAUjC,iDAA6D;AAC7D,6CA2BsB;AACtB,2CAA6C;AAE7C,MAAM,UAAU,GAAG,EAAE,CAAC,UAAU,CAAC;AASjC;;;;GAIG;AACH,SAAgB,YAAY,CAC1B,KAA2D;IAE3D,OAAO,IAAA,wBAAW,EAChB,CAAC,SAAS,IAAI,KAAK,IAAI,KAAK,CAAC,OAAO,CAAC,IAAK,KAAK,CAAC,WAAsB,EACtE,KAAK,CAAC,IAAK,EACX,KAAK,CAAC,KAAM,CACb,CAAC;AACJ,CAAC;AAOD,MAAa,SAAS;IACZ,YAAY,GAAG,KAAK,CAAC;IACZ,GAAG,CAAgB;IACnB,qBAAqB,GAAG,IAAI,OAAO,EAAE,CAAC;IACtC,OAAO,CAAmB;IAC1B,qBAAqB,GAAG,IAAI,OAAO,EAAE,CAAC;IAEvD;;;;;OAKG;IACH,YAAY,GAAkB,EAAE,OAA0B;QACxD,IAAI,CAAC,GAAG,GAAG,GAAG,CAAC;QACf,IAAI,CAAC,OAAO,GAAG,EAAE,GAAG,OAAO,EAAE,CAAC;IAChC,CAAC;IAED,6BAA6B,CAC3B,WAA8B,EAC9B,IAAiE;QAEjE,MAAM,IAAI,GACR,IAAI,KAAK,EAAE,CAAC,UAAU,CAAC,cAAc,CAAC,CAAC,CAAC,UAAU,CAAC,CAAC,CAAC,UAAU,CAAC;QAClE,IAAI,EAAE,CAAC,yBAAyB,CAAC,WAAW,CAAC,EAAE,CAAC;YAC9C,IAAI,WAAW,CAAC,YAAY,CAAC,MAAM,KAAK,CAAC,EAAE,CAAC;gBAC1C,IAAI,CAAC,WAAW,CACd,WAAW,EACX,uDAAuD,IAAI,cAAc,CAC1E,CAAC;YACJ,CAAC;YACD,MAAM,WAAW,GAAG,WAAW,CAAC,YAAY,CAAC,CAAC,CAAC,CAAC;YAChD,IAAI,WAAW,CAAC,WAAW,EAAE,CAAC;gBAC5B,IAAI,CAAC,WAAW,CACd,WAAW,EACX,kCAAkC,IAAI,yCAAyC,CAChF,CAAC;YACJ,CAAC;iBAAM,IAAI,WAAW,CAAC,IAAI,EAAE,CAAC;gBAC5B,IAAI,CAAC,WAAW,CACd,WAAW,EACX,kCAAkC,IAAI,4CAA4C,CACnF,CAAC;YACJ,CAAC;YACD,IACE,IAAI,KAAK,EAAE,CAAC,UAAU,CAAC,cAAc;gBACrC,WAAW,CAAC,KAAK,GAAG,EAAE,CAAC,SAAS,CAAC,KAAK,EACtC,CAAC;gBACD,IAAI,CAAC,WAAW,CACd,WAAW,EACX,+EAA+E,CAChF,CAAC;YACJ,CAAC;QACH,CAAC;aAAM,IACL,CAAC,IAAA,oCAAuB,EAAC,WAAW,CAAC;YACrC,WAAW,CAAC,IAAI,KAAK,EAAE,CAAC,UAAU,CAAC,uBAAuB;YAC1D,WAAW,CAAC,IAAI,KAAK,EAAE,CAAC,UAAU,CAAC,sBAAsB,EACzD,CAAC;YACD,IAAI,CAAC,WAAW,CACd,WAAW,EACX,4BAA4B,IAAI,sDAAsD,CACvF,CAAC;QACJ,CAAC;IACH,CAAC;IAED,eAAe,CAAC,IAAa;QAC3B,IAAI,IAAI,CAAC,OAAO,CAAC,eAAe,EAAE,CAAC;YACjC,OAAO;QACT,CAAC;QAED,mBAAmB;QACnB,IAAI,IAAA,qCAAwB,EAAC,IAAI,CAAC,EAAE,CAAC;YACnC,IAAI,CAAC,WAAW,CACd,IAAI,CAAC,iBAAiB,CAAC,CAAC,CAAC,EACzB,gCAAgC,CACjC,CAAC;QACJ,CAAC;QAED,KAAK,MAAM,SAAS,IAAI,IAAA,4BAAa,EACnC,IAAI;QACJ,8BAA8B,CAAC,IAAI,CACpC,IAAI,EAAE,EAAE,CAAC;YACR,iDAAiD;YACjD,IAAI,CAAC,IAAA,+BAAkB,EAAC,IAAc,CAAC,EAAE,CAAC;gBACxC,IAAI,EAAE,CAAC,mBAAmB,CAAC,IAAI,CAAC,IAAI,CAAC,IAAA,0BAAa,EAAC,IAAI,CAAC,IAAI,CAAC,EAAE,CAAC;oBAC9D,IAAI,CAAC,WAAW,CACd,SAAS,EACT,yEAAyE,CAC1E,CAAC;gBACJ,CAAC;qBAAM,CAAC;oBACN,IAAI,CAAC,WAAW,CAAC,SAAS,EAAE,gCAAgC,CAAC,CAAC;gBAChE,CAAC;YACH,CAAC;QACH,CAAC;QAED,KAAK,MAAM,QAAQ,IAAI,IAAA,2BAAY,EACjC,IAAI;QACJ,6BAA6B,CAAC,IAAI,CACnC,IAAI,EAAE,EAAE,CAAC;YACR,IAAI,QAAQ,CAAC,IAAI,KAAK,UAAU,CAAC,eAAe,EAAE,CAAC;gBACjD,IACE,IAAI,CAAC,IAAI,KAAK,UAAU,CAAC,iBAAiB;oBAC1C,IAAI,CAAC,IAAI,KAAK,UAAU,CAAC,eAAe,EACxC,CAAC;oBACD,IAAI,CAAC,WAAW,CACd,QAAQ,EACR,IAAI,EAAE,CAAC,aAAa,CAClB,QAAQ,CAAC,IAAI,CACd,2CAA2C,CAC7C,CAAC;gBACJ,CAAC;gBAED,IACE,IAAI,CAAC,IAAI,KAAK,UAAU,CAAC,cAAc;oBACvC,CAAC,QAAQ,CAAC,IAAI,KAAK,UAAU,CAAC,aAAa;wBACzC,CAAC,EAAE,CAAC,WAAW,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,EAC/B,CAAC;oBACD,IAAI,CAAC,WAAW,CACd,QAAQ,EACR,IAAI,EAAE,CAAC,aAAa,CAClB,QAAQ,CAAC,IAAI,CACd,gDAAgD,CAClD,CAAC;gBACJ,CAAC;YACH,CAAC;YAED,IACE,QAAQ,CAAC,IAAI,KAAK,UAAU,CAAC,SAAS;gBACtC,QAAQ,CAAC,IAAI,KAAK,UAAU,CAAC,UAAU;gBACvC,QAAQ,CAAC,IAAI,KAAK,UAAU,CAAC,YAAY;gBACzC,IAAI,CAAC,IAAI,KAAK,UAAU,CAAC,aAAa,EACtC,CAAC;gBACD,IAAI,CAAC,WAAW,CACd,QAAQ,EACR,IAAI,EAAE,CAAC,aAAa,CAClB,QAAQ,CAAC,IAAI,CACd,8CAA8C,CAChD,CAAC;YACJ,CAAC;YAED,IACE,CAAC,QAAQ,CAAC,IAAI,KAAK,UAAU,CAAC,SAAS;gBACrC,QAAQ,CAAC,IAAI,KAAK,UAAU,CAAC,UAAU,CAAC;gBAC1C,CAAC,IAAI,CAAC,IAAI,KAAK,UAAU,CAAC,aAAa;oBACrC,CAAC,CACC,EAAE,CAAC,sBAAsB,CAAC,IAAI,CAAC,MAAM,CAAC;wBACtC,EAAE,CAAC,WAAW,CAAC,IAAI,CAAC,MAAM,CAAC;wBAC3B,EAAE,CAAC,sBAAsB,CAAC,IAAI,CAAC,MAAM,CAAC,CACvC,CAAC,EACJ,CAAC;gBACD,IAAI,CAAC,WAAW,CACd,QAAQ,EACR,IAAI,EAAE,CAAC,aAAa,CAClB,QAAQ,CAAC,IAAI,CACd,oFAAoF,CACtF,CAAC;YACJ,CAAC;YAED,IACE,QAAQ,CAAC,IAAI,KAAK,UAAU,CAAC,eAAe;gBAC5C,IAAI,CAAC,IAAI,KAAK,UAAU,CAAC,mBAAmB;gBAC5C,IAAI,CAAC,IAAI,KAAK,UAAU,CAAC,iBAAiB;gBAC1C,IAAI,CAAC,IAAI,KAAK,UAAU,CAAC,cAAc;gBACvC,IAAI,CAAC,IAAI,KAAK,UAAU,CAAC,SAAS,EAClC,CAAC;gBACD,IAAI,CAAC,WAAW,CACd,QAAQ,EACR,mFAAmF,CACpF,CAAC;YACJ,CAAC;YAED,IACE,QAAQ,CAAC,IAAI,KAAK,UAAU,CAAC,cAAc;gBAC3C,EAAE,CAAC,WAAW,CAAC,IAAI,CAAC,MAAM,CAAC;gBAC3B,CAAC,EAAE,CAAC,qBAAqB,CAAC,IAAI,CAAC,EAC/B,CAAC;gBACD,IAAI,CAAC,WAAW,CACd,QAAQ,EACR,IAAI,EAAE,CAAC,aAAa,CAClB,QAAQ,CAAC,IAAI,CACd,0DAA0D,CAC5D,CAAC;YACJ,CAAC;YAED,IACE,QAAQ,CAAC,IAAI,KAAK,UAAU,CAAC,cAAc;gBAC3C,EAAE,CAAC,mBAAmB,CAAC,IAAI,CAAC,EAC5B,CAAC;gBACD,MAAM,eAAe,GAAG,IAAA,+BAAkB,EAAC,IAAI,CAAC,eAAe,CAAC,CAAC;gBACjE,IAAI,eAAe,KAAK,OAAO,IAAI,eAAe,KAAK,aAAa,EAAE,CAAC;oBACrE,IAAI,CAAC,WAAW,CACd,QAAQ,EACR,0CAA0C,eAAe,gBAAgB,CAC1E,CAAC;gBACJ,CAAC;YACH,CAAC;YAED,IACE,QAAQ,CAAC,IAAI,KAAK,UAAU,CAAC,eAAe;gBAC5C,IAAI,CAAC,IAAI,KAAK,UAAU,CAAC,gBAAgB;gBACzC,IAAI,CAAC,IAAI,KAAK,UAAU,CAAC,eAAe;gBACxC,IAAI,CAAC,IAAI,KAAK,UAAU,CAAC,iBAAiB;gBAC1C,IAAI,CAAC,IAAI,KAAK,UAAU,CAAC,mBAAmB;gBAC5C,IAAI,CAAC,IAAI,KAAK,UAAU,CAAC,WAAW;gBACpC,IAAI,CAAC,IAAI,KAAK,UAAU,CAAC,WAAW,EACpC,CAAC;gBACD,IAAI,CAAC,WAAW,CACd,QAAQ,EACR,IAAI,EAAE,CAAC,aAAa,CAClB,QAAQ,CAAC,IAAI,CACd,yEAAyE,CAC3E,CAAC;YACJ,CAAC;YAED,IACE,CAAC,QAAQ,CAAC,IAAI,KAAK,UAAU,CAAC,aAAa;gBACzC,QAAQ,CAAC,IAAI,KAAK,UAAU,CAAC,aAAa;gBAC1C,QAAQ,CAAC,IAAI,KAAK,UAAU,CAAC,gBAAgB;gBAC7C,QAAQ,CAAC,IAAI,KAAK,UAAU,CAAC,cAAc,CAAC;gBAC9C,CAAC,IAAI,CAAC,MAAM,CAAC,IAAI,KAAK,UAAU,CAAC,WAAW;oBAC1C,IAAI,CAAC,MAAM,CAAC,IAAI,KAAK,UAAU,CAAC,UAAU,CAAC,EAC7C,CAAC;gBACD,IAAI,CAAC,WAAW,CACd,QAAQ,EACR,IAAI,EAAE,CAAC,aAAa,CAClB,QAAQ,CAAC,IAAI,CACd,4DAA4D,CAC9D,CAAC;YACJ,CAAC;YAED,IACE,QAAQ,CAAC,IAAI,KAAK,UAAU,CAAC,eAAe;gBAC5C,IAAI,CAAC,IAAI,KAAK,UAAU,CAAC,mBAAmB,EAC5C,CAAC;gBACD,IAAI,CAAC,WAAW,CACd,QAAQ,EACR,gEAAgE,CACjE,CAAC;YACJ,CAAC;YAED,uDAAuD;YACvD,IACE,QAAQ,CAAC,IAAI,KAAK,UAAU,CAAC,YAAY;gBACzC,IAAI,CAAC,IAAI,KAAK,UAAU,CAAC,iBAAiB;gBAC1C,IAAI,CAAC,IAAI,KAAK,UAAU,CAAC,mBAAmB;gBAC5C,IAAI,CAAC,IAAI,KAAK,UAAU,CAAC,kBAAkB;gBAC3C,IAAI,CAAC,IAAI,KAAK,UAAU,CAAC,aAAa,EACtC,CAAC;gBACD,IAAI,CAAC,WAAW,CAAC,QAAQ,EAAE,uCAAuC,CAAC,CAAC;YACtE,CAAC;YAED,mDAAmD;YACnD,IACE,IAAI,CAAC,IAAI,KAAK,UAAU,CAAC,SAAS;gBAClC,CAAC,QAAQ,CAAC,IAAI,KAAK,UAAU,CAAC,aAAa;oBACzC,QAAQ,CAAC,IAAI,KAAK,UAAU,CAAC,aAAa;oBAC1C,QAAQ,CAAC,IAAI,KAAK,UAAU,CAAC,cAAc;oBAC3C,QAAQ,CAAC,IAAI,KAAK,UAAU,CAAC,YAAY,CAAC,EAC5C,CAAC;gBACD,IAAI,CAAC,WAAW,CACd,QAAQ,EACR,IAAI,EAAE,CAAC,aAAa,CAClB,QAAQ,CAAC,IAAI,CACd,0CAA0C,CAC5C,CAAC;YACJ,CAAC;YAED,mDAAmD;YACnD,IACE,QAAQ,CAAC,IAAI,KAAK,UAAU,CAAC,aAAa;gBAC1C,QAAQ,CAAC,IAAI,KAAK,UAAU,CAAC,gBAAgB;gBAC7C,QAAQ,CAAC,IAAI,KAAK,UAAU,CAAC,cAAc,EAC3C,CAAC;gBACD,KAAK,MAAM,eAAe,IAAI,IAAA,2BAAY,EAAC,IAAI,CAAC,IAAI,EAAE,EAAE,CAAC;oBACvD,IACE,eAAe,KAAK,QAAQ;wBAC5B,CAAC,eAAe,CAAC,IAAI,KAAK,UAAU,CAAC,aAAa;4BAChD,eAAe,CAAC,IAAI,KAAK,UAAU,CAAC,gBAAgB;4BACpD,eAAe,CAAC,IAAI,KAAK,UAAU,CAAC,cAAc,CAAC,EACrD,CAAC;wBACD,IAAI,CAAC,WAAW,CACd,eAAe,EACf,sCAAsC,CACvC,CAAC;oBACJ,CAAC;gBACH,CAAC;YACH,CAAC;YAED,4CAA4C;YAC5C,IACE,IAAI,CAAC,IAAI,KAAK,UAAU,CAAC,SAAS;gBAClC,4GAA4G;gBAC5G,0FAA0F;gBAC1F,CAAC,QAAQ,CAAC,IAAI,KAAK,UAAU,CAAC,aAAa;oBACzC,QAAQ,CAAC,IAAI,KAAK,UAAU,CAAC,cAAc;oBAC3C,QAAQ,CAAC,IAAI,KAAK,UAAU,CAAC,gBAAgB;oBAC7C,QAAQ,CAAC,IAAI,KAAK,UAAU,CAAC,eAAe;oBAC5C,QAAQ,CAAC,IAAI,KAAK,UAAU,CAAC,eAAe,CAAC,EAC/C,CAAC;gBACD,MAAM,IAAI,GAAG,IAAA,kCAAqB,EAAC,IAAI,CAAE,CAAC;gBAE1C,IACE,CAAC,CAAC,IAAI,CAAC,IAAI,KAAK,UAAU,CAAC,WAAW,IAAI,IAAA,0BAAa,EAAC,IAAI,CAAC,IAAI,CAAC,CAAC,EACnE,CAAC;oBACD,IAAI,CAAC,WAAW,CACd,QAAQ,EACR,uEAAuE,CACxE,CAAC;gBACJ,CAAC;YACH,CAAC;QACH,CAAC;IACH,CAAC;IAED,WAAW,CAAC,IAAsB,EAAE,OAAe;QACjD,IAAI,KAAK,CAAC;QACV,IAAI,GAAG,CAAC;QACR,IAAI,OAAO,IAAI,KAAK,QAAQ,EAAE,CAAC;YAC7B,KAAK,GAAG,GAAG,GAAG,IAAI,CAAC;QACrB,CAAC;aAAM,CAAC;YACN,KAAK,GAAG,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;YAChC,GAAG,GAAG,IAAI,CAAC,MAAM,EAAE,CAAC;QACtB,CAAC;QAED,MAAM,IAAA,wBAAW,EAAC,OAAO,EAAE,IAAI,CAAC,GAAG,EAAE,KAAK,EAAE,GAAG,CAAC,CAAC;IACnD,CAAC;IAED,2BAA2B,CACzB,IAAsB,EACtB,OAAe;QAEf,IAAI,CAAC,IAAI,CAAC,OAAO,CAAC,eAAe,EAAE,CAAC;YAClC,IAAI,CAAC,WAAW,CAAC,IAAI,EAAE,OAAO,CAAC,CAAC;QAClC,CAAC;IACH,CAAC;IAED;;;;;;OAMG;IACH,0BAA0B,CAKxB,IAAgB,EAChB,QAAkB,EAClB,QAAkB,EAClB,gBAAgB,GAAG,KAAK;QAExB,IAAI,MAAM,GAAG,gBAAgB,CAAC;QAE9B,MAAM,CAAC,cAAc,CAAC,IAAI,EAAE,QAAQ,EAAE;YACpC,YAAY,EAAE,IAAI;YAClB,GAAG,EAAE,IAAI,CAAC,OAAO,CAAC,kCAAkC;gBAClD,CAAC,CAAC,GAAgC,EAAE,CAAC,IAAI,CAAC,QAAQ,CAAC;gBACnD,CAAC,CAAC,GAAgC,EAAE;oBAChC,IAAI,CAAC,MAAM,EAAE,CAAC;wBACZ,OAAO,CAAC,WAAW,CACjB,QAAQ,QAAQ,+BAA+B,IAAI,CAAC,IAAI,gBAAgB,QAAQ,iJAAiJ,EACjO,oBAAoB,CACrB,CAAC;wBACF,MAAM,GAAG,IAAI,CAAC;oBAChB,CAAC;oBAED,OAAO,IAAI,CAAC,QAAQ,CAAC,CAAC;gBACxB,CAAC;YACL,GAAG,CAAC,KAAK;gBACP,MAAM,CAAC,cAAc,CAAC,IAAI,EAAE,QAAQ,EAAE;oBACpC,UAAU,EAAE,IAAI;oBAChB,KAAK;oBACL,QAAQ,EAAE,IAAI;iBACf,CAAC,CAAC;YACL,CAAC;SACF,CAAC,CAAC;QAEH,OAAO,IAA2D,CAAC;IACrE,CAAC;IAED,qBAAqB,CAKnB,IAAgB,EAChB,aAAkB,EAClB,YAAoB,EACpB,KAAY;QAEZ,IAAI,MAAM,GAAG,KAAK,CAAC;QAEnB,MAAM,CAAC,cAAc,CAAC,IAAI,EAAE,aAAa,EAAE;YACzC,YAAY,EAAE,IAAI;YAClB,GAAG,EAAE,IAAI,CAAC,OAAO,CAAC,kCAAkC;gBAClD,CAAC,CAAC,GAAU,EAAE,CAAC,KAAK;gBACpB,CAAC,CAAC,GAAU,EAAE;oBACV,IAAI,CAAC,MAAM,EAAE,CAAC;wBACZ,OAAO,CAAC,WAAW,CACjB,QAAQ,aAAa,+BAA+B,IAAI,CAAC,IAAI,eAAe,YAAY,gJAAgJ,EACxO,oBAAoB,CACrB,CAAC;wBACF,MAAM,GAAG,IAAI,CAAC;oBAChB,CAAC;oBAED,OAAO,KAAK,CAAC;gBACf,CAAC;YACL,GAAG,CAAC,KAAK;gBACP,MAAM,CAAC,cAAc,CAAC,IAAI,EAAE,aAAa,EAAE;oBACzC,UAAU,EAAE,IAAI;oBAChB,KAAK;oBACL,QAAQ,EAAE,IAAI;iBACf,CAAC,CAAC;YACL,CAAC;SACF,CAAC,CAAC;QAEH,OAAO,IAAuC,CAAC;IACjD,CAAC;IAEO,qBAAqB,CAC3B,IAAiD,EACjD,SAAkB;QAElB,IAAI,CAAC,SAAS,IAAI,IAAI,CAAC,eAAe,IAAI,IAAI,EAAE,CAAC;YAC/C,IAAI,CAAC,2BAA2B,CAC9B,IAAI,EACJ,4CAA4C,CAC7C,CAAC;QACJ,CAAC;QAED,IACE,IAAI,CAAC,eAAe;YACpB,IAAI,CAAC,eAAe,EAAE,IAAI,KAAK,UAAU,CAAC,aAAa,EACvD,CAAC;YACD,IAAI,CAAC,2BAA2B,CAC9B,IAAI,CAAC,eAAe,EACpB,4CAA4C,CAC7C,CAAC;QACJ,CAAC;IACH,CAAC;IAEO,oCAAoC,CAC1C,IAAoB,EACpB,MAA+B,EAC/B,MAAgB;QAEhB,MAAM,EAAE,GAAG,IAAI,CAAC,cAAc,CAAC,IAAI,CAAyB,CAAC;QAE7D,IAAI,MAAM,EAAE,CAAC;YACX,EAAE,CAAC,cAAc,GAAG,IAAI,CAAC,qBAAqB,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;YAC/D,IAAI,CAAC,iBAAiB,CAAC,EAAE,EAAE,EAAE,CAAC,cAAc,CAAC,KAAK,CAAC,CAAC;QACtD,CAAC;QAED,OAAO,EAAE,CAAC;IACZ,CAAC;IAED;;;;;OAKG;IACK,sBAAsB,CAC5B,KAAiC,EACjC,MAIiB;QAEjB,IAAI,eAAe,GAAG,IAAA,gCAAmB,EAAC,MAAM,CAAC,CAAC;QAElD,OAAO,CACL,KAAK;aACF,GAAG,CAAC,SAAS,CAAC,EAAE;YACf,MAAM,KAAK,GAAG,IAAI,CAAC,YAAY,CAAC,SAAS,CAAC,CAAC;YAC3C,IAAI,eAAe,EAAE,CAAC;gBACpB,IACE,KAAK,EAAE,UAAU;oBACjB,EAAE,CAAC,qBAAqB,CAAC,SAAS,CAAC;oBACnC,EAAE,CAAC,eAAe,CAAC,SAAS,CAAC,UAAU,CAAC,EACxC,CAAC;oBACD,MAAM,GAAG,GAAG,KAAK,CAAC,UAAU,CAAC,GAAG,CAAC;oBACjC,KAAK,CAAC,SAAS,GAAG,GAAG,CAAC,KAAK,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC;oBACnC,OAAO,KAAK,CAAC,CAAC,6CAA6C;gBAC7D,CAAC;gBACD,eAAe,GAAG,KAAK,CAAC;YAC1B,CAAC;YACD,OAAO,KAAK,CAAC,CAAC,6CAA6C;QAC7D,CAAC,CAAC;YACF,mCAAmC;aAClC,MAAM,CAAC,SAAS,CAAC,EAAE,CAAC,SAAS,CAAC,CAClC,CAAC;IACJ,CAAC;IAEO,sBAAsB,CAC5B,IAA2B,EAC3B,MAI+B;QAE/B,MAAM,EAAE,KAAK,EAAE,UAAU,EAAE,GAAG,CAAC,GAG7B,EAAE;YACF,IAAI,IAAI,CAAC,IAAI,KAAK,0BAAc,CAAC,gBAAgB,EAAE,CAAC;gBAClD,OAAO,EAAE,KAAK,EAAE,IAAI,CAAC,MAAM,EAAE,UAAU,EAAE,IAAI,CAAC,QAAQ,EAAE,CAAC;YAC3D,CAAC;YACD,IAAI,IAAI,CAAC,IAAI,KAAK,0BAAc,CAAC,cAAc,EAAE,CAAC;gBAChD,OAAO,EAAE,KAAK,EAAE,IAAI,CAAC,MAAM,EAAE,UAAU,EAAE,IAAI,CAAC,QAAQ,EAAE,CAAC;YAC3D,CAAC;YACD,OAAO,EAAE,KAAK,EAAE,IAAI,CAAC,UAAU,EAAE,UAAU,EAAE,KAAK,EAAE,CAAC;QACvD,CAAC,CAAC,EAAE,CAAC;QACL,MAAM,kBAAkB,GAAG,IAAA,4CAA+B,EAAC,MAAM,EAAE,KAAK,CAAC,CAAC;QAE1E,IAAI,CAAC,kBAAkB,IAAI,CAAC,UAAU,EAAE,CAAC;YACvC,OAAO,IAAI,CAAC;QACd,CAAC;QAED,IAAI,kBAAkB,IAAI,IAAA,8BAAiB,EAAC,KAAK,CAAC,EAAE,CAAC;YACnD,oCAAoC;YACpC,MAAM,QAAQ,GAAG,KAAK,CAAC,UAAU,CAAC;YAClC,IAAI,IAAI,CAAC,IAAI,KAAK,0BAAc,CAAC,gBAAgB,EAAE,CAAC;gBAClD,IAAI,CAAC,MAAM,GAAG,QAAQ,CAAC;YACzB,CAAC;iBAAM,IAAI,IAAI,CAAC,IAAI,KAAK,0BAAc,CAAC,cAAc,EAAE,CAAC;gBACvD,IAAI,CAAC,MAAM,GAAG,QAAQ,CAAC;YACzB,CAAC;iBAAM,CAAC;gBACN,IAAI,CAAC,UAAU,GAAG,QAAQ,CAAC;YAC7B,CAAC;QACH,CAAC;QAED,OAAO,IAAI,CAAC,UAAU,CAA2B,MAAM,EAAE;YACvD,IAAI,EAAE,0BAAc,CAAC,eAAe;YACpC,UAAU,EAAE,IAAI;SACjB,CAAC,CAAC;IACL,CAAC;IAED;;;;;OAKG;IACK,YAAY,CAAC,KAAe,EAAE,MAAgB;QACpD,OAAO,IAAI,CAAC,SAAS,CAAC,KAAK,EAAE,MAAM,EAAE,KAAK,CAAC,CAAC;IAC9C,CAAC;IAED;;;;;OAKG;IACK,cAAc,CAAC,KAAe,EAAE,MAAgB;QACtD,OAAO,IAAI,CAAC,SAAS,CAAC,KAAK,EAAE,MAAM,EAAE,IAAI,CAAC,CAAC;IAC7C,CAAC;IAED;;;;;;OAMG;IACK,qBAAqB,CAC3B,KAAkB,EAClB,MAA2B;QAE3B,6GAA6G;QAC7G,MAAM,MAAM,GACV,MAAM,EAAE,IAAI,KAAK,UAAU,CAAC,YAAY;YACxC,MAAM,EAAE,IAAI,KAAK,UAAU,CAAC,eAAe;YACzC,CAAC,CAAC,CAAC;YACH,CAAC,CAAC,CAAC,CAAC;QACR,MAAM,kBAAkB,GAAG,KAAK,CAAC,YAAY,EAAE,GAAG,MAAM,CAAC;QACzD,MAAM,KAAK,GAAmB,CAAC,kBAAkB,EAAE,KAAK,CAAC,GAAG,CAAC,CAAC;QAC9D,MAAM,GAAG,GAAG,IAAA,sBAAS,EAAC,KAAK,EAAE,IAAI,CAAC,GAAG,CAAC,CAAC;QAEvC,OAAO;YACL,IAAI,EAAE,0BAAc,CAAC,gBAAgB;YACrC,GAAG;YACH,KAAK;YACL,cAAc,EAAE,IAAI,CAAC,YAAY,CAAC,KAAK,CAAC;SACZ,CAAC;IACjC,CAAC;IAED;;;;;OAKG;IACK,gDAAgD,CACtD,aAAwC,EACxC,IAA6D;QAE7D,MAAM,gBAAgB,GAAG,IAAA,0BAAa,EAAC,aAAa,EAAE,IAAI,CAAC,GAAG,EAAE,IAAI,CAAC,GAAG,CAAE,CAAC;QAE3E,OAAO,IAAI,CAAC,UAAU,CAAwC,IAAI,EAAE;YAClE,IAAI,EAAE,0BAAc,CAAC,4BAA4B;YACjD,KAAK,EAAE,CAAC,aAAa,CAAC,GAAG,GAAG,CAAC,EAAE,gBAAgB,CAAC,GAAG,CAAC;YACpD,MAAM,EAAE,aAAa,CAAC,GAAG,CAAC,YAAY,CAAC,EAAE,CACvC,IAAI,CAAC,YAAY,CAAC,YAAY,CAAC,CAChC;SACF,CAAC,CAAC;IACL,CAAC;IAED;;;;OAIG;IACK,kDAAkD,CACxD,cAAyD;QAEzD,MAAM,gBAAgB,GAAG,IAAA,0BAAa,EAAC,cAAc,EAAE,IAAI,CAAC,GAAG,EAAE,IAAI,CAAC,GAAG,CAAE,CAAC;QAC5E,MAAM,KAAK,GAAmB;YAC5B,cAAc,CAAC,GAAG,GAAG,CAAC;YACtB,gBAAgB,CAAC,GAAG;SACrB,CAAC;QAEF,OAAO;YACL,IAAI,EAAE,0BAAc,CAAC,0BAA0B;YAC/C,GAAG,EAAE,IAAA,sBAAS,EAAC,KAAK,EAAE,IAAI,CAAC,GAAG,CAAC;YAC/B,KAAK;YACL,MAAM,EAAE,cAAc,CAAC,GAAG,CAAC,aAAa,CAAC,EAAE,CACzC,IAAI,CAAC,YAAY,CAAC,aAAa,CAAC,CACjC;SACqC,CAAC;IAC3C,CAAC;IAED;;;;OAIG;IACK,iBAAiB,CACvB,UAAiD;QAEjD,IAAI,CAAC,UAAU,EAAE,MAAM,EAAE,CAAC;YACxB,OAAO,EAAE,CAAC;QACZ,CAAC;QACD,OAAO,UAAU,CAAC,GAAG,CAAC,KAAK,CAAC,EAAE;YAC5B,MAAM,cAAc,GAAG,IAAI,CAAC,YAAY,CAAC,KAAK,CAAuB,CAAC;YAEtE,cAAc,CAAC,UAAU;gBACvB,IAAA,4BAAa,EAAC,KAAK,CAAC,EAAE,GAAG,CAAC,EAAE,CAAC,EAAE,CAAC,IAAI,CAAC,YAAY,CAAC,EAAE,CAAC,CAAC,IAAI,EAAE,CAAC;YAE/D,OAAO,cAAc,CAAC;QACxB,CAAC,CAAC,CAAC;IACL,CAAC;IAED;;;;;;OAMG;IACK,SAAS,CACf,IAAc,EACd,MAAgB,EAChB,YAAsB;QAEtB;;WAEG;QACH,IAAI,CAAC,IAAI,EAAE,CAAC;YACV,OAAO,IAAI,CAAC;QACd,CAAC;QAED,IAAI,CAAC,eAAe,CAAC,IAAI,CAAC,CAAC;QAE3B,MAAM,OAAO,GAAG,IAAI,CAAC,YAAY,CAAC;QAClC,IAAI,YAAY,KAAK,SAAS,EAAE,CAAC;YAC/B,IAAI,CAAC,YAAY,GAAG,YAAY,CAAC;QACnC,CAAC;QAED,MAAM,MAAM,GAAG,IAAI,CAAC,WAAW,CAC7B,IAAc,EACd,CAAC,MAAM,IAAI,IAAI,CAAC,MAAM,CAAW,CAClC,CAAC;QAEF,IAAI,CAAC,uBAAuB,CAAC,IAAI,EAAE,MAAM,CAAC,CAAC;QAE3C,IAAI,CAAC,YAAY,GAAG,OAAO,CAAC;QAC5B,OAAO,MAAM,CAAC;IAChB,CAAC;IAEO,uBAAuB,CAC7B,IAAqC;QAErC,OAAO,IAAI,KAAK,SAAS;YACvB,CAAC,CAAC,EAAE;YACJ,CAAC,CAAC,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,OAAO,CAAC,EAAE,CAAC,IAAI,CAAC,YAAY,CAAC,OAAO,CAAC,CAAC,CAAC;IAC/D,CAAC;IAEO,oBAAoB,CAC1B,IAAuC;QAEvC,MAAM,MAAM,GAAG,IAAI,CAAC,UAAU,CAAyB,IAAI,EAAE;YAC3D,IAAI,EAAE,0BAAc,CAAC,aAAa;YAClC,IAAI,EAAE,IAAI,CAAC,OAAO,EAAE;SACrB,CAAC,CAAC;QACH,IAAI,CAAC,uBAAuB,CAAC,IAAI,EAAE,MAAM,CAAC,CAAC;QAC3C,OAAO,MAAM,CAAC;IAChB,CAAC;IAEO,+BAA+B,CACrC,IAA8D;QAE9D,wDAAwD;QACxD,2DAA2D;QAC3D,IAAI,IAAI,CAAC,IAAI,KAAK,EAAE,CAAC,UAAU,CAAC,iBAAiB,EAAE,CAAC;YAClD,MAAM,MAAM,GAAG,IAAI,CAAC,UAAU,CAA6B,IAAI,EAAE;gBAC/D,IAAI,EAAE,0BAAc,CAAC,iBAAiB;gBACtC,IAAI,EAAE,IAAI,CAAC,UAAU,CAAC,IAAI,CAAC,IAAI,EAAE;oBAC/B,IAAI,EAAE,0BAAc,CAAC,aAAa;oBAClC,IAAI,EAAE,IAAI,CAAC,IAAI,CAAC,IAAI;iBACrB,CAAC;gBACF,SAAS,EAAE,IAAI,CAAC,UAAU,CAAC,IAAI,CAAC,SAAS,EAAE;oBACzC,IAAI,EAAE,0BAAc,CAAC,aAAa;oBAClC,IAAI,EAAE,IAAI,CAAC,SAAS,CAAC,IAAI;iBAC1B,CAAC;aACH,CAAC,CAAC;YACH,IAAI,CAAC,uBAAuB,CAAC,IAAI,EAAE,MAAM,CAAC,CAAC;YAC3C,OAAO,MAAM,CAAC;QAChB,CAAC;QAED,2DAA2D;QAC3D,MAAM,IAAI,GAAG,IAAI,CAAC,OAAO,EAAE,CAAC;QAC5B,MAAM,UAAU,GAAG,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC;QACrC,4EAA4E;QAC5E,IAAI,UAAU,GAAG,CAAC,EAAE,CAAC;YACnB,MAAM,KAAK,GAAG,IAAA,qBAAQ,EAAC,IAAI,EAAE,IAAI,CAAC,GAAG,CAAC,CAAC;YACvC,wEAAwE;YACxE,MAAM,MAAM,GAAG,IAAI,CAAC,UAAU,CAA6B,IAAI,EAAE;gBAC/D,IAAI,EAAE,0BAAc,CAAC,iBAAiB;gBACtC,KAAK;gBACL,IAAI,EAAE,IAAI,CAAC,UAAU,CAAyB,IAAI,EAAE;oBAClD,IAAI,EAAE,0BAAc,CAAC,aAAa;oBAClC,KAAK,EAAE,CAAC,KAAK,CAAC,CAAC,CAAC,GAAG,UAAU,GAAG,CAAC,EAAE,KAAK,CAAC,CAAC,CAAC,CAAC;oBAC5C,IAAI,EAAE,IAAI,CAAC,KAAK,CAAC,UAAU,GAAG,CAAC,CAAC;iBACjC,CAAC;gBACF,SAAS,EAAE,IAAI,CAAC,UAAU,CAAyB,IAAI,EAAE;oBACvD,IAAI,EAAE,0BAAc,CAAC,aAAa;oBAClC,KAAK,EAAE,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,KAAK,CAAC,CAAC,CAAC,GAAG,UAAU,CAAC;oBACxC,IAAI,EAAE,IAAI,CAAC,KAAK,CAAC,CAAC,EAAE,UAAU,CAAC;iBAChC,CAAC;aACH,CAAC,CAAC;YACH,IAAI,CAAC,uBAAuB,CAAC,IAAI,EAAE,MAAM,CAAC,CAAC;YAC3C,OAAO,MAAM,CAAC;QAChB,CAAC;QAED,OAAO,IAAI,CAAC,oBAAoB,CAAC,IAAI,CAAC,CAAC;IACzC,CAAC;IAED;;;;OAIG;IACK,iBAAiB,CACvB,IAA6B,EAC7B,MAAe;QAEf,IAAI,MAAqC,CAAC;QAC1C,QAAQ,IAAI,CAAC,IAAI,EAAE,CAAC;YAClB,KAAK,UAAU,CAAC,wBAAwB;gBACtC,IAAI,IAAI,CAAC,IAAI,CAAC,IAAI,KAAK,UAAU,CAAC,iBAAiB,EAAE,CAAC;oBACpD,0GAA0G;oBAC1G,0DAA0D;oBAC1D,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC,IAAI,EAAE,kCAAkC,CAAC,CAAC;gBAClE,CAAC;gBAED,MAAM,GAAG,IAAI,CAAC,UAAU,CAA+B,IAAI,EAAE;oBAC3D,IAAI,EAAE,0BAAc,CAAC,mBAAmB;oBACxC,MAAM,EAAE,IAAI,CAAC,iBAAiB,CAAC,IAAI,CAAC,UAAU,EAAE,MAAM,CAAC;oBACvD,QAAQ,EAAE,IAAI,CAAC,oBAAoB,CAAC,IAAI,CAAC,IAAI,CAAC;iBAC/C,CAAC,CAAC;gBACH,MAAM;YAER,KAAK,UAAU,CAAC,WAAW,CAAC;YAC5B,KAAK,UAAU,CAAC,UAAU,CAAC;YAC3B;gBACE,OAAO,IAAI,CAAC,+BAA+B,CAAC,IAAI,CAAC,CAAC;QACtD,CAAC;QAED,IAAI,CAAC,uBAAuB,CAAC,IAAI,EAAE,MAAM,CAAC,CAAC;QAC3C,OAAO,MAAM,CAAC;IAChB,CAAC;IAEO,sBAAsB,CAC5B,IAG6B;QAE7B,OAAO,IAAI,CAAC,UAAU,CAA6B,IAAI,EAAE;YACvD,IAAI,EAAE,0BAAc,CAAC,iBAAiB;YACtC,aAAa,EAAE,IAAA,mCAAsB,EAAC,IAAI,CAAC;YAC3C,QAAQ,EAAE,IAAA,+BAAkB,EAAC,IAAI,CAAC,IAAI,CAAC;YACvC,GAAG,EAAE,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,IAAI,CAAC;YACjC,IAAI,EAAE,CAAC,GAA6B,EAAE;gBACpC,QAAQ,IAAI,CAAC,IAAI,EAAE,CAAC;oBAClB,KAAK,UAAU,CAAC,WAAW;wBACzB,OAAO,KAAK,CAAC;oBAEf,KAAK,UAAU,CAAC,WAAW;wBACzB,OAAO,KAAK,CAAC;oBAEf,KAAK,UAAU,CAAC,eAAe;wBAC7B,OAAO,QAAQ,CAAC;gBACpB,CAAC;YACH,CAAC,CAAC,EAAE;YACJ,QAAQ,EAAE,IAAA,uBAAU,EAAC,IAAI,CAAC;YAC1B,MAAM,EAAE,IAAI,CAAC,iBAAiB,CAAC,IAAI,CAAC,UAAU,CAAC;YAC/C,QAAQ,EAAE,IAAA,wBAAW,EAAC,UAAU,CAAC,eAAe,EAAE,IAAI,CAAC;YACvD,UAAU,EAAE,IAAI,CAAC,IAAI,IAAI,IAAI,CAAC,qBAAqB,CAAC,IAAI,CAAC,IAAI,EAAE,IAAI,CAAC;YACpE,MAAM,EAAE,IAAA,wBAAW,EAAC,UAAU,CAAC,aAAa,EAAE,IAAI,CAAC;YACnD,cAAc,EACZ,IAAI,CAAC,cAAc;gBACnB,IAAI,CAAC,kDAAkD,CACrD,IAAI,CAAC,cAAc,CACpB;SACJ,CAAC,CAAC;IACL,CAAC;IAED;;;;OAIG;IACK,iBAAiB,CACvB,MAAyB,EACzB,UAA4B;QAE5B,IAAI,UAAU,CAAC,CAAC,CAAC,GAAG,MAAM,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,CAAC;YACpC,MAAM,CAAC,KAAK,CAAC,CAAC,CAAC,GAAG,UAAU,CAAC,CAAC,CAAC,CAAC;YAChC,MAAM,CAAC,GAAG,CAAC,KAAK,GAAG,IAAA,mCAAsB,EAAC,MAAM,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,IAAI,CAAC,GAAG,CAAC,CAAC;QACvE,CAAC;QACD,IAAI,UAAU,CAAC,CAAC,CAAC,GAAG,MAAM,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,CAAC;YACpC,MAAM,CAAC,KAAK,CAAC,CAAC,CAAC,GAAG,UAAU,CAAC,CAAC,CAAC,CAAC;YAChC,MAAM,CAAC,GAAG,CAAC,GAAG,GAAG,IAAA,mCAAsB,EAAC,MAAM,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,IAAI,CAAC,GAAG,CAAC,CAAC;QACrE,CAAC;IACH,CAAC;IAED;;;;;OAKG;IACK,WAAW,CAAC,IAAY,EAAE,MAAc;QAC9C,QAAQ,IAAI,CAAC,IAAI,EAAE,CAAC;YAClB,KAAK,UAAU,CAAC,UAAU,CAAC,CAAC,CAAC;gBAC3B,OAAO,IAAI,CAAC,UAAU,CAAmB,IAAI,EAAE;oBAC7C,IAAI,EAAE,0BAAc,CAAC,OAAO;oBAC5B,KAAK,EAAE,CAAC,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,GAAG,CAAC,EAAE,IAAI,CAAC,cAAc,CAAC,GAAG,CAAC;oBACzD,IAAI,EAAE,IAAI,CAAC,sBAAsB,CAAC,IAAI,CAAC,UAAU,EAAE,IAAI,CAAC;oBACxD,QAAQ,EAAE,SAAS;oBACnB,UAAU,EAAE,IAAI,CAAC,uBAAuB,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,QAAQ;oBAC9D,MAAM,EAAE,SAAS;iBAClB,CAAC,CAAC;YACL,CAAC;YAED,KAAK,UAAU,CAAC,KAAK,CAAC,CAAC,CAAC;gBACtB,OAAO,IAAI,CAAC,UAAU,CAA0B,IAAI,EAAE;oBACpD,IAAI,EAAE,0BAAc,CAAC,cAAc;oBACnC,IAAI,EAAE,IAAI,CAAC,sBAAsB,CAAC,IAAI,CAAC,UAAU,EAAE,IAAI,CAAC;iBACzD,CAAC,CAAC;YACL,CAAC;YAED,KAAK,UAAU,CAAC,UAAU,CAAC,CAAC,CAAC;gBAC3B,IAAI,IAAA,8BAAiB,EAAC,IAAI,CAAC,EAAE,CAAC;oBAC5B,yEAAyE;oBACzE,8DAA8D;oBAC9D,OAAO,IAAI,CAAC,UAAU,CAA0B,IAAI,EAAE;wBACpD,IAAI,EAAE,0BAAc,CAAC,cAAc;qBACpC,CAAC,CAAC;gBACL,CAAC;gBACD,OAAO,IAAI,CAAC,UAAU,CAAsB,IAAI,EAAE;oBAChD,IAAI,EAAE,0BAAc,CAAC,UAAU;oBAC/B,UAAU,EAAE,EAAE;oBACd,IAAI,EAAE,IAAI,CAAC,IAAI;oBACf,QAAQ,EAAE,KAAK;oBACf,cAAc,EAAE,SAAS;iBAC1B,CAAC,CAAC;YACL,CAAC;YAED,KAAK,UAAU,CAAC,iBAAiB,CAAC,CAAC,CAAC;gBAClC,OAAO,IAAI,CAAC,UAAU,CAA6B,IAAI,EAAE;oBACvD,IAAI,EAAE,0BAAc,CAAC,iBAAiB;oBACtC,0CAA0C;oBAC1C,IAAI,EAAE,IAAI,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC;iBACzB,CAAC,CAAC;YACL,CAAC;YAED,KAAK,UAAU,CAAC,aAAa;gBAC3B,OAAO,IAAI,CAAC,UAAU,CAAyB,IAAI,EAAE;oBACnD,IAAI,EAAE,0BAAc,CAAC,aAAa;oBAClC,IAAI,EAAE,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,SAAS,CAAC;oBACvC,MAAM,EAAE,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,UAAU,CAAC;iBAC3C,CAAC,CAAC;YAEL,eAAe;YAEf,KAAK,UAAU,CAAC,eAAe;gBAC7B,OAAO,IAAI,CAAC,UAAU,CAA2B,IAAI,EAAE;oBACrD,IAAI,EAAE,0BAAc,CAAC,eAAe;oBACpC,QAAQ,EAAE,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,UAAU,CAAC;iBAC7C,CAAC,CAAC;YAEL,KAAK,UAAU,CAAC,gBAAgB;gBAC9B,OAAO,IAAI,CAAC,UAAU,CAA4B,IAAI,EAAE;oBACtD,IAAI,EAAE,0BAAc,CAAC,gBAAgB;oBACrC,IAAI,EAAE,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,SAAS,CAAC;oBACvC,KAAK,EAAE,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,KAAK,CAAC;iBACrC,CAAC,CAAC;YAEL,KAAK,UAAU,CAAC,iBAAiB;gBAC/B,OAAO,IAAI,CAAC,UAAU,CAA6B,IAAI,EAAE;oBACvD,IAAI,EAAE,0BAAc,CAAC,iBAAiB;oBACtC,KAAK,EAAE,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,KAAK,CAAC;iBACrC,CAAC,CAAC;YAEL,KAAK,UAAU,CAAC,cAAc;gBAC5B,OAAO,IAAI,CAAC,UAAU,CAA0B,IAAI,EAAE;oBACpD,IAAI,EAAE,0BAAc,CAAC,cAAc;oBACnC,KAAK,EAAE,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,KAAK,CAAC;iBACrC,CAAC,CAAC;YAEL,SAAS;YAET,KAAK,UAAU,CAAC,WAAW;gBACzB,OAAO,IAAI,CAAC,UAAU,CAAuB,IAAI,EAAE;oBACjD,IAAI,EAAE,0BAAc,CAAC,WAAW;oBAChC,SAAS,EAAE,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,aAAa,CAAC;oBAChD,UAAU,EAAE,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,aAAa,CAAC;oBACjD,IAAI,EAAE,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,UAAU,CAAC;iBACzC,CAAC,CAAC;YAEL,KAAK,UAAU,CAAC,eAAe;gBAC7B,IACE,IAAI,CAAC,SAAS,CAAC,OAAO,CAAC,MAAM,CAC3B,UAAU,CAAC,EAAE,CAAC,UAAU,CAAC,IAAI,KAAK,UAAU,CAAC,aAAa,CAC3D,CAAC,MAAM,GAAG,CAAC,EACZ,CAAC;oBACD,IAAI,CAAC,WAAW,CACd,IAAI,EACJ,0EAA0E,CAC3E,CAAC;gBACJ,CAAC;gBAED,OAAO,IAAI,CAAC,UAAU,CAA2B,IAAI,EAAE;oBACrD,IAAI,EAAE,0BAAc,CAAC,eAAe;oBACpC,KAAK,EAAE,IAAI,CAAC,SAAS,CAAC,OAAO,CAAC,GAAG,CAAC,EAAE,CAAC,EAAE,CAAC,IAAI,CAAC,YAAY,CAAC,EAAE,CAAC,CAAC;oBAC9D,YAAY,EAAE,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,UAAU,CAAC;iBACjD,CAAC,CAAC;YAEL,KAAK,UAAU,CAAC,UAAU,CAAC;YAC3B,KAAK,UAAU,CAAC,aAAa;gBAC3B,OAAO,IAAI,CAAC,UAAU,CAAsB,IAAI,EAAE;oBAChD,IAAI,EAAE,0BAAc,CAAC,UAAU;oBAC/B,qCAAqC;oBACrC,UAAU,EAAE,IAAI,CAAC,UAAU,CAAC,GAAG,CAAC,EAAE,CAAC,EAAE,CAAC,IAAI,CAAC,YAAY,CAAC,EAAE,CAAC,CAAC;oBAC5D,IAAI,EACF,IAAI,CAAC,IAAI,KAAK,UAAU,CAAC,UAAU;wBACjC,CAAC,CAAC,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,UAAU,CAAC;wBACpC,CAAC,CAAC,IAAI;iBACX,CAAC,CAAC;YAEL,aAAa;YAEb,KAAK,UAAU,CAAC,cAAc;gBAC5B,IAAI,IAAI,CAAC,UAAU,CAAC,GAAG,KAAK,IAAI,CAAC,UAAU,CAAC,GAAG,EAAE,CAAC;oBAChD,IAAI,CAAC,2BAA2B,CAC9B,IAAI,EACJ,6CAA6C,CAC9C,CAAC;gBACJ,CAAC;gBAED,OAAO,IAAI,CAAC,UAAU,CAA0B,IAAI,EAAE;oBACpD,IAAI,EAAE,0BAAc,CAAC,cAAc;oBACnC,QAAQ,EAAE,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,UAAU,CAAC;iBAC7C,CAAC,CAAC;YAEL,KAAK,UAAU,CAAC,YAAY;gBAC1B,OAAO,IAAI,CAAC,UAAU,CAAwB,IAAI,EAAE;oBAClD,IAAI,EAAE,0BAAc,CAAC,YAAY;oBACjC,KAAK,EAAE,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,QAAQ,CAAC;oBACvC,SAAS,EAAE,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,YAAY,CAAC;oBAC/C,OAAO,EAAE,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,WAAW,CAAC;iBAC7C,CAAC,CAAC;YAEL,KAAK,UAAU,CAAC,WAAW;gBACzB,IAAI,IAAI,CAAC,mBAAmB,EAAE,WAAW,EAAE,CAAC;oBAC1C,IAAI,CAAC,WAAW,CACd,IAAI,CAAC,mBAAmB,CAAC,WAAW,EACpC,mDAAmD,CACpD,CAAC;gBACJ,CAAC;gBACD,OAAO,IAAI,CAAC,UAAU,CAAuB,IAAI,EAAE;oBACjD,IAAI,EAAE,0BAAc,CAAC,WAAW;oBAChC,IAAI,EAAE,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,KAAK,CAAC;oBACnC,KAAK,EAAE,IAAI,CAAC,mBAAmB;wBAC7B,CAAC,CAAC,IAAI,CAAC,oCAAoC,CACvC,IAAI,CAAC,mBAAmB,CAAC,IAAI,EAC7B,IAAI,CAAC,mBAAmB,CAAC,IAAI,CAC9B;wBACH,CAAC,CAAC,IAAI;iBACT,CAAC,CAAC;YAEL,QAAQ;YAER,KAAK,UAAU,CAAC,cAAc;gBAC5B,OAAO,IAAI,CAAC,UAAU,CAA0B,IAAI,EAAE;oBACpD,IAAI,EAAE,0BAAc,CAAC,cAAc;oBACnC,IAAI,EAAE,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,SAAS,CAAC;oBACvC,IAAI,EAAE,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,UAAU,CAAC;iBACzC,CAAC,CAAC;YAEL;;;eAGG;YACH,KAAK,UAAU,CAAC,WAAW;gBACzB,OAAO,IAAI,CAAC,UAAU,CAA4B,IAAI,EAAE;oBACtD,IAAI,EAAE,0BAAc,CAAC,gBAAgB;oBACrC,IAAI,EAAE,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,SAAS,CAAC;oBACvC,IAAI,EAAE,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,UAAU,CAAC;iBACzC,CAAC,CAAC;YAEL,KAAK,UAAU,CAAC,YAAY;gBAC1B,OAAO,IAAI,CAAC,UAAU,CAAwB,IAAI,EAAE;oBAClD,IAAI,EAAE,0BAAc,CAAC,YAAY;oBACjC,IAAI,EAAE,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,SAAS,CAAC;oBACvC,IAAI,EAAE,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,WAAW,CAAC;oBACzC,IAAI,EAAE,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,SAAS,CAAC;oBACvC,MAAM,EAAE,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,WAAW,CAAC;iBAC5C,CAAC,CAAC;YAEL,KAAK,UAAU,CAAC,cAAc;gBAC5B,IAAI,CAAC,6BAA6B,CAAC,IAAI,CAAC,WAAW,EAAE,IAAI,CAAC,IAAI,CAAC,CAAC;gBAChE,OAAO,IAAI,CAAC,UAAU,CAA0B,IAAI,EAAE;oBACpD,IAAI,EAAE,0BAAc,CAAC,cAAc;oBACnC,IAAI,EAAE,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,SAAS,CAAC;oBACvC,IAAI,EAAE,IAAI,CAAC,cAAc,CAAC,IAAI,CAAC,WAAW,CAAC;oBAC3C,KAAK,EAAE,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,UAAU,CAAC;iBAC1C,CAAC,CAAC;YAEL,KAAK,UAAU,CAAC,cAAc,CAAC,CAAC,CAAC;gBAC/B,IAAI,CAAC,6BAA6B,CAAC,IAAI,CAAC,WAAW,EAAE,IAAI,CAAC,IAAI,CAAC,CAAC;gBAChE,OAAO,IAAI,CAAC,UAAU,CAA0B,IAAI,EAAE;oBACpD,IAAI,EAAE,0BAAc,CAAC,cAAc;oBACnC,KAAK,EAAE,OAAO,CACZ,IAAI,CAAC,aAAa;wBAChB,IAAI,CAAC,aAAa,CAAC,IAAI,KAAK,UAAU,CAAC,YAAY,CACtD;oBACD,IAAI,EAAE,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,SAAS,CAAC;oBACvC,IAAI,EAAE,IAAI,CAAC,cAAc,CAAC,IAAI,CAAC,WAAW,CAAC;oBAC3C,KAAK,EAAE,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,UAAU,CAAC;iBAC1C,CAAC,CAAC;YACL,CAAC;YAED,eAAe;YAEf,KAAK,UAAU,CAAC,mBAAmB,CAAC,CAAC,CAAC;gBACpC,MAAM,SAAS,GAAG,IAAA,wBAAW,EAAC,UAAU,CAAC,cAAc,EAAE,IAAI,CAAC,CAAC;gBAC/D,MAAM,OAAO,GAAG,IAAA,wBAAW,EAAC,UAAU,CAAC,YAAY,EAAE,IAAI,CAAC,CAAC;gBAC3D,MAAM,WAAW,GAAG,CAAC,CAAC,IAAI,CAAC,aAAa,CAAC;gBACzC,IAAI,SAAS,EAAE,CAAC;oBACd,IAAI,IAAI,CAAC,IAAI,EAAE,CAAC;wBACd,IAAI,CAAC,WAAW,CACd,IAAI,EACJ,2DAA2D,CAC5D,CAAC;oBACJ,CAAC;yBAAM,IAAI,OAAO,EAAE,CAAC;wBACnB,IAAI,CAAC,WAAW,CACd,IAAI,EACJ,wDAAwD,CACzD,CAAC;oBACJ,CAAC;yBAAM,IAAI,WAAW,EAAE,CAAC;wBACvB,IAAI,CAAC,WAAW,CACd,IAAI,EACJ,mDAAmD,CACpD,CAAC;oBACJ,CAAC;gBACH,CAAC;qBAAM,IAAI,CAAC,IAAI,CAAC,IAAI,IAAI,WAAW,EAAE,CAAC;oBACrC,IAAI,CAAC,WAAW,CACd,IAAI,EACJ,yDAAyD,CAC1D,CAAC;gBACJ,CAAC;gBAED,MAAM,MAAM,GAAG,IAAI,CAAC,UAAU,CAE5B,IAAI,EAAE;oBACN,qDAAqD;oBACrD,IAAI,EAAE,CAAC,IAAI,CAAC,IAAI;wBACd,CAAC,CAAC,0BAAc,CAAC,iBAAiB;wBAClC,CAAC,CAAC,0BAAc,CAAC,mBAAmB;oBACtC,KAAK,EAAE,OAAO;oBACd,IAAI,EAAE,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,IAAI,CAAC,IAAI,SAAS;oBAC/C,OAAO,EAAE,SAAS;oBAClB,UAAU,EAAE,KAAK;oBACjB,SAAS,EAAE,WAAW;oBACtB,EAAE,EAAE,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,IAAI,CAAC;oBAChC,MAAM,EAAE,IAAI,CAAC,iBAAiB,CAAC,IAAI,CAAC,UAAU,CAAC;oBAC/C,UAAU,EAAE,IAAI,CAAC,IAAI,IAAI,IAAI,CAAC,qBAAqB,CAAC,IAAI,CAAC,IAAI,EAAE,IAAI,CAAC;oBACpE,cAAc,EACZ,IAAI,CAAC,cAAc;wBACnB,IAAI,CAAC,kDAAkD,CACrD,IAAI,CAAC,cAAc,CACpB;iBACJ,CAAC,CAAC;gBAEH,OAAO,IAAI,CAAC,UAAU,CAAC,IAAI,EAAE,MAAM,CAAC,CAAC;YACvC,CAAC;YAED,KAAK,UAAU,CAAC,mBAAmB,CAAC,CAAC,CAAC;gBACpC,MAAM,QAAQ,GAAG,CAAC,CAAC,IAAI,CAAC,gBAAgB,CAAC;gBACzC,MAAM,IAAI,GAAG,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC;gBACjD,MAAM,EAAE,GAAG,IAAI,CAAC,oCAAoC,CAClD,IAAI,CAAC,IAAI,EACT,IAAI,CAAC,IAAI,EACT,IAAI,CACL,CAAC;gBACF,IAAI,QAAQ,EAAE,CAAC;oBACb,IAAI,IAAI,EAAE,CAAC;wBACT,IAAI,CAAC,WAAW,CACd,IAAI,EACJ,iFAAiF,CAClF,CAAC;oBACJ,CAAC;yBAAM,IACL,EAAE,CAAC,IAAI,KAAK,0BAAc,CAAC,UAAU;wBACrC,CAAC,EAAE,CAAC,cAAc,EAClB,CAAC;wBACD,IAAI,CAAC,WAAW,CACd,IAAI,EACJ,mFAAmF,CACpF,CAAC;oBACJ,CAAC;gBACH,CAAC;gBACD,OAAO,IAAI,CAAC,UAAU,CAA8B,IAAI,EAAE;oBACxD,IAAI,EAAE,0BAAc,CAAC,kBAAkB;oBACvC,QAAQ;oBACR,EAAE;oBACF,IAAI;iBACL,CAAC,CAAC;YACL,CAAC;YAED,KAAK,UAAU,CAAC,iBAAiB,CAAC,CAAC,CAAC;gBAClC,MAAM,MAAM,GAAG,IAAI,CAAC,UAAU,CAA+B,IAAI,EAAE;oBACjE,IAAI,EAAE,0BAAc,CAAC,mBAAmB;oBACxC,YAAY,EAAE,IAAI,CAAC,eAAe,CAAC,YAAY,CAAC,GAAG,CAAC,EAAE,CAAC,EAAE,CACvD,IAAI,CAAC,YAAY,CAAC,EAAE,CAAC,CACtB;oBACD,OAAO,EAAE,IAAA,wBAAW,EAAC,UAAU,CAAC,cAAc,EAAE,IAAI,CAAC;oBACrD,IAAI,EAAE,IAAA,+BAAkB,EAAC,IAAI,CAAC,eAAe,CAAC;iBAC/C,CAAC,CAAC;gBAEH,IAAI,CAAC,MAAM,CAAC,YAAY,CAAC,MAAM,EAAE,CAAC;oBAChC,IAAI,CAAC,2BAA2B,CAC9B,IAAI,EACJ,yEAAyE,CAC1E,CAAC;gBACJ,CAAC;gBACD,IAAI,MAAM,CAAC,IAAI,KAAK,OAAO,IAAI,MAAM,CAAC,IAAI,KAAK,aAAa,EAAE,CAAC;oBAC7D,IAAI,CAAC,eAAe,CAAC,YAAY,CAAC,OAAO,CAAC,CAAC,WAAW,EAAE,CAAC,EAAE,EAAE;wBAC3D,IAAI,MAAM,CAAC,YAAY,CAAC,CAAC,CAAC,CAAC,IAAI,IAAI,IAAI,EAAE,CAAC;4BACxC,IAAI,CAAC,WAAW,CACd,WAAW,EACX,IAAI,MAAM,CAAC,IAAI,qCAAqC,CACrD,CAAC;wBACJ,CAAC;wBACD,IAAI,MAAM,CAAC,YAAY,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC,IAAI,KAAK,0BAAc,CAAC,UAAU,EAAE,CAAC;4BACjE,IAAI,CAAC,WAAW,CACd,WAAW,CAAC,IAAI,EAChB,IAAI,MAAM,CAAC,IAAI,+CAA+C,CAC/D,CAAC;wBACJ,CAAC;oBACH,CAAC,CAAC,CAAC;gBACL,CAAC;gBACD,+DAA+D;gBAC/D,IACE,MAAM,CAAC,OAAO;oBACd,CAAC,aAAa,EAAE,OAAO,EAAE,OAAO,CAAC,CAAC,QAAQ,CAAC,MAAM,CAAC,IAAI,CAAC,EACvD,CAAC;oBACD,IAAI,CAAC,eAAe,CAAC,YAAY,CAAC,OAAO,CAAC,CAAC,WAAW,EAAE,CAAC,EAAE,EAAE;wBAC3D,IAAI,MAAM,CAAC,YAAY,CAAC,CAAC,CAAC,CAAC,QAAQ,EAAE,CAAC;4BACpC,IAAI,CAAC,WAAW,CACd,WAAW,EACX,uEAAuE,CACxE,CAAC;wBACJ,CAAC;oBACH,CAAC,CAAC,CAAC;gBACL,CAAC;gBACD,IAAI,MAAM,CAAC,OAAO,EAAE,CAAC;oBACnB,IAAI,CAAC,eAAe,CAAC,YAAY,CAAC,OAAO,CAAC,CAAC,WAAW,EAAE,CAAC,EAAE,EAAE;wBAC3D,IACE,MAAM,CAAC,YAAY,CAAC,CAAC,CAAC,CAAC,IAAI;4BAC3B,CAAC,CAAC,KAAK,EAAE,KAAK,CAAC,CAAC,QAAQ,CAAC,MAAM,CAAC,IAAI,CAAC;gCACnC,MAAM,CAAC,YAAY,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC,cAAc,CAAC,EAC3C,CAAC;4BACD,IAAI,CAAC,WAAW,CACd,WAAW,EACX,qDAAqD,CACtD,CAAC;wBACJ,CAAC;oBACH,CAAC,CAAC,CAAC;oBACH,0EAA0E;oBAC1E,wEAAwE;oBACxE,mEAAmE;oBACnE,kBAAkB;gBACpB,CAAC;gBACD,sEAAsE;gBACtE,0EAA0E;gBAC1E,gCAAgC;gBAEhC;;;;;;mBAMG;gBACH,OAAO,IAAI,CAAC,UAAU,CAAC,IAAI,EAAE,MAAM,CAAC,CAAC;YACvC,CAAC;YAED,4BAA4B;YAC5B,KAAK,UAAU,CAAC,uBAAuB,CAAC,CAAC,CAAC;gBACxC,MAAM,MAAM,GAAG,IAAI,CAAC,UAAU,CAA+B,IAAI,EAAE;oBACjE,IAAI,EAAE,0BAAc,CAAC,mBAAmB;oBACxC,YAAY,EAAE,IAAI,CAAC,YAAY,CAAC,GAAG,CAAC,EAAE,CAAC,EAAE,CAAC,IAAI,CAAC,YAAY,CAAC,EAAE,CAAC,CAAC;oBAChE,OAAO,EAAE,KAAK;oBACd,IAAI,EAAE,IAAA,+BAAkB,EAAC,IAAI,CAAC;iBAC/B,CAAC,CAAC;gBAEH,IAAI,MAAM,CAAC,IAAI,KAAK,OAAO,IAAI,MAAM,CAAC,IAAI,KAAK,aAAa,EAAE,CAAC;oBAC7D,IAAI,CAAC,YAAY,CAAC,OAAO,CAAC,CAAC,WAAW,EAAE,CAAC,EAAE,EAAE;wBAC3C,IAAI,MAAM,CAAC,YAAY,CAAC,CAAC,CAAC,CAAC,IAAI,IAAI,IAAI,EAAE,CAAC;4BACxC,IAAI,CAAC,WAAW,CACd,WAAW,EACX,IAAI,MAAM,CAAC,IAAI,yDAAyD,CACzE,CAAC;wBACJ,CAAC;wBACD,IAAI,MAAM,CAAC,YAAY,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC,IAAI,KAAK,0BAAc,CAAC,UAAU,EAAE,CAAC;4BACjE,IAAI,CAAC,WAAW,CACd,WAAW,CAAC,IAAI,EAChB,IAAI,MAAM,CAAC,IAAI,+CAA+C,CAC/D,CAAC;wBACJ,CAAC;oBACH,CAAC,CAAC,CAAC;gBACL,CAAC;gBACD,OAAO,MAAM,CAAC;YAChB,CAAC;YAED,cAAc;YAEd,KAAK,UAAU,CAAC,mBAAmB;gBACjC,OAAO,IAAI,CAAC,UAAU,CAA+B,IAAI,EAAE;oBACzD,IAAI,EAAE,0BAAc,CAAC,mBAAmB;oBACxC,SAAS,EAAE,SAAS;oBACpB,UAAU,EAAE,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,UAAU,CAAC;iBAC/C,CAAC,CAAC;YAEL,KAAK,UAAU,CAAC,WAAW;gBACzB,OAAO,IAAI,CAAC,UAAU,CAA0B,IAAI,EAAE;oBACpD,IAAI,EAAE,0BAAc,CAAC,cAAc;iBACpC,CAAC,CAAC;YAEL,KAAK,UAAU,CAAC,sBAAsB,CAAC,CAAC,CAAC;gBACvC,0EAA0E;gBAC1E,IAAI,IAAI,CAAC,YAAY,EAAE,CAAC;oBACtB,OAAO,IAAI,CAAC,UAAU,CAAwB,IAAI,EAAE;wBAClD,IAAI,EAAE,0BAAc,CAAC,YAAY;wBACjC,UAAU,EAAE,EAAE;wBACd,QAAQ,EAAE,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,EAAE,CAAC,EAAE,CAAC,IAAI,CAAC,cAAc,CAAC,EAAE,CAAC,CAAC;wBAC1D,QAAQ,EAAE,KAAK;wBACf,cAAc,EAAE,SAAS;qBAC1B,CAAC,CAAC;gBACL,CAAC;gBACD,OAAO,IAAI,CAAC,UAAU,CAA2B,IAAI,EAAE;oBACrD,IAAI,EAAE,0BAAc,CAAC,eAAe;oBACpC,QAAQ,EAAE,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,EAAE,CAAC,EAAE,CAAC,IAAI,CAAC,YAAY,CAAC,EAAE,CAAC,CAAC;iBACzD,CAAC,CAAC;YACL,CAAC;YAED,KAAK,UAAU,CAAC,uBAAuB,CAAC,CAAC,CAAC;gBACxC,2EAA2E;gBAC3E,IAAI,IAAI,CAAC,YAAY,EAAE,CAAC;oBACtB,OAAO,IAAI,CAAC,UAAU,CAAyB,IAAI,EAAE;wBACnD,IAAI,EAAE,0BAAc,CAAC,aAAa;wBAClC,UAAU,EAAE,EAAE;wBACd,QAAQ,EAAE,KAAK;wBACf,UAAU,EAAE,IAAI,CAAC,UAAU,CAAC,GAAG,CAAC,EAAE,CAAC,EAAE,CAAC,IAAI,CAAC,cAAc,CAAC,EAAE,CAAC,CAAC;wBAC9D,cAAc,EAAE,SAAS;qBAC1B,CAAC,CAAC;gBACL,CAAC;gBAED,MAAM,UAAU,GAAwB,EAAE,CAAC;gBAC3C,KAAK,MAAM,QAAQ,IAAI,IAAI,CAAC,UAAU,EAAE,CAAC;oBACvC,IACE,CAAC,QAAQ,CAAC,IAAI,KAAK,UAAU,CAAC,WAAW;wBACvC,QAAQ,CAAC,IAAI,KAAK,UAAU,CAAC,WAAW;wBACxC,QAAQ,CAAC,IAAI,KAAK,UAAU,CAAC,iBAAiB,CAAC;wBACjD,CAAC,QAAQ,CAAC,IAAI,EACd,CAAC;wBACD,IAAI,CAAC,2BAA2B,CAAC,QAAQ,CAAC,GAAG,GAAG,CAAC,EAAE,eAAe,CAAC,CAAC;oBACtE,CAAC;oBAED,UAAU,CAAC,IAAI,CAAC,IAAI,CAAC,YAAY,CAAC,QAAQ,CAAsB,CAAC,CAAC;gBACpE,CAAC;gBAED,OAAO,IAAI,CAAC,UAAU,CAA4B,IAAI,EAAE;oBACtD,IAAI,EAAE,0BAAc,CAAC,gBAAgB;oBACrC,UAAU;iBACX,CAAC,CAAC;YACL,CAAC;YAED,KAAK,UAAU,CAAC,kBAAkB,CAAC,CAAC,CAAC;gBACnC,4DAA4D;gBAC5D,MAAM,EAAE,gBAAgB,EAAE,aAAa,EAAE,GAAG,IAAI,CAAC;gBAEjD,IAAI,aAAa,EAAE,CAAC;oBAClB,IAAI,CAAC,WAAW,CACd,aAAa,EACb,qDAAqD,CACtD,CAAC;gBACJ,CAAC;gBAED,IAAI,gBAAgB,EAAE,CAAC;oBACrB,IAAI,CAAC,WAAW,CACd,gBAAgB,EAChB,yDAAyD,CAC1D,CAAC;gBACJ,CAAC;gBAED,OAAO,IAAI,CAAC,UAAU,CAAoB,IAAI,EAAE;oBAC9C,IAAI,EAAE,0BAAc,CAAC,QAAQ;oBAC7B,QAAQ,EAAE,IAAA,+BAAkB,EAAC,IAAI,CAAC,IAAI,CAAC;oBACvC,GAAG,EAAE,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,IAAI,CAAC;oBACjC,IAAI,EAAE,MAAM;oBACZ,MAAM,EAAE,KAAK;oBACb,QAAQ,EAAE,KAAK;oBACf,SAAS,EAAE,KAAK;oBAChB,KAAK,EAAE,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,WAAW,EAAE,IAAI,EAAE,IAAI,CAAC,YAAY,CAAC;iBACjE,CAAC,CAAC;YACL,CAAC;YAED,KAAK,UAAU,CAAC,2BAA2B,CAAC,CAAC,CAAC;gBAC5C,4DAA4D;gBAC5D,MAAM,EAAE,gBAAgB,EAAE,SAAS,EAAE,aAAa,EAAE,GAAG,IAAI,CAAC;gBAE5D,IAAI,SAAS,EAAE,CAAC;oBACd,IAAI,CAAC,WAAW,CACd,SAAS,CAAC,CAAC,CAAC,EACZ,wDAAwD,CACzD,CAAC;gBACJ,CAAC;gBAED,IAAI,aAAa,EAAE,CAAC;oBAClB,IAAI,CAAC,WAAW,CACd,aAAa,EACb,+DAA+D,CAChE,CAAC;gBACJ,CAAC;gBAED,IAAI,gBAAgB,EAAE,CAAC;oBACrB,IAAI,CAAC,WAAW,CACd,gBAAgB,EAChB,mEAAmE,CACpE,CAAC;gBACJ,CAAC;gBAED,IAAI,IAAI,CAAC,2BAA2B,EAAE,CAAC;oBACrC,OAAO,IAAI,CAAC,UAAU,CAAoB,IAAI,EAAE;wBAC9C,IAAI,EAAE,0BAAc,CAAC,QAAQ;wBAC7B,QAAQ,EAAE,KAAK;wBACf,GAAG,EAAE,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,IAAI,CAAC;wBACjC,IAAI,EAAE,MAAM;wBACZ,MAAM,EAAE,KAAK;wBACb,QAAQ,EAAE,KAAK;wBACf,SAAS,EAAE,IAAI;wBACf,KAAK,EAAE,IAAI,CAAC,UAAU,CAA6B,IAAI,EAAE;4BACvD,IAAI,EAAE,0BAAc,CAAC,iBAAiB;4BACtC,UAAU,EAAE,EAAE;4BACd,IAAI,EAAE,IAAI,CAAC,cAAc,CAAC,IAAI,CAAC,IAAI,CAAC;4BACpC,QAAQ,EAAE,KAAK;4BACf,KAAK,EAAE,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,2BAA2B,CAAC;4BAC1D,cAAc,EAAE,SAAS;yBAC1B,CAAC;qBACH,CAAC,CAAC;gBACL,CAAC;gBACD,OAAO,IAAI,CAAC,UAAU,CAAoB,IAAI,EAAE;oBAC9C,IAAI,EAAE,0BAAc,CAAC,QAAQ;oBAC7B,QAAQ,EAAE,KAAK;oBACf,GAAG,EAAE,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,IAAI,CAAC;oBACjC,IAAI,EAAE,MAAM;oBACZ,MAAM,EAAE,KAAK;oBACb,QAAQ,EAAE,KAAK;oBACf,SAAS,EAAE,IAAI;oBACf,KAAK,EAAE,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,IAAI,CAAC;iBACpC,CAAC,CAAC;YACL,CAAC;YAED,KAAK,UAAU,CAAC,oBAAoB;gBAClC,OAAO,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC;YAE5C,KAAK,UAAU,CAAC,mBAAmB,CAAC,CAAC,CAAC;gBACpC,MAAM,UAAU,GAAG,IAAA,wBAAW,EAAC,UAAU,CAAC,eAAe,EAAE,IAAI,CAAC,CAAC;gBAEjE,IAAI,UAAU,IAAI,IAAI,CAAC,WAAW,EAAE,CAAC;oBACnC,IAAI,CAAC,WAAW,CACd,IAAI,CAAC,WAAW,EAChB,+CAA+C,CAChD,CAAC;gBACJ,CAAC;gBAED,MAAM,UAAU,GAAG,IAAA,wBAAW,EAAC,UAAU,CAAC,eAAe,EAAE,IAAI,CAAC,CAAC;gBACjE,MAAM,IAAI,GAAG,CAAC,GAAG,EAAE;oBACjB,IAAI,UAAU,EAAE,CAAC;wBACf,IAAI,UAAU,EAAE,CAAC;4BACf,OAAO,0BAAc,CAAC,0BAA0B,CAAC;wBACnD,CAAC;wBACD,OAAO,0BAAc,CAAC,gBAAgB,CAAC;oBACzC,CAAC;oBAED,IAAI,UAAU,EAAE,CAAC;wBACf,OAAO,0BAAc,CAAC,4BAA4B,CAAC;oBACrD,CAAC;oBACD,OAAO,0BAAc,CAAC,kBAAkB,CAAC;gBAC3C,CAAC,CAAC,EAAE,CAAC;gBAEL,MAAM,GAAG,GAAG,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;gBAEzC,OAAO,IAAI,CAAC,UAAU,CAKpB,IAAI,EAAE;oBACN,IAAI;oBACJ,aAAa,EAAE,IAAA,mCAAsB,EAAC,IAAI,CAAC;oBAC3C,QAAQ,EAAE,IAAA,+BAAkB,EAAC,IAAI,CAAC,IAAI,CAAC;oBACvC,OAAO,EAAE,IAAA,wBAAW,EAAC,UAAU,CAAC,cAAc,EAAE,IAAI,CAAC;oBACrD,UAAU,EACR,IAAA,4BAAa,EAAC,IAAI,CAAC,EAAE,GAAG,CAAC,EAAE,CAAC,EAAE,CAAC,IAAI,CAAC,YAAY,CAAC,EAAE,CAAC,CAAC,IAAI,EAAE;oBAC7D,QAAQ,EAAE,CAAC,CAAC,IAAI,CAAC,gBAAgB;oBACjC,GAAG;oBACH,QAAQ,EACN,CAAC,GAAG,CAAC,IAAI,KAAK,0BAAc,CAAC,OAAO;wBAClC,IAAI,CAAC,IAAI,CAAC,IAAI,KAAK,UAAU,CAAC,UAAU;wBACxC,IAAI,CAAC,IAAI,CAAC,IAAI,KAAK,UAAU,CAAC,oBAAoB;wBAClD,IAAI,CAAC,IAAI,CAAC,IAAI,KAAK,UAAU,CAAC,iBAAiB,CAAC;wBAClD,CAAC,CAAC,IAAI,CAAC,aAAa;oBAEtB,QAAQ,EAAE,IAAA,wBAAW,EAAC,UAAU,CAAC,eAAe,EAAE,IAAI,CAAC;oBACvD,QAAQ,EAAE,IAAA,wBAAW,EAAC,UAAU,CAAC,eAAe,EAAE,IAAI,CAAC;oBACvD,MAAM,EAAE,IAAA,wBAAW,EAAC,UAAU,CAAC,aAAa,EAAE,IAAI,CAAC;oBACnD,cAAc,EACZ,IAAI,CAAC,IAAI,IAAI,IAAI,CAAC,qBAAqB,CAAC,IAAI,CAAC,IAAI,EAAE,IAAI,CAAC;oBAC1D,KAAK,EAAE,UAAU,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,WAAW,CAAC;iBAC/D,CAAC,CAAC;YACL,CAAC;YAED,KAAK,UAAU,CAAC,WAAW,CAAC;YAC5B,KAAK,UAAU,CAAC,WAAW,CAAC,CAAC,CAAC;gBAC5B,IACE,IAAI,CAAC,MAAM,CAAC,IAAI,KAAK,UAAU,CAAC,oBAAoB;oBACpD,IAAI,CAAC,MAAM,CAAC,IAAI,KAAK,UAAU,CAAC,WAAW,EAC3C,CAAC;oBACD,OAAO,IAAI,CAAC,sBAAsB,CAAC,IAAI,CAAC,CAAC;gBAC3C,CAAC;YACH,CAAC;YACD,iEAAiE;YACjE,KAAK,UAAU,CAAC,iBAAiB,CAAC,CAAC,CAAC;gBAClC,MAAM,MAAM,GAAG,IAAI,CAAC,UAAU,CAE5B,IAAI,EAAE;oBACN,IAAI,EAAE,CAAC,IAAI,CAAC,IAAI;wBACd,CAAC,CAAC,0BAAc,CAAC,6BAA6B;wBAC9C,CAAC,CAAC,0BAAc,CAAC,kBAAkB;oBACrC,KAAK,EAAE,CAAC,IAAI,CAAC,UAAU,CAAC,GAAG,GAAG,CAAC,EAAE,IAAI,CAAC,GAAG,CAAC;oBAC1C,KAAK,EAAE,IAAA,wBAAW,EAAC,UAAU,CAAC,YAAY,EAAE,IAAI,CAAC;oBACjD,IAAI,EAAE,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,IAAI,CAAC;oBAClC,OAAO,EAAE,KAAK;oBACd,UAAU,EAAE,KAAK,EAAE,gCAAgC;oBACnD,SAAS,EAAE,CAAC,CAAC,IAAI,CAAC,aAAa;oBAC/B,EAAE,EAAE,IAAI;oBACR,MAAM,EAAE,EAAE;oBACV,UAAU,EAAE,IAAI,CAAC,IAAI,IAAI,IAAI,CAAC,qBAAqB,CAAC,IAAI,CAAC,IAAI,EAAE,IAAI,CAAC;oBACpE,cAAc,EACZ,IAAI,CAAC,cAAc;wBACnB,IAAI,CAAC,kDAAkD,CACrD,IAAI,CAAC,cAAc,CACpB;iBACJ,CAAC,CAAC;gBAEH,IAAI,MAAM,CAAC,cAAc,EAAE,CAAC;oBAC1B,IAAI,CAAC,iBAAiB,CAAC,MAAM,EAAE,MAAM,CAAC,cAAc,CAAC,KAAK,CAAC,CAAC;gBAC9D,CAAC;gBAED,IAAI,MAGmC,CAAC;gBAExC,IAAI,MAAM,CAAC,IAAI,KAAK,UAAU,CAAC,uBAAuB,EAAE,CAAC;oBACvD,MAAM,CAAC,MAAM,GAAG,IAAI,CAAC,UAAU,CAAC,GAAG,CAAC,EAAE,CAAC,EAAE,CAAC,IAAI,CAAC,YAAY,CAAC,EAAE,CAAC,CAAC,CAAC;oBAEjE,MAAM,GAAG,IAAI,CAAC,UAAU,CAAoB,IAAI,EAAE;wBAChD,IAAI,EAAE,0BAAc,CAAC,QAAQ;wBAC7B,QAAQ,EAAE,IAAA,+BAAkB,EAAC,IAAI,CAAC,IAAI,CAAC;wBACvC,GAAG,EAAE,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,IAAI,CAAC;wBACjC,IAAI,EAAE,MAAM;wBACZ,MAAM,EAAE,IAAI,CAAC,IAAI,KAAK,UAAU,CAAC,iBAAiB;wBAClD,QAAQ,EAAE,CAAC,CAAC,IAAI,CAAC,aAAa;wBAC9B,SAAS,EAAE,KAAK;wBAChB,KAAK,EAAE,MAAM;qBACd,CAAC,CAAC;gBACL,CAAC;qBAAM,CAAC;oBACN,QAAQ;oBAER;;uBAEG;oBACH,MAAM,CAAC,MAAM,GAAG,IAAI,CAAC,iBAAiB,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC;oBAExD;;uBAEG;oBACH,MAAM,oBAAoB,GAAG,IAAA,wBAAW,EACtC,UAAU,CAAC,eAAe,EAC1B,IAAI,CACL;wBACC,CAAC,CAAC,0BAAc,CAAC,0BAA0B;wBAC3C,CAAC,CAAC,0BAAc,CAAC,gBAAgB,CAAC;oBAEpC,MAAM,GAAG,IAAI,CAAC,UAAU,CAEtB,IAAI,EAAE;wBACN,IAAI,EAAE,oBAAoB;wBAC1B,aAAa,EAAE,IAAA,mCAAsB,EAAC,IAAI,CAAC;wBAC3C,QAAQ,EAAE,IAAA,+BAAkB,EAAC,IAAI,CAAC,IAAI,CAAC;wBACvC,UAAU,EACR,IAAA,4BAAa,EAAC,IAAI,CAAC,EAAE,GAAG,CAAC,EAAE,CAAC,EAAE,CAAC,IAAI,CAAC,YAAY,CAAC,EAAE,CAAC,CAAC,IAAI,EAAE;wBAC7D,GAAG,EAAE,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,IAAI,CAAC;wBACjC,IAAI,EAAE,QAAQ;wBACd,QAAQ,EAAE,CAAC,CAAC,IAAI,CAAC,aAAa;wBAC9B,QAAQ,EAAE,IAAA,wBAAW,EAAC,UAAU,CAAC,eAAe,EAAE,IAAI,CAAC;wBACvD,MAAM,EAAE,IAAA,wBAAW,EAAC,UAAU,CAAC,aAAa,EAAE,IAAI,CAAC;wBACnD,KAAK,EAAE,MAAM;qBACd,CAAC,CAAC;gBACL,CAAC;gBAED,IAAI,IAAI,CAAC,IAAI,KAAK,UAAU,CAAC,WAAW,EAAE,CAAC;oBACzC,MAAM,CAAC,IAAI,GAAG,KAAK,CAAC;gBACtB,CAAC;qBAAM,IAAI,IAAI,CAAC,IAAI,KAAK,UAAU,CAAC,WAAW,EAAE,CAAC;oBAChD,MAAM,CAAC,IAAI,GAAG,KAAK,CAAC;gBACtB,CAAC;qBAAM,IACL,CAAE,MAAoC,CAAC,MAAM;oBAC7C,IAAI,CAAC,IAAI,CAAC,IAAI,KAAK,UAAU,CAAC,aAAa;oBAC3C,IAAI,CAAC,IAAI,CAAC,IAAI,KAAK,aAAa;oBAChC,MAAM,CAAC,IAAI,KAAK,0BAAc,CAAC,QAAQ,EACvC,CAAC;oBACD,MAAM,CAAC,IAAI,GAAG,aAAa,CAAC;gBAC9B,CAAC;gBACD,OAAO,MAAM,CAAC;YAChB,CAAC;YAED,mEAAmE;YACnE,KAAK,UAAU,CAAC,WAAW,CAAC,CAAC,CAAC;gBAC5B,MAAM,YAAY,GAAG,IAAA,4BAAe,EAAC,IAAI,CAAC,CAAC;gBAC3C,MAAM,gBAAgB,GACpB,CAAC,YAAY,IAAI,IAAA,0BAAa,EAAC,YAAY,EAAE,IAAI,EAAE,IAAI,CAAC,GAAG,CAAC,CAAC;oBAC7D,IAAI,CAAC,aAAa,EAAG,CAAC;gBAExB,MAAM,WAAW,GAAG,IAAI,CAAC,UAAU,CAEjC,IAAI,EAAE;oBACN,IAAI,EAAE,CAAC,IAAI,CAAC,IAAI;wBACd,CAAC,CAAC,0BAAc,CAAC,6BAA6B;wBAC9C,CAAC,CAAC,0BAAc,CAAC,kBAAkB;oBACrC,KAAK,EAAE,CAAC,IAAI,CAAC,UAAU,CAAC,GAAG,GAAG,CAAC,EAAE,IAAI,CAAC,GAAG,CAAC;oBAC1C,KAAK,EAAE,KAAK;oBACZ,IAAI,EAAE,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,IAAI,CAAC;oBAClC,OAAO,EAAE,KAAK;oBACd,UAAU,EAAE,KAAK,EAAE,+BAA+B;oBAClD,SAAS,EAAE,KAAK;oBAChB,EAAE,EAAE,IAAI;oBACR,MAAM,EAAE,IAAI,CAAC,iBAAiB,CAAC,IAAI,CAAC,UAAU,CAAC;oBAC/C,UAAU,EAAE,IAAI,CAAC,IAAI,IAAI,IAAI,CAAC,qBAAqB,CAAC,IAAI,CAAC,IAAI,EAAE,IAAI,CAAC;oBACpE,cAAc,EACZ,IAAI,CAAC,cAAc;wBACnB,IAAI,CAAC,kDAAkD,CACrD,IAAI,CAAC,cAAc,CACpB;iBACJ,CAAC,CAAC;gBAEH,IAAI,WAAW,CAAC,cAAc,EAAE,CAAC;oBAC/B,IAAI,CAAC,iBAAiB,CAAC,WAAW,EAAE,WAAW,CAAC,cAAc,CAAC,KAAK,CAAC,CAAC;gBACxE,CAAC;gBAED,MAAM,cAAc,GAAG,IAAI,CAAC,UAAU,CAAsB,IAAI,EAAE;oBAChE,IAAI,EAAE,0BAAc,CAAC,UAAU;oBAC/B,KAAK,EAAE,CAAC,gBAAgB,CAAC,QAAQ,CAAC,IAAI,CAAC,GAAG,CAAC,EAAE,gBAAgB,CAAC,GAAG,CAAC;oBAClE,UAAU,EAAE,EAAE;oBACd,IAAI,EAAE,aAAa;oBACnB,QAAQ,EAAE,KAAK;oBACf,cAAc,EAAE,SAAS;iBAC1B,CAAC,CAAC;gBAEH,MAAM,QAAQ,GAAG,IAAA,wBAAW,EAAC,UAAU,CAAC,aAAa,EAAE,IAAI,CAAC,CAAC;gBAE7D,OAAO,IAAI,CAAC,UAAU,CAEpB,IAAI,EAAE;oBACN,IAAI,EAAE,IAAA,wBAAW,EAAC,UAAU,CAAC,eAAe,EAAE,IAAI,CAAC;wBACjD,CAAC,CAAC,0BAAc,CAAC,0BAA0B;wBAC3C,CAAC,CAAC,0BAAc,CAAC,gBAAgB;oBACnC,aAAa,EAAE,IAAA,mCAAsB,EAAC,IAAI,CAAC;oBAC3C,QAAQ,EAAE,KAAK;oBACf,UAAU,EAAE,EAAE;oBACd,GAAG,EAAE,cAAc;oBACnB,IAAI,EAAE,QAAQ,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,aAAa;oBACzC,QAAQ,EAAE,KAAK;oBACf,QAAQ,EAAE,KAAK;oBACf,MAAM,EAAE,QAAQ;oBAChB,KAAK,EAAE,WAAW;iBACnB,CAAC,CAAC;YACL,CAAC;YAED,KAAK,UAAU,CAAC,kBAAkB,CAAC,CAAC,CAAC;gBACnC,OAAO,IAAI,CAAC,UAAU,CAA8B,IAAI,EAAE;oBACxD,IAAI,EAAE,0BAAc,CAAC,kBAAkB;oBACvC,KAAK,EAAE,IAAA,wBAAW,EAAC,UAAU,CAAC,YAAY,EAAE,IAAI,CAAC;oBACjD,IAAI,EAAE,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,IAAI,CAAC;oBAClC,OAAO,EAAE,KAAK;oBACd,UAAU,EAAE,KAAK;oBACjB,SAAS,EAAE,CAAC,CAAC,IAAI,CAAC,aAAa;oBAC/B,EAAE,EAAE,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,IAAI,CAAC;oBAChC,MAAM,EAAE,IAAI,CAAC,iBAAiB,CAAC,IAAI,CAAC,UAAU,CAAC;oBAC/C,UAAU,EAAE,IAAI,CAAC,IAAI,IAAI,IAAI,CAAC,qBAAqB,CAAC,IAAI,CAAC,IAAI,EAAE,IAAI,CAAC;oBACpE,cAAc,EACZ,IAAI,CAAC,cAAc;wBACnB,IAAI,CAAC,kDAAkD,CACrD,IAAI,CAAC,cAAc,CACpB;iBACJ,CAAC,CAAC;YACL,CAAC;YAED,KAAK,UAAU,CAAC,YAAY;gBAC1B,OAAO,IAAI,CAAC,UAAU,CAAiB,IAAI,EAAE;oBAC3C,IAAI,EAAE,0BAAc,CAAC,KAAK;iBAC3B,CAAC,CAAC;YAEL,KAAK,UAAU,CAAC,mBAAmB;gBACjC,OAAO,IAAI,CAAC,UAAU,CAAwB,IAAI,EAAE;oBAClD,IAAI,EAAE,0BAAc,CAAC,YAAY;oBACjC,UAAU,EAAE,EAAE;oBACd,QAAQ,EAAE,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,EAAE,CAAC,EAAE,CAAC,IAAI,CAAC,cAAc,CAAC,EAAE,CAAC,CAAC;oBAC1D,QAAQ,EAAE,KAAK;oBACf,cAAc,EAAE,SAAS;iBAC1B,CAAC,CAAC;YAEL,8CAA8C;YAC9C,KAAK,UAAU,CAAC,iBAAiB;gBAC/B,OAAO,IAAI,CAAC;YAEd,KAAK,UAAU,CAAC,oBAAoB;gBAClC,OAAO,IAAI,CAAC,UAAU,CAAyB,IAAI,EAAE;oBACnD,IAAI,EAAE,0BAAc,CAAC,aAAa;oBAClC,UAAU,EAAE,EAAE;oBACd,QAAQ,EAAE,KAAK;oBACf,UAAU,EAAE,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,EAAE,CAAC,EAAE,CAAC,IAAI,CAAC,cAAc,CAAC,EAAE,CAAC,CAAC;oBAC5D,cAAc,EAAE,SAAS;iBAC1B,CAAC,CAAC;YAEL,KAAK,UAAU,CAAC,cAAc,CAAC,CAAC,CAAC;gBAC/B,IAAI,MAAM,CAAC,IAAI,KAAK,UAAU,CAAC,mBAAmB,EAAE,CAAC;oBACnD,MAAM,SAAS,GAAG,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,IAAI,EAAE,MAAM,CAAC,CAAC;oBAEvD,IAAI,IAAI,CAAC,WAAW,EAAE,CAAC;wBACrB,OAAO,IAAI,CAAC,UAAU,CAA6B,IAAI,EAAE;4BACvD,IAAI,EAAE,0BAAc,CAAC,iBAAiB;4BACtC,UAAU,EAAE,EAAE;4BACd,IAAI,EAAE,SAAS;4BACf,QAAQ,EAAE,KAAK;4BACf,KAAK,EAAE,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,WAAW,CAAC;4BAC1C,cAAc,EAAE,SAAS;yBAC1B,CAAC,CAAC;oBACL,CAAC;oBAED,IAAI,IAAI,CAAC,cAAc,EAAE,CAAC;wBACxB,OAAO,IAAI,CAAC,UAAU,CAAuB,IAAI,EAAE;4BACjD,IAAI,EAAE,0BAAc,CAAC,WAAW;4BAChC,QAAQ,EAAE,SAAS;4BACnB,UAAU,EAAE,EAAE;4BACd,QAAQ,EAAE,KAAK;4BACf,cAAc,EAAE,SAAS;4BACzB,KAAK,EAAE,SAAS;yBACjB,CAAC,CAAC;oBACL,CAAC;oBACD,OAAO,SAAS,CAAC;gBACnB,CAAC;gBACD,IAAI,MAAgD,CAAC;gBACrD,IAAI,IAAI,CAAC,cAAc,EAAE,CAAC;oBACxB,MAAM,GAAG,IAAI,CAAC,UAAU,CAAuB,IAAI,EAAE;wBACnD,IAAI,EAAE,0BAAc,CAAC,WAAW;wBAChC,QAAQ,EAAE,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,YAAY,IAAI,IAAI,CAAC,IAAI,CAAC;wBAC3D,UAAU,EAAE,EAAE;wBACd,QAAQ,EAAE,KAAK;wBACf,cAAc,EAAE,SAAS;wBACzB,KAAK,EAAE,SAAS;qBACjB,CAAC,CAAC;gBACL,CAAC;qBAAM,CAAC;oBACN,MAAM,GAAG,IAAI,CAAC,UAAU,CAAoB,IAAI,EAAE;wBAChD,IAAI,EAAE,0BAAc,CAAC,QAAQ;wBAC7B,QAAQ,EAAE,OAAO,CACf,IAAI,CAAC,YAAY;4BACf,IAAI,CAAC,YAAY,CAAC,IAAI,KAAK,UAAU,CAAC,oBAAoB,CAC7D;wBACD,GAAG,EAAE,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,YAAY,IAAI,IAAI,CAAC,IAAI,CAAC;wBACtD,IAAI,EAAE,MAAM;wBACZ,MAAM,EAAE,KAAK;wBACb,QAAQ,EAAE,KAAK;wBACf,SAAS,EAAE,CAAC,IAAI,CAAC,YAAY;wBAC7B,KAAK,EAAE,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,IAAI,CAAC;qBACpC,CAAC,CAAC;gBACL,CAAC;gBAED,IAAI,IAAI,CAAC,WAAW,EAAE,CAAC;oBACrB,MAAM,CAAC,KAAK,GAAG,IAAI,CAAC,UAAU,CAA6B,IAAI,EAAE;wBAC/D,IAAI,EAAE,0BAAc,CAAC,iBAAiB;wBACtC,KAAK,EAAE,CAAC,IAAI,CAAC,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,GAAG,CAAC,EAAE,IAAI,CAAC,WAAW,CAAC,GAAG,CAAC;wBAC3D,UAAU,EAAE,EAAE;wBACd,IAAI,EAAE,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,IAAI,CAAC;wBAClC,QAAQ,EAAE,KAAK;wBACf,KAAK,EAAE,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,WAAW,CAAC;wBAC1C,cAAc,EAAE,SAAS;qBAC1B,CAAC,CAAC;gBACL,CAAC;gBACD,OAAO,MAAM,CAAC;YAChB,CAAC;YAED,KAAK,UAAU,CAAC,aAAa,CAAC,CAAC,CAAC;gBAC9B,OAAO,IAAI,CAAC,UAAU,CAAmC,IAAI,EAAE;oBAC7D,IAAI,EAAE,0BAAc,CAAC,uBAAuB;oBAC5C,KAAK,EAAE,IAAA,wBAAW,EAAC,UAAU,CAAC,YAAY,EAAE,IAAI,CAAC;oBACjD,IAAI,EAAE,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,IAAI,CAAC;oBAClC,UAAU,EAAE,IAAI,CAAC,IAAI,CAAC,IAAI,KAAK,UAAU,CAAC,KAAK;oBAC/C,SAAS,EAAE,KAAK;oBAChB,EAAE,EAAE,IAAI;oBACR,MAAM,EAAE,IAAI,CAAC,iBAAiB,CAAC,IAAI,CAAC,UAAU,CAAC;oBAC/C,UAAU,EAAE,IAAI,CAAC,IAAI,IAAI,IAAI,CAAC,qBAAqB,CAAC,IAAI,CAAC,IAAI,EAAE,IAAI,CAAC;oBACpE,cAAc,EACZ,IAAI,CAAC,cAAc;wBACnB,IAAI,CAAC,kDAAkD,CACrD,IAAI,CAAC,cAAc,CACpB;iBACJ,CAAC,CAAC;YACL,CAAC;YAED,KAAK,UAAU,CAAC,eAAe;gBAC7B,OAAO,IAAI,CAAC,UAAU,CAA2B,IAAI,EAAE;oBACrD,IAAI,EAAE,0BAAc,CAAC,eAAe;oBACpC,QAAQ,EAAE,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,UAAU,CAAC;oBAC5C,QAAQ,EAAE,CAAC,CAAC,IAAI,CAAC,aAAa;iBAC/B,CAAC,CAAC;YAEL,KAAK,UAAU,CAAC,eAAe;gBAC7B,OAAO,IAAI,CAAC,UAAU,CAA2B,IAAI,EAAE;oBACrD,IAAI,EAAE,0BAAc,CAAC,eAAe;oBACpC,QAAQ,EAAE,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,UAAU,CAAC;iBAC7C,CAAC,CAAC;YAEL,oBAAoB;YAEpB,KAAK,UAAU,CAAC,6BAA6B;gBAC3C,OAAO,IAAI,CAAC,UAAU,CAA2B,IAAI,EAAE;oBACrD,IAAI,EAAE,0BAAc,CAAC,eAAe;oBACpC,WAAW,EAAE,EAAE;oBACf,MAAM,EAAE;wBACN,IAAI,CAAC,UAAU,CAA2B,IAAI,EAAE;4BAC9C,IAAI,EAAE,0BAAc,CAAC,eAAe;4BACpC,IAAI,EAAE,IAAI;4BACV,KAAK,EAAE;gCACL,MAAM,EAAE,IAAI,CAAC,IAAI;gCACjB,GAAG,EAAE,IAAI,CAAC,GAAG,CAAC,IAAI,CAAC,KAAK,CACtB,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,GAAG,CAAC,GAAG,CAAC,EAC3B,IAAI,CAAC,GAAG,GAAG,CAAC,CACb;6BACF;yBACF,CAAC;qBACH;iBACF,CAAC,CAAC;YAEL,KAAK,UAAU,CAAC,kBAAkB,CAAC,CAAC,CAAC;gBACnC,MAAM,MAAM,GAAG,IAAI,CAAC,UAAU,CAA2B,IAAI,EAAE;oBAC7D,IAAI,EAAE,0BAAc,CAAC,eAAe;oBACpC,WAAW,EAAE,EAAE;oBACf,MAAM,EAAE,CAAC,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;iBACvC,CAAC,CAAC;gBAEH,IAAI,CAAC,aAAa,CAAC,OAAO,CAAC,YAAY,CAAC,EAAE;oBACxC,MAAM,CAAC,WAAW,CAAC,IAAI,CACrB,IAAI,CAAC,YAAY,CAAC,YAAY,CAAC,UAAU,CAAwB,CAClE,CAAC;oBACF,MAAM,CAAC,MAAM,CAAC,IAAI,CAChB,IAAI,CAAC,YAAY,CAAC,YAAY,CAAC,OAAO,CAA6B,CACpE,CAAC;gBACJ,CAAC,CAAC,CAAC;gBACH,OAAO,MAAM,CAAC;YAChB,CAAC;YAED,KAAK,UAAU,CAAC,wBAAwB;gBACtC,OAAO,IAAI,CAAC,UAAU,CAAoC,IAAI,EAAE;oBAC9D,IAAI,EAAE,0BAAc,CAAC,wBAAwB;oBAC7C,KAAK,EAAE,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,QAAQ,CAAC;oBACvC,GAAG,EAAE,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,GAAG,CAAC;oBAChC,aAAa,EACX,IAAI,CAAC,aAAa;wBAClB,IAAI,CAAC,gDAAgD,CACnD,IAAI,CAAC,aAAa,EAClB,IAAI,CACL;iBACJ,CAAC,CAAC;YAEL,KAAK,UAAU,CAAC,YAAY,CAAC;YAC7B,KAAK,UAAU,CAAC,cAAc,CAAC;YAC/B,KAAK,UAAU,CAAC,YAAY,CAAC,CAAC,CAAC;gBAC7B,MAAM,IAAI,GAAG,IAAI,CAAC,IAAI,KAAK,UAAU,CAAC,YAAY,CAAC;gBACnD,OAAO,IAAI,CAAC,UAAU,CAA2B,IAAI,EAAE;oBACrD,IAAI,EAAE,0BAAc,CAAC,eAAe;oBACpC,IAAI;oBACJ,KAAK,EAAE;wBACL,MAAM,EAAE,IAAI,CAAC,IAAI;wBACjB,GAAG,EAAE,IAAI,CAAC,GAAG,CAAC,IAAI,CAAC,KAAK,CACtB,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,GAAG,CAAC,GAAG,CAAC,EAC3B,IAAI,CAAC,GAAG,GAAG,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAC1B;qBACF;iBACF,CAAC,CAAC;YACL,CAAC;YAED,WAAW;YAEX,KAAK,UAAU,CAAC,gBAAgB,CAAC;YACjC,KAAK,UAAU,CAAC,aAAa,CAAC,CAAC,CAAC;gBAC9B,IAAI,IAAI,CAAC,YAAY,EAAE,CAAC;oBACtB,OAAO,IAAI,CAAC,UAAU,CAAuB,IAAI,EAAE;wBACjD,IAAI,EAAE,0BAAc,CAAC,WAAW;wBAChC,QAAQ,EAAE,IAAI,CAAC,cAAc,CAAC,IAAI,CAAC,UAAU,CAAC;wBAC9C,UAAU,EAAE,EAAE;wBACd,QAAQ,EAAE,KAAK;wBACf,cAAc,EAAE,SAAS;wBACzB,KAAK,EAAE,SAAS;qBACjB,CAAC,CAAC;gBACL,CAAC;gBACD,OAAO,IAAI,CAAC,UAAU,CAAyB,IAAI,EAAE;oBACnD,IAAI,EAAE,0BAAc,CAAC,aAAa;oBAClC,QAAQ,EAAE,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,UAAU,CAAC;iBAC7C,CAAC,CAAC;YACL,CAAC;YAED,KAAK,UAAU,CAAC,SAAS,CAAC,CAAC,CAAC;gBAC1B,IAAI,SAAsD,CAAC;gBAC3D,IAAI,MAAyD,CAAC;gBAE9D,IAAI,IAAI,CAAC,cAAc,EAAE,CAAC;oBACxB,SAAS,GAAG,MAAM,GAAG,IAAI,CAAC,UAAU,CAAuB,IAAI,EAAE;wBAC/D,IAAI,EAAE,0BAAc,CAAC,WAAW;wBAChC,QAAQ,EAAE,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,IAAI,CAAC;wBACtC,UAAU,EAAE,EAAE;wBACd,QAAQ,EAAE,KAAK;wBACf,cAAc,EAAE,SAAS;wBACzB,KAAK,EAAE,SAAS;qBACjB,CAAC,CAAC;gBACL,CAAC;qBAAM,IAAI,IAAI,CAAC,WAAW,EAAE,CAAC;oBAC5B,SAAS,GAAG,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,IAAI,CAAyB,CAAC;oBACjE,MAAM,GAAG,IAAI,CAAC,UAAU,CAA6B,IAAI,EAAE;wBACzD,IAAI,EAAE,0BAAc,CAAC,iBAAiB;wBACtC,UAAU,EAAE,EAAE;wBACd,IAAI,EAAE,SAAS;wBACf,QAAQ,EAAE,KAAK;wBACf,KAAK,EAAE,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,WAAW,CAAC;wBAC1C,cAAc,EAAE,SAAS;qBAC1B,CAAC,CAAC;oBAEH,MAAM,SAAS,GAAG,IAAA,2BAAY,EAAC,IAAI,CAAC,CAAC;oBACrC,IAAI,SAAS,EAAE,CAAC;wBACd,0DAA0D;wBAC1D,MAAM,CAAC,KAAK,CAAC,CAAC,CAAC,GAAG,SAAS,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC;wBACrC,MAAM,CAAC,GAAG,GAAG,IAAA,sBAAS,EAAC,MAAM,CAAC,KAAK,EAAE,IAAI,CAAC,GAAG,CAAC,CAAC;oBACjD,CAAC;gBACH,CAAC;qBAAM,CAAC;oBACN,SAAS,GAAG,MAAM,GAAG,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,IAAI,EAAE,MAAM,CAAC,CAAC;gBAC5D,CAAC;gBAED,IAAI,IAAI,CAAC,IAAI,EAAE,CAAC;oBACd,SAAS,CAAC,cAAc,GAAG,IAAI,CAAC,qBAAqB,CACnD,IAAI,CAAC,IAAI,EACT,IAAI,CACL,CAAC;oBACF,IAAI,CAAC,iBAAiB,CAAC,SAAS,EAAE,SAAS,CAAC,cAAc,CAAC,KAAK,CAAC,CAAC;gBACpE,CAAC;gBAED,IAAI,IAAI,CAAC,aAAa,EAAE,CAAC;oBACvB,IAAI,IAAI,CAAC,aAAa,CAAC,GAAG,GAAG,SAAS,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,CAAC;wBAChD,SAAS,CAAC,KAAK,CAAC,CAAC,CAAC,GAAG,IAAI,CAAC,aAAa,CAAC,GAAG,CAAC;wBAC5C,SAAS,CAAC,GAAG,CAAC,GAAG,GAAG,IAAA,mCAAsB,EACxC,SAAS,CAAC,KAAK,CAAC,CAAC,CAAC,EAClB,IAAI,CAAC,GAAG,CACT,CAAC;oBACJ,CAAC;oBACD,SAAS,CAAC,QAAQ,GAAG,IAAI,CAAC;gBAC5B,CAAC;gBAED,MAAM,SAAS,GAAG,IAAA,2BAAY,EAAC,IAAI,CAAC,CAAC;gBACrC,IAAI,SAAS,EAAE,CAAC;oBACd,OAAO,IAAI,CAAC,UAAU,CAA+B,IAAI,EAAE;wBACzD,IAAI,EAAE,0BAAc,CAAC,mBAAmB;wBACxC,aAAa,EAAE,IAAA,mCAAsB,EAAC,IAAI,CAAC;wBAC3C,UAAU,EAAE,EAAE;wBACd,QAAQ,EAAE,IAAA,wBAAW,EAAC,UAAU,CAAC,eAAe,EAAE,IAAI,CAAC;wBACvD,SAAS,EAAE,MAAM;wBACjB,QAAQ,EAAE,IAAA,wBAAW,EAAC,UAAU,CAAC,eAAe,EAAE,IAAI,CAAC;wBACvD,MAAM,EAAE,IAAA,wBAAW,EAAC,UAAU,CAAC,aAAa,EAAE,IAAI,CAAC;qBACpD,CAAC,CAAC;gBACL,CAAC;gBACD,OAAO,MAAM,CAAC;YAChB,CAAC;YAED,UAAU;YAEV,KAAK,UAAU,CAAC,gBAAgB;gBAC9B,IACE,CAAC,IAAI,CAAC,IAAI;oBACV,CAAC,CAAC,IAAA,wBAAW,EAAC,EAAE,CAAC,UAAU,CAAC,aAAa,EAAE,IAAI,CAAC;wBAC9C,CAAC,IAAA,wBAAW,EAAC,EAAE,CAAC,UAAU,CAAC,cAAc,EAAE,IAAI,CAAC,CAAC,EACnD,CAAC;oBACD,IAAI,CAAC,2BAA2B,CAC9B,IAAI,EACJ,sEAAsE,CACvE,CAAC;gBACJ,CAAC;YACH,6BAA6B;YAC7B,KAAK,UAAU,CAAC,eAAe,CAAC,CAAC,CAAC;gBAChC,MAAM,eAAe,GAAG,IAAI,CAAC,eAAe,IAAI,EAAE,CAAC;gBACnD,MAAM,aAAa,GACjB,IAAI,CAAC,IAAI,KAAK,UAAU,CAAC,gBAAgB;oBACvC,CAAC,CAAC,0BAAc,CAAC,gBAAgB;oBACjC,CAAC,CAAC,0BAAc,CAAC,eAAe,CAAC;gBAErC,IAAI,aAA4C,CAAC;gBACjD,IAAI,gBAA+C,CAAC;gBACpD,KAAK,MAAM,cAAc,IAAI,eAAe,EAAE,CAAC;oBAC7C,MAAM,EAAE,KAAK,EAAE,KAAK,EAAE,GAAG,cAAc,CAAC;oBAExC,IAAI,KAAK,CAAC,MAAM,KAAK,CAAC,EAAE,CAAC;wBACvB,IAAI,CAAC,2BAA2B,CAC9B,cAAc,EACd,IAAI,EAAE,CAAC,aAAa,CAAC,KAAK,CAAC,yBAAyB,CACrD,CAAC;oBACJ,CAAC;oBAED,IAAI,KAAK,KAAK,UAAU,CAAC,cAAc,EAAE,CAAC;wBACxC,IAAI,aAAa,EAAE,CAAC;4BAClB,IAAI,CAAC,2BAA2B,CAC9B,cAAc,EACd,gCAAgC,CACjC,CAAC;wBACJ,CAAC;wBAED,IAAI,gBAAgB,EAAE,CAAC;4BACrB,IAAI,CAAC,2BAA2B,CAC9B,cAAc,EACd,oDAAoD,CACrD,CAAC;wBACJ,CAAC;wBAED,IAAI,KAAK,CAAC,MAAM,GAAG,CAAC,EAAE,CAAC;4BACrB,IAAI,CAAC,2BAA2B,CAC9B,KAAK,CAAC,CAAC,CAAC,EACR,yCAAyC,CAC1C,CAAC;wBACJ,CAAC;wBAED,aAAa,KAAK,cAAc,CAAC;oBACnC,CAAC;yBAAM,IAAI,KAAK,KAAK,UAAU,CAAC,iBAAiB,EAAE,CAAC;wBAClD,IAAI,gBAAgB,EAAE,CAAC;4BACrB,IAAI,CAAC,2BAA2B,CAC9B,cAAc,EACd,mCAAmC,CACpC,CAAC;wBACJ,CAAC;wBAED,gBAAgB,KAAK,cAAc,CAAC;oBACtC,CAAC;gBACH,CAAC;gBAED,MAAM,MAAM,GAAG,IAAI,CAAC,UAAU,CAE5B,IAAI,EAAE;oBACN,IAAI,EAAE,aAAa;oBACnB,QAAQ,EAAE,IAAA,wBAAW,EAAC,UAAU,CAAC,eAAe,EAAE,IAAI,CAAC;oBACvD,IAAI,EAAE,IAAI,CAAC,UAAU,CAAqB,IAAI,EAAE;wBAC9C,IAAI,EAAE,0BAAc,CAAC,SAAS;wBAC9B,KAAK,EAAE,CAAC,IAAI,CAAC,OAAO,CAAC,GAAG,GAAG,CAAC,EAAE,IAAI,CAAC,GAAG,CAAC;wBACvC,IAAI,EAAE,IAAI,CAAC,OAAO;6BACf,MAAM,CAAC,gCAAmB,CAAC;6BAC3B,GAAG,CAAC,EAAE,CAAC,EAAE,CAAC,IAAI,CAAC,YAAY,CAAC,EAAE,CAAC,CAAC;qBACpC,CAAC;oBACF,OAAO,EAAE,IAAA,wBAAW,EAAC,UAAU,CAAC,cAAc,EAAE,IAAI,CAAC;oBACrD,UAAU,EACR,IAAA,4BAAa,EAAC,IAAI,CAAC,EAAE,GAAG,CAAC,EAAE,CAAC,EAAE,CAAC,IAAI,CAAC,YAAY,CAAC,EAAE,CAAC,CAAC,IAAI,EAAE;oBAC7D,EAAE,EAAE,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,IAAI,CAAC;oBAChC,UAAU,EACR,gBAAgB,EAAE,KAAK,CAAC,GAAG,CAAC,EAAE,CAAC,EAAE,CAAC,IAAI,CAAC,YAAY,CAAC,EAAE,CAAC,CAAC,IAAI,EAAE;oBAChE,UAAU,EAAE,aAAa,EAAE,KAAK,CAAC,CAAC,CAAC;wBACjC,CAAC,CAAC,IAAI,CAAC,YAAY,CAAC,aAAa,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,UAAU,CAAC;wBACtD,CAAC,CAAC,IAAI;oBACR,kBAAkB,EAAE,SAAS;oBAC7B,cAAc,EACZ,IAAI,CAAC,cAAc;wBACnB,IAAI,CAAC,kDAAkD,CACrD,IAAI,CAAC,cAAc,CACpB;iBACJ,CAAC,CAAC;gBAEH,IAAI,aAAa,EAAE,KAAK,CAAC,CAAC,CAAC,EAAE,aAAa,EAAE,CAAC;oBAC3C,MAAM,CAAC,kBAAkB;wBACvB,IAAI,CAAC,gDAAgD,CACnD,aAAa,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,aAAa,EACpC,aAAa,CAAC,KAAK,CAAC,CAAC,CAAC,CACvB,CAAC;gBACN,CAAC;gBAED,OAAO,IAAI,CAAC,UAAU,CAAC,IAAI,EAAE,MAAM,CAAC,CAAC;YACvC,CAAC;YAED,UAAU;YACV,KAAK,UAAU,CAAC,WAAW;gBACzB,OAAO,IAAI,CAAC,UAAU,CAAyB,IAAI,EAAE;oBACnD,IAAI,EAAE,0BAAc,CAAC,aAAa;oBAClC,IAAI,EAAE,IAAI,CAAC,sBAAsB,CAAC,IAAI,CAAC,UAAU,EAAE,IAAI,CAAC;iBACzD,CAAC,CAAC;YAEL,KAAK,UAAU,CAAC,iBAAiB,CAAC,CAAC,CAAC;gBAClC,IAAI,CAAC,qBAAqB,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;gBAExC,MAAM,MAAM,GAAG,IAAI,CAAC,UAAU,CAC5B,IAAI,EACJ,IAAI,CAAC,0BAA0B,CAC7B;oBACE,IAAI,EAAE,0BAAc,CAAC,iBAAiB;oBACtC,UAAU,EAAE,IAAI,CAAC,uBAAuB;oBACtC,4DAA4D;oBAC5D,IAAI,CAAC,UAAU,IAAI,IAAI,CAAC,YAAY,CACrC;oBACD,UAAU,EAAE,OAAO;oBACnB,MAAM,EAAE,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,eAAe,CAAC;oBAC/C,UAAU,EAAE,EAAE;iBACf,EACD,YAAY,EACZ,YAAY,EACZ,IAAI,CACL,CACF,CAAC;gBAEF,IAAI,IAAI,CAAC,YAAY,EAAE,CAAC;oBACtB,IAAI,IAAI,CAAC,YAAY,CAAC,UAAU,EAAE,CAAC;wBACjC,MAAM,CAAC,UAAU,GAAG,MAAM,CAAC;oBAC7B,CAAC;oBAED,IAAI,IAAI,CAAC,YAAY,CAAC,IAAI,EAAE,CAAC;wBAC3B,MAAM,CAAC,UAAU,CAAC,IAAI,CACpB,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,YAAY,CAA0B,CAC9D,CAAC;oBACJ,CAAC;oBAED,IAAI,IAAI,CAAC,YAAY,CAAC,aAAa,EAAE,CAAC;wBACpC,QAAQ,IAAI,CAAC,YAAY,CAAC,aAAa,CAAC,IAAI,EAAE,CAAC;4BAC7C,KAAK,UAAU,CAAC,eAAe;gCAC7B,MAAM,CAAC,UAAU,CAAC,IAAI,CACpB,IAAI,CAAC,YAAY,CACf,IAAI,CAAC,YAAY,CAAC,aAAa,CACP,CAC3B,CAAC;gCACF,MAAM;4BACR,KAAK,UAAU,CAAC,YAAY;gCAC1B,MAAM,CAAC,UAAU,CAAC,IAAI,CACpB,GAAG,IAAI,CAAC,YAAY,CAAC,aAAa,CAAC,QAAQ,CAAC,GAAG,CAC7C,EAAE,CAAC,EAAE,CAAC,IAAI,CAAC,YAAY,CAAC,EAAE,CAA0B,CACrD,CACF,CAAC;gCACF,MAAM;wBACV,CAAC;oBACH,CAAC;gBACH,CAAC;gBACD,OAAO,MAAM,CAAC;YAChB,CAAC;YAED,KAAK,UAAU,CAAC,eAAe;gBAC7B,OAAO,IAAI,CAAC,UAAU,CAAoC,IAAI,EAAE;oBAC9D,IAAI,EAAE,0BAAc,CAAC,wBAAwB;oBAC7C,KAAK,EAAE,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,IAAI,CAAC;iBACpC,CAAC,CAAC;YAEL,KAAK,UAAU,CAAC,eAAe;gBAC7B,OAAO,IAAI,CAAC,UAAU,CAA2B,IAAI,EAAE;oBACrD,IAAI,EAAE,0BAAc,CAAC,eAAe;oBACpC,QAAQ,EAAE,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,YAAY,IAAI,IAAI,CAAC,IAAI,CAAC;oBAC3D,UAAU,EAAE,IAAI,CAAC,UAAU,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,OAAO;oBAC9C,KAAK,EAAE,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,IAAI,CAAC;iBACpC,CAAC,CAAC;YAEL,KAAK,UAAU,CAAC,YAAY,CAAC,CAAC,CAAC;gBAC7B,MAAM,KAAK,GAAG,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;gBAC3C,OAAO,IAAI,CAAC,UAAU,CAAkC,IAAI,EAAE;oBAC5D,IAAI,EAAE,0BAAc,CAAC,sBAAsB;oBAC3C,KAAK,EAAE,KAAK,CAAC,KAAK;oBAClB,KAAK;iBACN,CAAC,CAAC;YACL,CAAC;YAED,KAAK,UAAU,CAAC,iBAAiB,CAAC,CAAC,CAAC;gBAClC,IAAI,IAAI,CAAC,YAAY,EAAE,IAAI,KAAK,UAAU,CAAC,YAAY,EAAE,CAAC;oBACxD,IAAI,CAAC,qBAAqB,CAAC,IAAI,EAAE,IAAI,CAAC,CAAC;oBACvC,OAAO,IAAI,CAAC,UAAU,CACpB,IAAI,EACJ,IAAI,CAAC,0BAA0B,CAC7B;wBACE,IAAI,EAAE,0BAAc,CAAC,sBAAsB;wBAC3C,UAAU,EAAE,IAAI,CAAC,uBAAuB;wBACtC,4DAA4D;wBAC5D,IAAI,CAAC,UAAU,IAAI,IAAI,CAAC,YAAY,CACrC;wBACD,WAAW,EAAE,IAAI;wBACjB,UAAU,EAAE,IAAI,CAAC,UAAU,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,OAAO;wBAC9C,MAAM,EAAE,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,eAAe,CAAC;wBAC/C,UAAU,EAAE,IAAI,CAAC,YAAY,CAAC,QAAQ,CAAC,GAAG,CAAC,EAAE,CAAC,EAAE,CAC9C,IAAI,CAAC,YAAY,CAAC,EAAE,EAAE,IAAI,CAAC,CAC5B;qBACF,EACD,YAAY,EACZ,YAAY,EACZ,IAAI,CACL,CACF,CAAC;gBACJ,CAAC;gBACD,IAAI,CAAC,qBAAqB,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;gBACxC,OAAO,IAAI,CAAC,UAAU,CACpB,IAAI,EACJ,IAAI,CAAC,0BAA0B,CAC7B;oBACE,IAAI,EAAE,0BAAc,CAAC,oBAAoB;oBACzC,UAAU,EAAE,IAAI,CAAC,uBAAuB;oBACtC,4DAA4D;oBAC5D,IAAI,CAAC,UAAU,IAAI,IAAI,CAAC,YAAY,CACrC;oBACD,QAAQ,EACN,IAAI,CAAC,YAAY,EAAE,IAAI,KAAK,UAAU,CAAC,eAAe;wBACpD,CAAC,CAAC,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC;wBAC3C,CAAC,CAAC,IAAI;oBACV,UAAU,EAAE,IAAI,CAAC,UAAU,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,OAAO;oBAC9C,MAAM,EAAE,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,eAAe,CAAC;iBAChD,EACD,YAAY,EACZ,YAAY,EACZ,IAAI,CACL,CACF,CAAC;YACJ,CAAC;YAED,KAAK,UAAU,CAAC,eAAe,CAAC,CAAC,CAAC;gBAChC,MAAM,KAAK,GAAG,IAAI,CAAC,YAAY,IAAI,IAAI,CAAC,IAAI,CAAC;gBAC7C,IACE,KAAK,CAAC,IAAI,KAAK,UAAU,CAAC,aAAa;oBACvC,MAAM,CAAC,IAAI,KAAK,UAAU,CAAC,iBAAiB;oBAC5C,MAAM,CAAC,eAAe,EAAE,IAAI,KAAK,UAAU,CAAC,aAAa,EACzD,CAAC;oBACD,IAAI,CAAC,WAAW,CACd,KAAK,EACL,6EAA6E,CAC9E,CAAC;gBACJ,CAAC;gBACD,OAAO,IAAI,CAAC,UAAU,CAA2B,IAAI,EAAE;oBACrD,IAAI,EAAE,0BAAc,CAAC,eAAe;oBACpC,QAAQ,EAAE,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,IAAI,CAAC;oBACtC,UAAU,EAAE,IAAI,CAAC,UAAU,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,OAAO;oBAC9C,KAAK,EAAE,IAAI,CAAC,YAAY,CAAC,KAAK,CAAC;iBAChC,CAAC,CAAC;YACL,CAAC;YAED,KAAK,UAAU,CAAC,gBAAgB;gBAC9B,IAAI,IAAI,CAAC,cAAc,EAAE,CAAC;oBACxB,OAAO,IAAI,CAAC,UAAU,CAA8B,IAAI,EAAE;wBACxD,IAAI,EAAE,0BAAc,CAAC,kBAAkB;wBACvC,UAAU,EAAE,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,UAAU,CAAC;qBAC/C,CAAC,CAAC;gBACL,CAAC;gBACD,OAAO,IAAI,CAAC,UAAU,CAAoC,IAAI,EAAE;oBAC9D,IAAI,EAAE,0BAAc,CAAC,wBAAwB;oBAC7C,WAAW,EAAE,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,UAAU,CAAC;oBAC/C,UAAU,EAAE,OAAO;iBACpB,CAAC,CAAC;YAEL,mBAAmB;YAEnB,KAAK,UAAU,CAAC,qBAAqB,CAAC;YACtC,KAAK,UAAU,CAAC,sBAAsB,CAAC,CAAC,CAAC;gBACvC,MAAM,QAAQ,GAAG,IAAA,gCAAmB,EAAC,IAAI,CAAC,QAAQ,CAAC,CAAC;gBACpD;;mBAEG;gBACH,IAAI,QAAQ,KAAK,IAAI,IAAI,QAAQ,KAAK,IAAI,EAAE,CAAC;oBAC3C,IAAI,CAAC,IAAA,oCAAuB,EAAC,IAAI,CAAC,OAAO,CAAC,EAAE,CAAC;wBAC3C,IAAI,CAAC,2BAA2B,CAC9B,IAAI,CAAC,OAAO,EACZ,sDAAsD,CACvD,CAAC;oBACJ,CAAC;oBACD,OAAO,IAAI,CAAC,UAAU,CAA4B,IAAI,EAAE;wBACtD,IAAI,EAAE,0BAAc,CAAC,gBAAgB;wBACrC,QAAQ,EAAE,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,OAAO,CAAC;wBACzC,QAAQ;wBACR,MAAM,EAAE,IAAI,CAAC,IAAI,KAAK,UAAU,CAAC,qBAAqB;qBACvD,CAAC,CAAC;gBACL,CAAC;gBACD,OAAO,IAAI,CAAC,UAAU,CAA2B,IAAI,EAAE;oBACrD,IAAI,EAAE,0BAAc,CAAC,eAAe;oBACpC,QAAQ,EAAE,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,OAAO,CAAC;oBACzC,QAAQ;oBACR,MAAM,EAAE,IAAI,CAAC,IAAI,KAAK,UAAU,CAAC,qBAAqB;iBACvD,CAAC,CAAC;YACL,CAAC;YAED,KAAK,UAAU,CAAC,gBAAgB;gBAC9B,OAAO,IAAI,CAAC,UAAU,CAA2B,IAAI,EAAE;oBACrD,IAAI,EAAE,0BAAc,CAAC,eAAe;oBACpC,QAAQ,EAAE,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,UAAU,CAAC;oBAC5C,QAAQ,EAAE,QAAQ;oBAClB,MAAM,EAAE,IAAI;iBACb,CAAC,CAAC;YAEL,KAAK,UAAU,CAAC,cAAc;gBAC5B,OAAO,IAAI,CAAC,UAAU,CAA2B,IAAI,EAAE;oBACrD,IAAI,EAAE,0BAAc,CAAC,eAAe;oBACpC,QAAQ,EAAE,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,UAAU,CAAC;oBAC5C,QAAQ,EAAE,MAAM;oBAChB,MAAM,EAAE,IAAI;iBACb,CAAC,CAAC;YAEL,KAAK,UAAU,CAAC,gBAAgB;gBAC9B,OAAO,IAAI,CAAC,UAAU,CAA2B,IAAI,EAAE;oBACrD,IAAI,EAAE,0BAAc,CAAC,eAAe;oBACpC,QAAQ,EAAE,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,UAAU,CAAC;oBAC5C,QAAQ,EAAE,QAAQ;oBAClB,MAAM,EAAE,IAAI;iBACb,CAAC,CAAC;YAEL,KAAK,UAAU,CAAC,YAAY;gBAC1B,OAAO,IAAI,CAAC,UAAU,CAA0B,IAAI,EAAE;oBACpD,IAAI,EAAE,0BAAc,CAAC,cAAc;oBACnC,QAAQ,EAAE,IAAA,gCAAmB,EAAC,IAAI,CAAC,QAAQ,CAAC;oBAC5C,cAAc,EAAE,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,IAAI,CAAC;iBAC7C,CAAC,CAAC;YAEL,oBAAoB;YAEpB,KAAK,UAAU,CAAC,gBAAgB,CAAC,CAAC,CAAC;gBACjC,yDAAyD;gBACzD,IAAI,IAAA,oBAAO,EAAC,IAAI,CAAC,aAAa,CAAC,EAAE,CAAC;oBAChC,MAAM,MAAM,GAAG,IAAI,CAAC,UAAU,CAA8B,IAAI,EAAE;wBAChE,IAAI,EAAE,0BAAc,CAAC,kBAAkB;wBACvC,WAAW,EAAE,EAAE;qBAChB,CAAC,CAAC;oBAEH,MAAM,IAAI,GAAG,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,IAAI,CAAwB,CAAC;oBACjE,IACE,IAAI,CAAC,IAAI,KAAK,0BAAc,CAAC,kBAAkB;wBAC/C,IAAI,CAAC,IAAI,CAAC,IAAI,KAAK,UAAU,CAAC,uBAAuB,EACrD,CAAC;wBACD,MAAM,CAAC,WAAW,CAAC,IAAI,CAAC,GAAG,IAAI,CAAC,WAAW,CAAC,CAAC;oBAC/C,CAAC;yBAAM,CAAC;wBACN,MAAM,CAAC,WAAW,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;oBAChC,CAAC;oBAED,MAAM,CAAC,WAAW,CAAC,IAAI,CACrB,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,KAAK,CAAwB,CACrD,CAAC;oBACF,OAAO,MAAM,CAAC;gBAChB,CAAC;gBACD,MAAM,cAAc,GAAG,IAAA,oCAAuB,EAAC,IAAI,CAAC,aAAa,CAAC,CAAC;gBACnE,IACE,IAAI,CAAC,YAAY;oBACjB,cAAc,CAAC,IAAI,KAAK,0BAAc,CAAC,oBAAoB,EAC3D,CAAC;oBACD,OAAO,IAAI,CAAC,UAAU,CAA6B,IAAI,EAAE;wBACvD,IAAI,EAAE,0BAAc,CAAC,iBAAiB;wBACtC,UAAU,EAAE,EAAE;wBACd,IAAI,EAAE,IAAI,CAAC,cAAc,CAAC,IAAI,CAAC,IAAI,EAAE,IAAI,CAAC;wBAC1C,QAAQ,EAAE,KAAK;wBACf,KAAK,EAAE,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,KAAK,CAAC;wBACpC,cAAc,EAAE,SAAS;qBAC1B,CAAC,CAAC;gBACL,CAAC;gBACD,OAAO,IAAI,CAAC,UAAU,CAIpB,IAAI,EAAE;oBACN,GAAG,cAAc;oBACjB,IAAI,EAAE,IAAI,CAAC,SAAS,CAClB,IAAI,CAAC,IAAI,EACT,IAAI,EACJ,cAAc,CAAC,IAAI,KAAK,0BAAc,CAAC,oBAAoB,CAC5D;oBACD,KAAK,EAAE,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,KAAK,CAAC;iBACrC,CAAC,CAAC;YACL,CAAC;YAED,KAAK,UAAU,CAAC,wBAAwB,CAAC,CAAC,CAAC;gBACzC,MAAM,MAAM,GAAG,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC;gBAClD,MAAM,QAAQ,GAAG,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;gBAC9C,MAAM,QAAQ,GAAG,KAAK,CAAC;gBAEvB,MAAM,MAAM,GAAG,IAAI,CAAC,UAAU,CAA4B,IAAI,EAAE;oBAC9D,IAAI,EAAE,0BAAc,CAAC,gBAAgB;oBACrC,QAAQ;oBACR,MAAM;oBACN,QAAQ,EAAE,IAAI,CAAC,gBAAgB,KAAK,SAAS;oBAC7C,QAAQ;iBACT,CAAC,CAAC;gBAEH,OAAO,IAAI,CAAC,sBAAsB,CAAC,MAAM,EAAE,IAAI,CAAC,CAAC;YACnD,CAAC;YAED,KAAK,UAAU,CAAC,uBAAuB,CAAC,CAAC,CAAC;gBACxC,MAAM,MAAM,GAAG,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC;gBAClD,MAAM,QAAQ,GAAG,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,kBAAkB,CAAC,CAAC;gBAC5D,MAAM,QAAQ,GAAG,IAAI,CAAC;gBAEtB,MAAM,MAAM,GAAG,IAAI,CAAC,UAAU,CAA4B,IAAI,EAAE;oBAC9D,IAAI,EAAE,0BAAc,CAAC,gBAAgB;oBACrC,QAAQ;oBACR,MAAM;oBACN,QAAQ,EAAE,IAAI,CAAC,gBAAgB,KAAK,SAAS;oBAC7C,QAAQ;iBACT,CAAC,CAAC;gBAEH,OAAO,IAAI,CAAC,sBAAsB,CAAC,MAAM,EAAE,IAAI,CAAC,CAAC;YACnD,CAAC;YAED,KAAK,UAAU,CAAC,cAAc,CAAC,CAAC,CAAC;gBAC/B,IAAI,IAAI,CAAC,UAAU,CAAC,IAAI,KAAK,UAAU,CAAC,aAAa,EAAE,CAAC;oBACtD,IAAI,IAAI,CAAC,SAAS,CAAC,MAAM,KAAK,CAAC,IAAI,IAAI,CAAC,SAAS,CAAC,MAAM,KAAK,CAAC,EAAE,CAAC;wBAC/D,IAAI,CAAC,2BAA2B,CAC9B,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC,IAAI,IAAI,EACzB,uDAAuD,CACxD,CAAC;oBACJ,CAAC;oBACD,OAAO,IAAI,CAAC,UAAU,CACpB,IAAI,EACJ,IAAI,CAAC,0BAA0B,CAC7B;wBACE,IAAI,EAAE,0BAAc,CAAC,gBAAgB;wBACrC,OAAO,EAAE,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC;4BACxB,CAAC,CAAC,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC;4BACtC,CAAC,CAAC,IAAI;wBACR,MAAM,EAAE,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC;qBAC7C,EACD,YAAY,EACZ,SAAS,EACT,IAAI,CACL,CACF,CAAC;gBACJ,CAAC;gBAED,MAAM,MAAM,GAAG,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC;gBAClD,MAAM,IAAI,GAAG,IAAI,CAAC,SAAS,CAAC,GAAG,CAAC,EAAE,CAAC,EAAE,CAAC,IAAI,CAAC,YAAY,CAAC,EAAE,CAAC,CAAC,CAAC;gBAC7D,MAAM,aAAa,GACjB,IAAI,CAAC,aAAa;oBAClB,IAAI,CAAC,gDAAgD,CACnD,IAAI,CAAC,aAAa,EAClB,IAAI,CACL,CAAC;gBAEJ,MAAM,MAAM,GAAG,IAAI,CAAC,UAAU,CAA0B,IAAI,EAAE;oBAC5D,IAAI,EAAE,0BAAc,CAAC,cAAc;oBACnC,SAAS,EAAE,IAAI;oBACf,MAAM;oBACN,QAAQ,EAAE,IAAI,CAAC,gBAAgB,KAAK,SAAS;oBAC7C,aAAa;iBACd,CAAC,CAAC;gBAEH,OAAO,IAAI,CAAC,sBAAsB,CAAC,MAAM,EAAE,IAAI,CAAC,CAAC;YACnD,CAAC;YAED,KAAK,UAAU,CAAC,aAAa,CAAC,CAAC,CAAC;gBAC9B,MAAM,aAAa,GACjB,IAAI,CAAC,aAAa;oBAClB,IAAI,CAAC,gDAAgD,CACnD,IAAI,CAAC,aAAa,EAClB,IAAI,CACL,CAAC;gBAEJ,2DAA2D;gBAC3D,OAAO,IAAI,CAAC,UAAU,CAAyB,IAAI,EAAE;oBACnD,IAAI,EAAE,0BAAc,CAAC,aAAa;oBAClC,SAAS,EAAE,IAAI,CAAC,SAAS;wBACvB,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC,GAAG,CAAC,EAAE,CAAC,EAAE,CAAC,IAAI,CAAC,YAAY,CAAC,EAAE,CAAC,CAAC;wBACjD,CAAC,CAAC,EAAE;oBACN,MAAM,EAAE,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,UAAU,CAAC;oBAC1C,aAAa;iBACd,CAAC,CAAC;YACL,CAAC;YAED,KAAK,UAAU,CAAC,qBAAqB;gBACnC,OAAO,IAAI,CAAC,UAAU,CAAiC,IAAI,EAAE;oBAC3D,IAAI,EAAE,0BAAc,CAAC,qBAAqB;oBAC1C,SAAS,EAAE,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,SAAS,CAAC;oBAC5C,UAAU,EAAE,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,QAAQ,CAAC;oBAC5C,IAAI,EAAE,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,SAAS,CAAC;iBACxC,CAAC,CAAC;YAEL,KAAK,UAAU,CAAC,YAAY,CAAC,CAAC,CAAC;gBAC7B,OAAO,IAAI,CAAC,UAAU,CAAwB,IAAI,EAAE;oBAClD,IAAI,EAAE,0BAAc,CAAC,YAAY;oBACjC,IAAI,EAAE,IAAI,CAAC,UAAU;oBACnB,kDAAkD;oBAClD,IAAI,CAAC,aAAa,EAAyC,EAC3D;wBACE,IAAI,EAAE,0BAAc,CAAC,UAAU;wBAC/B,UAAU,EAAE,EAAE;wBACd,IAAI,EAAE,IAAA,gCAAmB,EAAC,IAAI,CAAC,YAAY,CAAC;wBAC5C,QAAQ,EAAE,KAAK;wBACf,cAAc,EAAE,SAAS;qBAC1B,CACF;oBACD,QAAQ,EAAE,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,IAAI,CAAC;iBACvC,CAAC,CAAC;YACL,CAAC;YAED,KAAK,UAAU,CAAC,SAAS,CAAC,CAAC,CAAC;gBAC1B,OAAO,IAAI,CAAC,UAAU,CAAqB,IAAI,EAAE;oBAC/C,IAAI,EAAE,0BAAc,CAAC,SAAS;oBAC9B,UAAU,EAAE,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,UAAU,CAAC;iBAC/C,CAAC,CAAC;YACL,CAAC;YAED,WAAW;YAEX,KAAK,UAAU,CAAC,aAAa,CAAC,CAAC,CAAC;gBAC9B,OAAO,IAAI,CAAC,UAAU,CAAyB,IAAI,EAAE;oBACnD,IAAI,EAAE,0BAAc,CAAC,OAAO;oBAC5B,GAAG,EAAE,IAAI,CAAC,OAAO,EAAE;oBACnB,KAAK,EACH,MAAM,CAAC,IAAI,KAAK,UAAU,CAAC,YAAY;wBACrC,CAAC,CAAC,IAAA,sCAAyB,EAAC,IAAI,CAAC,IAAI,CAAC;wBACtC,CAAC,CAAC,IAAI,CAAC,IAAI;iBAChB,CAAC,CAAC;YACL,CAAC;YAED,KAAK,UAAU,CAAC,cAAc,CAAC,CAAC,CAAC;gBAC/B,OAAO,IAAI,CAAC,UAAU,CAAyB,IAAI,EAAE;oBACnD,IAAI,EAAE,0BAAc,CAAC,OAAO;oBAC5B,GAAG,EAAE,IAAI,CAAC,OAAO,EAAE;oBACnB,KAAK,EAAE,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC;iBACzB,CAAC,CAAC;YACL,CAAC;YAED,KAAK,UAAU,CAAC,aAAa,CAAC,CAAC,CAAC;gBAC9B,MAAM,KAAK,GAAG,IAAA,qBAAQ,EAAC,IAAI,EAAE,IAAI,CAAC,GAAG,CAAC,CAAC;gBACvC,MAAM,QAAQ,GAAG,IAAI,CAAC,GAAG,CAAC,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC;gBACzD,MAAM,MAAM,GAAG,QAAQ;oBACrB,oBAAoB;qBACnB,KAAK,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC;oBACb,4CAA4C;oBAC5C,6DAA6D;qBAC5D,UAAU,CAAC,GAAG,EAAE,EAAE,CAAC,CAAC;gBACvB,MAAM,KAAK,GAAG,OAAO,MAAM,KAAK,WAAW,CAAC,CAAC,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC;gBACpE,OAAO,IAAI,CAAC,UAAU,CAAyB,IAAI,EAAE;oBACnD,IAAI,EAAE,0BAAc,CAAC,OAAO;oBAC5B,KAAK;oBACL,MAAM,EAAE,KAAK,IAAI,IAAI,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,MAAM,CAAC,KAAK,CAAC;oBAC9C,GAAG,EAAE,QAAQ;oBACb,KAAK;iBACN,CAAC,CAAC;YACL,CAAC;YAED,KAAK,UAAU,CAAC,wBAAwB,CAAC,CAAC,CAAC;gBACzC,MAAM,OAAO,GAAG,IAAI,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,EAAE,IAAI,CAAC,IAAI,CAAC,WAAW,CAAC,GAAG,CAAC,CAAC,CAAC;gBAC/D,MAAM,KAAK,GAAG,IAAI,CAAC,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,WAAW,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC,CAAC;gBAE9D,IAAI,KAAK,GAAG,IAAI,CAAC;gBACjB,IAAI,CAAC;oBACH,KAAK,GAAG,IAAI,MAAM,CAAC,OAAO,EAAE,KAAK,CAAC,CAAC;gBACrC,CAAC;gBAAC,MAAM,CAAC;oBACP,2CAA2C;gBAC7C,CAAC;gBAED,OAAO,IAAI,CAAC,UAAU,CAAyB,IAAI,EAAE;oBACnD,IAAI,EAAE,0BAAc,CAAC,OAAO;oBAC5B,GAAG,EAAE,IAAI,CAAC,IAAI;oBACd,KAAK,EAAE;wBACL,KAAK;wBACL,OAAO;qBACR;oBACD,KAAK,EAAE,KAAK;iBACb,CAAC,CAAC;YACL,CAAC;YAED,KAAK,UAAU,CAAC,WAAW;gBACzB,OAAO,IAAI,CAAC,UAAU,CAA0B,IAAI,EAAE;oBACpD,IAAI,EAAE,0BAAc,CAAC,OAAO;oBAC5B,GAAG,EAAE,MAAM;oBACX,KAAK,EAAE,IAAI;iBACZ,CAAC,CAAC;YAEL,KAAK,UAAU,CAAC,YAAY;gBAC1B,OAAO,IAAI,CAAC,UAAU,CAA0B,IAAI,EAAE;oBACpD,IAAI,EAAE,0BAAc,CAAC,OAAO;oBAC5B,GAAG,EAAE,OAAO;oBACZ,KAAK,EAAE,KAAK;iBACb,CAAC,CAAC;YAEL,KAAK,UAAU,CAAC,WAAW,CAAC,CAAC,CAAC;gBAC5B,OAAO,IAAI,CAAC,UAAU,CAAuB,IAAI,EAAE;oBACjD,IAAI,EAAE,0BAAc,CAAC,OAAO;oBAC5B,GAAG,EAAE,MAAM;oBACX,KAAK,EAAE,IAAI;iBACZ,CAAC,CAAC;YACL,CAAC;YAED,KAAK,UAAU,CAAC,cAAc;gBAC5B,OAAO,IAAI,CAAC,UAAU,CAA0B,IAAI,EAAE;oBACpD,IAAI,EAAE,0BAAc,CAAC,cAAc;iBACpC,CAAC,CAAC;YAEL,KAAK,UAAU,CAAC,iBAAiB;gBAC/B,OAAO,IAAI,CAAC,UAAU,CAA6B,IAAI,EAAE;oBACvD,IAAI,EAAE,0BAAc,CAAC,iBAAiB;iBACvC,CAAC,CAAC;YAEL,MAAM;YAEN,KAAK,UAAU,CAAC,UAAU;gBACxB,OAAO,IAAI,CAAC,UAAU,CAAsB,IAAI,EAAE;oBAChD,IAAI,EAAE,0BAAc,CAAC,UAAU;oBAC/B,QAAQ,EAAE,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,EAAE,CAAC,EAAE,CAAC,IAAI,CAAC,YAAY,CAAC,EAAE,CAAC,CAAC;oBACxD,cAAc,EAAE,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,cAAc,CAAC;oBACtD,cAAc,EAAE,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,cAAc,CAAC;iBACvD,CAAC,CAAC;YAEL,KAAK,UAAU,CAAC,WAAW;gBACzB,OAAO,IAAI,CAAC,UAAU,CAAuB,IAAI,EAAE;oBACjD,IAAI,EAAE,0BAAc,CAAC,WAAW;oBAChC,QAAQ,EAAE,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,EAAE,CAAC,EAAE,CAAC,IAAI,CAAC,YAAY,CAAC,EAAE,CAAC,CAAC;oBACxD,eAAe,EAAE,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,eAAe,CAAC;oBACxD,eAAe,EAAE,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,eAAe,CAAC;iBACzD,CAAC,CAAC;YAEL,KAAK,UAAU,CAAC,qBAAqB,CAAC,CAAC,CAAC;gBACtC,OAAO,IAAI,CAAC,UAAU,CAAsB,IAAI,EAAE;oBAChD,IAAI,EAAE,0BAAc,CAAC,UAAU;oBAC/B;;;uBAGG;oBACH,QAAQ,EAAE,EAAE;oBACZ,cAAc,EAAE,IAAI;oBACpB,cAAc,EAAE,IAAI,CAAC,UAAU,CAA6B,IAAI,EAAE;wBAChE,IAAI,EAAE,0BAAc,CAAC,iBAAiB;wBACtC,KAAK,EAAE,IAAA,qBAAQ,EAAC,IAAI,EAAE,IAAI,CAAC,GAAG,CAAC;wBAC/B,UAAU,EAAE,IAAI,CAAC,UAAU,CAAC,UAAU,CAAC,GAAG,CAAC,EAAE,CAAC,EAAE,CAC9C,IAAI,CAAC,YAAY,CAAC,EAAE,CAAC,CACtB;wBACD,IAAI,EAAE,IAAI,CAAC,iBAAiB,CAAC,IAAI,CAAC,OAAO,EAAE,IAAI,CAAC;wBAChD,WAAW,EAAE,IAAI;wBACjB,aAAa,EAAE,IAAI,CAAC,aAAa;4BAC/B,CAAC,CAAC,IAAI,CAAC,gDAAgD,CACnD,IAAI,CAAC,aAAa,EAClB,IAAI,CACL;4BACH,CAAC,CAAC,SAAS;qBACd,CAAC;iBACH,CAAC,CAAC;YACL,CAAC;YAED,KAAK,UAAU,CAAC,iBAAiB,CAAC,CAAC,CAAC;gBAClC,OAAO,IAAI,CAAC,UAAU,CAA6B,IAAI,EAAE;oBACvD,IAAI,EAAE,0BAAc,CAAC,iBAAiB;oBACtC,UAAU,EAAE,IAAI,CAAC,UAAU,CAAC,UAAU,CAAC,GAAG,CAAC,EAAE,CAAC,EAAE,CAC9C,IAAI,CAAC,YAAY,CAAC,EAAE,CAAC,CACtB;oBACD,IAAI,EAAE,IAAI,CAAC,iBAAiB,CAAC,IAAI,CAAC,OAAO,EAAE,IAAI,CAAC;oBAChD,WAAW,EAAE,KAAK;oBAClB,aAAa,EACX,IAAI,CAAC,aAAa;wBAClB,IAAI,CAAC,gDAAgD,CACnD,IAAI,CAAC,aAAa,EAClB,IAAI,CACL;iBACJ,CAAC,CAAC;YACL,CAAC;YAED,KAAK,UAAU,CAAC,iBAAiB;gBAC/B,OAAO,IAAI,CAAC,UAAU,CAA6B,IAAI,EAAE;oBACvD,IAAI,EAAE,0BAAc,CAAC,iBAAiB;oBACtC,IAAI,EAAE,IAAI,CAAC,iBAAiB,CAAC,IAAI,CAAC,OAAO,EAAE,IAAI,CAAC;iBACjD,CAAC,CAAC;YAEL,KAAK,UAAU,CAAC,kBAAkB;gBAChC,OAAO,IAAI,CAAC,UAAU,CAA8B,IAAI,EAAE;oBACxD,IAAI,EAAE,0BAAc,CAAC,kBAAkB;iBACxC,CAAC,CAAC;YAEL,KAAK,UAAU,CAAC,kBAAkB;gBAChC,OAAO,IAAI,CAAC,UAAU,CAA8B,IAAI,EAAE;oBACxD,IAAI,EAAE,0BAAc,CAAC,kBAAkB;iBACxC,CAAC,CAAC;YAEL,KAAK,UAAU,CAAC,aAAa,CAAC,CAAC,CAAC;gBAC9B,MAAM,UAAU,GAAG,IAAI,CAAC,UAAU;oBAChC,CAAC,CAAC,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,UAAU,CAAC;oBACpC,CAAC,CAAC,IAAI,CAAC,UAAU,CAA8B,IAAI,EAAE;wBACjD,IAAI,EAAE,0BAAc,CAAC,kBAAkB;wBACvC,KAAK,EAAE,CAAC,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,GAAG,CAAC,GAAG,CAAC,EAAE,IAAI,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;qBACxD,CAAC,CAAC;gBAEP,IAAI,IAAI,CAAC,cAAc,EAAE,CAAC;oBACxB,OAAO,IAAI,CAAC,UAAU,CAA0B,IAAI,EAAE;wBACpD,IAAI,EAAE,0BAAc,CAAC,cAAc;wBACnC,UAAU;qBACX,CAAC,CAAC;gBACL,CAAC;gBACD,OAAO,IAAI,CAAC,UAAU,CAAkC,IAAI,EAAE;oBAC5D,IAAI,EAAE,0BAAc,CAAC,sBAAsB;oBAC3C,UAAU;iBACX,CAAC,CAAC;YACL,CAAC;YAED,KAAK,UAAU,CAAC,YAAY,CAAC,CAAC,CAAC;gBAC7B,OAAO,IAAI,CAAC,UAAU,CAAwB,IAAI,EAAE;oBAClD,IAAI,EAAE,0BAAc,CAAC,YAAY;oBACjC,IAAI,EAAE,IAAI,CAAC,+BAA+B,CAAC,IAAI,CAAC,IAAI,CAAC;oBACrD,KAAK,EAAE,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,WAAW,CAAC;iBAC3C,CAAC,CAAC;YACL,CAAC;YAED,KAAK,UAAU,CAAC,OAAO,CAAC,CAAC,CAAC;gBACxB,MAAM,KAAK,GAAG,IAAI,CAAC,YAAY,EAAE,CAAC;gBAClC,MAAM,GAAG,GAAG,IAAI,CAAC,MAAM,EAAE,CAAC;gBAC1B,MAAM,IAAI,GAAG,IAAI,CAAC,GAAG,CAAC,IAAI,CAAC,KAAK,CAAC,KAAK,EAAE,GAAG,CAAC,CAAC;gBAE7C,OAAO,IAAI,CAAC,UAAU,CAAmB,IAAI,EAAE;oBAC7C,IAAI,EAAE,0BAAc,CAAC,OAAO;oBAC5B,KAAK,EAAE,CAAC,KAAK,EAAE,GAAG,CAAC;oBACnB,GAAG,EAAE,IAAI;oBACT,KAAK,EAAE,IAAA,sCAAyB,EAAC,IAAI,CAAC;iBACvC,CAAC,CAAC;YACL,CAAC;YAED,KAAK,UAAU,CAAC,kBAAkB;gBAChC,OAAO,IAAI,CAAC,UAAU,CAA8B,IAAI,EAAE;oBACxD,IAAI,EAAE,0BAAc,CAAC,kBAAkB;oBACvC,QAAQ,EAAE,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,UAAU,CAAC;iBAC7C,CAAC,CAAC;YAEL,KAAK,UAAU,CAAC,aAAa,CAAC,CAAC,CAAC;gBAC9B,OAAO,IAAI,CAAC,UAAU,CAA2B,IAAI,EAAE;oBACrD,IAAI,EAAE,0BAAc,CAAC,eAAe;oBACpC,IAAI,EAAE,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,IAAI,CAAC;oBAClC,KAAK,EAAE,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,KAAK,CAAC;iBACrC,CAAC,CAAC;YACL,CAAC;YAED,sBAAsB;YAEtB,KAAK,UAAU,CAAC,aAAa;gBAC3B,OAAO,IAAI,CAAC,UAAU,CAA2B,IAAI,EAAE;oBACrD,IAAI,EAAE,0BAAc,CAAC,eAAe;oBACpC,aAAa,EACX,IAAI,CAAC,aAAa;wBAClB,IAAI,CAAC,gDAAgD,CACnD,IAAI,CAAC,aAAa,EAClB,IAAI,CACL;oBACH,QAAQ,EAAE,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,QAAQ,CAAC;iBAC3C,CAAC,CAAC;YAEL,KAAK,UAAU,CAAC,aAAa,CAAC,CAAC,CAAC;gBAC9B,OAAO,IAAI,CAAC,UAAU,CAA2B,IAAI,EAAE;oBACrD,IAAI,EAAE,0BAAc,CAAC,eAAe;oBACpC,KAAK,EAAE,IAAA,wBAAW,EAAC,UAAU,CAAC,YAAY,EAAE,IAAI,CAAC;oBACjD,UAAU,EAAE,IAAI,CAAC,UAAU,IAAI,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,UAAU,CAAC;oBACjE,OAAO,EAAE,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS;oBACnE,EAAE,EAAE,IAAA,wBAAW,EAAC,UAAU,CAAC,SAAS,EAAE,IAAI,CAAC;oBAC3C,IAAI,EAAE,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,IAAI,CAAC;oBAClC,GAAG,EAAE,IAAA,wBAAW,EAAC,UAAU,CAAC,UAAU,EAAE,IAAI,CAAC;iBAC9C,CAAC,CAAC;YACL,CAAC;YAED,KAAK,UAAU,CAAC,QAAQ;gBACtB,OAAO,IAAI,CAAC,UAAU,CAAsB,IAAI,EAAE;oBAChD,IAAI,EAAE,0BAAc,CAAC,UAAU;iBAChC,CAAC,CAAC;YAEL,KAAK,UAAU,CAAC,UAAU,CAAC;YAC3B,KAAK,UAAU,CAAC,aAAa,CAAC;YAC9B,KAAK,UAAU,CAAC,cAAc,CAAC;YAC/B,KAAK,UAAU,CAAC,YAAY,CAAC;YAC7B,KAAK,UAAU,CAAC,aAAa,CAAC;YAC9B,KAAK,UAAU,CAAC,aAAa,CAAC;YAC9B,KAAK,UAAU,CAAC,aAAa,CAAC;YAC9B,KAAK,UAAU,CAAC,aAAa,CAAC;YAC9B,KAAK,UAAU,CAAC,cAAc,CAAC;YAC/B,KAAK,UAAU,CAAC,WAAW,CAAC;YAC5B,KAAK,UAAU,CAAC,gBAAgB,CAAC;YACjC,KAAK,UAAU,CAAC,gBAAgB,CAAC,CAAC,CAAC;gBACjC,OAAO,IAAI,CAAC,UAAU,CAAM,IAAI,EAAE;oBAChC,IAAI,EAAE,0BAAc,CAAC,KAAK,UAAU,CAAC,IAAI,CAAC,IAAI,CAAC,EAAoB,CAAC;iBACrE,CAAC,CAAC;YACL,CAAC;YAED,KAAK,UAAU,CAAC,iBAAiB,CAAC,CAAC,CAAC;gBAClC,MAAM,MAAM,GAAG,IAAI,CAAC,UAAU,CAA+B,IAAI,EAAE;oBACjE,IAAI,EAAE,0BAAc,CAAC,mBAAmB;oBACxC,UAAU,EAAE,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,UAAU,CAAC;iBAC/C,CAAC,CAAC;gBAEH,OAAO,IAAI,CAAC,sBAAsB,CAAC,MAAM,EAAE,IAAI,CAAC,CAAC;YACnD,CAAC;YAED,KAAK,UAAU,CAAC,WAAW,CAAC,CAAC,CAAC;gBAC5B,OAAO,IAAI,CAAC,UAAU,CAAyB,IAAI,EAAE;oBACnD,IAAI,EAAE,0BAAc,CAAC,aAAa;oBAClC,OAAO,EAAE,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,EAAE,CAAC,EAAE,CAAC,IAAI,CAAC,YAAY,CAAC,EAAE,CAAC,CAAC;iBACvD,CAAC,CAAC;YACL,CAAC;YAED,KAAK,UAAU,CAAC,SAAS,CAAC,CAAC,CAAC;gBAC1B,OAAO,IAAI,CAAC,UAAU,CAAuB,IAAI,EAAE;oBACjD,IAAI,EAAE,0BAAc,CAAC,WAAW;oBAChC,WAAW,EAAE,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,WAAW,CAAC;iBACjD,CAAC,CAAC;YACL,CAAC;YAED,KAAK,UAAU,CAAC,iBAAiB,CAAC,CAAC,CAAC;gBAClC,OAAO,IAAI,CAAC,UAAU,CAA+B,IAAI,EAAE;oBACzD,IAAI,EAAE,0BAAc,CAAC,mBAAmB;oBACxC,SAAS,EAAE,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,SAAS,CAAC;oBAC5C,UAAU,EAAE,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,UAAU,CAAC;iBAC/C,CAAC,CAAC;YACL,CAAC;YAED,KAAK,UAAU,CAAC,eAAe,CAAC,CAAC,CAAC;gBAChC,OAAO,IAAI,CAAC,UAAU,CAA6B,IAAI,EAAE;oBACvD,IAAI,EAAE,0BAAc,CAAC,iBAAiB;oBACtC,SAAS,EAAE,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,SAAS,CAAC;oBAC5C,WAAW,EAAE,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,WAAW,CAAC;oBAChD,SAAS,EAAE,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,SAAS,CAAC;oBAC5C,QAAQ,EAAE,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,QAAQ,CAAC;iBAC3C,CAAC,CAAC;YACL,CAAC;YAED,KAAK,UAAU,CAAC,SAAS;gBACvB,OAAO,IAAI,CAAC,UAAU,CAAuB,IAAI,EAAE;oBACjD,IAAI,EAAE,0BAAc,CAAC,WAAW;oBAChC,QAAQ,EAAE,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,QAAQ,CAAC;oBAC1C,aAAa,EACX,IAAI,CAAC,aAAa;wBAClB,IAAI,CAAC,gDAAgD,CACnD,IAAI,CAAC,aAAa,EAClB,IAAI,CACL;iBACJ,CAAC,CAAC;YAEL,KAAK,UAAU,CAAC,UAAU,CAAC,CAAC,CAAC;gBAC3B,IAAI,IAAI,CAAC,OAAO,IAAI,IAAI,CAAC,OAAO,CAAC,MAAM,GAAG,CAAC,EAAE,CAAC;oBAC5C,IAAI,CAAC,2BAA2B,CAC9B,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,EACf,sDAAsD,CACvD,CAAC;gBACJ,CAAC;gBAED,OAAO,IAAI,CAAC,UAAU,CACpB,IAAI,EACJ,IAAI,CAAC,qBAAqB,CACxB;oBACE,IAAI,EAAE,0BAAc,CAAC,YAAY;oBACjC,UAAU,EAAE,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,aAAa,CAAC,UAAU,CAAC;oBAC5D,GAAG,EAAE,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,aAAa,CAAC,IAAI,CAAC;oBAC/C,QAAQ,EAAE,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,QAAQ,CAAC,IAAI,IAAI;oBAClD,QAAQ,EACN,IAAI,CAAC,aAAa;wBAClB,CAAC,IAAI,CAAC,aAAa,CAAC,IAAI,KAAK,UAAU,CAAC,aAAa;4BACnD,IAAA,gCAAmB,EAAC,IAAI,CAAC,aAAa,CAAC,IAAI,CAAC,CAAC;oBACjD,QAAQ,EACN,IAAI,CAAC,aAAa;wBAClB,CAAC,IAAI,CAAC,aAAa,CAAC,IAAI,KAAK,UAAU,CAAC,eAAe;4BACrD,IAAA,gCAAmB,EAAC,IAAI,CAAC,aAAa,CAAC,IAAI,CAAC,CAAC;oBACjD,cAAc,EAAE,IAAI,CAAC,IAAI,IAAI,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,IAAI,CAAC;iBAC1D,EACD,eAAe,EACf,wBAAwB,EACxB,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,aAAa,CAAC,CACtC,CACF,CAAC;YACJ,CAAC;YAED,KAAK,UAAU,CAAC,uBAAuB;gBACrC,OAAO,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,UAAU,EAAE,MAAM,CAAC,CAAC;YAEpD,KAAK,UAAU,CAAC,oBAAoB,CAAC,CAAC,CAAC;gBACrC,MAAM,MAAM,GAAG,IAAI,CAAC,UAAU,CAAkC,IAAI,EAAE;oBACpE,IAAI,EAAE,0BAAc,CAAC,sBAAsB;oBAC3C,OAAO,EAAE,IAAA,wBAAW,EAAC,UAAU,CAAC,cAAc,EAAE,IAAI,CAAC;oBACrD,EAAE,EAAE,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,IAAI,CAAC;oBAChC,cAAc,EAAE,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,IAAI,CAAC;oBAC5C,cAAc,EACZ,IAAI,CAAC,cAAc;wBACnB,IAAI,CAAC,kDAAkD,CACrD,IAAI,CAAC,cAAc,CACpB;iBACJ,CAAC,CAAC;gBAEH,OAAO,IAAI,CAAC,UAAU,CAAC,IAAI,EAAE,MAAM,CAAC,CAAC;YACvC,CAAC;YAED,KAAK,UAAU,CAAC,eAAe,CAAC,CAAC,CAAC;gBAChC,OAAO,IAAI,CAAC,sBAAsB,CAAC,IAAI,CAAC,CAAC;YAC3C,CAAC;YAED,KAAK,UAAU,CAAC,iBAAiB,CAAC,CAAC,CAAC;gBAClC,4DAA4D;gBAC5D,MAAM,EAAE,WAAW,EAAE,GAAG,IAAI,CAAC;gBAC7B,IAAI,WAAW,EAAE,CAAC;oBAChB,IAAI,CAAC,WAAW,CACd,WAAW,EACX,kDAAkD,CACnD,CAAC;gBACJ,CAAC;gBAED,OAAO,IAAI,CAAC,UAAU,CAA+B,IAAI,EAAE;oBACzD,IAAI,EAAE,0BAAc,CAAC,mBAAmB;oBACxC,aAAa,EAAE,IAAA,mCAAsB,EAAC,IAAI,CAAC;oBAC3C,QAAQ,EAAE,IAAA,+BAAkB,EAAC,IAAI,CAAC,IAAI,CAAC;oBACvC,GAAG,EAAE,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,IAAI,CAAC;oBACjC,QAAQ,EAAE,IAAA,uBAAU,EAAC,IAAI,CAAC;oBAC1B,QAAQ,EAAE,IAAA,wBAAW,EAAC,UAAU,CAAC,eAAe,EAAE,IAAI,CAAC;oBACvD,MAAM,EAAE,IAAA,wBAAW,EAAC,UAAU,CAAC,aAAa,EAAE,IAAI,CAAC;oBACnD,cAAc,EACZ,IAAI,CAAC,IAAI,IAAI,IAAI,CAAC,qBAAqB,CAAC,IAAI,CAAC,IAAI,EAAE,IAAI,CAAC;iBAC3D,CAAC,CAAC;YACL,CAAC;YAED,KAAK,UAAU,CAAC,cAAc,CAAC,CAAC,CAAC;gBAC/B,OAAO,IAAI,CAAC,UAAU,CAA4B,IAAI,EAAE;oBACtD,IAAI,EAAE,0BAAc,CAAC,gBAAgB;oBACrC,aAAa,EAAE,IAAA,mCAAsB,EAAC,IAAI,CAAC;oBAC3C,UAAU,EAAE,IAAI,CAAC,UAAU,CAAC,GAAG,CAAC,EAAE,CAAC,EAAE,CAAC,IAAI,CAAC,YAAY,CAAC,EAAE,CAAC,CAAC;oBAC5D,QAAQ,EAAE,IAAA,wBAAW,EAAC,UAAU,CAAC,eAAe,EAAE,IAAI,CAAC;oBACvD,MAAM,EAAE,IAAA,wBAAW,EAAC,UAAU,CAAC,aAAa,EAAE,IAAI,CAAC;oBACnD,cAAc,EACZ,IAAI,CAAC,IAAI,IAAI,IAAI,CAAC,qBAAqB,CAAC,IAAI,CAAC,IAAI,EAAE,IAAI,CAAC;iBAC3D,CAAC,CAAC;YACL,CAAC;YAED,KAAK,UAAU,CAAC,eAAe,CAAC,CAAC,CAAC;gBAChC,OAAO,IAAI,CAAC,UAAU,CAA6B,IAAI,EAAE;oBACvD,IAAI,EAAE,0BAAc,CAAC,iBAAiB;oBACtC,QAAQ,EAAE,IAAA,wBAAW,EAAC,UAAU,CAAC,eAAe,EAAE,IAAI,CAAC;oBACvD,MAAM,EAAE,IAAI,CAAC,iBAAiB,CAAC,IAAI,CAAC,UAAU,CAAC;oBAC/C,UAAU,EAAE,IAAI,CAAC,IAAI,IAAI,IAAI,CAAC,qBAAqB,CAAC,IAAI,CAAC,IAAI,EAAE,IAAI,CAAC;oBACpE,cAAc,EACZ,IAAI,CAAC,cAAc;wBACnB,IAAI,CAAC,kDAAkD,CACrD,IAAI,CAAC,cAAc,CACpB;iBACJ,CAAC,CAAC;YACL,CAAC;YAED,KAAK,UAAU,CAAC,YAAY,CAAC,CAAC,CAAC;gBAC7B,4DAA4D;gBAC5D,MAAM,EAAE,SAAS,EAAE,GAAG,IAAI,CAAC;gBAC3B,IAAI,SAAS,EAAE,CAAC;oBACd,IAAI,CAAC,WAAW,CACd,SAAS,CAAC,CAAC,CAAC,EACZ,wCAAwC,CACzC,CAAC;gBACJ,CAAC;YACH,CAAC;YACD,0BAA0B;YAC1B,KAAK,UAAU,CAAC,kBAAkB,CAAC;YACnC,KAAK,UAAU,CAAC,aAAa,CAAC,CAAC,CAAC;gBAC9B,MAAM,IAAI,GACR,IAAI,CAAC,IAAI,KAAK,UAAU,CAAC,kBAAkB;oBACzC,CAAC,CAAC,0BAAc,CAAC,+BAA+B;oBAChD,CAAC,CAAC,IAAI,CAAC,IAAI,KAAK,UAAU,CAAC,aAAa;wBACtC,CAAC,CAAC,0BAAc,CAAC,0BAA0B;wBAC3C,CAAC,CAAC,0BAAc,CAAC,cAAc,CAAC;gBAEtC,OAAO,IAAI,CAAC,UAAU,CAIpB,IAAI,EAAE;oBACN,IAAI;oBACJ,MAAM,EAAE,IAAI,CAAC,iBAAiB,CAAC,IAAI,CAAC,UAAU,CAAC;oBAC/C,UAAU,EAAE,IAAI,CAAC,IAAI,IAAI,IAAI,CAAC,qBAAqB,CAAC,IAAI,CAAC,IAAI,EAAE,IAAI,CAAC;oBACpE,cAAc,EACZ,IAAI,CAAC,cAAc;wBACnB,IAAI,CAAC,kDAAkD,CACrD,IAAI,CAAC,cAAc,CACpB;iBACJ,CAAC,CAAC;YACL,CAAC;YAED,KAAK,UAAU,CAAC,2BAA2B,CAAC,CAAC,CAAC;gBAC5C,MAAM,UAAU,GAAG,MAAM,CAAC,IAAI,CAAC;gBAC/B,MAAM,IAAI,GACR,UAAU,KAAK,UAAU,CAAC,oBAAoB;oBAC5C,CAAC,CAAC,0BAAc,CAAC,mBAAmB;oBACpC,CAAC,CAAC,UAAU,KAAK,UAAU,CAAC,cAAc;wBACxC,CAAC,CAAC,0BAAc,CAAC,iBAAiB;wBAClC,CAAC,CAAC,0BAAc,CAAC,yBAAyB,CAAC;gBAEjD,OAAO,IAAI,CAAC,UAAU,CAIpB,IAAI,EAAE;oBACN,IAAI;oBACJ,UAAU,EAAE,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,UAAU,CAAC;oBAC9C,aAAa,EACX,IAAI,CAAC,aAAa;wBAClB,IAAI,CAAC,gDAAgD,CACnD,IAAI,CAAC,aAAa,EAClB,IAAI,CACL;iBACJ,CAAC,CAAC;YACL,CAAC;YAED,KAAK,UAAU,CAAC,oBAAoB,CAAC,CAAC,CAAC;gBACrC,MAAM,wBAAwB,GAAG,IAAI,CAAC,eAAe,IAAI,EAAE,CAAC;gBAC5D,MAAM,gBAAgB,GAAmC,EAAE,CAAC;gBAE5D,KAAK,MAAM,cAAc,IAAI,wBAAwB,EAAE,CAAC;oBACtD,IAAI,cAAc,CAAC,KAAK,KAAK,UAAU,CAAC,cAAc,EAAE,CAAC;wBACvD,IAAI,CAAC,WAAW,CACd,cAAc,EACd,cAAc,CAAC,KAAK,KAAK,UAAU,CAAC,iBAAiB;4BACnD,CAAC,CAAC,wDAAwD;4BAC1D,CAAC,CAAC,mBAAmB,CACxB,CAAC;oBACJ,CAAC;oBAED,KAAK,MAAM,YAAY,IAAI,cAAc,CAAC,KAAK,EAAE,CAAC;wBAChD,gBAAgB,CAAC,IAAI,CACnB,IAAI,CAAC,YAAY,CACf,YAAY,EACZ,IAAI,CAC2B,CAClC,CAAC;oBACJ,CAAC;gBACH,CAAC;gBAED,MAAM,MAAM,GAAG,IAAI,CAAC,UAAU,CAAkC,IAAI,EAAE;oBACpE,IAAI,EAAE,0BAAc,CAAC,sBAAsB;oBAC3C,IAAI,EAAE,IAAI,CAAC,UAAU,CAA2B,IAAI,EAAE;wBACpD,IAAI,EAAE,0BAAc,CAAC,eAAe;wBACpC,KAAK,EAAE,CAAC,IAAI,CAAC,OAAO,CAAC,GAAG,GAAG,CAAC,EAAE,IAAI,CAAC,GAAG,CAAC;wBACvC,IAAI,EAAE,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,EAAE,CAAC,IAAI,CAAC,YAAY,CAAC,MAAM,CAAC,CAAC;qBAC5D,CAAC;oBACF,OAAO,EAAE,IAAA,wBAAW,EAAC,UAAU,CAAC,cAAc,EAAE,IAAI,CAAC;oBACrD,OAAO,EAAE,gBAAgB;oBACzB,EAAE,EAAE,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,IAAI,CAAC;oBAChC,cAAc,EACZ,IAAI,CAAC,cAAc;wBACnB,IAAI,CAAC,kDAAkD,CACrD,IAAI,CAAC,cAAc,CACpB;iBACJ,CAAC,CAAC;gBAEH,OAAO,IAAI,CAAC,UAAU,CAAC,IAAI,EAAE,MAAM,CAAC,CAAC;YACvC,CAAC;YAED,KAAK,UAAU,CAAC,aAAa,CAAC,CAAC,CAAC;gBAC9B,MAAM,MAAM,GAAG,IAAI,CAAC,UAAU,CAA2B,IAAI,EAAE;oBAC7D,IAAI,EAAE,0BAAc,CAAC,eAAe;oBACpC,OAAO,EAAE,IAAI,CAAC,eAAe,KAAK,SAAS;oBAC3C,aAAa,EAAE,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,aAAa,CAAC;oBACpD,cAAc,EAAE,IAAI;iBACrB,CAAC,CAAC;gBACH;;mBAEG;gBACH,IAAI,IAAI,CAAC,IAAI,EAAE,CAAC;oBACd,MAAM,CAAC,cAAc,GAAG,IAAI,CAAC,qBAAqB,CAAC,IAAI,CAAC,IAAI,EAAE,IAAI,CAAC,CAAC;oBACpE,MAAM,CAAC,cAAc,CAAC,GAAG,GAAG,MAAM,CAAC,cAAc,CAAC,cAAc,CAAC,GAAG,CAAC;oBACrE,MAAM,CAAC,cAAc,CAAC,KAAK;wBACzB,MAAM,CAAC,cAAc,CAAC,cAAc,CAAC,KAAK,CAAC;gBAC/C,CAAC;gBACD,OAAO,MAAM,CAAC;YAChB,CAAC;YAED,KAAK,UAAU,CAAC,UAAU,CAAC,CAAC,CAAC;gBAC3B,MAAM,KAAK,GAAG,IAAA,qBAAQ,EAAC,IAAI,EAAE,IAAI,CAAC,GAAG,CAAC,CAAC;gBACvC,IAAI,IAAI,CAAC,QAAQ,EAAE,CAAC;oBAClB,MAAM,KAAK,GAAG,IAAA,0BAAa,EAAC,IAAI,CAAC,aAAa,EAAG,EAAE,IAAI,EAAE,IAAI,CAAC,GAAG,CAAE,CAAC;oBACpE,KAAK,CAAC,CAAC,CAAC,GAAG,KAAK,CAAC,QAAQ,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;gBACtC,CAAC;gBACD,MAAM,MAAM,GAAG,IAAI,CAAC,UAAU,CAAwB,IAAI,EAAE;oBAC1D,IAAI,EAAE,0BAAc,CAAC,YAAY;oBACjC,KAAK;oBACL,QAAQ,EAAE,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,QAAQ,CAAC;oBAC1C,SAAS,EAAE,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,SAAS,CAAC;oBAC5C,aAAa,EAAE,IAAI,CAAC,aAAa;wBAC/B,CAAC,CAAC,IAAI,CAAC,gDAAgD,CACnD,IAAI,CAAC,aAAa,EAClB,IAAI,CACL;wBACH,CAAC,CAAC,IAAI;iBACT,CAAC,CAAC;gBAEH,IAAI,IAAI,CAAC,QAAQ,EAAE,CAAC;oBAClB,OAAO,IAAI,CAAC,UAAU,CAAuB,IAAI,EAAE;wBACjD,IAAI,EAAE,0BAAc,CAAC,WAAW;wBAChC,QAAQ,EAAE,MAAM;wBAChB,aAAa,EAAE,SAAS;qBACzB,CAAC,CAAC;gBACL,CAAC;gBACD,OAAO,MAAM,CAAC;YAChB,CAAC;YAED,KAAK,UAAU,CAAC,eAAe,CAAC,CAAC,CAAC;gBAChC,MAAM,OAAO,GAAG,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,EAAE,CAAC,EAAE,CAAC,IAAI,CAAC,YAAY,CAAC,EAAE,CAAC,CAAC,CAAC;gBAC9D,MAAM,MAAM,GAAG,IAAI,CAAC,UAAU,CAC5B,IAAI,EACJ,IAAI,CAAC,qBAAqB,CACxB;oBACE,IAAI,EAAE,0BAAc,CAAC,iBAAiB;oBACtC,IAAI,EAAE,IAAI,CAAC,UAAU,CAAsB,IAAI,EAAE;wBAC/C,IAAI,EAAE,0BAAc,CAAC,UAAU;wBAC/B,KAAK,EAAE,CAAC,IAAI,CAAC,OAAO,CAAC,GAAG,GAAG,CAAC,EAAE,IAAI,CAAC,GAAG,CAAC;wBACvC,OAAO;qBACR,CAAC;oBACF,KAAK,EAAE,IAAA,wBAAW,EAAC,UAAU,CAAC,YAAY,EAAE,IAAI,CAAC;oBACjD,OAAO,EAAE,IAAA,wBAAW,EAAC,UAAU,CAAC,cAAc,EAAE,IAAI,CAAC;oBACrD,EAAE,EAAE,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,IAAI,CAAC;iBACjC,EACD,SAAS,EACT,gBAAgB,EAChB,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,EAAE,CAAC,EAAE,CAAC,IAAI,CAAC,YAAY,CAAC,EAAE,CAAC,CAAC,CAC9C,CACF,CAAC;gBAEF,OAAO,IAAI,CAAC,UAAU,CAAC,IAAI,EAAE,MAAM,CAAC,CAAC;YACvC,CAAC;YAED,KAAK,UAAU,CAAC,UAAU,CAAC,CAAC,CAAC;gBAC3B,OAAO,IAAI,CAAC,UAAU,CAAwB,IAAI,EAAE;oBAClD,IAAI,EAAE,0BAAc,CAAC,YAAY;oBACjC,QAAQ,EAAE,IAAI,CAAC,IAAI,CAAC,IAAI,KAAK,EAAE,CAAC,UAAU,CAAC,oBAAoB;oBAC/D,EAAE,EAAE,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,IAAI,CAAC;oBAChC,WAAW,EAAE,IAAI,CAAC,WAAW,IAAI,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,WAAW,CAAC;iBACrE,CAAC,CAAC;YACL,CAAC;YAED,KAAK,UAAU,CAAC,iBAAiB,CAAC,CAAC,CAAC;gBAClC,IAAI,SAAS,GAAG,IAAA,wBAAW,EAAC,UAAU,CAAC,cAAc,EAAE,IAAI,CAAC,CAAC;gBAE7D,MAAM,MAAM,GAAG,IAAI,CAAC,UAAU,CAA+B,IAAI,EAAE;oBACjE,IAAI,EAAE,0BAAc,CAAC,mBAAmB;oBACxC,GAAG,CAAC,GAEF,EAAE;wBACF,4EAA4E;wBAC5E,0CAA0C;wBAE1C,IAAI,IAAI,CAAC,KAAK,GAAG,EAAE,CAAC,SAAS,CAAC,kBAAkB,EAAE,CAAC;4BACjD,MAAM,EAAE,GACN,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;4BAC/B,MAAM,IAAI,GAGC,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;4BAExC,IACE,IAAI,IAAI,IAAI;gCACZ,IAAI,CAAC,IAAI,KAAK,0BAAc,CAAC,mBAAmB,EAChD,CAAC;gCACD,IAAI,CAAC,2BAA2B,CAC9B,IAAI,CAAC,IAAI,IAAI,IAAI,EACjB,8BAA8B,CAC/B,CAAC;4BACJ,CAAC;4BACD,IAAI,EAAE,CAAC,IAAI,KAAK,0BAAc,CAAC,UAAU,EAAE,CAAC;gCAC1C,IAAI,CAAC,2BAA2B,CAC9B,IAAI,CAAC,IAAI,EACT,uDAAuD,CACxD,CAAC;4BACJ,CAAC;4BACD,OAAO;gCACL,IAAI,EAAE,IAA8B;gCACpC,OAAO,EAAE,KAAK;gCACd,MAAM,EAAE,KAAK;gCACb,EAAE;gCACF,IAAI,EAAE,QAAQ;6BACf,CAAC;wBACJ,CAAC;wBAED,IAAI,CAAC,CAAC,IAAI,CAAC,KAAK,GAAG,EAAE,CAAC,SAAS,CAAC,SAAS,CAAC,EAAE,CAAC;4BAC3C,MAAM,IAAI,GAAkC,IAAI,CAAC,YAAY,CAC3D,IAAI,CAAC,IAAI,CACV,CAAC;4BACF,OAAO;gCACL,IAAI,EAAE,QAAQ;gCACd,GAAG,CAAC,IAAI,IAAI,IAAI,CAAC,CAAC,CAAC,EAAE,IAAI,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC;gCACjC,OAAO,EAAE,KAAK;gCACd,MAAM,EAAE,KAAK;gCACb,EAAE,EAAE,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,IAAI,CAAC;6BACjC,CAAC;wBACJ,CAAC;wBAED,4EAA4E;wBAC5E,mEAAmE;wBACnE,0DAA0D;wBAE1D,IAAI,IAAI,CAAC,IAAI,IAAI,IAAI,EAAE,CAAC;4BACtB,IAAI,CAAC,2BAA2B,CAAC,IAAI,EAAE,wBAAwB,CAAC,CAAC;wBACnE,CAAC;wBACD,IAAI,IAAI,CAAC,IAAI,CAAC,IAAI,KAAK,EAAE,CAAC,UAAU,CAAC,UAAU,EAAE,CAAC;4BAChD,IAAI,CAAC,2BAA2B,CAC9B,IAAI,CAAC,IAAI,EACT,yCAAyC,CAC1C,CAAC;wBACJ,CAAC;wBAED,IAAI,IAAI,GACN,IAAI,CAAC,UAAU,CAAsB,IAAI,CAAC,IAAI,EAAE;4BAC9C,IAAI,EAAE,0BAAc,CAAC,UAAU;4BAC/B,KAAK,EAAE,CAAC,IAAI,CAAC,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,GAAG,CAAC,EAAE,IAAI,CAAC,IAAI,CAAC,MAAM,EAAE,CAAC;4BACzD,UAAU,EAAE,EAAE;4BACd,IAAI,EAAE,IAAI,CAAC,IAAI,CAAC,IAAI;4BACpB,QAAQ,EAAE,KAAK;4BACf,cAAc,EAAE,SAAS;yBAC1B,CAAC,CAAC;wBAEL,OACE,IAAI,CAAC,IAAI;4BACT,EAAE,CAAC,mBAAmB,CAAC,IAAI,CAAC,IAAI,CAAC;4BACjC,IAAI,CAAC,IAAI,CAAC,IAAI,EACd,CAAC;4BACD,IAAI,GAAG,IAAI,CAAC,IAAI,CAAC;4BACjB,SAAS,KAAK,IAAA,wBAAW,EAAC,UAAU,CAAC,cAAc,EAAE,IAAI,CAAC,CAAC;4BAE3D,MAAM,QAAQ,GAAG,IAAI,CAAC,IAAqB,CAAC;4BAE5C,MAAM,KAAK,GAAG,IAAI,CAAC,UAAU,CAAsB,QAAQ,EAAE;gCAC3D,IAAI,EAAE,0BAAc,CAAC,UAAU;gCAC/B,KAAK,EAAE,CAAC,QAAQ,CAAC,QAAQ,CAAC,IAAI,CAAC,GAAG,CAAC,EAAE,QAAQ,CAAC,MAAM,EAAE,CAAC;gCACvD,UAAU,EAAE,EAAE;gCACd,IAAI,EAAE,QAAQ,CAAC,IAAI;gCACnB,QAAQ,EAAE,KAAK;gCACf,cAAc,EAAE,SAAS;6BAC1B,CAAC,CAAC;4BAEH,IAAI,GAAG,IAAI,CAAC,UAAU,CAA2B,QAAQ,EAAE;gCACzD,IAAI,EAAE,0BAAc,CAAC,eAAe;gCACpC,KAAK,EAAE,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,KAAK,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC;gCACtC,IAAI,EAAE,IAAI;gCACV,KAAK;6BACN,CAAC,CAAC;wBACL,CAAC;wBAED,OAAO;4BACL,IAAI,EAAE,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,IAAI,CAAC;4BAClC,OAAO,EAAE,KAAK;4BACd,MAAM,EAAE,KAAK;4BACb,EAAE,EAAE,IAAI;4BACR,IAAI,EAAE,WAAW;yBAClB,CAAC;oBACJ,CAAC,CAAC,EAAE;iBACL,CAAC,CAAC;gBAEH,MAAM,CAAC,OAAO,GAAG,SAAS,CAAC;gBAE3B,IAAI,IAAI,CAAC,KAAK,GAAG,EAAE,CAAC,SAAS,CAAC,kBAAkB,EAAE,CAAC;oBACjD,4DAA4D;oBAC5D,MAAM,CAAC,MAAM,GAAG,IAAI,CAAC;gBACvB,CAAC;gBAED,OAAO,IAAI,CAAC,UAAU,CAAC,IAAI,EAAE,MAAM,CAAC,CAAC;YACvC,CAAC;YAED,4BAA4B;YAC5B,KAAK,UAAU,CAAC,iBAAiB,CAAC,CAAC,CAAC;gBAClC,OAAO,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;YACtC,CAAC;YACD,KAAK,UAAU,CAAC,SAAS,CAAC,CAAC,CAAC;gBAC1B,OAAO,IAAI,CAAC,UAAU,CAAuB,IAAI,EAAE;oBACjD,IAAI,EAAE,0BAAc,CAAC,WAAW;oBAChC,KAAK,EAAE,IAAI,CAAC,KAAK,CAAC,GAAG,CAAC,EAAE,CAAC,EAAE,CAAC,IAAI,CAAC,YAAY,CAAC,EAAE,CAAC,CAAC;iBACnD,CAAC,CAAC;YACL,CAAC;YACD,KAAK,UAAU,CAAC,gBAAgB,CAAC,CAAC,CAAC;gBACjC,OAAO,IAAI,CAAC,UAAU,CAA8B,IAAI,EAAE;oBACxD,IAAI,EAAE,0BAAc,CAAC,kBAAkB;oBACvC,KAAK,EAAE,IAAI,CAAC,KAAK,CAAC,GAAG,CAAC,EAAE,CAAC,EAAE,CAAC,IAAI,CAAC,YAAY,CAAC,EAAE,CAAC,CAAC;iBACnD,CAAC,CAAC;YACL,CAAC;YACD,KAAK,UAAU,CAAC,YAAY,CAAC,CAAC,CAAC;gBAC7B,OAAO,IAAI,CAAC,UAAU,CAA0B,IAAI,EAAE;oBACpD,IAAI,EAAE,0BAAc,CAAC,cAAc;oBACnC,UAAU,EAAE,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,UAAU,CAAC;oBAC9C,cAAc,EAAE,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,IAAI,CAAC;iBAC7C,CAAC,CAAC;YACL,CAAC;YACD,KAAK,UAAU,CAAC,SAAS,CAAC,CAAC,CAAC;gBAC1B,OAAO,IAAI,CAAC,UAAU,CAAuB,IAAI,EAAE;oBACjD,IAAI,EAAE,0BAAc,CAAC,WAAW;oBAChC,aAAa,EAAE,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,aAAa,CAAC;iBACrD,CAAC,CAAC;YACL,CAAC;YACD,KAAK,UAAU,CAAC,WAAW,CAAC,CAAC,CAAC;gBAC5B,IAAI,IAAI,CAAC,OAAO,CAAC,IAAI,KAAK,UAAU,CAAC,WAAW,EAAE,CAAC;oBACjD,2DAA2D;oBAC3D,qEAAqE;oBACrE,OAAO,IAAI,CAAC,UAAU,CACpB,IAAI,CAAC,OAAyB,EAC9B;wBACE,IAAI,EAAE,0BAAc,CAAC,aAAa;qBACnC,CACF,CAAC;gBACJ,CAAC;gBAED,OAAO,IAAI,CAAC,UAAU,CAAyB,IAAI,EAAE;oBACnD,IAAI,EAAE,0BAAc,CAAC,aAAa;oBAClC,OAAO,EAAE,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,OAAO,CAAC;iBACzC,CAAC,CAAC;YACL,CAAC;YACD,KAAK,UAAU,CAAC,uBAAuB,CAAC,CAAC,CAAC;gBACxC,OAAO,IAAI,CAAC,UAAU,CAA2B,IAAI,EAAE;oBACrD,IAAI,EAAE,0BAAc,CAAC,eAAe;oBACpC,UAAU,EAAE,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,UAAU,CAAC;oBAC9C,cAAc,EAAE,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,IAAI,CAAC;iBAC7C,CAAC,CAAC;YACL,CAAC;YACD,KAAK,UAAU,CAAC,uBAAuB,CAAC,CAAC,CAAC;gBACxC,OAAO,IAAI,CAAC,UAAU,CACpB,IAAI,EACJ,IAAI,CAAC,UAAU,CAAqC,IAAI,EAAE;oBACxD,IAAI,EAAE,0BAAc,CAAC,yBAAyB;oBAC9C,EAAE,EAAE,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,IAAI,CAAC;oBAChC,UAAU,EAAE,IAAI,CAAC,UAAU,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,OAAO;oBAC9C,eAAe,EAAE,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,eAAe,CAAC;iBACzD,CAAC,CACH,CAAC;YACJ,CAAC;YACD,KAAK,UAAU,CAAC,uBAAuB,CAAC,CAAC,CAAC;gBACxC,IAAI,IAAI,CAAC,UAAU,CAAC,IAAI,KAAK,UAAU,CAAC,aAAa,EAAE,CAAC;oBACtD,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC,UAAU,EAAE,0BAA0B,CAAC,CAAC;gBAChE,CAAC;gBACD,OAAO,IAAI,CAAC,UAAU,CAAqC,IAAI,EAAE;oBAC/D,IAAI,EAAE,0BAAc,CAAC,yBAAyB;oBAC9C,UAAU,EAAE,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,UAAU,CAAC;iBAC/C,CAAC,CAAC;YACL,CAAC;YACD,KAAK,UAAU,CAAC,0BAA0B,CAAC,CAAC,CAAC;gBAC3C,OAAO,IAAI,CAAC,UAAU,CAAwC,IAAI,EAAE;oBAClE,IAAI,EAAE,0BAAc,CAAC,4BAA4B;oBACjD,EAAE,EAAE,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,IAAI,CAAC;iBACjC,CAAC,CAAC;YACL,CAAC;YACD,KAAK,UAAU,CAAC,eAAe,CAAC,CAAC,CAAC;gBAChC,OAAO,IAAI,CAAC,UAAU,CAA6B,IAAI,EAAE;oBACvD,IAAI,EAAE,0BAAc,CAAC,iBAAiB;iBACvC,CAAC,CAAC;YACL,CAAC;YAED,QAAQ;YACR,KAAK,UAAU,CAAC,SAAS,CAAC,CAAC,CAAC;gBAC1B,MAAM,YAAY,GAAG,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,EAAE,CAAC,EAAE,CAAC,IAAI,CAAC,YAAY,CAAC,EAAE,CAAC,CAAC,CAAC;gBAEpE,OAAO,IAAI,CAAC,UAAU,CAAuB,IAAI,EAAE;oBACjD,IAAI,EAAE,0BAAc,CAAC,WAAW;oBAChC,YAAY;iBACb,CAAC,CAAC;YACL,CAAC;YACD,KAAK,UAAU,CAAC,gBAAgB,CAAC,CAAC,CAAC;gBACjC,MAAM,MAAM,GAAG,IAAI,CAAC,UAAU,CAA8B,IAAI,EAAE;oBAChE,IAAI,EAAE,0BAAc,CAAC,kBAAkB;oBACvC,WAAW,EAAE,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,IAAI,EAAE,IAAI,CAAC;oBAC/C,KAAK,EAAE,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,IAAI,EAAE,IAAI,CAAC;oBACzC,QAAQ,EAAE,IAAI,CAAC,aAAa,IAAI,IAAI;iBACrC,CAAC,CAAC;gBAEH,IAAI,IAAI,CAAC,cAAc,EAAE,CAAC;oBACxB,4CAA4C;oBAC5C,MAAM,CAAC,KAAK,CAAC,CAAC,CAAC,GAAG,MAAM,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC;oBACxC,MAAM,CAAC,GAAG,CAAC,KAAK,GAAG,MAAM,CAAC,KAAK,CAAC,GAAG,CAAC,KAAK,CAAC;oBAC1C,OAAO,IAAI,CAAC,UAAU,CAAsB,IAAI,EAAE;wBAChD,IAAI,EAAE,0BAAc,CAAC,UAAU;wBAC/B,cAAc,EAAE,MAAM;qBACvB,CAAC,CAAC;gBACL,CAAC;gBAED,OAAO,MAAM,CAAC;YAChB,CAAC;YACD,KAAK,UAAU,CAAC,YAAY,CAAC,CAAC,CAAC;gBAC7B,OAAO,IAAI,CAAC,UAAU,CAA0B,IAAI,EAAE;oBACpD,IAAI,EAAE,0BAAc,CAAC,cAAc;oBACnC,cAAc,EAAE,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,IAAI,CAAC;iBAC7C,CAAC,CAAC;YACL,CAAC;YACD,KAAK,UAAU,CAAC,QAAQ,CAAC,CAAC,CAAC;gBACzB,OAAO,IAAI,CAAC,UAAU,CAAsB,IAAI,EAAE;oBAChD,IAAI,EAAE,0BAAc,CAAC,UAAU;oBAC/B,cAAc,EAAE,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,IAAI,CAAC;iBAC7C,CAAC,CAAC;YACL,CAAC;YAED,yBAAyB;YACzB,KAAK,UAAU,CAAC,mBAAmB,CAAC,CAAC,CAAC;gBACpC,MAAM,MAAM,GAAG,IAAI,CAAC,UAAU,CAAiC,IAAI,EAAE;oBACnE,IAAI,EAAE,0BAAc,CAAC,qBAAqB;oBAC1C,MAAM,EAAE,CAAC,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;oBACtC,KAAK,EAAE,EAAE;iBACV,CAAC,CAAC;gBAEH,IAAI,CAAC,aAAa,CAAC,OAAO,CAAC,YAAY,CAAC,EAAE;oBACxC,MAAM,CAAC,KAAK,CAAC,IAAI,CACf,IAAI,CAAC,YAAY,CAAC,YAAY,CAAC,IAAI,CAAsB,CAC1D,CAAC;oBACF,MAAM,CAAC,MAAM,CAAC,IAAI,CAChB,IAAI,CAAC,YAAY,CAAC,YAAY,CAAC,OAAO,CAA6B,CACpE,CAAC;gBACJ,CAAC,CAAC,CAAC;gBACH,OAAO,MAAM,CAAC;YAChB,CAAC;YAED,KAAK,UAAU,CAAC,2BAA2B,CAAC,CAAC,CAAC;gBAC5C,OAAO,IAAI,CAAC,UAAU,CAAuB,IAAI,EAAE;oBACjD,IAAI,EAAE,0BAAc,CAAC,WAAW;oBAChC,IAAI,EAAE,IAAI,CAAC,sBAAsB,CAAC,IAAI,CAAC,IAAI,CAAC,UAAU,EAAE,IAAI,CAAC;iBAC9D,CAAC,CAAC;YACL,CAAC;YAED,4DAA4D;YAC5D,KAAK,UAAU,CAAC,WAAW,CAAC;YAC5B,KAAK,UAAU,CAAC,eAAe,CAAC,CAAC,CAAC;gBAChC,OAAO,IAAI,CAAC,UAAU,CAA2B,IAAI,EAAE;oBACrD,IAAI,EAAE,0BAAc,CAAC,eAAe;oBACpC,GAAG,EAAE,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,IAAI,CAAC;oBACjC,KAAK,EAAE,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,KAAK,CAAC;iBACrC,CAAC,CAAC;YACL,CAAC;YAED,KAAK,UAAU,CAAC,mBAAmB,CAAC,CAAC,CAAC;gBACpC,OAAO,IAAI,CAAC,UAAU,CAAiC,IAAI,EAAE;oBAC3D,IAAI,EAAE,0BAAc,CAAC,qBAAqB;oBAC1C,UAAU,EAAE,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,UAAU,CAAC;oBAC9C,cAAc,EAAE,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,IAAI,CAAC;iBAC7C,CAAC,CAAC;YACL,CAAC;YAED;gBACE,OAAO,IAAI,CAAC,UAAU,CAAC,IAAI,CAAC,CAAC;QACjC,CAAC;IACH,CAAC;IAEO,UAAU;IAChB,yDAAyD;IACzD,IAAyC,EACzC,IAAqD;QAErD,MAAM,MAAM,GAAG,IAAI,CAAC;QACpB,MAAM,CAAC,KAAK,KAAK,IAAA,qBAAQ,EAAC,IAAI,EAAE,IAAI,CAAC,GAAG,CAAC,CAAC;QAC1C,MAAM,CAAC,GAAG,KAAK,IAAA,sBAAS,EAAC,MAAM,CAAC,KAAK,EAAE,IAAI,CAAC,GAAG,CAAC,CAAC;QAEjD,IAAI,MAAM,IAAI,IAAI,CAAC,OAAO,CAAC,sBAAsB,EAAE,CAAC;YAClD,IAAI,CAAC,qBAAqB,CAAC,GAAG,CAAC,MAAM,EAAE,IAAI,CAAC,CAAC;QAC/C,CAAC;QACD,OAAO,MAAW,CAAC;IACrB,CAAC;IAED,cAAc;QACZ,OAAO,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,GAAG,CAAqB,CAAC;IACtD,CAAC;IAED;;;;OAIG;IACK,UAAU,CAAC,IAAY;QAC7B,IAAI,IAAI,CAAC,IAAI,KAAK,EAAE,CAAC,UAAU,CAAC,iBAAiB,EAAE,CAAC;YAClD,IAAI,CAAC,WAAW,CACd,IAAI,EACJ,6DAA6D,CAC9D,CAAC;QACJ,CAAC;QAED,MAAM,UAAU,GAAG,KAAK,UAAU,CAAC,IAAI,CAAC,IAAI,CAAC,EAAoB,CAAC;QAElE;;;WAGG;QACH,IAAI,IAAI,CAAC,OAAO,CAAC,qBAAqB,IAAI,CAAC,0BAAc,CAAC,UAAU,CAAC,EAAE,CAAC;YACtE,MAAM,IAAI,KAAK,CAAC,2BAA2B,UAAU,GAAG,CAAC,CAAC;QAC5D,CAAC;QAED,MAAM,MAAM,GAAG,IAAI,CAAC,UAAU,CAAM,IAAI,EAAE;YACxC,IAAI,EAAE,UAAU;SACjB,CAAC,CAAC;QAEH,IAAI,MAAM,IAAI,IAAI,EAAE,CAAC;YACnB,MAAM,CAAC,cAAc;gBACnB,IAAI,CAAC,IAAI,IAAI,MAAM,IAAI,IAAI,CAAC,IAAI,IAAI,EAAE,CAAC,UAAU,CAAC,IAAI,CAAC,IAAI,CAAC;oBAC1D,CAAC,CAAC,IAAI,CAAC,qBAAqB,CAAC,IAAI,CAAC,IAAI,EAAE,IAAI,CAAC;oBAC7C,CAAC,CAAC,IAAI,CAAC;QACb,CAAC;QACD,IAAI,eAAe,IAAI,IAAI,EAAE,CAAC;YAC5B,MAAM,CAAC,aAAa;gBAClB,IAAI,CAAC,aAAa,IAAI,KAAK,IAAI,IAAI,CAAC,aAAa;oBAC/C,CAAC,CAAC,IAAI,CAAC,gDAAgD,CACnD,IAAI,CAAC,aAAa,EAClB,IAAI,CACL;oBACH,CAAC,CAAC,IAAI,CAAC;QACb,CAAC;QACD,IAAI,gBAAgB,IAAI,IAAI,EAAE,CAAC;YAC7B,MAAM,CAAC,cAAc;gBACnB,IAAI,CAAC,cAAc,IAAI,KAAK,IAAI,IAAI,CAAC,cAAc;oBACjD,CAAC,CAAC,IAAI,CAAC,kDAAkD,CACrD,IAAI,CAAC,cAAc,CACpB;oBACH,CAAC,CAAC,IAAI,CAAC;QACb,CAAC;QACD,MAAM,UAAU,GAAG,IAAA,4BAAa,EAAC,IAAI,CAAC,CAAC;QACvC,IAAI,UAAU,EAAE,MAAM,EAAE,CAAC;YACvB,MAAM,CAAC,UAAU,GAAG,UAAU,CAAC,GAAG,CAAC,EAAE,CAAC,EAAE,CAAC,IAAI,CAAC,YAAY,CAAC,EAAE,CAAC,CAAC,CAAC;QAClE,CAAC;QAED,oEAAoE;QACpE,iCAAiC;QACjC,MAAM,gBAAgB,GAAG,IAAI,GAAG,CAAC;YAC/B,WAAW;YACX,YAAY;YACZ,KAAK;YACL,OAAO;YACP,iBAAiB;YACjB,mBAAmB;YACnB,OAAO;YACP,MAAM;YACN,QAAQ;YACR,aAAa;YACb,oBAAoB;YACpB,WAAW;YACX,eAAe;YACf,QAAQ;YACR,KAAK;YACL,QAAQ;YACR,gBAAgB;YAChB,MAAM;YACN,eAAe;YACf,gBAAgB;SACjB,CAAC,CAAC;QAEH,MAAM,CAAC,OAAO,CAAM,IAAI,CAAC;aACtB,MAAM,CAAC,CAAC,CAAC,GAAG,CAAC,EAAE,EAAE,CAAC,CAAC,gBAAgB,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC;aAC7C,OAAO,CAAC,CAAC,CAAC,GAAG,EAAE,KAAK,CAAC,EAAE,EAAE;YACxB,IAAI,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,EAAE,CAAC;gBACzB,MAAM,CAAC,GAAG,CAAC,GAAG,KAAK,CAAC,GAAG,CAAC,EAAE,CAAC,EAAE,CAAC,IAAI,CAAC,YAAY,CAAC,EAAY,CAAC,CAAC,CAAC;YACjE,CAAC;iBAAM,IAAI,KAAK,IAAI,OAAO,KAAK,KAAK,QAAQ,IAAI,KAAK,CAAC,IAAI,EAAE,CAAC;gBAC5D,0EAA0E;gBAC1E,MAAM,CAAC,GAAG,CAAC,GAAG,IAAI,CAAC,YAAY,CAAC,KAAe,CAAC,CAAC;YACnD,CAAC;iBAAM,CAAC;gBACN,MAAM,CAAC,GAAG,CAAC,GAAG,KAAK,CAAC;YACtB,CAAC;QACH,CAAC,CAAC,CAAC;QACL,OAAO,MAAM,CAAC;IAChB,CAAC;IAED;;;OAGG;IACK,UAAU,CAKhB,IASwB,EACxB,MAAS;QAET,MAAM,eAAe,GACnB,EAAE,CAAC,mBAAmB,CAAC,IAAI,CAAC;YAC5B,OAAO,CAAC,IAAI,CAAC,KAAK,GAAG,EAAE,CAAC,SAAS,CAAC,SAAS,CAAC,CAAC;QAE/C,MAAM,SAAS,GAAG,eAAe;YAC/B,CAAC,CAAC,IAAA,kCAAqB,EAAC,IAAI,CAAC;YAC7B,CAAC,CAAC,IAAA,2BAAY,EAAC,IAAI,CAAC,CAAC;QAEvB,IAAI,SAAS,EAAE,CAAC,CAAC,CAAC,CAAC,IAAI,KAAK,UAAU,CAAC,aAAa,EAAE,CAAC;YACrD;;eAEG;YACH,IAAI,CAAC,uBAAuB,CAAC,IAAI,EAAE,MAAM,CAAC,CAAC;YAE3C,MAAM,aAAa,GAAG,SAAS,CAAC,CAAC,CAAC,CAAC;YACnC,MAAM,YAAY,GAAG,SAAS,CAAC,CAAC,CAAC,CAAC;YAClC,MAAM,oBAAoB,GACxB,YAAY,EAAE,IAAI,KAAK,UAAU,CAAC,cAAc,CAAC;YAEnD,MAAM,QAAQ,GAAG,oBAAoB;gBACnC,CAAC,CAAC,IAAA,0BAAa,EAAC,YAAY,EAAE,IAAI,CAAC,GAAG,EAAE,IAAI,CAAC,GAAG,CAAC;gBACjD,CAAC,CAAC,IAAA,0BAAa,EAAC,aAAa,EAAE,IAAI,CAAC,GAAG,EAAE,IAAI,CAAC,GAAG,CAAC,CAAC;YAErD,MAAM,CAAC,KAAK,CAAC,CAAC,CAAC,GAAG,QAAS,CAAC,QAAQ,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;YAC/C,MAAM,CAAC,GAAG,GAAG,IAAA,sBAAS,EAAC,MAAM,CAAC,KAAK,EAAE,IAAI,CAAC,GAAG,CAAC,CAAC;YAE/C,IAAI,oBAAoB,EAAE,CAAC;gBACzB,OAAO,IAAI,CAAC,UAAU,CACpB,IAAwD,EACxD;oBACE,IAAI,EAAE,0BAAc,CAAC,wBAAwB;oBAC7C,KAAK,EAAE,CAAC,aAAa,CAAC,QAAQ,CAAC,IAAI,CAAC,GAAG,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC;oBAC1D,WAAW,EAAE,MAA4C;oBACzD,UAAU,EAAE,OAAO;iBACpB,CACF,CAAC;YACJ,CAAC;YACD,MAAM,MAAM,GACV,MAAM,CAAC,IAAI,KAAK,0BAAc,CAAC,sBAAsB;gBACrD,MAAM,CAAC,IAAI,KAAK,0BAAc,CAAC,sBAAsB,CAAC;YACxD,MAAM,SAAS,GAAG,SAAS,IAAI,MAAM,IAAI,MAAM,CAAC,OAAO,CAAC;YACxD,OAAO,IAAI,CAAC,UAAU,CACpB,IAAI;YACJ,iDAAiD;YACjD,IAAI,CAAC,0BAA0B,CAC7B;gBACE,IAAI,EAAE,0BAAc,CAAC,sBAAsB;gBAC3C,KAAK,EAAE,CAAC,aAAa,CAAC,QAAQ,CAAC,IAAI,CAAC,GAAG,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC;gBAC1D,UAAU,EAAE,EAAE;gBACd,WAAW,EAAE,MAAM;gBACnB,UAAU,EAAE,MAAM,IAAI,SAAS,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,OAAO;gBAClD,MAAM,EAAE,IAAI;gBACZ,UAAU,EAAE,EAAE;aACf,EACD,YAAY,EACZ,YAAY,EACZ,IAAI,CACL,CACF,CAAC;QACJ,CAAC;QAED,OAAO,MAAM,CAAC;IAChB,CAAC;IAED,UAAU;QACR,OAAO;YACL,qBAAqB,EAAE,IAAI,CAAC,qBAAqB;YACjD,qBAAqB,EAAE,IAAI,CAAC,qBAAqB;SAClD,CAAC;IACJ,CAAC;IAED;;OAEG;IACK,uBAAuB,CAC7B,IAAa,EACb,MAA4B;QAE5B,IACE,MAAM;YACN,IAAI,CAAC,OAAO,CAAC,sBAAsB;YACnC,CAAC,IAAI,CAAC,qBAAqB,CAAC,GAAG,CAAC,IAAI,CAAC,EACrC,CAAC;YACD,IAAI,CAAC,qBAAqB,CAAC,GAAG,CAAC,IAAI,EAAE,MAAM,CAAC,CAAC;QAC/C,CAAC;IACH,CAAC;CACF;AAhhHD,8BAghHC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createIsolatedProgram.js b/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createIsolatedProgram.js index b30f751b34..f1c15c37c3 100644 --- a/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createIsolatedProgram.js +++ b/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createIsolatedProgram.js @@ -15,13 +15,23 @@ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? ( }) : function(o, v) { o["default"] = v; }); -var __importStar = (this && this.__importStar) || function (mod) { - if (mod && mod.__esModule) return mod; - var result = {}; - if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k); - __setModuleDefault(result, mod); - return result; -}; +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; }; diff --git a/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createIsolatedProgram.js.map b/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createIsolatedProgram.js.map index a1746ce0a4..9727116196 100644 --- a/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createIsolatedProgram.js.map +++ b/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createIsolatedProgram.js.map @@ -1 +1 @@ -{"version":3,"file":"createIsolatedProgram.js","sourceRoot":"","sources":["../../src/create-program/createIsolatedProgram.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAsFS,sDAAqB;AAtF9B,kDAA0B;AAC1B,+CAAiC;AAKjC,mDAAgD;AAChD,qCAAiE;AAEjE,MAAM,GAAG,GAAG,IAAA,eAAK,EAAC,2DAA2D,CAAC,CAAC;AAE/E;;GAEG;AACH,SAAS,qBAAqB,CAC5B,aAA4B;IAE5B,GAAG,CACD,6CAA6C,EAC7C,aAAa,CAAC,GAAG,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,IAAI,EAChC,aAAa,CAAC,QAAQ,CACvB,CAAC;IAEF,MAAM,YAAY,GAAoB;QACpC,UAAU;YACR,OAAO,IAAI,CAAC;QACd,CAAC;QACD,oBAAoB;YAClB,OAAO,aAAa,CAAC,QAAQ,CAAC;QAChC,CAAC;QACD,mBAAmB;YACjB,OAAO,EAAE,CAAC;QACZ,CAAC;QACD,qBAAqB;YACnB,OAAO,UAAU,CAAC;QACpB,CAAC;QACD,cAAc;YACZ,OAAO,EAAE,CAAC;QACZ,CAAC;QAED,6BAA6B;QAC7B,UAAU;YACR,OAAO,IAAI,CAAC;QACd,CAAC;QACD,aAAa,CAAC,QAAgB;YAC5B,OAAO,EAAE,CAAC,gBAAgB,CACxB,QAAQ,EACR,aAAa,CAAC,YAAY,EAC1B,EAAE,CAAC,YAAY,CAAC,MAAM;YACtB,oBAAoB,CAAC,IAAI,EACzB,IAAA,6BAAa,EAAC,aAAa,CAAC,QAAQ,EAAE,aAAa,CAAC,GAAG,CAAC,CACzD,CAAC;QACJ,CAAC;QACD,QAAQ;YACN,OAAO,SAAS,CAAC;QACnB,CAAC;QACD,yBAAyB;YACvB,OAAO,IAAI,CAAC;QACd,CAAC;QACD,SAAS;YACP,OAAO,IAAI,CAAC;QACd,CAAC;KACF,CAAC;IAEF,MAAM,OAAO,GAAG,EAAE,CAAC,aAAa,CAC9B,CAAC,aAAa,CAAC,QAAQ,CAAC,EACxB;QACE,gBAAgB,EAAE,aAAa,CAAC,gBAAgB;QAChD,GAAG,EAAE,aAAa,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,OAAO,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS;QACxD,SAAS,EAAE,IAAI;QACf,MAAM,EAAE,EAAE,CAAC,YAAY,CAAC,MAAM;QAC9B,GAAG,IAAA,8CAAqC,EAAC,aAAa,CAAC;KACxD,EACD,YAAY,CACb,CAAC;IAEF,MAAM,GAAG,GAAG,OAAO,CAAC,aAAa,CAAC,aAAa,CAAC,QAAQ,CAAC,CAAC;IAC1D,IAAI,CAAC,GAAG,EAAE,CAAC;QACT,MAAM,IAAI,KAAK,CACb,sEAAsE,CACvE,CAAC;IACJ,CAAC;IAED,OAAO,EAAE,GAAG,EAAE,OAAO,EAAE,CAAC;AAC1B,CAAC"} \ No newline at end of file +{"version":3,"file":"createIsolatedProgram.js","sourceRoot":"","sources":["../../src/create-program/createIsolatedProgram.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAsFS,sDAAqB;AAtF9B,kDAA0B;AAC1B,+CAAiC;AAKjC,mDAAgD;AAChD,qCAAiE;AAEjE,MAAM,GAAG,GAAG,IAAA,eAAK,EAAC,2DAA2D,CAAC,CAAC;AAE/E;;GAEG;AACH,SAAS,qBAAqB,CAC5B,aAA4B;IAE5B,GAAG,CACD,6CAA6C,EAC7C,aAAa,CAAC,GAAG,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,IAAI,EAChC,aAAa,CAAC,QAAQ,CACvB,CAAC;IAEF,MAAM,YAAY,GAAoB;QACpC,UAAU;YACR,OAAO,IAAI,CAAC;QACd,CAAC;QACD,oBAAoB;YAClB,OAAO,aAAa,CAAC,QAAQ,CAAC;QAChC,CAAC;QACD,mBAAmB;YACjB,OAAO,EAAE,CAAC;QACZ,CAAC;QACD,qBAAqB;YACnB,OAAO,UAAU,CAAC;QACpB,CAAC;QACD,cAAc;YACZ,OAAO,EAAE,CAAC;QACZ,CAAC;QAED,6BAA6B;QAC7B,UAAU;YACR,OAAO,IAAI,CAAC;QACd,CAAC;QACD,aAAa,CAAC,QAAgB;YAC5B,OAAO,EAAE,CAAC,gBAAgB,CACxB,QAAQ,EACR,aAAa,CAAC,YAAY,EAC1B,EAAE,CAAC,YAAY,CAAC,MAAM;YACtB,oBAAoB,CAAC,IAAI,EACzB,IAAA,6BAAa,EAAC,aAAa,CAAC,QAAQ,EAAE,aAAa,CAAC,GAAG,CAAC,CACzD,CAAC;QACJ,CAAC;QACD,QAAQ;YACN,OAAO,SAAS,CAAC;QACnB,CAAC;QACD,yBAAyB;YACvB,OAAO,IAAI,CAAC;QACd,CAAC;QACD,SAAS;YACP,OAAO,IAAI,CAAC;QACd,CAAC;KACF,CAAC;IAEF,MAAM,OAAO,GAAG,EAAE,CAAC,aAAa,CAC9B,CAAC,aAAa,CAAC,QAAQ,CAAC,EACxB;QACE,gBAAgB,EAAE,aAAa,CAAC,gBAAgB;QAChD,GAAG,EAAE,aAAa,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,OAAO,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS;QACxD,SAAS,EAAE,IAAI;QACf,MAAM,EAAE,EAAE,CAAC,YAAY,CAAC,MAAM;QAC9B,GAAG,IAAA,8CAAqC,EAAC,aAAa,CAAC;KACxD,EACD,YAAY,CACb,CAAC;IAEF,MAAM,GAAG,GAAG,OAAO,CAAC,aAAa,CAAC,aAAa,CAAC,QAAQ,CAAC,CAAC;IAC1D,IAAI,CAAC,GAAG,EAAE,CAAC;QACT,MAAM,IAAI,KAAK,CACb,sEAAsE,CACvE,CAAC;IACJ,CAAC;IAED,OAAO,EAAE,GAAG,EAAE,OAAO,EAAE,CAAC;AAC1B,CAAC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createSourceFile.js b/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createSourceFile.js index 77366c4cbf..118c3d5859 100644 --- a/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createSourceFile.js +++ b/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createSourceFile.js @@ -15,13 +15,23 @@ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? ( }) : function(o, v) { o["default"] = v; }); -var __importStar = (this && this.__importStar) || function (mod) { - if (mod && mod.__esModule) return mod; - var result = {}; - if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k); - __setModuleDefault(result, mod); - return result; -}; +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; }; diff --git a/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createSourceFile.js.map b/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createSourceFile.js.map index f98238a50d..2c21e87393 100644 --- a/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createSourceFile.js.map +++ b/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createSourceFile.js.map @@ -1 +1 @@ -{"version":3,"file":"createSourceFile.js","sourceRoot":"","sources":["../../src/create-program/createSourceFile.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAwCS,0CAAe;AAAE,4CAAgB;AAxC1C,kDAA0B;AAC1B,+CAAiC;AAKjC,kDAA+C;AAC/C,mDAAgD;AAEhD,MAAM,GAAG,GAAG,IAAA,eAAK,EAAC,sDAAsD,CAAC,CAAC;AAE1E,SAAS,gBAAgB,CAAC,aAA4B;IACpD,GAAG,CACD,yDAAyD,EACzD,aAAa,CAAC,GAAG,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,IAAI,EAChC,aAAa,CAAC,QAAQ,CACvB,CAAC;IAEF,OAAO,IAAA,2BAAY,EAAC,aAAa,CAAC,IAAI,CAAC;QACrC,CAAC,CAAC,aAAa,CAAC,IAAI;QACpB,CAAC,CAAC,EAAE,CAAC,gBAAgB,CACjB,aAAa,CAAC,QAAQ,EACtB,aAAa,CAAC,YAAY,EAC1B;YACE,gBAAgB,EAAE,aAAa,CAAC,gBAAgB;YAChD,eAAe,EAAE,EAAE,CAAC,YAAY,CAAC,MAAM;YACvC,0BAA0B,EAAE,aAAa,CAAC,0BAA0B;SACrE;QACD,oBAAoB,CAAC,IAAI,EACzB,IAAA,6BAAa,EAAC,aAAa,CAAC,QAAQ,EAAE,aAAa,CAAC,GAAG,CAAC,CACzD,CAAC;AACR,CAAC;AAED,SAAS,eAAe,CAAC,aAA4B;IACnD,OAAO;QACL,GAAG,EAAE,gBAAgB,CAAC,aAAa,CAAC;QACpC,OAAO,EAAE,IAAI;KACd,CAAC;AACJ,CAAC"} \ No newline at end of file +{"version":3,"file":"createSourceFile.js","sourceRoot":"","sources":["../../src/create-program/createSourceFile.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAwCS,0CAAe;AAAE,4CAAgB;AAxC1C,kDAA0B;AAC1B,+CAAiC;AAKjC,kDAA+C;AAC/C,mDAAgD;AAEhD,MAAM,GAAG,GAAG,IAAA,eAAK,EAAC,sDAAsD,CAAC,CAAC;AAE1E,SAAS,gBAAgB,CAAC,aAA4B;IACpD,GAAG,CACD,yDAAyD,EACzD,aAAa,CAAC,GAAG,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,IAAI,EAChC,aAAa,CAAC,QAAQ,CACvB,CAAC;IAEF,OAAO,IAAA,2BAAY,EAAC,aAAa,CAAC,IAAI,CAAC;QACrC,CAAC,CAAC,aAAa,CAAC,IAAI;QACpB,CAAC,CAAC,EAAE,CAAC,gBAAgB,CACjB,aAAa,CAAC,QAAQ,EACtB,aAAa,CAAC,YAAY,EAC1B;YACE,gBAAgB,EAAE,aAAa,CAAC,gBAAgB;YAChD,eAAe,EAAE,EAAE,CAAC,YAAY,CAAC,MAAM;YACvC,0BAA0B,EAAE,aAAa,CAAC,0BAA0B;SACrE;QACD,oBAAoB,CAAC,IAAI,EACzB,IAAA,6BAAa,EAAC,aAAa,CAAC,QAAQ,EAAE,aAAa,CAAC,GAAG,CAAC,CACzD,CAAC;AACR,CAAC;AAED,SAAS,eAAe,CAAC,aAA4B;IACnD,OAAO;QACL,GAAG,EAAE,gBAAgB,CAAC,aAAa,CAAC;QACpC,OAAO,EAAE,IAAI;KACd,CAAC;AACJ,CAAC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/typescript-estree/dist/create-program/getParsedConfigFile.js b/node_modules/@typescript-eslint/typescript-estree/dist/create-program/getParsedConfigFile.js index 0ff3bad421..5eae3d38bf 100644 --- a/node_modules/@typescript-eslint/typescript-estree/dist/create-program/getParsedConfigFile.js +++ b/node_modules/@typescript-eslint/typescript-estree/dist/create-program/getParsedConfigFile.js @@ -15,13 +15,23 @@ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? ( }) : function(o, v) { o["default"] = v; }); -var __importStar = (this && this.__importStar) || function (mod) { - if (mod && mod.__esModule) return mod; - var result = {}; - if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k); - __setModuleDefault(result, mod); - return result; -}; +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); Object.defineProperty(exports, "__esModule", { value: true }); exports.getParsedConfigFile = getParsedConfigFile; const fs = __importStar(require("node:fs")); diff --git a/node_modules/@typescript-eslint/typescript-estree/dist/create-program/getParsedConfigFile.js.map b/node_modules/@typescript-eslint/typescript-estree/dist/create-program/getParsedConfigFile.js.map index 73ac79c348..5647cbf62a 100644 --- a/node_modules/@typescript-eslint/typescript-estree/dist/create-program/getParsedConfigFile.js.map +++ b/node_modules/@typescript-eslint/typescript-estree/dist/create-program/getParsedConfigFile.js.map @@ -1 +1 @@ -{"version":3,"file":"getParsedConfigFile.js","sourceRoot":"","sources":["../../src/create-program/getParsedConfigFile.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AAgES,kDAAmB;AA9D5B,4CAA8B;AAC9B,gDAAkC;AAElC,qCAAiD;AAEjD;;;;;GAKG;AACH,SAAS,mBAAmB,CAC1B,QAAmB,EACnB,UAAkB,EAClB,gBAAyB;IAEzB,uEAAuE;IACvE,IAAI,QAAQ,CAAC,GAAG,KAAK,SAAS,EAAE,CAAC;QAC/B,MAAM,IAAI,KAAK,CACb,qEAAqE,CACtE,CAAC;IACJ,CAAC;IAED,MAAM,MAAM,GAAG,QAAQ,CAAC,gCAAgC,CACtD,UAAU,EACV,8BAAqB,EACrB;QACE,UAAU,EAAE,EAAE,CAAC,UAAU;QACzB,mBAAmB;QACnB,mCAAmC,EAAE,IAAI,CAAC,EAAE;YAC1C,MAAM,IAAI,KAAK,CAAC,iBAAiB,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,CAAC,oCAAoC;QAClF,CAAC;QACD,aAAa,EAAE,QAAQ,CAAC,GAAG,CAAC,aAAa;QACzC,QAAQ,EAAE,IAAI,CAAC,EAAE,CACf,EAAE,CAAC,YAAY,CACb,IAAI,CAAC,UAAU,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,mBAAmB,EAAE,EAAE,IAAI,CAAC,EACrE,OAAO,CACR;QACH,yBAAyB,EAAE,QAAQ,CAAC,GAAG,CAAC,yBAAyB;KAClE,CACF,CAAC;IAEF,IAAI,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,CAAC;QAC1B,MAAM,IAAI,KAAK,CAAC,iBAAiB,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC,CAAC;IACpD,CAAC;IAED,oEAAoE;IACpE,OAAO,MAAO,CAAC;IAEf,SAAS,mBAAmB;QAC1B,OAAO,gBAAgB,CAAC,CAAC,CAAC,IAAI,CAAC,OAAO,CAAC,gBAAgB,CAAC,CAAC,CAAC,CAAC,OAAO,CAAC,GAAG,EAAE,CAAC;IAC3E,CAAC;IAED,SAAS,iBAAiB,CAAC,WAA4B;QACrD,OAAO,QAAQ,CAAC,iBAAiB,CAAC,WAAW,EAAE;YAC7C,oBAAoB,EAAE,CAAC,CAAC,EAAE,CAAC,CAAC;YAC5B,mBAAmB;YACnB,UAAU,EAAE,GAAG,EAAE,CAAC,IAAI;SACvB,CAAC,CAAC;IACL,CAAC;AACH,CAAC"} \ No newline at end of file +{"version":3,"file":"getParsedConfigFile.js","sourceRoot":"","sources":["../../src/create-program/getParsedConfigFile.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAgES,kDAAmB;AA9D5B,4CAA8B;AAC9B,gDAAkC;AAElC,qCAAiD;AAEjD;;;;;GAKG;AACH,SAAS,mBAAmB,CAC1B,QAAmB,EACnB,UAAkB,EAClB,gBAAyB;IAEzB,uEAAuE;IACvE,IAAI,QAAQ,CAAC,GAAG,KAAK,SAAS,EAAE,CAAC;QAC/B,MAAM,IAAI,KAAK,CACb,qEAAqE,CACtE,CAAC;IACJ,CAAC;IAED,MAAM,MAAM,GAAG,QAAQ,CAAC,gCAAgC,CACtD,UAAU,EACV,8BAAqB,EACrB;QACE,UAAU,EAAE,EAAE,CAAC,UAAU;QACzB,mBAAmB;QACnB,mCAAmC,EAAE,IAAI,CAAC,EAAE;YAC1C,MAAM,IAAI,KAAK,CAAC,iBAAiB,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,CAAC,oCAAoC;QAClF,CAAC;QACD,aAAa,EAAE,QAAQ,CAAC,GAAG,CAAC,aAAa;QACzC,QAAQ,EAAE,IAAI,CAAC,EAAE,CACf,EAAE,CAAC,YAAY,CACb,IAAI,CAAC,UAAU,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,mBAAmB,EAAE,EAAE,IAAI,CAAC,EACrE,OAAO,CACR;QACH,yBAAyB,EAAE,QAAQ,CAAC,GAAG,CAAC,yBAAyB;KAClE,CACF,CAAC;IAEF,IAAI,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,CAAC;QAC1B,MAAM,IAAI,KAAK,CAAC,iBAAiB,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC,CAAC;IACpD,CAAC;IAED,oEAAoE;IACpE,OAAO,MAAO,CAAC;IAEf,SAAS,mBAAmB;QAC1B,OAAO,gBAAgB,CAAC,CAAC,CAAC,IAAI,CAAC,OAAO,CAAC,gBAAgB,CAAC,CAAC,CAAC,CAAC,OAAO,CAAC,GAAG,EAAE,CAAC;IAC3E,CAAC;IAED,SAAS,iBAAiB,CAAC,WAA4B;QACrD,OAAO,QAAQ,CAAC,iBAAiB,CAAC,WAAW,EAAE;YAC7C,oBAAoB,EAAE,CAAC,CAAC,EAAE,CAAC,CAAC;YAC5B,mBAAmB;YACnB,UAAU,EAAE,GAAG,EAAE,CAAC,IAAI;SACvB,CAAC,CAAC;IACL,CAAC;AACH,CAAC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/typescript-estree/dist/create-program/getScriptKind.js b/node_modules/@typescript-eslint/typescript-estree/dist/create-program/getScriptKind.js index a0bce7b8ec..7b2c6883d5 100644 --- a/node_modules/@typescript-eslint/typescript-estree/dist/create-program/getScriptKind.js +++ b/node_modules/@typescript-eslint/typescript-estree/dist/create-program/getScriptKind.js @@ -15,13 +15,23 @@ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? ( }) : function(o, v) { o["default"] = v; }); -var __importStar = (this && this.__importStar) || function (mod) { - if (mod && mod.__esModule) return mod; - var result = {}; - if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k); - __setModuleDefault(result, mod); - return result; -}; +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; }; diff --git a/node_modules/@typescript-eslint/typescript-estree/dist/create-program/getScriptKind.js.map b/node_modules/@typescript-eslint/typescript-estree/dist/create-program/getScriptKind.js.map index 34b54a6062..3caf147a85 100644 --- a/node_modules/@typescript-eslint/typescript-estree/dist/create-program/getScriptKind.js.map +++ b/node_modules/@typescript-eslint/typescript-estree/dist/create-program/getScriptKind.js.map @@ -1 +1 @@ -{"version":3,"file":"getScriptKind.js","sourceRoot":"","sources":["../../src/create-program/getScriptKind.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAiDS,gDAAkB;AAAE,sCAAa;AAjD1C,0DAA6B;AAC7B,+CAAiC;AAEjC,SAAS,aAAa,CAAC,QAAgB,EAAE,GAAY;IACnD,MAAM,SAAS,GAAG,mBAAI,CAAC,OAAO,CAAC,QAAQ,CAAC,CAAC,WAAW,EAAkB,CAAC;IACvE,uEAAuE;IACvE,8EAA8E;IAC9E,kCAAkC;IAClC,8HAA8H;IAC9H,QAAQ,SAAS,EAAE,CAAC;QAClB,KAAK,EAAE,CAAC,SAAS,CAAC,GAAG,CAAC;QACtB,KAAK,EAAE,CAAC,SAAS,CAAC,EAAE,CAAC;QACrB,KAAK,EAAE,CAAC,SAAS,CAAC,GAAG;YACnB,OAAO,EAAE,CAAC,UAAU,CAAC,EAAE,CAAC;QAE1B,KAAK,EAAE,CAAC,SAAS,CAAC,GAAG,CAAC;QACtB,KAAK,EAAE,CAAC,SAAS,CAAC,GAAG,CAAC;QACtB,KAAK,EAAE,CAAC,SAAS,CAAC,EAAE;YAClB,OAAO,EAAE,CAAC,UAAU,CAAC,EAAE,CAAC;QAE1B,KAAK,EAAE,CAAC,SAAS,CAAC,IAAI;YACpB,OAAO,EAAE,CAAC,UAAU,CAAC,IAAI,CAAC;QAE5B,KAAK,EAAE,CAAC,SAAS,CAAC,GAAG;YACnB,OAAO,EAAE,CAAC,UAAU,CAAC,GAAG,CAAC;QAE3B,KAAK,EAAE,CAAC,SAAS,CAAC,GAAG;YACnB,OAAO,EAAE,CAAC,UAAU,CAAC,GAAG,CAAC;QAE3B;YACE,mGAAmG;YACnG,OAAO,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,UAAU,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,UAAU,CAAC,EAAE,CAAC;IACtD,CAAC;AACH,CAAC;AAED,SAAS,kBAAkB,CAAC,UAAyB;IACnD,8HAA8H;IAC9H,QAAQ,UAAU,EAAE,CAAC;QACnB,KAAK,EAAE,CAAC,UAAU,CAAC,EAAE,CAAC;QACtB,KAAK,EAAE,CAAC,UAAU,CAAC,IAAI,CAAC;QACxB,KAAK,EAAE,CAAC,UAAU,CAAC,GAAG,CAAC;QACvB,KAAK,EAAE,CAAC,UAAU,CAAC,GAAG;YACpB,OAAO,EAAE,CAAC,eAAe,CAAC,GAAG,CAAC;QAEhC;YACE,OAAO,EAAE,CAAC,eAAe,CAAC,QAAQ,CAAC;IACvC,CAAC;AACH,CAAC"} \ No newline at end of file +{"version":3,"file":"getScriptKind.js","sourceRoot":"","sources":["../../src/create-program/getScriptKind.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAiDS,gDAAkB;AAAE,sCAAa;AAjD1C,0DAA6B;AAC7B,+CAAiC;AAEjC,SAAS,aAAa,CAAC,QAAgB,EAAE,GAAY;IACnD,MAAM,SAAS,GAAG,mBAAI,CAAC,OAAO,CAAC,QAAQ,CAAC,CAAC,WAAW,EAAkB,CAAC;IACvE,uEAAuE;IACvE,8EAA8E;IAC9E,kCAAkC;IAClC,8HAA8H;IAC9H,QAAQ,SAAS,EAAE,CAAC;QAClB,KAAK,EAAE,CAAC,SAAS,CAAC,GAAG,CAAC;QACtB,KAAK,EAAE,CAAC,SAAS,CAAC,EAAE,CAAC;QACrB,KAAK,EAAE,CAAC,SAAS,CAAC,GAAG;YACnB,OAAO,EAAE,CAAC,UAAU,CAAC,EAAE,CAAC;QAE1B,KAAK,EAAE,CAAC,SAAS,CAAC,GAAG,CAAC;QACtB,KAAK,EAAE,CAAC,SAAS,CAAC,GAAG,CAAC;QACtB,KAAK,EAAE,CAAC,SAAS,CAAC,EAAE;YAClB,OAAO,EAAE,CAAC,UAAU,CAAC,EAAE,CAAC;QAE1B,KAAK,EAAE,CAAC,SAAS,CAAC,IAAI;YACpB,OAAO,EAAE,CAAC,UAAU,CAAC,IAAI,CAAC;QAE5B,KAAK,EAAE,CAAC,SAAS,CAAC,GAAG;YACnB,OAAO,EAAE,CAAC,UAAU,CAAC,GAAG,CAAC;QAE3B,KAAK,EAAE,CAAC,SAAS,CAAC,GAAG;YACnB,OAAO,EAAE,CAAC,UAAU,CAAC,GAAG,CAAC;QAE3B;YACE,mGAAmG;YACnG,OAAO,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,UAAU,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,UAAU,CAAC,EAAE,CAAC;IACtD,CAAC;AACH,CAAC;AAED,SAAS,kBAAkB,CAAC,UAAyB;IACnD,8HAA8H;IAC9H,QAAQ,UAAU,EAAE,CAAC;QACnB,KAAK,EAAE,CAAC,UAAU,CAAC,EAAE,CAAC;QACtB,KAAK,EAAE,CAAC,UAAU,CAAC,IAAI,CAAC;QACxB,KAAK,EAAE,CAAC,UAAU,CAAC,GAAG,CAAC;QACvB,KAAK,EAAE,CAAC,UAAU,CAAC,GAAG;YACpB,OAAO,EAAE,CAAC,eAAe,CAAC,GAAG,CAAC;QAEhC;YACE,OAAO,EAAE,CAAC,eAAe,CAAC,QAAQ,CAAC;IACvC,CAAC;AACH,CAAC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/typescript-estree/dist/create-program/getWatchProgramsForProjects.js b/node_modules/@typescript-eslint/typescript-estree/dist/create-program/getWatchProgramsForProjects.js index 12057cca8e..4db2836f7f 100644 --- a/node_modules/@typescript-eslint/typescript-estree/dist/create-program/getWatchProgramsForProjects.js +++ b/node_modules/@typescript-eslint/typescript-estree/dist/create-program/getWatchProgramsForProjects.js @@ -15,13 +15,23 @@ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? ( }) : function(o, v) { o["default"] = v; }); -var __importStar = (this && this.__importStar) || function (mod) { - if (mod && mod.__esModule) return mod; - var result = {}; - if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k); - __setModuleDefault(result, mod); - return result; -}; +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; }; diff --git a/node_modules/@typescript-eslint/typescript-estree/dist/create-program/getWatchProgramsForProjects.js.map b/node_modules/@typescript-eslint/typescript-estree/dist/create-program/getWatchProgramsForProjects.js.map index 9225a026c3..dbbcae181b 100644 --- a/node_modules/@typescript-eslint/typescript-estree/dist/create-program/getWatchProgramsForProjects.js.map +++ b/node_modules/@typescript-eslint/typescript-estree/dist/create-program/getWatchProgramsForProjects.js.map @@ -1 +1 @@ -{"version":3,"file":"getWatchProgramsForProjects.js","sourceRoot":"","sources":["../../src/create-program/getWatchProgramsForProjects.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;AA4eS,4CAAgB;AAAE,kEAA2B;AA5etD,kDAA0B;AAC1B,sDAAyB;AACzB,+CAAiC;AAMjC,kDAA8C;AAC9C,qCAKkB;AAElB,MAAM,GAAG,GAAG,IAAA,eAAK,EAAC,wDAAwD,CAAC,CAAC;AAE5E;;GAEG;AACH,MAAM,oBAAoB,GAAG,IAAI,GAAG,EAGjC,CAAC;AAEJ;;;GAGG;AACH,MAAM,4BAA4B,GAAG,IAAI,GAAG,EAGzC,CAAC;AACJ,MAAM,8BAA8B,GAAG,IAAI,GAAG,EAG3C,CAAC;AAEJ;;GAEG;AACH,MAAM,oBAAoB,GAAG,IAAI,GAAG,EAAqC,CAAC;AAE1E;;GAEG;AACH,MAAM,kCAAkC,GAAG,IAAI,GAAG,EAAyB,CAAC;AAE5E,MAAM,mBAAmB,GAAG,IAAI,GAAG,EAAyB,CAAC;AAE7D;;;GAGG;AACH,SAAS,gBAAgB;IACvB,oBAAoB,CAAC,KAAK,EAAE,CAAC;IAC7B,4BAA4B,CAAC,KAAK,EAAE,CAAC;IACrC,8BAA8B,CAAC,KAAK,EAAE,CAAC;IACvC,mBAAmB,CAAC,KAAK,EAAE,CAAC;IAC5B,oBAAoB,CAAC,KAAK,EAAE,CAAC;IAC7B,kCAAkC,CAAC,KAAK,EAAE,CAAC;AAC7C,CAAC;AAED,SAAS,iBAAiB,CACxB,WAAqD;IAErD,OAAO,CACL,QAAgB,EAChB,QAAgC,EAChB,EAAE;QAClB,MAAM,kBAAkB,GAAG,IAAA,6BAAoB,EAAC,QAAQ,CAAC,CAAC;QAC1D,MAAM,QAAQ,GAAG,CAAC,GAAgC,EAAE;YAClD,IAAI,QAAQ,GAAG,WAAW,CAAC,GAAG,CAAC,kBAAkB,CAAC,CAAC;YACnD,IAAI,CAAC,QAAQ,EAAE,CAAC;gBACd,QAAQ,GAAG,IAAI,GAAG,EAAE,CAAC;gBACrB,WAAW,CAAC,GAAG,CAAC,kBAAkB,EAAE,QAAQ,CAAC,CAAC;YAChD,CAAC;YACD,OAAO,QAAQ,CAAC;QAClB,CAAC,CAAC,EAAE,CAAC;QACL,QAAQ,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAC;QAEvB,OAAO;YACL,KAAK,EAAE,GAAS,EAAE;gBAChB,QAAQ,CAAC,MAAM,CAAC,QAAQ,CAAC,CAAC;YAC5B,CAAC;SACF,CAAC;IACJ,CAAC,CAAC;AACJ,CAAC;AAED;;GAEG;AACH,MAAM,yBAAyB,GAG3B;IACF,IAAI,EAAE,EAAE;IACR,QAAQ,EAAE,EAAmB;CAC9B,CAAC;AAEF;;;GAGG;AACH,SAAS,kBAAkB,CAAC,UAAyB;IACnD,MAAM,IAAI,KAAK,CACb,EAAE,CAAC,4BAA4B,CAAC,UAAU,CAAC,WAAW,EAAE,EAAE,CAAC,GAAG,CAAC,OAAO,CAAC,CACxE,CAAC;AACJ,CAAC;AAED,SAAS,oBAAoB,CAC3B,YAA2B,EAC3B,OAAmB;IAEnB,MAAM,QAAQ,GAAG,IAAI,GAAG,CACtB,OAAO,CAAC,gBAAgB,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,IAAA,6BAAoB,EAAC,CAAC,CAAC,CAAC,CAC7D,CAAC;IACF,oBAAoB,CAAC,GAAG,CAAC,YAAY,EAAE,QAAQ,CAAC,CAAC;IACjD,OAAO,QAAQ,CAAC;AAClB,CAAC;AAED;;;;GAIG;AACH,SAAS,2BAA2B,CAClC,aAA4B;IAE5B,MAAM,QAAQ,GAAG,IAAA,6BAAoB,EAAC,aAAa,CAAC,QAAQ,CAAC,CAAC;IAC9D,MAAM,OAAO,GAAG,EAAE,CAAC;IAEnB,mDAAmD;IACnD,yBAAyB,CAAC,IAAI,GAAG,aAAa,CAAC,IAAI,CAAC;IACpD,yBAAyB,CAAC,QAAQ,GAAG,QAAQ,CAAC;IAE9C,mCAAmC;IACnC,MAAM,kBAAkB,GAAG,4BAA4B,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAC;IACtE,MAAM,QAAQ,GAAG,IAAA,mBAAU,EAAC,IAAA,0BAAW,EAAC,aAAa,CAAC,IAAI,CAAC,CAAC,CAAC;IAC7D,IACE,mBAAmB,CAAC,GAAG,CAAC,QAAQ,CAAC,KAAK,QAAQ;QAC9C,kBAAkB;QAClB,kBAAkB,CAAC,IAAI,GAAG,CAAC,EAC3B,CAAC;QACD,kBAAkB,CAAC,OAAO,CAAC,EAAE,CAAC,EAAE,CAC9B,EAAE,CAAC,QAAQ,EAAE,EAAE,CAAC,oBAAoB,CAAC,OAAO,CAAC,CAC9C,CAAC;IACJ,CAAC;IAED,MAAM,2BAA2B,GAAG,IAAI,GAAG,CAAC,aAAa,CAAC,QAAQ,CAAC,CAAC;IAEpE;;;OAGG;IACH,KAAK,MAAM,CAAC,YAAY,EAAE,aAAa,CAAC,IAAI,oBAAoB,CAAC,OAAO,EAAE,EAAE,CAAC;QAC3E,IAAI,CAAC,2BAA2B,CAAC,GAAG,CAAC,YAAY,CAAC,EAAE,CAAC;YACnD,gFAAgF;YAChF,wDAAwD;YACxD,EAAE;YACF,gEAAgE;YAChE,uEAAuE;YACvE,SAAS;QACX,CAAC;QACD,IAAI,QAAQ,GAAG,oBAAoB,CAAC,GAAG,CAAC,YAAY,CAAC,CAAC;QACtD,IAAI,cAAc,GAAsB,IAAI,CAAC;QAC7C,IAAI,CAAC,QAAQ,EAAE,CAAC;YACd,cAAc,GAAG,aAAa,CAAC,UAAU,EAAE,CAAC,UAAU,EAAE,CAAC;YACzD,QAAQ,GAAG,oBAAoB,CAAC,YAAY,EAAE,cAAc,CAAC,CAAC;QAChE,CAAC;QAED,IAAI,QAAQ,CAAC,GAAG,CAAC,QAAQ,CAAC,EAAE,CAAC;YAC3B,GAAG,CAAC,qCAAqC,EAAE,QAAQ,CAAC,CAAC;YAErD,cAAc,KAAK,aAAa,CAAC,UAAU,EAAE,CAAC,UAAU,EAAE,CAAC;YAC3D,uCAAuC;YACvC,cAAc,CAAC,cAAc,EAAE,CAAC;YAEhC,OAAO,CAAC,cAAc,CAAC,CAAC;QAC1B,CAAC;IACH,CAAC;IACD,GAAG,CACD,2EAA2E,EAC3E,QAAQ,CACT,CAAC;IAEF;;;;OAIG;IACH,KAAK,MAAM,YAAY,IAAI,aAAa,CAAC,QAAQ,EAAE,CAAC;QAClD,MAAM,aAAa,GAAG,oBAAoB,CAAC,GAAG,CAAC,YAAY,CAAC,CAAC,CAAC,CAAC,CAAC;QAEhE,IAAI,aAAa,EAAE,CAAC;YAClB,MAAM,cAAc,GAAG,sBAAsB,CAC3C,aAAa,EACb,QAAQ,EACR,YAAY,CAAC,CAAC,CAAC,CAChB,CAAC;YACF,IAAI,CAAC,cAAc,EAAE,CAAC;gBACpB,SAAS;YACX,CAAC;YAED,uCAAuC;YACvC,cAAc,CAAC,cAAc,EAAE,CAAC;YAEhC,gCAAgC;YAChC,MAAM,QAAQ,GAAG,oBAAoB,CAAC,YAAY,CAAC,CAAC,CAAC,EAAE,cAAc,CAAC,CAAC;YACvE,IAAI,QAAQ,CAAC,GAAG,CAAC,QAAQ,CAAC,EAAE,CAAC;gBAC3B,GAAG,CAAC,oCAAoC,EAAE,QAAQ,CAAC,CAAC;gBACpD,qEAAqE;gBACrE,OAAO,CAAC,cAAc,CAAC,CAAC;YAC1B,CAAC;YAED,OAAO,CAAC,IAAI,CAAC,cAAc,CAAC,CAAC;YAC7B,SAAS;QACX,CAAC;QAED,MAAM,YAAY,GAAG,kBAAkB,CAAC,YAAY,CAAC,CAAC,CAAC,EAAE,aAAa,CAAC,CAAC;QACxE,oBAAoB,CAAC,GAAG,CAAC,YAAY,CAAC,CAAC,CAAC,EAAE,YAAY,CAAC,CAAC;QAExD,MAAM,OAAO,GAAG,YAAY,CAAC,UAAU,EAAE,CAAC,UAAU,EAAE,CAAC;QACvD,uCAAuC;QACvC,OAAO,CAAC,cAAc,EAAE,CAAC;QAEzB,gCAAgC;QAChC,MAAM,QAAQ,GAAG,oBAAoB,CAAC,YAAY,CAAC,CAAC,CAAC,EAAE,OAAO,CAAC,CAAC;QAChE,IAAI,QAAQ,CAAC,GAAG,CAAC,QAAQ,CAAC,EAAE,CAAC;YAC3B,GAAG,CAAC,4BAA4B,EAAE,QAAQ,CAAC,CAAC;YAC5C,qEAAqE;YACrE,OAAO,CAAC,OAAO,CAAC,CAAC;QACnB,CAAC;QAED,OAAO,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IACxB,CAAC;IAED,OAAO,OAAO,CAAC;AACjB,CAAC;AAED,SAAS,kBAAkB,CACzB,YAAoB,EACpB,aAA4B;IAE5B,GAAG,CAAC,gCAAgC,EAAE,YAAY,CAAC,CAAC;IAEpD,uBAAuB;IACvB,MAAM,iBAAiB,GAAG,EAAE,CAAC,uBAAuB,CAClD,YAAY,EACZ,IAAA,8CAAqC,EAAC,aAAa,CAAC,EACpD,EAAE,CAAC,GAAG,EACN,EAAE,CAAC,qBAAqB,EACxB,kBAAkB;IAClB,6DAA6D;IAC7D,gEAAgE;IAChE,qBAAqB,CAAC,GAAG,EAAE,GAAE,CAAC,CACqB,CAAC;IACtD,iBAAiB,CAAC,gBAAgB,GAAG,aAAa,CAAC,gBAAgB,CAAC;IAEpE,0EAA0E;IAC1E,MAAM,WAAW,GAAG,iBAAiB,CAAC,QAAQ,CAAC;IAC/C,iBAAiB,CAAC,QAAQ,GAAG,CAAC,UAAU,EAAE,QAAQ,EAAsB,EAAE;QACxE,MAAM,QAAQ,GAAG,IAAA,6BAAoB,EAAC,UAAU,CAAC,CAAC;QAClD,MAAM,WAAW,GACf,QAAQ,KAAK,yBAAyB,CAAC,QAAQ;YAC7C,CAAC,CAAC,IAAA,0BAAW,EAAC,yBAAyB,CAAC,IAAI,CAAC;YAC7C,CAAC,CAAC,WAAW,CAAC,QAAQ,EAAE,QAAQ,CAAC,CAAC;QACtC,IAAI,WAAW,KAAK,SAAS,EAAE,CAAC;YAC9B,mBAAmB,CAAC,GAAG,CAAC,QAAQ,EAAE,IAAA,mBAAU,EAAC,WAAW,CAAC,CAAC,CAAC;QAC7D,CAAC;QACD,OAAO,WAAW,CAAC;IACrB,CAAC,CAAC;IAEF,iFAAiF;IACjF,iBAAiB,CAAC,mCAAmC,GAAG,kBAAkB,CAAC;IAE3E,uCAAuC;IACvC,iBAAiB,CAAC,kBAAkB,GAAG,CAAC,OAAO,EAAQ,EAAE;QACvD,0DAA0D;QAC1D,MAAM,qBAAqB,GAAG,OAAO;aAClC,+BAA+B,EAAE;aACjC,MAAM,CACL,IAAI,CAAC,EAAE,CACL,IAAI,CAAC,QAAQ,KAAK,EAAE,CAAC,kBAAkB,CAAC,KAAK,IAAI,IAAI,CAAC,IAAI,KAAK,KAAK,CACvE,CAAC;QACJ,IAAI,qBAAqB,CAAC,MAAM,GAAG,CAAC,EAAE,CAAC;YACrC,kBAAkB,CAAC,qBAAqB,CAAC,CAAC,CAAC,CAAC,CAAC;QAC/C,CAAC;IACH,CAAC,CAAC;IAEF;;;;;;;;;OASG;IACH,iBAAiB,CAAC,SAAS,GAAG,iBAAiB,CAAC,4BAA4B,CAAC,CAAC;IAC9E,iBAAiB,CAAC,cAAc,GAAG,iBAAiB,CAClD,8BAA8B,CAC/B,CAAC;IAEF,sFAAsF;IACtF,MAAM,iCAAiC,GACrC,iBAAiB,CAAC,oCAAoC,CAAC;IACzD,iBAAiB,CAAC,oCAAoC,GAAG,CAAC,IAAI,EAAQ,EAAE;QACtE,MAAM,gBAAgB,GAAG,IAAI,CAAC,aAAa,CAAC;QAC5C,IAAI,CAAC,aAAa,GAAG,CACnB,IAAI,EACJ,UAAU,EACV,OAAO,EACP,OAAO,EACP,KAAK,EACK,EAAE,CACZ,gBAAgB,CACd,IAAI,EACJ,CAAC,UAAU;YACT,CAAC,CAAC,SAAS;YACX,CAAC,CAAC,CAAC,GAAG,UAAU,EAAE,GAAG,aAAa,CAAC,mBAAmB,CAAC,EACzD,OAAO,EACP,OAAO,EACP,KAAK,CACN,CAAC;QACJ,iCAAiC,CAAC,IAAI,CAAC,CAAC;IAC1C,CAAC,CAAC;IACF,yBAAyB;IACzB,iBAAiB,CAAC,mBAAmB,GAAG,aAAa,CAAC,mBAAmB,CAAC,GAAG,CAC3E,SAAS,CAAC,EAAE,CAAC,CAAC;QACZ,SAAS;QACT,cAAc,EAAE,IAAI;QACpB,UAAU,EAAE,EAAE,CAAC,UAAU,CAAC,QAAQ;KACnC,CAAC,CACH,CAAC;IACF,iBAAiB,CAAC,KAAK,GAAG,GAAG,CAAC;IAE9B,0FAA0F;IAC1F,+FAA+F;IAC/F,iBAAiB,CAAC,UAAU,GAAG,SAAS,CAAC;IACzC,iBAAiB,CAAC,YAAY,GAAG,SAAS,CAAC;IAC3C,OAAO,EAAE,CAAC,kBAAkB,CAAC,iBAAiB,CAAC,CAAC;AAClD,CAAC;AAED,SAAS,kBAAkB,CAAC,YAA2B;IACrD,MAAM,IAAI,GAAG,iBAAE,CAAC,QAAQ,CAAC,YAAY,CAAC,CAAC;IACvC,MAAM,cAAc,GAAG,IAAI,CAAC,OAAO,CAAC;IACpC,MAAM,oBAAoB,GACxB,kCAAkC,CAAC,GAAG,CAAC,YAAY,CAAC,CAAC;IAEvD,kCAAkC,CAAC,GAAG,CAAC,YAAY,EAAE,cAAc,CAAC,CAAC;IAErE,IAAI,oBAAoB,KAAK,SAAS,EAAE,CAAC;QACvC,OAAO,KAAK,CAAC;IACf,CAAC;IAED,OAAO,IAAI,CAAC,GAAG,CAAC,oBAAoB,GAAG,cAAc,CAAC,GAAG,MAAM,CAAC,OAAO,CAAC;AAC1E,CAAC;AAED,SAAS,sBAAsB,CAC7B,aAAsD,EACtD,QAAuB,EACvB,YAA2B;IAE3B;;;OAGG;IACH,IAAI,cAAc,GAAG,aAAa,CAAC,UAAU,EAAE,CAAC,UAAU,EAAE,CAAC;IAE7D,qEAAqE;IACrE,+EAA+E;IAC/E,IAAI,OAAO,CAAC,GAAG,CAAC,wBAAwB,KAAK,MAAM,EAAE,CAAC;QACpD,OAAO,cAAc,CAAC;IACxB,CAAC;IAED,IAAI,kBAAkB,CAAC,YAAY,CAAC,EAAE,CAAC;QACrC;;;WAGG;QACH,GAAG,CAAC,sDAAsD,EAAE,YAAY,CAAC,CAAC;QAC1E,oEAAoE;QACpE,4BAA4B;aACzB,GAAG,CAAC,YAAY,CAAE;aAClB,OAAO,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,YAAY,EAAE,EAAE,CAAC,oBAAoB,CAAC,OAAO,CAAC,CAAC,CAAC;QAEpE,wFAAwF;QACxF,oBAAoB,CAAC,MAAM,CAAC,YAAY,CAAC,CAAC;IAC5C,CAAC;IAED,IAAI,UAAU,GAAG,cAAc,CAAC,aAAa,CAAC,QAAQ,CAAC,CAAC;IACxD,IAAI,UAAU,EAAE,CAAC;QACf,OAAO,cAAc,CAAC;IACxB,CAAC;IACD;;;OAGG;IACH,GAAG,CAAC,8DAA8D,EAAE,QAAQ,CAAC,CAAC;IAE9E,kEAAkE;IAClE,MAAM,UAAU,GAAG,IAAA,yBAAgB,EAAC,QAAQ,CAAC,CAAC;IAC9C,IAAI,OAAO,GAAyB,IAAI,CAAC;IACzC,IAAI,IAAI,GAAG,UAAU,CAAC;IACtB,IAAI,WAAW,GAAG,KAAK,CAAC;IACxB,OAAO,OAAO,KAAK,IAAI,EAAE,CAAC;QACxB,OAAO,GAAG,IAAI,CAAC;QACf,MAAM,oBAAoB,GAAG,8BAA8B,CAAC,GAAG,CAAC,OAAO,CAAC,CAAC;QACzE,IAAI,oBAAoB,EAAE,CAAC;YACzB,KAAK,MAAM,EAAE,IAAI,oBAAoB,EAAE,CAAC;gBACtC,IAAI,UAAU,KAAK,OAAO,EAAE,CAAC;oBAC3B,EAAE,CAAC,UAAU,EAAE,EAAE,CAAC,oBAAoB,CAAC,OAAO,CAAC,CAAC;gBAClD,CAAC;gBACD,EAAE,CAAC,OAAO,EAAE,EAAE,CAAC,oBAAoB,CAAC,OAAO,CAAC,CAAC;YAC/C,CAAC;YACD,WAAW,GAAG,IAAI,CAAC;QACrB,CAAC;QAED,IAAI,GAAG,IAAA,yBAAgB,EAAC,OAAO,CAAC,CAAC;IACnC,CAAC;IACD,IAAI,CAAC,WAAW,EAAE,CAAC;QACjB;;;WAGG;QACH,GAAG,CAAC,0DAA0D,EAAE,QAAQ,CAAC,CAAC;QAC1E,OAAO,IAAI,CAAC;IACd,CAAC;IAED,yFAAyF;IACzF,oBAAoB,CAAC,MAAM,CAAC,YAAY,CAAC,CAAC;IAE1C,6BAA6B;IAC7B,cAAc,GAAG,aAAa,CAAC,UAAU,EAAE,CAAC,UAAU,EAAE,CAAC;IACzD,UAAU,GAAG,cAAc,CAAC,aAAa,CAAC,QAAQ,CAAC,CAAC;IACpD,IAAI,UAAU,EAAE,CAAC;QACf,OAAO,cAAc,CAAC;IACxB,CAAC;IAED;;;;;;OAMG;IACH,GAAG,CACD,0FAA0F,EAC1F,QAAQ,CACT,CAAC;IAEF,MAAM,aAAa,GAAG,cAAc,CAAC,gBAAgB,EAAE,CAAC;IACxD,6FAA6F;IAC7F,MAAM,WAAW,GAAG,aAAa,CAAC,IAAI,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC,iBAAE,CAAC,UAAU,CAAC,IAAI,CAAC,CAAC,CAAC;IACrE,IAAI,CAAC,WAAW,EAAE,CAAC;QACjB,sGAAsG;QACtG,OAAO,IAAI,CAAC;IACd,CAAC;IAED,MAAM,kBAAkB,GAAG,4BAA4B,CAAC,GAAG,CACzD,IAAA,6BAAoB,EAAC,WAAW,CAAC,CAClC,CAAC;IACF,IAAI,CAAC,kBAAkB,EAAE,CAAC;QACxB,qCAAqC;QACrC,GAAG,CAAC,kDAAkD,EAAE,WAAW,CAAC,CAAC;QACrE,OAAO,cAAc,CAAC;IACxB,CAAC;IAED,GAAG,CAAC,6BAA6B,EAAE,WAAW,CAAC,CAAC;IAChD,kBAAkB,CAAC,OAAO,CAAC,EAAE,CAAC,EAAE,CAC9B,EAAE,CAAC,WAAW,EAAE,EAAE,CAAC,oBAAoB,CAAC,OAAO,CAAC,CACjD,CAAC;IAEF,2EAA2E;IAC3E,oBAAoB,CAAC,MAAM,CAAC,YAAY,CAAC,CAAC;IAE1C,cAAc,GAAG,aAAa,CAAC,UAAU,EAAE,CAAC,UAAU,EAAE,CAAC;IACzD,UAAU,GAAG,cAAc,CAAC,aAAa,CAAC,QAAQ,CAAC,CAAC;IACpD,IAAI,UAAU,EAAE,CAAC;QACf,OAAO,cAAc,CAAC;IACxB,CAAC;IAED,GAAG,CACD,uGAAuG,EACvG,QAAQ,CACT,CAAC;IACF,OAAO,IAAI,CAAC;AACd,CAAC"} \ No newline at end of file +{"version":3,"file":"getWatchProgramsForProjects.js","sourceRoot":"","sources":["../../src/create-program/getWatchProgramsForProjects.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA4eS,4CAAgB;AAAE,kEAA2B;AA5etD,kDAA0B;AAC1B,sDAAyB;AACzB,+CAAiC;AAMjC,kDAA8C;AAC9C,qCAKkB;AAElB,MAAM,GAAG,GAAG,IAAA,eAAK,EAAC,wDAAwD,CAAC,CAAC;AAE5E;;GAEG;AACH,MAAM,oBAAoB,GAAG,IAAI,GAAG,EAGjC,CAAC;AAEJ;;;GAGG;AACH,MAAM,4BAA4B,GAAG,IAAI,GAAG,EAGzC,CAAC;AACJ,MAAM,8BAA8B,GAAG,IAAI,GAAG,EAG3C,CAAC;AAEJ;;GAEG;AACH,MAAM,oBAAoB,GAAG,IAAI,GAAG,EAAqC,CAAC;AAE1E;;GAEG;AACH,MAAM,kCAAkC,GAAG,IAAI,GAAG,EAAyB,CAAC;AAE5E,MAAM,mBAAmB,GAAG,IAAI,GAAG,EAAyB,CAAC;AAE7D;;;GAGG;AACH,SAAS,gBAAgB;IACvB,oBAAoB,CAAC,KAAK,EAAE,CAAC;IAC7B,4BAA4B,CAAC,KAAK,EAAE,CAAC;IACrC,8BAA8B,CAAC,KAAK,EAAE,CAAC;IACvC,mBAAmB,CAAC,KAAK,EAAE,CAAC;IAC5B,oBAAoB,CAAC,KAAK,EAAE,CAAC;IAC7B,kCAAkC,CAAC,KAAK,EAAE,CAAC;AAC7C,CAAC;AAED,SAAS,iBAAiB,CACxB,WAAqD;IAErD,OAAO,CACL,QAAgB,EAChB,QAAgC,EAChB,EAAE;QAClB,MAAM,kBAAkB,GAAG,IAAA,6BAAoB,EAAC,QAAQ,CAAC,CAAC;QAC1D,MAAM,QAAQ,GAAG,CAAC,GAAgC,EAAE;YAClD,IAAI,QAAQ,GAAG,WAAW,CAAC,GAAG,CAAC,kBAAkB,CAAC,CAAC;YACnD,IAAI,CAAC,QAAQ,EAAE,CAAC;gBACd,QAAQ,GAAG,IAAI,GAAG,EAAE,CAAC;gBACrB,WAAW,CAAC,GAAG,CAAC,kBAAkB,EAAE,QAAQ,CAAC,CAAC;YAChD,CAAC;YACD,OAAO,QAAQ,CAAC;QAClB,CAAC,CAAC,EAAE,CAAC;QACL,QAAQ,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAC;QAEvB,OAAO;YACL,KAAK,EAAE,GAAS,EAAE;gBAChB,QAAQ,CAAC,MAAM,CAAC,QAAQ,CAAC,CAAC;YAC5B,CAAC;SACF,CAAC;IACJ,CAAC,CAAC;AACJ,CAAC;AAED;;GAEG;AACH,MAAM,yBAAyB,GAG3B;IACF,IAAI,EAAE,EAAE;IACR,QAAQ,EAAE,EAAmB;CAC9B,CAAC;AAEF;;;GAGG;AACH,SAAS,kBAAkB,CAAC,UAAyB;IACnD,MAAM,IAAI,KAAK,CACb,EAAE,CAAC,4BAA4B,CAAC,UAAU,CAAC,WAAW,EAAE,EAAE,CAAC,GAAG,CAAC,OAAO,CAAC,CACxE,CAAC;AACJ,CAAC;AAED,SAAS,oBAAoB,CAC3B,YAA2B,EAC3B,OAAmB;IAEnB,MAAM,QAAQ,GAAG,IAAI,GAAG,CACtB,OAAO,CAAC,gBAAgB,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,IAAA,6BAAoB,EAAC,CAAC,CAAC,CAAC,CAC7D,CAAC;IACF,oBAAoB,CAAC,GAAG,CAAC,YAAY,EAAE,QAAQ,CAAC,CAAC;IACjD,OAAO,QAAQ,CAAC;AAClB,CAAC;AAED;;;;GAIG;AACH,SAAS,2BAA2B,CAClC,aAA4B;IAE5B,MAAM,QAAQ,GAAG,IAAA,6BAAoB,EAAC,aAAa,CAAC,QAAQ,CAAC,CAAC;IAC9D,MAAM,OAAO,GAAG,EAAE,CAAC;IAEnB,mDAAmD;IACnD,yBAAyB,CAAC,IAAI,GAAG,aAAa,CAAC,IAAI,CAAC;IACpD,yBAAyB,CAAC,QAAQ,GAAG,QAAQ,CAAC;IAE9C,mCAAmC;IACnC,MAAM,kBAAkB,GAAG,4BAA4B,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAC;IACtE,MAAM,QAAQ,GAAG,IAAA,mBAAU,EAAC,IAAA,0BAAW,EAAC,aAAa,CAAC,IAAI,CAAC,CAAC,CAAC;IAC7D,IACE,mBAAmB,CAAC,GAAG,CAAC,QAAQ,CAAC,KAAK,QAAQ;QAC9C,kBAAkB;QAClB,kBAAkB,CAAC,IAAI,GAAG,CAAC,EAC3B,CAAC;QACD,kBAAkB,CAAC,OAAO,CAAC,EAAE,CAAC,EAAE,CAC9B,EAAE,CAAC,QAAQ,EAAE,EAAE,CAAC,oBAAoB,CAAC,OAAO,CAAC,CAC9C,CAAC;IACJ,CAAC;IAED,MAAM,2BAA2B,GAAG,IAAI,GAAG,CAAC,aAAa,CAAC,QAAQ,CAAC,CAAC;IAEpE;;;OAGG;IACH,KAAK,MAAM,CAAC,YAAY,EAAE,aAAa,CAAC,IAAI,oBAAoB,CAAC,OAAO,EAAE,EAAE,CAAC;QAC3E,IAAI,CAAC,2BAA2B,CAAC,GAAG,CAAC,YAAY,CAAC,EAAE,CAAC;YACnD,gFAAgF;YAChF,wDAAwD;YACxD,EAAE;YACF,gEAAgE;YAChE,uEAAuE;YACvE,SAAS;QACX,CAAC;QACD,IAAI,QAAQ,GAAG,oBAAoB,CAAC,GAAG,CAAC,YAAY,CAAC,CAAC;QACtD,IAAI,cAAc,GAAsB,IAAI,CAAC;QAC7C,IAAI,CAAC,QAAQ,EAAE,CAAC;YACd,cAAc,GAAG,aAAa,CAAC,UAAU,EAAE,CAAC,UAAU,EAAE,CAAC;YACzD,QAAQ,GAAG,oBAAoB,CAAC,YAAY,EAAE,cAAc,CAAC,CAAC;QAChE,CAAC;QAED,IAAI,QAAQ,CAAC,GAAG,CAAC,QAAQ,CAAC,EAAE,CAAC;YAC3B,GAAG,CAAC,qCAAqC,EAAE,QAAQ,CAAC,CAAC;YAErD,cAAc,KAAK,aAAa,CAAC,UAAU,EAAE,CAAC,UAAU,EAAE,CAAC;YAC3D,uCAAuC;YACvC,cAAc,CAAC,cAAc,EAAE,CAAC;YAEhC,OAAO,CAAC,cAAc,CAAC,CAAC;QAC1B,CAAC;IACH,CAAC;IACD,GAAG,CACD,2EAA2E,EAC3E,QAAQ,CACT,CAAC;IAEF;;;;OAIG;IACH,KAAK,MAAM,YAAY,IAAI,aAAa,CAAC,QAAQ,EAAE,CAAC;QAClD,MAAM,aAAa,GAAG,oBAAoB,CAAC,GAAG,CAAC,YAAY,CAAC,CAAC,CAAC,CAAC,CAAC;QAEhE,IAAI,aAAa,EAAE,CAAC;YAClB,MAAM,cAAc,GAAG,sBAAsB,CAC3C,aAAa,EACb,QAAQ,EACR,YAAY,CAAC,CAAC,CAAC,CAChB,CAAC;YACF,IAAI,CAAC,cAAc,EAAE,CAAC;gBACpB,SAAS;YACX,CAAC;YAED,uCAAuC;YACvC,cAAc,CAAC,cAAc,EAAE,CAAC;YAEhC,gCAAgC;YAChC,MAAM,QAAQ,GAAG,oBAAoB,CAAC,YAAY,CAAC,CAAC,CAAC,EAAE,cAAc,CAAC,CAAC;YACvE,IAAI,QAAQ,CAAC,GAAG,CAAC,QAAQ,CAAC,EAAE,CAAC;gBAC3B,GAAG,CAAC,oCAAoC,EAAE,QAAQ,CAAC,CAAC;gBACpD,qEAAqE;gBACrE,OAAO,CAAC,cAAc,CAAC,CAAC;YAC1B,CAAC;YAED,OAAO,CAAC,IAAI,CAAC,cAAc,CAAC,CAAC;YAC7B,SAAS;QACX,CAAC;QAED,MAAM,YAAY,GAAG,kBAAkB,CAAC,YAAY,CAAC,CAAC,CAAC,EAAE,aAAa,CAAC,CAAC;QACxE,oBAAoB,CAAC,GAAG,CAAC,YAAY,CAAC,CAAC,CAAC,EAAE,YAAY,CAAC,CAAC;QAExD,MAAM,OAAO,GAAG,YAAY,CAAC,UAAU,EAAE,CAAC,UAAU,EAAE,CAAC;QACvD,uCAAuC;QACvC,OAAO,CAAC,cAAc,EAAE,CAAC;QAEzB,gCAAgC;QAChC,MAAM,QAAQ,GAAG,oBAAoB,CAAC,YAAY,CAAC,CAAC,CAAC,EAAE,OAAO,CAAC,CAAC;QAChE,IAAI,QAAQ,CAAC,GAAG,CAAC,QAAQ,CAAC,EAAE,CAAC;YAC3B,GAAG,CAAC,4BAA4B,EAAE,QAAQ,CAAC,CAAC;YAC5C,qEAAqE;YACrE,OAAO,CAAC,OAAO,CAAC,CAAC;QACnB,CAAC;QAED,OAAO,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IACxB,CAAC;IAED,OAAO,OAAO,CAAC;AACjB,CAAC;AAED,SAAS,kBAAkB,CACzB,YAAoB,EACpB,aAA4B;IAE5B,GAAG,CAAC,gCAAgC,EAAE,YAAY,CAAC,CAAC;IAEpD,uBAAuB;IACvB,MAAM,iBAAiB,GAAG,EAAE,CAAC,uBAAuB,CAClD,YAAY,EACZ,IAAA,8CAAqC,EAAC,aAAa,CAAC,EACpD,EAAE,CAAC,GAAG,EACN,EAAE,CAAC,qBAAqB,EACxB,kBAAkB;IAClB,6DAA6D;IAC7D,gEAAgE;IAChE,qBAAqB,CAAC,GAAG,EAAE,GAAE,CAAC,CACqB,CAAC;IACtD,iBAAiB,CAAC,gBAAgB,GAAG,aAAa,CAAC,gBAAgB,CAAC;IAEpE,0EAA0E;IAC1E,MAAM,WAAW,GAAG,iBAAiB,CAAC,QAAQ,CAAC;IAC/C,iBAAiB,CAAC,QAAQ,GAAG,CAAC,UAAU,EAAE,QAAQ,EAAsB,EAAE;QACxE,MAAM,QAAQ,GAAG,IAAA,6BAAoB,EAAC,UAAU,CAAC,CAAC;QAClD,MAAM,WAAW,GACf,QAAQ,KAAK,yBAAyB,CAAC,QAAQ;YAC7C,CAAC,CAAC,IAAA,0BAAW,EAAC,yBAAyB,CAAC,IAAI,CAAC;YAC7C,CAAC,CAAC,WAAW,CAAC,QAAQ,EAAE,QAAQ,CAAC,CAAC;QACtC,IAAI,WAAW,KAAK,SAAS,EAAE,CAAC;YAC9B,mBAAmB,CAAC,GAAG,CAAC,QAAQ,EAAE,IAAA,mBAAU,EAAC,WAAW,CAAC,CAAC,CAAC;QAC7D,CAAC;QACD,OAAO,WAAW,CAAC;IACrB,CAAC,CAAC;IAEF,iFAAiF;IACjF,iBAAiB,CAAC,mCAAmC,GAAG,kBAAkB,CAAC;IAE3E,uCAAuC;IACvC,iBAAiB,CAAC,kBAAkB,GAAG,CAAC,OAAO,EAAQ,EAAE;QACvD,0DAA0D;QAC1D,MAAM,qBAAqB,GAAG,OAAO;aAClC,+BAA+B,EAAE;aACjC,MAAM,CACL,IAAI,CAAC,EAAE,CACL,IAAI,CAAC,QAAQ,KAAK,EAAE,CAAC,kBAAkB,CAAC,KAAK,IAAI,IAAI,CAAC,IAAI,KAAK,KAAK,CACvE,CAAC;QACJ,IAAI,qBAAqB,CAAC,MAAM,GAAG,CAAC,EAAE,CAAC;YACrC,kBAAkB,CAAC,qBAAqB,CAAC,CAAC,CAAC,CAAC,CAAC;QAC/C,CAAC;IACH,CAAC,CAAC;IAEF;;;;;;;;;OASG;IACH,iBAAiB,CAAC,SAAS,GAAG,iBAAiB,CAAC,4BAA4B,CAAC,CAAC;IAC9E,iBAAiB,CAAC,cAAc,GAAG,iBAAiB,CAClD,8BAA8B,CAC/B,CAAC;IAEF,sFAAsF;IACtF,MAAM,iCAAiC,GACrC,iBAAiB,CAAC,oCAAoC,CAAC;IACzD,iBAAiB,CAAC,oCAAoC,GAAG,CAAC,IAAI,EAAQ,EAAE;QACtE,MAAM,gBAAgB,GAAG,IAAI,CAAC,aAAa,CAAC;QAC5C,IAAI,CAAC,aAAa,GAAG,CACnB,IAAI,EACJ,UAAU,EACV,OAAO,EACP,OAAO,EACP,KAAK,EACK,EAAE,CACZ,gBAAgB,CACd,IAAI,EACJ,CAAC,UAAU;YACT,CAAC,CAAC,SAAS;YACX,CAAC,CAAC,CAAC,GAAG,UAAU,EAAE,GAAG,aAAa,CAAC,mBAAmB,CAAC,EACzD,OAAO,EACP,OAAO,EACP,KAAK,CACN,CAAC;QACJ,iCAAiC,CAAC,IAAI,CAAC,CAAC;IAC1C,CAAC,CAAC;IACF,yBAAyB;IACzB,iBAAiB,CAAC,mBAAmB,GAAG,aAAa,CAAC,mBAAmB,CAAC,GAAG,CAC3E,SAAS,CAAC,EAAE,CAAC,CAAC;QACZ,SAAS;QACT,cAAc,EAAE,IAAI;QACpB,UAAU,EAAE,EAAE,CAAC,UAAU,CAAC,QAAQ;KACnC,CAAC,CACH,CAAC;IACF,iBAAiB,CAAC,KAAK,GAAG,GAAG,CAAC;IAE9B,0FAA0F;IAC1F,+FAA+F;IAC/F,iBAAiB,CAAC,UAAU,GAAG,SAAS,CAAC;IACzC,iBAAiB,CAAC,YAAY,GAAG,SAAS,CAAC;IAC3C,OAAO,EAAE,CAAC,kBAAkB,CAAC,iBAAiB,CAAC,CAAC;AAClD,CAAC;AAED,SAAS,kBAAkB,CAAC,YAA2B;IACrD,MAAM,IAAI,GAAG,iBAAE,CAAC,QAAQ,CAAC,YAAY,CAAC,CAAC;IACvC,MAAM,cAAc,GAAG,IAAI,CAAC,OAAO,CAAC;IACpC,MAAM,oBAAoB,GACxB,kCAAkC,CAAC,GAAG,CAAC,YAAY,CAAC,CAAC;IAEvD,kCAAkC,CAAC,GAAG,CAAC,YAAY,EAAE,cAAc,CAAC,CAAC;IAErE,IAAI,oBAAoB,KAAK,SAAS,EAAE,CAAC;QACvC,OAAO,KAAK,CAAC;IACf,CAAC;IAED,OAAO,IAAI,CAAC,GAAG,CAAC,oBAAoB,GAAG,cAAc,CAAC,GAAG,MAAM,CAAC,OAAO,CAAC;AAC1E,CAAC;AAED,SAAS,sBAAsB,CAC7B,aAAsD,EACtD,QAAuB,EACvB,YAA2B;IAE3B;;;OAGG;IACH,IAAI,cAAc,GAAG,aAAa,CAAC,UAAU,EAAE,CAAC,UAAU,EAAE,CAAC;IAE7D,qEAAqE;IACrE,+EAA+E;IAC/E,IAAI,OAAO,CAAC,GAAG,CAAC,wBAAwB,KAAK,MAAM,EAAE,CAAC;QACpD,OAAO,cAAc,CAAC;IACxB,CAAC;IAED,IAAI,kBAAkB,CAAC,YAAY,CAAC,EAAE,CAAC;QACrC;;;WAGG;QACH,GAAG,CAAC,sDAAsD,EAAE,YAAY,CAAC,CAAC;QAC1E,oEAAoE;QACpE,4BAA4B;aACzB,GAAG,CAAC,YAAY,CAAE;aAClB,OAAO,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,YAAY,EAAE,EAAE,CAAC,oBAAoB,CAAC,OAAO,CAAC,CAAC,CAAC;QAEpE,wFAAwF;QACxF,oBAAoB,CAAC,MAAM,CAAC,YAAY,CAAC,CAAC;IAC5C,CAAC;IAED,IAAI,UAAU,GAAG,cAAc,CAAC,aAAa,CAAC,QAAQ,CAAC,CAAC;IACxD,IAAI,UAAU,EAAE,CAAC;QACf,OAAO,cAAc,CAAC;IACxB,CAAC;IACD;;;OAGG;IACH,GAAG,CAAC,8DAA8D,EAAE,QAAQ,CAAC,CAAC;IAE9E,kEAAkE;IAClE,MAAM,UAAU,GAAG,IAAA,yBAAgB,EAAC,QAAQ,CAAC,CAAC;IAC9C,IAAI,OAAO,GAAyB,IAAI,CAAC;IACzC,IAAI,IAAI,GAAG,UAAU,CAAC;IACtB,IAAI,WAAW,GAAG,KAAK,CAAC;IACxB,OAAO,OAAO,KAAK,IAAI,EAAE,CAAC;QACxB,OAAO,GAAG,IAAI,CAAC;QACf,MAAM,oBAAoB,GAAG,8BAA8B,CAAC,GAAG,CAAC,OAAO,CAAC,CAAC;QACzE,IAAI,oBAAoB,EAAE,CAAC;YACzB,KAAK,MAAM,EAAE,IAAI,oBAAoB,EAAE,CAAC;gBACtC,IAAI,UAAU,KAAK,OAAO,EAAE,CAAC;oBAC3B,EAAE,CAAC,UAAU,EAAE,EAAE,CAAC,oBAAoB,CAAC,OAAO,CAAC,CAAC;gBAClD,CAAC;gBACD,EAAE,CAAC,OAAO,EAAE,EAAE,CAAC,oBAAoB,CAAC,OAAO,CAAC,CAAC;YAC/C,CAAC;YACD,WAAW,GAAG,IAAI,CAAC;QACrB,CAAC;QAED,IAAI,GAAG,IAAA,yBAAgB,EAAC,OAAO,CAAC,CAAC;IACnC,CAAC;IACD,IAAI,CAAC,WAAW,EAAE,CAAC;QACjB;;;WAGG;QACH,GAAG,CAAC,0DAA0D,EAAE,QAAQ,CAAC,CAAC;QAC1E,OAAO,IAAI,CAAC;IACd,CAAC;IAED,yFAAyF;IACzF,oBAAoB,CAAC,MAAM,CAAC,YAAY,CAAC,CAAC;IAE1C,6BAA6B;IAC7B,cAAc,GAAG,aAAa,CAAC,UAAU,EAAE,CAAC,UAAU,EAAE,CAAC;IACzD,UAAU,GAAG,cAAc,CAAC,aAAa,CAAC,QAAQ,CAAC,CAAC;IACpD,IAAI,UAAU,EAAE,CAAC;QACf,OAAO,cAAc,CAAC;IACxB,CAAC;IAED;;;;;;OAMG;IACH,GAAG,CACD,0FAA0F,EAC1F,QAAQ,CACT,CAAC;IAEF,MAAM,aAAa,GAAG,cAAc,CAAC,gBAAgB,EAAE,CAAC;IACxD,6FAA6F;IAC7F,MAAM,WAAW,GAAG,aAAa,CAAC,IAAI,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC,iBAAE,CAAC,UAAU,CAAC,IAAI,CAAC,CAAC,CAAC;IACrE,IAAI,CAAC,WAAW,EAAE,CAAC;QACjB,sGAAsG;QACtG,OAAO,IAAI,CAAC;IACd,CAAC;IAED,MAAM,kBAAkB,GAAG,4BAA4B,CAAC,GAAG,CACzD,IAAA,6BAAoB,EAAC,WAAW,CAAC,CAClC,CAAC;IACF,IAAI,CAAC,kBAAkB,EAAE,CAAC;QACxB,qCAAqC;QACrC,GAAG,CAAC,kDAAkD,EAAE,WAAW,CAAC,CAAC;QACrE,OAAO,cAAc,CAAC;IACxB,CAAC;IAED,GAAG,CAAC,6BAA6B,EAAE,WAAW,CAAC,CAAC;IAChD,kBAAkB,CAAC,OAAO,CAAC,EAAE,CAAC,EAAE,CAC9B,EAAE,CAAC,WAAW,EAAE,EAAE,CAAC,oBAAoB,CAAC,OAAO,CAAC,CACjD,CAAC;IAEF,2EAA2E;IAC3E,oBAAoB,CAAC,MAAM,CAAC,YAAY,CAAC,CAAC;IAE1C,cAAc,GAAG,aAAa,CAAC,UAAU,EAAE,CAAC,UAAU,EAAE,CAAC;IACzD,UAAU,GAAG,cAAc,CAAC,aAAa,CAAC,QAAQ,CAAC,CAAC;IACpD,IAAI,UAAU,EAAE,CAAC;QACf,OAAO,cAAc,CAAC;IACxB,CAAC;IAED,GAAG,CACD,uGAAuG,EACvG,QAAQ,CACT,CAAC;IACF,OAAO,IAAI,CAAC;AACd,CAAC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/typescript-estree/dist/create-program/shared.js b/node_modules/@typescript-eslint/typescript-estree/dist/create-program/shared.js index 4985fd386f..974dd15547 100644 --- a/node_modules/@typescript-eslint/typescript-estree/dist/create-program/shared.js +++ b/node_modules/@typescript-eslint/typescript-estree/dist/create-program/shared.js @@ -15,13 +15,23 @@ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? ( }) : function(o, v) { o["default"] = v; }); -var __importStar = (this && this.__importStar) || function (mod) { - if (mod && mod.__esModule) return mod; - var result = {}; - if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k); - __setModuleDefault(result, mod); - return result; -}; +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; }; diff --git a/node_modules/@typescript-eslint/typescript-estree/dist/create-program/shared.js.map b/node_modules/@typescript-eslint/typescript-estree/dist/create-program/shared.js.map index 84c4bd779b..038d3a36ac 100644 --- a/node_modules/@typescript-eslint/typescript-estree/dist/create-program/shared.js.map +++ b/node_modules/@typescript-eslint/typescript-estree/dist/create-program/shared.js.map @@ -1 +1 @@ -{"version":3,"file":"shared.js","sourceRoot":"","sources":["../../src/create-program/shared.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAgJE,4CAAgB;AAGhB,sFAAqC;AACrC,gCAAU;AAEV,gDAAkB;AAClB,8CAAiB;AACjB,oDAAoB;AAtJtB,0DAA6B;AAC7B,+CAAiC;AAcjC;;GAEG;AACH,MAAM,qBAAqB,GAAuB;IAChD,MAAM,EAAE,IAAI,EAAE,qDAAqD;IAEnE;;OAEG;IACH,cAAc,EAAE,IAAI;IACpB,kBAAkB,EAAE,IAAI;CACzB,CAAC;AAsHA,sDAAqB;AApHvB;;GAEG;AACH,MAAM,wBAAwB,GAAuB;IACnD,GAAG,qBAAqB;IACxB,OAAO,EAAE,IAAI;IACb,oBAAoB,EAAE,IAAI;IAC1B,OAAO,EAAE,IAAI;CACd,CAAC;AAEF,MAAM,6BAA6B,GAAG,IAAI,GAAG,CAAS;IACpD,EAAE,CAAC,SAAS,CAAC,GAAG;IAChB,EAAE,CAAC,SAAS,CAAC,GAAG;IAChB,EAAE,CAAC,SAAS,CAAC,EAAE;IACf,EAAE,CAAC,SAAS,CAAC,GAAG;IAChB,EAAE,CAAC,SAAS,CAAC,GAAG;IAChB,EAAE,CAAC,SAAS,CAAC,GAAG;IAChB,EAAE,CAAC,SAAS,CAAC,EAAE;IACf,EAAE,CAAC,SAAS,CAAC,GAAG;CACjB,CAAC,CAAC;AAoGD,sEAA6B;AAlG/B,SAAS,qCAAqC,CAC5C,aAA4B;IAE5B,IAAI,aAAa,CAAC,UAAU,CAAC,GAAG,CAAC,YAAY,CAAC,EAAE,CAAC;QAC/C,OAAO;YACL,GAAG,wBAAwB;YAC3B,mBAAmB,EAAE,IAAI;SAC1B,CAAC;IACJ,CAAC;IAED,OAAO,wBAAwB,CAAC;AAClC,CAAC;AAKD,8EAA8E;AAC9E,MAAM,yBAAyB;AAC7B,uEAAuE;AACvE,EAAE,CAAC,GAAG,KAAK,SAAS,CAAC,CAAC,CAAC,EAAE,CAAC,GAAG,CAAC,yBAAyB,CAAC,CAAC,CAAC,IAAI,CAAC;AACjE,MAAM,iBAAiB,GAAG,yBAAyB;IACjD,CAAC,CAAC,CAAC,QAAgB,EAAU,EAAE,CAAC,QAAQ;IACxC,CAAC,CAAC,CAAC,QAAgB,EAAU,EAAE,CAAC,QAAQ,CAAC,WAAW,EAAE,CAAC;AAEzD,SAAS,oBAAoB,CAAC,QAAgB;IAC5C,IAAI,UAAU,GAAG,mBAAI,CAAC,SAAS,CAAC,QAAQ,CAAC,CAAC;IAC1C,IAAI,UAAU,CAAC,QAAQ,CAAC,mBAAI,CAAC,GAAG,CAAC,EAAE,CAAC;QAClC,UAAU,GAAG,UAAU,CAAC,KAAK,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC;IACvC,CAAC;IACD,OAAO,iBAAiB,CAAC,UAAU,CAAkB,CAAC;AACxD,CAAC;AAED,SAAS,kBAAkB,CAAC,CAAS,EAAE,eAAuB;IAC5D,OAAO,mBAAI,CAAC,UAAU,CAAC,CAAC,CAAC;QACvB,CAAC,CAAC,CAAC;QACH,CAAC,CAAC,mBAAI,CAAC,IAAI,CAAC,eAAe,IAAI,OAAO,CAAC,GAAG,EAAE,EAAE,CAAC,CAAC,CAAC;AACrD,CAAC;AAED,SAAS,gBAAgB,CAAC,CAAgB;IACxC,OAAO,mBAAI,CAAC,OAAO,CAAC,CAAC,CAAkB,CAAC;AAC1C,CAAC;AAED,MAAM,qBAAqB,GAAG;IAC5B,EAAE,CAAC,SAAS,CAAC,GAAG;IAChB,EAAE,CAAC,SAAS,CAAC,IAAI;IACjB,EAAE,CAAC,SAAS,CAAC,IAAI;CACT,CAAC;AACX,SAAS,YAAY,CAAC,QAA4B;IAChD,IAAI,CAAC,QAAQ,EAAE,CAAC;QACd,OAAO,IAAI,CAAC;IACd,CAAC;IAED,OAAO,CACL,qBAAqB,CAAC,IAAI,CAAC,aAAa,CAAC,EAAE,CACzC,QAAQ,CAAC,QAAQ,CAAC,aAAa,CAAC,CACjC,IAAI,mBAAI,CAAC,OAAO,CAAC,QAAQ,CAAC,CAC5B,CAAC;AACJ,CAAC;AAED,SAAS,iBAAiB,CACxB,cAAuB,EACvB,QAAgB;IAEhB,MAAM,GAAG,GAAG,cAAc,CAAC,aAAa,CAAC,QAAQ,CAAC,CAAC;IAEnD,oFAAoF;IACpF,MAAM,WAAW,GAAG,YAAY,CAAC,QAAQ,CAAC,CAAC;IAC3C,MAAM,WAAW,GAAG,YAAY,CAAC,GAAG,EAAE,QAAQ,CAAC,CAAC;IAChD,IAAI,WAAW,KAAK,WAAW,EAAE,CAAC;QAChC,OAAO,SAAS,CAAC;IACnB,CAAC;IAED,OAAO,GAAG,IAAI,EAAE,GAAG,EAAE,OAAO,EAAE,cAAc,EAAE,CAAC;AACjD,CAAC;AAED;;;;GAIG;AACH,SAAS,UAAU,CAAC,OAAe;IACjC,qCAAqC;IACrC,uEAAuE;IACvE,IAAI,EAAE,CAAC,GAAG,EAAE,UAAU,EAAE,CAAC;QACvB,OAAO,EAAE,CAAC,GAAG,CAAC,UAAU,CAAC,OAAO,CAAC,CAAC;IACpC,CAAC;IACD,OAAO,OAAO,CAAC;AACjB,CAAC"} \ No newline at end of file +{"version":3,"file":"shared.js","sourceRoot":"","sources":["../../src/create-program/shared.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAgJE,4CAAgB;AAGhB,sFAAqC;AACrC,gCAAU;AAEV,gDAAkB;AAClB,8CAAiB;AACjB,oDAAoB;AAtJtB,0DAA6B;AAC7B,+CAAiC;AAcjC;;GAEG;AACH,MAAM,qBAAqB,GAAuB;IAChD,MAAM,EAAE,IAAI,EAAE,qDAAqD;IAEnE;;OAEG;IACH,cAAc,EAAE,IAAI;IACpB,kBAAkB,EAAE,IAAI;CACzB,CAAC;AAsHA,sDAAqB;AApHvB;;GAEG;AACH,MAAM,wBAAwB,GAAuB;IACnD,GAAG,qBAAqB;IACxB,OAAO,EAAE,IAAI;IACb,oBAAoB,EAAE,IAAI;IAC1B,OAAO,EAAE,IAAI;CACd,CAAC;AAEF,MAAM,6BAA6B,GAAG,IAAI,GAAG,CAAS;IACpD,EAAE,CAAC,SAAS,CAAC,GAAG;IAChB,EAAE,CAAC,SAAS,CAAC,GAAG;IAChB,EAAE,CAAC,SAAS,CAAC,EAAE;IACf,EAAE,CAAC,SAAS,CAAC,GAAG;IAChB,EAAE,CAAC,SAAS,CAAC,GAAG;IAChB,EAAE,CAAC,SAAS,CAAC,GAAG;IAChB,EAAE,CAAC,SAAS,CAAC,EAAE;IACf,EAAE,CAAC,SAAS,CAAC,GAAG;CACjB,CAAC,CAAC;AAoGD,sEAA6B;AAlG/B,SAAS,qCAAqC,CAC5C,aAA4B;IAE5B,IAAI,aAAa,CAAC,UAAU,CAAC,GAAG,CAAC,YAAY,CAAC,EAAE,CAAC;QAC/C,OAAO;YACL,GAAG,wBAAwB;YAC3B,mBAAmB,EAAE,IAAI;SAC1B,CAAC;IACJ,CAAC;IAED,OAAO,wBAAwB,CAAC;AAClC,CAAC;AAKD,8EAA8E;AAC9E,MAAM,yBAAyB;AAC7B,uEAAuE;AACvE,EAAE,CAAC,GAAG,KAAK,SAAS,CAAC,CAAC,CAAC,EAAE,CAAC,GAAG,CAAC,yBAAyB,CAAC,CAAC,CAAC,IAAI,CAAC;AACjE,MAAM,iBAAiB,GAAG,yBAAyB;IACjD,CAAC,CAAC,CAAC,QAAgB,EAAU,EAAE,CAAC,QAAQ;IACxC,CAAC,CAAC,CAAC,QAAgB,EAAU,EAAE,CAAC,QAAQ,CAAC,WAAW,EAAE,CAAC;AAEzD,SAAS,oBAAoB,CAAC,QAAgB;IAC5C,IAAI,UAAU,GAAG,mBAAI,CAAC,SAAS,CAAC,QAAQ,CAAC,CAAC;IAC1C,IAAI,UAAU,CAAC,QAAQ,CAAC,mBAAI,CAAC,GAAG,CAAC,EAAE,CAAC;QAClC,UAAU,GAAG,UAAU,CAAC,KAAK,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC;IACvC,CAAC;IACD,OAAO,iBAAiB,CAAC,UAAU,CAAkB,CAAC;AACxD,CAAC;AAED,SAAS,kBAAkB,CAAC,CAAS,EAAE,eAAuB;IAC5D,OAAO,mBAAI,CAAC,UAAU,CAAC,CAAC,CAAC;QACvB,CAAC,CAAC,CAAC;QACH,CAAC,CAAC,mBAAI,CAAC,IAAI,CAAC,eAAe,IAAI,OAAO,CAAC,GAAG,EAAE,EAAE,CAAC,CAAC,CAAC;AACrD,CAAC;AAED,SAAS,gBAAgB,CAAC,CAAgB;IACxC,OAAO,mBAAI,CAAC,OAAO,CAAC,CAAC,CAAkB,CAAC;AAC1C,CAAC;AAED,MAAM,qBAAqB,GAAG;IAC5B,EAAE,CAAC,SAAS,CAAC,GAAG;IAChB,EAAE,CAAC,SAAS,CAAC,IAAI;IACjB,EAAE,CAAC,SAAS,CAAC,IAAI;CACT,CAAC;AACX,SAAS,YAAY,CAAC,QAA4B;IAChD,IAAI,CAAC,QAAQ,EAAE,CAAC;QACd,OAAO,IAAI,CAAC;IACd,CAAC;IAED,OAAO,CACL,qBAAqB,CAAC,IAAI,CAAC,aAAa,CAAC,EAAE,CACzC,QAAQ,CAAC,QAAQ,CAAC,aAAa,CAAC,CACjC,IAAI,mBAAI,CAAC,OAAO,CAAC,QAAQ,CAAC,CAC5B,CAAC;AACJ,CAAC;AAED,SAAS,iBAAiB,CACxB,cAAuB,EACvB,QAAgB;IAEhB,MAAM,GAAG,GAAG,cAAc,CAAC,aAAa,CAAC,QAAQ,CAAC,CAAC;IAEnD,oFAAoF;IACpF,MAAM,WAAW,GAAG,YAAY,CAAC,QAAQ,CAAC,CAAC;IAC3C,MAAM,WAAW,GAAG,YAAY,CAAC,GAAG,EAAE,QAAQ,CAAC,CAAC;IAChD,IAAI,WAAW,KAAK,WAAW,EAAE,CAAC;QAChC,OAAO,SAAS,CAAC;IACnB,CAAC;IAED,OAAO,GAAG,IAAI,EAAE,GAAG,EAAE,OAAO,EAAE,cAAc,EAAE,CAAC;AACjD,CAAC;AAED;;;;GAIG;AACH,SAAS,UAAU,CAAC,OAAe;IACjC,qCAAqC;IACrC,uEAAuE;IACvE,IAAI,EAAE,CAAC,GAAG,EAAE,UAAU,EAAE,CAAC;QACvB,OAAO,EAAE,CAAC,GAAG,CAAC,UAAU,CAAC,OAAO,CAAC,CAAC;IACpC,CAAC;IACD,OAAO,OAAO,CAAC;AACjB,CAAC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/typescript-estree/dist/create-program/useProvidedPrograms.js b/node_modules/@typescript-eslint/typescript-estree/dist/create-program/useProvidedPrograms.js index 7433bca46d..2220ad8e19 100644 --- a/node_modules/@typescript-eslint/typescript-estree/dist/create-program/useProvidedPrograms.js +++ b/node_modules/@typescript-eslint/typescript-estree/dist/create-program/useProvidedPrograms.js @@ -15,13 +15,23 @@ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? ( }) : function(o, v) { o["default"] = v; }); -var __importStar = (this && this.__importStar) || function (mod) { - if (mod && mod.__esModule) return mod; - var result = {}; - if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k); - __setModuleDefault(result, mod); - return result; -}; +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; }; diff --git a/node_modules/@typescript-eslint/typescript-estree/dist/create-program/useProvidedPrograms.js.map b/node_modules/@typescript-eslint/typescript-estree/dist/create-program/useProvidedPrograms.js.map index 73a48a872a..f2b1c1e824 100644 --- a/node_modules/@typescript-eslint/typescript-estree/dist/create-program/useProvidedPrograms.js.map +++ b/node_modules/@typescript-eslint/typescript-estree/dist/create-program/useProvidedPrograms.js.map @@ -1 +1 @@ -{"version":3,"file":"useProvidedPrograms.js","sourceRoot":"","sources":["../../src/create-program/useProvidedPrograms.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAoES,kEAA2B;AAAE,kDAAmB;AApEzD,kDAA0B;AAC1B,gDAAkC;AAClC,+CAAiC;AAKjC,+DAA4D;AAC5D,qCAA6C;AAE7C,MAAM,GAAG,GAAG,IAAA,eAAK,EAAC,wDAAwD,CAAC,CAAC;AAE5E,SAAS,mBAAmB,CAC1B,gBAAsC,EACtC,aAA4B;IAE5B,GAAG,CACD,yDAAyD,EACzD,aAAa,CAAC,QAAQ,CACvB,CAAC;IAEF,IAAI,aAAgD,CAAC;IACrD,KAAK,MAAM,eAAe,IAAI,gBAAgB,EAAE,CAAC;QAC/C,aAAa,GAAG,IAAA,0BAAiB,EAAC,eAAe,EAAE,aAAa,CAAC,QAAQ,CAAC,CAAC;QAC3E,gDAAgD;QAChD,IAAI,aAAa,EAAE,CAAC;YAClB,MAAM;QACR,CAAC;IACH,CAAC;IAED,IAAI,aAAa,EAAE,CAAC;QAClB,aAAa,CAAC,OAAO,CAAC,cAAc,EAAE,CAAC,CAAC,iDAAiD;QACzF,OAAO,aAAa,CAAC;IACvB,CAAC;IAED,MAAM,gBAAgB,GAAG,IAAI,CAAC,QAAQ,CACpC,aAAa,CAAC,eAAe,EAC7B,aAAa,CAAC,QAAQ,CACvB,CAAC;IAEF,MAAM,CAAC,UAAU,EAAE,WAAW,CAAC,GAC7B,aAAa,CAAC,QAAQ,CAAC,IAAI,GAAG,CAAC;QAC7B,CAAC,CAAC,CAAC,SAAS,EAAE,YAAY,CAAC;QAC3B,CAAC,CAAC,CAAC,UAAU,EAAE,qBAAqB,CAAC,CAAC;IAE1C,MAAM,UAAU,GAAG;QACjB,kBAAkB,UAAU,oDAAoD;QAChF,iDAAiD,WAAW,KAAK,gBAAgB,EAAE;KACpF,CAAC;IAEF,MAAM,IAAI,KAAK,CAAC,UAAU,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC;AACzC,CAAC;AAED;;;;;GAKG;AACH,SAAS,2BAA2B,CAClC,UAAkB,EAClB,gBAAyB;IAEzB,MAAM,MAAM,GAAG,IAAA,yCAAmB,EAAC,EAAE,EAAE,UAAU,EAAE,gBAAgB,CAAC,CAAC;IACrE,MAAM,IAAI,GAAG,EAAE,CAAC,kBAAkB,CAAC,MAAM,CAAC,OAAO,EAAE,IAAI,CAAC,CAAC;IACzD,OAAO,EAAE,CAAC,aAAa,CAAC,MAAM,CAAC,SAAS,EAAE,MAAM,CAAC,OAAO,EAAE,IAAI,CAAC,CAAC;AAClE,CAAC"} \ No newline at end of file +{"version":3,"file":"useProvidedPrograms.js","sourceRoot":"","sources":["../../src/create-program/useProvidedPrograms.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAoES,kEAA2B;AAAE,kDAAmB;AApEzD,kDAA0B;AAC1B,gDAAkC;AAClC,+CAAiC;AAKjC,+DAA4D;AAC5D,qCAA6C;AAE7C,MAAM,GAAG,GAAG,IAAA,eAAK,EAAC,wDAAwD,CAAC,CAAC;AAE5E,SAAS,mBAAmB,CAC1B,gBAAsC,EACtC,aAA4B;IAE5B,GAAG,CACD,yDAAyD,EACzD,aAAa,CAAC,QAAQ,CACvB,CAAC;IAEF,IAAI,aAAgD,CAAC;IACrD,KAAK,MAAM,eAAe,IAAI,gBAAgB,EAAE,CAAC;QAC/C,aAAa,GAAG,IAAA,0BAAiB,EAAC,eAAe,EAAE,aAAa,CAAC,QAAQ,CAAC,CAAC;QAC3E,gDAAgD;QAChD,IAAI,aAAa,EAAE,CAAC;YAClB,MAAM;QACR,CAAC;IACH,CAAC;IAED,IAAI,aAAa,EAAE,CAAC;QAClB,aAAa,CAAC,OAAO,CAAC,cAAc,EAAE,CAAC,CAAC,iDAAiD;QACzF,OAAO,aAAa,CAAC;IACvB,CAAC;IAED,MAAM,gBAAgB,GAAG,IAAI,CAAC,QAAQ,CACpC,aAAa,CAAC,eAAe,EAC7B,aAAa,CAAC,QAAQ,CACvB,CAAC;IAEF,MAAM,CAAC,UAAU,EAAE,WAAW,CAAC,GAC7B,aAAa,CAAC,QAAQ,CAAC,IAAI,GAAG,CAAC;QAC7B,CAAC,CAAC,CAAC,SAAS,EAAE,YAAY,CAAC;QAC3B,CAAC,CAAC,CAAC,UAAU,EAAE,qBAAqB,CAAC,CAAC;IAE1C,MAAM,UAAU,GAAG;QACjB,kBAAkB,UAAU,oDAAoD;QAChF,iDAAiD,WAAW,KAAK,gBAAgB,EAAE;KACpF,CAAC;IAEF,MAAM,IAAI,KAAK,CAAC,UAAU,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC;AACzC,CAAC;AAED;;;;;GAKG;AACH,SAAS,2BAA2B,CAClC,UAAkB,EAClB,gBAAyB;IAEzB,MAAM,MAAM,GAAG,IAAA,yCAAmB,EAAC,EAAE,EAAE,UAAU,EAAE,gBAAgB,CAAC,CAAC;IACrE,MAAM,IAAI,GAAG,EAAE,CAAC,kBAAkB,CAAC,MAAM,CAAC,OAAO,EAAE,IAAI,CAAC,CAAC;IACzD,OAAO,EAAE,CAAC,aAAa,CAAC,MAAM,CAAC,SAAS,EAAE,MAAM,CAAC,OAAO,EAAE,IAAI,CAAC,CAAC;AAClE,CAAC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/typescript-estree/dist/getModifiers.js b/node_modules/@typescript-eslint/typescript-estree/dist/getModifiers.js index e400148ecf..a5d358a680 100644 --- a/node_modules/@typescript-eslint/typescript-estree/dist/getModifiers.js +++ b/node_modules/@typescript-eslint/typescript-estree/dist/getModifiers.js @@ -15,13 +15,23 @@ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? ( }) : function(o, v) { o["default"] = v; }); -var __importStar = (this && this.__importStar) || function (mod) { - if (mod && mod.__esModule) return mod; - var result = {}; - if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k); - __setModuleDefault(result, mod); - return result; -}; +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); Object.defineProperty(exports, "__esModule", { value: true }); exports.getModifiers = getModifiers; exports.getDecorators = getDecorators; diff --git a/node_modules/@typescript-eslint/typescript-estree/dist/getModifiers.js.map b/node_modules/@typescript-eslint/typescript-estree/dist/getModifiers.js.map index b0f6a29f4b..43d2d4e852 100644 --- a/node_modules/@typescript-eslint/typescript-estree/dist/getModifiers.js.map +++ b/node_modules/@typescript-eslint/typescript-estree/dist/getModifiers.js.map @@ -1 +1 @@ -{"version":3,"file":"getModifiers.js","sourceRoot":"","sources":["../src/getModifiers.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AAMA,oCAyBC;AAED,sCAuBC;AAxDD,+CAAiC;AAEjC,mDAA6D;AAE7D,MAAM,WAAW,GAAG,0CAA0B,CAAC,KAAK,CAAC,CAAC;AAEtD,SAAgB,YAAY,CAC1B,IAAgC,EAChC,uBAAuB,GAAG,KAAK;IAE/B,IAAI,IAAI,IAAI,IAAI,EAAE,CAAC;QACjB,OAAO,SAAS,CAAC;IACnB,CAAC;IAED,IAAI,WAAW,EAAE,CAAC;QAChB,4FAA4F;QAC5F,IAAI,uBAAuB,IAAI,EAAE,CAAC,gBAAgB,CAAC,IAAI,CAAC,EAAE,CAAC;YACzD,4FAA4F;YAC5F,MAAM,SAAS,GAAG,EAAE,CAAC,YAAY,CAAC,IAAuB,CAAC,CAAC;YAC3D,OAAO,SAAS,CAAC,CAAC,CAAC,CAAC,GAAG,SAAS,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC;QAChD,CAAC;QAED,OAAO,SAAS,CAAC;IACnB,CAAC;IAED,OAAO;IACL,8DAA8D;IAC7D,IAAI,CAAC,SAAuC,EAAE,MAAM,CACnD,CAAC,CAAC,EAAoB,EAAE,CAAC,CAAC,EAAE,CAAC,WAAW,CAAC,CAAC,CAAC,CAC5C,CACF,CAAC;AACJ,CAAC;AAED,SAAgB,aAAa,CAC3B,IAAgC,EAChC,wBAAwB,GAAG,KAAK;IAEhC,IAAI,IAAI,IAAI,IAAI,EAAE,CAAC;QACjB,OAAO,SAAS,CAAC;IACnB,CAAC;IAED,IAAI,WAAW,EAAE,CAAC;QAChB,4FAA4F;QAC5F,IAAI,wBAAwB,IAAI,EAAE,CAAC,iBAAiB,CAAC,IAAI,CAAC,EAAE,CAAC;YAC3D,4FAA4F;YAC5F,MAAM,UAAU,GAAG,EAAE,CAAC,aAAa,CAAC,IAAwB,CAAC,CAAC;YAC9D,OAAO,UAAU,CAAC,CAAC,CAAC,CAAC,GAAG,UAAU,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC;QAClD,CAAC;QAED,OAAO,SAAS,CAAC;IACnB,CAAC;IAED,OAAO;IACL,8DAA8D;IAC7D,IAAI,CAAC,UAAoC,EAAE,MAAM,CAAC,EAAE,CAAC,WAAW,CAAC,CACnE,CAAC;AACJ,CAAC"} \ No newline at end of file +{"version":3,"file":"getModifiers.js","sourceRoot":"","sources":["../src/getModifiers.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAMA,oCAyBC;AAED,sCAuBC;AAxDD,+CAAiC;AAEjC,mDAA6D;AAE7D,MAAM,WAAW,GAAG,0CAA0B,CAAC,KAAK,CAAC,CAAC;AAEtD,SAAgB,YAAY,CAC1B,IAAgC,EAChC,uBAAuB,GAAG,KAAK;IAE/B,IAAI,IAAI,IAAI,IAAI,EAAE,CAAC;QACjB,OAAO,SAAS,CAAC;IACnB,CAAC;IAED,IAAI,WAAW,EAAE,CAAC;QAChB,4FAA4F;QAC5F,IAAI,uBAAuB,IAAI,EAAE,CAAC,gBAAgB,CAAC,IAAI,CAAC,EAAE,CAAC;YACzD,4FAA4F;YAC5F,MAAM,SAAS,GAAG,EAAE,CAAC,YAAY,CAAC,IAAuB,CAAC,CAAC;YAC3D,OAAO,SAAS,CAAC,CAAC,CAAC,CAAC,GAAG,SAAS,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC;QAChD,CAAC;QAED,OAAO,SAAS,CAAC;IACnB,CAAC;IAED,OAAO;IACL,8DAA8D;IAC7D,IAAI,CAAC,SAAuC,EAAE,MAAM,CACnD,CAAC,CAAC,EAAoB,EAAE,CAAC,CAAC,EAAE,CAAC,WAAW,CAAC,CAAC,CAAC,CAC5C,CACF,CAAC;AACJ,CAAC;AAED,SAAgB,aAAa,CAC3B,IAAgC,EAChC,wBAAwB,GAAG,KAAK;IAEhC,IAAI,IAAI,IAAI,IAAI,EAAE,CAAC;QACjB,OAAO,SAAS,CAAC;IACnB,CAAC;IAED,IAAI,WAAW,EAAE,CAAC;QAChB,4FAA4F;QAC5F,IAAI,wBAAwB,IAAI,EAAE,CAAC,iBAAiB,CAAC,IAAI,CAAC,EAAE,CAAC;YAC3D,4FAA4F;YAC5F,MAAM,UAAU,GAAG,EAAE,CAAC,aAAa,CAAC,IAAwB,CAAC,CAAC;YAC9D,OAAO,UAAU,CAAC,CAAC,CAAC,CAAC,GAAG,UAAU,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC;QAClD,CAAC;QAED,OAAO,SAAS,CAAC;IACnB,CAAC;IAED,OAAO;IACL,8DAA8D;IAC7D,IAAI,CAAC,UAAoC,EAAE,MAAM,CAAC,EAAE,CAAC,WAAW,CAAC,CACnE,CAAC;AACJ,CAAC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/typescript-estree/dist/node-utils.d.ts.map b/node_modules/@typescript-eslint/typescript-estree/dist/node-utils.d.ts.map index ac2d68786d..a37a7e8085 100644 --- a/node_modules/@typescript-eslint/typescript-estree/dist/node-utils.d.ts.map +++ b/node_modules/@typescript-eslint/typescript-estree/dist/node-utils.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"node-utils.d.ts","sourceRoot":"","sources":["../src/node-utils.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,YAAY,CAAC;AAEjC,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AAIpD,OAAO,EAAE,cAAc,EAAE,eAAe,EAAE,MAAM,aAAa,CAAC;AAK9D,QAAA,MAAM,UAAU,sBAAgB,CAAC;AAEjC,KAAK,mBAAmB,GACpB,EAAE,CAAC,UAAU,CAAC,uBAAuB,GACrC,EAAE,CAAC,UAAU,CAAC,WAAW,GACzB,EAAE,CAAC,UAAU,CAAC,qBAAqB,CAAC;AAOxC,UAAU,WACR,SAAQ,QAAQ,CAAC,qBAAqB,EACpC,QAAQ,CAAC,oBAAoB;IAC/B,CAAC,UAAU,CAAC,aAAa,CAAC,EAAE,QAAQ,CAAC;IACrC,CAAC,UAAU,CAAC,YAAY,CAAC,EAAE,OAAO,CAAC;IACnC,CAAC,UAAU,CAAC,UAAU,CAAC,EAAE,KAAK,CAAC;IAC/B,CAAC,UAAU,CAAC,eAAe,CAAC,EAAE,UAAU,CAAC;IACzC,CAAC,UAAU,CAAC,aAAa,CAAC,EAAE,QAAQ,CAAC;CACtC;AAED,KAAK,sBAAsB,GAAG,MAAM,QAAQ,CAAC,wBAAwB,CAAC;AAoBtE,KAAK,kBAAkB,GAAG,MAAM,QAAQ,CAAC,oBAAoB,CAAC;AA4B9D,KAAK,eAAe,GAAG,QAAQ,CAAC,mBAAmB,CAAC,MAAM,CAAC,CAAC;AAa5D;;GAEG;AACH,wBAAgB,iBAAiB,CAC/B,QAAQ,EAAE,EAAE,CAAC,mBAAmB,GAC/B,QAAQ,IAAI,EAAE,CAAC,KAAK,CAAC,mBAAmB,CAAC,CAE3C;AAED,wBAAgB,sBAAsB,CACpC,QAAQ,EAAE,EAAE,CAAC,mBAAmB,GAC/B,QAAQ,IAAI,EAAE,CAAC,KAAK,CAAC,kBAAkB,CAAC,CAE1C;AAED,KAAK,iBAAiB,CAAC,CAAC,SAAS,EAAE,CAAC,UAAU,IAAI,CAAC,SAAS,MAAM,WAAW,GACzE,WAAW,CAAC,CAAC,CAAC,GACd,MAAM,GAAG,SAAS,CAAC;AACvB;;GAEG;AACH,wBAAgB,mBAAmB,CAAC,CAAC,SAAS,EAAE,CAAC,UAAU,EACzD,IAAI,EAAE,CAAC,GACN,iBAAiB,CAAC,CAAC,CAAC,CAItB;AAED;;GAEG;AACH,wBAAgB,mBAAmB,CAAC,IAAI,EAAE,EAAE,CAAC,IAAI,GAAG,OAAO,CAE1D;AAED;;GAEG;AACH,wBAAgB,WAAW,CACzB,YAAY,EAAE,EAAE,CAAC,iBAAiB,EAClC,IAAI,EAAE,EAAE,CAAC,IAAI,GACZ,OAAO,CAGT;AAED;;;GAGG;AACH,wBAAgB,eAAe,CAAC,IAAI,EAAE,EAAE,CAAC,IAAI,GAAG,EAAE,CAAC,QAAQ,GAAG,IAAI,CAMjE;AAED;;GAEG;AACH,wBAAgB,OAAO,CACrB,KAAK,EAAE,EAAE,CAAC,IAAI,GACb,KAAK,IAAI,EAAE,CAAC,KAAK,CAAC,EAAE,CAAC,UAAU,CAAC,UAAU,CAAC,CAE7C;AAED;;GAEG;AACH,wBAAgB,SAAS,CAAC,IAAI,EAAE,EAAE,CAAC,IAAI,GAAG,OAAO,CAKhD;AAUD;;GAEG;AACH,wBAAgB,uBAAuB,CAAC,QAAQ,EAAE,EAAE,CAAC,mBAAmB,GACpE;IACE,QAAQ,EAAE,iBAAiB,CAAC,sBAAsB,CAAC,CAAC;IACpD,IAAI,EAAE,cAAc,CAAC,oBAAoB,CAAC;CAC3C,GACD;IACE,QAAQ,EAAE,iBAAiB,CAAC,kBAAkB,CAAC,CAAC;IAChD,IAAI,EAAE,cAAc,CAAC,gBAAgB,CAAC;CACvC,GACD;IACE,QAAQ,EAAE,iBAAiB,CAAC,mBAAmB,CAAC,CAAC;IACjD,IAAI,EAAE,cAAc,CAAC,iBAAiB,CAAC;CACxC,CAqBJ;AAED;;GAEG;AACH,wBAAgB,sBAAsB,CACpC,GAAG,EAAE,MAAM,EACX,GAAG,EAAE,EAAE,CAAC,UAAU,GACjB,QAAQ,CAAC,QAAQ,CAMnB;AAED;;;GAGG;AACH,wBAAgB,SAAS,CACvB,KAAK,EAAE,QAAQ,CAAC,KAAK,EACrB,GAAG,EAAE,EAAE,CAAC,UAAU,GACjB,QAAQ,CAAC,cAAc,CAGzB;AAED;;GAEG;AACH,wBAAgB,mBAAmB,CACjC,IAAI,EACA,EAAE,CAAC,KAAK,GACR,EAAE,CAAC,2BAA2B,GAC9B,EAAE,CAAC,WAAW,GACd,EAAE,CAAC,UAAU,GAChB,OAAO,CAgBT;AAED;;GAEG;AACH,wBAAgB,QAAQ,CACtB,IAAI,EAAE,IAAI,CAAC,EAAE,CAAC,IAAI,EAAE,QAAQ,GAAG,UAAU,CAAC,EAC1C,GAAG,EAAE,EAAE,CAAC,UAAU,GACjB,CAAC,MAAM,EAAE,MAAM,CAAC,CAElB;AAWD;;GAEG;AACH,wBAAgB,UAAU,CAAC,IAAI,EAAE,EAAE,CAAC,IAAI,GAAG,OAAO,CAIjD;AAED;;GAEG;AACH,wBAAgB,kBAAkB,CAChC,IAAI,EAAE,EAAE,CAAC,uBAAuB,GAC/B,eAAe,CAejB;AAED;;GAEG;AACH,wBAAgB,sBAAsB,CACpC,IAAI,EAAE,EAAE,CAAC,IAAI,GACZ,SAAS,GAAG,WAAW,GAAG,QAAQ,GAAG,SAAS,CAkBhD;AAED;;;GAGG;AACH,wBAAgB,aAAa,CAC3B,aAAa,EAAE,EAAE,CAAC,SAAS,EAC3B,MAAM,EAAE,EAAE,CAAC,IAAI,EACf,GAAG,EAAE,EAAE,CAAC,UAAU,GACjB,EAAE,CAAC,IAAI,GAAG,SAAS,CAmBrB;AAED;;;;;GAKG;AACH,wBAAgB,yBAAyB,CACvC,IAAI,EAAE,EAAE,CAAC,IAAI,EACb,SAAS,EAAE,CAAC,IAAI,EAAE,EAAE,CAAC,IAAI,KAAK,OAAO,GACpC,EAAE,CAAC,IAAI,GAAG,SAAS,CASrB;AAED;;GAEG;AACH,wBAAgB,cAAc,CAAC,IAAI,EAAE,EAAE,CAAC,IAAI,GAAG,OAAO,CAErD;AAED;;;;GAIG;AACH,wBAAgB,yBAAyB,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,CAc9D;AAED;;GAEG;AACH,wBAAgB,kBAAkB,CAChC,IAAI,EAAE,EAAE,CAAC,IAAI,GACZ,IAAI,IAAI,EAAE,CAAC,oBAAoB,CAEjC;AAED;;;GAGG;AACH,wBAAgB,UAAU,CAAC,IAAI,EAAE;IAC/B,aAAa,CAAC,EAAE,EAAE,CAAC,aAAa,CAAC;CAClC,GAAG,OAAO,CAEV;AAED;;GAEG;AACH,wBAAgB,iBAAiB,CAC/B,IAAI,EAAE,QAAQ,CAAC,IAAI,GAClB,IAAI,IAAI,QAAQ,CAAC,eAAe,CAElC;AAED;;GAEG;AACH,wBAAgB,+BAA+B,CAC7C,IAAI,EACA,EAAE,CAAC,cAAc,GACjB,EAAE,CAAC,uBAAuB,GAC1B,EAAE,CAAC,iBAAiB,GACpB,EAAE,CAAC,wBAAwB,EAC/B,KAAK,EAAE,QAAQ,CAAC,IAAI,GACnB,OAAO,CAMT;AAED;;GAEG;AACH,wBAAgB,YAAY,CAC1B,KAAK,EAAE,EAAE,CAAC,UAAU,GAAG,EAAE,CAAC,KAAK,CAAC,EAAE,CAAC,UAAU,CAAC,GAC7C,OAAO,CAAC,eAAe,EAAE,eAAe,CAAC,KAAK,GAAG,eAAe,CAAC,IAAI,CAAC,CA8FxE;AAED;;GAEG;AACH,wBAAgB,YAAY,CAC1B,KAAK,EAAE,EAAE,CAAC,KAAK,CAAC,EAAE,CAAC,eAAe,CAAC,EACnC,GAAG,EAAE,EAAE,CAAC,UAAU,GACjB,QAAQ,CAAC,KAAK,CA+BhB;AAED;;;;GAIG;AACH,wBAAgB,aAAa,CAAC,GAAG,EAAE,EAAE,CAAC,UAAU,GAAG,QAAQ,CAAC,KAAK,EAAE,CAoBlE;AAED,qBAAa,OAAQ,SAAQ,KAAK;aAGd,QAAQ,EAAE,MAAM;aAChB,QAAQ,EAAE;QACxB,GAAG,EAAE;YACH,MAAM,EAAE,MAAM,CAAC;YACf,IAAI,EAAE,MAAM,CAAC;YACb,MAAM,EAAE,MAAM,CAAC;SAChB,CAAC;QACF,KAAK,EAAE;YACL,MAAM,EAAE,MAAM,CAAC;YACf,IAAI,EAAE,MAAM,CAAC;YACb,MAAM,EAAE,MAAM,CAAC;SAChB,CAAC;KACH;gBAbD,OAAO,EAAE,MAAM,EACC,QAAQ,EAAE,MAAM,EAChB,QAAQ,EAAE;QACxB,GAAG,EAAE;YACH,MAAM,EAAE,MAAM,CAAC;YACf,IAAI,EAAE,MAAM,CAAC;YACb,MAAM,EAAE,MAAM,CAAC;SAChB,CAAC;QACF,KAAK,EAAE;YACL,MAAM,EAAE,MAAM,CAAC;YACf,IAAI,EAAE,MAAM,CAAC;YACb,MAAM,EAAE,MAAM,CAAC;SAChB,CAAC;KACH;IAWH,IAAI,KAAK,IAAI,MAAM,CAElB;IAGD,IAAI,UAAU,IAAI,MAAM,CAEvB;IAGD,IAAI,MAAM,IAAI,MAAM,CAEnB;CACF;AAED,wBAAgB,WAAW,CACzB,OAAO,EAAE,MAAM,EACf,GAAG,EAAE,EAAE,CAAC,UAAU,EAClB,UAAU,EAAE,MAAM,EAClB,QAAQ,GAAE,MAAmB,GAC5B,OAAO,CAOT;AAED,wBAAgB,wBAAwB,CACtC,IAAI,EAAE,EAAE,CAAC,IAAI,GACZ,IAAI,IAAI;IAAE,iBAAiB,EAAE,EAAE,CAAC,IAAI,EAAE,CAAA;CAAE,GAAG,EAAE,CAAC,IAAI,CAKpD;AAED,wBAAgB,aAAa,CAAC,CAAC,EAAE,EAAE,CAAC,IAAI,EAAE,GAAG,EAAE,EAAE,CAAC,UAAU,GAAG,OAAO,CAMrE;AAED;;GAEG;AACH,wBAAgB,YAAY,CAAC,CAAC,EAAE,CAAC,EAC/B,KAAK,EAAE,SAAS,CAAC,EAAE,GAAG,SAAS,EAC/B,QAAQ,EAAE,CAAC,OAAO,EAAE,CAAC,EAAE,KAAK,EAAE,MAAM,KAAK,CAAC,GAAG,SAAS,GACrD,CAAC,GAAG,SAAS,CAYf;AAED,wBAAgB,uBAAuB,CAAC,EAAE,EAAE,EAAE,CAAC,UAAU,GAAG,OAAO,CAOlE;AAED,wBAAgB,gBAAgB,CAC9B,IAAI,EAAE,EAAE,CAAC,IAAI,GAAG,SAAS,GACxB,IAAI,IAAI,EAAE,CAAC,UAAU,CAMvB;AAED,wBAAgB,iBAAiB,CAAC,IAAI,EAAE,EAAE,CAAC,IAAI,GAAG,OAAO,CAUxD;AAeD,wBAAgB,aAAa,CAAC,IAAI,EAAE,EAAE,CAAC,IAAI,GAAG,SAAS,GAAG,IAAI,IAAI,EAAE,CAAC,IAAI,CAExE;AAGD,wBAAgB,qBAAqB,CACnC,IAAI,EAAE,EAAE,CAAC,IAAI,GACZ,EAAE,CAAC,oBAAoB,GAAG,SAAS,CAErC;AA4BD,wBAAgB,kBAAkB,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,CAuDxD;AAED,wBAAgB,uBAAuB,CAAC,IAAI,EAAE,EAAE,CAAC,IAAI,GAAG,OAAO,CA6B9D;AAED,wBAAgB,qBAAqB,CACnC,IAAI,EAAE,EAAE,CAAC,iBAAiB,GACzB,EAAE,CAAC,QAAQ,EAAE,GAAG,SAAS,CAgB3B"} \ No newline at end of file +{"version":3,"file":"node-utils.d.ts","sourceRoot":"","sources":["../src/node-utils.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,YAAY,CAAC;AAEjC,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AAIpD,OAAO,EAAE,cAAc,EAAE,eAAe,EAAE,MAAM,aAAa,CAAC;AAK9D,QAAA,MAAM,UAAU,sBAAgB,CAAC;AAEjC,KAAK,mBAAmB,GACpB,EAAE,CAAC,UAAU,CAAC,uBAAuB,GACrC,EAAE,CAAC,UAAU,CAAC,WAAW,GACzB,EAAE,CAAC,UAAU,CAAC,qBAAqB,CAAC;AAOxC,UAAU,WACR,SAAQ,QAAQ,CAAC,qBAAqB,EACpC,QAAQ,CAAC,oBAAoB;IAC/B,CAAC,UAAU,CAAC,aAAa,CAAC,EAAE,QAAQ,CAAC;IACrC,CAAC,UAAU,CAAC,YAAY,CAAC,EAAE,OAAO,CAAC;IACnC,CAAC,UAAU,CAAC,UAAU,CAAC,EAAE,KAAK,CAAC;IAC/B,CAAC,UAAU,CAAC,eAAe,CAAC,EAAE,UAAU,CAAC;IACzC,CAAC,UAAU,CAAC,aAAa,CAAC,EAAE,QAAQ,CAAC;CACtC;AAED,KAAK,sBAAsB,GAAG,MAAM,QAAQ,CAAC,wBAAwB,CAAC;AAoBtE,KAAK,kBAAkB,GAAG,MAAM,QAAQ,CAAC,oBAAoB,CAAC;AA4B9D,KAAK,eAAe,GAAG,QAAQ,CAAC,mBAAmB,CAAC,MAAM,CAAC,CAAC;AAa5D;;GAEG;AACH,wBAAgB,iBAAiB,CAC/B,QAAQ,EAAE,EAAE,CAAC,mBAAmB,GAC/B,QAAQ,IAAI,EAAE,CAAC,KAAK,CAAC,mBAAmB,CAAC,CAE3C;AAED,wBAAgB,sBAAsB,CACpC,QAAQ,EAAE,EAAE,CAAC,mBAAmB,GAC/B,QAAQ,IAAI,EAAE,CAAC,KAAK,CAAC,kBAAkB,CAAC,CAE1C;AAED,KAAK,iBAAiB,CAAC,CAAC,SAAS,EAAE,CAAC,UAAU,IAAI,CAAC,SAAS,MAAM,WAAW,GACzE,WAAW,CAAC,CAAC,CAAC,GACd,MAAM,GAAG,SAAS,CAAC;AACvB;;GAEG;AACH,wBAAgB,mBAAmB,CAAC,CAAC,SAAS,EAAE,CAAC,UAAU,EACzD,IAAI,EAAE,CAAC,GACN,iBAAiB,CAAC,CAAC,CAAC,CAItB;AAED;;GAEG;AACH,wBAAgB,mBAAmB,CAAC,IAAI,EAAE,EAAE,CAAC,IAAI,GAAG,OAAO,CAE1D;AAED;;GAEG;AACH,wBAAgB,WAAW,CACzB,YAAY,EAAE,EAAE,CAAC,iBAAiB,EAClC,IAAI,EAAE,EAAE,CAAC,IAAI,GACZ,OAAO,CAGT;AAED;;;GAGG;AACH,wBAAgB,eAAe,CAAC,IAAI,EAAE,EAAE,CAAC,IAAI,GAAG,EAAE,CAAC,QAAQ,GAAG,IAAI,CAMjE;AAED;;GAEG;AACH,wBAAgB,OAAO,CACrB,KAAK,EAAE,EAAE,CAAC,IAAI,GACb,KAAK,IAAI,EAAE,CAAC,KAAK,CAAC,EAAE,CAAC,UAAU,CAAC,UAAU,CAAC,CAE7C;AAED;;GAEG;AACH,wBAAgB,SAAS,CAAC,IAAI,EAAE,EAAE,CAAC,IAAI,GAAG,OAAO,CAKhD;AAUD;;GAEG;AACH,wBAAgB,uBAAuB,CAAC,QAAQ,EAAE,EAAE,CAAC,mBAAmB,GACpE;IACE,QAAQ,EAAE,iBAAiB,CAAC,sBAAsB,CAAC,CAAC;IACpD,IAAI,EAAE,cAAc,CAAC,oBAAoB,CAAC;CAC3C,GACD;IACE,QAAQ,EAAE,iBAAiB,CAAC,kBAAkB,CAAC,CAAC;IAChD,IAAI,EAAE,cAAc,CAAC,gBAAgB,CAAC;CACvC,GACD;IACE,QAAQ,EAAE,iBAAiB,CAAC,mBAAmB,CAAC,CAAC;IACjD,IAAI,EAAE,cAAc,CAAC,iBAAiB,CAAC;CACxC,CAyBJ;AAED;;GAEG;AACH,wBAAgB,sBAAsB,CACpC,GAAG,EAAE,MAAM,EACX,GAAG,EAAE,EAAE,CAAC,UAAU,GACjB,QAAQ,CAAC,QAAQ,CAMnB;AAED;;;GAGG;AACH,wBAAgB,SAAS,CACvB,KAAK,EAAE,QAAQ,CAAC,KAAK,EACrB,GAAG,EAAE,EAAE,CAAC,UAAU,GACjB,QAAQ,CAAC,cAAc,CAGzB;AAED;;GAEG;AACH,wBAAgB,mBAAmB,CACjC,IAAI,EACA,EAAE,CAAC,KAAK,GACR,EAAE,CAAC,2BAA2B,GAC9B,EAAE,CAAC,WAAW,GACd,EAAE,CAAC,UAAU,GAChB,OAAO,CAgBT;AAED;;GAEG;AACH,wBAAgB,QAAQ,CACtB,IAAI,EAAE,IAAI,CAAC,EAAE,CAAC,IAAI,EAAE,QAAQ,GAAG,UAAU,CAAC,EAC1C,GAAG,EAAE,EAAE,CAAC,UAAU,GACjB,CAAC,MAAM,EAAE,MAAM,CAAC,CAElB;AAWD;;GAEG;AACH,wBAAgB,UAAU,CAAC,IAAI,EAAE,EAAE,CAAC,IAAI,GAAG,OAAO,CAIjD;AAED;;GAEG;AACH,wBAAgB,kBAAkB,CAChC,IAAI,EAAE,EAAE,CAAC,uBAAuB,GAC/B,eAAe,CAejB;AAED;;GAEG;AACH,wBAAgB,sBAAsB,CACpC,IAAI,EAAE,EAAE,CAAC,IAAI,GACZ,SAAS,GAAG,WAAW,GAAG,QAAQ,GAAG,SAAS,CAkBhD;AAED;;;GAGG;AACH,wBAAgB,aAAa,CAC3B,aAAa,EAAE,EAAE,CAAC,SAAS,EAC3B,MAAM,EAAE,EAAE,CAAC,IAAI,EACf,GAAG,EAAE,EAAE,CAAC,UAAU,GACjB,EAAE,CAAC,IAAI,GAAG,SAAS,CAmBrB;AAED;;;;;GAKG;AACH,wBAAgB,yBAAyB,CACvC,IAAI,EAAE,EAAE,CAAC,IAAI,EACb,SAAS,EAAE,CAAC,IAAI,EAAE,EAAE,CAAC,IAAI,KAAK,OAAO,GACpC,EAAE,CAAC,IAAI,GAAG,SAAS,CASrB;AAED;;GAEG;AACH,wBAAgB,cAAc,CAAC,IAAI,EAAE,EAAE,CAAC,IAAI,GAAG,OAAO,CAErD;AAED;;;;GAIG;AACH,wBAAgB,yBAAyB,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,CAc9D;AAED;;GAEG;AACH,wBAAgB,kBAAkB,CAChC,IAAI,EAAE,EAAE,CAAC,IAAI,GACZ,IAAI,IAAI,EAAE,CAAC,oBAAoB,CAEjC;AAED;;;GAGG;AACH,wBAAgB,UAAU,CAAC,IAAI,EAAE;IAC/B,aAAa,CAAC,EAAE,EAAE,CAAC,aAAa,CAAC;CAClC,GAAG,OAAO,CAEV;AAED;;GAEG;AACH,wBAAgB,iBAAiB,CAC/B,IAAI,EAAE,QAAQ,CAAC,IAAI,GAClB,IAAI,IAAI,QAAQ,CAAC,eAAe,CAElC;AAED;;GAEG;AACH,wBAAgB,+BAA+B,CAC7C,IAAI,EACA,EAAE,CAAC,cAAc,GACjB,EAAE,CAAC,uBAAuB,GAC1B,EAAE,CAAC,iBAAiB,GACpB,EAAE,CAAC,wBAAwB,EAC/B,KAAK,EAAE,QAAQ,CAAC,IAAI,GACnB,OAAO,CAMT;AAED;;GAEG;AACH,wBAAgB,YAAY,CAC1B,KAAK,EAAE,EAAE,CAAC,UAAU,GAAG,EAAE,CAAC,KAAK,CAAC,EAAE,CAAC,UAAU,CAAC,GAC7C,OAAO,CAAC,eAAe,EAAE,eAAe,CAAC,KAAK,GAAG,eAAe,CAAC,IAAI,CAAC,CA+FxE;AAED;;GAEG;AACH,wBAAgB,YAAY,CAC1B,KAAK,EAAE,EAAE,CAAC,KAAK,CAAC,EAAE,CAAC,eAAe,CAAC,EACnC,GAAG,EAAE,EAAE,CAAC,UAAU,GACjB,QAAQ,CAAC,KAAK,CA+BhB;AAED;;;;GAIG;AACH,wBAAgB,aAAa,CAAC,GAAG,EAAE,EAAE,CAAC,UAAU,GAAG,QAAQ,CAAC,KAAK,EAAE,CAoBlE;AAED,qBAAa,OAAQ,SAAQ,KAAK;aAGd,QAAQ,EAAE,MAAM;aAChB,QAAQ,EAAE;QACxB,GAAG,EAAE;YACH,MAAM,EAAE,MAAM,CAAC;YACf,IAAI,EAAE,MAAM,CAAC;YACb,MAAM,EAAE,MAAM,CAAC;SAChB,CAAC;QACF,KAAK,EAAE;YACL,MAAM,EAAE,MAAM,CAAC;YACf,IAAI,EAAE,MAAM,CAAC;YACb,MAAM,EAAE,MAAM,CAAC;SAChB,CAAC;KACH;gBAbD,OAAO,EAAE,MAAM,EACC,QAAQ,EAAE,MAAM,EAChB,QAAQ,EAAE;QACxB,GAAG,EAAE;YACH,MAAM,EAAE,MAAM,CAAC;YACf,IAAI,EAAE,MAAM,CAAC;YACb,MAAM,EAAE,MAAM,CAAC;SAChB,CAAC;QACF,KAAK,EAAE;YACL,MAAM,EAAE,MAAM,CAAC;YACf,IAAI,EAAE,MAAM,CAAC;YACb,MAAM,EAAE,MAAM,CAAC;SAChB,CAAC;KACH;IAWH,IAAI,KAAK,IAAI,MAAM,CAElB;IAGD,IAAI,UAAU,IAAI,MAAM,CAEvB;IAGD,IAAI,MAAM,IAAI,MAAM,CAEnB;CACF;AAED,wBAAgB,WAAW,CACzB,OAAO,EAAE,MAAM,EACf,GAAG,EAAE,EAAE,CAAC,UAAU,EAClB,UAAU,EAAE,MAAM,EAClB,QAAQ,GAAE,MAAmB,GAC5B,OAAO,CAOT;AAED,wBAAgB,wBAAwB,CACtC,IAAI,EAAE,EAAE,CAAC,IAAI,GACZ,IAAI,IAAI;IAAE,iBAAiB,EAAE,EAAE,CAAC,IAAI,EAAE,CAAA;CAAE,GAAG,EAAE,CAAC,IAAI,CAKpD;AAED,wBAAgB,aAAa,CAAC,CAAC,EAAE,EAAE,CAAC,IAAI,EAAE,GAAG,EAAE,EAAE,CAAC,UAAU,GAAG,OAAO,CAMrE;AAED;;GAEG;AACH,wBAAgB,YAAY,CAAC,CAAC,EAAE,CAAC,EAC/B,KAAK,EAAE,SAAS,CAAC,EAAE,GAAG,SAAS,EAC/B,QAAQ,EAAE,CAAC,OAAO,EAAE,CAAC,EAAE,KAAK,EAAE,MAAM,KAAK,CAAC,GAAG,SAAS,GACrD,CAAC,GAAG,SAAS,CAYf;AAED,wBAAgB,uBAAuB,CAAC,EAAE,EAAE,EAAE,CAAC,UAAU,GAAG,OAAO,CAOlE;AAED,wBAAgB,gBAAgB,CAC9B,IAAI,EAAE,EAAE,CAAC,IAAI,GAAG,SAAS,GACxB,IAAI,IAAI,EAAE,CAAC,UAAU,CAMvB;AAED,wBAAgB,iBAAiB,CAAC,IAAI,EAAE,EAAE,CAAC,IAAI,GAAG,OAAO,CAUxD;AAeD,wBAAgB,aAAa,CAAC,IAAI,EAAE,EAAE,CAAC,IAAI,GAAG,SAAS,GAAG,IAAI,IAAI,EAAE,CAAC,IAAI,CAExE;AAGD,wBAAgB,qBAAqB,CACnC,IAAI,EAAE,EAAE,CAAC,IAAI,GACZ,EAAE,CAAC,oBAAoB,GAAG,SAAS,CAErC;AA4BD,wBAAgB,kBAAkB,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,CAuDxD;AAED,wBAAgB,uBAAuB,CAAC,IAAI,EAAE,EAAE,CAAC,IAAI,GAAG,OAAO,CA6B9D;AAED,wBAAgB,qBAAqB,CACnC,IAAI,EAAE,EAAE,CAAC,iBAAiB,GACzB,EAAE,CAAC,QAAQ,EAAE,GAAG,SAAS,CAgB3B"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/typescript-estree/dist/node-utils.js b/node_modules/@typescript-eslint/typescript-estree/dist/node-utils.js index 2aab4fd8ba..11271d7d8b 100644 --- a/node_modules/@typescript-eslint/typescript-estree/dist/node-utils.js +++ b/node_modules/@typescript-eslint/typescript-estree/dist/node-utils.js @@ -15,13 +15,23 @@ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? ( }) : function(o, v) { o["default"] = v; }); -var __importStar = (this && this.__importStar) || function (mod) { - if (mod && mod.__esModule) return mod; - var result = {}; - if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k); - __setModuleDefault(result, mod); - return result; -}; +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); Object.defineProperty(exports, "__esModule", { value: true }); exports.TSError = void 0; exports.isLogicalOperator = isLogicalOperator; @@ -194,13 +204,13 @@ function getBinaryExpressionType(operator) { operator: getTextForTokenKind(operator.kind), }; } - else if (isLogicalOperator(operator)) { + if (isLogicalOperator(operator)) { return { type: ts_estree_1.AST_NODE_TYPES.LogicalExpression, operator: getTextForTokenKind(operator.kind), }; } - else if (isESTreeBinaryOperator(operator)) { + if (isESTreeBinaryOperator(operator)) { return { type: ts_estree_1.AST_NODE_TYPES.BinaryExpression, operator: getTextForTokenKind(operator.kind), @@ -412,7 +422,7 @@ function getTokenType(token) { if (keywordKind === SyntaxKind.NullKeyword) { return ts_estree_1.AST_TOKEN_TYPES.Null; } - else if (keywordKind >= SyntaxKind.FirstFutureReservedWord && + if (keywordKind >= SyntaxKind.FirstFutureReservedWord && keywordKind <= SyntaxKind.LastKeyword) { return ts_estree_1.AST_TOKEN_TYPES.Identifier; } diff --git a/node_modules/@typescript-eslint/typescript-estree/dist/node-utils.js.map b/node_modules/@typescript-eslint/typescript-estree/dist/node-utils.js.map index 1fc5bfe3a7..ab7051b431 100644 --- a/node_modules/@typescript-eslint/typescript-estree/dist/node-utils.js.map +++ b/node_modules/@typescript-eslint/typescript-estree/dist/node-utils.js.map @@ -1 +1 @@ -{"version":3,"file":"node-utils.js","sourceRoot":"","sources":["../src/node-utils.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAiGA,8CAIC;AAED,wDAIC;AAQD,kDAMC;AAKD,kDAEC;AAKD,kCAMC;AAMD,0CAMC;AAKD,0BAIC;AAKD,8BAKC;AAaD,0DAiCC;AAKD,wDASC;AAMD,8BAMC;AAKD,kDAsBC;AAKD,4BAKC;AAcD,gCAIC;AAKD,gDAiBC;AAKD,wDAoBC;AAMD,sCAuBC;AAQD,8DAYC;AAKD,wCAEC;AAOD,8DAcC;AAKD,gDAIC;AAMD,gCAIC;AAKD,8CAIC;AAKD,0EAaC;AAKD,oCAgGC;AAKD,oCAkCC;AAOD,sCAoBC;AA2CD,kCAYC;AAED,4DAOC;AAED,sCAMC;AAKD,oCAeC;AAED,0DAOC;AAED,4CAQC;AAED,8CAUC;AAeD,sCAEC;AAGD,sDAIC;AA4BD,gDAuDC;AAED,0DA6BC;AAED,sDAkBC;AAn5BD,+CAAiC;AAIjC,iDAA8C;AAC9C,yDAAqD;AACrD,2CAA8D;AAC9D,mDAA6D;AAE7D,MAAM,WAAW,GAAG,0CAA0B,CAAC,KAAK,CAAC,CAAC;AAEtD,MAAM,UAAU,GAAG,EAAE,CAAC,UAAU,CAAC;AAMjC,MAAM,iBAAiB,GAAqC,IAAI,GAAG,CAAC;IAClE,UAAU,CAAC,uBAAuB;IAClC,UAAU,CAAC,WAAW;IACtB,UAAU,CAAC,qBAAqB;CACjC,CAAC,CAAC;AAaH,MAAM,oBAAoB,GAAwC,IAAI,GAAG,CAAC;IACxE,EAAE,CAAC,UAAU,CAAC,6BAA6B;IAC3C,EAAE,CAAC,UAAU,CAAC,oBAAoB;IAClC,EAAE,CAAC,UAAU,CAAC,2BAA2B;IACzC,EAAE,CAAC,UAAU,CAAC,mBAAmB;IACjC,EAAE,CAAC,UAAU,CAAC,iBAAiB;IAC/B,EAAE,CAAC,UAAU,CAAC,cAAc;IAC5B,EAAE,CAAC,UAAU,CAAC,gBAAgB;IAC9B,EAAE,CAAC,UAAU,CAAC,WAAW;IACzB,EAAE,CAAC,UAAU,CAAC,iCAAiC;IAC/C,EAAE,CAAC,UAAU,CAAC,4CAA4C;IAC1D,EAAE,CAAC,UAAU,CAAC,2BAA2B;IACzC,EAAE,CAAC,UAAU,CAAC,gBAAgB;IAC9B,EAAE,CAAC,UAAU,CAAC,kBAAkB;IAChC,EAAE,CAAC,UAAU,CAAC,eAAe;IAC7B,EAAE,CAAC,UAAU,CAAC,2BAA2B;IACzC,EAAE,CAAC,UAAU,CAAC,gBAAgB;CAC/B,CAAC,CAAC;AAGH,MAAM,gBAAgB,GAAoC,IAAI,GAAG,CAAC;IAChE,UAAU,CAAC,uBAAuB;IAClC,UAAU,CAAC,cAAc;IACzB,UAAU,CAAC,qBAAqB;IAChC,UAAU,CAAC,aAAa;IACxB,UAAU,CAAC,WAAW;IACtB,UAAU,CAAC,QAAQ;IACnB,UAAU,CAAC,UAAU;IACrB,UAAU,CAAC,uBAAuB;IAClC,UAAU,CAAC,iBAAiB;IAC5B,UAAU,CAAC,4BAA4B;IACvC,UAAU,CAAC,sBAAsB;IACjC,UAAU,CAAC,sBAAsB;IACjC,UAAU,CAAC,sCAAsC;IACjD,UAAU,CAAC,2BAA2B;IACtC,UAAU,CAAC,gBAAgB;IAC3B,UAAU,CAAC,SAAS;IACpB,UAAU,CAAC,iBAAiB;IAC5B,UAAU,CAAC,mBAAmB;IAC9B,UAAU,CAAC,qBAAqB;IAChC,UAAU,CAAC,aAAa;IACxB,UAAU,CAAC,UAAU;IACrB,UAAU,CAAC,YAAY;IACvB,UAAU,CAAC,SAAS;IACpB,UAAU,CAAC,UAAU;CACtB,CAAC,CAAC;AAIH;;GAEG;AACH,SAAS,oBAAoB,CAC3B,QAAgC;IAEhC,OAAQ,oBAAmD,CAAC,GAAG,CAC7D,QAAQ,CAAC,IAAI,CACd,CAAC;AACJ,CAAC;AAED;;GAEG;AACH,SAAgB,iBAAiB,CAC/B,QAAgC;IAEhC,OAAQ,iBAAgD,CAAC,GAAG,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC;AAC9E,CAAC;AAED,SAAgB,sBAAsB,CACpC,QAAgC;IAEhC,OAAQ,gBAA+C,CAAC,GAAG,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC;AAC7E,CAAC;AAKD;;GAEG;AACH,SAAgB,mBAAmB,CACjC,IAAO;IAEP,OAAO,EAAE,CAAC,aAAa,CAAC,IAAI,CAEN,CAAC;AACzB,CAAC;AAED;;GAEG;AACH,SAAgB,mBAAmB,CAAC,IAAa;IAC/C,OAAO,IAAI,CAAC,IAAI,KAAK,UAAU,CAAC,qBAAqB,CAAC;AACxD,CAAC;AAED;;GAEG;AACH,SAAgB,WAAW,CACzB,YAAkC,EAClC,IAAa;IAEb,MAAM,SAAS,GAAG,IAAA,2BAAY,EAAC,IAAI,CAAC,CAAC;IACrC,OAAO,SAAS,EAAE,IAAI,CAAC,QAAQ,CAAC,EAAE,CAAC,QAAQ,CAAC,IAAI,KAAK,YAAY,CAAC,KAAK,IAAI,CAAC;AAC9E,CAAC;AAED;;;GAGG;AACH,SAAgB,eAAe,CAAC,IAAa;IAC3C,MAAM,SAAS,GAAG,IAAA,2BAAY,EAAC,IAAI,CAAC,CAAC;IACrC,IAAI,SAAS,IAAI,IAAI,EAAE,CAAC;QACtB,OAAO,IAAI,CAAC;IACd,CAAC;IACD,OAAO,SAAS,CAAC,SAAS,CAAC,MAAM,GAAG,CAAC,CAAC,IAAI,IAAI,CAAC;AACjD,CAAC;AAED;;GAEG;AACH,SAAgB,OAAO,CACrB,KAAc;IAEd,OAAO,KAAK,CAAC,IAAI,KAAK,UAAU,CAAC,UAAU,CAAC;AAC9C,CAAC;AAED;;GAEG;AACH,SAAgB,SAAS,CAAC,IAAa;IACrC,OAAO,CACL,IAAI,CAAC,IAAI,KAAK,UAAU,CAAC,uBAAuB;QAChD,IAAI,CAAC,IAAI,KAAK,UAAU,CAAC,sBAAsB,CAChD,CAAC;AACJ,CAAC;AAED;;GAEG;AACH,SAAS,cAAc,CAAC,IAAa;IACnC,+HAA+H;IAC/H,OAAO,IAAI,CAAC,IAAI,KAAK,UAAU,CAAC,YAAY,CAAC;AAC/C,CAAC;AAED;;GAEG;AACH,SAAgB,uBAAuB,CAAC,QAAgC;IAatE,IAAI,oBAAoB,CAAC,QAAQ,CAAC,EAAE,CAAC;QACnC,OAAO;YACL,IAAI,EAAE,0BAAc,CAAC,oBAAoB;YACzC,QAAQ,EAAE,mBAAmB,CAAC,QAAQ,CAAC,IAAI,CAAC;SAC7C,CAAC;IACJ,CAAC;SAAM,IAAI,iBAAiB,CAAC,QAAQ,CAAC,EAAE,CAAC;QACvC,OAAO;YACL,IAAI,EAAE,0BAAc,CAAC,iBAAiB;YACtC,QAAQ,EAAE,mBAAmB,CAAC,QAAQ,CAAC,IAAI,CAAC;SAC7C,CAAC;IACJ,CAAC;SAAM,IAAI,sBAAsB,CAAC,QAAQ,CAAC,EAAE,CAAC;QAC5C,OAAO;YACL,IAAI,EAAE,0BAAc,CAAC,gBAAgB;YACrC,QAAQ,EAAE,mBAAmB,CAAC,QAAQ,CAAC,IAAI,CAAC;SAC7C,CAAC;IACJ,CAAC;IAED,MAAM,IAAI,KAAK,CACb,8BAA8B,EAAE,CAAC,aAAa,CAAC,QAAQ,CAAC,IAAI,CAAC,EAAE,CAChE,CAAC;AACJ,CAAC;AAED;;GAEG;AACH,SAAgB,sBAAsB,CACpC,GAAW,EACX,GAAkB;IAElB,MAAM,GAAG,GAAG,GAAG,CAAC,6BAA6B,CAAC,GAAG,CAAC,CAAC;IACnD,OAAO;QACL,MAAM,EAAE,GAAG,CAAC,SAAS;QACrB,IAAI,EAAE,GAAG,CAAC,IAAI,GAAG,CAAC;KACnB,CAAC;AACJ,CAAC;AAED;;;GAGG;AACH,SAAgB,SAAS,CACvB,KAAqB,EACrB,GAAkB;IAElB,MAAM,CAAC,KAAK,EAAE,GAAG,CAAC,GAAG,KAAK,CAAC,GAAG,CAAC,GAAG,CAAC,EAAE,CAAC,sBAAsB,CAAC,GAAG,EAAE,GAAG,CAAC,CAAC,CAAC;IACxE,OAAO,EAAE,GAAG,EAAE,KAAK,EAAE,CAAC;AACxB,CAAC;AAED;;GAEG;AACH,SAAgB,mBAAmB,CACjC,IAIiB;IAEjB,IAAI,IAAI,CAAC,IAAI,KAAK,EAAE,CAAC,UAAU,CAAC,KAAK,EAAE,CAAC;QACtC,QAAQ,IAAI,CAAC,MAAM,CAAC,IAAI,EAAE,CAAC;YACzB,KAAK,EAAE,CAAC,UAAU,CAAC,WAAW,CAAC;YAC/B,KAAK,EAAE,CAAC,UAAU,CAAC,WAAW,CAAC;YAC/B,KAAK,EAAE,CAAC,UAAU,CAAC,WAAW,CAAC;YAC/B,KAAK,EAAE,CAAC,UAAU,CAAC,aAAa,CAAC;YACjC,KAAK,EAAE,CAAC,UAAU,CAAC,kBAAkB,CAAC;YACtC,KAAK,EAAE,CAAC,UAAU,CAAC,mBAAmB,CAAC;YACvC,KAAK,EAAE,CAAC,UAAU,CAAC,iBAAiB;gBAClC,OAAO,IAAI,CAAC;YACd;gBACE,OAAO,KAAK,CAAC;QACjB,CAAC;IACH,CAAC;IACD,OAAO,IAAI,CAAC;AACd,CAAC;AAED;;GAEG;AACH,SAAgB,QAAQ,CACtB,IAA0C,EAC1C,GAAkB;IAElB,OAAO,CAAC,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,EAAE,IAAI,CAAC,MAAM,EAAE,CAAC,CAAC;AAC7C,CAAC;AAED;;GAEG;AACH,SAAS,OAAO,CAAC,IAAa;IAC5B,OAAO,CACL,IAAI,CAAC,IAAI,IAAI,UAAU,CAAC,UAAU,IAAI,IAAI,CAAC,IAAI,IAAI,UAAU,CAAC,SAAS,CACxE,CAAC;AACJ,CAAC;AAED;;GAEG;AACH,SAAgB,UAAU,CAAC,IAAa;IACtC,OAAO,CACL,IAAI,CAAC,IAAI,IAAI,UAAU,CAAC,UAAU,IAAI,IAAI,CAAC,IAAI,IAAI,UAAU,CAAC,YAAY,CAC3E,CAAC;AACJ,CAAC;AAED;;GAEG;AACH,SAAgB,kBAAkB,CAChC,IAAgC;IAEhC,IAAI,IAAI,CAAC,KAAK,GAAG,EAAE,CAAC,SAAS,CAAC,GAAG,EAAE,CAAC;QAClC,OAAO,KAAK,CAAC;IACf,CAAC;IACD,wEAAwE;IACxE,IAAI,CAAC,IAAI,CAAC,KAAK,GAAG,EAAE,CAAC,SAAS,CAAC,UAAU,CAAC,KAAK,EAAE,CAAC,SAAS,CAAC,UAAU,EAAE,CAAC;QACvE,OAAO,aAAa,CAAC;IACvB,CAAC;IACD,IAAI,IAAI,CAAC,KAAK,GAAG,EAAE,CAAC,SAAS,CAAC,KAAK,EAAE,CAAC;QACpC,OAAO,OAAO,CAAC;IACjB,CAAC;IACD,IAAI,IAAI,CAAC,KAAK,GAAG,EAAE,CAAC,SAAS,CAAC,KAAK,EAAE,CAAC;QACpC,OAAO,OAAO,CAAC;IACjB,CAAC;IACD,OAAO,KAAK,CAAC;AACf,CAAC;AAED;;GAEG;AACH,SAAgB,sBAAsB,CACpC,IAAa;IAEb,MAAM,SAAS,GAAG,IAAA,2BAAY,EAAC,IAAI,CAAC,CAAC;IACrC,IAAI,SAAS,IAAI,IAAI,EAAE,CAAC;QACtB,OAAO,SAAS,CAAC;IACnB,CAAC;IACD,KAAK,MAAM,QAAQ,IAAI,SAAS,EAAE,CAAC;QACjC,QAAQ,QAAQ,CAAC,IAAI,EAAE,CAAC;YACtB,KAAK,UAAU,CAAC,aAAa;gBAC3B,OAAO,QAAQ,CAAC;YAClB,KAAK,UAAU,CAAC,gBAAgB;gBAC9B,OAAO,WAAW,CAAC;YACrB,KAAK,UAAU,CAAC,cAAc;gBAC5B,OAAO,SAAS,CAAC;YACnB;gBACE,MAAM;QACV,CAAC;IACH,CAAC;IACD,OAAO,SAAS,CAAC;AACnB,CAAC;AAED;;;GAGG;AACH,SAAgB,aAAa,CAC3B,aAA2B,EAC3B,MAAe,EACf,GAAkB;IAElB,OAAO,IAAI,CAAC,MAAM,CAAC,CAAC;IAEpB,SAAS,IAAI,CAAC,CAAU;QACtB,IAAI,EAAE,CAAC,OAAO,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,GAAG,KAAK,aAAa,CAAC,GAAG,EAAE,CAAC;YACjD,qEAAqE;YACrE,OAAO,CAAC,CAAC;QACX,CAAC;QACD,OAAO,YAAY,CAAC,CAAC,CAAC,WAAW,CAAC,GAAG,CAAC,EAAE,CAAC,KAAc,EAAE,EAAE;YACzD,MAAM,qBAAqB;YACzB,oDAAoD;YACpD,CAAC,KAAK,CAAC,GAAG,IAAI,aAAa,CAAC,GAAG,IAAI,KAAK,CAAC,GAAG,GAAG,aAAa,CAAC,GAAG,CAAC;gBACjE,wDAAwD;gBACxD,KAAK,CAAC,GAAG,KAAK,aAAa,CAAC,GAAG,CAAC;YAClC,OAAO,qBAAqB,IAAI,aAAa,CAAC,KAAK,EAAE,GAAG,CAAC;gBACvD,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC;gBACb,CAAC,CAAC,SAAS,CAAC;QAChB,CAAC,CAAC,CAAC;IACL,CAAC;AACH,CAAC;AAED;;;;;GAKG;AACH,SAAgB,yBAAyB,CACvC,IAAa,EACb,SAAqC;IAErC,IAAI,OAAO,GAAwB,IAAI,CAAC;IACxC,OAAO,OAAO,EAAE,CAAC;QACf,IAAI,SAAS,CAAC,OAAO,CAAC,EAAE,CAAC;YACvB,OAAO,OAAO,CAAC;QACjB,CAAC;QACD,OAAO,GAAG,OAAO,CAAC,MAA6B,CAAC;IAClD,CAAC;IACD,OAAO,SAAS,CAAC;AACnB,CAAC;AAED;;GAEG;AACH,SAAgB,cAAc,CAAC,IAAa;IAC1C,OAAO,CAAC,CAAC,yBAAyB,CAAC,IAAI,EAAE,UAAU,CAAC,CAAC;AACvD,CAAC;AAED;;;;GAIG;AACH,SAAgB,yBAAyB,CAAC,IAAY;IACpD,OAAO,IAAI,CAAC,UAAU,CAAC,wCAAwC,EAAE,MAAM,CAAC,EAAE;QACxE,MAAM,IAAI,GAAG,MAAM,CAAC,KAAK,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC;QACjC,IAAI,IAAI,CAAC,CAAC,CAAC,KAAK,GAAG,EAAE,CAAC;YACpB,MAAM,SAAS,GACb,IAAI,CAAC,CAAC,CAAC,KAAK,GAAG;gBACb,CAAC,CAAC,QAAQ,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC;gBAC7B,CAAC,CAAC,QAAQ,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC;YAClC,OAAO,SAAS,GAAG,QAAQ,CAAC,iCAAiC;gBAC3D,CAAC,CAAC,MAAM;gBACR,CAAC,CAAC,MAAM,CAAC,aAAa,CAAC,SAAS,CAAC,CAAC;QACtC,CAAC;QACD,OAAO,8BAAa,CAAC,IAAI,CAAC,IAAI,MAAM,CAAC;IACvC,CAAC,CAAC,CAAC;AACL,CAAC;AAED;;GAEG;AACH,SAAgB,kBAAkB,CAChC,IAAa;IAEb,OAAO,IAAI,CAAC,IAAI,KAAK,UAAU,CAAC,oBAAoB,CAAC;AACvD,CAAC;AAED;;;GAGG;AACH,SAAgB,UAAU,CAAC,IAE1B;IACC,OAAO,CAAC,CAAC,IAAI,CAAC,aAAa,CAAC;AAC9B,CAAC;AAED;;GAEG;AACH,SAAgB,iBAAiB,CAC/B,IAAmB;IAEnB,OAAO,IAAI,CAAC,IAAI,KAAK,0BAAc,CAAC,eAAe,CAAC;AACtD,CAAC;AAED;;GAEG;AACH,SAAgB,+BAA+B,CAC7C,IAI+B,EAC/B,KAAoB;IAEpB,OAAO,CACL,iBAAiB,CAAC,KAAK,CAAC;QACxB,2EAA2E;QAC3E,IAAI,CAAC,UAAU,CAAC,IAAI,KAAK,EAAE,CAAC,UAAU,CAAC,uBAAuB,CAC/D,CAAC;AACJ,CAAC;AAED;;GAEG;AACH,SAAgB,YAAY,CAC1B,KAA8C;IAE9C,IAAI,WAAsC,CAAC;IAC3C,IAAI,WAAW,IAAI,KAAK,CAAC,IAAI,KAAK,UAAU,CAAC,UAAU,EAAE,CAAC;QACxD,WAAW,GAAG,EAAE,CAAC,uBAAuB,CAAC,KAAsB,CAAC,CAAC;IACnE,CAAC;SAAM,IAAI,qBAAqB,IAAI,KAAK,EAAE,CAAC;QAC1C,uEAAuE;QACvE,WAAW,GAAG,KAAK,CAAC,mBAAmB,CAAC;IAC1C,CAAC;IACD,IAAI,WAAW,EAAE,CAAC;QAChB,IAAI,WAAW,KAAK,UAAU,CAAC,WAAW,EAAE,CAAC;YAC3C,OAAO,2BAAe,CAAC,IAAI,CAAC;QAC9B,CAAC;aAAM,IACL,WAAW,IAAI,UAAU,CAAC,uBAAuB;YACjD,WAAW,IAAI,UAAU,CAAC,WAAW,EACrC,CAAC;YACD,OAAO,2BAAe,CAAC,UAAU,CAAC;QACpC,CAAC;QACD,OAAO,2BAAe,CAAC,OAAO,CAAC;IACjC,CAAC;IAED,IACE,KAAK,CAAC,IAAI,IAAI,UAAU,CAAC,YAAY;QACrC,KAAK,CAAC,IAAI,IAAI,UAAU,CAAC,sBAAsB,EAC/C,CAAC;QACD,IACE,KAAK,CAAC,IAAI,KAAK,UAAU,CAAC,YAAY;YACtC,KAAK,CAAC,IAAI,KAAK,UAAU,CAAC,WAAW,EACrC,CAAC;YACD,OAAO,2BAAe,CAAC,OAAO,CAAC;QACjC,CAAC;QAED,OAAO,2BAAe,CAAC,OAAO,CAAC;IACjC,CAAC;IAED,IACE,KAAK,CAAC,IAAI,IAAI,UAAU,CAAC,gBAAgB;QACzC,KAAK,CAAC,IAAI,IAAI,UAAU,CAAC,eAAe,EACxC,CAAC;QACD,OAAO,2BAAe,CAAC,UAAU,CAAC;IACpC,CAAC;IAED,IACE,KAAK,CAAC,IAAI,IAAI,UAAU,CAAC,6BAA6B;QACtD,KAAK,CAAC,IAAI,IAAI,UAAU,CAAC,YAAY,EACrC,CAAC;QACD,OAAO,2BAAe,CAAC,QAAQ,CAAC;IAClC,CAAC;IAED,QAAQ,KAAK,CAAC,IAAI,EAAE,CAAC;QACnB,KAAK,UAAU,CAAC,cAAc;YAC5B,OAAO,2BAAe,CAAC,OAAO,CAAC;QAEjC,KAAK,UAAU,CAAC,OAAO;YACrB,OAAO,2BAAe,CAAC,OAAO,CAAC;QAEjC,KAAK,UAAU,CAAC,aAAa;YAC3B,mGAAmG;YACnG,2CAA2C;YAC3C,IACE,KAAK,CAAC,MAAM,CAAC,IAAI,KAAK,UAAU,CAAC,YAAY;gBAC7C,KAAK,CAAC,MAAM,CAAC,IAAI,KAAK,UAAU,CAAC,UAAU,EAC3C,CAAC;gBACD,OAAO,2BAAe,CAAC,OAAO,CAAC;YACjC,CAAC;YAED,OAAO,2BAAe,CAAC,MAAM,CAAC;QAEhC,KAAK,UAAU,CAAC,wBAAwB;YACtC,OAAO,2BAAe,CAAC,iBAAiB,CAAC;QAE3C,KAAK,UAAU,CAAC,UAAU,CAAC;QAC3B,KAAK,UAAU,CAAC,kBAAkB,CAAC;QACnC,KAAK,UAAU,CAAC,UAAU,CAAC;QAC3B,KAAK,UAAU,CAAC,UAAU,CAAC;QAE3B,0BAA0B;QAC1B,QAAQ;IACV,CAAC;IAED,8DAA8D;IAC9D,IAAI,KAAK,CAAC,IAAI,KAAK,UAAU,CAAC,UAAU,EAAE,CAAC;QACzC,IAAI,UAAU,CAAC,KAAK,CAAC,MAAM,CAAC,EAAE,CAAC;YAC7B,OAAO,2BAAe,CAAC,aAAa,CAAC;QACvC,CAAC;QAED,IACE,KAAK,CAAC,MAAM,CAAC,IAAI,KAAK,UAAU,CAAC,wBAAwB;YACzD,cAAc,CAAC,KAAK,CAAC,EACrB,CAAC;YACD,OAAO,2BAAe,CAAC,aAAa,CAAC;QACvC,CAAC;IACH,CAAC;IAED,OAAO,2BAAe,CAAC,UAAU,CAAC;AACpC,CAAC;AAED;;GAEG;AACH,SAAgB,YAAY,CAC1B,KAAmC,EACnC,GAAkB;IAElB,MAAM,KAAK,GACT,KAAK,CAAC,IAAI,KAAK,UAAU,CAAC,OAAO;QAC/B,CAAC,CAAC,KAAK,CAAC,YAAY,EAAE;QACtB,CAAC,CAAC,KAAK,CAAC,QAAQ,CAAC,GAAG,CAAC,CAAC;IAC1B,MAAM,GAAG,GAAG,KAAK,CAAC,MAAM,EAAE,CAAC;IAC3B,MAAM,KAAK,GAAG,GAAG,CAAC,IAAI,CAAC,KAAK,CAAC,KAAK,EAAE,GAAG,CAAC,CAAC;IACzC,MAAM,SAAS,GAAG,YAAY,CAAC,KAAK,CAAC,CAAC;IACtC,MAAM,KAAK,GAAmB,CAAC,KAAK,EAAE,GAAG,CAAC,CAAC;IAC3C,MAAM,GAAG,GAAG,SAAS,CAAC,KAAK,EAAE,GAAG,CAAC,CAAC;IAElC,IAAI,SAAS,KAAK,2BAAe,CAAC,iBAAiB,EAAE,CAAC;QACpD,OAAO;YACL,IAAI,EAAE,SAAS;YACf,GAAG;YACH,KAAK;YACL,KAAK,EAAE;gBACL,KAAK,EAAE,KAAK,CAAC,KAAK,CAAC,KAAK,CAAC,WAAW,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC;gBAC9C,OAAO,EAAE,KAAK,CAAC,KAAK,CAAC,CAAC,EAAE,KAAK,CAAC,WAAW,CAAC,GAAG,CAAC,CAAC;aAChD;YACD,KAAK;SACN,CAAC;IACJ,CAAC;IACD,yEAAyE;IACzE,iBAAiB;IACjB,OAAO;QACL,IAAI,EAAE,SAAS;QACf,GAAG;QACH,KAAK;QACL,KAAK;KACN,CAAC;AACJ,CAAC;AAED;;;;GAIG;AACH,SAAgB,aAAa,CAAC,GAAkB;IAC9C,MAAM,MAAM,GAAqB,EAAE,CAAC;IACpC;;OAEG;IACH,SAAS,IAAI,CAAC,IAAa;QACzB,wEAAwE;QACxE,iFAAiF;QACjF,IAAI,SAAS,CAAC,IAAI,CAAC,IAAI,cAAc,CAAC,IAAI,CAAC,EAAE,CAAC;YAC5C,OAAO;QACT,CAAC;QAED,IAAI,OAAO,CAAC,IAAI,CAAC,IAAI,IAAI,CAAC,IAAI,KAAK,UAAU,CAAC,cAAc,EAAE,CAAC;YAC7D,MAAM,CAAC,IAAI,CAAC,YAAY,CAAC,IAAI,EAAE,GAAG,CAAC,CAAC,CAAC;QACvC,CAAC;aAAM,CAAC;YACN,IAAI,CAAC,WAAW,CAAC,GAAG,CAAC,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC;QACtC,CAAC;IACH,CAAC;IACD,IAAI,CAAC,GAAG,CAAC,CAAC;IACV,OAAO,MAAM,CAAC;AAChB,CAAC;AAED,MAAa,OAAQ,SAAQ,KAAK;IAGd;IACA;IAHlB,YACE,OAAe,EACC,QAAgB,EAChB,QAWf;QAED,KAAK,CAAC,OAAO,CAAC,CAAC;QAdC,aAAQ,GAAR,QAAQ,CAAQ;QAChB,aAAQ,GAAR,QAAQ,CAWvB;QAGD,MAAM,CAAC,cAAc,CAAC,IAAI,EAAE,MAAM,EAAE;YAClC,YAAY,EAAE,IAAI;YAClB,UAAU,EAAE,KAAK;YACjB,KAAK,EAAE,GAAG,CAAC,MAAM,CAAC,IAAI;SACvB,CAAC,CAAC;IACL,CAAC;IAED,oHAAoH;IACpH,IAAI,KAAK;QACP,OAAO,IAAI,CAAC,QAAQ,CAAC,KAAK,CAAC,MAAM,CAAC;IACpC,CAAC;IAED,2GAA2G;IAC3G,IAAI,UAAU;QACZ,OAAO,IAAI,CAAC,QAAQ,CAAC,KAAK,CAAC,IAAI,CAAC;IAClC,CAAC;IAED,2GAA2G;IAC3G,IAAI,MAAM;QACR,OAAO,IAAI,CAAC,QAAQ,CAAC,KAAK,CAAC,MAAM,CAAC;IACpC,CAAC;CACF;AAvCD,0BAuCC;AAED,SAAgB,WAAW,CACzB,OAAe,EACf,GAAkB,EAClB,UAAkB,EAClB,WAAmB,UAAU;IAE7B,MAAM,CAAC,KAAK,EAAE,GAAG,CAAC,GAAG,CAAC,UAAU,EAAE,QAAQ,CAAC,CAAC,GAAG,CAAC,MAAM,CAAC,EAAE;QACvD,MAAM,EAAE,SAAS,EAAE,MAAM,EAAE,IAAI,EAAE,GAC/B,GAAG,CAAC,6BAA6B,CAAC,MAAM,CAAC,CAAC;QAC5C,OAAO,EAAE,MAAM,EAAE,IAAI,EAAE,IAAI,GAAG,CAAC,EAAE,MAAM,EAAE,CAAC;IAC5C,CAAC,CAAC,CAAC;IACH,OAAO,IAAI,OAAO,CAAC,OAAO,EAAE,GAAG,CAAC,QAAQ,EAAE,EAAE,GAAG,EAAE,KAAK,EAAE,CAAC,CAAC;AAC5D,CAAC;AAED,SAAgB,wBAAwB,CACtC,IAAa;IAEb,OAAO,CAAC,CAAC,CACP,mBAAmB,IAAI,IAAI;QAC1B,IAAI,CAAC,iBAA2C,EAAE,MAAM,CAC1D,CAAC;AACJ,CAAC;AAED,SAAgB,aAAa,CAAC,CAAU,EAAE,GAAkB;IAC1D,6EAA6E;IAC7E,sDAAsD;IACtD,OAAO,CAAC,CAAC,IAAI,KAAK,UAAU,CAAC,cAAc;QACzC,CAAC,CAAC,CAAC,CAAE,CAAuB,CAAC,KAAK;QAClC,CAAC,CAAC,CAAC,CAAC,QAAQ,CAAC,GAAG,CAAC,KAAK,CAAC,CAAC;AAC5B,CAAC;AAED;;GAEG;AACH,SAAgB,YAAY,CAC1B,KAA+B,EAC/B,QAAsD;IAEtD,IAAI,KAAK,KAAK,SAAS,EAAE,CAAC;QACxB,OAAO,SAAS,CAAC;IACnB,CAAC;IAED,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,KAAK,CAAC,MAAM,EAAE,CAAC,EAAE,EAAE,CAAC;QACtC,MAAM,MAAM,GAAG,QAAQ,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC;QACrC,IAAI,MAAM,KAAK,SAAS,EAAE,CAAC;YACzB,OAAO,MAAM,CAAC;QAChB,CAAC;IACH,CAAC;IACD,OAAO,SAAS,CAAC;AACnB,CAAC;AAED,SAAgB,uBAAuB,CAAC,EAAiB;IACvD,OAAO,CACL,CAAC,WAAW;QACV,CAAC,CAAC,EAAE,CAAC,uBAAuB,CAAC,EAAE,CAAC;QAChC,CAAC,CAAC,uEAAuE;YACvE,EAAE,CAAC,mBAAmB,CAAC,KAAK,UAAU,CAAC,WAAW,CACvD,CAAC;AACJ,CAAC;AAED,SAAgB,gBAAgB,CAC9B,IAAyB;IAEzB,OAAO,CACL,CAAC,CAAC,IAAI;QACN,IAAI,CAAC,IAAI,KAAK,UAAU,CAAC,UAAU;QACnC,uBAAuB,CAAC,IAAqB,CAAC,CAC/C,CAAC;AACJ,CAAC;AAED,SAAgB,iBAAiB,CAAC,IAAa;IAC7C,IAAI,CAAC,gBAAgB,CAAC,IAAI,CAAC,EAAE,CAAC;QAC5B,OAAO,KAAK,CAAC;IACf,CAAC;IAED,OAAO,EAAE,CAAC,eAAe,CAAC,IAAI,CAAC,MAAM,CAAC,IAAI,IAAI,CAAC,MAAM,CAAC,IAAI,KAAK,IAAI,EAAE,CAAC;QACpE,IAAI,GAAG,IAAI,CAAC,MAAM,CAAC;IACrB,CAAC;IAED,OAAO,IAAI,CAAC,MAAM,CAAC,IAAI,KAAK,UAAU,CAAC,SAAS,CAAC;AACnD,CAAC;AAED,qBAAqB;AACrB,SAAS,aAAa,CAAC,IAAyB;IAC9C,IAAI,IAAI,KAAK,SAAS,EAAE,CAAC;QACvB,OAAO,IAAI,CAAC;IACd,CAAC;IACD,OAAO,CACL,IAAI,CAAC,GAAG,KAAK,IAAI,CAAC,GAAG;QACrB,IAAI,CAAC,GAAG,IAAI,CAAC;QACb,IAAI,CAAC,IAAI,KAAK,UAAU,CAAC,cAAc,CACxC,CAAC;AACJ,CAAC;AAED,qBAAqB;AACrB,SAAgB,aAAa,CAAC,IAAyB;IACrD,OAAO,CAAC,aAAa,CAAC,IAAI,CAAC,CAAC;AAC9B,CAAC;AAED,6BAA6B;AAC7B,SAAgB,qBAAqB,CACnC,IAAa;IAEb,OAAO,EAAE,CAAC,YAAY,CAAC,IAAI,CAAC,MAAM,EAAE,EAAE,CAAC,cAAc,CAAC,CAAC;AACzD,CAAC;AAED,2BAA2B;AAC3B,SAAS,mBAAmB,CAAC,IAAa;IACxC,OAAO,WAAW,CAAC,UAAU,CAAC,eAAe,EAAE,IAAI,CAAC,CAAC;AACvD,CAAC;AAED,wBAAwB;AACxB,SAAS,gBAAgB,CACvB,SAAkC;IAElC,IAAI,SAAS,CAAC,UAAU,CAAC,MAAM,IAAI,CAAC,EAAE,CAAC,gBAAgB,CAAC,SAAS,CAAC,EAAE,CAAC;QACnE,MAAM,aAAa,GAAG,SAAS,CAAC,UAAU,CAAC,CAAC,CAAC,CAAC;QAC9C,IAAI,sBAAsB,CAAC,aAAa,CAAC,EAAE,CAAC;YAC1C,OAAO,aAAa,CAAC;QACvB,CAAC;IACH,CAAC;IAED,OAAO,IAAI,CAAC;AACd,CAAC;AAED,8BAA8B;AAC9B,SAAS,sBAAsB,CAAC,SAAkC;IAChE,OAAO,gBAAgB,CAAC,SAAS,CAAC,IAAI,CAAC,CAAC;AAC1C,CAAC;AAED,6CAA6C;AAC7C,uFAAuF;AACvF,SAAgB,kBAAkB,CAAC,IAAY;IAC7C,QAAQ,IAAI,CAAC,IAAI,EAAE,CAAC;QAClB,KAAK,UAAU,CAAC,gBAAgB;YAC9B,OAAO,IAAI,CAAC;QACd,KAAK,UAAU,CAAC,eAAe;YAC7B,yEAAyE;YACzE,OAAO,IAAI,CAAC;QACd,KAAK,UAAU,CAAC,mBAAmB,CAAC,CAAC,CAAC;YACpC,MAAM,EAAE,MAAM,EAAE,GAAG,IAAI,CAAC;YAExB,mEAAmE;YACnE,IAAI,EAAE,CAAC,kBAAkB,CAAC,MAAM,CAAC,EAAE,CAAC;gBAClC,OAAO,IAAI,CAAC;YACd,CAAC;YAED,oEAAoE;YACpE,IAAI,EAAE,CAAC,WAAW,CAAC,MAAM,CAAC,IAAI,CAAC,mBAAmB,CAAC,IAAI,CAAC,EAAE,CAAC;gBACzD,OAAO,IAAI,CAAC;YACd,CAAC;YAED,OAAO,KAAK,CAAC;QACf,CAAC;QACD,KAAK,UAAU,CAAC,WAAW,CAAC;QAC5B,KAAK,UAAU,CAAC,WAAW,CAAC;QAC5B,KAAK,UAAU,CAAC,iBAAiB,CAAC,CAAC,CAAC;YAClC,MAAM,EAAE,MAAM,EAAE,GAAG,IAAI,CAAC;YACxB,6BAA6B;YAC7B,gEAAgE;YAChE,yDAAyD;YACzD,OAAO,CACL,OAAO,CAAC,IAAI,CAAC,IAAI,CAAC;gBAClB,CAAC,EAAE,CAAC,kBAAkB,CAAC,MAAM,CAAC,IAAI,EAAE,CAAC,WAAW,CAAC,MAAM,CAAC,CAAC,CAC1D,CAAC;QACJ,CAAC;QACD,KAAK,UAAU,CAAC,SAAS,CAAC,CAAC,CAAC;YAC1B,0EAA0E;YAE1E,MAAM,EAAE,MAAM,EAAE,GAAG,IAAI,CAAC;YACxB,MAAM,WAAW,GAAG,MAAM,CAAC,MAAM,CAAC;YAElC,OAAO,CACL,OAAO,CAAC,MAAM,CAAC;gBACf,MAAM,IAAI,MAAM;gBAChB,OAAO,CAAC,MAAM,CAAC,IAAI,CAAC;gBACpB,CAAC,MAAM,CAAC,IAAI,KAAK,UAAU,CAAC,WAAW;oBACrC,MAAM,CAAC,IAAI,KAAK,UAAU,CAAC,iBAAiB;oBAC5C,MAAM,CAAC,IAAI,KAAK,UAAU,CAAC,WAAW,CAAC;gBACzC,gBAAgB,CAAC,MAAM,CAAC,KAAK,IAAI;gBACjC,OAAO,CAAC,WAAW,CAAC;gBACpB,WAAW,CAAC,IAAI,KAAK,UAAU,CAAC,gBAAgB,CACjD,CAAC;QACJ,CAAC;IACH,CAAC;IAED,OAAO,KAAK,CAAC;AACf,CAAC;AAED,SAAgB,uBAAuB,CAAC,IAAa;IACnD,QAAQ,IAAI,CAAC,IAAI,EAAE,CAAC;QAClB,KAAK,UAAU,CAAC,UAAU;YACxB,OAAO,IAAI,CAAC;QACd,KAAK,UAAU,CAAC,wBAAwB,CAAC;QACzC,KAAK,UAAU,CAAC,uBAAuB;YACrC,IAAI,IAAI,CAAC,KAAK,GAAG,EAAE,CAAC,SAAS,CAAC,aAAa,EAAE,CAAC;gBAC5C,OAAO,KAAK,CAAC;YACf,CAAC;YACD,OAAO,IAAI,CAAC;QACd,KAAK,UAAU,CAAC,uBAAuB,CAAC;QACxC,KAAK,UAAU,CAAC,uBAAuB,CAAC;QACxC,KAAK,UAAU,CAAC,YAAY,CAAC;QAC7B,KAAK,UAAU,CAAC,mBAAmB,CAAC;QACpC,KAAK,UAAU,CAAC,2BAA2B,CAAC;QAC5C,KAAK,UAAU,CAAC,iBAAiB;YAC/B,OAAO,uBAAuB,CAE1B,IAMD,CAAC,UAAU,CACb,CAAC;QACJ;YACE,OAAO,KAAK,CAAC;IACjB,CAAC;AACH,CAAC;AAED,SAAgB,qBAAqB,CACnC,IAA0B;IAE1B,gFAAgF;IAChF,4CAA4C;IAC5C,IAAI,SAAS,GAAG,IAAA,2BAAY,EAAC,IAAI,CAAC,CAAC;IACnC,IAAI,iBAAiB,GAAG,IAAI,CAAC;IAC7B,OACE,CAAC,CAAC,SAAS,IAAI,SAAS,CAAC,MAAM,KAAK,CAAC,CAAC;QACtC,EAAE,CAAC,mBAAmB,CAAC,iBAAiB,CAAC,MAAM,CAAC,EAChD,CAAC;QACD,MAAM,eAAe,GAAG,IAAA,2BAAY,EAAC,iBAAiB,CAAC,MAAM,CAAC,CAAC;QAC/D,IAAI,eAAe,EAAE,MAAM,EAAE,CAAC;YAC5B,SAAS,GAAG,eAAe,CAAC;QAC9B,CAAC;QACD,iBAAiB,GAAG,iBAAiB,CAAC,MAAM,CAAC;IAC/C,CAAC;IACD,OAAO,SAAS,CAAC;AACnB,CAAC"} \ No newline at end of file +{"version":3,"file":"node-utils.js","sourceRoot":"","sources":["../src/node-utils.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAiGA,8CAIC;AAED,wDAIC;AAQD,kDAMC;AAKD,kDAEC;AAKD,kCAMC;AAMD,0CAMC;AAKD,0BAIC;AAKD,8BAKC;AAaD,0DAqCC;AAKD,wDASC;AAMD,8BAMC;AAKD,kDAsBC;AAKD,4BAKC;AAcD,gCAIC;AAKD,gDAiBC;AAKD,wDAoBC;AAMD,sCAuBC;AAQD,8DAYC;AAKD,wCAEC;AAOD,8DAcC;AAKD,gDAIC;AAMD,gCAIC;AAKD,8CAIC;AAKD,0EAaC;AAKD,oCAiGC;AAKD,oCAkCC;AAOD,sCAoBC;AA2CD,kCAYC;AAED,4DAOC;AAED,sCAMC;AAKD,oCAeC;AAED,0DAOC;AAED,4CAQC;AAED,8CAUC;AAeD,sCAEC;AAGD,sDAIC;AA4BD,gDAuDC;AAED,0DA6BC;AAED,sDAkBC;AAx5BD,+CAAiC;AAIjC,iDAA8C;AAC9C,yDAAqD;AACrD,2CAA8D;AAC9D,mDAA6D;AAE7D,MAAM,WAAW,GAAG,0CAA0B,CAAC,KAAK,CAAC,CAAC;AAEtD,MAAM,UAAU,GAAG,EAAE,CAAC,UAAU,CAAC;AAMjC,MAAM,iBAAiB,GAAqC,IAAI,GAAG,CAAC;IAClE,UAAU,CAAC,uBAAuB;IAClC,UAAU,CAAC,WAAW;IACtB,UAAU,CAAC,qBAAqB;CACjC,CAAC,CAAC;AAaH,MAAM,oBAAoB,GAAwC,IAAI,GAAG,CAAC;IACxE,EAAE,CAAC,UAAU,CAAC,6BAA6B;IAC3C,EAAE,CAAC,UAAU,CAAC,oBAAoB;IAClC,EAAE,CAAC,UAAU,CAAC,2BAA2B;IACzC,EAAE,CAAC,UAAU,CAAC,mBAAmB;IACjC,EAAE,CAAC,UAAU,CAAC,iBAAiB;IAC/B,EAAE,CAAC,UAAU,CAAC,cAAc;IAC5B,EAAE,CAAC,UAAU,CAAC,gBAAgB;IAC9B,EAAE,CAAC,UAAU,CAAC,WAAW;IACzB,EAAE,CAAC,UAAU,CAAC,iCAAiC;IAC/C,EAAE,CAAC,UAAU,CAAC,4CAA4C;IAC1D,EAAE,CAAC,UAAU,CAAC,2BAA2B;IACzC,EAAE,CAAC,UAAU,CAAC,gBAAgB;IAC9B,EAAE,CAAC,UAAU,CAAC,kBAAkB;IAChC,EAAE,CAAC,UAAU,CAAC,eAAe;IAC7B,EAAE,CAAC,UAAU,CAAC,2BAA2B;IACzC,EAAE,CAAC,UAAU,CAAC,gBAAgB;CAC/B,CAAC,CAAC;AAGH,MAAM,gBAAgB,GAAoC,IAAI,GAAG,CAAC;IAChE,UAAU,CAAC,uBAAuB;IAClC,UAAU,CAAC,cAAc;IACzB,UAAU,CAAC,qBAAqB;IAChC,UAAU,CAAC,aAAa;IACxB,UAAU,CAAC,WAAW;IACtB,UAAU,CAAC,QAAQ;IACnB,UAAU,CAAC,UAAU;IACrB,UAAU,CAAC,uBAAuB;IAClC,UAAU,CAAC,iBAAiB;IAC5B,UAAU,CAAC,4BAA4B;IACvC,UAAU,CAAC,sBAAsB;IACjC,UAAU,CAAC,sBAAsB;IACjC,UAAU,CAAC,sCAAsC;IACjD,UAAU,CAAC,2BAA2B;IACtC,UAAU,CAAC,gBAAgB;IAC3B,UAAU,CAAC,SAAS;IACpB,UAAU,CAAC,iBAAiB;IAC5B,UAAU,CAAC,mBAAmB;IAC9B,UAAU,CAAC,qBAAqB;IAChC,UAAU,CAAC,aAAa;IACxB,UAAU,CAAC,UAAU;IACrB,UAAU,CAAC,YAAY;IACvB,UAAU,CAAC,SAAS;IACpB,UAAU,CAAC,UAAU;CACtB,CAAC,CAAC;AAIH;;GAEG;AACH,SAAS,oBAAoB,CAC3B,QAAgC;IAEhC,OAAQ,oBAAmD,CAAC,GAAG,CAC7D,QAAQ,CAAC,IAAI,CACd,CAAC;AACJ,CAAC;AAED;;GAEG;AACH,SAAgB,iBAAiB,CAC/B,QAAgC;IAEhC,OAAQ,iBAAgD,CAAC,GAAG,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC;AAC9E,CAAC;AAED,SAAgB,sBAAsB,CACpC,QAAgC;IAEhC,OAAQ,gBAA+C,CAAC,GAAG,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC;AAC7E,CAAC;AAKD;;GAEG;AACH,SAAgB,mBAAmB,CACjC,IAAO;IAEP,OAAO,EAAE,CAAC,aAAa,CAAC,IAAI,CAEN,CAAC;AACzB,CAAC;AAED;;GAEG;AACH,SAAgB,mBAAmB,CAAC,IAAa;IAC/C,OAAO,IAAI,CAAC,IAAI,KAAK,UAAU,CAAC,qBAAqB,CAAC;AACxD,CAAC;AAED;;GAEG;AACH,SAAgB,WAAW,CACzB,YAAkC,EAClC,IAAa;IAEb,MAAM,SAAS,GAAG,IAAA,2BAAY,EAAC,IAAI,CAAC,CAAC;IACrC,OAAO,SAAS,EAAE,IAAI,CAAC,QAAQ,CAAC,EAAE,CAAC,QAAQ,CAAC,IAAI,KAAK,YAAY,CAAC,KAAK,IAAI,CAAC;AAC9E,CAAC;AAED;;;GAGG;AACH,SAAgB,eAAe,CAAC,IAAa;IAC3C,MAAM,SAAS,GAAG,IAAA,2BAAY,EAAC,IAAI,CAAC,CAAC;IACrC,IAAI,SAAS,IAAI,IAAI,EAAE,CAAC;QACtB,OAAO,IAAI,CAAC;IACd,CAAC;IACD,OAAO,SAAS,CAAC,SAAS,CAAC,MAAM,GAAG,CAAC,CAAC,IAAI,IAAI,CAAC;AACjD,CAAC;AAED;;GAEG;AACH,SAAgB,OAAO,CACrB,KAAc;IAEd,OAAO,KAAK,CAAC,IAAI,KAAK,UAAU,CAAC,UAAU,CAAC;AAC9C,CAAC;AAED;;GAEG;AACH,SAAgB,SAAS,CAAC,IAAa;IACrC,OAAO,CACL,IAAI,CAAC,IAAI,KAAK,UAAU,CAAC,uBAAuB;QAChD,IAAI,CAAC,IAAI,KAAK,UAAU,CAAC,sBAAsB,CAChD,CAAC;AACJ,CAAC;AAED;;GAEG;AACH,SAAS,cAAc,CAAC,IAAa;IACnC,+HAA+H;IAC/H,OAAO,IAAI,CAAC,IAAI,KAAK,UAAU,CAAC,YAAY,CAAC;AAC/C,CAAC;AAED;;GAEG;AACH,SAAgB,uBAAuB,CAAC,QAAgC;IAatE,IAAI,oBAAoB,CAAC,QAAQ,CAAC,EAAE,CAAC;QACnC,OAAO;YACL,IAAI,EAAE,0BAAc,CAAC,oBAAoB;YACzC,QAAQ,EAAE,mBAAmB,CAAC,QAAQ,CAAC,IAAI,CAAC;SAC7C,CAAC;IACJ,CAAC;IAED,IAAI,iBAAiB,CAAC,QAAQ,CAAC,EAAE,CAAC;QAChC,OAAO;YACL,IAAI,EAAE,0BAAc,CAAC,iBAAiB;YACtC,QAAQ,EAAE,mBAAmB,CAAC,QAAQ,CAAC,IAAI,CAAC;SAC7C,CAAC;IACJ,CAAC;IAED,IAAI,sBAAsB,CAAC,QAAQ,CAAC,EAAE,CAAC;QACrC,OAAO;YACL,IAAI,EAAE,0BAAc,CAAC,gBAAgB;YACrC,QAAQ,EAAE,mBAAmB,CAAC,QAAQ,CAAC,IAAI,CAAC;SAC7C,CAAC;IACJ,CAAC;IAED,MAAM,IAAI,KAAK,CACb,8BAA8B,EAAE,CAAC,aAAa,CAAC,QAAQ,CAAC,IAAI,CAAC,EAAE,CAChE,CAAC;AACJ,CAAC;AAED;;GAEG;AACH,SAAgB,sBAAsB,CACpC,GAAW,EACX,GAAkB;IAElB,MAAM,GAAG,GAAG,GAAG,CAAC,6BAA6B,CAAC,GAAG,CAAC,CAAC;IACnD,OAAO;QACL,MAAM,EAAE,GAAG,CAAC,SAAS;QACrB,IAAI,EAAE,GAAG,CAAC,IAAI,GAAG,CAAC;KACnB,CAAC;AACJ,CAAC;AAED;;;GAGG;AACH,SAAgB,SAAS,CACvB,KAAqB,EACrB,GAAkB;IAElB,MAAM,CAAC,KAAK,EAAE,GAAG,CAAC,GAAG,KAAK,CAAC,GAAG,CAAC,GAAG,CAAC,EAAE,CAAC,sBAAsB,CAAC,GAAG,EAAE,GAAG,CAAC,CAAC,CAAC;IACxE,OAAO,EAAE,GAAG,EAAE,KAAK,EAAE,CAAC;AACxB,CAAC;AAED;;GAEG;AACH,SAAgB,mBAAmB,CACjC,IAIiB;IAEjB,IAAI,IAAI,CAAC,IAAI,KAAK,EAAE,CAAC,UAAU,CAAC,KAAK,EAAE,CAAC;QACtC,QAAQ,IAAI,CAAC,MAAM,CAAC,IAAI,EAAE,CAAC;YACzB,KAAK,EAAE,CAAC,UAAU,CAAC,WAAW,CAAC;YAC/B,KAAK,EAAE,CAAC,UAAU,CAAC,WAAW,CAAC;YAC/B,KAAK,EAAE,CAAC,UAAU,CAAC,WAAW,CAAC;YAC/B,KAAK,EAAE,CAAC,UAAU,CAAC,aAAa,CAAC;YACjC,KAAK,EAAE,CAAC,UAAU,CAAC,kBAAkB,CAAC;YACtC,KAAK,EAAE,CAAC,UAAU,CAAC,mBAAmB,CAAC;YACvC,KAAK,EAAE,CAAC,UAAU,CAAC,iBAAiB;gBAClC,OAAO,IAAI,CAAC;YACd;gBACE,OAAO,KAAK,CAAC;QACjB,CAAC;IACH,CAAC;IACD,OAAO,IAAI,CAAC;AACd,CAAC;AAED;;GAEG;AACH,SAAgB,QAAQ,CACtB,IAA0C,EAC1C,GAAkB;IAElB,OAAO,CAAC,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,EAAE,IAAI,CAAC,MAAM,EAAE,CAAC,CAAC;AAC7C,CAAC;AAED;;GAEG;AACH,SAAS,OAAO,CAAC,IAAa;IAC5B,OAAO,CACL,IAAI,CAAC,IAAI,IAAI,UAAU,CAAC,UAAU,IAAI,IAAI,CAAC,IAAI,IAAI,UAAU,CAAC,SAAS,CACxE,CAAC;AACJ,CAAC;AAED;;GAEG;AACH,SAAgB,UAAU,CAAC,IAAa;IACtC,OAAO,CACL,IAAI,CAAC,IAAI,IAAI,UAAU,CAAC,UAAU,IAAI,IAAI,CAAC,IAAI,IAAI,UAAU,CAAC,YAAY,CAC3E,CAAC;AACJ,CAAC;AAED;;GAEG;AACH,SAAgB,kBAAkB,CAChC,IAAgC;IAEhC,IAAI,IAAI,CAAC,KAAK,GAAG,EAAE,CAAC,SAAS,CAAC,GAAG,EAAE,CAAC;QAClC,OAAO,KAAK,CAAC;IACf,CAAC;IACD,wEAAwE;IACxE,IAAI,CAAC,IAAI,CAAC,KAAK,GAAG,EAAE,CAAC,SAAS,CAAC,UAAU,CAAC,KAAK,EAAE,CAAC,SAAS,CAAC,UAAU,EAAE,CAAC;QACvE,OAAO,aAAa,CAAC;IACvB,CAAC;IACD,IAAI,IAAI,CAAC,KAAK,GAAG,EAAE,CAAC,SAAS,CAAC,KAAK,EAAE,CAAC;QACpC,OAAO,OAAO,CAAC;IACjB,CAAC;IACD,IAAI,IAAI,CAAC,KAAK,GAAG,EAAE,CAAC,SAAS,CAAC,KAAK,EAAE,CAAC;QACpC,OAAO,OAAO,CAAC;IACjB,CAAC;IACD,OAAO,KAAK,CAAC;AACf,CAAC;AAED;;GAEG;AACH,SAAgB,sBAAsB,CACpC,IAAa;IAEb,MAAM,SAAS,GAAG,IAAA,2BAAY,EAAC,IAAI,CAAC,CAAC;IACrC,IAAI,SAAS,IAAI,IAAI,EAAE,CAAC;QACtB,OAAO,SAAS,CAAC;IACnB,CAAC;IACD,KAAK,MAAM,QAAQ,IAAI,SAAS,EAAE,CAAC;QACjC,QAAQ,QAAQ,CAAC,IAAI,EAAE,CAAC;YACtB,KAAK,UAAU,CAAC,aAAa;gBAC3B,OAAO,QAAQ,CAAC;YAClB,KAAK,UAAU,CAAC,gBAAgB;gBAC9B,OAAO,WAAW,CAAC;YACrB,KAAK,UAAU,CAAC,cAAc;gBAC5B,OAAO,SAAS,CAAC;YACnB;gBACE,MAAM;QACV,CAAC;IACH,CAAC;IACD,OAAO,SAAS,CAAC;AACnB,CAAC;AAED;;;GAGG;AACH,SAAgB,aAAa,CAC3B,aAA2B,EAC3B,MAAe,EACf,GAAkB;IAElB,OAAO,IAAI,CAAC,MAAM,CAAC,CAAC;IAEpB,SAAS,IAAI,CAAC,CAAU;QACtB,IAAI,EAAE,CAAC,OAAO,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,GAAG,KAAK,aAAa,CAAC,GAAG,EAAE,CAAC;YACjD,qEAAqE;YACrE,OAAO,CAAC,CAAC;QACX,CAAC;QACD,OAAO,YAAY,CAAC,CAAC,CAAC,WAAW,CAAC,GAAG,CAAC,EAAE,CAAC,KAAc,EAAE,EAAE;YACzD,MAAM,qBAAqB;YACzB,oDAAoD;YACpD,CAAC,KAAK,CAAC,GAAG,IAAI,aAAa,CAAC,GAAG,IAAI,KAAK,CAAC,GAAG,GAAG,aAAa,CAAC,GAAG,CAAC;gBACjE,wDAAwD;gBACxD,KAAK,CAAC,GAAG,KAAK,aAAa,CAAC,GAAG,CAAC;YAClC,OAAO,qBAAqB,IAAI,aAAa,CAAC,KAAK,EAAE,GAAG,CAAC;gBACvD,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC;gBACb,CAAC,CAAC,SAAS,CAAC;QAChB,CAAC,CAAC,CAAC;IACL,CAAC;AACH,CAAC;AAED;;;;;GAKG;AACH,SAAgB,yBAAyB,CACvC,IAAa,EACb,SAAqC;IAErC,IAAI,OAAO,GAAwB,IAAI,CAAC;IACxC,OAAO,OAAO,EAAE,CAAC;QACf,IAAI,SAAS,CAAC,OAAO,CAAC,EAAE,CAAC;YACvB,OAAO,OAAO,CAAC;QACjB,CAAC;QACD,OAAO,GAAG,OAAO,CAAC,MAA6B,CAAC;IAClD,CAAC;IACD,OAAO,SAAS,CAAC;AACnB,CAAC;AAED;;GAEG;AACH,SAAgB,cAAc,CAAC,IAAa;IAC1C,OAAO,CAAC,CAAC,yBAAyB,CAAC,IAAI,EAAE,UAAU,CAAC,CAAC;AACvD,CAAC;AAED;;;;GAIG;AACH,SAAgB,yBAAyB,CAAC,IAAY;IACpD,OAAO,IAAI,CAAC,UAAU,CAAC,wCAAwC,EAAE,MAAM,CAAC,EAAE;QACxE,MAAM,IAAI,GAAG,MAAM,CAAC,KAAK,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC;QACjC,IAAI,IAAI,CAAC,CAAC,CAAC,KAAK,GAAG,EAAE,CAAC;YACpB,MAAM,SAAS,GACb,IAAI,CAAC,CAAC,CAAC,KAAK,GAAG;gBACb,CAAC,CAAC,QAAQ,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC;gBAC7B,CAAC,CAAC,QAAQ,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC;YAClC,OAAO,SAAS,GAAG,QAAQ,CAAC,iCAAiC;gBAC3D,CAAC,CAAC,MAAM;gBACR,CAAC,CAAC,MAAM,CAAC,aAAa,CAAC,SAAS,CAAC,CAAC;QACtC,CAAC;QACD,OAAO,8BAAa,CAAC,IAAI,CAAC,IAAI,MAAM,CAAC;IACvC,CAAC,CAAC,CAAC;AACL,CAAC;AAED;;GAEG;AACH,SAAgB,kBAAkB,CAChC,IAAa;IAEb,OAAO,IAAI,CAAC,IAAI,KAAK,UAAU,CAAC,oBAAoB,CAAC;AACvD,CAAC;AAED;;;GAGG;AACH,SAAgB,UAAU,CAAC,IAE1B;IACC,OAAO,CAAC,CAAC,IAAI,CAAC,aAAa,CAAC;AAC9B,CAAC;AAED;;GAEG;AACH,SAAgB,iBAAiB,CAC/B,IAAmB;IAEnB,OAAO,IAAI,CAAC,IAAI,KAAK,0BAAc,CAAC,eAAe,CAAC;AACtD,CAAC;AAED;;GAEG;AACH,SAAgB,+BAA+B,CAC7C,IAI+B,EAC/B,KAAoB;IAEpB,OAAO,CACL,iBAAiB,CAAC,KAAK,CAAC;QACxB,2EAA2E;QAC3E,IAAI,CAAC,UAAU,CAAC,IAAI,KAAK,EAAE,CAAC,UAAU,CAAC,uBAAuB,CAC/D,CAAC;AACJ,CAAC;AAED;;GAEG;AACH,SAAgB,YAAY,CAC1B,KAA8C;IAE9C,IAAI,WAAsC,CAAC;IAC3C,IAAI,WAAW,IAAI,KAAK,CAAC,IAAI,KAAK,UAAU,CAAC,UAAU,EAAE,CAAC;QACxD,WAAW,GAAG,EAAE,CAAC,uBAAuB,CAAC,KAAsB,CAAC,CAAC;IACnE,CAAC;SAAM,IAAI,qBAAqB,IAAI,KAAK,EAAE,CAAC;QAC1C,uEAAuE;QACvE,WAAW,GAAG,KAAK,CAAC,mBAAmB,CAAC;IAC1C,CAAC;IACD,IAAI,WAAW,EAAE,CAAC;QAChB,IAAI,WAAW,KAAK,UAAU,CAAC,WAAW,EAAE,CAAC;YAC3C,OAAO,2BAAe,CAAC,IAAI,CAAC;QAC9B,CAAC;QACD,IACE,WAAW,IAAI,UAAU,CAAC,uBAAuB;YACjD,WAAW,IAAI,UAAU,CAAC,WAAW,EACrC,CAAC;YACD,OAAO,2BAAe,CAAC,UAAU,CAAC;QACpC,CAAC;QACD,OAAO,2BAAe,CAAC,OAAO,CAAC;IACjC,CAAC;IAED,IACE,KAAK,CAAC,IAAI,IAAI,UAAU,CAAC,YAAY;QACrC,KAAK,CAAC,IAAI,IAAI,UAAU,CAAC,sBAAsB,EAC/C,CAAC;QACD,IACE,KAAK,CAAC,IAAI,KAAK,UAAU,CAAC,YAAY;YACtC,KAAK,CAAC,IAAI,KAAK,UAAU,CAAC,WAAW,EACrC,CAAC;YACD,OAAO,2BAAe,CAAC,OAAO,CAAC;QACjC,CAAC;QAED,OAAO,2BAAe,CAAC,OAAO,CAAC;IACjC,CAAC;IAED,IACE,KAAK,CAAC,IAAI,IAAI,UAAU,CAAC,gBAAgB;QACzC,KAAK,CAAC,IAAI,IAAI,UAAU,CAAC,eAAe,EACxC,CAAC;QACD,OAAO,2BAAe,CAAC,UAAU,CAAC;IACpC,CAAC;IAED,IACE,KAAK,CAAC,IAAI,IAAI,UAAU,CAAC,6BAA6B;QACtD,KAAK,CAAC,IAAI,IAAI,UAAU,CAAC,YAAY,EACrC,CAAC;QACD,OAAO,2BAAe,CAAC,QAAQ,CAAC;IAClC,CAAC;IAED,QAAQ,KAAK,CAAC,IAAI,EAAE,CAAC;QACnB,KAAK,UAAU,CAAC,cAAc;YAC5B,OAAO,2BAAe,CAAC,OAAO,CAAC;QAEjC,KAAK,UAAU,CAAC,OAAO;YACrB,OAAO,2BAAe,CAAC,OAAO,CAAC;QAEjC,KAAK,UAAU,CAAC,aAAa;YAC3B,mGAAmG;YACnG,2CAA2C;YAC3C,IACE,KAAK,CAAC,MAAM,CAAC,IAAI,KAAK,UAAU,CAAC,YAAY;gBAC7C,KAAK,CAAC,MAAM,CAAC,IAAI,KAAK,UAAU,CAAC,UAAU,EAC3C,CAAC;gBACD,OAAO,2BAAe,CAAC,OAAO,CAAC;YACjC,CAAC;YAED,OAAO,2BAAe,CAAC,MAAM,CAAC;QAEhC,KAAK,UAAU,CAAC,wBAAwB;YACtC,OAAO,2BAAe,CAAC,iBAAiB,CAAC;QAE3C,KAAK,UAAU,CAAC,UAAU,CAAC;QAC3B,KAAK,UAAU,CAAC,kBAAkB,CAAC;QACnC,KAAK,UAAU,CAAC,UAAU,CAAC;QAC3B,KAAK,UAAU,CAAC,UAAU,CAAC;QAE3B,0BAA0B;QAC1B,QAAQ;IACV,CAAC;IAED,8DAA8D;IAC9D,IAAI,KAAK,CAAC,IAAI,KAAK,UAAU,CAAC,UAAU,EAAE,CAAC;QACzC,IAAI,UAAU,CAAC,KAAK,CAAC,MAAM,CAAC,EAAE,CAAC;YAC7B,OAAO,2BAAe,CAAC,aAAa,CAAC;QACvC,CAAC;QAED,IACE,KAAK,CAAC,MAAM,CAAC,IAAI,KAAK,UAAU,CAAC,wBAAwB;YACzD,cAAc,CAAC,KAAK,CAAC,EACrB,CAAC;YACD,OAAO,2BAAe,CAAC,aAAa,CAAC;QACvC,CAAC;IACH,CAAC;IAED,OAAO,2BAAe,CAAC,UAAU,CAAC;AACpC,CAAC;AAED;;GAEG;AACH,SAAgB,YAAY,CAC1B,KAAmC,EACnC,GAAkB;IAElB,MAAM,KAAK,GACT,KAAK,CAAC,IAAI,KAAK,UAAU,CAAC,OAAO;QAC/B,CAAC,CAAC,KAAK,CAAC,YAAY,EAAE;QACtB,CAAC,CAAC,KAAK,CAAC,QAAQ,CAAC,GAAG,CAAC,CAAC;IAC1B,MAAM,GAAG,GAAG,KAAK,CAAC,MAAM,EAAE,CAAC;IAC3B,MAAM,KAAK,GAAG,GAAG,CAAC,IAAI,CAAC,KAAK,CAAC,KAAK,EAAE,GAAG,CAAC,CAAC;IACzC,MAAM,SAAS,GAAG,YAAY,CAAC,KAAK,CAAC,CAAC;IACtC,MAAM,KAAK,GAAmB,CAAC,KAAK,EAAE,GAAG,CAAC,CAAC;IAC3C,MAAM,GAAG,GAAG,SAAS,CAAC,KAAK,EAAE,GAAG,CAAC,CAAC;IAElC,IAAI,SAAS,KAAK,2BAAe,CAAC,iBAAiB,EAAE,CAAC;QACpD,OAAO;YACL,IAAI,EAAE,SAAS;YACf,GAAG;YACH,KAAK;YACL,KAAK,EAAE;gBACL,KAAK,EAAE,KAAK,CAAC,KAAK,CAAC,KAAK,CAAC,WAAW,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC;gBAC9C,OAAO,EAAE,KAAK,CAAC,KAAK,CAAC,CAAC,EAAE,KAAK,CAAC,WAAW,CAAC,GAAG,CAAC,CAAC;aAChD;YACD,KAAK;SACN,CAAC;IACJ,CAAC;IACD,yEAAyE;IACzE,iBAAiB;IACjB,OAAO;QACL,IAAI,EAAE,SAAS;QACf,GAAG;QACH,KAAK;QACL,KAAK;KACN,CAAC;AACJ,CAAC;AAED;;;;GAIG;AACH,SAAgB,aAAa,CAAC,GAAkB;IAC9C,MAAM,MAAM,GAAqB,EAAE,CAAC;IACpC;;OAEG;IACH,SAAS,IAAI,CAAC,IAAa;QACzB,wEAAwE;QACxE,iFAAiF;QACjF,IAAI,SAAS,CAAC,IAAI,CAAC,IAAI,cAAc,CAAC,IAAI,CAAC,EAAE,CAAC;YAC5C,OAAO;QACT,CAAC;QAED,IAAI,OAAO,CAAC,IAAI,CAAC,IAAI,IAAI,CAAC,IAAI,KAAK,UAAU,CAAC,cAAc,EAAE,CAAC;YAC7D,MAAM,CAAC,IAAI,CAAC,YAAY,CAAC,IAAI,EAAE,GAAG,CAAC,CAAC,CAAC;QACvC,CAAC;aAAM,CAAC;YACN,IAAI,CAAC,WAAW,CAAC,GAAG,CAAC,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC;QACtC,CAAC;IACH,CAAC;IACD,IAAI,CAAC,GAAG,CAAC,CAAC;IACV,OAAO,MAAM,CAAC;AAChB,CAAC;AAED,MAAa,OAAQ,SAAQ,KAAK;IAGd;IACA;IAHlB,YACE,OAAe,EACC,QAAgB,EAChB,QAWf;QAED,KAAK,CAAC,OAAO,CAAC,CAAC;QAdC,aAAQ,GAAR,QAAQ,CAAQ;QAChB,aAAQ,GAAR,QAAQ,CAWvB;QAGD,MAAM,CAAC,cAAc,CAAC,IAAI,EAAE,MAAM,EAAE;YAClC,YAAY,EAAE,IAAI;YAClB,UAAU,EAAE,KAAK;YACjB,KAAK,EAAE,GAAG,CAAC,MAAM,CAAC,IAAI;SACvB,CAAC,CAAC;IACL,CAAC;IAED,oHAAoH;IACpH,IAAI,KAAK;QACP,OAAO,IAAI,CAAC,QAAQ,CAAC,KAAK,CAAC,MAAM,CAAC;IACpC,CAAC;IAED,2GAA2G;IAC3G,IAAI,UAAU;QACZ,OAAO,IAAI,CAAC,QAAQ,CAAC,KAAK,CAAC,IAAI,CAAC;IAClC,CAAC;IAED,2GAA2G;IAC3G,IAAI,MAAM;QACR,OAAO,IAAI,CAAC,QAAQ,CAAC,KAAK,CAAC,MAAM,CAAC;IACpC,CAAC;CACF;AAvCD,0BAuCC;AAED,SAAgB,WAAW,CACzB,OAAe,EACf,GAAkB,EAClB,UAAkB,EAClB,WAAmB,UAAU;IAE7B,MAAM,CAAC,KAAK,EAAE,GAAG,CAAC,GAAG,CAAC,UAAU,EAAE,QAAQ,CAAC,CAAC,GAAG,CAAC,MAAM,CAAC,EAAE;QACvD,MAAM,EAAE,SAAS,EAAE,MAAM,EAAE,IAAI,EAAE,GAC/B,GAAG,CAAC,6BAA6B,CAAC,MAAM,CAAC,CAAC;QAC5C,OAAO,EAAE,MAAM,EAAE,IAAI,EAAE,IAAI,GAAG,CAAC,EAAE,MAAM,EAAE,CAAC;IAC5C,CAAC,CAAC,CAAC;IACH,OAAO,IAAI,OAAO,CAAC,OAAO,EAAE,GAAG,CAAC,QAAQ,EAAE,EAAE,GAAG,EAAE,KAAK,EAAE,CAAC,CAAC;AAC5D,CAAC;AAED,SAAgB,wBAAwB,CACtC,IAAa;IAEb,OAAO,CAAC,CAAC,CACP,mBAAmB,IAAI,IAAI;QAC1B,IAAI,CAAC,iBAA2C,EAAE,MAAM,CAC1D,CAAC;AACJ,CAAC;AAED,SAAgB,aAAa,CAAC,CAAU,EAAE,GAAkB;IAC1D,6EAA6E;IAC7E,sDAAsD;IACtD,OAAO,CAAC,CAAC,IAAI,KAAK,UAAU,CAAC,cAAc;QACzC,CAAC,CAAC,CAAC,CAAE,CAAuB,CAAC,KAAK;QAClC,CAAC,CAAC,CAAC,CAAC,QAAQ,CAAC,GAAG,CAAC,KAAK,CAAC,CAAC;AAC5B,CAAC;AAED;;GAEG;AACH,SAAgB,YAAY,CAC1B,KAA+B,EAC/B,QAAsD;IAEtD,IAAI,KAAK,KAAK,SAAS,EAAE,CAAC;QACxB,OAAO,SAAS,CAAC;IACnB,CAAC;IAED,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,KAAK,CAAC,MAAM,EAAE,CAAC,EAAE,EAAE,CAAC;QACtC,MAAM,MAAM,GAAG,QAAQ,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC;QACrC,IAAI,MAAM,KAAK,SAAS,EAAE,CAAC;YACzB,OAAO,MAAM,CAAC;QAChB,CAAC;IACH,CAAC;IACD,OAAO,SAAS,CAAC;AACnB,CAAC;AAED,SAAgB,uBAAuB,CAAC,EAAiB;IACvD,OAAO,CACL,CAAC,WAAW;QACV,CAAC,CAAC,EAAE,CAAC,uBAAuB,CAAC,EAAE,CAAC;QAChC,CAAC,CAAC,uEAAuE;YACvE,EAAE,CAAC,mBAAmB,CAAC,KAAK,UAAU,CAAC,WAAW,CACvD,CAAC;AACJ,CAAC;AAED,SAAgB,gBAAgB,CAC9B,IAAyB;IAEzB,OAAO,CACL,CAAC,CAAC,IAAI;QACN,IAAI,CAAC,IAAI,KAAK,UAAU,CAAC,UAAU;QACnC,uBAAuB,CAAC,IAAqB,CAAC,CAC/C,CAAC;AACJ,CAAC;AAED,SAAgB,iBAAiB,CAAC,IAAa;IAC7C,IAAI,CAAC,gBAAgB,CAAC,IAAI,CAAC,EAAE,CAAC;QAC5B,OAAO,KAAK,CAAC;IACf,CAAC;IAED,OAAO,EAAE,CAAC,eAAe,CAAC,IAAI,CAAC,MAAM,CAAC,IAAI,IAAI,CAAC,MAAM,CAAC,IAAI,KAAK,IAAI,EAAE,CAAC;QACpE,IAAI,GAAG,IAAI,CAAC,MAAM,CAAC;IACrB,CAAC;IAED,OAAO,IAAI,CAAC,MAAM,CAAC,IAAI,KAAK,UAAU,CAAC,SAAS,CAAC;AACnD,CAAC;AAED,qBAAqB;AACrB,SAAS,aAAa,CAAC,IAAyB;IAC9C,IAAI,IAAI,KAAK,SAAS,EAAE,CAAC;QACvB,OAAO,IAAI,CAAC;IACd,CAAC;IACD,OAAO,CACL,IAAI,CAAC,GAAG,KAAK,IAAI,CAAC,GAAG;QACrB,IAAI,CAAC,GAAG,IAAI,CAAC;QACb,IAAI,CAAC,IAAI,KAAK,UAAU,CAAC,cAAc,CACxC,CAAC;AACJ,CAAC;AAED,qBAAqB;AACrB,SAAgB,aAAa,CAAC,IAAyB;IACrD,OAAO,CAAC,aAAa,CAAC,IAAI,CAAC,CAAC;AAC9B,CAAC;AAED,6BAA6B;AAC7B,SAAgB,qBAAqB,CACnC,IAAa;IAEb,OAAO,EAAE,CAAC,YAAY,CAAC,IAAI,CAAC,MAAM,EAAE,EAAE,CAAC,cAAc,CAAC,CAAC;AACzD,CAAC;AAED,2BAA2B;AAC3B,SAAS,mBAAmB,CAAC,IAAa;IACxC,OAAO,WAAW,CAAC,UAAU,CAAC,eAAe,EAAE,IAAI,CAAC,CAAC;AACvD,CAAC;AAED,wBAAwB;AACxB,SAAS,gBAAgB,CACvB,SAAkC;IAElC,IAAI,SAAS,CAAC,UAAU,CAAC,MAAM,IAAI,CAAC,EAAE,CAAC,gBAAgB,CAAC,SAAS,CAAC,EAAE,CAAC;QACnE,MAAM,aAAa,GAAG,SAAS,CAAC,UAAU,CAAC,CAAC,CAAC,CAAC;QAC9C,IAAI,sBAAsB,CAAC,aAAa,CAAC,EAAE,CAAC;YAC1C,OAAO,aAAa,CAAC;QACvB,CAAC;IACH,CAAC;IAED,OAAO,IAAI,CAAC;AACd,CAAC;AAED,8BAA8B;AAC9B,SAAS,sBAAsB,CAAC,SAAkC;IAChE,OAAO,gBAAgB,CAAC,SAAS,CAAC,IAAI,CAAC,CAAC;AAC1C,CAAC;AAED,6CAA6C;AAC7C,uFAAuF;AACvF,SAAgB,kBAAkB,CAAC,IAAY;IAC7C,QAAQ,IAAI,CAAC,IAAI,EAAE,CAAC;QAClB,KAAK,UAAU,CAAC,gBAAgB;YAC9B,OAAO,IAAI,CAAC;QACd,KAAK,UAAU,CAAC,eAAe;YAC7B,yEAAyE;YACzE,OAAO,IAAI,CAAC;QACd,KAAK,UAAU,CAAC,mBAAmB,CAAC,CAAC,CAAC;YACpC,MAAM,EAAE,MAAM,EAAE,GAAG,IAAI,CAAC;YAExB,mEAAmE;YACnE,IAAI,EAAE,CAAC,kBAAkB,CAAC,MAAM,CAAC,EAAE,CAAC;gBAClC,OAAO,IAAI,CAAC;YACd,CAAC;YAED,oEAAoE;YACpE,IAAI,EAAE,CAAC,WAAW,CAAC,MAAM,CAAC,IAAI,CAAC,mBAAmB,CAAC,IAAI,CAAC,EAAE,CAAC;gBACzD,OAAO,IAAI,CAAC;YACd,CAAC;YAED,OAAO,KAAK,CAAC;QACf,CAAC;QACD,KAAK,UAAU,CAAC,WAAW,CAAC;QAC5B,KAAK,UAAU,CAAC,WAAW,CAAC;QAC5B,KAAK,UAAU,CAAC,iBAAiB,CAAC,CAAC,CAAC;YAClC,MAAM,EAAE,MAAM,EAAE,GAAG,IAAI,CAAC;YACxB,6BAA6B;YAC7B,gEAAgE;YAChE,yDAAyD;YACzD,OAAO,CACL,OAAO,CAAC,IAAI,CAAC,IAAI,CAAC;gBAClB,CAAC,EAAE,CAAC,kBAAkB,CAAC,MAAM,CAAC,IAAI,EAAE,CAAC,WAAW,CAAC,MAAM,CAAC,CAAC,CAC1D,CAAC;QACJ,CAAC;QACD,KAAK,UAAU,CAAC,SAAS,CAAC,CAAC,CAAC;YAC1B,0EAA0E;YAE1E,MAAM,EAAE,MAAM,EAAE,GAAG,IAAI,CAAC;YACxB,MAAM,WAAW,GAAG,MAAM,CAAC,MAAM,CAAC;YAElC,OAAO,CACL,OAAO,CAAC,MAAM,CAAC;gBACf,MAAM,IAAI,MAAM;gBAChB,OAAO,CAAC,MAAM,CAAC,IAAI,CAAC;gBACpB,CAAC,MAAM,CAAC,IAAI,KAAK,UAAU,CAAC,WAAW;oBACrC,MAAM,CAAC,IAAI,KAAK,UAAU,CAAC,iBAAiB;oBAC5C,MAAM,CAAC,IAAI,KAAK,UAAU,CAAC,WAAW,CAAC;gBACzC,gBAAgB,CAAC,MAAM,CAAC,KAAK,IAAI;gBACjC,OAAO,CAAC,WAAW,CAAC;gBACpB,WAAW,CAAC,IAAI,KAAK,UAAU,CAAC,gBAAgB,CACjD,CAAC;QACJ,CAAC;IACH,CAAC;IAED,OAAO,KAAK,CAAC;AACf,CAAC;AAED,SAAgB,uBAAuB,CAAC,IAAa;IACnD,QAAQ,IAAI,CAAC,IAAI,EAAE,CAAC;QAClB,KAAK,UAAU,CAAC,UAAU;YACxB,OAAO,IAAI,CAAC;QACd,KAAK,UAAU,CAAC,wBAAwB,CAAC;QACzC,KAAK,UAAU,CAAC,uBAAuB;YACrC,IAAI,IAAI,CAAC,KAAK,GAAG,EAAE,CAAC,SAAS,CAAC,aAAa,EAAE,CAAC;gBAC5C,OAAO,KAAK,CAAC;YACf,CAAC;YACD,OAAO,IAAI,CAAC;QACd,KAAK,UAAU,CAAC,uBAAuB,CAAC;QACxC,KAAK,UAAU,CAAC,uBAAuB,CAAC;QACxC,KAAK,UAAU,CAAC,YAAY,CAAC;QAC7B,KAAK,UAAU,CAAC,mBAAmB,CAAC;QACpC,KAAK,UAAU,CAAC,2BAA2B,CAAC;QAC5C,KAAK,UAAU,CAAC,iBAAiB;YAC/B,OAAO,uBAAuB,CAE1B,IAMD,CAAC,UAAU,CACb,CAAC;QACJ;YACE,OAAO,KAAK,CAAC;IACjB,CAAC;AACH,CAAC;AAED,SAAgB,qBAAqB,CACnC,IAA0B;IAE1B,gFAAgF;IAChF,4CAA4C;IAC5C,IAAI,SAAS,GAAG,IAAA,2BAAY,EAAC,IAAI,CAAC,CAAC;IACnC,IAAI,iBAAiB,GAAG,IAAI,CAAC;IAC7B,OACE,CAAC,CAAC,SAAS,IAAI,SAAS,CAAC,MAAM,KAAK,CAAC,CAAC;QACtC,EAAE,CAAC,mBAAmB,CAAC,iBAAiB,CAAC,MAAM,CAAC,EAChD,CAAC;QACD,MAAM,eAAe,GAAG,IAAA,2BAAY,EAAC,iBAAiB,CAAC,MAAM,CAAC,CAAC;QAC/D,IAAI,eAAe,EAAE,MAAM,EAAE,CAAC;YAC5B,SAAS,GAAG,eAAe,CAAC;QAC9B,CAAC;QACD,iBAAiB,GAAG,iBAAiB,CAAC,MAAM,CAAC;IAC/C,CAAC;IACD,OAAO,SAAS,CAAC;AACnB,CAAC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/typescript-estree/dist/parseSettings/createParseSettings.js b/node_modules/@typescript-eslint/typescript-estree/dist/parseSettings/createParseSettings.js index 1ae39fe928..8739a68d6b 100644 --- a/node_modules/@typescript-eslint/typescript-estree/dist/parseSettings/createParseSettings.js +++ b/node_modules/@typescript-eslint/typescript-estree/dist/parseSettings/createParseSettings.js @@ -15,13 +15,23 @@ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? ( }) : function(o, v) { o["default"] = v; }); -var __importStar = (this && this.__importStar) || function (mod) { - if (mod && mod.__esModule) return mod; - var result = {}; - if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k); - __setModuleDefault(result, mod); - return result; -}; +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; }; diff --git a/node_modules/@typescript-eslint/typescript-estree/dist/parseSettings/createParseSettings.js.map b/node_modules/@typescript-eslint/typescript-estree/dist/parseSettings/createParseSettings.js.map index 2935a520c8..69a3998820 100644 --- a/node_modules/@typescript-eslint/typescript-estree/dist/parseSettings/createParseSettings.js.map +++ b/node_modules/@typescript-eslint/typescript-estree/dist/parseSettings/createParseSettings.js.map @@ -1 +1 @@ -{"version":3,"file":"createParseSettings.js","sourceRoot":"","sources":["../../src/parseSettings/createParseSettings.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAuCA,kDA8JC;AAED,0DAEC;AAED,kEAEC;AA7MD,kDAA0B;AAC1B,0DAA6B;AAC7B,+CAAiC;AAMjC,iFAA8E;AAC9E,qDAA8D;AAC9D,kDAA+C;AAC/C,mDAGyB;AACzB,mEAAgE;AAChE,qDAAkD;AAClD,6DAA0D;AAC1D,6DAA0D;AAE1D,MAAM,GAAG,GAAG,IAAA,eAAK,EACf,8EAA8E,CAC/E,CAAC;AAEF,IAAI,oBAA0D,CAAC;AAC/D,IAAI,wBAAwB,GAAkC,IAAI,CAAC;AAEnE,gGAAgG;AAChG,+GAA+G;AAC/G,uDAAuD;AACvD,gEAAgE;AAChE,MAAM,gBAAgB,GAAG;IACvB,QAAQ,EAAE,EAAE,CAAC,gBAAgB,EAAE,QAAQ;IACvC,kBAAkB,EAAE,EAAE,CAAC,gBAAgB,EAAE,kBAAkB;IAC3D,gBAAgB,EAAE,EAAE,CAAC,gBAAgB,EAAE,gBAAgB;IACvD,SAAS,EAAE,EAAE,CAAC,gBAAgB,EAAE,SAAS;CACjC,CAAC;AACX,+DAA+D;AAE/D,SAAgB,mBAAmB,CACjC,IAA4B,EAC5B,kBAA4C,EAAE;IAE9C,MAAM,YAAY,GAAG,iBAAiB,CAAC,IAAI,CAAC,CAAC;IAC7C,MAAM,SAAS,GAAG,IAAA,+BAAc,EAAC,eAAe,CAAC,CAAC;IAClD,MAAM,eAAe,GACnB,OAAO,eAAe,CAAC,eAAe,KAAK,QAAQ;QACjD,CAAC,CAAC,eAAe,CAAC,eAAe;QACjC,CAAC,CAAC,OAAO,CAAC,GAAG,EAAE,CAAC;IACpB,MAAM,cAAc,GAAG,OAAO,eAAe,CAAC,QAAQ,KAAK,UAAU,CAAC;IACtE,MAAM,QAAQ,GAAG,IAAA,2BAAkB,EACjC,OAAO,eAAe,CAAC,QAAQ,KAAK,QAAQ;QAC1C,eAAe,CAAC,QAAQ,KAAK,SAAS;QACtC,CAAC,CAAC,eAAe,CAAC,QAAQ;QAC1B,CAAC,CAAC,WAAW,CAAC,eAAe,CAAC,GAAG,CAAC,EACpC,eAAe,CAChB,CAAC;IACF,MAAM,SAAS,GAAG,mBAAI,CAAC,OAAO,CAAC,QAAQ,CAAC,CAAC,WAAW,EAAkB,CAAC;IACvE,MAAM,gBAAgB,GAAG,CAAC,GAAwB,EAAE;QAClD,QAAQ,eAAe,CAAC,gBAAgB,EAAE,CAAC;YACzC,KAAK,KAAK;gBACR,OAAO,gBAAgB,CAAC,QAAQ,CAAC;YAEnC,KAAK,MAAM;gBACT,OAAO,gBAAgB,CAAC,SAAS,CAAC;YAEpC,KAAK,WAAW;gBACd,OAAO,gBAAgB,CAAC,gBAAgB,CAAC;YAE3C;gBACE,OAAO,gBAAgB,CAAC,QAAQ,CAAC;QACrC,CAAC;IACH,CAAC,CAAC,EAAE,CAAC;IAEL,MAAM,aAAa,GAAyB;QAC1C,GAAG,EAAE,eAAe,CAAC,GAAG,KAAK,IAAI;QACjC,KAAK,EAAE,eAAe,CAAC,KAAK,KAAK,IAAI;QACrC,eAAe,EAAE,eAAe,CAAC,eAAe,KAAK,IAAI;QACzD,IAAI;QACJ,YAAY;QACZ,OAAO,EAAE,eAAe,CAAC,OAAO,KAAK,IAAI;QACzC,QAAQ,EAAE,EAAE;QACZ,UAAU,EACR,eAAe,CAAC,UAAU,KAAK,IAAI;YACjC,CAAC,CAAC,IAAI,GAAG,CAAC,CAAC,mBAAmB,CAAC,CAAC;YAChC,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,eAAe,CAAC,UAAU,CAAC;gBACzC,CAAC,CAAC,IAAI,GAAG,CAAC,eAAe,CAAC,UAAU,CAAC;gBACrC,CAAC,CAAC,IAAI,GAAG,EAAE;QACjB,2CAA2C,EAAE,KAAK;QAClD,qBAAqB,EAAE,eAAe,CAAC,qBAAqB,KAAK,IAAI;QACrE,mBAAmB,EACjB,KAAK,CAAC,OAAO,CAAC,eAAe,CAAC,mBAAmB,CAAC;YAClD,eAAe,CAAC,mBAAmB,CAAC,KAAK,CAAC,GAAG,CAAC,EAAE,CAAC,OAAO,GAAG,KAAK,QAAQ,CAAC;YACvE,CAAC,CAAC,eAAe,CAAC,mBAAmB;YACrC,CAAC,CAAC,EAAE;QACR,QAAQ;QACR,gBAAgB;QAChB,GAAG,EAAE,eAAe,CAAC,GAAG,KAAK,IAAI;QACjC,GAAG,EACD,OAAO,eAAe,CAAC,QAAQ,KAAK,UAAU;YAC5C,CAAC,CAAC,eAAe,CAAC,QAAQ;YAC1B,CAAC,CAAC,eAAe,CAAC,QAAQ,KAAK,KAAK;gBAClC,CAAC,CAAC,GAAS,EAAE,GAAE,CAAC,CAAC,2DAA2D;gBAC5E,CAAC,CAAC,OAAO,CAAC,GAAG,EAAE,iCAAiC;QACtD,gBAAgB,EAAE,eAAe,CAAC,gBAAgB,KAAK,KAAK;QAC5D,QAAQ,EAAE,KAAK,CAAC,OAAO,CAAC,eAAe,CAAC,QAAQ,CAAC;YAC/C,CAAC,CAAC,eAAe,CAAC,QAAQ;YAC1B,CAAC,CAAC,IAAI;QACR,QAAQ,EAAE,IAAI,GAAG,EAAE;QACnB,cAAc,EACZ,eAAe,CAAC,cAAc;YAC9B,CAAC,eAAe,CAAC,OAAO;gBACtB,eAAe,CAAC,cAAc,KAAK,KAAK;gBACxC,OAAO,CAAC,GAAG,CAAC,iCAAiC,KAAK,MAAM,CAAC;YACzD,CAAC,CAAC,CAAC,wBAAwB,KAAK,IAAA,2CAAoB,EAChD,eAAe,CAAC,cAAc,EAC9B,gBAAgB,EAChB,eAAe,CAChB,CAAC;YACJ,CAAC,CAAC,SAAS;QACf,0BAA0B,EACxB,eAAe,CAAC,UAAU,KAAK,QAAQ;YACvC,CAAC,eAAe,CAAC,UAAU,KAAK,SAAS;gBACvC,SAAS,KAAK,EAAE,CAAC,SAAS,CAAC,GAAG,CAAC;YACjC,CAAC,eAAe,CAAC,UAAU,KAAK,SAAS;gBACvC,SAAS,KAAK,EAAE,CAAC,SAAS,CAAC,GAAG,CAAC;YAC/B,CAAC,CAAC,CAAC,IAAI,EAAQ,EAAE;gBACb,IAAI,CAAC,uBAAuB,GAAG,IAAI,CAAC;YACtC,CAAC;YACH,CAAC,CAAC,SAAS;QACf,SAAS;QACT,kCAAkC,EAChC,eAAe,CAAC,kCAAkC;YAClD,OAAO,CAAC,GAAG,CAAC,QAAQ,KAAK,MAAM;QACjC,MAAM,EAAE,eAAe,CAAC,MAAM,KAAK,IAAI,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,IAAI;QACnD,kBAAkB,EAAE,CAAC,oBAAoB,KAAK,IAAI,6BAAa,CAC7D,SAAS;YACP,CAAC,CAAC,UAAU;YACZ,CAAC,CAAC,eAAe,CAAC,aAAa,EAAE,IAAI;gBACnC,uDAAuC,CAC5C,CAAC;QACF,eAAe;KAChB,CAAC;IAEF,8EAA8E;IAC9E,IAAI,aAAa,CAAC,UAAU,CAAC,IAAI,GAAG,CAAC,EAAE,CAAC;QACtC,MAAM,UAAU,GAAG,EAAE,CAAC;QACtB,IAAI,aAAa,CAAC,UAAU,CAAC,GAAG,CAAC,mBAAmB,CAAC,EAAE,CAAC;YACtD,UAAU,CAAC,IAAI,CAAC,qBAAqB,CAAC,CAAC;QACzC,CAAC;QACD,IACE,aAAa,CAAC,UAAU,CAAC,GAAG,CAAC,QAAQ,CAAC;YACtC,6EAA6E;YAC7E,eAAK,CAAC,OAAO,CAAC,4BAA4B,CAAC,EAC3C,CAAC;YACD,mGAAmG;YACnG,UAAU,CAAC,IAAI,CAAC,4BAA4B,CAAC,CAAC;QAChD,CAAC;QACD,eAAK,CAAC,MAAM,CAAC,UAAU,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,CAAC;IACrC,CAAC;IAED,IAAI,KAAK,CAAC,OAAO,CAAC,eAAe,CAAC,QAAQ,CAAC,EAAE,CAAC;QAC5C,IAAI,CAAC,eAAe,CAAC,QAAQ,CAAC,MAAM,EAAE,CAAC;YACrC,MAAM,IAAI,KAAK,CACb,qPAAqP,CACtP,CAAC;QACJ,CAAC;QACD,GAAG,CACD,gFAAgF,CACjF,CAAC;IACJ,CAAC;IAED,sEAAsE;IACtE,IAAI,CAAC,aAAa,CAAC,QAAQ,IAAI,CAAC,aAAa,CAAC,cAAc,EAAE,CAAC;QAC7D,aAAa,CAAC,QAAQ,GAAG,IAAA,uCAAkB,EAAC;YAC1C,aAAa,EAAE,eAAe,CAAC,aAAa;YAC5C,OAAO,EAAE,IAAA,6CAAqB,EAAC,aAAa,EAAE,eAAe,CAAC,OAAO,CAAC;YACtE,uBAAuB,EAAE,eAAe,CAAC,uBAAuB;YAChE,SAAS,EAAE,aAAa,CAAC,SAAS;YAClC,eAAe;SAChB,CAAC,CAAC;IACL,CAAC;IAED,yFAAyF;IACzF,yEAAyE;IACzE,IACE,eAAe,CAAC,gBAAgB,IAAI,IAAI;QACxC,aAAa,CAAC,QAAQ,CAAC,IAAI,KAAK,CAAC;QACjC,aAAa,CAAC,QAAQ,IAAI,IAAI;QAC9B,aAAa,CAAC,cAAc,IAAI,IAAI,EACpC,CAAC;QACD,aAAa,CAAC,gBAAgB,GAAG,gBAAgB,CAAC,SAAS,CAAC;IAC9D,CAAC;IAED,IAAA,uCAAkB,EAAC,aAAa,EAAE,cAAc,CAAC,CAAC;IAElD,OAAO,aAAa,CAAC;AACvB,CAAC;AAED,SAAgB,uBAAuB;IACrC,oBAAoB,EAAE,KAAK,EAAE,CAAC;AAChC,CAAC;AAED,SAAgB,2BAA2B;IACzC,wBAAwB,GAAG,IAAI,CAAC;AAClC,CAAC;AAED;;GAEG;AACH,SAAS,iBAAiB,CAAC,IAAa;IACtC,OAAO,IAAA,2BAAY,EAAC,IAAI,CAAC;QACvB,CAAC,CAAC,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC;QACxB,CAAC,CAAC,OAAO,IAAI,KAAK,QAAQ;YACxB,CAAC,CAAC,IAAI;YACN,CAAC,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC;AACrB,CAAC;AAED;;;;;GAKG;AACH,SAAS,WAAW,CAAC,GAAa;IAChC,OAAO,GAAG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,CAAC,WAAW,CAAC;AAC1C,CAAC"} \ No newline at end of file +{"version":3,"file":"createParseSettings.js","sourceRoot":"","sources":["../../src/parseSettings/createParseSettings.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAuCA,kDA8JC;AAED,0DAEC;AAED,kEAEC;AA7MD,kDAA0B;AAC1B,0DAA6B;AAC7B,+CAAiC;AAMjC,iFAA8E;AAC9E,qDAA8D;AAC9D,kDAA+C;AAC/C,mDAGyB;AACzB,mEAAgE;AAChE,qDAAkD;AAClD,6DAA0D;AAC1D,6DAA0D;AAE1D,MAAM,GAAG,GAAG,IAAA,eAAK,EACf,8EAA8E,CAC/E,CAAC;AAEF,IAAI,oBAA0D,CAAC;AAC/D,IAAI,wBAAwB,GAAkC,IAAI,CAAC;AAEnE,gGAAgG;AAChG,+GAA+G;AAC/G,uDAAuD;AACvD,gEAAgE;AAChE,MAAM,gBAAgB,GAAG;IACvB,QAAQ,EAAE,EAAE,CAAC,gBAAgB,EAAE,QAAQ;IACvC,kBAAkB,EAAE,EAAE,CAAC,gBAAgB,EAAE,kBAAkB;IAC3D,gBAAgB,EAAE,EAAE,CAAC,gBAAgB,EAAE,gBAAgB;IACvD,SAAS,EAAE,EAAE,CAAC,gBAAgB,EAAE,SAAS;CACjC,CAAC;AACX,+DAA+D;AAE/D,SAAgB,mBAAmB,CACjC,IAA4B,EAC5B,kBAA4C,EAAE;IAE9C,MAAM,YAAY,GAAG,iBAAiB,CAAC,IAAI,CAAC,CAAC;IAC7C,MAAM,SAAS,GAAG,IAAA,+BAAc,EAAC,eAAe,CAAC,CAAC;IAClD,MAAM,eAAe,GACnB,OAAO,eAAe,CAAC,eAAe,KAAK,QAAQ;QACjD,CAAC,CAAC,eAAe,CAAC,eAAe;QACjC,CAAC,CAAC,OAAO,CAAC,GAAG,EAAE,CAAC;IACpB,MAAM,cAAc,GAAG,OAAO,eAAe,CAAC,QAAQ,KAAK,UAAU,CAAC;IACtE,MAAM,QAAQ,GAAG,IAAA,2BAAkB,EACjC,OAAO,eAAe,CAAC,QAAQ,KAAK,QAAQ;QAC1C,eAAe,CAAC,QAAQ,KAAK,SAAS;QACtC,CAAC,CAAC,eAAe,CAAC,QAAQ;QAC1B,CAAC,CAAC,WAAW,CAAC,eAAe,CAAC,GAAG,CAAC,EACpC,eAAe,CAChB,CAAC;IACF,MAAM,SAAS,GAAG,mBAAI,CAAC,OAAO,CAAC,QAAQ,CAAC,CAAC,WAAW,EAAkB,CAAC;IACvE,MAAM,gBAAgB,GAAG,CAAC,GAAwB,EAAE;QAClD,QAAQ,eAAe,CAAC,gBAAgB,EAAE,CAAC;YACzC,KAAK,KAAK;gBACR,OAAO,gBAAgB,CAAC,QAAQ,CAAC;YAEnC,KAAK,MAAM;gBACT,OAAO,gBAAgB,CAAC,SAAS,CAAC;YAEpC,KAAK,WAAW;gBACd,OAAO,gBAAgB,CAAC,gBAAgB,CAAC;YAE3C;gBACE,OAAO,gBAAgB,CAAC,QAAQ,CAAC;QACrC,CAAC;IACH,CAAC,CAAC,EAAE,CAAC;IAEL,MAAM,aAAa,GAAyB;QAC1C,GAAG,EAAE,eAAe,CAAC,GAAG,KAAK,IAAI;QACjC,KAAK,EAAE,eAAe,CAAC,KAAK,KAAK,IAAI;QACrC,eAAe,EAAE,eAAe,CAAC,eAAe,KAAK,IAAI;QACzD,IAAI;QACJ,YAAY;QACZ,OAAO,EAAE,eAAe,CAAC,OAAO,KAAK,IAAI;QACzC,QAAQ,EAAE,EAAE;QACZ,UAAU,EACR,eAAe,CAAC,UAAU,KAAK,IAAI;YACjC,CAAC,CAAC,IAAI,GAAG,CAAC,CAAC,mBAAmB,CAAC,CAAC;YAChC,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,eAAe,CAAC,UAAU,CAAC;gBACzC,CAAC,CAAC,IAAI,GAAG,CAAC,eAAe,CAAC,UAAU,CAAC;gBACrC,CAAC,CAAC,IAAI,GAAG,EAAE;QACjB,2CAA2C,EAAE,KAAK;QAClD,qBAAqB,EAAE,eAAe,CAAC,qBAAqB,KAAK,IAAI;QACrE,mBAAmB,EACjB,KAAK,CAAC,OAAO,CAAC,eAAe,CAAC,mBAAmB,CAAC;YAClD,eAAe,CAAC,mBAAmB,CAAC,KAAK,CAAC,GAAG,CAAC,EAAE,CAAC,OAAO,GAAG,KAAK,QAAQ,CAAC;YACvE,CAAC,CAAC,eAAe,CAAC,mBAAmB;YACrC,CAAC,CAAC,EAAE;QACR,QAAQ;QACR,gBAAgB;QAChB,GAAG,EAAE,eAAe,CAAC,GAAG,KAAK,IAAI;QACjC,GAAG,EACD,OAAO,eAAe,CAAC,QAAQ,KAAK,UAAU;YAC5C,CAAC,CAAC,eAAe,CAAC,QAAQ;YAC1B,CAAC,CAAC,eAAe,CAAC,QAAQ,KAAK,KAAK;gBAClC,CAAC,CAAC,GAAS,EAAE,GAAE,CAAC,CAAC,2DAA2D;gBAC5E,CAAC,CAAC,OAAO,CAAC,GAAG,EAAE,iCAAiC;QACtD,gBAAgB,EAAE,eAAe,CAAC,gBAAgB,KAAK,KAAK;QAC5D,QAAQ,EAAE,KAAK,CAAC,OAAO,CAAC,eAAe,CAAC,QAAQ,CAAC;YAC/C,CAAC,CAAC,eAAe,CAAC,QAAQ;YAC1B,CAAC,CAAC,IAAI;QACR,QAAQ,EAAE,IAAI,GAAG,EAAE;QACnB,cAAc,EACZ,eAAe,CAAC,cAAc;YAC9B,CAAC,eAAe,CAAC,OAAO;gBACtB,eAAe,CAAC,cAAc,KAAK,KAAK;gBACxC,OAAO,CAAC,GAAG,CAAC,iCAAiC,KAAK,MAAM,CAAC;YACzD,CAAC,CAAC,CAAC,wBAAwB,KAAK,IAAA,2CAAoB,EAChD,eAAe,CAAC,cAAc,EAC9B,gBAAgB,EAChB,eAAe,CAChB,CAAC;YACJ,CAAC,CAAC,SAAS;QACf,0BAA0B,EACxB,eAAe,CAAC,UAAU,KAAK,QAAQ;YACvC,CAAC,eAAe,CAAC,UAAU,KAAK,SAAS;gBACvC,SAAS,KAAK,EAAE,CAAC,SAAS,CAAC,GAAG,CAAC;YACjC,CAAC,eAAe,CAAC,UAAU,KAAK,SAAS;gBACvC,SAAS,KAAK,EAAE,CAAC,SAAS,CAAC,GAAG,CAAC;YAC/B,CAAC,CAAC,CAAC,IAAI,EAAQ,EAAE;gBACb,IAAI,CAAC,uBAAuB,GAAG,IAAI,CAAC;YACtC,CAAC;YACH,CAAC,CAAC,SAAS;QACf,SAAS;QACT,kCAAkC,EAChC,eAAe,CAAC,kCAAkC;YAClD,OAAO,CAAC,GAAG,CAAC,QAAQ,KAAK,MAAM;QACjC,MAAM,EAAE,eAAe,CAAC,MAAM,KAAK,IAAI,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,IAAI;QACnD,kBAAkB,EAAE,CAAC,oBAAoB,KAAK,IAAI,6BAAa,CAC7D,SAAS;YACP,CAAC,CAAC,UAAU;YACZ,CAAC,CAAC,eAAe,CAAC,aAAa,EAAE,IAAI;gBACnC,uDAAuC,CAC5C,CAAC;QACF,eAAe;KAChB,CAAC;IAEF,8EAA8E;IAC9E,IAAI,aAAa,CAAC,UAAU,CAAC,IAAI,GAAG,CAAC,EAAE,CAAC;QACtC,MAAM,UAAU,GAAG,EAAE,CAAC;QACtB,IAAI,aAAa,CAAC,UAAU,CAAC,GAAG,CAAC,mBAAmB,CAAC,EAAE,CAAC;YACtD,UAAU,CAAC,IAAI,CAAC,qBAAqB,CAAC,CAAC;QACzC,CAAC;QACD,IACE,aAAa,CAAC,UAAU,CAAC,GAAG,CAAC,QAAQ,CAAC;YACtC,6EAA6E;YAC7E,eAAK,CAAC,OAAO,CAAC,4BAA4B,CAAC,EAC3C,CAAC;YACD,mGAAmG;YACnG,UAAU,CAAC,IAAI,CAAC,4BAA4B,CAAC,CAAC;QAChD,CAAC;QACD,eAAK,CAAC,MAAM,CAAC,UAAU,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,CAAC;IACrC,CAAC;IAED,IAAI,KAAK,CAAC,OAAO,CAAC,eAAe,CAAC,QAAQ,CAAC,EAAE,CAAC;QAC5C,IAAI,CAAC,eAAe,CAAC,QAAQ,CAAC,MAAM,EAAE,CAAC;YACrC,MAAM,IAAI,KAAK,CACb,qPAAqP,CACtP,CAAC;QACJ,CAAC;QACD,GAAG,CACD,gFAAgF,CACjF,CAAC;IACJ,CAAC;IAED,sEAAsE;IACtE,IAAI,CAAC,aAAa,CAAC,QAAQ,IAAI,CAAC,aAAa,CAAC,cAAc,EAAE,CAAC;QAC7D,aAAa,CAAC,QAAQ,GAAG,IAAA,uCAAkB,EAAC;YAC1C,aAAa,EAAE,eAAe,CAAC,aAAa;YAC5C,OAAO,EAAE,IAAA,6CAAqB,EAAC,aAAa,EAAE,eAAe,CAAC,OAAO,CAAC;YACtE,uBAAuB,EAAE,eAAe,CAAC,uBAAuB;YAChE,SAAS,EAAE,aAAa,CAAC,SAAS;YAClC,eAAe;SAChB,CAAC,CAAC;IACL,CAAC;IAED,yFAAyF;IACzF,yEAAyE;IACzE,IACE,eAAe,CAAC,gBAAgB,IAAI,IAAI;QACxC,aAAa,CAAC,QAAQ,CAAC,IAAI,KAAK,CAAC;QACjC,aAAa,CAAC,QAAQ,IAAI,IAAI;QAC9B,aAAa,CAAC,cAAc,IAAI,IAAI,EACpC,CAAC;QACD,aAAa,CAAC,gBAAgB,GAAG,gBAAgB,CAAC,SAAS,CAAC;IAC9D,CAAC;IAED,IAAA,uCAAkB,EAAC,aAAa,EAAE,cAAc,CAAC,CAAC;IAElD,OAAO,aAAa,CAAC;AACvB,CAAC;AAED,SAAgB,uBAAuB;IACrC,oBAAoB,EAAE,KAAK,EAAE,CAAC;AAChC,CAAC;AAED,SAAgB,2BAA2B;IACzC,wBAAwB,GAAG,IAAI,CAAC;AAClC,CAAC;AAED;;GAEG;AACH,SAAS,iBAAiB,CAAC,IAAa;IACtC,OAAO,IAAA,2BAAY,EAAC,IAAI,CAAC;QACvB,CAAC,CAAC,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC;QACxB,CAAC,CAAC,OAAO,IAAI,KAAK,QAAQ;YACxB,CAAC,CAAC,IAAI;YACN,CAAC,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC;AACrB,CAAC;AAED;;;;;GAKG;AACH,SAAS,WAAW,CAAC,GAAa;IAChC,OAAO,GAAG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,CAAC,WAAW,CAAC;AAC1C,CAAC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/typescript-estree/dist/parseSettings/getProjectConfigFiles.js b/node_modules/@typescript-eslint/typescript-estree/dist/parseSettings/getProjectConfigFiles.js index dfbb0f9a0c..59cba04ace 100644 --- a/node_modules/@typescript-eslint/typescript-estree/dist/parseSettings/getProjectConfigFiles.js +++ b/node_modules/@typescript-eslint/typescript-estree/dist/parseSettings/getProjectConfigFiles.js @@ -15,13 +15,23 @@ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? ( }) : function(o, v) { o["default"] = v; }); -var __importStar = (this && this.__importStar) || function (mod) { - if (mod && mod.__esModule) return mod; - var result = {}; - if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k); - __setModuleDefault(result, mod); - return result; -}; +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; }; diff --git a/node_modules/@typescript-eslint/typescript-estree/dist/parseSettings/getProjectConfigFiles.js.map b/node_modules/@typescript-eslint/typescript-estree/dist/parseSettings/getProjectConfigFiles.js.map index 1231df0cfb..670d0ded30 100644 --- a/node_modules/@typescript-eslint/typescript-estree/dist/parseSettings/getProjectConfigFiles.js.map +++ b/node_modules/@typescript-eslint/typescript-estree/dist/parseSettings/getProjectConfigFiles.js.map @@ -1 +1 @@ -{"version":3,"file":"getProjectConfigFiles.js","sourceRoot":"","sources":["../../src/parseSettings/getProjectConfigFiles.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAkBA,sDA6CC;AA/DD,kDAA0B;AAC1B,4CAA8B;AAC9B,gDAAkC;AAKlC,MAAM,GAAG,GAAG,IAAA,eAAK,EAAC,2DAA2D,CAAC,CAAC;AAE/E;;;;;;;;GAQG;AACH,SAAgB,qBAAqB,CACnC,aAGC,EACD,OAAmC;IAEnC,IAAI,OAAO,KAAK,IAAI,EAAE,CAAC;QACrB,IAAI,OAAO,IAAI,IAAI,IAAI,OAAO,KAAK,KAAK,EAAE,CAAC;YACzC,OAAO,IAAI,CAAC;QACd,CAAC;QACD,IAAI,KAAK,CAAC,OAAO,CAAC,OAAO,CAAC,EAAE,CAAC;YAC3B,OAAO,OAAO,CAAC;QACjB,CAAC;QACD,OAAO,CAAC,OAAO,CAAC,CAAC;IACnB,CAAC;IAED,GAAG,CAAC,gDAAgD,EAAE,aAAa,CAAC,QAAQ,CAAC,CAAC;IAC9E,IAAI,SAAS,GAAG,IAAI,CAAC,OAAO,CAAC,aAAa,CAAC,QAAQ,CAAC,CAAC;IACrD,MAAM,kBAAkB,GAAG,CAAC,SAAS,CAAC,CAAC;IAEvC,GAAG,CAAC;QACF,GAAG,CAAC,iCAAiC,EAAE,SAAS,CAAC,CAAC;QAClD,MAAM,YAAY,GAAG,IAAI,CAAC,IAAI,CAAC,SAAS,EAAE,eAAe,CAAC,CAAC;QAC3D,MAAM,MAAM,GACV,aAAa,CAAC,kBAAkB,CAAC,GAAG,CAAC,SAAS,CAAC;YAC/C,CAAC,EAAE,CAAC,UAAU,CAAC,YAAY,CAAC,IAAI,YAAY,CAAC,CAAC;QAEhD,IAAI,MAAM,EAAE,CAAC;YACX,KAAK,MAAM,SAAS,IAAI,kBAAkB,EAAE,CAAC;gBAC3C,aAAa,CAAC,kBAAkB,CAAC,GAAG,CAAC,SAAS,EAAE,MAAM,CAAC,CAAC;YAC1D,CAAC;YACD,OAAO,CAAC,MAAM,CAAC,CAAC;QAClB,CAAC;QAED,SAAS,GAAG,IAAI,CAAC,OAAO,CAAC,SAAS,CAAC,CAAC;QACpC,kBAAkB,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC;IACrC,CAAC,QACC,SAAS,CAAC,MAAM,GAAG,CAAC;QACpB,SAAS,CAAC,MAAM,IAAI,aAAa,CAAC,eAAe,CAAC,MAAM,EACxD;IAEF,MAAM,IAAI,KAAK,CACb,gFAAgF,aAAa,CAAC,QAAQ,aAAa,aAAa,CAAC,eAAe,IAAI,CACrJ,CAAC;AACJ,CAAC"} \ No newline at end of file +{"version":3,"file":"getProjectConfigFiles.js","sourceRoot":"","sources":["../../src/parseSettings/getProjectConfigFiles.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAkBA,sDA6CC;AA/DD,kDAA0B;AAC1B,4CAA8B;AAC9B,gDAAkC;AAKlC,MAAM,GAAG,GAAG,IAAA,eAAK,EAAC,2DAA2D,CAAC,CAAC;AAE/E;;;;;;;;GAQG;AACH,SAAgB,qBAAqB,CACnC,aAGC,EACD,OAAmC;IAEnC,IAAI,OAAO,KAAK,IAAI,EAAE,CAAC;QACrB,IAAI,OAAO,IAAI,IAAI,IAAI,OAAO,KAAK,KAAK,EAAE,CAAC;YACzC,OAAO,IAAI,CAAC;QACd,CAAC;QACD,IAAI,KAAK,CAAC,OAAO,CAAC,OAAO,CAAC,EAAE,CAAC;YAC3B,OAAO,OAAO,CAAC;QACjB,CAAC;QACD,OAAO,CAAC,OAAO,CAAC,CAAC;IACnB,CAAC;IAED,GAAG,CAAC,gDAAgD,EAAE,aAAa,CAAC,QAAQ,CAAC,CAAC;IAC9E,IAAI,SAAS,GAAG,IAAI,CAAC,OAAO,CAAC,aAAa,CAAC,QAAQ,CAAC,CAAC;IACrD,MAAM,kBAAkB,GAAG,CAAC,SAAS,CAAC,CAAC;IAEvC,GAAG,CAAC;QACF,GAAG,CAAC,iCAAiC,EAAE,SAAS,CAAC,CAAC;QAClD,MAAM,YAAY,GAAG,IAAI,CAAC,IAAI,CAAC,SAAS,EAAE,eAAe,CAAC,CAAC;QAC3D,MAAM,MAAM,GACV,aAAa,CAAC,kBAAkB,CAAC,GAAG,CAAC,SAAS,CAAC;YAC/C,CAAC,EAAE,CAAC,UAAU,CAAC,YAAY,CAAC,IAAI,YAAY,CAAC,CAAC;QAEhD,IAAI,MAAM,EAAE,CAAC;YACX,KAAK,MAAM,SAAS,IAAI,kBAAkB,EAAE,CAAC;gBAC3C,aAAa,CAAC,kBAAkB,CAAC,GAAG,CAAC,SAAS,EAAE,MAAM,CAAC,CAAC;YAC1D,CAAC;YACD,OAAO,CAAC,MAAM,CAAC,CAAC;QAClB,CAAC;QAED,SAAS,GAAG,IAAI,CAAC,OAAO,CAAC,SAAS,CAAC,CAAC;QACpC,kBAAkB,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC;IACrC,CAAC,QACC,SAAS,CAAC,MAAM,GAAG,CAAC;QACpB,SAAS,CAAC,MAAM,IAAI,aAAa,CAAC,eAAe,CAAC,MAAM,EACxD;IAEF,MAAM,IAAI,KAAK,CACb,gFAAgF,aAAa,CAAC,QAAQ,aAAa,aAAa,CAAC,eAAe,IAAI,CACrJ,CAAC;AACJ,CAAC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/typescript-estree/dist/parseSettings/warnAboutTSVersion.d.ts b/node_modules/@typescript-eslint/typescript-estree/dist/parseSettings/warnAboutTSVersion.d.ts index 9f4dbc460a..e0abdc5f65 100644 --- a/node_modules/@typescript-eslint/typescript-estree/dist/parseSettings/warnAboutTSVersion.d.ts +++ b/node_modules/@typescript-eslint/typescript-estree/dist/parseSettings/warnAboutTSVersion.d.ts @@ -1,3 +1,7 @@ import type { ParseSettings } from './index'; +/** + * This needs to be kept in sync with package.json in the typescript-eslint monorepo + */ +export declare const SUPPORTED_TYPESCRIPT_VERSIONS = ">=4.8.4 <5.8.0"; export declare function warnAboutTSVersion(parseSettings: ParseSettings, passedLoggerFn: boolean): void; //# sourceMappingURL=warnAboutTSVersion.d.ts.map \ No newline at end of file diff --git a/node_modules/@typescript-eslint/typescript-estree/dist/parseSettings/warnAboutTSVersion.d.ts.map b/node_modules/@typescript-eslint/typescript-estree/dist/parseSettings/warnAboutTSVersion.d.ts.map index 34cc02c93c..7e51a2b294 100644 --- a/node_modules/@typescript-eslint/typescript-estree/dist/parseSettings/warnAboutTSVersion.d.ts.map +++ b/node_modules/@typescript-eslint/typescript-estree/dist/parseSettings/warnAboutTSVersion.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"warnAboutTSVersion.d.ts","sourceRoot":"","sources":["../../src/parseSettings/warnAboutTSVersion.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,SAAS,CAAC;AAoB7C,wBAAgB,kBAAkB,CAChC,aAAa,EAAE,aAAa,EAC5B,cAAc,EAAE,OAAO,GACtB,IAAI,CA0BN"} \ No newline at end of file +{"version":3,"file":"warnAboutTSVersion.d.ts","sourceRoot":"","sources":["../../src/parseSettings/warnAboutTSVersion.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,SAAS,CAAC;AAE7C;;GAEG;AACH,eAAO,MAAM,6BAA6B,mBAAmB,CAAC;AAe9D,wBAAgB,kBAAkB,CAChC,aAAa,EAAE,aAAa,EAC5B,cAAc,EAAE,OAAO,GACtB,IAAI,CA0BN"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/typescript-estree/dist/parseSettings/warnAboutTSVersion.js b/node_modules/@typescript-eslint/typescript-estree/dist/parseSettings/warnAboutTSVersion.js index 87cb3802bc..10ac3e9582 100644 --- a/node_modules/@typescript-eslint/typescript-estree/dist/parseSettings/warnAboutTSVersion.js +++ b/node_modules/@typescript-eslint/typescript-estree/dist/parseSettings/warnAboutTSVersion.js @@ -15,31 +15,42 @@ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? ( }) : function(o, v) { o["default"] = v; }); -var __importStar = (this && this.__importStar) || function (mod) { - if (mod && mod.__esModule) return mod; - var result = {}; - if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k); - __setModuleDefault(result, mod); - return result; -}; +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; }; Object.defineProperty(exports, "__esModule", { value: true }); +exports.SUPPORTED_TYPESCRIPT_VERSIONS = void 0; exports.warnAboutTSVersion = warnAboutTSVersion; const semver_1 = __importDefault(require("semver")); const ts = __importStar(require("typescript")); /** * This needs to be kept in sync with package.json in the typescript-eslint monorepo */ -const SUPPORTED_TYPESCRIPT_VERSIONS = '>=4.7.4 <5.7.0'; +exports.SUPPORTED_TYPESCRIPT_VERSIONS = '>=4.8.4 <5.8.0'; /* * The semver package will ignore prerelease ranges, and we don't want to explicitly document every one * List them all separately here, so we can automatically create the full string */ const SUPPORTED_PRERELEASE_RANGES = []; const ACTIVE_TYPESCRIPT_VERSION = ts.version; -const isRunningSupportedTypeScriptVersion = semver_1.default.satisfies(ACTIVE_TYPESCRIPT_VERSION, [SUPPORTED_TYPESCRIPT_VERSIONS, ...SUPPORTED_PRERELEASE_RANGES].join(' || ')); +const isRunningSupportedTypeScriptVersion = semver_1.default.satisfies(ACTIVE_TYPESCRIPT_VERSION, [exports.SUPPORTED_TYPESCRIPT_VERSIONS, ...SUPPORTED_PRERELEASE_RANGES].join(' || ')); let warnedAboutTSVersion = false; function warnAboutTSVersion(parseSettings, passedLoggerFn) { if (isRunningSupportedTypeScriptVersion || warnedAboutTSVersion) { @@ -54,7 +65,7 @@ function warnAboutTSVersion(parseSettings, passedLoggerFn) { border, '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: ${SUPPORTED_TYPESCRIPT_VERSIONS}`, + `SUPPORTED TYPESCRIPT VERSIONS: ${exports.SUPPORTED_TYPESCRIPT_VERSIONS}`, `YOUR TYPESCRIPT VERSION: ${ACTIVE_TYPESCRIPT_VERSION}`, 'Please only submit bug reports when using the officially supported version.', border, diff --git a/node_modules/@typescript-eslint/typescript-estree/dist/parseSettings/warnAboutTSVersion.js.map b/node_modules/@typescript-eslint/typescript-estree/dist/parseSettings/warnAboutTSVersion.js.map index 2040e86b3f..e970adc39a 100644 --- a/node_modules/@typescript-eslint/typescript-estree/dist/parseSettings/warnAboutTSVersion.js.map +++ b/node_modules/@typescript-eslint/typescript-estree/dist/parseSettings/warnAboutTSVersion.js.map @@ -1 +1 @@ -{"version":3,"file":"warnAboutTSVersion.js","sourceRoot":"","sources":["../../src/parseSettings/warnAboutTSVersion.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAuBA,gDA6BC;AApDD,oDAA4B;AAC5B,+CAAiC;AAIjC;;GAEG;AACH,MAAM,6BAA6B,GAAG,gBAAgB,CAAC;AAEvD;;;GAGG;AACH,MAAM,2BAA2B,GAAa,EAAE,CAAC;AACjD,MAAM,yBAAyB,GAAG,EAAE,CAAC,OAAO,CAAC;AAC7C,MAAM,mCAAmC,GAAG,gBAAM,CAAC,SAAS,CAC1D,yBAAyB,EACzB,CAAC,6BAA6B,EAAE,GAAG,2BAA2B,CAAC,CAAC,IAAI,CAAC,MAAM,CAAC,CAC7E,CAAC;AAEF,IAAI,oBAAoB,GAAG,KAAK,CAAC;AAEjC,SAAgB,kBAAkB,CAChC,aAA4B,EAC5B,cAAuB;IAEvB,IAAI,mCAAmC,IAAI,oBAAoB,EAAE,CAAC;QAChE,OAAO;IACT,CAAC;IAED,IACE,cAAc;QACd,yEAAyE;QACzE,uEAAuE;QACvE,CAAC,OAAO,OAAO,KAAK,WAAW,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,OAAO,CAAC,MAAM,EAAE,KAAK,CAAC,EAChE,CAAC;QACD,MAAM,MAAM,GAAG,eAAe,CAAC;QAC/B,MAAM,cAAc,GAAG;YACrB,MAAM;YACN,uIAAuI;YACvI,uDAAuD;YACvD,kCAAkC,6BAA6B,EAAE;YACjE,4BAA4B,yBAAyB,EAAE;YACvD,6EAA6E;YAC7E,MAAM;SACP,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC;QAEf,aAAa,CAAC,GAAG,CAAC,cAAc,CAAC,CAAC;IACpC,CAAC;IAED,oBAAoB,GAAG,IAAI,CAAC;AAC9B,CAAC"} \ No newline at end of file +{"version":3,"file":"warnAboutTSVersion.js","sourceRoot":"","sources":["../../src/parseSettings/warnAboutTSVersion.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAuBA,gDA6BC;AApDD,oDAA4B;AAC5B,+CAAiC;AAIjC;;GAEG;AACU,QAAA,6BAA6B,GAAG,gBAAgB,CAAC;AAE9D;;;GAGG;AACH,MAAM,2BAA2B,GAAa,EAAE,CAAC;AACjD,MAAM,yBAAyB,GAAG,EAAE,CAAC,OAAO,CAAC;AAC7C,MAAM,mCAAmC,GAAG,gBAAM,CAAC,SAAS,CAC1D,yBAAyB,EACzB,CAAC,qCAA6B,EAAE,GAAG,2BAA2B,CAAC,CAAC,IAAI,CAAC,MAAM,CAAC,CAC7E,CAAC;AAEF,IAAI,oBAAoB,GAAG,KAAK,CAAC;AAEjC,SAAgB,kBAAkB,CAChC,aAA4B,EAC5B,cAAuB;IAEvB,IAAI,mCAAmC,IAAI,oBAAoB,EAAE,CAAC;QAChE,OAAO;IACT,CAAC;IAED,IACE,cAAc;QACd,yEAAyE;QACzE,uEAAuE;QACvE,CAAC,OAAO,OAAO,KAAK,WAAW,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,OAAO,CAAC,MAAM,EAAE,KAAK,CAAC,EAChE,CAAC;QACD,MAAM,MAAM,GAAG,eAAe,CAAC;QAC/B,MAAM,cAAc,GAAG;YACrB,MAAM;YACN,uIAAuI;YACvI,uDAAuD;YACvD,kCAAkC,qCAA6B,EAAE;YACjE,4BAA4B,yBAAyB,EAAE;YACvD,6EAA6E;YAC7E,MAAM;SACP,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC;QAEf,aAAa,CAAC,GAAG,CAAC,cAAc,CAAC,CAAC;IACpC,CAAC;IAED,oBAAoB,GAAG,IAAI,CAAC;AAC9B,CAAC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/typescript-estree/dist/source-files.js b/node_modules/@typescript-eslint/typescript-estree/dist/source-files.js index 5878380cf2..e99efd8495 100644 --- a/node_modules/@typescript-eslint/typescript-estree/dist/source-files.js +++ b/node_modules/@typescript-eslint/typescript-estree/dist/source-files.js @@ -15,13 +15,23 @@ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? ( }) : function(o, v) { o["default"] = v; }); -var __importStar = (this && this.__importStar) || function (mod) { - if (mod && mod.__esModule) return mod; - var result = {}; - if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k); - __setModuleDefault(result, mod); - return result; -}; +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); Object.defineProperty(exports, "__esModule", { value: true }); exports.isSourceFile = isSourceFile; exports.getCodeText = getCodeText; diff --git a/node_modules/@typescript-eslint/typescript-estree/dist/source-files.js.map b/node_modules/@typescript-eslint/typescript-estree/dist/source-files.js.map index 5bc67641b2..4d00af8c10 100644 --- a/node_modules/@typescript-eslint/typescript-estree/dist/source-files.js.map +++ b/node_modules/@typescript-eslint/typescript-estree/dist/source-files.js.map @@ -1 +1 @@ -{"version":3,"file":"source-files.js","sourceRoot":"","sources":["../src/source-files.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AAEA,oCAUC;AAED,kCAEC;AAhBD,+CAAiC;AAEjC,SAAgB,YAAY,CAAC,IAAa;IACxC,IAAI,OAAO,IAAI,KAAK,QAAQ,IAAI,IAAI,IAAI,IAAI,EAAE,CAAC;QAC7C,OAAO,KAAK,CAAC;IACf,CAAC;IAED,MAAM,eAAe,GAAG,IAA8B,CAAC;IACvD,OAAO,CACL,eAAe,CAAC,IAAI,KAAK,EAAE,CAAC,UAAU,CAAC,UAAU;QACjD,OAAO,eAAe,CAAC,WAAW,KAAK,UAAU,CAClD,CAAC;AACJ,CAAC;AAED,SAAgB,WAAW,CAAC,IAA4B;IACtD,OAAO,YAAY,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC;AAC5D,CAAC"} \ No newline at end of file +{"version":3,"file":"source-files.js","sourceRoot":"","sources":["../src/source-files.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEA,oCAUC;AAED,kCAEC;AAhBD,+CAAiC;AAEjC,SAAgB,YAAY,CAAC,IAAa;IACxC,IAAI,OAAO,IAAI,KAAK,QAAQ,IAAI,IAAI,IAAI,IAAI,EAAE,CAAC;QAC7C,OAAO,KAAK,CAAC;IACf,CAAC;IAED,MAAM,eAAe,GAAG,IAA8B,CAAC;IACvD,OAAO,CACL,eAAe,CAAC,IAAI,KAAK,EAAE,CAAC,UAAU,CAAC,UAAU;QACjD,OAAO,eAAe,CAAC,WAAW,KAAK,UAAU,CAClD,CAAC;AACJ,CAAC;AAED,SAAgB,WAAW,CAAC,IAA4B;IACtD,OAAO,YAAY,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC;AAC5D,CAAC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/typescript-estree/dist/useProgramFromProjectService.js b/node_modules/@typescript-eslint/typescript-estree/dist/useProgramFromProjectService.js index f1ce76e4de..3941ae1bf0 100644 --- a/node_modules/@typescript-eslint/typescript-estree/dist/useProgramFromProjectService.js +++ b/node_modules/@typescript-eslint/typescript-estree/dist/useProgramFromProjectService.js @@ -15,13 +15,23 @@ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? ( }) : function(o, v) { o["default"] = v; }); -var __importStar = (this && this.__importStar) || function (mod) { - if (mod && mod.__esModule) return mod; - var result = {}; - if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k); - __setModuleDefault(result, mod); - return result; -}; +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; }; diff --git a/node_modules/@typescript-eslint/typescript-estree/dist/useProgramFromProjectService.js.map b/node_modules/@typescript-eslint/typescript-estree/dist/useProgramFromProjectService.js.map index f700ed1131..99b992764f 100644 --- a/node_modules/@typescript-eslint/typescript-estree/dist/useProgramFromProjectService.js.map +++ b/node_modules/@typescript-eslint/typescript-estree/dist/useProgramFromProjectService.js.map @@ -1 +1 @@ -{"version":3,"file":"useProgramFromProjectService.js","sourceRoot":"","sources":["../src/useProgramFromProjectService.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;AA0OA,oEA8DC;AAxSD,kDAA0B;AAC1B,yCAAsC;AACtC,0DAA6B;AAC7B,0DAA6B;AAC7B,+CAAiC;AAUjC,gFAA6E;AAC7E,wEAAoE;AACpE,oDAAwE;AACxE,4GAA8G;AAE9G,MAAM,kBAAkB,GAAG,GAAG,CAAC;AAE/B,MAAM,GAAG,GAAG,IAAA,eAAK,EACf,kEAAkE,CACnE,CAAC;AAEF,MAAM,qBAAqB,GAAG,IAAI,OAAO,EAAsC,CAAC;AAEhF,MAAM,yBAAyB,GAAG,CAChC,OAAiC,EACjC,mBAA6B,EACvB,EAAE;IACR,MAAM,4BAA4B,GAAG,qBAAqB,CAAC,GAAG,CAAC,OAAO,CAAC,IAAI,EAAE,CAAC;IAC9E,IACE,CAAC,mBAAI,CAAC,iBAAiB,CAAC,4BAA4B,EAAE,mBAAmB,CAAC,EAC1E,CAAC;QACD,GAAG,CACD,qDAAqD,EACrD,4BAA4B,EAC5B,mBAAmB,CACpB,CAAC;QACF,OAAO,CAAC,oBAAoB,CAAC;YAC3B,mBAAmB,EAAE,mBAAmB,CAAC,GAAG,CAAC,SAAS,CAAC,EAAE,CAAC,CAAC;gBACzD,SAAS;gBACT,cAAc,EAAE,KAAK;gBACrB,UAAU,EAAE,EAAE,CAAC,UAAU,CAAC,QAAQ;aACnC,CAAC,CAAC;SACJ,CAAC,CAAC;QACH,qBAAqB,CAAC,GAAG,CAAC,OAAO,EAAE,mBAAmB,CAAC,CAAC;QACxD,GAAG,CAAC,mCAAmC,EAAE,mBAAmB,CAAC,CAAC;IAChE,CAAC;AACH,CAAC,CAAC;AAEF,SAAS,gCAAgC,CACvC,0BAAuC,EACvC,uBAAgC,EAChC,gBAAwB,EACxB,aAA6C,EAC7C,eAAuC;IAEvC,MAAM,MAAM,GAAG,4BAA4B,EAAE,CAAC;IAE9C,GAAG,CAAC,gDAAgD,EAAE,MAAM,CAAC,CAAC;IAE9D,GAAG,CACD,4DAA4D,EAC5D,uBAAuB,EACvB,MAAM,CAAC,cAAc,CACtB,CAAC;IAEF,IAAI,MAAM,CAAC,cAAc,EAAE,CAAC;QAC1B,IAAI,uBAAuB,EAAE,CAAC;YAC5B,MAAM,IAAI,KAAK,CACb,GAAG,aAAa,CAAC,QAAQ,gIAAgI,CAC1J,CAAC;QACJ,CAAC;IACH,CAAC;SAAM,CAAC;QACN,MAAM,WAAW,GAAG,GAAG,aAAa,CAAC,QAAQ,uCAAuC,CAAC;QAErF,MAAM,aAAa,GAAG,mBAAI,CAAC,OAAO,CAAC,aAAa,CAAC,QAAQ,CAAC,CAAC;QAC3D,MAAM,mBAAmB,GAAG,aAAa,CAAC,mBAAmB,CAAC;QAC9D,IACE,CAAC,sCAA6B,CAAC,GAAG,CAAC,aAAa,CAAC;YACjD,CAAC,mBAAmB,CAAC,QAAQ,CAAC,aAAa,CAAC,EAC5C,CAAC;YACD,MAAM,cAAc,GAAG,GAAG,WAAW,0CAA0C,aAAa,qBAAqB,CAAC;YAClH,IAAI,mBAAmB,CAAC,MAAM,GAAG,CAAC,EAAE,CAAC;gBACnC,MAAM,IAAI,KAAK,CACb,GAAG,cAAc,8EAA8E,CAChG,CAAC;YACJ,CAAC;iBAAM,CAAC;gBACN,MAAM,IAAI,KAAK,CACb,GAAG,cAAc,wEAAwE,CAC1F,CAAC;YACJ,CAAC;QACH,CAAC;QAED,IAAI,CAAC,uBAAuB,EAAE,CAAC;YAC7B,MAAM,IAAI,KAAK,CACb,GAAG,WAAW,6FAA6F,CAC5G,CAAC;QACJ,CAAC;IACH,CAAC;IAED,yEAAyE;IACzE,wEAAwE;IACxE,IAAI,CAAC,MAAM,CAAC,cAAc,EAAE,CAAC;QAC3B,0BAA0B,CAAC,GAAG,CAAC,gBAAgB,CAAC,CAAC;QACjD,IACE,0BAA0B,CAAC,IAAI;YAC/B,eAAe,CAAC,mCAAmC,EACnD,CAAC;YACD,MAAM,cAAc,GAAG,EAAE,CAAC;YAC1B,MAAM,YAAY,GAAG,CAAC,GAAG,0BAA0B,CAAC,CAAC,KAAK,CACxD,CAAC,EACD,cAAc,CACf,CAAC;YACF,MAAM,kBAAkB,GACtB,0BAA0B,CAAC,IAAI,GAAG,YAAY,CAAC,MAAM,CAAC;YAExD,MAAM,IAAI,KAAK,CACb,oBAAoB,eAAe,CAAC,mCAAmC,sCAAsC,4EAAuC;;EAE1J,YAAY,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE,CAAC,KAAK,IAAI,EAAE,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC;EAChD,kBAAkB,CAAC,CAAC,CAAC,UAAU,kBAAkB,eAAe,CAAC,CAAC,CAAC,EAAE;;CAEtE,CACM,CAAC;QACJ,CAAC;IACH,CAAC;IAED,OAAO,MAAM,CAAC;IAEd,SAAS,cAAc;QACrB,OAAO,eAAe,CAAC,OAAO,CAAC,cAAc,CAC3C,gBAAgB,EAChB,aAAa,CAAC,YAAY;QAC1B,gBAAgB,CAAC,SAAS,EAC1B,aAAa,CAAC,eAAe,CAC9B,CAAC;IACJ,CAAC;IAED,SAAS,4BAA4B;QACnC,GAAG,CAAC,iDAAiD,EAAE,gBAAgB,CAAC,CAAC;QAEzE,IAAI,MAAM,GAAG,cAAc,EAAE,CAAC;QAE9B,oEAAoE;QACpE,4DAA4D;QAC5D,yEAAyE;QACzE,IACE,CAAC,MAAM,CAAC,gBAAgB;YACxB,CAAC,MAAM,CAAC,cAAc;YACtB,CAAC,aAAa,CAAC,SAAS;YACxB,CAAC,uBAAuB;YACxB,WAAW,CAAC,GAAG,EAAE,GAAG,eAAe,CAAC,mBAAmB;gBACrD,kBAAkB,EACpB,CAAC;YACD,GAAG,CAAC,+DAA+D,CAAC,CAAC;YACrE,eAAe,CAAC,OAAO,CAAC,cAAc,EAAE,CAAC;YACzC,MAAM,GAAG,cAAc,EAAE,CAAC;YAC1B,eAAe,CAAC,mBAAmB,GAAG,WAAW,CAAC,GAAG,EAAE,CAAC;QAC1D,CAAC;QAED,OAAO,MAAM,CAAC;IAChB,CAAC;AACH,CAAC;AAED,SAAS,iCAAiC,CACxC,gBAAwB,EACxB,aAA6C,EAC7C,OAAiC;IAEjC,GAAG,CAAC,gEAAgE,CAAC,CAAC;IAEtE,4EAA4E;IAC5E,yBAAyB;IACzB,+GAA+G;IAC/G,iHAAiH;IACjH,IAAI,OAAO,CAAC,aAAa,CAAC,gBAAgB,CAAC,EAAE,CAAC;QAC5C,GAAG,CAAC,gEAAgE,CAAC,CAAC;QACtE,OAAO,CAAC,cAAc,CACpB,gBAAgB,EAChB,aAAa,CAAC,YAAY;QAC1B,gBAAgB,CAAC,SAAS,EAC1B,aAAa,CAAC,eAAe,CAC9B,CAAC;IACJ,CAAC;IAED,OAAO,IAAA,kCAAe,EAAC,aAAa,CAAC,CAAC;AACxC,CAAC;AAED,SAAS,wBAAwB,CAC/B,gBAAwB,EACxB,aAA6C,EAC7C,eAAuC;IAEvC,GAAG,CAAC,iDAAiD,EAAE,gBAAgB,CAAC,CAAC;IAEzE,MAAM,UAAU,GAAG,eAAe,CAAC,OAAO,CAAC,aAAa,CAAC,gBAAgB,CAAC,CAAC;IAC3E,6DAA6D;IAC7D,MAAM,OAAO,GAAG,eAAe,CAAC,OAAO;SACpC,wBAAwB,CAAC,UAAW,CAAC,QAAQ,EAAE,IAAI,CAAE;SACrD,kBAAkB,CAAC,sBAAsB,CAAC,IAAI,CAAC;SAC/C,UAAU,EAAE,CAAC;IAChB,4DAA4D;IAE5D,IAAI,CAAC,OAAO,EAAE,CAAC;QACb,GAAG,CAAC,gDAAgD,EAAE,gBAAgB,CAAC,CAAC;QACxE,OAAO,SAAS,CAAC;IACnB,CAAC;IAED,GAAG,CAAC,uCAAuC,EAAE,gBAAgB,CAAC,CAAC;IAE/D,OAAO,IAAA,2CAAoB,EAAC,aAAa,EAAE,CAAC,OAAO,CAAC,CAAC,CAAC;AACxD,CAAC;AAoBD,SAAgB,4BAA4B,CAC1C,eAAuC,EACvC,aAA6C,EAC7C,sBAA+B,EAC/B,0BAAuC;IAEvC,iEAAiE;IACjE,yBAAyB,CACvB,eAAe,CAAC,OAAO,EACvB,aAAa,CAAC,mBAAmB,CAClC,CAAC;IAEF,iFAAiF;IACjF,yEAAyE;IACzE,MAAM,gBAAgB,GAAG,UAAU,CAAC,aAAa,CAAC,QAAQ,EAAE,eAAe,CAAC,CAAC;IAC7E,GAAG,CACD,0DAA0D,EAC1D,aAAa,CAAC,QAAQ,EACtB,gBAAgB,CACjB,CAAC;IAEF,MAAM,gBAAgB,GAAG,mBAAI,CAAC,QAAQ,CACpC,aAAa,CAAC,eAAe,EAC7B,gBAAgB,CACjB,CAAC;IACF,MAAM,uBAAuB,GAAG,iBAAiB,CAC/C,gBAAgB,EAChB,eAAe,CAAC,mBAAmB,CACpC,CAAC;IAEF,gDAAgD;IAChD,mEAAmE;IACnE,IAAI,CAAC,sBAAsB,IAAI,CAAC,uBAAuB,EAAE,CAAC;QACxD,OAAO,iCAAiC,CACtC,gBAAgB,EAChB,aAAa,EACb,eAAe,CAAC,OAAO,CACxB,CAAC;IACJ,CAAC;IAED,4EAA4E;IAC5E,0CAA0C;IAC1C,iDAAiD;IACjD,6DAA6D;IAC7D,4EAA4E;IAC5E,MAAM,MAAM,GACV,sBAAsB;QACtB,gCAAgC,CAC9B,0BAA0B,EAC1B,uBAAuB,EACvB,gBAAgB,EAChB,aAAa,EACb,eAAe,CAChB,CAAC;IAEJ,GAAG,CAAC,iCAAiC,EAAE,MAAM,CAAC,CAAC;IAE/C,OAAO,wBAAwB,CAC7B,gBAAgB,EAChB,aAAa,EACb,eAAe,CAChB,CAAC;AACJ,CAAC;AAED,SAAS,UAAU,CACjB,QAAgB,EAChB,eAAuC;IAEvC,OAAO,mBAAI,CAAC,UAAU,CAAC,QAAQ,CAAC;QAC9B,CAAC,CAAC,QAAQ;QACV,CAAC,CAAC,mBAAI,CAAC,IAAI,CAAC,eAAe,CAAC,OAAO,CAAC,IAAI,CAAC,mBAAmB,EAAE,EAAE,QAAQ,CAAC,CAAC;AAC9E,CAAC;AAED,SAAS,iBAAiB,CACxB,QAAgB,EAChB,mBAAyC;IAEzC,OAAO,CAAC,CAAC,mBAAmB,EAAE,IAAI,CAAC,OAAO,CAAC,EAAE,CAAC,IAAA,qBAAS,EAAC,QAAQ,EAAE,OAAO,CAAC,CAAC,CAAC;AAC9E,CAAC"} \ No newline at end of file +{"version":3,"file":"useProgramFromProjectService.js","sourceRoot":"","sources":["../src/useProgramFromProjectService.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA0OA,oEA8DC;AAxSD,kDAA0B;AAC1B,yCAAsC;AACtC,0DAA6B;AAC7B,0DAA6B;AAC7B,+CAAiC;AAUjC,gFAA6E;AAC7E,wEAAoE;AACpE,oDAAwE;AACxE,4GAA8G;AAE9G,MAAM,kBAAkB,GAAG,GAAG,CAAC;AAE/B,MAAM,GAAG,GAAG,IAAA,eAAK,EACf,kEAAkE,CACnE,CAAC;AAEF,MAAM,qBAAqB,GAAG,IAAI,OAAO,EAAsC,CAAC;AAEhF,MAAM,yBAAyB,GAAG,CAChC,OAAiC,EACjC,mBAA6B,EACvB,EAAE;IACR,MAAM,4BAA4B,GAAG,qBAAqB,CAAC,GAAG,CAAC,OAAO,CAAC,IAAI,EAAE,CAAC;IAC9E,IACE,CAAC,mBAAI,CAAC,iBAAiB,CAAC,4BAA4B,EAAE,mBAAmB,CAAC,EAC1E,CAAC;QACD,GAAG,CACD,qDAAqD,EACrD,4BAA4B,EAC5B,mBAAmB,CACpB,CAAC;QACF,OAAO,CAAC,oBAAoB,CAAC;YAC3B,mBAAmB,EAAE,mBAAmB,CAAC,GAAG,CAAC,SAAS,CAAC,EAAE,CAAC,CAAC;gBACzD,SAAS;gBACT,cAAc,EAAE,KAAK;gBACrB,UAAU,EAAE,EAAE,CAAC,UAAU,CAAC,QAAQ;aACnC,CAAC,CAAC;SACJ,CAAC,CAAC;QACH,qBAAqB,CAAC,GAAG,CAAC,OAAO,EAAE,mBAAmB,CAAC,CAAC;QACxD,GAAG,CAAC,mCAAmC,EAAE,mBAAmB,CAAC,CAAC;IAChE,CAAC;AACH,CAAC,CAAC;AAEF,SAAS,gCAAgC,CACvC,0BAAuC,EACvC,uBAAgC,EAChC,gBAAwB,EACxB,aAA6C,EAC7C,eAAuC;IAEvC,MAAM,MAAM,GAAG,4BAA4B,EAAE,CAAC;IAE9C,GAAG,CAAC,gDAAgD,EAAE,MAAM,CAAC,CAAC;IAE9D,GAAG,CACD,4DAA4D,EAC5D,uBAAuB,EACvB,MAAM,CAAC,cAAc,CACtB,CAAC;IAEF,IAAI,MAAM,CAAC,cAAc,EAAE,CAAC;QAC1B,IAAI,uBAAuB,EAAE,CAAC;YAC5B,MAAM,IAAI,KAAK,CACb,GAAG,aAAa,CAAC,QAAQ,gIAAgI,CAC1J,CAAC;QACJ,CAAC;IACH,CAAC;SAAM,CAAC;QACN,MAAM,WAAW,GAAG,GAAG,aAAa,CAAC,QAAQ,uCAAuC,CAAC;QAErF,MAAM,aAAa,GAAG,mBAAI,CAAC,OAAO,CAAC,aAAa,CAAC,QAAQ,CAAC,CAAC;QAC3D,MAAM,mBAAmB,GAAG,aAAa,CAAC,mBAAmB,CAAC;QAC9D,IACE,CAAC,sCAA6B,CAAC,GAAG,CAAC,aAAa,CAAC;YACjD,CAAC,mBAAmB,CAAC,QAAQ,CAAC,aAAa,CAAC,EAC5C,CAAC;YACD,MAAM,cAAc,GAAG,GAAG,WAAW,0CAA0C,aAAa,qBAAqB,CAAC;YAClH,IAAI,mBAAmB,CAAC,MAAM,GAAG,CAAC,EAAE,CAAC;gBACnC,MAAM,IAAI,KAAK,CACb,GAAG,cAAc,8EAA8E,CAChG,CAAC;YACJ,CAAC;iBAAM,CAAC;gBACN,MAAM,IAAI,KAAK,CACb,GAAG,cAAc,wEAAwE,CAC1F,CAAC;YACJ,CAAC;QACH,CAAC;QAED,IAAI,CAAC,uBAAuB,EAAE,CAAC;YAC7B,MAAM,IAAI,KAAK,CACb,GAAG,WAAW,6FAA6F,CAC5G,CAAC;QACJ,CAAC;IACH,CAAC;IAED,yEAAyE;IACzE,wEAAwE;IACxE,IAAI,CAAC,MAAM,CAAC,cAAc,EAAE,CAAC;QAC3B,0BAA0B,CAAC,GAAG,CAAC,gBAAgB,CAAC,CAAC;QACjD,IACE,0BAA0B,CAAC,IAAI;YAC/B,eAAe,CAAC,mCAAmC,EACnD,CAAC;YACD,MAAM,cAAc,GAAG,EAAE,CAAC;YAC1B,MAAM,YAAY,GAAG,CAAC,GAAG,0BAA0B,CAAC,CAAC,KAAK,CACxD,CAAC,EACD,cAAc,CACf,CAAC;YACF,MAAM,kBAAkB,GACtB,0BAA0B,CAAC,IAAI,GAAG,YAAY,CAAC,MAAM,CAAC;YAExD,MAAM,IAAI,KAAK,CACb,oBAAoB,eAAe,CAAC,mCAAmC,sCAAsC,4EAAuC;;EAE1J,YAAY,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE,CAAC,KAAK,IAAI,EAAE,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC;EAChD,kBAAkB,CAAC,CAAC,CAAC,UAAU,kBAAkB,eAAe,CAAC,CAAC,CAAC,EAAE;;CAEtE,CACM,CAAC;QACJ,CAAC;IACH,CAAC;IAED,OAAO,MAAM,CAAC;IAEd,SAAS,cAAc;QACrB,OAAO,eAAe,CAAC,OAAO,CAAC,cAAc,CAC3C,gBAAgB,EAChB,aAAa,CAAC,YAAY;QAC1B,gBAAgB,CAAC,SAAS,EAC1B,aAAa,CAAC,eAAe,CAC9B,CAAC;IACJ,CAAC;IAED,SAAS,4BAA4B;QACnC,GAAG,CAAC,iDAAiD,EAAE,gBAAgB,CAAC,CAAC;QAEzE,IAAI,MAAM,GAAG,cAAc,EAAE,CAAC;QAE9B,oEAAoE;QACpE,4DAA4D;QAC5D,yEAAyE;QACzE,IACE,CAAC,MAAM,CAAC,gBAAgB;YACxB,CAAC,MAAM,CAAC,cAAc;YACtB,CAAC,aAAa,CAAC,SAAS;YACxB,CAAC,uBAAuB;YACxB,WAAW,CAAC,GAAG,EAAE,GAAG,eAAe,CAAC,mBAAmB;gBACrD,kBAAkB,EACpB,CAAC;YACD,GAAG,CAAC,+DAA+D,CAAC,CAAC;YACrE,eAAe,CAAC,OAAO,CAAC,cAAc,EAAE,CAAC;YACzC,MAAM,GAAG,cAAc,EAAE,CAAC;YAC1B,eAAe,CAAC,mBAAmB,GAAG,WAAW,CAAC,GAAG,EAAE,CAAC;QAC1D,CAAC;QAED,OAAO,MAAM,CAAC;IAChB,CAAC;AACH,CAAC;AAED,SAAS,iCAAiC,CACxC,gBAAwB,EACxB,aAA6C,EAC7C,OAAiC;IAEjC,GAAG,CAAC,gEAAgE,CAAC,CAAC;IAEtE,4EAA4E;IAC5E,yBAAyB;IACzB,+GAA+G;IAC/G,iHAAiH;IACjH,IAAI,OAAO,CAAC,aAAa,CAAC,gBAAgB,CAAC,EAAE,CAAC;QAC5C,GAAG,CAAC,gEAAgE,CAAC,CAAC;QACtE,OAAO,CAAC,cAAc,CACpB,gBAAgB,EAChB,aAAa,CAAC,YAAY;QAC1B,gBAAgB,CAAC,SAAS,EAC1B,aAAa,CAAC,eAAe,CAC9B,CAAC;IACJ,CAAC;IAED,OAAO,IAAA,kCAAe,EAAC,aAAa,CAAC,CAAC;AACxC,CAAC;AAED,SAAS,wBAAwB,CAC/B,gBAAwB,EACxB,aAA6C,EAC7C,eAAuC;IAEvC,GAAG,CAAC,iDAAiD,EAAE,gBAAgB,CAAC,CAAC;IAEzE,MAAM,UAAU,GAAG,eAAe,CAAC,OAAO,CAAC,aAAa,CAAC,gBAAgB,CAAC,CAAC;IAC3E,6DAA6D;IAC7D,MAAM,OAAO,GAAG,eAAe,CAAC,OAAO;SACpC,wBAAwB,CAAC,UAAW,CAAC,QAAQ,EAAE,IAAI,CAAE;SACrD,kBAAkB,CAAC,sBAAsB,CAAC,IAAI,CAAC;SAC/C,UAAU,EAAE,CAAC;IAChB,4DAA4D;IAE5D,IAAI,CAAC,OAAO,EAAE,CAAC;QACb,GAAG,CAAC,gDAAgD,EAAE,gBAAgB,CAAC,CAAC;QACxE,OAAO,SAAS,CAAC;IACnB,CAAC;IAED,GAAG,CAAC,uCAAuC,EAAE,gBAAgB,CAAC,CAAC;IAE/D,OAAO,IAAA,2CAAoB,EAAC,aAAa,EAAE,CAAC,OAAO,CAAC,CAAC,CAAC;AACxD,CAAC;AAoBD,SAAgB,4BAA4B,CAC1C,eAAuC,EACvC,aAA6C,EAC7C,sBAA+B,EAC/B,0BAAuC;IAEvC,iEAAiE;IACjE,yBAAyB,CACvB,eAAe,CAAC,OAAO,EACvB,aAAa,CAAC,mBAAmB,CAClC,CAAC;IAEF,iFAAiF;IACjF,yEAAyE;IACzE,MAAM,gBAAgB,GAAG,UAAU,CAAC,aAAa,CAAC,QAAQ,EAAE,eAAe,CAAC,CAAC;IAC7E,GAAG,CACD,0DAA0D,EAC1D,aAAa,CAAC,QAAQ,EACtB,gBAAgB,CACjB,CAAC;IAEF,MAAM,gBAAgB,GAAG,mBAAI,CAAC,QAAQ,CACpC,aAAa,CAAC,eAAe,EAC7B,gBAAgB,CACjB,CAAC;IACF,MAAM,uBAAuB,GAAG,iBAAiB,CAC/C,gBAAgB,EAChB,eAAe,CAAC,mBAAmB,CACpC,CAAC;IAEF,gDAAgD;IAChD,mEAAmE;IACnE,IAAI,CAAC,sBAAsB,IAAI,CAAC,uBAAuB,EAAE,CAAC;QACxD,OAAO,iCAAiC,CACtC,gBAAgB,EAChB,aAAa,EACb,eAAe,CAAC,OAAO,CACxB,CAAC;IACJ,CAAC;IAED,4EAA4E;IAC5E,0CAA0C;IAC1C,iDAAiD;IACjD,6DAA6D;IAC7D,4EAA4E;IAC5E,MAAM,MAAM,GACV,sBAAsB;QACtB,gCAAgC,CAC9B,0BAA0B,EAC1B,uBAAuB,EACvB,gBAAgB,EAChB,aAAa,EACb,eAAe,CAChB,CAAC;IAEJ,GAAG,CAAC,iCAAiC,EAAE,MAAM,CAAC,CAAC;IAE/C,OAAO,wBAAwB,CAC7B,gBAAgB,EAChB,aAAa,EACb,eAAe,CAChB,CAAC;AACJ,CAAC;AAED,SAAS,UAAU,CACjB,QAAgB,EAChB,eAAuC;IAEvC,OAAO,mBAAI,CAAC,UAAU,CAAC,QAAQ,CAAC;QAC9B,CAAC,CAAC,QAAQ;QACV,CAAC,CAAC,mBAAI,CAAC,IAAI,CAAC,eAAe,CAAC,OAAO,CAAC,IAAI,CAAC,mBAAmB,EAAE,EAAE,QAAQ,CAAC,CAAC;AAC9E,CAAC;AAED,SAAS,iBAAiB,CACxB,QAAgB,EAChB,mBAAyC;IAEzC,OAAO,CAAC,CAAC,mBAAmB,EAAE,IAAI,CAAC,OAAO,CAAC,EAAE,CAAC,IAAA,qBAAS,EAAC,QAAQ,EAAE,OAAO,CAAC,CAAC,CAAC;AAC9E,CAAC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/typescript-estree/dist/version-check.js b/node_modules/@typescript-eslint/typescript-estree/dist/version-check.js index cfc06ca17e..2e93b9efe5 100644 --- a/node_modules/@typescript-eslint/typescript-estree/dist/version-check.js +++ b/node_modules/@typescript-eslint/typescript-estree/dist/version-check.js @@ -15,13 +15,23 @@ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? ( }) : function(o, v) { o["default"] = v; }); -var __importStar = (this && this.__importStar) || function (mod) { - if (mod && mod.__esModule) return mod; - var result = {}; - if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k); - __setModuleDefault(result, mod); - return result; -}; +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); Object.defineProperty(exports, "__esModule", { value: true }); exports.typescriptVersionIsAtLeast = void 0; const semver = __importStar(require("semver")); diff --git a/node_modules/@typescript-eslint/typescript-estree/dist/version-check.js.map b/node_modules/@typescript-eslint/typescript-estree/dist/version-check.js.map index 8ba79e7f82..9690e042e2 100644 --- a/node_modules/@typescript-eslint/typescript-estree/dist/version-check.js.map +++ b/node_modules/@typescript-eslint/typescript-estree/dist/version-check.js.map @@ -1 +1 @@ -{"version":3,"file":"version-check.js","sourceRoot":"","sources":["../src/version-check.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,+CAAiC;AACjC,+CAAiC;AAEjC,SAAS,WAAW,CAAC,OAAe;IAClC,OAAO,MAAM,CAAC,SAAS,CACrB,EAAE,CAAC,OAAO,EACV,MAAM,OAAO,YAAY,OAAO,eAAe,OAAO,SAAS,EAC/D;QACE,iBAAiB,EAAE,IAAI;KACxB,CACF,CAAC;AACJ,CAAC;AAED,MAAM,QAAQ,GAAG;IACf,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;CACG,CAAC;AAGX,MAAM,0BAA0B,GAAG,EAA+B,CAAC;AAK1D,gEAA0B;AAJnC,KAAK,MAAM,OAAO,IAAI,QAAQ,EAAE,CAAC;IAC/B,0BAA0B,CAAC,OAAO,CAAC,GAAG,WAAW,CAAC,OAAO,CAAC,CAAC;AAC7D,CAAC"} \ No newline at end of file +{"version":3,"file":"version-check.js","sourceRoot":"","sources":["../src/version-check.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,+CAAiC;AACjC,+CAAiC;AAEjC,SAAS,WAAW,CAAC,OAAe;IAClC,OAAO,MAAM,CAAC,SAAS,CACrB,EAAE,CAAC,OAAO,EACV,MAAM,OAAO,YAAY,OAAO,eAAe,OAAO,SAAS,EAC/D;QACE,iBAAiB,EAAE,IAAI;KACxB,CACF,CAAC;AACJ,CAAC;AAED,MAAM,QAAQ,GAAG;IACf,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;CACG,CAAC;AAGX,MAAM,0BAA0B,GAAG,EAA+B,CAAC;AAK1D,gEAA0B;AAJnC,KAAK,MAAM,OAAO,IAAI,QAAQ,EAAE,CAAC;IAC/B,0BAA0B,CAAC,OAAO,CAAC,GAAG,WAAW,CAAC,OAAO,CAAC,CAAC;AAC7D,CAAC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/typescript-estree/package.json b/node_modules/@typescript-eslint/typescript-estree/package.json index 1eeac59175..e3e90eab36 100644 --- a/node_modules/@typescript-eslint/typescript-estree/package.json +++ b/node_modules/@typescript-eslint/typescript-estree/package.json @@ -1,6 +1,6 @@ { "name": "@typescript-eslint/typescript-estree", - "version": "8.15.0", + "version": "8.16.0", "description": "A parser that converts TypeScript source code into an ESTree compatible form", "files": [ "dist", @@ -54,8 +54,8 @@ "typecheck": "tsc --noEmit" }, "dependencies": { - "@typescript-eslint/types": "8.15.0", - "@typescript-eslint/visitor-keys": "8.15.0", + "@typescript-eslint/types": "8.16.0", + "@typescript-eslint/visitor-keys": "8.16.0", "debug": "^4.3.4", "fast-glob": "^3.3.2", "is-glob": "^4.0.3", diff --git a/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/PatternMatcher.js b/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/PatternMatcher.js index 1e2e87c839..0ffeb5e90b 100644 --- a/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/PatternMatcher.js +++ b/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/PatternMatcher.js @@ -15,13 +15,23 @@ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? ( }) : function(o, v) { o["default"] = v; }); -var __importStar = (this && this.__importStar) || function (mod) { - if (mod && mod.__esModule) return mod; - var result = {}; - if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k); - __setModuleDefault(result, mod); - return result; -}; +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); Object.defineProperty(exports, "__esModule", { value: true }); exports.PatternMatcher = void 0; const eslintUtils = __importStar(require("@eslint-community/eslint-utils")); diff --git a/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/PatternMatcher.js.map b/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/PatternMatcher.js.map index 5e2bb4a489..19a3c9037e 100644 --- a/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/PatternMatcher.js.map +++ b/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/PatternMatcher.js.map @@ -1 +1 @@ -{"version":3,"file":"PatternMatcher.js","sourceRoot":"","sources":["../../../src/ast-utils/eslint-utils/PatternMatcher.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,4EAA8D;AA6C9D;;;;;GAKG;AACH,MAAM,cAAc,GAAG,WAAW,CAAC,cAGhB,CAAC;AAEX,wCAAc"} \ No newline at end of file +{"version":3,"file":"PatternMatcher.js","sourceRoot":"","sources":["../../../src/ast-utils/eslint-utils/PatternMatcher.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,4EAA8D;AA6C9D;;;;;GAKG;AACH,MAAM,cAAc,GAAG,WAAW,CAAC,cAGhB,CAAC;AAEX,wCAAc"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/ReferenceTracker.js b/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/ReferenceTracker.js index 3123c64de9..11b6675bd0 100644 --- a/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/ReferenceTracker.js +++ b/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/ReferenceTracker.js @@ -15,13 +15,23 @@ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? ( }) : function(o, v) { o["default"] = v; }); -var __importStar = (this && this.__importStar) || function (mod) { - if (mod && mod.__esModule) return mod; - var result = {}; - if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k); - __setModuleDefault(result, mod); - return result; -}; +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); Object.defineProperty(exports, "__esModule", { value: true }); exports.ReferenceTracker = void 0; /* eslint-disable @typescript-eslint/no-namespace */ diff --git a/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/ReferenceTracker.js.map b/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/ReferenceTracker.js.map index c211966660..1f90c3bddb 100644 --- a/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/ReferenceTracker.js.map +++ b/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/ReferenceTracker.js.map @@ -1 +1 @@ -{"version":3,"file":"ReferenceTracker.js","sourceRoot":"","sources":["../../../src/ast-utils/eslint-utils/ReferenceTracker.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,oDAAoD;AACpD,4EAA8D;AAK9D,MAAM,oBAAoB,GAAkB,WAAW,CAAC,gBAAgB,CAAC,IAAI,CAAC;AAC9E,MAAM,oBAAoB,GAAkB,WAAW,CAAC,gBAAgB,CAAC,IAAI,CAAC;AAC9E,MAAM,yBAAyB,GAC7B,WAAW,CAAC,gBAAgB,CAAC,SAAS,CAAC;AACzC,MAAM,mBAAmB,GAAkB,WAAW,CAAC,gBAAgB,CAAC,GAAG,CAAC;AAiF5E;;;;GAIG;AACH,MAAM,gBAAgB,GAAG,WAAW,CAAC,gBAA0C,CAAC;AAEvE,4CAAgB"} \ No newline at end of file +{"version":3,"file":"ReferenceTracker.js","sourceRoot":"","sources":["../../../src/ast-utils/eslint-utils/ReferenceTracker.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,oDAAoD;AACpD,4EAA8D;AAK9D,MAAM,oBAAoB,GAAkB,WAAW,CAAC,gBAAgB,CAAC,IAAI,CAAC;AAC9E,MAAM,oBAAoB,GAAkB,WAAW,CAAC,gBAAgB,CAAC,IAAI,CAAC;AAC9E,MAAM,yBAAyB,GAC7B,WAAW,CAAC,gBAAgB,CAAC,SAAS,CAAC;AACzC,MAAM,mBAAmB,GAAkB,WAAW,CAAC,gBAAgB,CAAC,GAAG,CAAC;AAiF5E;;;;GAIG;AACH,MAAM,gBAAgB,GAAG,WAAW,CAAC,gBAA0C,CAAC;AAEvE,4CAAgB"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/astUtilities.js b/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/astUtilities.js index c3a9cc0166..ed81a599ee 100644 --- a/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/astUtilities.js +++ b/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/astUtilities.js @@ -15,13 +15,23 @@ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? ( }) : function(o, v) { o["default"] = v; }); -var __importStar = (this && this.__importStar) || function (mod) { - if (mod && mod.__esModule) return mod; - var result = {}; - if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k); - __setModuleDefault(result, mod); - return result; -}; +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); Object.defineProperty(exports, "__esModule", { value: true }); exports.isParenthesized = exports.hasSideEffect = exports.getStringIfConstant = exports.getStaticValue = exports.getPropertyName = exports.getFunctionNameWithKind = exports.getFunctionHeadLocation = void 0; const eslintUtils = __importStar(require("@eslint-community/eslint-utils")); diff --git a/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/astUtilities.js.map b/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/astUtilities.js.map index a29d60db40..eb2c0bda2b 100644 --- a/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/astUtilities.js.map +++ b/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/astUtilities.js.map @@ -1 +1 @@ -{"version":3,"file":"astUtilities.js","sourceRoot":"","sources":["../../../src/ast-utils/eslint-utils/astUtilities.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,4EAA8D;AAK9D;;;;GAIG;AACH,MAAM,uBAAuB,GAAG,WAAW,CAAC,uBAMhB,CAAC;AA8G3B,0DAAuB;AA5GzB;;;;GAIG;AACH,MAAM,uBAAuB,GAAG,WAAW,CAAC,uBAMjC,CAAC;AAkGV,0DAAuB;AAhGzB;;;;;;GAMG;AACH,MAAM,eAAe,GAAG,WAAW,CAAC,eAOlB,CAAC;AAmFjB,0CAAe;AAjFjB;;;;;;;;;;GAUG;AACH,MAAM,cAAc,GAAG,WAAW,CAAC,cAGL,CAAC;AAoE7B,wCAAc;AAlEhB;;;;;GAKG;AACH,MAAM,mBAAmB,GAAG,WAAW,CAAC,mBAGtB,CAAC;AA0DjB,kDAAmB;AAxDrB;;;;;;;;;;;;;;;;;;;;;;GAsBG;AACH,MAAM,aAAa,GAAG,WAAW,CAAC,aAOtB,CAAC;AA2BX,sCAAa;AAzBf,MAAM,eAAe,GAAG,WAAW,CAAC,eAiBnC,CAAC;AASA,0CAAe"} \ No newline at end of file +{"version":3,"file":"astUtilities.js","sourceRoot":"","sources":["../../../src/ast-utils/eslint-utils/astUtilities.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,4EAA8D;AAK9D;;;;GAIG;AACH,MAAM,uBAAuB,GAAG,WAAW,CAAC,uBAMhB,CAAC;AA8G3B,0DAAuB;AA5GzB;;;;GAIG;AACH,MAAM,uBAAuB,GAAG,WAAW,CAAC,uBAMjC,CAAC;AAkGV,0DAAuB;AAhGzB;;;;;;GAMG;AACH,MAAM,eAAe,GAAG,WAAW,CAAC,eAOlB,CAAC;AAmFjB,0CAAe;AAjFjB;;;;;;;;;;GAUG;AACH,MAAM,cAAc,GAAG,WAAW,CAAC,cAGL,CAAC;AAoE7B,wCAAc;AAlEhB;;;;;GAKG;AACH,MAAM,mBAAmB,GAAG,WAAW,CAAC,mBAGtB,CAAC;AA0DjB,kDAAmB;AAxDrB;;;;;;;;;;;;;;;;;;;;;;GAsBG;AACH,MAAM,aAAa,GAAG,WAAW,CAAC,aAOtB,CAAC;AA2BX,sCAAa;AAzBf,MAAM,eAAe,GAAG,WAAW,CAAC,eAiBnC,CAAC;AASA,0CAAe"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/predicates.js b/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/predicates.js index d5bdf56744..43592b3b00 100644 --- a/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/predicates.js +++ b/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/predicates.js @@ -15,13 +15,23 @@ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? ( }) : function(o, v) { o["default"] = v; }); -var __importStar = (this && this.__importStar) || function (mod) { - if (mod && mod.__esModule) return mod; - var result = {}; - if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k); - __setModuleDefault(result, mod); - return result; -}; +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); Object.defineProperty(exports, "__esModule", { value: true }); exports.isSemicolonToken = exports.isOpeningParenToken = exports.isOpeningBracketToken = exports.isOpeningBraceToken = exports.isNotSemicolonToken = exports.isNotOpeningParenToken = exports.isNotOpeningBracketToken = exports.isNotOpeningBraceToken = exports.isNotCommentToken = exports.isNotCommaToken = exports.isNotColonToken = exports.isNotClosingParenToken = exports.isNotClosingBracketToken = exports.isNotClosingBraceToken = exports.isNotArrowToken = exports.isCommentToken = exports.isCommaToken = exports.isColonToken = exports.isClosingParenToken = exports.isClosingBracketToken = exports.isClosingBraceToken = exports.isArrowToken = void 0; const eslintUtils = __importStar(require("@eslint-community/eslint-utils")); diff --git a/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/predicates.js.map b/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/predicates.js.map index 4ea48c457c..2bdead692a 100644 --- a/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/predicates.js.map +++ b/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/predicates.js.map @@ -1 +1 @@ -{"version":3,"file":"predicates.js","sourceRoot":"","sources":["../../../src/ast-utils/eslint-utils/predicates.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,4EAA8D;AAoB9D,MAAM,YAAY,GAChB,WAAW,CAAC,YAAwD,CAAC;AAuDrE,oCAAY;AAtDd,MAAM,eAAe,GACnB,WAAW,CAAC,eAA8D,CAAC;AA4D3E,0CAAe;AA1DjB,MAAM,mBAAmB,GACvB,WAAW,CAAC,mBAA8D,CAAC;AAmD3E,kDAAmB;AAlDrB,MAAM,sBAAsB,GAC1B,WAAW,CAAC,sBAAoE,CAAC;AAwDjF,wDAAsB;AAtDxB,MAAM,qBAAqB,GACzB,WAAW,CAAC,qBAAgE,CAAC;AA+C7E,sDAAqB;AA9CvB,MAAM,wBAAwB,GAC5B,WAAW,CAAC,wBAAsE,CAAC;AAoDnF,4DAAwB;AAlD1B,MAAM,mBAAmB,GACvB,WAAW,CAAC,mBAA8D,CAAC;AA2C3E,kDAAmB;AA1CrB,MAAM,sBAAsB,GAC1B,WAAW,CAAC,sBAAoE,CAAC;AAgDjF,wDAAsB;AA9CxB,MAAM,YAAY,GAChB,WAAW,CAAC,YAAuD,CAAC;AAuCpE,oCAAY;AAtCd,MAAM,eAAe,GACnB,WAAW,CAAC,eAA6D,CAAC;AA4C1E,0CAAe;AA1CjB,MAAM,YAAY,GAChB,WAAW,CAAC,YAAuD,CAAC;AAmCpE,oCAAY;AAlCd,MAAM,eAAe,GACnB,WAAW,CAAC,eAA6D,CAAC;AAwC1E,0CAAe;AAtCjB,MAAM,cAAc,GAClB,WAAW,CAAC,cAA2D,CAAC;AA+BxE,wCAAc;AA9BhB,MAAM,iBAAiB,GACrB,WAAW,CAAC,iBAAiE,CAAC;AAoC9E,8CAAiB;AAlCnB,MAAM,mBAAmB,GACvB,WAAW,CAAC,mBAA8D,CAAC;AAsC3E,kDAAmB;AArCrB,MAAM,sBAAsB,GAC1B,WAAW,CAAC,sBAAoE,CAAC;AAgCjF,wDAAsB;AA9BxB,MAAM,qBAAqB,GACzB,WAAW,CAAC,qBAAgE,CAAC;AAkC7E,sDAAqB;AAjCvB,MAAM,wBAAwB,GAC5B,WAAW,CAAC,wBAAsE,CAAC;AA4BnF,4DAAwB;AA1B1B,MAAM,mBAAmB,GACvB,WAAW,CAAC,mBAA8D,CAAC;AA8B3E,kDAAmB;AA7BrB,MAAM,sBAAsB,GAC1B,WAAW,CAAC,sBAAoE,CAAC;AAwBjF,wDAAsB;AAtBxB,MAAM,gBAAgB,GACpB,WAAW,CAAC,gBAA2D,CAAC;AA0BxE,4CAAgB;AAzBlB,MAAM,mBAAmB,GACvB,WAAW,CAAC,mBAAiE,CAAC;AAoB9E,kDAAmB"} \ No newline at end of file +{"version":3,"file":"predicates.js","sourceRoot":"","sources":["../../../src/ast-utils/eslint-utils/predicates.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,4EAA8D;AAoB9D,MAAM,YAAY,GAChB,WAAW,CAAC,YAAwD,CAAC;AAuDrE,oCAAY;AAtDd,MAAM,eAAe,GACnB,WAAW,CAAC,eAA8D,CAAC;AA4D3E,0CAAe;AA1DjB,MAAM,mBAAmB,GACvB,WAAW,CAAC,mBAA8D,CAAC;AAmD3E,kDAAmB;AAlDrB,MAAM,sBAAsB,GAC1B,WAAW,CAAC,sBAAoE,CAAC;AAwDjF,wDAAsB;AAtDxB,MAAM,qBAAqB,GACzB,WAAW,CAAC,qBAAgE,CAAC;AA+C7E,sDAAqB;AA9CvB,MAAM,wBAAwB,GAC5B,WAAW,CAAC,wBAAsE,CAAC;AAoDnF,4DAAwB;AAlD1B,MAAM,mBAAmB,GACvB,WAAW,CAAC,mBAA8D,CAAC;AA2C3E,kDAAmB;AA1CrB,MAAM,sBAAsB,GAC1B,WAAW,CAAC,sBAAoE,CAAC;AAgDjF,wDAAsB;AA9CxB,MAAM,YAAY,GAChB,WAAW,CAAC,YAAuD,CAAC;AAuCpE,oCAAY;AAtCd,MAAM,eAAe,GACnB,WAAW,CAAC,eAA6D,CAAC;AA4C1E,0CAAe;AA1CjB,MAAM,YAAY,GAChB,WAAW,CAAC,YAAuD,CAAC;AAmCpE,oCAAY;AAlCd,MAAM,eAAe,GACnB,WAAW,CAAC,eAA6D,CAAC;AAwC1E,0CAAe;AAtCjB,MAAM,cAAc,GAClB,WAAW,CAAC,cAA2D,CAAC;AA+BxE,wCAAc;AA9BhB,MAAM,iBAAiB,GACrB,WAAW,CAAC,iBAAiE,CAAC;AAoC9E,8CAAiB;AAlCnB,MAAM,mBAAmB,GACvB,WAAW,CAAC,mBAA8D,CAAC;AAsC3E,kDAAmB;AArCrB,MAAM,sBAAsB,GAC1B,WAAW,CAAC,sBAAoE,CAAC;AAgCjF,wDAAsB;AA9BxB,MAAM,qBAAqB,GACzB,WAAW,CAAC,qBAAgE,CAAC;AAkC7E,sDAAqB;AAjCvB,MAAM,wBAAwB,GAC5B,WAAW,CAAC,wBAAsE,CAAC;AA4BnF,4DAAwB;AA1B1B,MAAM,mBAAmB,GACvB,WAAW,CAAC,mBAA8D,CAAC;AA8B3E,kDAAmB;AA7BrB,MAAM,sBAAsB,GAC1B,WAAW,CAAC,sBAAoE,CAAC;AAwBjF,wDAAsB;AAtBxB,MAAM,gBAAgB,GACpB,WAAW,CAAC,gBAA2D,CAAC;AA0BxE,4CAAgB;AAzBlB,MAAM,mBAAmB,GACvB,WAAW,CAAC,mBAAiE,CAAC;AAoB9E,kDAAmB"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/scopeAnalysis.js b/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/scopeAnalysis.js index 2cb15275a8..a57ab9241a 100644 --- a/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/scopeAnalysis.js +++ b/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/scopeAnalysis.js @@ -15,13 +15,23 @@ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? ( }) : function(o, v) { o["default"] = v; }); -var __importStar = (this && this.__importStar) || function (mod) { - if (mod && mod.__esModule) return mod; - var result = {}; - if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k); - __setModuleDefault(result, mod); - return result; -}; +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); Object.defineProperty(exports, "__esModule", { value: true }); exports.getInnermostScope = exports.findVariable = void 0; const eslintUtils = __importStar(require("@eslint-community/eslint-utils")); diff --git a/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/scopeAnalysis.js.map b/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/scopeAnalysis.js.map index 800ecf8670..5f92dc9416 100644 --- a/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/scopeAnalysis.js.map +++ b/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/scopeAnalysis.js.map @@ -1 +1 @@ -{"version":3,"file":"scopeAnalysis.js","sourceRoot":"","sources":["../../../src/ast-utils/eslint-utils/scopeAnalysis.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,4EAA8D;AAK9D;;;;GAIG;AACH,MAAM,YAAY,GAAG,WAAW,CAAC,YAGE,CAAC;AAc3B,oCAAY;AAZrB;;;;;;GAMG;AACH,MAAM,iBAAiB,GAAG,WAAW,CAAC,iBAGb,CAAC;AAEH,8CAAiB"} \ No newline at end of file +{"version":3,"file":"scopeAnalysis.js","sourceRoot":"","sources":["../../../src/ast-utils/eslint-utils/scopeAnalysis.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,4EAA8D;AAK9D;;;;GAIG;AACH,MAAM,YAAY,GAAG,WAAW,CAAC,YAGE,CAAC;AAc3B,oCAAY;AAZrB;;;;;;GAMG;AACH,MAAM,iBAAiB,GAAG,WAAW,CAAC,iBAGb,CAAC;AAEH,8CAAiB"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/utils/dist/ast-utils/predicates.d.ts b/node_modules/@typescript-eslint/utils/dist/ast-utils/predicates.d.ts index baa42deee0..39b496ae50 100644 --- a/node_modules/@typescript-eslint/utils/dist/ast-utils/predicates.d.ts +++ b/node_modules/@typescript-eslint/utils/dist/ast-utils/predicates.d.ts @@ -2,15 +2,11 @@ import type { TSESTree } from '../ts-estree'; declare const isOptionalChainPunctuator: (token: TSESTree.Token | null | undefined) => token is { value: "?."; } & TSESTree.PunctuatorToken; -declare const isNotOptionalChainPunctuator: (token: TSESTree.Token | null | undefined) => token is Exclude; +declare const isNotOptionalChainPunctuator: (token: TSESTree.Token | null | undefined) => token is TSESTree.BooleanToken | TSESTree.BlockComment | TSESTree.LineComment | TSESTree.IdentifierToken | TSESTree.JSXIdentifierToken | TSESTree.JSXTextToken | TSESTree.KeywordToken | TSESTree.NullToken | TSESTree.NumericToken | TSESTree.PunctuatorToken | TSESTree.RegularExpressionToken | TSESTree.StringToken | TSESTree.TemplateToken; declare const isNonNullAssertionPunctuator: (token: TSESTree.Token | null | undefined) => token is { value: "!"; } & TSESTree.PunctuatorToken; -declare const isNotNonNullAssertionPunctuator: (token: TSESTree.Token | null | undefined) => token is Exclude; +declare const isNotNonNullAssertionPunctuator: (token: TSESTree.Token | null | undefined) => token is TSESTree.BooleanToken | TSESTree.BlockComment | TSESTree.LineComment | TSESTree.IdentifierToken | TSESTree.JSXIdentifierToken | TSESTree.JSXTextToken | TSESTree.KeywordToken | TSESTree.NullToken | TSESTree.NumericToken | TSESTree.PunctuatorToken | TSESTree.RegularExpressionToken | TSESTree.StringToken | TSESTree.TemplateToken; /** * Returns true if and only if the node represents: foo?.() or foo.bar?.() */ @@ -28,30 +24,14 @@ declare const isLogicalOrOperator: (node: TSESTree.Node | null | undefined) => n * x * ``` */ -declare const isTypeAssertion: (node: TSESTree.Node | null | undefined) => node is Extract; -declare const isVariableDeclarator: (node: TSESTree.Node | null | undefined) => node is Extract; -declare const isFunction: (node: TSESTree.Node | null | undefined) => node is Extract; -declare const isFunctionType: (node: TSESTree.Node | null | undefined) => node is Extract; -declare const isFunctionOrFunctionType: (node: TSESTree.Node | null | undefined) => node is Extract; -declare const isTSFunctionType: (node: TSESTree.Node | null | undefined) => node is Extract; -declare const isTSConstructorType: (node: TSESTree.Node | null | undefined) => node is Extract; -declare const isClassOrTypeElement: (node: TSESTree.Node | null | undefined) => node is Extract; +declare const isTypeAssertion: (node: TSESTree.Node | null | undefined) => node is TSESTree.TSAsExpression | TSESTree.TSTypeAssertion; +declare const isVariableDeclarator: (node: TSESTree.Node | null | undefined) => node is TSESTree.VariableDeclaratorDefiniteAssignment | TSESTree.VariableDeclaratorMaybeInit | TSESTree.VariableDeclaratorNoInit | TSESTree.UsingInForOfDeclarator | TSESTree.UsingInNormalContextDeclarator; +declare const isFunction: (node: TSESTree.Node | null | undefined) => node is TSESTree.ArrowFunctionExpression | TSESTree.FunctionDeclarationWithName | TSESTree.FunctionDeclarationWithOptionalName | TSESTree.FunctionExpression; +declare const isFunctionType: (node: TSESTree.Node | null | undefined) => node is TSESTree.TSCallSignatureDeclaration | TSESTree.TSConstructorType | TSESTree.TSConstructSignatureDeclaration | TSESTree.TSDeclareFunctionNoDeclare | TSESTree.TSDeclareFunctionWithDeclare | TSESTree.TSEmptyBodyFunctionExpression | TSESTree.TSFunctionType | TSESTree.TSMethodSignatureComputedName | TSESTree.TSMethodSignatureNonComputedName; +declare const isFunctionOrFunctionType: (node: TSESTree.Node | null | undefined) => node is TSESTree.ArrowFunctionExpression | TSESTree.FunctionDeclarationWithName | TSESTree.FunctionDeclarationWithOptionalName | TSESTree.FunctionExpression | TSESTree.TSCallSignatureDeclaration | TSESTree.TSConstructorType | TSESTree.TSConstructSignatureDeclaration | TSESTree.TSDeclareFunctionNoDeclare | TSESTree.TSDeclareFunctionWithDeclare | TSESTree.TSEmptyBodyFunctionExpression | TSESTree.TSFunctionType | TSESTree.TSMethodSignatureComputedName | TSESTree.TSMethodSignatureNonComputedName; +declare const isTSFunctionType: (node: TSESTree.Node | null | undefined) => node is TSESTree.TSFunctionType; +declare const isTSConstructorType: (node: TSESTree.Node | null | undefined) => node is TSESTree.TSConstructorType; +declare const isClassOrTypeElement: (node: TSESTree.Node | null | undefined) => node is TSESTree.FunctionExpression | TSESTree.MethodDefinitionComputedName | TSESTree.MethodDefinitionNonComputedName | TSESTree.PropertyDefinitionComputedName | TSESTree.PropertyDefinitionNonComputedName | TSESTree.TSAbstractMethodDefinitionComputedName | TSESTree.TSAbstractMethodDefinitionNonComputedName | TSESTree.TSAbstractPropertyDefinitionComputedName | TSESTree.TSAbstractPropertyDefinitionNonComputedName | TSESTree.TSCallSignatureDeclaration | TSESTree.TSConstructSignatureDeclaration | TSESTree.TSEmptyBodyFunctionExpression | TSESTree.TSIndexSignature | TSESTree.TSMethodSignatureComputedName | TSESTree.TSMethodSignatureNonComputedName | TSESTree.TSPropertySignatureComputedName | TSESTree.TSPropertySignatureNonComputedName; /** * Checks if a node is a constructor method. */ @@ -62,15 +42,11 @@ declare const isConstructor: (node: TSESTree.Node | null | undefined) => node is declare function isSetter(node: TSESTree.Node | undefined): node is { kind: 'set'; } & (TSESTree.MethodDefinition | TSESTree.Property); -declare const isIdentifier: (node: TSESTree.Node | null | undefined) => node is Extract; +declare const isIdentifier: (node: TSESTree.Node | null | undefined) => node is TSESTree.Identifier; /** * Checks if a node represents an `await …` expression. */ -declare const isAwaitExpression: (node: TSESTree.Node | null | undefined) => node is Extract; +declare const isAwaitExpression: (node: TSESTree.Node | null | undefined) => node is TSESTree.AwaitExpression; /** * Checks if a possible token is the `await` keyword. */ @@ -89,8 +65,6 @@ declare const isTypeKeyword: (token: TSESTree.Token | null | undefined) => token declare const isImportKeyword: (token: TSESTree.Token | null | undefined) => token is { value: "import"; } & TSESTree.KeywordToken; -declare const isLoop: (node: TSESTree.Node | null | undefined) => node is Extract; +declare const isLoop: (node: TSESTree.Node | null | undefined) => node is TSESTree.DoWhileStatement | TSESTree.ForInStatement | TSESTree.ForOfStatement | TSESTree.ForStatement | TSESTree.WhileStatement; export { isAwaitExpression, isAwaitKeyword, isClassOrTypeElement, isConstructor, isFunction, isFunctionOrFunctionType, isFunctionType, isIdentifier, isImportKeyword, isLogicalOrOperator, isLoop, isNonNullAssertionPunctuator, isNotNonNullAssertionPunctuator, isNotOptionalChainPunctuator, isOptionalCallExpression, isOptionalChainPunctuator, isSetter, isTSConstructorType, isTSFunctionType, isTypeAssertion, isTypeKeyword, isVariableDeclarator, }; //# sourceMappingURL=predicates.d.ts.map \ No newline at end of file diff --git a/node_modules/@typescript-eslint/utils/dist/ast-utils/predicates.d.ts.map b/node_modules/@typescript-eslint/utils/dist/ast-utils/predicates.d.ts.map index 955c2aef22..c48d01b901 100644 --- a/node_modules/@typescript-eslint/utils/dist/ast-utils/predicates.d.ts.map +++ b/node_modules/@typescript-eslint/utils/dist/ast-utils/predicates.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"predicates.d.ts","sourceRoot":"","sources":["../../src/ast-utils/predicates.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AAW7C,QAAA,MAAM,yBAAyB,UA6DvB,SAAU,KAAK;;4BA1DtB,CAAC;AAEF,QAAA,MAAM,4BAA4B,UA6EJ,SAC3B,KAAK,yCACU,SAAS,KAAK;;6BA5E/B,CAAC;AAEF,QAAA,MAAM,4BAA4B,UAmD1B,SAAU,KAAK;;4BAhDtB,CAAC;AAEF,QAAA,MAAM,+BAA+B,UAmEP,SAC3B,KAAK,yCACU,SAAS,KAAK;;6BAlE/B,CAAC;AAEF;;GAEG;AACH,QAAA,MAAM,wBAAwB,SAGpB,SAAS,IAAI;;2BAEtB,CAAC;AAEF;;GAEG;AACH,QAAA,MAAM,mBAAmB,SAPf,SAAS,IAAI,gGAUtB,CAAC;AAEF;;;;;;GAMG;AACH,QAAA,MAAM,eAAe,SAlCN,SAAU,IAAI,wCAIV,SAAS,IAAI;;EAiCrB,CAAC;AAEZ,QAAA,MAAM,oBAAoB,SAjDT,SAAU,IAC1B,wCAGmB,SAAS,IAAI;;EA6C2C,CAAC;AAO7E,QAAA,MAAM,UAAU,SA9CD,SAAU,IAAI,wCAIV,SAAS,IAAI;;EA0Ce,CAAC;AAWhD,QAAA,MAAM,cAAc,SAzDL,SAAU,IAAI,wCAIV,SAAS,IAAI;;EAqDuB,CAAC;AAExD,QAAA,MAAM,wBAAwB,SA3Df,SAAU,IAAI,wCAIV,SAAS,IAAI;;EA0DrB,CAAC;AAEZ,QAAA,MAAM,gBAAgB,SA1EL,SAAU,IAC1B,wCAGmB,SAAS,IAAI;;EAsEmC,CAAC;AAErE,QAAA,MAAM,mBAAmB,SA5ER,SAAU,IAC1B,wCAGmB,SAAS,IAAI;;EAwEyC,CAAC;AAE3E,QAAA,MAAM,oBAAoB,SApEX,SAAU,IAAI,wCAIV,SAAS,IAAI;;EA+ErB,CAAC;AAEZ;;GAEG;AACH,QAAA,MAAM,aAAa,SAzET,SAAS,IAAI,8MA4EtB,CAAC;AAEF;;GAEG;AACH,iBAAS,QAAQ,CACf,IAAI,EAAE,QAAQ,CAAC,IAAI,GAAG,SAAS,GAC9B,IAAI,IAAI;IAAE,IAAI,EAAE,KAAK,CAAA;CAAE,GAAG,CAAC,QAAQ,CAAC,gBAAgB,GAAG,QAAQ,CAAC,QAAQ,CAAC,CAO3E;AAED,QAAA,MAAM,YAAY,SArHD,SAAU,IAC1B,wCAGmB,SAAS,IAAI;;EAiH2B,CAAC;AAE7D;;GAEG;AACH,QAAA,MAAM,iBAAiB,SA1HN,SAAU,IAC1B,wCAGmB,SAAS,IAAI;;EAsHqC,CAAC;AAEvE;;GAEG;AACH,QAAA,MAAM,cAAc,UAnEZ,SAAU,KAAK;;4BAqErB,CAAC;AAEH;;GAEG;AACH,QAAA,MAAM,aAAa,UA1EX,SAAU,KAAK;;4BA4ErB,CAAC;AAEH;;GAEG;AACH,QAAA,MAAM,eAAe,UAjFb,SAAU,KAAK;;yBAmFrB,CAAC;AAEH,QAAA,MAAM,MAAM,SAvIG,SAAU,IAAI,wCAIV,SAAS,IAAI;;EAyIrB,CAAC;AAEZ,OAAO,EACL,iBAAiB,EACjB,cAAc,EACd,oBAAoB,EACpB,aAAa,EACb,UAAU,EACV,wBAAwB,EACxB,cAAc,EACd,YAAY,EACZ,eAAe,EACf,mBAAmB,EACnB,MAAM,EACN,4BAA4B,EAC5B,+BAA+B,EAC/B,4BAA4B,EAC5B,wBAAwB,EACxB,yBAAyB,EACzB,QAAQ,EACR,mBAAmB,EACnB,gBAAgB,EAChB,eAAe,EACf,aAAa,EACb,oBAAoB,GACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"predicates.d.ts","sourceRoot":"","sources":["../../src/ast-utils/predicates.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AAW7C,QAAA,MAAM,yBAAyB,UA6DvB,SAAU,KAAK;;4BA1DtB,CAAC;AAEF,QAAA,MAAM,4BAA4B,UA6EJ,SAC3B,KAAK,wWA3EP,CAAC;AAEF,QAAA,MAAM,4BAA4B,UAmD1B,SAAU,KAAK;;4BAhDtB,CAAC;AAEF,QAAA,MAAM,+BAA+B,UAmEP,SAC3B,KAAK,wWAjEP,CAAC;AAEF;;GAEG;AACH,QAAA,MAAM,wBAAwB,SAGpB,SAAS,IAAI;;2BAEtB,CAAC;AAEF;;GAEG;AACH,QAAA,MAAM,mBAAmB,SAPf,SAAS,IAAI,gGAUtB,CAAC;AAEF;;;;;;GAMG;AACH,QAAA,MAAM,eAAe,SAlCN,SAAU,IAAI,kFAqClB,CAAC;AAEZ,QAAA,MAAM,oBAAoB,SAjDT,SAAU,IAC1B,oOAgD2E,CAAC;AAO7E,QAAA,MAAM,UAAU,SA9CD,SAAU,IAAI,oLA8CkB,CAAC;AAWhD,QAAA,MAAM,cAAc,SAzDL,SAAU,IAAI,iXAyD0B,CAAC;AAExD,QAAA,MAAM,wBAAwB,SA3Df,SAAU,IAAI,wgBA8DlB,CAAC;AAEZ,QAAA,MAAM,gBAAgB,SA1EL,SAAU,IAC1B,uDAyEmE,CAAC;AAErE,QAAA,MAAM,mBAAmB,SA5ER,SAAU,IAC1B,0DA2EyE,CAAC;AAE3E,QAAA,MAAM,oBAAoB,SApEX,SAAU,IAAI,2vBAmFlB,CAAC;AAEZ;;GAEG;AACH,QAAA,MAAM,aAAa,SAzET,SAAS,IAAI,8MA4EtB,CAAC;AAEF;;GAEG;AACH,iBAAS,QAAQ,CACf,IAAI,EAAE,QAAQ,CAAC,IAAI,GAAG,SAAS,GAC9B,IAAI,IAAI;IAAE,IAAI,EAAE,KAAK,CAAA;CAAE,GAAG,CAAC,QAAQ,CAAC,gBAAgB,GAAG,QAAQ,CAAC,QAAQ,CAAC,CAO3E;AAED,QAAA,MAAM,YAAY,SArHD,SAAU,IAC1B,mDAoH2D,CAAC;AAE7D;;GAEG;AACH,QAAA,MAAM,iBAAiB,SA1HN,SAAU,IAC1B,wDAyHqE,CAAC;AAEvE;;GAEG;AACH,QAAA,MAAM,cAAc,UAnEZ,SAAU,KAAK;;4BAqErB,CAAC;AAEH;;GAEG;AACH,QAAA,MAAM,aAAa,UA1EX,SAAU,KAAK;;4BA4ErB,CAAC;AAEH;;GAEG;AACH,QAAA,MAAM,eAAe,UAjFb,SAAU,KAAK;;yBAmFrB,CAAC;AAEH,QAAA,MAAM,MAAM,SAvIG,SAAU,IAAI,+JA6IlB,CAAC;AAEZ,OAAO,EACL,iBAAiB,EACjB,cAAc,EACd,oBAAoB,EACpB,aAAa,EACb,UAAU,EACV,wBAAwB,EACxB,cAAc,EACd,YAAY,EACZ,eAAe,EACf,mBAAmB,EACnB,MAAM,EACN,4BAA4B,EAC5B,+BAA+B,EAC/B,4BAA4B,EAC5B,wBAAwB,EACxB,yBAAyB,EACzB,QAAQ,EACR,mBAAmB,EACnB,gBAAgB,EAChB,eAAe,EACf,aAAa,EACb,oBAAoB,GACrB,CAAC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/utils/dist/index.js b/node_modules/@typescript-eslint/utils/dist/index.js index 67012564f9..0ed4f85cf6 100644 --- a/node_modules/@typescript-eslint/utils/dist/index.js +++ b/node_modules/@typescript-eslint/utils/dist/index.js @@ -15,13 +15,23 @@ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? ( }) : function(o, v) { o["default"] = v; }); -var __importStar = (this && this.__importStar) || function (mod) { - if (mod && mod.__esModule) return mod; - var result = {}; - if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k); - __setModuleDefault(result, mod); - return result; -}; +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); var __exportStar = (this && this.__exportStar) || function(m, exports) { for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p); }; diff --git a/node_modules/@typescript-eslint/utils/dist/index.js.map b/node_modules/@typescript-eslint/utils/dist/index.js.map index 1b44e885c9..1ab93e7b89 100644 --- a/node_modules/@typescript-eslint/utils/dist/index.js.map +++ b/node_modules/@typescript-eslint/utils/dist/index.js.map @@ -1 +1 @@ -{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,wDAAwC;AAExC,8DAA8C;AAC9C,4DAA4C;AAC5C,wDAAwC;AACxC,8CAA4B;AAC5B,sDAAsC"} \ No newline at end of file +{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,wDAAwC;AAExC,8DAA8C;AAC9C,4DAA4C;AAC5C,wDAAwC;AACxC,8CAA4B;AAC5B,sDAAsC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/utils/dist/ts-eslint/Linter.d.ts.map b/node_modules/@typescript-eslint/utils/dist/ts-eslint/Linter.d.ts.map index f540bed551..c515393ee9 100644 --- a/node_modules/@typescript-eslint/utils/dist/ts-eslint/Linter.d.ts.map +++ b/node_modules/@typescript-eslint/utils/dist/ts-eslint/Linter.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"Linter.d.ts","sourceRoot":"","sources":["../../src/ts-eslint/Linter.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,aAAa,EAAE,UAAU,EAAE,YAAY,EAAE,MAAM,UAAU,CAAC;AACxE,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AACvC,OAAO,KAAK,EAAE,SAAS,IAAI,aAAa,EAAE,MAAM,aAAa,CAAC;AAC9D,OAAO,KAAK,EACV,qBAAqB,EACrB,aAAa,EACb,kBAAkB,EAClB,OAAO,EACP,UAAU,EACX,MAAM,QAAQ,CAAC;AAChB,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAE/C,MAAM,MAAM,iBAAiB,CAC3B,UAAU,SAAS,MAAM,GAAG,MAAM,EAClC,OAAO,SAAS,SAAS,OAAO,EAAE,GAAG,EAAE,IACrC,OAAO,CAAC,IAAI,CAAC,UAAU,CAAC,UAAU,EAAE,OAAO,CAAC,EAAE,QAAQ,CAAC,CAAC,GAC1D,IAAI,CAAC,UAAU,CAAC,UAAU,EAAE,OAAO,CAAC,EAAE,QAAQ,CAAC,CAAC;AAGlD,OAAO,OAAO,UAAU;IACtB;;OAEG;IACH,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAC;IAEzB;;;OAGG;gBACS,MAAM,CAAC,EAAE,MAAM,CAAC,aAAa;IAEzC;;;;OAIG;IACH,YAAY,CAAC,QAAQ,EAAE,MAAM,EAAE,YAAY,EAAE,MAAM,CAAC,iBAAiB,GAAG,IAAI;IAE5E;;;;OAIG;IACH,UAAU,CAAC,UAAU,SAAS,MAAM,EAAE,OAAO,SAAS,SAAS,OAAO,EAAE,EACtE,MAAM,EAAE,MAAM,EACd,UAAU,EAAE,iBAAiB,CAAC,UAAU,EAAE,OAAO,CAAC,GAAG,kBAAkB,GACtE,IAAI;IAEP;;;OAGG;IACH,WAAW,CAAC,UAAU,SAAS,MAAM,EAAE,OAAO,SAAS,SAAS,OAAO,EAAE,EACvE,aAAa,EAAE,MAAM,CACnB,MAAM,EACJ,iBAAiB,CAAC,UAAU,EAAE,OAAO,CAAC,GACtC,kBAAkB,CAAC,UAAU,EAAE,OAAO,CAAC,CAC1C,GACA,IAAI;IAEP;;;OAGG;IACH,QAAQ,IAAI,GAAG,CAAC,MAAM,EAAE,iBAAiB,CAAC,MAAM,EAAE,OAAO,EAAE,CAAC,CAAC;IAE7D;;;OAGG;IACH,aAAa,IAAI,UAAU;IAE3B;;;;;;;;OAQG;IACH,MAAM,CACJ,gBAAgB,EAAE,MAAM,GAAG,UAAU,EACrC,MAAM,EAAE,MAAM,CAAC,UAAU,EACzB,iBAAiB,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC,aAAa,GAChD,MAAM,CAAC,WAAW,EAAE;IAMvB;;OAEG;IACH,MAAM,CAAC,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAC;IAEhC;;;;;;OAMG;IACH,YAAY,CACV,IAAI,EAAE,MAAM,EACZ,MAAM,EAAE,MAAM,CAAC,UAAU,EACzB,OAAO,EAAE,MAAM,CAAC,UAAU,GACzB,MAAM,CAAC,SAAS;CACpB;AAED,kBAAU,MAAM,CAAC;IACf,UAAiB,aAAa;QAC5B;;;WAGG;QACH,UAAU,CAAC,EAAE,mBAAmB,CAAC;QAEjC;;WAEG;QACH,GAAG,CAAC,EAAE,MAAM,CAAC;KACd;IAED,KAAY,mBAAmB,GAAG,UAAU,GAAG,MAAM,CAAC;IACtD,KAAY,iBAAiB,GAAG,YAAY,CAAC,iBAAiB,CAAC;IAC/D,KAAY,aAAa,GAAG,YAAY,CAAC,aAAa,CAAC;IACvD,KAAY,oBAAoB,GAAG,YAAY,CAAC,oBAAoB,CAAC;IACrE,KAAY,wBAAwB,GAAG,YAAY,CAAC,wBAAwB,CAAC;IAC7E,KAAY,aAAa,GAAG,YAAY,CAAC,aAAa,CAAC;IACvD,KAAY,UAAU,GAAG,YAAY,CAAC,UAAU,CAAC;IACjD,KAAY,SAAS,GAAG,YAAY,CAAC,SAAS,CAAC;IAC/C,KAAY,SAAS,GAAG,YAAY,CAAC,SAAS,CAAC;IAC/C,KAAY,mBAAmB,GAAG,YAAY,CAAC,mBAAmB,CAAC;IACnE,KAAY,WAAW,GAAG,YAAY,CAAC,WAAW,CAAC;IACnD,KAAY,QAAQ,GAAG,YAAY,CAAC,QAAQ,CAAC;IAC7C,KAAY,cAAc,GAAG,YAAY,CAAC,cAAc,CAAC;IAEzD,wDAAwD;IACxD,KAAY,MAAM,GAAG,aAAa,CAAC,MAAM,CAAC;IAC1C,KAAY,UAAU,GAClB,aAAa,CAAC,MAAM,GACpB,UAAU,CAAC,MAAM,GACjB,UAAU,CAAC,WAAW,CAAC;IAC3B,mEAAmE;IACnE,KAAY,cAAc,GAAG,aAAa,CAAC,cAAc,CAAC;IAE1D,UAAiB,aAAa;QAC5B;;;WAGG;QACH,iBAAiB,CAAC,EAAE,OAAO,CAAC;QAC5B;;WAEG;QACH,YAAY,CAAC,EAAE,OAAO,CAAC;QACvB;;WAEG;QACH,QAAQ,CAAC,EAAE,MAAM,CAAC;QAClB;;WAEG;QACH,eAAe,CAAC,EAAE,CAAC,QAAQ,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,KAAK,OAAO,CAAC;QAC9D;;;;;;WAMG;QACH,WAAW,CAAC,EAAE,aAAa,CAAC,WAAW,CAAC;QACxC;;;WAGG;QACH,UAAU,CAAC,EAAE,aAAa,CAAC,UAAU,CAAC;QACtC;;WAEG;QACH,6BAA6B,CAAC,EAAE,OAAO,GAAG,cAAc,CAAC;KAC1D;IAED,UAAiB,UAAW,SAAQ,aAAa;QAC/C;;WAEG;QACH,GAAG,CAAC,EAAE,OAAO,CAAC;KACf;IAED,UAAiB,cAAc;QAC7B,IAAI,EAAE,MAAM,CAAC;QACb,GAAG,EAAE,OAAO,CAAC;QACb,SAAS,CAAC,EAAE,MAAM,CAAC;KACpB;IAED,UAAiB,WAAW;QAC1B;;WAEG;QACH,MAAM,EAAE,MAAM,CAAC;QACf;;WAEG;QACH,SAAS,CAAC,EAAE,MAAM,CAAC;QACnB;;WAEG;QACH,OAAO,CAAC,EAAE,MAAM,CAAC;QACjB;;WAEG;QACH,KAAK,CAAC,EAAE,IAAI,CAAC;QACb;;WAEG;QACH,GAAG,CAAC,EAAE,OAAO,CAAC;QACd;;WAEG;QACH,IAAI,EAAE,MAAM,CAAC;QACb;;WAEG;QACH,OAAO,EAAE,MAAM,CAAC;QAChB,SAAS,CAAC,EAAE,MAAM,CAAC;QACnB,QAAQ,EAAE,MAAM,CAAC;QACjB;;WAEG;QACH,MAAM,EAAE,MAAM,GAAG,IAAI,CAAC;QACtB;;WAEG;QACH,QAAQ,EAAE,QAAQ,CAAC;QACnB,MAAM,EAAE,MAAM,GAAG,IAAI,CAAC;QACtB;;WAEG;QACH,WAAW,CAAC,EAAE,cAAc,EAAE,CAAC;KAChC;IAED,UAAiB,SAAS;QACxB;;WAEG;QACH,KAAK,EAAE,OAAO,CAAC;QACf;;WAEG;QACH,QAAQ,EAAE,WAAW,EAAE,CAAC;QACxB;;WAEG;QACH,MAAM,EAAE,MAAM,CAAC;KAChB;IAED,kDAAkD;IAClD,KAAY,YAAY,GAAG,MAAM,CAAC,iBAAiB,CAAC;IAEpD,iDAAiD;IACjD,KAAY,iBAAiB,GAAG,MAAM,CAAC,WAAW,CAAC;IAEnD,4DAA4D;IAC5D,KAAY,SAAS,GAAG,aAAa,CAAC,eAAe,CAAC;IAEtD,UAAiB,WAAW;QAC1B;;WAEG;QACH,OAAO,CAAC,EAAE,aAAa,CAAC;QACxB;;WAEG;QACH,aAAa,CAAC,EAAE,aAAa,CAAC;KAC/B;IAGD,KAAY,iBAAiB,GAAG,MAAM,CACpC,MAAM,EACN,qBAAqB,GAAG,aAAa,CACtC,CAAC;IACF,KAAY,WAAW,GAAG,MAAM,CAAC,MAAM,EAAE,aAAa,CAAC,CAAC;IAExD,UAAiB,MAAM;QACrB;;WAEG;QACH,OAAO,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,aAAa,CAAC,MAAM,CAAC,CAAC;QAC/C;;WAEG;QACH,YAAY,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,WAAW,CAAC,CAAC;QAC3C;;WAEG;QACH,IAAI,CAAC,EAAE,UAAU,CAAC;QAClB;;WAEG;QACH,UAAU,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,aAAa,CAAC,eAAe,CAAC,CAAC;QAC3D;;WAEG;QACH,KAAK,CAAC,EAAE,iBAAiB,CAAC;KAC3B;CACF;;AAED;;;;GAIG;AACH,cAAM,MAAO,SAAQ,WAAmC;CAAG;AAE3D,OAAO,EAAE,MAAM,EAAE,CAAC"} \ No newline at end of file +{"version":3,"file":"Linter.d.ts","sourceRoot":"","sources":["../../src/ts-eslint/Linter.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,aAAa,EAAE,UAAU,EAAE,YAAY,EAAE,MAAM,UAAU,CAAC;AACxE,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AACvC,OAAO,KAAK,EAAE,SAAS,IAAI,aAAa,EAAE,MAAM,aAAa,CAAC;AAC9D,OAAO,KAAK,EACV,qBAAqB,EACrB,aAAa,EACb,kBAAkB,EAClB,OAAO,EACP,UAAU,EACX,MAAM,QAAQ,CAAC;AAChB,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAE/C,MAAM,MAAM,iBAAiB,CAC3B,UAAU,SAAS,MAAM,GAAG,MAAM,EAClC,OAAO,SAAS,SAAS,OAAO,EAAE,GAAG,EAAE,IACrC,OAAO,CAAC,IAAI,CAAC,UAAU,CAAC,UAAU,EAAE,OAAO,CAAC,EAAE,QAAQ,CAAC,CAAC,GAC1D,IAAI,CAAC,UAAU,CAAC,UAAU,EAAE,OAAO,CAAC,EAAE,QAAQ,CAAC,CAAC;AAGlD,OAAO,OAAO,UAAU;IACtB;;OAEG;IACH,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAC;IAEzB;;;OAGG;gBACS,MAAM,CAAC,EAAE,MAAM,CAAC,aAAa;IAEzC;;;;OAIG;IACH,YAAY,CAAC,QAAQ,EAAE,MAAM,EAAE,YAAY,EAAE,MAAM,CAAC,iBAAiB,GAAG,IAAI;IAE5E;;;;OAIG;IACH,UAAU,CAAC,UAAU,SAAS,MAAM,EAAE,OAAO,SAAS,SAAS,OAAO,EAAE,EACtE,MAAM,EAAE,MAAM,EACd,UAAU,EAAE,iBAAiB,CAAC,UAAU,EAAE,OAAO,CAAC,GAAG,kBAAkB,GACtE,IAAI;IAEP;;;OAGG;IACH,WAAW,CAAC,UAAU,SAAS,MAAM,EAAE,OAAO,SAAS,SAAS,OAAO,EAAE,EACvE,aAAa,EAAE,MAAM,CACnB,MAAM,EACJ,iBAAiB,CAAC,UAAU,EAAE,OAAO,CAAC,GACtC,kBAAkB,CAAC,UAAU,EAAE,OAAO,CAAC,CAC1C,GACA,IAAI;IAEP;;;OAGG;IACH,QAAQ,IAAI,GAAG,CAAC,MAAM,EAAE,iBAAiB,CAAC,MAAM,EAAE,OAAO,EAAE,CAAC,CAAC;IAE7D;;;OAGG;IACH,aAAa,IAAI,UAAU;IAE3B;;;;;;;;OAQG;IACH,MAAM,CACJ,gBAAgB,EAAE,MAAM,GAAG,UAAU,EACrC,MAAM,EAAE,MAAM,CAAC,UAAU,EACzB,iBAAiB,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC,aAAa,GAChD,MAAM,CAAC,WAAW,EAAE;IAMvB;;OAEG;IACH,MAAM,CAAC,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAC;IAEhC;;;;;;OAMG;IACH,YAAY,CACV,IAAI,EAAE,MAAM,EACZ,MAAM,EAAE,MAAM,CAAC,UAAU,EACzB,OAAO,EAAE,MAAM,CAAC,UAAU,GACzB,MAAM,CAAC,SAAS;CACpB;AAED,kBAAU,MAAM,CAAC;IACf,UAAiB,aAAa;QAC5B;;;WAGG;QACH,UAAU,CAAC,EAAE,mBAAmB,CAAC;QAEjC;;WAEG;QACH,GAAG,CAAC,EAAE,MAAM,CAAC;KACd;IAED,KAAY,mBAAmB,GAAG,UAAU,GAAG,MAAM,CAAC;IACtD,KAAY,iBAAiB,GAAG,YAAY,CAAC,iBAAiB,CAAC;IAC/D,KAAY,aAAa,GAAG,YAAY,CAAC,aAAa,CAAC;IACvD,KAAY,oBAAoB,GAAG,YAAY,CAAC,oBAAoB,CAAC;IACrE,KAAY,wBAAwB,GAAG,YAAY,CAAC,wBAAwB,CAAC;IAC7E,KAAY,aAAa,GAAG,YAAY,CAAC,aAAa,CAAC;IACvD,KAAY,UAAU,GAAG,YAAY,CAAC,UAAU,CAAC;IACjD,KAAY,SAAS,GAAG,YAAY,CAAC,SAAS,CAAC;IAC/C,KAAY,SAAS,GAAG,YAAY,CAAC,SAAS,CAAC;IAC/C,KAAY,mBAAmB,GAAG,YAAY,CAAC,mBAAmB,CAAC;IACnE,KAAY,WAAW,GAAG,YAAY,CAAC,WAAW,CAAC;IACnD,KAAY,QAAQ,GAAG,YAAY,CAAC,QAAQ,CAAC;IAC7C,KAAY,cAAc,GAAG,YAAY,CAAC,cAAc,CAAC;IAEzD,wDAAwD;IACxD,KAAY,MAAM,GAAG,aAAa,CAAC,MAAM,CAAC;IAC1C,KAAY,UAAU,GAClB,aAAa,CAAC,MAAM,GACpB,UAAU,CAAC,MAAM,GACjB,UAAU,CAAC,WAAW,CAAC;IAC3B,mEAAmE;IACnE,KAAY,cAAc,GAAG,aAAa,CAAC,cAAc,CAAC;IAE1D,UAAiB,aAAa;QAC5B;;;WAGG;QACH,iBAAiB,CAAC,EAAE,OAAO,CAAC;QAC5B;;WAEG;QACH,YAAY,CAAC,EAAE,OAAO,CAAC;QACvB;;WAEG;QACH,QAAQ,CAAC,EAAE,MAAM,CAAC;QAClB;;WAEG;QACH,eAAe,CAAC,EAAE,CAAC,QAAQ,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,KAAK,OAAO,CAAC;QAC9D;;;;;;WAMG;QACH,WAAW,CAAC,EAAE,aAAa,CAAC,WAAW,CAAC;QACxC;;;WAGG;QACH,UAAU,CAAC,EAAE,aAAa,CAAC,UAAU,CAAC;QACtC;;WAEG;QACH,6BAA6B,CAAC,EAAE,OAAO,GAAG,cAAc,CAAC;KAC1D;IAED,UAAiB,UAAW,SAAQ,aAAa;QAC/C;;WAEG;QACH,GAAG,CAAC,EAAE,OAAO,CAAC;KACf;IAED,UAAiB,cAAc;QAC7B,IAAI,EAAE,MAAM,CAAC;QACb,GAAG,EAAE,OAAO,CAAC;QACb,SAAS,CAAC,EAAE,MAAM,CAAC;KACpB;IAED,UAAiB,WAAW;QAC1B;;WAEG;QACH,MAAM,EAAE,MAAM,CAAC;QACf;;WAEG;QACH,SAAS,CAAC,EAAE,MAAM,CAAC;QACnB;;WAEG;QACH,OAAO,CAAC,EAAE,MAAM,CAAC;QACjB;;WAEG;QACH,KAAK,CAAC,EAAE,IAAI,CAAC;QACb;;WAEG;QACH,GAAG,CAAC,EAAE,OAAO,CAAC;QACd;;WAEG;QACH,IAAI,EAAE,MAAM,CAAC;QACb;;WAEG;QACH,OAAO,EAAE,MAAM,CAAC;QAChB,SAAS,CAAC,EAAE,MAAM,CAAC;QACnB,QAAQ,EAAE,MAAM,CAAC;QACjB;;WAEG;QACH,MAAM,EAAE,MAAM,GAAG,IAAI,CAAC;QACtB;;WAEG;QACH,QAAQ,EAAE,QAAQ,CAAC;QACnB,MAAM,EAAE,MAAM,GAAG,IAAI,CAAC;QACtB;;WAEG;QACH,WAAW,CAAC,EAAE,cAAc,EAAE,CAAC;KAChC;IAED,UAAiB,SAAS;QACxB;;WAEG;QACH,KAAK,EAAE,OAAO,CAAC;QACf;;WAEG;QACH,QAAQ,EAAE,WAAW,EAAE,CAAC;QACxB;;WAEG;QACH,MAAM,EAAE,MAAM,CAAC;KAChB;IAED,kDAAkD;IAClD,KAAY,YAAY,GAAG,MAAM,CAAC,iBAAiB,CAAC;IAEpD,iDAAiD;IACjD,KAAY,iBAAiB,GAAG,MAAM,CAAC,WAAW,CAAC;IAEnD,4DAA4D;IAC5D,KAAY,SAAS,GAAG,aAAa,CAAC,eAAe,CAAC;IAEtD,UAAiB,WAAW;QAC1B;;WAEG;QACH,OAAO,CAAC,EAAE,aAAa,CAAC;QACxB;;WAEG;QACH,aAAa,CAAC,EAAE,aAAa,CAAC;KAC/B;IAGD,KAAY,iBAAiB,GAAG,MAAM,CACpC,MAAM,EACN,qBAAqB,GAAG,aAAa,CACtC,CAAC;IACF,KAAY,WAAW,GAAG,MAAM,CAAC,MAAM,EAAE,aAAa,CAAC,CAAC;IAExD,UAAiB,MAAM;QACrB;;WAEG;QACH,OAAO,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,aAAa,CAAC,MAAM,CAAC,CAAC;QAC/C;;WAEG;QACH,YAAY,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,WAAW,CAAC,CAAC;QAC3C;;WAEG;QACH,IAAI,CAAC,EAAE,UAAU,CAAC;QAClB;;WAEG;QACH,UAAU,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,aAAa,CAAC,eAAe,CAAC,CAAC;QAC3D;;WAEG;QACH,KAAK,CAAC,EAAE,iBAAiB,CAAC;KAC3B;CACF;2BAOqC,OAAO,UAAU;AALvD;;;;GAIG;AACH,cAAM,MAAO,SAAQ,WAAmC;CAAG;AAE3D,OAAO,EAAE,MAAM,EAAE,CAAC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/utils/dist/ts-eslint/RuleTester.d.ts.map b/node_modules/@typescript-eslint/utils/dist/ts-eslint/RuleTester.d.ts.map index 308e37042b..9617e74e35 100644 --- a/node_modules/@typescript-eslint/utils/dist/ts-eslint/RuleTester.d.ts.map +++ b/node_modules/@typescript-eslint/utils/dist/ts-eslint/RuleTester.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"RuleTester.d.ts","sourceRoot":"","sources":["../../src/ts-eslint/RuleTester.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,cAAc,EAAE,eAAe,EAAE,MAAM,cAAc,CAAC;AACpE,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AAC9C,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AACvC,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AACrD,OAAO,KAAK,EACV,2BAA2B,EAC3B,kBAAkB,EAClB,UAAU,EACV,2BAA2B,EAC5B,MAAM,QAAQ,CAAC;AAEhB;;GAEG;AACH,UAAU,aAAa,CAAC,OAAO,SAAS,SAAS,OAAO,EAAE;IACxD;;OAEG;IACH,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IACtB;;OAEG;IACH,QAAQ,CAAC,GAAG,CAAC,EAAE,QAAQ,CAAC,MAAM,CAAC,iBAAiB,CAAC,CAAC;IAClD;;OAEG;IACH,QAAQ,CAAC,QAAQ,CAAC,EAAE,MAAM,CAAC;IAC3B;;OAEG;IACH,QAAQ,CAAC,OAAO,CAAC,EAAE,QAAQ,CAAC,MAAM,CAAC,aAAa,CAAC,CAAC;IAClD;;OAEG;IACH,QAAQ,CAAC,IAAI,CAAC,EAAE,MAAM,CAAC;IACvB;;OAEG;IACH,QAAQ,CAAC,IAAI,CAAC,EAAE,OAAO,CAAC;IACxB;;OAEG;IACH,QAAQ,CAAC,OAAO,CAAC,EAAE,QAAQ,CAAC,OAAO,CAAC,CAAC;IACrC;;OAEG;IACH,QAAQ,CAAC,MAAM,CAAC,EAAE,MAAM,CAAC;IACzB;;OAEG;IACH,QAAQ,CAAC,aAAa,CAAC,EAAE,QAAQ,CAAC,aAAa,CAAC,CAAC;IACjD;;OAEG;IACH,QAAQ,CAAC,QAAQ,CAAC,EAAE,QAAQ,CAAC,2BAA2B,CAAC,CAAC;CAC3D;AAED;;GAEG;AACH,UAAU,gBAAgB,CAAC,UAAU,SAAS,MAAM;IAClD;;OAEG;IACH,QAAQ,CAAC,IAAI,CAAC,EAAE,2BAA2B,CAAC;IAC5C;;OAEG;IACH,QAAQ,CAAC,SAAS,EAAE,UAAU,CAAC;IAC/B;;;OAGG;IACH,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAC;CAIzB;AAED;;GAEG;AACH,UAAU,eAAe,CACvB,UAAU,SAAS,MAAM,EACzB,OAAO,SAAS,SAAS,OAAO,EAAE,CAClC,SAAQ,aAAa,CAAC,OAAO,CAAC;IAC9B;;OAEG;IACH,QAAQ,CAAC,MAAM,EAAE,SAAS,aAAa,CAAC,UAAU,CAAC,EAAE,CAAC;IACtD;;OAEG;IACH,QAAQ,CAAC,MAAM,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,GAAG,IAAI,CAAC;CAC5C;AAED;;GAEG;AACH,UAAU,aAAa,CAAC,UAAU,SAAS,MAAM;IAC/C;;OAEG;IACH,QAAQ,CAAC,MAAM,CAAC,EAAE,MAAM,CAAC;IACzB;;OAEG;IACH,QAAQ,CAAC,IAAI,CAAC,EAAE,2BAA2B,CAAC;IAC5C;;OAEG;IACH,QAAQ,CAAC,SAAS,CAAC,EAAE,MAAM,CAAC;IAC5B;;OAEG;IACH,QAAQ,CAAC,OAAO,CAAC,EAAE,MAAM,CAAC;IAC1B;;OAEG;IACH,QAAQ,CAAC,IAAI,CAAC,EAAE,MAAM,CAAC;IACvB;;OAEG;IACH,QAAQ,CAAC,SAAS,EAAE,UAAU,CAAC;IAC/B;;OAEG;IACH,QAAQ,CAAC,WAAW,CAAC,EAAE,SAAS,gBAAgB,CAAC,UAAU,CAAC,EAAE,GAAG,IAAI,CAAC;IACtE;;OAEG;IACH,QAAQ,CAAC,IAAI,CAAC,EAAE,cAAc,GAAG,eAAe,CAAC;CAIlD;AAED;;;GAGG;AACH,KAAK,+BAA+B,GAAG,CACrC,IAAI,EAAE,MAAM,EACZ,QAAQ,EAAE,MAAM,IAAI,KACjB,IAAI,CAAC;AAEV;;GAEG;AACH,UAAU,QAAQ,CAChB,UAAU,SAAS,MAAM,EACzB,OAAO,SAAS,SAAS,OAAO,EAAE;IAGlC,QAAQ,CAAC,OAAO,EAAE,SAAS,eAAe,CAAC,UAAU,EAAE,OAAO,CAAC,EAAE,CAAC;IAClE,QAAQ,CAAC,KAAK,EAAE,SAAS,CAAC,MAAM,GAAG,aAAa,CAAC,OAAO,CAAC,CAAC,EAAE,CAAC;CAC9D;AAED;;GAEG;AACH,UAAU,gBAAiB,SAAQ,aAAa,CAAC,MAAM;IAErD,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAC;IACxB,QAAQ,CAAC,aAAa,CAAC,EAAE,QAAQ,CAAC,aAAa,CAAC,CAAC;CAClD;AAED;;GAEG;AAEH,OAAO,OAAO,cAAc;IAC1B;;;OAGG;gBACS,YAAY,CAAC,EAAE,gBAAgB;IAE3C;;;;;OAKG;IACH,GAAG,CAAC,UAAU,SAAS,MAAM,EAAE,OAAO,SAAS,SAAS,OAAO,EAAE,EAC/D,QAAQ,EAAE,MAAM,EAChB,IAAI,EAAE,UAAU,CAAC,UAAU,EAAE,OAAO,CAAC,EACrC,KAAK,EAAE,QAAQ,CAAC,UAAU,EAAE,OAAO,CAAC,GACnC,IAAI;IAEP;;;OAGG;IACH,MAAM,KAAK,QAAQ,IAAI,+BAA+B,CAAC;IACvD,MAAM,KAAK,QAAQ,CAAC,KAAK,EAAE,+BAA+B,GAAG,SAAS,EAAE;IAExE;;;OAGG;IACH,MAAM,KAAK,EAAE,IAAI,+BAA+B,CAAC;IACjD,MAAM,KAAK,EAAE,CAAC,KAAK,EAAE,+BAA+B,GAAG,SAAS,EAAE;IAElE;;;OAGG;IACH,MAAM,KAAK,MAAM,IAAI,+BAA+B,CAAC;IACrD,MAAM,KAAK,MAAM,CAAC,KAAK,EAAE,+BAA+B,GAAG,SAAS,EAAE;IAEtE;;OAEG;IACH,UAAU,CAAC,UAAU,SAAS,MAAM,EAAE,OAAO,SAAS,SAAS,OAAO,EAAE,EACtE,IAAI,EAAE,MAAM,EACZ,IAAI,EACA,kBAAkB,CAAC,UAAU,EAAE,OAAO,CAAC,GACvC,UAAU,CAAC,UAAU,EAAE,OAAO,CAAC,GAClC,IAAI;CACR;;AAED;;GAEG;AACH,cAAM,UAAW,SAAQ,eAA2C;CAAG;AAEvE,OAAO,EACL,KAAK,eAAe,EACpB,UAAU,EACV,KAAK,gBAAgB,EACrB,KAAK,+BAA+B,EACpC,KAAK,QAAQ,EACb,KAAK,gBAAgB,EACrB,KAAK,aAAa,EAClB,KAAK,aAAa,GACnB,CAAC"} \ No newline at end of file +{"version":3,"file":"RuleTester.d.ts","sourceRoot":"","sources":["../../src/ts-eslint/RuleTester.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,cAAc,EAAE,eAAe,EAAE,MAAM,cAAc,CAAC;AACpE,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AAC9C,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AACvC,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AACrD,OAAO,KAAK,EACV,2BAA2B,EAC3B,kBAAkB,EAClB,UAAU,EACV,2BAA2B,EAC5B,MAAM,QAAQ,CAAC;AAEhB;;GAEG;AACH,UAAU,aAAa,CAAC,OAAO,SAAS,SAAS,OAAO,EAAE;IACxD;;OAEG;IACH,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IACtB;;OAEG;IACH,QAAQ,CAAC,GAAG,CAAC,EAAE,QAAQ,CAAC,MAAM,CAAC,iBAAiB,CAAC,CAAC;IAClD;;OAEG;IACH,QAAQ,CAAC,QAAQ,CAAC,EAAE,MAAM,CAAC;IAC3B;;OAEG;IACH,QAAQ,CAAC,OAAO,CAAC,EAAE,QAAQ,CAAC,MAAM,CAAC,aAAa,CAAC,CAAC;IAClD;;OAEG;IACH,QAAQ,CAAC,IAAI,CAAC,EAAE,MAAM,CAAC;IACvB;;OAEG;IACH,QAAQ,CAAC,IAAI,CAAC,EAAE,OAAO,CAAC;IACxB;;OAEG;IACH,QAAQ,CAAC,OAAO,CAAC,EAAE,QAAQ,CAAC,OAAO,CAAC,CAAC;IACrC;;OAEG;IACH,QAAQ,CAAC,MAAM,CAAC,EAAE,MAAM,CAAC;IACzB;;OAEG;IACH,QAAQ,CAAC,aAAa,CAAC,EAAE,QAAQ,CAAC,aAAa,CAAC,CAAC;IACjD;;OAEG;IACH,QAAQ,CAAC,QAAQ,CAAC,EAAE,QAAQ,CAAC,2BAA2B,CAAC,CAAC;CAC3D;AAED;;GAEG;AACH,UAAU,gBAAgB,CAAC,UAAU,SAAS,MAAM;IAClD;;OAEG;IACH,QAAQ,CAAC,IAAI,CAAC,EAAE,2BAA2B,CAAC;IAC5C;;OAEG;IACH,QAAQ,CAAC,SAAS,EAAE,UAAU,CAAC;IAC/B;;;OAGG;IACH,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAC;CAIzB;AAED;;GAEG;AACH,UAAU,eAAe,CACvB,UAAU,SAAS,MAAM,EACzB,OAAO,SAAS,SAAS,OAAO,EAAE,CAClC,SAAQ,aAAa,CAAC,OAAO,CAAC;IAC9B;;OAEG;IACH,QAAQ,CAAC,MAAM,EAAE,SAAS,aAAa,CAAC,UAAU,CAAC,EAAE,CAAC;IACtD;;OAEG;IACH,QAAQ,CAAC,MAAM,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,GAAG,IAAI,CAAC;CAC5C;AAED;;GAEG;AACH,UAAU,aAAa,CAAC,UAAU,SAAS,MAAM;IAC/C;;OAEG;IACH,QAAQ,CAAC,MAAM,CAAC,EAAE,MAAM,CAAC;IACzB;;OAEG;IACH,QAAQ,CAAC,IAAI,CAAC,EAAE,2BAA2B,CAAC;IAC5C;;OAEG;IACH,QAAQ,CAAC,SAAS,CAAC,EAAE,MAAM,CAAC;IAC5B;;OAEG;IACH,QAAQ,CAAC,OAAO,CAAC,EAAE,MAAM,CAAC;IAC1B;;OAEG;IACH,QAAQ,CAAC,IAAI,CAAC,EAAE,MAAM,CAAC;IACvB;;OAEG;IACH,QAAQ,CAAC,SAAS,EAAE,UAAU,CAAC;IAC/B;;OAEG;IACH,QAAQ,CAAC,WAAW,CAAC,EAAE,SAAS,gBAAgB,CAAC,UAAU,CAAC,EAAE,GAAG,IAAI,CAAC;IACtE;;OAEG;IACH,QAAQ,CAAC,IAAI,CAAC,EAAE,cAAc,GAAG,eAAe,CAAC;CAIlD;AAED;;;GAGG;AACH,KAAK,+BAA+B,GAAG,CACrC,IAAI,EAAE,MAAM,EACZ,QAAQ,EAAE,MAAM,IAAI,KACjB,IAAI,CAAC;AAEV;;GAEG;AACH,UAAU,QAAQ,CAChB,UAAU,SAAS,MAAM,EACzB,OAAO,SAAS,SAAS,OAAO,EAAE;IAGlC,QAAQ,CAAC,OAAO,EAAE,SAAS,eAAe,CAAC,UAAU,EAAE,OAAO,CAAC,EAAE,CAAC;IAClE,QAAQ,CAAC,KAAK,EAAE,SAAS,CAAC,MAAM,GAAG,aAAa,CAAC,OAAO,CAAC,CAAC,EAAE,CAAC;CAC9D;AAED;;GAEG;AACH,UAAU,gBAAiB,SAAQ,aAAa,CAAC,MAAM;IAErD,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAC;IACxB,QAAQ,CAAC,aAAa,CAAC,EAAE,QAAQ,CAAC,aAAa,CAAC,CAAC;CAClD;AAED;;GAEG;AAEH,OAAO,OAAO,cAAc;IAC1B;;;OAGG;gBACS,YAAY,CAAC,EAAE,gBAAgB;IAE3C;;;;;OAKG;IACH,GAAG,CAAC,UAAU,SAAS,MAAM,EAAE,OAAO,SAAS,SAAS,OAAO,EAAE,EAC/D,QAAQ,EAAE,MAAM,EAChB,IAAI,EAAE,UAAU,CAAC,UAAU,EAAE,OAAO,CAAC,EACrC,KAAK,EAAE,QAAQ,CAAC,UAAU,EAAE,OAAO,CAAC,GACnC,IAAI;IAEP;;;OAGG;IACH,MAAM,KAAK,QAAQ,IAAI,+BAA+B,CAAC;IACvD,MAAM,KAAK,QAAQ,CAAC,KAAK,EAAE,+BAA+B,GAAG,SAAS,EAAE;IAExE;;;OAGG;IACH,MAAM,KAAK,EAAE,IAAI,+BAA+B,CAAC;IACjD,MAAM,KAAK,EAAE,CAAC,KAAK,EAAE,+BAA+B,GAAG,SAAS,EAAE;IAElE;;;OAGG;IACH,MAAM,KAAK,MAAM,IAAI,+BAA+B,CAAC;IACrD,MAAM,KAAK,MAAM,CAAC,KAAK,EAAE,+BAA+B,GAAG,SAAS,EAAE;IAEtE;;OAEG;IACH,UAAU,CAAC,UAAU,SAAS,MAAM,EAAE,OAAO,SAAS,SAAS,OAAO,EAAE,EACtE,IAAI,EAAE,MAAM,EACZ,IAAI,EACA,kBAAkB,CAAC,UAAU,EAAE,OAAO,CAAC,GACvC,UAAU,CAAC,UAAU,EAAE,OAAO,CAAC,GAClC,IAAI;CACR;+BAK6C,OAAO,cAAc;AAHnE;;GAEG;AACH,cAAM,UAAW,SAAQ,eAA2C;CAAG;AAEvE,OAAO,EACL,KAAK,eAAe,EACpB,UAAU,EACV,KAAK,gBAAgB,EACrB,KAAK,+BAA+B,EACpC,KAAK,QAAQ,EACb,KAAK,gBAAgB,EACrB,KAAK,aAAa,EAClB,KAAK,aAAa,GACnB,CAAC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/utils/dist/ts-eslint/Scope.js b/node_modules/@typescript-eslint/utils/dist/ts-eslint/Scope.js index 091c76c6f0..d921840096 100644 --- a/node_modules/@typescript-eslint/utils/dist/ts-eslint/Scope.js +++ b/node_modules/@typescript-eslint/utils/dist/ts-eslint/Scope.js @@ -16,13 +16,23 @@ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? ( }) : function(o, v) { o["default"] = v; }); -var __importStar = (this && this.__importStar) || function (mod) { - if (mod && mod.__esModule) return mod; - var result = {}; - if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k); - __setModuleDefault(result, mod); - return result; -}; +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); Object.defineProperty(exports, "__esModule", { value: true }); exports.Scope = void 0; const scopeManager = __importStar(require("@typescript-eslint/scope-manager")); diff --git a/node_modules/@typescript-eslint/utils/dist/ts-eslint/Scope.js.map b/node_modules/@typescript-eslint/utils/dist/ts-eslint/Scope.js.map index 478234d62c..c431e05b25 100644 --- a/node_modules/@typescript-eslint/utils/dist/ts-eslint/Scope.js.map +++ b/node_modules/@typescript-eslint/utils/dist/ts-eslint/Scope.js.map @@ -1 +1 @@ -{"version":3,"file":"Scope.js","sourceRoot":"","sources":["../../src/ts-eslint/Scope.ts"],"names":[],"mappings":";AAAA,oDAAoD;;;;;;;;;;;;;;;;;;;;;;;;;;AAEpD,+EAAiE;AAEjE,IAAU,KAAK,CA4Cd;AA5CD,WAAU,KAAK;IAKA,eAAS,GAAG,YAAY,CAAC,SAAS,CAAC;IAInC,oBAAc,GAAG,YAAY,CAAC,cAAc,CAAC;AAmC5D,CAAC,EA5CS,KAAK,qBAAL,KAAK,QA4Cd"} \ No newline at end of file +{"version":3,"file":"Scope.js","sourceRoot":"","sources":["../../src/ts-eslint/Scope.ts"],"names":[],"mappings":";AAAA,oDAAoD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEpD,+EAAiE;AAEjE,IAAU,KAAK,CA4Cd;AA5CD,WAAU,KAAK;IAKA,eAAS,GAAG,YAAY,CAAC,SAAS,CAAC;IAInC,oBAAc,GAAG,YAAY,CAAC,cAAc,CAAC;AAmC5D,CAAC,EA5CS,KAAK,qBAAL,KAAK,QA4Cd"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/utils/dist/ts-eslint/SourceCode.d.ts.map b/node_modules/@typescript-eslint/utils/dist/ts-eslint/SourceCode.d.ts.map index ecd5068177..0bd7b58ceb 100644 --- a/node_modules/@typescript-eslint/utils/dist/ts-eslint/SourceCode.d.ts.map +++ b/node_modules/@typescript-eslint/utils/dist/ts-eslint/SourceCode.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"SourceCode.d.ts","sourceRoot":"","sources":["../../src/ts-eslint/SourceCode.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,cAAc,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AAC7D,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AACvC,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAErC,OAAO,OAAO,UAAU;IACtB;;;;;OAKG;IACH,oBAAoB,CAClB,IAAI,EAAE,QAAQ,CAAC,IAAI,GAAG,QAAQ,CAAC,KAAK,EACpC,KAAK,EAAE,QAAQ,CAAC,IAAI,GAAG,QAAQ,CAAC,KAAK,GACpC,OAAO;IACV;;;;OAIG;IACH,gBAAgB,CACd,WAAW,EAAE,QAAQ,CAAC,IAAI,GAAG,QAAQ,CAAC,KAAK,GAC1C,QAAQ,CAAC,OAAO,EAAE;IACrB;;;;OAIG;IACH,iBAAiB,CACf,WAAW,EAAE,QAAQ,CAAC,IAAI,GAAG,QAAQ,CAAC,KAAK,GAC1C,QAAQ,CAAC,OAAO,EAAE;IACrB;;;;OAIG;IACH,iBAAiB,CAAC,IAAI,EAAE,QAAQ,CAAC,IAAI,GAAG,QAAQ,CAAC,OAAO,EAAE;IAC1D;;;;;OAKG;IACH,aAAa,CAAC,CAAC,SAAS,UAAU,CAAC,qBAAqB,EACtD,IAAI,EAAE,QAAQ,CAAC,IAAI,EACnB,OAAO,CAAC,EAAE,CAAC,GACV,UAAU,CAAC,qBAAqB,CAAC,CAAC,CAAC,GAAG,IAAI;IAC7C;;;;;;OAMG;IACH,oBAAoB,CAAC,CAAC,SAAS,UAAU,CAAC,qBAAqB,EAC7D,IAAI,EAAE,QAAQ,CAAC,IAAI,GAAG,QAAQ,CAAC,KAAK,EACpC,KAAK,EAAE,QAAQ,CAAC,IAAI,GAAG,QAAQ,CAAC,KAAK,EACrC,OAAO,CAAC,EAAE,CAAC,GACV,UAAU,CAAC,qBAAqB,CAAC,CAAC,CAAC,GAAG,IAAI;IAC7C;;;;OAIG;IACH,cAAc,CAAC,CAAC,SAAS,UAAU,CAAC,sBAAsB,EACxD,IAAI,EAAE,QAAQ,CAAC,IAAI,EACnB,OAAO,CAAC,EAAE,CAAC,GACV,UAAU,CAAC,qBAAqB,CAAC,CAAC,CAAC,EAAE;IACxC;;;;;;OAMG;IACH,qBAAqB,CAAC,CAAC,SAAS,UAAU,CAAC,sBAAsB,EAC/D,IAAI,EAAE,QAAQ,CAAC,IAAI,GAAG,QAAQ,CAAC,KAAK,EACpC,KAAK,EAAE,QAAQ,CAAC,IAAI,GAAG,QAAQ,CAAC,KAAK,EACrC,OAAO,CAAC,EAAE,CAAC,GACV,UAAU,CAAC,qBAAqB,CAAC,CAAC,CAAC,EAAE;IACxC;;;;;OAKG;IACH,YAAY,CAAC,CAAC,SAAS,UAAU,CAAC,qBAAqB,EACrD,IAAI,EAAE,QAAQ,CAAC,IAAI,EACnB,OAAO,CAAC,EAAE,CAAC,GACV,UAAU,CAAC,qBAAqB,CAAC,CAAC,CAAC,GAAG,IAAI;IAC7C;;;;;;OAMG;IACH,mBAAmB,CAAC,CAAC,SAAS,UAAU,CAAC,qBAAqB,EAC5D,IAAI,EAAE,QAAQ,CAAC,IAAI,GAAG,QAAQ,CAAC,KAAK,EACpC,KAAK,EAAE,QAAQ,CAAC,IAAI,GAAG,QAAQ,CAAC,KAAK,EACrC,OAAO,CAAC,EAAE,CAAC,GACV,UAAU,CAAC,qBAAqB,CAAC,CAAC,CAAC,GAAG,IAAI;IAC7C;;;;OAIG;IACH,aAAa,CAAC,CAAC,SAAS,UAAU,CAAC,sBAAsB,EACvD,IAAI,EAAE,QAAQ,CAAC,IAAI,EACnB,OAAO,CAAC,EAAE,CAAC,GACV,UAAU,CAAC,qBAAqB,CAAC,CAAC,CAAC,EAAE;IACxC;;;;;;OAMG;IACH,oBAAoB,CAAC,CAAC,SAAS,UAAU,CAAC,sBAAsB,EAC9D,IAAI,EAAE,QAAQ,CAAC,IAAI,GAAG,QAAQ,CAAC,KAAK,EACpC,KAAK,EAAE,QAAQ,CAAC,IAAI,GAAG,QAAQ,CAAC,KAAK,EACrC,OAAO,CAAC,EAAE,CAAC,GACV,UAAU,CAAC,qBAAqB,CAAC,CAAC,CAAC,EAAE;IACxC;;;;;OAKG;IACH,aAAa,CAAC,CAAC,SAAS,UAAU,CAAC,qBAAqB,EACtD,IAAI,EAAE,QAAQ,CAAC,IAAI,GAAG,QAAQ,CAAC,KAAK,EACpC,OAAO,CAAC,EAAE,CAAC,GACV,UAAU,CAAC,qBAAqB,CAAC,CAAC,CAAC,GAAG,IAAI;IAC7C;;;;;OAKG;IACH,cAAc,CAAC,CAAC,SAAS,UAAU,CAAC,qBAAqB,EACvD,IAAI,EAAE,QAAQ,CAAC,IAAI,GAAG,QAAQ,CAAC,KAAK,EACpC,OAAO,CAAC,EAAE,CAAC,GACV,UAAU,CAAC,qBAAqB,CAAC,CAAC,CAAC,GAAG,IAAI;IAC7C;;;;;OAKG;IACH,oBAAoB,CAAC,CAAC,SAAS;QAAE,eAAe,CAAC,EAAE,OAAO,CAAA;KAAE,EAC1D,MAAM,EAAE,MAAM,EACd,OAAO,CAAC,EAAE,CAAC,GACV,UAAU,CAAC,qBAAqB,CAAC,CAAC,CAAC,GAAG,IAAI;IAC7C;;;;;;OAMG;IACH,SAAS,CACP,IAAI,EAAE,QAAQ,CAAC,IAAI,EACnB,WAAW,CAAC,EAAE,MAAM,EACpB,UAAU,CAAC,EAAE,MAAM,GAClB,QAAQ,CAAC,KAAK,EAAE;IACnB;;;;;OAKG;IACH,SAAS,CAAC,CAAC,SAAS,UAAU,CAAC,sBAAsB,EACnD,IAAI,EAAE,QAAQ,CAAC,IAAI,EACnB,OAAO,EAAE,CAAC,GACT,UAAU,CAAC,qBAAqB,CAAC,CAAC,CAAC,EAAE;IACxC;;;;OAIG;IACH,cAAc,CAAC,CAAC,SAAS,UAAU,CAAC,sBAAsB,EACxD,IAAI,EAAE,QAAQ,CAAC,IAAI,GAAG,QAAQ,CAAC,KAAK,EACpC,OAAO,CAAC,EAAE,MAAM,GAAG,CAAC,GACnB,UAAU,CAAC,qBAAqB,CAAC,CAAC,CAAC,EAAE;IACxC;;;;OAIG;IACH,eAAe,CAAC,CAAC,SAAS,UAAU,CAAC,sBAAsB,EACzD,IAAI,EAAE,QAAQ,CAAC,IAAI,GAAG,QAAQ,CAAC,KAAK,EACpC,OAAO,CAAC,EAAE,MAAM,GAAG,CAAC,GACnB,UAAU,CAAC,qBAAqB,CAAC,CAAC,CAAC,EAAE;IACxC;;;;;;OAMG;IACH,gBAAgB,CAAC,CAAC,SAAS,UAAU,CAAC,sBAAsB,EAC1D,IAAI,EAAE,QAAQ,CAAC,IAAI,GAAG,QAAQ,CAAC,KAAK,EACpC,KAAK,EAAE,QAAQ,CAAC,IAAI,GAAG,QAAQ,CAAC,KAAK,EACrC,OAAO,CAAC,EAAE,MAAM,GAAG,CAAC,GACnB,UAAU,CAAC,qBAAqB,CAAC,CAAC,CAAC,EAAE;CACzC;AAGD,OAAO,OAAO,cAAe,SAAQ,UAAU;IAC7C;;;OAGG;gBACS,IAAI,EAAE,MAAM,EAAE,GAAG,EAAE,UAAU,CAAC,OAAO;IACjD;;;OAGG;gBACS,MAAM,EAAE,UAAU,CAAC,gBAAgB;IAE/C;;OAEG;IACH,GAAG,EAAE,UAAU,CAAC,OAAO,CAAC;IACxB,iBAAiB,IAAI,IAAI;IACzB,oBAAoB,IAAI,IAAI;IAC5B,QAAQ,IAAI,IAAI;IAChB;;;OAGG;IACH,cAAc,IAAI,QAAQ,CAAC,OAAO,EAAE;IACpC;;;;OAIG;IACH,eAAe,CAAC,QAAQ,EAAE,QAAQ,CAAC,QAAQ,GAAG,MAAM;IACpD;;;OAGG;IACH,QAAQ,IAAI,MAAM,EAAE;IACpB;;;;OAIG;IACH,eAAe,CAAC,KAAK,EAAE,MAAM,GAAG,QAAQ,CAAC,QAAQ;IACjD;;;;OAIG;IACH,mBAAmB,CAAC,KAAK,EAAE,MAAM,GAAG,QAAQ,CAAC,IAAI,GAAG,IAAI;IACxD;;;;;;OAMG;IACH,OAAO,CACL,IAAI,CAAC,EAAE,QAAQ,CAAC,IAAI,GAAG,QAAQ,CAAC,KAAK,EACrC,WAAW,CAAC,EAAE,MAAM,EACpB,UAAU,CAAC,EAAE,MAAM,GAClB,MAAM;IACT;;OAEG;IACH,MAAM,EAAE,OAAO,CAAC;IAChB;;;;;;;OAOG;IACH,cAAc,CACZ,KAAK,EAAE,QAAQ,CAAC,IAAI,GAAG,QAAQ,CAAC,KAAK,EACrC,MAAM,EAAE,QAAQ,CAAC,IAAI,GAAG,QAAQ,CAAC,KAAK,GACrC,OAAO;IACV;;;;;;;;;;;OAWG;IACH,oBAAoB,CAAC,KAAK,EAAE,QAAQ,CAAC,KAAK,EAAE,MAAM,EAAE,QAAQ,CAAC,KAAK,GAAG,OAAO;IAC5E;;;OAGG;IACH,QAAQ,CAAC,IAAI,EAAE,QAAQ,CAAC,IAAI,GAAG,KAAK,CAAC,KAAK;IAC1C;;;;OAIG;IACH,YAAY,CAAC,IAAI,EAAE,QAAQ,CAAC,IAAI,GAAG,QAAQ,CAAC,IAAI,EAAE;IAClD;;;OAGG;IACH,oBAAoB,CAAC,IAAI,EAAE,QAAQ,CAAC,IAAI,GAAG,SAAS,KAAK,CAAC,QAAQ,EAAE;IACpE;;;OAGG;IACH,kBAAkB,CAAC,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,QAAQ,CAAC,IAAI,GAAG,OAAO;IAC9D;;;OAGG;IACH,KAAK,EAAE,MAAM,EAAE,CAAC;IAChB;;OAEG;IACH,gBAAgB,EAAE,MAAM,EAAE,CAAC;IAC3B;;OAEG;IACH,cAAc,CAAC,EAAE,OAAO,CAAC,cAAc,CAAC,CAAC;IACzC;;OAEG;IACH,YAAY,EAAE,KAAK,CAAC,YAAY,GAAG,IAAI,CAAC;IACxC;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IACb;;;;OAIG;IACH,iBAAiB,EAAE,QAAQ,CAAC,KAAK,EAAE,CAAC;IACpC;;OAEG;IACH,WAAW,EAAE,UAAU,CAAC,WAAW,CAAC;IAMpC;;;;OAIG;IACH,MAAM,CAAC,UAAU,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,EAAE;CAC1C;AAED,kBAAU,UAAU,CAAC;IACnB,UAAiB,OAAQ,SAAQ,QAAQ,CAAC,OAAO;QAC/C,QAAQ,EAAE,QAAQ,CAAC,OAAO,EAAE,CAAC;QAC7B,MAAM,EAAE,QAAQ,CAAC,KAAK,EAAE,CAAC;KAC1B;IAED,UAAiB,gBAAgB;QAC/B;;WAEG;QACH,GAAG,EAAE,OAAO,CAAC;QACb;;WAEG;QACH,cAAc,EAAE,cAAc,GAAG,IAAI,CAAC;QACtC;;WAEG;QACH,YAAY,EAAE,KAAK,CAAC,YAAY,GAAG,IAAI,CAAC;QACxC;;WAEG;QACH,IAAI,EAAE,MAAM,CAAC;QACb;;WAEG;QACH,WAAW,EAAE,WAAW,GAAG,IAAI,CAAC;KACjC;IAED,KAAY,WAAW,GAAG,MAAM,CAAC,WAAW,CAAC;IAE7C,KAAY,eAAe,GAAG,CAAC,KAAK,EAAE,QAAQ,CAAC,KAAK,KAAK,OAAO,CAAC;IACjE,KAAY,kBAAkB,CAAC,MAAM,EAAE,OAAO,IAG5C,MAAM,SAAS,CAAC,CACd,KAAK,EAAE,QAAQ,CAAC,KAAK,KAClB,KAAK,IAAI,MAAM,CAAC,SAAS,QAAQ,CAAC,KAAK,CAAC,GACzC,CAAC,GACD,OAAO,CAAC;IACd,KAAY,6BAA6B,CAAC,OAAO,EAAE,OAAO,IACxD,OAAO,SAAS;QAAE,MAAM,CAAC,EAAE,eAAe,CAAA;KAAE,GACxC,kBAAkB,CAAC,OAAO,CAAC,QAAQ,CAAC,EAAE,OAAO,CAAC,GAC9C,kBAAkB,CAAC,OAAO,EAAE,OAAO,CAAC,CAAC;IAC3C,KAAY,qBAAqB,CAAC,CAAC,IAAI,CAAC,SAAS;QAAE,eAAe,EAAE,IAAI,CAAA;KAAE,GACtE,6BAA6B,CAAC,CAAC,EAAE,QAAQ,CAAC,KAAK,CAAC,GAChD,6BAA6B,CAC3B,CAAC,EACD,OAAO,CAAC,QAAQ,CAAC,KAAK,EAAE,QAAQ,CAAC,OAAO,CAAC,CAC1C,CAAC;IAEN,KAAY,qBAAqB,GAC7B,MAAM,GACN;QACE;;WAEG;QACH,MAAM,CAAC,EAAE,eAAe,CAAC;QACzB;;WAEG;QACH,eAAe,CAAC,EAAE,OAAO,CAAC;QAC1B;;WAEG;QACH,IAAI,CAAC,EAAE,MAAM,CAAC;KACf,GACD,eAAe,CAAC;IAEpB,KAAY,sBAAsB,GAC9B,MAAM,GACN;QACE;;WAEG;QACH,KAAK,CAAC,EAAE,MAAM,CAAC;QACf;;WAEG;QACH,MAAM,CAAC,EAAE,eAAe,CAAC;QACzB;;WAEG;QACH,eAAe,CAAC,EAAE,OAAO,CAAC;KAC3B,GACD,eAAe,CAAC;CACrB;;AAED,cAAM,UAAW,SAAQ,eAA2C;CAAG;AAEvE,OAAO,EAAE,UAAU,EAAE,CAAC"} \ No newline at end of file +{"version":3,"file":"SourceCode.d.ts","sourceRoot":"","sources":["../../src/ts-eslint/SourceCode.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,cAAc,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AAC7D,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AACvC,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAErC,OAAO,OAAO,UAAU;IACtB;;;;;OAKG;IACH,oBAAoB,CAClB,IAAI,EAAE,QAAQ,CAAC,IAAI,GAAG,QAAQ,CAAC,KAAK,EACpC,KAAK,EAAE,QAAQ,CAAC,IAAI,GAAG,QAAQ,CAAC,KAAK,GACpC,OAAO;IACV;;;;OAIG;IACH,gBAAgB,CACd,WAAW,EAAE,QAAQ,CAAC,IAAI,GAAG,QAAQ,CAAC,KAAK,GAC1C,QAAQ,CAAC,OAAO,EAAE;IACrB;;;;OAIG;IACH,iBAAiB,CACf,WAAW,EAAE,QAAQ,CAAC,IAAI,GAAG,QAAQ,CAAC,KAAK,GAC1C,QAAQ,CAAC,OAAO,EAAE;IACrB;;;;OAIG;IACH,iBAAiB,CAAC,IAAI,EAAE,QAAQ,CAAC,IAAI,GAAG,QAAQ,CAAC,OAAO,EAAE;IAC1D;;;;;OAKG;IACH,aAAa,CAAC,CAAC,SAAS,UAAU,CAAC,qBAAqB,EACtD,IAAI,EAAE,QAAQ,CAAC,IAAI,EACnB,OAAO,CAAC,EAAE,CAAC,GACV,UAAU,CAAC,qBAAqB,CAAC,CAAC,CAAC,GAAG,IAAI;IAC7C;;;;;;OAMG;IACH,oBAAoB,CAAC,CAAC,SAAS,UAAU,CAAC,qBAAqB,EAC7D,IAAI,EAAE,QAAQ,CAAC,IAAI,GAAG,QAAQ,CAAC,KAAK,EACpC,KAAK,EAAE,QAAQ,CAAC,IAAI,GAAG,QAAQ,CAAC,KAAK,EACrC,OAAO,CAAC,EAAE,CAAC,GACV,UAAU,CAAC,qBAAqB,CAAC,CAAC,CAAC,GAAG,IAAI;IAC7C;;;;OAIG;IACH,cAAc,CAAC,CAAC,SAAS,UAAU,CAAC,sBAAsB,EACxD,IAAI,EAAE,QAAQ,CAAC,IAAI,EACnB,OAAO,CAAC,EAAE,CAAC,GACV,UAAU,CAAC,qBAAqB,CAAC,CAAC,CAAC,EAAE;IACxC;;;;;;OAMG;IACH,qBAAqB,CAAC,CAAC,SAAS,UAAU,CAAC,sBAAsB,EAC/D,IAAI,EAAE,QAAQ,CAAC,IAAI,GAAG,QAAQ,CAAC,KAAK,EACpC,KAAK,EAAE,QAAQ,CAAC,IAAI,GAAG,QAAQ,CAAC,KAAK,EACrC,OAAO,CAAC,EAAE,CAAC,GACV,UAAU,CAAC,qBAAqB,CAAC,CAAC,CAAC,EAAE;IACxC;;;;;OAKG;IACH,YAAY,CAAC,CAAC,SAAS,UAAU,CAAC,qBAAqB,EACrD,IAAI,EAAE,QAAQ,CAAC,IAAI,EACnB,OAAO,CAAC,EAAE,CAAC,GACV,UAAU,CAAC,qBAAqB,CAAC,CAAC,CAAC,GAAG,IAAI;IAC7C;;;;;;OAMG;IACH,mBAAmB,CAAC,CAAC,SAAS,UAAU,CAAC,qBAAqB,EAC5D,IAAI,EAAE,QAAQ,CAAC,IAAI,GAAG,QAAQ,CAAC,KAAK,EACpC,KAAK,EAAE,QAAQ,CAAC,IAAI,GAAG,QAAQ,CAAC,KAAK,EACrC,OAAO,CAAC,EAAE,CAAC,GACV,UAAU,CAAC,qBAAqB,CAAC,CAAC,CAAC,GAAG,IAAI;IAC7C;;;;OAIG;IACH,aAAa,CAAC,CAAC,SAAS,UAAU,CAAC,sBAAsB,EACvD,IAAI,EAAE,QAAQ,CAAC,IAAI,EACnB,OAAO,CAAC,EAAE,CAAC,GACV,UAAU,CAAC,qBAAqB,CAAC,CAAC,CAAC,EAAE;IACxC;;;;;;OAMG;IACH,oBAAoB,CAAC,CAAC,SAAS,UAAU,CAAC,sBAAsB,EAC9D,IAAI,EAAE,QAAQ,CAAC,IAAI,GAAG,QAAQ,CAAC,KAAK,EACpC,KAAK,EAAE,QAAQ,CAAC,IAAI,GAAG,QAAQ,CAAC,KAAK,EACrC,OAAO,CAAC,EAAE,CAAC,GACV,UAAU,CAAC,qBAAqB,CAAC,CAAC,CAAC,EAAE;IACxC;;;;;OAKG;IACH,aAAa,CAAC,CAAC,SAAS,UAAU,CAAC,qBAAqB,EACtD,IAAI,EAAE,QAAQ,CAAC,IAAI,GAAG,QAAQ,CAAC,KAAK,EACpC,OAAO,CAAC,EAAE,CAAC,GACV,UAAU,CAAC,qBAAqB,CAAC,CAAC,CAAC,GAAG,IAAI;IAC7C;;;;;OAKG;IACH,cAAc,CAAC,CAAC,SAAS,UAAU,CAAC,qBAAqB,EACvD,IAAI,EAAE,QAAQ,CAAC,IAAI,GAAG,QAAQ,CAAC,KAAK,EACpC,OAAO,CAAC,EAAE,CAAC,GACV,UAAU,CAAC,qBAAqB,CAAC,CAAC,CAAC,GAAG,IAAI;IAC7C;;;;;OAKG;IACH,oBAAoB,CAAC,CAAC,SAAS;QAAE,eAAe,CAAC,EAAE,OAAO,CAAA;KAAE,EAC1D,MAAM,EAAE,MAAM,EACd,OAAO,CAAC,EAAE,CAAC,GACV,UAAU,CAAC,qBAAqB,CAAC,CAAC,CAAC,GAAG,IAAI;IAC7C;;;;;;OAMG;IACH,SAAS,CACP,IAAI,EAAE,QAAQ,CAAC,IAAI,EACnB,WAAW,CAAC,EAAE,MAAM,EACpB,UAAU,CAAC,EAAE,MAAM,GAClB,QAAQ,CAAC,KAAK,EAAE;IACnB;;;;;OAKG;IACH,SAAS,CAAC,CAAC,SAAS,UAAU,CAAC,sBAAsB,EACnD,IAAI,EAAE,QAAQ,CAAC,IAAI,EACnB,OAAO,EAAE,CAAC,GACT,UAAU,CAAC,qBAAqB,CAAC,CAAC,CAAC,EAAE;IACxC;;;;OAIG;IACH,cAAc,CAAC,CAAC,SAAS,UAAU,CAAC,sBAAsB,EACxD,IAAI,EAAE,QAAQ,CAAC,IAAI,GAAG,QAAQ,CAAC,KAAK,EACpC,OAAO,CAAC,EAAE,MAAM,GAAG,CAAC,GACnB,UAAU,CAAC,qBAAqB,CAAC,CAAC,CAAC,EAAE;IACxC;;;;OAIG;IACH,eAAe,CAAC,CAAC,SAAS,UAAU,CAAC,sBAAsB,EACzD,IAAI,EAAE,QAAQ,CAAC,IAAI,GAAG,QAAQ,CAAC,KAAK,EACpC,OAAO,CAAC,EAAE,MAAM,GAAG,CAAC,GACnB,UAAU,CAAC,qBAAqB,CAAC,CAAC,CAAC,EAAE;IACxC;;;;;;OAMG;IACH,gBAAgB,CAAC,CAAC,SAAS,UAAU,CAAC,sBAAsB,EAC1D,IAAI,EAAE,QAAQ,CAAC,IAAI,GAAG,QAAQ,CAAC,KAAK,EACpC,KAAK,EAAE,QAAQ,CAAC,IAAI,GAAG,QAAQ,CAAC,KAAK,EACrC,OAAO,CAAC,EAAE,MAAM,GAAG,CAAC,GACnB,UAAU,CAAC,qBAAqB,CAAC,CAAC,CAAC,EAAE;CACzC;AAGD,OAAO,OAAO,cAAe,SAAQ,UAAU;IAC7C;;;OAGG;gBACS,IAAI,EAAE,MAAM,EAAE,GAAG,EAAE,UAAU,CAAC,OAAO;IACjD;;;OAGG;gBACS,MAAM,EAAE,UAAU,CAAC,gBAAgB;IAE/C;;OAEG;IACH,GAAG,EAAE,UAAU,CAAC,OAAO,CAAC;IACxB,iBAAiB,IAAI,IAAI;IACzB,oBAAoB,IAAI,IAAI;IAC5B,QAAQ,IAAI,IAAI;IAChB;;;OAGG;IACH,cAAc,IAAI,QAAQ,CAAC,OAAO,EAAE;IACpC;;;;OAIG;IACH,eAAe,CAAC,QAAQ,EAAE,QAAQ,CAAC,QAAQ,GAAG,MAAM;IACpD;;;OAGG;IACH,QAAQ,IAAI,MAAM,EAAE;IACpB;;;;OAIG;IACH,eAAe,CAAC,KAAK,EAAE,MAAM,GAAG,QAAQ,CAAC,QAAQ;IACjD;;;;OAIG;IACH,mBAAmB,CAAC,KAAK,EAAE,MAAM,GAAG,QAAQ,CAAC,IAAI,GAAG,IAAI;IACxD;;;;;;OAMG;IACH,OAAO,CACL,IAAI,CAAC,EAAE,QAAQ,CAAC,IAAI,GAAG,QAAQ,CAAC,KAAK,EACrC,WAAW,CAAC,EAAE,MAAM,EACpB,UAAU,CAAC,EAAE,MAAM,GAClB,MAAM;IACT;;OAEG;IACH,MAAM,EAAE,OAAO,CAAC;IAChB;;;;;;;OAOG;IACH,cAAc,CACZ,KAAK,EAAE,QAAQ,CAAC,IAAI,GAAG,QAAQ,CAAC,KAAK,EACrC,MAAM,EAAE,QAAQ,CAAC,IAAI,GAAG,QAAQ,CAAC,KAAK,GACrC,OAAO;IACV;;;;;;;;;;;OAWG;IACH,oBAAoB,CAAC,KAAK,EAAE,QAAQ,CAAC,KAAK,EAAE,MAAM,EAAE,QAAQ,CAAC,KAAK,GAAG,OAAO;IAC5E;;;OAGG;IACH,QAAQ,CAAC,IAAI,EAAE,QAAQ,CAAC,IAAI,GAAG,KAAK,CAAC,KAAK;IAC1C;;;;OAIG;IACH,YAAY,CAAC,IAAI,EAAE,QAAQ,CAAC,IAAI,GAAG,QAAQ,CAAC,IAAI,EAAE;IAClD;;;OAGG;IACH,oBAAoB,CAAC,IAAI,EAAE,QAAQ,CAAC,IAAI,GAAG,SAAS,KAAK,CAAC,QAAQ,EAAE;IACpE;;;OAGG;IACH,kBAAkB,CAAC,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,QAAQ,CAAC,IAAI,GAAG,OAAO;IAC9D;;;OAGG;IACH,KAAK,EAAE,MAAM,EAAE,CAAC;IAChB;;OAEG;IACH,gBAAgB,EAAE,MAAM,EAAE,CAAC;IAC3B;;OAEG;IACH,cAAc,CAAC,EAAE,OAAO,CAAC,cAAc,CAAC,CAAC;IACzC;;OAEG;IACH,YAAY,EAAE,KAAK,CAAC,YAAY,GAAG,IAAI,CAAC;IACxC;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IACb;;;;OAIG;IACH,iBAAiB,EAAE,QAAQ,CAAC,KAAK,EAAE,CAAC;IACpC;;OAEG;IACH,WAAW,EAAE,UAAU,CAAC,WAAW,CAAC;IAMpC;;;;OAIG;IACH,MAAM,CAAC,UAAU,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,EAAE;CAC1C;AAED,kBAAU,UAAU,CAAC;IACnB,UAAiB,OAAQ,SAAQ,QAAQ,CAAC,OAAO;QAC/C,QAAQ,EAAE,QAAQ,CAAC,OAAO,EAAE,CAAC;QAC7B,MAAM,EAAE,QAAQ,CAAC,KAAK,EAAE,CAAC;KAC1B;IAED,UAAiB,gBAAgB;QAC/B;;WAEG;QACH,GAAG,EAAE,OAAO,CAAC;QACb;;WAEG;QACH,cAAc,EAAE,cAAc,GAAG,IAAI,CAAC;QACtC;;WAEG;QACH,YAAY,EAAE,KAAK,CAAC,YAAY,GAAG,IAAI,CAAC;QACxC;;WAEG;QACH,IAAI,EAAE,MAAM,CAAC;QACb;;WAEG;QACH,WAAW,EAAE,WAAW,GAAG,IAAI,CAAC;KACjC;IAED,KAAY,WAAW,GAAG,MAAM,CAAC,WAAW,CAAC;IAE7C,KAAY,eAAe,GAAG,CAAC,KAAK,EAAE,QAAQ,CAAC,KAAK,KAAK,OAAO,CAAC;IACjE,KAAY,kBAAkB,CAAC,MAAM,EAAE,OAAO,IAG5C,MAAM,SAAS,CAAC,CACd,KAAK,EAAE,QAAQ,CAAC,KAAK,KAClB,KAAK,IAAI,MAAM,CAAC,SAAS,QAAQ,CAAC,KAAK,CAAC,GACzC,CAAC,GACD,OAAO,CAAC;IACd,KAAY,6BAA6B,CAAC,OAAO,EAAE,OAAO,IACxD,OAAO,SAAS;QAAE,MAAM,CAAC,EAAE,eAAe,CAAA;KAAE,GACxC,kBAAkB,CAAC,OAAO,CAAC,QAAQ,CAAC,EAAE,OAAO,CAAC,GAC9C,kBAAkB,CAAC,OAAO,EAAE,OAAO,CAAC,CAAC;IAC3C,KAAY,qBAAqB,CAAC,CAAC,IAAI,CAAC,SAAS;QAAE,eAAe,EAAE,IAAI,CAAA;KAAE,GACtE,6BAA6B,CAAC,CAAC,EAAE,QAAQ,CAAC,KAAK,CAAC,GAChD,6BAA6B,CAC3B,CAAC,EACD,OAAO,CAAC,QAAQ,CAAC,KAAK,EAAE,QAAQ,CAAC,OAAO,CAAC,CAC1C,CAAC;IAEN,KAAY,qBAAqB,GAC7B,MAAM,GACN;QACE;;WAEG;QACH,MAAM,CAAC,EAAE,eAAe,CAAC;QACzB;;WAEG;QACH,eAAe,CAAC,EAAE,OAAO,CAAC;QAC1B;;WAEG;QACH,IAAI,CAAC,EAAE,MAAM,CAAC;KACf,GACD,eAAe,CAAC;IAEpB,KAAY,sBAAsB,GAC9B,MAAM,GACN;QACE;;WAEG;QACH,KAAK,CAAC,EAAE,MAAM,CAAC;QACf;;WAEG;QACH,MAAM,CAAC,EAAE,eAAe,CAAC;QACzB;;WAEG;QACH,eAAe,CAAC,EAAE,OAAO,CAAC;KAC3B,GACD,eAAe,CAAC;CACrB;+BAE6C,OAAO,cAAc;AAAnE,cAAM,UAAW,SAAQ,eAA2C;CAAG;AAEvE,OAAO,EAAE,UAAU,EAAE,CAAC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/utils/dist/ts-eslint/eslint/FlatESLint.d.ts.map b/node_modules/@typescript-eslint/utils/dist/ts-eslint/eslint/FlatESLint.d.ts.map index cb4cbb1e8c..3afc310abf 100644 --- a/node_modules/@typescript-eslint/utils/dist/ts-eslint/eslint/FlatESLint.d.ts.map +++ b/node_modules/@typescript-eslint/utils/dist/ts-eslint/eslint/FlatESLint.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"FlatESLint.d.ts","sourceRoot":"","sources":["../../../src/ts-eslint/eslint/FlatESLint.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,WAAW,CAAC;AAC5C,OAAO,KAAK,KAAK,MAAM,MAAM,gBAAgB,CAAC;AAG9C,OAAO,OAAO,cAAe,SAAQ,MAAM,CAAC,UAAU,CACpD,UAAU,CAAC,WAAW,EACtB,UAAU,CAAC,aAAa,CACzB;IACC,MAAM,CAAC,QAAQ,CAAC,UAAU,EAAE,MAAM,CAAC;IAEnC;;;;;;OAMG;IACH,sBAAsB,CAAC,QAAQ,EAAE,MAAM,GAAG,OAAO,CAAC,UAAU,CAAC,WAAW,CAAC;IAEzE;;;;OAIG;IACH,cAAc,IAAI,OAAO,CAAC,MAAM,GAAG,SAAS,CAAC;CAC9C;;AAED;;;;;GAKG;AACH,qBAAa,UAAW,SAAQ,eAA2C;CAAG;AAC9E,yBAAiB,UAAU,CAAC;IAC1B,UAAiB,aACf,SAAQ,MAAM,CAAC,aAAa,CAAC,UAAU,CAAC,WAAW,CAAC;QACpD;;;WAGG;QACH,MAAM,CAAC,EAAE,OAAO,CAAC;QACjB;;;WAGG;QACH,cAAc,CAAC,EAAE,MAAM,EAAE,GAAG,IAAI,CAAC;QACjC;;;;;WAKG;QACH,kBAAkB,CAAC,EAAE,OAAO,GAAG,MAAM,CAAC;QACtC;;;;WAIG;QACH,UAAU,CAAC,EAAE,UAAU,CAAC;QACxB;;;;WAIG;QACH,KAAK,CAAC,EAAE,OAAO,CAAC;QAChB;;;WAGG;QACH,WAAW,CAAC,EAAE,OAAO,CAAC;KACvB;IACD,KAAY,kBAAkB,GAAG,MAAM,CAAC,kBAAkB,CAAC;IAC3D,KAAY,QAAQ,GAAG,MAAM,CAAC,QAAQ,CAAC;IACvC,KAAY,SAAS,GAAG,MAAM,CAAC,SAAS,CAAC;IACzC,KAAY,WAAW,GAAG,MAAM,CAAC,WAAW,CAAC;IAC7C,KAAY,UAAU,GAAG,MAAM,CAAC,UAAU,CAAC;IAC3C,KAAY,SAAS,GAAG,MAAM,CAAC,SAAS,CAAC;IACzC,KAAY,gBAAgB,GAAG,MAAM,CAAC,gBAAgB,CAAC;IACvD,KAAY,kBAAkB,GAAG,MAAM,CAAC,kBAAkB,CAAC;IAC3D,KAAY,iBAAiB,GAAG,MAAM,CAAC,iBAAiB,CAAC;IACzD,KAAY,iBAAiB,GAAG,MAAM,CAAC,iBAAiB,CAAC;IACzD,KAAY,eAAe,GAAG,MAAM,CAAC,eAAe,CAAC;IACrD,KAAY,qBAAqB,GAAG,MAAM,CAAC,qBAAqB,CAAC;IACjE,KAAY,UAAU,GAAG,CAAC,IAAI,EAAE;QAC9B,MAAM,EAAE,MAAM,CAAC;QACf,QAAQ,EAAE,MAAM,CAAC;KAClB,KAAK,OAAO,CAAC;CACf"} \ No newline at end of file +{"version":3,"file":"FlatESLint.d.ts","sourceRoot":"","sources":["../../../src/ts-eslint/eslint/FlatESLint.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,WAAW,CAAC;AAC5C,OAAO,KAAK,KAAK,MAAM,MAAM,gBAAgB,CAAC;AAG9C,OAAO,OAAO,cAAe,SAAQ,MAAM,CAAC,UAAU,CACpD,UAAU,CAAC,WAAW,EACtB,UAAU,CAAC,aAAa,CACzB;IACC,MAAM,CAAC,QAAQ,CAAC,UAAU,EAAE,MAAM,CAAC;IAEnC;;;;;;OAMG;IACH,sBAAsB,CAAC,QAAQ,EAAE,MAAM,GAAG,OAAO,CAAC,UAAU,CAAC,WAAW,CAAC;IAEzE;;;;OAIG;IACH,cAAc,IAAI,OAAO,CAAC,MAAM,GAAG,SAAS,CAAC;CAC9C;+BAQoD,OAAO,cAAc;AAN1E;;;;;GAKG;AACH,qBAAa,UAAW,SAAQ,eAA2C;CAAG;AAC9E,yBAAiB,UAAU,CAAC;IAC1B,UAAiB,aACf,SAAQ,MAAM,CAAC,aAAa,CAAC,UAAU,CAAC,WAAW,CAAC;QACpD;;;WAGG;QACH,MAAM,CAAC,EAAE,OAAO,CAAC;QACjB;;;WAGG;QACH,cAAc,CAAC,EAAE,MAAM,EAAE,GAAG,IAAI,CAAC;QACjC;;;;;WAKG;QACH,kBAAkB,CAAC,EAAE,OAAO,GAAG,MAAM,CAAC;QACtC;;;;WAIG;QACH,UAAU,CAAC,EAAE,UAAU,CAAC;QACxB;;;;WAIG;QACH,KAAK,CAAC,EAAE,OAAO,CAAC;QAChB;;;WAGG;QACH,WAAW,CAAC,EAAE,OAAO,CAAC;KACvB;IACD,KAAY,kBAAkB,GAAG,MAAM,CAAC,kBAAkB,CAAC;IAC3D,KAAY,QAAQ,GAAG,MAAM,CAAC,QAAQ,CAAC;IACvC,KAAY,SAAS,GAAG,MAAM,CAAC,SAAS,CAAC;IACzC,KAAY,WAAW,GAAG,MAAM,CAAC,WAAW,CAAC;IAC7C,KAAY,UAAU,GAAG,MAAM,CAAC,UAAU,CAAC;IAC3C,KAAY,SAAS,GAAG,MAAM,CAAC,SAAS,CAAC;IACzC,KAAY,gBAAgB,GAAG,MAAM,CAAC,gBAAgB,CAAC;IACvD,KAAY,kBAAkB,GAAG,MAAM,CAAC,kBAAkB,CAAC;IAC3D,KAAY,iBAAiB,GAAG,MAAM,CAAC,iBAAiB,CAAC;IACzD,KAAY,iBAAiB,GAAG,MAAM,CAAC,iBAAiB,CAAC;IACzD,KAAY,eAAe,GAAG,MAAM,CAAC,eAAe,CAAC;IACrD,KAAY,qBAAqB,GAAG,MAAM,CAAC,qBAAqB,CAAC;IACjE,KAAY,UAAU,GAAG,CAAC,IAAI,EAAE;QAC9B,MAAM,EAAE,MAAM,CAAC;QACf,QAAQ,EAAE,MAAM,CAAC;KAClB,KAAK,OAAO,CAAC;CACf"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/utils/dist/ts-eslint/eslint/LegacyESLint.d.ts.map b/node_modules/@typescript-eslint/utils/dist/ts-eslint/eslint/LegacyESLint.d.ts.map index 6fd8962d41..e798f27c24 100644 --- a/node_modules/@typescript-eslint/utils/dist/ts-eslint/eslint/LegacyESLint.d.ts.map +++ b/node_modules/@typescript-eslint/utils/dist/ts-eslint/eslint/LegacyESLint.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"LegacyESLint.d.ts","sourceRoot":"","sources":["../../../src/ts-eslint/eslint/LegacyESLint.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,WAAW,CAAC;AAC/C,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,WAAW,CAAC;AACxC,OAAO,KAAK,KAAK,MAAM,MAAM,gBAAgB,CAAC;AAG9C,OAAO,OAAO,gBAAiB,SAAQ,MAAM,CAAC,UAAU,CACtD,aAAa,CAAC,MAAM,EACpB,YAAY,CAAC,aAAa,CAC3B;IACC,MAAM,CAAC,QAAQ,CAAC,UAAU,EAAE,UAAU,CAAC;CACxC;;AAED;;;;;GAKG;AACH,qBAAa,YAAa,SAAQ,iBAA+C;CAAG;AACpF,yBAAiB,YAAY,CAAC;IAC5B,UAAiB,aACf,SAAQ,MAAM,CAAC,aAAa,CAAC,aAAa,CAAC,MAAM,CAAC;QAClD;;;;;;;WAOG;QACH,UAAU,CAAC,EAAE,MAAM,EAAE,GAAG,IAAI,CAAC;QAC7B;;;WAGG;QACH,MAAM,CAAC,EAAE,OAAO,CAAC;QACjB;;;WAGG;QACH,UAAU,CAAC,EAAE,MAAM,CAAC;QACpB;;;WAGG;QACH,kBAAkB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;QACnC;;;WAGG;QACH,6BAA6B,CAAC,EAAE,MAAM,CAAC,cAAc,GAAG,IAAI,CAAC;QAC7D;;;;;WAKG;QACH,wBAAwB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;QACzC;;WAEG;QACH,SAAS,CAAC,EAAE,MAAM,EAAE,CAAC;QACrB;;;WAGG;QACH,WAAW,CAAC,EAAE,OAAO,CAAC;KACvB;IACD,KAAY,kBAAkB,GAAG,MAAM,CAAC,kBAAkB,CAAC;IAC3D,KAAY,QAAQ,GAAG,MAAM,CAAC,QAAQ,CAAC;IACvC,KAAY,SAAS,GAAG,MAAM,CAAC,SAAS,CAAC;IACzC,KAAY,WAAW,GAAG,MAAM,CAAC,WAAW,CAAC;IAC7C,KAAY,UAAU,GAAG,IAAI,CAAC,MAAM,CAAC,UAAU,EAAE,OAAO,CAAC,CAAC;IAC1D,KAAY,eAAe,GAAG,MAAM,CAAC,eAAe,CAAC;IACrD,KAAY,qBAAqB,GAAG,MAAM,CAAC,qBAAqB,CAAC;CAClE"} \ No newline at end of file +{"version":3,"file":"LegacyESLint.d.ts","sourceRoot":"","sources":["../../../src/ts-eslint/eslint/LegacyESLint.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,WAAW,CAAC;AAC/C,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,WAAW,CAAC;AACxC,OAAO,KAAK,KAAK,MAAM,MAAM,gBAAgB,CAAC;AAG9C,OAAO,OAAO,gBAAiB,SAAQ,MAAM,CAAC,UAAU,CACtD,aAAa,CAAC,MAAM,EACpB,YAAY,CAAC,aAAa,CAC3B;IACC,MAAM,CAAC,QAAQ,CAAC,UAAU,EAAE,UAAU,CAAC;CACxC;iCAQwD,OAAO,gBAAgB;AANhF;;;;;GAKG;AACH,qBAAa,YAAa,SAAQ,iBAA+C;CAAG;AACpF,yBAAiB,YAAY,CAAC;IAC5B,UAAiB,aACf,SAAQ,MAAM,CAAC,aAAa,CAAC,aAAa,CAAC,MAAM,CAAC;QAClD;;;;;;;WAOG;QACH,UAAU,CAAC,EAAE,MAAM,EAAE,GAAG,IAAI,CAAC;QAC7B;;;WAGG;QACH,MAAM,CAAC,EAAE,OAAO,CAAC;QACjB;;;WAGG;QACH,UAAU,CAAC,EAAE,MAAM,CAAC;QACpB;;;WAGG;QACH,kBAAkB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;QACnC;;;WAGG;QACH,6BAA6B,CAAC,EAAE,MAAM,CAAC,cAAc,GAAG,IAAI,CAAC;QAC7D;;;;;WAKG;QACH,wBAAwB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;QACzC;;WAEG;QACH,SAAS,CAAC,EAAE,MAAM,EAAE,CAAC;QACrB;;;WAGG;QACH,WAAW,CAAC,EAAE,OAAO,CAAC;KACvB;IACD,KAAY,kBAAkB,GAAG,MAAM,CAAC,kBAAkB,CAAC;IAC3D,KAAY,QAAQ,GAAG,MAAM,CAAC,QAAQ,CAAC;IACvC,KAAY,SAAS,GAAG,MAAM,CAAC,SAAS,CAAC;IACzC,KAAY,WAAW,GAAG,MAAM,CAAC,WAAW,CAAC;IAC7C,KAAY,UAAU,GAAG,IAAI,CAAC,MAAM,CAAC,UAAU,EAAE,OAAO,CAAC,CAAC;IAC1D,KAAY,eAAe,GAAG,MAAM,CAAC,eAAe,CAAC;IACrD,KAAY,qBAAqB,GAAG,MAAM,CAAC,qBAAqB,CAAC;CAClE"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/utils/package.json b/node_modules/@typescript-eslint/utils/package.json index 63714ac2c9..93d3f33e80 100644 --- a/node_modules/@typescript-eslint/utils/package.json +++ b/node_modules/@typescript-eslint/utils/package.json @@ -1,6 +1,6 @@ { "name": "@typescript-eslint/utils", - "version": "8.15.0", + "version": "8.16.0", "description": "Utilities for working with TypeScript + ESLint together", "files": [ "dist", @@ -64,9 +64,9 @@ }, "dependencies": { "@eslint-community/eslint-utils": "^4.4.0", - "@typescript-eslint/scope-manager": "8.15.0", - "@typescript-eslint/types": "8.15.0", - "@typescript-eslint/typescript-estree": "8.15.0" + "@typescript-eslint/scope-manager": "8.16.0", + "@typescript-eslint/types": "8.16.0", + "@typescript-eslint/typescript-estree": "8.16.0" }, "peerDependencies": { "eslint": "^8.57.0 || ^9.0.0" diff --git a/node_modules/@typescript-eslint/visitor-keys/dist/visitor-keys.js b/node_modules/@typescript-eslint/visitor-keys/dist/visitor-keys.js index 1cff10c86d..77c96599be 100644 --- a/node_modules/@typescript-eslint/visitor-keys/dist/visitor-keys.js +++ b/node_modules/@typescript-eslint/visitor-keys/dist/visitor-keys.js @@ -15,13 +15,23 @@ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? ( }) : function(o, v) { o["default"] = v; }); -var __importStar = (this && this.__importStar) || function (mod) { - if (mod && mod.__esModule) return mod; - var result = {}; - if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k); - __setModuleDefault(result, mod); - return result; -}; +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); Object.defineProperty(exports, "__esModule", { value: true }); exports.visitorKeys = void 0; const eslintVisitorKeys = __importStar(require("eslint-visitor-keys")); diff --git a/node_modules/@typescript-eslint/visitor-keys/dist/visitor-keys.js.map b/node_modules/@typescript-eslint/visitor-keys/dist/visitor-keys.js.map index fc54482a6b..cb3c0e3b84 100644 --- a/node_modules/@typescript-eslint/visitor-keys/dist/visitor-keys.js.map +++ b/node_modules/@typescript-eslint/visitor-keys/dist/visitor-keys.js.map @@ -1 +1 @@ -{"version":3,"file":"visitor-keys.js","sourceRoot":"","sources":["../src/visitor-keys.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAEA,uEAAyD;AA4GzD;;;;;;;;;;;;;;;;;;;;;GAqBG;AAEH,MAAM,iBAAiB,GAAG,CAAC,GAAG,EAAE;IAC9B,MAAM,YAAY,GAAG,CAAC,gBAAgB,EAAE,QAAQ,EAAE,YAAY,CAAU,CAAC;IACzE,MAAM,iBAAiB,GAAG,CAAC,GAAG,YAAY,EAAE,MAAM,CAAU,CAAC;IAC7D,MAAM,0BAA0B,GAAG;QACjC,YAAY;QACZ,KAAK;QACL,gBAAgB;KACR,CAAC;IAEX,OAAO;QACL,0BAA0B,EAAE,CAAC,YAAY,EAAE,KAAK,EAAE,gBAAgB,CAAC;QACnE,iBAAiB;QACjB,YAAY,EAAE,CAAC,YAAY,EAAE,gBAAgB,CAAC;QAC9C,gBAAgB,EAAE;YAChB,YAAY;YACZ,IAAI;YACJ,gBAAgB;YAChB,YAAY;YACZ,oBAAoB;YACpB,YAAY;YACZ,MAAM;SACP;QACD,QAAQ,EAAE,CAAC,IAAI,EAAE,GAAG,iBAAiB,CAAC;QACtC,YAAY;QACZ,kBAAkB,EAAE,CAAC,GAAG,0BAA0B,EAAE,OAAO,CAAC;KACpD,CAAC;AACb,CAAC,CAAC,EAAE,CAAC;AAEL,MAAM,cAAc,GAAmB;IACrC,gBAAgB,EAAE,iBAAiB,CAAC,kBAAkB;IACtD,YAAY,EAAE,CAAC,YAAY,EAAE,UAAU,EAAE,gBAAgB,CAAC;IAC1D,uBAAuB,EAAE,iBAAiB,CAAC,iBAAiB;IAC5D,iBAAiB,EAAE,CAAC,YAAY,EAAE,MAAM,EAAE,OAAO,EAAE,gBAAgB,CAAC;IACpE,cAAc,EAAE,CAAC,QAAQ,EAAE,eAAe,EAAE,WAAW,CAAC;IACxD,gBAAgB,EAAE,iBAAiB,CAAC,gBAAgB;IACpD,eAAe,EAAE,iBAAiB,CAAC,gBAAgB;IACnD,SAAS,EAAE,CAAC,YAAY,CAAC;IACzB,oBAAoB,EAAE,CAAC,UAAU,EAAE,QAAQ,EAAE,YAAY,CAAC;IAC1D,sBAAsB,EAAE,CAAC,aAAa,EAAE,YAAY,EAAE,QAAQ,EAAE,YAAY,CAAC;IAC7E,mBAAmB,EAAE,iBAAiB,CAAC,QAAQ;IAC/C,kBAAkB,EAAE,iBAAiB,CAAC,QAAQ;IAC9C,UAAU,EAAE,CAAC,YAAY,EAAE,gBAAgB,CAAC;IAC5C,eAAe,EAAE,CAAC,KAAK,EAAE,OAAO,CAAC;IACjC,iBAAiB,EAAE,CAAC,YAAY,EAAE,QAAQ,EAAE,YAAY,CAAC;IACzD,gBAAgB,EAAE,CAAC,QAAQ,EAAE,SAAS,CAAC;IACvC,kBAAkB,EAAE,EAAE;IACtB,iBAAiB,EAAE,CAAC,MAAM,EAAE,eAAe,EAAE,YAAY,CAAC;IAC1D,kBAAkB,EAAE,EAAE;IACtB,cAAc,EAAE,CAAC,YAAY,CAAC;IAC9B,gBAAgB,EAAE,CAAC,YAAY,EAAE,KAAK,EAAE,OAAO,CAAC;IAChD,aAAa,EAAE,CAAC,QAAQ,EAAE,eAAe,EAAE,WAAW,CAAC;IACvD,aAAa,EAAE,CAAC,YAAY,EAAE,YAAY,EAAE,gBAAgB,CAAC;IAC7D,kBAAkB,EAAE,iBAAiB,CAAC,kBAAkB;IACxD,WAAW,EAAE,CAAC,YAAY,EAAE,UAAU,EAAE,gBAAgB,CAAC;IACzD,WAAW,EAAE,CAAC,MAAM,CAAC;IACrB,wBAAwB,EAAE,CAAC,KAAK,EAAE,eAAe,EAAE,OAAO,CAAC;IAC3D,0BAA0B,EAAE,iBAAiB,CAAC,0BAA0B;IACxE,iBAAiB,EAAE,EAAE;IACrB,0BAA0B,EAAE,CAAC,KAAK,EAAE,OAAO,CAAC;IAC5C,4BAA4B,EAAE,iBAAiB,CAAC,0BAA0B;IAC1E,YAAY,EAAE,EAAE;IAChB,WAAW,EAAE,CAAC,aAAa,CAAC;IAC5B,cAAc,EAAE,iBAAiB,CAAC,YAAY;IAC9C,cAAc,EAAE,EAAE;IAClB,eAAe,EAAE,EAAE;IACnB,gBAAgB,EAAE,EAAE;IACpB,0BAA0B,EAAE,iBAAiB,CAAC,YAAY;IAC1D,iBAAiB,EAAE,CAAC,YAAY,EAAE,eAAe,CAAC;IAClD,iBAAiB,EAAE,CAAC,WAAW,EAAE,aAAa,EAAE,UAAU,EAAE,WAAW,CAAC;IACxE,iBAAiB,EAAE,iBAAiB,CAAC,YAAY;IACjD,+BAA+B,EAAE,iBAAiB,CAAC,YAAY;IAC/D,iBAAiB,EAAE,iBAAiB,CAAC,QAAQ;IAC7C,gBAAgB,EAAE,EAAE;IACpB,6BAA6B,EAAE,CAAC,IAAI,EAAE,GAAG,iBAAiB,CAAC,YAAY,CAAC;IACxE,UAAU,EAAE,CAAC,SAAS,CAAC;IACvB,iBAAiB,EAAE,CAAC,IAAI,EAAE,MAAM,CAAC;IACjC,YAAY,EAAE,CAAC,IAAI,EAAE,aAAa,CAAC;IACnC,kBAAkB,EAAE,CAAC,YAAY,CAAC;IAClC,eAAe,EAAE,EAAE;IACnB,yBAAyB,EAAE,CAAC,YAAY,CAAC;IACzC,cAAc,EAAE,iBAAiB,CAAC,YAAY;IAC9C,yBAAyB,EAAE,CAAC,IAAI,EAAE,iBAAiB,CAAC;IACpD,YAAY,EAAE,CAAC,UAAU,EAAE,WAAW,EAAE,eAAe,CAAC;IACxD,mBAAmB,EAAE,CAAC,WAAW,EAAE,YAAY,CAAC;IAChD,gBAAgB,EAAE,CAAC,YAAY,EAAE,gBAAgB,CAAC;IAClD,WAAW,EAAE,CAAC,eAAe,CAAC;IAC9B,yBAAyB,EAAE,CAAC,YAAY,EAAE,eAAe,CAAC;IAC1D,eAAe,EAAE,CAAC,MAAM,CAAC;IACzB,sBAAsB,EAAE,CAAC,IAAI,EAAE,gBAAgB,EAAE,SAAS,EAAE,MAAM,CAAC;IACnE,mBAAmB,EAAE,CAAC,YAAY,EAAE,eAAe,CAAC;IACpD,kBAAkB,EAAE,CAAC,OAAO,CAAC;IAC7B,kBAAkB,EAAE,EAAE;IACtB,aAAa,EAAE,CAAC,SAAS,CAAC;IAC1B,YAAY,EAAE,CAAC,KAAK,EAAE,YAAY,EAAE,UAAU,EAAE,gBAAgB,CAAC;IACjE,iBAAiB,EAAE,CAAC,gBAAgB,EAAE,KAAK,EAAE,QAAQ,EAAE,YAAY,CAAC;IACpE,aAAa,EAAE,CAAC,MAAM,CAAC;IACvB,mBAAmB,EAAE,CAAC,IAAI,EAAE,MAAM,CAAC;IACnC,kBAAkB,EAAE,CAAC,OAAO,EAAE,aAAa,CAAC;IAC5C,4BAA4B,EAAE,CAAC,IAAI,CAAC;IACpC,cAAc,EAAE,EAAE;IAClB,mBAAmB,EAAE,CAAC,YAAY,CAAC;IACnC,aAAa,EAAE,EAAE;IACjB,eAAe,EAAE,EAAE;IACnB,eAAe,EAAE,EAAE;IACnB,cAAc,EAAE,CAAC,gBAAgB,CAAC;IAClC,mBAAmB,EAAE,CAAC,YAAY,EAAE,WAAW,CAAC;IAChD,gBAAgB,EAAE,EAAE;IACpB,mBAAmB,EAAE,CAAC,gBAAgB,EAAE,KAAK,CAAC;IAC9C,kBAAkB,EAAE,EAAE;IACtB,eAAe,EAAE,EAAE;IACnB,eAAe,EAAE,CAAC,MAAM,EAAE,OAAO,CAAC;IAClC,iBAAiB,EAAE,EAAE;IACrB,UAAU,EAAE,CAAC,gBAAgB,CAAC;IAC9B,qBAAqB,EAAE,iBAAiB,CAAC,YAAY;IACrD,eAAe,EAAE,EAAE;IACnB,eAAe,EAAE,EAAE;IACnB,eAAe,EAAE,EAAE;IACnB,qBAAqB,EAAE,CAAC,QAAQ,EAAE,OAAO,CAAC;IAC1C,UAAU,EAAE,EAAE;IACd,WAAW,EAAE,CAAC,cAAc,CAAC;IAC7B,sBAAsB,EAAE,CAAC,IAAI,EAAE,gBAAgB,EAAE,gBAAgB,CAAC;IAClE,gBAAgB,EAAE,CAAC,gBAAgB,CAAC;IACpC,eAAe,EAAE,CAAC,gBAAgB,EAAE,YAAY,CAAC;IACjD,aAAa,EAAE,CAAC,SAAS,CAAC;IAC1B,cAAc,EAAE,CAAC,gBAAgB,CAAC;IAClC,eAAe,EAAE,CAAC,MAAM,EAAE,YAAY,EAAE,SAAS,CAAC;IAClD,0BAA0B,EAAE,CAAC,QAAQ,CAAC;IACtC,4BAA4B,EAAE,CAAC,QAAQ,CAAC;IACxC,eAAe,EAAE,CAAC,gBAAgB,EAAE,eAAe,CAAC;IACpD,WAAW,EAAE,CAAC,UAAU,EAAE,eAAe,CAAC;IAC1C,eAAe,EAAE,CAAC,UAAU,EAAE,eAAe,CAAC;IAC9C,kBAAkB,EAAE,EAAE;IACtB,WAAW,EAAE,CAAC,OAAO,CAAC;IACtB,gBAAgB,EAAE,EAAE;IACpB,aAAa,EAAE,EAAE;CAClB,CAAC;AAEF,MAAM,WAAW,GAAgB,iBAAiB,CAAC,SAAS,CAAC,cAAc,CAAC,CAAC;AAEpE,kCAAW"} \ No newline at end of file +{"version":3,"file":"visitor-keys.js","sourceRoot":"","sources":["../src/visitor-keys.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEA,uEAAyD;AA4GzD;;;;;;;;;;;;;;;;;;;;;GAqBG;AAEH,MAAM,iBAAiB,GAAG,CAAC,GAAG,EAAE;IAC9B,MAAM,YAAY,GAAG,CAAC,gBAAgB,EAAE,QAAQ,EAAE,YAAY,CAAU,CAAC;IACzE,MAAM,iBAAiB,GAAG,CAAC,GAAG,YAAY,EAAE,MAAM,CAAU,CAAC;IAC7D,MAAM,0BAA0B,GAAG;QACjC,YAAY;QACZ,KAAK;QACL,gBAAgB;KACR,CAAC;IAEX,OAAO;QACL,0BAA0B,EAAE,CAAC,YAAY,EAAE,KAAK,EAAE,gBAAgB,CAAC;QACnE,iBAAiB;QACjB,YAAY,EAAE,CAAC,YAAY,EAAE,gBAAgB,CAAC;QAC9C,gBAAgB,EAAE;YAChB,YAAY;YACZ,IAAI;YACJ,gBAAgB;YAChB,YAAY;YACZ,oBAAoB;YACpB,YAAY;YACZ,MAAM;SACP;QACD,QAAQ,EAAE,CAAC,IAAI,EAAE,GAAG,iBAAiB,CAAC;QACtC,YAAY;QACZ,kBAAkB,EAAE,CAAC,GAAG,0BAA0B,EAAE,OAAO,CAAC;KACpD,CAAC;AACb,CAAC,CAAC,EAAE,CAAC;AAEL,MAAM,cAAc,GAAmB;IACrC,gBAAgB,EAAE,iBAAiB,CAAC,kBAAkB;IACtD,YAAY,EAAE,CAAC,YAAY,EAAE,UAAU,EAAE,gBAAgB,CAAC;IAC1D,uBAAuB,EAAE,iBAAiB,CAAC,iBAAiB;IAC5D,iBAAiB,EAAE,CAAC,YAAY,EAAE,MAAM,EAAE,OAAO,EAAE,gBAAgB,CAAC;IACpE,cAAc,EAAE,CAAC,QAAQ,EAAE,eAAe,EAAE,WAAW,CAAC;IACxD,gBAAgB,EAAE,iBAAiB,CAAC,gBAAgB;IACpD,eAAe,EAAE,iBAAiB,CAAC,gBAAgB;IACnD,SAAS,EAAE,CAAC,YAAY,CAAC;IACzB,oBAAoB,EAAE,CAAC,UAAU,EAAE,QAAQ,EAAE,YAAY,CAAC;IAC1D,sBAAsB,EAAE,CAAC,aAAa,EAAE,YAAY,EAAE,QAAQ,EAAE,YAAY,CAAC;IAC7E,mBAAmB,EAAE,iBAAiB,CAAC,QAAQ;IAC/C,kBAAkB,EAAE,iBAAiB,CAAC,QAAQ;IAC9C,UAAU,EAAE,CAAC,YAAY,EAAE,gBAAgB,CAAC;IAC5C,eAAe,EAAE,CAAC,KAAK,EAAE,OAAO,CAAC;IACjC,iBAAiB,EAAE,CAAC,YAAY,EAAE,QAAQ,EAAE,YAAY,CAAC;IACzD,gBAAgB,EAAE,CAAC,QAAQ,EAAE,SAAS,CAAC;IACvC,kBAAkB,EAAE,EAAE;IACtB,iBAAiB,EAAE,CAAC,MAAM,EAAE,eAAe,EAAE,YAAY,CAAC;IAC1D,kBAAkB,EAAE,EAAE;IACtB,cAAc,EAAE,CAAC,YAAY,CAAC;IAC9B,gBAAgB,EAAE,CAAC,YAAY,EAAE,KAAK,EAAE,OAAO,CAAC;IAChD,aAAa,EAAE,CAAC,QAAQ,EAAE,eAAe,EAAE,WAAW,CAAC;IACvD,aAAa,EAAE,CAAC,YAAY,EAAE,YAAY,EAAE,gBAAgB,CAAC;IAC7D,kBAAkB,EAAE,iBAAiB,CAAC,kBAAkB;IACxD,WAAW,EAAE,CAAC,YAAY,EAAE,UAAU,EAAE,gBAAgB,CAAC;IACzD,WAAW,EAAE,CAAC,MAAM,CAAC;IACrB,wBAAwB,EAAE,CAAC,KAAK,EAAE,eAAe,EAAE,OAAO,CAAC;IAC3D,0BAA0B,EAAE,iBAAiB,CAAC,0BAA0B;IACxE,iBAAiB,EAAE,EAAE;IACrB,0BAA0B,EAAE,CAAC,KAAK,EAAE,OAAO,CAAC;IAC5C,4BAA4B,EAAE,iBAAiB,CAAC,0BAA0B;IAC1E,YAAY,EAAE,EAAE;IAChB,WAAW,EAAE,CAAC,aAAa,CAAC;IAC5B,cAAc,EAAE,iBAAiB,CAAC,YAAY;IAC9C,cAAc,EAAE,EAAE;IAClB,eAAe,EAAE,EAAE;IACnB,gBAAgB,EAAE,EAAE;IACpB,0BAA0B,EAAE,iBAAiB,CAAC,YAAY;IAC1D,iBAAiB,EAAE,CAAC,YAAY,EAAE,eAAe,CAAC;IAClD,iBAAiB,EAAE,CAAC,WAAW,EAAE,aAAa,EAAE,UAAU,EAAE,WAAW,CAAC;IACxE,iBAAiB,EAAE,iBAAiB,CAAC,YAAY;IACjD,+BAA+B,EAAE,iBAAiB,CAAC,YAAY;IAC/D,iBAAiB,EAAE,iBAAiB,CAAC,QAAQ;IAC7C,gBAAgB,EAAE,EAAE;IACpB,6BAA6B,EAAE,CAAC,IAAI,EAAE,GAAG,iBAAiB,CAAC,YAAY,CAAC;IACxE,UAAU,EAAE,CAAC,SAAS,CAAC;IACvB,iBAAiB,EAAE,CAAC,IAAI,EAAE,MAAM,CAAC;IACjC,YAAY,EAAE,CAAC,IAAI,EAAE,aAAa,CAAC;IACnC,kBAAkB,EAAE,CAAC,YAAY,CAAC;IAClC,eAAe,EAAE,EAAE;IACnB,yBAAyB,EAAE,CAAC,YAAY,CAAC;IACzC,cAAc,EAAE,iBAAiB,CAAC,YAAY;IAC9C,yBAAyB,EAAE,CAAC,IAAI,EAAE,iBAAiB,CAAC;IACpD,YAAY,EAAE,CAAC,UAAU,EAAE,WAAW,EAAE,eAAe,CAAC;IACxD,mBAAmB,EAAE,CAAC,WAAW,EAAE,YAAY,CAAC;IAChD,gBAAgB,EAAE,CAAC,YAAY,EAAE,gBAAgB,CAAC;IAClD,WAAW,EAAE,CAAC,eAAe,CAAC;IAC9B,yBAAyB,EAAE,CAAC,YAAY,EAAE,eAAe,CAAC;IAC1D,eAAe,EAAE,CAAC,MAAM,CAAC;IACzB,sBAAsB,EAAE,CAAC,IAAI,EAAE,gBAAgB,EAAE,SAAS,EAAE,MAAM,CAAC;IACnE,mBAAmB,EAAE,CAAC,YAAY,EAAE,eAAe,CAAC;IACpD,kBAAkB,EAAE,CAAC,OAAO,CAAC;IAC7B,kBAAkB,EAAE,EAAE;IACtB,aAAa,EAAE,CAAC,SAAS,CAAC;IAC1B,YAAY,EAAE,CAAC,KAAK,EAAE,YAAY,EAAE,UAAU,EAAE,gBAAgB,CAAC;IACjE,iBAAiB,EAAE,CAAC,gBAAgB,EAAE,KAAK,EAAE,QAAQ,EAAE,YAAY,CAAC;IACpE,aAAa,EAAE,CAAC,MAAM,CAAC;IACvB,mBAAmB,EAAE,CAAC,IAAI,EAAE,MAAM,CAAC;IACnC,kBAAkB,EAAE,CAAC,OAAO,EAAE,aAAa,CAAC;IAC5C,4BAA4B,EAAE,CAAC,IAAI,CAAC;IACpC,cAAc,EAAE,EAAE;IAClB,mBAAmB,EAAE,CAAC,YAAY,CAAC;IACnC,aAAa,EAAE,EAAE;IACjB,eAAe,EAAE,EAAE;IACnB,eAAe,EAAE,EAAE;IACnB,cAAc,EAAE,CAAC,gBAAgB,CAAC;IAClC,mBAAmB,EAAE,CAAC,YAAY,EAAE,WAAW,CAAC;IAChD,gBAAgB,EAAE,EAAE;IACpB,mBAAmB,EAAE,CAAC,gBAAgB,EAAE,KAAK,CAAC;IAC9C,kBAAkB,EAAE,EAAE;IACtB,eAAe,EAAE,EAAE;IACnB,eAAe,EAAE,CAAC,MAAM,EAAE,OAAO,CAAC;IAClC,iBAAiB,EAAE,EAAE;IACrB,UAAU,EAAE,CAAC,gBAAgB,CAAC;IAC9B,qBAAqB,EAAE,iBAAiB,CAAC,YAAY;IACrD,eAAe,EAAE,EAAE;IACnB,eAAe,EAAE,EAAE;IACnB,eAAe,EAAE,EAAE;IACnB,qBAAqB,EAAE,CAAC,QAAQ,EAAE,OAAO,CAAC;IAC1C,UAAU,EAAE,EAAE;IACd,WAAW,EAAE,CAAC,cAAc,CAAC;IAC7B,sBAAsB,EAAE,CAAC,IAAI,EAAE,gBAAgB,EAAE,gBAAgB,CAAC;IAClE,gBAAgB,EAAE,CAAC,gBAAgB,CAAC;IACpC,eAAe,EAAE,CAAC,gBAAgB,EAAE,YAAY,CAAC;IACjD,aAAa,EAAE,CAAC,SAAS,CAAC;IAC1B,cAAc,EAAE,CAAC,gBAAgB,CAAC;IAClC,eAAe,EAAE,CAAC,MAAM,EAAE,YAAY,EAAE,SAAS,CAAC;IAClD,0BAA0B,EAAE,CAAC,QAAQ,CAAC;IACtC,4BAA4B,EAAE,CAAC,QAAQ,CAAC;IACxC,eAAe,EAAE,CAAC,gBAAgB,EAAE,eAAe,CAAC;IACpD,WAAW,EAAE,CAAC,UAAU,EAAE,eAAe,CAAC;IAC1C,eAAe,EAAE,CAAC,UAAU,EAAE,eAAe,CAAC;IAC9C,kBAAkB,EAAE,EAAE;IACtB,WAAW,EAAE,CAAC,OAAO,CAAC;IACtB,gBAAgB,EAAE,EAAE;IACpB,aAAa,EAAE,EAAE;CAClB,CAAC;AAEF,MAAM,WAAW,GAAgB,iBAAiB,CAAC,SAAS,CAAC,cAAc,CAAC,CAAC;AAEpE,kCAAW"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/visitor-keys/package.json b/node_modules/@typescript-eslint/visitor-keys/package.json index 728bd98c0f..df200c2e15 100644 --- a/node_modules/@typescript-eslint/visitor-keys/package.json +++ b/node_modules/@typescript-eslint/visitor-keys/package.json @@ -1,6 +1,6 @@ { "name": "@typescript-eslint/visitor-keys", - "version": "8.15.0", + "version": "8.16.0", "description": "Visitor keys used to help traverse the TypeScript-ESTree AST", "files": [ "dist", @@ -47,7 +47,7 @@ "typecheck": "tsc --noEmit" }, "dependencies": { - "@typescript-eslint/types": "8.15.0", + "@typescript-eslint/types": "8.16.0", "eslint-visitor-keys": "^4.2.0" }, "devDependencies": { diff --git a/node_modules/big-integer/BigInteger.d.ts b/node_modules/big-integer/BigInteger.d.ts deleted file mode 100644 index df5b865ab4..0000000000 --- a/node_modules/big-integer/BigInteger.d.ts +++ /dev/null @@ -1,2393 +0,0 @@ -/** - * Type definitions for BigInteger.js - * Definitions by: Tommy Frazier - */ -export = bigInt; -export as namespace bigInt; - -declare var bigInt: bigInt.BigIntegerStatic; - -declare namespace bigInt { - type BigNumber = number | bigint | string | BigInteger; - - interface BigIntegerStatic { - /** - * Equivalent to bigInt(0). - */ - (): BigInteger; - - /** - * Parse a Javascript number into a bigInt. - */ - (number: number): BigInteger; - - /** - * Parse a Javascript native bigint into a bigInt. - */ - (number: bigint): BigInteger; - - /** - * Parse a string into a bigInt. - * Default base is 10. - * Default alphabet is "0123456789abcdefghijklmnopqrstuvwxyz". - * caseSensitive defaults to false. - */ - (string: string, base?: BigNumber, alphabet?: string, caseSensitive?: boolean): BigInteger; - - /** - * no-op. - */ - (bigInt: BigInteger): BigInteger; - - /** - * Constructs a bigInt from an array of digits in specified base. - * The optional isNegative flag will make the number negative. - */ - fromArray: (digits: BigNumber[], base?: BigNumber, isNegative?: boolean) => BigInteger; - - /** - * Finds the greatest common denominator of a and b. - */ - gcd: (a: BigNumber, b: BigNumber) => BigInteger; - - - /** - * Returns true if x is a BigInteger, false otherwise. - */ - isInstance: (x: any) => x is BigInteger; - - /** - * Finds the least common multiple of a and b. - */ - lcm: (a: BigNumber, b: BigNumber) => BigInteger; - - /** - * Returns the largest of a and b. - */ - max: (a: BigNumber, b: BigNumber) => BigInteger; - - /** - * Returns the smallest of a and b. - */ - min: (a: BigNumber, b: BigNumber) => BigInteger; - - /** - * Equivalent to bigInt(-1). - */ - minusOne: BigInteger; - - /** - * Equivalent to bigInt(1). - */ - one: BigInteger; - - /** - * Returns a random number between min and max. - */ - randBetween: (min: BigNumber, max: BigNumber, rng?: () => number) => BigInteger; - - /** - * Equivalent to bigInt(0). - */ - zero: BigInteger; - } - - interface BigInteger { - /** - * Returns the absolute value of a bigInt. - */ - abs(): BigInteger; - - /** - * Performs addition. - */ - add(number: BigNumber): BigInteger; - - /** - * Performs the bitwise AND operation. - */ - and(number: BigNumber): BigInteger; - - /** - * Returns the number of digits required to represent a bigInt in binary. - */ - bitLength(): BigInteger; - - /** - * Performs a comparison between two numbers. If the numbers are equal, it returns 0. - * If the first number is greater, it returns 1. If the first number is lesser, it returns -1. - */ - compare(number: BigNumber): number; - - /** - * Performs a comparison between the absolute value of two numbers. - */ - compareAbs(number: BigNumber): number; - - /** - * Alias for the compare method. - */ - compareTo(number: BigNumber): number; - - /** - * Performs integer division, disregarding the remainder. - */ - divide(number: BigNumber): BigInteger; - - /** - * Performs division and returns an object with two properties: quotient and remainder. - * The sign of the remainder will match the sign of the dividend. - */ - divmod(number: BigNumber): { quotient: BigInteger, remainder: BigInteger }; - - /** - * Alias for the equals method. - */ - eq(number: BigNumber): boolean; - - /** - * Checks if two numbers are equal. - */ - equals(number: BigNumber): boolean; - - /** - * Alias for the greaterOrEquals method. - */ - geq(number: BigNumber): boolean; - - /** - * Checks if the first number is greater than the second. - */ - greater(number: BigNumber): boolean; - - /** - * Checks if the first number is greater than or equal to the second. - */ - greaterOrEquals(number: BigNumber): boolean; - - /** - * Alias for the greater method. - */ - gt(number: BigNumber): boolean; - - /** - * Returns true if the first number is divisible by the second number, false otherwise. - */ - isDivisibleBy(number: BigNumber): boolean; - - /** - * Returns true if the number is even, false otherwise. - */ - isEven(): boolean; - - /** - * Returns true if the number is negative, false otherwise. - * Returns false for 0 and true for -0. - */ - isNegative(): boolean; - - /** - * Returns true if the number is odd, false otherwise. - */ - isOdd(): boolean; - - /** - * Return true if the number is positive, false otherwise. - * Returns true for 0 and false for -0. - */ - isPositive(): boolean; - - /** - * Returns true if the number is prime, false otherwise. - */ - isPrime(strict?: boolean): boolean; - - /** - * Returns true if the number is very likely to be prime, false otherwise. - */ - isProbablePrime(iterations?: number, rng?: () => number): boolean; - - /** - * Returns true if the number is 1 or -1, false otherwise. - */ - isUnit(): boolean; - - /** - * Return true if the number is 0 or -0, false otherwise. - */ - isZero(): boolean; - - /** - * Alias for the lesserOrEquals method. - */ - leq(number: BigNumber): boolean; - - /** - * Checks if the first number is lesser than the second. - */ - lesser(number: BigNumber): boolean; - - /** - * Checks if the first number is less than or equal to the second. - */ - lesserOrEquals(number: BigNumber): boolean; - - /** - * Alias for the lesser method. - */ - lt(number: BigNumber): boolean; - - /** - * Alias for the subtract method. - */ - minus(number: BigNumber): BigInteger; - - /** - * Performs division and returns the remainder, disregarding the quotient. - * The sign of the remainder will match the sign of the dividend. - */ - mod(number: BigNumber): BigInteger; - - /** - * Finds the multiplicative inverse of the number modulo mod. - */ - modInv(number: BigNumber): BigInteger; - - /** - * Takes the number to the power exp modulo mod. - */ - modPow(exp: BigNumber, mod: BigNumber): BigInteger; - - /** - * Performs multiplication. - */ - multiply(number: BigNumber): BigInteger; - - /** - * Reverses the sign of the number. - */ - negate(): BigInteger; - - /** - * Alias for the notEquals method. - */ - neq(number: BigNumber): boolean; - - /** - * Adds one to the number. - */ - next(): BigInteger; - - /** - * Performs the bitwise NOT operation. - */ - not(): BigInteger; - - /** - * Checks if two numbers are not equal. - */ - notEquals(number: BigNumber): boolean; - - /** - * Performs the bitwise OR operation. - */ - or(number: BigNumber): BigInteger; - - /** - * Alias for the divide method. - */ - over(number: BigNumber): BigInteger; - - /** - * Alias for the add method. - */ - plus(number: BigNumber): BigInteger; - - /** - * Performs exponentiation. If the exponent is less than 0, pow returns 0. - * bigInt.zero.pow(0) returns 1. - */ - pow(number: BigNumber): BigInteger; - - /** - * Subtracts one from the number. - */ - prev(): BigInteger; - - /** - * Alias for the mod method. - */ - remainder(number: BigNumber): BigInteger; - - /** - * Shifts the number left by n places in its binary representation. - * If a negative number is provided, it will shift right. - * - * Throws an error if number is outside of the range [-9007199254740992, 9007199254740992]. - */ - shiftLeft(number: BigNumber): BigInteger; - - /** - * Shifts the number right by n places in its binary representation. - * If a negative number is provided, it will shift left. - * - * Throws an error if number is outside of the range [-9007199254740992, 9007199254740992]. - */ - shiftRight(number: BigNumber): BigInteger; - - /** - * Squares the number. - */ - square(): BigInteger; - - /** - * Performs subtraction. - */ - subtract(number: BigNumber): BigInteger; - - /** - * Alias for the multiply method. - */ - times(number: BigNumber): BigInteger; - - /** - * - * Converts a bigInt to an object representing it as an array of integers module the given radix. - */ - toArray(radix: number): BaseArray; - - /** - * Converts a bigInt into a native Javascript number. Loses precision for numbers outside the range. - */ - toJSNumber(): number; - - /** - * Converts a bigInt to a string. - */ - toString(radix?: number, alphabet?: string): string; - - /** - * Converts a bigInt to a string. This method is called behind the scenes in JSON.stringify. - */ - toJSON(): string; - - /** - * Converts a bigInt to a native Javascript number. This override allows you to use native - * arithmetic operators without explicit conversion. - */ - valueOf(): number; - - /** - * Performs the bitwise XOR operation. - */ - xor(number: BigNumber): BigInteger; - } - - // Array constant accessors - interface BigIntegerStatic { - '-999': BigInteger; - '-998': BigInteger; - '-997': BigInteger; - '-996': BigInteger; - '-995': BigInteger; - '-994': BigInteger; - '-993': BigInteger; - '-992': BigInteger; - '-991': BigInteger; - '-990': BigInteger; - '-989': BigInteger; - '-988': BigInteger; - '-987': BigInteger; - '-986': BigInteger; - '-985': BigInteger; - '-984': BigInteger; - '-983': BigInteger; - '-982': BigInteger; - '-981': BigInteger; - '-980': BigInteger; - '-979': BigInteger; - '-978': BigInteger; - '-977': BigInteger; - '-976': BigInteger; - '-975': BigInteger; - '-974': BigInteger; - '-973': BigInteger; - '-972': BigInteger; - '-971': BigInteger; - '-970': BigInteger; - '-969': BigInteger; - '-968': BigInteger; - '-967': BigInteger; - '-966': BigInteger; - '-965': BigInteger; - '-964': BigInteger; - '-963': BigInteger; - '-962': BigInteger; - '-961': BigInteger; - '-960': BigInteger; - '-959': BigInteger; - '-958': BigInteger; - '-957': BigInteger; - '-956': BigInteger; - '-955': BigInteger; - '-954': BigInteger; - '-953': BigInteger; - '-952': BigInteger; - '-951': BigInteger; - '-950': BigInteger; - '-949': BigInteger; - '-948': BigInteger; - '-947': BigInteger; - '-946': BigInteger; - '-945': BigInteger; - '-944': BigInteger; - '-943': BigInteger; - '-942': BigInteger; - '-941': BigInteger; - '-940': BigInteger; - '-939': BigInteger; - '-938': BigInteger; - '-937': BigInteger; - '-936': BigInteger; - '-935': BigInteger; - '-934': BigInteger; - '-933': BigInteger; - '-932': BigInteger; - '-931': BigInteger; - '-930': BigInteger; - '-929': BigInteger; - '-928': BigInteger; - '-927': BigInteger; - '-926': BigInteger; - '-925': BigInteger; - '-924': BigInteger; - '-923': BigInteger; - '-922': BigInteger; - '-921': BigInteger; - '-920': BigInteger; - '-919': BigInteger; - '-918': BigInteger; - '-917': BigInteger; - '-916': BigInteger; - '-915': BigInteger; - '-914': BigInteger; - '-913': BigInteger; - '-912': BigInteger; - '-911': BigInteger; - '-910': BigInteger; - '-909': BigInteger; - '-908': BigInteger; - '-907': BigInteger; - '-906': BigInteger; - '-905': BigInteger; - '-904': BigInteger; - '-903': BigInteger; - '-902': BigInteger; - '-901': BigInteger; - '-900': BigInteger; - '-899': BigInteger; - '-898': BigInteger; - '-897': BigInteger; - '-896': BigInteger; - '-895': BigInteger; - '-894': BigInteger; - '-893': BigInteger; - '-892': BigInteger; - '-891': BigInteger; - '-890': BigInteger; - '-889': BigInteger; - '-888': BigInteger; - '-887': BigInteger; - '-886': BigInteger; - '-885': BigInteger; - '-884': BigInteger; - '-883': BigInteger; - '-882': BigInteger; - '-881': BigInteger; - '-880': BigInteger; - '-879': BigInteger; - '-878': BigInteger; - '-877': BigInteger; - '-876': BigInteger; - '-875': BigInteger; - '-874': BigInteger; - '-873': BigInteger; - '-872': BigInteger; - '-871': BigInteger; - '-870': BigInteger; - '-869': BigInteger; - '-868': BigInteger; - '-867': BigInteger; - '-866': BigInteger; - '-865': BigInteger; - '-864': BigInteger; - '-863': BigInteger; - '-862': BigInteger; - '-861': BigInteger; - '-860': BigInteger; - '-859': BigInteger; - '-858': BigInteger; - '-857': BigInteger; - '-856': BigInteger; - '-855': BigInteger; - '-854': BigInteger; - '-853': BigInteger; - '-852': BigInteger; - '-851': BigInteger; - '-850': BigInteger; - '-849': BigInteger; - '-848': BigInteger; - '-847': BigInteger; - '-846': BigInteger; - '-845': BigInteger; - '-844': BigInteger; - '-843': BigInteger; - '-842': BigInteger; - '-841': BigInteger; - '-840': BigInteger; - '-839': BigInteger; - '-838': BigInteger; - '-837': BigInteger; - '-836': BigInteger; - '-835': BigInteger; - '-834': BigInteger; - '-833': BigInteger; - '-832': BigInteger; - '-831': BigInteger; - '-830': BigInteger; - '-829': BigInteger; - '-828': BigInteger; - '-827': BigInteger; - '-826': BigInteger; - '-825': BigInteger; - '-824': BigInteger; - '-823': BigInteger; - '-822': BigInteger; - '-821': BigInteger; - '-820': BigInteger; - '-819': BigInteger; - '-818': BigInteger; - '-817': BigInteger; - '-816': BigInteger; - '-815': BigInteger; - '-814': BigInteger; - '-813': BigInteger; - '-812': BigInteger; - '-811': BigInteger; - '-810': BigInteger; - '-809': BigInteger; - '-808': BigInteger; - '-807': BigInteger; - '-806': BigInteger; - '-805': BigInteger; - '-804': BigInteger; - '-803': BigInteger; - '-802': BigInteger; - '-801': BigInteger; - '-800': BigInteger; - '-799': BigInteger; - '-798': BigInteger; - '-797': BigInteger; - '-796': BigInteger; - '-795': BigInteger; - '-794': BigInteger; - '-793': BigInteger; - '-792': BigInteger; - '-791': BigInteger; - '-790': BigInteger; - '-789': BigInteger; - '-788': BigInteger; - '-787': BigInteger; - '-786': BigInteger; - '-785': BigInteger; - '-784': BigInteger; - '-783': BigInteger; - '-782': BigInteger; - '-781': BigInteger; - '-780': BigInteger; - '-779': BigInteger; - '-778': BigInteger; - '-777': BigInteger; - '-776': BigInteger; - '-775': BigInteger; - '-774': BigInteger; - '-773': BigInteger; - '-772': BigInteger; - '-771': BigInteger; - '-770': BigInteger; - '-769': BigInteger; - '-768': BigInteger; - '-767': BigInteger; - '-766': BigInteger; - '-765': BigInteger; - '-764': BigInteger; - '-763': BigInteger; - '-762': BigInteger; - '-761': BigInteger; - '-760': BigInteger; - '-759': BigInteger; - '-758': BigInteger; - '-757': BigInteger; - '-756': BigInteger; - '-755': BigInteger; - '-754': BigInteger; - '-753': BigInteger; - '-752': BigInteger; - '-751': BigInteger; - '-750': BigInteger; - '-749': BigInteger; - '-748': BigInteger; - '-747': BigInteger; - '-746': BigInteger; - '-745': BigInteger; - '-744': BigInteger; - '-743': BigInteger; - '-742': BigInteger; - '-741': BigInteger; - '-740': BigInteger; - '-739': BigInteger; - '-738': BigInteger; - '-737': BigInteger; - '-736': BigInteger; - '-735': BigInteger; - '-734': BigInteger; - '-733': BigInteger; - '-732': BigInteger; - '-731': BigInteger; - '-730': BigInteger; - '-729': BigInteger; - '-728': BigInteger; - '-727': BigInteger; - '-726': BigInteger; - '-725': BigInteger; - '-724': BigInteger; - '-723': BigInteger; - '-722': BigInteger; - '-721': BigInteger; - '-720': BigInteger; - '-719': BigInteger; - '-718': BigInteger; - '-717': BigInteger; - '-716': BigInteger; - '-715': BigInteger; - '-714': BigInteger; - '-713': BigInteger; - '-712': BigInteger; - '-711': BigInteger; - '-710': BigInteger; - '-709': BigInteger; - '-708': BigInteger; - '-707': BigInteger; - '-706': BigInteger; - '-705': BigInteger; - '-704': BigInteger; - '-703': BigInteger; - '-702': BigInteger; - '-701': BigInteger; - '-700': BigInteger; - '-699': BigInteger; - '-698': BigInteger; - '-697': BigInteger; - '-696': BigInteger; - '-695': BigInteger; - '-694': BigInteger; - '-693': BigInteger; - '-692': BigInteger; - '-691': BigInteger; - '-690': BigInteger; - '-689': BigInteger; - '-688': BigInteger; - '-687': BigInteger; - '-686': BigInteger; - '-685': BigInteger; - '-684': BigInteger; - '-683': BigInteger; - '-682': BigInteger; - '-681': BigInteger; - '-680': BigInteger; - '-679': BigInteger; - '-678': BigInteger; - '-677': BigInteger; - '-676': BigInteger; - '-675': BigInteger; - '-674': BigInteger; - '-673': BigInteger; - '-672': BigInteger; - '-671': BigInteger; - '-670': BigInteger; - '-669': BigInteger; - '-668': BigInteger; - '-667': BigInteger; - '-666': BigInteger; - '-665': BigInteger; - '-664': BigInteger; - '-663': BigInteger; - '-662': BigInteger; - '-661': BigInteger; - '-660': BigInteger; - '-659': BigInteger; - '-658': BigInteger; - '-657': BigInteger; - '-656': BigInteger; - '-655': BigInteger; - '-654': BigInteger; - '-653': BigInteger; - '-652': BigInteger; - '-651': BigInteger; - '-650': BigInteger; - '-649': BigInteger; - '-648': BigInteger; - '-647': BigInteger; - '-646': BigInteger; - '-645': BigInteger; - '-644': BigInteger; - '-643': BigInteger; - '-642': BigInteger; - '-641': BigInteger; - '-640': BigInteger; - '-639': BigInteger; - '-638': BigInteger; - '-637': BigInteger; - '-636': BigInteger; - '-635': BigInteger; - '-634': BigInteger; - '-633': BigInteger; - '-632': BigInteger; - '-631': BigInteger; - '-630': BigInteger; - '-629': BigInteger; - '-628': BigInteger; - '-627': BigInteger; - '-626': BigInteger; - '-625': BigInteger; - '-624': BigInteger; - '-623': BigInteger; - '-622': BigInteger; - '-621': BigInteger; - '-620': BigInteger; - '-619': BigInteger; - '-618': BigInteger; - '-617': BigInteger; - '-616': BigInteger; - '-615': BigInteger; - '-614': BigInteger; - '-613': BigInteger; - '-612': BigInteger; - '-611': BigInteger; - '-610': BigInteger; - '-609': BigInteger; - '-608': BigInteger; - '-607': BigInteger; - '-606': BigInteger; - '-605': BigInteger; - '-604': BigInteger; - '-603': BigInteger; - '-602': BigInteger; - '-601': BigInteger; - '-600': BigInteger; - '-599': BigInteger; - '-598': BigInteger; - '-597': BigInteger; - '-596': BigInteger; - '-595': BigInteger; - '-594': BigInteger; - '-593': BigInteger; - '-592': BigInteger; - '-591': BigInteger; - '-590': BigInteger; - '-589': BigInteger; - '-588': BigInteger; - '-587': BigInteger; - '-586': BigInteger; - '-585': BigInteger; - '-584': BigInteger; - '-583': BigInteger; - '-582': BigInteger; - '-581': BigInteger; - '-580': BigInteger; - '-579': BigInteger; - '-578': BigInteger; - '-577': BigInteger; - '-576': BigInteger; - '-575': BigInteger; - '-574': BigInteger; - '-573': BigInteger; - '-572': BigInteger; - '-571': BigInteger; - '-570': BigInteger; - '-569': BigInteger; - '-568': BigInteger; - '-567': BigInteger; - '-566': BigInteger; - '-565': BigInteger; - '-564': BigInteger; - '-563': BigInteger; - '-562': BigInteger; - '-561': BigInteger; - '-560': BigInteger; - '-559': BigInteger; - '-558': BigInteger; - '-557': BigInteger; - '-556': BigInteger; - '-555': BigInteger; - '-554': BigInteger; - '-553': BigInteger; - '-552': BigInteger; - '-551': BigInteger; - '-550': BigInteger; - '-549': BigInteger; - '-548': BigInteger; - '-547': BigInteger; - '-546': BigInteger; - '-545': BigInteger; - '-544': BigInteger; - '-543': BigInteger; - '-542': BigInteger; - '-541': BigInteger; - '-540': BigInteger; - '-539': BigInteger; - '-538': BigInteger; - '-537': BigInteger; - '-536': BigInteger; - '-535': BigInteger; - '-534': BigInteger; - '-533': BigInteger; - '-532': BigInteger; - '-531': BigInteger; - '-530': BigInteger; - '-529': BigInteger; - '-528': BigInteger; - '-527': BigInteger; - '-526': BigInteger; - '-525': BigInteger; - '-524': BigInteger; - '-523': BigInteger; - '-522': BigInteger; - '-521': BigInteger; - '-520': BigInteger; - '-519': BigInteger; - '-518': BigInteger; - '-517': BigInteger; - '-516': BigInteger; - '-515': BigInteger; - '-514': BigInteger; - '-513': BigInteger; - '-512': BigInteger; - '-511': BigInteger; - '-510': BigInteger; - '-509': BigInteger; - '-508': BigInteger; - '-507': BigInteger; - '-506': BigInteger; - '-505': BigInteger; - '-504': BigInteger; - '-503': BigInteger; - '-502': BigInteger; - '-501': BigInteger; - '-500': BigInteger; - '-499': BigInteger; - '-498': BigInteger; - '-497': BigInteger; - '-496': BigInteger; - '-495': BigInteger; - '-494': BigInteger; - '-493': BigInteger; - '-492': BigInteger; - '-491': BigInteger; - '-490': BigInteger; - '-489': BigInteger; - '-488': BigInteger; - '-487': BigInteger; - '-486': BigInteger; - '-485': BigInteger; - '-484': BigInteger; - '-483': BigInteger; - '-482': BigInteger; - '-481': BigInteger; - '-480': BigInteger; - '-479': BigInteger; - '-478': BigInteger; - '-477': BigInteger; - '-476': BigInteger; - '-475': BigInteger; - '-474': BigInteger; - '-473': BigInteger; - '-472': BigInteger; - '-471': BigInteger; - '-470': BigInteger; - '-469': BigInteger; - '-468': BigInteger; - '-467': BigInteger; - '-466': BigInteger; - '-465': BigInteger; - '-464': BigInteger; - '-463': BigInteger; - '-462': BigInteger; - '-461': BigInteger; - '-460': BigInteger; - '-459': BigInteger; - '-458': BigInteger; - '-457': BigInteger; - '-456': BigInteger; - '-455': BigInteger; - '-454': BigInteger; - '-453': BigInteger; - '-452': BigInteger; - '-451': BigInteger; - '-450': BigInteger; - '-449': BigInteger; - '-448': BigInteger; - '-447': BigInteger; - '-446': BigInteger; - '-445': BigInteger; - '-444': BigInteger; - '-443': BigInteger; - '-442': BigInteger; - '-441': BigInteger; - '-440': BigInteger; - '-439': BigInteger; - '-438': BigInteger; - '-437': BigInteger; - '-436': BigInteger; - '-435': BigInteger; - '-434': BigInteger; - '-433': BigInteger; - '-432': BigInteger; - '-431': BigInteger; - '-430': BigInteger; - '-429': BigInteger; - '-428': BigInteger; - '-427': BigInteger; - '-426': BigInteger; - '-425': BigInteger; - '-424': BigInteger; - '-423': BigInteger; - '-422': BigInteger; - '-421': BigInteger; - '-420': BigInteger; - '-419': BigInteger; - '-418': BigInteger; - '-417': BigInteger; - '-416': BigInteger; - '-415': BigInteger; - '-414': BigInteger; - '-413': BigInteger; - '-412': BigInteger; - '-411': BigInteger; - '-410': BigInteger; - '-409': BigInteger; - '-408': BigInteger; - '-407': BigInteger; - '-406': BigInteger; - '-405': BigInteger; - '-404': BigInteger; - '-403': BigInteger; - '-402': BigInteger; - '-401': BigInteger; - '-400': BigInteger; - '-399': BigInteger; - '-398': BigInteger; - '-397': BigInteger; - '-396': BigInteger; - '-395': BigInteger; - '-394': BigInteger; - '-393': BigInteger; - '-392': BigInteger; - '-391': BigInteger; - '-390': BigInteger; - '-389': BigInteger; - '-388': BigInteger; - '-387': BigInteger; - '-386': BigInteger; - '-385': BigInteger; - '-384': BigInteger; - '-383': BigInteger; - '-382': BigInteger; - '-381': BigInteger; - '-380': BigInteger; - '-379': BigInteger; - '-378': BigInteger; - '-377': BigInteger; - '-376': BigInteger; - '-375': BigInteger; - '-374': BigInteger; - '-373': BigInteger; - '-372': BigInteger; - '-371': BigInteger; - '-370': BigInteger; - '-369': BigInteger; - '-368': BigInteger; - '-367': BigInteger; - '-366': BigInteger; - '-365': BigInteger; - '-364': BigInteger; - '-363': BigInteger; - '-362': BigInteger; - '-361': BigInteger; - '-360': BigInteger; - '-359': BigInteger; - '-358': BigInteger; - '-357': BigInteger; - '-356': BigInteger; - '-355': BigInteger; - '-354': BigInteger; - '-353': BigInteger; - '-352': BigInteger; - '-351': BigInteger; - '-350': BigInteger; - '-349': BigInteger; - '-348': BigInteger; - '-347': BigInteger; - '-346': BigInteger; - '-345': BigInteger; - '-344': BigInteger; - '-343': BigInteger; - '-342': BigInteger; - '-341': BigInteger; - '-340': BigInteger; - '-339': BigInteger; - '-338': BigInteger; - '-337': BigInteger; - '-336': BigInteger; - '-335': BigInteger; - '-334': BigInteger; - '-333': BigInteger; - '-332': BigInteger; - '-331': BigInteger; - '-330': BigInteger; - '-329': BigInteger; - '-328': BigInteger; - '-327': BigInteger; - '-326': BigInteger; - '-325': BigInteger; - '-324': BigInteger; - '-323': BigInteger; - '-322': BigInteger; - '-321': BigInteger; - '-320': BigInteger; - '-319': BigInteger; - '-318': BigInteger; - '-317': BigInteger; - '-316': BigInteger; - '-315': BigInteger; - '-314': BigInteger; - '-313': BigInteger; - '-312': BigInteger; - '-311': BigInteger; - '-310': BigInteger; - '-309': BigInteger; - '-308': BigInteger; - '-307': BigInteger; - '-306': BigInteger; - '-305': BigInteger; - '-304': BigInteger; - '-303': BigInteger; - '-302': BigInteger; - '-301': BigInteger; - '-300': BigInteger; - '-299': BigInteger; - '-298': BigInteger; - '-297': BigInteger; - '-296': BigInteger; - '-295': BigInteger; - '-294': BigInteger; - '-293': BigInteger; - '-292': BigInteger; - '-291': BigInteger; - '-290': BigInteger; - '-289': BigInteger; - '-288': BigInteger; - '-287': BigInteger; - '-286': BigInteger; - '-285': BigInteger; - '-284': BigInteger; - '-283': BigInteger; - '-282': BigInteger; - '-281': BigInteger; - '-280': BigInteger; - '-279': BigInteger; - '-278': BigInteger; - '-277': BigInteger; - '-276': BigInteger; - '-275': BigInteger; - '-274': BigInteger; - '-273': BigInteger; - '-272': BigInteger; - '-271': BigInteger; - '-270': BigInteger; - '-269': BigInteger; - '-268': BigInteger; - '-267': BigInteger; - '-266': BigInteger; - '-265': BigInteger; - '-264': BigInteger; - '-263': BigInteger; - '-262': BigInteger; - '-261': BigInteger; - '-260': BigInteger; - '-259': BigInteger; - '-258': BigInteger; - '-257': BigInteger; - '-256': BigInteger; - '-255': BigInteger; - '-254': BigInteger; - '-253': BigInteger; - '-252': BigInteger; - '-251': BigInteger; - '-250': BigInteger; - '-249': BigInteger; - '-248': BigInteger; - '-247': BigInteger; - '-246': BigInteger; - '-245': BigInteger; - '-244': BigInteger; - '-243': BigInteger; - '-242': BigInteger; - '-241': BigInteger; - '-240': BigInteger; - '-239': BigInteger; - '-238': BigInteger; - '-237': BigInteger; - '-236': BigInteger; - '-235': BigInteger; - '-234': BigInteger; - '-233': BigInteger; - '-232': BigInteger; - '-231': BigInteger; - '-230': BigInteger; - '-229': BigInteger; - '-228': BigInteger; - '-227': BigInteger; - '-226': BigInteger; - '-225': BigInteger; - '-224': BigInteger; - '-223': BigInteger; - '-222': BigInteger; - '-221': BigInteger; - '-220': BigInteger; - '-219': BigInteger; - '-218': BigInteger; - '-217': BigInteger; - '-216': BigInteger; - '-215': BigInteger; - '-214': BigInteger; - '-213': BigInteger; - '-212': BigInteger; - '-211': BigInteger; - '-210': BigInteger; - '-209': BigInteger; - '-208': BigInteger; - '-207': BigInteger; - '-206': BigInteger; - '-205': BigInteger; - '-204': BigInteger; - '-203': BigInteger; - '-202': BigInteger; - '-201': BigInteger; - '-200': BigInteger; - '-199': BigInteger; - '-198': BigInteger; - '-197': BigInteger; - '-196': BigInteger; - '-195': BigInteger; - '-194': BigInteger; - '-193': BigInteger; - '-192': BigInteger; - '-191': BigInteger; - '-190': BigInteger; - '-189': BigInteger; - '-188': BigInteger; - '-187': BigInteger; - '-186': BigInteger; - '-185': BigInteger; - '-184': BigInteger; - '-183': BigInteger; - '-182': BigInteger; - '-181': BigInteger; - '-180': BigInteger; - '-179': BigInteger; - '-178': BigInteger; - '-177': BigInteger; - '-176': BigInteger; - '-175': BigInteger; - '-174': BigInteger; - '-173': BigInteger; - '-172': BigInteger; - '-171': BigInteger; - '-170': BigInteger; - '-169': BigInteger; - '-168': BigInteger; - '-167': BigInteger; - '-166': BigInteger; - '-165': BigInteger; - '-164': BigInteger; - '-163': BigInteger; - '-162': BigInteger; - '-161': BigInteger; - '-160': BigInteger; - '-159': BigInteger; - '-158': BigInteger; - '-157': BigInteger; - '-156': BigInteger; - '-155': BigInteger; - '-154': BigInteger; - '-153': BigInteger; - '-152': BigInteger; - '-151': BigInteger; - '-150': BigInteger; - '-149': BigInteger; - '-148': BigInteger; - '-147': BigInteger; - '-146': BigInteger; - '-145': BigInteger; - '-144': BigInteger; - '-143': BigInteger; - '-142': BigInteger; - '-141': BigInteger; - '-140': BigInteger; - '-139': BigInteger; - '-138': BigInteger; - '-137': BigInteger; - '-136': BigInteger; - '-135': BigInteger; - '-134': BigInteger; - '-133': BigInteger; - '-132': BigInteger; - '-131': BigInteger; - '-130': BigInteger; - '-129': BigInteger; - '-128': BigInteger; - '-127': BigInteger; - '-126': BigInteger; - '-125': BigInteger; - '-124': BigInteger; - '-123': BigInteger; - '-122': BigInteger; - '-121': BigInteger; - '-120': BigInteger; - '-119': BigInteger; - '-118': BigInteger; - '-117': BigInteger; - '-116': BigInteger; - '-115': BigInteger; - '-114': BigInteger; - '-113': BigInteger; - '-112': BigInteger; - '-111': BigInteger; - '-110': BigInteger; - '-109': BigInteger; - '-108': BigInteger; - '-107': BigInteger; - '-106': BigInteger; - '-105': BigInteger; - '-104': BigInteger; - '-103': BigInteger; - '-102': BigInteger; - '-101': BigInteger; - '-100': BigInteger; - '-99': BigInteger; - '-98': BigInteger; - '-97': BigInteger; - '-96': BigInteger; - '-95': BigInteger; - '-94': BigInteger; - '-93': BigInteger; - '-92': BigInteger; - '-91': BigInteger; - '-90': BigInteger; - '-89': BigInteger; - '-88': BigInteger; - '-87': BigInteger; - '-86': BigInteger; - '-85': BigInteger; - '-84': BigInteger; - '-83': BigInteger; - '-82': BigInteger; - '-81': BigInteger; - '-80': BigInteger; - '-79': BigInteger; - '-78': BigInteger; - '-77': BigInteger; - '-76': BigInteger; - '-75': BigInteger; - '-74': BigInteger; - '-73': BigInteger; - '-72': BigInteger; - '-71': BigInteger; - '-70': BigInteger; - '-69': BigInteger; - '-68': BigInteger; - '-67': BigInteger; - '-66': BigInteger; - '-65': BigInteger; - '-64': BigInteger; - '-63': BigInteger; - '-62': BigInteger; - '-61': BigInteger; - '-60': BigInteger; - '-59': BigInteger; - '-58': BigInteger; - '-57': BigInteger; - '-56': BigInteger; - '-55': BigInteger; - '-54': BigInteger; - '-53': BigInteger; - '-52': BigInteger; - '-51': BigInteger; - '-50': BigInteger; - '-49': BigInteger; - '-48': BigInteger; - '-47': BigInteger; - '-46': BigInteger; - '-45': BigInteger; - '-44': BigInteger; - '-43': BigInteger; - '-42': BigInteger; - '-41': BigInteger; - '-40': BigInteger; - '-39': BigInteger; - '-38': BigInteger; - '-37': BigInteger; - '-36': BigInteger; - '-35': BigInteger; - '-34': BigInteger; - '-33': BigInteger; - '-32': BigInteger; - '-31': BigInteger; - '-30': BigInteger; - '-29': BigInteger; - '-28': BigInteger; - '-27': BigInteger; - '-26': BigInteger; - '-25': BigInteger; - '-24': BigInteger; - '-23': BigInteger; - '-22': BigInteger; - '-21': BigInteger; - '-20': BigInteger; - '-19': BigInteger; - '-18': BigInteger; - '-17': BigInteger; - '-16': BigInteger; - '-15': BigInteger; - '-14': BigInteger; - '-13': BigInteger; - '-12': BigInteger; - '-11': BigInteger; - '-10': BigInteger; - '-9': BigInteger; - '-8': BigInteger; - '-7': BigInteger; - '-6': BigInteger; - '-5': BigInteger; - '-4': BigInteger; - '-3': BigInteger; - '-2': BigInteger; - '-1': BigInteger; - '0': BigInteger; - '1': BigInteger; - '2': BigInteger; - '3': BigInteger; - '4': BigInteger; - '5': BigInteger; - '6': BigInteger; - '7': BigInteger; - '8': BigInteger; - '9': BigInteger; - '10': BigInteger; - '11': BigInteger; - '12': BigInteger; - '13': BigInteger; - '14': BigInteger; - '15': BigInteger; - '16': BigInteger; - '17': BigInteger; - '18': BigInteger; - '19': BigInteger; - '20': BigInteger; - '21': BigInteger; - '22': BigInteger; - '23': BigInteger; - '24': BigInteger; - '25': BigInteger; - '26': BigInteger; - '27': BigInteger; - '28': BigInteger; - '29': BigInteger; - '30': BigInteger; - '31': BigInteger; - '32': BigInteger; - '33': BigInteger; - '34': BigInteger; - '35': BigInteger; - '36': BigInteger; - '37': BigInteger; - '38': BigInteger; - '39': BigInteger; - '40': BigInteger; - '41': BigInteger; - '42': BigInteger; - '43': BigInteger; - '44': BigInteger; - '45': BigInteger; - '46': BigInteger; - '47': BigInteger; - '48': BigInteger; - '49': BigInteger; - '50': BigInteger; - '51': BigInteger; - '52': BigInteger; - '53': BigInteger; - '54': BigInteger; - '55': BigInteger; - '56': BigInteger; - '57': BigInteger; - '58': BigInteger; - '59': BigInteger; - '60': BigInteger; - '61': BigInteger; - '62': BigInteger; - '63': BigInteger; - '64': BigInteger; - '65': BigInteger; - '66': BigInteger; - '67': BigInteger; - '68': BigInteger; - '69': BigInteger; - '70': BigInteger; - '71': BigInteger; - '72': BigInteger; - '73': BigInteger; - '74': BigInteger; - '75': BigInteger; - '76': BigInteger; - '77': BigInteger; - '78': BigInteger; - '79': BigInteger; - '80': BigInteger; - '81': BigInteger; - '82': BigInteger; - '83': BigInteger; - '84': BigInteger; - '85': BigInteger; - '86': BigInteger; - '87': BigInteger; - '88': BigInteger; - '89': BigInteger; - '90': BigInteger; - '91': BigInteger; - '92': BigInteger; - '93': BigInteger; - '94': BigInteger; - '95': BigInteger; - '96': BigInteger; - '97': BigInteger; - '98': BigInteger; - '99': BigInteger; - '100': BigInteger; - '101': BigInteger; - '102': BigInteger; - '103': BigInteger; - '104': BigInteger; - '105': BigInteger; - '106': BigInteger; - '107': BigInteger; - '108': BigInteger; - '109': BigInteger; - '110': BigInteger; - '111': BigInteger; - '112': BigInteger; - '113': BigInteger; - '114': BigInteger; - '115': BigInteger; - '116': BigInteger; - '117': BigInteger; - '118': BigInteger; - '119': BigInteger; - '120': BigInteger; - '121': BigInteger; - '122': BigInteger; - '123': BigInteger; - '124': BigInteger; - '125': BigInteger; - '126': BigInteger; - '127': BigInteger; - '128': BigInteger; - '129': BigInteger; - '130': BigInteger; - '131': BigInteger; - '132': BigInteger; - '133': BigInteger; - '134': BigInteger; - '135': BigInteger; - '136': BigInteger; - '137': BigInteger; - '138': BigInteger; - '139': BigInteger; - '140': BigInteger; - '141': BigInteger; - '142': BigInteger; - '143': BigInteger; - '144': BigInteger; - '145': BigInteger; - '146': BigInteger; - '147': BigInteger; - '148': BigInteger; - '149': BigInteger; - '150': BigInteger; - '151': BigInteger; - '152': BigInteger; - '153': BigInteger; - '154': BigInteger; - '155': BigInteger; - '156': BigInteger; - '157': BigInteger; - '158': BigInteger; - '159': BigInteger; - '160': BigInteger; - '161': BigInteger; - '162': BigInteger; - '163': BigInteger; - '164': BigInteger; - '165': BigInteger; - '166': BigInteger; - '167': BigInteger; - '168': BigInteger; - '169': BigInteger; - '170': BigInteger; - '171': BigInteger; - '172': BigInteger; - '173': BigInteger; - '174': BigInteger; - '175': BigInteger; - '176': BigInteger; - '177': BigInteger; - '178': BigInteger; - '179': BigInteger; - '180': BigInteger; - '181': BigInteger; - '182': BigInteger; - '183': BigInteger; - '184': BigInteger; - '185': BigInteger; - '186': BigInteger; - '187': BigInteger; - '188': BigInteger; - '189': BigInteger; - '190': BigInteger; - '191': BigInteger; - '192': BigInteger; - '193': BigInteger; - '194': BigInteger; - '195': BigInteger; - '196': BigInteger; - '197': BigInteger; - '198': BigInteger; - '199': BigInteger; - '200': BigInteger; - '201': BigInteger; - '202': BigInteger; - '203': BigInteger; - '204': BigInteger; - '205': BigInteger; - '206': BigInteger; - '207': BigInteger; - '208': BigInteger; - '209': BigInteger; - '210': BigInteger; - '211': BigInteger; - '212': BigInteger; - '213': BigInteger; - '214': BigInteger; - '215': BigInteger; - '216': BigInteger; - '217': BigInteger; - '218': BigInteger; - '219': BigInteger; - '220': BigInteger; - '221': BigInteger; - '222': BigInteger; - '223': BigInteger; - '224': BigInteger; - '225': BigInteger; - '226': BigInteger; - '227': BigInteger; - '228': BigInteger; - '229': BigInteger; - '230': BigInteger; - '231': BigInteger; - '232': BigInteger; - '233': BigInteger; - '234': BigInteger; - '235': BigInteger; - '236': BigInteger; - '237': BigInteger; - '238': BigInteger; - '239': BigInteger; - '240': BigInteger; - '241': BigInteger; - '242': BigInteger; - '243': BigInteger; - '244': BigInteger; - '245': BigInteger; - '246': BigInteger; - '247': BigInteger; - '248': BigInteger; - '249': BigInteger; - '250': BigInteger; - '251': BigInteger; - '252': BigInteger; - '253': BigInteger; - '254': BigInteger; - '255': BigInteger; - '256': BigInteger; - '257': BigInteger; - '258': BigInteger; - '259': BigInteger; - '260': BigInteger; - '261': BigInteger; - '262': BigInteger; - '263': BigInteger; - '264': BigInteger; - '265': BigInteger; - '266': BigInteger; - '267': BigInteger; - '268': BigInteger; - '269': BigInteger; - '270': BigInteger; - '271': BigInteger; - '272': BigInteger; - '273': BigInteger; - '274': BigInteger; - '275': BigInteger; - '276': BigInteger; - '277': BigInteger; - '278': BigInteger; - '279': BigInteger; - '280': BigInteger; - '281': BigInteger; - '282': BigInteger; - '283': BigInteger; - '284': BigInteger; - '285': BigInteger; - '286': BigInteger; - '287': BigInteger; - '288': BigInteger; - '289': BigInteger; - '290': BigInteger; - '291': BigInteger; - '292': BigInteger; - '293': BigInteger; - '294': BigInteger; - '295': BigInteger; - '296': BigInteger; - '297': BigInteger; - '298': BigInteger; - '299': BigInteger; - '300': BigInteger; - '301': BigInteger; - '302': BigInteger; - '303': BigInteger; - '304': BigInteger; - '305': BigInteger; - '306': BigInteger; - '307': BigInteger; - '308': BigInteger; - '309': BigInteger; - '310': BigInteger; - '311': BigInteger; - '312': BigInteger; - '313': BigInteger; - '314': BigInteger; - '315': BigInteger; - '316': BigInteger; - '317': BigInteger; - '318': BigInteger; - '319': BigInteger; - '320': BigInteger; - '321': BigInteger; - '322': BigInteger; - '323': BigInteger; - '324': BigInteger; - '325': BigInteger; - '326': BigInteger; - '327': BigInteger; - '328': BigInteger; - '329': BigInteger; - '330': BigInteger; - '331': BigInteger; - '332': BigInteger; - '333': BigInteger; - '334': BigInteger; - '335': BigInteger; - '336': BigInteger; - '337': BigInteger; - '338': BigInteger; - '339': BigInteger; - '340': BigInteger; - '341': BigInteger; - '342': BigInteger; - '343': BigInteger; - '344': BigInteger; - '345': BigInteger; - '346': BigInteger; - '347': BigInteger; - '348': BigInteger; - '349': BigInteger; - '350': BigInteger; - '351': BigInteger; - '352': BigInteger; - '353': BigInteger; - '354': BigInteger; - '355': BigInteger; - '356': BigInteger; - '357': BigInteger; - '358': BigInteger; - '359': BigInteger; - '360': BigInteger; - '361': BigInteger; - '362': BigInteger; - '363': BigInteger; - '364': BigInteger; - '365': BigInteger; - '366': BigInteger; - '367': BigInteger; - '368': BigInteger; - '369': BigInteger; - '370': BigInteger; - '371': BigInteger; - '372': BigInteger; - '373': BigInteger; - '374': BigInteger; - '375': BigInteger; - '376': BigInteger; - '377': BigInteger; - '378': BigInteger; - '379': BigInteger; - '380': BigInteger; - '381': BigInteger; - '382': BigInteger; - '383': BigInteger; - '384': BigInteger; - '385': BigInteger; - '386': BigInteger; - '387': BigInteger; - '388': BigInteger; - '389': BigInteger; - '390': BigInteger; - '391': BigInteger; - '392': BigInteger; - '393': BigInteger; - '394': BigInteger; - '395': BigInteger; - '396': BigInteger; - '397': BigInteger; - '398': BigInteger; - '399': BigInteger; - '400': BigInteger; - '401': BigInteger; - '402': BigInteger; - '403': BigInteger; - '404': BigInteger; - '405': BigInteger; - '406': BigInteger; - '407': BigInteger; - '408': BigInteger; - '409': BigInteger; - '410': BigInteger; - '411': BigInteger; - '412': BigInteger; - '413': BigInteger; - '414': BigInteger; - '415': BigInteger; - '416': BigInteger; - '417': BigInteger; - '418': BigInteger; - '419': BigInteger; - '420': BigInteger; - '421': BigInteger; - '422': BigInteger; - '423': BigInteger; - '424': BigInteger; - '425': BigInteger; - '426': BigInteger; - '427': BigInteger; - '428': BigInteger; - '429': BigInteger; - '430': BigInteger; - '431': BigInteger; - '432': BigInteger; - '433': BigInteger; - '434': BigInteger; - '435': BigInteger; - '436': BigInteger; - '437': BigInteger; - '438': BigInteger; - '439': BigInteger; - '440': BigInteger; - '441': BigInteger; - '442': BigInteger; - '443': BigInteger; - '444': BigInteger; - '445': BigInteger; - '446': BigInteger; - '447': BigInteger; - '448': BigInteger; - '449': BigInteger; - '450': BigInteger; - '451': BigInteger; - '452': BigInteger; - '453': BigInteger; - '454': BigInteger; - '455': BigInteger; - '456': BigInteger; - '457': BigInteger; - '458': BigInteger; - '459': BigInteger; - '460': BigInteger; - '461': BigInteger; - '462': BigInteger; - '463': BigInteger; - '464': BigInteger; - '465': BigInteger; - '466': BigInteger; - '467': BigInteger; - '468': BigInteger; - '469': BigInteger; - '470': BigInteger; - '471': BigInteger; - '472': BigInteger; - '473': BigInteger; - '474': BigInteger; - '475': BigInteger; - '476': BigInteger; - '477': BigInteger; - '478': BigInteger; - '479': BigInteger; - '480': BigInteger; - '481': BigInteger; - '482': BigInteger; - '483': BigInteger; - '484': BigInteger; - '485': BigInteger; - '486': BigInteger; - '487': BigInteger; - '488': BigInteger; - '489': BigInteger; - '490': BigInteger; - '491': BigInteger; - '492': BigInteger; - '493': BigInteger; - '494': BigInteger; - '495': BigInteger; - '496': BigInteger; - '497': BigInteger; - '498': BigInteger; - '499': BigInteger; - '500': BigInteger; - '501': BigInteger; - '502': BigInteger; - '503': BigInteger; - '504': BigInteger; - '505': BigInteger; - '506': BigInteger; - '507': BigInteger; - '508': BigInteger; - '509': BigInteger; - '510': BigInteger; - '511': BigInteger; - '512': BigInteger; - '513': BigInteger; - '514': BigInteger; - '515': BigInteger; - '516': BigInteger; - '517': BigInteger; - '518': BigInteger; - '519': BigInteger; - '520': BigInteger; - '521': BigInteger; - '522': BigInteger; - '523': BigInteger; - '524': BigInteger; - '525': BigInteger; - '526': BigInteger; - '527': BigInteger; - '528': BigInteger; - '529': BigInteger; - '530': BigInteger; - '531': BigInteger; - '532': BigInteger; - '533': BigInteger; - '534': BigInteger; - '535': BigInteger; - '536': BigInteger; - '537': BigInteger; - '538': BigInteger; - '539': BigInteger; - '540': BigInteger; - '541': BigInteger; - '542': BigInteger; - '543': BigInteger; - '544': BigInteger; - '545': BigInteger; - '546': BigInteger; - '547': BigInteger; - '548': BigInteger; - '549': BigInteger; - '550': BigInteger; - '551': BigInteger; - '552': BigInteger; - '553': BigInteger; - '554': BigInteger; - '555': BigInteger; - '556': BigInteger; - '557': BigInteger; - '558': BigInteger; - '559': BigInteger; - '560': BigInteger; - '561': BigInteger; - '562': BigInteger; - '563': BigInteger; - '564': BigInteger; - '565': BigInteger; - '566': BigInteger; - '567': BigInteger; - '568': BigInteger; - '569': BigInteger; - '570': BigInteger; - '571': BigInteger; - '572': BigInteger; - '573': BigInteger; - '574': BigInteger; - '575': BigInteger; - '576': BigInteger; - '577': BigInteger; - '578': BigInteger; - '579': BigInteger; - '580': BigInteger; - '581': BigInteger; - '582': BigInteger; - '583': BigInteger; - '584': BigInteger; - '585': BigInteger; - '586': BigInteger; - '587': BigInteger; - '588': BigInteger; - '589': BigInteger; - '590': BigInteger; - '591': BigInteger; - '592': BigInteger; - '593': BigInteger; - '594': BigInteger; - '595': BigInteger; - '596': BigInteger; - '597': BigInteger; - '598': BigInteger; - '599': BigInteger; - '600': BigInteger; - '601': BigInteger; - '602': BigInteger; - '603': BigInteger; - '604': BigInteger; - '605': BigInteger; - '606': BigInteger; - '607': BigInteger; - '608': BigInteger; - '609': BigInteger; - '610': BigInteger; - '611': BigInteger; - '612': BigInteger; - '613': BigInteger; - '614': BigInteger; - '615': BigInteger; - '616': BigInteger; - '617': BigInteger; - '618': BigInteger; - '619': BigInteger; - '620': BigInteger; - '621': BigInteger; - '622': BigInteger; - '623': BigInteger; - '624': BigInteger; - '625': BigInteger; - '626': BigInteger; - '627': BigInteger; - '628': BigInteger; - '629': BigInteger; - '630': BigInteger; - '631': BigInteger; - '632': BigInteger; - '633': BigInteger; - '634': BigInteger; - '635': BigInteger; - '636': BigInteger; - '637': BigInteger; - '638': BigInteger; - '639': BigInteger; - '640': BigInteger; - '641': BigInteger; - '642': BigInteger; - '643': BigInteger; - '644': BigInteger; - '645': BigInteger; - '646': BigInteger; - '647': BigInteger; - '648': BigInteger; - '649': BigInteger; - '650': BigInteger; - '651': BigInteger; - '652': BigInteger; - '653': BigInteger; - '654': BigInteger; - '655': BigInteger; - '656': BigInteger; - '657': BigInteger; - '658': BigInteger; - '659': BigInteger; - '660': BigInteger; - '661': BigInteger; - '662': BigInteger; - '663': BigInteger; - '664': BigInteger; - '665': BigInteger; - '666': BigInteger; - '667': BigInteger; - '668': BigInteger; - '669': BigInteger; - '670': BigInteger; - '671': BigInteger; - '672': BigInteger; - '673': BigInteger; - '674': BigInteger; - '675': BigInteger; - '676': BigInteger; - '677': BigInteger; - '678': BigInteger; - '679': BigInteger; - '680': BigInteger; - '681': BigInteger; - '682': BigInteger; - '683': BigInteger; - '684': BigInteger; - '685': BigInteger; - '686': BigInteger; - '687': BigInteger; - '688': BigInteger; - '689': BigInteger; - '690': BigInteger; - '691': BigInteger; - '692': BigInteger; - '693': BigInteger; - '694': BigInteger; - '695': BigInteger; - '696': BigInteger; - '697': BigInteger; - '698': BigInteger; - '699': BigInteger; - '700': BigInteger; - '701': BigInteger; - '702': BigInteger; - '703': BigInteger; - '704': BigInteger; - '705': BigInteger; - '706': BigInteger; - '707': BigInteger; - '708': BigInteger; - '709': BigInteger; - '710': BigInteger; - '711': BigInteger; - '712': BigInteger; - '713': BigInteger; - '714': BigInteger; - '715': BigInteger; - '716': BigInteger; - '717': BigInteger; - '718': BigInteger; - '719': BigInteger; - '720': BigInteger; - '721': BigInteger; - '722': BigInteger; - '723': BigInteger; - '724': BigInteger; - '725': BigInteger; - '726': BigInteger; - '727': BigInteger; - '728': BigInteger; - '729': BigInteger; - '730': BigInteger; - '731': BigInteger; - '732': BigInteger; - '733': BigInteger; - '734': BigInteger; - '735': BigInteger; - '736': BigInteger; - '737': BigInteger; - '738': BigInteger; - '739': BigInteger; - '740': BigInteger; - '741': BigInteger; - '742': BigInteger; - '743': BigInteger; - '744': BigInteger; - '745': BigInteger; - '746': BigInteger; - '747': BigInteger; - '748': BigInteger; - '749': BigInteger; - '750': BigInteger; - '751': BigInteger; - '752': BigInteger; - '753': BigInteger; - '754': BigInteger; - '755': BigInteger; - '756': BigInteger; - '757': BigInteger; - '758': BigInteger; - '759': BigInteger; - '760': BigInteger; - '761': BigInteger; - '762': BigInteger; - '763': BigInteger; - '764': BigInteger; - '765': BigInteger; - '766': BigInteger; - '767': BigInteger; - '768': BigInteger; - '769': BigInteger; - '770': BigInteger; - '771': BigInteger; - '772': BigInteger; - '773': BigInteger; - '774': BigInteger; - '775': BigInteger; - '776': BigInteger; - '777': BigInteger; - '778': BigInteger; - '779': BigInteger; - '780': BigInteger; - '781': BigInteger; - '782': BigInteger; - '783': BigInteger; - '784': BigInteger; - '785': BigInteger; - '786': BigInteger; - '787': BigInteger; - '788': BigInteger; - '789': BigInteger; - '790': BigInteger; - '791': BigInteger; - '792': BigInteger; - '793': BigInteger; - '794': BigInteger; - '795': BigInteger; - '796': BigInteger; - '797': BigInteger; - '798': BigInteger; - '799': BigInteger; - '800': BigInteger; - '801': BigInteger; - '802': BigInteger; - '803': BigInteger; - '804': BigInteger; - '805': BigInteger; - '806': BigInteger; - '807': BigInteger; - '808': BigInteger; - '809': BigInteger; - '810': BigInteger; - '811': BigInteger; - '812': BigInteger; - '813': BigInteger; - '814': BigInteger; - '815': BigInteger; - '816': BigInteger; - '817': BigInteger; - '818': BigInteger; - '819': BigInteger; - '820': BigInteger; - '821': BigInteger; - '822': BigInteger; - '823': BigInteger; - '824': BigInteger; - '825': BigInteger; - '826': BigInteger; - '827': BigInteger; - '828': BigInteger; - '829': BigInteger; - '830': BigInteger; - '831': BigInteger; - '832': BigInteger; - '833': BigInteger; - '834': BigInteger; - '835': BigInteger; - '836': BigInteger; - '837': BigInteger; - '838': BigInteger; - '839': BigInteger; - '840': BigInteger; - '841': BigInteger; - '842': BigInteger; - '843': BigInteger; - '844': BigInteger; - '845': BigInteger; - '846': BigInteger; - '847': BigInteger; - '848': BigInteger; - '849': BigInteger; - '850': BigInteger; - '851': BigInteger; - '852': BigInteger; - '853': BigInteger; - '854': BigInteger; - '855': BigInteger; - '856': BigInteger; - '857': BigInteger; - '858': BigInteger; - '859': BigInteger; - '860': BigInteger; - '861': BigInteger; - '862': BigInteger; - '863': BigInteger; - '864': BigInteger; - '865': BigInteger; - '866': BigInteger; - '867': BigInteger; - '868': BigInteger; - '869': BigInteger; - '870': BigInteger; - '871': BigInteger; - '872': BigInteger; - '873': BigInteger; - '874': BigInteger; - '875': BigInteger; - '876': BigInteger; - '877': BigInteger; - '878': BigInteger; - '879': BigInteger; - '880': BigInteger; - '881': BigInteger; - '882': BigInteger; - '883': BigInteger; - '884': BigInteger; - '885': BigInteger; - '886': BigInteger; - '887': BigInteger; - '888': BigInteger; - '889': BigInteger; - '890': BigInteger; - '891': BigInteger; - '892': BigInteger; - '893': BigInteger; - '894': BigInteger; - '895': BigInteger; - '896': BigInteger; - '897': BigInteger; - '898': BigInteger; - '899': BigInteger; - '900': BigInteger; - '901': BigInteger; - '902': BigInteger; - '903': BigInteger; - '904': BigInteger; - '905': BigInteger; - '906': BigInteger; - '907': BigInteger; - '908': BigInteger; - '909': BigInteger; - '910': BigInteger; - '911': BigInteger; - '912': BigInteger; - '913': BigInteger; - '914': BigInteger; - '915': BigInteger; - '916': BigInteger; - '917': BigInteger; - '918': BigInteger; - '919': BigInteger; - '920': BigInteger; - '921': BigInteger; - '922': BigInteger; - '923': BigInteger; - '924': BigInteger; - '925': BigInteger; - '926': BigInteger; - '927': BigInteger; - '928': BigInteger; - '929': BigInteger; - '930': BigInteger; - '931': BigInteger; - '932': BigInteger; - '933': BigInteger; - '934': BigInteger; - '935': BigInteger; - '936': BigInteger; - '937': BigInteger; - '938': BigInteger; - '939': BigInteger; - '940': BigInteger; - '941': BigInteger; - '942': BigInteger; - '943': BigInteger; - '944': BigInteger; - '945': BigInteger; - '946': BigInteger; - '947': BigInteger; - '948': BigInteger; - '949': BigInteger; - '950': BigInteger; - '951': BigInteger; - '952': BigInteger; - '953': BigInteger; - '954': BigInteger; - '955': BigInteger; - '956': BigInteger; - '957': BigInteger; - '958': BigInteger; - '959': BigInteger; - '960': BigInteger; - '961': BigInteger; - '962': BigInteger; - '963': BigInteger; - '964': BigInteger; - '965': BigInteger; - '966': BigInteger; - '967': BigInteger; - '968': BigInteger; - '969': BigInteger; - '970': BigInteger; - '971': BigInteger; - '972': BigInteger; - '973': BigInteger; - '974': BigInteger; - '975': BigInteger; - '976': BigInteger; - '977': BigInteger; - '978': BigInteger; - '979': BigInteger; - '980': BigInteger; - '981': BigInteger; - '982': BigInteger; - '983': BigInteger; - '984': BigInteger; - '985': BigInteger; - '986': BigInteger; - '987': BigInteger; - '988': BigInteger; - '989': BigInteger; - '990': BigInteger; - '991': BigInteger; - '992': BigInteger; - '993': BigInteger; - '994': BigInteger; - '995': BigInteger; - '996': BigInteger; - '997': BigInteger; - '998': BigInteger; - '999': BigInteger; - } - - interface BaseArray { - value: number[], - isNegative: boolean - } -} diff --git a/node_modules/big-integer/BigInteger.js b/node_modules/big-integer/BigInteger.js deleted file mode 100644 index c4263d5185..0000000000 --- a/node_modules/big-integer/BigInteger.js +++ /dev/null @@ -1,1453 +0,0 @@ -var bigInt = (function (undefined) { - "use strict"; - - var BASE = 1e7, - LOG_BASE = 7, - MAX_INT = 9007199254740992, - MAX_INT_ARR = smallToArray(MAX_INT), - DEFAULT_ALPHABET = "0123456789abcdefghijklmnopqrstuvwxyz"; - - var supportsNativeBigInt = typeof BigInt === "function"; - - function Integer(v, radix, alphabet, caseSensitive) { - if (typeof v === "undefined") return Integer[0]; - if (typeof radix !== "undefined") return +radix === 10 && !alphabet ? parseValue(v) : parseBase(v, radix, alphabet, caseSensitive); - return parseValue(v); - } - - function BigInteger(value, sign) { - this.value = value; - this.sign = sign; - this.isSmall = false; - } - BigInteger.prototype = Object.create(Integer.prototype); - - function SmallInteger(value) { - this.value = value; - this.sign = value < 0; - this.isSmall = true; - } - SmallInteger.prototype = Object.create(Integer.prototype); - - function NativeBigInt(value) { - this.value = value; - } - NativeBigInt.prototype = Object.create(Integer.prototype); - - function isPrecise(n) { - return -MAX_INT < n && n < MAX_INT; - } - - function smallToArray(n) { // For performance reasons doesn't reference BASE, need to change this function if BASE changes - if (n < 1e7) - return [n]; - if (n < 1e14) - return [n % 1e7, Math.floor(n / 1e7)]; - return [n % 1e7, Math.floor(n / 1e7) % 1e7, Math.floor(n / 1e14)]; - } - - function arrayToSmall(arr) { // If BASE changes this function may need to change - trim(arr); - var length = arr.length; - if (length < 4 && compareAbs(arr, MAX_INT_ARR) < 0) { - switch (length) { - case 0: return 0; - case 1: return arr[0]; - case 2: return arr[0] + arr[1] * BASE; - default: return arr[0] + (arr[1] + arr[2] * BASE) * BASE; - } - } - return arr; - } - - function trim(v) { - var i = v.length; - while (v[--i] === 0); - v.length = i + 1; - } - - function createArray(length) { // function shamelessly stolen from Yaffle's library https://github.com/Yaffle/BigInteger - var x = new Array(length); - var i = -1; - while (++i < length) { - x[i] = 0; - } - return x; - } - - function truncate(n) { - if (n > 0) return Math.floor(n); - return Math.ceil(n); - } - - function add(a, b) { // assumes a and b are arrays with a.length >= b.length - var l_a = a.length, - l_b = b.length, - r = new Array(l_a), - carry = 0, - base = BASE, - sum, i; - for (i = 0; i < l_b; i++) { - sum = a[i] + b[i] + carry; - carry = sum >= base ? 1 : 0; - r[i] = sum - carry * base; - } - while (i < l_a) { - sum = a[i] + carry; - carry = sum === base ? 1 : 0; - r[i++] = sum - carry * base; - } - if (carry > 0) r.push(carry); - return r; - } - - function addAny(a, b) { - if (a.length >= b.length) return add(a, b); - return add(b, a); - } - - function addSmall(a, carry) { // assumes a is array, carry is number with 0 <= carry < MAX_INT - var l = a.length, - r = new Array(l), - base = BASE, - sum, i; - for (i = 0; i < l; i++) { - sum = a[i] - base + carry; - carry = Math.floor(sum / base); - r[i] = sum - carry * base; - carry += 1; - } - while (carry > 0) { - r[i++] = carry % base; - carry = Math.floor(carry / base); - } - return r; - } - - BigInteger.prototype.add = function (v) { - var n = parseValue(v); - if (this.sign !== n.sign) { - return this.subtract(n.negate()); - } - var a = this.value, b = n.value; - if (n.isSmall) { - return new BigInteger(addSmall(a, Math.abs(b)), this.sign); - } - return new BigInteger(addAny(a, b), this.sign); - }; - BigInteger.prototype.plus = BigInteger.prototype.add; - - SmallInteger.prototype.add = function (v) { - var n = parseValue(v); - var a = this.value; - if (a < 0 !== n.sign) { - return this.subtract(n.negate()); - } - var b = n.value; - if (n.isSmall) { - if (isPrecise(a + b)) return new SmallInteger(a + b); - b = smallToArray(Math.abs(b)); - } - return new BigInteger(addSmall(b, Math.abs(a)), a < 0); - }; - SmallInteger.prototype.plus = SmallInteger.prototype.add; - - NativeBigInt.prototype.add = function (v) { - return new NativeBigInt(this.value + parseValue(v).value); - } - NativeBigInt.prototype.plus = NativeBigInt.prototype.add; - - function subtract(a, b) { // assumes a and b are arrays with a >= b - var a_l = a.length, - b_l = b.length, - r = new Array(a_l), - borrow = 0, - base = BASE, - i, difference; - for (i = 0; i < b_l; i++) { - difference = a[i] - borrow - b[i]; - if (difference < 0) { - difference += base; - borrow = 1; - } else borrow = 0; - r[i] = difference; - } - for (i = b_l; i < a_l; i++) { - difference = a[i] - borrow; - if (difference < 0) difference += base; - else { - r[i++] = difference; - break; - } - r[i] = difference; - } - for (; i < a_l; i++) { - r[i] = a[i]; - } - trim(r); - return r; - } - - function subtractAny(a, b, sign) { - var value; - if (compareAbs(a, b) >= 0) { - value = subtract(a, b); - } else { - value = subtract(b, a); - sign = !sign; - } - value = arrayToSmall(value); - if (typeof value === "number") { - if (sign) value = -value; - return new SmallInteger(value); - } - return new BigInteger(value, sign); - } - - function subtractSmall(a, b, sign) { // assumes a is array, b is number with 0 <= b < MAX_INT - var l = a.length, - r = new Array(l), - carry = -b, - base = BASE, - i, difference; - for (i = 0; i < l; i++) { - difference = a[i] + carry; - carry = Math.floor(difference / base); - difference %= base; - r[i] = difference < 0 ? difference + base : difference; - } - r = arrayToSmall(r); - if (typeof r === "number") { - if (sign) r = -r; - return new SmallInteger(r); - } return new BigInteger(r, sign); - } - - BigInteger.prototype.subtract = function (v) { - var n = parseValue(v); - if (this.sign !== n.sign) { - return this.add(n.negate()); - } - var a = this.value, b = n.value; - if (n.isSmall) - return subtractSmall(a, Math.abs(b), this.sign); - return subtractAny(a, b, this.sign); - }; - BigInteger.prototype.minus = BigInteger.prototype.subtract; - - SmallInteger.prototype.subtract = function (v) { - var n = parseValue(v); - var a = this.value; - if (a < 0 !== n.sign) { - return this.add(n.negate()); - } - var b = n.value; - if (n.isSmall) { - return new SmallInteger(a - b); - } - return subtractSmall(b, Math.abs(a), a >= 0); - }; - SmallInteger.prototype.minus = SmallInteger.prototype.subtract; - - NativeBigInt.prototype.subtract = function (v) { - return new NativeBigInt(this.value - parseValue(v).value); - } - NativeBigInt.prototype.minus = NativeBigInt.prototype.subtract; - - BigInteger.prototype.negate = function () { - return new BigInteger(this.value, !this.sign); - }; - SmallInteger.prototype.negate = function () { - var sign = this.sign; - var small = new SmallInteger(-this.value); - small.sign = !sign; - return small; - }; - NativeBigInt.prototype.negate = function () { - return new NativeBigInt(-this.value); - } - - BigInteger.prototype.abs = function () { - return new BigInteger(this.value, false); - }; - SmallInteger.prototype.abs = function () { - return new SmallInteger(Math.abs(this.value)); - }; - NativeBigInt.prototype.abs = function () { - return new NativeBigInt(this.value >= 0 ? this.value : -this.value); - } - - - function multiplyLong(a, b) { - var a_l = a.length, - b_l = b.length, - l = a_l + b_l, - r = createArray(l), - base = BASE, - product, carry, i, a_i, b_j; - for (i = 0; i < a_l; ++i) { - a_i = a[i]; - for (var j = 0; j < b_l; ++j) { - b_j = b[j]; - product = a_i * b_j + r[i + j]; - carry = Math.floor(product / base); - r[i + j] = product - carry * base; - r[i + j + 1] += carry; - } - } - trim(r); - return r; - } - - function multiplySmall(a, b) { // assumes a is array, b is number with |b| < BASE - var l = a.length, - r = new Array(l), - base = BASE, - carry = 0, - product, i; - for (i = 0; i < l; i++) { - product = a[i] * b + carry; - carry = Math.floor(product / base); - r[i] = product - carry * base; - } - while (carry > 0) { - r[i++] = carry % base; - carry = Math.floor(carry / base); - } - return r; - } - - function shiftLeft(x, n) { - var r = []; - while (n-- > 0) r.push(0); - return r.concat(x); - } - - function multiplyKaratsuba(x, y) { - var n = Math.max(x.length, y.length); - - if (n <= 30) return multiplyLong(x, y); - n = Math.ceil(n / 2); - - var b = x.slice(n), - a = x.slice(0, n), - d = y.slice(n), - c = y.slice(0, n); - - var ac = multiplyKaratsuba(a, c), - bd = multiplyKaratsuba(b, d), - abcd = multiplyKaratsuba(addAny(a, b), addAny(c, d)); - - var product = addAny(addAny(ac, shiftLeft(subtract(subtract(abcd, ac), bd), n)), shiftLeft(bd, 2 * n)); - trim(product); - return product; - } - - // The following function is derived from a surface fit of a graph plotting the performance difference - // between long multiplication and karatsuba multiplication versus the lengths of the two arrays. - function useKaratsuba(l1, l2) { - return -0.012 * l1 - 0.012 * l2 + 0.000015 * l1 * l2 > 0; - } - - BigInteger.prototype.multiply = function (v) { - var n = parseValue(v), - a = this.value, b = n.value, - sign = this.sign !== n.sign, - abs; - if (n.isSmall) { - if (b === 0) return Integer[0]; - if (b === 1) return this; - if (b === -1) return this.negate(); - abs = Math.abs(b); - if (abs < BASE) { - return new BigInteger(multiplySmall(a, abs), sign); - } - b = smallToArray(abs); - } - if (useKaratsuba(a.length, b.length)) // Karatsuba is only faster for certain array sizes - return new BigInteger(multiplyKaratsuba(a, b), sign); - return new BigInteger(multiplyLong(a, b), sign); - }; - - BigInteger.prototype.times = BigInteger.prototype.multiply; - - function multiplySmallAndArray(a, b, sign) { // a >= 0 - if (a < BASE) { - return new BigInteger(multiplySmall(b, a), sign); - } - return new BigInteger(multiplyLong(b, smallToArray(a)), sign); - } - SmallInteger.prototype._multiplyBySmall = function (a) { - if (isPrecise(a.value * this.value)) { - return new SmallInteger(a.value * this.value); - } - return multiplySmallAndArray(Math.abs(a.value), smallToArray(Math.abs(this.value)), this.sign !== a.sign); - }; - BigInteger.prototype._multiplyBySmall = function (a) { - if (a.value === 0) return Integer[0]; - if (a.value === 1) return this; - if (a.value === -1) return this.negate(); - return multiplySmallAndArray(Math.abs(a.value), this.value, this.sign !== a.sign); - }; - SmallInteger.prototype.multiply = function (v) { - return parseValue(v)._multiplyBySmall(this); - }; - SmallInteger.prototype.times = SmallInteger.prototype.multiply; - - NativeBigInt.prototype.multiply = function (v) { - return new NativeBigInt(this.value * parseValue(v).value); - } - NativeBigInt.prototype.times = NativeBigInt.prototype.multiply; - - function square(a) { - //console.assert(2 * BASE * BASE < MAX_INT); - var l = a.length, - r = createArray(l + l), - base = BASE, - product, carry, i, a_i, a_j; - for (i = 0; i < l; i++) { - a_i = a[i]; - carry = 0 - a_i * a_i; - for (var j = i; j < l; j++) { - a_j = a[j]; - product = 2 * (a_i * a_j) + r[i + j] + carry; - carry = Math.floor(product / base); - r[i + j] = product - carry * base; - } - r[i + l] = carry; - } - trim(r); - return r; - } - - BigInteger.prototype.square = function () { - return new BigInteger(square(this.value), false); - }; - - SmallInteger.prototype.square = function () { - var value = this.value * this.value; - if (isPrecise(value)) return new SmallInteger(value); - return new BigInteger(square(smallToArray(Math.abs(this.value))), false); - }; - - NativeBigInt.prototype.square = function (v) { - return new NativeBigInt(this.value * this.value); - } - - function divMod1(a, b) { // Left over from previous version. Performs faster than divMod2 on smaller input sizes. - var a_l = a.length, - b_l = b.length, - base = BASE, - result = createArray(b.length), - divisorMostSignificantDigit = b[b_l - 1], - // normalization - lambda = Math.ceil(base / (2 * divisorMostSignificantDigit)), - remainder = multiplySmall(a, lambda), - divisor = multiplySmall(b, lambda), - quotientDigit, shift, carry, borrow, i, l, q; - if (remainder.length <= a_l) remainder.push(0); - divisor.push(0); - divisorMostSignificantDigit = divisor[b_l - 1]; - for (shift = a_l - b_l; shift >= 0; shift--) { - quotientDigit = base - 1; - if (remainder[shift + b_l] !== divisorMostSignificantDigit) { - quotientDigit = Math.floor((remainder[shift + b_l] * base + remainder[shift + b_l - 1]) / divisorMostSignificantDigit); - } - // quotientDigit <= base - 1 - carry = 0; - borrow = 0; - l = divisor.length; - for (i = 0; i < l; i++) { - carry += quotientDigit * divisor[i]; - q = Math.floor(carry / base); - borrow += remainder[shift + i] - (carry - q * base); - carry = q; - if (borrow < 0) { - remainder[shift + i] = borrow + base; - borrow = -1; - } else { - remainder[shift + i] = borrow; - borrow = 0; - } - } - while (borrow !== 0) { - quotientDigit -= 1; - carry = 0; - for (i = 0; i < l; i++) { - carry += remainder[shift + i] - base + divisor[i]; - if (carry < 0) { - remainder[shift + i] = carry + base; - carry = 0; - } else { - remainder[shift + i] = carry; - carry = 1; - } - } - borrow += carry; - } - result[shift] = quotientDigit; - } - // denormalization - remainder = divModSmall(remainder, lambda)[0]; - return [arrayToSmall(result), arrayToSmall(remainder)]; - } - - function divMod2(a, b) { // Implementation idea shamelessly stolen from Silent Matt's library http://silentmatt.com/biginteger/ - // Performs faster than divMod1 on larger input sizes. - var a_l = a.length, - b_l = b.length, - result = [], - part = [], - base = BASE, - guess, xlen, highx, highy, check; - while (a_l) { - part.unshift(a[--a_l]); - trim(part); - if (compareAbs(part, b) < 0) { - result.push(0); - continue; - } - xlen = part.length; - highx = part[xlen - 1] * base + part[xlen - 2]; - highy = b[b_l - 1] * base + b[b_l - 2]; - if (xlen > b_l) { - highx = (highx + 1) * base; - } - guess = Math.ceil(highx / highy); - do { - check = multiplySmall(b, guess); - if (compareAbs(check, part) <= 0) break; - guess--; - } while (guess); - result.push(guess); - part = subtract(part, check); - } - result.reverse(); - return [arrayToSmall(result), arrayToSmall(part)]; - } - - function divModSmall(value, lambda) { - var length = value.length, - quotient = createArray(length), - base = BASE, - i, q, remainder, divisor; - remainder = 0; - for (i = length - 1; i >= 0; --i) { - divisor = remainder * base + value[i]; - q = truncate(divisor / lambda); - remainder = divisor - q * lambda; - quotient[i] = q | 0; - } - return [quotient, remainder | 0]; - } - - function divModAny(self, v) { - var value, n = parseValue(v); - if (supportsNativeBigInt) { - return [new NativeBigInt(self.value / n.value), new NativeBigInt(self.value % n.value)]; - } - var a = self.value, b = n.value; - var quotient; - if (b === 0) throw new Error("Cannot divide by zero"); - if (self.isSmall) { - if (n.isSmall) { - return [new SmallInteger(truncate(a / b)), new SmallInteger(a % b)]; - } - return [Integer[0], self]; - } - if (n.isSmall) { - if (b === 1) return [self, Integer[0]]; - if (b == -1) return [self.negate(), Integer[0]]; - var abs = Math.abs(b); - if (abs < BASE) { - value = divModSmall(a, abs); - quotient = arrayToSmall(value[0]); - var remainder = value[1]; - if (self.sign) remainder = -remainder; - if (typeof quotient === "number") { - if (self.sign !== n.sign) quotient = -quotient; - return [new SmallInteger(quotient), new SmallInteger(remainder)]; - } - return [new BigInteger(quotient, self.sign !== n.sign), new SmallInteger(remainder)]; - } - b = smallToArray(abs); - } - var comparison = compareAbs(a, b); - if (comparison === -1) return [Integer[0], self]; - if (comparison === 0) return [Integer[self.sign === n.sign ? 1 : -1], Integer[0]]; - - // divMod1 is faster on smaller input sizes - if (a.length + b.length <= 200) - value = divMod1(a, b); - else value = divMod2(a, b); - - quotient = value[0]; - var qSign = self.sign !== n.sign, - mod = value[1], - mSign = self.sign; - if (typeof quotient === "number") { - if (qSign) quotient = -quotient; - quotient = new SmallInteger(quotient); - } else quotient = new BigInteger(quotient, qSign); - if (typeof mod === "number") { - if (mSign) mod = -mod; - mod = new SmallInteger(mod); - } else mod = new BigInteger(mod, mSign); - return [quotient, mod]; - } - - BigInteger.prototype.divmod = function (v) { - var result = divModAny(this, v); - return { - quotient: result[0], - remainder: result[1] - }; - }; - NativeBigInt.prototype.divmod = SmallInteger.prototype.divmod = BigInteger.prototype.divmod; - - - BigInteger.prototype.divide = function (v) { - return divModAny(this, v)[0]; - }; - NativeBigInt.prototype.over = NativeBigInt.prototype.divide = function (v) { - return new NativeBigInt(this.value / parseValue(v).value); - }; - SmallInteger.prototype.over = SmallInteger.prototype.divide = BigInteger.prototype.over = BigInteger.prototype.divide; - - BigInteger.prototype.mod = function (v) { - return divModAny(this, v)[1]; - }; - NativeBigInt.prototype.mod = NativeBigInt.prototype.remainder = function (v) { - return new NativeBigInt(this.value % parseValue(v).value); - }; - SmallInteger.prototype.remainder = SmallInteger.prototype.mod = BigInteger.prototype.remainder = BigInteger.prototype.mod; - - BigInteger.prototype.pow = function (v) { - var n = parseValue(v), - a = this.value, - b = n.value, - value, x, y; - if (b === 0) return Integer[1]; - if (a === 0) return Integer[0]; - if (a === 1) return Integer[1]; - if (a === -1) return n.isEven() ? Integer[1] : Integer[-1]; - if (n.sign) { - return Integer[0]; - } - if (!n.isSmall) throw new Error("The exponent " + n.toString() + " is too large."); - if (this.isSmall) { - if (isPrecise(value = Math.pow(a, b))) - return new SmallInteger(truncate(value)); - } - x = this; - y = Integer[1]; - while (true) { - if (b & 1 === 1) { - y = y.times(x); - --b; - } - if (b === 0) break; - b /= 2; - x = x.square(); - } - return y; - }; - SmallInteger.prototype.pow = BigInteger.prototype.pow; - - NativeBigInt.prototype.pow = function (v) { - var n = parseValue(v); - var a = this.value, b = n.value; - var _0 = BigInt(0), _1 = BigInt(1), _2 = BigInt(2); - if (b === _0) return Integer[1]; - if (a === _0) return Integer[0]; - if (a === _1) return Integer[1]; - if (a === BigInt(-1)) return n.isEven() ? Integer[1] : Integer[-1]; - if (n.isNegative()) return new NativeBigInt(_0); - var x = this; - var y = Integer[1]; - while (true) { - if ((b & _1) === _1) { - y = y.times(x); - --b; - } - if (b === _0) break; - b /= _2; - x = x.square(); - } - return y; - } - - BigInteger.prototype.modPow = function (exp, mod) { - exp = parseValue(exp); - mod = parseValue(mod); - if (mod.isZero()) throw new Error("Cannot take modPow with modulus 0"); - var r = Integer[1], - base = this.mod(mod); - if (exp.isNegative()) { - exp = exp.multiply(Integer[-1]); - base = base.modInv(mod); - } - while (exp.isPositive()) { - if (base.isZero()) return Integer[0]; - if (exp.isOdd()) r = r.multiply(base).mod(mod); - exp = exp.divide(2); - base = base.square().mod(mod); - } - return r; - }; - NativeBigInt.prototype.modPow = SmallInteger.prototype.modPow = BigInteger.prototype.modPow; - - function compareAbs(a, b) { - if (a.length !== b.length) { - return a.length > b.length ? 1 : -1; - } - for (var i = a.length - 1; i >= 0; i--) { - if (a[i] !== b[i]) return a[i] > b[i] ? 1 : -1; - } - return 0; - } - - BigInteger.prototype.compareAbs = function (v) { - var n = parseValue(v), - a = this.value, - b = n.value; - if (n.isSmall) return 1; - return compareAbs(a, b); - }; - SmallInteger.prototype.compareAbs = function (v) { - var n = parseValue(v), - a = Math.abs(this.value), - b = n.value; - if (n.isSmall) { - b = Math.abs(b); - return a === b ? 0 : a > b ? 1 : -1; - } - return -1; - }; - NativeBigInt.prototype.compareAbs = function (v) { - var a = this.value; - var b = parseValue(v).value; - a = a >= 0 ? a : -a; - b = b >= 0 ? b : -b; - return a === b ? 0 : a > b ? 1 : -1; - } - - BigInteger.prototype.compare = function (v) { - // See discussion about comparison with Infinity: - // https://github.com/peterolson/BigInteger.js/issues/61 - if (v === Infinity) { - return -1; - } - if (v === -Infinity) { - return 1; - } - - var n = parseValue(v), - a = this.value, - b = n.value; - if (this.sign !== n.sign) { - return n.sign ? 1 : -1; - } - if (n.isSmall) { - return this.sign ? -1 : 1; - } - return compareAbs(a, b) * (this.sign ? -1 : 1); - }; - BigInteger.prototype.compareTo = BigInteger.prototype.compare; - - SmallInteger.prototype.compare = function (v) { - if (v === Infinity) { - return -1; - } - if (v === -Infinity) { - return 1; - } - - var n = parseValue(v), - a = this.value, - b = n.value; - if (n.isSmall) { - return a == b ? 0 : a > b ? 1 : -1; - } - if (a < 0 !== n.sign) { - return a < 0 ? -1 : 1; - } - return a < 0 ? 1 : -1; - }; - SmallInteger.prototype.compareTo = SmallInteger.prototype.compare; - - NativeBigInt.prototype.compare = function (v) { - if (v === Infinity) { - return -1; - } - if (v === -Infinity) { - return 1; - } - var a = this.value; - var b = parseValue(v).value; - return a === b ? 0 : a > b ? 1 : -1; - } - NativeBigInt.prototype.compareTo = NativeBigInt.prototype.compare; - - BigInteger.prototype.equals = function (v) { - return this.compare(v) === 0; - }; - NativeBigInt.prototype.eq = NativeBigInt.prototype.equals = SmallInteger.prototype.eq = SmallInteger.prototype.equals = BigInteger.prototype.eq = BigInteger.prototype.equals; - - BigInteger.prototype.notEquals = function (v) { - return this.compare(v) !== 0; - }; - NativeBigInt.prototype.neq = NativeBigInt.prototype.notEquals = SmallInteger.prototype.neq = SmallInteger.prototype.notEquals = BigInteger.prototype.neq = BigInteger.prototype.notEquals; - - BigInteger.prototype.greater = function (v) { - return this.compare(v) > 0; - }; - NativeBigInt.prototype.gt = NativeBigInt.prototype.greater = SmallInteger.prototype.gt = SmallInteger.prototype.greater = BigInteger.prototype.gt = BigInteger.prototype.greater; - - BigInteger.prototype.lesser = function (v) { - return this.compare(v) < 0; - }; - NativeBigInt.prototype.lt = NativeBigInt.prototype.lesser = SmallInteger.prototype.lt = SmallInteger.prototype.lesser = BigInteger.prototype.lt = BigInteger.prototype.lesser; - - BigInteger.prototype.greaterOrEquals = function (v) { - return this.compare(v) >= 0; - }; - NativeBigInt.prototype.geq = NativeBigInt.prototype.greaterOrEquals = SmallInteger.prototype.geq = SmallInteger.prototype.greaterOrEquals = BigInteger.prototype.geq = BigInteger.prototype.greaterOrEquals; - - BigInteger.prototype.lesserOrEquals = function (v) { - return this.compare(v) <= 0; - }; - NativeBigInt.prototype.leq = NativeBigInt.prototype.lesserOrEquals = SmallInteger.prototype.leq = SmallInteger.prototype.lesserOrEquals = BigInteger.prototype.leq = BigInteger.prototype.lesserOrEquals; - - BigInteger.prototype.isEven = function () { - return (this.value[0] & 1) === 0; - }; - SmallInteger.prototype.isEven = function () { - return (this.value & 1) === 0; - }; - NativeBigInt.prototype.isEven = function () { - return (this.value & BigInt(1)) === BigInt(0); - } - - BigInteger.prototype.isOdd = function () { - return (this.value[0] & 1) === 1; - }; - SmallInteger.prototype.isOdd = function () { - return (this.value & 1) === 1; - }; - NativeBigInt.prototype.isOdd = function () { - return (this.value & BigInt(1)) === BigInt(1); - } - - BigInteger.prototype.isPositive = function () { - return !this.sign; - }; - SmallInteger.prototype.isPositive = function () { - return this.value > 0; - }; - NativeBigInt.prototype.isPositive = SmallInteger.prototype.isPositive; - - BigInteger.prototype.isNegative = function () { - return this.sign; - }; - SmallInteger.prototype.isNegative = function () { - return this.value < 0; - }; - NativeBigInt.prototype.isNegative = SmallInteger.prototype.isNegative; - - BigInteger.prototype.isUnit = function () { - return false; - }; - SmallInteger.prototype.isUnit = function () { - return Math.abs(this.value) === 1; - }; - NativeBigInt.prototype.isUnit = function () { - return this.abs().value === BigInt(1); - } - - BigInteger.prototype.isZero = function () { - return false; - }; - SmallInteger.prototype.isZero = function () { - return this.value === 0; - }; - NativeBigInt.prototype.isZero = function () { - return this.value === BigInt(0); - } - - BigInteger.prototype.isDivisibleBy = function (v) { - var n = parseValue(v); - if (n.isZero()) return false; - if (n.isUnit()) return true; - if (n.compareAbs(2) === 0) return this.isEven(); - return this.mod(n).isZero(); - }; - NativeBigInt.prototype.isDivisibleBy = SmallInteger.prototype.isDivisibleBy = BigInteger.prototype.isDivisibleBy; - - function isBasicPrime(v) { - var n = v.abs(); - if (n.isUnit()) return false; - if (n.equals(2) || n.equals(3) || n.equals(5)) return true; - if (n.isEven() || n.isDivisibleBy(3) || n.isDivisibleBy(5)) return false; - if (n.lesser(49)) return true; - // we don't know if it's prime: let the other functions figure it out - } - - function millerRabinTest(n, a) { - var nPrev = n.prev(), - b = nPrev, - r = 0, - d, t, i, x; - while (b.isEven()) b = b.divide(2), r++; - next: for (i = 0; i < a.length; i++) { - if (n.lesser(a[i])) continue; - x = bigInt(a[i]).modPow(b, n); - if (x.isUnit() || x.equals(nPrev)) continue; - for (d = r - 1; d != 0; d--) { - x = x.square().mod(n); - if (x.isUnit()) return false; - if (x.equals(nPrev)) continue next; - } - return false; - } - return true; - } - - // Set "strict" to true to force GRH-supported lower bound of 2*log(N)^2 - BigInteger.prototype.isPrime = function (strict) { - var isPrime = isBasicPrime(this); - if (isPrime !== undefined) return isPrime; - var n = this.abs(); - var bits = n.bitLength(); - if (bits <= 64) - return millerRabinTest(n, [2, 3, 5, 7, 11, 13, 17, 19, 23, 29, 31, 37]); - var logN = Math.log(2) * bits.toJSNumber(); - var t = Math.ceil((strict === true) ? (2 * Math.pow(logN, 2)) : logN); - for (var a = [], i = 0; i < t; i++) { - a.push(bigInt(i + 2)); - } - return millerRabinTest(n, a); - }; - NativeBigInt.prototype.isPrime = SmallInteger.prototype.isPrime = BigInteger.prototype.isPrime; - - BigInteger.prototype.isProbablePrime = function (iterations, rng) { - var isPrime = isBasicPrime(this); - if (isPrime !== undefined) return isPrime; - var n = this.abs(); - var t = iterations === undefined ? 5 : iterations; - for (var a = [], i = 0; i < t; i++) { - a.push(bigInt.randBetween(2, n.minus(2), rng)); - } - return millerRabinTest(n, a); - }; - NativeBigInt.prototype.isProbablePrime = SmallInteger.prototype.isProbablePrime = BigInteger.prototype.isProbablePrime; - - BigInteger.prototype.modInv = function (n) { - var t = bigInt.zero, newT = bigInt.one, r = parseValue(n), newR = this.abs(), q, lastT, lastR; - while (!newR.isZero()) { - q = r.divide(newR); - lastT = t; - lastR = r; - t = newT; - r = newR; - newT = lastT.subtract(q.multiply(newT)); - newR = lastR.subtract(q.multiply(newR)); - } - if (!r.isUnit()) throw new Error(this.toString() + " and " + n.toString() + " are not co-prime"); - if (t.compare(0) === -1) { - t = t.add(n); - } - if (this.isNegative()) { - return t.negate(); - } - return t; - }; - - NativeBigInt.prototype.modInv = SmallInteger.prototype.modInv = BigInteger.prototype.modInv; - - BigInteger.prototype.next = function () { - var value = this.value; - if (this.sign) { - return subtractSmall(value, 1, this.sign); - } - return new BigInteger(addSmall(value, 1), this.sign); - }; - SmallInteger.prototype.next = function () { - var value = this.value; - if (value + 1 < MAX_INT) return new SmallInteger(value + 1); - return new BigInteger(MAX_INT_ARR, false); - }; - NativeBigInt.prototype.next = function () { - return new NativeBigInt(this.value + BigInt(1)); - } - - BigInteger.prototype.prev = function () { - var value = this.value; - if (this.sign) { - return new BigInteger(addSmall(value, 1), true); - } - return subtractSmall(value, 1, this.sign); - }; - SmallInteger.prototype.prev = function () { - var value = this.value; - if (value - 1 > -MAX_INT) return new SmallInteger(value - 1); - return new BigInteger(MAX_INT_ARR, true); - }; - NativeBigInt.prototype.prev = function () { - return new NativeBigInt(this.value - BigInt(1)); - } - - var powersOfTwo = [1]; - while (2 * powersOfTwo[powersOfTwo.length - 1] <= BASE) powersOfTwo.push(2 * powersOfTwo[powersOfTwo.length - 1]); - var powers2Length = powersOfTwo.length, highestPower2 = powersOfTwo[powers2Length - 1]; - - function shift_isSmall(n) { - return Math.abs(n) <= BASE; - } - - BigInteger.prototype.shiftLeft = function (v) { - var n = parseValue(v).toJSNumber(); - if (!shift_isSmall(n)) { - throw new Error(String(n) + " is too large for shifting."); - } - if (n < 0) return this.shiftRight(-n); - var result = this; - if (result.isZero()) return result; - while (n >= powers2Length) { - result = result.multiply(highestPower2); - n -= powers2Length - 1; - } - return result.multiply(powersOfTwo[n]); - }; - NativeBigInt.prototype.shiftLeft = SmallInteger.prototype.shiftLeft = BigInteger.prototype.shiftLeft; - - BigInteger.prototype.shiftRight = function (v) { - var remQuo; - var n = parseValue(v).toJSNumber(); - if (!shift_isSmall(n)) { - throw new Error(String(n) + " is too large for shifting."); - } - if (n < 0) return this.shiftLeft(-n); - var result = this; - while (n >= powers2Length) { - if (result.isZero() || (result.isNegative() && result.isUnit())) return result; - remQuo = divModAny(result, highestPower2); - result = remQuo[1].isNegative() ? remQuo[0].prev() : remQuo[0]; - n -= powers2Length - 1; - } - remQuo = divModAny(result, powersOfTwo[n]); - return remQuo[1].isNegative() ? remQuo[0].prev() : remQuo[0]; - }; - NativeBigInt.prototype.shiftRight = SmallInteger.prototype.shiftRight = BigInteger.prototype.shiftRight; - - function bitwise(x, y, fn) { - y = parseValue(y); - var xSign = x.isNegative(), ySign = y.isNegative(); - var xRem = xSign ? x.not() : x, - yRem = ySign ? y.not() : y; - var xDigit = 0, yDigit = 0; - var xDivMod = null, yDivMod = null; - var result = []; - while (!xRem.isZero() || !yRem.isZero()) { - xDivMod = divModAny(xRem, highestPower2); - xDigit = xDivMod[1].toJSNumber(); - if (xSign) { - xDigit = highestPower2 - 1 - xDigit; // two's complement for negative numbers - } - - yDivMod = divModAny(yRem, highestPower2); - yDigit = yDivMod[1].toJSNumber(); - if (ySign) { - yDigit = highestPower2 - 1 - yDigit; // two's complement for negative numbers - } - - xRem = xDivMod[0]; - yRem = yDivMod[0]; - result.push(fn(xDigit, yDigit)); - } - var sum = fn(xSign ? 1 : 0, ySign ? 1 : 0) !== 0 ? bigInt(-1) : bigInt(0); - for (var i = result.length - 1; i >= 0; i -= 1) { - sum = sum.multiply(highestPower2).add(bigInt(result[i])); - } - return sum; - } - - BigInteger.prototype.not = function () { - return this.negate().prev(); - }; - NativeBigInt.prototype.not = SmallInteger.prototype.not = BigInteger.prototype.not; - - BigInteger.prototype.and = function (n) { - return bitwise(this, n, function (a, b) { return a & b; }); - }; - NativeBigInt.prototype.and = SmallInteger.prototype.and = BigInteger.prototype.and; - - BigInteger.prototype.or = function (n) { - return bitwise(this, n, function (a, b) { return a | b; }); - }; - NativeBigInt.prototype.or = SmallInteger.prototype.or = BigInteger.prototype.or; - - BigInteger.prototype.xor = function (n) { - return bitwise(this, n, function (a, b) { return a ^ b; }); - }; - NativeBigInt.prototype.xor = SmallInteger.prototype.xor = BigInteger.prototype.xor; - - var LOBMASK_I = 1 << 30, LOBMASK_BI = (BASE & -BASE) * (BASE & -BASE) | LOBMASK_I; - function roughLOB(n) { // get lowestOneBit (rough) - // SmallInteger: return Min(lowestOneBit(n), 1 << 30) - // BigInteger: return Min(lowestOneBit(n), 1 << 14) [BASE=1e7] - var v = n.value, - x = typeof v === "number" ? v | LOBMASK_I : - typeof v === "bigint" ? v | BigInt(LOBMASK_I) : - v[0] + v[1] * BASE | LOBMASK_BI; - return x & -x; - } - - function integerLogarithm(value, base) { - if (base.compareTo(value) <= 0) { - var tmp = integerLogarithm(value, base.square(base)); - var p = tmp.p; - var e = tmp.e; - var t = p.multiply(base); - return t.compareTo(value) <= 0 ? { p: t, e: e * 2 + 1 } : { p: p, e: e * 2 }; - } - return { p: bigInt(1), e: 0 }; - } - - BigInteger.prototype.bitLength = function () { - var n = this; - if (n.compareTo(bigInt(0)) < 0) { - n = n.negate().subtract(bigInt(1)); - } - if (n.compareTo(bigInt(0)) === 0) { - return bigInt(0); - } - return bigInt(integerLogarithm(n, bigInt(2)).e).add(bigInt(1)); - } - NativeBigInt.prototype.bitLength = SmallInteger.prototype.bitLength = BigInteger.prototype.bitLength; - - function max(a, b) { - a = parseValue(a); - b = parseValue(b); - return a.greater(b) ? a : b; - } - function min(a, b) { - a = parseValue(a); - b = parseValue(b); - return a.lesser(b) ? a : b; - } - function gcd(a, b) { - a = parseValue(a).abs(); - b = parseValue(b).abs(); - if (a.equals(b)) return a; - if (a.isZero()) return b; - if (b.isZero()) return a; - var c = Integer[1], d, t; - while (a.isEven() && b.isEven()) { - d = min(roughLOB(a), roughLOB(b)); - a = a.divide(d); - b = b.divide(d); - c = c.multiply(d); - } - while (a.isEven()) { - a = a.divide(roughLOB(a)); - } - do { - while (b.isEven()) { - b = b.divide(roughLOB(b)); - } - if (a.greater(b)) { - t = b; b = a; a = t; - } - b = b.subtract(a); - } while (!b.isZero()); - return c.isUnit() ? a : a.multiply(c); - } - function lcm(a, b) { - a = parseValue(a).abs(); - b = parseValue(b).abs(); - return a.divide(gcd(a, b)).multiply(b); - } - function randBetween(a, b, rng) { - a = parseValue(a); - b = parseValue(b); - var usedRNG = rng || Math.random; - var low = min(a, b), high = max(a, b); - var range = high.subtract(low).add(1); - if (range.isSmall) return low.add(Math.floor(usedRNG() * range)); - var digits = toBase(range, BASE).value; - var result = [], restricted = true; - for (var i = 0; i < digits.length; i++) { - var top = restricted ? digits[i] + (i + 1 < digits.length ? digits[i + 1] / BASE : 0) : BASE; - var digit = truncate(usedRNG() * top); - result.push(digit); - if (digit < digits[i]) restricted = false; - } - return low.add(Integer.fromArray(result, BASE, false)); - } - - var parseBase = function (text, base, alphabet, caseSensitive) { - alphabet = alphabet || DEFAULT_ALPHABET; - text = String(text); - if (!caseSensitive) { - text = text.toLowerCase(); - alphabet = alphabet.toLowerCase(); - } - var length = text.length; - var i; - var absBase = Math.abs(base); - var alphabetValues = {}; - for (i = 0; i < alphabet.length; i++) { - alphabetValues[alphabet[i]] = i; - } - for (i = 0; i < length; i++) { - var c = text[i]; - if (c === "-") continue; - if (c in alphabetValues) { - if (alphabetValues[c] >= absBase) { - if (c === "1" && absBase === 1) continue; - throw new Error(c + " is not a valid digit in base " + base + "."); - } - } - } - base = parseValue(base); - var digits = []; - var isNegative = text[0] === "-"; - for (i = isNegative ? 1 : 0; i < text.length; i++) { - var c = text[i]; - if (c in alphabetValues) digits.push(parseValue(alphabetValues[c])); - else if (c === "<") { - var start = i; - do { i++; } while (text[i] !== ">" && i < text.length); - digits.push(parseValue(text.slice(start + 1, i))); - } - else throw new Error(c + " is not a valid character"); - } - return parseBaseFromArray(digits, base, isNegative); - }; - - function parseBaseFromArray(digits, base, isNegative) { - var val = Integer[0], pow = Integer[1], i; - for (i = digits.length - 1; i >= 0; i--) { - val = val.add(digits[i].times(pow)); - pow = pow.times(base); - } - return isNegative ? val.negate() : val; - } - - function stringify(digit, alphabet) { - alphabet = alphabet || DEFAULT_ALPHABET; - if (digit < alphabet.length) { - return alphabet[digit]; - } - return "<" + digit + ">"; - } - - function toBase(n, base) { - base = bigInt(base); - if (base.isZero()) { - if (n.isZero()) return { value: [0], isNegative: false }; - throw new Error("Cannot convert nonzero numbers to base 0."); - } - if (base.equals(-1)) { - if (n.isZero()) return { value: [0], isNegative: false }; - if (n.isNegative()) - return { - value: [].concat.apply([], Array.apply(null, Array(-n.toJSNumber())) - .map(Array.prototype.valueOf, [1, 0]) - ), - isNegative: false - }; - - var arr = Array.apply(null, Array(n.toJSNumber() - 1)) - .map(Array.prototype.valueOf, [0, 1]); - arr.unshift([1]); - return { - value: [].concat.apply([], arr), - isNegative: false - }; - } - - var neg = false; - if (n.isNegative() && base.isPositive()) { - neg = true; - n = n.abs(); - } - if (base.isUnit()) { - if (n.isZero()) return { value: [0], isNegative: false }; - - return { - value: Array.apply(null, Array(n.toJSNumber())) - .map(Number.prototype.valueOf, 1), - isNegative: neg - }; - } - var out = []; - var left = n, divmod; - while (left.isNegative() || left.compareAbs(base) >= 0) { - divmod = left.divmod(base); - left = divmod.quotient; - var digit = divmod.remainder; - if (digit.isNegative()) { - digit = base.minus(digit).abs(); - left = left.next(); - } - out.push(digit.toJSNumber()); - } - out.push(left.toJSNumber()); - return { value: out.reverse(), isNegative: neg }; - } - - function toBaseString(n, base, alphabet) { - var arr = toBase(n, base); - return (arr.isNegative ? "-" : "") + arr.value.map(function (x) { - return stringify(x, alphabet); - }).join(''); - } - - BigInteger.prototype.toArray = function (radix) { - return toBase(this, radix); - }; - - SmallInteger.prototype.toArray = function (radix) { - return toBase(this, radix); - }; - - NativeBigInt.prototype.toArray = function (radix) { - return toBase(this, radix); - }; - - BigInteger.prototype.toString = function (radix, alphabet) { - if (radix === undefined) radix = 10; - if (radix !== 10) return toBaseString(this, radix, alphabet); - var v = this.value, l = v.length, str = String(v[--l]), zeros = "0000000", digit; - while (--l >= 0) { - digit = String(v[l]); - str += zeros.slice(digit.length) + digit; - } - var sign = this.sign ? "-" : ""; - return sign + str; - }; - - SmallInteger.prototype.toString = function (radix, alphabet) { - if (radix === undefined) radix = 10; - if (radix != 10) return toBaseString(this, radix, alphabet); - return String(this.value); - }; - - NativeBigInt.prototype.toString = SmallInteger.prototype.toString; - - NativeBigInt.prototype.toJSON = BigInteger.prototype.toJSON = SmallInteger.prototype.toJSON = function () { return this.toString(); } - - BigInteger.prototype.valueOf = function () { - return parseInt(this.toString(), 10); - }; - BigInteger.prototype.toJSNumber = BigInteger.prototype.valueOf; - - SmallInteger.prototype.valueOf = function () { - return this.value; - }; - SmallInteger.prototype.toJSNumber = SmallInteger.prototype.valueOf; - NativeBigInt.prototype.valueOf = NativeBigInt.prototype.toJSNumber = function () { - return parseInt(this.toString(), 10); - } - - function parseStringValue(v) { - if (isPrecise(+v)) { - var x = +v; - if (x === truncate(x)) - return supportsNativeBigInt ? new NativeBigInt(BigInt(x)) : new SmallInteger(x); - throw new Error("Invalid integer: " + v); - } - var sign = v[0] === "-"; - if (sign) v = v.slice(1); - var split = v.split(/e/i); - if (split.length > 2) throw new Error("Invalid integer: " + split.join("e")); - if (split.length === 2) { - var exp = split[1]; - if (exp[0] === "+") exp = exp.slice(1); - exp = +exp; - if (exp !== truncate(exp) || !isPrecise(exp)) throw new Error("Invalid integer: " + exp + " is not a valid exponent."); - var text = split[0]; - var decimalPlace = text.indexOf("."); - if (decimalPlace >= 0) { - exp -= text.length - decimalPlace - 1; - text = text.slice(0, decimalPlace) + text.slice(decimalPlace + 1); - } - if (exp < 0) throw new Error("Cannot include negative exponent part for integers"); - text += (new Array(exp + 1)).join("0"); - v = text; - } - var isValid = /^([0-9][0-9]*)$/.test(v); - if (!isValid) throw new Error("Invalid integer: " + v); - if (supportsNativeBigInt) { - return new NativeBigInt(BigInt(sign ? "-" + v : v)); - } - var r = [], max = v.length, l = LOG_BASE, min = max - l; - while (max > 0) { - r.push(+v.slice(min, max)); - min -= l; - if (min < 0) min = 0; - max -= l; - } - trim(r); - return new BigInteger(r, sign); - } - - function parseNumberValue(v) { - if (supportsNativeBigInt) { - return new NativeBigInt(BigInt(v)); - } - if (isPrecise(v)) { - if (v !== truncate(v)) throw new Error(v + " is not an integer."); - return new SmallInteger(v); - } - return parseStringValue(v.toString()); - } - - function parseValue(v) { - if (typeof v === "number") { - return parseNumberValue(v); - } - if (typeof v === "string") { - return parseStringValue(v); - } - if (typeof v === "bigint") { - return new NativeBigInt(v); - } - return v; - } - // Pre-define numbers in range [-999,999] - for (var i = 0; i < 1000; i++) { - Integer[i] = parseValue(i); - if (i > 0) Integer[-i] = parseValue(-i); - } - // Backwards compatibility - Integer.one = Integer[1]; - Integer.zero = Integer[0]; - Integer.minusOne = Integer[-1]; - Integer.max = max; - Integer.min = min; - Integer.gcd = gcd; - Integer.lcm = lcm; - Integer.isInstance = function (x) { return x instanceof BigInteger || x instanceof SmallInteger || x instanceof NativeBigInt; }; - Integer.randBetween = randBetween; - - Integer.fromArray = function (digits, base, isNegative) { - return parseBaseFromArray(digits.map(parseValue), parseValue(base || 10), isNegative); - }; - - return Integer; -})(); - -// Node.js check -if (typeof module !== "undefined" && module.hasOwnProperty("exports")) { - module.exports = bigInt; -} - -//amd check -if (typeof define === "function" && define.amd) { - define( function () { - return bigInt; - }); -} diff --git a/node_modules/big-integer/BigInteger.min.js b/node_modules/big-integer/BigInteger.min.js deleted file mode 100644 index 007066724b..0000000000 --- a/node_modules/big-integer/BigInteger.min.js +++ /dev/null @@ -1 +0,0 @@ -var bigInt=function(t){"use strict";var e=1e7,r=9007199254740992,o=f(r),n="0123456789abcdefghijklmnopqrstuvwxyz",i="function"==typeof BigInt;function u(t,e,r,o){return void 0===t?u[0]:void 0!==e&&(10!=+e||r)?_(t,e,r,o):K(t)}function p(t,e){this.value=t,this.sign=e,this.isSmall=!1}function a(t){this.value=t,this.sign=t<0,this.isSmall=!0}function s(t){this.value=t}function l(t){return-r0?Math.floor(t):Math.ceil(t)}function c(t,r){var o,n,i=t.length,u=r.length,p=new Array(i),a=0,s=e;for(n=0;n=s?1:0,p[n]=o-a*s;for(;n0&&p.push(a),p}function m(t,e){return t.length>=e.length?c(t,e):c(e,t)}function d(t,r){var o,n,i=t.length,u=new Array(i),p=e;for(n=0;n0;)u[n++]=r%p,r=Math.floor(r/p);return u}function b(t,r){var o,n,i=t.length,u=r.length,p=new Array(i),a=0,s=e;for(o=0;o0;)u[n++]=a%p,a=Math.floor(a/p);return u}function q(t,e){for(var r=[];e-- >0;)r.push(0);return r.concat(t)}function M(t,e){var r=Math.max(t.length,e.length);if(r<=30)return S(t,e);r=Math.ceil(r/2);var o=t.slice(r),n=t.slice(0,r),i=e.slice(r),u=e.slice(0,r),p=M(n,u),a=M(o,i),s=M(m(n,o),m(u,i)),l=m(m(p,q(b(b(s,p),a),r)),q(a,2*r));return h(l),l}function N(t,r,o){return new p(t=0;--r)n=(i=1e7*n+t[r])-(o=g(i/e))*e,p[r]=0|o;return[p,0|n]}function B(t,r){var o,n=K(r);if(i)return[new s(t.value/n.value),new s(t.value%n.value)];var l,c=t.value,m=n.value;if(0===m)throw new Error("Cannot divide by zero");if(t.isSmall)return n.isSmall?[new a(g(c/m)),new a(c%m)]:[u[0],t];if(n.isSmall){if(1===m)return[t,u[0]];if(-1==m)return[t.negate(),u[0]];var d=Math.abs(m);if(d=0;n--){for(o=h-1,d[n+f]!==c&&(o=Math.floor((d[n+f]*h+d[n+f-1])/c)),i=0,u=0,a=b.length,p=0;ps&&(i=(i+1)*y),o=Math.ceil(i/u);do{if(A(p=I(r,o),f)<=0)break;o--}while(o);l.push(o),f=b(f,p)}return l.reverse(),[v(l),v(f)]}(c,m),l=o[0];var q=t.sign!==n.sign,M=o[1],N=t.sign;return"number"==typeof l?(q&&(l=-l),l=new a(l)):l=new p(l,q),"number"==typeof M?(N&&(M=-M),M=new a(M)):M=new p(M,N),[l,M]}function A(t,e){if(t.length!==e.length)return t.length>e.length?1:-1;for(var r=t.length-1;r>=0;r--)if(t[r]!==e[r])return t[r]>e[r]?1:-1;return 0}function P(t){var e=t.abs();return!e.isUnit()&&(!!(e.equals(2)||e.equals(3)||e.equals(5))||!(e.isEven()||e.isDivisibleBy(3)||e.isDivisibleBy(5))&&(!!e.lesser(49)||void 0))}function Z(t,e){for(var r,o,n,i=t.prev(),u=i,p=0;u.isEven();)u=u.divide(2),p++;t:for(o=0;o=0?o=b(t,e):(o=b(e,t),r=!r),"number"==typeof(o=v(o))?(r&&(o=-o),new a(o)):new p(o,r)}(r,o,this.sign)},p.prototype.minus=p.prototype.subtract,a.prototype.subtract=function(t){var e=K(t),r=this.value;if(r<0!==e.sign)return this.add(e.negate());var o=e.value;return e.isSmall?new a(r-o):w(o,Math.abs(r),r>=0)},a.prototype.minus=a.prototype.subtract,s.prototype.subtract=function(t){return new s(this.value-K(t).value)},s.prototype.minus=s.prototype.subtract,p.prototype.negate=function(){return new p(this.value,!this.sign)},a.prototype.negate=function(){var t=this.sign,e=new a(-this.value);return e.sign=!t,e},s.prototype.negate=function(){return new s(-this.value)},p.prototype.abs=function(){return new p(this.value,!1)},a.prototype.abs=function(){return new a(Math.abs(this.value))},s.prototype.abs=function(){return new s(this.value>=0?this.value:-this.value)},p.prototype.multiply=function(t){var r,o,n,i=K(t),a=this.value,s=i.value,l=this.sign!==i.sign;if(i.isSmall){if(0===s)return u[0];if(1===s)return this;if(-1===s)return this.negate();if((r=Math.abs(s))0?M(a,s):S(a,s),l)},p.prototype.times=p.prototype.multiply,a.prototype._multiplyBySmall=function(t){return l(t.value*this.value)?new a(t.value*this.value):N(Math.abs(t.value),f(Math.abs(this.value)),this.sign!==t.sign)},p.prototype._multiplyBySmall=function(t){return 0===t.value?u[0]:1===t.value?this:-1===t.value?this.negate():N(Math.abs(t.value),this.value,this.sign!==t.sign)},a.prototype.multiply=function(t){return K(t)._multiplyBySmall(this)},a.prototype.times=a.prototype.multiply,s.prototype.multiply=function(t){return new s(this.value*K(t).value)},s.prototype.times=s.prototype.multiply,p.prototype.square=function(){return new p(E(this.value),!1)},a.prototype.square=function(){var t=this.value*this.value;return l(t)?new a(t):new p(E(f(Math.abs(this.value))),!1)},s.prototype.square=function(t){return new s(this.value*this.value)},p.prototype.divmod=function(t){var e=B(this,t);return{quotient:e[0],remainder:e[1]}},s.prototype.divmod=a.prototype.divmod=p.prototype.divmod,p.prototype.divide=function(t){return B(this,t)[0]},s.prototype.over=s.prototype.divide=function(t){return new s(this.value/K(t).value)},a.prototype.over=a.prototype.divide=p.prototype.over=p.prototype.divide,p.prototype.mod=function(t){return B(this,t)[1]},s.prototype.mod=s.prototype.remainder=function(t){return new s(this.value%K(t).value)},a.prototype.remainder=a.prototype.mod=p.prototype.remainder=p.prototype.mod,p.prototype.pow=function(t){var e,r,o,n=K(t),i=this.value,p=n.value;if(0===p)return u[1];if(0===i)return u[0];if(1===i)return u[1];if(-1===i)return n.isEven()?u[1]:u[-1];if(n.sign)return u[0];if(!n.isSmall)throw new Error("The exponent "+n.toString()+" is too large.");if(this.isSmall&&l(e=Math.pow(i,p)))return new a(g(e));for(r=this,o=u[1];!0&p&&(o=o.times(r),--p),0!==p;)p/=2,r=r.square();return o},a.prototype.pow=p.prototype.pow,s.prototype.pow=function(t){var e=K(t),r=this.value,o=e.value,n=BigInt(0),i=BigInt(1),p=BigInt(2);if(o===n)return u[1];if(r===n)return u[0];if(r===i)return u[1];if(r===BigInt(-1))return e.isEven()?u[1]:u[-1];if(e.isNegative())return new s(n);for(var a=this,l=u[1];(o&i)===i&&(l=l.times(a),--o),o!==n;)o/=p,a=a.square();return l},p.prototype.modPow=function(t,e){if(t=K(t),(e=K(e)).isZero())throw new Error("Cannot take modPow with modulus 0");var r=u[1],o=this.mod(e);for(t.isNegative()&&(t=t.multiply(u[-1]),o=o.modInv(e));t.isPositive();){if(o.isZero())return u[0];t.isOdd()&&(r=r.multiply(o).mod(e)),t=t.divide(2),o=o.square().mod(e)}return r},s.prototype.modPow=a.prototype.modPow=p.prototype.modPow,p.prototype.compareAbs=function(t){var e=K(t),r=this.value,o=e.value;return e.isSmall?1:A(r,o)},a.prototype.compareAbs=function(t){var e=K(t),r=Math.abs(this.value),o=e.value;return e.isSmall?r===(o=Math.abs(o))?0:r>o?1:-1:-1},s.prototype.compareAbs=function(t){var e=this.value,r=K(t).value;return(e=e>=0?e:-e)===(r=r>=0?r:-r)?0:e>r?1:-1},p.prototype.compare=function(t){if(t===1/0)return-1;if(t===-1/0)return 1;var e=K(t),r=this.value,o=e.value;return this.sign!==e.sign?e.sign?1:-1:e.isSmall?this.sign?-1:1:A(r,o)*(this.sign?-1:1)},p.prototype.compareTo=p.prototype.compare,a.prototype.compare=function(t){if(t===1/0)return-1;if(t===-1/0)return 1;var e=K(t),r=this.value,o=e.value;return e.isSmall?r==o?0:r>o?1:-1:r<0!==e.sign?r<0?-1:1:r<0?1:-1},a.prototype.compareTo=a.prototype.compare,s.prototype.compare=function(t){if(t===1/0)return-1;if(t===-1/0)return 1;var e=this.value,r=K(t).value;return e===r?0:e>r?1:-1},s.prototype.compareTo=s.prototype.compare,p.prototype.equals=function(t){return 0===this.compare(t)},s.prototype.eq=s.prototype.equals=a.prototype.eq=a.prototype.equals=p.prototype.eq=p.prototype.equals,p.prototype.notEquals=function(t){return 0!==this.compare(t)},s.prototype.neq=s.prototype.notEquals=a.prototype.neq=a.prototype.notEquals=p.prototype.neq=p.prototype.notEquals,p.prototype.greater=function(t){return this.compare(t)>0},s.prototype.gt=s.prototype.greater=a.prototype.gt=a.prototype.greater=p.prototype.gt=p.prototype.greater,p.prototype.lesser=function(t){return this.compare(t)<0},s.prototype.lt=s.prototype.lesser=a.prototype.lt=a.prototype.lesser=p.prototype.lt=p.prototype.lesser,p.prototype.greaterOrEquals=function(t){return this.compare(t)>=0},s.prototype.geq=s.prototype.greaterOrEquals=a.prototype.geq=a.prototype.greaterOrEquals=p.prototype.geq=p.prototype.greaterOrEquals,p.prototype.lesserOrEquals=function(t){return this.compare(t)<=0},s.prototype.leq=s.prototype.lesserOrEquals=a.prototype.leq=a.prototype.lesserOrEquals=p.prototype.leq=p.prototype.lesserOrEquals,p.prototype.isEven=function(){return 0==(1&this.value[0])},a.prototype.isEven=function(){return 0==(1&this.value)},s.prototype.isEven=function(){return(this.value&BigInt(1))===BigInt(0)},p.prototype.isOdd=function(){return 1==(1&this.value[0])},a.prototype.isOdd=function(){return 1==(1&this.value)},s.prototype.isOdd=function(){return(this.value&BigInt(1))===BigInt(1)},p.prototype.isPositive=function(){return!this.sign},a.prototype.isPositive=function(){return this.value>0},s.prototype.isPositive=a.prototype.isPositive,p.prototype.isNegative=function(){return this.sign},a.prototype.isNegative=function(){return this.value<0},s.prototype.isNegative=a.prototype.isNegative,p.prototype.isUnit=function(){return!1},a.prototype.isUnit=function(){return 1===Math.abs(this.value)},s.prototype.isUnit=function(){return this.abs().value===BigInt(1)},p.prototype.isZero=function(){return!1},a.prototype.isZero=function(){return 0===this.value},s.prototype.isZero=function(){return this.value===BigInt(0)},p.prototype.isDivisibleBy=function(t){var e=K(t);return!e.isZero()&&(!!e.isUnit()||(0===e.compareAbs(2)?this.isEven():this.mod(e).isZero()))},s.prototype.isDivisibleBy=a.prototype.isDivisibleBy=p.prototype.isDivisibleBy,p.prototype.isPrime=function(e){var r=P(this);if(r!==t)return r;var o=this.abs(),n=o.bitLength();if(n<=64)return Z(o,[2,3,5,7,11,13,17,19,23,29,31,37]);for(var i=Math.log(2)*n.toJSNumber(),u=Math.ceil(!0===e?2*Math.pow(i,2):i),p=[],a=0;a-r?new a(t-1):new p(o,!0)},s.prototype.prev=function(){return new s(this.value-BigInt(1))};for(var x=[1];2*x[x.length-1]<=e;)x.push(2*x[x.length-1]);var J=x.length,L=x[J-1];function U(t){return Math.abs(t)<=e}function T(t,e,r){e=K(e);for(var o=t.isNegative(),n=e.isNegative(),i=o?t.not():t,u=n?e.not():e,p=0,a=0,s=null,l=null,f=[];!i.isZero()||!u.isZero();)p=(s=B(i,L))[1].toJSNumber(),o&&(p=L-1-p),a=(l=B(u,L))[1].toJSNumber(),n&&(a=L-1-a),i=s[0],u=l[0],f.push(r(p,a));for(var v=0!==r(o?1:0,n?1:0)?bigInt(-1):bigInt(0),h=f.length-1;h>=0;h-=1)v=v.multiply(L).add(bigInt(f[h]));return v}p.prototype.shiftLeft=function(t){var e=K(t).toJSNumber();if(!U(e))throw new Error(String(e)+" is too large for shifting.");if(e<0)return this.shiftRight(-e);var r=this;if(r.isZero())return r;for(;e>=J;)r=r.multiply(L),e-=J-1;return r.multiply(x[e])},s.prototype.shiftLeft=a.prototype.shiftLeft=p.prototype.shiftLeft,p.prototype.shiftRight=function(t){var e,r=K(t).toJSNumber();if(!U(r))throw new Error(String(r)+" is too large for shifting.");if(r<0)return this.shiftLeft(-r);for(var o=this;r>=J;){if(o.isZero()||o.isNegative()&&o.isUnit())return o;o=(e=B(o,L))[1].isNegative()?e[0].prev():e[0],r-=J-1}return(e=B(o,x[r]))[1].isNegative()?e[0].prev():e[0]},s.prototype.shiftRight=a.prototype.shiftRight=p.prototype.shiftRight,p.prototype.not=function(){return this.negate().prev()},s.prototype.not=a.prototype.not=p.prototype.not,p.prototype.and=function(t){return T(this,t,(function(t,e){return t&e}))},s.prototype.and=a.prototype.and=p.prototype.and,p.prototype.or=function(t){return T(this,t,(function(t,e){return t|e}))},s.prototype.or=a.prototype.or=p.prototype.or,p.prototype.xor=function(t){return T(this,t,(function(t,e){return t^e}))},s.prototype.xor=a.prototype.xor=p.prototype.xor;var j=1<<30;function C(t){var r=t.value,o="number"==typeof r?r|j:"bigint"==typeof r?r|BigInt(j):r[0]+r[1]*e|1073758208;return o&-o}function D(t,e){if(e.compareTo(t)<=0){var r=D(t,e.square(e)),o=r.p,n=r.e,i=o.multiply(e);return i.compareTo(t)<=0?{p:i,e:2*n+1}:{p:o,e:2*n}}return{p:bigInt(1),e:0}}function z(t,e){return t=K(t),e=K(e),t.greater(e)?t:e}function R(t,e){return t=K(t),e=K(e),t.lesser(e)?t:e}function k(t,e){if(t=K(t).abs(),e=K(e).abs(),t.equals(e))return t;if(t.isZero())return e;if(e.isZero())return t;for(var r,o,n=u[1];t.isEven()&&e.isEven();)r=R(C(t),C(e)),t=t.divide(r),e=e.divide(r),n=n.multiply(r);for(;t.isEven();)t=t.divide(C(t));do{for(;e.isEven();)e=e.divide(C(e));t.greater(e)&&(o=e,e=t,t=o),e=e.subtract(t)}while(!e.isZero());return n.isUnit()?t:t.multiply(n)}p.prototype.bitLength=function(){var t=this;return t.compareTo(bigInt(0))<0&&(t=t.negate().subtract(bigInt(1))),0===t.compareTo(bigInt(0))?bigInt(0):bigInt(D(t,bigInt(2)).e).add(bigInt(1))},s.prototype.bitLength=a.prototype.bitLength=p.prototype.bitLength;var _=function(t,e,r,o){r=r||n,t=String(t),o||(t=t.toLowerCase(),r=r.toLowerCase());var i,u=t.length,p=Math.abs(e),a={};for(i=0;i=p)){if("1"===f&&1===p)continue;throw new Error(f+" is not a valid digit in base "+e+".")}}e=K(e);var s=[],l="-"===t[0];for(i=l?1:0;i"!==t[i]&&i=0;o--)n=n.add(t[o].times(i)),i=i.times(e);return r?n.negate():n}function F(t,e){if((e=bigInt(e)).isZero()){if(t.isZero())return{value:[0],isNegative:!1};throw new Error("Cannot convert nonzero numbers to base 0.")}if(e.equals(-1)){if(t.isZero())return{value:[0],isNegative:!1};if(t.isNegative())return{value:[].concat.apply([],Array.apply(null,Array(-t.toJSNumber())).map(Array.prototype.valueOf,[1,0])),isNegative:!1};var r=Array.apply(null,Array(t.toJSNumber()-1)).map(Array.prototype.valueOf,[0,1]);return r.unshift([1]),{value:[].concat.apply([],r),isNegative:!1}}var o=!1;if(t.isNegative()&&e.isPositive()&&(o=!0,t=t.abs()),e.isUnit())return t.isZero()?{value:[0],isNegative:!1}:{value:Array.apply(null,Array(t.toJSNumber())).map(Number.prototype.valueOf,1),isNegative:o};for(var n,i=[],u=t;u.isNegative()||u.compareAbs(e)>=0;){n=u.divmod(e),u=n.quotient;var p=n.remainder;p.isNegative()&&(p=e.minus(p).abs(),u=u.next()),i.push(p.toJSNumber())}return i.push(u.toJSNumber()),{value:i.reverse(),isNegative:o}}function G(t,e,r){var o=F(t,e);return(o.isNegative?"-":"")+o.value.map((function(t){return function(t,e){return t<(e=e||n).length?e[t]:"<"+t+">"}(t,r)})).join("")}function H(t){if(l(+t)){var e=+t;if(e===g(e))return i?new s(BigInt(e)):new a(e);throw new Error("Invalid integer: "+t)}var r="-"===t[0];r&&(t=t.slice(1));var o=t.split(/e/i);if(o.length>2)throw new Error("Invalid integer: "+o.join("e"));if(2===o.length){var n=o[1];if("+"===n[0]&&(n=n.slice(1)),(n=+n)!==g(n)||!l(n))throw new Error("Invalid integer: "+n+" is not a valid exponent.");var u=o[0],f=u.indexOf(".");if(f>=0&&(n-=u.length-f-1,u=u.slice(0,f)+u.slice(f+1)),n<0)throw new Error("Cannot include negative exponent part for integers");t=u+=new Array(n+1).join("0")}if(!/^([0-9][0-9]*)$/.test(t))throw new Error("Invalid integer: "+t);if(i)return new s(BigInt(r?"-"+t:t));for(var v=[],y=t.length,c=y-7;y>0;)v.push(+t.slice(c,y)),(c-=7)<0&&(c=0),y-=7;return h(v),new p(v,r)}function K(t){return"number"==typeof t?function(t){if(i)return new s(BigInt(t));if(l(t)){if(t!==g(t))throw new Error(t+" is not an integer.");return new a(t)}return H(t.toString())}(t):"string"==typeof t?H(t):"bigint"==typeof t?new s(t):t}p.prototype.toArray=function(t){return F(this,t)},a.prototype.toArray=function(t){return F(this,t)},s.prototype.toArray=function(t){return F(this,t)},p.prototype.toString=function(e,r){if(e===t&&(e=10),10!==e)return G(this,e,r);for(var o,n=this.value,i=n.length,u=String(n[--i]);--i>=0;)o=String(n[i]),u+="0000000".slice(o.length)+o;return(this.sign?"-":"")+u},a.prototype.toString=function(e,r){return e===t&&(e=10),10!=e?G(this,e,r):String(this.value)},s.prototype.toString=a.prototype.toString,s.prototype.toJSON=p.prototype.toJSON=a.prototype.toJSON=function(){return this.toString()},p.prototype.valueOf=function(){return parseInt(this.toString(),10)},p.prototype.toJSNumber=p.prototype.valueOf,a.prototype.valueOf=function(){return this.value},a.prototype.toJSNumber=a.prototype.valueOf,s.prototype.valueOf=s.prototype.toJSNumber=function(){return parseInt(this.toString(),10)};for(var Q=0;Q<1e3;Q++)u[Q]=K(Q),Q>0&&(u[-Q]=K(-Q));return u.one=u[1],u.zero=u[0],u.minusOne=u[-1],u.max=z,u.min=R,u.gcd=k,u.lcm=function(t,e){return t=K(t).abs(),e=K(e).abs(),t.divide(k(t,e)).multiply(e)},u.isInstance=function(t){return t instanceof p||t instanceof a||t instanceof s},u.randBetween=function(t,r,o){t=K(t),r=K(r);var n=o||Math.random,i=R(t,r),p=z(t,r).subtract(i).add(1);if(p.isSmall)return i.add(Math.floor(n()*p));for(var a=F(p,e).value,s=[],l=!0,f=0;f diff --git a/node_modules/big-integer/README.md b/node_modules/big-integer/README.md deleted file mode 100644 index 42a6cd4a62..0000000000 --- a/node_modules/big-integer/README.md +++ /dev/null @@ -1,589 +0,0 @@ -# BigInteger.js [![Build Status][travis-img]][travis-url] [![Coverage Status][coveralls-img]][coveralls-url] [![Monthly Downloads][downloads-img]][downloads-url] - -[travis-url]: https://travis-ci.org/peterolson/BigInteger.js -[travis-img]: https://travis-ci.org/peterolson/BigInteger.js.svg?branch=master -[coveralls-url]: https://coveralls.io/github/peterolson/BigInteger.js?branch=master -[coveralls-img]: https://coveralls.io/repos/peterolson/BigInteger.js/badge.svg?branch=master&service=github -[downloads-url]: https://www.npmjs.com/package/big-integer -[downloads-img]: https://img.shields.io/npm/dm/big-integer.svg - -**BigInteger.js** is an arbitrary-length integer library for Javascript, allowing arithmetic operations on integers of unlimited size, notwithstanding memory and time limitations. - -**Update (December 2, 2018):** [`BigInt` is being added as a native feature of JavaScript](https://tc39.github.io/proposal-bigint/). This library now works as a polyfill: if the environment supports the native `BigInt`, this library acts as a thin wrapper over the native implementation. - -## Installation - -If you are using a browser, you can download [BigInteger.js from GitHub](http://peterolson.github.com/BigInteger.js/BigInteger.min.js) or just hotlink to it: - - - -If you are using node, you can install BigInteger with [npm](https://npmjs.org/). - - npm install big-integer - -Then you can include it in your code: - - var bigInt = require("big-integer"); - - -## Usage -### `bigInt(number, [base], [alphabet], [caseSensitive])` - -You can create a bigInt by calling the `bigInt` function. You can pass in - - - a string, which it will parse as an bigInt and throw an `"Invalid integer"` error if the parsing fails. - - a Javascript number, which it will parse as an bigInt and throw an `"Invalid integer"` error if the parsing fails. - - another bigInt. - - nothing, and it will return `bigInt.zero`. - - If you provide a second parameter, then it will parse `number` as a number in base `base`. Note that `base` can be any bigInt (even negative or zero). The letters "a-z" and "A-Z" will be interpreted as the numbers 10 to 35. Higher digits can be specified in angle brackets (`<` and `>`). The default `base` is `10`. - - You can specify a custom alphabet for base conversion with the third parameter. The default `alphabet` is `"0123456789abcdefghijklmnopqrstuvwxyz"`. - - The fourth parameter specifies whether or not the number string should be case-sensitive, i.e. whether `a` and `A` should be treated as different digits. By default `caseSensitive` is `false`. - -Examples: - - var zero = bigInt(); - var ninetyThree = bigInt(93); - var largeNumber = bigInt("75643564363473453456342378564387956906736546456235345"); - var googol = bigInt("1e100"); - var bigNumber = bigInt(largeNumber); - - var maximumByte = bigInt("FF", 16); - var fiftyFiveGoogol = bigInt("<55>0", googol); - -Note that Javascript numbers larger than `9007199254740992` and smaller than `-9007199254740992` are not precisely represented numbers and will not produce exact results. If you are dealing with numbers outside that range, it is better to pass in strings. - -### Method Chaining - -Note that bigInt operations return bigInts, which allows you to chain methods, for example: - - var salary = bigInt(dollarsPerHour).times(hoursWorked).plus(randomBonuses) - -### Constants - -There are three named constants already stored that you do not have to construct with the `bigInt` function yourself: - - - `bigInt.one`, equivalent to `bigInt(1)` - - `bigInt.zero`, equivalent to `bigInt(0)` - - `bigInt.minusOne`, equivalent to `bigInt(-1)` - -The numbers from -999 to 999 are also already prestored and can be accessed using `bigInt[index]`, for example: - - - `bigInt[-999]`, equivalent to `bigInt(-999)` - - `bigInt[256]`, equivalent to `bigInt(256)` - -### Methods - -#### `abs()` - -Returns the absolute value of a bigInt. - - - `bigInt(-45).abs()` => `45` - - `bigInt(45).abs()` => `45` - -#### `add(number)` - -Performs addition. - - - `bigInt(5).add(7)` => `12` - -[View benchmarks for this method](http://peterolson.github.io/BigInteger.js/benchmark/#Addition) - -#### `and(number)` - -Performs the bitwise AND operation. The operands are treated as if they were represented using [two's complement representation](http://en.wikipedia.org/wiki/Two%27s_complement). - - - `bigInt(6).and(3)` => `2` - - `bigInt(6).and(-3)` => `4` - -#### `bitLength()` - -Returns the number of digits required to represent a bigInt in binary. - - - `bigInt(5)` => `3` (since 5 is `101` in binary, which is three digits long) - -#### `compare(number)` - -Performs a comparison between two numbers. If the numbers are equal, it returns `0`. If the first number is greater, it returns `1`. If the first number is lesser, it returns `-1`. - - - `bigInt(5).compare(5)` => `0` - - `bigInt(5).compare(4)` => `1` - - `bigInt(4).compare(5)` => `-1` - -#### `compareAbs(number)` - -Performs a comparison between the absolute value of two numbers. - - - `bigInt(5).compareAbs(-5)` => `0` - - `bigInt(5).compareAbs(4)` => `1` - - `bigInt(4).compareAbs(-5)` => `-1` - -#### `compareTo(number)` - -Alias for the `compare` method. - -#### `divide(number)` - -Performs integer division, disregarding the remainder. - - - `bigInt(59).divide(5)` => `11` - -[View benchmarks for this method](http://peterolson.github.io/BigInteger.js/benchmark/#Division) - -#### `divmod(number)` - -Performs division and returns an object with two properties: `quotient` and `remainder`. The sign of the remainder will match the sign of the dividend. - - - `bigInt(59).divmod(5)` => `{quotient: bigInt(11), remainder: bigInt(4) }` - - `bigInt(-5).divmod(2)` => `{quotient: bigInt(-2), remainder: bigInt(-1) }` - -[View benchmarks for this method](http://peterolson.github.io/BigInteger.js/benchmark/#Division) - -#### `eq(number)` - -Alias for the `equals` method. - -#### `equals(number)` - -Checks if two numbers are equal. - - - `bigInt(5).equals(5)` => `true` - - `bigInt(4).equals(7)` => `false` - -#### `geq(number)` - -Alias for the `greaterOrEquals` method. - - -#### `greater(number)` - -Checks if the first number is greater than the second. - - - `bigInt(5).greater(6)` => `false` - - `bigInt(5).greater(5)` => `false` - - `bigInt(5).greater(4)` => `true` - -#### `greaterOrEquals(number)` - -Checks if the first number is greater than or equal to the second. - - - `bigInt(5).greaterOrEquals(6)` => `false` - - `bigInt(5).greaterOrEquals(5)` => `true` - - `bigInt(5).greaterOrEquals(4)` => `true` - -#### `gt(number)` - -Alias for the `greater` method. - -#### `isDivisibleBy(number)` - -Returns `true` if the first number is divisible by the second number, `false` otherwise. - - - `bigInt(999).isDivisibleBy(333)` => `true` - - `bigInt(99).isDivisibleBy(5)` => `false` - -#### `isEven()` - -Returns `true` if the number is even, `false` otherwise. - - - `bigInt(6).isEven()` => `true` - - `bigInt(3).isEven()` => `false` - -#### `isNegative()` - -Returns `true` if the number is negative, `false` otherwise. -Returns `false` for `0` and `-0`. - - - `bigInt(-23).isNegative()` => `true` - - `bigInt(50).isNegative()` => `false` - -#### `isOdd()` - -Returns `true` if the number is odd, `false` otherwise. - - - `bigInt(13).isOdd()` => `true` - - `bigInt(40).isOdd()` => `false` - -#### `isPositive()` - -Return `true` if the number is positive, `false` otherwise. -Returns `false` for `0` and `-0`. - - - `bigInt(54).isPositive()` => `true` - - `bigInt(-1).isPositive()` => `false` - -#### `isPrime(strict?)` - -Returns `true` if the number is prime, `false` otherwise. -Set "strict" boolean to true to force GRH-supported lower bound of 2*log(N)^2. - - - `bigInt(5).isPrime()` => `true` - - `bigInt(6).isPrime()` => `false` - -#### `isProbablePrime([iterations], [rng])` - -Returns `true` if the number is very likely to be prime, `false` otherwise. -Supplying `iterations` is optional - it determines the number of iterations of the test (default: `5`). The more iterations, the lower chance of getting a false positive. -This uses the [Miller Rabin test](https://en.wikipedia.org/wiki/Miller%E2%80%93Rabin_primality_test). - - - `bigInt(5).isProbablePrime()` => `true` - - `bigInt(49).isProbablePrime()` => `false` - - `bigInt(1729).isProbablePrime()` => `false` - -Note that this function is not deterministic, since it relies on random sampling of factors, so the result for some numbers is not always the same - unless you pass a predictable random number generator as `rng`. The behavior and requirements are the same as with `randBetween`. - - - `bigInt(1729).isProbablePrime(1, () => 0.1)` => `false` - - `bigInt(1729).isProbablePrime(1, () => 0.2)` => `true` - -If the number is composite then the Miller–Rabin primality test declares the number probably prime with a probability at most `4` to the power `−iterations`. -If the number is prime, this function always returns `true`. - -#### `isUnit()` - -Returns `true` if the number is `1` or `-1`, `false` otherwise. - - - `bigInt.one.isUnit()` => `true` - - `bigInt.minusOne.isUnit()` => `true` - - `bigInt(5).isUnit()` => `false` - -#### `isZero()` - -Return `true` if the number is `0` or `-0`, `false` otherwise. - - - `bigInt.zero.isZero()` => `true` - - `bigInt("-0").isZero()` => `true` - - `bigInt(50).isZero()` => `false` - -#### `leq(number)` - -Alias for the `lesserOrEquals` method. - -#### `lesser(number)` - -Checks if the first number is lesser than the second. - - - `bigInt(5).lesser(6)` => `true` - - `bigInt(5).lesser(5)` => `false` - - `bigInt(5).lesser(4)` => `false` - -#### `lesserOrEquals(number)` - -Checks if the first number is less than or equal to the second. - - - `bigInt(5).lesserOrEquals(6)` => `true` - - `bigInt(5).lesserOrEquals(5)` => `true` - - `bigInt(5).lesserOrEquals(4)` => `false` - -#### `lt(number)` - -Alias for the `lesser` method. - -#### `minus(number)` - -Alias for the `subtract` method. - - - `bigInt(3).minus(5)` => `-2` - -[View benchmarks for this method](http://peterolson.github.io/BigInteger.js/benchmark/#Subtraction) - -#### `mod(number)` - -Performs division and returns the remainder, disregarding the quotient. The sign of the remainder will match the sign of the dividend. - - - `bigInt(59).mod(5)` => `4` - - `bigInt(-5).mod(2)` => `-1` - -[View benchmarks for this method](http://peterolson.github.io/BigInteger.js/benchmark/#Division) - -#### `modInv(mod)` - -Finds the [multiplicative inverse](https://en.wikipedia.org/wiki/Modular_multiplicative_inverse) of the number modulo `mod`. - - - `bigInt(3).modInv(11)` => `4` - - `bigInt(42).modInv(2017)` => `1969` - -#### `modPow(exp, mod)` - -Takes the number to the power `exp` modulo `mod`. - - - `bigInt(10).modPow(3, 30)` => `10` - -#### `multiply(number)` - -Performs multiplication. - - - `bigInt(111).multiply(111)` => `12321` - -[View benchmarks for this method](http://peterolson.github.io/BigInteger.js/benchmark/#Multiplication) - -#### `neq(number)` - -Alias for the `notEquals` method. - -#### `next()` - -Adds one to the number. - - - `bigInt(6).next()` => `7` - -#### `not()` - -Performs the bitwise NOT operation. The operands are treated as if they were represented using [two's complement representation](http://en.wikipedia.org/wiki/Two%27s_complement). - - - `bigInt(10).not()` => `-11` - - `bigInt(0).not()` => `-1` - -#### `notEquals(number)` - -Checks if two numbers are not equal. - - - `bigInt(5).notEquals(5)` => `false` - - `bigInt(4).notEquals(7)` => `true` - -#### `or(number)` - -Performs the bitwise OR operation. The operands are treated as if they were represented using [two's complement representation](http://en.wikipedia.org/wiki/Two%27s_complement). - - - `bigInt(13).or(10)` => `15` - - `bigInt(13).or(-8)` => `-3` - -#### `over(number)` - -Alias for the `divide` method. - - - `bigInt(59).over(5)` => `11` - -[View benchmarks for this method](http://peterolson.github.io/BigInteger.js/benchmark/#Division) - -#### `plus(number)` - -Alias for the `add` method. - - - `bigInt(5).plus(7)` => `12` - -[View benchmarks for this method](http://peterolson.github.io/BigInteger.js/benchmark/#Addition) - -#### `pow(number)` - -Performs exponentiation. If the exponent is less than `0`, `pow` returns `0`. `bigInt.zero.pow(0)` returns `1`. - - - `bigInt(16).pow(16)` => `18446744073709551616` - -[View benchmarks for this method](http://peterolson.github.io/BigInteger.js/benchmark/#Exponentiation) - -#### `prev(number)` - -Subtracts one from the number. - - - `bigInt(6).prev()` => `5` - -#### `remainder(number)` - -Alias for the `mod` method. - -[View benchmarks for this method](http://peterolson.github.io/BigInteger.js/benchmark/#Division) - -#### `shiftLeft(n)` - -Shifts the number left by `n` places in its binary representation. If a negative number is provided, it will shift right. Throws an error if `n` is outside of the range `[-9007199254740992, 9007199254740992]`. - - - `bigInt(8).shiftLeft(2)` => `32` - - `bigInt(8).shiftLeft(-2)` => `2` - -#### `shiftRight(n)` - -Shifts the number right by `n` places in its binary representation. If a negative number is provided, it will shift left. Throws an error if `n` is outside of the range `[-9007199254740992, 9007199254740992]`. - - - `bigInt(8).shiftRight(2)` => `2` - - `bigInt(8).shiftRight(-2)` => `32` - -#### `square()` - -Squares the number - - - `bigInt(3).square()` => `9` - -[View benchmarks for this method](http://peterolson.github.io/BigInteger.js/benchmark/#Squaring) - -#### `subtract(number)` - -Performs subtraction. - - - `bigInt(3).subtract(5)` => `-2` - -[View benchmarks for this method](http://peterolson.github.io/BigInteger.js/benchmark/#Subtraction) - -#### `times(number)` - -Alias for the `multiply` method. - - - `bigInt(111).times(111)` => `12321` - -[View benchmarks for this method](http://peterolson.github.io/BigInteger.js/benchmark/#Multiplication) - -#### `toArray(radix)` - -Converts a bigInt into an object with the properties "value" and "isNegative." "Value" is an array of integers modulo the given radix. "isNegative" is a boolean that represents the sign of the result. - - - `bigInt("1e9").toArray(10)` => { - value: [1, 0, 0, 0, 0, 0, 0, 0, 0, 0], - isNegative: false - } - - `bigInt("1e9").toArray(16)` => { - value: [3, 11, 9, 10, 12, 10, 0, 0], - isNegative: false - } - - `bigInt(567890).toArray(100)` => { - value: [56, 78, 90], - isNegative: false - } - -Negative bases are supported. - - - `bigInt(12345).toArray(-10)` => { - value: [2, 8, 4, 6, 5], - isNegative: false - } - -Base 1 and base -1 are also supported. - - - `bigInt(-15).toArray(1)` => { - value: [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], - isNegative: true - } - - `bigInt(-15).toArray(-1)` => { - value: [1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, - 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0], - isNegative: false - } - -Base 0 is only allowed for the number zero. - - - `bigInt(0).toArray(0)` => { - value: [0], - isNegative: false - } - - `bigInt(1).toArray(0)` => `Error: Cannot convert nonzero numbers to base 0.` - -#### `toJSNumber()` - -Converts a bigInt into a native Javascript number. Loses precision for numbers outside the range `[-9007199254740992, 9007199254740992]`. - - - `bigInt("18446744073709551616").toJSNumber()` => `18446744073709552000` - -#### `xor(number)` - -Performs the bitwise XOR operation. The operands are treated as if they were represented using [two's complement representation](http://en.wikipedia.org/wiki/Two%27s_complement). - - - `bigInt(12).xor(5)` => `9` - - `bigInt(12).xor(-5)` => `-9` - -### Static Methods - -#### `fromArray(digits, base = 10, isNegative?)` - -Constructs a bigInt from an array of digits in base `base`. The optional `isNegative` flag will make the number negative. - - - `bigInt.fromArray([1, 2, 3, 4, 5], 10)` => `12345` - - `bigInt.fromArray([1, 0, 0], 2, true)` => `-4` - -#### `gcd(a, b)` - -Finds the greatest common denominator of `a` and `b`. - - - `bigInt.gcd(42,56)` => `14` - -#### `isInstance(x)` - -Returns `true` if `x` is a BigInteger, `false` otherwise. - - - `bigInt.isInstance(bigInt(14))` => `true` - - `bigInt.isInstance(14)` => `false` - -#### `lcm(a,b)` - -Finds the least common multiple of `a` and `b`. - - - `bigInt.lcm(21, 6)` => `42` - -#### `max(a,b)` - -Returns the largest of `a` and `b`. - - - `bigInt.max(77, 432)` => `432` - -#### `min(a,b)` - -Returns the smallest of `a` and `b`. - - - `bigInt.min(77, 432)` => `77` - -#### `randBetween(min, max, [rng])` - -Returns a random number between `min` and `max`, optionally using `rng` to generate randomness. - - - `bigInt.randBetween("-1e100", "1e100")` => (for example) `8494907165436643479673097939554427056789510374838494147955756275846226209006506706784609314471378745` - -`rng` should take no arguments and return a `number` between 0 and 1. It defaults to `Math.random`. - - - `bigInt.randBetween("-1e100", "1e100", () => 0.5)` => (always) `50000005000000500000050000005000000500000050000005000000500000050000005000000500000050000005000000` - - -### Override Methods - -#### `toString(radix = 10, [alphabet])` - -Converts a bigInt to a string. There is an optional radix parameter (which defaults to 10) that converts the number to the given radix. Digits in the range `10-35` will use the letters `a-z`. - - - `bigInt("1e9").toString()` => `"1000000000"` - - `bigInt("1e9").toString(16)` => `"3b9aca00"` - - You can use a custom base alphabet with the second parameter. The default `alphabet` is `"0123456789abcdefghijklmnopqrstuvwxyz"`. - - - `bigInt("5").toString(2, "aA")` => `"AaA"` - -**Note that arithmetical operators will trigger the `valueOf` function rather than the `toString` function.** When converting a bigInteger to a string, you should use the `toString` method or the `String` function instead of adding the empty string. - - - `bigInt("999999999999999999").toString()` => `"999999999999999999"` - - `String(bigInt("999999999999999999"))` => `"999999999999999999"` - - `bigInt("999999999999999999") + ""` => `1000000000000000000` - -Bases larger than 36 are supported. If a digit is greater than or equal to 36, it will be enclosed in angle brackets. - - - `bigInt(567890).toString(100)` => `"<56><78><90>"` - -Negative bases are also supported. - - - `bigInt(12345).toString(-10)` => `"28465"` - -Base 1 and base -1 are also supported. - - - `bigInt(-15).toString(1)` => `"-111111111111111"` - - `bigInt(-15).toString(-1)` => `"101010101010101010101010101010"` - -Base 0 is only allowed for the number zero. - - - `bigInt(0).toString(0)` => `0` - - `bigInt(1).toString(0)` => `Error: Cannot convert nonzero numbers to base 0.` - -[View benchmarks for this method](http://peterolson.github.io/BigInteger.js/benchmark/#toString) - -#### `valueOf()` - -Converts a bigInt to a native Javascript number. This override allows you to use native arithmetic operators without explicit conversion: - - - `bigInt("100") + bigInt("200") === 300; //true` - -## Contributors - -To contribute, just fork the project, make some changes, and submit a pull request. Please verify that the unit tests pass before submitting. - -The unit tests are contained in the `spec/spec.js` file. You can run them locally by opening the `spec/SpecRunner.html` or file or running `npm test`. You can also [run the tests online from GitHub](http://peterolson.github.io/BigInteger.js/spec/SpecRunner.html). - -There are performance benchmarks that can be viewed from the `benchmarks/index.html` page. You can [run them online from GitHub](http://peterolson.github.io/BigInteger.js/benchmark/). - -## License - -This project is public domain. For more details, read about the [Unlicense](http://unlicense.org/). diff --git a/node_modules/big-integer/bower.json b/node_modules/big-integer/bower.json deleted file mode 100644 index c7446058ae..0000000000 --- a/node_modules/big-integer/bower.json +++ /dev/null @@ -1,29 +0,0 @@ -{ - "name": "big-integer", - "description": "An arbitrary length integer library for Javascript", - "main": "./BigInteger.js", - "authors": [ - "Peter Olson" - ], - "license": "Unlicense", - "keywords": [ - "math", - "big", - "bignum", - "bigint", - "biginteger", - "integer", - "arbitrary", - "precision", - "arithmetic" - ], - "homepage": "https://github.com/peterolson/BigInteger.js", - "ignore": [ - "**/.*", - "node_modules", - "bower_components", - "test", - "coverage", - "tests" - ] -} diff --git a/node_modules/big-integer/package.json b/node_modules/big-integer/package.json deleted file mode 100644 index a6eb20110a..0000000000 --- a/node_modules/big-integer/package.json +++ /dev/null @@ -1,48 +0,0 @@ -{ - "name": "big-integer", - "version": "1.6.51", - "author": "Peter Olson ", - "description": "An arbitrary length integer library for Javascript", - "contributors": [], - "bin": {}, - "scripts": { - "test": "tsc && karma start my.conf.js && node spec/tsDefinitions.js", - "minify": "uglifyjs BigInteger.js -o BigInteger.min.js" - }, - "main": "./BigInteger", - "repository": { - "type": "git", - "url": "git@github.com:peterolson/BigInteger.js.git" - }, - "keywords": [ - "math", - "big", - "bignum", - "bigint", - "biginteger", - "integer", - "arbitrary", - "precision", - "arithmetic" - ], - "devDependencies": { - "@types/lodash": "^4.14.175", - "@types/node": "^7.10.2", - "coveralls": "^3.0.6", - "jasmine": "3.5.0", - "jasmine-core": "^3.5.0", - "karma": "^6.3.4", - "karma-cli": "^2.0.0", - "karma-coverage": "^2.0.3", - "karma-jasmine": "^4.0.1", - "karma-phantomjs-launcher": "^1.0.4", - "lodash": "^4.17.21", - "typescript": "^3.6.3", - "uglifyjs": "^2.4.10" - }, - "license": "Unlicense", - "engines": { - "node": ">=0.6" - }, - "typings": "./BigInteger.d.ts" -} diff --git a/node_modules/big-integer/tsconfig.json b/node_modules/big-integer/tsconfig.json deleted file mode 100644 index 8efb23c578..0000000000 --- a/node_modules/big-integer/tsconfig.json +++ /dev/null @@ -1,26 +0,0 @@ -{ - "compilerOptions": { - "target": "esnext", - "module": "commonjs", - "lib": [ - "es6" - ], - "noImplicitAny": true, - "noImplicitThis": true, - "strictNullChecks": false, - "baseUrl": "./", - "moduleResolution": "node", - "allowJs": true, - "typeRoots": [ - "./" - ], - "types": [ - "node" - ], - "forceConsistentCasingInFileNames": true - }, - "files": [ - "BigInteger.d.ts", - "spec/tsDefinitions.ts" - ] -} diff --git a/node_modules/bplist-parser/README.md b/node_modules/bplist-parser/README.md deleted file mode 100644 index eb5406420e..0000000000 --- a/node_modules/bplist-parser/README.md +++ /dev/null @@ -1,48 +0,0 @@ -# bplist-parser - -Binary Mac OS X Plist (property list) parser. - -## Installation - -```bash -$ npm install bplist-parser -``` - -## Quick Examples - -```javascript -const bplist = require('bplist-parser'); - -(async () => { - - const obj = await bplist.parseFile('myPlist.bplist'); - - console.log(JSON.stringify(obj)); - -})(); -``` - -## License - -(The MIT License) - -Copyright (c) 2012 Near Infinity Corporation - -Permission is hereby granted, free of charge, to any person obtaining -a copy of this software and associated documentation files (the -"Software"), to deal in the Software without restriction, including -without limitation the rights to use, copy, modify, merge, publish, -distribute, sublicense, and/or sell copies of the Software, and to -permit persons to whom the Software is furnished to do so, subject to -the following conditions: - -The above copyright notice and this permission notice shall be -included in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, -EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND -NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE -LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION -OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION -WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/node_modules/bplist-parser/bplistParser.js b/node_modules/bplist-parser/bplistParser.js deleted file mode 100644 index 410afdeb0f..0000000000 --- a/node_modules/bplist-parser/bplistParser.js +++ /dev/null @@ -1,363 +0,0 @@ -'use strict'; - -// adapted from http://code.google.com/p/plist/source/browse/trunk/src/com/dd/plist/BinaryPropertyListParser.java - -const fs = require('fs'); -const bigInt = require("big-integer"); -const debug = false; - -exports.maxObjectSize = 100 * 1000 * 1000; // 100Meg -exports.maxObjectCount = 32768; - -// EPOCH = new SimpleDateFormat("yyyy MM dd zzz").parse("2001 01 01 GMT").getTime(); -// ...but that's annoying in a static initializer because it can throw exceptions, ick. -// So we just hardcode the correct value. -const EPOCH = 978307200000; - -// UID object definition -const UID = exports.UID = function(id) { - this.UID = id; -}; - -const parseFile = exports.parseFile = function (fileNameOrBuffer, callback) { - return new Promise(function (resolve, reject) { - function tryParseBuffer(buffer) { - let err = null; - let result; - try { - result = parseBuffer(buffer); - resolve(result); - } catch (ex) { - err = ex; - reject(err); - } finally { - if (callback) callback(err, result); - } - } - - if (Buffer.isBuffer(fileNameOrBuffer)) { - return tryParseBuffer(fileNameOrBuffer); - } - fs.readFile(fileNameOrBuffer, function (err, data) { - if (err) { - reject(err); - return callback(err); - } - tryParseBuffer(data); - }); - }); -}; - -const parseBuffer = exports.parseBuffer = function (buffer) { - // check header - const header = buffer.slice(0, 'bplist'.length).toString('utf8'); - if (header !== 'bplist') { - throw new Error("Invalid binary plist. Expected 'bplist' at offset 0."); - } - - // Handle trailer, last 32 bytes of the file - const trailer = buffer.slice(buffer.length - 32, buffer.length); - // 6 null bytes (index 0 to 5) - const offsetSize = trailer.readUInt8(6); - if (debug) { - console.log("offsetSize: " + offsetSize); - } - const objectRefSize = trailer.readUInt8(7); - if (debug) { - console.log("objectRefSize: " + objectRefSize); - } - const numObjects = readUInt64BE(trailer, 8); - if (debug) { - console.log("numObjects: " + numObjects); - } - const topObject = readUInt64BE(trailer, 16); - if (debug) { - console.log("topObject: " + topObject); - } - const offsetTableOffset = readUInt64BE(trailer, 24); - if (debug) { - console.log("offsetTableOffset: " + offsetTableOffset); - } - - if (numObjects > exports.maxObjectCount) { - throw new Error("maxObjectCount exceeded"); - } - - // Handle offset table - const offsetTable = []; - - for (let i = 0; i < numObjects; i++) { - const offsetBytes = buffer.slice(offsetTableOffset + i * offsetSize, offsetTableOffset + (i + 1) * offsetSize); - offsetTable[i] = readUInt(offsetBytes, 0); - if (debug) { - console.log("Offset for Object #" + i + " is " + offsetTable[i] + " [" + offsetTable[i].toString(16) + "]"); - } - } - - // Parses an object inside the currently parsed binary property list. - // For the format specification check - // - // Apple's binary property list parser implementation. - function parseObject(tableOffset) { - const offset = offsetTable[tableOffset]; - const type = buffer[offset]; - const objType = (type & 0xF0) >> 4; //First 4 bits - const objInfo = (type & 0x0F); //Second 4 bits - switch (objType) { - case 0x0: - return parseSimple(); - case 0x1: - return parseInteger(); - case 0x8: - return parseUID(); - case 0x2: - return parseReal(); - case 0x3: - return parseDate(); - case 0x4: - return parseData(); - case 0x5: // ASCII - return parsePlistString(); - case 0x6: // UTF-16 - return parsePlistString(true); - case 0xA: - return parseArray(); - case 0xD: - return parseDictionary(); - default: - throw new Error("Unhandled type 0x" + objType.toString(16)); - } - - function parseSimple() { - //Simple - switch (objInfo) { - case 0x0: // null - return null; - case 0x8: // false - return false; - case 0x9: // true - return true; - case 0xF: // filler byte - return null; - default: - throw new Error("Unhandled simple type 0x" + objType.toString(16)); - } - } - - function bufferToHexString(buffer) { - let str = ''; - let i; - for (i = 0; i < buffer.length; i++) { - if (buffer[i] != 0x00) { - break; - } - } - for (; i < buffer.length; i++) { - const part = '00' + buffer[i].toString(16); - str += part.substr(part.length - 2); - } - return str; - } - - function parseInteger() { - const length = Math.pow(2, objInfo); - - if (objInfo == 0x4) { - const data = buffer.slice(offset + 1, offset + 1 + length); - const str = bufferToHexString(data); - return bigInt(str, 16); - } - if (objInfo == 0x3) { - return buffer.readInt32BE(offset + 1); - } - if (length < exports.maxObjectSize) { - return readUInt(buffer.slice(offset + 1, offset + 1 + length)); - } - throw new Error("To little heap space available! Wanted to read " + length + " bytes, but only " + exports.maxObjectSize + " are available."); - } - - function parseUID() { - const length = objInfo + 1; - if (length < exports.maxObjectSize) { - return new UID(readUInt(buffer.slice(offset + 1, offset + 1 + length))); - } - throw new Error("To little heap space available! Wanted to read " + length + " bytes, but only " + exports.maxObjectSize + " are available."); - } - - function parseReal() { - const length = Math.pow(2, objInfo); - if (length < exports.maxObjectSize) { - const realBuffer = buffer.slice(offset + 1, offset + 1 + length); - if (length === 4) { - return realBuffer.readFloatBE(0); - } - if (length === 8) { - return realBuffer.readDoubleBE(0); - } - } else { - throw new Error("To little heap space available! Wanted to read " + length + " bytes, but only " + exports.maxObjectSize + " are available."); - } - } - - function parseDate() { - if (objInfo != 0x3) { - console.error("Unknown date type :" + objInfo + ". Parsing anyway..."); - } - const dateBuffer = buffer.slice(offset + 1, offset + 9); - return new Date(EPOCH + (1000 * dateBuffer.readDoubleBE(0))); - } - - function parseData() { - let dataoffset = 1; - let length = objInfo; - if (objInfo == 0xF) { - const int_type = buffer[offset + 1]; - const intType = (int_type & 0xF0) / 0x10; - if (intType != 0x1) { - console.error("0x4: UNEXPECTED LENGTH-INT TYPE! " + intType); - } - const intInfo = int_type & 0x0F; - const intLength = Math.pow(2, intInfo); - dataoffset = 2 + intLength; - if (intLength < 3) { - length = readUInt(buffer.slice(offset + 2, offset + 2 + intLength)); - } else { - length = readUInt(buffer.slice(offset + 2, offset + 2 + intLength)); - } - } - if (length < exports.maxObjectSize) { - return buffer.slice(offset + dataoffset, offset + dataoffset + length); - } - throw new Error("To little heap space available! Wanted to read " + length + " bytes, but only " + exports.maxObjectSize + " are available."); - } - - function parsePlistString (isUtf16) { - isUtf16 = isUtf16 || 0; - let enc = "utf8"; - let length = objInfo; - let stroffset = 1; - if (objInfo == 0xF) { - const int_type = buffer[offset + 1]; - const intType = (int_type & 0xF0) / 0x10; - if (intType != 0x1) { - console.err("UNEXPECTED LENGTH-INT TYPE! " + intType); - } - const intInfo = int_type & 0x0F; - const intLength = Math.pow(2, intInfo); - stroffset = 2 + intLength; - if (intLength < 3) { - length = readUInt(buffer.slice(offset + 2, offset + 2 + intLength)); - } else { - length = readUInt(buffer.slice(offset + 2, offset + 2 + intLength)); - } - } - // length is String length -> to get byte length multiply by 2, as 1 character takes 2 bytes in UTF-16 - length *= (isUtf16 + 1); - if (length < exports.maxObjectSize) { - let plistString = Buffer.from(buffer.slice(offset + stroffset, offset + stroffset + length)); - if (isUtf16) { - plistString = swapBytes(plistString); - enc = "ucs2"; - } - return plistString.toString(enc); - } - throw new Error("To little heap space available! Wanted to read " + length + " bytes, but only " + exports.maxObjectSize + " are available."); - } - - function parseArray() { - let length = objInfo; - let arrayoffset = 1; - if (objInfo == 0xF) { - const int_type = buffer[offset + 1]; - const intType = (int_type & 0xF0) / 0x10; - if (intType != 0x1) { - console.error("0xa: UNEXPECTED LENGTH-INT TYPE! " + intType); - } - const intInfo = int_type & 0x0F; - const intLength = Math.pow(2, intInfo); - arrayoffset = 2 + intLength; - if (intLength < 3) { - length = readUInt(buffer.slice(offset + 2, offset + 2 + intLength)); - } else { - length = readUInt(buffer.slice(offset + 2, offset + 2 + intLength)); - } - } - if (length * objectRefSize > exports.maxObjectSize) { - throw new Error("To little heap space available!"); - } - const array = []; - for (let i = 0; i < length; i++) { - const objRef = readUInt(buffer.slice(offset + arrayoffset + i * objectRefSize, offset + arrayoffset + (i + 1) * objectRefSize)); - array[i] = parseObject(objRef); - } - return array; - } - - function parseDictionary() { - let length = objInfo; - let dictoffset = 1; - if (objInfo == 0xF) { - const int_type = buffer[offset + 1]; - const intType = (int_type & 0xF0) / 0x10; - if (intType != 0x1) { - console.error("0xD: UNEXPECTED LENGTH-INT TYPE! " + intType); - } - const intInfo = int_type & 0x0F; - const intLength = Math.pow(2, intInfo); - dictoffset = 2 + intLength; - if (intLength < 3) { - length = readUInt(buffer.slice(offset + 2, offset + 2 + intLength)); - } else { - length = readUInt(buffer.slice(offset + 2, offset + 2 + intLength)); - } - } - if (length * 2 * objectRefSize > exports.maxObjectSize) { - throw new Error("To little heap space available!"); - } - if (debug) { - console.log("Parsing dictionary #" + tableOffset); - } - const dict = {}; - for (let i = 0; i < length; i++) { - const keyRef = readUInt(buffer.slice(offset + dictoffset + i * objectRefSize, offset + dictoffset + (i + 1) * objectRefSize)); - const valRef = readUInt(buffer.slice(offset + dictoffset + (length * objectRefSize) + i * objectRefSize, offset + dictoffset + (length * objectRefSize) + (i + 1) * objectRefSize)); - const key = parseObject(keyRef); - const val = parseObject(valRef); - if (debug) { - console.log(" DICT #" + tableOffset + ": Mapped " + key + " to " + val); - } - dict[key] = val; - } - return dict; - } - } - - return [ parseObject(topObject) ]; -}; - -function readUInt(buffer, start) { - start = start || 0; - - let l = 0; - for (let i = start; i < buffer.length; i++) { - l <<= 8; - l |= buffer[i] & 0xFF; - } - return l; -} - -// we're just going to toss the high order bits because javascript doesn't have 64-bit ints -function readUInt64BE(buffer, start) { - const data = buffer.slice(start, start + 8); - return data.readUInt32BE(4, 8); -} - -function swapBytes(buffer) { - const len = buffer.length; - for (let i = 0; i < len; i += 2) { - const a = buffer[i]; - buffer[i] = buffer[i+1]; - buffer[i+1] = a; - } - return buffer; -} diff --git a/node_modules/bplist-parser/package.json b/node_modules/bplist-parser/package.json deleted file mode 100644 index b85a03407c..0000000000 --- a/node_modules/bplist-parser/package.json +++ /dev/null @@ -1,34 +0,0 @@ -{ - "name": "bplist-parser", - "version": "0.2.0", - "description": "Binary plist parser.", - "main": "bplistParser.js", - "scripts": { - "test": "mocha test" - }, - "keywords": [ - "bplist", - "plist", - "parser" - ], - "author": "Joe Ferner ", - "contributors": [ - "Brett Zamir" - ], - "license": "MIT", - "devDependencies": { - "mocha": "^6.1.4" - }, - "homepage": "https://github.com/nearinfinity/node-bplist-parser", - "bugs": "https://github.com/nearinfinity/node-bplist-parser/issues", - "engines": { - "node": ">= 5.10.0" - }, - "repository": { - "type": "git", - "url": "https://github.com/nearinfinity/node-bplist-parser.git" - }, - "dependencies": { - "big-integer": "^1.6.44" - } -} diff --git a/node_modules/bplist-parser/test/airplay.bplist b/node_modules/bplist-parser/test/airplay.bplist deleted file mode 100644 index 931adea120..0000000000 Binary files a/node_modules/bplist-parser/test/airplay.bplist and /dev/null differ diff --git a/node_modules/bplist-parser/test/iTunes-small.bplist b/node_modules/bplist-parser/test/iTunes-small.bplist deleted file mode 100644 index b7edb14a00..0000000000 Binary files a/node_modules/bplist-parser/test/iTunes-small.bplist and /dev/null differ diff --git a/node_modules/bplist-parser/test/int64.bplist b/node_modules/bplist-parser/test/int64.bplist deleted file mode 100644 index 6da9c04616..0000000000 Binary files a/node_modules/bplist-parser/test/int64.bplist and /dev/null differ diff --git a/node_modules/bplist-parser/test/int64.xml b/node_modules/bplist-parser/test/int64.xml deleted file mode 100644 index cc6cb03d73..0000000000 --- a/node_modules/bplist-parser/test/int64.xml +++ /dev/null @@ -1,10 +0,0 @@ - - - - - zero - 0 - int64item - 12345678901234567890 - - diff --git a/node_modules/bplist-parser/test/parseTest.js b/node_modules/bplist-parser/test/parseTest.js deleted file mode 100644 index 1cc8c58da3..0000000000 --- a/node_modules/bplist-parser/test/parseTest.js +++ /dev/null @@ -1,104 +0,0 @@ -'use strict'; - -// tests are adapted from https://github.com/TooTallNate/node-plist - -const assert = require('assert'); -const path = require('path'); -const bplist = require('../'); - -describe('bplist-parser', function () { - it('iTunes Small', async function () { - const file = path.join(__dirname, "iTunes-small.bplist"); - const startTime1 = new Date(); - - const [dict] = await bplist.parseFile(file); - const endTime = new Date(); - console.log('Parsed "' + file + '" in ' + (endTime - startTime1) + 'ms'); - assert.equal(dict['Application Version'], "9.0.3"); - assert.equal(dict['Library Persistent ID'], "6F81D37F95101437"); - }); - - it('sample1', async function () { - const file = path.join(__dirname, "sample1.bplist"); - const startTime = new Date(); - - const [dict] = await bplist.parseFile(file); - const endTime = new Date(); - console.log('Parsed "' + file + '" in ' + (endTime - startTime) + 'ms'); - - assert.equal(dict['CFBundleIdentifier'], 'com.apple.dictionary.MySample'); - }); - - it('sample2', async function () { - const file = path.join(__dirname, "sample2.bplist"); - const startTime = new Date(); - - const [dict] = await bplist.parseFile(file); - const endTime = new Date(); - console.log('Parsed "' + file + '" in ' + (endTime - startTime) + 'ms'); - - assert.equal(dict['PopupMenu'][2]['Key'], "\n #import \n\n#import \n\nint main(int argc, char *argv[])\n{\n return macruby_main(\"rb_main.rb\", argc, argv);\n}\n"); - }); - - it('airplay', async function () { - const file = path.join(__dirname, "airplay.bplist"); - const startTime = new Date(); - - const [dict] = await bplist.parseFile(file); - const endTime = new Date(); - console.log('Parsed "' + file + '" in ' + (endTime - startTime) + 'ms'); - - assert.equal(dict['duration'], 5555.0495000000001); - assert.equal(dict['position'], 4.6269989039999997); - }); - - it('utf16', async function () { - const file = path.join(__dirname, "utf16.bplist"); - const startTime = new Date(); - - const [dict] = await bplist.parseFile(file); - const endTime = new Date(); - console.log('Parsed "' + file + '" in ' + (endTime - startTime) + 'ms'); - - assert.equal(dict['CFBundleName'], 'sellStuff'); - assert.equal(dict['CFBundleShortVersionString'], '2.6.1'); - assert.equal(dict['NSHumanReadableCopyright'], '©2008-2012, sellStuff, Inc.'); - }); - - it('utf16chinese', async function () { - const file = path.join(__dirname, "utf16_chinese.plist"); - const startTime = new Date(); - - const [dict] = await bplist.parseFile(file); - const endTime = new Date(); - console.log('Parsed "' + file + '" in ' + (endTime - startTime) + 'ms'); - - assert.equal(dict['CFBundleName'], '天翼阅读'); - assert.equal(dict['CFBundleDisplayName'], '天翼阅读'); - }); - - it('uid', async function () { - const file = path.join(__dirname, "uid.bplist"); - const startTime = new Date(); - - const [dict] = await bplist.parseFile(file); - const endTime = new Date(); - console.log('Parsed "' + file + '" in ' + (endTime - startTime) + 'ms'); - - assert.deepEqual(dict['$objects'][1]['NS.keys'], [{UID:2}, {UID:3}, {UID:4}]); - assert.deepEqual(dict['$objects'][1]['NS.objects'], [{UID: 5}, {UID:6}, {UID:7}]); - assert.deepEqual(dict['$top']['root'], {UID:1}); - }); - - it('int64', async function () { - const file = path.join(__dirname, "int64.bplist"); - const startTime = new Date(); - - const [dict] = await bplist.parseFile(file); - const endTime = new Date(); - console.log('Parsed "' + file + '" in ' + (endTime - startTime) + 'ms'); - - assert.equal(dict['zero'], '0'); - assert.equal(dict['int64item'], '12345678901234567890'); - }); -}); diff --git a/node_modules/bplist-parser/test/sample1.bplist b/node_modules/bplist-parser/test/sample1.bplist deleted file mode 100644 index 5b808ff2e4..0000000000 Binary files a/node_modules/bplist-parser/test/sample1.bplist and /dev/null differ diff --git a/node_modules/bplist-parser/test/sample2.bplist b/node_modules/bplist-parser/test/sample2.bplist deleted file mode 100644 index fc4297982a..0000000000 Binary files a/node_modules/bplist-parser/test/sample2.bplist and /dev/null differ diff --git a/node_modules/bplist-parser/test/uid.bplist b/node_modules/bplist-parser/test/uid.bplist deleted file mode 100644 index 59f341e005..0000000000 Binary files a/node_modules/bplist-parser/test/uid.bplist and /dev/null differ diff --git a/node_modules/bplist-parser/test/utf16.bplist b/node_modules/bplist-parser/test/utf16.bplist deleted file mode 100644 index ba4bcfa9bf..0000000000 Binary files a/node_modules/bplist-parser/test/utf16.bplist and /dev/null differ diff --git a/node_modules/bplist-parser/test/utf16_chinese.plist b/node_modules/bplist-parser/test/utf16_chinese.plist deleted file mode 100755 index ba1e2d7fa3..0000000000 Binary files a/node_modules/bplist-parser/test/utf16_chinese.plist and /dev/null differ diff --git a/node_modules/browserslist/README.md b/node_modules/browserslist/README.md index ded73f2b11..f31bd2cb89 100644 --- a/node_modules/browserslist/README.md +++ b/node_modules/browserslist/README.md @@ -19,7 +19,7 @@ when you add the following to `package.json`: ```json "browserslist": [ - "defaults and supports es6-module", + "defaults and fully supports es6-module", "maintained node versions" ] ``` @@ -29,7 +29,7 @@ Or in `.browserslistrc` config: ```yaml # Browsers that we support -defaults and supports es6-module +defaults and fully supports es6-module maintained node versions ``` @@ -46,15 +46,7 @@ You can check how config works at our playground: [`browsersl.ist`](https://brow

- - Sponsored by Evil Martians - - - - Supported by Cube - + Sponsored by Evil Martians  Supported by Cube
[stylelint-no-unsupported-browser-features]: https://github.com/ismay/stylelint-no-unsupported-browser-features @@ -72,4 +64,4 @@ You can check how config works at our playground: [`browsersl.ist`](https://brow [cult]: https://cultofmartians.com/done.html ## Docs -Read **[full docs](https://github.com/browserslist/browserslist#readme)** on GitHub. +Read full docs **[here](https://github.com/browserslist/browserslist#readme)**. diff --git a/node_modules/browserslist/browser.js b/node_modules/browserslist/browser.js index 4e9d8decd4..1a681fd3e2 100644 --- a/node_modules/browserslist/browser.js +++ b/node_modules/browserslist/browser.js @@ -44,7 +44,11 @@ module.exports = { findConfig: noop, + findConfigFile: noop, + clearCaches: noop, - oldDataWarning: noop + oldDataWarning: noop, + + env: {} } diff --git a/node_modules/browserslist/cli.js b/node_modules/browserslist/cli.js index c54aa98792..78c08d743a 100755 --- a/node_modules/browserslist/cli.js +++ b/node_modules/browserslist/cli.js @@ -1,7 +1,7 @@ #!/usr/bin/env node -var updateDb = require('update-browserslist-db') var fs = require('fs') +var updateDb = require('update-browserslist-db') var browserslist = require('./') var pkg = require('./package.json') @@ -38,7 +38,12 @@ if (isArg('--help') || isArg('-h')) { } else if (isArg('--version') || isArg('-v')) { process.stdout.write('browserslist ' + pkg.version + '\n') } else if (isArg('--update-db')) { - /* c8 ignore next 3 */ + /* c8 ignore next 8 */ + process.stdout.write( + 'The --update-db command is deprecated.\n' + + 'Please use npx update-browserslist-db@latest instead.\n' + ) + process.stdout.write('Browserslist DB update will still be made.\n') updateDb(function (str) { process.stdout.write(str) }) diff --git a/node_modules/browserslist/index.d.ts b/node_modules/browserslist/index.d.ts index 076590c21c..a08176cc1a 100644 --- a/node_modules/browserslist/index.d.ts +++ b/node_modules/browserslist/index.d.ts @@ -124,7 +124,9 @@ declare namespace browserslist { let cache: { [feature: string]: { - [name: string]: 'y' | 'n' + [name: string]: { + [version: string]: string + } } } @@ -164,6 +166,17 @@ declare namespace browserslist { opts?: browserslist.Options ): Query[] + /** + * Return queries for specific file inside the project. + * + * ```js + * browserslist.loadConfig({ + * file: process.cwd() + * }) ?? browserslist.defaults + * ``` + */ + function loadConfig(options: LoadConfigOptions): string[] | undefined + function clearCaches(): void function parseConfig(string: string): Config @@ -172,13 +185,25 @@ declare namespace browserslist { function findConfig(...pathSegments: string[]): Config | undefined + function findConfigFile(...pathSegments: string[]): string | undefined + interface LoadConfigOptions { + /** + * Path to config file + * */ config?: string + + /** + * Path to file inside the project to find Browserslist config + * in closest folder + */ path?: string + + /** + * Environment to choose part of config. + */ env?: string } - - function loadConfig(options: LoadConfigOptions): string[] | undefined } declare global { @@ -191,6 +216,7 @@ declare global { BROWSERSLIST_ENV?: string BROWSERSLIST_IGNORE_OLD_DATA?: string BROWSERSLIST_STATS?: string + BROWSERSLIST_ROOT_PATH?: string } } } diff --git a/node_modules/browserslist/index.js b/node_modules/browserslist/index.js index 739b9395b8..f86b639041 100644 --- a/node_modules/browserslist/index.js +++ b/node_modules/browserslist/index.js @@ -1,15 +1,16 @@ var jsReleases = require('node-releases/data/processed/envs.json') var agents = require('caniuse-lite/dist/unpacker/agents').agents +var e2c = require('electron-to-chromium/versions') var jsEOL = require('node-releases/data/release-schedule/release-schedule.json') var path = require('path') -var e2c = require('electron-to-chromium/versions') var BrowserslistError = require('./error') -var parse = require('./parse') -var env = require('./node') // Will load browser.js in webpack +var env = require('./node') +var parse = require('./parse') // Will load browser.js in webpack var YEAR = 365.259641 * 24 * 60 * 60 * 1000 -var ANDROID_EVERGREEN_FIRST = 37 +var ANDROID_EVERGREEN_FIRST = '37' +var OP_MOB_BLINK_FIRST = 14 // Helpers @@ -81,11 +82,11 @@ function generateFilter(sign, version) { version = parseFloat(version) if (sign === '>') { return function (v) { - return parseFloat(v) > version + return parseLatestFloat(v) > version } } else if (sign === '>=') { return function (v) { - return parseFloat(v) >= version + return parseLatestFloat(v) >= version } } else if (sign === '<') { return function (v) { @@ -96,6 +97,10 @@ function generateFilter(sign, version) { return parseFloat(v) <= version } } + + function parseLatestFloat(v) { + return parseFloat(v.split('-')[1] || v) + } } function generateSemverFilter(sign, version) { @@ -223,21 +228,6 @@ function cloneData(data) { } } -function mapVersions(data, map) { - data.versions = data.versions.map(function (i) { - return map[i] || i - }) - data.released = data.released.map(function (i) { - return map[i] || i - }) - var fixedDate = {} - for (var i in data.releaseDate) { - fixedDate[map[i] || i] = data.releaseDate[i] - } - data.releaseDate = fixedDate - return data -} - function byName(name, context) { name = name.toLowerCase() name = browserslist.aliases[name] || name @@ -248,9 +238,6 @@ function byName(name, context) { } else { var cloned = cloneData(desktop) cloned.name = name - if (name === 'op_mob') { - cloned = mapVersions(cloned, { '10.0-10.1': '10' }) - } return cloned } } @@ -258,18 +245,31 @@ function byName(name, context) { } function normalizeAndroidVersions(androidVersions, chromeVersions) { - var firstEvergreen = ANDROID_EVERGREEN_FIRST - var last = chromeVersions[chromeVersions.length - 1] + var iFirstEvergreen = chromeVersions.indexOf(ANDROID_EVERGREEN_FIRST) return androidVersions .filter(function (version) { return /^(?:[2-4]\.|[34]$)/.test(version) }) - .concat(chromeVersions.slice(firstEvergreen - last - 1)) + .concat(chromeVersions.slice(iFirstEvergreen)) +} + +function copyObject(obj) { + var copy = {} + for (var key in obj) { + copy[key] = obj[key] + } + return copy } function normalizeAndroidData(android, chrome) { android.released = normalizeAndroidVersions(android.released, chrome.released) android.versions = normalizeAndroidVersions(android.versions, chrome.versions) + android.releaseDate = copyObject(android.releaseDate) + android.released.forEach(function (v) { + if (android.releaseDate[v] === undefined) { + android.releaseDate[v] = chrome.releaseDate[v] + } + }) return android } @@ -288,16 +288,34 @@ function unknownQuery(query) { ) } -function filterAndroid(list, versions, context) { - if (context.mobileToDesktop) return list - var released = browserslist.data.android.released - var last = released[released.length - 1] - var diff = last - ANDROID_EVERGREEN_FIRST - versions - if (diff > 0) { +// Adjusts last X versions queries for some mobile browsers, +// where caniuse data jumps from a legacy version to the latest +function filterJumps(list, name, nVersions, context) { + var jump = 1 + switch (name) { + case 'android': + if (context.mobileToDesktop) return list + var released = browserslist.data.chrome.released + jump = released.length - released.indexOf(ANDROID_EVERGREEN_FIRST) + break + case 'op_mob': + var latest = browserslist.data.op_mob.released.slice(-1)[0] + jump = getMajor(latest) - OP_MOB_BLINK_FIRST + 1 + break + default: + return list + } + if (nVersions <= jump) { return list.slice(-1) - } else { - return list.slice(diff - 1) } + return list.slice(jump - 1 - nVersions) +} + +function isSupported(flags, withPartial) { + return ( + typeof flags === 'string' && + (flags.indexOf('y') >= 0 || (withPartial && flags.indexOf('a') >= 0)) + ) } function resolve(queries, context) { @@ -417,7 +435,7 @@ function browserslist(queries, opts) { return compare(name1[0], name2[0]) } }) - if (!process.env.BROWSERSLIST_DISABLE_CACHE) { + if (!env.env.BROWSERSLIST_DISABLE_CACHE) { cache[cacheKey] = result } return result @@ -459,11 +477,11 @@ browserslist.aliases = { // Can I Use only provides a few versions for some browsers (e.g. and_chr). // Fallback to a similar browser for unknown versions +// Note op_mob is not included as its chromium versions are not in sync with Opera desktop browserslist.desktopNames = { and_chr: 'chrome', and_ff: 'firefox', ie_mob: 'ie', - op_mob: 'opera', android: 'chrome' // has extra processing logic } @@ -473,6 +491,7 @@ browserslist.versionAliases = {} browserslist.clearCaches = env.clearCaches browserslist.parseConfig = env.parseConfig browserslist.readConfig = env.readConfig +browserslist.findConfigFile = env.findConfigFile browserslist.findConfig = env.findConfig browserslist.loadConfig = env.loadConfig @@ -589,9 +608,7 @@ var QUERIES = { if (!data) return selected var list = getMajorVersions(data.released, node.versions) list = list.map(nameMapper(data.name)) - if (data.name === 'android') { - list = filterAndroid(list, node.versions, context) - } + list = filterJumps(list, data.name, node.versions, context) return selected.concat(list) }, []) } @@ -605,9 +622,7 @@ var QUERIES = { if (!data) return selected var list = data.released.slice(-node.versions) list = list.map(nameMapper(data.name)) - if (data.name === 'android') { - list = filterAndroid(list, node.versions, context) - } + list = filterJumps(list, data.name, node.versions, context) return selected.concat(list) }, []) } @@ -640,9 +655,7 @@ var QUERIES = { var data = checkName(node.browser, context) var validVersions = getMajorVersions(data.released, node.versions) var list = validVersions.map(nameMapper(data.name)) - if (data.name === 'android') { - list = filterAndroid(list, node.versions, context) - } + list = filterJumps(list, data.name, node.versions, context) return list } }, @@ -674,9 +687,7 @@ var QUERIES = { select: function (context, node) { var data = checkName(node.browser, context) var list = data.released.slice(-node.versions).map(nameMapper(data.name)) - if (data.name === 'android') { - list = filterAndroid(list, node.versions, context) - } + list = filterJumps(list, data.name, node.versions, context) return list } }, @@ -886,18 +897,36 @@ var QUERIES = { select: coverQuery }, supports: { - matches: ['feature'], - regexp: /^supports\s+([\w-]+)$/, + matches: ['supportType', 'feature'], + regexp: /^(?:(fully|partially)\s+)?supports\s+([\w-]+)$/, select: function (context, node) { env.loadFeature(browserslist.cache, node.feature) + var withPartial = node.supportType !== 'fully' var features = browserslist.cache[node.feature] - return Object.keys(features).reduce(function (result, version) { - var flags = features[version] - if (flags.indexOf('y') >= 0 || flags.indexOf('a') >= 0) { - result.push(version) + var result = [] + for (var name in features) { + var data = byName(name, context) + // Only check desktop when latest released mobile has support + var iMax = data.released.length - 1 + while (iMax >= 0) { + if (data.released[iMax] in features[name]) break + iMax-- } - return result - }, []) + var checkDesktop = + context.mobileToDesktop && + name in browserslist.desktopNames && + isSupported(features[name][data.released[iMax]], withPartial) + data.versions.forEach(function (version) { + var flags = features[name][version] + if (flags === undefined && checkDesktop) { + flags = features[browserslist.desktopNames[name]][version] + } + if (isSupported(flags, withPartial)) { + result.push(name + ' ' + version) + } + }) + } + return result } }, electron_range: { @@ -992,7 +1021,7 @@ var QUERIES = { matches: [], regexp: /^(firefox|ff|fx)\s+esr$/i, select: function () { - return ['firefox 102'] + return ['firefox 115', 'firefox 128'] } }, opera_mini_all: { @@ -1179,8 +1208,6 @@ var QUERIES = { } } - browserslist.versionAliases.op_mob['59'] = '58' - browserslist.nodeVersions = jsReleases.map(function (release) { return release.version }) diff --git a/node_modules/browserslist/node.js b/node_modules/browserslist/node.js index a3c7ef7e5b..800ad08d23 100644 --- a/node_modules/browserslist/node.js +++ b/node_modules/browserslist/node.js @@ -1,14 +1,13 @@ var feature = require('caniuse-lite/dist/unpacker/feature').default var region = require('caniuse-lite/dist/unpacker/region').default -var path = require('path') var fs = require('fs') +var path = require('path') var BrowserslistError = require('./error') var IS_SECTION = /^\s*\[(.+)]\s*$/ var CONFIG_PATTERN = /^browserslist-config-/ -var SCOPED_CONFIG__PATTERN = /@[^/]+\/browserslist-config(-|$|\/)/ -var TIME_TO_UPDATE_CANIUSE = 6 * 30 * 24 * 60 * 60 * 1000 +var SCOPED_CONFIG__PATTERN = /@[^/]+(?:\/[^/]+)?\/browserslist-config(?:-|$|\/)/ var FORMAT = 'Browserslist config should be a string or an array ' + 'of strings with browser queries' @@ -50,12 +49,22 @@ function eachParent(file, callback) { var dir = isFile(file) ? path.dirname(file) : file var loc = path.resolve(dir) do { + if (!pathInRoot(loc)) break var result = callback(loc) if (typeof result !== 'undefined') return result } while (loc !== (loc = path.dirname(loc))) return undefined } +function pathInRoot(p) { + if (!process.env.BROWSERSLIST_ROOT_PATH) return true + var rootPath = path.resolve(process.env.BROWSERSLIST_ROOT_PATH) + if (path.relative(rootPath, p).substring(0, 2) === '..') { + return false + } + return true +} + function check(section) { if (Array.isArray(section)) { for (var i = 0; i < section.length; i++) { @@ -116,6 +125,14 @@ function parsePackage(file) { return list } +function parsePackageOrReadConfig(file) { + if (path.basename(file) === 'package.json') { + return parsePackage(file) + } else { + return module.exports.readConfig(file) + } +} + function latestReleaseTime(agents) { var latest = 0 for (var name in agents) { @@ -129,6 +146,16 @@ function latestReleaseTime(agents) { return latest * 1000 } +function getMonthsPassed(date) { + var now = new Date() + var past = new Date(date) + + var years = now.getFullYear() - past.getFullYear() + var months = now.getMonth() - past.getMonth() + + return years * 12 + months +} + function normalizeStats(data, stats) { if (!data) { data = {} @@ -157,7 +184,6 @@ function normalizeStats(data, stats) { function normalizeUsageData(usageData, data) { for (var browser in usageData) { var browserUsage = usageData[browser] - // eslint-disable-next-line max-len // https://github.com/browserslist/browserslist/issues/431#issuecomment-565230615 // caniuse-db returns { 0: "percentage" } for `and_*` regional stats if ('0' in browserUsage) { @@ -228,11 +254,7 @@ module.exports = { return process.env.BROWSERSLIST } else if (opts.config || process.env.BROWSERSLIST_CONFIG) { var file = opts.config || process.env.BROWSERSLIST_CONFIG - if (path.basename(file) === 'package.json') { - return pickEnv(parsePackage(file), opts) - } else { - return pickEnv(module.exports.readConfig(file), opts) - } + return pickEnv(parsePackageOrReadConfig(file), opts) } else if (opts.path) { return pickEnv(module.exports.findConfig(opts.path), opts) } else { @@ -247,7 +269,7 @@ module.exports = { try { compressed = require('caniuse-lite/data/regions/' + code + '.js') } catch (e) { - throw new BrowserslistError("Unknown region name `" + code + "`.") + throw new BrowserslistError('Unknown region name `' + code + '`.') } var usageData = region(compressed) normalizeUsageData(usageData, data) @@ -267,13 +289,14 @@ module.exports = { try { compressed = require('caniuse-lite/data/features/' + name + '.js') } catch (e) { - throw new BrowserslistError("Unknown feature name `" + name + "`.") + throw new BrowserslistError('Unknown feature name `' + name + '`.') } var stats = feature(compressed).stats features[name] = {} for (var i in stats) { + features[name][i] = {} for (var j in stats[i]) { - features[name][i + ' ' + j] = stats[i][j] + features[name][i][j] = stats[i][j] } } }, @@ -320,17 +343,8 @@ module.exports = { return module.exports.parseConfig(fs.readFileSync(file)) }, - findConfig: function findConfig(from) { - from = path.resolve(from) - - var passed = [] + findConfigFile: function findConfigFile(from) { var resolved = eachParent(from, function (dir) { - if (dir in configCache) { - return configCache[dir] - } - - passed.push(dir) - var config = path.join(dir, 'browserslist') var pkg = path.join(dir, 'package.json') var rc = path.join(dir, '.browserslistrc') @@ -360,16 +374,38 @@ module.exports = { dir + ' contains both .browserslistrc and browserslist' ) } else if (isFile(config)) { - return module.exports.readConfig(config) + return config } else if (isFile(rc)) { - return module.exports.readConfig(rc) - } else { - return pkgBrowserslist + return rc + } else if (pkgBrowserslist) { + return pkg } }) + + return resolved + }, + + findConfig: function findConfig(from) { + from = path.resolve(from) + + var fromDir = isFile(from) ? path.dirname(from) : from + if (fromDir in configCache) { + return configCache[fromDir] + } + + var resolved + var configFile = this.findConfigFile(from) + if (configFile) { + resolved = parsePackageOrReadConfig(configFile) + } + if (!process.env.BROWSERSLIST_DISABLE_CACHE) { - passed.forEach(function (dir) { + var configDir = configFile && path.dirname(configFile) + eachParent(from, function (dir) { configCache[dir] = resolved + if (dir === configDir) { + return null + } }) } return resolved @@ -389,11 +425,14 @@ module.exports = { if (process.env.BROWSERSLIST_IGNORE_OLD_DATA) return var latest = latestReleaseTime(agentsObj) - var halfYearAgo = Date.now() - TIME_TO_UPDATE_CANIUSE + var monthsPassed = getMonthsPassed(latest) - if (latest !== 0 && latest < halfYearAgo) { + if (latest !== 0 && monthsPassed >= 6) { + var months = monthsPassed + ' ' + (monthsPassed > 1 ? 'months' : 'month') console.warn( - 'Browserslist: caniuse-lite is outdated. Please run:\n' + + 'Browserslist: browsers data (caniuse-lite) is ' + + months + + ' old. Please run:\n' + ' npx update-browserslist-db@latest\n' + ' Why you should do it regularly: ' + 'https://github.com/browserslist/update-db#readme' @@ -403,5 +442,7 @@ module.exports = { currentNode: function currentNode() { return 'node ' + process.versions.node - } + }, + + env: process.env } diff --git a/node_modules/browserslist/package.json b/node_modules/browserslist/package.json index 7807862673..9012a490ca 100644 --- a/node_modules/browserslist/package.json +++ b/node_modules/browserslist/package.json @@ -1,6 +1,6 @@ { "name": "browserslist", - "version": "4.21.4", + "version": "4.24.2", "description": "Share target browsers between different front-end tools, like Autoprefixer, Stylelint and babel-env-preset", "keywords": [ "caniuse", @@ -15,16 +15,20 @@ { "type": "tidelift", "url": "https://tidelift.com/funding/github/npm/browserslist" + }, + { + "type": "github", + "url": "https://github.com/sponsors/ai" } ], "author": "Andrey Sitnik ", "license": "MIT", "repository": "browserslist/browserslist", "dependencies": { - "caniuse-lite": "^1.0.30001400", - "electron-to-chromium": "^1.4.251", - "node-releases": "^2.0.6", - "update-browserslist-db": "^1.0.9" + "caniuse-lite": "^1.0.30001669", + "electron-to-chromium": "^1.5.41", + "node-releases": "^2.0.18", + "update-browserslist-db": "^1.1.1" }, "engines": { "node": "^6 || ^7 || ^8 || ^9 || ^10 || ^11 || ^12 || >=13.7" diff --git a/node_modules/browserslist/parse.js b/node_modules/browserslist/parse.js index 56b534ab4c..c9d8f45b41 100644 --- a/node_modules/browserslist/parse.js +++ b/node_modules/browserslist/parse.js @@ -9,7 +9,7 @@ function flatten(array) { } function find(string, predicate) { - for (var n = 1, max = string.length; n <= max; n++) { + for (var max = string.length, n = 1; n <= max; n++) { var parsed = string.substr(-n, n) if (predicate(parsed, n, max)) { return string.slice(0, -n) diff --git a/node_modules/bundle-name/index.js b/node_modules/bundle-name/index.js deleted file mode 100644 index 8b6dc11bcf..0000000000 --- a/node_modules/bundle-name/index.js +++ /dev/null @@ -1,5 +0,0 @@ -import {runAppleScriptAsync} from 'run-applescript'; - -export default async function bundleName(bundleId) { - return runAppleScriptAsync(`tell application "Finder" to set app_path to application file id "${bundleId}" as string\ntell application "System Events" to get value of property list item "CFBundleName" of property list file (app_path & ":Contents:Info.plist")`); -} diff --git a/node_modules/bundle-name/package.json b/node_modules/bundle-name/package.json deleted file mode 100644 index fbbc569ffe..0000000000 --- a/node_modules/bundle-name/package.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "name": "bundle-name", - "version": "3.0.0", - "description": "Get bundle name from a bundle identifier (macOS): `com.apple.Safari` → `Safari`", - "license": "MIT", - "repository": "sindresorhus/bundle-name", - "funding": "https://github.com/sponsors/sindresorhus", - "author": { - "name": "Sindre Sorhus", - "email": "sindresorhus@gmail.com", - "url": "https://sindresorhus.com" - }, - "type": "module", - "exports": "./index.js", - "engines": { - "node": ">=12" - }, - "scripts": { - "test": "xo && ava" - }, - "files": [ - "index.js" - ], - "keywords": [ - "macos", - "plist", - "applescript", - "bundle", - "bundleid", - "bundlename", - "id", - "identifier", - "CFBundleName", - "CFBundleIdentifier", - "uti" - ], - "dependencies": { - "run-applescript": "^5.0.0" - }, - "devDependencies": { - "ava": "^3.15.0", - "xo": "^0.38.2" - } -} diff --git a/node_modules/bundle-name/readme.md b/node_modules/bundle-name/readme.md deleted file mode 100644 index 2cbc5d1985..0000000000 --- a/node_modules/bundle-name/readme.md +++ /dev/null @@ -1,23 +0,0 @@ -# bundle-name - -> Get [bundle name](https://developer.apple.com/library/Mac/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html#//apple_ref/doc/plist/info/CFBundleName) from a [bundle identifier](https://developer.apple.com/library/Mac/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html#//apple_ref/doc/plist/info/CFBundleIdentifier) (macOS): `com.apple.Safari` → `Safari` - -## Install - -``` -$ npm install bundle-name -``` - -## Usage - -```js -import bundleName from 'bundle-name'; - -console.log(await bundleName('com.apple.Safari')); -//=> 'Safari' -``` - -## Related - -- [bundle-name-cli](https://github.com/sindresorhus/bundle-name-cli) - CLI for this module -- [bundle-id](https://github.com/sindresorhus/bundle-id) - Get bundle identifier from a bundle name diff --git a/node_modules/caniuse-lite/data/agents.js b/node_modules/caniuse-lite/data/agents.js index b150718a8f..88011c42cb 100644 --- a/node_modules/caniuse-lite/data/agents.js +++ b/node_modules/caniuse-lite/data/agents.js @@ -1 +1 @@ -module.exports={A:{A:{K:0,D:0,E:0.0271533,F:0.0678831,A:0,B:0.529489,aC:0},B:"ms",C:["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","aC","K","D","E","F","A","B","","",""],E:"IE",F:{aC:962323200,K:998870400,D:1161129600,E:1237420800,F:1300060800,A:1346716800,B:1381968000}},B:{A:{"0":0.00757,"1":0.00757,"2":0.011355,"3":0.01514,"4":0.00757,"5":0.00757,"6":0.011355,"7":0.00757,"8":0.01514,"9":0.034065,C:0,L:0,M:0,G:0,N:0,O:0.003785,P:0.041635,Q:0,H:0,R:0,S:0,T:0,U:0,V:0,W:0,X:0,Y:0,Z:0,a:0,b:0.011355,c:0,d:0,e:0,f:0,g:0,h:0,i:0,j:0,k:0,l:0,m:0,n:0,o:0,p:0,q:0.003785,r:0.00757,s:0.064345,t:0.003785,AB:0.026495,BB:0.064345,CB:0.16654,DB:2.88417,EB:1.57834,I:0},B:"webkit",C:["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","C","L","M","G","N","O","P","Q","H","R","S","T","U","V","W","X","Y","Z","a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","0","1","2","3","4","5","6","7","8","9","AB","BB","CB","DB","EB","I","","",""],E:"Edge",F:{"0":1678665600,"1":1680825600,"2":1683158400,"3":1685664000,"4":1689897600,"5":1692576000,"6":1694649600,"7":1697155200,"8":1698969600,"9":1701993600,C:1438128000,L:1447286400,M:1470096000,G:1491868800,N:1508198400,O:1525046400,P:1542067200,Q:1579046400,H:1581033600,R:1586736000,S:1590019200,T:1594857600,U:1598486400,V:1602201600,W:1605830400,X:1611360000,Y:1614816000,Z:1618358400,a:1622073600,b:1626912000,c:1630627200,d:1632441600,e:1634774400,f:1637539200,g:1641427200,h:1643932800,i:1646265600,j:1649635200,k:1651190400,l:1653955200,m:1655942400,n:1659657600,o:1661990400,p:1664755200,q:1666915200,r:1670198400,s:1673481600,t:1675900800,AB:1706227200,BB:1708732800,CB:1711152000,DB:1713398400,EB:1715990400,I:1718841600},D:{C:"ms",L:"ms",M:"ms",G:"ms",N:"ms",O:"ms",P:"ms"}},C:{A:{"0":0,"1":0,"2":0.011355,"3":0,"4":0.397425,"5":0,"6":0.00757,"7":0.079485,"8":0,"9":0.00757,bC:0,DC:0,J:0.003785,FB:0,K:0,D:0,E:0,F:0,A:0,B:0.018925,C:0,L:0,M:0,G:0,N:0,O:0,P:0,GB:0,u:0,v:0,w:0,x:0,y:0,z:0,HB:0,IB:0,JB:0,KB:0,LB:0,MB:0,NB:0,OB:0,PB:0,QB:0,RB:0,SB:0,TB:0,UB:0,VB:0,WB:0,XB:0,YB:0.00757,ZB:0.00757,aB:0.00757,bB:0,cB:0,dB:0,eB:0,fB:0.00757,gB:0,hB:0.05299,iB:0.003785,jB:0.003785,kB:0,lB:0.02271,mB:0,nB:0,EC:0.003785,oB:0,FC:0,pB:0,qB:0,rB:0,sB:0,tB:0,uB:0,vB:0,wB:0,xB:0,yB:0,zB:0,"0B":0,"1B":0,"2B":0,"3B":0,"4B":0,"5B":0.01514,Q:0,H:0,R:0,GC:0,S:0,T:0,U:0,V:0,W:0,X:0.011355,Y:0,Z:0,a:0,b:0,c:0,d:0.003785,e:0,f:0,g:0,h:0,i:0,j:0,k:0,l:0.011355,m:0.011355,n:0,o:0,p:0,q:0,r:0.003785,s:0.00757,t:0,AB:0.00757,BB:0.011355,CB:0.01514,DB:0.06813,EB:0.844055,I:0.738075,"6B":0.003785,HC:0,IC:0,cC:0,dC:0,eC:0},B:"moz",C:["bC","DC","dC","eC","J","FB","K","D","E","F","A","B","C","L","M","G","N","O","P","GB","u","v","w","x","y","z","HB","IB","JB","KB","LB","MB","NB","OB","PB","QB","RB","SB","TB","UB","VB","WB","XB","YB","ZB","aB","bB","cB","dB","eB","fB","gB","hB","iB","jB","kB","lB","mB","nB","EC","oB","FC","pB","qB","rB","sB","tB","uB","vB","wB","xB","yB","zB","0B","1B","2B","3B","4B","5B","Q","H","R","GC","S","T","U","V","W","X","Y","Z","a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","0","1","2","3","4","5","6","7","8","9","AB","BB","CB","DB","EB","I","6B","HC","IC","cC"],E:"Firefox",F:{"0":1678752000,"1":1681171200,"2":1683590400,"3":1686009600,"4":1688428800,"5":1690848000,"6":1693267200,"7":1695686400,"8":1698105600,"9":1700524800,bC:1161648000,DC:1213660800,dC:1246320000,eC:1264032000,J:1300752000,FB:1308614400,K:1313452800,D:1317081600,E:1317081600,F:1320710400,A:1324339200,B:1327968000,C:1331596800,L:1335225600,M:1338854400,G:1342483200,N:1346112000,O:1349740800,P:1353628800,GB:1357603200,u:1361232000,v:1364860800,w:1368489600,x:1372118400,y:1375747200,z:1379376000,HB:1386633600,IB:1391472000,JB:1395100800,KB:1398729600,LB:1402358400,MB:1405987200,NB:1409616000,OB:1413244800,PB:1417392000,QB:1421107200,RB:1424736000,SB:1428278400,TB:1431475200,UB:1435881600,VB:1439251200,WB:1442880000,XB:1446508800,YB:1450137600,ZB:1453852800,aB:1457395200,bB:1461628800,cB:1465257600,dB:1470096000,eB:1474329600,fB:1479168000,gB:1485216000,hB:1488844800,iB:1492560000,jB:1497312000,kB:1502150400,lB:1506556800,mB:1510617600,nB:1516665600,EC:1520985600,oB:1525824000,FC:1529971200,pB:1536105600,qB:1540252800,rB:1544486400,sB:1548720000,tB:1552953600,uB:1558396800,vB:1562630400,wB:1567468800,xB:1571788800,yB:1575331200,zB:1578355200,"0B":1581379200,"1B":1583798400,"2B":1586304000,"3B":1588636800,"4B":1591056000,"5B":1593475200,Q:1595894400,H:1598313600,R:1600732800,GC:1603152000,S:1605571200,T:1607990400,U:1611619200,V:1614038400,W:1616457600,X:1618790400,Y:1622505600,Z:1626134400,a:1628553600,b:1630972800,c:1633392000,d:1635811200,e:1638835200,f:1641859200,g:1644364800,h:1646697600,i:1649116800,j:1651536000,k:1653955200,l:1656374400,m:1658793600,n:1661212800,o:1663632000,p:1666051200,q:1668470400,r:1670889600,s:1673913600,t:1676332800,AB:1702944000,BB:1705968000,CB:1708387200,DB:1710806400,EB:1713225600,I:1715644800,"6B":1718064000,HC:null,IC:null,cC:null}},D:{A:{"0":0.03785,"1":0.041635,"2":0.09841,"3":0.109765,"4":0.04542,"5":0.230885,"6":0.102195,"7":0.08327,"8":0.09084,"9":0.185465,J:0,FB:0,K:0,D:0,E:0,F:0,A:0,B:0,C:0,L:0,M:0,G:0,N:0,O:0,P:0,GB:0,u:0,v:0,w:0,x:0,y:0,z:0,HB:0,IB:0,JB:0,KB:0,LB:0,MB:0,NB:0,OB:0,PB:0.00757,QB:0,RB:0,SB:0,TB:0.01514,UB:0,VB:0,WB:0,XB:0,YB:0,ZB:0,aB:0.003785,bB:0,cB:0.003785,dB:0.02271,eB:0.026495,fB:0.011355,gB:0,hB:0.003785,iB:0.003785,jB:0,kB:0,lB:0.011355,mB:0,nB:0.003785,EC:0,oB:0,FC:0.003785,pB:0,qB:0.003785,rB:0,sB:0,tB:0.02271,uB:0.00757,vB:0,wB:0.03028,xB:0.064345,yB:0.003785,zB:0.003785,"0B":0.011355,"1B":0.00757,"2B":0.00757,"3B":0.00757,"4B":0.00757,"5B":0.01514,Q:0.12112,H:0.011355,R:0.02271,S:0.041635,T:0.00757,U:0.011355,V:0.049205,W:0.06813,X:0.01514,Y:0.011355,Z:0.011355,a:0.03785,b:0.018925,c:0.03028,d:0.041635,e:0.011355,f:0.011355,g:0.01514,h:0.071915,i:0.034065,j:0.04542,k:0.06813,l:0.049205,m:0.170325,n:0.094625,o:0.03028,p:0.03785,q:0.03028,r:0.04542,s:1.49507,t:0.026495,AB:0.389855,BB:0.29523,CB:1.11279,DB:12.6116,EB:4.62527,I:0.018925,"6B":0.00757,HC:0,IC:0},B:"webkit",C:["","","","","","","J","FB","K","D","E","F","A","B","C","L","M","G","N","O","P","GB","u","v","w","x","y","z","HB","IB","JB","KB","LB","MB","NB","OB","PB","QB","RB","SB","TB","UB","VB","WB","XB","YB","ZB","aB","bB","cB","dB","eB","fB","gB","hB","iB","jB","kB","lB","mB","nB","EC","oB","FC","pB","qB","rB","sB","tB","uB","vB","wB","xB","yB","zB","0B","1B","2B","3B","4B","5B","Q","H","R","S","T","U","V","W","X","Y","Z","a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","0","1","2","3","4","5","6","7","8","9","AB","BB","CB","DB","EB","I","6B","HC","IC"],E:"Chrome",F:{"0":1678147200,"1":1680566400,"2":1682985600,"3":1685404800,"4":1689724800,"5":1692057600,"6":1694476800,"7":1696896000,"8":1698710400,"9":1701993600,J:1264377600,FB:1274745600,K:1283385600,D:1287619200,E:1291248000,F:1296777600,A:1299542400,B:1303862400,C:1307404800,L:1312243200,M:1316131200,G:1316131200,N:1319500800,O:1323734400,P:1328659200,GB:1332892800,u:1337040000,v:1340668800,w:1343692800,x:1348531200,y:1352246400,z:1357862400,HB:1361404800,IB:1364428800,JB:1369094400,KB:1374105600,LB:1376956800,MB:1384214400,NB:1389657600,OB:1392940800,PB:1397001600,QB:1400544000,RB:1405468800,SB:1409011200,TB:1412640000,UB:1416268800,VB:1421798400,WB:1425513600,XB:1429401600,YB:1432080000,ZB:1437523200,aB:1441152000,bB:1444780800,cB:1449014400,dB:1453248000,eB:1456963200,fB:1460592000,gB:1464134400,hB:1469059200,iB:1472601600,jB:1476230400,kB:1480550400,lB:1485302400,mB:1489017600,nB:1492560000,EC:1496707200,oB:1500940800,FC:1504569600,pB:1508198400,qB:1512518400,rB:1516752000,sB:1520294400,tB:1523923200,uB:1527552000,vB:1532390400,wB:1536019200,xB:1539648000,yB:1543968000,zB:1548720000,"0B":1552348800,"1B":1555977600,"2B":1559606400,"3B":1564444800,"4B":1568073600,"5B":1571702400,Q:1575936000,H:1580860800,R:1586304000,S:1589846400,T:1594684800,U:1598313600,V:1601942400,W:1605571200,X:1611014400,Y:1614556800,Z:1618272000,a:1621987200,b:1626739200,c:1630368000,d:1632268800,e:1634601600,f:1637020800,g:1641340800,h:1643673600,i:1646092800,j:1648512000,k:1650931200,l:1653350400,m:1655769600,n:1659398400,o:1661817600,p:1664236800,q:1666656000,r:1669680000,s:1673308800,t:1675728000,AB:1705968000,BB:1708387200,CB:1710806400,DB:1713225600,EB:1715644800,I:1718064000,"6B":null,HC:null,IC:null}},E:{A:{J:0,FB:0,K:0,D:0,E:0.01514,F:0.003785,A:0,B:0,C:0,L:0.00757,M:0.034065,G:0.00757,fC:0,JC:0,gC:0,hC:0,iC:0,jC:0,KC:0,"7B":0.00757,"8B":0.01514,kC:0.064345,lC:0.09084,mC:0.034065,LC:0.011355,MC:0.026495,"9B":0.034065,nC:0.246025,AC:0.03028,NC:0.049205,OC:0.03785,PC:0.09841,QC:0.03028,RC:0.06056,oC:0.34065,BC:0.03785,SC:0.06813,TC:0.08327,UC:0.09841,VC:1.5405,WC:0.185465,XC:0,CC:0,pC:0},B:"webkit",C:["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","fC","JC","J","FB","gC","K","hC","D","iC","E","F","jC","A","KC","B","7B","C","8B","L","kC","M","lC","G","mC","LC","MC","9B","nC","AC","NC","OC","PC","QC","RC","oC","BC","SC","TC","UC","VC","WC","XC","CC","pC"],E:"Safari",F:{fC:1205798400,JC:1226534400,J:1244419200,FB:1275868800,gC:1311120000,K:1343174400,hC:1382400000,D:1382400000,iC:1410998400,E:1413417600,F:1443657600,jC:1458518400,A:1474329600,KC:1490572800,B:1505779200,"7B":1522281600,C:1537142400,"8B":1553472000,L:1568851200,kC:1585008000,M:1600214400,lC:1619395200,G:1632096000,mC:1635292800,LC:1639353600,MC:1647216000,"9B":1652745600,nC:1658275200,AC:1662940800,NC:1666569600,OC:1670889600,PC:1674432000,QC:1679875200,RC:1684368000,oC:1690156800,BC:1695686400,SC:1698192000,TC:1702252800,UC:1705881600,VC:1709596800,WC:1715558400,XC:null,CC:null,pC:null}},F:{A:{F:0,B:0,C:0,G:0,N:0,O:0,P:0,GB:0,u:0,v:0,w:0,x:0,y:0,z:0,HB:0,IB:0,JB:0,KB:0,LB:0,MB:0,NB:0,OB:0,PB:0,QB:0,RB:0,SB:0,TB:0,UB:0,VB:0,WB:0,XB:0,YB:0,ZB:0,aB:0,bB:0.01514,cB:0,dB:0,eB:0,fB:0,gB:0,hB:0,iB:0,jB:0,kB:0,lB:0,mB:0,nB:0,oB:0,pB:0,qB:0,rB:0,sB:0,tB:0,uB:0,vB:0,wB:0,xB:0,yB:0,zB:0,"0B":0,"1B":0,"2B":0,"3B":0,"4B":0,"5B":0,Q:0,H:0,R:0,GC:0,S:0,T:0,U:0,V:0,W:0,X:0,Y:0,Z:0,a:0,b:0,c:0,d:0,e:0.041635,f:0,g:0,h:0,i:0,j:0,k:0,l:0.071915,m:0,n:0,o:0,p:0.00757,q:0.185465,r:0.01514,s:0.738075,t:0.04542,qC:0,rC:0,sC:0,tC:0,"7B":0,YC:0,uC:0,"8B":0},B:"webkit",C:["","","","","","","","","","","","","","","","","","","","","","","","F","qC","rC","sC","tC","B","7B","YC","uC","C","8B","G","N","O","P","GB","u","v","w","x","y","z","HB","IB","JB","KB","LB","MB","NB","OB","PB","QB","RB","SB","TB","UB","VB","WB","XB","YB","ZB","aB","bB","cB","dB","eB","fB","gB","hB","iB","jB","kB","lB","mB","nB","oB","pB","qB","rB","sB","tB","uB","vB","wB","xB","yB","zB","0B","1B","2B","3B","4B","5B","Q","H","R","GC","S","T","U","V","W","X","Y","Z","a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","","",""],E:"Opera",F:{F:1150761600,qC:1223424000,rC:1251763200,sC:1267488000,tC:1277942400,B:1292457600,"7B":1302566400,YC:1309219200,uC:1323129600,C:1323129600,"8B":1352073600,G:1372723200,N:1377561600,O:1381104000,P:1386288000,GB:1390867200,u:1393891200,v:1399334400,w:1401753600,x:1405987200,y:1409616000,z:1413331200,HB:1417132800,IB:1422316800,JB:1425945600,KB:1430179200,LB:1433808000,MB:1438646400,NB:1442448000,OB:1445904000,PB:1449100800,QB:1454371200,RB:1457308800,SB:1462320000,TB:1465344000,UB:1470096000,VB:1474329600,WB:1477267200,XB:1481587200,YB:1486425600,ZB:1490054400,aB:1494374400,bB:1498003200,cB:1502236800,dB:1506470400,eB:1510099200,fB:1515024000,gB:1517961600,hB:1521676800,iB:1525910400,jB:1530144000,kB:1534982400,lB:1537833600,mB:1543363200,nB:1548201600,oB:1554768000,pB:1561593600,qB:1566259200,rB:1570406400,sB:1573689600,tB:1578441600,uB:1583971200,vB:1587513600,wB:1592956800,xB:1595894400,yB:1600128000,zB:1603238400,"0B":1613520000,"1B":1612224000,"2B":1616544000,"3B":1619568000,"4B":1623715200,"5B":1627948800,Q:1631577600,H:1633392000,R:1635984000,GC:1638403200,S:1642550400,T:1644969600,U:1647993600,V:1650412800,W:1652745600,X:1654646400,Y:1657152000,Z:1660780800,a:1663113600,b:1668816000,c:1668643200,d:1671062400,e:1675209600,f:1677024000,g:1679529600,h:1681948800,i:1684195200,j:1687219200,k:1690329600,l:1692748800,m:1696204800,n:1699920000,o:1699920000,p:1702944000,q:1707264000,r:1710115200,s:1711497600,t:1716336000},D:{F:"o",B:"o",C:"o",qC:"o",rC:"o",sC:"o",tC:"o","7B":"o",YC:"o",uC:"o","8B":"o"}},G:{A:{E:0,JC:0,vC:0,ZC:0.00289868,wC:0.00289868,xC:0.00724669,yC:0.0115947,zC:0.00289868,"0C":0.00724669,"1C":0.0333348,"2C":0.00579735,"3C":0.0521762,"4C":0.0768149,"5C":0.0144934,"6C":0.00869603,"7C":0.210154,"8C":0.00434801,"9C":0.0217401,AD:0.0101454,BD:0.0463788,CD:0.100004,DD:0.123194,ED:0.0594229,LC:0.0652202,MC:0.0739162,"9B":0.0927576,FD:0.83192,AC:0.189863,NC:0.389872,OC:0.189863,PC:0.329,QC:0.0695682,RC:0.140586,GD:1.11744,BC:0.121744,SC:0.198559,TC:0.207255,UC:0.382625,VC:8.67429,WC:0.61307,XC:0,CC:0},B:"webkit",C:["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","JC","vC","ZC","wC","xC","yC","E","zC","0C","1C","2C","3C","4C","5C","6C","7C","8C","9C","AD","BD","CD","DD","ED","LC","MC","9B","FD","AC","NC","OC","PC","QC","RC","GD","BC","SC","TC","UC","VC","WC","XC","CC",""],E:"Safari on iOS",F:{JC:1270252800,vC:1283904000,ZC:1299628800,wC:1331078400,xC:1359331200,yC:1394409600,E:1410912000,zC:1413763200,"0C":1442361600,"1C":1458518400,"2C":1473724800,"3C":1490572800,"4C":1505779200,"5C":1522281600,"6C":1537142400,"7C":1553472000,"8C":1568851200,"9C":1572220800,AD:1580169600,BD:1585008000,CD:1600214400,DD:1619395200,ED:1632096000,LC:1639353600,MC:1647216000,"9B":1652659200,FD:1658275200,AC:1662940800,NC:1666569600,OC:1670889600,PC:1674432000,QC:1679875200,RC:1684368000,GD:1690156800,BC:1694995200,SC:1698192000,TC:1702252800,UC:1705881600,VC:1709596800,WC:1715558400,XC:null,CC:null}},H:{A:{HD:0.1},B:"o",C:["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","HD","","",""],E:"Opera Mini",F:{HD:1426464000}},I:{A:{DC:0,J:0.000065879,I:0.656352,ID:0,JD:0,KD:0,LD:0.000131758,ZC:0.000395274,MD:0,ND:0.00144934},B:"webkit",C:["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","ID","JD","KD","DC","J","LD","ZC","MD","ND","I","","",""],E:"Android Browser",F:{ID:1256515200,JD:1274313600,KD:1291593600,DC:1298332800,J:1318896000,LD:1341792000,ZC:1374624000,MD:1386547200,ND:1401667200,I:1718064000}},J:{A:{D:0,A:0},B:"webkit",C:["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","D","A","","",""],E:"Blackberry Browser",F:{D:1325376000,A:1359504000}},K:{A:{A:0,B:0,C:0,H:1.2238,"7B":0,YC:0,"8B":0},B:"o",C:["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","A","B","7B","YC","C","8B","H","","",""],E:"Opera Mobile",F:{A:1287100800,B:1300752000,"7B":1314835200,YC:1318291200,C:1330300800,"8B":1349740800,H:1709769600},D:{H:"webkit"}},L:{A:{I:42.0636},B:"webkit",C:["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","I","","",""],E:"Chrome for Android",F:{I:1718064000}},M:{A:{"6B":0.31075},B:"moz",C:["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","6B","","",""],E:"Firefox for Android",F:{"6B":1718064000}},N:{A:{A:0,B:0},B:"ms",C:["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","A","B","","",""],E:"IE Mobile",F:{A:1340150400,B:1353456000}},O:{A:{"9B":0.913605},B:"webkit",C:["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","9B","","",""],E:"UC Browser for Android",F:{"9B":1710115200},D:{"9B":"webkit"}},P:{A:{J:0.141071,u:0.0217032,v:0.0542579,w:0.0651095,x:0.119367,y:0.227883,z:1.98584,OD:0.0108516,PD:0,QD:0.0325548,RD:0,SD:0,KC:0,TD:0.0108516,UD:0,VD:0.0108516,WD:0,XD:0,AC:0,BC:0.0217032,CC:0.0108516,YD:0.0217032},B:"webkit",C:["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","J","OD","PD","QD","RD","SD","KC","TD","UD","VD","WD","XD","AC","BC","CC","YD","u","v","w","x","y","z","","",""],E:"Samsung Internet",F:{J:1461024000,OD:1481846400,PD:1509408000,QD:1528329600,RD:1546128000,SD:1554163200,KC:1567900800,TD:1582588800,UD:1593475200,VD:1605657600,WD:1618531200,XD:1629072000,AC:1640736000,BC:1651708800,CC:1659657600,YD:1667260800,u:1677369600,v:1684454400,w:1689292800,x:1697587200,y:1711497600,z:1715126400}},Q:{A:{ZD:0.292105},B:"webkit",C:["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","ZD","","",""],E:"QQ Browser",F:{ZD:1710288000}},R:{A:{aD:0},B:"webkit",C:["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","aD","","",""],E:"Baidu Browser",F:{aD:1710201600}},S:{A:{bD:0.08701,cD:0},B:"moz",C:["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","bD","cD","","",""],E:"KaiOS Browser",F:{bD:1527811200,cD:1631664000}}}; +module.exports={A:{A:{K:0,D:0,E:0.0417486,F:0.0417486,A:0,B:0.445318,gC:0},B:"ms",C:["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","gC","K","D","E","F","A","B","","",""],E:"IE",F:{gC:962323200,K:998870400,D:1161129600,E:1237420800,F:1300060800,A:1346716800,B:1381968000}},B:{A:{"5":0.003647,"6":0.003647,"7":0.007294,"8":0.003647,"9":0.010941,C:0,L:0,M:0,G:0,N:0,O:0.003647,P:0.047411,Q:0,H:0,R:0,S:0,T:0,U:0,V:0,W:0,X:0,Y:0,Z:0,a:0,b:0.014588,c:0,d:0,e:0,f:0,g:0,h:0,i:0,j:0,k:0,l:0,m:0,n:0,o:0,p:0,q:0.003647,r:0.007294,s:0.061999,t:0.007294,u:0.007294,v:0.003647,w:0.007294,x:0.010941,AB:0.032823,BB:0.014588,CB:0.018235,DB:0.010941,EB:0.018235,FB:0.025529,GB:0.061999,HB:0.193291,IB:3.1656,JB:1.29104,KB:0.003647,I:0},B:"webkit",C:["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","C","L","M","G","N","O","P","Q","H","R","S","T","U","V","W","X","Y","Z","a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","5","6","7","8","9","AB","BB","CB","DB","EB","FB","GB","HB","IB","JB","KB","I","","",""],E:"Edge",F:{"5":1689897600,"6":1692576000,"7":1694649600,"8":1697155200,"9":1698969600,C:1438128000,L:1447286400,M:1470096000,G:1491868800,N:1508198400,O:1525046400,P:1542067200,Q:1579046400,H:1581033600,R:1586736000,S:1590019200,T:1594857600,U:1598486400,V:1602201600,W:1605830400,X:1611360000,Y:1614816000,Z:1618358400,a:1622073600,b:1626912000,c:1630627200,d:1632441600,e:1634774400,f:1637539200,g:1641427200,h:1643932800,i:1646265600,j:1649635200,k:1651190400,l:1653955200,m:1655942400,n:1659657600,o:1661990400,p:1664755200,q:1666915200,r:1670198400,s:1673481600,t:1675900800,u:1678665600,v:1680825600,w:1683158400,x:1685664000,AB:1701993600,BB:1706227200,CB:1708732800,DB:1711152000,EB:1713398400,FB:1715990400,GB:1718841600,HB:1721865600,IB:1724371200,JB:1726704000,KB:1729123200,I:1731542400},D:{C:"ms",L:"ms",M:"ms",G:"ms",N:"ms",O:"ms",P:"ms"}},C:{A:{"0":0,"1":0,"2":0,"3":0,"4":0,"5":0.335524,"6":0,"7":0.003647,"8":0.076587,"9":0,hC:0,IC:0,J:0.003647,LB:0,K:0,D:0,E:0,F:0,A:0,B:0.014588,C:0,L:0,M:0,G:0,N:0,O:0,P:0,MB:0,y:0,z:0,NB:0,OB:0,PB:0,QB:0,RB:0,SB:0,TB:0,UB:0,VB:0,WB:0,XB:0,YB:0,ZB:0,aB:0,bB:0,cB:0,dB:0.007294,eB:0.007294,fB:0.003647,gB:0,hB:0,iB:0,jB:0,kB:0,lB:0,mB:0.040117,nB:0,oB:0,pB:0.003647,qB:0.014588,rB:0,sB:0,JC:0.003647,tB:0,KC:0,uB:0,vB:0,wB:0,xB:0,yB:0,zB:0,"0B":0,"1B":0,"2B":0,"3B":0,"4B":0,"5B":0,"6B":0,"7B":0,"8B":0,"9B":0,AC:0.010941,Q:0,H:0,R:0,LC:0,S:0,T:0,U:0,V:0,W:0,X:0.007294,Y:0,Z:0,a:0,b:0,c:0,d:0.003647,e:0,f:0,g:0,h:0,i:0,j:0,k:0,l:0.003647,m:0.007294,n:0,o:0.003647,p:0,q:0,r:0,s:0.003647,t:0,u:0,v:0,w:0.007294,x:0,AB:0.007294,BB:0.003647,CB:0.003647,DB:0.003647,EB:0.003647,FB:0.014588,GB:0.010941,HB:0.021882,IB:0.03647,JB:0.299054,KB:1.30198,I:0.007294,BC:0,MC:0,NC:0,iC:0,jC:0,kC:0},B:"moz",C:["hC","IC","jC","kC","J","LB","K","D","E","F","A","B","C","L","M","G","N","O","P","MB","y","z","0","1","2","3","4","NB","OB","PB","QB","RB","SB","TB","UB","VB","WB","XB","YB","ZB","aB","bB","cB","dB","eB","fB","gB","hB","iB","jB","kB","lB","mB","nB","oB","pB","qB","rB","sB","JC","tB","KC","uB","vB","wB","xB","yB","zB","0B","1B","2B","3B","4B","5B","6B","7B","8B","9B","AC","Q","H","R","LC","S","T","U","V","W","X","Y","Z","a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","5","6","7","8","9","AB","BB","CB","DB","EB","FB","GB","HB","IB","JB","KB","I","BC","MC","NC","iC"],E:"Firefox",F:{"0":1368489600,"1":1372118400,"2":1375747200,"3":1379376000,"4":1386633600,"5":1688428800,"6":1690848000,"7":1693267200,"8":1695686400,"9":1698105600,hC:1161648000,IC:1213660800,jC:1246320000,kC:1264032000,J:1300752000,LB:1308614400,K:1313452800,D:1317081600,E:1317081600,F:1320710400,A:1324339200,B:1327968000,C:1331596800,L:1335225600,M:1338854400,G:1342483200,N:1346112000,O:1349740800,P:1353628800,MB:1357603200,y:1361232000,z:1364860800,NB:1391472000,OB:1395100800,PB:1398729600,QB:1402358400,RB:1405987200,SB:1409616000,TB:1413244800,UB:1417392000,VB:1421107200,WB:1424736000,XB:1428278400,YB:1431475200,ZB:1435881600,aB:1439251200,bB:1442880000,cB:1446508800,dB:1450137600,eB:1453852800,fB:1457395200,gB:1461628800,hB:1465257600,iB:1470096000,jB:1474329600,kB:1479168000,lB:1485216000,mB:1488844800,nB:1492560000,oB:1497312000,pB:1502150400,qB:1506556800,rB:1510617600,sB:1516665600,JC:1520985600,tB:1525824000,KC:1529971200,uB:1536105600,vB:1540252800,wB:1544486400,xB:1548720000,yB:1552953600,zB:1558396800,"0B":1562630400,"1B":1567468800,"2B":1571788800,"3B":1575331200,"4B":1578355200,"5B":1581379200,"6B":1583798400,"7B":1586304000,"8B":1588636800,"9B":1591056000,AC:1593475200,Q:1595894400,H:1598313600,R:1600732800,LC:1603152000,S:1605571200,T:1607990400,U:1611619200,V:1614038400,W:1616457600,X:1618790400,Y:1622505600,Z:1626134400,a:1628553600,b:1630972800,c:1633392000,d:1635811200,e:1638835200,f:1641859200,g:1644364800,h:1646697600,i:1649116800,j:1651536000,k:1653955200,l:1656374400,m:1658793600,n:1661212800,o:1663632000,p:1666051200,q:1668470400,r:1670889600,s:1673913600,t:1676332800,u:1678752000,v:1681171200,w:1683590400,x:1686009600,AB:1700524800,BB:1702944000,CB:1705968000,DB:1708387200,EB:1710806400,FB:1713225600,GB:1715644800,HB:1718064000,IB:1720483200,JB:1722902400,KB:1725321600,I:1727740800,BC:1730160000,MC:null,NC:null,iC:null}},D:{A:{"0":0,"1":0,"2":0,"3":0,"4":0,"5":0.025529,"6":0.156821,"7":0.098469,"8":0.07294,"9":0.058352,J:0,LB:0,K:0,D:0,E:0,F:0,A:0,B:0,C:0,L:0,M:0,G:0,N:0,O:0,P:0,MB:0,y:0,z:0,NB:0,OB:0,PB:0,QB:0,RB:0,SB:0,TB:0,UB:0,VB:0,WB:0,XB:0,YB:0.010941,ZB:0,aB:0,bB:0,cB:0,dB:0,eB:0,fB:0,gB:0,hB:0.003647,iB:0.018235,jB:0.018235,kB:0.007294,lB:0.003647,mB:0.003647,nB:0.007294,oB:0,pB:0,qB:0.021882,rB:0,sB:0.003647,JC:0,tB:0,KC:0.003647,uB:0,vB:0,wB:0,xB:0,yB:0.021882,zB:0.003647,"0B":0,"1B":0.076587,"2B":0.007294,"3B":0,"4B":0,"5B":0.007294,"6B":0.007294,"7B":0.007294,"8B":0.007294,"9B":0.018235,AC:0.014588,Q:0.098469,H:0.010941,R:0.018235,S:0.032823,T:0.007294,U:0.007294,V:0.025529,W:0.069293,X:0.014588,Y:0.010941,Z:0.010941,a:0.058352,b:0.021882,c:0.014588,d:0.047411,e:0.007294,f:0.007294,g:0.014588,h:0.040117,i:0.025529,j:0.029176,k:0.018235,l:0.014588,m:0.131292,n:0.040117,o:0.014588,p:0.025529,q:0.029176,r:0.043764,s:1.36033,t:0.021882,u:0.040117,v:0.043764,w:0.091175,x:0.091175,AB:0.094822,BB:0.098469,CB:0.10941,DB:0.142233,EB:0.262584,FB:0.258937,GB:0.419405,HB:1.15975,IB:12.4691,JB:4.05546,KB:0.014588,I:0.003647,BC:0,MC:0,NC:0},B:"webkit",C:["","","","","","","J","LB","K","D","E","F","A","B","C","L","M","G","N","O","P","MB","y","z","0","1","2","3","4","NB","OB","PB","QB","RB","SB","TB","UB","VB","WB","XB","YB","ZB","aB","bB","cB","dB","eB","fB","gB","hB","iB","jB","kB","lB","mB","nB","oB","pB","qB","rB","sB","JC","tB","KC","uB","vB","wB","xB","yB","zB","0B","1B","2B","3B","4B","5B","6B","7B","8B","9B","AC","Q","H","R","S","T","U","V","W","X","Y","Z","a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","5","6","7","8","9","AB","BB","CB","DB","EB","FB","GB","HB","IB","JB","KB","I","BC","MC","NC"],E:"Chrome",F:{"0":1343692800,"1":1348531200,"2":1352246400,"3":1357862400,"4":1361404800,"5":1689724800,"6":1692057600,"7":1694476800,"8":1696896000,"9":1698710400,J:1264377600,LB:1274745600,K:1283385600,D:1287619200,E:1291248000,F:1296777600,A:1299542400,B:1303862400,C:1307404800,L:1312243200,M:1316131200,G:1316131200,N:1319500800,O:1323734400,P:1328659200,MB:1332892800,y:1337040000,z:1340668800,NB:1364428800,OB:1369094400,PB:1374105600,QB:1376956800,RB:1384214400,SB:1389657600,TB:1392940800,UB:1397001600,VB:1400544000,WB:1405468800,XB:1409011200,YB:1412640000,ZB:1416268800,aB:1421798400,bB:1425513600,cB:1429401600,dB:1432080000,eB:1437523200,fB:1441152000,gB:1444780800,hB:1449014400,iB:1453248000,jB:1456963200,kB:1460592000,lB:1464134400,mB:1469059200,nB:1472601600,oB:1476230400,pB:1480550400,qB:1485302400,rB:1489017600,sB:1492560000,JC:1496707200,tB:1500940800,KC:1504569600,uB:1508198400,vB:1512518400,wB:1516752000,xB:1520294400,yB:1523923200,zB:1527552000,"0B":1532390400,"1B":1536019200,"2B":1539648000,"3B":1543968000,"4B":1548720000,"5B":1552348800,"6B":1555977600,"7B":1559606400,"8B":1564444800,"9B":1568073600,AC:1571702400,Q:1575936000,H:1580860800,R:1586304000,S:1589846400,T:1594684800,U:1598313600,V:1601942400,W:1605571200,X:1611014400,Y:1614556800,Z:1618272000,a:1621987200,b:1626739200,c:1630368000,d:1632268800,e:1634601600,f:1637020800,g:1641340800,h:1643673600,i:1646092800,j:1648512000,k:1650931200,l:1653350400,m:1655769600,n:1659398400,o:1661817600,p:1664236800,q:1666656000,r:1669680000,s:1673308800,t:1675728000,u:1678147200,v:1680566400,w:1682985600,x:1685404800,AB:1701993600,BB:1705968000,CB:1708387200,DB:1710806400,EB:1713225600,FB:1715644800,GB:1718064000,HB:1721174400,IB:1724112000,JB:1726531200,KB:1728950400,I:1731369600,BC:null,MC:null,NC:null}},E:{A:{J:0,LB:0,K:0,D:0,E:0,F:0,A:0,B:0,C:0,L:0.003647,M:0.025529,G:0.007294,lC:0,OC:0,mC:0,nC:0,oC:0,pC:0,PC:0,CC:0.003647,DC:0.007294,qC:0.058352,rC:0.076587,sC:0.021882,QC:0.007294,RC:0.018235,EC:0.029176,tC:0.21882,FC:0.029176,SC:0.03647,TC:0.029176,UC:0.069293,VC:0.021882,WC:0.040117,uC:0.273525,GC:0.018235,XC:0.03647,YC:0.03647,ZC:0.043764,aC:0.10941,bC:0.309995,vC:1.53903,HC:0.149527,cC:0.007294,dC:0,wC:0},B:"webkit",C:["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","lC","OC","J","LB","mC","K","nC","D","oC","E","F","pC","A","PC","B","CC","C","DC","L","qC","M","rC","G","sC","QC","RC","EC","tC","FC","SC","TC","UC","VC","WC","uC","GC","XC","YC","ZC","aC","bC","vC","HC","cC","dC","wC",""],E:"Safari",F:{lC:1205798400,OC:1226534400,J:1244419200,LB:1275868800,mC:1311120000,K:1343174400,nC:1382400000,D:1382400000,oC:1410998400,E:1413417600,F:1443657600,pC:1458518400,A:1474329600,PC:1490572800,B:1505779200,CC:1522281600,C:1537142400,DC:1553472000,L:1568851200,qC:1585008000,M:1600214400,rC:1619395200,G:1632096000,sC:1635292800,QC:1639353600,RC:1647216000,EC:1652745600,tC:1658275200,FC:1662940800,SC:1666569600,TC:1670889600,UC:1674432000,VC:1679875200,WC:1684368000,uC:1690156800,GC:1695686400,XC:1698192000,YC:1702252800,ZC:1705881600,aC:1709596800,bC:1715558400,vC:1722211200,HC:1726444800,cC:1730073600,dC:null,wC:null}},F:{A:{"0":0,"1":0,"2":0,"3":0,"4":0,F:0,B:0,C:0,G:0,N:0,O:0,P:0,MB:0,y:0,z:0,NB:0,OB:0,PB:0,QB:0,RB:0,SB:0,TB:0,UB:0,VB:0,WB:0,XB:0,YB:0,ZB:0,aB:0.003647,bB:0,cB:0,dB:0,eB:0,fB:0,gB:0.014588,hB:0,iB:0,jB:0,kB:0,lB:0,mB:0,nB:0,oB:0,pB:0,qB:0,rB:0,sB:0,tB:0,uB:0,vB:0,wB:0,xB:0,yB:0,zB:0,"0B":0,"1B":0,"2B":0,"3B":0,"4B":0,"5B":0,"6B":0,"7B":0,"8B":0,"9B":0,AC:0,Q:0,H:0,R:0,LC:0,S:0,T:0.018235,U:0,V:0,W:0,X:0,Y:0,Z:0,a:0,b:0,c:0,d:0,e:0.03647,f:0,g:0,h:0,i:0,j:0,k:0,l:0.029176,m:0,n:0,o:0,p:0,q:0,r:0,s:0.018235,t:0,u:0.007294,v:0.495992,w:0.382935,x:0.003647,xC:0,yC:0,zC:0,"0C":0,CC:0,eC:0,"1C":0,DC:0},B:"webkit",C:["","","","","","","","","","","","","","","","","","","","","","","","","F","xC","yC","zC","0C","B","CC","eC","1C","C","DC","G","N","O","P","MB","y","z","0","1","2","3","4","NB","OB","PB","QB","RB","SB","TB","UB","VB","WB","XB","YB","ZB","aB","bB","cB","dB","eB","fB","gB","hB","iB","jB","kB","lB","mB","nB","oB","pB","qB","rB","sB","tB","uB","vB","wB","xB","yB","zB","0B","1B","2B","3B","4B","5B","6B","7B","8B","9B","AC","Q","H","R","LC","S","T","U","V","W","X","Y","Z","a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","","",""],E:"Opera",F:{"0":1401753600,"1":1405987200,"2":1409616000,"3":1413331200,"4":1417132800,F:1150761600,xC:1223424000,yC:1251763200,zC:1267488000,"0C":1277942400,B:1292457600,CC:1302566400,eC:1309219200,"1C":1323129600,C:1323129600,DC:1352073600,G:1372723200,N:1377561600,O:1381104000,P:1386288000,MB:1390867200,y:1393891200,z:1399334400,NB:1422316800,OB:1425945600,PB:1430179200,QB:1433808000,RB:1438646400,SB:1442448000,TB:1445904000,UB:1449100800,VB:1454371200,WB:1457308800,XB:1462320000,YB:1465344000,ZB:1470096000,aB:1474329600,bB:1477267200,cB:1481587200,dB:1486425600,eB:1490054400,fB:1494374400,gB:1498003200,hB:1502236800,iB:1506470400,jB:1510099200,kB:1515024000,lB:1517961600,mB:1521676800,nB:1525910400,oB:1530144000,pB:1534982400,qB:1537833600,rB:1543363200,sB:1548201600,tB:1554768000,uB:1561593600,vB:1566259200,wB:1570406400,xB:1573689600,yB:1578441600,zB:1583971200,"0B":1587513600,"1B":1592956800,"2B":1595894400,"3B":1600128000,"4B":1603238400,"5B":1613520000,"6B":1612224000,"7B":1616544000,"8B":1619568000,"9B":1623715200,AC:1627948800,Q:1631577600,H:1633392000,R:1635984000,LC:1638403200,S:1642550400,T:1644969600,U:1647993600,V:1650412800,W:1652745600,X:1654646400,Y:1657152000,Z:1660780800,a:1663113600,b:1668816000,c:1668643200,d:1671062400,e:1675209600,f:1677024000,g:1679529600,h:1681948800,i:1684195200,j:1687219200,k:1690329600,l:1692748800,m:1696204800,n:1699920000,o:1699920000,p:1702944000,q:1707264000,r:1710115200,s:1711497600,t:1716336000,u:1719273600,v:1721088000,w:1724284800,x:1727222400},D:{F:"o",B:"o",C:"o",xC:"o",yC:"o",zC:"o","0C":"o",CC:"o",eC:"o","1C":"o",DC:"o"}},G:{A:{E:0,OC:0,"2C":0,fC:0.00292873,"3C":0.00146437,"4C":0.0087862,"5C":0.0102506,"6C":0,"7C":0.0102506,"8C":0.0248942,"9C":0.00732183,AD:0.0424666,BD:0.156687,CD:0.0117149,DD:0.00732183,ED:0.177188,FD:0.00292873,GD:0.0556459,HD:0.00732183,ID:0.0292873,JD:0.102506,KD:0.0893264,LD:0.0512528,QC:0.0512528,RC:0.0571103,EC:0.0702896,MD:0.69411,FC:0.139115,SC:0.276765,TC:0.139115,UC:0.234299,VC:0.0497885,WC:0.0981126,ND:0.834689,GC:0.0702896,XC:0.111292,YC:0.101041,ZC:0.144972,aC:0.31191,bC:1.48926,OD:7.91637,HC:0.998698,cC:0.0453954,dC:0},B:"webkit",C:["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","OC","2C","fC","3C","4C","5C","E","6C","7C","8C","9C","AD","BD","CD","DD","ED","FD","GD","HD","ID","JD","KD","LD","QC","RC","EC","MD","FC","SC","TC","UC","VC","WC","ND","GC","XC","YC","ZC","aC","bC","OD","HC","cC","dC","",""],E:"Safari on iOS",F:{OC:1270252800,"2C":1283904000,fC:1299628800,"3C":1331078400,"4C":1359331200,"5C":1394409600,E:1410912000,"6C":1413763200,"7C":1442361600,"8C":1458518400,"9C":1473724800,AD:1490572800,BD:1505779200,CD:1522281600,DD:1537142400,ED:1553472000,FD:1568851200,GD:1572220800,HD:1580169600,ID:1585008000,JD:1600214400,KD:1619395200,LD:1632096000,QC:1639353600,RC:1647216000,EC:1652659200,MD:1658275200,FC:1662940800,SC:1666569600,TC:1670889600,UC:1674432000,VC:1679875200,WC:1684368000,ND:1690156800,GC:1694995200,XC:1698192000,YC:1702252800,ZC:1705881600,aC:1709596800,bC:1715558400,OD:1722211200,HC:1726444800,cC:1730073600,dC:null}},H:{A:{PD:0.05},B:"o",C:["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","PD","","",""],E:"Opera Mini",F:{PD:1426464000}},I:{A:{IC:0,J:0,I:0.266132,QD:0,RD:0,SD:0,TD:0.0000266826,fC:0.00010673,UD:0,VD:0.000426922},B:"webkit",C:["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","QD","RD","SD","IC","J","TD","fC","UD","VD","I","","",""],E:"Android Browser",F:{QD:1256515200,RD:1274313600,SD:1291593600,IC:1298332800,J:1318896000,TD:1341792000,fC:1374624000,UD:1386547200,VD:1401667200,I:1731369600}},J:{A:{D:0,A:0},B:"webkit",C:["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","D","A","","",""],E:"Blackberry Browser",F:{D:1325376000,A:1359504000}},K:{A:{A:0,B:0,C:0,H:1.15072,CC:0,eC:0,DC:0},B:"o",C:["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","A","B","CC","eC","C","DC","H","","",""],E:"Opera Mobile",F:{A:1287100800,B:1300752000,CC:1314835200,eC:1318291200,C:1330300800,DC:1349740800,H:1709769600},D:{H:"webkit"}},L:{A:{I:43.6637},B:"webkit",C:["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","I","","",""],E:"Chrome for Android",F:{I:1731369600}},M:{A:{BC:0.343062},B:"moz",C:["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","BC","","",""],E:"Firefox for Android",F:{BC:1730160000}},N:{A:{A:0,B:0},B:"ms",C:["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","A","B","","",""],E:"IE Mobile",F:{A:1340150400,B:1353456000}},O:{A:{EC:1.23248},B:"webkit",C:["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","EC","","",""],E:"UC Browser for Android",F:{EC:1710115200},D:{EC:"webkit"}},P:{A:{"0":0.0434355,"1":0.0542944,"2":0.0651532,"3":0.206319,"4":1.86773,J:0.086871,y:0.0108589,z:0.0434355,WD:0.0108589,XD:0.0108589,YD:0.0325766,ZD:0,aD:0,PC:0,bD:0,cD:0,dD:0,eD:0,fD:0,FC:0,GC:0.0217177,HC:0,gD:0.0108589},B:"webkit",C:["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","J","WD","XD","YD","ZD","aD","PC","bD","cD","dD","eD","fD","FC","GC","HC","gD","y","z","0","1","2","3","4","","",""],E:"Samsung Internet",F:{"0":1689292800,"1":1697587200,"2":1711497600,"3":1715126400,"4":1717718400,J:1461024000,WD:1481846400,XD:1509408000,YD:1528329600,ZD:1546128000,aD:1554163200,PC:1567900800,bD:1582588800,cD:1593475200,dD:1605657600,eD:1618531200,fD:1629072000,FC:1640736000,GC:1651708800,HC:1659657600,gD:1667260800,y:1677369600,z:1684454400}},Q:{A:{hD:0.273179},B:"webkit",C:["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","hD","","",""],E:"QQ Browser",F:{hD:1710288000}},R:{A:{iD:0},B:"webkit",C:["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","iD","","",""],E:"Baidu Browser",F:{iD:1710201600}},S:{A:{jD:0.031765,kD:0},B:"moz",C:["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","jD","kD","","",""],E:"KaiOS Browser",F:{jD:1527811200,kD:1631664000}}}; diff --git a/node_modules/caniuse-lite/data/browserVersions.js b/node_modules/caniuse-lite/data/browserVersions.js index 2bef28c0fa..a4e9fb1cee 100644 --- a/node_modules/caniuse-lite/data/browserVersions.js +++ b/node_modules/caniuse-lite/data/browserVersions.js @@ -1 +1 @@ -module.exports={"0":"111","1":"112","2":"113","3":"114","4":"115","5":"116","6":"117","7":"118","8":"119","9":"120",A:"10",B:"11",C:"12",D:"7",E:"8",F:"9",G:"15",H:"80",I:"126",J:"4",K:"6",L:"13",M:"14",N:"16",O:"17",P:"18",Q:"79",R:"81",S:"83",T:"84",U:"85",V:"86",W:"87",X:"88",Y:"89",Z:"90",a:"91",b:"92",c:"93",d:"94",e:"95",f:"96",g:"97",h:"98",i:"99",j:"100",k:"101",l:"102",m:"103",n:"104",o:"105",p:"106",q:"107",r:"108",s:"109",t:"110",u:"20",v:"21",w:"22",x:"23",y:"24",z:"25",AB:"121",BB:"122",CB:"123",DB:"124",EB:"125",FB:"5",GB:"19",HB:"26",IB:"27",JB:"28",KB:"29",LB:"30",MB:"31",NB:"32",OB:"33",PB:"34",QB:"35",RB:"36",SB:"37",TB:"38",UB:"39",VB:"40",WB:"41",XB:"42",YB:"43",ZB:"44",aB:"45",bB:"46",cB:"47",dB:"48",eB:"49",fB:"50",gB:"51",hB:"52",iB:"53",jB:"54",kB:"55",lB:"56",mB:"57",nB:"58",oB:"60",pB:"62",qB:"63",rB:"64",sB:"65",tB:"66",uB:"67",vB:"68",wB:"69",xB:"70",yB:"71",zB:"72","0B":"73","1B":"74","2B":"75","3B":"76","4B":"77","5B":"78","6B":"127","7B":"11.1","8B":"12.1","9B":"15.5",AC:"16.0",BC:"17.0",CC:"18.0",DC:"3",EC:"59",FC:"61",GC:"82",HC:"128",IC:"129",JC:"3.2",KC:"10.1",LC:"15.2-15.3",MC:"15.4",NC:"16.1",OC:"16.2",PC:"16.3",QC:"16.4",RC:"16.5",SC:"17.1",TC:"17.2",UC:"17.3",VC:"17.4",WC:"17.5",XC:"17.6",YC:"11.5",ZC:"4.2-4.3",aC:"5.5",bC:"2",cC:"130",dC:"3.5",eC:"3.6",fC:"3.1",gC:"5.1",hC:"6.1",iC:"7.1",jC:"9.1",kC:"13.1",lC:"14.1",mC:"15.1",nC:"15.6",oC:"16.6",pC:"TP",qC:"9.5-9.6",rC:"10.0-10.1",sC:"10.5",tC:"10.6",uC:"11.6",vC:"4.0-4.1",wC:"5.0-5.1",xC:"6.0-6.1",yC:"7.0-7.1",zC:"8.1-8.4","0C":"9.0-9.2","1C":"9.3","2C":"10.0-10.2","3C":"10.3","4C":"11.0-11.2","5C":"11.3-11.4","6C":"12.0-12.1","7C":"12.2-12.5","8C":"13.0-13.1","9C":"13.2",AD:"13.3",BD:"13.4-13.7",CD:"14.0-14.4",DD:"14.5-14.8",ED:"15.0-15.1",FD:"15.6-15.8",GD:"16.6-16.7",HD:"all",ID:"2.1",JD:"2.2",KD:"2.3",LD:"4.1",MD:"4.4",ND:"4.4.3-4.4.4",OD:"5.0-5.4",PD:"6.2-6.4",QD:"7.2-7.4",RD:"8.2",SD:"9.2",TD:"11.1-11.2",UD:"12.0",VD:"13.0",WD:"14.0",XD:"15.0",YD:"19.0",ZD:"14.9",aD:"13.52",bD:"2.5",cD:"3.0-3.1"}; +module.exports={"0":"22","1":"23","2":"24","3":"25","4":"26","5":"115","6":"116","7":"117","8":"118","9":"119",A:"10",B:"11",C:"12",D:"7",E:"8",F:"9",G:"15",H:"80",I:"131",J:"4",K:"6",L:"13",M:"14",N:"16",O:"17",P:"18",Q:"79",R:"81",S:"83",T:"84",U:"85",V:"86",W:"87",X:"88",Y:"89",Z:"90",a:"91",b:"92",c:"93",d:"94",e:"95",f:"96",g:"97",h:"98",i:"99",j:"100",k:"101",l:"102",m:"103",n:"104",o:"105",p:"106",q:"107",r:"108",s:"109",t:"110",u:"111",v:"112",w:"113",x:"114",y:"20",z:"21",AB:"120",BB:"121",CB:"122",DB:"123",EB:"124",FB:"125",GB:"126",HB:"127",IB:"128",JB:"129",KB:"130",LB:"5",MB:"19",NB:"27",OB:"28",PB:"29",QB:"30",RB:"31",SB:"32",TB:"33",UB:"34",VB:"35",WB:"36",XB:"37",YB:"38",ZB:"39",aB:"40",bB:"41",cB:"42",dB:"43",eB:"44",fB:"45",gB:"46",hB:"47",iB:"48",jB:"49",kB:"50",lB:"51",mB:"52",nB:"53",oB:"54",pB:"55",qB:"56",rB:"57",sB:"58",tB:"60",uB:"62",vB:"63",wB:"64",xB:"65",yB:"66",zB:"67","0B":"68","1B":"69","2B":"70","3B":"71","4B":"72","5B":"73","6B":"74","7B":"75","8B":"76","9B":"77",AC:"78",BC:"132",CC:"11.1",DC:"12.1",EC:"15.5",FC:"16.0",GC:"17.0",HC:"18.0",IC:"3",JC:"59",KC:"61",LC:"82",MC:"133",NC:"134",OC:"3.2",PC:"10.1",QC:"15.2-15.3",RC:"15.4",SC:"16.1",TC:"16.2",UC:"16.3",VC:"16.4",WC:"16.5",XC:"17.1",YC:"17.2",ZC:"17.3",aC:"17.4",bC:"17.5",cC:"18.1",dC:"18.2",eC:"11.5",fC:"4.2-4.3",gC:"5.5",hC:"2",iC:"135",jC:"3.5",kC:"3.6",lC:"3.1",mC:"5.1",nC:"6.1",oC:"7.1",pC:"9.1",qC:"13.1",rC:"14.1",sC:"15.1",tC:"15.6",uC:"16.6",vC:"17.6",wC:"TP",xC:"9.5-9.6",yC:"10.0-10.1",zC:"10.5","0C":"10.6","1C":"11.6","2C":"4.0-4.1","3C":"5.0-5.1","4C":"6.0-6.1","5C":"7.0-7.1","6C":"8.1-8.4","7C":"9.0-9.2","8C":"9.3","9C":"10.0-10.2",AD:"10.3",BD:"11.0-11.2",CD:"11.3-11.4",DD:"12.0-12.1",ED:"12.2-12.5",FD:"13.0-13.1",GD:"13.2",HD:"13.3",ID:"13.4-13.7",JD:"14.0-14.4",KD:"14.5-14.8",LD:"15.0-15.1",MD:"15.6-15.8",ND:"16.6-16.7",OD:"17.6-17.7",PD:"all",QD:"2.1",RD:"2.2",SD:"2.3",TD:"4.1",UD:"4.4",VD:"4.4.3-4.4.4",WD:"5.0-5.4",XD:"6.2-6.4",YD:"7.2-7.4",ZD:"8.2",aD:"9.2",bD:"11.1-11.2",cD:"12.0",dD:"13.0",eD:"14.0",fD:"15.0",gD:"19.0",hD:"14.9",iD:"13.52",jD:"2.5",kD:"3.0-3.1"}; diff --git a/node_modules/caniuse-lite/data/features.js b/node_modules/caniuse-lite/data/features.js index dbebb83f80..23ac57006b 100644 --- a/node_modules/caniuse-lite/data/features.js +++ b/node_modules/caniuse-lite/data/features.js @@ -1 +1 @@ -module.exports={"aac":require("./features/aac"),"abortcontroller":require("./features/abortcontroller"),"ac3-ec3":require("./features/ac3-ec3"),"accelerometer":require("./features/accelerometer"),"addeventlistener":require("./features/addeventlistener"),"alternate-stylesheet":require("./features/alternate-stylesheet"),"ambient-light":require("./features/ambient-light"),"apng":require("./features/apng"),"array-find-index":require("./features/array-find-index"),"array-find":require("./features/array-find"),"array-flat":require("./features/array-flat"),"array-includes":require("./features/array-includes"),"arrow-functions":require("./features/arrow-functions"),"asmjs":require("./features/asmjs"),"async-clipboard":require("./features/async-clipboard"),"async-functions":require("./features/async-functions"),"atob-btoa":require("./features/atob-btoa"),"audio-api":require("./features/audio-api"),"audio":require("./features/audio"),"audiotracks":require("./features/audiotracks"),"autofocus":require("./features/autofocus"),"auxclick":require("./features/auxclick"),"av1":require("./features/av1"),"avif":require("./features/avif"),"background-attachment":require("./features/background-attachment"),"background-clip-text":require("./features/background-clip-text"),"background-img-opts":require("./features/background-img-opts"),"background-position-x-y":require("./features/background-position-x-y"),"background-repeat-round-space":require("./features/background-repeat-round-space"),"background-sync":require("./features/background-sync"),"battery-status":require("./features/battery-status"),"beacon":require("./features/beacon"),"beforeafterprint":require("./features/beforeafterprint"),"bigint":require("./features/bigint"),"blobbuilder":require("./features/blobbuilder"),"bloburls":require("./features/bloburls"),"border-image":require("./features/border-image"),"border-radius":require("./features/border-radius"),"broadcastchannel":require("./features/broadcastchannel"),"brotli":require("./features/brotli"),"calc":require("./features/calc"),"canvas-blending":require("./features/canvas-blending"),"canvas-text":require("./features/canvas-text"),"canvas":require("./features/canvas"),"ch-unit":require("./features/ch-unit"),"chacha20-poly1305":require("./features/chacha20-poly1305"),"channel-messaging":require("./features/channel-messaging"),"childnode-remove":require("./features/childnode-remove"),"classlist":require("./features/classlist"),"client-hints-dpr-width-viewport":require("./features/client-hints-dpr-width-viewport"),"clipboard":require("./features/clipboard"),"colr-v1":require("./features/colr-v1"),"colr":require("./features/colr"),"comparedocumentposition":require("./features/comparedocumentposition"),"console-basic":require("./features/console-basic"),"console-time":require("./features/console-time"),"const":require("./features/const"),"constraint-validation":require("./features/constraint-validation"),"contenteditable":require("./features/contenteditable"),"contentsecuritypolicy":require("./features/contentsecuritypolicy"),"contentsecuritypolicy2":require("./features/contentsecuritypolicy2"),"cookie-store-api":require("./features/cookie-store-api"),"cors":require("./features/cors"),"createimagebitmap":require("./features/createimagebitmap"),"credential-management":require("./features/credential-management"),"cryptography":require("./features/cryptography"),"css-all":require("./features/css-all"),"css-anchor-positioning":require("./features/css-anchor-positioning"),"css-animation":require("./features/css-animation"),"css-any-link":require("./features/css-any-link"),"css-appearance":require("./features/css-appearance"),"css-at-counter-style":require("./features/css-at-counter-style"),"css-autofill":require("./features/css-autofill"),"css-backdrop-filter":require("./features/css-backdrop-filter"),"css-background-offsets":require("./features/css-background-offsets"),"css-backgroundblendmode":require("./features/css-backgroundblendmode"),"css-boxdecorationbreak":require("./features/css-boxdecorationbreak"),"css-boxshadow":require("./features/css-boxshadow"),"css-canvas":require("./features/css-canvas"),"css-caret-color":require("./features/css-caret-color"),"css-cascade-layers":require("./features/css-cascade-layers"),"css-cascade-scope":require("./features/css-cascade-scope"),"css-case-insensitive":require("./features/css-case-insensitive"),"css-clip-path":require("./features/css-clip-path"),"css-color-adjust":require("./features/css-color-adjust"),"css-color-function":require("./features/css-color-function"),"css-conic-gradients":require("./features/css-conic-gradients"),"css-container-queries-style":require("./features/css-container-queries-style"),"css-container-queries":require("./features/css-container-queries"),"css-container-query-units":require("./features/css-container-query-units"),"css-containment":require("./features/css-containment"),"css-content-visibility":require("./features/css-content-visibility"),"css-counters":require("./features/css-counters"),"css-crisp-edges":require("./features/css-crisp-edges"),"css-cross-fade":require("./features/css-cross-fade"),"css-default-pseudo":require("./features/css-default-pseudo"),"css-descendant-gtgt":require("./features/css-descendant-gtgt"),"css-deviceadaptation":require("./features/css-deviceadaptation"),"css-dir-pseudo":require("./features/css-dir-pseudo"),"css-display-contents":require("./features/css-display-contents"),"css-element-function":require("./features/css-element-function"),"css-env-function":require("./features/css-env-function"),"css-exclusions":require("./features/css-exclusions"),"css-featurequeries":require("./features/css-featurequeries"),"css-file-selector-button":require("./features/css-file-selector-button"),"css-filter-function":require("./features/css-filter-function"),"css-filters":require("./features/css-filters"),"css-first-letter":require("./features/css-first-letter"),"css-first-line":require("./features/css-first-line"),"css-fixed":require("./features/css-fixed"),"css-focus-visible":require("./features/css-focus-visible"),"css-focus-within":require("./features/css-focus-within"),"css-font-palette":require("./features/css-font-palette"),"css-font-rendering-controls":require("./features/css-font-rendering-controls"),"css-font-stretch":require("./features/css-font-stretch"),"css-gencontent":require("./features/css-gencontent"),"css-gradients":require("./features/css-gradients"),"css-grid-animation":require("./features/css-grid-animation"),"css-grid":require("./features/css-grid"),"css-hanging-punctuation":require("./features/css-hanging-punctuation"),"css-has":require("./features/css-has"),"css-hyphens":require("./features/css-hyphens"),"css-image-orientation":require("./features/css-image-orientation"),"css-image-set":require("./features/css-image-set"),"css-in-out-of-range":require("./features/css-in-out-of-range"),"css-indeterminate-pseudo":require("./features/css-indeterminate-pseudo"),"css-initial-letter":require("./features/css-initial-letter"),"css-initial-value":require("./features/css-initial-value"),"css-lch-lab":require("./features/css-lch-lab"),"css-letter-spacing":require("./features/css-letter-spacing"),"css-line-clamp":require("./features/css-line-clamp"),"css-logical-props":require("./features/css-logical-props"),"css-marker-pseudo":require("./features/css-marker-pseudo"),"css-masks":require("./features/css-masks"),"css-matches-pseudo":require("./features/css-matches-pseudo"),"css-math-functions":require("./features/css-math-functions"),"css-media-interaction":require("./features/css-media-interaction"),"css-media-range-syntax":require("./features/css-media-range-syntax"),"css-media-resolution":require("./features/css-media-resolution"),"css-media-scripting":require("./features/css-media-scripting"),"css-mediaqueries":require("./features/css-mediaqueries"),"css-mixblendmode":require("./features/css-mixblendmode"),"css-module-scripts":require("./features/css-module-scripts"),"css-motion-paths":require("./features/css-motion-paths"),"css-namespaces":require("./features/css-namespaces"),"css-nesting":require("./features/css-nesting"),"css-not-sel-list":require("./features/css-not-sel-list"),"css-nth-child-of":require("./features/css-nth-child-of"),"css-opacity":require("./features/css-opacity"),"css-optional-pseudo":require("./features/css-optional-pseudo"),"css-overflow-anchor":require("./features/css-overflow-anchor"),"css-overflow-overlay":require("./features/css-overflow-overlay"),"css-overflow":require("./features/css-overflow"),"css-overscroll-behavior":require("./features/css-overscroll-behavior"),"css-page-break":require("./features/css-page-break"),"css-paged-media":require("./features/css-paged-media"),"css-paint-api":require("./features/css-paint-api"),"css-placeholder-shown":require("./features/css-placeholder-shown"),"css-placeholder":require("./features/css-placeholder"),"css-print-color-adjust":require("./features/css-print-color-adjust"),"css-read-only-write":require("./features/css-read-only-write"),"css-rebeccapurple":require("./features/css-rebeccapurple"),"css-reflections":require("./features/css-reflections"),"css-regions":require("./features/css-regions"),"css-relative-colors":require("./features/css-relative-colors"),"css-repeating-gradients":require("./features/css-repeating-gradients"),"css-resize":require("./features/css-resize"),"css-revert-value":require("./features/css-revert-value"),"css-rrggbbaa":require("./features/css-rrggbbaa"),"css-scroll-behavior":require("./features/css-scroll-behavior"),"css-scroll-timeline":require("./features/css-scroll-timeline"),"css-scrollbar":require("./features/css-scrollbar"),"css-sel2":require("./features/css-sel2"),"css-sel3":require("./features/css-sel3"),"css-selection":require("./features/css-selection"),"css-shapes":require("./features/css-shapes"),"css-snappoints":require("./features/css-snappoints"),"css-sticky":require("./features/css-sticky"),"css-subgrid":require("./features/css-subgrid"),"css-supports-api":require("./features/css-supports-api"),"css-table":require("./features/css-table"),"css-text-align-last":require("./features/css-text-align-last"),"css-text-box-trim":require("./features/css-text-box-trim"),"css-text-indent":require("./features/css-text-indent"),"css-text-justify":require("./features/css-text-justify"),"css-text-orientation":require("./features/css-text-orientation"),"css-text-spacing":require("./features/css-text-spacing"),"css-text-wrap-balance":require("./features/css-text-wrap-balance"),"css-textshadow":require("./features/css-textshadow"),"css-touch-action":require("./features/css-touch-action"),"css-transitions":require("./features/css-transitions"),"css-unicode-bidi":require("./features/css-unicode-bidi"),"css-unset-value":require("./features/css-unset-value"),"css-variables":require("./features/css-variables"),"css-when-else":require("./features/css-when-else"),"css-widows-orphans":require("./features/css-widows-orphans"),"css-width-stretch":require("./features/css-width-stretch"),"css-writing-mode":require("./features/css-writing-mode"),"css-zoom":require("./features/css-zoom"),"css3-attr":require("./features/css3-attr"),"css3-boxsizing":require("./features/css3-boxsizing"),"css3-colors":require("./features/css3-colors"),"css3-cursors-grab":require("./features/css3-cursors-grab"),"css3-cursors-newer":require("./features/css3-cursors-newer"),"css3-cursors":require("./features/css3-cursors"),"css3-tabsize":require("./features/css3-tabsize"),"currentcolor":require("./features/currentcolor"),"custom-elements":require("./features/custom-elements"),"custom-elementsv1":require("./features/custom-elementsv1"),"customevent":require("./features/customevent"),"datalist":require("./features/datalist"),"dataset":require("./features/dataset"),"datauri":require("./features/datauri"),"date-tolocaledatestring":require("./features/date-tolocaledatestring"),"declarative-shadow-dom":require("./features/declarative-shadow-dom"),"decorators":require("./features/decorators"),"details":require("./features/details"),"deviceorientation":require("./features/deviceorientation"),"devicepixelratio":require("./features/devicepixelratio"),"dialog":require("./features/dialog"),"dispatchevent":require("./features/dispatchevent"),"dnssec":require("./features/dnssec"),"do-not-track":require("./features/do-not-track"),"document-currentscript":require("./features/document-currentscript"),"document-evaluate-xpath":require("./features/document-evaluate-xpath"),"document-execcommand":require("./features/document-execcommand"),"document-policy":require("./features/document-policy"),"document-scrollingelement":require("./features/document-scrollingelement"),"documenthead":require("./features/documenthead"),"dom-manip-convenience":require("./features/dom-manip-convenience"),"dom-range":require("./features/dom-range"),"domcontentloaded":require("./features/domcontentloaded"),"dommatrix":require("./features/dommatrix"),"download":require("./features/download"),"dragndrop":require("./features/dragndrop"),"element-closest":require("./features/element-closest"),"element-from-point":require("./features/element-from-point"),"element-scroll-methods":require("./features/element-scroll-methods"),"eme":require("./features/eme"),"eot":require("./features/eot"),"es5":require("./features/es5"),"es6-class":require("./features/es6-class"),"es6-generators":require("./features/es6-generators"),"es6-module-dynamic-import":require("./features/es6-module-dynamic-import"),"es6-module":require("./features/es6-module"),"es6-number":require("./features/es6-number"),"es6-string-includes":require("./features/es6-string-includes"),"es6":require("./features/es6"),"eventsource":require("./features/eventsource"),"extended-system-fonts":require("./features/extended-system-fonts"),"feature-policy":require("./features/feature-policy"),"fetch":require("./features/fetch"),"fieldset-disabled":require("./features/fieldset-disabled"),"fileapi":require("./features/fileapi"),"filereader":require("./features/filereader"),"filereadersync":require("./features/filereadersync"),"filesystem":require("./features/filesystem"),"flac":require("./features/flac"),"flexbox-gap":require("./features/flexbox-gap"),"flexbox":require("./features/flexbox"),"flow-root":require("./features/flow-root"),"focusin-focusout-events":require("./features/focusin-focusout-events"),"font-family-system-ui":require("./features/font-family-system-ui"),"font-feature":require("./features/font-feature"),"font-kerning":require("./features/font-kerning"),"font-loading":require("./features/font-loading"),"font-size-adjust":require("./features/font-size-adjust"),"font-smooth":require("./features/font-smooth"),"font-unicode-range":require("./features/font-unicode-range"),"font-variant-alternates":require("./features/font-variant-alternates"),"font-variant-numeric":require("./features/font-variant-numeric"),"fontface":require("./features/fontface"),"form-attribute":require("./features/form-attribute"),"form-submit-attributes":require("./features/form-submit-attributes"),"form-validation":require("./features/form-validation"),"forms":require("./features/forms"),"fullscreen":require("./features/fullscreen"),"gamepad":require("./features/gamepad"),"geolocation":require("./features/geolocation"),"getboundingclientrect":require("./features/getboundingclientrect"),"getcomputedstyle":require("./features/getcomputedstyle"),"getelementsbyclassname":require("./features/getelementsbyclassname"),"getrandomvalues":require("./features/getrandomvalues"),"gyroscope":require("./features/gyroscope"),"hardwareconcurrency":require("./features/hardwareconcurrency"),"hashchange":require("./features/hashchange"),"heif":require("./features/heif"),"hevc":require("./features/hevc"),"hidden":require("./features/hidden"),"high-resolution-time":require("./features/high-resolution-time"),"history":require("./features/history"),"html-media-capture":require("./features/html-media-capture"),"html5semantic":require("./features/html5semantic"),"http-live-streaming":require("./features/http-live-streaming"),"http2":require("./features/http2"),"http3":require("./features/http3"),"iframe-sandbox":require("./features/iframe-sandbox"),"iframe-seamless":require("./features/iframe-seamless"),"iframe-srcdoc":require("./features/iframe-srcdoc"),"imagecapture":require("./features/imagecapture"),"ime":require("./features/ime"),"img-naturalwidth-naturalheight":require("./features/img-naturalwidth-naturalheight"),"import-maps":require("./features/import-maps"),"imports":require("./features/imports"),"indeterminate-checkbox":require("./features/indeterminate-checkbox"),"indexeddb":require("./features/indexeddb"),"indexeddb2":require("./features/indexeddb2"),"inline-block":require("./features/inline-block"),"innertext":require("./features/innertext"),"input-autocomplete-onoff":require("./features/input-autocomplete-onoff"),"input-color":require("./features/input-color"),"input-datetime":require("./features/input-datetime"),"input-email-tel-url":require("./features/input-email-tel-url"),"input-event":require("./features/input-event"),"input-file-accept":require("./features/input-file-accept"),"input-file-directory":require("./features/input-file-directory"),"input-file-multiple":require("./features/input-file-multiple"),"input-inputmode":require("./features/input-inputmode"),"input-minlength":require("./features/input-minlength"),"input-number":require("./features/input-number"),"input-pattern":require("./features/input-pattern"),"input-placeholder":require("./features/input-placeholder"),"input-range":require("./features/input-range"),"input-search":require("./features/input-search"),"input-selection":require("./features/input-selection"),"insert-adjacent":require("./features/insert-adjacent"),"insertadjacenthtml":require("./features/insertadjacenthtml"),"internationalization":require("./features/internationalization"),"intersectionobserver-v2":require("./features/intersectionobserver-v2"),"intersectionobserver":require("./features/intersectionobserver"),"intl-pluralrules":require("./features/intl-pluralrules"),"intrinsic-width":require("./features/intrinsic-width"),"jpeg2000":require("./features/jpeg2000"),"jpegxl":require("./features/jpegxl"),"jpegxr":require("./features/jpegxr"),"js-regexp-lookbehind":require("./features/js-regexp-lookbehind"),"json":require("./features/json"),"justify-content-space-evenly":require("./features/justify-content-space-evenly"),"kerning-pairs-ligatures":require("./features/kerning-pairs-ligatures"),"keyboardevent-charcode":require("./features/keyboardevent-charcode"),"keyboardevent-code":require("./features/keyboardevent-code"),"keyboardevent-getmodifierstate":require("./features/keyboardevent-getmodifierstate"),"keyboardevent-key":require("./features/keyboardevent-key"),"keyboardevent-location":require("./features/keyboardevent-location"),"keyboardevent-which":require("./features/keyboardevent-which"),"lazyload":require("./features/lazyload"),"let":require("./features/let"),"link-icon-png":require("./features/link-icon-png"),"link-icon-svg":require("./features/link-icon-svg"),"link-rel-dns-prefetch":require("./features/link-rel-dns-prefetch"),"link-rel-modulepreload":require("./features/link-rel-modulepreload"),"link-rel-preconnect":require("./features/link-rel-preconnect"),"link-rel-prefetch":require("./features/link-rel-prefetch"),"link-rel-preload":require("./features/link-rel-preload"),"link-rel-prerender":require("./features/link-rel-prerender"),"loading-lazy-attr":require("./features/loading-lazy-attr"),"localecompare":require("./features/localecompare"),"magnetometer":require("./features/magnetometer"),"matchesselector":require("./features/matchesselector"),"matchmedia":require("./features/matchmedia"),"mathml":require("./features/mathml"),"maxlength":require("./features/maxlength"),"mdn-css-backdrop-pseudo-element":require("./features/mdn-css-backdrop-pseudo-element"),"mdn-css-unicode-bidi-isolate-override":require("./features/mdn-css-unicode-bidi-isolate-override"),"mdn-css-unicode-bidi-isolate":require("./features/mdn-css-unicode-bidi-isolate"),"mdn-css-unicode-bidi-plaintext":require("./features/mdn-css-unicode-bidi-plaintext"),"mdn-text-decoration-color":require("./features/mdn-text-decoration-color"),"mdn-text-decoration-line":require("./features/mdn-text-decoration-line"),"mdn-text-decoration-shorthand":require("./features/mdn-text-decoration-shorthand"),"mdn-text-decoration-style":require("./features/mdn-text-decoration-style"),"media-fragments":require("./features/media-fragments"),"mediacapture-fromelement":require("./features/mediacapture-fromelement"),"mediarecorder":require("./features/mediarecorder"),"mediasource":require("./features/mediasource"),"menu":require("./features/menu"),"meta-theme-color":require("./features/meta-theme-color"),"meter":require("./features/meter"),"midi":require("./features/midi"),"minmaxwh":require("./features/minmaxwh"),"mp3":require("./features/mp3"),"mpeg-dash":require("./features/mpeg-dash"),"mpeg4":require("./features/mpeg4"),"multibackgrounds":require("./features/multibackgrounds"),"multicolumn":require("./features/multicolumn"),"mutation-events":require("./features/mutation-events"),"mutationobserver":require("./features/mutationobserver"),"namevalue-storage":require("./features/namevalue-storage"),"native-filesystem-api":require("./features/native-filesystem-api"),"nav-timing":require("./features/nav-timing"),"netinfo":require("./features/netinfo"),"notifications":require("./features/notifications"),"object-entries":require("./features/object-entries"),"object-fit":require("./features/object-fit"),"object-observe":require("./features/object-observe"),"object-values":require("./features/object-values"),"objectrtc":require("./features/objectrtc"),"offline-apps":require("./features/offline-apps"),"offscreencanvas":require("./features/offscreencanvas"),"ogg-vorbis":require("./features/ogg-vorbis"),"ogv":require("./features/ogv"),"ol-reversed":require("./features/ol-reversed"),"once-event-listener":require("./features/once-event-listener"),"online-status":require("./features/online-status"),"opus":require("./features/opus"),"orientation-sensor":require("./features/orientation-sensor"),"outline":require("./features/outline"),"pad-start-end":require("./features/pad-start-end"),"page-transition-events":require("./features/page-transition-events"),"pagevisibility":require("./features/pagevisibility"),"passive-event-listener":require("./features/passive-event-listener"),"passkeys":require("./features/passkeys"),"passwordrules":require("./features/passwordrules"),"path2d":require("./features/path2d"),"payment-request":require("./features/payment-request"),"pdf-viewer":require("./features/pdf-viewer"),"permissions-api":require("./features/permissions-api"),"permissions-policy":require("./features/permissions-policy"),"picture-in-picture":require("./features/picture-in-picture"),"picture":require("./features/picture"),"ping":require("./features/ping"),"png-alpha":require("./features/png-alpha"),"pointer-events":require("./features/pointer-events"),"pointer":require("./features/pointer"),"pointerlock":require("./features/pointerlock"),"portals":require("./features/portals"),"prefers-color-scheme":require("./features/prefers-color-scheme"),"prefers-reduced-motion":require("./features/prefers-reduced-motion"),"progress":require("./features/progress"),"promise-finally":require("./features/promise-finally"),"promises":require("./features/promises"),"proximity":require("./features/proximity"),"proxy":require("./features/proxy"),"publickeypinning":require("./features/publickeypinning"),"push-api":require("./features/push-api"),"queryselector":require("./features/queryselector"),"readonly-attr":require("./features/readonly-attr"),"referrer-policy":require("./features/referrer-policy"),"registerprotocolhandler":require("./features/registerprotocolhandler"),"rel-noopener":require("./features/rel-noopener"),"rel-noreferrer":require("./features/rel-noreferrer"),"rellist":require("./features/rellist"),"rem":require("./features/rem"),"requestanimationframe":require("./features/requestanimationframe"),"requestidlecallback":require("./features/requestidlecallback"),"resizeobserver":require("./features/resizeobserver"),"resource-timing":require("./features/resource-timing"),"rest-parameters":require("./features/rest-parameters"),"rtcpeerconnection":require("./features/rtcpeerconnection"),"ruby":require("./features/ruby"),"run-in":require("./features/run-in"),"same-site-cookie-attribute":require("./features/same-site-cookie-attribute"),"screen-orientation":require("./features/screen-orientation"),"script-async":require("./features/script-async"),"script-defer":require("./features/script-defer"),"scrollintoview":require("./features/scrollintoview"),"scrollintoviewifneeded":require("./features/scrollintoviewifneeded"),"sdch":require("./features/sdch"),"selection-api":require("./features/selection-api"),"selectlist":require("./features/selectlist"),"server-timing":require("./features/server-timing"),"serviceworkers":require("./features/serviceworkers"),"setimmediate":require("./features/setimmediate"),"shadowdom":require("./features/shadowdom"),"shadowdomv1":require("./features/shadowdomv1"),"sharedarraybuffer":require("./features/sharedarraybuffer"),"sharedworkers":require("./features/sharedworkers"),"sni":require("./features/sni"),"spdy":require("./features/spdy"),"speech-recognition":require("./features/speech-recognition"),"speech-synthesis":require("./features/speech-synthesis"),"spellcheck-attribute":require("./features/spellcheck-attribute"),"sql-storage":require("./features/sql-storage"),"srcset":require("./features/srcset"),"stream":require("./features/stream"),"streams":require("./features/streams"),"stricttransportsecurity":require("./features/stricttransportsecurity"),"style-scoped":require("./features/style-scoped"),"subresource-bundling":require("./features/subresource-bundling"),"subresource-integrity":require("./features/subresource-integrity"),"svg-css":require("./features/svg-css"),"svg-filters":require("./features/svg-filters"),"svg-fonts":require("./features/svg-fonts"),"svg-fragment":require("./features/svg-fragment"),"svg-html":require("./features/svg-html"),"svg-html5":require("./features/svg-html5"),"svg-img":require("./features/svg-img"),"svg-smil":require("./features/svg-smil"),"svg":require("./features/svg"),"sxg":require("./features/sxg"),"tabindex-attr":require("./features/tabindex-attr"),"template-literals":require("./features/template-literals"),"template":require("./features/template"),"temporal":require("./features/temporal"),"testfeat":require("./features/testfeat"),"text-decoration":require("./features/text-decoration"),"text-emphasis":require("./features/text-emphasis"),"text-overflow":require("./features/text-overflow"),"text-size-adjust":require("./features/text-size-adjust"),"text-stroke":require("./features/text-stroke"),"textcontent":require("./features/textcontent"),"textencoder":require("./features/textencoder"),"tls1-1":require("./features/tls1-1"),"tls1-2":require("./features/tls1-2"),"tls1-3":require("./features/tls1-3"),"touch":require("./features/touch"),"transforms2d":require("./features/transforms2d"),"transforms3d":require("./features/transforms3d"),"trusted-types":require("./features/trusted-types"),"ttf":require("./features/ttf"),"typedarrays":require("./features/typedarrays"),"u2f":require("./features/u2f"),"unhandledrejection":require("./features/unhandledrejection"),"upgradeinsecurerequests":require("./features/upgradeinsecurerequests"),"url-scroll-to-text-fragment":require("./features/url-scroll-to-text-fragment"),"url":require("./features/url"),"urlsearchparams":require("./features/urlsearchparams"),"use-strict":require("./features/use-strict"),"user-select-none":require("./features/user-select-none"),"user-timing":require("./features/user-timing"),"variable-fonts":require("./features/variable-fonts"),"vector-effect":require("./features/vector-effect"),"vibration":require("./features/vibration"),"video":require("./features/video"),"videotracks":require("./features/videotracks"),"view-transitions":require("./features/view-transitions"),"viewport-unit-variants":require("./features/viewport-unit-variants"),"viewport-units":require("./features/viewport-units"),"wai-aria":require("./features/wai-aria"),"wake-lock":require("./features/wake-lock"),"wasm-bigint":require("./features/wasm-bigint"),"wasm-bulk-memory":require("./features/wasm-bulk-memory"),"wasm-extended-const":require("./features/wasm-extended-const"),"wasm-gc":require("./features/wasm-gc"),"wasm-multi-memory":require("./features/wasm-multi-memory"),"wasm-multi-value":require("./features/wasm-multi-value"),"wasm-mutable-globals":require("./features/wasm-mutable-globals"),"wasm-nontrapping-fptoint":require("./features/wasm-nontrapping-fptoint"),"wasm-reference-types":require("./features/wasm-reference-types"),"wasm-relaxed-simd":require("./features/wasm-relaxed-simd"),"wasm-signext":require("./features/wasm-signext"),"wasm-simd":require("./features/wasm-simd"),"wasm-tail-calls":require("./features/wasm-tail-calls"),"wasm-threads":require("./features/wasm-threads"),"wasm":require("./features/wasm"),"wav":require("./features/wav"),"wbr-element":require("./features/wbr-element"),"web-animation":require("./features/web-animation"),"web-app-manifest":require("./features/web-app-manifest"),"web-bluetooth":require("./features/web-bluetooth"),"web-serial":require("./features/web-serial"),"web-share":require("./features/web-share"),"webauthn":require("./features/webauthn"),"webcodecs":require("./features/webcodecs"),"webgl":require("./features/webgl"),"webgl2":require("./features/webgl2"),"webgpu":require("./features/webgpu"),"webhid":require("./features/webhid"),"webkit-user-drag":require("./features/webkit-user-drag"),"webm":require("./features/webm"),"webnfc":require("./features/webnfc"),"webp":require("./features/webp"),"websockets":require("./features/websockets"),"webtransport":require("./features/webtransport"),"webusb":require("./features/webusb"),"webvr":require("./features/webvr"),"webvtt":require("./features/webvtt"),"webworkers":require("./features/webworkers"),"webxr":require("./features/webxr"),"will-change":require("./features/will-change"),"woff":require("./features/woff"),"woff2":require("./features/woff2"),"word-break":require("./features/word-break"),"wordwrap":require("./features/wordwrap"),"x-doc-messaging":require("./features/x-doc-messaging"),"x-frame-options":require("./features/x-frame-options"),"xhr2":require("./features/xhr2"),"xhtml":require("./features/xhtml"),"xhtmlsmil":require("./features/xhtmlsmil"),"xml-serializer":require("./features/xml-serializer"),"zstd":require("./features/zstd")}; +module.exports={"aac":require("./features/aac"),"abortcontroller":require("./features/abortcontroller"),"ac3-ec3":require("./features/ac3-ec3"),"accelerometer":require("./features/accelerometer"),"addeventlistener":require("./features/addeventlistener"),"alternate-stylesheet":require("./features/alternate-stylesheet"),"ambient-light":require("./features/ambient-light"),"apng":require("./features/apng"),"array-find-index":require("./features/array-find-index"),"array-find":require("./features/array-find"),"array-flat":require("./features/array-flat"),"array-includes":require("./features/array-includes"),"arrow-functions":require("./features/arrow-functions"),"asmjs":require("./features/asmjs"),"async-clipboard":require("./features/async-clipboard"),"async-functions":require("./features/async-functions"),"atob-btoa":require("./features/atob-btoa"),"audio-api":require("./features/audio-api"),"audio":require("./features/audio"),"audiotracks":require("./features/audiotracks"),"autofocus":require("./features/autofocus"),"auxclick":require("./features/auxclick"),"av1":require("./features/av1"),"avif":require("./features/avif"),"background-attachment":require("./features/background-attachment"),"background-clip-text":require("./features/background-clip-text"),"background-img-opts":require("./features/background-img-opts"),"background-position-x-y":require("./features/background-position-x-y"),"background-repeat-round-space":require("./features/background-repeat-round-space"),"background-sync":require("./features/background-sync"),"battery-status":require("./features/battery-status"),"beacon":require("./features/beacon"),"beforeafterprint":require("./features/beforeafterprint"),"bigint":require("./features/bigint"),"blobbuilder":require("./features/blobbuilder"),"bloburls":require("./features/bloburls"),"border-image":require("./features/border-image"),"border-radius":require("./features/border-radius"),"broadcastchannel":require("./features/broadcastchannel"),"brotli":require("./features/brotli"),"calc":require("./features/calc"),"canvas-blending":require("./features/canvas-blending"),"canvas-text":require("./features/canvas-text"),"canvas":require("./features/canvas"),"ch-unit":require("./features/ch-unit"),"chacha20-poly1305":require("./features/chacha20-poly1305"),"channel-messaging":require("./features/channel-messaging"),"childnode-remove":require("./features/childnode-remove"),"classlist":require("./features/classlist"),"client-hints-dpr-width-viewport":require("./features/client-hints-dpr-width-viewport"),"clipboard":require("./features/clipboard"),"colr-v1":require("./features/colr-v1"),"colr":require("./features/colr"),"comparedocumentposition":require("./features/comparedocumentposition"),"console-basic":require("./features/console-basic"),"console-time":require("./features/console-time"),"const":require("./features/const"),"constraint-validation":require("./features/constraint-validation"),"contenteditable":require("./features/contenteditable"),"contentsecuritypolicy":require("./features/contentsecuritypolicy"),"contentsecuritypolicy2":require("./features/contentsecuritypolicy2"),"cookie-store-api":require("./features/cookie-store-api"),"cors":require("./features/cors"),"createimagebitmap":require("./features/createimagebitmap"),"credential-management":require("./features/credential-management"),"cryptography":require("./features/cryptography"),"css-all":require("./features/css-all"),"css-anchor-positioning":require("./features/css-anchor-positioning"),"css-animation":require("./features/css-animation"),"css-any-link":require("./features/css-any-link"),"css-appearance":require("./features/css-appearance"),"css-at-counter-style":require("./features/css-at-counter-style"),"css-autofill":require("./features/css-autofill"),"css-backdrop-filter":require("./features/css-backdrop-filter"),"css-background-offsets":require("./features/css-background-offsets"),"css-backgroundblendmode":require("./features/css-backgroundblendmode"),"css-boxdecorationbreak":require("./features/css-boxdecorationbreak"),"css-boxshadow":require("./features/css-boxshadow"),"css-canvas":require("./features/css-canvas"),"css-caret-color":require("./features/css-caret-color"),"css-cascade-layers":require("./features/css-cascade-layers"),"css-cascade-scope":require("./features/css-cascade-scope"),"css-case-insensitive":require("./features/css-case-insensitive"),"css-clip-path":require("./features/css-clip-path"),"css-color-adjust":require("./features/css-color-adjust"),"css-color-function":require("./features/css-color-function"),"css-conic-gradients":require("./features/css-conic-gradients"),"css-container-queries-style":require("./features/css-container-queries-style"),"css-container-queries":require("./features/css-container-queries"),"css-container-query-units":require("./features/css-container-query-units"),"css-containment":require("./features/css-containment"),"css-content-visibility":require("./features/css-content-visibility"),"css-counters":require("./features/css-counters"),"css-crisp-edges":require("./features/css-crisp-edges"),"css-cross-fade":require("./features/css-cross-fade"),"css-default-pseudo":require("./features/css-default-pseudo"),"css-descendant-gtgt":require("./features/css-descendant-gtgt"),"css-deviceadaptation":require("./features/css-deviceadaptation"),"css-dir-pseudo":require("./features/css-dir-pseudo"),"css-display-contents":require("./features/css-display-contents"),"css-element-function":require("./features/css-element-function"),"css-env-function":require("./features/css-env-function"),"css-exclusions":require("./features/css-exclusions"),"css-featurequeries":require("./features/css-featurequeries"),"css-file-selector-button":require("./features/css-file-selector-button"),"css-filter-function":require("./features/css-filter-function"),"css-filters":require("./features/css-filters"),"css-first-letter":require("./features/css-first-letter"),"css-first-line":require("./features/css-first-line"),"css-fixed":require("./features/css-fixed"),"css-focus-visible":require("./features/css-focus-visible"),"css-focus-within":require("./features/css-focus-within"),"css-font-palette":require("./features/css-font-palette"),"css-font-rendering-controls":require("./features/css-font-rendering-controls"),"css-font-stretch":require("./features/css-font-stretch"),"css-gencontent":require("./features/css-gencontent"),"css-gradients":require("./features/css-gradients"),"css-grid-animation":require("./features/css-grid-animation"),"css-grid":require("./features/css-grid"),"css-hanging-punctuation":require("./features/css-hanging-punctuation"),"css-has":require("./features/css-has"),"css-hyphens":require("./features/css-hyphens"),"css-image-orientation":require("./features/css-image-orientation"),"css-image-set":require("./features/css-image-set"),"css-in-out-of-range":require("./features/css-in-out-of-range"),"css-indeterminate-pseudo":require("./features/css-indeterminate-pseudo"),"css-initial-letter":require("./features/css-initial-letter"),"css-initial-value":require("./features/css-initial-value"),"css-lch-lab":require("./features/css-lch-lab"),"css-letter-spacing":require("./features/css-letter-spacing"),"css-line-clamp":require("./features/css-line-clamp"),"css-logical-props":require("./features/css-logical-props"),"css-marker-pseudo":require("./features/css-marker-pseudo"),"css-masks":require("./features/css-masks"),"css-matches-pseudo":require("./features/css-matches-pseudo"),"css-math-functions":require("./features/css-math-functions"),"css-media-interaction":require("./features/css-media-interaction"),"css-media-range-syntax":require("./features/css-media-range-syntax"),"css-media-resolution":require("./features/css-media-resolution"),"css-media-scripting":require("./features/css-media-scripting"),"css-mediaqueries":require("./features/css-mediaqueries"),"css-mixblendmode":require("./features/css-mixblendmode"),"css-module-scripts":require("./features/css-module-scripts"),"css-motion-paths":require("./features/css-motion-paths"),"css-namespaces":require("./features/css-namespaces"),"css-nesting":require("./features/css-nesting"),"css-not-sel-list":require("./features/css-not-sel-list"),"css-nth-child-of":require("./features/css-nth-child-of"),"css-opacity":require("./features/css-opacity"),"css-optional-pseudo":require("./features/css-optional-pseudo"),"css-overflow-anchor":require("./features/css-overflow-anchor"),"css-overflow-overlay":require("./features/css-overflow-overlay"),"css-overflow":require("./features/css-overflow"),"css-overscroll-behavior":require("./features/css-overscroll-behavior"),"css-page-break":require("./features/css-page-break"),"css-paged-media":require("./features/css-paged-media"),"css-paint-api":require("./features/css-paint-api"),"css-placeholder-shown":require("./features/css-placeholder-shown"),"css-placeholder":require("./features/css-placeholder"),"css-print-color-adjust":require("./features/css-print-color-adjust"),"css-read-only-write":require("./features/css-read-only-write"),"css-rebeccapurple":require("./features/css-rebeccapurple"),"css-reflections":require("./features/css-reflections"),"css-regions":require("./features/css-regions"),"css-relative-colors":require("./features/css-relative-colors"),"css-repeating-gradients":require("./features/css-repeating-gradients"),"css-resize":require("./features/css-resize"),"css-revert-value":require("./features/css-revert-value"),"css-rrggbbaa":require("./features/css-rrggbbaa"),"css-scroll-behavior":require("./features/css-scroll-behavior"),"css-scrollbar":require("./features/css-scrollbar"),"css-sel2":require("./features/css-sel2"),"css-sel3":require("./features/css-sel3"),"css-selection":require("./features/css-selection"),"css-shapes":require("./features/css-shapes"),"css-snappoints":require("./features/css-snappoints"),"css-sticky":require("./features/css-sticky"),"css-subgrid":require("./features/css-subgrid"),"css-supports-api":require("./features/css-supports-api"),"css-table":require("./features/css-table"),"css-text-align-last":require("./features/css-text-align-last"),"css-text-box-trim":require("./features/css-text-box-trim"),"css-text-indent":require("./features/css-text-indent"),"css-text-justify":require("./features/css-text-justify"),"css-text-orientation":require("./features/css-text-orientation"),"css-text-spacing":require("./features/css-text-spacing"),"css-text-wrap-balance":require("./features/css-text-wrap-balance"),"css-textshadow":require("./features/css-textshadow"),"css-touch-action":require("./features/css-touch-action"),"css-transitions":require("./features/css-transitions"),"css-unicode-bidi":require("./features/css-unicode-bidi"),"css-unset-value":require("./features/css-unset-value"),"css-variables":require("./features/css-variables"),"css-when-else":require("./features/css-when-else"),"css-widows-orphans":require("./features/css-widows-orphans"),"css-width-stretch":require("./features/css-width-stretch"),"css-writing-mode":require("./features/css-writing-mode"),"css-zoom":require("./features/css-zoom"),"css3-attr":require("./features/css3-attr"),"css3-boxsizing":require("./features/css3-boxsizing"),"css3-colors":require("./features/css3-colors"),"css3-cursors-grab":require("./features/css3-cursors-grab"),"css3-cursors-newer":require("./features/css3-cursors-newer"),"css3-cursors":require("./features/css3-cursors"),"css3-tabsize":require("./features/css3-tabsize"),"currentcolor":require("./features/currentcolor"),"custom-elements":require("./features/custom-elements"),"custom-elementsv1":require("./features/custom-elementsv1"),"customevent":require("./features/customevent"),"datalist":require("./features/datalist"),"dataset":require("./features/dataset"),"datauri":require("./features/datauri"),"date-tolocaledatestring":require("./features/date-tolocaledatestring"),"declarative-shadow-dom":require("./features/declarative-shadow-dom"),"decorators":require("./features/decorators"),"details":require("./features/details"),"deviceorientation":require("./features/deviceorientation"),"devicepixelratio":require("./features/devicepixelratio"),"dialog":require("./features/dialog"),"dispatchevent":require("./features/dispatchevent"),"dnssec":require("./features/dnssec"),"do-not-track":require("./features/do-not-track"),"document-currentscript":require("./features/document-currentscript"),"document-evaluate-xpath":require("./features/document-evaluate-xpath"),"document-execcommand":require("./features/document-execcommand"),"document-policy":require("./features/document-policy"),"document-scrollingelement":require("./features/document-scrollingelement"),"documenthead":require("./features/documenthead"),"dom-manip-convenience":require("./features/dom-manip-convenience"),"dom-range":require("./features/dom-range"),"domcontentloaded":require("./features/domcontentloaded"),"dommatrix":require("./features/dommatrix"),"download":require("./features/download"),"dragndrop":require("./features/dragndrop"),"element-closest":require("./features/element-closest"),"element-from-point":require("./features/element-from-point"),"element-scroll-methods":require("./features/element-scroll-methods"),"eme":require("./features/eme"),"eot":require("./features/eot"),"es5":require("./features/es5"),"es6-class":require("./features/es6-class"),"es6-generators":require("./features/es6-generators"),"es6-module-dynamic-import":require("./features/es6-module-dynamic-import"),"es6-module":require("./features/es6-module"),"es6-number":require("./features/es6-number"),"es6-string-includes":require("./features/es6-string-includes"),"es6":require("./features/es6"),"eventsource":require("./features/eventsource"),"extended-system-fonts":require("./features/extended-system-fonts"),"feature-policy":require("./features/feature-policy"),"fetch":require("./features/fetch"),"fieldset-disabled":require("./features/fieldset-disabled"),"fileapi":require("./features/fileapi"),"filereader":require("./features/filereader"),"filereadersync":require("./features/filereadersync"),"filesystem":require("./features/filesystem"),"flac":require("./features/flac"),"flexbox-gap":require("./features/flexbox-gap"),"flexbox":require("./features/flexbox"),"flow-root":require("./features/flow-root"),"focusin-focusout-events":require("./features/focusin-focusout-events"),"font-family-system-ui":require("./features/font-family-system-ui"),"font-feature":require("./features/font-feature"),"font-kerning":require("./features/font-kerning"),"font-loading":require("./features/font-loading"),"font-size-adjust":require("./features/font-size-adjust"),"font-smooth":require("./features/font-smooth"),"font-unicode-range":require("./features/font-unicode-range"),"font-variant-alternates":require("./features/font-variant-alternates"),"font-variant-numeric":require("./features/font-variant-numeric"),"fontface":require("./features/fontface"),"form-attribute":require("./features/form-attribute"),"form-submit-attributes":require("./features/form-submit-attributes"),"form-validation":require("./features/form-validation"),"forms":require("./features/forms"),"fullscreen":require("./features/fullscreen"),"gamepad":require("./features/gamepad"),"geolocation":require("./features/geolocation"),"getboundingclientrect":require("./features/getboundingclientrect"),"getcomputedstyle":require("./features/getcomputedstyle"),"getelementsbyclassname":require("./features/getelementsbyclassname"),"getrandomvalues":require("./features/getrandomvalues"),"gyroscope":require("./features/gyroscope"),"hardwareconcurrency":require("./features/hardwareconcurrency"),"hashchange":require("./features/hashchange"),"heif":require("./features/heif"),"hevc":require("./features/hevc"),"hidden":require("./features/hidden"),"high-resolution-time":require("./features/high-resolution-time"),"history":require("./features/history"),"html-media-capture":require("./features/html-media-capture"),"html5semantic":require("./features/html5semantic"),"http-live-streaming":require("./features/http-live-streaming"),"http2":require("./features/http2"),"http3":require("./features/http3"),"iframe-sandbox":require("./features/iframe-sandbox"),"iframe-seamless":require("./features/iframe-seamless"),"iframe-srcdoc":require("./features/iframe-srcdoc"),"imagecapture":require("./features/imagecapture"),"ime":require("./features/ime"),"img-naturalwidth-naturalheight":require("./features/img-naturalwidth-naturalheight"),"import-maps":require("./features/import-maps"),"imports":require("./features/imports"),"indeterminate-checkbox":require("./features/indeterminate-checkbox"),"indexeddb":require("./features/indexeddb"),"indexeddb2":require("./features/indexeddb2"),"inline-block":require("./features/inline-block"),"innertext":require("./features/innertext"),"input-autocomplete-onoff":require("./features/input-autocomplete-onoff"),"input-color":require("./features/input-color"),"input-datetime":require("./features/input-datetime"),"input-email-tel-url":require("./features/input-email-tel-url"),"input-event":require("./features/input-event"),"input-file-accept":require("./features/input-file-accept"),"input-file-directory":require("./features/input-file-directory"),"input-file-multiple":require("./features/input-file-multiple"),"input-inputmode":require("./features/input-inputmode"),"input-minlength":require("./features/input-minlength"),"input-number":require("./features/input-number"),"input-pattern":require("./features/input-pattern"),"input-placeholder":require("./features/input-placeholder"),"input-range":require("./features/input-range"),"input-search":require("./features/input-search"),"input-selection":require("./features/input-selection"),"insert-adjacent":require("./features/insert-adjacent"),"insertadjacenthtml":require("./features/insertadjacenthtml"),"internationalization":require("./features/internationalization"),"intersectionobserver-v2":require("./features/intersectionobserver-v2"),"intersectionobserver":require("./features/intersectionobserver"),"intl-pluralrules":require("./features/intl-pluralrules"),"intrinsic-width":require("./features/intrinsic-width"),"jpeg2000":require("./features/jpeg2000"),"jpegxl":require("./features/jpegxl"),"jpegxr":require("./features/jpegxr"),"js-regexp-lookbehind":require("./features/js-regexp-lookbehind"),"json":require("./features/json"),"justify-content-space-evenly":require("./features/justify-content-space-evenly"),"kerning-pairs-ligatures":require("./features/kerning-pairs-ligatures"),"keyboardevent-charcode":require("./features/keyboardevent-charcode"),"keyboardevent-code":require("./features/keyboardevent-code"),"keyboardevent-getmodifierstate":require("./features/keyboardevent-getmodifierstate"),"keyboardevent-key":require("./features/keyboardevent-key"),"keyboardevent-location":require("./features/keyboardevent-location"),"keyboardevent-which":require("./features/keyboardevent-which"),"lazyload":require("./features/lazyload"),"let":require("./features/let"),"link-icon-png":require("./features/link-icon-png"),"link-icon-svg":require("./features/link-icon-svg"),"link-rel-dns-prefetch":require("./features/link-rel-dns-prefetch"),"link-rel-modulepreload":require("./features/link-rel-modulepreload"),"link-rel-preconnect":require("./features/link-rel-preconnect"),"link-rel-prefetch":require("./features/link-rel-prefetch"),"link-rel-preload":require("./features/link-rel-preload"),"link-rel-prerender":require("./features/link-rel-prerender"),"loading-lazy-attr":require("./features/loading-lazy-attr"),"localecompare":require("./features/localecompare"),"magnetometer":require("./features/magnetometer"),"matchesselector":require("./features/matchesselector"),"matchmedia":require("./features/matchmedia"),"mathml":require("./features/mathml"),"maxlength":require("./features/maxlength"),"mdn-css-backdrop-pseudo-element":require("./features/mdn-css-backdrop-pseudo-element"),"mdn-css-unicode-bidi-isolate-override":require("./features/mdn-css-unicode-bidi-isolate-override"),"mdn-css-unicode-bidi-isolate":require("./features/mdn-css-unicode-bidi-isolate"),"mdn-css-unicode-bidi-plaintext":require("./features/mdn-css-unicode-bidi-plaintext"),"mdn-text-decoration-color":require("./features/mdn-text-decoration-color"),"mdn-text-decoration-line":require("./features/mdn-text-decoration-line"),"mdn-text-decoration-shorthand":require("./features/mdn-text-decoration-shorthand"),"mdn-text-decoration-style":require("./features/mdn-text-decoration-style"),"media-fragments":require("./features/media-fragments"),"mediacapture-fromelement":require("./features/mediacapture-fromelement"),"mediarecorder":require("./features/mediarecorder"),"mediasource":require("./features/mediasource"),"menu":require("./features/menu"),"meta-theme-color":require("./features/meta-theme-color"),"meter":require("./features/meter"),"midi":require("./features/midi"),"minmaxwh":require("./features/minmaxwh"),"mp3":require("./features/mp3"),"mpeg-dash":require("./features/mpeg-dash"),"mpeg4":require("./features/mpeg4"),"multibackgrounds":require("./features/multibackgrounds"),"multicolumn":require("./features/multicolumn"),"mutation-events":require("./features/mutation-events"),"mutationobserver":require("./features/mutationobserver"),"namevalue-storage":require("./features/namevalue-storage"),"native-filesystem-api":require("./features/native-filesystem-api"),"nav-timing":require("./features/nav-timing"),"netinfo":require("./features/netinfo"),"notifications":require("./features/notifications"),"object-entries":require("./features/object-entries"),"object-fit":require("./features/object-fit"),"object-observe":require("./features/object-observe"),"object-values":require("./features/object-values"),"objectrtc":require("./features/objectrtc"),"offline-apps":require("./features/offline-apps"),"offscreencanvas":require("./features/offscreencanvas"),"ogg-vorbis":require("./features/ogg-vorbis"),"ogv":require("./features/ogv"),"ol-reversed":require("./features/ol-reversed"),"once-event-listener":require("./features/once-event-listener"),"online-status":require("./features/online-status"),"opus":require("./features/opus"),"orientation-sensor":require("./features/orientation-sensor"),"outline":require("./features/outline"),"pad-start-end":require("./features/pad-start-end"),"page-transition-events":require("./features/page-transition-events"),"pagevisibility":require("./features/pagevisibility"),"passive-event-listener":require("./features/passive-event-listener"),"passkeys":require("./features/passkeys"),"passwordrules":require("./features/passwordrules"),"path2d":require("./features/path2d"),"payment-request":require("./features/payment-request"),"pdf-viewer":require("./features/pdf-viewer"),"permissions-api":require("./features/permissions-api"),"permissions-policy":require("./features/permissions-policy"),"picture-in-picture":require("./features/picture-in-picture"),"picture":require("./features/picture"),"ping":require("./features/ping"),"png-alpha":require("./features/png-alpha"),"pointer-events":require("./features/pointer-events"),"pointer":require("./features/pointer"),"pointerlock":require("./features/pointerlock"),"portals":require("./features/portals"),"prefers-color-scheme":require("./features/prefers-color-scheme"),"prefers-reduced-motion":require("./features/prefers-reduced-motion"),"progress":require("./features/progress"),"promise-finally":require("./features/promise-finally"),"promises":require("./features/promises"),"proximity":require("./features/proximity"),"proxy":require("./features/proxy"),"publickeypinning":require("./features/publickeypinning"),"push-api":require("./features/push-api"),"queryselector":require("./features/queryselector"),"readonly-attr":require("./features/readonly-attr"),"referrer-policy":require("./features/referrer-policy"),"registerprotocolhandler":require("./features/registerprotocolhandler"),"rel-noopener":require("./features/rel-noopener"),"rel-noreferrer":require("./features/rel-noreferrer"),"rellist":require("./features/rellist"),"rem":require("./features/rem"),"requestanimationframe":require("./features/requestanimationframe"),"requestidlecallback":require("./features/requestidlecallback"),"resizeobserver":require("./features/resizeobserver"),"resource-timing":require("./features/resource-timing"),"rest-parameters":require("./features/rest-parameters"),"rtcpeerconnection":require("./features/rtcpeerconnection"),"ruby":require("./features/ruby"),"run-in":require("./features/run-in"),"same-site-cookie-attribute":require("./features/same-site-cookie-attribute"),"screen-orientation":require("./features/screen-orientation"),"script-async":require("./features/script-async"),"script-defer":require("./features/script-defer"),"scrollintoview":require("./features/scrollintoview"),"scrollintoviewifneeded":require("./features/scrollintoviewifneeded"),"sdch":require("./features/sdch"),"selection-api":require("./features/selection-api"),"selectlist":require("./features/selectlist"),"server-timing":require("./features/server-timing"),"serviceworkers":require("./features/serviceworkers"),"setimmediate":require("./features/setimmediate"),"shadowdom":require("./features/shadowdom"),"shadowdomv1":require("./features/shadowdomv1"),"sharedarraybuffer":require("./features/sharedarraybuffer"),"sharedworkers":require("./features/sharedworkers"),"sni":require("./features/sni"),"spdy":require("./features/spdy"),"speech-recognition":require("./features/speech-recognition"),"speech-synthesis":require("./features/speech-synthesis"),"spellcheck-attribute":require("./features/spellcheck-attribute"),"sql-storage":require("./features/sql-storage"),"srcset":require("./features/srcset"),"stream":require("./features/stream"),"streams":require("./features/streams"),"stricttransportsecurity":require("./features/stricttransportsecurity"),"style-scoped":require("./features/style-scoped"),"subresource-bundling":require("./features/subresource-bundling"),"subresource-integrity":require("./features/subresource-integrity"),"svg-css":require("./features/svg-css"),"svg-filters":require("./features/svg-filters"),"svg-fonts":require("./features/svg-fonts"),"svg-fragment":require("./features/svg-fragment"),"svg-html":require("./features/svg-html"),"svg-html5":require("./features/svg-html5"),"svg-img":require("./features/svg-img"),"svg-smil":require("./features/svg-smil"),"svg":require("./features/svg"),"sxg":require("./features/sxg"),"tabindex-attr":require("./features/tabindex-attr"),"template-literals":require("./features/template-literals"),"template":require("./features/template"),"temporal":require("./features/temporal"),"testfeat":require("./features/testfeat"),"text-decoration":require("./features/text-decoration"),"text-emphasis":require("./features/text-emphasis"),"text-overflow":require("./features/text-overflow"),"text-size-adjust":require("./features/text-size-adjust"),"text-stroke":require("./features/text-stroke"),"textcontent":require("./features/textcontent"),"textencoder":require("./features/textencoder"),"tls1-1":require("./features/tls1-1"),"tls1-2":require("./features/tls1-2"),"tls1-3":require("./features/tls1-3"),"touch":require("./features/touch"),"transforms2d":require("./features/transforms2d"),"transforms3d":require("./features/transforms3d"),"trusted-types":require("./features/trusted-types"),"ttf":require("./features/ttf"),"typedarrays":require("./features/typedarrays"),"u2f":require("./features/u2f"),"unhandledrejection":require("./features/unhandledrejection"),"upgradeinsecurerequests":require("./features/upgradeinsecurerequests"),"url-scroll-to-text-fragment":require("./features/url-scroll-to-text-fragment"),"url":require("./features/url"),"urlsearchparams":require("./features/urlsearchparams"),"use-strict":require("./features/use-strict"),"user-select-none":require("./features/user-select-none"),"user-timing":require("./features/user-timing"),"variable-fonts":require("./features/variable-fonts"),"vector-effect":require("./features/vector-effect"),"vibration":require("./features/vibration"),"video":require("./features/video"),"videotracks":require("./features/videotracks"),"view-transitions":require("./features/view-transitions"),"viewport-unit-variants":require("./features/viewport-unit-variants"),"viewport-units":require("./features/viewport-units"),"wai-aria":require("./features/wai-aria"),"wake-lock":require("./features/wake-lock"),"wasm-bigint":require("./features/wasm-bigint"),"wasm-bulk-memory":require("./features/wasm-bulk-memory"),"wasm-extended-const":require("./features/wasm-extended-const"),"wasm-gc":require("./features/wasm-gc"),"wasm-multi-memory":require("./features/wasm-multi-memory"),"wasm-multi-value":require("./features/wasm-multi-value"),"wasm-mutable-globals":require("./features/wasm-mutable-globals"),"wasm-nontrapping-fptoint":require("./features/wasm-nontrapping-fptoint"),"wasm-reference-types":require("./features/wasm-reference-types"),"wasm-relaxed-simd":require("./features/wasm-relaxed-simd"),"wasm-signext":require("./features/wasm-signext"),"wasm-simd":require("./features/wasm-simd"),"wasm-tail-calls":require("./features/wasm-tail-calls"),"wasm-threads":require("./features/wasm-threads"),"wasm":require("./features/wasm"),"wav":require("./features/wav"),"wbr-element":require("./features/wbr-element"),"web-animation":require("./features/web-animation"),"web-app-manifest":require("./features/web-app-manifest"),"web-bluetooth":require("./features/web-bluetooth"),"web-serial":require("./features/web-serial"),"web-share":require("./features/web-share"),"webauthn":require("./features/webauthn"),"webcodecs":require("./features/webcodecs"),"webgl":require("./features/webgl"),"webgl2":require("./features/webgl2"),"webgpu":require("./features/webgpu"),"webhid":require("./features/webhid"),"webkit-user-drag":require("./features/webkit-user-drag"),"webm":require("./features/webm"),"webnfc":require("./features/webnfc"),"webp":require("./features/webp"),"websockets":require("./features/websockets"),"webtransport":require("./features/webtransport"),"webusb":require("./features/webusb"),"webvr":require("./features/webvr"),"webvtt":require("./features/webvtt"),"webworkers":require("./features/webworkers"),"webxr":require("./features/webxr"),"will-change":require("./features/will-change"),"woff":require("./features/woff"),"woff2":require("./features/woff2"),"word-break":require("./features/word-break"),"wordwrap":require("./features/wordwrap"),"x-doc-messaging":require("./features/x-doc-messaging"),"x-frame-options":require("./features/x-frame-options"),"xhr2":require("./features/xhr2"),"xhtml":require("./features/xhtml"),"xhtmlsmil":require("./features/xhtmlsmil"),"xml-serializer":require("./features/xml-serializer"),"zstd":require("./features/zstd")}; diff --git a/node_modules/caniuse-lite/data/features/aac.js b/node_modules/caniuse-lite/data/features/aac.js index c7ff31d900..e799d403b4 100644 --- a/node_modules/caniuse-lite/data/features/aac.js +++ b/node_modules/caniuse-lite/data/features/aac.js @@ -1 +1 @@ -module.exports={A:{A:{"1":"F A B","2":"K D E aC"},B:{"1":"0 1 2 3 4 5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I"},C:{"2":"bC DC J FB K D E F A B C L M G N O P GB u v dC eC","132":"0 1 2 3 4 5 6 7 8 9 w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC","2":"J FB K D E F","16":"A B"},E:{"1":"J FB K D E F A B C L M G gC hC iC jC KC 7B 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC","2":"fC JC"},F:{"1":"G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t","2":"F B C qC rC sC tC 7B YC uC 8B"},G:{"1":"E vC ZC wC xC yC zC 0C 1C 2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC","16":"JC"},H:{"2":"HD"},I:{"1":"DC J I LD ZC MD ND","2":"ID JD KD"},J:{"1":"A","2":"D"},K:{"1":"H","2":"A B C 7B YC 8B"},L:{"1":"I"},M:{"132":"6B"},N:{"1":"A","2":"B"},O:{"1":"9B"},P:{"1":"J u v w x y z OD PD QD RD SD KC TD UD VD WD XD AC BC CC YD"},Q:{"1":"ZD"},R:{"1":"aD"},S:{"132":"bD cD"}},B:6,C:"AAC audio file format",D:true}; +module.exports={A:{A:{"1":"F A B","2":"K D E gC"},B:{"1":"5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I"},C:{"2":"hC IC J LB K D E F A B C L M G N O P MB y z jC kC","132":"0 1 2 3 4 5 6 7 8 9 NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC","2":"J LB K D E F","16":"A B"},E:{"1":"J LB K D E F A B C L M G mC nC oC pC PC CC DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC","2":"lC OC"},F:{"1":"0 1 2 3 4 G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x","2":"F B C xC yC zC 0C CC eC 1C DC"},G:{"1":"E 2C fC 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC","16":"OC"},H:{"2":"PD"},I:{"1":"IC J I TD fC UD VD","2":"QD RD SD"},J:{"1":"A","2":"D"},K:{"1":"H","2":"A B C CC eC DC"},L:{"1":"I"},M:{"132":"BC"},N:{"1":"A","2":"B"},O:{"1":"EC"},P:{"1":"0 1 2 3 4 J y z WD XD YD ZD aD PC bD cD dD eD fD FC GC HC gD"},Q:{"1":"hD"},R:{"1":"iD"},S:{"132":"jD kD"}},B:6,C:"AAC audio file format",D:true}; diff --git a/node_modules/caniuse-lite/data/features/abortcontroller.js b/node_modules/caniuse-lite/data/features/abortcontroller.js index 2a01d7bb6c..5b3263d08b 100644 --- a/node_modules/caniuse-lite/data/features/abortcontroller.js +++ b/node_modules/caniuse-lite/data/features/abortcontroller.js @@ -1 +1 @@ -module.exports={A:{A:{"2":"K D E F A B aC"},B:{"1":"0 1 2 3 4 5 6 7 8 9 N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I","2":"C L M G"},C:{"1":"0 1 2 3 4 5 6 7 8 9 mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC","2":"bC DC J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB dC eC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC","2":"J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB"},E:{"1":"L M G 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC","2":"J FB K D E F A B fC JC gC hC iC jC KC","130":"C 7B"},F:{"1":"iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t","2":"F B C G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB qC rC sC tC 7B YC uC 8B"},G:{"1":"5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC","2":"E JC vC ZC wC xC yC zC 0C 1C 2C 3C 4C"},H:{"2":"HD"},I:{"1":"I","2":"DC J ID JD KD LD ZC MD ND"},J:{"2":"D A"},K:{"1":"H","2":"A B C 7B YC 8B"},L:{"1":"I"},M:{"1":"6B"},N:{"2":"A B"},O:{"1":"9B"},P:{"1":"u v w x y z SD KC TD UD VD WD XD AC BC CC YD","2":"J OD PD QD RD"},Q:{"1":"ZD"},R:{"1":"aD"},S:{"1":"cD","2":"bD"}},B:1,C:"AbortController & AbortSignal",D:true}; +module.exports={A:{A:{"2":"K D E F A B gC"},B:{"1":"5 6 7 8 9 N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I","2":"C L M G"},C:{"1":"5 6 7 8 9 rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC","2":"0 1 2 3 4 hC IC J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB jC kC"},D:{"1":"5 6 7 8 9 yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC","2":"0 1 2 3 4 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB"},E:{"1":"L M G DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC","2":"J LB K D E F A B lC OC mC nC oC pC PC","130":"C CC"},F:{"1":"nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x","2":"0 1 2 3 4 F B C G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB xC yC zC 0C CC eC 1C DC"},G:{"1":"CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC","2":"E OC 2C fC 3C 4C 5C 6C 7C 8C 9C AD BD"},H:{"2":"PD"},I:{"1":"I","2":"IC J QD RD SD TD fC UD VD"},J:{"2":"D A"},K:{"1":"H","2":"A B C CC eC DC"},L:{"1":"I"},M:{"1":"BC"},N:{"2":"A B"},O:{"1":"EC"},P:{"1":"0 1 2 3 4 y z aD PC bD cD dD eD fD FC GC HC gD","2":"J WD XD YD ZD"},Q:{"1":"hD"},R:{"1":"iD"},S:{"1":"kD","2":"jD"}},B:1,C:"AbortController & AbortSignal",D:true}; diff --git a/node_modules/caniuse-lite/data/features/ac3-ec3.js b/node_modules/caniuse-lite/data/features/ac3-ec3.js index 26a6f4c70e..b4beca5140 100644 --- a/node_modules/caniuse-lite/data/features/ac3-ec3.js +++ b/node_modules/caniuse-lite/data/features/ac3-ec3.js @@ -1 +1 @@ -module.exports={A:{A:{"2":"K D E F A B aC"},B:{"1":"C L M G N O P","2":"0 1 2 3 4 5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I"},C:{"2":"0 1 2 3 4 5 6 7 8 9 bC DC J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC dC eC"},D:{"2":"0 1 2 3 4 5 6 7 8 9 J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC"},E:{"2":"J FB K D E F A B C L M G fC JC gC hC iC jC KC 7B 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC"},F:{"2":"F B C G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t qC rC sC tC 7B YC uC 8B"},G:{"2":"E JC vC ZC wC xC yC zC","132":"0C 1C 2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC"},H:{"2":"HD"},I:{"2":"DC J I ID JD KD LD ZC MD ND"},J:{"2":"D","132":"A"},K:{"2":"A B C H 7B YC","132":"8B"},L:{"2":"I"},M:{"2":"6B"},N:{"2":"A B"},O:{"2":"9B"},P:{"2":"J u v w x y z OD PD QD RD SD KC TD UD VD WD XD AC BC CC YD"},Q:{"2":"ZD"},R:{"2":"aD"},S:{"2":"bD cD"}},B:6,C:"AC-3 (Dolby Digital) and EC-3 (Dolby Digital Plus) codecs",D:false}; +module.exports={A:{A:{"2":"K D E F A B gC"},B:{"1":"C L M G N O P","2":"5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I"},C:{"2":"0 1 2 3 4 5 6 7 8 9 hC IC J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC jC kC"},D:{"2":"0 1 2 3 4 5 6 7 8 9 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC"},E:{"2":"J LB K D E F A B C L M G lC OC mC nC oC pC PC CC DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC"},F:{"2":"0 1 2 3 4 F B C G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x xC yC zC 0C CC eC 1C DC"},G:{"2":"E OC 2C fC 3C 4C 5C 6C","132":"7C 8C 9C AD BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC"},H:{"2":"PD"},I:{"2":"IC J I QD RD SD TD fC UD VD"},J:{"2":"D","132":"A"},K:{"2":"A B C H CC eC","132":"DC"},L:{"2":"I"},M:{"2":"BC"},N:{"2":"A B"},O:{"2":"EC"},P:{"2":"0 1 2 3 4 J y z WD XD YD ZD aD PC bD cD dD eD fD FC GC HC gD"},Q:{"2":"hD"},R:{"2":"iD"},S:{"2":"jD kD"}},B:6,C:"AC-3 (Dolby Digital) and EC-3 (Dolby Digital Plus) codecs",D:false}; diff --git a/node_modules/caniuse-lite/data/features/accelerometer.js b/node_modules/caniuse-lite/data/features/accelerometer.js index da2ff001e5..f87685927a 100644 --- a/node_modules/caniuse-lite/data/features/accelerometer.js +++ b/node_modules/caniuse-lite/data/features/accelerometer.js @@ -1 +1 @@ -module.exports={A:{A:{"2":"K D E F A B aC"},B:{"1":"0 1 2 3 4 5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I","2":"C L M G N O P"},C:{"2":"0 1 2 3 4 5 6 7 8 9 bC DC J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC dC eC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC","2":"J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB","194":"nB EC oB FC pB qB rB sB tB"},E:{"2":"J FB K D E F A B C L M G fC JC gC hC iC jC KC 7B 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC"},F:{"1":"jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t","2":"F B C G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB qC rC sC tC 7B YC uC 8B"},G:{"2":"E JC vC ZC wC xC yC zC 0C 1C 2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC"},H:{"2":"HD"},I:{"1":"I","2":"DC J ID JD KD LD ZC MD ND"},J:{"2":"D A"},K:{"1":"H","2":"A B C 7B YC 8B"},L:{"1":"I"},M:{"2":"6B"},N:{"2":"A B"},O:{"1":"9B"},P:{"2":"J u v w x y z OD PD QD RD SD KC TD UD VD WD XD AC BC CC YD"},Q:{"1":"ZD"},R:{"1":"aD"},S:{"2":"bD cD"}},B:4,C:"Accelerometer",D:true}; +module.exports={A:{A:{"2":"K D E F A B gC"},B:{"1":"5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I","2":"C L M G N O P"},C:{"2":"0 1 2 3 4 5 6 7 8 9 hC IC J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC jC kC"},D:{"1":"5 6 7 8 9 zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC","2":"0 1 2 3 4 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB","194":"sB JC tB KC uB vB wB xB yB"},E:{"2":"J LB K D E F A B C L M G lC OC mC nC oC pC PC CC DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC"},F:{"1":"oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x","2":"0 1 2 3 4 F B C G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB xC yC zC 0C CC eC 1C DC"},G:{"2":"E OC 2C fC 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC"},H:{"2":"PD"},I:{"1":"I","2":"IC J QD RD SD TD fC UD VD"},J:{"2":"D A"},K:{"1":"H","2":"A B C CC eC DC"},L:{"1":"I"},M:{"2":"BC"},N:{"2":"A B"},O:{"1":"EC"},P:{"2":"0 1 2 3 4 J y z WD XD YD ZD aD PC bD cD dD eD fD FC GC HC gD"},Q:{"1":"hD"},R:{"1":"iD"},S:{"2":"jD kD"}},B:4,C:"Accelerometer",D:true}; diff --git a/node_modules/caniuse-lite/data/features/addeventlistener.js b/node_modules/caniuse-lite/data/features/addeventlistener.js index f5d8db6d9c..c3d3f86b21 100644 --- a/node_modules/caniuse-lite/data/features/addeventlistener.js +++ b/node_modules/caniuse-lite/data/features/addeventlistener.js @@ -1 +1 @@ -module.exports={A:{A:{"1":"F A B","130":"K D E aC"},B:{"1":"0 1 2 3 4 5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC","257":"bC DC J FB K dC eC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC"},E:{"1":"J FB K D E F A B C L M G fC JC gC hC iC jC KC 7B 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC"},F:{"1":"F B C G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t qC rC sC tC 7B YC uC 8B"},G:{"1":"E JC vC ZC wC xC yC zC 0C 1C 2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC"},H:{"1":"HD"},I:{"1":"DC J I ID JD KD LD ZC MD ND"},J:{"1":"D A"},K:{"1":"A B C H 7B YC 8B"},L:{"1":"I"},M:{"1":"6B"},N:{"1":"A B"},O:{"1":"9B"},P:{"1":"J u v w x y z OD PD QD RD SD KC TD UD VD WD XD AC BC CC YD"},Q:{"1":"ZD"},R:{"1":"aD"},S:{"1":"bD cD"}},B:1,C:"EventTarget.addEventListener()",D:true}; +module.exports={A:{A:{"1":"F A B","130":"K D E gC"},B:{"1":"5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC","257":"hC IC J LB K jC kC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC"},E:{"1":"J LB K D E F A B C L M G lC OC mC nC oC pC PC CC DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC"},F:{"1":"0 1 2 3 4 F B C G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x xC yC zC 0C CC eC 1C DC"},G:{"1":"E OC 2C fC 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC"},H:{"1":"PD"},I:{"1":"IC J I QD RD SD TD fC UD VD"},J:{"1":"D A"},K:{"1":"A B C H CC eC DC"},L:{"1":"I"},M:{"1":"BC"},N:{"1":"A B"},O:{"1":"EC"},P:{"1":"0 1 2 3 4 J y z WD XD YD ZD aD PC bD cD dD eD fD FC GC HC gD"},Q:{"1":"hD"},R:{"1":"iD"},S:{"1":"jD kD"}},B:1,C:"EventTarget.addEventListener()",D:true}; diff --git a/node_modules/caniuse-lite/data/features/alternate-stylesheet.js b/node_modules/caniuse-lite/data/features/alternate-stylesheet.js index 69131af927..268227303a 100644 --- a/node_modules/caniuse-lite/data/features/alternate-stylesheet.js +++ b/node_modules/caniuse-lite/data/features/alternate-stylesheet.js @@ -1 +1 @@ -module.exports={A:{A:{"1":"E F A B","2":"K D aC"},B:{"2":"0 1 2 3 4 5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 bC DC J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC dC eC"},D:{"2":"0 1 2 3 4 5 6 7 8 9 J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC"},E:{"2":"J FB K D E F A B C L M G fC JC gC hC iC jC KC 7B 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC"},F:{"1":"F B C qC rC sC tC 7B YC uC 8B","16":"G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t"},G:{"2":"E JC vC ZC wC xC yC zC 0C 1C 2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC"},H:{"16":"HD"},I:{"2":"DC J I ID JD KD LD ZC MD ND"},J:{"16":"D A"},K:{"2":"H","16":"A B C 7B YC 8B"},L:{"16":"I"},M:{"16":"6B"},N:{"16":"A B"},O:{"16":"9B"},P:{"16":"J u v w x y z OD PD QD RD SD KC TD UD VD WD XD AC BC CC YD"},Q:{"2":"ZD"},R:{"16":"aD"},S:{"1":"bD cD"}},B:1,C:"Alternate stylesheet",D:false}; +module.exports={A:{A:{"1":"E F A B","2":"K D gC"},B:{"2":"5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 hC IC J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC jC kC"},D:{"2":"0 1 2 3 4 5 6 7 8 9 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC"},E:{"2":"J LB K D E F A B C L M G lC OC mC nC oC pC PC CC DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC"},F:{"1":"F B C xC yC zC 0C CC eC 1C DC","16":"0 1 2 3 4 G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x"},G:{"2":"E OC 2C fC 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC"},H:{"16":"PD"},I:{"2":"IC J I QD RD SD TD fC UD VD"},J:{"16":"D A"},K:{"2":"H","16":"A B C CC eC DC"},L:{"16":"I"},M:{"16":"BC"},N:{"16":"A B"},O:{"16":"EC"},P:{"16":"0 1 2 3 4 J y z WD XD YD ZD aD PC bD cD dD eD fD FC GC HC gD"},Q:{"2":"hD"},R:{"16":"iD"},S:{"1":"jD kD"}},B:1,C:"Alternate stylesheet",D:false}; diff --git a/node_modules/caniuse-lite/data/features/ambient-light.js b/node_modules/caniuse-lite/data/features/ambient-light.js index 99ae3b6f19..4d590cb35f 100644 --- a/node_modules/caniuse-lite/data/features/ambient-light.js +++ b/node_modules/caniuse-lite/data/features/ambient-light.js @@ -1 +1 @@ -module.exports={A:{A:{"2":"K D E F A B aC"},B:{"2":"C L","132":"M G N O P","322":"0 1 2 3 4 5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I"},C:{"2":"bC DC J FB K D E F A B C L M G N O P GB u v dC eC","132":"w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC","194":"0 1 2 3 4 5 6 7 8 9 oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC"},D:{"2":"J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB","322":"0 1 2 3 4 5 6 7 8 9 nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC"},E:{"2":"J FB K D E F A B C L M G fC JC gC hC iC jC KC 7B 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC"},F:{"2":"F B C G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB qC rC sC tC 7B YC uC 8B","322":"0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t"},G:{"2":"E JC vC ZC wC xC yC zC 0C 1C 2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC"},H:{"2":"HD"},I:{"2":"DC J I ID JD KD LD ZC MD ND"},J:{"2":"D A"},K:{"2":"A B C H 7B YC 8B"},L:{"2":"I"},M:{"1":"6B"},N:{"2":"A B"},O:{"2":"9B"},P:{"2":"J u v w x y z OD PD QD RD SD KC TD UD VD WD XD AC BC CC YD"},Q:{"2":"ZD"},R:{"2":"aD"},S:{"132":"bD cD"}},B:4,C:"Ambient Light Sensor",D:true}; +module.exports={A:{A:{"2":"K D E F A B gC"},B:{"2":"C L","132":"M G N O P","322":"5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I"},C:{"2":"hC IC J LB K D E F A B C L M G N O P MB y z jC kC","132":"0 1 2 3 4 NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC","194":"5 6 7 8 9 tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC"},D:{"2":"0 1 2 3 4 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB","322":"5 6 7 8 9 sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC"},E:{"2":"J LB K D E F A B C L M G lC OC mC nC oC pC PC CC DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC"},F:{"2":"0 1 2 3 4 F B C G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B xC yC zC 0C CC eC 1C DC","322":"5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x"},G:{"2":"E OC 2C fC 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC"},H:{"2":"PD"},I:{"2":"IC J I QD RD SD TD fC UD VD"},J:{"2":"D A"},K:{"2":"A B C H CC eC DC"},L:{"2":"I"},M:{"1":"BC"},N:{"2":"A B"},O:{"2":"EC"},P:{"2":"0 1 2 3 4 J y z WD XD YD ZD aD PC bD cD dD eD fD FC GC HC gD"},Q:{"2":"hD"},R:{"2":"iD"},S:{"132":"jD kD"}},B:4,C:"Ambient Light Sensor",D:true}; diff --git a/node_modules/caniuse-lite/data/features/apng.js b/node_modules/caniuse-lite/data/features/apng.js index fc80668226..977a73f34a 100644 --- a/node_modules/caniuse-lite/data/features/apng.js +++ b/node_modules/caniuse-lite/data/features/apng.js @@ -1 +1 @@ -module.exports={A:{A:{"2":"K D E F A B aC"},B:{"1":"0 1 2 3 4 5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I","2":"C L M G N O P"},C:{"1":"0 1 2 3 4 5 6 7 8 9 DC J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC dC eC","2":"bC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC","2":"J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB"},E:{"1":"E F A B C L M G jC KC 7B 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC","2":"J FB K D fC JC gC hC iC"},F:{"1":"B C bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t qC rC sC tC 7B YC uC 8B","2":"F G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB"},G:{"1":"E zC 0C 1C 2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC","2":"JC vC ZC wC xC yC"},H:{"2":"HD"},I:{"1":"I","2":"DC J ID JD KD LD ZC MD ND"},J:{"2":"D A"},K:{"1":"A B C H 7B YC 8B"},L:{"1":"I"},M:{"1":"6B"},N:{"2":"A B"},O:{"1":"9B"},P:{"1":"u v w x y z QD RD SD KC TD UD VD WD XD AC BC CC YD","2":"J OD PD"},Q:{"1":"ZD"},R:{"1":"aD"},S:{"1":"bD cD"}},B:4,C:"Animated PNG (APNG)",D:true}; +module.exports={A:{A:{"2":"K D E F A B gC"},B:{"1":"5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I","2":"C L M G N O P"},C:{"1":"0 1 2 3 4 5 6 7 8 9 IC J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC jC kC","2":"hC"},D:{"1":"5 6 7 8 9 JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC","2":"0 1 2 3 4 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB"},E:{"1":"E F A B C L M G pC PC CC DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC","2":"J LB K D lC OC mC nC oC"},F:{"1":"B C gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x xC yC zC 0C CC eC 1C DC","2":"0 1 2 3 4 F G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB"},G:{"1":"E 6C 7C 8C 9C AD BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC","2":"OC 2C fC 3C 4C 5C"},H:{"2":"PD"},I:{"1":"I","2":"IC J QD RD SD TD fC UD VD"},J:{"2":"D A"},K:{"1":"A B C H CC eC DC"},L:{"1":"I"},M:{"1":"BC"},N:{"2":"A B"},O:{"1":"EC"},P:{"1":"0 1 2 3 4 y z YD ZD aD PC bD cD dD eD fD FC GC HC gD","2":"J WD XD"},Q:{"1":"hD"},R:{"1":"iD"},S:{"1":"jD kD"}},B:4,C:"Animated PNG (APNG)",D:true}; diff --git a/node_modules/caniuse-lite/data/features/array-find-index.js b/node_modules/caniuse-lite/data/features/array-find-index.js index a03aa9aa2c..6ea6ed0dbe 100644 --- a/node_modules/caniuse-lite/data/features/array-find-index.js +++ b/node_modules/caniuse-lite/data/features/array-find-index.js @@ -1 +1 @@ -module.exports={A:{A:{"2":"K D E F A B aC"},B:{"1":"0 1 2 3 4 5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC","2":"bC DC J FB K D E F A B C L M G N O P GB u v w x y dC eC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC","2":"J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB"},E:{"1":"E F A B C L M G iC jC KC 7B 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC","2":"J FB K D fC JC gC hC"},F:{"1":"NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t","2":"F B C G N O P GB u v w x y z HB IB JB KB LB MB qC rC sC tC 7B YC uC 8B"},G:{"1":"E zC 0C 1C 2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC","2":"JC vC ZC wC xC yC"},H:{"2":"HD"},I:{"1":"I","2":"DC J ID JD KD LD ZC MD ND"},J:{"2":"D","16":"A"},K:{"1":"H","2":"A B C 7B YC 8B"},L:{"1":"I"},M:{"1":"6B"},N:{"2":"A B"},O:{"1":"9B"},P:{"1":"u v w x y z OD PD QD RD SD KC TD UD VD WD XD AC BC CC YD","2":"J"},Q:{"1":"ZD"},R:{"1":"aD"},S:{"1":"bD cD"}},B:6,C:"Array.prototype.findIndex",D:true}; +module.exports={A:{A:{"2":"K D E F A B gC"},B:{"1":"5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I"},C:{"1":"3 4 5 6 7 8 9 NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC","2":"0 1 2 hC IC J LB K D E F A B C L M G N O P MB y z jC kC"},D:{"1":"5 6 7 8 9 fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC","2":"0 1 2 3 4 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB"},E:{"1":"E F A B C L M G oC pC PC CC DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC","2":"J LB K D lC OC mC nC"},F:{"1":"SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x","2":"0 1 2 3 4 F B C G N O P MB y z NB OB PB QB RB xC yC zC 0C CC eC 1C DC"},G:{"1":"E 6C 7C 8C 9C AD BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC","2":"OC 2C fC 3C 4C 5C"},H:{"2":"PD"},I:{"1":"I","2":"IC J QD RD SD TD fC UD VD"},J:{"2":"D","16":"A"},K:{"1":"H","2":"A B C CC eC DC"},L:{"1":"I"},M:{"1":"BC"},N:{"2":"A B"},O:{"1":"EC"},P:{"1":"0 1 2 3 4 y z WD XD YD ZD aD PC bD cD dD eD fD FC GC HC gD","2":"J"},Q:{"1":"hD"},R:{"1":"iD"},S:{"1":"jD kD"}},B:6,C:"Array.prototype.findIndex",D:true}; diff --git a/node_modules/caniuse-lite/data/features/array-find.js b/node_modules/caniuse-lite/data/features/array-find.js index e792b335a1..594bce4843 100644 --- a/node_modules/caniuse-lite/data/features/array-find.js +++ b/node_modules/caniuse-lite/data/features/array-find.js @@ -1 +1 @@ -module.exports={A:{A:{"2":"K D E F A B aC"},B:{"1":"0 1 2 3 4 5 6 7 8 9 G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I","16":"C L M"},C:{"1":"0 1 2 3 4 5 6 7 8 9 z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC","2":"bC DC J FB K D E F A B C L M G N O P GB u v w x y dC eC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC","2":"J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB"},E:{"1":"E F A B C L M G iC jC KC 7B 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC","2":"J FB K D fC JC gC hC"},F:{"1":"NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t","2":"F B C G N O P GB u v w x y z HB IB JB KB LB MB qC rC sC tC 7B YC uC 8B"},G:{"1":"E zC 0C 1C 2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC","2":"JC vC ZC wC xC yC"},H:{"2":"HD"},I:{"1":"I","2":"DC J ID JD KD LD ZC MD ND"},J:{"2":"D","16":"A"},K:{"1":"H","2":"A B C 7B YC 8B"},L:{"1":"I"},M:{"1":"6B"},N:{"2":"A B"},O:{"1":"9B"},P:{"1":"u v w x y z OD PD QD RD SD KC TD UD VD WD XD AC BC CC YD","2":"J"},Q:{"1":"ZD"},R:{"1":"aD"},S:{"1":"bD cD"}},B:6,C:"Array.prototype.find",D:true}; +module.exports={A:{A:{"2":"K D E F A B gC"},B:{"1":"5 6 7 8 9 G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I","16":"C L M"},C:{"1":"3 4 5 6 7 8 9 NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC","2":"0 1 2 hC IC J LB K D E F A B C L M G N O P MB y z jC kC"},D:{"1":"5 6 7 8 9 fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC","2":"0 1 2 3 4 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB"},E:{"1":"E F A B C L M G oC pC PC CC DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC","2":"J LB K D lC OC mC nC"},F:{"1":"SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x","2":"0 1 2 3 4 F B C G N O P MB y z NB OB PB QB RB xC yC zC 0C CC eC 1C DC"},G:{"1":"E 6C 7C 8C 9C AD BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC","2":"OC 2C fC 3C 4C 5C"},H:{"2":"PD"},I:{"1":"I","2":"IC J QD RD SD TD fC UD VD"},J:{"2":"D","16":"A"},K:{"1":"H","2":"A B C CC eC DC"},L:{"1":"I"},M:{"1":"BC"},N:{"2":"A B"},O:{"1":"EC"},P:{"1":"0 1 2 3 4 y z WD XD YD ZD aD PC bD cD dD eD fD FC GC HC gD","2":"J"},Q:{"1":"hD"},R:{"1":"iD"},S:{"1":"jD kD"}},B:6,C:"Array.prototype.find",D:true}; diff --git a/node_modules/caniuse-lite/data/features/array-flat.js b/node_modules/caniuse-lite/data/features/array-flat.js index d21e994c94..cb066a82c6 100644 --- a/node_modules/caniuse-lite/data/features/array-flat.js +++ b/node_modules/caniuse-lite/data/features/array-flat.js @@ -1 +1 @@ -module.exports={A:{A:{"2":"K D E F A B aC"},B:{"1":"0 1 2 3 4 5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I","2":"C L M G N O P"},C:{"1":"0 1 2 3 4 5 6 7 8 9 pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC","2":"bC DC J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC dC eC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC","2":"J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB"},E:{"1":"C L M G 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC","2":"J FB K D E F A B fC JC gC hC iC jC KC 7B"},F:{"1":"lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t","2":"F B C G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB qC rC sC tC 7B YC uC 8B"},G:{"1":"6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC","2":"E JC vC ZC wC xC yC zC 0C 1C 2C 3C 4C 5C"},H:{"2":"HD"},I:{"1":"I","2":"DC J ID JD KD LD ZC MD ND"},J:{"2":"D A"},K:{"1":"H","2":"A B C 7B YC 8B"},L:{"1":"I"},M:{"1":"6B"},N:{"2":"A B"},O:{"1":"9B"},P:{"1":"u v w x y z KC TD UD VD WD XD AC BC CC YD","2":"J OD PD QD RD SD"},Q:{"1":"ZD"},R:{"1":"aD"},S:{"1":"cD","2":"bD"}},B:6,C:"flat & flatMap array methods",D:true}; +module.exports={A:{A:{"2":"K D E F A B gC"},B:{"1":"5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I","2":"C L M G N O P"},C:{"1":"5 6 7 8 9 uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC","2":"0 1 2 3 4 hC IC J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC jC kC"},D:{"1":"5 6 7 8 9 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC","2":"0 1 2 3 4 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B"},E:{"1":"C L M G DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC","2":"J LB K D E F A B lC OC mC nC oC pC PC CC"},F:{"1":"qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x","2":"0 1 2 3 4 F B C G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB xC yC zC 0C CC eC 1C DC"},G:{"1":"DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC","2":"E OC 2C fC 3C 4C 5C 6C 7C 8C 9C AD BD CD"},H:{"2":"PD"},I:{"1":"I","2":"IC J QD RD SD TD fC UD VD"},J:{"2":"D A"},K:{"1":"H","2":"A B C CC eC DC"},L:{"1":"I"},M:{"1":"BC"},N:{"2":"A B"},O:{"1":"EC"},P:{"1":"0 1 2 3 4 y z PC bD cD dD eD fD FC GC HC gD","2":"J WD XD YD ZD aD"},Q:{"1":"hD"},R:{"1":"iD"},S:{"1":"kD","2":"jD"}},B:6,C:"flat & flatMap array methods",D:true}; diff --git a/node_modules/caniuse-lite/data/features/array-includes.js b/node_modules/caniuse-lite/data/features/array-includes.js index fe008a41aa..48a5787c45 100644 --- a/node_modules/caniuse-lite/data/features/array-includes.js +++ b/node_modules/caniuse-lite/data/features/array-includes.js @@ -1 +1 @@ -module.exports={A:{A:{"2":"K D E F A B aC"},B:{"1":"0 1 2 3 4 5 6 7 8 9 M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I","2":"C L"},C:{"1":"0 1 2 3 4 5 6 7 8 9 YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC","2":"bC DC J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB dC eC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC","2":"J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB"},E:{"1":"F A B C L M G jC KC 7B 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC","2":"J FB K D E fC JC gC hC iC"},F:{"1":"PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t","2":"F B C G N O P GB u v w x y z HB IB JB KB LB MB NB OB qC rC sC tC 7B YC uC 8B"},G:{"1":"0C 1C 2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC","2":"E JC vC ZC wC xC yC zC"},H:{"2":"HD"},I:{"1":"I","2":"DC J ID JD KD LD ZC MD ND"},J:{"2":"D A"},K:{"1":"H","2":"A B C 7B YC 8B"},L:{"1":"I"},M:{"1":"6B"},N:{"2":"A B"},O:{"1":"9B"},P:{"1":"u v w x y z OD PD QD RD SD KC TD UD VD WD XD AC BC CC YD","2":"J"},Q:{"1":"ZD"},R:{"1":"aD"},S:{"1":"bD cD"}},B:6,C:"Array.prototype.includes",D:true}; +module.exports={A:{A:{"2":"K D E F A B gC"},B:{"1":"5 6 7 8 9 M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I","2":"C L"},C:{"1":"5 6 7 8 9 dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC","2":"0 1 2 3 4 hC IC J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB jC kC"},D:{"1":"5 6 7 8 9 hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC","2":"0 1 2 3 4 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB"},E:{"1":"F A B C L M G pC PC CC DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC","2":"J LB K D E lC OC mC nC oC"},F:{"1":"UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x","2":"0 1 2 3 4 F B C G N O P MB y z NB OB PB QB RB SB TB xC yC zC 0C CC eC 1C DC"},G:{"1":"7C 8C 9C AD BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC","2":"E OC 2C fC 3C 4C 5C 6C"},H:{"2":"PD"},I:{"1":"I","2":"IC J QD RD SD TD fC UD VD"},J:{"2":"D A"},K:{"1":"H","2":"A B C CC eC DC"},L:{"1":"I"},M:{"1":"BC"},N:{"2":"A B"},O:{"1":"EC"},P:{"1":"0 1 2 3 4 y z WD XD YD ZD aD PC bD cD dD eD fD FC GC HC gD","2":"J"},Q:{"1":"hD"},R:{"1":"iD"},S:{"1":"jD kD"}},B:6,C:"Array.prototype.includes",D:true}; diff --git a/node_modules/caniuse-lite/data/features/arrow-functions.js b/node_modules/caniuse-lite/data/features/arrow-functions.js index 5a97810535..df0dd10026 100644 --- a/node_modules/caniuse-lite/data/features/arrow-functions.js +++ b/node_modules/caniuse-lite/data/features/arrow-functions.js @@ -1 +1 @@ -module.exports={A:{A:{"2":"K D E F A B aC"},B:{"1":"0 1 2 3 4 5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC","2":"bC DC J FB K D E F A B C L M G N O P GB u v dC eC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC","2":"J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB"},E:{"1":"A B C L M G KC 7B 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC","2":"J FB K D E F fC JC gC hC iC jC"},F:{"1":"NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t","2":"F B C G N O P GB u v w x y z HB IB JB KB LB MB qC rC sC tC 7B YC uC 8B"},G:{"1":"2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC","2":"E JC vC ZC wC xC yC zC 0C 1C"},H:{"2":"HD"},I:{"1":"I","2":"DC J ID JD KD LD ZC MD ND"},J:{"2":"D A"},K:{"1":"H","2":"A B C 7B YC 8B"},L:{"1":"I"},M:{"1":"6B"},N:{"2":"A B"},O:{"1":"9B"},P:{"1":"u v w x y z OD PD QD RD SD KC TD UD VD WD XD AC BC CC YD","2":"J"},Q:{"1":"ZD"},R:{"1":"aD"},S:{"1":"bD cD"}},B:6,C:"Arrow functions",D:true}; +module.exports={A:{A:{"2":"K D E F A B gC"},B:{"1":"5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC","2":"hC IC J LB K D E F A B C L M G N O P MB y z jC kC"},D:{"1":"5 6 7 8 9 fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC","2":"0 1 2 3 4 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB"},E:{"1":"A B C L M G PC CC DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC","2":"J LB K D E F lC OC mC nC oC pC"},F:{"1":"SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x","2":"0 1 2 3 4 F B C G N O P MB y z NB OB PB QB RB xC yC zC 0C CC eC 1C DC"},G:{"1":"9C AD BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC","2":"E OC 2C fC 3C 4C 5C 6C 7C 8C"},H:{"2":"PD"},I:{"1":"I","2":"IC J QD RD SD TD fC UD VD"},J:{"2":"D A"},K:{"1":"H","2":"A B C CC eC DC"},L:{"1":"I"},M:{"1":"BC"},N:{"2":"A B"},O:{"1":"EC"},P:{"1":"0 1 2 3 4 y z WD XD YD ZD aD PC bD cD dD eD fD FC GC HC gD","2":"J"},Q:{"1":"hD"},R:{"1":"iD"},S:{"1":"jD kD"}},B:6,C:"Arrow functions",D:true}; diff --git a/node_modules/caniuse-lite/data/features/asmjs.js b/node_modules/caniuse-lite/data/features/asmjs.js index b274f786ee..f182175740 100644 --- a/node_modules/caniuse-lite/data/features/asmjs.js +++ b/node_modules/caniuse-lite/data/features/asmjs.js @@ -1 +1 @@ -module.exports={A:{A:{"2":"K D E F A B aC"},B:{"1":"L M G N O P","132":"0 1 2 3 4 5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I","322":"C"},C:{"1":"0 1 2 3 4 5 6 7 8 9 w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC","2":"bC DC J FB K D E F A B C L M G N O P GB u v dC eC"},D:{"2":"J FB K D E F A B C L M G N O P GB u v w x y z HB IB","132":"0 1 2 3 4 5 6 7 8 9 JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC"},E:{"2":"J FB K D E F A B C L M G fC JC gC hC iC jC KC 7B 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC"},F:{"2":"F B C qC rC sC tC 7B YC uC 8B","132":"G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t"},G:{"2":"E JC vC ZC wC xC yC zC 0C 1C 2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC"},H:{"2":"HD"},I:{"2":"DC J ID JD KD LD ZC MD ND","132":"I"},J:{"2":"D A"},K:{"2":"A B C 7B YC 8B","132":"H"},L:{"132":"I"},M:{"1":"6B"},N:{"2":"A B"},O:{"132":"9B"},P:{"2":"J","132":"u v w x y z OD PD QD RD SD KC TD UD VD WD XD AC BC CC YD"},Q:{"132":"ZD"},R:{"132":"aD"},S:{"1":"bD cD"}},B:6,C:"asm.js",D:true}; +module.exports={A:{A:{"2":"K D E F A B gC"},B:{"1":"L M G N O P","132":"5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I","322":"C"},C:{"1":"0 1 2 3 4 5 6 7 8 9 NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC","2":"hC IC J LB K D E F A B C L M G N O P MB y z jC kC"},D:{"2":"0 1 2 3 4 J LB K D E F A B C L M G N O P MB y z NB","132":"5 6 7 8 9 OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC"},E:{"2":"J LB K D E F A B C L M G lC OC mC nC oC pC PC CC DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC"},F:{"2":"F B C xC yC zC 0C CC eC 1C DC","132":"0 1 2 3 4 G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x"},G:{"2":"E OC 2C fC 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC"},H:{"2":"PD"},I:{"2":"IC J QD RD SD TD fC UD VD","132":"I"},J:{"2":"D A"},K:{"2":"A B C CC eC DC","132":"H"},L:{"132":"I"},M:{"1":"BC"},N:{"2":"A B"},O:{"132":"EC"},P:{"2":"J","132":"0 1 2 3 4 y z WD XD YD ZD aD PC bD cD dD eD fD FC GC HC gD"},Q:{"132":"hD"},R:{"132":"iD"},S:{"1":"jD kD"}},B:6,C:"asm.js",D:true}; diff --git a/node_modules/caniuse-lite/data/features/async-clipboard.js b/node_modules/caniuse-lite/data/features/async-clipboard.js index 75c0a82388..154a1105cd 100644 --- a/node_modules/caniuse-lite/data/features/async-clipboard.js +++ b/node_modules/caniuse-lite/data/features/async-clipboard.js @@ -1 +1 @@ -module.exports={A:{A:{"2":"K D E F A B aC"},B:{"1":"0 1 2 3 4 5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I","2":"C L M G N O P"},C:{"2":"bC DC J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB dC eC","132":"0 1 2 3 4 5 6 7 8 9 qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC","2":"J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB","66":"nB EC oB FC"},E:{"1":"M G kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC","2":"J FB K D E F A B C L fC JC gC hC iC jC KC 7B 8B"},F:{"1":"eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t","2":"F B C G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB qC rC sC tC 7B YC uC 8B"},G:{"2":"E JC vC ZC wC xC yC zC 0C 1C 2C 3C 4C 5C 6C 7C 8C 9C AD BD","260":"CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC"},H:{"2":"HD"},I:{"2":"DC J ID JD KD LD ZC MD ND","260":"I"},J:{"2":"D A"},K:{"1":"H","2":"A B C 7B YC 8B"},L:{"1":"I"},M:{"132":"6B"},N:{"2":"A B"},O:{"1":"9B"},P:{"2":"J OD PD QD RD","260":"u v w x y z SD KC TD UD VD WD XD AC BC CC YD"},Q:{"1":"ZD"},R:{"1":"aD"},S:{"2":"bD","132":"cD"}},B:5,C:"Asynchronous Clipboard API",D:true}; +module.exports={A:{A:{"2":"K D E F A B gC"},B:{"1":"5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I","2":"C L M G N O P"},C:{"1":"FB GB HB IB JB KB I BC MC NC iC","2":"0 1 2 3 4 hC IC J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB jC kC","132":"5 6 7 8 9 vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB"},D:{"1":"5 6 7 8 9 yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC","2":"0 1 2 3 4 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB"},E:{"1":"M G qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC","2":"J LB K D E F A B C L lC OC mC nC oC pC PC CC DC"},F:{"1":"nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x","2":"0 1 2 3 4 F B C G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB xC yC zC 0C CC eC 1C DC"},G:{"1":"JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC","2":"E OC 2C fC 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED FD GD HD ID"},H:{"2":"PD"},I:{"2":"IC J QD RD SD TD fC UD VD","260":"I"},J:{"2":"D A"},K:{"1":"H","2":"A B C CC eC DC"},L:{"1":"I"},M:{"1":"BC"},N:{"2":"A B"},O:{"1":"EC"},P:{"1":"3 4","2":"J WD XD YD ZD","260":"0 1 2 y z aD PC bD cD dD eD fD FC GC HC gD"},Q:{"1":"hD"},R:{"1":"iD"},S:{"2":"jD","132":"kD"}},B:5,C:"Asynchronous Clipboard API",D:true}; diff --git a/node_modules/caniuse-lite/data/features/async-functions.js b/node_modules/caniuse-lite/data/features/async-functions.js index 4977ac0bb7..b0026ea025 100644 --- a/node_modules/caniuse-lite/data/features/async-functions.js +++ b/node_modules/caniuse-lite/data/features/async-functions.js @@ -1 +1 @@ -module.exports={A:{A:{"2":"K D E F A B aC"},B:{"1":"0 1 2 3 4 5 6 7 8 9 G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I","2":"C L","194":"M"},C:{"1":"0 1 2 3 4 5 6 7 8 9 hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC","2":"bC DC J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB dC eC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC","2":"J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB"},E:{"1":"B C L M G 7B 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC","2":"J FB K D E F A fC JC gC hC iC jC","258":"KC"},F:{"1":"XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t","2":"F B C G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB qC rC sC tC 7B YC uC 8B"},G:{"1":"4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC","2":"E JC vC ZC wC xC yC zC 0C 1C 2C","258":"3C"},H:{"2":"HD"},I:{"1":"I","2":"DC J ID JD KD LD ZC MD ND"},J:{"2":"D A"},K:{"1":"H","2":"A B C 7B YC 8B"},L:{"1":"I"},M:{"1":"6B"},N:{"2":"A B"},O:{"1":"9B"},P:{"1":"u v w x y z PD QD RD SD KC TD UD VD WD XD AC BC CC YD","2":"J OD"},Q:{"1":"ZD"},R:{"1":"aD"},S:{"1":"cD","2":"bD"}},B:6,C:"Async functions",D:true}; +module.exports={A:{A:{"2":"K D E F A B gC"},B:{"1":"5 6 7 8 9 G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I","2":"C L","194":"M"},C:{"1":"5 6 7 8 9 mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC","2":"0 1 2 3 4 hC IC J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB jC kC"},D:{"1":"5 6 7 8 9 pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC","2":"0 1 2 3 4 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB"},E:{"1":"B C L M G CC DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC","2":"J LB K D E F A lC OC mC nC oC pC","258":"PC"},F:{"1":"cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x","2":"0 1 2 3 4 F B C G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB xC yC zC 0C CC eC 1C DC"},G:{"1":"BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC","2":"E OC 2C fC 3C 4C 5C 6C 7C 8C 9C","258":"AD"},H:{"2":"PD"},I:{"1":"I","2":"IC J QD RD SD TD fC UD VD"},J:{"2":"D A"},K:{"1":"H","2":"A B C CC eC DC"},L:{"1":"I"},M:{"1":"BC"},N:{"2":"A B"},O:{"1":"EC"},P:{"1":"0 1 2 3 4 y z XD YD ZD aD PC bD cD dD eD fD FC GC HC gD","2":"J WD"},Q:{"1":"hD"},R:{"1":"iD"},S:{"1":"kD","2":"jD"}},B:6,C:"Async functions",D:true}; diff --git a/node_modules/caniuse-lite/data/features/atob-btoa.js b/node_modules/caniuse-lite/data/features/atob-btoa.js index 11f09d5efc..2ebd7869b1 100644 --- a/node_modules/caniuse-lite/data/features/atob-btoa.js +++ b/node_modules/caniuse-lite/data/features/atob-btoa.js @@ -1 +1 @@ -module.exports={A:{A:{"1":"A B","2":"K D E F aC"},B:{"1":"0 1 2 3 4 5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 bC DC J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC dC eC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC"},E:{"1":"J FB K D E F A B C L M G fC JC gC hC iC jC KC 7B 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC"},F:{"1":"B C G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t tC 7B YC uC 8B","2":"F qC rC","16":"sC"},G:{"1":"E JC vC ZC wC xC yC zC 0C 1C 2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC"},H:{"1":"HD"},I:{"1":"DC J I ID JD KD LD ZC MD ND"},J:{"1":"D A"},K:{"1":"B C H 7B YC 8B","16":"A"},L:{"1":"I"},M:{"1":"6B"},N:{"1":"A B"},O:{"1":"9B"},P:{"1":"J u v w x y z OD PD QD RD SD KC TD UD VD WD XD AC BC CC YD"},Q:{"1":"ZD"},R:{"1":"aD"},S:{"1":"bD cD"}},B:1,C:"Base64 encoding and decoding",D:true}; +module.exports={A:{A:{"1":"A B","2":"K D E F gC"},B:{"1":"5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 hC IC J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC jC kC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC"},E:{"1":"J LB K D E F A B C L M G lC OC mC nC oC pC PC CC DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC"},F:{"1":"0 1 2 3 4 B C G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x 0C CC eC 1C DC","2":"F xC yC","16":"zC"},G:{"1":"E OC 2C fC 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC"},H:{"1":"PD"},I:{"1":"IC J I QD RD SD TD fC UD VD"},J:{"1":"D A"},K:{"1":"B C H CC eC DC","16":"A"},L:{"1":"I"},M:{"1":"BC"},N:{"1":"A B"},O:{"1":"EC"},P:{"1":"0 1 2 3 4 J y z WD XD YD ZD aD PC bD cD dD eD fD FC GC HC gD"},Q:{"1":"hD"},R:{"1":"iD"},S:{"1":"jD kD"}},B:1,C:"Base64 encoding and decoding",D:true}; diff --git a/node_modules/caniuse-lite/data/features/audio-api.js b/node_modules/caniuse-lite/data/features/audio-api.js index e536984341..7c6a0e07dd 100644 --- a/node_modules/caniuse-lite/data/features/audio-api.js +++ b/node_modules/caniuse-lite/data/features/audio-api.js @@ -1 +1 @@ -module.exports={A:{A:{"2":"K D E F A B aC"},B:{"1":"0 1 2 3 4 5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC","2":"bC DC J FB K D E F A B C L M G N O P GB u v w x y dC eC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC","2":"J FB K D E F A B C L","33":"M G N O P GB u v w x y z HB IB JB KB LB MB NB OB"},E:{"1":"G lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC","2":"J FB fC JC gC","33":"K D E F A B C L M hC iC jC KC 7B 8B kC"},F:{"1":"w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t","2":"F B C qC rC sC tC 7B YC uC 8B","33":"G N O P GB u v"},G:{"1":"DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC","2":"JC vC ZC wC","33":"E xC yC zC 0C 1C 2C 3C 4C 5C 6C 7C 8C 9C AD BD CD"},H:{"2":"HD"},I:{"1":"I","2":"DC J ID JD KD LD ZC MD ND"},J:{"2":"D A"},K:{"1":"H","2":"A B C 7B YC 8B"},L:{"1":"I"},M:{"1":"6B"},N:{"2":"A B"},O:{"1":"9B"},P:{"1":"J u v w x y z OD PD QD RD SD KC TD UD VD WD XD AC BC CC YD"},Q:{"1":"ZD"},R:{"1":"aD"},S:{"1":"bD cD"}},B:2,C:"Web Audio API",D:true}; +module.exports={A:{A:{"2":"K D E F A B gC"},B:{"1":"5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I"},C:{"1":"3 4 5 6 7 8 9 NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC","2":"0 1 2 hC IC J LB K D E F A B C L M G N O P MB y z jC kC"},D:{"1":"5 6 7 8 9 UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC","2":"J LB K D E F A B C L","33":"0 1 2 3 4 M G N O P MB y z NB OB PB QB RB SB TB"},E:{"1":"G rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC","2":"J LB lC OC mC","33":"K D E F A B C L M nC oC pC PC CC DC qC"},F:{"1":"0 1 2 3 4 NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x","2":"F B C xC yC zC 0C CC eC 1C DC","33":"G N O P MB y z"},G:{"1":"KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC","2":"OC 2C fC 3C","33":"E 4C 5C 6C 7C 8C 9C AD BD CD DD ED FD GD HD ID JD"},H:{"2":"PD"},I:{"1":"I","2":"IC J QD RD SD TD fC UD VD"},J:{"2":"D A"},K:{"1":"H","2":"A B C CC eC DC"},L:{"1":"I"},M:{"1":"BC"},N:{"2":"A B"},O:{"1":"EC"},P:{"1":"0 1 2 3 4 J y z WD XD YD ZD aD PC bD cD dD eD fD FC GC HC gD"},Q:{"1":"hD"},R:{"1":"iD"},S:{"1":"jD kD"}},B:2,C:"Web Audio API",D:true}; diff --git a/node_modules/caniuse-lite/data/features/audio.js b/node_modules/caniuse-lite/data/features/audio.js index 86288eaac4..eb6a92cbc9 100644 --- a/node_modules/caniuse-lite/data/features/audio.js +++ b/node_modules/caniuse-lite/data/features/audio.js @@ -1 +1 @@ -module.exports={A:{A:{"1":"F A B","2":"K D E aC"},B:{"1":"0 1 2 3 4 5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC","2":"bC DC","132":"J FB K D E F A B C L M G N O P GB dC eC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC"},E:{"1":"J FB K D E F A B C L M G fC JC gC hC iC jC KC 7B 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC"},F:{"1":"B C G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t sC tC 7B YC uC 8B","2":"F","4":"qC rC"},G:{"260":"E JC vC ZC wC xC yC zC 0C 1C 2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC"},H:{"2":"HD"},I:{"1":"DC J I KD LD ZC MD ND","2":"ID JD"},J:{"1":"D A"},K:{"1":"B C H 7B YC 8B","2":"A"},L:{"1":"I"},M:{"1":"6B"},N:{"1":"A B"},O:{"1":"9B"},P:{"1":"J u v w x y z OD PD QD RD SD KC TD UD VD WD XD AC BC CC YD"},Q:{"1":"ZD"},R:{"1":"aD"},S:{"1":"bD cD"}},B:1,C:"Audio element",D:true}; +module.exports={A:{A:{"1":"F A B","2":"K D E gC"},B:{"1":"5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC","2":"hC IC","132":"J LB K D E F A B C L M G N O P MB jC kC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC"},E:{"1":"J LB K D E F A B C L M G lC OC mC nC oC pC PC CC DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC"},F:{"1":"0 1 2 3 4 B C G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x zC 0C CC eC 1C DC","2":"F","4":"xC yC"},G:{"260":"E OC 2C fC 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC"},H:{"2":"PD"},I:{"1":"IC J I SD TD fC UD VD","2":"QD RD"},J:{"1":"D A"},K:{"1":"B C H CC eC DC","2":"A"},L:{"1":"I"},M:{"1":"BC"},N:{"1":"A B"},O:{"1":"EC"},P:{"1":"0 1 2 3 4 J y z WD XD YD ZD aD PC bD cD dD eD fD FC GC HC gD"},Q:{"1":"hD"},R:{"1":"iD"},S:{"1":"jD kD"}},B:1,C:"Audio element",D:true}; diff --git a/node_modules/caniuse-lite/data/features/audiotracks.js b/node_modules/caniuse-lite/data/features/audiotracks.js index 7e7ede4422..4607bd208e 100644 --- a/node_modules/caniuse-lite/data/features/audiotracks.js +++ b/node_modules/caniuse-lite/data/features/audiotracks.js @@ -1 +1 @@ -module.exports={A:{A:{"1":"A B","2":"K D E F aC"},B:{"1":"C L M G N O P","322":"0 1 2 3 4 5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I"},C:{"2":"bC DC J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB dC eC","194":"0 1 2 3 4 5 6 7 8 9 OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC"},D:{"2":"J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB","322":"0 1 2 3 4 5 6 7 8 9 aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC"},E:{"1":"D E F A B C L M G hC iC jC KC 7B 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC","2":"J FB K fC JC gC"},F:{"2":"F B C G N O P GB u v w x y z HB IB JB KB LB MB qC rC sC tC 7B YC uC 8B","322":"NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t"},G:{"1":"E yC zC 0C 1C 2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC","2":"JC vC ZC wC xC"},H:{"2":"HD"},I:{"2":"DC J I ID JD KD LD ZC MD ND"},J:{"2":"D A"},K:{"2":"A B C 7B YC 8B","322":"H"},L:{"322":"I"},M:{"2":"6B"},N:{"1":"A B"},O:{"322":"9B"},P:{"2":"J u v w x y z OD PD QD RD SD KC TD UD VD WD XD AC BC CC YD"},Q:{"322":"ZD"},R:{"322":"aD"},S:{"194":"bD cD"}},B:1,C:"Audio Tracks",D:true}; +module.exports={A:{A:{"1":"A B","2":"K D E F gC"},B:{"1":"C L M G N O P","322":"5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I"},C:{"2":"0 1 2 3 4 hC IC J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB jC kC","194":"5 6 7 8 9 TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC"},D:{"2":"0 1 2 3 4 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB","322":"5 6 7 8 9 fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC"},E:{"1":"D E F A B C L M G nC oC pC PC CC DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC","2":"J LB K lC OC mC"},F:{"2":"0 1 2 3 4 F B C G N O P MB y z NB OB PB QB RB xC yC zC 0C CC eC 1C DC","322":"SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x"},G:{"1":"E 5C 6C 7C 8C 9C AD BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC","2":"OC 2C fC 3C 4C"},H:{"2":"PD"},I:{"2":"IC J I QD RD SD TD fC UD VD"},J:{"2":"D A"},K:{"2":"A B C CC eC DC","322":"H"},L:{"322":"I"},M:{"2":"BC"},N:{"1":"A B"},O:{"322":"EC"},P:{"2":"0 1 2 3 4 J y z WD XD YD ZD aD PC bD cD dD eD fD FC GC HC gD"},Q:{"322":"hD"},R:{"322":"iD"},S:{"194":"jD kD"}},B:1,C:"Audio Tracks",D:true}; diff --git a/node_modules/caniuse-lite/data/features/autofocus.js b/node_modules/caniuse-lite/data/features/autofocus.js index c9d1bdd282..681b640970 100644 --- a/node_modules/caniuse-lite/data/features/autofocus.js +++ b/node_modules/caniuse-lite/data/features/autofocus.js @@ -1 +1 @@ -module.exports={A:{A:{"1":"A B","2":"K D E F aC"},B:{"1":"0 1 2 3 4 5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC","2":"bC DC dC eC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC","2":"J"},E:{"1":"FB K D E F A B C L M G gC hC iC jC KC 7B 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC","2":"J fC JC"},F:{"1":"B C G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t qC rC sC tC 7B YC uC 8B","2":"F"},G:{"2":"E JC vC ZC wC xC yC zC 0C 1C 2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC"},H:{"2":"HD"},I:{"1":"DC J I LD ZC MD ND","2":"ID JD KD"},J:{"1":"D A"},K:{"1":"H","2":"A B C 7B YC 8B"},L:{"1":"I"},M:{"1":"6B"},N:{"1":"A B"},O:{"1":"9B"},P:{"1":"J u v w x y z OD PD QD RD SD KC TD UD VD WD XD AC BC CC YD"},Q:{"1":"ZD"},R:{"1":"aD"},S:{"1":"cD","2":"bD"}},B:1,C:"Autofocus attribute",D:true}; +module.exports={A:{A:{"1":"A B","2":"K D E F gC"},B:{"1":"5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC","2":"hC IC jC kC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC","2":"J"},E:{"1":"LB K D E F A B C L M G mC nC oC pC PC CC DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC","2":"J lC OC"},F:{"1":"0 1 2 3 4 B C G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x xC yC zC 0C CC eC 1C DC","2":"F"},G:{"2":"E OC 2C fC 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC"},H:{"2":"PD"},I:{"1":"IC J I TD fC UD VD","2":"QD RD SD"},J:{"1":"D A"},K:{"1":"H","2":"A B C CC eC DC"},L:{"1":"I"},M:{"1":"BC"},N:{"1":"A B"},O:{"1":"EC"},P:{"1":"0 1 2 3 4 J y z WD XD YD ZD aD PC bD cD dD eD fD FC GC HC gD"},Q:{"1":"hD"},R:{"1":"iD"},S:{"1":"kD","2":"jD"}},B:1,C:"Autofocus attribute",D:true}; diff --git a/node_modules/caniuse-lite/data/features/auxclick.js b/node_modules/caniuse-lite/data/features/auxclick.js index 152e86e77d..0d2418cb87 100644 --- a/node_modules/caniuse-lite/data/features/auxclick.js +++ b/node_modules/caniuse-lite/data/features/auxclick.js @@ -1 +1 @@ -module.exports={A:{A:{"2":"K D E F A B aC"},B:{"1":"0 1 2 3 4 5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I","2":"C L M G N O P"},C:{"2":"bC DC J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB dC eC","129":"0 1 2 3 4 5 6 7 8 9 iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC","2":"J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB"},E:{"2":"J FB K D E F A B C L M G fC JC gC hC iC jC KC 7B 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC"},F:{"1":"XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t","2":"F B C G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB qC rC sC tC 7B YC uC 8B"},G:{"2":"E JC vC ZC wC xC yC zC 0C 1C 2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC"},H:{"2":"HD"},I:{"1":"I","2":"DC J ID JD KD LD ZC MD ND"},J:{"2":"D A"},K:{"1":"H","2":"A B C 7B YC 8B"},L:{"1":"I"},M:{"1":"6B"},N:{"2":"A B"},O:{"1":"9B"},P:{"1":"u v w x y z OD PD QD RD SD KC TD UD VD WD XD AC BC CC YD","2":"J"},Q:{"1":"ZD"},R:{"1":"aD"},S:{"2":"bD cD"}},B:5,C:"Auxclick",D:true}; +module.exports={A:{A:{"2":"K D E F A B gC"},B:{"1":"5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I","2":"C L M G N O P"},C:{"2":"0 1 2 3 4 hC IC J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB jC kC","129":"5 6 7 8 9 nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC"},D:{"1":"5 6 7 8 9 pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC","2":"0 1 2 3 4 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB"},E:{"1":"dC wC","2":"J LB K D E F A B C L M G lC OC mC nC oC pC PC CC DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC"},F:{"1":"cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x","2":"0 1 2 3 4 F B C G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB xC yC zC 0C CC eC 1C DC"},G:{"1":"dC","2":"E OC 2C fC 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC"},H:{"2":"PD"},I:{"1":"I","2":"IC J QD RD SD TD fC UD VD"},J:{"2":"D A"},K:{"1":"H","2":"A B C CC eC DC"},L:{"1":"I"},M:{"1":"BC"},N:{"2":"A B"},O:{"1":"EC"},P:{"1":"0 1 2 3 4 y z WD XD YD ZD aD PC bD cD dD eD fD FC GC HC gD","2":"J"},Q:{"1":"hD"},R:{"1":"iD"},S:{"2":"jD kD"}},B:5,C:"Auxclick",D:true}; diff --git a/node_modules/caniuse-lite/data/features/av1.js b/node_modules/caniuse-lite/data/features/av1.js index e38f31acf5..854cc35b2f 100644 --- a/node_modules/caniuse-lite/data/features/av1.js +++ b/node_modules/caniuse-lite/data/features/av1.js @@ -1 +1 @@ -module.exports={A:{A:{"2":"K D E F A B aC"},B:{"1":"AB BB CB DB EB I","2":"5 6 7 8 9 C L M G N O","194":"0 1 2 3 4 P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t"},C:{"1":"0 1 2 3 4 5 6 7 8 9 uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC","2":"bC DC J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB dC eC","66":"kB lB mB nB EC oB FC pB qB rB","260":"sB","516":"tB"},D:{"1":"0 1 2 3 4 5 6 7 8 9 xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC","2":"J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB","66":"uB vB wB"},E:{"2":"J FB K D E F A B C L M G fC JC gC hC iC jC KC 7B 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC","1028":"BC SC TC UC VC WC XC CC pC"},F:{"1":"mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t","2":"F B C G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB qC rC sC tC 7B YC uC 8B"},G:{"2":"E JC vC ZC wC xC yC zC 0C 1C 2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD","1028":"BC SC TC UC VC WC XC CC"},H:{"2":"HD"},I:{"1":"I","2":"DC J ID JD KD LD ZC MD ND"},J:{"2":"D A"},K:{"1":"H","2":"A B C 7B YC 8B"},L:{"1":"I"},M:{"1":"6B"},N:{"2":"A B"},O:{"1":"9B"},P:{"1":"u v w x y z UD VD WD XD AC BC CC YD","2":"J OD PD QD RD SD KC TD"},Q:{"1":"ZD"},R:{"1":"aD"},S:{"2":"bD cD"}},B:6,C:"AV1 video format",D:true}; +module.exports={A:{A:{"2":"K D E F A B gC"},B:{"1":"BB CB DB EB FB GB HB IB JB KB I","2":"6 7 8 9 C L M G N O AB","194":"5 P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x"},C:{"1":"5 6 7 8 9 zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC","2":"0 1 2 3 4 hC IC J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB jC kC","66":"pB qB rB sB JC tB KC uB vB wB","260":"xB","516":"yB"},D:{"1":"5 6 7 8 9 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC","2":"0 1 2 3 4 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB","66":"zB 0B 1B"},E:{"2":"J LB K D E F A B C L M G lC OC mC nC oC pC PC CC DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC","1028":"GC XC YC ZC aC bC vC HC cC dC wC"},F:{"1":"rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x","2":"0 1 2 3 4 F B C G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB xC yC zC 0C CC eC 1C DC"},G:{"2":"E OC 2C fC 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND","1028":"GC XC YC ZC aC bC OD HC cC dC"},H:{"2":"PD"},I:{"1":"I","2":"IC J QD RD SD TD fC UD VD"},J:{"2":"D A"},K:{"1":"H","2":"A B C CC eC DC"},L:{"1":"I"},M:{"1":"BC"},N:{"2":"A B"},O:{"1":"EC"},P:{"1":"0 1 2 3 4 y z cD dD eD fD FC GC HC gD","2":"J WD XD YD ZD aD PC bD"},Q:{"1":"hD"},R:{"1":"iD"},S:{"2":"jD kD"}},B:6,C:"AV1 video format",D:true}; diff --git a/node_modules/caniuse-lite/data/features/avif.js b/node_modules/caniuse-lite/data/features/avif.js index faef82a09b..3ac8ad2c60 100644 --- a/node_modules/caniuse-lite/data/features/avif.js +++ b/node_modules/caniuse-lite/data/features/avif.js @@ -1 +1 @@ -module.exports={A:{A:{"2":"K D E F A B aC"},B:{"1":"AB BB CB DB EB I","2":"0 1 2 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t","4162":"3 4 5 6"},C:{"1":"2 3 4 5 6 7 8 9 AB BB CB DB EB I 6B HC IC cC","2":"bC DC J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B dC eC","194":"4B 5B Q H R GC S T U V W X Y Z a b","257":"c d e f g h i j k l m n o p q r s t","2049":"0 1"},D:{"1":"0 1 2 3 4 5 6 7 8 9 U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC","2":"J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T"},E:{"1":"QC RC oC BC SC TC UC VC WC XC CC pC","2":"J FB K D E F A B C L M G fC JC gC hC iC jC KC 7B 8B kC lC mC LC MC 9B nC AC","1796":"NC OC PC"},F:{"1":"yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t","2":"F B C G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB qC rC sC tC 7B YC uC 8B"},G:{"2":"E JC vC ZC wC xC yC zC 0C 1C 2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD","257":"QC RC GD BC SC TC UC VC WC XC CC","1281":"AC NC OC PC"},H:{"2":"HD"},I:{"1":"I","2":"DC J ID JD KD LD ZC MD ND"},J:{"2":"D A"},K:{"1":"H","2":"A B C 7B YC 8B"},L:{"1":"I"},M:{"1":"6B"},N:{"2":"A B"},O:{"1":"9B"},P:{"1":"u v w x y z WD XD AC BC CC YD","2":"J OD PD QD RD SD KC TD UD VD"},Q:{"2":"ZD"},R:{"1":"aD"},S:{"2":"bD cD"}},B:6,C:"AVIF image format",D:true}; +module.exports={A:{A:{"2":"K D E F A B gC"},B:{"1":"BB CB DB EB FB GB HB IB JB KB I","2":"8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w AB","4162":"5 6 7 x"},C:{"1":"5 6 7 8 9 w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC","2":"0 1 2 3 4 hC IC J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B jC kC","194":"9B AC Q H R LC S T U V W X Y Z a b","257":"c d e f g h i j k l m n o p q r s t","2049":"u v"},D:{"1":"5 6 7 8 9 U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC","2":"0 1 2 3 4 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T"},E:{"1":"VC WC uC GC XC YC ZC aC bC vC HC cC dC wC","2":"J LB K D E F A B C L M G lC OC mC nC oC pC PC CC DC qC rC sC QC RC EC tC FC","1796":"SC TC UC"},F:{"1":"3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x","2":"0 1 2 3 4 F B C G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B xC yC zC 0C CC eC 1C DC"},G:{"1":"VC WC ND GC XC YC ZC aC bC OD HC cC dC","2":"E OC 2C fC 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD","1281":"FC SC TC UC"},H:{"2":"PD"},I:{"1":"I","2":"IC J QD RD SD TD fC UD VD"},J:{"2":"D A"},K:{"1":"H","2":"A B C CC eC DC"},L:{"1":"I"},M:{"1":"BC"},N:{"2":"A B"},O:{"1":"EC"},P:{"1":"0 1 2 3 4 y z eD fD FC GC HC gD","2":"J WD XD YD ZD aD PC bD cD dD"},Q:{"2":"hD"},R:{"1":"iD"},S:{"2":"jD kD"}},B:6,C:"AVIF image format",D:true}; diff --git a/node_modules/caniuse-lite/data/features/background-attachment.js b/node_modules/caniuse-lite/data/features/background-attachment.js index aa60b20b3d..0192039556 100644 --- a/node_modules/caniuse-lite/data/features/background-attachment.js +++ b/node_modules/caniuse-lite/data/features/background-attachment.js @@ -1 +1 @@ -module.exports={A:{A:{"1":"F A B","132":"K D E aC"},B:{"1":"0 1 2 3 4 5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC","132":"bC DC J FB K D E F A B C L M G N O P GB u v w x y dC eC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC"},E:{"1":"FB K D E F A B C gC hC iC jC KC 7B 8B MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC","132":"J L fC JC kC","2050":"M G lC mC LC"},F:{"1":"B C G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t sC tC 7B YC uC 8B","132":"F qC rC"},G:{"2":"JC vC ZC","772":"E wC xC yC zC 0C 1C 2C 3C 4C 5C 6C 7C","2050":"8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC"},H:{"2":"HD"},I:{"2":"DC J I ID JD KD MD ND","132":"LD ZC"},J:{"260":"D A"},K:{"1":"B C H 7B YC 8B","132":"A"},L:{"1":"I"},M:{"1":"6B"},N:{"1":"A B"},O:{"1":"9B"},P:{"2":"J","1028":"u v w x y z OD PD QD RD SD KC TD UD VD WD XD AC BC CC YD"},Q:{"1":"ZD"},R:{"1":"aD"},S:{"1":"bD cD"}},B:4,C:"CSS background-attachment",D:true}; +module.exports={A:{A:{"1":"F A B","132":"K D E gC"},B:{"1":"5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I"},C:{"1":"3 4 5 6 7 8 9 NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC","132":"0 1 2 hC IC J LB K D E F A B C L M G N O P MB y z jC kC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC"},E:{"1":"LB K D E F A B C mC nC oC pC PC CC DC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC","132":"J L lC OC qC","2050":"M G rC sC QC"},F:{"1":"0 1 2 3 4 B C G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x zC 0C CC eC 1C DC","132":"F xC yC"},G:{"1":"RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC","2":"OC 2C fC","772":"E 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED","2050":"FD GD HD ID JD KD LD QC"},H:{"2":"PD"},I:{"2":"IC J I QD RD SD UD VD","132":"TD fC"},J:{"260":"D A"},K:{"1":"B C H CC eC DC","132":"A"},L:{"1":"I"},M:{"1":"BC"},N:{"1":"A B"},O:{"1":"EC"},P:{"2":"J","1028":"0 1 2 3 4 y z WD XD YD ZD aD PC bD cD dD eD fD FC GC HC gD"},Q:{"1":"hD"},R:{"1":"iD"},S:{"1":"jD kD"}},B:4,C:"CSS background-attachment",D:true}; diff --git a/node_modules/caniuse-lite/data/features/background-clip-text.js b/node_modules/caniuse-lite/data/features/background-clip-text.js index 21bb086fae..1f83701f14 100644 --- a/node_modules/caniuse-lite/data/features/background-clip-text.js +++ b/node_modules/caniuse-lite/data/features/background-clip-text.js @@ -1 +1 @@ -module.exports={A:{A:{"2":"K D E F A B aC"},B:{"1":"G N O P","33":"C L M","132":"9 AB BB CB DB EB I","164":"0 1 2 3 4 5 6 7 8 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t"},C:{"1":"0 1 2 3 4 5 6 7 8 9 eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC","2":"bC DC J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB dC eC"},D:{"132":"9 AB BB CB DB EB I 6B HC IC","164":"0 1 2 3 4 5 6 7 8 J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t"},E:{"16":"fC JC","132":"9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC","388":"M G lC mC LC MC","420":"J FB K D E F A B C L gC hC iC jC KC 7B 8B kC"},F:{"2":"F B C qC rC sC tC 7B YC uC 8B","132":"p q r s t","164":"G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o"},G:{"16":"JC vC ZC wC","132":"9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC","388":"CD DD ED LC MC","420":"E xC yC zC 0C 1C 2C 3C 4C 5C 6C 7C 8C 9C AD BD"},H:{"2":"HD"},I:{"16":"DC ID JD KD","132":"I","164":"J LD ZC MD ND"},J:{"164":"D A"},K:{"16":"A B C 7B YC 8B","132":"H"},L:{"132":"I"},M:{"1":"6B"},N:{"2":"A B"},O:{"164":"9B"},P:{"1":"z","164":"J u v w x y OD PD QD RD SD KC TD UD VD WD XD AC BC CC YD"},Q:{"164":"ZD"},R:{"164":"aD"},S:{"1":"bD cD"}},B:7,C:"Background-clip: text",D:true}; +module.exports={A:{A:{"2":"K D E F A B gC"},B:{"1":"G N O P","33":"C L M","129":"AB BB CB DB EB FB GB HB IB JB KB I","161":"5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x"},C:{"1":"5 6 7 8 9 jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC","2":"0 1 2 3 4 hC IC J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jC kC"},D:{"129":"AB BB CB DB EB FB GB HB IB JB KB I BC MC NC","161":"0 1 2 3 4 5 6 7 8 9 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x"},E:{"2":"lC","129":"EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC","388":"LB K D E F A B C L M G mC nC oC pC PC CC DC qC rC sC QC RC","420":"J OC"},F:{"2":"F B C xC yC zC 0C CC eC 1C DC","129":"p q r s t u v w x","161":"0 1 2 3 4 G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o"},G:{"129":"EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC","388":"E OC 2C fC 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED FD GD HD ID JD KD LD QC RC"},H:{"2":"PD"},I:{"16":"IC QD RD SD","129":"I","161":"J TD fC UD VD"},J:{"161":"D A"},K:{"16":"A B C CC eC DC","129":"H"},L:{"129":"I"},M:{"1":"BC"},N:{"2":"A B"},O:{"161":"EC"},P:{"1":"3 4","161":"0 1 2 J y z WD XD YD ZD aD PC bD cD dD eD fD FC GC HC gD"},Q:{"161":"hD"},R:{"161":"iD"},S:{"1":"jD kD"}},B:7,C:"Background-clip: text",D:true}; diff --git a/node_modules/caniuse-lite/data/features/background-img-opts.js b/node_modules/caniuse-lite/data/features/background-img-opts.js index bff507b168..88773e0d1f 100644 --- a/node_modules/caniuse-lite/data/features/background-img-opts.js +++ b/node_modules/caniuse-lite/data/features/background-img-opts.js @@ -1 +1 @@ -module.exports={A:{A:{"1":"F A B","2":"K D E aC"},B:{"1":"0 1 2 3 4 5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC","2":"bC DC dC","36":"eC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC","516":"J FB K D E F A B C L M"},E:{"1":"D E F A B C L M G iC jC KC 7B 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC","772":"J FB K fC JC gC hC"},F:{"1":"B C G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t sC tC 7B YC uC 8B","2":"F qC","36":"rC"},G:{"1":"E yC zC 0C 1C 2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC","4":"JC vC ZC xC","516":"wC"},H:{"132":"HD"},I:{"1":"I MD ND","36":"ID","516":"DC J LD ZC","548":"JD KD"},J:{"1":"D A"},K:{"1":"A B C H 7B YC 8B"},L:{"1":"I"},M:{"1":"6B"},N:{"1":"A B"},O:{"1":"9B"},P:{"1":"J u v w x y z OD PD QD RD SD KC TD UD VD WD XD AC BC CC YD"},Q:{"1":"ZD"},R:{"1":"aD"},S:{"1":"bD cD"}},B:4,C:"CSS3 Background-image options",D:true}; +module.exports={A:{A:{"1":"F A B","2":"K D E gC"},B:{"1":"5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC","2":"hC IC jC","36":"kC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC","516":"J LB K D E F A B C L M"},E:{"1":"D E F A B C L M G oC pC PC CC DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC","772":"J LB K lC OC mC nC"},F:{"1":"0 1 2 3 4 B C G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x zC 0C CC eC 1C DC","2":"F xC","36":"yC"},G:{"1":"E 5C 6C 7C 8C 9C AD BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC","4":"OC 2C fC 4C","516":"3C"},H:{"132":"PD"},I:{"1":"I UD VD","36":"QD","516":"IC J TD fC","548":"RD SD"},J:{"1":"D A"},K:{"1":"A B C H CC eC DC"},L:{"1":"I"},M:{"1":"BC"},N:{"1":"A B"},O:{"1":"EC"},P:{"1":"0 1 2 3 4 J y z WD XD YD ZD aD PC bD cD dD eD fD FC GC HC gD"},Q:{"1":"hD"},R:{"1":"iD"},S:{"1":"jD kD"}},B:4,C:"CSS3 Background-image options",D:true}; diff --git a/node_modules/caniuse-lite/data/features/background-position-x-y.js b/node_modules/caniuse-lite/data/features/background-position-x-y.js index 53ef670ed2..6d08f38fa6 100644 --- a/node_modules/caniuse-lite/data/features/background-position-x-y.js +++ b/node_modules/caniuse-lite/data/features/background-position-x-y.js @@ -1 +1 @@ -module.exports={A:{A:{"1":"K D E F A B aC"},B:{"1":"0 1 2 3 4 5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC","2":"bC DC J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB dC eC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC"},E:{"1":"J FB K D E F A B C L M G fC JC gC hC iC jC KC 7B 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC"},F:{"1":"G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t","2":"F B C qC rC sC tC 7B YC uC 8B"},G:{"1":"E JC vC ZC wC xC yC zC 0C 1C 2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC"},H:{"2":"HD"},I:{"1":"DC J I ID JD KD LD ZC MD ND"},J:{"1":"D A"},K:{"1":"H","2":"A B C 7B YC 8B"},L:{"1":"I"},M:{"1":"6B"},N:{"1":"A B"},O:{"1":"9B"},P:{"1":"J u v w x y z OD PD QD RD SD KC TD UD VD WD XD AC BC CC YD"},Q:{"1":"ZD"},R:{"1":"aD"},S:{"1":"cD","2":"bD"}},B:7,C:"background-position-x & background-position-y",D:true}; +module.exports={A:{A:{"1":"K D E F A B gC"},B:{"1":"5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I"},C:{"1":"5 6 7 8 9 jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC","2":"0 1 2 3 4 hC IC J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jC kC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC"},E:{"1":"J LB K D E F A B C L M G lC OC mC nC oC pC PC CC DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC"},F:{"1":"0 1 2 3 4 G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x","2":"F B C xC yC zC 0C CC eC 1C DC"},G:{"1":"E OC 2C fC 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC"},H:{"2":"PD"},I:{"1":"IC J I QD RD SD TD fC UD VD"},J:{"1":"D A"},K:{"1":"H","2":"A B C CC eC DC"},L:{"1":"I"},M:{"1":"BC"},N:{"1":"A B"},O:{"1":"EC"},P:{"1":"0 1 2 3 4 J y z WD XD YD ZD aD PC bD cD dD eD fD FC GC HC gD"},Q:{"1":"hD"},R:{"1":"iD"},S:{"1":"kD","2":"jD"}},B:7,C:"background-position-x & background-position-y",D:true}; diff --git a/node_modules/caniuse-lite/data/features/background-repeat-round-space.js b/node_modules/caniuse-lite/data/features/background-repeat-round-space.js index 3657c6b515..d55c3b6c79 100644 --- a/node_modules/caniuse-lite/data/features/background-repeat-round-space.js +++ b/node_modules/caniuse-lite/data/features/background-repeat-round-space.js @@ -1 +1 @@ -module.exports={A:{A:{"1":"A B","2":"K D E aC","132":"F"},B:{"1":"0 1 2 3 4 5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC","2":"bC DC J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB dC eC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC","2":"J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB"},E:{"1":"D E F A B C L M G iC jC KC 7B 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC","2":"J FB K fC JC gC hC"},F:{"1":"B C GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t sC tC 7B YC uC 8B","2":"F G N O P qC rC"},G:{"1":"E yC zC 0C 1C 2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC","2":"JC vC ZC wC xC"},H:{"1":"HD"},I:{"1":"I MD ND","2":"DC J ID JD KD LD ZC"},J:{"1":"A","2":"D"},K:{"1":"B C H 7B YC 8B","2":"A"},L:{"1":"I"},M:{"1":"6B"},N:{"1":"A B"},O:{"1":"9B"},P:{"1":"J u v w x y z OD PD QD RD SD KC TD UD VD WD XD AC BC CC YD"},Q:{"1":"ZD"},R:{"1":"aD"},S:{"1":"cD","2":"bD"}},B:4,C:"CSS background-repeat round and space",D:true}; +module.exports={A:{A:{"1":"A B","2":"K D E gC","132":"F"},B:{"1":"5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I"},C:{"1":"5 6 7 8 9 jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC","2":"0 1 2 3 4 hC IC J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jC kC"},D:{"1":"5 6 7 8 9 SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC","2":"0 1 2 3 4 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB"},E:{"1":"D E F A B C L M G oC pC PC CC DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC","2":"J LB K lC OC mC nC"},F:{"1":"0 1 2 3 4 B C MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x zC 0C CC eC 1C DC","2":"F G N O P xC yC"},G:{"1":"E 5C 6C 7C 8C 9C AD BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC","2":"OC 2C fC 3C 4C"},H:{"1":"PD"},I:{"1":"I UD VD","2":"IC J QD RD SD TD fC"},J:{"1":"A","2":"D"},K:{"1":"B C H CC eC DC","2":"A"},L:{"1":"I"},M:{"1":"BC"},N:{"1":"A B"},O:{"1":"EC"},P:{"1":"0 1 2 3 4 J y z WD XD YD ZD aD PC bD cD dD eD fD FC GC HC gD"},Q:{"1":"hD"},R:{"1":"iD"},S:{"1":"kD","2":"jD"}},B:4,C:"CSS background-repeat round and space",D:true}; diff --git a/node_modules/caniuse-lite/data/features/background-sync.js b/node_modules/caniuse-lite/data/features/background-sync.js index 997ec2a846..ef63adfcb6 100644 --- a/node_modules/caniuse-lite/data/features/background-sync.js +++ b/node_modules/caniuse-lite/data/features/background-sync.js @@ -1 +1 @@ -module.exports={A:{A:{"2":"K D E F A B aC"},B:{"1":"0 1 2 3 4 5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I","2":"C L M G N O P"},C:{"2":"0 1 2 3 4 5 6 7 8 9 bC DC J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B dC eC","16":"HC IC cC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC","2":"J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB"},E:{"2":"J FB K D E F A B C L M G fC JC gC hC iC jC KC 7B 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC"},F:{"1":"XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t","2":"F B C G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB qC rC sC tC 7B YC uC 8B"},G:{"2":"E JC vC ZC wC xC yC zC 0C 1C 2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC"},H:{"2":"HD"},I:{"1":"I","2":"DC J ID JD KD LD ZC MD ND"},J:{"2":"D A"},K:{"1":"H","2":"A B C 7B YC 8B"},L:{"1":"I"},M:{"2":"6B"},N:{"2":"A B"},O:{"1":"9B"},P:{"1":"u v w x y z OD PD QD RD SD KC TD UD VD WD XD AC BC CC YD","2":"J"},Q:{"1":"ZD"},R:{"1":"aD"},S:{"2":"bD cD"}},B:7,C:"Background Sync API",D:true}; +module.exports={A:{A:{"2":"K D E F A B gC"},B:{"1":"5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I","2":"C L M G N O P"},C:{"2":"0 1 2 3 4 5 6 7 8 9 hC IC J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC jC kC","16":"MC NC iC"},D:{"1":"5 6 7 8 9 jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC","2":"0 1 2 3 4 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB"},E:{"2":"J LB K D E F A B C L M G lC OC mC nC oC pC PC CC DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC"},F:{"1":"cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x","2":"0 1 2 3 4 F B C G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB xC yC zC 0C CC eC 1C DC"},G:{"2":"E OC 2C fC 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC"},H:{"2":"PD"},I:{"1":"I","2":"IC J QD RD SD TD fC UD VD"},J:{"2":"D A"},K:{"1":"H","2":"A B C CC eC DC"},L:{"1":"I"},M:{"2":"BC"},N:{"2":"A B"},O:{"1":"EC"},P:{"1":"0 1 2 3 4 y z WD XD YD ZD aD PC bD cD dD eD fD FC GC HC gD","2":"J"},Q:{"1":"hD"},R:{"1":"iD"},S:{"2":"jD kD"}},B:7,C:"Background Sync API",D:true}; diff --git a/node_modules/caniuse-lite/data/features/battery-status.js b/node_modules/caniuse-lite/data/features/battery-status.js index 8205800410..d861287f48 100644 --- a/node_modules/caniuse-lite/data/features/battery-status.js +++ b/node_modules/caniuse-lite/data/features/battery-status.js @@ -1 +1 @@ -module.exports={A:{A:{"2":"K D E F A B aC"},B:{"1":"0 1 2 3 4 5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I","2":"C L M G N O P"},C:{"1":"YB ZB aB bB cB dB eB fB gB","2":"0 1 2 3 4 5 6 7 8 9 bC DC J FB K D E F hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC dC eC","132":"N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB","164":"A B C L M G"},D:{"1":"0 1 2 3 4 5 6 7 8 9 TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC","2":"J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB","66":"SB"},E:{"2":"J FB K D E F A B C L M G fC JC gC hC iC jC KC 7B 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC"},F:{"1":"z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t","2":"F B C G N O P GB u v w x y qC rC sC tC 7B YC uC 8B"},G:{"2":"E JC vC ZC wC xC yC zC 0C 1C 2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC"},H:{"2":"HD"},I:{"1":"I","2":"DC J ID JD KD LD ZC MD ND"},J:{"2":"D A"},K:{"1":"H","2":"A B C 7B YC 8B"},L:{"1":"I"},M:{"2":"6B"},N:{"2":"A B"},O:{"1":"9B"},P:{"1":"J u v w x y z OD PD QD RD SD KC TD UD VD WD XD AC BC CC YD"},Q:{"1":"ZD"},R:{"1":"aD"},S:{"1":"bD","2":"cD"}},B:4,C:"Battery Status API",D:true}; +module.exports={A:{A:{"2":"K D E F A B gC"},B:{"1":"5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I","2":"C L M G N O P"},C:{"1":"dB eB fB gB hB iB jB kB lB","2":"5 6 7 8 9 hC IC J LB K D E F mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC jC kC","132":"0 1 2 3 4 N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB","164":"A B C L M G"},D:{"1":"5 6 7 8 9 YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC","2":"0 1 2 3 4 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB","66":"XB"},E:{"2":"J LB K D E F A B C L M G lC OC mC nC oC pC PC CC DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC"},F:{"1":"3 4 NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x","2":"0 1 2 F B C G N O P MB y z xC yC zC 0C CC eC 1C DC"},G:{"2":"E OC 2C fC 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC"},H:{"2":"PD"},I:{"1":"I","2":"IC J QD RD SD TD fC UD VD"},J:{"2":"D A"},K:{"1":"H","2":"A B C CC eC DC"},L:{"1":"I"},M:{"2":"BC"},N:{"2":"A B"},O:{"1":"EC"},P:{"1":"0 1 2 3 4 J y z WD XD YD ZD aD PC bD cD dD eD fD FC GC HC gD"},Q:{"1":"hD"},R:{"1":"iD"},S:{"1":"jD","2":"kD"}},B:4,C:"Battery Status API",D:true}; diff --git a/node_modules/caniuse-lite/data/features/beacon.js b/node_modules/caniuse-lite/data/features/beacon.js index 78427e76bc..5a42a40075 100644 --- a/node_modules/caniuse-lite/data/features/beacon.js +++ b/node_modules/caniuse-lite/data/features/beacon.js @@ -1 +1 @@ -module.exports={A:{A:{"2":"K D E F A B aC"},B:{"1":"0 1 2 3 4 5 6 7 8 9 M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I","2":"C L"},C:{"1":"0 1 2 3 4 5 6 7 8 9 MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC","2":"bC DC J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB dC eC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC","2":"J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB"},E:{"1":"C L M G 7B 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC","2":"J FB K D E F A B fC JC gC hC iC jC KC"},F:{"1":"HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t","2":"F B C G N O P GB u v w x y z qC rC sC tC 7B YC uC 8B"},G:{"1":"5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC","2":"E JC vC ZC wC xC yC zC 0C 1C 2C 3C 4C"},H:{"2":"HD"},I:{"1":"I","2":"DC J ID JD KD LD ZC MD ND"},J:{"2":"D A"},K:{"1":"H","2":"A B C 7B YC 8B"},L:{"1":"I"},M:{"1":"6B"},N:{"2":"A B"},O:{"1":"9B"},P:{"1":"J u v w x y z OD PD QD RD SD KC TD UD VD WD XD AC BC CC YD"},Q:{"1":"ZD"},R:{"1":"aD"},S:{"1":"bD cD"}},B:4,C:"Beacon API",D:true}; +module.exports={A:{A:{"2":"K D E F A B gC"},B:{"1":"5 6 7 8 9 M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I","2":"C L"},C:{"1":"5 6 7 8 9 RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC","2":"0 1 2 3 4 hC IC J LB K D E F A B C L M G N O P MB y z NB OB PB QB jC kC"},D:{"1":"5 6 7 8 9 ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC","2":"0 1 2 3 4 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB"},E:{"1":"C L M G CC DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC","2":"J LB K D E F A B lC OC mC nC oC pC PC"},F:{"1":"4 NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x","2":"0 1 2 3 F B C G N O P MB y z xC yC zC 0C CC eC 1C DC"},G:{"1":"CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC","2":"E OC 2C fC 3C 4C 5C 6C 7C 8C 9C AD BD"},H:{"2":"PD"},I:{"1":"I","2":"IC J QD RD SD TD fC UD VD"},J:{"2":"D A"},K:{"1":"H","2":"A B C CC eC DC"},L:{"1":"I"},M:{"1":"BC"},N:{"2":"A B"},O:{"1":"EC"},P:{"1":"0 1 2 3 4 J y z WD XD YD ZD aD PC bD cD dD eD fD FC GC HC gD"},Q:{"1":"hD"},R:{"1":"iD"},S:{"1":"jD kD"}},B:4,C:"Beacon API",D:true}; diff --git a/node_modules/caniuse-lite/data/features/beforeafterprint.js b/node_modules/caniuse-lite/data/features/beforeafterprint.js index 0109ea0eed..4addba9ec6 100644 --- a/node_modules/caniuse-lite/data/features/beforeafterprint.js +++ b/node_modules/caniuse-lite/data/features/beforeafterprint.js @@ -1 +1 @@ -module.exports={A:{A:{"1":"K D E F A B","16":"aC"},B:{"1":"0 1 2 3 4 5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC","2":"bC DC J FB dC eC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC","2":"J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB"},E:{"1":"L M G kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC","2":"J FB K D E F A B C fC JC gC hC iC jC KC 7B 8B"},F:{"1":"fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t","2":"F B C G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB qC rC sC tC 7B YC uC 8B"},G:{"1":"8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC","2":"E JC vC ZC wC xC yC zC 0C 1C 2C 3C 4C 5C 6C 7C"},H:{"2":"HD"},I:{"2":"DC J I ID JD KD LD ZC MD ND"},J:{"16":"D A"},K:{"1":"H","2":"A B C 7B YC 8B"},L:{"1":"I"},M:{"1":"6B"},N:{"16":"A B"},O:{"1":"9B"},P:{"2":"u v w x y z OD PD QD RD SD KC TD UD VD WD XD AC BC CC YD","16":"J"},Q:{"1":"ZD"},R:{"1":"aD"},S:{"1":"bD cD"}},B:1,C:"Printing Events",D:true}; +module.exports={A:{A:{"1":"K D E F A B","16":"gC"},B:{"1":"5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC","2":"hC IC J LB jC kC"},D:{"1":"5 6 7 8 9 vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC","2":"0 1 2 3 4 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB"},E:{"1":"L M G qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC","2":"J LB K D E F A B C lC OC mC nC oC pC PC CC DC"},F:{"1":"kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x","2":"0 1 2 3 4 F B C G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB xC yC zC 0C CC eC 1C DC"},G:{"1":"FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC","2":"E OC 2C fC 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED"},H:{"2":"PD"},I:{"2":"IC J I QD RD SD TD fC UD VD"},J:{"16":"D A"},K:{"1":"H","2":"A B C CC eC DC"},L:{"1":"I"},M:{"1":"BC"},N:{"16":"A B"},O:{"1":"EC"},P:{"2":"0 1 2 3 4 y z WD XD YD ZD aD PC bD cD dD eD fD FC GC HC gD","16":"J"},Q:{"1":"hD"},R:{"1":"iD"},S:{"1":"jD kD"}},B:1,C:"Printing Events",D:true}; diff --git a/node_modules/caniuse-lite/data/features/bigint.js b/node_modules/caniuse-lite/data/features/bigint.js index def93ed3fb..f5f6f018c5 100644 --- a/node_modules/caniuse-lite/data/features/bigint.js +++ b/node_modules/caniuse-lite/data/features/bigint.js @@ -1 +1 @@ -module.exports={A:{A:{"2":"K D E F A B aC"},B:{"1":"0 1 2 3 4 5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I","2":"C L M G N O P"},C:{"1":"0 1 2 3 4 5 6 7 8 9 vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC","2":"bC DC J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB dC eC","194":"sB tB uB"},D:{"1":"0 1 2 3 4 5 6 7 8 9 uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC","2":"J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB"},E:{"1":"M G lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC","2":"J FB K D E F A B C L fC JC gC hC iC jC KC 7B 8B kC"},F:{"1":"jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t","2":"F B C G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB qC rC sC tC 7B YC uC 8B"},G:{"1":"CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC","2":"E JC vC ZC wC xC yC zC 0C 1C 2C 3C 4C 5C 6C 7C 8C 9C AD BD"},H:{"2":"HD"},I:{"1":"I","2":"DC J ID JD KD LD ZC MD ND"},J:{"2":"D A"},K:{"1":"H","2":"A B C 7B YC 8B"},L:{"1":"I"},M:{"1":"6B"},N:{"2":"A B"},O:{"1":"9B"},P:{"1":"u v w x y z SD KC TD UD VD WD XD AC BC CC YD","2":"J OD PD QD RD"},Q:{"1":"ZD"},R:{"1":"aD"},S:{"1":"cD","2":"bD"}},B:6,C:"BigInt",D:true}; +module.exports={A:{A:{"2":"K D E F A B gC"},B:{"1":"5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I","2":"C L M G N O P"},C:{"1":"5 6 7 8 9 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC","2":"0 1 2 3 4 hC IC J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB jC kC","194":"xB yB zB"},D:{"1":"5 6 7 8 9 zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC","2":"0 1 2 3 4 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB"},E:{"1":"M G rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC","2":"J LB K D E F A B C L lC OC mC nC oC pC PC CC DC qC"},F:{"1":"oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x","2":"0 1 2 3 4 F B C G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB xC yC zC 0C CC eC 1C DC"},G:{"1":"JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC","2":"E OC 2C fC 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED FD GD HD ID"},H:{"2":"PD"},I:{"1":"I","2":"IC J QD RD SD TD fC UD VD"},J:{"2":"D A"},K:{"1":"H","2":"A B C CC eC DC"},L:{"1":"I"},M:{"1":"BC"},N:{"2":"A B"},O:{"1":"EC"},P:{"1":"0 1 2 3 4 y z aD PC bD cD dD eD fD FC GC HC gD","2":"J WD XD YD ZD"},Q:{"1":"hD"},R:{"1":"iD"},S:{"1":"kD","2":"jD"}},B:6,C:"BigInt",D:true}; diff --git a/node_modules/caniuse-lite/data/features/blobbuilder.js b/node_modules/caniuse-lite/data/features/blobbuilder.js index 5deadf144f..3e8f14a9ad 100644 --- a/node_modules/caniuse-lite/data/features/blobbuilder.js +++ b/node_modules/caniuse-lite/data/features/blobbuilder.js @@ -1 +1 @@ -module.exports={A:{A:{"1":"A B","2":"K D E F aC"},B:{"1":"0 1 2 3 4 5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC","2":"bC DC J FB dC eC","36":"K D E F A B C"},D:{"1":"0 1 2 3 4 5 6 7 8 9 u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC","2":"J FB K D","36":"E F A B C L M G N O P GB"},E:{"1":"K D E F A B C L M G hC iC jC KC 7B 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC","2":"J FB fC JC gC"},F:{"1":"G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t 8B","2":"F B C qC rC sC tC 7B YC uC"},G:{"1":"E xC yC zC 0C 1C 2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC","2":"JC vC ZC wC"},H:{"2":"HD"},I:{"1":"I","2":"ID JD KD","36":"DC J LD ZC MD ND"},J:{"1":"A","2":"D"},K:{"1":"H 8B","2":"A B C 7B YC"},L:{"1":"I"},M:{"1":"6B"},N:{"1":"A B"},O:{"1":"9B"},P:{"1":"J u v w x y z OD PD QD RD SD KC TD UD VD WD XD AC BC CC YD"},Q:{"1":"ZD"},R:{"1":"aD"},S:{"1":"bD cD"}},B:5,C:"Blob constructing",D:true}; +module.exports={A:{A:{"1":"A B","2":"K D E F gC"},B:{"1":"5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC","2":"hC IC J LB jC kC","36":"K D E F A B C"},D:{"1":"0 1 2 3 4 5 6 7 8 9 y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC","2":"J LB K D","36":"E F A B C L M G N O P MB"},E:{"1":"K D E F A B C L M G nC oC pC PC CC DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC","2":"J LB lC OC mC"},F:{"1":"0 1 2 3 4 G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x DC","2":"F B C xC yC zC 0C CC eC 1C"},G:{"1":"E 4C 5C 6C 7C 8C 9C AD BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC","2":"OC 2C fC 3C"},H:{"2":"PD"},I:{"1":"I","2":"QD RD SD","36":"IC J TD fC UD VD"},J:{"1":"A","2":"D"},K:{"1":"H DC","2":"A B C CC eC"},L:{"1":"I"},M:{"1":"BC"},N:{"1":"A B"},O:{"1":"EC"},P:{"1":"0 1 2 3 4 J y z WD XD YD ZD aD PC bD cD dD eD fD FC GC HC gD"},Q:{"1":"hD"},R:{"1":"iD"},S:{"1":"jD kD"}},B:5,C:"Blob constructing",D:true}; diff --git a/node_modules/caniuse-lite/data/features/bloburls.js b/node_modules/caniuse-lite/data/features/bloburls.js index 53863a732d..9f27628d77 100644 --- a/node_modules/caniuse-lite/data/features/bloburls.js +++ b/node_modules/caniuse-lite/data/features/bloburls.js @@ -1 +1 @@ -module.exports={A:{A:{"2":"K D E F aC","129":"A B"},B:{"1":"0 1 2 3 4 5 6 7 8 9 G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I","129":"C L M"},C:{"1":"0 1 2 3 4 5 6 7 8 9 J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC","2":"bC DC dC eC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC","2":"J FB K D","33":"E F A B C L M G N O P GB u v w"},E:{"1":"D E F A B C L M G hC iC jC KC 7B 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC","2":"J FB fC JC gC","33":"K"},F:{"1":"G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t","2":"F B C qC rC sC tC 7B YC uC 8B"},G:{"1":"E yC zC 0C 1C 2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC","2":"JC vC ZC wC","33":"xC"},H:{"2":"HD"},I:{"1":"I MD ND","2":"DC ID JD KD","33":"J LD ZC"},J:{"1":"A","2":"D"},K:{"1":"H","2":"A B C 7B YC 8B"},L:{"1":"I"},M:{"1":"6B"},N:{"1":"B","2":"A"},O:{"1":"9B"},P:{"1":"J u v w x y z OD PD QD RD SD KC TD UD VD WD XD AC BC CC YD"},Q:{"1":"ZD"},R:{"1":"aD"},S:{"1":"bD cD"}},B:5,C:"Blob URLs",D:true}; +module.exports={A:{A:{"2":"K D E F gC","129":"A B"},B:{"1":"5 6 7 8 9 G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I","129":"C L M"},C:{"1":"0 1 2 3 4 5 6 7 8 9 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC","2":"hC IC jC kC"},D:{"1":"1 2 3 4 5 6 7 8 9 NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC","2":"J LB K D","33":"0 E F A B C L M G N O P MB y z"},E:{"1":"D E F A B C L M G nC oC pC PC CC DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC","2":"J LB lC OC mC","33":"K"},F:{"1":"0 1 2 3 4 G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x","2":"F B C xC yC zC 0C CC eC 1C DC"},G:{"1":"E 5C 6C 7C 8C 9C AD BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC","2":"OC 2C fC 3C","33":"4C"},H:{"2":"PD"},I:{"1":"I UD VD","2":"IC QD RD SD","33":"J TD fC"},J:{"1":"A","2":"D"},K:{"1":"H","2":"A B C CC eC DC"},L:{"1":"I"},M:{"1":"BC"},N:{"1":"B","2":"A"},O:{"1":"EC"},P:{"1":"0 1 2 3 4 J y z WD XD YD ZD aD PC bD cD dD eD fD FC GC HC gD"},Q:{"1":"hD"},R:{"1":"iD"},S:{"1":"jD kD"}},B:5,C:"Blob URLs",D:true}; diff --git a/node_modules/caniuse-lite/data/features/border-image.js b/node_modules/caniuse-lite/data/features/border-image.js index 443b98ab0a..2fa2e8b544 100644 --- a/node_modules/caniuse-lite/data/features/border-image.js +++ b/node_modules/caniuse-lite/data/features/border-image.js @@ -1 +1 @@ -module.exports={A:{A:{"1":"B","2":"K D E F A aC"},B:{"1":"0 1 2 3 4 5 6 7 8 9 M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I","129":"C L"},C:{"1":"0 1 2 3 4 5 6 7 8 9 fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC","2":"bC DC","260":"G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB","804":"J FB K D E F A B C L M dC eC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC","260":"gB hB iB jB kB","388":"LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB","1412":"G N O P GB u v w x y z HB IB JB KB","1956":"J FB K D E F A B C L M"},E:{"1":"MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC","129":"A B C L M G jC KC 7B 8B kC lC mC LC","1412":"K D E F hC iC","1956":"J FB fC JC gC"},F:{"1":"YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t","2":"F qC rC","260":"TB UB VB WB XB","388":"G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB","1796":"sC tC","1828":"B C 7B YC uC 8B"},G:{"1":"MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC","129":"1C 2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED LC","1412":"E xC yC zC 0C","1956":"JC vC ZC wC"},H:{"1828":"HD"},I:{"1":"I","388":"MD ND","1956":"DC J ID JD KD LD ZC"},J:{"1412":"A","1924":"D"},K:{"1":"H","2":"A","1828":"B C 7B YC 8B"},L:{"1":"I"},M:{"1":"6B"},N:{"1":"B","2":"A"},O:{"1":"9B"},P:{"1":"u v w x y z QD RD SD KC TD UD VD WD XD AC BC CC YD","260":"OD PD","388":"J"},Q:{"1":"ZD"},R:{"1":"aD"},S:{"1":"cD","260":"bD"}},B:4,C:"CSS3 Border images",D:true}; +module.exports={A:{A:{"1":"B","2":"K D E F A gC"},B:{"1":"5 6 7 8 9 M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I","129":"C L"},C:{"1":"5 6 7 8 9 kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC","2":"hC IC","260":"0 1 2 3 4 G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB","804":"J LB K D E F A B C L M jC kC"},D:{"1":"5 6 7 8 9 qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC","260":"lB mB nB oB pB","388":"QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB","1412":"0 1 2 3 4 G N O P MB y z NB OB PB","1956":"J LB K D E F A B C L M"},E:{"1":"RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC","129":"A B C L M G pC PC CC DC qC rC sC QC","1412":"K D E F nC oC","1956":"J LB lC OC mC"},F:{"1":"dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x","2":"F xC yC","260":"YB ZB aB bB cB","388":"0 1 2 3 4 G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB","1796":"zC 0C","1828":"B C CC eC 1C DC"},G:{"1":"RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC","129":"8C 9C AD BD CD DD ED FD GD HD ID JD KD LD QC","1412":"E 4C 5C 6C 7C","1956":"OC 2C fC 3C"},H:{"1828":"PD"},I:{"1":"I","388":"UD VD","1956":"IC J QD RD SD TD fC"},J:{"1412":"A","1924":"D"},K:{"1":"H","2":"A","1828":"B C CC eC DC"},L:{"1":"I"},M:{"1":"BC"},N:{"1":"B","2":"A"},O:{"1":"EC"},P:{"1":"0 1 2 3 4 y z YD ZD aD PC bD cD dD eD fD FC GC HC gD","260":"WD XD","388":"J"},Q:{"1":"hD"},R:{"1":"iD"},S:{"1":"kD","260":"jD"}},B:4,C:"CSS3 Border images",D:true}; diff --git a/node_modules/caniuse-lite/data/features/border-radius.js b/node_modules/caniuse-lite/data/features/border-radius.js index 97d68b6914..81f8f32692 100644 --- a/node_modules/caniuse-lite/data/features/border-radius.js +++ b/node_modules/caniuse-lite/data/features/border-radius.js @@ -1 +1 @@ -module.exports={A:{A:{"1":"F A B","2":"K D E aC"},B:{"1":"0 1 2 3 4 5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC","257":"J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB","289":"DC dC eC","292":"bC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC","33":"J"},E:{"1":"FB D E F A B C L M G iC jC KC 7B 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC","33":"J fC JC","129":"K gC hC"},F:{"1":"B C G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t sC tC 7B YC uC 8B","2":"F qC rC"},G:{"1":"E vC ZC wC xC yC zC 0C 1C 2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC","33":"JC"},H:{"2":"HD"},I:{"1":"DC J I JD KD LD ZC MD ND","33":"ID"},J:{"1":"D A"},K:{"1":"B C H 7B YC 8B","2":"A"},L:{"1":"I"},M:{"1":"6B"},N:{"1":"A B"},O:{"1":"9B"},P:{"1":"J u v w x y z OD PD QD RD SD KC TD UD VD WD XD AC BC CC YD"},Q:{"1":"ZD"},R:{"1":"aD"},S:{"1":"cD","257":"bD"}},B:4,C:"CSS3 Border-radius (rounded corners)",D:true}; +module.exports={A:{A:{"1":"F A B","2":"K D E gC"},B:{"1":"5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I"},C:{"1":"5 6 7 8 9 kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC","257":"0 1 2 3 4 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB","289":"IC jC kC","292":"hC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC","33":"J"},E:{"1":"LB D E F A B C L M G oC pC PC CC DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC","33":"J lC OC","129":"K mC nC"},F:{"1":"0 1 2 3 4 B C G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x zC 0C CC eC 1C DC","2":"F xC yC"},G:{"1":"E 2C fC 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC","33":"OC"},H:{"2":"PD"},I:{"1":"IC J I RD SD TD fC UD VD","33":"QD"},J:{"1":"D A"},K:{"1":"B C H CC eC DC","2":"A"},L:{"1":"I"},M:{"1":"BC"},N:{"1":"A B"},O:{"1":"EC"},P:{"1":"0 1 2 3 4 J y z WD XD YD ZD aD PC bD cD dD eD fD FC GC HC gD"},Q:{"1":"hD"},R:{"1":"iD"},S:{"1":"kD","257":"jD"}},B:4,C:"CSS3 Border-radius (rounded corners)",D:true}; diff --git a/node_modules/caniuse-lite/data/features/broadcastchannel.js b/node_modules/caniuse-lite/data/features/broadcastchannel.js index 2adabb71ad..29825074df 100644 --- a/node_modules/caniuse-lite/data/features/broadcastchannel.js +++ b/node_modules/caniuse-lite/data/features/broadcastchannel.js @@ -1 +1 @@ -module.exports={A:{A:{"2":"K D E F A B aC"},B:{"1":"0 1 2 3 4 5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I","2":"C L M G N O P"},C:{"1":"0 1 2 3 4 5 6 7 8 9 TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC","2":"bC DC J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB dC eC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC","2":"J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB"},E:{"1":"MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC","2":"J FB K D E F A B C L M G fC JC gC hC iC jC KC 7B 8B kC lC mC LC"},F:{"1":"WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t","2":"F B C G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB qC rC sC tC 7B YC uC 8B"},G:{"1":"MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC","2":"E JC vC ZC wC xC yC zC 0C 1C 2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED LC"},H:{"2":"HD"},I:{"1":"I","2":"DC J ID JD KD LD ZC MD ND"},J:{"2":"D A"},K:{"1":"H","2":"A B C 7B YC 8B"},L:{"1":"I"},M:{"1":"6B"},N:{"2":"A B"},O:{"1":"9B"},P:{"1":"u v w x y z QD RD SD KC TD UD VD WD XD AC BC CC YD","2":"J OD PD"},Q:{"1":"ZD"},R:{"1":"aD"},S:{"1":"bD cD"}},B:1,C:"BroadcastChannel",D:true}; +module.exports={A:{A:{"2":"K D E F A B gC"},B:{"1":"5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I","2":"C L M G N O P"},C:{"1":"5 6 7 8 9 YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC","2":"0 1 2 3 4 hC IC J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB jC kC"},D:{"1":"5 6 7 8 9 oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC","2":"0 1 2 3 4 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB"},E:{"1":"RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC","2":"J LB K D E F A B C L M G lC OC mC nC oC pC PC CC DC qC rC sC QC"},F:{"1":"bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x","2":"0 1 2 3 4 F B C G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB xC yC zC 0C CC eC 1C DC"},G:{"1":"RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC","2":"E OC 2C fC 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED FD GD HD ID JD KD LD QC"},H:{"2":"PD"},I:{"1":"I","2":"IC J QD RD SD TD fC UD VD"},J:{"2":"D A"},K:{"1":"H","2":"A B C CC eC DC"},L:{"1":"I"},M:{"1":"BC"},N:{"2":"A B"},O:{"1":"EC"},P:{"1":"0 1 2 3 4 y z YD ZD aD PC bD cD dD eD fD FC GC HC gD","2":"J WD XD"},Q:{"1":"hD"},R:{"1":"iD"},S:{"1":"jD kD"}},B:1,C:"BroadcastChannel",D:true}; diff --git a/node_modules/caniuse-lite/data/features/brotli.js b/node_modules/caniuse-lite/data/features/brotli.js index 26fc8ef547..6bda1b2074 100644 --- a/node_modules/caniuse-lite/data/features/brotli.js +++ b/node_modules/caniuse-lite/data/features/brotli.js @@ -1 +1 @@ -module.exports={A:{A:{"2":"K D E F A B aC"},B:{"1":"0 1 2 3 4 5 6 7 8 9 G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I","2":"C L M"},C:{"1":"0 1 2 3 4 5 6 7 8 9 ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC","2":"bC DC J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB dC eC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC","2":"J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB","194":"eB","257":"fB"},E:{"1":"L M G kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC","2":"J FB K D E F A fC JC gC hC iC jC KC","513":"B C 7B 8B"},F:{"1":"TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t","2":"F B C G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB qC rC sC tC 7B YC uC 8B","194":"RB SB"},G:{"1":"4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC","2":"E JC vC ZC wC xC yC zC 0C 1C 2C 3C"},H:{"2":"HD"},I:{"1":"I","2":"DC J ID JD KD LD ZC MD ND"},J:{"2":"D A"},K:{"1":"H","2":"A B C 7B YC 8B"},L:{"1":"I"},M:{"1":"6B"},N:{"2":"A B"},O:{"1":"9B"},P:{"1":"u v w x y z OD PD QD RD SD KC TD UD VD WD XD AC BC CC YD","2":"J"},Q:{"1":"ZD"},R:{"1":"aD"},S:{"1":"bD cD"}},B:6,C:"Brotli Accept-Encoding/Content-Encoding",D:true}; +module.exports={A:{A:{"2":"K D E F A B gC"},B:{"1":"5 6 7 8 9 G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I","2":"C L M"},C:{"1":"5 6 7 8 9 eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC","2":"0 1 2 3 4 hC IC J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB jC kC"},D:{"1":"5 6 7 8 9 lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC","2":"0 1 2 3 4 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB","194":"jB","257":"kB"},E:{"1":"L M G qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC","2":"J LB K D E F A lC OC mC nC oC pC PC","513":"B C CC DC"},F:{"1":"YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x","2":"0 1 2 3 4 F B C G N O P MB y z NB OB PB QB RB SB TB UB VB xC yC zC 0C CC eC 1C DC","194":"WB XB"},G:{"1":"BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC","2":"E OC 2C fC 3C 4C 5C 6C 7C 8C 9C AD"},H:{"2":"PD"},I:{"1":"I","2":"IC J QD RD SD TD fC UD VD"},J:{"2":"D A"},K:{"1":"H","2":"A B C CC eC DC"},L:{"1":"I"},M:{"1":"BC"},N:{"2":"A B"},O:{"1":"EC"},P:{"1":"0 1 2 3 4 y z WD XD YD ZD aD PC bD cD dD eD fD FC GC HC gD","2":"J"},Q:{"1":"hD"},R:{"1":"iD"},S:{"1":"jD kD"}},B:6,C:"Brotli Accept-Encoding/Content-Encoding",D:true}; diff --git a/node_modules/caniuse-lite/data/features/calc.js b/node_modules/caniuse-lite/data/features/calc.js index b42e6fb6ab..5e13eeeee0 100644 --- a/node_modules/caniuse-lite/data/features/calc.js +++ b/node_modules/caniuse-lite/data/features/calc.js @@ -1 +1 @@ -module.exports={A:{A:{"2":"K D E aC","260":"F","516":"A B"},B:{"1":"0 1 2 3 4 5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC","2":"bC DC dC eC","33":"J FB K D E F A B C L M G"},D:{"1":"0 1 2 3 4 5 6 7 8 9 HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC","2":"J FB K D E F A B C L M G N O P","33":"GB u v w x y z"},E:{"1":"D E F A B C L M G hC iC jC KC 7B 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC","2":"J FB fC JC gC","33":"K"},F:{"1":"G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t","2":"F B C qC rC sC tC 7B YC uC 8B"},G:{"1":"E yC zC 0C 1C 2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC","2":"JC vC ZC wC","33":"xC"},H:{"2":"HD"},I:{"1":"I","2":"DC J ID JD KD LD ZC","132":"MD ND"},J:{"1":"A","2":"D"},K:{"1":"H","2":"A B C 7B YC 8B"},L:{"1":"I"},M:{"1":"6B"},N:{"1":"A B"},O:{"1":"9B"},P:{"1":"J u v w x y z OD PD QD RD SD KC TD UD VD WD XD AC BC CC YD"},Q:{"1":"ZD"},R:{"1":"aD"},S:{"1":"bD cD"}},B:4,C:"calc() as CSS unit value",D:true}; +module.exports={A:{A:{"2":"K D E gC","260":"F","516":"A B"},B:{"1":"5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC","2":"hC IC jC kC","33":"J LB K D E F A B C L M G"},D:{"1":"4 5 6 7 8 9 NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC","2":"J LB K D E F A B C L M G N O P","33":"0 1 2 3 MB y z"},E:{"1":"D E F A B C L M G nC oC pC PC CC DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC","2":"J LB lC OC mC","33":"K"},F:{"1":"0 1 2 3 4 G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x","2":"F B C xC yC zC 0C CC eC 1C DC"},G:{"1":"E 5C 6C 7C 8C 9C AD BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC","2":"OC 2C fC 3C","33":"4C"},H:{"2":"PD"},I:{"1":"I","2":"IC J QD RD SD TD fC","132":"UD VD"},J:{"1":"A","2":"D"},K:{"1":"H","2":"A B C CC eC DC"},L:{"1":"I"},M:{"1":"BC"},N:{"1":"A B"},O:{"1":"EC"},P:{"1":"0 1 2 3 4 J y z WD XD YD ZD aD PC bD cD dD eD fD FC GC HC gD"},Q:{"1":"hD"},R:{"1":"iD"},S:{"1":"jD kD"}},B:4,C:"calc() as CSS unit value",D:true}; diff --git a/node_modules/caniuse-lite/data/features/canvas-blending.js b/node_modules/caniuse-lite/data/features/canvas-blending.js index 1b0661544b..d224c6d3f2 100644 --- a/node_modules/caniuse-lite/data/features/canvas-blending.js +++ b/node_modules/caniuse-lite/data/features/canvas-blending.js @@ -1 +1 @@ -module.exports={A:{A:{"2":"K D E F A B aC"},B:{"1":"0 1 2 3 4 5 6 7 8 9 L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I","2":"C"},C:{"1":"0 1 2 3 4 5 6 7 8 9 u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC","2":"bC DC J FB K D E F A B C L M G N O P GB dC eC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC","2":"J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB"},E:{"1":"D E F A B C L M G hC iC jC KC 7B 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC","2":"J FB K fC JC gC"},F:{"1":"O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t","2":"F B C G N qC rC sC tC 7B YC uC 8B"},G:{"1":"E yC zC 0C 1C 2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC","2":"JC vC ZC wC xC"},H:{"2":"HD"},I:{"1":"I MD ND","2":"DC J ID JD KD LD ZC"},J:{"2":"D A"},K:{"1":"H","2":"A B C 7B YC 8B"},L:{"1":"I"},M:{"1":"6B"},N:{"2":"A B"},O:{"1":"9B"},P:{"1":"J u v w x y z OD PD QD RD SD KC TD UD VD WD XD AC BC CC YD"},Q:{"1":"ZD"},R:{"1":"aD"},S:{"1":"bD cD"}},B:4,C:"Canvas blend modes",D:true}; +module.exports={A:{A:{"2":"K D E F A B gC"},B:{"1":"5 6 7 8 9 L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I","2":"C"},C:{"1":"0 1 2 3 4 5 6 7 8 9 y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC","2":"hC IC J LB K D E F A B C L M G N O P MB jC kC"},D:{"1":"5 6 7 8 9 QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC","2":"0 1 2 3 4 J LB K D E F A B C L M G N O P MB y z NB OB PB"},E:{"1":"D E F A B C L M G nC oC pC PC CC DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC","2":"J LB K lC OC mC"},F:{"1":"0 1 2 3 4 O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x","2":"F B C G N xC yC zC 0C CC eC 1C DC"},G:{"1":"E 5C 6C 7C 8C 9C AD BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC","2":"OC 2C fC 3C 4C"},H:{"2":"PD"},I:{"1":"I UD VD","2":"IC J QD RD SD TD fC"},J:{"2":"D A"},K:{"1":"H","2":"A B C CC eC DC"},L:{"1":"I"},M:{"1":"BC"},N:{"2":"A B"},O:{"1":"EC"},P:{"1":"0 1 2 3 4 J y z WD XD YD ZD aD PC bD cD dD eD fD FC GC HC gD"},Q:{"1":"hD"},R:{"1":"iD"},S:{"1":"jD kD"}},B:4,C:"Canvas blend modes",D:true}; diff --git a/node_modules/caniuse-lite/data/features/canvas-text.js b/node_modules/caniuse-lite/data/features/canvas-text.js index 7040da286c..96116a1fc7 100644 --- a/node_modules/caniuse-lite/data/features/canvas-text.js +++ b/node_modules/caniuse-lite/data/features/canvas-text.js @@ -1 +1 @@ -module.exports={A:{A:{"1":"F A B","2":"aC","8":"K D E"},B:{"1":"0 1 2 3 4 5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC dC eC","8":"bC DC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC"},E:{"1":"J FB K D E F A B C L M G gC hC iC jC KC 7B 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC","8":"fC JC"},F:{"1":"B C G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t sC tC 7B YC uC 8B","8":"F qC rC"},G:{"1":"E JC vC ZC wC xC yC zC 0C 1C 2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC"},H:{"2":"HD"},I:{"1":"DC J I ID JD KD LD ZC MD ND"},J:{"1":"D A"},K:{"1":"B C H 7B YC 8B","8":"A"},L:{"1":"I"},M:{"1":"6B"},N:{"1":"A B"},O:{"1":"9B"},P:{"1":"J u v w x y z OD PD QD RD SD KC TD UD VD WD XD AC BC CC YD"},Q:{"1":"ZD"},R:{"1":"aD"},S:{"1":"bD cD"}},B:1,C:"Text API for Canvas",D:true}; +module.exports={A:{A:{"1":"F A B","2":"gC","8":"K D E"},B:{"1":"5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC jC kC","8":"hC IC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC"},E:{"1":"J LB K D E F A B C L M G mC nC oC pC PC CC DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC","8":"lC OC"},F:{"1":"0 1 2 3 4 B C G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x zC 0C CC eC 1C DC","8":"F xC yC"},G:{"1":"E OC 2C fC 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC"},H:{"2":"PD"},I:{"1":"IC J I QD RD SD TD fC UD VD"},J:{"1":"D A"},K:{"1":"B C H CC eC DC","8":"A"},L:{"1":"I"},M:{"1":"BC"},N:{"1":"A B"},O:{"1":"EC"},P:{"1":"0 1 2 3 4 J y z WD XD YD ZD aD PC bD cD dD eD fD FC GC HC gD"},Q:{"1":"hD"},R:{"1":"iD"},S:{"1":"jD kD"}},B:1,C:"Text API for Canvas",D:true}; diff --git a/node_modules/caniuse-lite/data/features/canvas.js b/node_modules/caniuse-lite/data/features/canvas.js index 55c34520e1..98921f5605 100644 --- a/node_modules/caniuse-lite/data/features/canvas.js +++ b/node_modules/caniuse-lite/data/features/canvas.js @@ -1 +1 @@ -module.exports={A:{A:{"1":"F A B","2":"aC","8":"K D E"},B:{"1":"0 1 2 3 4 5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC eC","132":"bC DC dC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC"},E:{"1":"J FB K D E F A B C L M G gC hC iC jC KC 7B 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC","132":"fC JC"},F:{"1":"F B C G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t qC rC sC tC 7B YC uC 8B"},G:{"1":"E JC vC ZC wC xC yC zC 0C 1C 2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC"},H:{"260":"HD"},I:{"1":"DC J I LD ZC MD ND","132":"ID JD KD"},J:{"1":"D A"},K:{"1":"A B C H 7B YC 8B"},L:{"1":"I"},M:{"1":"6B"},N:{"1":"A B"},O:{"1":"9B"},P:{"1":"J u v w x y z OD PD QD RD SD KC TD UD VD WD XD AC BC CC YD"},Q:{"1":"ZD"},R:{"1":"aD"},S:{"1":"bD cD"}},B:1,C:"Canvas (basic support)",D:true}; +module.exports={A:{A:{"1":"F A B","2":"gC","8":"K D E"},B:{"1":"5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC kC","132":"hC IC jC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC"},E:{"1":"J LB K D E F A B C L M G mC nC oC pC PC CC DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC","132":"lC OC"},F:{"1":"0 1 2 3 4 F B C G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x xC yC zC 0C CC eC 1C DC"},G:{"1":"E OC 2C fC 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC"},H:{"260":"PD"},I:{"1":"IC J I TD fC UD VD","132":"QD RD SD"},J:{"1":"D A"},K:{"1":"A B C H CC eC DC"},L:{"1":"I"},M:{"1":"BC"},N:{"1":"A B"},O:{"1":"EC"},P:{"1":"0 1 2 3 4 J y z WD XD YD ZD aD PC bD cD dD eD fD FC GC HC gD"},Q:{"1":"hD"},R:{"1":"iD"},S:{"1":"jD kD"}},B:1,C:"Canvas (basic support)",D:true}; diff --git a/node_modules/caniuse-lite/data/features/ch-unit.js b/node_modules/caniuse-lite/data/features/ch-unit.js index 38098222c1..4ce8605e4b 100644 --- a/node_modules/caniuse-lite/data/features/ch-unit.js +++ b/node_modules/caniuse-lite/data/features/ch-unit.js @@ -1 +1 @@ -module.exports={A:{A:{"2":"K D E aC","132":"F A B"},B:{"1":"0 1 2 3 4 5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 bC DC J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC dC eC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC","2":"J FB K D E F A B C L M G N O P GB u v w x y z HB"},E:{"1":"D E F A B C L M G iC jC KC 7B 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC","2":"J FB K fC JC gC hC"},F:{"1":"G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t","2":"F B C qC rC sC tC 7B YC uC 8B"},G:{"1":"E yC zC 0C 1C 2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC","2":"JC vC ZC wC xC"},H:{"2":"HD"},I:{"1":"I MD ND","2":"DC J ID JD KD LD ZC"},J:{"1":"A","2":"D"},K:{"1":"H","2":"A B C 7B YC 8B"},L:{"1":"I"},M:{"1":"6B"},N:{"1":"A B"},O:{"1":"9B"},P:{"1":"J u v w x y z OD PD QD RD SD KC TD UD VD WD XD AC BC CC YD"},Q:{"1":"ZD"},R:{"1":"aD"},S:{"1":"bD cD"}},B:4,C:"ch (character) unit",D:true}; +module.exports={A:{A:{"2":"K D E gC","132":"F A B"},B:{"1":"5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 hC IC J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC jC kC"},D:{"1":"5 6 7 8 9 NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC","2":"0 1 2 3 4 J LB K D E F A B C L M G N O P MB y z"},E:{"1":"D E F A B C L M G oC pC PC CC DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC","2":"J LB K lC OC mC nC"},F:{"1":"0 1 2 3 4 G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x","2":"F B C xC yC zC 0C CC eC 1C DC"},G:{"1":"E 5C 6C 7C 8C 9C AD BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC","2":"OC 2C fC 3C 4C"},H:{"2":"PD"},I:{"1":"I UD VD","2":"IC J QD RD SD TD fC"},J:{"1":"A","2":"D"},K:{"1":"H","2":"A B C CC eC DC"},L:{"1":"I"},M:{"1":"BC"},N:{"1":"A B"},O:{"1":"EC"},P:{"1":"0 1 2 3 4 J y z WD XD YD ZD aD PC bD cD dD eD fD FC GC HC gD"},Q:{"1":"hD"},R:{"1":"iD"},S:{"1":"jD kD"}},B:4,C:"ch (character) unit",D:true}; diff --git a/node_modules/caniuse-lite/data/features/chacha20-poly1305.js b/node_modules/caniuse-lite/data/features/chacha20-poly1305.js index f43c28541a..a5c42db5ec 100644 --- a/node_modules/caniuse-lite/data/features/chacha20-poly1305.js +++ b/node_modules/caniuse-lite/data/features/chacha20-poly1305.js @@ -1 +1 @@ -module.exports={A:{A:{"2":"K D E F A B aC"},B:{"1":"0 1 2 3 4 5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I","2":"C L M G N O P"},C:{"1":"0 1 2 3 4 5 6 7 8 9 cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC","2":"bC DC J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB dC eC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC","2":"J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB","129":"OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB"},E:{"1":"C L M G 7B 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC","2":"J FB K D E F A B fC JC gC hC iC jC KC"},F:{"1":"RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t","2":"F B C G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB qC rC sC tC 7B YC uC 8B"},G:{"1":"4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC","2":"E JC vC ZC wC xC yC zC 0C 1C 2C 3C"},H:{"2":"HD"},I:{"1":"I","2":"DC J ID JD KD LD ZC MD","16":"ND"},J:{"2":"D A"},K:{"1":"H","2":"A B C 7B YC 8B"},L:{"1":"I"},M:{"1":"6B"},N:{"2":"A B"},O:{"1":"9B"},P:{"1":"J u v w x y z OD PD QD RD SD KC TD UD VD WD XD AC BC CC YD"},Q:{"1":"ZD"},R:{"1":"aD"},S:{"1":"bD cD"}},B:6,C:"ChaCha20-Poly1305 cipher suites for TLS",D:true}; +module.exports={A:{A:{"2":"K D E F A B gC"},B:{"1":"5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I","2":"C L M G N O P"},C:{"1":"5 6 7 8 9 hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC","2":"0 1 2 3 4 hC IC J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB jC kC"},D:{"1":"5 6 7 8 9 jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC","2":"0 1 2 3 4 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB","129":"TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB"},E:{"1":"C L M G CC DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC","2":"J LB K D E F A B lC OC mC nC oC pC PC"},F:{"1":"WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x","2":"0 1 2 3 4 F B C G N O P MB y z NB OB PB QB RB SB TB UB VB xC yC zC 0C CC eC 1C DC"},G:{"1":"BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC","2":"E OC 2C fC 3C 4C 5C 6C 7C 8C 9C AD"},H:{"2":"PD"},I:{"1":"I","2":"IC J QD RD SD TD fC UD","16":"VD"},J:{"2":"D A"},K:{"1":"H","2":"A B C CC eC DC"},L:{"1":"I"},M:{"1":"BC"},N:{"2":"A B"},O:{"1":"EC"},P:{"1":"0 1 2 3 4 J y z WD XD YD ZD aD PC bD cD dD eD fD FC GC HC gD"},Q:{"1":"hD"},R:{"1":"iD"},S:{"1":"jD kD"}},B:6,C:"ChaCha20-Poly1305 cipher suites for TLS",D:true}; diff --git a/node_modules/caniuse-lite/data/features/channel-messaging.js b/node_modules/caniuse-lite/data/features/channel-messaging.js index ea40ce9e50..ec46622d89 100644 --- a/node_modules/caniuse-lite/data/features/channel-messaging.js +++ b/node_modules/caniuse-lite/data/features/channel-messaging.js @@ -1 +1 @@ -module.exports={A:{A:{"1":"A B","2":"K D E F aC"},B:{"1":"0 1 2 3 4 5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC","2":"bC DC J FB K D E F A B C L M G N O P GB u v w x y z dC eC","194":"HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB"},D:{"1":"0 1 2 3 4 5 6 7 8 9 J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC"},E:{"1":"FB K D E F A B C L M G gC hC iC jC KC 7B 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC","2":"J fC JC"},F:{"1":"B C G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t tC 7B YC uC 8B","2":"F qC rC","16":"sC"},G:{"1":"E wC xC yC zC 0C 1C 2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC","2":"JC vC ZC"},H:{"2":"HD"},I:{"1":"I MD ND","2":"DC J ID JD KD LD ZC"},J:{"1":"D A"},K:{"1":"B C H 7B YC 8B","2":"A"},L:{"1":"I"},M:{"1":"6B"},N:{"1":"A B"},O:{"1":"9B"},P:{"1":"J u v w x y z OD PD QD RD SD KC TD UD VD WD XD AC BC CC YD"},Q:{"1":"ZD"},R:{"1":"aD"},S:{"1":"bD cD"}},B:1,C:"Channel messaging",D:true}; +module.exports={A:{A:{"1":"A B","2":"K D E F gC"},B:{"1":"5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I"},C:{"1":"5 6 7 8 9 bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC","2":"0 1 2 3 hC IC J LB K D E F A B C L M G N O P MB y z jC kC","194":"4 NB OB PB QB RB SB TB UB VB WB XB YB ZB aB"},D:{"1":"0 1 2 3 4 5 6 7 8 9 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC"},E:{"1":"LB K D E F A B C L M G mC nC oC pC PC CC DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC","2":"J lC OC"},F:{"1":"0 1 2 3 4 B C G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x 0C CC eC 1C DC","2":"F xC yC","16":"zC"},G:{"1":"E 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC","2":"OC 2C fC"},H:{"2":"PD"},I:{"1":"I UD VD","2":"IC J QD RD SD TD fC"},J:{"1":"D A"},K:{"1":"B C H CC eC DC","2":"A"},L:{"1":"I"},M:{"1":"BC"},N:{"1":"A B"},O:{"1":"EC"},P:{"1":"0 1 2 3 4 J y z WD XD YD ZD aD PC bD cD dD eD fD FC GC HC gD"},Q:{"1":"hD"},R:{"1":"iD"},S:{"1":"jD kD"}},B:1,C:"Channel messaging",D:true}; diff --git a/node_modules/caniuse-lite/data/features/childnode-remove.js b/node_modules/caniuse-lite/data/features/childnode-remove.js index e664eed609..4a8b81043f 100644 --- a/node_modules/caniuse-lite/data/features/childnode-remove.js +++ b/node_modules/caniuse-lite/data/features/childnode-remove.js @@ -1 +1 @@ -module.exports={A:{A:{"2":"K D E F A B aC"},B:{"1":"0 1 2 3 4 5 6 7 8 9 L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I","16":"C"},C:{"1":"0 1 2 3 4 5 6 7 8 9 x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC","2":"bC DC J FB K D E F A B C L M G N O P GB u v w dC eC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC","2":"J FB K D E F A B C L M G N O P GB u v w x"},E:{"1":"D E F A B C L M G hC iC jC KC 7B 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC","2":"J FB fC JC gC","16":"K"},F:{"1":"G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t","2":"F B C qC rC sC tC 7B YC uC 8B"},G:{"1":"E yC zC 0C 1C 2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC","2":"JC vC ZC wC xC"},H:{"2":"HD"},I:{"1":"I MD ND","2":"DC J ID JD KD LD ZC"},J:{"1":"A","2":"D"},K:{"1":"H","2":"A B C 7B YC 8B"},L:{"1":"I"},M:{"1":"6B"},N:{"2":"A B"},O:{"1":"9B"},P:{"1":"J u v w x y z OD PD QD RD SD KC TD UD VD WD XD AC BC CC YD"},Q:{"1":"ZD"},R:{"1":"aD"},S:{"1":"bD cD"}},B:1,C:"ChildNode.remove()",D:true}; +module.exports={A:{A:{"2":"K D E F A B gC"},B:{"1":"5 6 7 8 9 L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I","16":"C"},C:{"1":"1 2 3 4 5 6 7 8 9 NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC","2":"0 hC IC J LB K D E F A B C L M G N O P MB y z jC kC"},D:{"1":"2 3 4 5 6 7 8 9 NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC","2":"0 1 J LB K D E F A B C L M G N O P MB y z"},E:{"1":"D E F A B C L M G nC oC pC PC CC DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC","2":"J LB lC OC mC","16":"K"},F:{"1":"0 1 2 3 4 G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x","2":"F B C xC yC zC 0C CC eC 1C DC"},G:{"1":"E 5C 6C 7C 8C 9C AD BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC","2":"OC 2C fC 3C 4C"},H:{"2":"PD"},I:{"1":"I UD VD","2":"IC J QD RD SD TD fC"},J:{"1":"A","2":"D"},K:{"1":"H","2":"A B C CC eC DC"},L:{"1":"I"},M:{"1":"BC"},N:{"2":"A B"},O:{"1":"EC"},P:{"1":"0 1 2 3 4 J y z WD XD YD ZD aD PC bD cD dD eD fD FC GC HC gD"},Q:{"1":"hD"},R:{"1":"iD"},S:{"1":"jD kD"}},B:1,C:"ChildNode.remove()",D:true}; diff --git a/node_modules/caniuse-lite/data/features/classlist.js b/node_modules/caniuse-lite/data/features/classlist.js index 8ff87934e0..8f8edf8c7d 100644 --- a/node_modules/caniuse-lite/data/features/classlist.js +++ b/node_modules/caniuse-lite/data/features/classlist.js @@ -1 +1 @@ -module.exports={A:{A:{"8":"K D E F aC","1924":"A B"},B:{"1":"0 1 2 3 4 5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC","8":"bC DC dC","516":"y z","772":"J FB K D E F A B C L M G N O P GB u v w x eC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC","8":"J FB K D","516":"y z HB IB","772":"x","900":"E F A B C L M G N O P GB u v w"},E:{"1":"D E F A B C L M G iC jC KC 7B 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC","8":"J FB fC JC","900":"K gC hC"},F:{"1":"G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t","8":"F B qC rC sC tC 7B","900":"C YC uC 8B"},G:{"1":"E yC zC 0C 1C 2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC","8":"JC vC ZC","900":"wC xC"},H:{"900":"HD"},I:{"1":"I MD ND","8":"ID JD KD","900":"DC J LD ZC"},J:{"1":"A","900":"D"},K:{"1":"H","8":"A B","900":"C 7B YC 8B"},L:{"1":"I"},M:{"1":"6B"},N:{"900":"A B"},O:{"1":"9B"},P:{"1":"J u v w x y z OD PD QD RD SD KC TD UD VD WD XD AC BC CC YD"},Q:{"1":"ZD"},R:{"1":"aD"},S:{"1":"bD cD"}},B:1,C:"classList (DOMTokenList)",D:true}; +module.exports={A:{A:{"8":"K D E F gC","1924":"A B"},B:{"1":"5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I"},C:{"1":"4 5 6 7 8 9 NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC","8":"hC IC jC","516":"2 3","772":"0 1 J LB K D E F A B C L M G N O P MB y z kC"},D:{"1":"5 6 7 8 9 OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC","8":"J LB K D","516":"2 3 4 NB","772":"1","900":"0 E F A B C L M G N O P MB y z"},E:{"1":"D E F A B C L M G oC pC PC CC DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC","8":"J LB lC OC","900":"K mC nC"},F:{"1":"0 1 2 3 4 G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x","8":"F B xC yC zC 0C CC","900":"C eC 1C DC"},G:{"1":"E 5C 6C 7C 8C 9C AD BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC","8":"OC 2C fC","900":"3C 4C"},H:{"900":"PD"},I:{"1":"I UD VD","8":"QD RD SD","900":"IC J TD fC"},J:{"1":"A","900":"D"},K:{"1":"H","8":"A B","900":"C CC eC DC"},L:{"1":"I"},M:{"1":"BC"},N:{"900":"A B"},O:{"1":"EC"},P:{"1":"0 1 2 3 4 J y z WD XD YD ZD aD PC bD cD dD eD fD FC GC HC gD"},Q:{"1":"hD"},R:{"1":"iD"},S:{"1":"jD kD"}},B:1,C:"classList (DOMTokenList)",D:true}; diff --git a/node_modules/caniuse-lite/data/features/client-hints-dpr-width-viewport.js b/node_modules/caniuse-lite/data/features/client-hints-dpr-width-viewport.js index bf69634c52..a9549c84e2 100644 --- a/node_modules/caniuse-lite/data/features/client-hints-dpr-width-viewport.js +++ b/node_modules/caniuse-lite/data/features/client-hints-dpr-width-viewport.js @@ -1 +1 @@ -module.exports={A:{A:{"2":"K D E F A B aC"},B:{"1":"0 1 2 3 4 5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I","2":"C L M G N O P"},C:{"2":"0 1 2 3 4 5 6 7 8 9 bC DC J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC dC eC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC","2":"J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB"},E:{"2":"J FB K D E F A B C L M G fC JC gC hC iC jC KC 7B 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC"},F:{"1":"OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t","2":"F B C G N O P GB u v w x y z HB IB JB KB LB MB NB qC rC sC tC 7B YC uC 8B"},G:{"2":"E JC vC ZC wC xC yC zC 0C 1C 2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC"},H:{"2":"HD"},I:{"1":"I","2":"DC J ID JD KD LD ZC MD ND"},J:{"2":"D A"},K:{"1":"H","2":"A B C 7B YC 8B"},L:{"1":"I"},M:{"2":"6B"},N:{"2":"A B"},O:{"1":"9B"},P:{"1":"u v w x y z OD PD QD RD SD KC TD UD VD WD XD AC BC CC YD","2":"J"},Q:{"1":"ZD"},R:{"1":"aD"},S:{"2":"bD cD"}},B:6,C:"Client Hints: DPR, Width, Viewport-Width",D:true}; +module.exports={A:{A:{"2":"K D E F A B gC"},B:{"1":"5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I","2":"C L M G N O P"},C:{"2":"0 1 2 3 4 5 6 7 8 9 hC IC J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC jC kC"},D:{"1":"5 6 7 8 9 gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC","2":"0 1 2 3 4 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB"},E:{"2":"J LB K D E F A B C L M G lC OC mC nC oC pC PC CC DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC"},F:{"1":"TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x","2":"0 1 2 3 4 F B C G N O P MB y z NB OB PB QB RB SB xC yC zC 0C CC eC 1C DC"},G:{"2":"E OC 2C fC 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC"},H:{"2":"PD"},I:{"1":"I","2":"IC J QD RD SD TD fC UD VD"},J:{"2":"D A"},K:{"1":"H","2":"A B C CC eC DC"},L:{"1":"I"},M:{"2":"BC"},N:{"2":"A B"},O:{"1":"EC"},P:{"1":"0 1 2 3 4 y z WD XD YD ZD aD PC bD cD dD eD fD FC GC HC gD","2":"J"},Q:{"1":"hD"},R:{"1":"iD"},S:{"2":"jD kD"}},B:6,C:"Client Hints: DPR, Width, Viewport-Width",D:true}; diff --git a/node_modules/caniuse-lite/data/features/clipboard.js b/node_modules/caniuse-lite/data/features/clipboard.js index fe84949c47..b9b8bb699b 100644 --- a/node_modules/caniuse-lite/data/features/clipboard.js +++ b/node_modules/caniuse-lite/data/features/clipboard.js @@ -1 +1 @@ -module.exports={A:{A:{"2436":"K D E F A B aC"},B:{"260":"O P","2436":"C L M G N","8196":"0 1 2 3 4 5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I"},C:{"2":"bC DC J FB K D E F A B C L M G N O P GB u v dC eC","772":"w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB","4100":"0 1 2 3 4 5 6 7 8 9 WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC"},D:{"2":"J FB K D E F A B C","2564":"L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB","8196":"0 1 2 3 4 5 6 7 8 9 nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC","10244":"YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB"},E:{"1":"C L M G 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC","16":"fC JC","2308":"A B KC 7B","2820":"J FB K D E F gC hC iC jC"},F:{"2":"F B qC rC sC tC 7B YC uC","16":"C","516":"8B","2564":"G N O P GB u v w x y z HB IB JB KB","8196":"aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t","10244":"LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB"},G:{"1":"6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC","2":"JC vC ZC","2820":"E wC xC yC zC 0C 1C 2C 3C 4C 5C"},H:{"2":"HD"},I:{"2":"DC J ID JD KD LD ZC","260":"I","2308":"MD ND"},J:{"2":"D","2308":"A"},K:{"2":"A B C 7B YC","16":"8B","8196":"H"},L:{"8196":"I"},M:{"1028":"6B"},N:{"2":"A B"},O:{"8196":"9B"},P:{"2052":"OD PD","2308":"J","8196":"u v w x y z QD RD SD KC TD UD VD WD XD AC BC CC YD"},Q:{"8196":"ZD"},R:{"8196":"aD"},S:{"4100":"bD cD"}},B:5,C:"Synchronous Clipboard API",D:true}; +module.exports={A:{A:{"2436":"K D E F A B gC"},B:{"260":"O P","2436":"C L M G N","8196":"5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I"},C:{"2":"hC IC J LB K D E F A B C L M G N O P MB y z jC kC","772":"0 1 2 3 4 NB OB PB QB RB SB TB UB VB WB XB YB ZB aB","4100":"5 6 7 8 9 bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC"},D:{"2":"J LB K D E F A B C","2564":"0 1 2 3 4 L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB","8196":"5 6 7 8 9 sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC","10244":"dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB"},E:{"1":"C L M G DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC","16":"lC OC","2308":"A B PC CC","2820":"J LB K D E F mC nC oC pC"},F:{"2":"F B xC yC zC 0C CC eC 1C","16":"C","516":"DC","2564":"0 1 2 3 4 G N O P MB y z NB OB PB","8196":"fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x","10244":"QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB"},G:{"1":"DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC","2":"OC 2C fC","2820":"E 3C 4C 5C 6C 7C 8C 9C AD BD CD"},H:{"2":"PD"},I:{"2":"IC J QD RD SD TD fC","260":"I","2308":"UD VD"},J:{"2":"D","2308":"A"},K:{"2":"A B C CC eC","16":"DC","8196":"H"},L:{"8196":"I"},M:{"1028":"BC"},N:{"2":"A B"},O:{"8196":"EC"},P:{"2052":"WD XD","2308":"J","8196":"0 1 2 3 4 y z YD ZD aD PC bD cD dD eD fD FC GC HC gD"},Q:{"8196":"hD"},R:{"8196":"iD"},S:{"4100":"jD kD"}},B:5,C:"Synchronous Clipboard API",D:true}; diff --git a/node_modules/caniuse-lite/data/features/colr-v1.js b/node_modules/caniuse-lite/data/features/colr-v1.js index 19b70ac021..1807e51f79 100644 --- a/node_modules/caniuse-lite/data/features/colr-v1.js +++ b/node_modules/caniuse-lite/data/features/colr-v1.js @@ -1 +1 @@ -module.exports={A:{A:{"2":"K D E F A B aC"},B:{"1":"0 1 2 3 4 5 6 7 8 9 h i j k l m n o p q r s t AB BB CB DB EB I","2":"C L M G N O P Q H R S T U V W X Y Z a b c d e f g"},C:{"1":"0 1 2 3 4 5 6 7 8 9 q r s t AB BB CB DB EB I 6B HC IC cC","2":"bC DC J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g dC eC","258":"h i j k l m n","578":"o p"},D:{"1":"0 1 2 3 4 5 6 7 8 9 h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC","2":"J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y","194":"Z a b c d e f g"},E:{"2":"J FB K D E F A B C L M G fC JC gC hC iC jC KC 7B 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC"},F:{"1":"V W X Y Z a b c d e f g h i j k l m n o p q r s t","2":"F B C G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U qC rC sC tC 7B YC uC 8B"},G:{"2":"E JC vC ZC wC xC yC zC 0C 1C 2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC"},H:{"2":"HD"},I:{"1":"I","2":"DC J ID JD KD LD ZC MD ND"},J:{"16":"D A"},K:{"1":"H","2":"A B C 7B YC 8B"},L:{"1":"I"},M:{"1":"6B"},N:{"16":"A B"},O:{"1":"9B"},P:{"1":"u v w x y z CC YD","2":"J OD PD QD RD SD KC TD UD VD WD XD AC BC"},Q:{"2":"ZD"},R:{"2":"aD"},S:{"2":"bD cD"}},B:6,C:"COLR/CPAL(v1) Font Formats",D:true}; +module.exports={A:{A:{"2":"K D E F A B gC"},B:{"1":"5 6 7 8 9 h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I","2":"C L M G N O P Q H R S T U V W X Y Z a b c d e f g"},C:{"1":"5 6 7 8 9 q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC","2":"0 1 2 3 4 hC IC J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g jC kC","258":"h i j k l m n","578":"o p"},D:{"1":"5 6 7 8 9 h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC","2":"0 1 2 3 4 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y","194":"Z a b c d e f g"},E:{"2":"J LB K D E F A B C L M G lC OC mC nC oC pC PC CC DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC"},F:{"1":"V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x","2":"0 1 2 3 4 F B C G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U xC yC zC 0C CC eC 1C DC"},G:{"2":"E OC 2C fC 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC"},H:{"2":"PD"},I:{"1":"I","2":"IC J QD RD SD TD fC UD VD"},J:{"16":"D A"},K:{"1":"H","2":"A B C CC eC DC"},L:{"1":"I"},M:{"1":"BC"},N:{"16":"A B"},O:{"1":"EC"},P:{"1":"0 1 2 3 4 y z HC gD","2":"J WD XD YD ZD aD PC bD cD dD eD fD FC GC"},Q:{"2":"hD"},R:{"2":"iD"},S:{"2":"jD kD"}},B:6,C:"COLR/CPAL(v1) Font Formats",D:true}; diff --git a/node_modules/caniuse-lite/data/features/colr.js b/node_modules/caniuse-lite/data/features/colr.js index 775443e669..fc4b456cc9 100644 --- a/node_modules/caniuse-lite/data/features/colr.js +++ b/node_modules/caniuse-lite/data/features/colr.js @@ -1 +1 @@ -module.exports={A:{A:{"2":"K D E aC","257":"F A B"},B:{"1":"0 1 2 3 4 5 6 7 8 9 C L M G N O P t AB BB CB DB EB I","513":"Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s"},C:{"1":"0 1 2 3 4 5 6 7 8 9 NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC","2":"bC DC J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB dC eC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 t AB BB CB DB EB I 6B HC IC","2":"J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB","513":"yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s"},E:{"1":"M G lC mC LC MC 9B nC AC NC OC PC QC RC oC TC UC VC WC XC CC pC","2":"J FB K D E F A fC JC gC hC iC jC KC","129":"B C L 7B 8B kC","1026":"BC SC"},F:{"2":"F B C G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB qC rC sC tC 7B YC uC 8B","513":"nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t"},G:{"1":"4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD TC UC VC WC XC CC","2":"E JC vC ZC wC xC yC zC 0C 1C 2C 3C","1026":"BC SC"},H:{"2":"HD"},I:{"1":"I","2":"DC J ID JD KD LD ZC MD ND"},J:{"16":"D A"},K:{"1":"H","2":"A B C 7B YC 8B"},L:{"1":"I"},M:{"1":"6B"},N:{"16":"A B"},O:{"1":"9B"},P:{"1":"u v w x y z KC TD UD VD WD XD AC BC CC YD","2":"J OD PD QD RD SD"},Q:{"1":"ZD"},R:{"1":"aD"},S:{"1":"bD cD"}},B:6,C:"COLR/CPAL(v0) Font Formats",D:true}; +module.exports={A:{A:{"2":"K D E gC","257":"F A B"},B:{"1":"5 6 7 8 9 C L M G N O P t u v w x AB BB CB DB EB FB GB HB IB JB KB I","513":"Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s"},C:{"1":"5 6 7 8 9 SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC","2":"0 1 2 3 4 hC IC J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB jC kC"},D:{"1":"5 6 7 8 9 t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC","2":"0 1 2 3 4 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B","513":"3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s"},E:{"1":"M G rC sC QC RC EC tC FC SC TC UC VC WC uC YC ZC aC bC vC HC cC dC wC","2":"J LB K D E F A lC OC mC nC oC pC PC","129":"B C L CC DC qC","1026":"GC XC"},F:{"1":"f g h i j k l m n o p q r s t u v w x","2":"0 1 2 3 4 F B C G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB xC yC zC 0C CC eC 1C DC","513":"sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e"},G:{"1":"BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND YC ZC aC bC OD HC cC dC","2":"E OC 2C fC 3C 4C 5C 6C 7C 8C 9C AD","1026":"GC XC"},H:{"2":"PD"},I:{"1":"I","2":"IC J QD RD SD TD fC UD VD"},J:{"16":"D A"},K:{"1":"H","2":"A B C CC eC DC"},L:{"1":"I"},M:{"1":"BC"},N:{"16":"A B"},O:{"1":"EC"},P:{"1":"0 1 2 3 4 y z PC bD cD dD eD fD FC GC HC gD","2":"J WD XD YD ZD aD"},Q:{"1":"hD"},R:{"1":"iD"},S:{"1":"jD kD"}},B:6,C:"COLR/CPAL(v0) Font Formats",D:true}; diff --git a/node_modules/caniuse-lite/data/features/comparedocumentposition.js b/node_modules/caniuse-lite/data/features/comparedocumentposition.js index 58e289893f..5657442c2a 100644 --- a/node_modules/caniuse-lite/data/features/comparedocumentposition.js +++ b/node_modules/caniuse-lite/data/features/comparedocumentposition.js @@ -1 +1 @@ -module.exports={A:{A:{"1":"F A B","2":"K D E aC"},B:{"1":"0 1 2 3 4 5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC","16":"bC DC dC eC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC","16":"J FB K D E F A B C L M","132":"G N O P GB u v w x y z HB IB JB KB"},E:{"1":"A B C L M G KC 7B 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC","16":"J FB K fC JC","132":"D E F hC iC jC","260":"gC"},F:{"1":"C O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t uC 8B","16":"F B qC rC sC tC 7B YC","132":"G N"},G:{"1":"2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC","16":"JC","132":"E vC ZC wC xC yC zC 0C 1C"},H:{"1":"HD"},I:{"1":"I MD ND","16":"ID JD","132":"DC J KD LD ZC"},J:{"132":"D A"},K:{"1":"C H 8B","16":"A B 7B YC"},L:{"1":"I"},M:{"1":"6B"},N:{"1":"A B"},O:{"1":"9B"},P:{"1":"J u v w x y z OD PD QD RD SD KC TD UD VD WD XD AC BC CC YD"},Q:{"1":"ZD"},R:{"1":"aD"},S:{"1":"bD cD"}},B:1,C:"Node.compareDocumentPosition()",D:true}; +module.exports={A:{A:{"1":"F A B","2":"K D E gC"},B:{"1":"5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC","16":"hC IC jC kC"},D:{"1":"5 6 7 8 9 QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC","16":"J LB K D E F A B C L M","132":"0 1 2 3 4 G N O P MB y z NB OB PB"},E:{"1":"A B C L M G PC CC DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC","16":"J LB K lC OC","132":"D E F nC oC pC","260":"mC"},F:{"1":"0 1 2 3 4 C O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x 1C DC","16":"F B xC yC zC 0C CC eC","132":"G N"},G:{"1":"9C AD BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC","16":"OC","132":"E 2C fC 3C 4C 5C 6C 7C 8C"},H:{"1":"PD"},I:{"1":"I UD VD","16":"QD RD","132":"IC J SD TD fC"},J:{"132":"D A"},K:{"1":"C H DC","16":"A B CC eC"},L:{"1":"I"},M:{"1":"BC"},N:{"1":"A B"},O:{"1":"EC"},P:{"1":"0 1 2 3 4 J y z WD XD YD ZD aD PC bD cD dD eD fD FC GC HC gD"},Q:{"1":"hD"},R:{"1":"iD"},S:{"1":"jD kD"}},B:1,C:"Node.compareDocumentPosition()",D:true}; diff --git a/node_modules/caniuse-lite/data/features/console-basic.js b/node_modules/caniuse-lite/data/features/console-basic.js index f5d75fbed7..275ad74a77 100644 --- a/node_modules/caniuse-lite/data/features/console-basic.js +++ b/node_modules/caniuse-lite/data/features/console-basic.js @@ -1 +1 @@ -module.exports={A:{A:{"1":"A B","2":"K D aC","132":"E F"},B:{"1":"0 1 2 3 4 5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC","2":"bC DC dC eC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC"},E:{"1":"J FB K D E F A B C L M G fC JC gC hC iC jC KC 7B 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC"},F:{"1":"B C G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t 7B YC uC 8B","2":"F qC rC sC tC"},G:{"1":"JC vC ZC wC","513":"E xC yC zC 0C 1C 2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC"},H:{"4097":"HD"},I:{"1025":"DC J I ID JD KD LD ZC MD ND"},J:{"258":"D A"},K:{"2":"A","258":"B C 7B YC 8B","1025":"H"},L:{"1025":"I"},M:{"2049":"6B"},N:{"258":"A B"},O:{"258":"9B"},P:{"1025":"J u v w x y z OD PD QD RD SD KC TD UD VD WD XD AC BC CC YD"},Q:{"1":"ZD"},R:{"1025":"aD"},S:{"1":"bD cD"}},B:1,C:"Basic console logging functions",D:true}; +module.exports={A:{A:{"1":"A B","2":"K D gC","132":"E F"},B:{"1":"5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC","2":"hC IC jC kC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC"},E:{"1":"J LB K D E F A B C L M G lC OC mC nC oC pC PC CC DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC"},F:{"1":"0 1 2 3 4 B C G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x CC eC 1C DC","2":"F xC yC zC 0C"},G:{"1":"OC 2C fC 3C","513":"E 4C 5C 6C 7C 8C 9C AD BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC"},H:{"4097":"PD"},I:{"1025":"IC J I QD RD SD TD fC UD VD"},J:{"258":"D A"},K:{"2":"A","258":"B C CC eC DC","1025":"H"},L:{"1025":"I"},M:{"2049":"BC"},N:{"258":"A B"},O:{"258":"EC"},P:{"1025":"0 1 2 3 4 J y z WD XD YD ZD aD PC bD cD dD eD fD FC GC HC gD"},Q:{"1":"hD"},R:{"1025":"iD"},S:{"1":"jD kD"}},B:1,C:"Basic console logging functions",D:true}; diff --git a/node_modules/caniuse-lite/data/features/console-time.js b/node_modules/caniuse-lite/data/features/console-time.js index b347374fff..d18ad5a10f 100644 --- a/node_modules/caniuse-lite/data/features/console-time.js +++ b/node_modules/caniuse-lite/data/features/console-time.js @@ -1 +1 @@ -module.exports={A:{A:{"1":"B","2":"K D E F A aC"},B:{"1":"0 1 2 3 4 5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC","2":"bC DC J FB K D E F dC eC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC"},E:{"1":"J FB K D E F A B C L M G gC hC iC jC KC 7B 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC","2":"fC JC"},F:{"1":"C G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t 7B YC uC 8B","2":"F qC rC sC tC","16":"B"},G:{"1":"E JC vC ZC wC xC yC zC 0C 1C 2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC"},H:{"1":"HD"},I:{"1":"DC J I ID JD KD LD ZC MD ND"},J:{"1":"D A"},K:{"1":"H","16":"A B C 7B YC 8B"},L:{"1":"I"},M:{"1":"6B"},N:{"1":"B","2":"A"},O:{"1":"9B"},P:{"1":"J u v w x y z OD PD QD RD SD KC TD UD VD WD XD AC BC CC YD"},Q:{"1":"ZD"},R:{"1":"aD"},S:{"1":"bD cD"}},B:1,C:"console.time and console.timeEnd",D:true}; +module.exports={A:{A:{"1":"B","2":"K D E F A gC"},B:{"1":"5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC","2":"hC IC J LB K D E F jC kC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC"},E:{"1":"J LB K D E F A B C L M G mC nC oC pC PC CC DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC","2":"lC OC"},F:{"1":"0 1 2 3 4 C G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x CC eC 1C DC","2":"F xC yC zC 0C","16":"B"},G:{"1":"E OC 2C fC 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC"},H:{"1":"PD"},I:{"1":"IC J I QD RD SD TD fC UD VD"},J:{"1":"D A"},K:{"1":"H","16":"A B C CC eC DC"},L:{"1":"I"},M:{"1":"BC"},N:{"1":"B","2":"A"},O:{"1":"EC"},P:{"1":"0 1 2 3 4 J y z WD XD YD ZD aD PC bD cD dD eD fD FC GC HC gD"},Q:{"1":"hD"},R:{"1":"iD"},S:{"1":"jD kD"}},B:1,C:"console.time and console.timeEnd",D:true}; diff --git a/node_modules/caniuse-lite/data/features/const.js b/node_modules/caniuse-lite/data/features/const.js index c4f4ea7faf..33c2df00fe 100644 --- a/node_modules/caniuse-lite/data/features/const.js +++ b/node_modules/caniuse-lite/data/features/const.js @@ -1 +1 @@ -module.exports={A:{A:{"2":"K D E F A aC","2052":"B"},B:{"1":"0 1 2 3 4 5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC","132":"bC DC J FB K D E F A B C dC eC","260":"L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB"},D:{"1":"0 1 2 3 4 5 6 7 8 9 eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC","260":"J FB K D E F A B C L M G N O P GB u","772":"v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB","1028":"WB XB YB ZB aB bB cB dB"},E:{"1":"B C L M G 7B 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC","260":"J FB A fC JC KC","772":"K D E F gC hC iC jC"},F:{"1":"RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t","2":"F qC","132":"B rC sC tC 7B YC","644":"C uC 8B","772":"G N O P GB u v w x y z HB IB","1028":"JB KB LB MB NB OB PB QB"},G:{"1":"4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC","260":"JC vC ZC 2C 3C","772":"E wC xC yC zC 0C 1C"},H:{"644":"HD"},I:{"1":"I","16":"ID JD","260":"KD","772":"DC J LD ZC MD ND"},J:{"772":"D A"},K:{"1":"H","132":"A B 7B YC","644":"C 8B"},L:{"1":"I"},M:{"1":"6B"},N:{"1":"B","2":"A"},O:{"1":"9B"},P:{"1":"u v w x y z OD PD QD RD SD KC TD UD VD WD XD AC BC CC YD","1028":"J"},Q:{"1":"ZD"},R:{"1":"aD"},S:{"1":"bD cD"}},B:6,C:"const",D:true}; +module.exports={A:{A:{"2":"K D E F A gC","2052":"B"},B:{"1":"5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I"},C:{"1":"5 6 7 8 9 WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC","132":"hC IC J LB K D E F A B C jC kC","260":"0 1 2 3 4 L M G N O P MB y z NB OB PB QB RB SB TB UB VB"},D:{"1":"5 6 7 8 9 jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC","260":"J LB K D E F A B C L M G N O P MB y","772":"0 1 2 3 4 z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB","1028":"bB cB dB eB fB gB hB iB"},E:{"1":"B C L M G CC DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC","260":"J LB A lC OC PC","772":"K D E F mC nC oC pC"},F:{"1":"WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x","2":"F xC","132":"B yC zC 0C CC eC","644":"C 1C DC","772":"0 1 2 3 4 G N O P MB y z NB","1028":"OB PB QB RB SB TB UB VB"},G:{"1":"BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC","260":"OC 2C fC 9C AD","772":"E 3C 4C 5C 6C 7C 8C"},H:{"644":"PD"},I:{"1":"I","16":"QD RD","260":"SD","772":"IC J TD fC UD VD"},J:{"772":"D A"},K:{"1":"H","132":"A B CC eC","644":"C DC"},L:{"1":"I"},M:{"1":"BC"},N:{"1":"B","2":"A"},O:{"1":"EC"},P:{"1":"0 1 2 3 4 y z WD XD YD ZD aD PC bD cD dD eD fD FC GC HC gD","1028":"J"},Q:{"1":"hD"},R:{"1":"iD"},S:{"1":"jD kD"}},B:6,C:"const",D:true}; diff --git a/node_modules/caniuse-lite/data/features/constraint-validation.js b/node_modules/caniuse-lite/data/features/constraint-validation.js index 4ff75e00a8..720562d41a 100644 --- a/node_modules/caniuse-lite/data/features/constraint-validation.js +++ b/node_modules/caniuse-lite/data/features/constraint-validation.js @@ -1 +1 @@ -module.exports={A:{A:{"2":"K D E F aC","900":"A B"},B:{"1":"0 1 2 3 4 5 6 7 8 9 O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I","388":"M G N","900":"C L"},C:{"1":"0 1 2 3 4 5 6 7 8 9 gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC","2":"bC DC dC eC","260":"eB fB","388":"KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB","900":"J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB"},D:{"1":"0 1 2 3 4 5 6 7 8 9 VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC","16":"J FB K D E F A B C L M","388":"z HB IB JB KB LB MB NB OB PB QB RB SB TB UB","900":"G N O P GB u v w x y"},E:{"1":"A B C L M G KC 7B 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC","16":"J FB fC JC","388":"E F iC jC","900":"K D gC hC"},F:{"1":"IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t","16":"F B qC rC sC tC 7B YC","388":"G N O P GB u v w x y z HB","900":"C uC 8B"},G:{"1":"2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC","16":"JC vC ZC","388":"E yC zC 0C 1C","900":"wC xC"},H:{"2":"HD"},I:{"1":"I","16":"DC ID JD KD","388":"MD ND","900":"J LD ZC"},J:{"16":"D","388":"A"},K:{"1":"H","16":"A B 7B YC","900":"C 8B"},L:{"1":"I"},M:{"1":"6B"},N:{"900":"A B"},O:{"1":"9B"},P:{"1":"J u v w x y z OD PD QD RD SD KC TD UD VD WD XD AC BC CC YD"},Q:{"1":"ZD"},R:{"1":"aD"},S:{"1":"cD","388":"bD"}},B:1,C:"Constraint Validation API",D:true}; +module.exports={A:{A:{"2":"K D E F gC","900":"A B"},B:{"1":"5 6 7 8 9 O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I","388":"M G N","900":"C L"},C:{"1":"5 6 7 8 9 lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC","2":"hC IC jC kC","260":"jB kB","388":"PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB","900":"0 1 2 3 4 J LB K D E F A B C L M G N O P MB y z NB OB"},D:{"1":"5 6 7 8 9 aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC","16":"J LB K D E F A B C L M","388":"3 4 NB OB PB QB RB SB TB UB VB WB XB YB ZB","900":"0 1 2 G N O P MB y z"},E:{"1":"A B C L M G PC CC DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC","16":"J LB lC OC","388":"E F oC pC","900":"K D mC nC"},F:{"1":"NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x","16":"F B xC yC zC 0C CC eC","388":"0 1 2 3 4 G N O P MB y z","900":"C 1C DC"},G:{"1":"9C AD BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC","16":"OC 2C fC","388":"E 5C 6C 7C 8C","900":"3C 4C"},H:{"2":"PD"},I:{"1":"I","16":"IC QD RD SD","388":"UD VD","900":"J TD fC"},J:{"16":"D","388":"A"},K:{"1":"H","16":"A B CC eC","900":"C DC"},L:{"1":"I"},M:{"1":"BC"},N:{"900":"A B"},O:{"1":"EC"},P:{"1":"0 1 2 3 4 J y z WD XD YD ZD aD PC bD cD dD eD fD FC GC HC gD"},Q:{"1":"hD"},R:{"1":"iD"},S:{"1":"kD","388":"jD"}},B:1,C:"Constraint Validation API",D:true}; diff --git a/node_modules/caniuse-lite/data/features/contenteditable.js b/node_modules/caniuse-lite/data/features/contenteditable.js index b7b7ea6aff..4d3dc7a41b 100644 --- a/node_modules/caniuse-lite/data/features/contenteditable.js +++ b/node_modules/caniuse-lite/data/features/contenteditable.js @@ -1 +1 @@ -module.exports={A:{A:{"1":"K D E F A B aC"},B:{"1":"0 1 2 3 4 5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC dC eC","2":"bC","4":"DC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC"},E:{"1":"J FB K D E F A B C L M G fC JC gC hC iC jC KC 7B 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC"},F:{"1":"F B C G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t qC rC sC tC 7B YC uC 8B"},G:{"1":"E wC xC yC zC 0C 1C 2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC","2":"JC vC ZC"},H:{"2":"HD"},I:{"1":"DC J I LD ZC MD ND","2":"ID JD KD"},J:{"1":"D A"},K:{"1":"H 8B","2":"A B C 7B YC"},L:{"1":"I"},M:{"1":"6B"},N:{"1":"A B"},O:{"1":"9B"},P:{"1":"J u v w x y z OD PD QD RD SD KC TD UD VD WD XD AC BC CC YD"},Q:{"1":"ZD"},R:{"1":"aD"},S:{"1":"bD cD"}},B:1,C:"contenteditable attribute (basic support)",D:true}; +module.exports={A:{A:{"1":"K D E F A B gC"},B:{"1":"5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC jC kC","2":"hC","4":"IC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC"},E:{"1":"J LB K D E F A B C L M G lC OC mC nC oC pC PC CC DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC"},F:{"1":"0 1 2 3 4 F B C G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x xC yC zC 0C CC eC 1C DC"},G:{"1":"E 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC","2":"OC 2C fC"},H:{"2":"PD"},I:{"1":"IC J I TD fC UD VD","2":"QD RD SD"},J:{"1":"D A"},K:{"1":"H DC","2":"A B C CC eC"},L:{"1":"I"},M:{"1":"BC"},N:{"1":"A B"},O:{"1":"EC"},P:{"1":"0 1 2 3 4 J y z WD XD YD ZD aD PC bD cD dD eD fD FC GC HC gD"},Q:{"1":"hD"},R:{"1":"iD"},S:{"1":"jD kD"}},B:1,C:"contenteditable attribute (basic support)",D:true}; diff --git a/node_modules/caniuse-lite/data/features/contentsecuritypolicy.js b/node_modules/caniuse-lite/data/features/contentsecuritypolicy.js index 35fd923737..30009a49ef 100644 --- a/node_modules/caniuse-lite/data/features/contentsecuritypolicy.js +++ b/node_modules/caniuse-lite/data/features/contentsecuritypolicy.js @@ -1 +1 @@ -module.exports={A:{A:{"2":"K D E F aC","132":"A B"},B:{"1":"0 1 2 3 4 5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC","2":"bC DC dC eC","129":"J FB K D E F A B C L M G N O P GB u v w"},D:{"1":"0 1 2 3 4 5 6 7 8 9 z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC","2":"J FB K D E F A B C L","257":"M G N O P GB u v w x y"},E:{"1":"D E F A B C L M G iC jC KC 7B 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC","2":"J FB fC JC","257":"K hC","260":"gC"},F:{"1":"G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t","2":"F B C qC rC sC tC 7B YC uC 8B"},G:{"1":"E yC zC 0C 1C 2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC","2":"JC vC ZC","257":"xC","260":"wC"},H:{"2":"HD"},I:{"1":"I MD ND","2":"DC J ID JD KD LD ZC"},J:{"2":"D","257":"A"},K:{"1":"H","2":"A B C 7B YC 8B"},L:{"1":"I"},M:{"1":"6B"},N:{"132":"A B"},O:{"1":"9B"},P:{"1":"J u v w x y z OD PD QD RD SD KC TD UD VD WD XD AC BC CC YD"},Q:{"1":"ZD"},R:{"1":"aD"},S:{"1":"bD cD"}},B:4,C:"Content Security Policy 1.0",D:true}; +module.exports={A:{A:{"2":"K D E F gC","132":"A B"},B:{"1":"5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I"},C:{"1":"1 2 3 4 5 6 7 8 9 NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC","2":"hC IC jC kC","129":"0 J LB K D E F A B C L M G N O P MB y z"},D:{"1":"3 4 5 6 7 8 9 NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC","2":"J LB K D E F A B C L","257":"0 1 2 M G N O P MB y z"},E:{"1":"D E F A B C L M G oC pC PC CC DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC","2":"J LB lC OC","257":"K nC","260":"mC"},F:{"1":"0 1 2 3 4 G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x","2":"F B C xC yC zC 0C CC eC 1C DC"},G:{"1":"E 5C 6C 7C 8C 9C AD BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC","2":"OC 2C fC","257":"4C","260":"3C"},H:{"2":"PD"},I:{"1":"I UD VD","2":"IC J QD RD SD TD fC"},J:{"2":"D","257":"A"},K:{"1":"H","2":"A B C CC eC DC"},L:{"1":"I"},M:{"1":"BC"},N:{"132":"A B"},O:{"1":"EC"},P:{"1":"0 1 2 3 4 J y z WD XD YD ZD aD PC bD cD dD eD fD FC GC HC gD"},Q:{"1":"hD"},R:{"1":"iD"},S:{"1":"jD kD"}},B:4,C:"Content Security Policy 1.0",D:true}; diff --git a/node_modules/caniuse-lite/data/features/contentsecuritypolicy2.js b/node_modules/caniuse-lite/data/features/contentsecuritypolicy2.js index dcf32faa8c..2f0957086d 100644 --- a/node_modules/caniuse-lite/data/features/contentsecuritypolicy2.js +++ b/node_modules/caniuse-lite/data/features/contentsecuritypolicy2.js @@ -1 +1 @@ -module.exports={A:{A:{"2":"K D E F A B aC"},B:{"1":"0 1 2 3 4 5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I","2":"C L M","4100":"G N O P"},C:{"1":"0 1 2 3 4 5 6 7 8 9 aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC","2":"bC DC J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB dC eC","132":"MB NB OB PB","260":"QB","516":"RB SB TB UB VB WB XB YB ZB"},D:{"1":"0 1 2 3 4 5 6 7 8 9 VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC","2":"J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB","1028":"RB SB TB","2052":"UB"},E:{"1":"A B C L M G KC 7B 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC","2":"J FB K D E F fC JC gC hC iC jC"},F:{"1":"IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t","2":"F B C G N O P GB u v w qC rC sC tC 7B YC uC 8B","1028":"x y z","2052":"HB"},G:{"1":"2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC","2":"E JC vC ZC wC xC yC zC 0C 1C"},H:{"2":"HD"},I:{"1":"I","2":"DC J ID JD KD LD ZC MD ND"},J:{"2":"D A"},K:{"1":"H","2":"A B C 7B YC 8B"},L:{"1":"I"},M:{"1":"6B"},N:{"2":"A B"},O:{"1":"9B"},P:{"1":"J u v w x y z OD PD QD RD SD KC TD UD VD WD XD AC BC CC YD"},Q:{"1":"ZD"},R:{"1":"aD"},S:{"1":"bD cD"}},B:2,C:"Content Security Policy Level 2",D:true}; +module.exports={A:{A:{"2":"K D E F A B gC"},B:{"1":"5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I","2":"C L M","4100":"G N O P"},C:{"1":"5 6 7 8 9 fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC","2":"0 1 2 3 4 hC IC J LB K D E F A B C L M G N O P MB y z NB OB PB QB jC kC","132":"RB SB TB UB","260":"VB","516":"WB XB YB ZB aB bB cB dB eB"},D:{"1":"5 6 7 8 9 aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC","2":"0 1 2 3 4 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB","1028":"WB XB YB","2052":"ZB"},E:{"1":"A B C L M G PC CC DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC","2":"J LB K D E F lC OC mC nC oC pC"},F:{"1":"NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x","2":"0 F B C G N O P MB y z xC yC zC 0C CC eC 1C DC","1028":"1 2 3","2052":"4"},G:{"1":"9C AD BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC","2":"E OC 2C fC 3C 4C 5C 6C 7C 8C"},H:{"2":"PD"},I:{"1":"I","2":"IC J QD RD SD TD fC UD VD"},J:{"2":"D A"},K:{"1":"H","2":"A B C CC eC DC"},L:{"1":"I"},M:{"1":"BC"},N:{"2":"A B"},O:{"1":"EC"},P:{"1":"0 1 2 3 4 J y z WD XD YD ZD aD PC bD cD dD eD fD FC GC HC gD"},Q:{"1":"hD"},R:{"1":"iD"},S:{"1":"jD kD"}},B:2,C:"Content Security Policy Level 2",D:true}; diff --git a/node_modules/caniuse-lite/data/features/cookie-store-api.js b/node_modules/caniuse-lite/data/features/cookie-store-api.js index 827d5a9ee3..ee5302323a 100644 --- a/node_modules/caniuse-lite/data/features/cookie-store-api.js +++ b/node_modules/caniuse-lite/data/features/cookie-store-api.js @@ -1 +1 @@ -module.exports={A:{A:{"2":"K D E F A B aC"},B:{"1":"0 1 2 3 4 5 6 7 8 9 W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I","2":"C L M G N O P","194":"Q H R S T U V"},C:{"2":"0 1 2 3 4 5 6 7 8 9 bC DC J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC dC eC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC","2":"J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB","194":"rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V"},E:{"2":"J FB K D E F A B C L M G fC JC gC hC iC jC KC 7B 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC"},F:{"1":"1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t","2":"F B C G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB qC rC sC tC 7B YC uC 8B","194":"gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B"},G:{"2":"E JC vC ZC wC xC yC zC 0C 1C 2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC"},H:{"2":"HD"},I:{"1":"I","2":"DC J ID JD KD LD ZC MD ND"},J:{"2":"D A"},K:{"1":"H","2":"A B C 7B YC 8B"},L:{"1":"I"},M:{"2":"6B"},N:{"2":"A B"},O:{"1":"9B"},P:{"1":"u v w x y z WD XD AC BC CC YD","2":"J OD PD QD RD SD KC TD UD VD"},Q:{"2":"ZD"},R:{"1":"aD"},S:{"2":"bD cD"}},B:7,C:"Cookie Store API",D:true}; +module.exports={A:{A:{"2":"K D E F A B gC"},B:{"1":"5 6 7 8 9 W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I","2":"C L M G N O P","194":"Q H R S T U V"},C:{"2":"0 1 2 3 4 5 6 7 8 9 hC IC J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I jC kC","322":"BC MC NC iC"},D:{"1":"5 6 7 8 9 W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC","2":"0 1 2 3 4 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB","194":"wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V"},E:{"1":"wC","2":"J LB K D E F A B C L M G lC OC mC nC oC pC PC CC DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC"},F:{"1":"6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x","2":"0 1 2 3 4 F B C G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB xC yC zC 0C CC eC 1C DC","194":"lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B"},G:{"2":"E OC 2C fC 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC"},H:{"2":"PD"},I:{"1":"I","2":"IC J QD RD SD TD fC UD VD"},J:{"2":"D A"},K:{"1":"H","2":"A B C CC eC DC"},L:{"1":"I"},M:{"2":"BC"},N:{"2":"A B"},O:{"1":"EC"},P:{"1":"0 1 2 3 4 y z eD fD FC GC HC gD","2":"J WD XD YD ZD aD PC bD cD dD"},Q:{"2":"hD"},R:{"1":"iD"},S:{"2":"jD kD"}},B:7,C:"Cookie Store API",D:true}; diff --git a/node_modules/caniuse-lite/data/features/cors.js b/node_modules/caniuse-lite/data/features/cors.js index 2545a37f69..968377cf89 100644 --- a/node_modules/caniuse-lite/data/features/cors.js +++ b/node_modules/caniuse-lite/data/features/cors.js @@ -1 +1 @@ -module.exports={A:{A:{"1":"B","2":"K D aC","132":"A","260":"E F"},B:{"1":"0 1 2 3 4 5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC dC eC","2":"bC DC","1025":"FC pB qB rB sB tB uB vB wB xB"},D:{"1":"0 1 2 3 4 5 6 7 8 9 L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC","132":"J FB K D E F A B C"},E:{"2":"fC JC","513":"K D E F A B C L M G hC iC jC KC 7B 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC","644":"J FB gC"},F:{"1":"C G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t 8B","2":"F B qC rC sC tC 7B YC uC"},G:{"513":"E xC yC zC 0C 1C 2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC","644":"JC vC ZC wC"},H:{"2":"HD"},I:{"1":"I MD ND","132":"DC J ID JD KD LD ZC"},J:{"1":"A","132":"D"},K:{"1":"C H 8B","2":"A B 7B YC"},L:{"1":"I"},M:{"1":"6B"},N:{"1":"B","132":"A"},O:{"1":"9B"},P:{"1":"J u v w x y z OD PD QD RD SD KC TD UD VD WD XD AC BC CC YD"},Q:{"1":"ZD"},R:{"1":"aD"},S:{"1":"bD cD"}},B:1,C:"Cross-Origin Resource Sharing",D:true}; +module.exports={A:{A:{"1":"B","2":"K D gC","132":"A","260":"E F"},B:{"1":"5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC jC kC","2":"hC IC","1025":"KC uB vB wB xB yB zB 0B 1B 2B"},D:{"1":"0 1 2 3 4 5 6 7 8 9 L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC","132":"J LB K D E F A B C"},E:{"2":"lC OC","513":"K D E F A B C L M G nC oC pC PC CC DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC","644":"J LB mC"},F:{"1":"0 1 2 3 4 C G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x DC","2":"F B xC yC zC 0C CC eC 1C"},G:{"513":"E 4C 5C 6C 7C 8C 9C AD BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC","644":"OC 2C fC 3C"},H:{"2":"PD"},I:{"1":"I UD VD","132":"IC J QD RD SD TD fC"},J:{"1":"A","132":"D"},K:{"1":"C H DC","2":"A B CC eC"},L:{"1":"I"},M:{"1":"BC"},N:{"1":"B","132":"A"},O:{"1":"EC"},P:{"1":"0 1 2 3 4 J y z WD XD YD ZD aD PC bD cD dD eD fD FC GC HC gD"},Q:{"1":"hD"},R:{"1":"iD"},S:{"1":"jD kD"}},B:1,C:"Cross-Origin Resource Sharing",D:true}; diff --git a/node_modules/caniuse-lite/data/features/createimagebitmap.js b/node_modules/caniuse-lite/data/features/createimagebitmap.js index d74354f522..1fb381539d 100644 --- a/node_modules/caniuse-lite/data/features/createimagebitmap.js +++ b/node_modules/caniuse-lite/data/features/createimagebitmap.js @@ -1 +1 @@ -module.exports={A:{A:{"2":"K D E F A B aC"},B:{"1":"0 1 2 3 4 5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I","2":"C L M G N O P"},C:{"2":"bC DC J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB dC eC","1028":"c d e f g","3076":"XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b","8196":"0 1 2 3 4 5 6 7 8 9 h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC","2":"J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB","132":"fB gB","260":"hB iB","516":"jB kB lB mB nB"},E:{"2":"J FB K D E F A B C L M fC JC gC hC iC jC KC 7B 8B kC lC","4100":"G mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC"},F:{"1":"bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t","2":"F B C G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB qC rC sC tC 7B YC uC 8B","132":"SB TB","260":"UB VB","516":"WB XB YB ZB aB"},G:{"2":"E JC vC ZC wC xC yC zC 0C 1C 2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD","4100":"ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC"},H:{"2":"HD"},I:{"1":"I","2":"DC J ID JD KD LD ZC MD ND"},J:{"2":"D A"},K:{"1":"H","2":"A B C 7B YC 8B"},L:{"1":"I"},M:{"8196":"6B"},N:{"2":"A B"},O:{"1":"9B"},P:{"1":"u v w x y z PD QD RD SD KC TD UD VD WD XD AC BC CC YD","16":"J OD"},Q:{"1":"ZD"},R:{"1":"aD"},S:{"3076":"bD cD"}},B:1,C:"createImageBitmap",D:true}; +module.exports={A:{A:{"2":"K D E F A B gC"},B:{"1":"5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I","2":"C L M G N O P"},C:{"2":"0 1 2 3 4 hC IC J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB jC kC","1028":"c d e f g","3076":"cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b","8196":"5 6 7 8 9 h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC"},D:{"1":"5 6 7 8 9 JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC","2":"0 1 2 3 4 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB","132":"kB lB","260":"mB nB","516":"oB pB qB rB sB"},E:{"1":"GC XC YC ZC aC bC vC HC cC dC wC","2":"J LB K D E F A B C L M lC OC mC nC oC pC PC CC DC qC rC","4100":"G sC QC RC EC tC FC SC TC UC VC WC uC"},F:{"1":"gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x","2":"0 1 2 3 4 F B C G N O P MB y z NB OB PB QB RB SB TB UB VB WB xC yC zC 0C CC eC 1C DC","132":"XB YB","260":"ZB aB","516":"bB cB dB eB fB"},G:{"1":"GC XC YC ZC aC bC OD HC cC dC","2":"E OC 2C fC 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED FD GD HD ID JD KD","4100":"LD QC RC EC MD FC SC TC UC VC WC ND"},H:{"2":"PD"},I:{"1":"I","2":"IC J QD RD SD TD fC UD VD"},J:{"2":"D A"},K:{"1":"H","2":"A B C CC eC DC"},L:{"1":"I"},M:{"8196":"BC"},N:{"2":"A B"},O:{"1":"EC"},P:{"1":"0 1 2 3 4 y z XD YD ZD aD PC bD cD dD eD fD FC GC HC gD","16":"J WD"},Q:{"1":"hD"},R:{"1":"iD"},S:{"3076":"jD kD"}},B:1,C:"createImageBitmap",D:true}; diff --git a/node_modules/caniuse-lite/data/features/credential-management.js b/node_modules/caniuse-lite/data/features/credential-management.js index 9d4db8c274..8e2f44ea7c 100644 --- a/node_modules/caniuse-lite/data/features/credential-management.js +++ b/node_modules/caniuse-lite/data/features/credential-management.js @@ -1 +1 @@ -module.exports={A:{A:{"2":"K D E F A B aC"},B:{"1":"0 1 2 3 4 5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I","2":"C L M G N O P"},C:{"2":"0 1 2 3 4 5 6 7 8 9 bC DC J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC dC eC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC","2":"J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB","66":"dB eB fB","129":"gB hB iB jB kB lB"},E:{"2":"J FB K D E F A B C L M G fC JC gC hC iC jC KC 7B 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC"},F:{"1":"aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t","2":"F B C G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB qC rC sC tC 7B YC uC 8B"},G:{"1":"CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC","2":"E JC vC ZC wC xC yC zC 0C 1C 2C 3C 4C 5C 6C 7C 8C 9C AD BD"},H:{"2":"HD"},I:{"1":"I","2":"DC J ID JD KD LD ZC MD ND"},J:{"2":"D A"},K:{"1":"H","2":"A B C 7B YC 8B"},L:{"1":"I"},M:{"2":"6B"},N:{"2":"A B"},O:{"1":"9B"},P:{"1":"u v w x y z QD RD SD KC TD UD VD WD XD AC BC CC YD","2":"J OD PD"},Q:{"1":"ZD"},R:{"1":"aD"},S:{"2":"bD cD"}},B:5,C:"Credential Management API",D:true}; +module.exports={A:{A:{"2":"K D E F A B gC"},B:{"1":"5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I","2":"C L M G N O P"},C:{"2":"0 1 2 3 4 5 6 7 8 9 hC IC J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC jC kC"},D:{"1":"5 6 7 8 9 rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC","2":"0 1 2 3 4 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB","66":"iB jB kB","129":"lB mB nB oB pB qB"},E:{"2":"J LB K D E F A B C L M G lC OC mC nC oC pC PC CC DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC"},F:{"1":"fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x","2":"0 1 2 3 4 F B C G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB xC yC zC 0C CC eC 1C DC"},G:{"1":"JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC","2":"E OC 2C fC 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED FD GD HD ID"},H:{"2":"PD"},I:{"1":"I","2":"IC J QD RD SD TD fC UD VD"},J:{"2":"D A"},K:{"1":"H","2":"A B C CC eC DC"},L:{"1":"I"},M:{"2":"BC"},N:{"2":"A B"},O:{"1":"EC"},P:{"1":"0 1 2 3 4 y z YD ZD aD PC bD cD dD eD fD FC GC HC gD","2":"J WD XD"},Q:{"1":"hD"},R:{"1":"iD"},S:{"2":"jD kD"}},B:5,C:"Credential Management API",D:true}; diff --git a/node_modules/caniuse-lite/data/features/cryptography.js b/node_modules/caniuse-lite/data/features/cryptography.js index e4fea454a7..be09605271 100644 --- a/node_modules/caniuse-lite/data/features/cryptography.js +++ b/node_modules/caniuse-lite/data/features/cryptography.js @@ -1 +1 @@ -module.exports={A:{A:{"2":"aC","8":"K D E F A","164":"B"},B:{"1":"0 1 2 3 4 5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I","513":"C L M G N O P"},C:{"1":"0 1 2 3 4 5 6 7 8 9 PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC","8":"bC DC J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB dC eC","66":"NB OB"},D:{"1":"0 1 2 3 4 5 6 7 8 9 SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC","8":"J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB"},E:{"1":"B C L M G 7B 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC","8":"J FB K D fC JC gC hC","289":"E F A iC jC KC"},F:{"1":"y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t","8":"F B C G N O P GB u v w x qC rC sC tC 7B YC uC 8B"},G:{"1":"4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC","8":"JC vC ZC wC xC yC","289":"E zC 0C 1C 2C 3C"},H:{"2":"HD"},I:{"1":"I","8":"DC J ID JD KD LD ZC MD ND"},J:{"8":"D A"},K:{"1":"H","8":"A B C 7B YC 8B"},L:{"1":"I"},M:{"1":"6B"},N:{"8":"A","164":"B"},O:{"1":"9B"},P:{"1":"J u v w x y z OD PD QD RD SD KC TD UD VD WD XD AC BC CC YD"},Q:{"1":"ZD"},R:{"1":"aD"},S:{"1":"bD cD"}},B:2,C:"Web Cryptography",D:true}; +module.exports={A:{A:{"2":"gC","8":"K D E F A","164":"B"},B:{"1":"5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I","513":"C L M G N O P"},C:{"1":"5 6 7 8 9 UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC","8":"0 1 2 3 4 hC IC J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB jC kC","66":"SB TB"},D:{"1":"5 6 7 8 9 XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC","8":"0 1 2 3 4 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB"},E:{"1":"B C L M G CC DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC","8":"J LB K D lC OC mC nC","289":"E F A oC pC PC"},F:{"1":"2 3 4 NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x","8":"0 1 F B C G N O P MB y z xC yC zC 0C CC eC 1C DC"},G:{"1":"BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC","8":"OC 2C fC 3C 4C 5C","289":"E 6C 7C 8C 9C AD"},H:{"2":"PD"},I:{"1":"I","8":"IC J QD RD SD TD fC UD VD"},J:{"8":"D A"},K:{"1":"H","8":"A B C CC eC DC"},L:{"1":"I"},M:{"1":"BC"},N:{"8":"A","164":"B"},O:{"1":"EC"},P:{"1":"0 1 2 3 4 J y z WD XD YD ZD aD PC bD cD dD eD fD FC GC HC gD"},Q:{"1":"hD"},R:{"1":"iD"},S:{"1":"jD kD"}},B:2,C:"Web Cryptography",D:true}; diff --git a/node_modules/caniuse-lite/data/features/css-all.js b/node_modules/caniuse-lite/data/features/css-all.js index fe4e29c494..bf93b3830e 100644 --- a/node_modules/caniuse-lite/data/features/css-all.js +++ b/node_modules/caniuse-lite/data/features/css-all.js @@ -1 +1 @@ -module.exports={A:{A:{"2":"K D E F A B aC"},B:{"1":"0 1 2 3 4 5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I","2":"C L M G N O P"},C:{"1":"0 1 2 3 4 5 6 7 8 9 IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC","2":"bC DC J FB K D E F A B C L M G N O P GB u v w x y z HB dC eC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC","2":"J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB"},E:{"1":"A B C L M G jC KC 7B 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC","2":"J FB K D E F fC JC gC hC iC"},F:{"1":"y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t","2":"F B C G N O P GB u v w x qC rC sC tC 7B YC uC 8B"},G:{"1":"1C 2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC","2":"E JC vC ZC wC xC yC zC 0C"},H:{"2":"HD"},I:{"1":"I ND","2":"DC J ID JD KD LD ZC MD"},J:{"2":"D A"},K:{"1":"H","2":"A B C 7B YC 8B"},L:{"1":"I"},M:{"1":"6B"},N:{"2":"A B"},O:{"1":"9B"},P:{"1":"J u v w x y z OD PD QD RD SD KC TD UD VD WD XD AC BC CC YD"},Q:{"1":"ZD"},R:{"1":"aD"},S:{"1":"bD cD"}},B:2,C:"CSS all property",D:true}; +module.exports={A:{A:{"2":"K D E F A B gC"},B:{"1":"5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I","2":"C L M G N O P"},C:{"1":"5 6 7 8 9 NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC","2":"0 1 2 3 4 hC IC J LB K D E F A B C L M G N O P MB y z jC kC"},D:{"1":"5 6 7 8 9 XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC","2":"0 1 2 3 4 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB"},E:{"1":"A B C L M G pC PC CC DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC","2":"J LB K D E F lC OC mC nC oC"},F:{"1":"2 3 4 NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x","2":"0 1 F B C G N O P MB y z xC yC zC 0C CC eC 1C DC"},G:{"1":"8C 9C AD BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC","2":"E OC 2C fC 3C 4C 5C 6C 7C"},H:{"2":"PD"},I:{"1":"I VD","2":"IC J QD RD SD TD fC UD"},J:{"2":"D A"},K:{"1":"H","2":"A B C CC eC DC"},L:{"1":"I"},M:{"1":"BC"},N:{"2":"A B"},O:{"1":"EC"},P:{"1":"0 1 2 3 4 J y z WD XD YD ZD aD PC bD cD dD eD fD FC GC HC gD"},Q:{"1":"hD"},R:{"1":"iD"},S:{"1":"jD kD"}},B:2,C:"CSS all property",D:true}; diff --git a/node_modules/caniuse-lite/data/features/css-anchor-positioning.js b/node_modules/caniuse-lite/data/features/css-anchor-positioning.js index c3adc4b406..30d3f97e6c 100644 --- a/node_modules/caniuse-lite/data/features/css-anchor-positioning.js +++ b/node_modules/caniuse-lite/data/features/css-anchor-positioning.js @@ -1 +1 @@ -module.exports={A:{A:{"2":"K D E F A B aC"},B:{"1":"EB I","2":"0 1 2 3 4 5 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t","194":"6 7 8 9 AB BB CB DB"},C:{"2":"0 1 2 3 4 5 6 7 8 9 bC DC J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC dC eC"},D:{"1":"EB I 6B HC IC","2":"0 1 2 3 4 5 J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t","194":"6 7 8 9 AB BB CB DB"},E:{"2":"J FB K D E F A B C L M G fC JC gC hC iC jC KC 7B 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC"},F:{"2":"F B C G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l qC rC sC tC 7B YC uC 8B","194":"m n o p q r s t"},G:{"2":"E JC vC ZC wC xC yC zC 0C 1C 2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC"},H:{"2":"HD"},I:{"1":"I","2":"DC J ID JD KD LD ZC MD ND"},J:{"2":"D A"},K:{"2":"A B C H 7B YC 8B"},L:{"1":"I"},M:{"2":"6B"},N:{"2":"A B"},O:{"2":"9B"},P:{"2":"J u v w x y z OD PD QD RD SD KC TD UD VD WD XD AC BC CC YD"},Q:{"2":"ZD"},R:{"2":"aD"},S:{"2":"bD cD"}},B:5,C:"CSS Anchor Positioning",D:true}; +module.exports={A:{A:{"2":"K D E F A B gC"},B:{"1":"FB GB HB IB JB KB I","2":"5 6 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x","194":"7 8 9 AB BB CB DB EB"},C:{"2":"0 1 2 3 4 5 6 7 8 9 hC IC J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC jC kC"},D:{"1":"FB GB HB IB JB KB I BC MC NC","2":"0 1 2 3 4 5 6 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x","194":"7 8 9 AB BB CB DB EB"},E:{"2":"J LB K D E F A B C L M G lC OC mC nC oC pC PC CC DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC"},F:{"1":"u v w x","2":"0 1 2 3 4 F B C G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l xC yC zC 0C CC eC 1C DC","194":"m n o p q r s t"},G:{"2":"E OC 2C fC 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC"},H:{"2":"PD"},I:{"1":"I","2":"IC J QD RD SD TD fC UD VD"},J:{"2":"D A"},K:{"2":"A B C H CC eC DC"},L:{"1":"I"},M:{"2":"BC"},N:{"2":"A B"},O:{"2":"EC"},P:{"2":"0 1 2 3 4 J y z WD XD YD ZD aD PC bD cD dD eD fD FC GC HC gD"},Q:{"2":"hD"},R:{"2":"iD"},S:{"2":"jD kD"}},B:5,C:"CSS Anchor Positioning",D:true}; diff --git a/node_modules/caniuse-lite/data/features/css-animation.js b/node_modules/caniuse-lite/data/features/css-animation.js index 797c5dd163..3bf0463ed3 100644 --- a/node_modules/caniuse-lite/data/features/css-animation.js +++ b/node_modules/caniuse-lite/data/features/css-animation.js @@ -1 +1 @@ -module.exports={A:{A:{"1":"A B","2":"K D E F aC"},B:{"1":"0 1 2 3 4 5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC","2":"bC DC J dC eC","33":"FB K D E F A B C L M G"},D:{"1":"0 1 2 3 4 5 6 7 8 9 YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC","33":"J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB"},E:{"1":"F A B C L M G jC KC 7B 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC","2":"fC JC","33":"K D E gC hC iC","292":"J FB"},F:{"1":"LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t 8B","2":"F B qC rC sC tC 7B YC uC","33":"C G N O P GB u v w x y z HB IB JB KB"},G:{"1":"0C 1C 2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC","33":"E xC yC zC","164":"JC vC ZC wC"},H:{"2":"HD"},I:{"1":"I","33":"J LD ZC MD ND","164":"DC ID JD KD"},J:{"33":"D A"},K:{"1":"H 8B","2":"A B C 7B YC"},L:{"1":"I"},M:{"1":"6B"},N:{"1":"A B"},O:{"1":"9B"},P:{"1":"J u v w x y z OD PD QD RD SD KC TD UD VD WD XD AC BC CC YD"},Q:{"1":"ZD"},R:{"1":"aD"},S:{"1":"bD cD"}},B:5,C:"CSS Animation",D:true}; +module.exports={A:{A:{"1":"A B","2":"K D E F gC"},B:{"1":"5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC","2":"hC IC J jC kC","33":"LB K D E F A B C L M G"},D:{"1":"5 6 7 8 9 dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC","33":"0 1 2 3 4 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB"},E:{"1":"F A B C L M G pC PC CC DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC","2":"lC OC","33":"K D E mC nC oC","292":"J LB"},F:{"1":"QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x DC","2":"F B xC yC zC 0C CC eC 1C","33":"0 1 2 3 4 C G N O P MB y z NB OB PB"},G:{"1":"7C 8C 9C AD BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC","33":"E 4C 5C 6C","164":"OC 2C fC 3C"},H:{"2":"PD"},I:{"1":"I","33":"J TD fC UD VD","164":"IC QD RD SD"},J:{"33":"D A"},K:{"1":"H DC","2":"A B C CC eC"},L:{"1":"I"},M:{"1":"BC"},N:{"1":"A B"},O:{"1":"EC"},P:{"1":"0 1 2 3 4 J y z WD XD YD ZD aD PC bD cD dD eD fD FC GC HC gD"},Q:{"1":"hD"},R:{"1":"iD"},S:{"1":"jD kD"}},B:5,C:"CSS Animation",D:true}; diff --git a/node_modules/caniuse-lite/data/features/css-any-link.js b/node_modules/caniuse-lite/data/features/css-any-link.js index a6cffb7d62..afb9f92107 100644 --- a/node_modules/caniuse-lite/data/features/css-any-link.js +++ b/node_modules/caniuse-lite/data/features/css-any-link.js @@ -1 +1 @@ -module.exports={A:{A:{"2":"K D E F A B aC"},B:{"1":"0 1 2 3 4 5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I","2":"C L M G N O P"},C:{"1":"0 1 2 3 4 5 6 7 8 9 fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC","16":"bC","33":"DC J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB dC eC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC","16":"J FB K D E F A B C L M","33":"G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB"},E:{"1":"F A B C L M G jC KC 7B 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC","16":"J FB K fC JC gC","33":"D E hC iC"},F:{"1":"hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t","2":"F B C qC rC sC tC 7B YC uC 8B","33":"G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB"},G:{"1":"0C 1C 2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC","16":"JC vC ZC wC","33":"E xC yC zC"},H:{"2":"HD"},I:{"1":"I","16":"DC J ID JD KD LD ZC","33":"MD ND"},J:{"16":"D A"},K:{"1":"H","2":"A B C 7B YC 8B"},L:{"1":"I"},M:{"1":"6B"},N:{"2":"A B"},O:{"1":"9B"},P:{"1":"u v w x y z SD KC TD UD VD WD XD AC BC CC YD","16":"J","33":"OD PD QD RD"},Q:{"1":"ZD"},R:{"1":"aD"},S:{"1":"cD","33":"bD"}},B:5,C:"CSS :any-link selector",D:true}; +module.exports={A:{A:{"2":"K D E F A B gC"},B:{"1":"5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I","2":"C L M G N O P"},C:{"1":"5 6 7 8 9 kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC","16":"hC","33":"0 1 2 3 4 IC J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB jC kC"},D:{"1":"5 6 7 8 9 xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC","16":"J LB K D E F A B C L M","33":"0 1 2 3 4 G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB"},E:{"1":"F A B C L M G pC PC CC DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC","16":"J LB K lC OC mC","33":"D E nC oC"},F:{"1":"mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x","2":"F B C xC yC zC 0C CC eC 1C DC","33":"0 1 2 3 4 G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB"},G:{"1":"7C 8C 9C AD BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC","16":"OC 2C fC 3C","33":"E 4C 5C 6C"},H:{"2":"PD"},I:{"1":"I","16":"IC J QD RD SD TD fC","33":"UD VD"},J:{"16":"D A"},K:{"1":"H","2":"A B C CC eC DC"},L:{"1":"I"},M:{"1":"BC"},N:{"2":"A B"},O:{"1":"EC"},P:{"1":"0 1 2 3 4 y z aD PC bD cD dD eD fD FC GC HC gD","16":"J","33":"WD XD YD ZD"},Q:{"1":"hD"},R:{"1":"iD"},S:{"1":"kD","33":"jD"}},B:5,C:"CSS :any-link selector",D:true}; diff --git a/node_modules/caniuse-lite/data/features/css-appearance.js b/node_modules/caniuse-lite/data/features/css-appearance.js index 96a26eeee3..cb219dec7d 100644 --- a/node_modules/caniuse-lite/data/features/css-appearance.js +++ b/node_modules/caniuse-lite/data/features/css-appearance.js @@ -1 +1 @@ -module.exports={A:{A:{"2":"K D E F A B aC"},B:{"1":"0 1 2 3 4 5 6 7 8 9 T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I","33":"S","164":"Q H R","388":"C L M G N O P"},C:{"1":"0 1 2 3 4 5 6 7 8 9 H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC","164":"QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q","676":"bC DC J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB dC eC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC","33":"S","164":"J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R"},E:{"1":"MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC","164":"J FB K D E F A B C L M G fC JC gC hC iC jC KC 7B 8B kC lC mC LC"},F:{"1":"0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t","2":"F B C qC rC sC tC 7B YC uC 8B","33":"xB yB zB","164":"G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB"},G:{"1":"MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC","164":"E JC vC ZC wC xC yC zC 0C 1C 2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED LC"},H:{"2":"HD"},I:{"1":"I","164":"DC J ID JD KD LD ZC MD ND"},J:{"164":"D A"},K:{"1":"H","2":"A B C 7B YC 8B"},L:{"1":"I"},M:{"1":"6B"},N:{"2":"A","388":"B"},O:{"1":"9B"},P:{"1":"u v w x y z WD XD AC BC CC YD","164":"J OD PD QD RD SD KC TD UD VD"},Q:{"164":"ZD"},R:{"1":"aD"},S:{"1":"cD","164":"bD"}},B:5,C:"CSS Appearance",D:true}; +module.exports={A:{A:{"2":"K D E F A B gC"},B:{"1":"5 6 7 8 9 T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I","33":"S","164":"Q H R","388":"C L M G N O P"},C:{"1":"5 6 7 8 9 H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC","164":"VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q","676":"0 1 2 3 4 hC IC J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB jC kC"},D:{"1":"5 6 7 8 9 T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC","33":"S","164":"0 1 2 3 4 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R"},E:{"1":"RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC","164":"J LB K D E F A B C L M G lC OC mC nC oC pC PC CC DC qC rC sC QC"},F:{"1":"5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x","2":"F B C xC yC zC 0C CC eC 1C DC","33":"2B 3B 4B","164":"0 1 2 3 4 G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B"},G:{"1":"RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC","164":"E OC 2C fC 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED FD GD HD ID JD KD LD QC"},H:{"2":"PD"},I:{"1":"I","164":"IC J QD RD SD TD fC UD VD"},J:{"164":"D A"},K:{"1":"H","2":"A B C CC eC DC"},L:{"1":"I"},M:{"1":"BC"},N:{"2":"A","388":"B"},O:{"1":"EC"},P:{"1":"0 1 2 3 4 y z eD fD FC GC HC gD","164":"J WD XD YD ZD aD PC bD cD dD"},Q:{"164":"hD"},R:{"1":"iD"},S:{"1":"kD","164":"jD"}},B:5,C:"CSS Appearance",D:true}; diff --git a/node_modules/caniuse-lite/data/features/css-at-counter-style.js b/node_modules/caniuse-lite/data/features/css-at-counter-style.js index 6940fadcd4..6141951c9d 100644 --- a/node_modules/caniuse-lite/data/features/css-at-counter-style.js +++ b/node_modules/caniuse-lite/data/features/css-at-counter-style.js @@ -1 +1 @@ -module.exports={A:{A:{"2":"K D E F A B aC"},B:{"2":"C L M G N O P Q H R S T U V W X Y Z","132":"0 1 2 3 4 5 6 7 8 9 a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I"},C:{"2":"bC DC J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB dC eC","132":"0 1 2 3 4 5 6 7 8 9 OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC"},D:{"2":"J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z","132":"0 1 2 3 4 5 6 7 8 9 a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC"},E:{"2":"J FB K D E F A B C L M G fC JC gC hC iC jC KC 7B 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC","4":"BC SC TC UC VC WC XC CC pC"},F:{"2":"F B C G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B qC rC sC tC 7B YC uC 8B","132":"4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t"},G:{"2":"E JC vC ZC wC xC yC zC 0C 1C 2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD","4":"BC SC TC UC VC WC XC CC"},H:{"2":"HD"},I:{"2":"DC J ID JD KD LD ZC MD ND","132":"I"},J:{"2":"D A"},K:{"2":"A B C 7B YC 8B","132":"H"},L:{"132":"I"},M:{"132":"6B"},N:{"2":"A B"},O:{"1":"9B"},P:{"2":"J OD PD QD RD SD KC TD UD VD WD XD","132":"u v w x y z AC BC CC YD"},Q:{"2":"ZD"},R:{"132":"aD"},S:{"132":"bD cD"}},B:4,C:"CSS Counter Styles",D:true}; +module.exports={A:{A:{"2":"K D E F A B gC"},B:{"2":"C L M G N O P Q H R S T U V W X Y Z","132":"5 6 7 8 9 a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I"},C:{"2":"0 1 2 3 4 hC IC J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB jC kC","132":"5 6 7 8 9 TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC"},D:{"2":"0 1 2 3 4 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z","132":"5 6 7 8 9 a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC"},E:{"2":"J LB K D E F A B C L M G lC OC mC nC oC pC PC CC DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC","4":"GC XC YC ZC aC bC vC HC cC dC wC"},F:{"2":"0 1 2 3 4 F B C G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B xC yC zC 0C CC eC 1C DC","132":"9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x"},G:{"2":"E OC 2C fC 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND","4":"GC XC YC ZC aC bC OD HC cC dC"},H:{"2":"PD"},I:{"2":"IC J QD RD SD TD fC UD VD","132":"I"},J:{"2":"D A"},K:{"2":"A B C CC eC DC","132":"H"},L:{"132":"I"},M:{"132":"BC"},N:{"2":"A B"},O:{"1":"EC"},P:{"2":"J WD XD YD ZD aD PC bD cD dD eD fD","132":"0 1 2 3 4 y z FC GC HC gD"},Q:{"2":"hD"},R:{"132":"iD"},S:{"132":"jD kD"}},B:4,C:"CSS Counter Styles",D:true}; diff --git a/node_modules/caniuse-lite/data/features/css-autofill.js b/node_modules/caniuse-lite/data/features/css-autofill.js index 725e6aa00b..3b24b225a2 100644 --- a/node_modules/caniuse-lite/data/features/css-autofill.js +++ b/node_modules/caniuse-lite/data/features/css-autofill.js @@ -1 +1 @@ -module.exports={A:{D:{"1":"0 1 2 3 4 5 6 7 8 9 t AB BB CB DB EB I 6B HC IC","33":"J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s"},L:{"1":"I"},B:{"1":"0 1 2 3 4 5 6 7 8 9 t AB BB CB DB EB I","2":"C L M G N O P","33":"Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s"},C:{"1":"0 1 2 3 4 5 6 7 8 9 V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC","2":"bC DC J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U dC eC"},M:{"1":"6B"},A:{"2":"K D E F A B aC"},F:{"1":"f g h i j k l m n o p q r s t","2":"F B C qC rC sC tC 7B YC uC 8B","33":"G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e"},K:{"1":"H","2":"A B C 7B YC 8B"},E:{"1":"G mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC","2":"pC","33":"J FB K D E F A B C L M fC JC gC hC iC jC KC 7B 8B kC lC"},G:{"1":"ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC","33":"E JC vC ZC wC xC yC zC 0C 1C 2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD"},P:{"1":"v w x y z","33":"J u OD PD QD RD SD KC TD UD VD WD XD AC BC CC YD"},I:{"1":"I","2":"DC J ID JD KD LD ZC","33":"MD ND"}},B:6,C:":autofill CSS pseudo-class",D:undefined}; +module.exports={A:{D:{"1":"5 6 7 8 9 t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC","33":"0 1 2 3 4 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s"},L:{"1":"I"},B:{"1":"5 6 7 8 9 t u v w x AB BB CB DB EB FB GB HB IB JB KB I","2":"C L M G N O P","33":"Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s"},C:{"1":"5 6 7 8 9 V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC","2":"0 1 2 3 4 hC IC J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U jC kC"},M:{"1":"BC"},A:{"2":"K D E F A B gC"},F:{"1":"f g h i j k l m n o p q r s t u v w x","2":"F B C xC yC zC 0C CC eC 1C DC","33":"0 1 2 3 4 G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e"},K:{"1":"H","2":"A B C CC eC DC"},E:{"1":"G sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC","2":"wC","33":"J LB K D E F A B C L M lC OC mC nC oC pC PC CC DC qC rC"},G:{"1":"LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC","33":"E OC 2C fC 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED FD GD HD ID JD KD"},P:{"1":"0 1 2 3 4 z","33":"J y WD XD YD ZD aD PC bD cD dD eD fD FC GC HC gD"},I:{"1":"I","2":"IC J QD RD SD TD fC","33":"UD VD"}},B:6,C:":autofill CSS pseudo-class",D:undefined}; diff --git a/node_modules/caniuse-lite/data/features/css-backdrop-filter.js b/node_modules/caniuse-lite/data/features/css-backdrop-filter.js index 53c212a419..68aafb101e 100644 --- a/node_modules/caniuse-lite/data/features/css-backdrop-filter.js +++ b/node_modules/caniuse-lite/data/features/css-backdrop-filter.js @@ -1 +1 @@ -module.exports={A:{A:{"2":"K D E F A B aC"},B:{"1":"0 1 2 3 4 5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I","2":"C L M G N","257":"O P"},C:{"1":"0 1 2 3 4 5 6 7 8 9 m n o p q r s t AB BB CB DB EB I 6B HC IC cC","2":"bC DC J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB dC eC","578":"xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l"},D:{"1":"0 1 2 3 4 5 6 7 8 9 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC","2":"J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB","194":"cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B"},E:{"1":"CC pC","2":"J FB K D E fC JC gC hC iC","33":"F A B C L M G jC KC 7B 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC"},F:{"1":"rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t","2":"F B C G N O P GB u v w x y z HB IB JB KB LB MB NB OB qC rC sC tC 7B YC uC 8B","194":"PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB"},G:{"1":"CC","2":"E JC vC ZC wC xC yC zC","33":"0C 1C 2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC"},H:{"2":"HD"},I:{"1":"I","2":"DC J ID JD KD LD ZC MD ND"},J:{"2":"D A"},K:{"1":"H","2":"A B C 7B YC 8B"},L:{"1":"I"},M:{"1":"6B"},N:{"2":"A B"},O:{"1":"9B"},P:{"1":"u v w x y z UD VD WD XD AC BC CC YD","2":"J","194":"OD PD QD RD SD KC TD"},Q:{"2":"ZD"},R:{"1":"aD"},S:{"2":"bD cD"}},B:7,C:"CSS Backdrop Filter",D:true}; +module.exports={A:{A:{"2":"K D E F A B gC"},B:{"1":"5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I","2":"C L M G N","257":"O P"},C:{"1":"5 6 7 8 9 m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC","2":"0 1 2 3 4 hC IC J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B jC kC","578":"2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l"},D:{"1":"5 6 7 8 9 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC","2":"0 1 2 3 4 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB","194":"hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B"},E:{"1":"HC cC dC wC","2":"J LB K D E lC OC mC nC oC","33":"F A B C L M G pC PC CC DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC"},F:{"1":"wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x","2":"0 1 2 3 4 F B C G N O P MB y z NB OB PB QB RB SB TB xC yC zC 0C CC eC 1C DC","194":"UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB"},G:{"1":"HC cC dC","2":"E OC 2C fC 3C 4C 5C 6C","33":"7C 8C 9C AD BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD"},H:{"2":"PD"},I:{"1":"I","2":"IC J QD RD SD TD fC UD VD"},J:{"2":"D A"},K:{"1":"H","2":"A B C CC eC DC"},L:{"1":"I"},M:{"1":"BC"},N:{"2":"A B"},O:{"1":"EC"},P:{"1":"0 1 2 3 4 y z cD dD eD fD FC GC HC gD","2":"J","194":"WD XD YD ZD aD PC bD"},Q:{"2":"hD"},R:{"1":"iD"},S:{"2":"jD kD"}},B:7,C:"CSS Backdrop Filter",D:true}; diff --git a/node_modules/caniuse-lite/data/features/css-background-offsets.js b/node_modules/caniuse-lite/data/features/css-background-offsets.js index 7ab42ba11a..5718249e3b 100644 --- a/node_modules/caniuse-lite/data/features/css-background-offsets.js +++ b/node_modules/caniuse-lite/data/features/css-background-offsets.js @@ -1 +1 @@ -module.exports={A:{A:{"1":"F A B","2":"K D E aC"},B:{"1":"0 1 2 3 4 5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC","2":"bC DC J FB K D E F A B C dC eC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC","2":"J FB K D E F A B C L M G N O P GB u v w x y"},E:{"1":"D E F A B C L M G iC jC KC 7B 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC","2":"J FB K fC JC gC hC"},F:{"1":"B C G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t sC tC 7B YC uC 8B","2":"F qC rC"},G:{"1":"E yC zC 0C 1C 2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC","2":"JC vC ZC wC xC"},H:{"1":"HD"},I:{"1":"I MD ND","2":"DC J ID JD KD LD ZC"},J:{"1":"A","2":"D"},K:{"1":"B C H 7B YC 8B","2":"A"},L:{"1":"I"},M:{"1":"6B"},N:{"1":"A B"},O:{"1":"9B"},P:{"1":"J u v w x y z OD PD QD RD SD KC TD UD VD WD XD AC BC CC YD"},Q:{"1":"ZD"},R:{"1":"aD"},S:{"1":"bD cD"}},B:4,C:"CSS background-position edge offsets",D:true}; +module.exports={A:{A:{"1":"F A B","2":"K D E gC"},B:{"1":"5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC","2":"hC IC J LB K D E F A B C jC kC"},D:{"1":"3 4 5 6 7 8 9 NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC","2":"0 1 2 J LB K D E F A B C L M G N O P MB y z"},E:{"1":"D E F A B C L M G oC pC PC CC DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC","2":"J LB K lC OC mC nC"},F:{"1":"0 1 2 3 4 B C G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x zC 0C CC eC 1C DC","2":"F xC yC"},G:{"1":"E 5C 6C 7C 8C 9C AD BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC","2":"OC 2C fC 3C 4C"},H:{"1":"PD"},I:{"1":"I UD VD","2":"IC J QD RD SD TD fC"},J:{"1":"A","2":"D"},K:{"1":"B C H CC eC DC","2":"A"},L:{"1":"I"},M:{"1":"BC"},N:{"1":"A B"},O:{"1":"EC"},P:{"1":"0 1 2 3 4 J y z WD XD YD ZD aD PC bD cD dD eD fD FC GC HC gD"},Q:{"1":"hD"},R:{"1":"iD"},S:{"1":"jD kD"}},B:4,C:"CSS background-position edge offsets",D:true}; diff --git a/node_modules/caniuse-lite/data/features/css-backgroundblendmode.js b/node_modules/caniuse-lite/data/features/css-backgroundblendmode.js index 440ac31bd1..ec08348a63 100644 --- a/node_modules/caniuse-lite/data/features/css-backgroundblendmode.js +++ b/node_modules/caniuse-lite/data/features/css-backgroundblendmode.js @@ -1 +1 @@ -module.exports={A:{A:{"2":"K D E F A B aC"},B:{"1":"0 1 2 3 4 5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I","2":"C L M G N O P"},C:{"1":"0 1 2 3 4 5 6 7 8 9 LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC","2":"bC DC J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB dC eC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 QB RB SB TB UB VB WB XB YB ZB aB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC","2":"J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB","260":"bB"},E:{"1":"B C L M G KC 7B 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC","2":"J FB K D fC JC gC hC","132":"E F A iC jC"},F:{"1":"w x y z HB IB JB KB LB MB NB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t","2":"F B C G N O P GB u v qC rC sC tC 7B YC uC 8B","260":"OB"},G:{"1":"3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC","2":"JC vC ZC wC xC yC","132":"E zC 0C 1C 2C"},H:{"2":"HD"},I:{"1":"I","2":"DC J ID JD KD LD ZC MD ND"},J:{"2":"D A"},K:{"1":"H","2":"A B C 7B YC 8B"},L:{"1":"I"},M:{"1":"6B"},N:{"2":"A B"},O:{"1":"9B"},P:{"1":"J u v w x y z OD PD QD RD SD KC TD UD VD WD XD AC BC CC YD"},Q:{"1":"ZD"},R:{"1":"aD"},S:{"1":"bD cD"}},B:4,C:"CSS background-blend-mode",D:true}; +module.exports={A:{A:{"2":"K D E F A B gC"},B:{"1":"5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I","2":"C L M G N O P"},C:{"1":"5 6 7 8 9 QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC","2":"0 1 2 3 4 hC IC J LB K D E F A B C L M G N O P MB y z NB OB PB jC kC"},D:{"1":"5 6 7 8 9 VB WB XB YB ZB aB bB cB dB eB fB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC","2":"0 1 2 3 4 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB","260":"gB"},E:{"1":"B C L M G PC CC DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC","2":"J LB K D lC OC mC nC","132":"E F A oC pC"},F:{"1":"0 1 2 3 4 NB OB PB QB RB SB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x","2":"F B C G N O P MB y z xC yC zC 0C CC eC 1C DC","260":"TB"},G:{"1":"AD BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC","2":"OC 2C fC 3C 4C 5C","132":"E 6C 7C 8C 9C"},H:{"2":"PD"},I:{"1":"I","2":"IC J QD RD SD TD fC UD VD"},J:{"2":"D A"},K:{"1":"H","2":"A B C CC eC DC"},L:{"1":"I"},M:{"1":"BC"},N:{"2":"A B"},O:{"1":"EC"},P:{"1":"0 1 2 3 4 J y z WD XD YD ZD aD PC bD cD dD eD fD FC GC HC gD"},Q:{"1":"hD"},R:{"1":"iD"},S:{"1":"jD kD"}},B:4,C:"CSS background-blend-mode",D:true}; diff --git a/node_modules/caniuse-lite/data/features/css-boxdecorationbreak.js b/node_modules/caniuse-lite/data/features/css-boxdecorationbreak.js index 2db3ca321f..dd047f213a 100644 --- a/node_modules/caniuse-lite/data/features/css-boxdecorationbreak.js +++ b/node_modules/caniuse-lite/data/features/css-boxdecorationbreak.js @@ -1 +1 @@ -module.exports={A:{A:{"2":"K D E F A B aC"},B:{"2":"C L M G N O P","164":"0 1 2 3 4 5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC","2":"bC DC J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB dC eC"},D:{"2":"J FB K D E F A B C L M G N O P GB u v","164":"0 1 2 3 4 5 6 7 8 9 w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC"},E:{"2":"J FB K fC JC gC","164":"D E F A B C L M G hC iC jC KC 7B 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC"},F:{"2":"F qC rC sC tC","129":"B C 7B YC uC 8B","164":"G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t"},G:{"2":"JC vC ZC wC xC","164":"E yC zC 0C 1C 2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC"},H:{"132":"HD"},I:{"2":"DC J ID JD KD LD ZC","164":"I MD ND"},J:{"2":"D","164":"A"},K:{"2":"A","129":"B C 7B YC 8B","164":"H"},L:{"164":"I"},M:{"1":"6B"},N:{"2":"A B"},O:{"164":"9B"},P:{"164":"J u v w x y z OD PD QD RD SD KC TD UD VD WD XD AC BC CC YD"},Q:{"164":"ZD"},R:{"164":"aD"},S:{"1":"bD cD"}},B:4,C:"CSS box-decoration-break",D:true}; +module.exports={A:{A:{"2":"K D E F A B gC"},B:{"1":"KB I","2":"C L M G N O P","164":"5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB"},C:{"1":"5 6 7 8 9 SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC","2":"0 1 2 3 4 hC IC J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB jC kC"},D:{"1":"KB I BC MC NC","2":"J LB K D E F A B C L M G N O P MB y z","164":"0 1 2 3 4 5 6 7 8 9 NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB"},E:{"2":"J LB K lC OC mC","164":"D E F A B C L M G nC oC pC PC CC DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC"},F:{"2":"F xC yC zC 0C","129":"B C CC eC 1C DC","164":"0 1 2 3 4 G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x"},G:{"2":"OC 2C fC 3C 4C","164":"E 5C 6C 7C 8C 9C AD BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC"},H:{"132":"PD"},I:{"1":"I","2":"IC J QD RD SD TD fC","164":"UD VD"},J:{"2":"D","164":"A"},K:{"2":"A","129":"B C CC eC DC","164":"H"},L:{"1":"I"},M:{"1":"BC"},N:{"2":"A B"},O:{"164":"EC"},P:{"164":"0 1 2 3 4 J y z WD XD YD ZD aD PC bD cD dD eD fD FC GC HC gD"},Q:{"164":"hD"},R:{"164":"iD"},S:{"1":"jD kD"}},B:4,C:"CSS box-decoration-break",D:true}; diff --git a/node_modules/caniuse-lite/data/features/css-boxshadow.js b/node_modules/caniuse-lite/data/features/css-boxshadow.js index 542705d0b6..2550aa2c20 100644 --- a/node_modules/caniuse-lite/data/features/css-boxshadow.js +++ b/node_modules/caniuse-lite/data/features/css-boxshadow.js @@ -1 +1 @@ -module.exports={A:{A:{"1":"F A B","2":"K D E aC"},B:{"1":"0 1 2 3 4 5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC","2":"bC DC","33":"dC eC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC","33":"J FB K D E F"},E:{"1":"K D E F A B C L M G gC hC iC jC KC 7B 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC","33":"FB","164":"J fC JC"},F:{"1":"B C G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t sC tC 7B YC uC 8B","2":"F qC rC"},G:{"1":"E wC xC yC zC 0C 1C 2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC","33":"vC ZC","164":"JC"},H:{"2":"HD"},I:{"1":"J I LD ZC MD ND","164":"DC ID JD KD"},J:{"1":"A","33":"D"},K:{"1":"B C H 7B YC 8B","2":"A"},L:{"1":"I"},M:{"1":"6B"},N:{"1":"A B"},O:{"1":"9B"},P:{"1":"J u v w x y z OD PD QD RD SD KC TD UD VD WD XD AC BC CC YD"},Q:{"1":"ZD"},R:{"1":"aD"},S:{"1":"bD cD"}},B:4,C:"CSS3 Box-shadow",D:true}; +module.exports={A:{A:{"1":"F A B","2":"K D E gC"},B:{"1":"5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC","2":"hC IC","33":"jC kC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC","33":"J LB K D E F"},E:{"1":"K D E F A B C L M G mC nC oC pC PC CC DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC","33":"LB","164":"J lC OC"},F:{"1":"0 1 2 3 4 B C G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x zC 0C CC eC 1C DC","2":"F xC yC"},G:{"1":"E 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC","33":"2C fC","164":"OC"},H:{"2":"PD"},I:{"1":"J I TD fC UD VD","164":"IC QD RD SD"},J:{"1":"A","33":"D"},K:{"1":"B C H CC eC DC","2":"A"},L:{"1":"I"},M:{"1":"BC"},N:{"1":"A B"},O:{"1":"EC"},P:{"1":"0 1 2 3 4 J y z WD XD YD ZD aD PC bD cD dD eD fD FC GC HC gD"},Q:{"1":"hD"},R:{"1":"iD"},S:{"1":"jD kD"}},B:4,C:"CSS3 Box-shadow",D:true}; diff --git a/node_modules/caniuse-lite/data/features/css-canvas.js b/node_modules/caniuse-lite/data/features/css-canvas.js index 3745640da3..bac8fe8e0a 100644 --- a/node_modules/caniuse-lite/data/features/css-canvas.js +++ b/node_modules/caniuse-lite/data/features/css-canvas.js @@ -1 +1 @@ -module.exports={A:{A:{"2":"K D E F A B aC"},B:{"2":"0 1 2 3 4 5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I"},C:{"2":"0 1 2 3 4 5 6 7 8 9 bC DC J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC dC eC"},D:{"2":"0 1 2 3 4 5 6 7 8 9 dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC","33":"J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB"},E:{"2":"fC JC","33":"J FB K D E F A B C L M G gC hC iC jC KC 7B 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC"},F:{"2":"F B C QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t qC rC sC tC 7B YC uC 8B","33":"G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB"},G:{"33":"E JC vC ZC wC xC yC zC 0C 1C 2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC"},H:{"2":"HD"},I:{"2":"I","33":"DC J ID JD KD LD ZC MD ND"},J:{"33":"D A"},K:{"2":"A B C H 7B YC 8B"},L:{"2":"I"},M:{"2":"6B"},N:{"2":"A B"},O:{"2":"9B"},P:{"2":"u v w x y z OD PD QD RD SD KC TD UD VD WD XD AC BC CC YD","33":"J"},Q:{"2":"ZD"},R:{"2":"aD"},S:{"2":"bD cD"}},B:7,C:"CSS Canvas Drawings",D:true}; +module.exports={A:{A:{"2":"K D E F A B gC"},B:{"2":"5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I"},C:{"2":"0 1 2 3 4 5 6 7 8 9 hC IC J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC jC kC"},D:{"2":"5 6 7 8 9 iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC","33":"0 1 2 3 4 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB"},E:{"2":"lC OC","33":"J LB K D E F A B C L M G mC nC oC pC PC CC DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC"},F:{"2":"F B C VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x xC yC zC 0C CC eC 1C DC","33":"0 1 2 3 4 G N O P MB y z NB OB PB QB RB SB TB UB"},G:{"33":"E OC 2C fC 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC"},H:{"2":"PD"},I:{"2":"I","33":"IC J QD RD SD TD fC UD VD"},J:{"33":"D A"},K:{"2":"A B C H CC eC DC"},L:{"2":"I"},M:{"2":"BC"},N:{"2":"A B"},O:{"2":"EC"},P:{"2":"0 1 2 3 4 y z WD XD YD ZD aD PC bD cD dD eD fD FC GC HC gD","33":"J"},Q:{"2":"hD"},R:{"2":"iD"},S:{"2":"jD kD"}},B:7,C:"CSS Canvas Drawings",D:true}; diff --git a/node_modules/caniuse-lite/data/features/css-caret-color.js b/node_modules/caniuse-lite/data/features/css-caret-color.js index 55c12467a0..fe79a0e1e3 100644 --- a/node_modules/caniuse-lite/data/features/css-caret-color.js +++ b/node_modules/caniuse-lite/data/features/css-caret-color.js @@ -1 +1 @@ -module.exports={A:{A:{"2":"K D E F A B aC"},B:{"1":"0 1 2 3 4 5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I","2":"C L M G N O P"},C:{"1":"0 1 2 3 4 5 6 7 8 9 iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC","2":"bC DC J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB dC eC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC","2":"J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB"},E:{"1":"C L M G 7B 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC","2":"J FB K D E F A B fC JC gC hC iC jC KC"},F:{"1":"ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t","2":"F B C G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB qC rC sC tC 7B YC uC 8B"},G:{"1":"5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC","2":"E JC vC ZC wC xC yC zC 0C 1C 2C 3C 4C"},H:{"2":"HD"},I:{"1":"I","2":"DC J ID JD KD LD ZC MD ND"},J:{"2":"D A"},K:{"1":"H","2":"A B C 7B YC 8B"},L:{"1":"I"},M:{"1":"6B"},N:{"2":"A B"},O:{"1":"9B"},P:{"1":"u v w x y z QD RD SD KC TD UD VD WD XD AC BC CC YD","2":"J OD PD"},Q:{"1":"ZD"},R:{"1":"aD"},S:{"1":"cD","2":"bD"}},B:2,C:"CSS caret-color",D:true}; +module.exports={A:{A:{"2":"K D E F A B gC"},B:{"1":"5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I","2":"C L M G N O P"},C:{"1":"5 6 7 8 9 nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC","2":"0 1 2 3 4 hC IC J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB jC kC"},D:{"1":"5 6 7 8 9 rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC","2":"0 1 2 3 4 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB"},E:{"1":"C L M G CC DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC","2":"J LB K D E F A B lC OC mC nC oC pC PC"},F:{"1":"eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x","2":"0 1 2 3 4 F B C G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB xC yC zC 0C CC eC 1C DC"},G:{"1":"CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC","2":"E OC 2C fC 3C 4C 5C 6C 7C 8C 9C AD BD"},H:{"2":"PD"},I:{"1":"I","2":"IC J QD RD SD TD fC UD VD"},J:{"2":"D A"},K:{"1":"H","2":"A B C CC eC DC"},L:{"1":"I"},M:{"1":"BC"},N:{"2":"A B"},O:{"1":"EC"},P:{"1":"0 1 2 3 4 y z YD ZD aD PC bD cD dD eD fD FC GC HC gD","2":"J WD XD"},Q:{"1":"hD"},R:{"1":"iD"},S:{"1":"kD","2":"jD"}},B:2,C:"CSS caret-color",D:true}; diff --git a/node_modules/caniuse-lite/data/features/css-cascade-layers.js b/node_modules/caniuse-lite/data/features/css-cascade-layers.js index ec6734ac15..fb87527814 100644 --- a/node_modules/caniuse-lite/data/features/css-cascade-layers.js +++ b/node_modules/caniuse-lite/data/features/css-cascade-layers.js @@ -1 +1 @@ -module.exports={A:{A:{"2":"K D E F A B aC"},B:{"1":"0 1 2 3 4 5 6 7 8 9 i j k l m n o p q r s t AB BB CB DB EB I","2":"C L M G N O P Q H R S T U V W X Y Z a b c d e","322":"f g h"},C:{"1":"0 1 2 3 4 5 6 7 8 9 g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC","2":"bC DC J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c dC eC","194":"d e f"},D:{"1":"0 1 2 3 4 5 6 7 8 9 i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC","2":"J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e","322":"f g h"},E:{"1":"MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC","2":"J FB K D E F A B C L M G fC JC gC hC iC jC KC 7B 8B kC lC mC LC"},F:{"1":"V W X Y Z a b c d e f g h i j k l m n o p q r s t","2":"F B C G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U qC rC sC tC 7B YC uC 8B"},G:{"1":"MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC","2":"E JC vC ZC wC xC yC zC 0C 1C 2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED LC"},H:{"2":"HD"},I:{"1":"I","2":"DC J ID JD KD LD ZC MD ND"},J:{"2":"D A"},K:{"1":"H","2":"A B C 7B YC 8B"},L:{"1":"I"},M:{"1":"6B"},N:{"2":"A B"},O:{"1":"9B"},P:{"1":"u v w x y z CC YD","2":"J OD PD QD RD SD KC TD UD VD WD XD AC BC"},Q:{"2":"ZD"},R:{"2":"aD"},S:{"2":"bD cD"}},B:4,C:"CSS Cascade Layers",D:true}; +module.exports={A:{A:{"2":"K D E F A B gC"},B:{"1":"5 6 7 8 9 i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I","2":"C L M G N O P Q H R S T U V W X Y Z a b c d e","322":"f g h"},C:{"1":"5 6 7 8 9 g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC","2":"0 1 2 3 4 hC IC J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c jC kC","194":"d e f"},D:{"1":"5 6 7 8 9 i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC","2":"0 1 2 3 4 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e","322":"f g h"},E:{"1":"RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC","2":"J LB K D E F A B C L M G lC OC mC nC oC pC PC CC DC qC rC sC QC"},F:{"1":"V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x","2":"0 1 2 3 4 F B C G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U xC yC zC 0C CC eC 1C DC"},G:{"1":"RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC","2":"E OC 2C fC 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED FD GD HD ID JD KD LD QC"},H:{"2":"PD"},I:{"1":"I","2":"IC J QD RD SD TD fC UD VD"},J:{"2":"D A"},K:{"1":"H","2":"A B C CC eC DC"},L:{"1":"I"},M:{"1":"BC"},N:{"2":"A B"},O:{"1":"EC"},P:{"1":"0 1 2 3 4 y z HC gD","2":"J WD XD YD ZD aD PC bD cD dD eD fD FC GC"},Q:{"2":"hD"},R:{"2":"iD"},S:{"2":"jD kD"}},B:4,C:"CSS Cascade Layers",D:true}; diff --git a/node_modules/caniuse-lite/data/features/css-cascade-scope.js b/node_modules/caniuse-lite/data/features/css-cascade-scope.js index 81e9e01021..eca30deecd 100644 --- a/node_modules/caniuse-lite/data/features/css-cascade-scope.js +++ b/node_modules/caniuse-lite/data/features/css-cascade-scope.js @@ -1 +1 @@ -module.exports={A:{A:{"2":"K D E F A B aC"},B:{"1":"7 8 9 AB BB CB DB EB I","2":"C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m","194":"0 1 2 3 4 5 6 n o p q r s t"},C:{"2":"0 1 2 3 4 5 6 7 8 9 bC DC J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC dC eC"},D:{"1":"7 8 9 AB BB CB DB EB I 6B HC IC","2":"J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m","194":"0 1 2 3 4 5 6 n o p q r s t"},E:{"1":"VC WC XC CC pC","2":"J FB K D E F A B C L M G fC JC gC hC iC jC KC 7B 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC"},F:{"1":"p q r s t","2":"F B C G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y qC rC sC tC 7B YC uC 8B","194":"Z a b c d e f g h i j k l m n o"},G:{"1":"VC WC XC CC","2":"E JC vC ZC wC xC yC zC 0C 1C 2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC"},H:{"2":"HD"},I:{"1":"I","2":"DC J ID JD KD LD ZC MD ND"},J:{"2":"D A"},K:{"1":"H","2":"A B C 7B YC 8B"},L:{"1":"I"},M:{"2":"6B"},N:{"2":"A B"},O:{"2":"9B"},P:{"1":"z","2":"J u v w x y OD PD QD RD SD KC TD UD VD WD XD AC BC CC YD"},Q:{"2":"ZD"},R:{"2":"aD"},S:{"2":"bD cD"}},B:5,C:"Scoped Styles: the @scope rule",D:true}; +module.exports={A:{A:{"2":"K D E F A B gC"},B:{"1":"8 9 AB BB CB DB EB FB GB HB IB JB KB I","2":"C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m","194":"5 6 7 n o p q r s t u v w x"},C:{"2":"0 1 2 3 4 5 6 7 8 9 hC IC J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC jC kC"},D:{"1":"8 9 AB BB CB DB EB FB GB HB IB JB KB I BC MC NC","2":"0 1 2 3 4 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m","194":"5 6 7 n o p q r s t u v w x"},E:{"1":"aC bC vC HC cC dC wC","2":"J LB K D E F A B C L M G lC OC mC nC oC pC PC CC DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC"},F:{"1":"p q r s t u v w x","2":"0 1 2 3 4 F B C G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y xC yC zC 0C CC eC 1C DC","194":"Z a b c d e f g h i j k l m n o"},G:{"1":"aC bC OD HC cC dC","2":"E OC 2C fC 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC"},H:{"2":"PD"},I:{"1":"I","2":"IC J QD RD SD TD fC UD VD"},J:{"2":"D A"},K:{"1":"H","2":"A B C CC eC DC"},L:{"1":"I"},M:{"2":"BC"},N:{"2":"A B"},O:{"2":"EC"},P:{"1":"3 4","2":"0 1 2 J y z WD XD YD ZD aD PC bD cD dD eD fD FC GC HC gD"},Q:{"2":"hD"},R:{"2":"iD"},S:{"2":"jD kD"}},B:5,C:"Scoped Styles: the @scope rule",D:true}; diff --git a/node_modules/caniuse-lite/data/features/css-case-insensitive.js b/node_modules/caniuse-lite/data/features/css-case-insensitive.js index 28cbea468a..0ba5b7ee98 100644 --- a/node_modules/caniuse-lite/data/features/css-case-insensitive.js +++ b/node_modules/caniuse-lite/data/features/css-case-insensitive.js @@ -1 +1 @@ -module.exports={A:{A:{"2":"K D E F A B aC"},B:{"1":"0 1 2 3 4 5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I","2":"C L M G N O P"},C:{"1":"0 1 2 3 4 5 6 7 8 9 cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC","2":"bC DC J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB dC eC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC","2":"J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB"},E:{"1":"F A B C L M G jC KC 7B 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC","2":"J FB K D E fC JC gC hC iC"},F:{"1":"RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t","2":"F B C G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB qC rC sC tC 7B YC uC 8B"},G:{"1":"0C 1C 2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC","2":"E JC vC ZC wC xC yC zC"},H:{"2":"HD"},I:{"1":"I","2":"DC J ID JD KD LD ZC MD ND"},J:{"2":"D A"},K:{"1":"H","2":"A B C 7B YC 8B"},L:{"1":"I"},M:{"1":"6B"},N:{"2":"A B"},O:{"1":"9B"},P:{"1":"u v w x y z OD PD QD RD SD KC TD UD VD WD XD AC BC CC YD","2":"J"},Q:{"1":"ZD"},R:{"1":"aD"},S:{"1":"bD cD"}},B:5,C:"Case-insensitive CSS attribute selectors",D:true}; +module.exports={A:{A:{"2":"K D E F A B gC"},B:{"1":"5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I","2":"C L M G N O P"},C:{"1":"5 6 7 8 9 hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC","2":"0 1 2 3 4 hC IC J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB jC kC"},D:{"1":"5 6 7 8 9 jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC","2":"0 1 2 3 4 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB"},E:{"1":"F A B C L M G pC PC CC DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC","2":"J LB K D E lC OC mC nC oC"},F:{"1":"WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x","2":"0 1 2 3 4 F B C G N O P MB y z NB OB PB QB RB SB TB UB VB xC yC zC 0C CC eC 1C DC"},G:{"1":"7C 8C 9C AD BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC","2":"E OC 2C fC 3C 4C 5C 6C"},H:{"2":"PD"},I:{"1":"I","2":"IC J QD RD SD TD fC UD VD"},J:{"2":"D A"},K:{"1":"H","2":"A B C CC eC DC"},L:{"1":"I"},M:{"1":"BC"},N:{"2":"A B"},O:{"1":"EC"},P:{"1":"0 1 2 3 4 y z WD XD YD ZD aD PC bD cD dD eD fD FC GC HC gD","2":"J"},Q:{"1":"hD"},R:{"1":"iD"},S:{"1":"jD kD"}},B:5,C:"Case-insensitive CSS attribute selectors",D:true}; diff --git a/node_modules/caniuse-lite/data/features/css-clip-path.js b/node_modules/caniuse-lite/data/features/css-clip-path.js index 9563e5984f..6f200cf74e 100644 --- a/node_modules/caniuse-lite/data/features/css-clip-path.js +++ b/node_modules/caniuse-lite/data/features/css-clip-path.js @@ -1 +1 @@ -module.exports={A:{A:{"2":"K D E F A B aC"},B:{"2":"C L M G N O","260":"0 1 2 3 4 5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I","3138":"P"},C:{"1":"0 1 2 3 4 5 6 7 8 9 jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC","2":"bC DC","132":"J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB dC eC","644":"cB dB eB fB gB hB iB"},D:{"2":"J FB K D E F A B C L M G N O P GB u v w x","260":"0 1 2 3 4 5 6 7 8 9 kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC","292":"y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB"},E:{"2":"J FB K fC JC gC hC","260":"M G kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC","292":"D E F A B C L iC jC KC 7B 8B"},F:{"2":"F B C qC rC sC tC 7B YC uC 8B","260":"XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t","292":"G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB"},G:{"2":"JC vC ZC wC xC","260":"8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC","292":"E yC zC 0C 1C 2C 3C 4C 5C 6C 7C"},H:{"2":"HD"},I:{"2":"DC J ID JD KD LD ZC","260":"I","292":"MD ND"},J:{"2":"D A"},K:{"2":"A B C 7B YC 8B","260":"H"},L:{"260":"I"},M:{"1":"6B"},N:{"2":"A B"},O:{"260":"9B"},P:{"260":"u v w x y z PD QD RD SD KC TD UD VD WD XD AC BC CC YD","292":"J OD"},Q:{"260":"ZD"},R:{"260":"aD"},S:{"1":"cD","644":"bD"}},B:4,C:"CSS clip-path property (for HTML)",D:true}; +module.exports={A:{A:{"2":"K D E F A B gC"},B:{"2":"C L M G N O","260":"5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I","3138":"P"},C:{"1":"5 6 7 8 9 oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC","2":"hC IC","132":"0 1 2 3 4 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB jC kC","644":"hB iB jB kB lB mB nB"},D:{"2":"0 1 J LB K D E F A B C L M G N O P MB y z","260":"5 6 7 8 9 pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC","292":"2 3 4 NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB"},E:{"2":"J LB K lC OC mC nC","260":"M G qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC","292":"D E F A B C L oC pC PC CC DC"},F:{"2":"F B C xC yC zC 0C CC eC 1C DC","260":"cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x","292":"0 1 2 3 4 G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB"},G:{"2":"OC 2C fC 3C 4C","260":"FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC","292":"E 5C 6C 7C 8C 9C AD BD CD DD ED"},H:{"2":"PD"},I:{"2":"IC J QD RD SD TD fC","260":"I","292":"UD VD"},J:{"2":"D A"},K:{"2":"A B C CC eC DC","260":"H"},L:{"260":"I"},M:{"1":"BC"},N:{"2":"A B"},O:{"260":"EC"},P:{"260":"0 1 2 3 4 y z XD YD ZD aD PC bD cD dD eD fD FC GC HC gD","292":"J WD"},Q:{"260":"hD"},R:{"260":"iD"},S:{"1":"kD","644":"jD"}},B:4,C:"CSS clip-path property (for HTML)",D:true}; diff --git a/node_modules/caniuse-lite/data/features/css-color-adjust.js b/node_modules/caniuse-lite/data/features/css-color-adjust.js index 49bafd0051..ce4a75ccbb 100644 --- a/node_modules/caniuse-lite/data/features/css-color-adjust.js +++ b/node_modules/caniuse-lite/data/features/css-color-adjust.js @@ -1 +1 @@ -module.exports={A:{A:{"2":"K D E F A B aC"},B:{"2":"C L M G N O P","33":"0 1 2 3 4 5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC","2":"bC DC J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dC eC"},D:{"16":"J FB K D E F A B C L M G N O P","33":"0 1 2 3 4 5 6 7 8 9 GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC"},E:{"1":"MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC","2":"J FB fC JC gC","33":"K D E F A B C L M G hC iC jC KC 7B 8B kC lC mC LC"},F:{"2":"F B C qC rC sC tC 7B YC uC 8B","33":"G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t"},G:{"1":"MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC","16":"E JC vC ZC wC xC yC zC 0C 1C 2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED LC"},H:{"2":"HD"},I:{"16":"DC J ID JD KD LD ZC MD ND","33":"I"},J:{"16":"D A"},K:{"2":"A B C 7B YC 8B","33":"H"},L:{"16":"I"},M:{"1":"6B"},N:{"16":"A B"},O:{"16":"9B"},P:{"16":"J u v w x y z OD PD QD RD SD KC TD UD VD WD XD AC BC CC YD"},Q:{"33":"ZD"},R:{"16":"aD"},S:{"1":"bD cD"}},B:4,C:"CSS print-color-adjust",D:true}; +module.exports={A:{A:{"2":"K D E F A B gC"},B:{"2":"C L M G N O P","33":"5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I"},C:{"1":"5 6 7 8 9 iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC","2":"0 1 2 3 4 hC IC J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB jC kC"},D:{"16":"J LB K D E F A B C L M G N O P","33":"0 1 2 3 4 5 6 7 8 9 MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC"},E:{"1":"RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC","2":"J LB lC OC mC","33":"K D E F A B C L M G nC oC pC PC CC DC qC rC sC QC"},F:{"2":"F B C xC yC zC 0C CC eC 1C DC","33":"0 1 2 3 4 G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x"},G:{"1":"RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC","16":"E OC 2C fC 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED FD GD HD ID JD KD LD QC"},H:{"2":"PD"},I:{"16":"IC J QD RD SD TD fC UD VD","33":"I"},J:{"16":"D A"},K:{"2":"A B C CC eC DC","33":"H"},L:{"16":"I"},M:{"1":"BC"},N:{"16":"A B"},O:{"16":"EC"},P:{"16":"0 1 2 3 4 J y z WD XD YD ZD aD PC bD cD dD eD fD FC GC HC gD"},Q:{"33":"hD"},R:{"16":"iD"},S:{"1":"jD kD"}},B:4,C:"CSS print-color-adjust",D:true}; diff --git a/node_modules/caniuse-lite/data/features/css-color-function.js b/node_modules/caniuse-lite/data/features/css-color-function.js index 76a4de4912..a27ae47983 100644 --- a/node_modules/caniuse-lite/data/features/css-color-function.js +++ b/node_modules/caniuse-lite/data/features/css-color-function.js @@ -1 +1 @@ -module.exports={A:{A:{"2":"K D E F A B aC"},B:{"1":"0 1 2 3 4 5 6 7 8 9 AB BB CB DB EB I","2":"C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q","322":"r s t"},C:{"1":"2 3 4 5 6 7 8 9 AB BB CB DB EB I 6B HC IC cC","2":"bC DC J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t dC eC","578":"0 1"},D:{"1":"0 1 2 3 4 5 6 7 8 9 AB BB CB DB EB I 6B HC IC","2":"J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q","322":"r s t"},E:{"1":"G mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC","2":"J FB K D E F A fC JC gC hC iC jC","132":"B C L M KC 7B 8B kC lC"},F:{"1":"h i j k l m n o p q r s t","2":"F B C G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d qC rC sC tC 7B YC uC 8B","322":"e f g"},G:{"1":"ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC","2":"E JC vC ZC wC xC yC zC 0C 1C 2C","132":"3C 4C 5C 6C 7C 8C 9C AD BD CD DD"},H:{"2":"HD"},I:{"1":"I","2":"DC J ID JD KD LD ZC MD ND"},J:{"2":"D A"},K:{"1":"H","2":"A B C 7B YC 8B"},L:{"1":"I"},M:{"1":"6B"},N:{"2":"A B"},O:{"2":"9B"},P:{"1":"w x y z","2":"J u v OD PD QD RD SD KC TD UD VD WD XD AC BC CC YD"},Q:{"2":"ZD"},R:{"2":"aD"},S:{"2":"bD cD"}},B:4,C:"CSS color() function",D:true}; +module.exports={A:{A:{"2":"K D E F A B gC"},B:{"1":"5 6 7 8 9 u v w x AB BB CB DB EB FB GB HB IB JB KB I","2":"C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q","322":"r s t"},C:{"1":"5 6 7 8 9 w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC","2":"0 1 2 3 4 hC IC J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t jC kC","578":"u v"},D:{"1":"5 6 7 8 9 u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC","2":"0 1 2 3 4 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q","322":"r s t"},E:{"1":"G sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC","2":"J LB K D E F A lC OC mC nC oC pC","132":"B C L M PC CC DC qC rC"},F:{"1":"h i j k l m n o p q r s t u v w x","2":"0 1 2 3 4 F B C G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d xC yC zC 0C CC eC 1C DC","322":"e f g"},G:{"1":"LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC","2":"E OC 2C fC 3C 4C 5C 6C 7C 8C 9C","132":"AD BD CD DD ED FD GD HD ID JD KD"},H:{"2":"PD"},I:{"1":"I","2":"IC J QD RD SD TD fC UD VD"},J:{"2":"D A"},K:{"1":"H","2":"A B C CC eC DC"},L:{"1":"I"},M:{"1":"BC"},N:{"2":"A B"},O:{"2":"EC"},P:{"1":"0 1 2 3 4","2":"J y z WD XD YD ZD aD PC bD cD dD eD fD FC GC HC gD"},Q:{"2":"hD"},R:{"2":"iD"},S:{"2":"jD kD"}},B:4,C:"CSS color() function",D:true}; diff --git a/node_modules/caniuse-lite/data/features/css-conic-gradients.js b/node_modules/caniuse-lite/data/features/css-conic-gradients.js index c49166fb95..81c89b4dd1 100644 --- a/node_modules/caniuse-lite/data/features/css-conic-gradients.js +++ b/node_modules/caniuse-lite/data/features/css-conic-gradients.js @@ -1 +1 @@ -module.exports={A:{A:{"2":"K D E F A B aC"},B:{"1":"0 1 2 3 4 5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I","2":"C L M G N O P"},C:{"1":"0 1 2 3 4 5 6 7 8 9 S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC","2":"bC DC J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B dC eC","578":"2B 3B 4B 5B Q H R GC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC","2":"J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB","257":"wB xB","450":"EC oB FC pB qB rB sB tB uB vB"},E:{"1":"L M G 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC","2":"J FB K D E F A B C fC JC gC hC iC jC KC 7B"},F:{"1":"nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t","2":"F B C G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB qC rC sC tC 7B YC uC 8B","257":"lB mB","450":"bB cB dB eB fB gB hB iB jB kB"},G:{"1":"7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC","2":"E JC vC ZC wC xC yC zC 0C 1C 2C 3C 4C 5C 6C"},H:{"2":"HD"},I:{"1":"I","2":"DC J ID JD KD LD ZC MD ND"},J:{"2":"D A"},K:{"1":"H","2":"A B C 7B YC 8B"},L:{"1":"I"},M:{"1":"6B"},N:{"2":"A B"},O:{"1":"9B"},P:{"1":"u v w x y z KC TD UD VD WD XD AC BC CC YD","2":"J OD PD QD RD SD"},Q:{"1":"ZD"},R:{"1":"aD"},S:{"1":"cD","2":"bD"}},B:5,C:"CSS Conical Gradients",D:true}; +module.exports={A:{A:{"2":"K D E F A B gC"},B:{"1":"5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I","2":"C L M G N O P"},C:{"1":"5 6 7 8 9 S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC","2":"0 1 2 3 4 hC IC J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B jC kC","578":"7B 8B 9B AC Q H R LC"},D:{"1":"5 6 7 8 9 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC","2":"0 1 2 3 4 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB","257":"1B 2B","450":"JC tB KC uB vB wB xB yB zB 0B"},E:{"1":"L M G DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC","2":"J LB K D E F A B C lC OC mC nC oC pC PC CC"},F:{"1":"sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x","2":"0 1 2 3 4 F B C G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB xC yC zC 0C CC eC 1C DC","257":"qB rB","450":"gB hB iB jB kB lB mB nB oB pB"},G:{"1":"ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC","2":"E OC 2C fC 3C 4C 5C 6C 7C 8C 9C AD BD CD DD"},H:{"2":"PD"},I:{"1":"I","2":"IC J QD RD SD TD fC UD VD"},J:{"2":"D A"},K:{"1":"H","2":"A B C CC eC DC"},L:{"1":"I"},M:{"1":"BC"},N:{"2":"A B"},O:{"1":"EC"},P:{"1":"0 1 2 3 4 y z PC bD cD dD eD fD FC GC HC gD","2":"J WD XD YD ZD aD"},Q:{"1":"hD"},R:{"1":"iD"},S:{"1":"kD","2":"jD"}},B:5,C:"CSS Conical Gradients",D:true}; diff --git a/node_modules/caniuse-lite/data/features/css-container-queries-style.js b/node_modules/caniuse-lite/data/features/css-container-queries-style.js index f9e9019527..dbd198c7de 100644 --- a/node_modules/caniuse-lite/data/features/css-container-queries-style.js +++ b/node_modules/caniuse-lite/data/features/css-container-queries-style.js @@ -1 +1 @@ -module.exports={A:{A:{"2":"K D E F A B aC"},B:{"2":"C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p","194":"q r s t","260":"0 1 2 3 4 5 6 7 8 9 AB BB CB DB EB I"},C:{"2":"0 1 2 3 4 5 6 7 8 9 bC DC J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC dC eC"},D:{"2":"J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p","194":"q r s t","260":"0 1 2 3 4 5 6 7 8 9 AB BB CB DB EB I 6B HC IC"},E:{"2":"J FB K D E F A B C L M G fC JC gC hC iC jC KC 7B 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC","260":"CC pC"},F:{"2":"F B C G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b qC rC sC tC 7B YC uC 8B","194":"c d e f g","260":"h i j k l m n o p q r s t"},G:{"2":"E JC vC ZC wC xC yC zC 0C 1C 2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC","260":"CC"},H:{"2":"HD"},I:{"2":"DC J ID JD KD LD ZC MD ND","260":"I"},J:{"2":"D A"},K:{"2":"A B C 7B YC 8B","260":"H"},L:{"260":"I"},M:{"2":"6B"},N:{"2":"A B"},O:{"2":"9B"},P:{"2":"J u v OD PD QD RD SD KC TD UD VD WD XD AC BC CC YD","260":"w x y z"},Q:{"2":"ZD"},R:{"2":"aD"},S:{"2":"bD cD"}},B:5,C:"CSS Container Style Queries",D:true}; +module.exports={A:{A:{"2":"K D E F A B gC"},B:{"2":"C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p","194":"q r s t","260":"5 6 7 8 9 u v w x AB BB CB DB EB FB GB HB IB JB KB I"},C:{"2":"0 1 2 3 4 5 6 7 8 9 hC IC J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC jC kC"},D:{"2":"0 1 2 3 4 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p","194":"q r s t","260":"5 6 7 8 9 u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC"},E:{"2":"J LB K D E F A B C L M G lC OC mC nC oC pC PC CC DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC","260":"cC dC wC","772":"HC"},F:{"2":"0 1 2 3 4 F B C G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b xC yC zC 0C CC eC 1C DC","194":"c d e f g","260":"h i j k l m n o p q r s t u v w x"},G:{"2":"E OC 2C fC 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD","260":"cC dC","772":"HC"},H:{"2":"PD"},I:{"2":"IC J QD RD SD TD fC UD VD","260":"I"},J:{"2":"D A"},K:{"2":"A B C CC eC DC","260":"H"},L:{"260":"I"},M:{"2":"BC"},N:{"2":"A B"},O:{"2":"EC"},P:{"2":"J y z WD XD YD ZD aD PC bD cD dD eD fD FC GC HC gD","260":"0 1 2 3 4"},Q:{"2":"hD"},R:{"2":"iD"},S:{"2":"jD kD"}},B:5,C:"CSS Container Style Queries",D:true}; diff --git a/node_modules/caniuse-lite/data/features/css-container-queries.js b/node_modules/caniuse-lite/data/features/css-container-queries.js index 941350bfe5..5cb4fb8234 100644 --- a/node_modules/caniuse-lite/data/features/css-container-queries.js +++ b/node_modules/caniuse-lite/data/features/css-container-queries.js @@ -1 +1 @@ -module.exports={A:{A:{"2":"K D E F A B aC"},B:{"1":"0 1 2 3 4 5 6 7 8 9 p q r s t AB BB CB DB EB I","2":"C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n","516":"o"},C:{"1":"0 1 2 3 4 5 6 7 8 9 t AB BB CB DB EB I 6B HC IC cC","2":"bC DC J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s dC eC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 p q r s t AB BB CB DB EB I 6B HC IC","2":"J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a","194":"c d e f g h i j k l m n","450":"b","516":"o"},E:{"1":"AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC","2":"J FB K D E F A B C L M G fC JC gC hC iC jC KC 7B 8B kC lC mC LC MC 9B nC"},F:{"1":"d e f g h i j k l m n o p q r s t","2":"F B C G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B qC rC sC tC 7B YC uC 8B","194":"Q H R GC S T U V W X Y Z","516":"a b c"},G:{"1":"AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC","2":"E JC vC ZC wC xC yC zC 0C 1C 2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD"},H:{"2":"HD"},I:{"1":"I","2":"DC J ID JD KD LD ZC MD ND"},J:{"2":"D A"},K:{"1":"H","2":"A B C 7B YC 8B"},L:{"1":"I"},M:{"1":"6B"},N:{"2":"A B"},O:{"2":"9B"},P:{"1":"u v w x y z","2":"J OD PD QD RD SD KC TD UD VD WD XD AC BC CC YD"},Q:{"2":"ZD"},R:{"2":"aD"},S:{"2":"bD cD"}},B:5,C:"CSS Container Queries (Size)",D:true}; +module.exports={A:{A:{"2":"K D E F A B gC"},B:{"1":"5 6 7 8 9 p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I","2":"C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n","516":"o"},C:{"1":"5 6 7 8 9 t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC","2":"0 1 2 3 4 hC IC J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s jC kC"},D:{"1":"5 6 7 8 9 p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC","2":"0 1 2 3 4 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a","194":"c d e f g h i j k l m n","450":"b","516":"o"},E:{"1":"FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC","2":"J LB K D E F A B C L M G lC OC mC nC oC pC PC CC DC qC rC sC QC RC EC tC"},F:{"1":"d e f g h i j k l m n o p q r s t u v w x","2":"0 1 2 3 4 F B C G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC xC yC zC 0C CC eC 1C DC","194":"Q H R LC S T U V W X Y Z","516":"a b c"},G:{"1":"FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC","2":"E OC 2C fC 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD"},H:{"2":"PD"},I:{"1":"I","2":"IC J QD RD SD TD fC UD VD"},J:{"2":"D A"},K:{"1":"H","2":"A B C CC eC DC"},L:{"1":"I"},M:{"1":"BC"},N:{"2":"A B"},O:{"2":"EC"},P:{"1":"0 1 2 3 4 y z","2":"J WD XD YD ZD aD PC bD cD dD eD fD FC GC HC gD"},Q:{"2":"hD"},R:{"2":"iD"},S:{"2":"jD kD"}},B:5,C:"CSS Container Queries (Size)",D:true}; diff --git a/node_modules/caniuse-lite/data/features/css-container-query-units.js b/node_modules/caniuse-lite/data/features/css-container-query-units.js index e981b0b4c2..bc47b72cbd 100644 --- a/node_modules/caniuse-lite/data/features/css-container-query-units.js +++ b/node_modules/caniuse-lite/data/features/css-container-query-units.js @@ -1 +1 @@ -module.exports={A:{A:{"2":"K D E F A B aC"},B:{"1":"0 1 2 3 4 5 6 7 8 9 o p q r s t AB BB CB DB EB I","2":"C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n"},C:{"1":"0 1 2 3 4 5 6 7 8 9 t AB BB CB DB EB I 6B HC IC cC","2":"bC DC J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s dC eC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 o p q r s t AB BB CB DB EB I 6B HC IC","2":"J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b","194":"k l m n","450":"c d e f g h i j"},E:{"1":"AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC","2":"J FB K D E F A B C L M G fC JC gC hC iC jC KC 7B 8B kC lC mC LC MC 9B nC"},F:{"1":"a b c d e f g h i j k l m n o p q r s t","2":"F B C G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B qC rC sC tC 7B YC uC 8B","194":"Q H R GC S T U V W X Y Z"},G:{"1":"AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC","2":"E JC vC ZC wC xC yC zC 0C 1C 2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD"},H:{"2":"HD"},I:{"1":"I","2":"DC J ID JD KD LD ZC MD ND"},J:{"2":"D A"},K:{"1":"H","2":"A B C 7B YC 8B"},L:{"1":"I"},M:{"1":"6B"},N:{"2":"A B"},O:{"2":"9B"},P:{"1":"u v w x y z","2":"J OD PD QD RD SD KC TD UD VD WD XD AC BC CC YD"},Q:{"2":"ZD"},R:{"2":"aD"},S:{"2":"bD cD"}},B:5,C:"CSS Container Query Units",D:true}; +module.exports={A:{A:{"2":"K D E F A B gC"},B:{"1":"5 6 7 8 9 o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I","2":"C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n"},C:{"1":"5 6 7 8 9 t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC","2":"0 1 2 3 4 hC IC J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s jC kC"},D:{"1":"5 6 7 8 9 o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC","2":"0 1 2 3 4 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b","194":"k l m n","450":"c d e f g h i j"},E:{"1":"FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC","2":"J LB K D E F A B C L M G lC OC mC nC oC pC PC CC DC qC rC sC QC RC EC tC"},F:{"1":"a b c d e f g h i j k l m n o p q r s t u v w x","2":"0 1 2 3 4 F B C G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC xC yC zC 0C CC eC 1C DC","194":"Q H R LC S T U V W X Y Z"},G:{"1":"FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC","2":"E OC 2C fC 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD"},H:{"2":"PD"},I:{"1":"I","2":"IC J QD RD SD TD fC UD VD"},J:{"2":"D A"},K:{"1":"H","2":"A B C CC eC DC"},L:{"1":"I"},M:{"1":"BC"},N:{"2":"A B"},O:{"2":"EC"},P:{"1":"0 1 2 3 4 y z","2":"J WD XD YD ZD aD PC bD cD dD eD fD FC GC HC gD"},Q:{"2":"hD"},R:{"2":"iD"},S:{"2":"jD kD"}},B:5,C:"CSS Container Query Units",D:true}; diff --git a/node_modules/caniuse-lite/data/features/css-containment.js b/node_modules/caniuse-lite/data/features/css-containment.js index 9c466e3770..56ac07a173 100644 --- a/node_modules/caniuse-lite/data/features/css-containment.js +++ b/node_modules/caniuse-lite/data/features/css-containment.js @@ -1 +1 @@ -module.exports={A:{A:{"2":"K D E F A B aC"},B:{"1":"0 1 2 3 4 5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I","2":"C L M G N O P"},C:{"1":"0 1 2 3 4 5 6 7 8 9 wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC","2":"bC DC J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB dC eC","194":"WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB"},D:{"1":"0 1 2 3 4 5 6 7 8 9 hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC","2":"J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB","66":"gB"},E:{"1":"MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC","2":"J FB K D E F A B C L M G fC JC gC hC iC jC KC 7B 8B kC lC mC LC"},F:{"1":"VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t","2":"F B C G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB qC rC sC tC 7B YC uC 8B","66":"TB UB"},G:{"1":"MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC","2":"E JC vC ZC wC xC yC zC 0C 1C 2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED LC"},H:{"2":"HD"},I:{"1":"I","2":"DC J ID JD KD LD ZC MD ND"},J:{"2":"D A"},K:{"1":"H","2":"A B C 7B YC 8B"},L:{"1":"I"},M:{"1":"6B"},N:{"2":"A B"},O:{"1":"9B"},P:{"1":"u v w x y z PD QD RD SD KC TD UD VD WD XD AC BC CC YD","2":"J OD"},Q:{"1":"ZD"},R:{"1":"aD"},S:{"1":"cD","194":"bD"}},B:2,C:"CSS Containment",D:true}; +module.exports={A:{A:{"2":"K D E F A B gC"},B:{"1":"5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I","2":"C L M G N O P"},C:{"1":"5 6 7 8 9 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC","2":"0 1 2 3 4 hC IC J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB jC kC","194":"bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B"},D:{"1":"5 6 7 8 9 mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC","2":"0 1 2 3 4 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB","66":"lB"},E:{"1":"RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC","2":"J LB K D E F A B C L M G lC OC mC nC oC pC PC CC DC qC rC sC QC"},F:{"1":"aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x","2":"0 1 2 3 4 F B C G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB xC yC zC 0C CC eC 1C DC","66":"YB ZB"},G:{"1":"RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC","2":"E OC 2C fC 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED FD GD HD ID JD KD LD QC"},H:{"2":"PD"},I:{"1":"I","2":"IC J QD RD SD TD fC UD VD"},J:{"2":"D A"},K:{"1":"H","2":"A B C CC eC DC"},L:{"1":"I"},M:{"1":"BC"},N:{"2":"A B"},O:{"1":"EC"},P:{"1":"0 1 2 3 4 y z XD YD ZD aD PC bD cD dD eD fD FC GC HC gD","2":"J WD"},Q:{"1":"hD"},R:{"1":"iD"},S:{"1":"kD","194":"jD"}},B:2,C:"CSS Containment",D:true}; diff --git a/node_modules/caniuse-lite/data/features/css-content-visibility.js b/node_modules/caniuse-lite/data/features/css-content-visibility.js index 39f466b3f4..4cdc085de3 100644 --- a/node_modules/caniuse-lite/data/features/css-content-visibility.js +++ b/node_modules/caniuse-lite/data/features/css-content-visibility.js @@ -1 +1 @@ -module.exports={A:{A:{"2":"K D E F A B aC"},B:{"1":"0 1 2 3 4 5 6 7 8 9 U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I","2":"C L M G N O P Q H R S T"},C:{"1":"EB I 6B HC IC cC","2":"bC DC J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r dC eC","194":"0 1 2 3 4 5 6 7 8 9 s t AB BB CB DB"},D:{"1":"0 1 2 3 4 5 6 7 8 9 U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC","2":"J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T"},E:{"1":"CC pC","2":"J FB K D E F A B C L M G fC JC gC hC iC jC KC 7B 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC"},F:{"1":"yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t","2":"F B C G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB qC rC sC tC 7B YC uC 8B"},G:{"1":"CC","2":"E JC vC ZC wC xC yC zC 0C 1C 2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC"},H:{"2":"HD"},I:{"1":"I","2":"DC J ID JD KD LD ZC MD ND"},J:{"2":"D A"},K:{"1":"H","2":"A B C 7B YC 8B"},L:{"1":"I"},M:{"1":"6B"},N:{"2":"A B"},O:{"1":"9B"},P:{"1":"u v w x y z WD XD AC BC CC YD","2":"J OD PD QD RD SD KC TD UD VD"},Q:{"2":"ZD"},R:{"1":"aD"},S:{"2":"bD cD"}},B:5,C:"CSS content-visibility",D:true}; +module.exports={A:{A:{"2":"K D E F A B gC"},B:{"1":"5 6 7 8 9 U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I","2":"C L M G N O P Q H R S T"},C:{"1":"FB GB HB IB JB KB I BC MC NC iC","2":"0 1 2 3 4 hC IC J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r jC kC","194":"5 6 7 8 9 s t u v w x AB BB CB DB EB"},D:{"1":"5 6 7 8 9 U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC","2":"0 1 2 3 4 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T"},E:{"1":"HC cC dC wC","2":"J LB K D E F A B C L M G lC OC mC nC oC pC PC CC DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC"},F:{"1":"3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x","2":"0 1 2 3 4 F B C G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B xC yC zC 0C CC eC 1C DC"},G:{"1":"HC cC dC","2":"E OC 2C fC 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD"},H:{"2":"PD"},I:{"1":"I","2":"IC J QD RD SD TD fC UD VD"},J:{"2":"D A"},K:{"1":"H","2":"A B C CC eC DC"},L:{"1":"I"},M:{"1":"BC"},N:{"2":"A B"},O:{"1":"EC"},P:{"1":"0 1 2 3 4 y z eD fD FC GC HC gD","2":"J WD XD YD ZD aD PC bD cD dD"},Q:{"2":"hD"},R:{"1":"iD"},S:{"2":"jD kD"}},B:5,C:"CSS content-visibility",D:true}; diff --git a/node_modules/caniuse-lite/data/features/css-counters.js b/node_modules/caniuse-lite/data/features/css-counters.js index 3e2031c078..112aca1e7b 100644 --- a/node_modules/caniuse-lite/data/features/css-counters.js +++ b/node_modules/caniuse-lite/data/features/css-counters.js @@ -1 +1 @@ -module.exports={A:{A:{"1":"E F A B","2":"K D aC"},B:{"1":"0 1 2 3 4 5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 bC DC J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC dC eC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC"},E:{"1":"J FB K D E F A B C L M G fC JC gC hC iC jC KC 7B 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC"},F:{"1":"F B C G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t qC rC sC tC 7B YC uC 8B"},G:{"1":"E JC vC ZC wC xC yC zC 0C 1C 2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC"},H:{"1":"HD"},I:{"1":"DC J I ID JD KD LD ZC MD ND"},J:{"1":"D A"},K:{"1":"A B C H 7B YC 8B"},L:{"1":"I"},M:{"1":"6B"},N:{"1":"A B"},O:{"1":"9B"},P:{"1":"J u v w x y z OD PD QD RD SD KC TD UD VD WD XD AC BC CC YD"},Q:{"1":"ZD"},R:{"1":"aD"},S:{"1":"bD cD"}},B:2,C:"CSS Counters",D:true}; +module.exports={A:{A:{"1":"E F A B","2":"K D gC"},B:{"1":"5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 hC IC J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC jC kC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC"},E:{"1":"J LB K D E F A B C L M G lC OC mC nC oC pC PC CC DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC"},F:{"1":"0 1 2 3 4 F B C G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x xC yC zC 0C CC eC 1C DC"},G:{"1":"E OC 2C fC 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC"},H:{"1":"PD"},I:{"1":"IC J I QD RD SD TD fC UD VD"},J:{"1":"D A"},K:{"1":"A B C H CC eC DC"},L:{"1":"I"},M:{"1":"BC"},N:{"1":"A B"},O:{"1":"EC"},P:{"1":"0 1 2 3 4 J y z WD XD YD ZD aD PC bD cD dD eD fD FC GC HC gD"},Q:{"1":"hD"},R:{"1":"iD"},S:{"1":"jD kD"}},B:2,C:"CSS Counters",D:true}; diff --git a/node_modules/caniuse-lite/data/features/css-crisp-edges.js b/node_modules/caniuse-lite/data/features/css-crisp-edges.js index 92d5d4e64f..f0debe8671 100644 --- a/node_modules/caniuse-lite/data/features/css-crisp-edges.js +++ b/node_modules/caniuse-lite/data/features/css-crisp-edges.js @@ -1 +1 @@ -module.exports={A:{A:{"2":"K aC","2340":"D E F A B"},B:{"2":"C L M G N O P","1025":"0 1 2 3 4 5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC","2":"bC DC dC","513":"sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b","545":"J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB eC"},D:{"2":"J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB","1025":"0 1 2 3 4 5 6 7 8 9 WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC"},E:{"1":"A B C L M G KC 7B 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC","2":"J FB fC JC gC","164":"K","4644":"D E F hC iC jC"},F:{"2":"F B G N O P GB u v w x y z HB IB qC rC sC tC 7B YC","545":"C uC 8B","1025":"JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t"},G:{"1":"2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC","2":"JC vC ZC","4260":"wC xC","4644":"E yC zC 0C 1C"},H:{"2":"HD"},I:{"2":"DC J ID JD KD LD ZC MD ND","1025":"I"},J:{"2":"D","4260":"A"},K:{"2":"A B 7B YC","545":"C 8B","1025":"H"},L:{"1025":"I"},M:{"1":"6B"},N:{"2340":"A B"},O:{"1025":"9B"},P:{"1025":"J u v w x y z OD PD QD RD SD KC TD UD VD WD XD AC BC CC YD"},Q:{"1025":"ZD"},R:{"1025":"aD"},S:{"1":"cD","4097":"bD"}},B:4,C:"Crisp edges/pixelated images",D:true}; +module.exports={A:{A:{"2":"K gC","2340":"D E F A B"},B:{"2":"C L M G N O P","1025":"5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I"},C:{"1":"5 6 7 8 9 c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC","2":"hC IC jC","513":"xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b","545":"0 1 2 3 4 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB kC"},D:{"2":"0 1 2 3 4 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB","1025":"5 6 7 8 9 bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC"},E:{"1":"A B C L M G PC CC DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC","2":"J LB lC OC mC","164":"K","4644":"D E F nC oC pC"},F:{"2":"0 1 2 3 4 F B G N O P MB y z NB xC yC zC 0C CC eC","545":"C 1C DC","1025":"OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x"},G:{"1":"9C AD BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC","2":"OC 2C fC","4260":"3C 4C","4644":"E 5C 6C 7C 8C"},H:{"2":"PD"},I:{"2":"IC J QD RD SD TD fC UD VD","1025":"I"},J:{"2":"D","4260":"A"},K:{"2":"A B CC eC","545":"C DC","1025":"H"},L:{"1025":"I"},M:{"1":"BC"},N:{"2340":"A B"},O:{"1025":"EC"},P:{"1025":"0 1 2 3 4 J y z WD XD YD ZD aD PC bD cD dD eD fD FC GC HC gD"},Q:{"1025":"hD"},R:{"1025":"iD"},S:{"1":"kD","4097":"jD"}},B:4,C:"Crisp edges/pixelated images",D:true}; diff --git a/node_modules/caniuse-lite/data/features/css-cross-fade.js b/node_modules/caniuse-lite/data/features/css-cross-fade.js index 56b406c42c..c33882d3e6 100644 --- a/node_modules/caniuse-lite/data/features/css-cross-fade.js +++ b/node_modules/caniuse-lite/data/features/css-cross-fade.js @@ -1 +1 @@ -module.exports={A:{A:{"2":"K D E F A B aC"},B:{"2":"C L M G N O P","33":"0 1 2 3 4 5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I"},C:{"2":"0 1 2 3 4 5 6 7 8 9 bC DC J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC dC eC"},D:{"2":"J FB K D E F A B C L M G N","33":"0 1 2 3 4 5 6 7 8 9 O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC"},E:{"1":"A B C L M G KC 7B 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC","2":"J FB fC JC","33":"K D E F gC hC iC jC"},F:{"2":"F B C qC rC sC tC 7B YC uC 8B","33":"G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t"},G:{"1":"2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC","2":"JC vC ZC","33":"E wC xC yC zC 0C 1C"},H:{"2":"HD"},I:{"2":"DC J ID JD KD LD ZC","33":"I MD ND"},J:{"2":"D A"},K:{"2":"A B C 7B YC 8B","33":"H"},L:{"33":"I"},M:{"2":"6B"},N:{"2":"A B"},O:{"33":"9B"},P:{"33":"J u v w x y z OD PD QD RD SD KC TD UD VD WD XD AC BC CC YD"},Q:{"33":"ZD"},R:{"33":"aD"},S:{"2":"bD cD"}},B:4,C:"CSS Cross-Fade Function",D:true}; +module.exports={A:{A:{"2":"K D E F A B gC"},B:{"2":"C L M G N O P","33":"5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I"},C:{"2":"0 1 2 3 4 5 6 7 8 9 hC IC J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC jC kC"},D:{"2":"J LB K D E F A B C L M G N","33":"0 1 2 3 4 5 6 7 8 9 O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC"},E:{"1":"A B C L M G PC CC DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC","2":"J LB lC OC","33":"K D E F mC nC oC pC"},F:{"2":"F B C xC yC zC 0C CC eC 1C DC","33":"0 1 2 3 4 G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x"},G:{"1":"9C AD BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC","2":"OC 2C fC","33":"E 3C 4C 5C 6C 7C 8C"},H:{"2":"PD"},I:{"2":"IC J QD RD SD TD fC","33":"I UD VD"},J:{"2":"D A"},K:{"2":"A B C CC eC DC","33":"H"},L:{"33":"I"},M:{"2":"BC"},N:{"2":"A B"},O:{"33":"EC"},P:{"33":"0 1 2 3 4 J y z WD XD YD ZD aD PC bD cD dD eD fD FC GC HC gD"},Q:{"33":"hD"},R:{"33":"iD"},S:{"2":"jD kD"}},B:4,C:"CSS Cross-Fade Function",D:true}; diff --git a/node_modules/caniuse-lite/data/features/css-default-pseudo.js b/node_modules/caniuse-lite/data/features/css-default-pseudo.js index 683b32ab8f..cc4001fb27 100644 --- a/node_modules/caniuse-lite/data/features/css-default-pseudo.js +++ b/node_modules/caniuse-lite/data/features/css-default-pseudo.js @@ -1 +1 @@ -module.exports={A:{A:{"2":"K D E F A B aC"},B:{"1":"0 1 2 3 4 5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I","2":"C L M G N O P"},C:{"1":"0 1 2 3 4 5 6 7 8 9 J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC","16":"bC DC dC eC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC","16":"J FB K D E F A B C L M","132":"G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB"},E:{"1":"B C L M G KC 7B 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC","16":"J FB fC JC","132":"K D E F A gC hC iC jC"},F:{"1":"TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t","16":"F B qC rC sC tC 7B YC","132":"G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB","260":"C uC 8B"},G:{"1":"3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC","16":"JC vC ZC wC xC","132":"E yC zC 0C 1C 2C"},H:{"260":"HD"},I:{"1":"I","16":"DC ID JD KD","132":"J LD ZC MD ND"},J:{"16":"D","132":"A"},K:{"1":"H","16":"A B C 7B YC","260":"8B"},L:{"1":"I"},M:{"1":"6B"},N:{"2":"A B"},O:{"1":"9B"},P:{"1":"u v w x y z OD PD QD RD SD KC TD UD VD WD XD AC BC CC YD","132":"J"},Q:{"1":"ZD"},R:{"1":"aD"},S:{"1":"bD cD"}},B:5,C:":default CSS pseudo-class",D:true}; +module.exports={A:{A:{"2":"K D E F A B gC"},B:{"1":"5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I","2":"C L M G N O P"},C:{"1":"0 1 2 3 4 5 6 7 8 9 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC","16":"hC IC jC kC"},D:{"1":"5 6 7 8 9 lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC","16":"J LB K D E F A B C L M","132":"0 1 2 3 4 G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB"},E:{"1":"B C L M G PC CC DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC","16":"J LB lC OC","132":"K D E F A mC nC oC pC"},F:{"1":"YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x","16":"F B xC yC zC 0C CC eC","132":"0 1 2 3 4 G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB","260":"C 1C DC"},G:{"1":"AD BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC","16":"OC 2C fC 3C 4C","132":"E 5C 6C 7C 8C 9C"},H:{"260":"PD"},I:{"1":"I","16":"IC QD RD SD","132":"J TD fC UD VD"},J:{"16":"D","132":"A"},K:{"1":"H","16":"A B C CC eC","260":"DC"},L:{"1":"I"},M:{"1":"BC"},N:{"2":"A B"},O:{"1":"EC"},P:{"1":"0 1 2 3 4 y z WD XD YD ZD aD PC bD cD dD eD fD FC GC HC gD","132":"J"},Q:{"1":"hD"},R:{"1":"iD"},S:{"1":"jD kD"}},B:5,C:":default CSS pseudo-class",D:true}; diff --git a/node_modules/caniuse-lite/data/features/css-descendant-gtgt.js b/node_modules/caniuse-lite/data/features/css-descendant-gtgt.js index c8be5abefb..602c85f80a 100644 --- a/node_modules/caniuse-lite/data/features/css-descendant-gtgt.js +++ b/node_modules/caniuse-lite/data/features/css-descendant-gtgt.js @@ -1 +1 @@ -module.exports={A:{A:{"2":"K D E F A B aC"},B:{"2":"0 1 2 3 4 5 6 7 8 9 C L M G N O P H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I","16":"Q"},C:{"2":"0 1 2 3 4 5 6 7 8 9 bC DC J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC dC eC"},D:{"2":"0 1 2 3 4 5 6 7 8 9 J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC"},E:{"1":"B","2":"J FB K D E F A C L M G fC JC gC hC iC jC KC 7B 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC"},F:{"2":"F B C G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t qC rC sC tC 7B YC uC 8B"},G:{"2":"E JC vC ZC wC xC yC zC 0C 1C 2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC"},H:{"2":"HD"},I:{"2":"DC J I ID JD KD LD ZC MD ND"},J:{"2":"D A"},K:{"2":"A B C H 7B YC 8B"},L:{"2":"I"},M:{"2":"6B"},N:{"2":"A B"},O:{"2":"9B"},P:{"2":"J u v w x y z OD PD QD RD SD KC TD UD VD WD XD AC BC CC YD"},Q:{"2":"ZD"},R:{"2":"aD"},S:{"2":"bD cD"}},B:7,C:"Explicit descendant combinator >>",D:true}; +module.exports={A:{A:{"2":"K D E F A B gC"},B:{"2":"5 6 7 8 9 C L M G N O P H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I","16":"Q"},C:{"2":"0 1 2 3 4 5 6 7 8 9 hC IC J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC jC kC"},D:{"2":"0 1 2 3 4 5 6 7 8 9 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC"},E:{"1":"B","2":"J LB K D E F A C L M G lC OC mC nC oC pC PC CC DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC"},F:{"2":"0 1 2 3 4 F B C G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x xC yC zC 0C CC eC 1C DC"},G:{"2":"E OC 2C fC 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC"},H:{"2":"PD"},I:{"2":"IC J I QD RD SD TD fC UD VD"},J:{"2":"D A"},K:{"2":"A B C H CC eC DC"},L:{"2":"I"},M:{"2":"BC"},N:{"2":"A B"},O:{"2":"EC"},P:{"2":"0 1 2 3 4 J y z WD XD YD ZD aD PC bD cD dD eD fD FC GC HC gD"},Q:{"2":"hD"},R:{"2":"iD"},S:{"2":"jD kD"}},B:7,C:"Explicit descendant combinator >>",D:true}; diff --git a/node_modules/caniuse-lite/data/features/css-deviceadaptation.js b/node_modules/caniuse-lite/data/features/css-deviceadaptation.js index ca377c4860..765a284d8e 100644 --- a/node_modules/caniuse-lite/data/features/css-deviceadaptation.js +++ b/node_modules/caniuse-lite/data/features/css-deviceadaptation.js @@ -1 +1 @@ -module.exports={A:{A:{"2":"K D E F aC","164":"A B"},B:{"66":"0 1 2 3 4 5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I","164":"C L M G N O P"},C:{"2":"0 1 2 3 4 5 6 7 8 9 bC DC J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC dC eC"},D:{"2":"J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB","66":"0 1 2 3 4 5 6 7 8 9 KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC"},E:{"2":"J FB K D E F A B C L M G fC JC gC hC iC jC KC 7B 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC"},F:{"2":"F B C G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB qC rC sC tC 7B YC uC 8B","66":"VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t"},G:{"2":"E JC vC ZC wC xC yC zC 0C 1C 2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC"},H:{"292":"HD"},I:{"2":"DC J I ID JD KD LD ZC MD ND"},J:{"2":"D A"},K:{"2":"A H","292":"B C 7B YC 8B"},L:{"2":"I"},M:{"2":"6B"},N:{"164":"A B"},O:{"2":"9B"},P:{"2":"J u v w x y z OD PD QD RD SD KC TD UD VD WD XD AC BC CC YD"},Q:{"66":"ZD"},R:{"2":"aD"},S:{"2":"bD cD"}},B:5,C:"CSS Device Adaptation",D:true}; +module.exports={A:{A:{"2":"K D E F gC","164":"A B"},B:{"66":"5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I","164":"C L M G N O P"},C:{"2":"0 1 2 3 4 5 6 7 8 9 hC IC J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC jC kC"},D:{"2":"0 1 2 3 4 J LB K D E F A B C L M G N O P MB y z NB OB","66":"5 6 7 8 9 PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC"},E:{"2":"J LB K D E F A B C L M G lC OC mC nC oC pC PC CC DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC"},F:{"2":"0 1 2 3 4 F B C G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB xC yC zC 0C CC eC 1C DC","66":"aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x"},G:{"2":"E OC 2C fC 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC"},H:{"292":"PD"},I:{"2":"IC J I QD RD SD TD fC UD VD"},J:{"2":"D A"},K:{"2":"A H","292":"B C CC eC DC"},L:{"2":"I"},M:{"2":"BC"},N:{"164":"A B"},O:{"2":"EC"},P:{"2":"0 1 2 3 4 J y z WD XD YD ZD aD PC bD cD dD eD fD FC GC HC gD"},Q:{"66":"hD"},R:{"2":"iD"},S:{"2":"jD kD"}},B:5,C:"CSS Device Adaptation",D:true}; diff --git a/node_modules/caniuse-lite/data/features/css-dir-pseudo.js b/node_modules/caniuse-lite/data/features/css-dir-pseudo.js index ff11fd8420..df0eb06a6a 100644 --- a/node_modules/caniuse-lite/data/features/css-dir-pseudo.js +++ b/node_modules/caniuse-lite/data/features/css-dir-pseudo.js @@ -1 +1 @@ -module.exports={A:{A:{"2":"K D E F A B aC"},B:{"1":"9 AB BB CB DB EB I","2":"C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n","194":"0 1 2 3 4 5 6 7 8 o p q r s t"},C:{"1":"0 1 2 3 4 5 6 7 8 9 eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC","2":"bC DC J FB K D E F A B C L M G N dC eC","33":"O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB"},D:{"1":"9 AB BB CB DB EB I 6B HC IC","2":"J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z","194":"0 1 2 3 4 5 6 7 8 a b c d e f g h i j k l m n o p q r s t"},E:{"1":"QC RC oC BC SC TC UC VC WC XC CC pC","2":"J FB K D E F A B C L M G fC JC gC hC iC jC KC 7B 8B kC lC mC LC MC 9B nC AC NC OC PC"},F:{"1":"p q r s t","2":"F B C G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z qC rC sC tC 7B YC uC 8B","194":"a b c d e f g h i j k l m n o"},G:{"1":"QC RC GD BC SC TC UC VC WC XC CC","2":"E JC vC ZC wC xC yC zC 0C 1C 2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC"},H:{"2":"HD"},I:{"1":"I","2":"DC J ID JD KD LD ZC MD ND"},J:{"2":"D A"},K:{"1":"H","2":"A B C 7B YC 8B"},L:{"1":"I"},M:{"1":"6B"},N:{"2":"A B"},O:{"2":"9B"},P:{"1":"z","2":"J u v w x y OD PD QD RD SD KC TD UD VD WD XD AC BC CC YD"},Q:{"2":"ZD"},R:{"2":"aD"},S:{"1":"cD","33":"bD"}},B:5,C:":dir() CSS pseudo-class",D:true}; +module.exports={A:{A:{"2":"K D E F A B gC"},B:{"1":"AB BB CB DB EB FB GB HB IB JB KB I","2":"C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n","194":"5 6 7 8 9 o p q r s t u v w x"},C:{"1":"5 6 7 8 9 jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC","2":"hC IC J LB K D E F A B C L M G N jC kC","33":"0 1 2 3 4 O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB"},D:{"1":"AB BB CB DB EB FB GB HB IB JB KB I BC MC NC","2":"0 1 2 3 4 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z","194":"5 6 7 8 9 a b c d e f g h i j k l m n o p q r s t u v w x"},E:{"1":"VC WC uC GC XC YC ZC aC bC vC HC cC dC wC","2":"J LB K D E F A B C L M G lC OC mC nC oC pC PC CC DC qC rC sC QC RC EC tC FC SC TC UC"},F:{"1":"p q r s t u v w x","2":"0 1 2 3 4 F B C G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z xC yC zC 0C CC eC 1C DC","194":"a b c d e f g h i j k l m n o"},G:{"1":"VC WC ND GC XC YC ZC aC bC OD HC cC dC","2":"E OC 2C fC 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC"},H:{"2":"PD"},I:{"1":"I","2":"IC J QD RD SD TD fC UD VD"},J:{"2":"D A"},K:{"1":"H","2":"A B C CC eC DC"},L:{"1":"I"},M:{"1":"BC"},N:{"2":"A B"},O:{"2":"EC"},P:{"1":"3 4","2":"0 1 2 J y z WD XD YD ZD aD PC bD cD dD eD fD FC GC HC gD"},Q:{"2":"hD"},R:{"2":"iD"},S:{"1":"kD","33":"jD"}},B:5,C:":dir() CSS pseudo-class",D:true}; diff --git a/node_modules/caniuse-lite/data/features/css-display-contents.js b/node_modules/caniuse-lite/data/features/css-display-contents.js index 89a8eea78e..430981a77b 100644 --- a/node_modules/caniuse-lite/data/features/css-display-contents.js +++ b/node_modules/caniuse-lite/data/features/css-display-contents.js @@ -1 +1 @@ -module.exports={A:{A:{"2":"K D E F A B aC"},B:{"2":"C L M G N O P","132":"Q H R S T U V W X","260":"0 1 2 3 4 5 6 7 8 9 Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I"},C:{"2":"bC DC J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB dC eC","132":"SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC","260":"0 1 2 3 4 5 6 7 8 9 pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC"},D:{"2":"J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB","132":"sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X","194":"nB EC oB FC pB qB rB","260":"0 1 2 3 4 5 6 7 8 9 Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC"},E:{"2":"J FB K D E F A B fC JC gC hC iC jC KC","132":"C L M G 7B 8B kC lC mC LC MC 9B nC","260":"BC SC TC UC VC WC XC CC pC","772":"AC NC OC PC QC RC oC"},F:{"2":"F B C G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB qC rC sC tC 7B YC uC 8B","132":"hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B","260":"3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t"},G:{"1":"BC SC TC UC VC WC XC CC","2":"E JC vC ZC wC xC yC zC 0C 1C 2C 3C 4C","132":"5C 6C 7C 8C 9C AD","260":"BD CD DD ED LC MC 9B FD","516":"NC OC PC QC RC GD","772":"AC"},H:{"2":"HD"},I:{"2":"DC J ID JD KD LD ZC MD ND","260":"I"},J:{"2":"D A"},K:{"2":"A B C 7B YC 8B","260":"H"},L:{"260":"I"},M:{"260":"6B"},N:{"2":"A B"},O:{"132":"9B"},P:{"2":"J OD PD QD RD","132":"SD KC TD UD VD WD","260":"u v w x y z XD AC BC CC YD"},Q:{"132":"ZD"},R:{"260":"aD"},S:{"132":"bD","260":"cD"}},B:4,C:"CSS display: contents",D:true}; +module.exports={A:{A:{"2":"K D E F A B gC"},B:{"2":"C L M G N O P","132":"Q H R S T U V W X","260":"5 6 7 8 9 Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I"},C:{"2":"0 1 2 3 4 hC IC J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB jC kC","132":"XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC","260":"5 6 7 8 9 uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC"},D:{"2":"0 1 2 3 4 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB","132":"xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X","194":"sB JC tB KC uB vB wB","260":"5 6 7 8 9 Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC"},E:{"2":"J LB K D E F A B lC OC mC nC oC pC PC","132":"C L M G CC DC qC rC sC QC RC EC tC","260":"GC XC YC ZC aC bC vC HC cC dC wC","772":"FC SC TC UC VC WC uC"},F:{"2":"0 1 2 3 4 F B C G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB xC yC zC 0C CC eC 1C DC","132":"mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B","260":"8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x"},G:{"1":"GC XC YC ZC aC bC OD HC cC dC","2":"E OC 2C fC 3C 4C 5C 6C 7C 8C 9C AD BD","132":"CD DD ED FD GD HD","260":"ID JD KD LD QC RC EC MD","516":"SC TC UC VC WC ND","772":"FC"},H:{"2":"PD"},I:{"2":"IC J QD RD SD TD fC UD VD","260":"I"},J:{"2":"D A"},K:{"2":"A B C CC eC DC","260":"H"},L:{"260":"I"},M:{"260":"BC"},N:{"2":"A B"},O:{"132":"EC"},P:{"2":"J WD XD YD ZD","132":"aD PC bD cD dD eD","260":"0 1 2 3 4 y z fD FC GC HC gD"},Q:{"132":"hD"},R:{"260":"iD"},S:{"132":"jD","260":"kD"}},B:4,C:"CSS display: contents",D:true}; diff --git a/node_modules/caniuse-lite/data/features/css-element-function.js b/node_modules/caniuse-lite/data/features/css-element-function.js index 9c08772264..f28087f96d 100644 --- a/node_modules/caniuse-lite/data/features/css-element-function.js +++ b/node_modules/caniuse-lite/data/features/css-element-function.js @@ -1 +1 @@ -module.exports={A:{A:{"2":"K D E F A B aC"},B:{"2":"0 1 2 3 4 5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I"},C:{"33":"0 1 2 3 4 5 6 7 8 9 J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC","164":"bC DC dC eC"},D:{"2":"0 1 2 3 4 5 6 7 8 9 J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC"},E:{"2":"J FB K D E F A B C L M G fC JC gC hC iC jC KC 7B 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC"},F:{"2":"F B C G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t qC rC sC tC 7B YC uC 8B"},G:{"2":"E JC vC ZC wC xC yC zC 0C 1C 2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC"},H:{"2":"HD"},I:{"2":"DC J I ID JD KD LD ZC MD ND"},J:{"2":"D A"},K:{"2":"A B C H 7B YC 8B"},L:{"2":"I"},M:{"33":"6B"},N:{"2":"A B"},O:{"2":"9B"},P:{"2":"J u v w x y z OD PD QD RD SD KC TD UD VD WD XD AC BC CC YD"},Q:{"2":"ZD"},R:{"2":"aD"},S:{"33":"bD cD"}},B:5,C:"CSS element() function",D:true}; +module.exports={A:{A:{"2":"K D E F A B gC"},B:{"2":"5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I"},C:{"33":"0 1 2 3 4 5 6 7 8 9 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC","164":"hC IC jC kC"},D:{"2":"0 1 2 3 4 5 6 7 8 9 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC"},E:{"2":"J LB K D E F A B C L M G lC OC mC nC oC pC PC CC DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC"},F:{"2":"0 1 2 3 4 F B C G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x xC yC zC 0C CC eC 1C DC"},G:{"2":"E OC 2C fC 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC"},H:{"2":"PD"},I:{"2":"IC J I QD RD SD TD fC UD VD"},J:{"2":"D A"},K:{"2":"A B C H CC eC DC"},L:{"2":"I"},M:{"33":"BC"},N:{"2":"A B"},O:{"2":"EC"},P:{"2":"0 1 2 3 4 J y z WD XD YD ZD aD PC bD cD dD eD fD FC GC HC gD"},Q:{"2":"hD"},R:{"2":"iD"},S:{"33":"jD kD"}},B:5,C:"CSS element() function",D:true}; diff --git a/node_modules/caniuse-lite/data/features/css-env-function.js b/node_modules/caniuse-lite/data/features/css-env-function.js index b52522532d..6811188fdc 100644 --- a/node_modules/caniuse-lite/data/features/css-env-function.js +++ b/node_modules/caniuse-lite/data/features/css-env-function.js @@ -1 +1 @@ -module.exports={A:{A:{"2":"K D E F A B aC"},B:{"1":"0 1 2 3 4 5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I","2":"C L M G N O P"},C:{"1":"0 1 2 3 4 5 6 7 8 9 sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC","2":"bC DC J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB dC eC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC","2":"J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB"},E:{"1":"C L M G 7B 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC","2":"J FB K D E F A fC JC gC hC iC jC KC","132":"B"},F:{"1":"lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t","2":"F B C G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB qC rC sC tC 7B YC uC 8B"},G:{"1":"5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC","2":"E JC vC ZC wC xC yC zC 0C 1C 2C 3C","132":"4C"},H:{"2":"HD"},I:{"1":"I","2":"DC J ID JD KD LD ZC MD ND"},J:{"2":"D A"},K:{"1":"H","2":"A B C 7B YC 8B"},L:{"1":"I"},M:{"1":"6B"},N:{"2":"A B"},O:{"1":"9B"},P:{"1":"u v w x y z KC TD UD VD WD XD AC BC CC YD","2":"J OD PD QD RD SD"},Q:{"1":"ZD"},R:{"1":"aD"},S:{"1":"cD","2":"bD"}},B:7,C:"CSS Environment Variables env()",D:true}; +module.exports={A:{A:{"2":"K D E F A B gC"},B:{"1":"5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I","2":"C L M G N O P"},C:{"1":"5 6 7 8 9 xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC","2":"0 1 2 3 4 hC IC J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB jC kC"},D:{"1":"5 6 7 8 9 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC","2":"0 1 2 3 4 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B"},E:{"1":"C L M G CC DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC","2":"J LB K D E F A lC OC mC nC oC pC PC","132":"B"},F:{"1":"qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x","2":"0 1 2 3 4 F B C G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB xC yC zC 0C CC eC 1C DC"},G:{"1":"CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC","2":"E OC 2C fC 3C 4C 5C 6C 7C 8C 9C AD","132":"BD"},H:{"2":"PD"},I:{"1":"I","2":"IC J QD RD SD TD fC UD VD"},J:{"2":"D A"},K:{"1":"H","2":"A B C CC eC DC"},L:{"1":"I"},M:{"1":"BC"},N:{"2":"A B"},O:{"1":"EC"},P:{"1":"0 1 2 3 4 y z PC bD cD dD eD fD FC GC HC gD","2":"J WD XD YD ZD aD"},Q:{"1":"hD"},R:{"1":"iD"},S:{"1":"kD","2":"jD"}},B:7,C:"CSS Environment Variables env()",D:true}; diff --git a/node_modules/caniuse-lite/data/features/css-exclusions.js b/node_modules/caniuse-lite/data/features/css-exclusions.js index 889925b92d..09ee409504 100644 --- a/node_modules/caniuse-lite/data/features/css-exclusions.js +++ b/node_modules/caniuse-lite/data/features/css-exclusions.js @@ -1 +1 @@ -module.exports={A:{A:{"2":"K D E F aC","33":"A B"},B:{"2":"0 1 2 3 4 5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I","33":"C L M G N O P"},C:{"2":"0 1 2 3 4 5 6 7 8 9 bC DC J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC dC eC"},D:{"2":"0 1 2 3 4 5 6 7 8 9 J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC"},E:{"2":"J FB K D E F A B C L M G fC JC gC hC iC jC KC 7B 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC"},F:{"2":"F B C G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t qC rC sC tC 7B YC uC 8B"},G:{"2":"E JC vC ZC wC xC yC zC 0C 1C 2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC"},H:{"2":"HD"},I:{"2":"DC J I ID JD KD LD ZC MD ND"},J:{"2":"D A"},K:{"2":"A B C H 7B YC 8B"},L:{"2":"I"},M:{"2":"6B"},N:{"33":"A B"},O:{"2":"9B"},P:{"2":"J u v w x y z OD PD QD RD SD KC TD UD VD WD XD AC BC CC YD"},Q:{"2":"ZD"},R:{"2":"aD"},S:{"2":"bD cD"}},B:5,C:"CSS Exclusions Level 1",D:true}; +module.exports={A:{A:{"2":"K D E F gC","33":"A B"},B:{"2":"5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I","33":"C L M G N O P"},C:{"2":"0 1 2 3 4 5 6 7 8 9 hC IC J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC jC kC"},D:{"2":"0 1 2 3 4 5 6 7 8 9 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC"},E:{"2":"J LB K D E F A B C L M G lC OC mC nC oC pC PC CC DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC"},F:{"2":"0 1 2 3 4 F B C G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x xC yC zC 0C CC eC 1C DC"},G:{"2":"E OC 2C fC 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC"},H:{"2":"PD"},I:{"2":"IC J I QD RD SD TD fC UD VD"},J:{"2":"D A"},K:{"2":"A B C H CC eC DC"},L:{"2":"I"},M:{"2":"BC"},N:{"33":"A B"},O:{"2":"EC"},P:{"2":"0 1 2 3 4 J y z WD XD YD ZD aD PC bD cD dD eD fD FC GC HC gD"},Q:{"2":"hD"},R:{"2":"iD"},S:{"2":"jD kD"}},B:5,C:"CSS Exclusions Level 1",D:true}; diff --git a/node_modules/caniuse-lite/data/features/css-featurequeries.js b/node_modules/caniuse-lite/data/features/css-featurequeries.js index 43b1983c3c..073bbe5c97 100644 --- a/node_modules/caniuse-lite/data/features/css-featurequeries.js +++ b/node_modules/caniuse-lite/data/features/css-featurequeries.js @@ -1 +1 @@ -module.exports={A:{A:{"2":"K D E F A B aC"},B:{"1":"0 1 2 3 4 5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC","2":"bC DC J FB K D E F A B C L M G N O P GB u v dC eC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC","2":"J FB K D E F A B C L M G N O P GB u v w x y z HB IB"},E:{"1":"F A B C L M G jC KC 7B 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC","2":"J FB K D E fC JC gC hC iC"},F:{"1":"G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t 8B","2":"F B C qC rC sC tC 7B YC uC"},G:{"1":"0C 1C 2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC","2":"E JC vC ZC wC xC yC zC"},H:{"1":"HD"},I:{"1":"I MD ND","2":"DC J ID JD KD LD ZC"},J:{"2":"D A"},K:{"1":"H","2":"A B C 7B YC 8B"},L:{"1":"I"},M:{"1":"6B"},N:{"2":"A B"},O:{"1":"9B"},P:{"1":"J u v w x y z OD PD QD RD SD KC TD UD VD WD XD AC BC CC YD"},Q:{"1":"ZD"},R:{"1":"aD"},S:{"1":"bD cD"}},B:4,C:"CSS Feature Queries",D:true}; +module.exports={A:{A:{"2":"K D E F A B gC"},B:{"1":"5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC","2":"hC IC J LB K D E F A B C L M G N O P MB y z jC kC"},D:{"1":"5 6 7 8 9 OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC","2":"0 1 2 3 4 J LB K D E F A B C L M G N O P MB y z NB"},E:{"1":"F A B C L M G pC PC CC DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC","2":"J LB K D E lC OC mC nC oC"},F:{"1":"0 1 2 3 4 G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x DC","2":"F B C xC yC zC 0C CC eC 1C"},G:{"1":"7C 8C 9C AD BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC","2":"E OC 2C fC 3C 4C 5C 6C"},H:{"1":"PD"},I:{"1":"I UD VD","2":"IC J QD RD SD TD fC"},J:{"2":"D A"},K:{"1":"H","2":"A B C CC eC DC"},L:{"1":"I"},M:{"1":"BC"},N:{"2":"A B"},O:{"1":"EC"},P:{"1":"0 1 2 3 4 J y z WD XD YD ZD aD PC bD cD dD eD fD FC GC HC gD"},Q:{"1":"hD"},R:{"1":"iD"},S:{"1":"jD kD"}},B:4,C:"CSS Feature Queries",D:true}; diff --git a/node_modules/caniuse-lite/data/features/css-file-selector-button.js b/node_modules/caniuse-lite/data/features/css-file-selector-button.js index ce48daf8b7..d2e9a016df 100644 --- a/node_modules/caniuse-lite/data/features/css-file-selector-button.js +++ b/node_modules/caniuse-lite/data/features/css-file-selector-button.js @@ -1 +1 @@ -module.exports={A:{D:{"1":"0 1 2 3 4 5 6 7 8 9 Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC","33":"J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X"},L:{"1":"I"},B:{"1":"0 1 2 3 4 5 6 7 8 9 Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I","33":"C L M G N O P Q H R S T U V W X"},C:{"1":"0 1 2 3 4 5 6 7 8 9 GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC","2":"bC DC J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R dC eC"},M:{"1":"6B"},A:{"2":"K D E F aC","33":"A B"},F:{"1":"2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t","2":"F B C qC rC sC tC 7B YC uC 8B","33":"G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B"},K:{"1":"H","2":"A B C 7B YC 8B"},E:{"1":"G lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC","2":"pC","33":"J FB K D E F A B C L M fC JC gC hC iC jC KC 7B 8B kC"},G:{"1":"DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC","33":"E JC vC ZC wC xC yC zC 0C 1C 2C 3C 4C 5C 6C 7C 8C 9C AD BD CD"},P:{"1":"u v w x y z XD AC BC CC YD","33":"J OD PD QD RD SD KC TD UD VD WD"},I:{"1":"I","2":"DC J ID JD KD LD ZC","33":"MD ND"}},B:6,C:"::file-selector-button CSS pseudo-element",D:undefined}; +module.exports={A:{D:{"1":"5 6 7 8 9 Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC","33":"0 1 2 3 4 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X"},L:{"1":"I"},B:{"1":"5 6 7 8 9 Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I","33":"C L M G N O P Q H R S T U V W X"},C:{"1":"5 6 7 8 9 LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC","2":"0 1 2 3 4 hC IC J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R jC kC"},M:{"1":"BC"},A:{"2":"K D E F gC","33":"A B"},F:{"1":"7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x","2":"F B C xC yC zC 0C CC eC 1C DC","33":"0 1 2 3 4 G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B"},K:{"1":"H","2":"A B C CC eC DC"},E:{"1":"G rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC","2":"wC","33":"J LB K D E F A B C L M lC OC mC nC oC pC PC CC DC qC"},G:{"1":"KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC","33":"E OC 2C fC 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED FD GD HD ID JD"},P:{"1":"0 1 2 3 4 y z fD FC GC HC gD","33":"J WD XD YD ZD aD PC bD cD dD eD"},I:{"1":"I","2":"IC J QD RD SD TD fC","33":"UD VD"}},B:6,C:"::file-selector-button CSS pseudo-element",D:undefined}; diff --git a/node_modules/caniuse-lite/data/features/css-filter-function.js b/node_modules/caniuse-lite/data/features/css-filter-function.js index 0c2b917095..2ea074df1a 100644 --- a/node_modules/caniuse-lite/data/features/css-filter-function.js +++ b/node_modules/caniuse-lite/data/features/css-filter-function.js @@ -1 +1 @@ -module.exports={A:{A:{"2":"K D E F A B aC"},B:{"2":"0 1 2 3 4 5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I"},C:{"2":"0 1 2 3 4 5 6 7 8 9 bC DC J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC dC eC"},D:{"2":"0 1 2 3 4 5 6 7 8 9 J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC"},E:{"1":"A B C L M G jC KC 7B 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC","2":"J FB K D E fC JC gC hC iC","33":"F"},F:{"2":"F B C G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t qC rC sC tC 7B YC uC 8B"},G:{"1":"2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC","2":"E JC vC ZC wC xC yC zC","33":"0C 1C"},H:{"2":"HD"},I:{"2":"DC J I ID JD KD LD ZC MD ND"},J:{"2":"D A"},K:{"2":"A B C H 7B YC 8B"},L:{"2":"I"},M:{"2":"6B"},N:{"2":"A B"},O:{"2":"9B"},P:{"2":"J u v w x y z OD PD QD RD SD KC TD UD VD WD XD AC BC CC YD"},Q:{"2":"ZD"},R:{"2":"aD"},S:{"2":"bD cD"}},B:5,C:"CSS filter() function",D:true}; +module.exports={A:{A:{"2":"K D E F A B gC"},B:{"2":"5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I"},C:{"2":"0 1 2 3 4 5 6 7 8 9 hC IC J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC jC kC"},D:{"2":"0 1 2 3 4 5 6 7 8 9 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC"},E:{"1":"A B C L M G pC PC CC DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC","2":"J LB K D E lC OC mC nC oC","33":"F"},F:{"2":"0 1 2 3 4 F B C G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x xC yC zC 0C CC eC 1C DC"},G:{"1":"9C AD BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC","2":"E OC 2C fC 3C 4C 5C 6C","33":"7C 8C"},H:{"2":"PD"},I:{"2":"IC J I QD RD SD TD fC UD VD"},J:{"2":"D A"},K:{"2":"A B C H CC eC DC"},L:{"2":"I"},M:{"2":"BC"},N:{"2":"A B"},O:{"2":"EC"},P:{"2":"0 1 2 3 4 J y z WD XD YD ZD aD PC bD cD dD eD fD FC GC HC gD"},Q:{"2":"hD"},R:{"2":"iD"},S:{"2":"jD kD"}},B:5,C:"CSS filter() function",D:true}; diff --git a/node_modules/caniuse-lite/data/features/css-filters.js b/node_modules/caniuse-lite/data/features/css-filters.js index 9fdc2f053a..345f3d4391 100644 --- a/node_modules/caniuse-lite/data/features/css-filters.js +++ b/node_modules/caniuse-lite/data/features/css-filters.js @@ -1 +1 @@ -module.exports={A:{A:{"2":"K D E F A B aC"},B:{"1":"0 1 2 3 4 5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I","1028":"L M G N O P","1346":"C"},C:{"1":"0 1 2 3 4 5 6 7 8 9 QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC","2":"bC DC dC","196":"PB","516":"J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB eC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC","2":"J FB K D E F A B C L M G N O","33":"P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB"},E:{"1":"A B C L M G jC KC 7B 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC","2":"J FB fC JC gC","33":"K D E F hC iC"},F:{"1":"VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t","2":"F B C qC rC sC tC 7B YC uC 8B","33":"G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB"},G:{"1":"1C 2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC","2":"JC vC ZC wC","33":"E xC yC zC 0C"},H:{"2":"HD"},I:{"1":"I","2":"DC J ID JD KD LD ZC","33":"MD ND"},J:{"2":"D","33":"A"},K:{"1":"H","2":"A B C 7B YC 8B"},L:{"1":"I"},M:{"1":"6B"},N:{"2":"A B"},O:{"1":"9B"},P:{"1":"u v w x y z QD RD SD KC TD UD VD WD XD AC BC CC YD","33":"J OD PD"},Q:{"1":"ZD"},R:{"1":"aD"},S:{"1":"bD cD"}},B:5,C:"CSS Filter Effects",D:true}; +module.exports={A:{A:{"2":"K D E F A B gC"},B:{"1":"5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I","1028":"L M G N O P","1346":"C"},C:{"1":"5 6 7 8 9 VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC","2":"hC IC jC","196":"UB","516":"0 1 2 3 4 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB kC"},D:{"1":"5 6 7 8 9 nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC","2":"J LB K D E F A B C L M G N O","33":"0 1 2 3 4 P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB"},E:{"1":"A B C L M G pC PC CC DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC","2":"J LB lC OC mC","33":"K D E F nC oC"},F:{"1":"aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x","2":"F B C xC yC zC 0C CC eC 1C DC","33":"0 1 2 3 4 G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB"},G:{"1":"8C 9C AD BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC","2":"OC 2C fC 3C","33":"E 4C 5C 6C 7C"},H:{"2":"PD"},I:{"1":"I","2":"IC J QD RD SD TD fC","33":"UD VD"},J:{"2":"D","33":"A"},K:{"1":"H","2":"A B C CC eC DC"},L:{"1":"I"},M:{"1":"BC"},N:{"2":"A B"},O:{"1":"EC"},P:{"1":"0 1 2 3 4 y z YD ZD aD PC bD cD dD eD fD FC GC HC gD","33":"J WD XD"},Q:{"1":"hD"},R:{"1":"iD"},S:{"1":"jD kD"}},B:5,C:"CSS Filter Effects",D:true}; diff --git a/node_modules/caniuse-lite/data/features/css-first-letter.js b/node_modules/caniuse-lite/data/features/css-first-letter.js index 6ad1d52ff9..d79518ac8a 100644 --- a/node_modules/caniuse-lite/data/features/css-first-letter.js +++ b/node_modules/caniuse-lite/data/features/css-first-letter.js @@ -1 +1 @@ -module.exports={A:{A:{"1":"F A B","16":"aC","516":"E","1540":"K D"},B:{"1":"0 1 2 3 4 5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC dC eC","132":"DC","260":"bC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC","16":"FB K D E","132":"J"},E:{"1":"K D E F A B C L M G gC hC iC jC KC 7B 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC","16":"FB fC","132":"J JC"},F:{"1":"C G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t uC 8B","16":"F qC","260":"B rC sC tC 7B YC"},G:{"1":"E wC xC yC zC 0C 1C 2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC","16":"JC vC ZC"},H:{"1":"HD"},I:{"1":"DC J I LD ZC MD ND","16":"ID JD","132":"KD"},J:{"1":"D A"},K:{"1":"C H 8B","260":"A B 7B YC"},L:{"1":"I"},M:{"1":"6B"},N:{"1":"A B"},O:{"1":"9B"},P:{"1":"J u v w x y z OD PD QD RD SD KC TD UD VD WD XD AC BC CC YD"},Q:{"1":"ZD"},R:{"1":"aD"},S:{"1":"bD cD"}},B:2,C:"::first-letter CSS pseudo-element selector",D:true}; +module.exports={A:{A:{"1":"F A B","16":"gC","516":"E","1540":"K D"},B:{"1":"5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC jC kC","132":"IC","260":"hC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC","16":"LB K D E","132":"J"},E:{"1":"K D E F A B C L M G mC nC oC pC PC CC DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC","16":"LB lC","132":"J OC"},F:{"1":"0 1 2 3 4 C G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x 1C DC","16":"F xC","260":"B yC zC 0C CC eC"},G:{"1":"E 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC","16":"OC 2C fC"},H:{"1":"PD"},I:{"1":"IC J I TD fC UD VD","16":"QD RD","132":"SD"},J:{"1":"D A"},K:{"1":"C H DC","260":"A B CC eC"},L:{"1":"I"},M:{"1":"BC"},N:{"1":"A B"},O:{"1":"EC"},P:{"1":"0 1 2 3 4 J y z WD XD YD ZD aD PC bD cD dD eD fD FC GC HC gD"},Q:{"1":"hD"},R:{"1":"iD"},S:{"1":"jD kD"}},B:2,C:"::first-letter CSS pseudo-element selector",D:true}; diff --git a/node_modules/caniuse-lite/data/features/css-first-line.js b/node_modules/caniuse-lite/data/features/css-first-line.js index fcff9082b2..c197db3fa3 100644 --- a/node_modules/caniuse-lite/data/features/css-first-line.js +++ b/node_modules/caniuse-lite/data/features/css-first-line.js @@ -1 +1 @@ -module.exports={A:{A:{"1":"F A B","132":"K D E aC"},B:{"1":"0 1 2 3 4 5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 bC DC J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC dC eC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC"},E:{"1":"J FB K D E F A B C L M G fC JC gC hC iC jC KC 7B 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC"},F:{"1":"F B C G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t qC rC sC tC 7B YC uC 8B"},G:{"1":"E JC vC ZC wC xC yC zC 0C 1C 2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC"},H:{"1":"HD"},I:{"1":"DC J I ID JD KD LD ZC MD ND"},J:{"1":"D A"},K:{"1":"A B C H 7B YC 8B"},L:{"1":"I"},M:{"1":"6B"},N:{"1":"A B"},O:{"1":"9B"},P:{"1":"J u v w x y z OD PD QD RD SD KC TD UD VD WD XD AC BC CC YD"},Q:{"1":"ZD"},R:{"1":"aD"},S:{"1":"bD cD"}},B:2,C:"CSS first-line pseudo-element",D:true}; +module.exports={A:{A:{"1":"F A B","132":"K D E gC"},B:{"1":"5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 hC IC J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC jC kC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC"},E:{"1":"J LB K D E F A B C L M G lC OC mC nC oC pC PC CC DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC"},F:{"1":"0 1 2 3 4 F B C G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x xC yC zC 0C CC eC 1C DC"},G:{"1":"E OC 2C fC 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC"},H:{"1":"PD"},I:{"1":"IC J I QD RD SD TD fC UD VD"},J:{"1":"D A"},K:{"1":"A B C H CC eC DC"},L:{"1":"I"},M:{"1":"BC"},N:{"1":"A B"},O:{"1":"EC"},P:{"1":"0 1 2 3 4 J y z WD XD YD ZD aD PC bD cD dD eD fD FC GC HC gD"},Q:{"1":"hD"},R:{"1":"iD"},S:{"1":"jD kD"}},B:2,C:"CSS first-line pseudo-element",D:true}; diff --git a/node_modules/caniuse-lite/data/features/css-fixed.js b/node_modules/caniuse-lite/data/features/css-fixed.js index 9251493d9c..595d72cb4b 100644 --- a/node_modules/caniuse-lite/data/features/css-fixed.js +++ b/node_modules/caniuse-lite/data/features/css-fixed.js @@ -1 +1 @@ -module.exports={A:{A:{"1":"D E F A B","2":"aC","8":"K"},B:{"1":"0 1 2 3 4 5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 bC DC J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC dC eC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC"},E:{"1":"J FB K D E F A B C L M G fC JC gC hC iC KC 7B 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC","1025":"jC"},F:{"1":"F B C G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t qC rC sC tC 7B YC uC 8B"},G:{"1":"E zC 0C 1C 2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC","2":"JC vC ZC","132":"wC xC yC"},H:{"2":"HD"},I:{"1":"DC I MD ND","260":"ID JD KD","513":"J LD ZC"},J:{"1":"D A"},K:{"1":"A B C H 7B YC 8B"},L:{"1":"I"},M:{"1":"6B"},N:{"1":"A B"},O:{"1":"9B"},P:{"1":"J u v w x y z OD PD QD RD SD KC TD UD VD WD XD AC BC CC YD"},Q:{"1":"ZD"},R:{"1":"aD"},S:{"1":"bD cD"}},B:2,C:"CSS position:fixed",D:true}; +module.exports={A:{A:{"1":"D E F A B","2":"gC","8":"K"},B:{"1":"5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 hC IC J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC jC kC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC"},E:{"1":"J LB K D E F A B C L M G lC OC mC nC oC PC CC DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC","1025":"pC"},F:{"1":"0 1 2 3 4 F B C G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x xC yC zC 0C CC eC 1C DC"},G:{"1":"E 6C 7C 8C 9C AD BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC","2":"OC 2C fC","132":"3C 4C 5C"},H:{"2":"PD"},I:{"1":"IC I UD VD","260":"QD RD SD","513":"J TD fC"},J:{"1":"D A"},K:{"1":"A B C H CC eC DC"},L:{"1":"I"},M:{"1":"BC"},N:{"1":"A B"},O:{"1":"EC"},P:{"1":"0 1 2 3 4 J y z WD XD YD ZD aD PC bD cD dD eD fD FC GC HC gD"},Q:{"1":"hD"},R:{"1":"iD"},S:{"1":"jD kD"}},B:2,C:"CSS position:fixed",D:true}; diff --git a/node_modules/caniuse-lite/data/features/css-focus-visible.js b/node_modules/caniuse-lite/data/features/css-focus-visible.js index 2b6523fc53..6249f8384e 100644 --- a/node_modules/caniuse-lite/data/features/css-focus-visible.js +++ b/node_modules/caniuse-lite/data/features/css-focus-visible.js @@ -1 +1 @@ -module.exports={A:{A:{"2":"K D E F A B aC"},B:{"1":"0 1 2 3 4 5 6 7 8 9 V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I","2":"C L M G N O P","328":"Q H R S T U"},C:{"1":"0 1 2 3 4 5 6 7 8 9 U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC","2":"bC DC dC eC","161":"J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T"},D:{"1":"0 1 2 3 4 5 6 7 8 9 V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC","2":"J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB","328":"uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U"},E:{"1":"MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC","2":"J FB K D E F A B C L M fC JC gC hC iC jC KC 7B 8B kC lC","578":"G mC LC"},F:{"1":"zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t","2":"F B C G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB qC rC sC tC 7B YC uC 8B","328":"tB uB vB wB xB yB"},G:{"1":"MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC","2":"E JC vC ZC wC xC yC zC 0C 1C 2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD","578":"ED LC"},H:{"2":"HD"},I:{"1":"I","2":"DC J ID JD KD LD ZC MD ND"},J:{"2":"D A"},K:{"1":"H","2":"A B C 7B YC 8B"},L:{"1":"I"},M:{"1":"6B"},N:{"2":"A B"},O:{"2":"9B"},P:{"1":"u v w x y z WD XD AC BC CC YD","2":"J OD PD QD RD SD KC TD UD VD"},Q:{"2":"ZD"},R:{"1":"aD"},S:{"161":"bD cD"}},B:5,C:":focus-visible CSS pseudo-class",D:true}; +module.exports={A:{A:{"2":"K D E F A B gC"},B:{"1":"5 6 7 8 9 V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I","2":"C L M G N O P","328":"Q H R S T U"},C:{"1":"5 6 7 8 9 U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC","2":"hC IC jC kC","161":"0 1 2 3 4 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T"},D:{"1":"5 6 7 8 9 V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC","2":"0 1 2 3 4 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB","328":"zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U"},E:{"1":"RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC","2":"J LB K D E F A B C L M lC OC mC nC oC pC PC CC DC qC rC","578":"G sC QC"},F:{"1":"4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x","2":"0 1 2 3 4 F B C G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB xC yC zC 0C CC eC 1C DC","328":"yB zB 0B 1B 2B 3B"},G:{"1":"RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC","2":"E OC 2C fC 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED FD GD HD ID JD KD","578":"LD QC"},H:{"2":"PD"},I:{"1":"I","2":"IC J QD RD SD TD fC UD VD"},J:{"2":"D A"},K:{"1":"H","2":"A B C CC eC DC"},L:{"1":"I"},M:{"1":"BC"},N:{"2":"A B"},O:{"2":"EC"},P:{"1":"0 1 2 3 4 y z eD fD FC GC HC gD","2":"J WD XD YD ZD aD PC bD cD dD"},Q:{"2":"hD"},R:{"1":"iD"},S:{"161":"jD kD"}},B:5,C:":focus-visible CSS pseudo-class",D:true}; diff --git a/node_modules/caniuse-lite/data/features/css-focus-within.js b/node_modules/caniuse-lite/data/features/css-focus-within.js index 93b1481475..e4bb267e79 100644 --- a/node_modules/caniuse-lite/data/features/css-focus-within.js +++ b/node_modules/caniuse-lite/data/features/css-focus-within.js @@ -1 +1 @@ -module.exports={A:{A:{"2":"K D E F A B aC"},B:{"1":"0 1 2 3 4 5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I","2":"C L M G N O P"},C:{"1":"0 1 2 3 4 5 6 7 8 9 hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC","2":"bC DC J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB dC eC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC","2":"J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB","194":"EC"},E:{"1":"B C L M G KC 7B 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC","2":"J FB K D E F A fC JC gC hC iC jC"},F:{"1":"cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t","2":"F B C G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB qC rC sC tC 7B YC uC 8B","194":"bB"},G:{"1":"3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC","2":"E JC vC ZC wC xC yC zC 0C 1C 2C"},H:{"2":"HD"},I:{"1":"I","2":"DC J ID JD KD LD ZC MD ND"},J:{"2":"D A"},K:{"1":"H","2":"A B C 7B YC 8B"},L:{"1":"I"},M:{"1":"6B"},N:{"2":"A B"},O:{"1":"9B"},P:{"1":"u v w x y z RD SD KC TD UD VD WD XD AC BC CC YD","2":"J OD PD QD"},Q:{"1":"ZD"},R:{"1":"aD"},S:{"1":"cD","2":"bD"}},B:7,C:":focus-within CSS pseudo-class",D:true}; +module.exports={A:{A:{"2":"K D E F A B gC"},B:{"1":"5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I","2":"C L M G N O P"},C:{"1":"5 6 7 8 9 mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC","2":"0 1 2 3 4 hC IC J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB jC kC"},D:{"1":"5 6 7 8 9 tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC","2":"0 1 2 3 4 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB","194":"JC"},E:{"1":"B C L M G PC CC DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC","2":"J LB K D E F A lC OC mC nC oC pC"},F:{"1":"hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x","2":"0 1 2 3 4 F B C G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB xC yC zC 0C CC eC 1C DC","194":"gB"},G:{"1":"AD BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC","2":"E OC 2C fC 3C 4C 5C 6C 7C 8C 9C"},H:{"2":"PD"},I:{"1":"I","2":"IC J QD RD SD TD fC UD VD"},J:{"2":"D A"},K:{"1":"H","2":"A B C CC eC DC"},L:{"1":"I"},M:{"1":"BC"},N:{"2":"A B"},O:{"1":"EC"},P:{"1":"0 1 2 3 4 y z ZD aD PC bD cD dD eD fD FC GC HC gD","2":"J WD XD YD"},Q:{"1":"hD"},R:{"1":"iD"},S:{"1":"kD","2":"jD"}},B:7,C:":focus-within CSS pseudo-class",D:true}; diff --git a/node_modules/caniuse-lite/data/features/css-font-palette.js b/node_modules/caniuse-lite/data/features/css-font-palette.js index f14c3a8c63..ed43f3ed27 100644 --- a/node_modules/caniuse-lite/data/features/css-font-palette.js +++ b/node_modules/caniuse-lite/data/features/css-font-palette.js @@ -1 +1 @@ -module.exports={A:{A:{"2":"K D E F A B aC"},B:{"1":"0 1 2 3 4 5 6 7 8 9 o p q r s t AB BB CB DB EB I","2":"C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n"},C:{"1":"0 1 2 3 4 5 6 7 8 9 q r s t AB BB CB DB EB I 6B HC IC cC","2":"bC DC J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p dC eC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 k l m n o p q r s t AB BB CB DB EB I 6B HC IC","2":"J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j"},E:{"1":"MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC","2":"J FB K D E F A B C L M G fC JC gC hC iC jC KC 7B 8B kC lC mC LC"},F:{"1":"W X Y Z a b c d e f g h i j k l m n o p q r s t","2":"F B C G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V qC rC sC tC 7B YC uC 8B"},G:{"1":"MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC","2":"E JC vC ZC wC xC yC zC 0C 1C 2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED LC"},H:{"2":"HD"},I:{"1":"I","2":"DC J ID JD KD LD ZC MD ND"},J:{"2":"D A"},K:{"1":"H","2":"A B C 7B YC 8B"},L:{"1":"I"},M:{"1":"6B"},N:{"2":"A B"},O:{"2":"9B"},P:{"1":"u v w x y z YD","2":"J OD PD QD RD SD KC TD UD VD WD XD AC BC CC"},Q:{"2":"ZD"},R:{"2":"aD"},S:{"2":"bD cD"}},B:5,C:"CSS font-palette",D:true}; +module.exports={A:{A:{"2":"K D E F A B gC"},B:{"1":"5 6 7 8 9 o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I","2":"C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n"},C:{"1":"5 6 7 8 9 q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC","2":"0 1 2 3 4 hC IC J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p jC kC"},D:{"1":"5 6 7 8 9 k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC","2":"0 1 2 3 4 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j"},E:{"1":"RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC","2":"J LB K D E F A B C L M G lC OC mC nC oC pC PC CC DC qC rC sC QC"},F:{"1":"W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x","2":"0 1 2 3 4 F B C G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V xC yC zC 0C CC eC 1C DC"},G:{"1":"RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC","2":"E OC 2C fC 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED FD GD HD ID JD KD LD QC"},H:{"2":"PD"},I:{"1":"I","2":"IC J QD RD SD TD fC UD VD"},J:{"2":"D A"},K:{"1":"H","2":"A B C CC eC DC"},L:{"1":"I"},M:{"1":"BC"},N:{"2":"A B"},O:{"2":"EC"},P:{"1":"0 1 2 3 4 y z gD","2":"J WD XD YD ZD aD PC bD cD dD eD fD FC GC HC"},Q:{"2":"hD"},R:{"2":"iD"},S:{"2":"jD kD"}},B:5,C:"CSS font-palette",D:true}; diff --git a/node_modules/caniuse-lite/data/features/css-font-rendering-controls.js b/node_modules/caniuse-lite/data/features/css-font-rendering-controls.js index 3dc8f8deb2..2d87558c96 100644 --- a/node_modules/caniuse-lite/data/features/css-font-rendering-controls.js +++ b/node_modules/caniuse-lite/data/features/css-font-rendering-controls.js @@ -1 +1 @@ -module.exports={A:{A:{"2":"K D E F A B aC"},B:{"1":"0 1 2 3 4 5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I","2":"C L M G N O P"},C:{"1":"0 1 2 3 4 5 6 7 8 9 nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC","2":"bC DC J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB dC eC","194":"bB cB dB eB fB gB hB iB jB kB lB mB"},D:{"1":"0 1 2 3 4 5 6 7 8 9 oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC","2":"J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB","66":"eB fB gB hB iB jB kB lB mB nB EC"},E:{"1":"C L M G 7B 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC","2":"J FB K D E F A B fC JC gC hC iC jC KC"},F:{"1":"cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t","2":"F B C G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB qC rC sC tC 7B YC uC 8B","66":"RB SB TB UB VB WB XB YB ZB aB bB"},G:{"1":"5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC","2":"E JC vC ZC wC xC yC zC 0C 1C 2C 3C 4C"},H:{"2":"HD"},I:{"1":"I","2":"DC J ID JD KD LD ZC MD ND"},J:{"2":"D A"},K:{"1":"H","2":"A B C 7B YC 8B"},L:{"1":"I"},M:{"1":"6B"},N:{"2":"A B"},O:{"1":"9B"},P:{"1":"u v w x y z RD SD KC TD UD VD WD XD AC BC CC YD","2":"J","66":"OD PD QD"},Q:{"1":"ZD"},R:{"1":"aD"},S:{"1":"cD","194":"bD"}},B:5,C:"CSS font-display",D:true}; +module.exports={A:{A:{"2":"K D E F A B gC"},B:{"1":"5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I","2":"C L M G N O P"},C:{"1":"5 6 7 8 9 sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC","2":"0 1 2 3 4 hC IC J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB jC kC","194":"gB hB iB jB kB lB mB nB oB pB qB rB"},D:{"1":"5 6 7 8 9 tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC","2":"0 1 2 3 4 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB","66":"jB kB lB mB nB oB pB qB rB sB JC"},E:{"1":"C L M G CC DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC","2":"J LB K D E F A B lC OC mC nC oC pC PC"},F:{"1":"hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x","2":"0 1 2 3 4 F B C G N O P MB y z NB OB PB QB RB SB TB UB VB xC yC zC 0C CC eC 1C DC","66":"WB XB YB ZB aB bB cB dB eB fB gB"},G:{"1":"CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC","2":"E OC 2C fC 3C 4C 5C 6C 7C 8C 9C AD BD"},H:{"2":"PD"},I:{"1":"I","2":"IC J QD RD SD TD fC UD VD"},J:{"2":"D A"},K:{"1":"H","2":"A B C CC eC DC"},L:{"1":"I"},M:{"1":"BC"},N:{"2":"A B"},O:{"1":"EC"},P:{"1":"0 1 2 3 4 y z ZD aD PC bD cD dD eD fD FC GC HC gD","2":"J","66":"WD XD YD"},Q:{"1":"hD"},R:{"1":"iD"},S:{"1":"kD","194":"jD"}},B:5,C:"CSS font-display",D:true}; diff --git a/node_modules/caniuse-lite/data/features/css-font-stretch.js b/node_modules/caniuse-lite/data/features/css-font-stretch.js index 65abb64d8b..5bcf73808c 100644 --- a/node_modules/caniuse-lite/data/features/css-font-stretch.js +++ b/node_modules/caniuse-lite/data/features/css-font-stretch.js @@ -1 +1 @@ -module.exports={A:{A:{"1":"F A B","2":"K D E aC"},B:{"1":"0 1 2 3 4 5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC","2":"bC DC J FB K D E dC eC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC","2":"J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB"},E:{"1":"B C L M G 7B 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC","2":"J FB K D E F A fC JC gC hC iC jC KC"},F:{"1":"QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t","2":"F B C G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB qC rC sC tC 7B YC uC 8B"},G:{"1":"3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC","2":"E JC vC ZC wC xC yC zC 0C 1C 2C"},H:{"2":"HD"},I:{"1":"I","2":"DC J ID JD KD LD ZC MD ND"},J:{"2":"D A"},K:{"1":"H","2":"A B C 7B YC 8B"},L:{"1":"I"},M:{"1":"6B"},N:{"1":"A B"},O:{"1":"9B"},P:{"1":"u v w x y z OD PD QD RD SD KC TD UD VD WD XD AC BC CC YD","2":"J"},Q:{"1":"ZD"},R:{"1":"aD"},S:{"1":"bD cD"}},B:2,C:"CSS font-stretch",D:true}; +module.exports={A:{A:{"1":"F A B","2":"K D E gC"},B:{"1":"5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC","2":"hC IC J LB K D E jC kC"},D:{"1":"5 6 7 8 9 iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC","2":"0 1 2 3 4 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB"},E:{"1":"B C L M G CC DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC","2":"J LB K D E F A lC OC mC nC oC pC PC"},F:{"1":"VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x","2":"0 1 2 3 4 F B C G N O P MB y z NB OB PB QB RB SB TB UB xC yC zC 0C CC eC 1C DC"},G:{"1":"AD BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC","2":"E OC 2C fC 3C 4C 5C 6C 7C 8C 9C"},H:{"2":"PD"},I:{"1":"I","2":"IC J QD RD SD TD fC UD VD"},J:{"2":"D A"},K:{"1":"H","2":"A B C CC eC DC"},L:{"1":"I"},M:{"1":"BC"},N:{"1":"A B"},O:{"1":"EC"},P:{"1":"0 1 2 3 4 y z WD XD YD ZD aD PC bD cD dD eD fD FC GC HC gD","2":"J"},Q:{"1":"hD"},R:{"1":"iD"},S:{"1":"jD kD"}},B:2,C:"CSS font-stretch",D:true}; diff --git a/node_modules/caniuse-lite/data/features/css-gencontent.js b/node_modules/caniuse-lite/data/features/css-gencontent.js index 8a356dcbff..35802f5451 100644 --- a/node_modules/caniuse-lite/data/features/css-gencontent.js +++ b/node_modules/caniuse-lite/data/features/css-gencontent.js @@ -1 +1 @@ -module.exports={A:{A:{"1":"F A B","2":"K D aC","132":"E"},B:{"1":"0 1 2 3 4 5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 bC DC J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC dC eC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC"},E:{"1":"J FB K D E F A B C L M G fC JC gC hC iC jC KC 7B 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC"},F:{"1":"F B C G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t qC rC sC tC 7B YC uC 8B"},G:{"1":"E JC vC ZC wC xC yC zC 0C 1C 2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC"},H:{"1":"HD"},I:{"1":"DC J I ID JD KD LD ZC MD ND"},J:{"1":"D A"},K:{"1":"A B C H 7B YC 8B"},L:{"1":"I"},M:{"1":"6B"},N:{"1":"A B"},O:{"1":"9B"},P:{"1":"J u v w x y z OD PD QD RD SD KC TD UD VD WD XD AC BC CC YD"},Q:{"1":"ZD"},R:{"1":"aD"},S:{"1":"bD cD"}},B:2,C:"CSS Generated content for pseudo-elements",D:true}; +module.exports={A:{A:{"1":"F A B","2":"K D gC","132":"E"},B:{"1":"5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 hC IC J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC jC kC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC"},E:{"1":"J LB K D E F A B C L M G lC OC mC nC oC pC PC CC DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC"},F:{"1":"0 1 2 3 4 F B C G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x xC yC zC 0C CC eC 1C DC"},G:{"1":"E OC 2C fC 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC"},H:{"1":"PD"},I:{"1":"IC J I QD RD SD TD fC UD VD"},J:{"1":"D A"},K:{"1":"A B C H CC eC DC"},L:{"1":"I"},M:{"1":"BC"},N:{"1":"A B"},O:{"1":"EC"},P:{"1":"0 1 2 3 4 J y z WD XD YD ZD aD PC bD cD dD eD fD FC GC HC gD"},Q:{"1":"hD"},R:{"1":"iD"},S:{"1":"jD kD"}},B:2,C:"CSS Generated content for pseudo-elements",D:true}; diff --git a/node_modules/caniuse-lite/data/features/css-gradients.js b/node_modules/caniuse-lite/data/features/css-gradients.js index 2414385877..5542b8f256 100644 --- a/node_modules/caniuse-lite/data/features/css-gradients.js +++ b/node_modules/caniuse-lite/data/features/css-gradients.js @@ -1 +1 @@ -module.exports={A:{A:{"1":"A B","2":"K D E F aC"},B:{"1":"0 1 2 3 4 5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC","2":"bC DC dC","260":"N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB","292":"J FB K D E F A B C L M G eC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC","33":"A B C L M G N O P GB u v w x y z","548":"J FB K D E F"},E:{"1":"MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC","2":"fC JC","260":"D E F A B C L M G hC iC jC KC 7B 8B kC lC mC LC","292":"K gC","804":"J FB"},F:{"1":"G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t 8B","2":"F B qC rC sC tC","33":"C uC","164":"7B YC"},G:{"1":"MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC","260":"E yC zC 0C 1C 2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED LC","292":"wC xC","804":"JC vC ZC"},H:{"2":"HD"},I:{"1":"I MD ND","33":"J LD ZC","548":"DC ID JD KD"},J:{"1":"A","548":"D"},K:{"1":"H 8B","2":"A B","33":"C","164":"7B YC"},L:{"1":"I"},M:{"1":"6B"},N:{"1":"A B"},O:{"1":"9B"},P:{"1":"J u v w x y z OD PD QD RD SD KC TD UD VD WD XD AC BC CC YD"},Q:{"1":"ZD"},R:{"1":"aD"},S:{"1":"bD cD"}},B:4,C:"CSS Gradients",D:true}; +module.exports={A:{A:{"1":"A B","2":"K D E F gC"},B:{"1":"5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I"},C:{"1":"5 6 7 8 9 WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC","2":"hC IC jC","260":"0 1 2 3 4 N O P MB y z NB OB PB QB RB SB TB UB VB","292":"J LB K D E F A B C L M G kC"},D:{"1":"4 5 6 7 8 9 NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC","33":"0 1 2 3 A B C L M G N O P MB y z","548":"J LB K D E F"},E:{"1":"RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC","2":"lC OC","260":"D E F A B C L M G nC oC pC PC CC DC qC rC sC QC","292":"K mC","804":"J LB"},F:{"1":"0 1 2 3 4 G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x DC","2":"F B xC yC zC 0C","33":"C 1C","164":"CC eC"},G:{"1":"RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC","260":"E 5C 6C 7C 8C 9C AD BD CD DD ED FD GD HD ID JD KD LD QC","292":"3C 4C","804":"OC 2C fC"},H:{"2":"PD"},I:{"1":"I UD VD","33":"J TD fC","548":"IC QD RD SD"},J:{"1":"A","548":"D"},K:{"1":"H DC","2":"A B","33":"C","164":"CC eC"},L:{"1":"I"},M:{"1":"BC"},N:{"1":"A B"},O:{"1":"EC"},P:{"1":"0 1 2 3 4 J y z WD XD YD ZD aD PC bD cD dD eD fD FC GC HC gD"},Q:{"1":"hD"},R:{"1":"iD"},S:{"1":"jD kD"}},B:4,C:"CSS Gradients",D:true}; diff --git a/node_modules/caniuse-lite/data/features/css-grid-animation.js b/node_modules/caniuse-lite/data/features/css-grid-animation.js index 7da2fe3bb5..e3843dd083 100644 --- a/node_modules/caniuse-lite/data/features/css-grid-animation.js +++ b/node_modules/caniuse-lite/data/features/css-grid-animation.js @@ -1 +1 @@ -module.exports={A:{A:{"2":"K D E F A B aC"},B:{"2":"0 1 2 3 4 5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC","2":"bC DC J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB dC eC"},D:{"2":"0 1 2 3 4 5 6 7 8 9 J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC"},E:{"1":"AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC","2":"J FB K D E F A B C L M G fC JC gC hC iC jC KC 7B 8B kC lC mC LC MC 9B nC"},F:{"2":"F B C G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t qC rC sC tC 7B YC uC 8B"},G:{"1":"AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC","2":"E JC vC ZC wC xC yC zC 0C 1C 2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD"},H:{"2":"HD"},I:{"2":"DC J I ID JD KD LD ZC MD ND"},J:{"2":"D A"},K:{"2":"A B C H 7B YC 8B"},L:{"2":"I"},M:{"1":"6B"},N:{"2":"A B"},O:{"2":"9B"},P:{"2":"J u v w x y z OD PD QD RD SD KC TD UD VD WD XD AC BC CC YD"},Q:{"2":"ZD"},R:{"2":"aD"},S:{"1":"cD","2":"bD"}},B:4,C:"CSS Grid animation",D:false}; +module.exports={A:{A:{"2":"K D E F A B gC"},B:{"1":"5 6 7 8 9 q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I","2":"C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p"},C:{"1":"5 6 7 8 9 yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC","2":"0 1 2 3 4 hC IC J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB jC kC"},D:{"1":"5 6 7 8 9 q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC","2":"0 1 2 3 4 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p"},E:{"1":"FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC","2":"J LB K D E F A B C L M G lC OC mC nC oC pC PC CC DC qC rC sC QC RC EC tC"},F:{"1":"c d e f g h i j k l m n o p q r s t u v w x","2":"0 1 2 3 4 F B C G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b xC yC zC 0C CC eC 1C DC"},G:{"1":"FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC","2":"E OC 2C fC 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD"},H:{"2":"PD"},I:{"1":"I","2":"IC J QD RD SD TD fC UD VD"},J:{"2":"D A"},K:{"1":"H","2":"A B C CC eC DC"},L:{"1":"I"},M:{"1":"BC"},N:{"2":"A B"},O:{"2":"EC"},P:{"1":"0 1 2 3 4 z","2":"J y WD XD YD ZD aD PC bD cD dD eD fD FC GC HC gD"},Q:{"2":"hD"},R:{"2":"iD"},S:{"1":"kD","2":"jD"}},B:4,C:"CSS Grid animation",D:false}; diff --git a/node_modules/caniuse-lite/data/features/css-grid.js b/node_modules/caniuse-lite/data/features/css-grid.js index d9c9c8b9ba..3539332d57 100644 --- a/node_modules/caniuse-lite/data/features/css-grid.js +++ b/node_modules/caniuse-lite/data/features/css-grid.js @@ -1 +1 @@ -module.exports={A:{A:{"2":"K D E aC","8":"F","292":"A B"},B:{"1":"0 1 2 3 4 5 6 7 8 9 N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I","292":"C L M G"},C:{"1":"0 1 2 3 4 5 6 7 8 9 jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC","2":"bC DC J FB K D E F A B C L M G N O P dC eC","8":"GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB","584":"VB WB XB YB ZB aB bB cB dB eB fB gB","1025":"hB iB"},D:{"1":"0 1 2 3 4 5 6 7 8 9 nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC","2":"J FB K D E F A B C L M G N O P GB u v w x y","8":"z HB IB JB","200":"KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB","1025":"mB"},E:{"1":"B C L M G KC 7B 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC","2":"J FB fC JC gC","8":"K D E F A hC iC jC"},F:{"1":"ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t","2":"F B C G N O P GB u v w x y z HB IB qC rC sC tC 7B YC uC 8B","200":"JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB"},G:{"1":"3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC","2":"JC vC ZC wC","8":"E xC yC zC 0C 1C 2C"},H:{"2":"HD"},I:{"1":"I","2":"DC J ID JD KD LD","8":"ZC MD ND"},J:{"2":"D A"},K:{"1":"H","2":"A B C 7B YC 8B"},L:{"1":"I"},M:{"1":"6B"},N:{"292":"A B"},O:{"1":"9B"},P:{"1":"u v w x y z PD QD RD SD KC TD UD VD WD XD AC BC CC YD","2":"OD","8":"J"},Q:{"1":"ZD"},R:{"1":"aD"},S:{"1":"bD cD"}},B:4,C:"CSS Grid Layout (level 1)",D:true}; +module.exports={A:{A:{"2":"K D E gC","8":"F","292":"A B"},B:{"1":"5 6 7 8 9 N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I","292":"C L M G"},C:{"1":"5 6 7 8 9 oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC","2":"hC IC J LB K D E F A B C L M G N O P jC kC","8":"0 1 2 3 4 MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB","584":"aB bB cB dB eB fB gB hB iB jB kB lB","1025":"mB nB"},D:{"1":"5 6 7 8 9 sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC","2":"0 1 2 J LB K D E F A B C L M G N O P MB y z","8":"3 4 NB OB","200":"PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB","1025":"rB"},E:{"1":"B C L M G PC CC DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC","2":"J LB lC OC mC","8":"K D E F A nC oC pC"},F:{"1":"eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x","2":"0 1 2 3 4 F B C G N O P MB y z NB xC yC zC 0C CC eC 1C DC","200":"OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB"},G:{"1":"AD BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC","2":"OC 2C fC 3C","8":"E 4C 5C 6C 7C 8C 9C"},H:{"2":"PD"},I:{"1":"I","2":"IC J QD RD SD TD","8":"fC UD VD"},J:{"2":"D A"},K:{"1":"H","2":"A B C CC eC DC"},L:{"1":"I"},M:{"1":"BC"},N:{"292":"A B"},O:{"1":"EC"},P:{"1":"0 1 2 3 4 y z XD YD ZD aD PC bD cD dD eD fD FC GC HC gD","2":"WD","8":"J"},Q:{"1":"hD"},R:{"1":"iD"},S:{"1":"jD kD"}},B:4,C:"CSS Grid Layout (level 1)",D:true}; diff --git a/node_modules/caniuse-lite/data/features/css-hanging-punctuation.js b/node_modules/caniuse-lite/data/features/css-hanging-punctuation.js index a1ed2daa21..67a381037b 100644 --- a/node_modules/caniuse-lite/data/features/css-hanging-punctuation.js +++ b/node_modules/caniuse-lite/data/features/css-hanging-punctuation.js @@ -1 +1 @@ -module.exports={A:{A:{"2":"K D E F A B aC"},B:{"2":"0 1 2 3 4 5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I"},C:{"2":"0 1 2 3 4 5 6 7 8 9 bC DC J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC dC eC"},D:{"2":"0 1 2 3 4 5 6 7 8 9 J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC"},E:{"1":"A B C L M G KC 7B 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC","2":"J FB K D E F fC JC gC hC iC jC"},F:{"2":"F B C G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t qC rC sC tC 7B YC uC 8B"},G:{"1":"2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC","2":"E JC vC ZC wC xC yC zC 0C 1C"},H:{"2":"HD"},I:{"2":"DC J I ID JD KD LD ZC MD ND"},J:{"2":"D A"},K:{"2":"A B C H 7B YC 8B"},L:{"2":"I"},M:{"2":"6B"},N:{"2":"A B"},O:{"2":"9B"},P:{"2":"J u v w x y z OD PD QD RD SD KC TD UD VD WD XD AC BC CC YD"},Q:{"2":"ZD"},R:{"2":"aD"},S:{"2":"bD cD"}},B:4,C:"CSS hanging-punctuation",D:true}; +module.exports={A:{A:{"2":"K D E F A B gC"},B:{"2":"5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I"},C:{"2":"0 1 2 3 4 5 6 7 8 9 hC IC J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC jC kC"},D:{"2":"0 1 2 3 4 5 6 7 8 9 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC"},E:{"2":"J LB K D E F lC OC mC nC oC pC","132":"A B C L M G PC CC DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC"},F:{"2":"0 1 2 3 4 F B C G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x xC yC zC 0C CC eC 1C DC"},G:{"2":"E OC 2C fC 3C 4C 5C 6C 7C 8C","132":"9C AD BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC"},H:{"2":"PD"},I:{"2":"IC J I QD RD SD TD fC UD VD"},J:{"2":"D A"},K:{"2":"A B C H CC eC DC"},L:{"2":"I"},M:{"2":"BC"},N:{"2":"A B"},O:{"2":"EC"},P:{"2":"0 1 2 3 4 J y z WD XD YD ZD aD PC bD cD dD eD fD FC GC HC gD"},Q:{"2":"hD"},R:{"2":"iD"},S:{"2":"jD kD"}},B:4,C:"CSS hanging-punctuation",D:true}; diff --git a/node_modules/caniuse-lite/data/features/css-has.js b/node_modules/caniuse-lite/data/features/css-has.js index 4bbe3373d4..0790af2c6b 100644 --- a/node_modules/caniuse-lite/data/features/css-has.js +++ b/node_modules/caniuse-lite/data/features/css-has.js @@ -1 +1 @@ -module.exports={A:{A:{"2":"K D E F A B aC"},B:{"1":"0 1 2 3 4 5 6 7 8 9 o p q r s t AB BB CB DB EB I","2":"C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n"},C:{"1":"AB BB CB DB EB I 6B HC IC cC","2":"bC DC J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l dC eC","322":"0 1 2 3 4 5 6 7 8 9 m n o p q r s t"},D:{"1":"0 1 2 3 4 5 6 7 8 9 o p q r s t AB BB CB DB EB I 6B HC IC","2":"J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j","194":"k l m n"},E:{"1":"MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC","2":"J FB K D E F A B C L M G fC JC gC hC iC jC KC 7B 8B kC lC mC LC"},F:{"1":"a b c d e f g h i j k l m n o p q r s t","2":"F B C G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z qC rC sC tC 7B YC uC 8B"},G:{"1":"MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC","2":"E JC vC ZC wC xC yC zC 0C 1C 2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED LC"},H:{"2":"HD"},I:{"1":"I","2":"DC J ID JD KD LD ZC MD ND"},J:{"2":"D A"},K:{"1":"H","2":"A B C 7B YC 8B"},L:{"1":"I"},M:{"1":"6B"},N:{"2":"A B"},O:{"2":"9B"},P:{"1":"u v w x y z","2":"J OD PD QD RD SD KC TD UD VD WD XD AC BC CC YD"},Q:{"2":"ZD"},R:{"2":"aD"},S:{"2":"bD cD"}},B:5,C:":has() CSS relational pseudo-class",D:true}; +module.exports={A:{A:{"2":"K D E F A B gC"},B:{"1":"5 6 7 8 9 o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I","2":"C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n"},C:{"1":"BB CB DB EB FB GB HB IB JB KB I BC MC NC iC","2":"0 1 2 3 4 hC IC J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l jC kC","322":"5 6 7 8 9 m n o p q r s t u v w x AB"},D:{"1":"5 6 7 8 9 o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC","2":"0 1 2 3 4 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j","194":"k l m n"},E:{"1":"RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC","2":"J LB K D E F A B C L M G lC OC mC nC oC pC PC CC DC qC rC sC QC"},F:{"1":"a b c d e f g h i j k l m n o p q r s t u v w x","2":"0 1 2 3 4 F B C G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z xC yC zC 0C CC eC 1C DC"},G:{"1":"RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC","2":"E OC 2C fC 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED FD GD HD ID JD KD LD QC"},H:{"2":"PD"},I:{"1":"I","2":"IC J QD RD SD TD fC UD VD"},J:{"2":"D A"},K:{"1":"H","2":"A B C CC eC DC"},L:{"1":"I"},M:{"1":"BC"},N:{"2":"A B"},O:{"2":"EC"},P:{"1":"0 1 2 3 4 y z","2":"J WD XD YD ZD aD PC bD cD dD eD fD FC GC HC gD"},Q:{"2":"hD"},R:{"2":"iD"},S:{"2":"jD kD"}},B:5,C:":has() CSS relational pseudo-class",D:true}; diff --git a/node_modules/caniuse-lite/data/features/css-hyphens.js b/node_modules/caniuse-lite/data/features/css-hyphens.js index 2ba1dc95fd..7aa6c9a0b1 100644 --- a/node_modules/caniuse-lite/data/features/css-hyphens.js +++ b/node_modules/caniuse-lite/data/features/css-hyphens.js @@ -1 +1 @@ -module.exports={A:{A:{"2":"K D E F aC","33":"A B"},B:{"1":"0 1 2 3 4 5 6 7 8 9 o p q r s t AB BB CB DB EB I","33":"C L M G N O P","132":"Q H R S T U V W","260":"X Y Z a b c d e f g h i j k l m n"},C:{"1":"0 1 2 3 4 5 6 7 8 9 YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC","2":"bC DC J FB dC eC","33":"K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB"},D:{"1":"0 1 2 3 4 5 6 7 8 9 X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC","2":"J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB","132":"kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W"},E:{"1":"BC SC TC UC VC WC XC CC pC","2":"J FB fC JC","33":"K D E F A B C L M G gC hC iC jC KC 7B 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC"},F:{"1":"a b c d e f g h i j k l m n o p q r s t","2":"F B C G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB qC rC sC tC 7B YC uC 8B","132":"XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z"},G:{"1":"BC SC TC UC VC WC XC CC","2":"JC vC","33":"E ZC wC xC yC zC 0C 1C 2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD"},H:{"2":"HD"},I:{"1":"I","2":"DC J ID JD KD LD ZC MD ND"},J:{"2":"D A"},K:{"1":"H","2":"A B C 7B YC 8B"},L:{"1":"I"},M:{"1":"6B"},N:{"2":"A B"},O:{"1":"9B"},P:{"1":"u v w x y z PD QD RD SD KC TD UD VD WD XD AC BC CC YD","2":"J","132":"OD"},Q:{"1":"ZD"},R:{"1":"aD"},S:{"1":"bD cD"}},B:4,C:"CSS Hyphenation",D:true}; +module.exports={A:{A:{"2":"K D E F gC","33":"A B"},B:{"1":"5 6 7 8 9 o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I","33":"C L M G N O P","132":"Q H R S T U V W","260":"X Y Z a b c d e f g h i j k l m n"},C:{"1":"5 6 7 8 9 dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC","2":"hC IC J LB jC kC","33":"0 1 2 3 4 K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB"},D:{"1":"5 6 7 8 9 X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC","2":"0 1 2 3 4 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB","132":"pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W"},E:{"1":"GC XC YC ZC aC bC vC HC cC dC wC","2":"J LB lC OC","33":"K D E F A B C L M G mC nC oC pC PC CC DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC"},F:{"1":"a b c d e f g h i j k l m n o p q r s t u v w x","2":"0 1 2 3 4 F B C G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB xC yC zC 0C CC eC 1C DC","132":"cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z"},G:{"1":"GC XC YC ZC aC bC OD HC cC dC","2":"OC 2C","33":"E fC 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND"},H:{"2":"PD"},I:{"1":"I","2":"IC J QD RD SD TD fC UD VD"},J:{"2":"D A"},K:{"1":"H","2":"A B C CC eC DC"},L:{"1":"I"},M:{"1":"BC"},N:{"2":"A B"},O:{"1":"EC"},P:{"1":"0 1 2 3 4 y z XD YD ZD aD PC bD cD dD eD fD FC GC HC gD","2":"J","132":"WD"},Q:{"1":"hD"},R:{"1":"iD"},S:{"1":"jD kD"}},B:4,C:"CSS Hyphenation",D:true}; diff --git a/node_modules/caniuse-lite/data/features/css-image-orientation.js b/node_modules/caniuse-lite/data/features/css-image-orientation.js index f40d55e92f..ce3822d801 100644 --- a/node_modules/caniuse-lite/data/features/css-image-orientation.js +++ b/node_modules/caniuse-lite/data/features/css-image-orientation.js @@ -1 +1 @@ -module.exports={A:{A:{"2":"K D E F A B aC"},B:{"1":"0 1 2 3 4 5 6 7 8 9 Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I","2":"C L M G N O P Q H","257":"R S T U V W X"},C:{"1":"0 1 2 3 4 5 6 7 8 9 HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC","2":"bC DC J FB K D E F A B C L M G N O P GB u v w x y z dC eC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC","2":"J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H","257":"R S T U V W X"},E:{"1":"M G kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC","2":"J FB K D E F A B C L fC JC gC hC iC jC KC 7B 8B"},F:{"1":"4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t","2":"F B C G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB qC rC sC tC 7B YC uC 8B","257":"vB wB xB yB zB 0B 1B 2B 3B"},G:{"1":"CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC","132":"E JC vC ZC wC xC yC zC 0C 1C 2C 3C 4C 5C 6C 7C 8C 9C AD BD"},H:{"2":"HD"},I:{"1":"I","2":"DC J ID JD KD LD ZC MD ND"},J:{"2":"D A"},K:{"1":"H","2":"A B C 7B YC 8B"},L:{"1":"I"},M:{"1":"6B"},N:{"2":"A B"},O:{"1":"9B"},P:{"1":"u v w x y z XD AC BC CC YD","2":"J OD PD QD RD SD KC TD UD","257":"VD WD"},Q:{"2":"ZD"},R:{"1":"aD"},S:{"1":"bD cD"}},B:4,C:"CSS3 image-orientation",D:true}; +module.exports={A:{A:{"2":"K D E F A B gC"},B:{"1":"5 6 7 8 9 Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I","2":"C L M G N O P Q H","257":"R S T U V W X"},C:{"1":"4 5 6 7 8 9 NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC","2":"0 1 2 3 hC IC J LB K D E F A B C L M G N O P MB y z jC kC"},D:{"1":"5 6 7 8 9 Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC","2":"0 1 2 3 4 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H","257":"R S T U V W X"},E:{"1":"M G qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC","2":"J LB K D E F A B C L lC OC mC nC oC pC PC CC DC"},F:{"1":"9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x","2":"0 1 2 3 4 F B C G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB xC yC zC 0C CC eC 1C DC","257":"0B 1B 2B 3B 4B 5B 6B 7B 8B"},G:{"1":"ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC","132":"E OC 2C fC 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED FD GD HD"},H:{"2":"PD"},I:{"1":"I","2":"IC J QD RD SD TD fC UD VD"},J:{"2":"D A"},K:{"1":"H","2":"A B C CC eC DC"},L:{"1":"I"},M:{"1":"BC"},N:{"2":"A B"},O:{"1":"EC"},P:{"1":"0 1 2 3 4 y z fD FC GC HC gD","2":"J WD XD YD ZD aD PC bD cD","257":"dD eD"},Q:{"2":"hD"},R:{"1":"iD"},S:{"1":"jD kD"}},B:4,C:"CSS3 image-orientation",D:true}; diff --git a/node_modules/caniuse-lite/data/features/css-image-set.js b/node_modules/caniuse-lite/data/features/css-image-set.js index 34d9f233f8..dd27854186 100644 --- a/node_modules/caniuse-lite/data/features/css-image-set.js +++ b/node_modules/caniuse-lite/data/features/css-image-set.js @@ -1 +1 @@ -module.exports={A:{A:{"2":"K D E F A B aC"},B:{"1":"3 4 5 6 7 8 9 AB BB CB DB EB I","2":"C L M G N O P","164":"0 1 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t","2049":"2"},C:{"1":"2 3 4 5 6 7 8 9 AB BB CB DB EB I 6B HC IC cC","2":"bC DC J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U dC eC","66":"V W","2305":"0 1 Y Z a b c d e f g h i j k l m n o p q r s t","2820":"X"},D:{"1":"3 4 5 6 7 8 9 AB BB CB DB EB I 6B HC IC","2":"J FB K D E F A B C L M G N O P GB u","164":"0 1 v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t","2049":"2"},E:{"1":"BC SC TC UC VC WC XC CC pC","2":"J FB fC JC gC","132":"A B C L KC 7B 8B kC","164":"K D E F hC iC jC","1540":"M G lC mC LC MC 9B nC AC NC OC PC QC RC oC"},F:{"1":"j k l m n o p q r s t","2":"F B C qC rC sC tC 7B YC uC 8B","164":"G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h","2049":"i"},G:{"1":"BC SC TC UC VC WC XC CC","2":"JC vC ZC wC","132":"2C 3C 4C 5C 6C 7C 8C 9C AD BD","164":"E xC yC zC 0C 1C","1540":"CD DD ED LC MC 9B FD AC NC OC PC QC RC GD"},H:{"2":"HD"},I:{"1":"I","2":"DC J ID JD KD LD ZC","164":"MD ND"},J:{"2":"D","164":"A"},K:{"1":"H","2":"A B C 7B YC 8B"},L:{"1":"I"},M:{"1":"6B"},N:{"2":"A B"},O:{"164":"9B"},P:{"1":"x y z","164":"J u v w OD PD QD RD SD KC TD UD VD WD XD AC BC CC YD"},Q:{"164":"ZD"},R:{"164":"aD"},S:{"2":"bD cD"}},B:5,C:"CSS image-set",D:true}; +module.exports={A:{A:{"2":"K D E F A B gC"},B:{"1":"5 6 7 8 9 x AB BB CB DB EB FB GB HB IB JB KB I","2":"C L M G N O P","164":"Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v","2049":"w"},C:{"1":"5 6 7 8 9 w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC","2":"0 1 2 3 4 hC IC J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U jC kC","66":"V W","2305":"Y Z a b c d e f g h i j k l m n o p q r s t u v","2820":"X"},D:{"1":"5 6 7 8 9 x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC","2":"J LB K D E F A B C L M G N O P MB y","164":"0 1 2 3 4 z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v","2049":"w"},E:{"1":"GC XC YC ZC aC bC vC HC cC dC wC","2":"J LB lC OC mC","132":"A B C L PC CC DC qC","164":"K D E F nC oC pC","1540":"M G rC sC QC RC EC tC FC SC TC UC VC WC uC"},F:{"1":"j k l m n o p q r s t u v w x","2":"F B C xC yC zC 0C CC eC 1C DC","164":"0 1 2 3 4 G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h","2049":"i"},G:{"1":"GC XC YC ZC aC bC OD HC cC dC","2":"OC 2C fC 3C","132":"9C AD BD CD DD ED FD GD HD ID","164":"E 4C 5C 6C 7C 8C","1540":"JD KD LD QC RC EC MD FC SC TC UC VC WC ND"},H:{"2":"PD"},I:{"1":"I","2":"IC J QD RD SD TD fC","164":"UD VD"},J:{"2":"D","164":"A"},K:{"1":"H","2":"A B C CC eC DC"},L:{"1":"I"},M:{"1":"BC"},N:{"2":"A B"},O:{"164":"EC"},P:{"1":"1 2 3 4","164":"0 J y z WD XD YD ZD aD PC bD cD dD eD fD FC GC HC gD"},Q:{"164":"hD"},R:{"164":"iD"},S:{"2":"jD kD"}},B:5,C:"CSS image-set",D:true}; diff --git a/node_modules/caniuse-lite/data/features/css-in-out-of-range.js b/node_modules/caniuse-lite/data/features/css-in-out-of-range.js index a6541a90e2..21cbfaa037 100644 --- a/node_modules/caniuse-lite/data/features/css-in-out-of-range.js +++ b/node_modules/caniuse-lite/data/features/css-in-out-of-range.js @@ -1 +1 @@ -module.exports={A:{A:{"2":"K D E F A B aC"},B:{"1":"0 1 2 3 4 5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I","2":"C","260":"L M G N O P"},C:{"1":"0 1 2 3 4 5 6 7 8 9 fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC","2":"bC DC J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB dC eC","516":"KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB"},D:{"1":"0 1 2 3 4 5 6 7 8 9 iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC","2":"J","16":"FB K D E F A B C L M","260":"hB","772":"G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB"},E:{"1":"B C L M G KC 7B 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC","2":"J fC JC","16":"FB","772":"K D E F A gC hC iC jC"},F:{"1":"VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t","16":"F qC","260":"B C UB rC sC tC 7B YC uC 8B","772":"G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB"},G:{"1":"3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC","2":"JC vC ZC","772":"E wC xC yC zC 0C 1C 2C"},H:{"132":"HD"},I:{"1":"I","2":"DC ID JD KD","260":"J LD ZC MD ND"},J:{"2":"D","260":"A"},K:{"1":"H","260":"A B C 7B YC 8B"},L:{"1":"I"},M:{"1":"6B"},N:{"2":"A B"},O:{"1":"9B"},P:{"1":"u v w x y z OD PD QD RD SD KC TD UD VD WD XD AC BC CC YD","260":"J"},Q:{"1":"ZD"},R:{"1":"aD"},S:{"1":"cD","516":"bD"}},B:5,C:":in-range and :out-of-range CSS pseudo-classes",D:true}; +module.exports={A:{A:{"2":"K D E F A B gC"},B:{"1":"5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I","2":"C","260":"L M G N O P"},C:{"1":"5 6 7 8 9 kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC","2":"0 1 2 3 4 hC IC J LB K D E F A B C L M G N O P MB y z NB OB jC kC","516":"PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB"},D:{"1":"5 6 7 8 9 nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC","2":"J","16":"LB K D E F A B C L M","260":"mB","772":"0 1 2 3 4 G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB"},E:{"1":"B C L M G PC CC DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC","2":"J lC OC","16":"LB","772":"K D E F A mC nC oC pC"},F:{"1":"aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x","16":"F xC","260":"B C ZB yC zC 0C CC eC 1C DC","772":"0 1 2 3 4 G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB"},G:{"1":"AD BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC","2":"OC 2C fC","772":"E 3C 4C 5C 6C 7C 8C 9C"},H:{"132":"PD"},I:{"1":"I","2":"IC QD RD SD","260":"J TD fC UD VD"},J:{"2":"D","260":"A"},K:{"1":"H","260":"A B C CC eC DC"},L:{"1":"I"},M:{"1":"BC"},N:{"2":"A B"},O:{"1":"EC"},P:{"1":"0 1 2 3 4 y z WD XD YD ZD aD PC bD cD dD eD fD FC GC HC gD","260":"J"},Q:{"1":"hD"},R:{"1":"iD"},S:{"1":"kD","516":"jD"}},B:5,C:":in-range and :out-of-range CSS pseudo-classes",D:true}; diff --git a/node_modules/caniuse-lite/data/features/css-indeterminate-pseudo.js b/node_modules/caniuse-lite/data/features/css-indeterminate-pseudo.js index 5c84004d7b..27d5a0125f 100644 --- a/node_modules/caniuse-lite/data/features/css-indeterminate-pseudo.js +++ b/node_modules/caniuse-lite/data/features/css-indeterminate-pseudo.js @@ -1 +1 @@ -module.exports={A:{A:{"2":"K D E aC","132":"A B","388":"F"},B:{"1":"0 1 2 3 4 5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I","132":"C L M G N O P"},C:{"1":"0 1 2 3 4 5 6 7 8 9 gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC","16":"bC DC dC eC","132":"K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB","388":"J FB"},D:{"1":"0 1 2 3 4 5 6 7 8 9 UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC","16":"J FB K D E F A B C L M","132":"G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB"},E:{"1":"B C L M G KC 7B 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC","16":"J FB K fC JC","132":"D E F A hC iC jC","388":"gC"},F:{"1":"HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t","16":"F B qC rC sC tC 7B YC","132":"G N O P GB u v w x y z","516":"C uC 8B"},G:{"1":"3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC","16":"JC vC ZC wC xC","132":"E yC zC 0C 1C 2C"},H:{"516":"HD"},I:{"1":"I","16":"DC ID JD KD ND","132":"MD","388":"J LD ZC"},J:{"16":"D","132":"A"},K:{"1":"H","16":"A B C 7B YC","516":"8B"},L:{"1":"I"},M:{"1":"6B"},N:{"132":"A B"},O:{"1":"9B"},P:{"1":"J u v w x y z OD PD QD RD SD KC TD UD VD WD XD AC BC CC YD"},Q:{"1":"ZD"},R:{"1":"aD"},S:{"1":"cD","132":"bD"}},B:5,C:":indeterminate CSS pseudo-class",D:true}; +module.exports={A:{A:{"2":"K D E gC","132":"A B","388":"F"},B:{"1":"5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I","132":"C L M G N O P"},C:{"1":"5 6 7 8 9 lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC","16":"hC IC jC kC","132":"0 1 2 3 4 K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB","388":"J LB"},D:{"1":"5 6 7 8 9 ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC","16":"J LB K D E F A B C L M","132":"0 1 2 3 4 G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB"},E:{"1":"B C L M G PC CC DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC","16":"J LB K lC OC","132":"D E F A nC oC pC","388":"mC"},F:{"1":"4 NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x","16":"F B xC yC zC 0C CC eC","132":"0 1 2 3 G N O P MB y z","516":"C 1C DC"},G:{"1":"AD BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC","16":"OC 2C fC 3C 4C","132":"E 5C 6C 7C 8C 9C"},H:{"516":"PD"},I:{"1":"I","16":"IC QD RD SD VD","132":"UD","388":"J TD fC"},J:{"16":"D","132":"A"},K:{"1":"H","16":"A B C CC eC","516":"DC"},L:{"1":"I"},M:{"1":"BC"},N:{"132":"A B"},O:{"1":"EC"},P:{"1":"0 1 2 3 4 J y z WD XD YD ZD aD PC bD cD dD eD fD FC GC HC gD"},Q:{"1":"hD"},R:{"1":"iD"},S:{"1":"kD","132":"jD"}},B:5,C:":indeterminate CSS pseudo-class",D:true}; diff --git a/node_modules/caniuse-lite/data/features/css-initial-letter.js b/node_modules/caniuse-lite/data/features/css-initial-letter.js index e4c94c4a27..2693573cb4 100644 --- a/node_modules/caniuse-lite/data/features/css-initial-letter.js +++ b/node_modules/caniuse-lite/data/features/css-initial-letter.js @@ -1 +1 @@ -module.exports={A:{A:{"2":"K D E F A B aC"},B:{"2":"C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s","260":"0 1 2 3 4 5 6 7 8 9 t AB BB CB DB EB I"},C:{"2":"0 1 2 3 4 5 6 7 8 9 bC DC J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC dC eC"},D:{"2":"J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s","260":"0 1 2 3 4 5 6 7 8 9 t AB BB CB DB EB I 6B HC IC"},E:{"2":"J FB K D E fC JC gC hC iC","260":"F","420":"A B C L M G jC KC 7B 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC"},F:{"2":"F B C G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g qC rC sC tC 7B YC uC 8B","260":"h i j k l m n o p q r s t"},G:{"2":"E JC vC ZC wC xC yC zC","420":"0C 1C 2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC"},H:{"2":"HD"},I:{"2":"DC J ID JD KD LD ZC MD ND","260":"I"},J:{"2":"D A"},K:{"2":"A B C 7B YC 8B","260":"H"},L:{"260":"I"},M:{"2":"6B"},N:{"2":"A B"},O:{"2":"9B"},P:{"2":"J u OD PD QD RD SD KC TD UD VD WD XD AC BC CC YD","260":"v w x y z"},Q:{"2":"ZD"},R:{"2":"aD"},S:{"2":"bD cD"}},B:5,C:"CSS Initial Letter",D:true}; +module.exports={A:{A:{"2":"K D E F A B gC"},B:{"2":"C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s","260":"5 6 7 8 9 t u v w x AB BB CB DB EB FB GB HB IB JB KB I"},C:{"2":"0 1 2 3 4 5 6 7 8 9 hC IC J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC jC kC"},D:{"2":"0 1 2 3 4 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s","260":"5 6 7 8 9 t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC"},E:{"2":"J LB K D E lC OC mC nC oC","260":"F","420":"A B C L M G pC PC CC DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC"},F:{"2":"0 1 2 3 4 F B C G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g xC yC zC 0C CC eC 1C DC","260":"h i j k l m n o p q r s t u v w x"},G:{"2":"E OC 2C fC 3C 4C 5C 6C","420":"7C 8C 9C AD BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC"},H:{"2":"PD"},I:{"2":"IC J QD RD SD TD fC UD VD","260":"I"},J:{"2":"D A"},K:{"2":"A B C CC eC DC","260":"H"},L:{"260":"I"},M:{"2":"BC"},N:{"2":"A B"},O:{"2":"EC"},P:{"2":"J y WD XD YD ZD aD PC bD cD dD eD fD FC GC HC gD","260":"0 1 2 3 4 z"},Q:{"2":"hD"},R:{"2":"iD"},S:{"2":"jD kD"}},B:5,C:"CSS Initial Letter",D:true}; diff --git a/node_modules/caniuse-lite/data/features/css-initial-value.js b/node_modules/caniuse-lite/data/features/css-initial-value.js index d7edf3646e..34379efebf 100644 --- a/node_modules/caniuse-lite/data/features/css-initial-value.js +++ b/node_modules/caniuse-lite/data/features/css-initial-value.js @@ -1 +1 @@ -module.exports={A:{A:{"2":"K D E F A B aC"},B:{"1":"0 1 2 3 4 5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC","33":"J FB K D E F A B C L M G N O P dC eC","164":"bC DC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC"},E:{"1":"J FB K D E F A B C L M G JC gC hC iC jC KC 7B 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC","16":"fC"},F:{"1":"G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t","2":"F B C qC rC sC tC 7B YC uC 8B"},G:{"1":"E vC ZC wC xC yC zC 0C 1C 2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC","16":"JC"},H:{"2":"HD"},I:{"1":"DC J I KD LD ZC MD ND","16":"ID JD"},J:{"1":"D A"},K:{"1":"H","2":"A B C 7B YC 8B"},L:{"1":"I"},M:{"1":"6B"},N:{"2":"A B"},O:{"1":"9B"},P:{"1":"J u v w x y z OD PD QD RD SD KC TD UD VD WD XD AC BC CC YD"},Q:{"1":"ZD"},R:{"1":"aD"},S:{"1":"bD cD"}},B:4,C:"CSS initial value",D:true}; +module.exports={A:{A:{"2":"K D E F A B gC"},B:{"1":"5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC","33":"J LB K D E F A B C L M G N O P jC kC","164":"hC IC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC"},E:{"1":"J LB K D E F A B C L M G OC mC nC oC pC PC CC DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC","16":"lC"},F:{"1":"0 1 2 3 4 G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x","2":"F B C xC yC zC 0C CC eC 1C DC"},G:{"1":"E 2C fC 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC","16":"OC"},H:{"2":"PD"},I:{"1":"IC J I SD TD fC UD VD","16":"QD RD"},J:{"1":"D A"},K:{"1":"H","2":"A B C CC eC DC"},L:{"1":"I"},M:{"1":"BC"},N:{"2":"A B"},O:{"1":"EC"},P:{"1":"0 1 2 3 4 J y z WD XD YD ZD aD PC bD cD dD eD fD FC GC HC gD"},Q:{"1":"hD"},R:{"1":"iD"},S:{"1":"jD kD"}},B:4,C:"CSS initial value",D:true}; diff --git a/node_modules/caniuse-lite/data/features/css-lch-lab.js b/node_modules/caniuse-lite/data/features/css-lch-lab.js index 55e8cb1482..c92527e6b7 100644 --- a/node_modules/caniuse-lite/data/features/css-lch-lab.js +++ b/node_modules/caniuse-lite/data/features/css-lch-lab.js @@ -1 +1 @@ -module.exports={A:{A:{"2":"K D E F A B aC"},B:{"1":"0 1 2 3 4 5 6 7 8 9 AB BB CB DB EB I","2":"C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s","322":"t"},C:{"1":"2 3 4 5 6 7 8 9 AB BB CB DB EB I 6B HC IC cC","2":"bC DC J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t dC eC","194":"0 1"},D:{"1":"0 1 2 3 4 5 6 7 8 9 AB BB CB DB EB I 6B HC IC","2":"J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s","322":"t"},E:{"1":"G mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC","2":"J FB K D E F A B C L M fC JC gC hC iC jC KC 7B 8B kC lC"},F:{"1":"h i j k l m n o p q r s t","2":"F B C G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g qC rC sC tC 7B YC uC 8B"},G:{"1":"ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC","2":"E JC vC ZC wC xC yC zC 0C 1C 2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD"},H:{"2":"HD"},I:{"1":"I","2":"DC J ID JD KD LD ZC MD ND"},J:{"2":"D A"},K:{"1":"H","2":"A B C 7B YC 8B"},L:{"1":"I"},M:{"1":"6B"},N:{"2":"A B"},O:{"2":"9B"},P:{"1":"w x y z","2":"J u v OD PD QD RD SD KC TD UD VD WD XD AC BC CC YD"},Q:{"2":"ZD"},R:{"2":"aD"},S:{"2":"bD cD"}},B:4,C:"LCH and Lab color values",D:true}; +module.exports={A:{A:{"2":"K D E F A B gC"},B:{"1":"5 6 7 8 9 u v w x AB BB CB DB EB FB GB HB IB JB KB I","2":"C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s","322":"t"},C:{"1":"5 6 7 8 9 w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC","2":"0 1 2 3 4 hC IC J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t jC kC","194":"u v"},D:{"1":"5 6 7 8 9 u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC","2":"0 1 2 3 4 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s","322":"t"},E:{"1":"G sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC","2":"J LB K D E F A B C L M lC OC mC nC oC pC PC CC DC qC rC"},F:{"1":"h i j k l m n o p q r s t u v w x","2":"0 1 2 3 4 F B C G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g xC yC zC 0C CC eC 1C DC"},G:{"1":"LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC","2":"E OC 2C fC 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED FD GD HD ID JD KD"},H:{"2":"PD"},I:{"1":"I","2":"IC J QD RD SD TD fC UD VD"},J:{"2":"D A"},K:{"1":"H","2":"A B C CC eC DC"},L:{"1":"I"},M:{"1":"BC"},N:{"2":"A B"},O:{"2":"EC"},P:{"1":"0 1 2 3 4","2":"J y z WD XD YD ZD aD PC bD cD dD eD fD FC GC HC gD"},Q:{"2":"hD"},R:{"2":"iD"},S:{"2":"jD kD"}},B:4,C:"LCH and Lab color values",D:true}; diff --git a/node_modules/caniuse-lite/data/features/css-letter-spacing.js b/node_modules/caniuse-lite/data/features/css-letter-spacing.js index 97d25c3bc9..8e4445bd93 100644 --- a/node_modules/caniuse-lite/data/features/css-letter-spacing.js +++ b/node_modules/caniuse-lite/data/features/css-letter-spacing.js @@ -1 +1 @@ -module.exports={A:{A:{"1":"F A B","16":"aC","132":"K D E"},B:{"1":"0 1 2 3 4 5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 bC DC J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC dC eC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC","132":"J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB"},E:{"1":"D E F A B C L M G hC iC jC KC 7B 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC","16":"fC","132":"J FB K JC gC"},F:{"1":"O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t","16":"F qC","132":"B C G N rC sC tC 7B YC uC 8B"},G:{"1":"E vC ZC wC xC yC zC 0C 1C 2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC","16":"JC"},H:{"2":"HD"},I:{"1":"I MD ND","16":"ID JD","132":"DC J KD LD ZC"},J:{"132":"D A"},K:{"1":"H","132":"A B C 7B YC 8B"},L:{"1":"I"},M:{"1":"6B"},N:{"1":"A B"},O:{"1":"9B"},P:{"1":"J u v w x y z OD PD QD RD SD KC TD UD VD WD XD AC BC CC YD"},Q:{"1":"ZD"},R:{"1":"aD"},S:{"1":"bD cD"}},B:2,C:"letter-spacing CSS property",D:true}; +module.exports={A:{A:{"1":"F A B","16":"gC","132":"K D E"},B:{"1":"5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 hC IC J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC jC kC"},D:{"1":"5 6 7 8 9 QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC","132":"0 1 2 3 4 J LB K D E F A B C L M G N O P MB y z NB OB PB"},E:{"1":"D E F A B C L M G nC oC pC PC CC DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC","16":"lC","132":"J LB K OC mC"},F:{"1":"0 1 2 3 4 O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x","16":"F xC","132":"B C G N yC zC 0C CC eC 1C DC"},G:{"1":"E 2C fC 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC","16":"OC"},H:{"2":"PD"},I:{"1":"I UD VD","16":"QD RD","132":"IC J SD TD fC"},J:{"132":"D A"},K:{"1":"H","132":"A B C CC eC DC"},L:{"1":"I"},M:{"1":"BC"},N:{"1":"A B"},O:{"1":"EC"},P:{"1":"0 1 2 3 4 J y z WD XD YD ZD aD PC bD cD dD eD fD FC GC HC gD"},Q:{"1":"hD"},R:{"1":"iD"},S:{"1":"jD kD"}},B:2,C:"letter-spacing CSS property",D:true}; diff --git a/node_modules/caniuse-lite/data/features/css-line-clamp.js b/node_modules/caniuse-lite/data/features/css-line-clamp.js index 85c63b8f85..f851746151 100644 --- a/node_modules/caniuse-lite/data/features/css-line-clamp.js +++ b/node_modules/caniuse-lite/data/features/css-line-clamp.js @@ -1 +1 @@ -module.exports={A:{A:{"2":"K D E F A B aC"},B:{"2":"C L M G N","33":"0 1 2 3 4 5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I","129":"O P"},C:{"2":"bC DC J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB dC eC","33":"0 1 2 3 4 5 6 7 8 9 vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC"},D:{"16":"J FB K D E F A B C L","33":"0 1 2 3 4 5 6 7 8 9 M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC"},E:{"2":"J fC JC","33":"FB K D E F A B C L M G gC hC iC jC KC 7B 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC"},F:{"2":"F B C qC rC sC tC 7B YC uC 8B","33":"G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t"},G:{"2":"JC vC ZC","33":"E wC xC yC zC 0C 1C 2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC"},H:{"2":"HD"},I:{"16":"ID JD","33":"DC J I KD LD ZC MD ND"},J:{"33":"D A"},K:{"2":"A B C 7B YC 8B","33":"H"},L:{"33":"I"},M:{"33":"6B"},N:{"2":"A B"},O:{"33":"9B"},P:{"33":"J u v w x y z OD PD QD RD SD KC TD UD VD WD XD AC BC CC YD"},Q:{"33":"ZD"},R:{"33":"aD"},S:{"2":"bD","33":"cD"}},B:5,C:"CSS line-clamp",D:true}; +module.exports={A:{A:{"2":"K D E F A B gC"},B:{"2":"C L M G N","33":"5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I","129":"O P"},C:{"2":"0 1 2 3 4 hC IC J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB jC kC","33":"5 6 7 8 9 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC"},D:{"16":"J LB K D E F A B C L","33":"0 1 2 3 4 5 6 7 8 9 M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC"},E:{"2":"J lC OC","33":"LB K D E F A B C L M G mC nC oC pC PC CC DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC"},F:{"2":"F B C xC yC zC 0C CC eC 1C DC","33":"0 1 2 3 4 G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x"},G:{"2":"OC 2C fC","33":"E 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC"},H:{"2":"PD"},I:{"16":"QD RD","33":"IC J I SD TD fC UD VD"},J:{"33":"D A"},K:{"2":"A B C CC eC DC","33":"H"},L:{"33":"I"},M:{"33":"BC"},N:{"2":"A B"},O:{"33":"EC"},P:{"33":"0 1 2 3 4 J y z WD XD YD ZD aD PC bD cD dD eD fD FC GC HC gD"},Q:{"33":"hD"},R:{"33":"iD"},S:{"2":"jD","33":"kD"}},B:5,C:"CSS line-clamp",D:true}; diff --git a/node_modules/caniuse-lite/data/features/css-logical-props.js b/node_modules/caniuse-lite/data/features/css-logical-props.js index 99158000a7..4cffc4bfd4 100644 --- a/node_modules/caniuse-lite/data/features/css-logical-props.js +++ b/node_modules/caniuse-lite/data/features/css-logical-props.js @@ -1 +1 @@ -module.exports={A:{A:{"2":"K D E F A B aC"},B:{"1":"0 1 2 3 4 5 6 7 8 9 Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I","2":"C L M G N O P","1028":"W X","1540":"Q H R S T U V"},C:{"1":"0 1 2 3 4 5 6 7 8 9 tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC","2":"bC","164":"DC J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB dC eC","1540":"WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB"},D:{"1":"0 1 2 3 4 5 6 7 8 9 Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC","292":"J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB","1028":"W X","1540":"wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V"},E:{"1":"G mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC","292":"J FB K D E F A B C fC JC gC hC iC jC KC 7B","1540":"L M 8B kC","3076":"lC"},F:{"1":"3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t","2":"F B C qC rC sC tC 7B YC uC 8B","292":"G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB","1028":"1B 2B","1540":"lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B"},G:{"1":"ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC","292":"E JC vC ZC wC xC yC zC 0C 1C 2C 3C 4C 5C 6C","1540":"7C 8C 9C AD BD CD","3076":"DD"},H:{"2":"HD"},I:{"1":"I","292":"DC J ID JD KD LD ZC MD ND"},J:{"292":"D A"},K:{"1":"H","2":"A B C 7B YC 8B"},L:{"1":"I"},M:{"1":"6B"},N:{"2":"A B"},O:{"1":"9B"},P:{"1":"u v w x y z XD AC BC CC YD","292":"J OD PD QD RD SD","1540":"KC TD UD VD WD"},Q:{"1540":"ZD"},R:{"1":"aD"},S:{"1":"cD","1540":"bD"}},B:5,C:"CSS Logical Properties",D:true}; +module.exports={A:{A:{"2":"K D E F A B gC"},B:{"1":"5 6 7 8 9 Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I","2":"C L M G N O P","1028":"W X","1540":"Q H R S T U V"},C:{"1":"5 6 7 8 9 yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC","2":"hC","164":"0 1 2 3 4 IC J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB jC kC","1540":"bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB"},D:{"1":"5 6 7 8 9 Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC","292":"0 1 2 3 4 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B","1028":"W X","1540":"1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V"},E:{"1":"G sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC","292":"J LB K D E F A B C lC OC mC nC oC pC PC CC","1540":"L M DC qC","3076":"rC"},F:{"1":"8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x","2":"F B C xC yC zC 0C CC eC 1C DC","292":"0 1 2 3 4 G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB","1028":"6B 7B","1540":"qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B"},G:{"1":"LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC","292":"E OC 2C fC 3C 4C 5C 6C 7C 8C 9C AD BD CD DD","1540":"ED FD GD HD ID JD","3076":"KD"},H:{"2":"PD"},I:{"1":"I","292":"IC J QD RD SD TD fC UD VD"},J:{"292":"D A"},K:{"1":"H","2":"A B C CC eC DC"},L:{"1":"I"},M:{"1":"BC"},N:{"2":"A B"},O:{"1":"EC"},P:{"1":"0 1 2 3 4 y z fD FC GC HC gD","292":"J WD XD YD ZD aD","1540":"PC bD cD dD eD"},Q:{"1540":"hD"},R:{"1":"iD"},S:{"1":"kD","1540":"jD"}},B:5,C:"CSS Logical Properties",D:true}; diff --git a/node_modules/caniuse-lite/data/features/css-marker-pseudo.js b/node_modules/caniuse-lite/data/features/css-marker-pseudo.js index c8c67ecf04..bdab9b38eb 100644 --- a/node_modules/caniuse-lite/data/features/css-marker-pseudo.js +++ b/node_modules/caniuse-lite/data/features/css-marker-pseudo.js @@ -1 +1 @@ -module.exports={A:{A:{"2":"K D E F A B aC"},B:{"1":"0 1 2 3 4 5 6 7 8 9 V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I","2":"C L M G N O P Q H R S T U"},C:{"1":"0 1 2 3 4 5 6 7 8 9 vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC","2":"bC DC J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB dC eC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC","2":"J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U"},E:{"1":"pC","2":"J FB K D E F A B fC JC gC hC iC jC KC","129":"C L M G 7B 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC"},F:{"1":"zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t","2":"F B C G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB qC rC sC tC 7B YC uC 8B"},G:{"1":"5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC","2":"E JC vC ZC wC xC yC zC 0C 1C 2C 3C 4C"},H:{"2":"HD"},I:{"1":"I","2":"DC J ID JD KD LD ZC MD ND"},J:{"2":"D A"},K:{"1":"H","2":"A B C 7B YC 8B"},L:{"1":"I"},M:{"1":"6B"},N:{"2":"A B"},O:{"1":"9B"},P:{"1":"u v w x y z WD XD AC BC CC YD","2":"J OD PD QD RD SD KC TD UD VD"},Q:{"2":"ZD"},R:{"1":"aD"},S:{"1":"cD","2":"bD"}},B:5,C:"CSS ::marker pseudo-element",D:true}; +module.exports={A:{A:{"2":"K D E F A B gC"},B:{"1":"5 6 7 8 9 V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I","2":"C L M G N O P Q H R S T U"},C:{"1":"5 6 7 8 9 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC","2":"0 1 2 3 4 hC IC J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB jC kC"},D:{"1":"5 6 7 8 9 V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC","2":"0 1 2 3 4 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U"},E:{"1":"wC","2":"J LB K D E F A B lC OC mC nC oC pC PC","132":"C L M G CC DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC"},F:{"1":"4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x","2":"0 1 2 3 4 F B C G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B xC yC zC 0C CC eC 1C DC"},G:{"2":"E OC 2C fC 3C 4C 5C 6C 7C 8C 9C AD BD","132":"CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC"},H:{"2":"PD"},I:{"1":"I","2":"IC J QD RD SD TD fC UD VD"},J:{"2":"D A"},K:{"1":"H","2":"A B C CC eC DC"},L:{"1":"I"},M:{"1":"BC"},N:{"2":"A B"},O:{"1":"EC"},P:{"1":"0 1 2 3 4 y z eD fD FC GC HC gD","2":"J WD XD YD ZD aD PC bD cD dD"},Q:{"2":"hD"},R:{"1":"iD"},S:{"1":"kD","2":"jD"}},B:5,C:"CSS ::marker pseudo-element",D:true}; diff --git a/node_modules/caniuse-lite/data/features/css-masks.js b/node_modules/caniuse-lite/data/features/css-masks.js index 899d78cd62..46dd4b4404 100644 --- a/node_modules/caniuse-lite/data/features/css-masks.js +++ b/node_modules/caniuse-lite/data/features/css-masks.js @@ -1 +1 @@ -module.exports={A:{A:{"2":"K D E F A B aC"},B:{"1":"9 AB BB CB DB EB I","2":"C L M G N","164":"0 1 2 3 4 5 6 7 8 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t","3138":"O","12292":"P"},C:{"1":"0 1 2 3 4 5 6 7 8 9 iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC","2":"bC DC","260":"J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB dC eC"},D:{"1":"9 AB BB CB DB EB I 6B HC IC","164":"0 1 2 3 4 5 6 7 8 J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t"},E:{"1":"MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC","2":"fC JC","164":"J FB K D E F A B C L M G gC hC iC jC KC 7B 8B kC lC mC LC"},F:{"1":"p q r s t","2":"F B C qC rC sC tC 7B YC uC 8B","164":"G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o"},G:{"1":"MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC","164":"E JC vC ZC wC xC yC zC 0C 1C 2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED LC"},H:{"2":"HD"},I:{"1":"I","164":"MD ND","676":"DC J ID JD KD LD ZC"},J:{"164":"D A"},K:{"1":"H","2":"A B C 7B YC 8B"},L:{"1":"I"},M:{"1":"6B"},N:{"2":"A B"},O:{"164":"9B"},P:{"1":"z","164":"J u v w x y OD PD QD RD SD KC TD UD VD WD XD AC BC CC YD"},Q:{"164":"ZD"},R:{"164":"aD"},S:{"1":"cD","260":"bD"}},B:4,C:"CSS Masks",D:true}; +module.exports={A:{A:{"2":"K D E F A B gC"},B:{"1":"AB BB CB DB EB FB GB HB IB JB KB I","2":"C L M G N","164":"5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x","3138":"O","12292":"P"},C:{"1":"5 6 7 8 9 nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC","2":"hC IC","260":"0 1 2 3 4 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB jC kC"},D:{"1":"AB BB CB DB EB FB GB HB IB JB KB I BC MC NC","164":"0 1 2 3 4 5 6 7 8 9 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x"},E:{"1":"RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC","2":"lC OC","164":"J LB K D E F A B C L M G mC nC oC pC PC CC DC qC rC sC QC"},F:{"1":"p q r s t u v w x","2":"F B C xC yC zC 0C CC eC 1C DC","164":"0 1 2 3 4 G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o"},G:{"1":"RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC","164":"E OC 2C fC 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED FD GD HD ID JD KD LD QC"},H:{"2":"PD"},I:{"1":"I","164":"UD VD","676":"IC J QD RD SD TD fC"},J:{"164":"D A"},K:{"1":"H","2":"A B C CC eC DC"},L:{"1":"I"},M:{"1":"BC"},N:{"2":"A B"},O:{"164":"EC"},P:{"1":"3 4","164":"0 1 2 J y z WD XD YD ZD aD PC bD cD dD eD fD FC GC HC gD"},Q:{"164":"hD"},R:{"164":"iD"},S:{"1":"kD","260":"jD"}},B:4,C:"CSS Masks",D:true}; diff --git a/node_modules/caniuse-lite/data/features/css-matches-pseudo.js b/node_modules/caniuse-lite/data/features/css-matches-pseudo.js index bb6cc69670..815a4651ec 100644 --- a/node_modules/caniuse-lite/data/features/css-matches-pseudo.js +++ b/node_modules/caniuse-lite/data/features/css-matches-pseudo.js @@ -1 +1 @@ -module.exports={A:{A:{"2":"K D E F A B aC"},B:{"1":"0 1 2 3 4 5 6 7 8 9 X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I","2":"C L M G N O P","1220":"Q H R S T U V W"},C:{"1":"0 1 2 3 4 5 6 7 8 9 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC","2":"bC DC dC eC","548":"J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B"},D:{"1":"0 1 2 3 4 5 6 7 8 9 X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC","16":"J FB K D E F A B C L M","164":"G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB","196":"sB tB uB","1220":"vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W"},E:{"1":"M G lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC","2":"J fC JC","16":"FB","164":"K D E gC hC iC","260":"F A B C L jC KC 7B 8B kC"},F:{"1":"2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t","2":"F B C qC rC sC tC 7B YC uC 8B","164":"G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB","196":"hB iB jB","1220":"kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B"},G:{"1":"CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC","16":"JC vC ZC wC xC","164":"E yC zC","260":"0C 1C 2C 3C 4C 5C 6C 7C 8C 9C AD BD"},H:{"2":"HD"},I:{"1":"I","16":"DC ID JD KD","164":"J LD ZC MD ND"},J:{"16":"D","164":"A"},K:{"1":"H","2":"A B C 7B YC 8B"},L:{"1":"I"},M:{"1":"6B"},N:{"2":"A B"},O:{"1":"9B"},P:{"1":"u v w x y z XD AC BC CC YD","164":"J OD PD QD RD SD KC TD UD VD WD"},Q:{"1220":"ZD"},R:{"1":"aD"},S:{"1":"cD","548":"bD"}},B:5,C:":is() CSS pseudo-class",D:true}; +module.exports={A:{A:{"2":"K D E F A B gC"},B:{"1":"5 6 7 8 9 X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I","2":"C L M G N O P","1220":"Q H R S T U V W"},C:{"1":"5 6 7 8 9 AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC","2":"hC IC jC kC","548":"0 1 2 3 4 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B"},D:{"1":"5 6 7 8 9 X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC","16":"J LB K D E F A B C L M","164":"0 1 2 3 4 G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB","196":"xB yB zB","1220":"0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W"},E:{"1":"M G rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC","2":"J lC OC","16":"LB","164":"K D E mC nC oC","260":"F A B C L pC PC CC DC qC"},F:{"1":"7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x","2":"F B C xC yC zC 0C CC eC 1C DC","164":"0 1 2 3 4 G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB","196":"mB nB oB","1220":"pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B"},G:{"1":"JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC","16":"OC 2C fC 3C 4C","164":"E 5C 6C","260":"7C 8C 9C AD BD CD DD ED FD GD HD ID"},H:{"2":"PD"},I:{"1":"I","16":"IC QD RD SD","164":"J TD fC UD VD"},J:{"16":"D","164":"A"},K:{"1":"H","2":"A B C CC eC DC"},L:{"1":"I"},M:{"1":"BC"},N:{"2":"A B"},O:{"1":"EC"},P:{"1":"0 1 2 3 4 y z fD FC GC HC gD","164":"J WD XD YD ZD aD PC bD cD dD eD"},Q:{"1220":"hD"},R:{"1":"iD"},S:{"1":"kD","548":"jD"}},B:5,C:":is() CSS pseudo-class",D:true}; diff --git a/node_modules/caniuse-lite/data/features/css-math-functions.js b/node_modules/caniuse-lite/data/features/css-math-functions.js index f4f06d54cc..b7d6b5ecf6 100644 --- a/node_modules/caniuse-lite/data/features/css-math-functions.js +++ b/node_modules/caniuse-lite/data/features/css-math-functions.js @@ -1 +1 @@ -module.exports={A:{A:{"2":"K D E F A B aC"},B:{"1":"0 1 2 3 4 5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I","2":"C L M G N O P"},C:{"1":"0 1 2 3 4 5 6 7 8 9 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC","2":"bC DC J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B dC eC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC","2":"J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B"},E:{"1":"M G kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC","2":"J FB K D E F A B fC JC gC hC iC jC KC","132":"C L 7B 8B"},F:{"1":"tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t","2":"F B C G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB qC rC sC tC 7B YC uC 8B"},G:{"1":"BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC","2":"E JC vC ZC wC xC yC zC 0C 1C 2C 3C 4C","132":"5C 6C 7C 8C 9C AD"},H:{"2":"HD"},I:{"1":"I","2":"DC J ID JD KD LD ZC MD ND"},J:{"2":"D A"},K:{"1":"H","2":"A B C 7B YC 8B"},L:{"1":"I"},M:{"1":"6B"},N:{"2":"A B"},O:{"1":"9B"},P:{"1":"u v w x y z UD VD WD XD AC BC CC YD","2":"J OD PD QD RD SD KC TD"},Q:{"2":"ZD"},R:{"1":"aD"},S:{"1":"cD","2":"bD"}},B:5,C:"CSS math functions min(), max() and clamp()",D:true}; +module.exports={A:{A:{"2":"K D E F A B gC"},B:{"1":"5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I","2":"C L M G N O P"},C:{"1":"5 6 7 8 9 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC","2":"0 1 2 3 4 hC IC J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B jC kC"},D:{"1":"5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC","2":"0 1 2 3 4 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC"},E:{"1":"M G qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC","2":"J LB K D E F A B lC OC mC nC oC pC PC","132":"C L CC DC"},F:{"1":"yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x","2":"0 1 2 3 4 F B C G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB xC yC zC 0C CC eC 1C DC"},G:{"1":"ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC","2":"E OC 2C fC 3C 4C 5C 6C 7C 8C 9C AD BD","132":"CD DD ED FD GD HD"},H:{"2":"PD"},I:{"1":"I","2":"IC J QD RD SD TD fC UD VD"},J:{"2":"D A"},K:{"1":"H","2":"A B C CC eC DC"},L:{"1":"I"},M:{"1":"BC"},N:{"2":"A B"},O:{"1":"EC"},P:{"1":"0 1 2 3 4 y z cD dD eD fD FC GC HC gD","2":"J WD XD YD ZD aD PC bD"},Q:{"2":"hD"},R:{"1":"iD"},S:{"1":"kD","2":"jD"}},B:5,C:"CSS math functions min(), max() and clamp()",D:true}; diff --git a/node_modules/caniuse-lite/data/features/css-media-interaction.js b/node_modules/caniuse-lite/data/features/css-media-interaction.js index 913b0fab7e..3055b83eab 100644 --- a/node_modules/caniuse-lite/data/features/css-media-interaction.js +++ b/node_modules/caniuse-lite/data/features/css-media-interaction.js @@ -1 +1 @@ -module.exports={A:{A:{"2":"K D E F A B aC"},B:{"1":"0 1 2 3 4 5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC","2":"bC DC J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB dC eC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC","2":"J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB"},E:{"1":"F A B C L M G jC KC 7B 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC","2":"J FB K D E fC JC gC hC iC"},F:{"1":"JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t","2":"F B C G N O P GB u v w x y z HB IB qC rC sC tC 7B YC uC 8B"},G:{"1":"0C 1C 2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC","2":"E JC vC ZC wC xC yC zC"},H:{"2":"HD"},I:{"1":"I","2":"DC J ID JD KD LD ZC MD ND"},J:{"2":"D A"},K:{"1":"H","2":"A B C 7B YC 8B"},L:{"1":"I"},M:{"1":"6B"},N:{"2":"A B"},O:{"1":"9B"},P:{"1":"u v w x y z OD PD QD RD SD KC TD UD VD WD XD AC BC CC YD","2":"J"},Q:{"1":"ZD"},R:{"1":"aD"},S:{"1":"cD","2":"bD"}},B:4,C:"Media Queries: interaction media features",D:true}; +module.exports={A:{A:{"2":"K D E F A B gC"},B:{"1":"5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I"},C:{"1":"5 6 7 8 9 wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC","2":"0 1 2 3 4 hC IC J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB jC kC"},D:{"1":"5 6 7 8 9 bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC","2":"0 1 2 3 4 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB"},E:{"1":"F A B C L M G pC PC CC DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC","2":"J LB K D E lC OC mC nC oC"},F:{"1":"OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x","2":"0 1 2 3 4 F B C G N O P MB y z NB xC yC zC 0C CC eC 1C DC"},G:{"1":"7C 8C 9C AD BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC","2":"E OC 2C fC 3C 4C 5C 6C"},H:{"2":"PD"},I:{"1":"I","2":"IC J QD RD SD TD fC UD VD"},J:{"2":"D A"},K:{"1":"H","2":"A B C CC eC DC"},L:{"1":"I"},M:{"1":"BC"},N:{"2":"A B"},O:{"1":"EC"},P:{"1":"0 1 2 3 4 y z WD XD YD ZD aD PC bD cD dD eD fD FC GC HC gD","2":"J"},Q:{"1":"hD"},R:{"1":"iD"},S:{"1":"kD","2":"jD"}},B:4,C:"Media Queries: interaction media features",D:true}; diff --git a/node_modules/caniuse-lite/data/features/css-media-range-syntax.js b/node_modules/caniuse-lite/data/features/css-media-range-syntax.js index 42fca347be..4a364965f4 100644 --- a/node_modules/caniuse-lite/data/features/css-media-range-syntax.js +++ b/node_modules/caniuse-lite/data/features/css-media-range-syntax.js @@ -1 +1 @@ -module.exports={A:{A:{"2":"K D E F A B aC"},B:{"1":"0 1 2 3 4 5 6 7 8 9 n o p q r s t AB BB CB DB EB I","2":"C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m"},C:{"1":"0 1 2 3 4 5 6 7 8 9 qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC","2":"bC DC J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB dC eC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 n o p q r s t AB BB CB DB EB I 6B HC IC","2":"J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m"},E:{"1":"QC RC oC BC SC TC UC VC WC XC CC pC","2":"J FB K D E F A B C L M G fC JC gC hC iC jC KC 7B 8B kC lC mC LC MC 9B nC AC NC OC PC"},F:{"1":"a b c d e f g h i j k l m n o p q r s t","2":"F B C G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z qC rC sC tC 7B YC uC 8B"},G:{"1":"QC RC GD BC SC TC UC VC WC XC CC","2":"E JC vC ZC wC xC yC zC 0C 1C 2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC"},H:{"2":"HD"},I:{"1":"I","2":"DC J ID JD KD LD ZC MD ND"},J:{"2":"D A"},K:{"1":"H","2":"A B C 7B YC 8B"},L:{"1":"I"},M:{"1":"6B"},N:{"2":"A B"},O:{"2":"9B"},P:{"1":"u v w x y z","2":"J OD PD QD RD SD KC TD UD VD WD XD AC BC CC YD"},Q:{"2":"ZD"},R:{"2":"aD"},S:{"1":"cD","2":"bD"}},B:4,C:"Media Queries: Range Syntax",D:true}; +module.exports={A:{A:{"2":"K D E F A B gC"},B:{"1":"5 6 7 8 9 n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I","2":"C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m"},C:{"1":"5 6 7 8 9 vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC","2":"0 1 2 3 4 hC IC J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB jC kC"},D:{"1":"5 6 7 8 9 n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC","2":"0 1 2 3 4 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m"},E:{"1":"VC WC uC GC XC YC ZC aC bC vC HC cC dC wC","2":"J LB K D E F A B C L M G lC OC mC nC oC pC PC CC DC qC rC sC QC RC EC tC FC SC TC UC"},F:{"1":"a b c d e f g h i j k l m n o p q r s t u v w x","2":"0 1 2 3 4 F B C G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z xC yC zC 0C CC eC 1C DC"},G:{"1":"VC WC ND GC XC YC ZC aC bC OD HC cC dC","2":"E OC 2C fC 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC"},H:{"2":"PD"},I:{"1":"I","2":"IC J QD RD SD TD fC UD VD"},J:{"2":"D A"},K:{"1":"H","2":"A B C CC eC DC"},L:{"1":"I"},M:{"1":"BC"},N:{"2":"A B"},O:{"2":"EC"},P:{"1":"0 1 2 3 4 y z","2":"J WD XD YD ZD aD PC bD cD dD eD fD FC GC HC gD"},Q:{"2":"hD"},R:{"2":"iD"},S:{"1":"kD","2":"jD"}},B:4,C:"Media Queries: Range Syntax",D:true}; diff --git a/node_modules/caniuse-lite/data/features/css-media-resolution.js b/node_modules/caniuse-lite/data/features/css-media-resolution.js index 9e8341ae14..2605e3caae 100644 --- a/node_modules/caniuse-lite/data/features/css-media-resolution.js +++ b/node_modules/caniuse-lite/data/features/css-media-resolution.js @@ -1 +1 @@ -module.exports={A:{A:{"2":"K D E aC","132":"F A B"},B:{"1":"0 1 2 3 4 5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I","1028":"C L M G N O P"},C:{"1":"0 1 2 3 4 5 6 7 8 9 pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC","2":"bC DC","260":"J FB K D E F A B C L M G dC eC","1028":"N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC","548":"J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB","1028":"KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB"},E:{"1":"AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC","2":"fC JC","548":"J FB K D E F A B C L M G gC hC iC jC KC 7B 8B kC lC mC LC MC 9B nC"},F:{"1":"kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t 8B","2":"F","548":"B C qC rC sC tC 7B YC uC","1028":"G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB"},G:{"1":"AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC","16":"JC","548":"E vC ZC wC xC yC zC 0C 1C 2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD"},H:{"132":"HD"},I:{"1":"I","16":"ID JD","548":"DC J KD LD ZC","1028":"MD ND"},J:{"548":"D A"},K:{"1":"H 8B","548":"A B C 7B YC"},L:{"1":"I"},M:{"1":"6B"},N:{"132":"A B"},O:{"1":"9B"},P:{"1":"u v w x y z KC TD UD VD WD XD AC BC CC YD","1028":"J OD PD QD RD SD"},Q:{"1":"ZD"},R:{"1":"aD"},S:{"1":"bD cD"}},B:4,C:"Media Queries: resolution feature",D:true}; +module.exports={A:{A:{"2":"K D E gC","132":"F A B"},B:{"1":"5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I","1028":"C L M G N O P"},C:{"1":"5 6 7 8 9 uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC","2":"hC IC","260":"J LB K D E F A B C L M G jC kC","1028":"0 1 2 3 4 N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC"},D:{"1":"5 6 7 8 9 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC","548":"0 1 2 3 4 J LB K D E F A B C L M G N O P MB y z NB OB","1028":"PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB"},E:{"1":"FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC","2":"lC OC","548":"J LB K D E F A B C L M G mC nC oC pC PC CC DC qC rC sC QC RC EC tC"},F:{"1":"pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x DC","2":"F","548":"B C xC yC zC 0C CC eC 1C","1028":"0 1 2 3 4 G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB"},G:{"1":"FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC","16":"OC","548":"E 2C fC 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD"},H:{"132":"PD"},I:{"1":"I","16":"QD RD","548":"IC J SD TD fC","1028":"UD VD"},J:{"548":"D A"},K:{"1":"H DC","548":"A B C CC eC"},L:{"1":"I"},M:{"1":"BC"},N:{"132":"A B"},O:{"1":"EC"},P:{"1":"0 1 2 3 4 y z PC bD cD dD eD fD FC GC HC gD","1028":"J WD XD YD ZD aD"},Q:{"1":"hD"},R:{"1":"iD"},S:{"1":"jD kD"}},B:4,C:"Media Queries: resolution feature",D:true}; diff --git a/node_modules/caniuse-lite/data/features/css-media-scripting.js b/node_modules/caniuse-lite/data/features/css-media-scripting.js index f01279002f..5d618b40f3 100644 --- a/node_modules/caniuse-lite/data/features/css-media-scripting.js +++ b/node_modules/caniuse-lite/data/features/css-media-scripting.js @@ -1 +1 @@ -module.exports={A:{A:{"2":"K D E F A B aC"},B:{"2":"0 1 2 3 4 5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I"},C:{"2":"0 1 2 3 4 5 6 7 8 9 bC DC J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC dC eC"},D:{"2":"0 1 2 3 4 5 6 7 8 9 J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC"},E:{"2":"J FB K D E F A B C L M G fC JC gC hC iC jC KC 7B 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC"},F:{"2":"F B C G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t qC rC sC tC 7B YC uC 8B"},G:{"2":"E JC vC ZC wC xC yC zC 0C 1C 2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC"},H:{"2":"HD"},I:{"2":"DC J I ID JD KD LD ZC MD ND"},J:{"2":"D A"},K:{"2":"A B C H 7B YC 8B"},L:{"2":"I"},M:{"2":"6B"},N:{"2":"A B"},O:{"2":"9B"},P:{"2":"J u v w x y z OD PD QD RD SD KC TD UD VD WD XD AC BC CC YD"},Q:{"2":"ZD"},R:{"2":"aD"},S:{"2":"bD cD"}},B:5,C:"Media Queries: scripting media feature",D:false}; +module.exports={A:{A:{"2":"K D E F A B gC"},B:{"2":"5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I"},C:{"2":"0 1 2 3 4 5 6 7 8 9 hC IC J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC jC kC"},D:{"2":"0 1 2 3 4 5 6 7 8 9 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC"},E:{"2":"J LB K D E F A B C L M G lC OC mC nC oC pC PC CC DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC"},F:{"2":"0 1 2 3 4 F B C G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x xC yC zC 0C CC eC 1C DC"},G:{"2":"E OC 2C fC 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC"},H:{"2":"PD"},I:{"2":"IC J I QD RD SD TD fC UD VD"},J:{"2":"D A"},K:{"2":"A B C H CC eC DC"},L:{"2":"I"},M:{"2":"BC"},N:{"2":"A B"},O:{"2":"EC"},P:{"2":"0 1 2 3 4 J y z WD XD YD ZD aD PC bD cD dD eD fD FC GC HC gD"},Q:{"2":"hD"},R:{"2":"iD"},S:{"2":"jD kD"}},B:5,C:"Media Queries: scripting media feature",D:false}; diff --git a/node_modules/caniuse-lite/data/features/css-mediaqueries.js b/node_modules/caniuse-lite/data/features/css-mediaqueries.js index ac0431f37e..68380ffafb 100644 --- a/node_modules/caniuse-lite/data/features/css-mediaqueries.js +++ b/node_modules/caniuse-lite/data/features/css-mediaqueries.js @@ -1 +1 @@ -module.exports={A:{A:{"8":"K D E aC","129":"F A B"},B:{"1":"0 1 2 3 4 5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC dC eC","2":"bC DC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC","129":"J FB K D E F A B C L M G N O P GB u v w x y z"},E:{"1":"D E F A B C L M G hC iC jC KC 7B 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC","129":"J FB K gC","388":"fC JC"},F:{"1":"B C G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t qC rC sC tC 7B YC uC 8B","2":"F"},G:{"1":"E yC zC 0C 1C 2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC","129":"JC vC ZC wC xC"},H:{"1":"HD"},I:{"1":"I MD ND","129":"DC J ID JD KD LD ZC"},J:{"1":"D A"},K:{"1":"A B C H 7B YC 8B"},L:{"1":"I"},M:{"1":"6B"},N:{"129":"A B"},O:{"1":"9B"},P:{"1":"J u v w x y z OD PD QD RD SD KC TD UD VD WD XD AC BC CC YD"},Q:{"1":"ZD"},R:{"1":"aD"},S:{"1":"bD cD"}},B:2,C:"CSS3 Media Queries",D:true}; +module.exports={A:{A:{"8":"K D E gC","129":"F A B"},B:{"1":"5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC jC kC","2":"hC IC"},D:{"1":"4 5 6 7 8 9 NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC","129":"0 1 2 3 J LB K D E F A B C L M G N O P MB y z"},E:{"1":"D E F A B C L M G nC oC pC PC CC DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC","129":"J LB K mC","388":"lC OC"},F:{"1":"0 1 2 3 4 B C G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x xC yC zC 0C CC eC 1C DC","2":"F"},G:{"1":"E 5C 6C 7C 8C 9C AD BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC","129":"OC 2C fC 3C 4C"},H:{"1":"PD"},I:{"1":"I UD VD","129":"IC J QD RD SD TD fC"},J:{"1":"D A"},K:{"1":"A B C H CC eC DC"},L:{"1":"I"},M:{"1":"BC"},N:{"129":"A B"},O:{"1":"EC"},P:{"1":"0 1 2 3 4 J y z WD XD YD ZD aD PC bD cD dD eD fD FC GC HC gD"},Q:{"1":"hD"},R:{"1":"iD"},S:{"1":"jD kD"}},B:2,C:"CSS3 Media Queries",D:true}; diff --git a/node_modules/caniuse-lite/data/features/css-mixblendmode.js b/node_modules/caniuse-lite/data/features/css-mixblendmode.js index 5d130b7dd3..d877d69497 100644 --- a/node_modules/caniuse-lite/data/features/css-mixblendmode.js +++ b/node_modules/caniuse-lite/data/features/css-mixblendmode.js @@ -1 +1 @@ -module.exports={A:{A:{"2":"K D E F A B aC"},B:{"1":"0 1 2 3 4 5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I","2":"C L M G N O P"},C:{"1":"0 1 2 3 4 5 6 7 8 9 NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC","2":"bC DC J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB dC eC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC","2":"J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB","194":"KB LB MB NB OB PB QB RB SB TB UB VB"},E:{"2":"J FB K D fC JC gC hC","260":"E F A B C L M G iC jC KC 7B 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC"},F:{"1":"KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t","2":"F B C G N O P GB u v w x y z HB IB JB qC rC sC tC 7B YC uC 8B"},G:{"2":"JC vC ZC wC xC yC","260":"E zC 0C 1C 2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC"},H:{"2":"HD"},I:{"1":"I","2":"DC J ID JD KD LD ZC MD ND"},J:{"2":"D A"},K:{"1":"H","2":"A B C 7B YC 8B"},L:{"1":"I"},M:{"1":"6B"},N:{"2":"A B"},O:{"1":"9B"},P:{"1":"u v w x y z OD PD QD RD SD KC TD UD VD WD XD AC BC CC YD","2":"J"},Q:{"1":"ZD"},R:{"1":"aD"},S:{"1":"bD cD"}},B:4,C:"Blending of HTML/SVG elements",D:true}; +module.exports={A:{A:{"2":"K D E F A B gC"},B:{"1":"5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I","2":"C L M G N O P"},C:{"1":"5 6 7 8 9 SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC","2":"0 1 2 3 4 hC IC J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB jC kC"},D:{"1":"5 6 7 8 9 bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC","2":"0 1 2 3 4 J LB K D E F A B C L M G N O P MB y z NB OB","194":"PB QB RB SB TB UB VB WB XB YB ZB aB"},E:{"2":"J LB K D lC OC mC nC","260":"E F A B C L M G oC pC PC CC DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC"},F:{"1":"PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x","2":"0 1 2 3 4 F B C G N O P MB y z NB OB xC yC zC 0C CC eC 1C DC"},G:{"2":"OC 2C fC 3C 4C 5C","260":"E 6C 7C 8C 9C AD BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC"},H:{"2":"PD"},I:{"1":"I","2":"IC J QD RD SD TD fC UD VD"},J:{"2":"D A"},K:{"1":"H","2":"A B C CC eC DC"},L:{"1":"I"},M:{"1":"BC"},N:{"2":"A B"},O:{"1":"EC"},P:{"1":"0 1 2 3 4 y z WD XD YD ZD aD PC bD cD dD eD fD FC GC HC gD","2":"J"},Q:{"1":"hD"},R:{"1":"iD"},S:{"1":"jD kD"}},B:4,C:"Blending of HTML/SVG elements",D:true}; diff --git a/node_modules/caniuse-lite/data/features/css-module-scripts.js b/node_modules/caniuse-lite/data/features/css-module-scripts.js index 21f6f58999..f9c1454fe2 100644 --- a/node_modules/caniuse-lite/data/features/css-module-scripts.js +++ b/node_modules/caniuse-lite/data/features/css-module-scripts.js @@ -1 +1 @@ -module.exports={A:{A:{"2":"K D E F A B aC"},B:{"1":"CB DB EB I","2":"C L M G N O P Q H R S T U V W X Y Z a b","132":"0 1 2 3 4 5 6 7 8 9 c d e f g h i j k l m n o p q r s t AB BB"},C:{"2":"0 1 2 3 4 5 6 7 8 9 bC DC J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC dC eC"},D:{"1":"CB DB EB I 6B HC IC","2":"J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b","132":"0 1 2 3 4 5 6 7 8 9 c d e f g h i j k l m n o p q r s t AB BB"},E:{"2":"J FB K D E F A B C L M G fC JC gC hC iC jC KC 7B 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC"},F:{"16":"F B C G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t qC rC sC tC 7B YC uC 8B"},G:{"2":"E JC vC ZC wC xC yC zC 0C 1C 2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC"},H:{"2":"HD"},I:{"2":"DC J I ID JD KD LD ZC MD ND"},J:{"2":"D A"},K:{"2":"A B C H 7B YC 8B"},L:{"194":"I"},M:{"2":"6B"},N:{"2":"A B"},O:{"2":"9B"},P:{"2":"J u v w x y z OD PD QD RD SD KC TD UD VD WD XD AC BC CC YD"},Q:{"2":"ZD"},R:{"2":"aD"},S:{"2":"bD cD"}},B:1,C:"CSS Module Scripts",D:false}; +module.exports={A:{A:{"2":"K D E F A B gC"},B:{"1":"DB EB FB GB HB IB JB KB I","2":"C L M G N O P Q H R S T U V W X Y Z a b","132":"5 6 7 8 9 c d e f g h i j k l m n o p q r s t u v w x AB BB CB"},C:{"2":"0 1 2 3 4 5 6 7 8 9 hC IC J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC jC kC"},D:{"1":"DB EB FB GB HB IB JB KB I BC MC NC","2":"0 1 2 3 4 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b","132":"5 6 7 8 9 c d e f g h i j k l m n o p q r s t u v w x AB BB CB"},E:{"2":"J LB K D E F A B C L M G lC OC mC nC oC pC PC CC DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC"},F:{"16":"0 1 2 3 4 F B C G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x xC yC zC 0C CC eC 1C DC"},G:{"2":"E OC 2C fC 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC"},H:{"2":"PD"},I:{"2":"IC J I QD RD SD TD fC UD VD"},J:{"2":"D A"},K:{"2":"A B C H CC eC DC"},L:{"194":"I"},M:{"2":"BC"},N:{"2":"A B"},O:{"2":"EC"},P:{"2":"0 1 2 3 4 J y z WD XD YD ZD aD PC bD cD dD eD fD FC GC HC gD"},Q:{"2":"hD"},R:{"2":"iD"},S:{"2":"jD kD"}},B:1,C:"CSS Module Scripts",D:false}; diff --git a/node_modules/caniuse-lite/data/features/css-motion-paths.js b/node_modules/caniuse-lite/data/features/css-motion-paths.js index a934e5ac2f..909b19e208 100644 --- a/node_modules/caniuse-lite/data/features/css-motion-paths.js +++ b/node_modules/caniuse-lite/data/features/css-motion-paths.js @@ -1 +1 @@ -module.exports={A:{A:{"2":"K D E F A B aC"},B:{"1":"0 1 2 3 4 5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I","2":"C L M G N O P"},C:{"1":"0 1 2 3 4 5 6 7 8 9 zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC","2":"bC DC J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB dC eC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC","2":"J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB","194":"YB ZB aB"},E:{"1":"AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC","2":"J FB K D E F A B C L M G fC JC gC hC iC jC KC 7B 8B kC lC mC LC MC 9B nC"},F:{"1":"OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t","2":"F B C G N O P GB u v w x y z HB IB JB KB qC rC sC tC 7B YC uC 8B","194":"LB MB NB"},G:{"1":"AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC","2":"E JC vC ZC wC xC yC zC 0C 1C 2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD"},H:{"2":"HD"},I:{"1":"I","2":"DC J ID JD KD LD ZC MD ND"},J:{"2":"D A"},K:{"1":"H","2":"A B C 7B YC 8B"},L:{"1":"I"},M:{"1":"6B"},N:{"2":"A B"},O:{"1":"9B"},P:{"1":"u v w x y z OD PD QD RD SD KC TD UD VD WD XD AC BC CC YD","2":"J"},Q:{"1":"ZD"},R:{"1":"aD"},S:{"1":"cD","2":"bD"}},B:5,C:"CSS Motion Path",D:true}; +module.exports={A:{A:{"2":"K D E F A B gC"},B:{"1":"5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I","2":"C L M G N O P"},C:{"1":"5 6 7 8 9 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC","2":"0 1 2 3 4 hC IC J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B jC kC"},D:{"1":"5 6 7 8 9 gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC","2":"0 1 2 3 4 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB","194":"dB eB fB"},E:{"1":"FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC","2":"J LB K D E F A B C L M G lC OC mC nC oC pC PC CC DC qC rC sC QC RC EC tC"},F:{"1":"TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x","2":"0 1 2 3 4 F B C G N O P MB y z NB OB PB xC yC zC 0C CC eC 1C DC","194":"QB RB SB"},G:{"1":"FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC","2":"E OC 2C fC 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD"},H:{"2":"PD"},I:{"1":"I","2":"IC J QD RD SD TD fC UD VD"},J:{"2":"D A"},K:{"1":"H","2":"A B C CC eC DC"},L:{"1":"I"},M:{"1":"BC"},N:{"2":"A B"},O:{"1":"EC"},P:{"1":"0 1 2 3 4 y z WD XD YD ZD aD PC bD cD dD eD fD FC GC HC gD","2":"J"},Q:{"1":"hD"},R:{"1":"iD"},S:{"1":"kD","2":"jD"}},B:5,C:"CSS Motion Path",D:true}; diff --git a/node_modules/caniuse-lite/data/features/css-namespaces.js b/node_modules/caniuse-lite/data/features/css-namespaces.js index 2f76148bee..a6615a3f9d 100644 --- a/node_modules/caniuse-lite/data/features/css-namespaces.js +++ b/node_modules/caniuse-lite/data/features/css-namespaces.js @@ -1 +1 @@ -module.exports={A:{A:{"1":"F A B","2":"K D E aC"},B:{"1":"0 1 2 3 4 5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 bC DC J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC dC eC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC"},E:{"1":"J FB K D E F A B C L M G gC hC iC jC KC 7B 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC","16":"fC JC"},F:{"1":"F B C G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t qC rC sC tC 7B YC uC 8B"},G:{"1":"E ZC wC xC yC zC 0C 1C 2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC","16":"JC vC"},H:{"1":"HD"},I:{"1":"DC J I ID JD KD LD ZC MD ND"},J:{"1":"D A"},K:{"1":"A B C H 7B YC 8B"},L:{"1":"I"},M:{"1":"6B"},N:{"1":"A B"},O:{"1":"9B"},P:{"1":"J u v w x y z OD PD QD RD SD KC TD UD VD WD XD AC BC CC YD"},Q:{"1":"ZD"},R:{"1":"aD"},S:{"1":"bD cD"}},B:2,C:"CSS namespaces",D:true}; +module.exports={A:{A:{"1":"F A B","2":"K D E gC"},B:{"1":"5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 hC IC J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC jC kC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC"},E:{"1":"J LB K D E F A B C L M G mC nC oC pC PC CC DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC","16":"lC OC"},F:{"1":"0 1 2 3 4 F B C G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x xC yC zC 0C CC eC 1C DC"},G:{"1":"E fC 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC","16":"OC 2C"},H:{"1":"PD"},I:{"1":"IC J I QD RD SD TD fC UD VD"},J:{"1":"D A"},K:{"1":"A B C H CC eC DC"},L:{"1":"I"},M:{"1":"BC"},N:{"1":"A B"},O:{"1":"EC"},P:{"1":"0 1 2 3 4 J y z WD XD YD ZD aD PC bD cD dD eD fD FC GC HC gD"},Q:{"1":"hD"},R:{"1":"iD"},S:{"1":"jD kD"}},B:2,C:"CSS namespaces",D:true}; diff --git a/node_modules/caniuse-lite/data/features/css-nesting.js b/node_modules/caniuse-lite/data/features/css-nesting.js index 291e2aca9e..827d628302 100644 --- a/node_modules/caniuse-lite/data/features/css-nesting.js +++ b/node_modules/caniuse-lite/data/features/css-nesting.js @@ -1 +1 @@ -module.exports={A:{A:{"2":"K D E F A B aC"},B:{"1":"9 AB BB CB DB EB I","2":"C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r","194":"0 s t","516":"1 2 3 4 5 6 7 8"},C:{"1":"6 7 8 9 AB BB CB DB EB I 6B HC IC cC","2":"0 1 2 3 bC DC J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t dC eC","322":"4 5"},D:{"1":"9 AB BB CB DB EB I 6B HC IC","2":"J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r","194":"0 s t","516":"1 2 3 4 5 6 7 8"},E:{"1":"TC UC VC WC XC CC pC","2":"J FB K D E F A B C L M G fC JC gC hC iC jC KC 7B 8B kC lC mC LC MC 9B nC AC NC OC PC QC","516":"RC oC BC SC"},F:{"1":"p q r s t","2":"F B C G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d qC rC sC tC 7B YC uC 8B","194":"e f g","516":"h i j k l m n o"},G:{"1":"TC UC VC WC XC CC","2":"E JC vC ZC wC xC yC zC 0C 1C 2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC","516":"RC GD BC SC"},H:{"2":"HD"},I:{"1":"I","2":"DC J ID JD KD LD ZC MD ND"},J:{"2":"D A"},K:{"1":"H","2":"A B C 7B YC 8B"},L:{"1":"I"},M:{"1":"6B"},N:{"2":"A B"},O:{"2":"9B"},P:{"2":"J u v w OD PD QD RD SD KC TD UD VD WD XD AC BC CC YD","516":"x y z"},Q:{"2":"ZD"},R:{"2":"aD"},S:{"2":"bD cD"}},B:5,C:"CSS Nesting",D:true}; +module.exports={A:{A:{"2":"K D E F A B gC"},B:{"1":"AB BB CB DB EB FB GB HB IB JB KB I","2":"C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r","194":"s t u","516":"5 6 7 8 9 v w x"},C:{"1":"7 8 9 AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC","2":"0 1 2 3 4 hC IC J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x jC kC","322":"5 6"},D:{"1":"AB BB CB DB EB FB GB HB IB JB KB I BC MC NC","2":"0 1 2 3 4 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r","194":"s t u","516":"5 6 7 8 9 v w x"},E:{"1":"YC ZC aC bC vC HC cC dC wC","2":"J LB K D E F A B C L M G lC OC mC nC oC pC PC CC DC qC rC sC QC RC EC tC FC SC TC UC VC","516":"WC uC GC XC"},F:{"1":"p q r s t u v w x","2":"0 1 2 3 4 F B C G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d xC yC zC 0C CC eC 1C DC","194":"e f g","516":"h i j k l m n o"},G:{"1":"YC ZC aC bC OD HC cC dC","2":"E OC 2C fC 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC","516":"WC ND GC XC"},H:{"2":"PD"},I:{"1":"I","2":"IC J QD RD SD TD fC UD VD"},J:{"2":"D A"},K:{"1":"H","2":"A B C CC eC DC"},L:{"1":"I"},M:{"1":"BC"},N:{"2":"A B"},O:{"2":"EC"},P:{"2":"0 J y z WD XD YD ZD aD PC bD cD dD eD fD FC GC HC gD","516":"1 2 3 4"},Q:{"2":"hD"},R:{"2":"iD"},S:{"2":"jD kD"}},B:5,C:"CSS Nesting",D:true}; diff --git a/node_modules/caniuse-lite/data/features/css-not-sel-list.js b/node_modules/caniuse-lite/data/features/css-not-sel-list.js index b3b1b53366..f08e6b5d39 100644 --- a/node_modules/caniuse-lite/data/features/css-not-sel-list.js +++ b/node_modules/caniuse-lite/data/features/css-not-sel-list.js @@ -1 +1 @@ -module.exports={A:{A:{"2":"K D E F A B aC"},B:{"1":"0 1 2 3 4 5 6 7 8 9 X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I","2":"C L M G N O P H R S T U V W","16":"Q"},C:{"1":"0 1 2 3 4 5 6 7 8 9 T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC","2":"bC DC J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S dC eC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC","2":"J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W"},E:{"1":"F A B C L M G jC KC 7B 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC","2":"J FB K D E fC JC gC hC iC"},F:{"1":"2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t","2":"F B C G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B qC rC sC tC 7B YC uC 8B"},G:{"1":"0C 1C 2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC","2":"E JC vC ZC wC xC yC zC"},H:{"2":"HD"},I:{"1":"I","2":"DC J ID JD KD LD ZC MD ND"},J:{"2":"D A"},K:{"1":"H","2":"A B C 7B YC 8B"},L:{"1":"I"},M:{"1":"6B"},N:{"2":"A B"},O:{"1":"9B"},P:{"1":"u v w x y z XD AC BC CC YD","2":"J OD PD QD RD SD KC TD UD VD WD"},Q:{"2":"ZD"},R:{"1":"aD"},S:{"1":"cD","2":"bD"}},B:5,C:"selector list argument of :not()",D:true}; +module.exports={A:{A:{"2":"K D E F A B gC"},B:{"1":"5 6 7 8 9 X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I","2":"C L M G N O P H R S T U V W","16":"Q"},C:{"1":"5 6 7 8 9 T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC","2":"0 1 2 3 4 hC IC J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S jC kC"},D:{"1":"5 6 7 8 9 X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC","2":"0 1 2 3 4 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W"},E:{"1":"F A B C L M G pC PC CC DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC","2":"J LB K D E lC OC mC nC oC"},F:{"1":"7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x","2":"0 1 2 3 4 F B C G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B xC yC zC 0C CC eC 1C DC"},G:{"1":"7C 8C 9C AD BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC","2":"E OC 2C fC 3C 4C 5C 6C"},H:{"2":"PD"},I:{"1":"I","2":"IC J QD RD SD TD fC UD VD"},J:{"2":"D A"},K:{"1":"H","2":"A B C CC eC DC"},L:{"1":"I"},M:{"1":"BC"},N:{"2":"A B"},O:{"1":"EC"},P:{"1":"0 1 2 3 4 y z fD FC GC HC gD","2":"J WD XD YD ZD aD PC bD cD dD eD"},Q:{"2":"hD"},R:{"1":"iD"},S:{"1":"kD","2":"jD"}},B:5,C:"selector list argument of :not()",D:true}; diff --git a/node_modules/caniuse-lite/data/features/css-nth-child-of.js b/node_modules/caniuse-lite/data/features/css-nth-child-of.js index 8c7a71ec4d..8e8c7b71c7 100644 --- a/node_modules/caniuse-lite/data/features/css-nth-child-of.js +++ b/node_modules/caniuse-lite/data/features/css-nth-child-of.js @@ -1 +1 @@ -module.exports={A:{A:{"2":"K D E F A B aC"},B:{"1":"0 1 2 3 4 5 6 7 8 9 AB BB CB DB EB I","2":"C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t"},C:{"1":"2 3 4 5 6 7 8 9 AB BB CB DB EB I 6B HC IC cC","2":"0 1 bC DC J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t dC eC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 AB BB CB DB EB I 6B HC IC","2":"J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t"},E:{"1":"F A B C L M G jC KC 7B 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC","2":"J FB K D E fC JC gC hC iC"},F:{"1":"h i j k l m n o p q r s t","2":"F B C G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g qC rC sC tC 7B YC uC 8B"},G:{"1":"0C 1C 2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC","2":"E JC vC ZC wC xC yC zC"},H:{"2":"HD"},I:{"1":"I","2":"DC J ID JD KD LD ZC MD ND"},J:{"2":"D A"},K:{"1":"H","2":"A B C 7B YC 8B"},L:{"1":"I"},M:{"1":"6B"},N:{"2":"A B"},O:{"2":"9B"},P:{"1":"w x y z","2":"J u v OD PD QD RD SD KC TD UD VD WD XD AC BC CC YD"},Q:{"2":"ZD"},R:{"2":"aD"},S:{"2":"bD cD"}},B:5,C:"selector list argument of :nth-child and :nth-last-child CSS pseudo-classes",D:true}; +module.exports={A:{A:{"2":"K D E F A B gC"},B:{"1":"5 6 7 8 9 u v w x AB BB CB DB EB FB GB HB IB JB KB I","2":"C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t"},C:{"1":"5 6 7 8 9 w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC","2":"0 1 2 3 4 hC IC J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v jC kC"},D:{"1":"5 6 7 8 9 u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC","2":"0 1 2 3 4 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t"},E:{"1":"F A B C L M G pC PC CC DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC","2":"J LB K D E lC OC mC nC oC"},F:{"1":"h i j k l m n o p q r s t u v w x","2":"0 1 2 3 4 F B C G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g xC yC zC 0C CC eC 1C DC"},G:{"1":"7C 8C 9C AD BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC","2":"E OC 2C fC 3C 4C 5C 6C"},H:{"2":"PD"},I:{"1":"I","2":"IC J QD RD SD TD fC UD VD"},J:{"2":"D A"},K:{"1":"H","2":"A B C CC eC DC"},L:{"1":"I"},M:{"1":"BC"},N:{"2":"A B"},O:{"2":"EC"},P:{"1":"0 1 2 3 4","2":"J y z WD XD YD ZD aD PC bD cD dD eD fD FC GC HC gD"},Q:{"2":"hD"},R:{"2":"iD"},S:{"2":"jD kD"}},B:5,C:"selector list argument of :nth-child and :nth-last-child CSS pseudo-classes",D:true}; diff --git a/node_modules/caniuse-lite/data/features/css-opacity.js b/node_modules/caniuse-lite/data/features/css-opacity.js index 3def456147..a7a794fc82 100644 --- a/node_modules/caniuse-lite/data/features/css-opacity.js +++ b/node_modules/caniuse-lite/data/features/css-opacity.js @@ -1 +1 @@ -module.exports={A:{A:{"1":"F A B","4":"K D E aC"},B:{"1":"0 1 2 3 4 5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 bC DC J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC dC eC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC"},E:{"1":"J FB K D E F A B C L M G fC JC gC hC iC jC KC 7B 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC"},F:{"1":"F B C G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t qC rC sC tC 7B YC uC 8B"},G:{"1":"E JC vC ZC wC xC yC zC 0C 1C 2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC"},H:{"1":"HD"},I:{"1":"DC J I ID JD KD LD ZC MD ND"},J:{"1":"D A"},K:{"1":"A B C H 7B YC 8B"},L:{"1":"I"},M:{"1":"6B"},N:{"1":"A B"},O:{"1":"9B"},P:{"1":"J u v w x y z OD PD QD RD SD KC TD UD VD WD XD AC BC CC YD"},Q:{"1":"ZD"},R:{"1":"aD"},S:{"1":"bD cD"}},B:2,C:"CSS3 Opacity",D:true}; +module.exports={A:{A:{"1":"F A B","4":"K D E gC"},B:{"1":"5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 hC IC J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC jC kC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC"},E:{"1":"J LB K D E F A B C L M G lC OC mC nC oC pC PC CC DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC"},F:{"1":"0 1 2 3 4 F B C G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x xC yC zC 0C CC eC 1C DC"},G:{"1":"E OC 2C fC 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC"},H:{"1":"PD"},I:{"1":"IC J I QD RD SD TD fC UD VD"},J:{"1":"D A"},K:{"1":"A B C H CC eC DC"},L:{"1":"I"},M:{"1":"BC"},N:{"1":"A B"},O:{"1":"EC"},P:{"1":"0 1 2 3 4 J y z WD XD YD ZD aD PC bD cD dD eD fD FC GC HC gD"},Q:{"1":"hD"},R:{"1":"iD"},S:{"1":"jD kD"}},B:2,C:"CSS3 Opacity",D:true}; diff --git a/node_modules/caniuse-lite/data/features/css-optional-pseudo.js b/node_modules/caniuse-lite/data/features/css-optional-pseudo.js index 3ba14bda45..d07e842935 100644 --- a/node_modules/caniuse-lite/data/features/css-optional-pseudo.js +++ b/node_modules/caniuse-lite/data/features/css-optional-pseudo.js @@ -1 +1 @@ -module.exports={A:{A:{"1":"A B","2":"K D E F aC"},B:{"1":"0 1 2 3 4 5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC","2":"bC DC dC eC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC","16":"J FB K D E F A B C L M"},E:{"1":"FB K D E F A B C L M G gC hC iC jC KC 7B 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC","2":"J fC JC"},F:{"1":"G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t","16":"F qC","132":"B C rC sC tC 7B YC uC 8B"},G:{"1":"E wC xC yC zC 0C 1C 2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC","2":"JC vC ZC"},H:{"132":"HD"},I:{"1":"DC J I KD LD ZC MD ND","16":"ID JD"},J:{"1":"D A"},K:{"1":"H","132":"A B C 7B YC 8B"},L:{"1":"I"},M:{"1":"6B"},N:{"1":"A B"},O:{"1":"9B"},P:{"1":"J u v w x y z OD PD QD RD SD KC TD UD VD WD XD AC BC CC YD"},Q:{"1":"ZD"},R:{"1":"aD"},S:{"1":"bD cD"}},B:5,C:":optional CSS pseudo-class",D:true}; +module.exports={A:{A:{"1":"A B","2":"K D E F gC"},B:{"1":"5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC","2":"hC IC jC kC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC","16":"J LB K D E F A B C L M"},E:{"1":"LB K D E F A B C L M G mC nC oC pC PC CC DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC","2":"J lC OC"},F:{"1":"0 1 2 3 4 G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x","16":"F xC","132":"B C yC zC 0C CC eC 1C DC"},G:{"1":"E 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC","2":"OC 2C fC"},H:{"132":"PD"},I:{"1":"IC J I SD TD fC UD VD","16":"QD RD"},J:{"1":"D A"},K:{"1":"H","132":"A B C CC eC DC"},L:{"1":"I"},M:{"1":"BC"},N:{"1":"A B"},O:{"1":"EC"},P:{"1":"0 1 2 3 4 J y z WD XD YD ZD aD PC bD cD dD eD fD FC GC HC gD"},Q:{"1":"hD"},R:{"1":"iD"},S:{"1":"jD kD"}},B:5,C:":optional CSS pseudo-class",D:true}; diff --git a/node_modules/caniuse-lite/data/features/css-overflow-anchor.js b/node_modules/caniuse-lite/data/features/css-overflow-anchor.js index a3d7a8b46f..6e4f063569 100644 --- a/node_modules/caniuse-lite/data/features/css-overflow-anchor.js +++ b/node_modules/caniuse-lite/data/features/css-overflow-anchor.js @@ -1 +1 @@ -module.exports={A:{A:{"2":"K D E F A B aC"},B:{"1":"0 1 2 3 4 5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I","2":"C L M G N O P"},C:{"1":"0 1 2 3 4 5 6 7 8 9 tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC","2":"bC DC J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB dC eC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC","2":"J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB"},E:{"2":"J FB K D E F A B C L M G fC JC gC hC iC jC KC 7B 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC"},F:{"1":"YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t","2":"F B C G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB qC rC sC tC 7B YC uC 8B"},G:{"2":"E JC vC ZC wC xC yC zC 0C 1C 2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC"},H:{"2":"HD"},I:{"1":"I","2":"DC J ID JD KD LD ZC MD ND"},J:{"2":"D A"},K:{"1":"H","2":"A B C 7B YC 8B"},L:{"1":"I"},M:{"1":"6B"},N:{"2":"A B"},O:{"1":"9B"},P:{"1":"u v w x y z OD PD QD RD SD KC TD UD VD WD XD AC BC CC YD","2":"J"},Q:{"1":"ZD"},R:{"1":"aD"},S:{"1":"cD","2":"bD"}},B:5,C:"CSS overflow-anchor (Scroll Anchoring)",D:true}; +module.exports={A:{A:{"2":"K D E F A B gC"},B:{"1":"5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I","2":"C L M G N O P"},C:{"1":"5 6 7 8 9 yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC","2":"0 1 2 3 4 hC IC J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB jC kC"},D:{"1":"5 6 7 8 9 qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC","2":"0 1 2 3 4 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB"},E:{"2":"J LB K D E F A B C L M G lC OC mC nC oC pC PC CC DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC"},F:{"1":"dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x","2":"0 1 2 3 4 F B C G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB xC yC zC 0C CC eC 1C DC"},G:{"2":"E OC 2C fC 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC"},H:{"2":"PD"},I:{"1":"I","2":"IC J QD RD SD TD fC UD VD"},J:{"2":"D A"},K:{"1":"H","2":"A B C CC eC DC"},L:{"1":"I"},M:{"1":"BC"},N:{"2":"A B"},O:{"1":"EC"},P:{"1":"0 1 2 3 4 y z WD XD YD ZD aD PC bD cD dD eD fD FC GC HC gD","2":"J"},Q:{"1":"hD"},R:{"1":"iD"},S:{"1":"kD","2":"jD"}},B:5,C:"CSS overflow-anchor (Scroll Anchoring)",D:true}; diff --git a/node_modules/caniuse-lite/data/features/css-overflow-overlay.js b/node_modules/caniuse-lite/data/features/css-overflow-overlay.js index ace2b98ff7..d5b3bd6d4b 100644 --- a/node_modules/caniuse-lite/data/features/css-overflow-overlay.js +++ b/node_modules/caniuse-lite/data/features/css-overflow-overlay.js @@ -1 +1 @@ -module.exports={A:{A:{"2":"K D E F A B aC"},B:{"1":"0 1 2 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t","2":"C L M G N O P","130":"3 4 5 6 7 8 9 AB BB CB DB EB I"},C:{"2":"0 1 2 3 4 5 6 7 8 9 bC DC J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC dC eC"},D:{"1":"0 1 2 G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t","16":"J FB K D E F A B C L M","130":"3 4 5 6 7 8 9 AB BB CB DB EB I 6B HC IC"},E:{"1":"J FB K D E F A B gC hC iC jC KC 7B","16":"fC JC","130":"C L M G 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC"},F:{"1":"G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i","2":"F B C qC rC sC tC 7B YC uC 8B","130":"j k l m n o p q r s t"},G:{"1":"E vC ZC wC xC yC zC 0C 1C 2C 3C 4C 5C","16":"JC","130":"6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC"},H:{"2":"HD"},I:{"1":"DC J ID JD KD LD ZC MD ND","130":"I"},J:{"16":"D A"},K:{"1":"H","2":"A B C 7B YC 8B"},L:{"130":"I"},M:{"2":"6B"},N:{"2":"A B"},O:{"1":"9B"},P:{"1":"J u v w x y z OD PD QD RD SD KC TD UD VD WD XD AC BC CC YD"},Q:{"1":"ZD"},R:{"1":"aD"},S:{"2":"bD cD"}},B:7,C:"CSS overflow: overlay",D:true}; +module.exports={A:{A:{"2":"K D E F A B gC"},B:{"1":"Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w","2":"C L M G N O P","130":"5 6 7 8 9 x AB BB CB DB EB FB GB HB IB JB KB I"},C:{"2":"0 1 2 3 4 5 6 7 8 9 hC IC J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC jC kC"},D:{"1":"0 1 2 3 4 G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w","16":"J LB K D E F A B C L M","130":"5 6 7 8 9 x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC"},E:{"1":"J LB K D E F A B mC nC oC pC PC CC","16":"lC OC","130":"C L M G DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC"},F:{"1":"0 1 2 3 4 G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i","2":"F B C xC yC zC 0C CC eC 1C DC","130":"j k l m n o p q r s t u v w x"},G:{"1":"E 2C fC 3C 4C 5C 6C 7C 8C 9C AD BD CD","16":"OC","130":"DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC"},H:{"2":"PD"},I:{"1":"IC J QD RD SD TD fC UD VD","130":"I"},J:{"16":"D A"},K:{"1":"H","2":"A B C CC eC DC"},L:{"130":"I"},M:{"2":"BC"},N:{"2":"A B"},O:{"1":"EC"},P:{"1":"0 1 2 3 4 J y z WD XD YD ZD aD PC bD cD dD eD fD FC GC HC gD"},Q:{"1":"hD"},R:{"1":"iD"},S:{"2":"jD kD"}},B:7,C:"CSS overflow: overlay",D:true}; diff --git a/node_modules/caniuse-lite/data/features/css-overflow.js b/node_modules/caniuse-lite/data/features/css-overflow.js index e0c61e11b6..de9ee68c76 100644 --- a/node_modules/caniuse-lite/data/features/css-overflow.js +++ b/node_modules/caniuse-lite/data/features/css-overflow.js @@ -1 +1 @@ -module.exports={A:{A:{"388":"K D E F A B aC"},B:{"1":"0 1 2 3 4 5 6 7 8 9 Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I","260":"Q H R S T U V W X Y","388":"C L M G N O P"},C:{"1":"0 1 2 3 4 5 6 7 8 9 R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC","260":"FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H","388":"bC DC J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB dC eC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC","260":"vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y","388":"J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB"},E:{"1":"AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC","260":"M G kC lC mC LC MC 9B nC","388":"J FB K D E F A B C L fC JC gC hC iC jC KC 7B 8B"},F:{"1":"3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t","260":"kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B","388":"F B C G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB qC rC sC tC 7B YC uC 8B"},G:{"1":"AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC","260":"BD CD DD ED LC MC 9B FD","388":"E JC vC ZC wC xC yC zC 0C 1C 2C 3C 4C 5C 6C 7C 8C 9C AD"},H:{"388":"HD"},I:{"1":"I","388":"DC J ID JD KD LD ZC MD ND"},J:{"388":"D A"},K:{"1":"H","388":"A B C 7B YC 8B"},L:{"1":"I"},M:{"1":"6B"},N:{"388":"A B"},O:{"388":"9B"},P:{"1":"u v w x y z XD AC BC CC YD","388":"J OD PD QD RD SD KC TD UD VD WD"},Q:{"388":"ZD"},R:{"1":"aD"},S:{"1":"cD","388":"bD"}},B:5,C:"CSS overflow property",D:true}; +module.exports={A:{A:{"388":"K D E F A B gC"},B:{"1":"5 6 7 8 9 Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I","260":"Q H R S T U V W X Y","388":"C L M G N O P"},C:{"1":"5 6 7 8 9 R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC","260":"KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H","388":"0 1 2 3 4 hC IC J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB jC kC"},D:{"1":"5 6 7 8 9 Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC","260":"0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y","388":"0 1 2 3 4 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB"},E:{"1":"FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC","260":"M G qC rC sC QC RC EC tC","388":"J LB K D E F A B C L lC OC mC nC oC pC PC CC DC"},F:{"1":"8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x","260":"pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B","388":"0 1 2 3 4 F B C G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB xC yC zC 0C CC eC 1C DC"},G:{"1":"FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC","260":"ID JD KD LD QC RC EC MD","388":"E OC 2C fC 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED FD GD HD"},H:{"388":"PD"},I:{"1":"I","388":"IC J QD RD SD TD fC UD VD"},J:{"388":"D A"},K:{"1":"H","388":"A B C CC eC DC"},L:{"1":"I"},M:{"1":"BC"},N:{"388":"A B"},O:{"388":"EC"},P:{"1":"0 1 2 3 4 y z fD FC GC HC gD","388":"J WD XD YD ZD aD PC bD cD dD eD"},Q:{"388":"hD"},R:{"1":"iD"},S:{"1":"kD","388":"jD"}},B:5,C:"CSS overflow property",D:true}; diff --git a/node_modules/caniuse-lite/data/features/css-overscroll-behavior.js b/node_modules/caniuse-lite/data/features/css-overscroll-behavior.js index 1bc3ac93fb..3fd728cc47 100644 --- a/node_modules/caniuse-lite/data/features/css-overscroll-behavior.js +++ b/node_modules/caniuse-lite/data/features/css-overscroll-behavior.js @@ -1 +1 @@ -module.exports={A:{A:{"2":"K D E F aC","132":"A B"},B:{"1":"0 1 2 3 4 5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I","132":"C L M G N O","516":"P"},C:{"1":"0 1 2 3 4 5 6 7 8 9 EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC","2":"bC DC J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB dC eC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC","2":"J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB","260":"qB rB"},E:{"1":"AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC","2":"J FB K D E F A B C L M fC JC gC hC iC jC KC 7B 8B kC","1090":"G lC mC LC MC 9B nC"},F:{"1":"hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t","2":"F B C G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB qC rC sC tC 7B YC uC 8B","260":"fB gB"},G:{"1":"AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC","2":"E JC vC ZC wC xC yC zC 0C 1C 2C 3C 4C 5C 6C 7C 8C 9C AD BD CD","1090":"DD ED LC MC 9B FD"},H:{"2":"HD"},I:{"1":"I","2":"DC J ID JD KD LD ZC MD ND"},J:{"2":"D A"},K:{"1":"H","2":"A B C 7B YC 8B"},L:{"1":"I"},M:{"1":"6B"},N:{"132":"A B"},O:{"1":"9B"},P:{"1":"u v w x y z RD SD KC TD UD VD WD XD AC BC CC YD","2":"J OD PD QD"},Q:{"1":"ZD"},R:{"1":"aD"},S:{"1":"cD","2":"bD"}},B:5,C:"CSS overscroll-behavior",D:true}; +module.exports={A:{A:{"2":"K D E F gC","132":"A B"},B:{"1":"5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I","132":"C L M G N O","516":"P"},C:{"1":"5 6 7 8 9 JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC","2":"0 1 2 3 4 hC IC J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB jC kC"},D:{"1":"5 6 7 8 9 xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC","2":"0 1 2 3 4 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB","260":"vB wB"},E:{"1":"FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC","2":"J LB K D E F A B C L M lC OC mC nC oC pC PC CC DC qC","1090":"G rC sC QC RC EC tC"},F:{"1":"mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x","2":"0 1 2 3 4 F B C G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB xC yC zC 0C CC eC 1C DC","260":"kB lB"},G:{"1":"FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC","2":"E OC 2C fC 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED FD GD HD ID JD","1090":"KD LD QC RC EC MD"},H:{"2":"PD"},I:{"1":"I","2":"IC J QD RD SD TD fC UD VD"},J:{"2":"D A"},K:{"1":"H","2":"A B C CC eC DC"},L:{"1":"I"},M:{"1":"BC"},N:{"132":"A B"},O:{"1":"EC"},P:{"1":"0 1 2 3 4 y z ZD aD PC bD cD dD eD fD FC GC HC gD","2":"J WD XD YD"},Q:{"1":"hD"},R:{"1":"iD"},S:{"1":"kD","2":"jD"}},B:5,C:"CSS overscroll-behavior",D:true}; diff --git a/node_modules/caniuse-lite/data/features/css-page-break.js b/node_modules/caniuse-lite/data/features/css-page-break.js index 2b788ac3f6..bac83abec3 100644 --- a/node_modules/caniuse-lite/data/features/css-page-break.js +++ b/node_modules/caniuse-lite/data/features/css-page-break.js @@ -1 +1 @@ -module.exports={A:{A:{"388":"A B","900":"K D E F aC"},B:{"388":"C L M G N O P","641":"0 1 2 3 4 5 6 7 8 9 r s t AB BB CB DB EB I","900":"Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q"},C:{"772":"0 1 2 3 4 5 6 7 8 9 sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC","900":"bC DC J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB dC eC"},D:{"641":"0 1 2 3 4 5 6 7 8 9 r s t AB BB CB DB EB I 6B HC IC","900":"J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q"},E:{"772":"A","900":"J FB K D E F B C L M G fC JC gC hC iC jC KC 7B 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC"},F:{"16":"F qC","129":"B C rC sC tC 7B YC uC 8B","641":"d e f g h i j k l m n o p q r s t","900":"G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c"},G:{"900":"E JC vC ZC wC xC yC zC 0C 1C 2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC"},H:{"129":"HD"},I:{"641":"I","900":"DC J ID JD KD LD ZC MD ND"},J:{"900":"D A"},K:{"129":"A B C 7B YC 8B","641":"H"},L:{"900":"I"},M:{"772":"6B"},N:{"388":"A B"},O:{"900":"9B"},P:{"641":"v w x y z","900":"J u OD PD QD RD SD KC TD UD VD WD XD AC BC CC YD"},Q:{"900":"ZD"},R:{"900":"aD"},S:{"772":"cD","900":"bD"}},B:2,C:"CSS page-break properties",D:true}; +module.exports={A:{A:{"388":"A B","900":"K D E F gC"},B:{"388":"C L M G N O P","641":"5 6 7 8 9 r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I","900":"Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q"},C:{"772":"5 6 7 8 9 xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC","900":"0 1 2 3 4 hC IC J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB jC kC"},D:{"641":"5 6 7 8 9 r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC","900":"0 1 2 3 4 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q"},E:{"772":"A","900":"J LB K D E F B C L M G lC OC mC nC oC pC PC CC DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC"},F:{"16":"F xC","129":"B C yC zC 0C CC eC 1C DC","641":"d e f g h i j k l m n o p q r s t u v w x","900":"0 1 2 3 4 G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c"},G:{"900":"E OC 2C fC 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC"},H:{"129":"PD"},I:{"641":"I","900":"IC J QD RD SD TD fC UD VD"},J:{"900":"D A"},K:{"129":"A B C CC eC DC","641":"H"},L:{"900":"I"},M:{"772":"BC"},N:{"388":"A B"},O:{"900":"EC"},P:{"641":"0 1 2 3 4 z","900":"J y WD XD YD ZD aD PC bD cD dD eD fD FC GC HC gD"},Q:{"900":"hD"},R:{"900":"iD"},S:{"772":"kD","900":"jD"}},B:2,C:"CSS page-break properties",D:true}; diff --git a/node_modules/caniuse-lite/data/features/css-paged-media.js b/node_modules/caniuse-lite/data/features/css-paged-media.js index 4c574a7054..00c4de35b9 100644 --- a/node_modules/caniuse-lite/data/features/css-paged-media.js +++ b/node_modules/caniuse-lite/data/features/css-paged-media.js @@ -1 +1 @@ -module.exports={A:{A:{"2":"K D aC","132":"E F A B"},B:{"1":"0 1 2 3 4 5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I","132":"C L M G N O P"},C:{"1":"0 1 2 3 4 5 6 7 8 9 e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC","2":"bC DC J FB K D E F A B C L M G N O P dC eC","132":"GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d"},D:{"1":"0 1 2 3 4 5 6 7 8 9 G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC","16":"J FB K D E F A B C L M"},E:{"2":"J FB K D E F A B C L M G fC JC gC hC iC jC KC 7B 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC"},F:{"1":"G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t","132":"F B C qC rC sC tC 7B YC uC 8B"},G:{"2":"E JC vC ZC wC xC yC zC 0C 1C 2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC"},H:{"16":"HD"},I:{"16":"DC J I ID JD KD LD ZC MD ND"},J:{"16":"D A"},K:{"1":"H","16":"A B C 7B YC 8B"},L:{"1":"I"},M:{"1":"6B"},N:{"258":"A B"},O:{"1":"9B"},P:{"1":"J u v w x y z OD PD QD RD SD KC TD UD VD WD XD AC BC CC YD"},Q:{"1":"ZD"},R:{"1":"aD"},S:{"132":"bD cD"}},B:5,C:"CSS Paged Media (@page)",D:true}; +module.exports={A:{A:{"2":"K D gC","132":"E F A B"},B:{"1":"5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I","132":"C L M G N O P"},C:{"1":"5 6 7 8 9 e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC","2":"hC IC J LB K D E F A B C L M G N O P jC kC","132":"0 1 2 3 4 MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d"},D:{"1":"0 1 2 3 4 5 6 7 8 9 G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC","16":"J LB K D E F A B C L M"},E:{"2":"J LB K D E F A B C L M G lC OC mC nC oC pC PC CC DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC"},F:{"1":"0 1 2 3 4 G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x","132":"F B C xC yC zC 0C CC eC 1C DC"},G:{"2":"E OC 2C fC 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC"},H:{"16":"PD"},I:{"16":"IC J I QD RD SD TD fC UD VD"},J:{"16":"D A"},K:{"1":"H","16":"A B C CC eC DC"},L:{"1":"I"},M:{"1":"BC"},N:{"258":"A B"},O:{"1":"EC"},P:{"1":"0 1 2 3 4 J y z WD XD YD ZD aD PC bD cD dD eD fD FC GC HC gD"},Q:{"1":"hD"},R:{"1":"iD"},S:{"132":"jD kD"}},B:5,C:"CSS Paged Media (@page)",D:true}; diff --git a/node_modules/caniuse-lite/data/features/css-paint-api.js b/node_modules/caniuse-lite/data/features/css-paint-api.js index 7c7f534753..12149a42a0 100644 --- a/node_modules/caniuse-lite/data/features/css-paint-api.js +++ b/node_modules/caniuse-lite/data/features/css-paint-api.js @@ -1 +1 @@ -module.exports={A:{A:{"2":"K D E F A B aC"},B:{"1":"0 1 2 3 4 5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I","2":"C L M G N O P"},C:{"2":"0 1 2 3 4 5 6 7 8 9 bC DC J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC dC eC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC","2":"J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB"},E:{"2":"J FB K D E F A B C fC JC gC hC iC jC KC 7B","194":"L M G 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC"},F:{"1":"hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t","2":"F B C G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB qC rC sC tC 7B YC uC 8B"},G:{"2":"E JC vC ZC wC xC yC zC 0C 1C 2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC"},H:{"2":"HD"},I:{"1":"I","2":"DC J ID JD KD LD ZC MD ND"},J:{"2":"D A"},K:{"1":"H","2":"A B C 7B YC 8B"},L:{"1":"I"},M:{"2":"6B"},N:{"2":"A B"},O:{"1":"9B"},P:{"1":"u v w x y z SD KC TD UD VD WD XD AC BC CC YD","2":"J OD PD QD RD"},Q:{"1":"ZD"},R:{"1":"aD"},S:{"2":"bD cD"}},B:4,C:"CSS Painting API",D:true}; +module.exports={A:{A:{"2":"K D E F A B gC"},B:{"1":"5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I","2":"C L M G N O P"},C:{"2":"0 1 2 3 4 5 6 7 8 9 hC IC J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC jC kC"},D:{"1":"5 6 7 8 9 xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC","2":"0 1 2 3 4 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB"},E:{"2":"J LB K D E F A B C lC OC mC nC oC pC PC CC","194":"L M G DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC"},F:{"1":"mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x","2":"0 1 2 3 4 F B C G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB xC yC zC 0C CC eC 1C DC"},G:{"2":"E OC 2C fC 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC"},H:{"2":"PD"},I:{"1":"I","2":"IC J QD RD SD TD fC UD VD"},J:{"2":"D A"},K:{"1":"H","2":"A B C CC eC DC"},L:{"1":"I"},M:{"2":"BC"},N:{"2":"A B"},O:{"1":"EC"},P:{"1":"0 1 2 3 4 y z aD PC bD cD dD eD fD FC GC HC gD","2":"J WD XD YD ZD"},Q:{"1":"hD"},R:{"1":"iD"},S:{"2":"jD kD"}},B:4,C:"CSS Painting API",D:true}; diff --git a/node_modules/caniuse-lite/data/features/css-placeholder-shown.js b/node_modules/caniuse-lite/data/features/css-placeholder-shown.js index c9840ead84..d846c0499b 100644 --- a/node_modules/caniuse-lite/data/features/css-placeholder-shown.js +++ b/node_modules/caniuse-lite/data/features/css-placeholder-shown.js @@ -1 +1 @@ -module.exports={A:{A:{"2":"K D E F aC","292":"A B"},B:{"1":"0 1 2 3 4 5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I","2":"C L M G N O P"},C:{"1":"0 1 2 3 4 5 6 7 8 9 gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC","2":"bC DC dC eC","164":"J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB"},D:{"1":"0 1 2 3 4 5 6 7 8 9 cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC","2":"J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB"},E:{"1":"F A B C L M G jC KC 7B 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC","2":"J FB K D E fC JC gC hC iC"},F:{"1":"PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t","2":"F B C G N O P GB u v w x y z HB IB JB KB LB MB NB OB qC rC sC tC 7B YC uC 8B"},G:{"1":"0C 1C 2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC","2":"E JC vC ZC wC xC yC zC"},H:{"2":"HD"},I:{"1":"I","2":"DC J ID JD KD LD ZC MD ND"},J:{"2":"D A"},K:{"1":"H","2":"A B C 7B YC 8B"},L:{"1":"I"},M:{"1":"6B"},N:{"2":"A B"},O:{"1":"9B"},P:{"1":"u v w x y z OD PD QD RD SD KC TD UD VD WD XD AC BC CC YD","2":"J"},Q:{"1":"ZD"},R:{"1":"aD"},S:{"1":"cD","164":"bD"}},B:5,C:":placeholder-shown CSS pseudo-class",D:true}; +module.exports={A:{A:{"2":"K D E F gC","292":"A B"},B:{"1":"5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I","2":"C L M G N O P"},C:{"1":"5 6 7 8 9 lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC","2":"hC IC jC kC","164":"0 1 2 3 4 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB"},D:{"1":"5 6 7 8 9 hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC","2":"0 1 2 3 4 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB"},E:{"1":"F A B C L M G pC PC CC DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC","2":"J LB K D E lC OC mC nC oC"},F:{"1":"UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x","2":"0 1 2 3 4 F B C G N O P MB y z NB OB PB QB RB SB TB xC yC zC 0C CC eC 1C DC"},G:{"1":"7C 8C 9C AD BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC","2":"E OC 2C fC 3C 4C 5C 6C"},H:{"2":"PD"},I:{"1":"I","2":"IC J QD RD SD TD fC UD VD"},J:{"2":"D A"},K:{"1":"H","2":"A B C CC eC DC"},L:{"1":"I"},M:{"1":"BC"},N:{"2":"A B"},O:{"1":"EC"},P:{"1":"0 1 2 3 4 y z WD XD YD ZD aD PC bD cD dD eD fD FC GC HC gD","2":"J"},Q:{"1":"hD"},R:{"1":"iD"},S:{"1":"kD","164":"jD"}},B:5,C:":placeholder-shown CSS pseudo-class",D:true}; diff --git a/node_modules/caniuse-lite/data/features/css-placeholder.js b/node_modules/caniuse-lite/data/features/css-placeholder.js index 7e2061e3f6..2292da6d81 100644 --- a/node_modules/caniuse-lite/data/features/css-placeholder.js +++ b/node_modules/caniuse-lite/data/features/css-placeholder.js @@ -1 +1 @@ -module.exports={A:{A:{"2":"K D E F A B aC"},B:{"1":"0 1 2 3 4 5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I","36":"C L M G N O P"},C:{"1":"0 1 2 3 4 5 6 7 8 9 gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC","33":"GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB","130":"bC DC J FB K D E F A B C L M G N O P dC eC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC","36":"J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB"},E:{"1":"B C L M G KC 7B 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC","2":"J fC JC","36":"FB K D E F A gC hC iC jC"},F:{"1":"ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t","2":"F B C qC rC sC tC 7B YC uC 8B","36":"G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB"},G:{"1":"3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC","2":"JC vC","36":"E ZC wC xC yC zC 0C 1C 2C"},H:{"2":"HD"},I:{"1":"I","36":"DC J ID JD KD LD ZC MD ND"},J:{"36":"D A"},K:{"1":"H","2":"A B C 7B YC 8B"},L:{"1":"I"},M:{"1":"6B"},N:{"36":"A B"},O:{"1":"9B"},P:{"1":"u v w x y z QD RD SD KC TD UD VD WD XD AC BC CC YD","36":"J OD PD"},Q:{"1":"ZD"},R:{"1":"aD"},S:{"1":"cD","33":"bD"}},B:5,C:"::placeholder CSS pseudo-element",D:true}; +module.exports={A:{A:{"2":"K D E F A B gC"},B:{"1":"5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I","36":"C L M G N O P"},C:{"1":"5 6 7 8 9 lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC","33":"0 1 2 3 4 MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB","130":"hC IC J LB K D E F A B C L M G N O P jC kC"},D:{"1":"5 6 7 8 9 rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC","36":"0 1 2 3 4 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB"},E:{"1":"B C L M G PC CC DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC","2":"J lC OC","36":"LB K D E F A mC nC oC pC"},F:{"1":"eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x","2":"F B C xC yC zC 0C CC eC 1C DC","36":"0 1 2 3 4 G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB"},G:{"1":"AD BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC","2":"OC 2C","36":"E fC 3C 4C 5C 6C 7C 8C 9C"},H:{"2":"PD"},I:{"1":"I","36":"IC J QD RD SD TD fC UD VD"},J:{"36":"D A"},K:{"1":"H","2":"A B C CC eC DC"},L:{"1":"I"},M:{"1":"BC"},N:{"36":"A B"},O:{"1":"EC"},P:{"1":"0 1 2 3 4 y z YD ZD aD PC bD cD dD eD fD FC GC HC gD","36":"J WD XD"},Q:{"1":"hD"},R:{"1":"iD"},S:{"1":"kD","33":"jD"}},B:5,C:"::placeholder CSS pseudo-element",D:true}; diff --git a/node_modules/caniuse-lite/data/features/css-print-color-adjust.js b/node_modules/caniuse-lite/data/features/css-print-color-adjust.js index 9fa008405e..45a3c0d406 100644 --- a/node_modules/caniuse-lite/data/features/css-print-color-adjust.js +++ b/node_modules/caniuse-lite/data/features/css-print-color-adjust.js @@ -1 +1 @@ -module.exports={A:{D:{"2":"J FB K D E F A B C L M G N","33":"0 1 2 3 4 5 6 7 8 9 O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC"},L:{"33":"I"},B:{"2":"C L M G N O P","33":"0 1 2 3 4 5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC","2":"bC DC J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dC eC","33":"dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f"},M:{"1":"6B"},A:{"2":"K D E F A B aC"},F:{"2":"F B C qC rC sC tC 7B YC uC 8B","33":"G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t"},K:{"2":"A B C 7B YC 8B","33":"H"},E:{"1":"MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC","2":"J FB fC JC gC pC","33":"K D E F A B C L M G hC iC jC KC 7B 8B kC lC mC LC"},G:{"1":"MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC","2":"JC vC ZC wC","33":"E xC yC zC 0C 1C 2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED LC"},P:{"33":"J u v w x y z OD PD QD RD SD KC TD UD VD WD XD AC BC CC YD"},I:{"2":"DC J ID JD KD LD ZC","33":"I MD ND"}},B:6,C:"print-color-adjust property",D:undefined}; +module.exports={A:{D:{"2":"J LB K D E F A B C L M G N","33":"0 1 2 3 4 5 6 7 8 9 O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC"},L:{"33":"I"},B:{"2":"C L M G N O P","33":"5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I"},C:{"1":"5 6 7 8 9 g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC","2":"0 1 2 3 4 hC IC J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB jC kC","33":"iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f"},M:{"1":"BC"},A:{"2":"K D E F A B gC"},F:{"2":"F B C xC yC zC 0C CC eC 1C DC","33":"0 1 2 3 4 G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x"},K:{"2":"A B C CC eC DC","33":"H"},E:{"1":"RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC","2":"J LB lC OC mC wC","33":"K D E F A B C L M G nC oC pC PC CC DC qC rC sC QC"},G:{"1":"RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC","2":"OC 2C fC 3C","33":"E 4C 5C 6C 7C 8C 9C AD BD CD DD ED FD GD HD ID JD KD LD QC"},P:{"33":"0 1 2 3 4 J y z WD XD YD ZD aD PC bD cD dD eD fD FC GC HC gD"},I:{"2":"IC J QD RD SD TD fC","33":"I UD VD"}},B:6,C:"print-color-adjust property",D:undefined}; diff --git a/node_modules/caniuse-lite/data/features/css-read-only-write.js b/node_modules/caniuse-lite/data/features/css-read-only-write.js index fa2b0821c3..4a7a452467 100644 --- a/node_modules/caniuse-lite/data/features/css-read-only-write.js +++ b/node_modules/caniuse-lite/data/features/css-read-only-write.js @@ -1 +1 @@ -module.exports={A:{A:{"2":"K D E F A B aC"},B:{"1":"0 1 2 3 4 5 6 7 8 9 L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I","2":"C"},C:{"1":"0 1 2 3 4 5 6 7 8 9 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC","16":"bC","33":"DC J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B dC eC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC","16":"J FB K D E F A B C L M","132":"G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB"},E:{"1":"F A B C L M G jC KC 7B 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC","16":"fC JC","132":"J FB K D E gC hC iC"},F:{"1":"x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t","16":"F B qC rC sC tC 7B","132":"C G N O P GB u v w YC uC 8B"},G:{"1":"0C 1C 2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC","16":"JC vC","132":"E ZC wC xC yC zC"},H:{"2":"HD"},I:{"1":"I","16":"ID JD","132":"DC J KD LD ZC MD ND"},J:{"1":"A","132":"D"},K:{"1":"H","2":"A B 7B","132":"C YC 8B"},L:{"1":"I"},M:{"1":"6B"},N:{"2":"A B"},O:{"1":"9B"},P:{"1":"J u v w x y z OD PD QD RD SD KC TD UD VD WD XD AC BC CC YD"},Q:{"1":"ZD"},R:{"1":"aD"},S:{"1":"cD","33":"bD"}},B:1,C:"CSS :read-only and :read-write selectors",D:true}; +module.exports={A:{A:{"2":"K D E F A B gC"},B:{"1":"5 6 7 8 9 L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I","2":"C"},C:{"1":"5 6 7 8 9 AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC","16":"hC","33":"0 1 2 3 4 IC J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B jC kC"},D:{"1":"5 6 7 8 9 WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC","16":"J LB K D E F A B C L M","132":"0 1 2 3 4 G N O P MB y z NB OB PB QB RB SB TB UB VB"},E:{"1":"F A B C L M G pC PC CC DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC","16":"lC OC","132":"J LB K D E mC nC oC"},F:{"1":"1 2 3 4 NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x","16":"F B xC yC zC 0C CC","132":"0 C G N O P MB y z eC 1C DC"},G:{"1":"7C 8C 9C AD BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC","16":"OC 2C","132":"E fC 3C 4C 5C 6C"},H:{"2":"PD"},I:{"1":"I","16":"QD RD","132":"IC J SD TD fC UD VD"},J:{"1":"A","132":"D"},K:{"1":"H","2":"A B CC","132":"C eC DC"},L:{"1":"I"},M:{"1":"BC"},N:{"2":"A B"},O:{"1":"EC"},P:{"1":"0 1 2 3 4 J y z WD XD YD ZD aD PC bD cD dD eD fD FC GC HC gD"},Q:{"1":"hD"},R:{"1":"iD"},S:{"1":"kD","33":"jD"}},B:1,C:"CSS :read-only and :read-write selectors",D:true}; diff --git a/node_modules/caniuse-lite/data/features/css-rebeccapurple.js b/node_modules/caniuse-lite/data/features/css-rebeccapurple.js index e32337b569..664f7fc0fc 100644 --- a/node_modules/caniuse-lite/data/features/css-rebeccapurple.js +++ b/node_modules/caniuse-lite/data/features/css-rebeccapurple.js @@ -1 +1 @@ -module.exports={A:{A:{"2":"K D E F A aC","132":"B"},B:{"1":"0 1 2 3 4 5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC","2":"bC DC J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB dC eC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC","2":"J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB"},E:{"1":"D E F A B C L M G iC jC KC 7B 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC","2":"J FB K fC JC gC","16":"hC"},F:{"1":"z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t","2":"F B C G N O P GB u v w x y qC rC sC tC 7B YC uC 8B"},G:{"1":"E zC 0C 1C 2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC","2":"JC vC ZC wC xC yC"},H:{"2":"HD"},I:{"1":"I MD ND","2":"DC J ID JD KD LD ZC"},J:{"2":"D A"},K:{"1":"H","2":"A B C 7B YC 8B"},L:{"1":"I"},M:{"1":"6B"},N:{"2":"A B"},O:{"1":"9B"},P:{"1":"J u v w x y z OD PD QD RD SD KC TD UD VD WD XD AC BC CC YD"},Q:{"1":"ZD"},R:{"1":"aD"},S:{"1":"bD cD"}},B:4,C:"Rebeccapurple color",D:true}; +module.exports={A:{A:{"2":"K D E F A gC","132":"B"},B:{"1":"5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I"},C:{"1":"5 6 7 8 9 TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC","2":"0 1 2 3 4 hC IC J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB jC kC"},D:{"1":"5 6 7 8 9 YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC","2":"0 1 2 3 4 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB"},E:{"1":"D E F A B C L M G oC pC PC CC DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC","2":"J LB K lC OC mC","16":"nC"},F:{"1":"3 4 NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x","2":"0 1 2 F B C G N O P MB y z xC yC zC 0C CC eC 1C DC"},G:{"1":"E 6C 7C 8C 9C AD BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC","2":"OC 2C fC 3C 4C 5C"},H:{"2":"PD"},I:{"1":"I UD VD","2":"IC J QD RD SD TD fC"},J:{"2":"D A"},K:{"1":"H","2":"A B C CC eC DC"},L:{"1":"I"},M:{"1":"BC"},N:{"2":"A B"},O:{"1":"EC"},P:{"1":"0 1 2 3 4 J y z WD XD YD ZD aD PC bD cD dD eD fD FC GC HC gD"},Q:{"1":"hD"},R:{"1":"iD"},S:{"1":"jD kD"}},B:4,C:"Rebeccapurple color",D:true}; diff --git a/node_modules/caniuse-lite/data/features/css-reflections.js b/node_modules/caniuse-lite/data/features/css-reflections.js index f74480205b..c89324d2c5 100644 --- a/node_modules/caniuse-lite/data/features/css-reflections.js +++ b/node_modules/caniuse-lite/data/features/css-reflections.js @@ -1 +1 @@ -module.exports={A:{A:{"2":"K D E F A B aC"},B:{"2":"C L M G N O P","33":"0 1 2 3 4 5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I"},C:{"2":"0 1 2 3 4 5 6 7 8 9 bC DC J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC dC eC"},D:{"33":"0 1 2 3 4 5 6 7 8 9 J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC"},E:{"2":"fC JC","33":"J FB K D E F A B C L M G gC hC iC jC KC 7B 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC"},F:{"2":"F B C qC rC sC tC 7B YC uC 8B","33":"G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t"},G:{"33":"E JC vC ZC wC xC yC zC 0C 1C 2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC"},H:{"2":"HD"},I:{"33":"DC J I ID JD KD LD ZC MD ND"},J:{"33":"D A"},K:{"2":"A B C 7B YC 8B","33":"H"},L:{"33":"I"},M:{"2":"6B"},N:{"2":"A B"},O:{"33":"9B"},P:{"33":"J u v w x y z OD PD QD RD SD KC TD UD VD WD XD AC BC CC YD"},Q:{"33":"ZD"},R:{"33":"aD"},S:{"2":"bD cD"}},B:7,C:"CSS Reflections",D:true}; +module.exports={A:{A:{"2":"K D E F A B gC"},B:{"2":"C L M G N O P","33":"5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I"},C:{"2":"0 1 2 3 4 5 6 7 8 9 hC IC J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC jC kC"},D:{"33":"0 1 2 3 4 5 6 7 8 9 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC"},E:{"2":"lC OC","33":"J LB K D E F A B C L M G mC nC oC pC PC CC DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC"},F:{"2":"F B C xC yC zC 0C CC eC 1C DC","33":"0 1 2 3 4 G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x"},G:{"33":"E OC 2C fC 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC"},H:{"2":"PD"},I:{"33":"IC J I QD RD SD TD fC UD VD"},J:{"33":"D A"},K:{"2":"A B C CC eC DC","33":"H"},L:{"33":"I"},M:{"2":"BC"},N:{"2":"A B"},O:{"33":"EC"},P:{"33":"0 1 2 3 4 J y z WD XD YD ZD aD PC bD cD dD eD fD FC GC HC gD"},Q:{"33":"hD"},R:{"33":"iD"},S:{"2":"jD kD"}},B:7,C:"CSS Reflections",D:true}; diff --git a/node_modules/caniuse-lite/data/features/css-regions.js b/node_modules/caniuse-lite/data/features/css-regions.js index 3d152743b1..392a9038c5 100644 --- a/node_modules/caniuse-lite/data/features/css-regions.js +++ b/node_modules/caniuse-lite/data/features/css-regions.js @@ -1 +1 @@ -module.exports={A:{A:{"2":"K D E F aC","420":"A B"},B:{"2":"0 1 2 3 4 5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I","420":"C L M G N O P"},C:{"2":"0 1 2 3 4 5 6 7 8 9 bC DC J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC dC eC"},D:{"2":"0 1 2 3 4 5 6 7 8 9 J FB K D E F A B C L M QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC","36":"G N O P","66":"GB u v w x y z HB IB JB KB LB MB NB OB PB"},E:{"2":"J FB K C L M G fC JC gC 7B 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC","33":"D E F A B hC iC jC KC"},F:{"2":"F B C G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t qC rC sC tC 7B YC uC 8B"},G:{"2":"JC vC ZC wC xC 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC","33":"E yC zC 0C 1C 2C 3C 4C"},H:{"2":"HD"},I:{"2":"DC J I ID JD KD LD ZC MD ND"},J:{"2":"D A"},K:{"2":"A B C H 7B YC 8B"},L:{"2":"I"},M:{"2":"6B"},N:{"420":"A B"},O:{"2":"9B"},P:{"2":"J u v w x y z OD PD QD RD SD KC TD UD VD WD XD AC BC CC YD"},Q:{"2":"ZD"},R:{"2":"aD"},S:{"2":"bD cD"}},B:5,C:"CSS Regions",D:true}; +module.exports={A:{A:{"2":"K D E F gC","420":"A B"},B:{"2":"5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I","420":"C L M G N O P"},C:{"2":"0 1 2 3 4 5 6 7 8 9 hC IC J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC jC kC"},D:{"2":"5 6 7 8 9 J LB K D E F A B C L M VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC","36":"G N O P","66":"0 1 2 3 4 MB y z NB OB PB QB RB SB TB UB"},E:{"2":"J LB K C L M G lC OC mC CC DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC","33":"D E F A B nC oC pC PC"},F:{"2":"0 1 2 3 4 F B C G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x xC yC zC 0C CC eC 1C DC"},G:{"2":"OC 2C fC 3C 4C CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC","33":"E 5C 6C 7C 8C 9C AD BD"},H:{"2":"PD"},I:{"2":"IC J I QD RD SD TD fC UD VD"},J:{"2":"D A"},K:{"2":"A B C H CC eC DC"},L:{"2":"I"},M:{"2":"BC"},N:{"420":"A B"},O:{"2":"EC"},P:{"2":"0 1 2 3 4 J y z WD XD YD ZD aD PC bD cD dD eD fD FC GC HC gD"},Q:{"2":"hD"},R:{"2":"iD"},S:{"2":"jD kD"}},B:5,C:"CSS Regions",D:true}; diff --git a/node_modules/caniuse-lite/data/features/css-relative-colors.js b/node_modules/caniuse-lite/data/features/css-relative-colors.js index f93cdc655f..0680f569d1 100644 --- a/node_modules/caniuse-lite/data/features/css-relative-colors.js +++ b/node_modules/caniuse-lite/data/features/css-relative-colors.js @@ -1 +1 @@ -module.exports={A:{A:{"2":"K D E F A B aC"},B:{"2":"0 1 2 3 4 5 6 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t","194":"7","260":"8 9 AB BB CB DB EB I"},C:{"2":"0 1 2 3 4 5 6 7 8 9 bC DC J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B dC eC","260":"HC IC cC"},D:{"2":"0 1 2 3 4 5 6 J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t","194":"7","260":"8 9 AB BB CB DB EB I 6B HC IC"},E:{"1":"CC pC","2":"J FB K D E F A B C L M G fC JC gC hC iC jC KC 7B 8B kC lC mC LC MC 9B nC AC NC OC PC","260":"QC RC oC BC SC TC UC VC WC XC"},F:{"2":"F B C G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m qC rC sC tC 7B YC uC 8B","194":"n o","260":"p q r s t"},G:{"1":"CC","2":"E JC vC ZC wC xC yC zC 0C 1C 2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC","260":"QC RC GD BC SC TC UC VC WC XC"},H:{"2":"HD"},I:{"2":"DC J ID JD KD LD ZC MD ND","260":"I"},J:{"2":"D A"},K:{"2":"A B C 7B YC 8B","260":"H"},L:{"260":"I"},M:{"2":"6B"},N:{"2":"A B"},O:{"2":"9B"},P:{"2":"J u v w x y OD PD QD RD SD KC TD UD VD WD XD AC BC CC YD","260":"z"},Q:{"2":"ZD"},R:{"2":"aD"},S:{"2":"bD cD"}},B:5,C:"CSS Relative color syntax",D:true}; +module.exports={A:{A:{"2":"K D E F A B gC"},B:{"1":"I","2":"5 6 7 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x","194":"8","260":"9 AB BB CB DB EB FB GB HB IB JB KB"},C:{"1":"MC NC iC","2":"0 1 2 3 4 5 6 7 8 9 hC IC J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB jC kC","260":"IB JB KB I BC"},D:{"1":"I BC MC NC","2":"0 1 2 3 4 5 6 7 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x","194":"8","260":"9 AB BB CB DB EB FB GB HB IB JB KB"},E:{"1":"HC cC dC wC","2":"J LB K D E F A B C L M G lC OC mC nC oC pC PC CC DC qC rC sC QC RC EC tC FC SC TC UC","260":"VC WC uC GC XC YC ZC aC bC vC"},F:{"2":"0 1 2 3 4 F B C G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m xC yC zC 0C CC eC 1C DC","194":"n o","260":"p q r s t u v w x"},G:{"1":"HC cC dC","2":"E OC 2C fC 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC","260":"VC WC ND GC XC YC ZC aC bC OD"},H:{"2":"PD"},I:{"1":"I","2":"IC J QD RD SD TD fC UD VD"},J:{"2":"D A"},K:{"2":"A B C CC eC DC","260":"H"},L:{"1":"I"},M:{"260":"BC"},N:{"2":"A B"},O:{"2":"EC"},P:{"2":"0 1 2 J y z WD XD YD ZD aD PC bD cD dD eD fD FC GC HC gD","260":"3 4"},Q:{"2":"hD"},R:{"2":"iD"},S:{"2":"jD kD"}},B:5,C:"CSS Relative color syntax",D:true}; diff --git a/node_modules/caniuse-lite/data/features/css-repeating-gradients.js b/node_modules/caniuse-lite/data/features/css-repeating-gradients.js index 88f268102d..d46c61f993 100644 --- a/node_modules/caniuse-lite/data/features/css-repeating-gradients.js +++ b/node_modules/caniuse-lite/data/features/css-repeating-gradients.js @@ -1 +1 @@ -module.exports={A:{A:{"1":"A B","2":"K D E F aC"},B:{"1":"0 1 2 3 4 5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC","2":"bC DC dC","33":"J FB K D E F A B C L M G eC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC","2":"J FB K D E F","33":"A B C L M G N O P GB u v w x y z"},E:{"1":"D E F A B C L M G hC iC jC KC 7B 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC","2":"J FB fC JC","33":"K gC"},F:{"1":"G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t 8B","2":"F B qC rC sC tC","33":"C uC","36":"7B YC"},G:{"1":"E yC zC 0C 1C 2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC","2":"JC vC ZC","33":"wC xC"},H:{"2":"HD"},I:{"1":"I MD ND","2":"DC ID JD KD","33":"J LD ZC"},J:{"1":"A","2":"D"},K:{"1":"H 8B","2":"A B","33":"C","36":"7B YC"},L:{"1":"I"},M:{"1":"6B"},N:{"1":"A B"},O:{"1":"9B"},P:{"1":"J u v w x y z OD PD QD RD SD KC TD UD VD WD XD AC BC CC YD"},Q:{"1":"ZD"},R:{"1":"aD"},S:{"1":"bD cD"}},B:4,C:"CSS Repeating Gradients",D:true}; +module.exports={A:{A:{"1":"A B","2":"K D E F gC"},B:{"1":"5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC","2":"hC IC jC","33":"J LB K D E F A B C L M G kC"},D:{"1":"4 5 6 7 8 9 NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC","2":"J LB K D E F","33":"0 1 2 3 A B C L M G N O P MB y z"},E:{"1":"D E F A B C L M G nC oC pC PC CC DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC","2":"J LB lC OC","33":"K mC"},F:{"1":"0 1 2 3 4 G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x DC","2":"F B xC yC zC 0C","33":"C 1C","36":"CC eC"},G:{"1":"E 5C 6C 7C 8C 9C AD BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC","2":"OC 2C fC","33":"3C 4C"},H:{"2":"PD"},I:{"1":"I UD VD","2":"IC QD RD SD","33":"J TD fC"},J:{"1":"A","2":"D"},K:{"1":"H DC","2":"A B","33":"C","36":"CC eC"},L:{"1":"I"},M:{"1":"BC"},N:{"1":"A B"},O:{"1":"EC"},P:{"1":"0 1 2 3 4 J y z WD XD YD ZD aD PC bD cD dD eD fD FC GC HC gD"},Q:{"1":"hD"},R:{"1":"iD"},S:{"1":"jD kD"}},B:4,C:"CSS Repeating Gradients",D:true}; diff --git a/node_modules/caniuse-lite/data/features/css-resize.js b/node_modules/caniuse-lite/data/features/css-resize.js index 312c7399e0..b3d9ec9a63 100644 --- a/node_modules/caniuse-lite/data/features/css-resize.js +++ b/node_modules/caniuse-lite/data/features/css-resize.js @@ -1 +1 @@ -module.exports={A:{A:{"2":"K D E F A B aC"},B:{"1":"0 1 2 3 4 5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I","2":"C L M G N O P"},C:{"1":"0 1 2 3 4 5 6 7 8 9 FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC","2":"bC DC dC eC","33":"J"},D:{"1":"0 1 2 3 4 5 6 7 8 9 J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC"},E:{"1":"J FB K D E F A B C L M G gC hC iC jC KC 7B 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC","2":"fC JC"},F:{"1":"G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t","2":"F B C qC rC sC tC 7B YC uC","132":"8B"},G:{"2":"E JC vC ZC wC xC yC zC 0C 1C 2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC"},H:{"2":"HD"},I:{"1":"I","2":"DC J ID JD KD LD ZC MD ND"},J:{"2":"D A"},K:{"1":"H","2":"A B C 7B YC 8B"},L:{"1":"I"},M:{"1":"6B"},N:{"2":"A B"},O:{"1":"9B"},P:{"1":"u v w x y z OD PD QD RD SD KC TD UD VD WD XD AC BC CC YD","2":"J"},Q:{"1":"ZD"},R:{"1":"aD"},S:{"1":"cD","2":"bD"}},B:2,C:"CSS resize property",D:true}; +module.exports={A:{A:{"2":"K D E F A B gC"},B:{"1":"5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I","2":"C L M G N O P"},C:{"1":"0 1 2 3 4 5 6 7 8 9 LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC","2":"hC IC jC kC","33":"J"},D:{"1":"0 1 2 3 4 5 6 7 8 9 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC"},E:{"1":"J LB K D E F A B C L M G mC nC oC pC PC CC DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC","2":"lC OC"},F:{"1":"0 1 2 3 4 G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x","2":"F B C xC yC zC 0C CC eC 1C","132":"DC"},G:{"2":"E OC 2C fC 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC"},H:{"2":"PD"},I:{"1":"I","2":"IC J QD RD SD TD fC UD VD"},J:{"2":"D A"},K:{"1":"H","2":"A B C CC eC DC"},L:{"1":"I"},M:{"1":"BC"},N:{"2":"A B"},O:{"1":"EC"},P:{"1":"0 1 2 3 4 y z WD XD YD ZD aD PC bD cD dD eD fD FC GC HC gD","2":"J"},Q:{"1":"hD"},R:{"1":"iD"},S:{"1":"kD","2":"jD"}},B:2,C:"CSS resize property",D:true}; diff --git a/node_modules/caniuse-lite/data/features/css-revert-value.js b/node_modules/caniuse-lite/data/features/css-revert-value.js index 6c80e12e20..39d27b2936 100644 --- a/node_modules/caniuse-lite/data/features/css-revert-value.js +++ b/node_modules/caniuse-lite/data/features/css-revert-value.js @@ -1 +1 @@ -module.exports={A:{A:{"2":"K D E F A B aC"},B:{"1":"0 1 2 3 4 5 6 7 8 9 T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I","2":"C L M G N O P Q H R S"},C:{"1":"0 1 2 3 4 5 6 7 8 9 uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC","2":"bC DC J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB dC eC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC","2":"J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S"},E:{"1":"A B C L M G jC KC 7B 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC","2":"J FB K D E F fC JC gC hC iC"},F:{"1":"0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t","2":"F B C G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB qC rC sC tC 7B YC uC 8B"},G:{"1":"1C 2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC","2":"E JC vC ZC wC xC yC zC 0C"},H:{"2":"HD"},I:{"1":"I","2":"DC J ID JD KD LD ZC MD ND"},J:{"2":"D A"},K:{"1":"H","2":"A B C 7B YC 8B"},L:{"1":"I"},M:{"1":"6B"},N:{"2":"A B"},O:{"1":"9B"},P:{"1":"u v w x y z WD XD AC BC CC YD","2":"J OD PD QD RD SD KC TD UD VD"},Q:{"2":"ZD"},R:{"1":"aD"},S:{"1":"cD","2":"bD"}},B:4,C:"CSS revert value",D:true}; +module.exports={A:{A:{"2":"K D E F A B gC"},B:{"1":"5 6 7 8 9 T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I","2":"C L M G N O P Q H R S"},C:{"1":"5 6 7 8 9 zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC","2":"0 1 2 3 4 hC IC J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB jC kC"},D:{"1":"5 6 7 8 9 T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC","2":"0 1 2 3 4 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S"},E:{"1":"A B C L M G pC PC CC DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC","2":"J LB K D E F lC OC mC nC oC"},F:{"1":"5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x","2":"0 1 2 3 4 F B C G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B xC yC zC 0C CC eC 1C DC"},G:{"1":"8C 9C AD BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC","2":"E OC 2C fC 3C 4C 5C 6C 7C"},H:{"2":"PD"},I:{"1":"I","2":"IC J QD RD SD TD fC UD VD"},J:{"2":"D A"},K:{"1":"H","2":"A B C CC eC DC"},L:{"1":"I"},M:{"1":"BC"},N:{"2":"A B"},O:{"1":"EC"},P:{"1":"0 1 2 3 4 y z eD fD FC GC HC gD","2":"J WD XD YD ZD aD PC bD cD dD"},Q:{"2":"hD"},R:{"1":"iD"},S:{"1":"kD","2":"jD"}},B:4,C:"CSS revert value",D:true}; diff --git a/node_modules/caniuse-lite/data/features/css-rrggbbaa.js b/node_modules/caniuse-lite/data/features/css-rrggbbaa.js index 5f63a0c61f..8435d5f4f7 100644 --- a/node_modules/caniuse-lite/data/features/css-rrggbbaa.js +++ b/node_modules/caniuse-lite/data/features/css-rrggbbaa.js @@ -1 +1 @@ -module.exports={A:{A:{"2":"K D E F A B aC"},B:{"1":"0 1 2 3 4 5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I","2":"C L M G N O P"},C:{"1":"0 1 2 3 4 5 6 7 8 9 eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC","2":"bC DC J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB dC eC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC","2":"J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB","194":"hB iB jB kB lB mB nB EC oB FC"},E:{"1":"A B C L M G KC 7B 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC","2":"J FB K D E F fC JC gC hC iC jC"},F:{"1":"hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t","2":"F B C G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB qC rC sC tC 7B YC uC 8B","194":"UB VB WB XB YB ZB aB bB cB dB eB fB gB"},G:{"1":"2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC","2":"E JC vC ZC wC xC yC zC 0C 1C"},H:{"2":"HD"},I:{"1":"I","2":"DC J ID JD KD LD ZC MD ND"},J:{"2":"D A"},K:{"1":"H","2":"A B C 7B YC 8B"},L:{"1":"I"},M:{"1":"6B"},N:{"2":"A B"},O:{"1":"9B"},P:{"1":"u v w x y z RD SD KC TD UD VD WD XD AC BC CC YD","2":"J","194":"OD PD QD"},Q:{"1":"ZD"},R:{"1":"aD"},S:{"1":"cD","2":"bD"}},B:4,C:"#rrggbbaa hex color notation",D:true}; +module.exports={A:{A:{"2":"K D E F A B gC"},B:{"1":"5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I","2":"C L M G N O P"},C:{"1":"5 6 7 8 9 jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC","2":"0 1 2 3 4 hC IC J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jC kC"},D:{"1":"5 6 7 8 9 uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC","2":"0 1 2 3 4 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB","194":"mB nB oB pB qB rB sB JC tB KC"},E:{"1":"A B C L M G PC CC DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC","2":"J LB K D E F lC OC mC nC oC pC"},F:{"1":"mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x","2":"0 1 2 3 4 F B C G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB xC yC zC 0C CC eC 1C DC","194":"ZB aB bB cB dB eB fB gB hB iB jB kB lB"},G:{"1":"9C AD BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC","2":"E OC 2C fC 3C 4C 5C 6C 7C 8C"},H:{"2":"PD"},I:{"1":"I","2":"IC J QD RD SD TD fC UD VD"},J:{"2":"D A"},K:{"1":"H","2":"A B C CC eC DC"},L:{"1":"I"},M:{"1":"BC"},N:{"2":"A B"},O:{"1":"EC"},P:{"1":"0 1 2 3 4 y z ZD aD PC bD cD dD eD fD FC GC HC gD","2":"J","194":"WD XD YD"},Q:{"1":"hD"},R:{"1":"iD"},S:{"1":"kD","2":"jD"}},B:4,C:"#rrggbbaa hex color notation",D:true}; diff --git a/node_modules/caniuse-lite/data/features/css-scroll-behavior.js b/node_modules/caniuse-lite/data/features/css-scroll-behavior.js index 240df21862..84cc19ce04 100644 --- a/node_modules/caniuse-lite/data/features/css-scroll-behavior.js +++ b/node_modules/caniuse-lite/data/features/css-scroll-behavior.js @@ -1 +1 @@ -module.exports={A:{A:{"2":"K D E F A B aC"},B:{"2":"C L M G N O P","129":"0 1 2 3 4 5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC","2":"bC DC J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB dC eC"},D:{"2":"J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB","129":"0 1 2 3 4 5 6 7 8 9 FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC","450":"WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB"},E:{"1":"MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC","2":"J FB K D E F A B C L fC JC gC hC iC jC KC 7B 8B kC","578":"M G lC mC LC"},F:{"2":"F B C G N O P GB u v w x y z HB IB qC rC sC tC 7B YC uC 8B","129":"dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t","450":"JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB"},G:{"1":"MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC","2":"E JC vC ZC wC xC yC zC 0C 1C 2C 3C 4C 5C 6C 7C 8C 9C AD BD CD","578":"DD ED LC"},H:{"2":"HD"},I:{"1":"I","2":"DC J ID JD KD LD ZC MD ND"},J:{"2":"D A"},K:{"1":"H","2":"A B C 7B YC 8B"},L:{"1":"I"},M:{"1":"6B"},N:{"2":"A B"},O:{"129":"9B"},P:{"1":"u v w x y z RD SD KC TD UD VD WD XD AC BC CC YD","2":"J OD PD QD"},Q:{"129":"ZD"},R:{"1":"aD"},S:{"1":"cD","2":"bD"}},B:5,C:"CSS Scroll-behavior",D:true}; +module.exports={A:{A:{"2":"K D E F A B gC"},B:{"2":"C L M G N O P","129":"5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I"},C:{"1":"5 6 7 8 9 WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC","2":"0 1 2 3 4 hC IC J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB jC kC"},D:{"2":"0 1 2 3 4 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB","129":"5 6 7 8 9 KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC","450":"bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB"},E:{"1":"RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC","2":"J LB K D E F A B C L lC OC mC nC oC pC PC CC DC qC","578":"M G rC sC QC"},F:{"2":"0 1 2 3 4 F B C G N O P MB y z NB xC yC zC 0C CC eC 1C DC","129":"iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x","450":"OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB"},G:{"1":"RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC","2":"E OC 2C fC 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED FD GD HD ID JD","578":"KD LD QC"},H:{"2":"PD"},I:{"1":"I","2":"IC J QD RD SD TD fC UD VD"},J:{"2":"D A"},K:{"1":"H","2":"A B C CC eC DC"},L:{"1":"I"},M:{"1":"BC"},N:{"2":"A B"},O:{"129":"EC"},P:{"1":"0 1 2 3 4 y z ZD aD PC bD cD dD eD fD FC GC HC gD","2":"J WD XD YD"},Q:{"129":"hD"},R:{"1":"iD"},S:{"1":"kD","2":"jD"}},B:5,C:"CSS Scroll-behavior",D:true}; diff --git a/node_modules/caniuse-lite/data/features/css-scroll-timeline.js b/node_modules/caniuse-lite/data/features/css-scroll-timeline.js deleted file mode 100644 index b43c28c401..0000000000 --- a/node_modules/caniuse-lite/data/features/css-scroll-timeline.js +++ /dev/null @@ -1 +0,0 @@ -module.exports={A:{A:{"2":"K D E F A B aC"},B:{"2":"C L M G N O P Q H R S T U V W X Y","194":"0 1 2 3 4 5 6 7 8 9 Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I"},C:{"2":"0 1 2 3 4 5 6 7 8 9 bC DC J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC dC eC"},D:{"2":"J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T","194":"0 1 2 3 4 5 6 7 8 9 X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC","322":"U V W"},E:{"2":"J FB K D E F A B C L M G fC JC gC hC iC jC KC 7B 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC"},F:{"2":"F B C G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB qC rC sC tC 7B YC uC 8B","194":"2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t","322":"0B 1B"},G:{"2":"E JC vC ZC wC xC yC zC 0C 1C 2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC"},H:{"2":"HD"},I:{"2":"DC J I ID JD KD LD ZC MD ND"},J:{"2":"D A"},K:{"2":"A B C H 7B YC 8B"},L:{"2":"I"},M:{"2":"6B"},N:{"2":"A B"},O:{"2":"9B"},P:{"2":"J u v w x y z OD PD QD RD SD KC TD UD VD WD XD AC BC CC YD"},Q:{"2":"ZD"},R:{"2":"aD"},S:{"2":"bD cD"}},B:7,C:"CSS @scroll-timeline",D:true}; diff --git a/node_modules/caniuse-lite/data/features/css-scrollbar.js b/node_modules/caniuse-lite/data/features/css-scrollbar.js index 799eb646e1..974a377df8 100644 --- a/node_modules/caniuse-lite/data/features/css-scrollbar.js +++ b/node_modules/caniuse-lite/data/features/css-scrollbar.js @@ -1 +1 @@ -module.exports={A:{A:{"132":"K D E F A B aC"},B:{"1":"AB BB CB DB EB I","2":"C L M G N O P","292":"0 1 2 3 4 5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t"},C:{"1":"0 1 2 3 4 5 6 7 8 9 rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC","2":"bC DC J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB dC eC","3138":"qB"},D:{"1":"AB BB CB DB EB I 6B HC IC","292":"0 1 2 3 4 5 6 7 8 9 J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t"},E:{"16":"J FB fC JC","292":"K D E F A B C L M G gC hC iC jC KC 7B 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC"},F:{"1":"q r s t","2":"F B C qC rC sC tC 7B YC uC 8B","292":"G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p"},G:{"2":"CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC","16":"JC vC ZC wC xC","292":"yC","804":"E zC 0C 1C 2C 3C 4C 5C 6C 7C 8C 9C AD BD"},H:{"2":"HD"},I:{"16":"ID JD","292":"DC J I KD LD ZC MD ND"},J:{"292":"D A"},K:{"2":"A B C 7B YC 8B","292":"H"},L:{"292":"I"},M:{"1":"6B"},N:{"2":"A B"},O:{"292":"9B"},P:{"292":"J u v w x y z OD PD QD RD SD KC TD UD VD WD XD AC BC CC YD"},Q:{"292":"ZD"},R:{"292":"aD"},S:{"2":"bD cD"}},B:4,C:"CSS scrollbar styling",D:true}; +module.exports={A:{A:{"132":"K D E F A B gC"},B:{"1":"BB CB DB EB FB GB HB IB JB KB I","2":"C L M G N O P","292":"5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB"},C:{"1":"5 6 7 8 9 wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC","2":"0 1 2 3 4 hC IC J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB jC kC","3138":"vB"},D:{"1":"BB CB DB EB FB GB HB IB JB KB I BC MC NC","292":"0 1 2 3 4 5 6 7 8 9 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB"},E:{"16":"J LB lC OC","292":"K D E F A B C L M G mC nC oC pC PC CC DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC"},F:{"1":"q r s t u v w x","2":"F B C xC yC zC 0C CC eC 1C DC","292":"0 1 2 3 4 G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p"},G:{"2":"JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC","16":"OC 2C fC 3C 4C","292":"5C","804":"E 6C 7C 8C 9C AD BD CD DD ED FD GD HD ID"},H:{"2":"PD"},I:{"16":"QD RD","292":"IC J I SD TD fC UD VD"},J:{"292":"D A"},K:{"2":"A B C CC eC DC","292":"H"},L:{"1":"I"},M:{"1":"BC"},N:{"2":"A B"},O:{"292":"EC"},P:{"1":"3 4","292":"0 1 2 J y z WD XD YD ZD aD PC bD cD dD eD fD FC GC HC gD"},Q:{"292":"hD"},R:{"292":"iD"},S:{"2":"jD kD"}},B:4,C:"CSS scrollbar styling",D:true}; diff --git a/node_modules/caniuse-lite/data/features/css-sel2.js b/node_modules/caniuse-lite/data/features/css-sel2.js index 0189f2724a..68166ec3a5 100644 --- a/node_modules/caniuse-lite/data/features/css-sel2.js +++ b/node_modules/caniuse-lite/data/features/css-sel2.js @@ -1 +1 @@ -module.exports={A:{A:{"1":"D E F A B","2":"aC","8":"K"},B:{"1":"0 1 2 3 4 5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 bC DC J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC dC eC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC"},E:{"1":"J FB K D E F A B C L M G fC JC gC hC iC jC KC 7B 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC"},F:{"1":"F B C G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t qC rC sC tC 7B YC uC 8B"},G:{"1":"E JC vC ZC wC xC yC zC 0C 1C 2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC"},H:{"1":"HD"},I:{"1":"DC J I ID JD KD LD ZC MD ND"},J:{"1":"D A"},K:{"1":"A B C H 7B YC 8B"},L:{"1":"I"},M:{"1":"6B"},N:{"1":"A B"},O:{"1":"9B"},P:{"1":"J u v w x y z OD PD QD RD SD KC TD UD VD WD XD AC BC CC YD"},Q:{"1":"ZD"},R:{"1":"aD"},S:{"1":"bD cD"}},B:2,C:"CSS 2.1 selectors",D:true}; +module.exports={A:{A:{"1":"D E F A B","2":"gC","8":"K"},B:{"1":"5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 hC IC J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC jC kC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC"},E:{"1":"J LB K D E F A B C L M G lC OC mC nC oC pC PC CC DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC"},F:{"1":"0 1 2 3 4 F B C G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x xC yC zC 0C CC eC 1C DC"},G:{"1":"E OC 2C fC 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC"},H:{"1":"PD"},I:{"1":"IC J I QD RD SD TD fC UD VD"},J:{"1":"D A"},K:{"1":"A B C H CC eC DC"},L:{"1":"I"},M:{"1":"BC"},N:{"1":"A B"},O:{"1":"EC"},P:{"1":"0 1 2 3 4 J y z WD XD YD ZD aD PC bD cD dD eD fD FC GC HC gD"},Q:{"1":"hD"},R:{"1":"iD"},S:{"1":"jD kD"}},B:2,C:"CSS 2.1 selectors",D:true}; diff --git a/node_modules/caniuse-lite/data/features/css-sel3.js b/node_modules/caniuse-lite/data/features/css-sel3.js index ecf3777dc3..bfea99cf24 100644 --- a/node_modules/caniuse-lite/data/features/css-sel3.js +++ b/node_modules/caniuse-lite/data/features/css-sel3.js @@ -1 +1 @@ -module.exports={A:{A:{"1":"F A B","2":"aC","8":"K","132":"D E"},B:{"1":"0 1 2 3 4 5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC dC eC","2":"bC DC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC"},E:{"1":"J FB K D E F A B C L M G JC gC hC iC jC KC 7B 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC","2":"fC"},F:{"1":"B C G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t qC rC sC tC 7B YC uC 8B","2":"F"},G:{"1":"E JC vC ZC wC xC yC zC 0C 1C 2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC"},H:{"1":"HD"},I:{"1":"DC J I ID JD KD LD ZC MD ND"},J:{"1":"D A"},K:{"1":"A B C H 7B YC 8B"},L:{"1":"I"},M:{"1":"6B"},N:{"1":"A B"},O:{"1":"9B"},P:{"1":"J u v w x y z OD PD QD RD SD KC TD UD VD WD XD AC BC CC YD"},Q:{"1":"ZD"},R:{"1":"aD"},S:{"1":"bD cD"}},B:2,C:"CSS3 selectors",D:true}; +module.exports={A:{A:{"1":"F A B","2":"gC","8":"K","132":"D E"},B:{"1":"5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC jC kC","2":"hC IC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC"},E:{"1":"J LB K D E F A B C L M G OC mC nC oC pC PC CC DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC","2":"lC"},F:{"1":"0 1 2 3 4 B C G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x xC yC zC 0C CC eC 1C DC","2":"F"},G:{"1":"E OC 2C fC 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC"},H:{"1":"PD"},I:{"1":"IC J I QD RD SD TD fC UD VD"},J:{"1":"D A"},K:{"1":"A B C H CC eC DC"},L:{"1":"I"},M:{"1":"BC"},N:{"1":"A B"},O:{"1":"EC"},P:{"1":"0 1 2 3 4 J y z WD XD YD ZD aD PC bD cD dD eD fD FC GC HC gD"},Q:{"1":"hD"},R:{"1":"iD"},S:{"1":"jD kD"}},B:2,C:"CSS3 selectors",D:true}; diff --git a/node_modules/caniuse-lite/data/features/css-selection.js b/node_modules/caniuse-lite/data/features/css-selection.js index 592183e6b3..00e29ca7db 100644 --- a/node_modules/caniuse-lite/data/features/css-selection.js +++ b/node_modules/caniuse-lite/data/features/css-selection.js @@ -1 +1 @@ -module.exports={A:{A:{"1":"F A B","2":"K D E aC"},B:{"1":"0 1 2 3 4 5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC","33":"bC DC J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC dC eC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC"},E:{"1":"J FB K D E F A B C L M G fC JC gC hC iC jC KC 7B 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC"},F:{"1":"B C G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t qC rC sC tC 7B YC uC 8B","2":"F"},G:{"2":"E JC vC ZC wC xC yC zC 0C 1C 2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC"},H:{"2":"HD"},I:{"1":"I MD ND","2":"DC J ID JD KD LD ZC"},J:{"1":"A","2":"D"},K:{"1":"C H YC 8B","16":"A B 7B"},L:{"1":"I"},M:{"1":"6B"},N:{"1":"A B"},O:{"1":"9B"},P:{"1":"J u v w x y z OD PD QD RD SD KC TD UD VD WD XD AC BC CC YD"},Q:{"1":"ZD"},R:{"1":"aD"},S:{"1":"cD","33":"bD"}},B:5,C:"::selection CSS pseudo-element",D:true}; +module.exports={A:{A:{"1":"F A B","2":"K D E gC"},B:{"1":"5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I"},C:{"1":"5 6 7 8 9 uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC","33":"0 1 2 3 4 hC IC J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC jC kC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC"},E:{"1":"J LB K D E F A B C L M G lC OC mC nC oC pC PC CC DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC"},F:{"1":"0 1 2 3 4 B C G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x xC yC zC 0C CC eC 1C DC","2":"F"},G:{"2":"E OC 2C fC 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC"},H:{"2":"PD"},I:{"1":"I UD VD","2":"IC J QD RD SD TD fC"},J:{"1":"A","2":"D"},K:{"1":"C H eC DC","16":"A B CC"},L:{"1":"I"},M:{"1":"BC"},N:{"1":"A B"},O:{"1":"EC"},P:{"1":"0 1 2 3 4 J y z WD XD YD ZD aD PC bD cD dD eD fD FC GC HC gD"},Q:{"1":"hD"},R:{"1":"iD"},S:{"1":"kD","33":"jD"}},B:5,C:"::selection CSS pseudo-element",D:true}; diff --git a/node_modules/caniuse-lite/data/features/css-shapes.js b/node_modules/caniuse-lite/data/features/css-shapes.js index b9f0dec583..0e98458225 100644 --- a/node_modules/caniuse-lite/data/features/css-shapes.js +++ b/node_modules/caniuse-lite/data/features/css-shapes.js @@ -1 +1 @@ -module.exports={A:{A:{"2":"K D E F A B aC"},B:{"1":"0 1 2 3 4 5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I","2":"C L M G N O P"},C:{"1":"0 1 2 3 4 5 6 7 8 9 pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC","2":"bC DC J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB dC eC","322":"gB hB iB jB kB lB mB nB EC oB FC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC","2":"J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB","194":"PB QB RB"},E:{"1":"B C L M G KC 7B 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC","2":"J FB K D fC JC gC hC","33":"E F A iC jC"},F:{"1":"y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t","2":"F B C G N O P GB u v w x qC rC sC tC 7B YC uC 8B"},G:{"1":"3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC","2":"JC vC ZC wC xC yC","33":"E zC 0C 1C 2C"},H:{"2":"HD"},I:{"1":"I","2":"DC J ID JD KD LD ZC MD ND"},J:{"2":"D A"},K:{"1":"H","2":"A B C 7B YC 8B"},L:{"1":"I"},M:{"1":"6B"},N:{"2":"A B"},O:{"1":"9B"},P:{"1":"J u v w x y z OD PD QD RD SD KC TD UD VD WD XD AC BC CC YD"},Q:{"1":"ZD"},R:{"1":"aD"},S:{"1":"cD","2":"bD"}},B:4,C:"CSS Shapes Level 1",D:true}; +module.exports={A:{A:{"2":"K D E F A B gC"},B:{"1":"5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I","2":"C L M G N O P"},C:{"1":"5 6 7 8 9 uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC","2":"0 1 2 3 4 hC IC J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB jC kC","322":"lB mB nB oB pB qB rB sB JC tB KC"},D:{"1":"5 6 7 8 9 XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC","2":"0 1 2 3 4 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB","194":"UB VB WB"},E:{"1":"B C L M G PC CC DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC","2":"J LB K D lC OC mC nC","33":"E F A oC pC"},F:{"1":"2 3 4 NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x","2":"0 1 F B C G N O P MB y z xC yC zC 0C CC eC 1C DC"},G:{"1":"AD BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC","2":"OC 2C fC 3C 4C 5C","33":"E 6C 7C 8C 9C"},H:{"2":"PD"},I:{"1":"I","2":"IC J QD RD SD TD fC UD VD"},J:{"2":"D A"},K:{"1":"H","2":"A B C CC eC DC"},L:{"1":"I"},M:{"1":"BC"},N:{"2":"A B"},O:{"1":"EC"},P:{"1":"0 1 2 3 4 J y z WD XD YD ZD aD PC bD cD dD eD fD FC GC HC gD"},Q:{"1":"hD"},R:{"1":"iD"},S:{"1":"kD","2":"jD"}},B:4,C:"CSS Shapes Level 1",D:true}; diff --git a/node_modules/caniuse-lite/data/features/css-snappoints.js b/node_modules/caniuse-lite/data/features/css-snappoints.js index 3c371f2f49..0dc84ceb08 100644 --- a/node_modules/caniuse-lite/data/features/css-snappoints.js +++ b/node_modules/caniuse-lite/data/features/css-snappoints.js @@ -1 +1 @@ -module.exports={A:{A:{"2":"K D E F aC","6308":"A","6436":"B"},B:{"1":"0 1 2 3 4 5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I","6436":"C L M G N O P"},C:{"1":"0 1 2 3 4 5 6 7 8 9 vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC","2":"bC DC J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB dC eC","2052":"UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB"},D:{"1":"0 1 2 3 4 5 6 7 8 9 wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC","2":"J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB","8258":"tB uB vB"},E:{"1":"B C L M G 7B 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC","2":"J FB K D E fC JC gC hC iC","3108":"F A jC KC"},F:{"1":"rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t","2":"F B C G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB qC rC sC tC 7B YC uC 8B","8258":"jB kB lB mB nB oB pB qB"},G:{"1":"4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC","2":"E JC vC ZC wC xC yC zC","3108":"0C 1C 2C 3C"},H:{"2":"HD"},I:{"1":"I","2":"DC J ID JD KD LD ZC MD ND"},J:{"2":"D A"},K:{"1":"H","2":"A B C 7B YC 8B"},L:{"1":"I"},M:{"1":"6B"},N:{"2":"A B"},O:{"1":"9B"},P:{"1":"u v w x y z KC TD UD VD WD XD AC BC CC YD","2":"J OD PD QD RD SD"},Q:{"1":"ZD"},R:{"1":"aD"},S:{"1":"cD","2052":"bD"}},B:4,C:"CSS Scroll Snap",D:true}; +module.exports={A:{A:{"2":"K D E F gC","6308":"A","6436":"B"},B:{"1":"5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I","6436":"C L M G N O P"},C:{"1":"5 6 7 8 9 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC","2":"0 1 2 3 4 hC IC J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB jC kC","2052":"ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB"},D:{"1":"5 6 7 8 9 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC","2":"0 1 2 3 4 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB","8258":"yB zB 0B"},E:{"1":"B C L M G CC DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC","2":"J LB K D E lC OC mC nC oC","3108":"F A pC PC"},F:{"1":"wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x","2":"0 1 2 3 4 F B C G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB xC yC zC 0C CC eC 1C DC","8258":"oB pB qB rB sB tB uB vB"},G:{"1":"BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC","2":"E OC 2C fC 3C 4C 5C 6C","3108":"7C 8C 9C AD"},H:{"2":"PD"},I:{"1":"I","2":"IC J QD RD SD TD fC UD VD"},J:{"2":"D A"},K:{"1":"H","2":"A B C CC eC DC"},L:{"1":"I"},M:{"1":"BC"},N:{"2":"A B"},O:{"1":"EC"},P:{"1":"0 1 2 3 4 y z PC bD cD dD eD fD FC GC HC gD","2":"J WD XD YD ZD aD"},Q:{"1":"hD"},R:{"1":"iD"},S:{"1":"kD","2052":"jD"}},B:4,C:"CSS Scroll Snap",D:true}; diff --git a/node_modules/caniuse-lite/data/features/css-sticky.js b/node_modules/caniuse-lite/data/features/css-sticky.js index 55e5627366..73dfa86378 100644 --- a/node_modules/caniuse-lite/data/features/css-sticky.js +++ b/node_modules/caniuse-lite/data/features/css-sticky.js @@ -1 +1 @@ -module.exports={A:{A:{"2":"K D E F A B aC"},B:{"1":"0 1 2 3 4 5 6 7 8 9 a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I","2":"C L M G","1028":"Q H R S T U V W X Y Z","4100":"N O P"},C:{"1":"0 1 2 3 4 5 6 7 8 9 EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC","2":"bC DC J FB K D E F A B C L M G N O P GB u v w x y z dC eC","194":"HB IB JB KB LB MB","516":"NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB"},D:{"1":"0 1 2 3 4 5 6 7 8 9 a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC","2":"J FB K D E F A B C L M G N O P GB u v w SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB","322":"x y z HB IB JB KB LB MB NB OB PB QB RB hB iB jB kB","1028":"lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z"},E:{"1":"L M G kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC","2":"J FB K fC JC gC","33":"E F A B C iC jC KC 7B 8B","2084":"D hC"},F:{"1":"5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t","2":"F B C G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB qC rC sC tC 7B YC uC 8B","322":"UB VB WB","1028":"XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B"},G:{"1":"8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC","2":"JC vC ZC wC","33":"E zC 0C 1C 2C 3C 4C 5C 6C 7C","2084":"xC yC"},H:{"2":"HD"},I:{"1":"I","2":"DC J ID JD KD LD ZC MD ND"},J:{"2":"D A"},K:{"1":"H","2":"A B C 7B YC 8B"},L:{"1":"I"},M:{"1":"6B"},N:{"2":"A B"},O:{"1":"9B"},P:{"1":"u v w x y z PD QD RD SD KC TD UD VD WD XD AC BC CC YD","2":"J OD"},Q:{"1028":"ZD"},R:{"1":"aD"},S:{"1":"cD","516":"bD"}},B:5,C:"CSS position:sticky",D:true}; +module.exports={A:{A:{"2":"K D E F A B gC"},B:{"1":"5 6 7 8 9 a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I","2":"C L M G","1028":"Q H R S T U V W X Y Z","4100":"N O P"},C:{"1":"5 6 7 8 9 JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC","2":"0 1 2 3 hC IC J LB K D E F A B C L M G N O P MB y z jC kC","194":"4 NB OB PB QB RB","516":"SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB"},D:{"1":"5 6 7 8 9 a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC","2":"0 J LB K D E F A B C L M G N O P MB y z XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB","322":"1 2 3 4 NB OB PB QB RB SB TB UB VB WB mB nB oB pB","1028":"qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z"},E:{"1":"L M G qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC","2":"J LB K lC OC mC","33":"E F A B C oC pC PC CC DC","2084":"D nC"},F:{"1":"AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x","2":"0 1 2 3 4 F B C G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB xC yC zC 0C CC eC 1C DC","322":"ZB aB bB","1028":"cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B"},G:{"1":"FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC","2":"OC 2C fC 3C","33":"E 6C 7C 8C 9C AD BD CD DD ED","2084":"4C 5C"},H:{"2":"PD"},I:{"1":"I","2":"IC J QD RD SD TD fC UD VD"},J:{"2":"D A"},K:{"1":"H","2":"A B C CC eC DC"},L:{"1":"I"},M:{"1":"BC"},N:{"2":"A B"},O:{"1":"EC"},P:{"1":"0 1 2 3 4 y z XD YD ZD aD PC bD cD dD eD fD FC GC HC gD","2":"J WD"},Q:{"1028":"hD"},R:{"1":"iD"},S:{"1":"kD","516":"jD"}},B:5,C:"CSS position:sticky",D:true}; diff --git a/node_modules/caniuse-lite/data/features/css-subgrid.js b/node_modules/caniuse-lite/data/features/css-subgrid.js index 63a6b82ede..f80b13d86f 100644 --- a/node_modules/caniuse-lite/data/features/css-subgrid.js +++ b/node_modules/caniuse-lite/data/features/css-subgrid.js @@ -1 +1 @@ -module.exports={A:{A:{"2":"K D E F A B aC"},B:{"1":"6 7 8 9 AB BB CB DB EB I","2":"0 1 2 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t","194":"3 4 5"},C:{"1":"0 1 2 3 4 5 6 7 8 9 yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC","2":"bC DC J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB dC eC"},D:{"1":"6 7 8 9 AB BB CB DB EB I 6B HC IC","2":"0 1 2 J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t","194":"3 4 5"},E:{"1":"AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC","2":"J FB K D E F A B C L M G fC JC gC hC iC jC KC 7B 8B kC lC mC LC MC 9B nC"},F:{"1":"m n o p q r s t","2":"F B C G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i qC rC sC tC 7B YC uC 8B","194":"j k l"},G:{"1":"AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC","2":"E JC vC ZC wC xC yC zC 0C 1C 2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD"},H:{"2":"HD"},I:{"1":"I","2":"DC J ID JD KD LD ZC MD ND"},J:{"2":"D A"},K:{"1":"H","2":"A B C 7B YC 8B"},L:{"1":"I"},M:{"1":"6B"},N:{"2":"A B"},O:{"2":"9B"},P:{"1":"y z","2":"J u v w x OD PD QD RD SD KC TD UD VD WD XD AC BC CC YD"},Q:{"2":"ZD"},R:{"2":"aD"},S:{"1":"cD","2":"bD"}},B:4,C:"CSS Subgrid",D:true}; +module.exports={A:{A:{"2":"K D E F A B gC"},B:{"1":"7 8 9 AB BB CB DB EB FB GB HB IB JB KB I","2":"C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w","194":"5 6 x"},C:{"1":"5 6 7 8 9 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC","2":"0 1 2 3 4 hC IC J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B jC kC"},D:{"1":"7 8 9 AB BB CB DB EB FB GB HB IB JB KB I BC MC NC","2":"0 1 2 3 4 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w","194":"5 6 x"},E:{"1":"FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC","2":"J LB K D E F A B C L M G lC OC mC nC oC pC PC CC DC qC rC sC QC RC EC tC"},F:{"1":"m n o p q r s t u v w x","2":"0 1 2 3 4 F B C G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i xC yC zC 0C CC eC 1C DC","194":"j k l"},G:{"1":"FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC","2":"E OC 2C fC 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD"},H:{"2":"PD"},I:{"1":"I","2":"IC J QD RD SD TD fC UD VD"},J:{"2":"D A"},K:{"1":"H","2":"A B C CC eC DC"},L:{"1":"I"},M:{"1":"BC"},N:{"2":"A B"},O:{"2":"EC"},P:{"1":"2 3 4","2":"0 1 J y z WD XD YD ZD aD PC bD cD dD eD fD FC GC HC gD"},Q:{"2":"hD"},R:{"2":"iD"},S:{"1":"kD","2":"jD"}},B:4,C:"CSS Subgrid",D:true}; diff --git a/node_modules/caniuse-lite/data/features/css-supports-api.js b/node_modules/caniuse-lite/data/features/css-supports-api.js index 769f545654..3f09aff114 100644 --- a/node_modules/caniuse-lite/data/features/css-supports-api.js +++ b/node_modules/caniuse-lite/data/features/css-supports-api.js @@ -1 +1 @@ -module.exports={A:{A:{"2":"K D E F A B aC"},B:{"1":"0 1 2 3 4 5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I","260":"C L M G N O P"},C:{"1":"0 1 2 3 4 5 6 7 8 9 kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC","2":"bC DC J FB K D E F A B C L M G N O P GB dC eC","66":"u v","260":"w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB"},D:{"1":"0 1 2 3 4 5 6 7 8 9 FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC","2":"J FB K D E F A B C L M G N O P GB u v w x y z HB IB","260":"JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB"},E:{"1":"F A B C L M G jC KC 7B 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC","2":"J FB K D E fC JC gC hC iC"},F:{"1":"G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t","2":"F B C qC rC sC tC 7B YC uC","132":"8B"},G:{"1":"0C 1C 2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC","2":"E JC vC ZC wC xC yC zC"},H:{"132":"HD"},I:{"1":"I MD ND","2":"DC J ID JD KD LD ZC"},J:{"2":"D A"},K:{"1":"H","2":"A B C 7B YC","132":"8B"},L:{"1":"I"},M:{"1":"6B"},N:{"2":"A B"},O:{"1":"9B"},P:{"1":"J u v w x y z OD PD QD RD SD KC TD UD VD WD XD AC BC CC YD"},Q:{"1":"ZD"},R:{"1":"aD"},S:{"1":"bD cD"}},B:4,C:"CSS.supports() API",D:true}; +module.exports={A:{A:{"2":"K D E F A B gC"},B:{"1":"5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I","260":"C L M G N O P"},C:{"1":"5 6 7 8 9 pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC","2":"hC IC J LB K D E F A B C L M G N O P MB jC kC","66":"y z","260":"0 1 2 3 4 NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB"},D:{"1":"5 6 7 8 9 KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC","2":"0 1 2 3 4 J LB K D E F A B C L M G N O P MB y z NB","260":"OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB"},E:{"1":"F A B C L M G pC PC CC DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC","2":"J LB K D E lC OC mC nC oC"},F:{"1":"0 1 2 3 4 G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x","2":"F B C xC yC zC 0C CC eC 1C","132":"DC"},G:{"1":"7C 8C 9C AD BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC","2":"E OC 2C fC 3C 4C 5C 6C"},H:{"132":"PD"},I:{"1":"I UD VD","2":"IC J QD RD SD TD fC"},J:{"2":"D A"},K:{"1":"H","2":"A B C CC eC","132":"DC"},L:{"1":"I"},M:{"1":"BC"},N:{"2":"A B"},O:{"1":"EC"},P:{"1":"0 1 2 3 4 J y z WD XD YD ZD aD PC bD cD dD eD fD FC GC HC gD"},Q:{"1":"hD"},R:{"1":"iD"},S:{"1":"jD kD"}},B:4,C:"CSS.supports() API",D:true}; diff --git a/node_modules/caniuse-lite/data/features/css-table.js b/node_modules/caniuse-lite/data/features/css-table.js index 824875e158..2a16e9f86e 100644 --- a/node_modules/caniuse-lite/data/features/css-table.js +++ b/node_modules/caniuse-lite/data/features/css-table.js @@ -1 +1 @@ -module.exports={A:{A:{"1":"E F A B","2":"K D aC"},B:{"1":"0 1 2 3 4 5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 DC J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC dC eC","132":"bC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC"},E:{"1":"J FB K D E F A B C L M G fC JC gC hC iC jC KC 7B 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC"},F:{"1":"F B C G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t qC rC sC tC 7B YC uC 8B"},G:{"1":"E JC vC ZC wC xC yC zC 0C 1C 2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC"},H:{"1":"HD"},I:{"1":"DC J I ID JD KD LD ZC MD ND"},J:{"1":"D A"},K:{"1":"A B C H 7B YC 8B"},L:{"1":"I"},M:{"1":"6B"},N:{"1":"A B"},O:{"1":"9B"},P:{"1":"J u v w x y z OD PD QD RD SD KC TD UD VD WD XD AC BC CC YD"},Q:{"1":"ZD"},R:{"1":"aD"},S:{"1":"bD cD"}},B:2,C:"CSS Table display",D:true}; +module.exports={A:{A:{"1":"E F A B","2":"K D gC"},B:{"1":"5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 IC J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC jC kC","132":"hC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC"},E:{"1":"J LB K D E F A B C L M G lC OC mC nC oC pC PC CC DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC"},F:{"1":"0 1 2 3 4 F B C G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x xC yC zC 0C CC eC 1C DC"},G:{"1":"E OC 2C fC 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC"},H:{"1":"PD"},I:{"1":"IC J I QD RD SD TD fC UD VD"},J:{"1":"D A"},K:{"1":"A B C H CC eC DC"},L:{"1":"I"},M:{"1":"BC"},N:{"1":"A B"},O:{"1":"EC"},P:{"1":"0 1 2 3 4 J y z WD XD YD ZD aD PC bD cD dD eD fD FC GC HC gD"},Q:{"1":"hD"},R:{"1":"iD"},S:{"1":"jD kD"}},B:2,C:"CSS Table display",D:true}; diff --git a/node_modules/caniuse-lite/data/features/css-text-align-last.js b/node_modules/caniuse-lite/data/features/css-text-align-last.js index 11b55d59ee..4237285c21 100644 --- a/node_modules/caniuse-lite/data/features/css-text-align-last.js +++ b/node_modules/caniuse-lite/data/features/css-text-align-last.js @@ -1 +1 @@ -module.exports={A:{A:{"132":"K D E F A B aC"},B:{"1":"0 1 2 3 4 5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I","4":"C L M G N O P"},C:{"1":"0 1 2 3 4 5 6 7 8 9 eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC","2":"bC DC J FB K D E F A B dC eC","33":"C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB"},D:{"1":"0 1 2 3 4 5 6 7 8 9 cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC","2":"J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB","322":"QB RB SB TB UB VB WB XB YB ZB aB bB"},E:{"1":"AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC","2":"J FB K D E F A B C L M G fC JC gC hC iC jC KC 7B 8B kC lC mC LC MC 9B nC"},F:{"1":"PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t","2":"F B C G N O P GB u v qC rC sC tC 7B YC uC 8B","578":"w x y z HB IB JB KB LB MB NB OB"},G:{"1":"AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC","2":"E JC vC ZC wC xC yC zC 0C 1C 2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD"},H:{"2":"HD"},I:{"1":"I","2":"DC J ID JD KD LD ZC MD ND"},J:{"2":"D A"},K:{"1":"H","2":"A B C 7B YC 8B"},L:{"1":"I"},M:{"1":"6B"},N:{"132":"A B"},O:{"1":"9B"},P:{"1":"u v w x y z OD PD QD RD SD KC TD UD VD WD XD AC BC CC YD","2":"J"},Q:{"1":"ZD"},R:{"1":"aD"},S:{"1":"cD","33":"bD"}},B:4,C:"CSS3 text-align-last",D:true}; +module.exports={A:{A:{"132":"K D E F A B gC"},B:{"1":"5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I","4":"C L M G N O P"},C:{"1":"5 6 7 8 9 jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC","2":"hC IC J LB K D E F A B jC kC","33":"0 1 2 3 4 C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB"},D:{"1":"5 6 7 8 9 hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC","2":"0 1 2 3 4 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB","322":"VB WB XB YB ZB aB bB cB dB eB fB gB"},E:{"1":"FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC","2":"J LB K D E F A B C L M G lC OC mC nC oC pC PC CC DC qC rC sC QC RC EC tC"},F:{"1":"UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x","2":"F B C G N O P MB y z xC yC zC 0C CC eC 1C DC","578":"0 1 2 3 4 NB OB PB QB RB SB TB"},G:{"1":"FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC","2":"E OC 2C fC 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD"},H:{"2":"PD"},I:{"1":"I","2":"IC J QD RD SD TD fC UD VD"},J:{"2":"D A"},K:{"1":"H","2":"A B C CC eC DC"},L:{"1":"I"},M:{"1":"BC"},N:{"132":"A B"},O:{"1":"EC"},P:{"1":"0 1 2 3 4 y z WD XD YD ZD aD PC bD cD dD eD fD FC GC HC gD","2":"J"},Q:{"1":"hD"},R:{"1":"iD"},S:{"1":"kD","33":"jD"}},B:4,C:"CSS3 text-align-last",D:true}; diff --git a/node_modules/caniuse-lite/data/features/css-text-box-trim.js b/node_modules/caniuse-lite/data/features/css-text-box-trim.js index 48d785d6e5..b22b94d2dc 100644 --- a/node_modules/caniuse-lite/data/features/css-text-box-trim.js +++ b/node_modules/caniuse-lite/data/features/css-text-box-trim.js @@ -1 +1 @@ -module.exports={A:{A:{"2":"K D E F A B aC"},B:{"2":"0 1 2 3 4 5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I"},C:{"2":"0 1 2 3 4 5 6 7 8 9 bC DC J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC dC eC"},D:{"2":"0 1 2 3 4 5 6 7 8 9 J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B","322":"HC IC"},E:{"1":"pC","2":"J FB K D E F A B C L M G fC JC gC hC iC jC KC 7B 8B kC lC mC LC MC 9B nC AC NC OC PC","194":"QC RC oC BC SC TC UC VC WC XC CC"},F:{"2":"F B C G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t qC rC sC tC 7B YC uC 8B"},G:{"2":"E JC vC ZC wC xC yC zC 0C 1C 2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC","194":"QC RC GD BC SC TC UC VC WC XC CC"},H:{"2":"HD"},I:{"2":"DC J I ID JD KD LD ZC MD ND"},J:{"2":"D A"},K:{"2":"A B C H 7B YC 8B"},L:{"2":"I"},M:{"2":"6B"},N:{"2":"A B"},O:{"2":"9B"},P:{"2":"J u v w x y z OD PD QD RD SD KC TD UD VD WD XD AC BC CC YD"},Q:{"2":"ZD"},R:{"2":"aD"},S:{"2":"bD cD"}},B:5,C:"CSS text-box-trim & text-box-edge",D:true}; +module.exports={A:{A:{"2":"K D E F A B gC"},B:{"2":"5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB","322":"IB JB KB I"},C:{"2":"0 1 2 3 4 5 6 7 8 9 hC IC J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC jC kC"},D:{"2":"0 1 2 3 4 5 6 7 8 9 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB","322":"IB JB KB I BC MC NC"},E:{"1":"wC","2":"J LB K D E F A B C L M G lC OC mC nC oC pC PC CC DC qC rC sC QC RC EC tC FC SC TC UC","194":"VC WC uC GC XC YC ZC aC bC vC HC cC dC"},F:{"2":"0 1 2 3 4 F B C G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x xC yC zC 0C CC eC 1C DC"},G:{"2":"E OC 2C fC 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC","194":"VC WC ND GC XC YC ZC aC bC OD HC cC dC"},H:{"2":"PD"},I:{"2":"IC J I QD RD SD TD fC UD VD"},J:{"2":"D A"},K:{"2":"A B C H CC eC DC"},L:{"2":"I"},M:{"2":"BC"},N:{"2":"A B"},O:{"2":"EC"},P:{"2":"0 1 2 3 4 J y z WD XD YD ZD aD PC bD cD dD eD fD FC GC HC gD"},Q:{"2":"hD"},R:{"2":"iD"},S:{"2":"jD kD"}},B:5,C:"CSS text-box-trim & text-box-edge",D:true}; diff --git a/node_modules/caniuse-lite/data/features/css-text-indent.js b/node_modules/caniuse-lite/data/features/css-text-indent.js index b52f497d10..e47c9a2cd5 100644 --- a/node_modules/caniuse-lite/data/features/css-text-indent.js +++ b/node_modules/caniuse-lite/data/features/css-text-indent.js @@ -1 +1 @@ -module.exports={A:{A:{"132":"K D E F A B aC"},B:{"132":"C L M G N O P","388":"0 1 2 3 4 5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I"},C:{"1":"AB BB CB DB EB I 6B HC IC cC","132":"0 1 2 3 4 5 6 7 8 9 bC DC J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t dC eC"},D:{"132":"J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB","388":"0 1 2 3 4 5 6 7 8 9 TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC"},E:{"1":"AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC","132":"J FB K D E F A B C L M G fC JC gC hC iC jC KC 7B 8B kC lC mC LC MC 9B nC"},F:{"132":"F B C G N O P GB u v w x y qC rC sC tC 7B YC uC 8B","388":"z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t"},G:{"1":"AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC","132":"E JC vC ZC wC xC yC zC 0C 1C 2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD"},H:{"132":"HD"},I:{"132":"DC J ID JD KD LD ZC MD ND","388":"I"},J:{"132":"D A"},K:{"132":"A B C 7B YC 8B","388":"H"},L:{"388":"I"},M:{"132":"6B"},N:{"132":"A B"},O:{"388":"9B"},P:{"132":"J","388":"u v w x y z OD PD QD RD SD KC TD UD VD WD XD AC BC CC YD"},Q:{"388":"ZD"},R:{"388":"aD"},S:{"132":"bD cD"}},B:4,C:"CSS text-indent",D:true}; +module.exports={A:{A:{"132":"K D E F A B gC"},B:{"132":"C L M G N O P","388":"5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I"},C:{"1":"BB CB DB EB FB GB HB IB JB KB I BC MC NC iC","132":"0 1 2 3 4 5 6 7 8 9 hC IC J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB jC kC"},D:{"132":"0 1 2 3 4 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB","388":"5 6 7 8 9 YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC"},E:{"1":"FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC","132":"J LB K D E F A B C L M G lC OC mC nC oC pC PC CC DC qC rC sC QC RC EC tC"},F:{"132":"0 1 2 F B C G N O P MB y z xC yC zC 0C CC eC 1C DC","388":"3 4 NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x"},G:{"1":"FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC","132":"E OC 2C fC 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD"},H:{"132":"PD"},I:{"132":"IC J QD RD SD TD fC UD VD","388":"I"},J:{"132":"D A"},K:{"132":"A B C CC eC DC","388":"H"},L:{"388":"I"},M:{"1":"BC"},N:{"132":"A B"},O:{"388":"EC"},P:{"132":"J","388":"0 1 2 3 4 y z WD XD YD ZD aD PC bD cD dD eD fD FC GC HC gD"},Q:{"388":"hD"},R:{"388":"iD"},S:{"132":"jD kD"}},B:4,C:"CSS text-indent",D:true}; diff --git a/node_modules/caniuse-lite/data/features/css-text-justify.js b/node_modules/caniuse-lite/data/features/css-text-justify.js index 387a3e9846..464d9dc1f8 100644 --- a/node_modules/caniuse-lite/data/features/css-text-justify.js +++ b/node_modules/caniuse-lite/data/features/css-text-justify.js @@ -1 +1 @@ -module.exports={A:{A:{"16":"K D aC","132":"E F A B"},B:{"132":"C L M G N O P","322":"0 1 2 3 4 5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I"},C:{"2":"bC DC J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB dC eC","1025":"0 1 2 3 4 5 6 7 8 9 kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC","1602":"jB"},D:{"2":"J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB","322":"0 1 2 3 4 5 6 7 8 9 YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC"},E:{"2":"J FB K D E F A B C L M G fC JC gC hC iC jC KC 7B 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC"},F:{"2":"F B C G N O P GB u v w x y z HB IB JB KB qC rC sC tC 7B YC uC 8B","322":"LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t"},G:{"2":"E JC vC ZC wC xC yC zC 0C 1C 2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC"},H:{"2":"HD"},I:{"2":"DC J ID JD KD LD ZC MD ND","322":"I"},J:{"2":"D A"},K:{"2":"A B C 7B YC 8B","322":"H"},L:{"322":"I"},M:{"1025":"6B"},N:{"132":"A B"},O:{"322":"9B"},P:{"2":"J","322":"u v w x y z OD PD QD RD SD KC TD UD VD WD XD AC BC CC YD"},Q:{"322":"ZD"},R:{"322":"aD"},S:{"2":"bD","1025":"cD"}},B:4,C:"CSS text-justify",D:true}; +module.exports={A:{A:{"16":"K D gC","132":"E F A B"},B:{"132":"C L M G N O P","322":"5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I"},C:{"2":"0 1 2 3 4 hC IC J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB jC kC","1025":"5 6 7 8 9 pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC","1602":"oB"},D:{"2":"0 1 2 3 4 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB","322":"5 6 7 8 9 dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC"},E:{"2":"J LB K D E F A B C L M G lC OC mC nC oC pC PC CC DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC"},F:{"2":"0 1 2 3 4 F B C G N O P MB y z NB OB PB xC yC zC 0C CC eC 1C DC","322":"QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x"},G:{"2":"E OC 2C fC 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC"},H:{"2":"PD"},I:{"2":"IC J QD RD SD TD fC UD VD","322":"I"},J:{"2":"D A"},K:{"2":"A B C CC eC DC","322":"H"},L:{"322":"I"},M:{"1025":"BC"},N:{"132":"A B"},O:{"322":"EC"},P:{"2":"J","322":"0 1 2 3 4 y z WD XD YD ZD aD PC bD cD dD eD fD FC GC HC gD"},Q:{"322":"hD"},R:{"322":"iD"},S:{"2":"jD","1025":"kD"}},B:4,C:"CSS text-justify",D:true}; diff --git a/node_modules/caniuse-lite/data/features/css-text-orientation.js b/node_modules/caniuse-lite/data/features/css-text-orientation.js index 3f19bda9b6..510c854889 100644 --- a/node_modules/caniuse-lite/data/features/css-text-orientation.js +++ b/node_modules/caniuse-lite/data/features/css-text-orientation.js @@ -1 +1 @@ -module.exports={A:{A:{"2":"K D E F A B aC"},B:{"1":"0 1 2 3 4 5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I","2":"C L M G N O P"},C:{"1":"0 1 2 3 4 5 6 7 8 9 WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC","2":"bC DC J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB dC eC","194":"TB UB VB"},D:{"1":"0 1 2 3 4 5 6 7 8 9 dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC","2":"J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB"},E:{"1":"M G lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC","2":"J FB K D E F fC JC gC hC iC jC","16":"A","33":"B C L KC 7B 8B kC"},F:{"1":"QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t","2":"F B C G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB qC rC sC tC 7B YC uC 8B"},G:{"1":"2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC","2":"E JC vC ZC wC xC yC zC 0C 1C"},H:{"2":"HD"},I:{"1":"I","2":"DC J ID JD KD LD ZC MD ND"},J:{"2":"D A"},K:{"1":"H","2":"A B C 7B YC 8B"},L:{"1":"I"},M:{"1":"6B"},N:{"2":"A B"},O:{"1":"9B"},P:{"1":"u v w x y z OD PD QD RD SD KC TD UD VD WD XD AC BC CC YD","2":"J"},Q:{"1":"ZD"},R:{"1":"aD"},S:{"1":"bD cD"}},B:2,C:"CSS text-orientation",D:true}; +module.exports={A:{A:{"2":"K D E F A B gC"},B:{"1":"5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I","2":"C L M G N O P"},C:{"1":"5 6 7 8 9 bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC","2":"0 1 2 3 4 hC IC J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB jC kC","194":"YB ZB aB"},D:{"1":"5 6 7 8 9 iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC","2":"0 1 2 3 4 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB"},E:{"1":"M G rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC","2":"J LB K D E F lC OC mC nC oC pC","16":"A","33":"B C L PC CC DC qC"},F:{"1":"VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x","2":"0 1 2 3 4 F B C G N O P MB y z NB OB PB QB RB SB TB UB xC yC zC 0C CC eC 1C DC"},G:{"1":"9C AD BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC","2":"E OC 2C fC 3C 4C 5C 6C 7C 8C"},H:{"2":"PD"},I:{"1":"I","2":"IC J QD RD SD TD fC UD VD"},J:{"2":"D A"},K:{"1":"H","2":"A B C CC eC DC"},L:{"1":"I"},M:{"1":"BC"},N:{"2":"A B"},O:{"1":"EC"},P:{"1":"0 1 2 3 4 y z WD XD YD ZD aD PC bD cD dD eD fD FC GC HC gD","2":"J"},Q:{"1":"hD"},R:{"1":"iD"},S:{"1":"jD kD"}},B:2,C:"CSS text-orientation",D:true}; diff --git a/node_modules/caniuse-lite/data/features/css-text-spacing.js b/node_modules/caniuse-lite/data/features/css-text-spacing.js index 671c591ac5..ed22e179fc 100644 --- a/node_modules/caniuse-lite/data/features/css-text-spacing.js +++ b/node_modules/caniuse-lite/data/features/css-text-spacing.js @@ -1 +1 @@ -module.exports={A:{A:{"2":"K D aC","161":"E F A B"},B:{"2":"0 1 2 3 4 5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I","161":"C L M G N O P"},C:{"2":"0 1 2 3 4 5 6 7 8 9 bC DC J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC dC eC"},D:{"2":"0 1 2 3 4 5 6 7 8 9 J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC"},E:{"2":"J FB K D E F A B C L M G fC JC gC hC iC jC KC 7B 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC"},F:{"2":"F B C G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t qC rC sC tC 7B YC uC 8B"},G:{"2":"E JC vC ZC wC xC yC zC 0C 1C 2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC"},H:{"2":"HD"},I:{"2":"DC J I ID JD KD LD ZC MD ND"},J:{"2":"D A"},K:{"2":"A B C H 7B YC 8B"},L:{"2":"I"},M:{"2":"6B"},N:{"16":"A B"},O:{"2":"9B"},P:{"2":"J u v w x y z OD PD QD RD SD KC TD UD VD WD XD AC BC CC YD"},Q:{"2":"ZD"},R:{"2":"aD"},S:{"2":"bD cD"}},B:5,C:"CSS Text 4 text-spacing",D:false}; +module.exports={A:{A:{"2":"K D gC","161":"E F A B"},B:{"2":"5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I","161":"C L M G N O P"},C:{"2":"0 1 2 3 4 5 6 7 8 9 hC IC J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC jC kC"},D:{"2":"0 1 2 3 4 5 6 7 8 9 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC"},E:{"2":"J LB K D E F A B C L M G lC OC mC nC oC pC PC CC DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC"},F:{"2":"0 1 2 3 4 F B C G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x xC yC zC 0C CC eC 1C DC"},G:{"2":"E OC 2C fC 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC"},H:{"2":"PD"},I:{"2":"IC J I QD RD SD TD fC UD VD"},J:{"2":"D A"},K:{"2":"A B C H CC eC DC"},L:{"2":"I"},M:{"2":"BC"},N:{"16":"A B"},O:{"2":"EC"},P:{"2":"0 1 2 3 4 J y z WD XD YD ZD aD PC bD cD dD eD fD FC GC HC gD"},Q:{"2":"hD"},R:{"2":"iD"},S:{"2":"jD kD"}},B:5,C:"CSS Text 4 text-spacing",D:false}; diff --git a/node_modules/caniuse-lite/data/features/css-text-wrap-balance.js b/node_modules/caniuse-lite/data/features/css-text-wrap-balance.js index a7c165aeb4..ab4b011fcc 100644 --- a/node_modules/caniuse-lite/data/features/css-text-wrap-balance.js +++ b/node_modules/caniuse-lite/data/features/css-text-wrap-balance.js @@ -1 +1 @@ -module.exports={A:{A:{"2":"K D E F A B aC"},B:{"2":"0 1 2 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t","132":"3 4 5 6 7 8 9 AB BB CB DB EB I"},C:{"1":"AB BB CB DB EB I 6B HC IC cC","2":"0 1 2 3 4 5 6 7 8 9 bC DC J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t dC eC"},D:{"2":"0 1 2 J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t","132":"3 4 5 6 7 8 9 AB BB CB DB EB I 6B HC IC"},E:{"1":"WC XC CC pC","2":"J FB K D E F A B C L M G fC JC gC hC iC jC KC 7B 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC"},F:{"2":"F B C G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h qC rC sC tC 7B YC uC 8B","132":"i j k l m n o p q r s t"},G:{"1":"WC XC CC","2":"E JC vC ZC wC xC yC zC 0C 1C 2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC"},H:{"2":"HD"},I:{"2":"DC J ID JD KD LD ZC MD ND","132":"I"},J:{"2":"D A"},K:{"2":"A B C 7B YC 8B","132":"H"},L:{"132":"I"},M:{"2":"6B"},N:{"2":"A B"},O:{"2":"9B"},P:{"2":"J u v w OD PD QD RD SD KC TD UD VD WD XD AC BC CC YD","132":"x y z"},Q:{"2":"ZD"},R:{"2":"aD"},S:{"2":"bD cD"}},B:5,C:"CSS text-wrap: balance",D:true}; +module.exports={A:{A:{"2":"K D E F A B gC"},B:{"2":"C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w","132":"5 6 7 8 9 x AB BB CB DB EB FB GB HB IB JB KB I"},C:{"1":"BB CB DB EB FB GB HB IB JB KB I BC MC NC iC","2":"0 1 2 3 4 5 6 7 8 9 hC IC J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB jC kC"},D:{"2":"0 1 2 3 4 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w","132":"5 6 7 8 9 x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC"},E:{"1":"bC vC HC cC dC wC","2":"J LB K D E F A B C L M G lC OC mC nC oC pC PC CC DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC"},F:{"2":"0 1 2 3 4 F B C G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h xC yC zC 0C CC eC 1C DC","132":"i j k l m n o p q r s t u v w x"},G:{"1":"bC OD HC cC dC","2":"E OC 2C fC 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC"},H:{"2":"PD"},I:{"2":"IC J QD RD SD TD fC UD VD","132":"I"},J:{"2":"D A"},K:{"2":"A B C CC eC DC","132":"H"},L:{"132":"I"},M:{"1":"BC"},N:{"2":"A B"},O:{"2":"EC"},P:{"2":"0 J y z WD XD YD ZD aD PC bD cD dD eD fD FC GC HC gD","132":"1 2 3 4"},Q:{"2":"hD"},R:{"2":"iD"},S:{"2":"jD kD"}},B:5,C:"CSS text-wrap: balance",D:true}; diff --git a/node_modules/caniuse-lite/data/features/css-textshadow.js b/node_modules/caniuse-lite/data/features/css-textshadow.js index 92f24754b4..32dd4d8acc 100644 --- a/node_modules/caniuse-lite/data/features/css-textshadow.js +++ b/node_modules/caniuse-lite/data/features/css-textshadow.js @@ -1 +1 @@ -module.exports={A:{A:{"2":"K D E F aC","129":"A B"},B:{"1":"0 1 2 3 4 5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I","129":"C L M G N O P"},C:{"1":"0 1 2 3 4 5 6 7 8 9 J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC dC eC","2":"bC DC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC"},E:{"1":"J FB K D E F A B C L M G gC hC iC jC KC 7B 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC","260":"fC JC"},F:{"1":"B C G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t qC rC sC tC 7B YC uC 8B","2":"F"},G:{"1":"E JC vC ZC wC xC yC zC 0C 1C 2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC"},H:{"4":"HD"},I:{"1":"DC J I ID JD KD LD ZC MD ND"},J:{"1":"A","4":"D"},K:{"1":"A B C H 7B YC 8B"},L:{"1":"I"},M:{"1":"6B"},N:{"129":"A B"},O:{"1":"9B"},P:{"1":"J u v w x y z OD PD QD RD SD KC TD UD VD WD XD AC BC CC YD"},Q:{"1":"ZD"},R:{"1":"aD"},S:{"1":"bD cD"}},B:4,C:"CSS3 Text-shadow",D:true}; +module.exports={A:{A:{"2":"K D E F gC","129":"A B"},B:{"1":"5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I","129":"C L M G N O P"},C:{"1":"0 1 2 3 4 5 6 7 8 9 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC jC kC","2":"hC IC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC"},E:{"1":"J LB K D E F A B C L M G mC nC oC pC PC CC DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC","260":"lC OC"},F:{"1":"0 1 2 3 4 B C G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x xC yC zC 0C CC eC 1C DC","2":"F"},G:{"1":"E OC 2C fC 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC"},H:{"4":"PD"},I:{"1":"IC J I QD RD SD TD fC UD VD"},J:{"1":"A","4":"D"},K:{"1":"A B C H CC eC DC"},L:{"1":"I"},M:{"1":"BC"},N:{"129":"A B"},O:{"1":"EC"},P:{"1":"0 1 2 3 4 J y z WD XD YD ZD aD PC bD cD dD eD fD FC GC HC gD"},Q:{"1":"hD"},R:{"1":"iD"},S:{"1":"jD kD"}},B:4,C:"CSS3 Text-shadow",D:true}; diff --git a/node_modules/caniuse-lite/data/features/css-touch-action.js b/node_modules/caniuse-lite/data/features/css-touch-action.js index 097730cf65..f5ed10de3a 100644 --- a/node_modules/caniuse-lite/data/features/css-touch-action.js +++ b/node_modules/caniuse-lite/data/features/css-touch-action.js @@ -1 +1 @@ -module.exports={A:{A:{"1":"B","2":"K D E F aC","289":"A"},B:{"1":"0 1 2 3 4 5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC","2":"bC DC J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB dC eC","194":"KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB","1025":"hB iB jB kB lB"},D:{"1":"0 1 2 3 4 5 6 7 8 9 RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC","2":"J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB"},E:{"2":"J FB K D E F A B C L M G fC JC gC hC iC jC KC 7B 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC"},F:{"1":"x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t","2":"F B C G N O P GB u v w qC rC sC tC 7B YC uC 8B"},G:{"1":"8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC","2":"E JC vC ZC wC xC yC zC 0C","516":"1C 2C 3C 4C 5C 6C 7C"},H:{"2":"HD"},I:{"1":"I","2":"DC J ID JD KD LD ZC MD ND"},J:{"2":"D A"},K:{"1":"H","2":"A B C 7B YC 8B"},L:{"1":"I"},M:{"1":"6B"},N:{"1":"B","289":"A"},O:{"1":"9B"},P:{"1":"J u v w x y z OD PD QD RD SD KC TD UD VD WD XD AC BC CC YD"},Q:{"1":"ZD"},R:{"1":"aD"},S:{"1":"cD","194":"bD"}},B:2,C:"CSS touch-action property",D:true}; +module.exports={A:{A:{"1":"B","2":"K D E F gC","289":"A"},B:{"1":"5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I"},C:{"1":"5 6 7 8 9 rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC","2":"0 1 2 3 4 hC IC J LB K D E F A B C L M G N O P MB y z NB OB jC kC","194":"PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB","1025":"mB nB oB pB qB"},D:{"1":"5 6 7 8 9 WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC","2":"0 1 2 3 4 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB"},E:{"2050":"J LB K D E F A B C L M G lC OC mC nC oC pC PC CC DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC"},F:{"1":"1 2 3 4 NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x","2":"0 F B C G N O P MB y z xC yC zC 0C CC eC 1C DC"},G:{"1":"FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC","2":"E OC 2C fC 3C 4C 5C 6C 7C","516":"8C 9C AD BD CD DD ED"},H:{"2":"PD"},I:{"1":"I","2":"IC J QD RD SD TD fC UD VD"},J:{"2":"D A"},K:{"1":"H","2":"A B C CC eC DC"},L:{"1":"I"},M:{"1":"BC"},N:{"1":"B","289":"A"},O:{"1":"EC"},P:{"1":"0 1 2 3 4 J y z WD XD YD ZD aD PC bD cD dD eD fD FC GC HC gD"},Q:{"1":"hD"},R:{"1":"iD"},S:{"1":"kD","194":"jD"}},B:2,C:"CSS touch-action property",D:true}; diff --git a/node_modules/caniuse-lite/data/features/css-transitions.js b/node_modules/caniuse-lite/data/features/css-transitions.js index b8e64d062a..9f50c6208a 100644 --- a/node_modules/caniuse-lite/data/features/css-transitions.js +++ b/node_modules/caniuse-lite/data/features/css-transitions.js @@ -1 +1 @@ -module.exports={A:{A:{"1":"A B","2":"K D E F aC"},B:{"1":"0 1 2 3 4 5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC","2":"bC DC dC eC","33":"FB K D E F A B C L M G","164":"J"},D:{"1":"0 1 2 3 4 5 6 7 8 9 HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC","33":"J FB K D E F A B C L M G N O P GB u v w x y z"},E:{"1":"D E F A B C L M G hC iC jC KC 7B 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC","33":"K gC","164":"J FB fC JC"},F:{"1":"G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t 8B","2":"F qC rC","33":"C","164":"B sC tC 7B YC uC"},G:{"1":"E yC zC 0C 1C 2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC","33":"xC","164":"JC vC ZC wC"},H:{"2":"HD"},I:{"1":"I MD ND","33":"DC J ID JD KD LD ZC"},J:{"1":"A","33":"D"},K:{"1":"H 8B","33":"C","164":"A B 7B YC"},L:{"1":"I"},M:{"1":"6B"},N:{"1":"A B"},O:{"1":"9B"},P:{"1":"J u v w x y z OD PD QD RD SD KC TD UD VD WD XD AC BC CC YD"},Q:{"1":"ZD"},R:{"1":"aD"},S:{"1":"bD cD"}},B:5,C:"CSS3 Transitions",D:true}; +module.exports={A:{A:{"1":"A B","2":"K D E F gC"},B:{"1":"5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC","2":"hC IC jC kC","33":"LB K D E F A B C L M G","164":"J"},D:{"1":"4 5 6 7 8 9 NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC","33":"0 1 2 3 J LB K D E F A B C L M G N O P MB y z"},E:{"1":"D E F A B C L M G nC oC pC PC CC DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC","33":"K mC","164":"J LB lC OC"},F:{"1":"0 1 2 3 4 G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x DC","2":"F xC yC","33":"C","164":"B zC 0C CC eC 1C"},G:{"1":"E 5C 6C 7C 8C 9C AD BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC","33":"4C","164":"OC 2C fC 3C"},H:{"2":"PD"},I:{"1":"I UD VD","33":"IC J QD RD SD TD fC"},J:{"1":"A","33":"D"},K:{"1":"H DC","33":"C","164":"A B CC eC"},L:{"1":"I"},M:{"1":"BC"},N:{"1":"A B"},O:{"1":"EC"},P:{"1":"0 1 2 3 4 J y z WD XD YD ZD aD PC bD cD dD eD fD FC GC HC gD"},Q:{"1":"hD"},R:{"1":"iD"},S:{"1":"jD kD"}},B:5,C:"CSS3 Transitions",D:true}; diff --git a/node_modules/caniuse-lite/data/features/css-unicode-bidi.js b/node_modules/caniuse-lite/data/features/css-unicode-bidi.js index 4fd5f29206..30197ba5dc 100644 --- a/node_modules/caniuse-lite/data/features/css-unicode-bidi.js +++ b/node_modules/caniuse-lite/data/features/css-unicode-bidi.js @@ -1 +1 @@ -module.exports={A:{A:{"132":"K D E F A B aC"},B:{"1":"0 1 2 3 4 5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I","132":"C L M G N O P"},C:{"1":"0 1 2 3 4 5 6 7 8 9 fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC","33":"O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB","132":"bC DC J FB K D E F dC eC","292":"A B C L M G N"},D:{"1":"0 1 2 3 4 5 6 7 8 9 dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC","132":"J FB K D E F A B C L M G N","548":"O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB"},E:{"132":"J FB K D E fC JC gC hC iC","548":"F A B C L M G jC KC 7B 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC"},F:{"132":"F B C G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t qC rC sC tC 7B YC uC 8B"},G:{"132":"E JC vC ZC wC xC yC zC","548":"0C 1C 2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC"},H:{"16":"HD"},I:{"1":"I","16":"DC J ID JD KD LD ZC MD ND"},J:{"16":"D A"},K:{"1":"H","16":"A B C 7B YC 8B"},L:{"1":"I"},M:{"1":"6B"},N:{"132":"A B"},O:{"1":"9B"},P:{"1":"u v w x y z OD PD QD RD SD KC TD UD VD WD XD AC BC CC YD","16":"J"},Q:{"1":"ZD"},R:{"1":"aD"},S:{"1":"cD","33":"bD"}},B:4,C:"CSS unicode-bidi property",D:false}; +module.exports={A:{A:{"132":"K D E F A B gC"},B:{"1":"5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I","132":"C L M G N O P"},C:{"1":"5 6 7 8 9 kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC","33":"0 1 2 3 4 O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB","132":"hC IC J LB K D E F jC kC","292":"A B C L M G N"},D:{"1":"5 6 7 8 9 iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC","132":"J LB K D E F A B C L M G N","548":"0 1 2 3 4 O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB"},E:{"132":"J LB K D E lC OC mC nC oC","548":"F A B C L M G pC PC CC DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC"},F:{"132":"0 1 2 3 4 F B C G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x xC yC zC 0C CC eC 1C DC"},G:{"132":"E OC 2C fC 3C 4C 5C 6C","548":"7C 8C 9C AD BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC"},H:{"16":"PD"},I:{"1":"I","16":"IC J QD RD SD TD fC UD VD"},J:{"16":"D A"},K:{"1":"H","16":"A B C CC eC DC"},L:{"1":"I"},M:{"1":"BC"},N:{"132":"A B"},O:{"1":"EC"},P:{"1":"0 1 2 3 4 y z WD XD YD ZD aD PC bD cD dD eD fD FC GC HC gD","16":"J"},Q:{"1":"hD"},R:{"1":"iD"},S:{"1":"kD","33":"jD"}},B:4,C:"CSS unicode-bidi property",D:false}; diff --git a/node_modules/caniuse-lite/data/features/css-unset-value.js b/node_modules/caniuse-lite/data/features/css-unset-value.js index 983b60157e..733053f9ea 100644 --- a/node_modules/caniuse-lite/data/features/css-unset-value.js +++ b/node_modules/caniuse-lite/data/features/css-unset-value.js @@ -1 +1 @@ -module.exports={A:{A:{"2":"K D E F A B aC"},B:{"1":"0 1 2 3 4 5 6 7 8 9 L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I","2":"C"},C:{"1":"0 1 2 3 4 5 6 7 8 9 IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC","2":"bC DC J FB K D E F A B C L M G N O P GB u v w x y z HB dC eC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC","2":"J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB"},E:{"1":"A B C L M G jC KC 7B 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC","2":"J FB K D E F fC JC gC hC iC"},F:{"1":"JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t","2":"F B C G N O P GB u v w x y z HB IB qC rC sC tC 7B YC uC 8B"},G:{"1":"1C 2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC","2":"E JC vC ZC wC xC yC zC 0C"},H:{"2":"HD"},I:{"1":"I","2":"DC J ID JD KD LD ZC MD ND"},J:{"2":"D A"},K:{"1":"H","2":"A B C 7B YC 8B"},L:{"1":"I"},M:{"1":"6B"},N:{"2":"A B"},O:{"1":"9B"},P:{"1":"J u v w x y z OD PD QD RD SD KC TD UD VD WD XD AC BC CC YD"},Q:{"1":"ZD"},R:{"1":"aD"},S:{"1":"bD cD"}},B:2,C:"CSS unset value",D:true}; +module.exports={A:{A:{"2":"K D E F A B gC"},B:{"1":"5 6 7 8 9 L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I","2":"C"},C:{"1":"5 6 7 8 9 NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC","2":"0 1 2 3 4 hC IC J LB K D E F A B C L M G N O P MB y z jC kC"},D:{"1":"5 6 7 8 9 bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC","2":"0 1 2 3 4 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB"},E:{"1":"A B C L M G pC PC CC DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC","2":"J LB K D E F lC OC mC nC oC"},F:{"1":"OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x","2":"0 1 2 3 4 F B C G N O P MB y z NB xC yC zC 0C CC eC 1C DC"},G:{"1":"8C 9C AD BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC","2":"E OC 2C fC 3C 4C 5C 6C 7C"},H:{"2":"PD"},I:{"1":"I","2":"IC J QD RD SD TD fC UD VD"},J:{"2":"D A"},K:{"1":"H","2":"A B C CC eC DC"},L:{"1":"I"},M:{"1":"BC"},N:{"2":"A B"},O:{"1":"EC"},P:{"1":"0 1 2 3 4 J y z WD XD YD ZD aD PC bD cD dD eD fD FC GC HC gD"},Q:{"1":"hD"},R:{"1":"iD"},S:{"1":"jD kD"}},B:2,C:"CSS unset value",D:true}; diff --git a/node_modules/caniuse-lite/data/features/css-variables.js b/node_modules/caniuse-lite/data/features/css-variables.js index 133b13e46d..89acd0f56a 100644 --- a/node_modules/caniuse-lite/data/features/css-variables.js +++ b/node_modules/caniuse-lite/data/features/css-variables.js @@ -1 +1 @@ -module.exports={A:{A:{"2":"K D E F A B aC"},B:{"1":"0 1 2 3 4 5 6 7 8 9 N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I","2":"C L M","260":"G"},C:{"1":"0 1 2 3 4 5 6 7 8 9 MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC","2":"bC DC J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB dC eC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC","2":"J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB","194":"dB"},E:{"1":"A B C L M G KC 7B 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC","2":"J FB K D E F fC JC gC hC iC","260":"jC"},F:{"1":"RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t","2":"F B C G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB qC rC sC tC 7B YC uC 8B","194":"QB"},G:{"1":"2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC","2":"E JC vC ZC wC xC yC zC 0C","260":"1C"},H:{"2":"HD"},I:{"1":"I","2":"DC J ID JD KD LD ZC MD ND"},J:{"2":"D A"},K:{"1":"H","2":"A B C 7B YC 8B"},L:{"1":"I"},M:{"1":"6B"},N:{"2":"A B"},O:{"1":"9B"},P:{"1":"u v w x y z OD PD QD RD SD KC TD UD VD WD XD AC BC CC YD","2":"J"},Q:{"1":"ZD"},R:{"1":"aD"},S:{"1":"bD cD"}},B:4,C:"CSS Variables (Custom Properties)",D:true}; +module.exports={A:{A:{"2":"K D E F A B gC"},B:{"1":"5 6 7 8 9 N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I","2":"C L M","260":"G"},C:{"1":"5 6 7 8 9 RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC","2":"0 1 2 3 4 hC IC J LB K D E F A B C L M G N O P MB y z NB OB PB QB jC kC"},D:{"1":"5 6 7 8 9 jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC","2":"0 1 2 3 4 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB","194":"iB"},E:{"1":"A B C L M G PC CC DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC","2":"J LB K D E F lC OC mC nC oC","260":"pC"},F:{"1":"WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x","2":"0 1 2 3 4 F B C G N O P MB y z NB OB PB QB RB SB TB UB xC yC zC 0C CC eC 1C DC","194":"VB"},G:{"1":"9C AD BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC","2":"E OC 2C fC 3C 4C 5C 6C 7C","260":"8C"},H:{"2":"PD"},I:{"1":"I","2":"IC J QD RD SD TD fC UD VD"},J:{"2":"D A"},K:{"1":"H","2":"A B C CC eC DC"},L:{"1":"I"},M:{"1":"BC"},N:{"2":"A B"},O:{"1":"EC"},P:{"1":"0 1 2 3 4 y z WD XD YD ZD aD PC bD cD dD eD fD FC GC HC gD","2":"J"},Q:{"1":"hD"},R:{"1":"iD"},S:{"1":"jD kD"}},B:4,C:"CSS Variables (Custom Properties)",D:true}; diff --git a/node_modules/caniuse-lite/data/features/css-when-else.js b/node_modules/caniuse-lite/data/features/css-when-else.js index 206b945c47..02447bbe05 100644 --- a/node_modules/caniuse-lite/data/features/css-when-else.js +++ b/node_modules/caniuse-lite/data/features/css-when-else.js @@ -1 +1 @@ -module.exports={A:{A:{"2":"K D E F A B aC"},B:{"2":"0 1 2 3 4 5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I"},C:{"2":"0 1 2 3 4 5 6 7 8 9 bC DC J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC dC eC"},D:{"2":"0 1 2 3 4 5 6 7 8 9 J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC"},E:{"2":"J FB K D E F A B C L M G fC JC gC hC iC jC KC 7B 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC"},F:{"2":"F B C G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t qC rC sC tC 7B YC uC 8B"},G:{"2":"E JC vC ZC wC xC yC zC 0C 1C 2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC"},H:{"2":"HD"},I:{"2":"DC J I ID JD KD LD ZC MD ND"},J:{"2":"D A"},K:{"2":"A B C H 7B YC 8B"},L:{"2":"I"},M:{"2":"6B"},N:{"2":"A B"},O:{"2":"9B"},P:{"2":"J u v w x y z OD PD QD RD SD KC TD UD VD WD XD AC BC CC YD"},Q:{"2":"ZD"},R:{"2":"aD"},S:{"2":"bD cD"}},B:5,C:"CSS @when / @else conditional rules",D:true}; +module.exports={A:{A:{"2":"K D E F A B gC"},B:{"2":"5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I"},C:{"2":"0 1 2 3 4 5 6 7 8 9 hC IC J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC jC kC"},D:{"2":"0 1 2 3 4 5 6 7 8 9 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC"},E:{"2":"J LB K D E F A B C L M G lC OC mC nC oC pC PC CC DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC"},F:{"2":"0 1 2 3 4 F B C G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x xC yC zC 0C CC eC 1C DC"},G:{"2":"E OC 2C fC 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC"},H:{"2":"PD"},I:{"2":"IC J I QD RD SD TD fC UD VD"},J:{"2":"D A"},K:{"2":"A B C H CC eC DC"},L:{"2":"I"},M:{"2":"BC"},N:{"2":"A B"},O:{"2":"EC"},P:{"2":"0 1 2 3 4 J y z WD XD YD ZD aD PC bD cD dD eD fD FC GC HC gD"},Q:{"2":"hD"},R:{"2":"iD"},S:{"2":"jD kD"}},B:5,C:"CSS @when / @else conditional rules",D:true}; diff --git a/node_modules/caniuse-lite/data/features/css-widows-orphans.js b/node_modules/caniuse-lite/data/features/css-widows-orphans.js index afbe2ea56c..95b4810e93 100644 --- a/node_modules/caniuse-lite/data/features/css-widows-orphans.js +++ b/node_modules/caniuse-lite/data/features/css-widows-orphans.js @@ -1 +1 @@ -module.exports={A:{A:{"1":"A B","2":"K D aC","129":"E F"},B:{"1":"0 1 2 3 4 5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I"},C:{"2":"0 1 2 3 4 5 6 7 8 9 bC DC J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC dC eC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC","2":"J FB K D E F A B C L M G N O P GB u v w x y"},E:{"1":"D E F A B C L M G iC jC KC 7B 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC","2":"J FB K fC JC gC hC"},F:{"1":"C G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t 8B","129":"F B qC rC sC tC 7B YC uC"},G:{"1":"E yC zC 0C 1C 2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC","2":"JC vC ZC wC xC"},H:{"1":"HD"},I:{"1":"I MD ND","2":"DC J ID JD KD LD ZC"},J:{"2":"D A"},K:{"1":"H 8B","2":"A B C 7B YC"},L:{"1":"I"},M:{"2":"6B"},N:{"1":"A B"},O:{"1":"9B"},P:{"1":"J u v w x y z OD PD QD RD SD KC TD UD VD WD XD AC BC CC YD"},Q:{"1":"ZD"},R:{"1":"aD"},S:{"2":"bD cD"}},B:2,C:"CSS widows & orphans",D:true}; +module.exports={A:{A:{"1":"A B","2":"K D gC","129":"E F"},B:{"1":"5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I"},C:{"2":"0 1 2 3 4 5 6 7 8 9 hC IC J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC jC kC"},D:{"1":"3 4 5 6 7 8 9 NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC","2":"0 1 2 J LB K D E F A B C L M G N O P MB y z"},E:{"1":"D E F A B C L M G oC pC PC CC DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC","2":"J LB K lC OC mC nC"},F:{"1":"0 1 2 3 4 C G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x DC","129":"F B xC yC zC 0C CC eC 1C"},G:{"1":"E 5C 6C 7C 8C 9C AD BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC","2":"OC 2C fC 3C 4C"},H:{"1":"PD"},I:{"1":"I UD VD","2":"IC J QD RD SD TD fC"},J:{"2":"D A"},K:{"1":"H DC","2":"A B C CC eC"},L:{"1":"I"},M:{"2":"BC"},N:{"1":"A B"},O:{"1":"EC"},P:{"1":"0 1 2 3 4 J y z WD XD YD ZD aD PC bD cD dD eD fD FC GC HC gD"},Q:{"1":"hD"},R:{"1":"iD"},S:{"2":"jD kD"}},B:2,C:"CSS widows & orphans",D:true}; diff --git a/node_modules/caniuse-lite/data/features/css-width-stretch.js b/node_modules/caniuse-lite/data/features/css-width-stretch.js index 24c4983949..475a48f677 100644 --- a/node_modules/caniuse-lite/data/features/css-width-stretch.js +++ b/node_modules/caniuse-lite/data/features/css-width-stretch.js @@ -1 +1 @@ -module.exports={A:{D:{"2":"J FB K D E F A B C L M G N O P GB u v","33":"0 1 2 3 4 5 6 7 8 9 w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC"},L:{"33":"I"},B:{"2":"C L M G N O P","33":"0 1 2 3 4 5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I"},C:{"2":"bC","33":"0 1 2 3 4 5 6 7 8 9 DC J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC dC eC"},M:{"33":"6B"},A:{"2":"K D E F A B aC"},F:{"2":"F B C qC rC sC tC 7B YC uC 8B","33":"G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t"},K:{"2":"A B C 7B YC 8B","33":"H"},E:{"2":"J FB K fC JC gC hC pC","33":"D E F A B C L M G iC jC KC 7B 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC"},G:{"2":"JC vC ZC wC xC","33":"E yC zC 0C 1C 2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC"},P:{"2":"J","33":"u v w x y z OD PD QD RD SD KC TD UD VD WD XD AC BC CC YD"},I:{"2":"DC J ID JD KD LD ZC","33":"I MD ND"}},B:6,C:"width: stretch property",D:undefined}; +module.exports={A:{D:{"2":"J LB K D E F A B C L M G N O P MB y z","33":"0 1 2 3 4 5 6 7 8 9 NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC"},L:{"33":"I"},B:{"2":"C L M G N O P","33":"5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I"},C:{"2":"hC","33":"0 1 2 3 4 5 6 7 8 9 IC J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC jC kC"},M:{"33":"BC"},A:{"2":"K D E F A B gC"},F:{"2":"F B C xC yC zC 0C CC eC 1C DC","33":"0 1 2 3 4 G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x"},K:{"2":"A B C CC eC DC","33":"H"},E:{"2":"J LB K lC OC mC nC wC","33":"D E F A B C L M G oC pC PC CC DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC"},G:{"2":"OC 2C fC 3C 4C","33":"E 5C 6C 7C 8C 9C AD BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC"},P:{"2":"J","33":"0 1 2 3 4 y z WD XD YD ZD aD PC bD cD dD eD fD FC GC HC gD"},I:{"2":"IC J QD RD SD TD fC","33":"I UD VD"}},B:6,C:"width: stretch property",D:undefined}; diff --git a/node_modules/caniuse-lite/data/features/css-writing-mode.js b/node_modules/caniuse-lite/data/features/css-writing-mode.js index d62b61e57d..a2b6c292b3 100644 --- a/node_modules/caniuse-lite/data/features/css-writing-mode.js +++ b/node_modules/caniuse-lite/data/features/css-writing-mode.js @@ -1 +1 @@ -module.exports={A:{A:{"132":"K D E F A B aC"},B:{"1":"0 1 2 3 4 5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC","2":"bC DC J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB dC eC","322":"RB SB TB UB VB"},D:{"1":"0 1 2 3 4 5 6 7 8 9 dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC","2":"J FB K","16":"D","33":"E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB"},E:{"1":"B C L M G 7B 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC","2":"J fC JC","16":"FB","33":"K D E F A gC hC iC jC KC"},F:{"1":"QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t","2":"F B C qC rC sC tC 7B YC uC 8B","33":"G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB"},G:{"1":"4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC","16":"JC vC ZC","33":"E wC xC yC zC 0C 1C 2C 3C"},H:{"2":"HD"},I:{"1":"I","2":"ID JD KD","33":"DC J LD ZC MD ND"},J:{"33":"D A"},K:{"1":"H","2":"A B C 7B YC 8B"},L:{"1":"I"},M:{"1":"6B"},N:{"36":"A B"},O:{"1":"9B"},P:{"1":"u v w x y z OD PD QD RD SD KC TD UD VD WD XD AC BC CC YD","33":"J"},Q:{"1":"ZD"},R:{"1":"aD"},S:{"1":"bD cD"}},B:2,C:"CSS writing-mode property",D:true}; +module.exports={A:{A:{"132":"K D E F A B gC"},B:{"1":"5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I"},C:{"1":"5 6 7 8 9 bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC","2":"0 1 2 3 4 hC IC J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB jC kC","322":"WB XB YB ZB aB"},D:{"1":"5 6 7 8 9 iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC","2":"J LB K","16":"D","33":"0 1 2 3 4 E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB"},E:{"1":"B C L M G CC DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC","2":"J lC OC","16":"LB","33":"K D E F A mC nC oC pC PC"},F:{"1":"VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x","2":"F B C xC yC zC 0C CC eC 1C DC","33":"0 1 2 3 4 G N O P MB y z NB OB PB QB RB SB TB UB"},G:{"1":"BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC","16":"OC 2C fC","33":"E 3C 4C 5C 6C 7C 8C 9C AD"},H:{"2":"PD"},I:{"1":"I","2":"QD RD SD","33":"IC J TD fC UD VD"},J:{"33":"D A"},K:{"1":"H","2":"A B C CC eC DC"},L:{"1":"I"},M:{"1":"BC"},N:{"36":"A B"},O:{"1":"EC"},P:{"1":"0 1 2 3 4 y z WD XD YD ZD aD PC bD cD dD eD fD FC GC HC gD","33":"J"},Q:{"1":"hD"},R:{"1":"iD"},S:{"1":"jD kD"}},B:2,C:"CSS writing-mode property",D:true}; diff --git a/node_modules/caniuse-lite/data/features/css-zoom.js b/node_modules/caniuse-lite/data/features/css-zoom.js index a9c888b826..a432ce3e82 100644 --- a/node_modules/caniuse-lite/data/features/css-zoom.js +++ b/node_modules/caniuse-lite/data/features/css-zoom.js @@ -1 +1 @@ -module.exports={A:{A:{"1":"K D aC","129":"E F A B"},B:{"1":"0 1 2 3 4 5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I"},C:{"1":"I 6B HC IC cC","2":"0 1 2 3 4 5 6 7 8 9 bC DC J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB dC eC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC"},E:{"1":"J FB K D E F A B C L M G gC hC iC jC KC 7B 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC","2":"fC JC"},F:{"1":"G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t","2":"F B C qC rC sC tC 7B YC uC 8B"},G:{"1":"E vC ZC wC xC yC zC 0C 1C 2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC","2":"JC"},H:{"2":"HD"},I:{"1":"DC J I ID JD KD LD ZC MD ND"},J:{"1":"D A"},K:{"1":"H","2":"A B C 7B YC 8B"},L:{"1":"I"},M:{"1":"6B"},N:{"129":"A B"},O:{"1":"9B"},P:{"1":"J u v w x y z OD PD QD RD SD KC TD UD VD WD XD AC BC CC YD"},Q:{"1":"ZD"},R:{"1":"aD"},S:{"2":"bD cD"}},B:5,C:"CSS zoom",D:true}; +module.exports={A:{A:{"1":"K D gC","129":"E F A B"},B:{"1":"5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I"},C:{"1":"GB HB IB JB KB I BC MC NC iC","2":"0 1 2 3 4 5 6 7 8 9 hC IC J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB jC kC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC"},E:{"1":"J LB K D E F A B C L M G mC nC oC pC PC CC DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC","2":"lC OC"},F:{"1":"0 1 2 3 4 G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x","2":"F B C xC yC zC 0C CC eC 1C DC"},G:{"1":"E 2C fC 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC","2":"OC"},H:{"2":"PD"},I:{"1":"IC J I QD RD SD TD fC UD VD"},J:{"1":"D A"},K:{"1":"H","2":"A B C CC eC DC"},L:{"1":"I"},M:{"1":"BC"},N:{"129":"A B"},O:{"1":"EC"},P:{"1":"0 1 2 3 4 J y z WD XD YD ZD aD PC bD cD dD eD fD FC GC HC gD"},Q:{"1":"hD"},R:{"1":"iD"},S:{"2":"jD kD"}},B:5,C:"CSS zoom",D:true}; diff --git a/node_modules/caniuse-lite/data/features/css3-attr.js b/node_modules/caniuse-lite/data/features/css3-attr.js index ad41fff253..473ca11725 100644 --- a/node_modules/caniuse-lite/data/features/css3-attr.js +++ b/node_modules/caniuse-lite/data/features/css3-attr.js @@ -1 +1 @@ -module.exports={A:{A:{"2":"K D E F A B aC"},B:{"2":"0 1 2 3 4 5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I"},C:{"2":"0 1 2 3 4 5 6 7 8 9 bC DC J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC dC eC"},D:{"2":"0 1 2 3 4 5 6 7 8 9 J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC"},E:{"2":"J FB K D E F A B C L M G fC JC gC hC iC jC KC 7B 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC"},F:{"2":"F B C G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t qC rC sC tC 7B YC uC 8B"},G:{"2":"E JC vC ZC wC xC yC zC 0C 1C 2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC"},H:{"2":"HD"},I:{"2":"DC J I ID JD KD LD ZC MD ND"},J:{"2":"D A"},K:{"2":"A B C H 7B YC 8B"},L:{"2":"I"},M:{"2":"6B"},N:{"2":"A B"},O:{"2":"9B"},P:{"2":"J u v w x y z OD PD QD RD SD KC TD UD VD WD XD AC BC CC YD"},Q:{"2":"ZD"},R:{"2":"aD"},S:{"2":"bD cD"}},B:7,C:"CSS3 attr() function for all properties",D:true}; +module.exports={A:{A:{"2":"K D E F A B gC"},B:{"2":"5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I"},C:{"2":"0 1 2 3 4 5 6 7 8 9 hC IC J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC jC kC"},D:{"2":"0 1 2 3 4 5 6 7 8 9 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC"},E:{"2":"J LB K D E F A B C L M G lC OC mC nC oC pC PC CC DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC"},F:{"2":"0 1 2 3 4 F B C G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x xC yC zC 0C CC eC 1C DC"},G:{"2":"E OC 2C fC 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC"},H:{"2":"PD"},I:{"2":"IC J I QD RD SD TD fC UD VD"},J:{"2":"D A"},K:{"2":"A B C H CC eC DC"},L:{"2":"I"},M:{"2":"BC"},N:{"2":"A B"},O:{"2":"EC"},P:{"2":"0 1 2 3 4 J y z WD XD YD ZD aD PC bD cD dD eD fD FC GC HC gD"},Q:{"2":"hD"},R:{"2":"iD"},S:{"2":"jD kD"}},B:7,C:"CSS3 attr() function for all properties",D:true}; diff --git a/node_modules/caniuse-lite/data/features/css3-boxsizing.js b/node_modules/caniuse-lite/data/features/css3-boxsizing.js index 98a4e2f07a..cbe764ca28 100644 --- a/node_modules/caniuse-lite/data/features/css3-boxsizing.js +++ b/node_modules/caniuse-lite/data/features/css3-boxsizing.js @@ -1 +1 @@ -module.exports={A:{A:{"1":"E F A B","8":"K D aC"},B:{"1":"0 1 2 3 4 5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC","33":"bC DC J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB dC eC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC","33":"J FB K D E F"},E:{"1":"K D E F A B C L M G gC hC iC jC KC 7B 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC","33":"J FB fC JC"},F:{"1":"B C G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t qC rC sC tC 7B YC uC 8B","2":"F"},G:{"1":"E wC xC yC zC 0C 1C 2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC","33":"JC vC ZC"},H:{"1":"HD"},I:{"1":"J I LD ZC MD ND","33":"DC ID JD KD"},J:{"1":"A","33":"D"},K:{"1":"A B C H 7B YC 8B"},L:{"1":"I"},M:{"1":"6B"},N:{"1":"A B"},O:{"1":"9B"},P:{"1":"J u v w x y z OD PD QD RD SD KC TD UD VD WD XD AC BC CC YD"},Q:{"1":"ZD"},R:{"1":"aD"},S:{"1":"bD cD"}},B:5,C:"CSS3 Box-sizing",D:true}; +module.exports={A:{A:{"1":"E F A B","8":"K D gC"},B:{"1":"5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I"},C:{"1":"5 6 7 8 9 PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC","33":"0 1 2 3 4 hC IC J LB K D E F A B C L M G N O P MB y z NB OB jC kC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC","33":"J LB K D E F"},E:{"1":"K D E F A B C L M G mC nC oC pC PC CC DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC","33":"J LB lC OC"},F:{"1":"0 1 2 3 4 B C G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x xC yC zC 0C CC eC 1C DC","2":"F"},G:{"1":"E 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC","33":"OC 2C fC"},H:{"1":"PD"},I:{"1":"J I TD fC UD VD","33":"IC QD RD SD"},J:{"1":"A","33":"D"},K:{"1":"A B C H CC eC DC"},L:{"1":"I"},M:{"1":"BC"},N:{"1":"A B"},O:{"1":"EC"},P:{"1":"0 1 2 3 4 J y z WD XD YD ZD aD PC bD cD dD eD fD FC GC HC gD"},Q:{"1":"hD"},R:{"1":"iD"},S:{"1":"jD kD"}},B:5,C:"CSS3 Box-sizing",D:true}; diff --git a/node_modules/caniuse-lite/data/features/css3-colors.js b/node_modules/caniuse-lite/data/features/css3-colors.js index a6f4caade6..0dacd24560 100644 --- a/node_modules/caniuse-lite/data/features/css3-colors.js +++ b/node_modules/caniuse-lite/data/features/css3-colors.js @@ -1 +1 @@ -module.exports={A:{A:{"1":"F A B","2":"K D E aC"},B:{"1":"0 1 2 3 4 5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 DC J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC dC eC","4":"bC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC"},E:{"1":"J FB K D E F A B C L M G fC JC gC hC iC jC KC 7B 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC"},F:{"1":"B C G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t rC sC tC 7B YC uC 8B","2":"F","4":"qC"},G:{"1":"E JC vC ZC wC xC yC zC 0C 1C 2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC"},H:{"1":"HD"},I:{"1":"DC J I ID JD KD LD ZC MD ND"},J:{"1":"D A"},K:{"1":"A B C H 7B YC 8B"},L:{"1":"I"},M:{"1":"6B"},N:{"1":"A B"},O:{"1":"9B"},P:{"1":"J u v w x y z OD PD QD RD SD KC TD UD VD WD XD AC BC CC YD"},Q:{"1":"ZD"},R:{"1":"aD"},S:{"1":"bD cD"}},B:2,C:"CSS3 Colors",D:true}; +module.exports={A:{A:{"1":"F A B","2":"K D E gC"},B:{"1":"5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 IC J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC jC kC","4":"hC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC"},E:{"1":"J LB K D E F A B C L M G lC OC mC nC oC pC PC CC DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC"},F:{"1":"0 1 2 3 4 B C G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x yC zC 0C CC eC 1C DC","2":"F","4":"xC"},G:{"1":"E OC 2C fC 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC"},H:{"1":"PD"},I:{"1":"IC J I QD RD SD TD fC UD VD"},J:{"1":"D A"},K:{"1":"A B C H CC eC DC"},L:{"1":"I"},M:{"1":"BC"},N:{"1":"A B"},O:{"1":"EC"},P:{"1":"0 1 2 3 4 J y z WD XD YD ZD aD PC bD cD dD eD fD FC GC HC gD"},Q:{"1":"hD"},R:{"1":"iD"},S:{"1":"jD kD"}},B:2,C:"CSS3 Colors",D:true}; diff --git a/node_modules/caniuse-lite/data/features/css3-cursors-grab.js b/node_modules/caniuse-lite/data/features/css3-cursors-grab.js index f644be8824..134f0685cf 100644 --- a/node_modules/caniuse-lite/data/features/css3-cursors-grab.js +++ b/node_modules/caniuse-lite/data/features/css3-cursors-grab.js @@ -1 +1 @@ -module.exports={A:{A:{"2":"K D E F A B aC"},B:{"1":"0 1 2 3 4 5 6 7 8 9 G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I","2":"C L M"},C:{"1":"0 1 2 3 4 5 6 7 8 9 IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC","33":"bC DC J FB K D E F A B C L M G N O P GB u v w x y z HB dC eC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC","33":"J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB"},E:{"1":"B C L M G 7B 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC","33":"J FB K D E F A fC JC gC hC iC jC KC"},F:{"1":"C kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t uC 8B","2":"F B qC rC sC tC 7B YC","33":"G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB"},G:{"2":"E JC vC ZC wC xC yC zC 0C 1C 2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC"},H:{"2":"HD"},I:{"1":"I","2":"DC J ID JD KD LD ZC MD ND"},J:{"33":"D A"},K:{"1":"H","2":"A B C 7B YC 8B"},L:{"1":"I"},M:{"2":"6B"},N:{"2":"A B"},O:{"1":"9B"},P:{"2":"J u v w x y z OD PD QD RD SD KC TD UD VD WD XD AC BC CC YD"},Q:{"1":"ZD"},R:{"1":"aD"},S:{"2":"bD cD"}},B:2,C:"CSS grab & grabbing cursors",D:true}; +module.exports={A:{A:{"2":"K D E F A B gC"},B:{"1":"5 6 7 8 9 G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I","2":"C L M"},C:{"1":"5 6 7 8 9 NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC","33":"0 1 2 3 4 hC IC J LB K D E F A B C L M G N O P MB y z jC kC"},D:{"1":"5 6 7 8 9 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC","33":"0 1 2 3 4 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB"},E:{"1":"B C L M G CC DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC","33":"J LB K D E F A lC OC mC nC oC pC PC"},F:{"1":"C pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x 1C DC","2":"F B xC yC zC 0C CC eC","33":"0 1 2 3 4 G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB"},G:{"2":"E OC 2C fC 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC"},H:{"2":"PD"},I:{"1":"I","2":"IC J QD RD SD TD fC UD VD"},J:{"33":"D A"},K:{"1":"H","2":"A B C CC eC DC"},L:{"1":"I"},M:{"2":"BC"},N:{"2":"A B"},O:{"1":"EC"},P:{"2":"0 1 2 3 4 J y z WD XD YD ZD aD PC bD cD dD eD fD FC GC HC gD"},Q:{"1":"hD"},R:{"1":"iD"},S:{"2":"jD kD"}},B:2,C:"CSS grab & grabbing cursors",D:true}; diff --git a/node_modules/caniuse-lite/data/features/css3-cursors-newer.js b/node_modules/caniuse-lite/data/features/css3-cursors-newer.js index 72fae2a750..4a96c1b259 100644 --- a/node_modules/caniuse-lite/data/features/css3-cursors-newer.js +++ b/node_modules/caniuse-lite/data/features/css3-cursors-newer.js @@ -1 +1 @@ -module.exports={A:{A:{"2":"K D E F A B aC"},B:{"1":"0 1 2 3 4 5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC","33":"bC DC J FB K D E F A B C L M G N O P GB u v w x dC eC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC","33":"J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB"},E:{"1":"F A B C L M G jC KC 7B 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC","33":"J FB K D E fC JC gC hC iC"},F:{"1":"C y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t uC 8B","2":"F B qC rC sC tC 7B YC","33":"G N O P GB u v w x"},G:{"2":"E JC vC ZC wC xC yC zC 0C 1C 2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC"},H:{"2":"HD"},I:{"1":"I","2":"DC J ID JD KD LD ZC MD ND"},J:{"33":"D A"},K:{"1":"H","2":"A B C 7B YC 8B"},L:{"1":"I"},M:{"2":"6B"},N:{"2":"A B"},O:{"1":"9B"},P:{"2":"J u v w x y z OD PD QD RD SD KC TD UD VD WD XD AC BC CC YD"},Q:{"1":"ZD"},R:{"1":"aD"},S:{"2":"bD cD"}},B:2,C:"CSS3 Cursors: zoom-in & zoom-out",D:true}; +module.exports={A:{A:{"2":"K D E F A B gC"},B:{"1":"5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I"},C:{"1":"2 3 4 5 6 7 8 9 NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC","33":"0 1 hC IC J LB K D E F A B C L M G N O P MB y z jC kC"},D:{"1":"5 6 7 8 9 XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC","33":"0 1 2 3 4 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB"},E:{"1":"F A B C L M G pC PC CC DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC","33":"J LB K D E lC OC mC nC oC"},F:{"1":"2 3 4 C NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x 1C DC","2":"F B xC yC zC 0C CC eC","33":"0 1 G N O P MB y z"},G:{"2":"E OC 2C fC 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC"},H:{"2":"PD"},I:{"1":"I","2":"IC J QD RD SD TD fC UD VD"},J:{"33":"D A"},K:{"1":"H","2":"A B C CC eC DC"},L:{"1":"I"},M:{"2":"BC"},N:{"2":"A B"},O:{"1":"EC"},P:{"2":"0 1 2 3 4 J y z WD XD YD ZD aD PC bD cD dD eD fD FC GC HC gD"},Q:{"1":"hD"},R:{"1":"iD"},S:{"2":"jD kD"}},B:2,C:"CSS3 Cursors: zoom-in & zoom-out",D:true}; diff --git a/node_modules/caniuse-lite/data/features/css3-cursors.js b/node_modules/caniuse-lite/data/features/css3-cursors.js index 5c5af54901..43bb5c7231 100644 --- a/node_modules/caniuse-lite/data/features/css3-cursors.js +++ b/node_modules/caniuse-lite/data/features/css3-cursors.js @@ -1 +1 @@ -module.exports={A:{A:{"1":"F A B","132":"K D E aC"},B:{"1":"0 1 2 3 4 5 6 7 8 9 M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I","260":"C L"},C:{"1":"0 1 2 3 4 5 6 7 8 9 J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC","4":"bC DC dC eC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC","4":"J"},E:{"1":"FB K D E F A B C L M G gC hC iC jC KC 7B 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC","4":"J fC JC"},F:{"1":"G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t","260":"F B C qC rC sC tC 7B YC uC 8B"},G:{"2":"E JC vC ZC wC xC yC zC 0C 1C 2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC"},H:{"2":"HD"},I:{"1":"I","2":"DC J ID JD KD LD ZC MD ND"},J:{"2":"D","16":"A"},K:{"1":"H","2":"A B C 7B YC 8B"},L:{"1":"I"},M:{"2":"6B"},N:{"2":"A B"},O:{"1":"9B"},P:{"2":"J u v w x y z OD PD QD RD SD KC TD UD VD WD XD AC BC CC YD"},Q:{"1":"ZD"},R:{"1":"aD"},S:{"2":"bD cD"}},B:2,C:"CSS3 Cursors (original values)",D:true}; +module.exports={A:{A:{"1":"F A B","132":"K D E gC"},B:{"1":"5 6 7 8 9 M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I","260":"C L"},C:{"1":"0 1 2 3 4 5 6 7 8 9 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC","4":"hC IC jC kC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC","4":"J"},E:{"1":"LB K D E F A B C L M G mC nC oC pC PC CC DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC","4":"J lC OC"},F:{"1":"0 1 2 3 4 G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x","260":"F B C xC yC zC 0C CC eC 1C DC"},G:{"2":"E OC 2C fC 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC"},H:{"2":"PD"},I:{"1":"I","2":"IC J QD RD SD TD fC UD VD"},J:{"2":"D","16":"A"},K:{"1":"H","2":"A B C CC eC DC"},L:{"1":"I"},M:{"2":"BC"},N:{"2":"A B"},O:{"1":"EC"},P:{"2":"0 1 2 3 4 J y z WD XD YD ZD aD PC bD cD dD eD fD FC GC HC gD"},Q:{"1":"hD"},R:{"1":"iD"},S:{"2":"jD kD"}},B:2,C:"CSS3 Cursors (original values)",D:true}; diff --git a/node_modules/caniuse-lite/data/features/css3-tabsize.js b/node_modules/caniuse-lite/data/features/css3-tabsize.js index b5376c0932..58064249b5 100644 --- a/node_modules/caniuse-lite/data/features/css3-tabsize.js +++ b/node_modules/caniuse-lite/data/features/css3-tabsize.js @@ -1 +1 @@ -module.exports={A:{A:{"2":"K D E F A B aC"},B:{"1":"0 1 2 3 4 5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I","2":"C L M G N O P"},C:{"1":"0 1 2 3 4 5 6 7 8 9 a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC","2":"bC DC dC eC","33":"iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z","164":"J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB"},D:{"1":"0 1 2 3 4 5 6 7 8 9 XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC","2":"J FB K D E F A B C L M G N O P GB u","132":"v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB"},E:{"1":"M G kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC","2":"J FB K fC JC gC","132":"D E F A B C L hC iC jC KC 7B 8B"},F:{"1":"KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t","2":"F qC rC sC","132":"G N O P GB u v w x y z HB IB JB","164":"B C tC 7B YC uC 8B"},G:{"1":"BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC","2":"JC vC ZC wC xC","132":"E yC zC 0C 1C 2C 3C 4C 5C 6C 7C 8C 9C AD"},H:{"164":"HD"},I:{"1":"I","2":"DC J ID JD KD LD ZC","132":"MD ND"},J:{"132":"D A"},K:{"1":"H","2":"A","164":"B C 7B YC 8B"},L:{"1":"I"},M:{"1":"6B"},N:{"2":"A B"},O:{"1":"9B"},P:{"1":"J u v w x y z OD PD QD RD SD KC TD UD VD WD XD AC BC CC YD"},Q:{"1":"ZD"},R:{"1":"aD"},S:{"164":"bD cD"}},B:4,C:"CSS3 tab-size",D:true}; +module.exports={A:{A:{"2":"K D E F A B gC"},B:{"1":"5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I","2":"C L M G N O P"},C:{"1":"5 6 7 8 9 a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC","2":"hC IC jC kC","33":"nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z","164":"0 1 2 3 4 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB"},D:{"1":"5 6 7 8 9 cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC","2":"J LB K D E F A B C L M G N O P MB y","132":"0 1 2 3 4 z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB"},E:{"1":"M G qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC","2":"J LB K lC OC mC","132":"D E F A B C L nC oC pC PC CC DC"},F:{"1":"PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x","2":"F xC yC zC","132":"0 1 2 3 4 G N O P MB y z NB OB","164":"B C 0C CC eC 1C DC"},G:{"1":"ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC","2":"OC 2C fC 3C 4C","132":"E 5C 6C 7C 8C 9C AD BD CD DD ED FD GD HD"},H:{"164":"PD"},I:{"1":"I","2":"IC J QD RD SD TD fC","132":"UD VD"},J:{"132":"D A"},K:{"1":"H","2":"A","164":"B C CC eC DC"},L:{"1":"I"},M:{"1":"BC"},N:{"2":"A B"},O:{"1":"EC"},P:{"1":"0 1 2 3 4 J y z WD XD YD ZD aD PC bD cD dD eD fD FC GC HC gD"},Q:{"1":"hD"},R:{"1":"iD"},S:{"164":"jD kD"}},B:4,C:"CSS3 tab-size",D:true}; diff --git a/node_modules/caniuse-lite/data/features/currentcolor.js b/node_modules/caniuse-lite/data/features/currentcolor.js index efc16f0d03..e34819c231 100644 --- a/node_modules/caniuse-lite/data/features/currentcolor.js +++ b/node_modules/caniuse-lite/data/features/currentcolor.js @@ -1 +1 @@ -module.exports={A:{A:{"1":"F A B","2":"K D E aC"},B:{"1":"0 1 2 3 4 5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 bC DC J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC dC eC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC"},E:{"1":"J FB K D E F A B C L M G gC hC iC jC KC 7B 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC","2":"fC JC"},F:{"1":"B C G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t qC rC sC tC 7B YC uC 8B","2":"F"},G:{"1":"E vC ZC wC xC yC zC 0C 1C 2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC","16":"JC"},H:{"1":"HD"},I:{"1":"DC J I ID JD KD LD ZC MD ND"},J:{"1":"D A"},K:{"1":"A B C H 7B YC 8B"},L:{"1":"I"},M:{"1":"6B"},N:{"1":"A B"},O:{"1":"9B"},P:{"1":"J u v w x y z OD PD QD RD SD KC TD UD VD WD XD AC BC CC YD"},Q:{"1":"ZD"},R:{"1":"aD"},S:{"1":"bD cD"}},B:2,C:"CSS currentColor value",D:true}; +module.exports={A:{A:{"1":"F A B","2":"K D E gC"},B:{"1":"5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 hC IC J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC jC kC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC"},E:{"1":"J LB K D E F A B C L M G mC nC oC pC PC CC DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC","2":"lC OC"},F:{"1":"0 1 2 3 4 B C G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x xC yC zC 0C CC eC 1C DC","2":"F"},G:{"1":"E 2C fC 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC","16":"OC"},H:{"1":"PD"},I:{"1":"IC J I QD RD SD TD fC UD VD"},J:{"1":"D A"},K:{"1":"A B C H CC eC DC"},L:{"1":"I"},M:{"1":"BC"},N:{"1":"A B"},O:{"1":"EC"},P:{"1":"0 1 2 3 4 J y z WD XD YD ZD aD PC bD cD dD eD fD FC GC HC gD"},Q:{"1":"hD"},R:{"1":"iD"},S:{"1":"jD kD"}},B:2,C:"CSS currentColor value",D:true}; diff --git a/node_modules/caniuse-lite/data/features/custom-elements.js b/node_modules/caniuse-lite/data/features/custom-elements.js index b87143dbea..3cfdeeee3e 100644 --- a/node_modules/caniuse-lite/data/features/custom-elements.js +++ b/node_modules/caniuse-lite/data/features/custom-elements.js @@ -1 +1 @@ -module.exports={A:{A:{"2":"K D E F aC","8":"A B"},B:{"1":"Q","2":"0 1 2 3 4 5 6 7 8 9 H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I","8":"C L M G N O P"},C:{"2":"0 1 2 3 4 5 6 7 8 9 bC DC J FB K D E F A B C L M G N O P GB u v w EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC dC eC","66":"x y z HB IB JB KB","72":"LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB"},D:{"1":"OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q","2":"0 1 2 3 4 5 6 7 8 9 J FB K D E F A B C L M G N O P GB u v w x y z HB H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC","66":"IB JB KB LB MB NB"},E:{"2":"J FB fC JC gC","8":"K D E F A B C L M G hC iC jC KC 7B 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC"},F:{"1":"u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB","2":"F B C uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t qC rC sC tC 7B YC uC 8B","66":"G N O P GB"},G:{"2":"JC vC ZC wC xC","8":"E yC zC 0C 1C 2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC"},H:{"2":"HD"},I:{"1":"ND","2":"DC J I ID JD KD LD ZC MD"},J:{"2":"D A"},K:{"2":"A B C H 7B YC 8B"},L:{"2":"I"},M:{"2":"6B"},N:{"2":"A B"},O:{"1":"9B"},P:{"1":"J OD PD QD RD SD KC TD UD","2":"u v w x y z VD WD XD AC BC CC YD"},Q:{"1":"ZD"},R:{"2":"aD"},S:{"2":"cD","72":"bD"}},B:7,C:"Custom Elements (deprecated V0 spec)",D:true}; +module.exports={A:{A:{"2":"K D E F gC","8":"A B"},B:{"1":"Q","2":"5 6 7 8 9 H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I","8":"C L M G N O P"},C:{"2":"0 5 6 7 8 9 hC IC J LB K D E F A B C L M G N O P MB y z JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC jC kC","66":"1 2 3 4 NB OB PB","72":"QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB"},D:{"1":"TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q","2":"0 1 2 3 4 5 6 7 8 9 J LB K D E F A B C L M G N O P MB y z H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC","66":"NB OB PB QB RB SB"},E:{"2":"J LB lC OC mC","8":"K D E F A B C L M G nC oC pC PC CC DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC"},F:{"1":"0 1 2 3 4 y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB","2":"F B C zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x xC yC zC 0C CC eC 1C DC","66":"G N O P MB"},G:{"2":"OC 2C fC 3C 4C","8":"E 5C 6C 7C 8C 9C AD BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC"},H:{"2":"PD"},I:{"1":"VD","2":"IC J I QD RD SD TD fC UD"},J:{"2":"D A"},K:{"2":"A B C H CC eC DC"},L:{"2":"I"},M:{"2":"BC"},N:{"2":"A B"},O:{"1":"EC"},P:{"1":"J WD XD YD ZD aD PC bD cD","2":"0 1 2 3 4 y z dD eD fD FC GC HC gD"},Q:{"1":"hD"},R:{"2":"iD"},S:{"2":"kD","72":"jD"}},B:7,C:"Custom Elements (deprecated V0 spec)",D:true}; diff --git a/node_modules/caniuse-lite/data/features/custom-elementsv1.js b/node_modules/caniuse-lite/data/features/custom-elementsv1.js index e9e233524d..f6788b9454 100644 --- a/node_modules/caniuse-lite/data/features/custom-elementsv1.js +++ b/node_modules/caniuse-lite/data/features/custom-elementsv1.js @@ -1 +1 @@ -module.exports={A:{A:{"2":"K D E F aC","8":"A B"},B:{"1":"0 1 2 3 4 5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I","8":"C L M G N O P"},C:{"1":"0 1 2 3 4 5 6 7 8 9 qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC","2":"bC DC J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB dC eC","8":"LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB","456":"fB gB hB iB jB kB lB mB nB","712":"EC oB FC pB"},D:{"1":"0 1 2 3 4 5 6 7 8 9 uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC","2":"J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB","8":"hB iB","132":"jB kB lB mB nB EC oB FC pB qB rB sB tB"},E:{"2":"J FB K D fC JC gC hC iC","8":"E F A jC","132":"B C L M G KC 7B 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC"},F:{"1":"rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t","2":"F B C G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB qC rC sC tC 7B YC uC 8B","132":"WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB"},G:{"2":"E JC vC ZC wC xC yC zC 0C 1C 2C","132":"3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC"},H:{"2":"HD"},I:{"1":"I","2":"DC J ID JD KD LD ZC MD ND"},J:{"2":"D A"},K:{"1":"H","2":"A B C 7B YC 8B"},L:{"1":"I"},M:{"1":"6B"},N:{"2":"A B"},O:{"1":"9B"},P:{"1":"u v w x y z PD QD RD SD KC TD UD VD WD XD AC BC CC YD","2":"J","132":"OD"},Q:{"1":"ZD"},R:{"1":"aD"},S:{"1":"cD","8":"bD"}},B:1,C:"Custom Elements (V1)",D:true}; +module.exports={A:{A:{"2":"K D E F gC","8":"A B"},B:{"1":"5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I","8":"C L M G N O P"},C:{"1":"5 6 7 8 9 vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC","2":"0 1 2 3 4 hC IC J LB K D E F A B C L M G N O P MB y z NB OB PB jC kC","8":"QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB","456":"kB lB mB nB oB pB qB rB sB","712":"JC tB KC uB"},D:{"1":"5 6 7 8 9 zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC","2":"0 1 2 3 4 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB","8":"mB nB","132":"oB pB qB rB sB JC tB KC uB vB wB xB yB"},E:{"2":"J LB K D lC OC mC nC oC","8":"E F A pC","132":"B C L M G PC CC DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC"},F:{"1":"wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x","2":"0 1 2 3 4 F B C G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB xC yC zC 0C CC eC 1C DC","132":"bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB"},G:{"2":"E OC 2C fC 3C 4C 5C 6C 7C 8C 9C","132":"AD BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC"},H:{"2":"PD"},I:{"1":"I","2":"IC J QD RD SD TD fC UD VD"},J:{"2":"D A"},K:{"1":"H","2":"A B C CC eC DC"},L:{"1":"I"},M:{"1":"BC"},N:{"2":"A B"},O:{"1":"EC"},P:{"1":"0 1 2 3 4 y z XD YD ZD aD PC bD cD dD eD fD FC GC HC gD","2":"J","132":"WD"},Q:{"1":"hD"},R:{"1":"iD"},S:{"1":"kD","8":"jD"}},B:1,C:"Custom Elements (V1)",D:true}; diff --git a/node_modules/caniuse-lite/data/features/customevent.js b/node_modules/caniuse-lite/data/features/customevent.js index b389c87bb2..0593b03d61 100644 --- a/node_modules/caniuse-lite/data/features/customevent.js +++ b/node_modules/caniuse-lite/data/features/customevent.js @@ -1 +1 @@ -module.exports={A:{A:{"2":"K D E aC","132":"F A B"},B:{"1":"0 1 2 3 4 5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC","2":"bC DC J FB dC eC","132":"K D E F A"},D:{"1":"0 1 2 3 4 5 6 7 8 9 G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC","2":"J","16":"FB K D E L M","388":"F A B C"},E:{"1":"D E F A B C L M G hC iC jC KC 7B 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC","2":"J fC JC","16":"FB K","388":"gC"},F:{"1":"C G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t uC 8B","2":"F qC rC sC tC","132":"B 7B YC"},G:{"1":"E xC yC zC 0C 1C 2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC","2":"vC","16":"JC ZC","388":"wC"},H:{"1":"HD"},I:{"1":"I MD ND","2":"ID JD KD","388":"DC J LD ZC"},J:{"1":"A","388":"D"},K:{"1":"C H 8B","2":"A","132":"B 7B YC"},L:{"1":"I"},M:{"1":"6B"},N:{"132":"A B"},O:{"1":"9B"},P:{"1":"J u v w x y z OD PD QD RD SD KC TD UD VD WD XD AC BC CC YD"},Q:{"1":"ZD"},R:{"1":"aD"},S:{"1":"bD cD"}},B:1,C:"CustomEvent",D:true}; +module.exports={A:{A:{"2":"K D E gC","132":"F A B"},B:{"1":"5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC","2":"hC IC J LB jC kC","132":"K D E F A"},D:{"1":"0 1 2 3 4 5 6 7 8 9 G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC","2":"J","16":"LB K D E L M","388":"F A B C"},E:{"1":"D E F A B C L M G nC oC pC PC CC DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC","2":"J lC OC","16":"LB K","388":"mC"},F:{"1":"0 1 2 3 4 C G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x 1C DC","2":"F xC yC zC 0C","132":"B CC eC"},G:{"1":"E 4C 5C 6C 7C 8C 9C AD BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC","2":"2C","16":"OC fC","388":"3C"},H:{"1":"PD"},I:{"1":"I UD VD","2":"QD RD SD","388":"IC J TD fC"},J:{"1":"A","388":"D"},K:{"1":"C H DC","2":"A","132":"B CC eC"},L:{"1":"I"},M:{"1":"BC"},N:{"132":"A B"},O:{"1":"EC"},P:{"1":"0 1 2 3 4 J y z WD XD YD ZD aD PC bD cD dD eD fD FC GC HC gD"},Q:{"1":"hD"},R:{"1":"iD"},S:{"1":"jD kD"}},B:1,C:"CustomEvent",D:true}; diff --git a/node_modules/caniuse-lite/data/features/datalist.js b/node_modules/caniuse-lite/data/features/datalist.js index 816101f334..1a65c85380 100644 --- a/node_modules/caniuse-lite/data/features/datalist.js +++ b/node_modules/caniuse-lite/data/features/datalist.js @@ -1 +1 @@ -module.exports={A:{A:{"2":"aC","8":"K D E F","260":"A B"},B:{"1":"0 1 2 3 4 5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I","260":"C L M G","1284":"N O P"},C:{"1":"0 1 2 3 4 5 6 7 8 9 t AB BB CB DB EB I 6B HC IC cC","8":"bC DC dC eC","516":"l m n o p q r s","4612":"J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k"},D:{"1":"0 1 2 3 4 5 6 7 8 9 wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC","8":"J FB K D E F A B C L M G N O P GB","132":"u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB"},E:{"1":"L M G 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC","8":"J FB K D E F A B C fC JC gC hC iC jC KC 7B"},F:{"1":"F B C rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t qC rC sC tC 7B YC uC 8B","132":"G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB"},G:{"8":"E JC vC ZC wC xC yC zC 0C 1C 2C 3C 4C 5C 6C","2049":"7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC"},H:{"2":"HD"},I:{"1":"I ND","8":"DC J ID JD KD LD ZC MD"},J:{"1":"A","8":"D"},K:{"1":"A B C H 7B YC 8B"},L:{"1":"I"},M:{"2":"6B"},N:{"8":"A B"},O:{"1":"9B"},P:{"1":"J u v w x y z OD PD QD RD SD KC TD UD VD WD XD AC BC CC YD"},Q:{"1":"ZD"},R:{"1":"aD"},S:{"2":"bD cD"}},B:1,C:"Datalist element",D:true}; +module.exports={A:{A:{"2":"gC","8":"K D E F","260":"A B"},B:{"1":"5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I","260":"C L M G","1284":"N O P"},C:{"8":"hC IC jC kC","516":"l m n o p q r s","4612":"0 1 2 3 4 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k","8196":"5 6 7 8 9 t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC"},D:{"1":"5 6 7 8 9 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC","8":"J LB K D E F A B C L M G N O P MB","132":"0 1 2 3 4 y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B"},E:{"1":"L M G DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC","8":"J LB K D E F A B C lC OC mC nC oC pC PC CC"},F:{"1":"F B C wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x xC yC zC 0C CC eC 1C DC","132":"0 1 2 3 4 G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB"},G:{"8":"E OC 2C fC 3C 4C 5C 6C 7C 8C 9C AD BD CD DD","2049":"ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC"},H:{"2":"PD"},I:{"1":"I VD","8":"IC J QD RD SD TD fC UD"},J:{"1":"A","8":"D"},K:{"1":"A B C H CC eC DC"},L:{"1":"I"},M:{"2":"BC"},N:{"8":"A B"},O:{"1":"EC"},P:{"1":"0 1 2 3 4 J y z WD XD YD ZD aD PC bD cD dD eD fD FC GC HC gD"},Q:{"1":"hD"},R:{"1":"iD"},S:{"2":"jD kD"}},B:1,C:"Datalist element",D:true}; diff --git a/node_modules/caniuse-lite/data/features/dataset.js b/node_modules/caniuse-lite/data/features/dataset.js index 97ea2076c9..a0f261d88a 100644 --- a/node_modules/caniuse-lite/data/features/dataset.js +++ b/node_modules/caniuse-lite/data/features/dataset.js @@ -1 +1 @@ -module.exports={A:{A:{"1":"B","4":"K D E F A aC"},B:{"1":"C L M G N","129":"0 1 2 3 4 5 6 7 8 9 O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I"},C:{"1":"K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB","4":"bC DC J FB dC eC","129":"0 1 2 3 4 5 6 7 8 9 gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC"},D:{"1":"aB bB cB dB eB fB gB hB iB jB","4":"J FB K","129":"0 1 2 3 4 5 6 7 8 9 D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC"},E:{"4":"J FB fC JC","129":"K D E F A B C L M G gC hC iC jC KC 7B 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC"},F:{"1":"C NB OB PB QB RB SB TB UB VB WB 7B YC uC 8B","4":"F B qC rC sC tC","129":"G N O P GB u v w x y z HB IB JB KB LB MB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t"},G:{"4":"JC vC ZC","129":"E wC xC yC zC 0C 1C 2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC"},H:{"4":"HD"},I:{"4":"ID JD KD","129":"DC J I LD ZC MD ND"},J:{"129":"D A"},K:{"1":"C 7B YC 8B","4":"A B","129":"H"},L:{"129":"I"},M:{"129":"6B"},N:{"1":"B","4":"A"},O:{"129":"9B"},P:{"129":"J u v w x y z OD PD QD RD SD KC TD UD VD WD XD AC BC CC YD"},Q:{"129":"ZD"},R:{"129":"aD"},S:{"1":"bD","129":"cD"}},B:1,C:"dataset & data-* attributes",D:true}; +module.exports={A:{A:{"1":"B","4":"K D E F A gC"},B:{"1":"C L M G N","129":"5 6 7 8 9 O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I"},C:{"1":"0 1 2 3 4 K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB","4":"hC IC J LB jC kC","129":"5 6 7 8 9 lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC"},D:{"1":"fB gB hB iB jB kB lB mB nB oB","4":"J LB K","129":"0 1 2 3 4 5 6 7 8 9 D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC"},E:{"4":"J LB lC OC","129":"K D E F A B C L M G mC nC oC pC PC CC DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC"},F:{"1":"C SB TB UB VB WB XB YB ZB aB bB CC eC 1C DC","4":"F B xC yC zC 0C","129":"0 1 2 3 4 G N O P MB y z NB OB PB QB RB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x"},G:{"4":"OC 2C fC","129":"E 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC"},H:{"4":"PD"},I:{"4":"QD RD SD","129":"IC J I TD fC UD VD"},J:{"129":"D A"},K:{"1":"C CC eC DC","4":"A B","129":"H"},L:{"129":"I"},M:{"129":"BC"},N:{"1":"B","4":"A"},O:{"129":"EC"},P:{"129":"0 1 2 3 4 J y z WD XD YD ZD aD PC bD cD dD eD fD FC GC HC gD"},Q:{"129":"hD"},R:{"129":"iD"},S:{"1":"jD","129":"kD"}},B:1,C:"dataset & data-* attributes",D:true}; diff --git a/node_modules/caniuse-lite/data/features/datauri.js b/node_modules/caniuse-lite/data/features/datauri.js index c6e6b4ff02..e24fc4f6ea 100644 --- a/node_modules/caniuse-lite/data/features/datauri.js +++ b/node_modules/caniuse-lite/data/features/datauri.js @@ -1 +1 @@ -module.exports={A:{A:{"2":"K D aC","132":"E","260":"F A B"},B:{"1":"0 1 2 3 4 5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I","260":"C L G N O P","772":"M"},C:{"1":"0 1 2 3 4 5 6 7 8 9 bC DC J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC dC eC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC"},E:{"1":"J FB K D E F A B C L M G fC JC gC hC iC jC KC 7B 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC"},F:{"1":"F B C G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t qC rC sC tC 7B YC uC 8B"},G:{"1":"E JC vC ZC wC xC yC zC 0C 1C 2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC"},H:{"1":"HD"},I:{"1":"DC J I ID JD KD LD ZC MD ND"},J:{"1":"D A"},K:{"1":"A B C H 7B YC 8B"},L:{"1":"I"},M:{"1":"6B"},N:{"260":"A B"},O:{"1":"9B"},P:{"1":"J u v w x y z OD PD QD RD SD KC TD UD VD WD XD AC BC CC YD"},Q:{"1":"ZD"},R:{"1":"aD"},S:{"1":"bD cD"}},B:6,C:"Data URIs",D:true}; +module.exports={A:{A:{"2":"K D gC","132":"E","260":"F A B"},B:{"1":"5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I","260":"C L G N O P","772":"M"},C:{"1":"0 1 2 3 4 5 6 7 8 9 hC IC J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC jC kC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC"},E:{"1":"J LB K D E F A B C L M G lC OC mC nC oC pC PC CC DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC"},F:{"1":"0 1 2 3 4 F B C G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x xC yC zC 0C CC eC 1C DC"},G:{"1":"E OC 2C fC 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC"},H:{"1":"PD"},I:{"1":"IC J I QD RD SD TD fC UD VD"},J:{"1":"D A"},K:{"1":"A B C H CC eC DC"},L:{"1":"I"},M:{"1":"BC"},N:{"260":"A B"},O:{"1":"EC"},P:{"1":"0 1 2 3 4 J y z WD XD YD ZD aD PC bD cD dD eD fD FC GC HC gD"},Q:{"1":"hD"},R:{"1":"iD"},S:{"1":"jD kD"}},B:6,C:"Data URIs",D:true}; diff --git a/node_modules/caniuse-lite/data/features/date-tolocaledatestring.js b/node_modules/caniuse-lite/data/features/date-tolocaledatestring.js index 1ff1e80d75..836ffce3cf 100644 --- a/node_modules/caniuse-lite/data/features/date-tolocaledatestring.js +++ b/node_modules/caniuse-lite/data/features/date-tolocaledatestring.js @@ -1 +1 @@ -module.exports={A:{A:{"16":"aC","132":"K D E F A B"},B:{"1":"0 1 2 3 4 5 6 7 8 9 P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I","132":"C L M G N O"},C:{"1":"0 1 2 3 4 5 6 7 8 9 lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC","132":"bC DC J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB dC eC","260":"hB iB jB kB","772":"KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB"},D:{"1":"0 1 2 3 4 5 6 7 8 9 xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC","132":"J FB K D E F A B C L M G N O P GB u v w x","260":"TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB","772":"y z HB IB JB KB LB MB NB OB PB QB RB SB"},E:{"1":"C L M G 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC","16":"J FB fC JC","132":"K D E F A gC hC iC jC","260":"B KC 7B"},F:{"1":"mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t","16":"F B C qC rC sC tC 7B YC uC","132":"8B","260":"z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB","772":"G N O P GB u v w x y"},G:{"1":"3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC","16":"JC vC ZC wC","132":"E xC yC zC 0C 1C 2C"},H:{"132":"HD"},I:{"1":"I","16":"DC ID JD KD","132":"J LD ZC","772":"MD ND"},J:{"132":"D A"},K:{"1":"H","16":"A B C 7B YC","132":"8B"},L:{"1":"I"},M:{"1":"6B"},N:{"132":"A B"},O:{"1":"9B"},P:{"1":"u v w x y z SD KC TD UD VD WD XD AC BC CC YD","260":"J OD PD QD RD"},Q:{"1":"ZD"},R:{"1":"aD"},S:{"1":"cD","132":"bD"}},B:6,C:"Date.prototype.toLocaleDateString",D:true}; +module.exports={A:{A:{"16":"gC","132":"K D E F A B"},B:{"1":"5 6 7 8 9 P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I","132":"C L M G N O"},C:{"1":"5 6 7 8 9 qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC","132":"0 1 2 3 4 hC IC J LB K D E F A B C L M G N O P MB y z NB OB jC kC","260":"mB nB oB pB","772":"PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB"},D:{"1":"5 6 7 8 9 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC","132":"0 1 J LB K D E F A B C L M G N O P MB y z","260":"YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B","772":"2 3 4 NB OB PB QB RB SB TB UB VB WB XB"},E:{"1":"C L M G DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC","16":"J LB lC OC","132":"K D E F A mC nC oC pC","260":"B PC CC"},F:{"1":"rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x","16":"F B C xC yC zC 0C CC eC 1C","132":"DC","260":"3 4 NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB","772":"0 1 2 G N O P MB y z"},G:{"1":"AD BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC","16":"OC 2C fC 3C","132":"E 4C 5C 6C 7C 8C 9C"},H:{"132":"PD"},I:{"1":"I","16":"IC QD RD SD","132":"J TD fC","772":"UD VD"},J:{"132":"D A"},K:{"1":"H","16":"A B C CC eC","132":"DC"},L:{"1":"I"},M:{"1":"BC"},N:{"132":"A B"},O:{"1":"EC"},P:{"1":"0 1 2 3 4 y z aD PC bD cD dD eD fD FC GC HC gD","260":"J WD XD YD ZD"},Q:{"1":"hD"},R:{"1":"iD"},S:{"1":"kD","132":"jD"}},B:6,C:"Date.prototype.toLocaleDateString",D:true}; diff --git a/node_modules/caniuse-lite/data/features/declarative-shadow-dom.js b/node_modules/caniuse-lite/data/features/declarative-shadow-dom.js index d06f5e32be..3d036c91a7 100644 --- a/node_modules/caniuse-lite/data/features/declarative-shadow-dom.js +++ b/node_modules/caniuse-lite/data/features/declarative-shadow-dom.js @@ -1 +1 @@ -module.exports={A:{A:{"2":"K D E F A B aC"},B:{"1":"0 1 2 3 4 5 6 7 8 9 AB BB CB DB EB I","2":"C L M G N O P Q H R S T U V W X Y Z","132":"a b c d e f g h i j k l m n o p q r s t"},C:{"1":"CB DB EB I 6B HC IC cC","2":"0 1 2 3 4 5 6 7 8 9 bC DC J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB dC eC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 AB BB CB DB EB I 6B HC IC","2":"J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T","66":"U V W X Y","132":"Z a b c d e f g h i j k l m n o p q r s t"},E:{"1":"QC RC oC BC SC TC UC VC WC XC CC pC","2":"J FB K D E F A B C L M G fC JC gC hC iC jC KC 7B 8B kC lC mC LC MC 9B nC AC NC OC PC"},F:{"1":"g h i j k l m n o p q r s t","2":"F B C G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B qC rC sC tC 7B YC uC 8B","132":"4B 5B Q H R GC S T U V W X Y Z a b c d e f"},G:{"1":"QC RC GD BC SC TC UC VC WC XC CC","2":"E JC vC ZC wC xC yC zC 0C 1C 2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC"},H:{"2":"HD"},I:{"1":"I","2":"DC J ID JD KD LD ZC MD ND"},J:{"2":"D A"},K:{"1":"H","2":"A B C 7B YC 8B"},L:{"1":"I"},M:{"1":"6B"},N:{"2":"A B"},O:{"1":"9B"},P:{"1":"w x y z","2":"J OD PD QD RD SD KC TD UD VD WD","16":"XD","132":"u v AC BC CC YD"},Q:{"2":"ZD"},R:{"1":"aD"},S:{"2":"bD cD"}},B:1,C:"Declarative Shadow DOM",D:true}; +module.exports={A:{A:{"2":"K D E F A B gC"},B:{"1":"5 6 7 8 9 u v w x AB BB CB DB EB FB GB HB IB JB KB I","2":"C L M G N O P Q H R S T U V W X Y Z","132":"a b c d e f g h i j k l m n o p q r s t"},C:{"1":"DB EB FB GB HB IB JB KB I BC MC NC iC","2":"0 1 2 3 4 5 6 7 8 9 hC IC J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB jC kC"},D:{"1":"5 6 7 8 9 u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC","2":"0 1 2 3 4 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T","66":"U V W X Y","132":"Z a b c d e f g h i j k l m n o p q r s t"},E:{"1":"VC WC uC GC XC YC ZC aC bC vC HC cC dC wC","2":"J LB K D E F A B C L M G lC OC mC nC oC pC PC CC DC qC rC sC QC RC EC tC FC SC TC UC"},F:{"1":"g h i j k l m n o p q r s t u v w x","2":"0 1 2 3 4 F B C G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B xC yC zC 0C CC eC 1C DC","132":"9B AC Q H R LC S T U V W X Y Z a b c d e f"},G:{"1":"VC WC ND GC XC YC ZC aC bC OD HC cC dC","2":"E OC 2C fC 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC"},H:{"2":"PD"},I:{"1":"I","2":"IC J QD RD SD TD fC UD VD"},J:{"2":"D A"},K:{"1":"H","2":"A B C CC eC DC"},L:{"1":"I"},M:{"1":"BC"},N:{"2":"A B"},O:{"1":"EC"},P:{"1":"0 1 2 3 4","2":"J WD XD YD ZD aD PC bD cD dD eD","16":"fD","132":"y z FC GC HC gD"},Q:{"2":"hD"},R:{"1":"iD"},S:{"2":"jD kD"}},B:1,C:"Declarative Shadow DOM",D:true}; diff --git a/node_modules/caniuse-lite/data/features/decorators.js b/node_modules/caniuse-lite/data/features/decorators.js index fbe3da81df..1975d734f9 100644 --- a/node_modules/caniuse-lite/data/features/decorators.js +++ b/node_modules/caniuse-lite/data/features/decorators.js @@ -1 +1 @@ -module.exports={A:{A:{"2":"K D E F A B aC"},B:{"2":"0 1 2 3 4 5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I"},C:{"2":"0 1 2 3 4 5 6 7 8 9 bC DC J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC dC eC"},D:{"2":"0 1 2 3 4 5 6 7 8 9 J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC"},E:{"2":"J FB K D E F A B C L M G fC JC gC hC iC jC KC 7B 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC"},F:{"2":"F B C G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t qC rC sC tC 7B YC uC 8B"},G:{"2":"E JC vC ZC wC xC yC zC 0C 1C 2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC"},H:{"2":"HD"},I:{"2":"DC J I ID JD KD LD ZC MD ND"},J:{"2":"D A"},K:{"2":"A B C H 7B YC 8B"},L:{"2":"I"},M:{"2":"6B"},N:{"2":"A B"},O:{"2":"9B"},P:{"2":"J u v w x y z OD PD QD RD SD KC TD UD VD WD XD AC BC CC YD"},Q:{"2":"ZD"},R:{"2":"aD"},S:{"2":"bD cD"}},B:7,C:"Decorators",D:true}; +module.exports={A:{A:{"2":"K D E F A B gC"},B:{"2":"5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I"},C:{"2":"0 1 2 3 4 5 6 7 8 9 hC IC J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC jC kC"},D:{"2":"0 1 2 3 4 5 6 7 8 9 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC"},E:{"2":"J LB K D E F A B C L M G lC OC mC nC oC pC PC CC DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC"},F:{"2":"0 1 2 3 4 F B C G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x xC yC zC 0C CC eC 1C DC"},G:{"2":"E OC 2C fC 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC"},H:{"2":"PD"},I:{"2":"IC J I QD RD SD TD fC UD VD"},J:{"2":"D A"},K:{"2":"A B C H CC eC DC"},L:{"2":"I"},M:{"2":"BC"},N:{"2":"A B"},O:{"2":"EC"},P:{"2":"0 1 2 3 4 J y z WD XD YD ZD aD PC bD cD dD eD fD FC GC HC gD"},Q:{"2":"hD"},R:{"2":"iD"},S:{"2":"jD kD"}},B:7,C:"Decorators",D:true}; diff --git a/node_modules/caniuse-lite/data/features/details.js b/node_modules/caniuse-lite/data/features/details.js index 34b31cd849..334faa9444 100644 --- a/node_modules/caniuse-lite/data/features/details.js +++ b/node_modules/caniuse-lite/data/features/details.js @@ -1 +1 @@ -module.exports={A:{A:{"2":"F A B aC","8":"K D E"},B:{"1":"0 1 2 3 4 5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I","2":"C L M G N O P"},C:{"1":"0 1 2 3 4 5 6 7 8 9 eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC","2":"bC","8":"DC J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB dC eC","194":"cB dB"},D:{"1":"0 1 2 3 4 5 6 7 8 9 RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC","8":"J FB K D E F A B","257":"GB u v w x y z HB IB JB KB LB MB NB OB PB QB","769":"C L M G N O P"},E:{"1":"C L M G 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC","8":"J FB fC JC gC","257":"K D E F A hC iC jC","1025":"B KC 7B"},F:{"1":"G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t","2":"C 7B YC uC 8B","8":"F B qC rC sC tC"},G:{"1":"E xC yC zC 0C 1C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC","8":"JC vC ZC wC","1025":"2C 3C 4C"},H:{"8":"HD"},I:{"1":"J I LD ZC MD ND","8":"DC ID JD KD"},J:{"1":"A","8":"D"},K:{"1":"H","8":"A B C 7B YC 8B"},L:{"1":"I"},M:{"1":"6B"},N:{"2":"A B"},O:{"1":"9B"},P:{"1":"J u v w x y z OD PD QD RD SD KC TD UD VD WD XD AC BC CC YD"},Q:{"1":"ZD"},R:{"1":"aD"},S:{"1":"bD cD"}},B:1,C:"Details & Summary elements",D:true}; +module.exports={A:{A:{"2":"F A B gC","8":"K D E"},B:{"1":"5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I","2":"C L M G N O P"},C:{"1":"5 6 7 8 9 jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC","2":"hC","8":"0 1 2 3 4 IC J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB jC kC","194":"hB iB"},D:{"1":"5 6 7 8 9 WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC","8":"J LB K D E F A B","257":"0 1 2 3 4 MB y z NB OB PB QB RB SB TB UB VB","769":"C L M G N O P"},E:{"1":"C L M G DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC","8":"J LB lC OC mC","257":"K D E F A nC oC pC","1025":"B PC CC"},F:{"1":"0 1 2 3 4 G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x","2":"C CC eC 1C DC","8":"F B xC yC zC 0C"},G:{"1":"E 4C 5C 6C 7C 8C CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC","8":"OC 2C fC 3C","1025":"9C AD BD"},H:{"8":"PD"},I:{"1":"J I TD fC UD VD","8":"IC QD RD SD"},J:{"1":"A","8":"D"},K:{"1":"H","8":"A B C CC eC DC"},L:{"1":"I"},M:{"1":"BC"},N:{"2":"A B"},O:{"1":"EC"},P:{"1":"0 1 2 3 4 J y z WD XD YD ZD aD PC bD cD dD eD fD FC GC HC gD"},Q:{"1":"hD"},R:{"1":"iD"},S:{"1":"jD kD"}},B:1,C:"Details & Summary elements",D:true}; diff --git a/node_modules/caniuse-lite/data/features/deviceorientation.js b/node_modules/caniuse-lite/data/features/deviceorientation.js index 6e1dbbf961..8768d58e0f 100644 --- a/node_modules/caniuse-lite/data/features/deviceorientation.js +++ b/node_modules/caniuse-lite/data/features/deviceorientation.js @@ -1 +1 @@ -module.exports={A:{A:{"2":"K D E F A aC","132":"B"},B:{"1":"C L M G N O P","4":"0 1 2 3 4 5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I"},C:{"2":"bC DC dC","4":"0 1 2 3 4 5 6 7 8 9 K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC","8":"J FB eC"},D:{"2":"J FB K","4":"0 1 2 3 4 5 6 7 8 9 D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC"},E:{"2":"J FB K D E F A B C L M G fC JC gC hC iC jC KC 7B 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC"},F:{"2":"F B C qC rC sC tC 7B YC uC 8B","4":"G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t"},G:{"2":"JC vC","4":"E ZC wC xC yC zC 0C 1C 2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC"},H:{"2":"HD"},I:{"2":"ID JD KD","4":"DC J I LD ZC MD ND"},J:{"2":"D","4":"A"},K:{"1":"C 8B","2":"A B 7B YC","4":"H"},L:{"4":"I"},M:{"4":"6B"},N:{"1":"B","2":"A"},O:{"4":"9B"},P:{"4":"J u v w x y z OD PD QD RD SD KC TD UD VD WD XD AC BC CC YD"},Q:{"4":"ZD"},R:{"4":"aD"},S:{"4":"bD cD"}},B:4,C:"DeviceOrientation & DeviceMotion events",D:true}; +module.exports={A:{A:{"2":"K D E F A gC","132":"B"},B:{"1":"C L M G N O P","4":"5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I"},C:{"2":"hC IC jC","4":"0 1 2 3 4 5 6 7 8 9 K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC","8":"J LB kC"},D:{"2":"J LB K","4":"0 1 2 3 4 5 6 7 8 9 D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC"},E:{"2":"J LB K D E F A B C L M G lC OC mC nC oC pC PC CC DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC"},F:{"2":"F B C xC yC zC 0C CC eC 1C DC","4":"0 1 2 3 4 G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x"},G:{"2":"OC 2C","4":"E fC 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC"},H:{"2":"PD"},I:{"2":"QD RD SD","4":"IC J I TD fC UD VD"},J:{"2":"D","4":"A"},K:{"1":"C DC","2":"A B CC eC","4":"H"},L:{"4":"I"},M:{"4":"BC"},N:{"1":"B","2":"A"},O:{"4":"EC"},P:{"4":"0 1 2 3 4 J y z WD XD YD ZD aD PC bD cD dD eD fD FC GC HC gD"},Q:{"4":"hD"},R:{"4":"iD"},S:{"4":"jD kD"}},B:4,C:"DeviceOrientation & DeviceMotion events",D:true}; diff --git a/node_modules/caniuse-lite/data/features/devicepixelratio.js b/node_modules/caniuse-lite/data/features/devicepixelratio.js index 1f1dba0b72..80e3dd4957 100644 --- a/node_modules/caniuse-lite/data/features/devicepixelratio.js +++ b/node_modules/caniuse-lite/data/features/devicepixelratio.js @@ -1 +1 @@ -module.exports={A:{A:{"1":"B","2":"K D E F A aC"},B:{"1":"0 1 2 3 4 5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC","2":"bC DC J FB K D E F A B C L M G N O dC eC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC"},E:{"1":"J FB K D E F A B C L M G fC JC gC hC iC jC KC 7B 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC"},F:{"1":"C G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t uC 8B","2":"F B qC rC sC tC 7B YC"},G:{"1":"E JC vC ZC wC xC yC zC 0C 1C 2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC"},H:{"1":"HD"},I:{"1":"DC J I ID JD KD LD ZC MD ND"},J:{"1":"D A"},K:{"1":"C H 8B","2":"A B 7B YC"},L:{"1":"I"},M:{"1":"6B"},N:{"1":"B","2":"A"},O:{"1":"9B"},P:{"1":"J u v w x y z OD PD QD RD SD KC TD UD VD WD XD AC BC CC YD"},Q:{"1":"ZD"},R:{"1":"aD"},S:{"1":"bD cD"}},B:5,C:"Window.devicePixelRatio",D:true}; +module.exports={A:{A:{"1":"B","2":"K D E F A gC"},B:{"1":"5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC","2":"hC IC J LB K D E F A B C L M G N O jC kC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC"},E:{"1":"J LB K D E F A B C L M G lC OC mC nC oC pC PC CC DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC"},F:{"1":"0 1 2 3 4 C G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x 1C DC","2":"F B xC yC zC 0C CC eC"},G:{"1":"E OC 2C fC 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC"},H:{"1":"PD"},I:{"1":"IC J I QD RD SD TD fC UD VD"},J:{"1":"D A"},K:{"1":"C H DC","2":"A B CC eC"},L:{"1":"I"},M:{"1":"BC"},N:{"1":"B","2":"A"},O:{"1":"EC"},P:{"1":"0 1 2 3 4 J y z WD XD YD ZD aD PC bD cD dD eD fD FC GC HC gD"},Q:{"1":"hD"},R:{"1":"iD"},S:{"1":"jD kD"}},B:5,C:"Window.devicePixelRatio",D:true}; diff --git a/node_modules/caniuse-lite/data/features/dialog.js b/node_modules/caniuse-lite/data/features/dialog.js index bbe10ad3c1..be124ba4f8 100644 --- a/node_modules/caniuse-lite/data/features/dialog.js +++ b/node_modules/caniuse-lite/data/features/dialog.js @@ -1 +1 @@ -module.exports={A:{A:{"2":"K D E F A B aC"},B:{"1":"0 1 2 3 4 5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I","2":"C L M G N O P"},C:{"1":"0 1 2 3 4 5 6 7 8 9 h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC","2":"bC DC J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB dC eC","194":"iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q","1218":"H R GC S T U V W X Y Z a b c d e f g"},D:{"1":"0 1 2 3 4 5 6 7 8 9 SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC","2":"J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB","322":"NB OB PB QB RB"},E:{"1":"MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC","2":"J FB K D E F A B C L M G fC JC gC hC iC jC KC 7B 8B kC lC mC LC"},F:{"1":"y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t","2":"F B C G N O P qC rC sC tC 7B YC uC 8B","578":"GB u v w x"},G:{"1":"MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC","2":"E JC vC ZC wC xC yC zC 0C 1C 2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED LC"},H:{"2":"HD"},I:{"1":"I","2":"DC J ID JD KD LD ZC MD ND"},J:{"2":"D A"},K:{"1":"H","2":"A B C 7B YC 8B"},L:{"1":"I"},M:{"1":"6B"},N:{"2":"A B"},O:{"1":"9B"},P:{"1":"J u v w x y z OD PD QD RD SD KC TD UD VD WD XD AC BC CC YD"},Q:{"1":"ZD"},R:{"1":"aD"},S:{"2":"bD cD"}},B:1,C:"Dialog element",D:true}; +module.exports={A:{A:{"2":"K D E F A B gC"},B:{"1":"5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I","2":"C L M G N O P"},C:{"1":"5 6 7 8 9 h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC","2":"0 1 2 3 4 hC IC J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB jC kC","194":"nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q","1218":"H R LC S T U V W X Y Z a b c d e f g"},D:{"1":"5 6 7 8 9 XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC","2":"0 1 2 3 4 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB","322":"SB TB UB VB WB"},E:{"1":"RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC","2":"J LB K D E F A B C L M G lC OC mC nC oC pC PC CC DC qC rC sC QC"},F:{"1":"2 3 4 NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x","2":"F B C G N O P xC yC zC 0C CC eC 1C DC","578":"0 1 MB y z"},G:{"1":"RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC","2":"E OC 2C fC 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED FD GD HD ID JD KD LD QC"},H:{"2":"PD"},I:{"1":"I","2":"IC J QD RD SD TD fC UD VD"},J:{"2":"D A"},K:{"1":"H","2":"A B C CC eC DC"},L:{"1":"I"},M:{"1":"BC"},N:{"2":"A B"},O:{"1":"EC"},P:{"1":"0 1 2 3 4 J y z WD XD YD ZD aD PC bD cD dD eD fD FC GC HC gD"},Q:{"1":"hD"},R:{"1":"iD"},S:{"2":"jD kD"}},B:1,C:"Dialog element",D:true}; diff --git a/node_modules/caniuse-lite/data/features/dispatchevent.js b/node_modules/caniuse-lite/data/features/dispatchevent.js index ca94f9cafa..6347481eda 100644 --- a/node_modules/caniuse-lite/data/features/dispatchevent.js +++ b/node_modules/caniuse-lite/data/features/dispatchevent.js @@ -1 +1 @@ -module.exports={A:{A:{"1":"B","16":"aC","129":"F A","130":"K D E"},B:{"1":"0 1 2 3 4 5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 bC DC J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC dC eC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC"},E:{"1":"J FB K D E F A B C L M G JC gC hC iC jC KC 7B 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC","16":"fC"},F:{"1":"B C G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t qC rC sC tC 7B YC uC 8B","16":"F"},G:{"1":"E vC ZC wC xC yC zC 0C 1C 2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC","16":"JC"},H:{"1":"HD"},I:{"1":"DC J I KD LD ZC MD ND","16":"ID JD"},J:{"1":"D A"},K:{"1":"A B C H 7B YC 8B"},L:{"1":"I"},M:{"1":"6B"},N:{"1":"B","129":"A"},O:{"1":"9B"},P:{"1":"J u v w x y z OD PD QD RD SD KC TD UD VD WD XD AC BC CC YD"},Q:{"1":"ZD"},R:{"1":"aD"},S:{"1":"bD cD"}},B:1,C:"EventTarget.dispatchEvent",D:true}; +module.exports={A:{A:{"1":"B","16":"gC","129":"F A","130":"K D E"},B:{"1":"5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 hC IC J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC jC kC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC"},E:{"1":"J LB K D E F A B C L M G OC mC nC oC pC PC CC DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC","16":"lC"},F:{"1":"0 1 2 3 4 B C G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x xC yC zC 0C CC eC 1C DC","16":"F"},G:{"1":"E 2C fC 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC","16":"OC"},H:{"1":"PD"},I:{"1":"IC J I SD TD fC UD VD","16":"QD RD"},J:{"1":"D A"},K:{"1":"A B C H CC eC DC"},L:{"1":"I"},M:{"1":"BC"},N:{"1":"B","129":"A"},O:{"1":"EC"},P:{"1":"0 1 2 3 4 J y z WD XD YD ZD aD PC bD cD dD eD fD FC GC HC gD"},Q:{"1":"hD"},R:{"1":"iD"},S:{"1":"jD kD"}},B:1,C:"EventTarget.dispatchEvent",D:true}; diff --git a/node_modules/caniuse-lite/data/features/dnssec.js b/node_modules/caniuse-lite/data/features/dnssec.js index ef603c13bd..e5ac1a3687 100644 --- a/node_modules/caniuse-lite/data/features/dnssec.js +++ b/node_modules/caniuse-lite/data/features/dnssec.js @@ -1 +1 @@ -module.exports={A:{A:{"132":"K D E F A B aC"},B:{"132":"0 1 2 3 4 5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I"},C:{"132":"0 1 2 3 4 5 6 7 8 9 bC DC J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC dC eC"},D:{"132":"0 1 2 3 4 5 6 7 8 9 J FB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC","388":"K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB"},E:{"132":"J FB K D E F A B C L M G fC JC gC hC iC jC KC 7B 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC"},F:{"132":"F B C G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t qC rC sC tC 7B YC uC 8B"},G:{"132":"E JC vC ZC wC xC yC zC 0C 1C 2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC"},H:{"132":"HD"},I:{"132":"DC J I ID JD KD LD ZC MD ND"},J:{"132":"D A"},K:{"132":"A B C H 7B YC 8B"},L:{"132":"I"},M:{"132":"6B"},N:{"132":"A B"},O:{"132":"9B"},P:{"132":"J u v w x y z OD PD QD RD SD KC TD UD VD WD XD AC BC CC YD"},Q:{"132":"ZD"},R:{"132":"aD"},S:{"132":"bD cD"}},B:6,C:"DNSSEC and DANE",D:true}; +module.exports={A:{A:{"132":"K D E F A B gC"},B:{"132":"5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I"},C:{"132":"0 1 2 3 4 5 6 7 8 9 hC IC J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC jC kC"},D:{"132":"5 6 7 8 9 J LB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC","388":"0 1 2 3 4 K D E F A B C L M G N O P MB y z NB OB PB QB"},E:{"132":"J LB K D E F A B C L M G lC OC mC nC oC pC PC CC DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC"},F:{"132":"0 1 2 3 4 F B C G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x xC yC zC 0C CC eC 1C DC"},G:{"132":"E OC 2C fC 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC"},H:{"132":"PD"},I:{"132":"IC J I QD RD SD TD fC UD VD"},J:{"132":"D A"},K:{"132":"A B C H CC eC DC"},L:{"132":"I"},M:{"132":"BC"},N:{"132":"A B"},O:{"132":"EC"},P:{"132":"0 1 2 3 4 J y z WD XD YD ZD aD PC bD cD dD eD fD FC GC HC gD"},Q:{"132":"hD"},R:{"132":"iD"},S:{"132":"jD kD"}},B:6,C:"DNSSEC and DANE",D:true}; diff --git a/node_modules/caniuse-lite/data/features/do-not-track.js b/node_modules/caniuse-lite/data/features/do-not-track.js index 7fc8e0f380..5e83d2a593 100644 --- a/node_modules/caniuse-lite/data/features/do-not-track.js +++ b/node_modules/caniuse-lite/data/features/do-not-track.js @@ -1 +1 @@ -module.exports={A:{A:{"2":"K D E aC","164":"F A","260":"B"},B:{"1":"0 1 2 3 4 5 6 7 8 9 O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I","260":"C L M G N"},C:{"1":"0 1 2 3 4 5 6 7 8 9 NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC","2":"bC DC J FB K D E dC eC","516":"F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB"},D:{"1":"0 1 2 3 4 5 6 7 8 9 x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC","2":"J FB K D E F A B C L M G N O P GB u v w"},E:{"1":"K A B C gC jC KC 7B","2":"J FB L M G fC JC 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC","1028":"D E F hC iC"},F:{"1":"C G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t 8B","2":"F B qC rC sC tC 7B YC uC"},G:{"1":"0C 1C 2C 3C 4C 5C 6C","2":"JC vC ZC wC xC 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC","1028":"E yC zC"},H:{"1":"HD"},I:{"1":"I MD ND","2":"DC J ID JD KD LD ZC"},J:{"16":"D","1028":"A"},K:{"1":"H 8B","16":"A B C 7B YC"},L:{"1":"I"},M:{"1":"6B"},N:{"164":"A","260":"B"},O:{"1":"9B"},P:{"1":"J u v w x y z OD PD QD RD SD KC TD UD VD WD XD AC BC CC YD"},Q:{"1":"ZD"},R:{"1":"aD"},S:{"1":"bD cD"}},B:7,C:"Do Not Track API",D:true}; +module.exports={A:{A:{"2":"K D E gC","164":"F A","260":"B"},B:{"1":"5 6 7 8 9 O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I","260":"C L M G N"},C:{"1":"5 6 7 8 9 SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC","2":"hC IC J LB K D E jC kC","516":"0 1 2 3 4 F A B C L M G N O P MB y z NB OB PB QB RB"},D:{"1":"1 2 3 4 5 6 7 8 9 NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC","2":"0 J LB K D E F A B C L M G N O P MB y z"},E:{"1":"K A B C mC pC PC CC","2":"J LB L M G lC OC DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC","1028":"D E F nC oC"},F:{"1":"0 1 2 3 4 C G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x DC","2":"F B xC yC zC 0C CC eC 1C"},G:{"1":"7C 8C 9C AD BD CD DD","2":"OC 2C fC 3C 4C ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC","1028":"E 5C 6C"},H:{"1":"PD"},I:{"1":"I UD VD","2":"IC J QD RD SD TD fC"},J:{"16":"D","1028":"A"},K:{"1":"H DC","16":"A B C CC eC"},L:{"1":"I"},M:{"1":"BC"},N:{"164":"A","260":"B"},O:{"1":"EC"},P:{"1":"0 1 2 3 4 J y z WD XD YD ZD aD PC bD cD dD eD fD FC GC HC gD"},Q:{"1":"hD"},R:{"1":"iD"},S:{"1":"jD kD"}},B:7,C:"Do Not Track API",D:true}; diff --git a/node_modules/caniuse-lite/data/features/document-currentscript.js b/node_modules/caniuse-lite/data/features/document-currentscript.js index 624a34d30d..4b1f0ca86c 100644 --- a/node_modules/caniuse-lite/data/features/document-currentscript.js +++ b/node_modules/caniuse-lite/data/features/document-currentscript.js @@ -1 +1 @@ -module.exports={A:{A:{"2":"K D E F A B aC"},B:{"1":"0 1 2 3 4 5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC","2":"bC DC dC eC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC","2":"J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB"},E:{"1":"E F A B C L M G jC KC 7B 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC","2":"J FB K D fC JC gC hC iC"},F:{"1":"N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t","2":"F B C G qC rC sC tC 7B YC uC 8B"},G:{"1":"E zC 0C 1C 2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC","2":"JC vC ZC wC xC yC"},H:{"2":"HD"},I:{"1":"I MD ND","2":"DC J ID JD KD LD ZC"},J:{"2":"D A"},K:{"1":"H","2":"A B C 7B YC 8B"},L:{"1":"I"},M:{"1":"6B"},N:{"2":"A B"},O:{"1":"9B"},P:{"1":"J u v w x y z OD PD QD RD SD KC TD UD VD WD XD AC BC CC YD"},Q:{"1":"ZD"},R:{"1":"aD"},S:{"1":"bD cD"}},B:1,C:"document.currentScript",D:true}; +module.exports={A:{A:{"2":"K D E F A B gC"},B:{"1":"5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC","2":"hC IC jC kC"},D:{"1":"5 6 7 8 9 PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC","2":"0 1 2 3 4 J LB K D E F A B C L M G N O P MB y z NB OB"},E:{"1":"E F A B C L M G pC PC CC DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC","2":"J LB K D lC OC mC nC oC"},F:{"1":"0 1 2 3 4 N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x","2":"F B C G xC yC zC 0C CC eC 1C DC"},G:{"1":"E 6C 7C 8C 9C AD BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC","2":"OC 2C fC 3C 4C 5C"},H:{"2":"PD"},I:{"1":"I UD VD","2":"IC J QD RD SD TD fC"},J:{"2":"D A"},K:{"1":"H","2":"A B C CC eC DC"},L:{"1":"I"},M:{"1":"BC"},N:{"2":"A B"},O:{"1":"EC"},P:{"1":"0 1 2 3 4 J y z WD XD YD ZD aD PC bD cD dD eD fD FC GC HC gD"},Q:{"1":"hD"},R:{"1":"iD"},S:{"1":"jD kD"}},B:1,C:"document.currentScript",D:true}; diff --git a/node_modules/caniuse-lite/data/features/document-evaluate-xpath.js b/node_modules/caniuse-lite/data/features/document-evaluate-xpath.js index 81e07c0a7b..bef7c7d5fb 100644 --- a/node_modules/caniuse-lite/data/features/document-evaluate-xpath.js +++ b/node_modules/caniuse-lite/data/features/document-evaluate-xpath.js @@ -1 +1 @@ -module.exports={A:{A:{"2":"K D E F A B aC"},B:{"1":"0 1 2 3 4 5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 DC J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC dC eC","16":"bC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC"},E:{"1":"J FB K D E F A B C L M G fC JC gC hC iC jC KC 7B 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC"},F:{"1":"B C G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t qC rC sC tC 7B YC uC 8B","16":"F"},G:{"1":"E JC vC ZC wC xC yC zC 0C 1C 2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC"},H:{"1":"HD"},I:{"1":"DC J I ID JD KD LD ZC MD ND"},J:{"1":"D A"},K:{"1":"A B C H 7B YC 8B"},L:{"1":"I"},M:{"1":"6B"},N:{"2":"A B"},O:{"1":"9B"},P:{"1":"J u v w x y z OD PD QD RD SD KC TD UD VD WD XD AC BC CC YD"},Q:{"1":"ZD"},R:{"1":"aD"},S:{"1":"bD cD"}},B:7,C:"document.evaluate & XPath",D:true}; +module.exports={A:{A:{"2":"K D E F A B gC"},B:{"1":"5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 IC J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC jC kC","16":"hC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC"},E:{"1":"J LB K D E F A B C L M G lC OC mC nC oC pC PC CC DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC"},F:{"1":"0 1 2 3 4 B C G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x xC yC zC 0C CC eC 1C DC","16":"F"},G:{"1":"E OC 2C fC 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC"},H:{"1":"PD"},I:{"1":"IC J I QD RD SD TD fC UD VD"},J:{"1":"D A"},K:{"1":"A B C H CC eC DC"},L:{"1":"I"},M:{"1":"BC"},N:{"2":"A B"},O:{"1":"EC"},P:{"1":"0 1 2 3 4 J y z WD XD YD ZD aD PC bD cD dD eD fD FC GC HC gD"},Q:{"1":"hD"},R:{"1":"iD"},S:{"1":"jD kD"}},B:7,C:"document.evaluate & XPath",D:true}; diff --git a/node_modules/caniuse-lite/data/features/document-execcommand.js b/node_modules/caniuse-lite/data/features/document-execcommand.js index d7d469796c..d1dd5cbe5f 100644 --- a/node_modules/caniuse-lite/data/features/document-execcommand.js +++ b/node_modules/caniuse-lite/data/features/document-execcommand.js @@ -1 +1 @@ -module.exports={A:{A:{"1":"K D E F A B aC"},B:{"1":"0 1 2 3 4 5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC","2":"bC DC J FB K D E dC eC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC"},E:{"1":"K D E F A B C L M G hC iC jC KC 7B 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC","16":"J FB fC JC gC"},F:{"1":"B C G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t rC sC tC 7B YC uC 8B","16":"F qC"},G:{"1":"E yC zC 0C 1C 2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC","2":"JC vC","16":"ZC wC xC"},H:{"2":"HD"},I:{"1":"I LD ZC MD ND","2":"DC J ID JD KD"},J:{"1":"A","2":"D"},K:{"1":"A B C H 7B YC 8B"},L:{"1":"I"},M:{"1":"6B"},N:{"1":"B","2":"A"},O:{"1":"9B"},P:{"1":"J u v w x y z OD PD QD RD SD KC TD UD VD WD XD AC BC CC YD"},Q:{"1":"ZD"},R:{"1":"aD"},S:{"1":"bD cD"}},B:7,C:"Document.execCommand()",D:true}; +module.exports={A:{A:{"1":"K D E F A B gC"},B:{"1":"5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC","2":"hC IC J LB K D E jC kC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC"},E:{"1":"K D E F A B C L M G nC oC pC PC CC DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC","16":"J LB lC OC mC"},F:{"1":"0 1 2 3 4 B C G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x yC zC 0C CC eC 1C DC","16":"F xC"},G:{"1":"E 5C 6C 7C 8C 9C AD BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC","2":"OC 2C","16":"fC 3C 4C"},H:{"2":"PD"},I:{"1":"I TD fC UD VD","2":"IC J QD RD SD"},J:{"1":"A","2":"D"},K:{"1":"A B C H CC eC DC"},L:{"1":"I"},M:{"1":"BC"},N:{"1":"B","2":"A"},O:{"1":"EC"},P:{"1":"0 1 2 3 4 J y z WD XD YD ZD aD PC bD cD dD eD fD FC GC HC gD"},Q:{"1":"hD"},R:{"1":"iD"},S:{"1":"jD kD"}},B:7,C:"Document.execCommand()",D:true}; diff --git a/node_modules/caniuse-lite/data/features/document-policy.js b/node_modules/caniuse-lite/data/features/document-policy.js index 17b85dd50b..0cd1c11cd6 100644 --- a/node_modules/caniuse-lite/data/features/document-policy.js +++ b/node_modules/caniuse-lite/data/features/document-policy.js @@ -1 +1 @@ -module.exports={A:{A:{"2":"K D E F A B aC"},B:{"2":"C L M G N O P Q H R S T","132":"0 1 2 3 4 5 6 7 8 9 U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I"},C:{"2":"0 1 2 3 4 5 6 7 8 9 bC DC J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC dC eC"},D:{"2":"J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T","132":"0 1 2 3 4 5 6 7 8 9 U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC"},E:{"2":"J FB K D E F A B C L M G fC JC gC hC iC jC KC 7B 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC"},F:{"2":"F B C G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB qC rC sC tC 7B YC uC 8B","132":"yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t"},G:{"2":"E JC vC ZC wC xC yC zC 0C 1C 2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC"},H:{"2":"HD"},I:{"2":"DC J ID JD KD LD ZC MD ND","132":"I"},J:{"2":"D A"},K:{"2":"A B C 7B YC 8B","132":"H"},L:{"132":"I"},M:{"2":"6B"},N:{"2":"A B"},O:{"2":"9B"},P:{"2":"J u v w x y z OD PD QD RD SD KC TD UD VD WD XD AC BC CC YD"},Q:{"2":"ZD"},R:{"132":"aD"},S:{"2":"bD cD"}},B:7,C:"Document Policy",D:true}; +module.exports={A:{A:{"2":"K D E F A B gC"},B:{"2":"C L M G N O P Q H R S T","132":"5 6 7 8 9 U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I"},C:{"2":"0 1 2 3 4 5 6 7 8 9 hC IC J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC jC kC"},D:{"2":"0 1 2 3 4 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T","132":"5 6 7 8 9 U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC"},E:{"2":"J LB K D E F A B C L M G lC OC mC nC oC pC PC CC DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC"},F:{"2":"0 1 2 3 4 F B C G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B xC yC zC 0C CC eC 1C DC","132":"3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x"},G:{"2":"E OC 2C fC 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC"},H:{"2":"PD"},I:{"2":"IC J QD RD SD TD fC UD VD","132":"I"},J:{"2":"D A"},K:{"2":"A B C CC eC DC","132":"H"},L:{"132":"I"},M:{"2":"BC"},N:{"2":"A B"},O:{"2":"EC"},P:{"2":"0 1 2 3 4 J y z WD XD YD ZD aD PC bD cD dD eD fD FC GC HC gD"},Q:{"2":"hD"},R:{"132":"iD"},S:{"2":"jD kD"}},B:7,C:"Document Policy",D:true}; diff --git a/node_modules/caniuse-lite/data/features/document-scrollingelement.js b/node_modules/caniuse-lite/data/features/document-scrollingelement.js index c435ad0737..27cd9db69a 100644 --- a/node_modules/caniuse-lite/data/features/document-scrollingelement.js +++ b/node_modules/caniuse-lite/data/features/document-scrollingelement.js @@ -1 +1 @@ -module.exports={A:{A:{"2":"K D E F A B aC"},B:{"1":"0 1 2 3 4 5 6 7 8 9 M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I","16":"C L"},C:{"1":"0 1 2 3 4 5 6 7 8 9 dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC","2":"bC DC J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dC eC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC","2":"J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB"},E:{"1":"F A B C L M G jC KC 7B 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC","2":"J FB K D E fC JC gC hC iC"},F:{"1":"MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t","2":"F B C G N O P GB u v w x y z HB IB JB KB LB qC rC sC tC 7B YC uC 8B"},G:{"1":"0C 1C 2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC","2":"E JC vC ZC wC xC yC zC"},H:{"2":"HD"},I:{"1":"I","2":"DC J ID JD KD LD ZC MD ND"},J:{"2":"D A"},K:{"1":"H","2":"A B C 7B YC 8B"},L:{"1":"I"},M:{"1":"6B"},N:{"2":"A B"},O:{"1":"9B"},P:{"1":"J u v w x y z OD PD QD RD SD KC TD UD VD WD XD AC BC CC YD"},Q:{"1":"ZD"},R:{"1":"aD"},S:{"1":"bD cD"}},B:5,C:"document.scrollingElement",D:true}; +module.exports={A:{A:{"2":"K D E F A B gC"},B:{"1":"5 6 7 8 9 M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I","16":"C L"},C:{"1":"5 6 7 8 9 iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC","2":"0 1 2 3 4 hC IC J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB jC kC"},D:{"1":"5 6 7 8 9 eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC","2":"0 1 2 3 4 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB"},E:{"1":"F A B C L M G pC PC CC DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC","2":"J LB K D E lC OC mC nC oC"},F:{"1":"RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x","2":"0 1 2 3 4 F B C G N O P MB y z NB OB PB QB xC yC zC 0C CC eC 1C DC"},G:{"1":"7C 8C 9C AD BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC","2":"E OC 2C fC 3C 4C 5C 6C"},H:{"2":"PD"},I:{"1":"I","2":"IC J QD RD SD TD fC UD VD"},J:{"2":"D A"},K:{"1":"H","2":"A B C CC eC DC"},L:{"1":"I"},M:{"1":"BC"},N:{"2":"A B"},O:{"1":"EC"},P:{"1":"0 1 2 3 4 J y z WD XD YD ZD aD PC bD cD dD eD fD FC GC HC gD"},Q:{"1":"hD"},R:{"1":"iD"},S:{"1":"jD kD"}},B:5,C:"document.scrollingElement",D:true}; diff --git a/node_modules/caniuse-lite/data/features/documenthead.js b/node_modules/caniuse-lite/data/features/documenthead.js index 980cd2c925..f5924ffa56 100644 --- a/node_modules/caniuse-lite/data/features/documenthead.js +++ b/node_modules/caniuse-lite/data/features/documenthead.js @@ -1 +1 @@ -module.exports={A:{A:{"1":"F A B","2":"K D E aC"},B:{"1":"0 1 2 3 4 5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC","2":"bC DC dC eC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC"},E:{"1":"K D E F A B C L M G gC hC iC jC KC 7B 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC","2":"J fC JC","16":"FB"},F:{"1":"B C G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t 7B YC uC 8B","2":"F qC rC sC tC"},G:{"1":"E vC ZC wC xC yC zC 0C 1C 2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC","16":"JC"},H:{"1":"HD"},I:{"1":"DC J I KD LD ZC MD ND","16":"ID JD"},J:{"1":"D A"},K:{"1":"B C H 7B YC 8B","2":"A"},L:{"1":"I"},M:{"1":"6B"},N:{"1":"A B"},O:{"1":"9B"},P:{"1":"J u v w x y z OD PD QD RD SD KC TD UD VD WD XD AC BC CC YD"},Q:{"1":"ZD"},R:{"1":"aD"},S:{"1":"bD cD"}},B:1,C:"document.head",D:true}; +module.exports={A:{A:{"1":"F A B","2":"K D E gC"},B:{"1":"5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC","2":"hC IC jC kC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC"},E:{"1":"K D E F A B C L M G mC nC oC pC PC CC DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC","2":"J lC OC","16":"LB"},F:{"1":"0 1 2 3 4 B C G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x CC eC 1C DC","2":"F xC yC zC 0C"},G:{"1":"E 2C fC 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC","16":"OC"},H:{"1":"PD"},I:{"1":"IC J I SD TD fC UD VD","16":"QD RD"},J:{"1":"D A"},K:{"1":"B C H CC eC DC","2":"A"},L:{"1":"I"},M:{"1":"BC"},N:{"1":"A B"},O:{"1":"EC"},P:{"1":"0 1 2 3 4 J y z WD XD YD ZD aD PC bD cD dD eD fD FC GC HC gD"},Q:{"1":"hD"},R:{"1":"iD"},S:{"1":"jD kD"}},B:1,C:"document.head",D:true}; diff --git a/node_modules/caniuse-lite/data/features/dom-manip-convenience.js b/node_modules/caniuse-lite/data/features/dom-manip-convenience.js index 49399df9b6..31ddbef5f4 100644 --- a/node_modules/caniuse-lite/data/features/dom-manip-convenience.js +++ b/node_modules/caniuse-lite/data/features/dom-manip-convenience.js @@ -1 +1 @@ -module.exports={A:{A:{"2":"K D E F A B aC"},B:{"1":"0 1 2 3 4 5 6 7 8 9 O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I","2":"C L M G N"},C:{"1":"0 1 2 3 4 5 6 7 8 9 eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC","2":"bC DC J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB dC eC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC","2":"J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB","194":"hB iB"},E:{"1":"A B C L M G KC 7B 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC","2":"J FB K D E F fC JC gC hC iC jC"},F:{"1":"WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t","2":"F B C G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB qC rC sC tC 7B YC uC 8B","194":"VB"},G:{"1":"2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC","2":"E JC vC ZC wC xC yC zC 0C 1C"},H:{"2":"HD"},I:{"1":"I","2":"DC J ID JD KD LD ZC MD ND"},J:{"2":"D A"},K:{"1":"H","2":"A B C 7B YC 8B"},L:{"1":"I"},M:{"1":"6B"},N:{"2":"A B"},O:{"1":"9B"},P:{"1":"u v w x y z PD QD RD SD KC TD UD VD WD XD AC BC CC YD","2":"J OD"},Q:{"1":"ZD"},R:{"1":"aD"},S:{"1":"cD","2":"bD"}},B:1,C:"DOM manipulation convenience methods",D:true}; +module.exports={A:{A:{"2":"K D E F A B gC"},B:{"1":"5 6 7 8 9 O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I","2":"C L M G N"},C:{"1":"5 6 7 8 9 jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC","2":"0 1 2 3 4 hC IC J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jC kC"},D:{"1":"5 6 7 8 9 oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC","2":"0 1 2 3 4 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB","194":"mB nB"},E:{"1":"A B C L M G PC CC DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC","2":"J LB K D E F lC OC mC nC oC pC"},F:{"1":"bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x","2":"0 1 2 3 4 F B C G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB xC yC zC 0C CC eC 1C DC","194":"aB"},G:{"1":"9C AD BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC","2":"E OC 2C fC 3C 4C 5C 6C 7C 8C"},H:{"2":"PD"},I:{"1":"I","2":"IC J QD RD SD TD fC UD VD"},J:{"2":"D A"},K:{"1":"H","2":"A B C CC eC DC"},L:{"1":"I"},M:{"1":"BC"},N:{"2":"A B"},O:{"1":"EC"},P:{"1":"0 1 2 3 4 y z XD YD ZD aD PC bD cD dD eD fD FC GC HC gD","2":"J WD"},Q:{"1":"hD"},R:{"1":"iD"},S:{"1":"kD","2":"jD"}},B:1,C:"DOM manipulation convenience methods",D:true}; diff --git a/node_modules/caniuse-lite/data/features/dom-range.js b/node_modules/caniuse-lite/data/features/dom-range.js index 7c467d313c..2cdb244d43 100644 --- a/node_modules/caniuse-lite/data/features/dom-range.js +++ b/node_modules/caniuse-lite/data/features/dom-range.js @@ -1 +1 @@ -module.exports={A:{A:{"1":"F A B","2":"aC","8":"K D E"},B:{"1":"0 1 2 3 4 5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 bC DC J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC dC eC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC"},E:{"1":"J FB K D E F A B C L M G fC JC gC hC iC jC KC 7B 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC"},F:{"1":"F B C G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t qC rC sC tC 7B YC uC 8B"},G:{"1":"E JC vC ZC wC xC yC zC 0C 1C 2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC"},H:{"1":"HD"},I:{"1":"DC J I ID JD KD LD ZC MD ND"},J:{"1":"D A"},K:{"1":"A B C H 7B YC 8B"},L:{"1":"I"},M:{"1":"6B"},N:{"1":"A B"},O:{"1":"9B"},P:{"1":"J u v w x y z OD PD QD RD SD KC TD UD VD WD XD AC BC CC YD"},Q:{"1":"ZD"},R:{"1":"aD"},S:{"1":"bD cD"}},B:1,C:"Document Object Model Range",D:true}; +module.exports={A:{A:{"1":"F A B","2":"gC","8":"K D E"},B:{"1":"5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 hC IC J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC jC kC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC"},E:{"1":"J LB K D E F A B C L M G lC OC mC nC oC pC PC CC DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC"},F:{"1":"0 1 2 3 4 F B C G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x xC yC zC 0C CC eC 1C DC"},G:{"1":"E OC 2C fC 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC"},H:{"1":"PD"},I:{"1":"IC J I QD RD SD TD fC UD VD"},J:{"1":"D A"},K:{"1":"A B C H CC eC DC"},L:{"1":"I"},M:{"1":"BC"},N:{"1":"A B"},O:{"1":"EC"},P:{"1":"0 1 2 3 4 J y z WD XD YD ZD aD PC bD cD dD eD fD FC GC HC gD"},Q:{"1":"hD"},R:{"1":"iD"},S:{"1":"jD kD"}},B:1,C:"Document Object Model Range",D:true}; diff --git a/node_modules/caniuse-lite/data/features/domcontentloaded.js b/node_modules/caniuse-lite/data/features/domcontentloaded.js index 44bb772480..804bff656b 100644 --- a/node_modules/caniuse-lite/data/features/domcontentloaded.js +++ b/node_modules/caniuse-lite/data/features/domcontentloaded.js @@ -1 +1 @@ -module.exports={A:{A:{"1":"F A B","2":"K D E aC"},B:{"1":"0 1 2 3 4 5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 bC DC J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC dC eC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC"},E:{"1":"J FB K D E F A B C L M G fC JC gC hC iC jC KC 7B 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC"},F:{"1":"F B C G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t qC rC sC tC 7B YC uC 8B"},G:{"1":"E JC vC ZC wC xC yC zC 0C 1C 2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC"},H:{"1":"HD"},I:{"1":"DC J I ID JD KD LD ZC MD ND"},J:{"1":"D A"},K:{"1":"A B C H 7B YC 8B"},L:{"1":"I"},M:{"1":"6B"},N:{"1":"A B"},O:{"1":"9B"},P:{"1":"J u v w x y z OD PD QD RD SD KC TD UD VD WD XD AC BC CC YD"},Q:{"1":"ZD"},R:{"1":"aD"},S:{"1":"bD cD"}},B:1,C:"DOMContentLoaded",D:true}; +module.exports={A:{A:{"1":"F A B","2":"K D E gC"},B:{"1":"5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 hC IC J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC jC kC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC"},E:{"1":"J LB K D E F A B C L M G lC OC mC nC oC pC PC CC DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC"},F:{"1":"0 1 2 3 4 F B C G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x xC yC zC 0C CC eC 1C DC"},G:{"1":"E OC 2C fC 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC"},H:{"1":"PD"},I:{"1":"IC J I QD RD SD TD fC UD VD"},J:{"1":"D A"},K:{"1":"A B C H CC eC DC"},L:{"1":"I"},M:{"1":"BC"},N:{"1":"A B"},O:{"1":"EC"},P:{"1":"0 1 2 3 4 J y z WD XD YD ZD aD PC bD cD dD eD fD FC GC HC gD"},Q:{"1":"hD"},R:{"1":"iD"},S:{"1":"jD kD"}},B:1,C:"DOMContentLoaded",D:true}; diff --git a/node_modules/caniuse-lite/data/features/dommatrix.js b/node_modules/caniuse-lite/data/features/dommatrix.js index c2395188b9..0c4493a1de 100644 --- a/node_modules/caniuse-lite/data/features/dommatrix.js +++ b/node_modules/caniuse-lite/data/features/dommatrix.js @@ -1 +1 @@ -module.exports={A:{A:{"2":"K D E F aC","132":"A B"},B:{"132":"C L M G N O P","1028":"0 1 2 3 4 5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I"},C:{"2":"bC DC J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB dC eC","1028":"0 1 2 3 4 5 6 7 8 9 wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC","2564":"OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB","3076":"eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB"},D:{"16":"J FB K D","132":"F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB","388":"E","1028":"0 1 2 3 4 5 6 7 8 9 FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC"},E:{"16":"J fC JC","132":"FB K D E F A gC hC iC jC KC","1028":"B C L M G 7B 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC"},F:{"2":"F B C qC rC sC tC 7B YC uC 8B","132":"G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB","1028":"dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t"},G:{"16":"JC vC ZC","132":"E wC xC yC zC 0C 1C 2C 3C","1028":"4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC"},H:{"2":"HD"},I:{"132":"J LD ZC MD ND","292":"DC ID JD KD","1028":"I"},J:{"16":"D","132":"A"},K:{"2":"A B C 7B YC 8B","1028":"H"},L:{"1028":"I"},M:{"1028":"6B"},N:{"132":"A B"},O:{"1028":"9B"},P:{"132":"J u v w x y z OD PD QD RD SD KC TD UD VD WD XD AC BC CC YD"},Q:{"1028":"ZD"},R:{"1028":"aD"},S:{"1028":"cD","2564":"bD"}},B:4,C:"DOMMatrix",D:true}; +module.exports={A:{A:{"2":"K D E F gC","132":"A B"},B:{"132":"C L M G N O P","1028":"5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I"},C:{"2":"0 1 2 3 4 hC IC J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB jC kC","1028":"5 6 7 8 9 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC","2564":"TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB","3076":"jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B"},D:{"16":"J LB K D","132":"0 1 2 3 4 F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB","388":"E","1028":"5 6 7 8 9 KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC"},E:{"16":"J lC OC","132":"LB K D E F A mC nC oC pC PC","1028":"B C L M G CC DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC"},F:{"2":"F B C xC yC zC 0C CC eC 1C DC","132":"0 1 2 3 4 G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB","1028":"iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x"},G:{"16":"OC 2C fC","132":"E 3C 4C 5C 6C 7C 8C 9C AD","1028":"BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC"},H:{"2":"PD"},I:{"132":"J TD fC UD VD","292":"IC QD RD SD","1028":"I"},J:{"16":"D","132":"A"},K:{"2":"A B C CC eC DC","1028":"H"},L:{"1028":"I"},M:{"1028":"BC"},N:{"132":"A B"},O:{"1028":"EC"},P:{"132":"0 1 2 3 4 J y z WD XD YD ZD aD PC bD cD dD eD fD FC GC HC gD"},Q:{"1028":"hD"},R:{"1028":"iD"},S:{"1028":"kD","2564":"jD"}},B:4,C:"DOMMatrix",D:true}; diff --git a/node_modules/caniuse-lite/data/features/download.js b/node_modules/caniuse-lite/data/features/download.js index aeecffb1aa..3dd5b2bae2 100644 --- a/node_modules/caniuse-lite/data/features/download.js +++ b/node_modules/caniuse-lite/data/features/download.js @@ -1 +1 @@ -module.exports={A:{A:{"2":"K D E F A B aC"},B:{"1":"0 1 2 3 4 5 6 7 8 9 L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I","2":"C"},C:{"1":"0 1 2 3 4 5 6 7 8 9 u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC","2":"bC DC J FB K D E F A B C L M G N O P GB dC eC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC","2":"J FB K D E F A B C L"},E:{"1":"B C L M G KC 7B 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC","2":"J FB K D E F A fC JC gC hC iC jC"},F:{"1":"G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t","2":"F B C qC rC sC tC 7B YC uC 8B"},G:{"1":"8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC","2":"E JC vC ZC wC xC yC zC 0C 1C 2C 3C 4C 5C 6C 7C"},H:{"2":"HD"},I:{"1":"I MD ND","2":"DC J ID JD KD LD ZC"},J:{"1":"A","2":"D"},K:{"1":"H","2":"A B C 7B YC 8B"},L:{"1":"I"},M:{"1":"6B"},N:{"2":"A B"},O:{"1":"9B"},P:{"1":"J u v w x y z OD PD QD RD SD KC TD UD VD WD XD AC BC CC YD"},Q:{"1":"ZD"},R:{"1":"aD"},S:{"1":"bD cD"}},B:1,C:"Download attribute",D:true}; +module.exports={A:{A:{"2":"K D E F A B gC"},B:{"1":"5 6 7 8 9 L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I","2":"C"},C:{"1":"0 1 2 3 4 5 6 7 8 9 y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC","2":"hC IC J LB K D E F A B C L M G N O P MB jC kC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC","2":"J LB K D E F A B C L"},E:{"1":"B C L M G PC CC DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC","2":"J LB K D E F A lC OC mC nC oC pC"},F:{"1":"0 1 2 3 4 G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x","2":"F B C xC yC zC 0C CC eC 1C DC"},G:{"1":"FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC","2":"E OC 2C fC 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED"},H:{"2":"PD"},I:{"1":"I UD VD","2":"IC J QD RD SD TD fC"},J:{"1":"A","2":"D"},K:{"1":"H","2":"A B C CC eC DC"},L:{"1":"I"},M:{"1":"BC"},N:{"2":"A B"},O:{"1":"EC"},P:{"1":"0 1 2 3 4 J y z WD XD YD ZD aD PC bD cD dD eD fD FC GC HC gD"},Q:{"1":"hD"},R:{"1":"iD"},S:{"1":"jD kD"}},B:1,C:"Download attribute",D:true}; diff --git a/node_modules/caniuse-lite/data/features/dragndrop.js b/node_modules/caniuse-lite/data/features/dragndrop.js index 40bc2d0414..c4d4785f3c 100644 --- a/node_modules/caniuse-lite/data/features/dragndrop.js +++ b/node_modules/caniuse-lite/data/features/dragndrop.js @@ -1 +1 @@ -module.exports={A:{A:{"644":"K D E F aC","772":"A B"},B:{"1":"0 1 2 3 4 5 6 7 8 9 P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I","260":"C L M G N O"},C:{"1":"0 1 2 3 4 5 6 7 8 9 J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC dC eC","8":"bC DC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC"},E:{"1":"J FB K D E F A B C L M G fC JC gC hC iC jC KC 7B 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC"},F:{"1":"C G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t 8B","8":"F B qC rC sC tC 7B YC uC"},G:{"1":"ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC","2":"E JC vC ZC wC xC yC zC 0C 1C 2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD"},H:{"2":"HD"},I:{"2":"DC J ID JD KD LD ZC MD ND","1025":"I"},J:{"2":"D A"},K:{"1":"8B","8":"A B C 7B YC","1025":"H"},L:{"1025":"I"},M:{"2":"6B"},N:{"1":"A B"},O:{"1025":"9B"},P:{"2":"J u v w x y z OD PD QD RD SD KC TD UD VD WD XD AC BC CC YD"},Q:{"1":"ZD"},R:{"2":"aD"},S:{"2":"bD cD"}},B:1,C:"Drag and Drop",D:true}; +module.exports={A:{A:{"644":"K D E F gC","772":"A B"},B:{"1":"5 6 7 8 9 P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I","260":"C L M G N O"},C:{"1":"0 1 2 3 4 5 6 7 8 9 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC jC kC","8":"hC IC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC"},E:{"1":"J LB K D E F A B C L M G lC OC mC nC oC pC PC CC DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC"},F:{"1":"0 1 2 3 4 C G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x DC","8":"F B xC yC zC 0C CC eC 1C"},G:{"1":"LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC","2":"E OC 2C fC 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED FD GD HD ID JD KD"},H:{"2":"PD"},I:{"2":"IC J QD RD SD TD fC UD VD","1025":"I"},J:{"2":"D A"},K:{"1":"DC","8":"A B C CC eC","1025":"H"},L:{"1025":"I"},M:{"2":"BC"},N:{"1":"A B"},O:{"1025":"EC"},P:{"2":"0 1 2 3 4 J y z WD XD YD ZD aD PC bD cD dD eD fD FC GC HC gD"},Q:{"1":"hD"},R:{"2":"iD"},S:{"2":"jD kD"}},B:1,C:"Drag and Drop",D:true}; diff --git a/node_modules/caniuse-lite/data/features/element-closest.js b/node_modules/caniuse-lite/data/features/element-closest.js index 25ca01a080..f30b13d9ae 100644 --- a/node_modules/caniuse-lite/data/features/element-closest.js +++ b/node_modules/caniuse-lite/data/features/element-closest.js @@ -1 +1 @@ -module.exports={A:{A:{"2":"K D E F A B aC"},B:{"1":"0 1 2 3 4 5 6 7 8 9 G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I","2":"C L M"},C:{"1":"0 1 2 3 4 5 6 7 8 9 QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC","2":"bC DC J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB dC eC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC","2":"J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB"},E:{"1":"F A B C L M G jC KC 7B 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC","2":"J FB K D E fC JC gC hC iC"},F:{"1":"JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t","2":"F B C G N O P GB u v w x y z HB IB qC rC sC tC 7B YC uC 8B"},G:{"1":"0C 1C 2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC","2":"E JC vC ZC wC xC yC zC"},H:{"2":"HD"},I:{"1":"I","2":"DC J ID JD KD LD ZC MD ND"},J:{"2":"D A"},K:{"1":"H","2":"A B C 7B YC 8B"},L:{"1":"I"},M:{"1":"6B"},N:{"2":"A B"},O:{"1":"9B"},P:{"1":"u v w x y z OD PD QD RD SD KC TD UD VD WD XD AC BC CC YD","2":"J"},Q:{"1":"ZD"},R:{"1":"aD"},S:{"1":"bD cD"}},B:1,C:"Element.closest()",D:true}; +module.exports={A:{A:{"2":"K D E F A B gC"},B:{"1":"5 6 7 8 9 G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I","2":"C L M"},C:{"1":"5 6 7 8 9 VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC","2":"0 1 2 3 4 hC IC J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB jC kC"},D:{"1":"5 6 7 8 9 bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC","2":"0 1 2 3 4 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB"},E:{"1":"F A B C L M G pC PC CC DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC","2":"J LB K D E lC OC mC nC oC"},F:{"1":"OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x","2":"0 1 2 3 4 F B C G N O P MB y z NB xC yC zC 0C CC eC 1C DC"},G:{"1":"7C 8C 9C AD BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC","2":"E OC 2C fC 3C 4C 5C 6C"},H:{"2":"PD"},I:{"1":"I","2":"IC J QD RD SD TD fC UD VD"},J:{"2":"D A"},K:{"1":"H","2":"A B C CC eC DC"},L:{"1":"I"},M:{"1":"BC"},N:{"2":"A B"},O:{"1":"EC"},P:{"1":"0 1 2 3 4 y z WD XD YD ZD aD PC bD cD dD eD fD FC GC HC gD","2":"J"},Q:{"1":"hD"},R:{"1":"iD"},S:{"1":"jD kD"}},B:1,C:"Element.closest()",D:true}; diff --git a/node_modules/caniuse-lite/data/features/element-from-point.js b/node_modules/caniuse-lite/data/features/element-from-point.js index 88f65d86e4..c1a7d9be12 100644 --- a/node_modules/caniuse-lite/data/features/element-from-point.js +++ b/node_modules/caniuse-lite/data/features/element-from-point.js @@ -1 +1 @@ -module.exports={A:{A:{"1":"K D E F A B","16":"aC"},B:{"1":"0 1 2 3 4 5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 DC J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC dC eC","16":"bC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC","16":"J FB K D E F A B C L M"},E:{"1":"FB K D E F A B C L M G gC hC iC jC KC 7B 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC","16":"J fC JC"},F:{"1":"B C G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t 7B YC uC 8B","16":"F qC rC sC tC"},G:{"1":"E vC ZC wC xC yC zC 0C 1C 2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC","16":"JC"},H:{"1":"HD"},I:{"1":"DC J I KD LD ZC MD ND","16":"ID JD"},J:{"1":"D A"},K:{"1":"C H 8B","16":"A B 7B YC"},L:{"1":"I"},M:{"1":"6B"},N:{"1":"A B"},O:{"1":"9B"},P:{"1":"J u v w x y z OD PD QD RD SD KC TD UD VD WD XD AC BC CC YD"},Q:{"1":"ZD"},R:{"1":"aD"},S:{"1":"bD cD"}},B:5,C:"document.elementFromPoint()",D:true}; +module.exports={A:{A:{"1":"K D E F A B","16":"gC"},B:{"1":"5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 IC J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC jC kC","16":"hC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC","16":"J LB K D E F A B C L M"},E:{"1":"LB K D E F A B C L M G mC nC oC pC PC CC DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC","16":"J lC OC"},F:{"1":"0 1 2 3 4 B C G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x CC eC 1C DC","16":"F xC yC zC 0C"},G:{"1":"E 2C fC 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC","16":"OC"},H:{"1":"PD"},I:{"1":"IC J I SD TD fC UD VD","16":"QD RD"},J:{"1":"D A"},K:{"1":"C H DC","16":"A B CC eC"},L:{"1":"I"},M:{"1":"BC"},N:{"1":"A B"},O:{"1":"EC"},P:{"1":"0 1 2 3 4 J y z WD XD YD ZD aD PC bD cD dD eD fD FC GC HC gD"},Q:{"1":"hD"},R:{"1":"iD"},S:{"1":"jD kD"}},B:5,C:"document.elementFromPoint()",D:true}; diff --git a/node_modules/caniuse-lite/data/features/element-scroll-methods.js b/node_modules/caniuse-lite/data/features/element-scroll-methods.js index 6fcb612330..f443f65144 100644 --- a/node_modules/caniuse-lite/data/features/element-scroll-methods.js +++ b/node_modules/caniuse-lite/data/features/element-scroll-methods.js @@ -1 +1 @@ -module.exports={A:{A:{"2":"K D E F A B aC"},B:{"1":"0 1 2 3 4 5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I","2":"C L M G N O P"},C:{"1":"0 1 2 3 4 5 6 7 8 9 RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC","2":"bC DC J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB dC eC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC","2":"J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB"},E:{"1":"M G lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC","2":"J FB K D E F fC JC gC hC iC jC","132":"A B C L KC 7B 8B kC"},F:{"1":"dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t","2":"F B C G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB qC rC sC tC 7B YC uC 8B"},G:{"1":"DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC","2":"E JC vC ZC wC xC yC zC 0C 1C","132":"2C 3C 4C 5C 6C 7C 8C 9C AD BD CD"},H:{"2":"HD"},I:{"1":"I","2":"DC J ID JD KD LD ZC MD ND"},J:{"2":"D A"},K:{"1":"H","2":"A B C 7B YC 8B"},L:{"1":"I"},M:{"1":"6B"},N:{"2":"A B"},O:{"1":"9B"},P:{"1":"u v w x y z RD SD KC TD UD VD WD XD AC BC CC YD","2":"J OD PD QD"},Q:{"1":"ZD"},R:{"1":"aD"},S:{"1":"bD cD"}},B:5,C:"Scroll methods on elements (scroll, scrollTo, scrollBy)",D:true}; +module.exports={A:{A:{"2":"K D E F A B gC"},B:{"1":"5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I","2":"C L M G N O P"},C:{"1":"5 6 7 8 9 WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC","2":"0 1 2 3 4 hC IC J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB jC kC"},D:{"1":"5 6 7 8 9 KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC","2":"0 1 2 3 4 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB"},E:{"1":"M G rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC","2":"J LB K D E F lC OC mC nC oC pC","132":"A B C L PC CC DC qC"},F:{"1":"iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x","2":"0 1 2 3 4 F B C G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB xC yC zC 0C CC eC 1C DC"},G:{"1":"KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC","2":"E OC 2C fC 3C 4C 5C 6C 7C 8C","132":"9C AD BD CD DD ED FD GD HD ID JD"},H:{"2":"PD"},I:{"1":"I","2":"IC J QD RD SD TD fC UD VD"},J:{"2":"D A"},K:{"1":"H","2":"A B C CC eC DC"},L:{"1":"I"},M:{"1":"BC"},N:{"2":"A B"},O:{"1":"EC"},P:{"1":"0 1 2 3 4 y z ZD aD PC bD cD dD eD fD FC GC HC gD","2":"J WD XD YD"},Q:{"1":"hD"},R:{"1":"iD"},S:{"1":"jD kD"}},B:5,C:"Scroll methods on elements (scroll, scrollTo, scrollBy)",D:true}; diff --git a/node_modules/caniuse-lite/data/features/eme.js b/node_modules/caniuse-lite/data/features/eme.js index 63293c16ac..03df67e927 100644 --- a/node_modules/caniuse-lite/data/features/eme.js +++ b/node_modules/caniuse-lite/data/features/eme.js @@ -1 +1 @@ -module.exports={A:{A:{"2":"K D E F A aC","164":"B"},B:{"1":"0 1 2 3 4 5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC","2":"bC DC J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB dC eC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC","2":"J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB","132":"QB RB SB TB UB VB WB"},E:{"1":"C L M G 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC","2":"J FB K fC JC gC hC","164":"D E F A B iC jC KC 7B"},F:{"1":"KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t","2":"F B C G N O P GB u v qC rC sC tC 7B YC uC 8B","132":"w x y z HB IB JB"},G:{"1":"5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC","2":"E JC vC ZC wC xC yC zC 0C 1C 2C 3C 4C"},H:{"2":"HD"},I:{"1":"I","2":"DC J ID JD KD LD ZC MD ND"},J:{"2":"D A"},K:{"1":"H","2":"A B C 7B YC 8B"},L:{"1":"I"},M:{"1":"6B"},N:{"2":"A B"},O:{"1":"9B"},P:{"1":"u v w x y z OD PD QD RD SD KC TD UD VD WD XD AC BC CC YD","2":"J"},Q:{"1":"ZD"},R:{"1":"aD"},S:{"1":"bD cD"}},B:2,C:"Encrypted Media Extensions",D:true}; +module.exports={A:{A:{"2":"K D E F A gC","164":"B"},B:{"1":"5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I"},C:{"1":"5 6 7 8 9 YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC","2":"0 1 2 3 4 hC IC J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB jC kC"},D:{"1":"5 6 7 8 9 cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC","2":"0 1 2 3 4 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB","132":"VB WB XB YB ZB aB bB"},E:{"1":"C L M G DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC","2":"J LB K lC OC mC nC","164":"D E F A B oC pC PC CC"},F:{"1":"PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x","2":"F B C G N O P MB y z xC yC zC 0C CC eC 1C DC","132":"0 1 2 3 4 NB OB"},G:{"1":"CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC","2":"E OC 2C fC 3C 4C 5C 6C 7C 8C 9C AD BD"},H:{"2":"PD"},I:{"1":"I","2":"IC J QD RD SD TD fC UD VD"},J:{"2":"D A"},K:{"1":"H","2":"A B C CC eC DC"},L:{"1":"I"},M:{"1":"BC"},N:{"2":"A B"},O:{"1":"EC"},P:{"1":"0 1 2 3 4 y z WD XD YD ZD aD PC bD cD dD eD fD FC GC HC gD","2":"J"},Q:{"1":"hD"},R:{"1":"iD"},S:{"1":"jD kD"}},B:2,C:"Encrypted Media Extensions",D:true}; diff --git a/node_modules/caniuse-lite/data/features/eot.js b/node_modules/caniuse-lite/data/features/eot.js index ff1a4a5038..c7113a34a6 100644 --- a/node_modules/caniuse-lite/data/features/eot.js +++ b/node_modules/caniuse-lite/data/features/eot.js @@ -1 +1 @@ -module.exports={A:{A:{"1":"K D E F A B","2":"aC"},B:{"2":"0 1 2 3 4 5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I"},C:{"2":"0 1 2 3 4 5 6 7 8 9 bC DC J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC dC eC"},D:{"2":"0 1 2 3 4 5 6 7 8 9 J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC"},E:{"2":"J FB K D E F A B C L M G fC JC gC hC iC jC KC 7B 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC"},F:{"2":"F B C G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t qC rC sC tC 7B YC uC 8B"},G:{"2":"E JC vC ZC wC xC yC zC 0C 1C 2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC"},H:{"2":"HD"},I:{"2":"DC J I ID JD KD LD ZC MD ND"},J:{"2":"D A"},K:{"2":"A B C H 7B YC 8B"},L:{"2":"I"},M:{"2":"6B"},N:{"2":"A B"},O:{"2":"9B"},P:{"2":"J u v w x y z OD PD QD RD SD KC TD UD VD WD XD AC BC CC YD"},Q:{"2":"ZD"},R:{"2":"aD"},S:{"2":"bD cD"}},B:7,C:"EOT - Embedded OpenType fonts",D:true}; +module.exports={A:{A:{"1":"K D E F A B","2":"gC"},B:{"2":"5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I"},C:{"2":"0 1 2 3 4 5 6 7 8 9 hC IC J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC jC kC"},D:{"2":"0 1 2 3 4 5 6 7 8 9 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC"},E:{"2":"J LB K D E F A B C L M G lC OC mC nC oC pC PC CC DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC"},F:{"2":"0 1 2 3 4 F B C G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x xC yC zC 0C CC eC 1C DC"},G:{"2":"E OC 2C fC 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC"},H:{"2":"PD"},I:{"2":"IC J I QD RD SD TD fC UD VD"},J:{"2":"D A"},K:{"2":"A B C H CC eC DC"},L:{"2":"I"},M:{"2":"BC"},N:{"2":"A B"},O:{"2":"EC"},P:{"2":"0 1 2 3 4 J y z WD XD YD ZD aD PC bD cD dD eD fD FC GC HC gD"},Q:{"2":"hD"},R:{"2":"iD"},S:{"2":"jD kD"}},B:7,C:"EOT - Embedded OpenType fonts",D:true}; diff --git a/node_modules/caniuse-lite/data/features/es5.js b/node_modules/caniuse-lite/data/features/es5.js index 3cc0b43336..41f4dd1749 100644 --- a/node_modules/caniuse-lite/data/features/es5.js +++ b/node_modules/caniuse-lite/data/features/es5.js @@ -1 +1 @@ -module.exports={A:{A:{"1":"A B","2":"K D aC","260":"F","1026":"E"},B:{"1":"0 1 2 3 4 5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC","4":"bC DC dC eC","132":"J FB K D E F A B C L M G N O P GB u"},D:{"1":"0 1 2 3 4 5 6 7 8 9 x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC","4":"J FB K D E F A B C L M G N O P","132":"GB u v w"},E:{"1":"K D E F A B C L M G hC iC jC KC 7B 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC","4":"J FB fC JC gC"},F:{"1":"G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t","4":"F B C qC rC sC tC 7B YC uC","132":"8B"},G:{"1":"E xC yC zC 0C 1C 2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC","4":"JC vC ZC wC"},H:{"132":"HD"},I:{"1":"I MD ND","4":"DC ID JD KD","132":"LD ZC","900":"J"},J:{"1":"A","4":"D"},K:{"1":"H","4":"A B C 7B YC","132":"8B"},L:{"1":"I"},M:{"1":"6B"},N:{"1":"A B"},O:{"1":"9B"},P:{"1":"J u v w x y z OD PD QD RD SD KC TD UD VD WD XD AC BC CC YD"},Q:{"1":"ZD"},R:{"1":"aD"},S:{"1":"bD cD"}},B:6,C:"ECMAScript 5",D:true}; +module.exports={A:{A:{"1":"A B","2":"K D gC","260":"F","1026":"E"},B:{"1":"5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC","4":"hC IC jC kC","132":"J LB K D E F A B C L M G N O P MB y"},D:{"1":"1 2 3 4 5 6 7 8 9 NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC","4":"J LB K D E F A B C L M G N O P","132":"0 MB y z"},E:{"1":"K D E F A B C L M G nC oC pC PC CC DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC","4":"J LB lC OC mC"},F:{"1":"0 1 2 3 4 G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x","4":"F B C xC yC zC 0C CC eC 1C","132":"DC"},G:{"1":"E 4C 5C 6C 7C 8C 9C AD BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC","4":"OC 2C fC 3C"},H:{"132":"PD"},I:{"1":"I UD VD","4":"IC QD RD SD","132":"TD fC","900":"J"},J:{"1":"A","4":"D"},K:{"1":"H","4":"A B C CC eC","132":"DC"},L:{"1":"I"},M:{"1":"BC"},N:{"1":"A B"},O:{"1":"EC"},P:{"1":"0 1 2 3 4 J y z WD XD YD ZD aD PC bD cD dD eD fD FC GC HC gD"},Q:{"1":"hD"},R:{"1":"iD"},S:{"1":"jD kD"}},B:6,C:"ECMAScript 5",D:true}; diff --git a/node_modules/caniuse-lite/data/features/es6-class.js b/node_modules/caniuse-lite/data/features/es6-class.js index 969ba058ee..3c735edca7 100644 --- a/node_modules/caniuse-lite/data/features/es6-class.js +++ b/node_modules/caniuse-lite/data/features/es6-class.js @@ -1 +1 @@ -module.exports={A:{A:{"2":"K D E F A B aC"},B:{"1":"0 1 2 3 4 5 6 7 8 9 L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I","2":"C"},C:{"1":"0 1 2 3 4 5 6 7 8 9 aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC","2":"bC DC J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB dC eC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC","2":"J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB","132":"XB YB ZB aB bB cB dB"},E:{"1":"F A B C L M G jC KC 7B 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC","2":"J FB K D E fC JC gC hC iC"},F:{"1":"RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t","2":"F B C G N O P GB u v w x y z HB IB JB qC rC sC tC 7B YC uC 8B","132":"KB LB MB NB OB PB QB"},G:{"1":"0C 1C 2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC","2":"E JC vC ZC wC xC yC zC"},H:{"2":"HD"},I:{"1":"I","2":"DC J ID JD KD LD ZC MD ND"},J:{"2":"D A"},K:{"1":"H","2":"A B C 7B YC 8B"},L:{"1":"I"},M:{"1":"6B"},N:{"2":"A B"},O:{"1":"9B"},P:{"1":"u v w x y z OD PD QD RD SD KC TD UD VD WD XD AC BC CC YD","2":"J"},Q:{"1":"ZD"},R:{"1":"aD"},S:{"1":"bD cD"}},B:6,C:"ES6 classes",D:true}; +module.exports={A:{A:{"2":"K D E F A B gC"},B:{"1":"5 6 7 8 9 L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I","2":"C"},C:{"1":"5 6 7 8 9 fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC","2":"0 1 2 3 4 hC IC J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB jC kC"},D:{"1":"5 6 7 8 9 jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC","2":"0 1 2 3 4 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB","132":"cB dB eB fB gB hB iB"},E:{"1":"F A B C L M G pC PC CC DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC","2":"J LB K D E lC OC mC nC oC"},F:{"1":"WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x","2":"0 1 2 3 4 F B C G N O P MB y z NB OB xC yC zC 0C CC eC 1C DC","132":"PB QB RB SB TB UB VB"},G:{"1":"7C 8C 9C AD BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC","2":"E OC 2C fC 3C 4C 5C 6C"},H:{"2":"PD"},I:{"1":"I","2":"IC J QD RD SD TD fC UD VD"},J:{"2":"D A"},K:{"1":"H","2":"A B C CC eC DC"},L:{"1":"I"},M:{"1":"BC"},N:{"2":"A B"},O:{"1":"EC"},P:{"1":"0 1 2 3 4 y z WD XD YD ZD aD PC bD cD dD eD fD FC GC HC gD","2":"J"},Q:{"1":"hD"},R:{"1":"iD"},S:{"1":"jD kD"}},B:6,C:"ES6 classes",D:true}; diff --git a/node_modules/caniuse-lite/data/features/es6-generators.js b/node_modules/caniuse-lite/data/features/es6-generators.js index b4a708f554..965370d94e 100644 --- a/node_modules/caniuse-lite/data/features/es6-generators.js +++ b/node_modules/caniuse-lite/data/features/es6-generators.js @@ -1 +1 @@ -module.exports={A:{A:{"2":"K D E F A B aC"},B:{"1":"0 1 2 3 4 5 6 7 8 9 L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I","2":"C"},C:{"1":"0 1 2 3 4 5 6 7 8 9 HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC","2":"bC DC J FB K D E F A B C L M G N O P GB u v w x y z dC eC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC","2":"J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB"},E:{"1":"A B C L M G KC 7B 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC","2":"J FB K D E F fC JC gC hC iC jC"},F:{"1":"HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t","2":"F B C G N O P GB u v w x y z qC rC sC tC 7B YC uC 8B"},G:{"1":"2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC","2":"E JC vC ZC wC xC yC zC 0C 1C"},H:{"2":"HD"},I:{"1":"I","2":"DC J ID JD KD LD ZC MD ND"},J:{"2":"D A"},K:{"1":"H","2":"A B C 7B YC 8B"},L:{"1":"I"},M:{"1":"6B"},N:{"2":"A B"},O:{"1":"9B"},P:{"1":"J u v w x y z OD PD QD RD SD KC TD UD VD WD XD AC BC CC YD"},Q:{"1":"ZD"},R:{"1":"aD"},S:{"1":"bD cD"}},B:6,C:"ES6 Generators",D:true}; +module.exports={A:{A:{"2":"K D E F A B gC"},B:{"1":"5 6 7 8 9 L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I","2":"C"},C:{"1":"4 5 6 7 8 9 NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC","2":"0 1 2 3 hC IC J LB K D E F A B C L M G N O P MB y z jC kC"},D:{"1":"5 6 7 8 9 ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC","2":"0 1 2 3 4 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB"},E:{"1":"A B C L M G PC CC DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC","2":"J LB K D E F lC OC mC nC oC pC"},F:{"1":"4 NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x","2":"0 1 2 3 F B C G N O P MB y z xC yC zC 0C CC eC 1C DC"},G:{"1":"9C AD BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC","2":"E OC 2C fC 3C 4C 5C 6C 7C 8C"},H:{"2":"PD"},I:{"1":"I","2":"IC J QD RD SD TD fC UD VD"},J:{"2":"D A"},K:{"1":"H","2":"A B C CC eC DC"},L:{"1":"I"},M:{"1":"BC"},N:{"2":"A B"},O:{"1":"EC"},P:{"1":"0 1 2 3 4 J y z WD XD YD ZD aD PC bD cD dD eD fD FC GC HC gD"},Q:{"1":"hD"},R:{"1":"iD"},S:{"1":"jD kD"}},B:6,C:"ES6 Generators",D:true}; diff --git a/node_modules/caniuse-lite/data/features/es6-module-dynamic-import.js b/node_modules/caniuse-lite/data/features/es6-module-dynamic-import.js index 65ed515d71..e801262d0b 100644 --- a/node_modules/caniuse-lite/data/features/es6-module-dynamic-import.js +++ b/node_modules/caniuse-lite/data/features/es6-module-dynamic-import.js @@ -1 +1 @@ -module.exports={A:{A:{"2":"K D E F A B aC"},B:{"1":"0 1 2 3 4 5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I","2":"C L M G N O P"},C:{"1":"0 1 2 3 4 5 6 7 8 9 uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC","2":"bC DC J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB dC eC","194":"tB"},D:{"1":"0 1 2 3 4 5 6 7 8 9 qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC","2":"J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB"},E:{"1":"C L M G 7B 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC","2":"J FB K D E F A B fC JC gC hC iC jC KC"},F:{"1":"fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t","2":"F B C G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB qC rC sC tC 7B YC uC 8B"},G:{"1":"4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC","2":"E JC vC ZC wC xC yC zC 0C 1C 2C 3C"},H:{"2":"HD"},I:{"1":"I","2":"DC J ID JD KD LD ZC MD ND"},J:{"2":"D A"},K:{"1":"H","2":"A B C 7B YC 8B"},L:{"1":"I"},M:{"1":"6B"},N:{"2":"A B"},O:{"1":"9B"},P:{"1":"u v w x y z RD SD KC TD UD VD WD XD AC BC CC YD","2":"J OD PD QD"},Q:{"1":"ZD"},R:{"1":"aD"},S:{"1":"cD","2":"bD"}},B:6,C:"JavaScript modules: dynamic import()",D:true}; +module.exports={A:{A:{"2":"K D E F A B gC"},B:{"1":"5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I","2":"C L M G N O P"},C:{"1":"5 6 7 8 9 zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC","2":"0 1 2 3 4 hC IC J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB jC kC","194":"yB"},D:{"1":"5 6 7 8 9 vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC","2":"0 1 2 3 4 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB"},E:{"1":"C L M G CC DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC","2":"J LB K D E F A B lC OC mC nC oC pC PC"},F:{"1":"kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x","2":"0 1 2 3 4 F B C G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB xC yC zC 0C CC eC 1C DC"},G:{"1":"BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC","2":"E OC 2C fC 3C 4C 5C 6C 7C 8C 9C AD"},H:{"2":"PD"},I:{"1":"I","2":"IC J QD RD SD TD fC UD VD"},J:{"2":"D A"},K:{"1":"H","2":"A B C CC eC DC"},L:{"1":"I"},M:{"1":"BC"},N:{"2":"A B"},O:{"1":"EC"},P:{"1":"0 1 2 3 4 y z ZD aD PC bD cD dD eD fD FC GC HC gD","2":"J WD XD YD"},Q:{"1":"hD"},R:{"1":"iD"},S:{"1":"kD","2":"jD"}},B:6,C:"JavaScript modules: dynamic import()",D:true}; diff --git a/node_modules/caniuse-lite/data/features/es6-module.js b/node_modules/caniuse-lite/data/features/es6-module.js index b8866ddc3f..4a08dbd63e 100644 --- a/node_modules/caniuse-lite/data/features/es6-module.js +++ b/node_modules/caniuse-lite/data/features/es6-module.js @@ -1 +1 @@ -module.exports={A:{A:{"2":"K D E F A B aC"},B:{"1":"0 1 2 3 4 5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I","2":"C L M","2049":"N O P","2242":"G"},C:{"1":"0 1 2 3 4 5 6 7 8 9 oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC","2":"bC DC J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB dC eC","322":"jB kB lB mB nB EC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC","2":"J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC","194":"oB"},E:{"1":"B C L M G 7B 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC","2":"J FB K D E F A fC JC gC hC iC jC","1540":"KC"},F:{"1":"dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t","2":"F B C G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB qC rC sC tC 7B YC uC 8B","194":"cB"},G:{"1":"4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC","2":"E JC vC ZC wC xC yC zC 0C 1C 2C","1540":"3C"},H:{"2":"HD"},I:{"1":"I","2":"DC J ID JD KD LD ZC MD ND"},J:{"2":"D A"},K:{"1":"H","2":"A B C 7B YC 8B"},L:{"1":"I"},M:{"1":"6B"},N:{"2":"A B"},O:{"1":"9B"},P:{"1":"u v w x y z RD SD KC TD UD VD WD XD AC BC CC YD","2":"J OD PD QD"},Q:{"1":"ZD"},R:{"1":"aD"},S:{"1":"cD","2":"bD"}},B:1,C:"JavaScript modules via script tag",D:true}; +module.exports={A:{A:{"2":"K D E F A B gC"},B:{"1":"5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I","2":"C L M","2049":"N O P","2242":"G"},C:{"1":"5 6 7 8 9 tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC","2":"0 1 2 3 4 hC IC J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB jC kC","322":"oB pB qB rB sB JC"},D:{"1":"5 6 7 8 9 KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC","2":"0 1 2 3 4 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC","194":"tB"},E:{"1":"B C L M G CC DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC","2":"J LB K D E F A lC OC mC nC oC pC","1540":"PC"},F:{"1":"iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x","2":"0 1 2 3 4 F B C G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB xC yC zC 0C CC eC 1C DC","194":"hB"},G:{"1":"BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC","2":"E OC 2C fC 3C 4C 5C 6C 7C 8C 9C","1540":"AD"},H:{"2":"PD"},I:{"1":"I","2":"IC J QD RD SD TD fC UD VD"},J:{"2":"D A"},K:{"1":"H","2":"A B C CC eC DC"},L:{"1":"I"},M:{"1":"BC"},N:{"2":"A B"},O:{"1":"EC"},P:{"1":"0 1 2 3 4 y z ZD aD PC bD cD dD eD fD FC GC HC gD","2":"J WD XD YD"},Q:{"1":"hD"},R:{"1":"iD"},S:{"1":"kD","2":"jD"}},B:1,C:"JavaScript modules via script tag",D:true}; diff --git a/node_modules/caniuse-lite/data/features/es6-number.js b/node_modules/caniuse-lite/data/features/es6-number.js index 515dbc355b..17e2727a8d 100644 --- a/node_modules/caniuse-lite/data/features/es6-number.js +++ b/node_modules/caniuse-lite/data/features/es6-number.js @@ -1 +1 @@ -module.exports={A:{A:{"2":"K D E F A B aC"},B:{"1":"0 1 2 3 4 5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC","2":"bC DC J FB K D E F A B C L M G dC eC","132":"N O P GB u v w x y","260":"z HB IB JB KB LB","516":"MB"},D:{"1":"0 1 2 3 4 5 6 7 8 9 PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC","2":"J FB K D E F A B C L M G N O P","1028":"GB u v w x y z HB IB JB KB LB MB NB OB"},E:{"1":"F A B C L M G jC KC 7B 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC","2":"J FB K D E fC JC gC hC iC"},F:{"1":"v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t","2":"F B C qC rC sC tC 7B YC uC 8B","1028":"G N O P GB u"},G:{"1":"0C 1C 2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC","2":"E JC vC ZC wC xC yC zC"},H:{"2":"HD"},I:{"1":"I","2":"DC J ID JD KD","1028":"LD ZC MD ND"},J:{"2":"D A"},K:{"1":"H","2":"A B C 7B YC 8B"},L:{"1":"I"},M:{"1":"6B"},N:{"2":"A B"},O:{"1":"9B"},P:{"1":"J u v w x y z OD PD QD RD SD KC TD UD VD WD XD AC BC CC YD"},Q:{"1":"ZD"},R:{"1":"aD"},S:{"1":"bD cD"}},B:6,C:"ES6 Number",D:true}; +module.exports={A:{A:{"2":"K D E F A B gC"},B:{"1":"5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I"},C:{"1":"5 6 7 8 9 SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC","2":"hC IC J LB K D E F A B C L M G jC kC","132":"0 1 2 N O P MB y z","260":"3 4 NB OB PB QB","516":"RB"},D:{"1":"5 6 7 8 9 UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC","2":"J LB K D E F A B C L M G N O P","1028":"0 1 2 3 4 MB y z NB OB PB QB RB SB TB"},E:{"1":"F A B C L M G pC PC CC DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC","2":"J LB K D E lC OC mC nC oC"},F:{"1":"0 1 2 3 4 z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x","2":"F B C xC yC zC 0C CC eC 1C DC","1028":"G N O P MB y"},G:{"1":"7C 8C 9C AD BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC","2":"E OC 2C fC 3C 4C 5C 6C"},H:{"2":"PD"},I:{"1":"I","2":"IC J QD RD SD","1028":"TD fC UD VD"},J:{"2":"D A"},K:{"1":"H","2":"A B C CC eC DC"},L:{"1":"I"},M:{"1":"BC"},N:{"2":"A B"},O:{"1":"EC"},P:{"1":"0 1 2 3 4 J y z WD XD YD ZD aD PC bD cD dD eD fD FC GC HC gD"},Q:{"1":"hD"},R:{"1":"iD"},S:{"1":"jD kD"}},B:6,C:"ES6 Number",D:true}; diff --git a/node_modules/caniuse-lite/data/features/es6-string-includes.js b/node_modules/caniuse-lite/data/features/es6-string-includes.js index a179c144fb..3e7ac14b4c 100644 --- a/node_modules/caniuse-lite/data/features/es6-string-includes.js +++ b/node_modules/caniuse-lite/data/features/es6-string-includes.js @@ -1 +1 @@ -module.exports={A:{A:{"2":"K D E F A B aC"},B:{"1":"0 1 2 3 4 5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC","2":"bC DC J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB dC eC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC","2":"J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB"},E:{"1":"F A B C L M G jC KC 7B 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC","2":"J FB K D E fC JC gC hC iC"},F:{"1":"JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t","2":"F B C G N O P GB u v w x y z HB IB qC rC sC tC 7B YC uC 8B"},G:{"1":"0C 1C 2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC","2":"E JC vC ZC wC xC yC zC"},H:{"2":"HD"},I:{"1":"I","2":"DC J ID JD KD LD ZC MD ND"},J:{"2":"D A"},K:{"1":"H","2":"A B C 7B YC 8B"},L:{"1":"I"},M:{"1":"6B"},N:{"2":"A B"},O:{"1":"9B"},P:{"1":"J u v w x y z OD PD QD RD SD KC TD UD VD WD XD AC BC CC YD"},Q:{"1":"ZD"},R:{"1":"aD"},S:{"1":"bD cD"}},B:6,C:"String.prototype.includes",D:true}; +module.exports={A:{A:{"2":"K D E F A B gC"},B:{"1":"5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I"},C:{"1":"5 6 7 8 9 aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC","2":"0 1 2 3 4 hC IC J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB jC kC"},D:{"1":"5 6 7 8 9 bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC","2":"0 1 2 3 4 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB"},E:{"1":"F A B C L M G pC PC CC DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC","2":"J LB K D E lC OC mC nC oC"},F:{"1":"OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x","2":"0 1 2 3 4 F B C G N O P MB y z NB xC yC zC 0C CC eC 1C DC"},G:{"1":"7C 8C 9C AD BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC","2":"E OC 2C fC 3C 4C 5C 6C"},H:{"2":"PD"},I:{"1":"I","2":"IC J QD RD SD TD fC UD VD"},J:{"2":"D A"},K:{"1":"H","2":"A B C CC eC DC"},L:{"1":"I"},M:{"1":"BC"},N:{"2":"A B"},O:{"1":"EC"},P:{"1":"0 1 2 3 4 J y z WD XD YD ZD aD PC bD cD dD eD fD FC GC HC gD"},Q:{"1":"hD"},R:{"1":"iD"},S:{"1":"jD kD"}},B:6,C:"String.prototype.includes",D:true}; diff --git a/node_modules/caniuse-lite/data/features/es6.js b/node_modules/caniuse-lite/data/features/es6.js index 101b96e46e..5a3d3dedcf 100644 --- a/node_modules/caniuse-lite/data/features/es6.js +++ b/node_modules/caniuse-lite/data/features/es6.js @@ -1 +1 @@ -module.exports={A:{A:{"2":"K D E F A aC","388":"B"},B:{"257":"0 1 2 3 4 5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I","260":"C L M","769":"G N O P"},C:{"2":"bC DC J FB dC eC","4":"K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB","257":"0 1 2 3 4 5 6 7 8 9 jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC"},D:{"2":"J FB K D E F A B C L M G N O P GB u","4":"v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB","257":"0 1 2 3 4 5 6 7 8 9 gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC"},E:{"1":"A B C L M G KC 7B 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC","2":"J FB K D fC JC gC hC","4":"E F iC jC"},F:{"2":"F B C qC rC sC tC 7B YC uC 8B","4":"G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB","257":"TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t"},G:{"1":"2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC","2":"JC vC ZC wC xC","4":"E yC zC 0C 1C"},H:{"2":"HD"},I:{"2":"DC J ID JD KD LD ZC","4":"MD ND","257":"I"},J:{"2":"D","4":"A"},K:{"2":"A B C 7B YC 8B","257":"H"},L:{"257":"I"},M:{"257":"6B"},N:{"2":"A","388":"B"},O:{"257":"9B"},P:{"4":"J","257":"u v w x y z OD PD QD RD SD KC TD UD VD WD XD AC BC CC YD"},Q:{"257":"ZD"},R:{"257":"aD"},S:{"4":"bD","257":"cD"}},B:6,C:"ECMAScript 2015 (ES6)",D:true}; +module.exports={A:{A:{"2":"K D E F A gC","388":"B"},B:{"257":"5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I","260":"C L M","769":"G N O P"},C:{"2":"hC IC J LB jC kC","4":"0 1 2 3 4 K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB","257":"5 6 7 8 9 oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC"},D:{"2":"J LB K D E F A B C L M G N O P MB y","4":"0 1 2 3 4 z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB","257":"5 6 7 8 9 lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC"},E:{"1":"A B C L M G PC CC DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC","2":"J LB K D lC OC mC nC","4":"E F oC pC"},F:{"2":"F B C xC yC zC 0C CC eC 1C DC","4":"0 1 2 3 4 G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB","257":"YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x"},G:{"1":"9C AD BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC","2":"OC 2C fC 3C 4C","4":"E 5C 6C 7C 8C"},H:{"2":"PD"},I:{"2":"IC J QD RD SD TD fC","4":"UD VD","257":"I"},J:{"2":"D","4":"A"},K:{"2":"A B C CC eC DC","257":"H"},L:{"257":"I"},M:{"257":"BC"},N:{"2":"A","388":"B"},O:{"257":"EC"},P:{"4":"J","257":"0 1 2 3 4 y z WD XD YD ZD aD PC bD cD dD eD fD FC GC HC gD"},Q:{"257":"hD"},R:{"257":"iD"},S:{"4":"jD","257":"kD"}},B:6,C:"ECMAScript 2015 (ES6)",D:true}; diff --git a/node_modules/caniuse-lite/data/features/eventsource.js b/node_modules/caniuse-lite/data/features/eventsource.js index 8a9b814438..7eae3c6d10 100644 --- a/node_modules/caniuse-lite/data/features/eventsource.js +++ b/node_modules/caniuse-lite/data/features/eventsource.js @@ -1 +1 @@ -module.exports={A:{A:{"2":"K D E F A B aC"},B:{"1":"0 1 2 3 4 5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I","2":"C L M G N O P"},C:{"1":"0 1 2 3 4 5 6 7 8 9 K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC","2":"bC DC J FB dC eC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC","2":"J FB"},E:{"1":"FB K D E F A B C L M G gC hC iC jC KC 7B 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC","2":"J fC JC"},F:{"1":"B C G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t 7B YC uC 8B","4":"F qC rC sC tC"},G:{"1":"E vC ZC wC xC yC zC 0C 1C 2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC","2":"JC"},H:{"2":"HD"},I:{"1":"I MD ND","2":"DC J ID JD KD LD ZC"},J:{"1":"D A"},K:{"1":"C H 7B YC 8B","4":"A B"},L:{"1":"I"},M:{"1":"6B"},N:{"2":"A B"},O:{"1":"9B"},P:{"1":"J u v w x y z OD PD QD RD SD KC TD UD VD WD XD AC BC CC YD"},Q:{"1":"ZD"},R:{"1":"aD"},S:{"1":"bD cD"}},B:1,C:"Server-sent events",D:true}; +module.exports={A:{A:{"2":"K D E F A B gC"},B:{"1":"5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I","2":"C L M G N O P"},C:{"1":"0 1 2 3 4 5 6 7 8 9 K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC","2":"hC IC J LB jC kC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC","2":"J LB"},E:{"1":"LB K D E F A B C L M G mC nC oC pC PC CC DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC","2":"J lC OC"},F:{"1":"0 1 2 3 4 B C G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x CC eC 1C DC","4":"F xC yC zC 0C"},G:{"1":"E 2C fC 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC","2":"OC"},H:{"2":"PD"},I:{"1":"I UD VD","2":"IC J QD RD SD TD fC"},J:{"1":"D A"},K:{"1":"C H CC eC DC","4":"A B"},L:{"1":"I"},M:{"1":"BC"},N:{"2":"A B"},O:{"1":"EC"},P:{"1":"0 1 2 3 4 J y z WD XD YD ZD aD PC bD cD dD eD fD FC GC HC gD"},Q:{"1":"hD"},R:{"1":"iD"},S:{"1":"jD kD"}},B:1,C:"Server-sent events",D:true}; diff --git a/node_modules/caniuse-lite/data/features/extended-system-fonts.js b/node_modules/caniuse-lite/data/features/extended-system-fonts.js index 18e8f2afff..d4dbe9229f 100644 --- a/node_modules/caniuse-lite/data/features/extended-system-fonts.js +++ b/node_modules/caniuse-lite/data/features/extended-system-fonts.js @@ -1 +1 @@ -module.exports={A:{A:{"2":"K D E F A B aC"},B:{"2":"0 1 2 3 4 5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I"},C:{"2":"0 1 2 3 4 5 6 7 8 9 bC DC J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC dC eC"},D:{"2":"0 1 2 3 4 5 6 7 8 9 J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC"},E:{"1":"M G kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC","2":"J FB K D E F A B C L fC JC gC hC iC jC KC 7B 8B"},F:{"2":"F B C G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t qC rC sC tC 7B YC uC 8B"},G:{"1":"BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC","2":"E JC vC ZC wC xC yC zC 0C 1C 2C 3C 4C 5C 6C 7C 8C 9C AD"},H:{"2":"HD"},I:{"2":"DC J I ID JD KD LD ZC MD ND"},J:{"2":"D A"},K:{"2":"A B C H 7B YC 8B"},L:{"2":"I"},M:{"2":"6B"},N:{"2":"A B"},O:{"2":"9B"},P:{"2":"J u v w x y z OD PD QD RD SD KC TD UD VD WD XD AC BC CC YD"},Q:{"2":"ZD"},R:{"2":"aD"},S:{"2":"bD cD"}},B:5,C:"ui-serif, ui-sans-serif, ui-monospace and ui-rounded values for font-family",D:true}; +module.exports={A:{A:{"2":"K D E F A B gC"},B:{"2":"5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I"},C:{"2":"0 1 2 3 4 5 6 7 8 9 hC IC J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC jC kC"},D:{"2":"0 1 2 3 4 5 6 7 8 9 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC"},E:{"1":"M G qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC","2":"J LB K D E F A B C L lC OC mC nC oC pC PC CC DC"},F:{"2":"0 1 2 3 4 F B C G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x xC yC zC 0C CC eC 1C DC"},G:{"1":"ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC","2":"E OC 2C fC 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED FD GD HD"},H:{"2":"PD"},I:{"2":"IC J I QD RD SD TD fC UD VD"},J:{"2":"D A"},K:{"2":"A B C H CC eC DC"},L:{"2":"I"},M:{"2":"BC"},N:{"2":"A B"},O:{"2":"EC"},P:{"2":"0 1 2 3 4 J y z WD XD YD ZD aD PC bD cD dD eD fD FC GC HC gD"},Q:{"2":"hD"},R:{"2":"iD"},S:{"2":"jD kD"}},B:5,C:"ui-serif, ui-sans-serif, ui-monospace and ui-rounded values for font-family",D:true}; diff --git a/node_modules/caniuse-lite/data/features/feature-policy.js b/node_modules/caniuse-lite/data/features/feature-policy.js index 4edee89d9d..ea389e1e61 100644 --- a/node_modules/caniuse-lite/data/features/feature-policy.js +++ b/node_modules/caniuse-lite/data/features/feature-policy.js @@ -1 +1 @@ -module.exports={A:{A:{"2":"K D E F A B aC"},B:{"1":"Q H R S T U V W","2":"C L M G N O P","1025":"0 1 2 3 4 5 6 7 8 9 X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I"},C:{"2":"bC DC J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B dC eC","260":"0 1 2 3 4 5 6 7 8 9 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC"},D:{"1":"1B 2B 3B 4B 5B Q H R S T U V W","2":"J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC","132":"oB FC pB qB rB sB tB uB vB wB xB yB zB 0B","1025":"0 1 2 3 4 5 6 7 8 9 X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC"},E:{"2":"J FB K D E F A B fC JC gC hC iC jC KC","772":"C L M G 7B 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC"},F:{"1":"pB qB rB sB tB uB vB wB xB yB zB 0B 1B","2":"F B C G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB qC rC sC tC 7B YC uC 8B","132":"cB dB eB fB gB hB iB jB kB lB mB nB oB","1025":"2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t"},G:{"2":"E JC vC ZC wC xC yC zC 0C 1C 2C 3C 4C","772":"5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC"},H:{"2":"HD"},I:{"1":"I","2":"DC J ID JD KD LD ZC MD ND"},J:{"2":"D A"},K:{"2":"A B C 7B YC 8B","1025":"H"},L:{"1025":"I"},M:{"260":"6B"},N:{"2":"A B"},O:{"1":"9B"},P:{"1":"u v w x y z TD UD VD WD XD AC BC CC YD","2":"J OD PD QD","132":"RD SD KC"},Q:{"132":"ZD"},R:{"1025":"aD"},S:{"2":"bD","260":"cD"}},B:7,C:"Feature Policy",D:true}; +module.exports={A:{A:{"2":"K D E F A B gC"},B:{"1":"Q H R S T U V W","2":"C L M G N O P","1025":"5 6 7 8 9 X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I"},C:{"2":"0 1 2 3 4 hC IC J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B jC kC","260":"5 6 7 8 9 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC"},D:{"1":"6B 7B 8B 9B AC Q H R S T U V W","2":"0 1 2 3 4 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC","132":"tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B","1025":"5 6 7 8 9 X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC"},E:{"2":"J LB K D E F A B lC OC mC nC oC pC PC","772":"C L M G CC DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC"},F:{"1":"uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B","2":"0 1 2 3 4 F B C G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB xC yC zC 0C CC eC 1C DC","132":"hB iB jB kB lB mB nB oB pB qB rB sB tB","1025":"7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x"},G:{"2":"E OC 2C fC 3C 4C 5C 6C 7C 8C 9C AD BD","772":"CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC"},H:{"2":"PD"},I:{"1":"I","2":"IC J QD RD SD TD fC UD VD"},J:{"2":"D A"},K:{"2":"A B C CC eC DC","1025":"H"},L:{"1025":"I"},M:{"260":"BC"},N:{"2":"A B"},O:{"1":"EC"},P:{"1":"0 1 2 3 4 y z bD cD dD eD fD FC GC HC gD","2":"J WD XD YD","132":"ZD aD PC"},Q:{"132":"hD"},R:{"1025":"iD"},S:{"2":"jD","260":"kD"}},B:7,C:"Feature Policy",D:true}; diff --git a/node_modules/caniuse-lite/data/features/fetch.js b/node_modules/caniuse-lite/data/features/fetch.js index 8bcee8350e..30027897ab 100644 --- a/node_modules/caniuse-lite/data/features/fetch.js +++ b/node_modules/caniuse-lite/data/features/fetch.js @@ -1 +1 @@ -module.exports={A:{A:{"2":"K D E F A B aC"},B:{"1":"0 1 2 3 4 5 6 7 8 9 M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I","2":"C L"},C:{"1":"0 1 2 3 4 5 6 7 8 9 VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC","2":"bC DC J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB dC eC","1025":"UB","1218":"PB QB RB SB TB"},D:{"1":"0 1 2 3 4 5 6 7 8 9 XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC","2":"J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB","260":"VB","772":"WB"},E:{"1":"B C L M G KC 7B 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC","2":"J FB K D E F A fC JC gC hC iC jC"},F:{"1":"KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t","2":"F B C G N O P GB u v w x y z HB qC rC sC tC 7B YC uC 8B","260":"IB","772":"JB"},G:{"1":"3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC","2":"E JC vC ZC wC xC yC zC 0C 1C 2C"},H:{"2":"HD"},I:{"1":"I","2":"DC J ID JD KD LD ZC MD ND"},J:{"2":"D A"},K:{"1":"H","2":"A B C 7B YC 8B"},L:{"1":"I"},M:{"1":"6B"},N:{"2":"A B"},O:{"1":"9B"},P:{"1":"J u v w x y z OD PD QD RD SD KC TD UD VD WD XD AC BC CC YD"},Q:{"1":"ZD"},R:{"1":"aD"},S:{"1":"bD cD"}},B:1,C:"Fetch",D:true}; +module.exports={A:{A:{"2":"K D E F A B gC"},B:{"1":"5 6 7 8 9 M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I","2":"C L"},C:{"1":"5 6 7 8 9 aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC","2":"0 1 2 3 4 hC IC J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB jC kC","1025":"ZB","1218":"UB VB WB XB YB"},D:{"1":"5 6 7 8 9 cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC","2":"0 1 2 3 4 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB","260":"aB","772":"bB"},E:{"1":"B C L M G PC CC DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC","2":"J LB K D E F A lC OC mC nC oC pC"},F:{"1":"PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x","2":"0 1 2 3 4 F B C G N O P MB y z xC yC zC 0C CC eC 1C DC","260":"NB","772":"OB"},G:{"1":"AD BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC","2":"E OC 2C fC 3C 4C 5C 6C 7C 8C 9C"},H:{"2":"PD"},I:{"1":"I","2":"IC J QD RD SD TD fC UD VD"},J:{"2":"D A"},K:{"1":"H","2":"A B C CC eC DC"},L:{"1":"I"},M:{"1":"BC"},N:{"2":"A B"},O:{"1":"EC"},P:{"1":"0 1 2 3 4 J y z WD XD YD ZD aD PC bD cD dD eD fD FC GC HC gD"},Q:{"1":"hD"},R:{"1":"iD"},S:{"1":"jD kD"}},B:1,C:"Fetch",D:true}; diff --git a/node_modules/caniuse-lite/data/features/fieldset-disabled.js b/node_modules/caniuse-lite/data/features/fieldset-disabled.js index 28f1c9ceaa..a8d4b02ba9 100644 --- a/node_modules/caniuse-lite/data/features/fieldset-disabled.js +++ b/node_modules/caniuse-lite/data/features/fieldset-disabled.js @@ -1 +1 @@ -module.exports={A:{A:{"16":"aC","132":"E F","388":"K D A B"},B:{"1":"0 1 2 3 4 5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC","2":"bC DC dC eC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC","2":"J FB K D E F A B C L M G","16":"N O P GB"},E:{"1":"K D E F A B C L M G hC iC jC KC 7B 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC","2":"J FB fC JC gC"},F:{"1":"B C G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t rC sC tC 7B YC uC 8B","16":"F qC"},G:{"1":"E xC yC zC 0C 1C 2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC","2":"JC vC ZC wC"},H:{"388":"HD"},I:{"1":"I MD ND","2":"DC J ID JD KD LD ZC"},J:{"1":"A","2":"D"},K:{"1":"A B C H 7B YC 8B"},L:{"1":"I"},M:{"1":"6B"},N:{"1":"A","260":"B"},O:{"1":"9B"},P:{"1":"J u v w x y z OD PD QD RD SD KC TD UD VD WD XD AC BC CC YD"},Q:{"1":"ZD"},R:{"1":"aD"},S:{"1":"bD cD"}},B:1,C:"disabled attribute of the fieldset element",D:true}; +module.exports={A:{A:{"16":"gC","132":"E F","388":"K D A B"},B:{"1":"5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC","2":"hC IC jC kC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC","2":"J LB K D E F A B C L M G","16":"N O P MB"},E:{"1":"K D E F A B C L M G nC oC pC PC CC DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC","2":"J LB lC OC mC"},F:{"1":"0 1 2 3 4 B C G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x yC zC 0C CC eC 1C DC","16":"F xC"},G:{"1":"E 4C 5C 6C 7C 8C 9C AD BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC","2":"OC 2C fC 3C"},H:{"388":"PD"},I:{"1":"I UD VD","2":"IC J QD RD SD TD fC"},J:{"1":"A","2":"D"},K:{"1":"A B C H CC eC DC"},L:{"1":"I"},M:{"1":"BC"},N:{"1":"A","260":"B"},O:{"1":"EC"},P:{"1":"0 1 2 3 4 J y z WD XD YD ZD aD PC bD cD dD eD fD FC GC HC gD"},Q:{"1":"hD"},R:{"1":"iD"},S:{"1":"jD kD"}},B:1,C:"disabled attribute of the fieldset element",D:true}; diff --git a/node_modules/caniuse-lite/data/features/fileapi.js b/node_modules/caniuse-lite/data/features/fileapi.js index f0731ab8a3..8b58d21d2e 100644 --- a/node_modules/caniuse-lite/data/features/fileapi.js +++ b/node_modules/caniuse-lite/data/features/fileapi.js @@ -1 +1 @@ -module.exports={A:{A:{"2":"K D E F aC","260":"A B"},B:{"1":"0 1 2 3 4 5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I","260":"C L M G N O P"},C:{"1":"0 1 2 3 4 5 6 7 8 9 JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC","2":"bC DC dC","260":"J FB K D E F A B C L M G N O P GB u v w x y z HB IB eC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC","2":"J FB","260":"L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB","388":"K D E F A B C"},E:{"1":"A B C L M G KC 7B 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC","2":"J FB fC JC","260":"K D E F hC iC jC","388":"gC"},F:{"1":"z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t","2":"F B qC rC sC tC","260":"C G N O P GB u v w x y 7B YC uC 8B"},G:{"1":"2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC","2":"JC vC ZC wC","260":"E xC yC zC 0C 1C"},H:{"2":"HD"},I:{"1":"I ND","2":"ID JD KD","260":"MD","388":"DC J LD ZC"},J:{"260":"A","388":"D"},K:{"1":"H","2":"A B","260":"C 7B YC 8B"},L:{"1":"I"},M:{"1":"6B"},N:{"2":"A","260":"B"},O:{"1":"9B"},P:{"1":"J u v w x y z OD PD QD RD SD KC TD UD VD WD XD AC BC CC YD"},Q:{"1":"ZD"},R:{"1":"aD"},S:{"1":"bD cD"}},B:5,C:"File API",D:true}; +module.exports={A:{A:{"2":"K D E F gC","260":"A B"},B:{"1":"5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I","260":"C L M G N O P"},C:{"1":"5 6 7 8 9 OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC","2":"hC IC jC","260":"0 1 2 3 4 J LB K D E F A B C L M G N O P MB y z NB kC"},D:{"1":"5 6 7 8 9 YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC","2":"J LB","260":"0 1 2 3 4 L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB","388":"K D E F A B C"},E:{"1":"A B C L M G PC CC DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC","2":"J LB lC OC","260":"K D E F nC oC pC","388":"mC"},F:{"1":"3 4 NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x","2":"F B xC yC zC 0C","260":"0 1 2 C G N O P MB y z CC eC 1C DC"},G:{"1":"9C AD BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC","2":"OC 2C fC 3C","260":"E 4C 5C 6C 7C 8C"},H:{"2":"PD"},I:{"1":"I VD","2":"QD RD SD","260":"UD","388":"IC J TD fC"},J:{"260":"A","388":"D"},K:{"1":"H","2":"A B","260":"C CC eC DC"},L:{"1":"I"},M:{"1":"BC"},N:{"2":"A","260":"B"},O:{"1":"EC"},P:{"1":"0 1 2 3 4 J y z WD XD YD ZD aD PC bD cD dD eD fD FC GC HC gD"},Q:{"1":"hD"},R:{"1":"iD"},S:{"1":"jD kD"}},B:5,C:"File API",D:true}; diff --git a/node_modules/caniuse-lite/data/features/filereader.js b/node_modules/caniuse-lite/data/features/filereader.js index e6774d3fa9..61b4c17eeb 100644 --- a/node_modules/caniuse-lite/data/features/filereader.js +++ b/node_modules/caniuse-lite/data/features/filereader.js @@ -1 +1 @@ -module.exports={A:{A:{"2":"K D E F aC","132":"A B"},B:{"1":"0 1 2 3 4 5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC eC","2":"bC DC dC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC","2":"J FB"},E:{"1":"K D E F A B C L M G hC iC jC KC 7B 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC","2":"J FB fC JC gC"},F:{"1":"C G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t 7B YC uC 8B","2":"F B qC rC sC tC"},G:{"1":"E xC yC zC 0C 1C 2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC","2":"JC vC ZC wC"},H:{"2":"HD"},I:{"1":"DC J I LD ZC MD ND","2":"ID JD KD"},J:{"1":"A","2":"D"},K:{"1":"C H 7B YC 8B","2":"A B"},L:{"1":"I"},M:{"1":"6B"},N:{"1":"A B"},O:{"1":"9B"},P:{"1":"J u v w x y z OD PD QD RD SD KC TD UD VD WD XD AC BC CC YD"},Q:{"1":"ZD"},R:{"1":"aD"},S:{"1":"bD cD"}},B:5,C:"FileReader API",D:true}; +module.exports={A:{A:{"2":"K D E F gC","132":"A B"},B:{"1":"5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC kC","2":"hC IC jC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC","2":"J LB"},E:{"1":"K D E F A B C L M G nC oC pC PC CC DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC","2":"J LB lC OC mC"},F:{"1":"0 1 2 3 4 C G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x CC eC 1C DC","2":"F B xC yC zC 0C"},G:{"1":"E 4C 5C 6C 7C 8C 9C AD BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC","2":"OC 2C fC 3C"},H:{"2":"PD"},I:{"1":"IC J I TD fC UD VD","2":"QD RD SD"},J:{"1":"A","2":"D"},K:{"1":"C H CC eC DC","2":"A B"},L:{"1":"I"},M:{"1":"BC"},N:{"1":"A B"},O:{"1":"EC"},P:{"1":"0 1 2 3 4 J y z WD XD YD ZD aD PC bD cD dD eD fD FC GC HC gD"},Q:{"1":"hD"},R:{"1":"iD"},S:{"1":"jD kD"}},B:5,C:"FileReader API",D:true}; diff --git a/node_modules/caniuse-lite/data/features/filereadersync.js b/node_modules/caniuse-lite/data/features/filereadersync.js index 04fe774697..3bfd8e289f 100644 --- a/node_modules/caniuse-lite/data/features/filereadersync.js +++ b/node_modules/caniuse-lite/data/features/filereadersync.js @@ -1 +1 @@ -module.exports={A:{A:{"1":"A B","2":"K D E F aC"},B:{"1":"0 1 2 3 4 5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC","2":"bC DC J FB K D dC eC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC","16":"J FB K D E F A B C L M"},E:{"1":"K D E F A B C L M G hC iC jC KC 7B 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC","2":"J FB fC JC gC"},F:{"1":"C G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t uC 8B","2":"F qC rC","16":"B sC tC 7B YC"},G:{"1":"E xC yC zC 0C 1C 2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC","2":"JC vC ZC wC"},H:{"2":"HD"},I:{"1":"I MD ND","2":"DC J ID JD KD LD ZC"},J:{"1":"A","2":"D"},K:{"1":"C H YC 8B","2":"A","16":"B 7B"},L:{"1":"I"},M:{"1":"6B"},N:{"1":"A B"},O:{"1":"9B"},P:{"1":"J u v w x y z OD PD QD RD SD KC TD UD VD WD XD AC BC CC YD"},Q:{"1":"ZD"},R:{"1":"aD"},S:{"1":"bD cD"}},B:5,C:"FileReaderSync",D:true}; +module.exports={A:{A:{"1":"A B","2":"K D E F gC"},B:{"1":"5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC","2":"hC IC J LB K D jC kC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC","16":"J LB K D E F A B C L M"},E:{"1":"K D E F A B C L M G nC oC pC PC CC DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC","2":"J LB lC OC mC"},F:{"1":"0 1 2 3 4 C G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x 1C DC","2":"F xC yC","16":"B zC 0C CC eC"},G:{"1":"E 4C 5C 6C 7C 8C 9C AD BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC","2":"OC 2C fC 3C"},H:{"2":"PD"},I:{"1":"I UD VD","2":"IC J QD RD SD TD fC"},J:{"1":"A","2":"D"},K:{"1":"C H eC DC","2":"A","16":"B CC"},L:{"1":"I"},M:{"1":"BC"},N:{"1":"A B"},O:{"1":"EC"},P:{"1":"0 1 2 3 4 J y z WD XD YD ZD aD PC bD cD dD eD fD FC GC HC gD"},Q:{"1":"hD"},R:{"1":"iD"},S:{"1":"jD kD"}},B:5,C:"FileReaderSync",D:true}; diff --git a/node_modules/caniuse-lite/data/features/filesystem.js b/node_modules/caniuse-lite/data/features/filesystem.js index 4eebee7397..ee35f06ad8 100644 --- a/node_modules/caniuse-lite/data/features/filesystem.js +++ b/node_modules/caniuse-lite/data/features/filesystem.js @@ -1 +1 @@ -module.exports={A:{A:{"2":"K D E F A B aC"},B:{"2":"C L M G N O P","33":"0 1 2 3 4 5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I"},C:{"2":"0 1 2 3 4 5 6 7 8 9 bC DC J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC dC eC"},D:{"2":"J FB K D","33":"0 1 2 3 4 5 6 7 8 9 L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC","36":"E F A B C"},E:{"2":"J FB K D E F A B C L M G fC JC gC hC iC jC KC 7B 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC"},F:{"2":"F B C qC rC sC tC 7B YC uC 8B","33":"G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t"},G:{"2":"E JC vC ZC wC xC yC zC 0C 1C 2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC"},H:{"2":"HD"},I:{"2":"DC J I ID JD KD LD ZC MD ND"},J:{"2":"D","33":"A"},K:{"2":"A B C 7B YC 8B","33":"H"},L:{"33":"I"},M:{"2":"6B"},N:{"2":"A B"},O:{"33":"9B"},P:{"2":"J","33":"u v w x y z OD PD QD RD SD KC TD UD VD WD XD AC BC CC YD"},Q:{"2":"ZD"},R:{"33":"aD"},S:{"2":"bD cD"}},B:7,C:"Filesystem & FileWriter API",D:true}; +module.exports={A:{A:{"2":"K D E F A B gC"},B:{"2":"C L M G N O P","33":"5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I"},C:{"2":"0 1 2 3 4 5 6 7 8 9 hC IC J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC jC kC"},D:{"2":"J LB K D","33":"0 1 2 3 4 5 6 7 8 9 L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC","36":"E F A B C"},E:{"2":"J LB K D E F A B C L M G lC OC mC nC oC pC PC CC DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC"},F:{"2":"F B C xC yC zC 0C CC eC 1C DC","33":"0 1 2 3 4 G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x"},G:{"2":"E OC 2C fC 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC"},H:{"2":"PD"},I:{"2":"IC J I QD RD SD TD fC UD VD"},J:{"2":"D","33":"A"},K:{"2":"A B C CC eC DC","33":"H"},L:{"33":"I"},M:{"2":"BC"},N:{"2":"A B"},O:{"33":"EC"},P:{"2":"J","33":"0 1 2 3 4 y z WD XD YD ZD aD PC bD cD dD eD fD FC GC HC gD"},Q:{"2":"hD"},R:{"33":"iD"},S:{"2":"jD kD"}},B:7,C:"Filesystem & FileWriter API",D:true}; diff --git a/node_modules/caniuse-lite/data/features/flac.js b/node_modules/caniuse-lite/data/features/flac.js index f60d457370..8e757119ba 100644 --- a/node_modules/caniuse-lite/data/features/flac.js +++ b/node_modules/caniuse-lite/data/features/flac.js @@ -1 +1 @@ -module.exports={A:{A:{"2":"K D E F A B aC"},B:{"1":"0 1 2 3 4 5 6 7 8 9 N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I","2":"C L M G"},C:{"1":"0 1 2 3 4 5 6 7 8 9 gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC","2":"bC DC J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB dC eC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC","2":"J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB","16":"ZB aB bB","388":"cB dB eB fB gB hB iB jB kB"},E:{"1":"L M G kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC","2":"J FB K D E F A fC JC gC hC iC jC KC","516":"B C 7B 8B"},F:{"1":"XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t","2":"F B C G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB qC rC sC tC 7B YC uC 8B"},G:{"1":"4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC","2":"E JC vC ZC wC xC yC zC 0C 1C 2C 3C"},H:{"2":"HD"},I:{"1":"I","2":"ID JD KD","16":"DC J LD ZC MD ND"},J:{"1":"A","2":"D"},K:{"1":"H 8B","16":"A B C 7B YC"},L:{"1":"I"},M:{"1":"6B"},N:{"2":"A B"},O:{"1":"9B"},P:{"1":"u v w x y z OD PD QD RD SD KC TD UD VD WD XD AC BC CC YD","129":"J"},Q:{"1":"ZD"},R:{"1":"aD"},S:{"1":"cD","2":"bD"}},B:6,C:"FLAC audio format",D:true}; +module.exports={A:{A:{"2":"K D E F A B gC"},B:{"1":"5 6 7 8 9 N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I","2":"C L M G"},C:{"1":"5 6 7 8 9 lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC","2":"0 1 2 3 4 hC IC J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB jC kC"},D:{"1":"5 6 7 8 9 qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC","2":"0 1 2 3 4 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB","16":"eB fB gB","388":"hB iB jB kB lB mB nB oB pB"},E:{"1":"L M G qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC","2":"J LB K D E F A lC OC mC nC oC pC PC","516":"B C CC DC"},F:{"1":"cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x","2":"0 1 2 3 4 F B C G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB xC yC zC 0C CC eC 1C DC"},G:{"1":"BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC","2":"E OC 2C fC 3C 4C 5C 6C 7C 8C 9C AD"},H:{"2":"PD"},I:{"1":"I","2":"QD RD SD","16":"IC J TD fC UD VD"},J:{"1":"A","2":"D"},K:{"1":"H DC","16":"A B C CC eC"},L:{"1":"I"},M:{"1":"BC"},N:{"2":"A B"},O:{"1":"EC"},P:{"1":"0 1 2 3 4 y z WD XD YD ZD aD PC bD cD dD eD fD FC GC HC gD","129":"J"},Q:{"1":"hD"},R:{"1":"iD"},S:{"1":"kD","2":"jD"}},B:6,C:"FLAC audio format",D:true}; diff --git a/node_modules/caniuse-lite/data/features/flexbox-gap.js b/node_modules/caniuse-lite/data/features/flexbox-gap.js index e241135095..95a1c03164 100644 --- a/node_modules/caniuse-lite/data/features/flexbox-gap.js +++ b/node_modules/caniuse-lite/data/features/flexbox-gap.js @@ -1 +1 @@ -module.exports={A:{A:{"2":"K D E F A B aC"},B:{"1":"0 1 2 3 4 5 6 7 8 9 T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I","2":"C L M G N O P Q H R S"},C:{"1":"0 1 2 3 4 5 6 7 8 9 qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC","2":"bC DC J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB dC eC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC","2":"J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S"},E:{"1":"G lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC","2":"J FB K D E F A B C L M fC JC gC hC iC jC KC 7B 8B kC"},F:{"1":"xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t","2":"F B C G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB qC rC sC tC 7B YC uC 8B"},G:{"1":"DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC","2":"E JC vC ZC wC xC yC zC 0C 1C 2C 3C 4C 5C 6C 7C 8C 9C AD BD CD"},H:{"2":"HD"},I:{"1":"I","2":"DC J ID JD KD LD ZC MD ND"},J:{"2":"D A"},K:{"1":"H","2":"A B C 7B YC 8B"},L:{"1":"I"},M:{"1":"6B"},N:{"2":"A B"},O:{"1":"9B"},P:{"1":"u v w x y z WD XD AC BC CC YD","2":"J OD PD QD RD SD KC TD UD VD"},Q:{"1":"ZD"},R:{"1":"aD"},S:{"1":"cD","2":"bD"}},B:5,C:"gap property for Flexbox",D:true}; +module.exports={A:{A:{"2":"K D E F A B gC"},B:{"1":"5 6 7 8 9 T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I","2":"C L M G N O P Q H R S"},C:{"1":"5 6 7 8 9 vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC","2":"0 1 2 3 4 hC IC J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB jC kC"},D:{"1":"5 6 7 8 9 T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC","2":"0 1 2 3 4 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S"},E:{"1":"G rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC","2":"J LB K D E F A B C L M lC OC mC nC oC pC PC CC DC qC"},F:{"1":"2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x","2":"0 1 2 3 4 F B C G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B xC yC zC 0C CC eC 1C DC"},G:{"1":"KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC","2":"E OC 2C fC 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED FD GD HD ID JD"},H:{"2":"PD"},I:{"1":"I","2":"IC J QD RD SD TD fC UD VD"},J:{"2":"D A"},K:{"1":"H","2":"A B C CC eC DC"},L:{"1":"I"},M:{"1":"BC"},N:{"2":"A B"},O:{"1":"EC"},P:{"1":"0 1 2 3 4 y z eD fD FC GC HC gD","2":"J WD XD YD ZD aD PC bD cD dD"},Q:{"1":"hD"},R:{"1":"iD"},S:{"1":"kD","2":"jD"}},B:5,C:"gap property for Flexbox",D:true}; diff --git a/node_modules/caniuse-lite/data/features/flexbox.js b/node_modules/caniuse-lite/data/features/flexbox.js index 755135c517..269d481878 100644 --- a/node_modules/caniuse-lite/data/features/flexbox.js +++ b/node_modules/caniuse-lite/data/features/flexbox.js @@ -1 +1 @@ -module.exports={A:{A:{"2":"K D E F aC","1028":"B","1316":"A"},B:{"1":"0 1 2 3 4 5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC","164":"bC DC J FB K D E F A B C L M G N O P GB u v dC eC","516":"w x y z HB IB"},D:{"1":"0 1 2 3 4 5 6 7 8 9 KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC","33":"v w x y z HB IB JB","164":"J FB K D E F A B C L M G N O P GB u"},E:{"1":"F A B C L M G jC KC 7B 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC","33":"D E hC iC","164":"J FB K fC JC gC"},F:{"1":"O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t 8B","2":"F B C qC rC sC tC 7B YC uC","33":"G N"},G:{"1":"0C 1C 2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC","33":"E yC zC","164":"JC vC ZC wC xC"},H:{"1":"HD"},I:{"1":"I MD ND","164":"DC J ID JD KD LD ZC"},J:{"1":"A","164":"D"},K:{"1":"H 8B","2":"A B C 7B YC"},L:{"1":"I"},M:{"1":"6B"},N:{"1":"B","292":"A"},O:{"1":"9B"},P:{"1":"J u v w x y z OD PD QD RD SD KC TD UD VD WD XD AC BC CC YD"},Q:{"1":"ZD"},R:{"1":"aD"},S:{"1":"bD cD"}},B:4,C:"CSS Flexible Box Layout Module",D:true}; +module.exports={A:{A:{"2":"K D E F gC","1028":"B","1316":"A"},B:{"1":"5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I"},C:{"1":"5 6 7 8 9 OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC","164":"hC IC J LB K D E F A B C L M G N O P MB y z jC kC","516":"0 1 2 3 4 NB"},D:{"1":"5 6 7 8 9 PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC","33":"0 1 2 3 4 z NB OB","164":"J LB K D E F A B C L M G N O P MB y"},E:{"1":"F A B C L M G pC PC CC DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC","33":"D E nC oC","164":"J LB K lC OC mC"},F:{"1":"0 1 2 3 4 O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x DC","2":"F B C xC yC zC 0C CC eC 1C","33":"G N"},G:{"1":"7C 8C 9C AD BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC","33":"E 5C 6C","164":"OC 2C fC 3C 4C"},H:{"1":"PD"},I:{"1":"I UD VD","164":"IC J QD RD SD TD fC"},J:{"1":"A","164":"D"},K:{"1":"H DC","2":"A B C CC eC"},L:{"1":"I"},M:{"1":"BC"},N:{"1":"B","292":"A"},O:{"1":"EC"},P:{"1":"0 1 2 3 4 J y z WD XD YD ZD aD PC bD cD dD eD fD FC GC HC gD"},Q:{"1":"hD"},R:{"1":"iD"},S:{"1":"jD kD"}},B:4,C:"CSS Flexible Box Layout Module",D:true}; diff --git a/node_modules/caniuse-lite/data/features/flow-root.js b/node_modules/caniuse-lite/data/features/flow-root.js index b7a50c3631..3741f1d9e9 100644 --- a/node_modules/caniuse-lite/data/features/flow-root.js +++ b/node_modules/caniuse-lite/data/features/flow-root.js @@ -1 +1 @@ -module.exports={A:{A:{"2":"K D E F A B aC"},B:{"1":"0 1 2 3 4 5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I","2":"C L M G N O P"},C:{"1":"0 1 2 3 4 5 6 7 8 9 iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC","2":"bC DC J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB dC eC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC","2":"J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB"},E:{"1":"L M G kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC","2":"J FB K D E F A B C fC JC gC hC iC jC KC 7B 8B"},F:{"1":"aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t","2":"F B C G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB qC rC sC tC 7B YC uC 8B"},G:{"1":"8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC","2":"E JC vC ZC wC xC yC zC 0C 1C 2C 3C 4C 5C 6C 7C"},H:{"2":"HD"},I:{"1":"I","2":"DC J ID JD KD LD ZC MD ND"},J:{"2":"D A"},K:{"1":"H","2":"A B C 7B YC 8B"},L:{"1":"I"},M:{"1":"6B"},N:{"2":"A B"},O:{"1":"9B"},P:{"1":"u v w x y z QD RD SD KC TD UD VD WD XD AC BC CC YD","2":"J OD PD"},Q:{"1":"ZD"},R:{"1":"aD"},S:{"1":"cD","2":"bD"}},B:4,C:"display: flow-root",D:true}; +module.exports={A:{A:{"2":"K D E F A B gC"},B:{"1":"5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I","2":"C L M G N O P"},C:{"1":"5 6 7 8 9 nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC","2":"0 1 2 3 4 hC IC J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB jC kC"},D:{"1":"5 6 7 8 9 sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC","2":"0 1 2 3 4 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB"},E:{"1":"L M G qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC","2":"J LB K D E F A B C lC OC mC nC oC pC PC CC DC"},F:{"1":"fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x","2":"0 1 2 3 4 F B C G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB xC yC zC 0C CC eC 1C DC"},G:{"1":"FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC","2":"E OC 2C fC 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED"},H:{"2":"PD"},I:{"1":"I","2":"IC J QD RD SD TD fC UD VD"},J:{"2":"D A"},K:{"1":"H","2":"A B C CC eC DC"},L:{"1":"I"},M:{"1":"BC"},N:{"2":"A B"},O:{"1":"EC"},P:{"1":"0 1 2 3 4 y z YD ZD aD PC bD cD dD eD fD FC GC HC gD","2":"J WD XD"},Q:{"1":"hD"},R:{"1":"iD"},S:{"1":"kD","2":"jD"}},B:4,C:"display: flow-root",D:true}; diff --git a/node_modules/caniuse-lite/data/features/focusin-focusout-events.js b/node_modules/caniuse-lite/data/features/focusin-focusout-events.js index 881afbed86..6471a94d48 100644 --- a/node_modules/caniuse-lite/data/features/focusin-focusout-events.js +++ b/node_modules/caniuse-lite/data/features/focusin-focusout-events.js @@ -1 +1 @@ -module.exports={A:{A:{"1":"K D E F A B","2":"aC"},B:{"1":"0 1 2 3 4 5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC","2":"bC DC J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB dC eC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC","16":"J FB K D E F A B C L M"},E:{"1":"K D E F A B C L M G gC hC iC jC KC 7B 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC","16":"J FB fC JC"},F:{"1":"C G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t uC 8B","2":"F qC rC sC tC","16":"B 7B YC"},G:{"1":"E wC xC yC zC 0C 1C 2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC","2":"JC vC ZC"},H:{"2":"HD"},I:{"1":"J I LD ZC MD ND","2":"ID JD KD","16":"DC"},J:{"1":"D A"},K:{"1":"C H 8B","2":"A","16":"B 7B YC"},L:{"1":"I"},M:{"1":"6B"},N:{"1":"A B"},O:{"1":"9B"},P:{"1":"J u v w x y z OD PD QD RD SD KC TD UD VD WD XD AC BC CC YD"},Q:{"1":"ZD"},R:{"1":"aD"},S:{"1":"cD","2":"bD"}},B:5,C:"focusin & focusout events",D:true}; +module.exports={A:{A:{"1":"K D E F A B","2":"gC"},B:{"1":"5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I"},C:{"1":"5 6 7 8 9 mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC","2":"0 1 2 3 4 hC IC J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB jC kC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC","16":"J LB K D E F A B C L M"},E:{"1":"K D E F A B C L M G mC nC oC pC PC CC DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC","16":"J LB lC OC"},F:{"1":"0 1 2 3 4 C G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x 1C DC","2":"F xC yC zC 0C","16":"B CC eC"},G:{"1":"E 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC","2":"OC 2C fC"},H:{"2":"PD"},I:{"1":"J I TD fC UD VD","2":"QD RD SD","16":"IC"},J:{"1":"D A"},K:{"1":"C H DC","2":"A","16":"B CC eC"},L:{"1":"I"},M:{"1":"BC"},N:{"1":"A B"},O:{"1":"EC"},P:{"1":"0 1 2 3 4 J y z WD XD YD ZD aD PC bD cD dD eD fD FC GC HC gD"},Q:{"1":"hD"},R:{"1":"iD"},S:{"1":"kD","2":"jD"}},B:5,C:"focusin & focusout events",D:true}; diff --git a/node_modules/caniuse-lite/data/features/font-family-system-ui.js b/node_modules/caniuse-lite/data/features/font-family-system-ui.js index f77ca89c35..1f23a1c0f3 100644 --- a/node_modules/caniuse-lite/data/features/font-family-system-ui.js +++ b/node_modules/caniuse-lite/data/features/font-family-system-ui.js @@ -1 +1 @@ -module.exports={A:{A:{"2":"K D E F A B aC"},B:{"1":"0 1 2 3 4 5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I","2":"C L M G N O P"},C:{"1":"0 1 2 3 4 5 6 7 8 9 b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC","2":"bC DC J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB dC eC","132":"YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a"},D:{"1":"0 1 2 3 4 5 6 7 8 9 lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC","2":"J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB","260":"iB jB kB"},E:{"1":"B C L M G 7B 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC","2":"J FB K D E fC JC gC hC iC","16":"F","132":"A jC KC"},F:{"1":"YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t","2":"F B C G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB qC rC sC tC 7B YC uC 8B"},G:{"1":"4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC","2":"E JC vC ZC wC xC yC zC","132":"0C 1C 2C 3C"},H:{"2":"HD"},I:{"1":"I","2":"DC J ID JD KD LD ZC MD ND"},J:{"2":"D A"},K:{"1":"H","2":"A B C 7B YC 8B"},L:{"1":"I"},M:{"1":"6B"},N:{"2":"A B"},O:{"1":"9B"},P:{"1":"u v w x y z PD QD RD SD KC TD UD VD WD XD AC BC CC YD","2":"J OD"},Q:{"1":"ZD"},R:{"1":"aD"},S:{"132":"bD cD"}},B:5,C:"system-ui value for font-family",D:true}; +module.exports={A:{A:{"2":"K D E F A B gC"},B:{"1":"5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I","2":"C L M G N O P"},C:{"1":"5 6 7 8 9 b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC","2":"0 1 2 3 4 hC IC J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB jC kC","132":"dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a"},D:{"1":"5 6 7 8 9 qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC","2":"0 1 2 3 4 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB","260":"nB oB pB"},E:{"1":"B C L M G CC DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC","2":"J LB K D E lC OC mC nC oC","16":"F","132":"A pC PC"},F:{"1":"dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x","2":"0 1 2 3 4 F B C G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB xC yC zC 0C CC eC 1C DC"},G:{"1":"BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC","2":"E OC 2C fC 3C 4C 5C 6C","132":"7C 8C 9C AD"},H:{"2":"PD"},I:{"1":"I","2":"IC J QD RD SD TD fC UD VD"},J:{"2":"D A"},K:{"1":"H","2":"A B C CC eC DC"},L:{"1":"I"},M:{"1":"BC"},N:{"2":"A B"},O:{"1":"EC"},P:{"1":"0 1 2 3 4 y z XD YD ZD aD PC bD cD dD eD fD FC GC HC gD","2":"J WD"},Q:{"1":"hD"},R:{"1":"iD"},S:{"132":"jD kD"}},B:5,C:"system-ui value for font-family",D:true}; diff --git a/node_modules/caniuse-lite/data/features/font-feature.js b/node_modules/caniuse-lite/data/features/font-feature.js index a78ed06679..098814fe64 100644 --- a/node_modules/caniuse-lite/data/features/font-feature.js +++ b/node_modules/caniuse-lite/data/features/font-feature.js @@ -1 +1 @@ -module.exports={A:{A:{"1":"A B","2":"K D E F aC"},B:{"1":"0 1 2 3 4 5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC","2":"bC DC dC eC","33":"G N O P GB u v w x y z HB IB JB KB LB MB NB OB","164":"J FB K D E F A B C L M"},D:{"1":"0 1 2 3 4 5 6 7 8 9 dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC","2":"J FB K D E F A B C L M G","33":"v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB","292":"N O P GB u"},E:{"1":"A B C L M G jC KC 7B 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC","2":"D E F fC JC hC iC","4":"J FB K gC"},F:{"1":"QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t","2":"F B C qC rC sC tC 7B YC uC 8B","33":"G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB"},G:{"1":"1C 2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC","2":"E yC zC 0C","4":"JC vC ZC wC xC"},H:{"2":"HD"},I:{"1":"I","2":"DC J ID JD KD LD ZC","33":"MD ND"},J:{"2":"D","33":"A"},K:{"1":"H","2":"A B C 7B YC 8B"},L:{"1":"I"},M:{"1":"6B"},N:{"2":"A B"},O:{"1":"9B"},P:{"1":"u v w x y z OD PD QD RD SD KC TD UD VD WD XD AC BC CC YD","33":"J"},Q:{"1":"ZD"},R:{"1":"aD"},S:{"1":"bD cD"}},B:2,C:"CSS font-feature-settings",D:true}; +module.exports={A:{A:{"1":"A B","2":"K D E F gC"},B:{"1":"5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I"},C:{"1":"5 6 7 8 9 UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC","2":"hC IC jC kC","33":"0 1 2 3 4 G N O P MB y z NB OB PB QB RB SB TB","164":"J LB K D E F A B C L M"},D:{"1":"5 6 7 8 9 iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC","2":"J LB K D E F A B C L M G","33":"0 1 2 3 4 z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB","292":"N O P MB y"},E:{"1":"A B C L M G pC PC CC DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC","2":"D E F lC OC nC oC","4":"J LB K mC"},F:{"1":"VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x","2":"F B C xC yC zC 0C CC eC 1C DC","33":"0 1 2 3 4 G N O P MB y z NB OB PB QB RB SB TB UB"},G:{"1":"8C 9C AD BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC","2":"E 5C 6C 7C","4":"OC 2C fC 3C 4C"},H:{"2":"PD"},I:{"1":"I","2":"IC J QD RD SD TD fC","33":"UD VD"},J:{"2":"D","33":"A"},K:{"1":"H","2":"A B C CC eC DC"},L:{"1":"I"},M:{"1":"BC"},N:{"2":"A B"},O:{"1":"EC"},P:{"1":"0 1 2 3 4 y z WD XD YD ZD aD PC bD cD dD eD fD FC GC HC gD","33":"J"},Q:{"1":"hD"},R:{"1":"iD"},S:{"1":"jD kD"}},B:2,C:"CSS font-feature-settings",D:true}; diff --git a/node_modules/caniuse-lite/data/features/font-kerning.js b/node_modules/caniuse-lite/data/features/font-kerning.js index feef30c43e..fe7fd68645 100644 --- a/node_modules/caniuse-lite/data/features/font-kerning.js +++ b/node_modules/caniuse-lite/data/features/font-kerning.js @@ -1 +1 @@ -module.exports={A:{A:{"2":"K D E F A B aC"},B:{"1":"0 1 2 3 4 5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I","2":"C L M G N O P"},C:{"1":"0 1 2 3 4 5 6 7 8 9 PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC","2":"bC DC J FB K D E F A B C L M G N O P GB u v w x dC eC","194":"y z HB IB JB KB LB MB NB OB"},D:{"1":"0 1 2 3 4 5 6 7 8 9 OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC","2":"J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB","33":"KB LB MB NB"},E:{"1":"A B C L M G jC KC 7B 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC","2":"J FB K fC JC gC hC","33":"D E F iC"},F:{"1":"u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t","2":"F B C G qC rC sC tC 7B YC uC 8B","33":"N O P GB"},G:{"1":"6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC","2":"JC vC ZC wC xC yC","33":"E zC 0C 1C 2C 3C 4C 5C"},H:{"2":"HD"},I:{"1":"I ND","2":"DC J ID JD KD LD ZC","33":"MD"},J:{"2":"D","33":"A"},K:{"1":"H","2":"A B C 7B YC 8B"},L:{"1":"I"},M:{"1":"6B"},N:{"2":"A B"},O:{"1":"9B"},P:{"1":"J u v w x y z OD PD QD RD SD KC TD UD VD WD XD AC BC CC YD"},Q:{"1":"ZD"},R:{"1":"aD"},S:{"1":"bD cD"}},B:4,C:"CSS3 font-kerning",D:true}; +module.exports={A:{A:{"2":"K D E F A B gC"},B:{"1":"5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I","2":"C L M G N O P"},C:{"1":"5 6 7 8 9 UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC","2":"0 1 hC IC J LB K D E F A B C L M G N O P MB y z jC kC","194":"2 3 4 NB OB PB QB RB SB TB"},D:{"1":"5 6 7 8 9 TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC","2":"0 1 2 3 4 J LB K D E F A B C L M G N O P MB y z NB OB","33":"PB QB RB SB"},E:{"1":"A B C L M G pC PC CC DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC","2":"J LB K lC OC mC nC","33":"D E F oC"},F:{"1":"0 1 2 3 4 y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x","2":"F B C G xC yC zC 0C CC eC 1C DC","33":"N O P MB"},G:{"1":"DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC","2":"OC 2C fC 3C 4C 5C","33":"E 6C 7C 8C 9C AD BD CD"},H:{"2":"PD"},I:{"1":"I VD","2":"IC J QD RD SD TD fC","33":"UD"},J:{"2":"D","33":"A"},K:{"1":"H","2":"A B C CC eC DC"},L:{"1":"I"},M:{"1":"BC"},N:{"2":"A B"},O:{"1":"EC"},P:{"1":"0 1 2 3 4 J y z WD XD YD ZD aD PC bD cD dD eD fD FC GC HC gD"},Q:{"1":"hD"},R:{"1":"iD"},S:{"1":"jD kD"}},B:4,C:"CSS3 font-kerning",D:true}; diff --git a/node_modules/caniuse-lite/data/features/font-loading.js b/node_modules/caniuse-lite/data/features/font-loading.js index 1bbbfe86f4..05611eff94 100644 --- a/node_modules/caniuse-lite/data/features/font-loading.js +++ b/node_modules/caniuse-lite/data/features/font-loading.js @@ -1 +1 @@ -module.exports={A:{A:{"2":"K D E F A B aC"},B:{"1":"0 1 2 3 4 5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I","2":"C L M G N O P"},C:{"1":"0 1 2 3 4 5 6 7 8 9 WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC","2":"bC DC J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB dC eC","194":"QB RB SB TB UB VB"},D:{"1":"0 1 2 3 4 5 6 7 8 9 QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC","2":"J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB"},E:{"1":"A B C L M G KC 7B 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC","2":"J FB K D E F fC JC gC hC iC jC"},F:{"1":"w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t","2":"F B C G N O P GB u v qC rC sC tC 7B YC uC 8B"},G:{"1":"2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC","2":"E JC vC ZC wC xC yC zC 0C 1C"},H:{"2":"HD"},I:{"1":"I","2":"DC J ID JD KD LD ZC MD ND"},J:{"2":"D A"},K:{"1":"H","2":"A B C 7B YC 8B"},L:{"1":"I"},M:{"1":"6B"},N:{"2":"A B"},O:{"1":"9B"},P:{"1":"J u v w x y z OD PD QD RD SD KC TD UD VD WD XD AC BC CC YD"},Q:{"1":"ZD"},R:{"1":"aD"},S:{"1":"bD cD"}},B:5,C:"CSS Font Loading",D:true}; +module.exports={A:{A:{"2":"K D E F A B gC"},B:{"1":"5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I","2":"C L M G N O P"},C:{"1":"5 6 7 8 9 bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC","2":"0 1 2 3 4 hC IC J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB jC kC","194":"VB WB XB YB ZB aB"},D:{"1":"5 6 7 8 9 VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC","2":"0 1 2 3 4 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB"},E:{"1":"A B C L M G PC CC DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC","2":"J LB K D E F lC OC mC nC oC pC"},F:{"1":"0 1 2 3 4 NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x","2":"F B C G N O P MB y z xC yC zC 0C CC eC 1C DC"},G:{"1":"9C AD BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC","2":"E OC 2C fC 3C 4C 5C 6C 7C 8C"},H:{"2":"PD"},I:{"1":"I","2":"IC J QD RD SD TD fC UD VD"},J:{"2":"D A"},K:{"1":"H","2":"A B C CC eC DC"},L:{"1":"I"},M:{"1":"BC"},N:{"2":"A B"},O:{"1":"EC"},P:{"1":"0 1 2 3 4 J y z WD XD YD ZD aD PC bD cD dD eD fD FC GC HC gD"},Q:{"1":"hD"},R:{"1":"iD"},S:{"1":"jD kD"}},B:5,C:"CSS Font Loading",D:true}; diff --git a/node_modules/caniuse-lite/data/features/font-size-adjust.js b/node_modules/caniuse-lite/data/features/font-size-adjust.js index bfca82a0aa..54445a3a00 100644 --- a/node_modules/caniuse-lite/data/features/font-size-adjust.js +++ b/node_modules/caniuse-lite/data/features/font-size-adjust.js @@ -1 +1 @@ -module.exports={A:{A:{"2":"K D E F A B aC"},B:{"2":"C L M G N O P","194":"6 7 8 9 AB BB CB DB EB I","962":"0 1 2 3 4 5 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t"},C:{"1":"7 8 9 AB BB CB DB EB I 6B HC IC cC","2":"bC","516":"0 1 2 3 4 5 6 b c d e f g h i j k l m n o p q r s t","772":"DC J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a dC eC"},D:{"1":"6B HC IC","2":"J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB","194":"9 AB BB CB DB EB I","962":"0 1 2 3 4 5 6 7 8 YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t"},E:{"1":"BC SC TC UC VC WC XC CC pC","2":"J FB K D E F A B C L M G fC JC gC hC iC jC KC 7B 8B kC lC mC LC MC 9B nC AC NC OC PC","772":"QC RC oC"},F:{"2":"F B C G N O P GB u v w x y z HB IB JB KB qC rC sC tC 7B YC uC 8B","194":"l m n o p q r s t","962":"LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k"},G:{"1":"BC SC TC UC VC WC XC CC","2":"E JC vC ZC wC xC yC zC 0C 1C 2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC","772":"QC RC GD"},H:{"2":"HD"},I:{"2":"DC J I ID JD KD LD ZC MD ND"},J:{"2":"D A"},K:{"2":"A B C H 7B YC 8B"},L:{"2":"I"},M:{"1":"6B"},N:{"2":"A B"},O:{"2":"9B"},P:{"2":"J u v w x y z OD PD QD RD SD KC TD UD VD WD XD AC BC CC YD"},Q:{"194":"ZD"},R:{"2":"aD"},S:{"2":"bD","516":"cD"}},B:2,C:"CSS font-size-adjust",D:true}; +module.exports={A:{A:{"2":"K D E F A B gC"},B:{"1":"HB IB JB KB I","2":"C L M G N O P","194":"7 8 9 AB BB CB DB EB FB GB","962":"5 6 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x"},C:{"1":"8 9 AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC","2":"hC","516":"5 6 7 b c d e f g h i j k l m n o p q r s t u v w x","772":"0 1 2 3 4 IC J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a jC kC"},D:{"1":"HB IB JB KB I BC MC NC","2":"0 1 2 3 4 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB","194":"AB BB CB DB EB FB GB","962":"5 6 7 8 9 dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x"},E:{"1":"GC XC YC ZC aC bC vC HC cC dC wC","2":"J LB K D E F A B C L M G lC OC mC nC oC pC PC CC DC qC rC sC QC RC EC tC FC SC TC UC","772":"VC WC uC"},F:{"1":"w x","2":"0 1 2 3 4 F B C G N O P MB y z NB OB PB xC yC zC 0C CC eC 1C DC","194":"l m n o p q r s t u v","962":"QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k"},G:{"1":"GC XC YC ZC aC bC OD HC cC dC","2":"E OC 2C fC 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC","772":"VC WC ND"},H:{"2":"PD"},I:{"1":"I","2":"IC J QD RD SD TD fC UD VD"},J:{"2":"D A"},K:{"2":"A B C H CC eC DC"},L:{"1":"I"},M:{"1":"BC"},N:{"2":"A B"},O:{"2":"EC"},P:{"2":"0 1 2 3 4 J y z WD XD YD ZD aD PC bD cD dD eD fD FC GC HC gD"},Q:{"194":"hD"},R:{"2":"iD"},S:{"2":"jD","516":"kD"}},B:2,C:"CSS font-size-adjust",D:true}; diff --git a/node_modules/caniuse-lite/data/features/font-smooth.js b/node_modules/caniuse-lite/data/features/font-smooth.js index a0ddc2ce80..7965bc3919 100644 --- a/node_modules/caniuse-lite/data/features/font-smooth.js +++ b/node_modules/caniuse-lite/data/features/font-smooth.js @@ -1 +1 @@ -module.exports={A:{A:{"2":"K D E F A B aC"},B:{"2":"C L M G N O P","676":"0 1 2 3 4 5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I"},C:{"2":"bC DC J FB K D E F A B C L M G N O P GB u v w x y dC eC","804":"0 1 2 3 4 5 6 7 8 9 z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B","1828":"HC IC cC"},D:{"2":"J","676":"0 1 2 3 4 5 6 7 8 9 FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC"},E:{"2":"fC JC","676":"J FB K D E F A B C L M G gC hC iC jC KC 7B 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC"},F:{"2":"F B C qC rC sC tC 7B YC uC 8B","676":"G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t"},G:{"2":"E JC vC ZC wC xC yC zC 0C 1C 2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC"},H:{"2":"HD"},I:{"2":"DC J I ID JD KD LD ZC MD ND"},J:{"2":"D A"},K:{"2":"A B C H 7B YC 8B"},L:{"2":"I"},M:{"2":"6B"},N:{"2":"A B"},O:{"2":"9B"},P:{"2":"J u v w x y z OD PD QD RD SD KC TD UD VD WD XD AC BC CC YD"},Q:{"2":"ZD"},R:{"2":"aD"},S:{"804":"bD cD"}},B:7,C:"CSS font-smooth",D:true}; +module.exports={A:{A:{"2":"K D E F A B gC"},B:{"2":"C L M G N O P","676":"5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I"},C:{"2":"0 1 2 hC IC J LB K D E F A B C L M G N O P MB y z jC kC","804":"3 4 5 6 7 8 9 NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB","1828":"IB JB KB I BC MC NC iC"},D:{"2":"J","676":"0 1 2 3 4 5 6 7 8 9 LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC"},E:{"2":"lC OC","676":"J LB K D E F A B C L M G mC nC oC pC PC CC DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC"},F:{"2":"F B C xC yC zC 0C CC eC 1C DC","676":"0 1 2 3 4 G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x"},G:{"2":"E OC 2C fC 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC"},H:{"2":"PD"},I:{"2":"IC J I QD RD SD TD fC UD VD"},J:{"2":"D A"},K:{"2":"A B C H CC eC DC"},L:{"2":"I"},M:{"2":"BC"},N:{"2":"A B"},O:{"2":"EC"},P:{"2":"0 1 2 3 4 J y z WD XD YD ZD aD PC bD cD dD eD fD FC GC HC gD"},Q:{"2":"hD"},R:{"2":"iD"},S:{"804":"jD kD"}},B:7,C:"CSS font-smooth",D:true}; diff --git a/node_modules/caniuse-lite/data/features/font-unicode-range.js b/node_modules/caniuse-lite/data/features/font-unicode-range.js index 959264e59b..59d4362f15 100644 --- a/node_modules/caniuse-lite/data/features/font-unicode-range.js +++ b/node_modules/caniuse-lite/data/features/font-unicode-range.js @@ -1 +1 @@ -module.exports={A:{A:{"2":"K D E aC","4":"F A B"},B:{"1":"0 1 2 3 4 5 6 7 8 9 O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I","4":"C L M G N"},C:{"1":"0 1 2 3 4 5 6 7 8 9 ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC","2":"bC DC J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB dC eC","194":"RB SB TB UB VB WB XB YB"},D:{"1":"0 1 2 3 4 5 6 7 8 9 RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC","4":"J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB"},E:{"1":"A B C L M G KC 7B 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC","4":"J FB K D E F fC JC gC hC iC jC"},F:{"1":"x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t","2":"F B C qC rC sC tC 7B YC uC 8B","4":"G N O P GB u v w"},G:{"1":"2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC","4":"E JC vC ZC wC xC yC zC 0C 1C"},H:{"2":"HD"},I:{"1":"I","4":"DC J ID JD KD LD ZC MD ND"},J:{"2":"D","4":"A"},K:{"1":"H","2":"A B C 7B YC 8B"},L:{"1":"I"},M:{"1":"6B"},N:{"4":"A B"},O:{"1":"9B"},P:{"1":"u v w x y z OD PD QD RD SD KC TD UD VD WD XD AC BC CC YD","4":"J"},Q:{"1":"ZD"},R:{"1":"aD"},S:{"1":"bD cD"}},B:4,C:"Font unicode-range subsetting",D:true}; +module.exports={A:{A:{"2":"K D E gC","4":"F A B"},B:{"1":"5 6 7 8 9 O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I","4":"C L M G N"},C:{"1":"5 6 7 8 9 eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC","2":"0 1 2 3 4 hC IC J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB jC kC","194":"WB XB YB ZB aB bB cB dB"},D:{"1":"5 6 7 8 9 WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC","4":"0 1 2 3 4 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB"},E:{"1":"A B C L M G PC CC DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC","4":"J LB K D E F lC OC mC nC oC pC"},F:{"1":"1 2 3 4 NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x","2":"F B C xC yC zC 0C CC eC 1C DC","4":"0 G N O P MB y z"},G:{"1":"9C AD BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC","4":"E OC 2C fC 3C 4C 5C 6C 7C 8C"},H:{"2":"PD"},I:{"1":"I","4":"IC J QD RD SD TD fC UD VD"},J:{"2":"D","4":"A"},K:{"1":"H","2":"A B C CC eC DC"},L:{"1":"I"},M:{"1":"BC"},N:{"4":"A B"},O:{"1":"EC"},P:{"1":"0 1 2 3 4 y z WD XD YD ZD aD PC bD cD dD eD fD FC GC HC gD","4":"J"},Q:{"1":"hD"},R:{"1":"iD"},S:{"1":"jD kD"}},B:4,C:"Font unicode-range subsetting",D:true}; diff --git a/node_modules/caniuse-lite/data/features/font-variant-alternates.js b/node_modules/caniuse-lite/data/features/font-variant-alternates.js index d5e62e5f2d..e50e16b801 100644 --- a/node_modules/caniuse-lite/data/features/font-variant-alternates.js +++ b/node_modules/caniuse-lite/data/features/font-variant-alternates.js @@ -1 +1 @@ -module.exports={A:{A:{"2":"K D E F aC","130":"A B"},B:{"1":"0 1 2 3 4 5 6 7 8 9 AB BB CB DB EB I","130":"C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t"},C:{"1":"0 1 2 3 4 5 6 7 8 9 PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC","2":"bC DC dC eC","130":"J FB K D E F A B C L M G N O P GB u v w x","322":"y z HB IB JB KB LB MB NB OB"},D:{"1":"0 1 2 3 4 5 6 7 8 9 AB BB CB DB EB I 6B HC IC","2":"J FB K D E F A B C L M G","130":"N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t"},E:{"1":"A B C L M G jC KC 7B 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC","2":"D E F fC JC hC iC","130":"J FB K gC"},F:{"1":"h i j k l m n o p q r s t","2":"F B C qC rC sC tC 7B YC uC 8B","130":"G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g"},G:{"1":"1C 2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC","2":"E JC yC zC 0C","130":"vC ZC wC xC"},H:{"2":"HD"},I:{"1":"I","2":"DC J ID JD KD LD ZC","130":"MD ND"},J:{"2":"D","130":"A"},K:{"1":"H","2":"A B C 7B YC 8B"},L:{"1":"I"},M:{"1":"6B"},N:{"2":"A B"},O:{"130":"9B"},P:{"1":"w x y z","130":"J u v OD PD QD RD SD KC TD UD VD WD XD AC BC CC YD"},Q:{"130":"ZD"},R:{"130":"aD"},S:{"1":"bD cD"}},B:5,C:"CSS font-variant-alternates",D:true}; +module.exports={A:{A:{"2":"K D E F gC","130":"A B"},B:{"1":"5 6 7 8 9 u v w x AB BB CB DB EB FB GB HB IB JB KB I","130":"C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t"},C:{"1":"5 6 7 8 9 UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC","2":"hC IC jC kC","130":"0 1 J LB K D E F A B C L M G N O P MB y z","322":"2 3 4 NB OB PB QB RB SB TB"},D:{"1":"5 6 7 8 9 u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC","2":"J LB K D E F A B C L M G","130":"0 1 2 3 4 N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t"},E:{"1":"A B C L M G pC PC CC DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC","2":"D E F lC OC nC oC","130":"J LB K mC"},F:{"1":"h i j k l m n o p q r s t u v w x","2":"F B C xC yC zC 0C CC eC 1C DC","130":"0 1 2 3 4 G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g"},G:{"1":"8C 9C AD BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC","2":"E OC 5C 6C 7C","130":"2C fC 3C 4C"},H:{"2":"PD"},I:{"1":"I","2":"IC J QD RD SD TD fC","130":"UD VD"},J:{"2":"D","130":"A"},K:{"1":"H","2":"A B C CC eC DC"},L:{"1":"I"},M:{"1":"BC"},N:{"2":"A B"},O:{"130":"EC"},P:{"1":"0 1 2 3 4","130":"J y z WD XD YD ZD aD PC bD cD dD eD fD FC GC HC gD"},Q:{"130":"hD"},R:{"130":"iD"},S:{"1":"jD kD"}},B:5,C:"CSS font-variant-alternates",D:true}; diff --git a/node_modules/caniuse-lite/data/features/font-variant-numeric.js b/node_modules/caniuse-lite/data/features/font-variant-numeric.js index f7a7afcfd1..2ba3a002fd 100644 --- a/node_modules/caniuse-lite/data/features/font-variant-numeric.js +++ b/node_modules/caniuse-lite/data/features/font-variant-numeric.js @@ -1 +1 @@ -module.exports={A:{A:{"2":"K D E F A B aC"},B:{"1":"0 1 2 3 4 5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I","2":"C L M G N O P"},C:{"1":"0 1 2 3 4 5 6 7 8 9 PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC","2":"bC DC J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB dC eC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC","2":"J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB"},E:{"1":"A B C L M G jC KC 7B 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC","2":"J FB K D E F fC JC gC hC iC"},F:{"1":"UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t","2":"F B C G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB qC rC sC tC 7B YC uC 8B"},G:{"1":"1C 2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC","2":"E JC vC ZC wC xC yC zC 0C"},H:{"2":"HD"},I:{"1":"I","2":"DC J ID JD KD LD ZC MD ND"},J:{"2":"D","16":"A"},K:{"1":"H","2":"A B C 7B YC 8B"},L:{"1":"I"},M:{"1":"6B"},N:{"2":"A B"},O:{"1":"9B"},P:{"1":"u v w x y z PD QD RD SD KC TD UD VD WD XD AC BC CC YD","2":"J OD"},Q:{"1":"ZD"},R:{"1":"aD"},S:{"1":"bD cD"}},B:2,C:"CSS font-variant-numeric",D:true}; +module.exports={A:{A:{"2":"K D E F A B gC"},B:{"1":"5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I","2":"C L M G N O P"},C:{"1":"5 6 7 8 9 UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC","2":"0 1 2 3 4 hC IC J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB jC kC"},D:{"1":"5 6 7 8 9 mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC","2":"0 1 2 3 4 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB"},E:{"1":"A B C L M G pC PC CC DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC","2":"J LB K D E F lC OC mC nC oC"},F:{"1":"ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x","2":"0 1 2 3 4 F B C G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB xC yC zC 0C CC eC 1C DC"},G:{"1":"8C 9C AD BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC","2":"E OC 2C fC 3C 4C 5C 6C 7C"},H:{"2":"PD"},I:{"1":"I","2":"IC J QD RD SD TD fC UD VD"},J:{"2":"D","16":"A"},K:{"1":"H","2":"A B C CC eC DC"},L:{"1":"I"},M:{"1":"BC"},N:{"2":"A B"},O:{"1":"EC"},P:{"1":"0 1 2 3 4 y z XD YD ZD aD PC bD cD dD eD fD FC GC HC gD","2":"J WD"},Q:{"1":"hD"},R:{"1":"iD"},S:{"1":"jD kD"}},B:2,C:"CSS font-variant-numeric",D:true}; diff --git a/node_modules/caniuse-lite/data/features/fontface.js b/node_modules/caniuse-lite/data/features/fontface.js index 9f462d462b..b66785b662 100644 --- a/node_modules/caniuse-lite/data/features/fontface.js +++ b/node_modules/caniuse-lite/data/features/fontface.js @@ -1 +1 @@ -module.exports={A:{A:{"1":"F A B","132":"K D E aC"},B:{"1":"0 1 2 3 4 5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC dC eC","2":"bC DC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC"},E:{"1":"J FB K D E F A B C L M G JC gC hC iC jC KC 7B 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC","2":"fC"},F:{"1":"B C G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t rC sC tC 7B YC uC 8B","2":"F qC"},G:{"1":"E ZC wC xC yC zC 0C 1C 2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC","260":"JC vC"},H:{"2":"HD"},I:{"1":"J I LD ZC MD ND","2":"ID","4":"DC JD KD"},J:{"1":"A","4":"D"},K:{"1":"A B C H 7B YC 8B"},L:{"1":"I"},M:{"1":"6B"},N:{"1":"A B"},O:{"1":"9B"},P:{"1":"J u v w x y z OD PD QD RD SD KC TD UD VD WD XD AC BC CC YD"},Q:{"1":"ZD"},R:{"1":"aD"},S:{"1":"bD cD"}},B:2,C:"@font-face Web fonts",D:true}; +module.exports={A:{A:{"1":"F A B","132":"K D E gC"},B:{"1":"5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC jC kC","2":"hC IC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC"},E:{"1":"J LB K D E F A B C L M G lC OC mC nC oC pC PC CC DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC"},F:{"1":"0 1 2 3 4 B C G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x yC zC 0C CC eC 1C DC","2":"F xC"},G:{"1":"E fC 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC","260":"OC 2C"},H:{"2":"PD"},I:{"1":"J I TD fC UD VD","2":"QD","4":"IC RD SD"},J:{"1":"A","4":"D"},K:{"1":"A B C H CC eC DC"},L:{"1":"I"},M:{"1":"BC"},N:{"1":"A B"},O:{"1":"EC"},P:{"1":"0 1 2 3 4 J y z WD XD YD ZD aD PC bD cD dD eD fD FC GC HC gD"},Q:{"1":"hD"},R:{"1":"iD"},S:{"1":"jD kD"}},B:2,C:"@font-face Web fonts",D:true}; diff --git a/node_modules/caniuse-lite/data/features/form-attribute.js b/node_modules/caniuse-lite/data/features/form-attribute.js index 33c934f5db..448277ea47 100644 --- a/node_modules/caniuse-lite/data/features/form-attribute.js +++ b/node_modules/caniuse-lite/data/features/form-attribute.js @@ -1 +1 @@ -module.exports={A:{A:{"2":"K D E F A B aC"},B:{"1":"0 1 2 3 4 5 6 7 8 9 N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I","2":"C L M G"},C:{"1":"0 1 2 3 4 5 6 7 8 9 J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC","2":"bC DC dC eC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC","2":"J FB K D E F"},E:{"1":"K D E F A B C L M G gC hC iC jC KC 7B 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC","2":"J fC JC","16":"FB"},F:{"1":"B C G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t qC rC sC tC 7B YC uC 8B","2":"F"},G:{"1":"E wC xC yC zC 0C 1C 2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC","2":"JC vC ZC"},H:{"1":"HD"},I:{"1":"DC J I LD ZC MD ND","2":"ID JD KD"},J:{"1":"D A"},K:{"1":"A B C H 7B YC 8B"},L:{"1":"I"},M:{"1":"6B"},N:{"2":"A B"},O:{"1":"9B"},P:{"1":"J u v w x y z OD PD QD RD SD KC TD UD VD WD XD AC BC CC YD"},Q:{"1":"ZD"},R:{"1":"aD"},S:{"1":"bD cD"}},B:1,C:"Form attribute",D:true}; +module.exports={A:{A:{"2":"K D E F A B gC"},B:{"1":"5 6 7 8 9 N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I","2":"C L M G"},C:{"1":"0 1 2 3 4 5 6 7 8 9 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC","2":"hC IC jC kC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC","2":"J LB K D E F"},E:{"1":"K D E F A B C L M G mC nC oC pC PC CC DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC","2":"J lC OC","16":"LB"},F:{"1":"0 1 2 3 4 B C G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x xC yC zC 0C CC eC 1C DC","2":"F"},G:{"1":"E 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC","2":"OC 2C fC"},H:{"1":"PD"},I:{"1":"IC J I TD fC UD VD","2":"QD RD SD"},J:{"1":"D A"},K:{"1":"A B C H CC eC DC"},L:{"1":"I"},M:{"1":"BC"},N:{"2":"A B"},O:{"1":"EC"},P:{"1":"0 1 2 3 4 J y z WD XD YD ZD aD PC bD cD dD eD fD FC GC HC gD"},Q:{"1":"hD"},R:{"1":"iD"},S:{"1":"jD kD"}},B:1,C:"Form attribute",D:true}; diff --git a/node_modules/caniuse-lite/data/features/form-submit-attributes.js b/node_modules/caniuse-lite/data/features/form-submit-attributes.js index a90ff1822a..d7d7026cf7 100644 --- a/node_modules/caniuse-lite/data/features/form-submit-attributes.js +++ b/node_modules/caniuse-lite/data/features/form-submit-attributes.js @@ -1 +1 @@ -module.exports={A:{A:{"1":"A B","2":"K D E F aC"},B:{"1":"0 1 2 3 4 5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC","2":"bC DC dC eC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC","16":"J FB K D E F A B C L M"},E:{"1":"K D E F A B C L M G gC hC iC jC KC 7B 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC","2":"J FB fC JC"},F:{"1":"B C G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t tC 7B YC uC 8B","2":"F qC","16":"rC sC"},G:{"1":"E wC xC yC zC 0C 1C 2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC","2":"JC vC ZC"},H:{"1":"HD"},I:{"1":"J I LD ZC MD ND","2":"ID JD KD","16":"DC"},J:{"1":"A","2":"D"},K:{"1":"B C H 7B YC 8B","16":"A"},L:{"1":"I"},M:{"1":"6B"},N:{"1":"A B"},O:{"1":"9B"},P:{"1":"J u v w x y z OD PD QD RD SD KC TD UD VD WD XD AC BC CC YD"},Q:{"1":"ZD"},R:{"1":"aD"},S:{"1":"bD cD"}},B:1,C:"Attributes for form submission",D:true}; +module.exports={A:{A:{"1":"A B","2":"K D E F gC"},B:{"1":"5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC","2":"hC IC jC kC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC","16":"J LB K D E F A B C L M"},E:{"1":"K D E F A B C L M G mC nC oC pC PC CC DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC","2":"J LB lC OC"},F:{"1":"0 1 2 3 4 B C G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x 0C CC eC 1C DC","2":"F xC","16":"yC zC"},G:{"1":"E 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC","2":"OC 2C fC"},H:{"1":"PD"},I:{"1":"J I TD fC UD VD","2":"QD RD SD","16":"IC"},J:{"1":"A","2":"D"},K:{"1":"B C H CC eC DC","16":"A"},L:{"1":"I"},M:{"1":"BC"},N:{"1":"A B"},O:{"1":"EC"},P:{"1":"0 1 2 3 4 J y z WD XD YD ZD aD PC bD cD dD eD fD FC GC HC gD"},Q:{"1":"hD"},R:{"1":"iD"},S:{"1":"jD kD"}},B:1,C:"Attributes for form submission",D:true}; diff --git a/node_modules/caniuse-lite/data/features/form-validation.js b/node_modules/caniuse-lite/data/features/form-validation.js index 0fe9e5c37f..cafd49710c 100644 --- a/node_modules/caniuse-lite/data/features/form-validation.js +++ b/node_modules/caniuse-lite/data/features/form-validation.js @@ -1 +1 @@ -module.exports={A:{A:{"1":"A B","2":"K D E F aC"},B:{"1":"0 1 2 3 4 5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC","2":"bC DC dC eC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC","2":"J FB K D E F"},E:{"1":"B C L M G KC 7B 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC","2":"J fC JC","132":"FB K D E F A gC hC iC jC"},F:{"1":"B C G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t rC sC tC 7B YC uC 8B","2":"F qC"},G:{"1":"3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC","2":"JC","132":"E vC ZC wC xC yC zC 0C 1C 2C"},H:{"516":"HD"},I:{"1":"I ND","2":"DC ID JD KD","132":"J LD ZC MD"},J:{"1":"A","132":"D"},K:{"1":"A B C H 7B YC 8B"},L:{"1":"I"},M:{"1":"6B"},N:{"260":"A B"},O:{"1":"9B"},P:{"1":"J u v w x y z OD PD QD RD SD KC TD UD VD WD XD AC BC CC YD"},Q:{"1":"ZD"},R:{"1":"aD"},S:{"1":"cD","132":"bD"}},B:1,C:"Form validation",D:true}; +module.exports={A:{A:{"1":"A B","2":"K D E F gC"},B:{"1":"5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC","2":"hC IC jC kC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC","2":"J LB K D E F"},E:{"1":"B C L M G PC CC DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC","2":"J lC OC","132":"LB K D E F A mC nC oC pC"},F:{"1":"0 1 2 3 4 B C G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x yC zC 0C CC eC 1C DC","2":"F xC"},G:{"1":"AD BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC","2":"OC","132":"E 2C fC 3C 4C 5C 6C 7C 8C 9C"},H:{"516":"PD"},I:{"1":"I VD","2":"IC QD RD SD","132":"J TD fC UD"},J:{"1":"A","132":"D"},K:{"1":"A B C H CC eC DC"},L:{"1":"I"},M:{"132":"BC"},N:{"260":"A B"},O:{"1":"EC"},P:{"1":"0 1 2 3 4 J y z WD XD YD ZD aD PC bD cD dD eD fD FC GC HC gD"},Q:{"1":"hD"},R:{"1":"iD"},S:{"1":"kD","132":"jD"}},B:1,C:"Form validation",D:true}; diff --git a/node_modules/caniuse-lite/data/features/forms.js b/node_modules/caniuse-lite/data/features/forms.js index 9c76e24e2f..4476e9c729 100644 --- a/node_modules/caniuse-lite/data/features/forms.js +++ b/node_modules/caniuse-lite/data/features/forms.js @@ -1 +1 @@ -module.exports={A:{A:{"2":"aC","4":"A B","8":"K D E F"},B:{"1":"0 1 2 3 4 5 6 7 8 9 N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I","4":"C L M G"},C:{"4":"0 1 2 3 4 5 6 7 8 9 J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC","8":"bC DC dC eC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC","4":"J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB"},E:{"4":"J FB K D E F A B C L M G gC hC iC jC KC 7B 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC","8":"fC JC"},F:{"1":"F B C hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t qC rC sC tC 7B YC uC 8B","4":"G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB"},G:{"2":"JC","4":"E vC ZC wC xC yC zC 0C 1C 2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC"},H:{"2":"HD"},I:{"1":"I","2":"DC J ID JD KD LD ZC","4":"MD ND"},J:{"2":"D","4":"A"},K:{"1":"A B C H 7B YC 8B"},L:{"1":"I"},M:{"4":"6B"},N:{"4":"A B"},O:{"1":"9B"},P:{"1":"u v w x y z RD SD KC TD UD VD WD XD AC BC CC YD","4":"J OD PD QD"},Q:{"1":"ZD"},R:{"1":"aD"},S:{"4":"bD cD"}},B:1,C:"HTML5 form features",D:false}; +module.exports={A:{A:{"2":"gC","4":"A B","8":"K D E F"},B:{"1":"5 6 7 8 9 N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I","4":"C L M G"},C:{"4":"0 1 2 3 4 5 6 7 8 9 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC","8":"hC IC jC kC"},D:{"1":"5 6 7 8 9 KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC","4":"0 1 2 3 4 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB"},E:{"4":"J LB K D E F A B C L M G mC nC oC pC PC CC DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC","8":"lC OC"},F:{"1":"F B C mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x xC yC zC 0C CC eC 1C DC","4":"0 1 2 3 4 G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB"},G:{"2":"OC","4":"E 2C fC 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC"},H:{"2":"PD"},I:{"1":"I","2":"IC J QD RD SD TD fC","4":"UD VD"},J:{"2":"D","4":"A"},K:{"1":"A B C H CC eC DC"},L:{"1":"I"},M:{"4":"BC"},N:{"4":"A B"},O:{"1":"EC"},P:{"1":"0 1 2 3 4 y z ZD aD PC bD cD dD eD fD FC GC HC gD","4":"J WD XD YD"},Q:{"1":"hD"},R:{"1":"iD"},S:{"4":"jD kD"}},B:1,C:"HTML5 form features",D:false}; diff --git a/node_modules/caniuse-lite/data/features/fullscreen.js b/node_modules/caniuse-lite/data/features/fullscreen.js index c24adb20e8..373db59daa 100644 --- a/node_modules/caniuse-lite/data/features/fullscreen.js +++ b/node_modules/caniuse-lite/data/features/fullscreen.js @@ -1 +1 @@ -module.exports={A:{A:{"2":"K D E F A aC","548":"B"},B:{"1":"0 1 2 3 4 5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I","516":"C L M G N O P"},C:{"1":"0 1 2 3 4 5 6 7 8 9 rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC","2":"bC DC J FB K D E F dC eC","676":"A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB","1700":"cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB"},D:{"1":"0 1 2 3 4 5 6 7 8 9 yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC","2":"J FB K D E F A B C L M","676":"G N O P GB","804":"u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB"},E:{"1":"QC RC oC BC SC TC UC VC WC XC CC pC","2":"J FB fC JC","548":"MC 9B nC AC NC OC PC","676":"gC","804":"K D E F A B C L M G hC iC jC KC 7B 8B kC lC mC LC"},F:{"1":"rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t 8B","2":"F B C qC rC sC tC 7B YC uC","804":"G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB"},G:{"2":"E JC vC ZC wC xC yC zC 0C 1C 2C 3C 4C 5C","2052":"6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC"},H:{"2":"HD"},I:{"2":"DC J I ID JD KD LD ZC MD ND"},J:{"2":"D","292":"A"},K:{"1":"H","2":"A B C 7B YC 8B"},L:{"1":"I"},M:{"1":"6B"},N:{"2":"A","548":"B"},O:{"1":"9B"},P:{"1":"u v w x y z KC TD UD VD WD XD AC BC CC YD","804":"J OD PD QD RD SD"},Q:{"1":"ZD"},R:{"1":"aD"},S:{"1":"bD cD"}},B:1,C:"Fullscreen API",D:true}; +module.exports={A:{A:{"2":"K D E F A gC","548":"B"},B:{"1":"5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I","516":"C L M G N O P"},C:{"1":"5 6 7 8 9 wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC","2":"hC IC J LB K D E F jC kC","676":"0 1 2 3 4 A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB","1700":"hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB"},D:{"1":"5 6 7 8 9 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC","2":"J LB K D E F A B C L M","676":"G N O P MB","804":"0 1 2 3 4 y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B"},E:{"1":"VC WC uC GC XC YC ZC aC bC vC HC cC dC wC","2":"J LB lC OC","548":"RC EC tC FC SC TC UC","676":"mC","804":"K D E F A B C L M G nC oC pC PC CC DC qC rC sC QC"},F:{"1":"wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x DC","2":"F B C xC yC zC 0C CC eC 1C","804":"0 1 2 3 4 G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB"},G:{"2":"E OC 2C fC 3C 4C 5C 6C 7C 8C 9C AD BD CD","2052":"DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC"},H:{"2":"PD"},I:{"2":"IC J I QD RD SD TD fC UD VD"},J:{"2":"D","292":"A"},K:{"1":"H","2":"A B C CC eC DC"},L:{"1":"I"},M:{"1":"BC"},N:{"2":"A","548":"B"},O:{"1":"EC"},P:{"1":"0 1 2 3 4 y z PC bD cD dD eD fD FC GC HC gD","804":"J WD XD YD ZD aD"},Q:{"1":"hD"},R:{"1":"iD"},S:{"1":"jD kD"}},B:1,C:"Fullscreen API",D:true}; diff --git a/node_modules/caniuse-lite/data/features/gamepad.js b/node_modules/caniuse-lite/data/features/gamepad.js index 76f419d5bc..438b3582bf 100644 --- a/node_modules/caniuse-lite/data/features/gamepad.js +++ b/node_modules/caniuse-lite/data/features/gamepad.js @@ -1 +1 @@ -module.exports={A:{A:{"2":"K D E F A B aC"},B:{"1":"0 1 2 3 4 5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC","2":"bC DC J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB dC eC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC","2":"J FB K D E F A B C L M G N O P GB u","33":"v w x y"},E:{"1":"B C L M G KC 7B 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC","2":"J FB K D E F A fC JC gC hC iC jC"},F:{"1":"y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t","2":"F B C G N O P GB u v w x qC rC sC tC 7B YC uC 8B"},G:{"1":"3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC","2":"E JC vC ZC wC xC yC zC 0C 1C 2C"},H:{"2":"HD"},I:{"2":"DC J I ID JD KD LD ZC MD ND"},J:{"2":"D A"},K:{"1":"H","2":"A B C 7B YC 8B"},L:{"1":"I"},M:{"1":"6B"},N:{"2":"A B"},O:{"1":"9B"},P:{"1":"J u v w x y z OD PD QD RD SD KC TD UD VD WD XD AC BC CC YD"},Q:{"1":"ZD"},R:{"1":"aD"},S:{"1":"cD","2":"bD"}},B:5,C:"Gamepad API",D:true}; +module.exports={A:{A:{"2":"K D E F A B gC"},B:{"1":"5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I"},C:{"1":"5 6 7 8 9 PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC","2":"0 1 2 3 4 hC IC J LB K D E F A B C L M G N O P MB y z NB OB jC kC"},D:{"1":"3 4 5 6 7 8 9 NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC","2":"J LB K D E F A B C L M G N O P MB y","33":"0 1 2 z"},E:{"1":"B C L M G PC CC DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC","2":"J LB K D E F A lC OC mC nC oC pC"},F:{"1":"2 3 4 NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x","2":"0 1 F B C G N O P MB y z xC yC zC 0C CC eC 1C DC"},G:{"1":"AD BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC","2":"E OC 2C fC 3C 4C 5C 6C 7C 8C 9C"},H:{"2":"PD"},I:{"2":"IC J I QD RD SD TD fC UD VD"},J:{"2":"D A"},K:{"1":"H","2":"A B C CC eC DC"},L:{"1":"I"},M:{"1":"BC"},N:{"2":"A B"},O:{"1":"EC"},P:{"1":"0 1 2 3 4 J y z WD XD YD ZD aD PC bD cD dD eD fD FC GC HC gD"},Q:{"1":"hD"},R:{"1":"iD"},S:{"1":"kD","2":"jD"}},B:5,C:"Gamepad API",D:true}; diff --git a/node_modules/caniuse-lite/data/features/geolocation.js b/node_modules/caniuse-lite/data/features/geolocation.js index afb08bb89d..985730c977 100644 --- a/node_modules/caniuse-lite/data/features/geolocation.js +++ b/node_modules/caniuse-lite/data/features/geolocation.js @@ -1 +1 @@ -module.exports={A:{A:{"1":"F A B","2":"aC","8":"K D E"},B:{"1":"C L M G N O P","129":"0 1 2 3 4 5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I"},C:{"1":"J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB dC eC","8":"bC DC","129":"0 1 2 3 4 5 6 7 8 9 kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC"},D:{"1":"FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB","4":"J","129":"0 1 2 3 4 5 6 7 8 9 fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC"},E:{"1":"FB K D E F B C L M G gC hC iC jC KC 7B 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC","8":"J fC JC","129":"A"},F:{"1":"B C N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB tC 7B YC uC 8B","2":"F G qC","8":"rC sC","129":"UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t"},G:{"1":"E JC vC ZC wC xC yC zC 0C 1C","129":"2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC"},H:{"2":"HD"},I:{"1":"DC J ID JD KD LD ZC MD ND","129":"I"},J:{"1":"D A"},K:{"1":"B C 7B YC 8B","8":"A","129":"H"},L:{"129":"I"},M:{"129":"6B"},N:{"1":"A B"},O:{"129":"9B"},P:{"1":"J","129":"u v w x y z OD PD QD RD SD KC TD UD VD WD XD AC BC CC YD"},Q:{"129":"ZD"},R:{"129":"aD"},S:{"1":"bD","129":"cD"}},B:2,C:"Geolocation",D:true}; +module.exports={A:{A:{"1":"F A B","2":"gC","8":"K D E"},B:{"1":"C L M G N O P","129":"5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I"},C:{"1":"0 1 2 3 4 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB jC kC","8":"hC IC","129":"5 6 7 8 9 pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC"},D:{"1":"0 1 2 3 4 LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB","4":"J","129":"5 6 7 8 9 kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC"},E:{"1":"LB K D E F B C L M G mC nC oC pC PC CC DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC","8":"J lC OC","129":"A"},F:{"1":"0 1 2 3 4 B C N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB 0C CC eC 1C DC","2":"F G xC","8":"yC zC","129":"ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x"},G:{"1":"E OC 2C fC 3C 4C 5C 6C 7C 8C","129":"9C AD BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC"},H:{"2":"PD"},I:{"1":"IC J QD RD SD TD fC UD VD","129":"I"},J:{"1":"D A"},K:{"1":"B C CC eC DC","8":"A","129":"H"},L:{"129":"I"},M:{"129":"BC"},N:{"1":"A B"},O:{"129":"EC"},P:{"1":"J","129":"0 1 2 3 4 y z WD XD YD ZD aD PC bD cD dD eD fD FC GC HC gD"},Q:{"129":"hD"},R:{"129":"iD"},S:{"1":"jD","129":"kD"}},B:2,C:"Geolocation",D:true}; diff --git a/node_modules/caniuse-lite/data/features/getboundingclientrect.js b/node_modules/caniuse-lite/data/features/getboundingclientrect.js index ca067a4306..1ca7c267f8 100644 --- a/node_modules/caniuse-lite/data/features/getboundingclientrect.js +++ b/node_modules/caniuse-lite/data/features/getboundingclientrect.js @@ -1 +1 @@ -module.exports={A:{A:{"644":"K D aC","2049":"F A B","2692":"E"},B:{"1":"0 1 2 3 4 5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I","2049":"C L M G N O P"},C:{"1":"0 1 2 3 4 5 6 7 8 9 C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC","2":"bC","260":"J FB K D E F A B","1156":"DC","1284":"dC","1796":"eC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC"},E:{"1":"J FB K D E F A B C L M G gC hC iC jC KC 7B 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC","16":"fC JC"},F:{"1":"B C G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t tC 7B YC uC 8B","16":"F qC","132":"rC sC"},G:{"1":"E vC ZC wC xC yC zC 0C 1C 2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC","16":"JC"},H:{"1":"HD"},I:{"1":"DC J I KD LD ZC MD ND","16":"ID JD"},J:{"1":"D A"},K:{"1":"B C H 7B YC 8B","132":"A"},L:{"1":"I"},M:{"1":"6B"},N:{"2049":"A B"},O:{"1":"9B"},P:{"1":"J u v w x y z OD PD QD RD SD KC TD UD VD WD XD AC BC CC YD"},Q:{"1":"ZD"},R:{"1":"aD"},S:{"1":"bD cD"}},B:5,C:"Element.getBoundingClientRect()",D:true}; +module.exports={A:{A:{"644":"K D gC","2049":"F A B","2692":"E"},B:{"1":"5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I","2049":"C L M G N O P"},C:{"1":"0 1 2 3 4 5 6 7 8 9 C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC","2":"hC","260":"J LB K D E F A B","1156":"IC","1284":"jC","1796":"kC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC"},E:{"1":"J LB K D E F A B C L M G mC nC oC pC PC CC DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC","16":"lC OC"},F:{"1":"0 1 2 3 4 B C G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x 0C CC eC 1C DC","16":"F xC","132":"yC zC"},G:{"1":"E 2C fC 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC","16":"OC"},H:{"1":"PD"},I:{"1":"IC J I SD TD fC UD VD","16":"QD RD"},J:{"1":"D A"},K:{"1":"B C H CC eC DC","132":"A"},L:{"1":"I"},M:{"1":"BC"},N:{"2049":"A B"},O:{"1":"EC"},P:{"1":"0 1 2 3 4 J y z WD XD YD ZD aD PC bD cD dD eD fD FC GC HC gD"},Q:{"1":"hD"},R:{"1":"iD"},S:{"1":"jD kD"}},B:5,C:"Element.getBoundingClientRect()",D:true}; diff --git a/node_modules/caniuse-lite/data/features/getcomputedstyle.js b/node_modules/caniuse-lite/data/features/getcomputedstyle.js index 7122cd20cf..677acfd1d0 100644 --- a/node_modules/caniuse-lite/data/features/getcomputedstyle.js +++ b/node_modules/caniuse-lite/data/features/getcomputedstyle.js @@ -1 +1 @@ -module.exports={A:{A:{"1":"F A B","2":"K D E aC"},B:{"1":"0 1 2 3 4 5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC","2":"bC","132":"DC dC eC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC","260":"J FB K D E F A"},E:{"1":"FB K D E F A B C L M G gC hC iC jC KC 7B 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC","260":"J fC JC"},F:{"1":"B C G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t tC 7B YC uC 8B","260":"F qC rC sC"},G:{"1":"E wC xC yC zC 0C 1C 2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC","260":"JC vC ZC"},H:{"260":"HD"},I:{"1":"J I LD ZC MD ND","260":"DC ID JD KD"},J:{"1":"A","260":"D"},K:{"1":"B C H 7B YC 8B","260":"A"},L:{"1":"I"},M:{"1":"6B"},N:{"1":"A B"},O:{"1":"9B"},P:{"1":"J u v w x y z OD PD QD RD SD KC TD UD VD WD XD AC BC CC YD"},Q:{"1":"ZD"},R:{"1":"aD"},S:{"1":"bD cD"}},B:2,C:"getComputedStyle",D:true}; +module.exports={A:{A:{"1":"F A B","2":"K D E gC"},B:{"1":"5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC","2":"hC","132":"IC jC kC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC","260":"J LB K D E F A"},E:{"1":"LB K D E F A B C L M G mC nC oC pC PC CC DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC","260":"J lC OC"},F:{"1":"0 1 2 3 4 B C G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x 0C CC eC 1C DC","260":"F xC yC zC"},G:{"1":"E 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC","260":"OC 2C fC"},H:{"260":"PD"},I:{"1":"J I TD fC UD VD","260":"IC QD RD SD"},J:{"1":"A","260":"D"},K:{"1":"B C H CC eC DC","260":"A"},L:{"1":"I"},M:{"1":"BC"},N:{"1":"A B"},O:{"1":"EC"},P:{"1":"0 1 2 3 4 J y z WD XD YD ZD aD PC bD cD dD eD fD FC GC HC gD"},Q:{"1":"hD"},R:{"1":"iD"},S:{"1":"jD kD"}},B:2,C:"getComputedStyle",D:true}; diff --git a/node_modules/caniuse-lite/data/features/getelementsbyclassname.js b/node_modules/caniuse-lite/data/features/getelementsbyclassname.js index cf71b8eeca..61d408c121 100644 --- a/node_modules/caniuse-lite/data/features/getelementsbyclassname.js +++ b/node_modules/caniuse-lite/data/features/getelementsbyclassname.js @@ -1 +1 @@ -module.exports={A:{A:{"1":"F A B","2":"aC","8":"K D E"},B:{"1":"0 1 2 3 4 5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 DC J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC dC eC","8":"bC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC"},E:{"1":"J FB K D E F A B C L M G fC JC gC hC iC jC KC 7B 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC"},F:{"1":"B C G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t qC rC sC tC 7B YC uC 8B","2":"F"},G:{"1":"E JC vC ZC wC xC yC zC 0C 1C 2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC"},H:{"1":"HD"},I:{"1":"DC J I ID JD KD LD ZC MD ND"},J:{"1":"D A"},K:{"1":"A B C H 7B YC 8B"},L:{"1":"I"},M:{"1":"6B"},N:{"1":"A B"},O:{"1":"9B"},P:{"1":"J u v w x y z OD PD QD RD SD KC TD UD VD WD XD AC BC CC YD"},Q:{"1":"ZD"},R:{"1":"aD"},S:{"1":"bD cD"}},B:1,C:"getElementsByClassName",D:true}; +module.exports={A:{A:{"1":"F A B","2":"gC","8":"K D E"},B:{"1":"5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 IC J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC jC kC","8":"hC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC"},E:{"1":"J LB K D E F A B C L M G lC OC mC nC oC pC PC CC DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC"},F:{"1":"0 1 2 3 4 B C G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x xC yC zC 0C CC eC 1C DC","2":"F"},G:{"1":"E OC 2C fC 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC"},H:{"1":"PD"},I:{"1":"IC J I QD RD SD TD fC UD VD"},J:{"1":"D A"},K:{"1":"A B C H CC eC DC"},L:{"1":"I"},M:{"1":"BC"},N:{"1":"A B"},O:{"1":"EC"},P:{"1":"0 1 2 3 4 J y z WD XD YD ZD aD PC bD cD dD eD fD FC GC HC gD"},Q:{"1":"hD"},R:{"1":"iD"},S:{"1":"jD kD"}},B:1,C:"getElementsByClassName",D:true}; diff --git a/node_modules/caniuse-lite/data/features/getrandomvalues.js b/node_modules/caniuse-lite/data/features/getrandomvalues.js index 3d82d38786..6e25001bb4 100644 --- a/node_modules/caniuse-lite/data/features/getrandomvalues.js +++ b/node_modules/caniuse-lite/data/features/getrandomvalues.js @@ -1 +1 @@ -module.exports={A:{A:{"2":"K D E F A aC","33":"B"},B:{"1":"0 1 2 3 4 5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC","2":"bC DC J FB K D E F A B C L M G N O P GB u dC eC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC","2":"J FB K D E F A"},E:{"1":"D E F A B C L M G hC iC jC KC 7B 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC","2":"J FB K fC JC gC"},F:{"1":"G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t","2":"F B C qC rC sC tC 7B YC uC 8B"},G:{"1":"E yC zC 0C 1C 2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC","2":"JC vC ZC wC xC"},H:{"2":"HD"},I:{"1":"I MD ND","2":"DC J ID JD KD LD ZC"},J:{"1":"A","2":"D"},K:{"1":"H","2":"A B C 7B YC 8B"},L:{"1":"I"},M:{"1":"6B"},N:{"2":"A","33":"B"},O:{"1":"9B"},P:{"1":"J u v w x y z OD PD QD RD SD KC TD UD VD WD XD AC BC CC YD"},Q:{"1":"ZD"},R:{"1":"aD"},S:{"1":"bD cD"}},B:2,C:"crypto.getRandomValues()",D:true}; +module.exports={A:{A:{"2":"K D E F A gC","33":"B"},B:{"1":"5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC","2":"hC IC J LB K D E F A B C L M G N O P MB y jC kC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC","2":"J LB K D E F A"},E:{"1":"D E F A B C L M G nC oC pC PC CC DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC","2":"J LB K lC OC mC"},F:{"1":"0 1 2 3 4 G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x","2":"F B C xC yC zC 0C CC eC 1C DC"},G:{"1":"E 5C 6C 7C 8C 9C AD BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC","2":"OC 2C fC 3C 4C"},H:{"2":"PD"},I:{"1":"I UD VD","2":"IC J QD RD SD TD fC"},J:{"1":"A","2":"D"},K:{"1":"H","2":"A B C CC eC DC"},L:{"1":"I"},M:{"1":"BC"},N:{"2":"A","33":"B"},O:{"1":"EC"},P:{"1":"0 1 2 3 4 J y z WD XD YD ZD aD PC bD cD dD eD fD FC GC HC gD"},Q:{"1":"hD"},R:{"1":"iD"},S:{"1":"jD kD"}},B:2,C:"crypto.getRandomValues()",D:true}; diff --git a/node_modules/caniuse-lite/data/features/gyroscope.js b/node_modules/caniuse-lite/data/features/gyroscope.js index 414b49bec3..f62db8599e 100644 --- a/node_modules/caniuse-lite/data/features/gyroscope.js +++ b/node_modules/caniuse-lite/data/features/gyroscope.js @@ -1 +1 @@ -module.exports={A:{A:{"2":"K D E F A B aC"},B:{"1":"0 1 2 3 4 5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I","2":"C L M G N O P"},C:{"2":"0 1 2 3 4 5 6 7 8 9 bC DC J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC dC eC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC","2":"J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB","194":"nB EC oB FC pB qB rB sB tB"},E:{"2":"J FB K D E F A B C L M G fC JC gC hC iC jC KC 7B 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC"},F:{"1":"jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t","2":"F B C G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB qC rC sC tC 7B YC uC 8B"},G:{"2":"E JC vC ZC wC xC yC zC 0C 1C 2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC"},H:{"2":"HD"},I:{"1":"I","2":"DC J ID JD KD LD ZC MD ND"},J:{"2":"D A"},K:{"1":"H","2":"A B C 7B YC 8B"},L:{"1":"I"},M:{"2":"6B"},N:{"2":"A B"},O:{"1":"9B"},P:{"2":"J u v w x y z OD PD QD RD SD KC TD UD VD WD XD AC BC CC YD"},Q:{"1":"ZD"},R:{"1":"aD"},S:{"2":"bD cD"}},B:4,C:"Gyroscope",D:true}; +module.exports={A:{A:{"2":"K D E F A B gC"},B:{"1":"5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I","2":"C L M G N O P"},C:{"2":"0 1 2 3 4 5 6 7 8 9 hC IC J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC jC kC"},D:{"1":"5 6 7 8 9 zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC","2":"0 1 2 3 4 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB","194":"sB JC tB KC uB vB wB xB yB"},E:{"2":"J LB K D E F A B C L M G lC OC mC nC oC pC PC CC DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC"},F:{"1":"oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x","2":"0 1 2 3 4 F B C G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB xC yC zC 0C CC eC 1C DC"},G:{"2":"E OC 2C fC 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC"},H:{"2":"PD"},I:{"1":"I","2":"IC J QD RD SD TD fC UD VD"},J:{"2":"D A"},K:{"1":"H","2":"A B C CC eC DC"},L:{"1":"I"},M:{"2":"BC"},N:{"2":"A B"},O:{"1":"EC"},P:{"2":"0 1 2 3 4 J y z WD XD YD ZD aD PC bD cD dD eD fD FC GC HC gD"},Q:{"1":"hD"},R:{"1":"iD"},S:{"2":"jD kD"}},B:4,C:"Gyroscope",D:true}; diff --git a/node_modules/caniuse-lite/data/features/hardwareconcurrency.js b/node_modules/caniuse-lite/data/features/hardwareconcurrency.js index cce4b5f403..a70c8b9582 100644 --- a/node_modules/caniuse-lite/data/features/hardwareconcurrency.js +++ b/node_modules/caniuse-lite/data/features/hardwareconcurrency.js @@ -1 +1 @@ -module.exports={A:{A:{"2":"K D E F A B aC"},B:{"1":"0 1 2 3 4 5 6 7 8 9 G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I","2":"C L M"},C:{"1":"0 1 2 3 4 5 6 7 8 9 dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC","2":"bC DC J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dC eC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC","2":"J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB"},E:{"2":"J FB K D fC JC gC hC iC","129":"B C L M G KC 7B 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC","194":"E F A jC"},F:{"1":"y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t","2":"F B C G N O P GB u v w x qC rC sC tC 7B YC uC 8B"},G:{"2":"JC vC ZC wC xC yC","129":"3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC","194":"E zC 0C 1C 2C"},H:{"2":"HD"},I:{"1":"I","2":"DC J ID JD KD LD ZC MD ND"},J:{"2":"D A"},K:{"1":"H","2":"A B C 7B YC 8B"},L:{"1":"I"},M:{"1":"6B"},N:{"2":"A B"},O:{"1":"9B"},P:{"1":"J u v w x y z OD PD QD RD SD KC TD UD VD WD XD AC BC CC YD"},Q:{"1":"ZD"},R:{"1":"aD"},S:{"1":"bD cD"}},B:1,C:"navigator.hardwareConcurrency",D:true}; +module.exports={A:{A:{"2":"K D E F A B gC"},B:{"1":"5 6 7 8 9 G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I","2":"C L M"},C:{"1":"5 6 7 8 9 iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC","2":"0 1 2 3 4 hC IC J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB jC kC"},D:{"1":"5 6 7 8 9 XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC","2":"0 1 2 3 4 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB"},E:{"2":"J LB K D B C L M G lC OC mC nC oC CC DC qC rC sC QC","129":"PC","194":"E F A pC","257":"RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC"},F:{"1":"2 3 4 NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x","2":"0 1 F B C G N O P MB y z xC yC zC 0C CC eC 1C DC"},G:{"2":"OC 2C fC 3C 4C 5C BD CD DD ED FD GD HD ID JD KD LD QC","129":"AD","194":"E 6C 7C 8C 9C","257":"RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC"},H:{"2":"PD"},I:{"1":"I","2":"IC J QD RD SD TD fC UD VD"},J:{"2":"D A"},K:{"1":"H","2":"A B C CC eC DC"},L:{"1":"I"},M:{"1":"BC"},N:{"2":"A B"},O:{"1":"EC"},P:{"1":"0 1 2 3 4 J y z WD XD YD ZD aD PC bD cD dD eD fD FC GC HC gD"},Q:{"1":"hD"},R:{"1":"iD"},S:{"1":"jD kD"}},B:1,C:"navigator.hardwareConcurrency",D:true}; diff --git a/node_modules/caniuse-lite/data/features/hashchange.js b/node_modules/caniuse-lite/data/features/hashchange.js index 8850a8abbf..161a281993 100644 --- a/node_modules/caniuse-lite/data/features/hashchange.js +++ b/node_modules/caniuse-lite/data/features/hashchange.js @@ -1 +1 @@ -module.exports={A:{A:{"1":"E F A B","8":"K D aC"},B:{"1":"0 1 2 3 4 5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC eC","8":"bC DC dC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC","8":"J"},E:{"1":"FB K D E F A B C L M G gC hC iC jC KC 7B 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC","8":"J fC JC"},F:{"1":"B C G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t tC 7B YC uC 8B","8":"F qC rC sC"},G:{"1":"E vC ZC wC xC yC zC 0C 1C 2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC","2":"JC"},H:{"2":"HD"},I:{"1":"DC J I JD KD LD ZC MD ND","2":"ID"},J:{"1":"D A"},K:{"1":"B C H 7B YC 8B","8":"A"},L:{"1":"I"},M:{"1":"6B"},N:{"1":"A B"},O:{"1":"9B"},P:{"1":"J u v w x y z OD PD QD RD SD KC TD UD VD WD XD AC BC CC YD"},Q:{"1":"ZD"},R:{"1":"aD"},S:{"1":"bD cD"}},B:1,C:"Hashchange event",D:true}; +module.exports={A:{A:{"1":"E F A B","8":"K D gC"},B:{"1":"5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC kC","8":"hC IC jC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC","8":"J"},E:{"1":"LB K D E F A B C L M G mC nC oC pC PC CC DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC","8":"J lC OC"},F:{"1":"0 1 2 3 4 B C G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x 0C CC eC 1C DC","8":"F xC yC zC"},G:{"1":"E 2C fC 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC","2":"OC"},H:{"2":"PD"},I:{"1":"IC J I RD SD TD fC UD VD","2":"QD"},J:{"1":"D A"},K:{"1":"B C H CC eC DC","8":"A"},L:{"1":"I"},M:{"1":"BC"},N:{"1":"A B"},O:{"1":"EC"},P:{"1":"0 1 2 3 4 J y z WD XD YD ZD aD PC bD cD dD eD fD FC GC HC gD"},Q:{"1":"hD"},R:{"1":"iD"},S:{"1":"jD kD"}},B:1,C:"Hashchange event",D:true}; diff --git a/node_modules/caniuse-lite/data/features/heif.js b/node_modules/caniuse-lite/data/features/heif.js index 3ed940c45b..3b5aa166bc 100644 --- a/node_modules/caniuse-lite/data/features/heif.js +++ b/node_modules/caniuse-lite/data/features/heif.js @@ -1 +1 @@ -module.exports={A:{A:{"2":"K D E F A B aC"},B:{"2":"0 1 2 3 4 5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I"},C:{"2":"0 1 2 3 4 5 6 7 8 9 bC DC J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC dC eC"},D:{"2":"0 1 2 3 4 5 6 7 8 9 J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC"},E:{"1":"BC SC TC UC VC WC XC CC pC","2":"J FB K D E F A fC JC gC hC iC jC KC","130":"B C L M G 7B 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC"},F:{"2":"F B C G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t qC rC sC tC 7B YC uC 8B"},G:{"1":"BC SC TC UC VC WC XC CC","2":"E JC vC ZC wC xC yC zC 0C 1C 2C 3C GD","130":"4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC"},H:{"2":"HD"},I:{"2":"DC J I ID JD KD LD ZC MD ND"},J:{"2":"D A"},K:{"2":"A B C H 7B YC 8B"},L:{"2":"I"},M:{"2":"6B"},N:{"2":"A B"},O:{"2":"9B"},P:{"2":"J u v w x y z OD PD QD RD SD KC TD UD VD WD XD AC BC CC YD"},Q:{"2":"ZD"},R:{"2":"aD"},S:{"2":"bD cD"}},B:6,C:"HEIF/HEIC image format",D:true}; +module.exports={A:{A:{"2":"K D E F A B gC"},B:{"2":"5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I"},C:{"2":"0 1 2 3 4 5 6 7 8 9 hC IC J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC jC kC"},D:{"2":"0 1 2 3 4 5 6 7 8 9 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC"},E:{"1":"GC XC YC ZC aC bC vC HC cC dC wC","2":"J LB K D E F A lC OC mC nC oC pC PC","130":"B C L M G CC DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC"},F:{"2":"0 1 2 3 4 F B C G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x xC yC zC 0C CC eC 1C DC"},G:{"1":"GC XC YC ZC aC bC OD HC cC dC","2":"E OC 2C fC 3C 4C 5C 6C 7C 8C 9C AD ND","130":"BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC"},H:{"2":"PD"},I:{"2":"IC J I QD RD SD TD fC UD VD"},J:{"2":"D A"},K:{"2":"A B C H CC eC DC"},L:{"2":"I"},M:{"2":"BC"},N:{"2":"A B"},O:{"2":"EC"},P:{"2":"0 1 2 3 4 J y z WD XD YD ZD aD PC bD cD dD eD fD FC GC HC gD"},Q:{"2":"hD"},R:{"2":"iD"},S:{"2":"jD kD"}},B:6,C:"HEIF/HEIC image format",D:true}; diff --git a/node_modules/caniuse-lite/data/features/hevc.js b/node_modules/caniuse-lite/data/features/hevc.js index a17cb14fe1..0c2be98bca 100644 --- a/node_modules/caniuse-lite/data/features/hevc.js +++ b/node_modules/caniuse-lite/data/features/hevc.js @@ -1 +1 @@ -module.exports={A:{A:{"2":"K D E F A aC","132":"B"},B:{"132":"C L M G N O P","1028":"0 1 2 3 4 5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I"},C:{"2":"0 1 2 3 4 5 6 7 8 bC DC J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t dC eC","4098":"9","8258":"AB BB CB DB EB I 6B HC IC cC"},D:{"2":"J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p","2052":"0 1 2 3 4 5 6 7 8 9 q r s t AB BB CB DB EB I 6B HC IC"},E:{"1":"L M G kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC","2":"J FB K D E F A fC JC gC hC iC jC KC","516":"B C 7B 8B"},F:{"2":"F B C G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c qC rC sC tC 7B YC uC 8B","2052":"d e f g h i j k l m n o p q r s t"},G:{"1":"4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC","2":"E JC vC ZC wC xC yC zC 0C 1C 2C 3C"},H:{"2":"HD"},I:{"2":"DC J ID JD KD LD ZC MD ND","2052":"I"},J:{"2":"D A"},K:{"2":"A B C 7B YC 8B","258":"H"},L:{"2052":"I"},M:{"2":"6B"},N:{"2":"A B"},O:{"2":"9B"},P:{"1":"v w x y z","2":"J","258":"u OD PD QD RD SD KC TD UD VD WD XD AC BC CC YD"},Q:{"2":"ZD"},R:{"1":"aD"},S:{"2":"bD cD"}},B:6,C:"HEVC/H.265 video format",D:true}; +module.exports={A:{A:{"2":"K D E F A gC","132":"B"},B:{"132":"C L M G N O P","1028":"5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I"},C:{"2":"0 1 2 3 4 5 6 7 8 9 hC IC J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x jC kC","4098":"AB","8258":"BB CB DB EB FB GB HB IB JB KB I BC MC NC iC"},D:{"2":"0 1 2 3 4 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p","2052":"5 6 7 8 9 q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC"},E:{"1":"L M G qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC","2":"J LB K D E F A lC OC mC nC oC pC PC","516":"B C CC DC"},F:{"2":"0 1 2 3 4 F B C G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c xC yC zC 0C CC eC 1C DC","2052":"d e f g h i j k l m n o p q r s t u v w x"},G:{"1":"BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC","2":"E OC 2C fC 3C 4C 5C 6C 7C 8C 9C AD"},H:{"2":"PD"},I:{"2":"IC J QD RD SD TD fC UD VD","2052":"I"},J:{"2":"D A"},K:{"2":"A B C CC eC DC","258":"H"},L:{"2052":"I"},M:{"2":"BC"},N:{"2":"A B"},O:{"2":"EC"},P:{"1":"0 1 2 3 4 z","2":"J","258":"y WD XD YD ZD aD PC bD cD dD eD fD FC GC HC gD"},Q:{"2":"hD"},R:{"1":"iD"},S:{"2":"jD kD"}},B:6,C:"HEVC/H.265 video format",D:true}; diff --git a/node_modules/caniuse-lite/data/features/hidden.js b/node_modules/caniuse-lite/data/features/hidden.js index 89cee1dded..9e2a3bbd26 100644 --- a/node_modules/caniuse-lite/data/features/hidden.js +++ b/node_modules/caniuse-lite/data/features/hidden.js @@ -1 +1 @@ -module.exports={A:{A:{"1":"B","2":"K D E F A aC"},B:{"1":"0 1 2 3 4 5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC","2":"bC DC dC eC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC","2":"J FB"},E:{"1":"K D E F A B C L M G gC hC iC jC KC 7B 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC","2":"J FB fC JC"},F:{"1":"C G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t 7B YC uC 8B","2":"F B qC rC sC tC"},G:{"1":"E wC xC yC zC 0C 1C 2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC","2":"JC vC ZC"},H:{"1":"HD"},I:{"1":"J I LD ZC MD ND","2":"DC ID JD KD"},J:{"1":"A","2":"D"},K:{"1":"C H 7B YC 8B","2":"A B"},L:{"1":"I"},M:{"1":"6B"},N:{"1":"B","2":"A"},O:{"1":"9B"},P:{"1":"J u v w x y z OD PD QD RD SD KC TD UD VD WD XD AC BC CC YD"},Q:{"1":"ZD"},R:{"1":"aD"},S:{"1":"bD cD"}},B:1,C:"hidden attribute",D:true}; +module.exports={A:{A:{"1":"B","2":"K D E F A gC"},B:{"1":"5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC","2":"hC IC jC kC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC","2":"J LB"},E:{"1":"K D E F A B C L M G mC nC oC pC PC CC DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC","2":"J LB lC OC"},F:{"1":"0 1 2 3 4 C G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x CC eC 1C DC","2":"F B xC yC zC 0C"},G:{"1":"E 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC","2":"OC 2C fC"},H:{"1":"PD"},I:{"1":"J I TD fC UD VD","2":"IC QD RD SD"},J:{"1":"A","2":"D"},K:{"1":"C H CC eC DC","2":"A B"},L:{"1":"I"},M:{"1":"BC"},N:{"1":"B","2":"A"},O:{"1":"EC"},P:{"1":"0 1 2 3 4 J y z WD XD YD ZD aD PC bD cD dD eD fD FC GC HC gD"},Q:{"1":"hD"},R:{"1":"iD"},S:{"1":"jD kD"}},B:1,C:"hidden attribute",D:true}; diff --git a/node_modules/caniuse-lite/data/features/high-resolution-time.js b/node_modules/caniuse-lite/data/features/high-resolution-time.js index 89b2cce973..41666019ad 100644 --- a/node_modules/caniuse-lite/data/features/high-resolution-time.js +++ b/node_modules/caniuse-lite/data/features/high-resolution-time.js @@ -1 +1 @@ -module.exports={A:{A:{"1":"A B","2":"K D E F aC"},B:{"1":"0 1 2 3 4 5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I"},C:{"1":"G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB","2":"bC DC J FB K D E F A B C L M dC eC","129":"kB lB mB","769":"nB EC","1281":"0 1 2 3 4 5 6 7 8 9 oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC","2":"J FB K D E F A B C L M G N O P GB","33":"u v w x"},E:{"1":"E F A B C L M G jC KC 7B 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC","2":"J FB K D fC JC gC hC iC"},F:{"1":"G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t","2":"F B C qC rC sC tC 7B YC uC 8B"},G:{"1":"E 0C 1C 2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC","2":"JC vC ZC wC xC yC zC"},H:{"2":"HD"},I:{"1":"I MD ND","2":"DC J ID JD KD LD ZC"},J:{"1":"A","2":"D"},K:{"1":"H","2":"A B C 7B YC 8B"},L:{"1":"I"},M:{"1":"6B"},N:{"1":"A B"},O:{"1":"9B"},P:{"1":"J u v w x y z OD PD QD RD SD KC TD UD VD WD XD AC BC CC YD"},Q:{"1":"ZD"},R:{"1":"aD"},S:{"1":"bD cD"}},B:2,C:"High Resolution Time API",D:true}; +module.exports={A:{A:{"1":"A B","2":"K D E F gC"},B:{"1":"5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I"},C:{"1":"0 1 2 3 4 G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB","2":"hC IC J LB K D E F A B C L M jC kC","129":"pB qB rB","769":"sB JC","1281":"5 6 7 8 9 tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC"},D:{"1":"2 3 4 5 6 7 8 9 NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC","2":"J LB K D E F A B C L M G N O P MB","33":"0 1 y z"},E:{"1":"E F A B C L M G pC PC CC DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC","2":"J LB K D lC OC mC nC oC"},F:{"1":"0 1 2 3 4 G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x","2":"F B C xC yC zC 0C CC eC 1C DC"},G:{"1":"E 7C 8C 9C AD BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC","2":"OC 2C fC 3C 4C 5C 6C"},H:{"2":"PD"},I:{"1":"I UD VD","2":"IC J QD RD SD TD fC"},J:{"1":"A","2":"D"},K:{"1":"H","2":"A B C CC eC DC"},L:{"1":"I"},M:{"1":"BC"},N:{"1":"A B"},O:{"1":"EC"},P:{"1":"0 1 2 3 4 J y z WD XD YD ZD aD PC bD cD dD eD fD FC GC HC gD"},Q:{"1":"hD"},R:{"1":"iD"},S:{"1":"jD kD"}},B:2,C:"High Resolution Time API",D:true}; diff --git a/node_modules/caniuse-lite/data/features/history.js b/node_modules/caniuse-lite/data/features/history.js index ef3b58a2a5..e02f8ac1d4 100644 --- a/node_modules/caniuse-lite/data/features/history.js +++ b/node_modules/caniuse-lite/data/features/history.js @@ -1 +1 @@ -module.exports={A:{A:{"1":"A B","2":"K D E F aC"},B:{"1":"0 1 2 3 4 5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC","2":"bC DC dC eC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC","2":"J"},E:{"1":"K D E F A B C L M G hC iC jC KC 7B 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC","2":"J fC JC","4":"FB gC"},F:{"1":"C G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t YC uC 8B","2":"F B qC rC sC tC 7B"},G:{"1":"E wC xC yC zC 0C 1C 2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC","2":"JC vC","4":"ZC"},H:{"2":"HD"},I:{"1":"I JD KD ZC MD ND","2":"DC J ID LD"},J:{"1":"D A"},K:{"1":"C H 7B YC 8B","2":"A B"},L:{"1":"I"},M:{"1":"6B"},N:{"1":"A B"},O:{"1":"9B"},P:{"1":"J u v w x y z OD PD QD RD SD KC TD UD VD WD XD AC BC CC YD"},Q:{"1":"ZD"},R:{"1":"aD"},S:{"1":"bD cD"}},B:1,C:"Session history management",D:true}; +module.exports={A:{A:{"1":"A B","2":"K D E F gC"},B:{"1":"5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC","2":"hC IC jC kC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC","2":"J"},E:{"1":"K D E F A B C L M G nC oC pC PC CC DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC","2":"J lC OC","4":"LB mC"},F:{"1":"0 1 2 3 4 C G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x eC 1C DC","2":"F B xC yC zC 0C CC"},G:{"1":"E 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC","2":"OC 2C","4":"fC"},H:{"2":"PD"},I:{"1":"I RD SD fC UD VD","2":"IC J QD TD"},J:{"1":"D A"},K:{"1":"C H CC eC DC","2":"A B"},L:{"1":"I"},M:{"1":"BC"},N:{"1":"A B"},O:{"1":"EC"},P:{"1":"0 1 2 3 4 J y z WD XD YD ZD aD PC bD cD dD eD fD FC GC HC gD"},Q:{"1":"hD"},R:{"1":"iD"},S:{"1":"jD kD"}},B:1,C:"Session history management",D:true}; diff --git a/node_modules/caniuse-lite/data/features/html-media-capture.js b/node_modules/caniuse-lite/data/features/html-media-capture.js index ad30645416..420411d586 100644 --- a/node_modules/caniuse-lite/data/features/html-media-capture.js +++ b/node_modules/caniuse-lite/data/features/html-media-capture.js @@ -1 +1 @@ -module.exports={A:{A:{"2":"K D E F A B aC"},B:{"2":"0 1 2 3 4 5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I"},C:{"2":"0 1 2 3 4 5 6 7 8 9 bC DC J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC dC eC"},D:{"2":"0 1 2 3 4 5 6 7 8 9 J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC"},E:{"2":"J FB K D E F A B C L M G fC JC gC hC iC jC KC 7B 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC"},F:{"2":"F B C G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t qC rC sC tC 7B YC uC 8B"},G:{"2":"JC vC ZC wC","129":"E xC yC zC 0C 1C 2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC"},H:{"2":"HD"},I:{"1":"DC J I LD ZC MD ND","2":"ID","257":"JD KD"},J:{"1":"A","16":"D"},K:{"1":"H","2":"A B C 7B YC 8B"},L:{"1":"I"},M:{"1":"6B"},N:{"2":"A B"},O:{"516":"9B"},P:{"1":"J u v w x y z OD PD QD RD SD KC TD UD VD WD XD AC BC CC YD"},Q:{"16":"ZD"},R:{"1":"aD"},S:{"2":"bD cD"}},B:2,C:"HTML Media Capture",D:true}; +module.exports={A:{A:{"2":"K D E F A B gC"},B:{"2":"5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I"},C:{"2":"0 1 2 3 4 5 6 7 8 9 hC IC J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC jC kC"},D:{"2":"0 1 2 3 4 5 6 7 8 9 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC"},E:{"2":"J LB K D E F A B C L M G lC OC mC nC oC pC PC CC DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC"},F:{"2":"0 1 2 3 4 F B C G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x xC yC zC 0C CC eC 1C DC"},G:{"2":"OC 2C fC 3C","129":"E 4C 5C 6C 7C 8C 9C AD BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC"},H:{"2":"PD"},I:{"1":"IC J I TD fC UD VD","2":"QD","257":"RD SD"},J:{"1":"A","16":"D"},K:{"1":"H","2":"A B C CC eC DC"},L:{"1":"I"},M:{"1":"BC"},N:{"2":"A B"},O:{"516":"EC"},P:{"1":"0 1 2 3 4 J y z WD XD YD ZD aD PC bD cD dD eD fD FC GC HC gD"},Q:{"16":"hD"},R:{"1":"iD"},S:{"2":"jD kD"}},B:2,C:"HTML Media Capture",D:true}; diff --git a/node_modules/caniuse-lite/data/features/html5semantic.js b/node_modules/caniuse-lite/data/features/html5semantic.js index 41aafc5756..9d7470de07 100644 --- a/node_modules/caniuse-lite/data/features/html5semantic.js +++ b/node_modules/caniuse-lite/data/features/html5semantic.js @@ -1 +1 @@ -module.exports={A:{A:{"2":"aC","8":"K D E","260":"F A B"},B:{"1":"0 1 2 3 4 5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC","2":"bC","132":"DC dC eC","260":"J FB K D E F A B C L M G N O P GB u"},D:{"1":"0 1 2 3 4 5 6 7 8 9 HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC","132":"J FB","260":"K D E F A B C L M G N O P GB u v w x y z"},E:{"1":"D E F A B C L M G hC iC jC KC 7B 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC","132":"J fC JC","260":"FB K gC"},F:{"1":"G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t","132":"F B qC rC sC tC","260":"C 7B YC uC 8B"},G:{"1":"E yC zC 0C 1C 2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC","132":"JC","260":"vC ZC wC xC"},H:{"132":"HD"},I:{"1":"I MD ND","132":"ID","260":"DC J JD KD LD ZC"},J:{"260":"D A"},K:{"1":"H","132":"A","260":"B C 7B YC 8B"},L:{"1":"I"},M:{"1":"6B"},N:{"260":"A B"},O:{"1":"9B"},P:{"1":"J u v w x y z OD PD QD RD SD KC TD UD VD WD XD AC BC CC YD"},Q:{"1":"ZD"},R:{"1":"aD"},S:{"1":"bD cD"}},B:1,C:"HTML5 semantic elements",D:true}; +module.exports={A:{A:{"2":"gC","8":"K D E","260":"F A B"},B:{"1":"5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC","2":"hC","132":"IC jC kC","260":"J LB K D E F A B C L M G N O P MB y"},D:{"1":"4 5 6 7 8 9 NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC","132":"J LB","260":"0 1 2 3 K D E F A B C L M G N O P MB y z"},E:{"1":"D E F A B C L M G nC oC pC PC CC DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC","132":"J lC OC","260":"LB K mC"},F:{"1":"0 1 2 3 4 G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x","132":"F B xC yC zC 0C","260":"C CC eC 1C DC"},G:{"1":"E 5C 6C 7C 8C 9C AD BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC","132":"OC","260":"2C fC 3C 4C"},H:{"132":"PD"},I:{"1":"I UD VD","132":"QD","260":"IC J RD SD TD fC"},J:{"260":"D A"},K:{"1":"H","132":"A","260":"B C CC eC DC"},L:{"1":"I"},M:{"1":"BC"},N:{"260":"A B"},O:{"1":"EC"},P:{"1":"0 1 2 3 4 J y z WD XD YD ZD aD PC bD cD dD eD fD FC GC HC gD"},Q:{"1":"hD"},R:{"1":"iD"},S:{"1":"jD kD"}},B:1,C:"HTML5 semantic elements",D:true}; diff --git a/node_modules/caniuse-lite/data/features/http-live-streaming.js b/node_modules/caniuse-lite/data/features/http-live-streaming.js index 6f781affab..f418cc1a17 100644 --- a/node_modules/caniuse-lite/data/features/http-live-streaming.js +++ b/node_modules/caniuse-lite/data/features/http-live-streaming.js @@ -1 +1 @@ -module.exports={A:{A:{"2":"K D E F A B aC"},B:{"1":"C L M G N O P","2":"0 1 2 3 4 5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I"},C:{"2":"0 1 2 3 4 5 6 7 8 9 bC DC J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC dC eC"},D:{"2":"0 1 2 3 4 5 6 7 8 9 J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC"},E:{"1":"K D E F A B C L M G hC iC jC KC 7B 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC","2":"J FB fC JC gC"},F:{"2":"F B C G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t qC rC sC tC 7B YC uC 8B"},G:{"1":"E JC vC ZC wC xC yC zC 0C 1C 2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC"},H:{"2":"HD"},I:{"1":"DC J I LD ZC MD ND","2":"ID JD KD"},J:{"1":"A","2":"D"},K:{"1":"H","2":"A B C 7B YC 8B"},L:{"1":"I"},M:{"1":"6B"},N:{"2":"A B"},O:{"1":"9B"},P:{"1":"J u v w x y z OD PD QD RD SD KC TD UD VD WD XD AC BC CC YD"},Q:{"1":"ZD"},R:{"1":"aD"},S:{"2":"bD cD"}},B:7,C:"HTTP Live Streaming (HLS)",D:true}; +module.exports={A:{A:{"2":"K D E F A B gC"},B:{"1":"C L M G N O P","2":"5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I"},C:{"2":"0 1 2 3 4 5 6 7 8 9 hC IC J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC jC kC"},D:{"2":"0 1 2 3 4 5 6 7 8 9 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC"},E:{"1":"K D E F A B C L M G nC oC pC PC CC DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC","2":"J LB lC OC mC"},F:{"2":"0 1 2 3 4 F B C G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x xC yC zC 0C CC eC 1C DC"},G:{"1":"E OC 2C fC 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC"},H:{"2":"PD"},I:{"1":"IC J I TD fC UD VD","2":"QD RD SD"},J:{"1":"A","2":"D"},K:{"1":"H","2":"A B C CC eC DC"},L:{"1":"I"},M:{"1":"BC"},N:{"2":"A B"},O:{"1":"EC"},P:{"1":"0 1 2 3 4 J y z WD XD YD ZD aD PC bD cD dD eD fD FC GC HC gD"},Q:{"1":"hD"},R:{"1":"iD"},S:{"2":"jD kD"}},B:7,C:"HTTP Live Streaming (HLS)",D:true}; diff --git a/node_modules/caniuse-lite/data/features/http2.js b/node_modules/caniuse-lite/data/features/http2.js index 25e6aac6c9..c498bbc13f 100644 --- a/node_modules/caniuse-lite/data/features/http2.js +++ b/node_modules/caniuse-lite/data/features/http2.js @@ -1 +1 @@ -module.exports={A:{A:{"2":"K D E F A aC","132":"B"},B:{"1":"C L M G N O P","513":"0 1 2 3 4 5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I"},C:{"1":"RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB","2":"bC DC J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB dC eC","513":"0 1 2 3 4 5 6 7 8 9 iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC"},D:{"1":"WB XB YB ZB aB bB cB dB eB fB","2":"J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB","513":"0 1 2 3 4 5 6 7 8 9 gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC"},E:{"1":"B C L M G 7B 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC","2":"J FB K D E fC JC gC hC iC","260":"F A jC KC"},F:{"1":"JB KB LB MB NB OB PB QB RB SB","2":"F B C G N O P GB u v w x y z HB IB qC rC sC tC 7B YC uC 8B","513":"TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t"},G:{"1":"0C 1C 2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC","2":"E JC vC ZC wC xC yC zC"},H:{"2":"HD"},I:{"2":"DC J ID JD KD LD ZC MD ND","513":"I"},J:{"2":"D A"},K:{"2":"A B C 7B YC 8B","513":"H"},L:{"513":"I"},M:{"513":"6B"},N:{"2":"A B"},O:{"513":"9B"},P:{"1":"J","513":"u v w x y z OD PD QD RD SD KC TD UD VD WD XD AC BC CC YD"},Q:{"513":"ZD"},R:{"513":"aD"},S:{"1":"bD","513":"cD"}},B:6,C:"HTTP/2 protocol",D:true}; +module.exports={A:{A:{"2":"K D E F A gC","132":"B"},B:{"1":"C L M G N O P","513":"5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I"},C:{"1":"WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB","2":"0 1 2 3 4 hC IC J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB jC kC","513":"5 6 7 8 9 nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC"},D:{"1":"bB cB dB eB fB gB hB iB jB kB","2":"0 1 2 3 4 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB","513":"5 6 7 8 9 lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC"},E:{"1":"B C L M G CC DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC","2":"J LB K D E lC OC mC nC oC","260":"F A pC PC"},F:{"1":"OB PB QB RB SB TB UB VB WB XB","2":"0 1 2 3 4 F B C G N O P MB y z NB xC yC zC 0C CC eC 1C DC","513":"YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x"},G:{"1":"7C 8C 9C AD BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC","2":"E OC 2C fC 3C 4C 5C 6C"},H:{"2":"PD"},I:{"2":"IC J QD RD SD TD fC UD VD","513":"I"},J:{"2":"D A"},K:{"2":"A B C CC eC DC","513":"H"},L:{"513":"I"},M:{"513":"BC"},N:{"2":"A B"},O:{"513":"EC"},P:{"1":"J","513":"0 1 2 3 4 y z WD XD YD ZD aD PC bD cD dD eD fD FC GC HC gD"},Q:{"513":"hD"},R:{"513":"iD"},S:{"1":"jD","513":"kD"}},B:6,C:"HTTP/2 protocol",D:true}; diff --git a/node_modules/caniuse-lite/data/features/http3.js b/node_modules/caniuse-lite/data/features/http3.js index 2703f5e1da..1f5d0b61ed 100644 --- a/node_modules/caniuse-lite/data/features/http3.js +++ b/node_modules/caniuse-lite/data/features/http3.js @@ -1 +1 @@ -module.exports={A:{A:{"2":"K D E F A B aC"},B:{"1":"0 1 2 3 4 5 6 7 8 9 W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I","2":"C L M G N O P","322":"Q H R S T","578":"U V"},C:{"1":"0 1 2 3 4 5 6 7 8 9 X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC","2":"bC DC J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB dC eC","194":"zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W"},D:{"1":"0 1 2 3 4 5 6 7 8 9 W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC","2":"J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B","322":"Q H R S T","578":"U V"},E:{"2":"J FB K D E F A B C L fC JC gC hC iC jC KC 7B 8B kC","2052":"QC RC oC BC SC TC UC VC WC XC CC pC","2116":"AC NC OC PC","3140":"M G lC mC LC MC 9B nC"},F:{"1":"1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t","2":"F B C G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB qC rC sC tC 7B YC uC 8B","578":"0B"},G:{"2":"E JC vC ZC wC xC yC zC 0C 1C 2C 3C 4C 5C 6C 7C 8C 9C AD BD","2052":"QC RC GD BC SC TC UC VC WC XC CC","2116":"CD DD ED LC MC 9B FD AC NC OC PC"},H:{"2":"HD"},I:{"1":"I","2":"DC J ID JD KD LD ZC MD ND"},J:{"2":"D A"},K:{"1":"H","2":"A B C 7B YC 8B"},L:{"1":"I"},M:{"1":"6B"},N:{"2":"A B"},O:{"1":"9B"},P:{"1":"u v w x y z WD XD AC BC CC YD","2":"J OD PD QD RD SD KC TD UD VD"},Q:{"2":"ZD"},R:{"1":"aD"},S:{"2":"bD cD"}},B:6,C:"HTTP/3 protocol",D:true}; +module.exports={A:{A:{"2":"K D E F A B gC"},B:{"1":"5 6 7 8 9 W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I","2":"C L M G N O P","322":"Q H R S T","578":"U V"},C:{"1":"5 6 7 8 9 X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC","2":"0 1 2 3 4 hC IC J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B jC kC","194":"4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W"},D:{"1":"5 6 7 8 9 W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC","2":"0 1 2 3 4 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC","322":"Q H R S T","578":"U V"},E:{"1":"HC cC dC wC","2":"J LB K D E F A B C L lC OC mC nC oC pC PC CC DC qC","2049":"VC WC uC GC XC YC ZC aC bC vC","2113":"FC SC TC UC","3140":"M G rC sC QC RC EC tC"},F:{"1":"6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x","2":"0 1 2 3 4 F B C G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B xC yC zC 0C CC eC 1C DC","578":"5B"},G:{"1":"HC cC dC","2":"E OC 2C fC 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED FD GD HD ID","2049":"VC WC ND GC XC YC ZC aC bC OD","2113":"FC SC TC UC","2116":"JD KD LD QC RC EC MD"},H:{"2":"PD"},I:{"1":"I","2":"IC J QD RD SD TD fC UD VD"},J:{"2":"D A"},K:{"1":"H","2":"A B C CC eC DC"},L:{"1":"I"},M:{"1":"BC"},N:{"2":"A B"},O:{"1":"EC"},P:{"1":"0 1 2 3 4 y z eD fD FC GC HC gD","2":"J WD XD YD ZD aD PC bD cD dD"},Q:{"2":"hD"},R:{"1":"iD"},S:{"2":"jD kD"}},B:6,C:"HTTP/3 protocol",D:true}; diff --git a/node_modules/caniuse-lite/data/features/iframe-sandbox.js b/node_modules/caniuse-lite/data/features/iframe-sandbox.js index ca6e870487..e194e99baf 100644 --- a/node_modules/caniuse-lite/data/features/iframe-sandbox.js +++ b/node_modules/caniuse-lite/data/features/iframe-sandbox.js @@ -1 +1 @@ -module.exports={A:{A:{"1":"A B","2":"K D E F aC"},B:{"1":"0 1 2 3 4 5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC","2":"bC DC J FB K D E F A B C L M G N dC eC","4":"O P GB u v w x y z HB IB"},D:{"1":"0 1 2 3 4 5 6 7 8 9 J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC"},E:{"1":"FB K D E F A B C L M G gC hC iC jC KC 7B 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC","2":"J fC JC"},F:{"1":"G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t","2":"F B C qC rC sC tC 7B YC uC 8B"},G:{"1":"E ZC wC xC yC zC 0C 1C 2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC","2":"JC vC"},H:{"2":"HD"},I:{"1":"DC J I JD KD LD ZC MD ND","2":"ID"},J:{"1":"D A"},K:{"1":"H","2":"A B C 7B YC 8B"},L:{"1":"I"},M:{"1":"6B"},N:{"1":"A B"},O:{"1":"9B"},P:{"1":"J u v w x y z OD PD QD RD SD KC TD UD VD WD XD AC BC CC YD"},Q:{"1":"ZD"},R:{"1":"aD"},S:{"1":"bD cD"}},B:1,C:"sandbox attribute for iframes",D:true}; +module.exports={A:{A:{"1":"A B","2":"K D E F gC"},B:{"1":"5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I"},C:{"1":"5 6 7 8 9 OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC","2":"hC IC J LB K D E F A B C L M G N jC kC","4":"0 1 2 3 4 O P MB y z NB"},D:{"1":"0 1 2 3 4 5 6 7 8 9 LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC","2":"J"},E:{"1":"LB K D E F A B C L M G mC nC oC pC PC CC DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC","2":"J lC OC"},F:{"1":"0 1 2 3 4 G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x","2":"F B C xC yC zC 0C CC eC 1C DC"},G:{"1":"E 2C fC 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC","2":"OC"},H:{"2":"PD"},I:{"1":"IC J I RD SD TD fC UD VD","2":"QD"},J:{"1":"D A"},K:{"1":"H","2":"A B C CC eC DC"},L:{"1":"I"},M:{"1":"BC"},N:{"1":"A B"},O:{"1":"EC"},P:{"1":"0 1 2 3 4 J y z WD XD YD ZD aD PC bD cD dD eD fD FC GC HC gD"},Q:{"1":"hD"},R:{"1":"iD"},S:{"1":"jD kD"}},B:1,C:"sandbox attribute for iframes",D:true}; diff --git a/node_modules/caniuse-lite/data/features/iframe-seamless.js b/node_modules/caniuse-lite/data/features/iframe-seamless.js index 8895379e04..3f37263f54 100644 --- a/node_modules/caniuse-lite/data/features/iframe-seamless.js +++ b/node_modules/caniuse-lite/data/features/iframe-seamless.js @@ -1 +1 @@ -module.exports={A:{A:{"2":"K D E F A B aC"},B:{"2":"0 1 2 3 4 5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I"},C:{"2":"0 1 2 3 4 5 6 7 8 9 bC DC J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC dC eC"},D:{"2":"0 1 2 3 4 5 6 7 8 9 J FB K D E F A B C L M G N O P GB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC","66":"u v w x y z HB"},E:{"2":"J FB K E F A B C L M G fC JC gC hC jC KC 7B 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC","130":"D iC"},F:{"2":"F B C G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t qC rC sC tC 7B YC uC 8B"},G:{"2":"E JC vC ZC wC xC zC 0C 1C 2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC","130":"yC"},H:{"2":"HD"},I:{"2":"DC J I ID JD KD LD ZC MD ND"},J:{"2":"D A"},K:{"2":"A B C H 7B YC 8B"},L:{"2":"I"},M:{"2":"6B"},N:{"2":"A B"},O:{"2":"9B"},P:{"2":"J u v w x y z OD PD QD RD SD KC TD UD VD WD XD AC BC CC YD"},Q:{"2":"ZD"},R:{"2":"aD"},S:{"2":"bD cD"}},B:7,C:"seamless attribute for iframes",D:true}; +module.exports={A:{A:{"2":"K D E F A B gC"},B:{"2":"5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I"},C:{"2":"0 1 2 3 4 5 6 7 8 9 hC IC J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC jC kC"},D:{"2":"5 6 7 8 9 J LB K D E F A B C L M G N O P MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC","66":"0 1 2 3 4 y z"},E:{"2":"J LB K E F A B C L M G lC OC mC nC pC PC CC DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC","130":"D oC"},F:{"2":"0 1 2 3 4 F B C G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x xC yC zC 0C CC eC 1C DC"},G:{"2":"E OC 2C fC 3C 4C 6C 7C 8C 9C AD BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC","130":"5C"},H:{"2":"PD"},I:{"2":"IC J I QD RD SD TD fC UD VD"},J:{"2":"D A"},K:{"2":"A B C H CC eC DC"},L:{"2":"I"},M:{"2":"BC"},N:{"2":"A B"},O:{"2":"EC"},P:{"2":"0 1 2 3 4 J y z WD XD YD ZD aD PC bD cD dD eD fD FC GC HC gD"},Q:{"2":"hD"},R:{"2":"iD"},S:{"2":"jD kD"}},B:7,C:"seamless attribute for iframes",D:true}; diff --git a/node_modules/caniuse-lite/data/features/iframe-srcdoc.js b/node_modules/caniuse-lite/data/features/iframe-srcdoc.js index 703073df3a..1eff41245c 100644 --- a/node_modules/caniuse-lite/data/features/iframe-srcdoc.js +++ b/node_modules/caniuse-lite/data/features/iframe-srcdoc.js @@ -1 +1 @@ -module.exports={A:{A:{"2":"aC","8":"K D E F A B"},B:{"1":"0 1 2 3 4 5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I","8":"C L M G N O P"},C:{"1":"0 1 2 3 4 5 6 7 8 9 z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC","2":"bC","8":"DC J FB K D E F A B C L M G N O P GB u v w x y dC eC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC","2":"J FB K D E F A B C L","8":"M G N O P GB"},E:{"1":"K D E F A B C L M G hC iC jC KC 7B 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC","2":"fC JC","8":"J FB gC"},F:{"1":"G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t","2":"F B qC rC sC tC","8":"C 7B YC uC 8B"},G:{"1":"E xC yC zC 0C 1C 2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC","2":"JC","8":"vC ZC wC"},H:{"2":"HD"},I:{"1":"I MD ND","8":"DC J ID JD KD LD ZC"},J:{"1":"A","8":"D"},K:{"1":"H","2":"A B","8":"C 7B YC 8B"},L:{"1":"I"},M:{"1":"6B"},N:{"8":"A B"},O:{"1":"9B"},P:{"1":"J u v w x y z OD PD QD RD SD KC TD UD VD WD XD AC BC CC YD"},Q:{"1":"ZD"},R:{"1":"aD"},S:{"1":"bD cD"}},B:1,C:"srcdoc attribute for iframes",D:true}; +module.exports={A:{A:{"2":"gC","8":"K D E F A B"},B:{"1":"5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I","8":"C L M G N O P"},C:{"1":"3 4 5 6 7 8 9 NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC","2":"hC","8":"0 1 2 IC J LB K D E F A B C L M G N O P MB y z jC kC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC","2":"J LB K D E F A B C L","8":"M G N O P MB"},E:{"1":"K D E F A B C L M G nC oC pC PC CC DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC","2":"lC OC","8":"J LB mC"},F:{"1":"0 1 2 3 4 G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x","2":"F B xC yC zC 0C","8":"C CC eC 1C DC"},G:{"1":"E 4C 5C 6C 7C 8C 9C AD BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC","2":"OC","8":"2C fC 3C"},H:{"2":"PD"},I:{"1":"I UD VD","8":"IC J QD RD SD TD fC"},J:{"1":"A","8":"D"},K:{"1":"H","2":"A B","8":"C CC eC DC"},L:{"1":"I"},M:{"1":"BC"},N:{"8":"A B"},O:{"1":"EC"},P:{"1":"0 1 2 3 4 J y z WD XD YD ZD aD PC bD cD dD eD fD FC GC HC gD"},Q:{"1":"hD"},R:{"1":"iD"},S:{"1":"jD kD"}},B:1,C:"srcdoc attribute for iframes",D:true}; diff --git a/node_modules/caniuse-lite/data/features/imagecapture.js b/node_modules/caniuse-lite/data/features/imagecapture.js index aaa469bead..c23d701d53 100644 --- a/node_modules/caniuse-lite/data/features/imagecapture.js +++ b/node_modules/caniuse-lite/data/features/imagecapture.js @@ -1 +1 @@ -module.exports={A:{A:{"2":"K D E F A B aC"},B:{"1":"0 1 2 3 4 5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I","2":"C L M G N O P"},C:{"2":"bC DC J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB dC eC","194":"0 1 2 3 4 5 6 7 8 9 QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC","2":"J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB","322":"iB jB kB lB mB nB"},E:{"2":"J FB K D E F A B C L M G fC JC gC hC iC jC KC 7B 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC"},F:{"1":"bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t","2":"F B C G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB qC rC sC tC 7B YC uC 8B","322":"VB WB XB YB ZB aB"},G:{"2":"E JC vC ZC wC xC yC zC 0C 1C 2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC"},H:{"2":"HD"},I:{"1":"I","2":"DC J ID JD KD LD ZC MD ND"},J:{"2":"D A"},K:{"1":"H","2":"A B C 7B YC 8B"},L:{"1":"I"},M:{"2":"6B"},N:{"2":"A B"},O:{"1":"9B"},P:{"1":"u v w x y z OD PD QD RD SD KC TD UD VD WD XD AC BC CC YD","2":"J"},Q:{"1":"ZD"},R:{"1":"aD"},S:{"194":"bD cD"}},B:5,C:"ImageCapture API",D:true}; +module.exports={A:{A:{"2":"K D E F A B gC"},B:{"1":"5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I","2":"C L M G N O P"},C:{"2":"0 1 2 3 4 hC IC J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB jC kC","194":"5 6 7 8 9 VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC"},D:{"1":"5 6 7 8 9 JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC","2":"0 1 2 3 4 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB","322":"nB oB pB qB rB sB"},E:{"2":"J LB K D E F A B C L M G lC OC mC nC oC pC PC CC DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC","516":"wC"},F:{"1":"gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x","2":"0 1 2 3 4 F B C G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB xC yC zC 0C CC eC 1C DC","322":"aB bB cB dB eB fB"},G:{"2":"E OC 2C fC 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC"},H:{"2":"PD"},I:{"1":"I","2":"IC J QD RD SD TD fC UD VD"},J:{"2":"D A"},K:{"1":"H","2":"A B C CC eC DC"},L:{"1":"I"},M:{"2":"BC"},N:{"2":"A B"},O:{"1":"EC"},P:{"1":"0 1 2 3 4 y z WD XD YD ZD aD PC bD cD dD eD fD FC GC HC gD","2":"J"},Q:{"1":"hD"},R:{"1":"iD"},S:{"194":"jD kD"}},B:5,C:"ImageCapture API",D:true}; diff --git a/node_modules/caniuse-lite/data/features/ime.js b/node_modules/caniuse-lite/data/features/ime.js index dcf14b0b12..b08a243544 100644 --- a/node_modules/caniuse-lite/data/features/ime.js +++ b/node_modules/caniuse-lite/data/features/ime.js @@ -1 +1 @@ -module.exports={A:{A:{"2":"K D E F A aC","161":"B"},B:{"2":"0 1 2 3 4 5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I","161":"C L M G N O P"},C:{"2":"0 1 2 3 4 5 6 7 8 9 bC DC J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC dC eC"},D:{"2":"0 1 2 3 4 5 6 7 8 9 J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC"},E:{"2":"J FB K D E F A B C L M G fC JC gC hC iC jC KC 7B 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC"},F:{"2":"F B C G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t qC rC sC tC 7B YC uC 8B"},G:{"2":"E JC vC ZC wC xC yC zC 0C 1C 2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC"},H:{"2":"HD"},I:{"2":"DC J I ID JD KD LD ZC MD ND"},J:{"2":"D A"},K:{"2":"A B C H 7B YC 8B"},L:{"2":"I"},M:{"2":"6B"},N:{"2":"A","161":"B"},O:{"2":"9B"},P:{"2":"J u v w x y z OD PD QD RD SD KC TD UD VD WD XD AC BC CC YD"},Q:{"2":"ZD"},R:{"2":"aD"},S:{"2":"bD cD"}},B:7,C:"Input Method Editor API",D:true}; +module.exports={A:{A:{"2":"K D E F A gC","161":"B"},B:{"2":"5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I","161":"C L M G N O P"},C:{"2":"0 1 2 3 4 5 6 7 8 9 hC IC J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC jC kC"},D:{"2":"0 1 2 3 4 5 6 7 8 9 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC"},E:{"2":"J LB K D E F A B C L M G lC OC mC nC oC pC PC CC DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC"},F:{"2":"0 1 2 3 4 F B C G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x xC yC zC 0C CC eC 1C DC"},G:{"2":"E OC 2C fC 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC"},H:{"2":"PD"},I:{"2":"IC J I QD RD SD TD fC UD VD"},J:{"2":"D A"},K:{"2":"A B C H CC eC DC"},L:{"2":"I"},M:{"2":"BC"},N:{"2":"A","161":"B"},O:{"2":"EC"},P:{"2":"0 1 2 3 4 J y z WD XD YD ZD aD PC bD cD dD eD fD FC GC HC gD"},Q:{"2":"hD"},R:{"2":"iD"},S:{"2":"jD kD"}},B:7,C:"Input Method Editor API",D:true}; diff --git a/node_modules/caniuse-lite/data/features/img-naturalwidth-naturalheight.js b/node_modules/caniuse-lite/data/features/img-naturalwidth-naturalheight.js index cb3d242669..2357f9f45a 100644 --- a/node_modules/caniuse-lite/data/features/img-naturalwidth-naturalheight.js +++ b/node_modules/caniuse-lite/data/features/img-naturalwidth-naturalheight.js @@ -1 +1 @@ -module.exports={A:{A:{"1":"F A B","2":"K D E aC"},B:{"1":"0 1 2 3 4 5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 bC DC J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC dC eC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC"},E:{"1":"J FB K D E F A B C L M G fC JC gC hC iC jC KC 7B 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC"},F:{"1":"F B C G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t qC rC sC tC 7B YC uC 8B"},G:{"1":"E JC vC ZC wC xC yC zC 0C 1C 2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC"},H:{"1":"HD"},I:{"1":"DC J I ID JD KD LD ZC MD ND"},J:{"1":"D A"},K:{"1":"A B C H 7B YC 8B"},L:{"1":"I"},M:{"1":"6B"},N:{"1":"A B"},O:{"1":"9B"},P:{"1":"J u v w x y z OD PD QD RD SD KC TD UD VD WD XD AC BC CC YD"},Q:{"1":"ZD"},R:{"1":"aD"},S:{"1":"bD cD"}},B:1,C:"naturalWidth & naturalHeight image properties",D:true}; +module.exports={A:{A:{"1":"F A B","2":"K D E gC"},B:{"1":"5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 hC IC J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC jC kC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC"},E:{"1":"J LB K D E F A B C L M G lC OC mC nC oC pC PC CC DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC"},F:{"1":"0 1 2 3 4 F B C G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x xC yC zC 0C CC eC 1C DC"},G:{"1":"E OC 2C fC 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC"},H:{"1":"PD"},I:{"1":"IC J I QD RD SD TD fC UD VD"},J:{"1":"D A"},K:{"1":"A B C H CC eC DC"},L:{"1":"I"},M:{"1":"BC"},N:{"1":"A B"},O:{"1":"EC"},P:{"1":"0 1 2 3 4 J y z WD XD YD ZD aD PC bD cD dD eD fD FC GC HC gD"},Q:{"1":"hD"},R:{"1":"iD"},S:{"1":"jD kD"}},B:1,C:"naturalWidth & naturalHeight image properties",D:true}; diff --git a/node_modules/caniuse-lite/data/features/import-maps.js b/node_modules/caniuse-lite/data/features/import-maps.js index 2000555765..5be33deee6 100644 --- a/node_modules/caniuse-lite/data/features/import-maps.js +++ b/node_modules/caniuse-lite/data/features/import-maps.js @@ -1 +1 @@ -module.exports={A:{A:{"2":"K D E F A B aC"},B:{"1":"0 1 2 3 4 5 6 7 8 9 Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I","2":"C L M G N O P","194":"Q H R S T U V W X"},C:{"1":"0 1 2 3 4 5 6 7 8 9 r s t AB BB CB DB EB I 6B HC IC cC","2":"bC DC J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k dC eC","322":"l m n o p q"},D:{"1":"0 1 2 3 4 5 6 7 8 9 Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC","2":"J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B","194":"1B 2B 3B 4B 5B Q H R S T U V W X"},E:{"1":"QC RC oC BC SC TC UC VC WC XC CC pC","2":"J FB K D E F A B C L M G fC JC gC hC iC jC KC 7B 8B kC lC mC LC MC 9B nC AC NC OC PC"},F:{"1":"3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t","2":"F B C G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB qC rC sC tC 7B YC uC 8B","194":"pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B"},G:{"1":"QC RC GD BC SC TC UC VC WC XC CC","2":"E JC vC ZC wC xC yC zC 0C 1C 2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC"},H:{"2":"HD"},I:{"1":"I","2":"DC J ID JD KD LD ZC MD ND"},J:{"2":"D A"},K:{"1":"H","2":"A B C 7B YC 8B"},L:{"1":"I"},M:{"1":"6B"},N:{"2":"A B"},O:{"1":"9B"},P:{"1":"u v w x y z XD AC BC CC YD","2":"J OD PD QD RD SD KC TD UD VD WD"},Q:{"2":"ZD"},R:{"1":"aD"},S:{"2":"bD cD"}},B:7,C:"Import maps",D:true}; +module.exports={A:{A:{"2":"K D E F A B gC"},B:{"1":"5 6 7 8 9 Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I","2":"C L M G N O P","194":"Q H R S T U V W X"},C:{"1":"5 6 7 8 9 r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC","2":"0 1 2 3 4 hC IC J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k jC kC","322":"l m n o p q"},D:{"1":"5 6 7 8 9 Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC","2":"0 1 2 3 4 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B","194":"6B 7B 8B 9B AC Q H R S T U V W X"},E:{"1":"VC WC uC GC XC YC ZC aC bC vC HC cC dC wC","2":"J LB K D E F A B C L M G lC OC mC nC oC pC PC CC DC qC rC sC QC RC EC tC FC SC TC UC"},F:{"1":"8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x","2":"0 1 2 3 4 F B C G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB xC yC zC 0C CC eC 1C DC","194":"uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B"},G:{"1":"VC WC ND GC XC YC ZC aC bC OD HC cC dC","2":"E OC 2C fC 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC"},H:{"2":"PD"},I:{"1":"I","2":"IC J QD RD SD TD fC UD VD"},J:{"2":"D A"},K:{"1":"H","2":"A B C CC eC DC"},L:{"1":"I"},M:{"1":"BC"},N:{"2":"A B"},O:{"1":"EC"},P:{"1":"0 1 2 3 4 y z fD FC GC HC gD","2":"J WD XD YD ZD aD PC bD cD dD eD"},Q:{"2":"hD"},R:{"1":"iD"},S:{"2":"jD kD"}},B:7,C:"Import maps",D:true}; diff --git a/node_modules/caniuse-lite/data/features/imports.js b/node_modules/caniuse-lite/data/features/imports.js index f6c7e1e104..f99a6b2efb 100644 --- a/node_modules/caniuse-lite/data/features/imports.js +++ b/node_modules/caniuse-lite/data/features/imports.js @@ -1 +1 @@ -module.exports={A:{A:{"2":"K D E F aC","8":"A B"},B:{"1":"Q","2":"0 1 2 3 4 5 6 7 8 9 H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I","8":"C L M G N O P"},C:{"2":"bC DC J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB dC eC","8":"0 1 2 3 4 5 6 7 8 9 LB MB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC","72":"NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB"},D:{"1":"RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q","2":"0 1 2 3 4 5 6 7 8 9 J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC","66":"LB MB NB OB PB","72":"QB"},E:{"2":"J FB fC JC gC","8":"K D E F A B C L M G hC iC jC KC 7B 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC"},F:{"1":"x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB","2":"F B C G N uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t qC rC sC tC 7B YC uC 8B","66":"O P GB u v","72":"w"},G:{"2":"JC vC ZC wC xC","8":"E yC zC 0C 1C 2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC"},H:{"2":"HD"},I:{"2":"DC J I ID JD KD LD ZC MD ND"},J:{"2":"D A"},K:{"2":"A B C H 7B YC 8B"},L:{"2":"I"},M:{"8":"6B"},N:{"2":"A B"},O:{"1":"9B"},P:{"1":"J OD PD QD RD SD KC TD UD","2":"u v w x y z VD WD XD AC BC CC YD"},Q:{"1":"ZD"},R:{"2":"aD"},S:{"1":"bD","8":"cD"}},B:5,C:"HTML Imports",D:true}; +module.exports={A:{A:{"2":"K D E F gC","8":"A B"},B:{"1":"Q","2":"5 6 7 8 9 H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I","8":"C L M G N O P"},C:{"2":"0 1 2 3 4 hC IC J LB K D E F A B C L M G N O P MB y z NB OB PB jC kC","8":"5 6 7 8 9 QB RB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC","72":"SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB"},D:{"1":"WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q","2":"0 1 2 3 4 5 6 7 8 9 J LB K D E F A B C L M G N O P MB y z NB OB PB H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC","66":"QB RB SB TB UB","72":"VB"},E:{"2":"J LB lC OC mC","8":"K D E F A B C L M G nC oC pC PC CC DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC"},F:{"1":"1 2 3 4 NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB","2":"F B C G N zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x xC yC zC 0C CC eC 1C DC","66":"O P MB y z","72":"0"},G:{"2":"OC 2C fC 3C 4C","8":"E 5C 6C 7C 8C 9C AD BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC"},H:{"2":"PD"},I:{"2":"IC J I QD RD SD TD fC UD VD"},J:{"2":"D A"},K:{"2":"A B C H CC eC DC"},L:{"2":"I"},M:{"8":"BC"},N:{"2":"A B"},O:{"1":"EC"},P:{"1":"J WD XD YD ZD aD PC bD cD","2":"0 1 2 3 4 y z dD eD fD FC GC HC gD"},Q:{"1":"hD"},R:{"2":"iD"},S:{"1":"jD","8":"kD"}},B:5,C:"HTML Imports",D:true}; diff --git a/node_modules/caniuse-lite/data/features/indeterminate-checkbox.js b/node_modules/caniuse-lite/data/features/indeterminate-checkbox.js index 3d9f7d7af2..618d904781 100644 --- a/node_modules/caniuse-lite/data/features/indeterminate-checkbox.js +++ b/node_modules/caniuse-lite/data/features/indeterminate-checkbox.js @@ -1 +1 @@ -module.exports={A:{A:{"1":"K D E F A B","16":"aC"},B:{"1":"0 1 2 3 4 5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC eC","2":"bC DC","16":"dC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC","2":"J FB K D E F A B C L M G N O P GB u v w x y z HB IB"},E:{"1":"K D E F A B C L M G hC iC jC KC 7B 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC","2":"J FB fC JC gC"},F:{"1":"C G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t uC 8B","2":"F B qC rC sC tC 7B YC"},G:{"1":"7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC","2":"E JC vC ZC wC xC yC zC 0C 1C 2C 3C 4C 5C 6C"},H:{"2":"HD"},I:{"1":"I MD ND","2":"DC J ID JD KD LD ZC"},J:{"2":"D A"},K:{"1":"H","2":"A B C 7B YC 8B"},L:{"1":"I"},M:{"1":"6B"},N:{"1":"A B"},O:{"1":"9B"},P:{"1":"J u v w x y z OD PD QD RD SD KC TD UD VD WD XD AC BC CC YD"},Q:{"1":"ZD"},R:{"1":"aD"},S:{"1":"bD cD"}},B:1,C:"indeterminate checkbox",D:true}; +module.exports={A:{A:{"1":"K D E F A B","16":"gC"},B:{"1":"5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC kC","2":"hC IC","16":"jC"},D:{"1":"5 6 7 8 9 OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC","2":"0 1 2 3 4 J LB K D E F A B C L M G N O P MB y z NB"},E:{"1":"K D E F A B C L M G nC oC pC PC CC DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC","2":"J LB lC OC mC"},F:{"1":"0 1 2 3 4 C G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x 1C DC","2":"F B xC yC zC 0C CC eC"},G:{"1":"ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC","2":"E OC 2C fC 3C 4C 5C 6C 7C 8C 9C AD BD CD DD"},H:{"2":"PD"},I:{"1":"I UD VD","2":"IC J QD RD SD TD fC"},J:{"2":"D A"},K:{"1":"H","2":"A B C CC eC DC"},L:{"1":"I"},M:{"1":"BC"},N:{"1":"A B"},O:{"1":"EC"},P:{"1":"0 1 2 3 4 J y z WD XD YD ZD aD PC bD cD dD eD fD FC GC HC gD"},Q:{"1":"hD"},R:{"1":"iD"},S:{"1":"jD kD"}},B:1,C:"indeterminate checkbox",D:true}; diff --git a/node_modules/caniuse-lite/data/features/indexeddb.js b/node_modules/caniuse-lite/data/features/indexeddb.js index 4e3ad93959..08adda7807 100644 --- a/node_modules/caniuse-lite/data/features/indexeddb.js +++ b/node_modules/caniuse-lite/data/features/indexeddb.js @@ -1 +1 @@ -module.exports={A:{A:{"2":"K D E F aC","132":"A B"},B:{"1":"0 1 2 3 4 5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I","132":"C L M G N O P"},C:{"1":"0 1 2 3 4 5 6 7 8 9 N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC","2":"bC DC dC eC","33":"A B C L M G","36":"J FB K D E F"},D:{"1":"0 1 2 3 4 5 6 7 8 9 y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC","2":"A","8":"J FB K D E F","33":"x","36":"B C L M G N O P GB u v w"},E:{"1":"A B C L M G KC 7B 8B kC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC","8":"J FB K D fC JC gC hC","260":"E F iC jC","516":"lC"},F:{"1":"G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t","2":"F qC rC","8":"B C sC tC 7B YC uC 8B"},G:{"1":"2C 3C 4C 5C 6C 7C 8C 9C AD BD CD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC","8":"JC vC ZC wC xC yC","260":"E zC 0C 1C","516":"DD"},H:{"2":"HD"},I:{"1":"I MD ND","8":"DC J ID JD KD LD ZC"},J:{"1":"A","8":"D"},K:{"1":"H","2":"A","8":"B C 7B YC 8B"},L:{"1":"I"},M:{"1":"6B"},N:{"132":"A B"},O:{"1":"9B"},P:{"1":"J u v w x y z OD PD QD RD SD KC TD UD VD WD XD AC BC CC YD"},Q:{"1":"ZD"},R:{"1":"aD"},S:{"1":"bD cD"}},B:2,C:"IndexedDB",D:true}; +module.exports={A:{A:{"2":"K D E F gC","132":"A B"},B:{"1":"5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I","132":"C L M G N O P"},C:{"1":"0 1 2 3 4 5 6 7 8 9 N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC","2":"hC IC jC kC","33":"A B C L M G","36":"J LB K D E F"},D:{"1":"2 3 4 5 6 7 8 9 NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC","2":"A","8":"J LB K D E F","33":"1","36":"0 B C L M G N O P MB y z"},E:{"1":"A B C L M G PC CC DC qC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC","8":"J LB K D lC OC mC nC","260":"E F oC pC","516":"rC"},F:{"1":"0 1 2 3 4 G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x","2":"F xC yC","8":"B C zC 0C CC eC 1C DC"},G:{"1":"9C AD BD CD DD ED FD GD HD ID JD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC","8":"OC 2C fC 3C 4C 5C","260":"E 6C 7C 8C","516":"KD"},H:{"2":"PD"},I:{"1":"I UD VD","8":"IC J QD RD SD TD fC"},J:{"1":"A","8":"D"},K:{"1":"H","2":"A","8":"B C CC eC DC"},L:{"1":"I"},M:{"1":"BC"},N:{"132":"A B"},O:{"1":"EC"},P:{"1":"0 1 2 3 4 J y z WD XD YD ZD aD PC bD cD dD eD fD FC GC HC gD"},Q:{"1":"hD"},R:{"1":"iD"},S:{"1":"jD kD"}},B:2,C:"IndexedDB",D:true}; diff --git a/node_modules/caniuse-lite/data/features/indexeddb2.js b/node_modules/caniuse-lite/data/features/indexeddb2.js index 7ceb12dad7..f3b6fb1128 100644 --- a/node_modules/caniuse-lite/data/features/indexeddb2.js +++ b/node_modules/caniuse-lite/data/features/indexeddb2.js @@ -1 +1 @@ -module.exports={A:{A:{"2":"K D E F A B aC"},B:{"1":"0 1 2 3 4 5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I","2":"C L M G N O P"},C:{"1":"0 1 2 3 4 5 6 7 8 9 gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC","2":"bC DC J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB dC eC","132":"ZB aB bB","260":"cB dB eB fB"},D:{"1":"0 1 2 3 4 5 6 7 8 9 nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC","2":"J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB","132":"dB eB fB gB","260":"hB iB jB kB lB mB"},E:{"1":"B C L M G KC 7B 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC","2":"J FB K D E F A fC JC gC hC iC jC"},F:{"1":"aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t","2":"F B C G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB qC rC sC tC 7B YC uC 8B","132":"QB RB SB TB","260":"UB VB WB XB YB ZB"},G:{"1":"3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC","2":"E JC vC ZC wC xC yC zC 0C 1C","16":"2C"},H:{"2":"HD"},I:{"1":"I","2":"DC J ID JD KD LD ZC MD ND"},J:{"2":"D A"},K:{"1":"H","2":"A B C 7B YC 8B"},L:{"1":"I"},M:{"1":"6B"},N:{"2":"A B"},O:{"1":"9B"},P:{"1":"u v w x y z QD RD SD KC TD UD VD WD XD AC BC CC YD","2":"J","260":"OD PD"},Q:{"1":"ZD"},R:{"1":"aD"},S:{"1":"cD","260":"bD"}},B:2,C:"IndexedDB 2.0",D:true}; +module.exports={A:{A:{"2":"K D E F A B gC"},B:{"1":"5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I","2":"C L M G N O P"},C:{"1":"5 6 7 8 9 lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC","2":"0 1 2 3 4 hC IC J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB jC kC","132":"eB fB gB","260":"hB iB jB kB"},D:{"1":"5 6 7 8 9 sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC","2":"0 1 2 3 4 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB","132":"iB jB kB lB","260":"mB nB oB pB qB rB"},E:{"1":"B C L M G PC CC DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC","2":"J LB K D E F A lC OC mC nC oC pC"},F:{"1":"fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x","2":"0 1 2 3 4 F B C G N O P MB y z NB OB PB QB RB SB TB UB xC yC zC 0C CC eC 1C DC","132":"VB WB XB YB","260":"ZB aB bB cB dB eB"},G:{"1":"AD BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC","2":"E OC 2C fC 3C 4C 5C 6C 7C 8C","16":"9C"},H:{"2":"PD"},I:{"1":"I","2":"IC J QD RD SD TD fC UD VD"},J:{"2":"D A"},K:{"1":"H","2":"A B C CC eC DC"},L:{"1":"I"},M:{"1":"BC"},N:{"2":"A B"},O:{"1":"EC"},P:{"1":"0 1 2 3 4 y z YD ZD aD PC bD cD dD eD fD FC GC HC gD","2":"J","260":"WD XD"},Q:{"1":"hD"},R:{"1":"iD"},S:{"1":"kD","260":"jD"}},B:2,C:"IndexedDB 2.0",D:true}; diff --git a/node_modules/caniuse-lite/data/features/inline-block.js b/node_modules/caniuse-lite/data/features/inline-block.js index 4260c504fb..8fda29f362 100644 --- a/node_modules/caniuse-lite/data/features/inline-block.js +++ b/node_modules/caniuse-lite/data/features/inline-block.js @@ -1 +1 @@ -module.exports={A:{A:{"1":"E F A B","4":"aC","132":"K D"},B:{"1":"0 1 2 3 4 5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 DC J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC dC eC","36":"bC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC"},E:{"1":"J FB K D E F A B C L M G fC JC gC hC iC jC KC 7B 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC"},F:{"1":"F B C G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t qC rC sC tC 7B YC uC 8B"},G:{"1":"E JC vC ZC wC xC yC zC 0C 1C 2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC"},H:{"1":"HD"},I:{"1":"DC J I ID JD KD LD ZC MD ND"},J:{"1":"D A"},K:{"1":"A B C H 7B YC 8B"},L:{"1":"I"},M:{"1":"6B"},N:{"1":"A B"},O:{"1":"9B"},P:{"1":"J u v w x y z OD PD QD RD SD KC TD UD VD WD XD AC BC CC YD"},Q:{"1":"ZD"},R:{"1":"aD"},S:{"1":"bD cD"}},B:2,C:"CSS inline-block",D:true}; +module.exports={A:{A:{"1":"E F A B","4":"gC","132":"K D"},B:{"1":"5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 IC J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC jC kC","36":"hC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC"},E:{"1":"J LB K D E F A B C L M G lC OC mC nC oC pC PC CC DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC"},F:{"1":"0 1 2 3 4 F B C G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x xC yC zC 0C CC eC 1C DC"},G:{"1":"E OC 2C fC 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC"},H:{"1":"PD"},I:{"1":"IC J I QD RD SD TD fC UD VD"},J:{"1":"D A"},K:{"1":"A B C H CC eC DC"},L:{"1":"I"},M:{"1":"BC"},N:{"1":"A B"},O:{"1":"EC"},P:{"1":"0 1 2 3 4 J y z WD XD YD ZD aD PC bD cD dD eD fD FC GC HC gD"},Q:{"1":"hD"},R:{"1":"iD"},S:{"1":"jD kD"}},B:2,C:"CSS inline-block",D:true}; diff --git a/node_modules/caniuse-lite/data/features/innertext.js b/node_modules/caniuse-lite/data/features/innertext.js index f65eb0a894..9d8477caf3 100644 --- a/node_modules/caniuse-lite/data/features/innertext.js +++ b/node_modules/caniuse-lite/data/features/innertext.js @@ -1 +1 @@ -module.exports={A:{A:{"1":"K D E F A B","16":"aC"},B:{"1":"0 1 2 3 4 5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC","2":"bC DC J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB dC eC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC"},E:{"1":"J FB K D E F A B C L M G JC gC hC iC jC KC 7B 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC","16":"fC"},F:{"1":"B C G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t qC rC sC tC 7B YC uC 8B","16":"F"},G:{"1":"E vC ZC wC xC yC zC 0C 1C 2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC","16":"JC"},H:{"1":"HD"},I:{"1":"DC J I KD LD ZC MD ND","16":"ID JD"},J:{"1":"D A"},K:{"1":"A B C H 7B YC 8B"},L:{"1":"I"},M:{"1":"6B"},N:{"1":"A B"},O:{"1":"9B"},P:{"1":"J u v w x y z OD PD QD RD SD KC TD UD VD WD XD AC BC CC YD"},Q:{"1":"ZD"},R:{"1":"aD"},S:{"1":"bD cD"}},B:1,C:"HTMLElement.innerText",D:true}; +module.exports={A:{A:{"1":"K D E F A B","16":"gC"},B:{"1":"5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I"},C:{"1":"5 6 7 8 9 fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC","2":"0 1 2 3 4 hC IC J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB jC kC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC"},E:{"1":"J LB K D E F A B C L M G OC mC nC oC pC PC CC DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC","16":"lC"},F:{"1":"0 1 2 3 4 B C G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x xC yC zC 0C CC eC 1C DC","16":"F"},G:{"1":"E 2C fC 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC","16":"OC"},H:{"1":"PD"},I:{"1":"IC J I SD TD fC UD VD","16":"QD RD"},J:{"1":"D A"},K:{"1":"A B C H CC eC DC"},L:{"1":"I"},M:{"1":"BC"},N:{"1":"A B"},O:{"1":"EC"},P:{"1":"0 1 2 3 4 J y z WD XD YD ZD aD PC bD cD dD eD fD FC GC HC gD"},Q:{"1":"hD"},R:{"1":"iD"},S:{"1":"jD kD"}},B:1,C:"HTMLElement.innerText",D:true}; diff --git a/node_modules/caniuse-lite/data/features/input-autocomplete-onoff.js b/node_modules/caniuse-lite/data/features/input-autocomplete-onoff.js index 60d288de93..9cd054667b 100644 --- a/node_modules/caniuse-lite/data/features/input-autocomplete-onoff.js +++ b/node_modules/caniuse-lite/data/features/input-autocomplete-onoff.js @@ -1 +1 @@ -module.exports={A:{A:{"1":"K D E F A aC","132":"B"},B:{"132":"C L M G N O P","260":"0 1 2 3 4 5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I"},C:{"1":"bC DC J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB dC eC","516":"0 1 2 3 4 5 6 7 8 9 LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC"},D:{"1":"O P GB u v w x y z HB","2":"J FB K D E F A B C L M G N","132":"IB JB KB LB MB NB OB PB QB RB SB TB UB VB","260":"0 1 2 3 4 5 6 7 8 9 WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC"},E:{"1":"K gC hC","2":"J FB fC JC","2052":"D E F A B C L M G iC jC KC 7B 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC"},F:{"1":"F B C G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t qC rC sC tC 7B YC uC 8B"},G:{"2":"JC vC ZC","1025":"E wC xC yC zC 0C 1C 2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC"},H:{"1025":"HD"},I:{"1":"DC J I ID JD KD LD ZC MD ND"},J:{"1":"D A"},K:{"1":"A B C H 7B YC 8B"},L:{"1":"I"},M:{"1":"6B"},N:{"2052":"A B"},O:{"1025":"9B"},P:{"1":"J u v w x y z OD PD QD RD SD KC TD UD VD WD XD AC BC CC YD"},Q:{"260":"ZD"},R:{"1":"aD"},S:{"516":"bD cD"}},B:1,C:"autocomplete attribute: on & off values",D:true}; +module.exports={A:{A:{"1":"K D E F A gC","132":"B"},B:{"132":"C L M G N O P","260":"5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I"},C:{"1":"0 1 2 3 4 hC IC J LB K D E F A B C L M G N O P MB y z NB OB PB jC kC","516":"5 6 7 8 9 QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC"},D:{"1":"0 1 2 3 4 O P MB y z","2":"J LB K D E F A B C L M G N","132":"NB OB PB QB RB SB TB UB VB WB XB YB ZB aB","260":"5 6 7 8 9 bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC"},E:{"1":"K mC nC","2":"J LB lC OC","2052":"D E F A B C L M G oC pC PC CC DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC"},F:{"1":"0 1 2 3 4 F B C G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x xC yC zC 0C CC eC 1C DC"},G:{"2":"OC 2C fC","1025":"E 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC"},H:{"1025":"PD"},I:{"1":"IC J I QD RD SD TD fC UD VD"},J:{"1":"D A"},K:{"1":"A B C H CC eC DC"},L:{"1":"I"},M:{"1":"BC"},N:{"2052":"A B"},O:{"1025":"EC"},P:{"1":"0 1 2 3 4 J y z WD XD YD ZD aD PC bD cD dD eD fD FC GC HC gD"},Q:{"260":"hD"},R:{"1":"iD"},S:{"516":"jD kD"}},B:1,C:"autocomplete attribute: on & off values",D:true}; diff --git a/node_modules/caniuse-lite/data/features/input-color.js b/node_modules/caniuse-lite/data/features/input-color.js index d0f93407ec..ab01687ae6 100644 --- a/node_modules/caniuse-lite/data/features/input-color.js +++ b/node_modules/caniuse-lite/data/features/input-color.js @@ -1 +1 @@ -module.exports={A:{A:{"2":"K D E F A B aC"},B:{"1":"0 1 2 3 4 5 6 7 8 9 M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I","2":"C L"},C:{"1":"0 1 2 3 4 5 6 7 8 9 KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC","2":"bC DC J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB dC eC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC","2":"J FB K D E F A B C L M G N O P GB"},E:{"1":"L M G 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC","2":"J FB K D E F A B C fC JC gC hC iC jC KC 7B"},F:{"1":"B C O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t 7B YC uC 8B","2":"F G N qC rC sC tC"},G:{"2":"E JC vC ZC wC xC yC zC 0C 1C 2C 3C 4C 5C 6C","129":"7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC"},H:{"2":"HD"},I:{"1":"I MD ND","2":"DC J ID JD KD LD ZC"},J:{"1":"D A"},K:{"1":"A B C H 7B YC 8B"},L:{"1":"I"},M:{"1":"6B"},N:{"2":"A B"},O:{"1":"9B"},P:{"1":"J u v w x y z OD PD QD RD SD KC TD UD VD WD XD AC BC CC YD"},Q:{"1":"ZD"},R:{"1":"aD"},S:{"1":"cD","2":"bD"}},B:1,C:"Color input type",D:true}; +module.exports={A:{A:{"2":"K D E F A B gC"},B:{"1":"5 6 7 8 9 M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I","2":"C L"},C:{"1":"5 6 7 8 9 PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC","2":"0 1 2 3 4 hC IC J LB K D E F A B C L M G N O P MB y z NB OB jC kC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC","2":"J LB K D E F A B C L M G N O P MB"},E:{"1":"L M G DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC","2":"J LB K D E F A B C lC OC mC nC oC pC PC CC"},F:{"1":"0 1 2 3 4 B C O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x CC eC 1C DC","2":"F G N xC yC zC 0C"},G:{"2":"E OC 2C fC 3C 4C 5C 6C 7C 8C 9C AD BD CD DD","129":"ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC"},H:{"2":"PD"},I:{"1":"I UD VD","2":"IC J QD RD SD TD fC"},J:{"1":"D A"},K:{"1":"A B C H CC eC DC"},L:{"1":"I"},M:{"1":"BC"},N:{"2":"A B"},O:{"1":"EC"},P:{"1":"0 1 2 3 4 J y z WD XD YD ZD aD PC bD cD dD eD fD FC GC HC gD"},Q:{"1":"hD"},R:{"1":"iD"},S:{"1":"kD","2":"jD"}},B:1,C:"Color input type",D:true}; diff --git a/node_modules/caniuse-lite/data/features/input-datetime.js b/node_modules/caniuse-lite/data/features/input-datetime.js index f0d8ff3450..fcf56895e5 100644 --- a/node_modules/caniuse-lite/data/features/input-datetime.js +++ b/node_modules/caniuse-lite/data/features/input-datetime.js @@ -1 +1 @@ -module.exports={A:{A:{"2":"K D E F A B aC"},B:{"1":"0 1 2 3 4 5 6 7 8 9 L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I","132":"C"},C:{"2":"bC DC J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB dC eC","1090":"iB jB kB lB","2052":"mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b","4100":"0 1 2 3 4 5 6 7 8 9 c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC","2":"J FB K D E F A B C L M G N O P GB","2052":"u v w x y"},E:{"2":"J FB K D E F A B C L M fC JC gC hC iC jC KC 7B 8B kC","4100":"G lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC"},F:{"1":"F B C G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t qC rC sC tC 7B YC uC 8B"},G:{"2":"JC vC ZC","260":"E wC xC yC zC 0C 1C 2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC"},H:{"2":"HD"},I:{"1":"I MD ND","2":"DC ID JD KD","514":"J LD ZC"},J:{"1":"A","2":"D"},K:{"1":"A B C H 7B YC 8B"},L:{"1":"I"},M:{"4100":"6B"},N:{"2":"A B"},O:{"1":"9B"},P:{"1":"J u v w x y z OD PD QD RD SD KC TD UD VD WD XD AC BC CC YD"},Q:{"1":"ZD"},R:{"1":"aD"},S:{"2052":"bD cD"}},B:1,C:"Date and time input types",D:true}; +module.exports={A:{A:{"2":"K D E F A B gC"},B:{"1":"5 6 7 8 9 L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I","132":"C"},C:{"2":"0 1 2 3 4 hC IC J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB jC kC","1090":"nB oB pB qB","2052":"rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b","4100":"5 6 7 8 9 c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC"},D:{"1":"3 4 5 6 7 8 9 NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC","2":"J LB K D E F A B C L M G N O P MB","2052":"0 1 2 y z"},E:{"2":"J LB K D E F A B C L M lC OC mC nC oC pC PC CC DC qC","4100":"G rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC"},F:{"1":"0 1 2 3 4 F B C G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x xC yC zC 0C CC eC 1C DC"},G:{"2":"OC 2C fC","260":"E 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC","8193":"dC"},H:{"2":"PD"},I:{"1":"I UD VD","2":"IC QD RD SD","514":"J TD fC"},J:{"1":"A","2":"D"},K:{"1":"A B C H CC eC DC"},L:{"1":"I"},M:{"4100":"BC"},N:{"2":"A B"},O:{"1":"EC"},P:{"1":"0 1 2 3 4 J y z WD XD YD ZD aD PC bD cD dD eD fD FC GC HC gD"},Q:{"1":"hD"},R:{"1":"iD"},S:{"2052":"jD kD"}},B:1,C:"Date and time input types",D:true}; diff --git a/node_modules/caniuse-lite/data/features/input-email-tel-url.js b/node_modules/caniuse-lite/data/features/input-email-tel-url.js index 3e70943f31..b4c730bf05 100644 --- a/node_modules/caniuse-lite/data/features/input-email-tel-url.js +++ b/node_modules/caniuse-lite/data/features/input-email-tel-url.js @@ -1 +1 @@ -module.exports={A:{A:{"1":"A B","2":"K D E F aC"},B:{"1":"0 1 2 3 4 5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC","2":"bC DC dC eC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC","2":"J"},E:{"1":"FB K D E F A B C L M G gC hC iC jC KC 7B 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC","2":"J fC JC"},F:{"1":"B C G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t qC rC sC tC 7B YC uC 8B","2":"F"},G:{"1":"E JC vC ZC wC xC yC zC 0C 1C 2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC"},H:{"2":"HD"},I:{"1":"DC J I LD ZC MD ND","132":"ID JD KD"},J:{"1":"A","132":"D"},K:{"1":"A B C H 7B YC 8B"},L:{"1":"I"},M:{"1":"6B"},N:{"1":"A B"},O:{"1":"9B"},P:{"1":"J u v w x y z OD PD QD RD SD KC TD UD VD WD XD AC BC CC YD"},Q:{"1":"ZD"},R:{"1":"aD"},S:{"1":"bD cD"}},B:1,C:"Email, telephone & URL input types",D:true}; +module.exports={A:{A:{"1":"A B","2":"K D E F gC"},B:{"1":"5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC","2":"hC IC jC kC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC","2":"J"},E:{"1":"LB K D E F A B C L M G mC nC oC pC PC CC DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC","2":"J lC OC"},F:{"1":"0 1 2 3 4 B C G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x xC yC zC 0C CC eC 1C DC","2":"F"},G:{"1":"E OC 2C fC 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC"},H:{"2":"PD"},I:{"1":"IC J I TD fC UD VD","132":"QD RD SD"},J:{"1":"A","132":"D"},K:{"1":"A B C H CC eC DC"},L:{"1":"I"},M:{"1":"BC"},N:{"1":"A B"},O:{"1":"EC"},P:{"1":"0 1 2 3 4 J y z WD XD YD ZD aD PC bD cD dD eD fD FC GC HC gD"},Q:{"1":"hD"},R:{"1":"iD"},S:{"1":"jD kD"}},B:1,C:"Email, telephone & URL input types",D:true}; diff --git a/node_modules/caniuse-lite/data/features/input-event.js b/node_modules/caniuse-lite/data/features/input-event.js index c3dd92b5be..cc3f80165e 100644 --- a/node_modules/caniuse-lite/data/features/input-event.js +++ b/node_modules/caniuse-lite/data/features/input-event.js @@ -1 +1 @@ -module.exports={A:{A:{"2":"K D E aC","2561":"A B","2692":"F"},B:{"1":"0 1 2 3 4 5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I","2561":"C L M G N O P"},C:{"1":"0 1 2 3 4 5 6 7 8 9 eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC","16":"bC","1537":"J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eC","1796":"DC dC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC","16":"J FB K D E F A B C L M","1025":"QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB","1537":"G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB"},E:{"1":"M G kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC","16":"J FB K fC JC","1025":"D E F A B C hC iC jC KC 7B","1537":"gC","4097":"L 8B"},F:{"1":"hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t 8B","16":"F B C qC rC sC tC 7B YC","260":"uC","1025":"w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB","1537":"G N O P GB u v"},G:{"1":"9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC","16":"JC vC ZC","1025":"E zC 0C 1C 2C 3C 4C 5C 6C","1537":"wC xC yC","4097":"7C 8C"},H:{"2":"HD"},I:{"16":"ID JD","1025":"I ND","1537":"DC J KD LD ZC MD"},J:{"1025":"A","1537":"D"},K:{"1":"A B C H 7B YC 8B"},L:{"1":"I"},M:{"1":"6B"},N:{"2561":"A B"},O:{"1":"9B"},P:{"1025":"J u v w x y z OD PD QD RD SD KC TD UD VD WD XD AC BC CC YD"},Q:{"1":"ZD"},R:{"1":"aD"},S:{"1":"cD","1537":"bD"}},B:1,C:"input event",D:true}; +module.exports={A:{A:{"2":"K D E gC","2561":"A B","2692":"F"},B:{"1":"5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I","2561":"C L M G N O P"},C:{"1":"5 6 7 8 9 jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC","16":"hC","1537":"0 1 2 3 4 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB kC","1796":"IC jC"},D:{"1":"5 6 7 8 9 yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC","16":"J LB K D E F A B C L M","1025":"VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB","1537":"0 1 2 3 4 G N O P MB y z NB OB PB QB RB SB TB UB"},E:{"1":"M G qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC","16":"J LB K lC OC","1025":"D E F A B C nC oC pC PC CC","1537":"mC","4097":"L DC"},F:{"1":"mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x DC","16":"F B C xC yC zC 0C CC eC","260":"1C","1025":"0 1 2 3 4 NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB","1537":"G N O P MB y z"},G:{"1":"GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC","16":"OC 2C fC","1025":"E 6C 7C 8C 9C AD BD CD DD","1537":"3C 4C 5C","4097":"ED FD"},H:{"2":"PD"},I:{"16":"QD RD","1025":"I VD","1537":"IC J SD TD fC UD"},J:{"1025":"A","1537":"D"},K:{"1":"A B C H CC eC DC"},L:{"1":"I"},M:{"1":"BC"},N:{"2561":"A B"},O:{"1":"EC"},P:{"1025":"0 1 2 3 4 J y z WD XD YD ZD aD PC bD cD dD eD fD FC GC HC gD"},Q:{"1":"hD"},R:{"1":"iD"},S:{"1":"kD","1537":"jD"}},B:1,C:"input event",D:true}; diff --git a/node_modules/caniuse-lite/data/features/input-file-accept.js b/node_modules/caniuse-lite/data/features/input-file-accept.js index 134f3e225d..626b810ce0 100644 --- a/node_modules/caniuse-lite/data/features/input-file-accept.js +++ b/node_modules/caniuse-lite/data/features/input-file-accept.js @@ -1 +1 @@ -module.exports={A:{A:{"1":"A B","2":"K D E F aC"},B:{"1":"0 1 2 3 4 5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I","2":"C L M G N O P"},C:{"1":"0 1 2 3 4 5 6 7 8 9 SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC","2":"bC DC dC eC","132":"J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB"},D:{"1":"0 1 2 3 4 5 6 7 8 9 HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC","2":"J","16":"FB K D E v w x y z","132":"F A B C L M G N O P GB u"},E:{"1":"C L M G 7B 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC","2":"J FB fC JC gC","132":"K D E F A B hC iC jC KC"},F:{"1":"G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t","2":"F B C qC rC sC tC 7B YC uC 8B"},G:{"2":"xC yC","132":"E zC 0C 1C 2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC","514":"JC vC ZC wC"},H:{"2":"HD"},I:{"2":"ID JD KD","260":"DC J LD ZC","514":"I MD ND"},J:{"132":"A","260":"D"},K:{"2":"A B C 7B YC 8B","514":"H"},L:{"260":"I"},M:{"2":"6B"},N:{"514":"A","1028":"B"},O:{"2":"9B"},P:{"260":"J u v w x y z OD PD QD RD SD KC TD UD VD WD XD AC BC CC YD"},Q:{"260":"ZD"},R:{"260":"aD"},S:{"1":"bD cD"}},B:1,C:"accept attribute for file input",D:true}; +module.exports={A:{A:{"1":"A B","2":"K D E F gC"},B:{"1":"5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I","2":"C L M G N O P"},C:{"1":"5 6 7 8 9 XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC","2":"hC IC jC kC","132":"0 1 2 3 4 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB"},D:{"1":"4 5 6 7 8 9 NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC","2":"J","16":"0 1 2 3 LB K D E z","132":"F A B C L M G N O P MB y"},E:{"1":"C L M G CC DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC","2":"J LB lC OC mC","132":"K D E F A B nC oC pC PC"},F:{"1":"0 1 2 3 4 G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x","2":"F B C xC yC zC 0C CC eC 1C DC"},G:{"2":"4C 5C","132":"E 6C 7C 8C 9C AD BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC","514":"OC 2C fC 3C"},H:{"2":"PD"},I:{"2":"QD RD SD","260":"IC J TD fC","514":"I UD VD"},J:{"132":"A","260":"D"},K:{"2":"A B C CC eC DC","514":"H"},L:{"260":"I"},M:{"2":"BC"},N:{"514":"A","1028":"B"},O:{"2":"EC"},P:{"260":"0 1 2 3 4 J y z WD XD YD ZD aD PC bD cD dD eD fD FC GC HC gD"},Q:{"260":"hD"},R:{"260":"iD"},S:{"1":"jD kD"}},B:1,C:"accept attribute for file input",D:true}; diff --git a/node_modules/caniuse-lite/data/features/input-file-directory.js b/node_modules/caniuse-lite/data/features/input-file-directory.js index ef777a186d..c4d824a6a8 100644 --- a/node_modules/caniuse-lite/data/features/input-file-directory.js +++ b/node_modules/caniuse-lite/data/features/input-file-directory.js @@ -1 +1 @@ -module.exports={A:{A:{"2":"K D E F A B aC"},B:{"1":"0 1 2 3 4 5 6 7 8 9 M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I","2":"C L"},C:{"1":"0 1 2 3 4 5 6 7 8 9 fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC","2":"bC DC J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB dC eC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC","2":"J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB"},E:{"1":"C L M G 7B 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC","2":"J FB K D E F A B fC JC gC hC iC jC KC"},F:{"1":"O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t","2":"F B C G N qC rC sC tC 7B YC uC 8B"},G:{"2":"E JC vC ZC wC xC yC zC 0C 1C 2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC"},H:{"2":"HD"},I:{"2":"DC J I ID JD KD LD ZC MD ND"},J:{"2":"D A"},K:{"2":"A B C H 7B YC 8B"},L:{"2":"I"},M:{"2":"6B"},N:{"2":"A B"},O:{"2":"9B"},P:{"2":"J u v w x y z OD PD QD RD SD KC TD UD VD WD XD AC BC CC YD"},Q:{"1":"ZD"},R:{"2":"aD"},S:{"2":"bD cD"}},B:7,C:"Directory selection from file input",D:true}; +module.exports={A:{A:{"2":"K D E F A B gC"},B:{"1":"5 6 7 8 9 M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I","2":"C L"},C:{"1":"5 6 7 8 9 kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC","2":"0 1 2 3 4 hC IC J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB jC kC"},D:{"1":"5 6 7 8 9 QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC","2":"0 1 2 3 4 J LB K D E F A B C L M G N O P MB y z NB OB PB"},E:{"1":"C L M G CC DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC","2":"J LB K D E F A B lC OC mC nC oC pC PC"},F:{"1":"0 1 2 3 4 O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x","2":"F B C G N xC yC zC 0C CC eC 1C DC"},G:{"2":"E OC 2C fC 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC"},H:{"2":"PD"},I:{"2":"IC J I QD RD SD TD fC UD VD"},J:{"2":"D A"},K:{"2":"A B C H CC eC DC"},L:{"2":"I"},M:{"2":"BC"},N:{"2":"A B"},O:{"2":"EC"},P:{"2":"0 1 2 3 4 J y z WD XD YD ZD aD PC bD cD dD eD fD FC GC HC gD"},Q:{"1":"hD"},R:{"2":"iD"},S:{"2":"jD kD"}},B:7,C:"Directory selection from file input",D:true}; diff --git a/node_modules/caniuse-lite/data/features/input-file-multiple.js b/node_modules/caniuse-lite/data/features/input-file-multiple.js index 80b6ffc428..02cd8801d1 100644 --- a/node_modules/caniuse-lite/data/features/input-file-multiple.js +++ b/node_modules/caniuse-lite/data/features/input-file-multiple.js @@ -1 +1 @@ -module.exports={A:{A:{"1":"A B","2":"K D E F aC"},B:{"1":"0 1 2 3 4 5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC eC","2":"bC DC dC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC","2":"J"},E:{"1":"J FB K D E F A B C L M G gC hC iC jC KC 7B 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC","2":"fC JC"},F:{"1":"B C G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t tC 7B YC uC 8B","2":"F qC rC sC"},G:{"1":"E xC yC zC 0C 1C 2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC","2":"JC vC ZC wC"},H:{"130":"HD"},I:{"130":"DC J I ID JD KD LD ZC MD ND"},J:{"2":"D A"},K:{"1":"H","130":"A B C 7B YC 8B"},L:{"132":"I"},M:{"1":"6B"},N:{"2":"A B"},O:{"130":"9B"},P:{"130":"J","132":"u v w x y z OD PD QD RD SD KC TD UD VD WD XD AC BC CC YD"},Q:{"132":"ZD"},R:{"132":"aD"},S:{"1":"cD","2":"bD"}},B:1,C:"Multiple file selection",D:true}; +module.exports={A:{A:{"1":"A B","2":"K D E F gC"},B:{"1":"5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC kC","2":"hC IC jC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC","2":"J"},E:{"1":"J LB K D E F A B C L M G mC nC oC pC PC CC DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC","2":"lC OC"},F:{"1":"0 1 2 3 4 B C G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x 0C CC eC 1C DC","2":"F xC yC zC"},G:{"1":"E 4C 5C 6C 7C 8C 9C AD BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC","2":"OC 2C fC 3C"},H:{"130":"PD"},I:{"130":"IC J I QD RD SD TD fC UD VD"},J:{"2":"D A"},K:{"1":"H","130":"A B C CC eC DC"},L:{"132":"I"},M:{"1":"BC"},N:{"2":"A B"},O:{"130":"EC"},P:{"130":"J","132":"0 1 2 3 4 y z WD XD YD ZD aD PC bD cD dD eD fD FC GC HC gD"},Q:{"132":"hD"},R:{"132":"iD"},S:{"1":"kD","2":"jD"}},B:1,C:"Multiple file selection",D:true}; diff --git a/node_modules/caniuse-lite/data/features/input-inputmode.js b/node_modules/caniuse-lite/data/features/input-inputmode.js index 7aa77cdb11..3329f708c2 100644 --- a/node_modules/caniuse-lite/data/features/input-inputmode.js +++ b/node_modules/caniuse-lite/data/features/input-inputmode.js @@ -1 +1 @@ -module.exports={A:{A:{"2":"K D E F A B aC"},B:{"1":"0 1 2 3 4 5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I","2":"C L M G N O P"},C:{"1":"0 1 2 3 4 5 6 7 8 9 e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC","2":"bC DC J FB K D E F A B C L M G N dC eC","4":"O P GB u","194":"v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d"},D:{"1":"0 1 2 3 4 5 6 7 8 9 tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC","2":"J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB","66":"lB mB nB EC oB FC pB qB rB sB"},E:{"2":"J FB K D E F A B C L M G fC JC gC hC iC jC KC 7B 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC"},F:{"1":"iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t","2":"F B C G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB qC rC sC tC 7B YC uC 8B","66":"YB ZB aB bB cB dB eB fB gB hB"},G:{"1":"7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC","2":"E JC vC ZC wC xC yC zC 0C 1C 2C 3C 4C 5C 6C"},H:{"2":"HD"},I:{"1":"I","2":"DC J ID JD KD LD ZC MD ND"},J:{"2":"D A"},K:{"1":"H","2":"A B C 7B YC 8B"},L:{"1":"I"},M:{"1":"6B"},N:{"2":"A B"},O:{"1":"9B"},P:{"1":"u v w x y z SD KC TD UD VD WD XD AC BC CC YD","2":"J OD PD QD RD"},Q:{"1":"ZD"},R:{"1":"aD"},S:{"194":"bD cD"}},B:1,C:"inputmode attribute",D:true}; +module.exports={A:{A:{"2":"K D E F A B gC"},B:{"1":"5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I","2":"C L M G N O P"},C:{"1":"5 6 7 8 9 e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC","2":"hC IC J LB K D E F A B C L M G N jC kC","4":"O P MB y","194":"0 1 2 3 4 z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d"},D:{"1":"5 6 7 8 9 yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC","2":"0 1 2 3 4 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB","66":"qB rB sB JC tB KC uB vB wB xB"},E:{"2":"J LB K D E F A B C L M G lC OC mC nC oC pC PC CC DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC"},F:{"1":"nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x","2":"0 1 2 3 4 F B C G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB xC yC zC 0C CC eC 1C DC","66":"dB eB fB gB hB iB jB kB lB mB"},G:{"1":"ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC","2":"E OC 2C fC 3C 4C 5C 6C 7C 8C 9C AD BD CD DD"},H:{"2":"PD"},I:{"1":"I","2":"IC J QD RD SD TD fC UD VD"},J:{"2":"D A"},K:{"1":"H","2":"A B C CC eC DC"},L:{"1":"I"},M:{"1":"BC"},N:{"2":"A B"},O:{"1":"EC"},P:{"1":"0 1 2 3 4 y z aD PC bD cD dD eD fD FC GC HC gD","2":"J WD XD YD ZD"},Q:{"1":"hD"},R:{"1":"iD"},S:{"194":"jD kD"}},B:1,C:"inputmode attribute",D:true}; diff --git a/node_modules/caniuse-lite/data/features/input-minlength.js b/node_modules/caniuse-lite/data/features/input-minlength.js index 484b89f73b..752445c51e 100644 --- a/node_modules/caniuse-lite/data/features/input-minlength.js +++ b/node_modules/caniuse-lite/data/features/input-minlength.js @@ -1 +1 @@ -module.exports={A:{A:{"2":"K D E F A B aC"},B:{"1":"0 1 2 3 4 5 6 7 8 9 O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I","2":"C L M G N"},C:{"1":"0 1 2 3 4 5 6 7 8 9 gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC","2":"bC DC J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB dC eC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC","2":"J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB"},E:{"1":"B C L M G KC 7B 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC","2":"J FB K D E F A fC JC gC hC iC jC"},F:{"1":"IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t","2":"F B C G N O P GB u v w x y z HB qC rC sC tC 7B YC uC 8B"},G:{"1":"3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC","2":"E JC vC ZC wC xC yC zC 0C 1C 2C"},H:{"2":"HD"},I:{"1":"I","2":"DC J ID JD KD LD ZC MD ND"},J:{"2":"D A"},K:{"1":"H","2":"A B C 7B YC 8B"},L:{"1":"I"},M:{"1":"6B"},N:{"2":"A B"},O:{"1":"9B"},P:{"1":"u v w x y z OD PD QD RD SD KC TD UD VD WD XD AC BC CC YD","2":"J"},Q:{"1":"ZD"},R:{"1":"aD"},S:{"1":"cD","2":"bD"}},B:1,C:"Minimum length attribute for input fields",D:true}; +module.exports={A:{A:{"2":"K D E F A B gC"},B:{"1":"5 6 7 8 9 O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I","2":"C L M G N"},C:{"1":"5 6 7 8 9 lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC","2":"0 1 2 3 4 hC IC J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB jC kC"},D:{"1":"5 6 7 8 9 aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC","2":"0 1 2 3 4 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB"},E:{"1":"B C L M G PC CC DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC","2":"J LB K D E F A lC OC mC nC oC pC"},F:{"1":"NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x","2":"0 1 2 3 4 F B C G N O P MB y z xC yC zC 0C CC eC 1C DC"},G:{"1":"AD BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC","2":"E OC 2C fC 3C 4C 5C 6C 7C 8C 9C"},H:{"2":"PD"},I:{"1":"I","2":"IC J QD RD SD TD fC UD VD"},J:{"2":"D A"},K:{"1":"H","2":"A B C CC eC DC"},L:{"1":"I"},M:{"1":"BC"},N:{"2":"A B"},O:{"1":"EC"},P:{"1":"0 1 2 3 4 y z WD XD YD ZD aD PC bD cD dD eD fD FC GC HC gD","2":"J"},Q:{"1":"hD"},R:{"1":"iD"},S:{"1":"kD","2":"jD"}},B:1,C:"Minimum length attribute for input fields",D:true}; diff --git a/node_modules/caniuse-lite/data/features/input-number.js b/node_modules/caniuse-lite/data/features/input-number.js index 4097a7b746..8fd1df2433 100644 --- a/node_modules/caniuse-lite/data/features/input-number.js +++ b/node_modules/caniuse-lite/data/features/input-number.js @@ -1 +1 @@ -module.exports={A:{A:{"2":"K D E F aC","129":"A B"},B:{"1":"0 1 2 3 4 5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I","129":"C L","1025":"M G N O P"},C:{"2":"bC DC J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB dC eC","513":"0 1 2 3 4 5 6 7 8 9 KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC","2":"J FB"},E:{"1":"FB K D E F A B C L M G gC hC iC jC KC 7B 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC","2":"J fC JC"},F:{"1":"F B C G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t qC rC sC tC 7B YC uC 8B"},G:{"388":"E JC vC ZC wC xC yC zC 0C 1C 2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC"},H:{"2":"HD"},I:{"2":"DC ID JD KD","388":"J I LD ZC MD ND"},J:{"2":"D","388":"A"},K:{"1":"A B C 7B YC 8B","388":"H"},L:{"388":"I"},M:{"641":"6B"},N:{"388":"A B"},O:{"388":"9B"},P:{"388":"J u v w x y z OD PD QD RD SD KC TD UD VD WD XD AC BC CC YD"},Q:{"388":"ZD"},R:{"388":"aD"},S:{"513":"bD cD"}},B:1,C:"Number input type",D:true}; +module.exports={A:{A:{"2":"K D E F gC","129":"A B"},B:{"1":"5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I","129":"C L","1025":"M G N O P"},C:{"2":"0 1 2 3 4 hC IC J LB K D E F A B C L M G N O P MB y z NB OB jC kC","513":"5 6 7 8 9 PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC","2":"J LB"},E:{"1":"LB K D E F A B C L M G mC nC oC pC PC CC DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC","2":"J lC OC"},F:{"1":"0 1 2 3 4 F B C G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x xC yC zC 0C CC eC 1C DC"},G:{"388":"E OC 2C fC 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC"},H:{"2":"PD"},I:{"2":"IC QD RD SD","388":"J I TD fC UD VD"},J:{"2":"D","388":"A"},K:{"1":"A B C CC eC DC","388":"H"},L:{"388":"I"},M:{"641":"BC"},N:{"388":"A B"},O:{"388":"EC"},P:{"388":"0 1 2 3 4 J y z WD XD YD ZD aD PC bD cD dD eD fD FC GC HC gD"},Q:{"388":"hD"},R:{"388":"iD"},S:{"513":"jD kD"}},B:1,C:"Number input type",D:true}; diff --git a/node_modules/caniuse-lite/data/features/input-pattern.js b/node_modules/caniuse-lite/data/features/input-pattern.js index a3fa2f85bc..fe796f99db 100644 --- a/node_modules/caniuse-lite/data/features/input-pattern.js +++ b/node_modules/caniuse-lite/data/features/input-pattern.js @@ -1 +1 @@ -module.exports={A:{A:{"1":"A B","2":"K D E F aC"},B:{"1":"0 1 2 3 4 5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC","2":"bC DC dC eC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC","2":"J FB K D E F"},E:{"1":"B C L M G KC 7B 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC","2":"J fC JC","16":"FB","388":"K D E F A gC hC iC jC"},F:{"1":"B C G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t qC rC sC tC 7B YC uC 8B","2":"F"},G:{"1":"3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC","16":"JC vC ZC","388":"E wC xC yC zC 0C 1C 2C"},H:{"2":"HD"},I:{"1":"I ND","2":"DC J ID JD KD LD ZC MD"},J:{"1":"A","2":"D"},K:{"1":"A B C H 7B YC 8B"},L:{"1":"I"},M:{"1":"6B"},N:{"132":"A B"},O:{"1":"9B"},P:{"1":"J u v w x y z OD PD QD RD SD KC TD UD VD WD XD AC BC CC YD"},Q:{"1":"ZD"},R:{"1":"aD"},S:{"1":"bD cD"}},B:1,C:"Pattern attribute for input fields",D:true}; +module.exports={A:{A:{"1":"A B","2":"K D E F gC"},B:{"1":"5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC","2":"hC IC jC kC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC","2":"J LB K D E F"},E:{"1":"B C L M G PC CC DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC","2":"J lC OC","16":"LB","388":"K D E F A mC nC oC pC"},F:{"1":"0 1 2 3 4 B C G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x xC yC zC 0C CC eC 1C DC","2":"F"},G:{"1":"AD BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC","16":"OC 2C fC","388":"E 3C 4C 5C 6C 7C 8C 9C"},H:{"2":"PD"},I:{"1":"I VD","2":"IC J QD RD SD TD fC UD"},J:{"1":"A","2":"D"},K:{"1":"A B C H CC eC DC"},L:{"1":"I"},M:{"1":"BC"},N:{"132":"A B"},O:{"1":"EC"},P:{"1":"0 1 2 3 4 J y z WD XD YD ZD aD PC bD cD dD eD fD FC GC HC gD"},Q:{"1":"hD"},R:{"1":"iD"},S:{"1":"jD kD"}},B:1,C:"Pattern attribute for input fields",D:true}; diff --git a/node_modules/caniuse-lite/data/features/input-placeholder.js b/node_modules/caniuse-lite/data/features/input-placeholder.js index b05cc45533..990f15f53b 100644 --- a/node_modules/caniuse-lite/data/features/input-placeholder.js +++ b/node_modules/caniuse-lite/data/features/input-placeholder.js @@ -1 +1 @@ -module.exports={A:{A:{"1":"A B","2":"K D E F aC"},B:{"1":"0 1 2 3 4 5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC","2":"bC DC dC eC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC"},E:{"1":"FB K D E F A B C L M G gC hC iC jC KC 7B 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC","132":"J fC JC"},F:{"1":"C G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t YC uC 8B","2":"F qC rC sC tC","132":"B 7B"},G:{"1":"E JC vC ZC wC xC yC zC 0C 1C 2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC"},H:{"1":"HD"},I:{"1":"DC I ID JD KD ZC MD ND","4":"J LD"},J:{"1":"D A"},K:{"1":"B C H 7B YC 8B","2":"A"},L:{"1":"I"},M:{"1":"6B"},N:{"1":"A B"},O:{"1":"9B"},P:{"1":"J u v w x y z OD PD QD RD SD KC TD UD VD WD XD AC BC CC YD"},Q:{"1":"ZD"},R:{"1":"aD"},S:{"1":"bD cD"}},B:1,C:"input placeholder attribute",D:true}; +module.exports={A:{A:{"1":"A B","2":"K D E F gC"},B:{"1":"5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC","2":"hC IC jC kC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC"},E:{"1":"LB K D E F A B C L M G mC nC oC pC PC CC DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC","132":"J lC OC"},F:{"1":"0 1 2 3 4 C G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x eC 1C DC","2":"F xC yC zC 0C","132":"B CC"},G:{"1":"E OC 2C fC 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC"},H:{"1":"PD"},I:{"1":"IC I QD RD SD fC UD VD","4":"J TD"},J:{"1":"D A"},K:{"1":"B C H CC eC DC","2":"A"},L:{"1":"I"},M:{"1":"BC"},N:{"1":"A B"},O:{"1":"EC"},P:{"1":"0 1 2 3 4 J y z WD XD YD ZD aD PC bD cD dD eD fD FC GC HC gD"},Q:{"1":"hD"},R:{"1":"iD"},S:{"1":"jD kD"}},B:1,C:"input placeholder attribute",D:true}; diff --git a/node_modules/caniuse-lite/data/features/input-range.js b/node_modules/caniuse-lite/data/features/input-range.js index a7401b4adb..c520bb6003 100644 --- a/node_modules/caniuse-lite/data/features/input-range.js +++ b/node_modules/caniuse-lite/data/features/input-range.js @@ -1 +1 @@ -module.exports={A:{A:{"1":"A B","2":"K D E F aC"},B:{"1":"0 1 2 3 4 5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC","2":"bC DC J FB K D E F A B C L M G N O P GB u v w dC eC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC"},E:{"1":"J FB K D E F A B C L M G fC JC gC hC iC jC KC 7B 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC"},F:{"1":"F B C G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t qC rC sC tC 7B YC uC 8B"},G:{"1":"E wC xC yC zC 0C 1C 2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC","2":"JC vC ZC"},H:{"2":"HD"},I:{"1":"I ZC MD ND","4":"DC J ID JD KD LD"},J:{"1":"D A"},K:{"1":"A B C H 7B YC 8B"},L:{"1":"I"},M:{"1":"6B"},N:{"1":"A B"},O:{"1":"9B"},P:{"1":"J u v w x y z OD PD QD RD SD KC TD UD VD WD XD AC BC CC YD"},Q:{"1":"ZD"},R:{"1":"aD"},S:{"1":"bD cD"}},B:1,C:"Range input type",D:true}; +module.exports={A:{A:{"1":"A B","2":"K D E F gC"},B:{"1":"5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I"},C:{"1":"1 2 3 4 5 6 7 8 9 NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC","2":"0 hC IC J LB K D E F A B C L M G N O P MB y z jC kC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC"},E:{"1":"J LB K D E F A B C L M G lC OC mC nC oC pC PC CC DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC"},F:{"1":"0 1 2 3 4 F B C G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x xC yC zC 0C CC eC 1C DC"},G:{"1":"E 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC","2":"OC 2C fC"},H:{"2":"PD"},I:{"1":"I fC UD VD","4":"IC J QD RD SD TD"},J:{"1":"D A"},K:{"1":"A B C H CC eC DC"},L:{"1":"I"},M:{"1":"BC"},N:{"1":"A B"},O:{"1":"EC"},P:{"1":"0 1 2 3 4 J y z WD XD YD ZD aD PC bD cD dD eD fD FC GC HC gD"},Q:{"1":"hD"},R:{"1":"iD"},S:{"1":"jD kD"}},B:1,C:"Range input type",D:true}; diff --git a/node_modules/caniuse-lite/data/features/input-search.js b/node_modules/caniuse-lite/data/features/input-search.js index b771264f80..c3a93a259c 100644 --- a/node_modules/caniuse-lite/data/features/input-search.js +++ b/node_modules/caniuse-lite/data/features/input-search.js @@ -1 +1 @@ -module.exports={A:{A:{"2":"K D E F aC","129":"A B"},B:{"1":"0 1 2 3 4 5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I","129":"C L M G N O P"},C:{"2":"bC DC dC eC","129":"0 1 2 3 4 5 6 7 8 9 J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC","16":"J FB K D E F A B C L M v w x y z","129":"G N O P GB u"},E:{"1":"K D E F A B C L M G gC hC iC jC KC 7B 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC","16":"J FB fC JC"},F:{"1":"C G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t uC 8B","2":"F qC rC sC tC","16":"B 7B YC"},G:{"1":"E wC xC yC zC 0C 1C 2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC","16":"JC vC ZC"},H:{"129":"HD"},I:{"1":"I MD ND","16":"ID JD","129":"DC J KD LD ZC"},J:{"1":"D","129":"A"},K:{"1":"C H","2":"A","16":"B 7B YC","129":"8B"},L:{"1":"I"},M:{"129":"6B"},N:{"129":"A B"},O:{"1":"9B"},P:{"1":"J u v w x y z OD PD QD RD SD KC TD UD VD WD XD AC BC CC YD"},Q:{"1":"ZD"},R:{"1":"aD"},S:{"129":"bD cD"}},B:1,C:"Search input type",D:true}; +module.exports={A:{A:{"2":"K D E F gC","129":"A B"},B:{"1":"5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I","129":"C L M G N O P"},C:{"2":"hC IC jC kC","129":"0 1 2 3 4 5 6 7 8 9 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC"},D:{"1":"4 5 6 7 8 9 NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC","16":"0 1 2 3 J LB K D E F A B C L M z","129":"G N O P MB y"},E:{"1":"K D E F A B C L M G mC nC oC pC PC CC DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC","16":"J LB lC OC"},F:{"1":"0 1 2 3 4 C G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x 1C DC","2":"F xC yC zC 0C","16":"B CC eC"},G:{"1":"E 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC","16":"OC 2C fC"},H:{"129":"PD"},I:{"1":"I UD VD","16":"QD RD","129":"IC J SD TD fC"},J:{"1":"D","129":"A"},K:{"1":"C H","2":"A","16":"B CC eC","129":"DC"},L:{"1":"I"},M:{"129":"BC"},N:{"129":"A B"},O:{"1":"EC"},P:{"1":"0 1 2 3 4 J y z WD XD YD ZD aD PC bD cD dD eD fD FC GC HC gD"},Q:{"1":"hD"},R:{"1":"iD"},S:{"129":"jD kD"}},B:1,C:"Search input type",D:true}; diff --git a/node_modules/caniuse-lite/data/features/input-selection.js b/node_modules/caniuse-lite/data/features/input-selection.js index 303a530816..231195bf51 100644 --- a/node_modules/caniuse-lite/data/features/input-selection.js +++ b/node_modules/caniuse-lite/data/features/input-selection.js @@ -1 +1 @@ -module.exports={A:{A:{"1":"F A B","2":"K D E aC"},B:{"1":"0 1 2 3 4 5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 bC DC J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC dC eC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC"},E:{"1":"J FB K D E F A B C L M G gC hC iC jC KC 7B 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC","16":"fC JC"},F:{"1":"B C G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t tC 7B YC uC 8B","16":"F qC rC sC"},G:{"1":"E vC ZC wC xC yC zC 0C 1C 2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC","16":"JC"},H:{"2":"HD"},I:{"1":"DC J I ID JD KD LD ZC MD ND"},J:{"1":"D A"},K:{"1":"A B C H 7B YC 8B"},L:{"1":"I"},M:{"1":"6B"},N:{"1":"A B"},O:{"1":"9B"},P:{"1":"J u v w x y z OD PD QD RD SD KC TD UD VD WD XD AC BC CC YD"},Q:{"1":"ZD"},R:{"1":"aD"},S:{"1":"bD cD"}},B:1,C:"Selection controls for input & textarea",D:true}; +module.exports={A:{A:{"1":"F A B","2":"K D E gC"},B:{"1":"5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 hC IC J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC jC kC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC"},E:{"1":"J LB K D E F A B C L M G mC nC oC pC PC CC DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC","16":"lC OC"},F:{"1":"0 1 2 3 4 B C G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x 0C CC eC 1C DC","16":"F xC yC zC"},G:{"1":"E 2C fC 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC","16":"OC"},H:{"2":"PD"},I:{"1":"IC J I QD RD SD TD fC UD VD"},J:{"1":"D A"},K:{"1":"A B C H CC eC DC"},L:{"1":"I"},M:{"1":"BC"},N:{"1":"A B"},O:{"1":"EC"},P:{"1":"0 1 2 3 4 J y z WD XD YD ZD aD PC bD cD dD eD fD FC GC HC gD"},Q:{"1":"hD"},R:{"1":"iD"},S:{"1":"jD kD"}},B:1,C:"Selection controls for input & textarea",D:true}; diff --git a/node_modules/caniuse-lite/data/features/insert-adjacent.js b/node_modules/caniuse-lite/data/features/insert-adjacent.js index 38db960956..db48524d5d 100644 --- a/node_modules/caniuse-lite/data/features/insert-adjacent.js +++ b/node_modules/caniuse-lite/data/features/insert-adjacent.js @@ -1 +1 @@ -module.exports={A:{A:{"1":"K D E F A B","16":"aC"},B:{"1":"0 1 2 3 4 5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC","2":"bC DC J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dC eC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC"},E:{"1":"J FB K D E F A B C L M G fC JC gC hC iC jC KC 7B 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC"},F:{"1":"B C G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t qC rC sC tC 7B YC uC 8B","16":"F"},G:{"1":"E JC vC ZC wC xC yC zC 0C 1C 2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC"},H:{"1":"HD"},I:{"1":"DC J I KD LD ZC MD ND","16":"ID JD"},J:{"1":"D A"},K:{"1":"A B C H 7B YC 8B"},L:{"1":"I"},M:{"1":"6B"},N:{"1":"A B"},O:{"1":"9B"},P:{"1":"J u v w x y z OD PD QD RD SD KC TD UD VD WD XD AC BC CC YD"},Q:{"1":"ZD"},R:{"1":"aD"},S:{"1":"bD cD"}},B:1,C:"Element.insertAdjacentElement() & Element.insertAdjacentText()",D:true}; +module.exports={A:{A:{"1":"K D E F A B","16":"gC"},B:{"1":"5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I"},C:{"1":"5 6 7 8 9 iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC","2":"0 1 2 3 4 hC IC J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB jC kC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC"},E:{"1":"J LB K D E F A B C L M G lC OC mC nC oC pC PC CC DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC"},F:{"1":"0 1 2 3 4 B C G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x xC yC zC 0C CC eC 1C DC","16":"F"},G:{"1":"E OC 2C fC 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC"},H:{"1":"PD"},I:{"1":"IC J I SD TD fC UD VD","16":"QD RD"},J:{"1":"D A"},K:{"1":"A B C H CC eC DC"},L:{"1":"I"},M:{"1":"BC"},N:{"1":"A B"},O:{"1":"EC"},P:{"1":"0 1 2 3 4 J y z WD XD YD ZD aD PC bD cD dD eD fD FC GC HC gD"},Q:{"1":"hD"},R:{"1":"iD"},S:{"1":"jD kD"}},B:1,C:"Element.insertAdjacentElement() & Element.insertAdjacentText()",D:true}; diff --git a/node_modules/caniuse-lite/data/features/insertadjacenthtml.js b/node_modules/caniuse-lite/data/features/insertadjacenthtml.js index 094a2f3b94..36b50bd573 100644 --- a/node_modules/caniuse-lite/data/features/insertadjacenthtml.js +++ b/node_modules/caniuse-lite/data/features/insertadjacenthtml.js @@ -1 +1 @@ -module.exports={A:{A:{"1":"A B","16":"aC","132":"K D E F"},B:{"1":"0 1 2 3 4 5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC","2":"bC DC J FB K D dC eC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC"},E:{"1":"J FB K D E F A B C L M G gC hC iC jC KC 7B 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC","2":"fC JC"},F:{"1":"B C G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t rC sC tC 7B YC uC 8B","16":"F qC"},G:{"1":"E vC ZC wC xC yC zC 0C 1C 2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC","16":"JC"},H:{"1":"HD"},I:{"1":"DC J I KD LD ZC MD ND","16":"ID JD"},J:{"1":"D A"},K:{"1":"A B C H 7B YC 8B"},L:{"1":"I"},M:{"1":"6B"},N:{"1":"A B"},O:{"1":"9B"},P:{"1":"J u v w x y z OD PD QD RD SD KC TD UD VD WD XD AC BC CC YD"},Q:{"1":"ZD"},R:{"1":"aD"},S:{"1":"bD cD"}},B:4,C:"Element.insertAdjacentHTML()",D:true}; +module.exports={A:{A:{"1":"A B","16":"gC","132":"K D E F"},B:{"1":"5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC","2":"hC IC J LB K D jC kC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC"},E:{"1":"J LB K D E F A B C L M G mC nC oC pC PC CC DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC","2":"lC OC"},F:{"1":"0 1 2 3 4 B C G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x yC zC 0C CC eC 1C DC","16":"F xC"},G:{"1":"E 2C fC 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC","16":"OC"},H:{"1":"PD"},I:{"1":"IC J I SD TD fC UD VD","16":"QD RD"},J:{"1":"D A"},K:{"1":"A B C H CC eC DC"},L:{"1":"I"},M:{"1":"BC"},N:{"1":"A B"},O:{"1":"EC"},P:{"1":"0 1 2 3 4 J y z WD XD YD ZD aD PC bD cD dD eD fD FC GC HC gD"},Q:{"1":"hD"},R:{"1":"iD"},S:{"1":"jD kD"}},B:4,C:"Element.insertAdjacentHTML()",D:true}; diff --git a/node_modules/caniuse-lite/data/features/internationalization.js b/node_modules/caniuse-lite/data/features/internationalization.js index 7a8f0c2624..3e3ff6e9ec 100644 --- a/node_modules/caniuse-lite/data/features/internationalization.js +++ b/node_modules/caniuse-lite/data/features/internationalization.js @@ -1 +1 @@ -module.exports={A:{A:{"1":"B","2":"K D E F A aC"},B:{"1":"0 1 2 3 4 5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC","2":"bC DC J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB dC eC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC","2":"J FB K D E F A B C L M G N O P GB u v w x"},E:{"1":"A B C L M G KC 7B 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC","2":"J FB K D E F fC JC gC hC iC jC"},F:{"1":"G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t","2":"F B C qC rC sC tC 7B YC uC 8B"},G:{"1":"2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC","2":"E JC vC ZC wC xC yC zC 0C 1C"},H:{"2":"HD"},I:{"1":"I MD ND","2":"DC J ID JD KD LD ZC"},J:{"2":"D A"},K:{"1":"H","2":"A B C 7B YC 8B"},L:{"1":"I"},M:{"1":"6B"},N:{"1":"B","2":"A"},O:{"1":"9B"},P:{"1":"J u v w x y z OD PD QD RD SD KC TD UD VD WD XD AC BC CC YD"},Q:{"1":"ZD"},R:{"1":"aD"},S:{"1":"cD","2":"bD"}},B:6,C:"Internationalization API",D:true}; +module.exports={A:{A:{"1":"B","2":"K D E F A gC"},B:{"1":"5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I"},C:{"1":"5 6 7 8 9 PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC","2":"0 1 2 3 4 hC IC J LB K D E F A B C L M G N O P MB y z NB OB jC kC"},D:{"1":"2 3 4 5 6 7 8 9 NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC","2":"0 1 J LB K D E F A B C L M G N O P MB y z"},E:{"1":"A B C L M G PC CC DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC","2":"J LB K D E F lC OC mC nC oC pC"},F:{"1":"0 1 2 3 4 G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x","2":"F B C xC yC zC 0C CC eC 1C DC"},G:{"1":"9C AD BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC","2":"E OC 2C fC 3C 4C 5C 6C 7C 8C"},H:{"2":"PD"},I:{"1":"I UD VD","2":"IC J QD RD SD TD fC"},J:{"2":"D A"},K:{"1":"H","2":"A B C CC eC DC"},L:{"1":"I"},M:{"1":"BC"},N:{"1":"B","2":"A"},O:{"1":"EC"},P:{"1":"0 1 2 3 4 J y z WD XD YD ZD aD PC bD cD dD eD fD FC GC HC gD"},Q:{"1":"hD"},R:{"1":"iD"},S:{"1":"kD","2":"jD"}},B:6,C:"Internationalization API",D:true}; diff --git a/node_modules/caniuse-lite/data/features/intersectionobserver-v2.js b/node_modules/caniuse-lite/data/features/intersectionobserver-v2.js index f47e92b781..bbddd9fdd5 100644 --- a/node_modules/caniuse-lite/data/features/intersectionobserver-v2.js +++ b/node_modules/caniuse-lite/data/features/intersectionobserver-v2.js @@ -1 +1 @@ -module.exports={A:{A:{"2":"K D E F A B aC"},B:{"1":"0 1 2 3 4 5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I","2":"C L M G N O P"},C:{"2":"0 1 2 3 4 5 6 7 8 9 bC DC J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC dC eC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC","2":"J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B"},E:{"2":"J FB K D E F A B C L M G fC JC gC hC iC jC KC 7B 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC"},F:{"1":"pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t","2":"F B C G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB qC rC sC tC 7B YC uC 8B"},G:{"2":"E JC vC ZC wC xC yC zC 0C 1C 2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC"},H:{"2":"HD"},I:{"1":"I","2":"DC J ID JD KD LD ZC MD ND"},J:{"2":"D A"},K:{"1":"H","2":"A B C 7B YC 8B"},L:{"1":"I"},M:{"2":"6B"},N:{"2":"A B"},O:{"1":"9B"},P:{"1":"u v w x y z TD UD VD WD XD AC BC CC YD","2":"J OD PD QD RD SD KC"},Q:{"1":"ZD"},R:{"1":"aD"},S:{"2":"bD cD"}},B:7,C:"IntersectionObserver V2",D:true}; +module.exports={A:{A:{"2":"K D E F A B gC"},B:{"1":"5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I","2":"C L M G N O P"},C:{"2":"0 1 2 3 4 5 6 7 8 9 hC IC J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC jC kC"},D:{"1":"5 6 7 8 9 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC","2":"0 1 2 3 4 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B"},E:{"2":"J LB K D E F A B C L M G lC OC mC nC oC pC PC CC DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC"},F:{"1":"uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x","2":"0 1 2 3 4 F B C G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB xC yC zC 0C CC eC 1C DC"},G:{"2":"E OC 2C fC 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC"},H:{"2":"PD"},I:{"1":"I","2":"IC J QD RD SD TD fC UD VD"},J:{"2":"D A"},K:{"1":"H","2":"A B C CC eC DC"},L:{"1":"I"},M:{"2":"BC"},N:{"2":"A B"},O:{"1":"EC"},P:{"1":"0 1 2 3 4 y z bD cD dD eD fD FC GC HC gD","2":"J WD XD YD ZD aD PC"},Q:{"1":"hD"},R:{"1":"iD"},S:{"2":"jD kD"}},B:7,C:"IntersectionObserver V2",D:true}; diff --git a/node_modules/caniuse-lite/data/features/intersectionobserver.js b/node_modules/caniuse-lite/data/features/intersectionobserver.js index 1115692edf..4825479e32 100644 --- a/node_modules/caniuse-lite/data/features/intersectionobserver.js +++ b/node_modules/caniuse-lite/data/features/intersectionobserver.js @@ -1 +1 @@ -module.exports={A:{A:{"2":"K D E F A B aC"},B:{"1":"N O P","2":"C L M","260":"G","513":"0 1 2 3 4 5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC","2":"bC DC J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB dC eC","194":"hB iB jB"},D:{"1":"nB EC oB FC pB qB rB","2":"J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB","260":"gB hB iB jB kB lB mB","513":"0 1 2 3 4 5 6 7 8 9 sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC"},E:{"1":"L M G 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC","2":"J FB K D E F A B C fC JC gC hC iC jC KC 7B"},F:{"1":"aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB","2":"F B C G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB qC rC sC tC 7B YC uC 8B","260":"TB UB VB WB XB YB ZB","513":"rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t"},G:{"1":"7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC","2":"E JC vC ZC wC xC yC zC 0C 1C 2C 3C 4C 5C 6C"},H:{"2":"HD"},I:{"2":"DC J ID JD KD LD ZC MD ND","513":"I"},J:{"2":"D A"},K:{"2":"A B C 7B YC 8B","513":"H"},L:{"1":"I"},M:{"1":"6B"},N:{"2":"A B"},O:{"1":"9B"},P:{"1":"u v w x y z QD RD SD KC TD UD VD WD XD AC BC CC YD","2":"J","260":"OD PD"},Q:{"513":"ZD"},R:{"1":"aD"},S:{"1":"cD","2":"bD"}},B:5,C:"IntersectionObserver",D:true}; +module.exports={A:{A:{"2":"K D E F A B gC"},B:{"1":"N O P","2":"C L M","260":"G","513":"5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I"},C:{"1":"5 6 7 8 9 pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC","2":"0 1 2 3 4 hC IC J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB jC kC","194":"mB nB oB"},D:{"1":"sB JC tB KC uB vB wB","2":"0 1 2 3 4 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB","260":"lB mB nB oB pB qB rB","513":"5 6 7 8 9 xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC"},E:{"1":"L M G DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC","2":"J LB K D E F A B C lC OC mC nC oC pC PC CC"},F:{"1":"fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB","2":"0 1 2 3 4 F B C G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB xC yC zC 0C CC eC 1C DC","260":"YB ZB aB bB cB dB eB","513":"wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x"},G:{"1":"ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC","2":"E OC 2C fC 3C 4C 5C 6C 7C 8C 9C AD BD CD DD"},H:{"2":"PD"},I:{"2":"IC J QD RD SD TD fC UD VD","513":"I"},J:{"2":"D A"},K:{"2":"A B C CC eC DC","513":"H"},L:{"1":"I"},M:{"1":"BC"},N:{"2":"A B"},O:{"1":"EC"},P:{"1":"0 1 2 3 4 y z YD ZD aD PC bD cD dD eD fD FC GC HC gD","2":"J","260":"WD XD"},Q:{"513":"hD"},R:{"1":"iD"},S:{"1":"kD","2":"jD"}},B:5,C:"IntersectionObserver",D:true}; diff --git a/node_modules/caniuse-lite/data/features/intl-pluralrules.js b/node_modules/caniuse-lite/data/features/intl-pluralrules.js index 5af7da7ad3..72af583179 100644 --- a/node_modules/caniuse-lite/data/features/intl-pluralrules.js +++ b/node_modules/caniuse-lite/data/features/intl-pluralrules.js @@ -1 +1 @@ -module.exports={A:{A:{"2":"K D E F A B aC"},B:{"1":"0 1 2 3 4 5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I","2":"C L M G N O","130":"P"},C:{"1":"0 1 2 3 4 5 6 7 8 9 nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC","2":"bC DC J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB dC eC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC","2":"J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB"},E:{"1":"L M G kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC","2":"J FB K D E F A B C fC JC gC hC iC jC KC 7B 8B"},F:{"1":"fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t","2":"F B C G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB qC rC sC tC 7B YC uC 8B"},G:{"1":"8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC","2":"E JC vC ZC wC xC yC zC 0C 1C 2C 3C 4C 5C 6C 7C"},H:{"2":"HD"},I:{"1":"I","2":"DC J ID JD KD LD ZC MD ND"},J:{"2":"D A"},K:{"1":"H","2":"A B C 7B YC 8B"},L:{"1":"I"},M:{"1":"6B"},N:{"2":"A B"},O:{"1":"9B"},P:{"1":"u v w x y z RD SD KC TD UD VD WD XD AC BC CC YD","2":"J OD PD QD"},Q:{"1":"ZD"},R:{"1":"aD"},S:{"1":"cD","2":"bD"}},B:6,C:"Intl.PluralRules API",D:true}; +module.exports={A:{A:{"2":"K D E F A B gC"},B:{"1":"5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I","2":"C L M G N O","130":"P"},C:{"1":"5 6 7 8 9 sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC","2":"0 1 2 3 4 hC IC J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB jC kC"},D:{"1":"5 6 7 8 9 vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC","2":"0 1 2 3 4 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB"},E:{"1":"L M G qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC","2":"J LB K D E F A B C lC OC mC nC oC pC PC CC DC"},F:{"1":"kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x","2":"0 1 2 3 4 F B C G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB xC yC zC 0C CC eC 1C DC"},G:{"1":"FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC","2":"E OC 2C fC 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED"},H:{"2":"PD"},I:{"1":"I","2":"IC J QD RD SD TD fC UD VD"},J:{"2":"D A"},K:{"1":"H","2":"A B C CC eC DC"},L:{"1":"I"},M:{"1":"BC"},N:{"2":"A B"},O:{"1":"EC"},P:{"1":"0 1 2 3 4 y z ZD aD PC bD cD dD eD fD FC GC HC gD","2":"J WD XD YD"},Q:{"1":"hD"},R:{"1":"iD"},S:{"1":"kD","2":"jD"}},B:6,C:"Intl.PluralRules API",D:true}; diff --git a/node_modules/caniuse-lite/data/features/intrinsic-width.js b/node_modules/caniuse-lite/data/features/intrinsic-width.js index b87af626a7..919a808ff8 100644 --- a/node_modules/caniuse-lite/data/features/intrinsic-width.js +++ b/node_modules/caniuse-lite/data/features/intrinsic-width.js @@ -1 +1 @@ -module.exports={A:{A:{"2":"K D E F A B aC"},B:{"2":"C L M G N O P","1025":"0 1 2 3 4 5 6 7 8 9 d e f g h i j k l m n o p q r s t AB BB CB DB EB I","1537":"Q H R S T U V W X Y Z a b c"},C:{"2":"bC","932":"DC J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB dC eC","2308":"0 1 2 3 4 5 6 7 8 9 tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC"},D:{"2":"J FB K D E F A B C L M G N O P GB u v","545":"w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB","1025":"0 1 2 3 4 5 6 7 8 9 d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC","1537":"bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c"},E:{"1":"AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC","2":"J FB K fC JC gC","516":"B C L M G 7B 8B kC lC mC LC MC 9B nC","548":"F A jC KC","676":"D E hC iC"},F:{"2":"F B C qC rC sC tC 7B YC uC 8B","513":"PB","545":"G N O P GB u v w x y z HB IB JB KB LB MB NB","1025":"e f g h i j k l m n o p q r s t","1537":"OB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d"},G:{"1":"AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC","2":"JC vC ZC wC xC","516":"CD DD ED LC MC 9B FD","548":"0C 1C 2C 3C 4C 5C 6C 7C 8C 9C AD BD","676":"E yC zC"},H:{"2":"HD"},I:{"2":"DC J ID JD KD LD ZC","545":"MD ND","1025":"I"},J:{"2":"D","545":"A"},K:{"2":"A B C 7B YC 8B","1025":"H"},L:{"1025":"I"},M:{"2308":"6B"},N:{"2":"A B"},O:{"1537":"9B"},P:{"545":"J","1025":"u v w x y z BC CC YD","1537":"OD PD QD RD SD KC TD UD VD WD XD AC"},Q:{"1537":"ZD"},R:{"1537":"aD"},S:{"932":"bD","2308":"cD"}},B:5,C:"Intrinsic & Extrinsic Sizing",D:true}; +module.exports={A:{A:{"2":"K D E F A B gC"},B:{"2":"C L M G N O P","1025":"5 6 7 8 9 d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I","1537":"Q H R S T U V W X Y Z a b c"},C:{"2":"hC","932":"0 1 2 3 4 IC J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB jC kC","2308":"5 6 7 8 9 yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC"},D:{"2":"J LB K D E F A B C L M G N O P MB y z","545":"0 1 2 3 4 NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB","1025":"5 6 7 8 9 d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC","1537":"gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c"},E:{"1":"FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC","2":"J LB K lC OC mC","516":"B C L M G CC DC qC rC sC QC RC EC tC","548":"F A pC PC","676":"D E nC oC"},F:{"2":"F B C xC yC zC 0C CC eC 1C DC","513":"UB","545":"0 1 2 3 4 G N O P MB y z NB OB PB QB RB SB","1025":"e f g h i j k l m n o p q r s t u v w x","1537":"TB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d"},G:{"1":"FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC","2":"OC 2C fC 3C 4C","516":"JD KD LD QC RC EC MD","548":"7C 8C 9C AD BD CD DD ED FD GD HD ID","676":"E 5C 6C"},H:{"2":"PD"},I:{"2":"IC J QD RD SD TD fC","545":"UD VD","1025":"I"},J:{"2":"D","545":"A"},K:{"2":"A B C CC eC DC","1025":"H"},L:{"1025":"I"},M:{"2308":"BC"},N:{"2":"A B"},O:{"1537":"EC"},P:{"545":"J","1025":"0 1 2 3 4 y z GC HC gD","1537":"WD XD YD ZD aD PC bD cD dD eD fD FC"},Q:{"1537":"hD"},R:{"1537":"iD"},S:{"932":"jD","2308":"kD"}},B:5,C:"Intrinsic & Extrinsic Sizing",D:true}; diff --git a/node_modules/caniuse-lite/data/features/jpeg2000.js b/node_modules/caniuse-lite/data/features/jpeg2000.js index a7054b15e2..53417cfdaa 100644 --- a/node_modules/caniuse-lite/data/features/jpeg2000.js +++ b/node_modules/caniuse-lite/data/features/jpeg2000.js @@ -1 +1 @@ -module.exports={A:{A:{"2":"K D E F A B aC"},B:{"2":"0 1 2 3 4 5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I"},C:{"2":"0 1 2 3 4 5 6 7 8 9 bC DC J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC dC eC"},D:{"2":"0 1 2 3 4 5 6 7 8 9 J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC"},E:{"1":"K D E F A B C L M G hC iC jC KC 7B 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC","2":"J fC JC CC pC","129":"FB gC"},F:{"2":"F B C G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t qC rC sC tC 7B YC uC 8B"},G:{"1":"E wC xC yC zC 0C 1C 2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC","2":"JC vC ZC CC"},H:{"2":"HD"},I:{"2":"DC J I ID JD KD LD ZC MD ND"},J:{"2":"D A"},K:{"2":"A B C H 7B YC 8B"},L:{"2":"I"},M:{"2":"6B"},N:{"2":"A B"},O:{"2":"9B"},P:{"2":"J u v w x y z OD PD QD RD SD KC TD UD VD WD XD AC BC CC YD"},Q:{"2":"ZD"},R:{"2":"aD"},S:{"2":"bD cD"}},B:6,C:"JPEG 2000 image format",D:true}; +module.exports={A:{A:{"2":"K D E F A B gC"},B:{"2":"5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I"},C:{"2":"0 1 2 3 4 5 6 7 8 9 hC IC J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC jC kC"},D:{"2":"0 1 2 3 4 5 6 7 8 9 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC"},E:{"1":"K D E F A B C L M G nC oC pC PC CC DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC","2":"J lC OC HC cC dC wC","129":"LB mC"},F:{"2":"0 1 2 3 4 F B C G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x xC yC zC 0C CC eC 1C DC"},G:{"1":"E 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD","2":"OC 2C fC HC cC dC"},H:{"2":"PD"},I:{"2":"IC J I QD RD SD TD fC UD VD"},J:{"2":"D A"},K:{"2":"A B C H CC eC DC"},L:{"2":"I"},M:{"2":"BC"},N:{"2":"A B"},O:{"2":"EC"},P:{"2":"0 1 2 3 4 J y z WD XD YD ZD aD PC bD cD dD eD fD FC GC HC gD"},Q:{"2":"hD"},R:{"2":"iD"},S:{"2":"jD kD"}},B:6,C:"JPEG 2000 image format",D:true}; diff --git a/node_modules/caniuse-lite/data/features/jpegxl.js b/node_modules/caniuse-lite/data/features/jpegxl.js index 28fd274b9d..1f74b0e799 100644 --- a/node_modules/caniuse-lite/data/features/jpegxl.js +++ b/node_modules/caniuse-lite/data/features/jpegxl.js @@ -1 +1 @@ -module.exports={A:{A:{"2":"K D E F A B aC"},B:{"2":"0 1 2 3 4 5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z t AB BB CB DB EB I","578":"a b c d e f g h i j k l m n o p q r s"},C:{"2":"bC DC J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y dC eC","322":"0 1 2 3 4 5 6 7 8 9 Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC"},D:{"2":"0 1 2 3 4 5 6 7 8 9 J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z t AB BB CB DB EB I 6B HC IC","194":"a b c d e f g h i j k l m n o p q r s"},E:{"2":"J FB K D E F A B C L M G fC JC gC hC iC jC KC 7B 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC","1025":"BC SC TC UC VC WC XC CC pC"},F:{"2":"F B C G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B qC rC sC tC 7B YC uC 8B","194":"4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t"},G:{"2":"E JC vC ZC wC xC yC zC 0C 1C 2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD","1025":"BC SC TC UC VC WC XC CC"},H:{"2":"HD"},I:{"2":"DC J I ID JD KD LD ZC MD ND"},J:{"2":"D A"},K:{"2":"A B C H 7B YC 8B"},L:{"2":"I"},M:{"2":"6B"},N:{"2":"A B"},O:{"2":"9B"},P:{"2":"J u v w x y z OD PD QD RD SD KC TD UD VD WD XD AC BC CC YD"},Q:{"2":"ZD"},R:{"2":"aD"},S:{"2":"bD cD"}},B:6,C:"JPEG XL image format",D:true}; +module.exports={A:{A:{"2":"K D E F A B gC"},B:{"2":"5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z t u v w x AB BB CB DB EB FB GB HB IB JB KB I","578":"a b c d e f g h i j k l m n o p q r s"},C:{"2":"0 1 2 3 4 hC IC J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y jC kC","322":"5 6 7 8 9 Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC"},D:{"2":"0 1 2 3 4 5 6 7 8 9 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC","194":"a b c d e f g h i j k l m n o p q r s"},E:{"2":"J LB K D E F A B C L M G lC OC mC nC oC pC PC CC DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC","1025":"GC XC YC ZC aC bC vC HC cC dC wC"},F:{"2":"0 1 2 3 4 F B C G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B f g h i j k l m n o p q r s t u v w x xC yC zC 0C CC eC 1C DC","194":"9B AC Q H R LC S T U V W X Y Z a b c d e"},G:{"2":"E OC 2C fC 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND","1025":"GC XC YC ZC aC bC OD HC cC dC"},H:{"2":"PD"},I:{"2":"IC J I QD RD SD TD fC UD VD"},J:{"2":"D A"},K:{"2":"A B C H CC eC DC"},L:{"2":"I"},M:{"2":"BC"},N:{"2":"A B"},O:{"2":"EC"},P:{"2":"0 1 2 3 4 J y z WD XD YD ZD aD PC bD cD dD eD fD FC GC HC gD"},Q:{"2":"hD"},R:{"2":"iD"},S:{"2":"jD kD"}},B:6,C:"JPEG XL image format",D:true}; diff --git a/node_modules/caniuse-lite/data/features/jpegxr.js b/node_modules/caniuse-lite/data/features/jpegxr.js index aaff213dfb..a29481aec6 100644 --- a/node_modules/caniuse-lite/data/features/jpegxr.js +++ b/node_modules/caniuse-lite/data/features/jpegxr.js @@ -1 +1 @@ -module.exports={A:{A:{"1":"F A B","2":"K D E aC"},B:{"1":"C L M G N O P","2":"0 1 2 3 4 5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I"},C:{"2":"0 1 2 3 4 5 6 7 8 9 bC DC J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC dC eC"},D:{"2":"0 1 2 3 4 5 6 7 8 9 J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC"},E:{"2":"J FB K D E F A B C L M G fC JC gC hC iC jC KC 7B 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC"},F:{"2":"F B C G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t qC rC sC tC 7B YC uC 8B"},G:{"2":"E JC vC ZC wC xC yC zC 0C 1C 2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC"},H:{"2":"HD"},I:{"2":"DC J I ID JD KD LD ZC MD ND"},J:{"2":"D A"},K:{"2":"A B C H 7B YC 8B"},L:{"2":"I"},M:{"2":"6B"},N:{"1":"A B"},O:{"2":"9B"},P:{"2":"J u v w x y z OD PD QD RD SD KC TD UD VD WD XD AC BC CC YD"},Q:{"2":"ZD"},R:{"2":"aD"},S:{"2":"bD cD"}},B:6,C:"JPEG XR image format",D:true}; +module.exports={A:{A:{"1":"F A B","2":"K D E gC"},B:{"1":"C L M G N O P","2":"5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I"},C:{"2":"0 1 2 3 4 5 6 7 8 9 hC IC J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC jC kC"},D:{"2":"0 1 2 3 4 5 6 7 8 9 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC"},E:{"2":"J LB K D E F A B C L M G lC OC mC nC oC pC PC CC DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC"},F:{"2":"0 1 2 3 4 F B C G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x xC yC zC 0C CC eC 1C DC"},G:{"2":"E OC 2C fC 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC"},H:{"2":"PD"},I:{"2":"IC J I QD RD SD TD fC UD VD"},J:{"2":"D A"},K:{"2":"A B C H CC eC DC"},L:{"2":"I"},M:{"2":"BC"},N:{"1":"A B"},O:{"2":"EC"},P:{"2":"0 1 2 3 4 J y z WD XD YD ZD aD PC bD cD dD eD fD FC GC HC gD"},Q:{"2":"hD"},R:{"2":"iD"},S:{"2":"jD kD"}},B:6,C:"JPEG XR image format",D:true}; diff --git a/node_modules/caniuse-lite/data/features/js-regexp-lookbehind.js b/node_modules/caniuse-lite/data/features/js-regexp-lookbehind.js index d01fc781f2..46cdd99b1e 100644 --- a/node_modules/caniuse-lite/data/features/js-regexp-lookbehind.js +++ b/node_modules/caniuse-lite/data/features/js-regexp-lookbehind.js @@ -1 +1 @@ -module.exports={A:{A:{"2":"K D E F A B aC"},B:{"1":"0 1 2 3 4 5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I","2":"C L M G N O P"},C:{"1":"0 1 2 3 4 5 6 7 8 9 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC","2":"bC DC J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B dC eC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC","2":"J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC"},E:{"1":"QC RC oC BC SC TC UC VC WC XC CC pC","2":"J FB K D E F A B C L M G fC JC gC hC iC jC KC 7B 8B kC lC mC LC MC 9B nC AC NC OC PC"},F:{"1":"eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t","2":"F B C G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB qC rC sC tC 7B YC uC 8B"},G:{"1":"QC RC GD BC SC TC UC VC WC XC CC","2":"E JC vC ZC wC xC yC zC 0C 1C 2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC"},H:{"2":"HD"},I:{"1":"I","2":"DC J ID JD KD LD ZC MD ND"},J:{"2":"D A"},K:{"1":"H","2":"A B C 7B YC 8B"},L:{"1":"I"},M:{"1":"6B"},N:{"2":"A B"},O:{"1":"9B"},P:{"1":"u v w x y z RD SD KC TD UD VD WD XD AC BC CC YD","2":"J OD PD QD"},Q:{"1":"ZD"},R:{"1":"aD"},S:{"1":"cD","2":"bD"}},B:6,C:"Lookbehind in JS regular expressions",D:true}; +module.exports={A:{A:{"2":"K D E F A B gC"},B:{"1":"5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I","2":"C L M G N O P"},C:{"1":"5 6 7 8 9 AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC","2":"0 1 2 3 4 hC IC J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B jC kC"},D:{"1":"5 6 7 8 9 uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC","2":"0 1 2 3 4 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC"},E:{"1":"VC WC uC GC XC YC ZC aC bC vC HC cC dC wC","2":"J LB K D E F A B C L M G lC OC mC nC oC pC PC CC DC qC rC sC QC RC EC tC FC SC TC UC"},F:{"1":"jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x","2":"0 1 2 3 4 F B C G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB xC yC zC 0C CC eC 1C DC"},G:{"1":"VC WC ND GC XC YC ZC aC bC OD HC cC dC","2":"E OC 2C fC 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC"},H:{"2":"PD"},I:{"1":"I","2":"IC J QD RD SD TD fC UD VD"},J:{"2":"D A"},K:{"1":"H","2":"A B C CC eC DC"},L:{"1":"I"},M:{"1":"BC"},N:{"2":"A B"},O:{"1":"EC"},P:{"1":"0 1 2 3 4 y z ZD aD PC bD cD dD eD fD FC GC HC gD","2":"J WD XD YD"},Q:{"1":"hD"},R:{"1":"iD"},S:{"1":"kD","2":"jD"}},B:6,C:"Lookbehind in JS regular expressions",D:true}; diff --git a/node_modules/caniuse-lite/data/features/json.js b/node_modules/caniuse-lite/data/features/json.js index f8115f2ead..d710486dad 100644 --- a/node_modules/caniuse-lite/data/features/json.js +++ b/node_modules/caniuse-lite/data/features/json.js @@ -1 +1 @@ -module.exports={A:{A:{"1":"F A B","2":"K D aC","129":"E"},B:{"1":"0 1 2 3 4 5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC dC eC","2":"bC DC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC"},E:{"1":"J FB K D E F A B C L M G gC hC iC jC KC 7B 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC","2":"fC JC"},F:{"1":"B C G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t sC tC 7B YC uC 8B","2":"F qC rC"},G:{"1":"E vC ZC wC xC yC zC 0C 1C 2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC","2":"JC"},H:{"1":"HD"},I:{"1":"DC J I ID JD KD LD ZC MD ND"},J:{"1":"D A"},K:{"1":"A B C H 7B YC 8B"},L:{"1":"I"},M:{"1":"6B"},N:{"1":"A B"},O:{"1":"9B"},P:{"1":"J u v w x y z OD PD QD RD SD KC TD UD VD WD XD AC BC CC YD"},Q:{"1":"ZD"},R:{"1":"aD"},S:{"1":"bD cD"}},B:6,C:"JSON parsing",D:true}; +module.exports={A:{A:{"1":"F A B","2":"K D gC","129":"E"},B:{"1":"5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC jC kC","2":"hC IC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC"},E:{"1":"J LB K D E F A B C L M G mC nC oC pC PC CC DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC","2":"lC OC"},F:{"1":"0 1 2 3 4 B C G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x zC 0C CC eC 1C DC","2":"F xC yC"},G:{"1":"E 2C fC 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC","2":"OC"},H:{"1":"PD"},I:{"1":"IC J I QD RD SD TD fC UD VD"},J:{"1":"D A"},K:{"1":"A B C H CC eC DC"},L:{"1":"I"},M:{"1":"BC"},N:{"1":"A B"},O:{"1":"EC"},P:{"1":"0 1 2 3 4 J y z WD XD YD ZD aD PC bD cD dD eD fD FC GC HC gD"},Q:{"1":"hD"},R:{"1":"iD"},S:{"1":"jD kD"}},B:6,C:"JSON parsing",D:true}; diff --git a/node_modules/caniuse-lite/data/features/justify-content-space-evenly.js b/node_modules/caniuse-lite/data/features/justify-content-space-evenly.js index 1d3b1ccf2a..4a5615e573 100644 --- a/node_modules/caniuse-lite/data/features/justify-content-space-evenly.js +++ b/node_modules/caniuse-lite/data/features/justify-content-space-evenly.js @@ -1 +1 @@ -module.exports={A:{A:{"2":"K D E F A B aC"},B:{"1":"0 1 2 3 4 5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I","2":"C L M G","132":"N O P"},C:{"1":"0 1 2 3 4 5 6 7 8 9 hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC","2":"bC DC J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB dC eC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC","2":"J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB","132":"mB nB EC"},E:{"1":"B C L M G 7B 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC","2":"J FB K D E F A fC JC gC hC iC jC","132":"KC"},F:{"1":"cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t","2":"F B C G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB qC rC sC tC 7B YC uC 8B","132":"ZB aB bB"},G:{"1":"4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC","2":"E JC vC ZC wC xC yC zC 0C 1C 2C","132":"3C"},H:{"2":"HD"},I:{"1":"I","2":"DC J ID JD KD LD ZC MD ND"},J:{"2":"D A"},K:{"1":"H","2":"A B C 7B YC 8B"},L:{"1":"I"},M:{"1":"6B"},N:{"2":"A B"},O:{"1":"9B"},P:{"1":"u v w x y z RD SD KC TD UD VD WD XD AC BC CC YD","2":"J OD PD","132":"QD"},Q:{"1":"ZD"},R:{"1":"aD"},S:{"1":"cD","132":"bD"}},B:5,C:"CSS justify-content: space-evenly",D:true}; +module.exports={A:{A:{"2":"K D E F A B gC"},B:{"1":"5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I","2":"C L M G","132":"N O P"},C:{"1":"5 6 7 8 9 mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC","2":"0 1 2 3 4 hC IC J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB jC kC"},D:{"1":"5 6 7 8 9 tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC","2":"0 1 2 3 4 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB","132":"rB sB JC"},E:{"1":"B C L M G CC DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC","2":"J LB K D E F A lC OC mC nC oC pC","132":"PC"},F:{"1":"hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x","2":"0 1 2 3 4 F B C G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB xC yC zC 0C CC eC 1C DC","132":"eB fB gB"},G:{"1":"BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC","2":"E OC 2C fC 3C 4C 5C 6C 7C 8C 9C","132":"AD"},H:{"2":"PD"},I:{"1":"I","2":"IC J QD RD SD TD fC UD VD"},J:{"2":"D A"},K:{"1":"H","2":"A B C CC eC DC"},L:{"1":"I"},M:{"1":"BC"},N:{"2":"A B"},O:{"1":"EC"},P:{"1":"0 1 2 3 4 y z ZD aD PC bD cD dD eD fD FC GC HC gD","2":"J WD XD","132":"YD"},Q:{"1":"hD"},R:{"1":"iD"},S:{"1":"kD","132":"jD"}},B:5,C:"CSS justify-content: space-evenly",D:true}; diff --git a/node_modules/caniuse-lite/data/features/kerning-pairs-ligatures.js b/node_modules/caniuse-lite/data/features/kerning-pairs-ligatures.js index 7d3e3b12fb..439408816a 100644 --- a/node_modules/caniuse-lite/data/features/kerning-pairs-ligatures.js +++ b/node_modules/caniuse-lite/data/features/kerning-pairs-ligatures.js @@ -1 +1 @@ -module.exports={A:{A:{"2":"K D E F A B aC"},B:{"1":"0 1 2 3 4 5 6 7 8 9 P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I","2":"C L M G N O"},C:{"1":"0 1 2 3 4 5 6 7 8 9 DC J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC dC eC","2":"bC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC"},E:{"1":"FB K D E F A B C L M G gC hC iC jC KC 7B 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC","2":"J fC JC"},F:{"1":"G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t","2":"F B C qC rC sC tC 7B YC uC 8B"},G:{"1":"E ZC wC xC yC zC 0C 1C 2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC","16":"JC vC"},H:{"2":"HD"},I:{"1":"I MD ND","2":"ID JD KD","132":"DC J LD ZC"},J:{"1":"A","2":"D"},K:{"1":"H","2":"A B C 7B YC 8B"},L:{"1":"I"},M:{"1":"6B"},N:{"2":"A B"},O:{"1":"9B"},P:{"1":"J u v w x y z OD PD QD RD SD KC TD UD VD WD XD AC BC CC YD"},Q:{"1":"ZD"},R:{"1":"aD"},S:{"1":"bD cD"}},B:7,C:"High-quality kerning pairs & ligatures",D:true}; +module.exports={A:{A:{"2":"K D E F A B gC"},B:{"1":"5 6 7 8 9 P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I","2":"C L M G N O"},C:{"1":"0 1 2 3 4 5 6 7 8 9 IC J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC jC kC","2":"hC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC"},E:{"1":"LB K D E F A B C L M G mC nC oC pC PC CC DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC","2":"J lC OC"},F:{"1":"0 1 2 3 4 G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x","2":"F B C xC yC zC 0C CC eC 1C DC"},G:{"1":"E fC 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC","16":"OC 2C"},H:{"2":"PD"},I:{"1":"I UD VD","2":"QD RD SD","132":"IC J TD fC"},J:{"1":"A","2":"D"},K:{"1":"H","2":"A B C CC eC DC"},L:{"1":"I"},M:{"1":"BC"},N:{"2":"A B"},O:{"1":"EC"},P:{"1":"0 1 2 3 4 J y z WD XD YD ZD aD PC bD cD dD eD fD FC GC HC gD"},Q:{"1":"hD"},R:{"1":"iD"},S:{"1":"jD kD"}},B:7,C:"High-quality kerning pairs & ligatures",D:true}; diff --git a/node_modules/caniuse-lite/data/features/keyboardevent-charcode.js b/node_modules/caniuse-lite/data/features/keyboardevent-charcode.js index ef9f2b45a7..54b440b177 100644 --- a/node_modules/caniuse-lite/data/features/keyboardevent-charcode.js +++ b/node_modules/caniuse-lite/data/features/keyboardevent-charcode.js @@ -1 +1 @@ -module.exports={A:{A:{"1":"F A B","2":"K D E aC"},B:{"1":"0 1 2 3 4 5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 DC J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC dC eC","16":"bC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC"},E:{"1":"J FB K D E F A B C L M G gC hC iC jC KC 7B 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC","16":"fC JC"},F:{"1":"G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t 8B","2":"F B qC rC sC tC 7B YC uC","16":"C"},G:{"1":"E wC xC yC zC 0C 1C 2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC","16":"JC vC ZC"},H:{"2":"HD"},I:{"1":"DC J I KD LD ZC MD ND","16":"ID JD"},J:{"1":"D A"},K:{"1":"H 8B","2":"A B 7B YC","16":"C"},L:{"1":"I"},M:{"130":"6B"},N:{"130":"A B"},O:{"1":"9B"},P:{"1":"J u v w x y z OD PD QD RD SD KC TD UD VD WD XD AC BC CC YD"},Q:{"1":"ZD"},R:{"1":"aD"},S:{"1":"bD cD"}},B:7,C:"KeyboardEvent.charCode",D:true}; +module.exports={A:{A:{"1":"F A B","2":"K D E gC"},B:{"1":"5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 IC J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC jC kC","16":"hC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC"},E:{"1":"J LB K D E F A B C L M G mC nC oC pC PC CC DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC","16":"lC OC"},F:{"1":"0 1 2 3 4 G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x DC","2":"F B xC yC zC 0C CC eC 1C","16":"C"},G:{"1":"E 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC","16":"OC 2C fC"},H:{"2":"PD"},I:{"1":"IC J I SD TD fC UD VD","16":"QD RD"},J:{"1":"D A"},K:{"1":"H DC","2":"A B CC eC","16":"C"},L:{"1":"I"},M:{"130":"BC"},N:{"130":"A B"},O:{"1":"EC"},P:{"1":"0 1 2 3 4 J y z WD XD YD ZD aD PC bD cD dD eD fD FC GC HC gD"},Q:{"1":"hD"},R:{"1":"iD"},S:{"1":"jD kD"}},B:7,C:"KeyboardEvent.charCode",D:true}; diff --git a/node_modules/caniuse-lite/data/features/keyboardevent-code.js b/node_modules/caniuse-lite/data/features/keyboardevent-code.js index 6a6b4dd8c6..2330c2580b 100644 --- a/node_modules/caniuse-lite/data/features/keyboardevent-code.js +++ b/node_modules/caniuse-lite/data/features/keyboardevent-code.js @@ -1 +1 @@ -module.exports={A:{A:{"2":"K D E F A B aC"},B:{"1":"0 1 2 3 4 5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I","2":"C L M G N O P"},C:{"1":"0 1 2 3 4 5 6 7 8 9 TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC","2":"bC DC J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB dC eC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC","2":"J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB","194":"XB YB ZB aB bB cB"},E:{"1":"B C L M G KC 7B 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC","2":"J FB K D E F A fC JC gC hC iC jC"},F:{"1":"QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t","2":"F B C G N O P GB u v w x y z HB IB JB qC rC sC tC 7B YC uC 8B","194":"KB LB MB NB OB PB"},G:{"1":"3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC","2":"E JC vC ZC wC xC yC zC 0C 1C 2C"},H:{"2":"HD"},I:{"2":"DC J I ID JD KD LD ZC MD ND"},J:{"2":"D A"},K:{"2":"A B C H 7B YC 8B"},L:{"194":"I"},M:{"1":"6B"},N:{"2":"A B"},O:{"2":"9B"},P:{"2":"J","194":"u v w x y z OD PD QD RD SD KC TD UD VD WD XD AC BC CC YD"},Q:{"2":"ZD"},R:{"194":"aD"},S:{"1":"bD cD"}},B:5,C:"KeyboardEvent.code",D:true}; +module.exports={A:{A:{"2":"K D E F A B gC"},B:{"1":"5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I","2":"C L M G N O P"},C:{"1":"5 6 7 8 9 YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC","2":"0 1 2 3 4 hC IC J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB jC kC"},D:{"1":"5 6 7 8 9 iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC","2":"0 1 2 3 4 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB","194":"cB dB eB fB gB hB"},E:{"1":"B C L M G PC CC DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC","2":"J LB K D E F A lC OC mC nC oC pC"},F:{"1":"VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x","2":"0 1 2 3 4 F B C G N O P MB y z NB OB xC yC zC 0C CC eC 1C DC","194":"PB QB RB SB TB UB"},G:{"1":"AD BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC","2":"E OC 2C fC 3C 4C 5C 6C 7C 8C 9C"},H:{"2":"PD"},I:{"2":"IC J I QD RD SD TD fC UD VD"},J:{"2":"D A"},K:{"2":"A B C H CC eC DC"},L:{"194":"I"},M:{"1":"BC"},N:{"2":"A B"},O:{"2":"EC"},P:{"2":"J","194":"0 1 2 3 4 y z WD XD YD ZD aD PC bD cD dD eD fD FC GC HC gD"},Q:{"2":"hD"},R:{"194":"iD"},S:{"1":"jD kD"}},B:5,C:"KeyboardEvent.code",D:true}; diff --git a/node_modules/caniuse-lite/data/features/keyboardevent-getmodifierstate.js b/node_modules/caniuse-lite/data/features/keyboardevent-getmodifierstate.js index 4e2911f42b..a7ccc4c7a5 100644 --- a/node_modules/caniuse-lite/data/features/keyboardevent-getmodifierstate.js +++ b/node_modules/caniuse-lite/data/features/keyboardevent-getmodifierstate.js @@ -1 +1 @@ -module.exports={A:{A:{"1":"F A B","2":"K D E aC"},B:{"1":"0 1 2 3 4 5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC","2":"bC DC J FB K D E F A B C L M dC eC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC","2":"J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB"},E:{"1":"B C L M G KC 7B 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC","2":"J FB K D E F A fC JC gC hC iC jC"},F:{"1":"O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t 8B","2":"F B G N qC rC sC tC 7B YC uC","16":"C"},G:{"1":"3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC","2":"E JC vC ZC wC xC yC zC 0C 1C 2C"},H:{"2":"HD"},I:{"1":"I MD ND","2":"DC J ID JD KD LD ZC"},J:{"2":"D A"},K:{"1":"H 8B","2":"A B 7B YC","16":"C"},L:{"1":"I"},M:{"1":"6B"},N:{"1":"A B"},O:{"1":"9B"},P:{"1":"J u v w x y z OD PD QD RD SD KC TD UD VD WD XD AC BC CC YD"},Q:{"1":"ZD"},R:{"1":"aD"},S:{"1":"bD cD"}},B:5,C:"KeyboardEvent.getModifierState()",D:true}; +module.exports={A:{A:{"1":"F A B","2":"K D E gC"},B:{"1":"5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC","2":"hC IC J LB K D E F A B C L M jC kC"},D:{"1":"5 6 7 8 9 QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC","2":"0 1 2 3 4 J LB K D E F A B C L M G N O P MB y z NB OB PB"},E:{"1":"B C L M G PC CC DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC","2":"J LB K D E F A lC OC mC nC oC pC"},F:{"1":"0 1 2 3 4 O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x DC","2":"F B G N xC yC zC 0C CC eC 1C","16":"C"},G:{"1":"AD BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC","2":"E OC 2C fC 3C 4C 5C 6C 7C 8C 9C"},H:{"2":"PD"},I:{"1":"I UD VD","2":"IC J QD RD SD TD fC"},J:{"2":"D A"},K:{"1":"H DC","2":"A B CC eC","16":"C"},L:{"1":"I"},M:{"1":"BC"},N:{"1":"A B"},O:{"1":"EC"},P:{"1":"0 1 2 3 4 J y z WD XD YD ZD aD PC bD cD dD eD fD FC GC HC gD"},Q:{"1":"hD"},R:{"1":"iD"},S:{"1":"jD kD"}},B:5,C:"KeyboardEvent.getModifierState()",D:true}; diff --git a/node_modules/caniuse-lite/data/features/keyboardevent-key.js b/node_modules/caniuse-lite/data/features/keyboardevent-key.js index 9d9fd62a81..18661a8a15 100644 --- a/node_modules/caniuse-lite/data/features/keyboardevent-key.js +++ b/node_modules/caniuse-lite/data/features/keyboardevent-key.js @@ -1 +1 @@ -module.exports={A:{A:{"2":"K D E aC","260":"F A B"},B:{"1":"0 1 2 3 4 5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I","260":"C L M G N O P"},C:{"1":"0 1 2 3 4 5 6 7 8 9 KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC","2":"bC DC J FB K D E F A B C L M G N O P GB u v w dC eC","132":"x y z HB IB JB"},D:{"1":"0 1 2 3 4 5 6 7 8 9 gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC","2":"J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB"},E:{"1":"B C L M G KC 7B 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC","2":"J FB K D E F A fC JC gC hC iC jC"},F:{"1":"TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t 8B","2":"F B G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB qC rC sC tC 7B YC uC","16":"C"},G:{"1":"3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC","2":"E JC vC ZC wC xC yC zC 0C 1C 2C"},H:{"1":"HD"},I:{"1":"I","2":"DC J ID JD KD LD ZC MD ND"},J:{"2":"D A"},K:{"1":"H 8B","2":"A B 7B YC","16":"C"},L:{"1":"I"},M:{"1":"6B"},N:{"260":"A B"},O:{"1":"9B"},P:{"1":"u v w x y z OD PD QD RD SD KC TD UD VD WD XD AC BC CC YD","2":"J"},Q:{"1":"ZD"},R:{"1":"aD"},S:{"1":"bD cD"}},B:5,C:"KeyboardEvent.key",D:true}; +module.exports={A:{A:{"2":"K D E gC","260":"F A B"},B:{"1":"5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I","260":"C L M G N O P"},C:{"1":"5 6 7 8 9 PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC","2":"0 hC IC J LB K D E F A B C L M G N O P MB y z jC kC","132":"1 2 3 4 NB OB"},D:{"1":"5 6 7 8 9 lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC","2":"0 1 2 3 4 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB"},E:{"1":"B C L M G PC CC DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC","2":"J LB K D E F A lC OC mC nC oC pC"},F:{"1":"YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x DC","2":"0 1 2 3 4 F B G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB xC yC zC 0C CC eC 1C","16":"C"},G:{"1":"AD BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC","2":"E OC 2C fC 3C 4C 5C 6C 7C 8C 9C"},H:{"1":"PD"},I:{"1":"I","2":"IC J QD RD SD TD fC UD VD"},J:{"2":"D A"},K:{"1":"H DC","2":"A B CC eC","16":"C"},L:{"1":"I"},M:{"1":"BC"},N:{"260":"A B"},O:{"1":"EC"},P:{"1":"0 1 2 3 4 y z WD XD YD ZD aD PC bD cD dD eD fD FC GC HC gD","2":"J"},Q:{"1":"hD"},R:{"1":"iD"},S:{"1":"jD kD"}},B:5,C:"KeyboardEvent.key",D:true}; diff --git a/node_modules/caniuse-lite/data/features/keyboardevent-location.js b/node_modules/caniuse-lite/data/features/keyboardevent-location.js index 3c19aa8811..3864d81796 100644 --- a/node_modules/caniuse-lite/data/features/keyboardevent-location.js +++ b/node_modules/caniuse-lite/data/features/keyboardevent-location.js @@ -1 +1 @@ -module.exports={A:{A:{"1":"F A B","2":"K D E aC"},B:{"1":"0 1 2 3 4 5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC","2":"bC DC J FB K D E F A B C L M dC eC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC","132":"J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB"},E:{"1":"D E F A B C L M G hC iC jC KC 7B 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC","16":"K fC JC","132":"J FB gC"},F:{"1":"O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t 8B","2":"F B qC rC sC tC 7B YC uC","16":"C","132":"G N"},G:{"1":"E zC 0C 1C 2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC","16":"JC vC ZC","132":"wC xC yC"},H:{"2":"HD"},I:{"1":"I MD ND","16":"ID JD","132":"DC J KD LD ZC"},J:{"132":"D A"},K:{"1":"H 8B","2":"A B 7B YC","16":"C"},L:{"1":"I"},M:{"1":"6B"},N:{"1":"A B"},O:{"1":"9B"},P:{"1":"J u v w x y z OD PD QD RD SD KC TD UD VD WD XD AC BC CC YD"},Q:{"1":"ZD"},R:{"1":"aD"},S:{"1":"bD cD"}},B:5,C:"KeyboardEvent.location",D:true}; +module.exports={A:{A:{"1":"F A B","2":"K D E gC"},B:{"1":"5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC","2":"hC IC J LB K D E F A B C L M jC kC"},D:{"1":"5 6 7 8 9 QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC","132":"0 1 2 3 4 J LB K D E F A B C L M G N O P MB y z NB OB PB"},E:{"1":"D E F A B C L M G nC oC pC PC CC DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC","16":"K lC OC","132":"J LB mC"},F:{"1":"0 1 2 3 4 O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x DC","2":"F B xC yC zC 0C CC eC 1C","16":"C","132":"G N"},G:{"1":"E 6C 7C 8C 9C AD BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC","16":"OC 2C fC","132":"3C 4C 5C"},H:{"2":"PD"},I:{"1":"I UD VD","16":"QD RD","132":"IC J SD TD fC"},J:{"132":"D A"},K:{"1":"H DC","2":"A B CC eC","16":"C"},L:{"1":"I"},M:{"1":"BC"},N:{"1":"A B"},O:{"1":"EC"},P:{"1":"0 1 2 3 4 J y z WD XD YD ZD aD PC bD cD dD eD fD FC GC HC gD"},Q:{"1":"hD"},R:{"1":"iD"},S:{"1":"jD kD"}},B:5,C:"KeyboardEvent.location",D:true}; diff --git a/node_modules/caniuse-lite/data/features/keyboardevent-which.js b/node_modules/caniuse-lite/data/features/keyboardevent-which.js index a84da7f61d..ba1e9b0612 100644 --- a/node_modules/caniuse-lite/data/features/keyboardevent-which.js +++ b/node_modules/caniuse-lite/data/features/keyboardevent-which.js @@ -1 +1 @@ -module.exports={A:{A:{"1":"F A B","2":"K D E aC"},B:{"1":"0 1 2 3 4 5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 bC DC J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC dC eC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC"},E:{"1":"K D E F A B C L M G gC hC iC jC KC 7B 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC","2":"J fC JC","16":"FB"},F:{"1":"B C G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t rC sC tC 7B YC uC 8B","16":"F qC"},G:{"1":"E wC xC yC zC 0C 1C 2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC","16":"JC vC ZC"},H:{"2":"HD"},I:{"1":"DC J I KD LD ZC","16":"ID JD","132":"MD ND"},J:{"1":"D A"},K:{"1":"A B C H 7B YC 8B"},L:{"132":"I"},M:{"132":"6B"},N:{"1":"A B"},O:{"1":"9B"},P:{"2":"J","132":"u v w x y z OD PD QD RD SD KC TD UD VD WD XD AC BC CC YD"},Q:{"1":"ZD"},R:{"132":"aD"},S:{"1":"bD cD"}},B:7,C:"KeyboardEvent.which",D:true}; +module.exports={A:{A:{"1":"F A B","2":"K D E gC"},B:{"1":"5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 hC IC J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC jC kC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC"},E:{"1":"K D E F A B C L M G mC nC oC pC PC CC DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC","2":"J lC OC","16":"LB"},F:{"1":"0 1 2 3 4 B C G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x yC zC 0C CC eC 1C DC","16":"F xC"},G:{"1":"E 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC","16":"OC 2C fC"},H:{"2":"PD"},I:{"1":"IC J I SD TD fC","16":"QD RD","132":"UD VD"},J:{"1":"D A"},K:{"1":"A B C H CC eC DC"},L:{"132":"I"},M:{"132":"BC"},N:{"1":"A B"},O:{"1":"EC"},P:{"2":"J","132":"0 1 2 3 4 y z WD XD YD ZD aD PC bD cD dD eD fD FC GC HC gD"},Q:{"1":"hD"},R:{"132":"iD"},S:{"1":"jD kD"}},B:7,C:"KeyboardEvent.which",D:true}; diff --git a/node_modules/caniuse-lite/data/features/lazyload.js b/node_modules/caniuse-lite/data/features/lazyload.js index 5607c87052..d51e6d1c82 100644 --- a/node_modules/caniuse-lite/data/features/lazyload.js +++ b/node_modules/caniuse-lite/data/features/lazyload.js @@ -1 +1 @@ -module.exports={A:{A:{"1":"B","2":"K D E F A aC"},B:{"1":"C L M G N O P","2":"0 1 2 3 4 5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I"},C:{"2":"0 1 2 3 4 5 6 7 8 9 bC DC J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC dC eC"},D:{"2":"0 1 2 3 4 5 6 7 8 9 J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC"},E:{"2":"J FB K D E F A B C L M G fC JC gC hC iC jC KC 7B 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC"},F:{"2":"F B C G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t qC rC sC tC 7B YC uC 8B"},G:{"2":"E JC vC ZC wC xC yC zC 0C 1C 2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC"},H:{"2":"HD"},I:{"2":"DC J I ID JD KD LD ZC MD ND"},J:{"2":"D A"},K:{"2":"A B C H 7B YC 8B"},L:{"2":"I"},M:{"2":"6B"},N:{"1":"B","2":"A"},O:{"2":"9B"},P:{"2":"J u v w x y z OD PD QD RD SD KC TD UD VD WD XD AC BC CC YD"},Q:{"2":"ZD"},R:{"2":"aD"},S:{"2":"bD cD"}},B:7,C:"Resource Hints: Lazyload",D:true}; +module.exports={A:{A:{"1":"B","2":"K D E F A gC"},B:{"1":"C L M G N O P","2":"5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I"},C:{"2":"0 1 2 3 4 5 6 7 8 9 hC IC J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC jC kC"},D:{"2":"0 1 2 3 4 5 6 7 8 9 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC"},E:{"2":"J LB K D E F A B C L M G lC OC mC nC oC pC PC CC DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC"},F:{"2":"0 1 2 3 4 F B C G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x xC yC zC 0C CC eC 1C DC"},G:{"2":"E OC 2C fC 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC"},H:{"2":"PD"},I:{"2":"IC J I QD RD SD TD fC UD VD"},J:{"2":"D A"},K:{"2":"A B C H CC eC DC"},L:{"2":"I"},M:{"2":"BC"},N:{"1":"B","2":"A"},O:{"2":"EC"},P:{"2":"0 1 2 3 4 J y z WD XD YD ZD aD PC bD cD dD eD fD FC GC HC gD"},Q:{"2":"hD"},R:{"2":"iD"},S:{"2":"jD kD"}},B:7,C:"Resource Hints: Lazyload",D:true}; diff --git a/node_modules/caniuse-lite/data/features/let.js b/node_modules/caniuse-lite/data/features/let.js index 21463ea171..173a4e7495 100644 --- a/node_modules/caniuse-lite/data/features/let.js +++ b/node_modules/caniuse-lite/data/features/let.js @@ -1 +1 @@ -module.exports={A:{A:{"2":"K D E F A aC","2052":"B"},B:{"1":"0 1 2 3 4 5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC","194":"bC DC J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB dC eC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC","2":"J FB K D E F A B C L M G N O P","322":"GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB","516":"WB XB YB ZB aB bB cB dB"},E:{"1":"B C L M G 7B 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC","2":"J FB K D E F fC JC gC hC iC jC","1028":"A KC"},F:{"1":"RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t","2":"F B C qC rC sC tC 7B YC uC 8B","322":"G N O P GB u v w x y z HB IB","516":"JB KB LB MB NB OB PB QB"},G:{"1":"4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC","2":"E JC vC ZC wC xC yC zC 0C 1C","1028":"2C 3C"},H:{"2":"HD"},I:{"1":"I","2":"DC J ID JD KD LD ZC MD ND"},J:{"2":"D A"},K:{"1":"H","2":"A B C 7B YC 8B"},L:{"1":"I"},M:{"1":"6B"},N:{"1":"B","2":"A"},O:{"1":"9B"},P:{"1":"u v w x y z OD PD QD RD SD KC TD UD VD WD XD AC BC CC YD","516":"J"},Q:{"1":"ZD"},R:{"1":"aD"},S:{"1":"bD cD"}},B:6,C:"let",D:true}; +module.exports={A:{A:{"2":"K D E F A gC","2052":"B"},B:{"1":"5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I"},C:{"1":"5 6 7 8 9 eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC","194":"0 1 2 3 4 hC IC J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB jC kC"},D:{"1":"5 6 7 8 9 jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC","2":"J LB K D E F A B C L M G N O P","322":"0 1 2 3 4 MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB","516":"bB cB dB eB fB gB hB iB"},E:{"1":"B C L M G CC DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC","2":"J LB K D E F lC OC mC nC oC pC","1028":"A PC"},F:{"1":"WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x","2":"F B C xC yC zC 0C CC eC 1C DC","322":"0 1 2 3 4 G N O P MB y z NB","516":"OB PB QB RB SB TB UB VB"},G:{"1":"BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC","2":"E OC 2C fC 3C 4C 5C 6C 7C 8C","1028":"9C AD"},H:{"2":"PD"},I:{"1":"I","2":"IC J QD RD SD TD fC UD VD"},J:{"2":"D A"},K:{"1":"H","2":"A B C CC eC DC"},L:{"1":"I"},M:{"1":"BC"},N:{"1":"B","2":"A"},O:{"1":"EC"},P:{"1":"0 1 2 3 4 y z WD XD YD ZD aD PC bD cD dD eD fD FC GC HC gD","516":"J"},Q:{"1":"hD"},R:{"1":"iD"},S:{"1":"jD kD"}},B:6,C:"let",D:true}; diff --git a/node_modules/caniuse-lite/data/features/link-icon-png.js b/node_modules/caniuse-lite/data/features/link-icon-png.js index 50c412a30b..72854333af 100644 --- a/node_modules/caniuse-lite/data/features/link-icon-png.js +++ b/node_modules/caniuse-lite/data/features/link-icon-png.js @@ -1 +1 @@ -module.exports={A:{A:{"1":"B","2":"K D E F A aC"},B:{"1":"0 1 2 3 4 5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 bC DC J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC dC eC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC"},E:{"1":"J FB K D E F A B C L M G fC JC gC hC iC jC KC 7B 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC"},F:{"1":"F B C G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t qC rC sC tC 7B YC uC 8B"},G:{"1":"6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC","130":"E JC vC ZC wC xC yC zC 0C 1C 2C 3C 4C 5C"},H:{"130":"HD"},I:{"1":"DC J I ID JD KD LD ZC MD ND"},J:{"1":"D","130":"A"},K:{"1":"H","130":"A B C 7B YC 8B"},L:{"1":"I"},M:{"1":"6B"},N:{"130":"A B"},O:{"1":"9B"},P:{"1":"J u v w x y z OD PD QD RD SD KC TD UD VD WD XD AC BC CC YD"},Q:{"1":"ZD"},R:{"1":"aD"},S:{"1":"bD cD"}},B:1,C:"PNG favicons",D:true}; +module.exports={A:{A:{"1":"B","2":"K D E F A gC"},B:{"1":"5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 hC IC J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC jC kC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC"},E:{"1":"J LB K D E F A B C L M G lC OC mC nC oC pC PC CC DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC"},F:{"1":"0 1 2 3 4 F B C G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x xC yC zC 0C CC eC 1C DC"},G:{"1":"DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC","130":"E OC 2C fC 3C 4C 5C 6C 7C 8C 9C AD BD CD"},H:{"130":"PD"},I:{"1":"IC J I QD RD SD TD fC UD VD"},J:{"1":"D","130":"A"},K:{"1":"H","130":"A B C CC eC DC"},L:{"1":"I"},M:{"1":"BC"},N:{"130":"A B"},O:{"1":"EC"},P:{"1":"0 1 2 3 4 J y z WD XD YD ZD aD PC bD cD dD eD fD FC GC HC gD"},Q:{"1":"hD"},R:{"1":"iD"},S:{"1":"jD kD"}},B:1,C:"PNG favicons",D:true}; diff --git a/node_modules/caniuse-lite/data/features/link-icon-svg.js b/node_modules/caniuse-lite/data/features/link-icon-svg.js index ad479a9273..eab6ea7db0 100644 --- a/node_modules/caniuse-lite/data/features/link-icon-svg.js +++ b/node_modules/caniuse-lite/data/features/link-icon-svg.js @@ -1 +1 @@ -module.exports={A:{A:{"2":"K D E F A B aC"},B:{"2":"C L M G N O P Q","1537":"0 1 2 3 4 5 6 7 8 9 H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I"},C:{"2":"bC DC dC eC","260":"J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB","513":"0 1 2 3 4 5 6 7 8 9 WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC"},D:{"2":"J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q","1537":"0 1 2 3 4 5 6 7 8 9 H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC"},E:{"2":"J FB K D E F A B C L M G fC JC gC hC iC jC KC 7B 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC"},F:{"1":"ZB aB bB cB dB eB fB gB hB iB","2":"F B C G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB jB kB lB mB nB oB pB qB rB sB tB qC rC sC tC 7B YC uC 8B","1537":"uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t"},G:{"2":"6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC","130":"E JC vC ZC wC xC yC zC 0C 1C 2C 3C 4C 5C"},H:{"130":"HD"},I:{"2":"DC J I ID JD KD LD ZC MD ND"},J:{"2":"D","130":"A"},K:{"130":"A B C 7B YC 8B","1537":"H"},L:{"1537":"I"},M:{"2":"6B"},N:{"130":"A B"},O:{"2":"9B"},P:{"2":"J OD PD QD RD SD KC TD UD","1537":"u v w x y z VD WD XD AC BC CC YD"},Q:{"2":"ZD"},R:{"1537":"aD"},S:{"513":"bD cD"}},B:1,C:"SVG favicons",D:true}; +module.exports={A:{A:{"2":"K D E F A B gC"},B:{"2":"C L M G N O P Q","1537":"5 6 7 8 9 H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I"},C:{"2":"hC IC jC kC","260":"0 1 2 3 4 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB","513":"5 6 7 8 9 bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC"},D:{"2":"0 1 2 3 4 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q","1537":"5 6 7 8 9 H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC"},E:{"2":"J LB K D E F A B C L M G lC OC mC nC oC pC PC CC DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC"},F:{"1":"eB fB gB hB iB jB kB lB mB nB","2":"0 1 2 3 4 F B C G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB oB pB qB rB sB tB uB vB wB xB yB xC yC zC 0C CC eC 1C DC","1537":"zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x"},G:{"2":"DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC","130":"E OC 2C fC 3C 4C 5C 6C 7C 8C 9C AD BD CD"},H:{"130":"PD"},I:{"2":"IC J I QD RD SD TD fC UD VD"},J:{"2":"D","130":"A"},K:{"130":"A B C CC eC DC","1537":"H"},L:{"1537":"I"},M:{"2":"BC"},N:{"130":"A B"},O:{"2":"EC"},P:{"2":"J WD XD YD ZD aD PC bD cD","1537":"0 1 2 3 4 y z dD eD fD FC GC HC gD"},Q:{"2":"hD"},R:{"1537":"iD"},S:{"513":"jD kD"}},B:1,C:"SVG favicons",D:true}; diff --git a/node_modules/caniuse-lite/data/features/link-rel-dns-prefetch.js b/node_modules/caniuse-lite/data/features/link-rel-dns-prefetch.js index efbbae0f02..27ed74b5e5 100644 --- a/node_modules/caniuse-lite/data/features/link-rel-dns-prefetch.js +++ b/node_modules/caniuse-lite/data/features/link-rel-dns-prefetch.js @@ -1 +1 @@ -module.exports={A:{A:{"1":"A B","2":"K D E aC","132":"F"},B:{"1":"0 1 2 3 4 5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I"},C:{"1":"6B HC IC cC","2":"bC DC","260":"0 1 2 3 4 5 6 7 8 9 J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I dC eC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC"},E:{"1":"FB K D E F A B C L M G gC hC iC jC KC 7B 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC","2":"J fC JC"},F:{"1":"G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t","2":"F B C qC rC sC tC 7B YC uC 8B"},G:{"16":"E JC vC ZC wC xC yC zC 0C 1C 2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC"},H:{"2":"HD"},I:{"16":"DC J I ID JD KD LD ZC MD ND"},J:{"16":"D A"},K:{"1":"H","16":"A B C 7B YC 8B"},L:{"1":"I"},M:{"1":"6B"},N:{"1":"B","2":"A"},O:{"1":"9B"},P:{"1":"u v w x y z OD PD QD RD SD KC TD UD VD WD XD AC BC CC YD","16":"J"},Q:{"1":"ZD"},R:{"1":"aD"},S:{"1":"bD cD"}},B:5,C:"Resource Hints: dns-prefetch",D:true}; +module.exports={A:{A:{"1":"A B","2":"K D E gC","132":"F"},B:{"1":"5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I"},C:{"1":"HB IB JB KB I BC MC NC iC","2":"hC IC","260":"0 1 2 3 4 5 6 7 8 9 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB jC kC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC"},E:{"1":"LB K D E F A B C L M G mC nC oC pC PC CC DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC","2":"J lC OC"},F:{"1":"0 1 2 3 4 G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x","2":"F B C xC yC zC 0C CC eC 1C DC"},G:{"16":"E OC 2C fC 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC"},H:{"2":"PD"},I:{"16":"IC J I QD RD SD TD fC UD VD"},J:{"16":"D A"},K:{"1":"H","16":"A B C CC eC DC"},L:{"1":"I"},M:{"1":"BC"},N:{"1":"B","2":"A"},O:{"1":"EC"},P:{"1":"0 1 2 3 4 y z WD XD YD ZD aD PC bD cD dD eD fD FC GC HC gD","16":"J"},Q:{"1":"hD"},R:{"1":"iD"},S:{"1":"jD kD"}},B:5,C:"Resource Hints: dns-prefetch",D:true}; diff --git a/node_modules/caniuse-lite/data/features/link-rel-modulepreload.js b/node_modules/caniuse-lite/data/features/link-rel-modulepreload.js index 6df70bd1cd..3f4fbfc5d2 100644 --- a/node_modules/caniuse-lite/data/features/link-rel-modulepreload.js +++ b/node_modules/caniuse-lite/data/features/link-rel-modulepreload.js @@ -1 +1 @@ -module.exports={A:{A:{"2":"K D E F A B aC"},B:{"1":"0 1 2 3 4 5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I","2":"C L M G N O P"},C:{"1":"4 5 6 7 8 9 AB BB CB DB EB I 6B HC IC cC","2":"0 1 2 3 bC DC J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t dC eC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC","2":"J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB"},E:{"1":"BC SC TC UC VC WC XC CC pC","2":"J FB K D E F A B C L M G fC JC gC hC iC jC KC 7B 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC"},F:{"1":"iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t","2":"F B C G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB qC rC sC tC 7B YC uC 8B"},G:{"1":"BC SC TC UC VC WC XC CC","2":"E JC vC ZC wC xC yC zC 0C 1C 2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD"},H:{"2":"HD"},I:{"1":"I","2":"DC J ID JD KD LD ZC MD ND"},J:{"2":"D A"},K:{"1":"H","2":"A B C 7B YC 8B"},L:{"1":"I"},M:{"1":"6B"},N:{"2":"A B"},O:{"1":"9B"},P:{"1":"u v w x y z SD KC TD UD VD WD XD AC BC CC YD","2":"J OD PD QD RD"},Q:{"1":"ZD"},R:{"1":"aD"},S:{"2":"bD cD"}},B:1,C:"Resource Hints: modulepreload",D:true}; +module.exports={A:{A:{"2":"K D E F A B gC"},B:{"1":"5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I","2":"C L M G N O P"},C:{"1":"5 6 7 8 9 AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC","2":"0 1 2 3 4 hC IC J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x jC kC"},D:{"1":"5 6 7 8 9 yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC","2":"0 1 2 3 4 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB"},E:{"1":"GC XC YC ZC aC bC vC HC cC dC wC","2":"J LB K D E F A B C L M G lC OC mC nC oC pC PC CC DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC"},F:{"1":"nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x","2":"0 1 2 3 4 F B C G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB xC yC zC 0C CC eC 1C DC"},G:{"1":"GC XC YC ZC aC bC OD HC cC dC","2":"E OC 2C fC 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND"},H:{"2":"PD"},I:{"1":"I","2":"IC J QD RD SD TD fC UD VD"},J:{"2":"D A"},K:{"1":"H","2":"A B C CC eC DC"},L:{"1":"I"},M:{"1":"BC"},N:{"2":"A B"},O:{"1":"EC"},P:{"1":"0 1 2 3 4 y z aD PC bD cD dD eD fD FC GC HC gD","2":"J WD XD YD ZD"},Q:{"1":"hD"},R:{"1":"iD"},S:{"2":"jD kD"}},B:1,C:"Resource Hints: modulepreload",D:true}; diff --git a/node_modules/caniuse-lite/data/features/link-rel-preconnect.js b/node_modules/caniuse-lite/data/features/link-rel-preconnect.js index 64d3418712..7e3c13737e 100644 --- a/node_modules/caniuse-lite/data/features/link-rel-preconnect.js +++ b/node_modules/caniuse-lite/data/features/link-rel-preconnect.js @@ -1 +1 @@ -module.exports={A:{A:{"2":"K D E F A B aC"},B:{"1":"0 1 2 3 4 5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I","2":"C L M","260":"G N O P"},C:{"1":"4 5 6 7 8 9 VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB AB BB CB DB EB I 6B HC IC cC","2":"bC DC J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB dC eC","129":"UB","514":"0 1 2 3 yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t"},D:{"1":"0 1 2 3 4 5 6 7 8 9 bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC","2":"J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB"},E:{"1":"C L M G 7B 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC","2":"J FB K D E F A B fC JC gC hC iC jC KC"},F:{"1":"OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t","2":"F B C G N O P GB u v w x y z HB IB JB KB LB MB NB qC rC sC tC 7B YC uC 8B"},G:{"1":"5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC","2":"E JC vC ZC wC xC yC zC 0C 1C 2C 3C 4C"},H:{"2":"HD"},I:{"1":"I","2":"DC J ID JD KD LD ZC MD ND"},J:{"2":"D A"},K:{"1":"H","2":"A B C 7B YC 8B"},L:{"1":"I"},M:{"1":"6B"},N:{"2":"A B"},O:{"1":"9B"},P:{"1":"u v w x y z OD PD QD RD SD KC TD UD VD WD XD AC BC CC YD","2":"J"},Q:{"1":"ZD"},R:{"1":"aD"},S:{"1":"bD cD"}},B:5,C:"Resource Hints: preconnect",D:true}; +module.exports={A:{A:{"2":"K D E F A B gC"},B:{"1":"5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I","2":"C L M","260":"G N O P"},C:{"1":"5 6 7 8 9 aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC","2":"0 1 2 3 4 hC IC J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB jC kC","129":"ZB","514":"3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x"},D:{"1":"5 6 7 8 9 gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC","2":"0 1 2 3 4 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB"},E:{"1":"C L M G CC DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC","2":"J LB K D E F A B lC OC mC nC oC pC PC"},F:{"1":"TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x","2":"0 1 2 3 4 F B C G N O P MB y z NB OB PB QB RB SB xC yC zC 0C CC eC 1C DC"},G:{"1":"CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC","2":"E OC 2C fC 3C 4C 5C 6C 7C 8C 9C AD BD"},H:{"2":"PD"},I:{"1":"I","2":"IC J QD RD SD TD fC UD VD"},J:{"2":"D A"},K:{"1":"H","2":"A B C CC eC DC"},L:{"1":"I"},M:{"1":"BC"},N:{"2":"A B"},O:{"1":"EC"},P:{"1":"0 1 2 3 4 y z WD XD YD ZD aD PC bD cD dD eD fD FC GC HC gD","2":"J"},Q:{"1":"hD"},R:{"1":"iD"},S:{"1":"jD kD"}},B:5,C:"Resource Hints: preconnect",D:true}; diff --git a/node_modules/caniuse-lite/data/features/link-rel-prefetch.js b/node_modules/caniuse-lite/data/features/link-rel-prefetch.js index bb6fa0b37d..809094736f 100644 --- a/node_modules/caniuse-lite/data/features/link-rel-prefetch.js +++ b/node_modules/caniuse-lite/data/features/link-rel-prefetch.js @@ -1 +1 @@ -module.exports={A:{A:{"1":"B","2":"K D E F A aC"},B:{"1":"0 1 2 3 4 5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 bC DC J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC dC eC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC","2":"J FB K D"},E:{"2":"J FB K D E F A B C L fC JC gC hC iC jC KC 7B 8B","194":"M G kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC"},F:{"1":"G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t","2":"F B C qC rC sC tC 7B YC uC 8B"},G:{"2":"E JC vC ZC wC xC yC zC 0C 1C 2C 3C 4C 5C 6C 7C 8C 9C AD","194":"BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC"},H:{"2":"HD"},I:{"1":"J I MD ND","2":"DC ID JD KD LD ZC"},J:{"2":"D A"},K:{"1":"H","2":"A B C 7B YC 8B"},L:{"1":"I"},M:{"1":"6B"},N:{"1":"B","2":"A"},O:{"1":"9B"},P:{"1":"J u v w x y z OD PD QD RD SD KC TD UD VD WD XD AC BC CC YD"},Q:{"1":"ZD"},R:{"1":"aD"},S:{"1":"bD cD"}},B:5,C:"Resource Hints: prefetch",D:true}; +module.exports={A:{A:{"1":"B","2":"K D E F A gC"},B:{"1":"5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 hC IC J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC jC kC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC","2":"J LB K D"},E:{"2":"J LB K D E F A B C L lC OC mC nC oC pC PC CC DC","194":"M G qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC"},F:{"1":"0 1 2 3 4 G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x","2":"F B C xC yC zC 0C CC eC 1C DC"},G:{"2":"E OC 2C fC 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED FD GD HD","194":"ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC"},H:{"2":"PD"},I:{"1":"J I UD VD","2":"IC QD RD SD TD fC"},J:{"2":"D A"},K:{"1":"H","2":"A B C CC eC DC"},L:{"1":"I"},M:{"1":"BC"},N:{"1":"B","2":"A"},O:{"1":"EC"},P:{"1":"0 1 2 3 4 J y z WD XD YD ZD aD PC bD cD dD eD fD FC GC HC gD"},Q:{"1":"hD"},R:{"1":"iD"},S:{"1":"jD kD"}},B:5,C:"Resource Hints: prefetch",D:true}; diff --git a/node_modules/caniuse-lite/data/features/link-rel-preload.js b/node_modules/caniuse-lite/data/features/link-rel-preload.js index 67886ae0f4..756197229e 100644 --- a/node_modules/caniuse-lite/data/features/link-rel-preload.js +++ b/node_modules/caniuse-lite/data/features/link-rel-preload.js @@ -1 +1 @@ -module.exports={A:{A:{"2":"K D E F A B aC"},B:{"1":"0 1 2 3 4 5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I","2":"C L M G N","1028":"O P"},C:{"1":"0 1 2 3 4 5 6 7 8 9 U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC","2":"bC DC J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB dC eC","132":"lB","578":"mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T"},D:{"1":"0 1 2 3 4 5 6 7 8 9 fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC","2":"J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB"},E:{"1":"C L M G 7B 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC","2":"J FB K D E F A fC JC gC hC iC jC KC","322":"B"},F:{"1":"SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t","2":"F B C G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB qC rC sC tC 7B YC uC 8B"},G:{"1":"5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC","2":"E JC vC ZC wC xC yC zC 0C 1C 2C 3C","322":"4C"},H:{"2":"HD"},I:{"1":"I","2":"DC J ID JD KD LD ZC MD ND"},J:{"2":"D A"},K:{"1":"H","2":"A B C 7B YC 8B"},L:{"1":"I"},M:{"1":"6B"},N:{"2":"A B"},O:{"1":"9B"},P:{"1":"u v w x y z OD PD QD RD SD KC TD UD VD WD XD AC BC CC YD","2":"J"},Q:{"1":"ZD"},R:{"1":"aD"},S:{"2":"bD cD"}},B:4,C:"Resource Hints: preload",D:true}; +module.exports={A:{A:{"2":"K D E F A B gC"},B:{"1":"5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I","2":"C L M G N","1028":"O P"},C:{"1":"5 6 7 8 9 U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC","2":"0 1 2 3 4 hC IC J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB jC kC","132":"qB","578":"rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T"},D:{"1":"5 6 7 8 9 kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC","2":"0 1 2 3 4 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB"},E:{"1":"C L M G CC DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC","2":"J LB K D E F A lC OC mC nC oC pC PC","322":"B"},F:{"1":"XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x","2":"0 1 2 3 4 F B C G N O P MB y z NB OB PB QB RB SB TB UB VB WB xC yC zC 0C CC eC 1C DC"},G:{"1":"CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC","2":"E OC 2C fC 3C 4C 5C 6C 7C 8C 9C AD","322":"BD"},H:{"2":"PD"},I:{"1":"I","2":"IC J QD RD SD TD fC UD VD"},J:{"2":"D A"},K:{"1":"H","2":"A B C CC eC DC"},L:{"1":"I"},M:{"1":"BC"},N:{"2":"A B"},O:{"1":"EC"},P:{"1":"0 1 2 3 4 y z WD XD YD ZD aD PC bD cD dD eD fD FC GC HC gD","2":"J"},Q:{"1":"hD"},R:{"1":"iD"},S:{"2":"jD kD"}},B:4,C:"Resource Hints: preload",D:true}; diff --git a/node_modules/caniuse-lite/data/features/link-rel-prerender.js b/node_modules/caniuse-lite/data/features/link-rel-prerender.js index ecdfe7895d..1822a6f559 100644 --- a/node_modules/caniuse-lite/data/features/link-rel-prerender.js +++ b/node_modules/caniuse-lite/data/features/link-rel-prerender.js @@ -1 +1 @@ -module.exports={A:{A:{"1":"B","2":"K D E F A aC"},B:{"1":"0 1 2 3 4 5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I","2":"C L M G N O P"},C:{"2":"0 1 2 3 4 5 6 7 8 9 bC DC J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC dC eC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC","2":"J FB K D E F A B C"},E:{"2":"J FB K D E F A B C L M G fC JC gC hC iC jC KC 7B 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC"},F:{"1":"G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t","2":"F B C qC rC sC tC 7B YC uC 8B"},G:{"2":"E JC vC ZC wC xC yC zC 0C 1C 2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC"},H:{"2":"HD"},I:{"2":"DC J I ID JD KD LD ZC MD ND"},J:{"2":"D A"},K:{"1":"H","2":"A B C 7B YC 8B"},L:{"1":"I"},M:{"2":"6B"},N:{"1":"B","2":"A"},O:{"1":"9B"},P:{"1":"J u v w x y z OD PD QD RD SD KC TD UD VD WD XD AC BC CC YD"},Q:{"1":"ZD"},R:{"1":"aD"},S:{"2":"bD cD"}},B:5,C:"Resource Hints: prerender",D:true}; +module.exports={A:{A:{"1":"B","2":"K D E F A gC"},B:{"1":"5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I","2":"C L M G N O P"},C:{"2":"0 1 2 3 4 5 6 7 8 9 hC IC J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC jC kC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC","2":"J LB K D E F A B C"},E:{"2":"J LB K D E F A B C L M G lC OC mC nC oC pC PC CC DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC"},F:{"1":"0 1 2 3 4 G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x","2":"F B C xC yC zC 0C CC eC 1C DC"},G:{"2":"E OC 2C fC 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC"},H:{"2":"PD"},I:{"2":"IC J I QD RD SD TD fC UD VD"},J:{"2":"D A"},K:{"1":"H","2":"A B C CC eC DC"},L:{"1":"I"},M:{"2":"BC"},N:{"1":"B","2":"A"},O:{"1":"EC"},P:{"1":"0 1 2 3 4 J y z WD XD YD ZD aD PC bD cD dD eD fD FC GC HC gD"},Q:{"1":"hD"},R:{"1":"iD"},S:{"2":"jD kD"}},B:5,C:"Resource Hints: prerender",D:true}; diff --git a/node_modules/caniuse-lite/data/features/loading-lazy-attr.js b/node_modules/caniuse-lite/data/features/loading-lazy-attr.js index 3cb96e1ce8..a838106fa4 100644 --- a/node_modules/caniuse-lite/data/features/loading-lazy-attr.js +++ b/node_modules/caniuse-lite/data/features/loading-lazy-attr.js @@ -1 +1 @@ -module.exports={A:{A:{"2":"K D E F A B aC"},B:{"1":"0 1 2 3 4 5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I","2":"C L M G N O P"},C:{"1":"AB BB CB DB EB I 6B HC IC cC","2":"bC DC J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B dC eC","132":"0 1 2 3 4 5 6 7 8 9 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t"},D:{"1":"0 1 2 3 4 5 6 7 8 9 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC","2":"J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B","66":"2B 3B"},E:{"1":"QC RC oC BC SC TC UC VC WC XC CC pC","2":"J FB K D E F A B C L fC JC gC hC iC jC KC 7B 8B","322":"M G kC lC mC LC","580":"MC 9B nC AC NC OC PC"},F:{"1":"rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t","2":"F B C G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB qC rC sC tC 7B YC uC 8B","66":"pB qB"},G:{"1":"QC RC GD BC SC TC UC VC WC XC CC","2":"E JC vC ZC wC xC yC zC 0C 1C 2C 3C 4C 5C 6C 7C 8C 9C AD","322":"BD CD DD ED LC","580":"MC 9B FD AC NC OC PC"},H:{"2":"HD"},I:{"1":"I","2":"DC J ID JD KD LD ZC MD ND"},J:{"2":"D A"},K:{"1":"H","2":"A B C 7B YC 8B"},L:{"1":"I"},M:{"132":"6B"},N:{"2":"A B"},O:{"1":"9B"},P:{"1":"u v w x y z UD VD WD XD AC BC CC YD","2":"J OD PD QD RD SD KC TD"},Q:{"1":"ZD"},R:{"1":"aD"},S:{"2":"bD","132":"cD"}},B:1,C:"Lazy loading via attribute for images & iframes",D:true}; +module.exports={A:{A:{"2":"K D E F A B gC"},B:{"1":"5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I","2":"C L M G N O P"},C:{"1":"BB CB DB EB FB GB HB IB JB KB I BC MC NC iC","2":"0 1 2 3 4 hC IC J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B jC kC","132":"5 6 7 8 9 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB"},D:{"1":"5 6 7 8 9 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC","2":"0 1 2 3 4 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B","66":"7B 8B"},E:{"1":"VC WC uC GC XC YC ZC aC bC vC HC cC dC wC","2":"J LB K D E F A B C L lC OC mC nC oC pC PC CC DC","322":"M G qC rC sC QC","580":"RC EC tC FC SC TC UC"},F:{"1":"wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x","2":"0 1 2 3 4 F B C G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB xC yC zC 0C CC eC 1C DC","66":"uB vB"},G:{"1":"VC WC ND GC XC YC ZC aC bC OD HC cC dC","2":"E OC 2C fC 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED FD GD HD","322":"ID JD KD LD QC","580":"RC EC MD FC SC TC UC"},H:{"2":"PD"},I:{"1":"I","2":"IC J QD RD SD TD fC UD VD"},J:{"2":"D A"},K:{"1":"H","2":"A B C CC eC DC"},L:{"1":"I"},M:{"1":"BC"},N:{"2":"A B"},O:{"1":"EC"},P:{"1":"0 1 2 3 4 y z cD dD eD fD FC GC HC gD","2":"J WD XD YD ZD aD PC bD"},Q:{"1":"hD"},R:{"1":"iD"},S:{"2":"jD","132":"kD"}},B:1,C:"Lazy loading via attribute for images & iframes",D:true}; diff --git a/node_modules/caniuse-lite/data/features/localecompare.js b/node_modules/caniuse-lite/data/features/localecompare.js index b88b97d2fb..3118b9e13d 100644 --- a/node_modules/caniuse-lite/data/features/localecompare.js +++ b/node_modules/caniuse-lite/data/features/localecompare.js @@ -1 +1 @@ -module.exports={A:{A:{"1":"B","16":"aC","132":"K D E F A"},B:{"1":"0 1 2 3 4 5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC","132":"bC DC J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB dC eC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC","132":"J FB K D E F A B C L M G N O P GB u v w x"},E:{"1":"A B C L M G KC 7B 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC","132":"J FB K D E F fC JC gC hC iC jC"},F:{"1":"G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t","16":"F B C qC rC sC tC 7B YC uC","132":"8B"},G:{"1":"2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC","132":"E JC vC ZC wC xC yC zC 0C 1C"},H:{"132":"HD"},I:{"1":"I MD ND","132":"DC J ID JD KD LD ZC"},J:{"132":"D A"},K:{"1":"H","16":"A B C 7B YC","132":"8B"},L:{"1":"I"},M:{"1":"6B"},N:{"1":"B","132":"A"},O:{"1":"9B"},P:{"1":"u v w x y z OD PD QD RD SD KC TD UD VD WD XD AC BC CC YD","132":"J"},Q:{"1":"ZD"},R:{"1":"aD"},S:{"1":"cD","4":"bD"}},B:6,C:"localeCompare()",D:true}; +module.exports={A:{A:{"1":"B","16":"gC","132":"K D E F A"},B:{"1":"5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I"},C:{"1":"5 6 7 8 9 PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC","132":"0 1 2 3 4 hC IC J LB K D E F A B C L M G N O P MB y z NB OB jC kC"},D:{"1":"2 3 4 5 6 7 8 9 NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC","132":"0 1 J LB K D E F A B C L M G N O P MB y z"},E:{"1":"A B C L M G PC CC DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC","132":"J LB K D E F lC OC mC nC oC pC"},F:{"1":"0 1 2 3 4 G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x","16":"F B C xC yC zC 0C CC eC 1C","132":"DC"},G:{"1":"9C AD BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC","132":"E OC 2C fC 3C 4C 5C 6C 7C 8C"},H:{"132":"PD"},I:{"1":"I UD VD","132":"IC J QD RD SD TD fC"},J:{"132":"D A"},K:{"1":"H","16":"A B C CC eC","132":"DC"},L:{"1":"I"},M:{"1":"BC"},N:{"1":"B","132":"A"},O:{"1":"EC"},P:{"1":"0 1 2 3 4 y z WD XD YD ZD aD PC bD cD dD eD fD FC GC HC gD","132":"J"},Q:{"1":"hD"},R:{"1":"iD"},S:{"1":"kD","4":"jD"}},B:6,C:"localeCompare()",D:true}; diff --git a/node_modules/caniuse-lite/data/features/magnetometer.js b/node_modules/caniuse-lite/data/features/magnetometer.js index e24cbfab6c..bf7edb5e3e 100644 --- a/node_modules/caniuse-lite/data/features/magnetometer.js +++ b/node_modules/caniuse-lite/data/features/magnetometer.js @@ -1 +1 @@ -module.exports={A:{A:{"2":"K D E F A B aC"},B:{"1":"0 1 2 3 4 5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I","2":"C L M G N O P"},C:{"2":"0 1 2 3 4 5 6 7 8 9 bC DC J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC dC eC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC","2":"J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB","194":"nB EC oB FC pB qB rB sB tB"},E:{"2":"J FB K D E F A B C L M G fC JC gC hC iC jC KC 7B 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC"},F:{"1":"jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t","2":"F B C G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB qC rC sC tC 7B YC uC 8B"},G:{"2":"E JC vC ZC wC xC yC zC 0C 1C 2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC"},H:{"2":"HD"},I:{"2":"DC J I ID JD KD LD ZC MD ND"},J:{"2":"D A"},K:{"2":"A B C H 7B YC 8B"},L:{"194":"I"},M:{"2":"6B"},N:{"2":"A B"},O:{"2":"9B"},P:{"2":"J u v w x y z OD PD QD RD SD KC TD UD VD WD XD AC BC CC YD"},Q:{"2":"ZD"},R:{"2":"aD"},S:{"2":"bD cD"}},B:4,C:"Magnetometer",D:true}; +module.exports={A:{A:{"2":"K D E F A B gC"},B:{"1":"5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I","2":"C L M G N O P"},C:{"2":"0 1 2 3 4 5 6 7 8 9 hC IC J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC jC kC"},D:{"1":"5 6 7 8 9 zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC","2":"0 1 2 3 4 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB","194":"sB JC tB KC uB vB wB xB yB"},E:{"2":"J LB K D E F A B C L M G lC OC mC nC oC pC PC CC DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC"},F:{"1":"oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x","2":"0 1 2 3 4 F B C G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB xC yC zC 0C CC eC 1C DC"},G:{"2":"E OC 2C fC 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC"},H:{"2":"PD"},I:{"2":"IC J I QD RD SD TD fC UD VD"},J:{"2":"D A"},K:{"2":"A B C H CC eC DC"},L:{"194":"I"},M:{"2":"BC"},N:{"2":"A B"},O:{"2":"EC"},P:{"2":"0 1 2 3 4 J y z WD XD YD ZD aD PC bD cD dD eD fD FC GC HC gD"},Q:{"2":"hD"},R:{"2":"iD"},S:{"2":"jD kD"}},B:4,C:"Magnetometer",D:true}; diff --git a/node_modules/caniuse-lite/data/features/matchesselector.js b/node_modules/caniuse-lite/data/features/matchesselector.js index 455dc3b33c..4bedc45843 100644 --- a/node_modules/caniuse-lite/data/features/matchesselector.js +++ b/node_modules/caniuse-lite/data/features/matchesselector.js @@ -1 +1 @@ -module.exports={A:{A:{"2":"K D E aC","36":"F A B"},B:{"1":"0 1 2 3 4 5 6 7 8 9 G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I","36":"C L M"},C:{"1":"0 1 2 3 4 5 6 7 8 9 PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC","2":"bC DC dC","36":"J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB eC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC","36":"J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB"},E:{"1":"E F A B C L M G iC jC KC 7B 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC","2":"J fC JC","36":"FB K D gC hC"},F:{"1":"v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t","2":"F B qC rC sC tC 7B","36":"C G N O P GB u YC uC 8B"},G:{"1":"E zC 0C 1C 2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC","2":"JC","36":"vC ZC wC xC yC"},H:{"2":"HD"},I:{"1":"I","2":"ID","36":"DC J JD KD LD ZC MD ND"},J:{"36":"D A"},K:{"1":"H","2":"A B","36":"C 7B YC 8B"},L:{"1":"I"},M:{"1":"6B"},N:{"36":"A B"},O:{"1":"9B"},P:{"1":"u v w x y z OD PD QD RD SD KC TD UD VD WD XD AC BC CC YD","36":"J"},Q:{"1":"ZD"},R:{"1":"aD"},S:{"1":"bD cD"}},B:1,C:"matches() DOM method",D:true}; +module.exports={A:{A:{"2":"K D E gC","36":"F A B"},B:{"1":"5 6 7 8 9 G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I","36":"C L M"},C:{"1":"5 6 7 8 9 UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC","2":"hC IC jC","36":"0 1 2 3 4 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB kC"},D:{"1":"5 6 7 8 9 UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC","36":"0 1 2 3 4 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB"},E:{"1":"E F A B C L M G oC pC PC CC DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC","2":"J lC OC","36":"LB K D mC nC"},F:{"1":"0 1 2 3 4 z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x","2":"F B xC yC zC 0C CC","36":"C G N O P MB y eC 1C DC"},G:{"1":"E 6C 7C 8C 9C AD BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC","2":"OC","36":"2C fC 3C 4C 5C"},H:{"2":"PD"},I:{"1":"I","2":"QD","36":"IC J RD SD TD fC UD VD"},J:{"36":"D A"},K:{"1":"H","2":"A B","36":"C CC eC DC"},L:{"1":"I"},M:{"1":"BC"},N:{"36":"A B"},O:{"1":"EC"},P:{"1":"0 1 2 3 4 y z WD XD YD ZD aD PC bD cD dD eD fD FC GC HC gD","36":"J"},Q:{"1":"hD"},R:{"1":"iD"},S:{"1":"jD kD"}},B:1,C:"matches() DOM method",D:true}; diff --git a/node_modules/caniuse-lite/data/features/matchmedia.js b/node_modules/caniuse-lite/data/features/matchmedia.js index 79255b5fdb..7b88cf8d9e 100644 --- a/node_modules/caniuse-lite/data/features/matchmedia.js +++ b/node_modules/caniuse-lite/data/features/matchmedia.js @@ -1 +1 @@ -module.exports={A:{A:{"1":"A B","2":"K D E F aC"},B:{"1":"0 1 2 3 4 5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC","2":"bC DC J FB dC eC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC","2":"J FB K D E"},E:{"1":"K D E F A B C L M G gC hC iC jC KC 7B 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC","2":"J FB fC JC"},F:{"1":"G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t 8B","2":"F B C qC rC sC tC 7B YC uC"},G:{"1":"E wC xC yC zC 0C 1C 2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC","2":"JC vC ZC"},H:{"1":"HD"},I:{"1":"DC J I LD ZC MD ND","2":"ID JD KD"},J:{"1":"A","2":"D"},K:{"1":"H 8B","2":"A B C 7B YC"},L:{"1":"I"},M:{"1":"6B"},N:{"1":"A B"},O:{"1":"9B"},P:{"1":"J u v w x y z OD PD QD RD SD KC TD UD VD WD XD AC BC CC YD"},Q:{"1":"ZD"},R:{"1":"aD"},S:{"1":"bD cD"}},B:5,C:"matchMedia",D:true}; +module.exports={A:{A:{"1":"A B","2":"K D E F gC"},B:{"1":"5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC","2":"hC IC J LB jC kC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC","2":"J LB K D E"},E:{"1":"K D E F A B C L M G mC nC oC pC PC CC DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC","2":"J LB lC OC"},F:{"1":"0 1 2 3 4 G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x DC","2":"F B C xC yC zC 0C CC eC 1C"},G:{"1":"E 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC","2":"OC 2C fC"},H:{"1":"PD"},I:{"1":"IC J I TD fC UD VD","2":"QD RD SD"},J:{"1":"A","2":"D"},K:{"1":"H DC","2":"A B C CC eC"},L:{"1":"I"},M:{"1":"BC"},N:{"1":"A B"},O:{"1":"EC"},P:{"1":"0 1 2 3 4 J y z WD XD YD ZD aD PC bD cD dD eD fD FC GC HC gD"},Q:{"1":"hD"},R:{"1":"iD"},S:{"1":"jD kD"}},B:5,C:"matchMedia",D:true}; diff --git a/node_modules/caniuse-lite/data/features/mathml.js b/node_modules/caniuse-lite/data/features/mathml.js index 2e730497c6..b32ae2c3cc 100644 --- a/node_modules/caniuse-lite/data/features/mathml.js +++ b/node_modules/caniuse-lite/data/features/mathml.js @@ -1 +1 @@ -module.exports={A:{A:{"2":"F A B aC","8":"K D E"},B:{"2":"C L M G N O P","8":"Q H R S T U V W X Y Z a b c d e f","584":"g h i j k l m n o p q r","1025":"0 1 2 3 4 5 6 7 8 9 s t AB BB CB DB EB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC","129":"bC DC dC eC"},D:{"1":"y","8":"J FB K D E F A B C L M G N O P GB u v w x z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f","584":"g h i j k l m n o p q r","1025":"0 1 2 3 4 5 6 7 8 9 s t AB BB CB DB EB I 6B HC IC"},E:{"1":"A B C L M G KC 7B 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC","260":"J FB K D E F fC JC gC hC iC jC"},F:{"2":"F","8":"G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC","584":"S T U V W X Y Z a b c d","1025":"e f g h i j k l m n o p q r s t","2052":"B C qC rC sC tC 7B YC uC 8B"},G:{"1":"E wC xC yC zC 0C 1C 2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC","8":"JC vC ZC"},H:{"8":"HD"},I:{"8":"DC J ID JD KD LD ZC MD ND","1025":"I"},J:{"1":"A","8":"D"},K:{"8":"A B C 7B YC 8B","1025":"H"},L:{"1025":"I"},M:{"1":"6B"},N:{"2":"A B"},O:{"8":"9B"},P:{"1":"v w x y z","8":"J u OD PD QD RD SD KC TD UD VD WD XD AC BC CC YD"},Q:{"8":"ZD"},R:{"8":"aD"},S:{"1":"bD cD"}},B:2,C:"MathML",D:true}; +module.exports={A:{A:{"2":"F A B gC","8":"K D E"},B:{"2":"C L M G N O P","8":"Q H R S T U V W X Y Z a b c d e f","584":"g h i j k l m n o p q r","1025":"5 6 7 8 9 s t u v w x AB BB CB DB EB FB GB HB IB JB KB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC","129":"hC IC jC kC"},D:{"1":"2","8":"0 1 3 4 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f","584":"g h i j k l m n o p q r","1025":"5 6 7 8 9 s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC"},E:{"1":"A B C L M G PC CC DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC","260":"J LB K D E F lC OC mC nC oC pC"},F:{"2":"F","8":"0 1 2 3 4 G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC","584":"S T U V W X Y Z a b c d","1025":"e f g h i j k l m n o p q r s t u v w x","2052":"B C xC yC zC 0C CC eC 1C DC"},G:{"1":"E 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC","8":"OC 2C fC"},H:{"8":"PD"},I:{"8":"IC J QD RD SD TD fC UD VD","1025":"I"},J:{"1":"A","8":"D"},K:{"8":"A B C CC eC DC","1025":"H"},L:{"1025":"I"},M:{"1":"BC"},N:{"2":"A B"},O:{"8":"EC"},P:{"1":"0 1 2 3 4 z","8":"J y WD XD YD ZD aD PC bD cD dD eD fD FC GC HC gD"},Q:{"8":"hD"},R:{"8":"iD"},S:{"1":"jD kD"}},B:2,C:"MathML",D:true}; diff --git a/node_modules/caniuse-lite/data/features/maxlength.js b/node_modules/caniuse-lite/data/features/maxlength.js index ef8b520788..7f1c591086 100644 --- a/node_modules/caniuse-lite/data/features/maxlength.js +++ b/node_modules/caniuse-lite/data/features/maxlength.js @@ -1 +1 @@ -module.exports={A:{A:{"1":"A B","16":"aC","900":"K D E F"},B:{"1":"0 1 2 3 4 5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I","1025":"C L M G N O P"},C:{"1":"0 1 2 3 4 5 6 7 8 9 gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC","900":"bC DC dC eC","1025":"J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB"},D:{"1":"0 1 2 3 4 5 6 7 8 9 J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC"},E:{"1":"K D E F A B C L M G gC hC iC jC KC 7B 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC","16":"FB fC","900":"J JC"},F:{"1":"G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t","16":"F","132":"B C qC rC sC tC 7B YC uC 8B"},G:{"1":"vC ZC wC xC yC 0C 1C 2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC","16":"JC","2052":"E zC"},H:{"132":"HD"},I:{"1":"DC J KD LD ZC MD ND","16":"ID JD","4097":"I"},J:{"1":"D A"},K:{"132":"A B C 7B YC 8B","4097":"H"},L:{"4097":"I"},M:{"4097":"6B"},N:{"1":"A B"},O:{"1":"9B"},P:{"4097":"J u v w x y z OD PD QD RD SD KC TD UD VD WD XD AC BC CC YD"},Q:{"1":"ZD"},R:{"1":"aD"},S:{"1025":"bD cD"}},B:1,C:"maxlength attribute for input and textarea elements",D:true}; +module.exports={A:{A:{"1":"A B","16":"gC","900":"K D E F"},B:{"1":"5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I","1025":"C L M G N O P"},C:{"1":"5 6 7 8 9 lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC","900":"hC IC jC kC","1025":"0 1 2 3 4 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB"},D:{"1":"0 1 2 3 4 5 6 7 8 9 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC"},E:{"1":"K D E F A B C L M G mC nC oC pC PC CC DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC","16":"LB lC","900":"J OC"},F:{"1":"0 1 2 3 4 G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x","16":"F","132":"B C xC yC zC 0C CC eC 1C DC"},G:{"1":"2C fC 3C 4C 5C 7C 8C 9C AD BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC","16":"OC","2052":"E 6C"},H:{"132":"PD"},I:{"1":"IC J SD TD fC UD VD","16":"QD RD","4097":"I"},J:{"1":"D A"},K:{"132":"A B C CC eC DC","4097":"H"},L:{"4097":"I"},M:{"4097":"BC"},N:{"1":"A B"},O:{"1":"EC"},P:{"4097":"0 1 2 3 4 J y z WD XD YD ZD aD PC bD cD dD eD fD FC GC HC gD"},Q:{"1":"hD"},R:{"1":"iD"},S:{"1025":"jD kD"}},B:1,C:"maxlength attribute for input and textarea elements",D:true}; diff --git a/node_modules/caniuse-lite/data/features/mdn-css-backdrop-pseudo-element.js b/node_modules/caniuse-lite/data/features/mdn-css-backdrop-pseudo-element.js index cc40780909..ac4710152a 100644 --- a/node_modules/caniuse-lite/data/features/mdn-css-backdrop-pseudo-element.js +++ b/node_modules/caniuse-lite/data/features/mdn-css-backdrop-pseudo-element.js @@ -1 +1 @@ -module.exports={A:{D:{"1":"0 1 2 3 4 5 6 7 8 9 SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC","2":"J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB","33":"NB OB PB QB RB"},L:{"1":"I"},B:{"1":"0 1 2 3 4 5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I","33":"C L M G N O P"},C:{"1":"0 1 2 3 4 5 6 7 8 9 cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC","2":"bC DC J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB dC eC"},M:{"1":"6B"},A:{"2":"K D E F A aC","33":"B"},F:{"1":"y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t","2":"F B C G N O P qC rC sC tC 7B YC uC 8B","33":"GB u v w x"},K:{"1":"H","2":"A B C 7B YC 8B"},E:{"1":"MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC","2":"J FB K D E F A B C L M G fC JC gC hC iC jC KC 7B 8B kC lC mC LC pC"},G:{"1":"MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC","2":"E JC vC ZC wC xC yC zC 0C 1C 2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED LC"},P:{"1":"J u v w x y z OD PD QD RD SD KC TD UD VD WD XD AC BC CC YD"},I:{"1":"I","2":"DC J ID JD KD LD ZC","33":"MD ND"}},B:6,C:"CSS ::backdrop pseudo-element",D:undefined}; +module.exports={A:{D:{"1":"5 6 7 8 9 XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC","2":"0 1 2 3 4 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB","33":"SB TB UB VB WB"},L:{"1":"I"},B:{"1":"5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I","33":"C L M G N O P"},C:{"1":"5 6 7 8 9 hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC","2":"0 1 2 3 4 hC IC J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB jC kC"},M:{"1":"BC"},A:{"2":"K D E F A gC","33":"B"},F:{"1":"2 3 4 NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x","2":"F B C G N O P xC yC zC 0C CC eC 1C DC","33":"0 1 MB y z"},K:{"1":"H","2":"A B C CC eC DC"},E:{"1":"RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC","2":"J LB K D E F A B C L M G lC OC mC nC oC pC PC CC DC qC rC sC QC wC"},G:{"1":"RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC","2":"E OC 2C fC 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED FD GD HD ID JD KD LD QC"},P:{"1":"0 1 2 3 4 J y z WD XD YD ZD aD PC bD cD dD eD fD FC GC HC gD"},I:{"1":"I","2":"IC J QD RD SD TD fC","33":"UD VD"}},B:6,C:"CSS ::backdrop pseudo-element",D:undefined}; diff --git a/node_modules/caniuse-lite/data/features/mdn-css-unicode-bidi-isolate-override.js b/node_modules/caniuse-lite/data/features/mdn-css-unicode-bidi-isolate-override.js index 5a5c95074c..2d87fa1bc8 100644 --- a/node_modules/caniuse-lite/data/features/mdn-css-unicode-bidi-isolate-override.js +++ b/node_modules/caniuse-lite/data/features/mdn-css-unicode-bidi-isolate-override.js @@ -1 +1 @@ -module.exports={A:{D:{"1":"0 1 2 3 4 5 6 7 8 9 dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC","2":"J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB"},L:{"1":"I"},B:{"1":"0 1 2 3 4 5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I","2":"C L M G N O P"},C:{"1":"0 1 2 3 4 5 6 7 8 9 fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC","2":"bC DC J FB K D E F A B C L M G N dC eC","33":"O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB"},M:{"1":"6B"},A:{"2":"K D E F A B aC"},F:{"1":"QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t","2":"F B C G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB qC rC sC tC 7B YC uC 8B"},K:{"1":"H","2":"A B C 7B YC 8B"},E:{"1":"B C L M G 7B 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC","2":"J FB K fC JC gC hC pC","33":"D E F A iC jC KC"},G:{"1":"4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC","2":"JC vC ZC wC xC","33":"E yC zC 0C 1C 2C 3C"},P:{"1":"u v w x y z OD PD QD RD SD KC TD UD VD WD XD AC BC CC YD","2":"J"},I:{"1":"I","2":"DC J ID JD KD LD ZC MD ND"}},B:6,C:"isolate-override from unicode-bidi",D:undefined}; +module.exports={A:{D:{"1":"5 6 7 8 9 iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC","2":"0 1 2 3 4 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB"},L:{"1":"I"},B:{"1":"5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I","2":"C L M G N O P"},C:{"1":"5 6 7 8 9 kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC","2":"hC IC J LB K D E F A B C L M G N jC kC","33":"0 1 2 3 4 O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB"},M:{"1":"BC"},A:{"2":"K D E F A B gC"},F:{"1":"VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x","2":"0 1 2 3 4 F B C G N O P MB y z NB OB PB QB RB SB TB UB xC yC zC 0C CC eC 1C DC"},K:{"1":"H","2":"A B C CC eC DC"},E:{"1":"B C L M G CC DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC","2":"J LB K lC OC mC nC wC","33":"D E F A oC pC PC"},G:{"1":"BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC","2":"OC 2C fC 3C 4C","33":"E 5C 6C 7C 8C 9C AD"},P:{"1":"0 1 2 3 4 y z WD XD YD ZD aD PC bD cD dD eD fD FC GC HC gD","2":"J"},I:{"1":"I","2":"IC J QD RD SD TD fC UD VD"}},B:6,C:"isolate-override from unicode-bidi",D:undefined}; diff --git a/node_modules/caniuse-lite/data/features/mdn-css-unicode-bidi-isolate.js b/node_modules/caniuse-lite/data/features/mdn-css-unicode-bidi-isolate.js index 9a4eaf4c38..dbbd2a473b 100644 --- a/node_modules/caniuse-lite/data/features/mdn-css-unicode-bidi-isolate.js +++ b/node_modules/caniuse-lite/data/features/mdn-css-unicode-bidi-isolate.js @@ -1 +1 @@ -module.exports={A:{D:{"1":"0 1 2 3 4 5 6 7 8 9 dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC","2":"J FB K D E F A B C L M G","33":"N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB"},L:{"1":"I"},B:{"1":"0 1 2 3 4 5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I","2":"C L M G N O P"},C:{"1":"0 1 2 3 4 5 6 7 8 9 fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC","2":"bC DC J FB K D E F dC eC","33":"A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB"},M:{"1":"6B"},A:{"2":"K D E F A B aC"},F:{"1":"QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t","2":"F B C qC rC sC tC 7B YC uC 8B","33":"G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB"},K:{"1":"H","2":"A B C 7B YC 8B"},E:{"1":"B C L M G 7B 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC","2":"J FB fC JC gC pC","33":"K D E F A hC iC jC KC"},G:{"1":"4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC","2":"JC vC ZC wC","33":"E xC yC zC 0C 1C 2C 3C"},P:{"1":"u v w x y z OD PD QD RD SD KC TD UD VD WD XD AC BC CC YD","2":"J"},I:{"1":"I","2":"DC J ID JD KD LD ZC MD ND"}},B:6,C:"isolate from unicode-bidi",D:undefined}; +module.exports={A:{D:{"1":"5 6 7 8 9 iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC","2":"J LB K D E F A B C L M G","33":"0 1 2 3 4 N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB"},L:{"1":"I"},B:{"1":"5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I","2":"C L M G N O P"},C:{"1":"5 6 7 8 9 kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC","2":"hC IC J LB K D E F jC kC","33":"0 1 2 3 4 A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB"},M:{"1":"BC"},A:{"2":"K D E F A B gC"},F:{"1":"VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x","2":"F B C xC yC zC 0C CC eC 1C DC","33":"0 1 2 3 4 G N O P MB y z NB OB PB QB RB SB TB UB"},K:{"1":"H","2":"A B C CC eC DC"},E:{"1":"B C L M G CC DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC","2":"J LB lC OC mC wC","33":"K D E F A nC oC pC PC"},G:{"1":"BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC","2":"OC 2C fC 3C","33":"E 4C 5C 6C 7C 8C 9C AD"},P:{"1":"0 1 2 3 4 y z WD XD YD ZD aD PC bD cD dD eD fD FC GC HC gD","2":"J"},I:{"1":"I","2":"IC J QD RD SD TD fC UD VD"}},B:6,C:"isolate from unicode-bidi",D:undefined}; diff --git a/node_modules/caniuse-lite/data/features/mdn-css-unicode-bidi-plaintext.js b/node_modules/caniuse-lite/data/features/mdn-css-unicode-bidi-plaintext.js index e3b9f729c9..fb11885de8 100644 --- a/node_modules/caniuse-lite/data/features/mdn-css-unicode-bidi-plaintext.js +++ b/node_modules/caniuse-lite/data/features/mdn-css-unicode-bidi-plaintext.js @@ -1 +1 @@ -module.exports={A:{D:{"1":"0 1 2 3 4 5 6 7 8 9 dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC","2":"J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB"},L:{"1":"I"},B:{"1":"0 1 2 3 4 5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I","2":"C L M G N O P"},C:{"1":"0 1 2 3 4 5 6 7 8 9 fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC","2":"bC DC J FB K D E F dC eC","33":"A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB"},M:{"1":"6B"},A:{"2":"K D E F A B aC"},F:{"1":"QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t","2":"F B C G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB qC rC sC tC 7B YC uC 8B"},K:{"1":"H","2":"A B C 7B YC 8B"},E:{"1":"B C L M G 7B 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC","2":"J FB fC JC gC pC","33":"K D E F A hC iC jC KC"},G:{"1":"4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC","2":"JC vC ZC wC","33":"E xC yC zC 0C 1C 2C 3C"},P:{"1":"u v w x y z OD PD QD RD SD KC TD UD VD WD XD AC BC CC YD","2":"J"},I:{"1":"I","2":"DC J ID JD KD LD ZC MD ND"}},B:6,C:"plaintext from unicode-bidi",D:undefined}; +module.exports={A:{D:{"1":"5 6 7 8 9 iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC","2":"0 1 2 3 4 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB"},L:{"1":"I"},B:{"1":"5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I","2":"C L M G N O P"},C:{"1":"5 6 7 8 9 kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC","2":"hC IC J LB K D E F jC kC","33":"0 1 2 3 4 A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB"},M:{"1":"BC"},A:{"2":"K D E F A B gC"},F:{"1":"VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x","2":"0 1 2 3 4 F B C G N O P MB y z NB OB PB QB RB SB TB UB xC yC zC 0C CC eC 1C DC"},K:{"1":"H","2":"A B C CC eC DC"},E:{"1":"B C L M G CC DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC","2":"J LB lC OC mC wC","33":"K D E F A nC oC pC PC"},G:{"1":"BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC","2":"OC 2C fC 3C","33":"E 4C 5C 6C 7C 8C 9C AD"},P:{"1":"0 1 2 3 4 y z WD XD YD ZD aD PC bD cD dD eD fD FC GC HC gD","2":"J"},I:{"1":"I","2":"IC J QD RD SD TD fC UD VD"}},B:6,C:"plaintext from unicode-bidi",D:undefined}; diff --git a/node_modules/caniuse-lite/data/features/mdn-text-decoration-color.js b/node_modules/caniuse-lite/data/features/mdn-text-decoration-color.js index cf95ef8d11..5f8fc2c06e 100644 --- a/node_modules/caniuse-lite/data/features/mdn-text-decoration-color.js +++ b/node_modules/caniuse-lite/data/features/mdn-text-decoration-color.js @@ -1 +1 @@ -module.exports={A:{D:{"1":"0 1 2 3 4 5 6 7 8 9 mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC","2":"J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB"},L:{"1":"I"},B:{"1":"0 1 2 3 4 5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I","2":"C L M G N O P"},C:{"1":"0 1 2 3 4 5 6 7 8 9 RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC","2":"bC DC J FB dC eC","33":"K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB"},M:{"1":"6B"},A:{"2":"K D E F A B aC"},F:{"1":"ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t","2":"F B C G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB qC rC sC tC 7B YC uC 8B"},K:{"1":"H","2":"A B C 7B YC 8B"},E:{"1":"L M G 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC","2":"J FB K D fC JC gC hC iC pC","33":"E F A B C jC KC 7B"},G:{"1":"7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC","2":"JC vC ZC wC xC yC","33":"E zC 0C 1C 2C 3C 4C 5C 6C"},P:{"1":"u v w x y z QD RD SD KC TD UD VD WD XD AC BC CC YD","2":"J OD PD"},I:{"1":"I","2":"DC J ID JD KD LD ZC MD ND"}},B:6,C:"text-decoration-color property",D:undefined}; +module.exports={A:{D:{"1":"5 6 7 8 9 rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC","2":"0 1 2 3 4 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB"},L:{"1":"I"},B:{"1":"5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I","2":"C L M G N O P"},C:{"1":"5 6 7 8 9 WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC","2":"hC IC J LB jC kC","33":"0 1 2 3 4 K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB"},M:{"1":"BC"},A:{"2":"K D E F A B gC"},F:{"1":"eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x","2":"0 1 2 3 4 F B C G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB xC yC zC 0C CC eC 1C DC"},K:{"1":"H","2":"A B C CC eC DC"},E:{"1":"L M G DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC","2":"J LB K D lC OC mC nC oC wC","33":"E F A B C pC PC CC"},G:{"1":"ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC","2":"OC 2C fC 3C 4C 5C","33":"E 6C 7C 8C 9C AD BD CD DD"},P:{"1":"0 1 2 3 4 y z YD ZD aD PC bD cD dD eD fD FC GC HC gD","2":"J WD XD"},I:{"1":"I","2":"IC J QD RD SD TD fC UD VD"}},B:6,C:"text-decoration-color property",D:undefined}; diff --git a/node_modules/caniuse-lite/data/features/mdn-text-decoration-line.js b/node_modules/caniuse-lite/data/features/mdn-text-decoration-line.js index cb554de5be..de102704e4 100644 --- a/node_modules/caniuse-lite/data/features/mdn-text-decoration-line.js +++ b/node_modules/caniuse-lite/data/features/mdn-text-decoration-line.js @@ -1 +1 @@ -module.exports={A:{D:{"1":"0 1 2 3 4 5 6 7 8 9 mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC","2":"J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB"},L:{"1":"I"},B:{"1":"0 1 2 3 4 5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I","2":"C L M G N O P"},C:{"1":"0 1 2 3 4 5 6 7 8 9 RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC","2":"bC DC J FB dC eC","33":"K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB"},M:{"1":"6B"},A:{"2":"K D E F A B aC"},F:{"1":"ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t","2":"F B C G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB qC rC sC tC 7B YC uC 8B"},K:{"1":"H","2":"A B C 7B YC 8B"},E:{"1":"L M G 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC","2":"J FB K D fC JC gC hC iC pC","33":"E F A B C jC KC 7B"},G:{"1":"7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC","2":"JC vC ZC wC xC yC","33":"E zC 0C 1C 2C 3C 4C 5C 6C"},P:{"1":"u v w x y z QD RD SD KC TD UD VD WD XD AC BC CC YD","2":"J OD PD"},I:{"1":"I","2":"DC J ID JD KD LD ZC MD ND"}},B:6,C:"text-decoration-line property",D:undefined}; +module.exports={A:{D:{"1":"5 6 7 8 9 rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC","2":"0 1 2 3 4 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB"},L:{"1":"I"},B:{"1":"5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I","2":"C L M G N O P"},C:{"1":"5 6 7 8 9 WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC","2":"hC IC J LB jC kC","33":"0 1 2 3 4 K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB"},M:{"1":"BC"},A:{"2":"K D E F A B gC"},F:{"1":"eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x","2":"0 1 2 3 4 F B C G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB xC yC zC 0C CC eC 1C DC"},K:{"1":"H","2":"A B C CC eC DC"},E:{"1":"L M G DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC","2":"J LB K D lC OC mC nC oC wC","33":"E F A B C pC PC CC"},G:{"1":"ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC","2":"OC 2C fC 3C 4C 5C","33":"E 6C 7C 8C 9C AD BD CD DD"},P:{"1":"0 1 2 3 4 y z YD ZD aD PC bD cD dD eD fD FC GC HC gD","2":"J WD XD"},I:{"1":"I","2":"IC J QD RD SD TD fC UD VD"}},B:6,C:"text-decoration-line property",D:undefined}; diff --git a/node_modules/caniuse-lite/data/features/mdn-text-decoration-shorthand.js b/node_modules/caniuse-lite/data/features/mdn-text-decoration-shorthand.js index 5167ab0e3e..943def8909 100644 --- a/node_modules/caniuse-lite/data/features/mdn-text-decoration-shorthand.js +++ b/node_modules/caniuse-lite/data/features/mdn-text-decoration-shorthand.js @@ -1 +1 @@ -module.exports={A:{D:{"1":"0 1 2 3 4 5 6 7 8 9 mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC","2":"J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB"},L:{"1":"I"},B:{"1":"0 1 2 3 4 5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I","2":"C L M G N O P"},C:{"1":"0 1 2 3 4 5 6 7 8 9 K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC","2":"bC DC J FB dC eC"},M:{"1":"6B"},A:{"2":"K D E F A B aC"},F:{"1":"ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t","2":"F B C G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB qC rC sC tC 7B YC uC 8B"},K:{"1":"H","2":"A B C 7B YC 8B"},E:{"2":"J FB K D fC JC gC hC iC pC","33":"E F A B C L M G jC KC 7B 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC"},G:{"2":"JC vC ZC wC xC yC","33":"E zC 0C 1C 2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC"},P:{"1":"u v w x y z QD RD SD KC TD UD VD WD XD AC BC CC YD","2":"J OD PD"},I:{"1":"I","2":"DC J ID JD KD LD ZC MD ND"}},B:6,C:"text-decoration shorthand property",D:undefined}; +module.exports={A:{D:{"1":"5 6 7 8 9 rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC","2":"0 1 2 3 4 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB"},L:{"1":"I"},B:{"1":"5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I","2":"C L M G N O P"},C:{"1":"0 1 2 3 4 5 6 7 8 9 K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC","2":"hC IC J LB jC kC"},M:{"1":"BC"},A:{"2":"K D E F A B gC"},F:{"1":"eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x","2":"0 1 2 3 4 F B C G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB xC yC zC 0C CC eC 1C DC"},K:{"1":"H","2":"A B C CC eC DC"},E:{"2":"J LB K D lC OC mC nC oC wC","33":"E F A B C L M G pC PC CC DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC"},G:{"2":"OC 2C fC 3C 4C 5C","33":"E 6C 7C 8C 9C AD BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC"},P:{"1":"0 1 2 3 4 y z YD ZD aD PC bD cD dD eD fD FC GC HC gD","2":"J WD XD"},I:{"1":"I","2":"IC J QD RD SD TD fC UD VD"}},B:6,C:"text-decoration shorthand property",D:undefined}; diff --git a/node_modules/caniuse-lite/data/features/mdn-text-decoration-style.js b/node_modules/caniuse-lite/data/features/mdn-text-decoration-style.js index 8edf15ba6b..60c15055a8 100644 --- a/node_modules/caniuse-lite/data/features/mdn-text-decoration-style.js +++ b/node_modules/caniuse-lite/data/features/mdn-text-decoration-style.js @@ -1 +1 @@ -module.exports={A:{D:{"1":"0 1 2 3 4 5 6 7 8 9 mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC","2":"J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB"},L:{"1":"I"},B:{"1":"0 1 2 3 4 5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I","2":"C L M G N O P"},C:{"1":"0 1 2 3 4 5 6 7 8 9 RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC","2":"bC DC J FB dC eC","33":"K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB"},M:{"1":"6B"},A:{"2":"K D E F A B aC"},F:{"1":"ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t","2":"F B C G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB qC rC sC tC 7B YC uC 8B"},K:{"1":"H","2":"A B C 7B YC 8B"},E:{"1":"L M G 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC","2":"J FB K D fC JC gC hC iC pC","33":"E F A B C jC KC 7B"},G:{"1":"7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC","2":"JC vC ZC wC xC yC","33":"E zC 0C 1C 2C 3C 4C 5C 6C"},P:{"1":"u v w x y z QD RD SD KC TD UD VD WD XD AC BC CC YD","2":"J OD PD"},I:{"1":"I","2":"DC J ID JD KD LD ZC MD ND"}},B:6,C:"text-decoration-style property",D:undefined}; +module.exports={A:{D:{"1":"5 6 7 8 9 rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC","2":"0 1 2 3 4 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB"},L:{"1":"I"},B:{"1":"5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I","2":"C L M G N O P"},C:{"1":"5 6 7 8 9 WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC","2":"hC IC J LB jC kC","33":"0 1 2 3 4 K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB"},M:{"1":"BC"},A:{"2":"K D E F A B gC"},F:{"1":"eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x","2":"0 1 2 3 4 F B C G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB xC yC zC 0C CC eC 1C DC"},K:{"1":"H","2":"A B C CC eC DC"},E:{"1":"L M G DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC","2":"J LB K D lC OC mC nC oC wC","33":"E F A B C pC PC CC"},G:{"1":"ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC","2":"OC 2C fC 3C 4C 5C","33":"E 6C 7C 8C 9C AD BD CD DD"},P:{"1":"0 1 2 3 4 y z YD ZD aD PC bD cD dD eD fD FC GC HC gD","2":"J WD XD"},I:{"1":"I","2":"IC J QD RD SD TD fC UD VD"}},B:6,C:"text-decoration-style property",D:undefined}; diff --git a/node_modules/caniuse-lite/data/features/media-fragments.js b/node_modules/caniuse-lite/data/features/media-fragments.js index 7ee8e98132..47d559d158 100644 --- a/node_modules/caniuse-lite/data/features/media-fragments.js +++ b/node_modules/caniuse-lite/data/features/media-fragments.js @@ -1 +1 @@ -module.exports={A:{A:{"2":"K D E F A B aC"},B:{"2":"C L M G N O P","132":"0 1 2 3 4 5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I"},C:{"2":"bC DC J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB dC eC","132":"0 1 2 3 4 5 6 7 8 9 PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC"},D:{"2":"J FB K D E F A B C L M G N O","132":"0 1 2 3 4 5 6 7 8 9 P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC"},E:{"2":"J FB fC JC gC","132":"K D E F A B C L M G hC iC jC KC 7B 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC"},F:{"2":"F B C qC rC sC tC 7B YC uC 8B","132":"G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t"},G:{"2":"JC vC ZC wC xC yC","132":"E zC 0C 1C 2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC"},H:{"2":"HD"},I:{"2":"DC J ID JD KD LD ZC","132":"I MD ND"},J:{"2":"D A"},K:{"2":"A B C 7B YC 8B","132":"H"},L:{"132":"I"},M:{"132":"6B"},N:{"132":"A B"},O:{"132":"9B"},P:{"2":"J OD","132":"u v w x y z PD QD RD SD KC TD UD VD WD XD AC BC CC YD"},Q:{"132":"ZD"},R:{"132":"aD"},S:{"132":"bD cD"}},B:2,C:"Media Fragments",D:true}; +module.exports={A:{A:{"2":"K D E F A B gC"},B:{"2":"C L M G N O P","132":"5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I"},C:{"2":"0 1 2 3 4 hC IC J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB jC kC","132":"5 6 7 8 9 UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC"},D:{"2":"J LB K D E F A B C L M G N O","132":"0 1 2 3 4 5 6 7 8 9 P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC"},E:{"2":"J LB lC OC mC","132":"K D E F A B C L M G nC oC pC PC CC DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC"},F:{"2":"F B C xC yC zC 0C CC eC 1C DC","132":"0 1 2 3 4 G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x"},G:{"2":"OC 2C fC 3C 4C 5C","132":"E 6C 7C 8C 9C AD BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC"},H:{"2":"PD"},I:{"2":"IC J QD RD SD TD fC","132":"I UD VD"},J:{"2":"D A"},K:{"2":"A B C CC eC DC","132":"H"},L:{"132":"I"},M:{"132":"BC"},N:{"132":"A B"},O:{"132":"EC"},P:{"2":"J WD","132":"0 1 2 3 4 y z XD YD ZD aD PC bD cD dD eD fD FC GC HC gD"},Q:{"132":"hD"},R:{"132":"iD"},S:{"132":"jD kD"}},B:2,C:"Media Fragments",D:true}; diff --git a/node_modules/caniuse-lite/data/features/mediacapture-fromelement.js b/node_modules/caniuse-lite/data/features/mediacapture-fromelement.js index e39d0e6080..3bc8ed9a9c 100644 --- a/node_modules/caniuse-lite/data/features/mediacapture-fromelement.js +++ b/node_modules/caniuse-lite/data/features/mediacapture-fromelement.js @@ -1 +1 @@ -module.exports={A:{A:{"2":"K D E F A B aC"},B:{"1":"0 1 2 3 4 5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I","2":"C L M G N O P"},C:{"2":"bC DC J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB dC eC","260":"0 1 2 3 4 5 6 7 8 9 YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC","2":"J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB","324":"gB hB iB jB kB lB mB nB EC oB FC"},E:{"2":"J FB K D E F A fC JC gC hC iC jC KC","132":"B C L M G 7B 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC"},F:{"1":"dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t","2":"F B C G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB qC rC sC tC 7B YC uC 8B","324":"RB SB TB UB VB WB XB YB ZB aB bB cB"},G:{"2":"E JC vC ZC wC xC yC zC 0C 1C 2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC"},H:{"2":"HD"},I:{"1":"I","2":"DC J ID JD KD LD ZC MD ND"},J:{"2":"D A"},K:{"1":"H","2":"A B C 7B YC 8B"},L:{"1":"I"},M:{"260":"6B"},N:{"2":"A B"},O:{"1":"9B"},P:{"1":"u v w x y z RD SD KC TD UD VD WD XD AC BC CC YD","2":"J","132":"OD PD QD"},Q:{"1":"ZD"},R:{"1":"aD"},S:{"260":"bD cD"}},B:5,C:"Media Capture from DOM Elements API",D:true}; +module.exports={A:{A:{"2":"K D E F A B gC"},B:{"1":"5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I","2":"C L M G N O P"},C:{"2":"0 1 2 3 4 hC IC J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB jC kC","260":"5 6 7 8 9 dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC"},D:{"1":"5 6 7 8 9 uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC","2":"0 1 2 3 4 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB","324":"lB mB nB oB pB qB rB sB JC tB KC"},E:{"2":"J LB K D E F A lC OC mC nC oC pC PC","132":"B C L M G CC DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC"},F:{"1":"iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x","2":"0 1 2 3 4 F B C G N O P MB y z NB OB PB QB RB SB TB UB VB xC yC zC 0C CC eC 1C DC","324":"WB XB YB ZB aB bB cB dB eB fB gB hB"},G:{"2":"E OC 2C fC 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC"},H:{"2":"PD"},I:{"1":"I","2":"IC J QD RD SD TD fC UD VD"},J:{"2":"D A"},K:{"1":"H","2":"A B C CC eC DC"},L:{"1":"I"},M:{"260":"BC"},N:{"2":"A B"},O:{"1":"EC"},P:{"1":"0 1 2 3 4 y z ZD aD PC bD cD dD eD fD FC GC HC gD","2":"J","132":"WD XD YD"},Q:{"1":"hD"},R:{"1":"iD"},S:{"260":"jD kD"}},B:5,C:"Media Capture from DOM Elements API",D:true}; diff --git a/node_modules/caniuse-lite/data/features/mediarecorder.js b/node_modules/caniuse-lite/data/features/mediarecorder.js index c56a8ca79b..8977b9e861 100644 --- a/node_modules/caniuse-lite/data/features/mediarecorder.js +++ b/node_modules/caniuse-lite/data/features/mediarecorder.js @@ -1 +1 @@ -module.exports={A:{A:{"2":"K D E F A B aC"},B:{"1":"0 1 2 3 4 5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I","2":"C L M G N O P"},C:{"1":"0 1 2 3 4 5 6 7 8 9 KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC","2":"bC DC J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB dC eC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC","2":"J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB","194":"cB dB"},E:{"1":"G lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC","2":"J FB K D E F A B C fC JC gC hC iC jC KC 7B","322":"L M 8B kC"},F:{"1":"RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t","2":"F B C G N O P GB u v w x y z HB IB JB KB LB MB NB OB qC rC sC tC 7B YC uC 8B","194":"PB QB"},G:{"1":"DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC","2":"E JC vC ZC wC xC yC zC 0C 1C 2C 3C 4C 5C","578":"6C 7C 8C 9C AD BD CD"},H:{"2":"HD"},I:{"2":"DC J I ID JD KD LD ZC MD ND"},J:{"2":"D A"},K:{"1":"H","2":"A B C 7B YC 8B"},L:{"1":"I"},M:{"2":"6B"},N:{"2":"A B"},O:{"1":"9B"},P:{"1":"u v w x y z OD PD QD RD SD KC TD UD VD WD XD AC BC CC YD","2":"J"},Q:{"1":"ZD"},R:{"1":"aD"},S:{"1":"bD cD"}},B:5,C:"MediaRecorder API",D:true}; +module.exports={A:{A:{"2":"K D E F A B gC"},B:{"1":"5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I","2":"C L M G N O P"},C:{"1":"5 6 7 8 9 PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC","2":"0 1 2 3 4 hC IC J LB K D E F A B C L M G N O P MB y z NB OB jC kC"},D:{"1":"5 6 7 8 9 jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC","2":"0 1 2 3 4 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB","194":"hB iB"},E:{"1":"G rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC","2":"J LB K D E F A B C lC OC mC nC oC pC PC CC","322":"L M DC qC"},F:{"1":"WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x","2":"0 1 2 3 4 F B C G N O P MB y z NB OB PB QB RB SB TB xC yC zC 0C CC eC 1C DC","194":"UB VB"},G:{"1":"KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC","2":"E OC 2C fC 3C 4C 5C 6C 7C 8C 9C AD BD CD","578":"DD ED FD GD HD ID JD"},H:{"2":"PD"},I:{"2":"IC J I QD RD SD TD fC UD VD"},J:{"2":"D A"},K:{"1":"H","2":"A B C CC eC DC"},L:{"1":"I"},M:{"2":"BC"},N:{"2":"A B"},O:{"1":"EC"},P:{"1":"0 1 2 3 4 y z WD XD YD ZD aD PC bD cD dD eD fD FC GC HC gD","2":"J"},Q:{"1":"hD"},R:{"1":"iD"},S:{"1":"jD kD"}},B:5,C:"MediaRecorder API",D:true}; diff --git a/node_modules/caniuse-lite/data/features/mediasource.js b/node_modules/caniuse-lite/data/features/mediasource.js index 3511abf5d0..2e94c91d8a 100644 --- a/node_modules/caniuse-lite/data/features/mediasource.js +++ b/node_modules/caniuse-lite/data/features/mediasource.js @@ -1 +1 @@ -module.exports={A:{A:{"2":"K D E F A aC","132":"B"},B:{"1":"0 1 2 3 4 5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC","2":"bC DC J FB K D E F A B C L M G N O P GB u v w x y dC eC","66":"z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB"},D:{"1":"0 1 2 3 4 5 6 7 8 9 MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC","2":"J FB K D E F A B C L M G N","33":"x y z HB IB JB KB LB","66":"O P GB u v w"},E:{"1":"E F A B C L M G jC KC 7B 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC","2":"J FB K D fC JC gC hC iC"},F:{"1":"G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t","2":"F B C qC rC sC tC 7B YC uC 8B"},G:{"2":"E JC vC ZC wC xC yC zC 0C 1C 2C 3C 4C 5C 6C 7C","260":"8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC"},H:{"2":"HD"},I:{"1":"I ND","2":"DC J ID JD KD LD ZC MD"},J:{"2":"D A"},K:{"1":"H","2":"A B C 7B YC 8B"},L:{"1":"I"},M:{"1":"6B"},N:{"1":"B","2":"A"},O:{"1":"9B"},P:{"1":"u v w x y z SD KC TD UD VD WD XD AC BC CC YD","2":"J OD PD QD RD"},Q:{"1":"ZD"},R:{"1":"aD"},S:{"1":"bD cD"}},B:2,C:"Media Source Extensions",D:true}; +module.exports={A:{A:{"2":"K D E F A gC","132":"B"},B:{"1":"5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I"},C:{"1":"5 6 7 8 9 cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC","2":"0 1 2 hC IC J LB K D E F A B C L M G N O P MB y z jC kC","66":"3 4 NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB"},D:{"1":"5 6 7 8 9 RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC","2":"J LB K D E F A B C L M G N","33":"1 2 3 4 NB OB PB QB","66":"0 O P MB y z"},E:{"1":"E F A B C L M G pC PC CC DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC","2":"J LB K D lC OC mC nC oC"},F:{"1":"0 1 2 3 4 G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x","2":"F B C xC yC zC 0C CC eC 1C DC"},G:{"2":"E OC 2C fC 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED","260":"FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC"},H:{"2":"PD"},I:{"1":"I VD","2":"IC J QD RD SD TD fC UD"},J:{"2":"D A"},K:{"1":"H","2":"A B C CC eC DC"},L:{"1":"I"},M:{"1":"BC"},N:{"1":"B","2":"A"},O:{"1":"EC"},P:{"1":"0 1 2 3 4 y z aD PC bD cD dD eD fD FC GC HC gD","2":"J WD XD YD ZD"},Q:{"1":"hD"},R:{"1":"iD"},S:{"1":"jD kD"}},B:2,C:"Media Source Extensions",D:true}; diff --git a/node_modules/caniuse-lite/data/features/menu.js b/node_modules/caniuse-lite/data/features/menu.js index 5fca4fdfab..3da87f218f 100644 --- a/node_modules/caniuse-lite/data/features/menu.js +++ b/node_modules/caniuse-lite/data/features/menu.js @@ -1 +1 @@ -module.exports={A:{A:{"2":"K D E F A B aC"},B:{"2":"0 1 2 3 4 5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I"},C:{"2":"bC DC J FB K D dC eC","132":"E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T","450":"0 1 2 3 4 5 6 7 8 9 U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC"},D:{"2":"0 1 2 3 4 5 6 7 8 9 J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC","66":"WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB"},E:{"2":"J FB K D E F A B C L M G fC JC gC hC iC jC KC 7B 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC"},F:{"2":"F B C G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t qC rC sC tC 7B YC uC 8B","66":"QB RB SB TB UB VB WB XB YB ZB aB bB"},G:{"2":"E JC vC ZC wC xC yC zC 0C 1C 2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC"},H:{"2":"HD"},I:{"2":"DC J I ID JD KD LD ZC MD ND"},J:{"2":"D A"},K:{"2":"A B C H 7B YC 8B"},L:{"2":"I"},M:{"450":"6B"},N:{"2":"A B"},O:{"2":"9B"},P:{"2":"J u v w x y z OD PD QD RD SD KC TD UD VD WD XD AC BC CC YD"},Q:{"2":"ZD"},R:{"2":"aD"},S:{"2":"bD cD"}},B:7,C:"Context menu item (menuitem element)",D:true}; +module.exports={A:{A:{"2":"K D E F A B gC"},B:{"2":"5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I"},C:{"2":"hC IC J LB K D jC kC","132":"0 1 2 3 4 E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T","450":"5 6 7 8 9 U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC"},D:{"2":"0 1 2 3 4 5 6 7 8 9 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC","66":"bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB"},E:{"2":"J LB K D E F A B C L M G lC OC mC nC oC pC PC CC DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC"},F:{"2":"0 1 2 3 4 F B C G N O P MB y z NB OB PB QB RB SB TB UB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x xC yC zC 0C CC eC 1C DC","66":"VB WB XB YB ZB aB bB cB dB eB fB gB"},G:{"2":"E OC 2C fC 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC"},H:{"2":"PD"},I:{"2":"IC J I QD RD SD TD fC UD VD"},J:{"2":"D A"},K:{"2":"A B C H CC eC DC"},L:{"2":"I"},M:{"450":"BC"},N:{"2":"A B"},O:{"2":"EC"},P:{"2":"0 1 2 3 4 J y z WD XD YD ZD aD PC bD cD dD eD fD FC GC HC gD"},Q:{"2":"hD"},R:{"2":"iD"},S:{"2":"jD kD"}},B:7,C:"Context menu item (menuitem element)",D:true}; diff --git a/node_modules/caniuse-lite/data/features/meta-theme-color.js b/node_modules/caniuse-lite/data/features/meta-theme-color.js index 66a1fbc81e..a70343ba4d 100644 --- a/node_modules/caniuse-lite/data/features/meta-theme-color.js +++ b/node_modules/caniuse-lite/data/features/meta-theme-color.js @@ -1 +1 @@ -module.exports={A:{A:{"2":"K D E F A B aC"},B:{"2":"0 1 2 3 4 5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I"},C:{"2":"0 1 2 3 4 5 6 7 8 9 bC DC J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC dC eC"},D:{"2":"J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB","132":"0 1 2 3 4 5 6 7 8 9 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC","258":"UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB"},E:{"1":"G mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC","2":"J FB K D E F A B C L M fC JC gC hC iC jC KC 7B 8B kC lC"},F:{"2":"F B C G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t qC rC sC tC 7B YC uC 8B"},G:{"1":"ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC","2":"E JC vC ZC wC xC yC zC 0C 1C 2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD"},H:{"2":"HD"},I:{"2":"DC J I ID JD KD LD ZC MD ND"},J:{"2":"D A"},K:{"2":"A B C H 7B YC 8B"},L:{"513":"I"},M:{"2":"6B"},N:{"2":"A B"},O:{"2":"9B"},P:{"1":"u v w x y z PD QD RD SD KC TD UD VD WD XD AC BC CC YD","2":"J","16":"OD"},Q:{"2":"ZD"},R:{"2":"aD"},S:{"2":"bD cD"}},B:1,C:"theme-color Meta Tag",D:true}; +module.exports={A:{A:{"2":"K D E F A B gC"},B:{"2":"5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I"},C:{"2":"0 1 2 3 4 5 6 7 8 9 hC IC J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC jC kC"},D:{"2":"0 1 2 3 4 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB","132":"5 6 7 8 9 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC","258":"ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B"},E:{"1":"G sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC","2":"J LB K D E F A B C L M lC OC mC nC oC pC PC CC DC qC rC"},F:{"2":"0 1 2 3 4 F B C G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x xC yC zC 0C CC eC 1C DC"},G:{"1":"LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC","2":"E OC 2C fC 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED FD GD HD ID JD KD"},H:{"2":"PD"},I:{"2":"IC J I QD RD SD TD fC UD VD"},J:{"2":"D A"},K:{"2":"A B C H CC eC DC"},L:{"513":"I"},M:{"2":"BC"},N:{"2":"A B"},O:{"2":"EC"},P:{"1":"0 1 2 3 4 y z XD YD ZD aD PC bD cD dD eD fD FC GC HC gD","2":"J","16":"WD"},Q:{"2":"hD"},R:{"2":"iD"},S:{"2":"jD kD"}},B:1,C:"theme-color Meta Tag",D:true}; diff --git a/node_modules/caniuse-lite/data/features/meter.js b/node_modules/caniuse-lite/data/features/meter.js index 572b1037fb..6bb74106d6 100644 --- a/node_modules/caniuse-lite/data/features/meter.js +++ b/node_modules/caniuse-lite/data/features/meter.js @@ -1 +1 @@ -module.exports={A:{A:{"2":"K D E F A B aC"},B:{"1":"0 1 2 3 4 5 6 7 8 9 L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I","2":"C"},C:{"1":"0 1 2 3 4 5 6 7 8 9 N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC","2":"bC DC J FB K D E F A B C L M G dC eC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC","2":"J FB K D"},E:{"1":"K D E F A B C L M G hC iC jC KC 7B 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC","2":"J FB fC JC gC"},F:{"1":"B C G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t 7B YC uC 8B","2":"F qC rC sC tC"},G:{"1":"3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC","2":"E JC vC ZC wC xC yC zC 0C 1C 2C"},H:{"1":"HD"},I:{"1":"I MD ND","2":"DC J ID JD KD LD ZC"},J:{"1":"D A"},K:{"1":"B C H 7B YC 8B","2":"A"},L:{"1":"I"},M:{"1":"6B"},N:{"2":"A B"},O:{"1":"9B"},P:{"1":"J u v w x y z OD PD QD RD SD KC TD UD VD WD XD AC BC CC YD"},Q:{"1":"ZD"},R:{"1":"aD"},S:{"1":"bD cD"}},B:1,C:"meter element",D:true}; +module.exports={A:{A:{"2":"K D E F A B gC"},B:{"1":"5 6 7 8 9 L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I","2":"C"},C:{"1":"0 1 2 3 4 5 6 7 8 9 N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC","2":"hC IC J LB K D E F A B C L M G jC kC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC","2":"J LB K D"},E:{"1":"K D E F A B C L M G nC oC pC PC CC DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC","2":"J LB lC OC mC"},F:{"1":"0 1 2 3 4 B C G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x CC eC 1C DC","2":"F xC yC zC 0C"},G:{"1":"AD BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC","2":"E OC 2C fC 3C 4C 5C 6C 7C 8C 9C"},H:{"1":"PD"},I:{"1":"I UD VD","2":"IC J QD RD SD TD fC"},J:{"1":"D A"},K:{"1":"B C H CC eC DC","2":"A"},L:{"1":"I"},M:{"1":"BC"},N:{"2":"A B"},O:{"1":"EC"},P:{"1":"0 1 2 3 4 J y z WD XD YD ZD aD PC bD cD dD eD fD FC GC HC gD"},Q:{"1":"hD"},R:{"1":"iD"},S:{"1":"jD kD"}},B:1,C:"meter element",D:true}; diff --git a/node_modules/caniuse-lite/data/features/midi.js b/node_modules/caniuse-lite/data/features/midi.js index ed4b5e90b4..14742d5e8d 100644 --- a/node_modules/caniuse-lite/data/features/midi.js +++ b/node_modules/caniuse-lite/data/features/midi.js @@ -1 +1 @@ -module.exports={A:{A:{"2":"K D E F A B aC"},B:{"1":"0 1 2 3 4 5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I","2":"C L M G N O P"},C:{"1":"0 1 2 3 4 5 6 7 8 9 r s t AB BB CB DB EB I 6B HC IC cC","2":"bC DC J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q dC eC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC","2":"J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB"},E:{"2":"J FB K D E F A B C L M G fC JC gC hC iC jC KC 7B 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC"},F:{"1":"LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t","2":"F B C G N O P GB u v w x y z HB IB JB KB qC rC sC tC 7B YC uC 8B"},G:{"2":"E JC vC ZC wC xC yC zC 0C 1C 2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC"},H:{"2":"HD"},I:{"1":"I","2":"DC J ID JD KD LD ZC MD ND"},J:{"2":"D A"},K:{"1":"H","2":"A B C 7B YC 8B"},L:{"1":"I"},M:{"2":"6B"},N:{"2":"A B"},O:{"1":"9B"},P:{"1":"J u v w x y z OD PD QD RD SD KC TD UD VD WD XD AC BC CC YD"},Q:{"1":"ZD"},R:{"1":"aD"},S:{"2":"bD cD"}},B:5,C:"Web MIDI API",D:true}; +module.exports={A:{A:{"2":"K D E F A B gC"},B:{"1":"5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I","2":"C L M G N O P"},C:{"1":"5 6 7 8 9 r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC","2":"0 1 2 3 4 hC IC J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q jC kC"},D:{"1":"5 6 7 8 9 dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC","2":"0 1 2 3 4 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB"},E:{"2":"J LB K D E F A B C L M G lC OC mC nC oC pC PC CC DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC"},F:{"1":"QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x","2":"0 1 2 3 4 F B C G N O P MB y z NB OB PB xC yC zC 0C CC eC 1C DC"},G:{"2":"E OC 2C fC 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC"},H:{"2":"PD"},I:{"1":"I","2":"IC J QD RD SD TD fC UD VD"},J:{"2":"D A"},K:{"1":"H","2":"A B C CC eC DC"},L:{"1":"I"},M:{"2":"BC"},N:{"2":"A B"},O:{"1":"EC"},P:{"1":"0 1 2 3 4 J y z WD XD YD ZD aD PC bD cD dD eD fD FC GC HC gD"},Q:{"1":"hD"},R:{"1":"iD"},S:{"2":"jD kD"}},B:5,C:"Web MIDI API",D:true}; diff --git a/node_modules/caniuse-lite/data/features/minmaxwh.js b/node_modules/caniuse-lite/data/features/minmaxwh.js index 0cff0ef5c4..baa22d06c8 100644 --- a/node_modules/caniuse-lite/data/features/minmaxwh.js +++ b/node_modules/caniuse-lite/data/features/minmaxwh.js @@ -1 +1 @@ -module.exports={A:{A:{"1":"F A B","8":"K aC","129":"D","257":"E"},B:{"1":"0 1 2 3 4 5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 bC DC J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC dC eC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC"},E:{"1":"J FB K D E F A B C L M G fC JC gC hC iC jC KC 7B 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC"},F:{"1":"F B C G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t qC rC sC tC 7B YC uC 8B"},G:{"1":"E JC vC ZC wC xC yC zC 0C 1C 2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC"},H:{"1":"HD"},I:{"1":"DC J I ID JD KD LD ZC MD ND"},J:{"1":"D A"},K:{"1":"A B C H 7B YC 8B"},L:{"1":"I"},M:{"1":"6B"},N:{"1":"A B"},O:{"1":"9B"},P:{"1":"J u v w x y z OD PD QD RD SD KC TD UD VD WD XD AC BC CC YD"},Q:{"1":"ZD"},R:{"1":"aD"},S:{"1":"bD cD"}},B:2,C:"CSS min/max-width/height",D:true}; +module.exports={A:{A:{"1":"F A B","8":"K gC","129":"D","257":"E"},B:{"1":"5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 hC IC J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC jC kC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC"},E:{"1":"J LB K D E F A B C L M G lC OC mC nC oC pC PC CC DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC"},F:{"1":"0 1 2 3 4 F B C G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x xC yC zC 0C CC eC 1C DC"},G:{"1":"E OC 2C fC 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC"},H:{"1":"PD"},I:{"1":"IC J I QD RD SD TD fC UD VD"},J:{"1":"D A"},K:{"1":"A B C H CC eC DC"},L:{"1":"I"},M:{"1":"BC"},N:{"1":"A B"},O:{"1":"EC"},P:{"1":"0 1 2 3 4 J y z WD XD YD ZD aD PC bD cD dD eD fD FC GC HC gD"},Q:{"1":"hD"},R:{"1":"iD"},S:{"1":"jD kD"}},B:2,C:"CSS min/max-width/height",D:true}; diff --git a/node_modules/caniuse-lite/data/features/mp3.js b/node_modules/caniuse-lite/data/features/mp3.js index 45a14248ec..9c8f188b2e 100644 --- a/node_modules/caniuse-lite/data/features/mp3.js +++ b/node_modules/caniuse-lite/data/features/mp3.js @@ -1 +1 @@ -module.exports={A:{A:{"1":"F A B","2":"K D E aC"},B:{"1":"0 1 2 3 4 5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC","2":"bC DC","132":"J FB K D E F A B C L M G N O P GB u v dC eC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC"},E:{"1":"J FB K D E F A B C L M G gC hC iC jC KC 7B 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC","2":"fC JC"},F:{"1":"G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t","2":"F B C qC rC sC tC 7B YC uC 8B"},G:{"1":"E vC ZC wC xC yC zC 0C 1C 2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC","2":"JC"},H:{"2":"HD"},I:{"1":"DC J I KD LD ZC MD ND","2":"ID JD"},J:{"1":"D A"},K:{"1":"B C H 7B YC 8B","2":"A"},L:{"1":"I"},M:{"1":"6B"},N:{"1":"A B"},O:{"1":"9B"},P:{"1":"J u v w x y z OD PD QD RD SD KC TD UD VD WD XD AC BC CC YD"},Q:{"1":"ZD"},R:{"1":"aD"},S:{"1":"bD cD"}},B:6,C:"MP3 audio format",D:true}; +module.exports={A:{A:{"1":"F A B","2":"K D E gC"},B:{"1":"5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC","2":"hC IC","132":"J LB K D E F A B C L M G N O P MB y z jC kC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC"},E:{"1":"J LB K D E F A B C L M G mC nC oC pC PC CC DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC","2":"lC OC"},F:{"1":"0 1 2 3 4 G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x","2":"F B C xC yC zC 0C CC eC 1C DC"},G:{"1":"E 2C fC 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC","2":"OC"},H:{"2":"PD"},I:{"1":"IC J I SD TD fC UD VD","2":"QD RD"},J:{"1":"D A"},K:{"1":"B C H CC eC DC","2":"A"},L:{"1":"I"},M:{"1":"BC"},N:{"1":"A B"},O:{"1":"EC"},P:{"1":"0 1 2 3 4 J y z WD XD YD ZD aD PC bD cD dD eD fD FC GC HC gD"},Q:{"1":"hD"},R:{"1":"iD"},S:{"1":"jD kD"}},B:6,C:"MP3 audio format",D:true}; diff --git a/node_modules/caniuse-lite/data/features/mpeg-dash.js b/node_modules/caniuse-lite/data/features/mpeg-dash.js index 60f72c2919..1497e388ec 100644 --- a/node_modules/caniuse-lite/data/features/mpeg-dash.js +++ b/node_modules/caniuse-lite/data/features/mpeg-dash.js @@ -1 +1 @@ -module.exports={A:{A:{"2":"K D E F A B aC"},B:{"1":"C L M G N O P","2":"0 1 2 3 4 5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I"},C:{"2":"0 1 2 3 4 5 6 7 8 9 bC DC J FB K D E F A B C L M G N O P GB u x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC dC eC","386":"v w"},D:{"2":"0 1 2 3 4 5 6 7 8 9 J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC"},E:{"2":"J FB K D E F A B C L M G fC JC gC hC iC jC KC 7B 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC"},F:{"2":"F B C G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t qC rC sC tC 7B YC uC 8B"},G:{"2":"E JC vC ZC wC xC yC zC 0C 1C 2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC"},H:{"2":"HD"},I:{"2":"DC J I ID JD KD LD ZC MD ND"},J:{"2":"D A"},K:{"2":"A B C H 7B YC 8B"},L:{"2":"I"},M:{"2":"6B"},N:{"2":"A B"},O:{"2":"9B"},P:{"2":"J u v w x y z OD PD QD RD SD KC TD UD VD WD XD AC BC CC YD"},Q:{"2":"ZD"},R:{"2":"aD"},S:{"2":"bD cD"}},B:6,C:"Dynamic Adaptive Streaming over HTTP (MPEG-DASH)",D:true}; +module.exports={A:{A:{"2":"K D E F A B gC"},B:{"1":"C L M G N O P","2":"5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I"},C:{"2":"1 2 3 4 5 6 7 8 9 hC IC J LB K D E F A B C L M G N O P MB y NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC jC kC","386":"0 z"},D:{"2":"0 1 2 3 4 5 6 7 8 9 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC"},E:{"2":"J LB K D E F A B C L M G lC OC mC nC oC pC PC CC DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC"},F:{"2":"0 1 2 3 4 F B C G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x xC yC zC 0C CC eC 1C DC"},G:{"2":"E OC 2C fC 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC"},H:{"2":"PD"},I:{"2":"IC J I QD RD SD TD fC UD VD"},J:{"2":"D A"},K:{"2":"A B C H CC eC DC"},L:{"2":"I"},M:{"2":"BC"},N:{"2":"A B"},O:{"2":"EC"},P:{"2":"0 1 2 3 4 J y z WD XD YD ZD aD PC bD cD dD eD fD FC GC HC gD"},Q:{"2":"hD"},R:{"2":"iD"},S:{"2":"jD kD"}},B:6,C:"Dynamic Adaptive Streaming over HTTP (MPEG-DASH)",D:true}; diff --git a/node_modules/caniuse-lite/data/features/mpeg4.js b/node_modules/caniuse-lite/data/features/mpeg4.js index 0275651105..e68f7dddcf 100644 --- a/node_modules/caniuse-lite/data/features/mpeg4.js +++ b/node_modules/caniuse-lite/data/features/mpeg4.js @@ -1 +1 @@ -module.exports={A:{A:{"1":"F A B","2":"K D E aC"},B:{"1":"0 1 2 3 4 5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC","2":"bC DC J FB K D E F A B C L M G N O P GB u dC eC","4":"v w x y z HB IB JB KB LB MB NB OB PB"},D:{"1":"0 1 2 3 4 5 6 7 8 9 J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC"},E:{"1":"J FB K D E F A B C L M G JC gC hC iC jC KC 7B 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC","2":"fC"},F:{"1":"z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t","2":"F B C G N O P GB u v w x y qC rC sC tC 7B YC uC 8B"},G:{"1":"E JC vC ZC wC xC yC zC 0C 1C 2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC"},H:{"2":"HD"},I:{"1":"I MD ND","4":"DC J ID JD LD ZC","132":"KD"},J:{"1":"D A"},K:{"1":"B C H 7B YC 8B","2":"A"},L:{"1":"I"},M:{"1":"6B"},N:{"1":"A B"},O:{"1":"9B"},P:{"1":"J u v w x y z OD PD QD RD SD KC TD UD VD WD XD AC BC CC YD"},Q:{"1":"ZD"},R:{"1":"aD"},S:{"1":"bD cD"}},B:6,C:"MPEG-4/H.264 video format",D:true}; +module.exports={A:{A:{"1":"F A B","2":"K D E gC"},B:{"1":"5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I"},C:{"1":"5 6 7 8 9 VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC","2":"hC IC J LB K D E F A B C L M G N O P MB y jC kC","4":"0 1 2 3 4 z NB OB PB QB RB SB TB UB"},D:{"1":"0 1 2 3 4 5 6 7 8 9 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC"},E:{"1":"J LB K D E F A B C L M G OC mC nC oC pC PC CC DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC","2":"lC"},F:{"1":"3 4 NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x","2":"0 1 2 F B C G N O P MB y z xC yC zC 0C CC eC 1C DC"},G:{"1":"E OC 2C fC 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC"},H:{"2":"PD"},I:{"1":"I UD VD","4":"IC J QD RD TD fC","132":"SD"},J:{"1":"D A"},K:{"1":"B C H CC eC DC","2":"A"},L:{"1":"I"},M:{"1":"BC"},N:{"1":"A B"},O:{"1":"EC"},P:{"1":"0 1 2 3 4 J y z WD XD YD ZD aD PC bD cD dD eD fD FC GC HC gD"},Q:{"1":"hD"},R:{"1":"iD"},S:{"1":"jD kD"}},B:6,C:"MPEG-4/H.264 video format",D:true}; diff --git a/node_modules/caniuse-lite/data/features/multibackgrounds.js b/node_modules/caniuse-lite/data/features/multibackgrounds.js index 0f9215d4be..06c868cfd6 100644 --- a/node_modules/caniuse-lite/data/features/multibackgrounds.js +++ b/node_modules/caniuse-lite/data/features/multibackgrounds.js @@ -1 +1 @@ -module.exports={A:{A:{"1":"F A B","2":"K D E aC"},B:{"1":"0 1 2 3 4 5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC eC","2":"bC DC dC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC"},E:{"1":"J FB K D E F A B C L M G fC JC gC hC iC jC KC 7B 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC"},F:{"1":"B C G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t sC tC 7B YC uC 8B","2":"F qC rC"},G:{"1":"E JC vC ZC wC xC yC zC 0C 1C 2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC"},H:{"1":"HD"},I:{"1":"DC J I ID JD KD LD ZC MD ND"},J:{"1":"D A"},K:{"1":"A B C H 7B YC 8B"},L:{"1":"I"},M:{"1":"6B"},N:{"1":"A B"},O:{"1":"9B"},P:{"1":"J u v w x y z OD PD QD RD SD KC TD UD VD WD XD AC BC CC YD"},Q:{"1":"ZD"},R:{"1":"aD"},S:{"1":"bD cD"}},B:4,C:"CSS3 Multiple backgrounds",D:true}; +module.exports={A:{A:{"1":"F A B","2":"K D E gC"},B:{"1":"5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC kC","2":"hC IC jC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC"},E:{"1":"J LB K D E F A B C L M G lC OC mC nC oC pC PC CC DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC"},F:{"1":"0 1 2 3 4 B C G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x zC 0C CC eC 1C DC","2":"F xC yC"},G:{"1":"E OC 2C fC 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC"},H:{"1":"PD"},I:{"1":"IC J I QD RD SD TD fC UD VD"},J:{"1":"D A"},K:{"1":"A B C H CC eC DC"},L:{"1":"I"},M:{"1":"BC"},N:{"1":"A B"},O:{"1":"EC"},P:{"1":"0 1 2 3 4 J y z WD XD YD ZD aD PC bD cD dD eD fD FC GC HC gD"},Q:{"1":"hD"},R:{"1":"iD"},S:{"1":"jD kD"}},B:4,C:"CSS3 Multiple backgrounds",D:true}; diff --git a/node_modules/caniuse-lite/data/features/multicolumn.js b/node_modules/caniuse-lite/data/features/multicolumn.js index 919ef7bbc5..7ba992bfd4 100644 --- a/node_modules/caniuse-lite/data/features/multicolumn.js +++ b/node_modules/caniuse-lite/data/features/multicolumn.js @@ -1 +1 @@ -module.exports={A:{A:{"1":"A B","2":"K D E F aC"},B:{"1":"C L M G N O P","516":"0 1 2 3 4 5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I"},C:{"132":"hB iB jB kB lB mB nB EC oB FC pB qB rB","164":"bC DC J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB dC eC","516":"sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a","1028":"0 1 2 3 4 5 6 7 8 9 b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC"},D:{"420":"J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB","516":"0 1 2 3 4 5 6 7 8 9 fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC"},E:{"1":"A B C L M G KC 7B 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC","132":"F jC","164":"D E iC","420":"J FB K fC JC gC hC"},F:{"1":"C 7B YC uC 8B","2":"F B qC rC sC tC","420":"G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB","516":"SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t"},G:{"1":"2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC","132":"0C 1C","164":"E yC zC","420":"JC vC ZC wC xC"},H:{"1":"HD"},I:{"420":"DC J ID JD KD LD ZC MD ND","516":"I"},J:{"420":"D A"},K:{"1":"C 7B YC 8B","2":"A B","516":"H"},L:{"516":"I"},M:{"1028":"6B"},N:{"1":"A B"},O:{"516":"9B"},P:{"420":"J","516":"u v w x y z OD PD QD RD SD KC TD UD VD WD XD AC BC CC YD"},Q:{"516":"ZD"},R:{"516":"aD"},S:{"164":"bD cD"}},B:4,C:"CSS3 Multiple column layout",D:true}; +module.exports={A:{A:{"1":"A B","2":"K D E F gC"},B:{"1":"C L M G N O P","516":"5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I"},C:{"132":"mB nB oB pB qB rB sB JC tB KC uB vB wB","164":"0 1 2 3 4 hC IC J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB jC kC","516":"xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a","1028":"5 6 7 8 9 b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC"},D:{"420":"0 1 2 3 4 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB","516":"5 6 7 8 9 kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC"},E:{"1":"A B C L M G PC CC DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC","132":"F pC","164":"D E oC","420":"J LB K lC OC mC nC"},F:{"1":"C CC eC 1C DC","2":"F B xC yC zC 0C","420":"0 1 2 3 4 G N O P MB y z NB OB PB QB RB SB TB UB VB WB","516":"XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x"},G:{"1":"9C AD BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC","132":"7C 8C","164":"E 5C 6C","420":"OC 2C fC 3C 4C"},H:{"1":"PD"},I:{"420":"IC J QD RD SD TD fC UD VD","516":"I"},J:{"420":"D A"},K:{"1":"C CC eC DC","2":"A B","516":"H"},L:{"516":"I"},M:{"1028":"BC"},N:{"1":"A B"},O:{"516":"EC"},P:{"420":"J","516":"0 1 2 3 4 y z WD XD YD ZD aD PC bD cD dD eD fD FC GC HC gD"},Q:{"516":"hD"},R:{"516":"iD"},S:{"164":"jD kD"}},B:4,C:"CSS3 Multiple column layout",D:true}; diff --git a/node_modules/caniuse-lite/data/features/mutation-events.js b/node_modules/caniuse-lite/data/features/mutation-events.js index 6273efe04e..c09a94851f 100644 --- a/node_modules/caniuse-lite/data/features/mutation-events.js +++ b/node_modules/caniuse-lite/data/features/mutation-events.js @@ -1 +1 @@ -module.exports={A:{A:{"2":"K D E aC","260":"F A B"},B:{"132":"0 1 2 3 4 5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I","260":"C L M G N O P"},C:{"2":"bC DC J FB dC eC","260":"0 1 2 3 4 5 6 7 8 9 K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC"},D:{"16":"J FB K D E F A B C L M","132":"0 1 2 3 4 5 6 7 8 9 G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC"},E:{"16":"fC JC","132":"J FB K D E F A B C L M G gC hC iC jC KC 7B 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC"},F:{"1":"C uC 8B","2":"F qC rC sC tC","16":"B 7B YC","132":"G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t"},G:{"16":"JC vC","132":"E ZC wC xC yC zC 0C 1C 2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC"},H:{"2":"HD"},I:{"16":"ID JD","132":"DC J I KD LD ZC MD ND"},J:{"132":"D A"},K:{"1":"C 8B","2":"A","16":"B 7B YC","132":"H"},L:{"132":"I"},M:{"260":"6B"},N:{"260":"A B"},O:{"132":"9B"},P:{"132":"J u v w x y z OD PD QD RD SD KC TD UD VD WD XD AC BC CC YD"},Q:{"132":"ZD"},R:{"132":"aD"},S:{"260":"bD cD"}},B:5,C:"Mutation events",D:true}; +module.exports={A:{A:{"2":"K D E gC","260":"F A B"},B:{"66":"HB IB JB KB I","132":"5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB","260":"C L M G N O P"},C:{"2":"hC IC J LB jC kC","260":"0 1 2 3 4 5 6 7 8 9 K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC"},D:{"16":"J LB K D E F A B C L M","66":"HB IB JB KB I BC MC NC","132":"0 1 2 3 4 5 6 7 8 9 G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB"},E:{"16":"lC OC","132":"J LB K D E F A B C L M G mC nC oC pC PC CC DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC"},F:{"1":"C 1C DC","2":"F xC yC zC 0C","16":"B CC eC","132":"0 1 2 3 4 G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x"},G:{"16":"OC 2C","132":"E fC 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC"},H:{"2":"PD"},I:{"16":"QD RD","66":"I","132":"IC J SD TD fC UD VD"},J:{"132":"D A"},K:{"1":"C DC","2":"A","16":"B CC eC","132":"H"},L:{"66":"I"},M:{"260":"BC"},N:{"260":"A B"},O:{"132":"EC"},P:{"132":"0 1 2 3 4 J y z WD XD YD ZD aD PC bD cD dD eD fD FC GC HC gD"},Q:{"132":"hD"},R:{"132":"iD"},S:{"260":"jD kD"}},B:7,C:"Mutation events",D:true}; diff --git a/node_modules/caniuse-lite/data/features/mutationobserver.js b/node_modules/caniuse-lite/data/features/mutationobserver.js index 13f683ece4..43cc64f0a4 100644 --- a/node_modules/caniuse-lite/data/features/mutationobserver.js +++ b/node_modules/caniuse-lite/data/features/mutationobserver.js @@ -1 +1 @@ -module.exports={A:{A:{"1":"B","2":"K D E aC","8":"F A"},B:{"1":"0 1 2 3 4 5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC","2":"bC DC J FB K D E F A B C L dC eC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC","2":"J FB K D E F A B C L M G N O","33":"P GB u v w x y z HB"},E:{"1":"D E F A B C L M G hC iC jC KC 7B 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC","2":"J FB fC JC gC","33":"K"},F:{"1":"G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t","2":"F B C qC rC sC tC 7B YC uC 8B"},G:{"1":"E yC zC 0C 1C 2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC","2":"JC vC ZC wC","33":"xC"},H:{"2":"HD"},I:{"1":"I MD ND","2":"DC ID JD KD","8":"J LD ZC"},J:{"1":"A","2":"D"},K:{"1":"H","2":"A B C 7B YC 8B"},L:{"1":"I"},M:{"1":"6B"},N:{"1":"B","8":"A"},O:{"1":"9B"},P:{"1":"J u v w x y z OD PD QD RD SD KC TD UD VD WD XD AC BC CC YD"},Q:{"1":"ZD"},R:{"1":"aD"},S:{"1":"bD cD"}},B:1,C:"Mutation Observer",D:true}; +module.exports={A:{A:{"1":"B","2":"K D E gC","8":"F A"},B:{"1":"5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC","2":"hC IC J LB K D E F A B C L jC kC"},D:{"1":"5 6 7 8 9 NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC","2":"J LB K D E F A B C L M G N O","33":"0 1 2 3 4 P MB y z"},E:{"1":"D E F A B C L M G nC oC pC PC CC DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC","2":"J LB lC OC mC","33":"K"},F:{"1":"0 1 2 3 4 G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x","2":"F B C xC yC zC 0C CC eC 1C DC"},G:{"1":"E 5C 6C 7C 8C 9C AD BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC","2":"OC 2C fC 3C","33":"4C"},H:{"2":"PD"},I:{"1":"I UD VD","2":"IC QD RD SD","8":"J TD fC"},J:{"1":"A","2":"D"},K:{"1":"H","2":"A B C CC eC DC"},L:{"1":"I"},M:{"1":"BC"},N:{"1":"B","8":"A"},O:{"1":"EC"},P:{"1":"0 1 2 3 4 J y z WD XD YD ZD aD PC bD cD dD eD fD FC GC HC gD"},Q:{"1":"hD"},R:{"1":"iD"},S:{"1":"jD kD"}},B:1,C:"Mutation Observer",D:true}; diff --git a/node_modules/caniuse-lite/data/features/namevalue-storage.js b/node_modules/caniuse-lite/data/features/namevalue-storage.js index 7550c89c59..37944e0495 100644 --- a/node_modules/caniuse-lite/data/features/namevalue-storage.js +++ b/node_modules/caniuse-lite/data/features/namevalue-storage.js @@ -1 +1 @@ -module.exports={A:{A:{"1":"E F A B","2":"aC","8":"K D"},B:{"1":"0 1 2 3 4 5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC dC eC","4":"bC DC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC"},E:{"1":"J FB K D E F A B C L M G gC hC iC jC KC 7B 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC","2":"fC JC"},F:{"1":"B C G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t sC tC 7B YC uC 8B","2":"F qC rC"},G:{"1":"E JC vC ZC wC xC yC zC 0C 1C 2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC"},H:{"2":"HD"},I:{"1":"DC J I ID JD KD LD ZC MD ND"},J:{"1":"D A"},K:{"1":"B C H 7B YC 8B","2":"A"},L:{"1":"I"},M:{"1":"6B"},N:{"1":"A B"},O:{"1":"9B"},P:{"1":"J u v w x y z OD PD QD RD SD KC TD UD VD WD XD AC BC CC YD"},Q:{"1":"ZD"},R:{"1":"aD"},S:{"1":"bD cD"}},B:1,C:"Web Storage - name/value pairs",D:true}; +module.exports={A:{A:{"1":"E F A B","2":"gC","8":"K D"},B:{"1":"5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC jC kC","4":"hC IC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC"},E:{"1":"J LB K D E F A B C L M G mC nC oC pC PC CC DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC","2":"lC OC"},F:{"1":"0 1 2 3 4 B C G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x zC 0C CC eC 1C DC","2":"F xC yC"},G:{"1":"E OC 2C fC 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC"},H:{"2":"PD"},I:{"1":"IC J I QD RD SD TD fC UD VD"},J:{"1":"D A"},K:{"1":"B C H CC eC DC","2":"A"},L:{"1":"I"},M:{"1":"BC"},N:{"1":"A B"},O:{"1":"EC"},P:{"1":"0 1 2 3 4 J y z WD XD YD ZD aD PC bD cD dD eD fD FC GC HC gD"},Q:{"1":"hD"},R:{"1":"iD"},S:{"1":"jD kD"}},B:1,C:"Web Storage - name/value pairs",D:true}; diff --git a/node_modules/caniuse-lite/data/features/native-filesystem-api.js b/node_modules/caniuse-lite/data/features/native-filesystem-api.js index 0ca9f6c258..d831e8758e 100644 --- a/node_modules/caniuse-lite/data/features/native-filesystem-api.js +++ b/node_modules/caniuse-lite/data/features/native-filesystem-api.js @@ -1 +1 @@ -module.exports={A:{A:{"2":"K D E F A B aC"},B:{"2":"C L M G N O P","194":"Q H R S T U","260":"0 1 2 3 4 5 6 7 8 9 V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I"},C:{"2":"bC DC J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t dC eC","516":"0 1 2 3 4 5 6 7 8 9 AB BB CB DB EB I 6B HC IC cC"},D:{"2":"J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B","194":"1B 2B 3B 4B 5B Q H R S T U","260":"0 1 2 3 4 5 6 7 8 9 V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC"},E:{"2":"J FB K D E F A B C L M G fC JC gC hC iC jC KC 7B 8B kC lC mC","516":"LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC"},F:{"2":"F B C G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB qC rC sC tC 7B YC uC 8B","194":"pB qB rB sB tB uB vB wB xB yB","260":"zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t"},G:{"2":"E JC vC ZC wC xC yC zC 0C 1C 2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED","516":"LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC"},H:{"2":"HD"},I:{"2":"DC J ID JD KD LD ZC MD ND","516":"I"},J:{"2":"D A"},K:{"2":"A B C 7B YC 8B","260":"H"},L:{"516":"I"},M:{"2":"6B"},N:{"2":"A B"},O:{"2":"9B"},P:{"2":"J u v w x y z OD PD QD RD SD KC TD UD VD WD XD AC BC CC YD"},Q:{"2":"ZD"},R:{"2":"aD"},S:{"2":"bD cD"}},B:7,C:"File System Access API",D:true}; +module.exports={A:{A:{"2":"K D E F A B gC"},B:{"1":"5 6 7 8 9 o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I","2":"C L M G N O P","194":"Q H R S T U","260":"V W X Y Z a b c d e f g h i j k l m n"},C:{"2":"0 1 2 3 4 5 6 7 8 9 hC IC J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC jC kC"},D:{"1":"5 6 7 8 9 o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC","2":"0 1 2 3 4 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B","194":"6B 7B 8B 9B AC Q H R S T U","260":"V W X Y Z a b c d e f g h i j k l m n"},E:{"2":"J LB K D E F A B C L M G lC OC mC nC oC pC PC CC DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC"},F:{"1":"a b c d e f g h i j k l m n o p q r s t u v w x","2":"0 1 2 3 4 F B C G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB xC yC zC 0C CC eC 1C DC","194":"uB vB wB xB yB zB 0B 1B 2B 3B","260":"4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z"},G:{"2":"E OC 2C fC 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC"},H:{"2":"PD"},I:{"2":"IC J I QD RD SD TD fC UD VD"},J:{"2":"D A"},K:{"2":"A B C H CC eC DC"},L:{"2":"I"},M:{"2":"BC"},N:{"2":"A B"},O:{"2":"EC"},P:{"2":"0 1 2 3 4 J y z WD XD YD ZD aD PC bD cD dD eD fD FC GC HC gD"},Q:{"2":"hD"},R:{"2":"iD"},S:{"2":"jD kD"}},B:7,C:"File System Access API",D:true}; diff --git a/node_modules/caniuse-lite/data/features/nav-timing.js b/node_modules/caniuse-lite/data/features/nav-timing.js index a3d95ba1da..ea573fb77b 100644 --- a/node_modules/caniuse-lite/data/features/nav-timing.js +++ b/node_modules/caniuse-lite/data/features/nav-timing.js @@ -1 +1 @@ -module.exports={A:{A:{"1":"F A B","2":"K D E aC"},B:{"1":"0 1 2 3 4 5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC","2":"bC DC J FB K dC eC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC","2":"J FB","33":"K D E F A B C"},E:{"1":"E F A B C L M G jC KC 7B 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC","2":"J FB K D fC JC gC hC iC"},F:{"1":"G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t","2":"F B C qC rC sC tC 7B YC uC 8B"},G:{"1":"E 0C 1C 2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC","2":"JC vC ZC wC xC yC zC"},H:{"2":"HD"},I:{"1":"J I LD ZC MD ND","2":"DC ID JD KD"},J:{"1":"A","2":"D"},K:{"1":"H","2":"A B C 7B YC 8B"},L:{"1":"I"},M:{"1":"6B"},N:{"1":"A B"},O:{"1":"9B"},P:{"1":"J u v w x y z OD PD QD RD SD KC TD UD VD WD XD AC BC CC YD"},Q:{"1":"ZD"},R:{"1":"aD"},S:{"1":"bD cD"}},B:2,C:"Navigation Timing API",D:true}; +module.exports={A:{A:{"1":"F A B","2":"K D E gC"},B:{"1":"5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC","2":"hC IC J LB K jC kC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC","2":"J LB","33":"K D E F A B C"},E:{"1":"E F A B C L M G pC PC CC DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC","2":"J LB K D lC OC mC nC oC"},F:{"1":"0 1 2 3 4 G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x","2":"F B C xC yC zC 0C CC eC 1C DC"},G:{"1":"E 7C 8C 9C AD BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC","2":"OC 2C fC 3C 4C 5C 6C"},H:{"2":"PD"},I:{"1":"J I TD fC UD VD","2":"IC QD RD SD"},J:{"1":"A","2":"D"},K:{"1":"H","2":"A B C CC eC DC"},L:{"1":"I"},M:{"1":"BC"},N:{"1":"A B"},O:{"1":"EC"},P:{"1":"0 1 2 3 4 J y z WD XD YD ZD aD PC bD cD dD eD fD FC GC HC gD"},Q:{"1":"hD"},R:{"1":"iD"},S:{"1":"jD kD"}},B:2,C:"Navigation Timing API",D:true}; diff --git a/node_modules/caniuse-lite/data/features/netinfo.js b/node_modules/caniuse-lite/data/features/netinfo.js index 49505f90c3..08770af376 100644 --- a/node_modules/caniuse-lite/data/features/netinfo.js +++ b/node_modules/caniuse-lite/data/features/netinfo.js @@ -1 +1 @@ -module.exports={A:{A:{"2":"K D E F A B aC"},B:{"2":"C L M G N O P","1028":"0 1 2 3 4 5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I"},C:{"2":"0 1 2 3 4 5 6 7 8 9 bC DC J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC dC eC"},D:{"2":"J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB","1028":"0 1 2 3 4 5 6 7 8 9 FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC"},E:{"2":"J FB K D E F A B C L M G fC JC gC hC iC jC KC 7B 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC"},F:{"2":"F B C G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB qC rC sC tC 7B YC uC 8B","1028":"dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t"},G:{"2":"E JC vC ZC wC xC yC zC 0C 1C 2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC"},H:{"2":"HD"},I:{"1":"I","2":"ID MD ND","132":"DC J JD KD LD ZC"},J:{"2":"D A"},K:{"1":"H","2":"A B C 7B YC 8B"},L:{"1":"I"},M:{"2":"6B"},N:{"2":"A B"},O:{"1":"9B"},P:{"1":"u v w x y z RD SD KC TD UD VD WD XD AC BC CC YD","132":"J","516":"OD PD QD"},Q:{"1":"ZD"},R:{"1":"aD"},S:{"2":"cD","260":"bD"}},B:7,C:"Network Information API",D:true}; +module.exports={A:{A:{"2":"K D E F A B gC"},B:{"2":"C L M G N O P","1028":"5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I"},C:{"2":"0 1 2 3 4 5 6 7 8 9 hC IC J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC jC kC"},D:{"2":"0 1 2 3 4 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB","1028":"5 6 7 8 9 KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC"},E:{"2":"J LB K D E F A B C L M G lC OC mC nC oC pC PC CC DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC"},F:{"2":"0 1 2 3 4 F B C G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB xC yC zC 0C CC eC 1C DC","1028":"iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x"},G:{"2":"E OC 2C fC 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC"},H:{"2":"PD"},I:{"1":"I","2":"QD UD VD","132":"IC J RD SD TD fC"},J:{"2":"D A"},K:{"1":"H","2":"A B C CC eC DC"},L:{"1":"I"},M:{"2":"BC"},N:{"2":"A B"},O:{"1":"EC"},P:{"1":"0 1 2 3 4 y z ZD aD PC bD cD dD eD fD FC GC HC gD","132":"J","516":"WD XD YD"},Q:{"1":"hD"},R:{"1":"iD"},S:{"2":"kD","260":"jD"}},B:7,C:"Network Information API",D:true}; diff --git a/node_modules/caniuse-lite/data/features/notifications.js b/node_modules/caniuse-lite/data/features/notifications.js index a073df1a76..fa99c0f971 100644 --- a/node_modules/caniuse-lite/data/features/notifications.js +++ b/node_modules/caniuse-lite/data/features/notifications.js @@ -1 +1 @@ -module.exports={A:{A:{"2":"K D E F A B aC"},B:{"1":"0 1 2 3 4 5 6 7 8 9 M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I","2":"C L"},C:{"1":"0 1 2 3 4 5 6 7 8 9 w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC","2":"bC DC J FB K D E F A B C L M G N O P GB u v dC eC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC","2":"J","36":"FB K D E F A B C L M G N O P GB u v"},E:{"1":"K D E F A B C L M G hC iC jC KC 7B 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC","2":"J FB fC JC gC"},F:{"1":"z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t","2":"F B C G N O P GB u v w x y qC rC sC tC 7B YC uC 8B"},G:{"2":"E JC vC ZC wC xC yC zC 0C 1C 2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC","516":"QC RC GD BC SC TC UC VC WC XC CC"},H:{"2":"HD"},I:{"2":"DC J ID JD KD LD ZC","36":"I MD ND"},J:{"1":"A","2":"D"},K:{"2":"A B C 7B YC 8B","36":"H"},L:{"257":"I"},M:{"1":"6B"},N:{"2":"A B"},O:{"1":"9B"},P:{"36":"J","130":"u v w x y z OD PD QD RD SD KC TD UD VD WD XD AC BC CC YD"},Q:{"2":"ZD"},R:{"130":"aD"},S:{"1":"bD cD"}},B:1,C:"Web Notifications",D:true}; +module.exports={A:{A:{"2":"K D E F A B gC"},B:{"1":"5 6 7 8 9 M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I","2":"C L"},C:{"1":"0 1 2 3 4 5 6 7 8 9 NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC","2":"hC IC J LB K D E F A B C L M G N O P MB y z jC kC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC","2":"J","36":"LB K D E F A B C L M G N O P MB y z"},E:{"1":"K D E F A B C L M G nC oC pC PC CC DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC","2":"J LB lC OC mC"},F:{"1":"3 4 NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x","2":"0 1 2 F B C G N O P MB y z xC yC zC 0C CC eC 1C DC"},G:{"2":"E OC 2C fC 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC","516":"VC WC ND GC XC YC ZC aC bC OD HC cC dC"},H:{"2":"PD"},I:{"2":"IC J QD RD SD TD fC","36":"I UD VD"},J:{"1":"A","2":"D"},K:{"2":"A B C CC eC DC","36":"H"},L:{"257":"I"},M:{"1":"BC"},N:{"2":"A B"},O:{"1":"EC"},P:{"36":"J","130":"0 1 2 3 4 y z WD XD YD ZD aD PC bD cD dD eD fD FC GC HC gD"},Q:{"2":"hD"},R:{"130":"iD"},S:{"1":"jD kD"}},B:1,C:"Web Notifications",D:true}; diff --git a/node_modules/caniuse-lite/data/features/object-entries.js b/node_modules/caniuse-lite/data/features/object-entries.js index 0efc14be3c..05dd1947c7 100644 --- a/node_modules/caniuse-lite/data/features/object-entries.js +++ b/node_modules/caniuse-lite/data/features/object-entries.js @@ -1 +1 @@ -module.exports={A:{A:{"2":"K D E F A B aC"},B:{"1":"0 1 2 3 4 5 6 7 8 9 M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I","2":"C L"},C:{"1":"0 1 2 3 4 5 6 7 8 9 cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC","2":"bC DC J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB dC eC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC","2":"J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB"},E:{"1":"B C L M G KC 7B 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC","2":"J FB K D E F A fC JC gC hC iC jC"},F:{"1":"WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t","2":"F B C G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB qC rC sC tC 7B YC uC 8B"},G:{"1":"3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC","2":"E JC vC ZC wC xC yC zC 0C 1C 2C"},H:{"2":"HD"},I:{"1":"I","2":"DC J ID JD KD LD ZC MD ND"},J:{"2":"D","16":"A"},K:{"1":"H","2":"A B C 7B YC 8B"},L:{"1":"I"},M:{"1":"6B"},N:{"2":"A B"},O:{"1":"9B"},P:{"1":"u v w x y z PD QD RD SD KC TD UD VD WD XD AC BC CC YD","2":"J OD"},Q:{"1":"ZD"},R:{"1":"aD"},S:{"1":"bD cD"}},B:6,C:"Object.entries",D:true}; +module.exports={A:{A:{"2":"K D E F A B gC"},B:{"1":"5 6 7 8 9 M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I","2":"C L"},C:{"1":"5 6 7 8 9 hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC","2":"0 1 2 3 4 hC IC J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB jC kC"},D:{"1":"5 6 7 8 9 oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC","2":"0 1 2 3 4 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB"},E:{"1":"B C L M G PC CC DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC","2":"J LB K D E F A lC OC mC nC oC pC"},F:{"1":"bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x","2":"0 1 2 3 4 F B C G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB xC yC zC 0C CC eC 1C DC"},G:{"1":"AD BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC","2":"E OC 2C fC 3C 4C 5C 6C 7C 8C 9C"},H:{"2":"PD"},I:{"1":"I","2":"IC J QD RD SD TD fC UD VD"},J:{"2":"D","16":"A"},K:{"1":"H","2":"A B C CC eC DC"},L:{"1":"I"},M:{"1":"BC"},N:{"2":"A B"},O:{"1":"EC"},P:{"1":"0 1 2 3 4 y z XD YD ZD aD PC bD cD dD eD fD FC GC HC gD","2":"J WD"},Q:{"1":"hD"},R:{"1":"iD"},S:{"1":"jD kD"}},B:6,C:"Object.entries",D:true}; diff --git a/node_modules/caniuse-lite/data/features/object-fit.js b/node_modules/caniuse-lite/data/features/object-fit.js index 4f192ec3dc..889729b677 100644 --- a/node_modules/caniuse-lite/data/features/object-fit.js +++ b/node_modules/caniuse-lite/data/features/object-fit.js @@ -1 +1 @@ -module.exports={A:{A:{"2":"K D E F A B aC"},B:{"1":"0 1 2 3 4 5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I","2":"C L M G","260":"N O P"},C:{"1":"0 1 2 3 4 5 6 7 8 9 RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC","2":"bC DC J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB dC eC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC","2":"J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB"},E:{"1":"A B C L M G KC 7B 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC","2":"J FB K D fC JC gC hC","132":"E F iC jC"},F:{"1":"GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t","2":"F G N O P qC rC sC","33":"B C tC 7B YC uC 8B"},G:{"1":"2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC","2":"JC vC ZC wC xC yC","132":"E zC 0C 1C"},H:{"33":"HD"},I:{"1":"I ND","2":"DC J ID JD KD LD ZC MD"},J:{"2":"D A"},K:{"1":"H","2":"A","33":"B C 7B YC 8B"},L:{"1":"I"},M:{"1":"6B"},N:{"2":"A B"},O:{"1":"9B"},P:{"1":"J u v w x y z OD PD QD RD SD KC TD UD VD WD XD AC BC CC YD"},Q:{"1":"ZD"},R:{"1":"aD"},S:{"1":"bD cD"}},B:4,C:"CSS3 object-fit/object-position",D:true}; +module.exports={A:{A:{"2":"K D E F A B gC"},B:{"1":"5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I","2":"C L M G","260":"N O P"},C:{"1":"5 6 7 8 9 WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC","2":"0 1 2 3 4 hC IC J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB jC kC"},D:{"1":"5 6 7 8 9 SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC","2":"0 1 2 3 4 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB"},E:{"1":"A B C L M G PC CC DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC","2":"J LB K D lC OC mC nC","132":"E F oC pC"},F:{"1":"0 1 2 3 4 MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x","2":"F G N O P xC yC zC","33":"B C 0C CC eC 1C DC"},G:{"1":"9C AD BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC","2":"OC 2C fC 3C 4C 5C","132":"E 6C 7C 8C"},H:{"33":"PD"},I:{"1":"I VD","2":"IC J QD RD SD TD fC UD"},J:{"2":"D A"},K:{"1":"H","2":"A","33":"B C CC eC DC"},L:{"1":"I"},M:{"1":"BC"},N:{"2":"A B"},O:{"1":"EC"},P:{"1":"0 1 2 3 4 J y z WD XD YD ZD aD PC bD cD dD eD fD FC GC HC gD"},Q:{"1":"hD"},R:{"1":"iD"},S:{"1":"jD kD"}},B:4,C:"CSS3 object-fit/object-position",D:true}; diff --git a/node_modules/caniuse-lite/data/features/object-observe.js b/node_modules/caniuse-lite/data/features/object-observe.js index 25228042e5..9d1579e2e6 100644 --- a/node_modules/caniuse-lite/data/features/object-observe.js +++ b/node_modules/caniuse-lite/data/features/object-observe.js @@ -1 +1 @@ -module.exports={A:{A:{"2":"K D E F A B aC"},B:{"2":"0 1 2 3 4 5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I"},C:{"2":"0 1 2 3 4 5 6 7 8 9 bC DC J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC dC eC"},D:{"1":"RB SB TB UB VB WB XB YB ZB aB bB cB dB eB","2":"0 1 2 3 4 5 6 7 8 9 J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC"},E:{"2":"J FB K D E F A B C L M G fC JC gC hC iC jC KC 7B 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC"},F:{"1":"x y z HB IB JB KB LB MB NB OB PB QB RB","2":"F B C G N O P GB u v w SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t qC rC sC tC 7B YC uC 8B"},G:{"2":"E JC vC ZC wC xC yC zC 0C 1C 2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC"},H:{"2":"HD"},I:{"2":"DC J I ID JD KD LD ZC MD ND"},J:{"2":"D A"},K:{"2":"A B C H 7B YC 8B"},L:{"2":"I"},M:{"2":"6B"},N:{"2":"A B"},O:{"2":"9B"},P:{"1":"J","2":"u v w x y z OD PD QD RD SD KC TD UD VD WD XD AC BC CC YD"},Q:{"2":"ZD"},R:{"2":"aD"},S:{"2":"bD cD"}},B:7,C:"Object.observe data binding",D:true}; +module.exports={A:{A:{"2":"K D E F A B gC"},B:{"2":"5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I"},C:{"2":"0 1 2 3 4 5 6 7 8 9 hC IC J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC jC kC"},D:{"1":"WB XB YB ZB aB bB cB dB eB fB gB hB iB jB","2":"0 1 2 3 4 5 6 7 8 9 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC"},E:{"2":"J LB K D E F A B C L M G lC OC mC nC oC pC PC CC DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC"},F:{"1":"1 2 3 4 NB OB PB QB RB SB TB UB VB WB","2":"0 F B C G N O P MB y z XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x xC yC zC 0C CC eC 1C DC"},G:{"2":"E OC 2C fC 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC"},H:{"2":"PD"},I:{"2":"IC J I QD RD SD TD fC UD VD"},J:{"2":"D A"},K:{"2":"A B C H CC eC DC"},L:{"2":"I"},M:{"2":"BC"},N:{"2":"A B"},O:{"2":"EC"},P:{"1":"J","2":"0 1 2 3 4 y z WD XD YD ZD aD PC bD cD dD eD fD FC GC HC gD"},Q:{"2":"hD"},R:{"2":"iD"},S:{"2":"jD kD"}},B:7,C:"Object.observe data binding",D:true}; diff --git a/node_modules/caniuse-lite/data/features/object-values.js b/node_modules/caniuse-lite/data/features/object-values.js index 773876057a..154ad71ee4 100644 --- a/node_modules/caniuse-lite/data/features/object-values.js +++ b/node_modules/caniuse-lite/data/features/object-values.js @@ -1 +1 @@ -module.exports={A:{A:{"8":"K D E F A B aC"},B:{"1":"0 1 2 3 4 5 6 7 8 9 M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I","2":"C L"},C:{"1":"0 1 2 3 4 5 6 7 8 9 cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC","8":"bC DC J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB dC eC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC","8":"J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB"},E:{"1":"B C L M G KC 7B 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC","8":"J FB K D E F A fC JC gC hC iC jC"},F:{"1":"WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t","8":"F B C G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB qC rC sC tC 7B YC uC 8B"},G:{"1":"3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC","8":"E JC vC ZC wC xC yC zC 0C 1C 2C"},H:{"8":"HD"},I:{"1":"I","8":"DC J ID JD KD LD ZC MD ND"},J:{"8":"D A"},K:{"1":"H","8":"A B C 7B YC 8B"},L:{"1":"I"},M:{"1":"6B"},N:{"8":"A B"},O:{"1":"9B"},P:{"1":"u v w x y z PD QD RD SD KC TD UD VD WD XD AC BC CC YD","8":"J OD"},Q:{"1":"ZD"},R:{"1":"aD"},S:{"1":"bD cD"}},B:6,C:"Object.values method",D:true}; +module.exports={A:{A:{"8":"K D E F A B gC"},B:{"1":"5 6 7 8 9 M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I","2":"C L"},C:{"1":"5 6 7 8 9 hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC","8":"0 1 2 3 4 hC IC J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB jC kC"},D:{"1":"5 6 7 8 9 oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC","8":"0 1 2 3 4 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB"},E:{"1":"B C L M G PC CC DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC","8":"J LB K D E F A lC OC mC nC oC pC"},F:{"1":"bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x","8":"0 1 2 3 4 F B C G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB xC yC zC 0C CC eC 1C DC"},G:{"1":"AD BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC","8":"E OC 2C fC 3C 4C 5C 6C 7C 8C 9C"},H:{"8":"PD"},I:{"1":"I","8":"IC J QD RD SD TD fC UD VD"},J:{"8":"D A"},K:{"1":"H","8":"A B C CC eC DC"},L:{"1":"I"},M:{"1":"BC"},N:{"8":"A B"},O:{"1":"EC"},P:{"1":"0 1 2 3 4 y z XD YD ZD aD PC bD cD dD eD fD FC GC HC gD","8":"J WD"},Q:{"1":"hD"},R:{"1":"iD"},S:{"1":"jD kD"}},B:6,C:"Object.values method",D:true}; diff --git a/node_modules/caniuse-lite/data/features/objectrtc.js b/node_modules/caniuse-lite/data/features/objectrtc.js index a844932f2d..927b32993a 100644 --- a/node_modules/caniuse-lite/data/features/objectrtc.js +++ b/node_modules/caniuse-lite/data/features/objectrtc.js @@ -1 +1 @@ -module.exports={A:{A:{"2":"K D E F A B aC"},B:{"1":"L M G N O P","2":"0 1 2 3 4 5 6 7 8 9 C Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I"},C:{"2":"0 1 2 3 4 5 6 7 8 9 bC DC J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC dC eC"},D:{"2":"0 1 2 3 4 5 6 7 8 9 J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC"},E:{"2":"J FB K D E F A B C L M G fC JC gC hC iC jC KC 7B 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC"},F:{"2":"F B C G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t qC rC sC tC 7B YC uC 8B"},G:{"2":"E JC vC ZC wC xC yC zC 0C 1C 2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC"},H:{"2":"HD"},I:{"2":"DC J I ID JD KD LD ZC MD ND"},J:{"2":"D A"},K:{"2":"A B C H 7B YC 8B"},L:{"2":"I"},M:{"2":"6B"},N:{"2":"A B"},O:{"2":"9B"},P:{"2":"J u v w x y z OD PD QD RD SD KC TD UD VD WD XD AC BC CC YD"},Q:{"2":"ZD"},R:{"2":"aD"},S:{"2":"bD cD"}},B:6,C:"Object RTC (ORTC) API for WebRTC",D:true}; +module.exports={A:{A:{"2":"K D E F A B gC"},B:{"1":"L M G N O P","2":"5 6 7 8 9 C Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I"},C:{"2":"0 1 2 3 4 5 6 7 8 9 hC IC J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC jC kC"},D:{"2":"0 1 2 3 4 5 6 7 8 9 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC"},E:{"2":"J LB K D E F A B C L M G lC OC mC nC oC pC PC CC DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC"},F:{"2":"0 1 2 3 4 F B C G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x xC yC zC 0C CC eC 1C DC"},G:{"2":"E OC 2C fC 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC"},H:{"2":"PD"},I:{"2":"IC J I QD RD SD TD fC UD VD"},J:{"2":"D A"},K:{"2":"A B C H CC eC DC"},L:{"2":"I"},M:{"2":"BC"},N:{"2":"A B"},O:{"2":"EC"},P:{"2":"0 1 2 3 4 J y z WD XD YD ZD aD PC bD cD dD eD fD FC GC HC gD"},Q:{"2":"hD"},R:{"2":"iD"},S:{"2":"jD kD"}},B:6,C:"Object RTC (ORTC) API for WebRTC",D:true}; diff --git a/node_modules/caniuse-lite/data/features/offline-apps.js b/node_modules/caniuse-lite/data/features/offline-apps.js index d13552e65f..c19fd8c538 100644 --- a/node_modules/caniuse-lite/data/features/offline-apps.js +++ b/node_modules/caniuse-lite/data/features/offline-apps.js @@ -1 +1 @@ -module.exports={A:{A:{"1":"A B","2":"F aC","8":"K D E"},B:{"1":"C L M G N O P Q H R S T","2":"0 1 2 3 4 5 6 7 8 9 U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I"},C:{"1":"J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S dC eC","2":"0 1 2 3 4 5 6 7 8 9 T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC","4":"DC","8":"bC"},D:{"1":"J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T","2":"0 1 2 3 4 5 6 7 8 9 U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC"},E:{"1":"J FB K D E F A B C L M gC hC iC jC KC 7B 8B kC lC","2":"G mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC","8":"fC JC"},F:{"1":"B C G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB tC 7B YC uC 8B","2":"F 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t qC","8":"rC sC"},G:{"1":"E JC vC ZC wC xC yC zC 0C 1C 2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD","2":"ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC"},H:{"2":"HD"},I:{"1":"DC J ID JD KD LD ZC MD ND","2":"I"},J:{"1":"D A"},K:{"1":"B C 7B YC 8B","2":"A H"},L:{"2":"I"},M:{"2":"6B"},N:{"1":"A B"},O:{"1":"9B"},P:{"1":"J u v w x y z OD PD QD RD SD KC TD UD VD WD XD AC BC CC YD"},Q:{"1":"ZD"},R:{"2":"aD"},S:{"1":"bD","2":"cD"}},B:7,C:"Offline web applications",D:true}; +module.exports={A:{A:{"1":"A B","2":"F gC","8":"K D E"},B:{"1":"C L M G N O P Q H R S T","2":"5 6 7 8 9 U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I"},C:{"1":"0 1 2 3 4 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S jC kC","2":"5 6 7 8 9 T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC","4":"IC","8":"hC"},D:{"1":"0 1 2 3 4 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T","2":"5 6 7 8 9 U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC"},E:{"1":"J LB K D E F A B C L M mC nC oC pC PC CC DC qC rC","2":"G sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC","8":"lC OC"},F:{"1":"0 1 2 3 4 B C G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 0C CC eC 1C DC","2":"F 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x xC","8":"yC zC"},G:{"1":"E OC 2C fC 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED FD GD HD ID JD KD","2":"LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC"},H:{"2":"PD"},I:{"1":"IC J QD RD SD TD fC UD VD","2":"I"},J:{"1":"D A"},K:{"1":"B C CC eC DC","2":"A H"},L:{"2":"I"},M:{"2":"BC"},N:{"1":"A B"},O:{"1":"EC"},P:{"1":"0 1 2 3 4 J y z WD XD YD ZD aD PC bD cD dD eD fD FC GC HC gD"},Q:{"1":"hD"},R:{"2":"iD"},S:{"1":"jD","2":"kD"}},B:7,C:"Offline web applications",D:true}; diff --git a/node_modules/caniuse-lite/data/features/offscreencanvas.js b/node_modules/caniuse-lite/data/features/offscreencanvas.js index 6f0b594e9d..fb79e833d0 100644 --- a/node_modules/caniuse-lite/data/features/offscreencanvas.js +++ b/node_modules/caniuse-lite/data/features/offscreencanvas.js @@ -1 +1 @@ -module.exports={A:{A:{"2":"K D E F A B aC"},B:{"1":"0 1 2 3 4 5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I","2":"C L M G N O P"},C:{"1":"0 1 2 3 4 5 6 7 8 9 o p q r s t AB BB CB DB EB I 6B HC IC cC","2":"bC DC J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB dC eC","194":"ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n"},D:{"1":"0 1 2 3 4 5 6 7 8 9 wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC","2":"J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB","322":"nB EC oB FC pB qB rB sB tB uB vB"},E:{"1":"BC SC TC UC VC WC XC CC pC","2":"J FB K D E F A B C L M G fC JC gC hC iC jC KC 7B 8B kC lC mC LC MC 9B nC AC NC","516":"OC PC QC RC oC"},F:{"1":"rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t","2":"F B C G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB qC rC sC tC 7B YC uC 8B","322":"aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB"},G:{"1":"BC SC TC UC VC WC XC CC","2":"E JC vC ZC wC xC yC zC 0C 1C 2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC","516":"OC PC QC RC GD"},H:{"2":"HD"},I:{"1":"I","2":"DC J ID JD KD LD ZC MD ND"},J:{"2":"D A"},K:{"1":"H","2":"A B C 7B YC 8B"},L:{"1":"I"},M:{"1":"6B"},N:{"2":"A B"},O:{"1":"9B"},P:{"1":"u v w x y z KC TD UD VD WD XD AC BC CC YD","2":"J OD PD QD RD SD"},Q:{"1":"ZD"},R:{"1":"aD"},S:{"194":"bD cD"}},B:1,C:"OffscreenCanvas",D:true}; +module.exports={A:{A:{"2":"K D E F A B gC"},B:{"1":"5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I","2":"C L M G N O P"},C:{"1":"5 6 7 8 9 o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC","2":"0 1 2 3 4 hC IC J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB jC kC","194":"eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n"},D:{"1":"5 6 7 8 9 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC","2":"0 1 2 3 4 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB","322":"sB JC tB KC uB vB wB xB yB zB 0B"},E:{"1":"GC XC YC ZC aC bC vC HC cC dC wC","2":"J LB K D E F A B C L M G lC OC mC nC oC pC PC CC DC qC rC sC QC RC EC tC FC SC","516":"TC UC VC WC uC"},F:{"1":"wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x","2":"0 1 2 3 4 F B C G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB xC yC zC 0C CC eC 1C DC","322":"fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB"},G:{"1":"GC XC YC ZC aC bC OD HC cC dC","2":"E OC 2C fC 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC","516":"TC UC VC WC ND"},H:{"2":"PD"},I:{"1":"I","2":"IC J QD RD SD TD fC UD VD"},J:{"2":"D A"},K:{"1":"H","2":"A B C CC eC DC"},L:{"1":"I"},M:{"1":"BC"},N:{"2":"A B"},O:{"1":"EC"},P:{"1":"0 1 2 3 4 y z PC bD cD dD eD fD FC GC HC gD","2":"J WD XD YD ZD aD"},Q:{"1":"hD"},R:{"1":"iD"},S:{"194":"jD kD"}},B:1,C:"OffscreenCanvas",D:true}; diff --git a/node_modules/caniuse-lite/data/features/ogg-vorbis.js b/node_modules/caniuse-lite/data/features/ogg-vorbis.js index c7e1a3e50d..2b3fa54b65 100644 --- a/node_modules/caniuse-lite/data/features/ogg-vorbis.js +++ b/node_modules/caniuse-lite/data/features/ogg-vorbis.js @@ -1 +1 @@ -module.exports={A:{A:{"2":"K D E F A B aC"},B:{"1":"0 1 2 3 4 5 6 7 8 9 O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I","2":"C L M G N"},C:{"1":"0 1 2 3 4 5 6 7 8 9 J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC dC eC","2":"bC DC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC"},E:{"2":"J FB K D E F A B C L M fC JC gC hC iC jC KC 7B 8B kC","260":"BC SC TC UC VC WC XC CC pC","388":"G lC mC LC MC 9B nC AC NC OC PC QC RC oC"},F:{"1":"B C G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t sC tC 7B YC uC 8B","2":"F qC rC"},G:{"2":"E JC vC ZC wC xC yC zC 0C 1C 2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC","260":"VC WC XC CC"},H:{"2":"HD"},I:{"1":"DC J I KD LD ZC MD ND","16":"ID JD"},J:{"1":"A","2":"D"},K:{"1":"B C H 7B YC 8B","2":"A"},L:{"1":"I"},M:{"1":"6B"},N:{"2":"A B"},O:{"1":"9B"},P:{"1":"J u v w x y z OD PD QD RD SD KC TD UD VD WD XD AC BC CC YD"},Q:{"1":"ZD"},R:{"1":"aD"},S:{"1":"bD cD"}},B:6,C:"Ogg Vorbis audio format",D:true}; +module.exports={A:{A:{"2":"K D E F A B gC"},B:{"1":"5 6 7 8 9 O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I","2":"C L M G N"},C:{"1":"0 1 2 3 4 5 6 7 8 9 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC jC kC","2":"hC IC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC"},E:{"2":"J LB K D E F A B C L M lC OC mC nC oC pC PC CC DC qC","260":"GC XC YC ZC aC bC vC HC cC dC wC","388":"G rC sC QC RC EC tC FC SC TC UC VC WC uC"},F:{"1":"0 1 2 3 4 B C G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x zC 0C CC eC 1C DC","2":"F xC yC"},G:{"2":"E OC 2C fC 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC","260":"aC bC OD HC cC dC"},H:{"2":"PD"},I:{"1":"IC J I SD TD fC UD VD","16":"QD RD"},J:{"1":"A","2":"D"},K:{"1":"B C H CC eC DC","2":"A"},L:{"1":"I"},M:{"1":"BC"},N:{"2":"A B"},O:{"1":"EC"},P:{"1":"0 1 2 3 4 J y z WD XD YD ZD aD PC bD cD dD eD fD FC GC HC gD"},Q:{"1":"hD"},R:{"1":"iD"},S:{"1":"jD kD"}},B:6,C:"Ogg Vorbis audio format",D:true}; diff --git a/node_modules/caniuse-lite/data/features/ogv.js b/node_modules/caniuse-lite/data/features/ogv.js index f475167122..a7a00b88f5 100644 --- a/node_modules/caniuse-lite/data/features/ogv.js +++ b/node_modules/caniuse-lite/data/features/ogv.js @@ -1 +1 @@ -module.exports={A:{A:{"2":"K D E aC","8":"F A B"},B:{"1":"0 1 2 3 4 5 6 7 8 9 O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB","8":"C L M G N","194":"BB CB DB EB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC dC eC","2":"bC DC"},D:{"1":"0 1 2 3 4 5 6 7 8 J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t","194":"9 AB BB CB DB EB I 6B HC IC"},E:{"2":"J FB K D E F A B C L M G fC JC gC hC iC jC KC 7B 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC"},F:{"1":"B C G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t sC tC 7B YC uC 8B","2":"F qC rC"},G:{"2":"E JC vC ZC wC xC yC zC 0C 1C 2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC"},H:{"2":"HD"},I:{"2":"DC J I ID JD KD LD ZC MD ND"},J:{"2":"D A"},K:{"2":"A B C H 7B YC 8B"},L:{"2":"I"},M:{"1":"6B"},N:{"8":"A B"},O:{"1":"9B"},P:{"2":"J u v w x y z OD PD QD RD SD KC TD UD VD WD XD AC BC CC YD"},Q:{"1":"ZD"},R:{"2":"aD"},S:{"1":"bD cD"}},B:6,C:"Ogg/Theora video format",D:true}; +module.exports={A:{A:{"2":"K D E gC","8":"F A B"},B:{"1":"5 6 7 8 9 O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB","8":"C L M G N","194":"CB DB EB FB GB HB IB JB KB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB jC kC","2":"hC IC KB I BC MC NC iC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x","194":"AB BB CB DB EB FB GB HB IB JB KB I BC MC NC"},E:{"2":"J LB K D E F A B C L M G lC OC mC nC oC pC PC CC DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC"},F:{"1":"0 1 2 3 4 B C G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o zC 0C CC eC 1C DC","2":"F xC yC","194":"p q r s t u v w x"},G:{"2":"E OC 2C fC 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC"},H:{"2":"PD"},I:{"2":"IC J I QD RD SD TD fC UD VD"},J:{"2":"D A"},K:{"2":"A B C H CC eC DC"},L:{"2":"I"},M:{"1":"BC"},N:{"8":"A B"},O:{"1":"EC"},P:{"2":"0 1 2 3 4 J y z WD XD YD ZD aD PC bD cD dD eD fD FC GC HC gD"},Q:{"1":"hD"},R:{"2":"iD"},S:{"1":"jD kD"}},B:6,C:"Ogg/Theora video format",D:true}; diff --git a/node_modules/caniuse-lite/data/features/ol-reversed.js b/node_modules/caniuse-lite/data/features/ol-reversed.js index c535dbf19c..ca2c77a736 100644 --- a/node_modules/caniuse-lite/data/features/ol-reversed.js +++ b/node_modules/caniuse-lite/data/features/ol-reversed.js @@ -1 +1 @@ -module.exports={A:{A:{"2":"K D E F A B aC"},B:{"1":"0 1 2 3 4 5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I","2":"C L M G N O P"},C:{"1":"0 1 2 3 4 5 6 7 8 9 P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC","2":"bC DC J FB K D E F A B C L M G N O dC eC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC","2":"J FB K D E F A B C L M G","16":"N O P GB"},E:{"1":"D E F A B C L M G hC iC jC KC 7B 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC","2":"J FB fC JC gC","16":"K"},F:{"1":"G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t 8B","2":"F B qC rC sC tC 7B YC uC","16":"C"},G:{"1":"E xC yC zC 0C 1C 2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC","2":"JC vC ZC wC"},H:{"1":"HD"},I:{"1":"I MD ND","2":"DC J ID JD KD LD ZC"},J:{"1":"A","2":"D"},K:{"1":"H","2":"A B C 7B YC 8B"},L:{"1":"I"},M:{"1":"6B"},N:{"2":"A B"},O:{"1":"9B"},P:{"1":"J u v w x y z OD PD QD RD SD KC TD UD VD WD XD AC BC CC YD"},Q:{"1":"ZD"},R:{"1":"aD"},S:{"1":"bD cD"}},B:1,C:"Reversed attribute of ordered lists",D:true}; +module.exports={A:{A:{"2":"K D E F A B gC"},B:{"1":"5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I","2":"C L M G N O P"},C:{"1":"0 1 2 3 4 5 6 7 8 9 P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC","2":"hC IC J LB K D E F A B C L M G N O jC kC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC","2":"J LB K D E F A B C L M G","16":"N O P MB"},E:{"1":"D E F A B C L M G nC oC pC PC CC DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC","2":"J LB lC OC mC","16":"K"},F:{"1":"0 1 2 3 4 G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x DC","2":"F B xC yC zC 0C CC eC 1C","16":"C"},G:{"1":"E 4C 5C 6C 7C 8C 9C AD BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC","2":"OC 2C fC 3C"},H:{"1":"PD"},I:{"1":"I UD VD","2":"IC J QD RD SD TD fC"},J:{"1":"A","2":"D"},K:{"1":"H","2":"A B C CC eC DC"},L:{"1":"I"},M:{"1":"BC"},N:{"2":"A B"},O:{"1":"EC"},P:{"1":"0 1 2 3 4 J y z WD XD YD ZD aD PC bD cD dD eD fD FC GC HC gD"},Q:{"1":"hD"},R:{"1":"iD"},S:{"1":"jD kD"}},B:1,C:"Reversed attribute of ordered lists",D:true}; diff --git a/node_modules/caniuse-lite/data/features/once-event-listener.js b/node_modules/caniuse-lite/data/features/once-event-listener.js index 8d2a9072d8..823a542945 100644 --- a/node_modules/caniuse-lite/data/features/once-event-listener.js +++ b/node_modules/caniuse-lite/data/features/once-event-listener.js @@ -1 +1 @@ -module.exports={A:{A:{"2":"K D E F A B aC"},B:{"1":"0 1 2 3 4 5 6 7 8 9 N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I","2":"C L M G"},C:{"1":"0 1 2 3 4 5 6 7 8 9 fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC","2":"bC DC J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB dC eC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC","2":"J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB"},E:{"1":"A B C L M G KC 7B 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC","2":"J FB K D E F fC JC gC hC iC jC"},F:{"1":"XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t","2":"F B C G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB qC rC sC tC 7B YC uC 8B"},G:{"1":"2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC","2":"E JC vC ZC wC xC yC zC 0C 1C"},H:{"2":"HD"},I:{"1":"I","2":"DC J ID JD KD LD ZC MD ND"},J:{"2":"D A"},K:{"1":"H","2":"A B C 7B YC 8B"},L:{"1":"I"},M:{"1":"6B"},N:{"2":"A B"},O:{"1":"9B"},P:{"1":"u v w x y z PD QD RD SD KC TD UD VD WD XD AC BC CC YD","2":"J OD"},Q:{"1":"ZD"},R:{"1":"aD"},S:{"1":"cD","2":"bD"}},B:1,C:"\"once\" event listener option",D:true}; +module.exports={A:{A:{"2":"K D E F A B gC"},B:{"1":"5 6 7 8 9 N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I","2":"C L M G"},C:{"1":"5 6 7 8 9 kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC","2":"0 1 2 3 4 hC IC J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB jC kC"},D:{"1":"5 6 7 8 9 pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC","2":"0 1 2 3 4 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB"},E:{"1":"A B C L M G PC CC DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC","2":"J LB K D E F lC OC mC nC oC pC"},F:{"1":"cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x","2":"0 1 2 3 4 F B C G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB xC yC zC 0C CC eC 1C DC"},G:{"1":"9C AD BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC","2":"E OC 2C fC 3C 4C 5C 6C 7C 8C"},H:{"2":"PD"},I:{"1":"I","2":"IC J QD RD SD TD fC UD VD"},J:{"2":"D A"},K:{"1":"H","2":"A B C CC eC DC"},L:{"1":"I"},M:{"1":"BC"},N:{"2":"A B"},O:{"1":"EC"},P:{"1":"0 1 2 3 4 y z XD YD ZD aD PC bD cD dD eD fD FC GC HC gD","2":"J WD"},Q:{"1":"hD"},R:{"1":"iD"},S:{"1":"kD","2":"jD"}},B:1,C:"\"once\" event listener option",D:true}; diff --git a/node_modules/caniuse-lite/data/features/online-status.js b/node_modules/caniuse-lite/data/features/online-status.js index 8d5f1bdfc3..e6868074c6 100644 --- a/node_modules/caniuse-lite/data/features/online-status.js +++ b/node_modules/caniuse-lite/data/features/online-status.js @@ -1 +1 @@ -module.exports={A:{A:{"1":"F A B","2":"K D aC","260":"E"},B:{"1":"0 1 2 3 4 5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC dC eC","2":"bC DC","516":"J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB"},D:{"1":"0 1 2 3 4 5 6 7 8 9 M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC","2":"J FB K D E F A B C L"},E:{"1":"FB K E F A B C L M G gC hC iC jC KC 7B 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC","2":"J fC JC","1025":"D"},F:{"1":"G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t","2":"F B C qC rC sC tC 7B YC uC","4":"8B"},G:{"1":"E ZC wC xC zC 0C 1C 2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC","16":"JC vC","1025":"yC"},H:{"2":"HD"},I:{"1":"DC J I KD LD ZC MD ND","16":"ID JD"},J:{"1":"A","132":"D"},K:{"1":"H","2":"A B C 7B YC 8B"},L:{"1":"I"},M:{"1":"6B"},N:{"1":"A B"},O:{"1":"9B"},P:{"1":"J u v w x y z OD PD QD RD SD KC TD UD VD WD XD AC BC CC YD"},Q:{"1":"ZD"},R:{"1":"aD"},S:{"1":"bD cD"}},B:1,C:"Online/offline status",D:true}; +module.exports={A:{A:{"1":"F A B","2":"K D gC","260":"E"},B:{"1":"5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I"},C:{"1":"5 6 7 8 9 bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC jC kC","2":"hC IC","516":"0 1 2 3 4 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB"},D:{"1":"0 1 2 3 4 5 6 7 8 9 M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC","2":"J LB K D E F A B C L"},E:{"1":"LB K E F A B C L M G mC nC oC pC PC CC DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC","2":"J lC OC","1025":"D"},F:{"1":"0 1 2 3 4 G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x","2":"F B C xC yC zC 0C CC eC 1C","4":"DC"},G:{"1":"E fC 3C 4C 6C 7C 8C 9C AD BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC","16":"OC 2C","1025":"5C"},H:{"2":"PD"},I:{"1":"IC J I SD TD fC UD VD","16":"QD RD"},J:{"1":"A","132":"D"},K:{"1":"H","2":"A B C CC eC DC"},L:{"1":"I"},M:{"1":"BC"},N:{"1":"A B"},O:{"1":"EC"},P:{"1":"0 1 2 3 4 J y z WD XD YD ZD aD PC bD cD dD eD fD FC GC HC gD"},Q:{"1":"hD"},R:{"1":"iD"},S:{"1":"jD kD"}},B:1,C:"Online/offline status",D:true}; diff --git a/node_modules/caniuse-lite/data/features/opus.js b/node_modules/caniuse-lite/data/features/opus.js index 18795084be..46da59fe0d 100644 --- a/node_modules/caniuse-lite/data/features/opus.js +++ b/node_modules/caniuse-lite/data/features/opus.js @@ -1 +1 @@ -module.exports={A:{A:{"2":"K D E F A B aC"},B:{"1":"0 1 2 3 4 5 6 7 8 9 M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I","2":"C L"},C:{"1":"0 1 2 3 4 5 6 7 8 9 G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC","2":"bC DC J FB K D E F A B C L M dC eC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC","2":"J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB"},E:{"2":"J FB K D E F A fC JC gC hC iC jC KC","132":"B C L M G 7B 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC","260":"VC","516":"WC XC CC pC"},F:{"1":"u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t","2":"F B C G N O P GB qC rC sC tC 7B YC uC 8B"},G:{"2":"E JC vC ZC wC xC yC zC 0C 1C 2C 3C","132":"4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC","260":"VC","516":"WC XC CC"},H:{"2":"HD"},I:{"1":"I","2":"DC J ID JD KD LD ZC MD ND"},J:{"2":"D A"},K:{"1":"H","2":"A B C 7B YC 8B"},L:{"1":"I"},M:{"1":"6B"},N:{"2":"A B"},O:{"1":"9B"},P:{"1":"u v w x y z OD PD QD RD SD KC TD UD VD WD XD AC BC CC YD","2":"J"},Q:{"1":"ZD"},R:{"1":"aD"},S:{"1":"bD cD"}},B:6,C:"Opus audio format",D:true}; +module.exports={A:{A:{"2":"K D E F A B gC"},B:{"1":"5 6 7 8 9 M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I","2":"C L"},C:{"1":"0 1 2 3 4 5 6 7 8 9 G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC","2":"hC IC J LB K D E F A B C L M jC kC"},D:{"1":"5 6 7 8 9 TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC","2":"0 1 2 3 4 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB"},E:{"2":"J LB K D E F A lC OC mC nC oC pC PC","132":"B C L M G CC DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC","260":"aC","516":"bC vC HC cC dC wC"},F:{"1":"0 1 2 3 4 y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x","2":"F B C G N O P MB xC yC zC 0C CC eC 1C DC"},G:{"2":"E OC 2C fC 3C 4C 5C 6C 7C 8C 9C AD","132":"BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC","260":"aC","516":"bC OD HC cC dC"},H:{"2":"PD"},I:{"1":"I","2":"IC J QD RD SD TD fC UD VD"},J:{"2":"D A"},K:{"1":"H","2":"A B C CC eC DC"},L:{"1":"I"},M:{"1":"BC"},N:{"2":"A B"},O:{"1":"EC"},P:{"1":"0 1 2 3 4 y z WD XD YD ZD aD PC bD cD dD eD fD FC GC HC gD","2":"J"},Q:{"1":"hD"},R:{"1":"iD"},S:{"1":"jD kD"}},B:6,C:"Opus audio format",D:true}; diff --git a/node_modules/caniuse-lite/data/features/orientation-sensor.js b/node_modules/caniuse-lite/data/features/orientation-sensor.js index 7718ef447d..f203417acc 100644 --- a/node_modules/caniuse-lite/data/features/orientation-sensor.js +++ b/node_modules/caniuse-lite/data/features/orientation-sensor.js @@ -1 +1 @@ -module.exports={A:{A:{"2":"K D E F A B aC"},B:{"1":"0 1 2 3 4 5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I","2":"C L M G N O P"},C:{"2":"0 1 2 3 4 5 6 7 8 9 bC DC J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC dC eC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC","2":"J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB","194":"nB EC oB FC pB qB rB sB tB"},E:{"2":"J FB K D E F A B C L M G fC JC gC hC iC jC KC 7B 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC"},F:{"1":"jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t","2":"F B C G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB qC rC sC tC 7B YC uC 8B"},G:{"2":"E JC vC ZC wC xC yC zC 0C 1C 2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC"},H:{"2":"HD"},I:{"1":"I","2":"DC J ID JD KD LD ZC MD ND"},J:{"2":"D A"},K:{"1":"H","2":"A B C 7B YC 8B"},L:{"1":"I"},M:{"2":"6B"},N:{"2":"A B"},O:{"1":"9B"},P:{"2":"J u v w x y z OD PD QD RD SD KC TD UD VD WD XD AC BC CC YD"},Q:{"1":"ZD"},R:{"1":"aD"},S:{"2":"bD cD"}},B:4,C:"Orientation Sensor",D:true}; +module.exports={A:{A:{"2":"K D E F A B gC"},B:{"1":"5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I","2":"C L M G N O P"},C:{"2":"0 1 2 3 4 5 6 7 8 9 hC IC J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC jC kC"},D:{"1":"5 6 7 8 9 zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC","2":"0 1 2 3 4 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB","194":"sB JC tB KC uB vB wB xB yB"},E:{"2":"J LB K D E F A B C L M G lC OC mC nC oC pC PC CC DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC"},F:{"1":"oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x","2":"0 1 2 3 4 F B C G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB xC yC zC 0C CC eC 1C DC"},G:{"2":"E OC 2C fC 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC"},H:{"2":"PD"},I:{"1":"I","2":"IC J QD RD SD TD fC UD VD"},J:{"2":"D A"},K:{"1":"H","2":"A B C CC eC DC"},L:{"1":"I"},M:{"2":"BC"},N:{"2":"A B"},O:{"1":"EC"},P:{"2":"0 1 2 3 4 J y z WD XD YD ZD aD PC bD cD dD eD fD FC GC HC gD"},Q:{"1":"hD"},R:{"1":"iD"},S:{"2":"jD kD"}},B:4,C:"Orientation Sensor",D:true}; diff --git a/node_modules/caniuse-lite/data/features/outline.js b/node_modules/caniuse-lite/data/features/outline.js index 8a68902de7..194191a9b5 100644 --- a/node_modules/caniuse-lite/data/features/outline.js +++ b/node_modules/caniuse-lite/data/features/outline.js @@ -1 +1 @@ -module.exports={A:{A:{"2":"K D aC","260":"E","388":"F A B"},B:{"1":"0 1 2 3 4 5 6 7 8 9 G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I","388":"C L M"},C:{"1":"0 1 2 3 4 5 6 7 8 9 bC DC J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC dC eC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC"},E:{"1":"J FB K D E F A B C L M G fC JC gC hC iC jC KC 7B 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC"},F:{"1":"C G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t uC","129":"8B","260":"F B qC rC sC tC 7B YC"},G:{"1":"E JC vC ZC wC xC yC zC 0C 1C 2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC"},H:{"2":"HD"},I:{"1":"DC J I ID JD KD LD ZC MD ND"},J:{"1":"D A"},K:{"1":"C H 8B","260":"A B 7B YC"},L:{"1":"I"},M:{"1":"6B"},N:{"388":"A B"},O:{"1":"9B"},P:{"1":"J u v w x y z OD PD QD RD SD KC TD UD VD WD XD AC BC CC YD"},Q:{"1":"ZD"},R:{"1":"aD"},S:{"1":"bD cD"}},B:4,C:"CSS outline properties",D:true}; +module.exports={A:{A:{"2":"K D gC","260":"E","388":"F A B"},B:{"1":"5 6 7 8 9 G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I","388":"C L M"},C:{"1":"0 1 2 3 4 5 6 7 8 9 hC IC J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC jC kC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC"},E:{"1":"J LB K D E F A B C L M G lC OC mC nC oC pC PC CC DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC"},F:{"1":"0 1 2 3 4 C G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x 1C","129":"DC","260":"F B xC yC zC 0C CC eC"},G:{"1":"E OC 2C fC 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC"},H:{"2":"PD"},I:{"1":"IC J I QD RD SD TD fC UD VD"},J:{"1":"D A"},K:{"1":"C H DC","260":"A B CC eC"},L:{"1":"I"},M:{"1":"BC"},N:{"388":"A B"},O:{"1":"EC"},P:{"1":"0 1 2 3 4 J y z WD XD YD ZD aD PC bD cD dD eD fD FC GC HC gD"},Q:{"1":"hD"},R:{"1":"iD"},S:{"1":"jD kD"}},B:4,C:"CSS outline properties",D:true}; diff --git a/node_modules/caniuse-lite/data/features/pad-start-end.js b/node_modules/caniuse-lite/data/features/pad-start-end.js index 51f4a78479..44580d7b93 100644 --- a/node_modules/caniuse-lite/data/features/pad-start-end.js +++ b/node_modules/caniuse-lite/data/features/pad-start-end.js @@ -1 +1 @@ -module.exports={A:{A:{"2":"K D E F A B aC"},B:{"1":"0 1 2 3 4 5 6 7 8 9 G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I","2":"C L M"},C:{"1":"0 1 2 3 4 5 6 7 8 9 dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC","2":"bC DC J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dC eC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC","2":"J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB"},E:{"1":"A B C L M G KC 7B 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC","2":"J FB K D E F fC JC gC hC iC jC"},F:{"1":"ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t","2":"F B C G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB qC rC sC tC 7B YC uC 8B"},G:{"1":"2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC","2":"E JC vC ZC wC xC yC zC 0C 1C"},H:{"2":"HD"},I:{"1":"I","2":"DC J ID JD KD LD ZC MD ND"},J:{"2":"D A"},K:{"1":"H","2":"A B C 7B YC 8B"},L:{"1":"I"},M:{"1":"6B"},N:{"2":"A B"},O:{"1":"9B"},P:{"1":"u v w x y z QD RD SD KC TD UD VD WD XD AC BC CC YD","2":"J OD PD"},Q:{"1":"ZD"},R:{"1":"aD"},S:{"1":"bD cD"}},B:6,C:"String.prototype.padStart(), String.prototype.padEnd()",D:true}; +module.exports={A:{A:{"2":"K D E F A B gC"},B:{"1":"5 6 7 8 9 G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I","2":"C L M"},C:{"1":"5 6 7 8 9 iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC","2":"0 1 2 3 4 hC IC J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB jC kC"},D:{"1":"5 6 7 8 9 rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC","2":"0 1 2 3 4 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB"},E:{"1":"A B C L M G PC CC DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC","2":"J LB K D E F lC OC mC nC oC pC"},F:{"1":"eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x","2":"0 1 2 3 4 F B C G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB xC yC zC 0C CC eC 1C DC"},G:{"1":"9C AD BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC","2":"E OC 2C fC 3C 4C 5C 6C 7C 8C"},H:{"2":"PD"},I:{"1":"I","2":"IC J QD RD SD TD fC UD VD"},J:{"2":"D A"},K:{"1":"H","2":"A B C CC eC DC"},L:{"1":"I"},M:{"1":"BC"},N:{"2":"A B"},O:{"1":"EC"},P:{"1":"0 1 2 3 4 y z YD ZD aD PC bD cD dD eD fD FC GC HC gD","2":"J WD XD"},Q:{"1":"hD"},R:{"1":"iD"},S:{"1":"jD kD"}},B:6,C:"String.prototype.padStart(), String.prototype.padEnd()",D:true}; diff --git a/node_modules/caniuse-lite/data/features/page-transition-events.js b/node_modules/caniuse-lite/data/features/page-transition-events.js index 693d521042..2f8e879504 100644 --- a/node_modules/caniuse-lite/data/features/page-transition-events.js +++ b/node_modules/caniuse-lite/data/features/page-transition-events.js @@ -1 +1 @@ -module.exports={A:{A:{"1":"B","2":"K D E F A aC"},B:{"1":"0 1 2 3 4 5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 bC DC J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC dC eC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC"},E:{"1":"FB K D E F A B C L M G gC hC iC jC KC 7B 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC","2":"J fC JC"},F:{"1":"G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t","2":"F B C qC rC sC tC 7B YC uC 8B"},G:{"1":"E wC xC yC zC 0C 1C 2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC","16":"JC vC ZC"},H:{"2":"HD"},I:{"1":"DC J I KD LD ZC MD ND","16":"ID JD"},J:{"1":"D A"},K:{"1":"H","2":"A B C 7B YC 8B"},L:{"1":"I"},M:{"1":"6B"},N:{"1":"B","2":"A"},O:{"1":"9B"},P:{"1":"J u v w x y z OD PD QD RD SD KC TD UD VD WD XD AC BC CC YD"},Q:{"1":"ZD"},R:{"1":"aD"},S:{"1":"bD cD"}},B:1,C:"PageTransitionEvent",D:true}; +module.exports={A:{A:{"1":"B","2":"K D E F A gC"},B:{"1":"5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 hC IC J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC jC kC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC"},E:{"1":"LB K D E F A B C L M G mC nC oC pC PC CC DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC","2":"J lC OC"},F:{"1":"0 1 2 3 4 G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x","2":"F B C xC yC zC 0C CC eC 1C DC"},G:{"1":"E 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC","16":"OC 2C fC"},H:{"2":"PD"},I:{"1":"IC J I SD TD fC UD VD","16":"QD RD"},J:{"1":"D A"},K:{"1":"H","2":"A B C CC eC DC"},L:{"1":"I"},M:{"1":"BC"},N:{"1":"B","2":"A"},O:{"1":"EC"},P:{"1":"0 1 2 3 4 J y z WD XD YD ZD aD PC bD cD dD eD fD FC GC HC gD"},Q:{"1":"hD"},R:{"1":"iD"},S:{"1":"jD kD"}},B:1,C:"PageTransitionEvent",D:true}; diff --git a/node_modules/caniuse-lite/data/features/pagevisibility.js b/node_modules/caniuse-lite/data/features/pagevisibility.js index 829c9ea1de..654dcda3b0 100644 --- a/node_modules/caniuse-lite/data/features/pagevisibility.js +++ b/node_modules/caniuse-lite/data/features/pagevisibility.js @@ -1 +1 @@ -module.exports={A:{A:{"1":"A B","2":"K D E F aC"},B:{"1":"0 1 2 3 4 5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC","2":"bC DC J FB K D E F dC eC","33":"A B C L M G N O"},D:{"1":"0 1 2 3 4 5 6 7 8 9 OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC","2":"J FB K D E F A B C L","33":"M G N O P GB u v w x y z HB IB JB KB LB MB NB"},E:{"1":"D E F A B C L M G hC iC jC KC 7B 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC","2":"J FB K fC JC gC"},F:{"1":"u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t 8B","2":"F B C qC rC sC tC 7B YC uC","33":"G N O P GB"},G:{"1":"E yC zC 0C 1C 2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC","2":"JC vC ZC wC xC"},H:{"2":"HD"},I:{"1":"I","2":"DC J ID JD KD LD ZC","33":"MD ND"},J:{"1":"A","2":"D"},K:{"1":"H 8B","2":"A B C 7B YC"},L:{"1":"I"},M:{"1":"6B"},N:{"1":"A B"},O:{"1":"9B"},P:{"1":"u v w x y z OD PD QD RD SD KC TD UD VD WD XD AC BC CC YD","33":"J"},Q:{"1":"ZD"},R:{"1":"aD"},S:{"1":"bD cD"}},B:2,C:"Page Visibility",D:true}; +module.exports={A:{A:{"1":"A B","2":"K D E F gC"},B:{"1":"5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC","2":"hC IC J LB K D E F jC kC","33":"A B C L M G N O"},D:{"1":"5 6 7 8 9 TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC","2":"J LB K D E F A B C L","33":"0 1 2 3 4 M G N O P MB y z NB OB PB QB RB SB"},E:{"1":"D E F A B C L M G nC oC pC PC CC DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC","2":"J LB K lC OC mC"},F:{"1":"0 1 2 3 4 y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x DC","2":"F B C xC yC zC 0C CC eC 1C","33":"G N O P MB"},G:{"1":"E 5C 6C 7C 8C 9C AD BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC","2":"OC 2C fC 3C 4C"},H:{"2":"PD"},I:{"1":"I","2":"IC J QD RD SD TD fC","33":"UD VD"},J:{"1":"A","2":"D"},K:{"1":"H DC","2":"A B C CC eC"},L:{"1":"I"},M:{"1":"BC"},N:{"1":"A B"},O:{"1":"EC"},P:{"1":"0 1 2 3 4 y z WD XD YD ZD aD PC bD cD dD eD fD FC GC HC gD","33":"J"},Q:{"1":"hD"},R:{"1":"iD"},S:{"1":"jD kD"}},B:2,C:"Page Visibility",D:true}; diff --git a/node_modules/caniuse-lite/data/features/passive-event-listener.js b/node_modules/caniuse-lite/data/features/passive-event-listener.js index 7f8cba3205..9a4a220337 100644 --- a/node_modules/caniuse-lite/data/features/passive-event-listener.js +++ b/node_modules/caniuse-lite/data/features/passive-event-listener.js @@ -1 +1 @@ -module.exports={A:{A:{"2":"K D E F A B aC"},B:{"1":"0 1 2 3 4 5 6 7 8 9 N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I","2":"C L M G"},C:{"1":"0 1 2 3 4 5 6 7 8 9 eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC","2":"bC DC J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB dC eC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC","2":"J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB"},E:{"1":"A B C L M G KC 7B 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC","2":"J FB K D E F fC JC gC hC iC jC"},F:{"1":"TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t","2":"F B C G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB qC rC sC tC 7B YC uC 8B"},G:{"1":"2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC","2":"E JC vC ZC wC xC yC zC 0C 1C"},H:{"2":"HD"},I:{"1":"I","2":"DC J ID JD KD LD ZC MD ND"},J:{"2":"D A"},K:{"1":"H","2":"A B C 7B YC 8B"},L:{"1":"I"},M:{"1":"6B"},N:{"2":"A B"},O:{"1":"9B"},P:{"1":"u v w x y z OD PD QD RD SD KC TD UD VD WD XD AC BC CC YD","2":"J"},Q:{"1":"ZD"},R:{"1":"aD"},S:{"1":"cD","2":"bD"}},B:1,C:"Passive event listeners",D:true}; +module.exports={A:{A:{"2":"K D E F A B gC"},B:{"1":"5 6 7 8 9 N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I","2":"C L M G"},C:{"1":"5 6 7 8 9 jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC","2":"0 1 2 3 4 hC IC J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jC kC"},D:{"1":"5 6 7 8 9 lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC","2":"0 1 2 3 4 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB"},E:{"1":"A B C L M G PC CC DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC","2":"J LB K D E F lC OC mC nC oC pC"},F:{"1":"YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x","2":"0 1 2 3 4 F B C G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB xC yC zC 0C CC eC 1C DC"},G:{"1":"9C AD BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC","2":"E OC 2C fC 3C 4C 5C 6C 7C 8C"},H:{"2":"PD"},I:{"1":"I","2":"IC J QD RD SD TD fC UD VD"},J:{"2":"D A"},K:{"1":"H","2":"A B C CC eC DC"},L:{"1":"I"},M:{"1":"BC"},N:{"2":"A B"},O:{"1":"EC"},P:{"1":"0 1 2 3 4 y z WD XD YD ZD aD PC bD cD dD eD fD FC GC HC gD","2":"J"},Q:{"1":"hD"},R:{"1":"iD"},S:{"1":"kD","2":"jD"}},B:1,C:"Passive event listeners",D:true}; diff --git a/node_modules/caniuse-lite/data/features/passkeys.js b/node_modules/caniuse-lite/data/features/passkeys.js index 6849102df8..a96910b381 100644 --- a/node_modules/caniuse-lite/data/features/passkeys.js +++ b/node_modules/caniuse-lite/data/features/passkeys.js @@ -1 +1 @@ -module.exports={A:{A:{"2":"K D E F A B aC"},B:{"1":"0 1 2 3 4 5 6 7 8 9 r s t AB BB CB DB EB I","2":"C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q"},C:{"1":"BB CB DB EB I 6B HC IC cC","2":"0 1 2 3 4 5 6 7 8 9 bC DC J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB dC eC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 r s t AB BB CB DB EB I 6B HC IC","2":"J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q"},E:{"1":"NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC","2":"J FB K D E F A B C L M G fC JC gC hC iC jC KC 7B 8B kC lC mC LC MC 9B nC AC"},F:{"1":"g h i j k l m n o p q r s t","2":"F B C G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f qC rC sC tC 7B YC uC 8B"},G:{"1":"AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC","2":"E JC vC ZC wC xC yC zC 0C 1C 2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD"},H:{"2":"HD"},I:{"2":"DC J I ID JD KD LD ZC MD ND"},J:{"2":"D A"},K:{"1":"H","2":"A B C 7B YC 8B"},L:{"1":"I"},M:{"2":"6B"},N:{"2":"A B"},O:{"2":"9B"},P:{"1":"v w x y z","2":"J OD PD QD RD SD KC TD UD VD WD XD AC BC CC YD","16":"u"},Q:{"2":"ZD"},R:{"2":"aD"},S:{"2":"bD cD"}},B:6,C:"Passkeys",D:true}; +module.exports={A:{A:{"2":"K D E F A B gC"},B:{"1":"5 6 7 8 9 r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I","2":"C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q"},C:{"1":"CB DB EB FB GB HB IB JB KB I BC MC NC iC","2":"0 1 2 3 4 5 6 7 8 9 hC IC J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB jC kC"},D:{"1":"5 6 7 8 9 r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC","2":"0 1 2 3 4 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q"},E:{"1":"SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC","2":"J LB K D E F A B C L M G lC OC mC nC oC pC PC CC DC qC rC sC QC RC EC tC FC"},F:{"1":"g h i j k l m n o p q r s t u v w x","2":"0 1 2 3 4 F B C G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f xC yC zC 0C CC eC 1C DC"},G:{"1":"FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC","2":"E OC 2C fC 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD"},H:{"2":"PD"},I:{"2":"IC J I QD RD SD TD fC UD VD"},J:{"2":"D A"},K:{"1":"H","2":"A B C CC eC DC"},L:{"1":"I"},M:{"1":"BC"},N:{"2":"A B"},O:{"2":"EC"},P:{"1":"0 1 2 3 4 z","2":"J WD XD YD ZD aD PC bD cD dD eD fD FC GC HC gD","16":"y"},Q:{"2":"hD"},R:{"2":"iD"},S:{"2":"jD kD"}},B:6,C:"Passkeys",D:true}; diff --git a/node_modules/caniuse-lite/data/features/passwordrules.js b/node_modules/caniuse-lite/data/features/passwordrules.js index 79090b6cfd..822c1f5e76 100644 --- a/node_modules/caniuse-lite/data/features/passwordrules.js +++ b/node_modules/caniuse-lite/data/features/passwordrules.js @@ -1 +1 @@ -module.exports={A:{A:{"2":"K D E F A B aC"},B:{"2":"C L M G N O P","16":"0 1 2 3 4 5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I"},C:{"2":"0 1 2 3 4 5 6 7 8 9 bC DC J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B dC eC","16":"HC IC cC"},D:{"2":"0 1 2 3 4 5 6 7 8 9 J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I","16":"6B HC IC"},E:{"1":"C L 8B","2":"J FB K D E F A B fC JC gC hC iC jC KC 7B","16":"M G kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC"},F:{"2":"F B C G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB qC rC sC tC 7B YC uC 8B","16":"iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t"},G:{"2":"E JC vC ZC wC xC yC zC 0C 1C 2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC"},H:{"16":"HD"},I:{"2":"DC J ID JD KD LD ZC MD ND","16":"I"},J:{"2":"D","16":"A"},K:{"2":"A B C 7B YC 8B","16":"H"},L:{"16":"I"},M:{"16":"6B"},N:{"2":"A","16":"B"},O:{"16":"9B"},P:{"2":"J OD PD","16":"u v w x y z QD RD SD KC TD UD VD WD XD AC BC CC YD"},Q:{"16":"ZD"},R:{"16":"aD"},S:{"2":"bD cD"}},B:1,C:"Password Rules",D:false}; +module.exports={A:{A:{"2":"K D E F A B gC"},B:{"2":"C L M G N O P","16":"5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I"},C:{"2":"0 1 2 3 4 5 6 7 8 9 hC IC J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC jC kC","16":"MC NC iC"},D:{"2":"0 1 2 3 4 5 6 7 8 9 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I","16":"BC MC NC"},E:{"1":"C L DC","2":"J LB K D E F A B lC OC mC nC oC pC PC CC","16":"M G qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC"},F:{"2":"0 1 2 3 4 F B C G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB xC yC zC 0C CC eC 1C DC","16":"nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x"},G:{"2":"E OC 2C fC 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC"},H:{"16":"PD"},I:{"2":"IC J QD RD SD TD fC UD VD","16":"I"},J:{"2":"D","16":"A"},K:{"2":"A B C CC eC DC","16":"H"},L:{"16":"I"},M:{"16":"BC"},N:{"2":"A","16":"B"},O:{"16":"EC"},P:{"2":"J WD XD","16":"0 1 2 3 4 y z YD ZD aD PC bD cD dD eD fD FC GC HC gD"},Q:{"16":"hD"},R:{"16":"iD"},S:{"2":"jD kD"}},B:1,C:"Password Rules",D:false}; diff --git a/node_modules/caniuse-lite/data/features/path2d.js b/node_modules/caniuse-lite/data/features/path2d.js index 8689f9cf81..c2af1fb155 100644 --- a/node_modules/caniuse-lite/data/features/path2d.js +++ b/node_modules/caniuse-lite/data/features/path2d.js @@ -1 +1 @@ -module.exports={A:{A:{"2":"K D E F A B aC"},B:{"1":"0 1 2 3 4 5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I","2":"C L","132":"M G N O P"},C:{"1":"0 1 2 3 4 5 6 7 8 9 dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC","2":"bC DC J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB dC eC","132":"MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB"},D:{"1":"0 1 2 3 4 5 6 7 8 9 vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC","2":"J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB","132":"RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB"},E:{"1":"A B C L M G jC KC 7B 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC","2":"J FB K D fC JC gC hC","132":"E F iC"},F:{"1":"kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t","2":"F B C G N O P GB u v w qC rC sC tC 7B YC uC 8B","132":"x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB"},G:{"1":"0C 1C 2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC","2":"JC vC ZC wC xC yC","16":"E","132":"zC"},H:{"2":"HD"},I:{"1":"I","2":"DC J ID JD KD LD ZC MD ND"},J:{"1":"A","2":"D"},K:{"1":"H","2":"A B C 7B YC 8B"},L:{"1":"I"},M:{"1":"6B"},N:{"2":"A B"},O:{"1":"9B"},P:{"1":"u v w x y z KC TD UD VD WD XD AC BC CC YD","132":"J OD PD QD RD SD"},Q:{"1":"ZD"},R:{"1":"aD"},S:{"1":"bD cD"}},B:1,C:"Path2D",D:true}; +module.exports={A:{A:{"2":"K D E F A B gC"},B:{"1":"5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I","2":"C L","132":"M G N O P"},C:{"1":"5 6 7 8 9 iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC","2":"0 1 2 3 4 hC IC J LB K D E F A B C L M G N O P MB y z NB OB PB QB jC kC","132":"RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB"},D:{"1":"5 6 7 8 9 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC","2":"0 1 2 3 4 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB","132":"WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB"},E:{"1":"A B C L M G pC PC CC DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC","2":"J LB K D lC OC mC nC","132":"E F oC"},F:{"1":"pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x","2":"0 F B C G N O P MB y z xC yC zC 0C CC eC 1C DC","132":"1 2 3 4 NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB"},G:{"1":"7C 8C 9C AD BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC","2":"OC 2C fC 3C 4C 5C","16":"E","132":"6C"},H:{"2":"PD"},I:{"1":"I","2":"IC J QD RD SD TD fC UD VD"},J:{"1":"A","2":"D"},K:{"1":"H","2":"A B C CC eC DC"},L:{"1":"I"},M:{"1":"BC"},N:{"2":"A B"},O:{"1":"EC"},P:{"1":"0 1 2 3 4 y z PC bD cD dD eD fD FC GC HC gD","132":"J WD XD YD ZD aD"},Q:{"1":"hD"},R:{"1":"iD"},S:{"1":"jD kD"}},B:1,C:"Path2D",D:true}; diff --git a/node_modules/caniuse-lite/data/features/payment-request.js b/node_modules/caniuse-lite/data/features/payment-request.js index c6ef30fad5..3578d6e966 100644 --- a/node_modules/caniuse-lite/data/features/payment-request.js +++ b/node_modules/caniuse-lite/data/features/payment-request.js @@ -1 +1 @@ -module.exports={A:{A:{"2":"K D E F A B aC"},B:{"1":"0 1 2 3 4 5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I","2":"C L","322":"M","8196":"G N O P"},C:{"2":"bC DC J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB dC eC","4162":"kB lB mB nB EC oB FC pB qB rB sB","16452":"0 1 2 3 4 5 6 7 8 9 tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC","2":"J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB","194":"iB jB kB lB mB nB","1090":"EC oB","8196":"FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B"},E:{"1":"L M G 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC","2":"J FB K D E F fC JC gC hC iC jC","514":"A B KC","8196":"C 7B"},F:{"1":"tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t","2":"F B C G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB qC rC sC tC 7B YC uC 8B","194":"VB WB XB YB ZB aB bB cB","8196":"dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB"},G:{"1":"7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC","2":"E JC vC ZC wC xC yC zC 0C 1C","514":"2C 3C 4C","8196":"5C 6C"},H:{"2":"HD"},I:{"2":"DC J I ID JD KD LD ZC MD ND"},J:{"2":"D A"},K:{"1":"H","2":"A B C 7B YC 8B"},L:{"2049":"I"},M:{"2":"6B"},N:{"2":"A B"},O:{"2":"9B"},P:{"1":"u v w x y z UD VD WD XD AC BC CC YD","2":"J","8196":"OD PD QD RD SD KC TD"},Q:{"8196":"ZD"},R:{"2":"aD"},S:{"2":"bD cD"}},B:2,C:"Payment Request API",D:true}; +module.exports={A:{A:{"2":"K D E F A B gC"},B:{"1":"5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I","2":"C L","322":"M","8196":"G N O P"},C:{"2":"0 1 2 3 4 hC IC J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB jC kC","4162":"pB qB rB sB JC tB KC uB vB wB xB","16452":"5 6 7 8 9 yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC"},D:{"1":"5 6 7 8 9 AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC","2":"0 1 2 3 4 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB","194":"nB oB pB qB rB sB","1090":"JC tB","8196":"KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B"},E:{"1":"L M G DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC","2":"J LB K D E F lC OC mC nC oC pC","514":"A B PC","8196":"C CC"},F:{"1":"yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x","2":"0 1 2 3 4 F B C G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB xC yC zC 0C CC eC 1C DC","194":"aB bB cB dB eB fB gB hB","8196":"iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB"},G:{"1":"ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC","2":"E OC 2C fC 3C 4C 5C 6C 7C 8C","514":"9C AD BD","8196":"CD DD"},H:{"2":"PD"},I:{"2":"IC J I QD RD SD TD fC UD VD"},J:{"2":"D A"},K:{"1":"H","2":"A B C CC eC DC"},L:{"2049":"I"},M:{"2":"BC"},N:{"2":"A B"},O:{"2":"EC"},P:{"1":"0 1 2 3 4 y z cD dD eD fD FC GC HC gD","2":"J","8196":"WD XD YD ZD aD PC bD"},Q:{"8196":"hD"},R:{"2":"iD"},S:{"2":"jD kD"}},B:2,C:"Payment Request API",D:true}; diff --git a/node_modules/caniuse-lite/data/features/pdf-viewer.js b/node_modules/caniuse-lite/data/features/pdf-viewer.js index dc9b135710..0c3e74b311 100644 --- a/node_modules/caniuse-lite/data/features/pdf-viewer.js +++ b/node_modules/caniuse-lite/data/features/pdf-viewer.js @@ -1 +1 @@ -module.exports={A:{A:{"2":"K D E F A aC","132":"B"},B:{"1":"0 1 2 3 4 5 6 7 8 9 G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I","16":"C L M"},C:{"1":"0 1 2 3 4 5 6 7 8 9 GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC","2":"bC DC J FB K D E F A B C L M G N O P dC eC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC","16":"J FB K D E F A B C L M"},E:{"1":"J FB K D E F A B C L M G gC hC iC jC KC 7B 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC","16":"fC JC"},F:{"1":"C G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t 8B","2":"F B qC rC sC tC 7B YC uC"},G:{"1":"E JC vC ZC wC xC yC zC 0C 1C 2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC"},H:{"2":"HD"},I:{"2":"DC J I ID JD KD LD ZC MD ND"},J:{"16":"D A"},K:{"2":"A B C H 7B YC 8B"},L:{"2":"I"},M:{"2":"6B"},N:{"16":"A B"},O:{"2":"9B"},P:{"2":"J u v w x y z OD PD QD RD SD KC TD UD VD WD XD AC BC CC YD"},Q:{"1":"ZD"},R:{"2":"aD"},S:{"2":"bD cD"}},B:6,C:"Built-in PDF viewer",D:true}; +module.exports={A:{A:{"2":"K D E F A gC","132":"B"},B:{"1":"5 6 7 8 9 G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I","16":"C L M"},C:{"1":"0 1 2 3 4 5 6 7 8 9 MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC","2":"hC IC J LB K D E F A B C L M G N O P jC kC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC","16":"J LB K D E F A B C L M"},E:{"1":"J LB K D E F A B C L M G mC nC oC pC PC CC DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC","16":"lC OC"},F:{"1":"0 1 2 3 4 C G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x DC","2":"F B xC yC zC 0C CC eC 1C"},G:{"1":"E OC 2C fC 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC"},H:{"2":"PD"},I:{"2":"IC J I QD RD SD TD fC UD VD"},J:{"16":"D A"},K:{"2":"A B C H CC eC DC"},L:{"2":"I"},M:{"2":"BC"},N:{"16":"A B"},O:{"2":"EC"},P:{"2":"0 1 2 3 4 J y z WD XD YD ZD aD PC bD cD dD eD fD FC GC HC gD"},Q:{"1":"hD"},R:{"2":"iD"},S:{"2":"jD kD"}},B:6,C:"Built-in PDF viewer",D:true}; diff --git a/node_modules/caniuse-lite/data/features/permissions-api.js b/node_modules/caniuse-lite/data/features/permissions-api.js index 09167a8735..fb5949d455 100644 --- a/node_modules/caniuse-lite/data/features/permissions-api.js +++ b/node_modules/caniuse-lite/data/features/permissions-api.js @@ -1 +1 @@ -module.exports={A:{A:{"2":"K D E F A B aC"},B:{"1":"0 1 2 3 4 5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I","2":"C L M G N O P"},C:{"1":"0 1 2 3 4 5 6 7 8 9 bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC","2":"bC DC J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB dC eC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC","2":"J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB"},E:{"1":"AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC","2":"J FB K D E F A B C L M G fC JC gC hC iC jC KC 7B 8B kC lC mC LC MC 9B nC"},F:{"1":"LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t","2":"F B C G N O P GB u v w x y z HB IB JB KB qC rC sC tC 7B YC uC 8B"},G:{"1":"AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC","2":"E JC vC ZC wC xC yC zC 0C 1C 2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD"},H:{"2":"HD"},I:{"2":"DC J I ID JD KD LD ZC MD ND"},J:{"2":"D A"},K:{"1":"H","2":"A B C 7B YC 8B"},L:{"1":"I"},M:{"1":"6B"},N:{"2":"A B"},O:{"1":"9B"},P:{"1":"J u v w x y z OD PD QD RD SD KC TD UD VD WD XD AC BC CC YD"},Q:{"1":"ZD"},R:{"1":"aD"},S:{"1":"bD cD"}},B:5,C:"Permissions API",D:true}; +module.exports={A:{A:{"2":"K D E F A B gC"},B:{"1":"5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I","2":"C L M G N O P"},C:{"1":"5 6 7 8 9 gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC","2":"0 1 2 3 4 hC IC J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB jC kC"},D:{"1":"5 6 7 8 9 dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC","2":"0 1 2 3 4 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB"},E:{"1":"FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC","2":"J LB K D E F A B C L M G lC OC mC nC oC pC PC CC DC qC rC sC QC RC EC tC"},F:{"1":"QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x","2":"0 1 2 3 4 F B C G N O P MB y z NB OB PB xC yC zC 0C CC eC 1C DC"},G:{"1":"FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC","2":"E OC 2C fC 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD"},H:{"2":"PD"},I:{"2":"IC J I QD RD SD TD fC UD VD"},J:{"2":"D A"},K:{"1":"H","2":"A B C CC eC DC"},L:{"1":"I"},M:{"1":"BC"},N:{"2":"A B"},O:{"1":"EC"},P:{"1":"0 1 2 3 4 J y z WD XD YD ZD aD PC bD cD dD eD fD FC GC HC gD"},Q:{"1":"hD"},R:{"1":"iD"},S:{"1":"jD kD"}},B:5,C:"Permissions API",D:true}; diff --git a/node_modules/caniuse-lite/data/features/permissions-policy.js b/node_modules/caniuse-lite/data/features/permissions-policy.js index 6ecab5ee3c..5ce7a630de 100644 --- a/node_modules/caniuse-lite/data/features/permissions-policy.js +++ b/node_modules/caniuse-lite/data/features/permissions-policy.js @@ -1 +1 @@ -module.exports={A:{A:{"2":"K D E F A B aC"},B:{"2":"C L M G N O P","258":"Q H R S T U","322":"V W","388":"0 1 2 3 4 5 6 7 8 9 X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I"},C:{"2":"bC DC J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B dC eC","258":"0 1 2 3 4 5 6 7 8 9 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC"},D:{"2":"J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC","258":"oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U","322":"V W","388":"0 1 2 3 4 5 6 7 8 9 X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC"},E:{"2":"J FB K D E F A B fC JC gC hC iC jC KC","258":"C L M G 7B 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC"},F:{"2":"F B C G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB qC rC sC tC 7B YC uC 8B","258":"cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB","322":"zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d","388":"e f g h i j k l m n o p q r s t"},G:{"2":"E JC vC ZC wC xC yC zC 0C 1C 2C 3C 4C","258":"5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC"},H:{"2":"HD"},I:{"2":"DC J ID JD KD LD ZC MD ND","258":"I"},J:{"2":"D A"},K:{"2":"A B C 7B YC 8B","388":"H"},L:{"388":"I"},M:{"258":"6B"},N:{"2":"A B"},O:{"2":"9B"},P:{"2":"J OD PD QD","258":"u v w x y z RD SD KC TD UD VD WD XD AC BC CC YD"},Q:{"258":"ZD"},R:{"388":"aD"},S:{"2":"bD","258":"cD"}},B:5,C:"Permissions Policy",D:true}; +module.exports={A:{A:{"2":"K D E F A B gC"},B:{"2":"C L M G N O P","258":"Q H R S T U","322":"V W","388":"5 6 7 8 9 X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I"},C:{"2":"0 1 2 3 4 hC IC J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B jC kC","258":"5 6 7 8 9 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC"},D:{"2":"0 1 2 3 4 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC","258":"tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U","322":"V W","388":"5 6 7 8 9 X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC"},E:{"2":"J LB K D E F A B lC OC mC nC oC pC PC","258":"C L M G CC DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC"},F:{"2":"0 1 2 3 4 F B C G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB xC yC zC 0C CC eC 1C DC","258":"hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B","322":"4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d","388":"e f g h i j k l m n o p q r s t u v w x"},G:{"2":"E OC 2C fC 3C 4C 5C 6C 7C 8C 9C AD BD","258":"CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC"},H:{"2":"PD"},I:{"2":"IC J QD RD SD TD fC UD VD","258":"I"},J:{"2":"D A"},K:{"2":"A B C CC eC DC","388":"H"},L:{"388":"I"},M:{"258":"BC"},N:{"2":"A B"},O:{"2":"EC"},P:{"2":"J WD XD YD","258":"0 1 2 3 4 y z ZD aD PC bD cD dD eD fD FC GC HC gD"},Q:{"258":"hD"},R:{"388":"iD"},S:{"2":"jD","258":"kD"}},B:5,C:"Permissions Policy",D:true}; diff --git a/node_modules/caniuse-lite/data/features/picture-in-picture.js b/node_modules/caniuse-lite/data/features/picture-in-picture.js index c60e4da3e9..2a0f502a2f 100644 --- a/node_modules/caniuse-lite/data/features/picture-in-picture.js +++ b/node_modules/caniuse-lite/data/features/picture-in-picture.js @@ -1 +1 @@ -module.exports={A:{A:{"2":"K D E F A B aC"},B:{"1":"0 1 2 3 4 5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I","2":"C L M G N O P"},C:{"2":"bC DC J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB dC eC","132":"0 1 2 3 4 5 6 7 8 9 zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC","1090":"uB","1412":"yB","1668":"vB wB xB"},D:{"1":"0 1 2 3 4 5 6 7 8 9 xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC","2":"J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB","2114":"wB"},E:{"1":"M G kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC","2":"J FB K D E F fC JC gC hC iC jC","4100":"A B C L KC 7B 8B"},F:{"1":"0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t","2":"F B C G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB qC rC sC tC 7B YC uC 8B","8196":"SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB"},G:{"1":"CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC","2":"E JC vC ZC wC xC yC zC","4100":"0C 1C 2C 3C 4C 5C 6C 7C 8C 9C AD BD"},H:{"2":"HD"},I:{"2":"DC J I ID JD KD LD ZC MD ND"},J:{"2":"D A"},K:{"1":"H","2":"A B C 7B YC 8B"},L:{"16388":"I"},M:{"16388":"6B"},N:{"2":"A B"},O:{"2":"9B"},P:{"2":"J u v w x y z OD PD QD RD SD KC TD UD VD WD XD AC BC CC YD"},Q:{"2":"ZD"},R:{"2":"aD"},S:{"2":"bD cD"}},B:5,C:"Picture-in-Picture",D:true}; +module.exports={A:{A:{"2":"K D E F A B gC"},B:{"1":"5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I","2":"C L M G N O P"},C:{"2":"0 1 2 3 4 hC IC J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB jC kC","132":"5 6 7 8 9 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC","1090":"zB","1412":"3B","1668":"0B 1B 2B"},D:{"1":"5 6 7 8 9 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC","2":"0 1 2 3 4 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B","2114":"1B"},E:{"1":"M G qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC","2":"J LB K D E F lC OC mC nC oC pC","4100":"A B C L PC CC DC"},F:{"1":"5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x","2":"0 1 2 3 4 F B C G N O P MB y z NB OB PB QB RB SB TB UB VB WB xC yC zC 0C CC eC 1C DC","8196":"XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B"},G:{"1":"JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC","2":"E OC 2C fC 3C 4C 5C 6C","4100":"7C 8C 9C AD BD CD DD ED FD GD HD ID"},H:{"2":"PD"},I:{"2":"IC J I QD RD SD TD fC UD VD"},J:{"2":"D A"},K:{"1":"H","2":"A B C CC eC DC"},L:{"16388":"I"},M:{"16388":"BC"},N:{"2":"A B"},O:{"2":"EC"},P:{"2":"0 1 2 3 4 J y z WD XD YD ZD aD PC bD cD dD eD fD FC GC HC gD"},Q:{"2":"hD"},R:{"2":"iD"},S:{"2":"jD kD"}},B:5,C:"Picture-in-Picture",D:true}; diff --git a/node_modules/caniuse-lite/data/features/picture.js b/node_modules/caniuse-lite/data/features/picture.js index 4a61d08d46..754f349a46 100644 --- a/node_modules/caniuse-lite/data/features/picture.js +++ b/node_modules/caniuse-lite/data/features/picture.js @@ -1 +1 @@ -module.exports={A:{A:{"2":"K D E F A B aC"},B:{"1":"0 1 2 3 4 5 6 7 8 9 L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I","2":"C"},C:{"1":"0 1 2 3 4 5 6 7 8 9 TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC","2":"bC DC J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB dC eC","578":"PB QB RB SB"},D:{"1":"0 1 2 3 4 5 6 7 8 9 TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC","2":"J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB","194":"SB"},E:{"1":"A B C L M G jC KC 7B 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC","2":"J FB K D E F fC JC gC hC iC"},F:{"1":"z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t","2":"F B C G N O P GB u v w x qC rC sC tC 7B YC uC 8B","322":"y"},G:{"1":"1C 2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC","2":"E JC vC ZC wC xC yC zC 0C"},H:{"2":"HD"},I:{"1":"I","2":"DC J ID JD KD LD ZC MD ND"},J:{"2":"D A"},K:{"1":"H","2":"A B C 7B YC 8B"},L:{"1":"I"},M:{"1":"6B"},N:{"2":"A B"},O:{"1":"9B"},P:{"1":"J u v w x y z OD PD QD RD SD KC TD UD VD WD XD AC BC CC YD"},Q:{"1":"ZD"},R:{"1":"aD"},S:{"1":"bD cD"}},B:1,C:"Picture element",D:true}; +module.exports={A:{A:{"2":"K D E F A B gC"},B:{"1":"5 6 7 8 9 L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I","2":"C"},C:{"1":"5 6 7 8 9 YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC","2":"0 1 2 3 4 hC IC J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB jC kC","578":"UB VB WB XB"},D:{"1":"5 6 7 8 9 YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC","2":"0 1 2 3 4 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB","194":"XB"},E:{"1":"A B C L M G pC PC CC DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC","2":"J LB K D E F lC OC mC nC oC"},F:{"1":"3 4 NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x","2":"0 1 F B C G N O P MB y z xC yC zC 0C CC eC 1C DC","322":"2"},G:{"1":"8C 9C AD BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC","2":"E OC 2C fC 3C 4C 5C 6C 7C"},H:{"2":"PD"},I:{"1":"I","2":"IC J QD RD SD TD fC UD VD"},J:{"2":"D A"},K:{"1":"H","2":"A B C CC eC DC"},L:{"1":"I"},M:{"1":"BC"},N:{"2":"A B"},O:{"1":"EC"},P:{"1":"0 1 2 3 4 J y z WD XD YD ZD aD PC bD cD dD eD fD FC GC HC gD"},Q:{"1":"hD"},R:{"1":"iD"},S:{"1":"jD kD"}},B:1,C:"Picture element",D:true}; diff --git a/node_modules/caniuse-lite/data/features/ping.js b/node_modules/caniuse-lite/data/features/ping.js index d1334bf4d6..786e1c9bcd 100644 --- a/node_modules/caniuse-lite/data/features/ping.js +++ b/node_modules/caniuse-lite/data/features/ping.js @@ -1 +1 @@ -module.exports={A:{A:{"2":"K D E F A B aC"},B:{"1":"0 1 2 3 4 5 6 7 8 9 O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I","2":"C L M G N"},C:{"2":"bC","194":"0 1 2 3 4 5 6 7 8 9 DC J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC dC eC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC","16":"J FB K D E F A B C L M"},E:{"1":"K D E F A B C L M G hC iC jC KC 7B 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC","2":"J FB fC JC gC"},F:{"1":"G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t","2":"F B C qC rC sC tC 7B YC uC 8B"},G:{"1":"E wC xC yC zC 0C 1C 2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC","2":"JC vC ZC"},H:{"2":"HD"},I:{"1":"I MD ND","2":"DC J ID JD KD LD ZC"},J:{"2":"D A"},K:{"1":"H","2":"A B C 7B YC 8B"},L:{"1":"I"},M:{"194":"6B"},N:{"2":"A B"},O:{"1":"9B"},P:{"1":"J u v w x y z OD PD QD RD SD KC TD UD VD WD XD AC BC CC YD"},Q:{"1":"ZD"},R:{"1":"aD"},S:{"194":"bD cD"}},B:1,C:"Ping attribute",D:true}; +module.exports={A:{A:{"2":"K D E F A B gC"},B:{"1":"5 6 7 8 9 O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I","2":"C L M G N"},C:{"2":"hC","194":"0 1 2 3 4 5 6 7 8 9 IC J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC jC kC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC","16":"J LB K D E F A B C L M"},E:{"1":"K D E F A B C L M G nC oC pC PC CC DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC","2":"J LB lC OC mC"},F:{"1":"0 1 2 3 4 G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x","2":"F B C xC yC zC 0C CC eC 1C DC"},G:{"1":"E 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC","2":"OC 2C fC"},H:{"2":"PD"},I:{"1":"I UD VD","2":"IC J QD RD SD TD fC"},J:{"2":"D A"},K:{"1":"H","2":"A B C CC eC DC"},L:{"1":"I"},M:{"194":"BC"},N:{"2":"A B"},O:{"1":"EC"},P:{"1":"0 1 2 3 4 J y z WD XD YD ZD aD PC bD cD dD eD fD FC GC HC gD"},Q:{"1":"hD"},R:{"1":"iD"},S:{"194":"jD kD"}},B:1,C:"Ping attribute",D:true}; diff --git a/node_modules/caniuse-lite/data/features/png-alpha.js b/node_modules/caniuse-lite/data/features/png-alpha.js index 313aeac0c7..4d08d3a079 100644 --- a/node_modules/caniuse-lite/data/features/png-alpha.js +++ b/node_modules/caniuse-lite/data/features/png-alpha.js @@ -1 +1 @@ -module.exports={A:{A:{"1":"D E F A B","2":"aC","8":"K"},B:{"1":"0 1 2 3 4 5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 bC DC J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC dC eC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC"},E:{"1":"J FB K D E F A B C L M G fC JC gC hC iC jC KC 7B 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC"},F:{"1":"F B C G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t qC rC sC tC 7B YC uC 8B"},G:{"1":"E JC vC ZC wC xC yC zC 0C 1C 2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC"},H:{"1":"HD"},I:{"1":"DC J I ID JD KD LD ZC MD ND"},J:{"1":"D A"},K:{"1":"A B C H 7B YC 8B"},L:{"1":"I"},M:{"1":"6B"},N:{"1":"A B"},O:{"1":"9B"},P:{"1":"J u v w x y z OD PD QD RD SD KC TD UD VD WD XD AC BC CC YD"},Q:{"1":"ZD"},R:{"1":"aD"},S:{"1":"bD cD"}},B:2,C:"PNG alpha transparency",D:true}; +module.exports={A:{A:{"1":"D E F A B","2":"gC","8":"K"},B:{"1":"5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 hC IC J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC jC kC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC"},E:{"1":"J LB K D E F A B C L M G lC OC mC nC oC pC PC CC DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC"},F:{"1":"0 1 2 3 4 F B C G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x xC yC zC 0C CC eC 1C DC"},G:{"1":"E OC 2C fC 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC"},H:{"1":"PD"},I:{"1":"IC J I QD RD SD TD fC UD VD"},J:{"1":"D A"},K:{"1":"A B C H CC eC DC"},L:{"1":"I"},M:{"1":"BC"},N:{"1":"A B"},O:{"1":"EC"},P:{"1":"0 1 2 3 4 J y z WD XD YD ZD aD PC bD cD dD eD fD FC GC HC gD"},Q:{"1":"hD"},R:{"1":"iD"},S:{"1":"jD kD"}},B:2,C:"PNG alpha transparency",D:true}; diff --git a/node_modules/caniuse-lite/data/features/pointer-events.js b/node_modules/caniuse-lite/data/features/pointer-events.js index 9915af6d5c..46a2017bd2 100644 --- a/node_modules/caniuse-lite/data/features/pointer-events.js +++ b/node_modules/caniuse-lite/data/features/pointer-events.js @@ -1 +1 @@ -module.exports={A:{A:{"1":"B","2":"K D E F A aC"},B:{"1":"0 1 2 3 4 5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC eC","2":"bC DC dC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC"},E:{"1":"J FB K D E F A B C L M G gC hC iC jC KC 7B 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC","2":"fC JC"},F:{"1":"G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t","2":"F B C qC rC sC tC 7B YC uC 8B"},G:{"1":"E JC vC ZC wC xC yC zC 0C 1C 2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC"},H:{"2":"HD"},I:{"1":"DC J I ID JD KD LD ZC MD ND"},J:{"1":"D A"},K:{"1":"H","2":"A B C 7B YC 8B"},L:{"1":"I"},M:{"1":"6B"},N:{"1":"B","2":"A"},O:{"1":"9B"},P:{"1":"J u v w x y z OD PD QD RD SD KC TD UD VD WD XD AC BC CC YD"},Q:{"1":"ZD"},R:{"1":"aD"},S:{"1":"bD cD"}},B:7,C:"CSS pointer-events (for HTML)",D:true}; +module.exports={A:{A:{"1":"B","2":"K D E F A gC"},B:{"1":"5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC kC","2":"hC IC jC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC"},E:{"1":"J LB K D E F A B C L M G mC nC oC pC PC CC DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC","2":"lC OC"},F:{"1":"0 1 2 3 4 G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x","2":"F B C xC yC zC 0C CC eC 1C DC"},G:{"1":"E OC 2C fC 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC"},H:{"2":"PD"},I:{"1":"IC J I QD RD SD TD fC UD VD"},J:{"1":"D A"},K:{"1":"H","2":"A B C CC eC DC"},L:{"1":"I"},M:{"1":"BC"},N:{"1":"B","2":"A"},O:{"1":"EC"},P:{"1":"0 1 2 3 4 J y z WD XD YD ZD aD PC bD cD dD eD fD FC GC HC gD"},Q:{"1":"hD"},R:{"1":"iD"},S:{"1":"jD kD"}},B:7,C:"CSS pointer-events (for HTML)",D:true}; diff --git a/node_modules/caniuse-lite/data/features/pointer.js b/node_modules/caniuse-lite/data/features/pointer.js index 5001c4380d..974d4b528d 100644 --- a/node_modules/caniuse-lite/data/features/pointer.js +++ b/node_modules/caniuse-lite/data/features/pointer.js @@ -1 +1 @@ -module.exports={A:{A:{"1":"B","2":"K D E F aC","164":"A"},B:{"1":"0 1 2 3 4 5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC","2":"bC DC J FB dC eC","8":"K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB","328":"WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB"},D:{"1":"0 1 2 3 4 5 6 7 8 9 kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC","2":"J FB K D E F A B C L M G N O P GB u v","8":"w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB","584":"hB iB jB"},E:{"1":"L M G kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC","2":"J FB K fC JC gC","8":"D E F A B C hC iC jC KC 7B","1096":"8B"},F:{"1":"XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t","2":"F B C qC rC sC tC 7B YC uC 8B","8":"G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB","584":"UB VB WB"},G:{"1":"9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC","8":"E JC vC ZC wC xC yC zC 0C 1C 2C 3C 4C 5C 6C 7C","6148":"8C"},H:{"2":"HD"},I:{"1":"I","8":"DC J ID JD KD LD ZC MD ND"},J:{"8":"D A"},K:{"1":"H","2":"A","8":"B C 7B YC 8B"},L:{"1":"I"},M:{"1":"6B"},N:{"1":"B","36":"A"},O:{"1":"9B"},P:{"1":"u v w x y z PD QD RD SD KC TD UD VD WD XD AC BC CC YD","2":"OD","8":"J"},Q:{"1":"ZD"},R:{"1":"aD"},S:{"1":"cD","328":"bD"}},B:2,C:"Pointer events",D:true}; +module.exports={A:{A:{"1":"B","2":"K D E F gC","164":"A"},B:{"1":"5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I"},C:{"1":"5 6 7 8 9 JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC","2":"hC IC J LB jC kC","8":"0 1 2 3 4 K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB","328":"bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB"},D:{"1":"5 6 7 8 9 pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC","2":"J LB K D E F A B C L M G N O P MB y z","8":"0 1 2 3 4 NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB","584":"mB nB oB"},E:{"1":"L M G qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC","2":"J LB K lC OC mC","8":"D E F A B C nC oC pC PC CC","1096":"DC"},F:{"1":"cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x","2":"F B C xC yC zC 0C CC eC 1C DC","8":"0 1 2 3 4 G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB","584":"ZB aB bB"},G:{"1":"GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC","8":"E OC 2C fC 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED","6148":"FD"},H:{"2":"PD"},I:{"1":"I","8":"IC J QD RD SD TD fC UD VD"},J:{"8":"D A"},K:{"1":"H","2":"A","8":"B C CC eC DC"},L:{"1":"I"},M:{"1":"BC"},N:{"1":"B","36":"A"},O:{"1":"EC"},P:{"1":"0 1 2 3 4 y z XD YD ZD aD PC bD cD dD eD fD FC GC HC gD","2":"WD","8":"J"},Q:{"1":"hD"},R:{"1":"iD"},S:{"1":"kD","328":"jD"}},B:2,C:"Pointer events",D:true}; diff --git a/node_modules/caniuse-lite/data/features/pointerlock.js b/node_modules/caniuse-lite/data/features/pointerlock.js index 6c88d1aa39..c8640caa70 100644 --- a/node_modules/caniuse-lite/data/features/pointerlock.js +++ b/node_modules/caniuse-lite/data/features/pointerlock.js @@ -1 +1 @@ -module.exports={A:{A:{"2":"K D E F A B aC"},B:{"1":"0 1 2 3 4 5 6 7 8 9 L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I","2":"C"},C:{"1":"0 1 2 3 4 5 6 7 8 9 fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC","2":"bC DC J FB K D E F A B C L dC eC","33":"M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB"},D:{"1":"0 1 2 3 4 5 6 7 8 9 SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC","2":"J FB K D E F A B C L M G","33":"w x y z HB IB JB KB LB MB NB OB PB QB RB","66":"N O P GB u v"},E:{"1":"B C L M G KC 7B 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC","2":"J FB K D E F A fC JC gC hC iC jC"},F:{"1":"y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t","2":"F B C qC rC sC tC 7B YC uC 8B","33":"G N O P GB u v w x"},G:{"2":"E JC vC ZC wC xC yC zC 0C 1C 2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC"},H:{"2":"HD"},I:{"2":"DC J I ID JD KD LD ZC MD ND"},J:{"2":"D A"},K:{"2":"A B C 7B YC 8B","16":"H"},L:{"2":"I"},M:{"1":"6B"},N:{"2":"A B"},O:{"16":"9B"},P:{"2":"J u v w x y z OD PD QD RD SD KC TD UD VD WD XD AC BC CC YD"},Q:{"16":"ZD"},R:{"1":"aD"},S:{"1":"bD cD"}},B:2,C:"Pointer Lock API",D:true}; +module.exports={A:{A:{"2":"K D E F A B gC"},B:{"1":"5 6 7 8 9 L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I","2":"C"},C:{"1":"5 6 7 8 9 kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC","2":"hC IC J LB K D E F A B C L jC kC","33":"0 1 2 3 4 M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB"},D:{"1":"5 6 7 8 9 XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC","2":"J LB K D E F A B C L M G","33":"0 1 2 3 4 NB OB PB QB RB SB TB UB VB WB","66":"N O P MB y z"},E:{"1":"B C L M G PC CC DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC","2":"J LB K D E F A lC OC mC nC oC pC"},F:{"1":"2 3 4 NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x","2":"F B C xC yC zC 0C CC eC 1C DC","33":"0 1 G N O P MB y z"},G:{"2":"E OC 2C fC 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC"},H:{"2":"PD"},I:{"2":"IC J I QD RD SD TD fC UD VD"},J:{"2":"D A"},K:{"2":"A B C CC eC DC","16":"H"},L:{"2":"I"},M:{"1":"BC"},N:{"2":"A B"},O:{"16":"EC"},P:{"2":"0 1 2 3 4 J y z WD XD YD ZD aD PC bD cD dD eD fD FC GC HC gD"},Q:{"16":"hD"},R:{"1":"iD"},S:{"1":"jD kD"}},B:2,C:"Pointer Lock API",D:true}; diff --git a/node_modules/caniuse-lite/data/features/portals.js b/node_modules/caniuse-lite/data/features/portals.js index 1baf1efe73..a113adf568 100644 --- a/node_modules/caniuse-lite/data/features/portals.js +++ b/node_modules/caniuse-lite/data/features/portals.js @@ -1 +1 @@ -module.exports={A:{A:{"2":"K D E F A B aC"},B:{"2":"C L M G N O P Q H R S T","322":"0 1 2 3 4 5 6 7 8 9 Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I","450":"U V W X Y"},C:{"2":"0 1 2 3 4 5 6 7 8 9 bC DC J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC dC eC"},D:{"2":"J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B","194":"2B 3B 4B 5B Q H R S T","322":"0 1 2 3 4 5 6 7 8 9 V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC","450":"U"},E:{"2":"J FB K D E F A B C L M G fC JC gC hC iC jC KC 7B 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC"},F:{"2":"F B C G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB qC rC sC tC 7B YC uC 8B","194":"pB qB rB sB tB uB vB wB xB yB zB","322":"0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t"},G:{"2":"E JC vC ZC wC xC yC zC 0C 1C 2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC"},H:{"2":"HD"},I:{"2":"DC J I ID JD KD LD ZC MD ND"},J:{"2":"D A"},K:{"2":"A B C H 7B YC 8B"},L:{"450":"I"},M:{"2":"6B"},N:{"2":"A B"},O:{"2":"9B"},P:{"2":"J u v w x y z OD PD QD RD SD KC TD UD VD WD XD AC BC CC YD"},Q:{"2":"ZD"},R:{"2":"aD"},S:{"2":"bD cD"}},B:7,C:"Portals",D:true}; +module.exports={A:{A:{"2":"K D E F A B gC"},B:{"2":"C L M G N O P Q H R S T","322":"5 6 7 8 9 Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I","450":"U V W X Y"},C:{"2":"0 1 2 3 4 5 6 7 8 9 hC IC J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC jC kC"},D:{"2":"0 1 2 3 4 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B","194":"7B 8B 9B AC Q H R S T","322":"5 6 7 8 9 V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC","450":"U"},E:{"2":"J LB K D E F A B C L M G lC OC mC nC oC pC PC CC DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC"},F:{"2":"0 1 2 3 4 F B C G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB xC yC zC 0C CC eC 1C DC","194":"uB vB wB xB yB zB 0B 1B 2B 3B 4B","322":"5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x"},G:{"2":"E OC 2C fC 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC"},H:{"2":"PD"},I:{"2":"IC J I QD RD SD TD fC UD VD"},J:{"2":"D A"},K:{"2":"A B C H CC eC DC"},L:{"450":"I"},M:{"2":"BC"},N:{"2":"A B"},O:{"2":"EC"},P:{"2":"0 1 2 3 4 J y z WD XD YD ZD aD PC bD cD dD eD fD FC GC HC gD"},Q:{"2":"hD"},R:{"2":"iD"},S:{"2":"jD kD"}},B:7,C:"Portals",D:true}; diff --git a/node_modules/caniuse-lite/data/features/prefers-color-scheme.js b/node_modules/caniuse-lite/data/features/prefers-color-scheme.js index 5b2142d888..6b09150703 100644 --- a/node_modules/caniuse-lite/data/features/prefers-color-scheme.js +++ b/node_modules/caniuse-lite/data/features/prefers-color-scheme.js @@ -1 +1 @@ -module.exports={A:{A:{"2":"K D E F A B aC"},B:{"1":"0 1 2 3 4 5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I","2":"C L M G N O P"},C:{"1":"0 1 2 3 4 5 6 7 8 9 uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC","2":"bC DC J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB dC eC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC","2":"J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B"},E:{"1":"L M G 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC","2":"J FB K D E F A B C fC JC gC hC iC jC KC 7B"},F:{"1":"pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t","2":"F B C G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB qC rC sC tC 7B YC uC 8B"},G:{"1":"8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC","2":"E JC vC ZC wC xC yC zC 0C 1C 2C 3C 4C 5C 6C 7C"},H:{"2":"HD"},I:{"1":"I","2":"DC J ID JD KD LD ZC MD ND"},J:{"2":"D A"},K:{"1":"H","2":"A B C 7B YC 8B"},L:{"1":"I"},M:{"1":"6B"},N:{"2":"A B"},O:{"1":"9B"},P:{"1":"u v w x y z UD VD WD XD AC BC CC YD","2":"J OD PD QD RD SD KC TD"},Q:{"1":"ZD"},R:{"1":"aD"},S:{"1":"cD","2":"bD"}},B:5,C:"prefers-color-scheme media query",D:true}; +module.exports={A:{A:{"2":"K D E F A B gC"},B:{"1":"5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I","2":"C L M G N O P"},C:{"1":"5 6 7 8 9 zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC","2":"0 1 2 3 4 hC IC J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB jC kC"},D:{"1":"5 6 7 8 9 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC","2":"0 1 2 3 4 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B"},E:{"1":"L M G DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC","2":"J LB K D E F A B C lC OC mC nC oC pC PC CC"},F:{"1":"uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x","2":"0 1 2 3 4 F B C G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB xC yC zC 0C CC eC 1C DC"},G:{"1":"FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC","2":"E OC 2C fC 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED"},H:{"2":"PD"},I:{"1":"I","2":"IC J QD RD SD TD fC UD VD"},J:{"2":"D A"},K:{"1":"H","2":"A B C CC eC DC"},L:{"1":"I"},M:{"1":"BC"},N:{"2":"A B"},O:{"1":"EC"},P:{"1":"0 1 2 3 4 y z cD dD eD fD FC GC HC gD","2":"J WD XD YD ZD aD PC bD"},Q:{"1":"hD"},R:{"1":"iD"},S:{"1":"kD","2":"jD"}},B:5,C:"prefers-color-scheme media query",D:true}; diff --git a/node_modules/caniuse-lite/data/features/prefers-reduced-motion.js b/node_modules/caniuse-lite/data/features/prefers-reduced-motion.js index 5fc159e0bf..b938b77d66 100644 --- a/node_modules/caniuse-lite/data/features/prefers-reduced-motion.js +++ b/node_modules/caniuse-lite/data/features/prefers-reduced-motion.js @@ -1 +1 @@ -module.exports={A:{A:{"2":"K D E F A B aC"},B:{"1":"0 1 2 3 4 5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I","2":"C L M G N O P"},C:{"1":"0 1 2 3 4 5 6 7 8 9 qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC","2":"bC DC J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB dC eC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC","2":"J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B"},E:{"1":"B C L M G KC 7B 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC","2":"J FB K D E F A fC JC gC hC iC jC"},F:{"1":"rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t","2":"F B C G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB qC rC sC tC 7B YC uC 8B"},G:{"1":"3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC","2":"E JC vC ZC wC xC yC zC 0C 1C 2C"},H:{"2":"HD"},I:{"1":"I","2":"DC J ID JD KD LD ZC MD ND"},J:{"2":"D A"},K:{"1":"H","2":"A B C 7B YC 8B"},L:{"1":"I"},M:{"1":"6B"},N:{"2":"A B"},O:{"1":"9B"},P:{"1":"u v w x y z TD UD VD WD XD AC BC CC YD","2":"J OD PD QD RD SD KC"},Q:{"1":"ZD"},R:{"1":"aD"},S:{"1":"cD","2":"bD"}},B:5,C:"prefers-reduced-motion media query",D:true}; +module.exports={A:{A:{"2":"K D E F A B gC"},B:{"1":"5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I","2":"C L M G N O P"},C:{"1":"5 6 7 8 9 vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC","2":"0 1 2 3 4 hC IC J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB jC kC"},D:{"1":"5 6 7 8 9 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC","2":"0 1 2 3 4 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B"},E:{"1":"B C L M G PC CC DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC","2":"J LB K D E F A lC OC mC nC oC pC"},F:{"1":"wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x","2":"0 1 2 3 4 F B C G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB xC yC zC 0C CC eC 1C DC"},G:{"1":"AD BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC","2":"E OC 2C fC 3C 4C 5C 6C 7C 8C 9C"},H:{"2":"PD"},I:{"1":"I","2":"IC J QD RD SD TD fC UD VD"},J:{"2":"D A"},K:{"1":"H","2":"A B C CC eC DC"},L:{"1":"I"},M:{"1":"BC"},N:{"2":"A B"},O:{"1":"EC"},P:{"1":"0 1 2 3 4 y z bD cD dD eD fD FC GC HC gD","2":"J WD XD YD ZD aD PC"},Q:{"1":"hD"},R:{"1":"iD"},S:{"1":"kD","2":"jD"}},B:5,C:"prefers-reduced-motion media query",D:true}; diff --git a/node_modules/caniuse-lite/data/features/progress.js b/node_modules/caniuse-lite/data/features/progress.js index 8d66e3f8e1..7352c5a3db 100644 --- a/node_modules/caniuse-lite/data/features/progress.js +++ b/node_modules/caniuse-lite/data/features/progress.js @@ -1 +1 @@ -module.exports={A:{A:{"1":"A B","2":"K D E F aC"},B:{"1":"0 1 2 3 4 5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC","2":"bC DC J FB dC eC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC","2":"J FB K D"},E:{"1":"K D E F A B C L M G hC iC jC KC 7B 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC","2":"J FB fC JC gC"},F:{"1":"B C G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t 7B YC uC 8B","2":"F qC rC sC tC"},G:{"1":"E zC 0C 1C 2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC","2":"JC vC ZC wC xC","132":"yC"},H:{"1":"HD"},I:{"1":"I MD ND","2":"DC J ID JD KD LD ZC"},J:{"1":"D A"},K:{"1":"B C H 7B YC 8B","2":"A"},L:{"1":"I"},M:{"1":"6B"},N:{"1":"A B"},O:{"1":"9B"},P:{"1":"J u v w x y z OD PD QD RD SD KC TD UD VD WD XD AC BC CC YD"},Q:{"1":"ZD"},R:{"1":"aD"},S:{"1":"bD cD"}},B:1,C:"progress element",D:true}; +module.exports={A:{A:{"1":"A B","2":"K D E F gC"},B:{"1":"5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC","2":"hC IC J LB jC kC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC","2":"J LB K D"},E:{"1":"K D E F A B C L M G nC oC pC PC CC DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC","2":"J LB lC OC mC"},F:{"1":"0 1 2 3 4 B C G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x CC eC 1C DC","2":"F xC yC zC 0C"},G:{"1":"E 6C 7C 8C 9C AD BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC","2":"OC 2C fC 3C 4C","132":"5C"},H:{"1":"PD"},I:{"1":"I UD VD","2":"IC J QD RD SD TD fC"},J:{"1":"D A"},K:{"1":"B C H CC eC DC","2":"A"},L:{"1":"I"},M:{"1":"BC"},N:{"1":"A B"},O:{"1":"EC"},P:{"1":"0 1 2 3 4 J y z WD XD YD ZD aD PC bD cD dD eD fD FC GC HC gD"},Q:{"1":"hD"},R:{"1":"iD"},S:{"1":"jD kD"}},B:1,C:"progress element",D:true}; diff --git a/node_modules/caniuse-lite/data/features/promise-finally.js b/node_modules/caniuse-lite/data/features/promise-finally.js index 468b05c399..1c126a3b4b 100644 --- a/node_modules/caniuse-lite/data/features/promise-finally.js +++ b/node_modules/caniuse-lite/data/features/promise-finally.js @@ -1 +1 @@ -module.exports={A:{A:{"2":"K D E F A B aC"},B:{"1":"0 1 2 3 4 5 6 7 8 9 P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I","2":"C L M G N O"},C:{"1":"0 1 2 3 4 5 6 7 8 9 nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC","2":"bC DC J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB dC eC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC","2":"J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB"},E:{"1":"C L M G 7B 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC","2":"J FB K D E F A B fC JC gC hC iC jC KC"},F:{"1":"fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t","2":"F B C G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB qC rC sC tC 7B YC uC 8B"},G:{"1":"5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC","2":"E JC vC ZC wC xC yC zC 0C 1C 2C 3C 4C"},H:{"2":"HD"},I:{"1":"I","2":"DC J ID JD KD LD ZC MD ND"},J:{"2":"D A"},K:{"1":"H","2":"A B C 7B YC 8B"},L:{"1":"I"},M:{"1":"6B"},N:{"2":"A B"},O:{"1":"9B"},P:{"1":"u v w x y z RD SD KC TD UD VD WD XD AC BC CC YD","2":"J OD PD QD"},Q:{"1":"ZD"},R:{"1":"aD"},S:{"1":"cD","2":"bD"}},B:6,C:"Promise.prototype.finally",D:true}; +module.exports={A:{A:{"2":"K D E F A B gC"},B:{"1":"5 6 7 8 9 P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I","2":"C L M G N O"},C:{"1":"5 6 7 8 9 sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC","2":"0 1 2 3 4 hC IC J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB jC kC"},D:{"1":"5 6 7 8 9 vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC","2":"0 1 2 3 4 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB"},E:{"1":"C L M G CC DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC","2":"J LB K D E F A B lC OC mC nC oC pC PC"},F:{"1":"kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x","2":"0 1 2 3 4 F B C G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB xC yC zC 0C CC eC 1C DC"},G:{"1":"CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC","2":"E OC 2C fC 3C 4C 5C 6C 7C 8C 9C AD BD"},H:{"2":"PD"},I:{"1":"I","2":"IC J QD RD SD TD fC UD VD"},J:{"2":"D A"},K:{"1":"H","2":"A B C CC eC DC"},L:{"1":"I"},M:{"1":"BC"},N:{"2":"A B"},O:{"1":"EC"},P:{"1":"0 1 2 3 4 y z ZD aD PC bD cD dD eD fD FC GC HC gD","2":"J WD XD YD"},Q:{"1":"hD"},R:{"1":"iD"},S:{"1":"kD","2":"jD"}},B:6,C:"Promise.prototype.finally",D:true}; diff --git a/node_modules/caniuse-lite/data/features/promises.js b/node_modules/caniuse-lite/data/features/promises.js index a2fe34996e..ccde13b319 100644 --- a/node_modules/caniuse-lite/data/features/promises.js +++ b/node_modules/caniuse-lite/data/features/promises.js @@ -1 +1 @@ -module.exports={A:{A:{"8":"K D E F A B aC"},B:{"1":"0 1 2 3 4 5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC","4":"IB JB","8":"bC DC J FB K D E F A B C L M G N O P GB u v w x y z HB dC eC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC","4":"NB","8":"J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB"},E:{"1":"E F A B C L M G iC jC KC 7B 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC","8":"J FB K D fC JC gC hC"},F:{"1":"u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t","4":"GB","8":"F B C G N O P qC rC sC tC 7B YC uC 8B"},G:{"1":"E zC 0C 1C 2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC","8":"JC vC ZC wC xC yC"},H:{"8":"HD"},I:{"1":"I ND","8":"DC J ID JD KD LD ZC MD"},J:{"8":"D A"},K:{"1":"H","8":"A B C 7B YC 8B"},L:{"1":"I"},M:{"1":"6B"},N:{"8":"A B"},O:{"1":"9B"},P:{"1":"J u v w x y z OD PD QD RD SD KC TD UD VD WD XD AC BC CC YD"},Q:{"1":"ZD"},R:{"1":"aD"},S:{"1":"bD cD"}},B:6,C:"Promises",D:true}; +module.exports={A:{A:{"8":"K D E F A B gC"},B:{"1":"5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I"},C:{"1":"5 6 7 8 9 PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC","4":"NB OB","8":"0 1 2 3 4 hC IC J LB K D E F A B C L M G N O P MB y z jC kC"},D:{"1":"5 6 7 8 9 TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC","4":"SB","8":"0 1 2 3 4 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB"},E:{"1":"E F A B C L M G oC pC PC CC DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC","8":"J LB K D lC OC mC nC"},F:{"1":"0 1 2 3 4 y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x","4":"MB","8":"F B C G N O P xC yC zC 0C CC eC 1C DC"},G:{"1":"E 6C 7C 8C 9C AD BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC","8":"OC 2C fC 3C 4C 5C"},H:{"8":"PD"},I:{"1":"I VD","8":"IC J QD RD SD TD fC UD"},J:{"8":"D A"},K:{"1":"H","8":"A B C CC eC DC"},L:{"1":"I"},M:{"1":"BC"},N:{"8":"A B"},O:{"1":"EC"},P:{"1":"0 1 2 3 4 J y z WD XD YD ZD aD PC bD cD dD eD fD FC GC HC gD"},Q:{"1":"hD"},R:{"1":"iD"},S:{"1":"jD kD"}},B:6,C:"Promises",D:true}; diff --git a/node_modules/caniuse-lite/data/features/proximity.js b/node_modules/caniuse-lite/data/features/proximity.js index 616e56104d..652cb1541c 100644 --- a/node_modules/caniuse-lite/data/features/proximity.js +++ b/node_modules/caniuse-lite/data/features/proximity.js @@ -1 +1 @@ -module.exports={A:{A:{"2":"K D E F A B aC"},B:{"2":"0 1 2 3 4 5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC","2":"bC DC J FB K D E F A B C L M dC eC"},D:{"2":"0 1 2 3 4 5 6 7 8 9 J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC"},E:{"2":"J FB K D E F A B C L M G fC JC gC hC iC jC KC 7B 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC"},F:{"2":"F B C G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t qC rC sC tC 7B YC uC 8B"},G:{"2":"E JC vC ZC wC xC yC zC 0C 1C 2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC"},H:{"2":"HD"},I:{"2":"DC J I ID JD KD LD ZC MD ND"},J:{"2":"D A"},K:{"2":"A B C H 7B YC 8B"},L:{"2":"I"},M:{"1":"6B"},N:{"2":"A B"},O:{"2":"9B"},P:{"2":"J u v w x y z OD PD QD RD SD KC TD UD VD WD XD AC BC CC YD"},Q:{"2":"ZD"},R:{"2":"aD"},S:{"1":"bD cD"}},B:4,C:"Proximity API",D:true}; +module.exports={A:{A:{"2":"K D E F A B gC"},B:{"2":"5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC","2":"hC IC J LB K D E F A B C L M jC kC"},D:{"2":"0 1 2 3 4 5 6 7 8 9 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC"},E:{"2":"J LB K D E F A B C L M G lC OC mC nC oC pC PC CC DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC"},F:{"2":"0 1 2 3 4 F B C G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x xC yC zC 0C CC eC 1C DC"},G:{"2":"E OC 2C fC 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC"},H:{"2":"PD"},I:{"2":"IC J I QD RD SD TD fC UD VD"},J:{"2":"D A"},K:{"2":"A B C H CC eC DC"},L:{"2":"I"},M:{"1":"BC"},N:{"2":"A B"},O:{"2":"EC"},P:{"2":"0 1 2 3 4 J y z WD XD YD ZD aD PC bD cD dD eD fD FC GC HC gD"},Q:{"2":"hD"},R:{"2":"iD"},S:{"1":"jD kD"}},B:4,C:"Proximity API",D:true}; diff --git a/node_modules/caniuse-lite/data/features/proxy.js b/node_modules/caniuse-lite/data/features/proxy.js index d378a986be..f2d0fc211c 100644 --- a/node_modules/caniuse-lite/data/features/proxy.js +++ b/node_modules/caniuse-lite/data/features/proxy.js @@ -1 +1 @@ -module.exports={A:{A:{"2":"K D E F A B aC"},B:{"1":"0 1 2 3 4 5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC","2":"bC DC J FB K D E F A B C L M G N O dC eC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC","2":"J FB K D E F A B C L M G N O P TB UB VB WB XB YB ZB aB bB cB dB","66":"GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB"},E:{"1":"A B C L M G KC 7B 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC","2":"J FB K D E F fC JC gC hC iC jC"},F:{"1":"RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t","2":"F B C z HB IB JB KB LB MB NB OB PB QB qC rC sC tC 7B YC uC 8B","66":"G N O P GB u v w x y"},G:{"1":"2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC","2":"E JC vC ZC wC xC yC zC 0C 1C"},H:{"2":"HD"},I:{"1":"I","2":"DC J ID JD KD LD ZC MD ND"},J:{"2":"D A"},K:{"1":"H","2":"A B C 7B YC 8B"},L:{"1":"I"},M:{"1":"6B"},N:{"2":"A B"},O:{"1":"9B"},P:{"1":"u v w x y z OD PD QD RD SD KC TD UD VD WD XD AC BC CC YD","2":"J"},Q:{"1":"ZD"},R:{"1":"aD"},S:{"1":"bD cD"}},B:6,C:"Proxy object",D:true}; +module.exports={A:{A:{"2":"K D E F A B gC"},B:{"1":"5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC","2":"hC IC J LB K D E F A B C L M G N O jC kC"},D:{"1":"5 6 7 8 9 jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC","2":"J LB K D E F A B C L M G N O P YB ZB aB bB cB dB eB fB gB hB iB","66":"0 1 2 3 4 MB y z NB OB PB QB RB SB TB UB VB WB XB"},E:{"1":"A B C L M G PC CC DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC","2":"J LB K D E F lC OC mC nC oC pC"},F:{"1":"WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x","2":"3 4 F B C NB OB PB QB RB SB TB UB VB xC yC zC 0C CC eC 1C DC","66":"0 1 2 G N O P MB y z"},G:{"1":"9C AD BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC","2":"E OC 2C fC 3C 4C 5C 6C 7C 8C"},H:{"2":"PD"},I:{"1":"I","2":"IC J QD RD SD TD fC UD VD"},J:{"2":"D A"},K:{"1":"H","2":"A B C CC eC DC"},L:{"1":"I"},M:{"1":"BC"},N:{"2":"A B"},O:{"1":"EC"},P:{"1":"0 1 2 3 4 y z WD XD YD ZD aD PC bD cD dD eD fD FC GC HC gD","2":"J"},Q:{"1":"hD"},R:{"1":"iD"},S:{"1":"jD kD"}},B:6,C:"Proxy object",D:true}; diff --git a/node_modules/caniuse-lite/data/features/publickeypinning.js b/node_modules/caniuse-lite/data/features/publickeypinning.js index 3498b9844b..45279ea791 100644 --- a/node_modules/caniuse-lite/data/features/publickeypinning.js +++ b/node_modules/caniuse-lite/data/features/publickeypinning.js @@ -1 +1 @@ -module.exports={A:{A:{"2":"K D E F A B aC"},B:{"2":"0 1 2 3 4 5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I"},C:{"1":"QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB","2":"0 1 2 3 4 5 6 7 8 9 bC DC J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC dC eC"},D:{"1":"TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB","2":"0 1 2 3 4 5 6 7 8 9 J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC"},E:{"2":"J FB K D E F A B C L M G fC JC gC hC iC jC KC 7B 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC"},F:{"1":"z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB","2":"F B C G N O P GB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t qC rC sC tC 7B YC uC 8B","4":"x","16":"u v w y"},G:{"2":"E JC vC ZC wC xC yC zC 0C 1C 2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC"},H:{"2":"HD"},I:{"2":"DC J I ID JD KD LD ZC MD ND"},J:{"2":"D A"},K:{"2":"A B C H 7B YC 8B"},L:{"2":"I"},M:{"2":"6B"},N:{"2":"A B"},O:{"2":"9B"},P:{"1":"J OD PD QD RD SD KC","2":"u v w x y z TD UD VD WD XD AC BC CC YD"},Q:{"2":"ZD"},R:{"2":"aD"},S:{"1":"bD","2":"cD"}},B:6,C:"HTTP Public Key Pinning",D:true}; +module.exports={A:{A:{"2":"K D E F A B gC"},B:{"2":"5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I"},C:{"1":"VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B","2":"0 1 2 3 4 5 6 7 8 9 hC IC J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC jC kC"},D:{"1":"YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B","2":"0 1 2 3 4 5 6 7 8 9 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC"},E:{"2":"J LB K D E F A B C L M G lC OC mC nC oC pC PC CC DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC"},F:{"1":"3 4 NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB","2":"F B C G N O P MB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x xC yC zC 0C CC eC 1C DC","4":"1","16":"0 2 y z"},G:{"2":"E OC 2C fC 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC"},H:{"2":"PD"},I:{"2":"IC J I QD RD SD TD fC UD VD"},J:{"2":"D A"},K:{"2":"A B C H CC eC DC"},L:{"2":"I"},M:{"2":"BC"},N:{"2":"A B"},O:{"2":"EC"},P:{"1":"J WD XD YD ZD aD PC","2":"0 1 2 3 4 y z bD cD dD eD fD FC GC HC gD"},Q:{"2":"hD"},R:{"2":"iD"},S:{"1":"jD","2":"kD"}},B:6,C:"HTTP Public Key Pinning",D:true}; diff --git a/node_modules/caniuse-lite/data/features/push-api.js b/node_modules/caniuse-lite/data/features/push-api.js index 8dc1ca4ceb..ae0562c8b7 100644 --- a/node_modules/caniuse-lite/data/features/push-api.js +++ b/node_modules/caniuse-lite/data/features/push-api.js @@ -1 +1 @@ -module.exports={A:{A:{"2":"K D E F A B aC"},B:{"1":"O P","2":"C L M G N","257":"0 1 2 3 4 5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I"},C:{"2":"bC DC J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB dC eC","257":"0 1 2 3 4 5 6 7 8 9 ZB bB cB dB eB fB gB iB jB kB lB mB nB EC FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC","1281":"aB hB oB"},D:{"2":"J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB","257":"0 1 2 3 4 5 6 7 8 9 fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC","388":"ZB aB bB cB dB eB"},E:{"2":"J FB K fC JC gC hC","514":"D E F A B C L M G iC jC KC 7B 8B kC lC mC LC MC 9B nC AC","2564":"NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC"},F:{"2":"F B C G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB qC rC sC tC 7B YC uC 8B","16":"SB TB UB VB WB","257":"XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t"},G:{"2":"E JC vC ZC wC xC yC zC 0C 1C 2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC","4100":"QC RC GD BC SC TC UC VC WC XC CC"},H:{"2":"HD"},I:{"2":"DC J I ID JD KD LD ZC MD ND"},J:{"2":"D A"},K:{"1":"H","2":"A B C 7B YC 8B"},L:{"1":"I"},M:{"1":"6B"},N:{"2":"A B"},O:{"1":"9B"},P:{"1":"J u v w x y z OD PD QD RD SD KC TD UD VD WD XD AC BC CC YD"},Q:{"1":"ZD"},R:{"2":"aD"},S:{"257":"bD cD"}},B:5,C:"Push API",D:true}; +module.exports={A:{A:{"2":"K D E F A B gC"},B:{"1":"O P","2":"C L M G N","257":"5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I"},C:{"2":"0 1 2 3 4 hC IC J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB jC kC","257":"5 6 7 8 9 eB gB hB iB jB kB lB nB oB pB qB rB sB JC KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC","1281":"fB mB tB"},D:{"2":"0 1 2 3 4 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB","257":"5 6 7 8 9 kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC","388":"eB fB gB hB iB jB"},E:{"2":"J LB K lC OC mC nC","514":"D E F A B C L M G oC pC PC CC DC qC rC sC QC RC EC tC FC","2564":"SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC"},F:{"2":"0 1 2 3 4 F B C G N O P MB y z NB OB PB QB RB SB TB UB VB WB xC yC zC 0C CC eC 1C DC","16":"XB YB ZB aB bB","257":"cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x"},G:{"2":"E OC 2C fC 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC","4100":"VC WC ND GC XC YC ZC aC bC OD HC cC dC"},H:{"2":"PD"},I:{"2":"IC J I QD RD SD TD fC UD VD"},J:{"2":"D A"},K:{"1":"H","2":"A B C CC eC DC"},L:{"1":"I"},M:{"1":"BC"},N:{"2":"A B"},O:{"1":"EC"},P:{"1":"0 1 2 3 4 J y z WD XD YD ZD aD PC bD cD dD eD fD FC GC HC gD"},Q:{"1":"hD"},R:{"2":"iD"},S:{"257":"jD kD"}},B:5,C:"Push API",D:true}; diff --git a/node_modules/caniuse-lite/data/features/queryselector.js b/node_modules/caniuse-lite/data/features/queryselector.js index 1c8212b9cd..bbc36c5a62 100644 --- a/node_modules/caniuse-lite/data/features/queryselector.js +++ b/node_modules/caniuse-lite/data/features/queryselector.js @@ -1 +1 @@ -module.exports={A:{A:{"1":"F A B","2":"aC","8":"K D","132":"E"},B:{"1":"0 1 2 3 4 5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC dC eC","8":"bC DC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC"},E:{"1":"J FB K D E F A B C L M G fC JC gC hC iC jC KC 7B 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC"},F:{"1":"B C G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t rC sC tC 7B YC uC 8B","8":"F qC"},G:{"1":"E JC vC ZC wC xC yC zC 0C 1C 2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC"},H:{"1":"HD"},I:{"1":"DC J I ID JD KD LD ZC MD ND"},J:{"1":"D A"},K:{"1":"A B C H 7B YC 8B"},L:{"1":"I"},M:{"1":"6B"},N:{"1":"A B"},O:{"1":"9B"},P:{"1":"J u v w x y z OD PD QD RD SD KC TD UD VD WD XD AC BC CC YD"},Q:{"1":"ZD"},R:{"1":"aD"},S:{"1":"bD cD"}},B:1,C:"querySelector/querySelectorAll",D:true}; +module.exports={A:{A:{"1":"F A B","2":"gC","8":"K D","132":"E"},B:{"1":"5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC jC kC","8":"hC IC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC"},E:{"1":"J LB K D E F A B C L M G lC OC mC nC oC pC PC CC DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC"},F:{"1":"0 1 2 3 4 B C G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x yC zC 0C CC eC 1C DC","8":"F xC"},G:{"1":"E OC 2C fC 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC"},H:{"1":"PD"},I:{"1":"IC J I QD RD SD TD fC UD VD"},J:{"1":"D A"},K:{"1":"A B C H CC eC DC"},L:{"1":"I"},M:{"1":"BC"},N:{"1":"A B"},O:{"1":"EC"},P:{"1":"0 1 2 3 4 J y z WD XD YD ZD aD PC bD cD dD eD fD FC GC HC gD"},Q:{"1":"hD"},R:{"1":"iD"},S:{"1":"jD kD"}},B:1,C:"querySelector/querySelectorAll",D:true}; diff --git a/node_modules/caniuse-lite/data/features/readonly-attr.js b/node_modules/caniuse-lite/data/features/readonly-attr.js index d6f3f84f87..c8361fe169 100644 --- a/node_modules/caniuse-lite/data/features/readonly-attr.js +++ b/node_modules/caniuse-lite/data/features/readonly-attr.js @@ -1 +1 @@ -module.exports={A:{A:{"1":"K D E F A B","16":"aC"},B:{"1":"0 1 2 3 4 5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC","16":"bC DC dC eC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC","16":"J FB K D E F A B C L M G N O P GB u v w x y z"},E:{"1":"K D E F A B C L M G gC hC iC jC KC 7B 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC","16":"J FB fC JC"},F:{"1":"G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t","16":"F qC","132":"B C rC sC tC 7B YC uC 8B"},G:{"1":"E yC zC 0C 1C 2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC","16":"JC vC ZC wC xC"},H:{"1":"HD"},I:{"1":"DC J I KD LD ZC MD ND","16":"ID JD"},J:{"1":"D A"},K:{"1":"H","132":"A B C 7B YC 8B"},L:{"1":"I"},M:{"1":"6B"},N:{"257":"A B"},O:{"1":"9B"},P:{"1":"J u v w x y z OD PD QD RD SD KC TD UD VD WD XD AC BC CC YD"},Q:{"1":"ZD"},R:{"1":"aD"},S:{"1":"bD cD"}},B:1,C:"readonly attribute of input and textarea elements",D:true}; +module.exports={A:{A:{"1":"K D E F A B","16":"gC"},B:{"1":"5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC","16":"hC IC jC kC"},D:{"1":"4 5 6 7 8 9 NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC","16":"0 1 2 3 J LB K D E F A B C L M G N O P MB y z"},E:{"1":"K D E F A B C L M G mC nC oC pC PC CC DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC","16":"J LB lC OC"},F:{"1":"0 1 2 3 4 G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x","16":"F xC","132":"B C yC zC 0C CC eC 1C DC"},G:{"1":"E 5C 6C 7C 8C 9C AD BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC","16":"OC 2C fC 3C 4C"},H:{"1":"PD"},I:{"1":"IC J I SD TD fC UD VD","16":"QD RD"},J:{"1":"D A"},K:{"1":"H","132":"A B C CC eC DC"},L:{"1":"I"},M:{"1":"BC"},N:{"257":"A B"},O:{"1":"EC"},P:{"1":"0 1 2 3 4 J y z WD XD YD ZD aD PC bD cD dD eD fD FC GC HC gD"},Q:{"1":"hD"},R:{"1":"iD"},S:{"1":"jD kD"}},B:1,C:"readonly attribute of input and textarea elements",D:true}; diff --git a/node_modules/caniuse-lite/data/features/referrer-policy.js b/node_modules/caniuse-lite/data/features/referrer-policy.js index ad86e4e310..154cd6d91e 100644 --- a/node_modules/caniuse-lite/data/features/referrer-policy.js +++ b/node_modules/caniuse-lite/data/features/referrer-policy.js @@ -1 +1 @@ -module.exports={A:{A:{"2":"K D E F A aC","132":"B"},B:{"1":"0 1 2 3 4 5 6 7 8 9 U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I","132":"C L M G N O P","516":"Q H R S T"},C:{"1":"W X Y Z a","2":"bC DC J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB dC eC","516":"RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V","2049":"0 1 2 3 4 5 6 7 8 9 b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC","2":"J FB K D E F A B C L M G N O P GB u","260":"v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB","516":"FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T"},E:{"2":"J FB K D fC JC gC hC","132":"E F A B iC jC KC","516":"C 7B 8B","1025":"G mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC","1540":"L M kC lC"},F:{"1":"0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t","2":"F B C qC rC sC tC 7B YC uC 8B","516":"G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB"},G:{"2":"JC vC ZC wC xC yC","132":"E zC 0C 1C 2C 3C 4C 5C","516":"6C 7C 8C 9C","1025":"ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC","1540":"AD BD CD DD"},H:{"2":"HD"},I:{"1":"I","2":"DC J ID JD KD LD ZC MD ND"},J:{"2":"D A"},K:{"1":"H","2":"A B C 7B YC 8B"},L:{"1":"I"},M:{"2049":"6B"},N:{"2":"A B"},O:{"1":"9B"},P:{"1":"u v w x y z WD XD AC BC CC YD","2":"J","516":"OD PD QD RD SD KC TD UD VD"},Q:{"1":"ZD"},R:{"1":"aD"},S:{"516":"bD cD"}},B:4,C:"Referrer Policy",D:true}; +module.exports={A:{A:{"2":"K D E F A gC","132":"B"},B:{"1":"5 6 7 8 9 U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I","132":"C L M G N O P","513":"Q H R S T"},C:{"1":"W X Y Z a","2":"0 1 2 3 4 hC IC J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB jC kC","513":"WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V","2049":"5 6 7 8 9 b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC"},D:{"1":"5 6 7 8 9 U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC","2":"J LB K D E F A B C L M G N O P MB y","260":"0 1 2 3 4 z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB","513":"KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T"},E:{"2":"J LB K D lC OC mC nC","132":"E F A B oC pC PC","513":"C CC DC","1025":"G sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC","1537":"L M qC rC"},F:{"1":"5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x","2":"F B C xC yC zC 0C CC eC 1C DC","513":"0 1 2 3 4 G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B"},G:{"2":"OC 2C fC 3C 4C 5C","132":"E 6C 7C 8C 9C AD BD CD","513":"DD ED FD GD","1025":"LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC","1537":"HD ID JD KD"},H:{"2":"PD"},I:{"1":"I","2":"IC J QD RD SD TD fC UD VD"},J:{"2":"D A"},K:{"1":"H","2":"A B C CC eC DC"},L:{"1":"I"},M:{"2049":"BC"},N:{"2":"A B"},O:{"1":"EC"},P:{"1":"0 1 2 3 4 y z eD fD FC GC HC gD","2":"J","513":"WD XD YD ZD aD PC bD cD dD"},Q:{"1":"hD"},R:{"1":"iD"},S:{"513":"jD kD"}},B:4,C:"Referrer Policy",D:true}; diff --git a/node_modules/caniuse-lite/data/features/registerprotocolhandler.js b/node_modules/caniuse-lite/data/features/registerprotocolhandler.js index db09b5f325..9b21070cfe 100644 --- a/node_modules/caniuse-lite/data/features/registerprotocolhandler.js +++ b/node_modules/caniuse-lite/data/features/registerprotocolhandler.js @@ -1 +1 @@ -module.exports={A:{A:{"2":"K D E F A B aC"},B:{"2":"C L M G N O P","129":"0 1 2 3 4 5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 DC J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC dC eC","2":"bC"},D:{"2":"J FB K D E F A B C","129":"0 1 2 3 4 5 6 7 8 9 L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC"},E:{"2":"J FB K D E F A B C L M G fC JC gC hC iC jC KC 7B 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC"},F:{"2":"F B qC rC sC tC 7B YC","129":"C G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t uC 8B"},G:{"2":"E JC vC ZC wC xC yC zC 0C 1C 2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC"},H:{"2":"HD"},I:{"2":"DC J I ID JD KD LD ZC MD ND"},J:{"2":"D","129":"A"},K:{"2":"A B C H 7B YC 8B"},L:{"2":"I"},M:{"2":"6B"},N:{"2":"A B"},O:{"2":"9B"},P:{"2":"J u v w x y z OD PD QD RD SD KC TD UD VD WD XD AC BC CC YD"},Q:{"2":"ZD"},R:{"2":"aD"},S:{"2":"bD cD"}},B:1,C:"Custom protocol handling",D:true}; +module.exports={A:{A:{"2":"K D E F A B gC"},B:{"2":"C L M G N O P","129":"5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 IC J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC jC kC","2":"hC"},D:{"2":"J LB K D E F A B C","129":"0 1 2 3 4 5 6 7 8 9 L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC"},E:{"2":"J LB K D E F A B C L M G lC OC mC nC oC pC PC CC DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC"},F:{"2":"F B xC yC zC 0C CC eC","129":"0 1 2 3 4 C G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x 1C DC"},G:{"2":"E OC 2C fC 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC"},H:{"2":"PD"},I:{"2":"IC J I QD RD SD TD fC UD VD"},J:{"2":"D","129":"A"},K:{"2":"A B C H CC eC DC"},L:{"2":"I"},M:{"2":"BC"},N:{"2":"A B"},O:{"2":"EC"},P:{"2":"0 1 2 3 4 J y z WD XD YD ZD aD PC bD cD dD eD fD FC GC HC gD"},Q:{"2":"hD"},R:{"2":"iD"},S:{"2":"jD kD"}},B:1,C:"Custom protocol handling",D:true}; diff --git a/node_modules/caniuse-lite/data/features/rel-noopener.js b/node_modules/caniuse-lite/data/features/rel-noopener.js index c54d92068b..90dfc39209 100644 --- a/node_modules/caniuse-lite/data/features/rel-noopener.js +++ b/node_modules/caniuse-lite/data/features/rel-noopener.js @@ -1 +1 @@ -module.exports={A:{A:{"2":"K D E F A B aC"},B:{"1":"0 1 2 3 4 5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I","2":"C L M G N O P"},C:{"1":"0 1 2 3 4 5 6 7 8 9 hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC","2":"bC DC J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB dC eC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC","2":"J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB"},E:{"1":"B C L M G KC 7B 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC","2":"J FB K D E F A fC JC gC hC iC jC"},F:{"1":"RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t","2":"F B C G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB qC rC sC tC 7B YC uC 8B"},G:{"1":"3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC","2":"E JC vC ZC wC xC yC zC 0C 1C 2C"},H:{"2":"HD"},I:{"1":"I","2":"DC J ID JD KD LD ZC MD ND"},J:{"2":"D A"},K:{"1":"H","2":"A B C 7B YC 8B"},L:{"1":"I"},M:{"1":"6B"},N:{"2":"A B"},O:{"1":"9B"},P:{"1":"u v w x y z OD PD QD RD SD KC TD UD VD WD XD AC BC CC YD","2":"J"},Q:{"1":"ZD"},R:{"1":"aD"},S:{"1":"cD","2":"bD"}},B:1,C:"rel=noopener",D:true}; +module.exports={A:{A:{"2":"K D E F A B gC"},B:{"1":"5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I","2":"C L M G N O P"},C:{"1":"5 6 7 8 9 mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC","2":"0 1 2 3 4 hC IC J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB jC kC"},D:{"1":"5 6 7 8 9 jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC","2":"0 1 2 3 4 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB"},E:{"1":"B C L M G PC CC DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC","2":"J LB K D E F A lC OC mC nC oC pC"},F:{"1":"WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x","2":"0 1 2 3 4 F B C G N O P MB y z NB OB PB QB RB SB TB UB VB xC yC zC 0C CC eC 1C DC"},G:{"1":"AD BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC","2":"E OC 2C fC 3C 4C 5C 6C 7C 8C 9C"},H:{"2":"PD"},I:{"1":"I","2":"IC J QD RD SD TD fC UD VD"},J:{"2":"D A"},K:{"1":"H","2":"A B C CC eC DC"},L:{"1":"I"},M:{"1":"BC"},N:{"2":"A B"},O:{"1":"EC"},P:{"1":"0 1 2 3 4 y z WD XD YD ZD aD PC bD cD dD eD fD FC GC HC gD","2":"J"},Q:{"1":"hD"},R:{"1":"iD"},S:{"1":"kD","2":"jD"}},B:1,C:"rel=noopener",D:true}; diff --git a/node_modules/caniuse-lite/data/features/rel-noreferrer.js b/node_modules/caniuse-lite/data/features/rel-noreferrer.js index bd88f6c408..f3be893e1f 100644 --- a/node_modules/caniuse-lite/data/features/rel-noreferrer.js +++ b/node_modules/caniuse-lite/data/features/rel-noreferrer.js @@ -1 +1 @@ -module.exports={A:{A:{"2":"K D E F A aC","132":"B"},B:{"1":"0 1 2 3 4 5 6 7 8 9 L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I","16":"C"},C:{"1":"0 1 2 3 4 5 6 7 8 9 OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC","2":"bC DC J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB dC eC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC","16":"J FB K D E F A B C L M G"},E:{"1":"FB K D E F A B C L M G gC hC iC jC KC 7B 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC","2":"J fC JC"},F:{"1":"G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t","2":"F B C qC rC sC tC 7B YC uC 8B"},G:{"1":"E vC ZC wC xC yC zC 0C 1C 2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC","2":"JC"},H:{"2":"HD"},I:{"1":"DC J I KD LD ZC MD ND","16":"ID JD"},J:{"1":"D A"},K:{"1":"H","2":"A B C 7B YC 8B"},L:{"1":"I"},M:{"1":"6B"},N:{"2":"A B"},O:{"1":"9B"},P:{"1":"J u v w x y z OD PD QD RD SD KC TD UD VD WD XD AC BC CC YD"},Q:{"1":"ZD"},R:{"1":"aD"},S:{"1":"bD cD"}},B:1,C:"Link type \"noreferrer\"",D:true}; +module.exports={A:{A:{"2":"K D E F A gC","132":"B"},B:{"1":"5 6 7 8 9 L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I","16":"C"},C:{"1":"5 6 7 8 9 TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC","2":"0 1 2 3 4 hC IC J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB jC kC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC","16":"J LB K D E F A B C L M G"},E:{"1":"LB K D E F A B C L M G mC nC oC pC PC CC DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC","2":"J lC OC"},F:{"1":"0 1 2 3 4 G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x","2":"F B C xC yC zC 0C CC eC 1C DC"},G:{"1":"E 2C fC 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC","2":"OC"},H:{"2":"PD"},I:{"1":"IC J I SD TD fC UD VD","16":"QD RD"},J:{"1":"D A"},K:{"1":"H","2":"A B C CC eC DC"},L:{"1":"I"},M:{"1":"BC"},N:{"2":"A B"},O:{"1":"EC"},P:{"1":"0 1 2 3 4 J y z WD XD YD ZD aD PC bD cD dD eD fD FC GC HC gD"},Q:{"1":"hD"},R:{"1":"iD"},S:{"1":"jD kD"}},B:1,C:"Link type \"noreferrer\"",D:true}; diff --git a/node_modules/caniuse-lite/data/features/rellist.js b/node_modules/caniuse-lite/data/features/rellist.js index 301335566b..3e6db7a077 100644 --- a/node_modules/caniuse-lite/data/features/rellist.js +++ b/node_modules/caniuse-lite/data/features/rellist.js @@ -1 +1 @@ -module.exports={A:{A:{"2":"K D E F A B aC"},B:{"1":"0 1 2 3 4 5 6 7 8 9 P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I","2":"C L M G N","132":"O"},C:{"1":"0 1 2 3 4 5 6 7 8 9 LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC","2":"bC DC J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB dC eC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC","2":"J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB","132":"fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB"},E:{"1":"F A B C L M G jC KC 7B 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC","2":"J FB K D E fC JC gC hC iC"},F:{"1":"hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t","2":"F B C G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB qC rC sC tC 7B YC uC 8B","132":"SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB"},G:{"1":"0C 1C 2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC","2":"E JC vC ZC wC xC yC zC"},H:{"2":"HD"},I:{"1":"I","2":"DC J ID JD KD LD ZC MD ND"},J:{"2":"D A"},K:{"1":"H","2":"A B C 7B YC 8B"},L:{"1":"I"},M:{"1":"6B"},N:{"2":"A B"},O:{"1":"9B"},P:{"1":"u v w x y z SD KC TD UD VD WD XD AC BC CC YD","2":"J","132":"OD PD QD RD"},Q:{"1":"ZD"},R:{"1":"aD"},S:{"1":"bD cD"}},B:1,C:"relList (DOMTokenList)",D:true}; +module.exports={A:{A:{"2":"K D E F A B gC"},B:{"1":"5 6 7 8 9 P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I","2":"C L M G N","132":"O"},C:{"1":"5 6 7 8 9 QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC","2":"0 1 2 3 4 hC IC J LB K D E F A B C L M G N O P MB y z NB OB PB jC kC"},D:{"1":"5 6 7 8 9 xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC","2":"0 1 2 3 4 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB","132":"kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB"},E:{"1":"F A B C L M G pC PC CC DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC","2":"J LB K D E lC OC mC nC oC"},F:{"1":"mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x","2":"0 1 2 3 4 F B C G N O P MB y z NB OB PB QB RB SB TB UB VB WB xC yC zC 0C CC eC 1C DC","132":"XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB"},G:{"1":"7C 8C 9C AD BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC","2":"E OC 2C fC 3C 4C 5C 6C"},H:{"2":"PD"},I:{"1":"I","2":"IC J QD RD SD TD fC UD VD"},J:{"2":"D A"},K:{"1":"H","2":"A B C CC eC DC"},L:{"1":"I"},M:{"1":"BC"},N:{"2":"A B"},O:{"1":"EC"},P:{"1":"0 1 2 3 4 y z aD PC bD cD dD eD fD FC GC HC gD","2":"J","132":"WD XD YD ZD"},Q:{"1":"hD"},R:{"1":"iD"},S:{"1":"jD kD"}},B:1,C:"relList (DOMTokenList)",D:true}; diff --git a/node_modules/caniuse-lite/data/features/rem.js b/node_modules/caniuse-lite/data/features/rem.js index a36b746f8b..ab90a9020c 100644 --- a/node_modules/caniuse-lite/data/features/rem.js +++ b/node_modules/caniuse-lite/data/features/rem.js @@ -1 +1 @@ -module.exports={A:{A:{"1":"B","2":"K D E aC","132":"F A"},B:{"1":"0 1 2 3 4 5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC eC","2":"bC DC dC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC"},E:{"1":"FB K D E F A B C L M G gC hC iC jC KC 7B 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC","2":"J fC JC"},F:{"1":"C G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t uC 8B","2":"F B qC rC sC tC 7B YC"},G:{"1":"E vC ZC xC yC zC 0C 1C 2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC","2":"JC","260":"wC"},H:{"1":"HD"},I:{"1":"DC J I ID JD KD LD ZC MD ND"},J:{"1":"D A"},K:{"1":"C H 8B","2":"A B 7B YC"},L:{"1":"I"},M:{"1":"6B"},N:{"1":"A B"},O:{"1":"9B"},P:{"1":"J u v w x y z OD PD QD RD SD KC TD UD VD WD XD AC BC CC YD"},Q:{"1":"ZD"},R:{"1":"aD"},S:{"1":"bD cD"}},B:4,C:"rem (root em) units",D:true}; +module.exports={A:{A:{"1":"B","2":"K D E gC","132":"F A"},B:{"1":"5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC kC","2":"hC IC jC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC"},E:{"1":"LB K D E F A B C L M G mC nC oC pC PC CC DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC","2":"J lC OC"},F:{"1":"0 1 2 3 4 C G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x 1C DC","2":"F B xC yC zC 0C CC eC"},G:{"1":"E 2C fC 4C 5C 6C 7C 8C 9C AD BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC","2":"OC","260":"3C"},H:{"1":"PD"},I:{"1":"IC J I QD RD SD TD fC UD VD"},J:{"1":"D A"},K:{"1":"C H DC","2":"A B CC eC"},L:{"1":"I"},M:{"1":"BC"},N:{"1":"A B"},O:{"1":"EC"},P:{"1":"0 1 2 3 4 J y z WD XD YD ZD aD PC bD cD dD eD fD FC GC HC gD"},Q:{"1":"hD"},R:{"1":"iD"},S:{"1":"jD kD"}},B:4,C:"rem (root em) units",D:true}; diff --git a/node_modules/caniuse-lite/data/features/requestanimationframe.js b/node_modules/caniuse-lite/data/features/requestanimationframe.js index e544227b23..7c6739eebf 100644 --- a/node_modules/caniuse-lite/data/features/requestanimationframe.js +++ b/node_modules/caniuse-lite/data/features/requestanimationframe.js @@ -1 +1 @@ -module.exports={A:{A:{"1":"A B","2":"K D E F aC"},B:{"1":"0 1 2 3 4 5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC","2":"bC DC dC eC","33":"B C L M G N O P GB u v w","164":"J FB K D E F A"},D:{"1":"0 1 2 3 4 5 6 7 8 9 y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC","2":"J FB K D E F","33":"w x","164":"P GB u v","420":"A B C L M G N O"},E:{"1":"D E F A B C L M G hC iC jC KC 7B 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC","2":"J FB fC JC gC","33":"K"},F:{"1":"G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t","2":"F B C qC rC sC tC 7B YC uC 8B"},G:{"1":"E yC zC 0C 1C 2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC","2":"JC vC ZC wC","33":"xC"},H:{"2":"HD"},I:{"1":"I MD ND","2":"DC J ID JD KD LD ZC"},J:{"1":"A","2":"D"},K:{"1":"H","2":"A B C 7B YC 8B"},L:{"1":"I"},M:{"1":"6B"},N:{"1":"A B"},O:{"1":"9B"},P:{"1":"J u v w x y z OD PD QD RD SD KC TD UD VD WD XD AC BC CC YD"},Q:{"1":"ZD"},R:{"1":"aD"},S:{"1":"bD cD"}},B:1,C:"requestAnimationFrame",D:true}; +module.exports={A:{A:{"1":"A B","2":"K D E F gC"},B:{"1":"5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I"},C:{"1":"1 2 3 4 5 6 7 8 9 NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC","2":"hC IC jC kC","33":"0 B C L M G N O P MB y z","164":"J LB K D E F A"},D:{"1":"2 3 4 5 6 7 8 9 NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC","2":"J LB K D E F","33":"0 1","164":"P MB y z","420":"A B C L M G N O"},E:{"1":"D E F A B C L M G nC oC pC PC CC DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC","2":"J LB lC OC mC","33":"K"},F:{"1":"0 1 2 3 4 G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x","2":"F B C xC yC zC 0C CC eC 1C DC"},G:{"1":"E 5C 6C 7C 8C 9C AD BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC","2":"OC 2C fC 3C","33":"4C"},H:{"2":"PD"},I:{"1":"I UD VD","2":"IC J QD RD SD TD fC"},J:{"1":"A","2":"D"},K:{"1":"H","2":"A B C CC eC DC"},L:{"1":"I"},M:{"1":"BC"},N:{"1":"A B"},O:{"1":"EC"},P:{"1":"0 1 2 3 4 J y z WD XD YD ZD aD PC bD cD dD eD fD FC GC HC gD"},Q:{"1":"hD"},R:{"1":"iD"},S:{"1":"jD kD"}},B:1,C:"requestAnimationFrame",D:true}; diff --git a/node_modules/caniuse-lite/data/features/requestidlecallback.js b/node_modules/caniuse-lite/data/features/requestidlecallback.js index 6f90941019..acca4361e7 100644 --- a/node_modules/caniuse-lite/data/features/requestidlecallback.js +++ b/node_modules/caniuse-lite/data/features/requestidlecallback.js @@ -1 +1 @@ -module.exports={A:{A:{"2":"K D E F A B aC"},B:{"1":"0 1 2 3 4 5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I","2":"C L M G N O P"},C:{"1":"0 1 2 3 4 5 6 7 8 9 kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC","2":"bC DC J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB dC eC","194":"iB jB"},D:{"1":"0 1 2 3 4 5 6 7 8 9 cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC","2":"J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB"},E:{"1":"pC","2":"J FB K D E F A B C L fC JC gC hC iC jC KC 7B 8B","322":"M G kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC"},F:{"1":"PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t","2":"F B C G N O P GB u v w x y z HB IB JB KB LB MB NB OB qC rC sC tC 7B YC uC 8B"},G:{"2":"E JC vC ZC wC xC yC zC 0C 1C 2C 3C 4C 5C 6C 7C 8C 9C AD","322":"BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC"},H:{"2":"HD"},I:{"1":"I","2":"DC J ID JD KD LD ZC MD ND"},J:{"2":"D A"},K:{"1":"H","2":"A B C 7B YC 8B"},L:{"1":"I"},M:{"1":"6B"},N:{"2":"A B"},O:{"1":"9B"},P:{"1":"u v w x y z OD PD QD RD SD KC TD UD VD WD XD AC BC CC YD","2":"J"},Q:{"1":"ZD"},R:{"1":"aD"},S:{"1":"cD","2":"bD"}},B:5,C:"requestIdleCallback",D:true}; +module.exports={A:{A:{"2":"K D E F A B gC"},B:{"1":"5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I","2":"C L M G N O P"},C:{"1":"5 6 7 8 9 pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC","2":"0 1 2 3 4 hC IC J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB jC kC","194":"nB oB"},D:{"1":"5 6 7 8 9 hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC","2":"0 1 2 3 4 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB"},E:{"1":"wC","2":"J LB K D E F A B C L lC OC mC nC oC pC PC CC DC","322":"M G qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC"},F:{"1":"UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x","2":"0 1 2 3 4 F B C G N O P MB y z NB OB PB QB RB SB TB xC yC zC 0C CC eC 1C DC"},G:{"2":"E OC 2C fC 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED FD GD HD","322":"ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC"},H:{"2":"PD"},I:{"1":"I","2":"IC J QD RD SD TD fC UD VD"},J:{"2":"D A"},K:{"1":"H","2":"A B C CC eC DC"},L:{"1":"I"},M:{"1":"BC"},N:{"2":"A B"},O:{"1":"EC"},P:{"1":"0 1 2 3 4 y z WD XD YD ZD aD PC bD cD dD eD fD FC GC HC gD","2":"J"},Q:{"1":"hD"},R:{"1":"iD"},S:{"1":"kD","2":"jD"}},B:5,C:"requestIdleCallback",D:true}; diff --git a/node_modules/caniuse-lite/data/features/resizeobserver.js b/node_modules/caniuse-lite/data/features/resizeobserver.js index 13188be037..104de97a95 100644 --- a/node_modules/caniuse-lite/data/features/resizeobserver.js +++ b/node_modules/caniuse-lite/data/features/resizeobserver.js @@ -1 +1 @@ -module.exports={A:{A:{"2":"K D E F A B aC"},B:{"1":"0 1 2 3 4 5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I","2":"C L M G N O P"},C:{"1":"0 1 2 3 4 5 6 7 8 9 wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC","2":"bC DC J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB dC eC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC","2":"J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB","194":"jB kB lB mB nB EC oB FC pB qB"},E:{"1":"M G kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC","2":"J FB K D E F A B C fC JC gC hC iC jC KC 7B 8B","66":"L"},F:{"1":"hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t","2":"F B C G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB qC rC sC tC 7B YC uC 8B","194":"WB XB YB ZB aB bB cB dB eB fB gB"},G:{"1":"BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC","2":"E JC vC ZC wC xC yC zC 0C 1C 2C 3C 4C 5C 6C 7C 8C 9C AD"},H:{"2":"HD"},I:{"1":"I","2":"DC J ID JD KD LD ZC MD ND"},J:{"2":"D A"},K:{"1":"H","2":"A B C 7B YC 8B"},L:{"1":"I"},M:{"1":"6B"},N:{"2":"A B"},O:{"1":"9B"},P:{"1":"u v w x y z SD KC TD UD VD WD XD AC BC CC YD","2":"J OD PD QD RD"},Q:{"1":"ZD"},R:{"1":"aD"},S:{"1":"cD","2":"bD"}},B:5,C:"Resize Observer",D:true}; +module.exports={A:{A:{"2":"K D E F A B gC"},B:{"1":"5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I","2":"C L M G N O P"},C:{"1":"5 6 7 8 9 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC","2":"0 1 2 3 4 hC IC J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B jC kC"},D:{"1":"5 6 7 8 9 wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC","2":"0 1 2 3 4 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB","194":"oB pB qB rB sB JC tB KC uB vB"},E:{"1":"M G qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC","2":"J LB K D E F A B C lC OC mC nC oC pC PC CC DC","66":"L"},F:{"1":"mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x","2":"0 1 2 3 4 F B C G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB xC yC zC 0C CC eC 1C DC","194":"bB cB dB eB fB gB hB iB jB kB lB"},G:{"1":"ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC","2":"E OC 2C fC 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED FD GD HD"},H:{"2":"PD"},I:{"1":"I","2":"IC J QD RD SD TD fC UD VD"},J:{"2":"D A"},K:{"1":"H","2":"A B C CC eC DC"},L:{"1":"I"},M:{"1":"BC"},N:{"2":"A B"},O:{"1":"EC"},P:{"1":"0 1 2 3 4 y z aD PC bD cD dD eD fD FC GC HC gD","2":"J WD XD YD ZD"},Q:{"1":"hD"},R:{"1":"iD"},S:{"1":"kD","2":"jD"}},B:5,C:"Resize Observer",D:true}; diff --git a/node_modules/caniuse-lite/data/features/resource-timing.js b/node_modules/caniuse-lite/data/features/resource-timing.js index cb5bb72c28..0251af8885 100644 --- a/node_modules/caniuse-lite/data/features/resource-timing.js +++ b/node_modules/caniuse-lite/data/features/resource-timing.js @@ -1 +1 @@ -module.exports={A:{A:{"1":"A B","2":"K D E F aC"},B:{"1":"0 1 2 3 4 5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC","2":"bC DC J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB dC eC","194":"MB NB OB PB"},D:{"1":"0 1 2 3 4 5 6 7 8 9 z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC","2":"J FB K D E F A B C L M G N O P GB u v w x y"},E:{"1":"C L M G 7B 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC","2":"J FB K D E F A fC JC gC hC iC jC KC","260":"B"},F:{"1":"G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t","2":"F B C qC rC sC tC 7B YC uC 8B"},G:{"1":"4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC","2":"E JC vC ZC wC xC yC zC 0C 1C 2C 3C"},H:{"2":"HD"},I:{"1":"I MD ND","2":"DC J ID JD KD LD ZC"},J:{"2":"D A"},K:{"1":"H","2":"A B C 7B YC 8B"},L:{"1":"I"},M:{"1":"6B"},N:{"1":"A B"},O:{"1":"9B"},P:{"1":"J u v w x y z OD PD QD RD SD KC TD UD VD WD XD AC BC CC YD"},Q:{"1":"ZD"},R:{"1":"aD"},S:{"1":"bD cD"}},B:4,C:"Resource Timing (basic support)",D:true}; +module.exports={A:{A:{"1":"A B","2":"K D E F gC"},B:{"1":"5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I"},C:{"1":"5 6 7 8 9 VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC","2":"0 1 2 3 4 hC IC J LB K D E F A B C L M G N O P MB y z NB OB PB QB jC kC","194":"RB SB TB UB"},D:{"1":"3 4 5 6 7 8 9 NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC","2":"0 1 2 J LB K D E F A B C L M G N O P MB y z"},E:{"1":"C L M G CC DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC","2":"J LB K D E F A lC OC mC nC oC pC PC","260":"B"},F:{"1":"0 1 2 3 4 G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x","2":"F B C xC yC zC 0C CC eC 1C DC"},G:{"1":"BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC","2":"E OC 2C fC 3C 4C 5C 6C 7C 8C 9C AD"},H:{"2":"PD"},I:{"1":"I UD VD","2":"IC J QD RD SD TD fC"},J:{"2":"D A"},K:{"1":"H","2":"A B C CC eC DC"},L:{"1":"I"},M:{"1":"BC"},N:{"1":"A B"},O:{"1":"EC"},P:{"1":"0 1 2 3 4 J y z WD XD YD ZD aD PC bD cD dD eD fD FC GC HC gD"},Q:{"1":"hD"},R:{"1":"iD"},S:{"1":"jD kD"}},B:4,C:"Resource Timing (basic support)",D:true}; diff --git a/node_modules/caniuse-lite/data/features/rest-parameters.js b/node_modules/caniuse-lite/data/features/rest-parameters.js index 783e841c14..cc4b9ef2b0 100644 --- a/node_modules/caniuse-lite/data/features/rest-parameters.js +++ b/node_modules/caniuse-lite/data/features/rest-parameters.js @@ -1 +1 @@ -module.exports={A:{A:{"2":"K D E F A B aC"},B:{"1":"0 1 2 3 4 5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC","2":"bC DC J FB K D E F A B C L M dC eC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC","2":"J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB","194":"ZB aB bB"},E:{"1":"A B C L M G KC 7B 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC","2":"J FB K D E F fC JC gC hC iC jC"},F:{"1":"PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t","2":"F B C G N O P GB u v w x y z HB IB JB KB LB qC rC sC tC 7B YC uC 8B","194":"MB NB OB"},G:{"1":"2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC","2":"E JC vC ZC wC xC yC zC 0C 1C"},H:{"2":"HD"},I:{"1":"I","2":"DC J ID JD KD LD ZC MD ND"},J:{"2":"D A"},K:{"1":"H","2":"A B C 7B YC 8B"},L:{"1":"I"},M:{"1":"6B"},N:{"2":"A B"},O:{"1":"9B"},P:{"1":"u v w x y z OD PD QD RD SD KC TD UD VD WD XD AC BC CC YD","2":"J"},Q:{"1":"ZD"},R:{"1":"aD"},S:{"1":"bD cD"}},B:6,C:"Rest parameters",D:true}; +module.exports={A:{A:{"2":"K D E F A B gC"},B:{"1":"5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC","2":"hC IC J LB K D E F A B C L M jC kC"},D:{"1":"5 6 7 8 9 hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC","2":"0 1 2 3 4 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB","194":"eB fB gB"},E:{"1":"A B C L M G PC CC DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC","2":"J LB K D E F lC OC mC nC oC pC"},F:{"1":"UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x","2":"0 1 2 3 4 F B C G N O P MB y z NB OB PB QB xC yC zC 0C CC eC 1C DC","194":"RB SB TB"},G:{"1":"9C AD BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC","2":"E OC 2C fC 3C 4C 5C 6C 7C 8C"},H:{"2":"PD"},I:{"1":"I","2":"IC J QD RD SD TD fC UD VD"},J:{"2":"D A"},K:{"1":"H","2":"A B C CC eC DC"},L:{"1":"I"},M:{"1":"BC"},N:{"2":"A B"},O:{"1":"EC"},P:{"1":"0 1 2 3 4 y z WD XD YD ZD aD PC bD cD dD eD fD FC GC HC gD","2":"J"},Q:{"1":"hD"},R:{"1":"iD"},S:{"1":"jD kD"}},B:6,C:"Rest parameters",D:true}; diff --git a/node_modules/caniuse-lite/data/features/rtcpeerconnection.js b/node_modules/caniuse-lite/data/features/rtcpeerconnection.js index 24988eeab5..631072bf1a 100644 --- a/node_modules/caniuse-lite/data/features/rtcpeerconnection.js +++ b/node_modules/caniuse-lite/data/features/rtcpeerconnection.js @@ -1 +1 @@ -module.exports={A:{A:{"2":"K D E F A B aC"},B:{"1":"0 1 2 3 4 5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I","2":"C L M","260":"G N O P"},C:{"1":"0 1 2 3 4 5 6 7 8 9 ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC","2":"bC DC J FB K D E F A B C L M G N O P GB u v dC eC","33":"w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB"},D:{"1":"0 1 2 3 4 5 6 7 8 9 lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC","2":"J FB K D E F A B C L M G N O P GB u v w","33":"x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB"},E:{"1":"B C L M G 7B 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC","2":"J FB K D E F A fC JC gC hC iC jC KC"},F:{"1":"YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t","2":"F B C G N O qC rC sC tC 7B YC uC 8B","33":"P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB"},G:{"1":"4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC","2":"E JC vC ZC wC xC yC zC 0C 1C 2C 3C"},H:{"2":"HD"},I:{"1":"I","2":"DC J ID JD KD LD ZC MD ND"},J:{"2":"D","130":"A"},K:{"1":"H","2":"A B C 7B YC 8B"},L:{"1":"I"},M:{"1":"6B"},N:{"2":"A B"},O:{"1":"9B"},P:{"1":"u v w x y z PD QD RD SD KC TD UD VD WD XD AC BC CC YD","33":"J OD"},Q:{"1":"ZD"},R:{"1":"aD"},S:{"1":"bD cD"}},B:5,C:"WebRTC Peer-to-peer connections",D:true}; +module.exports={A:{A:{"2":"K D E F A B gC"},B:{"1":"5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I","2":"C L M","260":"G N O P"},C:{"1":"5 6 7 8 9 eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC","2":"hC IC J LB K D E F A B C L M G N O P MB y z jC kC","33":"0 1 2 3 4 NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB"},D:{"1":"5 6 7 8 9 qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC","2":"0 J LB K D E F A B C L M G N O P MB y z","33":"1 2 3 4 NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB"},E:{"1":"B C L M G CC DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC","2":"J LB K D E F A lC OC mC nC oC pC PC"},F:{"1":"dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x","2":"F B C G N O xC yC zC 0C CC eC 1C DC","33":"0 1 2 3 4 P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB"},G:{"1":"BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC","2":"E OC 2C fC 3C 4C 5C 6C 7C 8C 9C AD"},H:{"2":"PD"},I:{"1":"I","2":"IC J QD RD SD TD fC UD VD"},J:{"2":"D","130":"A"},K:{"1":"H","2":"A B C CC eC DC"},L:{"1":"I"},M:{"1":"BC"},N:{"2":"A B"},O:{"1":"EC"},P:{"1":"0 1 2 3 4 y z XD YD ZD aD PC bD cD dD eD fD FC GC HC gD","33":"J WD"},Q:{"1":"hD"},R:{"1":"iD"},S:{"1":"jD kD"}},B:5,C:"WebRTC Peer-to-peer connections",D:true}; diff --git a/node_modules/caniuse-lite/data/features/ruby.js b/node_modules/caniuse-lite/data/features/ruby.js index 69acd42cec..4ff7bbaf14 100644 --- a/node_modules/caniuse-lite/data/features/ruby.js +++ b/node_modules/caniuse-lite/data/features/ruby.js @@ -1 +1 @@ -module.exports={A:{A:{"4":"K D E aC","132":"F A B"},B:{"4":"0 1 2 3 4 5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC","8":"bC DC J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB dC eC"},D:{"4":"0 1 2 3 4 5 6 7 8 9 FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC","8":"J"},E:{"4":"FB K D E F A B C L M G gC hC iC jC KC 7B 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC","8":"J fC JC"},F:{"4":"G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t","8":"F B C qC rC sC tC 7B YC uC 8B"},G:{"4":"E wC xC yC zC 0C 1C 2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC","8":"JC vC ZC"},H:{"8":"HD"},I:{"4":"DC J I LD ZC MD ND","8":"ID JD KD"},J:{"4":"A","8":"D"},K:{"4":"H","8":"A B C 7B YC 8B"},L:{"4":"I"},M:{"1":"6B"},N:{"132":"A B"},O:{"4":"9B"},P:{"4":"J u v w x y z OD PD QD RD SD KC TD UD VD WD XD AC BC CC YD"},Q:{"4":"ZD"},R:{"4":"aD"},S:{"1":"bD cD"}},B:1,C:"Ruby annotation",D:true}; +module.exports={A:{A:{"4":"K D E gC","132":"F A B"},B:{"4":"5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I"},C:{"1":"5 6 7 8 9 YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC","8":"0 1 2 3 4 hC IC J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB jC kC"},D:{"4":"0 1 2 3 4 5 6 7 8 9 LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC","8":"J"},E:{"4":"LB K D E F A B C L M G mC nC oC pC PC CC DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC","8":"J lC OC"},F:{"4":"0 1 2 3 4 G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x","8":"F B C xC yC zC 0C CC eC 1C DC"},G:{"4":"E 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC","8":"OC 2C fC"},H:{"8":"PD"},I:{"4":"IC J I TD fC UD VD","8":"QD RD SD"},J:{"4":"A","8":"D"},K:{"4":"H","8":"A B C CC eC DC"},L:{"4":"I"},M:{"1":"BC"},N:{"132":"A B"},O:{"4":"EC"},P:{"4":"0 1 2 3 4 J y z WD XD YD ZD aD PC bD cD dD eD fD FC GC HC gD"},Q:{"4":"hD"},R:{"4":"iD"},S:{"1":"jD kD"}},B:1,C:"Ruby annotation",D:true}; diff --git a/node_modules/caniuse-lite/data/features/run-in.js b/node_modules/caniuse-lite/data/features/run-in.js index db7e5ac58f..7c81f6d04e 100644 --- a/node_modules/caniuse-lite/data/features/run-in.js +++ b/node_modules/caniuse-lite/data/features/run-in.js @@ -1 +1 @@ -module.exports={A:{A:{"1":"E F A B","2":"K D aC"},B:{"2":"0 1 2 3 4 5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I"},C:{"2":"0 1 2 3 4 5 6 7 8 9 bC DC J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC dC eC"},D:{"1":"J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB","2":"0 1 2 3 4 5 6 7 8 9 NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC"},E:{"1":"FB K gC","2":"D E F A B C L M G iC jC KC 7B 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC","16":"hC","129":"J fC JC"},F:{"1":"F B C G N O P qC rC sC tC 7B YC uC 8B","2":"GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t"},G:{"1":"vC ZC wC xC yC","2":"E zC 0C 1C 2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC","129":"JC"},H:{"1":"HD"},I:{"1":"DC J ID JD KD LD ZC MD","2":"I ND"},J:{"1":"D A"},K:{"1":"A B C 7B YC 8B","2":"H"},L:{"2":"I"},M:{"2":"6B"},N:{"1":"A B"},O:{"2":"9B"},P:{"2":"J u v w x y z OD PD QD RD SD KC TD UD VD WD XD AC BC CC YD"},Q:{"2":"ZD"},R:{"2":"aD"},S:{"2":"bD cD"}},B:4,C:"display: run-in",D:true}; +module.exports={A:{A:{"1":"E F A B","2":"K D gC"},B:{"2":"5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I"},C:{"2":"0 1 2 3 4 5 6 7 8 9 hC IC J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC jC kC"},D:{"1":"0 1 2 3 4 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB","2":"5 6 7 8 9 SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC"},E:{"1":"LB K mC","2":"D E F A B C L M G oC pC PC CC DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC","16":"nC","129":"J lC OC"},F:{"1":"F B C G N O P xC yC zC 0C CC eC 1C DC","2":"0 1 2 3 4 MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x"},G:{"1":"2C fC 3C 4C 5C","2":"E 6C 7C 8C 9C AD BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC","129":"OC"},H:{"1":"PD"},I:{"1":"IC J QD RD SD TD fC UD","2":"I VD"},J:{"1":"D A"},K:{"1":"A B C CC eC DC","2":"H"},L:{"2":"I"},M:{"2":"BC"},N:{"1":"A B"},O:{"2":"EC"},P:{"2":"0 1 2 3 4 J y z WD XD YD ZD aD PC bD cD dD eD fD FC GC HC gD"},Q:{"2":"hD"},R:{"2":"iD"},S:{"2":"jD kD"}},B:4,C:"display: run-in",D:true}; diff --git a/node_modules/caniuse-lite/data/features/same-site-cookie-attribute.js b/node_modules/caniuse-lite/data/features/same-site-cookie-attribute.js index f94f68aa66..7fc5e1b1f2 100644 --- a/node_modules/caniuse-lite/data/features/same-site-cookie-attribute.js +++ b/node_modules/caniuse-lite/data/features/same-site-cookie-attribute.js @@ -1 +1 @@ -module.exports={A:{A:{"2":"K D E F A aC","388":"B"},B:{"1":"P Q H R S T U","2":"C L M G","129":"N O","513":"0 1 2 3 4 5 6 7 8 9 V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC","2":"bC DC J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC dC eC"},D:{"1":"gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q","2":"J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB","513":"0 1 2 3 4 5 6 7 8 9 H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC"},E:{"1":"G mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC","2":"J FB K D E F A B fC JC gC hC iC jC KC 7B","2052":"M lC","3076":"C L 8B kC"},F:{"1":"UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB","2":"F B C G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB qC rC sC tC 7B YC uC 8B","513":"yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t"},G:{"1":"8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC","2":"E JC vC ZC wC xC yC zC 0C 1C 2C 3C 4C 5C","2052":"6C 7C"},H:{"2":"HD"},I:{"1":"I","2":"DC J ID JD KD LD ZC MD ND"},J:{"2":"D A"},K:{"2":"A B C 7B YC 8B","513":"H"},L:{"513":"I"},M:{"1":"6B"},N:{"2":"A B"},O:{"2":"9B"},P:{"1":"u v w x y z OD PD QD RD SD KC TD UD VD WD XD AC BC CC YD","2":"J"},Q:{"16":"ZD"},R:{"513":"aD"},S:{"1":"cD","2":"bD"}},B:6,C:"'SameSite' cookie attribute",D:true}; +module.exports={A:{A:{"2":"K D E F A gC","388":"B"},B:{"1":"P Q H R S T U","2":"C L M G","129":"N O","513":"5 6 7 8 9 V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I"},C:{"1":"5 6 7 8 9 tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC","2":"0 1 2 3 4 hC IC J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC jC kC"},D:{"1":"lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q","2":"0 1 2 3 4 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB","513":"5 6 7 8 9 H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC"},E:{"1":"G sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC","2":"J LB K D E F A B lC OC mC nC oC pC PC CC","2052":"M rC","3076":"C L DC qC"},F:{"1":"ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B","2":"0 1 2 3 4 F B C G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB xC yC zC 0C CC eC 1C DC","513":"3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x"},G:{"1":"FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC","2":"E OC 2C fC 3C 4C 5C 6C 7C 8C 9C AD BD CD","2052":"DD ED"},H:{"2":"PD"},I:{"1":"I","2":"IC J QD RD SD TD fC UD VD"},J:{"2":"D A"},K:{"2":"A B C CC eC DC","513":"H"},L:{"513":"I"},M:{"1":"BC"},N:{"2":"A B"},O:{"2":"EC"},P:{"1":"0 1 2 3 4 y z WD XD YD ZD aD PC bD cD dD eD fD FC GC HC gD","2":"J"},Q:{"16":"hD"},R:{"513":"iD"},S:{"1":"kD","2":"jD"}},B:6,C:"'SameSite' cookie attribute",D:true}; diff --git a/node_modules/caniuse-lite/data/features/screen-orientation.js b/node_modules/caniuse-lite/data/features/screen-orientation.js index 95e8d66812..e540d40f8b 100644 --- a/node_modules/caniuse-lite/data/features/screen-orientation.js +++ b/node_modules/caniuse-lite/data/features/screen-orientation.js @@ -1 +1 @@ -module.exports={A:{A:{"2":"K D E F A aC","164":"B"},B:{"1":"0 1 2 3 4 5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I","36":"C L M G N O P"},C:{"1":"0 1 2 3 4 5 6 7 8 9 ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC","2":"bC DC J FB K D E F A B C L M G N O dC eC","36":"P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB"},D:{"1":"0 1 2 3 4 5 6 7 8 9 TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC","2":"J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB"},E:{"1":"QC RC oC BC SC TC UC VC WC XC CC pC","2":"J FB K D E F A B C L M G fC JC gC hC iC jC KC 7B 8B kC lC mC LC MC 9B nC AC NC OC PC"},F:{"1":"z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t","2":"F B C G N O P GB u v w x y qC rC sC tC 7B YC uC 8B"},G:{"1":"QC RC GD BC SC TC UC VC WC XC CC","2":"E JC vC ZC wC xC yC zC 0C 1C 2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC"},H:{"2":"HD"},I:{"2":"DC J I ID JD KD LD ZC MD ND"},J:{"2":"D A"},K:{"1":"H","2":"A B C 7B YC 8B"},L:{"1":"I"},M:{"1":"6B"},N:{"2":"A","36":"B"},O:{"1":"9B"},P:{"1":"u v w x y z OD PD QD RD SD KC TD UD VD WD XD AC BC CC YD","16":"J"},Q:{"1":"ZD"},R:{"1":"aD"},S:{"1":"bD cD"}},B:5,C:"Screen Orientation",D:true}; +module.exports={A:{A:{"2":"K D E F A gC","164":"B"},B:{"1":"5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I","36":"C L M G N O P"},C:{"1":"5 6 7 8 9 eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC","2":"hC IC J LB K D E F A B C L M G N O jC kC","36":"0 1 2 3 4 P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB"},D:{"1":"5 6 7 8 9 YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC","2":"0 1 2 3 4 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB"},E:{"1":"VC WC uC GC XC YC ZC aC bC vC HC cC dC wC","2":"J LB K D E F A B C L M G lC OC mC nC oC pC PC CC DC qC rC sC QC RC EC tC FC SC TC UC"},F:{"1":"3 4 NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x","2":"0 1 2 F B C G N O P MB y z xC yC zC 0C CC eC 1C DC"},G:{"1":"VC WC ND GC XC YC ZC aC bC OD HC cC dC","2":"E OC 2C fC 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC"},H:{"2":"PD"},I:{"2":"IC J I QD RD SD TD fC UD VD"},J:{"2":"D A"},K:{"1":"H","2":"A B C CC eC DC"},L:{"1":"I"},M:{"1":"BC"},N:{"2":"A","36":"B"},O:{"1":"EC"},P:{"1":"0 1 2 3 4 y z WD XD YD ZD aD PC bD cD dD eD fD FC GC HC gD","16":"J"},Q:{"1":"hD"},R:{"1":"iD"},S:{"1":"jD kD"}},B:5,C:"Screen Orientation",D:true}; diff --git a/node_modules/caniuse-lite/data/features/script-async.js b/node_modules/caniuse-lite/data/features/script-async.js index f555edc30c..850742a37f 100644 --- a/node_modules/caniuse-lite/data/features/script-async.js +++ b/node_modules/caniuse-lite/data/features/script-async.js @@ -1 +1 @@ -module.exports={A:{A:{"1":"A B","2":"K D E F aC"},B:{"1":"0 1 2 3 4 5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC eC","2":"bC DC dC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC","2":"J FB K D"},E:{"1":"K D E F A B C L M G gC hC iC jC KC 7B 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC","2":"J fC JC","132":"FB"},F:{"1":"G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t","2":"F B C qC rC sC tC 7B YC uC 8B"},G:{"1":"E wC xC yC zC 0C 1C 2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC","2":"JC vC ZC"},H:{"2":"HD"},I:{"1":"DC J I LD ZC MD ND","2":"ID JD KD"},J:{"1":"D A"},K:{"1":"H","2":"A B C 7B YC 8B"},L:{"1":"I"},M:{"1":"6B"},N:{"1":"A B"},O:{"1":"9B"},P:{"1":"J u v w x y z OD PD QD RD SD KC TD UD VD WD XD AC BC CC YD"},Q:{"1":"ZD"},R:{"1":"aD"},S:{"1":"bD cD"}},B:1,C:"async attribute for external scripts",D:true}; +module.exports={A:{A:{"1":"A B","2":"K D E F gC"},B:{"1":"5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC kC","2":"hC IC jC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC","2":"J LB K D"},E:{"1":"K D E F A B C L M G mC nC oC pC PC CC DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC","2":"J lC OC","132":"LB"},F:{"1":"0 1 2 3 4 G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x","2":"F B C xC yC zC 0C CC eC 1C DC"},G:{"1":"E 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC","2":"OC 2C fC"},H:{"2":"PD"},I:{"1":"IC J I TD fC UD VD","2":"QD RD SD"},J:{"1":"D A"},K:{"1":"H","2":"A B C CC eC DC"},L:{"1":"I"},M:{"1":"BC"},N:{"1":"A B"},O:{"1":"EC"},P:{"1":"0 1 2 3 4 J y z WD XD YD ZD aD PC bD cD dD eD fD FC GC HC gD"},Q:{"1":"hD"},R:{"1":"iD"},S:{"1":"jD kD"}},B:1,C:"async attribute for external scripts",D:true}; diff --git a/node_modules/caniuse-lite/data/features/script-defer.js b/node_modules/caniuse-lite/data/features/script-defer.js index d98c7bf69d..815792610a 100644 --- a/node_modules/caniuse-lite/data/features/script-defer.js +++ b/node_modules/caniuse-lite/data/features/script-defer.js @@ -1 +1 @@ -module.exports={A:{A:{"1":"A B","132":"K D E F aC"},B:{"1":"0 1 2 3 4 5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC","2":"bC DC","257":"J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB dC eC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC","2":"J FB K D"},E:{"1":"FB K D E F A B C L M G gC hC iC jC KC 7B 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC","2":"J fC JC"},F:{"1":"G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t","2":"F B C qC rC sC tC 7B YC uC 8B"},G:{"1":"E wC xC yC zC 0C 1C 2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC","2":"JC vC ZC"},H:{"2":"HD"},I:{"1":"DC J I LD ZC MD ND","2":"ID JD KD"},J:{"1":"D A"},K:{"1":"H","2":"A B C 7B YC 8B"},L:{"1":"I"},M:{"1":"6B"},N:{"1":"A B"},O:{"1":"9B"},P:{"1":"J u v w x y z OD PD QD RD SD KC TD UD VD WD XD AC BC CC YD"},Q:{"1":"ZD"},R:{"1":"aD"},S:{"1":"bD cD"}},B:1,C:"defer attribute for external scripts",D:true}; +module.exports={A:{A:{"1":"A B","132":"K D E F gC"},B:{"1":"5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I"},C:{"1":"5 6 7 8 9 RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC","2":"hC IC","257":"0 1 2 3 4 J LB K D E F A B C L M G N O P MB y z NB OB PB QB jC kC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC","2":"J LB K D"},E:{"1":"LB K D E F A B C L M G mC nC oC pC PC CC DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC","2":"J lC OC"},F:{"1":"0 1 2 3 4 G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x","2":"F B C xC yC zC 0C CC eC 1C DC"},G:{"1":"E 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC","2":"OC 2C fC"},H:{"2":"PD"},I:{"1":"IC J I TD fC UD VD","2":"QD RD SD"},J:{"1":"D A"},K:{"1":"H","2":"A B C CC eC DC"},L:{"1":"I"},M:{"1":"BC"},N:{"1":"A B"},O:{"1":"EC"},P:{"1":"0 1 2 3 4 J y z WD XD YD ZD aD PC bD cD dD eD fD FC GC HC gD"},Q:{"1":"hD"},R:{"1":"iD"},S:{"1":"jD kD"}},B:1,C:"defer attribute for external scripts",D:true}; diff --git a/node_modules/caniuse-lite/data/features/scrollintoview.js b/node_modules/caniuse-lite/data/features/scrollintoview.js index ed66cc96dd..1ae1d04c10 100644 --- a/node_modules/caniuse-lite/data/features/scrollintoview.js +++ b/node_modules/caniuse-lite/data/features/scrollintoview.js @@ -1 +1 @@ -module.exports={A:{A:{"2":"K D aC","132":"E F A B"},B:{"1":"0 1 2 3 4 5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I","132":"C L M G N O P"},C:{"1":"0 1 2 3 4 5 6 7 8 9 RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC","132":"bC DC J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB dC eC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC","132":"J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB"},E:{"1":"AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC","2":"J FB fC JC","132":"K D E F A B C L M G gC hC iC jC KC 7B 8B kC lC mC LC MC 9B nC"},F:{"1":"dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t","2":"F qC rC sC tC","16":"B 7B YC","132":"C G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB uC 8B"},G:{"1":"AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC","16":"JC vC ZC","132":"E wC xC yC zC 0C 1C 2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD"},H:{"2":"HD"},I:{"1":"I","16":"ID JD","132":"DC J KD LD ZC MD ND"},J:{"132":"D A"},K:{"1":"H","132":"A B C 7B YC 8B"},L:{"1":"I"},M:{"1":"6B"},N:{"132":"A B"},O:{"1":"9B"},P:{"1":"u v w x y z RD SD KC TD UD VD WD XD AC BC CC YD","132":"J OD PD QD"},Q:{"1":"ZD"},R:{"1":"aD"},S:{"1":"bD cD"}},B:5,C:"scrollIntoView",D:true}; +module.exports={A:{A:{"2":"K D gC","132":"E F A B"},B:{"1":"5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I","132":"C L M G N O P"},C:{"1":"5 6 7 8 9 WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC","132":"0 1 2 3 4 hC IC J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB jC kC"},D:{"1":"5 6 7 8 9 KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC","132":"0 1 2 3 4 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB"},E:{"1":"FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC","2":"J LB lC OC","132":"K D E F A B C L M G mC nC oC pC PC CC DC qC rC sC QC RC EC tC"},F:{"1":"iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x","2":"F xC yC zC 0C","16":"B CC eC","132":"0 1 2 3 4 C G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB 1C DC"},G:{"1":"FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC","16":"OC 2C fC","132":"E 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD"},H:{"2":"PD"},I:{"1":"I","16":"QD RD","132":"IC J SD TD fC UD VD"},J:{"132":"D A"},K:{"1":"H","132":"A B C CC eC DC"},L:{"1":"I"},M:{"1":"BC"},N:{"132":"A B"},O:{"1":"EC"},P:{"1":"0 1 2 3 4 y z ZD aD PC bD cD dD eD fD FC GC HC gD","132":"J WD XD YD"},Q:{"1":"hD"},R:{"1":"iD"},S:{"1":"jD kD"}},B:5,C:"scrollIntoView",D:true}; diff --git a/node_modules/caniuse-lite/data/features/scrollintoviewifneeded.js b/node_modules/caniuse-lite/data/features/scrollintoviewifneeded.js index fef780a917..6bd2badee0 100644 --- a/node_modules/caniuse-lite/data/features/scrollintoviewifneeded.js +++ b/node_modules/caniuse-lite/data/features/scrollintoviewifneeded.js @@ -1 +1 @@ -module.exports={A:{A:{"2":"K D E F A B aC"},B:{"1":"0 1 2 3 4 5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I","2":"C L M G N O P"},C:{"2":"0 1 2 3 4 5 6 7 8 9 bC DC J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC dC eC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC","16":"J FB K D E F A B C L M"},E:{"1":"K D E F A B C L M G gC hC iC jC KC 7B 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC","16":"J FB fC JC"},F:{"1":"G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t","2":"F B C qC rC sC tC 7B YC uC 8B"},G:{"1":"E wC xC yC zC 0C 1C 2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC","16":"JC vC ZC"},H:{"2":"HD"},I:{"1":"DC J I KD LD ZC MD ND","16":"ID JD"},J:{"1":"D A"},K:{"1":"H","2":"A B C 7B YC 8B"},L:{"1":"I"},M:{"2":"6B"},N:{"2":"A B"},O:{"1":"9B"},P:{"1":"J u v w x y z OD PD QD RD SD KC TD UD VD WD XD AC BC CC YD"},Q:{"1":"ZD"},R:{"1":"aD"},S:{"2":"bD cD"}},B:7,C:"Element.scrollIntoViewIfNeeded()",D:true}; +module.exports={A:{A:{"2":"K D E F A B gC"},B:{"1":"5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I","2":"C L M G N O P"},C:{"2":"0 1 2 3 4 5 6 7 8 9 hC IC J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC jC kC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC","16":"J LB K D E F A B C L M"},E:{"1":"K D E F A B C L M G mC nC oC pC PC CC DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC","16":"J LB lC OC"},F:{"1":"0 1 2 3 4 G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x","2":"F B C xC yC zC 0C CC eC 1C DC"},G:{"1":"E 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC","16":"OC 2C fC"},H:{"2":"PD"},I:{"1":"IC J I SD TD fC UD VD","16":"QD RD"},J:{"1":"D A"},K:{"1":"H","2":"A B C CC eC DC"},L:{"1":"I"},M:{"2":"BC"},N:{"2":"A B"},O:{"1":"EC"},P:{"1":"0 1 2 3 4 J y z WD XD YD ZD aD PC bD cD dD eD fD FC GC HC gD"},Q:{"1":"hD"},R:{"1":"iD"},S:{"2":"jD kD"}},B:7,C:"Element.scrollIntoViewIfNeeded()",D:true}; diff --git a/node_modules/caniuse-lite/data/features/sdch.js b/node_modules/caniuse-lite/data/features/sdch.js index bc57cf6f54..65cc949c2b 100644 --- a/node_modules/caniuse-lite/data/features/sdch.js +++ b/node_modules/caniuse-lite/data/features/sdch.js @@ -1 +1 @@ -module.exports={A:{A:{"2":"K D E F A B aC"},B:{"2":"0 1 2 3 4 5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I"},C:{"2":"0 1 2 3 4 5 6 7 8 9 bC DC J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC dC eC"},D:{"1":"J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB","2":"0 1 2 3 4 5 6 7 8 9 EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC"},E:{"2":"J FB K D E F A B C L M G fC JC gC hC iC jC KC 7B 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC"},F:{"1":"G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB","2":"F B C 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t qC rC sC tC 7B YC uC 8B"},G:{"2":"E JC vC ZC wC xC yC zC 0C 1C 2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC"},H:{"2":"HD"},I:{"1":"I","2":"DC J ID JD KD LD ZC MD ND"},J:{"2":"D A"},K:{"2":"A B C H 7B YC 8B"},L:{"2":"I"},M:{"2":"6B"},N:{"2":"A B"},O:{"2":"9B"},P:{"1":"u v w x y z OD PD QD RD SD KC TD UD VD WD XD AC BC CC YD","2":"J"},Q:{"2":"ZD"},R:{"2":"aD"},S:{"2":"bD cD"}},B:6,C:"SDCH Accept-Encoding/Content-Encoding",D:true}; +module.exports={A:{A:{"2":"K D E F A B gC"},B:{"2":"5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I"},C:{"2":"0 1 2 3 4 5 6 7 8 9 hC IC J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC jC kC"},D:{"1":"0 1 2 3 4 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB","2":"5 6 7 8 9 JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC"},E:{"2":"J LB K D E F A B C L M G lC OC mC nC oC pC PC CC DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC"},F:{"1":"0 1 2 3 4 G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B","2":"F B C 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x xC yC zC 0C CC eC 1C DC"},G:{"2":"E OC 2C fC 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC"},H:{"2":"PD"},I:{"1":"I","2":"IC J QD RD SD TD fC UD VD"},J:{"2":"D A"},K:{"2":"A B C H CC eC DC"},L:{"2":"I"},M:{"2":"BC"},N:{"2":"A B"},O:{"2":"EC"},P:{"1":"0 1 2 3 4 y z WD XD YD ZD aD PC bD cD dD eD fD FC GC HC gD","2":"J"},Q:{"2":"hD"},R:{"2":"iD"},S:{"2":"jD kD"}},B:6,C:"SDCH Accept-Encoding/Content-Encoding",D:true}; diff --git a/node_modules/caniuse-lite/data/features/selection-api.js b/node_modules/caniuse-lite/data/features/selection-api.js index 5d658e3528..52b0a843b9 100644 --- a/node_modules/caniuse-lite/data/features/selection-api.js +++ b/node_modules/caniuse-lite/data/features/selection-api.js @@ -1 +1 @@ -module.exports={A:{A:{"1":"F A B","16":"aC","260":"K D E"},B:{"1":"0 1 2 3 4 5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC","132":"bC DC J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB dC eC","2180":"YB ZB aB bB cB dB eB fB gB"},D:{"1":"0 1 2 3 4 5 6 7 8 9 G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC","16":"J FB K D E F A B C L M"},E:{"1":"K D E F A B C L M G gC hC iC jC KC 7B 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC","16":"J FB fC JC"},F:{"1":"G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t","132":"F B C qC rC sC tC 7B YC uC 8B"},G:{"16":"ZC","132":"JC vC","516":"E wC xC yC zC 0C 1C 2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC"},H:{"2":"HD"},I:{"1":"I MD ND","16":"DC J ID JD KD LD","1025":"ZC"},J:{"1":"A","16":"D"},K:{"1":"H","16":"A B C 7B YC","132":"8B"},L:{"1":"I"},M:{"1":"6B"},N:{"1":"B","16":"A"},O:{"1":"9B"},P:{"1":"J u v w x y z OD PD QD RD SD KC TD UD VD WD XD AC BC CC YD"},Q:{"1":"ZD"},R:{"1":"aD"},S:{"1":"cD","2180":"bD"}},B:5,C:"Selection API",D:true}; +module.exports={A:{A:{"1":"F A B","16":"gC","260":"K D E"},B:{"1":"5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I"},C:{"1":"5 6 7 8 9 mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC","132":"0 1 2 3 4 hC IC J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB jC kC","2180":"dB eB fB gB hB iB jB kB lB"},D:{"1":"0 1 2 3 4 5 6 7 8 9 G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC","16":"J LB K D E F A B C L M"},E:{"1":"K D E F A B C L M G mC nC oC pC PC CC DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC","16":"J LB lC OC"},F:{"1":"0 1 2 3 4 G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x","132":"F B C xC yC zC 0C CC eC 1C DC"},G:{"16":"fC","132":"OC 2C","516":"E 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC"},H:{"2":"PD"},I:{"1":"I UD VD","16":"IC J QD RD SD TD","1025":"fC"},J:{"1":"A","16":"D"},K:{"1":"H","16":"A B C CC eC","132":"DC"},L:{"1":"I"},M:{"1":"BC"},N:{"1":"B","16":"A"},O:{"1":"EC"},P:{"1":"0 1 2 3 4 J y z WD XD YD ZD aD PC bD cD dD eD fD FC GC HC gD"},Q:{"1":"hD"},R:{"1":"iD"},S:{"1":"kD","2180":"jD"}},B:5,C:"Selection API",D:true}; diff --git a/node_modules/caniuse-lite/data/features/selectlist.js b/node_modules/caniuse-lite/data/features/selectlist.js index 9133598761..997f035f47 100644 --- a/node_modules/caniuse-lite/data/features/selectlist.js +++ b/node_modules/caniuse-lite/data/features/selectlist.js @@ -1 +1 @@ -module.exports={A:{A:{"2":"K D E F A B aC"},B:{"2":"C L M G N O P Q H R S T U V W X Y Z a b c d e f","194":"0 1 2 3 4 5 6 7 8 9 g h i j k l m n o p q r s t AB BB CB DB EB I"},C:{"2":"0 1 2 3 4 5 6 7 8 9 bC DC J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC dC eC"},D:{"2":"J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f","194":"0 1 2 3 4 5 6 7 8 9 g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC"},E:{"2":"J FB K D E F A B C L M G fC JC gC hC iC jC KC 7B 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC"},F:{"2":"F B C G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC qC rC sC tC 7B YC uC 8B","194":"S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t"},G:{"2":"E JC vC ZC wC xC yC zC 0C 1C 2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC"},H:{"2":"HD"},I:{"2":"DC J I ID JD KD LD ZC MD ND"},J:{"2":"D A"},K:{"2":"A B C 7B YC 8B","194":"H"},L:{"194":"I"},M:{"2":"6B"},N:{"2":"A B"},O:{"2":"9B"},P:{"2":"J u v w x y z OD PD QD RD SD KC TD UD VD WD XD AC BC CC YD"},Q:{"2":"ZD"},R:{"2":"aD"},S:{"2":"bD cD"}},B:7,C:"Selectlist - Customizable select element",D:true}; +module.exports={A:{A:{"2":"K D E F A B gC"},B:{"2":"C L M G N O P Q H R S T U V W X Y Z a b c d e f","194":"5 6 7 8 9 g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I"},C:{"2":"0 1 2 3 4 5 6 7 8 9 hC IC J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC jC kC"},D:{"2":"0 1 2 3 4 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f","194":"5 6 7 8 9 g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC"},E:{"2":"J LB K D E F A B C L M G lC OC mC nC oC pC PC CC DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC"},F:{"2":"0 1 2 3 4 F B C G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC xC yC zC 0C CC eC 1C DC","194":"S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x"},G:{"2":"E OC 2C fC 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC"},H:{"2":"PD"},I:{"2":"IC J I QD RD SD TD fC UD VD"},J:{"2":"D A"},K:{"2":"A B C CC eC DC","194":"H"},L:{"194":"I"},M:{"2":"BC"},N:{"2":"A B"},O:{"2":"EC"},P:{"2":"0 1 2 3 4 J y z WD XD YD ZD aD PC bD cD dD eD fD FC GC HC gD"},Q:{"2":"hD"},R:{"2":"iD"},S:{"2":"jD kD"}},B:7,C:"Selectlist - Customizable select element",D:true}; diff --git a/node_modules/caniuse-lite/data/features/server-timing.js b/node_modules/caniuse-lite/data/features/server-timing.js index 8cd1afef86..5caef9681f 100644 --- a/node_modules/caniuse-lite/data/features/server-timing.js +++ b/node_modules/caniuse-lite/data/features/server-timing.js @@ -1 +1 @@ -module.exports={A:{A:{"2":"K D E F A B aC"},B:{"1":"0 1 2 3 4 5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I","2":"C L M G N O P"},C:{"1":"0 1 2 3 4 5 6 7 8 9 FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC","2":"bC DC J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB dC eC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC","2":"J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC","196":"oB FC pB qB","324":"rB"},E:{"1":"QC RC oC BC SC TC UC VC WC XC CC pC","2":"J FB K D E F A B C fC JC gC hC iC jC KC 7B","516":"L M G 8B kC lC mC LC MC 9B nC AC NC OC PC"},F:{"1":"hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t","2":"F B C G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB qC rC sC tC 7B YC uC 8B"},G:{"1":"QC RC GD BC SC TC UC VC WC XC CC","2":"E JC vC ZC wC xC yC zC 0C 1C 2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC"},H:{"2":"HD"},I:{"1":"I","2":"DC J ID JD KD LD ZC MD ND"},J:{"2":"D A"},K:{"1":"H","2":"A B C 7B YC 8B"},L:{"1":"I"},M:{"1":"6B"},N:{"2":"A B"},O:{"1":"9B"},P:{"2":"J u v w x y z OD PD QD RD SD KC TD UD VD WD XD AC BC CC YD"},Q:{"1":"ZD"},R:{"1":"aD"},S:{"1":"cD","2":"bD"}},B:5,C:"Server Timing",D:true}; +module.exports={A:{A:{"2":"K D E F A B gC"},B:{"1":"5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I","2":"C L M G N O P"},C:{"1":"5 6 7 8 9 KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC","2":"0 1 2 3 4 hC IC J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB jC kC"},D:{"1":"5 6 7 8 9 xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC","2":"0 1 2 3 4 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC","196":"tB KC uB vB","324":"wB"},E:{"1":"VC WC uC GC XC YC ZC aC bC vC HC cC dC wC","2":"J LB K D E F A B C lC OC mC nC oC pC PC CC","516":"L M G DC qC rC sC QC RC EC tC FC SC TC UC"},F:{"1":"mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x","2":"0 1 2 3 4 F B C G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB xC yC zC 0C CC eC 1C DC"},G:{"1":"VC WC ND GC XC YC ZC aC bC OD HC cC dC","2":"E OC 2C fC 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC"},H:{"2":"PD"},I:{"1":"I","2":"IC J QD RD SD TD fC UD VD"},J:{"2":"D A"},K:{"1":"H","2":"A B C CC eC DC"},L:{"1":"I"},M:{"1":"BC"},N:{"2":"A B"},O:{"1":"EC"},P:{"2":"0 1 2 3 4 J y z WD XD YD ZD aD PC bD cD dD eD fD FC GC HC gD"},Q:{"1":"hD"},R:{"1":"iD"},S:{"1":"kD","2":"jD"}},B:5,C:"Server Timing",D:true}; diff --git a/node_modules/caniuse-lite/data/features/serviceworkers.js b/node_modules/caniuse-lite/data/features/serviceworkers.js index a78002082e..11f9fb30a7 100644 --- a/node_modules/caniuse-lite/data/features/serviceworkers.js +++ b/node_modules/caniuse-lite/data/features/serviceworkers.js @@ -1 +1 @@ -module.exports={A:{A:{"2":"K D E F A B aC"},B:{"1":"0 1 2 3 4 5 6 7 8 9 O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I","2":"C L M","322":"G N"},C:{"1":"0 1 2 3 4 5 6 7 8 9 ZB bB cB dB eB fB gB iB jB kB lB mB nB EC FC pB qB rB sB tB uB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC","2":"bC DC J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB dC eC","194":"OB PB QB RB SB TB UB VB WB XB YB","513":"aB hB oB vB"},D:{"1":"0 1 2 3 4 5 6 7 8 9 aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC","2":"J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB","4":"VB WB XB YB ZB"},E:{"1":"C L M G 7B 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC","2":"J FB K D E F A B fC JC gC hC iC jC KC"},F:{"1":"NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t","2":"F B C G N O P GB u v w x y z HB qC rC sC tC 7B YC uC 8B","4":"IB JB KB LB MB"},G:{"1":"5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC","2":"E JC vC ZC wC xC yC zC 0C 1C 2C 3C 4C"},H:{"2":"HD"},I:{"2":"DC J ID JD KD LD ZC MD ND","4":"I"},J:{"2":"D A"},K:{"1":"H","2":"A B C 7B YC 8B"},L:{"1":"I"},M:{"1":"6B"},N:{"2":"A B"},O:{"1":"9B"},P:{"1":"J u v w x y z OD PD QD RD SD KC TD UD VD WD XD AC BC CC YD"},Q:{"1":"ZD"},R:{"1":"aD"},S:{"1":"cD","2":"bD"}},B:4,C:"Service Workers",D:true}; +module.exports={A:{A:{"2":"K D E F A B gC"},B:{"1":"5 6 7 8 9 O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I","2":"C L M","322":"G N"},C:{"1":"5 6 7 8 9 eB gB hB iB jB kB lB nB oB pB qB rB sB JC KC uB vB wB xB yB zB 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC","2":"0 1 2 3 4 hC IC J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB jC kC","194":"TB UB VB WB XB YB ZB aB bB cB dB","513":"fB mB tB 0B"},D:{"1":"5 6 7 8 9 fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC","2":"0 1 2 3 4 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB","4":"aB bB cB dB eB"},E:{"1":"C L M G CC DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC","2":"J LB K D E F A B lC OC mC nC oC pC PC"},F:{"1":"SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x","2":"0 1 2 3 4 F B C G N O P MB y z xC yC zC 0C CC eC 1C DC","4":"NB OB PB QB RB"},G:{"1":"CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC","2":"E OC 2C fC 3C 4C 5C 6C 7C 8C 9C AD BD"},H:{"2":"PD"},I:{"2":"IC J QD RD SD TD fC UD VD","4":"I"},J:{"2":"D A"},K:{"1":"H","2":"A B C CC eC DC"},L:{"1":"I"},M:{"1":"BC"},N:{"2":"A B"},O:{"1":"EC"},P:{"1":"0 1 2 3 4 J y z WD XD YD ZD aD PC bD cD dD eD fD FC GC HC gD"},Q:{"1":"hD"},R:{"1":"iD"},S:{"1":"kD","2":"jD"}},B:4,C:"Service Workers",D:true}; diff --git a/node_modules/caniuse-lite/data/features/setimmediate.js b/node_modules/caniuse-lite/data/features/setimmediate.js index ec28389062..c4cf15e894 100644 --- a/node_modules/caniuse-lite/data/features/setimmediate.js +++ b/node_modules/caniuse-lite/data/features/setimmediate.js @@ -1 +1 @@ -module.exports={A:{A:{"1":"A B","2":"K D E F aC"},B:{"1":"C L M G N O P","2":"0 1 2 3 4 5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I"},C:{"2":"0 1 2 3 4 5 6 7 8 9 bC DC J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC dC eC"},D:{"2":"0 1 2 3 4 5 6 7 8 9 J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC"},E:{"2":"J FB K D E F A B C L M G fC JC gC hC iC jC KC 7B 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC"},F:{"2":"F B C G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t qC rC sC tC 7B YC uC 8B"},G:{"2":"E JC vC ZC wC xC yC zC 0C 1C 2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC"},H:{"2":"HD"},I:{"2":"DC J I ID JD KD LD ZC MD ND"},J:{"2":"D A"},K:{"2":"A B C H 7B YC 8B"},L:{"2":"I"},M:{"2":"6B"},N:{"1":"A B"},O:{"2":"9B"},P:{"2":"J u v w x y z OD PD QD RD SD KC TD UD VD WD XD AC BC CC YD"},Q:{"2":"ZD"},R:{"2":"aD"},S:{"2":"bD cD"}},B:7,C:"Efficient Script Yielding: setImmediate()",D:true}; +module.exports={A:{A:{"1":"A B","2":"K D E F gC"},B:{"1":"C L M G N O P","2":"5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I"},C:{"2":"0 1 2 3 4 5 6 7 8 9 hC IC J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC jC kC"},D:{"2":"0 1 2 3 4 5 6 7 8 9 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC"},E:{"2":"J LB K D E F A B C L M G lC OC mC nC oC pC PC CC DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC"},F:{"2":"0 1 2 3 4 F B C G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x xC yC zC 0C CC eC 1C DC"},G:{"2":"E OC 2C fC 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC"},H:{"2":"PD"},I:{"2":"IC J I QD RD SD TD fC UD VD"},J:{"2":"D A"},K:{"2":"A B C H CC eC DC"},L:{"2":"I"},M:{"2":"BC"},N:{"1":"A B"},O:{"2":"EC"},P:{"2":"0 1 2 3 4 J y z WD XD YD ZD aD PC bD cD dD eD fD FC GC HC gD"},Q:{"2":"hD"},R:{"2":"iD"},S:{"2":"jD kD"}},B:7,C:"Efficient Script Yielding: setImmediate()",D:true}; diff --git a/node_modules/caniuse-lite/data/features/shadowdom.js b/node_modules/caniuse-lite/data/features/shadowdom.js index 0995daf13f..8aaa6c1d1b 100644 --- a/node_modules/caniuse-lite/data/features/shadowdom.js +++ b/node_modules/caniuse-lite/data/features/shadowdom.js @@ -1 +1 @@ -module.exports={A:{A:{"2":"K D E F A B aC"},B:{"1":"Q","2":"0 1 2 3 4 5 6 7 8 9 C L M G N O P H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I"},C:{"2":"0 1 2 3 4 5 6 7 8 9 bC DC J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC dC eC","66":"KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB"},D:{"1":"QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q","2":"0 1 2 3 4 5 6 7 8 9 J FB K D E F A B C L M G N O P GB u v w x y H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC","33":"z HB IB JB KB LB MB NB OB PB"},E:{"2":"J FB K D E F A B C L M G fC JC gC hC iC jC KC 7B 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC"},F:{"1":"w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB","2":"F B C uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t qC rC sC tC 7B YC uC 8B","33":"G N O P GB u v"},G:{"2":"E JC vC ZC wC xC yC zC 0C 1C 2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC"},H:{"2":"HD"},I:{"2":"DC J I ID JD KD LD ZC","33":"MD ND"},J:{"2":"D A"},K:{"2":"A B C H 7B YC 8B"},L:{"2":"I"},M:{"2":"6B"},N:{"2":"A B"},O:{"2":"9B"},P:{"1":"OD PD QD RD SD KC TD UD","2":"u v w x y z VD WD XD AC BC CC YD","33":"J"},Q:{"1":"ZD"},R:{"2":"aD"},S:{"1":"bD","2":"cD"}},B:7,C:"Shadow DOM (deprecated V0 spec)",D:true}; +module.exports={A:{A:{"2":"K D E F A B gC"},B:{"1":"Q","2":"5 6 7 8 9 C L M G N O P H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I"},C:{"2":"0 1 2 3 4 5 6 7 8 9 hC IC J LB K D E F A B C L M G N O P MB y z NB OB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC jC kC","66":"PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB"},D:{"1":"VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q","2":"0 1 2 5 6 7 8 9 J LB K D E F A B C L M G N O P MB y z H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC","33":"3 4 NB OB PB QB RB SB TB UB"},E:{"2":"J LB K D E F A B C L M G lC OC mC nC oC pC PC CC DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC"},F:{"1":"0 1 2 3 4 NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB","2":"F B C zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x xC yC zC 0C CC eC 1C DC","33":"G N O P MB y z"},G:{"2":"E OC 2C fC 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC"},H:{"2":"PD"},I:{"2":"IC J I QD RD SD TD fC","33":"UD VD"},J:{"2":"D A"},K:{"2":"A B C H CC eC DC"},L:{"2":"I"},M:{"2":"BC"},N:{"2":"A B"},O:{"2":"EC"},P:{"1":"WD XD YD ZD aD PC bD cD","2":"0 1 2 3 4 y z dD eD fD FC GC HC gD","33":"J"},Q:{"1":"hD"},R:{"2":"iD"},S:{"1":"jD","2":"kD"}},B:7,C:"Shadow DOM (deprecated V0 spec)",D:true}; diff --git a/node_modules/caniuse-lite/data/features/shadowdomv1.js b/node_modules/caniuse-lite/data/features/shadowdomv1.js index 76b1912e73..b5cf30ceac 100644 --- a/node_modules/caniuse-lite/data/features/shadowdomv1.js +++ b/node_modules/caniuse-lite/data/features/shadowdomv1.js @@ -1 +1 @@ -module.exports={A:{A:{"2":"K D E F A B aC"},B:{"1":"0 1 2 3 4 5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I","2":"C L M G N O P"},C:{"1":"0 1 2 3 4 5 6 7 8 9 qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC","2":"bC DC J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB dC eC","322":"nB","578":"EC oB FC pB"},D:{"1":"0 1 2 3 4 5 6 7 8 9 iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC","2":"J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB"},E:{"1":"A B C L M G KC 7B 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC","2":"J FB K D E F fC JC gC hC iC jC"},F:{"1":"VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t","2":"F B C G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB qC rC sC tC 7B YC uC 8B"},G:{"1":"4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC","2":"E JC vC ZC wC xC yC zC 0C 1C","132":"2C 3C"},H:{"2":"HD"},I:{"1":"I","2":"DC J ID JD KD LD ZC MD ND"},J:{"2":"D A"},K:{"1":"H","2":"A B C 7B YC 8B"},L:{"1":"I"},M:{"1":"6B"},N:{"2":"A B"},O:{"1":"9B"},P:{"1":"u v w x y z PD QD RD SD KC TD UD VD WD XD AC BC CC YD","2":"J","4":"OD"},Q:{"1":"ZD"},R:{"1":"aD"},S:{"1":"cD","2":"bD"}},B:5,C:"Shadow DOM (V1)",D:true}; +module.exports={A:{A:{"2":"K D E F A B gC"},B:{"1":"5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I","2":"C L M G N O P"},C:{"1":"5 6 7 8 9 vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC","2":"0 1 2 3 4 hC IC J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB jC kC","322":"sB","578":"JC tB KC uB"},D:{"1":"5 6 7 8 9 nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC","2":"0 1 2 3 4 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB"},E:{"1":"A B C L M G PC CC DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC","2":"J LB K D E F lC OC mC nC oC pC"},F:{"1":"aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x","2":"0 1 2 3 4 F B C G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB xC yC zC 0C CC eC 1C DC"},G:{"1":"BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC","2":"E OC 2C fC 3C 4C 5C 6C 7C 8C","132":"9C AD"},H:{"2":"PD"},I:{"1":"I","2":"IC J QD RD SD TD fC UD VD"},J:{"2":"D A"},K:{"1":"H","2":"A B C CC eC DC"},L:{"1":"I"},M:{"1":"BC"},N:{"2":"A B"},O:{"1":"EC"},P:{"1":"0 1 2 3 4 y z XD YD ZD aD PC bD cD dD eD fD FC GC HC gD","2":"J","4":"WD"},Q:{"1":"hD"},R:{"1":"iD"},S:{"1":"kD","2":"jD"}},B:5,C:"Shadow DOM (V1)",D:true}; diff --git a/node_modules/caniuse-lite/data/features/sharedarraybuffer.js b/node_modules/caniuse-lite/data/features/sharedarraybuffer.js index 6eb6a18deb..ee816cfdae 100644 --- a/node_modules/caniuse-lite/data/features/sharedarraybuffer.js +++ b/node_modules/caniuse-lite/data/features/sharedarraybuffer.js @@ -1 +1 @@ -module.exports={A:{A:{"2":"K D E F A B aC"},B:{"1":"Q H R S T U V W X Y Z","2":"C L M G","194":"N O P","513":"0 1 2 3 4 5 6 7 8 9 a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I"},C:{"2":"bC DC J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB dC eC","194":"mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B","450":"1B 2B 3B 4B 5B","513":"0 1 2 3 4 5 6 7 8 9 Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC"},D:{"1":"vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z","2":"J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC","194":"oB FC pB qB rB sB tB uB","513":"0 1 2 3 4 5 6 7 8 9 a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC"},E:{"2":"J FB K D E F A fC JC gC hC iC jC","194":"B C L M G KC 7B 8B kC lC mC","513":"LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC"},F:{"1":"rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B","2":"F B C G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB qC rC sC tC 7B YC uC 8B","194":"cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB","513":"5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t"},G:{"2":"E JC vC ZC wC xC yC zC 0C 1C 2C","194":"3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED","513":"LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC"},H:{"2":"HD"},I:{"2":"DC J I ID JD KD LD ZC MD ND"},J:{"2":"D A"},K:{"2":"A B C 7B YC 8B","513":"H"},L:{"513":"I"},M:{"513":"6B"},N:{"2":"A B"},O:{"1":"9B"},P:{"2":"J OD PD QD RD SD KC TD UD VD WD","513":"u v w x y z XD AC BC CC YD"},Q:{"2":"ZD"},R:{"513":"aD"},S:{"2":"bD","513":"cD"}},B:6,C:"Shared Array Buffer",D:true}; +module.exports={A:{A:{"2":"K D E F A B gC"},B:{"1":"Q H R S T U V W X Y Z","2":"C L M G","194":"N O P","513":"5 6 7 8 9 a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I"},C:{"2":"0 1 2 3 4 hC IC J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB jC kC","194":"rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B","450":"6B 7B 8B 9B AC","513":"5 6 7 8 9 Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC"},D:{"1":"0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z","2":"0 1 2 3 4 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC","194":"tB KC uB vB wB xB yB zB","513":"5 6 7 8 9 a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC"},E:{"2":"J LB K D E F A lC OC mC nC oC pC","194":"B C L M G PC CC DC qC rC sC","513":"QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC"},F:{"1":"wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B","2":"0 1 2 3 4 F B C G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB xC yC zC 0C CC eC 1C DC","194":"hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB","513":"AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x"},G:{"2":"E OC 2C fC 3C 4C 5C 6C 7C 8C 9C","194":"AD BD CD DD ED FD GD HD ID JD KD LD","513":"QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC"},H:{"2":"PD"},I:{"2":"IC J I QD RD SD TD fC UD VD"},J:{"2":"D A"},K:{"2":"A B C CC eC DC","513":"H"},L:{"513":"I"},M:{"513":"BC"},N:{"2":"A B"},O:{"1":"EC"},P:{"2":"J WD XD YD ZD aD PC bD cD dD eD","513":"0 1 2 3 4 y z fD FC GC HC gD"},Q:{"2":"hD"},R:{"513":"iD"},S:{"2":"jD","513":"kD"}},B:6,C:"Shared Array Buffer",D:true}; diff --git a/node_modules/caniuse-lite/data/features/sharedworkers.js b/node_modules/caniuse-lite/data/features/sharedworkers.js index 439d818b28..1c4b6b39ad 100644 --- a/node_modules/caniuse-lite/data/features/sharedworkers.js +++ b/node_modules/caniuse-lite/data/features/sharedworkers.js @@ -1 +1 @@ -module.exports={A:{A:{"2":"K D E F A B aC"},B:{"1":"0 1 2 3 4 5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I","2":"C L M G N O P"},C:{"1":"0 1 2 3 4 5 6 7 8 9 KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC","2":"bC DC J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB dC eC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC"},E:{"1":"FB K gC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC","2":"J D E F A B C L M G fC JC hC iC jC KC 7B 8B kC lC mC LC MC 9B nC"},F:{"1":"B C G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t tC 7B YC uC 8B","2":"F qC rC sC"},G:{"1":"wC xC AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC","2":"E JC vC ZC yC zC 0C 1C 2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD"},H:{"2":"HD"},I:{"2":"DC J I ID JD KD LD ZC MD ND"},J:{"1":"D A"},K:{"1":"B C 7B YC 8B","2":"H","16":"A"},L:{"2":"I"},M:{"1":"6B"},N:{"2":"A B"},O:{"2":"9B"},P:{"1":"J","2":"u v w x y z OD PD QD RD SD KC TD UD VD WD XD AC BC CC YD"},Q:{"2":"ZD"},R:{"2":"aD"},S:{"1":"bD cD"}},B:1,C:"Shared Web Workers",D:true}; +module.exports={A:{A:{"2":"K D E F A B gC"},B:{"1":"5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I","2":"C L M G N O P"},C:{"1":"5 6 7 8 9 PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC","2":"0 1 2 3 4 hC IC J LB K D E F A B C L M G N O P MB y z NB OB jC kC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC"},E:{"1":"LB K mC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC","2":"J D E F A B C L M G lC OC nC oC pC PC CC DC qC rC sC QC RC EC tC"},F:{"1":"0 1 2 3 4 B C G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x 0C CC eC 1C DC","2":"F xC yC zC"},G:{"1":"3C 4C FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC","2":"E OC 2C fC 5C 6C 7C 8C 9C AD BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD"},H:{"2":"PD"},I:{"2":"IC J I QD RD SD TD fC UD VD"},J:{"1":"D A"},K:{"1":"B C CC eC DC","2":"H","16":"A"},L:{"2":"I"},M:{"1":"BC"},N:{"2":"A B"},O:{"2":"EC"},P:{"1":"J","2":"0 1 2 3 4 y z WD XD YD ZD aD PC bD cD dD eD fD FC GC HC gD"},Q:{"2":"hD"},R:{"2":"iD"},S:{"1":"jD kD"}},B:1,C:"Shared Web Workers",D:true}; diff --git a/node_modules/caniuse-lite/data/features/sni.js b/node_modules/caniuse-lite/data/features/sni.js index b54ed3383e..55fd9d1ab9 100644 --- a/node_modules/caniuse-lite/data/features/sni.js +++ b/node_modules/caniuse-lite/data/features/sni.js @@ -1 +1 @@ -module.exports={A:{A:{"1":"F A B","2":"K aC","132":"D E"},B:{"1":"0 1 2 3 4 5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 bC DC J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC dC eC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC","2":"J FB"},E:{"1":"J FB K D E F A B C L M G fC JC gC hC iC jC KC 7B 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC"},F:{"1":"F B C G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t qC rC sC tC 7B YC uC 8B"},G:{"1":"E vC ZC wC xC yC zC 0C 1C 2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC","2":"JC"},H:{"1":"HD"},I:{"1":"DC J I LD ZC MD ND","2":"ID JD KD"},J:{"1":"A","2":"D"},K:{"1":"A B C H 7B YC 8B"},L:{"1":"I"},M:{"1":"6B"},N:{"1":"A B"},O:{"1":"9B"},P:{"1":"J u v w x y z OD PD QD RD SD KC TD UD VD WD XD AC BC CC YD"},Q:{"1":"ZD"},R:{"1":"aD"},S:{"1":"bD cD"}},B:6,C:"Server Name Indication",D:true}; +module.exports={A:{A:{"1":"F A B","2":"K gC","132":"D E"},B:{"1":"5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 hC IC J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC jC kC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC","2":"J LB"},E:{"1":"J LB K D E F A B C L M G lC OC mC nC oC pC PC CC DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC"},F:{"1":"0 1 2 3 4 F B C G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x xC yC zC 0C CC eC 1C DC"},G:{"1":"E 2C fC 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC","2":"OC"},H:{"1":"PD"},I:{"1":"IC J I TD fC UD VD","2":"QD RD SD"},J:{"1":"A","2":"D"},K:{"1":"A B C H CC eC DC"},L:{"1":"I"},M:{"1":"BC"},N:{"1":"A B"},O:{"1":"EC"},P:{"1":"0 1 2 3 4 J y z WD XD YD ZD aD PC bD cD dD eD fD FC GC HC gD"},Q:{"1":"hD"},R:{"1":"iD"},S:{"1":"jD kD"}},B:6,C:"Server Name Indication",D:true}; diff --git a/node_modules/caniuse-lite/data/features/spdy.js b/node_modules/caniuse-lite/data/features/spdy.js index c20d023658..083ec987b8 100644 --- a/node_modules/caniuse-lite/data/features/spdy.js +++ b/node_modules/caniuse-lite/data/features/spdy.js @@ -1 +1 @@ -module.exports={A:{A:{"1":"B","2":"K D E F A aC"},B:{"2":"0 1 2 3 4 5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I"},C:{"1":"L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB","2":"0 1 2 3 4 5 6 7 8 9 bC DC J FB K D E F A B C gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC dC eC"},D:{"1":"J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB","2":"0 1 2 3 4 5 6 7 8 9 gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC"},E:{"1":"E F A B C jC KC 7B","2":"J FB K D fC JC gC hC iC","129":"L M G 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC"},F:{"1":"G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB XB ZB 8B","2":"F B C VB WB YB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t qC rC sC tC 7B YC uC"},G:{"1":"E zC 0C 1C 2C 3C 4C 5C 6C","2":"JC vC ZC wC xC yC","257":"7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC"},H:{"2":"HD"},I:{"1":"DC J LD ZC MD ND","2":"I ID JD KD"},J:{"2":"D A"},K:{"1":"8B","2":"A B C H 7B YC"},L:{"2":"I"},M:{"2":"6B"},N:{"1":"B","2":"A"},O:{"2":"9B"},P:{"1":"J","2":"u v w x y z OD PD QD RD SD KC TD UD VD WD XD AC BC CC YD"},Q:{"2":"ZD"},R:{"2":"aD"},S:{"1":"bD","2":"cD"}},B:7,C:"SPDY protocol",D:true}; +module.exports={A:{A:{"1":"B","2":"K D E F A gC"},B:{"2":"5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I"},C:{"1":"0 1 2 3 4 L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB","2":"5 6 7 8 9 hC IC J LB K D E F A B C lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC jC kC"},D:{"1":"0 1 2 3 4 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB","2":"5 6 7 8 9 lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC"},E:{"1":"E F A B C pC PC CC","2":"J LB K D lC OC mC nC oC","129":"L M G DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC"},F:{"1":"0 1 2 3 4 G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB cB eB DC","2":"F B C aB bB dB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x xC yC zC 0C CC eC 1C"},G:{"1":"E 6C 7C 8C 9C AD BD CD DD","2":"OC 2C fC 3C 4C 5C","257":"ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC"},H:{"2":"PD"},I:{"1":"IC J TD fC UD VD","2":"I QD RD SD"},J:{"2":"D A"},K:{"1":"DC","2":"A B C H CC eC"},L:{"2":"I"},M:{"2":"BC"},N:{"1":"B","2":"A"},O:{"2":"EC"},P:{"1":"J","2":"0 1 2 3 4 y z WD XD YD ZD aD PC bD cD dD eD fD FC GC HC gD"},Q:{"2":"hD"},R:{"2":"iD"},S:{"1":"jD","2":"kD"}},B:7,C:"SPDY protocol",D:true}; diff --git a/node_modules/caniuse-lite/data/features/speech-recognition.js b/node_modules/caniuse-lite/data/features/speech-recognition.js index 16d2b25527..1e8cc0c53d 100644 --- a/node_modules/caniuse-lite/data/features/speech-recognition.js +++ b/node_modules/caniuse-lite/data/features/speech-recognition.js @@ -1 +1 @@ -module.exports={A:{A:{"2":"K D E F A B aC"},B:{"2":"C L M G N O P","514":"0 1 2 3 4 5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I"},C:{"2":"bC DC J FB K D E F A B C L M G N O P GB u v dC eC","322":"0 1 2 3 4 5 6 7 8 9 w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC"},D:{"2":"J FB K D E F A B C L M G N O P GB u v w x y","164":"0 1 2 3 4 5 6 7 8 9 z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC"},E:{"2":"J FB K D E F A B C L M fC JC gC hC iC jC KC 7B 8B kC","1060":"G lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC"},F:{"2":"F B C G N O P GB u v w x y z HB qC rC sC tC 7B YC uC 8B","514":"IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t"},G:{"2":"E JC vC ZC wC xC yC zC 0C 1C 2C 3C 4C 5C 6C 7C 8C 9C AD BD CD","1060":"DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC"},H:{"2":"HD"},I:{"2":"DC J I ID JD KD LD ZC MD ND"},J:{"2":"D A"},K:{"2":"A B C 7B YC 8B","164":"H"},L:{"164":"I"},M:{"2":"6B"},N:{"2":"A B"},O:{"164":"9B"},P:{"164":"J u v w x y z OD PD QD RD SD KC TD UD VD WD XD AC BC CC YD"},Q:{"164":"ZD"},R:{"164":"aD"},S:{"322":"bD cD"}},B:7,C:"Speech Recognition API",D:true}; +module.exports={A:{A:{"2":"K D E F A B gC"},B:{"2":"C L M G N O P","514":"5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I"},C:{"2":"hC IC J LB K D E F A B C L M G N O P MB y z jC kC","322":"0 1 2 3 4 5 6 7 8 9 NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC"},D:{"2":"0 1 2 J LB K D E F A B C L M G N O P MB y z","164":"3 4 5 6 7 8 9 NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC"},E:{"2":"J LB K D E F A B C L M lC OC mC nC oC pC PC CC DC qC","1060":"G rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC"},F:{"2":"0 1 2 3 4 F B C G N O P MB y z xC yC zC 0C CC eC 1C DC","514":"NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x"},G:{"2":"E OC 2C fC 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED FD GD HD ID JD","1060":"KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC"},H:{"2":"PD"},I:{"2":"IC J I QD RD SD TD fC UD VD"},J:{"2":"D A"},K:{"2":"A B C CC eC DC","164":"H"},L:{"164":"I"},M:{"2":"BC"},N:{"2":"A B"},O:{"164":"EC"},P:{"164":"0 1 2 3 4 J y z WD XD YD ZD aD PC bD cD dD eD fD FC GC HC gD"},Q:{"164":"hD"},R:{"164":"iD"},S:{"322":"jD kD"}},B:7,C:"Speech Recognition API",D:true}; diff --git a/node_modules/caniuse-lite/data/features/speech-synthesis.js b/node_modules/caniuse-lite/data/features/speech-synthesis.js index 3b9e885684..8f283917dd 100644 --- a/node_modules/caniuse-lite/data/features/speech-synthesis.js +++ b/node_modules/caniuse-lite/data/features/speech-synthesis.js @@ -1 +1 @@ -module.exports={A:{A:{"2":"K D E F A B aC"},B:{"1":"M G N O P","2":"C L","257":"0 1 2 3 4 5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC","2":"bC DC J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB dC eC","194":"MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB"},D:{"1":"OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB","2":"J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB","257":"0 1 2 3 4 5 6 7 8 9 kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC"},E:{"1":"D E F A B C L M G iC jC KC 7B 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC","2":"J FB K fC JC gC hC"},F:{"1":"IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB","2":"F B C G N O P GB u v w x y z HB qC rC sC tC 7B YC uC 8B","257":"rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t"},G:{"1":"E yC zC 0C 1C 2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC","2":"JC vC ZC wC xC"},H:{"2":"HD"},I:{"2":"DC J I ID JD KD LD ZC MD ND"},J:{"2":"D A"},K:{"2":"A B C H 7B YC 8B"},L:{"1":"I"},M:{"1":"6B"},N:{"2":"A B"},O:{"2":"9B"},P:{"1":"u v w x y z OD PD QD RD SD KC TD UD VD WD XD AC BC CC YD","2":"J"},Q:{"1":"ZD"},R:{"2":"aD"},S:{"1":"bD cD"}},B:7,C:"Speech Synthesis API",D:true}; +module.exports={A:{A:{"2":"K D E F A B gC"},B:{"1":"M G N O P","2":"C L","257":"5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I"},C:{"1":"5 6 7 8 9 jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC","2":"0 1 2 3 4 hC IC J LB K D E F A B C L M G N O P MB y z NB OB PB QB jC kC","194":"RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB"},D:{"1":"TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB","2":"0 1 2 3 4 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB","257":"5 6 7 8 9 pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC"},E:{"1":"D E F A B C L M G oC pC PC CC DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC","2":"J LB K lC OC mC nC"},F:{"1":"NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB","2":"0 1 2 3 4 F B C G N O P MB y z xC yC zC 0C CC eC 1C DC","257":"wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x"},G:{"1":"E 5C 6C 7C 8C 9C AD BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC","2":"OC 2C fC 3C 4C"},H:{"2":"PD"},I:{"2":"IC J I QD RD SD TD fC UD VD"},J:{"2":"D A"},K:{"2":"A B C H CC eC DC"},L:{"1":"I"},M:{"1":"BC"},N:{"2":"A B"},O:{"2":"EC"},P:{"1":"0 1 2 3 4 y z WD XD YD ZD aD PC bD cD dD eD fD FC GC HC gD","2":"J"},Q:{"1":"hD"},R:{"2":"iD"},S:{"1":"jD kD"}},B:7,C:"Speech Synthesis API",D:true}; diff --git a/node_modules/caniuse-lite/data/features/spellcheck-attribute.js b/node_modules/caniuse-lite/data/features/spellcheck-attribute.js index b32807dc10..994d6d6701 100644 --- a/node_modules/caniuse-lite/data/features/spellcheck-attribute.js +++ b/node_modules/caniuse-lite/data/features/spellcheck-attribute.js @@ -1 +1 @@ -module.exports={A:{A:{"1":"A B","2":"K D E F aC"},B:{"1":"0 1 2 3 4 5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 bC DC J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC dC eC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC","2":"J FB K D E"},E:{"1":"K D E F A B C L M G gC hC iC jC KC 7B 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC","2":"J FB fC JC"},F:{"1":"B C G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t sC tC 7B YC uC 8B","2":"F qC rC"},G:{"4":"E JC vC ZC wC xC yC zC 0C 1C 2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC"},H:{"4":"HD"},I:{"4":"DC J I ID JD KD LD ZC MD ND"},J:{"1":"A","4":"D"},K:{"4":"A B C H 7B YC 8B"},L:{"4":"I"},M:{"4":"6B"},N:{"4":"A B"},O:{"4":"9B"},P:{"4":"J u v w x y z OD PD QD RD SD KC TD UD VD WD XD AC BC CC YD"},Q:{"1":"ZD"},R:{"4":"aD"},S:{"2":"bD cD"}},B:1,C:"Spellcheck attribute",D:true}; +module.exports={A:{A:{"1":"A B","2":"K D E F gC"},B:{"1":"5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 hC IC J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC jC kC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC","2":"J LB K D E"},E:{"1":"K D E F A B C L M G mC nC oC pC PC CC DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC","2":"J LB lC OC"},F:{"1":"0 1 2 3 4 B C G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x zC 0C CC eC 1C DC","2":"F xC yC"},G:{"4":"E OC 2C fC 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC"},H:{"4":"PD"},I:{"4":"IC J I QD RD SD TD fC UD VD"},J:{"1":"A","4":"D"},K:{"4":"A B C H CC eC DC"},L:{"4":"I"},M:{"4":"BC"},N:{"4":"A B"},O:{"4":"EC"},P:{"4":"0 1 2 3 4 J y z WD XD YD ZD aD PC bD cD dD eD fD FC GC HC gD"},Q:{"1":"hD"},R:{"4":"iD"},S:{"2":"jD kD"}},B:1,C:"Spellcheck attribute",D:true}; diff --git a/node_modules/caniuse-lite/data/features/sql-storage.js b/node_modules/caniuse-lite/data/features/sql-storage.js index a27e3b5a25..a423012ed8 100644 --- a/node_modules/caniuse-lite/data/features/sql-storage.js +++ b/node_modules/caniuse-lite/data/features/sql-storage.js @@ -1 +1 @@ -module.exports={A:{A:{"2":"K D E F A B aC"},B:{"1":"Q H R S T U V W X Y Z a b c d e f g h i j","2":"C L M G N O P DB EB I","129":"k l m n o p q r s","385":"0 1 2 3 4 5 6 7 8 9 t AB BB CB"},C:{"2":"0 1 2 3 4 5 6 7 8 9 bC DC J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC dC eC"},D:{"1":"J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j","2":"DB EB I 6B HC IC","129":"k l m n o p q r s","385":"0 1 2 3 4 5 6 7 t","897":"8 9 AB BB CB"},E:{"1":"J FB K D E F A B C fC JC gC hC iC jC KC 7B 8B","2":"L M G kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC"},F:{"1":"B C G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z sC tC 7B YC uC 8B","2":"F qC rC","257":"a b c d e f g h i j k l m n o p q r s t"},G:{"1":"E JC vC ZC wC xC yC zC 0C 1C 2C 3C 4C 5C 6C 7C","2":"8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC"},H:{"2":"HD"},I:{"1":"DC J ID JD KD LD ZC MD ND","2":"I"},J:{"1":"D A"},K:{"1":"B C 7B YC 8B","2":"A","257":"H"},L:{"2":"I"},M:{"2":"6B"},N:{"2":"A B"},O:{"1":"9B"},P:{"1":"J u v w x y z OD PD QD RD SD KC TD UD VD WD XD AC BC CC YD"},Q:{"1":"ZD"},R:{"1":"aD"},S:{"2":"bD cD"}},B:7,C:"Web SQL Database",D:true}; +module.exports={A:{A:{"2":"K D E F A B gC"},B:{"1":"Q H R S T U V W X Y Z a b c d e f g h i j","2":"C L M G N O P EB FB GB HB IB JB KB I","129":"k l m n o p q r s","385":"5 6 7 8 9 t u v w x AB BB CB DB"},C:{"2":"0 1 2 3 4 5 6 7 8 9 hC IC J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC jC kC"},D:{"1":"0 1 2 3 4 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j","2":"EB FB GB HB IB JB KB I BC MC NC","129":"k l m n o p q r s","385":"5 6 7 8 t u v w x","897":"9 AB BB CB DB"},E:{"1":"J LB K D E F A B C lC OC mC nC oC pC PC CC DC","2":"L M G qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC"},F:{"1":"0 1 2 3 4 B C G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z zC 0C CC eC 1C DC","2":"F t u v w x xC yC","257":"a b c d e f g h i j k l m n o p q r s"},G:{"1":"E OC 2C fC 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED","2":"FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC"},H:{"2":"PD"},I:{"1":"IC J QD RD SD TD fC UD VD","2":"I"},J:{"1":"D A"},K:{"1":"B C CC eC DC","2":"A","257":"H"},L:{"2":"I"},M:{"2":"BC"},N:{"2":"A B"},O:{"1":"EC"},P:{"1":"0 1 2 3 4 J y z WD XD YD ZD aD PC bD cD dD eD fD FC GC HC gD"},Q:{"1":"hD"},R:{"1":"iD"},S:{"2":"jD kD"}},B:7,C:"Web SQL Database",D:true}; diff --git a/node_modules/caniuse-lite/data/features/srcset.js b/node_modules/caniuse-lite/data/features/srcset.js index 4be3932a8e..663d80886a 100644 --- a/node_modules/caniuse-lite/data/features/srcset.js +++ b/node_modules/caniuse-lite/data/features/srcset.js @@ -1 +1 @@ -module.exports={A:{A:{"2":"K D E F A B aC"},B:{"1":"0 1 2 3 4 5 6 7 8 9 N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I","260":"C","514":"L M G"},C:{"1":"0 1 2 3 4 5 6 7 8 9 TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC","2":"bC DC J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB dC eC","194":"NB OB PB QB RB SB"},D:{"1":"0 1 2 3 4 5 6 7 8 9 TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC","2":"J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB","260":"PB QB RB SB"},E:{"2":"J FB K D fC JC gC hC","260":"E iC","1028":"F A jC KC","3076":"B C L M G 7B 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC"},F:{"1":"z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t","2":"F B C G N O P GB u qC rC sC tC 7B YC uC 8B","260":"v w x y"},G:{"2":"JC vC ZC wC xC yC","260":"E zC","1028":"0C 1C 2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC"},H:{"2":"HD"},I:{"1":"I","2":"DC J ID JD KD LD ZC MD ND"},J:{"2":"D A"},K:{"1":"H","2":"A B C 7B YC 8B"},L:{"1":"I"},M:{"1":"6B"},N:{"2":"A B"},O:{"1":"9B"},P:{"1":"J u v w x y z OD PD QD RD SD KC TD UD VD WD XD AC BC CC YD"},Q:{"1":"ZD"},R:{"1":"aD"},S:{"1":"bD cD"}},B:1,C:"Srcset and sizes attributes",D:true}; +module.exports={A:{A:{"2":"K D E F A B gC"},B:{"1":"5 6 7 8 9 N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I","260":"C","514":"L M G"},C:{"1":"5 6 7 8 9 YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC","2":"0 1 2 3 4 hC IC J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB jC kC","194":"SB TB UB VB WB XB"},D:{"1":"5 6 7 8 9 YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC","2":"0 1 2 3 4 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB","260":"UB VB WB XB"},E:{"2":"J LB K D lC OC mC nC","260":"E oC","1028":"F A pC PC","3076":"B C L M G CC DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC"},F:{"1":"3 4 NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x","2":"F B C G N O P MB y xC yC zC 0C CC eC 1C DC","260":"0 1 2 z"},G:{"2":"OC 2C fC 3C 4C 5C","260":"E 6C","1028":"7C 8C 9C AD BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC"},H:{"2":"PD"},I:{"1":"I","2":"IC J QD RD SD TD fC UD VD"},J:{"2":"D A"},K:{"1":"H","2":"A B C CC eC DC"},L:{"1":"I"},M:{"1":"BC"},N:{"2":"A B"},O:{"1":"EC"},P:{"1":"0 1 2 3 4 J y z WD XD YD ZD aD PC bD cD dD eD fD FC GC HC gD"},Q:{"1":"hD"},R:{"1":"iD"},S:{"1":"jD kD"}},B:1,C:"Srcset and sizes attributes",D:true}; diff --git a/node_modules/caniuse-lite/data/features/stream.js b/node_modules/caniuse-lite/data/features/stream.js index bc6abaf248..f56a117f29 100644 --- a/node_modules/caniuse-lite/data/features/stream.js +++ b/node_modules/caniuse-lite/data/features/stream.js @@ -1 +1 @@ -module.exports={A:{A:{"2":"K D E F A B aC"},B:{"1":"0 1 2 3 4 5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC","2":"bC DC J FB K D E F A B C L M G N dC eC","129":"RB SB TB UB VB WB","420":"O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB"},D:{"1":"0 1 2 3 4 5 6 7 8 9 iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC","2":"J FB K D E F A B C L M G N O P GB u","420":"v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB"},E:{"1":"B C L M G 7B 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC","2":"J FB K D E F A fC JC gC hC iC jC KC"},F:{"1":"VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t","2":"F B G N O qC rC sC tC 7B YC uC","420":"C P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB 8B"},G:{"2":"E JC vC ZC wC xC yC zC 0C 1C 2C 3C","513":"BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC","1537":"4C 5C 6C 7C 8C 9C AD"},H:{"2":"HD"},I:{"1":"I","2":"DC J ID JD KD LD ZC MD ND"},J:{"2":"D","420":"A"},K:{"1":"H","2":"A B 7B YC","420":"C 8B"},L:{"1":"I"},M:{"1":"6B"},N:{"2":"A B"},O:{"1":"9B"},P:{"1":"u v w x y z PD QD RD SD KC TD UD VD WD XD AC BC CC YD","420":"J OD"},Q:{"1":"ZD"},R:{"1":"aD"},S:{"1":"cD","2":"bD"}},B:4,C:"getUserMedia/Stream API",D:true}; +module.exports={A:{A:{"2":"K D E F A B gC"},B:{"1":"5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I"},C:{"1":"5 6 7 8 9 cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC","2":"hC IC J LB K D E F A B C L M G N jC kC","129":"WB XB YB ZB aB bB","420":"0 1 2 3 4 O P MB y z NB OB PB QB RB SB TB UB VB"},D:{"1":"5 6 7 8 9 nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC","2":"J LB K D E F A B C L M G N O P MB y","420":"0 1 2 3 4 z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB"},E:{"1":"B C L M G CC DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC","2":"J LB K D E F A lC OC mC nC oC pC PC"},F:{"1":"aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x","2":"F B G N O xC yC zC 0C CC eC 1C","420":"0 1 2 3 4 C P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB DC"},G:{"2":"E OC 2C fC 3C 4C 5C 6C 7C 8C 9C AD","513":"ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC","1537":"BD CD DD ED FD GD HD"},H:{"2":"PD"},I:{"1":"I","2":"IC J QD RD SD TD fC UD VD"},J:{"2":"D","420":"A"},K:{"1":"H","2":"A B CC eC","420":"C DC"},L:{"1":"I"},M:{"1":"BC"},N:{"2":"A B"},O:{"1":"EC"},P:{"1":"0 1 2 3 4 y z XD YD ZD aD PC bD cD dD eD fD FC GC HC gD","420":"J WD"},Q:{"1":"hD"},R:{"1":"iD"},S:{"1":"kD","2":"jD"}},B:4,C:"getUserMedia/Stream API",D:true}; diff --git a/node_modules/caniuse-lite/data/features/streams.js b/node_modules/caniuse-lite/data/features/streams.js index 1fde8a1188..230b3bc9c7 100644 --- a/node_modules/caniuse-lite/data/features/streams.js +++ b/node_modules/caniuse-lite/data/features/streams.js @@ -1 +1 @@ -module.exports={A:{A:{"2":"K D E F A aC","130":"B"},B:{"1":"0 1 2 3 4 5 6 7 8 9 Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I","16":"C L","260":"M G","1028":"Q H R S T U V W X","5124":"N O P"},C:{"1":"0 1 2 3 4 5 6 7 8 9 l m n o p q r s t AB BB CB DB EB I 6B HC IC cC","2":"bC DC J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB dC eC","5124":"j k","7172":"sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i","7746":"mB nB EC oB FC pB qB rB"},D:{"1":"0 1 2 3 4 5 6 7 8 9 Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC","2":"J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB","260":"hB iB jB kB lB mB nB","1028":"EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X"},E:{"2":"J FB K D E F fC JC gC hC iC jC","1028":"G lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC","3076":"A B C L M KC 7B 8B kC"},F:{"1":"3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t","2":"F B C G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB qC rC sC tC 7B YC uC 8B","260":"UB VB WB XB YB ZB aB","1028":"bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B"},G:{"2":"E JC vC ZC wC xC yC zC 0C 1C","16":"2C","1028":"3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC"},H:{"2":"HD"},I:{"1":"I","2":"DC J ID JD KD LD ZC MD ND"},J:{"2":"D A"},K:{"1":"H","2":"A B C 7B YC 8B"},L:{"1":"I"},M:{"1":"6B"},N:{"2":"A B"},O:{"1":"9B"},P:{"1":"u v w x y z XD AC BC CC YD","2":"J OD PD","1028":"QD RD SD KC TD UD VD WD"},Q:{"1028":"ZD"},R:{"1":"aD"},S:{"2":"bD cD"}},B:1,C:"Streams",D:true}; +module.exports={A:{A:{"2":"K D E F A gC","130":"B"},B:{"1":"5 6 7 8 9 Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I","16":"C L","260":"M G","1028":"Q H R S T U V W X","5124":"N O P"},C:{"1":"5 6 7 8 9 l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC","2":"0 1 2 3 4 hC IC J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB jC kC","5124":"j k","7172":"xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i","7746":"rB sB JC tB KC uB vB wB"},D:{"1":"5 6 7 8 9 Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC","2":"0 1 2 3 4 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB","260":"mB nB oB pB qB rB sB","1028":"JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X"},E:{"2":"J LB K D E F lC OC mC nC oC pC","1028":"G rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC","3076":"A B C L M PC CC DC qC"},F:{"1":"8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x","2":"0 1 2 3 4 F B C G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB xC yC zC 0C CC eC 1C DC","260":"ZB aB bB cB dB eB fB","1028":"gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B"},G:{"2":"E OC 2C fC 3C 4C 5C 6C 7C 8C","16":"9C","1028":"AD BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC"},H:{"2":"PD"},I:{"1":"I","2":"IC J QD RD SD TD fC UD VD"},J:{"2":"D A"},K:{"1":"H","2":"A B C CC eC DC"},L:{"1":"I"},M:{"1":"BC"},N:{"2":"A B"},O:{"1":"EC"},P:{"1":"0 1 2 3 4 y z fD FC GC HC gD","2":"J WD XD","1028":"YD ZD aD PC bD cD dD eD"},Q:{"1028":"hD"},R:{"1":"iD"},S:{"2":"jD kD"}},B:1,C:"Streams",D:true}; diff --git a/node_modules/caniuse-lite/data/features/stricttransportsecurity.js b/node_modules/caniuse-lite/data/features/stricttransportsecurity.js index bcbd713bdd..1e914f8ab3 100644 --- a/node_modules/caniuse-lite/data/features/stricttransportsecurity.js +++ b/node_modules/caniuse-lite/data/features/stricttransportsecurity.js @@ -1 +1 @@ -module.exports={A:{A:{"2":"K D E F A aC","129":"B"},B:{"1":"0 1 2 3 4 5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC","2":"bC DC dC eC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC"},E:{"1":"D E F A B C L M G iC jC KC 7B 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC","2":"J FB K fC JC gC hC"},F:{"1":"C G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t 8B","2":"F B qC rC sC tC 7B YC uC"},G:{"1":"E yC zC 0C 1C 2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC","2":"JC vC ZC wC xC"},H:{"2":"HD"},I:{"1":"I MD ND","2":"DC J ID JD KD LD ZC"},J:{"1":"D A"},K:{"1":"H","2":"A B C 7B YC 8B"},L:{"1":"I"},M:{"1":"6B"},N:{"2":"A B"},O:{"1":"9B"},P:{"1":"J u v w x y z OD PD QD RD SD KC TD UD VD WD XD AC BC CC YD"},Q:{"1":"ZD"},R:{"1":"aD"},S:{"1":"bD cD"}},B:6,C:"Strict Transport Security",D:true}; +module.exports={A:{A:{"2":"K D E F A gC","129":"B"},B:{"1":"5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC","2":"hC IC jC kC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC"},E:{"1":"D E F A B C L M G oC pC PC CC DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC","2":"J LB K lC OC mC nC"},F:{"1":"0 1 2 3 4 C G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x DC","2":"F B xC yC zC 0C CC eC 1C"},G:{"1":"E 5C 6C 7C 8C 9C AD BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC","2":"OC 2C fC 3C 4C"},H:{"2":"PD"},I:{"1":"I UD VD","2":"IC J QD RD SD TD fC"},J:{"1":"D A"},K:{"1":"H","2":"A B C CC eC DC"},L:{"1":"I"},M:{"1":"BC"},N:{"2":"A B"},O:{"1":"EC"},P:{"1":"0 1 2 3 4 J y z WD XD YD ZD aD PC bD cD dD eD fD FC GC HC gD"},Q:{"1":"hD"},R:{"1":"iD"},S:{"1":"jD kD"}},B:6,C:"Strict Transport Security",D:true}; diff --git a/node_modules/caniuse-lite/data/features/style-scoped.js b/node_modules/caniuse-lite/data/features/style-scoped.js index bc0c8eba85..4602ba0d0e 100644 --- a/node_modules/caniuse-lite/data/features/style-scoped.js +++ b/node_modules/caniuse-lite/data/features/style-scoped.js @@ -1 +1 @@ -module.exports={A:{A:{"2":"K D E F A B aC"},B:{"2":"0 1 2 3 4 5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I"},C:{"1":"v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB","2":"0 1 2 3 4 5 6 7 8 9 bC DC J FB K D E F A B C L M G N O P GB u FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC dC eC","322":"kB lB mB nB EC oB"},D:{"2":"0 1 2 3 4 5 6 7 8 9 J FB K D E F A B C L M G N O P GB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC","194":"u v w x y z HB IB JB KB LB MB NB OB PB QB RB"},E:{"2":"J FB K D E F A B C L M G fC JC gC hC iC jC KC 7B 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC"},F:{"2":"F B C G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t qC rC sC tC 7B YC uC 8B"},G:{"2":"E JC vC ZC wC xC yC zC 0C 1C 2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC"},H:{"2":"HD"},I:{"2":"DC J I ID JD KD LD ZC MD ND"},J:{"2":"D A"},K:{"2":"A B C H 7B YC 8B"},L:{"2":"I"},M:{"2":"6B"},N:{"2":"A B"},O:{"2":"9B"},P:{"2":"J u v w x y z OD PD QD RD SD KC TD UD VD WD XD AC BC CC YD"},Q:{"2":"ZD"},R:{"2":"aD"},S:{"1":"bD","2":"cD"}},B:7,C:"Scoped attribute",D:true}; +module.exports={A:{A:{"2":"K D E F A B gC"},B:{"2":"5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I"},C:{"1":"0 1 2 3 4 z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB","2":"5 6 7 8 9 hC IC J LB K D E F A B C L M G N O P MB y KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC jC kC","322":"pB qB rB sB JC tB"},D:{"2":"5 6 7 8 9 J LB K D E F A B C L M G N O P MB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC","194":"0 1 2 3 4 y z NB OB PB QB RB SB TB UB VB WB"},E:{"2":"J LB K D E F A B C L M G lC OC mC nC oC pC PC CC DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC"},F:{"2":"0 1 2 3 4 F B C G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x xC yC zC 0C CC eC 1C DC"},G:{"2":"E OC 2C fC 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC"},H:{"2":"PD"},I:{"2":"IC J I QD RD SD TD fC UD VD"},J:{"2":"D A"},K:{"2":"A B C H CC eC DC"},L:{"2":"I"},M:{"2":"BC"},N:{"2":"A B"},O:{"2":"EC"},P:{"2":"0 1 2 3 4 J y z WD XD YD ZD aD PC bD cD dD eD fD FC GC HC gD"},Q:{"2":"hD"},R:{"2":"iD"},S:{"1":"jD","2":"kD"}},B:7,C:"Scoped attribute",D:true}; diff --git a/node_modules/caniuse-lite/data/features/subresource-bundling.js b/node_modules/caniuse-lite/data/features/subresource-bundling.js index c367b59d05..a477b9751c 100644 --- a/node_modules/caniuse-lite/data/features/subresource-bundling.js +++ b/node_modules/caniuse-lite/data/features/subresource-bundling.js @@ -1 +1 @@ -module.exports={A:{A:{"2":"K D E F A B aC"},B:{"1":"0 1 2 3 4 5 6 7 8 9 n o p q r s t AB BB CB DB EB I","2":"C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m"},C:{"2":"0 1 2 3 4 5 6 7 8 9 bC DC J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC dC eC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 n o p q r s t AB BB CB DB EB I 6B HC IC","2":"J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m"},E:{"2":"J FB K D E F A B C L M G fC JC gC hC iC jC KC 7B 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC"},F:{"1":"Z a b c d e f g h i j k l m n o p q r s t","2":"F B C G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y qC rC sC tC 7B YC uC 8B"},G:{"2":"E JC vC ZC wC xC yC zC 0C 1C 2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC"},H:{"2":"HD"},I:{"1":"I","2":"DC J ID JD KD LD ZC MD ND"},J:{"2":"D A"},K:{"1":"H","2":"A B C 7B YC 8B"},L:{"1":"I"},M:{"2":"6B"},N:{"2":"A B"},O:{"2":"9B"},P:{"2":"J u v w x y z OD PD QD RD SD KC TD UD VD WD XD AC BC CC YD"},Q:{"2":"ZD"},R:{"2":"aD"},S:{"2":"bD cD"}},B:7,C:"Subresource Loading with Web Bundles",D:false}; +module.exports={A:{A:{"2":"K D E F A B gC"},B:{"1":"5 6 7 8 9 n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I","2":"C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m"},C:{"2":"0 1 2 3 4 5 6 7 8 9 hC IC J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC jC kC"},D:{"1":"5 6 7 8 9 n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC","2":"0 1 2 3 4 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m"},E:{"2":"J LB K D E F A B C L M G lC OC mC nC oC pC PC CC DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC"},F:{"1":"Z a b c d e f g h i j k l m n o p q r s t u v w x","2":"0 1 2 3 4 F B C G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y xC yC zC 0C CC eC 1C DC"},G:{"2":"E OC 2C fC 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC"},H:{"2":"PD"},I:{"1":"I","2":"IC J QD RD SD TD fC UD VD"},J:{"2":"D A"},K:{"1":"H","2":"A B C CC eC DC"},L:{"1":"I"},M:{"2":"BC"},N:{"2":"A B"},O:{"2":"EC"},P:{"2":"0 1 2 3 4 J y z WD XD YD ZD aD PC bD cD dD eD fD FC GC HC gD"},Q:{"2":"hD"},R:{"2":"iD"},S:{"2":"jD kD"}},B:7,C:"Subresource Loading with Web Bundles",D:false}; diff --git a/node_modules/caniuse-lite/data/features/subresource-integrity.js b/node_modules/caniuse-lite/data/features/subresource-integrity.js index 307648ef68..7a4e61f6cd 100644 --- a/node_modules/caniuse-lite/data/features/subresource-integrity.js +++ b/node_modules/caniuse-lite/data/features/subresource-integrity.js @@ -1 +1 @@ -module.exports={A:{A:{"2":"K D E F A B aC"},B:{"1":"0 1 2 3 4 5 6 7 8 9 O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I","2":"C L M G N"},C:{"1":"0 1 2 3 4 5 6 7 8 9 YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC","2":"bC DC J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB dC eC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC","2":"J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB"},E:{"1":"B C L M G 7B 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC","2":"J FB K D E F A fC JC gC hC iC jC KC"},F:{"1":"NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t","2":"F B C G N O P GB u v w x y z HB IB JB KB LB MB qC rC sC tC 7B YC uC 8B"},G:{"1":"5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC","2":"E JC vC ZC wC xC yC zC 0C 1C 2C 3C","194":"4C"},H:{"2":"HD"},I:{"1":"I","2":"DC J ID JD KD LD ZC MD ND"},J:{"2":"D A"},K:{"1":"H","2":"A B C 7B YC 8B"},L:{"1":"I"},M:{"1":"6B"},N:{"2":"A B"},O:{"1":"9B"},P:{"1":"u v w x y z OD PD QD RD SD KC TD UD VD WD XD AC BC CC YD","2":"J"},Q:{"1":"ZD"},R:{"1":"aD"},S:{"1":"bD cD"}},B:2,C:"Subresource Integrity",D:true}; +module.exports={A:{A:{"2":"K D E F A B gC"},B:{"1":"5 6 7 8 9 O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I","2":"C L M G N"},C:{"1":"5 6 7 8 9 dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC","2":"0 1 2 3 4 hC IC J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB jC kC"},D:{"1":"5 6 7 8 9 fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC","2":"0 1 2 3 4 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB"},E:{"1":"B C L M G CC DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC","2":"J LB K D E F A lC OC mC nC oC pC PC"},F:{"1":"SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x","2":"0 1 2 3 4 F B C G N O P MB y z NB OB PB QB RB xC yC zC 0C CC eC 1C DC"},G:{"1":"CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC","2":"E OC 2C fC 3C 4C 5C 6C 7C 8C 9C AD","194":"BD"},H:{"2":"PD"},I:{"1":"I","2":"IC J QD RD SD TD fC UD VD"},J:{"2":"D A"},K:{"1":"H","2":"A B C CC eC DC"},L:{"1":"I"},M:{"1":"BC"},N:{"2":"A B"},O:{"1":"EC"},P:{"1":"0 1 2 3 4 y z WD XD YD ZD aD PC bD cD dD eD fD FC GC HC gD","2":"J"},Q:{"1":"hD"},R:{"1":"iD"},S:{"1":"jD kD"}},B:2,C:"Subresource Integrity",D:true}; diff --git a/node_modules/caniuse-lite/data/features/svg-css.js b/node_modules/caniuse-lite/data/features/svg-css.js index 0809442643..2d2188e284 100644 --- a/node_modules/caniuse-lite/data/features/svg-css.js +++ b/node_modules/caniuse-lite/data/features/svg-css.js @@ -1 +1 @@ -module.exports={A:{A:{"1":"F A B","2":"K D E aC"},B:{"1":"0 1 2 3 4 5 6 7 8 9 N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I","516":"C L M G"},C:{"1":"0 1 2 3 4 5 6 7 8 9 y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC","2":"bC DC dC eC","260":"J FB K D E F A B C L M G N O P GB u v w x"},D:{"1":"0 1 2 3 4 5 6 7 8 9 FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC","4":"J"},E:{"1":"FB K D E F A B C L M G gC hC iC jC KC 7B 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC","2":"fC","132":"J JC"},F:{"1":"B C G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t qC rC sC tC 7B YC uC 8B","2":"F"},G:{"1":"E ZC wC xC yC zC 0C 1C 2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC","132":"JC vC"},H:{"260":"HD"},I:{"1":"DC J I LD ZC MD ND","2":"ID JD KD"},J:{"1":"D A"},K:{"1":"H","260":"A B C 7B YC 8B"},L:{"1":"I"},M:{"1":"6B"},N:{"1":"A B"},O:{"1":"9B"},P:{"1":"J u v w x y z OD PD QD RD SD KC TD UD VD WD XD AC BC CC YD"},Q:{"1":"ZD"},R:{"1":"aD"},S:{"1":"bD cD"}},B:4,C:"SVG in CSS backgrounds",D:true}; +module.exports={A:{A:{"1":"F A B","2":"K D E gC"},B:{"1":"5 6 7 8 9 N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I","516":"C L M G"},C:{"1":"2 3 4 5 6 7 8 9 NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC","2":"hC IC jC kC","260":"0 1 J LB K D E F A B C L M G N O P MB y z"},D:{"1":"0 1 2 3 4 5 6 7 8 9 LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC","4":"J"},E:{"1":"LB K D E F A B C L M G mC nC oC pC PC CC DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC","2":"lC","132":"J OC"},F:{"1":"0 1 2 3 4 B C G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x xC yC zC 0C CC eC 1C DC","2":"F"},G:{"1":"E fC 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC","132":"OC 2C"},H:{"260":"PD"},I:{"1":"IC J I TD fC UD VD","2":"QD RD SD"},J:{"1":"D A"},K:{"1":"H","260":"A B C CC eC DC"},L:{"1":"I"},M:{"1":"BC"},N:{"1":"A B"},O:{"1":"EC"},P:{"1":"0 1 2 3 4 J y z WD XD YD ZD aD PC bD cD dD eD fD FC GC HC gD"},Q:{"1":"hD"},R:{"1":"iD"},S:{"1":"jD kD"}},B:4,C:"SVG in CSS backgrounds",D:true}; diff --git a/node_modules/caniuse-lite/data/features/svg-filters.js b/node_modules/caniuse-lite/data/features/svg-filters.js index d957ff0666..190f4c824a 100644 --- a/node_modules/caniuse-lite/data/features/svg-filters.js +++ b/node_modules/caniuse-lite/data/features/svg-filters.js @@ -1 +1 @@ -module.exports={A:{A:{"1":"A B","2":"K D E F aC"},B:{"1":"0 1 2 3 4 5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 DC J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC dC eC","2":"bC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC","2":"J","4":"FB K D"},E:{"1":"K D E F A B C L M G hC iC jC KC 7B 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC","2":"J FB fC JC gC"},F:{"1":"F B C G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t qC rC sC tC 7B YC uC 8B"},G:{"1":"E xC yC zC 0C 1C 2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC","2":"JC vC ZC wC"},H:{"1":"HD"},I:{"1":"I MD ND","2":"DC J ID JD KD LD ZC"},J:{"1":"A","2":"D"},K:{"1":"A B C H 7B YC 8B"},L:{"1":"I"},M:{"1":"6B"},N:{"1":"A B"},O:{"1":"9B"},P:{"1":"J u v w x y z OD PD QD RD SD KC TD UD VD WD XD AC BC CC YD"},Q:{"1":"ZD"},R:{"1":"aD"},S:{"1":"bD cD"}},B:2,C:"SVG filters",D:true}; +module.exports={A:{A:{"1":"A B","2":"K D E F gC"},B:{"1":"5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 IC J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC jC kC","2":"hC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC","2":"J","4":"LB K D"},E:{"1":"K D E F A B C L M G nC oC pC PC CC DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC","2":"J LB lC OC mC"},F:{"1":"0 1 2 3 4 F B C G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x xC yC zC 0C CC eC 1C DC"},G:{"1":"E 4C 5C 6C 7C 8C 9C AD BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC","2":"OC 2C fC 3C"},H:{"1":"PD"},I:{"1":"I UD VD","2":"IC J QD RD SD TD fC"},J:{"1":"A","2":"D"},K:{"1":"A B C H CC eC DC"},L:{"1":"I"},M:{"1":"BC"},N:{"1":"A B"},O:{"1":"EC"},P:{"1":"0 1 2 3 4 J y z WD XD YD ZD aD PC bD cD dD eD fD FC GC HC gD"},Q:{"1":"hD"},R:{"1":"iD"},S:{"1":"jD kD"}},B:2,C:"SVG filters",D:true}; diff --git a/node_modules/caniuse-lite/data/features/svg-fonts.js b/node_modules/caniuse-lite/data/features/svg-fonts.js index e790039583..e6833f7c1b 100644 --- a/node_modules/caniuse-lite/data/features/svg-fonts.js +++ b/node_modules/caniuse-lite/data/features/svg-fonts.js @@ -1 +1 @@ -module.exports={A:{A:{"2":"F A B aC","8":"K D E"},B:{"2":"0 1 2 3 4 5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I"},C:{"2":"0 1 2 3 4 5 6 7 8 9 bC DC J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC dC eC"},D:{"1":"J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB","2":"0 1 2 3 4 5 6 7 8 9 gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC","130":"TB UB VB WB XB YB ZB aB bB cB dB eB fB"},E:{"1":"J FB K D E F A B C L M G JC gC hC iC jC KC 7B 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC","2":"fC"},F:{"1":"F B C G N O P GB u v w x y qC rC sC tC 7B YC uC 8B","2":"SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t","130":"z HB IB JB KB LB MB NB OB PB QB RB"},G:{"1":"E JC vC ZC wC xC yC zC 0C 1C 2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC"},H:{"258":"HD"},I:{"1":"DC J LD ZC MD ND","2":"I ID JD KD"},J:{"1":"D A"},K:{"1":"A B C 7B YC 8B","2":"H"},L:{"130":"I"},M:{"2":"6B"},N:{"2":"A B"},O:{"2":"9B"},P:{"1":"J","130":"u v w x y z OD PD QD RD SD KC TD UD VD WD XD AC BC CC YD"},Q:{"2":"ZD"},R:{"130":"aD"},S:{"2":"bD cD"}},B:2,C:"SVG fonts",D:true}; +module.exports={A:{A:{"2":"F A B gC","8":"K D E"},B:{"2":"5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I"},C:{"2":"0 1 2 3 4 5 6 7 8 9 hC IC J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC jC kC"},D:{"1":"0 1 2 3 4 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB","2":"5 6 7 8 9 lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC","130":"YB ZB aB bB cB dB eB fB gB hB iB jB kB"},E:{"1":"J LB K D E F A B C L M G OC mC nC oC pC PC CC DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC","2":"lC"},F:{"1":"0 1 2 F B C G N O P MB y z xC yC zC 0C CC eC 1C DC","2":"XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x","130":"3 4 NB OB PB QB RB SB TB UB VB WB"},G:{"1":"E OC 2C fC 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC"},H:{"258":"PD"},I:{"1":"IC J TD fC UD VD","2":"I QD RD SD"},J:{"1":"D A"},K:{"1":"A B C CC eC DC","2":"H"},L:{"130":"I"},M:{"2":"BC"},N:{"2":"A B"},O:{"2":"EC"},P:{"1":"J","130":"0 1 2 3 4 y z WD XD YD ZD aD PC bD cD dD eD fD FC GC HC gD"},Q:{"2":"hD"},R:{"130":"iD"},S:{"2":"jD kD"}},B:2,C:"SVG fonts",D:true}; diff --git a/node_modules/caniuse-lite/data/features/svg-fragment.js b/node_modules/caniuse-lite/data/features/svg-fragment.js index 3c86a87021..b8bdb16ab6 100644 --- a/node_modules/caniuse-lite/data/features/svg-fragment.js +++ b/node_modules/caniuse-lite/data/features/svg-fragment.js @@ -1 +1 @@ -module.exports={A:{A:{"2":"K D E aC","260":"F A B"},B:{"1":"0 1 2 3 4 5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC","2":"bC DC J FB K D E F A B C L M dC eC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC","2":"J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB","132":"RB SB TB UB VB WB XB YB ZB aB bB cB dB eB"},E:{"1":"C L M G 7B 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC","2":"J FB K D F A B fC JC gC hC jC KC","132":"E iC"},F:{"1":"SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t 8B","2":"G N O P GB u v w","4":"B C rC sC tC 7B YC uC","16":"F qC","132":"x y z HB IB JB KB LB MB NB OB PB QB RB"},G:{"1":"5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC","2":"JC vC ZC wC xC yC 0C 1C 2C 3C 4C","132":"E zC"},H:{"1":"HD"},I:{"1":"I","2":"DC J ID JD KD LD ZC MD ND"},J:{"2":"D","132":"A"},K:{"1":"H 8B","4":"A B C 7B YC"},L:{"1":"I"},M:{"1":"6B"},N:{"1":"A B"},O:{"1":"9B"},P:{"1":"u v w x y z OD PD QD RD SD KC TD UD VD WD XD AC BC CC YD","132":"J"},Q:{"1":"ZD"},R:{"1":"aD"},S:{"1":"bD cD"}},B:4,C:"SVG fragment identifiers",D:true}; +module.exports={A:{A:{"2":"K D E gC","260":"F A B"},B:{"1":"5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC","2":"hC IC J LB K D E F A B C L M jC kC"},D:{"1":"5 6 7 8 9 kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC","2":"0 1 2 3 4 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB","132":"WB XB YB ZB aB bB cB dB eB fB gB hB iB jB"},E:{"1":"C L M G CC DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC","2":"J LB K D F A B lC OC mC nC pC PC","132":"E oC"},F:{"1":"XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x DC","2":"0 G N O P MB y z","4":"B C yC zC 0C CC eC 1C","16":"F xC","132":"1 2 3 4 NB OB PB QB RB SB TB UB VB WB"},G:{"1":"CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC","2":"OC 2C fC 3C 4C 5C 7C 8C 9C AD BD","132":"E 6C"},H:{"1":"PD"},I:{"1":"I","2":"IC J QD RD SD TD fC UD VD"},J:{"2":"D","132":"A"},K:{"1":"H DC","4":"A B C CC eC"},L:{"1":"I"},M:{"1":"BC"},N:{"1":"A B"},O:{"1":"EC"},P:{"1":"0 1 2 3 4 y z WD XD YD ZD aD PC bD cD dD eD fD FC GC HC gD","132":"J"},Q:{"1":"hD"},R:{"1":"iD"},S:{"1":"jD kD"}},B:4,C:"SVG fragment identifiers",D:true}; diff --git a/node_modules/caniuse-lite/data/features/svg-html.js b/node_modules/caniuse-lite/data/features/svg-html.js index 325236a0ed..8c0fc81354 100644 --- a/node_modules/caniuse-lite/data/features/svg-html.js +++ b/node_modules/caniuse-lite/data/features/svg-html.js @@ -1 +1 @@ -module.exports={A:{A:{"2":"K D E aC","388":"F A B"},B:{"4":"0 1 2 3 4 5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I","260":"C L M G N O P"},C:{"1":"0 1 2 3 4 5 6 7 8 9 J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC dC eC","2":"bC","4":"DC"},D:{"4":"0 1 2 3 4 5 6 7 8 9 J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC"},E:{"2":"fC JC","4":"J FB K D E F A B C L M G gC hC iC jC KC 7B 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC"},F:{"4":"F B C G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t qC rC sC tC 7B YC uC 8B"},G:{"4":"E JC vC ZC wC xC yC zC 0C 1C 2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC"},H:{"2":"HD"},I:{"2":"DC J ID JD KD LD ZC","4":"I MD ND"},J:{"1":"A","2":"D"},K:{"4":"A B C H 7B YC 8B"},L:{"4":"I"},M:{"1":"6B"},N:{"2":"A B"},O:{"4":"9B"},P:{"4":"J u v w x y z OD PD QD RD SD KC TD UD VD WD XD AC BC CC YD"},Q:{"4":"ZD"},R:{"4":"aD"},S:{"1":"bD cD"}},B:2,C:"SVG effects for HTML",D:true}; +module.exports={A:{A:{"2":"K D E gC","388":"F A B"},B:{"4":"5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I","260":"C L M G N O P"},C:{"1":"0 1 2 3 4 5 6 7 8 9 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC jC kC","2":"hC","4":"IC"},D:{"4":"0 1 2 3 4 5 6 7 8 9 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC"},E:{"2":"lC OC","4":"J LB K D E F A B C L M G mC nC oC pC PC CC DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC"},F:{"4":"0 1 2 3 4 F B C G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x xC yC zC 0C CC eC 1C DC"},G:{"4":"E OC 2C fC 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC"},H:{"2":"PD"},I:{"2":"IC J QD RD SD TD fC","4":"I UD VD"},J:{"1":"A","2":"D"},K:{"4":"A B C H CC eC DC"},L:{"4":"I"},M:{"1":"BC"},N:{"2":"A B"},O:{"4":"EC"},P:{"4":"0 1 2 3 4 J y z WD XD YD ZD aD PC bD cD dD eD fD FC GC HC gD"},Q:{"4":"hD"},R:{"4":"iD"},S:{"1":"jD kD"}},B:2,C:"SVG effects for HTML",D:true}; diff --git a/node_modules/caniuse-lite/data/features/svg-html5.js b/node_modules/caniuse-lite/data/features/svg-html5.js index 76c2d31eb8..9b701af3b2 100644 --- a/node_modules/caniuse-lite/data/features/svg-html5.js +++ b/node_modules/caniuse-lite/data/features/svg-html5.js @@ -1 +1 @@ -module.exports={A:{A:{"2":"aC","8":"K D E","129":"F A B"},B:{"1":"0 1 2 3 4 5 6 7 8 9 O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I","129":"C L M G N"},C:{"1":"0 1 2 3 4 5 6 7 8 9 J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC","8":"bC DC dC eC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC","8":"J FB K"},E:{"1":"F A B C L M G jC KC 7B 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC","8":"J FB fC JC","129":"K D E gC hC iC"},F:{"1":"C G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t uC 8B","2":"B tC 7B YC","8":"F qC rC sC"},G:{"1":"0C 1C 2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC","8":"JC vC ZC","129":"E wC xC yC zC"},H:{"1":"HD"},I:{"1":"I MD ND","2":"ID JD KD","129":"DC J LD ZC"},J:{"1":"A","129":"D"},K:{"1":"C H 8B","8":"A B 7B YC"},L:{"1":"I"},M:{"1":"6B"},N:{"129":"A B"},O:{"1":"9B"},P:{"1":"J u v w x y z OD PD QD RD SD KC TD UD VD WD XD AC BC CC YD"},Q:{"1":"ZD"},R:{"1":"aD"},S:{"1":"bD cD"}},B:1,C:"Inline SVG in HTML5",D:true}; +module.exports={A:{A:{"2":"gC","8":"K D E","129":"F A B"},B:{"1":"5 6 7 8 9 O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I","129":"C L M G N"},C:{"1":"0 1 2 3 4 5 6 7 8 9 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC","8":"hC IC jC kC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC","8":"J LB K"},E:{"1":"F A B C L M G pC PC CC DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC","8":"J LB lC OC","129":"K D E mC nC oC"},F:{"1":"0 1 2 3 4 C G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x 1C DC","2":"B 0C CC eC","8":"F xC yC zC"},G:{"1":"7C 8C 9C AD BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC","8":"OC 2C fC","129":"E 3C 4C 5C 6C"},H:{"1":"PD"},I:{"1":"I UD VD","2":"QD RD SD","129":"IC J TD fC"},J:{"1":"A","129":"D"},K:{"1":"C H DC","8":"A B CC eC"},L:{"1":"I"},M:{"1":"BC"},N:{"129":"A B"},O:{"1":"EC"},P:{"1":"0 1 2 3 4 J y z WD XD YD ZD aD PC bD cD dD eD fD FC GC HC gD"},Q:{"1":"hD"},R:{"1":"iD"},S:{"1":"jD kD"}},B:1,C:"Inline SVG in HTML5",D:true}; diff --git a/node_modules/caniuse-lite/data/features/svg-img.js b/node_modules/caniuse-lite/data/features/svg-img.js index 59a6eec05c..49ec994275 100644 --- a/node_modules/caniuse-lite/data/features/svg-img.js +++ b/node_modules/caniuse-lite/data/features/svg-img.js @@ -1 +1 @@ -module.exports={A:{A:{"1":"F A B","2":"K D E aC"},B:{"1":"0 1 2 3 4 5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC","2":"bC DC dC eC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC","132":"J FB K D E F A B C L M G N O P GB u v w x y z HB IB"},E:{"1":"F A B C L M G jC KC 7B 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC","2":"fC","4":"JC","132":"J FB K D E gC hC iC"},F:{"1":"F B C G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t qC rC sC tC 7B YC uC 8B"},G:{"1":"0C 1C 2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC","132":"E JC vC ZC wC xC yC zC"},H:{"1":"HD"},I:{"1":"I MD ND","2":"ID JD KD","132":"DC J LD ZC"},J:{"1":"D A"},K:{"1":"A B C H 7B YC 8B"},L:{"1":"I"},M:{"1":"6B"},N:{"1":"A B"},O:{"1":"9B"},P:{"1":"J u v w x y z OD PD QD RD SD KC TD UD VD WD XD AC BC CC YD"},Q:{"1":"ZD"},R:{"1":"aD"},S:{"1":"bD cD"}},B:1,C:"SVG in HTML img element",D:true}; +module.exports={A:{A:{"1":"F A B","2":"K D E gC"},B:{"1":"5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC","2":"hC IC jC kC"},D:{"1":"5 6 7 8 9 OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC","132":"0 1 2 3 4 J LB K D E F A B C L M G N O P MB y z NB"},E:{"1":"F A B C L M G pC PC CC DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC","2":"lC","4":"OC","132":"J LB K D E mC nC oC"},F:{"1":"0 1 2 3 4 F B C G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x xC yC zC 0C CC eC 1C DC"},G:{"1":"7C 8C 9C AD BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC","132":"E OC 2C fC 3C 4C 5C 6C"},H:{"1":"PD"},I:{"1":"I UD VD","2":"QD RD SD","132":"IC J TD fC"},J:{"1":"D A"},K:{"1":"A B C H CC eC DC"},L:{"1":"I"},M:{"1":"BC"},N:{"1":"A B"},O:{"1":"EC"},P:{"1":"0 1 2 3 4 J y z WD XD YD ZD aD PC bD cD dD eD fD FC GC HC gD"},Q:{"1":"hD"},R:{"1":"iD"},S:{"1":"jD kD"}},B:1,C:"SVG in HTML img element",D:true}; diff --git a/node_modules/caniuse-lite/data/features/svg-smil.js b/node_modules/caniuse-lite/data/features/svg-smil.js index 2bbeab843b..ecef056cd9 100644 --- a/node_modules/caniuse-lite/data/features/svg-smil.js +++ b/node_modules/caniuse-lite/data/features/svg-smil.js @@ -1 +1 @@ -module.exports={A:{A:{"2":"aC","8":"K D E F A B"},B:{"1":"0 1 2 3 4 5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I","8":"C L M G N O P"},C:{"1":"0 1 2 3 4 5 6 7 8 9 J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC","8":"bC DC dC eC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC","4":"J"},E:{"1":"K D E F A B C L M G hC iC jC KC 7B 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC","8":"fC JC","132":"J FB gC"},F:{"1":"F B C G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t qC rC sC tC 7B YC uC 8B"},G:{"1":"E xC yC zC 0C 1C 2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC","132":"JC vC ZC wC"},H:{"2":"HD"},I:{"1":"DC J I LD ZC MD ND","2":"ID JD KD"},J:{"1":"D A"},K:{"1":"A B C H 7B YC 8B"},L:{"1":"I"},M:{"1":"6B"},N:{"8":"A B"},O:{"1":"9B"},P:{"1":"J u v w x y z OD PD QD RD SD KC TD UD VD WD XD AC BC CC YD"},Q:{"1":"ZD"},R:{"1":"aD"},S:{"1":"bD cD"}},B:2,C:"SVG SMIL animation",D:true}; +module.exports={A:{A:{"2":"gC","8":"K D E F A B"},B:{"1":"5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I","8":"C L M G N O P"},C:{"1":"0 1 2 3 4 5 6 7 8 9 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC","8":"hC IC jC kC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC","4":"J"},E:{"1":"K D E F A B C L M G nC oC pC PC CC DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC","8":"lC OC","132":"J LB mC"},F:{"1":"0 1 2 3 4 F B C G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x xC yC zC 0C CC eC 1C DC"},G:{"1":"E 4C 5C 6C 7C 8C 9C AD BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC","132":"OC 2C fC 3C"},H:{"2":"PD"},I:{"1":"IC J I TD fC UD VD","2":"QD RD SD"},J:{"1":"D A"},K:{"1":"A B C H CC eC DC"},L:{"1":"I"},M:{"1":"BC"},N:{"8":"A B"},O:{"1":"EC"},P:{"1":"0 1 2 3 4 J y z WD XD YD ZD aD PC bD cD dD eD fD FC GC HC gD"},Q:{"1":"hD"},R:{"1":"iD"},S:{"1":"jD kD"}},B:2,C:"SVG SMIL animation",D:true}; diff --git a/node_modules/caniuse-lite/data/features/svg.js b/node_modules/caniuse-lite/data/features/svg.js index c030914ae9..9577ddcf75 100644 --- a/node_modules/caniuse-lite/data/features/svg.js +++ b/node_modules/caniuse-lite/data/features/svg.js @@ -1 +1 @@ -module.exports={A:{A:{"2":"aC","8":"K D E","772":"F A B"},B:{"1":"0 1 2 3 4 5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I","513":"C L M G N O P"},C:{"1":"0 1 2 3 4 5 6 7 8 9 DC J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC dC eC","4":"bC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC"},E:{"1":"J FB K D E F A B C L M G JC gC hC iC jC KC 7B 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC","4":"fC"},F:{"1":"F B C G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t qC rC sC tC 7B YC uC 8B"},G:{"1":"E JC vC ZC wC xC yC zC 0C 1C 2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC"},H:{"1":"HD"},I:{"1":"I MD ND","2":"ID JD KD","132":"DC J LD ZC"},J:{"1":"D A"},K:{"1":"A B C H 7B YC 8B"},L:{"1":"I"},M:{"1":"6B"},N:{"257":"A B"},O:{"1":"9B"},P:{"1":"J u v w x y z OD PD QD RD SD KC TD UD VD WD XD AC BC CC YD"},Q:{"1":"ZD"},R:{"1":"aD"},S:{"1":"bD cD"}},B:4,C:"SVG (basic support)",D:true}; +module.exports={A:{A:{"2":"gC","8":"K D E","772":"F A B"},B:{"1":"5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I","513":"C L M G N O P"},C:{"1":"0 1 2 3 4 5 6 7 8 9 IC J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC jC kC","4":"hC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC"},E:{"1":"J LB K D E F A B C L M G OC mC nC oC pC PC CC DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC","4":"lC"},F:{"1":"0 1 2 3 4 F B C G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x xC yC zC 0C CC eC 1C DC"},G:{"1":"E OC 2C fC 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC"},H:{"1":"PD"},I:{"1":"I UD VD","2":"QD RD SD","132":"IC J TD fC"},J:{"1":"D A"},K:{"1":"A B C H CC eC DC"},L:{"1":"I"},M:{"1":"BC"},N:{"257":"A B"},O:{"1":"EC"},P:{"1":"0 1 2 3 4 J y z WD XD YD ZD aD PC bD cD dD eD fD FC GC HC gD"},Q:{"1":"hD"},R:{"1":"iD"},S:{"1":"jD kD"}},B:4,C:"SVG (basic support)",D:true}; diff --git a/node_modules/caniuse-lite/data/features/sxg.js b/node_modules/caniuse-lite/data/features/sxg.js index 248c51adde..033574376f 100644 --- a/node_modules/caniuse-lite/data/features/sxg.js +++ b/node_modules/caniuse-lite/data/features/sxg.js @@ -1 +1 @@ -module.exports={A:{A:{"2":"K D E F A B aC"},B:{"1":"0 1 2 3 4 5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I","2":"C L M G N O P"},C:{"2":"0 1 2 3 4 5 6 7 8 9 bC DC J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC dC eC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC","2":"J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB","132":"yB zB"},E:{"2":"J FB K D E F A B C L M G fC JC gC hC iC jC KC 7B 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC"},F:{"1":"rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t","2":"F B C G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB qC rC sC tC 7B YC uC 8B"},G:{"2":"E JC vC ZC wC xC yC zC 0C 1C 2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC"},H:{"2":"HD"},I:{"1":"I","2":"DC J ID JD KD LD ZC MD ND"},J:{"2":"D A"},K:{"1":"H","2":"A B C 7B YC 8B"},L:{"1":"I"},M:{"2":"6B"},N:{"2":"A B"},O:{"1":"9B"},P:{"1":"u v w x y z TD UD VD WD XD AC BC CC YD","2":"J OD PD QD RD SD KC"},Q:{"1":"ZD"},R:{"1":"aD"},S:{"2":"bD cD"}},B:6,C:"Signed HTTP Exchanges (SXG)",D:true}; +module.exports={A:{A:{"2":"K D E F A B gC"},B:{"1":"5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I","2":"C L M G N O P"},C:{"2":"0 1 2 3 4 5 6 7 8 9 hC IC J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC jC kC"},D:{"1":"5 6 7 8 9 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC","2":"0 1 2 3 4 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B","132":"3B 4B"},E:{"2":"J LB K D E F A B C L M G lC OC mC nC oC pC PC CC DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC"},F:{"1":"wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x","2":"0 1 2 3 4 F B C G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB xC yC zC 0C CC eC 1C DC"},G:{"2":"E OC 2C fC 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC"},H:{"2":"PD"},I:{"1":"I","2":"IC J QD RD SD TD fC UD VD"},J:{"2":"D A"},K:{"1":"H","2":"A B C CC eC DC"},L:{"1":"I"},M:{"2":"BC"},N:{"2":"A B"},O:{"1":"EC"},P:{"1":"0 1 2 3 4 y z bD cD dD eD fD FC GC HC gD","2":"J WD XD YD ZD aD PC"},Q:{"1":"hD"},R:{"1":"iD"},S:{"2":"jD kD"}},B:6,C:"Signed HTTP Exchanges (SXG)",D:true}; diff --git a/node_modules/caniuse-lite/data/features/tabindex-attr.js b/node_modules/caniuse-lite/data/features/tabindex-attr.js index a833d30ecb..2aa30985f0 100644 --- a/node_modules/caniuse-lite/data/features/tabindex-attr.js +++ b/node_modules/caniuse-lite/data/features/tabindex-attr.js @@ -1 +1 @@ -module.exports={A:{A:{"1":"D E F A B","16":"K aC"},B:{"1":"0 1 2 3 4 5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I"},C:{"16":"bC DC dC eC","129":"0 1 2 3 4 5 6 7 8 9 J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC","16":"J FB K D E F A B C L M"},E:{"16":"J FB fC JC","257":"K D E F A B C L M G gC hC iC jC KC 7B 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC"},F:{"1":"B C G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t qC rC sC tC 7B YC uC 8B","16":"F"},G:{"769":"E JC vC ZC wC xC yC zC 0C 1C 2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC"},H:{"16":"HD"},I:{"16":"DC J I ID JD KD LD ZC MD ND"},J:{"16":"D A"},K:{"1":"H","16":"A B C 7B YC 8B"},L:{"1":"I"},M:{"1":"6B"},N:{"16":"A B"},O:{"1":"9B"},P:{"16":"J u v w x y z OD PD QD RD SD KC TD UD VD WD XD AC BC CC YD"},Q:{"1":"ZD"},R:{"1":"aD"},S:{"129":"bD cD"}},B:1,C:"tabindex global attribute",D:true}; +module.exports={A:{A:{"1":"D E F A B","16":"K gC"},B:{"1":"5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I"},C:{"16":"hC IC jC kC","129":"0 1 2 3 4 5 6 7 8 9 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC","16":"J LB K D E F A B C L M"},E:{"16":"J LB lC OC","257":"K D E F A B C L M G mC nC oC pC PC CC DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC"},F:{"1":"0 1 2 3 4 B C G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x xC yC zC 0C CC eC 1C DC","16":"F"},G:{"769":"E OC 2C fC 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC"},H:{"16":"PD"},I:{"16":"IC J I QD RD SD TD fC UD VD"},J:{"16":"D A"},K:{"1":"H","16":"A B C CC eC DC"},L:{"1":"I"},M:{"1":"BC"},N:{"16":"A B"},O:{"1":"EC"},P:{"16":"0 1 2 3 4 J y z WD XD YD ZD aD PC bD cD dD eD fD FC GC HC gD"},Q:{"1":"hD"},R:{"1":"iD"},S:{"129":"jD kD"}},B:1,C:"tabindex global attribute",D:true}; diff --git a/node_modules/caniuse-lite/data/features/template-literals.js b/node_modules/caniuse-lite/data/features/template-literals.js index fd00219fd9..84220409d4 100644 --- a/node_modules/caniuse-lite/data/features/template-literals.js +++ b/node_modules/caniuse-lite/data/features/template-literals.js @@ -1 +1 @@ -module.exports={A:{A:{"2":"K D E F A B aC"},B:{"1":"0 1 2 3 4 5 6 7 8 9 L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I","16":"C"},C:{"1":"0 1 2 3 4 5 6 7 8 9 PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC","2":"bC DC J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB dC eC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC","2":"J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB"},E:{"1":"A B L M G jC KC 7B 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC","2":"J FB K D E F fC JC gC hC iC","129":"C"},F:{"1":"KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t","2":"F B C G N O P GB u v w x y z HB IB JB qC rC sC tC 7B YC uC 8B"},G:{"1":"0C 1C 2C 3C 4C 5C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC","2":"E JC vC ZC wC xC yC zC","129":"6C"},H:{"2":"HD"},I:{"1":"I","2":"DC J ID JD KD LD ZC MD ND"},J:{"2":"D A"},K:{"1":"H","2":"A B C 7B YC 8B"},L:{"1":"I"},M:{"1":"6B"},N:{"2":"A B"},O:{"1":"9B"},P:{"1":"J u v w x y z OD PD QD RD SD KC TD UD VD WD XD AC BC CC YD"},Q:{"1":"ZD"},R:{"1":"aD"},S:{"1":"bD cD"}},B:6,C:"ES6 Template Literals (Template Strings)",D:true}; +module.exports={A:{A:{"2":"K D E F A B gC"},B:{"1":"5 6 7 8 9 L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I","16":"C"},C:{"1":"5 6 7 8 9 UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC","2":"0 1 2 3 4 hC IC J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB jC kC"},D:{"1":"5 6 7 8 9 bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC","2":"0 1 2 3 4 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB"},E:{"1":"A B L M G pC PC CC DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC","2":"J LB K D E F lC OC mC nC oC","129":"C"},F:{"1":"PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x","2":"0 1 2 3 4 F B C G N O P MB y z NB OB xC yC zC 0C CC eC 1C DC"},G:{"1":"7C 8C 9C AD BD CD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC","2":"E OC 2C fC 3C 4C 5C 6C","129":"DD"},H:{"2":"PD"},I:{"1":"I","2":"IC J QD RD SD TD fC UD VD"},J:{"2":"D A"},K:{"1":"H","2":"A B C CC eC DC"},L:{"1":"I"},M:{"1":"BC"},N:{"2":"A B"},O:{"1":"EC"},P:{"1":"0 1 2 3 4 J y z WD XD YD ZD aD PC bD cD dD eD fD FC GC HC gD"},Q:{"1":"hD"},R:{"1":"iD"},S:{"1":"jD kD"}},B:6,C:"ES6 Template Literals (Template Strings)",D:true}; diff --git a/node_modules/caniuse-lite/data/features/template.js b/node_modules/caniuse-lite/data/features/template.js index f1afb0eff7..6b51f66778 100644 --- a/node_modules/caniuse-lite/data/features/template.js +++ b/node_modules/caniuse-lite/data/features/template.js @@ -1 +1 @@ -module.exports={A:{A:{"2":"K D E F A B aC"},B:{"1":"0 1 2 3 4 5 6 7 8 9 G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I","2":"C","388":"L M"},C:{"1":"0 1 2 3 4 5 6 7 8 9 w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC","2":"bC DC J FB K D E F A B C L M G N O P GB u v dC eC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC","2":"J FB K D E F A B C L M G N O P GB u v w x y z","132":"HB IB JB KB LB MB NB OB PB"},E:{"1":"F A B C L M G jC KC 7B 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC","2":"J FB K D fC JC gC","388":"E iC","514":"hC"},F:{"1":"w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t","2":"F B C qC rC sC tC 7B YC uC 8B","132":"G N O P GB u v"},G:{"1":"0C 1C 2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC","2":"JC vC ZC wC xC yC","388":"E zC"},H:{"2":"HD"},I:{"1":"I MD ND","2":"DC J ID JD KD LD ZC"},J:{"2":"D A"},K:{"1":"H","2":"A B C 7B YC 8B"},L:{"1":"I"},M:{"1":"6B"},N:{"2":"A B"},O:{"1":"9B"},P:{"1":"J u v w x y z OD PD QD RD SD KC TD UD VD WD XD AC BC CC YD"},Q:{"1":"ZD"},R:{"1":"aD"},S:{"1":"bD cD"}},B:1,C:"HTML templates",D:true}; +module.exports={A:{A:{"2":"K D E F A B gC"},B:{"1":"5 6 7 8 9 G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I","2":"C","388":"L M"},C:{"1":"0 1 2 3 4 5 6 7 8 9 NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC","2":"hC IC J LB K D E F A B C L M G N O P MB y z jC kC"},D:{"1":"5 6 7 8 9 VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC","2":"0 1 2 3 J LB K D E F A B C L M G N O P MB y z","132":"4 NB OB PB QB RB SB TB UB"},E:{"1":"F A B C L M G pC PC CC DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC","2":"J LB K D lC OC mC","388":"E oC","514":"nC"},F:{"1":"0 1 2 3 4 NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x","2":"F B C xC yC zC 0C CC eC 1C DC","132":"G N O P MB y z"},G:{"1":"7C 8C 9C AD BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC","2":"OC 2C fC 3C 4C 5C","388":"E 6C"},H:{"2":"PD"},I:{"1":"I UD VD","2":"IC J QD RD SD TD fC"},J:{"2":"D A"},K:{"1":"H","2":"A B C CC eC DC"},L:{"1":"I"},M:{"1":"BC"},N:{"2":"A B"},O:{"1":"EC"},P:{"1":"0 1 2 3 4 J y z WD XD YD ZD aD PC bD cD dD eD fD FC GC HC gD"},Q:{"1":"hD"},R:{"1":"iD"},S:{"1":"jD kD"}},B:1,C:"HTML templates",D:true}; diff --git a/node_modules/caniuse-lite/data/features/temporal.js b/node_modules/caniuse-lite/data/features/temporal.js index f0a0b36d07..3a01fb928e 100644 --- a/node_modules/caniuse-lite/data/features/temporal.js +++ b/node_modules/caniuse-lite/data/features/temporal.js @@ -1 +1 @@ -module.exports={A:{A:{"2":"K D E F A B aC"},B:{"2":"0 1 2 3 4 5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I"},C:{"2":"0 1 2 3 4 5 6 7 8 9 bC DC J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC dC eC"},D:{"2":"0 1 2 3 4 5 6 7 8 9 J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC"},E:{"2":"J FB K D E F A B C L M G fC JC gC hC iC jC KC 7B 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC"},F:{"2":"F B C G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t qC rC sC tC 7B YC uC 8B"},G:{"2":"E JC vC ZC wC xC yC zC 0C 1C 2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC"},H:{"2":"HD"},I:{"2":"DC J I ID JD KD LD ZC MD ND"},J:{"2":"D A"},K:{"2":"A B C H 7B YC 8B"},L:{"2":"I"},M:{"2":"6B"},N:{"2":"A B"},O:{"2":"9B"},P:{"2":"J u v w x y z OD PD QD RD SD KC TD UD VD WD XD AC BC CC YD"},Q:{"2":"ZD"},R:{"2":"aD"},S:{"2":"bD cD"}},B:6,C:"Temporal",D:true}; +module.exports={A:{A:{"2":"K D E F A B gC"},B:{"2":"5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I"},C:{"2":"0 1 2 3 4 5 6 7 8 9 hC IC J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC jC kC"},D:{"2":"0 1 2 3 4 5 6 7 8 9 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC"},E:{"2":"J LB K D E F A B C L M G lC OC mC nC oC pC PC CC DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC"},F:{"2":"0 1 2 3 4 F B C G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x xC yC zC 0C CC eC 1C DC"},G:{"2":"E OC 2C fC 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC"},H:{"2":"PD"},I:{"2":"IC J I QD RD SD TD fC UD VD"},J:{"2":"D A"},K:{"2":"A B C H CC eC DC"},L:{"2":"I"},M:{"2":"BC"},N:{"2":"A B"},O:{"2":"EC"},P:{"2":"0 1 2 3 4 J y z WD XD YD ZD aD PC bD cD dD eD fD FC GC HC gD"},Q:{"2":"hD"},R:{"2":"iD"},S:{"2":"jD kD"}},B:6,C:"Temporal",D:true}; diff --git a/node_modules/caniuse-lite/data/features/testfeat.js b/node_modules/caniuse-lite/data/features/testfeat.js index 2d34e5c834..e1e5ce1f89 100644 --- a/node_modules/caniuse-lite/data/features/testfeat.js +++ b/node_modules/caniuse-lite/data/features/testfeat.js @@ -1 +1 @@ -module.exports={A:{A:{"2":"K D E A B aC","16":"F"},B:{"2":"0 1 2 3 4 5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I"},C:{"2":"0 1 2 3 4 5 6 7 8 9 bC DC K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC dC eC","16":"J FB"},D:{"2":"0 1 2 3 4 5 6 7 8 9 J FB K D E F A L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC","16":"B C"},E:{"2":"J K fC JC gC","16":"FB D E F A B C L M G hC iC jC KC 7B 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC"},F:{"2":"F B C G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t qC rC sC tC YC uC 8B","16":"7B"},G:{"2":"JC vC ZC wC xC","16":"E yC zC 0C 1C 2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC"},H:{"2":"HD"},I:{"2":"DC J I ID JD LD ZC MD ND","16":"KD"},J:{"2":"A","16":"D"},K:{"2":"A B C H 7B YC 8B"},L:{"2":"I"},M:{"2":"6B"},N:{"2":"A B"},O:{"2":"9B"},P:{"2":"J u v w x y z OD PD QD RD SD KC TD UD VD WD XD AC BC CC YD"},Q:{"2":"ZD"},R:{"2":"aD"},S:{"2":"bD cD"}},B:7,C:"Test feature - updated",D:false}; +module.exports={A:{A:{"2":"K D E A B gC","16":"F"},B:{"2":"5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I"},C:{"2":"0 1 2 3 4 5 6 7 8 9 hC IC K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC jC kC","16":"J LB"},D:{"2":"0 1 2 3 4 5 6 7 8 9 J LB K D E F A L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC","16":"B C"},E:{"2":"J K lC OC mC","16":"LB D E F A B C L M G nC oC pC PC CC DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC"},F:{"2":"0 1 2 3 4 F B C G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x xC yC zC 0C eC 1C DC","16":"CC"},G:{"2":"OC 2C fC 3C 4C","16":"E 5C 6C 7C 8C 9C AD BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC"},H:{"2":"PD"},I:{"2":"IC J I QD RD TD fC UD VD","16":"SD"},J:{"2":"A","16":"D"},K:{"2":"A B C H CC eC DC"},L:{"2":"I"},M:{"2":"BC"},N:{"2":"A B"},O:{"2":"EC"},P:{"2":"0 1 2 3 4 J y z WD XD YD ZD aD PC bD cD dD eD fD FC GC HC gD"},Q:{"2":"hD"},R:{"2":"iD"},S:{"2":"jD kD"}},B:7,C:"Test feature - updated",D:false}; diff --git a/node_modules/caniuse-lite/data/features/text-decoration.js b/node_modules/caniuse-lite/data/features/text-decoration.js index 2cc85c50c2..6a25646aa5 100644 --- a/node_modules/caniuse-lite/data/features/text-decoration.js +++ b/node_modules/caniuse-lite/data/features/text-decoration.js @@ -1 +1 @@ -module.exports={A:{A:{"2":"K D E F A B aC"},B:{"2":"C L M G N O P","2052":"0 1 2 3 4 5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I"},C:{"2":"bC DC J FB dC eC","1028":"0 1 2 3 4 5 6 7 8 9 RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC","1060":"K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB"},D:{"2":"J FB K D E F A B C L M G N O P GB u v w x y z","226":"HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB","2052":"0 1 2 3 4 5 6 7 8 9 mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC"},E:{"2":"J FB K D fC JC gC hC","772":"L M G 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC","804":"E F A B C jC KC 7B","1316":"iC"},F:{"2":"F B C G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB qC rC sC tC 7B YC uC 8B","226":"QB RB SB TB UB VB WB XB YB","2052":"ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t"},G:{"2":"JC vC ZC wC xC yC","292":"E zC 0C 1C 2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC"},H:{"2":"HD"},I:{"1":"I","2":"DC J ID JD KD LD ZC MD ND"},J:{"2":"D A"},K:{"2":"A B C 7B YC 8B","2052":"H"},L:{"2052":"I"},M:{"1028":"6B"},N:{"2":"A B"},O:{"2052":"9B"},P:{"2":"J OD PD","2052":"u v w x y z QD RD SD KC TD UD VD WD XD AC BC CC YD"},Q:{"2052":"ZD"},R:{"2052":"aD"},S:{"1028":"bD cD"}},B:4,C:"text-decoration styling",D:true}; +module.exports={A:{A:{"2":"K D E F A B gC"},B:{"2":"C L M G N O P","2052":"5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I"},C:{"2":"hC IC J LB jC kC","1028":"5 6 7 8 9 WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC","1060":"0 1 2 3 4 K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB"},D:{"2":"0 1 2 3 J LB K D E F A B C L M G N O P MB y z","226":"4 NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB","2052":"5 6 7 8 9 rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC"},E:{"2":"J LB K D lC OC mC nC","772":"L M G DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC","804":"E F A B C pC PC CC","1316":"oC"},F:{"2":"0 1 2 3 4 F B C G N O P MB y z NB OB PB QB RB SB TB UB xC yC zC 0C CC eC 1C DC","226":"VB WB XB YB ZB aB bB cB dB","2052":"eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x"},G:{"2":"OC 2C fC 3C 4C 5C","292":"E 6C 7C 8C 9C AD BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC"},H:{"2":"PD"},I:{"1":"I","2":"IC J QD RD SD TD fC UD VD"},J:{"2":"D A"},K:{"2":"A B C CC eC DC","2052":"H"},L:{"2052":"I"},M:{"1028":"BC"},N:{"2":"A B"},O:{"2052":"EC"},P:{"2":"J WD XD","2052":"0 1 2 3 4 y z YD ZD aD PC bD cD dD eD fD FC GC HC gD"},Q:{"2052":"hD"},R:{"2052":"iD"},S:{"1028":"jD kD"}},B:4,C:"text-decoration styling",D:true}; diff --git a/node_modules/caniuse-lite/data/features/text-emphasis.js b/node_modules/caniuse-lite/data/features/text-emphasis.js index 4c24617dbe..b63bbdf7c1 100644 --- a/node_modules/caniuse-lite/data/features/text-emphasis.js +++ b/node_modules/caniuse-lite/data/features/text-emphasis.js @@ -1 +1 @@ -module.exports={A:{A:{"2":"K D E F A B aC"},B:{"1":"0 1 2 3 4 5 6 7 8 9 i j k l m n o p q r s t AB BB CB DB EB I","2":"C L M G N O P","164":"Q H R S T U V W X Y Z a b c d e f g h"},C:{"1":"0 1 2 3 4 5 6 7 8 9 bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC","2":"bC DC J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB dC eC","322":"aB"},D:{"1":"0 1 2 3 4 5 6 7 8 9 i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC","2":"J FB K D E F A B C L M G N O P GB u v w x y","164":"z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h"},E:{"1":"E F A B C L M G iC jC KC 7B 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC","2":"J FB K fC JC gC","164":"D hC"},F:{"1":"V W X Y Z a b c d e f g h i j k l m n o p q r s t","2":"F B C qC rC sC tC 7B YC uC 8B","164":"G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U"},G:{"1":"E yC zC 0C 1C 2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC","2":"JC vC ZC wC xC"},H:{"2":"HD"},I:{"1":"I","2":"DC J ID JD KD LD ZC","164":"MD ND"},J:{"2":"D","164":"A"},K:{"1":"H","2":"A B C 7B YC 8B"},L:{"1":"I"},M:{"1":"6B"},N:{"2":"A B"},O:{"1":"9B"},P:{"1":"u v w x y z CC YD","164":"J OD PD QD RD SD KC TD UD VD WD XD AC BC"},Q:{"164":"ZD"},R:{"164":"aD"},S:{"1":"bD cD"}},B:4,C:"text-emphasis styling",D:true}; +module.exports={A:{A:{"2":"K D E F A B gC"},B:{"1":"5 6 7 8 9 i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I","2":"C L M G N O P","164":"Q H R S T U V W X Y Z a b c d e f g h"},C:{"1":"5 6 7 8 9 gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC","2":"0 1 2 3 4 hC IC J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB jC kC","322":"fB"},D:{"1":"5 6 7 8 9 i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC","2":"0 1 2 J LB K D E F A B C L M G N O P MB y z","164":"3 4 NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h"},E:{"1":"E F A B C L M G oC pC PC CC DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC","2":"J LB K lC OC mC","164":"D nC"},F:{"1":"V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x","2":"F B C xC yC zC 0C CC eC 1C DC","164":"0 1 2 3 4 G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U"},G:{"1":"E 5C 6C 7C 8C 9C AD BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC","2":"OC 2C fC 3C 4C"},H:{"2":"PD"},I:{"1":"I","2":"IC J QD RD SD TD fC","164":"UD VD"},J:{"2":"D","164":"A"},K:{"1":"H","2":"A B C CC eC DC"},L:{"1":"I"},M:{"1":"BC"},N:{"2":"A B"},O:{"1":"EC"},P:{"1":"0 1 2 3 4 y z HC gD","164":"J WD XD YD ZD aD PC bD cD dD eD fD FC GC"},Q:{"164":"hD"},R:{"164":"iD"},S:{"1":"jD kD"}},B:4,C:"text-emphasis styling",D:true}; diff --git a/node_modules/caniuse-lite/data/features/text-overflow.js b/node_modules/caniuse-lite/data/features/text-overflow.js index a432838dd7..e760732a3c 100644 --- a/node_modules/caniuse-lite/data/features/text-overflow.js +++ b/node_modules/caniuse-lite/data/features/text-overflow.js @@ -1 +1 @@ -module.exports={A:{A:{"1":"K D E F A B","2":"aC"},B:{"1":"0 1 2 3 4 5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC","8":"bC DC J FB K dC eC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC"},E:{"1":"J FB K D E F A B C L M G fC JC gC hC iC jC KC 7B 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC"},F:{"1":"B C G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t 7B YC uC 8B","33":"F qC rC sC tC"},G:{"1":"E JC vC ZC wC xC yC zC 0C 1C 2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC"},H:{"1":"HD"},I:{"1":"DC J I ID JD KD LD ZC MD ND"},J:{"1":"D A"},K:{"1":"H 8B","33":"A B C 7B YC"},L:{"1":"I"},M:{"1":"6B"},N:{"1":"A B"},O:{"1":"9B"},P:{"1":"J u v w x y z OD PD QD RD SD KC TD UD VD WD XD AC BC CC YD"},Q:{"1":"ZD"},R:{"1":"aD"},S:{"1":"bD cD"}},B:2,C:"CSS3 Text-overflow",D:true}; +module.exports={A:{A:{"1":"K D E F A B","2":"gC"},B:{"1":"5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC","8":"hC IC J LB K jC kC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC"},E:{"1":"J LB K D E F A B C L M G lC OC mC nC oC pC PC CC DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC"},F:{"1":"0 1 2 3 4 B C G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x CC eC 1C DC","33":"F xC yC zC 0C"},G:{"1":"E OC 2C fC 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC"},H:{"1":"PD"},I:{"1":"IC J I QD RD SD TD fC UD VD"},J:{"1":"D A"},K:{"1":"H DC","33":"A B C CC eC"},L:{"1":"I"},M:{"1":"BC"},N:{"1":"A B"},O:{"1":"EC"},P:{"1":"0 1 2 3 4 J y z WD XD YD ZD aD PC bD cD dD eD fD FC GC HC gD"},Q:{"1":"hD"},R:{"1":"iD"},S:{"1":"jD kD"}},B:2,C:"CSS3 Text-overflow",D:true}; diff --git a/node_modules/caniuse-lite/data/features/text-size-adjust.js b/node_modules/caniuse-lite/data/features/text-size-adjust.js index eacd4b689d..039c64d57e 100644 --- a/node_modules/caniuse-lite/data/features/text-size-adjust.js +++ b/node_modules/caniuse-lite/data/features/text-size-adjust.js @@ -1 +1 @@ -module.exports={A:{A:{"2":"K D E F A B aC"},B:{"1":"0 1 2 3 4 5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I","33":"C L M G N O P"},C:{"2":"0 1 2 3 4 5 6 7 8 9 bC DC J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC dC eC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC","2":"J FB K D E F A B C L M G N O P GB u v w x y z IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB","258":"HB"},E:{"2":"J FB K D E F A B C L M G fC JC hC iC jC KC 7B 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC","258":"gC"},F:{"1":"YB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t","2":"F B C G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB ZB qC rC sC tC 7B YC uC 8B"},G:{"2":"JC vC ZC","33":"E wC xC yC zC 0C 1C 2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC"},H:{"2":"HD"},I:{"1":"I","2":"DC J ID JD KD LD ZC MD ND"},J:{"2":"D A"},K:{"1":"H","2":"A B C 7B YC 8B"},L:{"1":"I"},M:{"33":"6B"},N:{"161":"A B"},O:{"1":"9B"},P:{"1":"u v w x y z OD PD QD RD SD KC TD UD VD WD XD AC BC CC YD","2":"J"},Q:{"1":"ZD"},R:{"1":"aD"},S:{"2":"bD cD"}},B:7,C:"CSS text-size-adjust",D:true}; +module.exports={A:{A:{"2":"K D E F A B gC"},B:{"1":"5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I","33":"C L M G N O P"},C:{"2":"0 1 2 3 4 5 6 7 8 9 hC IC J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC jC kC"},D:{"1":"5 6 7 8 9 oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC","2":"0 1 2 3 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB","258":"4"},E:{"2":"J LB K D E F A B C L M G lC OC nC oC pC PC CC DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC","258":"mC"},F:{"1":"dB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x","2":"0 1 2 3 4 F B C G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB eB xC yC zC 0C CC eC 1C DC"},G:{"2":"OC 2C fC","33":"E 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC"},H:{"2":"PD"},I:{"1":"I","2":"IC J QD RD SD TD fC UD VD"},J:{"2":"D A"},K:{"1":"H","2":"A B C CC eC DC"},L:{"1":"I"},M:{"33":"BC"},N:{"161":"A B"},O:{"1":"EC"},P:{"1":"0 1 2 3 4 y z WD XD YD ZD aD PC bD cD dD eD fD FC GC HC gD","2":"J"},Q:{"1":"hD"},R:{"1":"iD"},S:{"2":"jD kD"}},B:7,C:"CSS text-size-adjust",D:true}; diff --git a/node_modules/caniuse-lite/data/features/text-stroke.js b/node_modules/caniuse-lite/data/features/text-stroke.js index d52784ff10..e33917707c 100644 --- a/node_modules/caniuse-lite/data/features/text-stroke.js +++ b/node_modules/caniuse-lite/data/features/text-stroke.js @@ -1 +1 @@ -module.exports={A:{A:{"2":"K D E F A B aC"},B:{"2":"C L M","33":"0 1 2 3 4 5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I","161":"G N O P"},C:{"2":"bC DC J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dC eC","161":"0 1 2 3 4 5 6 7 8 9 eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC","450":"dB"},D:{"33":"0 1 2 3 4 5 6 7 8 9 J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC"},E:{"33":"J FB K D E F A B C L M G fC JC gC hC iC jC KC 7B 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC"},F:{"2":"F B C qC rC sC tC 7B YC uC 8B","33":"G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t"},G:{"33":"E vC ZC wC xC yC zC 0C 1C 2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC","36":"JC"},H:{"2":"HD"},I:{"2":"DC","33":"J I ID JD KD LD ZC MD ND"},J:{"33":"D A"},K:{"2":"A B C 7B YC 8B","33":"H"},L:{"33":"I"},M:{"161":"6B"},N:{"2":"A B"},O:{"33":"9B"},P:{"33":"J u v w x y z OD PD QD RD SD KC TD UD VD WD XD AC BC CC YD"},Q:{"33":"ZD"},R:{"33":"aD"},S:{"161":"bD cD"}},B:7,C:"CSS text-stroke and text-fill",D:true}; +module.exports={A:{A:{"2":"K D E F A B gC"},B:{"2":"C L M","33":"5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I","161":"G N O P"},C:{"2":"0 1 2 3 4 hC IC J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB jC kC","161":"5 6 7 8 9 jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC","450":"iB"},D:{"33":"0 1 2 3 4 5 6 7 8 9 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC"},E:{"33":"J LB K D E F A B C L M G lC OC mC nC oC pC PC CC DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC"},F:{"2":"F B C xC yC zC 0C CC eC 1C DC","33":"0 1 2 3 4 G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x"},G:{"33":"E 2C fC 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC","36":"OC"},H:{"2":"PD"},I:{"2":"IC","33":"J I QD RD SD TD fC UD VD"},J:{"33":"D A"},K:{"2":"A B C CC eC DC","33":"H"},L:{"33":"I"},M:{"161":"BC"},N:{"2":"A B"},O:{"33":"EC"},P:{"33":"0 1 2 3 4 J y z WD XD YD ZD aD PC bD cD dD eD fD FC GC HC gD"},Q:{"33":"hD"},R:{"33":"iD"},S:{"161":"jD kD"}},B:7,C:"CSS text-stroke and text-fill",D:true}; diff --git a/node_modules/caniuse-lite/data/features/textcontent.js b/node_modules/caniuse-lite/data/features/textcontent.js index 92be3d162d..73cb7267e7 100644 --- a/node_modules/caniuse-lite/data/features/textcontent.js +++ b/node_modules/caniuse-lite/data/features/textcontent.js @@ -1 +1 @@ -module.exports={A:{A:{"1":"F A B","2":"K D E aC"},B:{"1":"0 1 2 3 4 5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 bC DC J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC dC eC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC"},E:{"1":"J FB K D E F A B C L M G JC gC hC iC jC KC 7B 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC","16":"fC"},F:{"1":"B C G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t qC rC sC tC 7B YC uC 8B","16":"F"},G:{"1":"E vC ZC wC xC yC zC 0C 1C 2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC","16":"JC"},H:{"1":"HD"},I:{"1":"DC J I KD LD ZC MD ND","16":"ID JD"},J:{"1":"D A"},K:{"1":"A B C H 7B YC 8B"},L:{"1":"I"},M:{"1":"6B"},N:{"1":"A B"},O:{"1":"9B"},P:{"1":"J u v w x y z OD PD QD RD SD KC TD UD VD WD XD AC BC CC YD"},Q:{"1":"ZD"},R:{"1":"aD"},S:{"1":"bD cD"}},B:1,C:"Node.textContent",D:true}; +module.exports={A:{A:{"1":"F A B","2":"K D E gC"},B:{"1":"5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 hC IC J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC jC kC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC"},E:{"1":"J LB K D E F A B C L M G OC mC nC oC pC PC CC DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC","16":"lC"},F:{"1":"0 1 2 3 4 B C G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x xC yC zC 0C CC eC 1C DC","16":"F"},G:{"1":"E 2C fC 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC","16":"OC"},H:{"1":"PD"},I:{"1":"IC J I SD TD fC UD VD","16":"QD RD"},J:{"1":"D A"},K:{"1":"A B C H CC eC DC"},L:{"1":"I"},M:{"1":"BC"},N:{"1":"A B"},O:{"1":"EC"},P:{"1":"0 1 2 3 4 J y z WD XD YD ZD aD PC bD cD dD eD fD FC GC HC gD"},Q:{"1":"hD"},R:{"1":"iD"},S:{"1":"jD kD"}},B:1,C:"Node.textContent",D:true}; diff --git a/node_modules/caniuse-lite/data/features/textencoder.js b/node_modules/caniuse-lite/data/features/textencoder.js index 9c14b93b04..dfcfe0c57d 100644 --- a/node_modules/caniuse-lite/data/features/textencoder.js +++ b/node_modules/caniuse-lite/data/features/textencoder.js @@ -1 +1 @@ -module.exports={A:{A:{"2":"K D E F A B aC"},B:{"1":"0 1 2 3 4 5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I","2":"C L M G N O P"},C:{"1":"0 1 2 3 4 5 6 7 8 9 u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC","2":"bC DC J FB K D E F A B C L M G N O P dC eC","132":"GB"},D:{"1":"0 1 2 3 4 5 6 7 8 9 TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC","2":"J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB"},E:{"1":"B C L M G KC 7B 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC","2":"J FB K D E F A fC JC gC hC iC jC"},F:{"1":"z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t","2":"F B C G N O P GB u v w x y qC rC sC tC 7B YC uC 8B"},G:{"1":"3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC","2":"E JC vC ZC wC xC yC zC 0C 1C 2C"},H:{"2":"HD"},I:{"1":"I","2":"DC J ID JD KD LD ZC MD ND"},J:{"2":"D A"},K:{"1":"H","2":"A B C 7B YC 8B"},L:{"1":"I"},M:{"1":"6B"},N:{"2":"A B"},O:{"1":"9B"},P:{"1":"J u v w x y z OD PD QD RD SD KC TD UD VD WD XD AC BC CC YD"},Q:{"1":"ZD"},R:{"1":"aD"},S:{"1":"bD cD"}},B:1,C:"TextEncoder & TextDecoder",D:true}; +module.exports={A:{A:{"2":"K D E F A B gC"},B:{"1":"5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I","2":"C L M G N O P"},C:{"1":"0 1 2 3 4 5 6 7 8 9 y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC","2":"hC IC J LB K D E F A B C L M G N O P jC kC","132":"MB"},D:{"1":"5 6 7 8 9 YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC","2":"0 1 2 3 4 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB"},E:{"1":"B C L M G PC CC DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC","2":"J LB K D E F A lC OC mC nC oC pC"},F:{"1":"3 4 NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x","2":"0 1 2 F B C G N O P MB y z xC yC zC 0C CC eC 1C DC"},G:{"1":"AD BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC","2":"E OC 2C fC 3C 4C 5C 6C 7C 8C 9C"},H:{"2":"PD"},I:{"1":"I","2":"IC J QD RD SD TD fC UD VD"},J:{"2":"D A"},K:{"1":"H","2":"A B C CC eC DC"},L:{"1":"I"},M:{"1":"BC"},N:{"2":"A B"},O:{"1":"EC"},P:{"1":"0 1 2 3 4 J y z WD XD YD ZD aD PC bD cD dD eD fD FC GC HC gD"},Q:{"1":"hD"},R:{"1":"iD"},S:{"1":"jD kD"}},B:1,C:"TextEncoder & TextDecoder",D:true}; diff --git a/node_modules/caniuse-lite/data/features/tls1-1.js b/node_modules/caniuse-lite/data/features/tls1-1.js index 5f37de3c54..afd7c638e1 100644 --- a/node_modules/caniuse-lite/data/features/tls1-1.js +++ b/node_modules/caniuse-lite/data/features/tls1-1.js @@ -1 +1 @@ -module.exports={A:{A:{"1":"B","2":"K D aC","66":"E F A"},B:{"1":"0 1 2 3 4 5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I"},C:{"1":"y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB","2":"bC DC J FB K D E F A B C L M G N O P GB u v w dC eC","66":"x","129":"vB wB xB yB zB 0B 1B 2B 3B 4B","388":"0 1 2 3 4 5 6 7 8 9 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC"},D:{"1":"w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T","2":"J FB K D E F A B C L M G N O P GB u v","1540":"0 1 2 3 4 5 6 7 8 9 U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC"},E:{"1":"D E F A B C L iC jC KC 7B 8B","2":"J FB K fC JC gC hC","513":"M G kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC"},F:{"1":"G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 8B","2":"F B C qC rC sC tC 7B YC uC","1540":"0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t"},G:{"1":"E wC xC yC zC 0C 1C 2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC","2":"JC vC ZC"},H:{"1":"HD"},I:{"1":"I","2":"DC J ID JD KD LD ZC MD ND"},J:{"1":"A","2":"D"},K:{"1":"H 8B","2":"A B C 7B YC"},L:{"1":"I"},M:{"129":"6B"},N:{"1":"B","66":"A"},O:{"1":"9B"},P:{"1":"J u v w x y z OD PD QD RD SD KC TD UD VD WD XD AC BC CC YD"},Q:{"1":"ZD"},R:{"1":"aD"},S:{"1":"bD cD"}},B:6,C:"TLS 1.1",D:true}; +module.exports={A:{A:{"1":"B","2":"K D gC","66":"E F A"},B:{"1":"5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I"},C:{"1":"2 3 4 NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB","2":"0 hC IC J LB K D E F A B C L M G N O P MB y z jC kC","66":"1","129":"0B 1B 2B 3B 4B 5B 6B 7B 8B 9B","388":"5 6 7 8 9 AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC"},D:{"1":"0 1 2 3 4 NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T","2":"J LB K D E F A B C L M G N O P MB y z","1540":"5 6 7 8 9 U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC"},E:{"1":"D E F A B C L oC pC PC CC DC","2":"J LB K lC OC mC nC","513":"M G qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC"},F:{"1":"0 1 2 3 4 G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B DC","2":"F B C xC yC zC 0C CC eC 1C","1540":"5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x"},G:{"1":"E 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC","2":"OC 2C fC"},H:{"1":"PD"},I:{"1":"I","2":"IC J QD RD SD TD fC UD VD"},J:{"1":"A","2":"D"},K:{"1":"H DC","2":"A B C CC eC"},L:{"1":"I"},M:{"129":"BC"},N:{"1":"B","66":"A"},O:{"1":"EC"},P:{"1":"0 1 2 3 4 J y z WD XD YD ZD aD PC bD cD dD eD fD FC GC HC gD"},Q:{"1":"hD"},R:{"1":"iD"},S:{"1":"jD kD"}},B:6,C:"TLS 1.1",D:true}; diff --git a/node_modules/caniuse-lite/data/features/tls1-2.js b/node_modules/caniuse-lite/data/features/tls1-2.js index f56351cf3b..7cdb63d8ca 100644 --- a/node_modules/caniuse-lite/data/features/tls1-2.js +++ b/node_modules/caniuse-lite/data/features/tls1-2.js @@ -1 +1 @@ -module.exports={A:{A:{"1":"B","2":"K D aC","66":"E F A"},B:{"1":"0 1 2 3 4 5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC","2":"bC DC J FB K D E F A B C L M G N O P GB u v w x dC eC","66":"y z HB"},D:{"1":"0 1 2 3 4 5 6 7 8 9 KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC","2":"J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB"},E:{"1":"D E F A B C L M G iC jC KC 7B 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC","2":"J FB K fC JC gC hC"},F:{"1":"N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t","2":"F G qC","66":"B C rC sC tC 7B YC uC 8B"},G:{"1":"E wC xC yC zC 0C 1C 2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC","2":"JC vC ZC"},H:{"1":"HD"},I:{"1":"I","2":"DC J ID JD KD LD ZC MD ND"},J:{"1":"A","2":"D"},K:{"1":"H 8B","2":"A B C 7B YC"},L:{"1":"I"},M:{"1":"6B"},N:{"1":"B","66":"A"},O:{"1":"9B"},P:{"1":"J u v w x y z OD PD QD RD SD KC TD UD VD WD XD AC BC CC YD"},Q:{"1":"ZD"},R:{"1":"aD"},S:{"1":"bD cD"}},B:6,C:"TLS 1.2",D:true}; +module.exports={A:{A:{"1":"B","2":"K D gC","66":"E F A"},B:{"1":"5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I"},C:{"1":"5 6 7 8 9 NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC","2":"0 1 hC IC J LB K D E F A B C L M G N O P MB y z jC kC","66":"2 3 4"},D:{"1":"5 6 7 8 9 PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC","2":"0 1 2 3 4 J LB K D E F A B C L M G N O P MB y z NB OB"},E:{"1":"D E F A B C L M G oC pC PC CC DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC","2":"J LB K lC OC mC nC"},F:{"1":"0 1 2 3 4 N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x","2":"F G xC","66":"B C yC zC 0C CC eC 1C DC"},G:{"1":"E 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC","2":"OC 2C fC"},H:{"1":"PD"},I:{"1":"I","2":"IC J QD RD SD TD fC UD VD"},J:{"1":"A","2":"D"},K:{"1":"H DC","2":"A B C CC eC"},L:{"1":"I"},M:{"1":"BC"},N:{"1":"B","66":"A"},O:{"1":"EC"},P:{"1":"0 1 2 3 4 J y z WD XD YD ZD aD PC bD cD dD eD fD FC GC HC gD"},Q:{"1":"hD"},R:{"1":"iD"},S:{"1":"jD kD"}},B:6,C:"TLS 1.2",D:true}; diff --git a/node_modules/caniuse-lite/data/features/tls1-3.js b/node_modules/caniuse-lite/data/features/tls1-3.js index 33ae6f26bc..ad0eed5507 100644 --- a/node_modules/caniuse-lite/data/features/tls1-3.js +++ b/node_modules/caniuse-lite/data/features/tls1-3.js @@ -1 +1 @@ -module.exports={A:{A:{"2":"K D E F A B aC"},B:{"1":"0 1 2 3 4 5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I","2":"C L M G N O P"},C:{"1":"0 1 2 3 4 5 6 7 8 9 qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC","2":"bC DC J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB dC eC","132":"oB FC pB","450":"gB hB iB jB kB lB mB nB EC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC","2":"J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB","706":"jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB"},E:{"1":"M G lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC","2":"J FB K D E F A B C fC JC gC hC iC jC KC 7B","1028":"L 8B kC"},F:{"1":"mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t","2":"F B C G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB qC rC sC tC 7B YC uC 8B","706":"jB kB lB"},G:{"1":"7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC","2":"E JC vC ZC wC xC yC zC 0C 1C 2C 3C 4C 5C 6C"},H:{"2":"HD"},I:{"1":"I","2":"DC J ID JD KD LD ZC MD ND"},J:{"2":"D A"},K:{"1":"H","2":"A B C 7B YC 8B"},L:{"1":"I"},M:{"1":"6B"},N:{"2":"A B"},O:{"1":"9B"},P:{"1":"u v w x y z KC TD UD VD WD XD AC BC CC YD","2":"J OD PD QD RD SD"},Q:{"1":"ZD"},R:{"1":"aD"},S:{"1":"cD","2":"bD"}},B:6,C:"TLS 1.3",D:true}; +module.exports={A:{A:{"2":"K D E F A B gC"},B:{"1":"5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I","2":"C L M G N O P"},C:{"1":"5 6 7 8 9 vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC","2":"0 1 2 3 4 hC IC J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB jC kC","132":"tB KC uB","450":"lB mB nB oB pB qB rB sB JC"},D:{"1":"5 6 7 8 9 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC","2":"0 1 2 3 4 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB","706":"oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B"},E:{"1":"M G rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC","2":"J LB K D E F A B C lC OC mC nC oC pC PC CC","1028":"L DC qC"},F:{"1":"rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x","2":"0 1 2 3 4 F B C G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB xC yC zC 0C CC eC 1C DC","706":"oB pB qB"},G:{"1":"ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC","2":"E OC 2C fC 3C 4C 5C 6C 7C 8C 9C AD BD CD DD"},H:{"2":"PD"},I:{"1":"I","2":"IC J QD RD SD TD fC UD VD"},J:{"2":"D A"},K:{"1":"H","2":"A B C CC eC DC"},L:{"1":"I"},M:{"1":"BC"},N:{"2":"A B"},O:{"1":"EC"},P:{"1":"0 1 2 3 4 y z PC bD cD dD eD fD FC GC HC gD","2":"J WD XD YD ZD aD"},Q:{"1":"hD"},R:{"1":"iD"},S:{"1":"kD","2":"jD"}},B:6,C:"TLS 1.3",D:true}; diff --git a/node_modules/caniuse-lite/data/features/touch.js b/node_modules/caniuse-lite/data/features/touch.js index b5138560ac..c90663de27 100644 --- a/node_modules/caniuse-lite/data/features/touch.js +++ b/node_modules/caniuse-lite/data/features/touch.js @@ -1 +1 @@ -module.exports={A:{A:{"2":"K D E F aC","8":"A B"},B:{"1":"0 1 2 3 4 5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I","578":"C L M G N O P"},C:{"1":"0 1 2 3 4 5 6 7 8 9 P GB u v w x y hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC","2":"bC DC dC eC","4":"J FB K D E F A B C L M G N O","194":"z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB"},D:{"1":"0 1 2 3 4 5 6 7 8 9 w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC","2":"J FB K D E F A B C L M G N O P GB u v"},E:{"2":"J FB K D E F A B C L M G fC JC gC hC iC jC KC 7B 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC"},F:{"1":"G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t","2":"F B C qC rC sC tC 7B YC uC 8B"},G:{"1":"E JC vC ZC wC xC yC zC 0C 1C 2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC"},H:{"2":"HD"},I:{"1":"DC J I ID JD KD LD ZC MD ND"},J:{"1":"D A"},K:{"1":"B C H 7B YC 8B","2":"A"},L:{"1":"I"},M:{"1":"6B"},N:{"8":"A","260":"B"},O:{"1":"9B"},P:{"1":"J u v w x y z OD PD QD RD SD KC TD UD VD WD XD AC BC CC YD"},Q:{"1":"ZD"},R:{"1":"aD"},S:{"1":"cD","2":"bD"}},B:2,C:"Touch events",D:true}; +module.exports={A:{A:{"2":"K D E F gC","8":"A B"},B:{"1":"5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I","578":"C L M G N O P"},C:{"1":"0 1 2 5 6 7 8 9 P MB y z mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC","2":"hC IC jC kC","4":"J LB K D E F A B C L M G N O","194":"3 4 NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB"},D:{"1":"0 1 2 3 4 5 6 7 8 9 NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC","2":"J LB K D E F A B C L M G N O P MB y z"},E:{"2":"J LB K D E F A B C L M G lC OC mC nC oC pC PC CC DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC"},F:{"1":"0 1 2 3 4 G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x","2":"F B C xC yC zC 0C CC eC 1C DC"},G:{"1":"E OC 2C fC 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC"},H:{"2":"PD"},I:{"1":"IC J I QD RD SD TD fC UD VD"},J:{"1":"D A"},K:{"1":"B C H CC eC DC","2":"A"},L:{"1":"I"},M:{"1":"BC"},N:{"8":"A","260":"B"},O:{"1":"EC"},P:{"1":"0 1 2 3 4 J y z WD XD YD ZD aD PC bD cD dD eD fD FC GC HC gD"},Q:{"1":"hD"},R:{"1":"iD"},S:{"1":"kD","2":"jD"}},B:2,C:"Touch events",D:true}; diff --git a/node_modules/caniuse-lite/data/features/transforms2d.js b/node_modules/caniuse-lite/data/features/transforms2d.js index bc838e0cd9..60a84012d9 100644 --- a/node_modules/caniuse-lite/data/features/transforms2d.js +++ b/node_modules/caniuse-lite/data/features/transforms2d.js @@ -1 +1 @@ -module.exports={A:{A:{"2":"aC","8":"K D E","129":"A B","161":"F"},B:{"1":"0 1 2 3 4 5 6 7 8 9 O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I","129":"C L M G N"},C:{"1":"0 1 2 3 4 5 6 7 8 9 N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC","2":"bC DC","33":"J FB K D E F A B C L M G dC eC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC","33":"J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB"},E:{"1":"F A B C L M G jC KC 7B 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC","33":"J FB K D E fC JC gC hC iC"},F:{"1":"x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t 8B","2":"F qC rC","33":"B C G N O P GB u v w sC tC 7B YC uC"},G:{"1":"0C 1C 2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC","33":"E JC vC ZC wC xC yC zC"},H:{"2":"HD"},I:{"1":"I","33":"DC J ID JD KD LD ZC MD ND"},J:{"33":"D A"},K:{"1":"B C H 7B YC 8B","2":"A"},L:{"1":"I"},M:{"1":"6B"},N:{"1":"A B"},O:{"1":"9B"},P:{"1":"J u v w x y z OD PD QD RD SD KC TD UD VD WD XD AC BC CC YD"},Q:{"1":"ZD"},R:{"1":"aD"},S:{"1":"bD cD"}},B:4,C:"CSS3 2D Transforms",D:true}; +module.exports={A:{A:{"2":"gC","8":"K D E","129":"A B","161":"F"},B:{"1":"5 6 7 8 9 O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I","129":"C L M G N"},C:{"1":"0 1 2 3 4 5 6 7 8 9 N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC","2":"hC IC","33":"J LB K D E F A B C L M G jC kC"},D:{"1":"5 6 7 8 9 WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC","33":"0 1 2 3 4 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB"},E:{"1":"F A B C L M G pC PC CC DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC","33":"J LB K D E lC OC mC nC oC"},F:{"1":"1 2 3 4 NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x DC","2":"F xC yC","33":"0 B C G N O P MB y z zC 0C CC eC 1C"},G:{"1":"7C 8C 9C AD BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC","33":"E OC 2C fC 3C 4C 5C 6C"},H:{"2":"PD"},I:{"1":"I","33":"IC J QD RD SD TD fC UD VD"},J:{"33":"D A"},K:{"1":"B C H CC eC DC","2":"A"},L:{"1":"I"},M:{"1":"BC"},N:{"1":"A B"},O:{"1":"EC"},P:{"1":"0 1 2 3 4 J y z WD XD YD ZD aD PC bD cD dD eD fD FC GC HC gD"},Q:{"1":"hD"},R:{"1":"iD"},S:{"1":"jD kD"}},B:4,C:"CSS3 2D Transforms",D:true}; diff --git a/node_modules/caniuse-lite/data/features/transforms3d.js b/node_modules/caniuse-lite/data/features/transforms3d.js index 076503d015..afa6816869 100644 --- a/node_modules/caniuse-lite/data/features/transforms3d.js +++ b/node_modules/caniuse-lite/data/features/transforms3d.js @@ -1 +1 @@ -module.exports={A:{A:{"2":"K D E F aC","132":"A B"},B:{"1":"0 1 2 3 4 5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC","2":"bC DC J FB K D E F dC eC","33":"A B C L M G"},D:{"1":"0 1 2 3 4 5 6 7 8 9 RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC","2":"J FB K D E F A B","33":"C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB"},E:{"1":"MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC","2":"fC JC","33":"J FB K D E gC hC iC","257":"F A B C L M G jC KC 7B 8B kC lC mC LC"},F:{"1":"x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t","2":"F B C qC rC sC tC 7B YC uC 8B","33":"G N O P GB u v w"},G:{"1":"MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC","33":"E JC vC ZC wC xC yC zC","257":"0C 1C 2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED LC"},H:{"2":"HD"},I:{"1":"I","2":"ID JD KD","33":"DC J LD ZC MD ND"},J:{"33":"D A"},K:{"1":"H","2":"A B C 7B YC 8B"},L:{"1":"I"},M:{"1":"6B"},N:{"132":"A B"},O:{"1":"9B"},P:{"1":"J u v w x y z OD PD QD RD SD KC TD UD VD WD XD AC BC CC YD"},Q:{"1":"ZD"},R:{"1":"aD"},S:{"1":"bD cD"}},B:5,C:"CSS3 3D Transforms",D:true}; +module.exports={A:{A:{"2":"K D E F gC","132":"A B"},B:{"1":"5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC","2":"hC IC J LB K D E F jC kC","33":"A B C L M G"},D:{"1":"5 6 7 8 9 WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC","2":"J LB K D E F A B","33":"0 1 2 3 4 C L M G N O P MB y z NB OB PB QB RB SB TB UB VB"},E:{"1":"RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC","2":"lC OC","33":"J LB K D E mC nC oC","257":"F A B C L M G pC PC CC DC qC rC sC QC"},F:{"1":"1 2 3 4 NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x","2":"F B C xC yC zC 0C CC eC 1C DC","33":"0 G N O P MB y z"},G:{"1":"RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC","33":"E OC 2C fC 3C 4C 5C 6C","257":"7C 8C 9C AD BD CD DD ED FD GD HD ID JD KD LD QC"},H:{"2":"PD"},I:{"1":"I","2":"QD RD SD","33":"IC J TD fC UD VD"},J:{"33":"D A"},K:{"1":"H","2":"A B C CC eC DC"},L:{"1":"I"},M:{"1":"BC"},N:{"132":"A B"},O:{"1":"EC"},P:{"1":"0 1 2 3 4 J y z WD XD YD ZD aD PC bD cD dD eD fD FC GC HC gD"},Q:{"1":"hD"},R:{"1":"iD"},S:{"1":"jD kD"}},B:5,C:"CSS3 3D Transforms",D:true}; diff --git a/node_modules/caniuse-lite/data/features/trusted-types.js b/node_modules/caniuse-lite/data/features/trusted-types.js index 27151503ce..059a4547b2 100644 --- a/node_modules/caniuse-lite/data/features/trusted-types.js +++ b/node_modules/caniuse-lite/data/features/trusted-types.js @@ -1 +1 @@ -module.exports={A:{A:{"2":"K D E F A B aC"},B:{"1":"0 1 2 3 4 5 6 7 8 9 S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I","2":"C L M G N O P Q H R"},C:{"2":"0 1 2 3 4 5 6 7 8 9 bC DC J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC dC eC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC","2":"J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R"},E:{"2":"J FB K D E F A B C L M G fC JC gC hC iC jC KC 7B 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC"},F:{"1":"wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t","2":"F B C G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB qC rC sC tC 7B YC uC 8B"},G:{"2":"E JC vC ZC wC xC yC zC 0C 1C 2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC"},H:{"2":"HD"},I:{"1":"I","2":"DC J ID JD KD LD ZC MD ND"},J:{"2":"D A"},K:{"1":"H","2":"A B C 7B YC 8B"},L:{"1":"I"},M:{"2":"6B"},N:{"2":"A B"},O:{"1":"9B"},P:{"1":"u v w x y z VD WD XD AC BC CC YD","2":"J OD PD QD RD SD KC TD UD"},Q:{"2":"ZD"},R:{"1":"aD"},S:{"2":"bD cD"}},B:7,C:"Trusted Types for DOM manipulation",D:true}; +module.exports={A:{A:{"2":"K D E F A B gC"},B:{"1":"5 6 7 8 9 S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I","2":"C L M G N O P Q H R"},C:{"2":"0 1 2 3 4 5 6 7 8 9 hC IC J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC jC kC"},D:{"1":"5 6 7 8 9 S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC","2":"0 1 2 3 4 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R"},E:{"2":"J LB K D E F A B C L M G lC OC mC nC oC pC PC CC DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC"},F:{"1":"1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x","2":"0 1 2 3 4 F B C G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B xC yC zC 0C CC eC 1C DC"},G:{"2":"E OC 2C fC 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC"},H:{"2":"PD"},I:{"1":"I","2":"IC J QD RD SD TD fC UD VD"},J:{"2":"D A"},K:{"1":"H","2":"A B C CC eC DC"},L:{"1":"I"},M:{"2":"BC"},N:{"2":"A B"},O:{"1":"EC"},P:{"1":"0 1 2 3 4 y z dD eD fD FC GC HC gD","2":"J WD XD YD ZD aD PC bD cD"},Q:{"2":"hD"},R:{"1":"iD"},S:{"2":"jD kD"}},B:7,C:"Trusted Types for DOM manipulation",D:true}; diff --git a/node_modules/caniuse-lite/data/features/ttf.js b/node_modules/caniuse-lite/data/features/ttf.js index 2d169c9cb4..5286c571ab 100644 --- a/node_modules/caniuse-lite/data/features/ttf.js +++ b/node_modules/caniuse-lite/data/features/ttf.js @@ -1 +1 @@ -module.exports={A:{A:{"2":"K D E aC","132":"F A B"},B:{"1":"0 1 2 3 4 5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC dC eC","2":"bC DC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC"},E:{"1":"J FB K D E F A B C L M G fC JC gC hC iC jC KC 7B 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC"},F:{"1":"B C G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t rC sC tC 7B YC uC 8B","2":"F qC"},G:{"1":"E ZC wC xC yC zC 0C 1C 2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC","2":"JC vC"},H:{"2":"HD"},I:{"1":"DC J I JD KD LD ZC MD ND","2":"ID"},J:{"1":"D A"},K:{"1":"A B C H 7B YC 8B"},L:{"1":"I"},M:{"1":"6B"},N:{"132":"A B"},O:{"1":"9B"},P:{"1":"J u v w x y z OD PD QD RD SD KC TD UD VD WD XD AC BC CC YD"},Q:{"1":"ZD"},R:{"1":"aD"},S:{"1":"bD cD"}},B:6,C:"TTF/OTF - TrueType and OpenType font support",D:true}; +module.exports={A:{A:{"2":"K D E gC","132":"F A B"},B:{"1":"5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC jC kC","2":"hC IC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC"},E:{"1":"J LB K D E F A B C L M G lC OC mC nC oC pC PC CC DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC"},F:{"1":"0 1 2 3 4 B C G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x yC zC 0C CC eC 1C DC","2":"F xC"},G:{"1":"E fC 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC","2":"OC 2C"},H:{"2":"PD"},I:{"1":"IC J I RD SD TD fC UD VD","2":"QD"},J:{"1":"D A"},K:{"1":"A B C H CC eC DC"},L:{"1":"I"},M:{"1":"BC"},N:{"132":"A B"},O:{"1":"EC"},P:{"1":"0 1 2 3 4 J y z WD XD YD ZD aD PC bD cD dD eD fD FC GC HC gD"},Q:{"1":"hD"},R:{"1":"iD"},S:{"1":"jD kD"}},B:6,C:"TTF/OTF - TrueType and OpenType font support",D:true}; diff --git a/node_modules/caniuse-lite/data/features/typedarrays.js b/node_modules/caniuse-lite/data/features/typedarrays.js index 308e815480..3bc6b27f0a 100644 --- a/node_modules/caniuse-lite/data/features/typedarrays.js +++ b/node_modules/caniuse-lite/data/features/typedarrays.js @@ -1 +1 @@ -module.exports={A:{A:{"1":"B","2":"K D E F aC","132":"A"},B:{"1":"0 1 2 3 4 5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC","2":"bC DC dC eC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC","2":"J FB K"},E:{"1":"K D E F A B C L M G hC iC jC KC 7B 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC","2":"J FB fC JC","260":"gC"},F:{"1":"C G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t uC 8B","2":"F B qC rC sC tC 7B YC"},G:{"1":"E wC xC yC zC 0C 1C 2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC","2":"JC vC","260":"ZC"},H:{"1":"HD"},I:{"1":"J I LD ZC MD ND","2":"DC ID JD KD"},J:{"1":"A","2":"D"},K:{"1":"C H 8B","2":"A B 7B YC"},L:{"1":"I"},M:{"1":"6B"},N:{"132":"A B"},O:{"1":"9B"},P:{"1":"J u v w x y z OD PD QD RD SD KC TD UD VD WD XD AC BC CC YD"},Q:{"1":"ZD"},R:{"1":"aD"},S:{"1":"bD cD"}},B:6,C:"Typed Arrays",D:true}; +module.exports={A:{A:{"1":"B","2":"K D E F gC","132":"A"},B:{"1":"5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC","2":"hC IC jC kC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC","2":"J LB K"},E:{"1":"K D E F A B C L M G nC oC pC PC CC DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC","2":"J LB lC OC","260":"mC"},F:{"1":"0 1 2 3 4 C G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x 1C DC","2":"F B xC yC zC 0C CC eC"},G:{"1":"E 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC","2":"OC 2C","260":"fC"},H:{"1":"PD"},I:{"1":"J I TD fC UD VD","2":"IC QD RD SD"},J:{"1":"A","2":"D"},K:{"1":"C H DC","2":"A B CC eC"},L:{"1":"I"},M:{"1":"BC"},N:{"132":"A B"},O:{"1":"EC"},P:{"1":"0 1 2 3 4 J y z WD XD YD ZD aD PC bD cD dD eD fD FC GC HC gD"},Q:{"1":"hD"},R:{"1":"iD"},S:{"1":"jD kD"}},B:6,C:"Typed Arrays",D:true}; diff --git a/node_modules/caniuse-lite/data/features/u2f.js b/node_modules/caniuse-lite/data/features/u2f.js index 30d5d79a68..49fd6c882f 100644 --- a/node_modules/caniuse-lite/data/features/u2f.js +++ b/node_modules/caniuse-lite/data/features/u2f.js @@ -1 +1 @@ -module.exports={A:{A:{"2":"K D E F A B aC"},B:{"2":"0 1 2 3 4 5 6 7 8 9 C L M G N O P p q r s t AB BB CB DB EB I","513":"Q H R S T U V W X Y Z a b c d e f g h i j k l m n o"},C:{"1":"0 uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t","2":"3 4 5 6 7 8 9 bC DC J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB AB BB CB DB EB I 6B HC IC cC dC eC","322":"1 2 cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB"},D:{"2":"0 1 2 3 4 5 6 7 8 9 J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB p q r s t AB BB CB DB EB I 6B HC IC","130":"TB UB VB","513":"WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g","578":"h i j k l m n o"},E:{"1":"L M G kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC","2":"J FB K D E F A B C fC JC gC hC iC jC KC 7B 8B"},F:{"2":"F B C G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB WB qC rC sC tC 7B YC uC 8B","513":"VB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t"},G:{"1":"AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC","2":"E JC vC ZC wC xC yC zC 0C 1C 2C 3C 4C 5C 6C 7C 8C 9C"},H:{"2":"HD"},I:{"2":"DC J I ID JD KD LD ZC MD ND"},J:{"2":"D A"},K:{"2":"A B C H 7B YC 8B"},L:{"2":"I"},M:{"1":"6B"},N:{"2":"A B"},O:{"2":"9B"},P:{"2":"J u v w x y z OD PD QD RD SD KC TD UD VD WD XD AC BC CC YD"},Q:{"2":"ZD"},R:{"2":"aD"},S:{"1":"cD","322":"bD"}},B:7,C:"FIDO U2F API",D:true}; +module.exports={A:{A:{"2":"K D E F A B gC"},B:{"2":"5 6 7 8 9 C L M G N O P p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I","513":"Q H R S T U V W X Y Z a b c d e f g h i j k l m n o"},C:{"1":"zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u","2":"0 1 2 3 4 5 6 7 8 9 hC IC J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC jC kC","322":"hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB v w"},D:{"2":"0 1 2 3 4 5 6 7 8 9 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC","130":"YB ZB aB","513":"bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g","578":"h i j k l m n o"},E:{"1":"L M G qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC","2":"J LB K D E F A B C lC OC mC nC oC pC PC CC DC"},F:{"2":"0 1 2 3 4 F B C G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB bB xC yC zC 0C CC eC 1C DC","513":"aB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x"},G:{"1":"HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC","2":"E OC 2C fC 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED FD GD"},H:{"2":"PD"},I:{"2":"IC J I QD RD SD TD fC UD VD"},J:{"2":"D A"},K:{"2":"A B C H CC eC DC"},L:{"2":"I"},M:{"1":"BC"},N:{"2":"A B"},O:{"2":"EC"},P:{"2":"0 1 2 3 4 J y z WD XD YD ZD aD PC bD cD dD eD fD FC GC HC gD"},Q:{"2":"hD"},R:{"2":"iD"},S:{"1":"kD","322":"jD"}},B:7,C:"FIDO U2F API",D:true}; diff --git a/node_modules/caniuse-lite/data/features/unhandledrejection.js b/node_modules/caniuse-lite/data/features/unhandledrejection.js index 8091e7a353..23bd8919f0 100644 --- a/node_modules/caniuse-lite/data/features/unhandledrejection.js +++ b/node_modules/caniuse-lite/data/features/unhandledrejection.js @@ -1 +1 @@ -module.exports={A:{A:{"2":"K D E F A B aC"},B:{"1":"0 1 2 3 4 5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I","2":"C L M G N O P"},C:{"1":"0 1 2 3 4 5 6 7 8 9 wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC","2":"bC DC J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB dC eC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC","2":"J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB"},E:{"1":"B C L M G 7B 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC","2":"J FB K D E F A fC JC gC hC iC jC KC"},F:{"1":"RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t","2":"F B C G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB qC rC sC tC 7B YC uC 8B"},G:{"1":"5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC","2":"E JC vC ZC wC xC yC zC 0C 1C 2C 3C","16":"4C"},H:{"2":"HD"},I:{"1":"I","2":"DC J ID JD KD LD ZC MD ND"},J:{"2":"D A"},K:{"1":"H","2":"A B C 7B YC 8B"},L:{"1":"I"},M:{"1":"6B"},N:{"2":"A B"},O:{"1":"9B"},P:{"1":"u v w x y z OD PD QD RD SD KC TD UD VD WD XD AC BC CC YD","2":"J"},Q:{"1":"ZD"},R:{"1":"aD"},S:{"1":"cD","2":"bD"}},B:1,C:"unhandledrejection/rejectionhandled events",D:true}; +module.exports={A:{A:{"2":"K D E F A B gC"},B:{"1":"5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I","2":"C L M G N O P"},C:{"1":"5 6 7 8 9 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC","2":"0 1 2 3 4 hC IC J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B jC kC"},D:{"1":"5 6 7 8 9 jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC","2":"0 1 2 3 4 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB"},E:{"1":"B C L M G CC DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC","2":"J LB K D E F A lC OC mC nC oC pC PC"},F:{"1":"WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x","2":"0 1 2 3 4 F B C G N O P MB y z NB OB PB QB RB SB TB UB VB xC yC zC 0C CC eC 1C DC"},G:{"1":"CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC","2":"E OC 2C fC 3C 4C 5C 6C 7C 8C 9C AD","16":"BD"},H:{"2":"PD"},I:{"1":"I","2":"IC J QD RD SD TD fC UD VD"},J:{"2":"D A"},K:{"1":"H","2":"A B C CC eC DC"},L:{"1":"I"},M:{"1":"BC"},N:{"2":"A B"},O:{"1":"EC"},P:{"1":"0 1 2 3 4 y z WD XD YD ZD aD PC bD cD dD eD fD FC GC HC gD","2":"J"},Q:{"1":"hD"},R:{"1":"iD"},S:{"1":"kD","2":"jD"}},B:1,C:"unhandledrejection/rejectionhandled events",D:true}; diff --git a/node_modules/caniuse-lite/data/features/upgradeinsecurerequests.js b/node_modules/caniuse-lite/data/features/upgradeinsecurerequests.js index bb55671c35..80840321b7 100644 --- a/node_modules/caniuse-lite/data/features/upgradeinsecurerequests.js +++ b/node_modules/caniuse-lite/data/features/upgradeinsecurerequests.js @@ -1 +1 @@ -module.exports={A:{A:{"2":"K D E F A B aC"},B:{"1":"0 1 2 3 4 5 6 7 8 9 O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I","2":"C L M G N"},C:{"1":"0 1 2 3 4 5 6 7 8 9 XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC","2":"bC DC J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB dC eC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC","2":"J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB"},E:{"1":"B C L M G KC 7B 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC","2":"J FB K D E F A fC JC gC hC iC jC"},F:{"1":"LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t","2":"F B C G N O P GB u v w x y z HB IB JB KB qC rC sC tC 7B YC uC 8B"},G:{"1":"3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC","2":"E JC vC ZC wC xC yC zC 0C 1C 2C"},H:{"2":"HD"},I:{"1":"I","2":"DC J ID JD KD LD ZC MD ND"},J:{"2":"D A"},K:{"1":"H","2":"A B C 7B YC 8B"},L:{"1":"I"},M:{"1":"6B"},N:{"2":"A B"},O:{"1":"9B"},P:{"1":"J u v w x y z OD PD QD RD SD KC TD UD VD WD XD AC BC CC YD"},Q:{"1":"ZD"},R:{"1":"aD"},S:{"1":"bD cD"}},B:4,C:"Upgrade Insecure Requests",D:true}; +module.exports={A:{A:{"2":"K D E F A B gC"},B:{"1":"5 6 7 8 9 O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I","2":"C L M G N"},C:{"1":"5 6 7 8 9 cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC","2":"0 1 2 3 4 hC IC J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB jC kC"},D:{"1":"5 6 7 8 9 dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC","2":"0 1 2 3 4 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB"},E:{"1":"B C L M G PC CC DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC","2":"J LB K D E F A lC OC mC nC oC pC"},F:{"1":"QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x","2":"0 1 2 3 4 F B C G N O P MB y z NB OB PB xC yC zC 0C CC eC 1C DC"},G:{"1":"AD BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC","2":"E OC 2C fC 3C 4C 5C 6C 7C 8C 9C"},H:{"2":"PD"},I:{"1":"I","2":"IC J QD RD SD TD fC UD VD"},J:{"2":"D A"},K:{"1":"H","2":"A B C CC eC DC"},L:{"1":"I"},M:{"1":"BC"},N:{"2":"A B"},O:{"1":"EC"},P:{"1":"0 1 2 3 4 J y z WD XD YD ZD aD PC bD cD dD eD fD FC GC HC gD"},Q:{"1":"hD"},R:{"1":"iD"},S:{"1":"jD kD"}},B:4,C:"Upgrade Insecure Requests",D:true}; diff --git a/node_modules/caniuse-lite/data/features/url-scroll-to-text-fragment.js b/node_modules/caniuse-lite/data/features/url-scroll-to-text-fragment.js index 44be1fba6f..8bc1c56dff 100644 --- a/node_modules/caniuse-lite/data/features/url-scroll-to-text-fragment.js +++ b/node_modules/caniuse-lite/data/features/url-scroll-to-text-fragment.js @@ -1 +1 @@ -module.exports={A:{A:{"2":"K D E F A B aC"},B:{"1":"0 1 2 3 4 5 6 7 8 9 S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I","2":"C L M G N O P","66":"Q H R"},C:{"2":"0 1 2 3 4 5 6 7 8 9 bC DC J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC dC eC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC","2":"J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B","66":"1B 2B 3B 4B 5B Q H"},E:{"1":"NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC","2":"J FB K D E F A B C L M G fC JC gC hC iC jC KC 7B 8B kC lC mC LC MC 9B nC AC"},F:{"1":"vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t","2":"F B C G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB qC rC sC tC 7B YC uC 8B","66":"tB uB"},G:{"1":"NC OC PC QC RC GD BC SC TC UC VC WC XC CC","2":"E JC vC ZC wC xC yC zC 0C 1C 2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC"},H:{"2":"HD"},I:{"1":"I","2":"DC J ID JD KD LD ZC MD ND"},J:{"2":"D A"},K:{"1":"H","2":"A B C 7B YC 8B"},L:{"1":"I"},M:{"2":"6B"},N:{"2":"A B"},O:{"2":"9B"},P:{"1":"u v w x y z VD WD XD AC BC CC YD","2":"J OD PD QD RD SD KC TD UD"},Q:{"2":"ZD"},R:{"1":"aD"},S:{"2":"bD cD"}},B:7,C:"URL Scroll-To-Text Fragment",D:true}; +module.exports={A:{A:{"2":"K D E F A B gC"},B:{"1":"5 6 7 8 9 S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I","2":"C L M G N O P","66":"Q H R"},C:{"1":"I BC MC NC iC","2":"0 1 2 3 4 5 6 7 8 9 hC IC J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB jC kC"},D:{"1":"5 6 7 8 9 R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC","2":"0 1 2 3 4 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B","66":"6B 7B 8B 9B AC Q H"},E:{"1":"SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC","2":"J LB K D E F A B C L M G lC OC mC nC oC pC PC CC DC qC rC sC QC RC EC tC FC"},F:{"1":"0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x","2":"0 1 2 3 4 F B C G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB xC yC zC 0C CC eC 1C DC","66":"yB zB"},G:{"1":"SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC","2":"E OC 2C fC 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC"},H:{"2":"PD"},I:{"1":"I","2":"IC J QD RD SD TD fC UD VD"},J:{"2":"D A"},K:{"1":"H","2":"A B C CC eC DC"},L:{"1":"I"},M:{"1":"BC"},N:{"2":"A B"},O:{"2":"EC"},P:{"1":"0 1 2 3 4 y z dD eD fD FC GC HC gD","2":"J WD XD YD ZD aD PC bD cD"},Q:{"2":"hD"},R:{"1":"iD"},S:{"2":"jD kD"}},B:7,C:"URL Scroll-To-Text Fragment",D:true}; diff --git a/node_modules/caniuse-lite/data/features/url.js b/node_modules/caniuse-lite/data/features/url.js index cb138c409c..0785f4ab1c 100644 --- a/node_modules/caniuse-lite/data/features/url.js +++ b/node_modules/caniuse-lite/data/features/url.js @@ -1 +1 @@ -module.exports={A:{A:{"2":"K D E F A B aC"},B:{"1":"0 1 2 3 4 5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC","2":"bC DC J FB K D E F A B C L M G N O P GB u v w x y z dC eC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC","2":"J FB K D E F A B C L M G N O P GB u v w","130":"x y z HB IB JB KB LB MB"},E:{"1":"E F A B C L M G iC jC KC 7B 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC","2":"J FB K fC JC gC hC","130":"D"},F:{"1":"GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t","2":"F B C qC rC sC tC 7B YC uC 8B","130":"G N O P"},G:{"1":"E zC 0C 1C 2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC","2":"JC vC ZC wC xC","130":"yC"},H:{"2":"HD"},I:{"1":"I ND","2":"DC J ID JD KD LD ZC","130":"MD"},J:{"2":"D","130":"A"},K:{"1":"H","2":"A B C 7B YC 8B"},L:{"1":"I"},M:{"1":"6B"},N:{"2":"A B"},O:{"1":"9B"},P:{"1":"J u v w x y z OD PD QD RD SD KC TD UD VD WD XD AC BC CC YD"},Q:{"1":"ZD"},R:{"1":"aD"},S:{"1":"bD cD"}},B:1,C:"URL API",D:true}; +module.exports={A:{A:{"2":"K D E F A B gC"},B:{"1":"5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I"},C:{"1":"4 5 6 7 8 9 NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC","2":"0 1 2 3 hC IC J LB K D E F A B C L M G N O P MB y z jC kC"},D:{"1":"5 6 7 8 9 SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC","2":"0 J LB K D E F A B C L M G N O P MB y z","130":"1 2 3 4 NB OB PB QB RB"},E:{"1":"E F A B C L M G oC pC PC CC DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC","2":"J LB K lC OC mC nC","130":"D"},F:{"1":"0 1 2 3 4 MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x","2":"F B C xC yC zC 0C CC eC 1C DC","130":"G N O P"},G:{"1":"E 6C 7C 8C 9C AD BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC","2":"OC 2C fC 3C 4C","130":"5C"},H:{"2":"PD"},I:{"1":"I VD","2":"IC J QD RD SD TD fC","130":"UD"},J:{"2":"D","130":"A"},K:{"1":"H","2":"A B C CC eC DC"},L:{"1":"I"},M:{"1":"BC"},N:{"2":"A B"},O:{"1":"EC"},P:{"1":"0 1 2 3 4 J y z WD XD YD ZD aD PC bD cD dD eD fD FC GC HC gD"},Q:{"1":"hD"},R:{"1":"iD"},S:{"1":"jD kD"}},B:1,C:"URL API",D:true}; diff --git a/node_modules/caniuse-lite/data/features/urlsearchparams.js b/node_modules/caniuse-lite/data/features/urlsearchparams.js index 07a3c051d5..e3ccfcee11 100644 --- a/node_modules/caniuse-lite/data/features/urlsearchparams.js +++ b/node_modules/caniuse-lite/data/features/urlsearchparams.js @@ -1 +1 @@ -module.exports={A:{A:{"2":"K D E F A B aC"},B:{"1":"0 1 2 3 4 5 6 7 8 9 O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I","2":"C L M G N"},C:{"1":"0 1 2 3 4 5 6 7 8 9 ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC","2":"bC DC J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB dC eC","132":"KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB"},D:{"1":"0 1 2 3 4 5 6 7 8 9 eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC","2":"J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB"},E:{"1":"B C L M G KC 7B 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC","2":"J FB K D E F A fC JC gC hC iC jC"},F:{"1":"RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t","2":"F B C G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB qC rC sC tC 7B YC uC 8B"},G:{"1":"3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC","2":"E JC vC ZC wC xC yC zC 0C 1C 2C"},H:{"2":"HD"},I:{"1":"I","2":"DC J ID JD KD LD ZC MD ND"},J:{"2":"D A"},K:{"1":"H","2":"A B C 7B YC 8B"},L:{"1":"I"},M:{"1":"6B"},N:{"2":"A B"},O:{"1":"9B"},P:{"1":"u v w x y z OD PD QD RD SD KC TD UD VD WD XD AC BC CC YD","2":"J"},Q:{"1":"ZD"},R:{"1":"aD"},S:{"1":"bD cD"}},B:1,C:"URLSearchParams",D:true}; +module.exports={A:{A:{"2":"K D E F A B gC"},B:{"1":"5 6 7 8 9 O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I","2":"C L M G N"},C:{"1":"5 6 7 8 9 eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC","2":"0 1 2 3 4 hC IC J LB K D E F A B C L M G N O P MB y z NB OB jC kC","132":"PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB"},D:{"1":"5 6 7 8 9 jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC","2":"0 1 2 3 4 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB"},E:{"1":"B C L M G PC CC DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC","2":"J LB K D E F A lC OC mC nC oC pC"},F:{"1":"WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x","2":"0 1 2 3 4 F B C G N O P MB y z NB OB PB QB RB SB TB UB VB xC yC zC 0C CC eC 1C DC"},G:{"1":"AD BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC","2":"E OC 2C fC 3C 4C 5C 6C 7C 8C 9C"},H:{"2":"PD"},I:{"1":"I","2":"IC J QD RD SD TD fC UD VD"},J:{"2":"D A"},K:{"1":"H","2":"A B C CC eC DC"},L:{"1":"I"},M:{"1":"BC"},N:{"2":"A B"},O:{"1":"EC"},P:{"1":"0 1 2 3 4 y z WD XD YD ZD aD PC bD cD dD eD fD FC GC HC gD","2":"J"},Q:{"1":"hD"},R:{"1":"iD"},S:{"1":"jD kD"}},B:1,C:"URLSearchParams",D:true}; diff --git a/node_modules/caniuse-lite/data/features/use-strict.js b/node_modules/caniuse-lite/data/features/use-strict.js index 5885285ada..267373b4e4 100644 --- a/node_modules/caniuse-lite/data/features/use-strict.js +++ b/node_modules/caniuse-lite/data/features/use-strict.js @@ -1 +1 @@ -module.exports={A:{A:{"1":"A B","2":"K D E F aC"},B:{"1":"0 1 2 3 4 5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC","2":"bC DC dC eC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC","2":"J FB K D E F A B C"},E:{"1":"K D E F A B C L M G hC iC jC KC 7B 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC","2":"J fC JC","132":"FB gC"},F:{"1":"C G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t uC 8B","2":"F B qC rC sC tC 7B YC"},G:{"1":"E wC xC yC zC 0C 1C 2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC","2":"JC vC ZC"},H:{"1":"HD"},I:{"1":"DC J I LD ZC MD ND","2":"ID JD KD"},J:{"1":"D A"},K:{"1":"C H YC 8B","2":"A B 7B"},L:{"1":"I"},M:{"1":"6B"},N:{"1":"A B"},O:{"1":"9B"},P:{"1":"J u v w x y z OD PD QD RD SD KC TD UD VD WD XD AC BC CC YD"},Q:{"1":"ZD"},R:{"1":"aD"},S:{"1":"bD cD"}},B:6,C:"ECMAScript 5 Strict Mode",D:true}; +module.exports={A:{A:{"1":"A B","2":"K D E F gC"},B:{"1":"5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC","2":"hC IC jC kC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC","2":"J LB K D E F A B C"},E:{"1":"K D E F A B C L M G nC oC pC PC CC DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC","2":"J lC OC","132":"LB mC"},F:{"1":"0 1 2 3 4 C G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x 1C DC","2":"F B xC yC zC 0C CC eC"},G:{"1":"E 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC","2":"OC 2C fC"},H:{"1":"PD"},I:{"1":"IC J I TD fC UD VD","2":"QD RD SD"},J:{"1":"D A"},K:{"1":"C H eC DC","2":"A B CC"},L:{"1":"I"},M:{"1":"BC"},N:{"1":"A B"},O:{"1":"EC"},P:{"1":"0 1 2 3 4 J y z WD XD YD ZD aD PC bD cD dD eD fD FC GC HC gD"},Q:{"1":"hD"},R:{"1":"iD"},S:{"1":"jD kD"}},B:6,C:"ECMAScript 5 Strict Mode",D:true}; diff --git a/node_modules/caniuse-lite/data/features/user-select-none.js b/node_modules/caniuse-lite/data/features/user-select-none.js index 355b0d16dd..49a17a7d7f 100644 --- a/node_modules/caniuse-lite/data/features/user-select-none.js +++ b/node_modules/caniuse-lite/data/features/user-select-none.js @@ -1 +1 @@ -module.exports={A:{A:{"2":"K D E F aC","33":"A B"},B:{"1":"0 1 2 3 4 5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I","33":"C L M G N O P"},C:{"1":"0 1 2 3 4 5 6 7 8 9 wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC","33":"bC DC J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB dC eC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC","33":"J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB"},E:{"33":"J FB K D E F A B C L M G fC JC gC hC iC jC KC 7B 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC"},F:{"1":"WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t","2":"F B C qC rC sC tC 7B YC uC 8B","33":"G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB"},G:{"33":"E JC vC ZC wC xC yC zC 0C 1C 2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC"},H:{"2":"HD"},I:{"1":"I","33":"DC J ID JD KD LD ZC MD ND"},J:{"33":"D A"},K:{"1":"H","2":"A B C 7B YC 8B"},L:{"1":"I"},M:{"1":"6B"},N:{"33":"A B"},O:{"1":"9B"},P:{"1":"u v w x y z PD QD RD SD KC TD UD VD WD XD AC BC CC YD","33":"J OD"},Q:{"1":"ZD"},R:{"1":"aD"},S:{"1":"cD","33":"bD"}},B:5,C:"CSS user-select: none",D:true}; +module.exports={A:{A:{"2":"K D E F gC","33":"A B"},B:{"1":"5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I","33":"C L M G N O P"},C:{"1":"5 6 7 8 9 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC","33":"0 1 2 3 4 hC IC J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B jC kC"},D:{"1":"5 6 7 8 9 oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC","33":"0 1 2 3 4 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB"},E:{"33":"J LB K D E F A B C L M G lC OC mC nC oC pC PC CC DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC"},F:{"1":"bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x","2":"F B C xC yC zC 0C CC eC 1C DC","33":"0 1 2 3 4 G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB"},G:{"33":"E OC 2C fC 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC"},H:{"2":"PD"},I:{"1":"I","33":"IC J QD RD SD TD fC UD VD"},J:{"33":"D A"},K:{"1":"H","2":"A B C CC eC DC"},L:{"1":"I"},M:{"1":"BC"},N:{"33":"A B"},O:{"1":"EC"},P:{"1":"0 1 2 3 4 y z XD YD ZD aD PC bD cD dD eD fD FC GC HC gD","33":"J WD"},Q:{"1":"hD"},R:{"1":"iD"},S:{"1":"kD","33":"jD"}},B:5,C:"CSS user-select: none",D:true}; diff --git a/node_modules/caniuse-lite/data/features/user-timing.js b/node_modules/caniuse-lite/data/features/user-timing.js index 7b4d2cbe6a..1f8e8205b7 100644 --- a/node_modules/caniuse-lite/data/features/user-timing.js +++ b/node_modules/caniuse-lite/data/features/user-timing.js @@ -1 +1 @@ -module.exports={A:{A:{"1":"A B","2":"K D E F aC"},B:{"1":"0 1 2 3 4 5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC","2":"bC DC J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB dC eC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC","2":"J FB K D E F A B C L M G N O P GB u v w x y"},E:{"1":"B C L M G 7B 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC","2":"J FB K D E F A fC JC gC hC iC jC KC"},F:{"1":"G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t","2":"F B C qC rC sC tC 7B YC uC 8B"},G:{"1":"4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC","2":"E JC vC ZC wC xC yC zC 0C 1C 2C 3C"},H:{"2":"HD"},I:{"1":"I MD ND","2":"DC J ID JD KD LD ZC"},J:{"2":"D A"},K:{"1":"H","2":"A B C 7B YC 8B"},L:{"1":"I"},M:{"1":"6B"},N:{"1":"A B"},O:{"1":"9B"},P:{"1":"J u v w x y z OD PD QD RD SD KC TD UD VD WD XD AC BC CC YD"},Q:{"1":"ZD"},R:{"1":"aD"},S:{"1":"bD cD"}},B:2,C:"User Timing API",D:true}; +module.exports={A:{A:{"1":"A B","2":"K D E F gC"},B:{"1":"5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I"},C:{"1":"5 6 7 8 9 YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC","2":"0 1 2 3 4 hC IC J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB jC kC"},D:{"1":"3 4 5 6 7 8 9 NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC","2":"0 1 2 J LB K D E F A B C L M G N O P MB y z"},E:{"1":"B C L M G CC DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC","2":"J LB K D E F A lC OC mC nC oC pC PC"},F:{"1":"0 1 2 3 4 G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x","2":"F B C xC yC zC 0C CC eC 1C DC"},G:{"1":"BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC","2":"E OC 2C fC 3C 4C 5C 6C 7C 8C 9C AD"},H:{"2":"PD"},I:{"1":"I UD VD","2":"IC J QD RD SD TD fC"},J:{"2":"D A"},K:{"1":"H","2":"A B C CC eC DC"},L:{"1":"I"},M:{"1":"BC"},N:{"1":"A B"},O:{"1":"EC"},P:{"1":"0 1 2 3 4 J y z WD XD YD ZD aD PC bD cD dD eD fD FC GC HC gD"},Q:{"1":"hD"},R:{"1":"iD"},S:{"1":"jD kD"}},B:2,C:"User Timing API",D:true}; diff --git a/node_modules/caniuse-lite/data/features/variable-fonts.js b/node_modules/caniuse-lite/data/features/variable-fonts.js index cfeba44ccd..67ceee7084 100644 --- a/node_modules/caniuse-lite/data/features/variable-fonts.js +++ b/node_modules/caniuse-lite/data/features/variable-fonts.js @@ -1 +1 @@ -module.exports={A:{A:{"2":"K D E F A B aC"},B:{"1":"0 1 2 3 4 5 6 7 8 9 O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I","2":"C L M G N"},C:{"2":"bC DC J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB dC eC","4609":"pB qB rB sB tB uB vB wB xB","4674":"FC","5698":"oB","7490":"iB jB kB lB mB","7746":"nB EC","8705":"0 1 2 3 4 5 6 7 8 9 yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC","2":"J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB","4097":"tB","4290":"EC oB FC","6148":"pB qB rB sB"},E:{"1":"G mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC","2":"J FB K D E F A fC JC gC hC iC jC KC","4609":"B C 7B 8B","8193":"L M kC lC"},F:{"1":"jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t","2":"F B C G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB qC rC sC tC 7B YC uC 8B","4097":"iB","6148":"eB fB gB hB"},G:{"1":"8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC","2":"E JC vC ZC wC xC yC zC 0C 1C 2C 3C","4097":"4C 5C 6C 7C"},H:{"2":"HD"},I:{"1":"I","2":"DC J ID JD KD LD ZC MD ND"},J:{"2":"D A"},K:{"1":"H","2":"A B C 7B YC 8B"},L:{"1":"I"},M:{"4097":"6B"},N:{"2":"A B"},O:{"1":"9B"},P:{"2":"J OD PD QD","4097":"u v w x y z RD SD KC TD UD VD WD XD AC BC CC YD"},Q:{"1":"ZD"},R:{"1":"aD"},S:{"1":"cD","2":"bD"}},B:5,C:"Variable fonts",D:true}; +module.exports={A:{A:{"2":"K D E F A B gC"},B:{"1":"5 6 7 8 9 O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I","2":"C L M G N"},C:{"2":"0 1 2 3 4 hC IC J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB jC kC","4609":"uB vB wB xB yB zB 0B 1B 2B","4674":"KC","5698":"tB","7490":"nB oB pB qB rB","7746":"sB JC","8705":"5 6 7 8 9 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC"},D:{"1":"5 6 7 8 9 zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC","2":"0 1 2 3 4 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB","4097":"yB","4290":"JC tB KC","6148":"uB vB wB xB"},E:{"1":"G sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC","2":"J LB K D E F A lC OC mC nC oC pC PC","4609":"B C CC DC","8193":"L M qC rC"},F:{"1":"oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x","2":"0 1 2 3 4 F B C G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB xC yC zC 0C CC eC 1C DC","4097":"nB","6148":"jB kB lB mB"},G:{"1":"FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC","2":"E OC 2C fC 3C 4C 5C 6C 7C 8C 9C AD","4097":"BD CD DD ED"},H:{"2":"PD"},I:{"1":"I","2":"IC J QD RD SD TD fC UD VD"},J:{"2":"D A"},K:{"1":"H","2":"A B C CC eC DC"},L:{"1":"I"},M:{"4097":"BC"},N:{"2":"A B"},O:{"1":"EC"},P:{"2":"J WD XD YD","4097":"0 1 2 3 4 y z ZD aD PC bD cD dD eD fD FC GC HC gD"},Q:{"1":"hD"},R:{"1":"iD"},S:{"1":"kD","2":"jD"}},B:5,C:"Variable fonts",D:true}; diff --git a/node_modules/caniuse-lite/data/features/vector-effect.js b/node_modules/caniuse-lite/data/features/vector-effect.js index 7ca7ebdfb1..bc14fd0c74 100644 --- a/node_modules/caniuse-lite/data/features/vector-effect.js +++ b/node_modules/caniuse-lite/data/features/vector-effect.js @@ -1 +1 @@ -module.exports={A:{A:{"2":"K D E F A B aC"},B:{"1":"0 1 2 3 4 5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I","2":"C L M G N O P"},C:{"1":"0 1 2 3 4 5 6 7 8 9 G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC","2":"bC DC J FB K D E F A B C L M dC eC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC","16":"J FB K D E F A B C L M"},E:{"1":"K D E F A B C L M G gC hC iC jC KC 7B 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC","2":"J FB fC JC"},F:{"1":"C G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t uC 8B","2":"F B qC rC sC tC 7B YC"},G:{"1":"E wC xC yC zC 0C 1C 2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC","16":"JC vC ZC"},H:{"1":"HD"},I:{"1":"I MD ND","16":"DC J ID JD KD LD ZC"},J:{"16":"D A"},K:{"1":"C H 8B","2":"A B 7B YC"},L:{"1":"I"},M:{"1":"6B"},N:{"2":"A B"},O:{"1":"9B"},P:{"1":"J u v w x y z OD PD QD RD SD KC TD UD VD WD XD AC BC CC YD"},Q:{"1":"ZD"},R:{"1":"aD"},S:{"1":"bD cD"}},B:4,C:"SVG vector-effect: non-scaling-stroke",D:true}; +module.exports={A:{A:{"2":"K D E F A B gC"},B:{"1":"5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I","2":"C L M G N O P"},C:{"1":"0 1 2 3 4 5 6 7 8 9 G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC","2":"hC IC J LB K D E F A B C L M jC kC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC","16":"J LB K D E F A B C L M"},E:{"1":"K D E F A B C L M G mC nC oC pC PC CC DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC","2":"J LB lC OC"},F:{"1":"0 1 2 3 4 C G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x 1C DC","2":"F B xC yC zC 0C CC eC"},G:{"1":"E 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC","16":"OC 2C fC"},H:{"1":"PD"},I:{"1":"I UD VD","16":"IC J QD RD SD TD fC"},J:{"16":"D A"},K:{"1":"C H DC","2":"A B CC eC"},L:{"1":"I"},M:{"1":"BC"},N:{"2":"A B"},O:{"1":"EC"},P:{"1":"0 1 2 3 4 J y z WD XD YD ZD aD PC bD cD dD eD fD FC GC HC gD"},Q:{"1":"hD"},R:{"1":"iD"},S:{"1":"jD kD"}},B:4,C:"SVG vector-effect: non-scaling-stroke",D:true}; diff --git a/node_modules/caniuse-lite/data/features/vibration.js b/node_modules/caniuse-lite/data/features/vibration.js index 2edb1c17da..5f144fb6c8 100644 --- a/node_modules/caniuse-lite/data/features/vibration.js +++ b/node_modules/caniuse-lite/data/features/vibration.js @@ -1 +1 @@ -module.exports={A:{A:{"2":"K D E F A B aC"},B:{"1":"0 1 2 3 4 5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I","2":"C L M G N O P"},C:{"1":"0 1 2 3 4 5 6 7 8 9 N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC","2":"bC DC J FB K D E F A dC eC","33":"B C L M G"},D:{"1":"0 1 2 3 4 5 6 7 8 9 LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC","2":"J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB"},E:{"2":"J FB K D E F A B C L M G fC JC gC hC iC jC KC 7B 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC"},F:{"1":"O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t","2":"F B C G N qC rC sC tC 7B YC uC 8B"},G:{"2":"E JC vC ZC wC xC yC zC 0C 1C 2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC"},H:{"2":"HD"},I:{"1":"I MD ND","2":"DC J ID JD KD LD ZC"},J:{"1":"A","2":"D"},K:{"1":"H","2":"A B C 7B YC 8B"},L:{"1":"I"},M:{"1":"6B"},N:{"2":"A B"},O:{"1":"9B"},P:{"1":"J u v w x y z OD PD QD RD SD KC TD UD VD WD XD AC BC CC YD"},Q:{"1":"ZD"},R:{"1":"aD"},S:{"1":"bD cD"}},B:2,C:"Vibration API",D:true}; +module.exports={A:{A:{"2":"K D E F A B gC"},B:{"1":"5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I","2":"C L M G N O P"},C:{"1":"0 1 2 3 4 5 6 7 8 9 N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC","2":"hC IC J LB K D E F A jC kC","33":"B C L M G"},D:{"1":"5 6 7 8 9 QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC","2":"0 1 2 3 4 J LB K D E F A B C L M G N O P MB y z NB OB PB"},E:{"2":"J LB K D E F A B C L M G lC OC mC nC oC pC PC CC DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC"},F:{"1":"0 1 2 3 4 O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x","2":"F B C G N xC yC zC 0C CC eC 1C DC"},G:{"2":"E OC 2C fC 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC"},H:{"2":"PD"},I:{"1":"I UD VD","2":"IC J QD RD SD TD fC"},J:{"1":"A","2":"D"},K:{"1":"H","2":"A B C CC eC DC"},L:{"1":"I"},M:{"1":"BC"},N:{"2":"A B"},O:{"1":"EC"},P:{"1":"0 1 2 3 4 J y z WD XD YD ZD aD PC bD cD dD eD fD FC GC HC gD"},Q:{"1":"hD"},R:{"1":"iD"},S:{"1":"jD kD"}},B:2,C:"Vibration API",D:true}; diff --git a/node_modules/caniuse-lite/data/features/video.js b/node_modules/caniuse-lite/data/features/video.js index 77a45d2077..95c255fd52 100644 --- a/node_modules/caniuse-lite/data/features/video.js +++ b/node_modules/caniuse-lite/data/features/video.js @@ -1 +1 @@ -module.exports={A:{A:{"1":"F A B","2":"K D E aC"},B:{"1":"0 1 2 3 4 5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC","2":"bC DC","260":"J FB K D E F A B C L M G N O P GB dC eC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC"},E:{"1":"J FB K D E F A fC JC gC hC iC jC KC","513":"B C L M G 7B 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC"},F:{"1":"B C G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t sC tC 7B YC uC 8B","2":"F qC rC"},G:{"1":"E JC vC ZC wC xC yC zC 0C 1C 2C 3C","513":"4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC"},H:{"2":"HD"},I:{"1":"DC J I KD LD ZC MD ND","132":"ID JD"},J:{"1":"D A"},K:{"1":"B C H 7B YC 8B","2":"A"},L:{"1":"I"},M:{"1":"6B"},N:{"1":"A B"},O:{"1":"9B"},P:{"1":"J u v w x y z OD PD QD RD SD KC TD UD VD WD XD AC BC CC YD"},Q:{"1":"ZD"},R:{"1":"aD"},S:{"1":"bD cD"}},B:1,C:"Video element",D:true}; +module.exports={A:{A:{"1":"F A B","2":"K D E gC"},B:{"1":"5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC","2":"hC IC","260":"J LB K D E F A B C L M G N O P MB jC kC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC"},E:{"1":"J LB K D E F A lC OC mC nC oC pC PC","513":"B C L M G CC DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC"},F:{"1":"0 1 2 3 4 B C G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x zC 0C CC eC 1C DC","2":"F xC yC"},G:{"1025":"E OC 2C fC 3C 4C 5C 6C 7C 8C 9C AD","1537":"BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC"},H:{"2":"PD"},I:{"1":"IC J I SD TD fC UD VD","132":"QD RD"},J:{"1":"D A"},K:{"1":"B C H CC eC DC","2":"A"},L:{"1":"I"},M:{"1":"BC"},N:{"1":"A B"},O:{"1":"EC"},P:{"1":"0 1 2 3 4 J y z WD XD YD ZD aD PC bD cD dD eD fD FC GC HC gD"},Q:{"1":"hD"},R:{"1":"iD"},S:{"1":"jD kD"}},B:1,C:"Video element",D:true}; diff --git a/node_modules/caniuse-lite/data/features/videotracks.js b/node_modules/caniuse-lite/data/features/videotracks.js index 3f02642547..cf83c735da 100644 --- a/node_modules/caniuse-lite/data/features/videotracks.js +++ b/node_modules/caniuse-lite/data/features/videotracks.js @@ -1 +1 @@ -module.exports={A:{A:{"2":"K D E F A B aC"},B:{"1":"C L M G N O P","322":"0 1 2 3 4 5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I"},C:{"2":"bC DC J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB dC eC","194":"0 1 2 3 4 5 6 7 8 9 OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC"},D:{"2":"J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB","322":"0 1 2 3 4 5 6 7 8 9 aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC"},E:{"1":"D E F A B C L M G hC iC jC KC 7B 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC","2":"J FB K fC JC gC"},F:{"2":"F B C G N O P GB u v w x y z HB IB JB KB LB MB qC rC sC tC 7B YC uC 8B","322":"NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t"},G:{"1":"E yC zC 0C 1C 2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC","2":"JC vC ZC wC xC"},H:{"2":"HD"},I:{"2":"DC J I ID JD KD LD ZC MD ND"},J:{"2":"D A"},K:{"2":"A B C 7B YC 8B","322":"H"},L:{"322":"I"},M:{"2":"6B"},N:{"2":"A B"},O:{"322":"9B"},P:{"2":"J u v w x y z OD PD QD RD SD KC TD UD VD WD XD AC BC CC YD"},Q:{"322":"ZD"},R:{"322":"aD"},S:{"194":"bD cD"}},B:1,C:"Video Tracks",D:true}; +module.exports={A:{A:{"2":"K D E F A B gC"},B:{"1":"C L M G N O P","322":"5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I"},C:{"2":"0 1 2 3 4 hC IC J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB jC kC","194":"5 6 7 8 9 TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC"},D:{"2":"0 1 2 3 4 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB","322":"5 6 7 8 9 fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC"},E:{"1":"D E F A B C L M G nC oC pC PC CC DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC","2":"J LB K lC OC mC"},F:{"2":"0 1 2 3 4 F B C G N O P MB y z NB OB PB QB RB xC yC zC 0C CC eC 1C DC","322":"SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x"},G:{"1":"E 5C 6C 7C 8C 9C AD BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC","2":"OC 2C fC 3C 4C"},H:{"2":"PD"},I:{"2":"IC J I QD RD SD TD fC UD VD"},J:{"2":"D A"},K:{"2":"A B C CC eC DC","322":"H"},L:{"322":"I"},M:{"2":"BC"},N:{"2":"A B"},O:{"322":"EC"},P:{"2":"0 1 2 3 4 J y z WD XD YD ZD aD PC bD cD dD eD fD FC GC HC gD"},Q:{"322":"hD"},R:{"322":"iD"},S:{"194":"jD kD"}},B:1,C:"Video Tracks",D:true}; diff --git a/node_modules/caniuse-lite/data/features/view-transitions.js b/node_modules/caniuse-lite/data/features/view-transitions.js index 1327884720..15449272da 100644 --- a/node_modules/caniuse-lite/data/features/view-transitions.js +++ b/node_modules/caniuse-lite/data/features/view-transitions.js @@ -1 +1 @@ -module.exports={A:{A:{"2":"K D E F A B aC"},B:{"1":"0 1 2 3 4 5 6 7 8 9 AB BB CB DB EB I","2":"C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t"},C:{"2":"0 1 2 3 4 5 6 7 8 9 bC DC J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC dC eC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 AB BB CB DB EB I 6B HC IC","2":"J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t"},E:{"1":"CC pC","2":"J FB K D E F A B C L M G fC JC gC hC iC jC KC 7B 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC"},F:{"1":"g h i j k l m n o p q r s t","2":"F B C G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f qC rC sC tC 7B YC uC 8B"},G:{"1":"CC","2":"E JC vC ZC wC xC yC zC 0C 1C 2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC"},H:{"2":"HD"},I:{"1":"I","2":"DC J ID JD KD LD ZC MD ND"},J:{"2":"D A"},K:{"1":"H","2":"A B C 7B YC 8B"},L:{"1":"I"},M:{"2":"6B"},N:{"2":"A B"},O:{"2":"9B"},P:{"1":"x y z","2":"J u v w OD PD QD RD SD KC TD UD VD WD XD AC BC CC YD"},Q:{"2":"ZD"},R:{"2":"aD"},S:{"2":"bD cD"}},B:5,C:"View Transitions API (single-document)",D:true}; +module.exports={A:{A:{"2":"K D E F A B gC"},B:{"1":"5 6 7 8 9 u v w x AB BB CB DB EB FB GB HB IB JB KB I","2":"C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t"},C:{"2":"0 1 2 3 4 5 6 7 8 9 hC IC J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC jC kC"},D:{"1":"5 6 7 8 9 u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC","2":"0 1 2 3 4 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t"},E:{"1":"HC cC dC wC","2":"J LB K D E F A B C L M G lC OC mC nC oC pC PC CC DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC"},F:{"1":"g h i j k l m n o p q r s t u v w x","2":"0 1 2 3 4 F B C G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f xC yC zC 0C CC eC 1C DC"},G:{"1":"HC cC dC","2":"E OC 2C fC 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD"},H:{"2":"PD"},I:{"1":"I","2":"IC J QD RD SD TD fC UD VD"},J:{"2":"D A"},K:{"1":"H","2":"A B C CC eC DC"},L:{"1":"I"},M:{"2":"BC"},N:{"2":"A B"},O:{"2":"EC"},P:{"1":"1 2 3 4","2":"0 J y z WD XD YD ZD aD PC bD cD dD eD fD FC GC HC gD"},Q:{"2":"hD"},R:{"2":"iD"},S:{"2":"jD kD"}},B:5,C:"View Transitions API (single-document)",D:true}; diff --git a/node_modules/caniuse-lite/data/features/viewport-unit-variants.js b/node_modules/caniuse-lite/data/features/viewport-unit-variants.js index fb83e5ce39..d391cce85c 100644 --- a/node_modules/caniuse-lite/data/features/viewport-unit-variants.js +++ b/node_modules/caniuse-lite/data/features/viewport-unit-variants.js @@ -1 +1 @@ -module.exports={A:{A:{"2":"K D E F A B aC"},B:{"1":"0 1 2 3 4 5 6 7 8 9 r s t AB BB CB DB EB I","2":"C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n","194":"o p q"},C:{"1":"0 1 2 3 4 5 6 7 8 9 k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC","2":"bC DC J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j dC eC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 r s t AB BB CB DB EB I 6B HC IC","2":"J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i","194":"j k l m n o p q"},E:{"1":"MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC","2":"J FB K D E F A B C L M G fC JC gC hC iC jC KC 7B 8B kC lC mC LC"},F:{"1":"d e f g h i j k l m n o p q r s t","2":"F B C G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z qC rC sC tC 7B YC uC 8B","194":"a b c"},G:{"1":"MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC","2":"E JC vC ZC wC xC yC zC 0C 1C 2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED LC"},H:{"2":"HD"},I:{"1":"I","2":"DC J ID JD KD LD ZC MD ND"},J:{"2":"D A"},K:{"1":"H","2":"A B C 7B YC 8B"},L:{"1":"I"},M:{"1":"6B"},N:{"2":"A B"},O:{"2":"9B"},P:{"1":"v w x y z","2":"J u OD PD QD RD SD KC TD UD VD WD XD AC BC CC YD"},Q:{"2":"ZD"},R:{"2":"aD"},S:{"2":"bD cD"}},B:5,C:"Small, Large, and Dynamic viewport units",D:true}; +module.exports={A:{A:{"2":"K D E F A B gC"},B:{"1":"5 6 7 8 9 r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I","2":"C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n","194":"o p q"},C:{"1":"5 6 7 8 9 k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC","2":"0 1 2 3 4 hC IC J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j jC kC"},D:{"1":"5 6 7 8 9 r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC","2":"0 1 2 3 4 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i","194":"j k l m n o p q"},E:{"1":"RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC","2":"J LB K D E F A B C L M G lC OC mC nC oC pC PC CC DC qC rC sC QC"},F:{"1":"d e f g h i j k l m n o p q r s t u v w x","2":"0 1 2 3 4 F B C G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z xC yC zC 0C CC eC 1C DC","194":"a b c"},G:{"1":"RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC","2":"E OC 2C fC 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED FD GD HD ID JD KD LD QC"},H:{"2":"PD"},I:{"1":"I","2":"IC J QD RD SD TD fC UD VD"},J:{"2":"D A"},K:{"1":"H","2":"A B C CC eC DC"},L:{"1":"I"},M:{"1":"BC"},N:{"2":"A B"},O:{"2":"EC"},P:{"1":"0 1 2 3 4 z","2":"J y WD XD YD ZD aD PC bD cD dD eD fD FC GC HC gD"},Q:{"2":"hD"},R:{"2":"iD"},S:{"2":"jD kD"}},B:5,C:"Small, Large, and Dynamic viewport units",D:true}; diff --git a/node_modules/caniuse-lite/data/features/viewport-units.js b/node_modules/caniuse-lite/data/features/viewport-units.js index 3045ae66f8..aaa8d23386 100644 --- a/node_modules/caniuse-lite/data/features/viewport-units.js +++ b/node_modules/caniuse-lite/data/features/viewport-units.js @@ -1 +1 @@ -module.exports={A:{A:{"2":"K D E aC","132":"F","260":"A B"},B:{"1":"0 1 2 3 4 5 6 7 8 9 N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I","260":"C L M G"},C:{"1":"0 1 2 3 4 5 6 7 8 9 GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC","2":"bC DC J FB K D E F A B C L M G N O P dC eC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC","2":"J FB K D E F A B C L M G N O P GB","260":"u v w x y z"},E:{"1":"D E F A B C L M G hC iC jC KC 7B 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC","2":"J FB fC JC gC","260":"K"},F:{"1":"G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t","2":"F B C qC rC sC tC 7B YC uC 8B"},G:{"1":"E zC 0C 1C 2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC","2":"JC vC ZC wC","516":"yC","772":"xC"},H:{"2":"HD"},I:{"1":"I MD ND","2":"DC J ID JD KD LD ZC"},J:{"1":"A","2":"D"},K:{"1":"H","2":"A B C 7B YC 8B"},L:{"1":"I"},M:{"1":"6B"},N:{"260":"A B"},O:{"1":"9B"},P:{"1":"J u v w x y z OD PD QD RD SD KC TD UD VD WD XD AC BC CC YD"},Q:{"1":"ZD"},R:{"1":"aD"},S:{"1":"bD cD"}},B:4,C:"Viewport units: vw, vh, vmin, vmax",D:true}; +module.exports={A:{A:{"2":"K D E gC","132":"F","260":"A B"},B:{"1":"5 6 7 8 9 N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I","260":"C L M G"},C:{"1":"0 1 2 3 4 5 6 7 8 9 MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC","2":"hC IC J LB K D E F A B C L M G N O P jC kC"},D:{"1":"4 5 6 7 8 9 NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC","2":"J LB K D E F A B C L M G N O P MB","260":"0 1 2 3 y z"},E:{"1":"D E F A B C L M G nC oC pC PC CC DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC","2":"J LB lC OC mC","260":"K"},F:{"1":"0 1 2 3 4 G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x","2":"F B C xC yC zC 0C CC eC 1C DC"},G:{"1":"E 6C 7C 8C 9C AD BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC","2":"OC 2C fC 3C","516":"5C","772":"4C"},H:{"2":"PD"},I:{"1":"I UD VD","2":"IC J QD RD SD TD fC"},J:{"1":"A","2":"D"},K:{"1":"H","2":"A B C CC eC DC"},L:{"1":"I"},M:{"1":"BC"},N:{"260":"A B"},O:{"1":"EC"},P:{"1":"0 1 2 3 4 J y z WD XD YD ZD aD PC bD cD dD eD fD FC GC HC gD"},Q:{"1":"hD"},R:{"1":"iD"},S:{"1":"jD kD"}},B:4,C:"Viewport units: vw, vh, vmin, vmax",D:true}; diff --git a/node_modules/caniuse-lite/data/features/wai-aria.js b/node_modules/caniuse-lite/data/features/wai-aria.js index 1aa962235e..87706fe7f2 100644 --- a/node_modules/caniuse-lite/data/features/wai-aria.js +++ b/node_modules/caniuse-lite/data/features/wai-aria.js @@ -1 +1 @@ -module.exports={A:{A:{"2":"K D aC","4":"E F A B"},B:{"4":"0 1 2 3 4 5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I"},C:{"4":"0 1 2 3 4 5 6 7 8 9 bC DC J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC dC eC"},D:{"4":"0 1 2 3 4 5 6 7 8 9 J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC"},E:{"2":"fC JC","4":"J FB K D E F A B C L M G gC hC iC jC KC 7B 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC"},F:{"2":"F","4":"B C G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t qC rC sC tC 7B YC uC 8B"},G:{"4":"E JC vC ZC wC xC yC zC 0C 1C 2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC"},H:{"4":"HD"},I:{"2":"DC J ID JD KD LD ZC","4":"I MD ND"},J:{"2":"D A"},K:{"4":"A B C H 7B YC 8B"},L:{"4":"I"},M:{"4":"6B"},N:{"4":"A B"},O:{"4":"9B"},P:{"4":"J u v w x y z OD PD QD RD SD KC TD UD VD WD XD AC BC CC YD"},Q:{"4":"ZD"},R:{"4":"aD"},S:{"4":"bD cD"}},B:2,C:"WAI-ARIA Accessibility features",D:true}; +module.exports={A:{A:{"2":"K D gC","4":"E F A B"},B:{"4":"5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I"},C:{"4":"0 1 2 3 4 5 6 7 8 9 hC IC J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC jC kC"},D:{"4":"0 1 2 3 4 5 6 7 8 9 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC"},E:{"2":"lC OC","4":"J LB K D E F A B C L M G mC nC oC pC PC CC DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC"},F:{"2":"F","4":"0 1 2 3 4 B C G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x xC yC zC 0C CC eC 1C DC"},G:{"4":"E OC 2C fC 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC"},H:{"4":"PD"},I:{"2":"IC J QD RD SD TD fC","4":"I UD VD"},J:{"2":"D A"},K:{"4":"A B C H CC eC DC"},L:{"4":"I"},M:{"4":"BC"},N:{"4":"A B"},O:{"4":"EC"},P:{"4":"0 1 2 3 4 J y z WD XD YD ZD aD PC bD cD dD eD fD FC GC HC gD"},Q:{"4":"hD"},R:{"4":"iD"},S:{"4":"jD kD"}},B:2,C:"WAI-ARIA Accessibility features",D:true}; diff --git a/node_modules/caniuse-lite/data/features/wake-lock.js b/node_modules/caniuse-lite/data/features/wake-lock.js index 4ae30db1a3..882b463ac9 100644 --- a/node_modules/caniuse-lite/data/features/wake-lock.js +++ b/node_modules/caniuse-lite/data/features/wake-lock.js @@ -1 +1 @@ -module.exports={A:{A:{"2":"K D E F A B aC"},B:{"1":"0 1 2 3 4 5 6 7 8 9 Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I","2":"C L M G N O P","194":"Q H R S T U V W X Y"},C:{"1":"I 6B HC IC cC","2":"0 1 2 3 4 5 6 7 8 9 bC DC J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB dC eC","322":"DB EB"},D:{"1":"0 1 2 3 4 5 6 7 8 9 U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC","2":"J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB","194":"yB zB 0B 1B 2B 3B 4B 5B Q H R S T"},E:{"1":"QC RC oC BC SC TC UC VC WC XC CC pC","2":"J FB K D E F A B C L M G fC JC gC hC iC jC KC 7B 8B kC lC mC LC MC 9B nC AC NC OC PC"},F:{"1":"0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t","2":"F B C G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB qC rC sC tC 7B YC uC 8B","194":"nB oB pB qB rB sB tB uB vB wB xB yB zB"},G:{"1":"QC RC GD BC SC TC UC VC WC XC CC","2":"E JC vC ZC wC xC yC zC 0C 1C 2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC"},H:{"2":"HD"},I:{"1":"I","2":"DC J ID JD KD LD ZC MD ND"},J:{"2":"D A"},K:{"1":"H","2":"A B C 7B YC 8B"},L:{"1":"I"},M:{"1":"6B"},N:{"2":"A B"},O:{"1":"9B"},P:{"1":"u v w x y z WD XD AC BC CC YD","2":"J OD PD QD RD SD KC TD UD VD"},Q:{"2":"ZD"},R:{"1":"aD"},S:{"2":"bD cD"}},B:4,C:"Screen Wake Lock API",D:true}; +module.exports={A:{A:{"2":"K D E F A B gC"},B:{"1":"5 6 7 8 9 Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I","2":"C L M G N O P","194":"Q H R S T U V W X Y"},C:{"1":"GB HB IB JB KB I BC MC NC iC","2":"0 1 2 3 4 5 6 7 8 9 hC IC J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB jC kC","322":"EB FB"},D:{"1":"5 6 7 8 9 U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC","2":"0 1 2 3 4 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B","194":"3B 4B 5B 6B 7B 8B 9B AC Q H R S T"},E:{"1":"VC WC uC GC XC YC ZC aC bC vC HC cC dC wC","2":"J LB K D E F A B C L M G lC OC mC nC oC pC PC CC DC qC rC sC QC RC EC tC FC SC TC UC"},F:{"1":"5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x","2":"0 1 2 3 4 F B C G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB xC yC zC 0C CC eC 1C DC","194":"sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B"},G:{"1":"VC WC ND GC XC YC ZC aC bC OD HC cC dC","2":"E OC 2C fC 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC"},H:{"2":"PD"},I:{"1":"I","2":"IC J QD RD SD TD fC UD VD"},J:{"2":"D A"},K:{"1":"H","2":"A B C CC eC DC"},L:{"1":"I"},M:{"1":"BC"},N:{"2":"A B"},O:{"1":"EC"},P:{"1":"0 1 2 3 4 y z eD fD FC GC HC gD","2":"J WD XD YD ZD aD PC bD cD dD"},Q:{"2":"hD"},R:{"1":"iD"},S:{"2":"jD kD"}},B:4,C:"Screen Wake Lock API",D:true}; diff --git a/node_modules/caniuse-lite/data/features/wasm-bigint.js b/node_modules/caniuse-lite/data/features/wasm-bigint.js index d07baf2ce2..85ccab5c94 100644 --- a/node_modules/caniuse-lite/data/features/wasm-bigint.js +++ b/node_modules/caniuse-lite/data/features/wasm-bigint.js @@ -1 +1 @@ -module.exports={A:{A:{"2":"K D E F A B aC"},B:{"1":"0 1 2 3 4 5 6 7 8 9 U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I","2":"C L M G N O P Q H R S T"},C:{"1":"0 1 2 3 4 5 6 7 8 9 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC","2":"bC DC J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B dC eC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC","2":"J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T"},E:{"1":"G lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC","2":"J FB K D E F A B C L M fC JC gC hC iC jC KC 7B 8B kC"},F:{"1":"yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t","2":"F B C G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB qC rC sC tC 7B YC uC 8B"},G:{"1":"DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC","2":"E JC vC ZC wC xC yC zC 0C 1C 2C 3C 4C 5C 6C 7C 8C 9C AD BD CD"},H:{"2":"HD"},I:{"1":"I","2":"DC J ID JD KD LD ZC MD ND"},J:{"2":"D A"},K:{"1":"H","2":"A B C 7B YC 8B"},L:{"1":"I"},M:{"1":"6B"},N:{"2":"A B"},O:{"1":"9B"},P:{"1":"u v w x y z WD XD AC BC CC YD","2":"J OD PD QD RD SD KC TD UD VD"},Q:{"16":"ZD"},R:{"16":"aD"},S:{"2":"bD","16":"cD"}},B:5,C:"WebAssembly BigInt to i64 conversion in JS API",D:true}; +module.exports={A:{A:{"2":"K D E F A B gC"},B:{"1":"5 6 7 8 9 U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I","2":"C L M G N O P Q H R S T"},C:{"1":"5 6 7 8 9 AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC","2":"0 1 2 3 4 hC IC J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B jC kC"},D:{"1":"5 6 7 8 9 U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC","2":"0 1 2 3 4 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T"},E:{"1":"G rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC","2":"J LB K D E F A B C L M lC OC mC nC oC pC PC CC DC qC"},F:{"1":"3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x","2":"0 1 2 3 4 F B C G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B xC yC zC 0C CC eC 1C DC"},G:{"1":"KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC","2":"E OC 2C fC 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED FD GD HD ID JD"},H:{"2":"PD"},I:{"1":"I","2":"IC J QD RD SD TD fC UD VD"},J:{"2":"D A"},K:{"1":"H","2":"A B C CC eC DC"},L:{"1":"I"},M:{"1":"BC"},N:{"2":"A B"},O:{"1":"EC"},P:{"1":"0 1 2 3 4 y z eD fD FC GC HC gD","2":"J WD XD YD ZD aD PC bD cD dD"},Q:{"16":"hD"},R:{"16":"iD"},S:{"2":"jD","16":"kD"}},B:5,C:"WebAssembly BigInt to i64 conversion in JS API",D:true}; diff --git a/node_modules/caniuse-lite/data/features/wasm-bulk-memory.js b/node_modules/caniuse-lite/data/features/wasm-bulk-memory.js index ae2a65b3e0..ff990760a2 100644 --- a/node_modules/caniuse-lite/data/features/wasm-bulk-memory.js +++ b/node_modules/caniuse-lite/data/features/wasm-bulk-memory.js @@ -1 +1 @@ -module.exports={A:{A:{"2":"K D E F A B aC"},B:{"1":"0 1 2 3 4 5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I","2":"C L M G N O P"},C:{"1":"0 1 2 3 4 5 6 7 8 9 Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC","2":"bC DC J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B dC eC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC","2":"J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B"},E:{"1":"G mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC","2":"J FB K D E F A B C L M fC JC gC hC iC jC KC 7B 8B kC lC"},F:{"1":"pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t","2":"F B C G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB qC rC sC tC 7B YC uC 8B"},G:{"1":"ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC","2":"E JC vC ZC wC xC yC zC 0C 1C 2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD"},H:{"2":"HD"},I:{"1":"I","2":"DC J ID JD KD LD ZC MD ND"},J:{"2":"D A"},K:{"1":"H","2":"A B C 7B YC 8B"},L:{"1":"I"},M:{"1":"6B"},N:{"2":"A B"},O:{"1":"9B"},P:{"1":"u v w x y z TD UD VD WD XD AC BC CC YD","2":"J OD PD QD RD SD KC"},Q:{"16":"ZD"},R:{"16":"aD"},S:{"2":"bD","16":"cD"}},B:5,C:"WebAssembly Bulk Memory Operations",D:true}; +module.exports={A:{A:{"2":"K D E F A B gC"},B:{"1":"5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I","2":"C L M G N O P"},C:{"1":"5 6 7 8 9 Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC","2":"0 1 2 3 4 hC IC J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC jC kC"},D:{"1":"5 6 7 8 9 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC","2":"0 1 2 3 4 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B"},E:{"1":"G sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC","2":"J LB K D E F A B C L M lC OC mC nC oC pC PC CC DC qC rC"},F:{"1":"uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x","2":"0 1 2 3 4 F B C G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB xC yC zC 0C CC eC 1C DC"},G:{"1":"LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC","2":"E OC 2C fC 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED FD GD HD ID JD KD"},H:{"2":"PD"},I:{"1":"I","2":"IC J QD RD SD TD fC UD VD"},J:{"2":"D A"},K:{"1":"H","2":"A B C CC eC DC"},L:{"1":"I"},M:{"1":"BC"},N:{"2":"A B"},O:{"1":"EC"},P:{"1":"0 1 2 3 4 y z bD cD dD eD fD FC GC HC gD","2":"J WD XD YD ZD aD PC"},Q:{"16":"hD"},R:{"16":"iD"},S:{"2":"jD","16":"kD"}},B:5,C:"WebAssembly Bulk Memory Operations",D:true}; diff --git a/node_modules/caniuse-lite/data/features/wasm-extended-const.js b/node_modules/caniuse-lite/data/features/wasm-extended-const.js index f3cf676e25..41934d224c 100644 --- a/node_modules/caniuse-lite/data/features/wasm-extended-const.js +++ b/node_modules/caniuse-lite/data/features/wasm-extended-const.js @@ -1 +1 @@ -module.exports={A:{A:{"2":"K D E F A B aC"},B:{"1":"3 4 5 6 7 8 9 AB BB CB DB EB I","2":"0 1 2 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t"},C:{"1":"1 2 3 4 5 6 7 8 9 AB BB CB DB EB I 6B HC IC cC","2":"0 bC DC J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t dC eC"},D:{"1":"3 4 5 6 7 8 9 AB BB CB DB EB I 6B HC IC","2":"0 1 2 J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t"},E:{"1":"VC WC XC CC pC","2":"J FB K D E F A B C L M G fC JC gC hC iC jC KC 7B 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC"},F:{"1":"j k l m n o p q r s t","2":"F B C G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i qC rC sC tC 7B YC uC 8B"},G:{"1":"VC WC XC CC","2":"E JC vC ZC wC xC yC zC 0C 1C 2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC"},H:{"2":"HD"},I:{"1":"I","2":"DC J ID JD KD LD ZC MD ND"},J:{"2":"D A"},K:{"2":"A B C H 7B YC 8B"},L:{"1":"I"},M:{"1":"6B"},N:{"2":"A B"},O:{"1":"9B"},P:{"1":"x y z","2":"J u v w OD PD QD RD SD KC TD UD VD WD XD AC BC CC YD"},Q:{"16":"ZD"},R:{"16":"aD"},S:{"2":"bD","16":"cD"}},B:5,C:"WebAssembly Extended Constant Expressions",D:false}; +module.exports={A:{A:{"2":"K D E F A B gC"},B:{"1":"5 6 7 8 9 x AB BB CB DB EB FB GB HB IB JB KB I","2":"C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w"},C:{"1":"5 6 7 8 9 v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC","2":"0 1 2 3 4 hC IC J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u jC kC"},D:{"1":"5 6 7 8 9 x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC","2":"0 1 2 3 4 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w"},E:{"1":"aC bC vC HC cC dC wC","2":"J LB K D E F A B C L M G lC OC mC nC oC pC PC CC DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC"},F:{"1":"j k l m n o p q r s t u v w x","2":"0 1 2 3 4 F B C G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i xC yC zC 0C CC eC 1C DC"},G:{"1":"aC bC OD HC cC dC","2":"E OC 2C fC 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC"},H:{"2":"PD"},I:{"1":"I","2":"IC J QD RD SD TD fC UD VD"},J:{"2":"D A"},K:{"2":"A B C H CC eC DC"},L:{"1":"I"},M:{"1":"BC"},N:{"2":"A B"},O:{"1":"EC"},P:{"1":"1 2 3 4","2":"0 J y z WD XD YD ZD aD PC bD cD dD eD fD FC GC HC gD"},Q:{"16":"hD"},R:{"16":"iD"},S:{"2":"jD","16":"kD"}},B:5,C:"WebAssembly Extended Constant Expressions",D:false}; diff --git a/node_modules/caniuse-lite/data/features/wasm-gc.js b/node_modules/caniuse-lite/data/features/wasm-gc.js index eae622efd3..5f23501b00 100644 --- a/node_modules/caniuse-lite/data/features/wasm-gc.js +++ b/node_modules/caniuse-lite/data/features/wasm-gc.js @@ -1 +1 @@ -module.exports={A:{A:{"2":"K D E F A B aC"},B:{"1":"8 9 AB BB CB DB EB I","2":"0 1 2 3 4 5 6 7 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t"},C:{"1":"9 AB BB CB DB EB I 6B HC IC cC","2":"0 1 2 3 4 5 6 7 8 bC DC J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t dC eC"},D:{"1":"8 9 AB BB CB DB EB I 6B HC IC","2":"0 1 2 3 4 5 6 7 J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t"},E:{"2":"J FB K D E F A B C L M G fC JC gC hC iC jC KC 7B 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC"},F:{"1":"o p q r s t","2":"F B C G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n qC rC sC tC 7B YC uC 8B"},G:{"2":"E JC vC ZC wC xC yC zC 0C 1C 2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC"},H:{"2":"HD"},I:{"1":"I","2":"DC J ID JD KD LD ZC MD ND"},J:{"2":"D A"},K:{"2":"A B C H 7B YC 8B"},L:{"1":"I"},M:{"1":"6B"},N:{"2":"A B"},O:{"1":"9B"},P:{"2":"J u v w x y z OD PD QD RD SD KC TD UD VD WD XD AC BC CC YD"},Q:{"16":"ZD"},R:{"16":"aD"},S:{"2":"bD","16":"cD"}},B:5,C:"WebAssembly Garbage Collection",D:false}; +module.exports={A:{A:{"2":"K D E F A B gC"},B:{"1":"9 AB BB CB DB EB FB GB HB IB JB KB I","2":"5 6 7 8 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x"},C:{"1":"AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC","2":"0 1 2 3 4 5 6 7 8 9 hC IC J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x jC kC"},D:{"1":"9 AB BB CB DB EB FB GB HB IB JB KB I BC MC NC","2":"0 1 2 3 4 5 6 7 8 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x"},E:{"2":"J LB K D E F A B C L M G lC OC mC nC oC pC PC CC DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC"},F:{"1":"o p q r s t u v w x","2":"0 1 2 3 4 F B C G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n xC yC zC 0C CC eC 1C DC"},G:{"2":"E OC 2C fC 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC"},H:{"2":"PD"},I:{"1":"I","2":"IC J QD RD SD TD fC UD VD"},J:{"2":"D A"},K:{"2":"A B C H CC eC DC"},L:{"1":"I"},M:{"1":"BC"},N:{"2":"A B"},O:{"1":"EC"},P:{"2":"0 1 2 3 4 J y z WD XD YD ZD aD PC bD cD dD eD fD FC GC HC gD"},Q:{"16":"hD"},R:{"16":"iD"},S:{"2":"jD","16":"kD"}},B:5,C:"WebAssembly Garbage Collection",D:false}; diff --git a/node_modules/caniuse-lite/data/features/wasm-multi-memory.js b/node_modules/caniuse-lite/data/features/wasm-multi-memory.js index 0894f229b0..e8a0b1d00f 100644 --- a/node_modules/caniuse-lite/data/features/wasm-multi-memory.js +++ b/node_modules/caniuse-lite/data/features/wasm-multi-memory.js @@ -1 +1 @@ -module.exports={A:{A:{"2":"K D E F A B aC"},B:{"1":"9 AB BB CB DB EB I","2":"0 1 2 3 4 5 6 7 8 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t"},C:{"1":"EB I 6B HC IC cC","2":"0 1 2 3 4 5 6 7 8 9 bC DC J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB dC eC"},D:{"1":"8 9 AB BB CB DB EB I 6B HC IC","2":"0 1 2 3 4 5 6 7 J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t"},E:{"2":"J FB K D E F A B C L M G fC JC gC hC iC jC KC 7B 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC"},F:{"1":"p q r s t","2":"F B C G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o qC rC sC tC 7B YC uC 8B"},G:{"2":"E JC vC ZC wC xC yC zC 0C 1C 2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC"},H:{"2":"HD"},I:{"1":"I","2":"DC J ID JD KD LD ZC MD ND"},J:{"2":"D A"},K:{"2":"A B C H 7B YC 8B"},L:{"1":"I"},M:{"1":"6B"},N:{"2":"A B"},O:{"1":"9B"},P:{"2":"J u v w x y z OD PD QD RD SD KC TD UD VD WD XD AC BC CC YD"},Q:{"16":"ZD"},R:{"16":"aD"},S:{"2":"bD","16":"cD"}},B:5,C:"WebAssembly Multi-Memory",D:false}; +module.exports={A:{A:{"2":"K D E F A B gC"},B:{"1":"AB BB CB DB EB FB GB HB IB JB KB I","2":"5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x"},C:{"1":"FB GB HB IB JB KB I BC MC NC iC","2":"0 1 2 3 4 5 6 7 8 9 hC IC J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB jC kC"},D:{"1":"9 AB BB CB DB EB FB GB HB IB JB KB I BC MC NC","2":"0 1 2 3 4 5 6 7 8 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x"},E:{"2":"J LB K D E F A B C L M G lC OC mC nC oC pC PC CC DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC"},F:{"1":"p q r s t u v w x","2":"0 1 2 3 4 F B C G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o xC yC zC 0C CC eC 1C DC"},G:{"2":"E OC 2C fC 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC"},H:{"2":"PD"},I:{"1":"I","2":"IC J QD RD SD TD fC UD VD"},J:{"2":"D A"},K:{"2":"A B C H CC eC DC"},L:{"1":"I"},M:{"1":"BC"},N:{"2":"A B"},O:{"1":"EC"},P:{"2":"0 1 2 3 4 J y z WD XD YD ZD aD PC bD cD dD eD fD FC GC HC gD"},Q:{"16":"hD"},R:{"16":"iD"},S:{"2":"jD","16":"kD"}},B:5,C:"WebAssembly Multi-Memory",D:false}; diff --git a/node_modules/caniuse-lite/data/features/wasm-multi-value.js b/node_modules/caniuse-lite/data/features/wasm-multi-value.js index 7602baa569..2d423f9453 100644 --- a/node_modules/caniuse-lite/data/features/wasm-multi-value.js +++ b/node_modules/caniuse-lite/data/features/wasm-multi-value.js @@ -1 +1 @@ -module.exports={A:{A:{"2":"K D E F A B aC"},B:{"1":"0 1 2 3 4 5 6 7 8 9 U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I","2":"C L M G N O P Q H R S T"},C:{"1":"0 1 2 3 4 5 6 7 8 9 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC","2":"bC DC J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B dC eC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC","2":"J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T"},E:{"1":"M G kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC","2":"J FB K D E F A B C L fC JC gC hC iC jC KC 7B 8B"},F:{"1":"yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t","2":"F B C G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB qC rC sC tC 7B YC uC 8B"},G:{"1":"9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC","2":"E JC vC ZC wC xC yC zC 0C 1C 2C 3C 4C 5C 6C 7C 8C"},H:{"2":"HD"},I:{"1":"I","2":"DC J ID JD KD LD ZC MD ND"},J:{"2":"D A"},K:{"1":"H","2":"A B C 7B YC 8B"},L:{"1":"I"},M:{"1":"6B"},N:{"2":"A B"},O:{"1":"9B"},P:{"1":"u v w x y z WD XD AC BC CC YD","2":"J OD PD QD RD SD KC TD UD VD"},Q:{"16":"ZD"},R:{"16":"aD"},S:{"2":"bD","16":"cD"}},B:5,C:"WebAssembly Multi-Value",D:true}; +module.exports={A:{A:{"2":"K D E F A B gC"},B:{"1":"5 6 7 8 9 U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I","2":"C L M G N O P Q H R S T"},C:{"1":"5 6 7 8 9 AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC","2":"0 1 2 3 4 hC IC J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B jC kC"},D:{"1":"5 6 7 8 9 U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC","2":"0 1 2 3 4 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T"},E:{"1":"M G qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC","2":"J LB K D E F A B C L lC OC mC nC oC pC PC CC DC"},F:{"1":"3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x","2":"0 1 2 3 4 F B C G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B xC yC zC 0C CC eC 1C DC"},G:{"1":"GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC","2":"E OC 2C fC 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED FD"},H:{"2":"PD"},I:{"1":"I","2":"IC J QD RD SD TD fC UD VD"},J:{"2":"D A"},K:{"1":"H","2":"A B C CC eC DC"},L:{"1":"I"},M:{"1":"BC"},N:{"2":"A B"},O:{"1":"EC"},P:{"1":"0 1 2 3 4 y z eD fD FC GC HC gD","2":"J WD XD YD ZD aD PC bD cD dD"},Q:{"16":"hD"},R:{"16":"iD"},S:{"2":"jD","16":"kD"}},B:5,C:"WebAssembly Multi-Value",D:true}; diff --git a/node_modules/caniuse-lite/data/features/wasm-mutable-globals.js b/node_modules/caniuse-lite/data/features/wasm-mutable-globals.js index 41f4367538..3a00853bfd 100644 --- a/node_modules/caniuse-lite/data/features/wasm-mutable-globals.js +++ b/node_modules/caniuse-lite/data/features/wasm-mutable-globals.js @@ -1 +1 @@ -module.exports={A:{A:{"2":"K D E F A B aC"},B:{"1":"0 1 2 3 4 5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I","2":"C L M G N O P"},C:{"1":"0 1 2 3 4 5 6 7 8 9 FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC","2":"bC DC J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB dC eC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC","2":"J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B"},E:{"1":"C L M G 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC","2":"J FB K D E F A B fC JC gC hC iC jC KC 7B"},F:{"1":"oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t","2":"F B C G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB qC rC sC tC 7B YC uC 8B"},G:{"1":"6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC","2":"E JC vC ZC wC xC yC zC 0C 1C 2C 3C 4C 5C"},H:{"2":"HD"},I:{"1":"I","2":"DC J ID JD KD LD ZC MD ND"},J:{"2":"D A"},K:{"1":"H","2":"A B C 7B YC 8B"},L:{"1":"I"},M:{"1":"6B"},N:{"2":"A B"},O:{"1":"9B"},P:{"1":"u v w x y z TD UD VD WD XD AC BC CC YD","2":"J OD PD QD RD SD KC"},Q:{"16":"ZD"},R:{"16":"aD"},S:{"2":"bD","16":"cD"}},B:5,C:"WebAssembly Import/Export of Mutable Globals",D:true}; +module.exports={A:{A:{"2":"K D E F A B gC"},B:{"1":"5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I","2":"C L M G N O P"},C:{"1":"5 6 7 8 9 KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC","2":"0 1 2 3 4 hC IC J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB jC kC"},D:{"1":"5 6 7 8 9 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC","2":"0 1 2 3 4 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B"},E:{"1":"C L M G DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC","2":"J LB K D E F A B lC OC mC nC oC pC PC CC"},F:{"1":"tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x","2":"0 1 2 3 4 F B C G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB xC yC zC 0C CC eC 1C DC"},G:{"1":"DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC","2":"E OC 2C fC 3C 4C 5C 6C 7C 8C 9C AD BD CD"},H:{"2":"PD"},I:{"1":"I","2":"IC J QD RD SD TD fC UD VD"},J:{"2":"D A"},K:{"1":"H","2":"A B C CC eC DC"},L:{"1":"I"},M:{"1":"BC"},N:{"2":"A B"},O:{"1":"EC"},P:{"1":"0 1 2 3 4 y z bD cD dD eD fD FC GC HC gD","2":"J WD XD YD ZD aD PC"},Q:{"16":"hD"},R:{"16":"iD"},S:{"2":"jD","16":"kD"}},B:5,C:"WebAssembly Import/Export of Mutable Globals",D:true}; diff --git a/node_modules/caniuse-lite/data/features/wasm-nontrapping-fptoint.js b/node_modules/caniuse-lite/data/features/wasm-nontrapping-fptoint.js index 25bf4b5b4b..9c0dd3f297 100644 --- a/node_modules/caniuse-lite/data/features/wasm-nontrapping-fptoint.js +++ b/node_modules/caniuse-lite/data/features/wasm-nontrapping-fptoint.js @@ -1 +1 @@ -module.exports={A:{A:{"2":"K D E F A B aC"},B:{"1":"0 1 2 3 4 5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I","2":"C L M G N O P"},C:{"1":"0 1 2 3 4 5 6 7 8 9 rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC","2":"bC DC J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB dC eC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC","2":"J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B"},E:{"1":"G mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC","2":"J FB K D E F A B C L M fC JC gC hC iC jC KC 7B 8B kC lC"},F:{"1":"pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t","2":"F B C G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB qC rC sC tC 7B YC uC 8B"},G:{"1":"ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC","2":"E JC vC ZC wC xC yC zC 0C 1C 2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD"},H:{"2":"HD"},I:{"1":"I","2":"DC J ID JD KD LD ZC MD ND"},J:{"2":"D A"},K:{"1":"H","2":"A B C 7B YC 8B"},L:{"1":"I"},M:{"1":"6B"},N:{"2":"A B"},O:{"1":"9B"},P:{"1":"u v w x y z TD UD VD WD XD AC BC CC YD","2":"J OD PD QD RD SD KC"},Q:{"16":"ZD"},R:{"16":"aD"},S:{"2":"bD","16":"cD"}},B:5,C:"WebAssembly Non-trapping float-to-int Conversion",D:true}; +module.exports={A:{A:{"2":"K D E F A B gC"},B:{"1":"5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I","2":"C L M G N O P"},C:{"1":"5 6 7 8 9 wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC","2":"0 1 2 3 4 hC IC J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB jC kC"},D:{"1":"5 6 7 8 9 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC","2":"0 1 2 3 4 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B"},E:{"1":"G sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC","2":"J LB K D E F A B C L M lC OC mC nC oC pC PC CC DC qC rC"},F:{"1":"uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x","2":"0 1 2 3 4 F B C G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB xC yC zC 0C CC eC 1C DC"},G:{"1":"LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC","2":"E OC 2C fC 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED FD GD HD ID JD KD"},H:{"2":"PD"},I:{"1":"I","2":"IC J QD RD SD TD fC UD VD"},J:{"2":"D A"},K:{"1":"H","2":"A B C CC eC DC"},L:{"1":"I"},M:{"1":"BC"},N:{"2":"A B"},O:{"1":"EC"},P:{"1":"0 1 2 3 4 y z bD cD dD eD fD FC GC HC gD","2":"J WD XD YD ZD aD PC"},Q:{"16":"hD"},R:{"16":"iD"},S:{"2":"jD","16":"kD"}},B:5,C:"WebAssembly Non-trapping float-to-int Conversion",D:true}; diff --git a/node_modules/caniuse-lite/data/features/wasm-reference-types.js b/node_modules/caniuse-lite/data/features/wasm-reference-types.js index 5fed3633fd..d58b326357 100644 --- a/node_modules/caniuse-lite/data/features/wasm-reference-types.js +++ b/node_modules/caniuse-lite/data/features/wasm-reference-types.js @@ -1 +1 @@ -module.exports={A:{A:{"2":"K D E F A B aC"},B:{"1":"0 1 2 3 4 5 6 7 8 9 f g h i j k l m n o p q r s t AB BB CB DB EB I","2":"C L M G N O P Q H R S T U V W X Y Z a b c d e"},C:{"1":"0 1 2 3 4 5 6 7 8 9 Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC","2":"bC DC J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B dC eC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC","2":"J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e"},E:{"1":"G mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC","2":"J FB K D E F A B C L M fC JC gC hC iC jC KC 7B 8B kC lC"},F:{"1":"GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t","2":"F B C G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R qC rC sC tC 7B YC uC 8B"},G:{"1":"ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC","2":"E JC vC ZC wC xC yC zC 0C 1C 2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD"},H:{"2":"HD"},I:{"1":"I","2":"DC J ID JD KD LD ZC MD ND"},J:{"2":"D A"},K:{"1":"H","2":"A B C 7B YC 8B"},L:{"1":"I"},M:{"1":"6B"},N:{"2":"A B"},O:{"1":"9B"},P:{"1":"u v w x y z BC CC YD","2":"J OD PD QD RD SD KC TD UD VD WD XD AC"},Q:{"16":"ZD"},R:{"16":"aD"},S:{"2":"bD","16":"cD"}},B:5,C:"WebAssembly Reference Types",D:true}; +module.exports={A:{A:{"2":"K D E F A B gC"},B:{"1":"5 6 7 8 9 f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I","2":"C L M G N O P Q H R S T U V W X Y Z a b c d e"},C:{"1":"5 6 7 8 9 Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC","2":"0 1 2 3 4 hC IC J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC jC kC"},D:{"1":"5 6 7 8 9 f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC","2":"0 1 2 3 4 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e"},E:{"1":"G sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC","2":"J LB K D E F A B C L M lC OC mC nC oC pC PC CC DC qC rC"},F:{"1":"LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x","2":"0 1 2 3 4 F B C G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R xC yC zC 0C CC eC 1C DC"},G:{"1":"LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC","2":"E OC 2C fC 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED FD GD HD ID JD KD"},H:{"2":"PD"},I:{"1":"I","2":"IC J QD RD SD TD fC UD VD"},J:{"2":"D A"},K:{"1":"H","2":"A B C CC eC DC"},L:{"1":"I"},M:{"1":"BC"},N:{"2":"A B"},O:{"1":"EC"},P:{"1":"0 1 2 3 4 y z GC HC gD","2":"J WD XD YD ZD aD PC bD cD dD eD fD FC"},Q:{"16":"hD"},R:{"16":"iD"},S:{"2":"jD","16":"kD"}},B:5,C:"WebAssembly Reference Types",D:true}; diff --git a/node_modules/caniuse-lite/data/features/wasm-relaxed-simd.js b/node_modules/caniuse-lite/data/features/wasm-relaxed-simd.js index c70271656c..c185c2763a 100644 --- a/node_modules/caniuse-lite/data/features/wasm-relaxed-simd.js +++ b/node_modules/caniuse-lite/data/features/wasm-relaxed-simd.js @@ -1 +1 @@ -module.exports={A:{A:{"2":"K D E F A B aC"},B:{"1":"3 4 5 6 7 8 9 AB BB CB DB EB I","2":"0 1 2 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t"},C:{"2":"bC DC J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g dC eC","194":"0 1 2 3 4 5 6 7 8 9 h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC"},D:{"1":"3 4 5 6 7 8 9 AB BB CB DB EB I 6B HC IC","2":"0 1 2 J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t"},E:{"2":"J FB K D E F A B C L M G fC JC gC hC iC jC KC 7B 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC"},F:{"1":"j k l m n o p q r s t","2":"F B C G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i qC rC sC tC 7B YC uC 8B"},G:{"2":"E JC vC ZC wC xC yC zC 0C 1C 2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC"},H:{"2":"HD"},I:{"1":"I","2":"DC J ID JD KD LD ZC MD ND"},J:{"2":"D A"},K:{"2":"A B C H 7B YC 8B"},L:{"1":"I"},M:{"1":"6B"},N:{"2":"A B"},O:{"1":"9B"},P:{"1":"x y z","2":"J u v w OD PD QD RD SD KC TD UD VD WD XD AC BC CC YD"},Q:{"16":"ZD"},R:{"16":"aD"},S:{"2":"bD","16":"cD"}},B:5,C:"WebAssembly Relaxed SIMD",D:false}; +module.exports={A:{A:{"2":"K D E F A B gC"},B:{"1":"5 6 7 8 9 x AB BB CB DB EB FB GB HB IB JB KB I","2":"C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w"},C:{"2":"0 1 2 3 4 hC IC J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g jC kC","194":"5 6 7 8 9 h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC"},D:{"1":"5 6 7 8 9 x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC","2":"0 1 2 3 4 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w"},E:{"2":"J LB K D E F A B C L M G lC OC mC nC oC pC PC CC DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC"},F:{"1":"j k l m n o p q r s t u v w x","2":"0 1 2 3 4 F B C G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i xC yC zC 0C CC eC 1C DC"},G:{"2":"E OC 2C fC 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC"},H:{"2":"PD"},I:{"1":"I","2":"IC J QD RD SD TD fC UD VD"},J:{"2":"D A"},K:{"2":"A B C H CC eC DC"},L:{"1":"I"},M:{"1":"BC"},N:{"2":"A B"},O:{"1":"EC"},P:{"1":"1 2 3 4","2":"0 J y z WD XD YD ZD aD PC bD cD dD eD fD FC GC HC gD"},Q:{"16":"hD"},R:{"16":"iD"},S:{"2":"jD","16":"kD"}},B:5,C:"WebAssembly Relaxed SIMD",D:false}; diff --git a/node_modules/caniuse-lite/data/features/wasm-signext.js b/node_modules/caniuse-lite/data/features/wasm-signext.js index 290e5bdcff..cf6bd74c41 100644 --- a/node_modules/caniuse-lite/data/features/wasm-signext.js +++ b/node_modules/caniuse-lite/data/features/wasm-signext.js @@ -1 +1 @@ -module.exports={A:{A:{"2":"K D E F A B aC"},B:{"1":"0 1 2 3 4 5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I","2":"C L M G N O P"},C:{"1":"0 1 2 3 4 5 6 7 8 9 pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC","2":"bC DC J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC dC eC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC","2":"J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B"},E:{"1":"G lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC","2":"J FB K D E F A B C L M fC JC gC hC iC jC KC 7B 8B kC"},F:{"1":"pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t","2":"F B C G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB qC rC sC tC 7B YC uC 8B"},G:{"1":"DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC","2":"E JC vC ZC wC xC yC zC 0C 1C 2C 3C 4C 5C 6C 7C 8C 9C AD BD CD"},H:{"2":"HD"},I:{"1":"I","2":"DC J ID JD KD LD ZC MD ND"},J:{"2":"D A"},K:{"1":"H","2":"A B C 7B YC 8B"},L:{"1":"I"},M:{"1":"6B"},N:{"2":"A B"},O:{"1":"9B"},P:{"1":"u v w x y z TD UD VD WD XD AC BC CC YD","2":"J OD PD QD RD SD KC"},Q:{"16":"ZD"},R:{"16":"aD"},S:{"2":"bD","16":"cD"}},B:5,C:"WebAssembly Sign Extension Operators",D:true}; +module.exports={A:{A:{"2":"K D E F A B gC"},B:{"1":"5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I","2":"C L M G N O P"},C:{"1":"5 6 7 8 9 uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC","2":"0 1 2 3 4 hC IC J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC jC kC"},D:{"1":"5 6 7 8 9 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC","2":"0 1 2 3 4 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B"},E:{"1":"G rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC","2":"J LB K D E F A B C L M lC OC mC nC oC pC PC CC DC qC"},F:{"1":"uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x","2":"0 1 2 3 4 F B C G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB xC yC zC 0C CC eC 1C DC"},G:{"1":"KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC","2":"E OC 2C fC 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED FD GD HD ID JD"},H:{"2":"PD"},I:{"1":"I","2":"IC J QD RD SD TD fC UD VD"},J:{"2":"D A"},K:{"1":"H","2":"A B C CC eC DC"},L:{"1":"I"},M:{"1":"BC"},N:{"2":"A B"},O:{"1":"EC"},P:{"1":"0 1 2 3 4 y z bD cD dD eD fD FC GC HC gD","2":"J WD XD YD ZD aD PC"},Q:{"16":"hD"},R:{"16":"iD"},S:{"2":"jD","16":"kD"}},B:5,C:"WebAssembly Sign Extension Operators",D:true}; diff --git a/node_modules/caniuse-lite/data/features/wasm-simd.js b/node_modules/caniuse-lite/data/features/wasm-simd.js index 109e2fd465..0e5901291d 100644 --- a/node_modules/caniuse-lite/data/features/wasm-simd.js +++ b/node_modules/caniuse-lite/data/features/wasm-simd.js @@ -1 +1 @@ -module.exports={A:{A:{"2":"K D E F A B aC"},B:{"1":"0 1 2 3 4 5 6 7 8 9 a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I","2":"C L M G N O P Q H R S T U V W X Y Z"},C:{"1":"0 1 2 3 4 5 6 7 8 9 Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC","2":"bC DC J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X dC eC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC","2":"J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z"},E:{"1":"QC RC oC BC SC TC UC VC WC XC CC pC","2":"J FB K D E F A B C L M G fC JC gC hC iC jC KC 7B 8B kC lC mC LC MC 9B nC AC NC OC PC"},F:{"1":"4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t","2":"F B C G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B qC rC sC tC 7B YC uC 8B"},G:{"1":"QC RC GD BC SC TC UC VC WC XC CC","2":"E JC vC ZC wC xC yC zC 0C 1C 2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC"},H:{"2":"HD"},I:{"1":"I","2":"DC J ID JD KD LD ZC MD ND"},J:{"2":"D A"},K:{"1":"H","2":"A B C 7B YC 8B"},L:{"1":"I"},M:{"1":"6B"},N:{"2":"A B"},O:{"1":"9B"},P:{"1":"u v w x y z AC BC CC YD","2":"J OD PD QD RD SD KC TD UD VD WD XD"},Q:{"16":"ZD"},R:{"16":"aD"},S:{"2":"bD","16":"cD"}},B:5,C:"WebAssembly SIMD",D:true}; +module.exports={A:{A:{"2":"K D E F A B gC"},B:{"1":"5 6 7 8 9 a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I","2":"C L M G N O P Q H R S T U V W X Y Z"},C:{"1":"5 6 7 8 9 Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC","2":"0 1 2 3 4 hC IC J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X jC kC"},D:{"1":"5 6 7 8 9 a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC","2":"0 1 2 3 4 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z"},E:{"1":"VC WC uC GC XC YC ZC aC bC vC HC cC dC wC","2":"J LB K D E F A B C L M G lC OC mC nC oC pC PC CC DC qC rC sC QC RC EC tC FC SC TC UC"},F:{"1":"9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x","2":"0 1 2 3 4 F B C G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B xC yC zC 0C CC eC 1C DC"},G:{"1":"VC WC ND GC XC YC ZC aC bC OD HC cC dC","2":"E OC 2C fC 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC"},H:{"2":"PD"},I:{"1":"I","2":"IC J QD RD SD TD fC UD VD"},J:{"2":"D A"},K:{"1":"H","2":"A B C CC eC DC"},L:{"1":"I"},M:{"1":"BC"},N:{"2":"A B"},O:{"1":"EC"},P:{"1":"0 1 2 3 4 y z FC GC HC gD","2":"J WD XD YD ZD aD PC bD cD dD eD fD"},Q:{"16":"hD"},R:{"16":"iD"},S:{"2":"jD","16":"kD"}},B:5,C:"WebAssembly SIMD",D:true}; diff --git a/node_modules/caniuse-lite/data/features/wasm-tail-calls.js b/node_modules/caniuse-lite/data/features/wasm-tail-calls.js index dae89d6f09..0c1a173364 100644 --- a/node_modules/caniuse-lite/data/features/wasm-tail-calls.js +++ b/node_modules/caniuse-lite/data/features/wasm-tail-calls.js @@ -1 +1 @@ -module.exports={A:{A:{"2":"K D E F A B aC"},B:{"1":"1 2 3 4 5 6 7 8 9 AB BB CB DB EB I","2":"0 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t"},C:{"1":"AB BB CB DB EB I 6B HC IC cC","2":"0 1 2 3 4 5 6 7 8 9 bC DC J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t dC eC"},D:{"1":"1 2 3 4 5 6 7 8 9 AB BB CB DB EB I 6B HC IC","2":"0 J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t"},E:{"2":"J FB K D E F A B C L M G fC JC gC hC iC jC KC 7B 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC"},F:{"1":"h i j k l m n o p q r s t","2":"F B C G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g qC rC sC tC 7B YC uC 8B"},G:{"2":"E JC vC ZC wC xC yC zC 0C 1C 2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC"},H:{"2":"HD"},I:{"1":"I","2":"DC J ID JD KD LD ZC MD ND"},J:{"2":"D A"},K:{"2":"A B C H 7B YC 8B"},L:{"1":"I"},M:{"1":"6B"},N:{"2":"A B"},O:{"1":"9B"},P:{"1":"x y z","2":"J u v w OD PD QD RD SD KC TD UD VD WD XD AC BC CC YD"},Q:{"16":"ZD"},R:{"16":"aD"},S:{"2":"bD","16":"cD"}},B:5,C:"WebAssembly Tail Calls",D:false}; +module.exports={A:{A:{"2":"K D E F A B gC"},B:{"1":"5 6 7 8 9 v w x AB BB CB DB EB FB GB HB IB JB KB I","2":"C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u"},C:{"1":"BB CB DB EB FB GB HB IB JB KB I BC MC NC iC","2":"0 1 2 3 4 5 6 7 8 9 hC IC J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB jC kC"},D:{"1":"5 6 7 8 9 v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC","2":"0 1 2 3 4 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u"},E:{"2":"J LB K D E F A B C L M G lC OC mC nC oC pC PC CC DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC"},F:{"1":"h i j k l m n o p q r s t u v w x","2":"0 1 2 3 4 F B C G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g xC yC zC 0C CC eC 1C DC"},G:{"2":"E OC 2C fC 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC"},H:{"2":"PD"},I:{"1":"I","2":"IC J QD RD SD TD fC UD VD"},J:{"2":"D A"},K:{"2":"A B C H CC eC DC"},L:{"1":"I"},M:{"1":"BC"},N:{"2":"A B"},O:{"1":"EC"},P:{"1":"1 2 3 4","2":"0 J y z WD XD YD ZD aD PC bD cD dD eD fD FC GC HC gD"},Q:{"16":"hD"},R:{"16":"iD"},S:{"2":"jD","16":"kD"}},B:5,C:"WebAssembly Tail Calls",D:false}; diff --git a/node_modules/caniuse-lite/data/features/wasm-threads.js b/node_modules/caniuse-lite/data/features/wasm-threads.js index a2aec3f2a3..677912461e 100644 --- a/node_modules/caniuse-lite/data/features/wasm-threads.js +++ b/node_modules/caniuse-lite/data/features/wasm-threads.js @@ -1 +1 @@ -module.exports={A:{A:{"2":"K D E F A B aC"},B:{"1":"0 1 2 3 4 5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I","2":"C L M G N O P"},C:{"1":"0 1 2 3 4 5 6 7 8 9 Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC","2":"bC DC J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B dC eC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC","2":"J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B"},E:{"1":"G lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC","2":"J FB K D E F A B C L M fC JC gC hC iC jC KC 7B 8B kC"},F:{"1":"pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t","2":"F B C G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB qC rC sC tC 7B YC uC 8B"},G:{"1":"DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC","2":"E JC vC ZC wC xC yC zC 0C 1C 2C 3C 4C 5C 6C 7C 8C 9C AD BD CD"},H:{"2":"HD"},I:{"1":"I","2":"DC J ID JD KD LD ZC MD ND"},J:{"2":"D A"},K:{"1":"H","2":"A B C 7B YC 8B"},L:{"1":"I"},M:{"1":"6B"},N:{"2":"A B"},O:{"1":"9B"},P:{"1":"u v w x y z TD UD VD WD XD AC BC CC YD","2":"J OD PD QD RD SD KC"},Q:{"16":"ZD"},R:{"16":"aD"},S:{"2":"bD","16":"cD"}},B:5,C:"WebAssembly Threads and Atomics",D:true}; +module.exports={A:{A:{"2":"K D E F A B gC"},B:{"1":"5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I","2":"C L M G N O P"},C:{"1":"5 6 7 8 9 Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC","2":"0 1 2 3 4 hC IC J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC jC kC"},D:{"1":"5 6 7 8 9 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC","2":"0 1 2 3 4 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B"},E:{"1":"G rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC","2":"J LB K D E F A B C L M lC OC mC nC oC pC PC CC DC qC"},F:{"1":"uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x","2":"0 1 2 3 4 F B C G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB xC yC zC 0C CC eC 1C DC"},G:{"1":"KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC","2":"E OC 2C fC 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED FD GD HD ID JD"},H:{"2":"PD"},I:{"1":"I","2":"IC J QD RD SD TD fC UD VD"},J:{"2":"D A"},K:{"1":"H","2":"A B C CC eC DC"},L:{"1":"I"},M:{"1":"BC"},N:{"2":"A B"},O:{"1":"EC"},P:{"1":"0 1 2 3 4 y z bD cD dD eD fD FC GC HC gD","2":"J WD XD YD ZD aD PC"},Q:{"16":"hD"},R:{"16":"iD"},S:{"2":"jD","16":"kD"}},B:5,C:"WebAssembly Threads and Atomics",D:true}; diff --git a/node_modules/caniuse-lite/data/features/wasm.js b/node_modules/caniuse-lite/data/features/wasm.js index f00464e4ee..798046501d 100644 --- a/node_modules/caniuse-lite/data/features/wasm.js +++ b/node_modules/caniuse-lite/data/features/wasm.js @@ -1 +1 @@ -module.exports={A:{A:{"2":"K D E F A B aC"},B:{"1":"0 1 2 3 4 5 6 7 8 9 N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I","2":"C L M","578":"G"},C:{"1":"0 1 2 3 4 5 6 7 8 9 iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC","2":"bC DC J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB dC eC","194":"cB dB eB fB gB","1025":"hB"},D:{"1":"0 1 2 3 4 5 6 7 8 9 mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC","2":"J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB","322":"gB hB iB jB kB lB"},E:{"1":"B C L M G 7B 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC","2":"J FB K D E F A fC JC gC hC iC jC KC"},F:{"1":"ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t","2":"F B C G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB qC rC sC tC 7B YC uC 8B","322":"TB UB VB WB XB YB"},G:{"1":"4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC","2":"E JC vC ZC wC xC yC zC 0C 1C 2C 3C"},H:{"2":"HD"},I:{"1":"I","2":"DC J ID JD KD LD ZC MD ND"},J:{"2":"D A"},K:{"1":"H","2":"A B C 7B YC 8B"},L:{"1":"I"},M:{"1":"6B"},N:{"2":"A B"},O:{"1":"9B"},P:{"1":"u v w x y z QD RD SD KC TD UD VD WD XD AC BC CC YD","2":"J OD PD"},Q:{"1":"ZD"},R:{"1":"aD"},S:{"1":"cD","194":"bD"}},B:6,C:"WebAssembly",D:true}; +module.exports={A:{A:{"2":"K D E F A B gC"},B:{"1":"5 6 7 8 9 N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I","2":"C L M","578":"G"},C:{"1":"5 6 7 8 9 nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC","2":"0 1 2 3 4 hC IC J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB jC kC","194":"hB iB jB kB lB","1025":"mB"},D:{"1":"5 6 7 8 9 rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC","2":"0 1 2 3 4 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB","322":"lB mB nB oB pB qB"},E:{"1":"B C L M G CC DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC","2":"J LB K D E F A lC OC mC nC oC pC PC"},F:{"1":"eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x","2":"0 1 2 3 4 F B C G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB xC yC zC 0C CC eC 1C DC","322":"YB ZB aB bB cB dB"},G:{"1":"BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC","2":"E OC 2C fC 3C 4C 5C 6C 7C 8C 9C AD"},H:{"2":"PD"},I:{"1":"I","2":"IC J QD RD SD TD fC UD VD"},J:{"2":"D A"},K:{"1":"H","2":"A B C CC eC DC"},L:{"1":"I"},M:{"1":"BC"},N:{"2":"A B"},O:{"1":"EC"},P:{"1":"0 1 2 3 4 y z YD ZD aD PC bD cD dD eD fD FC GC HC gD","2":"J WD XD"},Q:{"1":"hD"},R:{"1":"iD"},S:{"1":"kD","194":"jD"}},B:6,C:"WebAssembly",D:true}; diff --git a/node_modules/caniuse-lite/data/features/wav.js b/node_modules/caniuse-lite/data/features/wav.js index 698b1124bc..f192f92916 100644 --- a/node_modules/caniuse-lite/data/features/wav.js +++ b/node_modules/caniuse-lite/data/features/wav.js @@ -1 +1 @@ -module.exports={A:{A:{"2":"K D E F A B aC"},B:{"1":"0 1 2 3 4 5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC dC eC","2":"bC DC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC","2":"J FB K D"},E:{"1":"J FB K D E F A B C L M G gC hC iC jC KC 7B 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC","2":"fC JC"},F:{"1":"B C G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t sC tC 7B YC uC 8B","2":"F qC rC"},G:{"1":"E JC vC ZC wC xC yC zC 0C 1C 2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC"},H:{"2":"HD"},I:{"1":"DC J I KD LD ZC MD ND","16":"ID JD"},J:{"1":"D A"},K:{"1":"B C H 7B YC 8B","16":"A"},L:{"1":"I"},M:{"1":"6B"},N:{"2":"A B"},O:{"1":"9B"},P:{"1":"J u v w x y z OD PD QD RD SD KC TD UD VD WD XD AC BC CC YD"},Q:{"1":"ZD"},R:{"1":"aD"},S:{"1":"bD cD"}},B:6,C:"Wav audio format",D:true}; +module.exports={A:{A:{"2":"K D E F A B gC"},B:{"1":"5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC jC kC","2":"hC IC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC","2":"J LB K D"},E:{"1":"J LB K D E F A B C L M G mC nC oC pC PC CC DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC","2":"lC OC"},F:{"1":"0 1 2 3 4 B C G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x zC 0C CC eC 1C DC","2":"F xC yC"},G:{"1":"E OC 2C fC 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC"},H:{"2":"PD"},I:{"1":"IC J I SD TD fC UD VD","16":"QD RD"},J:{"1":"D A"},K:{"1":"B C H CC eC DC","16":"A"},L:{"1":"I"},M:{"1":"BC"},N:{"2":"A B"},O:{"1":"EC"},P:{"1":"0 1 2 3 4 J y z WD XD YD ZD aD PC bD cD dD eD fD FC GC HC gD"},Q:{"1":"hD"},R:{"1":"iD"},S:{"1":"jD kD"}},B:6,C:"Wav audio format",D:true}; diff --git a/node_modules/caniuse-lite/data/features/wbr-element.js b/node_modules/caniuse-lite/data/features/wbr-element.js index fe1f0d74e4..62c6ca0ece 100644 --- a/node_modules/caniuse-lite/data/features/wbr-element.js +++ b/node_modules/caniuse-lite/data/features/wbr-element.js @@ -1 +1 @@ -module.exports={A:{A:{"1":"K D aC","2":"E F A B"},B:{"1":"0 1 2 3 4 5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 bC DC J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC dC eC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC"},E:{"1":"J FB K D E F A B C L M G JC gC hC iC jC KC 7B 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC","16":"fC"},F:{"1":"B C G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t qC rC sC tC 7B YC uC 8B","16":"F"},G:{"1":"E wC xC yC zC 0C 1C 2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC","16":"JC vC ZC"},H:{"1":"HD"},I:{"1":"DC J I KD LD ZC MD ND","16":"ID JD"},J:{"1":"D A"},K:{"1":"B C H 7B YC 8B","2":"A"},L:{"1":"I"},M:{"1":"6B"},N:{"2":"A B"},O:{"1":"9B"},P:{"1":"J u v w x y z OD PD QD RD SD KC TD UD VD WD XD AC BC CC YD"},Q:{"1":"ZD"},R:{"1":"aD"},S:{"1":"bD cD"}},B:1,C:"wbr (word break opportunity) element",D:true}; +module.exports={A:{A:{"1":"K D gC","2":"E F A B"},B:{"1":"5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 hC IC J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC jC kC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC"},E:{"1":"J LB K D E F A B C L M G OC mC nC oC pC PC CC DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC","16":"lC"},F:{"1":"0 1 2 3 4 B C G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x xC yC zC 0C CC eC 1C DC","16":"F"},G:{"1":"E 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC","16":"OC 2C fC"},H:{"1":"PD"},I:{"1":"IC J I SD TD fC UD VD","16":"QD RD"},J:{"1":"D A"},K:{"1":"B C H CC eC DC","2":"A"},L:{"1":"I"},M:{"1":"BC"},N:{"2":"A B"},O:{"1":"EC"},P:{"1":"0 1 2 3 4 J y z WD XD YD ZD aD PC bD cD dD eD fD FC GC HC gD"},Q:{"1":"hD"},R:{"1":"iD"},S:{"1":"jD kD"}},B:1,C:"wbr (word break opportunity) element",D:true}; diff --git a/node_modules/caniuse-lite/data/features/web-animation.js b/node_modules/caniuse-lite/data/features/web-animation.js index 017c1e5e05..5d48414b39 100644 --- a/node_modules/caniuse-lite/data/features/web-animation.js +++ b/node_modules/caniuse-lite/data/features/web-animation.js @@ -1 +1 @@ -module.exports={A:{A:{"2":"K D E F A B aC"},B:{"1":"0 1 2 3 4 5 6 7 8 9 T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I","2":"C L M G N O P","260":"Q H R S"},C:{"1":"0 1 2 3 4 5 6 7 8 9 R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC","2":"bC DC J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB dC eC","260":"EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B","516":"cB dB eB fB gB hB iB jB kB lB mB nB","580":"OB PB QB RB SB TB UB VB WB XB YB ZB aB bB","2049":"2B 3B 4B 5B Q H"},D:{"1":"0 1 2 3 4 5 6 7 8 9 T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC","2":"J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB","132":"RB SB TB","260":"UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S"},E:{"1":"G mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC","2":"J FB K D E F A fC JC gC hC iC jC KC","1090":"B C L 7B 8B","2049":"M kC lC"},F:{"1":"yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t","2":"F B C G N O P GB u v w qC rC sC tC 7B YC uC 8B","132":"x y z","260":"HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB"},G:{"2":"E JC vC ZC wC xC yC zC 0C 1C 2C 3C","1090":"4C 5C 6C 7C 8C 9C AD","2049":"BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC"},H:{"2":"HD"},I:{"1":"I","2":"DC J ID JD KD LD ZC MD ND"},J:{"2":"D A"},K:{"1":"H","2":"A B C 7B YC 8B"},L:{"1":"I"},M:{"1":"6B"},N:{"2":"A B"},O:{"1":"9B"},P:{"1":"u v w x y z WD XD AC BC CC YD","260":"J OD PD QD RD SD KC TD UD VD"},Q:{"260":"ZD"},R:{"1":"aD"},S:{"1":"cD","516":"bD"}},B:5,C:"Web Animations API",D:true}; +module.exports={A:{A:{"2":"K D E F A B gC"},B:{"1":"5 6 7 8 9 T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I","2":"C L M G N O P","260":"Q H R S"},C:{"1":"5 6 7 8 9 R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC","2":"0 1 2 3 4 hC IC J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB jC kC","260":"JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B","516":"hB iB jB kB lB mB nB oB pB qB rB sB","580":"TB UB VB WB XB YB ZB aB bB cB dB eB fB gB","2049":"7B 8B 9B AC Q H"},D:{"1":"5 6 7 8 9 T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC","2":"0 1 2 3 4 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB","132":"WB XB YB","260":"ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S"},E:{"1":"G sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC","2":"J LB K D E F A lC OC mC nC oC pC PC","1090":"B C L CC DC","2049":"M qC rC"},F:{"1":"3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x","2":"0 F B C G N O P MB y z xC yC zC 0C CC eC 1C DC","132":"1 2 3","260":"4 NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B"},G:{"2":"E OC 2C fC 3C 4C 5C 6C 7C 8C 9C AD","1090":"BD CD DD ED FD GD HD","2049":"ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC"},H:{"2":"PD"},I:{"1":"I","2":"IC J QD RD SD TD fC UD VD"},J:{"2":"D A"},K:{"1":"H","2":"A B C CC eC DC"},L:{"1":"I"},M:{"1":"BC"},N:{"2":"A B"},O:{"1":"EC"},P:{"1":"0 1 2 3 4 y z eD fD FC GC HC gD","260":"J WD XD YD ZD aD PC bD cD dD"},Q:{"260":"hD"},R:{"1":"iD"},S:{"1":"kD","516":"jD"}},B:5,C:"Web Animations API",D:true}; diff --git a/node_modules/caniuse-lite/data/features/web-app-manifest.js b/node_modules/caniuse-lite/data/features/web-app-manifest.js index e35dd1a276..4d5128fb09 100644 --- a/node_modules/caniuse-lite/data/features/web-app-manifest.js +++ b/node_modules/caniuse-lite/data/features/web-app-manifest.js @@ -1 +1 @@ -module.exports={A:{A:{"2":"K D E F A B aC"},B:{"1":"0 1 2 3 4 5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I","2":"C L M G N","130":"O P"},C:{"2":"0 1 2 3 4 5 6 7 8 9 bC DC J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC dC eC","578":"3B 4B 5B Q H R GC S T U"},D:{"1":"0 1 2 3 4 5 6 7 8 9 UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC","2":"J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB"},E:{"2":"J FB K D E F A B C L M G fC JC gC hC iC jC KC 7B 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC","4":"BC SC TC UC VC WC XC CC pC"},F:{"2":"F B C G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t qC rC sC tC 7B YC uC 8B"},G:{"2":"E JC vC ZC wC xC yC zC 0C 1C 2C 3C 4C","4":"QC RC GD BC SC TC UC VC WC XC CC","260":"5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC"},H:{"2":"HD"},I:{"1":"I","2":"DC J ID JD KD LD ZC MD ND"},J:{"2":"D A"},K:{"1":"H","2":"A B C 7B YC 8B"},L:{"1":"I"},M:{"1":"6B"},N:{"2":"A B"},O:{"1":"9B"},P:{"1":"J u v w x y z OD PD QD RD SD KC TD UD VD WD XD AC BC CC YD"},Q:{"1":"ZD"},R:{"1":"aD"},S:{"2":"bD cD"}},B:5,C:"Add to home screen (A2HS)",D:false}; +module.exports={A:{A:{"2":"K D E F A B gC"},B:{"1":"5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I","2":"C L M G N","130":"O P"},C:{"2":"0 1 2 3 4 5 6 7 8 9 hC IC J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC jC kC","578":"8B 9B AC Q H R LC S T U"},D:{"1":"5 6 7 8 9 ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC","2":"0 1 2 3 4 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB"},E:{"2":"J LB K D E F A B C L M G lC OC mC nC oC pC PC CC DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC","4":"GC XC YC ZC aC bC vC HC cC dC wC"},F:{"2":"0 1 2 3 4 F B C G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x xC yC zC 0C CC eC 1C DC"},G:{"2":"E OC 2C fC 3C 4C 5C 6C 7C 8C 9C AD BD","4":"VC WC ND GC XC YC ZC aC bC OD HC cC dC","260":"CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC"},H:{"2":"PD"},I:{"1":"I","2":"IC J QD RD SD TD fC UD VD"},J:{"2":"D A"},K:{"1":"H","2":"A B C CC eC DC"},L:{"1":"I"},M:{"1":"BC"},N:{"2":"A B"},O:{"1":"EC"},P:{"1":"0 1 2 3 4 J y z WD XD YD ZD aD PC bD cD dD eD fD FC GC HC gD"},Q:{"1":"hD"},R:{"1":"iD"},S:{"2":"jD kD"}},B:5,C:"Add to home screen (A2HS)",D:false}; diff --git a/node_modules/caniuse-lite/data/features/web-bluetooth.js b/node_modules/caniuse-lite/data/features/web-bluetooth.js index 200df0bb75..407b22484a 100644 --- a/node_modules/caniuse-lite/data/features/web-bluetooth.js +++ b/node_modules/caniuse-lite/data/features/web-bluetooth.js @@ -1 +1 @@ -module.exports={A:{A:{"2":"K D E F A B aC"},B:{"2":"C L M G N O P","1025":"0 1 2 3 4 5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I"},C:{"2":"0 1 2 3 4 5 6 7 8 9 bC DC J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC dC eC"},D:{"2":"J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB","194":"aB bB cB dB eB fB gB hB","706":"iB jB kB","1025":"0 1 2 3 4 5 6 7 8 9 lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC"},E:{"2":"J FB K D E F A B C L M G fC JC gC hC iC jC KC 7B 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC"},F:{"2":"F B C G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB qC rC sC tC 7B YC uC 8B","450":"RB SB TB UB","706":"VB WB XB","1025":"YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t"},G:{"2":"E JC vC ZC wC xC yC zC 0C 1C 2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC"},H:{"2":"HD"},I:{"2":"DC J ID JD KD LD ZC MD ND","1025":"I"},J:{"2":"D A"},K:{"2":"A B C 7B YC 8B","1025":"H"},L:{"1025":"I"},M:{"2":"6B"},N:{"2":"A B"},O:{"1025":"9B"},P:{"1":"u v w x y z PD QD RD SD KC TD UD VD WD XD AC BC CC YD","2":"J OD"},Q:{"2":"ZD"},R:{"1025":"aD"},S:{"2":"bD cD"}},B:7,C:"Web Bluetooth",D:true}; +module.exports={A:{A:{"2":"K D E F A B gC"},B:{"2":"C L M G N O P","1025":"5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I"},C:{"2":"0 1 2 3 4 5 6 7 8 9 hC IC J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC jC kC"},D:{"2":"0 1 2 3 4 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB","194":"fB gB hB iB jB kB lB mB","706":"nB oB pB","1025":"5 6 7 8 9 qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC"},E:{"2":"J LB K D E F A B C L M G lC OC mC nC oC pC PC CC DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC"},F:{"2":"0 1 2 3 4 F B C G N O P MB y z NB OB PB QB RB SB TB UB VB xC yC zC 0C CC eC 1C DC","450":"WB XB YB ZB","706":"aB bB cB","1025":"dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x"},G:{"2":"E OC 2C fC 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC"},H:{"2":"PD"},I:{"2":"IC J QD RD SD TD fC UD VD","1025":"I"},J:{"2":"D A"},K:{"2":"A B C CC eC DC","1025":"H"},L:{"1025":"I"},M:{"2":"BC"},N:{"2":"A B"},O:{"1025":"EC"},P:{"1":"0 1 2 3 4 y z XD YD ZD aD PC bD cD dD eD fD FC GC HC gD","2":"J WD"},Q:{"2":"hD"},R:{"1025":"iD"},S:{"2":"jD kD"}},B:7,C:"Web Bluetooth",D:true}; diff --git a/node_modules/caniuse-lite/data/features/web-serial.js b/node_modules/caniuse-lite/data/features/web-serial.js index 505ff5ac33..1492f34a92 100644 --- a/node_modules/caniuse-lite/data/features/web-serial.js +++ b/node_modules/caniuse-lite/data/features/web-serial.js @@ -1 +1 @@ -module.exports={A:{A:{"2":"K D E F A B aC"},B:{"1":"0 1 2 3 4 5 6 7 8 9 Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I","2":"C L M G N O P","66":"Q H R S T U V W X"},C:{"2":"0 1 2 3 4 5 6 7 8 9 bC DC J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC dC eC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC","2":"J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B","66":"5B Q H R S T U V W X"},E:{"2":"J FB K D E F A B C L M G fC JC gC hC iC jC KC 7B 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC"},F:{"1":"3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t","2":"F B C G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB qC rC sC tC 7B YC uC 8B","66":"sB tB uB vB wB xB yB zB 0B 1B 2B"},G:{"2":"E JC vC ZC wC xC yC zC 0C 1C 2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC"},H:{"2":"HD"},I:{"2":"DC J I ID JD KD LD ZC MD ND"},J:{"2":"D A"},K:{"2":"A B C H 7B YC 8B"},L:{"2":"I"},M:{"2":"6B"},N:{"2":"A B"},O:{"2":"9B"},P:{"2":"J u v w x y z OD PD QD RD SD KC TD UD VD WD XD AC BC CC YD"},Q:{"2":"ZD"},R:{"2":"aD"},S:{"2":"bD cD"}},B:7,C:"Web Serial API",D:true}; +module.exports={A:{A:{"2":"K D E F A B gC"},B:{"1":"5 6 7 8 9 Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I","2":"C L M G N O P","66":"Q H R S T U V W X"},C:{"2":"0 1 2 3 4 5 6 7 8 9 hC IC J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC jC kC"},D:{"1":"5 6 7 8 9 Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC","2":"0 1 2 3 4 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B","66":"AC Q H R S T U V W X"},E:{"2":"J LB K D E F A B C L M G lC OC mC nC oC pC PC CC DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC"},F:{"1":"8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x","2":"0 1 2 3 4 F B C G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xC yC zC 0C CC eC 1C DC","66":"xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B"},G:{"2":"E OC 2C fC 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC"},H:{"2":"PD"},I:{"2":"IC J I QD RD SD TD fC UD VD"},J:{"2":"D A"},K:{"2":"A B C H CC eC DC"},L:{"2":"I"},M:{"2":"BC"},N:{"2":"A B"},O:{"2":"EC"},P:{"2":"0 1 2 3 4 J y z WD XD YD ZD aD PC bD cD dD eD fD FC GC HC gD"},Q:{"2":"hD"},R:{"2":"iD"},S:{"2":"jD kD"}},B:7,C:"Web Serial API",D:true}; diff --git a/node_modules/caniuse-lite/data/features/web-share.js b/node_modules/caniuse-lite/data/features/web-share.js index 8fac7f34ba..d7765a191c 100644 --- a/node_modules/caniuse-lite/data/features/web-share.js +++ b/node_modules/caniuse-lite/data/features/web-share.js @@ -1 +1 @@ -module.exports={A:{A:{"2":"K D E F A B aC"},B:{"1":"0 1 2 3 4 5 6 7 8 9 e f g h i j k l m n o p q r s t AB BB CB DB EB I","2":"C L M G N O P Q H","516":"R S T U V W X Y Z a b c d"},C:{"2":"0 1 2 3 4 5 6 7 8 9 bC DC J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC dC eC"},D:{"2":"J FB K D E F A B C L M G N O z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X","130":"P GB u v w x y","1028":"0 1 2 3 4 5 6 7 8 9 Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC"},E:{"1":"M G lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC","2":"J FB K D E F A B C fC JC gC hC iC jC KC 7B","2049":"L 8B kC"},F:{"2":"F B C G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t qC rC sC tC 7B YC uC 8B"},G:{"1":"CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC","2":"E JC vC ZC wC xC yC zC 0C 1C 2C 3C 4C 5C 6C","2049":"7C 8C 9C AD BD"},H:{"2":"HD"},I:{"2":"DC J ID JD KD LD ZC MD","258":"I ND"},J:{"2":"D A"},K:{"1":"H","2":"A B C 7B YC 8B"},L:{"1":"I"},M:{"1":"6B"},N:{"2":"A B"},O:{"2":"9B"},P:{"1":"u v w x y z RD SD KC TD UD VD WD XD AC BC CC YD","2":"J","258":"OD PD QD"},Q:{"2":"ZD"},R:{"2":"aD"},S:{"2":"bD cD"}},B:4,C:"Web Share API",D:true}; +module.exports={A:{A:{"2":"K D E F A B gC"},B:{"1":"5 6 7 8 9 e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I","2":"C L M G N O P Q H","516":"R S T U V W X Y Z a b c d"},C:{"2":"0 1 2 3 4 5 6 7 8 9 hC IC J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC jC kC"},D:{"1":"IB JB KB I BC MC NC","2":"3 4 J LB K D E F A B C L M G N O NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X","130":"0 1 2 P MB y z","1028":"5 6 7 8 9 Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB"},E:{"1":"M G rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC","2":"J LB K D E F A B C lC OC mC nC oC pC PC CC","2049":"L DC qC"},F:{"1":"x","2":"0 1 2 3 4 F B C G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w xC yC zC 0C CC eC 1C DC"},G:{"1":"JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC","2":"E OC 2C fC 3C 4C 5C 6C 7C 8C 9C AD BD CD DD","2049":"ED FD GD HD ID"},H:{"2":"PD"},I:{"2":"IC J QD RD SD TD fC UD","258":"I VD"},J:{"2":"D A"},K:{"1":"H","2":"A B C CC eC DC"},L:{"1":"I"},M:{"1":"BC"},N:{"2":"A B"},O:{"2":"EC"},P:{"1":"0 1 2 3 4 y z ZD aD PC bD cD dD eD fD FC GC HC gD","2":"J","258":"WD XD YD"},Q:{"2":"hD"},R:{"2":"iD"},S:{"2":"jD kD"}},B:4,C:"Web Share API",D:true}; diff --git a/node_modules/caniuse-lite/data/features/webauthn.js b/node_modules/caniuse-lite/data/features/webauthn.js index 2f760179b9..1f0041ea5f 100644 --- a/node_modules/caniuse-lite/data/features/webauthn.js +++ b/node_modules/caniuse-lite/data/features/webauthn.js @@ -1 +1 @@ -module.exports={A:{A:{"2":"K D E F A B aC"},B:{"1":"0 1 2 3 4 5 6 7 8 9 P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I","2":"C","226":"L M G N O"},C:{"2":"bC DC J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC dC eC","4100":"3 4 5 6 7 8 9 AB BB CB DB EB I 6B HC IC cC","5124":"0 1 2 oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t"},D:{"1":"0 1 2 3 4 5 6 7 8 9 uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC","2":"J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB"},E:{"1":"L M G kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC","2":"J FB K D E F A B C fC JC gC hC iC jC KC 7B","322":"8B"},F:{"1":"jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t","2":"F B C G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB qC rC sC tC 7B YC uC 8B"},G:{"1":"DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC","2":"E JC vC ZC wC xC yC zC 0C 1C 2C 3C 4C 5C 6C 7C 8C","578":"9C","2052":"CD","3076":"AD BD"},H:{"2":"HD"},I:{"1":"I","2":"DC J ID JD KD LD ZC MD ND"},J:{"2":"D A"},K:{"1":"H","2":"A B C 7B YC 8B"},L:{"1":"I"},M:{"1028":"6B"},N:{"2":"A B"},O:{"1":"9B"},P:{"1":"u v w x y z BC CC YD","2":"J OD PD QD RD SD KC TD UD VD WD XD AC"},Q:{"1":"ZD"},R:{"1":"aD"},S:{"1":"cD","2":"bD"}},B:2,C:"Web Authentication API",D:true}; +module.exports={A:{A:{"2":"K D E F A B gC"},B:{"1":"5 6 7 8 9 P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I","2":"C","226":"L M G N O"},C:{"2":"0 1 2 3 4 hC IC J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC jC kC","4100":"5 6 7 8 9 x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC","5124":"tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w"},D:{"1":"5 6 7 8 9 zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC","2":"0 1 2 3 4 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB"},E:{"1":"L M G qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC","2":"J LB K D E F A B C lC OC mC nC oC pC PC CC","322":"DC"},F:{"1":"oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x","2":"0 1 2 3 4 F B C G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB xC yC zC 0C CC eC 1C DC"},G:{"1":"KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC","2":"E OC 2C fC 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED FD","578":"GD","2052":"JD","3076":"HD ID"},H:{"2":"PD"},I:{"1":"I","2":"IC J QD RD SD TD fC UD VD"},J:{"2":"D A"},K:{"1":"H","2":"A B C CC eC DC"},L:{"1":"I"},M:{"8196":"BC"},N:{"2":"A B"},O:{"1":"EC"},P:{"1":"0 1 2 3 4 y z GC HC gD","2":"J WD XD YD ZD aD PC bD cD dD eD fD FC"},Q:{"1":"hD"},R:{"1":"iD"},S:{"1":"kD","2":"jD"}},B:2,C:"Web Authentication API",D:true}; diff --git a/node_modules/caniuse-lite/data/features/webcodecs.js b/node_modules/caniuse-lite/data/features/webcodecs.js index af8aa4f344..b8c38287d9 100644 --- a/node_modules/caniuse-lite/data/features/webcodecs.js +++ b/node_modules/caniuse-lite/data/features/webcodecs.js @@ -1 +1 @@ -module.exports={A:{A:{"2":"K D E F A B aC"},B:{"1":"0 1 2 3 4 5 6 7 8 9 d e f g h i j k l m n o p q r s t AB BB CB DB EB I","2":"C L M G N O P Q H R S T U V W X Y Z a b c"},C:{"2":"0 1 2 3 4 5 6 7 8 9 bC DC J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC dC eC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC","2":"J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c"},E:{"2":"J FB K D E F A B C L M G fC JC gC hC iC jC KC 7B 8B kC lC mC LC MC 9B nC AC NC OC PC","132":"QC RC oC BC SC TC UC VC WC XC CC pC"},F:{"1":"H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t","2":"F B C G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q qC rC sC tC 7B YC uC 8B"},G:{"2":"E JC vC ZC wC xC yC zC 0C 1C 2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC","132":"QC RC GD BC SC TC UC VC WC XC CC"},H:{"2":"HD"},I:{"1":"I","2":"DC J ID JD KD LD ZC MD ND"},J:{"2":"D A"},K:{"1":"H","2":"A B C 7B YC 8B"},L:{"1":"I"},M:{"2":"6B"},N:{"2":"A B"},O:{"1":"9B"},P:{"1":"u v w x y z BC CC YD","2":"J OD PD QD RD SD KC TD UD VD WD XD AC"},Q:{"2":"ZD"},R:{"1":"aD"},S:{"2":"bD cD"}},B:5,C:"WebCodecs API",D:true}; +module.exports={A:{A:{"2":"K D E F A B gC"},B:{"1":"5 6 7 8 9 d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I","2":"C L M G N O P Q H R S T U V W X Y Z a b c"},C:{"1":"KB I BC MC NC iC","2":"0 1 2 3 4 5 6 7 8 9 hC IC J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB jC kC"},D:{"1":"5 6 7 8 9 d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC","2":"0 1 2 3 4 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c"},E:{"2":"J LB K D E F A B C L M G lC OC mC nC oC pC PC CC DC qC rC sC QC RC EC tC FC SC TC UC","132":"VC WC uC GC XC YC ZC aC bC vC HC cC dC wC"},F:{"1":"H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x","2":"0 1 2 3 4 F B C G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q xC yC zC 0C CC eC 1C DC"},G:{"2":"E OC 2C fC 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC","132":"VC WC ND GC XC YC ZC aC bC OD HC cC dC"},H:{"2":"PD"},I:{"1":"I","2":"IC J QD RD SD TD fC UD VD"},J:{"2":"D A"},K:{"1":"H","2":"A B C CC eC DC"},L:{"1":"I"},M:{"2":"BC"},N:{"2":"A B"},O:{"1":"EC"},P:{"1":"0 1 2 3 4 y z GC HC gD","2":"J WD XD YD ZD aD PC bD cD dD eD fD FC"},Q:{"2":"hD"},R:{"1":"iD"},S:{"2":"jD kD"}},B:5,C:"WebCodecs API",D:true}; diff --git a/node_modules/caniuse-lite/data/features/webgl.js b/node_modules/caniuse-lite/data/features/webgl.js index 0c43a740f6..3f46a12f48 100644 --- a/node_modules/caniuse-lite/data/features/webgl.js +++ b/node_modules/caniuse-lite/data/features/webgl.js @@ -1 +1 @@ -module.exports={A:{A:{"2":"aC","8":"K D E F A","129":"B"},B:{"1":"0 1 2 3 4 5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I","129":"C L M G N O P"},C:{"1":"0 1 2 3 4 5 6 7 8 9 y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC","2":"bC DC dC eC","129":"J FB K D E F A B C L M G N O P GB u v w x"},D:{"1":"0 1 2 3 4 5 6 7 8 9 OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC","2":"J FB K D","129":"E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB"},E:{"1":"E F A B C L M G jC KC 7B 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC","2":"J FB fC JC","129":"K D gC hC iC"},F:{"1":"GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t","2":"F B qC rC sC tC 7B YC uC","129":"C G N O P 8B"},G:{"1":"E zC 0C 1C 2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC","2":"JC vC ZC wC xC yC"},H:{"2":"HD"},I:{"1":"I","2":"DC J ID JD KD LD ZC MD ND"},J:{"1":"A","2":"D"},K:{"1":"C H 8B","2":"A B 7B YC"},L:{"1":"I"},M:{"1":"6B"},N:{"8":"A","129":"B"},O:{"1":"9B"},P:{"1":"J u v w x y z OD PD QD RD SD KC TD UD VD WD XD AC BC CC YD"},Q:{"1":"ZD"},R:{"1":"aD"},S:{"1":"cD","129":"bD"}},B:6,C:"WebGL - 3D Canvas graphics",D:true}; +module.exports={A:{A:{"2":"gC","8":"K D E F A","129":"B"},B:{"1":"5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I","129":"C L M G N O P"},C:{"1":"2 3 4 5 6 7 8 9 NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC","2":"hC IC jC kC","129":"0 1 J LB K D E F A B C L M G N O P MB y z"},D:{"1":"5 6 7 8 9 TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC","2":"J LB K D","129":"0 1 2 3 4 E F A B C L M G N O P MB y z NB OB PB QB RB SB"},E:{"1":"E F A B C L M G pC PC CC DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC","2":"J LB lC OC","129":"K D mC nC oC"},F:{"1":"0 1 2 3 4 MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x","2":"F B xC yC zC 0C CC eC 1C","129":"C G N O P DC"},G:{"1":"E 6C 7C 8C 9C AD BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC","2":"OC 2C fC 3C 4C 5C"},H:{"2":"PD"},I:{"1":"I","2":"IC J QD RD SD TD fC UD VD"},J:{"1":"A","2":"D"},K:{"1":"C H DC","2":"A B CC eC"},L:{"1":"I"},M:{"1":"BC"},N:{"8":"A","129":"B"},O:{"1":"EC"},P:{"1":"0 1 2 3 4 J y z WD XD YD ZD aD PC bD cD dD eD fD FC GC HC gD"},Q:{"1":"hD"},R:{"1":"iD"},S:{"1":"kD","129":"jD"}},B:6,C:"WebGL - 3D Canvas graphics",D:true}; diff --git a/node_modules/caniuse-lite/data/features/webgl2.js b/node_modules/caniuse-lite/data/features/webgl2.js index f8fb8a642f..40470ce953 100644 --- a/node_modules/caniuse-lite/data/features/webgl2.js +++ b/node_modules/caniuse-lite/data/features/webgl2.js @@ -1 +1 @@ -module.exports={A:{A:{"2":"K D E F A B aC"},B:{"1":"0 1 2 3 4 5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I","2":"C L M G N O P"},C:{"1":"0 1 2 3 4 5 6 7 8 9 gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC","2":"bC DC J FB K D E F A B C L M G N O P GB u v w x y dC eC","194":"XB YB ZB","450":"z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB","2242":"aB bB cB dB eB fB"},D:{"1":"0 1 2 3 4 5 6 7 8 9 lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC","2":"J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB","578":"YB ZB aB bB cB dB eB fB gB hB iB jB kB"},E:{"1":"G mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC","2":"J FB K D E F A fC JC gC hC iC jC","1090":"B C L M KC 7B 8B kC lC"},F:{"1":"YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t","2":"F B C G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB qC rC sC tC 7B YC uC 8B"},G:{"1":"ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC","2":"E JC vC ZC wC xC yC zC 0C 1C 2C 3C 4C 5C","1090":"6C 7C 8C 9C AD BD CD DD"},H:{"2":"HD"},I:{"1":"I","2":"DC J ID JD KD LD ZC MD ND"},J:{"2":"D A"},K:{"1":"H","2":"A B C 7B YC 8B"},L:{"1":"I"},M:{"1":"6B"},N:{"2":"A B"},O:{"1":"9B"},P:{"1":"u v w x y z QD RD SD KC TD UD VD WD XD AC BC CC YD","2":"J OD PD"},Q:{"1":"ZD"},R:{"1":"aD"},S:{"1":"cD","2242":"bD"}},B:6,C:"WebGL 2.0",D:true}; +module.exports={A:{A:{"2":"K D E F A B gC"},B:{"1":"5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I","2":"C L M G N O P"},C:{"1":"5 6 7 8 9 lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC","2":"0 1 2 hC IC J LB K D E F A B C L M G N O P MB y z jC kC","194":"cB dB eB","450":"3 4 NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB","2242":"fB gB hB iB jB kB"},D:{"1":"5 6 7 8 9 qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC","2":"0 1 2 3 4 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB","578":"dB eB fB gB hB iB jB kB lB mB nB oB pB"},E:{"1":"G sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC","2":"J LB K D E F A lC OC mC nC oC pC","1090":"B C L M PC CC DC qC rC"},F:{"1":"dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x","2":"0 1 2 3 4 F B C G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB xC yC zC 0C CC eC 1C DC"},G:{"1":"LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC","2":"E OC 2C fC 3C 4C 5C 6C 7C 8C 9C AD BD CD","1090":"DD ED FD GD HD ID JD KD"},H:{"2":"PD"},I:{"1":"I","2":"IC J QD RD SD TD fC UD VD"},J:{"2":"D A"},K:{"1":"H","2":"A B C CC eC DC"},L:{"1":"I"},M:{"1":"BC"},N:{"2":"A B"},O:{"1":"EC"},P:{"1":"0 1 2 3 4 y z YD ZD aD PC bD cD dD eD fD FC GC HC gD","2":"J WD XD"},Q:{"1":"hD"},R:{"1":"iD"},S:{"1":"kD","2242":"jD"}},B:6,C:"WebGL 2.0",D:true}; diff --git a/node_modules/caniuse-lite/data/features/webgpu.js b/node_modules/caniuse-lite/data/features/webgpu.js index 6f19dd5b86..02b16bfe4f 100644 --- a/node_modules/caniuse-lite/data/features/webgpu.js +++ b/node_modules/caniuse-lite/data/features/webgpu.js @@ -1 +1 @@ -module.exports={A:{A:{"2":"K D E F A B aC"},B:{"1":"2 3 4 5 6 7 8 9 AB BB CB DB EB I","2":"C L M G N O P Q","578":"H R S T U V W X Y Z a b c","1602":"0 1 d e f g h i j k l m n o p q r s t"},C:{"2":"bC DC J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB dC eC","194":"0 1 2 3 4 5 6 7 8 9 qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC"},D:{"2":"J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q","578":"H R S T U V W X Y Z a b c","1602":"0 1 d e f g h i j k l m n o p q r s t","2049":"2 3 4 5 6 7 8 9 AB BB CB DB EB I 6B HC IC"},E:{"1":"pC","2":"J FB K D E F A B G fC JC gC hC iC jC KC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC","322":"C L M 7B 8B kC lC"},F:{"2":"F B C G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB qC rC sC tC 7B YC uC 8B","578":"0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h","2049":"i j k l m n o p q r s t"},G:{"2":"E JC vC ZC wC xC yC zC 0C 1C 2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC"},H:{"2":"HD"},I:{"2":"DC J I ID JD KD LD ZC MD ND"},J:{"2":"D A"},K:{"2":"A B C 7B YC 8B","2049":"H"},L:{"1":"I"},M:{"194":"6B"},N:{"2":"A B"},O:{"2":"9B"},P:{"1":"y z","2":"J u v w x OD PD QD RD SD KC TD UD VD WD XD AC BC CC YD"},Q:{"2":"ZD"},R:{"2":"aD"},S:{"2":"bD","194":"cD"}},B:5,C:"WebGPU",D:true}; +module.exports={A:{A:{"2":"K D E F A B gC"},B:{"1":"5 6 7 8 9 w x AB BB CB DB EB FB GB HB IB JB KB I","2":"C L M G N O P Q","578":"H R S T U V W X Y Z a b c","1602":"d e f g h i j k l m n o p q r s t u v"},C:{"2":"0 1 2 3 4 hC IC J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB jC kC","194":"5 6 7 8 9 vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC"},D:{"2":"0 1 2 3 4 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q","578":"H R S T U V W X Y Z a b c","1602":"d e f g h i j k l m n o p q r s t u v","2049":"5 6 7 8 9 w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC"},E:{"1":"wC","2":"J LB K D E F A B G lC OC mC nC oC pC PC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC","322":"C L M CC DC qC rC aC bC vC HC cC dC"},F:{"2":"0 1 2 3 4 F B C G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B xC yC zC 0C CC eC 1C DC","578":"5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h","2049":"i j k l m n o p q r s t u v w x"},G:{"2":"E OC 2C fC 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC","322":"aC bC OD HC cC dC"},H:{"2":"PD"},I:{"2":"IC J I QD RD SD TD fC UD VD"},J:{"2":"D A"},K:{"2":"A B C CC eC DC","2049":"H"},L:{"1":"I"},M:{"194":"BC"},N:{"2":"A B"},O:{"2":"EC"},P:{"1":"2 3 4","2":"0 1 J y z WD XD YD ZD aD PC bD cD dD eD fD FC GC HC gD"},Q:{"2":"hD"},R:{"2":"iD"},S:{"2":"jD","194":"kD"}},B:5,C:"WebGPU",D:true}; diff --git a/node_modules/caniuse-lite/data/features/webhid.js b/node_modules/caniuse-lite/data/features/webhid.js index bb4cb7bc08..9b52b4dacf 100644 --- a/node_modules/caniuse-lite/data/features/webhid.js +++ b/node_modules/caniuse-lite/data/features/webhid.js @@ -1 +1 @@ -module.exports={A:{A:{"2":"K D E F A B aC"},B:{"1":"0 1 2 3 4 5 6 7 8 9 Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I","2":"C L M G N O P","66":"Q H R S T U V W X"},C:{"2":"0 1 2 3 4 5 6 7 8 9 bC DC J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC dC eC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC","2":"J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B","66":"5B Q H R S T U V W X"},E:{"2":"J FB K D E F A B C L M G fC JC gC hC iC jC KC 7B 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC"},F:{"1":"3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t","2":"F B C G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB qC rC sC tC 7B YC uC 8B","66":"tB uB vB wB xB yB zB 0B 1B 2B"},G:{"2":"E JC vC ZC wC xC yC zC 0C 1C 2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC"},H:{"2":"HD"},I:{"2":"DC J I ID JD KD LD ZC MD ND"},J:{"2":"D A"},K:{"2":"A B C H 7B YC 8B"},L:{"2":"I"},M:{"2":"6B"},N:{"2":"A B"},O:{"2":"9B"},P:{"2":"J u v w x y z OD PD QD RD SD KC TD UD VD WD XD AC BC CC YD"},Q:{"2":"ZD"},R:{"2":"aD"},S:{"2":"bD cD"}},B:7,C:"WebHID API",D:true}; +module.exports={A:{A:{"2":"K D E F A B gC"},B:{"1":"5 6 7 8 9 Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I","2":"C L M G N O P","66":"Q H R S T U V W X"},C:{"2":"0 1 2 3 4 5 6 7 8 9 hC IC J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC jC kC"},D:{"1":"5 6 7 8 9 Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC","2":"0 1 2 3 4 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B","66":"AC Q H R S T U V W X"},E:{"2":"J LB K D E F A B C L M G lC OC mC nC oC pC PC CC DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC"},F:{"1":"8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x","2":"0 1 2 3 4 F B C G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB xC yC zC 0C CC eC 1C DC","66":"yB zB 0B 1B 2B 3B 4B 5B 6B 7B"},G:{"2":"E OC 2C fC 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC"},H:{"2":"PD"},I:{"2":"IC J I QD RD SD TD fC UD VD"},J:{"2":"D A"},K:{"2":"A B C H CC eC DC"},L:{"2":"I"},M:{"2":"BC"},N:{"2":"A B"},O:{"2":"EC"},P:{"2":"0 1 2 3 4 J y z WD XD YD ZD aD PC bD cD dD eD fD FC GC HC gD"},Q:{"2":"hD"},R:{"2":"iD"},S:{"2":"jD kD"}},B:7,C:"WebHID API",D:true}; diff --git a/node_modules/caniuse-lite/data/features/webkit-user-drag.js b/node_modules/caniuse-lite/data/features/webkit-user-drag.js index 5aef18ef04..1ee7f31d81 100644 --- a/node_modules/caniuse-lite/data/features/webkit-user-drag.js +++ b/node_modules/caniuse-lite/data/features/webkit-user-drag.js @@ -1 +1 @@ -module.exports={A:{A:{"2":"K D E F A B aC"},B:{"2":"C L M G N O P","132":"0 1 2 3 4 5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I"},C:{"2":"0 1 2 3 4 5 6 7 8 9 bC DC J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC dC eC"},D:{"16":"J FB K D E F A B C L M G","132":"0 1 2 3 4 5 6 7 8 9 N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC"},E:{"1":"J FB K D E F A B C L M G fC JC gC hC iC jC KC 7B 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC"},F:{"2":"F B C qC rC sC tC 7B YC uC 8B","132":"G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t"},G:{"2":"E JC vC ZC wC xC yC zC 0C 1C 2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC"},H:{"2":"HD"},I:{"2":"DC J I ID JD KD LD ZC MD ND"},J:{"2":"D A"},K:{"2":"A B C 7B YC 8B","132":"H"},L:{"2":"I"},M:{"2":"6B"},N:{"2":"A B"},O:{"2":"9B"},P:{"2":"J u v w x y z OD PD QD RD SD KC TD UD VD WD XD AC BC CC YD"},Q:{"2":"ZD"},R:{"2":"aD"},S:{"2":"bD cD"}},B:7,C:"CSS -webkit-user-drag property",D:true}; +module.exports={A:{A:{"2":"K D E F A B gC"},B:{"2":"C L M G N O P","132":"5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I"},C:{"2":"0 1 2 3 4 5 6 7 8 9 hC IC J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC jC kC"},D:{"16":"J LB K D E F A B C L M G","132":"0 1 2 3 4 5 6 7 8 9 N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC"},E:{"1":"J LB K D E F A B C L M G lC OC mC nC oC pC PC CC DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC"},F:{"2":"F B C xC yC zC 0C CC eC 1C DC","132":"0 1 2 3 4 G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x"},G:{"2":"E OC 2C fC 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC"},H:{"2":"PD"},I:{"2":"IC J I QD RD SD TD fC UD VD"},J:{"2":"D A"},K:{"2":"A B C CC eC DC","132":"H"},L:{"2":"I"},M:{"2":"BC"},N:{"2":"A B"},O:{"2":"EC"},P:{"2":"0 1 2 3 4 J y z WD XD YD ZD aD PC bD cD dD eD fD FC GC HC gD"},Q:{"2":"hD"},R:{"2":"iD"},S:{"2":"jD kD"}},B:7,C:"CSS -webkit-user-drag property",D:true}; diff --git a/node_modules/caniuse-lite/data/features/webm.js b/node_modules/caniuse-lite/data/features/webm.js index 60560f9be1..eacf84bf49 100644 --- a/node_modules/caniuse-lite/data/features/webm.js +++ b/node_modules/caniuse-lite/data/features/webm.js @@ -1 +1 @@ -module.exports={A:{A:{"2":"K D E aC","520":"F A B"},B:{"1":"0 1 2 3 4 5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I","8":"C L","388":"M G N O P"},C:{"1":"0 1 2 3 4 5 6 7 8 9 JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC","2":"bC DC dC eC","132":"J FB K D E F A B C L M G N O P GB u v w x y z HB IB"},D:{"1":"0 1 2 3 4 5 6 7 8 9 z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC","2":"J FB","132":"K D E F A B C L M G N O P GB u v w x y"},E:{"1":"AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC","2":"fC","8":"J FB JC gC","520":"K D E F A B C hC iC jC KC 7B","1028":"L 8B kC","7172":"M","8196":"G lC mC LC MC 9B nC"},F:{"1":"N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t","2":"F qC rC sC","132":"B C G tC 7B YC uC 8B"},G:{"1":"VC WC XC CC","2":"E JC vC ZC wC xC yC zC 0C 1C 2C 3C 4C 5C 6C","1028":"7C 8C 9C AD BD","3076":"CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC"},H:{"2":"HD"},I:{"1":"I","2":"ID JD","132":"DC J KD LD ZC MD ND"},J:{"2":"D A"},K:{"1":"H","2":"A B C 7B YC 8B"},L:{"1":"I"},M:{"1":"6B"},N:{"8":"A B"},O:{"1":"9B"},P:{"1":"u v w x y z OD PD QD RD SD KC TD UD VD WD XD AC BC CC YD","132":"J"},Q:{"1":"ZD"},R:{"1":"aD"},S:{"1":"bD cD"}},B:6,C:"WebM video format",D:true}; +module.exports={A:{A:{"2":"K D E gC","520":"F A B"},B:{"1":"5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I","8":"C L","388":"M G N O P"},C:{"1":"5 6 7 8 9 OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC","2":"hC IC jC kC","132":"0 1 2 3 4 J LB K D E F A B C L M G N O P MB y z NB"},D:{"1":"3 4 5 6 7 8 9 NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC","2":"J LB","132":"0 1 2 K D E F A B C L M G N O P MB y z"},E:{"1":"FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC","2":"lC","8":"J LB OC mC","520":"K D E F A B C nC oC pC PC CC","1028":"L DC qC","7172":"M","8196":"G rC sC QC RC EC tC"},F:{"1":"0 1 2 3 4 N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x","2":"F xC yC zC","132":"B C G 0C CC eC 1C DC"},G:{"1":"aC bC OD HC cC dC","2":"E OC 2C fC 3C 4C 5C 6C 7C 8C 9C AD BD CD DD","1028":"ED FD GD HD ID","3076":"JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC"},H:{"2":"PD"},I:{"1":"I","2":"QD RD","132":"IC J SD TD fC UD VD"},J:{"2":"D A"},K:{"1":"H","2":"A B C CC eC DC"},L:{"1":"I"},M:{"1":"BC"},N:{"8":"A B"},O:{"1":"EC"},P:{"1":"0 1 2 3 4 y z WD XD YD ZD aD PC bD cD dD eD fD FC GC HC gD","132":"J"},Q:{"1":"hD"},R:{"1":"iD"},S:{"1":"jD kD"}},B:6,C:"WebM video format",D:true}; diff --git a/node_modules/caniuse-lite/data/features/webnfc.js b/node_modules/caniuse-lite/data/features/webnfc.js index 6317d127e4..749e3940fb 100644 --- a/node_modules/caniuse-lite/data/features/webnfc.js +++ b/node_modules/caniuse-lite/data/features/webnfc.js @@ -1 +1 @@ -module.exports={A:{A:{"2":"K D E F A B aC"},B:{"2":"0 1 2 3 4 5 6 7 8 9 C L M G N O P Q Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I","450":"H R S T U V W X"},C:{"2":"0 1 2 3 4 5 6 7 8 9 bC DC J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC dC eC"},D:{"2":"0 1 2 3 4 5 6 7 8 9 J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC","450":"H R S T U V W X"},E:{"2":"J FB K D E F A B C L M G fC JC gC hC iC jC KC 7B 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC"},F:{"2":"F B C G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t qC rC sC tC 7B YC uC 8B","450":"uB vB wB xB yB zB 0B 1B 2B"},G:{"2":"E JC vC ZC wC xC yC zC 0C 1C 2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC"},H:{"2":"HD"},I:{"2":"DC J I ID JD KD LD ZC MD ND"},J:{"2":"D A"},K:{"2":"A B C H 7B YC 8B"},L:{"257":"I"},M:{"2":"6B"},N:{"2":"A B"},O:{"2":"9B"},P:{"2":"J u v w x y z OD PD QD RD SD KC TD UD VD WD XD AC BC CC YD"},Q:{"2":"ZD"},R:{"1":"aD"},S:{"2":"bD cD"}},B:7,C:"Web NFC",D:true}; +module.exports={A:{A:{"2":"K D E F A B gC"},B:{"2":"5 6 7 8 9 C L M G N O P Q Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I","450":"H R S T U V W X"},C:{"2":"0 1 2 3 4 5 6 7 8 9 hC IC J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC jC kC"},D:{"2":"0 1 2 3 4 5 6 7 8 9 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC","450":"H R S T U V W X"},E:{"2":"J LB K D E F A B C L M G lC OC mC nC oC pC PC CC DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC"},F:{"2":"0 1 2 3 4 F B C G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x xC yC zC 0C CC eC 1C DC","450":"zB 0B 1B 2B 3B 4B 5B 6B 7B"},G:{"2":"E OC 2C fC 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC"},H:{"2":"PD"},I:{"2":"IC J I QD RD SD TD fC UD VD"},J:{"2":"D A"},K:{"2":"A B C H CC eC DC"},L:{"257":"I"},M:{"2":"BC"},N:{"2":"A B"},O:{"2":"EC"},P:{"2":"0 1 2 3 4 J y z WD XD YD ZD aD PC bD cD dD eD fD FC GC HC gD"},Q:{"2":"hD"},R:{"1":"iD"},S:{"2":"jD kD"}},B:7,C:"Web NFC",D:true}; diff --git a/node_modules/caniuse-lite/data/features/webp.js b/node_modules/caniuse-lite/data/features/webp.js index 87f09af1cc..b9f4f29482 100644 --- a/node_modules/caniuse-lite/data/features/webp.js +++ b/node_modules/caniuse-lite/data/features/webp.js @@ -1 +1 @@ -module.exports={A:{A:{"2":"K D E F A B aC"},B:{"1":"0 1 2 3 4 5 6 7 8 9 P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I","2":"C L M G N O"},C:{"1":"0 1 2 3 4 5 6 7 8 9 sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC","2":"bC DC dC eC","8":"J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB"},D:{"1":"0 1 2 3 4 5 6 7 8 9 NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC","2":"J FB","8":"K D E","132":"F A B C L M G N O P GB u v w","260":"x y z HB IB JB KB LB MB"},E:{"1":"AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC","2":"J FB K D E F A B C L fC JC gC hC iC jC KC 7B 8B kC","516":"M G lC mC LC MC 9B nC"},F:{"1":"GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t","2":"F qC rC sC","8":"B tC","132":"7B YC uC","260":"C G N O P 8B"},G:{"1":"CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC","2":"E JC vC ZC wC xC yC zC 0C 1C 2C 3C 4C 5C 6C 7C 8C 9C AD BD"},H:{"1":"HD"},I:{"1":"I ZC MD ND","2":"DC ID JD KD","132":"J LD"},J:{"2":"D A"},K:{"1":"C H 7B YC 8B","2":"A","132":"B"},L:{"1":"I"},M:{"1":"6B"},N:{"2":"A B"},O:{"1":"9B"},P:{"1":"J u v w x y z OD PD QD RD SD KC TD UD VD WD XD AC BC CC YD"},Q:{"1":"ZD"},R:{"1":"aD"},S:{"1":"cD","8":"bD"}},B:6,C:"WebP image format",D:true}; +module.exports={A:{A:{"2":"K D E F A B gC"},B:{"1":"5 6 7 8 9 P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I","2":"C L M G N O"},C:{"1":"5 6 7 8 9 xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC","2":"hC IC jC kC","8":"0 1 2 3 4 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB"},D:{"1":"5 6 7 8 9 SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC","2":"J LB","8":"K D E","132":"0 F A B C L M G N O P MB y z","260":"1 2 3 4 NB OB PB QB RB"},E:{"1":"FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC","2":"J LB K D E F A B C L lC OC mC nC oC pC PC CC DC qC","516":"M G rC sC QC RC EC tC"},F:{"1":"0 1 2 3 4 MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x","2":"F xC yC zC","8":"B 0C","132":"CC eC 1C","260":"C G N O P DC"},G:{"1":"JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC","2":"E OC 2C fC 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED FD GD HD ID"},H:{"1":"PD"},I:{"1":"I fC UD VD","2":"IC QD RD SD","132":"J TD"},J:{"2":"D A"},K:{"1":"C H CC eC DC","2":"A","132":"B"},L:{"1":"I"},M:{"1":"BC"},N:{"2":"A B"},O:{"1":"EC"},P:{"1":"0 1 2 3 4 J y z WD XD YD ZD aD PC bD cD dD eD fD FC GC HC gD"},Q:{"1":"hD"},R:{"1":"iD"},S:{"1":"kD","8":"jD"}},B:6,C:"WebP image format",D:true}; diff --git a/node_modules/caniuse-lite/data/features/websockets.js b/node_modules/caniuse-lite/data/features/websockets.js index 0ea2bc938d..02de6d0d33 100644 --- a/node_modules/caniuse-lite/data/features/websockets.js +++ b/node_modules/caniuse-lite/data/features/websockets.js @@ -1 +1 @@ -module.exports={A:{A:{"1":"A B","2":"K D E F aC"},B:{"1":"0 1 2 3 4 5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC","2":"bC DC dC eC","132":"J FB","292":"K D E F A"},D:{"1":"0 1 2 3 4 5 6 7 8 9 N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC","132":"J FB K D E F A B C L M","260":"G"},E:{"1":"D E F A B C L M G iC jC KC 7B 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC","2":"J fC JC","132":"FB gC","260":"K hC"},F:{"1":"G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t 8B","2":"F qC rC sC tC","132":"B C 7B YC uC"},G:{"1":"E xC yC zC 0C 1C 2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC","2":"JC vC","132":"ZC wC"},H:{"2":"HD"},I:{"1":"I MD ND","2":"DC J ID JD KD LD ZC"},J:{"1":"A","129":"D"},K:{"1":"H 8B","2":"A","132":"B C 7B YC"},L:{"1":"I"},M:{"1":"6B"},N:{"1":"A B"},O:{"1":"9B"},P:{"1":"J u v w x y z OD PD QD RD SD KC TD UD VD WD XD AC BC CC YD"},Q:{"1":"ZD"},R:{"1":"aD"},S:{"1":"bD cD"}},B:1,C:"Web Sockets",D:true}; +module.exports={A:{A:{"1":"A B","2":"K D E F gC"},B:{"1":"5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC","2":"hC IC jC kC","132":"J LB","292":"K D E F A"},D:{"1":"0 1 2 3 4 5 6 7 8 9 N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC","132":"J LB K D E F A B C L M","260":"G"},E:{"1":"D E F A B C L M G oC pC PC CC DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC","2":"J lC OC","132":"LB mC","260":"K nC"},F:{"1":"0 1 2 3 4 G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x DC","2":"F xC yC zC 0C","132":"B C CC eC 1C"},G:{"1":"E 4C 5C 6C 7C 8C 9C AD BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC","2":"OC 2C","132":"fC 3C"},H:{"2":"PD"},I:{"1":"I UD VD","2":"IC J QD RD SD TD fC"},J:{"1":"A","129":"D"},K:{"1":"H DC","2":"A","132":"B C CC eC"},L:{"1":"I"},M:{"1":"BC"},N:{"1":"A B"},O:{"1":"EC"},P:{"1":"0 1 2 3 4 J y z WD XD YD ZD aD PC bD cD dD eD fD FC GC HC gD"},Q:{"1":"hD"},R:{"1":"iD"},S:{"1":"jD kD"}},B:1,C:"Web Sockets",D:true}; diff --git a/node_modules/caniuse-lite/data/features/webtransport.js b/node_modules/caniuse-lite/data/features/webtransport.js index d98bbb1c6b..d83ff1f1cb 100644 --- a/node_modules/caniuse-lite/data/features/webtransport.js +++ b/node_modules/caniuse-lite/data/features/webtransport.js @@ -1 +1 @@ -module.exports={A:{A:{"2":"K D E F A B aC"},B:{"1":"0 1 2 3 4 5 6 7 8 9 h i j k l m n o p q r s t AB BB CB DB EB I","2":"C L M G N O P Q H R S T U V W X Y Z a b c d e f g"},C:{"1":"3 4 5 6 7 8 9 AB BB CB DB EB I 6B HC IC cC","2":"0 1 2 bC DC J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t dC eC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC","2":"J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z e f","66":"a b c d"},E:{"2":"J FB K D E F A B C L M G fC JC gC hC iC jC KC 7B 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC"},F:{"1":"S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t","2":"F B C G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC qC rC sC tC 7B YC uC 8B"},G:{"2":"E JC vC ZC wC xC yC zC 0C 1C 2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC"},H:{"2":"HD"},I:{"1":"I","2":"DC J ID JD KD LD ZC MD ND"},J:{"2":"D A"},K:{"1":"H","2":"A B C 7B YC 8B"},L:{"1":"I"},M:{"2":"6B"},N:{"2":"A B"},O:{"1":"9B"},P:{"1":"u v w x y z CC YD","2":"J OD PD QD RD SD KC TD UD VD WD XD AC BC"},Q:{"2":"ZD"},R:{"1":"aD"},S:{"2":"bD cD"}},B:5,C:"WebTransport",D:true}; +module.exports={A:{A:{"2":"K D E F A B gC"},B:{"1":"5 6 7 8 9 h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I","2":"C L M G N O P Q H R S T U V W X Y Z a b c d e f g"},C:{"1":"5 6 7 8 9 x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC","2":"0 1 2 3 4 hC IC J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w jC kC"},D:{"1":"5 6 7 8 9 g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC","2":"0 1 2 3 4 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z e f","66":"a b c d"},E:{"2":"J LB K D E F A B C L M G lC OC mC nC oC pC PC CC DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC"},F:{"1":"S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x","2":"0 1 2 3 4 F B C G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC xC yC zC 0C CC eC 1C DC"},G:{"2":"E OC 2C fC 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC"},H:{"2":"PD"},I:{"1":"I","2":"IC J QD RD SD TD fC UD VD"},J:{"2":"D A"},K:{"1":"H","2":"A B C CC eC DC"},L:{"1":"I"},M:{"1":"BC"},N:{"2":"A B"},O:{"1":"EC"},P:{"1":"0 1 2 3 4 y z HC gD","2":"J WD XD YD ZD aD PC bD cD dD eD fD FC GC"},Q:{"2":"hD"},R:{"1":"iD"},S:{"2":"jD kD"}},B:5,C:"WebTransport",D:true}; diff --git a/node_modules/caniuse-lite/data/features/webusb.js b/node_modules/caniuse-lite/data/features/webusb.js index da799095ff..893638a9d0 100644 --- a/node_modules/caniuse-lite/data/features/webusb.js +++ b/node_modules/caniuse-lite/data/features/webusb.js @@ -1 +1 @@ -module.exports={A:{A:{"2":"K D E F A B aC"},B:{"1":"0 1 2 3 4 5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I","2":"C L M G N O P"},C:{"2":"0 1 2 3 4 5 6 7 8 9 bC DC J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC dC eC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC","2":"J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB","66":"jB kB lB mB nB EC oB"},E:{"2":"J FB K D E F A B C L M G fC JC gC hC iC jC KC 7B 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC"},F:{"1":"dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t","2":"F B C G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB qC rC sC tC 7B YC uC 8B","66":"WB XB YB ZB aB bB cB"},G:{"2":"E JC vC ZC wC xC yC zC 0C 1C 2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC"},H:{"2":"HD"},I:{"2":"DC J I ID JD KD LD ZC MD ND"},J:{"2":"D A"},K:{"1":"H","2":"A B C 7B YC 8B"},L:{"1":"I"},M:{"2":"6B"},N:{"2":"A B"},O:{"1":"9B"},P:{"1":"u v w x y z RD SD KC TD UD VD WD XD AC BC CC YD","2":"J OD PD QD"},Q:{"2":"ZD"},R:{"1":"aD"},S:{"2":"bD cD"}},B:7,C:"WebUSB",D:true}; +module.exports={A:{A:{"2":"K D E F A B gC"},B:{"1":"5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I","2":"C L M G N O P"},C:{"2":"0 1 2 3 4 5 6 7 8 9 hC IC J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC jC kC"},D:{"1":"5 6 7 8 9 KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC","2":"0 1 2 3 4 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB","66":"oB pB qB rB sB JC tB"},E:{"2":"J LB K D E F A B C L M G lC OC mC nC oC pC PC CC DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC"},F:{"1":"iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x","2":"0 1 2 3 4 F B C G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB xC yC zC 0C CC eC 1C DC","66":"bB cB dB eB fB gB hB"},G:{"2":"E OC 2C fC 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC"},H:{"2":"PD"},I:{"2":"IC J I QD RD SD TD fC UD VD"},J:{"2":"D A"},K:{"1":"H","2":"A B C CC eC DC"},L:{"1":"I"},M:{"2":"BC"},N:{"2":"A B"},O:{"1":"EC"},P:{"1":"0 1 2 3 4 y z ZD aD PC bD cD dD eD fD FC GC HC gD","2":"J WD XD YD"},Q:{"2":"hD"},R:{"1":"iD"},S:{"2":"jD kD"}},B:7,C:"WebUSB",D:true}; diff --git a/node_modules/caniuse-lite/data/features/webvr.js b/node_modules/caniuse-lite/data/features/webvr.js index 3e72ae19fb..4717e3afb1 100644 --- a/node_modules/caniuse-lite/data/features/webvr.js +++ b/node_modules/caniuse-lite/data/features/webvr.js @@ -1 +1 @@ -module.exports={A:{A:{"2":"K D E F A B aC"},B:{"2":"0 1 2 3 4 5 6 7 8 9 C L M H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I","66":"Q","257":"G N O P"},C:{"2":"bC DC J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB dC eC","129":"0 1 2 3 4 5 6 7 8 9 kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC","194":"jB"},D:{"2":"0 1 2 3 4 5 6 7 8 9 J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC","66":"mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q"},E:{"2":"J FB K D E F A B C L M G fC JC gC hC iC jC KC 7B 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC"},F:{"2":"F B C G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t qC rC sC tC 7B YC uC 8B","66":"ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB"},G:{"2":"E JC vC ZC wC xC yC zC 0C 1C 2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC"},H:{"2":"HD"},I:{"2":"DC J I ID JD KD LD ZC MD ND"},J:{"2":"D A"},K:{"2":"A B C H 7B YC 8B"},L:{"2":"I"},M:{"2":"6B"},N:{"2":"A B"},O:{"2":"9B"},P:{"513":"J","516":"u v w x y z OD PD QD RD SD KC TD UD VD WD XD AC BC CC YD"},Q:{"2":"ZD"},R:{"2":"aD"},S:{"2":"bD cD"}},B:7,C:"WebVR API",D:true}; +module.exports={A:{A:{"2":"K D E F A B gC"},B:{"2":"5 6 7 8 9 C L M H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I","66":"Q","257":"G N O P"},C:{"2":"0 1 2 3 4 hC IC J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB jC kC","129":"5 6 7 8 9 pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC","194":"oB"},D:{"2":"0 1 2 3 4 5 6 7 8 9 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC","66":"rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q"},E:{"2":"J LB K D E F A B C L M G lC OC mC nC oC pC PC CC DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC"},F:{"2":"0 1 2 3 4 F B C G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x xC yC zC 0C CC eC 1C DC","66":"eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB"},G:{"2":"E OC 2C fC 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC"},H:{"2":"PD"},I:{"2":"IC J I QD RD SD TD fC UD VD"},J:{"2":"D A"},K:{"2":"A B C H CC eC DC"},L:{"2":"I"},M:{"2":"BC"},N:{"2":"A B"},O:{"2":"EC"},P:{"513":"J","516":"0 1 2 3 4 y z WD XD YD ZD aD PC bD cD dD eD fD FC GC HC gD"},Q:{"2":"hD"},R:{"2":"iD"},S:{"2":"jD kD"}},B:7,C:"WebVR API",D:true}; diff --git a/node_modules/caniuse-lite/data/features/webvtt.js b/node_modules/caniuse-lite/data/features/webvtt.js index d8f33c4f52..394400dde8 100644 --- a/node_modules/caniuse-lite/data/features/webvtt.js +++ b/node_modules/caniuse-lite/data/features/webvtt.js @@ -1 +1 @@ -module.exports={A:{A:{"1":"A B","2":"K D E F aC"},B:{"1":"0 1 2 3 4 5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I"},C:{"2":"bC DC J FB K D E F A B C L M G N O P GB u v w x dC eC","66":"y z HB IB JB KB LB","129":"MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB","257":"0 1 2 3 4 5 6 7 8 9 kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC","2":"J FB K D E F A B C L M G N O P GB u v w"},E:{"1":"K D E F A B C L M G hC iC jC KC 7B 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC","2":"J FB fC JC gC"},F:{"1":"G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t","2":"F B C qC rC sC tC 7B YC uC 8B"},G:{"1":"E yC zC 0C 1C 2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC","2":"JC vC ZC wC xC"},H:{"2":"HD"},I:{"1":"I MD ND","2":"DC J ID JD KD LD ZC"},J:{"1":"A","2":"D"},K:{"1":"H","2":"A B C 7B YC 8B"},L:{"1":"I"},M:{"1":"6B"},N:{"1":"B","2":"A"},O:{"1":"9B"},P:{"1":"J u v w x y z OD PD QD RD SD KC TD UD VD WD XD AC BC CC YD"},Q:{"1":"ZD"},R:{"1":"aD"},S:{"129":"bD cD"}},B:4,C:"WebVTT - Web Video Text Tracks",D:true}; +module.exports={A:{A:{"1":"A B","2":"K D E F gC"},B:{"1":"5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I"},C:{"2":"0 1 hC IC J LB K D E F A B C L M G N O P MB y z jC kC","66":"2 3 4 NB OB PB QB","129":"RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB","257":"5 6 7 8 9 pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC"},D:{"1":"1 2 3 4 5 6 7 8 9 NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC","2":"0 J LB K D E F A B C L M G N O P MB y z"},E:{"1":"K D E F A B C L M G nC oC pC PC CC DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC","2":"J LB lC OC mC"},F:{"1":"0 1 2 3 4 G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x","2":"F B C xC yC zC 0C CC eC 1C DC"},G:{"1":"E 5C 6C 7C 8C 9C AD BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC","2":"OC 2C fC 3C 4C"},H:{"2":"PD"},I:{"1":"I UD VD","2":"IC J QD RD SD TD fC"},J:{"1":"A","2":"D"},K:{"1":"H","2":"A B C CC eC DC"},L:{"1":"I"},M:{"1":"BC"},N:{"1":"B","2":"A"},O:{"1":"EC"},P:{"1":"0 1 2 3 4 J y z WD XD YD ZD aD PC bD cD dD eD fD FC GC HC gD"},Q:{"1":"hD"},R:{"1":"iD"},S:{"129":"jD kD"}},B:4,C:"WebVTT - Web Video Text Tracks",D:true}; diff --git a/node_modules/caniuse-lite/data/features/webworkers.js b/node_modules/caniuse-lite/data/features/webworkers.js index 7273f12a6a..d97f135768 100644 --- a/node_modules/caniuse-lite/data/features/webworkers.js +++ b/node_modules/caniuse-lite/data/features/webworkers.js @@ -1 +1 @@ -module.exports={A:{A:{"1":"A B","2":"aC","8":"K D E F"},B:{"1":"0 1 2 3 4 5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC dC eC","8":"bC DC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC"},E:{"1":"J FB K D E F A B C L M G gC hC iC jC KC 7B 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC","8":"fC JC"},F:{"1":"B C G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t tC 7B YC uC 8B","2":"F qC","8":"rC sC"},G:{"1":"E wC xC yC zC 0C 1C 2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC","2":"JC vC ZC"},H:{"2":"HD"},I:{"1":"I ID MD ND","2":"DC J JD KD LD ZC"},J:{"1":"D A"},K:{"1":"B C H 7B YC 8B","8":"A"},L:{"1":"I"},M:{"1":"6B"},N:{"1":"A B"},O:{"1":"9B"},P:{"1":"J u v w x y z OD PD QD RD SD KC TD UD VD WD XD AC BC CC YD"},Q:{"1":"ZD"},R:{"1":"aD"},S:{"1":"bD cD"}},B:1,C:"Web Workers",D:true}; +module.exports={A:{A:{"1":"A B","2":"gC","8":"K D E F"},B:{"1":"5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC jC kC","8":"hC IC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC"},E:{"1":"J LB K D E F A B C L M G mC nC oC pC PC CC DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC","8":"lC OC"},F:{"1":"0 1 2 3 4 B C G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x 0C CC eC 1C DC","2":"F xC","8":"yC zC"},G:{"1":"E 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC","2":"OC 2C fC"},H:{"2":"PD"},I:{"1":"I QD UD VD","2":"IC J RD SD TD fC"},J:{"1":"D A"},K:{"1":"B C H CC eC DC","8":"A"},L:{"1":"I"},M:{"1":"BC"},N:{"1":"A B"},O:{"1":"EC"},P:{"1":"0 1 2 3 4 J y z WD XD YD ZD aD PC bD cD dD eD fD FC GC HC gD"},Q:{"1":"hD"},R:{"1":"iD"},S:{"1":"jD kD"}},B:1,C:"Web Workers",D:true}; diff --git a/node_modules/caniuse-lite/data/features/webxr.js b/node_modules/caniuse-lite/data/features/webxr.js index 90f6bf7559..c6b9346c48 100644 --- a/node_modules/caniuse-lite/data/features/webxr.js +++ b/node_modules/caniuse-lite/data/features/webxr.js @@ -1 +1 @@ -module.exports={A:{A:{"2":"K D E F A B aC"},B:{"2":"C L M G N O P","132":"0 1 2 3 4 5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I"},C:{"2":"bC DC J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B dC eC","322":"0 1 2 3 4 5 6 7 8 9 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC"},D:{"2":"J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB","66":"sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B","132":"0 1 2 3 4 5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC"},E:{"2":"J FB K D E F A B C fC JC gC hC iC jC KC 7B 8B","578":"L M G kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC"},F:{"2":"F B C G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB qC rC sC tC 7B YC uC 8B","66":"hB iB jB kB lB mB nB oB pB qB rB sB","132":"tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t"},G:{"2":"E JC vC ZC wC xC yC zC 0C 1C 2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC"},H:{"2":"HD"},I:{"2":"DC J I ID JD KD LD ZC MD ND"},J:{"2":"D A"},K:{"2":"A B C 7B YC 8B","132":"H"},L:{"132":"I"},M:{"322":"6B"},N:{"2":"A B"},O:{"2":"9B"},P:{"2":"J OD PD QD RD SD KC TD","132":"u v w x y z UD VD WD XD AC BC CC YD"},Q:{"2":"ZD"},R:{"2":"aD"},S:{"2":"bD","322":"cD"}},B:4,C:"WebXR Device API",D:true}; +module.exports={A:{A:{"2":"K D E F A B gC"},B:{"2":"C L M G N O P","132":"5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I"},C:{"2":"0 1 2 3 4 hC IC J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B jC kC","322":"5 6 7 8 9 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC"},D:{"2":"0 1 2 3 4 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB","66":"xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC","132":"5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC"},E:{"2":"J LB K D E F A B C lC OC mC nC oC pC PC CC DC","578":"L M G qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC"},F:{"2":"0 1 2 3 4 F B C G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB xC yC zC 0C CC eC 1C DC","66":"mB nB oB pB qB rB sB tB uB vB wB xB","132":"yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x"},G:{"2":"E OC 2C fC 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC"},H:{"2":"PD"},I:{"2":"IC J I QD RD SD TD fC UD VD"},J:{"2":"D A"},K:{"2":"A B C CC eC DC","132":"H"},L:{"132":"I"},M:{"322":"BC"},N:{"2":"A B"},O:{"2":"EC"},P:{"2":"J WD XD YD ZD aD PC bD","132":"0 1 2 3 4 y z cD dD eD fD FC GC HC gD"},Q:{"2":"hD"},R:{"2":"iD"},S:{"2":"jD","322":"kD"}},B:4,C:"WebXR Device API",D:true}; diff --git a/node_modules/caniuse-lite/data/features/will-change.js b/node_modules/caniuse-lite/data/features/will-change.js index cef8d2ca36..d1d709ea6c 100644 --- a/node_modules/caniuse-lite/data/features/will-change.js +++ b/node_modules/caniuse-lite/data/features/will-change.js @@ -1 +1 @@ -module.exports={A:{A:{"2":"K D E F A B aC"},B:{"1":"0 1 2 3 4 5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I","2":"C L M G N O P"},C:{"1":"0 1 2 3 4 5 6 7 8 9 RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC","2":"bC DC J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB dC eC","194":"KB LB MB NB OB PB QB"},D:{"1":"0 1 2 3 4 5 6 7 8 9 RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC","2":"J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB"},E:{"1":"A B C L M G jC KC 7B 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC","2":"J FB K D E F fC JC gC hC iC"},F:{"1":"y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t","2":"F B C G N O P GB u v w x qC rC sC tC 7B YC uC 8B"},G:{"1":"1C 2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC","2":"E JC vC ZC wC xC yC zC 0C"},H:{"2":"HD"},I:{"1":"I","2":"DC J ID JD KD LD ZC MD ND"},J:{"2":"D A"},K:{"1":"H","2":"A B C 7B YC 8B"},L:{"1":"I"},M:{"1":"6B"},N:{"2":"A B"},O:{"1":"9B"},P:{"1":"J u v w x y z OD PD QD RD SD KC TD UD VD WD XD AC BC CC YD"},Q:{"1":"ZD"},R:{"1":"aD"},S:{"1":"bD cD"}},B:4,C:"CSS will-change property",D:true}; +module.exports={A:{A:{"2":"K D E F A B gC"},B:{"1":"5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I","2":"C L M G N O P"},C:{"1":"5 6 7 8 9 WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC","2":"0 1 2 3 4 hC IC J LB K D E F A B C L M G N O P MB y z NB OB jC kC","194":"PB QB RB SB TB UB VB"},D:{"1":"5 6 7 8 9 WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC","2":"0 1 2 3 4 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB"},E:{"1":"A B C L M G pC PC CC DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC","2":"J LB K D E F lC OC mC nC oC"},F:{"1":"2 3 4 NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x","2":"0 1 F B C G N O P MB y z xC yC zC 0C CC eC 1C DC"},G:{"1":"8C 9C AD BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC","2":"E OC 2C fC 3C 4C 5C 6C 7C"},H:{"2":"PD"},I:{"1":"I","2":"IC J QD RD SD TD fC UD VD"},J:{"2":"D A"},K:{"1":"H","2":"A B C CC eC DC"},L:{"1":"I"},M:{"1":"BC"},N:{"2":"A B"},O:{"1":"EC"},P:{"1":"0 1 2 3 4 J y z WD XD YD ZD aD PC bD cD dD eD fD FC GC HC gD"},Q:{"1":"hD"},R:{"1":"iD"},S:{"1":"jD kD"}},B:4,C:"CSS will-change property",D:true}; diff --git a/node_modules/caniuse-lite/data/features/woff.js b/node_modules/caniuse-lite/data/features/woff.js index a1f02dca9d..e168b39322 100644 --- a/node_modules/caniuse-lite/data/features/woff.js +++ b/node_modules/caniuse-lite/data/features/woff.js @@ -1 +1 @@ -module.exports={A:{A:{"1":"F A B","2":"K D E aC"},B:{"1":"0 1 2 3 4 5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC eC","2":"bC DC dC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC","2":"J"},E:{"1":"K D E F A B C L M G gC hC iC jC KC 7B 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC","2":"J FB fC JC"},F:{"1":"C G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t 7B YC uC 8B","2":"F B qC rC sC tC"},G:{"1":"E wC xC yC zC 0C 1C 2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC","2":"JC vC ZC"},H:{"2":"HD"},I:{"1":"I MD ND","2":"DC ID JD KD LD ZC","130":"J"},J:{"1":"D A"},K:{"1":"B C H 7B YC 8B","2":"A"},L:{"1":"I"},M:{"1":"6B"},N:{"1":"A B"},O:{"1":"9B"},P:{"1":"J u v w x y z OD PD QD RD SD KC TD UD VD WD XD AC BC CC YD"},Q:{"1":"ZD"},R:{"1":"aD"},S:{"1":"bD cD"}},B:2,C:"WOFF - Web Open Font Format",D:true}; +module.exports={A:{A:{"1":"F A B","2":"K D E gC"},B:{"1":"5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC kC","2":"hC IC jC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC","2":"J"},E:{"1":"K D E F A B C L M G mC nC oC pC PC CC DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC","2":"J LB lC OC"},F:{"1":"0 1 2 3 4 C G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x CC eC 1C DC","2":"F B xC yC zC 0C"},G:{"1":"E 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC","2":"OC 2C fC"},H:{"2":"PD"},I:{"1":"I UD VD","2":"IC QD RD SD TD fC","130":"J"},J:{"1":"D A"},K:{"1":"B C H CC eC DC","2":"A"},L:{"1":"I"},M:{"1":"BC"},N:{"1":"A B"},O:{"1":"EC"},P:{"1":"0 1 2 3 4 J y z WD XD YD ZD aD PC bD cD dD eD fD FC GC HC gD"},Q:{"1":"hD"},R:{"1":"iD"},S:{"1":"jD kD"}},B:2,C:"WOFF - Web Open Font Format",D:true}; diff --git a/node_modules/caniuse-lite/data/features/woff2.js b/node_modules/caniuse-lite/data/features/woff2.js index ee7dbe4ca1..f9169bcdd9 100644 --- a/node_modules/caniuse-lite/data/features/woff2.js +++ b/node_modules/caniuse-lite/data/features/woff2.js @@ -1 +1 @@ -module.exports={A:{A:{"2":"K D E F A B aC"},B:{"1":"0 1 2 3 4 5 6 7 8 9 M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I","2":"C L"},C:{"1":"0 1 2 3 4 5 6 7 8 9 UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC","2":"bC DC J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB dC eC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC","2":"J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB"},E:{"1":"C L M G 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC","2":"J FB K D E F fC JC gC hC iC jC","132":"A B KC 7B"},F:{"1":"x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t","2":"F B C G N O P GB u v w qC rC sC tC 7B YC uC 8B"},G:{"1":"2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC","2":"E JC vC ZC wC xC yC zC 0C 1C"},H:{"2":"HD"},I:{"1":"I","2":"DC J ID JD KD LD ZC MD ND"},J:{"2":"D A"},K:{"1":"H","2":"A B C 7B YC 8B"},L:{"1":"I"},M:{"1":"6B"},N:{"2":"A B"},O:{"1":"9B"},P:{"1":"J u v w x y z OD PD QD RD SD KC TD UD VD WD XD AC BC CC YD"},Q:{"1":"ZD"},R:{"1":"aD"},S:{"1":"bD cD"}},B:2,C:"WOFF 2.0 - Web Open Font Format",D:true}; +module.exports={A:{A:{"2":"K D E F A B gC"},B:{"1":"5 6 7 8 9 M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I","2":"C L"},C:{"1":"5 6 7 8 9 ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC","2":"0 1 2 3 4 hC IC J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB jC kC"},D:{"1":"5 6 7 8 9 WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC","2":"0 1 2 3 4 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB"},E:{"1":"C L M G DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC","2":"J LB K D E F lC OC mC nC oC pC","132":"A B PC CC"},F:{"1":"1 2 3 4 NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x","2":"0 F B C G N O P MB y z xC yC zC 0C CC eC 1C DC"},G:{"1":"9C AD BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC","2":"E OC 2C fC 3C 4C 5C 6C 7C 8C"},H:{"2":"PD"},I:{"1":"I","2":"IC J QD RD SD TD fC UD VD"},J:{"2":"D A"},K:{"1":"H","2":"A B C CC eC DC"},L:{"1":"I"},M:{"1":"BC"},N:{"2":"A B"},O:{"1":"EC"},P:{"1":"0 1 2 3 4 J y z WD XD YD ZD aD PC bD cD dD eD fD FC GC HC gD"},Q:{"1":"hD"},R:{"1":"iD"},S:{"1":"jD kD"}},B:2,C:"WOFF 2.0 - Web Open Font Format",D:true}; diff --git a/node_modules/caniuse-lite/data/features/word-break.js b/node_modules/caniuse-lite/data/features/word-break.js index a55fcaf4a3..32f243e3c9 100644 --- a/node_modules/caniuse-lite/data/features/word-break.js +++ b/node_modules/caniuse-lite/data/features/word-break.js @@ -1 +1 @@ -module.exports={A:{A:{"1":"K D E F A B aC"},B:{"1":"0 1 2 3 4 5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC","2":"bC DC J FB K D E F A B C L M dC eC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC","4":"J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB"},E:{"1":"F A B C L M G jC KC 7B 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC","4":"J FB K D E fC JC gC hC iC"},F:{"1":"MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t","2":"F B C qC rC sC tC 7B YC uC 8B","4":"G N O P GB u v w x y z HB IB JB KB LB"},G:{"1":"0C 1C 2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC","4":"E JC vC ZC wC xC yC zC"},H:{"2":"HD"},I:{"1":"I","4":"DC J ID JD KD LD ZC MD ND"},J:{"4":"D A"},K:{"1":"H","2":"A B C 7B YC 8B"},L:{"1":"I"},M:{"1":"6B"},N:{"1":"A B"},O:{"1":"9B"},P:{"1":"J u v w x y z OD PD QD RD SD KC TD UD VD WD XD AC BC CC YD"},Q:{"1":"ZD"},R:{"1":"aD"},S:{"1":"bD cD"}},B:4,C:"CSS3 word-break",D:true}; +module.exports={A:{A:{"1":"K D E F A B gC"},B:{"1":"5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC","2":"hC IC J LB K D E F A B C L M jC kC"},D:{"1":"5 6 7 8 9 eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC","4":"0 1 2 3 4 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB"},E:{"1":"F A B C L M G pC PC CC DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC","4":"J LB K D E lC OC mC nC oC"},F:{"1":"RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x","2":"F B C xC yC zC 0C CC eC 1C DC","4":"0 1 2 3 4 G N O P MB y z NB OB PB QB"},G:{"1":"7C 8C 9C AD BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC","4":"E OC 2C fC 3C 4C 5C 6C"},H:{"2":"PD"},I:{"1":"I","4":"IC J QD RD SD TD fC UD VD"},J:{"4":"D A"},K:{"1":"H","2":"A B C CC eC DC"},L:{"1":"I"},M:{"1":"BC"},N:{"1":"A B"},O:{"1":"EC"},P:{"1":"0 1 2 3 4 J y z WD XD YD ZD aD PC bD cD dD eD fD FC GC HC gD"},Q:{"1":"hD"},R:{"1":"iD"},S:{"1":"jD kD"}},B:4,C:"CSS3 word-break",D:true}; diff --git a/node_modules/caniuse-lite/data/features/wordwrap.js b/node_modules/caniuse-lite/data/features/wordwrap.js index 7534991a88..2215248980 100644 --- a/node_modules/caniuse-lite/data/features/wordwrap.js +++ b/node_modules/caniuse-lite/data/features/wordwrap.js @@ -1 +1 @@ -module.exports={A:{A:{"4":"K D E F A B aC"},B:{"1":"0 1 2 3 4 5 6 7 8 9 P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I","4":"C L M G N O"},C:{"1":"0 1 2 3 4 5 6 7 8 9 eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC","2":"bC DC","4":"J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB dC eC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC","4":"J FB K D E F A B C L M G N O P GB u v w"},E:{"1":"D E F A B C L M G hC iC jC KC 7B 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC","4":"J FB K fC JC gC"},F:{"1":"G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t 8B","2":"F qC rC","4":"B C sC tC 7B YC uC"},G:{"1":"E yC zC 0C 1C 2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC","4":"JC vC ZC wC xC"},H:{"4":"HD"},I:{"1":"I MD ND","4":"DC J ID JD KD LD ZC"},J:{"1":"A","4":"D"},K:{"1":"H","4":"A B C 7B YC 8B"},L:{"1":"I"},M:{"1":"6B"},N:{"4":"A B"},O:{"1":"9B"},P:{"1":"J u v w x y z OD PD QD RD SD KC TD UD VD WD XD AC BC CC YD"},Q:{"1":"ZD"},R:{"1":"aD"},S:{"1":"cD","4":"bD"}},B:4,C:"CSS3 Overflow-wrap",D:true}; +module.exports={A:{A:{"4":"K D E F A B gC"},B:{"1":"5 6 7 8 9 P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I","4":"C L M G N O"},C:{"1":"5 6 7 8 9 jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC","2":"hC IC","4":"0 1 2 3 4 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jC kC"},D:{"1":"1 2 3 4 5 6 7 8 9 NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC","4":"0 J LB K D E F A B C L M G N O P MB y z"},E:{"1":"D E F A B C L M G nC oC pC PC CC DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC","4":"J LB K lC OC mC"},F:{"1":"0 1 2 3 4 G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x DC","2":"F xC yC","4":"B C zC 0C CC eC 1C"},G:{"1":"E 5C 6C 7C 8C 9C AD BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC","4":"OC 2C fC 3C 4C"},H:{"4":"PD"},I:{"1":"I UD VD","4":"IC J QD RD SD TD fC"},J:{"1":"A","4":"D"},K:{"1":"H","4":"A B C CC eC DC"},L:{"1":"I"},M:{"1":"BC"},N:{"4":"A B"},O:{"1":"EC"},P:{"1":"0 1 2 3 4 J y z WD XD YD ZD aD PC bD cD dD eD fD FC GC HC gD"},Q:{"1":"hD"},R:{"1":"iD"},S:{"1":"kD","4":"jD"}},B:4,C:"CSS3 Overflow-wrap",D:true}; diff --git a/node_modules/caniuse-lite/data/features/x-doc-messaging.js b/node_modules/caniuse-lite/data/features/x-doc-messaging.js index d3758f3cd9..f39fc07815 100644 --- a/node_modules/caniuse-lite/data/features/x-doc-messaging.js +++ b/node_modules/caniuse-lite/data/features/x-doc-messaging.js @@ -1 +1 @@ -module.exports={A:{A:{"2":"K D aC","132":"E F","260":"A B"},B:{"1":"0 1 2 3 4 5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 DC J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC dC eC","2":"bC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC"},E:{"1":"J FB K D E F A B C L M G gC hC iC jC KC 7B 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC","2":"fC JC"},F:{"1":"B C G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t qC rC sC tC 7B YC uC 8B","2":"F"},G:{"1":"E JC vC ZC wC xC yC zC 0C 1C 2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC"},H:{"1":"HD"},I:{"1":"DC J I ID JD KD LD ZC MD ND"},J:{"1":"D A"},K:{"1":"A B C H 7B YC 8B"},L:{"1":"I"},M:{"1":"6B"},N:{"4":"A B"},O:{"1":"9B"},P:{"1":"J u v w x y z OD PD QD RD SD KC TD UD VD WD XD AC BC CC YD"},Q:{"1":"ZD"},R:{"1":"aD"},S:{"1":"bD cD"}},B:1,C:"Cross-document messaging",D:true}; +module.exports={A:{A:{"2":"K D gC","132":"E F","260":"A B"},B:{"1":"5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 IC J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC jC kC","2":"hC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC"},E:{"1":"J LB K D E F A B C L M G mC nC oC pC PC CC DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC","2":"lC OC"},F:{"1":"0 1 2 3 4 B C G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x xC yC zC 0C CC eC 1C DC","2":"F"},G:{"1":"E OC 2C fC 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC"},H:{"1":"PD"},I:{"1":"IC J I QD RD SD TD fC UD VD"},J:{"1":"D A"},K:{"1":"A B C H CC eC DC"},L:{"1":"I"},M:{"1":"BC"},N:{"4":"A B"},O:{"1":"EC"},P:{"1":"0 1 2 3 4 J y z WD XD YD ZD aD PC bD cD dD eD fD FC GC HC gD"},Q:{"1":"hD"},R:{"1":"iD"},S:{"1":"jD kD"}},B:1,C:"Cross-document messaging",D:true}; diff --git a/node_modules/caniuse-lite/data/features/x-frame-options.js b/node_modules/caniuse-lite/data/features/x-frame-options.js index a1541b604b..2ae6ddbac5 100644 --- a/node_modules/caniuse-lite/data/features/x-frame-options.js +++ b/node_modules/caniuse-lite/data/features/x-frame-options.js @@ -1 +1 @@ -module.exports={A:{A:{"1":"E F A B","2":"K D aC"},B:{"1":"C L M G N O P","4":"0 1 2 3 4 5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I"},C:{"1":"P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB","4":"0 1 2 3 4 5 6 7 8 9 J FB K D E F A B C L M G N O xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC","16":"bC DC dC eC"},D:{"4":"0 1 2 3 4 5 6 7 8 9 HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC","16":"J FB K D E F A B C L M G N O P GB u v w x y z"},E:{"4":"K D E F A B C L M G gC hC iC jC KC 7B 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC","16":"J FB fC JC"},F:{"4":"C G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t uC 8B","16":"F B qC rC sC tC 7B YC"},G:{"4":"E yC zC 0C 1C 2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC","16":"JC vC ZC wC xC"},H:{"2":"HD"},I:{"4":"J I LD ZC MD ND","16":"DC ID JD KD"},J:{"4":"D A"},K:{"4":"H 8B","16":"A B C 7B YC"},L:{"4":"I"},M:{"4":"6B"},N:{"1":"A B"},O:{"4":"9B"},P:{"4":"J u v w x y z OD PD QD RD SD KC TD UD VD WD XD AC BC CC YD"},Q:{"4":"ZD"},R:{"4":"aD"},S:{"1":"bD","4":"cD"}},B:6,C:"X-Frame-Options HTTP header",D:true}; +module.exports={A:{A:{"1":"E F A B","2":"K D gC"},B:{"1":"C L M G N O P","4":"5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I"},C:{"1":"0 1 2 3 4 P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B","4":"5 6 7 8 9 J LB K D E F A B C L M G N O 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC","16":"hC IC jC kC"},D:{"4":"4 5 6 7 8 9 NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC","16":"0 1 2 3 J LB K D E F A B C L M G N O P MB y z"},E:{"4":"K D E F A B C L M G mC nC oC pC PC CC DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC","16":"J LB lC OC"},F:{"4":"0 1 2 3 4 C G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x 1C DC","16":"F B xC yC zC 0C CC eC"},G:{"4":"E 5C 6C 7C 8C 9C AD BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC","16":"OC 2C fC 3C 4C"},H:{"2":"PD"},I:{"4":"J I TD fC UD VD","16":"IC QD RD SD"},J:{"4":"D A"},K:{"4":"H DC","16":"A B C CC eC"},L:{"4":"I"},M:{"4":"BC"},N:{"1":"A B"},O:{"4":"EC"},P:{"4":"0 1 2 3 4 J y z WD XD YD ZD aD PC bD cD dD eD fD FC GC HC gD"},Q:{"4":"hD"},R:{"4":"iD"},S:{"1":"jD","4":"kD"}},B:6,C:"X-Frame-Options HTTP header",D:true}; diff --git a/node_modules/caniuse-lite/data/features/xhr2.js b/node_modules/caniuse-lite/data/features/xhr2.js index 9c47a19e6f..f473ee8226 100644 --- a/node_modules/caniuse-lite/data/features/xhr2.js +++ b/node_modules/caniuse-lite/data/features/xhr2.js @@ -1 +1 @@ -module.exports={A:{A:{"2":"K D E F aC","1156":"A B"},B:{"1":"0 1 2 3 4 5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I","1028":"C L M G N O P"},C:{"1":"0 1 2 3 4 5 6 7 8 9 cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC","2":"bC DC","1028":"C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB","1284":"A B","1412":"K D E F","1924":"J FB dC eC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC","16":"J FB K","1028":"MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB","1156":"KB LB","1412":"D E F A B C L M G N O P GB u v w x y z HB IB JB"},E:{"1":"C L M G 7B 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC","2":"J fC JC","1028":"E F A B iC jC KC","1156":"D hC","1412":"FB K gC"},F:{"1":"SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t","2":"F B qC rC sC tC 7B YC uC","132":"G N O","1028":"C P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB 8B"},G:{"1":"4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC","2":"JC vC ZC","1028":"E zC 0C 1C 2C 3C","1156":"yC","1412":"wC xC"},H:{"2":"HD"},I:{"1":"I","2":"ID JD KD","1028":"ND","1412":"MD","1924":"DC J LD ZC"},J:{"1156":"A","1412":"D"},K:{"1":"H","2":"A B 7B YC","1028":"C 8B"},L:{"1":"I"},M:{"1":"6B"},N:{"1156":"A B"},O:{"1":"9B"},P:{"1":"u v w x y z OD PD QD RD SD KC TD UD VD WD XD AC BC CC YD","1028":"J"},Q:{"1":"ZD"},R:{"1":"aD"},S:{"1":"bD cD"}},B:1,C:"XMLHttpRequest advanced features",D:true}; +module.exports={A:{A:{"2":"K D E F gC","1156":"A B"},B:{"1":"5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I","1028":"C L M G N O P"},C:{"1":"5 6 7 8 9 hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC","2":"hC IC","1028":"0 1 2 3 4 C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB","1284":"A B","1412":"K D E F","1924":"J LB jC kC"},D:{"1":"5 6 7 8 9 kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC","16":"J LB K","1028":"RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB","1156":"PB QB","1412":"0 1 2 3 4 D E F A B C L M G N O P MB y z NB OB"},E:{"1":"C L M G CC DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC","2":"J lC OC","1028":"E F A B oC pC PC","1156":"D nC","1412":"LB K mC"},F:{"1":"XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x","2":"F B xC yC zC 0C CC eC 1C","132":"G N O","1028":"0 1 2 3 4 C P MB y z NB OB PB QB RB SB TB UB VB WB DC"},G:{"1":"BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC","2":"OC 2C fC","1028":"E 6C 7C 8C 9C AD","1156":"5C","1412":"3C 4C"},H:{"2":"PD"},I:{"1":"I","2":"QD RD SD","1028":"VD","1412":"UD","1924":"IC J TD fC"},J:{"1156":"A","1412":"D"},K:{"1":"H","2":"A B CC eC","1028":"C DC"},L:{"1":"I"},M:{"1":"BC"},N:{"1156":"A B"},O:{"1":"EC"},P:{"1":"0 1 2 3 4 y z WD XD YD ZD aD PC bD cD dD eD fD FC GC HC gD","1028":"J"},Q:{"1":"hD"},R:{"1":"iD"},S:{"1":"jD kD"}},B:1,C:"XMLHttpRequest advanced features",D:true}; diff --git a/node_modules/caniuse-lite/data/features/xhtml.js b/node_modules/caniuse-lite/data/features/xhtml.js index a9872bd50c..11b21cafa5 100644 --- a/node_modules/caniuse-lite/data/features/xhtml.js +++ b/node_modules/caniuse-lite/data/features/xhtml.js @@ -1 +1 @@ -module.exports={A:{A:{"1":"F A B","2":"K D E aC"},B:{"1":"0 1 2 3 4 5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 bC DC J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC dC eC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC"},E:{"1":"J FB K D E F A B C L M G fC JC gC hC iC jC KC 7B 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC"},F:{"1":"F B C G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t qC rC sC tC 7B YC uC 8B"},G:{"1":"E JC vC ZC wC xC yC zC 0C 1C 2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC"},H:{"1":"HD"},I:{"1":"DC J I ID JD KD LD ZC MD ND"},J:{"1":"D A"},K:{"1":"A B C H 7B YC 8B"},L:{"1":"I"},M:{"1":"6B"},N:{"1":"A B"},O:{"1":"9B"},P:{"1":"J u v w x y z OD PD QD RD SD KC TD UD VD WD XD AC BC CC YD"},Q:{"1":"ZD"},R:{"1":"aD"},S:{"1":"bD cD"}},B:1,C:"XHTML served as application/xhtml+xml",D:true}; +module.exports={A:{A:{"1":"F A B","2":"K D E gC"},B:{"1":"5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 hC IC J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC jC kC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC"},E:{"1":"J LB K D E F A B C L M G lC OC mC nC oC pC PC CC DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC"},F:{"1":"0 1 2 3 4 F B C G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x xC yC zC 0C CC eC 1C DC"},G:{"1":"E OC 2C fC 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC"},H:{"1":"PD"},I:{"1":"IC J I QD RD SD TD fC UD VD"},J:{"1":"D A"},K:{"1":"A B C H CC eC DC"},L:{"1":"I"},M:{"1":"BC"},N:{"1":"A B"},O:{"1":"EC"},P:{"1":"0 1 2 3 4 J y z WD XD YD ZD aD PC bD cD dD eD fD FC GC HC gD"},Q:{"1":"hD"},R:{"1":"iD"},S:{"1":"jD kD"}},B:1,C:"XHTML served as application/xhtml+xml",D:true}; diff --git a/node_modules/caniuse-lite/data/features/xhtmlsmil.js b/node_modules/caniuse-lite/data/features/xhtmlsmil.js index 070d9d13f1..906c8d450f 100644 --- a/node_modules/caniuse-lite/data/features/xhtmlsmil.js +++ b/node_modules/caniuse-lite/data/features/xhtmlsmil.js @@ -1 +1 @@ -module.exports={A:{A:{"2":"F A B aC","4":"K D E"},B:{"2":"C L M G N O P","8":"0 1 2 3 4 5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I"},C:{"8":"0 1 2 3 4 5 6 7 8 9 bC DC J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC dC eC"},D:{"8":"0 1 2 3 4 5 6 7 8 9 J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC"},E:{"8":"J FB K D E F A B C L M G fC JC gC hC iC jC KC 7B 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC"},F:{"8":"F B C G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t qC rC sC tC 7B YC uC 8B"},G:{"8":"E JC vC ZC wC xC yC zC 0C 1C 2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC"},H:{"8":"HD"},I:{"8":"DC J I ID JD KD LD ZC MD ND"},J:{"8":"D A"},K:{"8":"A B C H 7B YC 8B"},L:{"8":"I"},M:{"8":"6B"},N:{"2":"A B"},O:{"8":"9B"},P:{"8":"J u v w x y z OD PD QD RD SD KC TD UD VD WD XD AC BC CC YD"},Q:{"8":"ZD"},R:{"8":"aD"},S:{"8":"bD cD"}},B:7,C:"XHTML+SMIL animation",D:true}; +module.exports={A:{A:{"2":"F A B gC","4":"K D E"},B:{"2":"C L M G N O P","8":"5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I"},C:{"8":"0 1 2 3 4 5 6 7 8 9 hC IC J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC jC kC"},D:{"8":"0 1 2 3 4 5 6 7 8 9 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC"},E:{"8":"J LB K D E F A B C L M G lC OC mC nC oC pC PC CC DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC"},F:{"8":"0 1 2 3 4 F B C G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x xC yC zC 0C CC eC 1C DC"},G:{"8":"E OC 2C fC 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC"},H:{"8":"PD"},I:{"8":"IC J I QD RD SD TD fC UD VD"},J:{"8":"D A"},K:{"8":"A B C H CC eC DC"},L:{"8":"I"},M:{"8":"BC"},N:{"2":"A B"},O:{"8":"EC"},P:{"8":"0 1 2 3 4 J y z WD XD YD ZD aD PC bD cD dD eD fD FC GC HC gD"},Q:{"8":"hD"},R:{"8":"iD"},S:{"8":"jD kD"}},B:7,C:"XHTML+SMIL animation",D:true}; diff --git a/node_modules/caniuse-lite/data/features/xml-serializer.js b/node_modules/caniuse-lite/data/features/xml-serializer.js index d3b699e67a..9bbe8bb351 100644 --- a/node_modules/caniuse-lite/data/features/xml-serializer.js +++ b/node_modules/caniuse-lite/data/features/xml-serializer.js @@ -1 +1 @@ -module.exports={A:{A:{"1":"A B","260":"K D E F aC"},B:{"1":"0 1 2 3 4 5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC cC","132":"B","260":"bC DC J FB K D dC eC","516":"E F A"},D:{"1":"0 1 2 3 4 5 6 7 8 9 MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB I 6B HC IC","132":"J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB"},E:{"1":"E F A B C L M G iC jC KC 7B 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC","132":"J FB K D fC JC gC hC"},F:{"1":"P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t","16":"F qC","132":"B C G N O rC sC tC 7B YC uC 8B"},G:{"1":"E zC 0C 1C 2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC","132":"JC vC ZC wC xC yC"},H:{"132":"HD"},I:{"1":"I MD ND","132":"DC J ID JD KD LD ZC"},J:{"132":"D A"},K:{"1":"H","16":"A","132":"B C 7B YC 8B"},L:{"1":"I"},M:{"1":"6B"},N:{"1":"A B"},O:{"1":"9B"},P:{"1":"J u v w x y z OD PD QD RD SD KC TD UD VD WD XD AC BC CC YD"},Q:{"1":"ZD"},R:{"1":"aD"},S:{"1":"bD cD"}},B:4,C:"DOM Parsing and Serialization",D:true}; +module.exports={A:{A:{"1":"A B","260":"K D E F gC"},B:{"1":"5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC iC","132":"B","260":"hC IC J LB K D jC kC","516":"E F A"},D:{"1":"5 6 7 8 9 RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB GB HB IB JB KB I BC MC NC","132":"0 1 2 3 4 J LB K D E F A B C L M G N O P MB y z NB OB PB QB"},E:{"1":"E F A B C L M G oC pC PC CC DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC","132":"J LB K D lC OC mC nC"},F:{"1":"0 1 2 3 4 P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x","16":"F xC","132":"B C G N O yC zC 0C CC eC 1C DC"},G:{"1":"E 6C 7C 8C 9C AD BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC","132":"OC 2C fC 3C 4C 5C"},H:{"132":"PD"},I:{"1":"I UD VD","132":"IC J QD RD SD TD fC"},J:{"132":"D A"},K:{"1":"H","16":"A","132":"B C CC eC DC"},L:{"1":"I"},M:{"1":"BC"},N:{"1":"A B"},O:{"1":"EC"},P:{"1":"0 1 2 3 4 J y z WD XD YD ZD aD PC bD cD dD eD fD FC GC HC gD"},Q:{"1":"hD"},R:{"1":"iD"},S:{"1":"jD kD"}},B:4,C:"DOM Parsing and Serialization",D:true}; diff --git a/node_modules/caniuse-lite/data/features/zstd.js b/node_modules/caniuse-lite/data/features/zstd.js index 54b6b1040e..7e9b258415 100644 --- a/node_modules/caniuse-lite/data/features/zstd.js +++ b/node_modules/caniuse-lite/data/features/zstd.js @@ -1 +1 @@ -module.exports={A:{A:{"2":"K D E F A B aC"},B:{"1":"CB DB EB I","2":"0 1 2 3 4 5 6 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t","194":"7 8 9 AB BB"},C:{"1":"I 6B HC IC cC","2":"0 1 2 3 4 5 6 7 8 9 bC DC J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AB BB CB DB EB dC eC"},D:{"1":"CB DB EB I 6B HC IC","2":"0 1 2 3 4 5 6 J FB K D E F A B C L M G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB EC oB FC pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t","194":"7 8 9 AB BB"},E:{"2":"J FB K D E F A B C L M G fC JC gC hC iC jC KC 7B 8B kC lC mC LC MC 9B nC AC NC OC PC QC RC oC BC SC TC UC VC WC XC CC pC"},F:{"1":"s t","2":"F B C G N O P GB u v w x y z HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B Q H R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r qC rC sC tC 7B YC uC 8B"},G:{"2":"E JC vC ZC wC xC yC zC 0C 1C 2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED LC MC 9B FD AC NC OC PC QC RC GD BC SC TC UC VC WC XC CC"},H:{"2":"HD"},I:{"1":"I","2":"DC J ID JD KD LD ZC MD ND"},J:{"2":"D A"},K:{"2":"A B C H 7B YC 8B"},L:{"1":"I"},M:{"1":"6B"},N:{"2":"A B"},O:{"2":"9B"},P:{"2":"J u v w x y z OD PD QD RD SD KC TD UD VD WD XD AC BC CC YD"},Q:{"2":"ZD"},R:{"2":"aD"},S:{"2":"bD cD"}},B:6,C:"zstd (Zstandard) content-encoding",D:true}; +module.exports={A:{A:{"2":"K D E F A B gC"},B:{"1":"DB EB FB GB HB IB JB KB I","2":"5 6 7 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x","194":"8 9 AB BB CB"},C:{"1":"GB HB IB JB KB I BC MC NC iC","2":"0 1 2 3 4 5 6 7 8 9 hC IC J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AB BB CB DB EB FB jC kC"},D:{"1":"DB EB FB GB HB IB JB KB I BC MC NC","2":"0 1 2 3 4 5 6 7 J LB K D E F A B C L M G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB JC tB KC uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x","194":"8 9 AB BB CB"},E:{"2":"J LB K D E F A B C L M G lC OC mC nC oC pC PC CC DC qC rC sC QC RC EC tC FC SC TC UC VC WC uC GC XC YC ZC aC bC vC HC cC dC wC"},F:{"1":"s t u v w x","2":"0 1 2 3 4 F B C G N O P MB y z NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC Q H R LC S T U V W X Y Z a b c d e f g h i j k l m n o p q r xC yC zC 0C CC eC 1C DC"},G:{"2":"E OC 2C fC 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED FD GD HD ID JD KD LD QC RC EC MD FC SC TC UC VC WC ND GC XC YC ZC aC bC OD HC cC dC"},H:{"2":"PD"},I:{"1":"I","2":"IC J QD RD SD TD fC UD VD"},J:{"2":"D A"},K:{"2":"A B C H CC eC DC"},L:{"1":"I"},M:{"1":"BC"},N:{"2":"A B"},O:{"2":"EC"},P:{"2":"0 1 2 3 4 J y z WD XD YD ZD aD PC bD cD dD eD fD FC GC HC gD"},Q:{"2":"hD"},R:{"2":"iD"},S:{"2":"jD kD"}},B:6,C:"zstd (Zstandard) content-encoding",D:true}; diff --git a/node_modules/caniuse-lite/data/regions/AD.js b/node_modules/caniuse-lite/data/regions/AD.js index 112a640f42..0ec5c920d5 100644 --- a/node_modules/caniuse-lite/data/regions/AD.js +++ b/node_modules/caniuse-lite/data/regions/AD.js @@ -1 +1 @@ -module.exports={C:{"2":0.00421,"3":0.00421,"4":0.00841,"5":0.00421,"11":0.00421,"15":0.00421,"16":0.00421,"19":0.00421,"23":0.00421,"27":0.00421,"34":0.00421,"35":0.00421,"37":0.00421,"39":0.00421,"40":0.00841,"42":0.00421,"52":0.00841,"78":0.00421,"103":0.00841,"113":0.00421,"114":0.03365,"115":0.13459,"118":0.00421,"122":0.00421,"123":0.01262,"124":0.04206,"125":1.74128,"126":1.31648,_:"6 7 8 9 10 12 13 14 17 18 20 21 22 24 25 26 28 29 30 31 32 33 36 38 41 43 44 45 46 47 48 49 50 51 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 104 105 106 107 108 109 110 111 112 116 117 119 120 121 127 128 129","3.5":0.00421,"3.6":0.00841},D:{"6":0.00421,"16":0.00421,"19":0.00421,"21":0.00421,"29":0.00421,"30":0.00421,"31":0.00421,"36":0.00421,"37":0.00421,"38":0.00421,"39":0.00841,"40":0.00421,"41":0.00421,"42":0.00841,"43":0.01262,"44":0.01682,"45":0.01682,"46":0.01262,"47":0.01682,"51":0.01682,"70":0.01682,"77":0.00421,"79":0.01682,"81":0.00421,"84":0.00841,"87":0.00841,"90":0.00421,"91":0.00841,"92":0.00841,"94":0.00421,"100":0.00421,"102":0.00841,"103":0.08412,"105":0.04206,"108":0.00841,"109":0.96317,"110":0.00421,"112":0.01262,"113":0.05888,"114":0.02524,"115":0.00421,"116":0.71081,"117":0.00841,"118":0.01262,"119":0.01262,"120":0.5636,"121":0.02524,"122":0.14721,"123":0.5594,"124":10.82204,"125":3.9957,_:"4 5 7 8 9 10 11 12 13 14 15 17 18 20 22 23 24 25 26 27 28 32 33 34 35 48 49 50 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 71 72 73 74 75 76 78 80 83 85 86 88 89 93 95 96 97 98 99 101 104 106 107 111 126 127 128"},F:{"25":0.00421,"31":0.00841,"107":0.10515,"108":0.01682,"109":1.65296,"110":0.02103,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 26 27 28 29 30 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 60 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6","12.1":0.00421},B:{"12":0.00841,"94":0.00421,"100":0.00421,"108":0.00421,"109":0.00421,"118":0.09674,"120":0.02524,"121":0.00421,"122":0.00421,"123":0.03785,"124":1.39219,"125":0.62669,_:"13 14 15 16 17 18 79 80 81 83 84 85 86 87 88 89 90 91 92 93 95 96 97 98 99 101 102 103 104 105 106 107 110 111 112 113 114 115 116 117 119"},E:{"8":0.00421,"9":0.02524,"14":0.19768,"15":0.00841,_:"0 4 5 6 7 10 11 12 13 3.1 3.2 6.1 7.1 9.1 10.1 11.1 12.1 17.6","5.1":0.00421,"13.1":0.05468,"14.1":0.10936,"15.1":0.03365,"15.2-15.3":0.04206,"15.4":0.03785,"15.5":0.11777,"15.6":0.76129,"16.0":0.33648,"16.1":0.09674,"16.2":0.26077,"16.3":0.66875,"16.4":0.11777,"16.5":0.22712,"16.6":1.50575,"17.0":0.08833,"17.1":0.44163,"17.2":0.31124,"17.3":0.74026,"17.4":7.49509,"17.5":1.46369},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.00734,"5.0-5.1":0.00734,"6.0-6.1":0.01836,"7.0-7.1":0.0257,"8.1-8.4":0.00734,"9.0-9.2":0.01836,"9.3":0.08444,"10.0-10.2":0.01468,"10.3":0.13216,"11.0-11.2":0.19457,"11.3-11.4":0.03671,"12.0-12.1":0.02203,"12.2-12.5":0.53231,"13.0-13.1":0.01101,"13.2":0.0514,"13.3":0.0257,"13.4-13.7":0.11748,"14.0-14.4":0.20191,"14.5-14.8":0.31205,"15.0-15.1":0.15052,"15.2-15.3":0.1652,"15.4":0.18723,"15.5":0.23495,"15.6-15.8":2.11457,"16.0":0.48092,"16.1":0.99121,"16.2":0.48092,"16.3":0.83335,"16.4":0.17621,"16.5":0.3561,"16.6-16.7":2.83779,"17.0":0.30838,"17.1":0.50295,"17.2":0.52497,"17.3":0.96918,"17.4":22.00844,"17.5":1.55289,"17.6":0},P:{"4":0.0108,"21":0.06477,"23":0.0108,"24":0.06477,"25":1.14433,_:"20 22 5.0-5.4 7.2-7.4 8.2 9.2 10.1 11.1-11.2 12.0 13.0 14.0 15.0 16.0 17.0 18.0","6.2-6.4":0.0108,"19.0":0.03239},I:{"0":0.17317,"3":0,"4":0.00002,"2.1":0,"2.2":0,"2.3":0,"4.1":0.00003,"4.2-4.3":0.0001,"4.4":0,"4.4.3-4.4.4":0.00038},K:{"0":0.26078,_:"10 11 12 11.1 11.5 12.1"},A:{"6":0.00862,"7":0.01293,"8":0.12495,"9":0.02154,"10":0.02154,"11":0.15511,_:"5.5"},S:{"2.5":0.0058,_:"3.0-3.1"},J:{_:"7 10"},N:{_:"10 11"},L:{"0":19.08714},R:{_:"0"},M:{"0":0.24919},Q:{_:"14.9"},O:{"0":0.03477},H:{"0":0}}; +module.exports={C:{"48":0.02076,"52":0.01661,"78":0.00415,"112":0.00415,"114":0.02491,"115":0.09965,"118":0.00415,"120":0.00415,"122":0.00415,"123":0.0083,"124":0.01661,"125":0.25327,"126":0.00415,"127":0.01246,"128":0.02076,"129":0.44842,"130":2.06354,"131":0.00415,_:"2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 49 50 51 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 113 116 117 119 121 132 133 134 135 3.5 3.6"},D:{"5":0.00415,"38":0.00415,"58":0.01661,"67":0.00415,"72":0.00415,"79":0.0083,"81":0.00415,"87":0.06228,"88":0.00415,"90":0.0083,"91":0.01246,"92":0.00415,"98":0.02076,"99":0.0083,"102":0.00415,"103":0.23666,"106":0.0083,"108":0.00415,"109":0.62695,"110":0.00415,"114":0.03322,"115":0.00415,"116":0.85531,"117":0.00415,"118":0.01246,"119":0.01661,"120":0.0083,"121":0.02906,"122":0.06228,"123":0.02491,"124":0.51485,"125":0.06643,"126":0.46502,"127":0.78888,"128":11.34742,"129":4.59626,"130":0.04152,_:"4 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 59 60 61 62 63 64 65 66 68 69 70 71 73 74 75 76 77 78 80 83 84 85 86 89 93 94 95 96 97 100 101 104 105 107 111 112 113 131 132 133"},F:{"46":0.00415,"95":0.01246,"102":0.00415,"109":0.0083,"111":0.00415,"112":0.39444,"113":0.70169,"114":0.00415,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 47 48 49 50 51 52 53 54 55 56 57 58 60 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 96 97 98 99 100 101 103 104 105 106 107 108 110 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"87":0.00415,"92":0.01661,"108":0.0083,"109":0.01246,"114":0.00415,"116":0.00415,"118":0.15362,"121":0.0083,"123":0.00415,"124":0.01246,"125":0.0083,"126":0.02491,"127":0.06228,"128":1.88501,"129":0.61034,"130":0.01246,_:"12 13 14 15 16 17 18 79 80 81 83 84 85 86 88 89 90 91 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 110 111 112 113 115 117 119 120 122"},E:{"14":0.02076,"15":0.00415,_:"0 4 5 6 7 8 9 10 11 12 13 3.1 3.2 5.1 6.1 7.1 9.1 10.1 11.1","12.1":0.00415,"13.1":0.05813,"14.1":0.29479,"15.1":0.04982,"15.2-15.3":0.04152,"15.4":0.04567,"15.5":0.14117,"15.6":1.40338,"16.0":0.22006,"16.1":0.09134,"16.2":0.0955,"16.3":0.23251,"16.4":0.06643,"16.5":0.29479,"16.6":1.2456,"17.0":0.08719,"17.1":0.13286,"17.2":0.13286,"17.3":0.14532,"17.4":0.52315,"17.5":1.35355,"17.6":5.87508,"18.0":0.87192,"18.1":0.06643},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.00705,"5.0-5.1":0.00352,"6.0-6.1":0.02114,"7.0-7.1":0.02467,"8.1-8.4":0,"9.0-9.2":0.02114,"9.3":0.05991,"10.0-10.2":0.01762,"10.3":0.1022,"11.0-11.2":0.37707,"11.3-11.4":0.02819,"12.0-12.1":0.01762,"12.2-12.5":0.42641,"13.0-13.1":0.00705,"13.2":0.13391,"13.3":0.01762,"13.4-13.7":0.07048,"14.0-14.4":0.16211,"14.5-14.8":0.21497,"15.0-15.1":0.12334,"15.2-15.3":0.11982,"15.4":0.13744,"15.5":0.16915,"15.6-15.8":1.67391,"16.0":0.33831,"16.1":0.66956,"16.2":0.33478,"16.3":0.56384,"16.4":0.11982,"16.5":0.23611,"16.6-16.7":2.01574,"17.0":0.16915,"17.1":0.26783,"17.2":0.24316,"17.3":0.34888,"17.4":0.74709,"17.5":3.59098,"17.6-17.7":19.11077,"18.0":2.41043,"18.1":0.10924},P:{"4":0.10495,"21":0.04198,"22":0.03148,"23":0.01049,"25":0.06297,"26":1.58471,_:"20 24 5.0-5.4 6.2-6.4 7.2-7.4 8.2 9.2 10.1 11.1-11.2 12.0 13.0 14.0 15.0 16.0 17.0 18.0 19.0"},I:{"0":0.035,"3":0,"4":0,"2.1":0,"2.2":0,"2.3":0,"4.1":0,"4.2-4.3":0.00001,"4.4":0,"4.4.3-4.4.4":0.00006},K:{"0":0.21641,_:"10 11 12 11.1 11.5 12.1"},A:{"11":0.01246,_:"6 7 8 9 10 5.5"},N:{_:"10 11"},S:{_:"2.5 3.0-3.1"},J:{_:"7 10"},O:{_:"0"},H:{"0":0},L:{"0":21.02726},R:{_:"0"},M:{"0":0.33924},Q:{_:"14.9"}}; diff --git a/node_modules/caniuse-lite/data/regions/AE.js b/node_modules/caniuse-lite/data/regions/AE.js index e722b8c2fa..8966acc654 100644 --- a/node_modules/caniuse-lite/data/regions/AE.js +++ b/node_modules/caniuse-lite/data/regions/AE.js @@ -1 +1 @@ -module.exports={C:{"3":0.00268,"34":0.00268,"52":0.00268,"75":0.00268,"77":0.00268,"88":0.00268,"105":0.00268,"109":0.00268,"114":0.00268,"115":0.067,"119":0.00268,"121":0.00268,"122":0.00536,"123":0.00536,"124":0.01072,"125":0.31624,"126":0.24924,"127":0.0134,"128":0.0134,_:"2 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 76 78 79 80 81 82 83 84 85 86 87 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 106 107 108 110 111 112 113 116 117 118 120 129 3.5 3.6"},D:{"22":0.00536,"34":0.00268,"38":0.00536,"41":0.00536,"43":0.00268,"46":0.00268,"49":0.00804,"51":0.00268,"52":0.03216,"56":0.00536,"58":0.03216,"65":0.00268,"68":0.00268,"70":0.00268,"72":0.01072,"73":0.00268,"74":0.00268,"75":0.00804,"76":0.01876,"78":0.00268,"79":0.02412,"80":0.00268,"81":0.00804,"83":0.01072,"84":0.00268,"85":0.00804,"86":0.01876,"87":0.201,"88":0.01876,"89":0.00268,"90":0.00536,"91":0.00804,"92":0.00268,"93":0.02948,"94":0.00536,"95":0.00536,"96":0.00268,"97":0.00268,"98":0.0268,"99":0.01072,"100":0.01876,"101":0.03484,"102":0.02948,"103":0.15544,"104":0.02144,"105":0.01072,"106":0.01608,"107":0.0134,"108":0.0268,"109":0.64588,"110":0.01608,"111":0.0134,"112":0.0134,"113":0.10988,"114":0.13936,"115":0.01876,"116":0.15544,"117":0.0134,"118":0.03216,"119":0.03484,"120":0.2278,"121":0.07772,"122":0.21172,"123":0.58692,"124":11.0952,"125":3.9932,"126":0.00804,"127":0.00268,_:"4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 23 24 25 26 27 28 29 30 31 32 33 35 36 37 39 40 42 44 45 47 48 50 53 54 55 57 59 60 61 62 63 64 66 67 69 71 77 128"},F:{"46":0.00536,"82":0.00268,"83":0.00268,"85":0.00268,"89":0.00268,"92":0.00268,"95":0.01608,"99":0.00268,"105":0.00804,"106":0.01072,"107":0.134,"108":0.01876,"109":0.47704,"110":0.01876,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 47 48 49 50 51 52 53 54 55 56 57 58 60 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 84 86 87 88 90 91 93 94 96 97 98 100 101 102 103 104 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"12":0.00268,"18":0.00268,"92":0.01608,"100":0.00268,"105":0.00268,"107":0.00268,"108":0.00268,"109":0.0134,"110":0.00268,"112":0.00268,"113":0.00268,"114":0.00804,"115":0.00804,"116":0.00268,"117":0.00268,"118":0.00268,"119":0.00536,"120":0.00804,"121":0.00804,"122":0.03484,"123":0.09112,"124":1.73396,"125":1.00232,_:"13 14 15 16 17 79 80 81 83 84 85 86 87 88 89 90 91 93 94 95 96 97 98 99 101 102 103 104 106 111"},E:{"4":0.00268,"9":0.00536,"13":0.00268,"14":0.01876,"15":0.00268,_:"0 5 6 7 8 10 11 12 3.1 3.2 5.1 6.1 7.1 9.1 10.1 11.1 17.6","12.1":0.00536,"13.1":0.02144,"14.1":0.07236,"15.1":0.02144,"15.2-15.3":0.00804,"15.4":0.01876,"15.5":0.0268,"15.6":0.19296,"16.0":0.02412,"16.1":0.04288,"16.2":0.03484,"16.3":0.06968,"16.4":0.02144,"16.5":0.04824,"16.6":0.19028,"17.0":0.04824,"17.1":0.05092,"17.2":0.07504,"17.3":0.10184,"17.4":1.18724,"17.5":0.16348},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.00224,"5.0-5.1":0.00224,"6.0-6.1":0.0056,"7.0-7.1":0.00784,"8.1-8.4":0.00224,"9.0-9.2":0.0056,"9.3":0.02576,"10.0-10.2":0.00448,"10.3":0.04032,"11.0-11.2":0.05936,"11.3-11.4":0.0112,"12.0-12.1":0.00672,"12.2-12.5":0.16239,"13.0-13.1":0.00336,"13.2":0.01568,"13.3":0.00784,"13.4-13.7":0.03584,"14.0-14.4":0.0616,"14.5-14.8":0.0952,"15.0-15.1":0.04592,"15.2-15.3":0.0504,"15.4":0.05712,"15.5":0.07168,"15.6-15.8":0.6451,"16.0":0.14671,"16.1":0.30239,"16.2":0.14671,"16.3":0.25423,"16.4":0.05376,"16.5":0.10864,"16.6-16.7":0.86573,"17.0":0.09408,"17.1":0.15343,"17.2":0.16015,"17.3":0.29567,"17.4":6.71416,"17.5":0.47374,"17.6":0},P:{"4":0.09155,"20":0.01017,"21":0.03052,"22":0.06103,"23":0.08138,"24":0.15259,"25":1.61741,"5.0-5.4":0.01017,"6.2-6.4":0.01017,"7.2-7.4":0.03052,_:"8.2 9.2 10.1 12.0 14.0 15.0","11.1-11.2":0.01017,"13.0":0.01017,"16.0":0.01017,"17.0":0.01017,"18.0":0.01017,"19.0":0.02034},I:{"0":0.06562,"3":0,"4":0.00001,"2.1":0,"2.2":0,"2.3":0,"4.1":0.00001,"4.2-4.3":0.00004,"4.4":0,"4.4.3-4.4.4":0.00014},K:{"0":1.3176,_:"10 11 12 11.1 11.5 12.1"},A:{"8":0.00871,"9":0.0029,"10":0.0029,"11":0.22936,_:"6 7 5.5"},S:{_:"2.5 3.0-3.1"},J:{_:"7 10"},N:{_:"10 11"},L:{"0":57.20256},R:{_:"0"},M:{"0":0.13908},Q:{"14.9":0.00732},O:{"0":2.06424},H:{"0":0}}; +module.exports={C:{"3":0.00218,"50":0.01525,"51":0.00871,"52":0.07187,"68":0.00218,"77":0.01089,"78":0.00218,"103":0.00218,"105":0.00218,"106":0.00218,"107":0.00218,"108":0.00436,"109":0.00218,"115":0.03485,"122":0.00218,"123":0.00218,"125":0.00653,"126":0.00218,"127":0.00436,"128":0.00653,"129":0.07841,"130":0.3463,"131":0.00218,"132":0.02396,_:"2 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 69 70 71 72 73 74 75 76 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 104 110 111 112 113 114 116 117 118 119 120 121 124 133 134 135 3.5 3.6"},D:{"38":0.05227,"43":0.00218,"44":0.00218,"46":0.00218,"47":0.00218,"51":0.00218,"56":0.05009,"58":0.0196,"65":0.00218,"66":0.00218,"68":0.00218,"70":0.00218,"72":0.01742,"73":0.00653,"75":0.00218,"76":0.01089,"77":0.00218,"78":0.00218,"79":0.00871,"80":0.00218,"81":0.00218,"83":0.01089,"84":0.00218,"85":0.00218,"86":0.00653,"87":0.35937,"88":0.01525,"89":0.00218,"90":0.00218,"91":0.01089,"92":0.00218,"93":0.02396,"94":0.01089,"95":0.00436,"98":0.00871,"99":0.01525,"100":0.00218,"101":0.00218,"102":0.00218,"103":0.14157,"104":0.01742,"105":0.00871,"106":0.00653,"107":0.01742,"108":0.0196,"109":0.39857,"110":0.01089,"111":0.01089,"112":0.01307,"113":0.02831,"114":0.03703,"115":0.00653,"116":0.07841,"117":0.00653,"118":0.01307,"119":0.01307,"120":0.03267,"121":0.01742,"122":0.07841,"123":0.03703,"124":0.21998,"125":0.13939,"126":0.26354,"127":0.59677,"128":8.85793,"129":2.88149,"130":0.00436,"131":0.00218,_:"4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 39 40 41 42 45 48 49 50 52 53 54 55 57 59 60 61 62 63 64 67 69 71 74 96 97 132 133"},F:{"46":0.00218,"82":0.00218,"83":0.00436,"84":0.04356,"85":0.00218,"94":0.00218,"95":0.00653,"107":0.00218,"109":0.01525,"110":0.00218,"111":0.00653,"112":0.23958,"113":0.21344,"114":0.00653,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 47 48 49 50 51 52 53 54 55 56 57 58 60 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 86 87 88 89 90 91 92 93 96 97 98 99 100 101 102 103 104 105 106 108 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"18":0.00218,"92":0.00871,"100":0.00218,"106":0.00218,"107":0.00218,"109":0.01307,"114":0.00218,"116":0.00218,"119":0.00218,"120":0.00218,"121":0.00436,"122":0.00436,"123":0.00218,"124":0.00653,"125":0.01089,"126":0.02178,"127":0.09583,"128":1.505,"129":0.60113,"130":0.00218,_:"12 13 14 15 16 17 79 80 81 83 84 85 86 87 88 89 90 91 93 94 95 96 97 98 99 101 102 103 104 105 108 110 111 112 113 115 117 118"},E:{"4":0.00218,"9":0.00218,"14":0.01089,"15":0.00218,_:"0 5 6 7 8 10 11 12 13 3.1 3.2 5.1 6.1 7.1 9.1 10.1 11.1","12.1":0.00653,"13.1":0.01307,"14.1":0.03485,"15.1":0.01525,"15.2-15.3":0.00653,"15.4":0.00871,"15.5":0.01089,"15.6":0.11543,"16.0":0.01307,"16.1":0.02831,"16.2":0.01525,"16.3":0.05445,"16.4":0.01307,"16.5":0.02396,"16.6":0.12197,"17.0":0.02614,"17.1":0.02614,"17.2":0.01742,"17.3":0.03049,"17.4":0.06534,"17.5":0.26354,"17.6":0.93872,"18.0":0.22216,"18.1":0.01089},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.00171,"5.0-5.1":0.00085,"6.0-6.1":0.00513,"7.0-7.1":0.00598,"8.1-8.4":0,"9.0-9.2":0.00513,"9.3":0.01452,"10.0-10.2":0.00427,"10.3":0.02477,"11.0-11.2":0.09141,"11.3-11.4":0.00683,"12.0-12.1":0.00427,"12.2-12.5":0.10337,"13.0-13.1":0.00171,"13.2":0.03246,"13.3":0.00427,"13.4-13.7":0.01709,"14.0-14.4":0.0393,"14.5-14.8":0.05211,"15.0-15.1":0.0299,"15.2-15.3":0.02905,"15.4":0.03332,"15.5":0.04101,"15.6-15.8":0.40578,"16.0":0.08201,"16.1":0.16231,"16.2":0.08116,"16.3":0.13668,"16.4":0.02905,"16.5":0.05724,"16.6-16.7":0.48864,"17.0":0.04101,"17.1":0.06492,"17.2":0.05894,"17.3":0.08457,"17.4":0.18111,"17.5":0.8705,"17.6-17.7":4.63271,"18.0":0.58432,"18.1":0.02648},P:{"4":0.03075,"21":0.0205,"22":0.041,"23":0.03075,"24":0.041,"25":0.10249,"26":1.30164,_:"20 8.2 9.2 10.1 11.1-11.2 12.0 13.0 14.0 15.0 16.0 17.0 18.0","5.0-5.4":0.01025,"6.2-6.4":0.01025,"7.2-7.4":0.01025,"19.0":0.0205},I:{"0":0.07802,"3":0,"4":0,"2.1":0,"2.2":0,"2.3":0,"4.1":0.00001,"4.2-4.3":0.00003,"4.4":0,"4.4.3-4.4.4":0.00013},K:{"0":1.57242,_:"10 11 12 11.1 11.5 12.1"},A:{"8":0.02914,"9":0.00243,"10":0.00243,"11":0.24043,_:"6 7 5.5"},N:{_:"10 11"},S:{_:"2.5 3.0-3.1"},J:{_:"7 10"},O:{"0":3.1292},H:{"0":0},L:{"0":64.10158},R:{_:"0"},M:{"0":0.10952},Q:{"14.9":0.01565}}; diff --git a/node_modules/caniuse-lite/data/regions/AF.js b/node_modules/caniuse-lite/data/regions/AF.js index c28af4239d..77858402ec 100644 --- a/node_modules/caniuse-lite/data/regions/AF.js +++ b/node_modules/caniuse-lite/data/regions/AF.js @@ -1 +1 @@ -module.exports={C:{"32":0.00136,"38":0.00136,"44":0.00136,"45":0.00136,"48":0.00273,"49":0.00136,"51":0.00136,"52":0.00136,"56":0.00409,"57":0.00409,"64":0.00136,"66":0.00136,"69":0.00136,"72":0.00409,"74":0.00136,"84":0.00136,"90":0.00136,"92":0.00136,"94":0.00136,"95":0.00273,"101":0.00136,"104":0.00409,"106":0.00273,"107":0.00136,"108":0.00136,"109":0.00136,"110":0.00273,"111":0.00136,"112":0.00136,"114":0.00546,"115":0.23461,"117":0.00136,"118":0.00136,"120":0.00273,"121":0.00409,"122":0.00273,"123":0.00273,"124":0.00682,"125":0.17459,"126":0.15959,"127":0.00136,_:"2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 33 34 35 36 37 39 40 41 42 43 46 47 50 53 54 55 58 59 60 61 62 63 65 67 68 70 71 73 75 76 77 78 79 80 81 82 83 85 86 87 88 89 91 93 96 97 98 99 100 102 103 105 113 116 119 128 129 3.5 3.6"},D:{"31":0.00136,"34":0.00273,"35":0.00136,"36":0.00273,"38":0.00136,"39":0.00273,"41":0.00136,"42":0.00136,"43":0.00409,"44":0.00273,"45":0.00136,"46":0.00409,"47":0.00273,"48":0.00409,"50":0.00136,"52":0.00136,"54":0.00546,"55":0.00273,"56":0.00273,"57":0.00136,"58":0.00136,"59":0.00136,"61":0.00136,"62":0.01773,"63":0.01091,"64":0.00136,"65":0.00136,"66":0.00273,"67":0.00273,"68":0.00409,"69":0.00273,"70":0.00682,"71":0.01364,"72":0.00273,"73":0.00682,"74":0.00546,"76":0.00136,"77":0.00409,"78":0.02319,"79":0.02592,"80":0.00955,"81":0.00546,"83":0.00409,"84":0.00409,"85":0.00273,"86":0.01637,"87":0.01364,"88":0.00409,"89":0.00409,"90":0.00546,"91":0.00409,"92":0.00682,"94":0.00409,"95":0.00273,"96":0.00955,"97":0.00136,"98":0.00409,"99":0.00546,"100":0.00136,"101":0.00546,"102":0.01637,"103":0.00818,"104":0.00409,"105":0.01091,"106":0.01364,"107":0.02864,"108":0.0191,"109":1.45675,"110":0.01637,"111":0.00818,"112":0.00955,"113":0.00409,"114":0.01091,"115":0.00546,"116":0.00955,"117":0.0191,"118":0.015,"119":0.01773,"120":0.04774,"121":0.02864,"122":0.09275,"123":0.17323,"124":3.46456,"125":1.27125,"126":0.00409,_:"4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 32 33 37 40 49 51 53 60 75 93 127 128"},F:{"64":0.00136,"69":0.00136,"79":0.01637,"81":0.00136,"87":0.00136,"95":0.04501,"102":0.01228,"107":0.01091,"108":0.00273,"109":0.1896,"110":0.02182,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 60 62 63 65 66 67 68 70 71 72 73 74 75 76 77 78 80 82 83 84 85 86 88 89 90 91 92 93 94 96 97 98 99 100 101 103 104 105 106 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"12":0.01091,"13":0.00818,"14":0.00955,"15":0.00409,"16":0.04092,"17":0.00682,"18":0.09684,"81":0.00273,"84":0.01091,"86":0.00136,"88":0.00136,"89":0.01228,"90":0.02864,"92":0.14049,"98":0.00136,"100":0.03683,"109":0.05729,"110":0.00273,"111":0.00409,"114":0.00136,"115":0.00136,"116":0.00136,"117":0.00136,"118":0.00273,"119":0.00682,"120":0.00955,"121":0.01637,"122":0.02046,"123":0.02864,"124":0.65745,"125":0.37374,_:"79 80 83 85 87 91 93 94 95 96 97 99 101 102 103 104 105 106 107 108 112 113"},E:{"13":0.00273,"14":0.00136,_:"0 4 5 6 7 8 9 10 11 12 15 3.1 3.2 6.1 7.1 9.1 10.1 12.1 17.6","5.1":0.00136,"11.1":0.00136,"13.1":0.00409,"14.1":0.00136,"15.1":0.01228,"15.2-15.3":0.01091,"15.4":0.01364,"15.5":0.02864,"15.6":0.07229,"16.0":0.00409,"16.1":0.02592,"16.2":0.02728,"16.3":0.03001,"16.4":0.01364,"16.5":0.11458,"16.6":0.1173,"17.0":0.02728,"17.1":0.04092,"17.2":0.04228,"17.3":0.07093,"17.4":0.73656,"17.5":0.13504},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.00178,"5.0-5.1":0.00178,"6.0-6.1":0.00445,"7.0-7.1":0.00623,"8.1-8.4":0.00178,"9.0-9.2":0.00445,"9.3":0.02046,"10.0-10.2":0.00356,"10.3":0.03202,"11.0-11.2":0.04714,"11.3-11.4":0.0089,"12.0-12.1":0.00534,"12.2-12.5":0.12898,"13.0-13.1":0.00267,"13.2":0.01245,"13.3":0.00623,"13.4-13.7":0.02846,"14.0-14.4":0.04892,"14.5-14.8":0.07561,"15.0-15.1":0.03647,"15.2-15.3":0.04003,"15.4":0.04536,"15.5":0.05693,"15.6-15.8":0.51236,"16.0":0.11653,"16.1":0.24017,"16.2":0.11653,"16.3":0.20192,"16.4":0.0427,"16.5":0.08628,"16.6-16.7":0.68759,"17.0":0.07472,"17.1":0.12186,"17.2":0.1272,"17.3":0.23483,"17.4":5.3326,"17.5":0.37626,"17.6":0},P:{"4":0.2032,"20":0.02032,"21":0.0508,"22":0.09144,"23":0.18288,"24":0.22352,"25":0.62992,"5.0-5.4":0.0508,"6.2-6.4":0.04064,"7.2-7.4":0.13208,_:"8.2 10.1 12.0","9.2":0.06096,"11.1-11.2":0.04064,"13.0":0.02032,"14.0":0.04064,"15.0":0.01016,"16.0":0.03048,"17.0":0.02032,"18.0":0.02032,"19.0":0.03048},I:{"0":0.03441,"3":0,"4":0,"2.1":0,"2.2":0,"2.3":0,"4.1":0.00001,"4.2-4.3":0.00002,"4.4":0,"4.4.3-4.4.4":0.00008},K:{"0":0.71724,_:"10 11 12 11.1 11.5 12.1"},A:{"8":0.00136,"9":0.00273,"11":0.20187,_:"6 7 10 5.5"},S:{_:"2.5 3.0-3.1"},J:{_:"7 10"},N:{_:"10 11"},L:{"0":76.35474},R:{_:"0"},M:{"0":0.06909},Q:{_:"14.9"},O:{"0":0.45771},H:{"0":0.06}}; +module.exports={C:{"38":0.00142,"44":0.00142,"48":0.00142,"50":0.00283,"52":0.00142,"56":0.00425,"57":0.00142,"64":0.00142,"65":0.00425,"66":0.00283,"70":0.00142,"72":0.00283,"74":0.00142,"84":0.00142,"89":0.00142,"94":0.00142,"99":0.00142,"100":0.00142,"102":0.00142,"105":0.00142,"106":0.00283,"112":0.00142,"113":0.00142,"115":0.18395,"118":0.00142,"121":0.00142,"122":0.00283,"125":0.00142,"126":0.00142,"127":0.01698,"128":0.00566,"129":0.05519,"130":0.25753,"131":0.00283,_:"2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 39 40 41 42 43 45 46 47 49 51 53 54 55 58 59 60 61 62 63 67 68 69 71 73 75 76 77 78 79 80 81 82 83 85 86 87 88 90 91 92 93 95 96 97 98 101 103 104 107 108 109 110 111 114 116 117 119 120 123 124 132 133 134 135 3.5 3.6"},D:{"28":0.00142,"30":0.00142,"31":0.00142,"33":0.00142,"34":0.00283,"35":0.00142,"36":0.00283,"38":0.00142,"43":0.00142,"44":0.00142,"46":0.00425,"47":0.00425,"48":0.00142,"49":0.00142,"50":0.00142,"51":0.00142,"52":0.00142,"54":0.00142,"55":0.00566,"56":0.00142,"57":0.00142,"58":0.00142,"59":0.00142,"60":0.00142,"61":0.00283,"62":0.02972,"63":0.00708,"64":0.00142,"65":0.00142,"66":0.00283,"67":0.00425,"68":0.00142,"69":0.00283,"70":0.00849,"71":0.01557,"72":0.00425,"73":0.00566,"74":0.00708,"75":0.00142,"76":0.00142,"77":0.00283,"78":0.02123,"79":0.02689,"80":0.00991,"81":0.00708,"83":0.00708,"84":0.00283,"86":0.01698,"87":0.01557,"88":0.00566,"89":0.00566,"90":0.00142,"91":0.00283,"92":0.00566,"93":0.00142,"94":0.00566,"95":0.00566,"96":0.01557,"97":0.00425,"98":0.00283,"99":0.00849,"100":0.00142,"101":0.00566,"102":0.00566,"103":0.0283,"104":0.00142,"105":0.02123,"106":0.01557,"107":0.02406,"108":0.01415,"109":1.48575,"110":0.00566,"111":0.01698,"112":0.00849,"113":0.00283,"114":0.00708,"115":0.01415,"116":0.01415,"117":0.01274,"118":0.02123,"119":0.0184,"120":0.02547,"121":0.01698,"122":0.02547,"123":0.0184,"124":0.02264,"125":0.0283,"126":0.075,"127":0.24763,"128":3.97474,"129":1.24096,"130":0.00425,_:"4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 29 32 37 39 40 41 42 45 53 85 131 132 133"},F:{"36":0.00283,"42":0.00142,"64":0.00142,"79":0.00849,"80":0.00142,"81":0.00283,"83":0.00425,"84":0.00142,"85":0.00142,"95":0.04104,"102":0.00425,"106":0.00283,"107":0.00142,"109":0.00142,"110":0.00142,"111":0.00283,"112":0.24197,"113":0.14858,"114":0.00849,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 37 38 39 40 41 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 60 62 63 65 66 67 68 69 70 71 72 73 74 75 76 77 78 82 86 87 88 89 90 91 92 93 94 96 97 98 99 100 101 103 104 105 108 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"12":0.00283,"13":0.00708,"14":0.00991,"15":0.00849,"16":0.0184,"17":0.00849,"18":0.04387,"80":0.00142,"81":0.00566,"84":0.00991,"88":0.00142,"89":0.01132,"90":0.03255,"92":0.20235,"100":0.03396,"107":0.00142,"108":0.00142,"109":0.08066,"110":0.00142,"112":0.00142,"113":0.00142,"114":0.00566,"117":0.00425,"118":0.00425,"120":0.00849,"121":0.00708,"122":0.00425,"123":0.00283,"124":0.01698,"125":0.01415,"126":0.02123,"127":0.05943,"128":0.88155,"129":0.34809,_:"79 83 85 86 87 91 93 94 95 96 97 98 99 101 102 103 104 105 106 111 115 116 119 130"},E:{"10":0.00142,"14":0.00142,_:"0 4 5 6 7 8 9 11 12 13 15 3.1 3.2 5.1 6.1 7.1 9.1 10.1 11.1 12.1","13.1":0.00283,"14.1":0.00142,"15.1":0.00849,"15.2-15.3":0.00708,"15.4":0.00566,"15.5":0.01557,"15.6":0.10047,"16.0":0.00283,"16.1":0.0283,"16.2":0.00849,"16.3":0.01981,"16.4":0.00849,"16.5":0.0184,"16.6":0.08632,"17.0":0.01132,"17.1":0.0283,"17.2":0.0184,"17.3":0.01981,"17.4":0.14716,"17.5":0.22074,"17.6":0.73722,"18.0":0.14433,"18.1":0.00566},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.00167,"5.0-5.1":0.00083,"6.0-6.1":0.00501,"7.0-7.1":0.00584,"8.1-8.4":0,"9.0-9.2":0.00501,"9.3":0.01419,"10.0-10.2":0.00417,"10.3":0.0242,"11.0-11.2":0.08929,"11.3-11.4":0.00668,"12.0-12.1":0.00417,"12.2-12.5":0.10097,"13.0-13.1":0.00167,"13.2":0.03171,"13.3":0.00417,"13.4-13.7":0.01669,"14.0-14.4":0.03839,"14.5-14.8":0.0509,"15.0-15.1":0.02921,"15.2-15.3":0.02837,"15.4":0.03254,"15.5":0.04005,"15.6-15.8":0.39637,"16.0":0.08011,"16.1":0.15855,"16.2":0.07927,"16.3":0.13351,"16.4":0.02837,"16.5":0.05591,"16.6-16.7":0.47731,"17.0":0.04005,"17.1":0.06342,"17.2":0.05758,"17.3":0.08261,"17.4":0.17691,"17.5":0.85032,"17.6-17.7":4.52529,"18.0":0.57077,"18.1":0.02587},P:{"4":0.17094,"20":0.03017,"21":0.03017,"22":0.05028,"23":0.07039,"24":0.0905,"25":0.27149,"26":0.66365,"5.0-5.4":0.04022,"6.2-6.4":0.04022,"7.2-7.4":0.10055,"8.2":0.03017,"9.2":0.06033,_:"10.1 12.0","11.1-11.2":0.03017,"13.0":0.01006,"14.0":0.03017,"15.0":0.01006,"16.0":0.04022,"17.0":0.02011,"18.0":0.01006,"19.0":0.02011},I:{"0":0.12843,"3":0,"4":0,"2.1":0,"2.2":0,"2.3":0,"4.1":0.00001,"4.2-4.3":0.00005,"4.4":0,"4.4.3-4.4.4":0.00021},K:{"0":0.55095,_:"10 11 12 11.1 11.5 12.1"},A:{"8":0.00441,"9":0.00441,"11":0.06901,_:"6 7 10 5.5"},N:{_:"10 11"},S:{_:"2.5 3.0-3.1"},J:{_:"7 10"},O:{"0":0.82416},H:{"0":0.05},L:{"0":75.75051},R:{_:"0"},M:{"0":0.03434},Q:{_:"14.9"}}; diff --git a/node_modules/caniuse-lite/data/regions/AG.js b/node_modules/caniuse-lite/data/regions/AG.js index 644fb4dfc2..14f2a47704 100644 --- a/node_modules/caniuse-lite/data/regions/AG.js +++ b/node_modules/caniuse-lite/data/regions/AG.js @@ -1 +1 @@ -module.exports={C:{"87":0.00367,"88":0.03299,"115":0.06231,"123":0.00367,"124":0.05864,"125":0.33352,"126":0.32252,_:"2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 116 117 118 119 120 121 122 127 128 129 3.5 3.6"},D:{"63":0.00367,"65":0.00733,"67":0.00367,"73":0.00367,"74":0.01466,"76":0.00367,"79":0.011,"84":0.00733,"87":0.02932,"88":0.05131,"89":0.00733,"91":0.011,"93":0.03665,"94":0.02199,"96":0.01466,"98":0.00367,"102":0.0733,"103":0.16493,"105":0.00367,"106":0.01466,"107":0.00367,"108":0.00733,"109":0.94191,"110":0.00733,"112":0.00733,"114":0.00367,"115":0.00733,"116":0.0843,"117":0.1576,"118":0.00733,"119":0.03665,"120":0.02199,"121":0.09896,"122":0.15393,"123":0.71101,"124":13.70344,"125":4.09014,_:"4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 64 66 68 69 70 71 72 75 77 78 80 81 83 85 86 90 92 95 97 99 100 101 104 111 113 126 127 128"},F:{"28":0.02932,"102":0.00367,"107":0.10995,"108":0.02199,"109":0.50577,"110":0.00733,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 60 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 103 104 105 106 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"18":0.01466,"83":0.00367,"92":0.00367,"96":0.011,"100":0.00733,"105":0.00367,"109":0.09163,"114":0.011,"116":0.10995,"119":0.00733,"120":0.011,"121":0.011,"122":0.02566,"123":0.21624,"124":4.19643,"125":2.03408,_:"12 13 14 15 16 17 79 80 81 84 85 86 87 88 89 90 91 93 94 95 97 98 99 101 102 103 104 106 107 108 110 111 112 113 115 117 118"},E:{"14":0.00367,"15":0.01466,_:"0 4 5 6 7 8 9 10 11 12 13 3.1 3.2 5.1 6.1 7.1 9.1 10.1 11.1 12.1 17.6","13.1":0.01466,"14.1":0.10262,"15.1":0.01466,"15.2-15.3":0.00733,"15.4":0.011,"15.5":0.00733,"15.6":0.10629,"16.0":0.12828,"16.1":0.02566,"16.2":0.04032,"16.3":0.16126,"16.4":0.01833,"16.5":0.03665,"16.6":0.26755,"17.0":0.04032,"17.1":0.08063,"17.2":0.08796,"17.3":0.08063,"17.4":1.87648,"17.5":0.24922},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.00397,"5.0-5.1":0.00397,"6.0-6.1":0.00993,"7.0-7.1":0.0139,"8.1-8.4":0.00397,"9.0-9.2":0.00993,"9.3":0.04569,"10.0-10.2":0.00795,"10.3":0.07151,"11.0-11.2":0.10528,"11.3-11.4":0.01986,"12.0-12.1":0.01192,"12.2-12.5":0.28802,"13.0-13.1":0.00596,"13.2":0.02781,"13.3":0.0139,"13.4-13.7":0.06356,"14.0-14.4":0.10925,"14.5-14.8":0.16884,"15.0-15.1":0.08144,"15.2-15.3":0.08939,"15.4":0.1013,"15.5":0.12713,"15.6-15.8":1.14413,"16.0":0.26021,"16.1":0.53631,"16.2":0.26021,"16.3":0.4509,"16.4":0.09534,"16.5":0.19268,"16.6-16.7":1.53544,"17.0":0.16685,"17.1":0.27213,"17.2":0.28405,"17.3":0.52439,"17.4":11.90812,"17.5":0.84022,"17.6":0},P:{"4":0.06674,"20":0.01112,"21":0.07786,"22":0.03337,"23":0.13348,"24":0.37819,"25":3.9932,_:"5.0-5.4 8.2 9.2 10.1 12.0 13.0 15.0 18.0","6.2-6.4":0.03337,"7.2-7.4":0.15572,"11.1-11.2":0.02225,"14.0":0.02225,"16.0":0.05562,"17.0":0.02225,"19.0":0.01112},I:{"0":0.01262,"3":0,"4":0,"2.1":0,"2.2":0,"2.3":0,"4.1":0,"4.2-4.3":0.00001,"4.4":0,"4.4.3-4.4.4":0.00003},K:{"0":0.42438,_:"10 11 12 11.1 11.5 12.1"},A:{"10":0.05803,"11":0.01161,_:"6 7 8 9 5.5"},S:{_:"2.5 3.0-3.1"},J:{_:"7 10"},N:{_:"10 11"},L:{"0":41.27729},R:{_:"0"},M:{"0":0.20902},Q:{_:"14.9"},O:{"0":0.05067},H:{"0":0}}; +module.exports={C:{"52":0.00347,"89":0.00347,"115":0.01386,"122":0.00347,"124":0.03119,"125":0.02773,"127":0.0104,"129":0.1629,"130":0.53723,_:"2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 116 117 118 119 120 121 123 126 128 131 132 133 134 135 3.5 3.6"},D:{"34":0.05546,"56":0.00347,"65":0.00347,"70":0.03466,"74":0.00693,"75":0.00347,"76":0.00347,"77":0.00347,"79":0.01733,"83":0.00347,"86":0.01733,"87":0.01733,"88":0.07972,"91":0.06932,"93":0.0104,"94":0.00347,"95":0.00347,"100":0.0104,"102":0.0104,"103":0.08318,"105":0.01733,"109":0.81104,"111":0.00347,"112":0.00347,"113":0.00693,"116":0.13171,"117":0.00347,"118":0.09705,"119":0.03466,"120":0.01386,"121":0.03466,"122":0.04506,"123":0.13864,"124":0.41939,"125":0.02773,"126":0.23569,"127":0.75905,"128":12.24191,"129":3.55265,"130":0.00347,_:"4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 57 58 59 60 61 62 63 64 66 67 68 69 71 72 73 78 80 81 84 85 89 90 92 96 97 98 99 101 104 106 107 108 110 114 115 131 132 133"},F:{"84":0.07625,"102":0.0208,"109":0.00693,"111":0.00347,"112":0.45058,"113":0.1629,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 60 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 103 104 105 106 107 108 110 114 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"17":0.00347,"18":0.0104,"84":0.00347,"90":0.01386,"94":0.00347,"96":0.00347,"97":0.00347,"99":0.00347,"109":0.07972,"114":0.00347,"121":0.00347,"123":0.00693,"124":0.00347,"125":0.01733,"126":0.05892,"127":0.20796,"128":4.97718,"129":1.83351,_:"12 13 14 15 16 79 80 81 83 85 86 87 88 89 91 92 93 95 98 100 101 102 103 104 105 106 107 108 110 111 112 113 115 116 117 118 119 120 122 130"},E:{"14":0.00347,_:"0 4 5 6 7 8 9 10 11 12 13 15 3.1 3.2 5.1 6.1 7.1 9.1 10.1 11.1 15.2-15.3","12.1":0.00347,"13.1":0.0104,"14.1":0.03119,"15.1":0.01733,"15.4":0.00347,"15.5":0.01733,"15.6":0.14557,"16.0":0.03813,"16.1":0.03466,"16.2":0.00693,"16.3":0.05199,"16.4":0.0104,"16.5":0.03466,"16.6":0.1525,"17.0":0.02773,"17.1":0.03466,"17.2":0.0208,"17.3":0.04852,"17.4":0.06239,"17.5":0.33967,"17.6":1.83351,"18.0":0.21489,"18.1":0.01386},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.00391,"5.0-5.1":0.00195,"6.0-6.1":0.01173,"7.0-7.1":0.01368,"8.1-8.4":0,"9.0-9.2":0.01173,"9.3":0.03322,"10.0-10.2":0.00977,"10.3":0.05668,"11.0-11.2":0.20911,"11.3-11.4":0.01563,"12.0-12.1":0.00977,"12.2-12.5":0.23647,"13.0-13.1":0.00391,"13.2":0.07426,"13.3":0.00977,"13.4-13.7":0.03909,"14.0-14.4":0.0899,"14.5-14.8":0.11921,"15.0-15.1":0.0684,"15.2-15.3":0.06645,"15.4":0.07622,"15.5":0.09381,"15.6-15.8":0.9283,"16.0":0.18761,"16.1":0.37132,"16.2":0.18566,"16.3":0.31269,"16.4":0.06645,"16.5":0.13094,"16.6-16.7":1.11787,"17.0":0.09381,"17.1":0.14853,"17.2":0.13485,"17.3":0.19348,"17.4":0.41432,"17.5":1.99145,"17.6-17.7":10.59827,"18.0":1.33675,"18.1":0.06058},P:{"4":0.06773,"20":0.03386,"21":0.05644,"22":0.07901,"23":0.06773,"24":0.07901,"25":0.47408,"26":6.52429,_:"5.0-5.4 8.2 9.2 10.1 11.1-11.2 12.0 14.0 15.0 17.0","6.2-6.4":0.01129,"7.2-7.4":0.40636,"13.0":0.02258,"16.0":0.01129,"18.0":0.03386,"19.0":0.04515},I:{"0":0.05865,"3":0,"4":0,"2.1":0,"2.2":0,"2.3":0,"4.1":0.00001,"4.2-4.3":0.00002,"4.4":0,"4.4.3-4.4.4":0.00009},K:{"0":0.09148,_:"10 11 12 11.1 11.5 12.1"},A:{"11":0.01733,_:"6 7 8 9 10 5.5"},N:{_:"10 11"},S:{_:"2.5 3.0-3.1"},J:{_:"7 10"},O:{"0":0.07187},H:{"0":0},L:{"0":40.00798},R:{_:"0"},M:{"0":0.2875},Q:{_:"14.9"}}; diff --git a/node_modules/caniuse-lite/data/regions/AI.js b/node_modules/caniuse-lite/data/regions/AI.js index 86cb856a05..7ab5610d22 100644 --- a/node_modules/caniuse-lite/data/regions/AI.js +++ b/node_modules/caniuse-lite/data/regions/AI.js @@ -1 +1 @@ -module.exports={C:{"97":0.00401,"105":0.02806,"107":0.00401,"122":0.00401,"125":0.04811,"126":1.14657,_:"2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 98 99 100 101 102 103 104 106 108 109 110 111 112 113 114 115 116 117 118 119 120 121 123 124 127 128 129 3.5 3.6"},D:{"41":0.04811,"76":0.00401,"83":0.00802,"86":0.00401,"88":0.00802,"98":0.00802,"101":0.00401,"102":0.00401,"103":0.00401,"106":0.05212,"107":0.02005,"108":0.01203,"109":0.25257,"110":0.08018,"112":0.01203,"113":0.01604,"114":0.00802,"115":0.01203,"116":0.0441,"119":0.04811,"120":0.22851,"121":0.02005,"122":0.01604,"123":0.66549,"124":8.00196,"125":3.51188,"126":0.00401,"127":0.06014,_:"4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 77 78 79 80 81 84 85 87 89 90 91 92 93 94 95 96 97 99 100 104 105 111 117 118 128"},F:{"109":0.99423,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 60 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 110 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"18":0.02405,"92":0.00401,"105":0.00401,"115":0.00401,"116":0.00802,"118":0.01203,"120":0.01604,"121":0.03207,"122":0.00802,"123":0.38486,"124":3.80855,"125":2.72612,_:"12 13 14 15 16 17 79 80 81 83 84 85 86 87 88 89 90 91 93 94 95 96 97 98 99 100 101 102 103 104 106 107 108 109 110 111 112 113 114 117 119"},E:{"13":0.02806,_:"0 4 5 6 7 8 9 10 11 12 14 15 3.1 3.2 5.1 6.1 7.1 9.1 10.1 11.1 12.1 15.4 17.6","13.1":0.16437,"14.1":0.09622,"15.1":0.05212,"15.2-15.3":0.17239,"15.5":0.02005,"15.6":1.2027,"16.0":0.05613,"16.1":0.02405,"16.2":0.28063,"16.3":0.34477,"16.4":0.08419,"16.5":0.2686,"16.6":2.1368,"17.0":0.04811,"17.1":0.25658,"17.2":0.30869,"17.3":0.34477,"17.4":7.52088,"17.5":1.29491},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.00699,"5.0-5.1":0.00699,"6.0-6.1":0.01747,"7.0-7.1":0.02445,"8.1-8.4":0.00699,"9.0-9.2":0.01747,"9.3":0.08035,"10.0-10.2":0.01397,"10.3":0.12576,"11.0-11.2":0.18515,"11.3-11.4":0.03493,"12.0-12.1":0.02096,"12.2-12.5":0.50654,"13.0-13.1":0.01048,"13.2":0.04891,"13.3":0.02445,"13.4-13.7":0.11179,"14.0-14.4":0.19213,"14.5-14.8":0.29693,"15.0-15.1":0.14323,"15.2-15.3":0.1572,"15.4":0.17816,"15.5":0.22357,"15.6-15.8":2.01217,"16.0":0.45763,"16.1":0.94321,"16.2":0.45763,"16.3":0.79299,"16.4":0.16768,"16.5":0.33886,"16.6-16.7":2.70036,"17.0":0.29344,"17.1":0.47859,"17.2":0.49955,"17.3":0.92224,"17.4":20.94265,"17.5":1.47769,"17.6":0},P:{"21":0.08492,"22":0.11676,"23":0.0743,"24":0.12738,"25":2.63244,_:"4 20 5.0-5.4 6.2-6.4 8.2 9.2 10.1 11.1-11.2 12.0 15.0 16.0 18.0 19.0","7.2-7.4":0.16983,"13.0":0.01061,"14.0":0.04246,"17.0":0.26537},I:{"0":0.00597,"3":0,"4":0,"2.1":0,"2.2":0,"2.3":0,"4.1":0,"4.2-4.3":0,"4.4":0,"4.4.3-4.4.4":0.00001},K:{"0":0.31752,_:"10 11 12 11.1 11.5 12.1"},A:{"10":0.02005,_:"6 7 8 9 11 5.5"},S:{_:"2.5 3.0-3.1"},J:{_:"7 10"},N:{_:"10 11"},L:{"0":22.6712},R:{_:"0"},M:{"0":0.60509},Q:{"14.9":0.02996},O:{"0":0.05392},H:{"0":0}}; +module.exports={C:{"124":0.01774,"129":0.02838,"130":0.14897,_:"2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 125 126 127 128 131 132 133 134 135 3.5 3.6"},D:{"34":0.00355,"100":0.04611,"103":0.03547,"109":0.56752,"110":0.04966,"113":0.00355,"115":0.01064,"116":0.31568,"117":0.00355,"122":0.03547,"123":0.01774,"124":0.00355,"125":0.02483,"126":0.08868,"127":0.55333,"128":8.17938,"129":2.60705,_:"4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 101 102 104 105 106 107 108 111 112 114 118 119 120 121 130 131 132 133"},F:{"84":0.02838,"112":0.32632,"113":0.04611,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 60 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 114 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"99":0.01774,"100":0.07094,"120":0.00355,"124":0.00355,"126":0.07094,"127":0.15607,"128":3.08944,"129":1.2379,_:"12 13 14 15 16 17 18 79 80 81 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 121 122 123 125 130"},E:{_:"0 4 5 6 7 8 9 10 11 12 13 14 15 3.1 3.2 5.1 6.1 7.1 9.1 10.1 11.1 14.1","12.1":0.00355,"13.1":0.01774,"15.1":0.00355,"15.2-15.3":0.04966,"15.4":0.00355,"15.5":0.04611,"15.6":1.09957,"16.0":0.01774,"16.1":0.15252,"16.2":0.10286,"16.3":0.42919,"16.4":0.00355,"16.5":0.04256,"16.6":1.66354,"17.0":0.34761,"17.1":0.1206,"17.2":0.08868,"17.3":0.18444,"17.4":0.68457,"17.5":1.80188,"17.6":9.37472,"18.0":0.09222,"18.1":0.03192},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.00798,"5.0-5.1":0.00399,"6.0-6.1":0.02395,"7.0-7.1":0.02794,"8.1-8.4":0,"9.0-9.2":0.02395,"9.3":0.06785,"10.0-10.2":0.01996,"10.3":0.11574,"11.0-11.2":0.42706,"11.3-11.4":0.03193,"12.0-12.1":0.01996,"12.2-12.5":0.48293,"13.0-13.1":0.00798,"13.2":0.15166,"13.3":0.01996,"13.4-13.7":0.07982,"14.0-14.4":0.18359,"14.5-14.8":0.24346,"15.0-15.1":0.13969,"15.2-15.3":0.1357,"15.4":0.15566,"15.5":0.19158,"15.6-15.8":1.89581,"16.0":0.38315,"16.1":0.75832,"16.2":0.37916,"16.3":0.63859,"16.4":0.1357,"16.5":0.26741,"16.6-16.7":2.28296,"17.0":0.19158,"17.1":0.30333,"17.2":0.27539,"17.3":0.39513,"17.4":0.84613,"17.5":4.06701,"17.6-17.7":21.64417,"18.0":2.72997,"18.1":0.12373},P:{"4":0.02266,"21":0.02266,"22":0.04532,"24":0.03399,"25":0.03399,"26":1.97129,_:"20 23 5.0-5.4 6.2-6.4 8.2 10.1 11.1-11.2 12.0 13.0 14.0 15.0 18.0 19.0","7.2-7.4":0.01133,"9.2":0.01133,"16.0":0.01133,"17.0":0.33988},I:{"0":0,"3":0,"4":0,"2.1":0,"2.2":0,"2.3":0,"4.1":0,"4.2-4.3":0,"4.4":0,"4.4.3-4.4.4":0},K:{"0":0.02581,_:"10 11 12 11.1 11.5 12.1"},A:{"11":0.01774,_:"6 7 8 9 10 5.5"},N:{_:"10 11"},S:{_:"2.5 3.0-3.1"},J:{_:"7 10"},O:{_:"0"},H:{"0":0},L:{"0":22.80473},R:{_:"0"},M:{"0":0.01936},Q:{"14.9":0.01936}}; diff --git a/node_modules/caniuse-lite/data/regions/AL.js b/node_modules/caniuse-lite/data/regions/AL.js index c922df56c7..53b10f7500 100644 --- a/node_modules/caniuse-lite/data/regions/AL.js +++ b/node_modules/caniuse-lite/data/regions/AL.js @@ -1 +1 @@ -module.exports={C:{"3":0.00192,"37":0.00192,"38":0.00192,"39":0.00192,"40":0.00192,"52":0.00576,"78":0.00192,"87":0.00576,"88":0.00192,"91":0.00192,"99":0.00192,"102":0.00192,"103":0.0192,"105":0.00192,"106":0.00192,"108":0.00576,"110":0.00192,"115":0.09024,"118":0.03072,"119":0.00192,"120":0.00384,"121":0.00192,"122":0.00192,"123":0.01536,"124":0.00576,"125":0.36864,"126":0.33792,"127":0.00576,_:"2 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 41 42 43 44 45 46 47 48 49 50 51 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 79 80 81 82 83 84 85 86 89 90 92 93 94 95 96 97 98 100 101 104 107 109 111 112 113 114 116 117 128 129 3.5","3.6":0.00192},D:{"11":0.00192,"21":0.00192,"34":0.00192,"35":0.00192,"36":0.00192,"37":0.00192,"38":0.00192,"39":0.00192,"40":0.00192,"41":0.00576,"42":0.00384,"43":0.00384,"44":0.00768,"45":0.00384,"46":0.00768,"47":0.00384,"49":0.24576,"51":0.01536,"63":0.00192,"65":0.00384,"66":0.00192,"70":0.00576,"71":0.00192,"73":0.00192,"74":0.00192,"75":0.00576,"79":0.02496,"80":0.00384,"83":0.01536,"85":0.00384,"86":0.00576,"87":0.01344,"88":0.00192,"89":0.00576,"90":0.00192,"91":0.00192,"93":0.00192,"94":0.00192,"95":0.00192,"96":0.00192,"97":0.00384,"98":0.0192,"99":0.0096,"102":0.00576,"103":0.0288,"104":0.03264,"105":0.03456,"106":0.00768,"107":0.00384,"108":0.03264,"109":1.3824,"110":0.00384,"111":0.01344,"112":0.02304,"113":0.00192,"114":0.0096,"115":0.00192,"116":0.11712,"117":0.00576,"118":0.00768,"119":0.02112,"120":0.47808,"121":0.04416,"122":0.10368,"123":0.31104,"124":6.38208,"125":2.5056,"126":0.00384,_:"4 5 6 7 8 9 10 12 13 14 15 16 17 18 19 20 22 23 24 25 26 27 28 29 30 31 32 33 48 50 52 53 54 55 56 57 58 59 60 61 62 64 67 68 69 72 76 77 78 81 84 92 100 101 127 128"},F:{"28":0.00192,"31":0.00192,"46":0.00384,"69":0.00384,"94":0.00384,"95":0.01344,"106":0.00192,"107":0.04032,"108":0.00768,"109":0.33024,"110":0.03072,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 29 30 32 33 34 35 36 37 38 39 40 41 42 43 44 45 47 48 49 50 51 52 53 54 55 56 57 58 60 62 63 64 65 66 67 68 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 96 97 98 99 100 101 102 103 104 105 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6","12.1":0.00192},B:{"12":0.00192,"16":0.00192,"18":0.00192,"89":0.04032,"92":0.00384,"98":0.00192,"99":0.00192,"105":0.00192,"108":0.00384,"109":0.01152,"111":0.00192,"112":0.00192,"113":0.00192,"117":0.00192,"118":0.00192,"119":0.00576,"120":0.01536,"121":0.0096,"122":0.00768,"123":0.02496,"124":0.5952,"125":0.35904,_:"13 14 15 17 79 80 81 83 84 85 86 87 88 90 91 93 94 95 96 97 100 101 102 103 104 106 107 110 114 115 116"},E:{"8":0.00192,"9":0.02304,"13":0.00192,"14":0.01152,_:"0 4 5 6 7 10 11 12 15 3.1 3.2 6.1 7.1 9.1 10.1 11.1 12.1 17.6","5.1":0.00192,"13.1":0.01536,"14.1":0.0384,"15.1":0.0192,"15.2-15.3":0.02688,"15.4":0.01152,"15.5":0.01728,"15.6":0.27648,"16.0":0.00768,"16.1":0.06336,"16.2":0.01728,"16.3":0.08064,"16.4":0.03072,"16.5":0.0288,"16.6":0.58368,"17.0":0.03456,"17.1":0.05952,"17.2":0.05184,"17.3":0.08256,"17.4":2.06592,"17.5":0.17856},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.00822,"5.0-5.1":0.00822,"6.0-6.1":0.02054,"7.0-7.1":0.02876,"8.1-8.4":0.00822,"9.0-9.2":0.02054,"9.3":0.0945,"10.0-10.2":0.01643,"10.3":0.14791,"11.0-11.2":0.21776,"11.3-11.4":0.04109,"12.0-12.1":0.02465,"12.2-12.5":0.59576,"13.0-13.1":0.01233,"13.2":0.05752,"13.3":0.02876,"13.4-13.7":0.13148,"14.0-14.4":0.22598,"14.5-14.8":0.34924,"15.0-15.1":0.16846,"15.2-15.3":0.18489,"15.4":0.20954,"15.5":0.26296,"15.6-15.8":2.3666,"16.0":0.53824,"16.1":1.10934,"16.2":0.53824,"16.3":0.93267,"16.4":0.19722,"16.5":0.39854,"16.6-16.7":3.17601,"17.0":0.34513,"17.1":0.56289,"17.2":0.58754,"17.3":1.08469,"17.4":24.63154,"17.5":1.73797,"17.6":0},P:{"4":0.08145,"20":0.04073,"21":0.08145,"22":0.08145,"23":0.12218,"24":0.37672,"25":3.41081,_:"5.0-5.4 8.2 10.1 12.0 15.0","6.2-6.4":0.02036,"7.2-7.4":0.112,"9.2":0.02036,"11.1-11.2":0.03054,"13.0":0.02036,"14.0":0.04073,"16.0":0.01018,"17.0":0.04073,"18.0":0.01018,"19.0":0.02036},I:{"0":0.12073,"3":0,"4":0.00001,"2.1":0,"2.2":0,"2.3":0,"4.1":0.00002,"4.2-4.3":0.00007,"4.4":0,"4.4.3-4.4.4":0.00027},K:{"0":0.17776,_:"10 11 12 11.1 11.5 12.1"},A:{"6":0.00205,"7":0.00409,"8":0.03886,"9":0.00614,"10":0.00614,"11":0.03477,_:"5.5"},S:{"2.5":0.00808,_:"3.0-3.1"},J:{_:"7 10"},N:{_:"10 11"},L:{"0":35.0932},R:{_:"0"},M:{"0":0.23432},Q:{_:"14.9"},O:{"0":0.05656},H:{"0":0}}; +module.exports={C:{"2":0.00173,"3":0.00346,"4":0.00346,"15":0.00173,"16":0.00173,"17":0.00173,"21":0.00173,"23":0.00173,"25":0.00173,"26":0.00173,"27":0.00173,"28":0.00173,"29":0.00173,"30":0.00173,"31":0.00346,"32":0.00173,"33":0.00173,"34":0.00173,"35":0.00173,"36":0.00173,"37":0.00173,"38":0.00346,"39":0.00346,"40":0.00693,"41":0.00173,"51":0.00346,"52":0.00173,"105":0.00173,"108":0.00173,"115":0.11085,"119":0.00173,"120":0.0052,"123":0.00346,"125":0.01732,"127":0.00346,"128":0.00346,"129":0.07794,"130":0.48669,"131":0.00173,_:"5 6 7 8 9 10 11 12 13 14 18 19 20 22 24 42 43 44 45 46 47 48 49 50 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 106 107 109 110 111 112 113 114 116 117 118 121 122 124 126 132 133 134 135","3.5":0.00173,"3.6":0.0052},D:{"11":0.00346,"18":0.00173,"21":0.00346,"27":0.00173,"28":0.00173,"31":0.00173,"32":0.00173,"33":0.00173,"34":0.00173,"35":0.00173,"36":0.00173,"37":0.0052,"38":0.00346,"39":0.00693,"40":0.0052,"41":0.00693,"42":0.0052,"43":0.01039,"44":0.02252,"45":0.01039,"46":0.01559,"47":0.00866,"48":0.00346,"49":0.00346,"51":0.02425,"55":0.00173,"56":0.0052,"65":0.00173,"66":0.00173,"68":0.00173,"69":0.00173,"70":0.00866,"71":0.00173,"73":0.00173,"74":0.00173,"75":0.0052,"79":0.04157,"81":0.00173,"83":0.01212,"85":0.00173,"86":0.0052,"87":0.01559,"88":0.00346,"89":0.00173,"90":0.00173,"91":0.00346,"92":0.00173,"93":0.00346,"94":0.00866,"95":0.00346,"97":0.00693,"98":0.00173,"99":0.00346,"102":0.00693,"103":0.03637,"104":0.01039,"105":0.00173,"106":0.00693,"107":0.00173,"108":0.00693,"109":1.06518,"110":0.00866,"111":0.27885,"113":0.00346,"114":0.0052,"115":0.00346,"116":0.0866,"117":0.00173,"118":0.00346,"119":0.00866,"120":0.02078,"121":0.00866,"122":0.03984,"123":0.0381,"124":0.24768,"125":0.03637,"126":0.11778,"127":0.41395,"128":5.4939,"129":1.74586,"130":0.01732,_:"4 5 6 7 8 9 10 12 13 14 15 16 17 19 20 22 23 24 25 26 29 30 50 52 53 54 57 58 59 60 61 62 63 64 67 72 76 77 78 80 84 96 100 101 112 131 132 133"},F:{"12":0.00173,"26":0.00173,"30":0.00173,"31":0.00346,"32":0.00173,"33":0.00173,"36":0.00173,"46":0.00866,"84":0.01559,"85":0.00173,"94":0.00173,"95":0.00693,"109":0.00346,"112":0.15588,"113":0.09699,"114":0.00346,_:"9 11 15 16 17 18 19 20 21 22 23 24 25 27 28 29 34 35 37 38 39 40 41 42 43 44 45 47 48 49 50 51 52 53 54 55 56 57 58 60 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 86 87 88 89 90 91 92 93 96 97 98 99 100 101 102 103 104 105 106 107 108 110 111 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6","12.1":0.00173},B:{"12":0.00173,"18":0.00173,"92":0.01039,"105":0.00346,"108":0.00173,"109":0.01212,"112":0.00173,"114":0.00173,"117":0.00173,"119":0.00173,"120":0.00693,"121":0.00866,"122":0.00346,"124":0.00173,"125":0.00173,"126":0.01559,"127":0.03291,"128":0.71012,"129":0.19745,_:"13 14 15 16 17 79 80 81 83 84 85 86 87 88 89 90 91 93 94 95 96 97 98 99 100 101 102 103 104 106 107 110 111 113 115 116 118 123 130"},E:{"4":0.00173,"5":0.00346,"6":0.00173,"7":0.00173,"8":0.00346,"9":0.04157,"13":0.00173,"14":0.01039,_:"0 10 11 12 15 3.1 3.2 6.1 9.1 10.1 11.1","5.1":0.00346,"7.1":0.00173,"12.1":0.00346,"13.1":0.01732,"14.1":0.01039,"15.1":0.0052,"15.2-15.3":0.00173,"15.4":0.0052,"15.5":0.05196,"15.6":0.28578,"16.0":0.01212,"16.1":0.0433,"16.2":0.00693,"16.3":0.14202,"16.4":0.00866,"16.5":0.02252,"16.6":0.24075,"17.0":0.01039,"17.1":0.02425,"17.2":0.05369,"17.3":0.03984,"17.4":0.13336,"17.5":0.3412,"17.6":2.42134,"18.0":0.14549,"18.1":0.00693},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.00985,"5.0-5.1":0.00493,"6.0-6.1":0.02956,"7.0-7.1":0.03448,"8.1-8.4":0,"9.0-9.2":0.02956,"9.3":0.08374,"10.0-10.2":0.02463,"10.3":0.14286,"11.0-11.2":0.52709,"11.3-11.4":0.03941,"12.0-12.1":0.02463,"12.2-12.5":0.59606,"13.0-13.1":0.00985,"13.2":0.18719,"13.3":0.02463,"13.4-13.7":0.09852,"14.0-14.4":0.2266,"14.5-14.8":0.30049,"15.0-15.1":0.17241,"15.2-15.3":0.16749,"15.4":0.19212,"15.5":0.23645,"15.6-15.8":2.33989,"16.0":0.4729,"16.1":0.93595,"16.2":0.46798,"16.3":0.78817,"16.4":0.16749,"16.5":0.33005,"16.6-16.7":2.81771,"17.0":0.23645,"17.1":0.37438,"17.2":0.3399,"17.3":0.48768,"17.4":1.04433,"17.5":5.01967,"17.6-17.7":26.7141,"18.0":3.36943,"18.1":0.15271},P:{"4":0.09164,"20":0.02036,"21":0.05091,"22":0.07128,"23":0.03055,"24":0.10182,"25":0.19347,"26":2.27068,_:"5.0-5.4 8.2 9.2 10.1 11.1-11.2 12.0 15.0","6.2-6.4":0.03055,"7.2-7.4":0.07128,"13.0":0.01018,"14.0":0.04073,"16.0":0.01018,"17.0":0.01018,"18.0":0.01018,"19.0":0.01018},I:{"0":0.1979,"3":0,"4":0,"2.1":0,"2.2":0,"2.3":0,"4.1":0.00002,"4.2-4.3":0.00008,"4.4":0,"4.4.3-4.4.4":0.00032},K:{"0":0.19016,_:"10 11 12 11.1 11.5 12.1"},A:{"6":0.00352,"7":0.00879,"8":0.08262,"9":0.01758,"10":0.01758,"11":0.10196,_:"5.5"},N:{_:"10 11"},S:{"2.5":0.00827,_:"3.0-3.1"},J:{_:"7 10"},O:{"0":0.03307},H:{"0":0},L:{"0":30.09005},R:{_:"0"},M:{"0":0.27284},Q:{_:"14.9"}}; diff --git a/node_modules/caniuse-lite/data/regions/AM.js b/node_modules/caniuse-lite/data/regions/AM.js index 06ac59d99a..30ba0919eb 100644 --- a/node_modules/caniuse-lite/data/regions/AM.js +++ b/node_modules/caniuse-lite/data/regions/AM.js @@ -1 +1 @@ -module.exports={C:{"52":58.46429,"56":0.00754,"115":0.15826,"123":0.00754,"124":0.00754,"125":0.21101,"126":0.20347,_:"2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 53 54 55 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 116 117 118 119 120 121 122 127 128 129 3.5 3.6"},D:{"49":0.00754,"51":0.00754,"79":0.00754,"80":0.00754,"83":0.01507,"88":0.01507,"90":0.01507,"92":0.00754,"96":0.00754,"97":0.00754,"98":0.00754,"99":0.00754,"100":0.01507,"102":0.01507,"103":0.00754,"105":0.00754,"106":0.01507,"107":0.00754,"108":0.01507,"109":1.86139,"110":0.01507,"111":0.00754,"112":0.00754,"113":0.00754,"114":0.00754,"116":0.05275,"117":0.02261,"118":0.01507,"119":0.02261,"120":0.09797,"121":0.03768,"122":0.05275,"123":0.33912,"124":7.22702,"125":2.83354,"126":0.00754,_:"4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 50 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 81 84 85 86 87 89 91 93 94 95 101 104 115 127 128"},F:{"85":0.00754,"95":0.06029,"107":0.03014,"109":0.58781,"110":0.03014,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 60 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 86 87 88 89 90 91 92 93 94 96 97 98 99 100 101 102 103 104 105 106 108 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"18":0.00754,"108":0.00754,"109":0.00754,"120":0.00754,"121":0.00754,"122":0.00754,"123":0.02261,"124":0.51245,"125":0.2939,_:"12 13 14 15 16 17 79 80 81 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 110 111 112 113 114 115 116 117 118 119"},E:{"14":0.00754,_:"0 4 5 6 7 8 9 10 11 12 13 15 3.1 3.2 6.1 7.1 9.1 10.1 11.1 12.1 15.1 15.2-15.3 16.0 17.6","5.1":0.00754,"13.1":0.00754,"14.1":0.00754,"15.4":0.00754,"15.5":0.00754,"15.6":0.06029,"16.1":0.01507,"16.2":0.01507,"16.3":0.09797,"16.4":0.00754,"16.5":0.01507,"16.6":0.09043,"17.0":0.03014,"17.1":0.02261,"17.2":0.03014,"17.3":0.02261,"17.4":0.28637,"17.5":0.0829},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.00126,"5.0-5.1":0.00126,"6.0-6.1":0.00314,"7.0-7.1":0.0044,"8.1-8.4":0.00126,"9.0-9.2":0.00314,"9.3":0.01446,"10.0-10.2":0.00252,"10.3":0.02264,"11.0-11.2":0.03333,"11.3-11.4":0.00629,"12.0-12.1":0.00377,"12.2-12.5":0.09118,"13.0-13.1":0.00189,"13.2":0.0088,"13.3":0.0044,"13.4-13.7":0.02012,"14.0-14.4":0.03458,"14.5-14.8":0.05345,"15.0-15.1":0.02578,"15.2-15.3":0.0283,"15.4":0.03207,"15.5":0.04024,"15.6-15.8":0.3622,"16.0":0.08237,"16.1":0.16978,"16.2":0.08237,"16.3":0.14274,"16.4":0.03018,"16.5":0.06099,"16.6-16.7":0.48607,"17.0":0.05282,"17.1":0.08615,"17.2":0.08992,"17.3":0.16601,"17.4":3.76973,"17.5":0.26599,"17.6":0},P:{"20":0.01047,"21":0.05236,"22":0.03142,"23":0.05236,"24":0.12566,"25":0.65974,_:"4 5.0-5.4 6.2-6.4 8.2 9.2 11.1-11.2 12.0 14.0 16.0 18.0","7.2-7.4":0.04189,"10.1":0.02094,"13.0":0.02094,"15.0":0.01047,"17.0":0.01047,"19.0":0.01047},I:{"0":0.02454,"3":0,"4":0,"2.1":0,"2.2":0,"2.3":0,"4.1":0,"4.2-4.3":0.00001,"4.4":0,"4.4.3-4.4.4":0.00005},K:{"0":0.33685,_:"10 11 12 11.1 11.5 12.1"},A:{"8":0.01507,"11":0.03014,_:"6 7 9 10 5.5"},S:{"2.5":0.00739,_:"3.0-3.1"},J:{_:"7 10"},N:{_:"10 11"},L:{"0":16.764},R:{_:"0"},M:{"0":0.04928},Q:{_:"14.9"},O:{"0":0.07392},H:{"0":0.05}}; +module.exports={C:{"52":54.30914,"56":0.00722,"113":0.00722,"115":0.14442,"125":0.00722,"127":0.00722,"128":0.01444,"129":0.08665,"130":0.4477,_:"2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 53 54 55 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 114 116 117 118 119 120 121 122 123 124 126 131 132 133 134 135 3.5 3.6"},D:{"51":0.00722,"58":0.00722,"65":0.00722,"77":0.02888,"79":0.00722,"80":0.00722,"87":0.00722,"88":0.00722,"92":0.00722,"94":0.00722,"97":0.05777,"98":0.00722,"99":0.00722,"101":0.00722,"102":0.00722,"103":0.00722,"106":0.00722,"107":0.00722,"108":0.00722,"109":1.51641,"110":0.01444,"112":0.00722,"114":0.00722,"115":0.00722,"116":0.08665,"117":0.02888,"118":0.01444,"119":0.01444,"120":0.02888,"121":0.01444,"122":0.03611,"123":0.06499,"124":0.19497,"125":0.05055,"126":0.12276,"127":0.38993,"128":8.26805,"129":2.49125,"130":0.01444,_:"4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 52 53 54 55 56 57 59 60 61 62 63 64 66 67 68 69 70 71 72 73 74 75 76 78 81 83 84 85 86 89 90 91 93 95 96 100 104 105 111 113 131 132 133"},F:{"79":0.01444,"82":0.01444,"84":0.00722,"85":0.00722,"95":0.05055,"112":0.26718,"113":0.19497,"114":0.00722,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 60 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 80 81 83 86 87 88 89 90 91 92 93 94 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"92":0.00722,"108":0.00722,"109":0.03611,"121":0.00722,"126":0.00722,"127":0.01444,"128":0.63545,"129":0.23829,_:"12 13 14 15 16 17 18 79 80 81 83 84 85 86 87 88 89 90 91 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 110 111 112 113 114 115 116 117 118 119 120 122 123 124 125 130"},E:{"14":0.02166,"15":0.00722,_:"0 4 5 6 7 8 9 10 11 12 13 3.1 3.2 5.1 6.1 7.1 9.1 10.1 11.1 12.1 15.1 15.2-15.3","13.1":0.00722,"14.1":0.01444,"15.4":0.00722,"15.5":0.00722,"15.6":0.04333,"16.0":0.02166,"16.1":0.05777,"16.2":0.00722,"16.3":0.16608,"16.4":0.00722,"16.5":0.02166,"16.6":0.07943,"17.0":0.00722,"17.1":0.11554,"17.2":0.01444,"17.3":0.02166,"17.4":0.03611,"17.5":0.08665,"17.6":0.28162,"18.0":0.09387,"18.1":0.01444},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.00151,"5.0-5.1":0.00075,"6.0-6.1":0.00452,"7.0-7.1":0.00527,"8.1-8.4":0,"9.0-9.2":0.00452,"9.3":0.01281,"10.0-10.2":0.00377,"10.3":0.02185,"11.0-11.2":0.08061,"11.3-11.4":0.00603,"12.0-12.1":0.00377,"12.2-12.5":0.09116,"13.0-13.1":0.00151,"13.2":0.02863,"13.3":0.00377,"13.4-13.7":0.01507,"14.0-14.4":0.03466,"14.5-14.8":0.04596,"15.0-15.1":0.02637,"15.2-15.3":0.02562,"15.4":0.02938,"15.5":0.03616,"15.6-15.8":0.35786,"16.0":0.07233,"16.1":0.14314,"16.2":0.07157,"16.3":0.12054,"16.4":0.02562,"16.5":0.05048,"16.6-16.7":0.43094,"17.0":0.03616,"17.1":0.05726,"17.2":0.05198,"17.3":0.07459,"17.4":0.15972,"17.5":0.76771,"17.6-17.7":4.08565,"18.0":0.51532,"18.1":0.02336},P:{"20":0.01068,"21":0.02136,"22":0.03205,"23":0.04273,"24":0.02136,"25":0.11751,"26":0.71572,_:"4 5.0-5.4 6.2-6.4 8.2 9.2 10.1 11.1-11.2 12.0 13.0 14.0 15.0 16.0 18.0","7.2-7.4":0.05341,"17.0":0.01068,"19.0":0.01068},I:{"0":0.00831,"3":0,"4":0,"2.1":0,"2.2":0,"2.3":0,"4.1":0,"4.2-4.3":0,"4.4":0,"4.4.3-4.4.4":0.00001},K:{"0":0.24558,_:"10 11 12 11.1 11.5 12.1"},A:{"11":0.02166,_:"6 7 8 9 10 5.5"},N:{_:"10 11"},S:{"2.5":0.00556,_:"3.0-3.1"},J:{_:"7 10"},O:{"0":0.11668},H:{"0":0.01},L:{"0":18.76085},R:{_:"0"},M:{"0":0.11668},Q:{_:"14.9"}}; diff --git a/node_modules/caniuse-lite/data/regions/AO.js b/node_modules/caniuse-lite/data/regions/AO.js index 1b64a475ed..6b81826397 100644 --- a/node_modules/caniuse-lite/data/regions/AO.js +++ b/node_modules/caniuse-lite/data/regions/AO.js @@ -1 +1 @@ -module.exports={C:{"26":0.00314,"34":0.01569,"78":0.00314,"88":0.00314,"99":0.01883,"113":0.00314,"115":0.13807,"123":0.00314,"124":0.00628,"125":0.22594,"126":0.16318,_:"2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 27 28 29 30 31 32 33 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 79 80 81 82 83 84 85 86 87 89 90 91 92 93 94 95 96 97 98 100 101 102 103 104 105 106 107 108 109 110 111 112 114 116 117 118 119 120 121 122 127 128 129 3.5 3.6"},D:{"11":0.00314,"40":0.00314,"42":0.0251,"43":0.00628,"46":0.00941,"47":0.00314,"50":0.00314,"54":0.00314,"55":0.00314,"56":0.00314,"62":0.00314,"67":0.00628,"68":0.00314,"69":0.00314,"70":0.00314,"72":0.00314,"73":0.00314,"75":0.00941,"76":0.00628,"77":0.00314,"79":0.01569,"81":0.0251,"83":0.00628,"84":0.00314,"85":0.00941,"86":0.02824,"87":0.07217,"88":0.00628,"89":0.00314,"90":0.00941,"91":0.00628,"92":0.091,"93":0.00628,"94":0.02824,"95":0.01255,"97":0.00314,"98":0.01255,"99":0.00628,"100":0.00628,"101":0.01255,"102":0.01883,"103":0.01569,"104":0.00314,"105":0.00628,"106":0.0251,"107":0.00314,"108":0.00628,"109":1.69138,"110":0.00628,"111":0.00314,"112":0.00628,"113":0.00314,"114":0.01569,"115":0.00628,"116":0.13807,"117":0.01569,"118":0.00628,"119":0.04707,"120":0.06904,"121":0.0659,"122":0.07845,"123":0.19456,"124":5.3095,"125":1.92359,"126":0.00941,_:"4 5 6 7 8 9 10 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 41 44 45 48 49 51 52 53 57 58 59 60 61 63 64 65 66 71 74 78 80 96 127 128"},F:{"28":0.00314,"40":0.00314,"42":0.00314,"48":0.00314,"79":0.01255,"85":0.00628,"95":0.091,"102":0.00628,"106":0.00314,"107":0.01883,"108":0.01569,"109":0.62132,"110":0.04707,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 29 30 31 32 33 34 35 36 37 38 39 41 43 44 45 46 47 49 50 51 52 53 54 55 56 57 58 60 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 80 81 82 83 84 86 87 88 89 90 91 92 93 94 96 97 98 99 100 101 103 104 105 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"12":0.00628,"14":0.00628,"15":0.04079,"16":0.00628,"17":0.00628,"18":0.01883,"81":0.00314,"84":0.01569,"89":0.01255,"90":0.01569,"92":0.03766,"100":0.00628,"101":0.00628,"103":0.00314,"109":0.07531,"111":0.00314,"112":0.00314,"113":0.00314,"114":0.01883,"115":0.00314,"116":0.00628,"117":0.00628,"118":0.00628,"119":0.01255,"120":0.05021,"121":0.0251,"122":0.07217,"123":0.09414,"124":1.96439,"125":0.80647,_:"13 79 80 83 85 86 87 88 91 93 94 95 96 97 98 99 102 104 105 106 107 108 110"},E:{"13":0.00314,"15":0.00314,_:"0 4 5 6 7 8 9 10 11 12 14 3.1 3.2 5.1 6.1 7.1 9.1 10.1 11.1 12.1 15.1 15.2-15.3 15.5 16.0 16.1 16.2 16.3 16.4 16.5 17.1 17.2 17.6","13.1":0.01255,"14.1":0.00314,"15.4":0.00314,"15.6":0.05962,"16.6":0.00628,"17.0":0.00314,"17.3":0.01569,"17.4":0.04393,"17.5":0.00628},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.00174,"5.0-5.1":0.00174,"6.0-6.1":0.00434,"7.0-7.1":0.00608,"8.1-8.4":0.00174,"9.0-9.2":0.00434,"9.3":0.01998,"10.0-10.2":0.00347,"10.3":0.03127,"11.0-11.2":0.04604,"11.3-11.4":0.00869,"12.0-12.1":0.00521,"12.2-12.5":0.12597,"13.0-13.1":0.00261,"13.2":0.01216,"13.3":0.00608,"13.4-13.7":0.0278,"14.0-14.4":0.04778,"14.5-14.8":0.07384,"15.0-15.1":0.03562,"15.2-15.3":0.03909,"15.4":0.04431,"15.5":0.0556,"15.6-15.8":0.50039,"16.0":0.1138,"16.1":0.23456,"16.2":0.1138,"16.3":0.1972,"16.4":0.0417,"16.5":0.08427,"16.6-16.7":0.67153,"17.0":0.07297,"17.1":0.11902,"17.2":0.12423,"17.3":0.22934,"17.4":5.20803,"17.5":0.36747,"17.6":0},P:{"4":0.21421,"20":0.0204,"21":0.0408,"22":0.0306,"23":0.0612,"24":0.153,"25":0.23461,"5.0-5.4":0.0102,"6.2-6.4":0.0204,"7.2-7.4":0.1122,_:"8.2 9.2 10.1 11.1-11.2 12.0","13.0":0.0408,"14.0":0.0408,"15.0":0.0306,"16.0":0.0102,"17.0":0.0612,"18.0":0.0306,"19.0":0.0204},I:{"0":0.1162,"3":0,"4":0.00001,"2.1":0,"2.2":0,"2.3":0,"4.1":0.00002,"4.2-4.3":0.00007,"4.4":0,"4.4.3-4.4.4":0.00026},K:{"0":0.40875,_:"10 11 12 11.1 11.5 12.1"},A:{"11":0.00314,_:"6 7 8 9 10 5.5"},S:{"2.5":0.10293,_:"3.0-3.1"},J:{_:"7 10"},N:{_:"10 11"},L:{"0":73.77267},R:{_:"0"},M:{"0":0.07548},Q:{_:"14.9"},O:{"0":0.09607},H:{"0":0.25}}; +module.exports={C:{"34":0.00895,"42":0.00596,"78":0.00596,"89":0.00298,"115":0.10735,"124":0.00298,"125":0.00298,"127":0.00298,"128":0.00895,"129":0.05069,"130":0.24751,_:"2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 35 36 37 38 39 40 41 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 79 80 81 82 83 84 85 86 87 88 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 116 117 118 119 120 121 122 123 126 131 132 133 134 135 3.5 3.6"},D:{"11":0.00298,"42":0.00298,"43":0.00298,"44":0.00298,"46":0.00298,"50":0.00298,"56":0.00596,"63":0.00298,"67":0.00298,"68":0.00298,"69":0.00596,"70":0.00298,"72":0.00298,"73":0.00596,"75":0.00596,"76":0.01193,"79":0.00895,"80":0.00298,"81":0.00895,"83":0.00298,"86":0.01789,"87":0.03877,"88":0.01491,"89":0.00298,"90":0.00895,"91":0.00298,"92":0.00596,"93":0.00596,"94":0.00298,"95":0.01789,"98":0.01193,"99":0.02386,"100":0.01491,"101":0.00895,"102":0.00895,"103":0.00895,"104":0.00298,"105":0.00596,"106":0.01789,"107":0.00298,"108":0.00298,"109":1.19578,"110":0.00895,"111":0.02087,"112":0.00596,"113":0.00298,"114":0.02087,"116":0.07157,"117":0.00596,"118":0.02386,"119":0.02087,"120":0.0328,"121":0.01491,"122":0.02087,"123":0.02684,"124":0.03877,"125":0.04175,"126":0.0656,"127":0.31907,"128":4.74734,"129":1.90848,"130":0.01491,_:"4 5 6 7 8 9 10 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 45 47 48 49 51 52 53 54 55 57 58 59 60 61 62 64 65 66 71 74 77 78 84 85 96 97 115 131 132 133"},F:{"36":0.00298,"42":0.00298,"79":0.03877,"87":0.00298,"95":0.06859,"108":0.00298,"109":0.01491,"110":0.00298,"111":0.00298,"112":0.34591,"113":0.17594,"114":0.00298,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 37 38 39 40 41 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 60 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 80 81 82 83 84 85 86 88 89 90 91 92 93 94 96 97 98 99 100 101 102 103 104 105 106 107 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"12":0.00298,"14":0.00895,"15":0.00895,"17":0.00298,"18":0.00895,"84":0.01789,"85":0.00298,"89":0.00596,"90":0.01789,"92":0.02982,"100":0.00298,"101":0.00895,"106":0.00596,"109":0.08051,"113":0.00298,"114":0.01193,"117":0.00298,"118":0.00298,"119":0.00298,"120":0.01789,"121":0.01193,"122":0.00895,"123":0.00895,"124":0.02982,"125":0.02684,"126":0.0656,"127":0.1163,"128":1.92041,"129":0.96617,_:"13 16 79 80 81 83 86 87 88 91 93 94 95 96 97 98 99 102 103 104 105 107 108 110 111 112 115 116 130"},E:{"14":0.00298,_:"0 4 5 6 7 8 9 10 11 12 13 15 3.1 3.2 5.1 6.1 7.1 9.1 10.1 11.1 15.1 15.2-15.3 15.4 15.5 16.1 16.2 16.3 16.4 16.5 17.0 17.1 17.2 18.1","12.1":0.00298,"13.1":0.01193,"14.1":0.02386,"15.6":0.05069,"16.0":0.00298,"16.6":0.02087,"17.3":0.00298,"17.4":0.00298,"17.5":0.01193,"17.6":0.0328,"18.0":0.00298},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.00182,"5.0-5.1":0.00091,"6.0-6.1":0.00545,"7.0-7.1":0.00636,"8.1-8.4":0,"9.0-9.2":0.00545,"9.3":0.01545,"10.0-10.2":0.00454,"10.3":0.02635,"11.0-11.2":0.09723,"11.3-11.4":0.00727,"12.0-12.1":0.00454,"12.2-12.5":0.10995,"13.0-13.1":0.00182,"13.2":0.03453,"13.3":0.00454,"13.4-13.7":0.01817,"14.0-14.4":0.0418,"14.5-14.8":0.05543,"15.0-15.1":0.0318,"15.2-15.3":0.0309,"15.4":0.03544,"15.5":0.04362,"15.6-15.8":0.43163,"16.0":0.08724,"16.1":0.17265,"16.2":0.08633,"16.3":0.14539,"16.4":0.0309,"16.5":0.06088,"16.6-16.7":0.51978,"17.0":0.04362,"17.1":0.06906,"17.2":0.0627,"17.3":0.08996,"17.4":0.19264,"17.5":0.92597,"17.6-17.7":4.92789,"18.0":0.62155,"18.1":0.02817},P:{"4":0.09333,"20":0.01037,"21":0.03111,"22":0.02074,"23":0.04148,"24":0.05185,"25":0.12443,"26":0.25924,"5.0-5.4":0.01037,_:"6.2-6.4 8.2 10.1 11.1-11.2 12.0","7.2-7.4":0.1348,"9.2":0.01037,"13.0":0.01037,"14.0":0.01037,"15.0":0.02074,"16.0":0.02074,"17.0":0.04148,"18.0":0.02074,"19.0":0.02074},I:{"0":0.04899,"3":0,"4":0,"2.1":0,"2.2":0,"2.3":0,"4.1":0,"4.2-4.3":0.00002,"4.4":0,"4.4.3-4.4.4":0.00008},K:{"0":0.23366,_:"10 11 12 11.1 11.5 12.1"},A:{"11":0.00298,_:"6 7 8 9 10 5.5"},N:{_:"10 11"},S:{"2.5":0.07017,_:"3.0-3.1"},J:{_:"7 10"},O:{"0":0.09122},H:{"0":0.04},L:{"0":75.45803},R:{_:"0"},M:{"0":0.12631},Q:{_:"14.9"}}; diff --git a/node_modules/caniuse-lite/data/regions/AR.js b/node_modules/caniuse-lite/data/regions/AR.js index d4c6b967d0..8b31e59eab 100644 --- a/node_modules/caniuse-lite/data/regions/AR.js +++ b/node_modules/caniuse-lite/data/regions/AR.js @@ -1 +1 @@ -module.exports={C:{"4":0.00396,"52":0.0277,"59":0.01979,"68":0.00396,"72":0.00396,"78":0.01187,"80":0.00791,"82":0.00396,"84":0.00396,"86":0.00791,"88":0.04748,"89":0.00396,"90":0.01187,"91":0.0554,"93":0.00396,"96":0.00396,"99":0.00396,"101":0.00396,"102":0.00791,"103":0.03561,"105":0.00396,"106":0.00396,"107":0.00396,"108":0.00396,"109":0.00396,"110":0.00396,"111":0.00396,"112":0.00396,"113":0.01187,"114":0.00396,"115":0.40361,"116":0.00396,"117":0.03166,"118":0.00396,"119":0.00396,"120":0.01583,"121":0.00396,"122":0.00791,"123":0.00791,"124":0.02374,"125":0.63312,"126":0.59751,"127":0.00396,_:"2 3 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 53 54 55 56 57 58 60 61 62 63 64 65 66 67 69 70 71 73 74 75 76 77 79 81 83 85 87 92 94 95 97 98 100 104 128 129 3.5 3.6"},D:{"34":0.00396,"38":0.03561,"47":0.00396,"49":0.05144,"56":0.00396,"58":0.00396,"63":0.00396,"66":0.03561,"71":0.00396,"74":0.00396,"75":0.00396,"76":0.00396,"78":0.00791,"79":0.01979,"80":0.00396,"81":0.00396,"83":0.00396,"84":0.00396,"85":0.00396,"86":0.00396,"87":0.01979,"88":0.01979,"89":0.00791,"90":0.00791,"91":0.03561,"92":0.0277,"93":0.01583,"94":0.00396,"95":0.01187,"96":0.00791,"97":0.01187,"98":0.00396,"99":0.00791,"100":0.00791,"101":0.00791,"102":0.00791,"103":0.04353,"104":0.01187,"105":0.01187,"106":0.01979,"107":0.01583,"108":0.02374,"109":3.87786,"110":0.02374,"111":0.01187,"112":0.01187,"113":0.01583,"114":0.01979,"115":0.01979,"116":0.09101,"117":0.03166,"118":0.01583,"119":0.06331,"120":0.09893,"121":0.15432,"122":0.18598,"123":0.65291,"124":17.36332,"125":7.16613,"126":0.00396,_:"4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 35 36 37 39 40 41 42 43 44 45 46 48 50 51 52 53 54 55 57 59 60 61 62 64 65 67 68 69 70 72 73 77 127 128"},F:{"28":0.00396,"36":0.00396,"77":0.00396,"79":0.00396,"85":0.00396,"95":0.06727,"102":0.00396,"107":0.48671,"108":0.00791,"109":1.46805,"110":0.04353,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 29 30 31 32 33 34 35 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 60 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 78 80 81 82 83 84 86 87 88 89 90 91 92 93 94 96 97 98 99 100 101 103 104 105 106 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"17":0.00396,"18":0.00396,"92":0.01583,"109":0.04353,"112":0.00396,"113":0.00396,"114":0.00396,"115":0.00396,"116":0.00396,"117":0.00396,"118":0.00396,"119":0.00791,"120":0.01187,"121":0.00791,"122":0.01979,"123":0.06331,"124":1.77274,"125":0.97342,_:"12 13 14 15 16 79 80 81 83 84 85 86 87 88 89 90 91 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 110 111"},E:{"14":0.00791,_:"0 4 5 6 7 8 9 10 11 12 13 15 3.1 3.2 6.1 7.1 9.1 10.1 17.6","5.1":0.00791,"11.1":0.00791,"12.1":0.00396,"13.1":0.01583,"14.1":0.0277,"15.1":0.00791,"15.2-15.3":0.00396,"15.4":0.00396,"15.5":0.00791,"15.6":0.04748,"16.0":0.00396,"16.1":0.00791,"16.2":0.00396,"16.3":0.01583,"16.4":0.00791,"16.5":0.01187,"16.6":0.04748,"17.0":0.01979,"17.1":0.01583,"17.2":0.0277,"17.3":0.01979,"17.4":0.26116,"17.5":0.05144},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.00097,"5.0-5.1":0.00097,"6.0-6.1":0.00242,"7.0-7.1":0.00338,"8.1-8.4":0.00097,"9.0-9.2":0.00242,"9.3":0.01112,"10.0-10.2":0.00193,"10.3":0.0174,"11.0-11.2":0.02562,"11.3-11.4":0.00483,"12.0-12.1":0.0029,"12.2-12.5":0.0701,"13.0-13.1":0.00145,"13.2":0.00677,"13.3":0.00338,"13.4-13.7":0.01547,"14.0-14.4":0.02659,"14.5-14.8":0.04109,"15.0-15.1":0.01982,"15.2-15.3":0.02175,"15.4":0.02466,"15.5":0.03094,"15.6-15.8":0.27846,"16.0":0.06333,"16.1":0.13053,"16.2":0.06333,"16.3":0.10974,"16.4":0.02321,"16.5":0.04689,"16.6-16.7":0.3737,"17.0":0.04061,"17.1":0.06623,"17.2":0.06913,"17.3":0.12763,"17.4":2.89822,"17.5":0.2045,"17.6":0},P:{"4":0.11193,"20":0.02035,"21":0.05088,"22":0.0407,"23":0.10176,"24":0.19334,"25":2.48288,"5.0-5.4":0.01018,_:"6.2-6.4 8.2 9.2 10.1 12.0","7.2-7.4":0.15264,"11.1-11.2":0.01018,"13.0":0.02035,"14.0":0.02035,"15.0":0.01018,"16.0":0.02035,"17.0":0.07123,"18.0":0.01018,"19.0":0.02035},I:{"0":0.02408,"3":0,"4":0,"2.1":0,"2.2":0,"2.3":0,"4.1":0,"4.2-4.3":0.00001,"4.4":0,"4.4.3-4.4.4":0.00005},K:{"0":0.12899,_:"10 11 12 11.1 11.5 12.1"},A:{"8":0.00396,"11":0.05144,_:"6 7 9 10 5.5"},S:{_:"2.5 3.0-3.1"},J:{_:"7 10"},N:{_:"10 11"},L:{"0":52.89576},R:{_:"0"},M:{"0":0.11482},Q:{_:"14.9"},O:{"0":0.03022},H:{"0":0.01}}; +module.exports={C:{"52":0.01951,"59":0.01951,"66":0.0039,"68":0.0039,"72":0.0039,"78":0.0039,"79":0.0039,"80":0.0039,"81":0.0078,"82":0.0039,"84":0.0039,"86":0.0078,"88":0.04681,"91":0.03511,"92":0.0039,"94":0.0039,"95":0.0039,"99":0.0039,"101":0.0039,"102":0.0039,"103":0.02341,"106":0.0039,"107":0.0039,"108":0.0039,"109":0.0039,"111":0.0039,"112":0.0039,"113":0.0078,"114":0.0039,"115":0.44081,"118":0.0039,"119":0.0039,"120":0.0156,"121":0.0039,"122":0.0039,"123":0.0078,"124":0.0039,"125":0.0078,"126":0.0078,"127":0.04681,"128":0.0117,"129":0.23406,"130":0.97915,"131":0.0078,_:"2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 53 54 55 56 57 58 60 61 62 63 64 65 67 69 70 71 73 74 75 76 77 83 85 87 89 90 93 96 97 98 100 104 105 110 116 117 132 133 134 135 3.5 3.6"},D:{"38":0.0117,"47":0.0039,"49":0.03121,"63":0.0039,"65":0.0039,"66":0.03901,"70":0.0039,"71":0.0039,"74":0.0039,"75":0.0039,"76":0.0039,"78":0.0117,"79":0.01951,"80":0.0039,"81":0.0039,"83":0.0039,"84":0.0039,"85":0.0039,"86":0.0039,"87":0.02731,"88":0.03901,"89":0.0039,"90":0.0039,"91":0.0078,"92":0.0078,"93":0.0039,"94":0.02341,"95":0.0078,"96":0.0039,"97":0.0078,"98":0.0039,"99":0.0078,"100":0.0078,"101":0.0078,"102":0.0078,"103":0.05852,"104":0.0078,"105":0.0078,"106":0.0117,"107":0.0078,"108":0.01951,"109":3.44848,"110":0.0156,"111":0.0117,"112":0.0117,"113":0.0078,"114":0.01951,"115":0.0078,"116":0.07802,"117":0.0078,"118":0.0156,"119":0.05461,"120":0.06632,"121":0.10533,"122":0.10533,"123":0.08192,"124":0.14434,"125":0.10143,"126":0.17555,"127":0.86992,"128":17.96801,"129":6.41324,"130":0.0039,_:"4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 39 40 41 42 43 44 45 46 48 50 51 52 53 54 55 56 57 58 59 60 61 62 64 67 68 69 72 73 77 131 132 133"},F:{"36":0.0039,"84":0.0039,"95":0.04291,"102":0.0039,"109":0.03901,"111":0.0117,"112":0.85042,"113":0.71388,"114":0.0039,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 60 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 85 86 87 88 89 90 91 92 93 94 96 97 98 99 100 101 103 104 105 106 107 108 110 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"17":0.0039,"18":0.0039,"92":0.0078,"95":0.0039,"109":0.03901,"113":0.0039,"114":0.0039,"115":0.0039,"116":0.0039,"117":0.0039,"119":0.0039,"120":0.0078,"121":0.0039,"122":0.0078,"123":0.0078,"124":0.0078,"125":0.0078,"126":0.01951,"127":0.06242,"128":1.91149,"129":0.7958,_:"12 13 14 15 16 79 80 81 83 84 85 86 87 88 89 90 91 93 94 96 97 98 99 100 101 102 103 104 105 106 107 108 110 111 112 118 130"},E:{"14":0.0078,_:"0 4 5 6 7 8 9 10 11 12 13 15 3.1 3.2 6.1 7.1 9.1 10.1","5.1":0.0039,"11.1":0.0078,"12.1":0.0039,"13.1":0.0078,"14.1":0.0156,"15.1":0.0039,"15.2-15.3":0.0039,"15.4":0.0039,"15.5":0.0039,"15.6":0.05071,"16.0":0.0039,"16.1":0.0078,"16.2":0.0039,"16.3":0.0117,"16.4":0.0039,"16.5":0.0117,"16.6":0.06242,"17.0":0.0039,"17.1":0.0078,"17.2":0.0117,"17.3":0.0078,"17.4":0.01951,"17.5":0.06632,"17.6":0.28867,"18.0":0.04681,"18.1":0.0039},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.00104,"5.0-5.1":0.00052,"6.0-6.1":0.00312,"7.0-7.1":0.00364,"8.1-8.4":0,"9.0-9.2":0.00312,"9.3":0.00884,"10.0-10.2":0.0026,"10.3":0.01509,"11.0-11.2":0.05567,"11.3-11.4":0.00416,"12.0-12.1":0.0026,"12.2-12.5":0.06295,"13.0-13.1":0.00104,"13.2":0.01977,"13.3":0.0026,"13.4-13.7":0.0104,"14.0-14.4":0.02393,"14.5-14.8":0.03173,"15.0-15.1":0.01821,"15.2-15.3":0.01769,"15.4":0.02029,"15.5":0.02497,"15.6-15.8":0.24712,"16.0":0.04994,"16.1":0.09885,"16.2":0.04942,"16.3":0.08324,"16.4":0.01769,"16.5":0.03486,"16.6-16.7":0.29758,"17.0":0.02497,"17.1":0.03954,"17.2":0.0359,"17.3":0.0515,"17.4":0.11029,"17.5":0.53013,"17.6-17.7":2.82129,"18.0":0.35585,"18.1":0.01613},P:{"4":0.08192,"20":0.01024,"21":0.04096,"22":0.04096,"23":0.06144,"24":0.06144,"25":0.17408,"26":2.33467,_:"5.0-5.4 8.2 9.2 10.1 12.0 14.0 15.0","6.2-6.4":0.01024,"7.2-7.4":0.13312,"11.1-11.2":0.01024,"13.0":0.01024,"16.0":0.01024,"17.0":0.06144,"18.0":0.01024,"19.0":0.01024},I:{"0":0.0365,"3":0,"4":0,"2.1":0,"2.2":0,"2.3":0,"4.1":0,"4.2-4.3":0.00001,"4.4":0,"4.4.3-4.4.4":0.00006},K:{"0":0.13028,_:"10 11 12 11.1 11.5 12.1"},A:{"8":0.00416,"11":0.05825,_:"6 7 9 10 5.5"},N:{_:"10 11"},S:{_:"2.5 3.0-3.1"},J:{_:"7 10"},O:{"0":0.0305},H:{"0":0.01},L:{"0":53.4479},R:{_:"0"},M:{"0":0.13418},Q:{_:"14.9"}}; diff --git a/node_modules/caniuse-lite/data/regions/AS.js b/node_modules/caniuse-lite/data/regions/AS.js index 60b2d02b10..4a085fc153 100644 --- a/node_modules/caniuse-lite/data/regions/AS.js +++ b/node_modules/caniuse-lite/data/regions/AS.js @@ -1 +1 @@ -module.exports={C:{"115":0.00333,"124":0.01998,"125":0.05328,"126":0.03996,_:"2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 116 117 118 119 120 121 122 123 127 128 129 3.5 3.6"},D:{"47":0.00333,"79":0.00333,"87":0.00333,"93":0.00666,"103":0.02997,"109":0.05328,"111":0.00666,"113":0.00999,"116":0.00999,"117":0.05328,"118":0.00333,"119":0.00666,"120":0.00666,"121":0.00333,"122":0.04329,"123":0.20313,"124":1.19547,"125":0.12987,"126":0.00333,_:"4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 80 81 83 84 85 86 88 89 90 91 92 94 95 96 97 98 99 100 101 102 104 105 106 107 108 110 112 114 115 127 128"},F:{"107":0.08658,"109":0.12987,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 60 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 108 110 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"115":0.00333,"122":0.00999,"123":0.00999,"124":0.19314,"125":0.07326,_:"12 13 14 15 16 17 18 79 80 81 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 116 117 118 119 120 121"},E:{"14":0.00333,_:"0 4 5 6 7 8 9 10 11 12 13 15 3.1 3.2 5.1 6.1 7.1 9.1 10.1 11.1 12.1 13.1 17.6","14.1":0.00333,"15.1":0.05994,"15.2-15.3":0.03663,"15.4":0.40293,"15.5":0.10656,"15.6":1.9647,"16.0":0.04995,"16.1":0.60273,"16.2":0.40626,"16.3":0.54612,"16.4":0.12654,"16.5":0.28971,"16.6":2.97036,"17.0":0.12321,"17.1":0.31968,"17.2":0.38961,"17.3":0.67599,"17.4":18.92439,"17.5":1.998},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.01298,"5.0-5.1":0.01298,"6.0-6.1":0.03244,"7.0-7.1":0.04541,"8.1-8.4":0.01298,"9.0-9.2":0.03244,"9.3":0.14921,"10.0-10.2":0.02595,"10.3":0.23355,"11.0-11.2":0.34384,"11.3-11.4":0.06488,"12.0-12.1":0.03893,"12.2-12.5":0.94069,"13.0-13.1":0.01946,"13.2":0.09083,"13.3":0.04541,"13.4-13.7":0.2076,"14.0-14.4":0.35682,"14.5-14.8":0.55144,"15.0-15.1":0.26599,"15.2-15.3":0.29194,"15.4":0.33086,"15.5":0.4152,"15.6-15.8":3.73683,"16.0":0.84987,"16.1":1.75164,"16.2":0.84987,"16.3":1.47267,"16.4":0.3114,"16.5":0.62929,"16.6-16.7":5.01487,"17.0":0.54495,"17.1":0.88879,"17.2":0.92772,"17.3":1.71271,"17.4":38.89285,"17.5":2.74423,"17.6":0},P:{"4":0.01092,"24":0.03275,"25":0.07641,_:"20 21 22 23 5.0-5.4 6.2-6.4 7.2-7.4 8.2 9.2 10.1 11.1-11.2 12.0 13.0 14.0 15.0 16.0 17.0 18.0 19.0"},I:{"0":0,"3":0,"4":0,"2.1":0,"2.2":0,"2.3":0,"4.1":0,"4.2-4.3":0,"4.4":0,"4.4.3-4.4.4":0},K:{"0":0.00667,_:"10 11 12 11.1 11.5 12.1"},A:{_:"6 7 8 9 10 11 5.5"},S:{_:"2.5 3.0-3.1"},J:{_:"7 10"},N:{_:"10 11"},L:{"0":2.05725},R:{_:"0"},M:{_:"0"},Q:{_:"14.9"},O:{"0":0.01334},H:{"0":0}}; +module.exports={C:{"115":0.00672,"118":0.00336,"129":0.00336,"130":0.01681,_:"2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 116 117 119 120 121 122 123 124 125 126 127 128 131 132 133 134 135 3.5 3.6"},D:{"77":0.00336,"87":0.00336,"93":0.00336,"94":0.03362,"103":0.01681,"105":0.00672,"109":0.03362,"112":0.00336,"113":0.03026,"116":0.00672,"123":0.00336,"124":0.00336,"125":0.00336,"126":0.0706,"127":0.16138,"128":0.743,"129":0.0975,"130":0.00336,_:"4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 78 79 80 81 83 84 85 86 88 89 90 91 92 95 96 97 98 99 100 101 102 104 106 107 108 110 111 114 115 117 118 119 120 121 122 131 132 133"},F:{"109":0.0269,"111":0.01009,"112":0.03362,"113":0.01009,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 60 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 110 114 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"108":0.00672,"124":0.03026,"125":0.00336,"126":0.00336,"127":0.01681,"128":0.22525,"129":0.17482,_:"12 13 14 15 16 17 18 79 80 81 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 130"},E:{"14":0.00336,_:"0 4 5 6 7 8 9 10 11 12 13 15 3.1 3.2 5.1 6.1 7.1 9.1 10.1 11.1 12.1","13.1":0.00336,"14.1":0.01345,"15.1":0.04371,"15.2-15.3":0.03026,"15.4":0.20508,"15.5":0.18491,"15.6":2.83753,"16.0":0.01345,"16.1":0.34629,"16.2":0.36646,"16.3":0.30258,"16.4":0.05379,"16.5":0.11767,"16.6":2.63245,"17.0":0.14457,"17.1":0.08405,"17.2":0.12439,"17.3":0.46732,"17.4":0.59844,"17.5":2.65262,"17.6":18.17161,"18.0":0.7699,"18.1":0.04707},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.013,"5.0-5.1":0.0065,"6.0-6.1":0.03901,"7.0-7.1":0.04551,"8.1-8.4":0,"9.0-9.2":0.03901,"9.3":0.11052,"10.0-10.2":0.03251,"10.3":0.18854,"11.0-11.2":0.69563,"11.3-11.4":0.05201,"12.0-12.1":0.03251,"12.2-12.5":0.78665,"13.0-13.1":0.013,"13.2":0.24705,"13.3":0.03251,"13.4-13.7":0.13003,"14.0-14.4":0.29906,"14.5-14.8":0.39658,"15.0-15.1":0.22754,"15.2-15.3":0.22104,"15.4":0.25355,"15.5":0.31206,"15.6-15.8":3.0881,"16.0":0.62412,"16.1":1.23524,"16.2":0.61762,"16.3":1.0402,"16.4":0.22104,"16.5":0.43558,"16.6-16.7":3.71872,"17.0":0.31206,"17.1":0.4941,"17.2":0.44859,"17.3":0.64362,"17.4":1.37827,"17.5":6.62478,"17.6-17.7":35.25632,"18.0":4.44686,"18.1":0.20154},P:{"22":0.01033,"25":0.01033,"26":0.07228,_:"4 20 21 23 24 5.0-5.4 6.2-6.4 7.2-7.4 8.2 9.2 10.1 11.1-11.2 12.0 13.0 14.0 15.0 16.0 17.0 18.0 19.0"},I:{"0":0,"3":0,"4":0,"2.1":0,"2.2":0,"2.3":0,"4.1":0,"4.2-4.3":0,"4.4":0,"4.4.3-4.4.4":0},K:{"0":0.00664,_:"10 11 12 11.1 11.5 12.1"},A:{_:"6 7 8 9 10 11 5.5"},N:{_:"10 11"},S:{_:"2.5 3.0-3.1"},J:{_:"7 10"},O:{"0":0.00664},H:{"0":0},L:{"0":1.75216},R:{_:"0"},M:{_:"0"},Q:{_:"14.9"}}; diff --git a/node_modules/caniuse-lite/data/regions/AT.js b/node_modules/caniuse-lite/data/regions/AT.js index 7f855d00b7..aa23b355b7 100644 --- a/node_modules/caniuse-lite/data/regions/AT.js +++ b/node_modules/caniuse-lite/data/regions/AT.js @@ -1 +1 @@ -module.exports={C:{"34":0.00493,"47":0.00985,"48":0.00493,"52":0.03942,"53":0.00493,"60":0.00493,"65":0.00985,"68":0.00493,"72":0.00985,"75":0.00493,"78":0.03942,"83":0.00493,"88":0.00493,"91":0.00985,"94":0.00493,"96":0.02956,"99":0.00493,"102":0.01971,"103":0.00985,"104":0.00493,"105":0.00493,"106":0.00493,"107":0.00985,"108":0.00985,"109":0.00493,"110":0.04927,"111":0.00493,"112":0.00985,"113":0.00985,"114":0.00493,"115":1.21204,"116":0.00493,"117":0.09854,"118":0.00985,"119":0.00493,"120":0.00985,"121":0.01971,"122":0.04434,"123":0.03942,"124":0.16259,"125":3.43905,"126":2.84288,"127":0.00985,_:"2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 35 36 37 38 39 40 41 42 43 44 45 46 49 50 51 54 55 56 57 58 59 61 62 63 64 66 67 69 70 71 73 74 76 77 79 80 81 82 84 85 86 87 89 90 92 93 95 97 98 100 101 128 129 3.5 3.6"},D:{"22":0.00493,"38":0.00985,"41":0.00493,"42":0.01971,"46":0.00493,"49":0.02464,"51":0.00985,"70":0.00493,"75":0.00493,"79":0.10839,"80":0.00985,"81":0.00985,"83":0.00493,"84":0.00493,"85":0.00985,"86":0.41387,"87":0.06405,"88":0.00985,"89":0.04927,"90":0.01478,"91":0.01971,"93":0.00985,"94":0.00493,"96":0.00493,"97":0.01478,"98":0.00493,"99":0.00985,"100":0.42372,"101":0.83759,"102":0.4385,"103":0.46807,"104":0.44343,"105":0.00985,"106":0.00985,"107":0.00985,"108":0.02956,"109":0.83759,"110":0.00985,"111":0.01478,"112":0.02464,"113":0.17737,"114":0.18723,"115":0.01971,"116":0.1281,"117":0.01478,"118":0.09854,"119":0.08869,"120":0.12318,"121":0.16259,"122":0.29069,"123":0.85237,"124":11.879,"125":4.5624,"126":0.00493,_:"4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 39 40 43 44 45 47 48 50 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 71 72 73 74 76 77 78 92 95 127 128"},F:{"46":0.00985,"71":0.00493,"85":0.03449,"95":0.04927,"96":0.00493,"98":0.00493,"102":0.00985,"104":0.00493,"106":0.1281,"107":0.50255,"108":0.02464,"109":2.19744,"110":0.14781,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 47 48 49 50 51 52 53 54 55 56 57 58 60 62 63 64 65 66 67 68 69 70 72 73 74 75 76 77 78 79 80 81 82 83 84 86 87 88 89 90 91 92 93 94 97 99 100 101 103 105 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"18":0.00493,"91":0.03449,"92":0.00985,"108":0.00493,"109":0.1281,"110":0.00985,"111":0.00985,"112":0.00493,"113":0.00985,"114":0.01971,"115":0.00493,"116":0.01478,"117":0.00493,"118":0.01971,"119":0.02464,"120":0.03942,"121":0.04434,"122":0.11332,"123":0.19708,"124":5.27682,"125":2.9562,_:"12 13 14 15 16 17 79 80 81 83 84 85 86 87 88 89 90 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107"},E:{"9":0.01478,"13":0.00985,"14":0.03942,"15":0.01478,_:"0 4 5 6 7 8 10 11 12 3.1 3.2 5.1 6.1 7.1 9.1 10.1 17.6","11.1":0.00493,"12.1":0.01971,"13.1":0.09854,"14.1":0.09361,"15.1":0.01971,"15.2-15.3":0.01478,"15.4":0.03942,"15.5":0.05912,"15.6":0.33996,"16.0":0.06405,"16.1":0.06405,"16.2":0.0542,"16.3":0.13303,"16.4":0.03942,"16.5":0.10347,"16.6":0.45328,"17.0":0.04434,"17.1":0.14781,"17.2":0.14288,"17.3":0.14781,"17.4":2.21222,"17.5":0.46314},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.00342,"5.0-5.1":0.00342,"6.0-6.1":0.00856,"7.0-7.1":0.01198,"8.1-8.4":0.00342,"9.0-9.2":0.00856,"9.3":0.03936,"10.0-10.2":0.00684,"10.3":0.0616,"11.0-11.2":0.09069,"11.3-11.4":0.01711,"12.0-12.1":0.01027,"12.2-12.5":0.24811,"13.0-13.1":0.00513,"13.2":0.02396,"13.3":0.01198,"13.4-13.7":0.05476,"14.0-14.4":0.09411,"14.5-14.8":0.14545,"15.0-15.1":0.07016,"15.2-15.3":0.077,"15.4":0.08727,"15.5":0.10951,"15.6-15.8":0.98561,"16.0":0.22416,"16.1":0.462,"16.2":0.22416,"16.3":0.38842,"16.4":0.08213,"16.5":0.16598,"16.6-16.7":1.3227,"17.0":0.14373,"17.1":0.23442,"17.2":0.24469,"17.3":0.45174,"17.4":10.25818,"17.5":0.7238,"17.6":0},P:{"4":0.20995,"20":0.021,"21":0.05249,"22":0.06299,"23":0.14697,"24":0.31493,"25":4.06261,"5.0-5.4":0.0105,"6.2-6.4":0.03149,_:"7.2-7.4 8.2 10.1 12.0 14.0","9.2":0.0105,"11.1-11.2":0.0105,"13.0":0.0105,"15.0":0.0105,"16.0":0.0105,"17.0":0.0105,"18.0":0.0105,"19.0":0.0105},I:{"0":0.09096,"3":0,"4":0.00001,"2.1":0,"2.2":0,"2.3":0,"4.1":0.00002,"4.2-4.3":0.00005,"4.4":0,"4.4.3-4.4.4":0.0002},K:{"0":0.61383,_:"10 11 12 11.1 11.5 12.1"},A:{"8":0.01556,"9":0.01037,"11":0.07261,_:"6 7 10 5.5"},S:{"2.5":0.00507,_:"3.0-3.1"},J:{_:"7 10"},N:{_:"10 11"},L:{"0":27.01533},R:{_:"0"},M:{"0":0.8269},Q:{_:"14.9"},O:{"0":0.07102},H:{"0":0}}; +module.exports={C:{"40":0.00505,"45":0.17658,"48":0.00505,"52":0.02523,"53":0.01009,"60":0.01009,"68":0.00505,"72":0.00505,"78":0.05045,"91":0.00505,"92":0.00505,"94":0.00505,"96":0.02523,"102":0.02018,"103":0.00505,"104":0.00505,"105":0.00505,"106":0.00505,"107":0.00505,"110":0.01009,"111":0.00505,"112":0.00505,"113":0.00505,"114":0.00505,"115":1.04432,"116":0.00505,"117":0.09586,"118":0.01009,"119":0.01009,"120":0.00505,"121":0.00505,"122":0.00505,"123":0.01514,"124":0.01514,"125":0.01514,"126":0.03532,"127":0.09081,"128":0.1009,"129":0.96864,"130":5.01473,"131":0.01009,_:"2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 41 42 43 44 46 47 49 50 51 54 55 56 57 58 59 61 62 63 64 65 66 67 69 70 71 73 74 75 76 77 79 80 81 82 83 84 85 86 87 88 89 90 93 95 97 98 99 100 101 108 109 132 133 134 135 3.5","3.6":0.00505},D:{"38":0.00505,"39":0.00505,"40":0.00505,"41":0.00505,"42":0.00505,"43":0.00505,"44":0.01009,"45":0.00505,"46":0.00505,"47":0.00505,"49":0.01009,"51":0.01009,"69":0.00505,"70":0.00505,"79":0.11099,"80":0.03027,"81":0.00505,"84":0.00505,"85":0.00505,"86":0.00505,"87":0.0555,"88":0.01514,"89":0.06054,"90":0.01009,"91":0.00505,"93":0.02523,"94":0.01514,"96":0.00505,"97":0.00505,"98":0.00505,"99":0.00505,"100":0.00505,"101":0.00505,"102":0.01009,"103":0.07063,"104":0.03027,"105":0.00505,"106":0.00505,"107":0.01514,"108":0.03027,"109":0.72144,"110":0.02018,"111":0.01009,"112":0.01009,"113":0.1009,"114":0.11099,"115":0.02523,"116":0.1009,"117":0.01514,"118":0.08577,"119":0.03532,"120":0.04541,"121":0.01514,"122":0.13117,"123":0.07568,"124":0.17658,"125":1.40756,"126":0.53477,"127":1.20071,"128":12.29467,"129":6.02878,"130":0.01009,_:"4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 48 50 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 71 72 73 74 75 76 77 78 83 92 95 131 132 133"},F:{"31":0.00505,"46":0.00505,"71":0.01009,"78":0.02523,"79":0.00505,"84":0.01514,"85":0.02018,"86":0.00505,"95":0.03027,"102":0.01009,"107":0.00505,"108":0.00505,"109":0.04541,"110":0.00505,"111":0.02018,"112":1.64972,"113":1.6699,"114":0.03532,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 32 33 34 35 36 37 38 39 40 41 42 43 44 45 47 48 49 50 51 52 53 54 55 56 57 58 60 62 63 64 65 66 67 68 69 70 72 73 74 75 76 77 80 81 82 83 87 88 89 90 91 92 93 94 96 97 98 99 100 101 103 104 105 106 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"18":0.00505,"92":0.00505,"100":0.00505,"106":0.00505,"107":0.00505,"109":0.09586,"111":0.00505,"113":0.00505,"114":0.00505,"115":0.00505,"116":0.00505,"117":0.01009,"118":0.01514,"119":0.01009,"120":0.03027,"121":0.03027,"122":0.01514,"123":0.01514,"124":0.02523,"125":0.07568,"126":0.12613,"127":0.29261,"128":5.55455,"129":2.97655,"130":0.00505,_:"12 13 14 15 16 17 79 80 81 83 84 85 86 87 88 89 90 91 93 94 95 96 97 98 99 101 102 103 104 105 108 110 112"},E:{"9":0.01514,"12":0.02018,"13":0.00505,"14":0.02523,"15":0.01514,_:"0 4 5 6 7 8 10 11 3.1 3.2 5.1 6.1 7.1 9.1 10.1 11.1","12.1":0.01514,"13.1":0.09081,"14.1":0.07063,"15.1":0.01009,"15.2-15.3":0.01514,"15.4":0.02523,"15.5":0.05045,"15.6":0.29766,"16.0":0.0555,"16.1":0.04541,"16.2":0.06054,"16.3":0.11099,"16.4":0.03532,"16.5":0.06054,"16.6":0.38847,"17.0":0.04036,"17.1":0.05045,"17.2":0.07568,"17.3":0.07063,"17.4":0.16144,"17.5":0.56504,"17.6":2.03314,"18.0":0.38342,"18.1":0.01009},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.00376,"5.0-5.1":0.00188,"6.0-6.1":0.01128,"7.0-7.1":0.01316,"8.1-8.4":0,"9.0-9.2":0.01128,"9.3":0.03197,"10.0-10.2":0.0094,"10.3":0.05453,"11.0-11.2":0.20121,"11.3-11.4":0.01504,"12.0-12.1":0.0094,"12.2-12.5":0.22753,"13.0-13.1":0.00376,"13.2":0.07146,"13.3":0.0094,"13.4-13.7":0.03761,"14.0-14.4":0.0865,"14.5-14.8":0.11471,"15.0-15.1":0.06581,"15.2-15.3":0.06393,"15.4":0.07334,"15.5":0.09026,"15.6-15.8":0.8932,"16.0":0.18052,"16.1":0.35728,"16.2":0.17864,"16.3":0.30087,"16.4":0.06393,"16.5":0.12599,"16.6-16.7":1.0756,"17.0":0.09026,"17.1":0.14291,"17.2":0.12975,"17.3":0.18616,"17.4":0.39865,"17.5":1.91615,"17.6-17.7":10.19753,"18.0":1.28621,"18.1":0.05829},P:{"4":0.18945,"20":0.03157,"21":0.03157,"22":0.02105,"23":0.05262,"24":0.06315,"25":0.32627,"26":3.589,"5.0-5.4":0.02105,"6.2-6.4":0.02105,_:"7.2-7.4 8.2 10.1 11.1-11.2 12.0 14.0 16.0","9.2":0.01052,"13.0":0.01052,"15.0":0.01052,"17.0":0.01052,"18.0":0.01052,"19.0":0.01052},I:{"0":0.12848,"3":0,"4":0,"2.1":0,"2.2":0,"2.3":0,"4.1":0.00001,"4.2-4.3":0.00005,"4.4":0,"4.4.3-4.4.4":0.00021},K:{"0":0.38154,_:"10 11 12 11.1 11.5 12.1"},A:{"7":0.00545,"8":0.04904,"9":0.0109,"10":0.0109,"11":0.05449,_:"6 5.5"},N:{_:"10 11"},S:{"2.5":0.00496,_:"3.0-3.1"},J:{_:"7 10"},O:{"0":0.07433},H:{"0":0},L:{"0":24.62517},R:{_:"0"},M:{"0":1.00091},Q:{"14.9":0.00496}}; diff --git a/node_modules/caniuse-lite/data/regions/AU.js b/node_modules/caniuse-lite/data/regions/AU.js index 78f037c208..75634ba1e7 100644 --- a/node_modules/caniuse-lite/data/regions/AU.js +++ b/node_modules/caniuse-lite/data/regions/AU.js @@ -1 +1 @@ -module.exports={C:{"34":0.00553,"52":0.01107,"54":0.00553,"78":0.0166,"83":0.00553,"88":0.02213,"102":0.00553,"103":0.01107,"108":0.00553,"109":0.00553,"113":0.00553,"114":0.0166,"115":0.22132,"118":0.00553,"119":0.00553,"120":0.00553,"121":0.00553,"122":0.01107,"123":0.02213,"124":0.0498,"125":1.00701,"126":0.82442,"127":0.00553,_:"2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 53 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 79 80 81 82 84 85 86 87 89 90 91 92 93 94 95 96 97 98 99 100 101 104 105 106 107 110 111 112 116 117 128 129 3.5 3.6"},D:{"25":0.02213,"26":0.00553,"34":0.0166,"35":0.03873,"38":0.08853,"44":0.00553,"45":0.00553,"46":0.00553,"49":0.01107,"51":0.00553,"52":0.00553,"53":0.00553,"56":0.00553,"59":0.01107,"63":0.00553,"66":0.01107,"67":0.00553,"68":0.00553,"69":0.00553,"70":0.00553,"71":0.00553,"72":0.00553,"73":0.00553,"74":0.01107,"75":0.00553,"76":0.00553,"77":0.00553,"78":0.00553,"79":0.0664,"80":0.01107,"81":0.0498,"83":0.00553,"84":0.00553,"85":0.01107,"86":0.05533,"87":0.06086,"88":0.0498,"89":0.01107,"90":0.01107,"91":0.0166,"92":0.00553,"93":0.0166,"94":0.02767,"95":0.00553,"96":0.00553,"97":0.01107,"98":0.0166,"99":0.02213,"100":0.0498,"101":0.083,"102":0.05533,"103":0.22132,"104":0.0664,"105":0.0332,"106":0.01107,"107":0.0166,"108":0.0332,"109":0.85208,"110":0.02767,"111":0.02213,"112":0.0332,"113":0.12726,"114":0.14939,"115":0.02767,"116":0.47584,"117":0.04426,"118":0.03873,"119":0.12173,"120":0.23792,"121":0.30985,"122":0.68056,"123":2.32386,"124":21.0088,"125":6.6396,"126":0.0166,"127":0.00553,_:"4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 27 28 29 30 31 32 33 36 37 39 40 41 42 43 47 48 50 54 55 57 58 60 61 62 64 65 128"},F:{"36":0.00553,"46":0.02767,"95":0.01107,"107":0.21579,"108":0.01107,"109":0.65289,"110":0.02767,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 37 38 39 40 41 42 43 44 45 47 48 49 50 51 52 53 54 55 56 57 58 60 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 96 97 98 99 100 101 102 103 104 105 106 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"18":0.00553,"80":0.00553,"81":0.00553,"83":0.00553,"84":0.00553,"85":0.00553,"86":0.00553,"89":0.00553,"90":0.00553,"92":0.01107,"108":0.00553,"109":0.09959,"110":0.00553,"111":0.00553,"112":0.00553,"113":0.0166,"114":0.0166,"115":0.01107,"116":0.00553,"117":0.00553,"118":0.01107,"119":0.01107,"120":0.04426,"121":0.03873,"122":0.09959,"123":0.30432,"124":5.21762,"125":2.65031,_:"12 13 14 15 16 17 79 87 88 91 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107"},E:{"9":0.01107,"13":0.0166,"14":0.07746,"15":0.0166,_:"0 4 5 6 7 8 10 11 12 3.1 3.2 5.1 6.1 7.1 10.1 17.6","9.1":0.02767,"11.1":0.00553,"12.1":0.02767,"13.1":0.13833,"14.1":0.22132,"15.1":0.0332,"15.2-15.3":0.03873,"15.4":0.05533,"15.5":0.08853,"15.6":0.78015,"16.0":0.06086,"16.1":0.14386,"16.2":0.09959,"16.3":0.24345,"16.4":0.07193,"16.5":0.13279,"16.6":0.81335,"17.0":0.06086,"17.1":0.16046,"17.2":0.17152,"17.3":0.23792,"17.4":3.73478,"17.5":0.37624},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.00411,"5.0-5.1":0.00411,"6.0-6.1":0.01027,"7.0-7.1":0.01438,"8.1-8.4":0.00411,"9.0-9.2":0.01027,"9.3":0.04725,"10.0-10.2":0.00822,"10.3":0.07396,"11.0-11.2":0.10888,"11.3-11.4":0.02054,"12.0-12.1":0.01233,"12.2-12.5":0.29789,"13.0-13.1":0.00616,"13.2":0.02876,"13.3":0.01438,"13.4-13.7":0.06574,"14.0-14.4":0.11299,"14.5-14.8":0.17462,"15.0-15.1":0.08423,"15.2-15.3":0.09245,"15.4":0.10477,"15.5":0.13148,"15.6-15.8":1.18333,"16.0":0.26912,"16.1":0.55468,"16.2":0.26912,"16.3":0.46635,"16.4":0.09861,"16.5":0.19928,"16.6-16.7":1.58804,"17.0":0.17257,"17.1":0.28145,"17.2":0.29378,"17.3":0.54236,"17.4":12.31605,"17.5":0.86901,"17.6":0},P:{"4":0.17681,"20":0.0221,"21":0.05525,"22":0.0442,"23":0.07735,"24":0.22101,"25":2.17697,"5.0-5.4":0.0221,"6.2-6.4":0.01105,_:"7.2-7.4 8.2 9.2 10.1 11.1-11.2 12.0","13.0":0.01105,"14.0":0.01105,"15.0":0.01105,"16.0":0.0221,"17.0":0.01105,"18.0":0.01105,"19.0":0.01105},I:{"0":0.07121,"3":0,"4":0.00001,"2.1":0,"2.2":0,"2.3":0,"4.1":0.00001,"4.2-4.3":0.00004,"4.4":0,"4.4.3-4.4.4":0.00016},K:{"0":0.1251,_:"10 11 12 11.1 11.5 12.1"},A:{"8":0.04678,"9":0.01559,"10":0.01559,"11":0.09356,_:"6 7 5.5"},S:{"2.5":0.00447,_:"3.0-3.1"},J:{_:"7 10"},N:{_:"10 11"},L:{"0":20.92335},R:{_:"0"},M:{"0":0.41106},Q:{"14.9":0.0134},O:{"0":0.04468},H:{"0":0}}; +module.exports={C:{"34":0.00511,"40":0.00511,"52":0.01532,"54":0.01022,"78":0.01532,"82":0.00511,"83":0.00511,"88":0.02043,"101":0.00511,"102":0.00511,"103":0.01022,"109":0.00511,"113":0.00511,"114":0.00511,"115":0.21454,"120":0.00511,"121":0.00511,"122":0.00511,"123":0.01022,"124":0.00511,"125":0.01532,"126":0.01022,"127":0.02043,"128":0.03065,"129":0.37288,"130":1.69586,"131":0.00511,_:"2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 35 36 37 38 39 41 42 43 44 45 46 47 48 49 50 51 53 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 79 80 81 84 85 86 87 89 90 91 92 93 94 95 96 97 98 99 100 104 105 106 107 108 110 111 112 116 117 118 119 132 133 134 135 3.5","3.6":0.00511},D:{"25":0.03065,"26":0.00511,"34":0.01022,"37":0.00511,"38":0.0613,"39":0.00511,"40":0.00511,"41":0.00511,"42":0.00511,"43":0.01022,"44":0.01022,"45":0.01022,"46":0.01022,"47":0.01022,"48":0.00511,"49":0.01022,"51":0.01532,"52":0.01022,"53":0.00511,"55":0.00511,"56":0.00511,"58":0.00511,"59":0.02043,"60":0.00511,"66":0.00511,"69":0.00511,"70":0.00511,"72":0.00511,"73":0.00511,"74":0.00511,"78":0.00511,"79":0.05619,"80":0.00511,"81":0.05619,"85":0.02554,"86":0.00511,"87":0.05619,"88":0.03576,"89":0.00511,"90":0.00511,"91":0.00511,"92":0.00511,"93":0.00511,"94":0.02554,"96":0.00511,"97":0.01022,"98":0.01532,"99":0.01532,"100":0.01022,"101":0.00511,"102":0.00511,"103":0.14813,"104":0.01022,"105":0.11748,"106":0.00511,"107":0.01022,"108":0.02554,"109":0.63339,"110":0.01532,"111":0.02554,"112":0.01532,"113":0.10216,"114":0.1277,"115":0.01532,"116":0.32691,"117":0.02043,"118":0.01532,"119":0.05108,"120":0.09194,"121":0.10727,"122":0.16856,"123":0.20432,"124":0.189,"125":0.38821,"126":0.72023,"127":2.57443,"128":18.34794,"129":5.14376,"130":0.01532,"131":0.00511,_:"4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 27 28 29 30 31 32 33 35 36 50 54 57 61 62 63 64 65 67 68 71 75 76 77 83 84 95 132 133"},F:{"31":0.00511,"46":0.02554,"84":0.00511,"95":0.01022,"102":0.00511,"108":0.00511,"109":0.03576,"111":0.01022,"112":0.53123,"113":0.37799,"114":0.00511,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 32 33 34 35 36 37 38 39 40 41 42 43 44 45 47 48 49 50 51 52 53 54 55 56 57 58 60 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 85 86 87 88 89 90 91 92 93 94 96 97 98 99 100 101 103 104 105 106 107 110 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"18":0.00511,"85":0.01022,"92":0.00511,"99":0.00511,"101":0.00511,"108":0.00511,"109":0.05619,"110":0.00511,"111":0.00511,"112":0.01022,"113":0.01022,"114":0.01022,"115":0.00511,"116":0.00511,"117":0.00511,"118":0.00511,"119":0.01022,"120":0.02043,"121":0.01532,"122":0.02043,"123":0.01022,"124":0.02554,"125":0.02554,"126":0.09705,"127":0.33202,"128":5.4911,"129":1.85931,_:"12 13 14 15 16 17 79 80 81 83 84 86 87 88 89 90 91 93 94 95 96 97 98 100 102 103 104 105 106 107 130"},E:{"9":0.02554,"13":0.01022,"14":0.0664,"15":0.01022,_:"0 4 5 6 7 8 10 11 12 3.1 3.2 5.1 6.1 7.1 9.1 10.1","11.1":0.00511,"12.1":0.02043,"13.1":0.14302,"14.1":0.189,"15.1":0.03065,"15.2-15.3":0.03065,"15.4":0.04086,"15.5":0.07151,"15.6":0.54656,"16.0":0.0613,"16.1":0.12259,"16.2":0.08173,"16.3":0.19921,"16.4":0.0613,"16.5":0.09705,"16.6":0.72023,"17.0":0.03065,"17.1":0.09705,"17.2":0.07662,"17.3":0.12259,"17.4":0.22475,"17.5":0.77642,"17.6":3.83611,"18.0":0.26562,"18.1":0.01532},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.00443,"5.0-5.1":0.00221,"6.0-6.1":0.01328,"7.0-7.1":0.01549,"8.1-8.4":0,"9.0-9.2":0.01328,"9.3":0.03762,"10.0-10.2":0.01106,"10.3":0.06417,"11.0-11.2":0.23676,"11.3-11.4":0.0177,"12.0-12.1":0.01106,"12.2-12.5":0.26774,"13.0-13.1":0.00443,"13.2":0.08408,"13.3":0.01106,"13.4-13.7":0.04425,"14.0-14.4":0.10178,"14.5-14.8":0.13497,"15.0-15.1":0.07744,"15.2-15.3":0.07523,"15.4":0.08629,"15.5":0.10621,"15.6-15.8":1.05103,"16.0":0.21242,"16.1":0.42041,"16.2":0.21021,"16.3":0.35403,"16.4":0.07523,"16.5":0.14825,"16.6-16.7":1.26566,"17.0":0.10621,"17.1":0.16816,"17.2":0.15268,"17.3":0.21906,"17.4":0.46909,"17.5":2.25473,"17.6-17.7":11.99941,"18.0":1.51348,"18.1":0.06859},P:{"4":0.15269,"20":0.01091,"21":0.04363,"22":0.03272,"23":0.04363,"24":0.04363,"25":0.21813,"26":2.34491,"5.0-5.4":0.02181,"6.2-6.4":0.02181,"7.2-7.4":0.01091,_:"8.2 9.2 10.1 11.1-11.2 12.0 13.0 15.0 18.0","14.0":0.01091,"16.0":0.01091,"17.0":0.01091,"19.0":0.01091},I:{"0":0.14146,"3":0,"4":0,"2.1":0,"2.2":0,"2.3":0,"4.1":0.00001,"4.2-4.3":0.00006,"4.4":0,"4.4.3-4.4.4":0.00023},K:{"0":0.14673,_:"10 11 12 11.1 11.5 12.1"},A:{"6":0.00857,"7":0.00857,"8":0.10289,"9":0.01715,"10":0.01715,"11":0.07717,_:"5.5"},N:{_:"10 11"},S:{"2.5":0.00489,_:"3.0-3.1"},J:{_:"7 10"},O:{"0":0.06358},H:{"0":0},L:{"0":23.12298},R:{_:"0"},M:{"0":0.44508},Q:{"14.9":0.00978}}; diff --git a/node_modules/caniuse-lite/data/regions/AW.js b/node_modules/caniuse-lite/data/regions/AW.js index 22a6425fff..4941a0d3c4 100644 --- a/node_modules/caniuse-lite/data/regions/AW.js +++ b/node_modules/caniuse-lite/data/regions/AW.js @@ -1 +1 @@ -module.exports={C:{"4":0.00266,"31":0.00531,"52":0.00266,"64":0.00266,"78":0.02923,"101":0.02391,"103":0.03454,"115":0.02923,"122":0.00797,"123":0.00266,"124":0.01329,"125":0.30821,"126":0.23647,"127":0.00531,_:"2 3 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 53 54 55 56 57 58 59 60 61 62 63 65 66 67 68 69 70 71 72 73 74 75 76 77 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 102 104 105 106 107 108 109 110 111 112 113 114 116 117 118 119 120 121 128 129 3.5 3.6"},D:{"47":0.00266,"54":0.00531,"65":0.00531,"75":0.00266,"76":0.00266,"79":0.00797,"80":0.00531,"81":0.00266,"83":0.0186,"86":0.0186,"87":0.01594,"90":0.00266,"92":0.00266,"93":0.01594,"94":0.01594,"98":0.01063,"99":0.00531,"100":0.00266,"103":0.08237,"104":0.00266,"106":0.00266,"108":0.00266,"109":0.80773,"111":0.00266,"112":0.00266,"113":0.00266,"114":0.00266,"115":0.01063,"116":0.10362,"117":0.00266,"118":0.01329,"119":0.01329,"120":0.16208,"121":0.05314,"122":0.38261,"123":0.52609,"124":9.20385,"125":3.74371,"126":0.04783,"127":0.00266,_:"4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 48 49 50 51 52 53 55 56 57 58 59 60 61 62 63 64 66 67 68 69 70 71 72 73 74 77 78 84 85 88 89 91 95 96 97 101 102 105 107 110 128"},F:{"95":0.00531,"100":0.00266,"107":0.09831,"108":0.00531,"109":0.48889,"110":0.02391,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 60 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 96 97 98 99 101 102 103 104 105 106 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"12":0.00266,"16":0.00266,"105":0.00531,"108":0.00266,"109":0.01063,"112":0.00266,"113":0.00266,"114":0.01063,"117":0.00531,"119":0.00266,"120":0.01329,"121":0.0186,"122":0.04251,"123":0.10894,"124":3.42753,"125":2.43913,_:"13 14 15 17 18 79 80 81 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 106 107 110 111 115 116 118"},E:{"13":0.00266,"14":0.01329,"15":0.00531,_:"0 4 5 6 7 8 9 10 11 12 3.1 3.2 5.1 6.1 7.1 9.1 10.1 11.1 17.6","12.1":0.00531,"13.1":0.03188,"14.1":0.06377,"15.1":0.00266,"15.2-15.3":0.01594,"15.4":0.08502,"15.5":0.0372,"15.6":0.15676,"16.0":0.09831,"16.1":0.04783,"16.2":0.01594,"16.3":0.18599,"16.4":0.04251,"16.5":0.04783,"16.6":0.25773,"17.0":0.0186,"17.1":0.09034,"17.2":0.093,"17.3":0.06111,"17.4":1.54106,"17.5":0.19928},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.00584,"5.0-5.1":0.00584,"6.0-6.1":0.01461,"7.0-7.1":0.02045,"8.1-8.4":0.00584,"9.0-9.2":0.01461,"9.3":0.06719,"10.0-10.2":0.01169,"10.3":0.10517,"11.0-11.2":0.15483,"11.3-11.4":0.02921,"12.0-12.1":0.01753,"12.2-12.5":0.4236,"13.0-13.1":0.00876,"13.2":0.0409,"13.3":0.02045,"13.4-13.7":0.09348,"14.0-14.4":0.16068,"14.5-14.8":0.24832,"15.0-15.1":0.11978,"15.2-15.3":0.13146,"15.4":0.14899,"15.5":0.18697,"15.6-15.8":1.68272,"16.0":0.3827,"16.1":0.78877,"16.2":0.3827,"16.3":0.66315,"16.4":0.14023,"16.5":0.28337,"16.6-16.7":2.25823,"17.0":0.2454,"17.1":0.40023,"17.2":0.41776,"17.3":0.77124,"17.4":17.51368,"17.5":1.23574,"17.6":0},P:{"4":0.04122,"20":0.05153,"21":0.10306,"22":0.29888,"23":0.21643,"24":0.505,"25":7.41017,_:"5.0-5.4 6.2-6.4 8.2 10.1 12.0 14.0 18.0","7.2-7.4":0.09276,"9.2":0.01031,"11.1-11.2":0.02061,"13.0":0.01031,"15.0":0.01031,"16.0":0.01031,"17.0":0.02061,"19.0":0.02061},I:{"0":0.00731,"3":0,"4":0,"2.1":0,"2.2":0,"2.3":0,"4.1":0,"4.2-4.3":0,"4.4":0,"4.4.3-4.4.4":0.00002},K:{"0":0.07342,_:"10 11 12 11.1 11.5 12.1"},A:{"11":0.01063,_:"6 7 8 9 10 5.5"},S:{_:"2.5 3.0-3.1"},J:{_:"7 10"},N:{_:"10 11"},L:{"0":35.42233},R:{_:"0"},M:{"0":0.19089},Q:{_:"14.9"},O:{"0":0.01468},H:{"0":0}}; +module.exports={C:{"31":0.01653,"50":0.00276,"78":0.01102,"103":0.00827,"105":0.01653,"111":0.00276,"115":0.03031,"119":0.01378,"125":0.10745,"126":0.00551,"127":0.00276,"128":0.00827,"129":0.10469,"130":0.53998,_:"2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 104 106 107 108 109 110 112 113 114 116 117 118 120 121 122 123 124 131 132 133 134 135 3.5 3.6"},D:{"47":0.00276,"73":0.00276,"76":0.00276,"79":0.03306,"80":0.00551,"81":0.00276,"83":0.00551,"86":0.00276,"87":0.01929,"88":0.04959,"93":0.00551,"96":0.00276,"97":0.00276,"98":0.00276,"100":0.00551,"101":0.00276,"102":0.00276,"103":0.06061,"104":0.00276,"105":0.00276,"106":0.03031,"108":0.09092,"109":0.77416,"110":0.00827,"111":0.01102,"112":0.00551,"115":0.03031,"116":0.04684,"117":0.00551,"119":0.00551,"120":0.00827,"121":0.00551,"122":0.09643,"123":0.01653,"124":1.43811,"125":0.04133,"126":0.42427,"127":0.6612,"128":10.04749,"129":2.76051,"130":0.00827,_:"4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 74 75 77 78 84 85 89 90 91 92 94 95 99 107 113 114 118 131 132 133"},F:{"84":0.00276,"94":0.02204,"109":0.00276,"112":0.18734,"113":0.25071,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 60 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 85 86 87 88 89 90 91 92 93 95 96 97 98 99 100 101 102 103 104 105 106 107 108 110 111 114 9.5-9.6 10.0-10.1 10.5 10.6 11.5 11.6 12.1","11.1":0.00827},B:{"104":0.00276,"109":0.00551,"117":0.00276,"119":0.00276,"120":0.00276,"122":0.01929,"123":0.00276,"124":0.00551,"125":0.02204,"126":0.02755,"127":0.11571,"128":3.85976,"129":1.50699,"130":0.00276,_:"12 13 14 15 16 17 18 79 80 81 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 105 106 107 108 110 111 112 113 114 115 116 118 121"},E:{"13":0.00827,"14":0.01102,"15":0.00276,_:"0 4 5 6 7 8 9 10 11 12 3.1 3.2 5.1 6.1 7.1 9.1 10.1 11.1","12.1":0.00827,"13.1":0.01929,"14.1":0.04408,"15.1":0.00551,"15.2-15.3":0.00276,"15.4":0.00551,"15.5":0.00551,"15.6":0.12122,"16.0":0.02755,"16.1":0.03306,"16.2":0.00551,"16.3":0.04959,"16.4":0.03582,"16.5":0.02204,"16.6":0.19836,"17.0":0.01653,"17.1":0.03582,"17.2":0.04959,"17.3":0.04684,"17.4":0.31683,"17.5":0.23693,"17.6":1.67229,"18.0":0.17081,"18.1":0.08541},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.00638,"5.0-5.1":0.00319,"6.0-6.1":0.01914,"7.0-7.1":0.02233,"8.1-8.4":0,"9.0-9.2":0.01914,"9.3":0.05422,"10.0-10.2":0.01595,"10.3":0.0925,"11.0-11.2":0.34128,"11.3-11.4":0.02552,"12.0-12.1":0.01595,"12.2-12.5":0.38593,"13.0-13.1":0.00638,"13.2":0.1212,"13.3":0.01595,"13.4-13.7":0.06379,"14.0-14.4":0.14672,"14.5-14.8":0.19456,"15.0-15.1":0.11163,"15.2-15.3":0.10844,"15.4":0.12439,"15.5":0.1531,"15.6-15.8":1.51503,"16.0":0.3062,"16.1":0.60601,"16.2":0.30301,"16.3":0.51033,"16.4":0.10844,"16.5":0.2137,"16.6-16.7":1.82441,"17.0":0.1531,"17.1":0.2424,"17.2":0.22008,"17.3":0.31576,"17.4":0.67618,"17.5":3.25013,"17.6-17.7":17.29684,"18.0":2.18164,"18.1":0.09888},P:{"4":0.04107,"20":0.01027,"21":0.0308,"22":0.06161,"23":0.06161,"24":0.04107,"25":0.44152,"26":5.92456,_:"5.0-5.4 6.2-6.4 8.2 9.2 10.1 12.0 13.0 14.0 16.0 17.0 18.0","7.2-7.4":0.06161,"11.1-11.2":0.02054,"15.0":0.01027,"19.0":0.01027},I:{"0":0.00722,"3":0,"4":0,"2.1":0,"2.2":0,"2.3":0,"4.1":0,"4.2-4.3":0,"4.4":0,"4.4.3-4.4.4":0.00001},K:{"0":0.05795,_:"10 11 12 11.1 11.5 12.1"},A:{"8":0.00305,"11":0.05481,_:"6 7 9 10 5.5"},N:{_:"10 11"},S:{_:"2.5 3.0-3.1"},J:{_:"7 10"},O:{"0":0.01449},H:{"0":0},L:{"0":33.79595},R:{_:"0"},M:{"0":0.21732},Q:{_:"14.9"}}; diff --git a/node_modules/caniuse-lite/data/regions/AX.js b/node_modules/caniuse-lite/data/regions/AX.js index 48037c1363..5e91de6a42 100644 --- a/node_modules/caniuse-lite/data/regions/AX.js +++ b/node_modules/caniuse-lite/data/regions/AX.js @@ -1 +1 @@ -module.exports={C:{"87":0.00576,"108":0.06334,"115":0.26487,"122":0.01727,"123":0.00576,"124":0.06334,"125":3.35691,"126":2.28593,_:"2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 109 110 111 112 113 114 116 117 118 119 120 121 127 128 129 3.5 3.6"},D:{"38":0.01152,"76":0.08061,"87":0.01727,"91":0.02879,"92":0.01152,"94":0.00576,"96":0.10364,"103":0.1094,"108":0.00576,"109":1.65255,"111":0.00576,"114":0.05182,"115":0.01727,"116":0.28214,"119":0.02879,"120":0.04031,"121":0.00576,"122":0.25911,"123":1.10554,"124":22.98018,"125":9.9671,_:"4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 77 78 79 80 81 83 84 85 86 88 89 90 93 95 97 98 99 100 101 102 104 105 106 107 110 112 113 117 118 126 127 128"},F:{"107":0.07485,"108":0.00576,"109":2.23986,"110":0.01152,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 60 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"87":0.00576,"92":0.00576,"102":0.00576,"109":0.07485,"111":0.01152,"112":0.04606,"113":0.28214,"114":0.09789,"117":0.00576,"119":0.04031,"120":0.00576,"122":0.00576,"123":0.12092,"124":4.56034,"125":3.72543,_:"12 13 14 15 16 17 18 79 80 81 83 84 85 86 88 89 90 91 93 94 95 96 97 98 99 100 101 103 104 105 106 107 108 110 115 116 118 121"},E:{"12":0.02303,"13":0.01152,"14":0.04031,_:"0 4 5 6 7 8 9 10 11 15 3.1 3.2 5.1 6.1 7.1 9.1 10.1 12.1 17.6","11.1":0.00576,"13.1":0.01152,"14.1":0.06334,"15.1":0.00576,"15.2-15.3":0.00576,"15.4":0.00576,"15.5":0.02303,"15.6":0.09789,"16.0":0.04031,"16.1":0.02879,"16.2":0.01727,"16.3":0.06334,"16.4":0.02303,"16.5":0.01152,"16.6":0.09789,"17.0":0.02303,"17.1":0.04031,"17.2":0.03455,"17.3":0.0691,"17.4":1.23221,"17.5":0.11516},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.00123,"5.0-5.1":0.00123,"6.0-6.1":0.00308,"7.0-7.1":0.00431,"8.1-8.4":0.00123,"9.0-9.2":0.00308,"9.3":0.01415,"10.0-10.2":0.00246,"10.3":0.02214,"11.0-11.2":0.0326,"11.3-11.4":0.00615,"12.0-12.1":0.00369,"12.2-12.5":0.08919,"13.0-13.1":0.00185,"13.2":0.00861,"13.3":0.00431,"13.4-13.7":0.01968,"14.0-14.4":0.03383,"14.5-14.8":0.05228,"15.0-15.1":0.02522,"15.2-15.3":0.02768,"15.4":0.03137,"15.5":0.03937,"15.6-15.8":0.35429,"16.0":0.08058,"16.1":0.16607,"16.2":0.08058,"16.3":0.13963,"16.4":0.02952,"16.5":0.05966,"16.6-16.7":0.47546,"17.0":0.05167,"17.1":0.08427,"17.2":0.08796,"17.3":0.16238,"17.4":3.68746,"17.5":0.26018,"17.6":0},P:{"20":0.02237,"21":0.01118,"22":0.10066,"23":0.03355,"24":0.13422,"25":2.85212,_:"4 6.2-6.4 7.2-7.4 8.2 9.2 10.1 11.1-11.2 12.0 13.0 14.0 15.0 16.0 17.0 19.0","5.0-5.4":0.01118,"18.0":0.06711},I:{"0":0.11409,"3":0,"4":0.00001,"2.1":0,"2.2":0,"2.3":0,"4.1":0.00002,"4.2-4.3":0.00007,"4.4":0,"4.4.3-4.4.4":0.00025},K:{"0":0.48359,_:"10 11 12 11.1 11.5 12.1"},A:{"11":0.00576,_:"6 7 8 9 10 5.5"},S:{_:"2.5 3.0-3.1"},J:{_:"7 10"},N:{_:"10 11"},L:{"0":28.91096},R:{_:"0"},M:{"0":4.43713},Q:{_:"14.9"},O:{_:"0"},H:{"0":0}}; +module.exports={C:{"48":0.00642,"78":0.00642,"88":0.00642,"108":0.0321,"115":0.43007,"125":0.08987,"127":0.01284,"128":0.3723,"129":0.57129,"130":2.7024,_:"2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 79 80 81 82 83 84 85 86 87 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 109 110 111 112 113 114 116 117 118 119 120 121 122 123 124 126 131 132 133 134 135 3.5 3.6"},D:{"18":0.00642,"49":0.01284,"76":0.08345,"81":0.00642,"103":0.07703,"107":0.01926,"109":0.84731,"112":0.14764,"116":0.15406,"117":0.01926,"119":0.02568,"122":0.1027,"123":0.10912,"124":0.03851,"125":0.03851,"126":0.08345,"127":0.91792,"128":23.35874,"129":13.14611,_:"4 5 6 7 8 9 10 11 12 13 14 15 16 17 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 77 78 79 80 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 104 105 106 108 110 111 113 114 115 118 120 121 130 131 132 133"},F:{"109":0.01926,"112":0.81521,"113":1.79732,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 60 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 110 111 114 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"109":0.08345,"113":0.01926,"114":0.17331,"126":0.00642,"127":0.27602,"128":9.05079,"129":4.63452,_:"12 13 14 15 16 17 18 79 80 81 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 110 111 112 115 116 117 118 119 120 121 122 123 124 125 130"},E:{"8":0.00642,"14":0.01926,_:"0 4 5 6 7 9 10 11 12 13 15 3.1 3.2 5.1 6.1 7.1 9.1 10.1 11.1 15.1 15.2-15.3 15.4 16.0 18.1","12.1":0.14764,"13.1":0.0321,"14.1":0.19257,"15.5":0.03851,"15.6":0.16048,"16.1":0.01926,"16.2":0.07061,"16.3":0.02568,"16.4":0.01926,"16.5":0.00642,"16.6":0.31453,"17.0":0.01926,"17.1":0.01926,"17.2":0.03851,"17.3":0.03851,"17.4":0.1027,"17.5":0.30811,"17.6":0.86015,"18.0":0.08987},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.00144,"5.0-5.1":0.00072,"6.0-6.1":0.00432,"7.0-7.1":0.00504,"8.1-8.4":0,"9.0-9.2":0.00432,"9.3":0.01225,"10.0-10.2":0.0036,"10.3":0.02089,"11.0-11.2":0.07707,"11.3-11.4":0.00576,"12.0-12.1":0.0036,"12.2-12.5":0.08716,"13.0-13.1":0.00144,"13.2":0.02737,"13.3":0.0036,"13.4-13.7":0.01441,"14.0-14.4":0.03313,"14.5-14.8":0.04394,"15.0-15.1":0.02521,"15.2-15.3":0.02449,"15.4":0.02809,"15.5":0.03457,"15.6-15.8":0.34214,"16.0":0.06915,"16.1":0.13686,"16.2":0.06843,"16.3":0.11525,"16.4":0.02449,"16.5":0.04826,"16.6-16.7":0.41201,"17.0":0.03457,"17.1":0.05474,"17.2":0.0497,"17.3":0.07131,"17.4":0.1527,"17.5":0.73398,"17.6-17.7":3.90617,"18.0":0.49268,"18.1":0.02233},P:{"22":0.05574,"23":0.04459,"24":0.03344,"25":0.62424,"26":3.032,_:"4 20 21 6.2-6.4 7.2-7.4 8.2 9.2 10.1 11.1-11.2 12.0 13.0 14.0 15.0 16.0 17.0 19.0","5.0-5.4":0.02229,"18.0":0.01115},I:{"0":0.36417,"3":0,"4":0,"2.1":0,"2.2":0,"2.3":0,"4.1":0.00004,"4.2-4.3":0.00015,"4.4":0,"4.4.3-4.4.4":0.00058},K:{"0":0.07876,_:"10 11 12 11.1 11.5 12.1"},A:{_:"6 7 8 9 10 11 5.5"},N:{_:"10 11"},S:{"2.5":0.00358,_:"3.0-3.1"},J:{_:"7 10"},O:{_:"0"},H:{"0":0},L:{"0":21.78214},R:{_:"0"},M:{"0":3.64444},Q:{_:"14.9"}}; diff --git a/node_modules/caniuse-lite/data/regions/AZ.js b/node_modules/caniuse-lite/data/regions/AZ.js index 4b95519ca3..7f9c21d337 100644 --- a/node_modules/caniuse-lite/data/regions/AZ.js +++ b/node_modules/caniuse-lite/data/regions/AZ.js @@ -1 +1 @@ -module.exports={C:{"32":0.00269,"34":0.00269,"52":0.00269,"68":0.01613,"102":0.00269,"113":0.00269,"115":0.07798,"117":0.01613,"118":0.00269,"124":0.00807,"125":0.20168,"126":0.16672,_:"2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 33 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 103 104 105 106 107 108 109 110 111 112 114 116 119 120 121 122 123 127 128 129 3.5 3.6"},D:{"11":0.00269,"22":0.00269,"38":0.00538,"43":0.00269,"44":0.00269,"46":0.00269,"49":0.01613,"51":0.01345,"53":0.00269,"68":0.00269,"69":0.00269,"70":0.00807,"71":0.00538,"72":0.00538,"73":0.00538,"74":0.00269,"75":0.00538,"76":0.00269,"78":0.00269,"79":0.10218,"80":0.01613,"83":0.01882,"84":0.00269,"86":0.01345,"87":0.09949,"88":0.0242,"89":0.01076,"90":0.02689,"91":0.00269,"92":0.00269,"94":0.02958,"95":0.00269,"96":0.00269,"97":0.00269,"98":0.00538,"99":0.01076,"100":0.01613,"101":0.02958,"102":0.02151,"103":0.00807,"104":0.01882,"105":0.0242,"106":0.04034,"107":0.00807,"108":0.00807,"109":2.90412,"110":0.00538,"111":0.01076,"112":0.02958,"113":0.00269,"114":0.00807,"115":0.01076,"116":0.04034,"117":0.01076,"118":0.00807,"119":0.05647,"120":0.10218,"121":0.0484,"122":0.0968,"123":0.33881,"124":11.63799,"125":4.0577,"126":0.01076,_:"4 5 6 7 8 9 10 12 13 14 15 16 17 18 19 20 21 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 39 40 41 42 45 47 48 50 52 54 55 56 57 58 59 60 61 62 63 64 65 66 67 77 81 85 93 127 128"},F:{"25":0.00807,"28":0.00269,"36":0.00269,"40":0.00269,"46":0.02689,"64":0.00269,"65":0.00269,"79":0.02151,"83":0.03227,"84":0.00807,"85":0.04302,"86":0.00269,"90":0.00269,"95":0.12907,"107":0.12638,"108":0.02689,"109":0.81746,"110":0.05378,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 26 27 29 30 31 32 33 34 35 37 38 39 41 42 43 44 45 47 48 49 50 51 52 53 54 55 56 57 58 60 62 63 66 67 68 69 70 71 72 73 74 75 76 77 78 80 81 82 87 88 89 91 92 93 94 96 97 98 99 100 101 102 103 104 105 106 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"12":0.00538,"18":0.00269,"84":0.01345,"92":0.00807,"100":0.00269,"102":0.00269,"109":0.01345,"113":0.00269,"114":0.00269,"117":0.00269,"119":0.00269,"120":0.01345,"121":0.01882,"122":0.02151,"123":0.04302,"124":0.83359,"125":0.44369,_:"13 14 15 16 17 79 80 81 83 85 86 87 88 89 90 91 93 94 95 96 97 98 99 101 103 104 105 106 107 108 110 111 112 115 116 118"},E:{"9":0.01076,"14":0.00269,_:"0 4 5 6 7 8 10 11 12 13 15 3.1 3.2 6.1 7.1 9.1 10.1 11.1 16.0 17.6","5.1":0.00538,"12.1":0.01613,"13.1":0.00538,"14.1":0.00807,"15.1":0.00269,"15.2-15.3":0.00538,"15.4":0.00538,"15.5":0.00269,"15.6":0.02689,"16.1":0.00807,"16.2":0.00269,"16.3":0.01613,"16.4":0.01345,"16.5":0.03765,"16.6":0.05378,"17.0":0.01613,"17.1":0.02151,"17.2":0.02151,"17.3":0.02151,"17.4":0.2931,"17.5":0.03227},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.00159,"5.0-5.1":0.00159,"6.0-6.1":0.00398,"7.0-7.1":0.00558,"8.1-8.4":0.00159,"9.0-9.2":0.00398,"9.3":0.01833,"10.0-10.2":0.00319,"10.3":0.02869,"11.0-11.2":0.04224,"11.3-11.4":0.00797,"12.0-12.1":0.00478,"12.2-12.5":0.11555,"13.0-13.1":0.00239,"13.2":0.01116,"13.3":0.00558,"13.4-13.7":0.0255,"14.0-14.4":0.04383,"14.5-14.8":0.06774,"15.0-15.1":0.03267,"15.2-15.3":0.03586,"15.4":0.04064,"15.5":0.051,"15.6-15.8":0.45901,"16.0":0.10439,"16.1":0.21516,"16.2":0.10439,"16.3":0.1809,"16.4":0.03825,"16.5":0.0773,"16.6-16.7":0.616,"17.0":0.06694,"17.1":0.10918,"17.2":0.11396,"17.3":0.21038,"17.4":4.77741,"17.5":0.33709,"17.6":0},P:{"4":0.52731,"20":0.03042,"21":0.16225,"22":0.09126,"23":0.19267,"24":0.26365,"25":2.56555,"5.0-5.4":0.02028,"6.2-6.4":0.07098,"7.2-7.4":0.06084,"8.2":0.01014,_:"9.2 10.1 12.0","11.1-11.2":0.01014,"13.0":0.03042,"14.0":0.01014,"15.0":0.01014,"16.0":0.02028,"17.0":0.07098,"18.0":0.02028,"19.0":0.04056},I:{"0":0.07282,"3":0,"4":0.00001,"2.1":0,"2.2":0,"2.3":0,"4.1":0.00001,"4.2-4.3":0.00004,"4.4":0,"4.4.3-4.4.4":0.00016},K:{"0":1.37178,_:"10 11 12 11.1 11.5 12.1"},A:{"7":0.00279,"8":0.0195,"9":0.00279,"10":0.00279,"11":0.05013,_:"6 5.5"},S:{"2.5":0.00731,_:"3.0-3.1"},J:{_:"7 10"},N:{_:"10 11"},L:{"0":60.89365},R:{_:"0"},M:{"0":0.12429},Q:{_:"14.9"},O:{"0":0.0658},H:{"0":0.01}}; +module.exports={C:{"34":0.00528,"68":0.00264,"78":0.00528,"91":0.00264,"105":0.00264,"106":0.00264,"114":0.00264,"115":0.08442,"121":0.00264,"125":0.00264,"127":0.00528,"128":0.00791,"129":0.08969,"130":0.36668,"131":0.00528,_:"2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 69 70 71 72 73 74 75 76 77 79 80 81 82 83 84 85 86 87 88 89 90 92 93 94 95 96 97 98 99 100 101 102 103 104 107 108 109 110 111 112 113 116 117 118 119 120 122 123 124 126 132 133 134 135 3.5 3.6"},D:{"11":0.00264,"38":0.00264,"46":0.00264,"49":0.00791,"53":0.00264,"55":0.00264,"58":0.00528,"65":0.00528,"67":0.00264,"68":0.00528,"69":0.01847,"70":0.00528,"71":0.00264,"72":0.00264,"73":0.00791,"75":0.00528,"77":0.00264,"78":0.00528,"79":0.14245,"80":0.00791,"81":0.00264,"83":0.02638,"84":0.00264,"85":0.00528,"86":0.00264,"87":0.13981,"88":0.02902,"89":0.01583,"90":0.03693,"91":0.00791,"92":0.00264,"94":0.08442,"97":0.00528,"98":0.00528,"99":0.0211,"100":0.01847,"101":0.01319,"102":0.01583,"103":0.00791,"104":0.01583,"105":0.01055,"106":0.01847,"107":0.01055,"108":0.00791,"109":2.86487,"110":0.01055,"111":0.01055,"112":0.02374,"114":0.01055,"115":0.01319,"116":0.03166,"117":0.00264,"118":0.01055,"119":0.05012,"120":0.04221,"121":0.03429,"122":0.07386,"123":0.04485,"124":0.06331,"125":0.08178,"126":0.11343,"127":0.583,"128":11.97652,"129":3.46897,"130":0.00791,_:"4 5 6 7 8 9 10 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 39 40 41 42 43 44 45 47 48 50 51 52 54 56 57 59 60 61 62 63 64 66 74 76 93 95 96 113 131 132 133"},F:{"36":0.00264,"46":0.04221,"65":0.00264,"79":0.02374,"80":0.00264,"83":0.0211,"84":0.06595,"85":0.04748,"86":0.00264,"95":0.18466,"102":0.00264,"109":0.01583,"111":0.00791,"112":0.62784,"113":0.49858,"114":0.00528,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 37 38 39 40 41 42 43 44 45 47 48 49 50 51 52 53 54 55 56 57 58 60 62 63 64 66 67 68 69 70 71 72 73 74 75 76 77 78 81 82 87 88 89 90 91 92 93 94 96 97 98 99 100 101 103 104 105 106 107 108 110 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"16":0.00264,"18":0.00264,"92":0.01319,"100":0.01319,"109":0.0211,"112":0.00264,"113":0.00264,"114":0.00528,"115":0.00791,"116":0.00264,"117":0.00528,"119":0.00264,"120":0.00264,"122":0.00791,"123":0.00264,"124":0.00528,"125":0.00264,"126":0.0554,"127":0.03166,"128":1.08949,"129":0.44582,_:"12 13 14 15 17 79 80 81 83 84 85 86 87 88 89 90 91 93 94 95 96 97 98 99 101 102 103 104 105 106 107 108 110 111 118 121 130"},E:{"9":0.00264,"14":0.00264,_:"0 4 5 6 7 8 10 11 12 13 15 3.1 3.2 5.1 6.1 7.1 9.1 10.1 11.1 12.1 15.2-15.3 16.0","13.1":0.00528,"14.1":0.00791,"15.1":0.00264,"15.4":0.00264,"15.5":0.00264,"15.6":0.02902,"16.1":0.00791,"16.2":0.00791,"16.3":0.0211,"16.4":0.00528,"16.5":0.01319,"16.6":0.07123,"17.0":0.01055,"17.1":0.0211,"17.2":0.00791,"17.3":0.01847,"17.4":0.01847,"17.5":0.11343,"17.6":0.40361,"18.0":0.06067,"18.1":0.00264},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.00192,"5.0-5.1":0.00096,"6.0-6.1":0.00576,"7.0-7.1":0.00672,"8.1-8.4":0,"9.0-9.2":0.00576,"9.3":0.01632,"10.0-10.2":0.0048,"10.3":0.02784,"11.0-11.2":0.10273,"11.3-11.4":0.00768,"12.0-12.1":0.0048,"12.2-12.5":0.11618,"13.0-13.1":0.00192,"13.2":0.03649,"13.3":0.0048,"13.4-13.7":0.0192,"14.0-14.4":0.04417,"14.5-14.8":0.05857,"15.0-15.1":0.0336,"15.2-15.3":0.03264,"15.4":0.03745,"15.5":0.04609,"15.6-15.8":0.45606,"16.0":0.09217,"16.1":0.18243,"16.2":0.09121,"16.3":0.15362,"16.4":0.03264,"16.5":0.06433,"16.6-16.7":0.5492,"17.0":0.04609,"17.1":0.07297,"17.2":0.06625,"17.3":0.09505,"17.4":0.20355,"17.5":0.97838,"17.6-17.7":5.20681,"18.0":0.65673,"18.1":0.02976},P:{"4":0.46539,"20":0.02023,"21":0.16187,"22":0.0607,"23":0.13152,"24":0.0607,"25":0.25293,"26":2.44834,"5.0-5.4":0.02023,"6.2-6.4":0.07082,"7.2-7.4":0.09105,_:"8.2 9.2 10.1 11.1-11.2 12.0 14.0","13.0":0.02023,"15.0":0.01012,"16.0":0.02023,"17.0":0.07082,"18.0":0.01012,"19.0":0.02023},I:{"0":0.01469,"3":0,"4":0,"2.1":0,"2.2":0,"2.3":0,"4.1":0,"4.2-4.3":0.00001,"4.4":0,"4.4.3-4.4.4":0.00002},K:{"0":1.31798,_:"10 11 12 11.1 11.5 12.1"},A:{"8":0.01413,"9":0.00283,"11":0.06218,_:"6 7 10 5.5"},N:{_:"10 11"},S:{"2.5":0.01473,_:"3.0-3.1"},J:{_:"7 10"},O:{"0":0.09572},H:{"0":0},L:{"0":58.25686},R:{_:"0"},M:{"0":0.15462},Q:{_:"14.9"}}; diff --git a/node_modules/caniuse-lite/data/regions/BA.js b/node_modules/caniuse-lite/data/regions/BA.js index d50d7d0617..80a13db2a3 100644 --- a/node_modules/caniuse-lite/data/regions/BA.js +++ b/node_modules/caniuse-lite/data/regions/BA.js @@ -1 +1 @@ -module.exports={C:{"48":0.00353,"52":0.09183,"56":0.00353,"64":0.00353,"68":0.00353,"84":0.00353,"88":0.00353,"91":0.00353,"99":0.00353,"102":0.00706,"103":0.01413,"108":0.01766,"111":0.01413,"113":0.01413,"115":0.76291,"119":0.00706,"120":0.00353,"121":0.01766,"122":0.0106,"123":0.03179,"124":0.03532,"125":0.86534,"126":0.8936,"127":0.00353,_:"2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 49 50 51 53 54 55 57 58 59 60 61 62 63 65 66 67 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 85 86 87 89 90 92 93 94 95 96 97 98 100 101 104 105 106 107 109 110 112 114 116 117 118 128 129 3.5 3.6"},D:{"38":0.0106,"43":0.00353,"46":0.00353,"47":0.00353,"49":0.03179,"50":0.00353,"51":0.00706,"53":0.00353,"55":0.00353,"64":0.00706,"65":0.00706,"68":0.00353,"69":0.00706,"70":0.0106,"71":0.00353,"72":0.02472,"76":0.01766,"77":0.00353,"78":0.0106,"79":0.48388,"80":0.01413,"81":0.0106,"83":0.00706,"84":0.01413,"85":0.0106,"86":0.00706,"87":0.24371,"88":0.02472,"89":0.00353,"90":0.00706,"91":0.00353,"92":0.0106,"93":0.00706,"94":0.05651,"95":0.00706,"96":0.01413,"97":0.00353,"98":0.00353,"99":0.01413,"100":0.04592,"101":0.00353,"102":0.00706,"103":0.02119,"104":0.02472,"105":0.00706,"106":0.01413,"107":0.02472,"108":0.01766,"109":3.37659,"110":0.00706,"111":0.02119,"112":0.01413,"113":0.00706,"114":0.01766,"115":0.00353,"116":0.11302,"117":0.00706,"118":0.0106,"119":0.06358,"120":0.12362,"121":0.07417,"122":0.24724,"123":0.62516,"124":14.20924,"125":5.26974,"126":0.00353,_:"4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 39 40 41 42 44 45 48 52 54 56 57 58 59 60 61 62 63 66 67 73 74 75 127 128"},F:{"28":0.01766,"36":0.00353,"46":0.03885,"54":0.00353,"69":0.00353,"72":0.00353,"85":0.01766,"95":0.09536,"96":0.00353,"106":0.00353,"107":0.19073,"108":0.01413,"109":1.18675,"110":0.06711,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 29 30 31 32 33 34 35 37 38 39 40 41 42 43 44 45 47 48 49 50 51 52 53 55 56 57 58 60 62 63 64 65 66 67 68 70 71 73 74 75 76 77 78 79 80 81 82 83 84 86 87 88 89 90 91 92 93 94 97 98 99 100 101 102 103 104 105 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"14":0.00353,"18":0.00353,"84":0.00353,"85":0.01766,"89":0.00353,"92":0.00706,"102":0.00706,"108":0.0106,"109":0.05298,"111":0.00353,"113":0.00353,"114":0.0106,"118":0.00353,"119":0.02472,"120":0.01766,"121":0.0106,"122":0.03532,"123":0.07417,"124":1.90375,"125":1.0596,_:"12 13 15 16 17 79 80 81 83 86 87 88 90 91 93 94 95 96 97 98 99 100 101 103 104 105 106 107 110 112 115 116 117"},E:{"9":0.0106,"13":0.00353,"14":0.00353,_:"0 4 5 6 7 8 10 11 12 15 3.1 3.2 5.1 6.1 7.1 9.1 10.1 11.1 17.6","12.1":0.0106,"13.1":0.01766,"14.1":0.03885,"15.1":0.01413,"15.2-15.3":0.00706,"15.4":0.00353,"15.5":0.0106,"15.6":0.10949,"16.0":0.00706,"16.1":0.00706,"16.2":0.00706,"16.3":0.0106,"16.4":0.00353,"16.5":0.02826,"16.6":0.10243,"17.0":0.00706,"17.1":0.01766,"17.2":0.02826,"17.3":0.01766,"17.4":0.46976,"17.5":0.06711},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.00164,"5.0-5.1":0.00164,"6.0-6.1":0.0041,"7.0-7.1":0.00575,"8.1-8.4":0.00164,"9.0-9.2":0.0041,"9.3":0.01888,"10.0-10.2":0.00328,"10.3":0.02955,"11.0-11.2":0.0435,"11.3-11.4":0.00821,"12.0-12.1":0.00492,"12.2-12.5":0.11901,"13.0-13.1":0.00246,"13.2":0.01149,"13.3":0.00575,"13.4-13.7":0.02627,"14.0-14.4":0.04514,"14.5-14.8":0.06977,"15.0-15.1":0.03365,"15.2-15.3":0.03694,"15.4":0.04186,"15.5":0.05253,"15.6-15.8":0.47277,"16.0":0.10752,"16.1":0.22161,"16.2":0.10752,"16.3":0.18632,"16.4":0.0394,"16.5":0.07962,"16.6-16.7":0.63447,"17.0":0.06895,"17.1":0.11245,"17.2":0.11737,"17.3":0.21669,"17.4":4.92063,"17.5":0.34719,"17.6":0},P:{"4":0.81366,"20":0.0309,"21":0.0927,"22":0.0515,"23":0.13389,"24":0.35018,"25":3.57393,"5.0-5.4":0.0515,"6.2-6.4":0.0927,"7.2-7.4":0.0309,_:"8.2 9.2 10.1 12.0 16.0","11.1-11.2":0.0412,"13.0":0.0206,"14.0":0.0103,"15.0":0.0103,"17.0":0.0412,"18.0":0.0206,"19.0":0.0412},I:{"0":0.25127,"3":0,"4":0.00003,"2.1":0,"2.2":0,"2.3":0,"4.1":0.00005,"4.2-4.3":0.00015,"4.4":0,"4.4.3-4.4.4":0.00055},K:{"0":0.32987,_:"10 11 12 11.1 11.5 12.1"},A:{"8":0.01413,"9":0.00353,"10":0.00353,"11":0.03179,_:"6 7 5.5"},S:{_:"2.5 3.0-3.1"},J:{_:"7 10"},N:{_:"10 11"},L:{"0":50.76592},R:{_:"0"},M:{"0":0.24578},Q:{_:"14.9"},O:{"0":0.01294},H:{"0":0}}; +module.exports={C:{"21":0.02307,"52":0.04614,"56":0.0033,"68":0.0033,"78":0.0033,"88":0.0033,"97":0.0033,"99":0.0033,"100":0.0033,"102":0.00659,"103":0.01318,"108":0.0033,"110":0.0033,"111":0.00989,"113":0.0033,"115":0.87344,"117":0.0033,"120":0.0033,"121":0.01648,"122":0.0033,"123":0.00659,"124":0.0033,"125":0.00989,"126":0.0033,"127":0.01318,"128":0.01318,"129":0.30323,"130":1.55901,"131":0.0033,_:"2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 53 54 55 57 58 59 60 61 62 63 64 65 66 67 69 70 71 72 73 74 75 76 77 79 80 81 82 83 84 85 86 87 89 90 91 92 93 94 95 96 98 101 104 105 106 107 109 112 114 116 118 119 132 133 134 135 3.5 3.6"},D:{"49":0.06592,"53":0.01648,"55":0.0033,"56":0.0033,"64":0.0033,"65":0.0033,"68":0.0033,"69":0.00659,"70":0.00659,"71":0.01318,"76":0.02307,"77":0.0033,"78":0.0033,"79":0.51747,"80":0.02966,"83":0.01318,"84":0.00989,"85":0.01318,"86":0.00989,"87":0.19117,"88":0.07581,"89":0.0033,"90":0.0033,"91":0.00989,"92":0.0033,"93":0.0033,"94":0.10877,"95":0.00989,"96":0.00989,"97":0.0033,"98":0.0033,"99":0.00659,"100":0.03626,"102":0.00989,"103":0.03626,"104":0.03296,"105":0.0033,"106":0.02637,"107":0.01978,"108":0.01978,"109":3.00925,"110":0.0033,"111":0.00989,"112":0.01318,"113":0.00659,"114":0.00989,"115":0.0033,"116":0.07251,"117":0.0033,"118":0.00659,"119":0.09888,"120":0.01978,"121":0.02966,"122":0.09888,"123":0.07581,"124":0.07251,"125":0.06922,"126":0.2439,"127":0.79104,"128":14.008,"129":4.71987,"130":0.0033,_:"4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 50 51 52 54 57 58 59 60 61 62 63 66 67 72 73 74 75 81 101 131 132 133"},F:{"28":0.00659,"36":0.00989,"40":0.00989,"46":0.04944,"69":0.0033,"82":0.0033,"84":0.01318,"95":0.07251,"108":0.0033,"109":0.01648,"111":0.00659,"112":0.73501,"113":0.46803,"114":0.0033,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 29 30 31 32 33 34 35 37 38 39 41 42 43 44 45 47 48 49 50 51 52 53 54 55 56 57 58 60 62 63 64 65 66 67 68 70 71 72 73 74 75 76 77 78 79 80 81 83 85 86 87 88 89 90 91 92 93 94 96 97 98 99 100 101 102 103 104 105 106 107 110 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"18":0.0033,"85":0.01318,"89":0.00659,"92":0.00989,"100":0.0033,"108":0.01648,"109":0.01648,"114":0.0033,"120":0.00659,"121":0.0033,"122":0.00989,"123":0.00659,"124":0.00659,"125":0.01318,"126":0.03296,"127":0.05933,"128":1.38432,"129":0.53725,_:"12 13 14 15 16 17 79 80 81 83 84 86 87 88 90 91 93 94 95 96 97 98 99 101 102 103 104 105 106 107 110 111 112 113 115 116 117 118 119 130"},E:{_:"0 4 5 6 7 8 9 10 11 12 13 14 15 3.1 3.2 5.1 6.1 7.1 9.1 10.1","11.1":0.00989,"12.1":0.00659,"13.1":0.01318,"14.1":0.01318,"15.1":0.0033,"15.2-15.3":0.0033,"15.4":0.0033,"15.5":0.0033,"15.6":0.10218,"16.0":0.00659,"16.1":0.00659,"16.2":0.0033,"16.3":0.00659,"16.4":0.00989,"16.5":0.02637,"16.6":0.10547,"17.0":0.00989,"17.1":0.01648,"17.2":0.00989,"17.3":0.00659,"17.4":0.04614,"17.5":0.09558,"17.6":0.46144,"18.0":0.06262,"18.1":0.00659},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.00191,"5.0-5.1":0.00095,"6.0-6.1":0.00572,"7.0-7.1":0.00668,"8.1-8.4":0,"9.0-9.2":0.00572,"9.3":0.01622,"10.0-10.2":0.00477,"10.3":0.02767,"11.0-11.2":0.10208,"11.3-11.4":0.00763,"12.0-12.1":0.00477,"12.2-12.5":0.11543,"13.0-13.1":0.00191,"13.2":0.03625,"13.3":0.00477,"13.4-13.7":0.01908,"14.0-14.4":0.04388,"14.5-14.8":0.05819,"15.0-15.1":0.03339,"15.2-15.3":0.03244,"15.4":0.03721,"15.5":0.04579,"15.6-15.8":0.45314,"16.0":0.09158,"16.1":0.18126,"16.2":0.09063,"16.3":0.15264,"16.4":0.03244,"16.5":0.06392,"16.6-16.7":0.54568,"17.0":0.04579,"17.1":0.0725,"17.2":0.06582,"17.3":0.09444,"17.4":0.20224,"17.5":0.9721,"17.6-17.7":5.17343,"18.0":0.65252,"18.1":0.02957},P:{"4":0.77015,"20":0.01027,"21":0.05134,"22":0.09242,"23":0.09242,"24":0.09242,"25":0.25672,"26":3.74805,"5.0-5.4":0.06161,"6.2-6.4":0.11295,"7.2-7.4":0.03081,_:"8.2 9.2 10.1 12.0 15.0","11.1-11.2":0.01027,"13.0":0.02054,"14.0":0.01027,"16.0":0.01027,"17.0":0.05134,"18.0":0.01027,"19.0":0.07188},I:{"0":0.18721,"3":0,"4":0,"2.1":0,"2.2":0,"2.3":0,"4.1":0.00002,"4.2-4.3":0.00008,"4.4":0,"4.4.3-4.4.4":0.0003},K:{"0":0.21453,_:"10 11 12 11.1 11.5 12.1"},A:{"11":0.00989,_:"6 7 8 9 10 5.5"},N:{_:"10 11"},S:{_:"2.5 3.0-3.1"},J:{_:"7 10"},O:{"0":0.0067},H:{"0":0},L:{"0":51.78933},R:{_:"0"},M:{"0":0.20782},Q:{_:"14.9"}}; diff --git a/node_modules/caniuse-lite/data/regions/BB.js b/node_modules/caniuse-lite/data/regions/BB.js index 3c66e7d747..f66ffd6bcb 100644 --- a/node_modules/caniuse-lite/data/regions/BB.js +++ b/node_modules/caniuse-lite/data/regions/BB.js @@ -1 +1 @@ -module.exports={C:{"52":0.00418,"78":0.00418,"108":0.00418,"113":0.00418,"115":0.12546,"121":0.01673,"123":0.00836,"124":0.01673,"125":0.6733,"126":0.65239,_:"2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 109 110 111 112 114 116 117 118 119 120 122 127 128 129 3.5 3.6"},D:{"55":0.00418,"56":0.00418,"57":0.00418,"66":0.00836,"69":0.00418,"76":0.00836,"79":0.00836,"80":0.02927,"85":0.00418,"86":0.00418,"87":0.00836,"88":0.00418,"89":0.01255,"93":0.01255,"96":0.02091,"97":0.00836,"99":0.03346,"101":0.00418,"103":0.24674,"104":0.00418,"105":0.00418,"106":0.00836,"107":0.00836,"109":1.00368,"110":0.00836,"111":0.00836,"112":0.00418,"113":0.00418,"114":0.01255,"115":0.00418,"116":0.05018,"117":0.00836,"118":0.00836,"119":0.02927,"120":0.09619,"121":0.01673,"122":0.28856,"123":1.14587,"124":15.87905,"125":7.26832,"126":0.02509,"127":0.00418,_:"4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 58 59 60 61 62 63 64 65 67 68 70 71 72 73 74 75 77 78 81 83 84 90 91 92 94 95 98 100 102 108 128"},F:{"95":0.02927,"107":0.24256,"108":0.00836,"109":0.96186,"110":0.03346,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 60 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 96 97 98 99 100 101 102 103 104 105 106 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"85":0.00418,"92":0.00418,"109":0.07946,"114":0.00418,"117":0.00836,"118":0.01255,"120":0.12546,"121":0.01255,"122":0.01673,"123":0.15892,"124":5.82134,"125":2.08682,_:"12 13 14 15 16 17 18 79 80 81 83 84 86 87 88 89 90 91 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 110 111 112 113 115 116 119"},E:{"13":0.00418,"14":0.00836,"15":0.00418,_:"0 4 5 6 7 8 9 10 11 12 3.1 3.2 5.1 6.1 7.1 9.1 10.1 11.1 12.1 15.1 15.2-15.3 17.6","13.1":0.01255,"14.1":0.12964,"15.4":0.01673,"15.5":0.00836,"15.6":0.12964,"16.0":0.00418,"16.1":0.13801,"16.2":0.05437,"16.3":0.06691,"16.4":0.02509,"16.5":0.02091,"16.6":0.17983,"17.0":0.33456,"17.1":0.1171,"17.2":0.05018,"17.3":0.05018,"17.4":1.55152,"17.5":0.22165},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.00308,"5.0-5.1":0.00308,"6.0-6.1":0.0077,"7.0-7.1":0.01078,"8.1-8.4":0.00308,"9.0-9.2":0.0077,"9.3":0.03542,"10.0-10.2":0.00616,"10.3":0.05544,"11.0-11.2":0.08162,"11.3-11.4":0.0154,"12.0-12.1":0.00924,"12.2-12.5":0.2233,"13.0-13.1":0.00462,"13.2":0.02156,"13.3":0.01078,"13.4-13.7":0.04928,"14.0-14.4":0.0847,"14.5-14.8":0.1309,"15.0-15.1":0.06314,"15.2-15.3":0.0693,"15.4":0.07854,"15.5":0.09856,"15.6-15.8":0.88705,"16.0":0.20174,"16.1":0.41581,"16.2":0.20174,"16.3":0.34959,"16.4":0.07392,"16.5":0.14938,"16.6-16.7":1.19044,"17.0":0.12936,"17.1":0.21098,"17.2":0.22022,"17.3":0.40657,"17.4":9.23245,"17.5":0.65143,"17.6":0},P:{"4":0.0564,"20":0.01128,"21":0.06768,"22":0.15792,"23":0.29329,"24":0.40609,"25":4.9069,_:"5.0-5.4 8.2 9.2 10.1 12.0 14.0 16.0","6.2-6.4":0.03384,"7.2-7.4":0.19176,"11.1-11.2":0.01128,"13.0":0.03384,"15.0":0.01128,"17.0":0.04512,"18.0":0.01128,"19.0":0.03384},I:{"0":0.01159,"3":0,"4":0,"2.1":0,"2.2":0,"2.3":0,"4.1":0,"4.2-4.3":0.00001,"4.4":0,"4.4.3-4.4.4":0.00003},K:{"0":0.13963,_:"10 11 12 11.1 11.5 12.1"},A:{"11":0.02091,_:"6 7 8 9 10 5.5"},S:{_:"2.5 3.0-3.1"},J:{_:"7 10"},N:{_:"10 11"},L:{"0":36.60675},R:{_:"0"},M:{"0":0.55271},Q:{_:"14.9"},O:{"0":0.01745},H:{"0":0}}; +module.exports={C:{"52":0.00465,"105":0.0093,"115":0.03256,"124":0.00465,"126":0.00465,"127":0.00465,"128":0.0093,"129":0.29773,"130":2.70746,"131":0.00465,"132":0.00465,_:"2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 106 107 108 109 110 111 112 113 114 116 117 118 119 120 121 122 123 125 133 134 135 3.5 3.6"},D:{"47":0.00465,"49":0.00465,"50":0.0093,"69":0.00465,"70":0.00465,"72":0.00465,"73":0.00465,"79":0.01861,"80":0.04652,"81":0.00465,"83":0.00465,"84":0.00465,"85":0.00465,"86":0.00465,"87":0.03256,"88":0.00465,"91":0.0093,"93":0.00465,"94":0.05582,"95":0.0093,"96":0.00465,"98":0.00465,"100":0.00465,"102":0.00465,"103":0.15352,"104":0.00465,"105":0.00465,"106":0.01396,"107":0.01861,"108":0.00465,"109":0.69315,"113":0.02791,"114":0.0093,"116":0.03256,"117":0.00465,"118":0.00465,"119":0.01396,"120":0.01396,"121":0.00465,"122":0.1256,"123":0.03256,"124":0.06048,"125":0.03722,"126":0.28842,"127":1.63285,"128":19.37093,"129":5.47075,"130":0.02326,_:"4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 48 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 71 74 75 76 77 78 89 90 92 97 99 101 110 111 112 115 131 132 133"},F:{"84":0.01861,"95":0.08374,"109":0.02326,"111":0.0093,"112":0.49311,"113":0.26051,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 60 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 85 86 87 88 89 90 91 92 93 94 96 97 98 99 100 101 102 103 104 105 106 107 108 110 114 9.5-9.6 10.0-10.1 10.5 10.6 11.5 11.6 12.1","11.1":0.01396},B:{"18":0.01396,"89":0.00465,"90":0.00465,"92":0.00465,"100":0.00465,"109":0.08839,"118":0.0093,"120":0.01861,"122":0.00465,"123":0.02326,"125":0.00465,"126":0.08839,"127":0.20934,"128":5.71731,"129":2.20505,_:"12 13 14 15 16 17 79 80 81 83 84 85 86 87 88 91 93 94 95 96 97 98 99 101 102 103 104 105 106 107 108 110 111 112 113 114 115 116 117 119 121 124 130"},E:{"13":0.00465,"14":0.01396,_:"0 4 5 6 7 8 9 10 11 12 15 3.1 3.2 5.1 6.1 7.1 9.1 10.1 11.1 12.1 15.2-15.3 18.1","13.1":0.00465,"14.1":0.11165,"15.1":0.00465,"15.4":0.00465,"15.5":0.01396,"15.6":0.15352,"16.0":0.00465,"16.1":0.32564,"16.2":0.01396,"16.3":0.08374,"16.4":0.00465,"16.5":0.02326,"16.6":0.18608,"17.0":0.0093,"17.1":0.05117,"17.2":0.01861,"17.3":0.08839,"17.4":0.09304,"17.5":0.38612,"17.6":2.84702,"18.0":0.26516},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.0025,"5.0-5.1":0.00125,"6.0-6.1":0.00751,"7.0-7.1":0.00877,"8.1-8.4":0,"9.0-9.2":0.00751,"9.3":0.02129,"10.0-10.2":0.00626,"10.3":0.03631,"11.0-11.2":0.13399,"11.3-11.4":0.01002,"12.0-12.1":0.00626,"12.2-12.5":0.15152,"13.0-13.1":0.0025,"13.2":0.04758,"13.3":0.00626,"13.4-13.7":0.02504,"14.0-14.4":0.0576,"14.5-14.8":0.07638,"15.0-15.1":0.04383,"15.2-15.3":0.04257,"15.4":0.04884,"15.5":0.06011,"15.6-15.8":0.5948,"16.0":0.12021,"16.1":0.23792,"16.2":0.11896,"16.3":0.20035,"16.4":0.04257,"16.5":0.0839,"16.6-16.7":0.71626,"17.0":0.06011,"17.1":0.09517,"17.2":0.0864,"17.3":0.12397,"17.4":0.26547,"17.5":1.27599,"17.6-17.7":6.79069,"18.0":0.85651,"18.1":0.03882},P:{"4":0.04509,"20":0.01127,"21":0.12401,"22":0.15783,"23":0.06764,"24":0.14655,"25":0.20292,"26":4.58827,"5.0-5.4":0.01127,"6.2-6.4":0.01127,"7.2-7.4":0.14655,_:"8.2 9.2 10.1 11.1-11.2 12.0 13.0 15.0 16.0 18.0","14.0":0.01127,"17.0":0.10146,"19.0":0.02255},I:{"0":0.02134,"3":0,"4":0,"2.1":0,"2.2":0,"2.3":0,"4.1":0,"4.2-4.3":0.00001,"4.4":0,"4.4.3-4.4.4":0.00003},K:{"0":0.18722,_:"10 11 12 11.1 11.5 12.1"},A:{"11":0.01396,_:"6 7 8 9 10 5.5"},N:{_:"10 11"},S:{_:"2.5 3.0-3.1"},J:{_:"7 10"},O:{"0":0.0214},H:{"0":0},L:{"0":34.7556},R:{_:"0"},M:{"0":0.89863},Q:{_:"14.9"}}; diff --git a/node_modules/caniuse-lite/data/regions/BD.js b/node_modules/caniuse-lite/data/regions/BD.js index 87f2fe7e3f..a07bc9c279 100644 --- a/node_modules/caniuse-lite/data/regions/BD.js +++ b/node_modules/caniuse-lite/data/regions/BD.js @@ -1 +1 @@ -module.exports={C:{"40":0.00257,"43":0.00257,"44":0.00257,"47":0.00257,"49":0.00257,"51":0.00257,"52":0.01798,"56":0.00257,"65":0.00257,"72":0.00257,"75":0.00257,"86":0.00257,"88":0.02569,"99":0.00257,"102":0.00257,"103":0.00514,"105":0.00771,"106":0.00514,"107":0.00514,"108":0.01028,"109":0.00771,"110":0.00514,"111":0.00771,"112":0.00257,"113":0.00257,"115":0.55234,"116":0.00257,"117":0.00257,"118":0.00257,"119":0.00257,"120":0.00257,"121":0.00257,"122":0.00514,"123":0.00771,"124":0.02312,"125":1.00705,"126":0.81694,"127":0.03083,_:"2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 41 42 45 46 48 50 53 54 55 57 58 59 60 61 62 63 64 66 67 68 69 70 71 73 74 76 77 78 79 80 81 82 83 84 85 87 89 90 91 92 93 94 95 96 97 98 100 101 104 114 128 129 3.5 3.6"},D:{"11":0.00257,"38":0.00257,"41":0.00514,"43":0.00257,"47":0.00257,"48":0.00257,"49":0.00771,"56":0.01028,"65":0.00257,"66":0.00257,"68":0.00257,"69":0.00514,"70":0.00514,"71":0.00514,"72":0.00257,"73":0.01028,"74":0.00514,"75":0.02826,"76":0.00257,"77":0.00257,"78":0.00257,"79":0.01028,"80":0.00514,"81":0.01028,"83":0.00771,"84":0.00257,"85":0.01028,"86":0.01028,"87":0.01028,"88":0.00514,"89":0.00514,"90":0.00257,"91":0.00257,"92":0.00257,"93":0.00771,"94":0.01285,"95":0.00514,"96":0.00514,"97":0.00257,"98":0.00257,"99":0.00514,"100":0.00257,"101":0.00257,"102":0.01028,"103":0.02826,"104":0.01541,"105":0.01798,"106":0.05652,"107":0.05652,"108":0.07707,"109":1.33845,"110":0.04367,"111":0.04367,"112":0.0411,"113":0.00514,"114":0.01798,"115":0.00771,"116":0.02312,"117":0.01028,"118":0.00771,"119":0.0334,"120":0.07964,"121":0.04624,"122":0.10276,"123":0.23892,"124":10.34279,"125":4.17719,"126":0.03597,"127":0.01028,_:"4 5 6 7 8 9 10 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 39 40 42 44 45 46 50 51 52 53 54 55 57 58 59 60 61 62 63 64 67 128"},F:{"28":0.00257,"46":0.00257,"79":0.00257,"82":0.00257,"83":0.00257,"91":0.00257,"92":0.00257,"93":0.00257,"94":0.00514,"95":0.02826,"96":0.00257,"102":0.00257,"106":0.00257,"107":0.04367,"108":0.00514,"109":0.37507,"110":0.0334,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 47 48 49 50 51 52 53 54 55 56 57 58 60 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 80 81 84 85 86 87 88 89 90 97 98 99 100 101 103 104 105 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"12":0.00771,"13":0.00257,"14":0.00257,"16":0.00514,"17":0.00257,"18":0.01541,"84":0.00257,"89":0.00257,"92":0.02826,"100":0.00257,"103":0.00257,"105":0.00257,"106":0.00257,"107":0.01028,"108":0.01285,"109":0.01798,"110":0.00771,"111":0.00514,"117":0.00257,"118":0.00514,"119":0.00257,"120":0.01028,"121":0.00771,"122":0.01028,"123":0.01798,"124":0.71161,"125":0.4059,_:"15 79 80 81 83 85 86 87 88 90 91 93 94 95 96 97 98 99 101 102 104 112 113 114 115 116"},E:{_:"0 4 5 6 7 8 9 10 11 12 13 14 15 3.1 3.2 5.1 6.1 7.1 9.1 10.1 11.1 12.1 15.1 15.2-15.3 17.6","13.1":0.00257,"14.1":0.00514,"15.4":0.00257,"15.5":0.00514,"15.6":0.03083,"16.0":0.01028,"16.1":0.00257,"16.2":0.00514,"16.3":0.00771,"16.4":0.00257,"16.5":0.00771,"16.6":0.02569,"17.0":0.00514,"17.1":0.00771,"17.2":0.01028,"17.3":0.00771,"17.4":0.13359,"17.5":0.02055},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.0006,"5.0-5.1":0.0006,"6.0-6.1":0.00151,"7.0-7.1":0.00212,"8.1-8.4":0.0006,"9.0-9.2":0.00151,"9.3":0.00696,"10.0-10.2":0.00121,"10.3":0.01089,"11.0-11.2":0.01603,"11.3-11.4":0.00302,"12.0-12.1":0.00181,"12.2-12.5":0.04385,"13.0-13.1":0.00091,"13.2":0.00423,"13.3":0.00212,"13.4-13.7":0.00968,"14.0-14.4":0.01663,"14.5-14.8":0.0257,"15.0-15.1":0.0124,"15.2-15.3":0.01361,"15.4":0.01542,"15.5":0.01935,"15.6-15.8":0.17418,"16.0":0.03961,"16.1":0.08165,"16.2":0.03961,"16.3":0.06865,"16.4":0.01452,"16.5":0.02933,"16.6-16.7":0.23376,"17.0":0.0254,"17.1":0.04143,"17.2":0.04324,"17.3":0.07983,"17.4":1.81289,"17.5":0.12792,"17.6":0},P:{"4":0.16307,"20":0.01019,"21":0.03057,"22":0.04077,"23":0.06115,"24":0.11211,"25":0.4892,_:"5.0-5.4 8.2 9.2 10.1 12.0 14.0 15.0","6.2-6.4":0.02038,"7.2-7.4":0.10192,"11.1-11.2":0.01019,"13.0":0.01019,"16.0":0.02038,"17.0":0.05096,"18.0":0.01019,"19.0":0.02038},I:{"0":0.14062,"3":0,"4":0.00001,"2.1":0,"2.2":0,"2.3":0,"4.1":0.00003,"4.2-4.3":0.00008,"4.4":0,"4.4.3-4.4.4":0.00031},K:{"0":3.19149,_:"10 11 12 11.1 11.5 12.1"},A:{"8":0.01405,"9":0.00562,"10":0.00281,"11":0.06744,_:"6 7 5.5"},S:{"2.5":0.01486,_:"3.0-3.1"},J:{_:"7 10"},N:{_:"10 11"},L:{"0":67.77812},R:{_:"0"},M:{"0":0.08916},Q:{_:"14.9"},O:{"0":2.03582},H:{"0":0.1}}; +module.exports={C:{"4":0.00548,"40":0.00274,"47":0.00274,"49":0.00548,"50":0.00274,"51":0.00548,"52":0.01917,"65":0.00274,"72":0.00274,"88":0.03013,"89":0.00274,"99":0.00274,"102":0.00274,"103":0.00548,"105":0.00548,"106":0.00548,"107":0.00548,"108":0.00548,"109":0.00822,"110":0.00548,"111":0.00548,"113":0.00274,"115":0.63271,"116":0.00274,"119":0.00274,"121":0.00274,"122":0.00274,"123":0.00274,"124":0.00274,"125":0.00822,"126":0.00548,"127":0.02191,"128":0.01096,"129":0.34511,"130":1.72283,"131":0.05752,"132":0.00274,_:"2 3 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 41 42 43 44 45 46 48 53 54 55 56 57 58 59 60 61 62 63 64 66 67 68 69 70 71 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 90 91 92 93 94 95 96 97 98 100 101 104 112 114 117 118 120 133 134 135 3.5 3.6"},D:{"38":0.00274,"46":0.00274,"48":0.00274,"49":0.00548,"56":0.03835,"65":0.00822,"66":0.00274,"69":0.0137,"70":0.00274,"71":0.00274,"72":0.00274,"73":0.0137,"74":0.00548,"75":0.03013,"76":0.00274,"78":0.00548,"79":0.00822,"80":0.00274,"81":0.00548,"83":0.01096,"84":0.00274,"85":0.00274,"86":0.01096,"87":0.00822,"88":0.00548,"89":0.00548,"90":0.00548,"91":0.00548,"92":0.00274,"93":0.00822,"94":0.02465,"95":0.00548,"96":0.00274,"97":0.00274,"98":0.00274,"99":0.00548,"100":0.00274,"101":0.00548,"102":0.00548,"103":0.04109,"104":0.02191,"105":0.02191,"106":0.05752,"107":0.06574,"108":0.08765,"109":1.38867,"110":0.05478,"111":0.05478,"112":0.04382,"113":0.00548,"114":0.01643,"115":0.00274,"116":0.02465,"117":0.00548,"118":0.02191,"119":0.01917,"120":0.02739,"121":0.01643,"122":0.03287,"123":0.04656,"124":0.10134,"125":0.03835,"126":0.1123,"127":0.33142,"128":11.47367,"129":4.1715,"130":0.03287,"131":0.01096,_:"4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 39 40 41 42 43 44 45 47 50 51 52 53 54 55 57 58 59 60 61 62 63 64 67 68 77 132 133"},F:{"46":0.00274,"79":0.00548,"83":0.00274,"84":0.02465,"85":0.00274,"91":0.00548,"92":0.00548,"93":0.00274,"94":0.00274,"95":0.03013,"96":0.00274,"106":0.00274,"107":0.00548,"109":0.00274,"111":0.00274,"112":0.24925,"113":0.26021,"114":0.0137,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 47 48 49 50 51 52 53 54 55 56 57 58 60 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 80 81 82 86 87 88 89 90 97 98 99 100 101 102 103 104 105 108 110 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"14":0.00274,"18":0.00548,"84":0.00274,"89":0.00274,"92":0.02191,"100":0.00274,"103":0.00274,"106":0.00822,"107":0.0137,"108":0.01096,"109":0.02191,"110":0.00822,"111":0.00548,"113":0.00274,"114":0.0137,"117":0.00548,"118":0.00822,"120":0.00548,"121":0.00548,"122":0.00274,"124":0.00548,"125":0.00548,"126":0.0137,"127":0.02191,"128":0.80801,"129":0.34785,_:"12 13 15 16 17 79 80 81 83 85 86 87 88 90 91 93 94 95 96 97 98 99 101 102 104 105 112 115 116 119 123 130"},E:{"10":0.00822,_:"0 4 5 6 7 8 9 11 12 13 14 15 3.1 3.2 5.1 6.1 7.1 9.1 10.1 11.1 12.1 15.1 15.2-15.3 15.4","13.1":0.00274,"14.1":0.00274,"15.5":0.00548,"15.6":0.02191,"16.0":0.00548,"16.1":0.00274,"16.2":0.00274,"16.3":0.00548,"16.4":0.00274,"16.5":0.00548,"16.6":0.02191,"17.0":0.00274,"17.1":0.00274,"17.2":0.01096,"17.3":0.01096,"17.4":0.01917,"17.5":0.01917,"17.6":0.13421,"18.0":0.03287,"18.1":0.00274},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.00054,"5.0-5.1":0.00027,"6.0-6.1":0.00162,"7.0-7.1":0.00189,"8.1-8.4":0,"9.0-9.2":0.00162,"9.3":0.00459,"10.0-10.2":0.00135,"10.3":0.00783,"11.0-11.2":0.0289,"11.3-11.4":0.00216,"12.0-12.1":0.00135,"12.2-12.5":0.03268,"13.0-13.1":0.00054,"13.2":0.01026,"13.3":0.00135,"13.4-13.7":0.0054,"14.0-14.4":0.01242,"14.5-14.8":0.01647,"15.0-15.1":0.00945,"15.2-15.3":0.00918,"15.4":0.01053,"15.5":0.01296,"15.6-15.8":0.12828,"16.0":0.02593,"16.1":0.05131,"16.2":0.02566,"16.3":0.04321,"16.4":0.00918,"16.5":0.01809,"16.6-16.7":0.15448,"17.0":0.01296,"17.1":0.02053,"17.2":0.01863,"17.3":0.02674,"17.4":0.05726,"17.5":0.2752,"17.6-17.7":1.4646,"18.0":0.18473,"18.1":0.00837},P:{"4":0.13749,"20":0.01058,"21":0.01058,"22":0.01058,"23":0.02115,"24":0.02115,"25":0.05288,"26":0.46536,_:"5.0-5.4 8.2 9.2 10.1 11.1-11.2 12.0 13.0 14.0 15.0 16.0 18.0 19.0","6.2-6.4":0.02115,"7.2-7.4":0.06346,"17.0":0.04231},I:{"0":0.0724,"3":0,"4":0,"2.1":0,"2.2":0,"2.3":0,"4.1":0.00001,"4.2-4.3":0.00003,"4.4":0,"4.4.3-4.4.4":0.00012},K:{"0":2.3158,_:"10 11 12 11.1 11.5 12.1"},A:{"8":0.01227,"9":0.00307,"11":0.06135,_:"6 7 10 5.5"},N:{_:"10 11"},S:{"2.5":0.01452,_:"3.0-3.1"},J:{_:"7 10"},O:{"0":2.38854},H:{"0":0.08},L:{"0":67.19015},R:{_:"0"},M:{"0":0.13794},Q:{"14.9":0.00726}}; diff --git a/node_modules/caniuse-lite/data/regions/BE.js b/node_modules/caniuse-lite/data/regions/BE.js index 48a14baf3d..73ce280b73 100644 --- a/node_modules/caniuse-lite/data/regions/BE.js +++ b/node_modules/caniuse-lite/data/regions/BE.js @@ -1 +1 @@ -module.exports={C:{"48":0.00543,"52":0.01629,"55":0.00543,"68":0.00543,"78":0.04344,"83":0.01086,"87":0.00543,"88":0.00543,"91":0.00543,"102":0.00543,"103":0.00543,"106":0.00543,"107":0.00543,"108":0.00543,"113":0.00543,"115":0.3801,"118":0.03801,"119":0.00543,"120":0.04344,"121":0.01086,"122":0.01086,"123":0.02172,"124":0.06516,"125":1.86792,"126":1.65072,"127":0.01629,_:"2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 49 50 51 53 54 56 57 58 59 60 61 62 63 64 65 66 67 69 70 71 72 73 74 75 76 77 79 80 81 82 84 85 86 89 90 92 93 94 95 96 97 98 99 100 101 104 105 109 110 111 112 114 116 117 128 129 3.5 3.6"},D:{"38":0.00543,"49":0.02715,"65":0.00543,"66":0.01086,"74":0.14118,"75":0.13032,"76":0.13032,"77":0.13032,"78":2.08512,"79":2.75844,"80":0.01086,"81":0.00543,"83":0.10317,"84":0.00543,"85":0.01086,"86":0.00543,"87":0.03801,"88":0.02172,"89":0.02715,"90":0.02172,"91":0.01086,"92":0.01086,"93":0.00543,"94":0.01086,"96":0.00543,"99":0.01086,"100":0.00543,"101":0.00543,"102":0.01086,"103":0.07602,"104":0.02172,"105":0.01629,"106":0.01086,"107":0.01086,"108":0.01086,"109":0.88509,"110":0.00543,"111":0.01086,"112":0.01086,"113":0.08688,"114":0.11946,"115":0.53214,"116":0.18462,"117":0.01629,"118":0.02715,"119":0.03801,"120":0.39639,"121":0.21177,"122":0.35838,"123":1.22175,"124":16.58865,"125":6.56487,"126":0.01086,"127":0.00543,_:"4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 39 40 41 42 43 44 45 46 47 48 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 67 68 69 70 71 72 73 95 97 98 128"},F:{"46":0.00543,"89":0.00543,"95":0.01629,"102":0.00543,"107":0.27693,"108":0.02172,"109":1.01541,"110":0.04344,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 47 48 49 50 51 52 53 54 55 56 57 58 60 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 90 91 92 93 94 96 97 98 99 100 101 103 104 105 106 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"92":0.00543,"102":0.00543,"104":0.00543,"107":0.00543,"108":0.00543,"109":0.07602,"112":0.00543,"113":0.00543,"114":0.01086,"115":0.00543,"116":0.00543,"117":0.01086,"118":0.00543,"119":0.01086,"120":0.07602,"121":0.03258,"122":0.08145,"123":0.18462,"124":5.21823,"125":3.04623,_:"12 13 14 15 16 17 18 79 80 81 83 84 85 86 87 88 89 90 91 93 94 95 96 97 98 99 100 101 103 105 106 110 111"},E:{"9":0.00543,"14":0.03801,"15":0.00543,_:"0 4 5 6 7 8 10 11 12 13 3.1 3.2 5.1 6.1 7.1 9.1 10.1 11.1 17.6","12.1":0.02172,"13.1":0.14118,"14.1":0.13575,"15.1":0.01629,"15.2-15.3":0.02172,"15.4":0.04344,"15.5":0.05973,"15.6":0.67875,"16.0":0.04887,"16.1":0.08145,"16.2":0.07059,"16.3":0.15204,"16.4":0.06516,"16.5":0.10317,"16.6":0.62988,"17.0":0.0543,"17.1":0.13032,"17.2":0.15747,"17.3":0.15204,"17.4":2.7693,"17.5":0.35838},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.0039,"5.0-5.1":0.0039,"6.0-6.1":0.00975,"7.0-7.1":0.01365,"8.1-8.4":0.0039,"9.0-9.2":0.00975,"9.3":0.04486,"10.0-10.2":0.0078,"10.3":0.07022,"11.0-11.2":0.10338,"11.3-11.4":0.0195,"12.0-12.1":0.0117,"12.2-12.5":0.28282,"13.0-13.1":0.00585,"13.2":0.02731,"13.3":0.01365,"13.4-13.7":0.06242,"14.0-14.4":0.10728,"14.5-14.8":0.16579,"15.0-15.1":0.07997,"15.2-15.3":0.08777,"15.4":0.09947,"15.5":0.12483,"15.6-15.8":1.12347,"16.0":0.25551,"16.1":0.52663,"16.2":0.25551,"16.3":0.44276,"16.4":0.09362,"16.5":0.1892,"16.6-16.7":1.50772,"17.0":0.16384,"17.1":0.26722,"17.2":0.27892,"17.3":0.51493,"17.4":11.6931,"17.5":0.82505,"17.6":0},P:{"4":0.05299,"20":0.0106,"21":0.04239,"22":0.03179,"23":0.06359,"24":0.20136,"25":2.98861,_:"5.0-5.4 7.2-7.4 8.2 9.2 10.1 11.1-11.2 12.0 14.0 15.0","6.2-6.4":0.0106,"13.0":0.0106,"16.0":0.0106,"17.0":0.0106,"18.0":0.0106,"19.0":0.0106},I:{"0":0.07283,"3":0,"4":0.00001,"2.1":0,"2.2":0,"2.3":0,"4.1":0.00001,"4.2-4.3":0.00004,"4.4":0,"4.4.3-4.4.4":0.00016},K:{"0":0.1828,_:"10 11 12 11.1 11.5 12.1"},A:{"8":0.00543,"10":0.00543,"11":0.04344,_:"6 7 9 5.5"},S:{_:"2.5 3.0-3.1"},J:{_:"7 10"},N:{_:"10 11"},L:{"0":21.88679},R:{_:"0"},M:{"0":0.31076},Q:{_:"14.9"},O:{"0":0.02285},H:{"0":0}}; +module.exports={C:{"40":0.00532,"48":0.00532,"52":0.01595,"55":0.00532,"78":0.07977,"83":0.01064,"88":0.00532,"91":0.00532,"102":0.00532,"104":0.00532,"108":0.00532,"113":0.00532,"115":0.39353,"118":0.00532,"121":0.00532,"122":0.00532,"123":0.00532,"124":0.00532,"125":0.01064,"126":0.01064,"127":0.02659,"128":0.04254,"129":0.53712,"130":2.6005,"131":0.01595,_:"2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 41 42 43 44 45 46 47 49 50 51 53 54 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 79 80 81 82 84 85 86 87 89 90 92 93 94 95 96 97 98 99 100 101 103 105 106 107 109 110 111 112 114 116 117 119 120 132 133 134 135 3.5","3.6":0.00532},D:{"38":0.00532,"39":0.00532,"40":0.00532,"41":0.00532,"42":0.00532,"43":0.00532,"44":0.01064,"45":0.00532,"46":0.00532,"47":0.00532,"49":0.01595,"51":0.01064,"56":0.01064,"70":0.00532,"71":0.03191,"73":0.00532,"74":0.1489,"75":0.13827,"76":0.13827,"77":0.13827,"78":2.28142,"79":2.96744,"80":0.00532,"83":0.13827,"85":0.00532,"87":0.02659,"88":0.00532,"89":0.03191,"90":0.02127,"91":0.02659,"94":0.01064,"96":0.01064,"97":0.00532,"98":0.00532,"99":0.00532,"100":0.00532,"101":0.00532,"102":0.01064,"103":0.05318,"104":0.01064,"105":0.01064,"106":0.01064,"107":0.01064,"108":0.01595,"109":0.66475,"110":0.00532,"111":0.01064,"112":0.00532,"113":0.10636,"114":0.12763,"115":0.01064,"116":0.1489,"117":0.01064,"118":0.01064,"119":0.02127,"120":0.3829,"121":0.03723,"122":0.18613,"123":0.09572,"124":0.11168,"125":0.55839,"126":0.72857,"127":1.2125,"128":15.12439,"129":6.36565,"130":0.00532,_:"4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 48 50 52 53 54 55 57 58 59 60 61 62 63 64 65 66 67 68 69 72 81 84 86 92 93 95 131 132 133"},F:{"31":0.00532,"46":0.00532,"84":0.01064,"95":0.01595,"102":0.00532,"109":0.02659,"111":0.00532,"112":0.71793,"113":0.51053,"114":0.00532,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 32 33 34 35 36 37 38 39 40 41 42 43 44 45 47 48 49 50 51 52 53 54 55 56 57 58 60 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 85 86 87 88 89 90 91 92 93 94 96 97 98 99 100 101 103 104 105 106 107 108 110 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"92":0.00532,"107":0.00532,"108":0.00532,"109":0.07445,"114":0.00532,"115":0.00532,"116":0.00532,"117":0.00532,"119":0.01064,"120":0.03191,"121":0.02127,"122":0.01064,"123":0.00532,"124":0.01595,"125":0.02127,"126":0.11168,"127":0.23931,"128":5.3765,"129":2.6005,"130":0.00532,_:"12 13 14 15 16 17 18 79 80 81 83 84 85 86 87 88 89 90 91 93 94 95 96 97 98 99 100 101 102 103 104 105 106 110 111 112 113 118"},E:{"8":0.00532,"9":0.01595,"14":0.02127,"15":0.00532,_:"0 4 5 6 7 10 11 12 13 3.1 3.2 5.1 6.1 7.1 9.1 10.1 11.1","12.1":0.01064,"13.1":0.09572,"14.1":0.12231,"15.1":0.02127,"15.2-15.3":0.01064,"15.4":0.02659,"15.5":0.03191,"15.6":0.65411,"16.0":0.05318,"16.1":0.06382,"16.2":0.04786,"16.3":0.117,"16.4":0.07977,"16.5":0.0585,"16.6":0.52116,"17.0":0.03723,"17.1":0.07445,"17.2":0.09572,"17.3":0.07977,"17.4":0.17018,"17.5":0.5903,"17.6":2.89299,"18.0":0.29249,"18.1":0.01064},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.00376,"5.0-5.1":0.00188,"6.0-6.1":0.01129,"7.0-7.1":0.01317,"8.1-8.4":0,"9.0-9.2":0.01129,"9.3":0.03198,"10.0-10.2":0.00941,"10.3":0.05455,"11.0-11.2":0.20128,"11.3-11.4":0.01505,"12.0-12.1":0.00941,"12.2-12.5":0.22762,"13.0-13.1":0.00376,"13.2":0.07148,"13.3":0.00941,"13.4-13.7":0.03762,"14.0-14.4":0.08653,"14.5-14.8":0.11475,"15.0-15.1":0.06584,"15.2-15.3":0.06396,"15.4":0.07337,"15.5":0.0903,"15.6-15.8":0.89355,"16.0":0.18059,"16.1":0.35742,"16.2":0.17871,"16.3":0.30099,"16.4":0.06396,"16.5":0.12604,"16.6-16.7":1.07602,"17.0":0.0903,"17.1":0.14297,"17.2":0.1298,"17.3":0.18623,"17.4":0.39881,"17.5":1.9169,"17.6-17.7":10.20154,"18.0":1.28671,"18.1":0.05832},P:{"4":0.03173,"20":0.01058,"21":0.03173,"22":0.02115,"23":0.03173,"24":0.04231,"25":0.1798,"26":3.046,_:"5.0-5.4 7.2-7.4 8.2 9.2 10.1 11.1-11.2 12.0 14.0 15.0 16.0 17.0 18.0","6.2-6.4":0.02115,"13.0":0.01058,"19.0":0.01058},I:{"0":0.11676,"3":0,"4":0,"2.1":0,"2.2":0,"2.3":0,"4.1":0.00001,"4.2-4.3":0.00005,"4.4":0,"4.4.3-4.4.4":0.00019},K:{"0":0.17327,_:"10 11 12 11.1 11.5 12.1"},A:{"6":0.00532,"7":0.00532,"8":0.05318,"9":0.01064,"10":0.01595,"11":0.07445,_:"5.5"},N:{_:"10 11"},S:{"2.5":0.00468,_:"3.0-3.1"},J:{_:"7 10"},O:{"0":0.03278},H:{"0":0},L:{"0":23.57018},R:{_:"0"},M:{"0":0.34186},Q:{"14.9":0.00468}}; diff --git a/node_modules/caniuse-lite/data/regions/BF.js b/node_modules/caniuse-lite/data/regions/BF.js index 6e1eacba73..45f4dd2c44 100644 --- a/node_modules/caniuse-lite/data/regions/BF.js +++ b/node_modules/caniuse-lite/data/regions/BF.js @@ -1 +1 @@ -module.exports={C:{"43":0.00226,"45":0.00226,"47":0.00451,"54":0.00226,"56":0.00226,"60":0.00226,"65":0.00451,"72":0.0158,"76":0.00226,"78":0.00677,"79":0.00451,"85":0.06094,"92":0.00226,"106":0.00226,"111":0.00226,"113":0.00226,"114":0.03611,"115":0.50105,"116":0.00677,"119":0.00226,"120":0.0158,"121":0.04063,"122":0.00677,"123":0.00903,"124":0.04063,"125":1.43545,"126":0.84412,"127":0.00226,_:"2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 44 46 48 49 50 51 52 53 55 57 58 59 61 62 63 64 66 67 68 69 70 71 73 74 75 77 80 81 82 83 84 86 87 88 89 90 91 93 94 95 96 97 98 99 100 101 102 103 104 105 107 108 109 110 112 117 118 128 129 3.5 3.6"},D:{"28":0.00226,"29":0.00226,"33":0.00226,"39":0.01129,"46":0.00226,"49":0.00226,"58":0.00226,"65":0.00226,"68":0.01354,"69":0.00677,"70":0.00677,"71":0.00226,"73":0.00451,"75":0.00903,"76":0.00451,"79":0.00903,"80":0.00226,"81":0.00226,"83":0.00903,"86":0.00226,"87":0.02257,"88":0.00226,"91":0.0158,"92":0.00226,"93":0.03837,"94":0.00677,"95":0.00451,"97":0.00226,"98":0.00451,"99":0.09931,"100":0.01354,"102":0.01129,"103":0.03611,"104":0.00226,"105":0.0316,"106":0.00226,"107":0.00677,"108":0.00226,"109":1.26618,"110":0.00451,"111":0.00226,"112":0.00226,"113":0.00226,"114":0.00226,"115":0.00903,"116":0.0158,"117":0.01129,"118":0.00226,"119":0.02708,"120":0.04288,"121":0.01129,"122":0.0316,"123":0.21442,"124":4.5456,"125":2.0787,"127":0.00677,_:"4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 30 31 32 34 35 36 37 38 40 41 42 43 44 45 47 48 50 51 52 53 54 55 56 57 59 60 61 62 63 64 66 67 72 74 77 78 84 85 89 90 96 101 126 128"},F:{"53":0.00226,"62":0.00226,"79":0.02031,"85":0.00226,"95":0.03837,"107":0.01129,"108":0.02708,"109":1.02694,"110":0.07674,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 54 55 56 57 58 60 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 80 81 82 83 84 86 87 88 89 90 91 92 93 94 96 97 98 99 100 101 102 103 104 105 106 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"13":0.00226,"14":0.00226,"17":0.00451,"18":0.1941,"84":0.00226,"89":0.00226,"90":0.00677,"92":0.02031,"98":0.00451,"100":0.00451,"104":0.00226,"109":0.03611,"110":0.00226,"114":0.01806,"115":0.00226,"117":0.00226,"118":0.01129,"119":0.01129,"120":0.01354,"121":0.01129,"122":0.03611,"123":0.12188,"124":3.11015,"125":1.11722,_:"12 15 16 79 80 81 83 85 86 87 88 91 93 94 95 96 97 99 101 102 103 105 106 107 108 111 112 113 116"},E:{_:"0 4 5 6 7 8 9 10 11 12 13 14 15 3.1 3.2 5.1 6.1 7.1 9.1 10.1 15.2-15.3 15.4 15.5 16.0 16.1 16.2 17.0 17.2 17.6","11.1":0.00226,"12.1":0.00226,"13.1":0.04063,"14.1":0.00677,"15.1":0.00226,"15.6":0.00903,"16.3":0.03837,"16.4":0.00226,"16.5":0.01354,"16.6":0.00677,"17.1":0.00451,"17.3":0.00451,"17.4":0.06997,"17.5":0.00903},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.00076,"5.0-5.1":0.00076,"6.0-6.1":0.00189,"7.0-7.1":0.00265,"8.1-8.4":0.00076,"9.0-9.2":0.00189,"9.3":0.00869,"10.0-10.2":0.00151,"10.3":0.0136,"11.0-11.2":0.02003,"11.3-11.4":0.00378,"12.0-12.1":0.00227,"12.2-12.5":0.05479,"13.0-13.1":0.00113,"13.2":0.00529,"13.3":0.00265,"13.4-13.7":0.01209,"14.0-14.4":0.02078,"14.5-14.8":0.03212,"15.0-15.1":0.01549,"15.2-15.3":0.017,"15.4":0.01927,"15.5":0.02418,"15.6-15.8":0.21765,"16.0":0.0495,"16.1":0.10202,"16.2":0.0495,"16.3":0.08577,"16.4":0.01814,"16.5":0.03665,"16.6-16.7":0.29208,"17.0":0.03174,"17.1":0.05177,"17.2":0.05403,"17.3":0.09975,"17.4":2.26526,"17.5":0.15983,"17.6":0},P:{"4":0.02137,"20":0.01068,"21":0.02137,"22":0.02137,"23":0.11752,"24":0.08547,"25":0.4487,_:"5.0-5.4 6.2-6.4 8.2 9.2 10.1 11.1-11.2 12.0 13.0 14.0 15.0 17.0 18.0","7.2-7.4":0.02137,"16.0":0.01068,"19.0":0.08547},I:{"0":0.03856,"3":0,"4":0,"2.1":0,"2.2":0,"2.3":0,"4.1":0.00001,"4.2-4.3":0.00002,"4.4":0,"4.4.3-4.4.4":0.00009},K:{"0":1.95181,_:"10 11 12 11.1 11.5 12.1"},A:{"11":0.01129,_:"6 7 8 9 10 5.5"},S:{_:"2.5 3.0-3.1"},J:{_:"7 10"},N:{_:"10 11"},L:{"0":72.71528},R:{_:"0"},M:{"0":0.24003},Q:{"14.9":0.08517},O:{"0":0.17035},H:{"0":1.85}}; +module.exports={C:{"43":0.00246,"47":0.00246,"56":0.00246,"60":0.00246,"70":0.00246,"72":0.02218,"75":0.00246,"77":0.00246,"78":0.00493,"79":0.00246,"85":0.06899,"86":0.00246,"89":0.00493,"94":0.00246,"99":0.05667,"102":0.00246,"106":0.00986,"107":0.00246,"110":0.00246,"113":0.02464,"115":0.24394,"118":0.00246,"119":0.00246,"121":0.00246,"122":0.00246,"123":0.00246,"124":0.00493,"125":0.00246,"126":0.00246,"127":0.04435,"128":0.01232,"129":0.44106,"130":2.11658,"131":0.01725,_:"2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 44 45 46 48 49 50 51 52 53 54 55 57 58 59 61 62 63 64 65 66 67 68 69 71 73 74 76 80 81 82 83 84 87 88 90 91 92 93 95 96 97 98 100 101 103 104 105 108 109 111 112 114 116 117 120 132 133 134 135 3.5 3.6"},D:{"31":0.00246,"37":0.00246,"38":0.00246,"48":0.00246,"49":0.00493,"55":0.00246,"59":0.00493,"64":0.00246,"65":0.00246,"66":0.00246,"68":0.00493,"69":0.00739,"70":0.00986,"72":0.00246,"73":0.00739,"74":0.00246,"75":0.01725,"76":0.00493,"77":0.00739,"79":0.01478,"81":0.00739,"83":0.04189,"84":0.00493,"86":0.00739,"87":0.07638,"88":0.00246,"89":0.00739,"90":0.00246,"91":0.04928,"92":0.00246,"93":0.07638,"94":0.02218,"95":0.01232,"96":0.00246,"97":0.00246,"98":0.01232,"99":0.12813,"100":0.00246,"103":0.01725,"105":0.00493,"106":0.00739,"107":0.00246,"108":0.00246,"109":1.39955,"110":0.00493,"111":0.00246,"112":0.00246,"114":0.00246,"115":0.01232,"116":0.03942,"117":0.00739,"118":0.00246,"119":0.03942,"120":0.02957,"121":0.00739,"122":0.01232,"123":0.2809,"124":0.02218,"125":0.0345,"126":0.0345,"127":0.43859,"128":5.73126,"129":2.47139,"130":0.00246,_:"4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 32 33 34 35 36 39 40 41 42 43 44 45 46 47 50 51 52 53 54 56 57 58 60 61 62 63 67 71 78 80 85 101 102 104 113 131 132 133"},F:{"42":0.00246,"74":0.00246,"79":0.01232,"84":0.01232,"90":0.00493,"95":0.05914,"107":0.00246,"109":0.00493,"110":0.00493,"111":0.00493,"112":0.74906,"113":0.33018,"114":0.01478,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 60 62 63 64 65 66 67 68 69 70 71 72 73 75 76 77 78 80 81 82 83 85 86 87 88 89 91 92 93 94 96 97 98 99 100 101 102 103 104 105 106 108 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"12":0.00246,"14":0.00246,"16":0.00246,"17":0.00246,"18":0.01725,"84":0.00246,"89":0.00739,"90":0.00246,"92":0.03203,"98":0.00246,"100":0.00493,"109":0.01232,"114":0.0271,"119":0.00246,"120":0.00739,"121":0.00493,"122":0.00246,"123":0.00246,"124":0.00493,"125":0.00986,"126":0.02464,"127":0.24147,"128":2.99376,"129":1.46362,_:"13 15 79 80 81 83 85 86 87 88 91 93 94 95 96 97 99 101 102 103 104 105 106 107 108 110 111 112 113 115 116 117 118 130"},E:{"11":0.00493,"14":0.00246,_:"0 4 5 6 7 8 9 10 12 13 15 3.1 3.2 5.1 6.1 7.1 9.1 10.1 15.1 15.2-15.3 15.4 16.0 16.1 16.2 16.4 17.1 17.2 17.3","11.1":0.00246,"12.1":0.00493,"13.1":0.00986,"14.1":0.00493,"15.5":0.00246,"15.6":0.02957,"16.3":0.01232,"16.5":0.00739,"16.6":0.0345,"17.0":0.00246,"17.4":0.00493,"17.5":0.04435,"17.6":0.08624,"18.0":0.01971,"18.1":0.00493},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.00106,"5.0-5.1":0.00053,"6.0-6.1":0.00317,"7.0-7.1":0.00369,"8.1-8.4":0,"9.0-9.2":0.00317,"9.3":0.00897,"10.0-10.2":0.00264,"10.3":0.0153,"11.0-11.2":0.05644,"11.3-11.4":0.00422,"12.0-12.1":0.00264,"12.2-12.5":0.06383,"13.0-13.1":0.00106,"13.2":0.02005,"13.3":0.00264,"13.4-13.7":0.01055,"14.0-14.4":0.02427,"14.5-14.8":0.03218,"15.0-15.1":0.01846,"15.2-15.3":0.01794,"15.4":0.02057,"15.5":0.02532,"15.6-15.8":0.25057,"16.0":0.05064,"16.1":0.10023,"16.2":0.05011,"16.3":0.0844,"16.4":0.01794,"16.5":0.03534,"16.6-16.7":0.30174,"17.0":0.02532,"17.1":0.04009,"17.2":0.0364,"17.3":0.05222,"17.4":0.11183,"17.5":0.53754,"17.6-17.7":2.86074,"18.0":0.36082,"18.1":0.01635},P:{"4":0.03235,"21":0.01078,"22":0.02156,"23":0.02156,"24":0.01078,"25":0.16173,"26":0.44207,_:"20 5.0-5.4 6.2-6.4 7.2-7.4 8.2 9.2 10.1 11.1-11.2 12.0 13.0 14.0 15.0 16.0 17.0 18.0 19.0"},I:{"0":0.03758,"3":0,"4":0,"2.1":0,"2.2":0,"2.3":0,"4.1":0,"4.2-4.3":0.00002,"4.4":0,"4.4.3-4.4.4":0.00006},K:{"0":1.70226,_:"10 11 12 11.1 11.5 12.1"},A:{"11":0.02464,_:"6 7 8 9 10 5.5"},N:{_:"10 11"},S:{"2.5":0.00754,_:"3.0-3.1"},J:{_:"7 10"},O:{"0":0.1884},H:{"0":0.34},L:{"0":70.26789},R:{_:"0"},M:{"0":0.15072},Q:{"14.9":0.05275}}; diff --git a/node_modules/caniuse-lite/data/regions/BG.js b/node_modules/caniuse-lite/data/regions/BG.js index 6218b4e1f5..7f6608e0b9 100644 --- a/node_modules/caniuse-lite/data/regions/BG.js +++ b/node_modules/caniuse-lite/data/regions/BG.js @@ -1 +1 @@ -module.exports={C:{"45":0.96439,"48":0.00674,"52":0.07081,"60":0.00337,"65":0.00337,"66":0.00337,"68":0.00337,"72":0.00674,"75":0.00337,"78":0.03035,"80":0.00337,"83":0.00674,"84":0.03709,"85":0.00337,"86":0.00337,"88":0.01349,"90":0.00337,"91":0.00337,"94":0.00337,"95":0.00337,"96":0.01349,"97":0.01349,"98":0.00337,"99":0.00674,"100":0.00674,"102":0.00674,"103":0.01686,"104":0.00674,"105":0.00337,"107":0.00337,"108":0.00337,"109":0.00337,"110":0.00337,"112":0.00674,"113":0.01349,"114":0.00337,"115":1.00148,"116":0.00337,"117":0.00674,"118":0.00337,"119":0.00337,"120":0.01349,"121":0.03372,"122":0.01012,"123":0.07756,"124":0.06744,"125":1.51066,"126":1.44996,"127":0.00674,_:"2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 46 47 49 50 51 53 54 55 56 57 58 59 61 62 63 64 67 69 70 71 73 74 76 77 79 81 82 87 89 92 93 101 106 111 128 129 3.5 3.6"},D:{"26":0.00337,"38":0.00337,"41":0.00337,"49":0.04721,"57":0.00337,"63":0.00337,"65":0.00337,"70":0.00337,"71":0.00337,"73":0.00337,"74":0.00337,"75":0.00337,"76":0.00337,"78":0.00337,"79":0.04046,"80":0.00337,"81":0.00674,"83":0.00674,"85":0.00674,"86":0.00337,"87":0.02698,"88":0.00674,"89":0.00337,"90":0.00337,"91":0.03372,"92":0.00337,"93":0.02698,"94":0.00337,"95":0.00674,"96":0.00337,"97":0.00674,"98":0.00337,"99":0.02023,"100":0.01012,"102":0.0236,"103":0.03035,"104":0.03709,"105":0.00674,"106":0.01012,"107":0.01012,"108":0.02698,"109":2.98085,"110":0.01012,"111":0.02023,"112":0.01349,"113":0.06407,"114":0.07081,"115":0.10116,"116":0.03372,"117":0.01686,"118":0.01686,"119":0.04046,"120":0.05732,"121":0.07418,"122":0.14837,"123":0.54289,"124":12.26396,"125":4.96358,"126":0.00674,"127":0.00337,_:"4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 27 28 29 30 31 32 33 34 35 36 37 39 40 42 43 44 45 46 47 48 50 51 52 53 54 55 56 58 59 60 61 62 64 66 67 68 69 72 77 84 101 128"},F:{"28":0.00674,"36":0.00674,"46":0.01012,"79":0.00337,"83":0.00337,"85":0.00674,"86":0.00337,"87":0.00337,"89":0.00337,"94":0.00337,"95":0.1079,"99":0.00337,"107":0.13825,"108":0.01686,"109":0.86998,"110":0.0607,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 29 30 31 32 33 34 35 37 38 39 40 41 42 43 44 45 47 48 49 50 51 52 53 54 55 56 57 58 60 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 80 81 82 84 88 90 91 92 93 96 97 98 100 101 102 103 104 105 106 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"15":0.00674,"16":0.00337,"92":0.00337,"100":0.00337,"107":0.00337,"109":0.08093,"110":0.00337,"113":0.00337,"114":0.00337,"115":0.00674,"116":0.00337,"117":0.00674,"118":0.00337,"119":0.00674,"120":0.01012,"121":0.01012,"122":0.01349,"123":0.05732,"124":1.84111,"125":1.12288,_:"12 13 14 17 18 79 80 81 83 84 85 86 87 88 89 90 91 93 94 95 96 97 98 99 101 102 103 104 105 106 108 111 112"},E:{"9":0.00337,"14":0.00674,_:"0 4 5 6 7 8 10 11 12 13 15 3.1 3.2 6.1 7.1 9.1 10.1 11.1 17.6","5.1":0.00337,"12.1":0.00337,"13.1":0.01012,"14.1":0.03709,"15.1":0.00337,"15.2-15.3":0.00337,"15.4":0.00337,"15.5":0.00337,"15.6":0.0607,"16.0":0.00674,"16.1":0.01012,"16.2":0.01012,"16.3":0.01686,"16.4":0.00674,"16.5":0.01012,"16.6":0.0607,"17.0":0.01012,"17.1":0.02023,"17.2":0.02698,"17.3":0.02023,"17.4":0.28662,"17.5":0.0607},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.00192,"5.0-5.1":0.00192,"6.0-6.1":0.00481,"7.0-7.1":0.00673,"8.1-8.4":0.00192,"9.0-9.2":0.00481,"9.3":0.02212,"10.0-10.2":0.00385,"10.3":0.03463,"11.0-11.2":0.05098,"11.3-11.4":0.00962,"12.0-12.1":0.00577,"12.2-12.5":0.13947,"13.0-13.1":0.00289,"13.2":0.01347,"13.3":0.00673,"13.4-13.7":0.03078,"14.0-14.4":0.0529,"14.5-14.8":0.08176,"15.0-15.1":0.03944,"15.2-15.3":0.04328,"15.4":0.04906,"15.5":0.06156,"15.6-15.8":0.55404,"16.0":0.126,"16.1":0.2597,"16.2":0.126,"16.3":0.21834,"16.4":0.04617,"16.5":0.0933,"16.6-16.7":0.74352,"17.0":0.0808,"17.1":0.13178,"17.2":0.13755,"17.3":0.25393,"17.4":5.7664,"17.5":0.40687,"17.6":0},P:{"4":0.05138,"20":0.02055,"21":0.04111,"22":0.06166,"23":0.17471,"24":0.27748,"25":2.70283,"5.0-5.4":0.01028,"6.2-6.4":0.03083,"7.2-7.4":0.02055,_:"8.2 9.2 10.1 12.0 14.0 15.0","11.1-11.2":0.01028,"13.0":0.01028,"16.0":0.01028,"17.0":0.02055,"18.0":0.01028,"19.0":0.02055},I:{"0":0.22451,"3":0,"4":0.00002,"2.1":0,"2.2":0,"2.3":0,"4.1":0.00005,"4.2-4.3":0.00014,"4.4":0,"4.4.3-4.4.4":0.0005},K:{"0":0.29831,_:"10 11 12 11.1 11.5 12.1"},A:{"8":0.00674,"11":0.05058,_:"6 7 9 10 5.5"},S:{_:"2.5 3.0-3.1"},J:{_:"7 10"},N:{_:"10 11"},L:{"0":52.72305},R:{_:"0"},M:{"0":0.21876},Q:{_:"14.9"},O:{"0":0.02652},H:{"0":0}}; +module.exports={C:{"45":0.6426,"48":0.0032,"52":0.07673,"65":0.0032,"72":0.0032,"78":0.01279,"80":0.00639,"81":0.0032,"84":0.03836,"85":0.0032,"86":0.0032,"88":0.00959,"89":0.0032,"90":0.03517,"91":0.0032,"96":0.00639,"97":0.0032,"98":0.0032,"99":0.00639,"100":0.00639,"102":0.00959,"103":0.01599,"104":0.00959,"105":0.0032,"107":0.00639,"108":0.01279,"109":0.0032,"110":0.0032,"112":0.0032,"113":0.01279,"114":0.00639,"115":0.78327,"116":0.0032,"117":0.0032,"118":0.0032,"119":0.0032,"120":0.00639,"121":0.00639,"122":0.0032,"123":0.00639,"124":0.00959,"125":0.02558,"126":0.00959,"127":0.03197,"128":0.02238,"129":0.57866,"130":2.19954,"131":0.00959,_:"2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 46 47 49 50 51 53 54 55 56 57 58 59 60 61 62 63 64 66 67 68 69 70 71 73 74 75 76 77 79 82 83 87 92 93 94 95 101 106 111 132 133 134 135 3.5","3.6":0.0032},D:{"38":0.0032,"41":0.0032,"43":0.0032,"44":0.0032,"45":0.0032,"46":0.0032,"47":0.0032,"49":0.04476,"51":0.00639,"56":0.0032,"57":0.00639,"61":0.0032,"63":0.0032,"70":0.0032,"73":0.0032,"74":0.0032,"75":0.0032,"78":0.0032,"79":0.02558,"80":0.0032,"81":0.0032,"83":0.00639,"85":0.0032,"86":0.0032,"87":0.02238,"88":0.00639,"90":0.00639,"91":0.00639,"92":0.0032,"93":0.0032,"94":0.00639,"95":0.0032,"96":0.0032,"97":0.0032,"98":0.69695,"99":0.01599,"100":0.00639,"101":0.0032,"102":0.00639,"103":0.02238,"104":0.03517,"105":0.0032,"106":0.00959,"107":0.00639,"108":0.02558,"109":2.51924,"110":0.00639,"111":0.01279,"112":0.00959,"113":0.06074,"114":0.06074,"115":0.07673,"116":0.03517,"117":0.00959,"118":0.02238,"119":0.02877,"120":0.03197,"121":0.02877,"122":0.06714,"123":0.03836,"124":0.13427,"125":0.05435,"126":0.12149,"127":0.62661,"128":12.34042,"129":3.87796,"130":0.0032,_:"4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 39 40 42 48 50 52 53 54 55 58 59 60 62 64 65 66 67 68 69 71 72 76 77 84 89 131 132 133"},F:{"36":0.0032,"40":0.0032,"46":0.0032,"79":0.0032,"83":0.00639,"84":0.01918,"85":0.00639,"86":0.0032,"89":0.0032,"94":0.0032,"95":0.07033,"109":0.01279,"111":0.0032,"112":0.67137,"113":0.34528,"114":0.00959,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 37 38 39 41 42 43 44 45 47 48 49 50 51 52 53 54 55 56 57 58 60 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 80 81 82 87 88 90 91 92 93 96 97 98 99 100 101 102 103 104 105 106 107 108 110 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"92":0.0032,"107":0.0032,"109":0.06714,"110":0.0032,"114":0.0032,"118":0.0032,"119":0.00639,"120":0.00639,"121":0.0032,"122":0.00959,"123":0.00639,"124":0.01918,"125":0.00639,"126":0.02238,"127":0.08632,"128":2.0269,"129":0.70014,"130":0.0032,_:"12 13 14 15 16 17 18 79 80 81 83 84 85 86 87 88 89 90 91 93 94 95 96 97 98 99 100 101 102 103 104 105 106 108 111 112 113 115 116 117"},E:{"9":0.00959,"14":0.00639,_:"0 4 5 6 7 8 10 11 12 13 15 3.1 3.2 5.1 6.1 7.1 9.1 10.1 11.1 15.2-15.3","12.1":0.0032,"13.1":0.00959,"14.1":0.01918,"15.1":0.0032,"15.4":0.0032,"15.5":0.00959,"15.6":0.05435,"16.0":0.00639,"16.1":0.00639,"16.2":0.00639,"16.3":0.01279,"16.4":0.00639,"16.5":0.00639,"16.6":0.06074,"17.0":0.00639,"17.1":0.01599,"17.2":0.00959,"17.3":0.01279,"17.4":0.05435,"17.5":0.07033,"17.6":0.29093,"18.0":0.05115,"18.1":0.0032},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.00223,"5.0-5.1":0.00111,"6.0-6.1":0.00668,"7.0-7.1":0.00779,"8.1-8.4":0,"9.0-9.2":0.00668,"9.3":0.01892,"10.0-10.2":0.00556,"10.3":0.03228,"11.0-11.2":0.11909,"11.3-11.4":0.0089,"12.0-12.1":0.00556,"12.2-12.5":0.13467,"13.0-13.1":0.00223,"13.2":0.04229,"13.3":0.00556,"13.4-13.7":0.02226,"14.0-14.4":0.0512,"14.5-14.8":0.06789,"15.0-15.1":0.03895,"15.2-15.3":0.03784,"15.4":0.04341,"15.5":0.05342,"15.6-15.8":0.52866,"16.0":0.10685,"16.1":0.21146,"16.2":0.10573,"16.3":0.17808,"16.4":0.03784,"16.5":0.07457,"16.6-16.7":0.63662,"17.0":0.05342,"17.1":0.08459,"17.2":0.07679,"17.3":0.11018,"17.4":0.23595,"17.5":1.13412,"17.6-17.7":6.03564,"18.0":0.76127,"18.1":0.0345},P:{"4":0.04125,"20":0.01031,"21":0.03094,"22":0.05156,"23":0.06188,"24":0.06188,"25":0.3197,"26":2.57821,_:"5.0-5.4 8.2 9.2 10.1 12.0 13.0 15.0 16.0","6.2-6.4":0.01031,"7.2-7.4":0.02063,"11.1-11.2":0.01031,"14.0":0.01031,"17.0":0.01031,"18.0":0.01031,"19.0":0.01031},I:{"0":0.22389,"3":0,"4":0,"2.1":0,"2.2":0,"2.3":0,"4.1":0.00002,"4.2-4.3":0.00009,"4.4":0,"4.4.3-4.4.4":0.00036},K:{"0":0.28573,_:"10 11 12 11.1 11.5 12.1"},A:{"7":0.00345,"8":0.02417,"9":0.00691,"10":0.00345,"11":0.04489,_:"6 5.5"},N:{_:"10 11"},S:{_:"2.5 3.0-3.1"},J:{_:"7 10"},O:{"0":0.13606},H:{"0":0},L:{"0":53.48506},R:{_:"0"},M:{"0":0.2177},Q:{_:"14.9"}}; diff --git a/node_modules/caniuse-lite/data/regions/BH.js b/node_modules/caniuse-lite/data/regions/BH.js index 491ebe1ab4..e396651f2d 100644 --- a/node_modules/caniuse-lite/data/regions/BH.js +++ b/node_modules/caniuse-lite/data/regions/BH.js @@ -1 +1 @@ -module.exports={C:{"34":0.02579,"47":0.00287,"52":0.00287,"68":0.00287,"88":0.00287,"107":0.00287,"108":0.00287,"109":0.00287,"111":0.00287,"115":0.07449,"118":0.00287,"123":0.02006,"124":0.00287,"125":0.27218,"126":0.30942,_:"2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 35 36 37 38 39 40 41 42 43 44 45 46 48 49 50 51 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 110 112 113 114 116 117 119 120 121 122 127 128 129 3.5 3.6"},D:{"11":0.00287,"38":0.00573,"47":0.0086,"49":0.00287,"50":0.00287,"55":0.00287,"56":0.02006,"58":0.02006,"63":0.00573,"65":0.0086,"66":0.00573,"68":0.00573,"70":0.00287,"72":0.01146,"73":0.01719,"75":0.0086,"76":0.01433,"77":0.00287,"78":0.06303,"79":0.12893,"80":0.00287,"83":0.00287,"86":0.00287,"87":0.04584,"88":0.00287,"89":0.00287,"91":0.00287,"93":0.01719,"94":0.00573,"95":0.01146,"97":0.00287,"98":0.00573,"99":0.01433,"102":0.01719,"103":0.06876,"104":0.00287,"105":0.00573,"106":0.02006,"107":0.02579,"108":0.02579,"109":0.64176,"110":0.01433,"111":0.02006,"112":0.08595,"113":0.14039,"114":0.1719,"115":0.00573,"116":0.08309,"117":0.01433,"118":0.01433,"119":0.11747,"120":0.07449,"121":0.05444,"122":0.28077,"123":0.5157,"124":13.04148,"125":4.14852,"126":0.00287,_:"4 5 6 7 8 9 10 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 39 40 41 42 43 44 45 46 48 51 52 53 54 57 59 60 61 62 64 67 69 71 74 81 84 85 90 92 96 100 101 127 128"},F:{"28":0.02006,"36":0.00573,"46":0.02006,"82":0.00287,"83":0.00287,"90":0.00287,"95":0.00287,"102":0.00287,"103":0.00287,"105":0.00573,"106":0.00573,"107":0.15185,"108":0.0659,"109":0.3438,"110":0.00573,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 29 30 31 32 33 34 35 37 38 39 40 41 42 43 44 45 47 48 49 50 51 52 53 54 55 56 57 58 60 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 84 85 86 87 88 89 91 92 93 94 96 97 98 99 100 101 104 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"15":0.00287,"16":0.00287,"17":0.00287,"18":0.00287,"89":0.00287,"92":0.02292,"100":0.00287,"105":0.0086,"109":0.02292,"110":0.00287,"111":0.00287,"113":0.02006,"114":0.0086,"115":0.00287,"116":0.00287,"118":0.04584,"119":0.0086,"120":0.02865,"121":0.04298,"122":0.04011,"123":0.13752,"124":2.11151,"125":1.11735,_:"12 13 14 79 80 81 83 84 85 86 87 88 90 91 93 94 95 96 97 98 99 101 102 103 104 106 107 108 112 117"},E:{"5":0.00287,"13":0.00287,"14":0.01146,"15":0.00287,_:"0 4 6 7 8 9 10 11 12 3.1 3.2 5.1 6.1 7.1 9.1 10.1 11.1 17.6","12.1":0.00287,"13.1":0.03725,"14.1":0.11747,"15.1":0.01146,"15.2-15.3":0.0086,"15.4":0.0086,"15.5":0.02292,"15.6":0.14898,"16.0":0.00573,"16.1":0.03725,"16.2":0.02865,"16.3":0.1146,"16.4":0.01433,"16.5":0.04584,"16.6":0.32661,"17.0":0.01719,"17.1":0.05444,"17.2":0.05444,"17.3":0.05444,"17.4":1.02854,"17.5":0.09741},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.00447,"5.0-5.1":0.00447,"6.0-6.1":0.01118,"7.0-7.1":0.01565,"8.1-8.4":0.00447,"9.0-9.2":0.01118,"9.3":0.05141,"10.0-10.2":0.00894,"10.3":0.08047,"11.0-11.2":0.11848,"11.3-11.4":0.02235,"12.0-12.1":0.01341,"12.2-12.5":0.32413,"13.0-13.1":0.00671,"13.2":0.0313,"13.3":0.01565,"13.4-13.7":0.07153,"14.0-14.4":0.12295,"14.5-14.8":0.19001,"15.0-15.1":0.09165,"15.2-15.3":0.10059,"15.4":0.11401,"15.5":0.14307,"15.6-15.8":1.28759,"16.0":0.29284,"16.1":0.60356,"16.2":0.29284,"16.3":0.50743,"16.4":0.1073,"16.5":0.21683,"16.6-16.7":1.72796,"17.0":0.18777,"17.1":0.30625,"17.2":0.31966,"17.3":0.59014,"17.4":13.4012,"17.5":0.94557,"17.6":0},P:{"4":0.07276,"20":0.01039,"21":0.04158,"22":0.07276,"23":0.14553,"24":0.4054,"25":2.27645,_:"5.0-5.4 8.2 9.2 10.1 12.0 13.0","6.2-6.4":0.02079,"7.2-7.4":0.02079,"11.1-11.2":0.04158,"14.0":0.01039,"15.0":0.02079,"16.0":0.05197,"17.0":0.03118,"18.0":0.01039,"19.0":0.02079},I:{"0":0.04264,"3":0,"4":0,"2.1":0,"2.2":0,"2.3":0,"4.1":0.00001,"4.2-4.3":0.00003,"4.4":0,"4.4.3-4.4.4":0.00009},K:{"0":1.01744,_:"10 11 12 11.1 11.5 12.1"},A:{"8":0.00961,"9":0.0032,"11":0.04163,_:"6 7 10 5.5"},S:{_:"2.5 3.0-3.1"},J:{_:"7 10"},N:{_:"10 11"},L:{"0":43.25352},R:{_:"0"},M:{"0":0.6921},Q:{_:"14.9"},O:{"0":1.66959},H:{"0":0.01}}; +module.exports={C:{"31":0.00575,"34":0.00287,"80":0.00287,"105":0.00287,"111":0.00287,"115":0.04886,"119":0.00287,"124":0.00287,"125":0.04311,"127":0.00575,"128":0.00575,"129":0.12646,"130":0.49433,_:"2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 32 33 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 106 107 108 109 110 112 113 114 116 117 118 120 121 122 123 126 131 132 133 134 135 3.5 3.6"},D:{"38":0.00575,"56":0.00287,"58":0.08335,"65":0.00575,"68":0.00575,"70":0.00287,"75":0.00575,"76":0.00862,"78":0.00287,"79":0.10634,"80":0.00287,"81":0.00287,"83":0.00575,"86":0.00287,"87":0.05748,"88":0.00575,"90":0.00287,"91":0.00287,"93":0.02587,"94":0.02874,"95":0.00862,"97":0.00575,"98":0.00862,"99":0.01437,"100":0.00287,"101":0.00862,"102":0.00287,"103":0.06898,"104":0.00575,"105":0.00575,"106":0.00862,"107":0.00575,"108":0.01437,"109":0.79322,"110":0.0115,"111":0.01724,"112":0.02012,"113":0.11783,"114":0.10346,"115":0.00862,"116":0.08622,"117":0.00862,"118":0.04024,"119":0.03736,"120":0.04311,"121":0.02874,"122":0.12358,"123":0.04598,"124":0.16957,"125":0.10346,"126":0.54319,"127":0.64952,"128":11.95297,"129":5.21631,"130":0.00287,_:"4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 57 59 60 61 62 63 64 66 67 69 71 72 73 74 77 84 85 89 92 96 131 132 133"},F:{"36":0.00575,"46":0.02587,"48":0.00287,"82":0.00287,"83":0.00287,"84":0.01724,"107":0.00287,"108":0.0115,"109":0.08047,"110":0.00575,"111":0.02299,"112":0.22705,"113":0.09484,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 37 38 39 40 41 42 43 44 45 47 49 50 51 52 53 54 55 56 57 58 60 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 114 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"15":0.00287,"16":0.00287,"18":0.02012,"89":0.00287,"92":0.04311,"100":0.00575,"108":0.00287,"109":0.0115,"110":0.0115,"111":0.00287,"112":0.00575,"113":0.00862,"114":0.00862,"115":0.00287,"116":0.00287,"117":0.00575,"118":0.00862,"119":0.01437,"120":0.00862,"121":0.00575,"122":0.0115,"123":0.02299,"124":0.05748,"125":0.01437,"126":0.02299,"127":0.12933,"128":2.01467,"129":1.072,_:"12 13 14 17 79 80 81 83 84 85 86 87 88 90 91 93 94 95 96 97 98 99 101 102 103 104 105 106 107 130"},E:{"8":0.00287,"14":0.00575,_:"0 4 5 6 7 9 10 11 12 13 15 3.1 3.2 6.1 7.1 9.1 10.1 11.1 12.1 15.2-15.3","5.1":0.00287,"13.1":0.0115,"14.1":0.02587,"15.1":0.00862,"15.4":0.00862,"15.5":0.02012,"15.6":0.08335,"16.0":0.03449,"16.1":0.02299,"16.2":0.00862,"16.3":0.03161,"16.4":0.01724,"16.5":0.02012,"16.6":0.19543,"17.0":0.0115,"17.1":0.02012,"17.2":0.01724,"17.3":0.03449,"17.4":0.09484,"17.5":0.25579,"17.6":0.95704,"18.0":0.22417,"18.1":0.00862},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.00398,"5.0-5.1":0.00199,"6.0-6.1":0.01194,"7.0-7.1":0.01393,"8.1-8.4":0,"9.0-9.2":0.01194,"9.3":0.03382,"10.0-10.2":0.00995,"10.3":0.0577,"11.0-11.2":0.21288,"11.3-11.4":0.01592,"12.0-12.1":0.00995,"12.2-12.5":0.24074,"13.0-13.1":0.00398,"13.2":0.0756,"13.3":0.00995,"13.4-13.7":0.03979,"14.0-14.4":0.09152,"14.5-14.8":0.12136,"15.0-15.1":0.06964,"15.2-15.3":0.06765,"15.4":0.07759,"15.5":0.0955,"15.6-15.8":0.94505,"16.0":0.191,"16.1":0.37802,"16.2":0.18901,"16.3":0.31833,"16.4":0.06765,"16.5":0.1333,"16.6-16.7":1.13804,"17.0":0.0955,"17.1":0.15121,"17.2":0.13728,"17.3":0.19697,"17.4":0.42179,"17.5":2.02738,"17.6-17.7":10.78949,"18.0":1.36087,"18.1":0.06168},P:{"4":0.01021,"20":0.02042,"21":0.03063,"22":0.04084,"23":0.06126,"24":0.13273,"25":0.28588,"26":2.38915,_:"5.0-5.4 8.2 9.2 10.1 11.1-11.2 12.0 13.0 15.0 16.0 17.0","6.2-6.4":0.02042,"7.2-7.4":0.04084,"14.0":0.01021,"18.0":0.05105,"19.0":0.01021},I:{"0":0.06396,"3":0,"4":0,"2.1":0,"2.2":0,"2.3":0,"4.1":0.00001,"4.2-4.3":0.00003,"4.4":0,"4.4.3-4.4.4":0.0001},K:{"0":1.19717,_:"10 11 12 11.1 11.5 12.1"},A:{"8":0.00287,"11":0.03449,_:"6 7 9 10 5.5"},N:{_:"10 11"},S:{_:"2.5 3.0-3.1"},J:{_:"7 10"},O:{"0":2.23044},H:{"0":0},L:{"0":45.00411},R:{_:"0"},M:{"0":0.59146},Q:{_:"14.9"}}; diff --git a/node_modules/caniuse-lite/data/regions/BI.js b/node_modules/caniuse-lite/data/regions/BI.js index 64a9bf85ac..68466b359d 100644 --- a/node_modules/caniuse-lite/data/regions/BI.js +++ b/node_modules/caniuse-lite/data/regions/BI.js @@ -1 +1 @@ -module.exports={C:{"51":0.00227,"52":0.00454,"64":0.00227,"65":0.00227,"69":0.00227,"72":0.00908,"73":0.00227,"77":0.00908,"84":0.00227,"88":0.02498,"89":0.00227,"92":0.00227,"94":0.01363,"95":0.00227,"97":0.00681,"99":0.00227,"105":0.00908,"107":0.00227,"115":0.35882,"117":0.00908,"119":0.00227,"121":0.00681,"122":0.01817,"123":0.02271,"124":0.02044,"125":0.73808,"126":0.30886,"127":0.00908,_:"2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 53 54 55 56 57 58 59 60 61 62 63 66 67 68 70 71 74 75 76 78 79 80 81 82 83 85 86 87 90 91 93 96 98 100 101 102 103 104 106 108 109 110 111 112 113 114 116 118 120 128 129 3.5 3.6"},D:{"26":0.00227,"30":0.00454,"52":0.02498,"56":0.01136,"61":0.00227,"63":0.00454,"64":0.02952,"70":0.00681,"71":0.00227,"73":0.00227,"78":0.00908,"79":0.02498,"80":0.0159,"83":0.05223,"84":0.00227,"86":0.00454,"87":0.00681,"88":0.03861,"89":0.03407,"91":0.00227,"92":0.00227,"93":0.02271,"94":0.00227,"95":0.00227,"96":0.00454,"97":0.00454,"98":0.00227,"100":0.00227,"103":0.0545,"104":0.07949,"105":0.03407,"106":0.05223,"107":0.00454,"108":0.02044,"109":0.76079,"110":0.04315,"111":0.00454,"112":0.00681,"113":0.01363,"115":0.00227,"116":0.02044,"117":0.00681,"118":0.00908,"119":0.0159,"120":0.0863,"121":0.06132,"122":0.11355,"123":0.30659,"124":5.623,"125":2.76154,"126":0.00681,"127":0.00227,_:"4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 27 28 29 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 53 54 55 57 58 59 60 62 65 66 67 68 69 72 74 75 76 77 81 85 90 99 101 102 114 128"},F:{"21":0.00454,"35":0.01363,"42":0.00227,"48":0.00227,"50":0.00227,"53":0.00908,"79":0.04996,"82":0.00227,"84":0.00908,"85":0.00227,"95":0.01363,"102":0.00227,"106":0.01363,"107":0.00227,"108":0.02044,"109":0.75624,"110":0.05678,_:"9 11 12 15 16 17 18 19 20 22 23 24 25 26 27 28 29 30 31 32 33 34 36 37 38 39 40 41 43 44 45 46 47 49 51 52 54 55 56 57 58 60 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 80 81 83 86 87 88 89 90 91 92 93 94 96 97 98 99 100 101 103 104 105 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"12":0.04088,"13":0.00681,"14":0.00681,"17":0.01817,"18":0.0545,"84":0.00227,"88":0.00227,"89":0.00454,"90":0.00454,"92":0.07267,"93":0.02725,"99":0.00227,"100":0.01136,"107":0.00227,"108":0.00227,"109":0.00681,"110":0.00227,"111":0.00227,"114":0.00681,"116":0.00227,"117":0.00681,"119":0.00454,"120":0.01136,"121":0.0159,"122":0.03407,"123":0.07721,"124":1.5738,"125":0.73808,_:"15 16 79 80 81 83 85 86 87 91 94 95 96 97 98 101 102 103 104 105 106 112 113 115 118"},E:{_:"0 4 5 6 7 8 9 10 11 12 13 14 15 3.1 3.2 6.1 7.1 9.1 10.1 11.1 15.2-15.3 15.4 15.5 16.2 16.5 17.3 17.6","5.1":0.0704,"12.1":0.00227,"13.1":0.13853,"14.1":0.01363,"15.1":0.00227,"15.6":0.01363,"16.0":0.13853,"16.1":0.00454,"16.3":0.00454,"16.4":0.00227,"16.6":0.09765,"17.0":0.00454,"17.1":0.00908,"17.2":0.00908,"17.4":0.01817,"17.5":0.00454},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.00056,"5.0-5.1":0.00056,"6.0-6.1":0.0014,"7.0-7.1":0.00195,"8.1-8.4":0.00056,"9.0-9.2":0.0014,"9.3":0.00642,"10.0-10.2":0.00112,"10.3":0.01004,"11.0-11.2":0.01479,"11.3-11.4":0.00279,"12.0-12.1":0.00167,"12.2-12.5":0.04046,"13.0-13.1":0.00084,"13.2":0.00391,"13.3":0.00195,"13.4-13.7":0.00893,"14.0-14.4":0.01535,"14.5-14.8":0.02372,"15.0-15.1":0.01144,"15.2-15.3":0.01256,"15.4":0.01423,"15.5":0.01786,"15.6-15.8":0.16071,"16.0":0.03655,"16.1":0.07533,"16.2":0.03655,"16.3":0.06334,"16.4":0.01339,"16.5":0.02706,"16.6-16.7":0.21568,"17.0":0.02344,"17.1":0.03823,"17.2":0.0399,"17.3":0.07366,"17.4":1.67271,"17.5":0.11802,"17.6":0},P:{"4":0.19526,"20":0.02055,"21":0.04111,"22":0.01028,"23":0.07194,"24":0.09249,"25":0.23637,_:"5.0-5.4 8.2 10.1 12.0 13.0 14.0 15.0 16.0","6.2-6.4":0.02055,"7.2-7.4":0.10277,"9.2":0.02055,"11.1-11.2":0.02055,"17.0":0.04111,"18.0":0.01028,"19.0":0.05139},I:{"0":0.0308,"3":0,"4":0,"2.1":0,"2.2":0,"2.3":0,"4.1":0.00001,"4.2-4.3":0.00002,"4.4":0,"4.4.3-4.4.4":0.00007},K:{"0":5.34684,_:"10 11 12 11.1 11.5 12.1"},A:{"11":0.02498,_:"6 7 8 9 10 5.5"},S:{"2.5":0.1855,_:"3.0-3.1"},J:{_:"7 10"},N:{_:"10 11"},L:{"0":70.8732},R:{_:"0"},M:{"0":0.04637},Q:{_:"14.9"},O:{"0":0.2396},H:{"0":2.9}}; +module.exports={C:{"47":0.00252,"48":0.02266,"52":0.00252,"60":0.00252,"64":0.00252,"66":0.00252,"68":0.00252,"78":0.00252,"82":0.00252,"89":0.00252,"92":0.00252,"103":0.00252,"106":0.01511,"112":0.00504,"115":0.20396,"116":0.00755,"119":0.00504,"122":0.00252,"123":0.00755,"126":0.00504,"127":0.03777,"128":0.01763,"129":0.1536,"130":1.1885,"131":0.01511,_:"2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 49 50 51 53 54 55 56 57 58 59 61 62 63 65 67 69 70 71 72 73 74 75 76 77 79 80 81 83 84 85 86 87 88 90 91 93 94 95 96 97 98 99 100 101 102 104 105 107 108 109 110 111 113 114 117 118 120 121 124 125 132 133 134 135 3.5 3.6"},D:{"11":0.00504,"47":0.00252,"49":0.00252,"58":0.00252,"63":0.00252,"64":0.0277,"67":0.00252,"68":0.00504,"69":0.00252,"70":0.00252,"74":0.00252,"75":0.00252,"76":0.00504,"79":0.00252,"80":0.0554,"83":0.01763,"84":0.00504,"86":0.01259,"87":0.03273,"88":0.01007,"89":0.02266,"91":0.00252,"93":0.00504,"94":0.00252,"95":0.00252,"99":0.00252,"100":0.00252,"101":0.00252,"103":0.0277,"104":0.00252,"105":0.02518,"106":0.00504,"107":0.01007,"108":0.01763,"109":0.78813,"110":0.00504,"112":0.01007,"113":0.00504,"114":0.00504,"116":0.07806,"118":0.00755,"119":0.00504,"120":0.06043,"121":0.01007,"122":0.05288,"123":0.03273,"124":0.1259,"125":0.0554,"126":0.10827,"127":0.59173,"128":6.29248,"129":2.05469,"130":0.04532,_:"4 5 6 7 8 9 10 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 48 50 51 52 53 54 55 56 57 59 60 61 62 65 66 71 72 73 77 78 81 85 90 92 96 97 98 102 111 115 117 131 132 133"},F:{"37":0.00252,"42":0.00252,"78":0.00252,"79":0.01763,"81":0.00504,"84":0.00504,"95":0.05791,"108":0.00504,"109":0.00252,"110":0.00504,"111":0.01259,"112":0.52878,"113":0.24676,"114":0.00755,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 38 39 40 41 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 60 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 80 82 83 85 86 87 88 89 90 91 92 93 94 96 97 98 99 100 101 102 103 104 105 106 107 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"12":0.00504,"13":0.00252,"14":0.00504,"15":0.00504,"16":0.00252,"17":0.00252,"18":0.02014,"84":0.00252,"89":0.01511,"90":0.00755,"92":0.04532,"99":0.00755,"100":0.01007,"109":0.08309,"110":0.00252,"118":0.00252,"119":0.00755,"120":0.00252,"121":0.00504,"122":0.00504,"123":0.02014,"124":0.00504,"125":0.01763,"126":0.02266,"127":0.14353,"128":2.00181,"129":0.69497,_:"79 80 81 83 85 86 87 88 91 93 94 95 96 97 98 101 102 103 104 105 106 107 108 111 112 113 114 115 116 117 130"},E:{"14":0.00252,_:"0 4 5 6 7 8 9 10 11 12 13 15 3.1 3.2 5.1 6.1 7.1 9.1 10.1 15.2-15.3 15.4 16.0 16.2 16.3 16.4 17.1 17.2 17.3 18.1","11.1":0.00252,"12.1":0.00252,"13.1":0.13597,"14.1":0.01511,"15.1":0.00504,"15.5":0.00252,"15.6":0.01259,"16.1":0.00755,"16.5":0.00252,"16.6":0.02518,"17.0":0.00252,"17.4":0.00504,"17.5":0.00755,"17.6":0.03777,"18.0":0.11583},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.00054,"5.0-5.1":0.00027,"6.0-6.1":0.00162,"7.0-7.1":0.00189,"8.1-8.4":0,"9.0-9.2":0.00162,"9.3":0.00459,"10.0-10.2":0.00135,"10.3":0.00783,"11.0-11.2":0.0289,"11.3-11.4":0.00216,"12.0-12.1":0.00135,"12.2-12.5":0.03268,"13.0-13.1":0.00054,"13.2":0.01026,"13.3":0.00135,"13.4-13.7":0.0054,"14.0-14.4":0.01242,"14.5-14.8":0.01648,"15.0-15.1":0.00945,"15.2-15.3":0.00918,"15.4":0.01053,"15.5":0.01296,"15.6-15.8":0.1283,"16.0":0.02593,"16.1":0.05132,"16.2":0.02566,"16.3":0.04322,"16.4":0.00918,"16.5":0.0181,"16.6-16.7":0.1545,"17.0":0.01296,"17.1":0.02053,"17.2":0.01864,"17.3":0.02674,"17.4":0.05726,"17.5":0.27523,"17.6-17.7":1.46475,"18.0":0.18475,"18.1":0.00837},P:{"4":0.11019,"21":0.01002,"22":0.02003,"23":0.01002,"24":0.09016,"25":0.05009,"26":0.21036,_:"20 8.2 10.1 12.0 13.0 14.0 15.0 17.0","5.0-5.4":0.15026,"6.2-6.4":0.0601,"7.2-7.4":0.09016,"9.2":0.04007,"11.1-11.2":0.04007,"16.0":0.01002,"18.0":0.01002,"19.0":0.31053},I:{"0":0.00746,"3":0,"4":0,"2.1":0,"2.2":0,"2.3":0,"4.1":0,"4.2-4.3":0,"4.4":0,"4.4.3-4.4.4":0.00001},K:{"0":5.2743,_:"10 11 12 11.1 11.5 12.1"},A:{"11":0.01259,_:"6 7 8 9 10 5.5"},N:{_:"10 11"},S:{"2.5":0.1646,_:"3.0-3.1"},J:{_:"7 10"},O:{"0":0.10475},H:{"0":1.25},L:{"0":72.04762},R:{_:"0"},M:{"0":0.01496},Q:{_:"14.9"}}; diff --git a/node_modules/caniuse-lite/data/regions/BJ.js b/node_modules/caniuse-lite/data/regions/BJ.js index 9dc79a84e3..8c979cace1 100644 --- a/node_modules/caniuse-lite/data/regions/BJ.js +++ b/node_modules/caniuse-lite/data/regions/BJ.js @@ -1 +1 @@ -module.exports={C:{"56":0.00173,"58":0.00173,"60":0.00173,"65":0.00173,"67":0.00173,"68":0.00346,"72":0.00519,"77":0.00173,"79":0.00173,"84":0.00173,"88":0.00173,"89":0.00173,"102":0.00173,"106":0.00173,"107":0.00173,"109":0.00173,"112":0.01729,"113":0.00173,"114":0.00173,"115":0.11066,"116":0.02075,"118":0.00692,"120":0.00173,"121":0.00173,"122":0.00865,"123":0.00692,"124":0.02939,"125":0.41323,"126":0.25416,_:"2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 57 59 61 62 63 64 66 69 70 71 73 74 75 76 78 80 81 82 83 85 86 87 90 91 92 93 94 95 96 97 98 99 100 101 103 104 105 108 110 111 117 119 127 128 129 3.5 3.6"},D:{"33":0.00173,"36":0.00519,"38":0.00346,"47":0.01037,"50":0.00173,"51":0.00173,"58":0.00346,"59":0.00346,"60":0.00173,"63":0.00346,"64":0.00346,"65":0.00346,"66":0.00173,"67":0.00173,"68":0.00173,"70":0.0415,"71":0.00173,"72":0.00173,"74":0.0121,"75":0.00173,"76":0.01383,"77":0.00519,"78":0.00519,"79":0.00865,"80":0.00519,"81":0.00519,"83":0.00173,"84":0.00173,"85":0.00173,"86":0.0951,"87":0.00519,"88":0.00519,"89":0.00173,"90":0.00173,"91":0.00173,"92":0.00173,"93":0.00692,"94":0.00346,"95":0.00865,"96":0.00173,"97":0.00692,"98":0.00173,"99":0.00346,"100":0.00173,"101":0.00173,"102":0.01556,"103":0.02075,"104":0.00346,"105":0.01037,"106":0.01902,"107":0.00519,"108":0.01037,"109":1.05815,"110":0.00519,"111":0.14005,"112":0.00346,"113":0.01729,"114":0.00692,"115":0.00346,"116":0.01729,"117":0.01037,"118":0.00346,"119":0.0657,"120":0.0657,"121":0.05187,"122":0.15388,"123":0.27318,"124":5.0262,"125":1.74629,"126":0.00173,_:"4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 34 35 37 39 40 41 42 43 44 45 46 48 49 52 53 54 55 56 57 61 62 69 73 127 128"},F:{"12":0.00173,"57":0.09164,"79":0.01037,"82":0.07435,"95":0.02939,"103":0.00173,"107":0.03458,"108":0.0121,"109":0.45819,"110":0.05187,_:"9 11 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 58 60 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 80 81 83 84 85 86 87 88 89 90 91 92 93 94 96 97 98 99 100 101 102 104 105 106 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"12":0.00173,"14":0.00173,"16":0.00519,"18":0.01037,"84":0.00346,"89":0.01037,"90":0.0121,"92":0.01556,"98":0.01729,"100":0.00692,"107":0.00865,"109":0.01556,"110":0.0121,"114":0.00519,"117":0.00173,"118":0.00346,"119":0.00346,"120":0.00519,"121":0.00692,"122":0.01383,"123":0.04323,"124":1.20857,"125":0.53426,_:"13 15 17 79 80 81 83 85 86 87 88 91 93 94 95 96 97 99 101 102 103 104 105 106 108 111 112 113 115 116"},E:{_:"0 4 5 6 7 8 9 10 11 12 13 14 15 3.1 3.2 6.1 7.1 9.1 10.1 11.1 12.1 15.4 17.6","5.1":0.00173,"13.1":0.00173,"14.1":0.00865,"15.1":0.00173,"15.2-15.3":0.00346,"15.5":0.00173,"15.6":0.02766,"16.0":0.00173,"16.1":0.00346,"16.2":0.01383,"16.3":0.00692,"16.4":0.00865,"16.5":0.00692,"16.6":0.07781,"17.0":0.00519,"17.1":0.02248,"17.2":0.02075,"17.3":0.0121,"17.4":0.23687,"17.5":0.03285},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.00135,"5.0-5.1":0.00135,"6.0-6.1":0.00337,"7.0-7.1":0.00471,"8.1-8.4":0.00135,"9.0-9.2":0.00337,"9.3":0.01548,"10.0-10.2":0.00269,"10.3":0.02424,"11.0-11.2":0.03568,"11.3-11.4":0.00673,"12.0-12.1":0.00404,"12.2-12.5":0.09762,"13.0-13.1":0.00202,"13.2":0.00943,"13.3":0.00471,"13.4-13.7":0.02154,"14.0-14.4":0.03703,"14.5-14.8":0.05723,"15.0-15.1":0.0276,"15.2-15.3":0.0303,"15.4":0.03434,"15.5":0.04309,"15.6-15.8":0.3878,"16.0":0.0882,"16.1":0.18178,"16.2":0.0882,"16.3":0.15283,"16.4":0.03232,"16.5":0.06531,"16.6-16.7":0.52043,"17.0":0.05655,"17.1":0.09224,"17.2":0.09628,"17.3":0.17774,"17.4":4.03619,"17.5":0.28479,"17.6":0},P:{"4":0.18468,"21":0.04104,"22":0.01026,"23":0.03078,"24":0.1539,"25":0.26677,_:"20 5.0-5.4 6.2-6.4 8.2 10.1 11.1-11.2 12.0 13.0 14.0 16.0 17.0 18.0","7.2-7.4":0.02052,"9.2":0.01026,"15.0":0.08208,"19.0":0.01026},I:{"0":0.00824,"3":0,"4":0,"2.1":0,"2.2":0,"2.3":0,"4.1":0,"4.2-4.3":0,"4.4":0,"4.4.3-4.4.4":0.00002},K:{"0":1.73194,_:"10 11 12 11.1 11.5 12.1"},A:{"11":0.00865,_:"6 7 8 9 10 5.5"},S:{"2.5":0.02481,_:"3.0-3.1"},J:{_:"7 10"},N:{_:"10 11"},L:{"0":73.05623},R:{_:"0"},M:{"0":0.0579},Q:{"14.9":0.01654},O:{"0":0.28121},H:{"0":3.76}}; +module.exports={C:{"56":0.0038,"59":0.0019,"65":0.0019,"67":0.0076,"70":0.0019,"72":0.0057,"75":0.0019,"78":0.0019,"79":0.0019,"83":0.0019,"92":0.0019,"108":0.0019,"112":0.0019,"113":0.0019,"114":0.0019,"115":0.0855,"117":0.0019,"118":0.0019,"122":0.0019,"125":0.0019,"126":0.0019,"127":0.0304,"128":0.0057,"129":0.1121,"130":0.589,"131":0.0057,_:"2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 57 58 60 61 62 63 64 66 68 69 71 73 74 76 77 80 81 82 84 85 86 87 88 89 90 91 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 109 110 111 116 119 120 121 123 124 132 133 134 135 3.5 3.6"},D:{"11":0.0038,"26":0.0095,"46":0.0057,"49":0.0114,"50":0.0038,"56":0.0019,"58":0.0133,"59":0.0019,"63":0.0019,"65":0.0019,"69":0.0019,"70":0.0038,"72":0.0019,"73":0.0019,"74":0.0342,"75":0.0019,"76":0.0095,"77":0.0019,"78":0.0038,"79":0.0095,"80":0.0095,"81":0.0038,"83":0.0076,"84":0.0019,"86":0.0095,"87":0.0057,"88":0.0095,"90":0.0057,"91":0.0038,"92":0.0019,"93":0.0171,"94":0.0076,"95":0.0076,"96":0.0038,"97":0.0038,"98":0.0019,"99":0.0038,"100":0.0038,"101":0.0019,"102":0.0114,"103":0.0114,"104":0.0019,"105":0.0323,"106":0.0076,"107":0.0019,"108":0.0038,"109":0.9614,"111":0.0095,"112":0.0038,"113":0.0019,"114":0.0019,"115":0.0076,"116":0.0114,"117":0.0038,"118":0.0095,"119":0.019,"120":0.0152,"121":0.0038,"122":0.0646,"123":0.0228,"124":0.0152,"125":0.0285,"126":0.0798,"127":0.2527,"128":5.2744,"129":1.729,"130":0.0171,_:"4 5 6 7 8 9 10 12 13 14 15 16 17 18 19 20 21 22 23 24 25 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 47 48 51 52 53 54 55 57 60 61 62 64 66 67 68 71 85 89 110 131 132 133"},F:{"37":0.0095,"40":0.0019,"47":0.0019,"79":0.0057,"80":0.0019,"83":0.0152,"84":0.0114,"87":0.0019,"95":0.0209,"109":0.0019,"111":0.0019,"112":0.9158,"113":0.1748,"114":0.0095,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 38 39 41 42 43 44 45 46 48 49 50 51 52 53 54 55 56 57 58 60 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 81 82 85 86 88 89 90 91 92 93 94 96 97 98 99 100 101 102 103 104 105 106 107 108 110 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"12":0.0095,"13":0.0019,"16":0.0019,"17":0.0209,"18":0.0171,"84":0.0019,"85":0.0019,"88":0.0019,"89":0.0019,"90":0.0038,"92":0.0285,"99":0.0019,"100":0.0057,"101":0.0019,"107":0.0076,"109":0.0019,"110":0.0038,"114":0.0057,"115":0.0019,"117":0.0095,"119":0.0019,"120":0.0019,"121":0.0019,"122":0.0019,"123":0.0019,"124":0.0095,"125":0.0114,"126":0.0171,"127":0.0722,"128":1.7765,"129":0.494,"130":0.0019,_:"14 15 79 80 81 83 86 87 91 93 94 95 96 97 98 102 103 104 105 106 108 111 112 113 116 118"},E:{"13":0.0019,"14":0.0019,_:"0 4 5 6 7 8 9 10 11 12 15 3.1 3.2 6.1 7.1 9.1 10.1 11.1 12.1 15.4 15.5 16.0 18.1","5.1":0.0019,"13.1":0.0076,"14.1":0.0019,"15.1":0.0019,"15.2-15.3":0.0019,"15.6":0.0323,"16.1":0.019,"16.2":0.0133,"16.3":0.0095,"16.4":0.0019,"16.5":0.0057,"16.6":0.0475,"17.0":0.0038,"17.1":0.0076,"17.2":0.0057,"17.3":0.0057,"17.4":0.0418,"17.5":0.0418,"17.6":0.2356,"18.0":0.0171},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.00139,"5.0-5.1":0.00069,"6.0-6.1":0.00417,"7.0-7.1":0.00486,"8.1-8.4":0,"9.0-9.2":0.00417,"9.3":0.01181,"10.0-10.2":0.00347,"10.3":0.02015,"11.0-11.2":0.07436,"11.3-11.4":0.00556,"12.0-12.1":0.00347,"12.2-12.5":0.08409,"13.0-13.1":0.00139,"13.2":0.02641,"13.3":0.00347,"13.4-13.7":0.0139,"14.0-14.4":0.03197,"14.5-14.8":0.04239,"15.0-15.1":0.02432,"15.2-15.3":0.02363,"15.4":0.0271,"15.5":0.03336,"15.6-15.8":0.33012,"16.0":0.06672,"16.1":0.13205,"16.2":0.06602,"16.3":0.1112,"16.4":0.02363,"16.5":0.04656,"16.6-16.7":0.39753,"17.0":0.03336,"17.1":0.05282,"17.2":0.04795,"17.3":0.0688,"17.4":0.14734,"17.5":0.70818,"17.6-17.7":3.76888,"18.0":0.47537,"18.1":0.02154},P:{"4":0.01069,"21":0.03208,"22":0.01069,"23":0.01069,"24":0.01069,"25":0.18176,"26":0.23522,_:"20 5.0-5.4 6.2-6.4 8.2 9.2 10.1 12.0 13.0 14.0 16.0 17.0 18.0 19.0","7.2-7.4":0.01069,"11.1-11.2":0.01069,"15.0":0.02138},I:{"0":0.01616,"3":0,"4":0,"2.1":0,"2.2":0,"2.3":0,"4.1":0,"4.2-4.3":0.00001,"4.4":0,"4.4.3-4.4.4":0.00003},K:{"0":1.5919,_:"10 11 12 11.1 11.5 12.1"},A:{"11":0.0038,_:"6 7 8 9 10 5.5"},N:{_:"10 11"},S:{"2.5":0.0486,_:"3.0-3.1"},J:{_:"7 10"},O:{"0":0.1944},H:{"0":1.64},L:{"0":74.5065},R:{_:"0"},M:{"0":0.0486},Q:{_:"14.9"}}; diff --git a/node_modules/caniuse-lite/data/regions/BM.js b/node_modules/caniuse-lite/data/regions/BM.js index 566ad57097..79ab3117a0 100644 --- a/node_modules/caniuse-lite/data/regions/BM.js +++ b/node_modules/caniuse-lite/data/regions/BM.js @@ -1 +1 @@ -module.exports={C:{"78":0.00262,"125":0.01309,"126":0.00524,_:"2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 127 128 129 3.5 3.6"},D:{"65":0.00262,"103":0.00524,"109":0.02356,"116":0.00262,"119":0.00262,"120":0.00524,"121":0.00524,"122":0.03665,"123":0.03403,"124":0.26442,"125":0.08116,_:"4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 104 105 106 107 108 110 111 112 113 114 115 117 118 126 127 128"},F:{"107":0.00524,"109":0.01047,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 60 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 108 110 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"123":0.00524,"124":0.11257,"125":0.04974,_:"12 13 14 15 16 17 18 79 80 81 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122"},E:{_:"0 4 5 6 7 8 9 10 11 12 13 14 15 3.1 3.2 5.1 6.1 7.1 9.1 10.1 11.1 12.1 17.6","13.1":0.00262,"14.1":0.01833,"15.1":0.04974,"15.2-15.3":0.01833,"15.4":0.06545,"15.5":0.14923,"15.6":1.84307,"16.0":0.04451,"16.1":0.26965,"16.2":0.41888,"16.3":0.86918,"16.4":0.18326,"16.5":0.38485,"16.6":3.25679,"17.0":0.1309,"17.1":0.34558,"17.2":0.46862,"17.3":0.47124,"17.4":14.86762,"17.5":1.31424},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.01468,"5.0-5.1":0.01468,"6.0-6.1":0.0367,"7.0-7.1":0.05138,"8.1-8.4":0.01468,"9.0-9.2":0.0367,"9.3":0.16882,"10.0-10.2":0.02936,"10.3":0.26424,"11.0-11.2":0.38902,"11.3-11.4":0.0734,"12.0-12.1":0.04404,"12.2-12.5":1.06429,"13.0-13.1":0.02202,"13.2":0.10276,"13.3":0.05138,"13.4-13.7":0.23488,"14.0-14.4":0.4037,"14.5-14.8":0.62389,"15.0-15.1":0.30094,"15.2-15.3":0.3303,"15.4":0.37434,"15.5":0.46976,"15.6-15.8":4.2278,"16.0":0.96153,"16.1":1.98178,"16.2":0.96153,"16.3":1.66616,"16.4":0.35232,"16.5":0.71197,"16.6-16.7":5.67376,"17.0":0.61655,"17.1":1.00557,"17.2":1.04961,"17.3":1.93774,"17.4":44.00284,"17.5":3.10479,"17.6":0},P:{"24":0.01107,"25":0.07751,_:"4 20 21 22 23 5.0-5.4 6.2-6.4 7.2-7.4 8.2 9.2 10.1 11.1-11.2 12.0 13.0 14.0 15.0 16.0 17.0 18.0 19.0"},I:{"0":0,"3":0,"4":0,"2.1":0,"2.2":0,"2.3":0,"4.1":0,"4.2-4.3":0,"4.4":0,"4.4.3-4.4.4":0},K:{"0":0,_:"10 11 12 11.1 11.5 12.1"},A:{_:"6 7 8 9 10 11 5.5"},S:{_:"2.5 3.0-3.1"},J:{_:"7 10"},N:{_:"10 11"},L:{"0":0.3079},R:{_:"0"},M:{"0":0.02215},Q:{_:"14.9"},O:{_:"0"},H:{"0":0}}; +module.exports={C:{"125":0.00798,"129":0.00532,"130":0.01064,_:"2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 126 127 128 131 132 133 134 135 3.5 3.6"},D:{"109":0.00798,"116":0.00266,"121":0.01331,"122":0.00266,"124":0.03459,"125":0.00266,"126":0.00798,"127":0.01331,"128":0.19958,"129":0.09047,_:"4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 110 111 112 113 114 115 117 118 119 120 123 130 131 132 133"},F:{"112":0.00266,"113":0.00266,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 60 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 114 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"124":0.00532,"127":0.00798,"128":0.09314,"129":0.03725,_:"12 13 14 15 16 17 18 79 80 81 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 125 126 130"},E:{_:"0 4 5 6 7 8 9 10 11 12 13 14 15 3.1 3.2 5.1 6.1 7.1 9.1 10.1 11.1 12.1","13.1":0.00532,"14.1":0.01863,"15.1":0.08249,"15.2-15.3":0.00798,"15.4":0.05056,"15.5":0.25546,"15.6":2.47739,"16.0":0.14636,"16.1":0.21022,"16.2":0.24215,"16.3":0.59873,"16.4":0.15434,"16.5":0.25812,"16.6":2.51731,"17.0":0.08781,"17.1":0.23949,"17.2":0.19159,"17.3":0.21554,"17.4":0.56413,"17.5":1.69772,"17.6":14.64614,"18.0":0.68122,"18.1":0.03193},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.01461,"5.0-5.1":0.0073,"6.0-6.1":0.04383,"7.0-7.1":0.05113,"8.1-8.4":0,"9.0-9.2":0.04383,"9.3":0.12418,"10.0-10.2":0.03652,"10.3":0.21184,"11.0-11.2":0.78163,"11.3-11.4":0.05844,"12.0-12.1":0.03652,"12.2-12.5":0.8839,"13.0-13.1":0.01461,"13.2":0.27759,"13.3":0.03652,"13.4-13.7":0.1461,"14.0-14.4":0.33603,"14.5-14.8":0.4456,"15.0-15.1":0.25567,"15.2-15.3":0.24837,"15.4":0.28489,"15.5":0.35064,"15.6-15.8":3.46987,"16.0":0.70128,"16.1":1.38795,"16.2":0.69397,"16.3":1.1688,"16.4":0.24837,"16.5":0.48943,"16.6-16.7":4.17845,"17.0":0.35064,"17.1":0.55518,"17.2":0.50404,"17.3":0.72319,"17.4":1.54866,"17.5":7.44377,"17.6-17.7":39.6149,"18.0":4.99661,"18.1":0.22645},P:{"26":0.0587,_:"4 20 21 22 23 24 25 5.0-5.4 6.2-6.4 7.2-7.4 8.2 9.2 10.1 11.1-11.2 12.0 13.0 14.0 15.0 16.0 17.0 18.0 19.0"},I:{"0":0,"3":0,"4":0,"2.1":0,"2.2":0,"2.3":0,"4.1":0,"4.2-4.3":0,"4.4":0,"4.4.3-4.4.4":0},K:{"0":0,_:"10 11 12 11.1 11.5 12.1"},A:{_:"6 7 8 9 10 11 5.5"},N:{_:"10 11"},S:{_:"2.5 3.0-3.1"},J:{_:"7 10"},O:{_:"0"},H:{"0":0},L:{"0":0.27014},R:{_:"0"},M:{"0":0.00734},Q:{_:"14.9"}}; diff --git a/node_modules/caniuse-lite/data/regions/BN.js b/node_modules/caniuse-lite/data/regions/BN.js index dd35f19922..0bc188e47b 100644 --- a/node_modules/caniuse-lite/data/regions/BN.js +++ b/node_modules/caniuse-lite/data/regions/BN.js @@ -1 +1 @@ -module.exports={C:{"26":0.00417,"35":0.00417,"36":0.00417,"39":0.00417,"40":0.00417,"78":0.00833,"89":0.00417,"93":0.00417,"98":0.00417,"104":0.00417,"105":0.00417,"106":0.00417,"107":0.00417,"108":0.00417,"109":0.02083,"110":0.00417,"111":0.00417,"115":0.42077,"119":0.03749,"120":0.03749,"121":0.00833,"123":0.00833,"124":0.08332,"125":0.96235,"126":0.93735,"127":0.00417,_:"2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 27 28 29 30 31 32 33 34 37 38 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 79 80 81 82 83 84 85 86 87 88 90 91 92 94 95 96 97 99 100 101 102 103 112 113 114 116 117 118 122 128 129 3.5","3.6":0.00417},D:{"21":0.00417,"35":0.00417,"37":0.00417,"38":0.11665,"39":0.00833,"40":0.00417,"41":0.00417,"42":0.00417,"43":0.00833,"44":0.0125,"45":0.00833,"46":0.01666,"47":0.00833,"49":0.00417,"51":0.03333,"55":0.0125,"58":0.00417,"62":0.00833,"63":0.00833,"64":0.00417,"65":0.025,"66":0.00417,"68":0.00833,"69":0.00417,"70":0.0125,"73":0.00417,"75":0.00417,"79":0.11665,"81":0.0125,"83":0.00417,"87":0.0125,"88":0.00833,"89":0.00417,"91":0.03333,"92":0.00833,"97":0.00417,"98":0.00417,"99":0.02083,"102":0.0125,"103":0.20413,"105":0.00417,"106":0.02916,"107":0.04166,"108":0.02916,"109":1.75389,"110":0.00417,"111":0.02083,"112":0.00833,"113":0.00417,"114":0.00833,"115":0.00833,"116":0.17497,"117":0.02916,"118":0.01666,"119":0.07082,"120":0.05832,"121":0.09998,"122":0.29162,"123":0.63323,"124":16.35572,"125":6.56145,"126":0.01666,_:"4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 22 23 24 25 26 27 28 29 30 31 32 33 34 36 48 50 52 53 54 56 57 59 60 61 67 71 72 74 76 77 78 80 84 85 86 90 93 94 95 96 100 101 104 127 128"},F:{"31":0.00417,"36":0.00417,"94":0.00417,"95":0.02083,"105":0.00417,"107":0.50409,"108":0.00833,"109":1.56642,"110":0.04583,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 32 33 34 35 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 60 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 96 97 98 99 100 101 102 103 104 106 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6","12.1":0.00417},B:{"12":0.00417,"15":0.00417,"18":0.00417,"92":0.00833,"105":0.00417,"109":0.0125,"111":0.00417,"113":0.25413,"114":0.00417,"115":0.00417,"116":0.0125,"117":0.025,"119":0.00833,"120":0.05832,"121":0.01666,"122":0.03749,"123":0.02916,"124":1.68723,"125":0.99567,_:"13 14 16 17 79 80 81 83 84 85 86 87 88 89 90 91 93 94 95 96 97 98 99 100 101 102 103 104 106 107 108 110 112 118"},E:{"9":0.04583,"14":0.06249,"15":0.03333,_:"0 4 5 6 7 8 10 11 12 13 3.1 3.2 5.1 6.1 9.1 10.1 11.1 12.1 17.6","7.1":0.00417,"13.1":0.02916,"14.1":0.17914,"15.1":0.02916,"15.2-15.3":0.00833,"15.4":0.03333,"15.5":0.03333,"15.6":0.49159,"16.0":0.02916,"16.1":0.04166,"16.2":0.03333,"16.3":0.14581,"16.4":0.02916,"16.5":0.04583,"16.6":0.32495,"17.0":0.1833,"17.1":0.05832,"17.2":0.17914,"17.3":0.22496,"17.4":2.28713,"17.5":0.29995},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.00319,"5.0-5.1":0.00319,"6.0-6.1":0.00796,"7.0-7.1":0.01115,"8.1-8.4":0.00319,"9.0-9.2":0.00796,"9.3":0.03663,"10.0-10.2":0.00637,"10.3":0.05734,"11.0-11.2":0.08441,"11.3-11.4":0.01593,"12.0-12.1":0.00956,"12.2-12.5":0.23094,"13.0-13.1":0.00478,"13.2":0.0223,"13.3":0.01115,"13.4-13.7":0.05097,"14.0-14.4":0.0876,"14.5-14.8":0.13538,"15.0-15.1":0.0653,"15.2-15.3":0.07167,"15.4":0.08123,"15.5":0.10193,"15.6-15.8":0.91738,"16.0":0.20864,"16.1":0.43002,"16.2":0.20864,"16.3":0.36154,"16.4":0.07645,"16.5":0.15449,"16.6-16.7":1.23114,"17.0":0.13379,"17.1":0.2182,"17.2":0.22775,"17.3":0.42047,"17.4":9.54813,"17.5":0.6737,"17.6":0},P:{"4":0.35484,"20":0.01075,"21":0.02151,"22":0.03226,"23":0.03226,"24":0.08602,"25":1.49465,"5.0-5.4":0.03226,"6.2-6.4":0.03226,"7.2-7.4":0.05376,_:"8.2 9.2 10.1 11.1-11.2 12.0 13.0 14.0 15.0 16.0","17.0":0.01075,"18.0":0.01075,"19.0":0.01075},I:{"0":0.18015,"3":0,"4":0.00002,"2.1":0,"2.2":0,"2.3":0,"4.1":0.00004,"4.2-4.3":0.00011,"4.4":0,"4.4.3-4.4.4":0.0004},K:{"0":3.15703,_:"10 11 12 11.1 11.5 12.1"},A:{"7":0.00833,"8":0.05416,"9":0.01666,"10":0.0125,"11":0.04166,_:"6 5.5"},S:{"2.5":0.00583,_:"3.0-3.1"},J:{_:"7 10"},N:{_:"10 11"},L:{"0":36.22627},R:{_:"0"},M:{"0":0.14002},Q:{"14.9":0.00583},O:{"0":1.55768},H:{"0":0.04}}; +module.exports={C:{"45":0.00384,"52":0.00384,"78":0.00768,"82":0.00384,"89":0.00384,"99":0.00384,"101":0.00384,"105":0.00384,"113":0.00384,"115":0.2725,"118":0.03454,"124":0.00384,"125":0.00384,"126":0.00384,"127":0.01535,"128":0.00768,"129":0.32239,"130":1.47763,"131":0.01151,"132":0.00384,_:"2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 46 47 48 49 50 51 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 79 80 81 83 84 85 86 87 88 90 91 92 93 94 95 96 97 98 100 102 103 104 106 107 108 109 110 111 112 114 116 117 119 120 121 122 123 133 134 135 3.5 3.6"},D:{"37":0.0307,"38":0.07292,"47":0.00384,"49":0.05373,"54":0.00384,"56":0.00384,"62":0.00384,"63":0.00384,"65":0.00384,"67":0.00384,"70":0.01535,"72":0.00384,"73":0.07676,"79":0.05757,"80":0.00384,"81":0.01151,"83":0.00384,"87":0.01151,"88":0.01151,"91":0.00768,"93":0.00768,"94":0.01919,"95":0.00384,"98":0.00768,"99":0.00384,"100":0.03838,"102":0.00384,"103":0.17655,"105":0.00384,"106":0.04222,"107":0.11898,"108":0.00384,"109":1.53904,"110":0.01535,"111":0.00768,"112":0.03454,"114":0.01151,"115":0.01151,"116":0.09211,"117":0.01535,"118":0.00384,"119":0.03454,"120":0.07292,"121":0.01919,"122":0.11898,"123":0.02687,"124":0.08444,"125":0.20725,"126":0.09979,"127":0.61792,"128":16.04284,"129":4.85507,"130":0.01151,_:"4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 39 40 41 42 43 44 45 46 48 50 51 52 53 55 57 58 59 60 61 64 66 68 69 71 74 75 76 77 78 84 85 86 89 90 92 96 97 101 104 113 131 132 133"},F:{"46":0.01919,"84":0.0307,"85":0.00384,"93":0.02303,"94":0.00768,"95":0.04222,"109":0.04222,"111":0.00384,"112":0.64095,"113":0.5757,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 47 48 49 50 51 52 53 54 55 56 57 58 60 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 86 87 88 89 90 91 92 96 97 98 99 100 101 102 103 104 105 106 107 108 110 114 9.5-9.6 10.0-10.1 10.5 10.6 11.5 11.6 12.1","11.1":0.00768},B:{"15":0.00768,"92":0.00384,"107":0.02687,"108":0.00384,"109":0.01535,"113":0.17271,"114":0.00384,"116":0.06141,"117":0.00768,"118":0.00384,"119":0.00384,"120":0.00384,"121":0.01151,"122":0.00768,"123":0.00384,"124":0.00768,"125":0.01151,"126":0.0307,"127":0.26098,"128":2.86315,"129":0.98637,_:"12 13 14 16 17 18 79 80 81 83 84 85 86 87 88 89 90 91 93 94 95 96 97 98 99 100 101 102 103 104 105 106 110 111 112 115 130"},E:{"9":0.00384,"12":0.00384,"14":0.0806,"15":0.07676,_:"0 4 5 6 7 8 10 11 13 3.1 3.2 5.1 6.1 7.1 9.1 10.1 11.1","12.1":0.00384,"13.1":0.01535,"14.1":0.10363,"15.1":0.01919,"15.2-15.3":0.00384,"15.4":0.04606,"15.5":0.01919,"15.6":0.31472,"16.0":0.02303,"16.1":0.05373,"16.2":0.02687,"16.3":0.05373,"16.4":0.03838,"16.5":0.04606,"16.6":0.28017,"17.0":0.06141,"17.1":0.02687,"17.2":0.03838,"17.3":0.11898,"17.4":0.23796,"17.5":0.42602,"17.6":2.35653,"18.0":0.19958,"18.1":0.00384},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.00332,"5.0-5.1":0.00166,"6.0-6.1":0.00995,"7.0-7.1":0.0116,"8.1-8.4":0,"9.0-9.2":0.00995,"9.3":0.02818,"10.0-10.2":0.00829,"10.3":0.04807,"11.0-11.2":0.17736,"11.3-11.4":0.01326,"12.0-12.1":0.00829,"12.2-12.5":0.20057,"13.0-13.1":0.00332,"13.2":0.06299,"13.3":0.00829,"13.4-13.7":0.03315,"14.0-14.4":0.07625,"14.5-14.8":0.10111,"15.0-15.1":0.05802,"15.2-15.3":0.05636,"15.4":0.06465,"15.5":0.07956,"15.6-15.8":0.78735,"16.0":0.15913,"16.1":0.31494,"16.2":0.15747,"16.3":0.26521,"16.4":0.05636,"16.5":0.11106,"16.6-16.7":0.94813,"17.0":0.07956,"17.1":0.12598,"17.2":0.11437,"17.3":0.1641,"17.4":0.35141,"17.5":1.68907,"17.6-17.7":8.98905,"18.0":1.13378,"18.1":0.05138},P:{"4":0.2077,"21":0.01093,"22":0.01093,"23":0.01093,"24":0.06559,"25":0.07652,"26":1.3883,_:"20 6.2-6.4 8.2 9.2 10.1 11.1-11.2 12.0 14.0 15.0 16.0 17.0 18.0","5.0-5.4":0.04373,"7.2-7.4":0.08745,"13.0":0.02186,"19.0":0.01093},I:{"0":0.02458,"3":0,"4":0,"2.1":0,"2.2":0,"2.3":0,"4.1":0,"4.2-4.3":0.00001,"4.4":0,"4.4.3-4.4.4":0.00004},K:{"0":2.8823,_:"10 11 12 11.1 11.5 12.1"},A:{"8":0.00837,"9":0.00419,"11":0.0335,_:"6 7 10 5.5"},N:{_:"10 11"},S:{_:"2.5 3.0-3.1"},J:{_:"7 10"},O:{"0":2.79139},H:{"0":0.02},L:{"0":37.65094},R:{_:"0"},M:{"0":0.12324},Q:{"14.9":0.01232}}; diff --git a/node_modules/caniuse-lite/data/regions/BO.js b/node_modules/caniuse-lite/data/regions/BO.js index f1dd0c55fc..5627365c61 100644 --- a/node_modules/caniuse-lite/data/regions/BO.js +++ b/node_modules/caniuse-lite/data/regions/BO.js @@ -1 +1 @@ -module.exports={C:{"38":0.0038,"52":0.01518,"58":0.01898,"60":0.0038,"78":0.03037,"88":0.0038,"89":0.0038,"100":0.0038,"106":0.0038,"110":0.0038,"111":0.0038,"113":0.0038,"115":0.49348,"119":0.01139,"120":0.0038,"121":0.0038,"122":0.00759,"123":0.01518,"124":0.04555,"125":0.8541,"126":0.64912,"127":0.0038,_:"2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 39 40 41 42 43 44 45 46 47 48 49 50 51 53 54 55 56 57 59 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 79 80 81 82 83 84 85 86 87 90 91 92 93 94 95 96 97 98 99 101 102 103 104 105 107 108 109 112 114 116 117 118 128 129 3.5 3.6"},D:{"38":0.0038,"44":0.0038,"46":0.0038,"47":0.0038,"49":0.01139,"51":0.00759,"62":0.00759,"63":0.0038,"65":0.0038,"67":0.00759,"69":0.02657,"70":0.03037,"72":0.0038,"74":0.0038,"75":0.00759,"76":0.0038,"79":0.04555,"80":0.0038,"81":0.02278,"83":0.01518,"84":0.0038,"85":0.0038,"86":0.01139,"87":0.04176,"88":0.02657,"89":0.0038,"90":0.00759,"91":0.41376,"92":0.00759,"93":0.0038,"94":0.00759,"95":0.0038,"96":0.00759,"97":0.00759,"98":0.01518,"99":0.01518,"100":0.01139,"101":0.00759,"102":0.00759,"103":0.04555,"104":0.01139,"105":0.03796,"106":0.00759,"107":0.01518,"108":0.02657,"109":3.11272,"110":0.06453,"111":0.01139,"112":0.01518,"113":0.00759,"114":0.02657,"115":0.01518,"116":0.14045,"117":0.00759,"118":0.01518,"119":0.06074,"120":0.1936,"121":0.53144,"122":0.15943,"123":0.45932,"124":14.62599,"125":6.22924,"126":0.0038,_:"4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 39 40 41 42 43 45 48 50 52 53 54 55 56 57 58 59 60 61 64 66 68 71 73 77 78 127 128"},F:{"28":0.00759,"36":0.0038,"46":0.0038,"79":0.0038,"95":0.0987,"102":0.00759,"107":0.48968,"108":0.01898,"109":1.75375,"110":0.07972,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 29 30 31 32 33 34 35 37 38 39 40 41 42 43 44 45 47 48 49 50 51 52 53 54 55 56 57 58 60 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 96 97 98 99 100 101 103 104 105 106 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"18":0.00759,"92":0.01518,"100":0.0038,"109":0.03416,"112":0.0038,"114":0.01139,"115":0.0038,"116":0.0038,"117":0.0038,"118":0.0038,"119":0.0038,"120":0.0911,"121":0.01518,"122":0.01898,"123":0.04555,"124":1.92837,"125":1.10464,_:"12 13 14 15 16 17 79 80 81 83 84 85 86 87 88 89 90 91 93 94 95 96 97 98 99 101 102 103 104 105 106 107 108 110 111 113"},E:{"9":0.00759,"14":0.0038,_:"0 4 5 6 7 8 10 11 12 13 15 3.1 3.2 6.1 7.1 9.1 10.1 11.1 12.1 15.2-15.3 17.6","5.1":0.03796,"13.1":0.00759,"14.1":0.03796,"15.1":0.0038,"15.4":0.0038,"15.5":0.0038,"15.6":0.03037,"16.0":0.0038,"16.1":0.0038,"16.2":0.00759,"16.3":0.0038,"16.4":0.0038,"16.5":0.01139,"16.6":0.05314,"17.0":0.0038,"17.1":0.02278,"17.2":0.17841,"17.3":0.01518,"17.4":0.25054,"17.5":0.03037},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.00062,"5.0-5.1":0.00062,"6.0-6.1":0.00155,"7.0-7.1":0.00217,"8.1-8.4":0.00062,"9.0-9.2":0.00155,"9.3":0.00712,"10.0-10.2":0.00124,"10.3":0.01114,"11.0-11.2":0.01641,"11.3-11.4":0.0031,"12.0-12.1":0.00186,"12.2-12.5":0.04489,"13.0-13.1":0.00093,"13.2":0.00433,"13.3":0.00217,"13.4-13.7":0.00991,"14.0-14.4":0.01703,"14.5-14.8":0.02631,"15.0-15.1":0.01269,"15.2-15.3":0.01393,"15.4":0.01579,"15.5":0.01981,"15.6-15.8":0.17832,"16.0":0.04055,"16.1":0.08359,"16.2":0.04055,"16.3":0.07027,"16.4":0.01486,"16.5":0.03003,"16.6-16.7":0.23931,"17.0":0.026,"17.1":0.04241,"17.2":0.04427,"17.3":0.08173,"17.4":1.85593,"17.5":0.13095,"17.6":0},P:{"4":0.28678,"20":0.04097,"21":0.10242,"22":0.07169,"23":0.16387,"24":0.45065,"25":1.81285,"5.0-5.4":0.02048,"6.2-6.4":0.02048,"7.2-7.4":0.29702,_:"8.2 9.2 10.1 12.0","11.1-11.2":0.01024,"13.0":0.02048,"14.0":0.01024,"15.0":0.01024,"16.0":0.02048,"17.0":0.05121,"18.0":0.02048,"19.0":0.04097},I:{"0":0.10506,"3":0,"4":0.00001,"2.1":0,"2.2":0,"2.3":0,"4.1":0.00002,"4.2-4.3":0.00006,"4.4":0,"4.4.3-4.4.4":0.00023},K:{"0":0.60799,_:"10 11 12 11.1 11.5 12.1"},A:{"8":0.01518,"9":0.0038,"10":0.0038,"11":0.01518,_:"6 7 5.5"},S:{_:"2.5 3.0-3.1"},J:{_:"7 10"},N:{_:"10 11"},L:{"0":56.46101},R:{_:"0"},M:{"0":0.1613},Q:{"14.9":0.0062},O:{"0":0.16751},H:{"0":0}}; +module.exports={C:{"52":0.02043,"58":0.02043,"60":0.00817,"78":0.03268,"111":0.00409,"113":0.00409,"115":0.47386,"120":0.00409,"121":0.00409,"123":0.00409,"124":0.00409,"125":0.00817,"126":0.01226,"127":0.02451,"128":0.00817,"129":0.31455,"130":1.33988,"131":0.00817,_:"2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 53 54 55 56 57 59 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 112 114 116 117 118 119 122 132 133 134 135 3.5 3.6"},D:{"38":0.00409,"47":0.00817,"49":0.00409,"53":0.00409,"62":0.00817,"63":0.00409,"67":0.00409,"69":0.01226,"70":0.01226,"71":0.01226,"72":0.00409,"73":0.00409,"74":0.00409,"75":0.00817,"78":0.00409,"79":0.04085,"80":0.00409,"81":0.00409,"83":0.01226,"84":0.00409,"85":0.00817,"86":0.01226,"87":0.05719,"88":0.0286,"89":0.00409,"90":0.00817,"91":0.58416,"92":0.00409,"93":0.00409,"94":0.02451,"95":0.01226,"96":0.00409,"97":0.00817,"98":0.00409,"99":0.00817,"100":0.00817,"101":0.00817,"102":0.00409,"103":0.07762,"104":0.00817,"105":0.02043,"106":0.01226,"107":0.02043,"108":0.0286,"109":3.93794,"110":0.04085,"111":0.00817,"112":0.02043,"113":0.03268,"114":0.02043,"115":0.00409,"116":0.192,"117":0.01634,"118":0.01634,"119":0.03677,"120":0.09804,"121":0.08579,"122":0.07762,"123":0.06536,"124":0.22468,"125":0.4085,"126":0.22468,"127":0.70671,"128":16.83429,"129":5.60462,"130":0.00409,"131":0.00409,_:"4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 39 40 41 42 43 44 45 46 48 50 51 52 54 55 56 57 58 59 60 61 64 65 66 68 76 77 132 133"},F:{"36":0.00817,"79":0.00409,"84":0.00409,"95":0.09396,"107":0.00409,"108":0.01226,"109":0.06128,"111":0.00817,"112":1.54005,"113":0.95998,"114":0.00817,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 60 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 80 81 82 83 85 86 87 88 89 90 91 92 93 94 96 97 98 99 100 101 102 103 104 105 106 110 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"15":0.00409,"18":0.00817,"90":0.00409,"92":0.0286,"100":0.00409,"109":0.06945,"114":0.01226,"117":0.00409,"119":0.00409,"120":0.14298,"121":0.00409,"122":0.00409,"123":0.00409,"124":0.01226,"125":0.00817,"126":0.02451,"127":0.08987,"128":2.40607,"129":0.817,_:"12 13 14 16 17 79 80 81 83 84 85 86 87 88 89 91 93 94 95 96 97 98 99 101 102 103 104 105 106 107 108 110 111 112 113 115 116 118 130"},E:{"14":0.00409,_:"0 4 5 6 7 8 9 10 11 12 13 15 3.1 3.2 6.1 7.1 9.1 10.1 12.1 15.2-15.3 15.4 16.0","5.1":0.00409,"11.1":0.00409,"13.1":0.00817,"14.1":0.04902,"15.1":0.00409,"15.5":0.00409,"15.6":0.05311,"16.1":0.01634,"16.2":0.00817,"16.3":0.00409,"16.4":0.00409,"16.5":0.00409,"16.6":0.06945,"17.0":0.00409,"17.1":0.01226,"17.2":0.19608,"17.3":0.01226,"17.4":0.01634,"17.5":0.04902,"17.6":0.26961,"18.0":0.07762,"18.1":0.02043},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.00068,"5.0-5.1":0.00034,"6.0-6.1":0.00204,"7.0-7.1":0.00238,"8.1-8.4":0,"9.0-9.2":0.00204,"9.3":0.00579,"10.0-10.2":0.0017,"10.3":0.00988,"11.0-11.2":0.03646,"11.3-11.4":0.00273,"12.0-12.1":0.0017,"12.2-12.5":0.04123,"13.0-13.1":0.00068,"13.2":0.01295,"13.3":0.0017,"13.4-13.7":0.00681,"14.0-14.4":0.01567,"14.5-14.8":0.02078,"15.0-15.1":0.01192,"15.2-15.3":0.01158,"15.4":0.01329,"15.5":0.01635,"15.6-15.8":0.16183,"16.0":0.03271,"16.1":0.06473,"16.2":0.03237,"16.3":0.05451,"16.4":0.01158,"16.5":0.02283,"16.6-16.7":0.19488,"17.0":0.01635,"17.1":0.02589,"17.2":0.02351,"17.3":0.03373,"17.4":0.07223,"17.5":0.34718,"17.6-17.7":1.84764,"18.0":0.23304,"18.1":0.01056},P:{"4":0.16427,"20":0.02053,"21":0.07187,"22":0.0616,"23":0.0616,"24":0.0616,"25":0.29774,"26":1.55028,_:"5.0-5.4 8.2 10.1 12.0 16.0","6.2-6.4":0.01027,"7.2-7.4":0.26694,"9.2":0.10267,"11.1-11.2":0.02053,"13.0":0.0308,"14.0":0.01027,"15.0":0.01027,"17.0":0.04107,"18.0":0.01027,"19.0":0.02053},I:{"0":0.04129,"3":0,"4":0,"2.1":0,"2.2":0,"2.3":0,"4.1":0,"4.2-4.3":0.00002,"4.4":0,"4.4.3-4.4.4":0.00007},K:{"0":0.53235,_:"10 11 12 11.1 11.5 12.1"},A:{"11":0.01226,_:"6 7 8 9 10 5.5"},N:{_:"10 11"},S:{_:"2.5 3.0-3.1"},J:{_:"7 10"},O:{"0":0.2366},H:{"0":0},L:{"0":52.95192},R:{_:"0"},M:{"0":0.1952},Q:{_:"14.9"}}; diff --git a/node_modules/caniuse-lite/data/regions/BR.js b/node_modules/caniuse-lite/data/regions/BR.js index c7a2b02b3c..17912bf8ba 100644 --- a/node_modules/caniuse-lite/data/regions/BR.js +++ b/node_modules/caniuse-lite/data/regions/BR.js @@ -1 +1 @@ -module.exports={C:{"3":0.0051,"11":0.0051,"52":0.01019,"59":0.02039,"78":0.01019,"81":0.0051,"88":0.01019,"89":0.0051,"90":0.0051,"91":0.01019,"102":0.01019,"103":0.0051,"105":0.0051,"108":0.0051,"109":0.0051,"110":0.0051,"111":0.0051,"112":0.0051,"113":0.0051,"114":0.0051,"115":0.25995,"116":0.0051,"117":0.01019,"118":0.0051,"119":0.0051,"120":0.0051,"121":0.01529,"122":0.01019,"123":0.02549,"124":0.03568,"125":0.76965,"126":0.6779,"127":0.0051,_:"2 4 5 6 7 8 9 10 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 53 54 55 56 57 58 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 79 80 82 83 84 85 86 87 92 93 94 95 96 97 98 99 100 101 104 106 107 128 129 3.5 3.6"},D:{"38":0.0051,"47":0.0051,"49":0.0051,"51":0.0051,"55":0.01019,"63":0.0051,"65":0.0051,"66":0.09175,"70":0.0051,"71":0.01019,"72":0.0051,"74":0.0051,"75":0.01529,"77":0.0051,"78":0.0051,"79":0.03568,"80":0.0051,"81":0.01019,"83":0.0051,"84":0.0051,"85":0.01019,"86":0.01019,"87":0.03568,"88":0.0051,"89":0.0051,"90":0.0051,"91":0.49951,"92":0.02039,"93":0.18859,"94":0.01019,"95":0.0051,"96":0.0051,"97":0.0051,"98":0.0051,"99":0.01019,"100":0.01019,"101":0.0051,"102":0.01529,"103":0.05607,"104":0.01529,"105":0.02549,"106":0.02039,"107":0.03058,"108":0.03058,"109":4.81667,"110":0.02039,"111":0.02549,"112":0.03058,"113":0.01529,"114":0.06626,"115":0.06116,"116":0.09175,"117":0.01529,"118":0.03058,"119":0.07136,"120":0.13252,"121":0.10194,"122":0.29563,"123":0.73907,"124":20.65814,"125":8.68529,"126":0.02039,"127":0.0051,_:"4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 39 40 41 42 43 44 45 46 48 50 52 53 54 56 57 58 59 60 61 62 64 67 68 69 73 76 128"},F:{"36":0.0051,"95":0.04078,"106":0.0051,"107":1.0245,"108":0.02039,"109":3.0633,"110":0.07646,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 60 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 96 97 98 99 100 101 102 103 104 105 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"15":0.03568,"16":0.0051,"17":0.01019,"92":0.02039,"108":0.0051,"109":0.05097,"110":0.0051,"111":0.0051,"114":0.0051,"117":0.0051,"118":0.0051,"119":0.0051,"120":0.01529,"121":0.01529,"122":0.03568,"123":0.15291,"124":3.29776,"125":1.93686,_:"12 13 14 18 79 80 81 83 84 85 86 87 88 89 90 91 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 112 113 115 116"},E:{"14":0.0051,_:"0 4 5 6 7 8 9 10 11 12 13 15 3.1 3.2 6.1 7.1 9.1 10.1 12.1 15.2-15.3 17.6","5.1":0.03568,"11.1":0.02039,"13.1":0.01019,"14.1":0.02039,"15.1":0.02039,"15.4":0.0051,"15.5":0.0051,"15.6":0.04587,"16.0":0.0051,"16.1":0.01019,"16.2":0.0051,"16.3":0.01529,"16.4":0.0051,"16.5":0.01019,"16.6":0.05607,"17.0":0.01019,"17.1":0.02039,"17.2":0.02039,"17.3":0.02549,"17.4":0.3364,"17.5":0.07646},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.00143,"5.0-5.1":0.00143,"6.0-6.1":0.00356,"7.0-7.1":0.00499,"8.1-8.4":0.00143,"9.0-9.2":0.00356,"9.3":0.0164,"10.0-10.2":0.00285,"10.3":0.02566,"11.0-11.2":0.03778,"11.3-11.4":0.00713,"12.0-12.1":0.00428,"12.2-12.5":0.10337,"13.0-13.1":0.00214,"13.2":0.00998,"13.3":0.00499,"13.4-13.7":0.02281,"14.0-14.4":0.03921,"14.5-14.8":0.0606,"15.0-15.1":0.02923,"15.2-15.3":0.03208,"15.4":0.03636,"15.5":0.04563,"15.6-15.8":0.41063,"16.0":0.09339,"16.1":0.19248,"16.2":0.09339,"16.3":0.16183,"16.4":0.03422,"16.5":0.06915,"16.6-16.7":0.55107,"17.0":0.05988,"17.1":0.09767,"17.2":0.10194,"17.3":0.1882,"17.4":4.27381,"17.5":0.30156,"17.6":0},P:{"4":0.06131,"20":0.01022,"21":0.03066,"22":0.04087,"23":0.06131,"24":0.12262,"25":1.6656,_:"5.0-5.4 8.2 9.2 10.1 12.0 14.0 15.0 16.0 18.0","6.2-6.4":0.01022,"7.2-7.4":0.12262,"11.1-11.2":0.01022,"13.0":0.01022,"17.0":0.03066,"19.0":0.01022},I:{"0":0.0293,"3":0,"4":0,"2.1":0,"2.2":0,"2.3":0,"4.1":0.00001,"4.2-4.3":0.00002,"4.4":0,"4.4.3-4.4.4":0.00006},K:{"0":0.3285,_:"10 11 12 11.1 11.5 12.1"},A:{"8":0.01098,"9":0.00549,"11":0.34032,_:"6 7 10 5.5"},S:{_:"2.5 3.0-3.1"},J:{_:"7 10"},N:{_:"10 11"},L:{"0":39.28393},R:{_:"0"},M:{"0":0.11767},Q:{_:"14.9"},O:{"0":0.04903},H:{"0":0}}; +module.exports={C:{"3":0.01026,"11":0.00513,"52":0.00513,"59":0.02565,"78":0.00513,"81":0.00513,"88":0.01026,"91":0.00513,"102":0.01026,"103":0.01026,"108":0.00513,"110":0.00513,"111":0.00513,"113":0.00513,"114":0.00513,"115":0.22572,"121":0.01026,"123":0.00513,"124":0.00513,"125":0.02052,"126":0.01539,"127":0.02565,"128":0.04617,"129":0.27189,"130":1.21068,"131":0.01026,_:"2 4 5 6 7 8 9 10 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 53 54 55 56 57 58 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 79 80 82 83 84 85 86 87 89 90 92 93 94 95 96 97 98 99 100 101 104 105 106 107 109 112 116 117 118 119 120 122 132 133 134 135 3.5 3.6"},D:{"47":0.00513,"49":0.00513,"51":0.00513,"55":0.01026,"56":0.01026,"63":0.00513,"65":0.00513,"66":0.1026,"71":0.01539,"75":0.02052,"78":0.01026,"79":0.03078,"80":0.00513,"81":0.01026,"83":0.00513,"84":0.00513,"85":0.00513,"86":0.01026,"87":0.03591,"88":0.01026,"89":0.00513,"90":0.01026,"91":0.43092,"92":0.00513,"93":0.01026,"94":0.07182,"96":0.02052,"97":0.00513,"98":0.00513,"99":0.01026,"100":0.01026,"101":0.00513,"102":0.01539,"103":0.05643,"104":0.02565,"105":0.02052,"106":0.01539,"107":0.02565,"108":0.03078,"109":4.617,"110":0.02052,"111":0.02565,"112":0.02565,"113":0.01026,"114":0.05643,"115":0.01026,"116":0.08721,"117":0.0513,"118":0.01539,"119":0.10773,"120":0.1026,"121":0.0513,"122":0.16416,"123":0.08208,"124":0.21546,"125":0.14877,"126":0.27702,"127":1.03113,"128":21.65886,"129":8.00793,"130":0.01539,"131":0.00513,_:"4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 48 50 52 53 54 57 58 59 60 61 62 64 67 68 69 70 72 73 74 76 77 95 132 133"},F:{"36":0.00513,"84":0.00513,"95":0.03591,"109":0.10773,"110":0.00513,"111":0.03078,"112":1.86219,"113":1.60569,"114":0.01026,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 60 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 85 86 87 88 89 90 91 92 93 94 96 97 98 99 100 101 102 103 104 105 106 107 108 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"15":0.02052,"17":0.01539,"92":0.01539,"107":0.00513,"108":0.00513,"109":0.04104,"110":0.00513,"111":0.00513,"114":0.00513,"117":0.00513,"120":0.00513,"121":0.00513,"122":0.00513,"123":0.00513,"124":0.01026,"125":0.01026,"126":0.04617,"127":0.14877,"128":3.60126,"129":1.56465,"130":0.00513,_:"12 13 14 16 18 79 80 81 83 84 85 86 87 88 89 90 91 93 94 95 96 97 98 99 100 101 102 103 104 105 106 112 113 115 116 118 119"},E:{"4":0.00513,"14":0.00513,_:"0 5 6 7 8 9 10 11 12 13 15 3.1 3.2 6.1 7.1 9.1 10.1 12.1 15.1 15.2-15.3 15.4","5.1":0.01026,"11.1":0.02565,"13.1":0.01539,"14.1":0.01026,"15.5":0.00513,"15.6":0.04104,"16.0":0.00513,"16.1":0.00513,"16.2":0.00513,"16.3":0.01026,"16.4":0.00513,"16.5":0.00513,"16.6":0.0513,"17.0":0.00513,"17.1":0.01026,"17.2":0.01026,"17.3":0.01539,"17.4":0.03591,"17.5":0.08721,"17.6":0.36423,"18.0":0.1026,"18.1":0.00513},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.00133,"5.0-5.1":0.00067,"6.0-6.1":0.004,"7.0-7.1":0.00466,"8.1-8.4":0,"9.0-9.2":0.004,"9.3":0.01133,"10.0-10.2":0.00333,"10.3":0.01932,"11.0-11.2":0.07129,"11.3-11.4":0.00533,"12.0-12.1":0.00333,"12.2-12.5":0.08061,"13.0-13.1":0.00133,"13.2":0.02532,"13.3":0.00333,"13.4-13.7":0.01332,"14.0-14.4":0.03065,"14.5-14.8":0.04064,"15.0-15.1":0.02332,"15.2-15.3":0.02265,"15.4":0.02598,"15.5":0.03198,"15.6-15.8":0.31645,"16.0":0.06396,"16.1":0.12658,"16.2":0.06329,"16.3":0.10659,"16.4":0.02265,"16.5":0.04464,"16.6-16.7":0.38108,"17.0":0.03198,"17.1":0.05063,"17.2":0.04597,"17.3":0.06596,"17.4":0.14124,"17.5":0.67887,"17.6-17.7":3.61289,"18.0":0.45569,"18.1":0.02065},P:{"4":0.0308,"20":0.01027,"21":0.0308,"22":0.0308,"23":0.0308,"24":0.04107,"25":0.10267,"26":1.57088,_:"5.0-5.4 8.2 9.2 10.1 12.0 13.0 14.0 15.0 16.0 18.0","6.2-6.4":0.01027,"7.2-7.4":0.0924,"11.1-11.2":0.01027,"17.0":0.02053,"19.0":0.01027},I:{"0":0.04857,"3":0,"4":0,"2.1":0,"2.2":0,"2.3":0,"4.1":0,"4.2-4.3":0.00002,"4.4":0,"4.4.3-4.4.4":0.00008},K:{"0":0.32629,_:"10 11 12 11.1 11.5 12.1"},A:{"8":0.01116,"11":0.75321,_:"6 7 9 10 5.5"},N:{_:"10 11"},S:{_:"2.5 3.0-3.1"},J:{_:"7 10"},O:{"0":0.04383},H:{"0":0},L:{"0":39.70851},R:{_:"0"},M:{"0":0.12662},Q:{_:"14.9"}}; diff --git a/node_modules/caniuse-lite/data/regions/BS.js b/node_modules/caniuse-lite/data/regions/BS.js index 5ec8bc56aa..4a0f5f26e2 100644 --- a/node_modules/caniuse-lite/data/regions/BS.js +++ b/node_modules/caniuse-lite/data/regions/BS.js @@ -1 +1 @@ -module.exports={C:{"48":0.01933,"78":0.00276,"95":0.02486,"115":0.03591,"123":0.00552,"124":0.01657,"125":0.16572,"126":0.11877,_:"2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 116 117 118 119 120 121 122 127 128 129 3.5 3.6"},D:{"43":0.00276,"44":0.00276,"45":0.00276,"46":0.00276,"49":0.00276,"51":0.00552,"70":0.00276,"71":0.00276,"75":0.00276,"76":0.0221,"87":0.00276,"90":0.01657,"91":0.00552,"93":0.00829,"94":0.00829,"98":0.00276,"99":0.00276,"103":0.06076,"104":0.00276,"106":0.00276,"107":0.00276,"108":0.00276,"109":0.24858,"110":0.00276,"111":0.00276,"112":0.00276,"114":0.00829,"115":0.00276,"116":0.09115,"117":0.00276,"118":0.00829,"119":0.01381,"120":0.01657,"121":0.01381,"122":0.05524,"123":0.2541,"124":2.94429,"125":1.06337,_:"4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 47 48 50 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 72 73 74 77 78 79 80 81 83 84 85 86 88 89 92 95 96 97 100 101 102 105 113 126 127 128"},F:{"107":0.02762,"108":0.00552,"109":0.15743,"110":0.00276,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 60 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"12":0.00276,"103":0.00276,"107":0.00276,"109":0.01657,"111":0.00276,"112":0.00276,"115":0.01381,"119":0.00276,"120":0.00276,"121":0.00829,"122":0.00829,"123":0.06353,"124":1.26223,"125":0.64907,_:"13 14 15 16 17 18 79 80 81 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 104 105 106 108 110 113 114 116 117 118"},E:{"9":0.00829,"13":0.00276,"14":0.01105,_:"0 4 5 6 7 8 10 11 12 15 3.1 3.2 5.1 6.1 7.1 9.1 10.1 11.1 17.6","12.1":0.00552,"13.1":0.06353,"14.1":0.07181,"15.1":0.05248,"15.2-15.3":0.04419,"15.4":0.23201,"15.5":0.21267,"15.6":1.29262,"16.0":0.01933,"16.1":0.22096,"16.2":0.22925,"16.3":0.5524,"16.4":0.11048,"16.5":0.27068,"16.6":2.25103,"17.0":0.06629,"17.1":0.2983,"17.2":0.27896,"17.3":0.41706,"17.4":11.69983,"17.5":1.09928},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.01287,"5.0-5.1":0.01287,"6.0-6.1":0.03218,"7.0-7.1":0.04505,"8.1-8.4":0.01287,"9.0-9.2":0.03218,"9.3":0.14801,"10.0-10.2":0.02574,"10.3":0.23167,"11.0-11.2":0.34107,"11.3-11.4":0.06435,"12.0-12.1":0.03861,"12.2-12.5":0.93312,"13.0-13.1":0.01931,"13.2":0.09009,"13.3":0.04505,"13.4-13.7":0.20593,"14.0-14.4":0.35394,"14.5-14.8":0.547,"15.0-15.1":0.26385,"15.2-15.3":0.28959,"15.4":0.3282,"15.5":0.41186,"15.6-15.8":3.70674,"16.0":0.84303,"16.1":1.73753,"16.2":0.84303,"16.3":1.46081,"16.4":0.30889,"16.5":0.62422,"16.6-16.7":4.97449,"17.0":0.54057,"17.1":0.88164,"17.2":0.92025,"17.3":1.69892,"17.4":38.57966,"17.5":2.72213,"17.6":0},P:{"21":0.02113,"22":0.01057,"23":0.02113,"24":0.05284,"25":0.91937,_:"4 20 5.0-5.4 6.2-6.4 8.2 9.2 10.1 12.0 13.0 14.0 15.0 16.0 17.0 18.0 19.0","7.2-7.4":0.02113,"11.1-11.2":0.01057},I:{"0":0.02884,"3":0,"4":0,"2.1":0,"2.2":0,"2.3":0,"4.1":0.00001,"4.2-4.3":0.00002,"4.4":0,"4.4.3-4.4.4":0.00006},K:{"0":0.02895,_:"10 11 12 11.1 11.5 12.1"},A:{"8":0.00829,"10":0.00276,"11":0.01381,_:"6 7 9 5.5"},S:{_:"2.5 3.0-3.1"},J:{_:"7 10"},N:{_:"10 11"},L:{"0":6.97916},R:{_:"0"},M:{"0":0.0579},Q:{_:"14.9"},O:{"0":0.00724},H:{"0":0}}; +module.exports={C:{"48":0.00551,"95":0.0248,"115":0.0441,"127":0.00276,"128":0.00276,"129":0.05512,"130":0.17638,_:"2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 116 117 118 119 120 121 122 123 124 125 126 131 132 133 134 135 3.5 3.6"},D:{"71":0.00276,"76":0.00551,"83":0.00276,"87":0.00276,"90":0.00276,"91":0.00276,"93":0.00551,"94":0.00276,"98":0.00276,"103":0.03858,"104":0.00276,"106":0.00276,"108":0.00276,"109":0.16812,"111":0.00276,"112":0.00551,"114":0.00276,"115":0.00276,"116":0.06063,"117":0.01378,"119":0.00551,"120":0.00551,"121":0.00276,"122":0.01102,"123":0.00827,"124":0.02205,"125":0.00827,"126":0.08544,"127":0.22875,"128":2.59064,"129":0.689,"130":0.00827,_:"4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 72 73 74 75 77 78 79 80 81 84 85 86 88 89 92 95 96 97 99 100 101 102 105 107 110 113 118 131 132 133"},F:{"109":0.05788,"112":0.05236,"113":0.03307,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 60 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 110 111 114 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"12":0.00276,"92":0.00276,"107":0.00276,"109":0.01654,"115":0.00827,"123":0.00276,"125":0.00276,"126":0.01929,"127":0.05512,"128":1.20437,"129":0.39411,_:"13 14 15 16 17 18 79 80 81 83 84 85 86 87 88 89 90 91 93 94 95 96 97 98 99 100 101 102 103 104 105 106 108 110 111 112 113 114 116 117 118 119 120 121 122 124 130"},E:{"14":0.00551,_:"0 4 5 6 7 8 9 10 11 12 13 15 3.1 3.2 5.1 6.1 7.1 9.1 10.1 11.1","12.1":0.00276,"13.1":0.06063,"14.1":0.03307,"15.1":0.03032,"15.2-15.3":0.04134,"15.4":0.20946,"15.5":0.33623,"15.6":1.88235,"16.0":0.01378,"16.1":0.17638,"16.2":0.14882,"16.3":0.39411,"16.4":0.07441,"16.5":0.19843,"16.6":1.81069,"17.0":0.05236,"17.1":0.18741,"17.2":0.12678,"17.3":0.18465,"17.4":0.41616,"17.5":1.5599,"17.6":12.06301,"18.0":0.52915,"18.1":0.02205},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.0133,"5.0-5.1":0.00665,"6.0-6.1":0.03989,"7.0-7.1":0.04654,"8.1-8.4":0,"9.0-9.2":0.03989,"9.3":0.11303,"10.0-10.2":0.03325,"10.3":0.19282,"11.0-11.2":0.71145,"11.3-11.4":0.05319,"12.0-12.1":0.03325,"12.2-12.5":0.80454,"13.0-13.1":0.0133,"13.2":0.25266,"13.3":0.03325,"13.4-13.7":0.13298,"14.0-14.4":0.30586,"14.5-14.8":0.40559,"15.0-15.1":0.23272,"15.2-15.3":0.22607,"15.4":0.25931,"15.5":0.31916,"15.6-15.8":3.15831,"16.0":0.63831,"16.1":1.26332,"16.2":0.63166,"16.3":1.06385,"16.4":0.22607,"16.5":0.44549,"16.6-16.7":3.80327,"17.0":0.31916,"17.1":0.50533,"17.2":0.45879,"17.3":0.65826,"17.4":1.4096,"17.5":6.77541,"17.6-17.7":36.05793,"18.0":4.54797,"18.1":0.20612},P:{"22":0.01045,"24":0.01045,"25":0.04181,"26":0.73163,_:"4 20 21 23 5.0-5.4 8.2 9.2 10.1 11.1-11.2 12.0 13.0 14.0 15.0 16.0 18.0 19.0","6.2-6.4":0.01045,"7.2-7.4":0.01045,"17.0":0.01045},I:{"0":0,"3":0,"4":0,"2.1":0,"2.2":0,"2.3":0,"4.1":0,"4.2-4.3":0,"4.4":0,"4.4.3-4.4.4":0},K:{"0":0.01449,_:"10 11 12 11.1 11.5 12.1"},A:{"11":0.00276,_:"6 7 8 9 10 5.5"},N:{_:"10 11"},S:{_:"2.5 3.0-3.1"},J:{_:"7 10"},O:{_:"0"},H:{"0":0},L:{"0":5.22917},R:{_:"0"},M:{"0":0.03622},Q:{_:"14.9"}}; diff --git a/node_modules/caniuse-lite/data/regions/BT.js b/node_modules/caniuse-lite/data/regions/BT.js index 343f0564a2..5744ffd1e8 100644 --- a/node_modules/caniuse-lite/data/regions/BT.js +++ b/node_modules/caniuse-lite/data/regions/BT.js @@ -1 +1 @@ -module.exports={C:{"2":0.00585,"3":0.01171,"4":0.00585,"5":0.00293,"6":0.00585,"7":0.00293,"9":0.00293,"11":0.00585,"12":0.00585,"13":0.00293,"15":0.00293,"16":0.00585,"17":0.00585,"19":0.00293,"20":0.00293,"23":0.00293,"24":0.00293,"25":0.00293,"26":0.00293,"27":0.00293,"28":0.00293,"30":0.00293,"31":0.00878,"32":0.00585,"34":0.00293,"35":0.00878,"36":0.00293,"37":0.00585,"38":0.00878,"39":0.00878,"40":0.02049,"42":0.00878,"48":0.01171,"77":0.00585,"99":0.00293,"107":0.00293,"115":0.13464,"121":0.01171,"124":0.00878,"125":0.42734,"126":0.44783,"127":0.00293,_:"8 10 14 18 21 22 29 33 41 43 44 45 46 47 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 100 101 102 103 104 105 106 108 109 110 111 112 113 114 116 117 118 119 120 122 123 128 129","3.5":0.00878,"3.6":0.02927},D:{"5":0.00293,"14":0.00293,"18":0.00293,"19":0.00293,"21":0.01171,"22":0.00293,"25":0.00585,"27":0.00293,"30":0.00293,"31":0.00878,"32":0.00293,"33":0.01171,"34":0.00585,"35":0.00293,"36":0.00585,"37":0.00878,"38":0.01171,"39":0.01756,"40":0.01756,"41":0.01171,"42":0.01756,"43":0.03512,"44":0.05561,"45":0.02634,"46":0.07318,"47":0.03512,"51":0.12879,"57":0.00293,"60":0.00585,"63":0.00293,"66":0.01756,"68":0.00293,"70":0.03512,"72":0.00293,"73":0.00293,"79":0.00293,"83":0.00878,"87":0.13464,"91":0.00878,"93":0.00293,"94":0.00293,"95":0.00293,"96":0.01171,"97":0.00585,"98":0.01756,"99":0.00585,"102":0.00293,"103":0.03512,"104":0.00878,"105":0.00293,"106":0.01464,"108":0.00293,"109":1.41667,"110":0.01464,"111":0.00878,"112":0.00585,"113":0.00585,"114":0.00293,"115":0.04098,"116":0.04391,"117":0.01171,"118":0.00878,"119":0.18733,"120":0.13757,"121":0.05854,"122":0.10537,"123":0.35417,"124":11.00552,"125":5.10469,"126":0.00878,"127":0.00293,_:"4 6 7 8 9 10 11 12 13 15 16 17 20 23 24 26 28 29 48 49 50 52 53 54 55 56 58 59 61 62 64 65 67 69 71 74 75 76 77 78 80 81 84 85 86 88 89 90 92 100 101 107 128"},F:{"12":0.00293,"26":0.00293,"29":0.00293,"30":0.00293,"31":0.01171,"32":0.00585,"104":0.00585,"107":0.01756,"109":0.4771,"110":0.09074,_:"9 11 15 16 17 18 19 20 21 22 23 24 25 27 28 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 60 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 105 106 108 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.6","11.5":0.00293,"12.1":0.01171},B:{"12":0.01756,"13":0.02342,"14":0.00293,"15":0.00878,"16":0.00293,"17":0.00293,"18":0.01464,"84":0.00293,"92":0.01464,"93":0.00293,"94":0.00293,"96":0.00293,"98":0.00585,"100":0.01464,"101":0.00585,"102":0.00585,"103":0.07025,"105":0.00585,"106":0.00293,"107":0.03805,"108":0.00585,"109":0.01171,"110":0.00293,"111":0.04391,"112":0.02927,"113":0.06732,"114":0.00293,"115":0.05561,"116":0.04976,"117":0.03805,"118":0.02634,"119":0.03805,"120":0.02049,"121":0.01464,"122":0.08488,"123":0.13757,"124":2.13378,"125":1.51326,_:"79 80 81 83 85 86 87 88 89 90 91 95 97 99 104"},E:{"4":0.00585,"5":0.00585,"7":0.00293,"8":0.01464,"9":0.26343,"13":0.00585,"14":0.00293,_:"0 6 10 11 12 15 3.2 9.1 10.1 11.1 12.1 15.4 17.6","3.1":0.00293,"5.1":0.00878,"6.1":0.00293,"7.1":0.00293,"13.1":0.01171,"14.1":0.04683,"15.1":0.01171,"15.2-15.3":0.03805,"15.5":0.00585,"15.6":0.02634,"16.0":0.00293,"16.1":0.02927,"16.2":0.00293,"16.3":0.04098,"16.4":0.00293,"16.5":0.01464,"16.6":0.28099,"17.0":0.01171,"17.1":0.02634,"17.2":0.02049,"17.3":0.09659,"17.4":0.39515,"17.5":0.05269},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.00122,"5.0-5.1":0.00122,"6.0-6.1":0.00306,"7.0-7.1":0.00428,"8.1-8.4":0.00122,"9.0-9.2":0.00306,"9.3":0.01406,"10.0-10.2":0.00244,"10.3":0.022,"11.0-11.2":0.03239,"11.3-11.4":0.00611,"12.0-12.1":0.00367,"12.2-12.5":0.08862,"13.0-13.1":0.00183,"13.2":0.00856,"13.3":0.00428,"13.4-13.7":0.01956,"14.0-14.4":0.03362,"14.5-14.8":0.05195,"15.0-15.1":0.02506,"15.2-15.3":0.0275,"15.4":0.03117,"15.5":0.03912,"15.6-15.8":0.35205,"16.0":0.08007,"16.1":0.16502,"16.2":0.08007,"16.3":0.13874,"16.4":0.02934,"16.5":0.05929,"16.6-16.7":0.47245,"17.0":0.05134,"17.1":0.08373,"17.2":0.0874,"17.3":0.16136,"17.4":3.66411,"17.5":0.25853,"17.6":0},P:{"4":0.1538,"20":0.01025,"21":0.07177,"22":0.04101,"23":0.12304,"24":0.18456,"25":0.71773,_:"5.0-5.4 8.2 9.2 11.1-11.2 12.0 14.0 15.0","6.2-6.4":0.09228,"7.2-7.4":0.29735,"10.1":0.01025,"13.0":0.01025,"16.0":0.02051,"17.0":0.01025,"18.0":0.01025,"19.0":0.01025},I:{"0":0.85966,"3":0,"4":0.00009,"2.1":0,"2.2":0,"2.3":0,"4.1":0.00017,"4.2-4.3":0.00052,"4.4":0,"4.4.3-4.4.4":0.0019},K:{"0":1.65532,_:"10 11 12 11.1 11.5 12.1"},A:{"6":0.00878,"7":0.02634,"8":0.25758,"9":0.04683,"10":0.07903,"11":0.1522,_:"5.5"},S:{"2.5":0.03537,_:"3.0-3.1"},J:{_:"7 10"},N:{_:"10 11"},L:{"0":60.02745},R:{_:"0"},M:{"0":0.03537},Q:{_:"14.9"},O:{"0":0.91255},H:{"0":0}}; +module.exports={C:{"101":0.0031,"115":0.09917,"117":0.0031,"123":0.0124,"125":0.0062,"126":0.0031,"127":0.0031,"129":0.09917,"130":0.80884,"131":0.0031,_:"2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 102 103 104 105 106 107 108 109 110 111 112 113 114 116 118 119 120 121 122 124 128 132 133 134 135 3.5 3.6"},D:{"49":0.0031,"51":0.0031,"60":0.0031,"62":0.0031,"64":0.0031,"72":0.0031,"73":0.0031,"74":0.0062,"79":0.0155,"80":0.0031,"81":0.0031,"84":0.0031,"86":0.0031,"87":0.09297,"90":0.0031,"91":0.0031,"92":0.0031,"93":0.0031,"94":0.0031,"96":0.0093,"98":0.03409,"99":0.0093,"100":0.0062,"103":0.14875,"106":0.0124,"108":0.0062,"109":1.52161,"110":0.0062,"114":0.0031,"115":0.0062,"116":0.17045,"117":0.0031,"118":0.0031,"119":0.0031,"120":0.02169,"121":0.0062,"122":0.02789,"123":0.02789,"124":0.04958,"125":0.05268,"126":0.22933,"127":0.37808,"128":13.98889,"129":4.52144,"130":0.0124,_:"4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 50 52 53 54 55 56 57 58 59 61 63 65 66 67 68 69 70 71 75 76 77 78 83 85 88 89 95 97 101 102 104 105 107 111 112 113 131 132 133"},F:{"83":0.0031,"84":0.0062,"95":0.0093,"112":0.33159,"113":0.14565,"114":0.0124,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 60 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 85 86 87 88 89 90 91 92 93 94 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"18":0.02479,"92":0.0124,"94":0.0093,"95":0.0031,"98":0.0031,"100":0.0093,"101":0.0093,"102":0.0062,"105":0.0155,"106":0.0062,"107":0.02169,"109":0.01859,"110":0.0031,"111":0.0062,"112":0.0093,"113":0.07438,"114":0.01859,"115":0.03099,"116":0.03719,"117":0.03099,"118":0.0124,"119":0.04029,"121":0.04339,"122":0.07438,"123":0.06508,"124":0.13946,"125":0.07128,"126":0.08057,"127":0.23243,"128":4.038,"129":0.89871,_:"12 13 14 15 16 17 79 80 81 83 84 85 86 87 88 89 90 91 93 96 97 99 103 104 108 120 130"},E:{"9":0.0062,"13":0.0031,_:"0 4 5 6 7 8 10 11 12 14 15 3.1 3.2 5.1 6.1 7.1 9.1 10.1 11.1 12.1 15.2-15.3 15.4 16.2 16.5 18.1","13.1":0.0093,"14.1":0.0093,"15.1":0.0155,"15.5":0.0093,"15.6":0.05578,"16.0":0.06198,"16.1":0.11466,"16.3":0.0124,"16.4":0.0155,"16.6":0.03099,"17.0":0.02479,"17.1":0.03409,"17.2":0.0062,"17.3":0.03409,"17.4":0.03099,"17.5":0.08677,"17.6":0.6322,"18.0":0.04339},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.00098,"5.0-5.1":0.00049,"6.0-6.1":0.00294,"7.0-7.1":0.00342,"8.1-8.4":0,"9.0-9.2":0.00294,"9.3":0.00832,"10.0-10.2":0.00245,"10.3":0.01419,"11.0-11.2":0.05235,"11.3-11.4":0.00391,"12.0-12.1":0.00245,"12.2-12.5":0.0592,"13.0-13.1":0.00098,"13.2":0.01859,"13.3":0.00245,"13.4-13.7":0.00979,"14.0-14.4":0.02251,"14.5-14.8":0.02985,"15.0-15.1":0.01712,"15.2-15.3":0.01664,"15.4":0.01908,"15.5":0.02349,"15.6-15.8":0.23241,"16.0":0.04697,"16.1":0.09296,"16.2":0.04648,"16.3":0.07828,"16.4":0.01664,"16.5":0.03278,"16.6-16.7":0.27987,"17.0":0.02349,"17.1":0.03719,"17.2":0.03376,"17.3":0.04844,"17.4":0.10373,"17.5":0.49858,"17.6-17.7":2.65337,"18.0":0.33467,"18.1":0.01517},P:{"4":0.1023,"21":0.02046,"22":0.01023,"23":0.03069,"24":0.08184,"25":0.06138,"26":0.41942,_:"20 5.0-5.4 8.2 9.2 10.1 11.1-11.2 12.0 13.0 14.0 15.0 18.0","6.2-6.4":0.01023,"7.2-7.4":0.06138,"16.0":0.02046,"17.0":0.01023,"19.0":0.04092},I:{"0":0.03441,"3":0,"4":0,"2.1":0,"2.2":0,"2.3":0,"4.1":0,"4.2-4.3":0.00001,"4.4":0,"4.4.3-4.4.4":0.00006},K:{"0":1.29739,_:"10 11 12 11.1 11.5 12.1"},A:{"8":0.0093,_:"6 7 9 10 11 5.5"},N:{_:"10 11"},S:{_:"2.5 3.0-3.1"},J:{_:"7 10"},O:{"0":1.47681},H:{"0":0},L:{"0":60.93074},R:{_:"0"},M:{"0":0.03451},Q:{_:"14.9"}}; diff --git a/node_modules/caniuse-lite/data/regions/BW.js b/node_modules/caniuse-lite/data/regions/BW.js index 87c38544c7..1443336ed7 100644 --- a/node_modules/caniuse-lite/data/regions/BW.js +++ b/node_modules/caniuse-lite/data/regions/BW.js @@ -1 +1 @@ -module.exports={C:{"34":0.01999,"43":0.00333,"47":0.00333,"49":0.01332,"52":0.00666,"60":0.00333,"68":0.00333,"70":0.00333,"78":0.00999,"87":0.00333,"88":0.00333,"91":0.00333,"95":0.00999,"103":0.00333,"112":0.00333,"115":0.18321,"117":0.00333,"118":0.00333,"122":0.01666,"123":0.01332,"124":0.03331,"125":0.63289,"126":0.50964,"127":0.03997,_:"2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 35 36 37 38 39 40 41 42 44 45 46 48 50 51 53 54 55 56 57 58 59 61 62 63 64 65 66 67 69 71 72 73 74 75 76 77 79 80 81 82 83 84 85 86 89 90 92 93 94 96 97 98 99 100 101 102 104 105 106 107 108 109 110 111 113 114 116 119 120 121 128 129 3.5 3.6"},D:{"11":0.00666,"31":0.00333,"34":0.00666,"40":0.00333,"43":0.00333,"49":0.01666,"56":0.00333,"58":0.00333,"59":0.00333,"63":0.01332,"64":0.00333,"65":0.00333,"66":0.00666,"68":0.00333,"69":0.00333,"70":0.00666,"72":0.00666,"73":0.00333,"74":0.00666,"75":0.02332,"77":0.00333,"78":0.00666,"79":0.01666,"80":0.01332,"81":0.00666,"83":0.00999,"84":0.00666,"85":0.00333,"86":0.01999,"87":0.03331,"88":0.06329,"90":0.00333,"91":0.01666,"92":0.02332,"93":0.00999,"94":0.00999,"95":0.01332,"96":0.00333,"97":0.00333,"98":0.03997,"99":0.04663,"100":0.00999,"101":0.00666,"102":0.01999,"103":0.04997,"104":0.04997,"105":0.00333,"106":0.00999,"107":0.00666,"108":0.01332,"109":1.52893,"110":0.00999,"111":0.00333,"112":0.01332,"113":0.00999,"114":0.05996,"115":0.02332,"116":0.08994,"117":0.00666,"118":0.00999,"119":0.08994,"120":0.0966,"121":0.07328,"122":0.26648,"123":0.69951,"124":11.17884,"125":4.21038,"126":0.00666,_:"4 5 6 7 8 9 10 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 32 33 35 36 37 38 39 41 42 44 45 46 47 48 50 51 52 53 54 55 57 60 61 62 67 71 76 89 127 128"},F:{"28":0.01999,"36":0.00333,"79":0.07328,"95":0.02665,"101":0.00333,"107":0.04663,"108":0.00999,"109":0.63622,"110":0.0433,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 29 30 31 32 33 34 35 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 60 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 96 97 98 99 100 102 103 104 105 106 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"12":0.00999,"13":0.03331,"14":0.00999,"15":0.00666,"16":0.01332,"17":0.00666,"18":0.01999,"84":0.01332,"85":0.00333,"87":0.00333,"89":0.00333,"90":0.00999,"92":0.06329,"100":0.00999,"108":0.00333,"109":0.11992,"111":0.00333,"112":0.01332,"113":0.00333,"114":0.01666,"115":0.00666,"116":0.00666,"117":0.00666,"118":0.02998,"119":0.03664,"120":0.0433,"121":0.03331,"122":0.09993,"123":0.18987,"124":3.61414,"125":1.82872,_:"79 80 81 83 86 88 91 93 94 95 96 97 98 99 101 102 103 104 105 106 107 110"},E:{"13":0.08661,"14":0.00999,_:"0 4 5 6 7 8 9 10 11 12 15 3.1 3.2 5.1 6.1 7.1 9.1 10.1 11.1 15.1 15.2-15.3 17.6","12.1":0.00333,"13.1":0.01999,"14.1":0.01332,"15.4":0.00666,"15.5":0.00666,"15.6":0.06662,"16.0":0.00333,"16.1":0.02665,"16.2":0.00333,"16.3":0.01332,"16.4":0.00333,"16.5":0.00999,"16.6":0.03331,"17.0":0.03331,"17.1":0.01999,"17.2":0.03331,"17.3":0.07661,"17.4":0.28314,"17.5":0.06329},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.00091,"5.0-5.1":0.00091,"6.0-6.1":0.00227,"7.0-7.1":0.00317,"8.1-8.4":0.00091,"9.0-9.2":0.00227,"9.3":0.01043,"10.0-10.2":0.00181,"10.3":0.01633,"11.0-11.2":0.02404,"11.3-11.4":0.00453,"12.0-12.1":0.00272,"12.2-12.5":0.06576,"13.0-13.1":0.00136,"13.2":0.00635,"13.3":0.00317,"13.4-13.7":0.01451,"14.0-14.4":0.02494,"14.5-14.8":0.03855,"15.0-15.1":0.01859,"15.2-15.3":0.02041,"15.4":0.02313,"15.5":0.02902,"15.6-15.8":0.26121,"16.0":0.05941,"16.1":0.12244,"16.2":0.05941,"16.3":0.10294,"16.4":0.02177,"16.5":0.04399,"16.6-16.7":0.35055,"17.0":0.03809,"17.1":0.06213,"17.2":0.06485,"17.3":0.11972,"17.4":2.71868,"17.5":0.19183,"17.6":0},P:{"4":0.34199,"20":0.01036,"21":0.04145,"22":0.09327,"23":0.33162,"24":0.3109,"25":1.87574,_:"5.0-5.4 8.2 9.2 10.1 15.0","6.2-6.4":0.01036,"7.2-7.4":0.24872,"11.1-11.2":0.01036,"12.0":0.05182,"13.0":0.03109,"14.0":0.09327,"16.0":0.01036,"17.0":0.02073,"18.0":0.01036,"19.0":0.06218},I:{"0":0.05979,"3":0,"4":0.00001,"2.1":0,"2.2":0,"2.3":0,"4.1":0.00001,"4.2-4.3":0.00004,"4.4":0,"4.4.3-4.4.4":0.00013},K:{"0":1.2438,_:"10 11 12 11.1 11.5 12.1"},A:{"10":0.00433,"11":0.03897,_:"6 7 8 9 5.5"},S:{"2.5":0.1934,_:"3.0-3.1"},J:{_:"7 10"},N:{_:"10 11"},L:{"0":60.57302},R:{_:"0"},M:{"0":0.11337},Q:{"14.9":0.00667},O:{"0":0.57353},H:{"0":0.09}}; +module.exports={C:{"34":0.03106,"36":0.00388,"47":0.00388,"49":0.00776,"52":0.00388,"60":0.00388,"69":0.00388,"78":0.00776,"88":0.00388,"95":0.00776,"115":0.13975,"119":0.00776,"124":0.00388,"126":0.00388,"127":0.03106,"128":0.01553,"129":0.17857,"130":0.59395,"131":0.06988,"132":0.00776,_:"2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 35 37 38 39 40 41 42 43 44 45 46 48 50 51 53 54 55 56 57 58 59 61 62 63 64 65 66 67 68 70 71 72 73 74 75 76 77 79 80 81 82 83 84 85 86 87 89 90 91 92 93 94 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 116 117 118 120 121 122 123 125 133 134 135 3.5 3.6"},D:{"49":0.00776,"50":0.00388,"62":0.00388,"63":0.00776,"66":0.01553,"69":0.01165,"70":0.00776,"72":0.00388,"73":0.00388,"74":0.00388,"75":0.01941,"76":0.00776,"77":0.00388,"78":0.01941,"79":0.01553,"80":0.00776,"81":0.00776,"83":0.00776,"84":0.01165,"85":0.00388,"86":0.00776,"87":0.00776,"88":0.11258,"89":0.00388,"90":0.00388,"91":0.01165,"93":0.00776,"94":0.01941,"95":0.01941,"96":0.00388,"98":0.03106,"99":0.07376,"100":0.02329,"101":0.00776,"102":0.02329,"103":0.04658,"104":0.11258,"105":0.00388,"106":0.00776,"107":0.00776,"108":0.00388,"109":1.58774,"110":0.00388,"111":0.01165,"112":0.01165,"113":0.00776,"114":0.01553,"115":0.01165,"116":0.08929,"117":0.00776,"118":0.01941,"119":0.0427,"120":0.05823,"121":0.02717,"122":0.07764,"123":0.07764,"124":0.09317,"125":0.09705,"126":0.13975,"127":0.94333,"128":14.55362,"129":4.40219,"130":0.00776,_:"4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 51 52 53 54 55 56 57 58 59 60 61 64 65 67 68 71 92 97 131 132 133"},F:{"79":0.00388,"82":0.00388,"83":0.00388,"84":0.00388,"95":0.02329,"102":0.01165,"111":0.01165,"112":0.36103,"113":0.21739,"114":0.00776,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 60 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 80 81 85 86 87 88 89 90 91 92 93 94 96 97 98 99 100 101 103 104 105 106 107 108 109 110 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"12":0.00388,"13":0.00388,"14":0.02329,"15":0.00776,"16":0.00388,"18":0.02717,"84":0.00776,"89":0.00388,"90":0.01165,"92":0.32221,"100":0.05047,"104":0.00388,"107":0.00388,"108":0.00388,"109":0.09705,"112":0.03106,"114":0.01165,"115":0.03494,"116":0.01941,"117":0.03106,"118":0.00388,"119":0.03494,"120":0.03882,"121":0.05823,"122":0.01165,"123":0.0427,"124":0.05435,"125":0.05435,"126":0.15916,"127":0.80357,"128":6.20732,"129":1.34317,_:"17 79 80 81 83 85 86 87 88 91 93 94 95 96 97 98 99 101 102 103 105 106 110 111 113 130"},E:{"14":0.00388,_:"0 4 5 6 7 8 9 10 11 12 13 15 3.1 3.2 5.1 6.1 7.1 9.1 10.1 11.1 12.1 15.1 15.2-15.3 15.4 16.0 18.1","13.1":0.03106,"14.1":0.01165,"15.5":0.01165,"15.6":0.12422,"16.1":0.02329,"16.2":0.01553,"16.3":0.01941,"16.4":0.00776,"16.5":0.02329,"16.6":0.05047,"17.0":0.02329,"17.1":0.00388,"17.2":0.00776,"17.3":0.03882,"17.4":0.01553,"17.5":0.09317,"17.6":0.4309,"18.0":0.05823},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.00083,"5.0-5.1":0.00042,"6.0-6.1":0.0025,"7.0-7.1":0.00292,"8.1-8.4":0,"9.0-9.2":0.0025,"9.3":0.00708,"10.0-10.2":0.00208,"10.3":0.01208,"11.0-11.2":0.04459,"11.3-11.4":0.00333,"12.0-12.1":0.00208,"12.2-12.5":0.05042,"13.0-13.1":0.00083,"13.2":0.01583,"13.3":0.00208,"13.4-13.7":0.00833,"14.0-14.4":0.01917,"14.5-14.8":0.02542,"15.0-15.1":0.01458,"15.2-15.3":0.01417,"15.4":0.01625,"15.5":0.02,"15.6-15.8":0.19793,"16.0":0.04,"16.1":0.07917,"16.2":0.03959,"16.3":0.06667,"16.4":0.01417,"16.5":0.02792,"16.6-16.7":0.23835,"17.0":0.02,"17.1":0.03167,"17.2":0.02875,"17.3":0.04125,"17.4":0.08834,"17.5":0.42462,"17.6-17.7":2.25979,"18.0":0.28503,"18.1":0.01292},P:{"4":0.13225,"20":0.03052,"21":0.04069,"22":0.09156,"23":0.04069,"24":0.05087,"25":0.25433,"26":1.46493,_:"5.0-5.4 8.2 9.2 10.1 11.1-11.2 12.0 14.0 15.0","6.2-6.4":0.02035,"7.2-7.4":0.22381,"13.0":0.02035,"16.0":0.02035,"17.0":0.02035,"18.0":0.01017,"19.0":0.04069},I:{"0":0.02441,"3":0,"4":0,"2.1":0,"2.2":0,"2.3":0,"4.1":0,"4.2-4.3":0.00001,"4.4":0,"4.4.3-4.4.4":0.00004},K:{"0":0.92352,_:"10 11 12 11.1 11.5 12.1"},A:{"11":0.01165,_:"6 7 8 9 10 5.5"},N:{_:"10 11"},S:{"2.5":0.06119,_:"3.0-3.1"},J:{_:"7 10"},O:{"0":0.55683},H:{"0":0.08},L:{"0":55.70045},R:{_:"0"},M:{"0":0.11014},Q:{"14.9":0.01836}}; diff --git a/node_modules/caniuse-lite/data/regions/BY.js b/node_modules/caniuse-lite/data/regions/BY.js index 7d7e38b9ea..8ad94cd178 100644 --- a/node_modules/caniuse-lite/data/regions/BY.js +++ b/node_modules/caniuse-lite/data/regions/BY.js @@ -1 +1 @@ -module.exports={C:{"43":0.00447,"52":0.33041,"57":0.00893,"60":0.00447,"66":0.00447,"72":0.00447,"77":0.00447,"78":0.00447,"88":0.00447,"96":0.03126,"102":0.00447,"105":0.02679,"106":0.00447,"107":0.00447,"109":0.00447,"110":0.00893,"113":0.00447,"115":0.85282,"116":0.00447,"117":0.00447,"118":0.00447,"119":0.00447,"120":0.00447,"121":0.00447,"122":0.00893,"123":0.04912,"124":0.12502,"125":0.79031,"126":0.67422,"127":0.00447,_:"2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 44 45 46 47 48 49 50 51 53 54 55 56 58 59 61 62 63 64 65 67 68 69 70 71 73 74 75 76 79 80 81 82 83 84 85 86 87 89 90 91 92 93 94 95 97 98 99 100 101 103 104 108 111 112 114 128 129 3.5 3.6"},D:{"26":0.00447,"38":0.00447,"45":0.00447,"49":0.03126,"55":0.00447,"58":0.05358,"64":0.00447,"69":0.00447,"70":0.00447,"74":0.00447,"76":0.00447,"77":0.0134,"78":0.00447,"79":0.09823,"80":0.00893,"83":0.00447,"84":0.00447,"85":0.00447,"86":0.00447,"87":0.0134,"88":0.00447,"89":0.0134,"90":0.00893,"91":0.00893,"92":0.00447,"93":0.09823,"94":0.02679,"95":0.00893,"97":0.00893,"98":0.03126,"99":0.0134,"100":0.01786,"101":0.0134,"102":0.04465,"103":0.0134,"104":0.0134,"105":0.0134,"106":0.16074,"107":0.02233,"108":0.04019,"109":3.12104,"110":0.01786,"111":0.03126,"112":0.03126,"113":0.00447,"114":0.02679,"115":0.0134,"116":0.04465,"117":0.00447,"118":0.01786,"119":0.07591,"120":0.12056,"121":0.14735,"122":0.14735,"123":0.50901,"124":12.29215,"125":4.6436,"126":0.00447,_:"4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 27 28 29 30 31 32 33 34 35 36 37 39 40 41 42 43 44 46 47 48 50 51 52 53 54 56 57 59 60 61 62 63 65 66 67 68 71 72 73 75 81 96 127 128"},F:{"36":0.02233,"56":0.01786,"57":0.00447,"72":0.00447,"73":0.00447,"74":0.00447,"77":0.00447,"79":0.06698,"80":0.0134,"81":0.00447,"82":0.00893,"83":0.04019,"84":0.0134,"85":0.09377,"86":0.02679,"87":0.00447,"90":0.00447,"91":0.00447,"93":0.00447,"94":0.00447,"95":0.86175,"96":0.00447,"102":0.00447,"105":0.00447,"106":0.0134,"107":0.39739,"108":0.09377,"109":3.99618,"110":0.35274,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 58 60 62 63 64 65 66 67 68 69 70 71 75 76 78 88 89 92 97 98 99 100 101 103 104 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6","12.1":0.00893},B:{"17":0.05805,"18":0.00447,"92":0.0134,"103":0.0134,"106":0.00893,"107":0.00447,"108":0.00447,"109":0.02233,"110":0.00447,"117":0.00447,"119":0.00447,"120":0.00893,"121":0.00447,"122":0.00893,"123":0.06251,"124":1.44666,"125":0.893,_:"12 13 14 15 16 79 80 81 83 84 85 86 87 88 89 90 91 93 94 95 96 97 98 99 100 101 102 104 105 111 112 113 114 115 116 118"},E:{"14":0.0134,_:"0 4 5 6 7 8 9 10 11 12 13 15 3.1 3.2 6.1 7.1 10.1 11.1 17.6","5.1":0.00447,"9.1":0.00447,"12.1":0.00447,"13.1":0.03572,"14.1":0.02233,"15.1":0.00447,"15.2-15.3":0.00447,"15.4":0.01786,"15.5":0.01786,"15.6":0.24558,"16.0":0.00447,"16.1":0.05358,"16.2":0.04465,"16.3":0.0893,"16.4":0.03126,"16.5":0.13395,"16.6":0.36167,"17.0":0.03572,"17.1":0.11609,"17.2":0.08037,"17.3":0.09377,"17.4":1.94674,"17.5":0.31255},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.00339,"5.0-5.1":0.00339,"6.0-6.1":0.00849,"7.0-7.1":0.01188,"8.1-8.4":0.00339,"9.0-9.2":0.00849,"9.3":0.03904,"10.0-10.2":0.00679,"10.3":0.0611,"11.0-11.2":0.08996,"11.3-11.4":0.01697,"12.0-12.1":0.01018,"12.2-12.5":0.24611,"13.0-13.1":0.00509,"13.2":0.02376,"13.3":0.01188,"13.4-13.7":0.05431,"14.0-14.4":0.09335,"14.5-14.8":0.14427,"15.0-15.1":0.06959,"15.2-15.3":0.07638,"15.4":0.08656,"15.5":0.10863,"15.6-15.8":0.97767,"16.0":0.22235,"16.1":0.45828,"16.2":0.22235,"16.3":0.3853,"16.4":0.08147,"16.5":0.16464,"16.6-16.7":1.31204,"17.0":0.14258,"17.1":0.23254,"17.2":0.24272,"17.3":0.4481,"17.4":10.17554,"17.5":0.71797,"17.6":0},P:{"4":0.07243,"20":0.01035,"21":0.01035,"22":0.01035,"23":0.08278,"24":0.09313,"25":0.69329,_:"5.0-5.4 7.2-7.4 8.2 9.2 10.1 12.0 14.0 15.0 16.0 17.0 18.0","6.2-6.4":0.09313,"11.1-11.2":0.01035,"13.0":0.0207,"19.0":0.01035},I:{"0":0.03309,"3":0,"4":0,"2.1":0,"2.2":0,"2.3":0,"4.1":0.00001,"4.2-4.3":0.00002,"4.4":0,"4.4.3-4.4.4":0.00007},K:{"0":1.21006,_:"10 11 12 11.1 11.5 12.1"},A:{"8":0.03246,"11":0.0881,_:"6 7 9 10 5.5"},S:{_:"2.5 3.0-3.1"},J:{_:"7 10"},N:{_:"10 11"},L:{"0":33.76759},R:{_:"0"},M:{"0":0.11626},Q:{"14.9":0.00554},O:{"0":0.08858},H:{"0":0.03}}; +module.exports={C:{"43":0.00431,"50":0.00431,"51":0.00431,"52":0.24584,"53":0.00431,"55":0.00431,"56":0.00863,"68":0.00431,"72":0.00431,"78":0.00431,"88":0.00431,"96":0.0647,"98":0.00431,"102":0.00431,"104":0.00431,"105":0.03019,"108":0.01294,"110":0.01294,"111":0.00431,"113":0.00431,"114":0.00431,"115":0.69439,"116":0.00431,"120":0.00431,"121":0.00431,"122":0.00431,"123":0.00431,"124":0.0345,"125":0.00863,"126":0.01294,"127":0.12508,"128":0.02157,"129":0.23722,"130":1.32409,"131":0.00863,"132":0.00431,_:"2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 44 45 46 47 48 49 54 57 58 59 60 61 62 63 64 65 66 67 69 70 71 73 74 75 76 77 79 80 81 82 83 84 85 86 87 89 90 91 92 93 94 95 97 99 100 101 103 106 107 109 112 117 118 119 133 134 135 3.5 3.6"},D:{"49":0.02588,"53":0.00431,"55":0.00431,"58":0.06901,"69":0.00431,"72":0.00431,"75":0.00431,"76":0.00431,"77":0.01294,"79":0.0345,"80":0.01294,"84":0.02588,"85":0.00431,"86":0.01294,"87":0.00863,"88":0.00431,"89":0.02157,"90":0.06901,"91":0.00431,"92":0.00431,"94":0.01725,"95":0.00431,"96":0.00431,"97":0.02157,"98":0.00863,"99":0.02588,"100":0.01294,"101":0.00863,"102":0.02157,"103":0.01725,"104":0.01294,"105":0.01725,"106":0.09057,"107":0.02157,"108":0.03882,"109":3.35983,"110":0.02157,"111":0.05607,"112":0.0345,"113":0.00863,"114":0.01294,"115":0.00863,"116":0.04313,"117":0.00431,"118":0.07332,"119":0.04313,"120":0.06038,"121":0.04313,"122":0.0647,"123":0.04313,"124":0.17252,"125":0.12508,"126":0.17683,"127":0.66852,"128":10.84288,"129":4.60628,"130":0.00431,_:"4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 50 51 52 54 56 57 59 60 61 62 63 64 65 66 67 68 70 71 73 74 78 81 83 93 131 132 133"},F:{"36":0.02157,"42":0.00863,"57":0.00431,"72":0.00431,"73":0.00431,"79":0.18977,"81":0.01294,"82":0.01725,"83":0.01294,"84":0.05176,"85":0.0647,"86":0.02588,"87":0.00431,"93":0.00431,"94":0.00863,"95":0.7634,"99":0.00431,"100":0.00431,"101":0.00431,"102":0.01294,"103":0.00431,"107":0.00863,"108":0.00431,"109":0.03882,"110":0.00863,"111":0.05176,"112":2.6525,"113":1.61738,"114":0.02157,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 37 38 39 40 41 43 44 45 46 47 48 49 50 51 52 53 54 55 56 58 60 62 63 64 65 66 67 68 69 70 71 74 75 76 77 78 80 88 89 90 91 92 96 97 98 104 105 106 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6","12.1":0.02157},B:{"18":0.00863,"87":0.00431,"92":0.01725,"100":0.00431,"106":0.00431,"107":0.00431,"109":0.02157,"110":0.00431,"119":0.00431,"121":0.00431,"123":0.00863,"124":0.00431,"125":0.00431,"126":0.02588,"127":0.05607,"128":1.58718,"129":0.82378,"130":0.01294,_:"12 13 14 15 16 17 79 80 81 83 84 85 86 88 89 90 91 93 94 95 96 97 98 99 101 102 103 104 105 108 111 112 113 114 115 116 117 118 120 122"},E:{"14":0.00431,_:"0 4 5 6 7 8 9 10 11 12 13 15 3.1 3.2 6.1 7.1 9.1 10.1 11.1 12.1","5.1":0.00431,"13.1":0.01725,"14.1":0.03882,"15.1":0.00431,"15.2-15.3":0.00431,"15.4":0.01294,"15.5":0.02157,"15.6":0.29328,"16.0":0.00863,"16.1":0.03882,"16.2":0.03019,"16.3":0.06901,"16.4":0.03019,"16.5":0.04313,"16.6":0.37954,"17.0":0.02157,"17.1":0.06038,"17.2":0.03019,"17.3":0.05176,"17.4":0.15096,"17.5":0.38817,"17.6":1.96673,"18.0":0.3321,"18.1":0.00863},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.0037,"5.0-5.1":0.00185,"6.0-6.1":0.01111,"7.0-7.1":0.01296,"8.1-8.4":0,"9.0-9.2":0.01111,"9.3":0.03148,"10.0-10.2":0.00926,"10.3":0.0537,"11.0-11.2":0.19813,"11.3-11.4":0.01481,"12.0-12.1":0.00926,"12.2-12.5":0.22405,"13.0-13.1":0.0037,"13.2":0.07036,"13.3":0.00926,"13.4-13.7":0.03703,"14.0-14.4":0.08518,"14.5-14.8":0.11295,"15.0-15.1":0.06481,"15.2-15.3":0.06296,"15.4":0.07222,"15.5":0.08888,"15.6-15.8":0.87955,"16.0":0.17776,"16.1":0.35182,"16.2":0.17591,"16.3":0.29627,"16.4":0.06296,"16.5":0.12406,"16.6-16.7":1.05917,"17.0":0.08888,"17.1":0.14073,"17.2":0.12777,"17.3":0.18332,"17.4":0.39256,"17.5":1.88687,"17.6-17.7":10.0417,"18.0":1.26655,"18.1":0.0574},P:{"4":0.05222,"21":0.02089,"22":0.01044,"23":0.08356,"24":0.05222,"25":0.10444,"26":0.73111,_:"20 5.0-5.4 6.2-6.4 8.2 9.2 10.1 12.0 13.0 15.0 16.0 17.0 18.0 19.0","7.2-7.4":0.01044,"11.1-11.2":0.01044,"14.0":0.01044},I:{"0":0.0397,"3":0,"4":0,"2.1":0,"2.2":0,"2.3":0,"4.1":0,"4.2-4.3":0.00002,"4.4":0,"4.4.3-4.4.4":0.00006},K:{"0":1.11171,_:"10 11 12 11.1 11.5 12.1"},A:{"8":0.02444,"11":0.1222,_:"6 7 9 10 5.5"},N:{_:"10 11"},S:{_:"2.5 3.0-3.1"},J:{_:"7 10"},O:{"0":0.06256},H:{"0":0.02},L:{"0":33.80575},R:{_:"0"},M:{"0":0.10237},Q:{"14.9":0.00569}}; diff --git a/node_modules/caniuse-lite/data/regions/BZ.js b/node_modules/caniuse-lite/data/regions/BZ.js index f79fc5173d..444b5162dc 100644 --- a/node_modules/caniuse-lite/data/regions/BZ.js +++ b/node_modules/caniuse-lite/data/regions/BZ.js @@ -1 +1 @@ -module.exports={C:{"3":0.00344,"26":0.00344,"31":0.00344,"35":0.00344,"38":0.00344,"39":0.00344,"40":0.00688,"52":0.00344,"78":0.00344,"102":0.00688,"111":0.00344,"112":0.00344,"113":0.00688,"114":0.00688,"115":0.04816,"116":0.04128,"117":0.06536,"118":0.01032,"119":0.00344,"120":0.02064,"121":0.00344,"122":0.00344,"123":0.00344,"124":0.00344,"125":0.36464,"126":0.28896,_:"2 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 27 28 29 30 32 33 34 36 37 41 42 43 44 45 46 47 48 49 50 51 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 103 104 105 106 107 108 109 110 127 128 129","3.5":0.00344,"3.6":0.00688},D:{"4":0.00344,"29":0.00344,"31":0.00344,"32":0.00344,"33":0.00344,"37":0.00344,"38":0.00344,"39":0.00688,"40":0.00344,"41":0.00688,"42":0.00344,"43":0.01032,"44":0.0172,"45":0.01032,"46":0.01376,"47":0.00688,"51":0.03096,"70":0.01032,"75":0.00344,"76":0.01032,"79":0.00688,"84":0.00344,"87":0.00688,"91":0.05848,"92":0.00688,"93":0.04128,"97":0.16168,"102":0.00344,"103":0.09976,"105":0.00344,"107":0.00344,"108":0.83248,"109":0.28896,"110":0.00344,"111":0.00344,"112":0.00688,"113":0.00344,"114":0.02408,"115":0.02752,"116":0.24768,"117":0.04472,"118":0.01032,"119":0.03096,"120":0.01376,"121":0.04816,"122":0.07912,"123":0.45752,"124":10.69152,"125":6.78712,"126":0.01032,_:"5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 30 34 35 36 48 49 50 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 71 72 73 74 77 78 80 81 83 85 86 88 89 90 94 95 96 98 99 100 101 104 106 127 128"},F:{"30":0.00344,"31":0.00344,"32":0.00344,"101":0.00344,"107":0.0688,"108":0.00344,"109":0.45064,"110":0.00344,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 60 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 102 103 104 105 106 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6","12.1":0.00344},B:{"12":0.00344,"14":0.00344,"92":0.00344,"109":0.0344,"113":0.00344,"116":0.03096,"117":0.00688,"118":0.01032,"119":0.00344,"120":0.00344,"121":0.00688,"122":0.0172,"123":0.04128,"124":0.92192,"125":0.52976,_:"13 15 16 17 18 79 80 81 83 84 85 86 87 88 89 90 91 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 110 111 112 114 115"},E:{"7":0.00344,"8":0.00344,"9":0.06536,"14":0.08944,"15":0.00344,_:"0 4 5 6 10 11 12 13 3.1 3.2 6.1 7.1 9.1 10.1 11.1 17.6","5.1":0.00344,"12.1":0.00344,"13.1":0.00688,"14.1":0.01376,"15.1":0.13416,"15.2-15.3":0.086,"15.4":0.25112,"15.5":0.07224,"15.6":0.40248,"16.0":0.02752,"16.1":0.09632,"16.2":0.03096,"16.3":0.13072,"16.4":0.06192,"16.5":0.516,"16.6":0.95288,"17.0":0.04128,"17.1":0.21328,"17.2":0.27176,"17.3":0.19608,"17.4":4.68528,"17.5":1.04576},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.00977,"5.0-5.1":0.00977,"6.0-6.1":0.02441,"7.0-7.1":0.03418,"8.1-8.4":0.00977,"9.0-9.2":0.02441,"9.3":0.1123,"10.0-10.2":0.01953,"10.3":0.17578,"11.0-11.2":0.25878,"11.3-11.4":0.04883,"12.0-12.1":0.0293,"12.2-12.5":0.70799,"13.0-13.1":0.01465,"13.2":0.06836,"13.3":0.03418,"13.4-13.7":0.15625,"14.0-14.4":0.26855,"14.5-14.8":0.41503,"15.0-15.1":0.20019,"15.2-15.3":0.21972,"15.4":0.24902,"15.5":0.31249,"15.6-15.8":2.81243,"16.0":0.63963,"16.1":1.31833,"16.2":0.63963,"16.3":1.10837,"16.4":0.23437,"16.5":0.47362,"16.6-16.7":3.77432,"17.0":0.41015,"17.1":0.66893,"17.2":0.69823,"17.3":1.28903,"17.4":29.27176,"17.5":2.06538,"17.6":0},P:{"4":0.05337,"21":0.02135,"22":0.02135,"23":0.02135,"24":0.07472,"25":1.04612,_:"20 5.0-5.4 8.2 9.2 10.1 11.1-11.2 12.0 13.0 14.0 15.0 16.0 17.0","6.2-6.4":0.03202,"7.2-7.4":0.03202,"18.0":0.03202,"19.0":0.01067},I:{"0":0.25488,"3":0,"4":0.00003,"2.1":0,"2.2":0,"2.3":0,"4.1":0.00005,"4.2-4.3":0.00015,"4.4":0,"4.4.3-4.4.4":0.00056},K:{"0":0.07217,_:"10 11 12 11.1 11.5 12.1"},A:{"6":0.00368,"7":0.00736,"8":0.0994,"9":0.01841,"10":0.01841,"11":0.05154,_:"5.5"},S:{"2.5":0.01968,_:"3.0-3.1"},J:{_:"7 10"},N:{_:"10 11"},L:{"0":15.82719},R:{_:"0"},M:{"0":0.22307},Q:{_:"14.9"},O:{"0":0.03281},H:{"0":0}}; +module.exports={C:{"91":0.00342,"102":0.0171,"114":0.00342,"115":0.04445,"117":0.00342,"120":0.17779,"123":0.00342,"124":0.00342,"127":0.01026,"128":0.03077,"129":0.1436,"130":0.69064,_:"2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 92 93 94 95 96 97 98 99 100 101 103 104 105 106 107 108 109 110 111 112 113 116 118 119 121 122 125 126 131 132 133 134 135 3.5 3.6"},D:{"43":0.00342,"49":0.00342,"68":0.00342,"74":0.00342,"79":0.00684,"81":0.00342,"83":0.00342,"84":0.00684,"88":3.53525,"91":0.10257,"92":0.00342,"93":0.03761,"94":0.00342,"99":0.00684,"103":0.22907,"104":0.00684,"105":0.00684,"106":0.01026,"108":0.03419,"109":0.19488,"110":0.01026,"112":0.03761,"113":0.07864,"114":1.57958,"115":0.00342,"116":0.19488,"118":0.00342,"119":0.01026,"120":0.00342,"121":0.00342,"122":0.05129,"123":0.0171,"124":0.09915,"125":0.02735,"126":0.15386,"127":0.46157,"128":8.18509,"129":2.77281,"130":0.01026,_:"4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 44 45 46 47 48 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 69 70 71 72 73 75 76 77 78 80 85 86 87 89 90 95 96 97 98 100 101 102 107 111 117 131 132 133"},F:{"95":0.01026,"99":0.00342,"109":0.00342,"112":0.47182,"113":0.23933,"114":0.00342,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 60 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 96 97 98 100 101 102 103 104 105 106 107 108 110 111 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"16":0.00342,"92":0.01026,"99":0.00342,"109":0.08889,"113":0.03077,"114":0.14702,"122":0.00342,"124":0.01368,"125":0.01368,"126":0.03419,"127":0.08206,"128":1.98986,"129":0.56755,_:"12 13 14 15 17 18 79 80 81 83 84 85 86 87 88 89 90 91 93 94 95 96 97 98 100 101 102 103 104 105 106 107 108 110 111 112 115 116 117 118 119 120 121 123 130"},E:{"9":0.00342,"13":0.00342,_:"0 4 5 6 7 8 10 11 12 14 15 3.1 3.2 5.1 6.1 7.1 9.1 10.1 12.1","11.1":0.00342,"13.1":0.01026,"14.1":0.01026,"15.1":0.04103,"15.2-15.3":0.10257,"15.4":0.25643,"15.5":0.04787,"15.6":0.93681,"16.0":0.01026,"16.1":0.03761,"16.2":0.03761,"16.3":0.11283,"16.4":0.04103,"16.5":0.22565,"16.6":0.33506,"17.0":0.02051,"17.1":0.0718,"17.2":0.06838,"17.3":0.06838,"17.4":0.13676,"17.5":0.79321,"17.6":5.867,"18.0":0.50259,"18.1":0.02735},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.00824,"5.0-5.1":0.00412,"6.0-6.1":0.02472,"7.0-7.1":0.02884,"8.1-8.4":0,"9.0-9.2":0.02472,"9.3":0.07004,"10.0-10.2":0.0206,"10.3":0.11947,"11.0-11.2":0.44081,"11.3-11.4":0.03296,"12.0-12.1":0.0206,"12.2-12.5":0.49848,"13.0-13.1":0.00824,"13.2":0.15655,"13.3":0.0206,"13.4-13.7":0.08239,"14.0-14.4":0.18951,"14.5-14.8":0.2513,"15.0-15.1":0.14419,"15.2-15.3":0.14007,"15.4":0.16067,"15.5":0.19775,"15.6-15.8":1.95686,"16.0":0.39549,"16.1":0.78274,"16.2":0.39137,"16.3":0.65915,"16.4":0.14007,"16.5":0.27602,"16.6-16.7":2.35647,"17.0":0.19775,"17.1":0.3131,"17.2":0.28426,"17.3":0.40785,"17.4":0.87338,"17.5":4.19798,"17.6-17.7":22.34117,"18.0":2.81788,"18.1":0.12771},P:{"4":0.04285,"21":0.01071,"22":0.01071,"23":0.01071,"24":0.01071,"25":0.03214,"26":1.24274,_:"20 5.0-5.4 6.2-6.4 8.2 9.2 10.1 11.1-11.2 12.0 13.0 14.0 15.0 16.0 17.0 18.0 19.0","7.2-7.4":0.02143},I:{"0":0.01313,"3":0,"4":0,"2.1":0,"2.2":0,"2.3":0,"4.1":0,"4.2-4.3":0.00001,"4.4":0,"4.4.3-4.4.4":0.00002},K:{"0":0.15136,_:"10 11 12 11.1 11.5 12.1"},A:{_:"6 7 8 9 10 11 5.5"},N:{_:"10 11"},S:{_:"2.5 3.0-3.1"},J:{_:"7 10"},O:{"0":0.03291},H:{"0":0},L:{"0":22.92318},R:{_:"0"},M:{"0":1.13193},Q:{_:"14.9"}}; diff --git a/node_modules/caniuse-lite/data/regions/CA.js b/node_modules/caniuse-lite/data/regions/CA.js index 88bbf7a09c..5e26da1825 100644 --- a/node_modules/caniuse-lite/data/regions/CA.js +++ b/node_modules/caniuse-lite/data/regions/CA.js @@ -1 +1 @@ -module.exports={C:{"38":0.02198,"43":0.01648,"44":0.09889,"45":0.02198,"47":0.00549,"52":0.02747,"57":0.01099,"59":0.00549,"77":0.00549,"78":0.02198,"83":0.00549,"88":0.03296,"100":0.00549,"102":0.00549,"103":0.01099,"104":0.01648,"105":0.00549,"107":0.00549,"108":0.00549,"109":0.00549,"110":0.00549,"111":0.00549,"113":0.01648,"114":0.00549,"115":0.31316,"116":0.00549,"117":0.01099,"118":0.01099,"119":0.00549,"120":0.02747,"121":0.00549,"122":0.01099,"123":0.03846,"124":0.06593,"125":1.22516,"126":0.98343,"127":0.00549,_:"2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 39 40 41 42 46 48 49 50 51 53 54 55 56 58 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 79 80 81 82 84 85 86 87 89 90 91 92 93 94 95 96 97 98 99 101 106 112 128 129 3.5 3.6"},D:{"38":0.00549,"47":0.02198,"48":0.22525,"49":0.07692,"57":0.00549,"58":0.00549,"65":0.00549,"66":0.01648,"74":0.00549,"75":0.00549,"76":0.01099,"77":0.00549,"79":0.02198,"80":0.01648,"81":0.01648,"83":0.14284,"84":0.00549,"85":0.01099,"86":0.07692,"87":0.04945,"88":0.0934,"89":0.01099,"90":0.00549,"91":0.01099,"92":0.01099,"93":0.03846,"94":0.01099,"95":0.00549,"96":0.00549,"97":0.00549,"98":0.01099,"99":0.01099,"100":0.07692,"101":0.14284,"102":0.0879,"103":0.59885,"104":0.12636,"105":0.07692,"106":0.01648,"107":0.01648,"108":0.13186,"109":1.0054,"110":0.02198,"111":0.04945,"112":0.02747,"113":0.14834,"114":0.17581,"115":0.07692,"116":0.32964,"117":0.04395,"118":0.06043,"119":0.0879,"120":0.26371,"121":0.16482,"122":0.43952,"123":1.93938,"124":19.47074,"125":6.89497,"126":0.01099,_:"4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 39 40 41 42 43 44 45 46 50 51 52 53 54 55 56 59 60 61 62 63 64 67 68 69 70 71 72 73 78 127 128"},F:{"95":0.03846,"107":0.14284,"108":0.01648,"109":0.55489,"110":0.02198,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 60 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 96 97 98 99 100 101 102 103 104 105 106 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"12":0.00549,"13":0.00549,"17":0.00549,"18":0.00549,"92":0.00549,"103":0.00549,"106":0.00549,"107":0.00549,"108":0.00549,"109":0.10988,"110":0.00549,"111":0.00549,"112":0.01099,"113":0.00549,"114":0.01099,"115":0.00549,"116":0.00549,"117":0.00549,"118":0.00549,"119":0.00549,"120":0.02198,"121":0.01648,"122":0.09889,"123":0.25822,"124":4.99954,"125":2.9338,_:"14 15 16 79 80 81 83 84 85 86 87 88 89 90 91 93 94 95 96 97 98 99 100 101 102 104 105"},E:{"8":0.01099,"9":0.03846,"13":0.00549,"14":0.07142,"15":0.00549,_:"0 4 5 6 7 10 11 12 3.1 3.2 5.1 6.1 7.1 9.1 10.1 17.6","11.1":0.00549,"12.1":0.02198,"13.1":0.12636,"14.1":0.17031,"15.1":0.01648,"15.2-15.3":0.01648,"15.4":0.05494,"15.5":0.06593,"15.6":0.62082,"16.0":0.06043,"16.1":0.09889,"16.2":0.08241,"16.3":0.21427,"16.4":0.06593,"16.5":0.12636,"16.6":0.87355,"17.0":0.05494,"17.1":0.13186,"17.2":0.14834,"17.3":0.16482,"17.4":4.14248,"17.5":0.49995},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.00471,"5.0-5.1":0.00471,"6.0-6.1":0.01176,"7.0-7.1":0.01647,"8.1-8.4":0.00471,"9.0-9.2":0.01176,"9.3":0.05411,"10.0-10.2":0.00941,"10.3":0.08469,"11.0-11.2":0.12469,"11.3-11.4":0.02353,"12.0-12.1":0.01412,"12.2-12.5":0.34112,"13.0-13.1":0.00706,"13.2":0.03294,"13.3":0.01647,"13.4-13.7":0.07528,"14.0-14.4":0.12939,"14.5-14.8":0.19997,"15.0-15.1":0.09646,"15.2-15.3":0.10587,"15.4":0.11998,"15.5":0.15057,"15.6-15.8":1.35509,"16.0":0.30819,"16.1":0.6352,"16.2":0.30819,"16.3":0.53404,"16.4":0.11292,"16.5":0.2282,"16.6-16.7":1.81855,"17.0":0.19762,"17.1":0.3223,"17.2":0.33642,"17.3":0.62108,"17.4":14.10373,"17.5":0.99514,"17.6":0},P:{"4":0.07759,"20":0.02217,"21":0.07759,"22":0.02217,"23":0.03325,"24":0.11084,"25":2.05053,"5.0-5.4":0.01108,"6.2-6.4":0.01108,_:"7.2-7.4 8.2 9.2 11.1-11.2 12.0 14.0 15.0 18.0","10.1":0.01108,"13.0":0.01108,"16.0":0.02217,"17.0":0.01108,"19.0":0.01108},I:{"0":0.03591,"3":0,"4":0,"2.1":0,"2.2":0,"2.3":0,"4.1":0.00001,"4.2-4.3":0.00002,"4.4":0,"4.4.3-4.4.4":0.00008},K:{"0":0.17573,_:"10 11 12 11.1 11.5 12.1"},A:{"8":0.00568,"9":0.02842,"11":0.29554,_:"6 7 10 5.5"},S:{_:"2.5 3.0-3.1"},J:{_:"7 10"},N:{_:"10 11"},L:{"0":18.49056},R:{_:"0"},M:{"0":0.42356},Q:{"14.9":0.00901},O:{"0":0.0766},H:{"0":0}}; +module.exports={C:{"4":0.005,"38":0.01999,"43":0.01499,"44":0.07995,"45":0.01999,"47":0.005,"52":0.01999,"57":0.01499,"77":0.005,"78":0.02499,"83":0.00999,"88":0.01999,"91":0.005,"100":0.005,"102":0.005,"103":0.00999,"104":0.005,"107":0.005,"110":0.005,"111":0.005,"113":0.00999,"114":0.005,"115":0.3398,"120":0.00999,"121":0.00999,"122":0.005,"123":0.01999,"124":0.00999,"125":0.01499,"126":0.02499,"127":0.03998,"128":0.04497,"129":0.44473,"130":1.92385,"131":0.00999,_:"2 3 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 39 40 41 42 46 48 49 50 51 53 54 55 56 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 79 80 81 82 84 85 86 87 89 90 92 93 94 95 96 97 98 99 101 105 106 108 109 112 116 117 118 119 132 133 134 135 3.5 3.6"},D:{"25":0.00999,"38":0.00999,"42":0.005,"43":0.005,"44":0.005,"45":0.005,"46":0.005,"47":0.02499,"48":0.22487,"49":0.07496,"51":0.005,"53":0.005,"56":0.00999,"57":0.005,"58":0.005,"59":0.005,"64":0.005,"65":0.005,"66":0.00999,"67":0.005,"70":0.005,"74":0.005,"76":0.005,"79":0.02499,"80":0.01999,"81":0.01999,"83":0.14491,"84":0.005,"85":0.00999,"86":0.00999,"87":0.05497,"88":0.13992,"89":0.005,"90":0.005,"91":0.00999,"92":0.005,"93":0.02499,"94":0.005,"95":0.005,"97":0.005,"98":0.00999,"99":0.04497,"100":0.005,"101":0.005,"102":0.03998,"103":0.26484,"104":0.04497,"105":0.01499,"106":0.01499,"107":0.01999,"108":0.11993,"109":0.84449,"110":0.01999,"111":0.02998,"112":0.01999,"113":0.13492,"114":0.1599,"115":0.26984,"116":0.28983,"117":0.02998,"118":0.02499,"119":0.04497,"120":0.06996,"121":0.04997,"122":0.11493,"123":0.09494,"124":0.28983,"125":0.42974,"126":0.84949,"127":2.00879,"128":16.01539,"129":4.52229,"130":0.01999,"131":0.005,_:"4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 26 27 28 29 30 31 32 33 34 35 36 37 39 40 41 50 52 54 55 60 61 62 63 68 69 71 72 73 75 77 78 96 132 133"},F:{"84":0.00999,"95":0.03998,"102":0.005,"109":0.01999,"111":0.00999,"112":0.41975,"113":0.26984,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 60 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 85 86 87 88 89 90 91 92 93 94 96 97 98 99 100 101 103 104 105 106 107 108 110 114 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"12":0.005,"13":0.005,"17":0.005,"18":0.005,"85":0.005,"92":0.005,"106":0.005,"107":0.005,"108":0.005,"109":0.08495,"110":0.005,"111":0.005,"112":0.005,"113":0.005,"114":0.005,"117":0.005,"118":0.005,"119":0.005,"120":0.00999,"121":0.005,"122":0.09494,"123":0.005,"124":0.00999,"125":0.01999,"126":0.04997,"127":0.27983,"128":5.25185,"129":1.95882,"130":0.005,_:"14 15 16 79 80 81 83 84 86 87 88 89 90 91 93 94 95 96 97 98 99 100 101 102 103 104 105 115 116"},E:{"8":0.00999,"9":0.02998,"13":0.005,"14":0.04997,"15":0.005,_:"0 4 5 6 7 10 11 12 3.1 3.2 5.1 6.1 7.1 9.1 10.1","11.1":0.005,"12.1":0.01499,"13.1":0.14491,"14.1":0.1599,"15.1":0.01499,"15.2-15.3":0.01499,"15.4":0.04997,"15.5":0.06496,"15.6":0.71957,"16.0":0.06996,"16.1":0.07995,"16.2":0.06996,"16.3":0.1749,"16.4":0.04997,"16.5":0.09494,"16.6":0.80452,"17.0":0.03998,"17.1":0.09494,"17.2":0.08495,"17.3":0.09994,"17.4":0.30482,"17.5":0.67959,"17.6":4.64721,"18.0":0.30981,"18.1":0.01999},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.00518,"5.0-5.1":0.00259,"6.0-6.1":0.01553,"7.0-7.1":0.01812,"8.1-8.4":0,"9.0-9.2":0.01553,"9.3":0.04401,"10.0-10.2":0.01295,"10.3":0.07508,"11.0-11.2":0.27703,"11.3-11.4":0.02071,"12.0-12.1":0.01295,"12.2-12.5":0.31328,"13.0-13.1":0.00518,"13.2":0.09838,"13.3":0.01295,"13.4-13.7":0.05178,"14.0-14.4":0.1191,"14.5-14.8":0.15793,"15.0-15.1":0.09062,"15.2-15.3":0.08803,"15.4":0.10097,"15.5":0.12427,"15.6-15.8":1.2298,"16.0":0.24855,"16.1":0.49192,"16.2":0.24596,"16.3":0.41425,"16.4":0.08803,"16.5":0.17347,"16.6-16.7":1.48094,"17.0":0.12427,"17.1":0.19677,"17.2":0.17864,"17.3":0.25632,"17.4":0.54888,"17.5":2.63824,"17.6-17.7":14.04043,"18.0":1.77091,"18.1":0.08026},P:{"4":0.08712,"20":0.01089,"21":0.05445,"22":0.02178,"23":0.02178,"24":0.03267,"25":0.1089,"26":2.12358,"5.0-5.4":0.01089,"6.2-6.4":0.01089,_:"7.2-7.4 8.2 9.2 10.1 11.1-11.2 12.0 13.0 14.0 15.0 18.0","16.0":0.02178,"17.0":0.01089,"19.0":0.01089},I:{"0":0.03992,"3":0,"4":0,"2.1":0,"2.2":0,"2.3":0,"4.1":0,"4.2-4.3":0.00002,"4.4":0,"4.4.3-4.4.4":0.00006},K:{"0":0.19512,_:"10 11 12 11.1 11.5 12.1"},A:{"8":0.01105,"9":0.01657,"11":0.18226,_:"6 7 10 5.5"},N:{_:"10 11"},S:{_:"2.5 3.0-3.1"},J:{_:"7 10"},O:{"0":0.08005},H:{"0":0},L:{"0":21.11684},R:{_:"0"},M:{"0":0.5003},Q:{"14.9":0.01501}}; diff --git a/node_modules/caniuse-lite/data/regions/CD.js b/node_modules/caniuse-lite/data/regions/CD.js index 05c6a521e5..11f3b18ba2 100644 --- a/node_modules/caniuse-lite/data/regions/CD.js +++ b/node_modules/caniuse-lite/data/regions/CD.js @@ -1 +1 @@ -module.exports={C:{"47":0.00113,"52":0.00113,"57":0.08716,"68":0.00113,"72":0.00113,"96":0.00113,"115":0.57053,"120":0.00113,"122":0.00226,"123":0.00226,"124":0.01019,"125":0.21848,"126":0.15961,"127":0.00226,_:"2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 48 49 50 51 53 54 55 56 58 59 60 61 62 63 64 65 66 67 69 70 71 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 116 117 118 119 121 128 129 3.5 3.6"},D:{"11":0.00566,"30":0.00113,"38":0.00113,"40":0.00113,"43":0.00226,"46":0.00113,"49":0.00113,"58":0.00113,"59":0.00113,"64":0.00113,"65":0.00113,"68":0.00113,"69":0.00226,"70":0.00113,"71":0.00113,"72":0.00113,"74":0.00113,"77":0.00113,"78":0.00226,"79":0.00226,"80":0.00453,"83":0.00113,"84":0.00453,"86":0.00113,"87":0.00792,"88":0.00792,"89":0.00113,"90":0.00113,"91":0.00113,"92":0.00113,"93":0.00113,"94":0.00113,"95":0.00113,"97":0.01132,"98":0.00113,"99":0.00792,"100":0.00113,"102":0.00113,"103":0.00566,"104":0.0034,"105":0.00226,"106":0.00226,"108":0.00113,"109":0.2581,"110":0.00113,"111":0.00113,"112":0.00113,"113":0.00113,"114":0.00226,"115":0.00113,"116":0.01132,"117":0.00113,"118":0.00453,"119":0.00906,"120":0.01245,"121":0.00906,"122":0.01698,"123":0.0883,"124":0.92711,"125":0.31809,"126":0.00113,_:"4 5 6 7 8 9 10 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 31 32 33 34 35 36 37 39 41 42 44 45 47 48 50 51 52 53 54 55 56 57 60 61 62 63 66 67 73 75 76 81 85 96 101 107 127 128"},F:{"42":0.00113,"46":0.00113,"75":0.01472,"79":0.00566,"82":0.00113,"86":0.00113,"95":0.01358,"101":0.00113,"102":0.00113,"106":0.00113,"107":0.00226,"108":0.01019,"109":0.17772,"110":0.04188,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 43 44 45 47 48 49 50 51 52 53 54 55 56 57 58 60 62 63 64 65 66 67 68 69 70 71 72 73 74 76 77 78 80 81 83 84 85 87 88 89 90 91 92 93 94 96 97 98 99 100 103 104 105 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"12":0.00566,"13":0.00226,"14":0.00226,"15":0.00113,"16":0.00113,"17":0.00453,"18":0.01245,"84":0.00453,"85":0.00113,"86":0.00226,"89":0.00226,"90":0.0034,"92":0.01019,"100":0.00226,"108":0.00113,"109":0.00906,"111":0.00113,"112":0.00113,"116":0.00226,"117":0.00113,"118":0.00226,"119":0.0034,"120":0.00566,"121":0.00566,"122":0.01019,"123":0.03396,"124":0.26715,"125":0.15735,_:"79 80 81 83 87 88 91 93 94 95 96 97 98 99 101 102 103 104 105 106 107 110 113 114 115"},E:{"13":0.00113,"14":0.00113,_:"0 4 5 6 7 8 9 10 11 12 15 3.1 3.2 5.1 6.1 7.1 9.1 10.1 16.0 16.4 17.0 17.6","11.1":0.00113,"12.1":0.00113,"13.1":0.00566,"14.1":0.0034,"15.1":0.00113,"15.2-15.3":0.00113,"15.4":0.00113,"15.5":0.00679,"15.6":0.01132,"16.1":0.00113,"16.2":0.00113,"16.3":0.0034,"16.5":0.00113,"16.6":0.00566,"17.1":0.00566,"17.2":0.0034,"17.3":0.00113,"17.4":0.02264,"17.5":0.00453},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.0012,"5.0-5.1":0.0012,"6.0-6.1":0.00299,"7.0-7.1":0.00418,"8.1-8.4":0.0012,"9.0-9.2":0.00299,"9.3":0.01375,"10.0-10.2":0.00239,"10.3":0.02152,"11.0-11.2":0.03168,"11.3-11.4":0.00598,"12.0-12.1":0.00359,"12.2-12.5":0.08667,"13.0-13.1":0.00179,"13.2":0.00837,"13.3":0.00418,"13.4-13.7":0.01913,"14.0-14.4":0.03287,"14.5-14.8":0.0508,"15.0-15.1":0.02451,"15.2-15.3":0.0269,"15.4":0.03048,"15.5":0.03825,"15.6-15.8":0.34428,"16.0":0.0783,"16.1":0.16138,"16.2":0.0783,"16.3":0.13568,"16.4":0.02869,"16.5":0.05798,"16.6-16.7":0.46202,"17.0":0.05021,"17.1":0.08189,"17.2":0.08547,"17.3":0.15779,"17.4":3.58323,"17.5":0.25283,"17.6":0},P:{"4":0.04107,"20":0.02054,"21":0.01027,"22":0.06161,"23":0.07188,"24":0.16429,"25":0.10268,_:"5.0-5.4 6.2-6.4 8.2 10.1 12.0 14.0 17.0","7.2-7.4":0.05134,"9.2":0.0308,"11.1-11.2":0.01027,"13.0":0.01027,"15.0":0.04107,"16.0":0.0308,"18.0":0.11295,"19.0":0.02054},I:{"0":0.0265,"3":0,"4":0,"2.1":0,"2.2":0,"2.3":0,"4.1":0.00001,"4.2-4.3":0.00002,"4.4":0,"4.4.3-4.4.4":0.00006},K:{"0":8.17335,_:"10 11 12 11.1 11.5 12.1"},A:{"11":0.01358,_:"6 7 8 9 10 5.5"},S:{"2.5":0.01774,_:"3.0-3.1"},J:{_:"7 10"},N:{_:"10 11"},L:{"0":72.03666},R:{_:"0"},M:{"0":0.0266},Q:{"14.9":0.01774},O:{"0":0.13302},H:{"0":8.8}}; +module.exports={C:{"47":0.00121,"57":0.0376,"72":0.00121,"109":0.00364,"115":0.51916,"123":0.00121,"124":0.00243,"125":0.00121,"127":0.01334,"128":0.00364,"129":0.09219,"130":0.25109,"131":0.00607,_:"2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 48 49 50 51 52 53 54 55 56 58 59 60 61 62 63 64 65 66 67 68 69 70 71 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 110 111 112 113 114 116 117 118 119 120 121 122 126 132 133 134 135 3.5 3.6"},D:{"11":0.00121,"49":0.00121,"50":0.00121,"58":0.00121,"64":0.00121,"66":0.00121,"68":0.00121,"69":0.00121,"70":0.00243,"74":0.00121,"79":0.00243,"80":0.00121,"83":0.00121,"86":0.00243,"87":0.0182,"88":0.0097,"90":0.00121,"91":0.00121,"93":0.00121,"94":0.00121,"95":0.00728,"97":0.00121,"98":0.00121,"99":0.00607,"100":0.00121,"102":0.00485,"103":0.00485,"104":0.00121,"105":0.00364,"106":0.00485,"107":0.00121,"108":0.00121,"109":0.17952,"111":0.00121,"112":0.00121,"113":0.00243,"114":0.00607,"115":0.00121,"116":0.00849,"117":0.00243,"118":0.00607,"119":0.01092,"120":0.00607,"121":0.00485,"122":0.00243,"123":0.00243,"124":0.01577,"125":0.00607,"126":0.0279,"127":0.07642,"128":0.89034,"129":0.2802,"130":0.00121,_:"4 5 6 7 8 9 10 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 51 52 53 54 55 56 57 59 60 61 62 63 65 67 71 72 73 75 76 77 78 81 84 85 89 92 96 101 110 131 132 133"},F:{"37":0.00121,"42":0.00121,"46":0.00121,"75":0.00728,"79":0.00485,"83":0.02911,"84":0.01941,"90":0.00121,"95":0.01456,"102":0.00121,"108":0.00121,"109":0.00121,"110":0.00243,"111":0.00243,"112":0.14799,"113":0.10674,"114":0.00849,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 38 39 40 41 43 44 45 47 48 49 50 51 52 53 54 55 56 57 58 60 62 63 64 65 66 67 68 69 70 71 72 73 74 76 77 78 80 81 82 85 86 87 88 89 91 92 93 94 96 97 98 99 100 101 103 104 105 106 107 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"12":0.00243,"13":0.00121,"14":0.00121,"15":0.00485,"16":0.00121,"17":0.00243,"18":0.01213,"84":0.00121,"89":0.00121,"90":0.00243,"92":0.02183,"100":0.00364,"109":0.00364,"117":0.00121,"119":0.00364,"120":0.00243,"121":0.00121,"122":0.00121,"123":0.00364,"124":0.00364,"125":0.00364,"126":0.01577,"127":0.02062,"128":0.37239,"129":0.17589,_:"79 80 81 83 85 86 87 88 91 93 94 95 96 97 98 99 101 102 103 104 105 106 107 108 110 111 112 113 114 115 116 118 130"},E:{"11":0.00121,"13":0.00243,"14":0.00121,_:"0 4 5 6 7 8 9 10 12 15 3.1 3.2 5.1 6.1 7.1 9.1 10.1 12.1 15.1 15.2-15.3 16.0 16.1 16.2 17.0","11.1":0.00243,"13.1":0.00364,"14.1":0.00243,"15.4":0.00121,"15.5":0.00364,"15.6":0.01334,"16.3":0.00121,"16.4":0.00121,"16.5":0.00243,"16.6":0.00607,"17.1":0.00243,"17.2":0.00121,"17.3":0.00121,"17.4":0.00607,"17.5":0.00849,"17.6":0.03518,"18.0":0.00849,"18.1":0.00121},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.00123,"5.0-5.1":0.00061,"6.0-6.1":0.00368,"7.0-7.1":0.00429,"8.1-8.4":0,"9.0-9.2":0.00368,"9.3":0.01043,"10.0-10.2":0.00307,"10.3":0.01779,"11.0-11.2":0.06563,"11.3-11.4":0.00491,"12.0-12.1":0.00307,"12.2-12.5":0.07421,"13.0-13.1":0.00123,"13.2":0.02331,"13.3":0.00307,"13.4-13.7":0.01227,"14.0-14.4":0.02821,"14.5-14.8":0.03741,"15.0-15.1":0.02147,"15.2-15.3":0.02085,"15.4":0.02392,"15.5":0.02944,"15.6-15.8":0.29133,"16.0":0.05888,"16.1":0.11653,"16.2":0.05827,"16.3":0.09813,"16.4":0.02085,"16.5":0.04109,"16.6-16.7":0.35083,"17.0":0.02944,"17.1":0.04661,"17.2":0.04232,"17.3":0.06072,"17.4":0.13003,"17.5":0.62499,"17.6-17.7":3.3261,"18.0":0.41952,"18.1":0.01901},P:{"4":0.03122,"21":0.02081,"22":0.04162,"23":0.01041,"24":0.03122,"25":0.06243,"26":0.20811,_:"20 6.2-6.4 8.2 10.1 12.0 14.0 17.0","5.0-5.4":0.02081,"7.2-7.4":0.03122,"9.2":0.06243,"11.1-11.2":0.05203,"13.0":0.01041,"15.0":0.03122,"16.0":0.01041,"18.0":0.12487,"19.0":0.04162},I:{"0":0.01753,"3":0,"4":0,"2.1":0,"2.2":0,"2.3":0,"4.1":0,"4.2-4.3":0.00001,"4.4":0,"4.4.3-4.4.4":0.00003},K:{"0":7.89333,_:"10 11 12 11.1 11.5 12.1"},A:{"11":0.0097,_:"6 7 8 9 10 5.5"},N:{_:"10 11"},S:{"2.5":0.00879,_:"3.0-3.1"},J:{_:"7 10"},O:{"0":0.15817},H:{"0":1.21},L:{"0":79.71008},R:{_:"0"},M:{"0":0.03515},Q:{"14.9":0.00879}}; diff --git a/node_modules/caniuse-lite/data/regions/CF.js b/node_modules/caniuse-lite/data/regions/CF.js index 7907114235..a29fe476b8 100644 --- a/node_modules/caniuse-lite/data/regions/CF.js +++ b/node_modules/caniuse-lite/data/regions/CF.js @@ -1 +1 @@ -module.exports={C:{"51":0.00534,"57":0.00213,"72":0.01601,"77":0.00107,"79":0.00107,"95":0.0096,"102":0.0032,"103":0.00107,"108":0.00213,"110":0.00107,"112":0.00213,"114":0.00427,"115":0.06509,"122":0.00427,"123":0.15045,"124":0.03308,"125":0.54204,"126":0.59325,_:"2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 52 53 54 55 56 58 59 60 61 62 63 64 65 66 67 68 69 70 71 73 74 75 76 78 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 96 97 98 99 100 101 104 105 106 107 109 111 113 116 117 118 119 120 121 127 128 129 3.5 3.6"},D:{"11":0.01494,"50":0.00107,"55":0.00107,"60":0.08963,"66":0.00213,"70":0.00107,"78":0.0032,"84":0.02774,"86":0.00107,"88":0.07256,"90":0.00107,"96":0.0032,"98":0.00107,"99":0.0032,"102":0.00107,"103":0.00427,"104":0.0032,"105":0.00427,"106":0.02134,"108":0.02347,"109":0.01921,"112":0.01067,"116":0.0064,"119":0.00213,"120":0.0032,"121":0.0032,"122":0.0128,"123":0.06936,"124":1.26866,"125":0.25928,_:"4 5 6 7 8 9 10 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 51 52 53 54 56 57 58 59 61 62 63 64 65 67 68 69 71 72 73 74 75 76 77 79 80 81 83 85 87 89 91 92 93 94 95 97 100 101 107 110 111 113 114 115 117 118 126 127 128"},F:{"38":0.00107,"79":0.0096,"85":0.00427,"99":0.00427,"107":0.0064,"108":0.00747,"109":0.14938,"110":0.0096,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 60 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 80 81 82 83 84 86 87 88 89 90 91 92 93 94 95 96 97 98 100 101 102 103 104 105 106 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"12":0.0064,"13":0.02454,"14":0.00107,"16":0.00427,"18":0.00747,"89":0.00427,"90":0.02134,"92":0.00854,"108":0.00107,"109":0.00213,"116":0.00213,"117":0.00213,"119":0.0064,"120":0.01601,"121":0.0032,"122":0.00427,"123":0.0096,"124":0.24541,"125":0.17392,_:"15 17 79 80 81 83 84 85 86 87 88 91 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 110 111 112 113 114 115 118"},E:{"14":0.0064,_:"0 4 5 6 7 8 9 10 11 12 13 15 3.1 3.2 5.1 6.1 7.1 9.1 10.1 11.1 12.1 14.1 15.1 15.2-15.3 15.4 15.5 15.6 16.0 16.2 16.3 16.4 16.5 17.0 17.1 17.3 17.5 17.6","13.1":0.00213,"16.1":0.00213,"16.6":0.00427,"17.2":0.0032,"17.4":0.02668},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.0006,"5.0-5.1":0.0006,"6.0-6.1":0.00149,"7.0-7.1":0.00209,"8.1-8.4":0.0006,"9.0-9.2":0.00149,"9.3":0.00686,"10.0-10.2":0.00119,"10.3":0.01074,"11.0-11.2":0.01581,"11.3-11.4":0.00298,"12.0-12.1":0.00179,"12.2-12.5":0.04326,"13.0-13.1":0.0009,"13.2":0.00418,"13.3":0.00209,"13.4-13.7":0.00955,"14.0-14.4":0.01641,"14.5-14.8":0.02536,"15.0-15.1":0.01223,"15.2-15.3":0.01343,"15.4":0.01522,"15.5":0.0191,"15.6-15.8":0.17186,"16.0":0.03909,"16.1":0.08056,"16.2":0.03909,"16.3":0.06773,"16.4":0.01432,"16.5":0.02894,"16.6-16.7":0.23063,"17.0":0.02506,"17.1":0.04088,"17.2":0.04267,"17.3":0.07877,"17.4":1.78868,"17.5":0.12621,"17.6":0},P:{"4":0.04076,"20":0.01019,"21":0.02038,"22":0.08152,"23":0.15285,"24":0.09171,"25":0.17323,_:"5.0-5.4 6.2-6.4 8.2 10.1 12.0 14.0 15.0 17.0 18.0","7.2-7.4":0.03057,"9.2":0.11209,"11.1-11.2":0.08152,"13.0":0.02038,"16.0":0.04076,"19.0":0.5197},I:{"0":0,"3":0,"4":0,"2.1":0,"2.2":0,"2.3":0,"4.1":0,"4.2-4.3":0,"4.4":0,"4.4.3-4.4.4":0},K:{"0":2.32049,_:"10 11 12 11.1 11.5 12.1"},A:{"11":0.02241,_:"6 7 8 9 10 5.5"},S:{"2.5":0.32159,_:"3.0-3.1"},J:{_:"7 10"},N:{_:"10 11"},L:{"0":71.6569},R:{_:"0"},M:{"0":0.06253},Q:{"14.9":0.01787},O:{"0":0.16079},H:{"0":16.68}}; +module.exports={C:{"47":0.00112,"48":0.00112,"57":0.00112,"59":0.00112,"66":0.00112,"72":0.00337,"79":0.00112,"82":0.00225,"92":0.00225,"101":0.00337,"115":0.01349,"126":0.00225,"127":0.01124,"128":0.0045,"129":0.06969,"130":0.87672,"131":0.00674,_:"2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 49 50 51 52 53 54 55 56 58 60 61 62 63 64 65 67 68 69 70 71 73 74 75 76 77 78 80 81 83 84 85 86 87 88 89 90 91 93 94 95 96 97 98 99 100 102 103 104 105 106 107 108 109 110 111 112 113 114 116 117 118 119 120 121 122 123 124 125 132 133 134 135 3.5 3.6"},D:{"38":0.00337,"52":0.00899,"55":0.01236,"56":0.00112,"58":0.0045,"59":0.00674,"60":0.01686,"69":0.02023,"70":0.00112,"77":0.00112,"83":0.01124,"86":0.00112,"87":0.00899,"100":0.00225,"103":0.00225,"109":0.04608,"111":0.00112,"113":0.00112,"115":0.01124,"116":0.0045,"117":0.04833,"118":0.0045,"119":0.0045,"120":0.00899,"122":0.00674,"123":0.00337,"124":0.00337,"125":0.00337,"126":0.0281,"127":0.06294,"128":0.75196,"129":0.3372,_:"4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 39 40 41 42 43 44 45 46 47 48 49 50 51 53 54 57 61 62 63 64 65 66 67 68 71 72 73 74 75 76 78 79 80 81 84 85 88 89 90 91 92 93 94 95 96 97 98 99 101 102 104 105 106 107 108 110 112 114 121 130 131 132 133"},F:{"95":0.00112,"98":0.00112,"108":0.02922,"112":0.01686,"113":0.01686,"114":0.00337,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 60 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 96 97 99 100 101 102 103 104 105 106 107 109 110 111 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"12":0.00112,"13":0.00112,"15":0.00225,"17":0.00337,"18":0.00562,"84":0.00112,"89":0.00112,"90":0.01574,"91":0.00112,"92":0.01911,"100":0.00674,"114":0.00225,"116":0.00112,"117":0.00225,"119":0.07643,"121":0.00112,"122":0.0045,"124":0.00112,"125":0.00899,"126":0.02023,"127":0.00225,"128":0.17422,"129":0.08542,_:"14 16 79 80 81 83 85 86 87 88 93 94 95 96 97 98 99 101 102 103 104 105 106 107 108 109 110 111 112 113 115 118 120 123 130"},E:{"14":0.01574,_:"0 4 5 6 7 8 9 10 11 12 13 15 3.1 3.2 5.1 6.1 7.1 9.1 10.1 11.1 13.1 14.1 15.1 15.2-15.3 15.4 15.5 16.0 16.1 16.2 16.3 16.4 16.5 17.0 17.1 17.3 17.5 18.1","12.1":0.00225,"15.6":0.00225,"16.6":0.00112,"17.2":0.00112,"17.4":0.00112,"17.6":0.00337,"18.0":0.00112},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.00074,"5.0-5.1":0.00037,"6.0-6.1":0.00221,"7.0-7.1":0.00258,"8.1-8.4":0,"9.0-9.2":0.00221,"9.3":0.00626,"10.0-10.2":0.00184,"10.3":0.01068,"11.0-11.2":0.03941,"11.3-11.4":0.00295,"12.0-12.1":0.00184,"12.2-12.5":0.04457,"13.0-13.1":0.00074,"13.2":0.014,"13.3":0.00184,"13.4-13.7":0.00737,"14.0-14.4":0.01694,"14.5-14.8":0.02247,"15.0-15.1":0.01289,"15.2-15.3":0.01252,"15.4":0.01436,"15.5":0.01768,"15.6-15.8":0.17495,"16.0":0.03536,"16.1":0.06998,"16.2":0.03499,"16.3":0.05893,"16.4":0.01252,"16.5":0.02468,"16.6-16.7":0.21067,"17.0":0.01768,"17.1":0.02799,"17.2":0.02541,"17.3":0.03646,"17.4":0.07808,"17.5":0.37531,"17.6-17.7":1.99736,"18.0":0.25193,"18.1":0.01142},P:{"4":0.10354,"21":0.03106,"22":0.02071,"23":0.01035,"24":0.04142,"25":0.02071,"26":0.06213,_:"20 6.2-6.4 8.2 10.1 11.1-11.2 12.0 13.0 14.0 15.0 18.0 19.0","5.0-5.4":0.01035,"7.2-7.4":0.04142,"9.2":0.02071,"16.0":0.01035,"17.0":0.06213},I:{"0":0,"3":0,"4":0,"2.1":0,"2.2":0,"2.3":0,"4.1":0,"4.2-4.3":0,"4.4":0,"4.4.3-4.4.4":0},K:{"0":1.00113,_:"10 11 12 11.1 11.5 12.1"},A:{_:"6 7 8 9 10 11 5.5"},N:{_:"10 11"},S:{"2.5":0.15975,_:"3.0-3.1"},J:{_:"7 10"},O:{"0":0.02663},H:{"0":3.25},L:{"0":88.25728},R:{_:"0"},M:{"0":0.08875},Q:{_:"14.9"}}; diff --git a/node_modules/caniuse-lite/data/regions/CG.js b/node_modules/caniuse-lite/data/regions/CG.js index bb5caff83a..8ba80de04b 100644 --- a/node_modules/caniuse-lite/data/regions/CG.js +++ b/node_modules/caniuse-lite/data/regions/CG.js @@ -1 +1 @@ -module.exports={C:{"115":0.11555,"122":0.00462,"124":0.00462,"125":0.48531,"126":0.33278,_:"2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 116 117 118 119 120 121 123 127 128 129 3.5 3.6"},D:{"11":0.00462,"43":0.00462,"47":0.00462,"67":0.00462,"69":0.03235,"72":0.00462,"73":0.00924,"79":0.01387,"81":0.02773,"83":0.0416,"84":0.00924,"86":0.03235,"87":0.04622,"89":0.00462,"93":0.01849,"94":0.00462,"95":0.01849,"98":0.03235,"99":0.00924,"102":0.00924,"103":0.02773,"104":0.00462,"105":0.00462,"107":0.00462,"109":0.6517,"110":0.00462,"114":0.00924,"115":0.01849,"116":0.01387,"117":0.00462,"118":0.00462,"119":0.06009,"120":0.04622,"121":0.05084,"122":0.07395,"123":0.13404,"124":11.11591,"125":3.8871,_:"4 5 6 7 8 9 10 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 44 45 46 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 68 70 71 74 75 76 77 78 80 85 88 90 91 92 96 97 100 101 106 108 111 112 113 126 127 128"},F:{"56":0.00462,"79":0.01849,"82":0.00462,"85":0.00462,"95":0.11093,"102":0.00462,"105":0.01849,"108":0.05084,"109":0.55464,"110":0.06933,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 57 58 60 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 80 81 83 84 86 87 88 89 90 91 92 93 94 96 97 98 99 100 101 103 104 106 107 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"12":0.00462,"17":0.01387,"18":0.00462,"81":0.00462,"92":0.02311,"107":0.00462,"109":0.02311,"111":0.00924,"112":0.00462,"114":0.00924,"115":0.01849,"116":0.00462,"119":0.00462,"120":0.00462,"121":0.01849,"122":2.97657,"123":0.03698,"124":11.49491,"125":5.04722,_:"13 14 15 16 79 80 83 84 85 86 87 88 89 90 91 93 94 95 96 97 98 99 100 101 102 103 104 105 106 108 110 113 117 118"},E:{_:"0 4 5 6 7 8 9 10 11 12 13 14 15 3.1 3.2 5.1 6.1 7.1 9.1 10.1 11.1 12.1 14.1 15.1 15.2-15.3 15.4 15.5 16.0 16.1 16.2 16.3 16.4 16.5 17.0 17.1 17.2 17.6","13.1":0.03235,"15.6":0.01387,"16.6":0.01387,"17.3":0.01849,"17.4":0.01849,"17.5":0.00462},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.00153,"5.0-5.1":0.00153,"6.0-6.1":0.00383,"7.0-7.1":0.00536,"8.1-8.4":0.00153,"9.0-9.2":0.00383,"9.3":0.0176,"10.0-10.2":0.00306,"10.3":0.02755,"11.0-11.2":0.04056,"11.3-11.4":0.00765,"12.0-12.1":0.00459,"12.2-12.5":0.11097,"13.0-13.1":0.0023,"13.2":0.01071,"13.3":0.00536,"13.4-13.7":0.02449,"14.0-14.4":0.04209,"14.5-14.8":0.06505,"15.0-15.1":0.03138,"15.2-15.3":0.03444,"15.4":0.03903,"15.5":0.04898,"15.6-15.8":0.44081,"16.0":0.10025,"16.1":0.20663,"16.2":0.10025,"16.3":0.17372,"16.4":0.03673,"16.5":0.07423,"16.6-16.7":0.59157,"17.0":0.06428,"17.1":0.10484,"17.2":0.10944,"17.3":0.20204,"17.4":4.58791,"17.5":0.32372,"17.6":0},P:{"4":0.14162,"20":0.02179,"21":0.03268,"22":0.05447,"23":0.01089,"24":0.02179,"25":0.10894,"5.0-5.4":0.01089,_:"6.2-6.4 8.2 9.2 10.1 11.1-11.2 12.0 14.0 15.0 16.0 17.0 18.0 19.0","7.2-7.4":0.01089,"13.0":0.01089},I:{"0":0.04286,"3":0,"4":0,"2.1":0,"2.2":0,"2.3":0,"4.1":0.00001,"4.2-4.3":0.00003,"4.4":0,"4.4.3-4.4.4":0.00009},K:{"0":0.21108,_:"10 11 12 11.1 11.5 12.1"},A:{_:"6 7 8 9 10 11 5.5"},S:{"2.5":0.05378,_:"3.0-3.1"},J:{_:"7 10"},N:{_:"10 11"},L:{"0":52.38355},R:{_:"0"},M:{"0":0.03227},Q:{"14.9":0.00538},O:{"0":0.0968},H:{"0":0.16}}; +module.exports={C:{"46":0.00297,"115":0.1427,"127":0.00595,"128":0.00297,"129":0.11297,"130":0.93947,"131":0.00297,_:"2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 116 117 118 119 120 121 122 123 124 125 126 132 133 134 135 3.5 3.6"},D:{"11":0.01189,"38":0.00297,"43":0.00595,"63":0.00297,"64":0.00595,"66":0.00297,"69":0.00297,"73":0.03865,"74":0.00297,"75":0.00297,"76":0.00297,"77":0.00297,"79":0.02378,"81":0.00595,"83":0.05054,"84":0.00595,"86":0.01784,"87":0.04162,"88":0.01487,"89":0.00595,"91":0.00297,"93":0.03865,"94":0.00297,"95":0.01189,"98":0.08622,"99":0.00297,"102":0.00892,"103":0.02081,"104":0.00595,"105":0.01487,"107":0.00595,"108":0.00595,"109":0.51433,"110":0.00297,"114":0.02081,"115":0.00297,"116":0.01784,"118":0.04162,"119":0.04162,"120":0.09514,"121":0.03865,"122":0.03568,"123":0.04757,"124":0.01189,"125":0.01487,"126":0.05054,"127":0.19027,"128":4.71518,"129":1.82542,"130":0.00297,_:"4 5 6 7 8 9 10 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 39 40 41 42 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 65 67 68 70 71 72 78 80 85 90 92 96 97 100 101 106 111 112 113 117 131 132 133"},F:{"37":0.00297,"46":0.00297,"79":0.00892,"81":0.00297,"84":0.00297,"85":0.00297,"95":0.04162,"109":0.00297,"110":0.00297,"112":0.68676,"113":0.26757,"114":0.00595,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 38 39 40 41 42 43 44 45 47 48 49 50 51 52 53 54 55 56 57 58 60 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 80 82 83 86 87 88 89 90 91 92 93 94 96 97 98 99 100 101 102 103 104 105 106 107 108 111 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"12":0.00297,"14":0.00297,"15":0.00297,"17":0.00297,"18":0.00595,"92":0.01189,"109":0.05649,"111":0.00892,"115":0.02081,"120":0.00892,"122":0.00297,"123":0.00892,"125":0.31217,"126":0.01784,"127":0.06243,"128":5.07491,"129":2.3011,"130":0.00297,_:"13 16 79 80 81 83 84 85 86 87 88 89 90 91 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 110 112 113 114 116 117 118 119 121 124"},E:{_:"0 4 5 6 7 8 9 10 11 12 13 14 15 3.1 3.2 5.1 6.1 7.1 9.1 10.1 11.1 14.1 15.2-15.3 15.4 16.0 16.1 16.2 16.3 16.4 16.5 17.0 17.1 17.2 18.1","12.1":0.00595,"13.1":0.00297,"15.1":0.00297,"15.5":0.00297,"15.6":0.01487,"16.6":0.01487,"17.3":0.00892,"17.4":0.00297,"17.5":0.00297,"17.6":0.04757,"18.0":0.00297},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.00224,"5.0-5.1":0.00112,"6.0-6.1":0.00671,"7.0-7.1":0.00783,"8.1-8.4":0,"9.0-9.2":0.00671,"9.3":0.01902,"10.0-10.2":0.00559,"10.3":0.03244,"11.0-11.2":0.1197,"11.3-11.4":0.00895,"12.0-12.1":0.00559,"12.2-12.5":0.13536,"13.0-13.1":0.00224,"13.2":0.04251,"13.3":0.00559,"13.4-13.7":0.02237,"14.0-14.4":0.05146,"14.5-14.8":0.06824,"15.0-15.1":0.03915,"15.2-15.3":0.03804,"15.4":0.04363,"15.5":0.0537,"15.6-15.8":0.53138,"16.0":0.1074,"16.1":0.21255,"16.2":0.10628,"16.3":0.17899,"16.4":0.03804,"16.5":0.07495,"16.6-16.7":0.6399,"17.0":0.0537,"17.1":0.08502,"17.2":0.07719,"17.3":0.11075,"17.4":0.23716,"17.5":1.13995,"17.6-17.7":6.0667,"18.0":0.76519,"18.1":0.03468},P:{"4":0.0543,"20":0.01086,"22":0.03258,"23":0.01086,"24":0.01086,"25":0.0543,"26":0.07602,_:"21 5.0-5.4 8.2 9.2 11.1-11.2 12.0 14.0 15.0 17.0 18.0 19.0","6.2-6.4":0.01086,"7.2-7.4":0.04344,"10.1":0.03258,"13.0":0.01086,"16.0":0.01086},I:{"0":0.02102,"3":0,"4":0,"2.1":0,"2.2":0,"2.3":0,"4.1":0,"4.2-4.3":0.00001,"4.4":0,"4.4.3-4.4.4":0.00003},K:{"0":0.24324,_:"10 11 12 11.1 11.5 12.1"},A:{_:"6 7 8 9 10 11 5.5"},N:{_:"10 11"},S:{"2.5":0.07027,_:"3.0-3.1"},J:{_:"7 10"},O:{"0":0.05622},H:{"0":0.08},L:{"0":69.02826},R:{_:"0"},M:{"0":0.11243},Q:{"14.9":0.00703}}; diff --git a/node_modules/caniuse-lite/data/regions/CH.js b/node_modules/caniuse-lite/data/regions/CH.js index c56e6d2cc6..ff30ca935b 100644 --- a/node_modules/caniuse-lite/data/regions/CH.js +++ b/node_modules/caniuse-lite/data/regions/CH.js @@ -1 +1 @@ -module.exports={C:{"48":0.01403,"52":0.03507,"78":0.0561,"84":0.00701,"99":0.00701,"102":0.01403,"103":0.00701,"108":0.00701,"113":0.08416,"114":0.00701,"115":0.71533,"116":0.00701,"118":0.04208,"119":0.00701,"120":0.00701,"121":0.01403,"122":0.02104,"123":0.03507,"124":0.12623,"125":2.05481,"126":1.83741,_:"2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 49 50 51 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 79 80 81 82 83 85 86 87 88 89 90 91 92 93 94 95 96 97 98 100 101 104 105 106 107 109 110 111 112 117 127 128 129 3.5 3.6"},D:{"49":0.01403,"52":0.18234,"65":0.00701,"66":0.04208,"69":0.00701,"74":0.00701,"79":0.01403,"80":0.01403,"81":0.00701,"84":0.00701,"85":0.00701,"86":0.02104,"87":0.06312,"89":0.00701,"90":0.00701,"91":0.00701,"94":0.00701,"95":0.00701,"97":0.00701,"98":0.00701,"99":0.00701,"100":0.02805,"101":0.04208,"102":0.03507,"103":0.17533,"104":0.03507,"105":0.01403,"106":0.01403,"107":0.01403,"108":0.02104,"109":1.57793,"110":0.01403,"111":0.01403,"112":0.01403,"113":0.2174,"114":0.2174,"115":0.01403,"116":0.49792,"117":0.01403,"118":0.0561,"119":0.07013,"120":0.43481,"121":0.15429,"122":0.71533,"123":2.50364,"124":25.49226,"125":7.0691,"126":0.00701,_:"4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 50 51 53 54 55 56 57 58 59 60 61 62 63 64 67 68 70 71 72 73 75 76 77 78 83 88 92 93 96 127 128"},F:{"46":0.00701,"85":0.00701,"95":0.02104,"102":0.00701,"106":0.01403,"107":0.18234,"108":0.01403,"109":0.85559,"110":0.04909,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 47 48 49 50 51 52 53 54 55 56 57 58 60 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 86 87 88 89 90 91 92 93 94 96 97 98 99 100 101 103 104 105 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"85":0.00701,"91":0.14727,"92":0.01403,"96":0.1052,"103":0.01403,"105":0.01403,"107":0.02104,"108":0.06312,"109":0.17533,"110":0.00701,"111":0.01403,"112":0.00701,"113":0.03507,"114":0.01403,"115":0.02104,"116":0.02104,"117":0.02104,"118":0.02805,"119":0.04909,"120":0.07714,"121":0.08416,"122":0.14026,"123":0.77844,"124":10.52651,"125":4.86702,_:"12 13 14 15 16 17 18 79 80 81 83 84 86 87 88 89 90 93 94 95 97 98 99 100 101 102 104 106"},E:{"13":0.00701,"14":0.02805,"15":0.00701,_:"0 4 5 6 7 8 9 10 11 12 3.1 3.2 5.1 6.1 7.1 9.1 10.1 17.6","11.1":0.00701,"12.1":0.02805,"13.1":0.11922,"14.1":0.11922,"15.1":0.01403,"15.2-15.3":0.02104,"15.4":0.02805,"15.5":0.02805,"15.6":0.42078,"16.0":0.06312,"16.1":0.07714,"16.2":0.04909,"16.3":0.12623,"16.4":0.0561,"16.5":0.11922,"16.6":0.54,"17.0":0.06312,"17.1":0.14727,"17.2":0.20338,"17.3":0.15429,"17.4":2.60884,"17.5":0.51896},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.00277,"5.0-5.1":0.00277,"6.0-6.1":0.00693,"7.0-7.1":0.0097,"8.1-8.4":0.00277,"9.0-9.2":0.00693,"9.3":0.03187,"10.0-10.2":0.00554,"10.3":0.04988,"11.0-11.2":0.07343,"11.3-11.4":0.01386,"12.0-12.1":0.00831,"12.2-12.5":0.2009,"13.0-13.1":0.00416,"13.2":0.0194,"13.3":0.0097,"13.4-13.7":0.04434,"14.0-14.4":0.0762,"14.5-14.8":0.11777,"15.0-15.1":0.05681,"15.2-15.3":0.06235,"15.4":0.07066,"15.5":0.08867,"15.6-15.8":0.79807,"16.0":0.18151,"16.1":0.37409,"16.2":0.18151,"16.3":0.31452,"16.4":0.06651,"16.5":0.1344,"16.6-16.7":1.07102,"17.0":0.11638,"17.1":0.18982,"17.2":0.19813,"17.3":0.36578,"17.4":8.30629,"17.5":0.58608,"17.6":0},P:{"4":0.05328,"20":0.01066,"21":0.03197,"22":0.03197,"23":0.07459,"24":0.22378,"25":2.25916,"5.0-5.4":0.01066,"6.2-6.4":0.01066,_:"7.2-7.4 8.2 9.2 10.1 11.1-11.2 12.0 13.0 14.0 15.0 16.0 18.0","17.0":0.01066,"19.0":0.01066},I:{"0":0.02679,"3":0,"4":0,"2.1":0,"2.2":0,"2.3":0,"4.1":0.00001,"4.2-4.3":0.00002,"4.4":0,"4.4.3-4.4.4":0.00006},K:{"0":0.23008,_:"10 11 12 11.1 11.5 12.1"},A:{"8":0.00701,"11":0.04909,_:"6 7 9 10 5.5"},S:{_:"2.5 3.0-3.1"},J:{_:"7 10"},N:{_:"10 11"},L:{"0":12.80789},R:{_:"0"},M:{"0":0.53784},Q:{"14.9":0.00299},O:{"0":0.04781},H:{"0":0}}; +module.exports={C:{"48":0.00598,"52":0.02393,"78":0.04786,"83":0.00598,"84":0.00598,"99":0.00598,"102":0.02393,"103":0.00598,"105":0.00598,"108":0.00598,"110":0.00598,"113":0.09573,"115":0.84959,"116":0.00598,"118":0.01197,"119":0.00598,"120":0.01197,"121":0.01795,"122":0.01197,"123":0.00598,"124":0.00598,"125":0.02393,"126":0.01795,"127":0.07778,"128":0.06581,"129":0.9154,"130":4.86418,"131":0.00598,_:"2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 49 50 51 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 79 80 81 82 85 86 87 88 89 90 91 92 93 94 95 96 97 98 100 101 104 106 107 109 111 112 114 117 132 133 134 135 3.5 3.6"},D:{"38":0.00598,"49":0.01795,"52":0.11966,"57":0.00598,"65":0.00598,"66":0.02393,"79":0.02992,"80":0.01795,"81":0.00598,"83":0.00598,"84":0.00598,"85":0.01197,"87":0.05983,"88":0.00598,"89":0.00598,"90":0.01197,"91":0.00598,"93":0.00598,"94":0.01197,"96":0.00598,"98":0.00598,"99":0.01197,"101":0.00598,"102":0.04188,"103":0.08975,"104":0.01197,"105":0.00598,"106":0.00598,"107":0.01795,"108":0.01197,"109":0.83164,"110":0.00598,"111":0.01197,"112":0.00598,"113":0.2812,"114":0.30513,"115":0.00598,"116":0.28718,"117":0.01197,"118":0.05983,"119":0.02992,"120":0.41881,"121":0.04188,"122":0.15556,"123":0.22735,"124":0.19744,"125":0.2812,"126":0.45471,"127":1.67524,"128":16.94386,"129":5.45051,"130":0.00598,_:"4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 39 40 41 42 43 44 45 46 47 48 50 51 53 54 55 56 58 59 60 61 62 63 64 67 68 69 70 71 72 73 74 75 76 77 78 86 92 95 97 100 131 132 133"},F:{"46":0.00598,"84":0.01197,"95":0.02992,"107":0.00598,"109":0.0359,"111":0.00598,"112":0.93335,"113":0.96925,"114":0.00598,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 47 48 49 50 51 52 53 54 55 56 57 58 60 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 85 86 87 88 89 90 91 92 93 94 96 97 98 99 100 101 102 103 104 105 106 108 110 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"92":0.01197,"93":0.00598,"107":0.00598,"108":0.00598,"109":0.16752,"110":0.00598,"113":0.02393,"114":0.00598,"115":0.00598,"116":0.00598,"117":0.01197,"118":0.01197,"119":0.02393,"120":0.05983,"121":0.01795,"122":0.01795,"123":0.01197,"124":0.02393,"125":0.04188,"126":0.19744,"127":0.64018,"128":9.16596,"129":3.75134,"130":0.00598,_:"12 13 14 15 16 17 18 79 80 81 83 84 85 86 87 88 89 90 91 94 95 96 97 98 99 100 101 102 103 104 105 106 111 112"},E:{"8":0.00598,"13":0.00598,"14":0.02992,"15":0.01197,_:"0 4 5 6 7 9 10 11 12 3.1 3.2 5.1 6.1 7.1 9.1","10.1":0.00598,"11.1":0.00598,"12.1":0.02393,"13.1":0.10171,"14.1":0.12564,"15.1":0.02393,"15.2-15.3":0.0359,"15.4":0.02992,"15.5":0.04188,"15.6":0.47266,"16.0":0.08376,"16.1":0.0718,"16.2":0.05385,"16.3":0.11966,"16.4":0.04188,"16.5":0.0718,"16.6":0.55044,"17.0":0.0359,"17.1":0.08376,"17.2":0.10171,"17.3":0.10171,"17.4":0.23932,"17.5":0.71796,"17.6":3.28467,"18.0":0.46069,"18.1":0.02393},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.00384,"5.0-5.1":0.00192,"6.0-6.1":0.01152,"7.0-7.1":0.01344,"8.1-8.4":0,"9.0-9.2":0.01152,"9.3":0.03265,"10.0-10.2":0.0096,"10.3":0.0557,"11.0-11.2":0.2055,"11.3-11.4":0.01536,"12.0-12.1":0.0096,"12.2-12.5":0.23239,"13.0-13.1":0.00384,"13.2":0.07298,"13.3":0.0096,"13.4-13.7":0.03841,"14.0-14.4":0.08835,"14.5-14.8":0.11716,"15.0-15.1":0.06722,"15.2-15.3":0.0653,"15.4":0.0749,"15.5":0.09219,"15.6-15.8":0.91229,"16.0":0.18438,"16.1":0.36491,"16.2":0.18246,"16.3":0.3073,"16.4":0.0653,"16.5":0.12868,"16.6-16.7":1.09859,"17.0":0.09219,"17.1":0.14597,"17.2":0.13252,"17.3":0.19014,"17.4":0.40717,"17.5":1.9571,"17.6-17.7":10.41544,"18.0":1.31369,"18.1":0.05954},P:{"4":0.05283,"20":0.01057,"21":0.04227,"22":0.02113,"23":0.04227,"24":0.04227,"25":0.27474,"26":2.71567,"5.0-5.4":0.01057,"6.2-6.4":0.01057,_:"7.2-7.4 8.2 9.2 10.1 11.1-11.2 12.0 13.0 14.0 15.0 16.0 18.0","17.0":0.01057,"19.0":0.01057},I:{"0":0.02404,"3":0,"4":0,"2.1":0,"2.2":0,"2.3":0,"4.1":0,"4.2-4.3":0.00001,"4.4":0,"4.4.3-4.4.4":0.00004},K:{"0":0.29733,_:"10 11 12 11.1 11.5 12.1"},A:{"8":0.00643,"11":0.16708,_:"6 7 9 10 5.5"},N:{_:"10 11"},S:{_:"2.5 3.0-3.1"},J:{_:"7 10"},O:{"0":0.07634},H:{"0":0},L:{"0":16.67414},R:{_:"0"},M:{"0":0.70717},Q:{"14.9":0.01607}}; diff --git a/node_modules/caniuse-lite/data/regions/CI.js b/node_modules/caniuse-lite/data/regions/CI.js index 70d20f64c4..49677ff734 100644 --- a/node_modules/caniuse-lite/data/regions/CI.js +++ b/node_modules/caniuse-lite/data/regions/CI.js @@ -1 +1 @@ -module.exports={C:{"47":0.00211,"50":0.00211,"52":0.00211,"57":0.00633,"66":0.00211,"68":0.01056,"72":0.00211,"78":0.00211,"79":0.00211,"81":0.00422,"91":0.00211,"94":0.00211,"95":0.00211,"102":0.00422,"103":0.00211,"106":0.00211,"111":0.00211,"114":0.00211,"115":0.13088,"118":0.00211,"120":0.00211,"121":0.00211,"122":0.00422,"123":0.00633,"124":0.01478,"125":0.53197,"126":0.45175,"127":0.00633,_:"2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 48 49 51 53 54 55 56 58 59 60 61 62 63 64 65 67 69 70 71 73 74 75 76 77 80 82 83 84 85 86 87 88 89 90 92 93 96 97 98 99 100 101 104 105 107 108 109 110 112 113 116 117 119 128 129 3.5 3.6"},D:{"31":0.00211,"34":0.00422,"40":0.00211,"41":0.00211,"47":0.00422,"49":0.01056,"50":0.00211,"53":0.01478,"55":0.00211,"56":0.00844,"58":0.01056,"64":0.00633,"65":0.00211,"66":0.00211,"67":0.00211,"68":0.00633,"69":0.00211,"70":0.00844,"71":0.00211,"72":0.00211,"73":0.00211,"75":0.00211,"76":0.00844,"77":0.00633,"78":0.00211,"79":0.01478,"80":0.00633,"81":0.019,"83":0.02322,"84":0.00211,"85":0.01056,"86":0.00211,"87":0.22166,"88":0.02744,"89":0.00422,"90":0.00422,"91":0.00633,"92":0.00211,"93":0.00633,"94":0.019,"95":0.02744,"96":0.00422,"97":0.01056,"98":0.00422,"99":0.03167,"100":0.00211,"101":0.00844,"102":0.00844,"103":0.057,"104":0.01267,"105":0.019,"106":0.01478,"107":0.01478,"108":0.01689,"109":2.05823,"110":0.00422,"111":0.00633,"112":0.00633,"113":0.00211,"114":0.01267,"115":0.00422,"116":0.06544,"117":0.00633,"118":0.00633,"119":0.08233,"120":0.14566,"121":0.08444,"122":0.05278,"123":0.29554,"124":6.62432,"125":2.50576,"126":0.00422,"127":0.00211,_:"4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 32 33 35 36 37 38 39 42 43 44 45 46 48 51 52 54 57 59 60 61 62 63 74 128"},F:{"46":0.00211,"68":0.00211,"79":0.00211,"95":0.05911,"102":0.00422,"104":0.00211,"107":0.01478,"108":0.00633,"109":0.60797,"110":0.05278,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 47 48 49 50 51 52 53 54 55 56 57 58 60 62 63 64 65 66 67 69 70 71 72 73 74 75 76 77 78 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 96 97 98 99 100 101 103 105 106 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"12":0.00211,"13":0.00211,"14":0.00211,"15":0.00211,"16":0.00211,"17":0.00211,"18":0.02322,"79":0.00211,"84":0.00211,"85":0.00422,"89":0.00211,"90":0.00211,"92":0.02533,"100":0.00211,"107":0.00211,"109":0.01478,"112":0.00422,"114":0.00422,"115":0.00211,"116":0.00211,"118":0.00211,"119":0.01267,"120":0.00844,"121":0.00633,"122":0.03378,"123":0.06122,"124":1.42493,"125":0.67552,_:"80 81 83 86 87 88 91 93 94 95 96 97 98 99 101 102 103 104 105 106 108 110 111 113 117"},E:{"14":0.00211,_:"0 4 5 6 7 8 9 10 11 12 13 15 3.1 3.2 5.1 6.1 7.1 9.1 10.1 15.1 16.2 17.6","11.1":0.00211,"12.1":0.00422,"13.1":0.01689,"14.1":0.01056,"15.2-15.3":0.00211,"15.4":0.00211,"15.5":0.00211,"15.6":0.03167,"16.0":0.00211,"16.1":0.00211,"16.3":0.00844,"16.4":0.00211,"16.5":0.00422,"16.6":0.01267,"17.0":0.00844,"17.1":0.00844,"17.2":0.019,"17.3":0.02533,"17.4":0.11822,"17.5":0.03378},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.00306,"5.0-5.1":0.00306,"6.0-6.1":0.00766,"7.0-7.1":0.01072,"8.1-8.4":0.00306,"9.0-9.2":0.00766,"9.3":0.03524,"10.0-10.2":0.00613,"10.3":0.05515,"11.0-11.2":0.0812,"11.3-11.4":0.01532,"12.0-12.1":0.00919,"12.2-12.5":0.22215,"13.0-13.1":0.0046,"13.2":0.02145,"13.3":0.01072,"13.4-13.7":0.04903,"14.0-14.4":0.08426,"14.5-14.8":0.13022,"15.0-15.1":0.06281,"15.2-15.3":0.06894,"15.4":0.07813,"15.5":0.09805,"15.6-15.8":0.88246,"16.0":0.2007,"16.1":0.41365,"16.2":0.2007,"16.3":0.34777,"16.4":0.07354,"16.5":0.14861,"16.6-16.7":1.18427,"17.0":0.12869,"17.1":0.20989,"17.2":0.21908,"17.3":0.40446,"17.4":9.1846,"17.5":0.64805,"17.6":0},P:{"4":0.05087,"20":0.02035,"21":0.05087,"22":0.08139,"23":0.11191,"24":0.19331,"25":0.57992,"5.0-5.4":0.01017,_:"6.2-6.4 8.2 9.2 12.0 13.0 14.0 15.0","7.2-7.4":0.25435,"10.1":0.01017,"11.1-11.2":0.01017,"16.0":0.02035,"17.0":0.01017,"18.0":0.03052,"19.0":0.0407},I:{"0":0.02357,"3":0,"4":0,"2.1":0,"2.2":0,"2.3":0,"4.1":0,"4.2-4.3":0.00001,"4.4":0,"4.4.3-4.4.4":0.00005},K:{"0":0.5429,_:"10 11 12 11.1 11.5 12.1"},A:{"11":0.00844,_:"6 7 8 9 10 5.5"},S:{"2.5":0.00789,_:"3.0-3.1"},J:{_:"7 10"},N:{_:"10 11"},L:{"0":64.11655},R:{_:"0"},M:{"0":0.07889},Q:{"14.9":0.00789},O:{"0":0.12622},H:{"0":0.53}}; +module.exports={C:{"34":0.00217,"52":0.00217,"54":0.00217,"68":0.00435,"72":0.00217,"78":0.00435,"91":0.00217,"94":0.00217,"101":0.00435,"110":0.01956,"115":0.15428,"116":0.00217,"122":0.00217,"123":0.00217,"124":0.00217,"125":0.00217,"126":0.00217,"127":0.01521,"128":0.04346,"129":0.43677,"130":0.86268,"131":0.00869,_:"2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 53 55 56 57 58 59 60 61 62 63 64 65 66 67 69 70 71 73 74 75 76 77 79 80 81 82 83 84 85 86 87 88 89 90 92 93 95 96 97 98 99 100 102 103 104 105 106 107 108 109 111 112 113 114 117 118 119 120 121 132 133 134 135 3.5 3.6"},D:{"47":0.00652,"49":0.02173,"50":0.00217,"55":0.00217,"56":0.00217,"58":0.00217,"59":0.00217,"64":0.00435,"65":0.00652,"66":0.00217,"68":0.00435,"69":0.00217,"70":0.00435,"71":0.00217,"72":0.00217,"73":0.00435,"74":0.00217,"75":0.00217,"76":0.00869,"77":0.01738,"78":0.00217,"79":0.01738,"80":0.00652,"81":0.02825,"83":0.01521,"85":0.00217,"86":0.00435,"87":0.03042,"88":0.06084,"89":0.00435,"91":0.00652,"92":0.00435,"93":0.00869,"94":0.01304,"95":0.01521,"96":0.00217,"97":0.00217,"98":0.01738,"99":0.04129,"100":0.00652,"101":0.00652,"102":0.01521,"103":0.05867,"104":0.00869,"105":0.00652,"106":0.00435,"107":0.00652,"108":0.01087,"109":1.63844,"110":0.00435,"111":0.00652,"112":0.00217,"113":0.00652,"114":0.01087,"115":0.00869,"116":0.03911,"117":0.01087,"118":0.00869,"119":0.05433,"120":0.14776,"121":0.07171,"122":0.02608,"123":0.04998,"124":0.04129,"125":0.03477,"126":0.14342,"127":0.27814,"128":6.44729,"129":2.40768,"130":0.01738,"131":0.00217,_:"4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 48 51 52 53 54 57 60 61 62 63 67 84 90 132 133"},F:{"40":0.00217,"46":0.00217,"79":0.00217,"84":0.00217,"95":0.06519,"109":0.00217,"111":0.00217,"112":0.34985,"113":0.21947,"114":0.01087,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 41 42 43 44 45 47 48 49 50 51 52 53 54 55 56 57 58 60 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 80 81 82 83 85 86 87 88 89 90 91 92 93 94 96 97 98 99 100 101 102 103 104 105 106 107 108 110 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"12":0.00217,"13":0.00217,"14":0.00217,"16":0.00435,"17":0.00217,"18":0.00869,"84":0.00435,"85":0.00217,"89":0.00217,"90":0.00435,"92":0.02825,"96":0.07388,"100":0.00435,"109":0.00869,"112":0.00217,"117":0.00217,"119":0.00217,"120":0.00217,"121":0.02173,"122":0.00435,"123":0.00435,"124":0.00652,"125":0.00869,"126":0.0326,"127":0.08692,"128":1.73405,"129":0.69753,"130":0.00217,_:"15 79 80 81 83 86 87 88 91 93 94 95 97 98 99 101 102 103 104 105 106 107 108 110 111 113 114 115 116 118"},E:{"12":0.00652,"13":0.00217,"14":0.00869,_:"0 4 5 6 7 8 9 10 11 15 3.1 3.2 6.1 7.1 9.1 10.1 15.1 15.2-15.3 15.4 16.2","5.1":0.00217,"11.1":0.00217,"12.1":0.00217,"13.1":0.01521,"14.1":0.00652,"15.5":0.00217,"15.6":0.05867,"16.0":0.00217,"16.1":0.00435,"16.3":0.00217,"16.4":0.00217,"16.5":0.00217,"16.6":0.09779,"17.0":0.00217,"17.1":0.00652,"17.2":0.01304,"17.3":0.01087,"17.4":0.01521,"17.5":0.03477,"17.6":0.20426,"18.0":0.03911,"18.1":0.0239},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.00356,"5.0-5.1":0.00178,"6.0-6.1":0.01067,"7.0-7.1":0.01245,"8.1-8.4":0,"9.0-9.2":0.01067,"9.3":0.03024,"10.0-10.2":0.0089,"10.3":0.05159,"11.0-11.2":0.19036,"11.3-11.4":0.01423,"12.0-12.1":0.0089,"12.2-12.5":0.21527,"13.0-13.1":0.00356,"13.2":0.0676,"13.3":0.0089,"13.4-13.7":0.03558,"14.0-14.4":0.08184,"14.5-14.8":0.10852,"15.0-15.1":0.06227,"15.2-15.3":0.06049,"15.4":0.06938,"15.5":0.0854,"15.6-15.8":0.84506,"16.0":0.17079,"16.1":0.33802,"16.2":0.16901,"16.3":0.28465,"16.4":0.06049,"16.5":0.1192,"16.6-16.7":1.01763,"17.0":0.0854,"17.1":0.13521,"17.2":0.12276,"17.3":0.17613,"17.4":0.37716,"17.5":1.81288,"17.6-17.7":9.64794,"18.0":1.21689,"18.1":0.05515},P:{"4":0.02072,"20":0.01036,"21":0.04143,"22":0.13465,"23":0.04143,"24":0.10358,"25":0.16572,"26":0.65252,_:"5.0-5.4 6.2-6.4 8.2 10.1 12.0 13.0 17.0 18.0","7.2-7.4":0.12429,"9.2":0.02072,"11.1-11.2":0.01036,"14.0":0.01036,"15.0":0.01036,"16.0":0.01036,"19.0":0.02072},I:{"0":0.01561,"3":0,"4":0,"2.1":0,"2.2":0,"2.3":0,"4.1":0,"4.2-4.3":0.00001,"4.4":0,"4.4.3-4.4.4":0.00003},K:{"0":0.55399,_:"10 11 12 11.1 11.5 12.1"},A:{"11":0.01087,_:"6 7 8 9 10 5.5"},N:{_:"10 11"},S:{_:"2.5 3.0-3.1"},J:{_:"7 10"},O:{"0":0.07044},H:{"0":0.08},L:{"0":62.09721},R:{_:"0"},M:{"0":0.10958},Q:{"14.9":0.00783}}; diff --git a/node_modules/caniuse-lite/data/regions/CK.js b/node_modules/caniuse-lite/data/regions/CK.js index 1fd83c4a09..180311c359 100644 --- a/node_modules/caniuse-lite/data/regions/CK.js +++ b/node_modules/caniuse-lite/data/regions/CK.js @@ -1 +1 @@ -module.exports={C:{"78":0.00395,"84":0.00395,"115":0.14995,"122":0.00395,"124":0.06314,"125":0.3433,"126":0.39065,_:"2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 79 80 81 82 83 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 116 117 118 119 120 121 123 127 128 129 3.5 3.6"},D:{"65":0.00395,"81":0.00395,"87":0.00789,"94":0.11838,"101":0.00789,"103":0.0513,"109":0.75763,"111":0.00789,"116":0.17757,"117":0.00789,"119":0.00789,"120":0.0947,"121":0.15784,"122":0.23281,"123":1.01807,"124":20.06936,"125":10.157,_:"4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 83 84 85 86 88 89 90 91 92 93 95 96 97 98 99 100 102 104 105 106 107 108 110 112 113 114 115 118 126 127 128"},F:{"109":0.25254,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 60 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 110 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"92":0.00395,"116":0.00395,"117":0.00395,"119":0.01184,"122":0.00789,"123":0.09076,"124":2.05981,"125":1.17985,_:"12 13 14 15 16 17 18 79 80 81 83 84 85 86 87 88 89 90 91 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 118 120 121"},E:{"14":0.02368,_:"0 4 5 6 7 8 9 10 11 12 13 15 3.1 3.2 5.1 6.1 7.1 9.1 10.1 11.1 12.1 15.1 15.5 16.2 16.4 17.0 17.6","13.1":0.00789,"14.1":0.08681,"15.2-15.3":0.02368,"15.4":0.00395,"15.6":0.03157,"16.0":0.01578,"16.1":0.00789,"16.3":0.07103,"16.5":0.05524,"16.6":0.13416,"17.1":0.13416,"17.2":0.00395,"17.3":0.05524,"17.4":0.76947,"17.5":0.03157},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.0049,"5.0-5.1":0.0049,"6.0-6.1":0.01224,"7.0-7.1":0.01714,"8.1-8.4":0.0049,"9.0-9.2":0.01224,"9.3":0.05632,"10.0-10.2":0.0098,"10.3":0.08816,"11.0-11.2":0.12979,"11.3-11.4":0.02449,"12.0-12.1":0.01469,"12.2-12.5":0.35508,"13.0-13.1":0.00735,"13.2":0.03428,"13.3":0.01714,"13.4-13.7":0.07836,"14.0-14.4":0.13469,"14.5-14.8":0.20815,"15.0-15.1":0.1004,"15.2-15.3":0.1102,"15.4":0.12489,"15.5":0.15673,"15.6-15.8":1.41053,"16.0":0.3208,"16.1":0.66119,"16.2":0.3208,"16.3":0.55589,"16.4":0.11754,"16.5":0.23754,"16.6-16.7":1.89296,"17.0":0.2057,"17.1":0.33549,"17.2":0.35018,"17.3":0.64649,"17.4":14.68081,"17.5":1.03586,"17.6":0},P:{"20":0.051,"21":0.07139,"22":0.12239,"23":0.14279,"24":0.98932,"25":2.88638,_:"4 5.0-5.4 6.2-6.4 8.2 9.2 10.1 12.0 13.0 14.0 15.0 16.0 17.0 18.0","7.2-7.4":0.0102,"11.1-11.2":0.0306,"19.0":0.0306},I:{"0":0.00603,"3":0,"4":0,"2.1":0,"2.2":0,"2.3":0,"4.1":0,"4.2-4.3":0,"4.4":0,"4.4.3-4.4.4":0.00001},K:{"0":0.01816,_:"10 11 12 11.1 11.5 12.1"},A:{"10":0.0513,"11":0.0947,_:"6 7 8 9 5.5"},S:{_:"2.5 3.0-3.1"},J:{_:"7 10"},N:{_:"10 11"},L:{"0":31.48983},R:{_:"0"},M:{"0":0.19978},Q:{_:"14.9"},O:{"0":0.15135},H:{"0":0}}; +module.exports={C:{"78":0.00359,"115":0.12917,"127":0.01076,"129":0.15787,"130":0.43056,_:"2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 116 117 118 119 120 121 122 123 124 125 126 128 131 132 133 134 135 3.5 3.6"},D:{"94":0.27628,"100":0.00718,"103":0.05382,"109":0.67813,"116":0.00718,"121":0.07176,"122":0.061,"123":0.01794,"124":0.00718,"125":0.07176,"126":0.4198,"127":0.59202,"128":21.66793,"129":6.11395,_:"4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 83 84 85 86 87 88 89 90 91 92 93 95 96 97 98 99 101 102 104 105 106 107 108 110 111 112 113 114 115 117 118 119 120 130 131 132 133"},F:{"86":0.00359,"112":0.02153,"113":0.01076,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 60 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 114 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"92":0.01076,"100":0.00359,"126":0.04306,"127":0.03229,"128":2.23532,"129":0.6566,_:"12 13 14 15 16 17 18 79 80 81 83 84 85 86 87 88 89 90 91 93 94 95 96 97 98 99 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 130"},E:{"13":0.01076,"14":0.09688,"15":0.00359,_:"0 4 5 6 7 8 9 10 11 12 3.1 3.2 5.1 6.1 7.1 9.1 10.1 11.1 12.1 15.1 15.4 16.2 16.4 17.0 17.3 18.1","13.1":0.02153,"14.1":0.02153,"15.2-15.3":0.03229,"15.5":0.01076,"15.6":0.07535,"16.0":0.02153,"16.1":0.01076,"16.3":0.01794,"16.5":0.01076,"16.6":0.15787,"17.1":0.0287,"17.2":0.01794,"17.4":0.07176,"17.5":0.19016,"17.6":0.94006,"18.0":0.00359},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.00495,"5.0-5.1":0.00247,"6.0-6.1":0.01484,"7.0-7.1":0.01732,"8.1-8.4":0,"9.0-9.2":0.01484,"9.3":0.04205,"10.0-10.2":0.01237,"10.3":0.07174,"11.0-11.2":0.26469,"11.3-11.4":0.01979,"12.0-12.1":0.01237,"12.2-12.5":0.29932,"13.0-13.1":0.00495,"13.2":0.094,"13.3":0.01237,"13.4-13.7":0.04947,"14.0-14.4":0.11379,"14.5-14.8":0.1509,"15.0-15.1":0.08658,"15.2-15.3":0.08411,"15.4":0.09648,"15.5":0.11874,"15.6-15.8":1.17503,"16.0":0.23748,"16.1":0.47001,"16.2":0.23501,"16.3":0.3958,"16.4":0.08411,"16.5":0.16574,"16.6-16.7":1.41498,"17.0":0.11874,"17.1":0.188,"17.2":0.17069,"17.3":0.2449,"17.4":0.52443,"17.5":2.52075,"17.6-17.7":13.41514,"18.0":1.69204,"18.1":0.07669},P:{"21":0.90832,"22":0.72462,"23":0.12247,"24":0.15309,"25":0.46947,"26":2.9495,_:"4 20 5.0-5.4 6.2-6.4 8.2 9.2 10.1 11.1-11.2 12.0 13.0 14.0 15.0 16.0 17.0 18.0","7.2-7.4":0.04082,"19.0":0.03062},I:{"0":0.01279,"3":0,"4":0,"2.1":0,"2.2":0,"2.3":0,"4.1":0,"4.2-4.3":0.00001,"4.4":0,"4.4.3-4.4.4":0.00002},K:{"0":0.03206,_:"10 11 12 11.1 11.5 12.1"},A:{"11":0.07894,_:"6 7 8 9 10 5.5"},N:{_:"10 11"},S:{_:"2.5 3.0-3.1"},J:{_:"7 10"},O:{"0":0.01924},H:{"0":0},L:{"0":33.68722},R:{_:"0"},M:{"0":0.32701},Q:{"14.9":0.02565}}; diff --git a/node_modules/caniuse-lite/data/regions/CL.js b/node_modules/caniuse-lite/data/regions/CL.js index 98871e4562..ed349526e9 100644 --- a/node_modules/caniuse-lite/data/regions/CL.js +++ b/node_modules/caniuse-lite/data/regions/CL.js @@ -1 +1 @@ -module.exports={C:{"4":0.01866,"52":0.00622,"78":0.01244,"101":0.00622,"103":0.00622,"105":0.00622,"110":0.00622,"111":0.00622,"115":0.1182,"120":0.01866,"121":0.00622,"122":0.00622,"123":0.00622,"124":0.01866,"125":0.48524,"126":0.44169,_:"2 3 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 102 104 106 107 108 109 112 113 114 116 117 118 119 127 128 129 3.5 3.6"},D:{"38":0.01244,"47":0.00622,"49":0.00622,"65":0.00622,"74":0.00622,"79":0.04355,"81":0.00622,"86":0.00622,"87":0.03733,"88":0.00622,"89":0.00622,"91":0.01244,"93":0.00622,"94":0.00622,"96":0.00622,"99":0.01244,"100":0.00622,"101":0.00622,"102":0.01244,"103":0.06221,"104":0.00622,"105":0.00622,"106":0.00622,"107":0.01244,"108":0.01866,"109":1.22554,"110":0.01244,"111":0.00622,"112":0.01244,"113":0.04355,"114":0.05599,"115":0.01244,"116":0.16797,"117":0.02488,"118":0.01866,"119":0.03733,"120":0.06843,"121":0.08709,"122":0.21774,"123":0.55989,"124":14.37673,"125":5.85396,"126":0.00622,_:"4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 39 40 41 42 43 44 45 46 48 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 66 67 68 69 70 71 72 73 75 76 77 78 80 83 84 85 90 92 95 97 98 127 128"},F:{"95":0.01866,"107":1.05757,"108":0.01866,"109":3.10428,"110":0.07465,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 60 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 96 97 98 99 100 101 102 103 104 105 106 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"92":0.01244,"109":0.03111,"114":0.00622,"119":0.00622,"120":0.01866,"121":0.01244,"122":0.01866,"123":0.08087,"124":2.15869,"125":1.23176,_:"12 13 14 15 16 17 18 79 80 81 83 84 85 86 87 88 89 90 91 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 110 111 112 113 115 116 117 118"},E:{"14":0.00622,_:"0 4 5 6 7 8 9 10 11 12 13 15 3.1 3.2 5.1 6.1 7.1 9.1 10.1 11.1 12.1 17.6","13.1":0.02488,"14.1":0.03111,"15.1":0.00622,"15.2-15.3":0.00622,"15.4":0.00622,"15.5":0.01244,"15.6":0.09332,"16.0":0.00622,"16.1":0.01866,"16.2":0.00622,"16.3":0.04977,"16.4":0.01244,"16.5":0.01866,"16.6":0.07465,"17.0":0.01244,"17.1":0.02488,"17.2":0.02488,"17.3":0.03111,"17.4":0.46658,"17.5":0.08709},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.00138,"5.0-5.1":0.00138,"6.0-6.1":0.00345,"7.0-7.1":0.00483,"8.1-8.4":0.00138,"9.0-9.2":0.00345,"9.3":0.01585,"10.0-10.2":0.00276,"10.3":0.02481,"11.0-11.2":0.03653,"11.3-11.4":0.00689,"12.0-12.1":0.00414,"12.2-12.5":0.09995,"13.0-13.1":0.00207,"13.2":0.00965,"13.3":0.00483,"13.4-13.7":0.02206,"14.0-14.4":0.03791,"14.5-14.8":0.05859,"15.0-15.1":0.02826,"15.2-15.3":0.03102,"15.4":0.03515,"15.5":0.04411,"15.6-15.8":0.39703,"16.0":0.0903,"16.1":0.18611,"16.2":0.0903,"16.3":0.15647,"16.4":0.03309,"16.5":0.06686,"16.6-16.7":0.53282,"17.0":0.0579,"17.1":0.09443,"17.2":0.09857,"17.3":0.18197,"17.4":4.13229,"17.5":0.29157,"17.6":0},P:{"4":0.05344,"20":0.01069,"21":0.02137,"22":0.03206,"23":0.05344,"24":0.11756,"25":1.026,_:"5.0-5.4 8.2 9.2 10.1 12.0 13.0 14.0 15.0 17.0 18.0","6.2-6.4":0.01069,"7.2-7.4":0.01069,"11.1-11.2":0.01069,"16.0":0.01069,"19.0":0.01069},I:{"0":0.08281,"3":0,"4":0.00001,"2.1":0,"2.2":0,"2.3":0,"4.1":0.00002,"4.2-4.3":0.00005,"4.4":0,"4.4.3-4.4.4":0.00018},K:{"0":0.18139,_:"10 11 12 11.1 11.5 12.1"},A:{"8":0.00622,"11":0.03111,_:"6 7 9 10 5.5"},S:{_:"2.5 3.0-3.1"},J:{_:"7 10"},N:{_:"10 11"},L:{"0":29.51215},R:{_:"0"},M:{"0":0.15494},Q:{_:"14.9"},O:{"0":0.01512},H:{"0":0}}; +module.exports={C:{"4":0.03259,"52":0.00466,"78":0.01862,"86":0.00466,"89":0.00466,"102":0.00466,"103":0.00931,"105":0.00466,"108":0.00466,"110":0.00466,"113":0.00466,"115":0.13965,"119":0.00466,"120":0.01397,"125":0.00931,"126":0.00466,"127":0.00931,"128":0.01397,"129":0.20948,"130":1.07065,"131":0.00931,_:"2 3 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 79 80 81 82 83 84 85 87 88 90 91 92 93 94 95 96 97 98 99 100 101 104 106 107 109 111 112 114 116 117 118 121 122 123 124 132 133 134 135 3.5 3.6"},D:{"38":0.01397,"47":0.12569,"48":0.00466,"49":0.00466,"55":0.00466,"63":0.00466,"65":0.00931,"74":0.01397,"77":0.00466,"79":0.0419,"80":0.00466,"81":0.00466,"83":0.00466,"85":0.00466,"86":0.00466,"87":0.05586,"88":0.01397,"89":0.00466,"90":0.00466,"91":0.00931,"92":0.00466,"93":0.00466,"94":0.02328,"95":0.00466,"96":0.00466,"97":0.00466,"98":0.00931,"99":0.01397,"100":0.00931,"101":0.00466,"102":0.01862,"103":0.06517,"104":0.02328,"105":0.00466,"106":0.00931,"107":0.01862,"108":0.03259,"109":1.40116,"110":0.01862,"111":0.21413,"112":0.00931,"113":0.06983,"114":0.07448,"115":0.00931,"116":0.20482,"117":0.00931,"118":0.00931,"119":0.02793,"120":0.06052,"121":0.03724,"122":0.16293,"123":0.07448,"124":0.10707,"125":0.06983,"126":0.26534,"127":1.07996,"128":19.58359,"129":8.13694,"130":0.00931,_:"4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 39 40 41 42 43 44 45 46 50 51 52 53 54 56 57 58 59 60 61 62 64 66 67 68 69 70 71 72 73 75 76 78 84 131 132 133"},F:{"30":0.00466,"36":0.00466,"84":0.00931,"95":0.01862,"109":0.12569,"111":0.02793,"112":2.40198,"113":2.07148,"114":0.00466,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 31 32 33 34 35 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 60 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 85 86 87 88 89 90 91 92 93 94 96 97 98 99 100 101 102 103 104 105 106 107 108 110 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"92":0.01397,"100":0.00466,"106":0.00466,"108":0.00466,"109":0.02793,"111":0.00466,"114":0.00466,"115":0.00466,"116":0.00466,"119":0.00466,"120":0.00931,"121":0.00931,"122":0.00931,"123":0.00466,"124":0.00931,"125":0.01397,"126":0.05586,"127":0.135,"128":3.03041,"129":1.4896,_:"12 13 14 15 16 17 18 79 80 81 83 84 85 86 87 88 89 90 91 93 94 95 96 97 98 99 101 102 103 104 105 107 110 112 113 117 118 130"},E:{"14":0.00466,_:"0 4 5 6 7 8 9 10 11 12 13 15 3.1 3.2 5.1 6.1 7.1 9.1 10.1 11.1","12.1":0.00466,"13.1":0.03724,"14.1":0.03724,"15.1":0.01397,"15.2-15.3":0.00466,"15.4":0.00931,"15.5":0.01862,"15.6":0.10707,"16.0":0.01862,"16.1":0.02328,"16.2":0.00931,"16.3":0.03724,"16.4":0.0419,"16.5":0.01397,"16.6":0.10707,"17.0":0.00931,"17.1":0.01397,"17.2":0.02328,"17.3":0.01862,"17.4":0.06517,"17.5":0.18155,"17.6":0.71687,"18.0":0.1862,"18.1":0.00931},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.00206,"5.0-5.1":0.00103,"6.0-6.1":0.00618,"7.0-7.1":0.00721,"8.1-8.4":0,"9.0-9.2":0.00618,"9.3":0.01751,"10.0-10.2":0.00515,"10.3":0.02987,"11.0-11.2":0.11021,"11.3-11.4":0.00824,"12.0-12.1":0.00515,"12.2-12.5":0.12463,"13.0-13.1":0.00206,"13.2":0.03914,"13.3":0.00515,"13.4-13.7":0.0206,"14.0-14.4":0.04738,"14.5-14.8":0.06283,"15.0-15.1":0.03605,"15.2-15.3":0.03502,"15.4":0.04017,"15.5":0.04944,"15.6-15.8":0.48924,"16.0":0.09888,"16.1":0.1957,"16.2":0.09785,"16.3":0.1648,"16.4":0.03502,"16.5":0.06901,"16.6-16.7":0.58915,"17.0":0.04944,"17.1":0.07828,"17.2":0.07107,"17.3":0.10197,"17.4":0.21836,"17.5":1.04955,"17.6-17.7":5.58559,"18.0":0.70451,"18.1":0.03193},P:{"4":0.1048,"20":0.01048,"21":0.02096,"22":0.03144,"23":0.03144,"24":0.0524,"25":0.1572,"26":1.39381,_:"5.0-5.4 8.2 9.2 10.1 12.0 13.0 14.0 15.0 18.0","6.2-6.4":0.01048,"7.2-7.4":0.01048,"11.1-11.2":0.01048,"16.0":0.01048,"17.0":0.01048,"19.0":0.01048},I:{"0":0.03198,"3":0,"4":0,"2.1":0,"2.2":0,"2.3":0,"4.1":0,"4.2-4.3":0.00001,"4.4":0,"4.4.3-4.4.4":0.00005},K:{"0":0.24053,_:"10 11 12 11.1 11.5 12.1"},A:{"8":0.02141,"9":0.00535,"10":0.00535,"11":0.07495,_:"6 7 5.5"},N:{_:"10 11"},S:{_:"2.5 3.0-3.1"},J:{_:"7 10"},O:{"0":0.03207},H:{"0":0},L:{"0":41.33852},R:{_:"0"},M:{"0":0.23518},Q:{"14.9":0.00535}}; diff --git a/node_modules/caniuse-lite/data/regions/CM.js b/node_modules/caniuse-lite/data/regions/CM.js index b8dda4494f..be790850e0 100644 --- a/node_modules/caniuse-lite/data/regions/CM.js +++ b/node_modules/caniuse-lite/data/regions/CM.js @@ -1 +1 @@ -module.exports={C:{"4":0.00129,"42":0.00388,"43":0.00129,"47":0.00258,"48":0.00129,"49":0.00129,"50":0.00258,"51":0.00388,"52":0.01292,"53":0.00129,"58":0.00129,"60":0.00129,"64":0.00129,"72":0.00775,"78":0.0168,"82":0.00129,"91":0.00129,"99":0.00258,"100":0.00129,"102":0.00129,"103":0.00129,"105":0.00258,"106":0.00129,"107":0.00129,"108":0.00129,"110":0.00129,"111":0.00129,"112":0.00646,"113":0.00129,"114":0.04134,"115":0.21447,"116":0.00129,"117":0.00129,"118":0.00129,"119":0.00129,"120":0.01421,"121":0.00388,"122":0.00646,"123":0.00904,"124":0.03618,"125":0.40181,"126":0.27003,"127":0.00258,_:"2 3 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 44 45 46 54 55 56 57 59 61 62 63 65 66 67 68 69 70 71 73 74 75 76 77 79 80 81 83 84 85 86 87 88 89 90 92 93 94 95 96 97 98 101 104 109 128 129 3.5 3.6"},D:{"11":0.00129,"26":0.00129,"29":0.00129,"35":0.00129,"38":0.00517,"41":0.00129,"43":0.00129,"49":0.00129,"55":0.00129,"56":0.02196,"57":0.00258,"58":0.00388,"62":0.00129,"64":0.00129,"65":0.0155,"66":0.00129,"67":0.00129,"68":0.02455,"69":0.00258,"70":0.00388,"71":0.00129,"72":0.00258,"73":0.00129,"74":0.00258,"75":0.00129,"76":0.00129,"77":0.00129,"79":0.00258,"80":0.00258,"81":0.00517,"83":0.00258,"84":0.00129,"85":0.0168,"86":0.00388,"87":0.01809,"88":0.00258,"89":0.00775,"90":0.00388,"91":0.00258,"92":0.00129,"93":0.00904,"94":0.00258,"95":0.01163,"96":0.00258,"97":0.00129,"99":0.00775,"100":0.00129,"101":0.00388,"102":0.01034,"103":0.01809,"104":0.00129,"105":0.00258,"106":0.00258,"107":0.00388,"108":0.02196,"109":0.7261,"110":0.00517,"111":0.00646,"112":0.00388,"113":0.00129,"114":0.00904,"115":0.01034,"116":0.02326,"117":0.01163,"118":0.00388,"119":0.02584,"120":0.03618,"121":0.03488,"122":0.07623,"123":0.18217,"124":2.77392,"125":0.91732,"126":0.00129,_:"4 5 6 7 8 9 10 12 13 14 15 16 17 18 19 20 21 22 23 24 25 27 28 30 31 32 33 34 36 37 39 40 42 44 45 46 47 48 50 51 52 53 54 59 60 61 63 78 98 127 128"},F:{"42":0.00129,"44":0.00258,"46":0.00129,"64":0.00129,"66":0.00129,"79":0.00388,"85":0.00129,"90":0.00129,"95":0.0155,"106":0.00258,"107":0.01163,"108":0.0168,"109":0.26874,"110":0.02972,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 43 45 47 48 49 50 51 52 53 54 55 56 57 58 60 62 63 65 67 68 69 70 71 72 73 74 75 76 77 78 80 81 82 83 84 86 87 88 89 91 92 93 94 96 97 98 99 100 101 102 103 104 105 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"12":0.00775,"13":0.00258,"14":0.01163,"15":0.00388,"16":0.00258,"17":0.00775,"18":0.03359,"84":0.00388,"89":0.00517,"90":0.00517,"92":0.02842,"100":0.00775,"103":0.00129,"107":0.00517,"109":0.00904,"113":0.00129,"114":0.00258,"115":0.00258,"116":0.00388,"117":0.00258,"118":0.00388,"119":0.00388,"120":0.01421,"121":0.0168,"122":0.0323,"123":0.03747,"124":0.66667,"125":0.26228,_:"79 80 81 83 85 86 87 88 91 93 94 95 96 97 98 99 101 102 104 105 106 108 110 111 112"},E:{"10":0.00388,"14":0.00646,_:"0 4 5 6 7 8 9 11 12 13 15 3.1 3.2 5.1 6.1 9.1 10.1 12.1 15.5 16.2 17.6","7.1":0.00129,"11.1":0.00258,"13.1":0.00775,"14.1":0.00129,"15.1":0.00129,"15.2-15.3":0.00129,"15.4":0.00129,"15.6":0.0168,"16.0":0.00129,"16.1":0.00129,"16.3":0.00258,"16.4":0.00129,"16.5":0.00388,"16.6":0.0155,"17.0":0.00388,"17.1":0.00517,"17.2":0.00646,"17.3":0.00258,"17.4":0.01938,"17.5":0.01034},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.00221,"5.0-5.1":0.00221,"6.0-6.1":0.00552,"7.0-7.1":0.00772,"8.1-8.4":0.00221,"9.0-9.2":0.00552,"9.3":0.02538,"10.0-10.2":0.00441,"10.3":0.03972,"11.0-11.2":0.05848,"11.3-11.4":0.01103,"12.0-12.1":0.00662,"12.2-12.5":0.15998,"13.0-13.1":0.00331,"13.2":0.01545,"13.3":0.00772,"13.4-13.7":0.03531,"14.0-14.4":0.06068,"14.5-14.8":0.09378,"15.0-15.1":0.04524,"15.2-15.3":0.04965,"15.4":0.05627,"15.5":0.07061,"15.6-15.8":0.6355,"16.0":0.14453,"16.1":0.29789,"16.2":0.14453,"16.3":0.25045,"16.4":0.05296,"16.5":0.10702,"16.6-16.7":0.85285,"17.0":0.09268,"17.1":0.15115,"17.2":0.15777,"17.3":0.29127,"17.4":6.61431,"17.5":0.4667,"17.6":0},P:{"4":0.1254,"20":0.03135,"21":0.0418,"22":0.05225,"23":0.1045,"24":0.16719,"25":0.16719,"5.0-5.4":0.0209,"6.2-6.4":0.01045,"7.2-7.4":0.0627,_:"8.2 10.1 12.0 15.0 17.0 18.0","9.2":0.0209,"11.1-11.2":0.0209,"13.0":0.01045,"14.0":0.01045,"16.0":0.0209,"19.0":0.0209},I:{"0":0.04337,"3":0,"4":0,"2.1":0,"2.2":0,"2.3":0,"4.1":0.00001,"4.2-4.3":0.00003,"4.4":0,"4.4.3-4.4.4":0.0001},K:{"0":1.49682,_:"10 11 12 11.1 11.5 12.1"},A:{"8":0.00266,"11":0.04127,_:"6 7 9 10 5.5"},S:{"2.5":0.07837,_:"3.0-3.1"},J:{_:"7 10"},N:{_:"10 11"},L:{"0":74.43944},R:{_:"0"},M:{"0":0.09579},Q:{_:"14.9"},O:{"0":0.20899},H:{"0":3.31}}; +module.exports={C:{"4":0.01524,"49":0.00117,"50":0.00234,"51":0.01055,"52":0.02461,"56":0.00117,"57":0.00117,"58":0.00117,"65":0.00234,"72":0.00586,"78":0.00938,"81":0.00117,"84":0.00117,"90":0.00117,"91":0.00117,"93":0.00117,"102":0.00117,"103":0.00117,"105":0.00117,"108":0.00117,"109":0.00117,"110":0.00469,"111":0.00117,"112":0.00234,"113":0.00117,"114":0.00234,"115":0.16174,"117":0.00117,"120":0.00234,"121":0.00352,"122":0.00117,"123":0.00234,"124":0.00469,"125":0.00469,"126":0.00586,"127":0.01875,"128":0.00938,"129":0.10196,"130":0.53092,"131":0.00586,"132":0.00234,_:"2 3 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 53 54 55 59 60 61 62 63 64 66 67 68 69 70 71 73 74 75 76 77 79 80 82 83 85 86 87 88 89 92 94 95 96 97 98 99 100 101 104 106 107 116 118 119 133 134 135 3.5 3.6"},D:{"38":0.01524,"43":0.00117,"49":0.00117,"50":0.00234,"55":0.00234,"56":0.04102,"57":0.00352,"58":0.00234,"59":0.00352,"64":0.00117,"66":0.00117,"67":0.00117,"68":0.00469,"69":0.00234,"70":0.00586,"71":0.00117,"72":0.00234,"74":0.00352,"75":0.00117,"76":0.00234,"77":0.00234,"78":0.00117,"79":0.00234,"80":0.00352,"81":0.00586,"83":0.00234,"85":0.0082,"86":0.00352,"87":0.00586,"88":0.00586,"89":0.00352,"90":0.00234,"91":0.00469,"92":0.00117,"93":0.00586,"94":0.0082,"95":0.01289,"96":0.00117,"98":0.00117,"99":0.00469,"100":0.00234,"102":0.00352,"103":0.01758,"104":0.00117,"105":0.00234,"106":0.00586,"107":0.00117,"108":0.00234,"109":0.41606,"110":0.00117,"111":0.00703,"112":0.00117,"113":0.00117,"114":0.00352,"115":0.00352,"116":0.01992,"117":0.0082,"118":0.01055,"119":0.01289,"120":0.00938,"121":0.00938,"122":0.05626,"123":0.01875,"124":0.04922,"125":0.02461,"126":0.05391,"127":0.2262,"128":2.04866,"129":0.67859,"130":0.00234,"131":0.00117,_:"4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 39 40 41 42 44 45 46 47 48 51 52 53 54 60 61 62 63 65 73 84 97 101 132 133"},F:{"42":0.00117,"44":0.03399,"79":0.00352,"83":0.00234,"84":0.00117,"85":0.00117,"94":0.00117,"95":0.04688,"106":0.00117,"107":0.00117,"108":0.00117,"109":0.0082,"110":0.00117,"111":0.00117,"112":0.15119,"113":0.09142,"114":0.00469,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 43 45 46 47 48 49 50 51 52 53 54 55 56 57 58 60 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 80 81 82 86 87 88 89 90 91 92 93 96 97 98 99 100 101 102 103 104 105 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"12":0.00234,"13":0.00117,"14":0.00938,"15":0.00234,"16":0.00234,"17":0.00234,"18":0.01289,"84":0.00469,"87":0.00117,"89":0.00469,"90":0.00703,"92":0.02461,"100":0.01289,"103":0.00117,"107":0.00234,"109":0.00703,"112":0.00117,"113":0.00234,"114":0.00117,"115":0.00117,"117":0.00234,"118":0.00352,"119":0.00234,"120":0.00586,"121":0.00117,"122":0.00234,"123":0.00234,"124":0.00703,"125":0.0082,"126":0.01406,"127":0.05977,"128":0.64812,"129":0.27073,_:"79 80 81 83 85 86 88 91 93 94 95 96 97 98 99 101 102 104 105 106 108 110 111 116 130"},E:{"10":0.00234,"14":0.00352,"15":0.00117,_:"0 4 5 6 7 8 9 11 12 13 3.1 3.2 5.1 6.1 9.1 15.1 15.2-15.3 15.4 16.3 16.5 18.1","7.1":0.00117,"10.1":0.00117,"11.1":0.00234,"12.1":0.00469,"13.1":0.00469,"14.1":0.00469,"15.5":0.00117,"15.6":0.01406,"16.0":0.00117,"16.1":0.00234,"16.2":0.00117,"16.4":0.00117,"16.6":0.01055,"17.0":0.00117,"17.1":0.00117,"17.2":0.00117,"17.3":0.00234,"17.4":0.00938,"17.5":0.00586,"17.6":0.02461,"18.0":0.00586},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.00269,"5.0-5.1":0.00135,"6.0-6.1":0.00808,"7.0-7.1":0.00943,"8.1-8.4":0,"9.0-9.2":0.00808,"9.3":0.0229,"10.0-10.2":0.00674,"10.3":0.03906,"11.0-11.2":0.14413,"11.3-11.4":0.01078,"12.0-12.1":0.00674,"12.2-12.5":0.16299,"13.0-13.1":0.00269,"13.2":0.05119,"13.3":0.00674,"13.4-13.7":0.02694,"14.0-14.4":0.06196,"14.5-14.8":0.08217,"15.0-15.1":0.04715,"15.2-15.3":0.0458,"15.4":0.05253,"15.5":0.06466,"15.6-15.8":0.63983,"16.0":0.12931,"16.1":0.25593,"16.2":0.12797,"16.3":0.21552,"16.4":0.0458,"16.5":0.09025,"16.6-16.7":0.77048,"17.0":0.06466,"17.1":0.10237,"17.2":0.09294,"17.3":0.13335,"17.4":0.28556,"17.5":1.37259,"17.6-17.7":7.30478,"18.0":0.92135,"18.1":0.04176},P:{"4":0.05245,"21":0.06294,"22":0.1049,"23":0.01049,"24":0.11539,"25":0.1049,"26":0.12588,_:"20 6.2-6.4 8.2 10.1 12.0 15.0 17.0","5.0-5.4":0.02098,"7.2-7.4":0.03147,"9.2":0.02098,"11.1-11.2":0.01049,"13.0":0.01049,"14.0":0.01049,"16.0":0.01049,"18.0":0.01049,"19.0":0.02098},I:{"0":0.01761,"3":0,"4":0,"2.1":0,"2.2":0,"2.3":0,"4.1":0,"4.2-4.3":0.00001,"4.4":0,"4.4.3-4.4.4":0.00003},K:{"0":1.00182,_:"10 11 12 11.1 11.5 12.1"},A:{"8":0.032,"11":0.0723,_:"6 7 9 10 5.5"},N:{_:"10 11"},S:{"2.5":0.07062,_:"3.0-3.1"},J:{_:"7 10"},O:{"0":0.15889},H:{"0":0.64},L:{"0":77.04045},R:{_:"0"},M:{"0":0.05296},Q:{_:"14.9"}}; diff --git a/node_modules/caniuse-lite/data/regions/CN.js b/node_modules/caniuse-lite/data/regions/CN.js index 3520bcad09..ec1f81a7d9 100644 --- a/node_modules/caniuse-lite/data/regions/CN.js +++ b/node_modules/caniuse-lite/data/regions/CN.js @@ -1 +1 @@ -module.exports={C:{"4":0.00351,"34":0.01053,"43":0.13693,"52":0.01053,"72":0.00351,"78":0.00351,"83":0.00351,"84":0.00702,"88":0.00351,"90":0.00351,"97":0.00351,"102":0.00351,"103":0.00702,"106":0.00351,"108":0.00351,"109":0.00351,"110":0.00351,"111":0.00351,"113":0.00351,"114":0.00351,"115":0.14395,"116":0.01053,"117":0.00351,"118":0.00351,"119":0.00351,"120":0.00351,"121":0.01053,"122":0.00351,"123":0.00702,"124":0.16853,"125":0.26333,"126":0.23173,_:"2 3 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 35 36 37 38 39 40 41 42 44 45 46 47 48 49 50 51 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 73 74 75 76 77 79 80 81 82 85 86 87 89 91 92 93 94 95 96 98 99 100 101 104 105 107 112 127 128 129 3.5 3.6"},D:{"11":0.01756,"17":0.00351,"31":0.00702,"39":0.00351,"41":0.00351,"42":0.00351,"43":0.00351,"45":0.01053,"47":0.01053,"48":0.05618,"49":0.06671,"50":0.17204,"53":0.02107,"54":0.00351,"55":0.03511,"56":0.00702,"57":0.02809,"58":0.00702,"59":0.00702,"60":0.00702,"61":0.02107,"62":0.01053,"63":0.02458,"65":0.00702,"66":0.00351,"67":0.02107,"68":0.00351,"69":0.50558,"70":0.15448,"71":0.02107,"72":0.01053,"73":0.07724,"74":0.00702,"75":0.02458,"76":0.03511,"77":0.05969,"78":0.07022,"79":0.17555,"80":0.05267,"81":0.02107,"83":0.0948,"84":0.04564,"85":0.01404,"86":0.21417,"87":0.07022,"88":0.01053,"89":0.0316,"90":0.10533,"91":0.0316,"92":0.12991,"93":0.00702,"94":0.02809,"95":0.05618,"96":0.01756,"97":0.12991,"98":1.22885,"99":0.23173,"100":0.10533,"101":0.14395,"102":0.04564,"103":0.05618,"104":0.0316,"105":0.01756,"106":0.02458,"107":0.05267,"108":0.04915,"109":1.15512,"110":0.02458,"111":0.0632,"112":0.14395,"113":0.03511,"114":0.0632,"115":0.02458,"116":0.06671,"117":0.02458,"118":0.05969,"119":0.08426,"120":0.20013,"121":0.17555,"122":0.1264,"123":0.41079,"124":1.77306,"125":0.8286,"126":0.0316,"127":0.01053,_:"4 5 6 7 8 9 10 12 13 14 15 16 18 19 20 21 22 23 24 25 26 27 28 29 30 32 33 34 35 36 37 38 40 44 46 51 52 64 128"},F:{"95":0.00351,"109":0.01756,"110":0.00351,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 60 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 96 97 98 99 100 101 102 103 104 105 106 107 108 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"14":0.00351,"15":0.00351,"16":0.00702,"17":0.00351,"18":0.04915,"84":0.00351,"86":0.00351,"87":0.00351,"88":0.00702,"89":0.00351,"90":0.00351,"91":0.00351,"92":0.08778,"93":0.00351,"94":0.00351,"96":0.00351,"99":0.00351,"100":0.01404,"101":0.00351,"102":0.00702,"103":0.00351,"104":0.00351,"105":0.00702,"106":0.01053,"107":0.01756,"108":0.03511,"109":0.13693,"110":0.0316,"111":0.03511,"112":0.03862,"113":0.17204,"114":0.12991,"115":0.07022,"116":0.0632,"117":0.06671,"118":0.07724,"119":0.10884,"120":0.22822,"121":0.15448,"122":0.36866,"123":0.48452,"124":4.43088,"125":2.35237,_:"12 13 79 80 81 83 85 95 97 98"},E:{"5":0.00351,"9":0.00351,"13":0.01053,"14":0.05267,"15":0.01053,_:"0 4 6 7 8 10 11 12 3.1 3.2 5.1 6.1 7.1 9.1 10.1 17.6","11.1":0.00351,"12.1":0.01053,"13.1":0.0632,"14.1":0.06671,"15.1":0.01404,"15.2-15.3":0.01756,"15.4":0.0316,"15.5":0.04564,"15.6":0.15448,"16.0":0.01756,"16.1":0.04564,"16.2":0.03862,"16.3":0.07022,"16.4":0.02107,"16.5":0.03511,"16.6":0.17204,"17.0":0.01404,"17.1":0.02809,"17.2":0.03862,"17.3":0.04915,"17.4":0.49154,"17.5":0.04915},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.00225,"5.0-5.1":0.00225,"6.0-6.1":0.00562,"7.0-7.1":0.00786,"8.1-8.4":0.00225,"9.0-9.2":0.00562,"9.3":0.02583,"10.0-10.2":0.00449,"10.3":0.04044,"11.0-11.2":0.05953,"11.3-11.4":0.01123,"12.0-12.1":0.00674,"12.2-12.5":0.16287,"13.0-13.1":0.00337,"13.2":0.01573,"13.3":0.00786,"13.4-13.7":0.03594,"14.0-14.4":0.06178,"14.5-14.8":0.09548,"15.0-15.1":0.04605,"15.2-15.3":0.05055,"15.4":0.05729,"15.5":0.07189,"15.6-15.8":0.64699,"16.0":0.14715,"16.1":0.30328,"16.2":0.14715,"16.3":0.25498,"16.4":0.05392,"16.5":0.10895,"16.6-16.7":0.86827,"17.0":0.09435,"17.1":0.15388,"17.2":0.16062,"17.3":0.29654,"17.4":6.73386,"17.5":0.47513,"17.6":0},P:{"21":0.01209,"22":0.01209,"23":0.01209,"24":0.03628,"25":0.1814,_:"4 20 5.0-5.4 6.2-6.4 7.2-7.4 8.2 9.2 10.1 11.1-11.2 12.0 13.0 14.0 15.0 16.0 18.0 19.0","17.0":0.01209},I:{"0":0.98248,"3":0,"4":0.0001,"2.1":0,"2.2":0,"2.3":0,"4.1":0.0002,"4.2-4.3":0.00059,"4.4":0,"4.4.3-4.4.4":0.00217},K:{"0":0.04542,_:"10 11 12 11.1 11.5 12.1"},A:{"8":0.11083,"9":1.99486,"10":0.05541,"11":6.76035,_:"6 7 5.5"},S:{_:"2.5 3.0-3.1"},J:{_:"7 10"},N:{_:"10 11"},L:{"0":37.36314},R:{_:"0"},M:{"0":0.1752},Q:{"14.9":5.5481},O:{"0":8.35783},H:{"0":0}}; +module.exports={C:{"3":0.00315,"32":0.00315,"34":0.00629,"43":0.07548,"52":0.00629,"78":0.00315,"88":0.00315,"90":0.00315,"91":0.00315,"102":0.00315,"103":0.00315,"105":0.00315,"106":0.00315,"107":0.00315,"108":0.00629,"109":0.00629,"110":0.00629,"111":0.00629,"115":0.13838,"116":0.00629,"118":0.00315,"119":0.00315,"120":0.00315,"121":0.00629,"122":0.00315,"123":0.00629,"124":0.00315,"125":0.02202,"126":0.06605,"127":0.01258,"128":0.01258,"129":0.12266,"130":0.43716,_:"2 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 33 35 36 37 38 39 40 41 42 44 45 46 47 48 49 50 51 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 79 80 81 82 83 84 85 86 87 89 92 93 94 95 96 97 98 99 100 101 104 112 113 114 117 131 132 133 134 135 3.5 3.6"},D:{"11":0.00315,"25":0.00315,"26":0.00315,"29":0.00315,"31":0.00629,"34":0.00315,"39":0.00315,"41":0.00315,"45":0.00629,"47":0.00629,"48":0.05347,"49":0.03774,"50":0.07234,"53":0.01887,"55":0.01887,"56":0.00629,"57":0.01573,"58":0.00315,"59":0.00315,"60":0.00315,"61":0.00629,"62":0.00629,"63":0.01573,"65":0.00629,"66":0.00315,"67":0.00944,"68":0.00315,"69":1.33348,"70":0.01573,"71":0.00944,"72":0.00629,"73":0.05661,"74":0.01258,"75":0.01887,"76":0.00315,"77":0.17927,"78":0.0629,"79":0.13209,"80":0.04403,"81":0.01573,"83":0.06605,"84":0.03145,"85":0.01573,"86":0.29563,"87":0.08806,"88":0.00944,"89":0.02202,"90":0.05661,"91":0.0346,"92":0.16669,"93":0.00629,"94":0.00944,"95":0.04089,"96":0.01258,"97":0.11008,"98":0.56296,"99":0.05661,"100":0.10379,"101":0.14153,"102":0.02516,"103":0.22015,"104":0.01887,"105":0.01258,"106":0.02202,"107":0.04403,"108":0.10379,"109":1.20768,"110":0.03774,"111":0.06919,"112":0.26733,"113":0.01887,"114":0.25789,"115":0.07863,"116":0.03145,"117":0.01887,"118":0.18241,"119":0.07863,"120":0.13838,"121":0.11637,"122":0.11008,"123":0.50635,"124":0.80827,"125":0.28934,"126":0.11637,"127":0.25475,"128":1.52218,"129":0.56296,"130":0.02202,"131":0.01258,_:"4 5 6 7 8 9 10 12 13 14 15 16 17 18 19 20 21 22 23 24 27 28 30 32 33 35 36 37 38 40 42 43 44 46 51 52 54 64 132 133"},F:{"95":0.00315,"109":0.01258,"112":0.01258,"113":0.00629,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 60 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 96 97 98 99 100 101 102 103 104 105 106 107 108 110 111 114 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"16":0.00315,"17":0.00315,"18":0.01887,"84":0.00315,"88":0.00629,"89":0.00315,"91":0.00315,"92":0.07863,"96":0.00315,"99":0.00315,"100":0.01258,"101":0.00315,"102":0.00315,"103":0.00315,"104":0.00315,"105":0.00315,"106":0.01258,"107":0.01573,"108":0.04718,"109":0.13838,"110":0.05032,"111":0.05032,"112":0.0346,"113":0.10379,"114":0.08177,"115":0.04403,"116":0.04089,"117":0.03774,"118":0.03145,"119":0.05661,"120":0.30821,"121":0.07234,"122":0.10693,"123":0.07863,"124":0.1258,"125":0.20443,"126":0.24531,"127":0.65416,"128":3.72997,"129":1.78007,"130":0.00629,_:"12 13 14 15 79 80 81 83 85 86 87 90 93 94 95 97 98"},E:{"4":0.00315,"5":0.00315,"9":0.00315,"13":0.00944,"14":0.04089,"15":0.00629,_:"0 6 7 8 10 11 12 3.1 3.2 5.1 6.1 7.1 9.1 10.1 11.1","12.1":0.00629,"13.1":0.04718,"14.1":0.05661,"15.1":0.01258,"15.2-15.3":0.01573,"15.4":0.02831,"15.5":0.0346,"15.6":0.13524,"16.0":0.01573,"16.1":0.04403,"16.2":0.02831,"16.3":0.05661,"16.4":0.01573,"16.5":0.02831,"16.6":0.13838,"17.0":0.00944,"17.1":0.01887,"17.2":0.02516,"17.3":0.03774,"17.4":0.13524,"17.5":0.14467,"17.6":0.48119,"18.0":0.05032,"18.1":0.00315},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.00227,"5.0-5.1":0.00114,"6.0-6.1":0.00682,"7.0-7.1":0.00795,"8.1-8.4":0,"9.0-9.2":0.00682,"9.3":0.01931,"10.0-10.2":0.00568,"10.3":0.03294,"11.0-11.2":0.12154,"11.3-11.4":0.00909,"12.0-12.1":0.00568,"12.2-12.5":0.13744,"13.0-13.1":0.00227,"13.2":0.04316,"13.3":0.00568,"13.4-13.7":0.02272,"14.0-14.4":0.05225,"14.5-14.8":0.06929,"15.0-15.1":0.03976,"15.2-15.3":0.03862,"15.4":0.0443,"15.5":0.05452,"15.6-15.8":0.53954,"16.0":0.10904,"16.1":0.21582,"16.2":0.10791,"16.3":0.18174,"16.4":0.03862,"16.5":0.0761,"16.6-16.7":0.64972,"17.0":0.05452,"17.1":0.08633,"17.2":0.07838,"17.3":0.11245,"17.4":0.24081,"17.5":1.15746,"17.6-17.7":6.15984,"18.0":0.77694,"18.1":0.03521},P:{"21":0.01192,"22":0.01192,"24":0.01192,"25":0.02384,"26":0.21459,_:"4 20 23 5.0-5.4 6.2-6.4 7.2-7.4 8.2 9.2 10.1 11.1-11.2 12.0 13.0 14.0 15.0 16.0 17.0 18.0 19.0"},I:{"0":0.3555,"3":0,"4":0,"2.1":0,"2.2":0,"2.3":0,"4.1":0.00004,"4.2-4.3":0.00014,"4.4":0,"4.4.3-4.4.4":0.00057},K:{"0":0.04113,_:"10 11 12 11.1 11.5 12.1"},A:{"6":0.03588,"7":0.03588,"8":0.61004,"9":1.11242,"10":0.25119,"11":5.13148,_:"5.5"},N:{_:"10 11"},S:{_:"2.5 3.0-3.1"},J:{_:"7 10"},O:{"0":12.48981},H:{"0":0},L:{"0":37.33455},R:{_:"0"},M:{"0":0.18509},Q:{"14.9":4.57229}}; diff --git a/node_modules/caniuse-lite/data/regions/CO.js b/node_modules/caniuse-lite/data/regions/CO.js index 053377996f..7de5836656 100644 --- a/node_modules/caniuse-lite/data/regions/CO.js +++ b/node_modules/caniuse-lite/data/regions/CO.js @@ -1 +1 @@ -module.exports={C:{"4":0.09505,"52":0.0038,"78":0.0076,"80":0.0038,"88":0.0038,"101":0.02661,"103":0.0038,"113":0.0038,"115":0.07984,"120":0.01901,"121":0.0038,"122":0.0038,"123":0.0076,"124":0.01901,"125":0.39921,"126":0.36119,"127":0.0038,_:"2 3 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 79 81 82 83 84 85 86 87 89 90 91 92 93 94 95 96 97 98 99 100 102 104 105 106 107 108 109 110 111 112 114 116 117 118 119 128 129 3.5 3.6"},D:{"38":0.01141,"47":0.0076,"49":0.0076,"51":0.0038,"56":0.0038,"63":0.0038,"65":0.0038,"72":0.01521,"73":0.0038,"75":0.0038,"76":0.0038,"77":0.0038,"79":0.07224,"80":0.0038,"81":0.0038,"83":0.0038,"85":0.0038,"86":0.0038,"87":0.05323,"88":0.01521,"89":0.01141,"90":0.0038,"91":0.0076,"92":0.0038,"93":0.0076,"94":0.01521,"95":0.0076,"96":0.0038,"97":0.0076,"98":0.0038,"99":0.01141,"100":0.0076,"101":0.0076,"102":0.0038,"103":0.06083,"104":0.01141,"105":0.01141,"106":0.01521,"107":0.01521,"108":0.01521,"109":1.53981,"110":0.01901,"111":0.0076,"112":0.01521,"113":0.01521,"114":0.05703,"115":0.01521,"116":0.14067,"117":0.01901,"118":0.04182,"119":0.08745,"120":0.13307,"121":0.14828,"122":0.29656,"123":0.63113,"124":17.60706,"125":7.26182,"126":0.01141,_:"4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 39 40 41 42 43 44 45 46 48 50 52 53 54 55 57 58 59 60 61 62 64 66 67 68 69 70 71 74 78 84 127 128"},F:{"86":0.0038,"95":0.02281,"102":0.0038,"107":0.50186,"108":0.0038,"109":1.61205,"110":0.04562,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 60 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 87 88 89 90 91 92 93 94 96 97 98 99 100 101 103 104 105 106 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"18":0.0076,"92":0.01521,"100":0.0038,"109":0.02661,"111":0.0038,"115":0.0038,"116":0.0038,"117":0.0038,"118":0.0038,"119":0.0076,"120":0.01141,"121":0.01521,"122":0.02661,"123":0.11406,"124":2.36104,"125":1.25846,_:"12 13 14 15 16 17 79 80 81 83 84 85 86 87 88 89 90 91 93 94 95 96 97 98 99 101 102 103 104 105 106 107 108 110 112 113 114"},E:{"9":0.0038,"14":0.0076,_:"0 4 5 6 7 8 10 11 12 13 15 3.1 3.2 6.1 7.1 9.1 10.1 11.1 17.6","5.1":0.03042,"12.1":0.0038,"13.1":0.01901,"14.1":0.02661,"15.1":0.0038,"15.2-15.3":0.0038,"15.4":0.0038,"15.5":0.0076,"15.6":0.06463,"16.0":0.0038,"16.1":0.01141,"16.2":0.0076,"16.3":0.02661,"16.4":0.01141,"16.5":0.01901,"16.6":0.06463,"17.0":0.02661,"17.1":0.01901,"17.2":0.03042,"17.3":0.03422,"17.4":0.384,"17.5":0.06463},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.00226,"5.0-5.1":0.00226,"6.0-6.1":0.00565,"7.0-7.1":0.00791,"8.1-8.4":0.00226,"9.0-9.2":0.00565,"9.3":0.02598,"10.0-10.2":0.00452,"10.3":0.04067,"11.0-11.2":0.05987,"11.3-11.4":0.0113,"12.0-12.1":0.00678,"12.2-12.5":0.16381,"13.0-13.1":0.00339,"13.2":0.01582,"13.3":0.00791,"13.4-13.7":0.03615,"14.0-14.4":0.06213,"14.5-14.8":0.09603,"15.0-15.1":0.04632,"15.2-15.3":0.05084,"15.4":0.05762,"15.5":0.0723,"15.6-15.8":0.65071,"16.0":0.14799,"16.1":0.30502,"16.2":0.14799,"16.3":0.25644,"16.4":0.05423,"16.5":0.10958,"16.6-16.7":0.87327,"17.0":0.0949,"17.1":0.15477,"17.2":0.16155,"17.3":0.29824,"17.4":6.77263,"17.5":0.47787,"17.6":0},P:{"4":0.1023,"20":0.02046,"21":0.02046,"22":0.03069,"23":0.05115,"24":0.1023,"25":0.84909,"5.0-5.4":0.02046,"6.2-6.4":0.01023,"7.2-7.4":0.05115,_:"8.2 9.2 10.1 12.0 13.0 14.0 15.0 16.0 18.0","11.1-11.2":0.01023,"17.0":0.01023,"19.0":0.01023},I:{"0":0.04321,"3":0,"4":0,"2.1":0,"2.2":0,"2.3":0,"4.1":0.00001,"4.2-4.3":0.00003,"4.4":0,"4.4.3-4.4.4":0.0001},K:{"0":0.14253,_:"10 11 12 11.1 11.5 12.1"},A:{"8":0.00432,"11":0.09073,_:"6 7 9 10 5.5"},S:{_:"2.5 3.0-3.1"},J:{_:"7 10"},N:{_:"10 11"},L:{"0":49.9952},R:{_:"0"},M:{"0":0.14253},Q:{_:"14.9"},O:{"0":0.01239},H:{"0":0}}; +module.exports={C:{"4":0.07984,"52":0.00363,"78":0.00726,"80":0.00363,"95":0.00363,"101":0.01089,"103":0.00363,"113":0.00363,"115":0.07258,"120":0.01452,"121":0.00363,"122":0.00363,"123":0.00363,"124":0.00363,"125":0.01089,"126":0.00363,"127":0.00726,"128":0.01089,"129":0.13064,"130":0.65322,"131":0.00363,_:"2 3 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 79 81 82 83 84 85 86 87 88 89 90 91 92 93 94 96 97 98 99 100 102 104 105 106 107 108 109 110 111 112 114 116 117 118 119 132 133 134 135 3.5 3.6"},D:{"38":0.00363,"47":0.00726,"49":0.00363,"56":0.00363,"65":0.00363,"72":0.01089,"75":0.00363,"79":0.05806,"80":0.00363,"81":0.00726,"83":0.00363,"85":0.00726,"86":0.00363,"87":0.06169,"88":0.01452,"89":0.01089,"90":0.00363,"91":0.00726,"92":0.00363,"93":0.00363,"94":0.0254,"95":0.00363,"96":0.00363,"97":0.00363,"98":0.00363,"99":0.01452,"100":0.00363,"101":0.00726,"102":0.00363,"103":0.04718,"104":0.00726,"105":0.00726,"106":0.01815,"107":0.00726,"108":0.01815,"109":1.19394,"110":0.01815,"111":0.01815,"112":0.01815,"113":0.00726,"114":0.07621,"115":0.00726,"116":0.13064,"117":0.01452,"118":0.03266,"119":0.0254,"120":0.05806,"121":0.05806,"122":0.15605,"123":0.06895,"124":0.11976,"125":0.11976,"126":0.27218,"127":0.71491,"128":17.46638,"129":6.04954,"130":0.00726,"131":0.00363,_:"4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 39 40 41 42 43 44 45 46 48 50 51 52 53 54 55 57 58 59 60 61 62 63 64 66 67 68 69 70 71 73 74 76 77 78 84 132 133"},F:{"84":0.00363,"85":0.01089,"95":0.02903,"102":0.00363,"107":0.00363,"109":0.04355,"111":0.00726,"112":0.9508,"113":0.66048,"114":0.00726,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 60 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 86 87 88 89 90 91 92 93 94 96 97 98 99 100 101 103 104 105 106 108 110 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"18":0.00363,"85":0.00363,"92":0.01089,"100":0.00363,"107":0.00363,"109":0.0254,"111":0.00363,"117":0.00363,"118":0.00363,"119":0.00363,"120":0.00726,"121":0.00726,"122":0.00726,"123":0.00726,"124":0.00726,"125":0.01452,"126":0.02903,"127":0.1125,"128":2.5657,"129":1.05967,_:"12 13 14 15 16 17 79 80 81 83 84 86 87 88 89 90 91 93 94 95 96 97 98 99 101 102 103 104 105 106 108 110 112 113 114 115 116 130"},E:{"14":0.00363,_:"0 4 5 6 7 8 9 10 11 12 13 15 3.1 3.2 6.1 7.1 9.1 10.1 11.1 12.1","5.1":0.00363,"13.1":0.01452,"14.1":0.02177,"15.1":0.00363,"15.2-15.3":0.00363,"15.4":0.00726,"15.5":0.00363,"15.6":0.06895,"16.0":0.00363,"16.1":0.00726,"16.2":0.00726,"16.3":0.0254,"16.4":0.00726,"16.5":0.01089,"16.6":0.06169,"17.0":0.00726,"17.1":0.01089,"17.2":0.02903,"17.3":0.01815,"17.4":0.03992,"17.5":0.12339,"17.6":0.49354,"18.0":0.10161,"18.1":0.00726},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.00262,"5.0-5.1":0.00131,"6.0-6.1":0.00786,"7.0-7.1":0.00917,"8.1-8.4":0,"9.0-9.2":0.00786,"9.3":0.02226,"10.0-10.2":0.00655,"10.3":0.03797,"11.0-11.2":0.14011,"11.3-11.4":0.01048,"12.0-12.1":0.00655,"12.2-12.5":0.15844,"13.0-13.1":0.00262,"13.2":0.04976,"13.3":0.00655,"13.4-13.7":0.02619,"14.0-14.4":0.06023,"14.5-14.8":0.07988,"15.0-15.1":0.04583,"15.2-15.3":0.04452,"15.4":0.05107,"15.5":0.06285,"15.6-15.8":0.62199,"16.0":0.12571,"16.1":0.24879,"16.2":0.1244,"16.3":0.20951,"16.4":0.04452,"16.5":0.08773,"16.6-16.7":0.749,"17.0":0.06285,"17.1":0.09952,"17.2":0.09035,"17.3":0.12964,"17.4":0.2776,"17.5":1.33433,"17.6-17.7":7.10113,"18.0":0.89566,"18.1":0.04059},P:{"4":0.09176,"20":0.0102,"21":0.02039,"22":0.03059,"23":0.03059,"24":0.02039,"25":0.09176,"26":0.83601,"5.0-5.4":0.02039,"6.2-6.4":0.0102,"7.2-7.4":0.04078,_:"8.2 9.2 10.1 11.1-11.2 12.0 13.0 14.0 15.0 16.0 18.0","17.0":0.0102,"19.0":0.0102},I:{"0":0.02542,"3":0,"4":0,"2.1":0,"2.2":0,"2.3":0,"4.1":0,"4.2-4.3":0.00001,"4.4":0,"4.4.3-4.4.4":0.00004},K:{"0":0.12744,_:"10 11 12 11.1 11.5 12.1"},A:{"8":0.00842,"11":0.09682,_:"6 7 9 10 5.5"},N:{_:"10 11"},S:{_:"2.5 3.0-3.1"},J:{_:"7 10"},O:{"0":0.01274},H:{"0":0},L:{"0":50.01992},R:{_:"0"},M:{"0":0.14656},Q:{_:"14.9"}}; diff --git a/node_modules/caniuse-lite/data/regions/CR.js b/node_modules/caniuse-lite/data/regions/CR.js index 66c9e35110..3a7c096009 100644 --- a/node_modules/caniuse-lite/data/regions/CR.js +++ b/node_modules/caniuse-lite/data/regions/CR.js @@ -1 +1 @@ -module.exports={C:{"52":0.00438,"78":0.00438,"88":0.00438,"89":0.01752,"102":0.00438,"105":0.00876,"110":0.00438,"115":0.30653,"118":0.00438,"119":0.00438,"120":0.02627,"121":0.00438,"122":0.00876,"123":0.02627,"124":0.04379,"125":0.92835,"126":0.83201,"127":0.00438,_:"2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 79 80 81 82 83 84 85 86 87 90 91 92 93 94 95 96 97 98 99 100 101 103 104 106 107 108 109 111 112 113 114 116 117 128 129 3.5 3.6"},D:{"43":0.00438,"44":0.00438,"45":0.00438,"46":0.00438,"47":0.00438,"51":0.00438,"65":0.00438,"67":0.00438,"69":0.00438,"70":0.00438,"73":0.00876,"79":0.03065,"80":0.00876,"81":0.00438,"83":0.01314,"86":0.04817,"87":0.03065,"91":0.00438,"92":0.00438,"93":0.00438,"94":0.00876,"95":0.00438,"96":0.03503,"97":0.00438,"98":0.00438,"99":0.00876,"102":0.00438,"103":0.05255,"104":0.00438,"105":0.0219,"106":0.01314,"107":0.00438,"108":0.00876,"109":0.61744,"110":0.01752,"111":0.00438,"112":0.00876,"113":0.00876,"114":0.03503,"115":0.00876,"116":0.12261,"117":0.00876,"118":0.0219,"119":0.0832,"120":0.10072,"121":0.07882,"122":0.26712,"123":0.69188,"124":21.40893,"125":6.34517,"126":0.00438,_:"4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 48 49 50 52 53 54 55 56 57 58 59 60 61 62 63 64 66 68 71 72 74 75 76 77 78 84 85 88 89 90 100 101 127 128"},F:{"95":0.01314,"105":0.01314,"107":0.53862,"108":0.01314,"109":1.67716,"110":0.05255,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 60 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 96 97 98 99 100 101 102 103 104 106 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"17":0.00438,"18":0.00438,"92":0.0219,"109":0.02627,"114":0.00438,"115":0.00438,"116":0.00438,"117":0.00438,"118":0.00438,"119":0.01314,"120":0.01314,"121":0.01752,"122":0.03065,"123":0.0832,"124":3.08282,"125":1.65964,_:"12 13 14 15 16 79 80 81 83 84 85 86 87 88 89 90 91 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 110 111 112 113"},E:{"9":0.01314,"14":0.00438,_:"0 4 5 6 7 8 10 11 12 13 15 3.1 3.2 6.1 7.1 9.1 10.1 11.1 12.1 17.6","5.1":0.01314,"13.1":0.02627,"14.1":0.03941,"15.1":0.05693,"15.2-15.3":0.00438,"15.4":0.01752,"15.5":0.0219,"15.6":0.16202,"16.0":0.01752,"16.1":0.03065,"16.2":0.01314,"16.3":0.05255,"16.4":0.01314,"16.5":0.04817,"16.6":0.17954,"17.0":0.0219,"17.1":0.05255,"17.2":0.03503,"17.3":0.07882,"17.4":1.37939,"17.5":0.24522},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.00248,"5.0-5.1":0.00248,"6.0-6.1":0.00619,"7.0-7.1":0.00866,"8.1-8.4":0.00248,"9.0-9.2":0.00619,"9.3":0.02847,"10.0-10.2":0.00495,"10.3":0.04456,"11.0-11.2":0.0656,"11.3-11.4":0.01238,"12.0-12.1":0.00743,"12.2-12.5":0.17947,"13.0-13.1":0.00371,"13.2":0.01733,"13.3":0.00866,"13.4-13.7":0.03961,"14.0-14.4":0.06808,"14.5-14.8":0.10521,"15.0-15.1":0.05075,"15.2-15.3":0.0557,"15.4":0.06312,"15.5":0.07922,"15.6-15.8":0.71294,"16.0":0.16214,"16.1":0.33419,"16.2":0.16214,"16.3":0.28097,"16.4":0.05941,"16.5":0.12006,"16.6-16.7":0.95678,"17.0":0.10397,"17.1":0.16957,"17.2":0.177,"17.3":0.32676,"17.4":7.42028,"17.5":0.52357,"17.6":0},P:{"4":0.04091,"20":0.01023,"21":0.04091,"22":0.12274,"23":0.09206,"24":0.15343,"25":2.50595,_:"5.0-5.4 8.2 9.2 10.1 11.1-11.2 12.0 13.0 15.0 16.0","6.2-6.4":0.02046,"7.2-7.4":0.05114,"14.0":0.01023,"17.0":0.03069,"18.0":0.01023,"19.0":0.02046},I:{"0":0.07839,"3":0,"4":0.00001,"2.1":0,"2.2":0,"2.3":0,"4.1":0.00002,"4.2-4.3":0.00005,"4.4":0,"4.4.3-4.4.4":0.00017},K:{"0":0.36661,_:"10 11 12 11.1 11.5 12.1"},A:{"8":0.0219,"9":0.00438,"10":0.00438,"11":0.05255,_:"6 7 5.5"},S:{"2.5":0.00562,_:"3.0-3.1"},J:{_:"7 10"},N:{_:"10 11"},L:{"0":40.53868},R:{_:"0"},M:{"0":0.48903},Q:{_:"14.9"},O:{"0":0.06745},H:{"0":0.01}}; +module.exports={C:{"78":0.01724,"102":0.00862,"103":0.00431,"110":0.00431,"115":0.41807,"120":0.01724,"121":0.00431,"123":0.00431,"124":0.00431,"125":0.00862,"126":0.00431,"127":0.02586,"128":0.03879,"129":0.42238,"130":1.53436,"131":0.01293,_:"2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 104 105 106 107 108 109 111 112 113 114 116 117 118 119 122 132 133 134 135 3.5 3.6"},D:{"45":0.00431,"46":0.00431,"47":0.00431,"49":0.00862,"51":0.00862,"67":0.00862,"69":0.00862,"70":0.00431,"73":0.01724,"79":0.03448,"80":0.01724,"81":0.01293,"83":0.01293,"85":0.00431,"86":0.06465,"87":0.03448,"88":0.01724,"91":0.01293,"92":0.00431,"93":0.00862,"94":0.02586,"96":0.06034,"98":0.01293,"99":0.00862,"100":0.00431,"101":0.00431,"102":0.00431,"103":0.05603,"104":0.01293,"105":0.03017,"106":0.01293,"107":0.01724,"108":0.00862,"109":0.62926,"110":0.02155,"111":0.00431,"112":0.01293,"113":0.00862,"114":0.02155,"115":0.01293,"116":0.13792,"117":0.00431,"118":0.00862,"119":0.05172,"120":0.03879,"121":0.02586,"122":0.24136,"123":0.04741,"124":0.10775,"125":0.09913,"126":0.20688,"127":1.39644,"128":17.02881,"129":6.25381,"130":0.00431,_:"4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 48 50 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 68 71 72 74 75 76 77 78 84 89 90 95 97 131 132 133"},F:{"36":0.00431,"46":0.00862,"84":0.01293,"95":0.01293,"105":0.00431,"109":0.05603,"111":0.01293,"112":1.40075,"113":1.02147,"114":0.00431,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 37 38 39 40 41 42 43 44 45 47 48 49 50 51 52 53 54 55 56 57 58 60 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 85 86 87 88 89 90 91 92 93 94 96 97 98 99 100 101 102 103 104 106 107 108 110 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"17":0.00431,"18":0.00431,"85":0.00431,"92":0.01724,"100":0.00431,"109":0.01724,"114":0.00431,"118":0.00862,"119":0.00431,"120":0.00862,"121":0.01724,"122":0.01293,"123":0.00431,"124":0.00862,"125":0.01724,"126":0.02155,"127":0.14654,"128":4.18501,"129":1.75848,_:"12 13 14 15 16 79 80 81 83 84 86 87 88 89 90 91 93 94 95 96 97 98 99 101 102 103 104 105 106 107 108 110 111 112 113 115 116 117 130"},E:{"9":0.01724,"14":0.00431,"15":0.00431,_:"0 4 5 6 7 8 10 11 12 13 3.1 3.2 5.1 6.1 7.1 9.1 10.1 11.1","12.1":0.00431,"13.1":0.04741,"14.1":0.06465,"15.1":0.01293,"15.2-15.3":0.00431,"15.4":0.00431,"15.5":0.00431,"15.6":0.11637,"16.0":0.01293,"16.1":0.02155,"16.2":0.00862,"16.3":0.03017,"16.4":0.01724,"16.5":0.03448,"16.6":0.20257,"17.0":0.01293,"17.1":0.05172,"17.2":0.01724,"17.3":0.05172,"17.4":0.09913,"17.5":0.40083,"17.6":1.76279,"18.0":0.39652,"18.1":0.06034},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.00254,"5.0-5.1":0.00127,"6.0-6.1":0.00763,"7.0-7.1":0.00891,"8.1-8.4":0,"9.0-9.2":0.00763,"9.3":0.02163,"10.0-10.2":0.00636,"10.3":0.0369,"11.0-11.2":0.13613,"11.3-11.4":0.01018,"12.0-12.1":0.00636,"12.2-12.5":0.15395,"13.0-13.1":0.00254,"13.2":0.04835,"13.3":0.00636,"13.4-13.7":0.02545,"14.0-14.4":0.05853,"14.5-14.8":0.07761,"15.0-15.1":0.04453,"15.2-15.3":0.04326,"15.4":0.04962,"15.5":0.06107,"15.6-15.8":0.60433,"16.0":0.12214,"16.1":0.24173,"16.2":0.12087,"16.3":0.20357,"16.4":0.04326,"16.5":0.08524,"16.6-16.7":0.72775,"17.0":0.06107,"17.1":0.09669,"17.2":0.08779,"17.3":0.12596,"17.4":0.26972,"17.5":1.29646,"17.6-17.7":6.8996,"18.0":0.87024,"18.1":0.03944},P:{"4":0.05244,"20":0.01049,"21":0.02097,"22":0.04195,"23":0.06292,"24":0.03146,"25":0.20974,"26":2.3491,_:"5.0-5.4 8.2 9.2 10.1 11.1-11.2 12.0 13.0 14.0 15.0 16.0 18.0","6.2-6.4":0.03146,"7.2-7.4":0.04195,"17.0":0.01049,"19.0":0.01049},I:{"0":0.10214,"3":0,"4":0,"2.1":0,"2.2":0,"2.3":0,"4.1":0.00001,"4.2-4.3":0.00004,"4.4":0,"4.4.3-4.4.4":0.00016},K:{"0":0.27881,_:"10 11 12 11.1 11.5 12.1"},A:{"8":0.01724,"9":0.00431,"10":0.00431,"11":0.01293,_:"6 7 5.5"},N:{_:"10 11"},S:{"2.5":0.00569,_:"3.0-3.1"},J:{_:"7 10"},O:{"0":0.04552},H:{"0":0},L:{"0":41.14994},R:{_:"0"},M:{"0":0.43813},Q:{_:"14.9"}}; diff --git a/node_modules/caniuse-lite/data/regions/CU.js b/node_modules/caniuse-lite/data/regions/CU.js index 9dad7bd63f..8dfeadbf98 100644 --- a/node_modules/caniuse-lite/data/regions/CU.js +++ b/node_modules/caniuse-lite/data/regions/CU.js @@ -1 +1 @@ -module.exports={C:{"4":0.39594,"34":0.10717,"41":0.00893,"42":0.00298,"43":0.00298,"44":0.00595,"45":0.00298,"46":0.00298,"47":0.00298,"48":0.00595,"49":0.00298,"50":0.00893,"52":0.01786,"53":0.00298,"54":0.09229,"56":0.00893,"57":0.02679,"59":0.00298,"60":0.00595,"61":0.00298,"62":0.00298,"63":0.00893,"64":0.01489,"65":0.00595,"66":0.00298,"67":0.00298,"68":0.00893,"69":0.01191,"70":0.00298,"71":0.00298,"72":0.04168,"73":0.00298,"74":0.00298,"75":0.00595,"77":0.00298,"78":0.01786,"79":0.00298,"80":0.00298,"81":0.00298,"82":0.00893,"83":0.01786,"84":0.00893,"85":0.00298,"86":0.00298,"87":0.00893,"88":0.03572,"89":0.00893,"90":0.00595,"91":0.02382,"92":0.00595,"93":0.01489,"94":0.01191,"95":0.01489,"96":0.00893,"97":0.01489,"98":0.01786,"99":0.02084,"100":0.05061,"101":0.07145,"102":0.03572,"103":0.01191,"104":0.03275,"105":0.00595,"106":0.02679,"107":0.02084,"108":0.02977,"109":0.01191,"110":0.02679,"111":0.01191,"112":0.01786,"113":0.09229,"114":0.01191,"115":1.1521,"116":0.04168,"117":0.03572,"118":0.02977,"119":0.02679,"120":0.03572,"121":0.04763,"122":0.10717,"123":0.06847,"124":0.22923,"125":2.37565,"126":1.75345,"127":0.02084,"128":0.00298,_:"2 3 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 35 36 37 38 39 40 51 55 58 76 129 3.5 3.6"},D:{"22":0.00298,"29":0.00298,"40":0.00298,"49":0.00298,"54":0.00595,"58":0.00298,"63":0.00298,"68":0.02084,"70":0.01786,"71":0.00893,"72":0.00298,"74":0.00298,"75":0.00298,"76":0.00298,"77":0.00298,"78":0.00298,"79":0.00595,"80":0.00595,"81":0.01786,"83":0.00595,"84":0.00298,"85":0.00298,"86":0.01786,"87":0.02084,"88":0.05954,"89":0.04168,"90":0.05954,"91":0.02382,"92":0.01489,"93":0.00595,"94":0.03275,"95":0.00298,"96":0.00595,"97":0.36319,"98":0.00893,"99":0.01191,"100":0.00893,"101":0.02679,"102":3.52179,"103":0.04466,"104":0.00595,"105":0.01786,"106":0.01489,"107":0.62219,"108":0.64899,"109":0.55075,"110":0.0387,"111":0.02382,"112":0.03572,"113":0.1429,"114":0.03572,"115":0.01191,"116":0.259,"117":0.02084,"118":0.04466,"119":0.10122,"120":0.16374,"121":0.1042,"122":0.11908,"123":0.98836,"124":4.10528,"125":1.69391,"126":0.00298,_:"4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 23 24 25 26 27 28 30 31 32 33 34 35 36 37 38 39 41 42 43 44 45 46 47 48 50 51 52 53 55 56 57 59 60 61 62 64 65 66 67 69 73 127 128"},F:{"34":0.00298,"36":0.00298,"42":0.00298,"50":0.00298,"57":0.00298,"58":0.00298,"60":0.00298,"64":0.01191,"78":0.00893,"79":0.08336,"85":0.00298,"87":0.00595,"92":0.00298,"94":0.00298,"95":0.06252,"99":0.00298,"100":0.00298,"104":0.02382,"105":0.00893,"106":0.00893,"107":0.10122,"108":0.03275,"109":0.8157,"110":0.04168,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 35 37 38 39 40 41 43 44 45 46 47 48 49 51 52 53 54 55 56 62 63 65 66 67 68 69 70 71 72 73 74 75 76 77 80 81 82 83 84 86 88 89 90 91 93 96 97 98 101 102 103 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"12":0.00893,"13":0.00893,"14":0.03275,"15":0.00298,"16":0.00595,"17":0.00595,"18":0.02977,"84":0.01786,"89":0.01489,"90":0.01489,"92":0.1429,"100":0.05359,"103":0.00298,"107":0.00298,"109":0.02084,"111":0.00298,"112":0.01786,"113":0.00298,"114":0.01489,"115":0.00893,"116":0.00893,"117":0.00893,"118":0.00893,"119":0.03275,"120":0.03572,"121":0.02679,"122":0.08931,"123":0.15183,"124":1.14317,"125":0.50609,_:"79 80 81 83 85 86 87 88 91 93 94 95 96 97 98 99 101 102 104 105 106 108 110"},E:{"13":0.00298,"14":0.00298,_:"0 4 5 6 7 8 9 10 11 12 15 3.1 3.2 6.1 7.1 9.1 10.1 11.1 14.1 15.1 15.2-15.3 15.5 16.0 16.1 17.6","5.1":0.06549,"12.1":0.00298,"13.1":0.01191,"15.4":0.00298,"15.6":0.01489,"16.2":0.00298,"16.3":0.00595,"16.4":0.00298,"16.5":0.00298,"16.6":0.01786,"17.0":0.00298,"17.1":0.00595,"17.2":0.00298,"17.3":0.00298,"17.4":0.04466,"17.5":0.01489},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.00098,"5.0-5.1":0.00098,"6.0-6.1":0.00245,"7.0-7.1":0.00344,"8.1-8.4":0.00098,"9.0-9.2":0.00245,"9.3":0.01129,"10.0-10.2":0.00196,"10.3":0.01767,"11.0-11.2":0.02602,"11.3-11.4":0.00491,"12.0-12.1":0.00295,"12.2-12.5":0.07118,"13.0-13.1":0.00147,"13.2":0.00687,"13.3":0.00344,"13.4-13.7":0.01571,"14.0-14.4":0.027,"14.5-14.8":0.04173,"15.0-15.1":0.02013,"15.2-15.3":0.02209,"15.4":0.02504,"15.5":0.03142,"15.6-15.8":0.28276,"16.0":0.06431,"16.1":0.13255,"16.2":0.06431,"16.3":0.11144,"16.4":0.02356,"16.5":0.04762,"16.6-16.7":0.37947,"17.0":0.04124,"17.1":0.06725,"17.2":0.0702,"17.3":0.1296,"17.4":2.94299,"17.5":0.20765,"17.6":0},P:{"4":0.09194,"20":0.04086,"21":0.23495,"22":0.35753,"23":0.28603,"24":0.3984,"25":0.68442,"5.0-5.4":0.02043,"6.2-6.4":0.02043,"7.2-7.4":0.24517,_:"8.2 12.0","9.2":0.05108,"10.1":0.01022,"11.1-11.2":0.03065,"13.0":0.03065,"14.0":0.03065,"15.0":0.01022,"16.0":0.08172,"17.0":0.18387,"18.0":0.03065,"19.0":0.08172},I:{"0":0.06296,"3":0,"4":0.00001,"2.1":0,"2.2":0,"2.3":0,"4.1":0.00001,"4.2-4.3":0.00004,"4.4":0,"4.4.3-4.4.4":0.00014},K:{"0":0.79978,_:"10 11 12 11.1 11.5 12.1"},A:{"8":0.00298,"9":0.00298,"11":0.02084,_:"6 7 10 5.5"},S:{_:"2.5 3.0-3.1"},J:{_:"7 10"},N:{_:"10 11"},L:{"0":64.70249},R:{_:"0"},M:{"0":0.31604},Q:{"14.9":0.00702},O:{"0":0.0913},H:{"0":0.05}}; +module.exports={C:{"4":0.47628,"34":0.00454,"45":0.00454,"46":0.00227,"47":0.00454,"48":0.00454,"49":0.00907,"50":0.01134,"52":0.01588,"53":0.00227,"54":0.09752,"55":0.00227,"56":0.00454,"57":0.01134,"60":0.00454,"62":0.00227,"63":0.0068,"64":0.0068,"65":0.00227,"66":0.0068,"68":0.00907,"69":0.00454,"70":0.02495,"71":0.00907,"72":0.04309,"73":0.00227,"75":0.00454,"77":0.00454,"78":0.00454,"79":0.00454,"80":0.00227,"81":0.00227,"82":0.00454,"83":0.0068,"84":0.00907,"85":0.00227,"86":0.00227,"87":0.01814,"88":0.0068,"89":0.01361,"90":0.00454,"91":0.00907,"92":0.0068,"93":0.01361,"94":0.01361,"95":0.02268,"96":0.01814,"97":0.03402,"98":0.01814,"99":0.01134,"100":0.03629,"101":0.07938,"102":0.01134,"103":0.01134,"104":0.01361,"105":0.00227,"106":0.01134,"107":0.01134,"108":0.02041,"109":0.01134,"110":0.04082,"111":0.01588,"112":0.03402,"113":0.07484,"114":0.01134,"115":1.12946,"116":0.02948,"117":0.04082,"118":0.02268,"119":0.02722,"120":0.01361,"121":0.02948,"122":0.05897,"123":0.02722,"124":0.10433,"125":0.06124,"126":0.06804,"127":0.31979,"128":0.1701,"129":1.04555,"130":3.4655,"131":0.06577,"132":0.00227,_:"2 3 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 35 36 37 38 39 40 41 42 43 44 51 58 59 61 67 74 76 133 134 135 3.5 3.6"},D:{"22":0.00227,"25":0.00227,"34":0.00227,"36":0.00227,"37":0.00227,"39":0.00227,"40":0.00454,"44":0.00227,"47":0.00227,"50":0.00454,"51":0.00454,"56":0.00454,"58":0.0068,"60":0.00227,"61":0.0068,"63":0.00227,"64":0.00227,"65":0.00227,"67":0.00227,"68":0.00454,"69":0.00454,"70":0.01361,"71":0.0068,"72":0.00454,"73":0.00227,"74":0.01134,"75":0.00454,"76":0.00227,"77":0.00454,"78":0.0068,"79":0.00907,"80":0.00907,"81":0.00907,"83":0.01588,"84":0.00227,"86":0.01588,"87":0.01134,"88":0.07258,"89":0.06804,"90":0.10433,"91":0.02041,"92":0.00907,"93":0.00454,"94":0.01361,"95":0.00454,"96":0.0068,"97":0.01588,"98":0.00907,"99":0.0068,"100":0.00227,"101":0.01361,"102":0.00907,"103":0.02722,"104":0.00227,"105":0.01134,"106":0.01361,"107":0.00907,"108":0.01588,"109":0.47174,"110":0.01361,"111":0.02268,"112":0.02268,"113":0.01361,"114":0.02948,"115":0.00907,"116":0.03629,"117":0.02268,"118":0.04763,"119":0.03629,"120":0.06124,"121":0.06124,"122":0.03629,"123":0.05216,"124":0.16556,"125":0.07484,"126":0.18144,"127":0.48762,"128":3.5086,"129":0.88452,"130":0.0068,_:"4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 23 24 26 27 28 29 30 31 32 33 35 38 41 42 43 45 46 48 49 52 53 54 55 57 59 62 66 85 131 132 133"},F:{"21":0.00227,"34":0.00227,"36":0.00227,"42":0.00227,"46":0.00227,"47":0.00227,"50":0.00227,"60":0.00454,"64":0.00227,"73":0.00227,"79":0.12701,"83":0.00227,"84":0.01588,"86":0.00227,"87":0.00227,"89":0.00227,"92":0.00227,"93":0.00227,"95":0.07938,"99":0.00227,"102":0.00227,"104":0.00907,"105":0.02495,"106":0.00227,"107":0.00907,"108":0.0068,"109":0.03175,"110":0.00454,"111":0.02041,"112":0.49896,"113":0.27216,"114":0.01134,_:"9 11 12 15 16 17 18 19 20 22 23 24 25 26 27 28 29 30 31 32 33 35 37 38 39 40 41 43 44 45 48 49 51 52 53 54 55 56 57 58 62 63 65 66 67 68 69 70 71 72 74 75 76 77 78 80 81 82 85 88 90 91 94 96 97 98 100 101 103 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"12":0.00454,"13":0.00227,"14":0.02041,"15":0.0068,"16":0.00454,"17":0.01361,"18":0.06124,"80":0.00227,"81":0.04082,"84":0.01134,"85":0.00454,"89":0.02495,"90":0.02268,"91":0.00227,"92":0.13608,"96":0.00227,"99":0.00227,"100":0.0499,"103":0.00227,"106":0.00227,"109":0.00907,"110":0.00227,"113":0.00227,"114":0.01134,"115":0.00227,"117":0.00227,"118":0.0068,"119":0.00907,"120":0.02041,"121":0.02722,"122":0.02948,"123":0.02268,"124":0.02495,"125":0.03175,"126":0.06804,"127":0.13608,"128":1.36987,"129":0.34927,_:"79 83 86 87 88 93 94 95 97 98 101 102 104 105 107 108 111 112 116 130"},E:{"11":0.00454,"14":0.0068,_:"0 4 5 6 7 8 9 10 12 13 15 3.1 3.2 6.1 7.1 9.1 10.1 15.2-15.3 15.4 16.0 16.1 17.0 17.3 18.1","5.1":0.0068,"11.1":0.00227,"12.1":0.0068,"13.1":0.00454,"14.1":0.00227,"15.1":0.00227,"15.5":0.00227,"15.6":0.01814,"16.2":0.00227,"16.3":0.0068,"16.4":0.00454,"16.5":0.00227,"16.6":0.01134,"17.1":0.00454,"17.2":0.00227,"17.4":0.04309,"17.5":0.02041,"17.6":0.03175,"18.0":0.01134},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.0011,"5.0-5.1":0.00055,"6.0-6.1":0.00329,"7.0-7.1":0.00384,"8.1-8.4":0,"9.0-9.2":0.00329,"9.3":0.00933,"10.0-10.2":0.00274,"10.3":0.01592,"11.0-11.2":0.05873,"11.3-11.4":0.00439,"12.0-12.1":0.00274,"12.2-12.5":0.06642,"13.0-13.1":0.0011,"13.2":0.02086,"13.3":0.00274,"13.4-13.7":0.01098,"14.0-14.4":0.02525,"14.5-14.8":0.03348,"15.0-15.1":0.01921,"15.2-15.3":0.01866,"15.4":0.02141,"15.5":0.02635,"15.6-15.8":0.26073,"16.0":0.05269,"16.1":0.10429,"16.2":0.05215,"16.3":0.08782,"16.4":0.01866,"16.5":0.03678,"16.6-16.7":0.31397,"17.0":0.02635,"17.1":0.04172,"17.2":0.03787,"17.3":0.05434,"17.4":0.11637,"17.5":0.55933,"17.6-17.7":2.97669,"18.0":0.37545,"18.1":0.01702},P:{"4":0.12234,"20":0.05097,"21":0.25487,"22":0.56071,"23":0.11214,"24":0.13253,"25":0.39759,"26":0.55052,"5.0-5.4":0.02039,"6.2-6.4":0.02039,"7.2-7.4":0.1937,_:"8.2 10.1 12.0","9.2":0.07136,"11.1-11.2":0.03058,"13.0":0.03058,"14.0":0.01019,"15.0":0.01019,"16.0":0.07136,"17.0":0.05097,"18.0":0.02039,"19.0":0.06117},I:{"0":0.04626,"3":0,"4":0,"2.1":0,"2.2":0,"2.3":0,"4.1":0,"4.2-4.3":0.00002,"4.4":0,"4.4.3-4.4.4":0.00007},K:{"0":0.92184,_:"10 11 12 11.1 11.5 12.1"},A:{"11":0.01814,_:"6 7 8 9 10 5.5"},N:{_:"10 11"},S:{_:"2.5 3.0-3.1"},J:{_:"7 10"},O:{"0":0.06185},H:{"0":0.06},L:{"0":71.13065},R:{_:"0"},M:{"0":0.36336},Q:{"14.9":0.00773}}; diff --git a/node_modules/caniuse-lite/data/regions/CV.js b/node_modules/caniuse-lite/data/regions/CV.js index dd06bef709..a70eae4db5 100644 --- a/node_modules/caniuse-lite/data/regions/CV.js +++ b/node_modules/caniuse-lite/data/regions/CV.js @@ -1 +1 @@ -module.exports={C:{"61":0.01021,"78":0.01021,"88":0.0034,"115":0.07148,"120":0.01021,"122":0.00681,"123":0.0034,"124":0.06468,"125":0.43571,"126":0.26892,"127":0.0034,_:"2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 79 80 81 82 83 84 85 86 87 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 116 117 118 119 121 128 129 3.5 3.6"},D:{"39":0.0034,"42":0.00681,"43":0.00681,"50":0.00681,"55":0.0034,"65":0.0034,"66":0.0034,"67":0.0034,"68":0.0034,"69":0.0034,"72":0.01021,"74":0.01362,"75":0.01702,"76":0.00681,"77":0.01021,"79":0.01021,"80":0.01021,"81":0.0034,"83":0.01362,"87":0.02723,"89":0.01362,"90":0.01702,"91":0.00681,"93":0.00681,"95":0.0034,"98":0.0034,"99":0.00681,"100":0.0034,"102":0.0034,"103":0.05787,"104":0.0034,"105":0.01362,"107":0.0034,"109":0.82717,"110":0.00681,"111":0.00681,"113":0.0885,"114":0.0034,"116":0.13956,"118":0.02723,"119":0.04085,"120":0.04766,"121":0.0817,"122":0.12935,"123":3.00914,"124":11.9957,"125":4.70773,"126":0.0034,_:"4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 40 41 44 45 46 47 48 49 51 52 53 54 56 57 58 59 60 61 62 63 64 70 71 73 78 84 85 86 88 92 94 96 97 101 106 108 112 115 117 127 128"},F:{"78":0.0034,"82":0.0034,"95":0.02042,"107":0.22807,"108":0.0034,"109":0.65016,"110":0.00681,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 60 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 79 80 81 83 84 85 86 87 88 89 90 91 92 93 94 96 97 98 99 100 101 102 103 104 105 106 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"16":0.0034,"18":0.0034,"83":0.0034,"92":0.01702,"96":0.0034,"98":0.0034,"100":0.0034,"107":0.03404,"108":0.02042,"109":0.01021,"110":0.01702,"112":0.0034,"113":0.0034,"114":0.0034,"115":0.01021,"118":0.0034,"119":0.13276,"120":0.09872,"121":0.02042,"122":0.28594,"123":0.15999,"124":4.26521,"125":1.74625,_:"12 13 14 15 17 79 80 81 84 85 86 87 88 89 90 91 93 94 95 97 99 101 102 103 104 105 106 111 116 117"},E:{"14":0.00681,_:"0 4 5 6 7 8 9 10 11 12 13 15 3.1 3.2 5.1 6.1 7.1 9.1 10.1 15.4 16.4 17.6","11.1":0.0034,"12.1":0.0034,"13.1":0.00681,"14.1":0.05787,"15.1":0.09531,"15.2-15.3":0.0034,"15.5":0.00681,"15.6":0.09191,"16.0":0.00681,"16.1":0.01021,"16.2":0.0034,"16.3":0.02042,"16.5":0.0034,"16.6":0.06127,"17.0":0.0034,"17.1":0.00681,"17.2":0.03744,"17.3":0.02383,"17.4":0.23147,"17.5":0.06127},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.00214,"5.0-5.1":0.00214,"6.0-6.1":0.00536,"7.0-7.1":0.0075,"8.1-8.4":0.00214,"9.0-9.2":0.00536,"9.3":0.02466,"10.0-10.2":0.00429,"10.3":0.03859,"11.0-11.2":0.05682,"11.3-11.4":0.01072,"12.0-12.1":0.00643,"12.2-12.5":0.15544,"13.0-13.1":0.00322,"13.2":0.01501,"13.3":0.0075,"13.4-13.7":0.0343,"14.0-14.4":0.05896,"14.5-14.8":0.09112,"15.0-15.1":0.04395,"15.2-15.3":0.04824,"15.4":0.05467,"15.5":0.06861,"15.6-15.8":0.61748,"16.0":0.14043,"16.1":0.28944,"16.2":0.14043,"16.3":0.24335,"16.4":0.05146,"16.5":0.10399,"16.6-16.7":0.82867,"17.0":0.09005,"17.1":0.14687,"17.2":0.1533,"17.3":0.28301,"17.4":6.42671,"17.5":0.45346,"17.6":0},P:{"4":0.42352,"20":0.03099,"21":0.07231,"22":0.06198,"23":0.14462,"24":0.39253,"25":1.05364,"5.0-5.4":0.01033,_:"6.2-6.4 8.2 9.2 10.1 12.0 14.0","7.2-7.4":0.09297,"11.1-11.2":0.34088,"13.0":0.01033,"15.0":0.11363,"16.0":0.04132,"17.0":0.01033,"18.0":0.03099,"19.0":0.07231},I:{"0":0.03943,"3":0,"4":0,"2.1":0,"2.2":0,"2.3":0,"4.1":0.00001,"4.2-4.3":0.00002,"4.4":0,"4.4.3-4.4.4":0.00009},K:{"0":0.18131,_:"10 11 12 11.1 11.5 12.1"},A:{"11":0.01021,_:"6 7 8 9 10 5.5"},S:{"2.5":0.05937,_:"3.0-3.1"},J:{_:"7 10"},N:{_:"10 11"},L:{"0":54.53252},R:{_:"0"},M:{"0":0.03958},Q:{_:"14.9"},O:{"0":0.15833},H:{"0":0.01}}; +module.exports={C:{"78":0.00586,"115":0.08497,"123":0.00293,"126":0.00293,"127":0.02344,"129":0.16701,"130":0.5567,"131":0.00293,_:"2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 116 117 118 119 120 121 122 124 125 128 132 133 134 135 3.5 3.6"},D:{"28":0.00293,"43":0.00586,"49":0.00293,"50":0.00293,"59":0.00293,"64":0.00293,"66":0.01172,"68":0.00293,"70":0.00293,"74":0.00293,"75":0.01172,"76":0.01172,"79":0.01465,"81":0.00293,"83":0.03223,"84":0.01465,"87":0.01172,"88":0.00293,"90":0.00293,"91":0.03516,"92":0.00293,"93":0.00586,"94":0.03809,"95":0.00293,"97":0.00293,"99":0.00879,"103":0.06739,"104":0.06153,"106":0.00586,"108":0.00293,"109":0.83505,"111":0.00293,"112":0.00293,"113":0.0586,"114":0.00586,"115":0.00293,"116":0.09669,"118":0.0293,"119":0.18752,"120":0.03809,"121":0.05274,"122":0.01758,"123":0.2344,"124":0.02051,"125":0.33695,"126":0.13478,"127":0.35746,"128":10.22277,"129":4.35691,"130":0.05567,_:"4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 29 30 31 32 33 34 35 36 37 38 39 40 41 42 44 45 46 47 48 51 52 53 54 55 56 57 58 60 61 62 63 65 67 69 71 72 73 77 78 80 85 86 89 96 98 100 101 102 105 107 110 117 131 132 133"},F:{"57":0.00293,"83":0.00293,"95":0.03809,"109":0.00293,"111":0.00586,"112":0.24319,"113":0.19045,"114":0.00293,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 58 60 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 84 85 86 87 88 89 90 91 92 93 94 96 97 98 99 100 101 102 103 104 105 106 107 108 110 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"12":0.00293,"18":0.00293,"84":0.00293,"85":0.00293,"89":0.00293,"90":0.00293,"92":0.01172,"99":0.00293,"100":0.00586,"107":0.00293,"109":0.02637,"110":0.00293,"113":0.00293,"115":0.00586,"118":0.01172,"119":0.15822,"120":0.00293,"121":0.02344,"122":0.05274,"124":0.59186,"125":0.00586,"126":0.03223,"127":0.10841,"128":4.01996,"129":2.15941,"130":0.00879,_:"13 14 15 16 17 79 80 81 83 86 87 88 91 93 94 95 96 97 98 101 102 103 104 105 106 108 111 112 114 116 117 123"},E:{"14":0.00293,_:"0 4 5 6 7 8 9 10 11 12 13 15 3.1 3.2 5.1 6.1 7.1 9.1 10.1 11.1 15.1 15.2-15.3 15.4 16.0 16.2 16.5 17.0","12.1":0.00293,"13.1":0.01172,"14.1":0.01758,"15.5":0.00293,"15.6":0.05567,"16.1":0.00293,"16.3":0.00879,"16.4":0.00293,"16.6":0.04688,"17.1":0.00293,"17.2":0.00293,"17.3":0.00293,"17.4":0.01465,"17.5":0.23733,"17.6":0.18752,"18.0":0.04981,"18.1":0.00879},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.00201,"5.0-5.1":0.00101,"6.0-6.1":0.00604,"7.0-7.1":0.00705,"8.1-8.4":0,"9.0-9.2":0.00604,"9.3":0.01712,"10.0-10.2":0.00504,"10.3":0.02921,"11.0-11.2":0.10778,"11.3-11.4":0.00806,"12.0-12.1":0.00504,"12.2-12.5":0.12189,"13.0-13.1":0.00201,"13.2":0.03828,"13.3":0.00504,"13.4-13.7":0.02015,"14.0-14.4":0.04634,"14.5-14.8":0.06145,"15.0-15.1":0.03526,"15.2-15.3":0.03425,"15.4":0.03929,"15.5":0.04835,"15.6-15.8":0.47848,"16.0":0.0967,"16.1":0.19139,"16.2":0.0957,"16.3":0.16117,"16.4":0.03425,"16.5":0.06749,"16.6-16.7":0.57619,"17.0":0.04835,"17.1":0.07656,"17.2":0.06951,"17.3":0.09973,"17.4":0.21355,"17.5":1.02647,"17.6-17.7":5.46276,"18.0":0.68902,"18.1":0.03123},P:{"4":0.20627,"20":0.04125,"21":0.13407,"22":0.06188,"23":0.09282,"24":0.22689,"25":0.25783,"26":1.03134,"5.0-5.4":0.01031,"6.2-6.4":0.01031,"7.2-7.4":0.12376,_:"8.2 10.1 12.0 14.0 17.0","9.2":0.01031,"11.1-11.2":0.14439,"13.0":0.01031,"15.0":0.22689,"16.0":0.03094,"18.0":0.01031,"19.0":0.13407},I:{"0":0.00705,"3":0,"4":0,"2.1":0,"2.2":0,"2.3":0,"4.1":0,"4.2-4.3":0,"4.4":0,"4.4.3-4.4.4":0.00001},K:{"0":0.12724,_:"10 11 12 11.1 11.5 12.1"},A:{_:"6 7 8 9 10 11 5.5"},N:{_:"10 11"},S:{_:"2.5 3.0-3.1"},J:{_:"7 10"},O:{"0":0.08483},H:{"0":0},L:{"0":59.93352},R:{_:"0"},M:{"0":0.04948},Q:{_:"14.9"}}; diff --git a/node_modules/caniuse-lite/data/regions/CX.js b/node_modules/caniuse-lite/data/regions/CX.js index 3ebfe8dd27..6808f890d9 100644 --- a/node_modules/caniuse-lite/data/regions/CX.js +++ b/node_modules/caniuse-lite/data/regions/CX.js @@ -1 +1 @@ -module.exports={C:{"125":2.3042,_:"2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 126 127 128 129 3.5 3.6"},D:{"108":0.26031,"122":0.26031,"124":47.43372,"125":0.26031,_:"4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 109 110 111 112 113 114 115 116 117 118 119 120 121 123 126 127 128"},F:{"109":31.79602,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 60 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 110 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"124":6.41127,"125":7.69352,_:"12 13 14 15 16 17 18 79 80 81 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123"},E:{_:"0 4 5 6 7 8 9 10 11 12 13 14 15 3.1 3.2 5.1 6.1 7.1 9.1 10.1 11.1 12.1 13.1 14.1 15.1 15.2-15.3 15.4 15.5 15.6 16.0 16.1 16.2 16.3 16.4 16.5 16.6 17.0 17.1 17.2 17.3 17.4 17.5 17.6"},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.00005,"5.0-5.1":0.00005,"6.0-6.1":0.00013,"7.0-7.1":0.00018,"8.1-8.4":0.00005,"9.0-9.2":0.00013,"9.3":0.00059,"10.0-10.2":0.0001,"10.3":0.00092,"11.0-11.2":0.00136,"11.3-11.4":0.00026,"12.0-12.1":0.00015,"12.2-12.5":0.00372,"13.0-13.1":0.00008,"13.2":0.00036,"13.3":0.00018,"13.4-13.7":0.00082,"14.0-14.4":0.00141,"14.5-14.8":0.00218,"15.0-15.1":0.00105,"15.2-15.3":0.00115,"15.4":0.00131,"15.5":0.00164,"15.6-15.8":0.01476,"16.0":0.00336,"16.1":0.00692,"16.2":0.00336,"16.3":0.00582,"16.4":0.00123,"16.5":0.00249,"16.6-16.7":0.01981,"17.0":0.00215,"17.1":0.00351,"17.2":0.00367,"17.3":0.00677,"17.4":0.15367,"17.5":0.01084,"17.6":0},P:{_:"4 20 21 22 23 24 25 5.0-5.4 6.2-6.4 7.2-7.4 8.2 9.2 10.1 11.1-11.2 12.0 13.0 14.0 15.0 16.0 17.0 18.0 19.0"},I:{"0":0,"3":0,"4":0,"2.1":0,"2.2":0,"2.3":0,"4.1":0,"4.2-4.3":0,"4.4":0,"4.4.3-4.4.4":0},K:{"0":0,_:"10 11 12 11.1 11.5 12.1"},A:{_:"6 7 8 9 10 11 5.5"},S:{_:"2.5 3.0-3.1"},J:{_:"7 10"},N:{_:"10 11"},L:{"0":3.33367},R:{_:"0"},M:{_:"0"},Q:{_:"14.9"},O:{_:"0"},H:{"0":0}}; +module.exports={C:{_:"2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 3.5 3.6"},D:{"100":4.8385,"128":51.60744,"129":8.06094,_:"4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 130 131 132 133"},F:{"112":20.97006,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 60 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 113 114 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"128":8.06094,"129":3.22244,_:"12 13 14 15 16 17 18 79 80 81 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 130"},E:{_:"0 4 5 6 7 8 9 10 11 12 13 14 15 3.1 3.2 5.1 6.1 7.1 9.1 10.1 11.1 12.1 13.1 14.1 15.1 15.2-15.3 15.4 15.5 15.6 16.0 16.1 16.2 16.3 16.4 16.5 16.6 17.0 17.1 17.2 17.3 17.4 17.5 17.6 18.0 18.1"},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0,"5.0-5.1":0,"6.0-6.1":0,"7.0-7.1":0,"8.1-8.4":0,"9.0-9.2":0,"9.3":0,"10.0-10.2":0,"10.3":0,"11.0-11.2":0,"11.3-11.4":0,"12.0-12.1":0,"12.2-12.5":0,"13.0-13.1":0,"13.2":0,"13.3":0,"13.4-13.7":0,"14.0-14.4":0,"14.5-14.8":0,"15.0-15.1":0,"15.2-15.3":0,"15.4":0,"15.5":0,"15.6-15.8":0,"16.0":0,"16.1":0,"16.2":0,"16.3":0,"16.4":0,"16.5":0,"16.6-16.7":0,"17.0":0,"17.1":0,"17.2":0,"17.3":0,"17.4":0,"17.5":0,"17.6-17.7":0,"18.0":0,"18.1":0},P:{_:"4 20 21 22 23 24 25 26 5.0-5.4 6.2-6.4 7.2-7.4 8.2 9.2 10.1 11.1-11.2 12.0 13.0 14.0 15.0 16.0 17.0 18.0 19.0"},I:{"0":0,"3":0,"4":0,"2.1":0,"2.2":0,"2.3":0,"4.1":0,"4.2-4.3":0,"4.4":0,"4.4.3-4.4.4":0},K:{"0":0,_:"10 11 12 11.1 11.5 12.1"},A:{_:"6 7 8 9 10 11 5.5"},N:{_:"10 11"},S:{_:"2.5 3.0-3.1"},J:{_:"7 10"},O:{_:"0"},H:{"0":0},L:{"0":3.23},R:{_:"0"},M:{_:"0"},Q:{_:"14.9"}}; diff --git a/node_modules/caniuse-lite/data/regions/CY.js b/node_modules/caniuse-lite/data/regions/CY.js index 1646a54edb..895b466ee5 100644 --- a/node_modules/caniuse-lite/data/regions/CY.js +++ b/node_modules/caniuse-lite/data/regions/CY.js @@ -1 +1 @@ -module.exports={C:{"52":0.01736,"78":0.00434,"80":0.00868,"92":0.00434,"94":0.00434,"102":0.00434,"105":0.00434,"108":0.00434,"111":0.00868,"114":0.00434,"115":0.18662,"119":0.00434,"120":0.00434,"122":0.48174,"123":0.00868,"124":0.0217,"125":0.87234,"126":0.651,_:"2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 79 81 82 83 84 85 86 87 88 89 90 91 93 95 96 97 98 99 100 101 103 104 106 107 109 110 112 113 116 117 118 121 127 128 129 3.5","3.6":0.00434},D:{"38":0.00434,"39":0.00434,"41":0.00434,"42":0.00434,"43":0.00434,"44":0.00434,"45":0.00434,"46":0.00434,"47":0.00434,"49":0.00868,"51":0.00868,"56":0.00434,"69":0.00434,"70":0.00434,"79":0.03906,"87":0.03472,"89":0.00434,"91":0.02604,"93":0.23002,"94":0.02604,"95":0.0217,"98":0.04774,"99":0.00868,"100":0.00434,"101":0.00434,"102":0.01302,"103":0.02604,"104":0.00434,"106":0.00868,"107":0.00868,"108":0.01302,"109":0.868,"110":0.00434,"111":0.00868,"112":0.0217,"113":0.08246,"114":0.01736,"115":0.00434,"116":0.0868,"117":0.02604,"118":0.03038,"119":0.03906,"120":0.09114,"121":0.10416,"122":0.2821,"123":1.3888,"124":19.29564,"125":7.41706,"126":0.02604,_:"4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 40 48 50 52 53 54 55 57 58 59 60 61 62 63 64 65 66 67 68 71 72 73 74 75 76 77 78 80 81 83 84 85 86 88 90 92 96 97 105 127 128"},F:{"78":0.00434,"94":0.00434,"95":0.00868,"107":0.16492,"108":0.01736,"109":0.82026,"110":0.04774,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 60 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 96 97 98 99 100 101 102 103 104 105 106 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"13":0.00434,"92":0.00434,"99":0.00434,"100":0.00434,"106":0.00434,"108":0.00434,"109":0.02604,"114":0.00868,"118":0.00434,"119":0.00434,"120":0.01736,"121":0.0217,"122":0.01302,"123":0.0868,"124":3.30274,"125":2.30454,_:"12 14 15 16 17 18 79 80 81 83 84 85 86 87 88 89 90 91 93 94 95 96 97 98 101 102 103 104 105 107 110 111 112 113 115 116 117"},E:{"9":0.01302,"14":0.01736,_:"0 4 5 6 7 8 10 11 12 13 15 3.1 3.2 5.1 6.1 7.1 9.1 10.1 11.1 17.6","12.1":0.00434,"13.1":0.26474,"14.1":0.11718,"15.1":0.1736,"15.2-15.3":0.00434,"15.4":0.00434,"15.5":0.01736,"15.6":0.20832,"16.0":0.02604,"16.1":0.02604,"16.2":0.01302,"16.3":0.05642,"16.4":0.01302,"16.5":0.0217,"16.6":0.20832,"17.0":0.02604,"17.1":0.0434,"17.2":0.07378,"17.3":0.06076,"17.4":1.05028,"17.5":0.1519},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.00255,"5.0-5.1":0.00255,"6.0-6.1":0.00637,"7.0-7.1":0.00892,"8.1-8.4":0.00255,"9.0-9.2":0.00637,"9.3":0.0293,"10.0-10.2":0.0051,"10.3":0.04587,"11.0-11.2":0.06753,"11.3-11.4":0.01274,"12.0-12.1":0.00764,"12.2-12.5":0.18474,"13.0-13.1":0.00382,"13.2":0.01784,"13.3":0.00892,"13.4-13.7":0.04077,"14.0-14.4":0.07007,"14.5-14.8":0.1083,"15.0-15.1":0.05224,"15.2-15.3":0.05733,"15.4":0.06498,"15.5":0.08154,"15.6-15.8":0.73386,"16.0":0.1669,"16.1":0.344,"16.2":0.1669,"16.3":0.28921,"16.4":0.06116,"16.5":0.12358,"16.6-16.7":0.98485,"17.0":0.10702,"17.1":0.17455,"17.2":0.18219,"17.3":0.33635,"17.4":7.63803,"17.5":0.53893,"17.6":0},P:{"4":0.08235,"20":0.01029,"21":0.04118,"22":0.07206,"23":0.1647,"24":0.37059,"25":4.16909,_:"5.0-5.4 7.2-7.4 8.2 10.1 11.1-11.2 12.0","6.2-6.4":0.01029,"9.2":0.01029,"13.0":0.01029,"14.0":0.01029,"15.0":0.01029,"16.0":0.01029,"17.0":0.01029,"18.0":0.01029,"19.0":0.04118},I:{"0":0.08457,"3":0,"4":0.00001,"2.1":0,"2.2":0,"2.3":0,"4.1":0.00002,"4.2-4.3":0.00005,"4.4":0,"4.4.3-4.4.4":0.00019},K:{"0":0.70184,_:"10 11 12 11.1 11.5 12.1"},A:{"8":0.03038,"9":0.00434,"10":0.00434,"11":0.05642,_:"6 7 5.5"},S:{"2.5":0.04528,_:"3.0-3.1"},J:{_:"7 10"},N:{_:"10 11"},L:{"0":37.0599},R:{_:"0"},M:{"0":0.18112},Q:{_:"14.9"},O:{"0":0.18112},H:{"0":0}}; +module.exports={C:{"52":0.00467,"75":0.00467,"77":0.00467,"78":0.00467,"92":0.00467,"102":0.00934,"103":0.00467,"105":0.00467,"108":0.00934,"115":0.17279,"119":0.00467,"125":0.00467,"126":0.00467,"127":0.16345,"128":0.00934,"129":0.24751,"130":1.54577,"131":0.00467,_:"2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 76 79 80 81 82 83 84 85 86 87 88 89 90 91 93 94 95 96 97 98 99 100 101 104 106 107 109 110 111 112 113 114 116 117 118 120 121 122 123 124 132 133 134 135 3.5 3.6"},D:{"38":0.01401,"49":0.00467,"68":0.00467,"78":0.00467,"79":0.03269,"81":0.00467,"83":0.01868,"85":0.01401,"86":0.00467,"87":0.06071,"88":0.01401,"89":0.00467,"90":0.00467,"91":0.02335,"94":0.00467,"95":0.02335,"98":0.0467,"99":0.00467,"101":0.00467,"102":0.02335,"103":0.05604,"104":0.00934,"105":0.00467,"106":0.00934,"107":0.00934,"108":0.01401,"109":0.96669,"110":0.00467,"111":0.07005,"112":0.00934,"113":0.00934,"114":0.00934,"115":0.00467,"116":0.08873,"117":0.00934,"118":0.02335,"119":0.02802,"120":0.08873,"121":0.05604,"122":0.24751,"123":0.33157,"124":0.29888,"125":0.05137,"126":0.22883,"127":1.98942,"128":20.10902,"129":6.60338,_:"4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 39 40 41 42 43 44 45 46 47 48 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 69 70 71 72 73 74 75 76 77 80 84 92 93 96 97 100 130 131 132 133"},F:{"46":0.00467,"78":0.01401,"84":0.00934,"94":0.00467,"95":0.04203,"106":0.00467,"109":0.00934,"111":0.00467,"112":0.49502,"113":0.30355,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 47 48 49 50 51 52 53 54 55 56 57 58 60 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 79 80 81 82 83 85 86 87 88 89 90 91 92 93 96 97 98 99 100 101 102 103 104 105 107 108 110 114 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"18":0.00467,"92":0.00467,"108":0.00467,"109":0.02335,"114":0.00467,"117":0.00467,"118":0.00467,"119":0.02802,"120":0.0467,"121":0.03736,"122":0.01401,"124":0.00467,"125":0.00934,"126":0.06071,"127":0.32223,"128":5.02492,"129":1.80262,_:"12 13 14 15 16 17 79 80 81 83 84 85 86 87 88 89 90 91 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 110 111 112 113 115 116 123 130"},E:{"14":0.00934,_:"0 4 5 6 7 8 9 10 11 12 13 15 3.1 3.2 5.1 6.1 7.1 10.1 12.1","9.1":0.00467,"11.1":0.00934,"13.1":0.21015,"14.1":0.04203,"15.1":0.00934,"15.2-15.3":0.00467,"15.4":0.00467,"15.5":0.01401,"15.6":0.14477,"16.0":0.00467,"16.1":0.03736,"16.2":0.00934,"16.3":0.03736,"16.4":0.01868,"16.5":0.00934,"16.6":0.12142,"17.0":0.01868,"17.1":0.03269,"17.2":0.03736,"17.3":0.02802,"17.4":0.06071,"17.5":0.20081,"17.6":0.9807,"18.0":0.17279,"18.1":0.01401},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.00267,"5.0-5.1":0.00133,"6.0-6.1":0.008,"7.0-7.1":0.00934,"8.1-8.4":0,"9.0-9.2":0.008,"9.3":0.02268,"10.0-10.2":0.00667,"10.3":0.03869,"11.0-11.2":0.14275,"11.3-11.4":0.01067,"12.0-12.1":0.00667,"12.2-12.5":0.16143,"13.0-13.1":0.00267,"13.2":0.0507,"13.3":0.00667,"13.4-13.7":0.02668,"14.0-14.4":0.06137,"14.5-14.8":0.08138,"15.0-15.1":0.04669,"15.2-15.3":0.04536,"15.4":0.05203,"15.5":0.06404,"15.6-15.8":0.6337,"16.0":0.12807,"16.1":0.25348,"16.2":0.12674,"16.3":0.21346,"16.4":0.04536,"16.5":0.08938,"16.6-16.7":0.7631,"17.0":0.06404,"17.1":0.10139,"17.2":0.09205,"17.3":0.13208,"17.4":0.28283,"17.5":1.35945,"17.6-17.7":7.23482,"18.0":0.91252,"18.1":0.04136},P:{"4":0.04137,"20":0.01034,"21":0.03103,"22":0.05171,"23":0.09308,"24":0.05171,"25":0.41368,"26":3.53696,_:"5.0-5.4 7.2-7.4 8.2 9.2 10.1 11.1-11.2 12.0 14.0 15.0","6.2-6.4":0.01034,"13.0":0.01034,"16.0":0.01034,"17.0":0.04137,"18.0":0.02068,"19.0":0.01034},I:{"0":0.03721,"3":0,"4":0,"2.1":0,"2.2":0,"2.3":0,"4.1":0,"4.2-4.3":0.00001,"4.4":0,"4.4.3-4.4.4":0.00006},K:{"0":0.57564,_:"10 11 12 11.1 11.5 12.1"},A:{"8":0.00467,"9":0.00467,"11":0.03269,_:"6 7 10 5.5"},N:{_:"10 11"},S:{"2.5":0.06929,_:"3.0-3.1"},J:{_:"7 10"},O:{"0":0.26117},H:{"0":0},L:{"0":35.6869},R:{_:"0"},M:{"0":0.3198},Q:{"14.9":0.00533}}; diff --git a/node_modules/caniuse-lite/data/regions/CZ.js b/node_modules/caniuse-lite/data/regions/CZ.js index 66fa39b69b..061daa9ce2 100644 --- a/node_modules/caniuse-lite/data/regions/CZ.js +++ b/node_modules/caniuse-lite/data/regions/CZ.js @@ -1 +1 @@ -module.exports={C:{"52":0.08993,"56":0.00999,"60":0.005,"65":0.005,"68":0.005,"72":0.005,"75":0.005,"78":0.01998,"81":0.005,"83":0.00999,"88":0.005,"91":0.005,"96":0.005,"97":0.005,"99":0.005,"100":0.03997,"102":0.01499,"103":0.01499,"105":0.00999,"106":0.005,"107":0.01499,"108":0.005,"109":0.005,"110":0.005,"111":0.005,"112":0.005,"113":0.01998,"114":0.00999,"115":0.72442,"116":0.00999,"117":0.00999,"118":0.00999,"119":0.00999,"120":0.01499,"121":0.03497,"122":0.01998,"123":0.06495,"124":0.21982,"125":2.78277,"126":2.77778,"127":0.005,_:"2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 53 54 55 57 58 59 61 62 63 64 66 67 69 70 71 73 74 76 77 79 80 82 84 85 86 87 89 90 92 93 94 95 98 101 104 128 129 3.5 3.6"},D:{"38":0.005,"41":0.005,"49":0.01499,"68":0.005,"70":0.005,"71":0.005,"74":0.005,"79":0.03997,"80":0.005,"81":0.00999,"83":0.005,"84":0.005,"85":0.01998,"86":0.005,"87":0.03997,"88":0.005,"89":0.01998,"90":0.005,"91":0.00999,"93":0.00999,"94":0.03997,"95":0.00999,"96":0.005,"97":0.005,"98":0.00999,"99":0.005,"100":0.005,"101":0.005,"102":0.25979,"103":0.13489,"104":0.02998,"105":0.005,"106":0.01499,"107":0.01499,"108":0.1299,"109":1.19904,"110":0.01499,"111":0.02498,"112":0.01998,"113":0.07994,"114":0.10492,"115":0.02498,"116":0.07494,"117":0.07494,"118":0.04996,"119":0.05496,"120":0.91926,"121":0.11491,"122":0.31974,"123":0.88929,"124":16.44683,"125":6.78956,"126":0.005,_:"4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 39 40 42 43 44 45 46 47 48 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 69 72 73 75 76 77 78 92 127 128"},F:{"46":0.005,"75":0.005,"79":0.005,"84":0.005,"85":0.01499,"95":0.13489,"106":0.005,"107":0.41467,"108":0.01499,"109":2.22322,"110":0.1249,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 47 48 49 50 51 52 53 54 55 56 57 58 60 62 63 64 65 66 67 68 69 70 71 72 73 74 76 77 78 80 81 82 83 86 87 88 89 90 91 92 93 94 96 97 98 99 100 101 102 103 104 105 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"16":0.005,"18":0.005,"92":0.005,"105":0.005,"107":0.005,"108":0.00999,"109":0.10492,"111":0.005,"112":0.005,"113":0.005,"114":0.01998,"116":0.005,"117":0.005,"118":0.08993,"119":0.00999,"120":0.04996,"121":0.04996,"122":0.05995,"123":0.20983,"124":4.45643,"125":2.8677,_:"12 13 14 15 17 79 80 81 83 84 85 86 87 88 89 90 91 93 94 95 96 97 98 99 100 101 102 103 104 106 110 115"},E:{"9":0.005,"13":0.005,"14":0.01998,_:"0 4 5 6 7 8 10 11 12 15 3.1 3.2 5.1 6.1 7.1 9.1 10.1 11.1 12.1 17.6","13.1":0.05995,"14.1":0.04496,"15.1":0.01499,"15.2-15.3":0.005,"15.4":0.01998,"15.5":0.03997,"15.6":0.15987,"16.0":0.02498,"16.1":0.03497,"16.2":0.03497,"16.3":0.05496,"16.4":0.01499,"16.5":0.06994,"16.6":0.17986,"17.0":0.03497,"17.1":0.05995,"17.2":0.06495,"17.3":0.07994,"17.4":1.05416,"17.5":0.18485},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.00196,"5.0-5.1":0.00196,"6.0-6.1":0.0049,"7.0-7.1":0.00686,"8.1-8.4":0.00196,"9.0-9.2":0.0049,"9.3":0.02254,"10.0-10.2":0.00392,"10.3":0.03528,"11.0-11.2":0.05194,"11.3-11.4":0.0098,"12.0-12.1":0.00588,"12.2-12.5":0.1421,"13.0-13.1":0.00294,"13.2":0.01372,"13.3":0.00686,"13.4-13.7":0.03136,"14.0-14.4":0.0539,"14.5-14.8":0.0833,"15.0-15.1":0.04018,"15.2-15.3":0.0441,"15.4":0.04998,"15.5":0.06272,"15.6-15.8":0.56447,"16.0":0.12838,"16.1":0.26459,"16.2":0.12838,"16.3":0.22246,"16.4":0.04704,"16.5":0.09506,"16.6-16.7":0.75752,"17.0":0.08232,"17.1":0.13426,"17.2":0.14014,"17.3":0.25871,"17.4":5.87497,"17.5":0.41453,"17.6":0},P:{"4":0.05179,"20":0.02071,"21":0.05179,"22":0.04143,"23":0.145,"24":0.2175,"25":2.68255,_:"5.0-5.4 7.2-7.4 8.2 9.2 10.1 12.0 15.0 18.0","6.2-6.4":0.01036,"11.1-11.2":0.01036,"13.0":0.01036,"14.0":0.01036,"16.0":0.01036,"17.0":0.01036,"19.0":0.01036},I:{"0":0.1047,"3":0,"4":0.00001,"2.1":0,"2.2":0,"2.3":0,"4.1":0.00002,"4.2-4.3":0.00006,"4.4":0,"4.4.3-4.4.4":0.00023},K:{"0":0.61063,_:"10 11 12 11.1 11.5 12.1"},A:{"8":0.01071,"10":0.01606,"11":0.04818,_:"6 7 9 5.5"},S:{_:"2.5 3.0-3.1"},J:{_:"7 10"},N:{_:"10 11"},L:{"0":36.15405},R:{_:"0"},M:{"0":0.45045},Q:{_:"14.9"},O:{"0":0.0951},H:{"0":0.02}}; +module.exports={C:{"48":0.00477,"51":0.00477,"52":0.04774,"56":0.01432,"78":0.01432,"83":0.01432,"88":0.00477,"91":0.00477,"96":0.00477,"99":0.00477,"100":0.07638,"102":0.00955,"103":0.00477,"105":0.00477,"106":0.00477,"108":0.00477,"110":0.00477,"113":0.01432,"114":0.00477,"115":0.72565,"116":0.00477,"117":0.00477,"118":0.00477,"120":0.0191,"121":0.00955,"122":0.00477,"123":0.04297,"124":0.00955,"125":0.01432,"126":0.02387,"127":0.04297,"128":0.09071,"129":0.9357,"130":4.64033,"131":0.00477,_:"2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 49 50 53 54 55 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 79 80 81 82 84 85 86 87 89 90 92 93 94 95 97 98 101 104 107 109 111 112 119 132 133 134 135 3.5 3.6"},D:{"49":0.00955,"51":0.00477,"74":0.01432,"79":0.04297,"80":0.00477,"85":0.00477,"86":0.00477,"87":0.0191,"88":0.00477,"89":0.00477,"90":0.00477,"91":0.00477,"94":0.02864,"95":0.00477,"96":0.00477,"97":0.00477,"98":0.00477,"99":0.00955,"100":0.00477,"101":0.01432,"102":0.28644,"103":0.02864,"104":0.00955,"105":0.00477,"106":0.00955,"107":0.01432,"108":0.03819,"109":1.16486,"110":0.00955,"111":0.00955,"112":0.00955,"113":0.08593,"114":0.10503,"115":0.00955,"116":0.06206,"117":0.03819,"118":0.02864,"119":0.03819,"120":0.4774,"121":0.03342,"122":0.13367,"123":0.07161,"124":0.09071,"125":0.15754,"126":0.2196,"127":0.99777,"128":16.43211,"129":5.41372,"130":0.00477,_:"4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 50 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 75 76 77 78 81 83 84 92 93 131 132 133"},F:{"46":0.00477,"65":0.00955,"69":0.00477,"75":0.00477,"79":0.00477,"83":0.00477,"84":0.03819,"85":0.01432,"95":0.09071,"99":0.00477,"105":0.00955,"109":0.03342,"110":0.00477,"111":0.00955,"112":1.35104,"113":0.95003,"114":0.01432,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 47 48 49 50 51 52 53 54 55 56 57 58 60 62 63 64 66 67 68 70 71 72 73 74 76 77 78 80 81 82 86 87 88 89 90 91 92 93 94 96 97 98 100 101 102 103 104 106 107 108 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"92":0.00477,"105":0.00477,"107":0.00477,"108":0.00955,"109":0.08593,"110":0.00477,"111":0.00477,"112":0.00477,"114":0.0191,"116":0.00477,"118":0.27212,"119":0.00477,"120":0.0191,"121":0.00955,"122":0.01432,"123":0.00955,"124":0.02864,"125":0.02387,"126":0.1098,"127":0.22915,"128":5.60945,"129":1.98121,"130":0.00477,_:"12 13 14 15 16 17 18 79 80 81 83 84 85 86 87 88 89 90 91 93 94 95 96 97 98 99 100 101 102 103 104 106 113 115 117"},E:{"9":0.00477,"13":0.00477,"14":0.00955,_:"0 4 5 6 7 8 10 11 12 15 3.1 3.2 5.1 6.1 7.1 9.1 10.1 11.1 12.1","13.1":0.0191,"14.1":0.04297,"15.1":0.00477,"15.2-15.3":0.00477,"15.4":0.00955,"15.5":0.03342,"15.6":0.12412,"16.0":0.0191,"16.1":0.02864,"16.2":0.02387,"16.3":0.03819,"16.4":0.00955,"16.5":0.02387,"16.6":0.16709,"17.0":0.02864,"17.1":0.03342,"17.2":0.03819,"17.3":0.04774,"17.4":0.06684,"17.5":0.2387,"17.6":1.00731,"18.0":0.19096,"18.1":0.00955},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.00202,"5.0-5.1":0.00101,"6.0-6.1":0.00607,"7.0-7.1":0.00709,"8.1-8.4":0,"9.0-9.2":0.00607,"9.3":0.01721,"10.0-10.2":0.00506,"10.3":0.02936,"11.0-11.2":0.10831,"11.3-11.4":0.0081,"12.0-12.1":0.00506,"12.2-12.5":0.12249,"13.0-13.1":0.00202,"13.2":0.03847,"13.3":0.00506,"13.4-13.7":0.02025,"14.0-14.4":0.04656,"14.5-14.8":0.06175,"15.0-15.1":0.03543,"15.2-15.3":0.03442,"15.4":0.03948,"15.5":0.04859,"15.6-15.8":0.48083,"16.0":0.09718,"16.1":0.19233,"16.2":0.09617,"16.3":0.16196,"16.4":0.03442,"16.5":0.06782,"16.6-16.7":0.57902,"17.0":0.04859,"17.1":0.07693,"17.2":0.06985,"17.3":0.10022,"17.4":0.2146,"17.5":1.03151,"17.6-17.7":5.48957,"18.0":0.6924,"18.1":0.03138},P:{"4":0.04152,"20":0.02076,"21":0.02076,"22":0.03114,"23":0.0519,"24":0.04152,"25":0.21799,"26":2.55364,_:"5.0-5.4 7.2-7.4 8.2 9.2 10.1 11.1-11.2 12.0 15.0 16.0 18.0","6.2-6.4":0.01038,"13.0":0.01038,"14.0":0.01038,"17.0":0.01038,"19.0":0.01038},I:{"0":0.15636,"3":0,"4":0,"2.1":0,"2.2":0,"2.3":0,"4.1":0.00002,"4.2-4.3":0.00006,"4.4":0,"4.4.3-4.4.4":0.00025},K:{"0":0.53305,_:"10 11 12 11.1 11.5 12.1"},A:{"8":0.0105,"11":0.04201,_:"6 7 9 10 5.5"},N:{_:"10 11"},S:{_:"2.5 3.0-3.1"},J:{_:"7 10"},O:{"0":0.12542},H:{"0":0},L:{"0":38.16172},R:{_:"0"},M:{"0":0.43376},Q:{"14.9":0.00523}}; diff --git a/node_modules/caniuse-lite/data/regions/DE.js b/node_modules/caniuse-lite/data/regions/DE.js index 47928dd9f3..91d0142bb2 100644 --- a/node_modules/caniuse-lite/data/regions/DE.js +++ b/node_modules/caniuse-lite/data/regions/DE.js @@ -1 +1 @@ -module.exports={C:{"37":0.00549,"38":0.01098,"40":0.00549,"47":0.00549,"48":0.01098,"50":0.1373,"52":0.14279,"53":0.09886,"56":0.08238,"59":0.01098,"68":0.00549,"72":0.00549,"77":0.01098,"78":0.02746,"82":0.00549,"83":0.00549,"87":0.00549,"88":0.01648,"91":0.01098,"92":0.00549,"98":0.00549,"99":0.00549,"101":0.00549,"102":0.22517,"103":0.01098,"104":0.00549,"105":0.00549,"106":0.01098,"107":0.00549,"108":0.01098,"109":0.00549,"110":0.00549,"111":0.01098,"112":0.00549,"113":0.01648,"114":0.00549,"115":0.99405,"116":0.01098,"117":0.01648,"118":0.03295,"119":0.01098,"120":0.01648,"121":0.03844,"122":0.04943,"123":0.04943,"124":0.2032,"125":3.60275,"126":3.12495,"127":0.00549,_:"2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 39 41 42 43 44 45 46 49 51 54 55 57 58 60 61 62 63 64 65 66 67 69 70 71 73 74 75 76 79 80 81 84 85 86 89 90 93 94 95 96 97 100 128 129 3.5 3.6"},D:{"38":0.00549,"41":0.00549,"43":0.04394,"49":0.01648,"51":0.00549,"52":0.00549,"56":0.00549,"58":0.00549,"61":0.00549,"66":0.06041,"76":0.01648,"77":0.02197,"79":0.03295,"80":0.01098,"81":0.02746,"83":0.00549,"84":0.00549,"85":0.01098,"86":0.02746,"87":0.03295,"88":0.01098,"89":0.02197,"90":0.00549,"91":0.0714,"92":0.00549,"93":0.08238,"94":0.0659,"95":0.00549,"96":0.01648,"97":0.01098,"98":0.01098,"99":0.02746,"100":0.00549,"101":0.01098,"102":0.01648,"103":0.2032,"104":0.03295,"105":0.02197,"106":0.38993,"107":0.03295,"108":0.04943,"109":0.8952,"110":0.02746,"111":0.04943,"112":0.03295,"113":0.10984,"114":0.08787,"115":0.13181,"116":0.09336,"117":0.04394,"118":0.09336,"119":0.18673,"120":0.14279,"121":5.84349,"122":0.31854,"123":1.39497,"124":13.75197,"125":4.52541,"126":0.00549,_:"4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 39 40 42 44 45 46 47 48 50 53 54 55 57 59 60 62 63 64 65 67 68 69 70 71 72 73 74 75 78 127 128"},F:{"46":0.01098,"95":0.0659,"102":0.00549,"106":0.02197,"107":0.54371,"108":0.03844,"109":2.1968,"110":0.1373,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 47 48 49 50 51 52 53 54 55 56 57 58 60 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 96 97 98 99 100 101 103 104 105 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6","12.1":0.00549},B:{"17":0.01098,"18":0.00549,"90":0.00549,"92":0.00549,"98":0.00549,"100":0.00549,"101":0.00549,"105":0.00549,"106":0.00549,"107":0.01098,"108":0.01098,"109":0.12632,"110":0.00549,"111":0.04943,"112":0.01098,"113":0.00549,"114":0.01648,"115":0.01098,"116":0.01098,"117":0.01098,"118":0.01098,"119":0.01648,"120":0.03295,"121":0.03844,"122":0.08787,"123":0.24165,"124":4.81099,"125":2.64714,_:"12 13 14 15 16 79 80 81 83 84 85 86 87 88 89 91 93 94 95 96 97 99 102 103 104"},E:{"7":0.04943,"8":0.00549,"14":0.02197,"15":0.00549,_:"0 4 5 6 9 10 11 12 13 3.1 3.2 6.1 7.1 9.1 10.1 17.6","5.1":0.00549,"11.1":0.01648,"12.1":0.01098,"13.1":0.05492,"14.1":0.07689,"15.1":0.01098,"15.2-15.3":0.01098,"15.4":0.02197,"15.5":0.02746,"15.6":0.30206,"16.0":0.08238,"16.1":0.05492,"16.2":0.04943,"16.3":0.10435,"16.4":0.02746,"16.5":0.04943,"16.6":0.35149,"17.0":0.04394,"17.1":0.07689,"17.2":0.10435,"17.3":0.11533,"17.4":1.99909,"17.5":0.33501},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.00263,"5.0-5.1":0.00263,"6.0-6.1":0.00656,"7.0-7.1":0.00919,"8.1-8.4":0.00263,"9.0-9.2":0.00656,"9.3":0.0302,"10.0-10.2":0.00525,"10.3":0.04726,"11.0-11.2":0.06958,"11.3-11.4":0.01313,"12.0-12.1":0.00788,"12.2-12.5":0.19037,"13.0-13.1":0.00394,"13.2":0.01838,"13.3":0.00919,"13.4-13.7":0.04201,"14.0-14.4":0.07221,"14.5-14.8":0.1116,"15.0-15.1":0.05383,"15.2-15.3":0.05908,"15.4":0.06696,"15.5":0.08402,"15.6-15.8":0.75622,"16.0":0.17199,"16.1":0.35448,"16.2":0.17199,"16.3":0.29803,"16.4":0.06302,"16.5":0.12735,"16.6-16.7":1.01486,"17.0":0.11028,"17.1":0.17987,"17.2":0.18774,"17.3":0.3466,"17.4":7.87077,"17.5":0.55535,"17.6":0},P:{"4":0.08483,"20":0.04241,"21":0.08483,"22":0.06362,"23":0.13784,"24":0.3181,"25":3.50973,_:"5.0-5.4 8.2 9.2 10.1 12.0","6.2-6.4":0.0106,"7.2-7.4":0.0106,"11.1-11.2":0.0106,"13.0":0.02121,"14.0":0.0106,"15.0":0.0106,"16.0":0.02121,"17.0":0.02121,"18.0":0.0106,"19.0":0.02121},I:{"0":0.0404,"3":0,"4":0,"2.1":0,"2.2":0,"2.3":0,"4.1":0.00001,"4.2-4.3":0.00002,"4.4":0,"4.4.3-4.4.4":0.00009},K:{"0":0.72563,_:"10 11 12 11.1 11.5 12.1"},A:{"8":0.01148,"9":0.00574,"11":0.10909,_:"6 7 10 5.5"},S:{_:"2.5 3.0-3.1"},J:{_:"7 10"},N:{_:"10 11"},L:{"0":25.70922},R:{_:"0"},M:{"0":0.95548},Q:{"14.9":0.00451},O:{"0":0.15324},H:{"0":0}}; +module.exports={C:{"4":0.00492,"38":0.00984,"40":0.00492,"48":0.00984,"50":0.00984,"51":0.00492,"52":0.06887,"53":0.00492,"55":0.00492,"56":0.01476,"59":0.00984,"60":0.00492,"66":0.00984,"68":0.00492,"72":0.00984,"77":0.00984,"78":0.0246,"82":0.00492,"83":0.00492,"88":0.00984,"90":0.00492,"91":0.01476,"95":0.00492,"96":0.00492,"98":0.00984,"99":0.00492,"100":0.00492,"101":0.00492,"102":0.01968,"103":0.00984,"105":0.00492,"106":0.00492,"107":0.00492,"108":0.00984,"109":0.00984,"110":0.00492,"111":0.00984,"112":0.00492,"113":0.01476,"114":0.00492,"115":1.08218,"116":0.00984,"117":0.01476,"118":0.03935,"119":0.01968,"120":0.0246,"121":0.0246,"122":0.04919,"123":0.01476,"124":0.01968,"125":0.0246,"126":0.0246,"127":0.06395,"128":0.12789,"129":1.24943,"130":6.07005,"131":0.00984,_:"2 3 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 39 41 42 43 44 45 46 47 49 54 57 58 61 62 63 64 65 67 69 70 71 73 74 75 76 79 80 81 84 85 86 87 89 92 93 94 97 104 132 133 134 135 3.5 3.6"},D:{"38":0.00492,"49":0.01476,"52":0.01968,"56":0.05411,"57":0.00492,"58":0.00984,"66":0.04427,"76":0.00492,"77":0.01968,"79":0.03443,"80":0.03443,"81":0.02951,"83":0.00984,"84":0.00492,"85":0.01476,"86":0.00984,"87":0.05411,"88":0.01968,"89":0.0246,"90":0.00984,"91":0.06887,"92":0.00492,"93":0.03443,"94":0.05411,"95":0.00492,"96":0.00984,"97":0.02951,"98":0.00984,"99":0.01968,"100":0.00492,"101":0.00492,"102":0.00984,"103":0.15741,"104":0.02951,"105":0.01476,"106":0.06887,"107":0.03935,"108":0.09346,"109":0.65423,"110":0.03443,"111":0.04427,"112":0.03443,"113":0.0787,"114":0.07379,"115":0.03935,"116":0.1033,"117":0.03443,"118":0.13281,"119":0.04919,"120":0.11806,"121":0.35417,"122":0.13281,"123":0.14265,"124":0.37876,"125":0.13773,"126":0.45255,"127":1.02315,"128":11.05299,"129":4.96327,"130":0.00984,_:"4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 39 40 41 42 43 44 45 46 47 48 50 51 53 54 55 59 60 61 62 63 64 65 67 68 69 70 71 72 73 74 75 78 131 132 133"},F:{"44":0.00984,"46":0.00984,"83":0.00492,"84":0.0246,"93":0.00492,"94":0.00492,"95":0.04919,"102":0.00492,"106":0.00492,"109":0.03443,"111":0.00984,"112":1.75116,"113":1.81019,"114":0.01968,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 45 47 48 49 50 51 52 53 54 55 56 57 58 60 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 85 86 87 88 89 90 91 92 96 97 98 99 100 101 103 104 105 107 108 110 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6","12.1":0.00492},B:{"17":0.00492,"92":0.00984,"100":0.00492,"101":0.00492,"105":0.00492,"106":0.00492,"107":0.00984,"108":0.00984,"109":0.11806,"110":0.00984,"111":0.03443,"112":0.00984,"113":0.00492,"114":0.00984,"115":0.00492,"116":0.00492,"117":0.00492,"118":0.00984,"119":0.00984,"120":0.03443,"121":0.03443,"122":0.0246,"123":0.01476,"124":0.01968,"125":0.02951,"126":0.14265,"127":0.26563,"128":5.26333,"129":2.59231,"130":0.00492,_:"12 13 14 15 16 18 79 80 81 83 84 85 86 87 88 89 90 91 93 94 95 96 97 98 99 102 103 104"},E:{"7":0.00984,"8":0.00492,"10":0.01476,"13":0.00492,"14":0.01968,"15":0.00492,_:"0 4 5 6 9 11 12 3.1 3.2 6.1 7.1 9.1 10.1","5.1":0.00492,"11.1":0.00984,"12.1":0.00984,"13.1":0.04919,"14.1":0.07379,"15.1":0.00984,"15.2-15.3":0.00984,"15.4":0.01968,"15.5":0.02951,"15.6":0.26563,"16.0":0.08854,"16.1":0.04919,"16.2":0.04427,"16.3":0.09838,"16.4":0.0246,"16.5":0.04427,"16.6":0.31482,"17.0":0.02951,"17.1":0.05903,"17.2":0.05411,"17.3":0.05903,"17.4":0.17708,"17.5":0.52633,"17.6":2.43982,"18.0":0.52141,"18.1":0.01968},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.00302,"5.0-5.1":0.00151,"6.0-6.1":0.00906,"7.0-7.1":0.01057,"8.1-8.4":0,"9.0-9.2":0.00906,"9.3":0.02567,"10.0-10.2":0.00755,"10.3":0.04379,"11.0-11.2":0.16158,"11.3-11.4":0.01208,"12.0-12.1":0.00755,"12.2-12.5":0.18272,"13.0-13.1":0.00302,"13.2":0.05738,"13.3":0.00755,"13.4-13.7":0.0302,"14.0-14.4":0.06946,"14.5-14.8":0.09211,"15.0-15.1":0.05285,"15.2-15.3":0.05134,"15.4":0.05889,"15.5":0.07248,"15.6-15.8":0.71728,"16.0":0.14497,"16.1":0.28691,"16.2":0.14346,"16.3":0.24161,"16.4":0.05134,"16.5":0.10117,"16.6-16.7":0.86376,"17.0":0.07248,"17.1":0.11477,"17.2":0.1042,"17.3":0.1495,"17.4":0.32014,"17.5":1.53876,"17.6-17.7":8.18913,"18.0":1.03289,"18.1":0.04681},P:{"4":0.08427,"20":0.02107,"21":0.07374,"22":0.06321,"23":0.08427,"24":0.09481,"25":0.32657,"26":3.57115,_:"5.0-5.4 8.2 9.2 10.1 12.0 15.0","6.2-6.4":0.01053,"7.2-7.4":0.01053,"11.1-11.2":0.01053,"13.0":0.01053,"14.0":0.01053,"16.0":0.02107,"17.0":0.02107,"18.0":0.01053,"19.0":0.02107},I:{"0":0.0304,"3":0,"4":0,"2.1":0,"2.2":0,"2.3":0,"4.1":0,"4.2-4.3":0.00001,"4.4":0,"4.4.3-4.4.4":0.00005},K:{"0":0.73166,_:"10 11 12 11.1 11.5 12.1"},A:{"8":0.00525,"11":0.07346,_:"6 7 9 10 5.5"},N:{_:"10 11"},S:{_:"2.5 3.0-3.1"},J:{_:"7 10"},O:{"0":0.20832},H:{"0":0},L:{"0":29.06064},R:{_:"0"},M:{"0":1.11782},Q:{"14.9":0.01524}}; diff --git a/node_modules/caniuse-lite/data/regions/DJ.js b/node_modules/caniuse-lite/data/regions/DJ.js index d76ef038f0..9c1e9bf2e3 100644 --- a/node_modules/caniuse-lite/data/regions/DJ.js +++ b/node_modules/caniuse-lite/data/regions/DJ.js @@ -1 +1 @@ -module.exports={C:{"97":0.00558,"106":0.00186,"109":0.01301,"110":0.00558,"111":0.00372,"115":0.32161,"119":0.0316,"121":0.01301,"123":0.03532,"124":0.01301,"125":0.5168,"126":0.50379,_:"2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 98 99 100 101 102 103 104 105 107 108 112 113 114 116 117 118 120 122 127 128 129 3.5 3.6"},D:{"35":0.00186,"44":0.00186,"46":0.00558,"49":0.00372,"63":0.00372,"65":0.04462,"68":0.01487,"70":0.01487,"75":0.00186,"78":0.00744,"79":0.00372,"81":0.00558,"86":0.00186,"87":0.01301,"89":0.02045,"91":0.04276,"95":0.00186,"96":0.00558,"98":0.0093,"99":0.03904,"100":0.00372,"103":0.01115,"104":0.00186,"105":0.01487,"106":0.00558,"107":0.00372,"108":0.00372,"109":1.2195,"110":0.0093,"111":0.00372,"114":0.01115,"115":0.00558,"116":0.02789,"117":0.0093,"118":0.00558,"119":0.03346,"120":0.03718,"121":0.04276,"122":0.08737,"123":0.28257,"124":8.34319,"125":2.50221,"126":0.00186,"127":0.00186,_:"4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 36 37 38 39 40 41 42 43 45 47 48 50 51 52 53 54 55 56 57 58 59 60 61 62 64 66 67 69 71 72 73 74 76 77 80 83 84 85 88 90 92 93 94 97 101 102 112 113 128"},F:{"68":0.00558,"79":0.00186,"107":0.03346,"108":0.00372,"109":0.17475,"110":0.01301,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 60 62 63 64 65 66 67 69 70 71 72 73 74 75 76 77 78 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"12":0.00186,"14":0.01859,"16":0.00186,"17":0.04462,"18":0.0409,"84":0.00372,"89":0.00372,"90":0.00372,"92":0.05577,"100":0.00744,"109":0.02417,"110":0.00186,"111":0.0093,"114":0.00372,"116":0.00186,"118":0.00186,"119":0.00558,"120":0.0316,"121":0.04648,"122":0.07436,"123":0.08551,"124":1.58759,"125":0.60418,_:"13 15 79 80 81 83 85 86 87 88 91 93 94 95 96 97 98 99 101 102 103 104 105 106 107 108 112 113 115 117"},E:{"14":0.00186,_:"0 4 5 6 7 8 9 10 11 12 13 15 3.1 3.2 5.1 6.1 7.1 9.1 10.1 11.1 12.1 15.4 15.5 16.0 16.2 17.0 17.6","13.1":0.01115,"14.1":0.01487,"15.1":0.02603,"15.2-15.3":0.00186,"15.6":0.01487,"16.1":0.00372,"16.3":0.00186,"16.4":0.00372,"16.5":0.00744,"16.6":0.05949,"17.1":0.02974,"17.2":0.00744,"17.3":0.01301,"17.4":0.18218,"17.5":0.00372},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.00114,"5.0-5.1":0.00114,"6.0-6.1":0.00285,"7.0-7.1":0.00399,"8.1-8.4":0.00114,"9.0-9.2":0.00285,"9.3":0.01313,"10.0-10.2":0.00228,"10.3":0.02054,"11.0-11.2":0.03025,"11.3-11.4":0.00571,"12.0-12.1":0.00342,"12.2-12.5":0.08275,"13.0-13.1":0.00171,"13.2":0.00799,"13.3":0.00399,"13.4-13.7":0.01826,"14.0-14.4":0.03139,"14.5-14.8":0.04851,"15.0-15.1":0.0234,"15.2-15.3":0.02568,"15.4":0.0291,"15.5":0.03652,"15.6-15.8":0.32871,"16.0":0.07476,"16.1":0.15408,"16.2":0.07476,"16.3":0.12955,"16.4":0.02739,"16.5":0.05536,"16.6-16.7":0.44114,"17.0":0.04794,"17.1":0.07818,"17.2":0.08161,"17.3":0.15066,"17.4":3.42125,"17.5":0.2414,"17.6":0},P:{"4":0.0907,"20":0.17133,"21":0.13101,"22":0.36281,"23":0.47367,"24":1.3303,"25":2.37842,_:"5.0-5.4 8.2 10.1 14.0","6.2-6.4":0.01008,"7.2-7.4":0.62484,"9.2":0.06047,"11.1-11.2":0.03023,"12.0":0.04031,"13.0":0.01008,"15.0":0.01008,"16.0":0.01008,"17.0":0.02016,"18.0":0.04031,"19.0":0.26203},I:{"0":0.39735,"3":0,"4":0.00004,"2.1":0,"2.2":0,"2.3":0,"4.1":0.00008,"4.2-4.3":0.00024,"4.4":0,"4.4.3-4.4.4":0.00088},K:{"0":2.27948,_:"10 11 12 11.1 11.5 12.1"},A:{"11":0.01673,_:"6 7 8 9 10 5.5"},S:{_:"2.5 3.0-3.1"},J:{_:"7 10"},N:{_:"10 11"},L:{"0":66.82121},R:{_:"0"},M:{"0":0.03256},Q:{"14.9":0.16282},O:{"0":0.65128},H:{"0":0}}; +module.exports={C:{"54":0.016,"63":0.0016,"72":0.0016,"89":0.0016,"109":0.0032,"115":0.1088,"126":0.0016,"127":0.0032,"128":0.0016,"129":0.144,"130":0.3632,_:"2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 55 56 57 58 59 60 61 62 64 65 66 67 68 69 70 71 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 110 111 112 113 114 116 117 118 119 120 121 122 123 124 125 131 132 133 134 135 3.5 3.6"},D:{"58":0.0176,"63":0.0016,"64":0.0048,"66":0.0016,"70":0.0128,"73":0.0032,"76":0.0016,"78":0.008,"81":0.0016,"83":0.0096,"86":0.0048,"87":0.0032,"88":0.0048,"90":0.008,"91":0.0016,"93":0.0048,"95":0.0064,"97":0.0256,"98":0.0144,"99":0.0032,"100":0.0016,"101":0.0016,"103":0.0048,"108":0.0016,"109":0.5552,"111":0.0048,"112":0.0016,"113":0.0064,"114":0.0032,"115":0.008,"116":0.0192,"117":0.0032,"118":0.0144,"119":0.0256,"120":0.0208,"121":0.0096,"122":0.0064,"123":0.0208,"124":0.0512,"125":0.0112,"126":0.048,"127":0.1296,"128":7.2768,"129":2.64,"130":0.0048,_:"4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 59 60 61 62 65 67 68 69 71 72 74 75 77 79 80 84 85 89 92 94 96 102 104 105 106 107 110 131 132 133"},F:{"46":0.0032,"85":0.0416,"95":0.0032,"102":0.0016,"112":0.12,"113":0.064,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 47 48 49 50 51 52 53 54 55 56 57 58 60 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 86 87 88 89 90 91 92 93 94 96 97 98 99 100 101 103 104 105 106 107 108 109 110 111 114 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"12":0.0016,"15":0.0016,"17":0.0048,"18":0.0128,"84":0.0016,"89":0.0032,"92":0.0128,"100":0.024,"108":0.0032,"109":0.1056,"110":0.0096,"113":0.0048,"114":0.0432,"120":0.0096,"121":0.008,"122":0.0016,"123":0.032,"125":0.0224,"126":0.12,"127":0.0432,"128":1.1216,"129":0.5536,_:"13 14 16 79 80 81 83 85 86 87 88 90 91 93 94 95 96 97 98 99 101 102 103 104 105 106 107 111 112 115 116 117 118 119 124 130"},E:{"14":0.0032,_:"0 4 5 6 7 8 9 10 11 12 13 15 3.1 3.2 5.1 6.1 7.1 9.1 10.1 11.1 12.1 13.1 15.1 15.2-15.3 15.5 16.1 16.2 16.5 17.0 17.1 17.2 17.3 18.1","14.1":0.0768,"15.4":0.0112,"15.6":0.008,"16.0":0.0016,"16.3":0.0032,"16.4":0.0016,"16.6":0.0464,"17.4":0.0096,"17.5":0.0512,"17.6":0.0256,"18.0":0.0368},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.00117,"5.0-5.1":0.00058,"6.0-6.1":0.00351,"7.0-7.1":0.00409,"8.1-8.4":0,"9.0-9.2":0.00351,"9.3":0.00994,"10.0-10.2":0.00292,"10.3":0.01695,"11.0-11.2":0.06256,"11.3-11.4":0.00468,"12.0-12.1":0.00292,"12.2-12.5":0.07074,"13.0-13.1":0.00117,"13.2":0.02222,"13.3":0.00292,"13.4-13.7":0.01169,"14.0-14.4":0.02689,"14.5-14.8":0.03566,"15.0-15.1":0.02046,"15.2-15.3":0.01988,"15.4":0.0228,"15.5":0.02806,"15.6-15.8":0.2777,"16.0":0.05613,"16.1":0.11108,"16.2":0.05554,"16.3":0.09354,"16.4":0.01988,"16.5":0.03917,"16.6-16.7":0.33441,"17.0":0.02806,"17.1":0.04443,"17.2":0.04034,"17.3":0.05788,"17.4":0.12394,"17.5":0.59575,"17.6-17.7":3.1705,"18.0":0.39989,"18.1":0.01812},P:{"4":0.02027,"20":0.17228,"21":0.05067,"22":0.89179,"23":0.17228,"24":0.44589,"25":0.41549,"26":1.6721,_:"5.0-5.4 6.2-6.4 8.2 9.2 10.1 11.1-11.2 13.0 15.0","7.2-7.4":0.32429,"12.0":0.0304,"14.0":0.01013,"16.0":0.0304,"17.0":0.05067,"18.0":0.04054,"19.0":0.07094},I:{"0":0.05864,"3":0,"4":0,"2.1":0,"2.2":0,"2.3":0,"4.1":0.00001,"4.2-4.3":0.00002,"4.4":0,"4.4.3-4.4.4":0.00009},K:{"0":2.5116,_:"10 11 12 11.1 11.5 12.1"},A:{_:"6 7 8 9 10 11 5.5"},N:{_:"10 11"},S:{_:"2.5 3.0-3.1"},J:{_:"7 10"},O:{"0":0.6636},H:{"0":0},L:{"0":71.8512},R:{_:"0"},M:{"0":0.1596},Q:{"14.9":0.0252}}; diff --git a/node_modules/caniuse-lite/data/regions/DK.js b/node_modules/caniuse-lite/data/regions/DK.js index 6239903df2..1033a2d26b 100644 --- a/node_modules/caniuse-lite/data/regions/DK.js +++ b/node_modules/caniuse-lite/data/regions/DK.js @@ -1 +1 @@ -module.exports={C:{"52":0.04442,"59":0.00635,"78":0.03173,"88":0.03173,"97":0.00635,"102":0.00635,"106":0.01269,"110":0.18403,"112":0.00635,"115":0.20307,"116":0.00635,"121":0.00635,"122":0.00635,"123":0.01904,"124":0.03808,"125":1.02171,"126":0.85671,"127":0.00635,_:"2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 53 54 55 56 57 58 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 79 80 81 82 83 84 85 86 87 89 90 91 92 93 94 95 96 98 99 100 101 103 104 105 107 108 109 111 113 114 117 118 119 120 128 129 3.5 3.6"},D:{"38":0.00635,"44":0.01269,"49":0.01269,"52":0.03808,"66":0.02538,"77":0.00635,"79":0.01269,"87":0.05077,"88":0.02538,"89":0.01904,"92":0.00635,"93":0.09519,"94":0.01269,"95":0.01269,"96":0.00635,"98":0.00635,"99":0.00635,"100":0.00635,"102":0.01269,"103":0.20942,"104":0.02538,"105":0.01269,"106":0.00635,"107":0.01904,"108":0.00635,"109":0.75517,"110":0.03173,"111":0.01904,"112":0.03173,"113":0.20307,"114":0.26019,"115":0.04442,"116":0.36807,"117":0.31095,"118":0.06346,"119":0.05711,"120":0.26653,"121":0.38711,"122":0.70441,"123":2.95724,"124":27.99855,"125":9.34131,"126":0.01269,_:"4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 39 40 41 42 43 45 46 47 48 50 51 53 54 55 56 57 58 59 60 61 62 63 64 65 67 68 69 70 71 72 73 74 75 76 78 80 81 83 84 85 86 90 91 97 101 127 128"},F:{"46":0.01269,"83":0.00635,"95":0.01904,"102":0.01269,"107":0.40614,"108":0.01269,"109":1.14863,"110":0.03173,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 47 48 49 50 51 52 53 54 55 56 57 58 60 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 84 85 86 87 88 89 90 91 92 93 94 96 97 98 99 100 101 103 104 105 106 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"92":0.00635,"94":0.00635,"107":0.00635,"109":0.07615,"114":0.01904,"115":0.00635,"116":0.01269,"117":0.00635,"118":0.01269,"119":0.01904,"120":0.03173,"121":0.03173,"122":0.06346,"123":0.2348,"124":5.57179,"125":2.93185,_:"12 13 14 15 16 17 18 79 80 81 83 84 85 86 87 88 89 90 91 93 95 96 97 98 99 100 101 102 103 104 105 106 108 110 111 112 113"},E:{"12":0.00635,"14":0.06346,"15":0.00635,_:"0 4 5 6 7 8 9 10 11 13 3.1 3.2 5.1 6.1 7.1 9.1 10.1 17.6","11.1":0.00635,"12.1":0.00635,"13.1":0.05711,"14.1":0.14596,"15.1":0.03173,"15.2-15.3":0.02538,"15.4":0.03808,"15.5":0.07615,"15.6":0.45691,"16.0":0.08884,"16.1":0.06346,"16.2":0.06981,"16.3":0.19673,"16.4":0.06981,"16.5":0.11423,"16.6":0.65364,"17.0":0.08884,"17.1":0.14596,"17.2":0.165,"17.3":0.18403,"17.4":2.0561,"17.5":0.32999},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.00356,"5.0-5.1":0.00356,"6.0-6.1":0.00889,"7.0-7.1":0.01245,"8.1-8.4":0.00356,"9.0-9.2":0.00889,"9.3":0.04089,"10.0-10.2":0.00711,"10.3":0.06401,"11.0-11.2":0.09424,"11.3-11.4":0.01778,"12.0-12.1":0.01067,"12.2-12.5":0.25782,"13.0-13.1":0.00533,"13.2":0.02489,"13.3":0.01245,"13.4-13.7":0.0569,"14.0-14.4":0.09779,"14.5-14.8":0.15113,"15.0-15.1":0.0729,"15.2-15.3":0.08001,"15.4":0.09068,"15.5":0.11379,"15.6-15.8":1.02415,"16.0":0.23292,"16.1":0.48007,"16.2":0.23292,"16.3":0.40361,"16.4":0.08535,"16.5":0.17247,"16.6-16.7":1.37442,"17.0":0.14936,"17.1":0.24359,"17.2":0.25426,"17.3":0.4694,"17.4":10.65933,"17.5":0.75211,"17.6":0},P:{"4":0.02159,"20":0.01079,"21":0.01079,"22":0.01079,"23":0.04318,"24":0.12953,"25":1.87819,_:"5.0-5.4 6.2-6.4 7.2-7.4 8.2 9.2 10.1 11.1-11.2 12.0 13.0 14.0 15.0 16.0 17.0 19.0","18.0":0.01079},I:{"0":0.04732,"3":0,"4":0,"2.1":0,"2.2":0,"2.3":0,"4.1":0.00001,"4.2-4.3":0.00003,"4.4":0,"4.4.3-4.4.4":0.0001},K:{"0":0.16808,_:"10 11 12 11.1 11.5 12.1"},A:{"8":0.00698,"11":0.06283,_:"6 7 9 10 5.5"},S:{_:"2.5 3.0-3.1"},J:{_:"7 10"},N:{_:"10 11"},L:{"0":16.11527},R:{_:"0"},M:{"0":0.35809},Q:{_:"14.9"},O:{"0":0.01462},H:{"0":0}}; +module.exports={C:{"52":0.00695,"78":0.02084,"88":0.02778,"103":0.00695,"113":0.00695,"115":0.15279,"125":0.01389,"126":0.00695,"127":0.01389,"128":0.01389,"129":0.29864,"130":1.86821,_:"2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 79 80 81 82 83 84 85 86 87 89 90 91 92 93 94 95 96 97 98 99 100 101 102 104 105 106 107 108 109 110 111 112 114 116 117 118 119 120 121 122 123 124 131 132 133 134 135 3.5 3.6"},D:{"44":0.00695,"49":0.00695,"52":0.03473,"57":0.06251,"66":0.00695,"79":0.01389,"87":0.02084,"88":0.15279,"89":0.02084,"92":0.00695,"93":0.01389,"100":0.00695,"101":0.00695,"102":0.01389,"103":0.20835,"104":0.01389,"105":0.00695,"106":0.00695,"107":0.02084,"108":0.01389,"109":0.65978,"110":0.04167,"111":0.00695,"112":0.02778,"113":0.18057,"114":0.20835,"115":0.02778,"116":0.45143,"117":0.18752,"118":0.02778,"119":0.05556,"120":0.06945,"121":0.06945,"122":0.25002,"123":0.20835,"124":0.38892,"125":0.34725,"126":1.16676,"127":3.23637,"128":29.53709,"129":11.20923,"130":0.00695,_:"4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 45 46 47 48 50 51 53 54 55 56 58 59 60 61 62 63 64 65 67 68 69 70 71 72 73 74 75 76 77 78 80 81 83 84 85 86 90 91 94 95 96 97 98 99 131 132 133"},F:{"84":0.00695,"95":0.01389,"102":0.01389,"109":0.04167,"111":0.00695,"112":0.73617,"113":0.70145,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 60 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 85 86 87 88 89 90 91 92 93 94 96 97 98 99 100 101 103 104 105 106 107 108 110 114 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"107":0.00695,"108":0.00695,"109":0.06251,"112":0.00695,"115":0.00695,"116":0.00695,"117":0.00695,"118":0.00695,"119":0.00695,"120":0.08334,"121":0.01389,"122":0.02084,"123":0.01389,"124":0.03473,"125":0.02084,"126":0.0764,"127":0.24308,"128":6.27828,"129":2.54187,_:"12 13 14 15 16 17 18 79 80 81 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 110 111 113 114 130"},E:{"11":0.00695,"14":0.02778,"15":0.00695,_:"0 4 5 6 7 8 9 10 12 13 3.1 3.2 5.1 6.1 7.1 9.1 10.1 11.1 12.1","13.1":0.04167,"14.1":0.14585,"15.1":0.02778,"15.2-15.3":0.02778,"15.4":0.04167,"15.5":0.06945,"15.6":0.40976,"16.0":0.0764,"16.1":0.08334,"16.2":0.05556,"16.3":0.18057,"16.4":0.09723,"16.5":0.12501,"16.6":0.57644,"17.0":0.06945,"17.1":0.11112,"17.2":0.13196,"17.3":0.15974,"17.4":0.36114,"17.5":0.73617,"17.6":2.5002,"18.0":0.36809,"18.1":0.01389},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.00332,"5.0-5.1":0.00166,"6.0-6.1":0.00996,"7.0-7.1":0.01162,"8.1-8.4":0,"9.0-9.2":0.00996,"9.3":0.02822,"10.0-10.2":0.0083,"10.3":0.04813,"11.0-11.2":0.1776,"11.3-11.4":0.01328,"12.0-12.1":0.0083,"12.2-12.5":0.20083,"13.0-13.1":0.00332,"13.2":0.06307,"13.3":0.0083,"13.4-13.7":0.0332,"14.0-14.4":0.07635,"14.5-14.8":0.10125,"15.0-15.1":0.05809,"15.2-15.3":0.05643,"15.4":0.06473,"15.5":0.07967,"15.6-15.8":0.7884,"16.0":0.15934,"16.1":0.31536,"16.2":0.15768,"16.3":0.26557,"16.4":0.05643,"16.5":0.11121,"16.6-16.7":0.9494,"17.0":0.07967,"17.1":0.12614,"17.2":0.11452,"17.3":0.16432,"17.4":0.35187,"17.5":1.69132,"17.6-17.7":9.001,"18.0":1.13529,"18.1":0.05145},P:{"4":0.01067,"20":0.01067,"23":0.01067,"24":0.02134,"25":0.10672,"26":1.41939,_:"21 22 5.0-5.4 6.2-6.4 7.2-7.4 8.2 9.2 10.1 11.1-11.2 12.0 13.0 15.0 16.0 17.0 18.0 19.0","14.0":0.02134},I:{"0":0.02437,"3":0,"4":0,"2.1":0,"2.2":0,"2.3":0,"4.1":0,"4.2-4.3":0.00001,"4.4":0,"4.4.3-4.4.4":0.00004},K:{"0":0.11609,_:"10 11 12 11.1 11.5 12.1"},A:{"8":0.00794,"11":0.04762,_:"6 7 9 10 5.5"},N:{_:"10 11"},S:{_:"2.5 3.0-3.1"},J:{_:"7 10"},O:{"0":0.01222},H:{"0":0},L:{"0":11.82652},R:{_:"0"},M:{"0":0.30245},Q:{"14.9":0.00306}}; diff --git a/node_modules/caniuse-lite/data/regions/DM.js b/node_modules/caniuse-lite/data/regions/DM.js index a518af3dab..a27b5c25a4 100644 --- a/node_modules/caniuse-lite/data/regions/DM.js +++ b/node_modules/caniuse-lite/data/regions/DM.js @@ -1 +1 @@ -module.exports={C:{"115":0.04497,"124":0.00409,"125":0.4415,"126":0.33113,_:"2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 116 117 118 119 120 121 122 123 127 128 129 3.5 3.6"},D:{"39":0.00409,"49":0.00409,"50":0.03679,"65":0.02862,"69":0.01635,"70":0.00409,"74":0.00409,"75":0.14308,"76":0.54779,"77":0.13082,"86":0.00409,"87":0.00409,"88":0.01226,"90":0.00409,"91":0.01226,"93":0.04497,"95":0.0327,"96":0.00409,"98":0.00818,"99":0.00409,"103":0.17987,"104":0.04497,"105":0.04497,"106":0.00409,"107":0.00818,"109":0.35157,"111":0.00409,"112":0.00409,"113":0.00409,"115":0.00409,"116":0.01635,"117":0.00409,"118":0.22075,"119":0.02044,"120":0.06132,"121":0.04906,"122":0.1349,"123":2.32607,"124":13.92782,"125":6.79834,"126":0.02453,"127":0.00409,_:"4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 40 41 42 43 44 45 46 47 48 51 52 53 54 55 56 57 58 59 60 61 62 63 64 66 67 68 71 72 73 78 79 80 81 83 84 85 89 92 94 97 100 101 102 108 110 114 128"},F:{"90":0.00409,"95":0.00409,"106":0.00818,"107":0.08176,"108":0.02044,"109":1.47168,"110":0.02453,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 60 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 91 92 93 94 96 97 98 99 100 101 102 103 104 105 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"15":0.00409,"17":0.00409,"18":0.00409,"92":0.00409,"107":0.00818,"109":0.00818,"111":0.00409,"114":0.02453,"117":0.00409,"118":0.00818,"120":0.02453,"121":0.00409,"122":0.07767,"123":0.11038,"124":4.3251,"125":2.1462,_:"12 13 14 16 79 80 81 83 84 85 86 87 88 89 90 91 93 94 95 96 97 98 99 100 101 102 103 104 105 106 108 110 112 113 115 116 119"},E:{"14":0.00818,_:"0 4 5 6 7 8 9 10 11 12 13 15 3.1 3.2 5.1 6.1 7.1 9.1 10.1 11.1 15.1 16.2 17.6","12.1":0.01226,"13.1":0.00818,"14.1":0.07358,"15.2-15.3":0.00409,"15.4":0.00409,"15.5":0.0327,"15.6":0.16761,"16.0":0.00409,"16.1":0.05723,"16.3":0.00409,"16.4":0.01226,"16.5":0.03679,"16.6":0.03679,"17.0":0.02453,"17.1":0.02044,"17.2":0.01635,"17.3":0.01226,"17.4":0.56823,"17.5":0.12264},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.00215,"5.0-5.1":0.00215,"6.0-6.1":0.00538,"7.0-7.1":0.00754,"8.1-8.4":0.00215,"9.0-9.2":0.00538,"9.3":0.02476,"10.0-10.2":0.00431,"10.3":0.03876,"11.0-11.2":0.05706,"11.3-11.4":0.01077,"12.0-12.1":0.00646,"12.2-12.5":0.1561,"13.0-13.1":0.00323,"13.2":0.01507,"13.3":0.00754,"13.4-13.7":0.03445,"14.0-14.4":0.05921,"14.5-14.8":0.09151,"15.0-15.1":0.04414,"15.2-15.3":0.04845,"15.4":0.05491,"15.5":0.0689,"15.6-15.8":0.62011,"16.0":0.14103,"16.1":0.29068,"16.2":0.14103,"16.3":0.24438,"16.4":0.05168,"16.5":0.10443,"16.6-16.7":0.83219,"17.0":0.09043,"17.1":0.14749,"17.2":0.15395,"17.3":0.28422,"17.4":6.45407,"17.5":0.45539,"17.6":0},P:{"4":0.12737,"20":0.02316,"21":0.09263,"22":0.04632,"23":0.06948,"24":0.17369,"25":2.53588,"5.0-5.4":0.02316,"6.2-6.4":0.03474,"7.2-7.4":0.10421,_:"8.2 9.2 10.1 11.1-11.2 12.0 15.0 18.0","13.0":0.01158,"14.0":0.01158,"16.0":0.01158,"17.0":0.01158,"19.0":0.08106},I:{"0":0.053,"3":0,"4":0.00001,"2.1":0,"2.2":0,"2.3":0,"4.1":0.00001,"4.2-4.3":0.00003,"4.4":0,"4.4.3-4.4.4":0.00012},K:{"0":1.07007,_:"10 11 12 11.1 11.5 12.1"},A:{"11":0.01226,_:"6 7 8 9 10 5.5"},S:{"2.5":0.00591,_:"3.0-3.1"},J:{_:"7 10"},N:{_:"10 11"},L:{"0":48.32905},R:{_:"0"},M:{"0":0.15371},Q:{_:"14.9"},O:{"0":0.37246},H:{"0":0}}; +module.exports={C:{"115":0.02883,"124":0.00412,"128":0.01647,"129":0.13178,"130":0.3665,_:"2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 116 117 118 119 120 121 122 123 125 126 127 131 132 133 134 135 3.5 3.6"},D:{"38":0.00412,"63":0.00824,"65":0.00824,"67":0.00824,"69":0.00412,"73":0.00412,"74":0.01647,"75":0.02471,"76":0.69594,"77":0.03706,"79":1.1448,"80":1.30541,"81":0.00412,"86":0.00412,"87":0.01647,"88":0.00412,"89":0.00824,"90":0.00412,"91":0.02883,"93":0.08648,"94":0.01647,"96":0.02059,"99":0.00412,"100":0.00824,"103":0.09471,"106":0.01235,"109":1.01715,"111":0.00412,"112":0.00412,"115":0.00412,"116":0.03706,"119":0.11119,"120":0.00412,"121":0.01647,"123":0.16884,"124":0.00824,"125":0.07824,"126":0.25943,"127":1.1448,"128":16.83438,"129":4.04388,"130":0.02059,_:"4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 64 66 68 70 71 72 78 83 84 85 92 95 97 98 101 102 104 105 107 108 110 113 114 117 118 122 131 132 133"},F:{"83":0.00824,"84":0.02471,"95":0.00412,"105":0.00412,"109":0.01647,"112":0.44063,"113":0.21414,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 60 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 85 86 87 88 89 90 91 92 93 94 96 97 98 99 100 101 102 103 104 106 107 108 110 111 114 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"14":0.02471,"16":0.00824,"17":0.00824,"18":0.01647,"89":0.00824,"92":0.00412,"100":0.00824,"109":0.00824,"114":0.02471,"117":0.00412,"120":0.00412,"121":0.01647,"125":0.00824,"126":0.0453,"127":0.25943,"128":4.84277,"129":1.62661,_:"12 13 15 79 80 81 83 84 85 86 87 88 90 91 93 94 95 96 97 98 99 101 102 103 104 105 106 107 108 110 111 112 113 115 116 118 119 122 123 124 130"},E:{"14":0.01647,_:"0 4 5 6 7 8 9 10 11 12 13 15 3.1 3.2 5.1 6.1 7.1 9.1 10.1 11.1 12.1 15.1 15.2-15.3 15.4 15.5 16.0 17.2 18.1","13.1":0.03706,"14.1":0.08236,"15.6":0.28002,"16.1":0.10707,"16.2":0.00824,"16.3":0.00824,"16.4":0.00412,"16.5":0.00412,"16.6":0.09883,"17.0":0.01235,"17.1":0.04942,"17.3":0.0453,"17.4":0.02883,"17.5":0.15237,"17.6":0.66712,"18.0":0.58064},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.00165,"5.0-5.1":0.00082,"6.0-6.1":0.00495,"7.0-7.1":0.00577,"8.1-8.4":0,"9.0-9.2":0.00495,"9.3":0.01402,"10.0-10.2":0.00412,"10.3":0.02392,"11.0-11.2":0.08824,"11.3-11.4":0.0066,"12.0-12.1":0.00412,"12.2-12.5":0.09978,"13.0-13.1":0.00165,"13.2":0.03134,"13.3":0.00412,"13.4-13.7":0.01649,"14.0-14.4":0.03793,"14.5-14.8":0.0503,"15.0-15.1":0.02886,"15.2-15.3":0.02804,"15.4":0.03216,"15.5":0.03958,"15.6-15.8":0.39171,"16.0":0.07917,"16.1":0.15668,"16.2":0.07834,"16.3":0.13195,"16.4":0.02804,"16.5":0.05525,"16.6-16.7":0.4717,"17.0":0.03958,"17.1":0.06267,"17.2":0.0569,"17.3":0.08164,"17.4":0.17483,"17.5":0.84032,"17.6-17.7":4.47211,"18.0":0.56406,"18.1":0.02556},P:{"4":0.28008,"20":0.08962,"21":0.02241,"22":0.02241,"23":0.03361,"24":0.03361,"25":0.15684,"26":2.71113,"5.0-5.4":0.04481,"6.2-6.4":0.04481,"7.2-7.4":0.40331,_:"8.2 9.2 10.1 11.1-11.2 12.0 13.0 14.0 15.0 16.0 18.0","17.0":0.0112,"19.0":0.02241},I:{"0":0.0176,"3":0,"4":0,"2.1":0,"2.2":0,"2.3":0,"4.1":0,"4.2-4.3":0.00001,"4.4":0,"4.4.3-4.4.4":0.00003},K:{"0":7.61719,_:"10 11 12 11.1 11.5 12.1"},A:{_:"6 7 8 9 10 11 5.5"},N:{_:"10 11"},S:{_:"2.5 3.0-3.1"},J:{_:"7 10"},O:{"0":0.14705},H:{"0":0},L:{"0":41.54679},R:{_:"0"},M:{"0":0.21175},Q:{"14.9":0.01176}}; diff --git a/node_modules/caniuse-lite/data/regions/DO.js b/node_modules/caniuse-lite/data/regions/DO.js index 6676a346ce..b260ebd5af 100644 --- a/node_modules/caniuse-lite/data/regions/DO.js +++ b/node_modules/caniuse-lite/data/regions/DO.js @@ -1 +1 @@ -module.exports={C:{"4":0.16298,"47":0.00398,"52":0.00795,"75":0.00398,"78":0.00398,"81":0.02385,"103":0.00398,"105":0.00398,"106":0.00398,"107":0.00398,"108":0.00398,"109":0.00398,"110":0.00795,"113":0.00398,"115":0.09143,"116":0.00398,"118":0.00398,"120":0.01193,"122":0.00795,"123":0.0159,"124":0.0318,"125":0.40148,"126":0.30608,"127":0.00398,_:"2 3 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 48 49 50 51 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 76 77 79 80 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 104 111 112 114 117 119 121 128 129 3.5 3.6"},D:{"38":0.00398,"45":0.00795,"47":0.00398,"49":0.01193,"50":0.00398,"58":0.00398,"63":0.00398,"65":0.00398,"69":0.00398,"70":0.01193,"71":0.0159,"72":0.00795,"73":0.00398,"74":0.00398,"75":0.00398,"76":0.01193,"79":0.02385,"81":0.00795,"83":0.00398,"84":0.00795,"85":0.01193,"86":0.00795,"87":0.06758,"88":0.00398,"89":0.00398,"90":0.00795,"91":0.01988,"92":0.00398,"93":0.03578,"94":0.00795,"95":0.00398,"97":0.02385,"98":0.00398,"99":0.00795,"100":0.00398,"101":0.00398,"102":0.01193,"103":0.12323,"104":0.00398,"105":0.01193,"106":0.02783,"107":0.0318,"108":0.03578,"109":1.64565,"110":0.03578,"111":0.03578,"112":0.02783,"113":0.00398,"114":0.01988,"115":0.05565,"116":0.13118,"117":0.00795,"118":0.0159,"119":0.17093,"120":0.07553,"121":0.159,"122":0.25838,"123":0.71948,"124":16.0749,"125":5.79953,"126":0.00398,_:"4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 39 40 41 42 43 44 46 48 51 52 53 54 55 56 57 59 60 61 62 64 66 67 68 77 78 80 96 127 128"},F:{"69":0.02385,"95":0.02385,"104":0.00398,"107":0.33788,"108":0.02385,"109":1.7013,"110":0.1272,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 60 62 63 64 65 66 67 68 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 96 97 98 99 100 101 102 103 105 106 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"15":0.0318,"18":0.04373,"89":0.00398,"90":0.00398,"92":0.03975,"100":0.00795,"107":0.00795,"108":0.01988,"109":0.02783,"110":0.00398,"113":0.00398,"114":0.00398,"117":0.00398,"118":0.00795,"119":0.01193,"120":0.02783,"121":0.0636,"122":0.0477,"123":0.13118,"124":3.26348,"125":1.52243,_:"12 13 14 16 17 79 80 81 83 84 85 86 87 88 91 93 94 95 96 97 98 99 101 102 103 104 105 106 111 112 115 116"},E:{"14":0.00795,"15":0.01193,_:"0 4 5 6 7 8 9 10 11 12 13 3.1 3.2 6.1 7.1 9.1 10.1 17.6","5.1":0.02385,"11.1":0.00398,"12.1":0.00398,"13.1":0.02783,"14.1":0.05963,"15.1":0.01193,"15.2-15.3":0.00398,"15.4":0.01193,"15.5":0.00795,"15.6":0.12323,"16.0":0.00795,"16.1":0.02783,"16.2":0.02783,"16.3":0.04373,"16.4":0.0159,"16.5":0.0318,"16.6":0.1272,"17.0":0.04373,"17.1":0.0636,"17.2":0.07155,"17.3":0.0636,"17.4":0.71153,"17.5":0.0954},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.00336,"5.0-5.1":0.00336,"6.0-6.1":0.00841,"7.0-7.1":0.01178,"8.1-8.4":0.00336,"9.0-9.2":0.00841,"9.3":0.03869,"10.0-10.2":0.00673,"10.3":0.06056,"11.0-11.2":0.08916,"11.3-11.4":0.01682,"12.0-12.1":0.01009,"12.2-12.5":0.24392,"13.0-13.1":0.00505,"13.2":0.02355,"13.3":0.01178,"13.4-13.7":0.05383,"14.0-14.4":0.09252,"14.5-14.8":0.14299,"15.0-15.1":0.06897,"15.2-15.3":0.0757,"15.4":0.08579,"15.5":0.10766,"15.6-15.8":0.96894,"16.0":0.22037,"16.1":0.45419,"16.2":0.22037,"16.3":0.38185,"16.4":0.08074,"16.5":0.16317,"16.6-16.7":1.30033,"17.0":0.1413,"17.1":0.23046,"17.2":0.24055,"17.3":0.4441,"17.4":10.08467,"17.5":0.71156,"17.6":0},P:{"4":0.03172,"20":0.01057,"21":0.05287,"22":0.04229,"23":0.11631,"24":0.13745,"25":1.51198,"5.0-5.4":0.01057,"6.2-6.4":0.01057,"7.2-7.4":0.06344,_:"8.2 10.1 12.0 15.0","9.2":0.01057,"11.1-11.2":0.03172,"13.0":0.01057,"14.0":0.03172,"16.0":0.02115,"17.0":0.02115,"18.0":0.01057,"19.0":0.03172},I:{"0":0.03001,"3":0,"4":0,"2.1":0,"2.2":0,"2.3":0,"4.1":0.00001,"4.2-4.3":0.00002,"4.4":0,"4.4.3-4.4.4":0.00007},K:{"0":0.2651,_:"10 11 12 11.1 11.5 12.1"},A:{"8":0.02112,"9":0.00422,"11":0.04223,_:"6 7 10 5.5"},S:{"2.5":0.00603,_:"3.0-3.1"},J:{_:"7 10"},N:{_:"10 11"},L:{"0":43.4001},R:{_:"0"},M:{"0":0.4097},Q:{"14.9":0.00603},O:{"0":0.03615},H:{"0":0}}; +module.exports={C:{"4":0.13619,"52":0.00698,"59":0.00349,"78":0.00349,"84":0.00349,"107":0.00349,"109":0.01397,"110":0.01048,"111":0.01048,"115":0.10127,"118":0.00349,"124":0.01397,"125":0.01746,"127":0.00698,"128":0.02095,"129":0.11524,"130":0.56221,"131":0.00349,_:"2 3 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 53 54 55 56 57 58 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 79 80 81 82 83 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 108 112 113 114 116 117 119 120 121 122 123 126 132 133 134 135 3.5 3.6"},D:{"47":0.00349,"48":0.00349,"49":0.00698,"61":0.00349,"65":0.00698,"67":0.00349,"69":0.00349,"70":0.01048,"72":0.01048,"73":0.00698,"75":0.00349,"76":0.00698,"79":0.01397,"80":0.00349,"81":0.00698,"83":0.00698,"84":0.01048,"85":0.01048,"86":0.00349,"87":0.05936,"88":0.01048,"89":0.00349,"90":0.00349,"91":0.02095,"92":0.00349,"93":0.03143,"94":0.02794,"95":0.00349,"96":0.00698,"97":0.01397,"98":0.00349,"99":0.00349,"100":0.00349,"101":0.00349,"102":0.00698,"103":0.12571,"104":0.00349,"105":0.01048,"106":0.02444,"107":0.03841,"108":0.05238,"109":1.14887,"110":0.0454,"111":0.03143,"112":0.01746,"113":0.01048,"114":0.04889,"115":0.00349,"116":0.12571,"117":0.00349,"118":0.00698,"119":0.03492,"120":0.05936,"121":0.02794,"122":0.07682,"123":0.05587,"124":0.31428,"125":0.08032,"126":0.2619,"127":0.89395,"128":13.87022,"129":4.41389,"130":0.00698,_:"4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 50 51 52 53 54 55 56 57 58 59 60 62 63 64 66 68 71 74 77 78 131 132 133"},F:{"84":0.00698,"87":0.00349,"95":0.03492,"102":0.00349,"109":0.04889,"110":0.00349,"111":0.00698,"112":0.86602,"113":0.69491,"114":0.01048,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 60 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 85 86 88 89 90 91 92 93 94 96 97 98 99 100 101 103 104 105 106 107 108 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"18":0.02794,"85":0.00349,"92":0.03841,"100":0.00349,"104":0.00349,"106":0.00698,"107":0.00349,"108":0.01397,"109":0.0419,"110":0.01048,"111":0.00349,"114":0.00349,"116":0.00349,"117":0.00349,"118":0.00349,"119":0.00698,"120":0.02794,"121":0.01048,"122":0.11174,"123":0.00698,"124":0.01048,"125":0.01746,"126":0.0454,"127":0.15016,"128":3.17074,"129":1.11395,"130":0.00349,_:"12 13 14 15 16 17 79 80 81 83 84 86 87 88 89 90 91 93 94 95 96 97 98 99 101 102 103 105 112 113 115"},E:{"8":0.00349,"11":0.00349,"14":0.01397,_:"0 4 5 6 7 9 10 12 13 15 3.1 3.2 6.1 7.1 9.1 10.1 15.2-15.3","5.1":0.00349,"11.1":0.00349,"12.1":0.00349,"13.1":0.05238,"14.1":0.03143,"15.1":0.00349,"15.4":0.00698,"15.5":0.01048,"15.6":0.10825,"16.0":0.00349,"16.1":0.02444,"16.2":0.01397,"16.3":0.02794,"16.4":0.02444,"16.5":0.01397,"16.6":0.10476,"17.0":0.01048,"17.1":0.03143,"17.2":0.01397,"17.3":0.02444,"17.4":0.09428,"17.5":0.20254,"17.6":0.70888,"18.0":0.16412,"18.1":0.01746},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.00516,"5.0-5.1":0.00258,"6.0-6.1":0.01548,"7.0-7.1":0.01806,"8.1-8.4":0,"9.0-9.2":0.01548,"9.3":0.04387,"10.0-10.2":0.0129,"10.3":0.07484,"11.0-11.2":0.27613,"11.3-11.4":0.02065,"12.0-12.1":0.0129,"12.2-12.5":0.31226,"13.0-13.1":0.00516,"13.2":0.09807,"13.3":0.0129,"13.4-13.7":0.05161,"14.0-14.4":0.11871,"14.5-14.8":0.15742,"15.0-15.1":0.09032,"15.2-15.3":0.08774,"15.4":0.10065,"15.5":0.12387,"15.6-15.8":1.22582,"16.0":0.24774,"16.1":0.49033,"16.2":0.24516,"16.3":0.41291,"16.4":0.08774,"16.5":0.17291,"16.6-16.7":1.47615,"17.0":0.12387,"17.1":0.19613,"17.2":0.17807,"17.3":0.25549,"17.4":0.5471,"17.5":2.62971,"17.6-17.7":13.99501,"18.0":1.76518,"18.1":0.08},P:{"4":0.06199,"20":0.01033,"21":0.02066,"22":0.06199,"23":0.04133,"24":0.031,"25":0.13432,"26":0.99188,_:"5.0-5.4 8.2 10.1 12.0 15.0 17.0","6.2-6.4":0.01033,"7.2-7.4":0.04133,"9.2":0.01033,"11.1-11.2":0.02066,"13.0":0.01033,"14.0":0.04133,"16.0":0.02066,"18.0":0.01033,"19.0":0.01033},I:{"0":0.01947,"3":0,"4":0,"2.1":0,"2.2":0,"2.3":0,"4.1":0,"4.2-4.3":0.00001,"4.4":0,"4.4.3-4.4.4":0.00003},K:{"0":0.22124,_:"10 11 12 11.1 11.5 12.1"},A:{"8":0.02395,"9":0.00399,"10":0.00399,"11":0.02395,_:"6 7 5.5"},N:{_:"10 11"},S:{_:"2.5 3.0-3.1"},J:{_:"7 10"},O:{"0":0.04555},H:{"0":0},L:{"0":40.24016},R:{_:"0"},M:{"0":0.10411},Q:{"14.9":0.01301}}; diff --git a/node_modules/caniuse-lite/data/regions/DZ.js b/node_modules/caniuse-lite/data/regions/DZ.js index a6c5282f4a..6ac4d7531d 100644 --- a/node_modules/caniuse-lite/data/regions/DZ.js +++ b/node_modules/caniuse-lite/data/regions/DZ.js @@ -1 +1 @@ -module.exports={C:{"15":0.00214,"34":0.00214,"38":0.00214,"40":0.00214,"43":0.00214,"47":0.00428,"52":0.04496,"68":0.00214,"72":0.00428,"75":0.00214,"78":0.00642,"83":0.00214,"88":0.00428,"89":0.00214,"91":0.00214,"94":0.00214,"97":0.00428,"99":0.00214,"102":0.00214,"103":0.00856,"104":0.00214,"105":0.00214,"106":0.00214,"107":0.00214,"108":0.00214,"109":0.00214,"110":0.00214,"111":0.00214,"113":0.00428,"114":0.00214,"115":0.6423,"116":0.00214,"117":0.00214,"120":0.00214,"121":0.00642,"122":0.00642,"123":0.00642,"124":0.01713,"125":0.36611,"126":0.34042,"127":0.00214,_:"2 3 4 5 6 7 8 9 10 11 12 13 14 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 35 36 37 39 41 42 44 45 46 48 49 50 51 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 69 70 71 73 74 76 77 79 80 81 82 84 85 86 87 90 92 93 95 96 98 100 101 112 118 119 128 129 3.5 3.6"},D:{"5":0.00214,"11":0.00428,"22":0.00214,"26":0.00214,"29":0.00214,"30":0.00214,"31":0.00214,"32":0.00428,"33":0.00428,"34":0.00428,"38":0.00428,"39":0.00214,"40":0.00642,"42":0.00428,"43":0.02783,"44":0.00214,"46":0.00214,"47":0.00642,"48":0.00214,"49":0.05138,"50":0.00642,"51":0.00214,"52":0.00214,"53":0.00214,"55":0.00214,"56":0.01927,"58":0.0471,"59":0.00214,"60":0.00214,"61":0.00642,"62":0.01071,"63":0.00642,"64":0.00642,"65":0.00642,"66":0.00214,"67":0.00428,"68":0.00642,"69":0.00856,"70":0.01071,"71":0.00642,"72":0.00642,"73":0.00428,"74":0.01285,"75":0.00428,"76":0.00856,"77":0.00642,"78":0.00642,"79":0.05995,"80":0.00856,"81":0.02141,"83":0.03426,"84":0.00642,"85":0.01499,"86":0.01713,"87":0.0471,"88":0.01071,"89":0.00856,"90":0.00428,"91":0.00856,"92":0.00428,"93":0.00428,"94":0.00428,"95":0.03854,"96":0.00856,"97":0.01071,"98":0.0364,"99":0.01071,"100":0.01713,"101":0.00428,"102":0.03426,"103":0.03212,"104":0.02141,"105":0.00856,"106":0.02783,"107":0.01927,"108":0.0364,"109":4.76587,"110":0.04068,"111":0.01285,"112":0.01285,"113":0.00856,"114":0.01071,"115":0.02355,"116":0.04068,"117":0.00856,"118":0.01071,"119":0.08136,"120":0.10277,"121":0.05995,"122":0.10705,"123":0.22266,"124":5.35464,"125":2.37223,"126":0.00642,"127":0.00428,_:"4 6 7 8 9 10 12 13 14 15 16 17 18 19 20 21 23 24 25 27 28 35 36 37 41 45 54 57 128"},F:{"25":0.00428,"28":0.00856,"36":0.00214,"46":0.00214,"63":0.00214,"64":0.00214,"79":0.02141,"82":0.00214,"83":0.00214,"84":0.00428,"85":0.02141,"86":0.00214,"87":0.00214,"95":0.12632,"105":0.00428,"106":0.00214,"107":0.13917,"108":0.00856,"109":0.61019,"110":0.05138,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 26 27 29 30 31 32 33 34 35 37 38 39 40 41 42 43 44 45 47 48 49 50 51 52 53 54 55 56 57 58 60 62 65 66 67 68 69 70 71 72 73 74 75 76 77 78 80 81 88 89 90 91 92 93 94 96 97 98 99 100 101 102 103 104 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"12":0.00214,"13":0.00214,"14":0.00214,"16":0.00214,"17":0.00214,"18":0.01071,"84":0.00214,"88":0.00214,"89":0.00214,"92":0.01927,"100":0.00214,"107":0.00214,"108":0.00214,"109":0.0471,"110":0.00214,"111":0.00214,"112":0.00214,"113":0.00214,"114":0.00642,"116":0.00214,"117":0.00214,"118":0.00214,"119":0.00428,"120":0.00856,"121":0.00856,"122":0.01713,"123":0.05995,"124":0.74507,"125":0.41321,_:"15 79 80 81 83 85 86 87 90 91 93 94 95 96 97 98 99 101 102 103 104 105 106 115"},E:{"9":0.00214,"14":0.00428,"15":0.00214,_:"0 4 5 6 7 8 10 11 12 13 3.1 3.2 5.1 6.1 7.1 9.1 10.1 11.1 17.6","12.1":0.00214,"13.1":0.00642,"14.1":0.00642,"15.1":0.00428,"15.2-15.3":0.00214,"15.4":0.00214,"15.5":0.00642,"15.6":0.02355,"16.0":0.00214,"16.1":0.00642,"16.2":0.00428,"16.3":0.01285,"16.4":0.00428,"16.5":0.00642,"16.6":0.02997,"17.0":0.00428,"17.1":0.00642,"17.2":0.01071,"17.3":0.01071,"17.4":0.13274,"17.5":0.02141},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.00089,"5.0-5.1":0.00089,"6.0-6.1":0.00221,"7.0-7.1":0.0031,"8.1-8.4":0.00089,"9.0-9.2":0.00221,"9.3":0.01018,"10.0-10.2":0.00177,"10.3":0.01593,"11.0-11.2":0.02345,"11.3-11.4":0.00443,"12.0-12.1":0.00266,"12.2-12.5":0.06417,"13.0-13.1":0.00133,"13.2":0.0062,"13.3":0.0031,"13.4-13.7":0.01416,"14.0-14.4":0.02434,"14.5-14.8":0.03761,"15.0-15.1":0.01814,"15.2-15.3":0.01991,"15.4":0.02257,"15.5":0.02832,"15.6-15.8":0.25489,"16.0":0.05797,"16.1":0.11948,"16.2":0.05797,"16.3":0.10045,"16.4":0.02124,"16.5":0.04292,"16.6-16.7":0.34207,"17.0":0.03717,"17.1":0.06062,"17.2":0.06328,"17.3":0.11682,"17.4":2.6529,"17.5":0.18719,"17.6":0},P:{"4":0.17491,"20":0.04116,"21":0.0926,"22":0.11318,"23":0.21607,"24":0.26751,"25":0.87455,"5.0-5.4":0.01029,"6.2-6.4":0.03087,"7.2-7.4":0.24693,"8.2":0.01029,"9.2":0.02058,_:"10.1","11.1-11.2":0.02058,"12.0":0.01029,"13.0":0.03087,"14.0":0.02058,"15.0":0.01029,"16.0":0.03087,"17.0":0.04116,"18.0":0.03087,"19.0":0.10289},I:{"0":0.11744,"3":0,"4":0.00001,"2.1":0,"2.2":0,"2.3":0,"4.1":0.00002,"4.2-4.3":0.00007,"4.4":0,"4.4.3-4.4.4":0.00026},K:{"0":0.74242,_:"10 11 12 11.1 11.5 12.1"},A:{"8":0.01529,"9":0.00655,"10":0.00218,"11":0.08517,_:"6 7 5.5"},S:{_:"2.5 3.0-3.1"},J:{_:"7 10"},N:{_:"10 11"},L:{"0":72.72668},R:{_:"0"},M:{"0":0.12576},Q:{"14.9":0.01572},O:{"0":0.47946},H:{"0":0.02}}; +module.exports={C:{"34":0.0024,"43":0.00481,"45":0.0024,"47":0.00481,"52":0.03124,"56":0.0024,"65":0.0024,"72":0.00481,"75":0.0024,"78":0.00961,"82":0.0024,"88":0.0024,"94":0.0024,"97":0.0024,"99":0.0024,"100":0.0024,"102":0.00481,"103":0.01202,"105":0.0024,"106":0.0024,"107":0.0024,"108":0.0024,"109":0.0024,"110":0.00481,"112":0.0024,"113":0.0024,"114":0.0024,"115":0.67765,"122":0.0024,"123":0.0024,"125":0.01202,"126":0.00481,"127":0.01682,"128":0.01922,"129":0.20666,"130":0.97802,"131":0.00721,_:"2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 35 36 37 38 39 40 41 42 44 46 48 49 50 51 53 54 55 57 58 59 60 61 62 63 64 66 67 68 69 70 71 73 74 76 77 79 80 81 83 84 85 86 87 89 90 91 92 93 95 96 98 101 104 111 116 117 118 119 120 121 124 132 133 134 135 3.5 3.6"},D:{"11":0.00721,"26":0.0024,"29":0.0024,"32":0.0024,"33":0.0024,"34":0.0024,"36":0.0024,"38":0.00481,"40":0.00481,"43":0.00961,"47":0.00481,"48":0.0024,"49":0.02163,"50":0.00481,"52":0.0024,"55":0.0024,"56":0.01442,"58":0.04806,"59":0.00721,"60":0.0024,"61":0.0024,"62":0.0024,"63":0.0024,"64":0.00481,"65":0.00721,"66":0.00481,"67":0.0024,"68":0.00721,"69":0.00481,"70":0.00961,"71":0.00481,"72":0.00721,"73":0.00961,"74":0.00481,"75":0.00481,"76":0.00721,"77":0.00481,"78":0.00481,"79":0.08651,"80":0.00721,"81":0.01922,"83":0.05287,"84":0.00481,"85":0.01682,"86":0.01682,"87":0.04566,"88":0.00961,"89":0.01202,"90":0.00481,"91":0.01682,"92":0.00481,"93":0.00481,"94":0.01442,"95":0.03845,"96":0.01202,"97":0.00961,"98":0.02163,"99":0.00721,"100":0.00481,"101":0.00481,"102":0.01202,"103":0.03124,"104":0.03605,"105":0.00961,"106":0.02884,"107":0.02403,"108":0.03364,"109":4.76034,"110":0.05287,"111":0.01202,"112":0.00961,"113":0.0024,"114":0.01442,"115":0.00481,"116":0.06008,"117":0.00961,"118":0.04085,"119":0.08651,"120":0.09131,"121":0.02884,"122":0.05527,"123":0.04566,"124":0.13697,"125":0.06248,"126":0.1634,"127":0.45176,"128":6.75724,"129":2.35013,"130":0.00481,_:"4 5 6 7 8 9 10 12 13 14 15 16 17 18 19 20 21 22 23 24 25 27 28 30 31 35 37 39 41 42 44 45 46 51 53 54 57 131 132 133"},F:{"25":0.00481,"28":0.0024,"36":0.0024,"46":0.0024,"64":0.0024,"73":0.0024,"77":0.0024,"79":0.02884,"82":0.0024,"83":0.0024,"84":0.01202,"85":0.01202,"86":0.0024,"87":0.0024,"95":0.13457,"107":0.0024,"109":0.03845,"111":0.00721,"112":0.55269,"113":0.4037,"114":0.00961,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 26 27 29 30 31 32 33 34 35 37 38 39 40 41 42 43 44 45 47 48 49 50 51 52 53 54 55 56 57 58 60 62 63 65 66 67 68 69 70 71 72 74 75 76 78 80 81 88 89 90 91 92 93 94 96 97 98 99 100 101 102 103 104 105 106 108 110 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"12":0.0024,"13":0.0024,"14":0.0024,"15":0.0024,"16":0.0024,"18":0.00721,"84":0.0024,"89":0.00481,"90":0.0024,"92":0.03124,"100":0.0024,"107":0.0024,"108":0.0024,"109":0.06248,"110":0.0024,"112":0.0024,"114":0.00481,"117":0.0024,"119":0.0024,"120":0.00481,"121":0.0024,"122":0.00481,"123":0.0024,"124":0.00481,"125":0.00961,"126":0.02163,"127":0.09372,"128":0.92996,"129":0.38688,_:"17 79 80 81 83 85 86 87 88 91 93 94 95 96 97 98 99 101 102 103 104 105 106 111 113 115 116 118 130"},E:{"14":0.0024,"15":0.00481,_:"0 4 5 6 7 8 9 10 11 12 13 3.1 3.2 5.1 6.1 7.1 9.1 10.1 11.1 15.2-15.3 18.1","12.1":0.0024,"13.1":0.00961,"14.1":0.00961,"15.1":0.00481,"15.4":0.00721,"15.5":0.0024,"15.6":0.02884,"16.0":0.0024,"16.1":0.00721,"16.2":0.0024,"16.3":0.00961,"16.4":0.0024,"16.5":0.00481,"16.6":0.03605,"17.0":0.00481,"17.1":0.00481,"17.2":0.00961,"17.3":0.00721,"17.4":0.03124,"17.5":0.04806,"17.6":0.17302,"18.0":0.04806},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.00091,"5.0-5.1":0.00045,"6.0-6.1":0.00273,"7.0-7.1":0.00318,"8.1-8.4":0,"9.0-9.2":0.00273,"9.3":0.00772,"10.0-10.2":0.00227,"10.3":0.01317,"11.0-11.2":0.04861,"11.3-11.4":0.00363,"12.0-12.1":0.00227,"12.2-12.5":0.05497,"13.0-13.1":0.00091,"13.2":0.01726,"13.3":0.00227,"13.4-13.7":0.00909,"14.0-14.4":0.0209,"14.5-14.8":0.02771,"15.0-15.1":0.0159,"15.2-15.3":0.01545,"15.4":0.01772,"15.5":0.02181,"15.6-15.8":0.21579,"16.0":0.04361,"16.1":0.08632,"16.2":0.04316,"16.3":0.07269,"16.4":0.01545,"16.5":0.03044,"16.6-16.7":0.25986,"17.0":0.02181,"17.1":0.03453,"17.2":0.03135,"17.3":0.04498,"17.4":0.09631,"17.5":0.46293,"17.6-17.7":2.46367,"18.0":0.31074,"18.1":0.01408},P:{"4":0.11512,"20":0.02093,"21":0.08372,"22":0.11512,"23":0.09419,"24":0.09419,"25":0.26163,"26":0.88955,"5.0-5.4":0.01047,"6.2-6.4":0.02093,"7.2-7.4":0.16744,_:"8.2 10.1 12.0 15.0","9.2":0.01047,"11.1-11.2":0.01047,"13.0":0.02093,"14.0":0.01047,"16.0":0.02093,"17.0":0.0314,"18.0":0.02093,"19.0":0.04186},I:{"0":0.06061,"3":0,"4":0,"2.1":0,"2.2":0,"2.3":0,"4.1":0.00001,"4.2-4.3":0.00002,"4.4":0,"4.4.3-4.4.4":0.0001},K:{"0":0.64854,_:"10 11 12 11.1 11.5 12.1"},A:{"8":0.02203,"9":0.00826,"10":0.00275,"11":0.09637,_:"6 7 5.5"},N:{_:"10 11"},S:{_:"2.5 3.0-3.1"},J:{_:"7 10"},O:{"0":0.42543},H:{"0":0.02},L:{"0":70.17569},R:{_:"0"},M:{"0":0.17473},Q:{"14.9":0.0076}}; diff --git a/node_modules/caniuse-lite/data/regions/EC.js b/node_modules/caniuse-lite/data/regions/EC.js index 7f7ea5ab28..38057e56be 100644 --- a/node_modules/caniuse-lite/data/regions/EC.js +++ b/node_modules/caniuse-lite/data/regions/EC.js @@ -1 +1 @@ -module.exports={C:{"4":0.04604,"52":0.00512,"78":0.01023,"88":0.00512,"89":0.00512,"96":0.00512,"110":0.00512,"112":0.0307,"113":0.01023,"114":0.00512,"115":0.30696,"117":0.01023,"118":0.01023,"119":0.00512,"120":0.01023,"121":0.01535,"122":0.01535,"123":0.0307,"124":0.06651,"125":1.57061,"126":1.35574,"127":0.01023,_:"2 3 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 79 80 81 82 83 84 85 86 87 90 91 92 93 94 95 97 98 99 100 101 102 103 104 105 106 107 108 109 111 116 128 129 3.5 3.6"},D:{"38":0.01535,"47":0.02046,"49":0.01023,"55":0.00512,"65":0.00512,"66":0.00512,"74":0.00512,"75":0.01023,"76":0.06651,"78":0.00512,"79":0.24045,"81":0.00512,"84":0.00512,"86":0.00512,"87":0.04093,"88":0.01023,"89":0.00512,"90":0.00512,"91":0.1586,"93":0.01023,"94":0.01023,"95":0.00512,"96":0.00512,"97":0.00512,"98":0.00512,"99":0.01023,"100":0.01023,"101":0.00512,"102":0.01023,"103":0.10744,"104":0.01023,"105":0.01023,"106":0.01535,"107":0.02046,"108":0.02558,"109":2.3329,"110":0.02046,"111":0.0307,"112":0.02046,"113":0.02046,"114":0.0307,"115":0.01535,"116":0.30696,"117":0.01535,"118":0.02558,"119":0.0972,"120":0.15348,"121":0.21999,"122":0.57299,"123":0.73159,"124":22.82759,"125":8.83022,"126":0.01023,_:"4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 39 40 41 42 43 44 45 46 48 50 51 52 53 54 56 57 58 59 60 61 62 63 64 67 68 69 70 71 72 73 77 80 83 85 92 127 128"},F:{"69":0.00512,"95":0.06651,"99":0.00512,"106":0.00512,"107":0.47067,"108":0.01535,"109":1.81618,"110":0.06139,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 60 62 63 64 65 66 67 68 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 96 97 98 100 101 102 103 104 105 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"18":0.00512,"92":0.02046,"100":0.00512,"108":0.00512,"109":0.03581,"114":0.01023,"116":0.00512,"117":0.00512,"118":0.00512,"119":0.00512,"120":0.02046,"121":0.02046,"122":0.04093,"123":0.08186,"124":3.0389,"125":1.55526,_:"12 13 14 15 16 17 79 80 81 83 84 85 86 87 88 89 90 91 93 94 95 96 97 98 99 101 102 103 104 105 106 107 110 111 112 113 115"},E:{"9":0.00512,"14":0.00512,_:"0 4 5 6 7 8 10 11 12 13 15 3.1 3.2 6.1 7.1 9.1 10.1 11.1 12.1 17.6","5.1":0.05116,"13.1":0.02046,"14.1":0.03581,"15.1":0.00512,"15.2-15.3":0.02046,"15.4":0.00512,"15.5":0.01535,"15.6":0.08186,"16.0":0.01023,"16.1":0.01023,"16.2":0.01023,"16.3":0.02558,"16.4":0.02046,"16.5":0.01535,"16.6":0.09209,"17.0":0.01535,"17.1":0.03581,"17.2":0.07674,"17.3":0.03581,"17.4":0.48602,"17.5":0.11767},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.00131,"5.0-5.1":0.00131,"6.0-6.1":0.00328,"7.0-7.1":0.00459,"8.1-8.4":0.00131,"9.0-9.2":0.00328,"9.3":0.0151,"10.0-10.2":0.00263,"10.3":0.02363,"11.0-11.2":0.03479,"11.3-11.4":0.00656,"12.0-12.1":0.00394,"12.2-12.5":0.09518,"13.0-13.1":0.00197,"13.2":0.00919,"13.3":0.00459,"13.4-13.7":0.02101,"14.0-14.4":0.0361,"14.5-14.8":0.05579,"15.0-15.1":0.02691,"15.2-15.3":0.02954,"15.4":0.03348,"15.5":0.04201,"15.6-15.8":0.37809,"16.0":0.08599,"16.1":0.17723,"16.2":0.08599,"16.3":0.149,"16.4":0.03151,"16.5":0.06367,"16.6-16.7":0.5074,"17.0":0.05514,"17.1":0.08993,"17.2":0.09387,"17.3":0.17329,"17.4":3.93518,"17.5":0.27766,"17.6":0},P:{"4":0.08323,"20":0.0104,"21":0.03121,"22":0.04162,"23":0.10404,"24":0.17686,"25":1.07159,_:"5.0-5.4 6.2-6.4 8.2 9.2 10.1 12.0 14.0 15.0 18.0","7.2-7.4":0.08323,"11.1-11.2":0.0104,"13.0":0.0104,"16.0":0.04162,"17.0":0.05202,"19.0":0.04162},I:{"0":0.03405,"3":0,"4":0,"2.1":0,"2.2":0,"2.3":0,"4.1":0.00001,"4.2-4.3":0.00002,"4.4":0,"4.4.3-4.4.4":0.00008},K:{"0":0.17094,_:"10 11 12 11.1 11.5 12.1"},A:{"8":0.00512,"11":0.04604,_:"6 7 9 10 5.5"},S:{_:"2.5 3.0-3.1"},J:{_:"7 10"},N:{_:"10 11"},L:{"0":41.35427},R:{_:"0"},M:{"0":0.15629},Q:{_:"14.9"},O:{"0":0.04396},H:{"0":0}}; +module.exports={C:{"4":0.04945,"52":0.0045,"57":0.0045,"78":0.00899,"100":0.0045,"102":0.0045,"103":0.0045,"105":0.0045,"106":0.0045,"108":0.0045,"109":0.0045,"112":0.0045,"113":0.01349,"114":0.0045,"115":0.31915,"116":0.00899,"119":0.0045,"121":0.0045,"122":0.0045,"123":0.0045,"124":0.0045,"125":0.01349,"126":0.01349,"127":0.02697,"128":0.03147,"129":0.46748,"130":2.0677,"131":0.00899,_:"2 3 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 53 54 55 56 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 101 104 107 110 111 117 118 120 132 133 134 135 3.5 3.6"},D:{"38":0.0045,"47":0.01349,"49":0.0045,"53":0.0045,"55":0.01349,"56":0.0045,"58":0.0045,"62":0.0045,"63":0.0045,"65":0.00899,"66":0.01349,"70":0.0045,"71":0.00899,"72":0.0045,"74":0.0045,"75":0.01349,"76":0.00899,"78":0.0045,"79":0.23824,"80":0.0045,"81":0.0045,"84":0.02248,"85":0.0045,"86":0.0045,"87":0.06293,"88":0.01798,"90":0.0045,"91":0.15283,"92":0.0045,"93":0.02248,"94":0.10788,"95":0.0045,"96":0.0045,"97":0.02248,"98":0.0045,"99":0.0045,"100":0.0045,"101":0.00899,"102":0.0045,"103":0.06743,"104":0.02248,"105":0.0045,"106":0.01349,"107":0.02248,"108":0.01349,"109":2.35089,"110":0.04495,"111":0.01798,"112":0.00899,"113":0.02248,"114":0.01349,"115":0.0045,"116":0.3596,"117":0.00899,"118":0.01349,"119":0.0944,"120":0.0944,"121":0.07192,"122":0.2697,"123":0.11687,"124":0.13485,"125":0.17531,"126":0.25622,"127":0.92597,"128":19.78699,"129":6.41437,"130":0.00899,_:"4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 39 40 41 42 43 44 45 46 48 50 51 52 54 57 59 60 61 64 67 68 69 73 77 83 89 131 132 133"},F:{"84":0.0045,"95":0.03596,"99":0.0045,"102":0.0045,"109":0.04945,"111":0.00899,"112":1.38896,"113":0.76415,"114":0.0045,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 60 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 85 86 87 88 89 90 91 92 93 94 96 97 98 100 101 103 104 105 106 107 108 110 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"18":0.0045,"85":0.0045,"92":0.01349,"100":0.01798,"108":0.00899,"109":0.05394,"110":0.0045,"114":0.0045,"115":0.0045,"118":0.0045,"119":0.01349,"120":0.0045,"121":0.00899,"122":0.0045,"123":0.00899,"124":0.06743,"125":0.01798,"126":0.06293,"127":0.09889,"128":3.12403,"129":1.0788,_:"12 13 14 15 16 17 79 80 81 83 84 86 87 88 89 90 91 93 94 95 96 97 98 99 101 102 103 104 105 106 107 111 112 113 116 117 130"},E:{"14":0.0045,"15":0.0045,_:"0 4 5 6 7 8 9 10 11 12 13 3.1 3.2 6.1 7.1 9.1 10.1 15.4","5.1":0.0045,"11.1":0.0045,"12.1":0.0045,"13.1":0.03147,"14.1":0.03147,"15.1":0.0045,"15.2-15.3":0.01798,"15.5":0.0045,"15.6":0.05394,"16.0":0.01349,"16.1":0.00899,"16.2":0.0045,"16.3":0.02248,"16.4":0.0045,"16.5":0.00899,"16.6":0.05844,"17.0":0.00899,"17.1":0.02248,"17.2":0.07192,"17.3":0.02248,"17.4":0.05844,"17.5":0.15733,"17.6":0.50794,"18.0":0.11687,"18.1":0.0045},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.00166,"5.0-5.1":0.00083,"6.0-6.1":0.00499,"7.0-7.1":0.00582,"8.1-8.4":0,"9.0-9.2":0.00499,"9.3":0.01414,"10.0-10.2":0.00416,"10.3":0.02412,"11.0-11.2":0.089,"11.3-11.4":0.00665,"12.0-12.1":0.00416,"12.2-12.5":0.10065,"13.0-13.1":0.00166,"13.2":0.03161,"13.3":0.00416,"13.4-13.7":0.01664,"14.0-14.4":0.03826,"14.5-14.8":0.05074,"15.0-15.1":0.02911,"15.2-15.3":0.02828,"15.4":0.03244,"15.5":0.03993,"15.6-15.8":0.39511,"16.0":0.07985,"16.1":0.15804,"16.2":0.07902,"16.3":0.13309,"16.4":0.02828,"16.5":0.05573,"16.6-16.7":0.47579,"17.0":0.03993,"17.1":0.06322,"17.2":0.05739,"17.3":0.08235,"17.4":0.17634,"17.5":0.84761,"17.6-17.7":4.51088,"18.0":0.56895,"18.1":0.02579},P:{"4":0.0715,"20":0.01021,"21":0.03064,"22":0.04086,"23":0.03064,"24":0.05107,"25":0.11236,"26":1.14398,"5.0-5.4":0.01021,_:"6.2-6.4 8.2 9.2 10.1 11.1-11.2 12.0 15.0 16.0 18.0","7.2-7.4":0.10214,"13.0":0.01021,"14.0":0.01021,"17.0":0.02043,"19.0":0.04086},I:{"0":0.02745,"3":0,"4":0,"2.1":0,"2.2":0,"2.3":0,"4.1":0,"4.2-4.3":0.00001,"4.4":0,"4.4.3-4.4.4":0.00004},K:{"0":0.19818,_:"10 11 12 11.1 11.5 12.1"},A:{"11":0.03147,_:"6 7 8 9 10 5.5"},N:{_:"10 11"},S:{_:"2.5 3.0-3.1"},J:{_:"7 10"},O:{"0":0.04404},H:{"0":0},L:{"0":45.43062},R:{_:"0"},M:{"0":0.15965},Q:{_:"14.9"}}; diff --git a/node_modules/caniuse-lite/data/regions/EE.js b/node_modules/caniuse-lite/data/regions/EE.js index 66e270a879..5599eb8b08 100644 --- a/node_modules/caniuse-lite/data/regions/EE.js +++ b/node_modules/caniuse-lite/data/regions/EE.js @@ -1 +1 @@ -module.exports={C:{"52":0.00726,"78":0.00726,"88":0.10165,"92":0.02178,"102":0.00726,"103":0.00726,"105":0.00726,"108":0.00726,"109":0.00726,"110":0.00726,"113":0.00726,"114":0.00726,"115":3.77572,"117":0.01452,"118":0.02178,"119":0.00726,"120":0.00726,"122":0.00726,"123":0.02178,"124":0.05083,"125":1.35781,"126":1.13998,_:"2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 79 80 81 82 83 84 85 86 87 89 90 91 93 94 95 96 97 98 99 100 101 104 106 107 111 112 116 121 127 128 129 3.5 3.6"},D:{"39":0.00726,"44":0.00726,"45":0.00726,"46":0.00726,"49":0.02178,"51":0.00726,"74":0.01452,"79":0.01452,"83":0.00726,"85":0.00726,"86":0.00726,"87":0.01452,"88":0.00726,"91":0.00726,"93":0.21783,"94":0.00726,"95":0.00726,"96":0.00726,"97":0.02178,"98":0.01452,"99":0.02178,"102":0.04357,"103":0.03631,"105":0.00726,"106":0.08713,"107":0.03631,"108":0.03631,"109":1.34329,"110":0.07987,"111":0.01452,"112":0.01452,"113":0.01452,"114":0.03631,"115":0.10165,"116":0.42114,"117":0.05083,"118":0.09439,"119":0.32675,"120":0.25414,"121":0.17426,"122":0.53731,"123":3.0351,"124":29.59584,"125":11.77734,"126":0.00726,_:"4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 40 41 42 43 47 48 50 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 75 76 77 78 80 81 84 89 90 92 100 101 104 127 128"},F:{"64":0.00726,"83":0.01452,"95":0.11618,"106":0.01452,"107":0.53005,"108":0.07261,"109":5.67084,"110":0.08713,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 60 62 63 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 84 85 86 87 88 89 90 91 92 93 94 96 97 98 99 100 101 102 103 104 105 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"14":0.00726,"18":0.00726,"86":0.00726,"92":0.00726,"108":0.00726,"109":0.03631,"110":0.02178,"111":0.05809,"112":0.00726,"116":0.02178,"117":0.02178,"118":0.02178,"119":0.02178,"120":0.04357,"121":0.01452,"122":0.01452,"123":0.48649,"124":4.10247,"125":2.25817,_:"12 13 15 16 17 79 80 81 83 84 85 87 88 89 90 91 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 113 114 115"},E:{"9":0.01452,"14":0.00726,_:"0 4 5 6 7 8 10 11 12 13 15 3.1 3.2 5.1 6.1 7.1 9.1 10.1 11.1 17.6","12.1":0.00726,"13.1":0.03631,"14.1":0.05809,"15.1":0.01452,"15.2-15.3":0.01452,"15.4":0.01452,"15.5":0.08713,"15.6":0.20331,"16.0":0.02904,"16.1":0.03631,"16.2":0.05083,"16.3":0.04357,"16.4":0.02178,"16.5":0.05083,"16.6":0.25414,"17.0":0.07261,"17.1":0.07261,"17.2":0.10892,"17.3":0.10892,"17.4":1.04558,"17.5":0.21783},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.00176,"5.0-5.1":0.00176,"6.0-6.1":0.0044,"7.0-7.1":0.00616,"8.1-8.4":0.00176,"9.0-9.2":0.0044,"9.3":0.02024,"10.0-10.2":0.00352,"10.3":0.03168,"11.0-11.2":0.04664,"11.3-11.4":0.0088,"12.0-12.1":0.00528,"12.2-12.5":0.12761,"13.0-13.1":0.00264,"13.2":0.01232,"13.3":0.00616,"13.4-13.7":0.02816,"14.0-14.4":0.0484,"14.5-14.8":0.07481,"15.0-15.1":0.03608,"15.2-15.3":0.0396,"15.4":0.04488,"15.5":0.05633,"15.6-15.8":0.50693,"16.0":0.11529,"16.1":0.23762,"16.2":0.11529,"16.3":0.19978,"16.4":0.04224,"16.5":0.08537,"16.6-16.7":0.68031,"17.0":0.07393,"17.1":0.12057,"17.2":0.12585,"17.3":0.23234,"17.4":5.27613,"17.5":0.37228,"17.6":0},P:{"4":0.02099,"20":0.03148,"21":0.02099,"22":0.03148,"23":0.08394,"24":0.16788,"25":1.40601,_:"5.0-5.4 6.2-6.4 7.2-7.4 8.2 9.2 10.1 11.1-11.2 12.0 13.0 14.0 15.0 16.0 18.0","17.0":0.01049,"19.0":0.01049},I:{"0":0.05732,"3":0,"4":0.00001,"2.1":0,"2.2":0,"2.3":0,"4.1":0.00001,"4.2-4.3":0.00003,"4.4":0,"4.4.3-4.4.4":0.00013},K:{"0":0.24386,_:"10 11 12 11.1 11.5 12.1"},A:{"8":0.03485,"9":0.00871,"10":0.00871,"11":0.12198,_:"6 7 5.5"},S:{"2.5":0.00274,_:"3.0-3.1"},J:{_:"7 10"},N:{_:"10 11"},L:{"0":16.2519},R:{_:"0"},M:{"0":0.36442},Q:{"14.9":0.00274},O:{"0":0.02466},H:{"0":0}}; +module.exports={C:{"52":0.00786,"78":0.00786,"88":0.10219,"92":0.03144,"102":0.00786,"105":0.00786,"107":0.00786,"115":4.31569,"117":0.00786,"119":0.00786,"122":0.01572,"124":0.00786,"125":0.01572,"126":0.00786,"127":0.07861,"128":0.03931,"129":0.45594,"130":2.86927,_:"2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 79 80 81 82 83 84 85 86 87 89 90 91 93 94 95 96 97 98 99 100 101 103 104 106 108 109 110 111 112 113 114 116 118 120 121 123 131 132 133 134 135 3.5 3.6"},D:{"49":0.00786,"60":0.00786,"79":0.00786,"85":0.00786,"87":0.01572,"89":0.01572,"90":0.01572,"96":0.01572,"98":0.00786,"101":0.00786,"102":0.02358,"103":0.07075,"105":0.00786,"106":0.07075,"107":0.00786,"108":0.03144,"109":1.07696,"110":0.12578,"111":0.00786,"112":0.01572,"113":0.00786,"114":0.02358,"115":0.02358,"116":0.26727,"117":0.02358,"118":0.07075,"119":0.20439,"120":0.23583,"121":0.11792,"122":0.27514,"123":0.07075,"124":0.44022,"125":0.23583,"126":0.68391,"127":5.3612,"128":36.88381,"129":9.35459,"130":0.02358,_:"4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 50 51 52 53 54 55 56 57 58 59 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 80 81 83 84 86 88 91 92 93 94 95 97 99 100 104 131 132 133"},F:{"83":0.01572,"84":0.00786,"95":0.05503,"109":0.03144,"111":0.00786,"112":4.02483,"113":1.21846,"114":0.03931,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 60 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 85 86 87 88 89 90 91 92 93 94 96 97 98 99 100 101 102 103 104 105 106 107 108 110 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"88":0.00786,"92":0.01572,"106":0.00786,"108":0.00786,"109":0.03144,"110":0.00786,"114":0.00786,"118":0.01572,"120":0.00786,"121":0.01572,"124":0.05503,"125":0.03931,"126":0.06289,"127":0.26727,"128":3.98553,"129":1.86306,_:"12 13 14 15 16 17 18 79 80 81 83 84 85 86 87 89 90 91 93 94 95 96 97 98 99 100 101 102 103 104 105 107 111 112 113 115 116 117 119 122 123 130"},E:{"9":0.00786,"14":0.01572,"15":0.02358,_:"0 4 5 6 7 8 10 11 12 13 3.1 3.2 5.1 6.1 7.1 9.1 10.1 11.1","12.1":0.00786,"13.1":0.02358,"14.1":0.03144,"15.1":0.00786,"15.2-15.3":0.00786,"15.4":0.01572,"15.5":0.01572,"15.6":0.11005,"16.0":0.00786,"16.1":0.03144,"16.2":0.03144,"16.3":0.03144,"16.4":0.01572,"16.5":0.02358,"16.6":0.22011,"17.0":0.02358,"17.1":0.02358,"17.2":0.04717,"17.3":0.02358,"17.4":0.07861,"17.5":0.1808,"17.6":0.77824,"18.0":0.11005,"18.1":0.00786},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.00134,"5.0-5.1":0.00067,"6.0-6.1":0.00401,"7.0-7.1":0.00468,"8.1-8.4":0,"9.0-9.2":0.00401,"9.3":0.01136,"10.0-10.2":0.00334,"10.3":0.01938,"11.0-11.2":0.07152,"11.3-11.4":0.00535,"12.0-12.1":0.00334,"12.2-12.5":0.08088,"13.0-13.1":0.00134,"13.2":0.0254,"13.3":0.00334,"13.4-13.7":0.01337,"14.0-14.4":0.03075,"14.5-14.8":0.04077,"15.0-15.1":0.0234,"15.2-15.3":0.02273,"15.4":0.02607,"15.5":0.03209,"15.6-15.8":0.31751,"16.0":0.06417,"16.1":0.127,"16.2":0.0635,"16.3":0.10695,"16.4":0.02273,"16.5":0.04479,"16.6-16.7":0.38235,"17.0":0.03209,"17.1":0.0508,"17.2":0.04612,"17.3":0.06618,"17.4":0.14171,"17.5":0.68114,"17.6-17.7":3.62494,"18.0":0.45721,"18.1":0.02072},P:{"20":0.01065,"21":0.01065,"22":0.01065,"23":0.01065,"24":0.03194,"25":0.11712,"26":1.23506,_:"4 5.0-5.4 6.2-6.4 7.2-7.4 8.2 9.2 10.1 11.1-11.2 12.0 13.0 14.0 15.0 16.0 17.0 18.0 19.0"},I:{"0":0.03413,"3":0,"4":0,"2.1":0,"2.2":0,"2.3":0,"4.1":0,"4.2-4.3":0.00001,"4.4":0,"4.4.3-4.4.4":0.00005},K:{"0":0.20107,_:"10 11 12 11.1 11.5 12.1"},A:{"8":0.02653,"9":0.00884,"10":0.00884,"11":0.09728,_:"6 7 5.5"},N:{_:"10 11"},S:{"2.5":0.00214,_:"3.0-3.1"},J:{_:"7 10"},O:{"0":0.01283},H:{"0":0},L:{"0":12.76112},R:{_:"0"},M:{"0":0.3016},Q:{_:"14.9"}}; diff --git a/node_modules/caniuse-lite/data/regions/EG.js b/node_modules/caniuse-lite/data/regions/EG.js index 6fa5b2aa49..d8f4c2b001 100644 --- a/node_modules/caniuse-lite/data/regions/EG.js +++ b/node_modules/caniuse-lite/data/regions/EG.js @@ -1 +1 @@ -module.exports={C:{"43":0.00194,"46":0.00194,"47":0.00194,"48":0.00194,"49":0.00194,"50":0.00194,"51":0.00194,"52":0.03884,"57":0.00194,"60":0.00194,"66":0.00194,"72":0.00388,"78":0.00194,"80":0.00194,"88":0.00194,"100":0.00194,"102":0.00194,"103":0.00194,"105":0.00194,"106":0.00194,"107":0.00194,"108":0.00388,"109":0.00194,"110":0.00194,"111":0.00194,"113":0.00194,"114":0.00194,"115":0.52822,"116":0.00194,"117":0.00194,"118":0.00388,"119":0.00194,"120":0.00194,"121":0.00971,"122":0.00388,"123":0.00971,"124":0.0233,"125":0.42336,"126":0.40782,"127":0.00388,_:"2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 44 45 53 54 55 56 58 59 61 62 63 64 65 67 68 69 70 71 73 74 75 76 77 79 81 82 83 84 85 86 87 89 90 91 92 93 94 95 96 97 98 99 101 104 112 128 129 3.5 3.6"},D:{"11":0.00194,"26":0.00194,"33":0.00388,"34":0.00194,"38":0.00388,"39":0.00194,"40":0.00388,"42":0.00194,"43":0.0602,"47":0.00777,"48":0.00194,"49":0.01748,"53":0.00388,"55":0.00194,"56":0.00194,"58":0.134,"63":0.00388,"66":0.00194,"68":0.00388,"69":0.00388,"70":0.00777,"71":0.00388,"72":0.00194,"73":0.00194,"74":0.00971,"75":0.00388,"76":0.00777,"77":0.00388,"78":0.00583,"79":0.06214,"80":0.01359,"81":0.01748,"83":0.00583,"84":0.00777,"85":0.01165,"86":0.01942,"87":0.04467,"88":0.00583,"89":0.00388,"90":0.00388,"91":0.00777,"92":0.00388,"93":0.00194,"94":0.00777,"95":0.00388,"96":0.00388,"97":0.01554,"98":0.02719,"99":0.01942,"100":0.00583,"101":0.00583,"102":0.0233,"103":0.02136,"104":0.00777,"105":0.00777,"106":0.01554,"107":0.01554,"108":0.03107,"109":2.84891,"110":0.00971,"111":0.01165,"112":0.01942,"113":0.00583,"114":0.01165,"115":0.00777,"116":0.03301,"117":0.01359,"118":0.01359,"119":0.02525,"120":0.06214,"121":0.05826,"122":0.12429,"123":0.23304,"124":6.96207,"125":3.00427,"126":0.00777,"127":0.00194,_:"4 5 6 7 8 9 10 12 13 14 15 16 17 18 19 20 21 22 23 24 25 27 28 29 30 31 32 35 36 37 41 44 45 46 50 51 52 54 57 59 60 61 62 64 65 67 128"},F:{"28":0.00194,"46":0.00194,"56":0.00194,"64":0.00388,"68":0.00194,"69":0.00194,"70":0.00194,"71":0.00194,"72":0.00388,"73":0.01165,"74":0.00194,"75":0.00194,"79":0.01359,"80":0.00194,"81":0.00194,"82":0.01554,"83":0.00583,"84":0.00388,"86":0.00194,"87":0.00194,"89":0.00388,"90":0.00388,"92":0.00194,"94":0.00388,"95":0.01748,"98":0.00194,"99":0.00194,"100":0.00388,"101":0.00583,"102":0.00583,"103":0.00194,"104":0.00194,"105":0.00971,"106":0.01359,"107":0.04661,"108":0.00971,"109":0.03301,"110":0.00194,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 47 48 49 50 51 52 53 54 55 57 58 60 62 63 65 66 67 76 77 78 85 88 91 93 96 97 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"12":0.00194,"14":0.00194,"15":0.00194,"16":0.00194,"17":0.00194,"18":0.00583,"84":0.00194,"89":0.00194,"90":0.00194,"92":0.01554,"98":0.00194,"100":0.00194,"104":0.00194,"106":0.00194,"107":0.00388,"108":0.00194,"109":0.04467,"110":0.00194,"111":0.00194,"112":0.00194,"113":0.00194,"114":0.00388,"115":0.00388,"116":0.00388,"117":0.00194,"118":0.00194,"119":0.00388,"120":0.00971,"121":0.01165,"122":0.02525,"123":0.06409,"124":1.17103,"125":0.71271,_:"13 79 80 81 83 85 86 87 88 91 93 94 95 96 97 99 101 102 103 105"},E:{"14":0.00777,"15":0.00194,_:"0 4 5 6 7 8 9 10 11 12 13 3.1 3.2 6.1 7.1 9.1 10.1 11.1 12.1 17.6","5.1":0.00777,"13.1":0.00388,"14.1":0.01359,"15.1":0.00194,"15.2-15.3":0.00388,"15.4":0.00194,"15.5":0.00388,"15.6":0.02719,"16.0":0.00583,"16.1":0.00583,"16.2":0.00388,"16.3":0.00777,"16.4":0.00388,"16.5":0.00583,"16.6":0.02525,"17.0":0.00583,"17.1":0.01359,"17.2":0.00971,"17.3":0.01165,"17.4":0.1204,"17.5":0.01748},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.00122,"5.0-5.1":0.00122,"6.0-6.1":0.00304,"7.0-7.1":0.00426,"8.1-8.4":0.00122,"9.0-9.2":0.00304,"9.3":0.01399,"10.0-10.2":0.00243,"10.3":0.0219,"11.0-11.2":0.03224,"11.3-11.4":0.00608,"12.0-12.1":0.00365,"12.2-12.5":0.08821,"13.0-13.1":0.00183,"13.2":0.00852,"13.3":0.00426,"13.4-13.7":0.01947,"14.0-14.4":0.03346,"14.5-14.8":0.05171,"15.0-15.1":0.02494,"15.2-15.3":0.02738,"15.4":0.03103,"15.5":0.03894,"15.6-15.8":0.35043,"16.0":0.0797,"16.1":0.16426,"16.2":0.0797,"16.3":0.1381,"16.4":0.0292,"16.5":0.05901,"16.6-16.7":0.47028,"17.0":0.0511,"17.1":0.08335,"17.2":0.087,"17.3":0.16061,"17.4":3.64723,"17.5":0.25734,"17.6":0},P:{"4":0.31114,"20":0.03111,"21":0.05186,"22":0.11409,"23":0.18669,"24":0.26966,"25":1.79426,"5.0-5.4":0.01037,"6.2-6.4":0.02074,"7.2-7.4":0.10371,_:"8.2 10.1","9.2":0.01037,"11.1-11.2":0.04149,"12.0":0.01037,"13.0":0.03111,"14.0":0.03111,"15.0":0.01037,"16.0":0.04149,"17.0":0.05186,"18.0":0.04149,"19.0":0.05186},I:{"0":0.1204,"3":0,"4":0.00001,"2.1":0,"2.2":0,"2.3":0,"4.1":0.00002,"4.2-4.3":0.00007,"4.4":0,"4.4.3-4.4.4":0.00027},K:{"0":0.51571,_:"10 11 12 11.1 11.5 12.1"},A:{"8":0.00608,"9":0.00405,"10":0.00203,"11":0.08106,_:"6 7 5.5"},S:{"2.5":0.00806,_:"3.0-3.1"},J:{_:"7 10"},N:{_:"10 11"},L:{"0":70.42346},R:{_:"0"},M:{"0":0.16116},Q:{_:"14.9"},O:{"0":0.47542},H:{"0":0}}; +module.exports={C:{"36":0.00576,"39":0.00288,"43":0.00288,"47":0.00864,"48":0.00288,"50":0.0144,"52":0.03744,"56":0.00288,"60":0.00288,"66":0.00288,"67":0.00288,"72":0.00288,"78":0.00288,"94":0.00288,"95":0.0144,"99":0.00288,"102":0.00288,"103":0.00864,"105":0.00288,"106":0.00288,"108":0.00288,"109":0.00288,"110":0.00288,"111":0.00288,"112":0.00288,"113":0.00288,"115":0.7056,"118":0.00288,"121":0.00576,"123":0.00288,"124":0.00288,"125":0.01152,"126":0.00576,"127":0.04608,"128":0.0144,"129":0.20736,"130":1.02816,"131":0.0144,_:"2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 37 38 40 41 42 44 45 46 49 51 53 54 55 57 58 59 61 62 63 64 65 68 69 70 71 73 74 75 76 77 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 96 97 98 100 101 104 107 114 116 117 119 120 122 132 133 134 135 3.5 3.6"},D:{"11":0.00288,"31":0.00288,"33":0.00288,"34":0.00288,"38":0.00576,"40":0.00288,"43":0.04896,"47":0.01728,"48":0.00288,"49":0.0144,"53":0.00288,"55":0.00288,"56":0.02016,"58":0.22752,"63":0.00288,"66":0.00288,"68":0.00288,"69":0.00864,"70":0.01152,"71":0.00576,"72":0.00288,"73":0.00576,"74":0.00576,"75":0.00288,"76":0.00864,"77":0.00288,"78":0.00576,"79":0.08928,"80":0.0144,"81":0.02592,"83":0.00864,"84":0.00576,"85":0.0144,"86":0.02016,"87":0.06912,"88":0.00288,"89":0.00576,"90":0.00576,"91":0.01728,"92":0.00576,"93":0.00576,"94":0.01152,"95":0.00576,"96":0.00576,"97":0.00576,"98":0.03168,"99":0.0144,"100":0.00576,"101":0.00288,"102":0.00864,"103":0.03456,"104":0.02016,"105":0.00864,"106":0.02016,"107":0.02304,"108":0.06624,"109":3.49632,"110":0.01152,"111":0.1008,"112":0.02304,"113":0.00288,"114":0.00864,"115":0.00576,"116":0.05184,"117":0.01152,"118":0.0432,"119":0.02304,"120":0.0432,"121":0.03456,"122":0.08064,"123":0.11808,"124":0.12096,"125":0.07488,"126":0.19296,"127":0.55872,"128":10.944,"129":4.4208,"130":0.00864,"131":0.00288,_:"4 5 6 7 8 9 10 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 32 35 36 37 39 41 42 44 45 46 50 51 52 54 57 59 60 61 62 64 65 67 132 133"},F:{"46":0.00288,"56":0.00288,"63":0.00288,"64":0.00864,"68":0.00288,"70":0.00288,"71":0.00288,"72":0.00288,"73":0.0144,"79":0.0144,"80":0.00288,"81":0.00288,"82":0.02304,"83":0.01152,"84":0.0144,"85":0.00288,"87":0.00288,"88":0.00288,"89":0.00576,"90":0.00864,"92":0.00288,"94":0.00864,"95":0.00864,"98":0.00288,"100":0.00288,"101":0.00864,"102":0.00288,"103":0.00288,"104":0.00288,"105":0.00288,"106":0.00576,"107":0.00864,"108":0.00288,"109":0.0432,"110":0.00288,"111":0.01728,"112":0.04896,"113":0.03168,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 47 48 49 50 51 52 53 54 55 57 58 60 62 65 66 67 69 74 75 76 77 78 86 91 93 96 97 99 114 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"12":0.00288,"13":0.00288,"14":0.00288,"16":0.00288,"18":0.00864,"84":0.00288,"85":0.00288,"87":0.00288,"89":0.00288,"92":0.03168,"100":0.00864,"107":0.00288,"108":0.00288,"109":0.05472,"110":0.00288,"111":0.00288,"114":0.02304,"115":0.00288,"117":0.00288,"118":0.00288,"119":0.00288,"120":0.01152,"121":0.00576,"122":0.01152,"123":0.01728,"124":0.01152,"125":0.02304,"126":0.04032,"127":0.09216,"128":1.86048,"129":0.91008,"130":0.00288,_:"15 17 79 80 81 83 86 88 90 91 93 94 95 96 97 98 99 101 102 103 104 105 106 112 113 116"},E:{"13":0.00288,"14":0.00576,"15":0.00288,_:"0 4 5 6 7 8 9 10 11 12 3.1 3.2 6.1 7.1 9.1 10.1 11.1 12.1","5.1":0.01728,"13.1":0.00864,"14.1":0.01152,"15.1":0.00288,"15.2-15.3":0.00288,"15.4":0.00576,"15.5":0.00576,"15.6":0.03744,"16.0":0.00288,"16.1":0.00576,"16.2":0.00288,"16.3":0.0144,"16.4":0.00288,"16.5":0.00576,"16.6":0.0432,"17.0":0.00576,"17.1":0.01152,"17.2":0.00864,"17.3":0.00864,"17.4":0.0288,"17.5":0.06912,"17.6":0.20448,"18.0":0.06336,"18.1":0.00576},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.00146,"5.0-5.1":0.00073,"6.0-6.1":0.00438,"7.0-7.1":0.00511,"8.1-8.4":0,"9.0-9.2":0.00438,"9.3":0.01242,"10.0-10.2":0.00365,"10.3":0.02119,"11.0-11.2":0.07818,"11.3-11.4":0.00584,"12.0-12.1":0.00365,"12.2-12.5":0.0884,"13.0-13.1":0.00146,"13.2":0.02776,"13.3":0.00365,"13.4-13.7":0.01461,"14.0-14.4":0.03361,"14.5-14.8":0.04457,"15.0-15.1":0.02557,"15.2-15.3":0.02484,"15.4":0.02849,"15.5":0.03507,"15.6-15.8":0.34704,"16.0":0.07014,"16.1":0.13882,"16.2":0.06941,"16.3":0.1169,"16.4":0.02484,"16.5":0.04895,"16.6-16.7":0.41791,"17.0":0.03507,"17.1":0.05553,"17.2":0.05041,"17.3":0.07233,"17.4":0.15489,"17.5":0.7445,"17.6-17.7":3.96212,"18.0":0.49974,"18.1":0.02265},P:{"4":0.17662,"20":0.02078,"21":0.03117,"22":0.10389,"23":0.07272,"24":0.07272,"25":0.21817,"26":1.78695,"5.0-5.4":0.01039,"6.2-6.4":0.02078,"7.2-7.4":0.08311,_:"8.2 9.2 10.1 12.0","11.1-11.2":0.01039,"13.0":0.02078,"14.0":0.02078,"15.0":0.01039,"16.0":0.03117,"17.0":0.04156,"18.0":0.02078,"19.0":0.02078},I:{"0":0.09232,"3":0,"4":0,"2.1":0,"2.2":0,"2.3":0,"4.1":0.00001,"4.2-4.3":0.00004,"4.4":0,"4.4.3-4.4.4":0.00015},K:{"0":0.55544,_:"10 11 12 11.1 11.5 12.1"},A:{"8":0.03288,"9":0.00598,"10":0.00299,"11":0.19431,_:"6 7 5.5"},N:{_:"10 11"},S:{"2.5":0.00712,_:"3.0-3.1"},J:{_:"7 10"},O:{"0":0.51271},H:{"0":0},L:{"0":60.2114},R:{_:"0"},M:{"0":0.21363},Q:{_:"14.9"}}; diff --git a/node_modules/caniuse-lite/data/regions/ER.js b/node_modules/caniuse-lite/data/regions/ER.js index 180542e82a..eb182c92e8 100644 --- a/node_modules/caniuse-lite/data/regions/ER.js +++ b/node_modules/caniuse-lite/data/regions/ER.js @@ -1 +1 @@ -module.exports={C:{"34":0.00248,"35":0.00248,"44":0.00248,"47":0.00248,"64":0.16643,"75":0.00497,"78":0.00248,"85":0.00248,"87":0.00248,"102":0.00248,"106":0.00248,"115":0.077,"118":0.03229,"119":0.00745,"123":0.00248,"124":0.01242,"125":1.05073,"126":0.45457,"127":0.06707,_:"2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 36 37 38 39 40 41 42 43 45 46 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 65 66 67 68 69 70 71 72 73 74 76 77 79 80 81 82 83 84 86 88 89 90 91 92 93 94 95 96 97 98 99 100 101 103 104 105 107 108 109 110 111 112 113 114 116 117 120 121 122 128 129 3.5 3.6"},D:{"37":0.00497,"55":0.00248,"68":0.00248,"70":0.00745,"71":0.0149,"72":0.00248,"73":0.00248,"78":0.01987,"79":0.01987,"83":0.02236,"86":0.00497,"87":0.05713,"90":0.00248,"92":0.01987,"97":0.00248,"98":0.09688,"99":0.00248,"101":0.00248,"102":0.01739,"103":0.00745,"105":0.01242,"106":0.01242,"108":0.00248,"109":2.97832,"110":0.00248,"111":0.03726,"112":0.01739,"113":0.00248,"114":0.00248,"115":0.00745,"116":0.01242,"118":0.09439,"119":0.02484,"120":0.57629,"121":0.03726,"122":0.01739,"123":0.15898,"124":9.07157,"125":1.47053,"126":0.07204,_:"4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 56 57 58 59 60 61 62 63 64 65 66 67 69 74 75 76 77 80 81 84 85 88 89 91 93 94 95 96 100 104 107 117 127 128"},F:{"57":0.10184,"63":0.00994,"64":0.00248,"69":0.00497,"70":0.00248,"73":0.00248,"79":0.10184,"82":0.01242,"83":0.00497,"86":0.00497,"87":0.00248,"90":0.04968,"95":0.0149,"100":0.00497,"106":0.00248,"107":0.02484,"108":0.00497,"109":2.2356,"110":0.08197,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 58 60 62 65 66 67 68 71 72 74 75 76 77 78 80 81 84 85 88 89 91 92 93 94 96 97 98 99 101 102 103 104 105 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"12":0.1714,"13":0.0149,"14":0.00497,"15":0.00994,"16":0.00248,"17":0.0149,"18":0.04223,"84":0.00745,"89":0.00248,"92":0.01987,"99":0.0149,"100":0.02236,"102":0.00497,"106":0.02236,"108":0.00248,"109":0.00248,"112":0.0149,"114":0.00248,"115":0.00248,"117":0.00745,"118":0.00745,"119":0.00497,"120":0.02236,"121":0.02981,"122":0.03229,"123":0.02484,"124":1.58231,"125":0.51419,_:"79 80 81 83 85 86 87 88 90 91 93 94 95 96 97 98 101 103 104 105 107 110 111 113 116"},E:{_:"0 4 5 6 7 8 9 10 11 12 13 14 15 3.1 3.2 5.1 6.1 7.1 9.1 10.1 11.1 12.1 13.1 14.1 15.1 15.2-15.3 15.4 15.5 15.6 16.0 16.1 16.2 16.3 16.4 16.5 16.6 17.0 17.1 17.2 17.3 17.5 17.6","17.4":0.00497},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.00006,"5.0-5.1":0.00006,"6.0-6.1":0.00014,"7.0-7.1":0.0002,"8.1-8.4":0.00006,"9.0-9.2":0.00014,"9.3":0.00066,"10.0-10.2":0.00011,"10.3":0.00103,"11.0-11.2":0.00151,"11.3-11.4":0.00029,"12.0-12.1":0.00017,"12.2-12.5":0.00414,"13.0-13.1":0.00009,"13.2":0.0004,"13.3":0.0002,"13.4-13.7":0.00091,"14.0-14.4":0.00157,"14.5-14.8":0.00243,"15.0-15.1":0.00117,"15.2-15.3":0.00129,"15.4":0.00146,"15.5":0.00183,"15.6-15.8":0.01645,"16.0":0.00374,"16.1":0.00771,"16.2":0.00374,"16.3":0.00648,"16.4":0.00137,"16.5":0.00277,"16.6-16.7":0.02208,"17.0":0.0024,"17.1":0.00391,"17.2":0.00408,"17.3":0.00754,"17.4":0.17122,"17.5":0.01208,"17.6":0},P:{"4":0.07125,"21":0.01018,"22":0.03053,"23":0.01018,"24":0.04071,"25":0.06107,_:"20 5.0-5.4 6.2-6.4 8.2 10.1 11.1-11.2 12.0 13.0 14.0 15.0 17.0","7.2-7.4":0.17302,"9.2":0.01018,"16.0":0.05089,"18.0":0.01018,"19.0":0.01018},I:{"0":0.08235,"3":0,"4":0.00001,"2.1":0,"2.2":0,"2.3":0,"4.1":0.00002,"4.2-4.3":0.00005,"4.4":0,"4.4.3-4.4.4":0.00018},K:{"0":0.93363,_:"10 11 12 11.1 11.5 12.1"},A:{_:"6 7 8 9 10 11 5.5"},S:{"2.5":0.03006,_:"3.0-3.1"},J:{_:"7 10"},N:{_:"10 11"},L:{"0":68.88728},R:{_:"0"},M:{"0":0.00752},Q:{_:"14.9"},O:{"0":0.38332},H:{"0":5.47}}; +module.exports={C:{"47":0.013,"72":0.0182,"94":0.0494,"102":0.0806,"115":0.4108,"116":0.0182,"118":0.0364,"125":0.013,"127":0.0936,"128":0.0364,"129":0.182,"130":1.105,"131":0.0052,_:"2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 95 96 97 98 99 100 101 103 104 105 106 107 108 109 110 111 112 113 114 117 119 120 121 122 123 124 126 132 133 134 135 3.5 3.6"},D:{"51":0.0182,"61":0.1066,"65":0.0052,"72":0.0624,"75":0.0572,"76":0.0364,"78":0.0312,"80":0.0052,"87":0.4186,"92":0.1118,"96":0.0052,"98":0.156,"99":0.013,"102":0.013,"103":0.156,"104":0.1196,"105":0.013,"106":0.4992,"109":4.3628,"112":0.1924,"114":0.0052,"115":0.013,"116":0.026,"117":0.0052,"118":0.1066,"120":0.6682,"122":0.0494,"123":0.0052,"124":0.442,"125":0.0442,"126":0.3068,"127":0.949,"128":6.1984,"129":1.1596,_:"4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 52 53 54 55 56 57 58 59 60 62 63 64 66 67 68 69 70 71 73 74 77 79 81 83 84 85 86 88 89 90 91 93 94 95 97 100 101 107 108 110 111 113 119 121 130 131 132 133"},F:{"34":0.0442,"57":0.0182,"70":0.0052,"79":0.0676,"82":0.0052,"85":0.0182,"95":0.0182,"100":0.013,"108":0.0052,"112":1.066,"113":0.0936,"114":0.0052,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 58 60 62 63 64 65 66 67 68 69 71 72 73 74 75 76 77 78 80 81 83 84 86 87 88 89 90 91 92 93 94 96 97 98 99 101 102 103 104 105 106 107 109 110 111 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"18":0.0052,"80":0.0312,"84":0.0052,"90":0.1248,"92":0.0494,"97":0.1066,"100":1.1986,"103":0.0182,"106":0.013,"109":0.0312,"115":0.0442,"120":0.0052,"123":0.0052,"125":0.0884,"127":0.5616,"128":1.6354,"129":0.2626,_:"12 13 14 15 16 17 79 81 83 85 86 87 88 89 91 93 94 95 96 98 99 101 102 104 105 107 108 110 111 112 113 114 116 117 118 119 121 122 124 126 130"},E:{_:"0 4 5 6 7 8 9 10 11 12 13 14 15 3.1 3.2 5.1 6.1 7.1 9.1 10.1 12.1 13.1 14.1 15.1 15.2-15.3 15.4 15.5 15.6 16.1 16.2 16.3 16.4 16.5 16.6 17.0 17.1 17.2 17.3 17.5 17.6 18.0 18.1","11.1":0.013,"16.0":0.026,"17.4":0.0052},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.00009,"5.0-5.1":0.00005,"6.0-6.1":0.00028,"7.0-7.1":0.00033,"8.1-8.4":0,"9.0-9.2":0.00028,"9.3":0.00081,"10.0-10.2":0.00024,"10.3":0.00137,"11.0-11.2":0.00507,"11.3-11.4":0.00038,"12.0-12.1":0.00024,"12.2-12.5":0.00573,"13.0-13.1":0.00009,"13.2":0.0018,"13.3":0.00024,"13.4-13.7":0.00095,"14.0-14.4":0.00218,"14.5-14.8":0.00289,"15.0-15.1":0.00166,"15.2-15.3":0.00161,"15.4":0.00185,"15.5":0.00227,"15.6-15.8":0.0225,"16.0":0.00455,"16.1":0.009,"16.2":0.0045,"16.3":0.00758,"16.4":0.00161,"16.5":0.00317,"16.6-16.7":0.02709,"17.0":0.00227,"17.1":0.0036,"17.2":0.00327,"17.3":0.00469,"17.4":0.01004,"17.5":0.04826,"17.6-17.7":0.25683,"18.0":0.03239,"18.1":0.00147},P:{"21":0.06907,"22":0.01973,"24":0.00987,"25":0.00987,"26":0.18747,_:"4 20 23 5.0-5.4 6.2-6.4 7.2-7.4 8.2 9.2 10.1 12.0 13.0 15.0 16.0 18.0","11.1-11.2":0.01973,"14.0":0.01973,"17.0":0.00987,"19.0":0.36507},I:{"0":0.09594,"3":0,"4":0,"2.1":0,"2.2":0,"2.3":0,"4.1":0.00001,"4.2-4.3":0.00004,"4.4":0,"4.4.3-4.4.4":0.00015},K:{"0":0.9864,_:"10 11 12 11.1 11.5 12.1"},A:{"11":0.0182,_:"6 7 8 9 10 5.5"},N:{_:"10 11"},S:{"2.5":0.0148,_:"3.0-3.1"},J:{_:"7 10"},O:{"0":0.3996},H:{"0":0.39},L:{"0":71.9456},R:{_:"0"},M:{"0":0.0074},Q:{"14.9":0.0222}}; diff --git a/node_modules/caniuse-lite/data/regions/ES.js b/node_modules/caniuse-lite/data/regions/ES.js index ed445df2a4..9863d89095 100644 --- a/node_modules/caniuse-lite/data/regions/ES.js +++ b/node_modules/caniuse-lite/data/regions/ES.js @@ -1 +1 @@ -module.exports={C:{"4":0.00329,"48":0.00329,"52":0.02957,"56":0.00329,"57":0.00329,"59":0.00657,"67":0.00329,"68":0.00329,"78":0.02629,"79":0.00329,"81":0.00657,"88":0.01314,"91":0.00329,"94":0.00329,"95":0.00657,"96":0.00329,"99":0.00329,"100":0.01972,"101":0.00329,"102":0.00657,"103":0.00329,"105":0.00329,"106":0.00329,"107":0.00657,"108":0.00329,"109":0.03615,"110":0.00329,"111":0.00329,"113":0.00986,"114":0.00329,"115":0.28588,"117":0.00329,"118":0.01643,"119":0.00657,"120":0.00657,"121":0.00986,"122":0.00986,"123":0.01643,"124":0.06243,"125":0.95951,"126":0.78864,"127":0.00329,_:"2 3 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 49 50 51 53 54 55 58 60 61 62 63 64 65 66 69 70 71 72 73 74 75 76 77 80 82 83 84 85 86 87 89 90 92 93 97 98 104 112 116 128 129 3.5 3.6"},D:{"38":0.00329,"46":0.00986,"49":0.02629,"58":0.00329,"63":0.00329,"65":0.00329,"66":0.023,"67":0.00329,"70":0.00329,"73":0.00657,"75":0.01314,"76":0.00329,"77":0.00329,"79":0.03286,"80":0.00329,"81":0.00657,"83":0.00329,"84":0.01314,"85":0.00329,"86":0.00657,"87":0.03615,"88":0.00986,"89":0.00657,"90":0.00657,"91":0.01314,"92":0.00329,"93":0.023,"94":0.01972,"95":0.00657,"96":0.00329,"97":0.00657,"98":0.00657,"99":0.01314,"100":0.00657,"101":0.00329,"102":0.00986,"103":0.07229,"104":0.00986,"105":0.01314,"106":0.01643,"107":0.04929,"108":0.02629,"109":1.12381,"110":0.01314,"111":0.01643,"112":0.03286,"113":0.02629,"114":0.04272,"115":0.01314,"116":0.13801,"117":0.02629,"118":0.01972,"119":0.04929,"120":0.09858,"121":0.10187,"122":0.24316,"123":0.79521,"124":13.6139,"125":4.88628,"126":0.00986,"127":0.00329,_:"4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 39 40 41 42 43 44 45 47 48 50 51 52 53 54 55 56 57 59 60 61 62 64 68 69 71 72 74 78 128"},F:{"46":0.00657,"69":0.00329,"95":0.023,"102":0.00329,"106":0.00329,"107":0.28588,"108":0.00986,"109":1.07124,"110":0.046,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 47 48 49 50 51 52 53 54 55 56 57 58 60 62 63 64 65 66 67 68 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 96 97 98 99 100 101 103 104 105 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"17":0.00329,"18":0.00329,"84":0.00657,"90":0.00329,"92":0.00657,"101":0.00329,"107":0.00329,"108":0.00329,"109":0.04272,"110":0.00657,"111":0.00329,"112":0.00329,"113":0.00329,"114":0.00657,"115":0.00329,"116":0.00329,"117":0.00329,"118":0.00329,"119":0.00986,"120":0.01643,"121":0.01643,"122":0.05586,"123":0.07886,"124":2.01432,"125":1.06795,_:"12 13 14 15 16 79 80 81 83 85 86 87 88 89 91 93 94 95 96 97 98 99 100 102 103 104 105 106"},E:{"13":0.00657,"14":0.02957,"15":0.00657,_:"0 4 5 6 7 8 9 10 11 12 3.1 3.2 5.1 6.1 7.1 9.1 17.6","10.1":0.00329,"11.1":0.00986,"12.1":0.00986,"13.1":0.07229,"14.1":0.06572,"15.1":0.02629,"15.2-15.3":0.00986,"15.4":0.01972,"15.5":0.02629,"15.6":0.22345,"16.0":0.02629,"16.1":0.03286,"16.2":0.03286,"16.3":0.07229,"16.4":0.023,"16.5":0.04272,"16.6":0.22345,"17.0":0.02957,"17.1":0.05258,"17.2":0.05915,"17.3":0.07558,"17.4":1.0318,"17.5":0.13473},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.00239,"5.0-5.1":0.00239,"6.0-6.1":0.00598,"7.0-7.1":0.00837,"8.1-8.4":0.00239,"9.0-9.2":0.00598,"9.3":0.02751,"10.0-10.2":0.00479,"10.3":0.04307,"11.0-11.2":0.0634,"11.3-11.4":0.01196,"12.0-12.1":0.00718,"12.2-12.5":0.17346,"13.0-13.1":0.00359,"13.2":0.01675,"13.3":0.00837,"13.4-13.7":0.03828,"14.0-14.4":0.06579,"14.5-14.8":0.10168,"15.0-15.1":0.04905,"15.2-15.3":0.05383,"15.4":0.06101,"15.5":0.07656,"15.6-15.8":0.68904,"16.0":0.15671,"16.1":0.32299,"16.2":0.15671,"16.3":0.27155,"16.4":0.05742,"16.5":0.11604,"16.6-16.7":0.92471,"17.0":0.10049,"17.1":0.16389,"17.2":0.17106,"17.3":0.31581,"17.4":7.17156,"17.5":0.50602,"17.6":0},P:{"4":0.0418,"20":0.0209,"21":0.05225,"22":0.0627,"23":0.15674,"24":0.25079,"25":2.62282,_:"5.0-5.4 7.2-7.4 8.2 9.2 10.1 12.0 15.0","6.2-6.4":0.01045,"11.1-11.2":0.01045,"13.0":0.01045,"14.0":0.01045,"16.0":0.0209,"17.0":0.01045,"18.0":0.01045,"19.0":0.03135},I:{"0":0.02675,"3":0,"4":0,"2.1":0,"2.2":0,"2.3":0,"4.1":0.00001,"4.2-4.3":0.00002,"4.4":0,"4.4.3-4.4.4":0.00006},K:{"0":0.32894,_:"10 11 12 11.1 11.5 12.1"},A:{"8":0.00344,"9":0.00344,"11":0.06541,_:"6 7 10 5.5"},S:{_:"2.5 3.0-3.1"},J:{_:"7 10"},N:{_:"10 11"},L:{"0":51.95826},R:{_:"0"},M:{"0":0.37593},Q:{_:"14.9"},O:{"0":0.02014},H:{"0":0}}; +module.exports={C:{"4":0.00689,"48":0.00345,"50":0.00345,"52":0.02412,"56":0.00345,"59":0.00689,"67":0.00345,"78":0.02068,"88":0.00689,"91":0.00345,"95":0.00689,"99":0.00345,"100":0.01034,"101":0.00345,"102":0.00345,"103":0.00345,"106":0.00345,"108":0.00345,"109":0.01034,"110":0.00345,"113":0.01034,"114":0.00345,"115":0.26879,"117":0.00345,"118":0.00345,"119":0.00345,"120":0.00345,"121":0.01378,"122":0.00345,"123":0.00689,"124":0.00689,"125":0.00689,"126":0.01034,"127":0.02757,"128":0.02412,"129":0.29636,"130":1.5059,"131":0.00345,_:"2 3 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 49 51 53 54 55 57 58 60 61 62 63 64 65 66 68 69 70 71 72 73 74 75 76 77 79 80 81 82 83 84 85 86 87 89 90 92 93 94 96 97 98 104 105 107 111 112 116 132 133 134 135 3.5 3.6"},D:{"49":0.03791,"58":0.00345,"65":0.00345,"66":0.02757,"73":0.00345,"75":0.01378,"76":0.00345,"77":0.00345,"78":0.00345,"79":0.03101,"80":0.00345,"81":0.00345,"83":0.04135,"84":0.00345,"85":0.00345,"86":0.00689,"87":0.03446,"88":0.00689,"89":0.00689,"90":0.00345,"91":0.01034,"93":0.01378,"94":0.01034,"95":0.00345,"96":0.00345,"97":0.00345,"98":0.00345,"99":0.01378,"100":0.00689,"101":0.00345,"102":0.00689,"103":0.06892,"104":0.01378,"105":0.01034,"106":0.01378,"107":0.02412,"108":0.02068,"109":0.97866,"110":0.01034,"111":0.01723,"112":0.02068,"113":0.02757,"114":0.03446,"115":0.00689,"116":0.13784,"117":0.01723,"118":0.01723,"119":0.04135,"120":0.05514,"121":0.03446,"122":0.11716,"123":0.1275,"124":0.13784,"125":0.13095,"126":0.36872,"127":0.78569,"128":13.49109,"129":6.2028,"130":0.00689,"131":0.00345,_:"4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 50 51 52 53 54 55 56 57 59 60 61 62 63 64 67 68 69 70 71 72 74 92 132 133"},F:{"46":0.00345,"69":0.00345,"84":0.01034,"95":0.01378,"102":0.00345,"107":0.00345,"109":0.02757,"110":0.00345,"111":0.00345,"112":0.79603,"113":0.62028,"114":0.00345,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 47 48 49 50 51 52 53 54 55 56 57 58 60 62 63 64 65 66 67 68 70 71 72 73 74 75 76 77 78 79 80 81 82 83 85 86 87 88 89 90 91 92 93 94 96 97 98 99 100 101 103 104 105 106 108 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"17":0.00345,"18":0.00345,"90":0.00345,"92":0.00689,"95":0.00345,"100":0.00345,"101":0.00345,"107":0.00345,"108":0.00345,"109":0.04135,"110":0.00345,"111":0.00345,"112":0.00345,"113":0.00345,"114":0.00689,"116":0.00345,"117":0.00345,"118":0.00345,"119":0.00689,"120":0.00689,"121":0.00689,"122":0.01378,"123":0.00689,"124":0.01034,"125":0.02068,"126":0.03791,"127":0.09649,"128":2.1951,"129":1.17509,"130":0.00345,_:"12 13 14 15 16 79 80 81 83 84 85 86 87 88 89 91 93 94 96 97 98 99 102 103 104 105 106 115"},E:{"13":0.00689,"14":0.02412,"15":0.00345,_:"0 4 5 6 7 8 9 10 11 12 3.1 3.2 5.1 6.1 7.1 9.1 10.1","11.1":0.00689,"12.1":0.01034,"13.1":0.06547,"14.1":0.06203,"15.1":0.01034,"15.2-15.3":0.00689,"15.4":0.02068,"15.5":0.02068,"15.6":0.18264,"16.0":0.02068,"16.1":0.02757,"16.2":0.02757,"16.3":0.05514,"16.4":0.01723,"16.5":0.03446,"16.6":0.20676,"17.0":0.01723,"17.1":0.03446,"17.2":0.03446,"17.3":0.03791,"17.4":0.07581,"17.5":0.25156,"17.6":1.03035,"18.0":0.16541,"18.1":0.01034},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.00246,"5.0-5.1":0.00123,"6.0-6.1":0.00737,"7.0-7.1":0.0086,"8.1-8.4":0,"9.0-9.2":0.00737,"9.3":0.02088,"10.0-10.2":0.00614,"10.3":0.03561,"11.0-11.2":0.1314,"11.3-11.4":0.00982,"12.0-12.1":0.00614,"12.2-12.5":0.14859,"13.0-13.1":0.00246,"13.2":0.04667,"13.3":0.00614,"13.4-13.7":0.02456,"14.0-14.4":0.05649,"14.5-14.8":0.07491,"15.0-15.1":0.04298,"15.2-15.3":0.04175,"15.4":0.04789,"15.5":0.05895,"15.6-15.8":0.58332,"16.0":0.11789,"16.1":0.23333,"16.2":0.11666,"16.3":0.19649,"16.4":0.04175,"16.5":0.08228,"16.6-16.7":0.70243,"17.0":0.05895,"17.1":0.09333,"17.2":0.08473,"17.3":0.12158,"17.4":0.26034,"17.5":1.25136,"17.6-17.7":6.65962,"18.0":0.83997,"18.1":0.03807},P:{"4":0.03107,"20":0.02071,"21":0.04142,"22":0.05178,"23":0.07249,"24":0.05178,"25":0.25888,"26":2.41273,_:"5.0-5.4 6.2-6.4 8.2 9.2 10.1 12.0 15.0","7.2-7.4":0.01036,"11.1-11.2":0.01036,"13.0":0.01036,"14.0":0.01036,"16.0":0.01036,"17.0":0.01036,"18.0":0.01036,"19.0":0.02071},I:{"0":0.02614,"3":0,"4":0,"2.1":0,"2.2":0,"2.3":0,"4.1":0,"4.2-4.3":0.00001,"4.4":0,"4.4.3-4.4.4":0.00004},K:{"0":0.34731,_:"10 11 12 11.1 11.5 12.1"},A:{"8":0.00371,"11":0.04453,_:"6 7 9 10 5.5"},N:{_:"10 11"},S:{_:"2.5 3.0-3.1"},J:{_:"7 10"},O:{"0":0.03932},H:{"0":0},L:{"0":50.09272},R:{_:"0"},M:{"0":0.35386},Q:{_:"14.9"}}; diff --git a/node_modules/caniuse-lite/data/regions/ET.js b/node_modules/caniuse-lite/data/regions/ET.js index f22344d276..5c5c38d286 100644 --- a/node_modules/caniuse-lite/data/regions/ET.js +++ b/node_modules/caniuse-lite/data/regions/ET.js @@ -1 +1 @@ -module.exports={C:{"38":0.00577,"47":0.00288,"52":0.00865,"68":0.00577,"72":0.00288,"77":0.13843,"82":0.00288,"84":0.00577,"85":0.00288,"88":0.00288,"89":0.02307,"95":0.25379,"97":0.00865,"103":0.02596,"105":0.00288,"106":0.00288,"108":0.04614,"110":0.0173,"111":0.00288,"112":0.00288,"113":0.00288,"114":0.00865,"115":0.50182,"116":0.00288,"118":0.00288,"119":0.00288,"120":0.00577,"121":0.00865,"122":0.00288,"123":0.02019,"124":0.06345,"125":1.05554,"126":0.87097,"127":0.03461,_:"2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 39 40 41 42 43 44 45 46 48 49 50 51 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 69 70 71 73 74 75 76 78 79 80 81 83 86 87 90 91 92 93 94 96 98 99 100 101 102 104 107 109 117 128 129 3.5 3.6"},D:{"11":0.00577,"31":0.00577,"33":0.00288,"37":0.00288,"38":0.00577,"40":0.00577,"42":0.00288,"43":0.02307,"49":0.00288,"50":0.00865,"53":0.00288,"56":0.00288,"58":0.00288,"63":0.00577,"64":0.00288,"65":0.01154,"67":0.00288,"68":0.00865,"69":0.00577,"70":0.00865,"71":0.00288,"72":0.00288,"73":0.01442,"74":0.00288,"75":0.01442,"76":0.01154,"77":0.00577,"79":0.17881,"80":0.01154,"81":0.02019,"83":0.02019,"84":0.00288,"85":0.01154,"86":0.05191,"87":0.04903,"88":0.01442,"89":0.00577,"90":0.00865,"91":0.00577,"92":0.00865,"93":0.07498,"94":0.00577,"95":0.03172,"96":0.00577,"97":0.00288,"98":0.17304,"99":0.00577,"100":0.00288,"102":0.0173,"103":0.04903,"104":0.01154,"105":0.00577,"106":0.03461,"107":0.02596,"108":0.0173,"109":2.09955,"110":0.00577,"111":0.02596,"112":0.00865,"113":0.00865,"114":0.03172,"115":0.00577,"116":0.02307,"117":0.0173,"118":0.0173,"119":0.07498,"120":0.09806,"121":0.11824,"122":0.15574,"123":0.36338,"124":10.22955,"125":3.81265,"126":0.01442,"127":0.00288,_:"4 5 6 7 8 9 10 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 32 34 35 36 39 41 44 45 46 47 48 51 52 54 55 57 59 60 61 62 66 78 101 128"},F:{"46":0.00577,"74":0.00288,"79":0.02019,"82":0.00288,"83":0.00288,"86":0.00288,"89":0.00288,"95":0.0721,"104":0.00288,"107":0.03172,"108":0.02307,"109":0.7383,"110":0.06922,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 47 48 49 50 51 52 53 54 55 56 57 58 60 62 63 64 65 66 67 68 69 70 71 72 73 75 76 77 78 80 81 84 85 87 88 90 91 92 93 94 96 97 98 99 100 101 102 103 105 106 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"12":0.0173,"13":0.00577,"14":0.01442,"15":0.02019,"16":0.00577,"17":0.00577,"18":0.06922,"84":0.00288,"89":0.00577,"90":0.00288,"92":0.04038,"100":0.00288,"109":0.04038,"112":0.00288,"113":0.00288,"114":0.00577,"115":0.00577,"116":0.00288,"117":0.00577,"119":0.00865,"120":0.02307,"121":0.03461,"122":0.0548,"123":0.11248,"124":1.91498,"125":0.75849,_:"79 80 81 83 85 86 87 88 91 93 94 95 96 97 98 99 101 102 103 104 105 106 107 108 110 111 118"},E:{"7":0.00288,"13":0.00865,"14":0.00288,_:"0 4 5 6 8 9 10 11 12 15 3.1 3.2 5.1 6.1 7.1 9.1 10.1 11.1 12.1 15.1 15.2-15.3 15.5 16.0 16.2 16.4 17.0 17.6","13.1":0.00577,"14.1":0.01442,"15.4":0.00288,"15.6":0.02307,"16.1":0.00288,"16.3":0.00288,"16.5":0.00288,"16.6":0.00577,"17.1":0.00288,"17.2":0.00288,"17.3":0.00577,"17.4":0.03461,"17.5":0.00288},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.00037,"5.0-5.1":0.00037,"6.0-6.1":0.00094,"7.0-7.1":0.00131,"8.1-8.4":0.00037,"9.0-9.2":0.00094,"9.3":0.0043,"10.0-10.2":0.00075,"10.3":0.00674,"11.0-11.2":0.00992,"11.3-11.4":0.00187,"12.0-12.1":0.00112,"12.2-12.5":0.02714,"13.0-13.1":0.00056,"13.2":0.00262,"13.3":0.00131,"13.4-13.7":0.00599,"14.0-14.4":0.01029,"14.5-14.8":0.01591,"15.0-15.1":0.00767,"15.2-15.3":0.00842,"15.4":0.00954,"15.5":0.01198,"15.6-15.8":0.1078,"16.0":0.02452,"16.1":0.05053,"16.2":0.02452,"16.3":0.04248,"16.4":0.00898,"16.5":0.01815,"16.6-16.7":0.14467,"17.0":0.01572,"17.1":0.02564,"17.2":0.02676,"17.3":0.04941,"17.4":1.12197,"17.5":0.07916,"17.6":0},P:{"4":0.34846,"20":0.01025,"21":0.041,"22":0.12299,"23":0.12299,"24":0.13323,"25":0.4407,"5.0-5.4":0.03075,"6.2-6.4":0.01025,"7.2-7.4":0.14348,_:"8.2 10.1 12.0 15.0","9.2":0.01025,"11.1-11.2":0.01025,"13.0":0.01025,"14.0":0.01025,"16.0":0.0205,"17.0":0.041,"18.0":0.03075,"19.0":0.09224},I:{"0":0.1205,"3":0,"4":0.00001,"2.1":0,"2.2":0,"2.3":0,"4.1":0.00002,"4.2-4.3":0.00007,"4.4":0,"4.4.3-4.4.4":0.00027},K:{"0":3.18026,_:"10 11 12 11.1 11.5 12.1"},A:{"11":0.0173,_:"6 7 8 9 10 5.5"},S:{"2.5":0.06404,_:"3.0-3.1"},J:{_:"7 10"},N:{_:"10 11"},L:{"0":64.05677},R:{_:"0"},M:{"0":0.04981},Q:{"14.9":0.01423},O:{"0":0.19925},H:{"0":2.05}}; +module.exports={C:{"34":0.01061,"47":0.00212,"52":0.00212,"68":0.01273,"72":0.00424,"77":0.13999,"78":0.01273,"84":0.00212,"89":0.01273,"92":0.00212,"95":0.06787,"97":0.00212,"101":0.00212,"103":0.02121,"106":0.00212,"108":0.06151,"110":0.03182,"112":0.00212,"113":0.00212,"114":0.00212,"115":0.31179,"116":0.00212,"118":0.00848,"121":0.00424,"123":0.00212,"124":0.00424,"126":0.00636,"127":0.02333,"128":0.00848,"129":0.17816,"130":0.95869,"131":0.03606,_:"2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 35 36 37 38 39 40 41 42 43 44 45 46 48 49 50 51 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 69 70 71 73 74 75 76 79 80 81 82 83 85 86 87 88 90 91 93 94 96 98 99 100 102 104 105 107 109 111 117 119 120 122 125 132 133 134 135 3.5 3.6"},D:{"11":0.00424,"33":0.00212,"40":0.00212,"43":0.00636,"47":0.00212,"49":0.00212,"50":0.00424,"56":0.00424,"58":0.00212,"63":0.00212,"64":0.01485,"65":0.00212,"68":0.00848,"69":0.00424,"70":0.00424,"71":0.00212,"72":0.00212,"73":0.01273,"74":0.00212,"75":0.01485,"76":0.02121,"77":0.00424,"78":0.00212,"79":0.08908,"80":0.01273,"81":0.01061,"83":0.01909,"84":0.03606,"85":0.00212,"86":0.01061,"87":0.06575,"88":0.01697,"89":0.00636,"90":0.01697,"91":0.00212,"92":0.02545,"93":0.07636,"94":0.00636,"95":0.01697,"96":0.00212,"98":0.07636,"99":0.00424,"100":0.00636,"102":0.00848,"103":0.04878,"104":0.00212,"105":0.00848,"106":0.02757,"107":0.00636,"108":0.01485,"109":1.67347,"110":0.00212,"111":0.00424,"112":0.00424,"113":0.00848,"114":0.05515,"115":0.14423,"116":0.02545,"117":0.00636,"118":0.01485,"119":0.05303,"120":0.02969,"121":0.01697,"122":0.02333,"123":0.10181,"124":0.07211,"125":0.04878,"126":0.11878,"127":0.30755,"128":6.63873,"129":2.99485,"130":0.01697,"131":0.00212,_:"4 5 6 7 8 9 10 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 34 35 36 37 38 39 41 42 44 45 46 48 51 52 53 54 55 57 59 60 61 62 66 67 97 101 132 133"},F:{"46":0.00212,"79":0.00848,"83":0.00212,"84":0.00424,"85":0.00212,"86":0.00424,"90":0.00212,"95":0.04242,"108":0.00212,"109":0.00212,"111":0.00212,"112":0.39663,"113":0.21846,"114":0.00636,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 47 48 49 50 51 52 53 54 55 56 57 58 60 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 80 81 82 87 88 89 91 92 93 94 96 97 98 99 100 101 102 103 104 105 106 107 110 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"12":0.00424,"14":0.00212,"15":0.03818,"16":0.00212,"17":0.00424,"18":0.04242,"84":0.00212,"89":0.00212,"90":0.00212,"92":0.03182,"100":0.00212,"105":0.00212,"108":0.00212,"109":0.01697,"112":0.00212,"114":0.00636,"115":0.00636,"119":0.00212,"120":0.00212,"121":0.01909,"122":0.01061,"123":0.01909,"124":0.02121,"125":0.02121,"126":0.03606,"127":0.06363,"128":1.1517,"129":0.56419,"130":0.00212,_:"13 79 80 81 83 85 86 87 88 91 93 94 95 96 97 98 99 101 102 103 104 106 107 110 111 113 116 117 118"},E:{"7":0.00212,_:"0 4 5 6 8 9 10 11 12 13 14 15 3.1 3.2 5.1 6.1 7.1 9.1 10.1 11.1 15.1 15.4 16.1 16.2 16.4 16.5 17.0 17.1 17.2 17.3 17.4 18.1","12.1":0.00212,"13.1":0.00424,"14.1":0.00424,"15.2-15.3":0.00212,"15.5":0.00212,"15.6":0.00848,"16.0":0.00212,"16.3":0.00212,"16.6":0.01061,"17.5":0.02969,"17.6":0.02545,"18.0":0.00212},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.00033,"5.0-5.1":0.00017,"6.0-6.1":0.001,"7.0-7.1":0.00117,"8.1-8.4":0,"9.0-9.2":0.001,"9.3":0.00284,"10.0-10.2":0.00084,"10.3":0.00484,"11.0-11.2":0.01787,"11.3-11.4":0.00134,"12.0-12.1":0.00084,"12.2-12.5":0.02021,"13.0-13.1":0.00033,"13.2":0.00635,"13.3":0.00084,"13.4-13.7":0.00334,"14.0-14.4":0.00768,"14.5-14.8":0.01019,"15.0-15.1":0.00585,"15.2-15.3":0.00568,"15.4":0.00651,"15.5":0.00802,"15.6-15.8":0.07933,"16.0":0.01603,"16.1":0.03173,"16.2":0.01587,"16.3":0.02672,"16.4":0.00568,"16.5":0.01119,"16.6-16.7":0.09553,"17.0":0.00802,"17.1":0.01269,"17.2":0.01152,"17.3":0.01653,"17.4":0.03541,"17.5":0.17019,"17.6-17.7":0.90571,"18.0":0.11424,"18.1":0.00518},P:{"4":0.21722,"20":0.01034,"21":0.02069,"22":0.05172,"23":0.08275,"24":0.13447,"25":0.15515,"26":0.36203,"5.0-5.4":0.01034,"6.2-6.4":0.01034,"7.2-7.4":0.15515,_:"8.2 9.2 10.1 11.1-11.2 12.0 15.0 18.0","13.0":0.05172,"14.0":0.01034,"16.0":0.01034,"17.0":0.03103,"19.0":0.04137},I:{"0":0.10214,"3":0,"4":0,"2.1":0,"2.2":0,"2.3":0,"4.1":0.00001,"4.2-4.3":0.00004,"4.4":0,"4.4.3-4.4.4":0.00016},K:{"0":1.33072,_:"10 11 12 11.1 11.5 12.1"},A:{"11":0.00424,_:"6 7 8 9 10 5.5"},N:{_:"10 11"},S:{"2.5":0.04727,_:"3.0-3.1"},J:{_:"7 10"},O:{"0":0.12605},H:{"0":0.56},L:{"0":75.88453},R:{_:"0"},M:{"0":0.07878},Q:{"14.9":0.01576}}; diff --git a/node_modules/caniuse-lite/data/regions/FI.js b/node_modules/caniuse-lite/data/regions/FI.js index 8087509c26..86c16cf463 100644 --- a/node_modules/caniuse-lite/data/regions/FI.js +++ b/node_modules/caniuse-lite/data/regions/FI.js @@ -1 +1 @@ -module.exports={C:{"50":1.07012,"52":0.72492,"53":0.55232,"56":0.78015,"59":0.02071,"60":0.01381,"72":0.0069,"78":0.0069,"83":0.0069,"91":0.0069,"102":0.03452,"103":0.04142,"104":0.01381,"105":0.0069,"106":0.0069,"107":0.0069,"108":0.0069,"109":0.01381,"110":0.01381,"111":0.0069,"112":0.0069,"113":0.0069,"114":0.01381,"115":0.33139,"116":0.03452,"117":0.6973,"118":0.50399,"119":0.03452,"120":0.0069,"121":0.01381,"122":0.02071,"123":0.02071,"124":0.10356,"125":1.42222,"126":1.0287,"127":0.0069,_:"2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 51 54 55 57 58 61 62 63 64 65 66 67 68 69 70 71 73 74 75 76 77 79 80 81 82 84 85 86 87 88 89 90 92 93 94 95 96 97 98 99 100 101 128 129 3.5 3.6"},D:{"38":0.0069,"41":0.01381,"42":0.01381,"56":0.0069,"61":0.0069,"66":0.10356,"71":0.03452,"73":0.0069,"74":0.0069,"75":0.01381,"76":0.0069,"77":0.02071,"78":0.01381,"79":0.01381,"80":0.01381,"81":0.02762,"83":0.01381,"86":0.60755,"87":0.03452,"88":0.0069,"89":0.02762,"90":0.0069,"91":0.5178,"92":0.0069,"93":0.02071,"94":0.01381,"95":0.0069,"96":0.14498,"98":0.0069,"99":0.13808,"100":0.64207,"101":1.26343,"102":0.63517,"103":0.6904,"104":0.6904,"105":0.06214,"106":0.02762,"107":0.11737,"108":0.08975,"109":0.74563,"110":0.08285,"111":0.08975,"112":0.10356,"113":1.92622,"114":4.70853,"115":0.3452,"116":5.09515,"117":7.55298,"118":0.14498,"119":0.13808,"120":1.06322,"121":0.40734,"122":0.72492,"123":2.63733,"124":14.75385,"125":4.88803,_:"4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 39 40 43 44 45 46 47 48 49 50 51 52 53 54 55 57 58 59 60 62 63 64 65 67 68 69 70 72 84 85 97 126 127 128"},F:{"57":0.0069,"68":0.0069,"95":0.02071,"102":0.0069,"107":0.26235,"108":0.02071,"109":0.84229,"110":0.04142,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 58 60 62 63 64 65 66 67 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 96 97 98 99 100 101 103 104 105 106 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"17":0.01381,"99":0.0069,"103":0.0069,"105":0.0069,"107":0.0069,"109":0.03452,"110":0.0069,"111":0.0069,"112":0.0069,"113":0.0069,"114":0.44876,"115":0.02071,"116":0.06214,"117":0.93894,"118":0.02071,"119":0.0069,"120":0.01381,"121":0.0069,"122":0.02071,"123":0.08975,"124":2.11262,"125":1.13916,_:"12 13 14 15 16 18 79 80 81 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 100 101 102 104 106 108"},E:{"13":0.0069,"14":0.01381,"15":0.0069,_:"0 4 5 6 7 8 9 10 11 12 3.1 3.2 5.1 6.1 7.1 9.1 10.1 17.6","11.1":0.02071,"12.1":0.0069,"13.1":0.02762,"14.1":0.03452,"15.1":0.01381,"15.2-15.3":0.01381,"15.4":0.04142,"15.5":0.01381,"15.6":0.1726,"16.0":0.03452,"16.1":0.07594,"16.2":0.02762,"16.3":0.08975,"16.4":0.10356,"16.5":0.23474,"16.6":0.49709,"17.0":0.12427,"17.1":0.04833,"17.2":0.05523,"17.3":0.05523,"17.4":0.93894,"17.5":0.15189},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.00144,"5.0-5.1":0.00144,"6.0-6.1":0.0036,"7.0-7.1":0.00504,"8.1-8.4":0.00144,"9.0-9.2":0.0036,"9.3":0.01656,"10.0-10.2":0.00288,"10.3":0.02592,"11.0-11.2":0.03815,"11.3-11.4":0.0072,"12.0-12.1":0.00432,"12.2-12.5":0.10439,"13.0-13.1":0.00216,"13.2":0.01008,"13.3":0.00504,"13.4-13.7":0.02304,"14.0-14.4":0.03959,"14.5-14.8":0.06119,"15.0-15.1":0.02952,"15.2-15.3":0.0324,"15.4":0.03671,"15.5":0.04607,"15.6-15.8":0.41466,"16.0":0.09431,"16.1":0.19437,"16.2":0.09431,"16.3":0.16342,"16.4":0.03456,"16.5":0.06983,"16.6-16.7":0.55648,"17.0":0.06047,"17.1":0.09863,"17.2":0.10295,"17.3":0.19005,"17.4":4.31578,"17.5":0.30452,"17.6":0},P:{"4":0.01041,"20":0.03122,"21":0.06245,"22":0.10408,"23":0.16653,"24":0.3955,"25":1.29057,_:"5.0-5.4 6.2-6.4 8.2 9.2 10.1","7.2-7.4":0.01041,"11.1-11.2":0.01041,"12.0":0.01041,"13.0":0.01041,"14.0":0.02082,"15.0":0.01041,"16.0":0.01041,"17.0":0.03122,"18.0":0.03122,"19.0":0.03122},I:{"0":0.02158,"3":0,"4":0,"2.1":0,"2.2":0,"2.3":0,"4.1":0,"4.2-4.3":0.00001,"4.4":0,"4.4.3-4.4.4":0.00005},K:{"0":0.53544,_:"10 11 12 11.1 11.5 12.1"},A:{"8":0.01381,"9":0.0069,"11":0.13808,_:"6 7 10 5.5"},S:{_:"2.5 3.0-3.1"},J:{_:"7 10"},N:{_:"10 11"},L:{"0":20.51412},R:{_:"0"},M:{"0":0.62829},Q:{"14.9":0.0031},O:{"0":0.065},H:{"0":0}}; +module.exports={C:{"50":0.33062,"51":0.17802,"52":0.4387,"53":0.45778,"55":0.18438,"56":0.47685,"60":0.00636,"68":0.00636,"72":0.00636,"75":0.00636,"78":0.01272,"91":0.00636,"102":0.03815,"103":0.02543,"105":0.00636,"106":0.00636,"108":0.00636,"109":0.00636,"110":0.01272,"112":0.00636,"113":0.00636,"114":0.01907,"115":0.36241,"116":0.03815,"117":0.8774,"118":0.61037,"119":0.03179,"122":0.06994,"123":0.00636,"124":0.00636,"125":0.03815,"126":0.00636,"127":0.01907,"128":0.04451,"129":0.43234,"130":2.0282,_:"2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 54 57 58 59 61 62 63 64 65 66 67 69 70 71 73 74 76 77 79 80 81 82 83 84 85 86 87 88 89 90 92 93 94 95 96 97 98 99 100 101 104 107 111 120 121 131 132 133 134 135 3.5 3.6"},D:{"38":0.00636,"42":0.00636,"51":0.00636,"56":0.06994,"57":0.01272,"61":0.00636,"66":0.02543,"71":0.01272,"74":0.00636,"75":0.01907,"76":0.00636,"77":0.1208,"78":0.01272,"79":0.05722,"80":0.00636,"81":0.00636,"83":0.01272,"84":0.00636,"85":0.00636,"86":0.01272,"87":0.04451,"88":0.00636,"89":0.03815,"90":0.00636,"91":0.49592,"92":0.00636,"93":0.01907,"94":0.02543,"95":0.00636,"96":0.00636,"98":0.00636,"99":1.91376,"100":0.00636,"101":0.03815,"102":0.01272,"103":0.05722,"104":0.05086,"105":0.02543,"106":0.03815,"107":0.13988,"108":0.10173,"109":0.65487,"110":0.10809,"111":0.08265,"112":0.11444,"113":0.16531,"114":0.81382,"115":0.43234,"116":6.31349,"117":9.32083,"118":0.18438,"119":0.08901,"120":0.45778,"121":0.06358,"122":0.08901,"123":0.13988,"124":0.31154,"125":2.06635,"126":1.73573,"127":2.70851,"128":13.10384,"129":3.89745,"130":0.00636,_:"4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 39 40 41 43 44 45 46 47 48 49 50 52 53 54 55 58 59 60 62 63 64 65 67 68 69 70 72 73 97 131 132 133"},F:{"44":0.04451,"68":0.00636,"84":0.00636,"95":0.01907,"109":0.01272,"111":0.00636,"112":0.60401,"113":0.48321,"114":0.00636,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 45 46 47 48 49 50 51 52 53 54 55 56 57 58 60 62 63 64 65 66 67 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 85 86 87 88 89 90 91 92 93 94 96 97 98 99 100 101 102 103 104 105 106 107 108 110 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"92":0.00636,"106":0.00636,"107":0.00636,"108":0.01272,"109":0.02543,"111":0.00636,"114":0.00636,"115":0.02543,"116":0.06994,"117":1.1508,"118":0.02543,"119":0.00636,"120":0.00636,"121":0.00636,"122":0.00636,"123":0.00636,"124":0.00636,"125":0.01272,"126":0.02543,"127":0.14623,"128":2.83567,"129":0.8774,_:"12 13 14 15 16 17 18 79 80 81 83 84 85 86 87 88 89 90 91 93 94 95 96 97 98 99 100 101 102 103 104 105 110 112 113 130"},E:{"9":0.00636,"13":0.01272,"14":0.00636,"15":0.00636,_:"0 4 5 6 7 8 10 11 12 3.1 3.2 5.1 6.1 7.1 9.1 10.1 11.1 12.1","13.1":0.01272,"14.1":0.03815,"15.1":0.01907,"15.2-15.3":0.01272,"15.4":0.05722,"15.5":0.01272,"15.6":0.17167,"16.0":0.03179,"16.1":0.09537,"16.2":0.03179,"16.3":0.11444,"16.4":0.10809,"16.5":0.26704,"16.6":0.55315,"17.0":0.13988,"17.1":0.02543,"17.2":0.01907,"17.3":0.01907,"17.4":0.10809,"17.5":0.19074,"17.6":0.97277,"18.0":0.1208,"18.1":0.00636},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.00159,"5.0-5.1":0.00079,"6.0-6.1":0.00476,"7.0-7.1":0.00556,"8.1-8.4":0,"9.0-9.2":0.00476,"9.3":0.0135,"10.0-10.2":0.00397,"10.3":0.02303,"11.0-11.2":0.08497,"11.3-11.4":0.00635,"12.0-12.1":0.00397,"12.2-12.5":0.09609,"13.0-13.1":0.00159,"13.2":0.03018,"13.3":0.00397,"13.4-13.7":0.01588,"14.0-14.4":0.03653,"14.5-14.8":0.04844,"15.0-15.1":0.02779,"15.2-15.3":0.027,"15.4":0.03097,"15.5":0.03812,"15.6-15.8":0.3772,"16.0":0.07623,"16.1":0.15088,"16.2":0.07544,"16.3":0.12706,"16.4":0.027,"16.5":0.0532,"16.6-16.7":0.45423,"17.0":0.03812,"17.1":0.06035,"17.2":0.05479,"17.3":0.07862,"17.4":0.16835,"17.5":0.80919,"17.6-17.7":4.30642,"18.0":0.54317,"18.1":0.02462},P:{"4":0.01041,"20":0.03122,"21":0.04162,"22":0.08324,"23":0.11446,"24":0.10405,"25":0.385,"26":1.26945,_:"5.0-5.4 8.2 9.2 10.1 12.0","6.2-6.4":0.01041,"7.2-7.4":0.02081,"11.1-11.2":0.01041,"13.0":0.01041,"14.0":0.01041,"15.0":0.01041,"16.0":0.01041,"17.0":0.02081,"18.0":0.02081,"19.0":0.02081},I:{"0":0.05084,"3":0,"4":0,"2.1":0,"2.2":0,"2.3":0,"4.1":0.00001,"4.2-4.3":0.00002,"4.4":0,"4.4.3-4.4.4":0.00008},K:{"0":0.5061,_:"10 11 12 11.1 11.5 12.1"},A:{"8":0.02108,"9":0.01405,"10":0.00703,"11":0.09135,_:"6 7 5.5"},N:{_:"10 11"},S:{_:"2.5 3.0-3.1"},J:{_:"7 10"},O:{"0":0.13836},H:{"0":0},L:{"0":25.14387},R:{_:"0"},M:{"0":0.61897},Q:{_:"14.9"}}; diff --git a/node_modules/caniuse-lite/data/regions/FJ.js b/node_modules/caniuse-lite/data/regions/FJ.js index b930d23976..eb4ade6d41 100644 --- a/node_modules/caniuse-lite/data/regions/FJ.js +++ b/node_modules/caniuse-lite/data/regions/FJ.js @@ -1 +1 @@ -module.exports={C:{"47":0.00283,"52":0.00849,"66":0.00283,"72":0.00283,"78":0.04811,"81":0.00849,"105":0.00283,"107":0.00283,"110":0.00283,"112":0.00283,"113":0.00849,"115":0.10471,"117":0.00283,"118":0.00283,"119":0.00283,"120":0.00283,"121":0.00566,"123":0.01981,"124":0.01698,"125":0.84051,"126":0.67354,_:"2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 48 49 50 51 53 54 55 56 57 58 59 60 61 62 63 64 65 67 68 69 70 71 73 74 75 76 77 79 80 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 106 108 109 111 114 116 122 127 128 129 3.5 3.6"},D:{"49":0.00566,"52":0.00849,"62":0.00283,"65":0.00283,"66":0.00566,"69":0.01132,"70":0.01415,"71":0.00283,"73":0.01698,"74":0.00566,"76":0.02264,"77":0.00566,"78":0.00283,"79":0.03113,"80":0.00283,"81":0.02264,"83":0.00283,"84":0.00283,"85":0.00283,"86":0.00849,"87":0.01415,"88":0.11603,"89":0.00283,"90":0.00283,"91":0.01698,"92":0.01981,"93":0.00849,"94":0.02547,"95":0.00283,"97":0.00566,"99":0.00283,"100":0.00283,"101":0.00283,"102":0.0283,"103":0.03962,"104":0.00566,"105":0.12169,"106":0.00283,"108":0.00849,"109":0.48959,"110":0.00283,"111":0.03396,"112":0.00283,"113":0.01132,"114":0.00849,"115":0.01132,"116":0.10754,"117":0.01132,"118":0.00849,"119":0.03962,"120":0.1415,"121":0.04528,"122":0.11603,"123":0.38488,"124":9.84557,"125":3.42713,"126":0.00849,"127":0.00283,_:"4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 50 51 53 54 55 56 57 58 59 60 61 63 64 67 68 72 75 96 98 107 128"},F:{"82":0.00566,"95":0.00283,"102":0.00566,"106":0.00283,"107":0.01981,"109":0.35941,"110":0.04245,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 60 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 83 84 85 86 87 88 89 90 91 92 93 94 96 97 98 99 100 101 103 104 105 108 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"12":0.00283,"13":0.00283,"15":0.00283,"17":0.00283,"18":0.01132,"83":0.00283,"84":0.00849,"90":0.00566,"92":0.01981,"100":0.00283,"105":0.00283,"107":0.00849,"108":0.00283,"109":0.01415,"110":0.00283,"111":0.00283,"112":0.00283,"113":0.00283,"114":0.01132,"115":0.01698,"117":0.01415,"118":0.03679,"119":0.00849,"120":0.01981,"121":0.00566,"122":0.04811,"123":0.0849,"124":3.36487,"125":1.85365,_:"14 16 79 80 81 85 86 87 88 89 91 93 94 95 96 97 98 99 101 102 103 104 106 116"},E:{"14":0.00283,"15":0.00283,_:"0 4 5 6 7 8 9 10 11 12 13 3.1 3.2 5.1 6.1 7.1 9.1 10.1 11.1 17.6","12.1":0.00283,"13.1":0.07641,"14.1":0.01698,"15.1":0.01415,"15.2-15.3":0.04528,"15.4":0.00566,"15.5":0.01415,"15.6":0.09056,"16.0":0.00283,"16.1":0.07924,"16.2":0.11603,"16.3":0.04245,"16.4":0.00566,"16.5":0.03679,"16.6":0.31979,"17.0":0.00849,"17.1":0.01698,"17.2":0.03679,"17.3":0.08207,"17.4":1.41783,"17.5":0.20093},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.00184,"5.0-5.1":0.00184,"6.0-6.1":0.00459,"7.0-7.1":0.00642,"8.1-8.4":0.00184,"9.0-9.2":0.00459,"9.3":0.02111,"10.0-10.2":0.00367,"10.3":0.03303,"11.0-11.2":0.04863,"11.3-11.4":0.00918,"12.0-12.1":0.00551,"12.2-12.5":0.13306,"13.0-13.1":0.00275,"13.2":0.01285,"13.3":0.00642,"13.4-13.7":0.02936,"14.0-14.4":0.05047,"14.5-14.8":0.078,"15.0-15.1":0.03762,"15.2-15.3":0.04129,"15.4":0.0468,"15.5":0.05873,"15.6-15.8":0.52856,"16.0":0.12021,"16.1":0.24776,"16.2":0.12021,"16.3":0.2083,"16.4":0.04405,"16.5":0.08901,"16.6-16.7":0.70933,"17.0":0.07708,"17.1":0.12572,"17.2":0.13122,"17.3":0.24225,"17.4":5.5012,"17.5":0.38816,"17.6":0},P:{"4":0.21939,"20":0.08358,"21":0.25073,"22":0.38654,"23":0.79397,"24":1.3999,"25":4.68026,_:"5.0-5.4 8.2 10.1 12.0","6.2-6.4":0.03134,"7.2-7.4":0.26118,"9.2":0.01045,"11.1-11.2":0.02089,"13.0":0.02089,"14.0":0.02089,"15.0":0.01045,"16.0":0.02089,"17.0":0.01045,"18.0":0.08358,"19.0":0.12536},I:{"0":0.03571,"3":0,"4":0,"2.1":0,"2.2":0,"2.3":0,"4.1":0.00001,"4.2-4.3":0.00002,"4.4":0,"4.4.3-4.4.4":0.00008},K:{"0":0.898,_:"10 11 12 11.1 11.5 12.1"},A:{"10":0.01981,_:"6 7 8 9 11 5.5"},S:{"2.5":0.01434,_:"3.0-3.1"},J:{_:"7 10"},N:{_:"10 11"},L:{"0":54.40848},R:{_:"0"},M:{"0":0.35845},Q:{"14.9":0.02151},O:{"0":0.32261},H:{"0":0.12}}; +module.exports={C:{"34":0.00315,"79":0.0063,"103":0.00315,"105":0.02204,"115":0.13856,"117":0.00315,"118":0.0063,"120":0.0063,"123":0.00945,"125":0.00315,"127":0.01889,"128":0.0063,"129":0.36214,"130":1.46429,_:"2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 104 106 107 108 109 110 111 112 113 114 116 119 121 122 124 126 131 132 133 134 135 3.5 3.6"},D:{"36":0.00315,"68":0.00315,"69":0.0063,"73":0.00315,"75":0.00315,"77":0.00315,"78":0.00315,"79":0.08817,"81":0.0063,"83":0.02519,"86":0.00315,"87":0.1606,"88":0.18264,"89":0.04094,"91":0.00315,"92":0.00945,"93":0.01575,"94":0.02204,"97":0.0063,"99":0.01575,"100":0.00315,"101":0.00315,"102":0.00945,"103":0.04409,"104":0.00315,"105":0.03779,"109":0.45661,"110":0.00315,"111":0.05353,"112":0.0063,"113":0.0063,"114":0.0063,"115":0.00945,"116":0.12281,"117":0.0063,"118":0.0063,"119":0.00945,"120":0.08817,"121":0.02519,"122":0.02834,"123":0.07873,"124":0.06613,"125":0.03464,"126":0.1732,"127":0.67389,"128":10.18702,"129":3.08917,"130":0.00315,_:"4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 70 71 72 74 76 80 84 85 90 95 96 98 106 107 108 131 132 133"},F:{"83":0.0063,"84":0.00315,"95":0.0063,"112":0.36528,"113":0.25507,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 60 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 85 86 87 88 89 90 91 92 93 94 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 114 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"14":0.0063,"16":0.00315,"17":0.02834,"18":0.0126,"92":0.03149,"100":0.0063,"106":0.00315,"108":0.00315,"109":0.00945,"110":0.0063,"112":0.00315,"114":0.00945,"115":0.0126,"116":0.00315,"117":0.00315,"119":0.0063,"120":0.01575,"121":0.0126,"122":0.01889,"123":0.02519,"124":0.00945,"125":0.11022,"126":0.11336,"127":0.34324,"128":5.8288,"129":1.49578,"130":0.00315,_:"12 13 15 79 80 81 83 84 85 86 87 88 89 90 91 93 94 95 96 97 98 99 101 102 103 104 105 107 111 113 118"},E:{"14":0.00315,_:"0 4 5 6 7 8 9 10 11 12 13 15 3.1 3.2 5.1 6.1 7.1 9.1 10.1 17.0","11.1":0.00315,"12.1":0.00315,"13.1":0.0063,"14.1":0.01575,"15.1":0.00315,"15.2-15.3":0.00315,"15.4":0.00315,"15.5":0.00315,"15.6":0.10077,"16.0":0.00315,"16.1":0.02834,"16.2":0.02519,"16.3":0.04724,"16.4":0.01889,"16.5":0.01889,"16.6":0.27081,"17.1":0.02519,"17.2":0.01889,"17.3":0.0126,"17.4":0.02834,"17.5":0.26767,"17.6":1.23126,"18.0":0.24877,"18.1":0.00945},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.00193,"5.0-5.1":0.00096,"6.0-6.1":0.00578,"7.0-7.1":0.00675,"8.1-8.4":0,"9.0-9.2":0.00578,"9.3":0.01639,"10.0-10.2":0.00482,"10.3":0.02795,"11.0-11.2":0.10314,"11.3-11.4":0.00771,"12.0-12.1":0.00482,"12.2-12.5":0.11664,"13.0-13.1":0.00193,"13.2":0.03663,"13.3":0.00482,"13.4-13.7":0.01928,"14.0-14.4":0.04434,"14.5-14.8":0.0588,"15.0-15.1":0.03374,"15.2-15.3":0.03277,"15.4":0.03759,"15.5":0.04627,"15.6-15.8":0.45787,"16.0":0.09254,"16.1":0.18315,"16.2":0.09157,"16.3":0.15423,"16.4":0.03277,"16.5":0.06458,"16.6-16.7":0.55137,"17.0":0.04627,"17.1":0.07326,"17.2":0.06651,"17.3":0.09543,"17.4":0.20435,"17.5":0.98225,"17.6-17.7":5.22742,"18.0":0.65933,"18.1":0.02988},P:{"4":0.11529,"20":0.0524,"21":0.24106,"22":1.04809,"23":0.28298,"24":0.40876,"25":2.3058,"26":4.99939,_:"5.0-5.4 8.2 10.1 12.0 17.0","6.2-6.4":0.02096,"7.2-7.4":0.40876,"9.2":0.02096,"11.1-11.2":0.01048,"13.0":0.02096,"14.0":0.01048,"15.0":0.02096,"16.0":0.04192,"18.0":0.04192,"19.0":0.13625},I:{"0":0.02733,"3":0,"4":0,"2.1":0,"2.2":0,"2.3":0,"4.1":0,"4.2-4.3":0.00001,"4.4":0,"4.4.3-4.4.4":0.00004},K:{"0":0.91803,_:"10 11 12 11.1 11.5 12.1"},A:{"9":0.00525,"11":0.0105,_:"6 7 8 10 5.5"},N:{_:"10 11"},S:{_:"2.5 3.0-3.1"},J:{_:"7 10"},O:{"0":0.322},H:{"0":0},L:{"0":49.21552},R:{_:"0"},M:{"0":0.24664},Q:{"14.9":0.02055}}; diff --git a/node_modules/caniuse-lite/data/regions/FK.js b/node_modules/caniuse-lite/data/regions/FK.js index df4a7529dd..860f32ec6c 100644 --- a/node_modules/caniuse-lite/data/regions/FK.js +++ b/node_modules/caniuse-lite/data/regions/FK.js @@ -1 +1 @@ -module.exports={C:{"90":0.02444,"103":0.07332,"107":0.02444,"108":1.11935,"109":0.21996,"114":0.02444,"115":0.43992,"117":0.04888,"118":6.17354,"119":0.04888,"123":0.04888,"124":0.1222,"125":0.89939,"126":0.53279,_:"2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 91 92 93 94 95 96 97 98 99 100 101 102 104 105 106 110 111 112 113 116 120 121 122 127 128 129 3.5 3.6"},D:{"103":0.1222,"109":0.58167,"118":0.02444,"119":0.02444,"120":0.04888,"122":0.09776,"123":1.19267,"124":17.79232,"125":1.45662,_:"4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 104 105 106 107 108 110 111 112 113 114 115 116 117 121 126 127 128"},F:{"109":3.89085,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 60 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 110 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"18":0.02444,"92":0.07332,"102":0.07332,"110":0.07332,"113":0.07332,"114":0.17108,"117":0.65499,"118":1.04603,"120":0.14664,"122":0.39104,"123":0.94827,"124":3.27985,"125":3.04034,_:"12 13 14 15 16 17 79 80 81 83 84 85 86 87 88 89 90 91 93 94 95 96 97 98 99 100 101 103 104 105 106 107 108 109 111 112 115 116 119 121"},E:{_:"0 4 5 6 7 8 9 10 11 12 13 14 15 3.1 3.2 5.1 6.1 7.1 9.1 10.1 11.1 12.1 13.1 14.1 15.1 15.2-15.3 15.4 15.5 16.1 16.2 16.4 17.0 17.1 17.2 17.6","15.6":0.14664,"16.0":0.04888,"16.3":0.07332,"16.5":0.09776,"16.6":0.26884,"17.3":0.04888,"17.4":1.43218,"17.5":0.07332},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.00256,"5.0-5.1":0.00256,"6.0-6.1":0.00639,"7.0-7.1":0.00895,"8.1-8.4":0.00256,"9.0-9.2":0.00639,"9.3":0.02941,"10.0-10.2":0.00511,"10.3":0.04603,"11.0-11.2":0.06776,"11.3-11.4":0.01279,"12.0-12.1":0.00767,"12.2-12.5":0.18538,"13.0-13.1":0.00384,"13.2":0.0179,"13.3":0.00895,"13.4-13.7":0.04091,"14.0-14.4":0.07032,"14.5-14.8":0.10867,"15.0-15.1":0.05242,"15.2-15.3":0.05753,"15.4":0.0652,"15.5":0.08182,"15.6-15.8":0.73642,"16.0":0.16748,"16.1":0.3452,"16.2":0.16748,"16.3":0.29022,"16.4":0.06137,"16.5":0.12402,"16.6-16.7":0.98829,"17.0":0.10739,"17.1":0.17516,"17.2":0.18283,"17.3":0.33753,"17.4":7.66467,"17.5":0.54081,"17.6":0},P:{"21":0.02091,"22":0.12547,"23":0.07319,"24":2.69758,"25":4.44368,_:"4 20 5.0-5.4 6.2-6.4 7.2-7.4 8.2 9.2 10.1 11.1-11.2 12.0 13.0 15.0 16.0 17.0 18.0 19.0","14.0":0.25094},I:{"0":0,"3":0,"4":0,"2.1":0,"2.2":0,"2.3":0,"4.1":0,"4.2-4.3":0,"4.4":0,"4.4.3-4.4.4":0},K:{"0":0.96617,_:"10 11 12 11.1 11.5 12.1"},A:{_:"6 7 8 9 10 11 5.5"},S:{_:"2.5 3.0-3.1"},J:{_:"7 10"},N:{_:"10 11"},L:{"0":30.85525},R:{_:"0"},M:{"0":0.45497},Q:{_:"14.9"},O:{_:"0"},H:{"0":0}}; +module.exports={C:{"108":0.99042,"113":0.03496,"114":0.10098,"115":0.47773,"118":5.40264,"119":0.06991,"125":0.03496,"127":0.54764,"129":0.06991,"130":2.22165,_:"2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 109 110 111 112 116 117 120 121 122 123 124 126 128 131 132 133 134 135 3.5 3.6"},D:{"79":0.03496,"87":0.10098,"94":0.03496,"109":1.70896,"120":0.1709,"122":0.03496,"127":0.37675,"128":8.99146,"129":2.15562,_:"4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 80 81 83 84 85 86 88 89 90 91 92 93 95 96 97 98 99 100 101 102 103 104 105 106 107 108 110 111 112 113 114 115 116 117 118 119 121 123 124 125 126 130 131 132 133"},F:{_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 60 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 12.1","11.6":0.06991},B:{"92":0.03496,"109":0.03496,"113":0.1709,"114":2.52848,"115":0.10098,"116":0.06991,"118":1.674,"119":0.03496,"123":0.06991,"124":0.1709,"125":0.03496,"126":0.10098,"127":0.27188,"128":2.5984,"129":0.27188,_:"12 13 14 15 16 17 18 79 80 81 83 84 85 86 87 88 89 90 91 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 110 111 112 117 120 121 122 130"},E:{_:"0 4 5 6 7 8 9 10 11 12 13 14 15 3.1 3.2 5.1 6.1 7.1 9.1 10.1 11.1 12.1 14.1 15.1 15.2-15.3 15.4 15.5 16.1 16.2 16.4 16.5 17.0 17.1 17.2 17.3 17.4 18.0 18.1","13.1":0.03496,"15.6":0.27188,"16.0":0.06991,"16.3":0.10098,"16.6":0.13594,"17.5":0.5826,"17.6":0.71854},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.00237,"5.0-5.1":0.00118,"6.0-6.1":0.00711,"7.0-7.1":0.00829,"8.1-8.4":0,"9.0-9.2":0.00711,"9.3":0.02014,"10.0-10.2":0.00592,"10.3":0.03436,"11.0-11.2":0.12676,"11.3-11.4":0.00948,"12.0-12.1":0.00592,"12.2-12.5":0.14334,"13.0-13.1":0.00237,"13.2":0.04502,"13.3":0.00592,"13.4-13.7":0.02369,"14.0-14.4":0.05449,"14.5-14.8":0.07226,"15.0-15.1":0.04146,"15.2-15.3":0.04028,"15.4":0.0462,"15.5":0.05686,"15.6-15.8":0.56272,"16.0":0.11373,"16.1":0.22509,"16.2":0.11254,"16.3":0.18955,"16.4":0.04028,"16.5":0.07937,"16.6-16.7":0.67763,"17.0":0.05686,"17.1":0.09003,"17.2":0.08174,"17.3":0.11728,"17.4":0.25115,"17.5":1.20718,"17.6-17.7":6.42446,"18.0":0.81031,"18.1":0.03672},P:{"23":0.31751,"25":1.99724,"26":3.70769,_:"4 20 21 22 24 5.0-5.4 6.2-6.4 7.2-7.4 8.2 9.2 10.1 11.1-11.2 12.0 13.0 15.0 16.0 17.0 18.0 19.0","14.0":0.56332},I:{"0":0,"3":0,"4":0,"2.1":0,"2.2":0,"2.3":0,"4.1":0,"4.2-4.3":0,"4.4":0,"4.4.3-4.4.4":0},K:{"0":0.20794,_:"10 11 12 11.1 11.5 12.1"},A:{_:"6 7 8 9 10 11 5.5"},N:{_:"10 11"},S:{_:"2.5 3.0-3.1"},J:{_:"7 10"},O:{_:"0"},H:{"0":0},L:{"0":46.24635},R:{_:"0"},M:{"0":0.70334},Q:{_:"14.9"}}; diff --git a/node_modules/caniuse-lite/data/regions/FM.js b/node_modules/caniuse-lite/data/regions/FM.js index 0a293c6fe0..468f485b18 100644 --- a/node_modules/caniuse-lite/data/regions/FM.js +++ b/node_modules/caniuse-lite/data/regions/FM.js @@ -1 +1 @@ -module.exports={C:{"115":0.00778,"125":1.76606,"126":0.75077,_:"2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 116 117 118 119 120 121 122 123 124 127 128 129 3.5 3.6"},D:{"87":0.02334,"93":0.74299,"94":0.00778,"102":0.30342,"103":0.31898,"109":4.91307,"110":0.01556,"112":0.01556,"113":0.00778,"116":0.03112,"119":0.04279,"120":0.01556,"121":0.04279,"122":0.06613,"123":0.60684,"124":7.65163,"125":2.78135,"126":0.02334,_:"4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 83 84 85 86 88 89 90 91 92 95 96 97 98 99 100 101 104 105 106 107 108 111 114 115 117 118 127 128"},F:{"109":0.03112,"110":0.00778,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 60 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"83":0.07391,"92":0.01556,"117":0.01556,"118":0.01556,"121":0.05835,"122":0.01556,"123":0.03112,"124":8.00562,"125":2.27954,_:"12 13 14 15 16 17 18 79 80 81 84 85 86 87 88 89 90 91 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 119 120"},E:{"11":0.01556,"14":0.41623,"15":0.00778,_:"0 4 5 6 7 8 9 10 12 13 3.1 3.2 5.1 6.1 7.1 9.1 10.1 11.1 12.1 13.1 15.1 15.2-15.3 15.4 15.5 16.0 16.1 16.4 17.0 17.2 17.6","14.1":0.03112,"15.6":0.08169,"16.2":0.00778,"16.3":0.03112,"16.5":0.16338,"16.6":0.04279,"17.1":0.16338,"17.3":0.95694,"17.4":1.06197,"17.5":0.12448},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.00262,"5.0-5.1":0.00262,"6.0-6.1":0.00655,"7.0-7.1":0.00917,"8.1-8.4":0.00262,"9.0-9.2":0.00655,"9.3":0.03013,"10.0-10.2":0.00524,"10.3":0.04716,"11.0-11.2":0.06943,"11.3-11.4":0.0131,"12.0-12.1":0.00786,"12.2-12.5":0.18995,"13.0-13.1":0.00393,"13.2":0.01834,"13.3":0.00917,"13.4-13.7":0.04192,"14.0-14.4":0.07205,"14.5-14.8":0.11135,"15.0-15.1":0.05371,"15.2-15.3":0.05895,"15.4":0.06681,"15.5":0.08384,"15.6-15.8":0.75455,"16.0":0.17161,"16.1":0.3537,"16.2":0.17161,"16.3":0.29737,"16.4":0.06288,"16.5":0.12707,"16.6-16.7":1.01262,"17.0":0.11004,"17.1":0.17947,"17.2":0.18733,"17.3":0.34584,"17.4":7.85335,"17.5":0.55412,"17.6":0},P:{"4":0.27187,"21":0.09787,"22":0.07612,"23":0.06525,"24":0.11962,"25":0.44586,_:"20 5.0-5.4 6.2-6.4 8.2 9.2 10.1 13.0 14.0 15.0 19.0","7.2-7.4":0.02175,"11.1-11.2":0.02175,"12.0":0.02175,"16.0":0.01087,"17.0":0.01087,"18.0":0.02175},I:{"0":0.03652,"3":0,"4":0,"2.1":0,"2.2":0,"2.3":0,"4.1":0.00001,"4.2-4.3":0.00002,"4.4":0,"4.4.3-4.4.4":0.00008},K:{"0":0.68432,_:"10 11 12 11.1 11.5 12.1"},A:{_:"6 7 8 9 10 11 5.5"},S:{_:"2.5 3.0-3.1"},J:{_:"7 10"},N:{_:"10 11"},L:{"0":48.32303},R:{_:"0"},M:{"0":0.07332},Q:{"14.9":0.00611},O:{"0":1.61304},H:{"0":0}}; +module.exports={C:{"115":0.03199,"128":0.012,"129":0.18395,"130":1.17171,_:"2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 116 117 118 119 120 121 122 123 124 125 126 127 131 132 133 134 135 3.5 3.6"},D:{"23":0.012,"93":0.37591,"103":0.61185,"105":0.02,"107":0.012,"109":1.10772,"113":0.012,"115":0.012,"116":0.02,"118":0.4199,"119":0.05199,"121":0.05199,"124":0.87178,"125":0.05199,"126":0.03199,"127":1.64359,"128":12.3969,"129":3.52312,_:"4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 83 84 85 86 87 88 89 90 91 92 94 95 96 97 98 99 100 101 102 104 106 108 110 111 112 114 117 120 122 123 130 131 132 133"},F:{"102":0.012,"112":1.26768,"113":0.11997,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 60 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 103 104 105 106 107 108 109 110 111 114 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"16":0.012,"100":0.06398,"104":0.012,"109":0.012,"112":0.02,"117":0.012,"118":0.012,"119":0.02,"120":0.012,"121":0.07598,"122":0.04399,"124":0.06398,"126":0.11997,"127":0.19195,"128":8.66183,"129":1.94351,_:"12 13 14 15 17 18 79 80 81 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 101 102 103 105 106 107 108 110 111 113 114 115 116 123 125 130"},E:{_:"0 4 5 6 7 8 9 10 11 12 13 14 15 3.1 3.2 5.1 6.1 7.1 9.1 10.1 11.1 12.1 13.1 15.2-15.3 15.5 16.0 16.1 16.3 16.5 17.0 17.2 17.3 18.1","14.1":0.012,"15.1":0.03199,"15.4":0.012,"15.6":0.10797,"16.2":0.11997,"16.4":0.03199,"16.6":0.42789,"17.1":0.03199,"17.4":0.03199,"17.5":0.11997,"17.6":2.29943,"18.0":0.02},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.00256,"5.0-5.1":0.00128,"6.0-6.1":0.00767,"7.0-7.1":0.00895,"8.1-8.4":0,"9.0-9.2":0.00767,"9.3":0.02174,"10.0-10.2":0.00639,"10.3":0.03709,"11.0-11.2":0.13683,"11.3-11.4":0.01023,"12.0-12.1":0.00639,"12.2-12.5":0.15474,"13.0-13.1":0.00256,"13.2":0.04859,"13.3":0.00639,"13.4-13.7":0.02558,"14.0-14.4":0.05883,"14.5-14.8":0.07801,"15.0-15.1":0.04476,"15.2-15.3":0.04348,"15.4":0.04987,"15.5":0.06138,"15.6-15.8":0.60744,"16.0":0.12277,"16.1":0.24297,"16.2":0.12149,"16.3":0.20461,"16.4":0.04348,"16.5":0.08568,"16.6-16.7":0.73148,"17.0":0.06138,"17.1":0.09719,"17.2":0.08824,"17.3":0.1266,"17.4":0.27111,"17.5":1.30311,"17.6-17.7":6.935,"18.0":0.87471,"18.1":0.03964},P:{"21":0.01083,"22":0.1408,"23":0.08665,"24":0.24911,"25":0.06499,"26":0.9423,_:"4 20 5.0-5.4 6.2-6.4 8.2 9.2 10.1 12.0 13.0 14.0 15.0 17.0 18.0","7.2-7.4":0.05416,"11.1-11.2":0.18413,"16.0":0.02166,"19.0":0.02166},I:{"0":0.01197,"3":0,"4":0,"2.1":0,"2.2":0,"2.3":0,"4.1":0,"4.2-4.3":0,"4.4":0,"4.4.3-4.4.4":0.00002},K:{"0":0.36006,_:"10 11 12 11.1 11.5 12.1"},A:{"11":0.012,_:"6 7 8 9 10 5.5"},N:{_:"10 11"},S:{_:"2.5 3.0-3.1"},J:{_:"7 10"},O:{"0":0.27005},H:{"0":0},L:{"0":45.95511},R:{_:"0"},M:{"0":0.06001},Q:{_:"14.9"}}; diff --git a/node_modules/caniuse-lite/data/regions/FO.js b/node_modules/caniuse-lite/data/regions/FO.js index 992609d6bb..c80150c21c 100644 --- a/node_modules/caniuse-lite/data/regions/FO.js +++ b/node_modules/caniuse-lite/data/regions/FO.js @@ -1 +1 @@ -module.exports={C:{"78":0.00417,"104":0.00417,"105":0.00834,"107":0.00834,"108":0.00417,"109":0.00834,"110":0.00417,"111":0.00417,"112":0.00417,"115":0.81315,"124":0.00834,"125":0.834,"126":1.35525,_:"2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 106 113 114 116 117 118 119 120 121 122 123 127 128 129 3.5 3.6"},D:{"49":0.02085,"69":0.00417,"76":0.01668,"79":0.02085,"94":0.00834,"101":0.00834,"103":0.01251,"106":0.17097,"107":0.00834,"108":0.19599,"109":0.86736,"110":0.20016,"111":0.25437,"112":0.16263,"115":0.00417,"116":0.10425,"117":0.00834,"118":0.02085,"119":0.06672,"120":0.03753,"121":0.15429,"122":0.10842,"123":0.77562,"124":9.58683,"125":3.89895,_:"4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 70 71 72 73 74 75 77 78 80 81 83 84 85 86 87 88 89 90 91 92 93 95 96 97 98 99 100 102 104 105 113 114 126 127 128"},F:{"107":0.1668,"108":0.00417,"109":1.00497,"110":0.02502,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 60 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"106":0.00417,"109":0.11259,"110":0.00834,"112":0.00417,"119":0.06672,"122":0.02085,"123":0.0834,"124":2.45196,"125":1.78059,_:"12 13 14 15 16 17 18 79 80 81 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 107 108 111 113 114 115 116 117 118 120 121"},E:{"14":0.02502,"15":0.01251,_:"0 4 5 6 7 8 9 10 11 12 13 3.1 3.2 5.1 6.1 7.1 9.1 10.1 11.1 12.1","13.1":0.02085,"14.1":0.07089,"15.1":0.02085,"15.2-15.3":0.06255,"15.4":0.0417,"15.5":0.06672,"15.6":2.04747,"16.0":0.01668,"16.1":0.14178,"16.2":0.3336,"16.3":0.73809,"16.4":0.11259,"16.5":0.15846,"16.6":1.83063,"17.0":0.09174,"17.1":0.26688,"17.2":0.1668,"17.3":0.41283,"17.4":8.1315,"17.5":0.77979,"17.6":0.00834},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.00868,"5.0-5.1":0.00868,"6.0-6.1":0.02171,"7.0-7.1":0.03039,"8.1-8.4":0.00868,"9.0-9.2":0.02171,"9.3":0.09986,"10.0-10.2":0.01737,"10.3":0.1563,"11.0-11.2":0.2301,"11.3-11.4":0.04342,"12.0-12.1":0.02605,"12.2-12.5":0.62953,"13.0-13.1":0.01302,"13.2":0.06078,"13.3":0.03039,"13.4-13.7":0.13893,"14.0-14.4":0.23879,"14.5-14.8":0.36904,"15.0-15.1":0.17801,"15.2-15.3":0.19537,"15.4":0.22142,"15.5":0.27786,"15.6-15.8":2.50076,"16.0":0.56875,"16.1":1.17223,"16.2":0.56875,"16.3":0.98554,"16.4":0.2084,"16.5":0.42114,"16.6-16.7":3.35606,"17.0":0.36469,"17.1":0.5948,"17.2":0.62085,"17.3":1.14618,"17.4":26.0279,"17.5":1.8365,"17.6":0},P:{"4":0.40517,"22":0.01039,"23":0.01039,"24":0.21817,"25":2.31677,_:"20 21 5.0-5.4 6.2-6.4 7.2-7.4 8.2 9.2 10.1 11.1-11.2 12.0 13.0 14.0 15.0 16.0 17.0","18.0":0.01039,"19.0":0.01039},I:{"0":0.05227,"3":0,"4":0.00001,"2.1":0,"2.2":0,"2.3":0,"4.1":0.00001,"4.2-4.3":0.00003,"4.4":0,"4.4.3-4.4.4":0.00012},K:{"0":0.01166,_:"10 11 12 11.1 11.5 12.1"},A:{"8":0.02919,"9":0.01668,"11":0.20016,_:"6 7 10 5.5"},S:{_:"2.5 3.0-3.1"},J:{_:"7 10"},N:{_:"10 11"},L:{"0":11.77267},R:{_:"0"},M:{"0":0.11077},Q:{_:"14.9"},O:{"0":0.00583},H:{"0":0}}; +module.exports={C:{"43":0.00479,"89":0.03352,"99":0.00958,"104":0.00958,"106":0.01436,"107":0.00958,"108":0.01436,"109":0.15322,"115":1.2353,"126":0.00479,"127":0.00479,"128":0.00479,"129":0.18194,"130":2.04926,_:"2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 90 91 92 93 94 95 96 97 98 100 101 102 103 105 110 111 112 113 114 116 117 118 119 120 121 122 123 124 125 131 132 133 134 135 3.5 3.6"},D:{"49":0.02394,"61":0.00479,"67":0.02873,"76":0.01915,"79":0.04788,"87":0.03352,"88":0.00479,"92":0.00479,"96":0.19631,"101":0.01915,"102":0.01436,"103":0.25376,"106":0.24898,"107":0.17716,"108":0.08618,"109":1.08688,"110":0.38304,"111":0.2777,"112":0.25376,"114":0.00479,"115":0.01436,"116":0.07182,"117":0.00479,"118":0.00479,"119":0.01915,"120":0.03352,"121":0.11012,"122":0.10055,"123":0.26334,"124":0.24898,"125":0.04788,"126":0.68947,"127":1.90084,"128":9.72922,"129":4.05544,_:"4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 50 51 52 53 54 55 56 57 58 59 60 62 63 64 65 66 68 69 70 71 72 73 74 75 77 78 80 81 83 84 85 86 89 90 91 93 94 95 97 98 99 100 104 105 113 130 131 132 133"},F:{"93":0.17716,"94":0.19152,"109":0.01436,"112":0.85705,"113":0.54104,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 60 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 95 96 97 98 99 100 101 102 103 104 105 106 107 108 110 111 114 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"92":0.01915,"109":0.04788,"117":0.00479,"119":0.0383,"124":0.00958,"125":0.00958,"126":0.01915,"127":0.28728,"128":3.5096,"129":1.42682,_:"12 13 14 15 16 17 18 79 80 81 83 84 85 86 87 88 89 90 91 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 110 111 112 113 114 115 116 118 120 121 122 123 130"},E:{"8":0.03352,"14":0.0383,_:"0 4 5 6 7 9 10 11 12 13 15 3.1 3.2 5.1 6.1 7.1 9.1 10.1 11.1 12.1 15.2-15.3","13.1":0.01436,"14.1":0.08618,"15.1":0.02394,"15.4":0.02873,"15.5":0.18673,"15.6":1.66622,"16.0":0.00479,"16.1":0.16758,"16.2":0.12928,"16.3":0.59371,"16.4":0.07661,"16.5":0.18673,"16.6":2.1546,"17.0":0.02394,"17.1":0.10534,"17.2":0.05267,"17.3":0.10534,"17.4":0.35431,"17.5":1.05336,"17.6":8.08214,"18.0":0.68468,"18.1":0.00958},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.00808,"5.0-5.1":0.00404,"6.0-6.1":0.02424,"7.0-7.1":0.02828,"8.1-8.4":0,"9.0-9.2":0.02424,"9.3":0.06867,"10.0-10.2":0.0202,"10.3":0.11715,"11.0-11.2":0.43223,"11.3-11.4":0.03232,"12.0-12.1":0.0202,"12.2-12.5":0.48879,"13.0-13.1":0.00808,"13.2":0.1535,"13.3":0.0202,"13.4-13.7":0.08079,"14.0-14.4":0.18582,"14.5-14.8":0.24641,"15.0-15.1":0.14138,"15.2-15.3":0.13735,"15.4":0.15754,"15.5":0.1939,"15.6-15.8":1.91879,"16.0":0.3878,"16.1":0.76752,"16.2":0.38376,"16.3":0.64633,"16.4":0.13735,"16.5":0.27065,"16.6-16.7":2.31063,"17.0":0.1939,"17.1":0.30701,"17.2":0.27873,"17.3":0.39992,"17.4":0.85639,"17.5":4.11632,"17.6-17.7":21.90657,"18.0":2.76306,"18.1":0.12523},P:{"4":0.01026,"20":0.01026,"24":0.01026,"25":0.13338,"26":1.75446,_:"21 22 23 5.0-5.4 6.2-6.4 7.2-7.4 8.2 9.2 10.1 11.1-11.2 12.0 13.0 14.0 15.0 16.0 17.0 19.0","18.0":0.01026},I:{"0":0.07795,"3":0,"4":0,"2.1":0,"2.2":0,"2.3":0,"4.1":0.00001,"4.2-4.3":0.00003,"4.4":0,"4.4.3-4.4.4":0.00013},K:{"0":0.16675,_:"10 11 12 11.1 11.5 12.1"},A:{"8":0.19994,"9":0.04877,"11":0.01463,_:"6 7 10 5.5"},N:{_:"10 11"},S:{_:"2.5 3.0-3.1"},J:{_:"7 10"},O:{"0":0.00521},H:{"0":0},L:{"0":9.28135},R:{_:"0"},M:{"0":0.11985},Q:{_:"14.9"}}; diff --git a/node_modules/caniuse-lite/data/regions/FR.js b/node_modules/caniuse-lite/data/regions/FR.js index 1b88b98ad5..83cbdf2ca5 100644 --- a/node_modules/caniuse-lite/data/regions/FR.js +++ b/node_modules/caniuse-lite/data/regions/FR.js @@ -1 +1 @@ -module.exports={C:{"4":0.00479,"7":0.00479,"24":0.00479,"48":0.00957,"52":0.03829,"54":0.01914,"56":0.00479,"59":0.03829,"68":0.00479,"72":0.00479,"75":0.01914,"78":0.06222,"82":0.00479,"83":0.00479,"88":0.00957,"91":0.01436,"93":0.00479,"94":0.00957,"96":0.00957,"101":0.00479,"102":0.02872,"103":0.29673,"104":0.00479,"105":0.00957,"106":0.00957,"107":0.01436,"108":0.00957,"109":0.00957,"110":0.00957,"111":0.00957,"112":0.00479,"113":0.01436,"114":0.00479,"115":0.7514,"116":0.00479,"117":0.00479,"118":0.00479,"119":0.00479,"120":0.00957,"121":0.01914,"122":0.01436,"123":0.03829,"124":0.10051,"125":2.10105,"126":1.78996,"127":0.00479,_:"2 3 5 6 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 49 50 51 53 55 57 58 60 61 62 63 64 65 66 67 69 70 71 73 74 76 77 79 80 81 84 85 86 87 89 90 92 95 97 98 99 100 128 129 3.5 3.6"},D:{"49":0.07179,"52":0.02872,"56":0.00479,"58":0.00479,"65":0.00479,"66":0.14837,"67":0.00479,"70":0.00479,"71":0.01436,"76":0.00957,"79":0.03829,"80":0.00479,"81":0.01914,"83":0.00479,"84":0.00479,"85":0.02393,"86":0.06222,"87":0.05265,"88":0.01436,"89":0.00957,"90":0.00957,"91":0.00479,"92":0.00479,"93":0.01436,"94":0.24887,"95":0.01436,"96":0.00957,"97":0.00957,"98":0.01436,"99":0.00957,"100":0.06222,"101":0.11008,"102":0.07658,"103":0.16751,"104":0.067,"105":0.0335,"106":0.04786,"107":0.08136,"108":0.08615,"109":1.58895,"110":0.03829,"111":0.07179,"112":0.05265,"113":0.07179,"114":0.11008,"115":0.12922,"116":0.27759,"117":0.02872,"118":0.04307,"119":0.067,"120":0.14837,"121":0.2058,"122":0.39245,"123":1.72775,"124":16.70314,"125":5.65227,"126":0.00479,_:"4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 50 51 53 54 55 57 59 60 61 62 63 64 68 69 72 73 74 75 77 78 127 128"},F:{"28":0.00957,"46":0.00479,"94":0.00479,"95":0.03829,"102":0.00479,"106":0.02872,"107":0.22016,"108":0.01914,"109":0.93806,"110":0.05265,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 47 48 49 50 51 52 53 54 55 56 57 58 60 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 96 97 98 99 100 101 103 104 105 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"17":0.01914,"18":0.00479,"92":0.00957,"103":0.00479,"106":0.00479,"107":0.01436,"108":0.01436,"109":0.12922,"110":0.00957,"111":0.00479,"112":0.00957,"113":0.00957,"114":0.05265,"115":0.00479,"116":0.00957,"117":0.00957,"118":0.00479,"119":0.00957,"120":0.0335,"121":0.02393,"122":0.16272,"123":0.18187,"124":4.20211,"125":2.21592,_:"12 13 14 15 16 79 80 81 83 84 85 86 87 88 89 90 91 93 94 95 96 97 98 99 100 101 102 104 105"},E:{"13":0.00479,"14":0.0335,"15":0.00957,_:"0 4 5 6 7 8 9 10 11 12 3.1 3.2 5.1 6.1 7.1 9.1 17.6","10.1":0.00479,"11.1":0.03829,"12.1":0.15315,"13.1":0.10529,"14.1":0.13401,"15.1":0.01914,"15.2-15.3":0.01914,"15.4":0.02872,"15.5":0.02872,"15.6":0.29673,"16.0":0.03829,"16.1":0.04786,"16.2":0.03829,"16.3":0.09093,"16.4":0.02872,"16.5":0.05743,"16.6":0.33981,"17.0":0.04307,"17.1":0.07658,"17.2":0.10529,"17.3":0.09572,"17.4":1.27308,"17.5":0.19623},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.00264,"5.0-5.1":0.00264,"6.0-6.1":0.00661,"7.0-7.1":0.00925,"8.1-8.4":0.00264,"9.0-9.2":0.00661,"9.3":0.03041,"10.0-10.2":0.00529,"10.3":0.04759,"11.0-11.2":0.07007,"11.3-11.4":0.01322,"12.0-12.1":0.00793,"12.2-12.5":0.19169,"13.0-13.1":0.00397,"13.2":0.01851,"13.3":0.00925,"13.4-13.7":0.0423,"14.0-14.4":0.07271,"14.5-14.8":0.11237,"15.0-15.1":0.0542,"15.2-15.3":0.05949,"15.4":0.06742,"15.5":0.08461,"15.6-15.8":0.76147,"16.0":0.17318,"16.1":0.35694,"16.2":0.17318,"16.3":0.30009,"16.4":0.06346,"16.5":0.12823,"16.6-16.7":1.02191,"17.0":0.11105,"17.1":0.18111,"17.2":0.18905,"17.3":0.34901,"17.4":7.9254,"17.5":0.55921,"17.6":0},P:{"4":0.04243,"20":0.02121,"21":0.05304,"22":0.05304,"23":0.11668,"24":0.24396,"25":2.10021,_:"5.0-5.4 6.2-6.4 8.2 10.1 12.0","7.2-7.4":0.01061,"9.2":0.01061,"11.1-11.2":0.02121,"13.0":0.02121,"14.0":0.01061,"15.0":0.02121,"16.0":0.02121,"17.0":0.01061,"18.0":0.02121,"19.0":0.03182},I:{"0":0.0935,"3":0,"4":0.00001,"2.1":0,"2.2":0,"2.3":0,"4.1":0.00002,"4.2-4.3":0.00006,"4.4":0,"4.4.3-4.4.4":0.00021},K:{"0":0.64145,_:"10 11 12 11.1 11.5 12.1"},A:{"8":0.02485,"9":0.01988,"10":0.00497,"11":0.07952,_:"6 7 5.5"},S:{"2.5":0.00522,_:"3.0-3.1"},J:{_:"7 10"},N:{_:"10 11"},L:{"0":34.69489},R:{_:"0"},M:{"0":0.53715},Q:{"14.9":0.00522},O:{"0":0.45892},H:{"0":0}}; +module.exports={C:{"4":0.01384,"45":0.00461,"48":0.00922,"51":0.01384,"52":0.02767,"54":0.03228,"56":0.00461,"59":0.04151,"68":0.00461,"72":0.00461,"75":0.02306,"78":0.05534,"83":0.00461,"88":0.00922,"91":0.01384,"93":0.00461,"94":0.00461,"96":0.00922,"101":0.00922,"102":0.02306,"103":0.00922,"105":0.00461,"106":0.00461,"107":0.00461,"108":0.00461,"109":0.00461,"110":0.00461,"111":0.00461,"112":0.00461,"113":0.01384,"114":0.00461,"115":0.83016,"116":0.00461,"118":0.00461,"119":0.00461,"120":0.00461,"121":0.00922,"122":0.00922,"123":0.05073,"124":0.02306,"125":0.01845,"126":0.01845,"127":0.06918,"128":0.05996,"129":0.73792,"130":3.768,"131":0.01384,_:"2 3 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 46 47 49 50 53 55 57 58 60 61 62 63 64 65 66 67 69 70 71 73 74 76 77 79 80 81 82 84 85 86 87 89 90 92 95 97 98 99 100 104 117 132 133 134 135 3.5 3.6"},D:{"38":0.00461,"49":0.03228,"51":0.05996,"52":0.05073,"56":0.00461,"58":0.00461,"62":0.00461,"65":0.00461,"66":0.16603,"67":0.00461,"70":0.00461,"71":0.01845,"73":0.00461,"76":0.00461,"77":0.00461,"79":0.04612,"80":0.00922,"81":0.01384,"83":0.00461,"84":0.00461,"85":0.01384,"86":0.00461,"87":0.04612,"88":0.02306,"89":0.00922,"90":0.00922,"91":0.01845,"92":0.00461,"93":0.01384,"94":0.29978,"95":0.00922,"96":0.00922,"97":0.00461,"98":0.00922,"99":0.00922,"100":0.00461,"101":0.00461,"102":0.09224,"103":0.10608,"104":0.01384,"105":0.01384,"106":0.02306,"107":0.03228,"108":0.04612,"109":1.28675,"110":0.03228,"111":0.04612,"112":0.02767,"113":0.0784,"114":0.35512,"115":0.01384,"116":0.28133,"117":0.01384,"118":0.04612,"119":0.04612,"120":0.06457,"121":0.04612,"122":0.10608,"123":0.20293,"124":0.19832,"125":0.31823,"126":0.50732,"127":1.3467,"128":14.48168,"129":5.34531,"130":0.01384,_:"4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 39 40 41 42 43 44 45 46 47 48 50 53 54 55 57 59 60 61 63 64 68 69 72 74 75 78 131 132 133"},F:{"46":0.00461,"79":0.00461,"84":0.01845,"92":0.00461,"95":0.0369,"102":0.00461,"109":0.02306,"111":0.00461,"112":0.78404,"113":0.58572,"114":0.00461,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 47 48 49 50 51 52 53 54 55 56 57 58 60 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 80 81 82 83 85 86 87 88 89 90 91 93 94 96 97 98 99 100 101 103 104 105 106 107 108 110 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"17":0.02306,"18":0.00461,"92":0.00922,"95":0.00461,"96":0.00461,"100":0.00461,"103":0.00461,"105":0.00461,"106":0.00461,"107":0.00461,"108":0.00922,"109":0.10608,"110":0.00461,"111":0.00461,"112":0.00922,"113":0.00461,"114":0.01845,"115":0.00461,"116":0.00922,"117":0.00461,"118":0.00461,"119":0.00922,"120":0.02306,"121":0.02306,"122":0.10608,"123":0.00922,"124":0.01845,"125":0.02306,"126":0.12452,"127":0.25827,"128":4.44597,"129":1.9601,_:"12 13 14 15 16 79 80 81 83 84 85 86 87 88 89 90 91 93 94 97 98 99 101 102 104 130"},E:{"10":0.05073,"13":0.00461,"14":0.01845,"15":0.00922,_:"0 4 5 6 7 8 9 11 12 3.1 3.2 5.1 6.1 7.1 9.1","10.1":0.00461,"11.1":0.04151,"12.1":0.01845,"13.1":0.09685,"14.1":0.12914,"15.1":0.01384,"15.2-15.3":0.01384,"15.4":0.01845,"15.5":0.02306,"15.6":0.27672,"16.0":0.04151,"16.1":0.04151,"16.2":0.02767,"16.3":0.06918,"16.4":0.02767,"16.5":0.05073,"16.6":0.309,"17.0":0.02767,"17.1":0.05073,"17.2":0.06457,"17.3":0.05996,"17.4":0.13836,"17.5":0.37357,"17.6":1.40666,"18.0":0.20754,"18.1":0.00922},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.00267,"5.0-5.1":0.00133,"6.0-6.1":0.00801,"7.0-7.1":0.00934,"8.1-8.4":0,"9.0-9.2":0.00801,"9.3":0.02269,"10.0-10.2":0.00667,"10.3":0.0387,"11.0-11.2":0.1428,"11.3-11.4":0.01068,"12.0-12.1":0.00667,"12.2-12.5":0.16149,"13.0-13.1":0.00267,"13.2":0.05072,"13.3":0.00667,"13.4-13.7":0.02669,"14.0-14.4":0.06139,"14.5-14.8":0.08141,"15.0-15.1":0.04671,"15.2-15.3":0.04538,"15.4":0.05205,"15.5":0.06406,"15.6-15.8":0.63394,"16.0":0.12812,"16.1":0.25358,"16.2":0.12679,"16.3":0.21354,"16.4":0.04538,"16.5":0.08942,"16.6-16.7":0.7634,"17.0":0.06406,"17.1":0.10143,"17.2":0.09209,"17.3":0.13213,"17.4":0.28294,"17.5":1.35997,"17.6-17.7":7.23758,"18.0":0.91287,"18.1":0.04137},P:{"4":0.04211,"20":0.02105,"21":0.04211,"22":0.05263,"23":0.06316,"24":0.05263,"25":0.26317,"26":2.31588,_:"5.0-5.4 8.2 9.2 10.1 12.0","6.2-6.4":0.01053,"7.2-7.4":0.01053,"11.1-11.2":0.01053,"13.0":0.01053,"14.0":0.01053,"15.0":0.01053,"16.0":0.01053,"17.0":0.01053,"18.0":0.01053,"19.0":0.01053},I:{"0":0.07523,"3":0,"4":0,"2.1":0,"2.2":0,"2.3":0,"4.1":0.00001,"4.2-4.3":0.00003,"4.4":0,"4.4.3-4.4.4":0.00012},K:{"0":0.68428,_:"10 11 12 11.1 11.5 12.1"},A:{"8":0.01048,"9":0.00524,"11":0.09958,_:"6 7 10 5.5"},N:{_:"10 11"},S:{_:"2.5 3.0-3.1"},J:{_:"7 10"},O:{"0":0.6735},H:{"0":0},L:{"0":35.86797},R:{_:"0"},M:{"0":0.59268},Q:{"14.9":0.01078}}; diff --git a/node_modules/caniuse-lite/data/regions/GA.js b/node_modules/caniuse-lite/data/regions/GA.js index 6c540691ed..6585846340 100644 --- a/node_modules/caniuse-lite/data/regions/GA.js +++ b/node_modules/caniuse-lite/data/regions/GA.js @@ -1 +1 @@ -module.exports={C:{"34":0.00239,"47":0.00239,"48":0.00239,"52":0.01432,"71":0.00239,"78":0.00239,"107":0.01909,"112":0.01193,"115":0.1527,"120":0.00239,"123":0.00239,"124":0.00477,"125":1.07609,"126":0.49867,"127":0.00239,_:"2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 35 36 37 38 39 40 41 42 43 44 45 46 49 50 51 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 72 73 74 75 76 77 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 108 109 110 111 113 114 116 117 118 119 121 122 128 129 3.5 3.6"},D:{"11":0.00239,"33":0.00239,"38":0.00716,"40":0.00239,"43":0.00239,"49":0.00477,"50":0.00477,"56":0.00239,"58":0.00477,"63":0.00239,"64":0.00239,"65":0.00239,"66":0.10737,"68":0.00477,"69":0.00716,"70":0.00239,"73":0.00954,"74":0.00239,"75":0.00954,"76":0.00239,"79":0.13839,"80":0.00239,"81":0.03579,"83":0.02386,"84":0.02863,"86":0.05249,"87":0.02625,"88":0.02147,"89":0.03102,"90":0.05249,"93":0.01432,"94":0.00239,"95":0.0167,"96":0.00716,"98":0.02386,"99":0.01193,"100":0.00239,"101":0.00239,"102":0.02386,"103":0.11214,"104":0.00477,"105":0.00239,"106":0.00239,"107":0.00239,"108":0.00954,"109":1.63441,"110":0.136,"114":0.03102,"116":0.01909,"117":0.00239,"118":0.00477,"119":0.14316,"120":0.03102,"121":0.02625,"122":0.04056,"123":0.31495,"124":7.32263,"125":2.38839,_:"4 5 6 7 8 9 10 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 34 35 36 37 39 41 42 44 45 46 47 48 51 52 53 54 55 57 59 60 61 62 67 71 72 77 78 85 91 92 97 111 112 113 115 126 127 128"},F:{"28":0.00239,"29":0.00239,"36":0.00477,"46":0.00239,"83":0.00239,"89":0.00477,"95":0.07397,"107":0.1026,"108":0.0167,"109":0.78022,"110":0.08351,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 30 31 32 33 34 35 37 38 39 40 41 42 43 44 45 47 48 49 50 51 52 53 54 55 56 57 58 60 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 84 85 86 87 88 90 91 92 93 94 96 97 98 99 100 101 102 103 104 105 106 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"18":0.01193,"92":0.02386,"109":0.02625,"110":0.00239,"119":0.00239,"120":0.00716,"121":0.00716,"122":0.00954,"123":0.05726,"124":2.56495,"125":1.08086,_:"12 13 14 15 16 17 79 80 81 83 84 85 86 87 88 89 90 91 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 111 112 113 114 115 116 117 118"},E:{_:"0 4 5 6 7 8 9 10 11 12 13 14 15 3.1 3.2 5.1 6.1 7.1 9.1 10.1 11.1 12.1 15.1 15.2-15.3 15.4 15.5 17.6","13.1":0.02625,"14.1":0.10737,"15.6":0.04295,"16.0":0.05249,"16.1":0.00716,"16.2":0.01193,"16.3":0.07874,"16.4":0.00239,"16.5":0.00477,"16.6":0.0167,"17.0":0.00239,"17.1":0.00239,"17.2":0.00239,"17.3":0.00716,"17.4":0.08112,"17.5":0.02147},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.00233,"5.0-5.1":0.00233,"6.0-6.1":0.00583,"7.0-7.1":0.00816,"8.1-8.4":0.00233,"9.0-9.2":0.00583,"9.3":0.02681,"10.0-10.2":0.00466,"10.3":0.04196,"11.0-11.2":0.06177,"11.3-11.4":0.01166,"12.0-12.1":0.00699,"12.2-12.5":0.169,"13.0-13.1":0.0035,"13.2":0.01632,"13.3":0.00816,"13.4-13.7":0.0373,"14.0-14.4":0.06411,"14.5-14.8":0.09907,"15.0-15.1":0.04779,"15.2-15.3":0.05245,"15.4":0.05944,"15.5":0.0746,"15.6-15.8":0.67136,"16.0":0.15269,"16.1":0.3147,"16.2":0.15269,"16.3":0.26458,"16.4":0.05595,"16.5":0.11306,"16.6-16.7":0.90097,"17.0":0.09791,"17.1":0.15968,"17.2":0.16667,"17.3":0.30771,"17.4":6.98747,"17.5":0.49303,"17.6":0},P:{"4":0.15226,"20":0.0203,"21":0.0406,"22":0.08121,"23":0.19286,"24":0.24362,"25":1.02522,_:"5.0-5.4 8.2 9.2 10.1 12.0 14.0 15.0 18.0","6.2-6.4":0.01015,"7.2-7.4":0.33497,"11.1-11.2":0.0609,"13.0":0.01015,"16.0":0.40603,"17.0":0.0406,"19.0":0.03045},I:{"0":0.01517,"3":0,"4":0,"2.1":0,"2.2":0,"2.3":0,"4.1":0,"4.2-4.3":0.00001,"4.4":0,"4.4.3-4.4.4":0.00003},K:{"0":1.96835,_:"10 11 12 11.1 11.5 12.1"},A:{"11":0.00239,_:"6 7 8 9 10 5.5"},S:{"2.5":0.07613,_:"3.0-3.1"},J:{_:"7 10"},N:{_:"10 11"},L:{"0":62.51453},R:{_:"0"},M:{"0":0.03807},Q:{"14.9":0.00761},O:{"0":0.08374},H:{"0":0.11}}; +module.exports={C:{"34":0.00226,"37":0.01356,"52":0.01356,"72":0.00226,"91":0.0113,"107":0.00678,"112":0.00226,"115":0.10622,"127":0.00904,"128":0.00452,"129":0.08362,"130":0.86106,_:"2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 35 36 38 39 40 41 42 43 44 45 46 47 48 49 50 51 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 108 109 110 111 113 114 116 117 118 119 120 121 122 123 124 125 126 131 132 133 134 135 3.5 3.6"},D:{"11":0.00226,"38":0.00452,"43":0.00226,"49":0.0113,"65":0.00226,"66":0.02938,"69":0.01808,"70":0.00226,"72":0.00226,"73":0.00904,"74":0.00452,"75":0.00904,"79":0.06554,"80":0.00226,"81":0.0113,"83":0.03164,"84":0.02486,"86":0.0113,"87":0.10848,"88":0.01356,"89":0.00678,"90":0.00452,"91":0.07006,"92":0.00226,"93":0.00678,"94":0.01356,"95":0.00452,"96":0.01356,"97":0.00226,"98":0.00678,"99":0.00452,"100":0.00452,"103":0.05424,"105":0.00904,"108":0.00226,"109":1.13904,"110":0.03616,"114":0.08814,"116":0.02486,"117":0.00226,"118":0.00226,"119":0.14012,"120":0.00452,"121":0.00678,"122":0.00678,"123":0.01808,"124":0.1017,"125":0.11074,"126":0.04294,"127":0.23504,"128":5.9325,"129":2.8928,_:"4 5 6 7 8 9 10 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 39 40 41 42 44 45 46 47 48 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 67 68 71 76 77 78 85 101 102 104 106 107 111 112 113 115 130 131 132 133"},F:{"36":0.00226,"46":0.00226,"83":0.00226,"84":0.00226,"95":0.00678,"102":0.00226,"109":0.00904,"110":0.00678,"111":0.00452,"112":0.6667,"113":0.3051,"114":0.02034,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 37 38 39 40 41 42 43 44 45 47 48 49 50 51 52 53 54 55 56 57 58 60 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 85 86 87 88 89 90 91 92 93 94 96 97 98 99 100 101 103 104 105 106 107 108 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"16":0.00226,"17":0.00226,"18":0.00226,"92":0.03842,"100":0.00452,"109":0.01356,"110":0.00226,"114":0.00226,"115":0.00226,"117":0.00226,"121":0.0113,"122":0.0339,"124":0.01356,"125":0.00678,"126":0.06102,"127":0.08136,"128":2.35266,"129":1.3786,_:"12 13 14 15 79 80 81 83 84 85 86 87 88 89 90 91 93 94 95 96 97 98 99 101 102 103 104 105 106 107 108 111 112 113 116 118 119 120 123 130"},E:{_:"0 4 5 6 7 8 9 10 11 12 13 14 15 3.1 3.2 5.1 6.1 7.1 9.1 15.2-15.3 16.1 16.4 17.0","10.1":0.00226,"11.1":0.00226,"12.1":0.00452,"13.1":0.2034,"14.1":0.00678,"15.1":0.00226,"15.4":0.00452,"15.5":0.00226,"15.6":0.05198,"16.0":0.00904,"16.2":0.0339,"16.3":0.00904,"16.5":0.00226,"16.6":0.09944,"17.1":0.00226,"17.2":0.00452,"17.3":0.00678,"17.4":0.01582,"17.5":0.08362,"17.6":0.30962,"18.0":0.01356,"18.1":0.00226},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.00299,"5.0-5.1":0.0015,"6.0-6.1":0.00898,"7.0-7.1":0.01047,"8.1-8.4":0,"9.0-9.2":0.00898,"9.3":0.02543,"10.0-10.2":0.00748,"10.3":0.04339,"11.0-11.2":0.16009,"11.3-11.4":0.01197,"12.0-12.1":0.00748,"12.2-12.5":0.18103,"13.0-13.1":0.00299,"13.2":0.05685,"13.3":0.00748,"13.4-13.7":0.02992,"14.0-14.4":0.06882,"14.5-14.8":0.09126,"15.0-15.1":0.05236,"15.2-15.3":0.05087,"15.4":0.05835,"15.5":0.07181,"15.6-15.8":0.71067,"16.0":0.14363,"16.1":0.28427,"16.2":0.14213,"16.3":0.23938,"16.4":0.05087,"16.5":0.10024,"16.6-16.7":0.85579,"17.0":0.07181,"17.1":0.11371,"17.2":0.10323,"17.3":0.14812,"17.4":0.31718,"17.5":1.52457,"17.6-17.7":8.11358,"18.0":1.02336,"18.1":0.04638},P:{"4":0.21643,"20":0.02061,"21":0.01031,"22":0.20613,"23":0.03092,"24":0.14429,"25":0.1649,"26":0.72145,"5.0-5.4":0.01031,"6.2-6.4":0.01031,"7.2-7.4":0.14429,_:"8.2 9.2 10.1 12.0 13.0 14.0 15.0 17.0 18.0","11.1-11.2":0.08245,"16.0":0.18552,"19.0":0.01031},I:{"0":0.00772,"3":0,"4":0,"2.1":0,"2.2":0,"2.3":0,"4.1":0,"4.2-4.3":0,"4.4":0,"4.4.3-4.4.4":0.00001},K:{"0":0.7827,_:"10 11 12 11.1 11.5 12.1"},A:{_:"6 7 8 9 10 11 5.5"},N:{_:"10 11"},S:{"2.5":0.06192,_:"3.0-3.1"},J:{_:"7 10"},O:{"0":0.12384},H:{"0":0.03},L:{"0":63.3425},R:{_:"0"},M:{"0":0.03096},Q:{_:"14.9"}}; diff --git a/node_modules/caniuse-lite/data/regions/GB.js b/node_modules/caniuse-lite/data/regions/GB.js index d902f27d3b..82d025c52b 100644 --- a/node_modules/caniuse-lite/data/regions/GB.js +++ b/node_modules/caniuse-lite/data/regions/GB.js @@ -1 +1 @@ -module.exports={C:{"48":0.00426,"52":0.01277,"56":0.00426,"59":0.02128,"60":0.00851,"65":0.01277,"66":0.01702,"67":0.00426,"78":0.02128,"83":0.00426,"88":0.01277,"91":0.00426,"93":0.00426,"94":0.00426,"102":0.00426,"103":0.00426,"105":0.00426,"108":0.00426,"113":0.00426,"115":0.15318,"118":0.00851,"119":0.00426,"120":0.00426,"121":0.00851,"122":0.00426,"123":0.01277,"124":0.2085,"125":0.69782,"126":0.68506,"127":0.00426,_:"2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 49 50 51 53 54 55 57 58 61 62 63 64 68 69 70 71 72 73 74 75 76 77 79 80 81 82 84 85 86 87 89 90 92 95 96 97 98 99 100 101 104 106 107 109 110 111 112 114 116 117 128 129 3.5 3.6"},D:{"38":0.00426,"41":0.00426,"49":0.01277,"51":0.00426,"52":0.00426,"65":0.00426,"66":0.09361,"70":0.00426,"71":0.00426,"72":0.02553,"73":0.0383,"74":0.00851,"75":0.00426,"76":0.01277,"77":0.00426,"79":0.01702,"80":0.00851,"81":0.02128,"83":0.01277,"84":0.00851,"85":0.00851,"86":0.02553,"87":0.02979,"88":0.01277,"89":0.01277,"90":0.00426,"91":0.01277,"92":0.00851,"93":0.0383,"94":0.02128,"95":0.00851,"96":0.05106,"97":0.00851,"98":0.00426,"99":0.00851,"100":0.02128,"101":0.0383,"102":0.03404,"103":0.24254,"104":0.02979,"105":0.01702,"106":0.01277,"107":0.02553,"108":0.02553,"109":0.69357,"110":0.01702,"111":0.02979,"112":0.02553,"113":0.04681,"114":0.09787,"115":0.07659,"116":0.19999,"117":0.02979,"118":0.0383,"119":0.07234,"120":0.12765,"121":0.17446,"122":0.38295,"123":1.62116,"124":14.27553,"125":4.79964,"126":0.00851,_:"4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 39 40 42 43 44 45 46 47 48 50 53 54 55 56 57 58 59 60 61 62 63 64 67 68 69 78 127 128"},F:{"46":0.00851,"58":0.00426,"95":0.01702,"102":0.00426,"106":0.00851,"107":0.22126,"108":0.01702,"109":0.73186,"110":0.02979,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 47 48 49 50 51 52 53 54 55 56 57 60 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 96 97 98 99 100 101 103 104 105 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"17":0.01277,"18":0.00426,"85":0.00426,"92":0.00426,"95":0.00426,"107":0.00426,"108":0.00426,"109":0.06383,"110":0.00426,"112":0.00426,"113":0.00426,"114":0.00851,"115":0.00426,"116":0.00426,"117":0.00851,"118":0.00426,"119":0.01277,"120":0.02128,"121":0.02128,"122":0.09787,"123":0.27658,"124":5.28046,"125":2.83383,_:"12 13 14 15 16 79 80 81 83 84 86 87 88 89 90 91 93 94 96 97 98 99 100 101 102 103 104 105 106 111"},E:{"12":0.01277,"13":0.00426,"14":0.04681,"15":0.00851,_:"0 4 5 6 7 8 9 10 11 3.1 3.2 5.1 6.1 7.1 9.1 10.1 17.6","11.1":0.02553,"12.1":0.02128,"13.1":0.08085,"14.1":0.14893,"15.1":0.01702,"15.2-15.3":0.01277,"15.4":0.02979,"15.5":0.05106,"15.6":0.5106,"16.0":0.05957,"16.1":0.07234,"16.2":0.07659,"16.3":0.1702,"16.4":0.04681,"16.5":0.08085,"16.6":0.69782,"17.0":0.06383,"17.1":0.10212,"17.2":0.11914,"17.3":0.14042,"17.4":3.32316,"17.5":0.33189},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.00499,"5.0-5.1":0.00499,"6.0-6.1":0.01247,"7.0-7.1":0.01745,"8.1-8.4":0.00499,"9.0-9.2":0.01247,"9.3":0.05735,"10.0-10.2":0.00997,"10.3":0.08976,"11.0-11.2":0.13215,"11.3-11.4":0.02493,"12.0-12.1":0.01496,"12.2-12.5":0.36155,"13.0-13.1":0.00748,"13.2":0.03491,"13.3":0.01745,"13.4-13.7":0.07979,"14.0-14.4":0.13714,"14.5-14.8":0.21194,"15.0-15.1":0.10223,"15.2-15.3":0.11221,"15.4":0.12717,"15.5":0.15958,"15.6-15.8":1.43624,"16.0":0.32664,"16.1":0.67324,"16.2":0.32664,"16.3":0.56602,"16.4":0.11969,"16.5":0.24187,"16.6-16.7":1.92745,"17.0":0.20945,"17.1":0.34161,"17.2":0.35657,"17.3":0.65828,"17.4":14.94836,"17.5":1.05474,"17.6":0},P:{"4":0.03307,"20":0.03307,"21":0.06615,"22":0.06615,"23":0.11025,"24":0.25356,"25":3.88064,_:"5.0-5.4 6.2-6.4 7.2-7.4 8.2 9.2 10.1 11.1-11.2 12.0 14.0 15.0","13.0":0.01102,"16.0":0.01102,"17.0":0.01102,"18.0":0.01102,"19.0":0.02205},I:{"0":0.03433,"3":0,"4":0,"2.1":0,"2.2":0,"2.3":0,"4.1":0.00001,"4.2-4.3":0.00002,"4.4":0,"4.4.3-4.4.4":0.00008},K:{"0":0.24125,_:"10 11 12 11.1 11.5 12.1"},A:{"8":0.00912,"9":0.00456,"11":0.05015,_:"6 7 10 5.5"},S:{_:"2.5 3.0-3.1"},J:{_:"7 10"},N:{_:"10 11"},L:{"0":27.25658},R:{_:"0"},M:{"0":0.33315},Q:{"14.9":0.00574},O:{"0":0.0919},H:{"0":0}}; +module.exports={C:{"48":0.00418,"50":0.00418,"51":0.00837,"52":0.01255,"59":0.02092,"78":0.01255,"83":0.00418,"88":0.01255,"91":0.00418,"93":0.00837,"94":0.01255,"96":0.00418,"102":0.00418,"103":0.00837,"113":0.00418,"115":0.15062,"118":0.00418,"121":0.00418,"122":0.00418,"123":0.00418,"124":0.00418,"125":0.01674,"126":0.00418,"127":0.01674,"128":0.01674,"129":0.30125,"130":1.19244,"131":0.00418,_:"2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 49 53 54 55 56 57 58 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 79 80 81 82 84 85 86 87 89 90 92 95 97 98 99 100 101 104 105 106 107 108 109 110 111 112 114 116 117 119 120 132 133 134 135 3.5 3.6"},D:{"38":0.00837,"49":0.01255,"51":0.00418,"52":0.01255,"56":0.02929,"60":0.00418,"66":0.09623,"70":0.00837,"74":0.00837,"76":0.00837,"77":0.00418,"79":0.01674,"80":0.00418,"81":0.02092,"83":0.01255,"84":0.00418,"85":0.00418,"86":0.00837,"87":0.02929,"88":0.0251,"89":0.01255,"90":0.00418,"91":0.01255,"92":0.00837,"93":0.01255,"94":0.03347,"95":0.01674,"96":0.00837,"97":0.00418,"98":0.00418,"99":0.00418,"101":0.00418,"102":0.0251,"103":0.19665,"104":0.02092,"105":0.02092,"106":0.00837,"107":0.01674,"108":0.01255,"109":0.6025,"110":0.00837,"111":0.02092,"112":0.01255,"113":0.05021,"114":0.09205,"115":0.01255,"116":0.14644,"117":0.01255,"118":0.02092,"119":0.02929,"120":0.06694,"121":0.03347,"122":0.17573,"123":0.23012,"124":0.15062,"125":0.19665,"126":0.56902,"127":1.41001,"128":12.90346,"129":4.44759,"130":0.01674,_:"4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 39 40 41 42 43 44 45 46 47 48 50 53 54 55 57 58 59 61 62 63 64 65 67 68 69 71 72 73 75 78 100 131 132 133"},F:{"46":0.00837,"84":0.00837,"95":0.01255,"102":0.00418,"109":0.02929,"111":0.00418,"112":0.55647,"113":0.45606,"114":0.00418,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 47 48 49 50 51 52 53 54 55 56 57 58 60 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 85 86 87 88 89 90 91 92 93 94 96 97 98 99 100 101 103 104 105 106 107 108 110 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"17":0.01255,"85":0.00418,"92":0.00418,"95":0.00837,"96":0.00418,"108":0.00418,"109":0.06276,"112":0.00418,"113":0.00418,"114":0.00418,"116":0.00418,"117":0.00418,"118":0.00418,"119":0.0251,"120":0.04184,"121":0.05021,"122":0.05439,"123":0.00837,"124":0.01255,"125":0.01674,"126":0.08368,"127":0.34309,"128":6.28855,"129":2.615,"130":0.00418,_:"12 13 14 15 16 18 79 80 81 83 84 86 87 88 89 90 91 93 94 97 98 99 100 101 102 103 104 105 106 107 110 111 115"},E:{"13":0.00418,"14":0.03347,"15":0.00837,_:"0 4 5 6 7 8 9 10 11 12 3.1 3.2 5.1 6.1 7.1 9.1 10.1","11.1":0.02092,"12.1":0.01255,"13.1":0.07531,"14.1":0.11715,"15.1":0.01674,"15.2-15.3":0.01674,"15.4":0.0251,"15.5":0.04602,"15.6":0.46442,"16.0":0.05439,"16.1":0.05439,"16.2":0.05439,"16.3":0.12134,"16.4":0.03766,"16.5":0.05021,"16.6":0.61505,"17.0":0.04602,"17.1":0.05858,"17.2":0.06276,"17.3":0.06276,"17.4":0.14226,"17.5":0.55229,"17.6":3.40578,"18.0":0.23012,"18.1":0.01255},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.00511,"5.0-5.1":0.00255,"6.0-6.1":0.01533,"7.0-7.1":0.01788,"8.1-8.4":0,"9.0-9.2":0.01533,"9.3":0.04342,"10.0-10.2":0.01277,"10.3":0.07407,"11.0-11.2":0.2733,"11.3-11.4":0.02043,"12.0-12.1":0.01277,"12.2-12.5":0.30906,"13.0-13.1":0.00511,"13.2":0.09706,"13.3":0.01277,"13.4-13.7":0.05108,"14.0-14.4":0.1175,"14.5-14.8":0.15581,"15.0-15.1":0.0894,"15.2-15.3":0.08684,"15.4":0.09962,"15.5":0.1226,"15.6-15.8":1.21327,"16.0":0.24521,"16.1":0.48531,"16.2":0.24265,"16.3":0.40868,"16.4":0.08684,"16.5":0.17113,"16.6-16.7":1.46103,"17.0":0.1226,"17.1":0.19412,"17.2":0.17624,"17.3":0.25287,"17.4":0.5415,"17.5":2.60278,"17.6-17.7":13.85167,"18.0":1.7471,"18.1":0.07918},P:{"4":0.02204,"20":0.02204,"21":0.04408,"22":0.04408,"23":0.07715,"24":0.06613,"25":0.23144,"26":3.71404,_:"5.0-5.4 6.2-6.4 7.2-7.4 8.2 9.2 10.1 12.0 14.0 15.0 16.0","11.1-11.2":0.01102,"13.0":0.01102,"17.0":0.01102,"18.0":0.01102,"19.0":0.02204},I:{"0":0.03481,"3":0,"4":0,"2.1":0,"2.2":0,"2.3":0,"4.1":0,"4.2-4.3":0.00001,"4.4":0,"4.4.3-4.4.4":0.00006},K:{"0":0.2385,_:"10 11 12 11.1 11.5 12.1"},A:{"11":0.04602,_:"6 7 8 9 10 5.5"},N:{_:"10 11"},S:{_:"2.5 3.0-3.1"},J:{_:"7 10"},O:{"0":0.09307},H:{"0":0},L:{"0":27.58001},R:{_:"0"},M:{"0":0.37229},Q:{"14.9":0.00582}}; diff --git a/node_modules/caniuse-lite/data/regions/GD.js b/node_modules/caniuse-lite/data/regions/GD.js index badb3da52a..abec724af8 100644 --- a/node_modules/caniuse-lite/data/regions/GD.js +++ b/node_modules/caniuse-lite/data/regions/GD.js @@ -1 +1 @@ -module.exports={C:{"52":0.01262,"78":0.00421,"102":0.02104,"103":0.04207,"115":0.26083,"122":0.00421,"123":0.00421,"124":0.00841,"125":0.52588,"126":0.64367,"127":0.00421,"128":0.00421,_:"2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 104 105 106 107 108 109 110 111 112 113 114 116 117 118 119 120 121 129 3.5 3.6"},D:{"31":0.00421,"47":0.00421,"49":0.00421,"65":0.01262,"69":0.00841,"70":0.00421,"73":0.00421,"76":0.00841,"79":0.00421,"81":0.00421,"83":0.01262,"85":0.00421,"87":0.01683,"88":0.00841,"90":0.00841,"92":0.03366,"93":0.00841,"94":0.00841,"95":0.00841,"100":0.02524,"103":0.13883,"104":0.06311,"105":0.00421,"108":0.01683,"109":1.15272,"110":0.00421,"111":0.05048,"112":0.02104,"114":0.02524,"115":0.01262,"116":0.0589,"117":0.01262,"118":0.02104,"119":0.01262,"120":0.04628,"121":0.10097,"122":0.71519,"123":1.07699,"124":15.11996,"125":5.48593,"126":0.01683,"127":0.00421,_:"4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 48 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 66 67 68 71 72 74 75 77 78 80 84 86 89 91 96 97 98 99 101 102 106 107 113 128"},F:{"28":0.00421,"75":0.04628,"107":0.07573,"109":0.9592,"110":0.03366,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 60 62 63 64 65 66 67 68 69 70 71 72 73 74 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 108 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"15":0.00421,"92":0.02104,"109":0.07993,"112":0.01683,"114":0.00841,"115":0.00421,"121":0.05048,"122":0.01683,"123":0.09676,"124":3.63485,"125":1.93522,_:"12 13 14 16 17 18 79 80 81 83 84 85 86 87 88 89 90 91 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 110 111 113 116 117 118 119 120"},E:{"14":0.00421,_:"0 4 5 6 7 8 9 10 11 12 13 15 3.1 3.2 5.1 6.1 7.1 9.1 10.1 11.1 12.1 15.1 16.2 17.6","13.1":0.02104,"14.1":0.12621,"15.2-15.3":0.00421,"15.4":0.02104,"15.5":0.01262,"15.6":0.36601,"16.0":0.00841,"16.1":0.05469,"16.3":0.04207,"16.4":0.01262,"16.5":0.06311,"16.6":0.19352,"17.0":0.14725,"17.1":0.08414,"17.2":0.1178,"17.3":0.07993,"17.4":1.34624,"17.5":0.10938},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.00345,"5.0-5.1":0.00345,"6.0-6.1":0.00862,"7.0-7.1":0.01207,"8.1-8.4":0.00345,"9.0-9.2":0.00862,"9.3":0.03965,"10.0-10.2":0.00689,"10.3":0.06205,"11.0-11.2":0.09136,"11.3-11.4":0.01724,"12.0-12.1":0.01034,"12.2-12.5":0.24994,"13.0-13.1":0.00517,"13.2":0.02413,"13.3":0.01207,"13.4-13.7":0.05516,"14.0-14.4":0.0948,"14.5-14.8":0.14651,"15.0-15.1":0.07067,"15.2-15.3":0.07757,"15.4":0.08791,"15.5":0.11032,"15.6-15.8":0.99285,"16.0":0.2258,"16.1":0.4654,"16.2":0.2258,"16.3":0.39128,"16.4":0.08274,"16.5":0.1672,"16.6-16.7":1.33242,"17.0":0.14479,"17.1":0.23615,"17.2":0.24649,"17.3":0.45506,"17.4":10.33358,"17.5":0.72912,"17.6":0},P:{"4":0.03278,"21":0.12018,"22":0.02185,"23":0.07648,"24":0.24036,"25":2.84061,_:"20 6.2-6.4 8.2 9.2 10.1 12.0 14.0 15.0 17.0","5.0-5.4":0.02185,"7.2-7.4":0.29499,"11.1-11.2":0.01093,"13.0":0.01093,"16.0":0.01093,"18.0":0.03278,"19.0":0.02185},I:{"0":0.01154,"3":0,"4":0,"2.1":0,"2.2":0,"2.3":0,"4.1":0,"4.2-4.3":0.00001,"4.4":0,"4.4.3-4.4.4":0.00003},K:{"0":0.4344,_:"10 11 12 11.1 11.5 12.1"},A:{"10":0.02209,"11":0.00736,_:"6 7 8 9 5.5"},S:{_:"2.5 3.0-3.1"},J:{_:"7 10"},N:{_:"10 11"},L:{"0":42.26522},R:{_:"0"},M:{"0":0.24906},Q:{_:"14.9"},O:{"0":0.11005},H:{"0":0}}; +module.exports={C:{"78":0.01508,"103":0.09549,"115":0.16083,"129":0.14073,"130":1.04038,"131":0.01005,_:"2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 104 105 106 107 108 109 110 111 112 113 114 116 117 118 119 120 121 122 123 124 125 126 127 128 132 133 134 135 3.5 3.6"},D:{"65":0.03518,"69":0.00503,"74":0.01005,"76":0.0201,"79":0.00503,"81":0.00503,"83":0.01005,"85":0.01005,"87":0.0201,"88":0.00503,"89":0.01005,"92":0.01005,"93":0.02513,"94":0.0201,"98":0.07539,"99":0.00503,"103":0.31664,"104":0.03518,"105":0.01005,"106":0.00503,"107":0.01005,"109":0.45234,"112":0.16083,"113":0.00503,"114":0.01508,"116":0.03518,"118":0.00503,"119":0.00503,"120":0.01005,"121":0.00503,"122":0.05026,"123":0.01005,"124":0.07539,"125":0.29653,"126":0.63328,"127":0.73882,"128":18.18909,"129":5.13155,"130":0.01005,_:"4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 66 67 68 70 71 72 73 75 77 78 80 84 86 90 91 95 96 97 100 101 102 108 110 111 115 117 131 132 133"},F:{"84":0.0201,"85":0.00503,"95":0.03016,"102":0.00503,"109":0.01005,"112":0.60815,"113":0.19601,"114":0.01005,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 60 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 86 87 88 89 90 91 92 93 94 96 97 98 99 100 101 103 104 105 106 107 108 110 111 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"108":0.00503,"109":0.03518,"118":0.00503,"120":0.02513,"123":0.00503,"124":0.00503,"125":0.08042,"126":0.05529,"127":0.31161,"128":5.80503,"129":2.19636,_:"12 13 14 15 16 17 18 79 80 81 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 110 111 112 113 114 115 116 117 119 121 122 130"},E:{"14":0.01005,_:"0 4 5 6 7 8 9 10 11 12 13 15 3.1 3.2 5.1 6.1 7.1 9.1 10.1 11.1 12.1 15.1 16.2 18.1","13.1":0.02513,"14.1":0.23622,"15.2-15.3":0.00503,"15.4":0.01508,"15.5":0.05026,"15.6":0.41716,"16.0":0.28648,"16.1":0.00503,"16.3":0.0201,"16.4":0.01005,"16.5":0.03016,"16.6":0.1156,"17.0":0.39203,"17.1":0.13068,"17.2":0.03518,"17.3":0.01508,"17.4":0.09549,"17.5":2.63865,"17.6":3.60364,"18.0":2.66378},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.00252,"5.0-5.1":0.00126,"6.0-6.1":0.00755,"7.0-7.1":0.00881,"8.1-8.4":0,"9.0-9.2":0.00755,"9.3":0.02138,"10.0-10.2":0.00629,"10.3":0.03648,"11.0-11.2":0.1346,"11.3-11.4":0.01006,"12.0-12.1":0.00629,"12.2-12.5":0.15221,"13.0-13.1":0.00252,"13.2":0.0478,"13.3":0.00629,"13.4-13.7":0.02516,"14.0-14.4":0.05786,"14.5-14.8":0.07673,"15.0-15.1":0.04403,"15.2-15.3":0.04277,"15.4":0.04906,"15.5":0.06038,"15.6-15.8":0.59751,"16.0":0.12076,"16.1":0.23901,"16.2":0.1195,"16.3":0.20127,"16.4":0.04277,"16.5":0.08428,"16.6-16.7":0.71953,"17.0":0.06038,"17.1":0.0956,"17.2":0.0868,"17.3":0.12453,"17.4":0.26668,"17.5":1.28183,"17.6-17.7":6.82173,"18.0":0.86042,"18.1":0.039},P:{"4":0.03278,"21":0.02185,"22":0.04371,"23":0.01093,"24":0.28409,"25":0.25131,"26":2.52402,_:"20 5.0-5.4 8.2 9.2 10.1 11.1-11.2 12.0 14.0 15.0 16.0 17.0 18.0","6.2-6.4":0.02185,"7.2-7.4":0.07649,"13.0":0.01093,"19.0":0.01093},I:{"0":0.01488,"3":0,"4":0,"2.1":0,"2.2":0,"2.3":0,"4.1":0,"4.2-4.3":0.00001,"4.4":0,"4.4.3-4.4.4":0.00002},K:{"0":0.37305,_:"10 11 12 11.1 11.5 12.1"},A:{"10":0.00503,_:"6 7 8 9 11 5.5"},N:{_:"10 11"},S:{_:"2.5 3.0-3.1"},J:{_:"7 10"},O:{"0":0.04477},H:{"0":0},L:{"0":34.94719},R:{_:"0"},M:{"0":0.09451},Q:{"14.9":0.00497}}; diff --git a/node_modules/caniuse-lite/data/regions/GE.js b/node_modules/caniuse-lite/data/regions/GE.js index 5af201de07..cd14aaccac 100644 --- a/node_modules/caniuse-lite/data/regions/GE.js +++ b/node_modules/caniuse-lite/data/regions/GE.js @@ -1 +1 @@ -module.exports={C:{"38":0.00407,"52":0.0122,"68":0.01627,"78":0.04067,"88":0.01627,"100":0.00407,"103":0.00407,"107":0.00407,"110":0.00407,"113":0.00407,"115":0.27656,"118":0.0122,"119":0.00407,"123":0.00407,"124":0.01627,"125":0.4189,"126":0.33349,"127":0.00407,_:"2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 39 40 41 42 43 44 45 46 47 48 49 50 51 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 69 70 71 72 73 74 75 76 77 79 80 81 82 83 84 85 86 87 89 90 91 92 93 94 95 96 97 98 99 101 102 104 105 106 108 109 111 112 114 116 117 120 121 122 128 129 3.5 3.6"},D:{"11":0.00407,"38":0.00407,"39":0.0122,"42":0.00407,"45":0.00407,"46":0.00407,"47":0.0244,"49":0.03254,"51":0.00407,"56":0.00407,"61":0.00407,"63":0.00813,"66":0.00407,"67":0.00813,"68":0.0122,"69":0.00407,"70":0.00407,"71":0.00813,"73":0.04067,"75":0.00813,"76":0.04067,"78":0.02034,"79":0.3579,"80":0.00407,"81":0.00407,"83":0.17488,"85":0.00407,"86":0.0122,"87":0.30096,"88":0.07727,"89":0.00407,"90":0.00813,"91":0.00407,"92":0.0122,"93":0.00407,"94":0.06507,"95":0.00813,"96":0.00813,"97":0.00813,"98":0.05694,"99":0.00813,"100":0.01627,"101":0.00407,"102":0.03254,"103":0.0488,"104":0.00813,"105":0.01627,"106":0.0366,"107":0.00813,"108":0.0366,"109":4.79093,"110":0.02034,"111":0.0122,"112":0.0122,"113":0.01627,"114":0.0244,"115":0.02034,"116":0.15048,"117":0.01627,"118":0.02034,"119":0.04474,"120":0.17895,"121":0.16675,"122":0.23995,"123":0.62632,"124":16.01178,"125":6.08017,"126":0.00407,_:"4 5 6 7 8 9 10 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 40 41 43 44 48 50 52 53 54 55 57 58 59 60 62 64 65 72 74 77 84 127 128"},F:{"28":0.01627,"36":0.00407,"46":0.08947,"66":0.01627,"67":0.00407,"79":0.01627,"82":0.00407,"85":0.02034,"86":0.00813,"87":0.0122,"94":0.00813,"95":0.61818,"102":0.00407,"104":0.00407,"105":0.00407,"106":0.00813,"107":0.23995,"108":0.02847,"109":1.80168,"110":0.11794,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 29 30 31 32 33 34 35 37 38 39 40 41 42 43 44 45 47 48 49 50 51 52 53 54 55 56 57 58 60 62 63 64 65 68 69 70 71 72 73 74 75 76 77 78 80 81 83 84 88 89 90 91 92 93 96 97 98 99 100 101 103 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"12":0.00407,"13":0.01627,"14":0.02034,"15":0.00407,"16":0.0122,"18":0.0244,"92":0.00813,"98":0.00407,"103":0.00407,"108":0.00407,"109":0.0122,"110":0.00407,"111":0.00407,"112":0.00407,"113":0.00407,"114":0.00813,"115":0.00407,"116":0.04474,"117":0.00407,"118":0.00813,"119":0.02034,"120":0.04067,"121":0.05287,"122":0.04474,"123":0.15455,"124":1.96029,"125":0.89881,_:"17 79 80 81 83 84 85 86 87 88 89 90 91 93 94 95 96 97 99 100 101 102 104 105 106 107"},E:{"9":0.00407,"14":0.00813,"15":0.00407,_:"0 4 5 6 7 8 10 11 12 13 3.1 3.2 5.1 6.1 7.1 9.1 10.1 11.1 17.6","12.1":0.00813,"13.1":0.01627,"14.1":0.06507,"15.1":0.00407,"15.2-15.3":0.00407,"15.4":0.0122,"15.5":0.0122,"15.6":0.09354,"16.0":0.02034,"16.1":0.05694,"16.2":0.01627,"16.3":0.0488,"16.4":0.01627,"16.5":0.12201,"16.6":0.10981,"17.0":0.04474,"17.1":0.04067,"17.2":0.0366,"17.3":0.0488,"17.4":0.48804,"17.5":0.07321},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.00213,"5.0-5.1":0.00213,"6.0-6.1":0.00532,"7.0-7.1":0.00744,"8.1-8.4":0.00213,"9.0-9.2":0.00532,"9.3":0.02445,"10.0-10.2":0.00425,"10.3":0.03827,"11.0-11.2":0.05635,"11.3-11.4":0.01063,"12.0-12.1":0.00638,"12.2-12.5":0.15416,"13.0-13.1":0.00319,"13.2":0.01488,"13.3":0.00744,"13.4-13.7":0.03402,"14.0-14.4":0.05848,"14.5-14.8":0.09037,"15.0-15.1":0.04359,"15.2-15.3":0.04784,"15.4":0.05422,"15.5":0.06804,"15.6-15.8":0.6124,"16.0":0.13928,"16.1":0.28706,"16.2":0.13928,"16.3":0.24134,"16.4":0.05103,"16.5":0.10313,"16.6-16.7":0.82185,"17.0":0.08931,"17.1":0.14566,"17.2":0.15204,"17.3":0.28068,"17.4":6.37385,"17.5":0.44973,"17.6":0},P:{"4":0.64076,"20":0.02136,"21":0.04272,"22":0.09611,"23":0.11747,"24":0.14951,"25":1.13202,"5.0-5.4":0.0534,"6.2-6.4":0.13883,"7.2-7.4":0.0534,_:"8.2 10.1 12.0 14.0 15.0","9.2":0.01068,"11.1-11.2":0.01068,"13.0":0.02136,"16.0":0.01068,"17.0":0.02136,"18.0":0.01068,"19.0":0.03204},I:{"0":0.15957,"3":0,"4":0.00002,"2.1":0,"2.2":0,"2.3":0,"4.1":0.00003,"4.2-4.3":0.0001,"4.4":0,"4.4.3-4.4.4":0.00035},K:{"0":0.37971,_:"10 11 12 11.1 11.5 12.1"},A:{"8":0.02034,"9":0.00407,"10":0.00407,"11":0.0244,_:"6 7 5.5"},S:{_:"2.5 3.0-3.1"},J:{_:"7 10"},N:{_:"10 11"},L:{"0":45.8008},R:{_:"0"},M:{"0":0.13646},Q:{_:"14.9"},O:{"0":0.02373},H:{"0":0}}; +module.exports={C:{"34":0.00433,"52":0.013,"61":0.013,"68":0.02167,"78":0.04766,"102":0.00433,"103":0.026,"113":0.026,"115":0.15599,"122":0.00433,"123":0.00433,"125":0.01733,"126":0.00433,"127":0.00433,"128":0.013,"129":0.19499,"130":0.81894,"131":0.00867,_:"2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 53 54 55 56 57 58 59 60 62 63 64 65 66 67 69 70 71 72 73 74 75 76 77 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 104 105 106 107 108 109 110 111 112 114 116 117 118 119 120 121 124 132 133 134 135 3.5 3.6"},D:{"38":0.00433,"39":0.00867,"47":0.00867,"49":0.013,"50":0.00867,"56":0.15166,"59":0.00433,"63":0.00433,"64":0.00433,"66":0.00433,"68":0.00867,"69":0.00433,"70":0.00433,"72":0.00867,"73":0.04333,"74":0.01733,"75":0.00433,"76":0.00867,"78":0.039,"79":0.28165,"80":0.00433,"81":0.00433,"83":0.17332,"84":0.00433,"86":0.00433,"87":0.36397,"88":0.09533,"90":0.026,"91":0.02167,"92":0.00433,"93":0.00433,"94":0.08666,"95":0.013,"97":0.00433,"98":0.03033,"99":0.00433,"100":0.03466,"101":0.00433,"102":0.01733,"103":0.039,"104":0.052,"105":0.013,"106":0.03033,"107":0.00433,"108":0.04333,"109":3.99069,"110":0.039,"111":0.013,"112":0.00433,"113":0.00433,"114":0.00867,"115":0.00867,"116":0.11699,"117":0.02167,"118":0.01733,"119":0.04333,"120":0.11699,"121":0.065,"122":0.09966,"123":0.052,"124":0.12566,"125":0.08233,"126":0.26431,"127":0.79294,"128":16.11009,"129":5.90588,"130":0.01733,_:"4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 40 41 42 43 44 45 46 48 51 52 53 54 55 57 58 60 61 62 65 67 71 77 85 89 96 131 132 133"},F:{"40":0.00433,"46":0.08666,"67":0.00433,"77":0.00433,"79":0.08233,"84":0.00867,"85":0.026,"86":0.013,"87":0.01733,"94":0.00433,"95":0.37697,"102":0.00433,"109":0.03033,"111":0.013,"112":1.31723,"113":0.75828,"114":0.01733,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 41 42 43 44 45 47 48 49 50 51 52 53 54 55 56 57 58 60 62 63 64 65 66 68 69 70 71 72 73 74 75 76 78 80 81 82 83 88 89 90 91 92 93 96 97 98 99 100 101 103 104 105 106 107 108 110 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"13":0.01733,"14":0.04766,"16":0.00867,"18":0.013,"89":0.00433,"92":0.02167,"100":0.013,"109":0.03466,"110":0.039,"112":0.00433,"114":0.00433,"117":0.00433,"118":0.00433,"119":0.01733,"120":0.00433,"121":0.026,"122":0.00867,"123":0.00867,"124":0.01733,"125":0.03033,"126":0.05633,"127":0.11266,"128":5.13894,"129":0.84494,_:"12 15 17 79 80 81 83 84 85 86 87 88 90 91 93 94 95 96 97 98 99 101 102 103 104 105 106 107 108 111 113 115 116 130"},E:{"14":0.00433,"15":0.00433,_:"0 4 5 6 7 8 9 10 11 12 13 3.1 3.2 5.1 6.1 7.1 9.1 10.1 11.1","12.1":0.00433,"13.1":0.03033,"14.1":0.02167,"15.1":0.00433,"15.2-15.3":0.00433,"15.4":0.01733,"15.5":0.013,"15.6":0.06933,"16.0":0.00867,"16.1":0.03466,"16.2":0.013,"16.3":0.01733,"16.4":0.00867,"16.5":0.039,"16.6":0.10399,"17.0":0.013,"17.1":0.02167,"17.2":0.01733,"17.3":0.04333,"17.4":0.04766,"17.5":0.16032,"17.6":0.46796,"18.0":0.12999,"18.1":0.013},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.00213,"5.0-5.1":0.00107,"6.0-6.1":0.0064,"7.0-7.1":0.00746,"8.1-8.4":0,"9.0-9.2":0.0064,"9.3":0.01812,"10.0-10.2":0.00533,"10.3":0.03092,"11.0-11.2":0.11408,"11.3-11.4":0.00853,"12.0-12.1":0.00533,"12.2-12.5":0.129,"13.0-13.1":0.00213,"13.2":0.04051,"13.3":0.00533,"13.4-13.7":0.02132,"14.0-14.4":0.04904,"14.5-14.8":0.06504,"15.0-15.1":0.03732,"15.2-15.3":0.03625,"15.4":0.04158,"15.5":0.05118,"15.6-15.8":0.50642,"16.0":0.10235,"16.1":0.20257,"16.2":0.10128,"16.3":0.17058,"16.4":0.03625,"16.5":0.07143,"16.6-16.7":0.60984,"17.0":0.05118,"17.1":0.08103,"17.2":0.07356,"17.3":0.10555,"17.4":0.22602,"17.5":1.08641,"17.6-17.7":5.78174,"18.0":0.72925,"18.1":0.03305},P:{"4":0.70523,"20":0.01069,"21":0.03206,"22":0.06411,"23":0.03206,"24":0.0748,"25":0.2137,"26":1.45319,"5.0-5.4":0.04274,"6.2-6.4":0.10685,"7.2-7.4":0.06411,_:"8.2 9.2 10.1 12.0 14.0 15.0","11.1-11.2":0.03206,"13.0":0.01069,"16.0":0.01069,"17.0":0.01069,"18.0":0.01069,"19.0":0.01069},I:{"0":0.13001,"3":0,"4":0,"2.1":0,"2.2":0,"2.3":0,"4.1":0.00001,"4.2-4.3":0.00005,"4.4":0,"4.4.3-4.4.4":0.00021},K:{"0":0.44777,_:"10 11 12 11.1 11.5 12.1"},A:{"11":0.02167,_:"6 7 8 9 10 5.5"},N:{_:"10 11"},S:{_:"2.5 3.0-3.1"},J:{_:"7 10"},O:{"0":0.06802},H:{"0":0},L:{"0":42.69248},R:{_:"0"},M:{"0":0.13036},Q:{_:"14.9"}}; diff --git a/node_modules/caniuse-lite/data/regions/GF.js b/node_modules/caniuse-lite/data/regions/GF.js index 4d80152895..96c064d86e 100644 --- a/node_modules/caniuse-lite/data/regions/GF.js +++ b/node_modules/caniuse-lite/data/regions/GF.js @@ -1 +1 @@ -module.exports={C:{"78":0.10325,"88":0.03442,"91":0.0153,"101":0.01147,"102":0.00765,"114":0.00382,"115":0.60037,"116":0.00382,"118":0.05354,"119":0.03442,"120":0.01147,"121":0.00765,"122":0.02294,"123":0.04206,"124":0.16061,"125":2.52002,"126":1.90818,_:"2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 79 80 81 82 83 84 85 86 87 89 90 92 93 94 95 96 97 98 99 100 103 104 105 106 107 108 109 110 111 112 113 117 127 128 129 3.5 3.6"},D:{"47":0.00765,"67":0.00382,"69":0.01147,"75":0.00382,"76":0.27915,"79":0.00382,"86":0.05354,"87":0.02294,"88":0.00382,"93":0.02294,"94":0.13384,"97":0.00382,"99":0.01147,"103":0.03059,"105":0.01147,"109":0.56213,"111":0.02294,"113":0.00382,"114":0.0956,"115":0.00765,"116":0.05354,"118":0.02294,"119":0.05736,"120":0.06501,"121":0.12619,"122":0.21797,"123":0.56595,"124":12.16032,"125":4.00373,_:"4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 68 70 71 72 73 74 77 78 80 81 83 84 85 89 90 91 92 95 96 98 100 101 102 104 106 107 108 110 112 117 126 127 128"},F:{"40":0.00765,"46":0.01147,"106":0.00382,"107":0.21414,"108":0.00382,"109":0.956,"110":0.05354,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 41 42 43 44 45 47 48 49 50 51 52 53 54 55 56 57 58 60 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"16":0.00382,"17":0.00382,"83":0.01147,"92":0.11472,"100":0.01147,"103":0.00382,"108":0.01912,"109":0.10325,"111":0.00382,"112":0.00765,"114":0.0153,"115":0.00382,"116":0.00382,"117":0.01147,"119":0.03059,"120":0.06883,"121":0.03442,"122":0.03059,"123":0.16826,"124":6.09546,"125":2.54678,_:"12 13 14 15 18 79 80 81 84 85 86 87 88 89 90 91 93 94 95 96 97 98 99 101 102 104 105 106 107 110 113 118"},E:{"14":0.02294,_:"0 4 5 6 7 8 9 10 11 12 13 15 3.1 3.2 5.1 6.1 7.1 9.1 10.1 11.1 12.1 17.6","13.1":0.04589,"14.1":0.14914,"15.1":0.03059,"15.2-15.3":0.00382,"15.4":0.09178,"15.5":0.0153,"15.6":0.19502,"16.0":0.06118,"16.1":0.0956,"16.2":0.0153,"16.3":0.06118,"16.4":0.02294,"16.5":0.05736,"16.6":0.23326,"17.0":0.0153,"17.1":0.09178,"17.2":0.07266,"17.3":0.11854,"17.4":0.95218,"17.5":0.15296},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.00296,"5.0-5.1":0.00296,"6.0-6.1":0.0074,"7.0-7.1":0.01036,"8.1-8.4":0.00296,"9.0-9.2":0.0074,"9.3":0.03403,"10.0-10.2":0.00592,"10.3":0.05326,"11.0-11.2":0.07841,"11.3-11.4":0.01479,"12.0-12.1":0.00888,"12.2-12.5":0.21451,"13.0-13.1":0.00444,"13.2":0.02071,"13.3":0.01036,"13.4-13.7":0.04734,"14.0-14.4":0.08137,"14.5-14.8":0.12575,"15.0-15.1":0.06066,"15.2-15.3":0.06657,"15.4":0.07545,"15.5":0.09468,"15.6-15.8":0.85213,"16.0":0.1938,"16.1":0.39944,"16.2":0.1938,"16.3":0.33582,"16.4":0.07101,"16.5":0.1435,"16.6-16.7":1.14357,"17.0":0.12427,"17.1":0.20268,"17.2":0.21155,"17.3":0.39056,"17.4":8.86895,"17.5":0.62578,"17.6":0},P:{"4":0.02096,"20":0.06288,"21":0.06288,"22":0.20959,"23":0.11528,"24":0.14672,"25":2.9448,"5.0-5.4":0.02096,_:"6.2-6.4 8.2 9.2 10.1 12.0 15.0","7.2-7.4":0.07336,"11.1-11.2":0.04192,"13.0":0.12576,"14.0":0.01048,"16.0":0.01048,"17.0":0.01048,"18.0":0.01048,"19.0":0.1048},I:{"0":0.01231,"3":0,"4":0,"2.1":0,"2.2":0,"2.3":0,"4.1":0,"4.2-4.3":0.00001,"4.4":0,"4.4.3-4.4.4":0.00003},K:{"0":0.24708,_:"10 11 12 11.1 11.5 12.1"},A:{"10":0.00382,"11":0.00382,_:"6 7 8 9 5.5"},S:{_:"2.5 3.0-3.1"},J:{_:"7 10"},N:{_:"10 11"},L:{"0":42.48985},R:{_:"0"},M:{"0":0.63005},Q:{"14.9":0.00618},O:{"0":0.01853},H:{"0":0}}; +module.exports={C:{"47":0.00385,"52":0.00385,"68":0.00385,"78":0.06923,"91":0.05384,"102":0.03461,"103":0.05,"112":0.00385,"113":0.00385,"115":1.11149,"118":0.00385,"119":0.11538,"121":0.02308,"126":0.00769,"127":0.06154,"128":0.03846,"129":0.74228,"130":2.96527,_:"2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 48 49 50 51 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 69 70 71 72 73 74 75 76 77 79 80 81 82 83 84 85 86 87 88 89 90 92 93 94 95 96 97 98 99 100 101 104 105 106 107 108 109 110 111 114 116 117 120 122 123 124 125 131 132 133 134 135 3.5 3.6"},D:{"38":0.00385,"47":0.00385,"56":0.01154,"73":0.00769,"76":0.15384,"81":0.03077,"84":0.00769,"87":0.06154,"88":0.05,"91":0.01923,"92":0.00769,"94":0.01923,"98":0.01538,"100":0.02308,"102":0.02308,"103":0.01923,"104":0.02692,"105":0.00385,"106":0.00385,"108":0.00769,"109":0.5269,"111":0.00769,"112":0.00385,"113":0.00385,"114":0.05384,"115":0.00769,"116":0.11538,"118":0.01538,"119":0.00769,"120":0.02308,"121":0.05384,"122":0.02308,"123":0.01923,"124":0.02692,"125":0.05384,"126":0.11153,"127":0.63459,"128":10.6688,"129":3.13064,_:"4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 39 40 41 42 43 44 45 46 48 49 50 51 52 53 54 55 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 74 75 77 78 79 80 83 85 86 89 90 93 95 96 97 99 101 107 110 117 130 131 132 133"},F:{"40":0.00385,"46":0.03077,"79":0.00769,"84":0.00385,"109":0.00385,"110":0.00385,"112":0.59998,"113":0.67305,"114":0.01538,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 41 42 43 44 45 47 48 49 50 51 52 53 54 55 56 57 58 60 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 80 81 82 83 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 111 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"17":0.00385,"80":0.00385,"92":0.06923,"102":0.01154,"104":0.00385,"109":0.01538,"112":0.00385,"113":0.00385,"114":0.00769,"115":0.00385,"120":0.04615,"121":0.03461,"122":0.06538,"123":0.00769,"124":0.00769,"125":0.01538,"126":0.13846,"127":0.21153,"128":7.91891,"129":3.09988,_:"12 13 14 15 16 18 79 81 83 84 85 86 87 88 89 90 91 93 94 95 96 97 98 99 100 101 103 105 106 107 108 110 111 116 117 118 119 130"},E:{"14":0.03846,"15":0.00385,_:"0 4 5 6 7 8 9 10 11 12 13 3.1 3.2 5.1 6.1 7.1 9.1 10.1 11.1 15.2-15.3","12.1":0.00769,"13.1":0.02308,"14.1":0.04231,"15.1":0.00385,"15.4":0.01154,"15.5":0.01538,"15.6":0.1423,"16.0":0.01538,"16.1":0.04231,"16.2":0.00769,"16.3":0.04231,"16.4":0.01538,"16.5":0.00769,"16.6":0.15384,"17.0":0.14999,"17.1":0.01538,"17.2":0.04231,"17.3":0.07307,"17.4":0.0923,"17.5":0.31922,"17.6":1.61147,"18.0":0.21153,"18.1":0.00769},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.00253,"5.0-5.1":0.00126,"6.0-6.1":0.00758,"7.0-7.1":0.00884,"8.1-8.4":0,"9.0-9.2":0.00758,"9.3":0.02148,"10.0-10.2":0.00632,"10.3":0.03664,"11.0-11.2":0.13519,"11.3-11.4":0.01011,"12.0-12.1":0.00632,"12.2-12.5":0.15287,"13.0-13.1":0.00253,"13.2":0.04801,"13.3":0.00632,"13.4-13.7":0.02527,"14.0-14.4":0.05812,"14.5-14.8":0.07707,"15.0-15.1":0.04422,"15.2-15.3":0.04296,"15.4":0.04927,"15.5":0.06064,"15.6-15.8":0.60012,"16.0":0.12129,"16.1":0.24005,"16.2":0.12002,"16.3":0.20215,"16.4":0.04296,"16.5":0.08465,"16.6-16.7":0.72267,"17.0":0.06064,"17.1":0.09602,"17.2":0.08718,"17.3":0.12508,"17.4":0.26784,"17.5":1.28742,"17.6-17.7":6.85151,"18.0":0.86418,"18.1":0.03917},P:{"20":0.01042,"21":0.03126,"22":0.21885,"23":0.03126,"24":0.16674,"25":0.4898,"26":4.60625,_:"4 5.0-5.4 6.2-6.4 8.2 9.2 10.1 12.0 14.0 15.0 16.0","7.2-7.4":0.07295,"11.1-11.2":0.01042,"13.0":0.03126,"17.0":0.02084,"18.0":0.01042,"19.0":0.01042},I:{"0":0.01841,"3":0,"4":0,"2.1":0,"2.2":0,"2.3":0,"4.1":0,"4.2-4.3":0.00001,"4.4":0,"4.4.3-4.4.4":0.00003},K:{"0":0.37539,_:"10 11 12 11.1 11.5 12.1"},A:{"11":0.00385,_:"6 7 8 9 10 5.5"},N:{_:"10 11"},S:{_:"2.5 3.0-3.1"},J:{_:"7 10"},O:{"0":0.03077},H:{"0":0},L:{"0":42.94102},R:{_:"0"},M:{"0":0.23385},Q:{"14.9":0.00615}}; diff --git a/node_modules/caniuse-lite/data/regions/GG.js b/node_modules/caniuse-lite/data/regions/GG.js index d55ebf3cef..063783e010 100644 --- a/node_modules/caniuse-lite/data/regions/GG.js +++ b/node_modules/caniuse-lite/data/regions/GG.js @@ -1 +1 @@ -module.exports={C:{"34":0.00388,"78":0.18605,"102":0.02326,"115":0.19768,"120":0.01163,"121":0.00388,"124":0.06202,"125":0.84884,"126":0.76745,"128":0.03488,_:"2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 103 104 105 106 107 108 109 110 111 112 113 114 116 117 118 119 122 123 127 129 3.5 3.6"},D:{"38":0.00775,"49":0.00388,"76":0.05426,"79":0.00775,"84":0.00388,"87":0.05039,"93":0.01938,"97":0.01163,"98":0.00388,"99":0.00775,"103":0.04651,"108":0.00388,"109":0.64729,"111":0.00388,"112":0.03876,"114":0.01938,"116":0.06589,"117":0.02713,"118":0.00775,"119":0.2093,"120":0.15892,"121":0.03488,"122":0.47675,"123":0.89148,"124":9.68225,"125":2.98452,_:"4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 39 40 41 42 43 44 45 46 47 48 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 77 78 80 81 83 85 86 88 89 90 91 92 94 95 96 100 101 102 104 105 106 107 110 113 115 126 127 128"},F:{"67":0.00388,"83":0.00388,"107":0.05039,"109":0.31783,"110":0.01163,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 60 62 63 64 65 66 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 108 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"109":0.01938,"110":0.01938,"114":0.00388,"119":0.02326,"121":0.00388,"122":0.03101,"123":0.21318,"124":4.43027,"125":2.08529,_:"12 13 14 15 16 17 18 79 80 81 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 111 112 113 115 116 117 118 120"},E:{"13":0.01938,"14":0.01163,"15":0.0155,_:"0 4 5 6 7 8 9 10 11 12 3.1 3.2 5.1 6.1 7.1 9.1 10.1 11.1 12.1 17.6","13.1":0.19768,"14.1":0.1124,"15.1":0.0155,"15.2-15.3":0.08915,"15.4":0.18217,"15.5":0.04651,"15.6":1.04264,"16.0":0.61628,"16.1":0.02713,"16.2":0.20155,"16.3":0.40698,"16.4":0.09302,"16.5":0.07752,"16.6":1.51164,"17.0":0.05426,"17.1":0.1783,"17.2":0.06202,"17.3":0.23256,"17.4":7.9303,"17.5":0.41086},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.00741,"5.0-5.1":0.00741,"6.0-6.1":0.01851,"7.0-7.1":0.02592,"8.1-8.4":0.00741,"9.0-9.2":0.01851,"9.3":0.08516,"10.0-10.2":0.01481,"10.3":0.13329,"11.0-11.2":0.19624,"11.3-11.4":0.03703,"12.0-12.1":0.02222,"12.2-12.5":0.53687,"13.0-13.1":0.01111,"13.2":0.05184,"13.3":0.02592,"13.4-13.7":0.11848,"14.0-14.4":0.20364,"14.5-14.8":0.31472,"15.0-15.1":0.15181,"15.2-15.3":0.16662,"15.4":0.18883,"15.5":0.23696,"15.6-15.8":2.13268,"16.0":0.48504,"16.1":0.99969,"16.2":0.48504,"16.3":0.84048,"16.4":0.17772,"16.5":0.35915,"16.6-16.7":2.86209,"17.0":0.31102,"17.1":0.50725,"17.2":0.52947,"17.3":0.97748,"17.4":22.19691,"17.5":1.56619,"17.6":0},P:{"4":0.03346,"20":0.01115,"21":0.01115,"22":0.01115,"23":0.01115,"24":0.76954,"25":3.56889,_:"5.0-5.4 6.2-6.4 7.2-7.4 8.2 9.2 10.1 11.1-11.2 12.0 13.0 14.0 15.0 16.0 17.0 18.0","19.0":0.01115},I:{"0":0.0061,"3":0,"4":0,"2.1":0,"2.2":0,"2.3":0,"4.1":0,"4.2-4.3":0,"4.4":0,"4.4.3-4.4.4":0.00001},K:{"0":0.03062,_:"10 11 12 11.1 11.5 12.1"},A:{"11":0.03488,_:"6 7 8 9 10 5.5"},S:{_:"2.5 3.0-3.1"},J:{_:"7 10"},N:{_:"10 11"},L:{"0":18.7675},R:{_:"0"},M:{"0":0.55728},Q:{_:"14.9"},O:{"0":0.01225},H:{"0":0}}; +module.exports={C:{"52":0.00443,"78":0.0177,"100":0.00885,"102":0.00443,"103":0.00443,"115":0.11505,"129":0.2478,"130":0.6726,_:"2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 101 104 105 106 107 108 109 110 111 112 113 114 116 117 118 119 120 121 122 123 124 125 126 127 128 131 132 133 134 135 3.5 3.6"},D:{"76":0.00885,"79":0.02655,"84":0.00443,"87":0.01328,"93":0.18143,"99":0.00885,"103":0.03098,"106":0.03098,"109":0.87615,"111":0.0177,"114":0.01328,"116":0.0354,"119":0.0354,"120":0.0177,"121":0.0177,"122":0.29648,"123":0.0354,"124":0.07965,"125":0.0531,"126":0.25223,"127":1.23015,"128":12.39443,"129":3.93383,"130":0.00443,_:"4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 77 78 80 81 83 85 86 88 89 90 91 92 94 95 96 97 98 100 101 102 104 105 107 108 110 112 113 115 117 118 131 132 133"},F:{"109":0.00885,"111":0.0354,"112":0.35843,"113":0.3363,"114":0.01328,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 60 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 110 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"100":0.00443,"109":0.09735,"115":0.00443,"124":0.00443,"125":0.00443,"126":0.02213,"127":0.33188,"128":6.0357,"129":2.45588,_:"12 13 14 15 16 17 18 79 80 81 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 101 102 103 104 105 106 107 108 110 111 112 113 114 116 117 118 119 120 121 122 123 130"},E:{"13":0.00443,"14":0.02655,"15":0.06195,_:"0 4 5 6 7 8 9 10 11 12 3.1 3.2 5.1 6.1 7.1 9.1 10.1 11.1","12.1":0.00443,"13.1":0.06638,"14.1":0.09293,"15.1":0.02655,"15.2-15.3":0.00443,"15.4":0.23895,"15.5":0.07965,"15.6":0.93368,"16.0":0.07523,"16.1":0.02655,"16.2":0.19913,"16.3":0.11063,"16.4":0.04425,"16.5":0.0531,"16.6":1.77443,"17.0":0.0531,"17.1":0.07965,"17.2":0.0708,"17.3":0.07523,"17.4":0.23895,"17.5":0.88058,"17.6":7.72163,"18.0":0.27878,"18.1":0.01328},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.00692,"5.0-5.1":0.00346,"6.0-6.1":0.02077,"7.0-7.1":0.02423,"8.1-8.4":0,"9.0-9.2":0.02077,"9.3":0.05886,"10.0-10.2":0.01731,"10.3":0.1004,"11.0-11.2":0.37044,"11.3-11.4":0.0277,"12.0-12.1":0.01731,"12.2-12.5":0.41891,"13.0-13.1":0.00692,"13.2":0.13156,"13.3":0.01731,"13.4-13.7":0.06924,"14.0-14.4":0.15926,"14.5-14.8":0.21119,"15.0-15.1":0.12117,"15.2-15.3":0.11771,"15.4":0.13502,"15.5":0.16618,"15.6-15.8":1.64449,"16.0":0.33236,"16.1":0.65779,"16.2":0.3289,"16.3":0.55393,"16.4":0.11771,"16.5":0.23196,"16.6-16.7":1.98031,"17.0":0.16618,"17.1":0.26312,"17.2":0.23888,"17.3":0.34275,"17.4":0.73396,"17.5":3.52785,"17.6-17.7":18.77483,"18.0":2.36806,"18.1":0.10732},P:{"4":0.02262,"23":0.01131,"24":0.01131,"25":0.20354,"26":3.73162,_:"20 21 22 5.0-5.4 6.2-6.4 8.2 9.2 10.1 11.1-11.2 12.0 13.0 14.0 15.0 16.0 17.0 18.0 19.0","7.2-7.4":0.01131},I:{"0":0,"3":0,"4":0,"2.1":0,"2.2":0,"2.3":0,"4.1":0,"4.2-4.3":0,"4.4":0,"4.4.3-4.4.4":0},K:{"0":0.0446,_:"10 11 12 11.1 11.5 12.1"},A:{"11":0.00885,_:"6 7 8 9 10 5.5"},N:{_:"10 11"},S:{_:"2.5 3.0-3.1"},J:{_:"7 10"},O:{_:"0"},H:{"0":0},L:{"0":15.93718},R:{_:"0"},M:{"0":1.06483},Q:{_:"14.9"}}; diff --git a/node_modules/caniuse-lite/data/regions/GH.js b/node_modules/caniuse-lite/data/regions/GH.js index 8e951a1e71..f582296cf3 100644 --- a/node_modules/caniuse-lite/data/regions/GH.js +++ b/node_modules/caniuse-lite/data/regions/GH.js @@ -1 +1 @@ -module.exports={C:{"23":0.00413,"43":0.00207,"49":0.00207,"52":0.00207,"59":0.00207,"66":0.00413,"68":0.00207,"72":0.0062,"76":0.00413,"78":0.00413,"81":0.00207,"85":0.00207,"91":0.0062,"96":0.00207,"101":0.00413,"103":0.00413,"104":0.00207,"107":0.00207,"108":0.00413,"110":0.00207,"111":0.00207,"112":0.00207,"113":0.00207,"115":0.19618,"116":0.00207,"117":0.00207,"118":0.0062,"119":0.00207,"120":0.00413,"121":0.0062,"122":0.01033,"123":0.01652,"124":0.06195,"125":0.65667,"126":0.39029,"127":0.01239,_:"2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 44 45 46 47 48 50 51 53 54 55 56 57 58 60 61 62 63 64 65 67 69 70 71 73 74 75 77 79 80 82 83 84 86 87 88 89 90 92 93 94 95 97 98 99 100 102 105 106 109 114 128 129 3.5 3.6"},D:{"11":0.00413,"28":0.00207,"33":0.0062,"34":0.00207,"38":0.00207,"40":0.00207,"43":0.02065,"44":0.00207,"45":0.00207,"46":0.00207,"47":0.00207,"49":0.00413,"50":0.00207,"51":0.00413,"55":0.00207,"56":0.00207,"58":0.00207,"59":0.00207,"60":0.00207,"61":0.00207,"62":0.00207,"63":0.0062,"64":0.00826,"65":0.0062,"66":0.00207,"67":0.00207,"68":0.0062,"69":0.01446,"70":0.01859,"71":0.00207,"72":0.00207,"73":0.00413,"74":0.01033,"75":0.01446,"76":0.02685,"77":0.01446,"78":0.00413,"79":0.02478,"80":0.02065,"81":0.00826,"83":0.0062,"84":0.00413,"85":0.02065,"86":0.01239,"87":0.02478,"88":0.01446,"89":0.00826,"90":0.00826,"91":0.01033,"92":0.01239,"93":0.03304,"94":0.01239,"95":0.01652,"96":0.00413,"97":0.00413,"98":0.00413,"99":0.00826,"100":0.00207,"101":0.00207,"102":0.01446,"103":0.07434,"104":0.00826,"105":0.01859,"106":0.03717,"107":0.0062,"108":0.01446,"109":1.53843,"110":0.00413,"111":0.01239,"112":0.0062,"113":0.0062,"114":0.02065,"115":0.00826,"116":0.06608,"117":0.01652,"118":0.01239,"119":0.0475,"120":0.08054,"121":0.06815,"122":0.10945,"123":0.40268,"124":6.23837,"125":2.31074,"126":0.0062,_:"4 5 6 7 8 9 10 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 29 30 31 32 35 36 37 39 41 42 48 52 53 54 57 127 128"},F:{"17":0.00207,"18":0.00413,"31":0.00207,"34":0.00207,"36":0.00207,"42":0.00207,"44":0.00207,"79":0.03304,"82":0.00413,"83":0.00207,"84":0.00207,"85":0.00207,"86":0.00413,"87":0.0062,"90":0.0062,"94":0.00207,"95":0.06402,"102":0.00413,"105":0.00413,"106":0.00826,"107":0.05576,"108":0.04337,"109":0.80742,"110":0.06608,_:"9 11 12 15 16 19 20 21 22 23 24 25 26 27 28 29 30 32 33 35 37 38 39 40 41 43 45 46 47 48 49 50 51 52 53 54 55 56 57 58 60 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 80 81 88 89 91 92 93 96 97 98 99 100 101 103 104 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"12":0.01859,"13":0.00826,"14":0.0062,"15":0.01446,"16":0.01446,"17":0.0062,"18":0.07021,"84":0.01446,"85":0.00207,"88":0.00207,"89":0.03304,"90":0.03511,"91":0.00207,"92":0.09706,"100":0.03304,"101":0.00207,"103":0.00207,"106":0.00207,"107":0.00413,"108":0.00207,"109":0.02891,"110":0.00207,"111":0.00413,"112":0.0062,"113":0.00413,"114":0.01033,"115":0.0062,"116":0.0062,"117":0.0062,"118":0.00826,"119":0.01859,"120":0.03304,"121":0.04543,"122":0.06608,"123":0.11151,"124":1.40214,"125":0.65667,_:"79 80 81 83 86 87 93 94 95 96 97 98 99 102 104 105"},E:{"9":0.00207,"11":0.0062,"13":0.00413,"14":0.03511,"15":0.00207,_:"0 4 5 6 7 8 10 12 3.1 3.2 5.1 6.1 9.1 10.1 17.6","7.1":0.00207,"11.1":0.01033,"12.1":0.00413,"13.1":0.0413,"14.1":0.02891,"15.1":0.00207,"15.2-15.3":0.00413,"15.4":0.00207,"15.5":0.00826,"15.6":0.07021,"16.0":0.0062,"16.1":0.00826,"16.2":0.0062,"16.3":0.07434,"16.4":0.0062,"16.5":0.01033,"16.6":0.04543,"17.0":0.01239,"17.1":0.01652,"17.2":0.02065,"17.3":0.01446,"17.4":0.17966,"17.5":0.06608},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.00232,"5.0-5.1":0.00232,"6.0-6.1":0.00581,"7.0-7.1":0.00813,"8.1-8.4":0.00232,"9.0-9.2":0.00581,"9.3":0.02672,"10.0-10.2":0.00465,"10.3":0.04182,"11.0-11.2":0.06157,"11.3-11.4":0.01162,"12.0-12.1":0.00697,"12.2-12.5":0.16844,"13.0-13.1":0.00349,"13.2":0.01626,"13.3":0.00813,"13.4-13.7":0.03717,"14.0-14.4":0.06389,"14.5-14.8":0.09874,"15.0-15.1":0.04763,"15.2-15.3":0.05228,"15.4":0.05925,"15.5":0.07435,"15.6-15.8":0.66913,"16.0":0.15218,"16.1":0.31365,"16.2":0.15218,"16.3":0.2637,"16.4":0.05576,"16.5":0.11268,"16.6-16.7":0.89798,"17.0":0.09758,"17.1":0.15915,"17.2":0.16612,"17.3":0.30668,"17.4":6.9643,"17.5":0.49139,"17.6":0},P:{"4":0.14465,"20":0.031,"21":0.09299,"22":0.20664,"23":0.14465,"24":0.27896,"25":0.56826,"5.0-5.4":0.04133,"6.2-6.4":0.02066,"7.2-7.4":0.12398,_:"8.2 10.1 12.0","9.2":0.08266,"11.1-11.2":0.06199,"13.0":0.01033,"14.0":0.02066,"15.0":0.01033,"16.0":0.02066,"17.0":0.02066,"18.0":0.01033,"19.0":0.08266},I:{"0":0.08694,"3":0,"4":0.00001,"2.1":0,"2.2":0,"2.3":0,"4.1":0.00002,"4.2-4.3":0.00005,"4.4":0,"4.4.3-4.4.4":0.00019},K:{"0":11.85788,_:"10 11 12 11.1 11.5 12.1"},A:{"7":0.00207,"8":0.00826,"9":0.00207,"10":0.0062,"11":0.02065,_:"6 5.5"},S:{"2.5":0.01587,_:"3.0-3.1"},J:{_:"7 10"},N:{_:"10 11"},L:{"0":53.10066},R:{_:"0"},M:{"0":0.34914},Q:{"14.9":0.01587},O:{"0":0.67448},H:{"0":1.83}}; +module.exports={C:{"4":0.00218,"42":0.00873,"48":0.00218,"67":0.00437,"68":0.00218,"72":0.00437,"78":0.00655,"84":0.00218,"90":0.00218,"97":0.00218,"101":0.00655,"109":0.00218,"110":0.00218,"112":0.00437,"115":0.14408,"118":0.00218,"121":0.00218,"122":0.00437,"123":0.00655,"124":0.00437,"125":0.00437,"126":0.00655,"127":0.04148,"128":0.03493,"129":0.25978,"130":0.70074,"131":0.01965,_:"2 3 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 43 44 45 46 47 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 69 70 71 73 74 75 76 77 79 80 81 82 83 85 86 87 88 89 91 92 93 94 95 96 98 99 100 102 103 104 105 106 107 108 111 113 114 116 117 119 120 132 133 134 135 3.5 3.6"},D:{"11":0.00218,"31":0.00655,"43":0.00218,"47":0.00218,"49":0.00437,"50":0.00437,"51":0.00218,"55":0.00218,"56":0.00218,"57":0.00218,"58":0.00437,"59":0.00218,"60":0.00218,"63":0.00218,"64":0.00655,"65":0.00437,"67":0.00218,"68":0.01092,"69":0.0131,"70":0.01528,"71":0.00218,"72":0.00218,"73":0.00437,"74":0.00873,"75":0.01965,"76":0.02183,"77":0.01965,"78":0.00218,"79":0.01746,"80":0.03711,"81":0.00437,"83":0.01528,"84":0.00655,"85":0.0131,"86":0.00437,"87":0.02401,"88":0.01092,"89":0.00218,"90":0.00873,"91":0.00655,"92":0.00437,"93":0.03711,"94":0.01528,"95":0.01092,"96":0.00218,"97":0.00655,"98":0.00437,"99":0.00873,"100":0.00218,"101":0.00218,"102":0.01092,"103":0.07859,"104":0.00218,"105":0.01528,"106":0.01746,"107":0.00655,"108":0.01965,"109":1.2072,"110":0.00655,"111":0.00655,"112":0.00437,"113":0.00437,"114":0.01965,"115":0.00655,"116":0.06331,"117":0.01092,"118":0.02838,"119":0.04584,"120":0.04584,"121":0.01528,"122":0.04584,"123":0.04584,"124":0.06986,"125":0.05021,"126":0.20084,"127":0.57413,"128":6.56428,"129":1.99745,"130":0.00655,_:"4 5 6 7 8 9 10 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 32 33 34 35 36 37 38 39 40 41 42 44 45 46 48 52 53 54 61 62 66 131 132 133"},F:{"20":0.00218,"34":0.00218,"42":0.00437,"47":0.00218,"54":0.00218,"79":0.01965,"83":0.0262,"84":0.04366,"85":0.00218,"86":0.00218,"90":0.00218,"95":0.06767,"99":0.00218,"102":0.00437,"106":0.00218,"107":0.00218,"108":0.00655,"109":0.00655,"110":0.00437,"111":0.00655,"112":0.61561,"113":0.33837,"114":0.01092,_:"9 11 12 15 16 17 18 19 21 22 23 24 25 26 27 28 29 30 31 32 33 35 36 37 38 39 40 41 43 44 45 46 48 49 50 51 52 53 55 56 57 58 60 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 80 81 82 87 88 89 91 92 93 94 96 97 98 100 101 103 104 105 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"12":0.01528,"13":0.00437,"14":0.01092,"15":0.00873,"16":0.00873,"17":0.01528,"18":0.10478,"80":0.00218,"84":0.01528,"85":0.00437,"89":0.03275,"90":0.07641,"92":0.17027,"98":0.00218,"100":0.04803,"103":0.00437,"107":0.00437,"108":0.00437,"109":0.06331,"110":0.00218,"111":0.00655,"112":0.00655,"113":0.00218,"114":0.01528,"115":0.00437,"116":0.00218,"117":0.00437,"118":0.00437,"119":0.01528,"120":0.01965,"121":0.00873,"122":0.01528,"123":0.0131,"124":0.02838,"125":0.03056,"126":0.11133,"127":0.24886,"128":2.03892,"129":0.64617,"130":0.00437,_:"79 81 83 86 87 88 91 93 94 95 96 97 99 101 102 104 105 106"},E:{"11":0.01092,"13":0.00218,"14":0.00655,"15":0.00218,_:"0 4 5 6 7 8 9 10 12 3.1 3.2 5.1 6.1 9.1 10.1","7.1":0.00218,"11.1":0.01092,"12.1":0.00437,"13.1":0.03929,"14.1":0.05676,"15.1":0.00218,"15.2-15.3":0.00437,"15.4":0.00437,"15.5":0.00437,"15.6":0.09824,"16.0":0.00437,"16.1":0.00437,"16.2":0.00655,"16.3":0.00873,"16.4":0.00218,"16.5":0.00655,"16.6":0.05894,"17.0":0.01092,"17.1":0.0131,"17.2":0.0131,"17.3":0.01092,"17.4":0.04148,"17.5":0.08295,"17.6":0.19865,"18.0":0.05894,"18.1":0.00218},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.00238,"5.0-5.1":0.00119,"6.0-6.1":0.00713,"7.0-7.1":0.00832,"8.1-8.4":0,"9.0-9.2":0.00713,"9.3":0.0202,"10.0-10.2":0.00594,"10.3":0.03446,"11.0-11.2":0.12714,"11.3-11.4":0.00951,"12.0-12.1":0.00594,"12.2-12.5":0.14377,"13.0-13.1":0.00238,"13.2":0.04515,"13.3":0.00594,"13.4-13.7":0.02376,"14.0-14.4":0.05466,"14.5-14.8":0.07248,"15.0-15.1":0.04159,"15.2-15.3":0.0404,"15.4":0.04634,"15.5":0.05703,"15.6-15.8":0.56439,"16.0":0.11407,"16.1":0.22575,"16.2":0.11288,"16.3":0.19011,"16.4":0.0404,"16.5":0.07961,"16.6-16.7":0.67964,"17.0":0.05703,"17.1":0.0903,"17.2":0.08198,"17.3":0.11763,"17.4":0.2519,"17.5":1.21076,"17.6-17.7":6.44352,"18.0":0.81272,"18.1":0.03683},P:{"4":0.16609,"20":0.02076,"21":0.0519,"22":0.20761,"23":0.0519,"24":0.17647,"25":0.24914,"26":0.65398,"5.0-5.4":0.0519,"6.2-6.4":0.01038,"7.2-7.4":0.11419,_:"8.2 10.1 12.0 15.0","9.2":0.03114,"11.1-11.2":0.03114,"13.0":0.01038,"14.0":0.01038,"16.0":0.02076,"17.0":0.01038,"18.0":0.01038,"19.0":0.0519},I:{"0":0.05457,"3":0,"4":0,"2.1":0,"2.2":0,"2.3":0,"4.1":0.00001,"4.2-4.3":0.00002,"4.4":0,"4.4.3-4.4.4":0.00009},K:{"0":10.46775,_:"10 11 12 11.1 11.5 12.1"},A:{"8":0.00243,"10":0.00243,"11":0.01698,_:"6 7 9 5.5"},N:{_:"10 11"},S:{"2.5":0.01563,_:"3.0-3.1"},J:{_:"7 10"},O:{"0":0.62536},H:{"0":0.82},L:{"0":54.49763},R:{_:"0"},M:{"0":0.25796},Q:{"14.9":0.01563}}; diff --git a/node_modules/caniuse-lite/data/regions/GI.js b/node_modules/caniuse-lite/data/regions/GI.js index 17ab5de1ac..bf3d1ac41a 100644 --- a/node_modules/caniuse-lite/data/regions/GI.js +++ b/node_modules/caniuse-lite/data/regions/GI.js @@ -1 +1 @@ -module.exports={C:{"52":0.00477,"56":0.00954,"65":0.00477,"78":0.00477,"102":0.00477,"105":0.01431,"106":0.01908,"107":0.01908,"108":0.03338,"109":0.02385,"110":0.02861,"111":0.01431,"115":0.02861,"121":0.00954,"122":0.00477,"123":0.00477,"124":0.02385,"125":0.77258,"126":0.75827,_:"2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 53 54 55 57 58 59 60 61 62 63 64 66 67 68 69 70 71 72 73 74 75 76 77 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 103 104 112 113 114 116 117 118 119 120 127 128 129 3.5 3.6"},D:{"48":0.00477,"67":0.00477,"78":0.00477,"86":0.00477,"95":0.00477,"97":0.00477,"102":0.01431,"103":0.39106,"104":0.01908,"106":0.5532,"107":0.14307,"108":0.80119,"109":1.23517,"110":0.28614,"111":0.17168,"112":0.59613,"113":0.00954,"115":0.22891,"116":0.38629,"117":0.10492,"118":0.03815,"119":0.04292,"120":0.20507,"121":0.02385,"122":0.44352,"123":1.44978,"124":16.18122,"125":6.88167,_:"4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 68 69 70 71 72 73 74 75 76 77 79 80 81 83 84 85 87 88 89 90 91 92 93 94 96 98 99 100 101 105 114 126 127 128"},F:{"94":0.00477,"107":0.09061,"108":0.20507,"109":0.89657,"110":0.03815,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 60 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 95 96 97 98 99 100 101 102 103 104 105 106 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"109":0.00954,"110":0.00477,"111":0.41013,"116":0.00477,"120":0.00954,"121":0.04769,"122":0.03338,"123":0.20984,"124":4.42563,"125":2.40835,_:"12 13 14 15 16 17 18 79 80 81 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 112 113 114 115 117 118 119"},E:{"14":0.12876,"15":0.00954,_:"0 4 5 6 7 8 9 10 11 12 13 3.1 3.2 5.1 6.1 7.1 9.1 10.1 17.6","11.1":0.00477,"12.1":0.00477,"13.1":0.35768,"14.1":0.16692,"15.1":0.00477,"15.2-15.3":0.01908,"15.4":0.00477,"15.5":0.04769,"15.6":0.30522,"16.0":0.07154,"16.1":0.1383,"16.2":0.05246,"16.3":0.11923,"16.4":0.09061,"16.5":0.15261,"16.6":0.77258,"17.0":0.00477,"17.1":0.31952,"17.2":0.15738,"17.3":0.2003,"17.4":2.89001,"17.5":0.17168},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.00494,"5.0-5.1":0.00494,"6.0-6.1":0.01235,"7.0-7.1":0.01728,"8.1-8.4":0.00494,"9.0-9.2":0.01235,"9.3":0.05679,"10.0-10.2":0.00988,"10.3":0.08889,"11.0-11.2":0.13086,"11.3-11.4":0.02469,"12.0-12.1":0.01481,"12.2-12.5":0.35802,"13.0-13.1":0.00741,"13.2":0.03457,"13.3":0.01728,"13.4-13.7":0.07901,"14.0-14.4":0.1358,"14.5-14.8":0.20987,"15.0-15.1":0.10123,"15.2-15.3":0.11111,"15.4":0.12592,"15.5":0.15802,"15.6-15.8":1.42219,"16.0":0.32345,"16.1":0.66665,"16.2":0.32345,"16.3":0.56048,"16.4":0.11852,"16.5":0.2395,"16.6-16.7":1.9086,"17.0":0.2074,"17.1":0.33826,"17.2":0.35308,"17.3":0.65184,"17.4":14.80215,"17.5":1.04442,"17.6":0},P:{"4":0.13688,"20":0.01053,"22":0.0737,"23":0.03159,"24":0.31587,"25":2.56909,_:"21 5.0-5.4 6.2-6.4 7.2-7.4 8.2 9.2 10.1 11.1-11.2 13.0 14.0 15.0 16.0 17.0","12.0":0.01053,"18.0":0.01053,"19.0":0.03159},I:{"0":0.00521,"3":0,"4":0,"2.1":0,"2.2":0,"2.3":0,"4.1":0,"4.2-4.3":0,"4.4":0,"4.4.3-4.4.4":0.00001},K:{"0":0.96232,_:"10 11 12 11.1 11.5 12.1"},A:{"8":0.10571,"9":0.04027,"10":0.00503,"11":0.0302,_:"6 7 5.5"},S:{_:"2.5 3.0-3.1"},J:{_:"7 10"},N:{_:"10 11"},L:{"0":23.02987},R:{_:"0"},M:{"0":0.3661},Q:{"14.9":0.00523},O:{"0":0.10983},H:{"0":0}}; +module.exports={C:{"52":0.0295,"87":0.00983,"105":0.0295,"106":0.35402,"107":0.19668,"108":0.059,"109":0.03442,"111":0.00983,"112":0.00983,"115":0.01475,"129":0.34419,"130":1.9373,_:"2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 110 113 114 116 117 118 119 120 121 122 123 124 125 126 127 128 131 132 133 134 135 3.5 3.6"},D:{"27":0.01967,"47":0.00983,"72":0.00492,"75":0.00492,"76":0.00492,"79":0.0295,"80":0.00492,"81":0.00492,"83":0.00492,"86":0.00492,"87":0.00492,"88":0.10326,"102":0.00492,"103":0.059,"104":0.28519,"105":0.01475,"106":0.74738,"107":0.32452,"108":0.93915,"109":0.9244,"110":0.06884,"111":0.13276,"112":0.40811,"113":0.01475,"114":0.00983,"115":0.02459,"116":0.13768,"117":0.06392,"118":0.12784,"119":0.01967,"120":0.0295,"121":0.08359,"122":0.09342,"123":0.0295,"124":0.11801,"125":0.30977,"126":0.19668,"127":0.80147,"128":13.2759,"129":5.21694,"130":0.0295,_:"4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 73 74 77 78 84 85 89 90 91 92 93 94 95 96 97 98 99 100 101 131 132 133"},F:{"93":0.00492,"94":0.00492,"95":0.40811,"109":0.04425,"112":0.39828,"113":0.85064,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 60 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 96 97 98 99 100 101 102 103 104 105 106 107 108 110 111 114 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"86":0.30977,"92":0.00983,"107":0.06392,"108":0.00492,"109":0.03442,"121":0.059,"123":0.04425,"124":0.00983,"126":0.00983,"127":0.13276,"128":3.58449,"129":1.86846,"130":0.00492,_:"12 13 14 15 16 17 18 79 80 81 83 84 85 87 88 89 90 91 93 94 95 96 97 98 99 100 101 102 103 104 105 106 110 111 112 113 114 115 116 117 118 119 120 122 125"},E:{"13":0.00492,"14":0.01475,"15":0.059,_:"0 4 5 6 7 8 9 10 11 12 3.1 3.2 5.1 6.1 7.1 9.1 10.1 11.1 12.1 15.1 15.4 18.1","13.1":0.2016,"14.1":0.11801,"15.2-15.3":0.03934,"15.5":0.03934,"15.6":0.19176,"16.0":0.01475,"16.1":0.18685,"16.2":0.04425,"16.3":0.07867,"16.4":0.08359,"16.5":0.08851,"16.6":0.89489,"17.0":0.0295,"17.1":0.08359,"17.2":0.15734,"17.3":0.06392,"17.4":0.32452,"17.5":0.53595,"17.6":8.8506,"18.0":0.29994},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.0042,"5.0-5.1":0.0021,"6.0-6.1":0.01261,"7.0-7.1":0.01471,"8.1-8.4":0,"9.0-9.2":0.01261,"9.3":0.03572,"10.0-10.2":0.01051,"10.3":0.06094,"11.0-11.2":0.22484,"11.3-11.4":0.01681,"12.0-12.1":0.01051,"12.2-12.5":0.25426,"13.0-13.1":0.0042,"13.2":0.07985,"13.3":0.01051,"13.4-13.7":0.04203,"14.0-14.4":0.09666,"14.5-14.8":0.12818,"15.0-15.1":0.07355,"15.2-15.3":0.07144,"15.4":0.08195,"15.5":0.10086,"15.6-15.8":0.99812,"16.0":0.20173,"16.1":0.39925,"16.2":0.19962,"16.3":0.33621,"16.4":0.07144,"16.5":0.14079,"16.6-16.7":1.20195,"17.0":0.10086,"17.1":0.1597,"17.2":0.14499,"17.3":0.20803,"17.4":0.44548,"17.5":2.14124,"17.6-17.7":11.39542,"18.0":1.4373,"18.1":0.06514},P:{"4":0.34971,"20":0.02119,"22":0.0106,"23":0.16956,"24":0.03179,"25":0.34971,"26":2.93543,_:"21 5.0-5.4 6.2-6.4 7.2-7.4 8.2 10.1 11.1-11.2 12.0 14.0 15.0 18.0","9.2":0.0106,"13.0":0.0106,"16.0":0.18015,"17.0":0.0106,"19.0":0.03179},I:{"0":0.01014,"3":0,"4":0,"2.1":0,"2.2":0,"2.3":0,"4.1":0,"4.2-4.3":0,"4.4":0,"4.4.3-4.4.4":0.00002},K:{"0":0.17791,_:"10 11 12 11.1 11.5 12.1"},A:{"8":0.31723,"9":0.08751,"11":0.08204,_:"6 7 10 5.5"},N:{_:"10 11"},S:{_:"2.5 3.0-3.1"},J:{_:"7 10"},O:{"0":0.21349},H:{"0":0},L:{"0":24.8906},R:{_:"0"},M:{"0":0.40156},Q:{_:"14.9"}}; diff --git a/node_modules/caniuse-lite/data/regions/GL.js b/node_modules/caniuse-lite/data/regions/GL.js index 8c1f19f4df..d729ac6363 100644 --- a/node_modules/caniuse-lite/data/regions/GL.js +++ b/node_modules/caniuse-lite/data/regions/GL.js @@ -1 +1 @@ -module.exports={C:{"2":0.01554,"3":0.02331,"4":0.0272,"5":0.01166,"6":0.00389,"8":0.00777,"9":0.00777,"10":0.00777,"11":0.01166,"12":0.00389,"13":0.01554,"14":0.00389,"15":0.00777,"16":0.01554,"17":0.02331,"19":0.00777,"20":0.00389,"21":0.00777,"22":0.00389,"23":0.00777,"24":0.01554,"26":0.00777,"27":0.00389,"28":0.00389,"29":0.0272,"30":0.00777,"31":0.00389,"32":0.01166,"33":0.00777,"34":0.01554,"35":0.03108,"36":0.01166,"38":0.04274,"39":0.03108,"40":0.03108,"41":0.01943,"42":0.00777,"43":0.00777,"44":0.00389,"48":0.00389,"52":0.01166,"115":0.09324,"116":0.00389,"120":0.05439,"121":0.04274,"123":0.05051,"125":0.92463,"126":0.74592,_:"7 18 25 37 45 46 47 49 50 51 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 117 118 119 122 124 127 128 129","3.5":0.0272,"3.6":0.05439},D:{"4":0.00777,"6":0.00389,"7":0.00777,"8":0.00389,"9":0.00389,"10":0.00777,"11":0.00777,"12":0.01166,"14":0.00389,"15":0.01166,"16":0.00389,"17":0.01554,"19":0.0272,"20":0.00389,"21":0.04274,"22":0.00777,"23":0.01166,"24":0.01166,"25":0.00389,"26":0.00777,"27":0.01554,"28":0.00777,"29":0.00389,"30":0.01554,"31":0.03497,"32":0.01166,"33":0.02331,"34":0.01166,"35":0.01166,"36":0.03497,"37":0.04274,"38":0.01554,"39":0.03885,"40":0.04662,"41":0.06993,"42":0.0272,"43":0.08159,"44":0.16706,"45":0.16317,"46":0.13598,"47":0.05828,"49":0.01166,"51":0.14763,"53":0.00777,"61":0.00389,"70":0.06216,"79":0.01166,"80":0.00389,"88":0.01554,"90":0.00389,"97":0.01166,"103":0.00389,"105":0.01554,"106":0.00777,"107":0.03497,"109":0.50117,"112":0.00777,"114":0.01166,"116":2.68842,"117":0.04274,"120":0.00777,"121":0.15929,"122":0.20202,"123":0.38073,"124":8.91219,"125":3.09246,_:"5 13 18 48 50 52 54 55 56 57 58 59 60 62 63 64 65 66 67 68 69 71 72 73 74 75 76 77 78 81 83 84 85 86 87 89 91 92 93 94 95 96 98 99 100 101 102 104 108 110 111 113 115 118 119 126 127 128"},F:{"12":0.00389,"20":0.00777,"24":0.00389,"25":0.00389,"26":0.00389,"28":0.00389,"31":0.05439,"32":0.01166,"33":0.01554,"89":0.00389,"107":2.32712,"108":0.00389,"109":3.66356,"110":0.02331,_:"9 11 15 16 17 18 19 21 22 23 27 29 30 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 60 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 10.0-10.1 10.5 10.6 11.6","9.5-9.6":0.00777,"11.1":0.00777,"11.5":0.00389,"12.1":0.06216},B:{"12":0.03108,"105":0.00389,"106":0.00389,"107":0.00389,"109":0.01166,"110":0.00389,"111":0.00389,"116":0.00389,"121":0.11655,"122":0.17871,"123":0.02331,"124":2.39705,"125":1.09169,_:"13 14 15 16 17 18 79 80 81 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 108 112 113 114 115 117 118 119 120"},E:{"4":0.01166,"5":0.01943,"7":0.01166,"8":0.05439,"9":0.31857,"13":0.00389,"14":0.01166,_:"0 6 10 11 12 15 3.1 10.1 11.1 12.1 17.6","3.2":0.00389,"5.1":0.0272,"6.1":0.01166,"7.1":0.01943,"9.1":0.00389,"13.1":0.0272,"14.1":0.12432,"15.1":0.1049,"15.2-15.3":0.05051,"15.4":0.03497,"15.5":0.01166,"15.6":0.15929,"16.0":0.01166,"16.1":0.00777,"16.2":0.13209,"16.3":0.03497,"16.4":0.05051,"16.5":0.1554,"16.6":0.58664,"17.0":0.00389,"17.1":0.13598,"17.2":0.65657,"17.3":0.11267,"17.4":1.92308,"17.5":0.35742},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.00486,"5.0-5.1":0.00486,"6.0-6.1":0.01216,"7.0-7.1":0.01702,"8.1-8.4":0.00486,"9.0-9.2":0.01216,"9.3":0.05593,"10.0-10.2":0.00973,"10.3":0.08754,"11.0-11.2":0.12888,"11.3-11.4":0.02432,"12.0-12.1":0.01459,"12.2-12.5":0.3526,"13.0-13.1":0.0073,"13.2":0.03404,"13.3":0.01702,"13.4-13.7":0.07782,"14.0-14.4":0.13374,"14.5-14.8":0.2067,"15.0-15.1":0.0997,"15.2-15.3":0.10943,"15.4":0.12402,"15.5":0.15563,"15.6-15.8":1.40067,"16.0":0.31856,"16.1":0.65656,"16.2":0.31856,"16.3":0.552,"16.4":0.11672,"16.5":0.23588,"16.6-16.7":1.87972,"17.0":0.20426,"17.1":0.33315,"17.2":0.34774,"17.3":0.64197,"17.4":14.57817,"17.5":1.02862,"17.6":0},P:{"4":0.18411,"21":0.02166,"22":0.01083,"23":0.06498,"24":0.12996,"25":7.4943,_:"20 5.0-5.4 7.2-7.4 8.2 9.2 10.1 11.1-11.2 12.0 13.0 14.0 15.0 16.0 17.0 18.0 19.0","6.2-6.4":0.22743},I:{"0":1.65097,"3":0,"4":0.00017,"2.1":0,"2.2":0,"2.3":0,"4.1":0.00033,"4.2-4.3":0.00099,"4.4":0,"4.4.3-4.4.4":0.00365},K:{"0":0.23687,_:"10 11 12 11.1 11.5 12.1"},A:{"6":0.06641,"7":0.06641,"8":0.98442,"9":0.16407,"10":0.1836,"11":0.58206,"5.5":0.00781},S:{"2.5":0.06116,_:"3.0-3.1"},J:{_:"7 10"},N:{_:"10 11"},L:{"0":25.61238},R:{_:"0"},M:{"0":0.17736},Q:{_:"14.9"},O:{"0":0.22018},H:{"0":0.02}}; +module.exports={C:{"71":0.00423,"74":0.00423,"78":0.02538,"115":0.0846,"121":0.00423,"123":0.05499,"125":0.00423,"127":0.02961,"128":0.00846,"129":0.43992,"130":1.50165,_:"2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 72 73 75 76 77 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 116 117 118 119 120 122 124 126 131 132 133 134 135 3.5 3.6"},D:{"49":0.05499,"50":0.00423,"72":0.00846,"75":0.00423,"81":0.03807,"83":0.00423,"86":0.00423,"87":0.00423,"88":0.01692,"89":0.03807,"93":0.00423,"100":0.00846,"103":0.00423,"107":0.02538,"108":0.00423,"109":0.15651,"111":0.00423,"114":0.00423,"115":0.00423,"116":4.55994,"117":0.00423,"119":0.0423,"120":0.02538,"121":0.01269,"122":0.05076,"123":0.00846,"124":0.03807,"125":0.10998,"126":0.21573,"127":0.56259,"128":12.63501,"129":5.46516,_:"4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 73 74 76 77 78 79 80 84 85 90 91 92 94 95 96 97 98 99 101 102 104 105 106 110 112 113 118 130 131 132 133"},F:{"36":0.00423,"40":0.00423,"73":0.00423,"74":0.00423,"95":0.00423,"102":0.00423,"109":0.00423,"112":0.5499,"113":0.36801,"114":0.02538,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 37 38 39 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 60 62 63 64 65 66 67 68 69 70 71 72 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 96 97 98 99 100 101 103 104 105 106 107 108 110 111 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"81":0.00423,"92":0.02961,"95":0.00423,"105":0.00423,"107":0.02538,"108":0.00846,"109":0.03807,"110":0.02115,"114":0.00423,"116":0.00423,"121":0.0846,"122":0.18612,"124":0.00423,"125":0.06768,"126":0.02538,"127":0.12267,"128":3.35439,"129":1.90773,_:"12 13 14 15 16 17 18 79 80 83 84 85 86 87 88 89 90 91 93 94 96 97 98 99 100 101 102 103 104 106 111 112 113 115 117 118 119 120 123 130"},E:{"9":0.00423,"14":0.05076,_:"0 4 5 6 7 8 10 11 12 13 15 3.1 3.2 5.1 6.1 7.1 9.1 10.1 11.1 15.5","12.1":0.00423,"13.1":0.01692,"14.1":0.03384,"15.1":0.22842,"15.2-15.3":0.11844,"15.4":0.00423,"15.6":0.21996,"16.0":0.05499,"16.1":0.05922,"16.2":0.06345,"16.3":0.13536,"16.4":0.00846,"16.5":0.03384,"16.6":0.5499,"17.0":0.03807,"17.1":0.14382,"17.2":0.01692,"17.3":0.05076,"17.4":0.5922,"17.5":1.97964,"17.6":2.64798,"18.0":0.24111,"18.1":0.00846},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.00454,"5.0-5.1":0.00227,"6.0-6.1":0.01363,"7.0-7.1":0.0159,"8.1-8.4":0,"9.0-9.2":0.01363,"9.3":0.03861,"10.0-10.2":0.01136,"10.3":0.06587,"11.0-11.2":0.24305,"11.3-11.4":0.01817,"12.0-12.1":0.01136,"12.2-12.5":0.27485,"13.0-13.1":0.00454,"13.2":0.08632,"13.3":0.01136,"13.4-13.7":0.04543,"14.0-14.4":0.10449,"14.5-14.8":0.13856,"15.0-15.1":0.0795,"15.2-15.3":0.07723,"15.4":0.08859,"15.5":0.10903,"15.6-15.8":1.07895,"16.0":0.21806,"16.1":0.43158,"16.2":0.21579,"16.3":0.36343,"16.4":0.07723,"16.5":0.15219,"16.6-16.7":1.29928,"17.0":0.10903,"17.1":0.17263,"17.2":0.15673,"17.3":0.22488,"17.4":0.48155,"17.5":2.31462,"17.6-17.7":12.31816,"18.0":1.55368,"18.1":0.07042},P:{"4":0.29992,"21":0.01034,"22":0.02068,"24":0.03103,"25":0.13445,"26":8.17014,_:"20 23 8.2 9.2 10.1 11.1-11.2 12.0 14.0 15.0 16.0 17.0 18.0 19.0","5.0-5.4":0.07239,"6.2-6.4":0.02068,"7.2-7.4":0.04137,"13.0":0.02068},I:{"0":0.04029,"3":0,"4":0,"2.1":0,"2.2":0,"2.3":0,"4.1":0,"4.2-4.3":0.00002,"4.4":0,"4.4.3-4.4.4":0.00006},K:{"0":1.07918,_:"10 11 12 11.1 11.5 12.1"},A:{"11":0.01692,_:"6 7 8 9 10 5.5"},N:{_:"10 11"},S:{_:"2.5 3.0-3.1"},J:{_:"7 10"},O:{"0":0.00577},H:{"0":0},L:{"0":24.50436},R:{_:"0"},M:{"0":0.34626},Q:{_:"14.9"}}; diff --git a/node_modules/caniuse-lite/data/regions/GM.js b/node_modules/caniuse-lite/data/regions/GM.js index 08434d3664..99278bf2b3 100644 --- a/node_modules/caniuse-lite/data/regions/GM.js +++ b/node_modules/caniuse-lite/data/regions/GM.js @@ -1 +1 @@ -module.exports={C:{"34":0.00254,"72":0.00127,"83":0.00127,"109":0.00127,"113":0.00381,"115":0.09144,"120":0.00127,"122":0.00254,"123":0.00127,"124":0.00508,"125":0.20955,"126":0.33147,"127":0.00127,_:"2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 73 74 75 76 77 78 79 80 81 82 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 110 111 112 114 116 117 118 119 121 128 129 3.5 3.6"},D:{"33":0.00127,"34":0.00127,"49":0.00127,"53":0.00127,"54":0.00254,"57":0.00254,"58":0.00381,"60":0.00254,"63":0.01651,"64":0.00254,"65":0.00127,"68":0.00381,"69":0.02032,"70":0.00508,"71":0.00635,"72":0.00381,"73":0.00127,"74":0.00635,"75":0.00381,"76":0.00254,"77":0.00381,"78":0.00381,"79":0.01905,"80":0.00508,"81":0.00508,"83":0.00508,"84":0.00381,"85":0.00508,"86":0.00635,"87":0.00635,"88":0.00635,"89":0.00508,"90":0.02286,"91":0.00127,"93":0.00254,"94":0.00127,"95":0.00381,"98":0.00508,"99":0.00127,"100":0.00127,"102":0.01524,"103":0.01651,"104":0.00127,"105":0.00635,"106":0.02794,"107":0.00762,"108":0.00127,"109":2.17551,"111":0.00254,"112":0.00127,"114":0.00254,"116":0.01143,"117":0.00127,"118":0.00127,"119":0.01651,"120":0.03937,"121":0.02921,"122":0.01905,"123":0.15367,"124":2.58191,"125":0.95885,"126":0.00127,"127":0.00127,_:"4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 35 36 37 38 39 40 41 42 43 44 45 46 47 48 50 51 52 55 56 59 61 62 66 67 92 96 97 101 110 113 115 128"},F:{"46":0.00762,"54":0.00127,"55":0.00127,"76":0.00254,"79":0.00254,"93":0.02032,"95":0.00381,"107":0.00127,"108":0.01778,"109":0.26416,"110":0.00635,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 47 48 49 50 51 52 53 56 57 58 60 62 63 64 65 66 67 68 69 70 71 72 73 74 75 77 78 80 81 82 83 84 85 86 87 88 89 90 91 92 94 96 97 98 99 100 101 102 103 104 105 106 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"12":0.00127,"14":0.00127,"15":0.00254,"16":0.00254,"17":0.00127,"18":0.00889,"80":0.00127,"81":0.00127,"83":0.00127,"84":0.00254,"85":0.00127,"86":0.00127,"87":0.00127,"89":0.00254,"90":0.00254,"92":0.01397,"96":0.00127,"100":0.00127,"109":0.00889,"110":0.00254,"112":0.00635,"117":0.00508,"118":0.00381,"119":0.00254,"120":0.03556,"121":0.06223,"122":0.00508,"123":0.03556,"124":0.4191,"125":0.19939,_:"13 79 88 91 93 94 95 97 98 99 101 102 103 104 105 106 107 108 111 113 114 115 116"},E:{"11":0.00127,"14":0.00381,"15":0.00127,_:"0 4 5 6 7 8 9 10 12 13 3.1 3.2 5.1 6.1 10.1 11.1 15.1 15.2-15.3 16.0 16.1 17.6","7.1":0.00254,"9.1":0.02032,"12.1":0.00508,"13.1":0.02032,"14.1":0.254,"15.4":0.00635,"15.5":0.00381,"15.6":0.01524,"16.2":0.01524,"16.3":0.02159,"16.4":0.00762,"16.5":0.01651,"16.6":0.0381,"17.0":0.00127,"17.1":0.06731,"17.2":0.00127,"17.3":0.00635,"17.4":0.09652,"17.5":0.00254},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.0035,"5.0-5.1":0.0035,"6.0-6.1":0.00874,"7.0-7.1":0.01224,"8.1-8.4":0.0035,"9.0-9.2":0.00874,"9.3":0.04021,"10.0-10.2":0.00699,"10.3":0.06294,"11.0-11.2":0.09267,"11.3-11.4":0.01748,"12.0-12.1":0.01049,"12.2-12.5":0.25352,"13.0-13.1":0.00525,"13.2":0.02448,"13.3":0.01224,"13.4-13.7":0.05595,"14.0-14.4":0.09616,"14.5-14.8":0.14862,"15.0-15.1":0.07169,"15.2-15.3":0.07868,"15.4":0.08917,"15.5":0.1119,"15.6-15.8":1.00709,"16.0":0.22904,"16.1":0.47207,"16.2":0.22904,"16.3":0.39689,"16.4":0.08392,"16.5":0.1696,"16.6-16.7":1.35153,"17.0":0.14687,"17.1":0.23953,"17.2":0.25002,"17.3":0.46158,"17.4":10.48177,"17.5":0.73958,"17.6":0},P:{"4":0.20465,"20":0.09209,"21":0.0307,"22":0.13302,"23":0.27627,"24":0.16372,"25":0.41953,"5.0-5.4":0.02046,"6.2-6.4":0.0307,"7.2-7.4":0.20465,_:"8.2 10.1 12.0 15.0 17.0","9.2":0.01023,"11.1-11.2":0.01023,"13.0":0.06139,"14.0":0.01023,"16.0":0.10232,"18.0":0.01023,"19.0":0.06139},I:{"0":0.02608,"3":0,"4":0,"2.1":0,"2.2":0,"2.3":0,"4.1":0.00001,"4.2-4.3":0.00002,"4.4":0,"4.4.3-4.4.4":0.00006},K:{"0":0.62705,_:"10 11 12 11.1 11.5 12.1"},A:{"8":0.00127,"9":0.00127,"10":0.00127,"11":0.00381,_:"6 7 5.5"},S:{_:"2.5 3.0-3.1"},J:{_:"7 10"},N:{_:"10 11"},L:{"0":70.77511},R:{_:"0"},M:{"0":0.07856},Q:{_:"14.9"},O:{"0":0.14839},H:{"0":0.08}}; +module.exports={C:{"34":0.00804,"68":0.0008,"72":0.00161,"114":0.0008,"115":0.16241,"121":0.00241,"123":0.0008,"127":0.00482,"129":0.06834,"130":0.31436,"131":0.0008,_:"2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 69 70 71 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 116 117 118 119 120 122 124 125 126 128 132 133 134 135 3.5 3.6"},D:{"54":0.00322,"58":0.0008,"60":0.0008,"61":0.0008,"68":0.00241,"69":0.00482,"70":0.01367,"72":0.0008,"73":0.00402,"74":0.00724,"76":0.00322,"77":0.0008,"79":0.00804,"80":0.00161,"81":0.00563,"83":0.01528,"87":0.00322,"88":0.02492,"89":0.0008,"93":0.06352,"94":0.01286,"95":0.00563,"96":0.0008,"97":0.0008,"98":0.00322,"99":0.0008,"103":0.01206,"105":0.0008,"106":0.0402,"108":0.00402,"109":0.6633,"112":0.00482,"113":0.0008,"115":0.00965,"116":0.02573,"117":0.02251,"118":0.00724,"119":0.00402,"120":0.00402,"121":0.00804,"122":0.00804,"123":0.00884,"124":0.0796,"125":0.00322,"126":0.19296,"127":0.07799,"128":1.30328,"129":0.52662,"130":0.0008,_:"4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 55 56 57 59 62 63 64 65 66 67 71 75 78 84 85 86 90 91 92 100 101 102 104 107 110 111 114 131 132 133"},F:{"40":0.0008,"46":0.00322,"62":0.0008,"77":0.0008,"83":0.0008,"93":0.01528,"95":0.02171,"107":0.00241,"111":0.00241,"112":0.06834,"113":0.01688,"114":0.00241,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 41 42 43 44 45 47 48 49 50 51 52 53 54 55 56 57 58 60 63 64 65 66 67 68 69 70 71 72 73 74 75 76 78 79 80 81 82 84 85 86 87 88 89 90 91 92 94 96 97 98 99 100 101 102 103 104 105 106 108 109 110 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"12":0.0008,"14":0.0008,"16":0.0008,"18":0.01367,"90":0.00161,"92":0.00884,"97":0.0008,"100":0.0008,"109":0.00643,"110":0.00402,"118":0.0008,"119":0.0008,"120":0.00241,"121":0.0008,"122":0.0008,"123":0.0008,"124":0.01126,"125":0.0008,"126":0.00482,"127":0.11497,"128":0.28622,"129":0.20261,_:"13 15 17 79 80 81 83 84 85 86 87 88 89 91 93 94 95 96 98 99 101 102 103 104 105 106 107 108 111 112 113 114 115 116 117 130"},E:{"11":0.00161,"13":0.0008,"14":0.0193,_:"0 4 5 6 7 8 9 10 12 15 3.1 3.2 5.1 6.1 7.1 10.1 11.1 15.1 15.2-15.3 15.4 16.0 16.5 17.0 17.2 18.1","9.1":0.00161,"12.1":0.00241,"13.1":0.02492,"14.1":0.00161,"15.5":0.01769,"15.6":0.0394,"16.1":0.0008,"16.2":0.0008,"16.3":0.0008,"16.4":0.00402,"16.6":0.05708,"17.1":0.00402,"17.3":0.041,"17.4":0.01045,"17.5":0.03377,"17.6":0.04744,"18.0":0.00804},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.00386,"5.0-5.1":0.00193,"6.0-6.1":0.01158,"7.0-7.1":0.01351,"8.1-8.4":0,"9.0-9.2":0.01158,"9.3":0.03282,"10.0-10.2":0.00965,"10.3":0.05598,"11.0-11.2":0.20656,"11.3-11.4":0.01544,"12.0-12.1":0.00965,"12.2-12.5":0.23358,"13.0-13.1":0.00386,"13.2":0.07336,"13.3":0.00965,"13.4-13.7":0.03861,"14.0-14.4":0.0888,"14.5-14.8":0.11776,"15.0-15.1":0.06757,"15.2-15.3":0.06564,"15.4":0.07529,"15.5":0.09266,"15.6-15.8":0.91696,"16.0":0.18532,"16.1":0.36679,"16.2":0.18339,"16.3":0.30887,"16.4":0.06564,"16.5":0.12934,"16.6-16.7":1.10422,"17.0":0.09266,"17.1":0.14671,"17.2":0.1332,"17.3":0.19111,"17.4":0.40926,"17.5":1.96713,"17.6-17.7":10.46883,"18.0":1.32043,"18.1":0.05984},P:{"4":0.40216,"20":0.06187,"21":0.06187,"22":0.18561,"23":0.08249,"24":0.03094,"25":0.31967,"26":0.55684,"5.0-5.4":0.01031,_:"6.2-6.4 8.2 10.1 12.0 15.0","7.2-7.4":0.12374,"9.2":0.03094,"11.1-11.2":0.03094,"13.0":0.05156,"14.0":0.01031,"16.0":0.02062,"17.0":0.02062,"18.0":0.01031,"19.0":0.03094},I:{"0":0.00917,"3":0,"4":0,"2.1":0,"2.2":0,"2.3":0,"4.1":0,"4.2-4.3":0,"4.4":0,"4.4.3-4.4.4":0.00001},K:{"0":0.36708,_:"10 11 12 11.1 11.5 12.1"},A:{"11":0.00161,_:"6 7 8 9 10 5.5"},N:{_:"10 11"},S:{"2.5":0.01839,_:"3.0-3.1"},J:{_:"7 10"},O:{"0":0.11036},H:{"0":0.01},L:{"0":73.14834},R:{_:"0"},M:{"0":0.0092},Q:{_:"14.9"}}; diff --git a/node_modules/caniuse-lite/data/regions/GN.js b/node_modules/caniuse-lite/data/regions/GN.js index 2475b8b364..e9dbc672c5 100644 --- a/node_modules/caniuse-lite/data/regions/GN.js +++ b/node_modules/caniuse-lite/data/regions/GN.js @@ -1 +1 @@ -module.exports={C:{"34":0.00129,"35":0.00129,"46":0.00129,"49":0.00129,"64":0.00129,"72":0.00129,"78":0.00259,"109":0.00129,"111":0.00129,"115":0.01681,"119":0.00129,"123":0.00129,"124":0.00129,"125":0.12801,"126":0.08922,_:"2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 36 37 38 39 40 41 42 43 44 45 47 48 50 51 52 53 54 55 56 57 58 59 60 61 62 63 65 66 67 68 69 70 71 73 74 75 76 77 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 110 112 113 114 116 117 118 120 121 122 127 128 129 3.5 3.6"},D:{"19":0.00259,"34":0.00129,"48":0.00129,"54":0.00129,"55":0.00129,"58":0.00129,"59":0.00129,"68":0.00259,"69":0.00129,"70":0.00129,"74":0.00129,"78":0.00129,"79":0.00129,"81":0.02586,"86":0.00129,"87":0.00776,"88":0.00259,"91":0.00129,"94":0.00517,"95":0.00129,"97":0.00129,"99":0.01293,"102":0.00129,"103":0.02457,"105":0.00259,"106":0.00259,"108":0.00129,"109":0.07887,"110":0.00129,"111":0.00129,"112":0.00388,"114":0.00517,"115":0.00259,"116":0.00647,"117":0.00259,"118":0.00129,"119":0.02586,"120":0.0194,"121":0.00776,"122":0.02198,"123":0.0931,"124":1.05121,"125":0.36075,_:"4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 20 21 22 23 24 25 26 27 28 29 30 31 32 33 35 36 37 38 39 40 41 42 43 44 45 46 47 49 50 51 52 53 56 57 60 61 62 63 64 65 66 67 71 72 73 75 76 77 80 83 84 85 89 90 92 93 96 98 100 101 104 107 113 126 127 128"},F:{"42":0.00129,"95":0.00129,"102":0.00129,"108":0.00259,"109":0.08017,"110":0.00776,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 60 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 96 97 98 99 100 101 103 104 105 106 107 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"12":0.00517,"14":0.00129,"17":0.00129,"18":0.04008,"84":0.00129,"89":0.00129,"90":0.00129,"92":0.00517,"100":0.00259,"103":0.00647,"114":0.00259,"119":0.00129,"120":0.00388,"121":0.00517,"122":0.00259,"123":0.01034,"124":0.37626,"125":0.12154,_:"13 15 16 79 80 81 83 85 86 87 88 91 93 94 95 96 97 98 99 101 102 104 105 106 107 108 109 110 111 112 113 115 116 117 118"},E:{"11":0.00129,"12":0.00129,"14":0.00388,_:"0 4 5 6 7 8 9 10 13 15 3.1 3.2 5.1 6.1 7.1 9.1 10.1 11.1 12.1 15.1 15.2-15.3 15.5 16.0 16.2 16.4 17.3 17.6","13.1":0.02845,"14.1":0.00388,"15.4":0.00129,"15.6":0.02198,"16.1":0.00129,"16.3":0.00129,"16.5":0.00129,"16.6":0.00129,"17.0":0.00259,"17.1":0.00259,"17.2":0.00388,"17.4":0.01552,"17.5":0.00776},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.0018,"5.0-5.1":0.0018,"6.0-6.1":0.00451,"7.0-7.1":0.00631,"8.1-8.4":0.0018,"9.0-9.2":0.00451,"9.3":0.02073,"10.0-10.2":0.0036,"10.3":0.03244,"11.0-11.2":0.04776,"11.3-11.4":0.00901,"12.0-12.1":0.00541,"12.2-12.5":0.13067,"13.0-13.1":0.0027,"13.2":0.01262,"13.3":0.00631,"13.4-13.7":0.02884,"14.0-14.4":0.04956,"14.5-14.8":0.0766,"15.0-15.1":0.03695,"15.2-15.3":0.04055,"15.4":0.04596,"15.5":0.05768,"15.6-15.8":0.51908,"16.0":0.11805,"16.1":0.24332,"16.2":0.11805,"16.3":0.20457,"16.4":0.04326,"16.5":0.08741,"16.6-16.7":0.69661,"17.0":0.0757,"17.1":0.12346,"17.2":0.12887,"17.3":0.23791,"17.4":5.40254,"17.5":0.3812,"17.6":0},P:{"4":0.06069,"20":0.05057,"21":0.34389,"22":0.78893,"23":0.35401,"24":0.36412,"25":0.42481,"5.0-5.4":0.01011,"6.2-6.4":0.02023,"7.2-7.4":0.24275,"8.2":0.01011,"9.2":0.0708,_:"10.1 12.0","11.1-11.2":0.04046,"13.0":0.08092,"14.0":0.02023,"15.0":0.02023,"16.0":0.1416,"17.0":0.02023,"18.0":0.05057,"19.0":0.57652},I:{"0":0.01735,"3":0,"4":0,"2.1":0,"2.2":0,"2.3":0,"4.1":0,"4.2-4.3":0.00001,"4.4":0,"4.4.3-4.4.4":0.00004},K:{"0":1.21529,_:"10 11 12 11.1 11.5 12.1"},A:{"11":0.00647,_:"6 7 8 9 10 5.5"},S:{"2.5":0.10448,_:"3.0-3.1"},J:{_:"7 10"},N:{_:"10 11"},L:{"0":81.28341},R:{_:"0"},M:{"0":0.00871},Q:{"14.9":0.01741},O:{"0":0.19155},H:{"0":1.51}}; +module.exports={C:{"72":0.00136,"78":0.00136,"111":0.00815,"115":0.00679,"124":0.00136,"127":0.00407,"128":0.00136,"129":0.03531,"130":0.13173,_:"2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 73 74 75 76 77 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 112 113 114 116 117 118 119 120 121 122 123 125 126 131 132 133 134 135 3.5 3.6"},D:{"59":0.00136,"60":0.00136,"63":0.00136,"68":0.00679,"69":0.00136,"70":0.00272,"74":0.00136,"76":0.00136,"77":0.00272,"78":0.00136,"79":0.01494,"80":0.00136,"81":0.09642,"83":0.00136,"87":0.00272,"88":0.00136,"89":0.00136,"93":0.00407,"94":0.00136,"95":0.01765,"97":0.00136,"99":0.00272,"101":0.00136,"103":0.00543,"105":0.00136,"106":0.00951,"107":0.00136,"108":0.00136,"109":0.02037,"111":0.00407,"112":0.00272,"113":0.00136,"114":0.00136,"115":0.00136,"116":0.01086,"117":0.00272,"118":0.00407,"119":0.01222,"120":0.00272,"121":0.00136,"122":0.00407,"123":0.00951,"124":0.00679,"125":0.00407,"126":0.09099,"127":0.12222,"128":0.94381,"129":0.35308,_:"4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 61 62 64 65 66 67 71 72 73 75 84 85 86 90 91 92 96 98 100 102 104 110 130 131 132 133"},F:{"79":0.00136,"83":0.00272,"95":0.00272,"111":0.00136,"112":0.07741,"113":0.04753,"114":0.00136,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 60 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 80 81 82 84 85 86 87 88 89 90 91 92 93 94 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"12":0.02037,"17":0.00136,"18":0.01086,"84":0.00136,"89":0.00136,"90":0.00136,"91":0.00136,"92":0.00815,"100":0.00136,"109":0.00136,"112":0.00136,"114":0.00136,"119":0.00136,"120":0.00679,"121":0.00136,"125":0.00543,"126":0.02309,"127":0.00543,"128":0.26209,"129":0.11136,_:"13 14 15 16 79 80 81 83 85 86 87 88 93 94 95 96 97 98 99 101 102 103 104 105 106 107 108 110 111 113 115 116 117 118 122 123 124 130"},E:{"13":0.00136,"14":0.00136,_:"0 4 5 6 7 8 9 10 11 12 15 3.1 3.2 5.1 6.1 7.1 9.1 10.1 11.1 15.1 15.2-15.3 15.4 15.5 16.0 16.1 16.2 16.3 16.5 17.0 17.2 18.1","12.1":0.00136,"13.1":0.00136,"14.1":0.00543,"15.6":0.01901,"16.4":0.00815,"16.6":0.00136,"17.1":0.00272,"17.3":0.00136,"17.4":0.00407,"17.5":0.00272,"17.6":0.0163,"18.0":0.00136},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.00195,"5.0-5.1":0.00097,"6.0-6.1":0.00584,"7.0-7.1":0.00682,"8.1-8.4":0,"9.0-9.2":0.00584,"9.3":0.01656,"10.0-10.2":0.00487,"10.3":0.02824,"11.0-11.2":0.1042,"11.3-11.4":0.00779,"12.0-12.1":0.00487,"12.2-12.5":0.11783,"13.0-13.1":0.00195,"13.2":0.03701,"13.3":0.00487,"13.4-13.7":0.01948,"14.0-14.4":0.0448,"14.5-14.8":0.0594,"15.0-15.1":0.03408,"15.2-15.3":0.03311,"15.4":0.03798,"15.5":0.04674,"15.6-15.8":0.46257,"16.0":0.09349,"16.1":0.18503,"16.2":0.09251,"16.3":0.15581,"16.4":0.03311,"16.5":0.06525,"16.6-16.7":0.55704,"17.0":0.04674,"17.1":0.07401,"17.2":0.0672,"17.3":0.09641,"17.4":0.20645,"17.5":0.99234,"17.6-17.7":5.28114,"18.0":0.66611,"18.1":0.03019},P:{"4":0.04037,"20":0.02018,"21":0.23212,"22":0.83765,"23":0.10092,"24":0.46424,"25":0.48442,"26":0.73673,"5.0-5.4":0.02018,"6.2-6.4":0.03028,"7.2-7.4":0.30276,_:"8.2 10.1 15.0","9.2":0.12111,"11.1-11.2":0.10092,"12.0":0.01009,"13.0":0.03028,"14.0":0.01009,"16.0":0.07065,"17.0":0.02018,"18.0":0.01009,"19.0":0.32295},I:{"0":0,"3":0,"4":0,"2.1":0,"2.2":0,"2.3":0,"4.1":0,"4.2-4.3":0,"4.4":0,"4.4.3-4.4.4":0},K:{"0":0.63905,_:"10 11 12 11.1 11.5 12.1"},A:{_:"6 7 8 9 10 11 5.5"},N:{_:"10 11"},S:{"2.5":0.09505,_:"3.0-3.1"},J:{_:"7 10"},O:{"0":0.06049},H:{"0":0.13},L:{"0":82.35816},R:{_:"0"},M:{"0":0.00864},Q:{"14.9":0.03456}}; diff --git a/node_modules/caniuse-lite/data/regions/GP.js b/node_modules/caniuse-lite/data/regions/GP.js index 6b3b69ce43..b0328321fe 100644 --- a/node_modules/caniuse-lite/data/regions/GP.js +++ b/node_modules/caniuse-lite/data/regions/GP.js @@ -1 +1 @@ -module.exports={C:{"68":0.0081,"75":0.00405,"78":0.02429,"84":0.03239,"89":0.00405,"109":0.00405,"112":0.0081,"114":0.00405,"115":0.94747,"117":0.06478,"118":0.00405,"119":0.00405,"121":0.00405,"122":0.03239,"123":0.02025,"124":0.05264,"125":1.4212,"126":1.30378,"127":0.00405,_:"2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 69 70 71 72 73 74 76 77 79 80 81 82 83 85 86 87 88 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 110 111 113 116 120 128 129 3.5 3.6"},D:{"47":0.00405,"49":0.00405,"51":0.0081,"56":0.00405,"61":0.00405,"65":0.0162,"67":0.00405,"68":0.0081,"72":0.00405,"75":0.00405,"79":0.00405,"81":0.00405,"87":0.0081,"88":0.00405,"90":0.00405,"92":0.00405,"96":0.00405,"99":0.00405,"101":0.00405,"102":0.0162,"103":0.06883,"105":0.04859,"106":0.01215,"108":0.00405,"109":0.63164,"110":0.00405,"111":0.00405,"112":0.01215,"113":0.00405,"114":0.03239,"115":0.00405,"116":0.16196,"118":0.00405,"119":0.03644,"120":0.02834,"121":0.10527,"122":0.13362,"123":0.83409,"124":14.23224,"125":4.80616,"126":0.05264,_:"4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 48 50 52 53 54 55 57 58 59 60 62 63 64 66 69 70 71 73 74 76 77 78 80 83 84 85 86 89 91 93 94 95 97 98 100 104 107 117 127 128"},F:{"36":0.0162,"46":0.02834,"95":0.08098,"102":0.00405,"107":0.36846,"108":0.0081,"109":0.79765,"110":0.04049,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 37 38 39 40 41 42 43 44 45 47 48 49 50 51 52 53 54 55 56 57 58 60 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 96 97 98 99 100 101 103 104 105 106 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"14":0.0081,"17":0.0081,"18":0.00405,"92":0.00405,"97":0.00405,"100":0.01215,"101":0.00405,"105":0.00405,"107":0.02834,"109":0.03644,"111":0.00405,"112":0.00405,"114":0.00405,"115":0.00405,"116":0.00405,"117":0.01215,"118":0.10932,"119":0.0081,"120":0.02025,"121":0.08098,"122":0.02025,"123":0.1903,"124":4.15832,"125":2.12977,_:"12 13 15 16 79 80 81 83 84 85 86 87 88 89 90 91 93 94 95 96 98 99 102 103 104 106 108 110 113"},E:{"14":0.13362,"15":0.0081,_:"0 4 5 6 7 8 9 10 11 12 13 3.1 3.2 5.1 6.1 7.1 9.1 10.1 11.1 17.6","12.1":0.00405,"13.1":0.17816,"14.1":0.14172,"15.1":0.0081,"15.2-15.3":0.02025,"15.4":0.0081,"15.5":0.04454,"15.6":0.45349,"16.0":0.02834,"16.1":0.16601,"16.2":0.10123,"16.3":0.06478,"16.4":0.05669,"16.5":0.06478,"16.6":0.38466,"17.0":0.08503,"17.1":0.08908,"17.2":0.6033,"17.3":0.12957,"17.4":1.95567,"17.5":0.99605},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.00324,"5.0-5.1":0.00324,"6.0-6.1":0.00811,"7.0-7.1":0.01136,"8.1-8.4":0.00324,"9.0-9.2":0.00811,"9.3":0.03731,"10.0-10.2":0.00649,"10.3":0.0584,"11.0-11.2":0.08598,"11.3-11.4":0.01622,"12.0-12.1":0.00973,"12.2-12.5":0.23523,"13.0-13.1":0.00487,"13.2":0.02271,"13.3":0.01136,"13.4-13.7":0.05191,"14.0-14.4":0.08922,"14.5-14.8":0.13789,"15.0-15.1":0.06651,"15.2-15.3":0.073,"15.4":0.08273,"15.5":0.10382,"15.6-15.8":0.93441,"16.0":0.21251,"16.1":0.43801,"16.2":0.21251,"16.3":0.36825,"16.4":0.07787,"16.5":0.15736,"16.6-16.7":1.25399,"17.0":0.13627,"17.1":0.22225,"17.2":0.23198,"17.3":0.42827,"17.4":9.72534,"17.5":0.68621,"17.6":0},P:{"4":0.07406,"20":0.14811,"21":0.07406,"22":0.0529,"23":0.09522,"24":0.47608,"25":3.93559,_:"5.0-5.4 8.2 9.2 10.1 11.1-11.2 12.0 15.0","6.2-6.4":0.01058,"7.2-7.4":0.02116,"13.0":0.02116,"14.0":0.11638,"16.0":0.02116,"17.0":0.01058,"18.0":0.01058,"19.0":0.07406},I:{"0":0.01186,"3":0,"4":0,"2.1":0,"2.2":0,"2.3":0,"4.1":0,"4.2-4.3":0.00001,"4.4":0,"4.4.3-4.4.4":0.00003},K:{"0":0.12497,_:"10 11 12 11.1 11.5 12.1"},A:{"11":0.0081,_:"6 7 8 9 10 5.5"},S:{_:"2.5 3.0-3.1"},J:{_:"7 10"},N:{_:"10 11"},L:{"0":38.19287},R:{_:"0"},M:{"0":0.34516},Q:{_:"14.9"},O:{"0":0.00595},H:{"0":0}}; +module.exports={C:{"60":0.00848,"78":0.00848,"91":0.00424,"92":0.00424,"97":0.00424,"112":0.00424,"113":0.00424,"115":0.64024,"116":0.00424,"121":0.00424,"122":0.05088,"123":0.00424,"124":0.01272,"126":0.00424,"127":0.03392,"128":0.0212,"129":0.5724,"130":2.65848,_:"2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 79 80 81 82 83 84 85 86 87 88 89 90 93 94 95 96 98 99 100 101 102 103 104 105 106 107 108 109 110 111 114 117 118 119 120 125 131 132 133 134 135 3.5 3.6"},D:{"47":0.00424,"56":0.00424,"62":0.00424,"79":0.00848,"86":0.00848,"87":0.01696,"88":0.03816,"91":0.00424,"93":0.00424,"94":0.00848,"99":0.00424,"100":0.01696,"102":0.39432,"103":0.0424,"106":0.01696,"108":0.04664,"109":0.81408,"110":0.00848,"111":0.01272,"114":0.01272,"116":0.32648,"117":0.00424,"118":0.01272,"119":0.01272,"120":0.00424,"121":0.01272,"122":0.08056,"123":0.0424,"124":0.09328,"125":0.106,"126":0.13144,"127":0.83952,"128":13.70792,"129":4.35872,"130":0.00424,_:"4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 48 49 50 51 52 53 54 55 57 58 59 60 61 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 80 81 83 84 85 89 90 92 95 96 97 98 101 104 105 107 112 113 115 131 132 133"},F:{"36":0.00424,"40":0.00424,"46":0.02968,"84":0.16536,"88":0.00424,"95":0.0212,"102":0.00424,"109":0.00848,"111":0.00424,"112":1.16176,"113":0.3392,"114":0.0212,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 37 38 39 41 42 43 44 45 47 48 49 50 51 52 53 54 55 56 57 58 60 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 85 86 87 89 90 91 92 93 94 96 97 98 99 100 101 103 104 105 106 107 108 110 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"18":0.00424,"92":0.00424,"96":0.00424,"100":0.00424,"101":0.00424,"109":0.0424,"111":0.00424,"112":0.01696,"114":0.07632,"117":0.03816,"118":0.00424,"119":0.00424,"120":0.00848,"121":0.02968,"122":0.00848,"123":0.00424,"124":0.07632,"125":0.05936,"126":0.05936,"127":0.27136,"128":4.85904,"129":2.34896,_:"12 13 14 15 16 17 79 80 81 83 84 85 86 87 88 89 90 91 93 94 95 97 98 99 102 103 104 105 106 107 108 110 113 115 116 130"},E:{"14":0.05512,_:"0 4 5 6 7 8 9 10 11 12 13 15 3.1 3.2 5.1 6.1 7.1 9.1 10.1 11.1","12.1":0.00848,"13.1":0.0636,"14.1":0.08904,"15.1":0.01272,"15.2-15.3":0.01696,"15.4":0.01696,"15.5":0.03816,"15.6":0.34768,"16.0":0.02968,"16.1":0.13144,"16.2":0.0424,"16.3":0.05512,"16.4":0.0212,"16.5":0.05088,"16.6":0.2756,"17.0":0.22896,"17.1":0.03392,"17.2":0.14416,"17.3":0.06784,"17.4":0.13568,"17.5":0.37736,"17.6":2.87896,"18.0":0.44944,"18.1":0.00424},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.00334,"5.0-5.1":0.00167,"6.0-6.1":0.01002,"7.0-7.1":0.01169,"8.1-8.4":0,"9.0-9.2":0.01002,"9.3":0.02839,"10.0-10.2":0.00835,"10.3":0.04843,"11.0-11.2":0.1787,"11.3-11.4":0.01336,"12.0-12.1":0.00835,"12.2-12.5":0.20208,"13.0-13.1":0.00334,"13.2":0.06346,"13.3":0.00835,"13.4-13.7":0.0334,"14.0-14.4":0.07683,"14.5-14.8":0.10188,"15.0-15.1":0.05845,"15.2-15.3":0.05678,"15.4":0.06513,"15.5":0.08017,"15.6-15.8":0.7933,"16.0":0.16033,"16.1":0.31732,"16.2":0.15866,"16.3":0.26722,"16.4":0.05678,"16.5":0.1119,"16.6-16.7":0.95531,"17.0":0.08017,"17.1":0.12693,"17.2":0.11524,"17.3":0.16534,"17.4":0.35406,"17.5":1.70185,"17.6-17.7":9.05703,"18.0":1.14236,"18.1":0.05177},P:{"4":0.05226,"20":0.11497,"21":0.06271,"22":0.18814,"23":0.05226,"24":0.34492,"25":0.61667,"26":2.82207,_:"5.0-5.4 8.2 9.2 10.1 11.1-11.2 12.0 14.0 15.0 16.0 17.0","6.2-6.4":0.01045,"7.2-7.4":0.04181,"13.0":0.05226,"18.0":0.01045,"19.0":0.0209},I:{"0":0.02873,"3":0,"4":0,"2.1":0,"2.2":0,"2.3":0,"4.1":0,"4.2-4.3":0.00001,"4.4":0,"4.4.3-4.4.4":0.00005},K:{"0":0.09794,_:"10 11 12 11.1 11.5 12.1"},A:{_:"6 7 8 9 10 11 5.5"},N:{_:"10 11"},S:{"2.5":0.00576,_:"3.0-3.1"},J:{_:"7 10"},O:{"0":0.00576},H:{"0":0},L:{"0":36.40618},R:{_:"0"},M:{"0":0.45512},Q:{_:"14.9"}}; diff --git a/node_modules/caniuse-lite/data/regions/GQ.js b/node_modules/caniuse-lite/data/regions/GQ.js index 3af3e2af3f..6bb00e0089 100644 --- a/node_modules/caniuse-lite/data/regions/GQ.js +++ b/node_modules/caniuse-lite/data/regions/GQ.js @@ -1 +1 @@ -module.exports={C:{"77":0.03525,"78":0.04229,"97":0.0282,"99":0.02115,"109":0.00705,"110":0.0141,"115":0.65556,"118":0.02115,"124":0.02115,"125":1.26177,"126":1.17718,"127":0.0141,_:"2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 98 100 101 102 103 104 105 106 107 108 111 112 113 114 116 117 119 120 121 122 123 128 129 3.5 3.6"},D:{"71":0.00705,"72":0.09164,"79":0.0141,"81":0.00705,"87":0.00705,"88":0.00705,"89":0.00705,"90":0.00705,"92":0.00705,"102":0.0141,"107":0.00705,"109":1.64947,"117":0.05639,"118":0.00705,"119":0.00705,"120":0.02115,"121":0.00705,"122":0.00705,"123":0.09869,"124":6.85868,"125":2.0865,_:"4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 73 74 75 76 77 78 80 83 84 85 86 91 93 94 95 96 97 98 99 100 101 103 104 105 106 108 110 111 112 113 114 115 116 126 127 128"},F:{"56":0.00705,"95":0.03525,"109":0.41589,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 57 58 60 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 96 97 98 99 100 101 102 103 104 105 106 107 108 110 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"12":0.0141,"18":0.0141,"89":0.0141,"92":0.0282,"103":0.00705,"104":0.04934,"109":0.04229,"110":0.06344,"114":0.00705,"117":0.00705,"118":0.08459,"119":2.42486,"120":0.29606,"121":0.40179,"122":3.08746,"123":1.80454,"124":27.68847,"125":17.55201,_:"13 14 15 16 17 79 80 81 83 84 85 86 87 88 90 91 93 94 95 96 97 98 99 100 101 102 105 106 107 108 111 112 113 115 116"},E:{_:"0 4 5 6 7 8 9 10 11 12 13 14 15 3.1 3.2 5.1 6.1 7.1 9.1 10.1 11.1 12.1 13.1 14.1 15.1 15.2-15.3 15.4 15.5 16.0 16.1 16.2 16.3 16.4 16.5 17.0 17.2 17.5 17.6","15.6":0.00705,"16.6":0.00705,"17.1":0.00705,"17.3":0.00705,"17.4":0.0141},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.00107,"5.0-5.1":0.00107,"6.0-6.1":0.00268,"7.0-7.1":0.00375,"8.1-8.4":0.00107,"9.0-9.2":0.00268,"9.3":0.01231,"10.0-10.2":0.00214,"10.3":0.01926,"11.0-11.2":0.02836,"11.3-11.4":0.00535,"12.0-12.1":0.00321,"12.2-12.5":0.07758,"13.0-13.1":0.00161,"13.2":0.00749,"13.3":0.00375,"13.4-13.7":0.01712,"14.0-14.4":0.02943,"14.5-14.8":0.04548,"15.0-15.1":0.02194,"15.2-15.3":0.02408,"15.4":0.02729,"15.5":0.03424,"15.6-15.8":0.30817,"16.0":0.07009,"16.1":0.14445,"16.2":0.07009,"16.3":0.12145,"16.4":0.02568,"16.5":0.0519,"16.6-16.7":0.41357,"17.0":0.04494,"17.1":0.0733,"17.2":0.07651,"17.3":0.14124,"17.4":3.20742,"17.5":0.22631,"17.6":0},P:{"4":0.03508,"21":0.02339,"22":0.02339,"23":0.02339,"24":0.04678,"25":0.15203,_:"20 5.0-5.4 6.2-6.4 7.2-7.4 8.2 10.1 11.1-11.2 12.0 13.0 14.0 15.0 16.0 17.0 18.0 19.0","9.2":0.01169},I:{"0":0.0147,"3":0,"4":0,"2.1":0,"2.2":0,"2.3":0,"4.1":0,"4.2-4.3":0.00001,"4.4":0,"4.4.3-4.4.4":0.00003},K:{"0":0.32166,_:"10 11 12 11.1 11.5 12.1"},A:{_:"6 7 8 9 10 11 5.5"},S:{"2.5":1.03285,_:"3.0-3.1"},J:{_:"7 10"},N:{_:"10 11"},L:{"0":24.10623},R:{_:"0"},M:{"0":0.0059},Q:{"14.9":0.00295},O:{"0":0.12984},H:{"0":0}}; +module.exports={C:{"64":0.01169,"93":0.03506,"112":0.01169,"115":0.92319,"118":0.08765,"127":0.00584,"129":0.64273,"130":3.35388,_:"2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 113 114 116 117 119 120 121 122 123 124 125 126 128 131 132 133 134 135 3.5 3.6"},D:{"11":0.01753,"49":0.00584,"70":0.00584,"76":0.07596,"79":0.01169,"83":0.01169,"87":0.01753,"88":0.02922,"90":0.01753,"92":0.01753,"94":0.00584,"103":0.00584,"104":0.00584,"105":0.01753,"109":2.13854,"111":0.00584,"116":0.00584,"118":0.00584,"119":0.05843,"120":0.01169,"121":0.00584,"122":0.00584,"123":0.01169,"124":0.1227,"125":0.01169,"126":0.05843,"127":0.06427,"128":5.53332,"129":1.51918,_:"4 5 6 7 8 9 10 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 71 72 73 74 75 77 78 80 81 84 85 86 89 91 93 95 96 97 98 99 100 101 102 106 107 108 110 112 113 114 115 117 130 131 132 133"},F:{"81":0.00584,"84":0.00584,"86":0.00584,"112":0.04674,"113":0.14608,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 60 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 82 83 85 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 114 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"16":0.00584,"18":0.00584,"90":0.00584,"92":0.01169,"104":0.25125,"109":0.03506,"110":0.18113,"113":0.00584,"114":0.00584,"115":0.0818,"119":0.79465,"120":0.09349,"121":0.29215,"122":1.37311,"123":0.27462,"124":1.29715,"125":0.53171,"126":0.30968,"127":0.46744,"128":24.24261,"129":10.89135,_:"12 13 14 15 17 79 80 81 83 84 85 86 87 88 89 91 93 94 95 96 97 98 99 100 101 102 103 105 106 107 108 111 112 116 117 118 130"},E:{_:"0 4 5 6 7 8 9 10 11 12 13 14 15 3.1 3.2 5.1 6.1 7.1 9.1 10.1 11.1 13.1 14.1 15.1 15.2-15.3 15.4 15.5 15.6 16.0 16.2 16.3 16.4 17.0 17.1 17.2 17.3 18.0 18.1","12.1":0.00584,"16.1":0.00584,"16.5":0.00584,"16.6":0.00584,"17.4":0.00584,"17.5":0.00584,"17.6":0.01753},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.00159,"5.0-5.1":0.00079,"6.0-6.1":0.00477,"7.0-7.1":0.00556,"8.1-8.4":0,"9.0-9.2":0.00477,"9.3":0.0135,"10.0-10.2":0.00397,"10.3":0.02304,"11.0-11.2":0.085,"11.3-11.4":0.00636,"12.0-12.1":0.00397,"12.2-12.5":0.09612,"13.0-13.1":0.00159,"13.2":0.03019,"13.3":0.00397,"13.4-13.7":0.01589,"14.0-14.4":0.03654,"14.5-14.8":0.04846,"15.0-15.1":0.0278,"15.2-15.3":0.02701,"15.4":0.03098,"15.5":0.03813,"15.6-15.8":0.37734,"16.0":0.07626,"16.1":0.15094,"16.2":0.07547,"16.3":0.1271,"16.4":0.02701,"16.5":0.05322,"16.6-16.7":0.4544,"17.0":0.03813,"17.1":0.06037,"17.2":0.05481,"17.3":0.07865,"17.4":0.16841,"17.5":0.8095,"17.6-17.7":4.30805,"18.0":0.54337,"18.1":0.02463},P:{"4":0.04267,"20":0.01067,"21":0.01067,"22":0.01067,"23":0.25601,"24":0.02133,"25":0.032,"26":0.14934,_:"5.0-5.4 6.2-6.4 8.2 9.2 10.1 12.0 13.0 14.0 15.0 16.0 17.0 18.0","7.2-7.4":0.01067,"11.1-11.2":0.01067,"19.0":0.01067},I:{"0":0.02073,"3":0,"4":0,"2.1":0,"2.2":0,"2.3":0,"4.1":0,"4.2-4.3":0.00001,"4.4":0,"4.4.3-4.4.4":0.00003},K:{"0":0.70253,_:"10 11 12 11.1 11.5 12.1"},A:{"11":0.00584,_:"6 7 8 9 10 5.5"},N:{_:"10 11"},S:{"2.5":1.36765,_:"3.0-3.1"},J:{_:"7 10"},O:{"0":0.16212},H:{"0":0},L:{"0":32.63461},R:{_:"0"},M:{"0":0.0291},Q:{_:"14.9"}}; diff --git a/node_modules/caniuse-lite/data/regions/GR.js b/node_modules/caniuse-lite/data/regions/GR.js index 4ae9c08f03..1031bf3ab8 100644 --- a/node_modules/caniuse-lite/data/regions/GR.js +++ b/node_modules/caniuse-lite/data/regions/GR.js @@ -1 +1 @@ -module.exports={C:{"28":0.00455,"52":0.28646,"68":0.15915,"71":0.00455,"72":0.00455,"75":0.00455,"78":0.01364,"86":0.01819,"88":0.02728,"99":0.00455,"102":0.00455,"103":0.00455,"105":0.15915,"107":0.00455,"108":0.00455,"109":0.00455,"111":0.00455,"112":0.05002,"113":0.00909,"115":1.65056,"116":0.00909,"117":0.00455,"118":0.00455,"119":0.00455,"120":0.00455,"121":0.00909,"122":0.00909,"123":0.01819,"124":0.05002,"125":1.41412,"126":1.5096,"127":0.01364,_:"2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 69 70 73 74 76 77 79 80 81 82 83 84 85 87 89 90 91 92 93 94 95 96 97 98 100 101 104 106 110 114 128 129 3.5 3.6"},D:{"34":0.15005,"38":0.27737,"39":0.13641,"47":0.15005,"49":0.03638,"57":0.00455,"73":0.29556,"76":0.00455,"79":0.36376,"80":0.00455,"81":0.00909,"83":0.00455,"85":0.00909,"86":0.00909,"87":0.02274,"88":0.00909,"89":0.01819,"90":0.00455,"91":0.00909,"92":0.00455,"93":0.02728,"94":0.00455,"95":0.00909,"96":0.00455,"97":0.00455,"99":0.05911,"100":0.00455,"101":0.00909,"102":0.13186,"103":0.03638,"104":0.00909,"105":0.04092,"106":0.01819,"107":0.00909,"108":0.00909,"109":5.73377,"110":0.00909,"111":0.00455,"112":0.01364,"113":0.03183,"114":0.03638,"115":0.01364,"116":0.10458,"117":0.00455,"118":0.00909,"119":0.04547,"120":0.05456,"121":0.03638,"122":0.15915,"123":0.46379,"124":14.06387,"125":6.47493,"126":0.00455,_:"4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 35 36 37 40 41 42 43 44 45 46 48 50 51 52 53 54 55 56 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 74 75 77 78 84 98 127 128"},F:{"25":0.14096,"31":0.55019,"40":0.3774,"46":0.30465,"77":0.00909,"95":0.04092,"102":0.00455,"107":0.11368,"108":0.00909,"109":0.75935,"110":0.05456,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 26 27 28 29 30 32 33 34 35 36 37 38 39 41 42 43 44 45 47 48 49 50 51 52 53 54 55 56 57 58 60 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 96 97 98 99 100 101 103 104 105 106 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"15":0.16369,"16":0.02728,"17":0.24554,"109":0.04092,"114":0.00455,"116":0.00455,"119":0.00455,"120":0.00909,"121":0.00455,"122":0.00909,"123":0.12277,"124":2.12345,"125":1.16858,_:"12 13 14 18 79 80 81 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 110 111 112 113 115 117 118"},E:{"14":0.01364,_:"0 4 5 6 7 8 9 10 11 12 13 15 3.1 3.2 5.1 6.1 7.1 9.1 10.1 11.1 17.6","12.1":0.00909,"13.1":0.02728,"14.1":0.03183,"15.1":0.00455,"15.2-15.3":0.00455,"15.4":0.15005,"15.5":0.00909,"15.6":0.08185,"16.0":0.00909,"16.1":0.01819,"16.2":0.01364,"16.3":0.03183,"16.4":0.00909,"16.5":0.01819,"16.6":0.15915,"17.0":0.00909,"17.1":0.02274,"17.2":0.02728,"17.3":0.03183,"17.4":0.54109,"17.5":0.08185},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.00135,"5.0-5.1":0.00135,"6.0-6.1":0.00337,"7.0-7.1":0.00471,"8.1-8.4":0.00135,"9.0-9.2":0.00337,"9.3":0.01549,"10.0-10.2":0.00269,"10.3":0.02424,"11.0-11.2":0.03569,"11.3-11.4":0.00673,"12.0-12.1":0.00404,"12.2-12.5":0.09765,"13.0-13.1":0.00202,"13.2":0.00943,"13.3":0.00471,"13.4-13.7":0.02155,"14.0-14.4":0.03704,"14.5-14.8":0.05724,"15.0-15.1":0.02761,"15.2-15.3":0.03031,"15.4":0.03435,"15.5":0.0431,"15.6-15.8":0.3879,"16.0":0.08822,"16.1":0.18183,"16.2":0.08822,"16.3":0.15287,"16.4":0.03233,"16.5":0.06532,"16.6-16.7":0.52057,"17.0":0.05657,"17.1":0.09226,"17.2":0.0963,"17.3":0.17779,"17.4":4.03731,"17.5":0.28487,"17.6":0},P:{"4":0.25389,"20":0.02116,"21":0.09521,"22":0.05289,"23":0.10579,"24":0.1481,"25":1.77724,"5.0-5.4":0.01058,"6.2-6.4":0.03174,_:"7.2-7.4 10.1 12.0 15.0","8.2":0.01058,"9.2":0.05289,"11.1-11.2":0.01058,"13.0":0.01058,"14.0":0.01058,"16.0":0.01058,"17.0":0.01058,"18.0":0.01058,"19.0":0.02116},I:{"0":0.5649,"3":0,"4":0.00006,"2.1":0,"2.2":0,"2.3":0,"4.1":0.00011,"4.2-4.3":0.00034,"4.4":0,"4.4.3-4.4.4":0.00125},K:{"0":0.21357,_:"10 11 12 11.1 11.5 12.1"},A:{"8":0.00932,"11":0.18166,_:"6 7 9 10 5.5"},S:{_:"2.5 3.0-3.1"},J:{_:"7 10"},N:{_:"10 11"},L:{"0":45.14349},R:{_:"0"},M:{"0":0.31627},Q:{_:"14.9"},O:{"0":0.04908},H:{"0":0.01}}; +module.exports={C:{"31":0.00522,"33":0.00522,"34":0.00522,"35":0.00522,"36":0.00522,"37":0.00522,"38":0.00522,"39":0.00522,"40":0.01045,"52":0.26115,"68":0.19325,"78":0.01045,"86":0.03134,"88":0.02612,"102":0.00522,"103":0.00522,"105":0.30293,"108":0.00522,"112":0.03656,"113":0.00522,"114":0.00522,"115":1.49378,"118":0.01567,"120":0.01045,"122":0.00522,"123":0.01045,"124":0.01567,"125":0.05745,"126":0.02089,"127":0.02612,"128":0.02612,"129":0.63198,"130":3.44718,"131":0.01567,_:"2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 32 41 42 43 44 45 46 47 48 49 50 51 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 69 70 71 72 73 74 75 76 77 79 80 81 82 83 84 85 87 89 90 91 92 93 94 95 96 97 98 99 100 101 104 106 107 109 110 111 116 117 119 121 132 133 134 135 3.5 3.6"},D:{"31":0.00522,"33":0.00522,"34":0.00522,"36":0.00522,"37":0.00522,"38":0.01045,"39":0.00522,"40":0.01045,"41":0.01045,"42":0.01567,"43":0.02089,"44":0.03656,"45":0.01567,"46":0.00522,"47":0.19847,"49":0.03656,"57":0.0679,"68":0.37083,"69":0.00522,"73":0.36561,"74":0.00522,"76":0.01567,"78":0.00522,"79":0.0679,"80":0.00522,"81":0.00522,"86":0.01567,"87":0.02612,"88":0.10968,"89":0.01567,"90":0.00522,"91":0.00522,"93":0.00522,"94":0.00522,"95":0.01045,"96":0.00522,"98":0.07312,"99":0.02612,"100":0.00522,"101":0.01045,"102":0.15669,"103":0.08879,"104":0.01045,"105":0.03656,"106":0.00522,"107":0.01045,"108":0.01567,"109":5.61473,"110":0.01045,"111":0.00522,"112":0.01045,"113":0.03134,"114":0.05223,"115":0.01045,"116":0.10446,"117":0.00522,"118":0.01045,"119":0.04701,"120":0.0679,"121":0.03134,"122":0.15147,"123":0.07835,"124":0.14102,"125":0.05223,"126":0.15669,"127":0.73122,"128":18.98038,"129":6.36161,"130":0.00522,_:"4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 32 35 48 50 51 52 53 54 55 56 58 59 60 61 62 63 64 65 66 67 70 71 72 75 77 83 84 85 92 97 131 132 133"},F:{"31":0.50663,"36":0.00522,"40":0.55886,"46":0.36561,"77":0.01045,"84":0.01045,"95":0.03656,"104":0.00522,"109":0.01567,"111":0.00522,"112":0.84613,"113":0.39173,"114":0.00522,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 32 33 34 35 37 38 39 41 42 43 44 45 47 48 49 50 51 52 53 54 55 56 57 58 60 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 78 79 80 81 82 83 85 86 87 88 89 90 91 92 93 94 96 97 98 99 100 101 102 103 105 106 107 108 110 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"17":0.31338,"90":0.00522,"99":0.00522,"109":0.0679,"114":0.00522,"116":0.00522,"120":0.00522,"121":0.00522,"122":0.00522,"123":0.01045,"124":0.01567,"125":0.02089,"126":0.04701,"127":0.29771,"128":2.93533,"129":1.03415,_:"12 13 14 15 16 18 79 80 81 83 84 85 86 87 88 89 91 92 93 94 95 96 97 98 100 101 102 103 104 105 106 107 108 110 111 112 113 115 117 118 119 130"},E:{"7":0.00522,"8":0.00522,"14":0.01045,_:"0 4 5 6 9 10 11 12 13 15 3.1 3.2 5.1 6.1 9.1 10.1 11.1","7.1":0.00522,"12.1":0.01045,"13.1":0.02612,"14.1":0.04701,"15.1":0.00522,"15.2-15.3":0.00522,"15.4":0.17236,"15.5":0.01045,"15.6":0.10968,"16.0":0.01045,"16.1":0.01567,"16.2":0.01567,"16.3":0.02612,"16.4":0.01045,"16.5":0.02612,"16.6":0.15147,"17.0":0.00522,"17.1":0.02612,"17.2":0.01567,"17.3":0.02089,"17.4":0.0679,"17.5":0.15669,"17.6":0.81479,"18.0":0.1358,"18.1":0.00522},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.00168,"5.0-5.1":0.00084,"6.0-6.1":0.00504,"7.0-7.1":0.00588,"8.1-8.4":0,"9.0-9.2":0.00504,"9.3":0.01429,"10.0-10.2":0.0042,"10.3":0.02437,"11.0-11.2":0.08993,"11.3-11.4":0.00672,"12.0-12.1":0.0042,"12.2-12.5":0.10169,"13.0-13.1":0.00168,"13.2":0.03194,"13.3":0.0042,"13.4-13.7":0.01681,"14.0-14.4":0.03866,"14.5-14.8":0.05127,"15.0-15.1":0.02942,"15.2-15.3":0.02858,"15.4":0.03278,"15.5":0.04034,"15.6-15.8":0.39921,"16.0":0.08068,"16.1":0.15969,"16.2":0.07984,"16.3":0.13447,"16.4":0.02858,"16.5":0.05631,"16.6-16.7":0.48074,"17.0":0.04034,"17.1":0.06387,"17.2":0.05799,"17.3":0.0832,"17.4":0.17818,"17.5":0.85642,"17.6-17.7":4.55776,"18.0":0.57487,"18.1":0.02605},P:{"4":0.25319,"20":0.01055,"21":0.07385,"22":0.05275,"23":0.03165,"24":0.05275,"25":0.15824,"26":1.6774,"5.0-5.4":0.01055,"6.2-6.4":0.01055,_:"7.2-7.4 8.2 9.2 10.1 12.0 13.0 14.0 15.0 17.0","11.1-11.2":0.01055,"16.0":0.0211,"18.0":0.01055,"19.0":0.01055},I:{"0":0.08577,"3":0,"4":0,"2.1":0,"2.2":0,"2.3":0,"4.1":0.00001,"4.2-4.3":0.00003,"4.4":0,"4.4.3-4.4.4":0.00014},K:{"0":0.25801,_:"10 11 12 11.1 11.5 12.1"},A:{"8":0.01138,"9":0.00569,"10":0.00569,"11":0.29585,_:"6 7 5.5"},N:{_:"10 11"},S:{"2.5":0.00478,_:"3.0-3.1"},J:{_:"7 10"},O:{"0":0.05256},H:{"0":0},L:{"0":36.83269},R:{_:"0"},M:{"0":0.38224},Q:{"14.9":0.00478}}; diff --git a/node_modules/caniuse-lite/data/regions/GT.js b/node_modules/caniuse-lite/data/regions/GT.js index 15cfcb9233..3546da0deb 100644 --- a/node_modules/caniuse-lite/data/regions/GT.js +++ b/node_modules/caniuse-lite/data/regions/GT.js @@ -1 +1 @@ -module.exports={C:{"52":0.00359,"78":0.00359,"96":0.00359,"113":0.00359,"115":0.10041,"120":0.00717,"121":0.00359,"122":0.00717,"123":0.00717,"124":0.01793,"125":0.60962,"126":0.55583,"127":0.00717,_:"2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 114 116 117 118 119 128 129 3.5 3.6"},D:{"49":0.00359,"75":0.00359,"76":0.00359,"78":0.03586,"79":0.05379,"80":0.00359,"83":0.00359,"86":0.00359,"87":0.01793,"88":0.00717,"91":0.02869,"93":0.01076,"94":0.00359,"97":0.00717,"99":0.00717,"100":0.00359,"101":0.00359,"102":0.01076,"103":0.05379,"104":0.00359,"105":0.00717,"106":0.00717,"107":0.00717,"108":0.01076,"109":1.6137,"110":0.00717,"111":0.02152,"112":0.01434,"113":0.00359,"114":0.01434,"115":0.01434,"116":0.1291,"117":0.00717,"118":0.00717,"119":0.11834,"120":0.06813,"121":0.06813,"122":0.20799,"123":0.48411,"124":14.79584,"125":6.26833,"126":0.00717,_:"4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 77 81 84 85 89 90 92 95 96 98 127 128"},F:{"36":0.00359,"94":0.01434,"95":0.02869,"107":0.4877,"108":0.01076,"109":1.53481,"110":0.0502,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 60 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 96 97 98 99 100 101 102 103 104 105 106 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"90":0.00359,"92":0.01076,"100":0.00359,"109":0.02869,"112":0.00359,"114":0.00717,"116":0.00359,"117":0.00717,"118":0.00359,"119":0.00359,"120":0.01076,"121":0.01434,"122":0.0251,"123":0.06455,"124":2.38469,"125":1.31248,_:"12 13 14 15 16 17 18 79 80 81 83 84 85 86 87 88 89 91 93 94 95 96 97 98 99 101 102 103 104 105 106 107 108 110 111 113 115"},E:{"14":0.00717,"15":0.00359,_:"0 4 5 6 7 8 9 10 11 12 13 3.1 3.2 6.1 7.1 9.1 10.1 11.1 17.6","5.1":0.02152,"12.1":0.00359,"13.1":0.02152,"14.1":0.03945,"15.1":0.00359,"15.2-15.3":0.00717,"15.4":0.00359,"15.5":0.0251,"15.6":0.07889,"16.0":0.00717,"16.1":0.02869,"16.2":0.03945,"16.3":0.02869,"16.4":0.01076,"16.5":0.02152,"16.6":0.1542,"17.0":0.03227,"17.1":0.04303,"17.2":0.07531,"17.3":0.06455,"17.4":0.90367,"17.5":0.18289},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.00223,"5.0-5.1":0.00223,"6.0-6.1":0.00557,"7.0-7.1":0.00779,"8.1-8.4":0.00223,"9.0-9.2":0.00557,"9.3":0.02561,"10.0-10.2":0.00445,"10.3":0.04008,"11.0-11.2":0.05901,"11.3-11.4":0.01113,"12.0-12.1":0.00668,"12.2-12.5":0.16145,"13.0-13.1":0.00334,"13.2":0.01559,"13.3":0.00779,"13.4-13.7":0.03563,"14.0-14.4":0.06124,"14.5-14.8":0.09464,"15.0-15.1":0.04565,"15.2-15.3":0.05011,"15.4":0.05679,"15.5":0.07126,"15.6-15.8":0.64136,"16.0":0.14586,"16.1":0.30064,"16.2":0.14586,"16.3":0.25276,"16.4":0.05345,"16.5":0.10801,"16.6-16.7":0.86071,"17.0":0.09353,"17.1":0.15255,"17.2":0.15923,"17.3":0.29396,"17.4":6.67526,"17.5":0.471,"17.6":0},P:{"4":0.04091,"20":0.03068,"21":0.05114,"22":0.0716,"23":0.13297,"24":0.28639,"25":2.51615,_:"5.0-5.4 6.2-6.4 8.2 9.2 10.1 12.0 15.0","7.2-7.4":0.08183,"11.1-11.2":0.0716,"13.0":0.02046,"14.0":0.02046,"16.0":0.04091,"17.0":0.01023,"18.0":0.02046,"19.0":0.05114},I:{"0":0.01917,"3":0,"4":0,"2.1":0,"2.2":0,"2.3":0,"4.1":0,"4.2-4.3":0.00001,"4.4":0,"4.4.3-4.4.4":0.00004},K:{"0":0.33353,_:"10 11 12 11.1 11.5 12.1"},A:{"11":0.00359,_:"6 7 8 9 10 5.5"},S:{_:"2.5 3.0-3.1"},J:{_:"7 10"},N:{_:"10 11"},L:{"0":50.93812},R:{_:"0"},M:{"0":0.25656},Q:{_:"14.9"},O:{"0":0.05131},H:{"0":0}}; +module.exports={C:{"52":0.00328,"78":0.00328,"88":0.01642,"101":0.00328,"106":0.00328,"115":0.09195,"118":0.00328,"120":0.00657,"121":0.00328,"124":0.00657,"125":0.00328,"126":0.00328,"127":0.0197,"128":0.00985,"129":0.19704,"130":0.89982,"131":0.01642,"132":0.00657,_:"2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 79 80 81 82 83 84 85 86 87 89 90 91 92 93 94 95 96 97 98 99 100 102 103 104 105 107 108 109 110 111 112 113 114 116 117 119 122 123 133 134 135 3.5 3.6"},D:{"38":0.00328,"74":0.00328,"76":0.00657,"78":0.02956,"79":0.0197,"81":0.00328,"85":0.00328,"86":0.01314,"87":0.02299,"88":0.00328,"91":0.01642,"93":0.01314,"94":0.00985,"95":0.00328,"97":0.00657,"99":0.00657,"100":0.00328,"101":0.00328,"102":0.00657,"103":0.04269,"104":0.00328,"105":0.01314,"106":0.00328,"107":0.00328,"108":0.00328,"109":1.0049,"110":0.00657,"111":0.00657,"112":0.00985,"113":0.00328,"114":0.01642,"115":0.00657,"116":0.1018,"117":0.00657,"118":0.00328,"119":0.01642,"120":0.03941,"121":0.02299,"122":0.10837,"123":0.02956,"124":0.24302,"125":0.05911,"126":0.12479,"127":0.53201,"128":14.63679,"129":4.68627,"130":0.00328,_:"4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 75 77 80 83 84 89 90 92 96 98 131 132 133"},F:{"84":0.01642,"94":0.00657,"95":0.01642,"102":0.00328,"107":0.00328,"109":0.05254,"110":0.00328,"111":0.00657,"112":1.04431,"113":0.6371,"114":0.00328,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 60 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 85 86 87 88 89 90 91 92 93 96 97 98 99 100 101 103 104 105 106 108 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"18":0.00328,"92":0.00657,"100":0.00657,"109":0.01314,"114":0.00328,"120":0.00328,"121":0.00657,"122":0.00328,"123":0.00657,"124":0.00657,"125":0.00985,"126":0.02956,"127":0.07882,"128":2.49912,"129":0.99177,_:"12 13 14 15 16 17 79 80 81 83 84 85 86 87 88 89 90 91 93 94 95 96 97 98 99 101 102 103 104 105 106 107 108 110 111 112 113 115 116 117 118 119 130"},E:{"14":0.00985,_:"0 4 5 6 7 8 9 10 11 12 13 15 3.1 3.2 5.1 6.1 7.1 9.1 10.1 11.1 12.1","13.1":0.04269,"14.1":0.01642,"15.1":0.00328,"15.2-15.3":0.00657,"15.4":0.00657,"15.5":0.01642,"15.6":0.08538,"16.0":0.00657,"16.1":0.01642,"16.2":0.01642,"16.3":0.02627,"16.4":0.00657,"16.5":0.01314,"16.6":0.09524,"17.0":0.02627,"17.1":0.03284,"17.2":0.0197,"17.3":0.03612,"17.4":0.05254,"17.5":0.21674,"17.6":0.93594,"18.0":0.21346,"18.1":0.00985},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.00253,"5.0-5.1":0.00127,"6.0-6.1":0.0076,"7.0-7.1":0.00887,"8.1-8.4":0,"9.0-9.2":0.0076,"9.3":0.02153,"10.0-10.2":0.00633,"10.3":0.03673,"11.0-11.2":0.13553,"11.3-11.4":0.01013,"12.0-12.1":0.00633,"12.2-12.5":0.15326,"13.0-13.1":0.00253,"13.2":0.04813,"13.3":0.00633,"13.4-13.7":0.02533,"14.0-14.4":0.05827,"14.5-14.8":0.07726,"15.0-15.1":0.04433,"15.2-15.3":0.04307,"15.4":0.0494,"15.5":0.0608,"15.6-15.8":0.60165,"16.0":0.1216,"16.1":0.24066,"16.2":0.12033,"16.3":0.20266,"16.4":0.04307,"16.5":0.08486,"16.6-16.7":0.72452,"17.0":0.0608,"17.1":0.09626,"17.2":0.0874,"17.3":0.1254,"17.4":0.26853,"17.5":1.2907,"17.6-17.7":6.86898,"18.0":0.86638,"18.1":0.03927},P:{"4":0.02065,"20":0.01032,"21":0.03097,"22":0.09291,"23":0.08258,"24":0.06194,"25":0.24775,"26":2.80789,_:"5.0-5.4 8.2 9.2 10.1 12.0 14.0 15.0 18.0","6.2-6.4":0.01032,"7.2-7.4":0.03097,"11.1-11.2":0.01032,"13.0":0.01032,"16.0":0.01032,"17.0":0.01032,"19.0":0.02065},I:{"0":0.0134,"3":0,"4":0,"2.1":0,"2.2":0,"2.3":0,"4.1":0,"4.2-4.3":0.00001,"4.4":0,"4.4.3-4.4.4":0.00002},K:{"0":0.36938,_:"10 11 12 11.1 11.5 12.1"},A:{_:"6 7 8 9 10 11 5.5"},N:{_:"10 11"},S:{_:"2.5 3.0-3.1"},J:{_:"7 10"},O:{"0":0.02686},H:{"0":0},L:{"0":52.10238},R:{_:"0"},M:{"0":0.24849},Q:{_:"14.9"}}; diff --git a/node_modules/caniuse-lite/data/regions/GU.js b/node_modules/caniuse-lite/data/regions/GU.js index c52a4bd45b..1a2ec71d51 100644 --- a/node_modules/caniuse-lite/data/regions/GU.js +++ b/node_modules/caniuse-lite/data/regions/GU.js @@ -1 +1 @@ -module.exports={C:{"78":0.03042,"108":0.00435,"115":0.23898,"122":0.00435,"123":0.00435,"124":0.01738,"125":0.75169,"126":1.15577,"127":0.00435,_:"2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 109 110 111 112 113 114 116 117 118 119 120 121 128 129 3.5 3.6"},D:{"38":0.00435,"65":0.02173,"73":0.00435,"75":0.00869,"76":0.02173,"79":0.01738,"80":0.00435,"86":0.00435,"87":0.03042,"88":0.00435,"89":0.00435,"90":0.01304,"91":0.01304,"93":0.0478,"95":0.00435,"96":0.00435,"97":0.00435,"98":0.13904,"99":0.05214,"103":0.0869,"107":0.00869,"109":0.78645,"111":0.02607,"113":0.00435,"114":0.01304,"115":0.02173,"116":0.1738,"117":0.07387,"118":0.01738,"119":0.10863,"120":0.24332,"121":0.05649,"122":0.5692,"123":0.76472,"124":13.89531,"125":4.81861,"126":0.05649,_:"4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 66 67 68 69 70 71 72 74 77 78 81 83 84 85 92 94 100 101 102 104 105 106 108 110 112 127 128"},F:{"83":0.00435,"95":0.00435,"102":0.00435,"107":0.09125,"108":0.00435,"109":0.53444,"110":0.00869,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 60 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 84 85 86 87 88 89 90 91 92 93 94 96 97 98 99 100 101 103 104 105 106 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"18":0.00869,"98":0.01738,"99":0.00869,"109":0.05649,"114":0.00435,"119":0.00869,"120":0.02173,"121":0.00869,"122":0.01738,"123":0.1347,"124":3.38476,"125":1.92049,_:"12 13 14 15 16 17 79 80 81 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 100 101 102 103 104 105 106 107 108 110 111 112 113 115 116 117 118"},E:{"14":0.08256,_:"0 4 5 6 7 8 9 10 11 12 13 15 3.1 3.2 5.1 6.1 7.1 9.1 10.1 11.1 17.6","12.1":0.00869,"13.1":0.01738,"14.1":0.20856,"15.1":0.05649,"15.2-15.3":0.06518,"15.4":0.0478,"15.5":0.16077,"15.6":0.51706,"16.0":0.04345,"16.1":0.10863,"16.2":0.27808,"16.3":0.47795,"16.4":0.07387,"16.5":0.29546,"16.6":1.34695,"17.0":0.09994,"17.1":0.40409,"17.2":0.30415,"17.3":0.37367,"17.4":5.67892,"17.5":0.9559},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.0065,"5.0-5.1":0.0065,"6.0-6.1":0.01625,"7.0-7.1":0.02275,"8.1-8.4":0.0065,"9.0-9.2":0.01625,"9.3":0.07475,"10.0-10.2":0.013,"10.3":0.117,"11.0-11.2":0.17225,"11.3-11.4":0.0325,"12.0-12.1":0.0195,"12.2-12.5":0.47124,"13.0-13.1":0.00975,"13.2":0.0455,"13.3":0.02275,"13.4-13.7":0.104,"14.0-14.4":0.17875,"14.5-14.8":0.27624,"15.0-15.1":0.13325,"15.2-15.3":0.14625,"15.4":0.16575,"15.5":0.208,"15.6-15.8":1.87196,"16.0":0.42574,"16.1":0.87748,"16.2":0.42574,"16.3":0.73774,"16.4":0.156,"16.5":0.31524,"16.6-16.7":2.5122,"17.0":0.27299,"17.1":0.44524,"17.2":0.46474,"17.3":0.85798,"17.4":19.48338,"17.5":1.37472,"17.6":0},P:{"4":0.28366,"20":0.01051,"21":0.03152,"22":0.04202,"23":0.23113,"24":0.29417,"25":3.07829,"5.0-5.4":0.02101,_:"6.2-6.4 7.2-7.4 8.2 9.2 10.1 11.1-11.2 12.0 15.0 17.0","13.0":0.01051,"14.0":0.01051,"16.0":0.01051,"18.0":0.01051,"19.0":0.02101},I:{"0":0.00563,"3":0,"4":0,"2.1":0,"2.2":0,"2.3":0,"4.1":0,"4.2-4.3":0,"4.4":0,"4.4.3-4.4.4":0.00001},K:{"0":0.04525,_:"10 11 12 11.1 11.5 12.1"},A:{"11":0.00869,_:"6 7 8 9 10 5.5"},S:{_:"2.5 3.0-3.1"},J:{_:"7 10"},N:{_:"10 11"},L:{"0":20.03104},R:{_:"0"},M:{"0":0.38461},Q:{_:"14.9"},O:{"0":0.01697},H:{"0":0}}; +module.exports={C:{"52":0.00413,"78":0.00826,"115":0.04956,"119":0.00826,"123":0.00413,"124":0.00413,"125":0.00413,"126":0.00413,"127":0.00826,"128":0.00413,"129":0.22302,"130":1.47441,_:"2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 116 117 118 120 121 122 131 132 133 134 135 3.5 3.6"},D:{"75":0.00413,"76":0.01239,"79":0.04543,"84":0.01239,"87":0.1239,"88":0.00413,"91":0.06195,"93":0.00826,"97":0.00413,"98":0.02891,"99":0.01239,"103":0.13629,"108":0.00413,"109":1.05315,"112":0.00413,"114":0.02065,"115":0.01239,"116":0.13629,"118":0.00826,"119":0.17346,"120":0.0826,"121":0.04543,"122":0.07434,"123":0.03304,"124":0.0413,"125":0.04956,"126":0.27671,"127":1.05315,"128":14.08743,"129":3.70048,"130":0.09086,_:"4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 77 78 80 81 83 85 86 89 90 92 94 95 96 100 101 102 104 105 106 107 110 111 113 117 131 132 133"},F:{"84":0.00413,"109":0.00413,"111":0.01239,"112":0.6195,"113":0.32214,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 60 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 110 114 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"18":0.01239,"91":0.00413,"99":0.00413,"109":0.05782,"114":0.00413,"121":0.06195,"124":0.00826,"125":0.01652,"126":0.03304,"127":0.09499,"128":5.00969,"129":1.66439,_:"12 13 14 15 16 17 79 80 81 83 84 85 86 87 88 89 90 92 93 94 95 96 97 98 100 101 102 103 104 105 106 107 108 110 111 112 113 115 116 117 118 119 120 122 123 130"},E:{"14":0.08673,_:"0 4 5 6 7 8 9 10 11 12 13 15 3.1 3.2 5.1 6.1 7.1 10.1 11.1 18.1","9.1":0.00413,"12.1":0.00413,"13.1":0.03717,"14.1":0.09086,"15.1":0.03717,"15.2-15.3":0.03717,"15.4":0.00413,"15.5":0.03717,"15.6":0.4956,"16.0":0.01652,"16.1":0.11564,"16.2":0.25193,"16.3":0.18585,"16.4":0.03717,"16.5":0.2065,"16.6":0.83426,"17.0":0.07847,"17.1":0.10738,"17.2":0.08673,"17.3":0.17346,"17.4":0.30562,"17.5":0.73101,"17.6":4.543,"18.0":0.21063},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.00639,"5.0-5.1":0.0032,"6.0-6.1":0.01917,"7.0-7.1":0.02237,"8.1-8.4":0,"9.0-9.2":0.01917,"9.3":0.05432,"10.0-10.2":0.01598,"10.3":0.09266,"11.0-11.2":0.34187,"11.3-11.4":0.02556,"12.0-12.1":0.01598,"12.2-12.5":0.3866,"13.0-13.1":0.00639,"13.2":0.12141,"13.3":0.01598,"13.4-13.7":0.0639,"14.0-14.4":0.14697,"14.5-14.8":0.1949,"15.0-15.1":0.11183,"15.2-15.3":0.10863,"15.4":0.12461,"15.5":0.15336,"15.6-15.8":1.51764,"16.0":0.30672,"16.1":0.60706,"16.2":0.30353,"16.3":0.51121,"16.4":0.10863,"16.5":0.21407,"16.6-16.7":1.82756,"17.0":0.15336,"17.1":0.24282,"17.2":0.22046,"17.3":0.31631,"17.4":0.67735,"17.5":3.25575,"17.6-17.7":17.32671,"18.0":2.18541,"18.1":0.09905},P:{"4":0.23245,"20":0.01057,"21":0.02113,"22":0.01057,"23":0.0317,"24":0.02113,"25":0.25358,"26":3.32829,"5.0-5.4":0.10566,_:"6.2-6.4 7.2-7.4 8.2 9.2 10.1 12.0 13.0 15.0 17.0 18.0","11.1-11.2":0.01057,"14.0":0.01057,"16.0":0.01057,"19.0":0.02113},I:{"0":0.01756,"3":0,"4":0,"2.1":0,"2.2":0,"2.3":0,"4.1":0,"4.2-4.3":0.00001,"4.4":0,"4.4.3-4.4.4":0.00003},K:{"0":0.02935,_:"10 11 12 11.1 11.5 12.1"},A:{"11":0.01652,_:"6 7 8 9 10 5.5"},N:{_:"10 11"},S:{_:"2.5 3.0-3.1"},J:{_:"7 10"},O:{"0":0.01174},H:{"0":0},L:{"0":23.14651},R:{_:"0"},M:{"0":0.31111},Q:{_:"14.9"}}; diff --git a/node_modules/caniuse-lite/data/regions/GW.js b/node_modules/caniuse-lite/data/regions/GW.js index c552b88f99..9fce814479 100644 --- a/node_modules/caniuse-lite/data/regions/GW.js +++ b/node_modules/caniuse-lite/data/regions/GW.js @@ -1 +1 @@ -module.exports={C:{"78":0.00723,"98":0.00362,"115":0.22064,"125":0.3183,"126":0.22787,_:"2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 116 117 118 119 120 121 122 123 124 127 128 129 3.5 3.6"},D:{"11":0.04702,"33":0.0217,"43":0.00362,"65":0.00362,"71":0.00362,"81":0.0217,"83":0.02532,"87":0.01809,"88":0.00362,"91":0.00362,"92":0.00362,"93":0.02894,"95":0.00362,"103":0.04702,"104":0.00362,"105":0.00362,"106":0.23872,"109":5.53763,"111":0.01447,"112":0.00362,"114":0.00362,"115":0.00362,"116":0.00723,"117":0.01085,"119":0.01809,"120":0.01809,"121":0.02894,"122":0.02532,"123":0.09766,"124":8.05506,"125":3.96785,_:"4 5 6 7 8 9 10 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 34 35 36 37 38 39 40 41 42 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 66 67 68 69 70 72 73 74 75 76 77 78 79 80 84 85 86 89 90 94 96 97 98 99 100 101 102 107 108 110 113 118 126 127 128"},F:{"34":0.00362,"40":0.02532,"95":0.00362,"108":0.00362,"109":0.30745,"110":0.05426,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 35 36 37 38 39 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 60 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 96 97 98 99 100 101 102 103 104 105 106 107 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"12":0.00362,"14":0.00362,"18":0.00362,"92":0.05426,"109":0.24957,"112":0.00723,"114":0.00362,"119":0.00723,"120":0.03979,"121":0.00723,"122":0.24957,"123":0.18808,"124":6.47443,"125":3.21913,_:"13 15 16 17 79 80 81 83 84 85 86 87 88 89 90 91 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 110 111 113 115 116 117 118"},E:{"13":0.00362,_:"0 4 5 6 7 8 9 10 11 12 14 15 3.1 3.2 5.1 6.1 7.1 9.1 10.1 11.1 12.1 13.1 14.1 15.1 15.2-15.3 15.4 15.5 16.0 16.1 16.2 16.3 16.4 16.5 16.6 17.0 17.1 17.2 17.3 17.6","15.6":0.05426,"17.4":0.00723,"17.5":0.03255},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.00105,"5.0-5.1":0.00105,"6.0-6.1":0.00263,"7.0-7.1":0.00368,"8.1-8.4":0.00105,"9.0-9.2":0.00263,"9.3":0.0121,"10.0-10.2":0.0021,"10.3":0.01894,"11.0-11.2":0.02788,"11.3-11.4":0.00526,"12.0-12.1":0.00316,"12.2-12.5":0.07628,"13.0-13.1":0.00158,"13.2":0.00736,"13.3":0.00368,"13.4-13.7":0.01683,"14.0-14.4":0.02893,"14.5-14.8":0.04471,"15.0-15.1":0.02157,"15.2-15.3":0.02367,"15.4":0.02683,"15.5":0.03367,"15.6-15.8":0.303,"16.0":0.06891,"16.1":0.14203,"16.2":0.06891,"16.3":0.11941,"16.4":0.02525,"16.5":0.05103,"16.6-16.7":0.40663,"17.0":0.04419,"17.1":0.07207,"17.2":0.07522,"17.3":0.13887,"17.4":3.15362,"17.5":0.22252,"17.6":0},P:{"4":0.42107,"21":0.08216,"22":0.04108,"23":0.05135,"24":0.06162,"25":0.09243,_:"20 5.0-5.4 6.2-6.4 8.2 9.2 10.1 11.1-11.2 12.0 13.0 14.0 15.0 17.0 18.0","7.2-7.4":0.11297,"16.0":0.01027,"19.0":0.07189},I:{"0":0.00636,"3":0,"4":0,"2.1":0,"2.2":0,"2.3":0,"4.1":0,"4.2-4.3":0,"4.4":0,"4.4.3-4.4.4":0.00001},K:{"0":0.51371,_:"10 11 12 11.1 11.5 12.1"},A:{_:"6 7 8 9 10 11 5.5"},S:{"2.5":0.65755,_:"3.0-3.1"},J:{_:"7 10"},N:{_:"10 11"},L:{"0":62.35067},R:{_:"0"},M:{_:"0"},Q:{_:"14.9"},O:{"0":0.0383},H:{"0":0.08}}; +module.exports={C:{"29":0.0027,"34":0.00811,"115":0.10546,"127":0.0027,"128":0.01622,"129":0.03245,"130":0.1352,_:"2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 30 31 32 33 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 116 117 118 119 120 121 122 123 124 125 126 131 132 133 134 135 3.5 3.6"},D:{"49":0.00541,"64":0.00811,"65":0.00811,"68":0.0027,"69":0.00541,"79":0.02704,"81":0.00541,"83":0.03245,"87":0.0027,"88":0.01352,"89":0.0027,"95":0.0027,"99":0.01352,"103":0.08112,"106":0.14602,"109":3.63418,"111":0.0027,"116":0.0027,"118":0.0027,"119":0.03245,"120":0.0027,"121":0.0027,"122":0.00541,"123":0.00541,"124":0.0027,"125":0.01082,"126":0.03245,"127":0.16765,"128":6.64102,"129":1.92254,_:"4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 50 51 52 53 54 55 56 57 58 59 60 61 62 63 66 67 70 71 72 73 74 75 76 77 78 80 84 85 86 90 91 92 93 94 96 97 98 100 101 102 104 105 107 108 110 112 113 114 115 117 130 131 132 133"},F:{"79":0.00811,"112":0.04326,"113":0.03786,"114":0.0027,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 60 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"14":0.01082,"18":0.0027,"90":0.0027,"92":0.01622,"108":0.01622,"109":0.18117,"112":0.0027,"114":0.01352,"117":0.0703,"119":0.0027,"120":0.00811,"121":0.0027,"122":0.26499,"123":0.01352,"125":0.02704,"126":0.37045,"127":0.37315,"128":4.1263,"129":1.61158,_:"12 13 15 16 17 79 80 81 83 84 85 86 87 88 89 91 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 110 111 113 115 116 118 124 130"},E:{_:"0 4 5 6 7 8 9 10 11 12 13 14 15 3.1 3.2 5.1 6.1 9.1 10.1 11.1 12.1 13.1 14.1 15.1 15.2-15.3 15.4 15.5 16.0 16.1 16.2 16.3 16.4 16.5 17.0 17.1 17.3 17.4 18.1","7.1":0.0027,"15.6":0.32448,"16.6":0.02704,"17.2":0.00541,"17.5":0.00541,"17.6":0.05408,"18.0":0.02974},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.00111,"5.0-5.1":0.00055,"6.0-6.1":0.00332,"7.0-7.1":0.00388,"8.1-8.4":0,"9.0-9.2":0.00332,"9.3":0.00941,"10.0-10.2":0.00277,"10.3":0.01606,"11.0-11.2":0.05925,"11.3-11.4":0.00443,"12.0-12.1":0.00277,"12.2-12.5":0.06701,"13.0-13.1":0.00111,"13.2":0.02104,"13.3":0.00277,"13.4-13.7":0.01108,"14.0-14.4":0.02547,"14.5-14.8":0.03378,"15.0-15.1":0.01938,"15.2-15.3":0.01883,"15.4":0.0216,"15.5":0.02658,"15.6-15.8":0.26304,"16.0":0.05316,"16.1":0.10522,"16.2":0.05261,"16.3":0.0886,"16.4":0.01883,"16.5":0.0371,"16.6-16.7":0.31675,"17.0":0.02658,"17.1":0.04209,"17.2":0.03821,"17.3":0.05482,"17.4":0.1174,"17.5":0.56429,"17.6-17.7":3.00308,"18.0":0.37878,"18.1":0.01717},P:{"4":0.09232,"20":0.01026,"21":0.04103,"22":0.43083,"23":0.02052,"24":0.02052,"25":0.0718,"26":0.22567,_:"5.0-5.4 8.2 10.1 11.1-11.2 12.0 14.0 15.0 16.0 17.0 18.0","6.2-6.4":0.0718,"7.2-7.4":0.02052,"9.2":0.01026,"13.0":0.01026,"19.0":0.01026},I:{"0":0,"3":0,"4":0,"2.1":0,"2.2":0,"2.3":0,"4.1":0,"4.2-4.3":0,"4.4":0,"4.4.3-4.4.4":0},K:{"0":0.27184,_:"10 11 12 11.1 11.5 12.1"},A:{"11":0.0027,_:"6 7 8 9 10 5.5"},N:{_:"10 11"},S:{"2.5":0.3721,_:"3.0-3.1"},J:{_:"7 10"},O:{"0":0.01459},H:{"0":0.02},L:{"0":71.84779},R:{_:"0"},M:{"0":0.0073},Q:{_:"14.9"}}; diff --git a/node_modules/caniuse-lite/data/regions/GY.js b/node_modules/caniuse-lite/data/regions/GY.js index 3ca4366ff3..356c8fbfeb 100644 --- a/node_modules/caniuse-lite/data/regions/GY.js +++ b/node_modules/caniuse-lite/data/regions/GY.js @@ -1 +1 @@ -module.exports={C:{"51":0.0028,"72":0.0028,"110":0.0028,"115":0.05031,"122":0.00839,"124":0.00839,"125":0.21522,"126":0.20124,_:"2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 111 112 113 114 116 117 118 119 120 121 123 127 128 129 3.5 3.6"},D:{"11":0.01118,"45":0.0028,"55":0.0028,"57":0.0028,"62":0.0028,"63":0.01118,"65":0.01118,"67":0.00559,"68":0.0028,"69":0.12857,"70":0.00559,"73":0.00839,"75":0.00839,"76":0.02236,"79":0.06149,"81":0.0028,"83":0.01118,"84":0.0028,"86":0.04193,"87":0.04752,"88":0.02516,"89":0.00839,"90":0.00559,"91":0.00559,"93":0.04472,"94":0.00839,"97":0.0028,"98":0.02795,"99":0.0028,"101":0.0028,"102":0.0028,"103":0.06708,"105":0.05311,"106":0.00559,"107":0.01118,"108":0.01118,"109":0.26553,"110":0.02516,"111":0.01118,"112":0.01118,"113":0.0028,"114":0.06429,"115":0.00559,"116":0.08106,"117":0.00839,"118":0.01398,"119":0.07267,"120":0.03913,"121":0.04752,"122":0.35497,"123":0.59534,"124":9.83561,"125":3.82915,"126":0.01398,"127":0.00559,_:"4 5 6 7 8 9 10 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 46 47 48 49 50 51 52 53 54 56 58 59 60 61 64 66 71 72 74 77 78 80 85 92 95 96 100 104 128"},F:{"84":0.0028,"95":0.00839,"107":0.59254,"108":0.01118,"109":1.29409,"110":0.08665,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 60 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 85 86 87 88 89 90 91 92 93 94 96 97 98 99 100 101 102 103 104 105 106 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"17":0.0028,"18":0.0028,"92":0.00839,"96":0.0028,"100":0.00559,"109":0.01677,"114":0.01118,"115":0.0028,"116":0.00839,"118":0.0028,"119":0.00559,"120":0.01118,"121":0.01957,"122":0.04472,"123":0.1118,"124":3.16394,"125":2.14097,_:"12 13 14 15 16 79 80 81 83 84 85 86 87 88 89 90 91 93 94 95 97 98 99 101 102 103 104 105 106 107 108 110 111 112 113 117"},E:{"14":0.0028,_:"0 4 5 6 7 8 9 10 11 12 13 15 3.1 3.2 5.1 6.1 7.1 9.1 10.1 17.6","11.1":0.0028,"12.1":0.00559,"13.1":0.01677,"14.1":0.05311,"15.1":0.0028,"15.2-15.3":0.0028,"15.4":0.0028,"15.5":0.01957,"15.6":0.07826,"16.0":0.03913,"16.1":0.01957,"16.2":0.01677,"16.3":0.01398,"16.4":0.0028,"16.5":0.00559,"16.6":0.08665,"17.0":0.01118,"17.1":0.01957,"17.2":0.08385,"17.3":0.0028,"17.4":0.65683,"17.5":0.04752},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.00303,"5.0-5.1":0.00303,"6.0-6.1":0.00757,"7.0-7.1":0.0106,"8.1-8.4":0.00303,"9.0-9.2":0.00757,"9.3":0.03482,"10.0-10.2":0.00606,"10.3":0.0545,"11.0-11.2":0.08023,"11.3-11.4":0.01514,"12.0-12.1":0.00908,"12.2-12.5":0.2195,"13.0-13.1":0.00454,"13.2":0.02119,"13.3":0.0106,"13.4-13.7":0.04844,"14.0-14.4":0.08326,"14.5-14.8":0.12867,"15.0-15.1":0.06206,"15.2-15.3":0.06812,"15.4":0.0772,"15.5":0.09688,"15.6-15.8":0.87193,"16.0":0.1983,"16.1":0.40872,"16.2":0.1983,"16.3":0.34363,"16.4":0.07266,"16.5":0.14684,"16.6-16.7":1.17014,"17.0":0.12716,"17.1":0.20739,"17.2":0.21647,"17.3":0.39964,"17.4":9.07505,"17.5":0.64032,"17.6":0},P:{"4":0.06535,"20":0.03267,"21":0.09802,"22":0.28317,"23":0.22872,"24":0.49011,"25":3.84462,"5.0-5.4":0.01089,"6.2-6.4":0.01089,"7.2-7.4":0.29406,_:"8.2 9.2 10.1 12.0","11.1-11.2":0.01089,"13.0":0.01089,"14.0":0.01089,"15.0":0.01089,"16.0":0.02178,"17.0":0.02178,"18.0":0.01089,"19.0":0.15248},I:{"0":0.02871,"3":0,"4":0,"2.1":0,"2.2":0,"2.3":0,"4.1":0.00001,"4.2-4.3":0.00002,"4.4":0,"4.4.3-4.4.4":0.00006},K:{"0":0.36746,_:"10 11 12 11.1 11.5 12.1"},A:{"10":0.01048,"11":0.00349,_:"6 7 8 9 5.5"},S:{_:"2.5 3.0-3.1"},J:{_:"7 10"},N:{_:"10 11"},L:{"0":52.76938},R:{_:"0"},M:{"0":0.06485},Q:{"14.9":0.00721},O:{"0":0.40348},H:{"0":0}}; +module.exports={C:{"107":0.0065,"110":0.00325,"113":0.00325,"114":0.00325,"115":0.02598,"123":0.03248,"127":0.0065,"128":0.00325,"129":0.14941,"130":0.50669,"131":0.00325,_:"2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 108 109 111 112 116 117 118 119 120 121 122 124 125 126 132 133 134 135 3.5 3.6"},D:{"11":0.0065,"53":0.00325,"59":0.00325,"65":0.0065,"69":0.11693,"70":0.00974,"73":0.00974,"75":0.0065,"76":0.20787,"79":0.14616,"81":0.00974,"83":0.06496,"85":0.01624,"86":0.00974,"87":0.04547,"88":0.00325,"89":0.0065,"90":0.0065,"91":0.02274,"93":0.05522,"94":0.02598,"97":0.14616,"98":0.01299,"100":0.00325,"102":0.00325,"103":0.10718,"105":0.02274,"106":0.00325,"107":0.00325,"108":0.0065,"109":0.25334,"110":0.02598,"111":0.01299,"112":0.0065,"114":0.01624,"115":0.00325,"116":0.04547,"117":0.05846,"118":0.01299,"119":0.05197,"120":0.02598,"121":0.01624,"122":0.28582,"123":0.05197,"124":0.05522,"125":0.03573,"126":0.28258,"127":1.25698,"128":12.2612,"129":3.67024,"130":0.01949,_:"4 5 6 7 8 9 10 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 54 55 56 57 58 60 61 62 63 64 66 67 68 71 72 74 77 78 80 84 92 95 96 99 101 104 113 131 132 133"},F:{"79":0.01624,"83":0.01299,"84":0.0812,"95":0.01624,"109":0.03898,"111":0.00325,"112":0.6431,"113":0.42549,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 60 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 80 81 82 85 86 87 88 89 90 91 92 93 94 96 97 98 99 100 101 102 103 104 105 106 107 108 110 114 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"14":0.00325,"15":0.00325,"16":0.00974,"17":0.0065,"18":0.01624,"85":0.00325,"92":0.01624,"100":0.0065,"101":0.00325,"105":0.00325,"109":0.01624,"114":0.00325,"115":0.00325,"119":0.00325,"120":0.00325,"122":0.0065,"123":0.0065,"124":0.0065,"125":0.04872,"126":0.06821,"127":0.20138,"128":4.9597,"129":1.49733,_:"12 13 79 80 81 83 84 86 87 88 89 90 91 93 94 95 96 97 98 99 102 103 104 106 107 108 110 111 112 113 116 117 118 121 130"},E:{"14":0.0065,_:"0 4 5 6 7 8 9 10 11 12 13 15 3.1 3.2 5.1 6.1 7.1 9.1 10.1 11.1 12.1 15.1 16.4","13.1":0.03573,"14.1":0.01299,"15.2-15.3":0.0065,"15.4":0.00325,"15.5":0.0065,"15.6":0.09744,"16.0":0.00974,"16.1":0.0065,"16.2":0.01624,"16.3":0.01299,"16.5":0.01624,"16.6":0.11693,"17.0":0.00325,"17.1":0.05522,"17.2":0.0065,"17.3":0.0065,"17.4":0.01299,"17.5":0.79901,"17.6":0.5749,"18.0":0.10394,"18.1":0.00325},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.00185,"5.0-5.1":0.00092,"6.0-6.1":0.00554,"7.0-7.1":0.00646,"8.1-8.4":0,"9.0-9.2":0.00554,"9.3":0.01569,"10.0-10.2":0.00462,"10.3":0.02677,"11.0-11.2":0.09878,"11.3-11.4":0.00739,"12.0-12.1":0.00462,"12.2-12.5":0.1117,"13.0-13.1":0.00185,"13.2":0.03508,"13.3":0.00462,"13.4-13.7":0.01846,"14.0-14.4":0.04246,"14.5-14.8":0.05631,"15.0-15.1":0.03231,"15.2-15.3":0.03139,"15.4":0.036,"15.5":0.04431,"15.6-15.8":0.43849,"16.0":0.08862,"16.1":0.1754,"16.2":0.0877,"16.3":0.1477,"16.4":0.03139,"16.5":0.06185,"16.6-16.7":0.52803,"17.0":0.04431,"17.1":0.07016,"17.2":0.0637,"17.3":0.09139,"17.4":0.1957,"17.5":0.94067,"17.6-17.7":5.00616,"18.0":0.63142,"18.1":0.02862},P:{"4":0.10794,"20":0.01079,"21":0.08635,"22":0.19429,"23":0.06476,"24":0.14032,"25":0.25905,"26":3.48641,_:"5.0-5.4 8.2 9.2 10.1 12.0 14.0 15.0 18.0","6.2-6.4":0.01079,"7.2-7.4":0.45334,"11.1-11.2":0.01079,"13.0":0.38858,"16.0":0.01079,"17.0":0.01079,"19.0":0.07556},I:{"0":0.03367,"3":0,"4":0,"2.1":0,"2.2":0,"2.3":0,"4.1":0,"4.2-4.3":0.00001,"4.4":0,"4.4.3-4.4.4":0.00005},K:{"0":0.60777,_:"10 11 12 11.1 11.5 12.1"},A:{"10":0.00325,"11":0.00325,_:"6 7 8 9 5.5"},N:{_:"10 11"},S:{_:"2.5 3.0-3.1"},J:{_:"7 10"},O:{"0":0.36466},H:{"0":0},L:{"0":53.59539},R:{_:"0"},M:{"0":0.10805},Q:{"14.9":0.02026}}; diff --git a/node_modules/caniuse-lite/data/regions/HK.js b/node_modules/caniuse-lite/data/regions/HK.js index dbde482d45..f1e91732a0 100644 --- a/node_modules/caniuse-lite/data/regions/HK.js +++ b/node_modules/caniuse-lite/data/regions/HK.js @@ -1 +1 @@ -module.exports={C:{"34":0.03215,"52":0.01072,"78":0.01072,"81":0.00536,"88":0.00536,"111":0.00536,"115":4.83827,"117":0.00536,"119":0.00536,"121":0.01072,"122":0.00536,"123":0.00536,"124":0.12323,"125":0.44471,"126":0.40185,_:"2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 79 80 82 83 84 85 86 87 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 112 113 114 116 118 120 127 128 129 3.5 3.6"},D:{"11":0.00536,"25":0.00536,"26":0.00536,"30":0.01072,"34":0.04822,"38":0.12323,"49":0.01607,"53":0.02143,"55":0.01072,"56":0.00536,"58":0.00536,"61":0.04286,"65":0.00536,"67":0.02143,"68":0.00536,"69":0.01072,"70":0.00536,"72":0.00536,"73":0.00536,"74":0.04822,"75":0.01072,"76":0.00536,"78":0.02143,"79":0.49829,"80":0.02143,"81":0.01607,"83":0.03751,"84":0.00536,"85":0.00536,"86":0.02679,"87":0.40185,"88":0.00536,"89":0.01607,"90":0.01072,"91":0.01607,"92":0.00536,"93":0.00536,"94":0.19289,"95":0.01607,"96":0.01072,"97":0.02679,"98":0.02679,"99":0.0643,"100":0.01072,"101":0.02143,"102":0.02143,"103":0.08037,"104":0.01607,"105":0.01072,"106":0.01607,"107":0.02679,"108":0.03215,"109":1.28592,"110":0.02143,"111":0.03215,"112":0.17681,"113":0.0643,"114":0.09109,"115":0.03215,"116":4.87042,"117":0.0643,"118":0.04822,"119":0.12323,"120":0.19825,"121":0.23039,"122":0.26254,"123":0.88407,"124":12.59666,"125":5.5241,"126":0.03215,"127":0.01607,_:"4 5 6 7 8 9 10 12 13 14 15 16 17 18 19 20 21 22 23 24 27 28 29 31 32 33 35 36 37 39 40 41 42 43 44 45 46 47 48 50 51 52 54 57 59 60 62 63 64 66 71 77 128"},F:{"28":0.00536,"36":0.03215,"40":0.01072,"46":0.12323,"95":0.05358,"102":4.70432,"107":0.01607,"108":0.00536,"109":0.11252,"110":0.01072,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 29 30 31 32 33 34 35 37 38 39 41 42 43 44 45 47 48 49 50 51 52 53 54 55 56 57 58 60 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 96 97 98 99 100 101 103 104 105 106 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"18":0.00536,"92":0.01072,"106":0.00536,"108":0.00536,"109":0.13395,"110":0.00536,"111":0.00536,"112":0.01072,"113":0.02143,"114":0.01607,"115":0.01072,"116":0.01072,"117":0.01607,"118":0.01072,"119":0.01607,"120":0.03215,"121":0.02143,"122":0.0643,"123":0.12859,"124":2.44861,"125":1.41451,_:"12 13 14 15 16 17 79 80 81 83 84 85 86 87 88 89 90 91 93 94 95 96 97 98 99 100 101 102 103 104 105 107"},E:{"8":0.00536,"12":0.00536,"13":0.01607,"14":0.09109,"15":0.03215,_:"0 4 5 6 7 9 10 11 3.1 3.2 5.1 6.1 7.1 9.1 10.1 17.6","11.1":0.00536,"12.1":0.02143,"13.1":0.08037,"14.1":0.21432,"15.1":0.03215,"15.2-15.3":0.02679,"15.4":0.13395,"15.5":0.12323,"15.6":0.65368,"16.0":0.0643,"16.1":0.1018,"16.2":0.09109,"16.3":0.28933,"16.4":0.0643,"16.5":0.10716,"16.6":0.80906,"17.0":0.04286,"17.1":0.11788,"17.2":0.13931,"17.3":0.21432,"17.4":3.65416,"17.5":0.24647},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.00362,"5.0-5.1":0.00362,"6.0-6.1":0.00905,"7.0-7.1":0.01267,"8.1-8.4":0.00362,"9.0-9.2":0.00905,"9.3":0.04162,"10.0-10.2":0.00724,"10.3":0.06514,"11.0-11.2":0.0959,"11.3-11.4":0.01809,"12.0-12.1":0.01086,"12.2-12.5":0.26237,"13.0-13.1":0.00543,"13.2":0.02533,"13.3":0.01267,"13.4-13.7":0.0579,"14.0-14.4":0.09952,"14.5-14.8":0.1538,"15.0-15.1":0.07419,"15.2-15.3":0.08143,"15.4":0.09228,"15.5":0.1158,"15.6-15.8":1.04224,"16.0":0.23704,"16.1":0.48855,"16.2":0.23704,"16.3":0.41075,"16.4":0.08685,"16.5":0.17552,"16.6-16.7":1.39871,"17.0":0.15199,"17.1":0.24789,"17.2":0.25875,"17.3":0.4777,"17.4":10.84766,"17.5":0.7654,"17.6":0},P:{"4":1.10673,"20":0.02282,"21":0.10269,"22":0.06846,"23":0.12551,"24":0.29665,"25":4.58667,"5.0-5.4":0.19396,"6.2-6.4":0.1141,_:"7.2-7.4 8.2 9.2 10.1 11.1-11.2 12.0 15.0","13.0":0.02282,"14.0":0.01141,"16.0":0.02282,"17.0":0.04564,"18.0":0.02282,"19.0":0.02282},I:{"0":0.03237,"3":0,"4":0,"2.1":0,"2.2":0,"2.3":0,"4.1":0.00001,"4.2-4.3":0.00002,"4.4":0,"4.4.3-4.4.4":0.00007},K:{"0":0.0882,_:"10 11 12 11.1 11.5 12.1"},A:{"9":0.05596,"11":0.44769,_:"6 7 8 10 5.5"},S:{_:"2.5 3.0-3.1"},J:{_:"7 10"},N:{_:"10 11"},L:{"0":21.59608},R:{_:"0"},M:{"0":0.2878},Q:{"14.9":0.11141},O:{"0":0.28316},H:{"0":0}}; +module.exports={C:{"34":0.00441,"52":0.00883,"63":0.00441,"72":0.00883,"78":0.00883,"81":0.00441,"109":0.00441,"111":0.00441,"115":1.81374,"116":0.00441,"121":0.00441,"123":0.00441,"124":0.00441,"125":0.00441,"126":0.00441,"127":0.01765,"128":0.01765,"129":0.15887,"130":0.73697,_:"2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 53 54 55 56 57 58 59 60 61 62 64 65 66 67 68 69 70 71 73 74 75 76 77 79 80 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 110 112 113 114 117 118 119 120 122 131 132 133 134 135 3.5 3.6"},D:{"26":0.00441,"30":0.00441,"34":0.04854,"38":0.11033,"48":0.00441,"49":0.01324,"53":0.01324,"56":0.00441,"57":0.00441,"58":0.00883,"61":0.04413,"65":0.00441,"67":0.00883,"68":0.00441,"69":0.00441,"70":0.00441,"72":0.00441,"73":0.00441,"74":0.03972,"75":0.01765,"76":0.00441,"78":0.02207,"79":0.5075,"80":0.01765,"81":0.03089,"83":0.0353,"84":0.00441,"85":0.00441,"86":0.03972,"87":0.45454,"88":0.00441,"89":0.00883,"90":0.01324,"91":0.05737,"92":0.00883,"93":0.00441,"94":0.24272,"95":0.01324,"96":0.00883,"97":0.01765,"98":0.02207,"99":0.03972,"100":0.0353,"101":0.02648,"102":0.02207,"103":0.07943,"104":0.01324,"105":0.00883,"106":0.02207,"107":0.04854,"108":0.0353,"109":1.19151,"110":0.01765,"111":0.0353,"112":0.0353,"113":0.0353,"114":0.07502,"115":0.02207,"116":1.84463,"117":0.01765,"118":0.04854,"119":0.09709,"120":0.13239,"121":0.16769,"122":0.1368,"123":0.13239,"124":0.18976,"125":0.15887,"126":0.53397,"127":0.99293,"128":12.80211,"129":3.86579,"130":0.04413,"131":0.02207,_:"4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 27 28 29 31 32 33 35 36 37 39 40 41 42 43 44 45 46 47 50 51 52 54 55 59 60 62 63 64 66 71 77 132 133"},F:{"36":0.02648,"46":0.12356,"83":0.00441,"84":0.00883,"95":0.0353,"102":1.69901,"111":0.00441,"112":0.08826,"113":0.03972,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 37 38 39 40 41 42 43 44 45 47 48 49 50 51 52 53 54 55 56 57 58 60 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 85 86 87 88 89 90 91 92 93 94 96 97 98 99 100 101 103 104 105 106 107 108 109 110 114 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"18":0.00441,"92":0.00883,"100":0.00441,"106":0.00441,"108":0.00441,"109":0.1015,"110":0.00441,"111":0.00441,"112":0.00883,"113":0.02207,"114":0.01324,"115":0.00883,"116":0.00441,"117":0.01324,"118":0.00441,"119":0.01324,"120":0.0353,"121":0.02648,"122":0.02207,"123":0.02207,"124":0.02648,"125":0.03089,"126":0.06178,"127":0.25154,"128":2.93906,"129":1.19151,"130":0.00441,_:"12 13 14 15 16 17 79 80 81 83 84 85 86 87 88 89 90 91 93 94 95 96 97 98 99 101 102 103 104 105 107"},E:{"8":0.00883,"9":0.00441,"12":0.00441,"13":0.01324,"14":0.07943,"15":0.02207,_:"0 4 5 6 7 10 11 3.1 3.2 5.1 6.1 7.1 9.1 10.1 11.1","12.1":0.01765,"13.1":0.0662,"14.1":0.17652,"15.1":0.02207,"15.2-15.3":0.01765,"15.4":0.09267,"15.5":0.10591,"15.6":0.5428,"16.0":0.04854,"16.1":0.07502,"16.2":0.07061,"16.3":0.21182,"16.4":0.03972,"16.5":0.07502,"16.6":0.6796,"17.0":0.02207,"17.1":0.0662,"17.2":0.05737,"17.3":0.08385,"17.4":0.14122,"17.5":0.75904,"17.6":3.45979,"18.0":0.17211,"18.1":0.00883},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.00368,"5.0-5.1":0.00184,"6.0-6.1":0.01105,"7.0-7.1":0.0129,"8.1-8.4":0,"9.0-9.2":0.01105,"9.3":0.03132,"10.0-10.2":0.00921,"10.3":0.05343,"11.0-11.2":0.19712,"11.3-11.4":0.01474,"12.0-12.1":0.00921,"12.2-12.5":0.22291,"13.0-13.1":0.00368,"13.2":0.07001,"13.3":0.00921,"13.4-13.7":0.03685,"14.0-14.4":0.08474,"14.5-14.8":0.11238,"15.0-15.1":0.06448,"15.2-15.3":0.06264,"15.4":0.07185,"15.5":0.08843,"15.6-15.8":0.87507,"16.0":0.17686,"16.1":0.35003,"16.2":0.17501,"16.3":0.29476,"16.4":0.06264,"16.5":0.12343,"16.6-16.7":1.05377,"17.0":0.08843,"17.1":0.14001,"17.2":0.12712,"17.3":0.18238,"17.4":0.39056,"17.5":1.87727,"17.6-17.7":9.99059,"18.0":1.26011,"18.1":0.05711},P:{"4":0.95539,"20":0.01124,"21":0.08992,"22":0.0562,"23":0.06744,"24":0.08992,"25":0.32596,"26":4.45099,"5.0-5.4":0.17984,"6.2-6.4":0.12364,"7.2-7.4":0.03372,_:"8.2 9.2 10.1 11.1-11.2 12.0 14.0 15.0 16.0","13.0":0.02248,"17.0":0.03372,"18.0":0.01124,"19.0":0.01124},I:{"0":0.15041,"3":0,"4":0,"2.1":0,"2.2":0,"2.3":0,"4.1":0.00002,"4.2-4.3":0.00006,"4.4":0,"4.4.3-4.4.4":0.00024},K:{"0":0.11731,_:"10 11 12 11.1 11.5 12.1"},A:{"8":0.06325,"11":0.50602,_:"6 7 9 10 5.5"},N:{_:"10 11"},S:{_:"2.5 3.0-3.1"},J:{_:"7 10"},O:{"0":0.4804},H:{"0":0},L:{"0":30.11984},R:{_:"0"},M:{"0":0.43012},Q:{"14.9":0.22903}}; diff --git a/node_modules/caniuse-lite/data/regions/HN.js b/node_modules/caniuse-lite/data/regions/HN.js index 97e786e3c3..528ebe11cc 100644 --- a/node_modules/caniuse-lite/data/regions/HN.js +++ b/node_modules/caniuse-lite/data/regions/HN.js @@ -1 +1 @@ -module.exports={C:{"4":0.00393,"103":0.00393,"105":0.00393,"108":0.01178,"113":0.01178,"115":0.07065,"116":0.00393,"117":0.00785,"120":0.00393,"121":0.00393,"122":0.00785,"123":0.0157,"124":0.01178,"125":0.48278,"126":0.31793,_:"2 3 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 104 106 107 109 110 111 112 114 118 119 127 128 129 3.5 3.6"},D:{"11":0.00393,"47":0.01178,"49":0.00393,"65":0.00785,"69":0.00393,"70":0.00785,"73":0.0157,"74":0.01178,"75":0.00785,"76":0.00393,"77":0.00393,"79":0.08635,"80":0.00785,"81":0.00393,"83":0.00393,"85":0.00785,"86":0.00785,"87":0.06673,"88":0.02748,"90":0.00393,"91":0.01178,"93":0.03533,"94":0.0471,"96":0.00393,"97":0.00785,"98":0.00393,"99":0.01963,"101":0.01178,"102":0.00393,"103":0.11383,"104":0.00393,"105":0.02355,"106":0.00393,"107":0.00785,"108":0.23158,"109":1.3188,"110":0.00785,"111":0.00393,"112":0.01178,"113":0.00785,"114":0.02748,"115":0.08635,"116":0.11775,"117":0.02748,"118":0.01178,"119":0.15308,"120":0.0942,"121":0.08243,"122":0.23943,"123":0.91453,"124":16.24165,"125":5.7933,"126":0.00393,_:"4 5 6 7 8 9 10 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 48 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 66 67 68 71 72 78 84 89 92 95 100 127 128"},F:{"85":0.00393,"86":0.00393,"95":0.0314,"102":0.00393,"106":0.00393,"107":0.4239,"108":0.0314,"109":1.88008,"110":0.0785,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 60 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 87 88 89 90 91 92 93 94 96 97 98 99 100 101 103 104 105 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"17":0.00785,"18":0.00393,"92":0.0471,"100":0.00393,"109":0.04318,"112":0.00393,"113":0.00393,"114":0.00785,"115":0.00393,"116":0.00785,"117":0.03533,"119":0.0157,"120":0.02355,"121":0.0157,"122":0.0628,"123":0.157,"124":3.32448,"125":1.82513,_:"12 13 14 15 16 79 80 81 83 84 85 86 87 88 89 90 91 93 94 95 96 97 98 99 101 102 103 104 105 106 107 108 110 111 118"},E:{"14":0.00393,"15":0.00393,_:"0 4 5 6 7 8 9 10 11 12 13 3.1 3.2 6.1 7.1 9.1 10.1 11.1 12.1 17.6","5.1":0.0471,"13.1":0.01178,"14.1":0.02355,"15.1":0.00393,"15.2-15.3":0.00393,"15.4":0.00393,"15.5":0.00393,"15.6":0.10598,"16.0":0.00785,"16.1":0.02748,"16.2":0.01178,"16.3":0.06673,"16.4":0.01963,"16.5":0.03533,"16.6":0.09028,"17.0":0.07065,"17.1":0.02748,"17.2":0.03925,"17.3":0.02748,"17.4":0.75753,"17.5":0.11383},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.00222,"5.0-5.1":0.00222,"6.0-6.1":0.00556,"7.0-7.1":0.00778,"8.1-8.4":0.00222,"9.0-9.2":0.00556,"9.3":0.02557,"10.0-10.2":0.00445,"10.3":0.04002,"11.0-11.2":0.05892,"11.3-11.4":0.01112,"12.0-12.1":0.00667,"12.2-12.5":0.1612,"13.0-13.1":0.00334,"13.2":0.01556,"13.3":0.00778,"13.4-13.7":0.03558,"14.0-14.4":0.06114,"14.5-14.8":0.0945,"15.0-15.1":0.04558,"15.2-15.3":0.05003,"15.4":0.0567,"15.5":0.07115,"15.6-15.8":0.64035,"16.0":0.14564,"16.1":0.30017,"16.2":0.14564,"16.3":0.25236,"16.4":0.05336,"16.5":0.10784,"16.6-16.7":0.85936,"17.0":0.09338,"17.1":0.15231,"17.2":0.15898,"17.3":0.2935,"17.4":6.66479,"17.5":0.47026,"17.6":0},P:{"4":0.12511,"20":0.03128,"21":0.07298,"22":0.09383,"23":0.13553,"24":0.30234,"25":2.06425,"5.0-5.4":0.03128,"6.2-6.4":0.02085,"7.2-7.4":0.10425,_:"8.2 10.1 12.0","9.2":0.02085,"11.1-11.2":0.05213,"13.0":0.02085,"14.0":0.01043,"15.0":0.01043,"16.0":0.03128,"17.0":0.02085,"18.0":0.01043,"19.0":0.07298},I:{"0":0.06051,"3":0,"4":0.00001,"2.1":0,"2.2":0,"2.3":0,"4.1":0.00001,"4.2-4.3":0.00004,"4.4":0,"4.4.3-4.4.4":0.00013},K:{"0":0.3888,_:"10 11 12 11.1 11.5 12.1"},A:{"11":0.01963,_:"6 7 8 9 10 5.5"},S:{_:"2.5 3.0-3.1"},J:{_:"7 10"},N:{_:"10 11"},L:{"0":47.91048},R:{_:"0"},M:{"0":0.1458},Q:{_:"14.9"},O:{"0":0.0729},H:{"0":0}}; +module.exports={C:{"4":0.03799,"77":0.0038,"108":0.0038,"114":0.0038,"115":0.21274,"121":0.0038,"123":0.0114,"124":0.0038,"125":0.02659,"126":0.0038,"127":0.0038,"128":0.0038,"129":0.14056,"130":0.71801,"131":0.0038,_:"2 3 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 109 110 111 112 113 116 117 118 119 120 122 132 133 134 135 3.5 3.6"},D:{"38":0.0038,"42":0.0038,"47":0.0076,"48":0.0038,"49":0.0038,"55":0.0076,"65":0.0038,"69":0.0038,"70":0.0152,"73":0.0038,"74":0.03039,"75":0.0038,"76":0.0114,"79":0.06078,"81":0.0076,"83":0.0076,"84":0.0038,"85":0.0152,"86":0.0038,"87":0.07218,"88":0.02279,"89":0.0038,"90":0.0038,"91":0.3685,"93":0.03039,"94":0.10637,"96":0.0038,"97":0.0038,"98":0.0076,"99":0.019,"100":0.0076,"103":0.06078,"105":0.019,"106":0.0076,"107":0.0038,"108":0.29252,"109":1.08272,"110":0.0076,"111":0.0038,"113":0.0076,"114":0.0114,"115":0.019,"116":0.09498,"117":0.0076,"118":0.0114,"119":0.0152,"120":0.03039,"121":0.04179,"122":0.08738,"123":0.10637,"124":0.29252,"125":0.03799,"126":0.3951,"127":0.73701,"128":15.07063,"129":5.50855,_:"4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 39 40 41 43 44 45 46 50 51 52 53 54 56 57 58 59 60 61 62 63 64 66 67 68 71 72 77 78 80 92 95 101 102 104 112 130 131 132 133"},F:{"84":0.019,"86":0.0038,"95":0.019,"109":0.04939,"111":0.0114,"112":1.25367,"113":0.83578,"114":0.04939,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 60 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 85 87 88 89 90 91 92 93 94 96 97 98 99 100 101 102 103 104 105 106 107 108 110 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"17":0.0038,"18":0.0038,"85":0.0038,"88":0.0038,"92":0.02279,"100":0.0038,"109":0.06078,"112":0.0152,"113":0.0038,"116":0.0038,"120":0.0076,"121":0.0038,"122":0.0076,"123":0.0038,"124":0.02279,"125":0.0114,"126":0.04559,"127":0.15196,"128":3.68123,"129":1.72095,_:"12 13 14 15 16 79 80 81 83 84 86 87 89 90 91 93 94 95 96 97 98 99 101 102 103 104 105 106 107 108 110 111 114 115 117 118 119 130"},E:{"14":0.0038,"15":0.0038,_:"0 4 5 6 7 8 9 10 11 12 13 3.1 3.2 6.1 7.1 9.1 10.1 11.1 12.1 15.1","5.1":0.0038,"13.1":0.0152,"14.1":0.0076,"15.2-15.3":0.0038,"15.4":0.0076,"15.5":0.0038,"15.6":0.04559,"16.0":0.0038,"16.1":0.0114,"16.2":0.0076,"16.3":0.03039,"16.4":0.0076,"16.5":0.02659,"16.6":0.11397,"17.0":0.0114,"17.1":0.02279,"17.2":0.0076,"17.3":0.02279,"17.4":0.12537,"17.5":0.14056,"17.6":0.69142,"18.0":0.14436,"18.1":0.04939},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.0034,"5.0-5.1":0.0017,"6.0-6.1":0.01021,"7.0-7.1":0.01192,"8.1-8.4":0,"9.0-9.2":0.01021,"9.3":0.02894,"10.0-10.2":0.00851,"10.3":0.04936,"11.0-11.2":0.18213,"11.3-11.4":0.01362,"12.0-12.1":0.00851,"12.2-12.5":0.20596,"13.0-13.1":0.0034,"13.2":0.06468,"13.3":0.00851,"13.4-13.7":0.03404,"14.0-14.4":0.0783,"14.5-14.8":0.10383,"15.0-15.1":0.05958,"15.2-15.3":0.05787,"15.4":0.06638,"15.5":0.0817,"15.6-15.8":0.80853,"16.0":0.16341,"16.1":0.32341,"16.2":0.16171,"16.3":0.27235,"16.4":0.05787,"16.5":0.11405,"16.6-16.7":0.97364,"17.0":0.0817,"17.1":0.12937,"17.2":0.11745,"17.3":0.16852,"17.4":0.36086,"17.5":1.73452,"17.6-17.7":9.23089,"18.0":1.16429,"18.1":0.05277},P:{"4":0.12441,"20":0.0311,"21":0.04147,"22":0.08294,"23":0.0311,"24":0.04147,"25":0.36287,"26":1.65883,"5.0-5.4":0.01037,"6.2-6.4":0.0311,"7.2-7.4":0.07257,_:"8.2 9.2 10.1 12.0 14.0 15.0","11.1-11.2":0.0311,"13.0":0.02074,"16.0":0.0311,"17.0":0.01037,"18.0":0.01037,"19.0":0.0311},I:{"0":0.03092,"3":0,"4":0,"2.1":0,"2.2":0,"2.3":0,"4.1":0,"4.2-4.3":0.00001,"4.4":0,"4.4.3-4.4.4":0.00005},K:{"0":0.25424,_:"10 11 12 11.1 11.5 12.1"},A:{"11":0.0038,_:"6 7 8 9 10 5.5"},N:{_:"10 11"},S:{_:"2.5 3.0-3.1"},J:{_:"7 10"},O:{"0":0.05581},H:{"0":0},L:{"0":43.96274},R:{_:"0"},M:{"0":0.11162},Q:{_:"14.9"}}; diff --git a/node_modules/caniuse-lite/data/regions/HR.js b/node_modules/caniuse-lite/data/regions/HR.js index 6f7d3b1a93..8ef239d222 100644 --- a/node_modules/caniuse-lite/data/regions/HR.js +++ b/node_modules/caniuse-lite/data/regions/HR.js @@ -1 +1 @@ -module.exports={C:{"52":0.03399,"56":0.00425,"72":0.00425,"78":0.017,"88":0.00425,"94":0.00425,"96":0.00425,"98":0.0085,"101":0.00425,"102":0.0085,"103":0.0085,"105":0.0085,"110":0.00425,"111":0.017,"112":0.0085,"113":0.01275,"115":0.45889,"116":0.00425,"117":0.00425,"120":0.0085,"121":0.01275,"122":0.0085,"123":0.02125,"124":0.09348,"125":1.76758,"126":1.52114,"127":0.00425,_:"2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 53 54 55 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 73 74 75 76 77 79 80 81 82 83 84 85 86 87 89 90 91 92 93 95 97 99 100 104 106 107 108 109 114 118 119 128 129 3.5 3.6"},D:{"38":0.00425,"41":0.01275,"43":0.00425,"47":0.01275,"49":0.02549,"51":0.00425,"53":0.0085,"54":0.00425,"56":0.00425,"63":0.00425,"66":0.00425,"70":0.00425,"75":0.0085,"76":0.00425,"77":0.017,"78":0.00425,"79":0.2252,"80":0.00425,"81":0.05524,"85":0.00425,"86":0.01275,"87":0.18696,"88":0.01275,"89":0.00425,"90":0.0085,"91":0.00425,"92":0.00425,"93":0.017,"94":0.02974,"95":0.01275,"96":0.0085,"97":0.01275,"98":0.0085,"99":0.02974,"100":0.00425,"101":0.0085,"102":0.00425,"103":0.08073,"104":0.0085,"105":0.0085,"106":0.02549,"107":0.01275,"108":0.017,"109":1.75484,"110":0.03399,"111":0.01275,"112":0.017,"113":0.0085,"114":0.03824,"115":0.0085,"116":0.11472,"117":0.017,"118":0.03399,"119":0.06374,"120":0.14872,"121":0.07648,"122":0.24644,"123":0.75207,"124":18.29195,"125":6.74741,"126":0.00425,_:"4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 39 40 42 44 45 46 48 50 52 55 57 58 59 60 61 62 64 65 67 68 69 71 72 73 74 83 84 127 128"},F:{"36":0.00425,"46":0.03399,"71":0.00425,"85":0.00425,"86":0.0085,"93":0.00425,"95":0.06374,"102":0.00425,"106":0.00425,"107":0.34842,"108":0.02125,"109":1.61037,"110":0.08923,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 37 38 39 40 41 42 43 44 45 47 48 49 50 51 52 53 54 55 56 57 58 60 62 63 64 65 66 67 68 69 70 72 73 74 75 76 77 78 79 80 81 82 83 84 87 88 89 90 91 92 94 96 97 98 99 100 101 103 104 105 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"17":0.00425,"18":0.00425,"92":0.00425,"96":0.00425,"104":0.0085,"109":0.06374,"110":0.00425,"112":0.00425,"113":0.00425,"114":0.0085,"115":0.00425,"116":0.00425,"118":0.0085,"119":0.02549,"120":0.02125,"121":0.0085,"122":0.02125,"123":0.10198,"124":2.33695,"125":1.2917,_:"12 13 14 15 16 79 80 81 83 84 85 86 87 88 89 90 91 93 94 95 97 98 99 100 101 102 103 105 106 107 108 111 117"},E:{"9":0.00425,"14":0.0085,"15":0.00425,_:"0 4 5 6 7 8 10 11 12 13 3.1 3.2 5.1 6.1 7.1 9.1 10.1 11.1 17.6","12.1":0.00425,"13.1":0.03399,"14.1":0.05524,"15.1":0.00425,"15.2-15.3":0.0085,"15.4":0.0085,"15.5":0.017,"15.6":0.16146,"16.0":0.03824,"16.1":0.05099,"16.2":0.01275,"16.3":0.03399,"16.4":0.02125,"16.5":0.03399,"16.6":0.13172,"17.0":0.02549,"17.1":0.06798,"17.2":0.05524,"17.3":0.04249,"17.4":0.8583,"17.5":0.10623},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.00205,"5.0-5.1":0.00205,"6.0-6.1":0.00511,"7.0-7.1":0.00716,"8.1-8.4":0.00205,"9.0-9.2":0.00511,"9.3":0.02352,"10.0-10.2":0.00409,"10.3":0.03681,"11.0-11.2":0.05419,"11.3-11.4":0.01023,"12.0-12.1":0.00614,"12.2-12.5":0.14827,"13.0-13.1":0.00307,"13.2":0.01432,"13.3":0.00716,"13.4-13.7":0.03272,"14.0-14.4":0.05624,"14.5-14.8":0.08691,"15.0-15.1":0.04192,"15.2-15.3":0.04601,"15.4":0.05215,"15.5":0.06544,"15.6-15.8":0.58898,"16.0":0.13395,"16.1":0.27608,"16.2":0.13395,"16.3":0.23211,"16.4":0.04908,"16.5":0.09919,"16.6-16.7":0.79041,"17.0":0.08589,"17.1":0.14009,"17.2":0.14622,"17.3":0.26995,"17.4":6.13005,"17.5":0.43253,"17.6":0},P:{"4":0.35278,"20":0.02075,"21":0.03113,"22":0.05188,"23":0.16602,"24":0.34241,"25":3.73537,"5.0-5.4":0.07263,"6.2-6.4":0.06226,"7.2-7.4":0.01038,_:"8.2 9.2 11.1-11.2 12.0 14.0 18.0","10.1":0.02075,"13.0":0.01038,"15.0":0.01038,"16.0":0.01038,"17.0":0.01038,"19.0":0.02075},I:{"0":0.05156,"3":0,"4":0.00001,"2.1":0,"2.2":0,"2.3":0,"4.1":0.00001,"4.2-4.3":0.00003,"4.4":0,"4.4.3-4.4.4":0.00011},K:{"0":0.67862,_:"10 11 12 11.1 11.5 12.1"},A:{"8":0.01333,"9":0.00444,"10":0.00444,"11":0.07552,_:"6 7 5.5"},S:{_:"2.5 3.0-3.1"},J:{_:"7 10"},N:{_:"10 11"},L:{"0":41.57589},R:{_:"0"},M:{"0":0.39107},Q:{_:"14.9"},O:{"0":0.04601},H:{"0":0}}; +module.exports={C:{"52":0.02059,"78":0.00824,"89":0.00412,"91":0.00412,"94":0.00412,"96":0.00412,"105":0.00412,"106":0.00412,"109":0.00412,"111":0.00412,"112":0.00412,"113":0.00824,"115":0.51063,"120":0.07824,"121":0.00412,"122":0.00412,"123":0.00412,"124":0.00824,"125":0.01235,"126":0.01647,"127":0.03706,"128":0.02059,"129":0.52299,"130":2.43374,"131":0.00824,"132":0.00412,_:"2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 79 80 81 82 83 84 85 86 87 88 90 92 93 95 97 98 99 100 101 102 103 104 107 108 110 114 116 117 118 119 133 134 135 3.5 3.6"},D:{"41":0.00412,"47":0.00412,"49":0.02471,"53":0.00412,"66":0.00412,"70":0.00412,"75":0.01235,"76":0.00824,"77":0.01235,"79":0.22649,"80":0.00412,"81":0.01647,"86":0.00824,"87":0.15648,"88":0.01235,"89":0.00412,"90":0.00412,"91":0.00412,"92":0.00412,"93":0.01235,"94":0.06589,"95":0.01647,"96":0.00412,"97":0.00412,"98":0.00412,"99":0.01235,"100":0.00412,"101":0.01235,"102":0.00824,"103":0.05765,"105":0.00824,"106":0.04118,"107":0.00824,"108":0.02059,"109":1.57308,"110":0.00412,"111":0.00824,"112":0.00824,"113":0.00824,"114":0.02471,"115":0.00412,"116":0.14413,"117":0.00824,"118":0.02059,"119":0.0906,"120":0.06177,"121":0.04942,"122":0.0906,"123":0.05765,"124":0.07001,"125":0.07824,"126":0.25532,"127":0.84007,"128":18.61748,"129":6.54762,"130":0.02059,"131":0.00412,_:"4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 42 43 44 45 46 48 50 51 52 54 55 56 57 58 59 60 61 62 63 64 65 67 68 69 71 72 73 74 78 83 84 85 104 132 133"},F:{"28":0.00412,"46":0.02883,"70":0.00412,"77":0.00412,"84":0.02471,"85":0.00412,"86":0.00412,"95":0.03706,"104":0.00412,"109":0.03294,"111":0.00824,"112":0.98008,"113":0.60946,"114":0.00824,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 47 48 49 50 51 52 53 54 55 56 57 58 60 62 63 64 65 66 67 68 69 71 72 73 74 75 76 78 79 80 81 82 83 87 88 89 90 91 92 93 94 96 97 98 99 100 101 102 103 105 106 107 108 110 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"92":0.00412,"100":0.00412,"109":0.07412,"115":0.00412,"118":0.00824,"119":0.00412,"120":0.01235,"121":0.00412,"122":0.00824,"123":0.01647,"124":0.00824,"125":0.00824,"126":0.02883,"127":0.07824,"128":2.29373,"129":0.92243,"130":0.00412,_:"12 13 14 15 16 17 18 79 80 81 83 84 85 86 87 88 89 90 91 93 94 95 96 97 98 99 101 102 103 104 105 106 107 108 110 111 112 113 114 116 117"},E:{"14":0.01647,_:"0 4 5 6 7 8 9 10 11 12 13 15 3.1 3.2 5.1 6.1 7.1 9.1 10.1","11.1":0.00412,"12.1":0.00412,"13.1":0.01647,"14.1":0.05353,"15.1":0.00824,"15.2-15.3":0.00412,"15.4":0.00824,"15.5":0.00824,"15.6":0.13589,"16.0":0.02059,"16.1":0.02059,"16.2":0.01647,"16.3":0.03294,"16.4":0.01235,"16.5":0.02471,"16.6":0.14413,"17.0":0.01235,"17.1":0.02471,"17.2":0.0453,"17.3":0.03294,"17.4":0.04942,"17.5":0.22649,"17.6":0.96361,"18.0":0.10707,"18.1":0.00824},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.00228,"5.0-5.1":0.00114,"6.0-6.1":0.00683,"7.0-7.1":0.00797,"8.1-8.4":0,"9.0-9.2":0.00683,"9.3":0.01937,"10.0-10.2":0.0057,"10.3":0.03304,"11.0-11.2":0.12189,"11.3-11.4":0.00911,"12.0-12.1":0.0057,"12.2-12.5":0.13784,"13.0-13.1":0.00228,"13.2":0.04329,"13.3":0.0057,"13.4-13.7":0.02278,"14.0-14.4":0.0524,"14.5-14.8":0.06949,"15.0-15.1":0.03987,"15.2-15.3":0.03873,"15.4":0.04443,"15.5":0.05468,"15.6-15.8":0.5411,"16.0":0.10936,"16.1":0.21644,"16.2":0.10822,"16.3":0.18226,"16.4":0.03873,"16.5":0.07632,"16.6-16.7":0.65159,"17.0":0.05468,"17.1":0.08658,"17.2":0.0786,"17.3":0.11278,"17.4":0.2415,"17.5":1.16079,"17.6-17.7":6.17761,"18.0":0.77918,"18.1":0.03531},P:{"4":0.29061,"20":0.02076,"21":0.02076,"22":0.04152,"23":0.07265,"24":0.06227,"25":0.32175,"26":3.66379,"5.0-5.4":0.06227,"6.2-6.4":0.10379,"7.2-7.4":0.01038,_:"8.2 9.2 10.1 11.1-11.2 12.0 13.0 15.0 17.0","14.0":0.01038,"16.0":0.01038,"18.0":0.01038,"19.0":0.02076},I:{"0":0.03519,"3":0,"4":0,"2.1":0,"2.2":0,"2.3":0,"4.1":0,"4.2-4.3":0.00001,"4.4":0,"4.4.3-4.4.4":0.00006},K:{"0":0.48812,_:"10 11 12 11.1 11.5 12.1"},A:{"11":0.01235,_:"6 7 8 9 10 5.5"},N:{_:"10 11"},S:{_:"2.5 3.0-3.1"},J:{_:"7 10"},O:{"0":0.06469},H:{"0":0},L:{"0":41.84468},R:{_:"0"},M:{"0":0.44696},Q:{_:"14.9"}}; diff --git a/node_modules/caniuse-lite/data/regions/HT.js b/node_modules/caniuse-lite/data/regions/HT.js index d83be23178..481b50e811 100644 --- a/node_modules/caniuse-lite/data/regions/HT.js +++ b/node_modules/caniuse-lite/data/regions/HT.js @@ -1 +1 @@ -module.exports={C:{"52":0.00106,"77":0.01058,"88":0.03703,"91":0.00106,"109":0.00741,"110":0.00317,"115":0.01058,"119":0.00529,"122":0.00106,"123":0.00212,"124":0.00212,"125":0.07089,"126":0.05713,_:"2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 78 79 80 81 82 83 84 85 86 87 89 90 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 111 112 113 114 116 117 118 120 121 127 128 129 3.5 3.6"},D:{"37":0.00106,"38":0.00106,"40":0.00106,"49":0.00317,"56":0.00952,"60":0.00106,"64":0.00106,"67":0.00106,"68":0.00212,"69":0.00741,"70":0.00317,"71":0.00106,"74":0.00529,"75":0.00212,"76":0.17774,"77":0.00106,"79":0.00423,"80":0.00741,"81":0.02751,"83":0.00106,"84":0.00423,"85":0.00106,"86":0.0127,"87":0.01058,"88":0.0328,"89":0.00423,"90":0.00423,"91":0.00529,"92":0.03068,"93":0.04549,"94":0.00846,"95":0.00635,"96":0.00106,"98":0.00106,"99":0.00212,"100":0.00106,"101":0.00106,"102":0.00635,"103":0.06454,"104":0.00106,"105":0.02222,"106":0.00317,"107":0.00106,"108":0.01587,"109":0.19996,"110":0.0127,"111":0.06348,"112":0.00529,"113":0.00212,"114":0.02433,"115":0.00846,"116":0.13013,"117":0.00529,"118":0.00846,"119":0.0402,"120":0.01904,"121":0.03491,"122":0.07089,"123":0.12696,"124":1.81447,"125":0.44119,_:"4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 39 41 42 43 44 45 46 47 48 50 51 52 53 54 55 57 58 59 61 62 63 65 66 72 73 78 97 126 127 128"},F:{"36":0.00106,"79":0.00529,"94":0.00106,"95":0.01375,"107":0.00317,"108":0.00423,"109":0.13542,"110":0.00635,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 60 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 80 81 82 83 84 85 86 87 88 89 90 91 92 93 96 97 98 99 100 101 102 103 104 105 106 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"12":0.00635,"13":0.00317,"14":0.00212,"15":0.00106,"16":0.00212,"17":0.00423,"18":0.04126,"84":0.00317,"89":0.00212,"90":0.00317,"92":0.01481,"100":0.00212,"103":0.00106,"107":0.00529,"109":0.02222,"110":0.00741,"114":0.00212,"115":0.00106,"117":0.00106,"118":0.00212,"119":0.00423,"120":0.01164,"121":0.00846,"122":0.01164,"123":0.04338,"124":0.43907,"125":0.21795,_:"79 80 81 83 85 86 87 88 91 93 94 95 96 97 98 99 101 102 104 105 106 108 111 112 113 116"},E:{"13":0.00212,"14":0.03491,"15":0.00529,_:"0 4 5 6 7 8 9 10 11 12 3.1 3.2 5.1 6.1 7.1 9.1 10.1 15.4 16.0 17.6","11.1":0.00106,"12.1":0.00106,"13.1":0.00741,"14.1":0.02328,"15.1":0.00106,"15.2-15.3":0.00635,"15.5":0.00106,"15.6":0.02116,"16.1":0.00106,"16.2":0.00212,"16.3":0.00846,"16.4":0.00106,"16.5":0.00529,"16.6":0.01375,"17.0":0.00635,"17.1":0.00212,"17.2":0.00212,"17.3":0.00529,"17.4":0.09205,"17.5":0.02222},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.00208,"5.0-5.1":0.00208,"6.0-6.1":0.0052,"7.0-7.1":0.00727,"8.1-8.4":0.00208,"9.0-9.2":0.0052,"9.3":0.0239,"10.0-10.2":0.00416,"10.3":0.03741,"11.0-11.2":0.05507,"11.3-11.4":0.01039,"12.0-12.1":0.00623,"12.2-12.5":0.15066,"13.0-13.1":0.00312,"13.2":0.01455,"13.3":0.00727,"13.4-13.7":0.03325,"14.0-14.4":0.05715,"14.5-14.8":0.08832,"15.0-15.1":0.0426,"15.2-15.3":0.04676,"15.4":0.05299,"15.5":0.0665,"15.6-15.8":0.5985,"16.0":0.13612,"16.1":0.28055,"16.2":0.13612,"16.3":0.23587,"16.4":0.04987,"16.5":0.10079,"16.6-16.7":0.80319,"17.0":0.08728,"17.1":0.14235,"17.2":0.14859,"17.3":0.27431,"17.4":6.22917,"17.5":0.43952,"17.6":0},P:{"4":0.19832,"20":0.05219,"21":0.09394,"22":0.09394,"23":0.3027,"24":0.26095,"25":0.34445,"5.0-5.4":0.04175,"6.2-6.4":0.01044,"7.2-7.4":0.12525,"8.2":0.03131,"9.2":0.25051,_:"10.1 12.0","11.1-11.2":0.34445,"13.0":0.2192,"14.0":0.05219,"15.0":0.01044,"16.0":0.25051,"17.0":0.05219,"18.0":0.02088,"19.0":0.05219},I:{"0":0.01781,"3":0,"4":0,"2.1":0,"2.2":0,"2.3":0,"4.1":0,"4.2-4.3":0.00001,"4.4":0,"4.4.3-4.4.4":0.00004},K:{"0":0.29509,_:"10 11 12 11.1 11.5 12.1"},A:{"11":0.00741,_:"6 7 8 9 10 5.5"},S:{"2.5":0.01788,_:"3.0-3.1"},J:{_:"7 10"},N:{_:"10 11"},L:{"0":81.02092},R:{_:"0"},M:{"0":0.15201},Q:{_:"14.9"},O:{"0":0.07154},H:{"0":0}}; +module.exports={C:{"30":0.00112,"52":0.00112,"54":0.02244,"88":0.01907,"115":0.00898,"127":0.00224,"128":0.00224,"129":0.01346,"130":0.10883,_:"2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 53 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 116 117 118 119 120 121 122 123 124 125 126 131 132 133 134 135 3.5 3.6"},D:{"11":0.00112,"47":0.00112,"49":0.00112,"50":0.00224,"56":0.00112,"64":0.00112,"66":0.00112,"68":0.00224,"69":0.00224,"70":0.00898,"74":0.00224,"75":0.00224,"76":0.08752,"77":0.00673,"78":0.00112,"79":0.00898,"80":0.00112,"81":0.00561,"83":0.00337,"84":0.00112,"86":0.01346,"87":0.00561,"88":0.01795,"89":0.00112,"90":0.00449,"91":0.00112,"92":0.00561,"93":0.08078,"94":0.00561,"95":0.00224,"96":0.00112,"97":0.00112,"99":0.00337,"100":0.00112,"101":0.00224,"102":0.00337,"103":0.04937,"104":0.00112,"105":0.04039,"106":0.00224,"107":0.00112,"108":0.06732,"109":0.18401,"110":0.01234,"111":0.07293,"112":0.00112,"113":0.00112,"114":0.1223,"115":0.00112,"116":0.05947,"117":0.00673,"118":0.00337,"119":0.02468,"120":0.02805,"121":0.00673,"122":0.01346,"123":0.01122,"124":0.03029,"125":0.05722,"126":0.15371,"127":0.25806,"128":1.46421,"129":0.41402,"130":0.00112,_:"4 5 6 7 8 9 10 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 48 51 52 53 54 55 57 58 59 60 61 62 63 65 67 71 72 73 85 98 131 132 133"},F:{"83":0.00112,"84":0.00224,"95":0.00337,"108":0.00112,"109":0.00224,"112":0.05947,"113":0.04151,"114":0.00449,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 60 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 85 86 87 88 89 90 91 92 93 94 96 97 98 99 100 101 102 103 104 105 106 107 110 111 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"12":0.00224,"13":0.00112,"14":0.0101,"16":0.00224,"17":0.00224,"18":0.00673,"89":0.00112,"90":0.00112,"92":0.01459,"100":0.00112,"109":0.01234,"114":0.00224,"120":0.00112,"121":0.00449,"122":0.00112,"123":0.00112,"124":0.01122,"125":0.01571,"126":0.01459,"127":0.03029,"128":0.65637,"129":0.2603,_:"15 79 80 81 83 84 85 86 87 88 91 93 94 95 96 97 98 99 101 102 103 104 105 106 107 108 110 111 112 113 115 116 117 118 119 130"},E:{"13":0.00112,"14":0.02917,_:"0 4 5 6 7 8 9 10 11 12 15 3.1 3.2 5.1 6.1 7.1 9.1 10.1 16.4 18.1","11.1":0.00112,"12.1":0.00112,"13.1":0.01571,"14.1":0.01346,"15.1":0.00112,"15.2-15.3":0.00112,"15.4":0.00337,"15.5":0.00337,"15.6":0.02244,"16.0":0.00561,"16.1":0.00112,"16.2":0.00673,"16.3":0.00561,"16.5":0.00112,"16.6":0.00898,"17.0":0.00224,"17.1":0.00449,"17.2":0.00112,"17.3":0.00224,"17.4":0.00561,"17.5":0.01122,"17.6":0.04712,"18.0":0.02468},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.00177,"5.0-5.1":0.00088,"6.0-6.1":0.0053,"7.0-7.1":0.00618,"8.1-8.4":0,"9.0-9.2":0.0053,"9.3":0.01502,"10.0-10.2":0.00442,"10.3":0.02562,"11.0-11.2":0.09452,"11.3-11.4":0.00707,"12.0-12.1":0.00442,"12.2-12.5":0.10689,"13.0-13.1":0.00177,"13.2":0.03357,"13.3":0.00442,"13.4-13.7":0.01767,"14.0-14.4":0.04063,"14.5-14.8":0.05389,"15.0-15.1":0.03092,"15.2-15.3":0.03003,"15.4":0.03445,"15.5":0.0424,"15.6-15.8":0.4196,"16.0":0.0848,"16.1":0.16784,"16.2":0.08392,"16.3":0.14134,"16.4":0.03003,"16.5":0.05919,"16.6-16.7":0.50528,"17.0":0.0424,"17.1":0.06714,"17.2":0.06095,"17.3":0.08745,"17.4":0.18727,"17.5":0.90014,"17.6-17.7":4.79047,"18.0":0.60422,"18.1":0.02738},P:{"4":0.24808,"20":0.02067,"21":0.04135,"22":0.08269,"23":0.06202,"24":0.06202,"25":0.34112,"26":0.29977,"5.0-5.4":0.03101,"6.2-6.4":0.01034,"7.2-7.4":0.07236,"8.2":0.01034,"9.2":0.13438,_:"10.1 12.0","11.1-11.2":0.24808,"13.0":0.16539,"14.0":0.05168,"15.0":0.01034,"16.0":0.1964,"17.0":0.05168,"18.0":0.02067,"19.0":0.04135},I:{"0":0.00885,"3":0,"4":0,"2.1":0,"2.2":0,"2.3":0,"4.1":0,"4.2-4.3":0,"4.4":0,"4.4.3-4.4.4":0.00001},K:{"0":0.12429,_:"10 11 12 11.1 11.5 12.1"},A:{"11":0.00112,_:"6 7 8 9 10 5.5"},N:{_:"10 11"},S:{_:"2.5 3.0-3.1"},J:{_:"7 10"},O:{"0":0.04439},H:{"0":0},L:{"0":83.62019},R:{_:"0"},M:{"0":0.09766},Q:{_:"14.9"}}; diff --git a/node_modules/caniuse-lite/data/regions/HU.js b/node_modules/caniuse-lite/data/regions/HU.js index 4581546149..909fd65c6d 100644 --- a/node_modules/caniuse-lite/data/regions/HU.js +++ b/node_modules/caniuse-lite/data/regions/HU.js @@ -1 +1 @@ -module.exports={C:{"48":0.0064,"49":0.0032,"52":0.05122,"61":0.0032,"68":0.0032,"78":0.0096,"81":0.0032,"83":0.0064,"84":0.0032,"88":0.0064,"89":0.01601,"91":0.0064,"97":0.0032,"99":0.0032,"102":0.0096,"103":0.0064,"107":0.0032,"108":0.0032,"110":0.0032,"111":0.0032,"112":0.0032,"113":0.0064,"114":0.0032,"115":0.61459,"116":0.0032,"117":0.0032,"118":0.0032,"119":0.0032,"120":0.80025,"121":0.06722,"122":0.0096,"123":0.03201,"124":0.06402,"125":1.49487,"126":1.45646,"127":0.0032,_:"2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 50 51 53 54 55 56 57 58 59 60 62 63 64 65 66 67 69 70 71 72 73 74 75 76 77 79 80 82 85 86 87 90 92 93 94 95 96 98 100 101 104 105 106 109 128 129 3.5 3.6"},D:{"34":0.0128,"38":0.02241,"47":0.0032,"49":0.0128,"53":0.0032,"69":0.0096,"74":0.0032,"76":0.0032,"78":0.0032,"79":0.14725,"80":0.0032,"81":0.0032,"83":0.0032,"84":0.0032,"86":0.0064,"87":0.09603,"88":0.0096,"89":0.0032,"90":0.0032,"91":0.0064,"94":0.02881,"95":0.0032,"96":0.0032,"97":0.0064,"98":0.0064,"99":0.0128,"100":0.0064,"101":0.0032,"102":0.0096,"103":0.03201,"104":0.0128,"105":0.0032,"106":0.0128,"107":0.0064,"108":0.0096,"109":1.45966,"110":0.0064,"111":0.01601,"112":0.0128,"113":0.01601,"114":0.02561,"115":0.01601,"116":0.05762,"117":0.0128,"118":0.02561,"119":0.04802,"120":0.25608,"121":0.06402,"122":0.13124,"123":0.45454,"124":11.41797,"125":4.89433,"126":0.0064,"127":0.0032,_:"4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 35 36 37 39 40 41 42 43 44 45 46 48 50 51 52 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 70 71 72 73 75 77 85 92 93 128"},F:{"36":0.0032,"46":0.0064,"79":0.0032,"83":0.0032,"85":0.0032,"86":0.0032,"95":0.09923,"105":0.0032,"106":0.18886,"107":0.19526,"108":0.01921,"109":1.17797,"110":0.08643,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 37 38 39 40 41 42 43 44 45 47 48 49 50 51 52 53 54 55 56 57 58 60 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 80 81 82 84 87 88 89 90 91 92 93 94 96 97 98 99 100 101 102 103 104 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"92":0.0064,"97":0.0032,"109":0.07042,"110":0.0032,"114":0.0064,"117":0.0032,"118":0.0032,"119":0.0064,"120":0.26888,"121":0.0064,"122":0.01921,"123":0.08003,"124":1.56529,"125":0.99551,_:"12 13 14 15 16 17 18 79 80 81 83 84 85 86 87 88 89 90 91 93 94 95 96 98 99 100 101 102 103 104 105 106 107 108 111 112 113 115 116"},E:{"13":0.0032,"14":0.0096,"15":0.0032,_:"0 4 5 6 7 8 9 10 11 12 3.1 3.2 5.1 6.1 7.1 9.1 10.1 11.1 17.6","12.1":0.0128,"13.1":0.02241,"14.1":0.03201,"15.1":0.0032,"15.2-15.3":0.0064,"15.4":0.0096,"15.5":0.01601,"15.6":0.08003,"16.0":0.0096,"16.1":0.01601,"16.2":0.01921,"16.3":0.03841,"16.4":0.0096,"16.5":0.02241,"16.6":0.10243,"17.0":0.01921,"17.1":0.03201,"17.2":0.02881,"17.3":0.04481,"17.4":0.57938,"17.5":0.10243},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.00176,"5.0-5.1":0.00176,"6.0-6.1":0.00439,"7.0-7.1":0.00615,"8.1-8.4":0.00176,"9.0-9.2":0.00439,"9.3":0.02021,"10.0-10.2":0.00351,"10.3":0.03163,"11.0-11.2":0.04656,"11.3-11.4":0.00879,"12.0-12.1":0.00527,"12.2-12.5":0.12739,"13.0-13.1":0.00264,"13.2":0.0123,"13.3":0.00615,"13.4-13.7":0.02811,"14.0-14.4":0.04832,"14.5-14.8":0.07468,"15.0-15.1":0.03602,"15.2-15.3":0.03954,"15.4":0.04481,"15.5":0.05623,"15.6-15.8":0.50605,"16.0":0.11509,"16.1":0.23721,"16.2":0.11509,"16.3":0.19943,"16.4":0.04217,"16.5":0.08522,"16.6-16.7":0.67913,"17.0":0.0738,"17.1":0.12036,"17.2":0.12563,"17.3":0.23194,"17.4":5.26697,"17.5":0.37163,"17.6":0},P:{"4":0.22999,"20":0.02091,"21":0.04182,"22":0.06272,"23":0.12545,"24":0.2509,"25":2.80168,"5.0-5.4":0.01045,"6.2-6.4":0.01045,_:"7.2-7.4 8.2 9.2 10.1 12.0 15.0 16.0","11.1-11.2":0.01045,"13.0":0.02091,"14.0":0.01045,"17.0":0.01045,"18.0":0.01045,"19.0":0.02091},I:{"0":0.08806,"3":0,"4":0.00001,"2.1":0,"2.2":0,"2.3":0,"4.1":0.00002,"4.2-4.3":0.00005,"4.4":0,"4.4.3-4.4.4":0.00019},K:{"0":0.476,_:"10 11 12 11.1 11.5 12.1"},A:{"8":0.01216,"11":0.04866,_:"6 7 9 10 5.5"},S:{_:"2.5 3.0-3.1"},J:{_:"7 10"},N:{_:"10 11"},L:{"0":55.52125},R:{_:"0"},M:{"0":0.2244},Q:{_:"14.9"},O:{"0":0.0272},H:{"0":0}}; +module.exports={C:{"48":0.00654,"51":0.01309,"52":0.03272,"61":0.00327,"68":0.00327,"71":0.00327,"78":0.00654,"83":0.00327,"88":0.00327,"91":0.00327,"96":0.00327,"97":0.00327,"99":0.00327,"102":0.00982,"103":0.00327,"108":0.00327,"109":0.00327,"111":0.00327,"112":0.00327,"113":0.00654,"114":0.00327,"115":0.58569,"117":0.00327,"118":0.00327,"119":0.00327,"120":0.82782,"121":0.00327,"122":0.00327,"123":0.00327,"124":0.00654,"125":0.00982,"126":0.00982,"127":0.04908,"128":0.02945,"129":0.48426,"130":2.46382,"131":0.00327,_:"2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 49 50 53 54 55 56 57 58 59 60 62 63 64 65 66 67 69 70 72 73 74 75 76 77 79 80 81 82 84 85 86 87 89 90 92 93 94 95 98 100 101 104 105 106 107 110 116 132 133 134 135 3.5 3.6"},D:{"34":0.00982,"38":0.0229,"49":0.00654,"53":0.00327,"65":0.00327,"73":0.00327,"76":0.00327,"79":0.14724,"81":0.00327,"83":0.00327,"84":0.00327,"87":0.08834,"88":0.01963,"89":0.00982,"91":0.00327,"94":0.02945,"95":0.00327,"97":0.00327,"98":0.00327,"99":0.00654,"100":0.00327,"101":0.00327,"102":0.00654,"103":0.04908,"104":0.00654,"106":0.00654,"107":0.00327,"108":0.00654,"109":1.17792,"110":0.00327,"111":0.00654,"112":0.00982,"113":0.01309,"114":0.01963,"115":0.00654,"116":0.05235,"117":0.00327,"118":0.08834,"119":0.02618,"120":0.08834,"121":0.02945,"122":0.09162,"123":0.06217,"124":0.07526,"125":0.16687,"126":0.19305,"127":0.58896,"128":12.2929,"129":4.80657,"130":0.00654,_:"4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 35 36 37 39 40 41 42 43 44 45 46 47 48 50 51 52 54 55 56 57 58 59 60 61 62 63 64 66 67 68 69 70 71 72 74 75 77 78 80 85 86 90 92 93 96 105 131 132 133"},F:{"36":0.00327,"46":0.00654,"79":0.00327,"83":0.00327,"84":0.01309,"86":0.00327,"95":0.08834,"105":0.00327,"106":0.13742,"109":0.00982,"111":0.00654,"112":0.76892,"113":0.52352,"114":0.00654,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 37 38 39 40 41 42 43 44 45 47 48 49 50 51 52 53 54 55 56 57 58 60 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 80 81 82 85 87 88 89 90 91 92 93 94 96 97 98 99 100 101 102 103 104 107 108 110 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"92":0.00327,"97":0.00327,"109":0.03599,"110":0.00654,"115":0.00327,"117":0.00327,"119":0.15378,"120":0.55624,"121":0.00327,"122":0.00327,"123":0.00327,"124":0.00327,"125":0.00654,"126":0.0229,"127":0.07526,"128":1.90758,"129":0.83109,"130":0.00327,_:"12 13 14 15 16 17 18 79 80 81 83 84 85 86 87 88 89 90 91 93 94 95 96 98 99 100 101 102 103 104 105 106 107 108 111 112 113 114 116 118"},E:{"14":0.00982,_:"0 4 5 6 7 8 9 10 11 12 13 15 3.1 3.2 5.1 6.1 7.1 9.1 10.1 11.1","12.1":0.00327,"13.1":0.01309,"14.1":0.02945,"15.1":0.00654,"15.2-15.3":0.00327,"15.4":0.00654,"15.5":0.00654,"15.6":0.06217,"16.0":0.00654,"16.1":0.01309,"16.2":0.00982,"16.3":0.0229,"16.4":0.00654,"16.5":0.01309,"16.6":0.08834,"17.0":0.00982,"17.1":0.01309,"17.2":0.01309,"17.3":0.01636,"17.4":0.04581,"17.5":0.12761,"17.6":0.51043,"18.0":0.10798,"18.1":0.00654},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.00172,"5.0-5.1":0.00086,"6.0-6.1":0.00515,"7.0-7.1":0.00601,"8.1-8.4":0,"9.0-9.2":0.00515,"9.3":0.01459,"10.0-10.2":0.00429,"10.3":0.0249,"11.0-11.2":0.09186,"11.3-11.4":0.00687,"12.0-12.1":0.00429,"12.2-12.5":0.10388,"13.0-13.1":0.00172,"13.2":0.03262,"13.3":0.00429,"13.4-13.7":0.01717,"14.0-14.4":0.03949,"14.5-14.8":0.05237,"15.0-15.1":0.03005,"15.2-15.3":0.02919,"15.4":0.03348,"15.5":0.04121,"15.6-15.8":0.40778,"16.0":0.08242,"16.1":0.16311,"16.2":0.08156,"16.3":0.13736,"16.4":0.02919,"16.5":0.05752,"16.6-16.7":0.49106,"17.0":0.04121,"17.1":0.06525,"17.2":0.05924,"17.3":0.08499,"17.4":0.182,"17.5":0.8748,"17.6-17.7":4.65561,"18.0":0.58721,"18.1":0.02661},P:{"4":0.20584,"20":0.01029,"21":0.04117,"22":0.06175,"23":0.07205,"24":0.06175,"25":0.2676,"26":2.6554,"5.0-5.4":0.01029,"6.2-6.4":0.01029,_:"7.2-7.4 8.2 9.2 10.1 11.1-11.2 12.0 15.0 16.0","13.0":0.01029,"14.0":0.01029,"17.0":0.01029,"18.0":0.01029,"19.0":0.02058},I:{"0":0.1342,"3":0,"4":0,"2.1":0,"2.2":0,"2.3":0,"4.1":0.00001,"4.2-4.3":0.00005,"4.4":0,"4.4.3-4.4.4":0.00022},K:{"0":0.31622,_:"10 11 12 11.1 11.5 12.1"},A:{"11":0.01309,_:"6 7 8 9 10 5.5"},N:{_:"10 11"},S:{_:"2.5 3.0-3.1"},J:{_:"7 10"},O:{"0":0.01346},H:{"0":0},L:{"0":55.50376},R:{_:"0"},M:{"0":0.22875},Q:{_:"14.9"}}; diff --git a/node_modules/caniuse-lite/data/regions/ID.js b/node_modules/caniuse-lite/data/regions/ID.js index 0ab866fe78..13198e1db9 100644 --- a/node_modules/caniuse-lite/data/regions/ID.js +++ b/node_modules/caniuse-lite/data/regions/ID.js @@ -1 +1 @@ -module.exports={C:{"36":0.02797,"52":0.004,"72":0.004,"78":0.004,"88":0.004,"105":0.004,"107":0.004,"109":0.004,"110":0.004,"111":0.004,"112":0.004,"113":0.01998,"114":0.004,"115":0.24376,"116":0.004,"117":0.004,"118":0.004,"119":0.004,"120":0.00799,"121":0.01199,"122":0.01199,"123":0.02797,"124":0.05195,"125":1.21079,"126":1.05894,"127":0.01598,_:"2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 73 74 75 76 77 79 80 81 82 83 84 85 86 87 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 106 108 128 129 3.5 3.6"},D:{"25":0.004,"52":0.00799,"56":0.004,"61":0.004,"69":0.004,"70":0.004,"71":0.004,"74":0.004,"79":0.01199,"80":0.00799,"81":0.01598,"83":0.004,"84":0.004,"85":0.004,"86":0.004,"87":0.01199,"88":0.004,"89":0.01199,"90":0.004,"91":0.004,"92":0.004,"93":0.004,"94":0.004,"95":0.004,"96":0.004,"97":0.004,"98":0.004,"99":0.01598,"100":0.02398,"101":0.004,"102":0.00799,"103":0.03197,"104":0.01199,"105":0.01199,"106":0.01199,"107":0.01199,"108":0.01598,"109":1.45454,"110":0.00799,"111":0.03596,"112":0.03197,"113":0.01998,"114":0.03596,"115":0.01199,"116":0.10789,"117":0.03596,"118":0.03197,"119":0.05594,"120":0.0959,"121":0.08392,"122":0.21179,"123":0.5035,"124":19.21676,"125":8.01198,"126":0.00799,_:"4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 53 54 55 57 58 59 60 62 63 64 65 66 67 68 72 73 75 76 77 78 127 128"},F:{"95":0.01998,"102":0.004,"107":0.04795,"108":0.004,"109":0.34366,"110":0.02398,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 60 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 96 97 98 99 100 101 103 104 105 106 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"12":0.004,"14":0.004,"18":0.00799,"92":0.01199,"100":0.004,"109":0.01998,"114":0.004,"117":0.004,"118":0.004,"119":0.004,"120":0.01199,"121":0.01199,"122":0.02797,"123":0.03996,"124":2.51348,"125":1.4985,_:"13 15 16 17 79 80 81 83 84 85 86 87 88 89 90 91 93 94 95 96 97 98 99 101 102 103 104 105 106 107 108 110 111 112 113 115 116"},E:{"14":0.01199,"15":0.004,_:"0 4 5 6 7 8 9 10 11 12 13 3.1 3.2 6.1 7.1 9.1 10.1 11.1 12.1 17.6","5.1":0.02398,"13.1":0.01998,"14.1":0.04396,"15.1":0.01598,"15.2-15.3":0.00799,"15.4":0.01199,"15.5":0.01598,"15.6":0.08791,"16.0":0.00799,"16.1":0.03197,"16.2":0.01598,"16.3":0.03197,"16.4":0.01598,"16.5":0.04795,"16.6":0.07992,"17.0":0.02797,"17.1":0.04795,"17.2":0.04795,"17.3":0.05594,"17.4":0.33167,"17.5":0.04795},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.00128,"5.0-5.1":0.00128,"6.0-6.1":0.0032,"7.0-7.1":0.00448,"8.1-8.4":0.00128,"9.0-9.2":0.0032,"9.3":0.01471,"10.0-10.2":0.00256,"10.3":0.02302,"11.0-11.2":0.03389,"11.3-11.4":0.00639,"12.0-12.1":0.00384,"12.2-12.5":0.09272,"13.0-13.1":0.00192,"13.2":0.00895,"13.3":0.00448,"13.4-13.7":0.02046,"14.0-14.4":0.03517,"14.5-14.8":0.05435,"15.0-15.1":0.02622,"15.2-15.3":0.02877,"15.4":0.03261,"15.5":0.04092,"15.6-15.8":0.36831,"16.0":0.08376,"16.1":0.17265,"16.2":0.08376,"16.3":0.14515,"16.4":0.03069,"16.5":0.06202,"16.6-16.7":0.49428,"17.0":0.05371,"17.1":0.0876,"17.2":0.09144,"17.3":0.16881,"17.4":3.83336,"17.5":0.27048,"17.6":0},P:{"4":0.03076,"20":0.0205,"21":0.06151,"22":0.09227,"23":0.12303,"24":0.2153,"25":0.96373,_:"5.0-5.4 8.2 10.1 12.0","6.2-6.4":0.0205,"7.2-7.4":0.08202,"9.2":0.01025,"11.1-11.2":0.0205,"13.0":0.01025,"14.0":0.01025,"15.0":0.01025,"16.0":0.0205,"17.0":0.0205,"18.0":0.01025,"19.0":0.03076},I:{"0":0.03588,"3":0,"4":0,"2.1":0,"2.2":0,"2.3":0,"4.1":0.00001,"4.2-4.3":0.00002,"4.4":0,"4.4.3-4.4.4":0.00008},K:{"0":0.67245,_:"10 11 12 11.1 11.5 12.1"},A:{"8":0.004,"11":0.03996,_:"6 7 9 10 5.5"},S:{_:"2.5 3.0-3.1"},J:{_:"7 10"},N:{_:"10 11"},L:{"0":51.26234},R:{_:"0"},M:{"0":0.07805},Q:{"14.9":0.006},O:{"0":0.78652},H:{"0":0}}; +module.exports={C:{"17":0.00393,"36":0.03146,"52":0.00393,"78":0.00393,"86":0.00393,"105":0.00393,"109":0.00393,"111":0.00393,"112":0.00393,"113":0.03539,"114":0.00786,"115":0.21626,"118":0.00393,"119":0.00393,"120":0.00393,"121":0.00393,"122":0.00393,"123":0.00786,"124":0.00786,"125":0.0118,"126":0.0118,"127":0.04718,"128":0.02752,"129":0.4797,"130":1.80479,"131":0.02359,_:"2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 79 80 81 82 83 84 85 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 106 107 108 110 116 117 132 133 134 135 3.5 3.6"},D:{"38":0.00393,"56":0.00786,"58":0.00393,"71":0.00393,"74":0.00393,"79":0.00786,"80":0.00786,"81":0.00393,"83":0.00393,"84":0.00393,"85":0.00393,"87":0.0118,"89":0.00786,"90":0.00393,"91":0.00393,"92":0.00393,"93":0.00393,"94":0.00393,"95":0.00393,"96":0.00393,"97":0.00393,"98":0.00393,"99":0.0118,"100":0.0118,"101":0.00393,"102":0.00393,"103":0.02752,"104":0.0118,"105":0.00786,"106":0.01573,"107":0.00786,"108":0.0118,"109":1.18746,"110":0.00786,"111":0.04325,"112":0.01573,"113":0.01573,"114":0.03539,"115":0.00786,"116":0.09437,"117":0.02359,"118":0.03146,"119":0.03932,"120":0.05112,"121":0.06291,"122":0.09437,"123":0.05898,"124":0.12582,"125":0.09044,"126":0.22412,"127":0.74708,"128":19.97063,"129":6.80629,"130":0.00786,"131":0.00393,_:"4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 57 59 60 61 62 63 64 65 66 67 68 69 70 72 73 75 76 77 78 86 88 132 133"},F:{"83":0.00393,"84":0.00393,"95":0.01573,"109":0.00393,"112":0.22412,"113":0.12189,"114":0.00393,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 60 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 85 86 87 88 89 90 91 92 93 94 96 97 98 99 100 101 102 103 104 105 106 107 108 110 111 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"14":0.00393,"18":0.00786,"92":0.00786,"100":0.00393,"109":0.01573,"114":0.00393,"117":0.00393,"118":0.00393,"119":0.00393,"120":0.00393,"121":0.00393,"122":0.00393,"123":0.00393,"124":0.00786,"125":0.00786,"126":0.02752,"127":0.06684,"128":2.7642,"129":1.25431,"130":0.00393,_:"12 13 15 16 17 79 80 81 83 84 85 86 87 88 89 90 91 93 94 95 96 97 98 99 101 102 103 104 105 106 107 108 110 111 112 113 115 116"},E:{"14":0.00786,"15":0.00393,_:"0 4 5 6 7 8 9 10 11 12 13 3.1 3.2 6.1 7.1 9.1 10.1 11.1 18.1","5.1":0.01966,"12.1":0.00393,"13.1":0.01573,"14.1":0.03932,"15.1":0.0118,"15.2-15.3":0.00393,"15.4":0.00786,"15.5":0.0118,"15.6":0.07864,"16.0":0.00786,"16.1":0.02359,"16.2":0.0118,"16.3":0.02752,"16.4":0.01573,"16.5":0.03932,"16.6":0.0865,"17.0":0.01966,"17.1":0.03146,"17.2":0.03146,"17.3":0.03539,"17.4":0.07078,"17.5":0.15335,"17.6":0.36174,"18.0":0.07078},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.00127,"5.0-5.1":0.00064,"6.0-6.1":0.00382,"7.0-7.1":0.00446,"8.1-8.4":0,"9.0-9.2":0.00382,"9.3":0.01082,"10.0-10.2":0.00318,"10.3":0.01846,"11.0-11.2":0.06811,"11.3-11.4":0.00509,"12.0-12.1":0.00318,"12.2-12.5":0.07702,"13.0-13.1":0.00127,"13.2":0.02419,"13.3":0.00318,"13.4-13.7":0.01273,"14.0-14.4":0.02928,"14.5-14.8":0.03883,"15.0-15.1":0.02228,"15.2-15.3":0.02164,"15.4":0.02482,"15.5":0.03055,"15.6-15.8":0.30235,"16.0":0.06111,"16.1":0.12094,"16.2":0.06047,"16.3":0.10185,"16.4":0.02164,"16.5":0.04265,"16.6-16.7":0.3641,"17.0":0.03055,"17.1":0.04838,"17.2":0.04392,"17.3":0.06302,"17.4":0.13495,"17.5":0.64863,"17.6-17.7":3.45192,"18.0":0.43539,"18.1":0.01973},P:{"4":0.01054,"20":0.01054,"21":0.03163,"22":0.07381,"23":0.05272,"24":0.06326,"25":0.1687,"26":0.95948,_:"5.0-5.4 8.2 9.2 10.1 12.0 13.0 14.0 15.0","6.2-6.4":0.01054,"7.2-7.4":0.05272,"11.1-11.2":0.01054,"16.0":0.01054,"17.0":0.01054,"18.0":0.01054,"19.0":0.01054},I:{"0":0.03026,"3":0,"4":0,"2.1":0,"2.2":0,"2.3":0,"4.1":0,"4.2-4.3":0.00001,"4.4":0,"4.4.3-4.4.4":0.00005},K:{"0":0.64928,_:"10 11 12 11.1 11.5 12.1"},A:{"11":0.02752,_:"6 7 8 9 10 5.5"},N:{_:"10 11"},S:{_:"2.5 3.0-3.1"},J:{_:"7 10"},O:{"0":0.64321},H:{"0":0},L:{"0":51.91552},R:{_:"0"},M:{"0":0.07282},Q:{"14.9":0.00607}}; diff --git a/node_modules/caniuse-lite/data/regions/IE.js b/node_modules/caniuse-lite/data/regions/IE.js index f4c75d2c90..8b1a050b3b 100644 --- a/node_modules/caniuse-lite/data/regions/IE.js +++ b/node_modules/caniuse-lite/data/regions/IE.js @@ -1 +1 @@ -module.exports={C:{"38":0.02145,"41":0.00919,"43":0.0337,"44":0.11337,"45":0.02451,"52":0.00306,"59":0.00306,"72":0.00306,"78":0.01532,"88":0.00306,"102":0.00306,"103":0.01532,"107":0.04902,"115":0.22367,"116":0.00306,"119":0.00306,"121":0.00306,"122":0.01532,"123":0.00613,"124":0.0429,"125":0.56684,"126":0.4933,"127":0.00306,_:"2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 39 40 42 46 47 48 49 50 51 53 54 55 56 57 58 60 61 62 63 64 65 66 67 68 69 70 71 73 74 75 76 77 79 80 81 82 83 84 85 86 87 89 90 91 92 93 94 95 96 97 98 99 100 101 104 105 106 108 109 110 111 112 113 114 117 118 120 128 129 3.5 3.6"},D:{"38":0.00306,"39":0.00306,"44":0.00306,"47":0.02451,"48":0.3064,"49":0.12256,"51":0.00306,"53":0.00306,"63":0.00306,"74":0.00613,"76":0.00306,"79":0.02451,"81":0.03677,"83":0.00306,"85":0.00613,"86":0.09805,"87":0.04902,"88":0.01532,"89":0.01532,"90":0.00306,"91":0.22061,"92":0.00919,"93":0.05515,"94":0.00613,"95":0.00306,"96":0.00306,"98":0.00306,"99":0.00306,"100":0.09498,"101":0.19303,"102":0.1103,"103":0.15933,"104":0.13788,"105":0.03677,"106":0.00613,"107":0.00613,"108":0.00919,"109":0.35236,"110":0.01226,"111":0.00306,"112":0.00613,"113":0.07047,"114":0.14401,"115":0.01838,"116":0.15014,"117":0.05515,"118":0.01226,"119":0.03983,"120":0.08273,"121":1.73422,"122":0.26963,"123":0.71085,"124":10.88639,"125":3.54505,"126":0.00613,_:"4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 40 41 42 43 45 46 50 52 54 55 56 57 58 59 60 61 62 64 65 66 67 68 69 70 71 72 73 75 77 78 80 84 97 127 128"},F:{"46":0.00919,"95":0.00613,"107":0.15014,"108":0.00306,"109":0.45347,"110":0.01838,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 47 48 49 50 51 52 53 54 55 56 57 58 60 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 96 97 98 99 100 101 102 103 104 105 106 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"12":0.00613,"13":0.00613,"18":0.00306,"92":0.00306,"107":0.00306,"108":0.00306,"109":0.01838,"113":0.00306,"114":0.00306,"116":0.00613,"117":0.00613,"118":0.00306,"119":0.00306,"120":0.01838,"121":0.01838,"122":0.05209,"123":0.16239,"124":2.21834,"125":1.34816,_:"14 15 16 17 79 80 81 83 84 85 86 87 88 89 90 91 93 94 95 96 97 98 99 100 101 102 103 104 105 106 110 111 112 115"},E:{"8":0.00919,"9":0.03983,"13":0.00306,"14":0.10724,"15":0.00919,_:"0 4 5 6 7 10 11 12 3.1 3.2 5.1 6.1 7.1 9.1 10.1 17.6","11.1":0.00306,"12.1":0.00919,"13.1":0.05515,"14.1":0.11643,"15.1":0.00919,"15.2-15.3":0.02145,"15.4":0.03677,"15.5":0.03983,"15.6":0.29108,"16.0":0.06434,"16.1":0.0429,"16.2":0.07047,"16.3":0.18384,"16.4":0.02451,"16.5":0.05209,"16.6":0.34317,"17.0":0.0429,"17.1":0.11337,"17.2":0.08579,"17.3":0.09498,"17.4":1.65762,"17.5":0.15014},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.004,"5.0-5.1":0.004,"6.0-6.1":0.01,"7.0-7.1":0.014,"8.1-8.4":0.004,"9.0-9.2":0.01,"9.3":0.046,"10.0-10.2":0.008,"10.3":0.072,"11.0-11.2":0.106,"11.3-11.4":0.02,"12.0-12.1":0.012,"12.2-12.5":0.28999,"13.0-13.1":0.006,"13.2":0.028,"13.3":0.014,"13.4-13.7":0.064,"14.0-14.4":0.11,"14.5-14.8":0.16999,"15.0-15.1":0.082,"15.2-15.3":0.09,"15.4":0.102,"15.5":0.128,"15.6-15.8":1.15196,"16.0":0.26199,"16.1":0.53998,"16.2":0.26199,"16.3":0.45399,"16.4":0.096,"16.5":0.19399,"16.6-16.7":1.54595,"17.0":0.16799,"17.1":0.27399,"17.2":0.28599,"17.3":0.52798,"17.4":11.98962,"17.5":0.84597,"17.6":0},P:{"4":0.01049,"20":0.03148,"21":0.05246,"22":0.06296,"23":0.15739,"24":0.32527,"25":3.4206,_:"5.0-5.4 8.2 9.2 10.1 12.0 15.0 16.0","6.2-6.4":0.01049,"7.2-7.4":0.02099,"11.1-11.2":0.01049,"13.0":0.01049,"14.0":0.01049,"17.0":0.01049,"18.0":0.01049,"19.0":0.03148},I:{"0":0.08983,"3":0,"4":0.00001,"2.1":0,"2.2":0,"2.3":0,"4.1":0.00002,"4.2-4.3":0.00005,"4.4":0,"4.4.3-4.4.4":0.0002},K:{"0":0.17036,_:"10 11 12 11.1 11.5 12.1"},A:{"8":0.00636,"9":0.07955,"11":0.07955,_:"6 7 10 5.5"},S:{"2.5":0.00694,_:"3.0-3.1"},J:{_:"7 10"},N:{_:"10 11"},L:{"0":44.61361},R:{_:"0"},M:{"0":0.45091},Q:{_:"14.9"},O:{"0":0.02081},H:{"0":0.01}}; +module.exports={C:{"38":0.04334,"41":0.00333,"43":0.04001,"44":0.22004,"45":0.11002,"48":0.00333,"52":0.00333,"59":0.01,"68":0.00333,"74":0.00333,"78":0.01,"88":0.00333,"103":0.00333,"105":0.02334,"108":0.00333,"115":0.09669,"121":0.00333,"122":0.01,"123":0.00333,"125":0.01,"127":0.01,"128":0.1467,"129":0.20671,"130":0.8335,"131":0.00333,_:"2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 39 40 42 46 47 49 50 51 53 54 55 56 57 58 60 61 62 63 64 65 66 67 69 70 71 72 73 75 76 77 79 80 81 82 83 84 85 86 87 89 90 91 92 93 94 95 96 97 98 99 100 101 102 104 106 107 109 110 111 112 113 114 116 117 118 119 120 124 126 132 133 134 135 3.5 3.6"},D:{"38":0.00333,"39":0.00667,"40":0.00667,"41":0.00667,"42":0.00667,"43":0.00667,"44":0.00667,"45":0.00667,"46":0.01,"47":0.05001,"48":0.47676,"49":0.13336,"50":0.00667,"51":0.01,"52":0.01334,"53":0.01,"54":0.01334,"55":0.00667,"56":0.00667,"57":0.00667,"58":0.01,"59":0.00667,"60":0.00667,"61":0.00333,"62":0.00333,"63":0.00333,"65":0.00333,"66":0.00333,"74":0.01667,"75":0.10335,"76":0.00333,"78":0.00333,"79":0.03334,"81":0.03667,"83":0.00667,"85":0.00667,"86":0.00333,"87":0.03334,"88":0.01334,"89":0.02,"90":0.00333,"91":0.13336,"92":0.00667,"93":0.01334,"94":0.01,"96":0.02667,"98":0.00333,"100":0.00667,"101":0.00333,"102":0.00667,"103":0.09002,"104":0.00667,"105":0.01,"106":0.00667,"107":0.00667,"108":0.00333,"109":0.45009,"110":0.00333,"111":0.00333,"112":0.00667,"113":0.08668,"114":0.09335,"115":0.01334,"116":0.12669,"117":0.06668,"118":0.01667,"119":0.24338,"120":0.06668,"121":0.01334,"122":0.15336,"123":0.06668,"124":0.15336,"125":1.22024,"126":0.66013,"127":1.19691,"128":11.38228,"129":3.67073,"130":0.01,_:"4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 64 67 68 69 70 71 72 73 77 80 84 95 97 99 131 132 133"},F:{"36":0.00333,"46":0.01,"84":0.00667,"95":0.00667,"96":0.00333,"109":0.01334,"111":0.00333,"112":0.32673,"113":0.27005,"114":0.00333,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 37 38 39 40 41 42 43 44 45 47 48 49 50 51 52 53 54 55 56 57 58 60 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 85 86 87 88 89 90 91 92 93 94 97 98 99 100 101 102 103 104 105 106 107 108 110 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"12":0.01,"13":0.01,"18":0.00333,"92":0.00667,"102":0.00333,"107":0.00333,"109":0.01667,"110":0.00333,"113":0.00667,"114":0.00333,"116":0.00333,"117":0.00667,"119":0.00333,"120":0.01,"121":0.00333,"122":0.00333,"123":0.00333,"124":0.01334,"125":0.01334,"126":0.04668,"127":0.20004,"128":3.31066,"129":1.25692,"130":0.01667,_:"14 15 16 17 79 80 81 83 84 85 86 87 88 89 90 91 93 94 95 96 97 98 99 100 101 103 104 105 106 108 111 112 115 118"},E:{"8":0.02,"9":0.07001,"13":0.00333,"14":0.04334,"15":0.01,_:"0 4 5 6 7 10 11 12 3.1 3.2 5.1 6.1 7.1 9.1 10.1 11.1","12.1":0.00333,"13.1":0.04001,"14.1":0.09002,"15.1":0.01334,"15.2-15.3":0.01,"15.4":0.03334,"15.5":0.02667,"15.6":0.28339,"16.0":0.02667,"16.1":0.03667,"16.2":0.06001,"16.3":0.1467,"16.4":0.02,"16.5":0.04001,"16.6":0.28339,"17.0":0.01667,"17.1":0.05334,"17.2":0.06335,"17.3":0.05334,"17.4":0.15003,"17.5":0.34674,"17.6":1.88371,"18.0":0.12336,"18.1":0.00667},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.00393,"5.0-5.1":0.00197,"6.0-6.1":0.0118,"7.0-7.1":0.01377,"8.1-8.4":0,"9.0-9.2":0.0118,"9.3":0.03345,"10.0-10.2":0.00984,"10.3":0.05706,"11.0-11.2":0.21052,"11.3-11.4":0.01574,"12.0-12.1":0.00984,"12.2-12.5":0.23806,"13.0-13.1":0.00393,"13.2":0.07476,"13.3":0.00984,"13.4-13.7":0.03935,"14.0-14.4":0.0905,"14.5-14.8":0.12001,"15.0-15.1":0.06886,"15.2-15.3":0.06689,"15.4":0.07673,"15.5":0.09444,"15.6-15.8":0.93453,"16.0":0.18887,"16.1":0.37381,"16.2":0.18691,"16.3":0.31479,"16.4":0.06689,"16.5":0.13182,"16.6-16.7":1.12537,"17.0":0.09444,"17.1":0.14952,"17.2":0.13575,"17.3":0.19478,"17.4":0.4171,"17.5":2.00481,"17.6-17.7":10.66938,"18.0":1.34572,"18.1":0.06099},P:{"4":0.02097,"20":0.02097,"21":0.05243,"22":0.05243,"23":0.06291,"24":0.0734,"25":0.2831,"26":2.91488,_:"5.0-5.4 8.2 9.2 10.1 11.1-11.2 12.0 13.0 14.0 15.0 16.0 17.0 18.0","6.2-6.4":0.02097,"7.2-7.4":0.01049,"19.0":0.02097},I:{"0":0.07979,"3":0,"4":0,"2.1":0,"2.2":0,"2.3":0,"4.1":0.00001,"4.2-4.3":0.00003,"4.4":0,"4.4.3-4.4.4":0.00013},K:{"0":0.17668,_:"10 11 12 11.1 11.5 12.1"},A:{"8":0.00342,"9":0.02052,"11":0.10942,_:"6 7 10 5.5"},N:{_:"10 11"},S:{"2.5":0.00667,_:"3.0-3.1"},J:{_:"7 10"},O:{"0":0.02},H:{"0":0.01},L:{"0":42.75886},R:{_:"0"},M:{"0":0.50003},Q:{_:"14.9"}}; diff --git a/node_modules/caniuse-lite/data/regions/IL.js b/node_modules/caniuse-lite/data/regions/IL.js index 91912fcfcc..9373d25f33 100644 --- a/node_modules/caniuse-lite/data/regions/IL.js +++ b/node_modules/caniuse-lite/data/regions/IL.js @@ -1 +1 @@ -module.exports={C:{"24":0.00308,"25":0.00923,"26":0.02155,"27":0.00308,"28":0.00308,"29":0.00308,"31":0.00308,"33":0.00308,"36":0.00308,"51":0.00308,"52":0.01231,"56":0.01231,"59":0.01539,"68":0.00308,"78":0.00308,"80":0.03694,"88":0.00308,"102":0.00308,"103":0.00308,"105":0.00308,"106":0.00308,"107":0.00308,"108":0.00308,"110":0.00308,"111":0.00308,"113":0.01231,"115":0.14467,"119":0.00616,"120":0.00616,"121":0.00616,"122":0.00616,"123":0.01231,"124":0.06156,"125":0.53865,"126":0.41861,"127":0.00308,_:"2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 30 32 34 35 37 38 39 40 41 42 43 44 45 46 47 48 49 50 53 54 55 57 58 60 61 62 63 64 65 66 67 69 70 71 72 73 74 75 76 77 79 81 82 83 84 85 86 87 89 90 91 92 93 94 95 96 97 98 99 100 101 104 109 112 114 116 117 118 128 129 3.5 3.6"},D:{"12":0.00308,"31":0.03078,"32":0.00616,"35":0.00308,"38":0.01539,"40":0.00308,"41":0.00308,"49":0.00616,"51":0.00308,"52":0.01231,"55":0.00308,"56":0.00616,"61":0.00308,"65":0.00923,"66":0.07387,"68":0.00308,"69":0.00308,"70":0.00308,"71":0.00308,"72":0.00308,"74":0.00308,"75":0.00616,"76":0.00308,"78":0.00308,"79":0.04001,"80":0.00923,"81":0.00616,"83":0.01231,"84":0.00308,"85":0.00616,"86":0.00923,"87":0.03386,"88":0.00923,"89":0.00923,"90":0.00923,"91":0.02155,"92":0.00616,"94":0.00923,"95":0.00616,"96":0.01231,"97":0.01231,"98":0.00308,"99":0.00308,"100":0.00616,"101":0.00308,"102":0.01539,"103":0.02155,"104":0.01847,"105":0.00923,"106":0.02155,"107":0.01231,"108":0.04001,"109":0.96649,"110":0.00923,"111":0.01539,"112":0.01847,"113":0.07387,"114":0.08311,"115":0.02155,"116":0.06464,"117":0.01847,"118":0.02462,"119":0.06156,"120":0.11081,"121":0.11696,"122":0.20007,"123":0.88954,"124":14.4112,"125":5.43267,"126":0.00923,_:"4 5 6 7 8 9 10 11 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 33 34 36 37 39 42 43 44 45 46 47 48 50 53 54 57 58 59 60 62 63 64 67 73 77 93 127 128"},F:{"28":0.00308,"46":0.00923,"69":0.00308,"78":0.00308,"82":0.00308,"83":0.00308,"95":0.01539,"107":0.0985,"108":0.01539,"109":0.5602,"110":0.0277,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 47 48 49 50 51 52 53 54 55 56 57 58 60 62 63 64 65 66 67 68 70 71 72 73 74 75 76 77 79 80 81 84 85 86 87 88 89 90 91 92 93 94 96 97 98 99 100 101 102 103 104 105 106 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6","12.1":0.00308},B:{"15":0.00308,"17":0.00923,"18":0.00616,"92":0.00308,"98":0.00308,"104":0.00308,"107":0.00308,"108":0.00616,"109":0.02462,"110":0.00616,"112":0.00308,"113":0.00308,"114":0.00308,"115":0.00308,"117":0.00308,"118":0.00308,"119":0.00923,"120":0.01847,"121":0.01231,"122":0.02155,"123":0.12312,"124":1.65596,"125":0.8957,_:"12 13 14 16 79 80 81 83 84 85 86 87 88 89 90 91 93 94 95 96 97 99 100 101 102 103 105 106 111 116"},E:{"6":0.00308,"7":0.00308,"8":0.12312,"9":0.00308,"10":0.00308,"14":0.02155,"15":0.00308,_:"0 4 5 11 12 13 3.1 3.2 7.1 10.1 12.1 17.6","5.1":0.00308,"6.1":0.00616,"9.1":0.00616,"11.1":0.01539,"13.1":0.01539,"14.1":0.04309,"15.1":0.00308,"15.2-15.3":0.02462,"15.4":0.00308,"15.5":0.01539,"15.6":0.08311,"16.0":0.00616,"16.1":0.02462,"16.2":0.00923,"16.3":0.04617,"16.4":0.00616,"16.5":0.01539,"16.6":0.14159,"17.0":0.00923,"17.1":0.02155,"17.2":0.01847,"17.3":0.03694,"17.4":0.65561,"17.5":0.06772},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.00297,"5.0-5.1":0.00297,"6.0-6.1":0.00741,"7.0-7.1":0.01038,"8.1-8.4":0.00297,"9.0-9.2":0.00741,"9.3":0.0341,"10.0-10.2":0.00593,"10.3":0.05338,"11.0-11.2":0.07858,"11.3-11.4":0.01483,"12.0-12.1":0.0089,"12.2-12.5":0.21499,"13.0-13.1":0.00445,"13.2":0.02076,"13.3":0.01038,"13.4-13.7":0.04745,"14.0-14.4":0.08155,"14.5-14.8":0.12603,"15.0-15.1":0.06079,"15.2-15.3":0.06672,"15.4":0.07562,"15.5":0.09489,"15.6-15.8":0.85403,"16.0":0.19423,"16.1":0.40033,"16.2":0.19423,"16.3":0.33657,"16.4":0.07117,"16.5":0.14382,"16.6-16.7":1.14612,"17.0":0.12455,"17.1":0.20313,"17.2":0.21203,"17.3":0.39143,"17.4":8.88874,"17.5":0.62718,"17.6":0},P:{"4":0.06143,"20":0.07167,"21":0.09215,"22":0.15359,"23":0.29694,"24":0.60411,"25":6.77831,_:"5.0-5.4 6.2-6.4 8.2 10.1 12.0","7.2-7.4":0.01024,"9.2":0.01024,"11.1-11.2":0.04096,"13.0":0.0512,"14.0":0.03072,"15.0":0.01024,"16.0":0.03072,"17.0":0.03072,"18.0":0.02048,"19.0":0.07167},I:{"0":0.03448,"3":0,"4":0,"2.1":0,"2.2":0,"2.3":0,"4.1":0.00001,"4.2-4.3":0.00002,"4.4":0,"4.4.3-4.4.4":0.00008},K:{"0":0.29457,_:"10 11 12 11.1 11.5 12.1"},A:{"8":0.00616,"9":0.00616,"10":0.00616,"11":0.0554,_:"6 7 5.5"},S:{_:"2.5 3.0-3.1"},J:{_:"7 10"},N:{_:"10 11"},L:{"0":45.93321},R:{_:"0"},M:{"0":0.20766},Q:{_:"14.9"},O:{"0":0.02769},H:{"0":0.01}}; +module.exports={C:{"24":0.00296,"25":0.00593,"26":0.01778,"27":0.00296,"28":0.00296,"31":0.00296,"33":0.00296,"36":0.00296,"51":0.00296,"52":0.00593,"78":0.00296,"89":0.00296,"101":0.00593,"102":0.01482,"103":0.00296,"105":0.00296,"107":0.00296,"110":0.00296,"112":0.00296,"113":0.00889,"115":0.14524,"119":0.00593,"120":0.00593,"122":0.00296,"123":0.00889,"124":0.00296,"125":0.01186,"126":0.00296,"127":0.01186,"128":0.01186,"129":0.16598,"130":0.7736,"131":0.00296,_:"2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 29 30 32 34 35 37 38 39 40 41 42 43 44 45 46 47 48 49 50 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 79 80 81 82 83 84 85 86 87 88 90 91 92 93 94 95 96 97 98 99 100 104 106 108 109 111 114 116 117 118 121 132 133 134 135 3.5 3.6"},D:{"12":0.00296,"31":0.02668,"32":0.00593,"35":0.00296,"37":0.00296,"38":0.01482,"40":0.00296,"41":0.00296,"49":0.00296,"51":0.00296,"55":0.00296,"56":0.01186,"65":0.00593,"69":0.00296,"74":0.00593,"75":0.00296,"76":0.00296,"77":0.00889,"78":0.00296,"79":0.02964,"80":0.00593,"81":0.00593,"83":0.00889,"84":0.00296,"85":0.00296,"86":0.00593,"87":0.02964,"88":0.00593,"89":0.00593,"90":0.00593,"91":0.02964,"92":0.00296,"94":0.00593,"95":0.00296,"96":0.00296,"97":0.00296,"98":0.00296,"99":0.00296,"100":0.00593,"101":0.02075,"102":0.01482,"103":0.02075,"104":0.01778,"105":0.00593,"106":0.01482,"107":0.01186,"108":0.03557,"109":0.77953,"110":0.00889,"111":0.00593,"112":0.00593,"113":0.06817,"114":0.07706,"115":0.01186,"116":0.05335,"117":0.00593,"118":0.01482,"119":0.0326,"120":0.05039,"121":0.02964,"122":0.08003,"123":0.0415,"124":0.06817,"125":0.07114,"126":0.21934,"127":0.88031,"128":13.8152,"129":5.83019,"130":0.00889,"131":0.00889,_:"4 5 6 7 8 9 10 11 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 33 34 36 39 42 43 44 45 46 47 48 50 52 53 54 57 58 59 60 61 62 63 64 66 67 68 70 71 72 73 93 132 133"},F:{"46":0.00593,"78":0.00296,"83":0.00296,"84":0.01186,"85":0.00296,"95":0.02371,"109":0.00593,"111":0.00296,"112":0.36457,"113":0.28751,"114":0.00889,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 47 48 49 50 51 52 53 54 55 56 57 58 60 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 79 80 81 82 86 87 88 89 90 91 92 93 94 96 97 98 99 100 101 102 103 104 105 106 107 108 110 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6","12.1":0.00296},B:{"18":0.00889,"89":0.00296,"92":0.00593,"104":0.00296,"107":0.00296,"109":0.02075,"110":0.00593,"112":0.00296,"114":0.00296,"115":0.00296,"116":0.00296,"119":0.00889,"120":0.01186,"121":0.00889,"122":0.00593,"123":0.00593,"124":0.01482,"125":0.01186,"126":0.02668,"127":0.1067,"128":1.58278,"129":0.79435,_:"12 13 14 15 16 17 79 80 81 83 84 85 86 87 88 90 91 93 94 95 96 97 98 99 100 101 102 103 105 106 108 111 113 117 118 130"},E:{"7":0.00296,"8":0.10967,"9":0.00296,"10":0.00296,"14":0.02075,"15":0.00296,_:"0 4 5 6 11 12 13 3.1 3.2 7.1 10.1 11.1 12.1","5.1":0.00296,"6.1":0.00593,"9.1":0.00296,"13.1":0.00889,"14.1":0.03853,"15.1":0.00296,"15.2-15.3":0.01186,"15.4":0.00296,"15.5":0.01482,"15.6":0.06817,"16.0":0.00593,"16.1":0.01482,"16.2":0.00889,"16.3":0.03853,"16.4":0.00296,"16.5":0.01482,"16.6":0.12152,"17.0":0.00296,"17.1":0.02075,"17.2":0.01186,"17.3":0.01778,"17.4":0.0326,"17.5":0.10078,"17.6":0.59873,"18.0":0.08299,"18.1":0.00889},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.00284,"5.0-5.1":0.00142,"6.0-6.1":0.00852,"7.0-7.1":0.00994,"8.1-8.4":0,"9.0-9.2":0.00852,"9.3":0.02413,"10.0-10.2":0.0071,"10.3":0.04117,"11.0-11.2":0.1519,"11.3-11.4":0.01136,"12.0-12.1":0.0071,"12.2-12.5":0.17178,"13.0-13.1":0.00284,"13.2":0.05395,"13.3":0.0071,"13.4-13.7":0.02839,"14.0-14.4":0.0653,"14.5-14.8":0.0866,"15.0-15.1":0.04969,"15.2-15.3":0.04827,"15.4":0.05537,"15.5":0.06814,"15.6-15.8":0.67434,"16.0":0.13629,"16.1":0.26974,"16.2":0.13487,"16.3":0.22715,"16.4":0.04827,"16.5":0.09512,"16.6-16.7":0.81205,"17.0":0.06814,"17.1":0.10789,"17.2":0.09796,"17.3":0.14055,"17.4":0.30097,"17.5":1.44664,"17.6-17.7":7.69883,"18.0":0.97105,"18.1":0.04401},P:{"4":0.01027,"20":0.03082,"21":0.06164,"22":0.15409,"23":0.14382,"24":0.12327,"25":0.71909,"26":6.39992,_:"5.0-5.4 8.2 10.1 12.0","6.2-6.4":0.01027,"7.2-7.4":0.01027,"9.2":0.01027,"11.1-11.2":0.03082,"13.0":0.03082,"14.0":0.03082,"15.0":0.01027,"16.0":0.02055,"17.0":0.02055,"18.0":0.01027,"19.0":0.03082},I:{"0":0.02105,"3":0,"4":0,"2.1":0,"2.2":0,"2.3":0,"4.1":0,"4.2-4.3":0.00001,"4.4":0,"4.4.3-4.4.4":0.00003},K:{"0":0.33472,_:"10 11 12 11.1 11.5 12.1"},A:{"8":0.00615,"9":0.00615,"10":0.00615,"11":0.06455,_:"6 7 5.5"},N:{_:"10 11"},S:{_:"2.5 3.0-3.1"},J:{_:"7 10"},O:{"0":0.03518},H:{"0":0.01},L:{"0":47.8935},R:{_:"0"},M:{"0":0.24623},Q:{_:"14.9"}}; diff --git a/node_modules/caniuse-lite/data/regions/IM.js b/node_modules/caniuse-lite/data/regions/IM.js index a63deef6e3..be8c95e3bc 100644 --- a/node_modules/caniuse-lite/data/regions/IM.js +++ b/node_modules/caniuse-lite/data/regions/IM.js @@ -1 +1 @@ -module.exports={C:{"2":0.00359,"3":0.00359,"4":0.00359,"5":0.00359,"10":0.00359,"13":0.00359,"19":0.00359,"25":0.00359,"27":0.00359,"31":0.00359,"32":0.00359,"33":0.00359,"35":0.00359,"37":0.00359,"38":0.00359,"39":0.00359,"40":0.00359,"41":0.00359,"43":0.00359,"96":0.01436,"99":0.00359,"102":0.21546,"103":0.81516,"104":0.01077,"105":0.01436,"113":0.00359,"115":0.54583,"120":0.00718,"121":0.00359,"122":0.00359,"123":0.00359,"124":0.09696,"125":0.64638,"126":0.62124,_:"6 7 8 9 11 12 14 15 16 17 18 20 21 22 23 24 26 28 29 30 34 36 42 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 97 98 100 101 106 107 108 109 110 111 112 114 116 117 118 119 127 128 129","3.5":0.00359,"3.6":0.00718},D:{"10":0.00359,"18":0.00359,"21":0.00718,"28":0.00359,"29":0.00359,"31":0.00359,"32":0.00359,"36":0.00359,"37":0.00718,"38":0.00718,"39":0.01077,"40":0.00359,"41":0.00718,"42":0.01436,"43":0.01796,"44":0.02514,"45":0.01796,"46":0.02155,"47":0.01436,"51":0.02873,"70":0.00718,"76":0.00718,"86":0.01077,"87":0.00359,"93":0.00359,"95":0.01436,"98":0.00359,"102":0.18314,"103":0.23342,"104":1.71291,"105":0.05027,"108":0.00359,"109":0.45247,"113":0.00359,"114":0.00718,"115":0.00718,"116":0.35551,"117":0.00718,"118":0.02155,"119":0.06105,"120":0.079,"121":0.16878,"122":0.05746,"123":0.49915,"124":8.90568,"125":2.60348,_:"4 5 6 7 8 9 11 12 13 14 15 16 17 19 20 22 23 24 25 26 27 30 33 34 35 48 49 50 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 71 72 73 74 75 77 78 79 80 81 83 84 85 88 89 90 91 92 94 96 97 99 100 101 106 107 110 111 112 126 127 128"},F:{"31":0.00718,"32":0.00359,"86":0.00359,"107":0.05387,"108":0.00359,"109":0.60688,"110":0.07541,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 60 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6","12.1":0.00359},B:{"12":0.00359,"107":0.01436,"109":0.01436,"118":0.00359,"120":0.01077,"122":0.00718,"123":0.1616,"124":5.39727,"125":2.05764,_:"13 14 15 16 17 18 79 80 81 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 108 110 111 112 113 114 115 116 117 119 121"},E:{"5":0.00359,"7":0.00359,"9":0.04668,"12":0.00359,"13":0.00718,"14":0.0395,_:"0 4 6 8 10 11 15 3.1 3.2 9.1 10.1 11.1 17.6","5.1":0.00359,"6.1":0.00359,"7.1":0.00359,"12.1":0.03232,"13.1":0.15082,"14.1":0.06823,"15.1":0.02514,"15.2-15.3":0.03232,"15.4":0.01436,"15.5":0.10414,"15.6":0.54224,"16.0":0.01796,"16.1":0.04668,"16.2":0.08978,"16.3":0.29087,"16.4":0.02155,"16.5":0.05746,"16.6":0.75411,"17.0":0.02514,"17.1":0.06464,"17.2":0.48479,"17.3":0.06464,"17.4":4.58571,"17.5":0.26573},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.00767,"5.0-5.1":0.00767,"6.0-6.1":0.01917,"7.0-7.1":0.02683,"8.1-8.4":0.00767,"9.0-9.2":0.01917,"9.3":0.08816,"10.0-10.2":0.01533,"10.3":0.138,"11.0-11.2":0.20316,"11.3-11.4":0.03833,"12.0-12.1":0.023,"12.2-12.5":0.55582,"13.0-13.1":0.0115,"13.2":0.05367,"13.3":0.02683,"13.4-13.7":0.12266,"14.0-14.4":0.21083,"14.5-14.8":0.32582,"15.0-15.1":0.15716,"15.2-15.3":0.1725,"15.4":0.19549,"15.5":0.24533,"15.6-15.8":2.20794,"16.0":0.50215,"16.1":1.03497,"16.2":0.50215,"16.3":0.87014,"16.4":0.18399,"16.5":0.37182,"16.6-16.7":2.96308,"17.0":0.32199,"17.1":0.52515,"17.2":0.54815,"17.3":1.01197,"17.4":22.98017,"17.5":1.62145,"17.6":0},P:{"4":0.01103,"20":0.05513,"21":0.02205,"22":0.01103,"23":0.0441,"24":0.25358,"25":2.54684,_:"5.0-5.4 7.2-7.4 8.2 9.2 10.1 11.1-11.2 12.0 13.0 14.0 16.0 18.0 19.0","6.2-6.4":0.02205,"15.0":0.01103,"17.0":0.1764},I:{"0":0.24259,"3":0,"4":0.00002,"2.1":0,"2.2":0,"2.3":0,"4.1":0.00005,"4.2-4.3":0.00015,"4.4":0,"4.4.3-4.4.4":0.00054},K:{"0":0.24354,_:"10 11 12 11.1 11.5 12.1"},A:{"6":0.00728,"7":0.01091,"8":0.12368,"9":0.02183,"10":0.0291,"11":0.08003,_:"5.5"},S:{"2.5":0.00641,_:"3.0-3.1"},J:{_:"7 10"},N:{_:"10 11"},L:{"0":20.89299},R:{_:"0"},M:{"0":0.86522},Q:{_:"14.9"},O:{"0":0.02564},H:{"0":0}}; +module.exports={C:{"115":0.18885,"118":0.00429,"122":0.00429,"123":0.00429,"126":0.00429,"127":0.00858,"128":0.00858,"129":0.33478,"130":1.12021,"131":0.00429,_:"2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 116 117 119 120 121 124 125 132 133 134 135 3.5 3.6"},D:{"49":0.00429,"76":0.01717,"79":0.01288,"86":0.00429,"87":0.00429,"89":0.01717,"91":0.03863,"92":0.00429,"93":0.01717,"98":0.04721,"99":0.03863,"101":0.09872,"103":0.2146,"105":0.00429,"107":0.00429,"108":0.01288,"109":0.6996,"111":0.13734,"112":0.01717,"114":0.04292,"115":0.00429,"116":0.66097,"117":0.00429,"118":0.00858,"119":0.03434,"120":0.13734,"121":0.08155,"122":0.06438,"123":0.03004,"124":0.77256,"125":0.08155,"126":0.73822,"127":1.26185,"128":10.00465,"129":3.83705,_:"4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 77 78 80 81 83 84 85 88 90 94 95 96 97 100 102 104 106 110 113 130 131 132 133"},F:{"84":0.01288,"108":0.00429,"109":0.00858,"111":0.00429,"112":0.50216,"113":1.3391,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 60 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 110 114 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"98":0.00429,"107":0.03863,"109":0.04292,"114":0.00429,"118":0.01288,"119":0.00429,"120":0.01288,"122":0.00429,"123":0.00858,"124":0.00858,"125":0.00429,"126":0.01717,"127":0.30902,"128":6.93587,"129":1.93998,_:"12 13 14 15 16 17 18 79 80 81 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 99 100 101 102 103 104 105 106 108 110 111 112 113 115 116 117 121 130"},E:{"12":0.00429,"14":0.03863,_:"0 4 5 6 7 8 9 10 11 13 15 3.1 3.2 5.1 6.1 7.1 9.1 10.1 11.1 15.4","12.1":0.06438,"13.1":0.12876,"14.1":0.07726,"15.1":0.11588,"15.2-15.3":0.02575,"15.5":0.06009,"15.6":0.48929,"16.0":0.01288,"16.1":0.02575,"16.2":0.04721,"16.3":0.12876,"16.4":0.02146,"16.5":0.03434,"16.6":0.88844,"17.0":0.02146,"17.1":0.02146,"17.2":0.24035,"17.3":0.04292,"17.4":1.11163,"17.5":0.53221,"17.6":5.92725,"18.0":0.17168,"18.1":0.00858},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.00614,"5.0-5.1":0.00307,"6.0-6.1":0.01841,"7.0-7.1":0.02148,"8.1-8.4":0,"9.0-9.2":0.01841,"9.3":0.05217,"10.0-10.2":0.01534,"10.3":0.08899,"11.0-11.2":0.32834,"11.3-11.4":0.02455,"12.0-12.1":0.01534,"12.2-12.5":0.3713,"13.0-13.1":0.00614,"13.2":0.11661,"13.3":0.01534,"13.4-13.7":0.06137,"14.0-14.4":0.14116,"14.5-14.8":0.18719,"15.0-15.1":0.1074,"15.2-15.3":0.10433,"15.4":0.11968,"15.5":0.14729,"15.6-15.8":1.45759,"16.0":0.29459,"16.1":0.58304,"16.2":0.29152,"16.3":0.49098,"16.4":0.10433,"16.5":0.2056,"16.6-16.7":1.75525,"17.0":0.14729,"17.1":0.23322,"17.2":0.21173,"17.3":0.30379,"17.4":0.65055,"17.5":3.12692,"17.6-17.7":16.64113,"18.0":2.09894,"18.1":0.09513},P:{"4":0.04428,"20":0.03321,"21":0.04428,"22":0.02214,"23":0.07749,"24":0.24355,"25":0.21034,"26":3.49828,_:"5.0-5.4 7.2-7.4 8.2 9.2 10.1 11.1-11.2 12.0 13.0 14.0 16.0 17.0 18.0 19.0","6.2-6.4":0.02214,"15.0":0.01107},I:{"0":0.01708,"3":0,"4":0,"2.1":0,"2.2":0,"2.3":0,"4.1":0,"4.2-4.3":0.00001,"4.4":0,"4.4.3-4.4.4":0.00003},K:{"0":0.36531,_:"10 11 12 11.1 11.5 12.1"},A:{"11":0.00429,_:"6 7 8 9 10 5.5"},N:{_:"10 11"},S:{_:"2.5 3.0-3.1"},J:{_:"7 10"},O:{_:"0"},H:{"0":0},L:{"0":20.46092},R:{_:"0"},M:{"0":0.99319},Q:{_:"14.9"}}; diff --git a/node_modules/caniuse-lite/data/regions/IN.js b/node_modules/caniuse-lite/data/regions/IN.js index 920f98b09c..1fdf8b12ce 100644 --- a/node_modules/caniuse-lite/data/regions/IN.js +++ b/node_modules/caniuse-lite/data/regions/IN.js @@ -1 +1 @@ -module.exports={C:{"42":0.00598,"47":0.00199,"52":0.00797,"59":0.00199,"62":0.00199,"66":0.00199,"72":0.00199,"88":0.00598,"101":0.00199,"102":0.00199,"103":0.00199,"107":0.00199,"108":0.00199,"110":0.00199,"111":0.00199,"112":0.00199,"113":0.02191,"114":0.00199,"115":0.2231,"116":0.00199,"118":0.00199,"121":0.00199,"122":0.00398,"123":0.00598,"124":0.01594,"125":0.2988,"126":0.25298,"127":0.00797,_:"2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 43 44 45 46 48 49 50 51 53 54 55 56 57 58 60 61 63 64 65 67 68 69 70 71 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 89 90 91 92 93 94 95 96 97 98 99 100 104 105 106 109 117 119 120 128 129 3.5 3.6"},D:{"30":0.00199,"49":0.00398,"55":0.00199,"56":0.00199,"63":0.00199,"64":0.00199,"66":0.01594,"68":0.00199,"69":0.00199,"70":0.00398,"71":0.00398,"72":0.00199,"73":0.00199,"74":0.00598,"77":0.00199,"78":0.00199,"79":0.00797,"80":0.00398,"81":0.00398,"83":0.00398,"84":0.00199,"85":0.00199,"86":0.00598,"87":0.01394,"88":0.00199,"89":0.00199,"90":0.00398,"91":0.00398,"92":0.00199,"93":0.00398,"94":0.00598,"95":0.00398,"96":0.00398,"97":0.00598,"98":0.00797,"99":0.00398,"100":0.00398,"101":0.01992,"102":0.00797,"103":0.02191,"104":0.00996,"105":0.00996,"106":0.01394,"107":0.00996,"108":0.03984,"109":1.97806,"110":0.00797,"111":0.02988,"112":0.01594,"113":0.01793,"114":0.03386,"115":0.04582,"116":0.03984,"117":0.04582,"118":0.02988,"119":0.05378,"120":0.09163,"121":0.08964,"122":0.17729,"123":0.50597,"124":8.68114,"125":3.32465,"126":0.01195,"127":0.00199,_:"4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 50 51 52 53 54 57 58 59 60 61 62 65 67 75 76 128"},F:{"28":0.00199,"46":0.00199,"79":0.00199,"82":0.00199,"83":0.00199,"95":0.01793,"107":0.01195,"108":0.00398,"109":0.13944,"110":0.01594,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 47 48 49 50 51 52 53 54 55 56 57 58 60 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 80 81 84 85 86 87 88 89 90 91 92 93 94 96 97 98 99 100 101 102 103 104 105 106 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"12":0.00398,"15":0.00199,"16":0.00199,"17":0.00199,"18":0.00398,"92":0.00797,"100":0.00199,"107":0.00199,"108":0.00199,"109":0.01394,"114":0.00199,"115":0.00199,"116":0.00199,"117":0.00199,"118":0.00199,"119":0.00199,"120":0.00598,"121":0.00598,"122":0.01394,"123":0.0259,"124":0.65537,"125":0.35458,_:"13 14 79 80 81 83 84 85 86 87 88 89 90 91 93 94 95 96 97 98 99 101 102 103 104 105 106 110 111 112 113"},E:{"14":0.00199,_:"0 4 5 6 7 8 9 10 11 12 13 15 3.1 3.2 5.1 6.1 7.1 9.1 10.1 12.1 15.1 15.2-15.3 17.6","11.1":0.00199,"13.1":0.00398,"14.1":0.00598,"15.4":0.00199,"15.5":0.00199,"15.6":0.01394,"16.0":0.00398,"16.1":0.00398,"16.2":0.00199,"16.3":0.00598,"16.4":0.00199,"16.5":0.00797,"16.6":0.01793,"17.0":0.00398,"17.1":0.00797,"17.2":0.00996,"17.3":0.00996,"17.4":0.10956,"17.5":0.0259},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.00042,"5.0-5.1":0.00042,"6.0-6.1":0.00105,"7.0-7.1":0.00147,"8.1-8.4":0.00042,"9.0-9.2":0.00105,"9.3":0.00483,"10.0-10.2":0.00084,"10.3":0.00755,"11.0-11.2":0.01112,"11.3-11.4":0.0021,"12.0-12.1":0.00126,"12.2-12.5":0.03042,"13.0-13.1":0.00063,"13.2":0.00294,"13.3":0.00147,"13.4-13.7":0.00671,"14.0-14.4":0.01154,"14.5-14.8":0.01783,"15.0-15.1":0.0086,"15.2-15.3":0.00944,"15.4":0.0107,"15.5":0.01343,"15.6-15.8":0.12085,"16.0":0.02749,"16.1":0.05665,"16.2":0.02749,"16.3":0.04763,"16.4":0.01007,"16.5":0.02035,"16.6-16.7":0.16218,"17.0":0.01762,"17.1":0.02874,"17.2":0.03,"17.3":0.05539,"17.4":1.25781,"17.5":0.08875,"17.6":0},P:{"4":0.05293,"20":0.01059,"21":0.03176,"22":0.04234,"23":0.09527,"24":0.13761,"25":0.434,_:"5.0-5.4 8.2 10.1 12.0 14.0 15.0 16.0 18.0","6.2-6.4":0.01059,"7.2-7.4":0.05293,"9.2":0.01059,"11.1-11.2":0.01059,"13.0":0.01059,"17.0":0.01059,"19.0":0.01059},I:{"0":0.04786,"3":0,"4":0,"2.1":0,"2.2":0,"2.3":0,"4.1":0.00001,"4.2-4.3":0.00003,"4.4":0,"4.4.3-4.4.4":0.00011},K:{"0":3.42149,_:"10 11 12 11.1 11.5 12.1"},A:{"8":0.00199,"9":0.01594,"10":0.00199,"11":0.02191,_:"6 7 5.5"},S:{"2.5":0.66466,_:"3.0-3.1"},J:{_:"7 10"},N:{_:"10 11"},L:{"0":72.91962},R:{_:"0"},M:{"0":0.16016},Q:{_:"14.9"},O:{"0":1.5055},H:{"0":0.07}}; +module.exports={C:{"42":0.00793,"52":0.00595,"59":0.00198,"83":0.00198,"88":0.00397,"91":0.00198,"102":0.00198,"103":0.00198,"108":0.00198,"113":0.00397,"115":0.20425,"121":0.00198,"123":0.00198,"124":0.00198,"125":0.00198,"126":0.00198,"127":0.00595,"128":0.05751,"129":0.09915,"130":0.45014,"131":0.01388,_:"2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 43 44 45 46 47 48 49 50 51 53 54 55 56 57 58 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 84 85 86 87 89 90 92 93 94 95 96 97 98 99 100 101 104 105 106 107 109 110 111 112 114 116 117 118 119 120 122 132 133 134 135 3.5 3.6"},D:{"49":0.00198,"56":0.00397,"66":0.00992,"68":0.00198,"69":0.00198,"70":0.00198,"71":0.00397,"72":0.00198,"73":0.00397,"74":0.00397,"76":0.00198,"78":0.00198,"79":0.00595,"80":0.00397,"81":0.00397,"83":0.00397,"85":0.00198,"86":0.00397,"87":0.01388,"88":0.00198,"89":0.00198,"90":0.00198,"91":0.00397,"92":0.00198,"93":0.00198,"94":0.00595,"95":0.00198,"96":0.00198,"97":0.00397,"98":0.00397,"99":0.00397,"100":0.00198,"101":0.00793,"102":0.00198,"103":0.01586,"104":0.00595,"105":0.00595,"106":0.00992,"107":0.00793,"108":0.0238,"109":1.72918,"110":0.00595,"111":0.01785,"112":0.00992,"113":0.0119,"114":0.01785,"115":0.00992,"116":0.0238,"117":0.02578,"118":0.01983,"119":0.03768,"120":0.04164,"121":0.02776,"122":0.05751,"123":0.04958,"124":0.07337,"125":0.0813,"126":0.23598,"127":0.93994,"128":9.30225,"129":2.91898,"130":0.00992,"131":0.00198,_:"4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 50 51 52 53 54 55 57 58 59 60 61 62 63 64 65 67 75 77 84 132 133"},F:{"79":0.00198,"83":0.00397,"84":0.03173,"85":0.00198,"95":0.01785,"109":0.00198,"112":0.09518,"113":0.07337,"114":0.00397,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 60 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 80 81 82 86 87 88 89 90 91 92 93 94 96 97 98 99 100 101 102 103 104 105 106 107 108 110 111 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"17":0.00198,"18":0.00198,"92":0.00595,"100":0.00198,"107":0.00198,"108":0.00198,"109":0.00992,"114":0.00992,"119":0.00198,"120":0.00198,"121":0.00198,"122":0.00198,"123":0.00198,"124":0.00397,"125":0.00595,"126":0.01388,"127":0.03173,"128":0.74561,"129":0.30538,"130":0.00198,_:"12 13 14 15 16 79 80 81 83 84 85 86 87 88 89 90 91 93 94 95 96 97 98 99 101 102 103 104 105 106 110 111 112 113 115 116 117 118"},E:{"14":0.00198,_:"0 4 5 6 7 8 9 10 11 12 13 15 3.1 3.2 5.1 6.1 7.1 9.1 10.1 12.1 15.2-15.3 15.4","11.1":0.00198,"13.1":0.00198,"14.1":0.00397,"15.1":0.00198,"15.5":0.00198,"15.6":0.0119,"16.0":0.00198,"16.1":0.00198,"16.2":0.00198,"16.3":0.00198,"16.4":0.00198,"16.5":0.00397,"16.6":0.01388,"17.0":0.00397,"17.1":0.00397,"17.2":0.00397,"17.3":0.00397,"17.4":0.01388,"17.5":0.02975,"17.6":0.10113,"18.0":0.03371,"18.1":0.00198},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.0004,"5.0-5.1":0.0002,"6.0-6.1":0.00119,"7.0-7.1":0.00139,"8.1-8.4":0,"9.0-9.2":0.00119,"9.3":0.00338,"10.0-10.2":0.00099,"10.3":0.00577,"11.0-11.2":0.02127,"11.3-11.4":0.00159,"12.0-12.1":0.00099,"12.2-12.5":0.02406,"13.0-13.1":0.0004,"13.2":0.00756,"13.3":0.00099,"13.4-13.7":0.00398,"14.0-14.4":0.00915,"14.5-14.8":0.01213,"15.0-15.1":0.00696,"15.2-15.3":0.00676,"15.4":0.00775,"15.5":0.00954,"15.6-15.8":0.09444,"16.0":0.01909,"16.1":0.03778,"16.2":0.01889,"16.3":0.03181,"16.4":0.00676,"16.5":0.01332,"16.6-16.7":0.11373,"17.0":0.00954,"17.1":0.01511,"17.2":0.01372,"17.3":0.01968,"17.4":0.04215,"17.5":0.2026,"17.6-17.7":1.07821,"18.0":0.13599,"18.1":0.00616},P:{"4":0.0314,"20":0.01047,"21":0.02093,"22":0.02093,"23":0.04187,"24":0.0314,"25":0.11513,"26":0.42913,_:"5.0-5.4 6.2-6.4 8.2 9.2 10.1 11.1-11.2 12.0 13.0 14.0 15.0 16.0 18.0","7.2-7.4":0.0314,"17.0":0.01047,"19.0":0.01047},I:{"0":0.01599,"3":0,"4":0,"2.1":0,"2.2":0,"2.3":0,"4.1":0,"4.2-4.3":0.00001,"4.4":0,"4.4.3-4.4.4":0.00003},K:{"0":3.12878,_:"10 11 12 11.1 11.5 12.1"},A:{"8":0.00218,"10":0.00218,"11":0.01745,_:"6 7 9 5.5"},N:{_:"10 11"},S:{"2.5":0.15232,_:"3.0-3.1"},J:{_:"7 10"},O:{"0":1.6996},H:{"0":0.07},L:{"0":73.49325},R:{_:"0"},M:{"0":0.14431},Q:{_:"14.9"}}; diff --git a/node_modules/caniuse-lite/data/regions/IQ.js b/node_modules/caniuse-lite/data/regions/IQ.js index 7f119a3947..757935d595 100644 --- a/node_modules/caniuse-lite/data/regions/IQ.js +++ b/node_modules/caniuse-lite/data/regions/IQ.js @@ -1 +1 @@ -module.exports={C:{"34":0.00107,"52":0.00107,"66":0.00107,"68":0.00534,"69":0.00748,"88":0.00107,"97":0.00107,"99":0.00107,"115":0.06942,"120":0.00107,"121":0.00107,"122":0.00534,"123":0.01495,"124":0.0032,"125":0.0769,"126":0.05874,_:"2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 53 54 55 56 57 58 59 60 61 62 63 64 65 67 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 89 90 91 92 93 94 95 96 98 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 116 117 118 119 127 128 129 3.5 3.6"},D:{"11":0.01175,"33":0.00107,"34":0.00214,"38":0.01495,"40":0.00107,"41":0.00107,"43":0.02136,"47":0.00214,"49":0.00107,"50":0.00107,"51":0.00107,"53":0.00107,"55":0.00107,"56":0.00534,"57":0.00107,"58":0.00961,"60":0.00107,"63":0.0032,"64":0.00214,"65":0.00427,"66":0.00427,"67":0.00107,"68":0.00534,"69":0.00534,"70":0.01282,"71":0.00214,"72":0.0032,"73":0.01922,"74":0.00107,"75":0.00854,"76":0.00107,"77":0.00107,"78":0.00214,"79":0.05981,"80":0.00107,"81":0.00427,"83":0.04806,"84":0.00214,"85":0.00107,"86":0.00534,"87":0.04272,"88":0.00961,"89":0.00534,"90":0.0032,"91":0.00214,"92":0.00107,"93":0.00427,"94":0.00961,"95":0.0267,"96":0.0032,"97":0.0032,"98":0.04272,"99":0.0235,"100":0.00427,"101":0.00214,"102":0.01922,"103":0.03952,"104":0.0032,"105":0.01282,"106":0.00427,"107":0.00427,"108":0.00427,"109":0.83731,"110":0.03097,"111":0.00534,"112":0.03204,"113":0.0032,"114":0.01602,"115":0.00214,"116":0.01175,"117":0.00748,"118":0.00534,"119":0.06088,"120":0.03631,"121":0.02136,"122":0.03631,"123":0.09612,"124":2.43824,"125":1.05091,"126":0.0032,"127":0.00107,_:"4 5 6 7 8 9 10 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 35 36 37 39 42 44 45 46 48 52 54 59 61 62 128"},F:{"28":0.00214,"46":0.00214,"79":0.0032,"80":0.00107,"82":0.00107,"84":0.00214,"85":0.00107,"95":0.02243,"107":0.0267,"108":0.00214,"109":0.16874,"110":0.01602,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 47 48 49 50 51 52 53 54 55 56 57 58 60 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 81 83 86 87 88 89 90 91 92 93 94 96 97 98 99 100 101 102 103 104 105 106 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"12":0.00107,"16":0.00107,"18":0.00534,"84":0.00107,"92":0.00854,"98":0.00107,"100":0.00107,"109":0.01282,"114":0.00107,"116":0.00107,"119":0.00214,"120":0.00214,"121":0.00534,"122":0.00641,"123":0.03524,"124":0.34924,"125":0.18904,_:"13 14 15 17 79 80 81 83 85 86 87 88 89 90 91 93 94 95 96 97 99 101 102 103 104 105 106 107 108 110 111 112 113 115 117 118"},E:{"13":0.00107,"14":0.00748,_:"0 4 5 6 7 8 9 10 11 12 15 3.1 3.2 6.1 7.1 9.1 10.1 11.1 17.6","5.1":0.00214,"12.1":0.00107,"13.1":0.00534,"14.1":0.01709,"15.1":0.00107,"15.2-15.3":0.00107,"15.4":0.00534,"15.5":0.01175,"15.6":0.05874,"16.0":0.00214,"16.1":0.01709,"16.2":0.01495,"16.3":0.04058,"16.4":0.00427,"16.5":0.01175,"16.6":0.09078,"17.0":0.02029,"17.1":0.01602,"17.2":0.01495,"17.3":0.03204,"17.4":0.45924,"17.5":0.04165},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.00223,"5.0-5.1":0.00223,"6.0-6.1":0.00558,"7.0-7.1":0.00782,"8.1-8.4":0.00223,"9.0-9.2":0.00558,"9.3":0.02568,"10.0-10.2":0.00447,"10.3":0.04019,"11.0-11.2":0.05917,"11.3-11.4":0.01117,"12.0-12.1":0.0067,"12.2-12.5":0.16189,"13.0-13.1":0.00335,"13.2":0.01563,"13.3":0.00782,"13.4-13.7":0.03573,"14.0-14.4":0.06141,"14.5-14.8":0.0949,"15.0-15.1":0.04578,"15.2-15.3":0.05024,"15.4":0.05694,"15.5":0.07146,"15.6-15.8":0.6431,"16.0":0.14626,"16.1":0.30146,"16.2":0.14626,"16.3":0.25345,"16.4":0.05359,"16.5":0.1083,"16.6-16.7":0.86305,"17.0":0.09379,"17.1":0.15296,"17.2":0.15966,"17.3":0.29476,"17.4":6.69342,"17.5":0.47228,"17.6":0},P:{"4":0.1444,"20":0.06189,"21":0.1444,"22":0.18566,"23":0.35069,"24":0.41258,"25":2.9087,"5.0-5.4":0.01031,"6.2-6.4":0.03094,"7.2-7.4":0.20629,_:"8.2 10.1","9.2":0.03094,"11.1-11.2":0.10315,"12.0":0.02063,"13.0":0.06189,"14.0":0.06189,"15.0":0.03094,"16.0":0.0722,"17.0":0.09283,"18.0":0.03094,"19.0":0.08252},I:{"0":0.07118,"3":0,"4":0.00001,"2.1":0,"2.2":0,"2.3":0,"4.1":0.00001,"4.2-4.3":0.00004,"4.4":0,"4.4.3-4.4.4":0.00016},K:{"0":0.55378,_:"10 11 12 11.1 11.5 12.1"},A:{"9":0.00124,"11":0.02226,_:"6 7 8 10 5.5"},S:{_:"2.5 3.0-3.1"},J:{_:"7 10"},N:{_:"10 11"},L:{"0":75.3232},R:{_:"0"},M:{"0":0.08932},Q:{_:"14.9"},O:{"0":0.26796},H:{"0":0}}; +module.exports={C:{"34":0.00143,"58":0.00285,"68":0.00143,"69":0.01855,"72":0.00143,"102":0.00143,"103":0.00714,"110":0.00143,"111":0.00143,"115":0.12415,"116":0.00143,"121":0.00143,"122":0.00143,"123":0.00428,"125":0.00143,"126":0.00143,"127":0.00428,"128":0.00143,"129":0.04709,"130":0.27827,"131":0.00285,"132":0.00143,_:"2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 59 60 61 62 63 64 65 66 67 70 71 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 104 105 106 107 108 109 112 113 114 117 118 119 120 124 133 134 135 3.5 3.6"},D:{"11":0.00571,"33":0.00143,"34":0.00285,"38":0.01142,"43":0.01284,"47":0.00143,"50":0.00143,"52":0.00143,"53":0.00143,"55":0.00143,"56":0.00285,"57":0.00143,"58":0.02711,"60":0.00143,"63":0.00143,"64":0.00143,"65":0.00571,"66":0.00428,"67":0.00143,"68":0.00571,"69":0.01142,"70":0.00714,"71":0.00285,"72":0.00571,"73":0.03139,"74":0.00143,"75":0.00714,"76":0.00143,"77":0.00143,"78":0.00143,"79":0.0528,"80":0.00143,"81":0.00714,"83":0.08277,"84":0.00143,"85":0.00143,"86":0.00714,"87":0.06279,"88":0.01427,"89":0.00856,"90":0.00999,"91":0.00285,"92":0.00285,"93":0.00285,"94":0.0528,"95":0.07278,"96":0.00285,"97":0.00285,"98":0.07278,"99":0.0157,"100":0.00285,"101":0.00285,"102":0.01855,"103":0.02141,"104":0.01284,"105":0.00714,"106":0.00714,"107":0.00856,"108":0.00856,"109":1.10022,"110":0.02997,"111":0.01142,"112":0.00143,"113":0.00571,"114":0.01427,"115":0.00285,"116":0.01712,"117":0.00714,"118":0.01284,"119":0.06422,"120":0.06279,"121":0.01142,"122":0.02426,"123":0.03568,"124":0.02854,"125":0.02426,"126":0.07849,"127":0.31109,"128":4.78045,"129":1.89506,"130":0.00428,"131":0.00143,_:"4 5 6 7 8 9 10 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 35 36 37 39 40 41 42 44 45 46 48 49 51 54 59 61 62 132 133"},F:{"28":0.00143,"46":0.00285,"79":0.00571,"82":0.00143,"83":0.00143,"84":0.00856,"85":0.00143,"86":0.00143,"95":0.01712,"109":0.00571,"111":0.00285,"112":0.24259,"113":0.20834,"114":0.00428,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 47 48 49 50 51 52 53 54 55 56 57 58 60 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 80 81 87 88 89 90 91 92 93 94 96 97 98 99 100 101 102 103 104 105 106 107 108 110 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"16":0.00143,"18":0.00714,"84":0.00143,"89":0.00143,"90":0.00143,"92":0.01855,"100":0.00428,"109":0.02283,"110":0.00143,"114":0.00285,"119":0.00428,"120":0.00143,"121":0.00285,"122":0.00285,"123":0.00143,"124":0.00856,"125":0.00571,"126":0.01284,"127":0.07991,"128":0.73491,"129":0.37673,_:"12 13 14 15 17 79 80 81 83 85 86 87 88 91 93 94 95 96 97 98 99 101 102 103 104 105 106 107 108 111 112 113 115 116 117 118 130"},E:{"14":0.00571,_:"0 4 5 6 7 8 9 10 11 12 13 15 3.1 3.2 6.1 7.1 9.1 10.1 11.1 15.2-15.3","5.1":0.01427,"12.1":0.00285,"13.1":0.00428,"14.1":0.00999,"15.1":0.00143,"15.4":0.00571,"15.5":0.00428,"15.6":0.03282,"16.0":0.00285,"16.1":0.00856,"16.2":0.00571,"16.3":0.01712,"16.4":0.00285,"16.5":0.00571,"16.6":0.04995,"17.0":0.0157,"17.1":0.01142,"17.2":0.00571,"17.3":0.01142,"17.4":0.02426,"17.5":0.11273,"17.6":0.39385,"18.0":0.09561,"18.1":0.00571},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.00217,"5.0-5.1":0.00109,"6.0-6.1":0.00651,"7.0-7.1":0.0076,"8.1-8.4":0,"9.0-9.2":0.00651,"9.3":0.01845,"10.0-10.2":0.00543,"10.3":0.03147,"11.0-11.2":0.11613,"11.3-11.4":0.00868,"12.0-12.1":0.00543,"12.2-12.5":0.13133,"13.0-13.1":0.00217,"13.2":0.04124,"13.3":0.00543,"13.4-13.7":0.02171,"14.0-14.4":0.04993,"14.5-14.8":0.06621,"15.0-15.1":0.03799,"15.2-15.3":0.0369,"15.4":0.04233,"15.5":0.0521,"15.6-15.8":0.51554,"16.0":0.10419,"16.1":0.20621,"16.2":0.10311,"16.3":0.17365,"16.4":0.0369,"16.5":0.07272,"16.6-16.7":0.62082,"17.0":0.0521,"17.1":0.08249,"17.2":0.07489,"17.3":0.10745,"17.4":0.23009,"17.5":1.10596,"17.6-17.7":5.88581,"18.0":0.74237,"18.1":0.03365},P:{"4":0.07162,"20":0.02046,"21":0.07162,"22":0.07162,"23":0.10231,"24":0.08185,"25":0.26602,"26":2.07697,"5.0-5.4":0.01023,"6.2-6.4":0.02046,"7.2-7.4":0.07162,_:"8.2 9.2 10.1 12.0","11.1-11.2":0.03069,"13.0":0.04093,"14.0":0.03069,"15.0":0.01023,"16.0":0.02046,"17.0":0.04093,"18.0":0.01023,"19.0":0.03069},I:{"0":0.0513,"3":0,"4":0,"2.1":0,"2.2":0,"2.3":0,"4.1":0.00001,"4.2-4.3":0.00002,"4.4":0,"4.4.3-4.4.4":0.00008},K:{"0":0.74585,_:"10 11 12 11.1 11.5 12.1"},A:{"8":0.00182,"9":0.00182,"11":0.03632,_:"6 7 10 5.5"},N:{_:"10 11"},S:{_:"2.5 3.0-3.1"},J:{_:"7 10"},O:{"0":0.52295},H:{"0":0},L:{"0":71.84817},R:{_:"0"},M:{"0":0.10288},Q:{"14.9":0.00857}}; diff --git a/node_modules/caniuse-lite/data/regions/IR.js b/node_modules/caniuse-lite/data/regions/IR.js index 92d55342ed..fecd43442c 100644 --- a/node_modules/caniuse-lite/data/regions/IR.js +++ b/node_modules/caniuse-lite/data/regions/IR.js @@ -1 +1 @@ -module.exports={C:{"33":0.00282,"37":0.00282,"38":0.00282,"39":0.00282,"40":0.00282,"41":0.00282,"43":0.00282,"47":0.00282,"48":0.00282,"50":0.00563,"52":0.02817,"56":0.00282,"60":0.00282,"68":0.00282,"70":0.00282,"72":0.00845,"77":0.00282,"78":0.00282,"84":0.00282,"88":0.00282,"89":0.00282,"90":0.00282,"91":0.00282,"92":0.00282,"94":0.00563,"95":0.00282,"96":0.00282,"97":0.00282,"98":0.00282,"99":0.00563,"100":0.00282,"101":0.00282,"102":0.00563,"103":0.00282,"104":0.00282,"105":0.00282,"106":0.00563,"107":0.00282,"108":0.00563,"109":0.00563,"110":0.00563,"111":0.00563,"112":0.00563,"113":0.00845,"114":0.00563,"115":1.52681,"116":0.00563,"117":0.00563,"118":0.00845,"119":0.00845,"120":0.00845,"121":0.0169,"122":0.02254,"123":0.03944,"124":0.08451,"125":1.34371,"126":1.16624,"127":0.00563,_:"2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 34 35 36 42 44 45 46 49 51 53 54 55 57 58 59 61 62 63 64 65 66 67 69 71 73 74 75 76 79 80 81 82 83 85 86 87 93 128 129 3.5 3.6"},D:{"31":0.00282,"34":0.00282,"38":0.00563,"41":0.00282,"44":0.00282,"49":0.00563,"51":0.00282,"55":0.00282,"56":0.00282,"58":0.00282,"61":0.00282,"62":0.00282,"63":0.00563,"64":0.00282,"65":0.00282,"66":0.00282,"67":0.00282,"68":0.00282,"69":0.00563,"70":0.00845,"71":0.0169,"72":0.00563,"73":0.00282,"74":0.00282,"75":0.00282,"76":0.00282,"77":0.00282,"78":0.01409,"79":0.0169,"80":0.01409,"81":0.01127,"83":0.01409,"84":0.01127,"85":0.01127,"86":0.02817,"87":0.02254,"88":0.00845,"89":0.01127,"90":0.00845,"91":0.01409,"92":0.01409,"93":0.00563,"94":0.00845,"95":0.00845,"96":0.0169,"97":0.00845,"98":0.01127,"99":0.01409,"100":0.01409,"101":0.00845,"102":0.03099,"103":0.0338,"104":0.02817,"105":0.01972,"106":0.03099,"107":0.03662,"108":0.07606,"109":4.21987,"110":0.01409,"111":0.03099,"112":0.03662,"113":0.01409,"114":0.02817,"115":0.0169,"116":0.05634,"117":0.03944,"118":0.02535,"119":0.07043,"120":0.1493,"121":0.12113,"122":0.20846,"123":0.5465,"124":8.56368,"125":3.64802,"126":0.00282,_:"4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 32 33 35 36 37 39 40 42 43 45 46 47 48 50 52 53 54 57 59 60 127 128"},F:{"46":0.00282,"64":0.00282,"79":0.0169,"82":0.00282,"83":0.00282,"85":0.00282,"95":0.05634,"101":0.00282,"105":0.00282,"106":0.00282,"107":0.03099,"108":0.02535,"109":0.25635,"110":0.02254,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 47 48 49 50 51 52 53 54 55 56 57 58 60 62 63 65 66 67 68 69 70 71 72 73 74 75 76 77 78 80 81 84 86 87 88 89 90 91 92 93 94 96 97 98 99 100 102 103 104 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"12":0.00563,"13":0.00845,"14":0.00563,"15":0.00282,"16":0.00563,"17":0.00563,"18":0.02817,"81":0.00282,"84":0.00282,"89":0.00563,"90":0.00563,"92":0.08451,"100":0.0169,"105":0.00282,"107":0.00282,"108":0.00282,"109":0.14085,"110":0.00282,"112":0.00282,"113":0.00282,"114":0.00563,"115":0.00282,"116":0.00282,"117":0.00282,"118":0.00282,"119":0.00563,"120":0.0169,"121":0.0169,"122":0.02535,"123":0.03944,"124":0.6789,"125":0.34931,_:"79 80 83 85 86 87 88 91 93 94 95 96 97 98 99 101 102 103 104 106 111"},E:{_:"0 4 5 6 7 8 9 10 11 12 13 14 15 3.1 3.2 6.1 7.1 9.1 10.1 11.1 12.1 15.1 15.2-15.3 15.5 16.0 16.2 17.6","5.1":0.00282,"13.1":0.00282,"14.1":0.00563,"15.4":0.00282,"15.6":0.0169,"16.1":0.00282,"16.3":0.00282,"16.4":0.00282,"16.5":0.00282,"16.6":0.01127,"17.0":0.00282,"17.1":0.00282,"17.2":0.00563,"17.3":0.00563,"17.4":0.04507,"17.5":0.01409},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.00103,"5.0-5.1":0.00103,"6.0-6.1":0.00257,"7.0-7.1":0.0036,"8.1-8.4":0.00103,"9.0-9.2":0.00257,"9.3":0.01183,"10.0-10.2":0.00206,"10.3":0.01851,"11.0-11.2":0.02726,"11.3-11.4":0.00514,"12.0-12.1":0.00309,"12.2-12.5":0.07457,"13.0-13.1":0.00154,"13.2":0.0072,"13.3":0.0036,"13.4-13.7":0.01646,"14.0-14.4":0.02829,"14.5-14.8":0.04372,"15.0-15.1":0.02109,"15.2-15.3":0.02314,"15.4":0.02623,"15.5":0.03292,"15.6-15.8":0.29624,"16.0":0.06737,"16.1":0.13886,"16.2":0.06737,"16.3":0.11675,"16.4":0.02469,"16.5":0.04989,"16.6-16.7":0.39756,"17.0":0.0432,"17.1":0.07046,"17.2":0.07355,"17.3":0.13578,"17.4":3.08325,"17.5":0.21755,"17.6":0},P:{"4":0.16212,"20":0.14185,"21":0.23304,"22":0.46609,"23":0.689,"24":1.22601,"25":1.79342,"5.0-5.4":0.01013,"6.2-6.4":0.02026,"7.2-7.4":0.19251,"8.2":0.02026,"9.2":0.0304,"10.1":0.02026,"11.1-11.2":0.11146,"12.0":0.04053,"13.0":0.11146,"14.0":0.13172,"15.0":0.05066,"16.0":0.14185,"17.0":0.21278,"18.0":0.13172,"19.0":0.18238},I:{"0":0.00715,"3":0,"4":0,"2.1":0,"2.2":0,"2.3":0,"4.1":0,"4.2-4.3":0,"4.4":0,"4.4.3-4.4.4":0.00002},K:{"0":0.44436,_:"10 11 12 11.1 11.5 12.1"},A:{"8":0.00565,"11":2.57473,_:"6 7 9 10 5.5"},S:{_:"2.5 3.0-3.1"},J:{_:"7 10"},N:{_:"10 11"},L:{"0":59.50146},R:{_:"0"},M:{"0":0.94097},Q:{_:"14.9"},O:{"0":0.06465},H:{"0":0.08}}; +module.exports={C:{"43":0.00228,"47":0.00228,"50":0.00228,"52":0.01826,"56":0.00228,"68":0.00228,"72":0.00685,"75":0.00228,"77":0.00228,"78":0.00228,"84":0.00228,"94":0.00228,"95":0.00228,"99":0.00228,"100":0.00456,"101":0.00228,"102":0.00228,"103":0.00456,"104":0.00228,"105":0.00228,"106":0.00456,"107":0.00228,"108":0.00456,"109":0.00685,"110":0.00456,"111":0.00228,"112":0.00456,"113":0.01369,"114":0.0502,"115":1.36235,"116":0.02054,"117":0.00228,"118":0.00228,"119":0.00456,"120":0.00456,"121":0.00456,"122":0.00685,"123":0.00685,"124":0.00685,"125":0.01141,"126":0.01369,"127":0.07074,"128":0.03651,"129":0.44499,"130":1.76399,"131":0.00456,_:"2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 44 45 46 48 49 51 53 54 55 57 58 59 60 61 62 63 64 65 66 67 69 70 71 73 74 76 79 80 81 82 83 85 86 87 88 89 90 91 92 93 96 97 98 132 133 134 135 3.5 3.6"},D:{"38":0.00228,"48":0.00228,"49":0.00685,"51":0.00228,"55":0.00228,"56":0.00228,"58":0.00228,"60":0.00228,"61":0.00228,"62":0.00228,"63":0.00228,"64":0.00228,"65":0.00228,"66":0.00228,"67":0.00228,"68":0.00228,"69":0.00228,"70":0.00228,"71":0.01597,"72":0.00228,"73":0.00228,"74":0.00228,"75":0.00228,"76":0.00228,"77":0.00228,"78":0.00913,"79":0.01141,"80":0.00913,"81":0.00685,"83":0.01141,"84":0.00685,"85":0.00913,"86":0.01826,"87":0.01826,"88":0.00913,"89":0.00685,"90":0.00456,"91":0.00913,"92":0.00913,"93":0.00228,"94":0.00685,"95":0.00685,"96":0.00913,"97":0.00456,"98":0.00913,"99":0.01597,"100":0.01141,"101":0.00456,"102":0.00685,"103":0.02282,"104":0.01141,"105":0.01141,"106":0.02054,"107":0.02738,"108":0.04336,"109":3.16057,"110":0.01141,"111":0.03195,"112":0.03423,"113":0.00685,"114":0.01597,"115":0.00913,"116":0.03423,"117":0.01597,"118":0.03651,"119":0.02738,"120":0.05477,"121":0.04108,"122":0.05705,"123":0.07074,"124":0.07302,"125":0.06846,"126":0.178,"127":0.47922,"128":8.06231,"129":2.0538,"130":0.00228,_:"4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 39 40 41 42 43 44 45 46 47 50 52 53 54 57 59 131 132 133"},F:{"46":0.00228,"64":0.00228,"79":0.00913,"83":0.00228,"84":0.00228,"85":0.00228,"95":0.03651,"101":0.00228,"108":0.00228,"109":0.00913,"110":0.00228,"111":0.00456,"112":0.14377,"113":0.06618,"114":0.00228,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 47 48 49 50 51 52 53 54 55 56 57 58 60 62 63 65 66 67 68 69 70 71 72 73 74 75 76 77 78 80 81 82 86 87 88 89 90 91 92 93 94 96 97 98 99 100 102 103 104 105 106 107 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"12":0.00228,"13":0.00228,"14":0.00456,"15":0.00228,"16":0.00456,"17":0.00456,"18":0.01597,"81":0.00228,"84":0.00228,"89":0.00456,"90":0.00456,"92":0.07531,"100":0.02054,"103":0.00228,"106":0.00228,"107":0.00228,"108":0.00456,"109":0.10954,"110":0.00228,"114":0.00228,"115":0.00228,"116":0.00228,"117":0.00228,"119":0.00228,"120":0.00685,"121":0.00456,"122":0.00456,"123":0.00456,"124":0.00685,"125":0.01141,"126":0.02738,"127":0.0502,"128":0.64809,"129":0.18484,_:"79 80 83 85 86 87 88 91 93 94 95 96 97 98 99 101 102 104 105 111 112 113 118 130"},E:{"14":0.00228,_:"0 4 5 6 7 8 9 10 11 12 13 15 3.1 3.2 5.1 6.1 7.1 9.1 10.1 11.1 12.1 15.1 15.2-15.3 16.0 16.2 16.4 17.0 18.1","13.1":0.00228,"14.1":0.00228,"15.4":0.00228,"15.5":0.00228,"15.6":0.01141,"16.1":0.00228,"16.3":0.00228,"16.5":0.00228,"16.6":0.00685,"17.1":0.00228,"17.2":0.00228,"17.3":0.00228,"17.4":0.00685,"17.5":0.01597,"17.6":0.02738,"18.0":0.00685},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.00116,"5.0-5.1":0.00058,"6.0-6.1":0.00348,"7.0-7.1":0.00406,"8.1-8.4":0,"9.0-9.2":0.00348,"9.3":0.00985,"10.0-10.2":0.0029,"10.3":0.01681,"11.0-11.2":0.06201,"11.3-11.4":0.00464,"12.0-12.1":0.0029,"12.2-12.5":0.07013,"13.0-13.1":0.00116,"13.2":0.02202,"13.3":0.0029,"13.4-13.7":0.01159,"14.0-14.4":0.02666,"14.5-14.8":0.03535,"15.0-15.1":0.02028,"15.2-15.3":0.0197,"15.4":0.0226,"15.5":0.02782,"15.6-15.8":0.27528,"16.0":0.05564,"16.1":0.11011,"16.2":0.05506,"16.3":0.09273,"16.4":0.0197,"16.5":0.03883,"16.6-16.7":0.3315,"17.0":0.02782,"17.1":0.04405,"17.2":0.03999,"17.3":0.05738,"17.4":0.12286,"17.5":0.59056,"17.6-17.7":3.14288,"18.0":0.39641,"18.1":0.01797},P:{"4":0.05012,"20":0.11027,"21":0.17042,"22":0.34083,"23":0.39096,"24":0.46113,"25":1.33326,"26":2.00491,"5.0-5.4":0.02005,"6.2-6.4":0.02005,"7.2-7.4":0.18044,"8.2":0.02005,"9.2":0.0401,"10.1":0.02005,"11.1-11.2":0.12029,"12.0":0.0401,"13.0":0.15037,"14.0":0.13032,"15.0":0.0401,"16.0":0.11027,"17.0":0.15037,"18.0":0.09022,"19.0":0.13032},I:{"0":0.0077,"3":0,"4":0,"2.1":0,"2.2":0,"2.3":0,"4.1":0,"4.2-4.3":0,"4.4":0,"4.4.3-4.4.4":0.00001},K:{"0":0.41759,_:"10 11 12 11.1 11.5 12.1"},A:{"8":0.00686,"9":0.00229,"10":0.00229,"11":1.86893,_:"6 7 5.5"},N:{_:"10 11"},S:{_:"2.5 3.0-3.1"},J:{_:"7 10"},O:{"0":0.05402},H:{"0":0.03},L:{"0":63.80745},R:{_:"0"},M:{"0":1.21157},Q:{_:"14.9"}}; diff --git a/node_modules/caniuse-lite/data/regions/IS.js b/node_modules/caniuse-lite/data/regions/IS.js index 61562ace5a..dfe0da7e06 100644 --- a/node_modules/caniuse-lite/data/regions/IS.js +++ b/node_modules/caniuse-lite/data/regions/IS.js @@ -1 +1 @@ -module.exports={C:{"48":0.0582,"52":0.00529,"77":0.00529,"78":0.01587,"91":0.00529,"97":0.00529,"102":0.03175,"103":0.02646,"104":0.00529,"113":0.01587,"115":0.61905,"117":0.00529,"118":0.00529,"119":0.00529,"121":0.00529,"122":0.00529,"123":0.01058,"124":0.0582,"125":1.85714,"126":1.81481,_:"2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 49 50 51 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 79 80 81 82 83 84 85 86 87 88 89 90 92 93 94 95 96 98 99 100 101 105 106 107 108 109 110 111 112 114 116 120 127 128 129 3.5 3.6"},D:{"38":0.01058,"47":0.00529,"65":0.01058,"69":0.05291,"79":0.02116,"87":0.01058,"88":0.00529,"93":0.01058,"95":0.01058,"102":0.00529,"103":0.09524,"104":0.02646,"107":0.01058,"108":0.00529,"109":0.42328,"110":0.00529,"111":0.01058,"112":0.01058,"113":1.72487,"114":1.73545,"115":0.02116,"116":0.40212,"117":0.15344,"118":0.21693,"119":0.06878,"120":0.14815,"121":0.21164,"122":0.37566,"123":2.05291,"124":18.73014,"125":6.15872,"126":0.00529,_:"4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 39 40 41 42 43 44 45 46 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 66 67 68 70 71 72 73 74 75 76 77 78 80 81 83 84 85 86 89 90 91 92 94 96 97 98 99 100 101 105 106 127 128"},F:{"46":0.00529,"89":0.00529,"95":0.05291,"102":0.00529,"106":0.02116,"107":0.69841,"108":0.02116,"109":2.32275,"110":0.06878,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 47 48 49 50 51 52 53 54 55 56 57 58 60 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 90 91 92 93 94 96 97 98 99 100 101 103 104 105 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"92":0.00529,"105":0.03704,"109":0.00529,"113":0.01058,"114":0.00529,"119":0.01587,"120":0.06349,"121":0.02646,"122":0.13757,"123":0.1746,"124":2.93651,"125":1.67725,_:"12 13 14 15 16 17 18 79 80 81 83 84 85 86 87 88 89 90 91 93 94 95 96 97 98 99 100 101 102 103 104 106 107 108 110 111 112 115 116 117 118"},E:{"9":0.00529,"14":0.04762,"15":0.00529,_:"0 4 5 6 7 8 10 11 12 13 3.1 3.2 5.1 6.1 7.1 9.1 10.1 11.1 17.6","12.1":0.00529,"13.1":0.04233,"14.1":0.20106,"15.1":0.01058,"15.2-15.3":0.01587,"15.4":0.04762,"15.5":0.08466,"15.6":0.52381,"16.0":0.08995,"16.1":0.05291,"16.2":0.07407,"16.3":0.1746,"16.4":0.03704,"16.5":0.22751,"16.6":0.53439,"17.0":0.2328,"17.1":0.18519,"17.2":0.24868,"17.3":0.27513,"17.4":3.13227,"17.5":0.30688},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.00401,"5.0-5.1":0.00401,"6.0-6.1":0.01001,"7.0-7.1":0.01402,"8.1-8.4":0.00401,"9.0-9.2":0.01001,"9.3":0.04606,"10.0-10.2":0.00801,"10.3":0.0721,"11.0-11.2":0.10615,"11.3-11.4":0.02003,"12.0-12.1":0.01202,"12.2-12.5":0.2904,"13.0-13.1":0.00601,"13.2":0.02804,"13.3":0.01402,"13.4-13.7":0.06409,"14.0-14.4":0.11015,"14.5-14.8":0.17023,"15.0-15.1":0.08211,"15.2-15.3":0.09012,"15.4":0.10214,"15.5":0.12818,"15.6-15.8":1.15358,"16.0":0.26236,"16.1":0.54074,"16.2":0.26236,"16.3":0.45462,"16.4":0.09613,"16.5":0.19427,"16.6-16.7":1.54812,"17.0":0.16823,"17.1":0.27438,"17.2":0.28639,"17.3":0.52872,"17.4":12.00641,"17.5":0.84716,"17.6":0},P:{"20":0.01045,"21":0.01045,"22":0.15678,"23":0.09407,"24":0.19859,"25":3.44916,_:"4 6.2-6.4 7.2-7.4 8.2 9.2 10.1 11.1-11.2 12.0 13.0 14.0 15.0 16.0 17.0","5.0-5.4":0.01045,"18.0":0.01045,"19.0":0.01045},I:{"0":0.03283,"3":0,"4":0,"2.1":0,"2.2":0,"2.3":0,"4.1":0.00001,"4.2-4.3":0.00002,"4.4":0,"4.4.3-4.4.4":0.00007},K:{"0":0.24958,_:"10 11 12 11.1 11.5 12.1"},A:{"8":0.00529,"11":0.01058,_:"6 7 9 10 5.5"},S:{_:"2.5 3.0-3.1"},J:{_:"7 10"},N:{_:"10 11"},L:{"0":22.35362},R:{_:"0"},M:{"0":0.49445},Q:{"14.9":0.00942},O:{"0":0.03767},H:{"0":0}}; +module.exports={C:{"48":0.02266,"60":0.00566,"77":0.01699,"78":0.01133,"102":0.00566,"109":0.00566,"111":0.02832,"113":0.01133,"115":0.3455,"117":0.00566,"119":0.00566,"123":0.00566,"124":0.00566,"125":0.02832,"126":0.03965,"127":0.00566,"128":0.05664,"129":0.37382,"130":1.6199,"131":0.01699,_:"2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 49 50 51 52 53 54 55 56 57 58 59 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 103 104 105 106 107 108 110 112 114 116 118 120 121 122 132 133 134 135 3.5 3.6"},D:{"52":0.01699,"79":0.01133,"87":0.01133,"90":0.07363,"92":0.00566,"94":0.02266,"95":0.00566,"96":0.05098,"98":0.00566,"101":0.00566,"103":0.07363,"106":0.01133,"107":0.00566,"108":0.00566,"109":0.39082,"110":0.01133,"111":0.01133,"112":0.01699,"113":1.88611,"114":1.93142,"115":0.02832,"116":0.43613,"117":0.01133,"118":0.07363,"119":0.01699,"120":0.1416,"121":0.03965,"122":0.32285,"123":0.2209,"124":0.37949,"125":0.15859,"126":0.59472,"127":2.0447,"128":20.57165,"129":6.7345,"130":0.01133,_:"4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 80 81 83 84 85 86 88 89 91 93 97 99 100 102 104 105 131 132 133"},F:{"46":0.00566,"90":0.00566,"95":0.10195,"96":0.00566,"109":0.06797,"111":0.01133,"112":1.17811,"113":1.00819,"114":0.00566,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 47 48 49 50 51 52 53 54 55 56 57 58 60 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 91 92 93 94 97 98 99 100 101 102 103 104 105 106 107 108 110 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"92":0.00566,"109":0.01133,"119":0.01699,"120":0.03965,"121":0.01699,"122":0.00566,"124":0.00566,"125":0.01699,"126":0.03398,"127":0.16992,"128":3.60797,"129":1.32538,"130":0.00566,_:"12 13 14 15 16 17 18 79 80 81 83 84 85 86 87 88 89 90 91 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 110 111 112 113 114 115 116 117 118 123"},E:{"9":0.00566,"13":0.00566,"14":0.06797,"15":0.03398,_:"0 4 5 6 7 8 10 11 12 3.1 3.2 5.1 6.1 7.1 9.1 10.1 11.1","12.1":0.00566,"13.1":0.03965,"14.1":0.2039,"15.1":0.02266,"15.2-15.3":0.01133,"15.4":0.17558,"15.5":0.0793,"15.6":0.61738,"16.0":0.13594,"16.1":0.05664,"16.2":0.15859,"16.3":0.22656,"16.4":0.11328,"16.5":0.39082,"16.6":0.54374,"17.0":0.08496,"17.1":0.10762,"17.2":0.10762,"17.3":0.25488,"17.4":0.4248,"17.5":1.02518,"17.6":3.87418,"18.0":0.6287,"18.1":0.02832},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.00405,"5.0-5.1":0.00203,"6.0-6.1":0.01215,"7.0-7.1":0.01418,"8.1-8.4":0,"9.0-9.2":0.01215,"9.3":0.03444,"10.0-10.2":0.01013,"10.3":0.05875,"11.0-11.2":0.21676,"11.3-11.4":0.01621,"12.0-12.1":0.01013,"12.2-12.5":0.24512,"13.0-13.1":0.00405,"13.2":0.07698,"13.3":0.01013,"13.4-13.7":0.04052,"14.0-14.4":0.09319,"14.5-14.8":0.12357,"15.0-15.1":0.0709,"15.2-15.3":0.06888,"15.4":0.07901,"15.5":0.09724,"15.6-15.8":0.96225,"16.0":0.19447,"16.1":0.3849,"16.2":0.19245,"16.3":0.32412,"16.4":0.06888,"16.5":0.13573,"16.6-16.7":1.15875,"17.0":0.09724,"17.1":0.15396,"17.2":0.13978,"17.3":0.20055,"17.4":0.42947,"17.5":2.06427,"17.6-17.7":10.9858,"18.0":1.38563,"18.1":0.0628},P:{"22":0.06316,"23":0.01053,"24":0.01053,"25":0.2,"26":2.83152,_:"4 20 21 5.0-5.4 6.2-6.4 7.2-7.4 8.2 9.2 10.1 11.1-11.2 12.0 13.0 14.0 15.0 16.0 17.0 18.0","19.0":0.01053},I:{"0":0.02595,"3":0,"4":0,"2.1":0,"2.2":0,"2.3":0,"4.1":0,"4.2-4.3":0.00001,"4.4":0,"4.4.3-4.4.4":0.00004},K:{"0":0.39458,_:"10 11 12 11.1 11.5 12.1"},A:{"8":0.0151,"11":0.00755,_:"6 7 9 10 5.5"},N:{_:"10 11"},S:{_:"2.5 3.0-3.1"},J:{_:"7 10"},O:{"0":0.03469},H:{"0":0},L:{"0":19.01746},R:{_:"0"},M:{"0":0.33387},Q:{"14.9":0.00867}}; diff --git a/node_modules/caniuse-lite/data/regions/IT.js b/node_modules/caniuse-lite/data/regions/IT.js index 54ebbde087..e61b735b38 100644 --- a/node_modules/caniuse-lite/data/regions/IT.js +++ b/node_modules/caniuse-lite/data/regions/IT.js @@ -1 +1 @@ -module.exports={C:{"47":0.00471,"48":0.00942,"52":0.06594,"56":0.00471,"59":0.01884,"68":0.00471,"72":0.00471,"75":0.00471,"78":0.0471,"88":0.02826,"91":0.01413,"93":0.01884,"94":0.02826,"101":0.00471,"102":0.00471,"103":0.00471,"104":0.00471,"105":0.00471,"106":0.00471,"107":0.00471,"108":0.00471,"109":0.00471,"110":0.00471,"112":0.00471,"113":0.01413,"114":0.00942,"115":0.57933,"116":0.00471,"117":0.00471,"118":0.00942,"119":0.00942,"120":0.00471,"121":0.01413,"122":0.01884,"123":0.01884,"124":0.08478,"125":2.04414,"126":2.20428,"127":0.00942,_:"2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 49 50 51 53 54 55 57 58 60 61 62 63 64 65 66 67 69 70 71 73 74 76 77 79 80 81 82 83 84 85 86 87 89 90 92 95 96 97 98 99 100 111 128 129 3.5 3.6"},D:{"22":0.00471,"38":0.00942,"41":0.00471,"49":0.04239,"60":0.00471,"63":0.09891,"65":0.00471,"66":0.08007,"67":0.00471,"68":0.00471,"70":0.00471,"74":0.00471,"77":0.01413,"79":0.02355,"80":0.00471,"81":0.01413,"83":0.00471,"84":0.02826,"85":0.01413,"86":0.01884,"87":0.05652,"88":0.00942,"89":0.00942,"90":0.00942,"91":0.00471,"92":0.39093,"93":0.10833,"94":0.01413,"95":0.03768,"96":0.00942,"97":0.00942,"98":0.00471,"99":0.01884,"100":0.00942,"101":0.00471,"102":0.00942,"103":0.0942,"104":0.00942,"105":0.03297,"106":0.01413,"107":0.05181,"108":0.01884,"109":1.96407,"110":0.01413,"111":0.01884,"112":0.02826,"113":0.03297,"114":0.0471,"115":0.01884,"116":0.24963,"117":0.01884,"118":0.07065,"119":0.06594,"120":0.13659,"121":0.11775,"122":0.27789,"123":1.24815,"124":18.20886,"125":6.65052,"126":0.00942,_:"4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 39 40 42 43 44 45 46 47 48 50 51 52 53 54 55 56 57 58 59 61 62 64 69 71 72 73 75 76 78 127 128"},F:{"46":0.00471,"84":0.00471,"85":0.00942,"89":0.00471,"95":0.02355,"102":0.00471,"107":0.13659,"108":0.01884,"109":0.86193,"110":0.06594,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 47 48 49 50 51 52 53 54 55 56 57 58 60 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 86 87 88 90 91 92 93 94 96 97 98 99 100 101 103 104 105 106 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"17":0.00942,"18":0.00471,"85":0.00471,"90":0.1413,"92":0.00942,"109":0.07536,"112":0.00471,"113":0.00942,"114":0.00471,"115":0.03768,"116":0.00471,"117":0.00471,"118":0.00471,"119":0.02355,"120":0.04239,"121":0.03768,"122":0.05652,"123":0.09891,"124":2.7318,"125":1.60611,_:"12 13 14 15 16 79 80 81 83 84 86 87 88 89 91 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 110 111"},E:{"8":0.00471,"13":0.00471,"14":0.03768,"15":0.01413,_:"0 4 5 6 7 9 10 11 12 3.1 3.2 5.1 6.1 7.1 9.1 10.1 17.6","11.1":0.01884,"12.1":0.02355,"13.1":0.11775,"14.1":0.34383,"15.1":0.02355,"15.2-15.3":0.02355,"15.4":0.01884,"15.5":0.03297,"15.6":0.27789,"16.0":0.0471,"16.1":0.06123,"16.2":0.03768,"16.3":0.08949,"16.4":0.04239,"16.5":0.06594,"16.6":0.26847,"17.0":0.0471,"17.1":0.08478,"17.2":0.13188,"17.3":0.11304,"17.4":1.38474,"17.5":0.2826},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.00269,"5.0-5.1":0.00269,"6.0-6.1":0.00672,"7.0-7.1":0.00941,"8.1-8.4":0.00269,"9.0-9.2":0.00672,"9.3":0.03092,"10.0-10.2":0.00538,"10.3":0.0484,"11.0-11.2":0.07126,"11.3-11.4":0.01344,"12.0-12.1":0.00807,"12.2-12.5":0.19495,"13.0-13.1":0.00403,"13.2":0.01882,"13.3":0.00941,"13.4-13.7":0.04302,"14.0-14.4":0.07395,"14.5-14.8":0.11428,"15.0-15.1":0.05512,"15.2-15.3":0.0605,"15.4":0.06857,"15.5":0.08605,"15.6-15.8":0.77441,"16.0":0.17612,"16.1":0.36301,"16.2":0.17612,"16.3":0.30519,"16.4":0.06453,"16.5":0.13041,"16.6-16.7":1.03927,"17.0":0.11293,"17.1":0.18419,"17.2":0.19226,"17.3":0.35494,"17.4":8.06006,"17.5":0.56871,"17.6":0},P:{"4":0.07336,"20":0.02096,"21":0.06288,"22":0.07336,"23":0.13623,"24":0.32486,"25":2.51507,_:"5.0-5.4 7.2-7.4 8.2 10.1 12.0 15.0","6.2-6.4":0.01048,"9.2":0.02096,"11.1-11.2":0.03144,"13.0":0.02096,"14.0":0.01048,"16.0":0.01048,"17.0":0.01048,"18.0":0.01048,"19.0":0.03144},I:{"0":0.04742,"3":0,"4":0,"2.1":0,"2.2":0,"2.3":0,"4.1":0.00001,"4.2-4.3":0.00003,"4.4":0,"4.4.3-4.4.4":0.0001},K:{"0":0.39139,_:"10 11 12 11.1 11.5 12.1"},A:{"8":0.00483,"9":0.00483,"10":0.00483,"11":0.16919,_:"6 7 5.5"},S:{_:"2.5 3.0-3.1"},J:{_:"7 10"},N:{_:"10 11"},L:{"0":35.11994},R:{_:"0"},M:{"0":0.66113},Q:{"14.9":0.00529},O:{"0":0.10049},H:{"0":0}}; +module.exports={C:{"48":0.00933,"50":0.00466,"51":0.00466,"52":0.03731,"53":0.00466,"55":0.00466,"56":0.00933,"59":0.0513,"68":0.00466,"76":0.00466,"78":0.03731,"82":0.00466,"88":0.02332,"91":0.00933,"93":0.01866,"94":0.03731,"102":0.00466,"103":0.00466,"109":0.00466,"113":0.00933,"114":0.01866,"115":0.51304,"116":0.00466,"118":0.00466,"119":0.00466,"120":0.03265,"121":0.00466,"122":0.00466,"123":0.00466,"124":0.00466,"125":0.00933,"126":0.06063,"127":0.03265,"128":0.04198,"129":0.51304,"130":2.71445,"131":0.02798,_:"2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 49 54 57 58 60 61 62 63 64 65 66 67 69 70 71 72 73 74 75 77 79 80 81 83 84 85 86 87 89 90 92 95 96 97 98 99 100 101 104 105 106 107 108 110 111 112 117 132 133 134 135 3.5 3.6"},D:{"38":0.00466,"49":0.02332,"56":0.01399,"60":0.00933,"63":0.06063,"65":0.00466,"66":0.21921,"70":0.00466,"74":0.00466,"77":0.00466,"79":0.02332,"80":0.00466,"81":0.00933,"83":0.00466,"85":0.03265,"86":0.01399,"87":0.04198,"88":0.01399,"89":0.00933,"90":0.00466,"91":0.00933,"92":0.47573,"93":0.00466,"94":0.01399,"95":0.03265,"96":0.01866,"97":0.00466,"98":0.00466,"99":0.01399,"100":0.00466,"101":0.00466,"102":0.01399,"103":0.07462,"104":0.00466,"105":0.01399,"106":0.00933,"107":0.01866,"108":0.01399,"109":2.04283,"110":0.01399,"111":0.02332,"112":0.01866,"113":0.03731,"114":0.0513,"115":0.00933,"116":0.27984,"117":0.00933,"118":0.02332,"119":0.04198,"120":0.05597,"121":0.04198,"122":0.1679,"123":0.17723,"124":0.13526,"125":0.10261,"126":0.27518,"127":1.14734,"128":18.32019,"129":7.16857,"130":0.00933,_:"4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 39 40 41 42 43 44 45 46 47 48 50 51 52 53 54 55 57 58 59 61 62 64 67 68 69 71 72 73 75 76 78 84 131 132 133"},F:{"46":0.00466,"84":0.01399,"85":0.00466,"95":0.02332,"102":0.00466,"109":0.00933,"111":0.00466,"112":0.56434,"113":0.39644,"114":0.00466,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 47 48 49 50 51 52 53 54 55 56 57 58 60 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 86 87 88 89 90 91 92 93 94 96 97 98 99 100 101 103 104 105 106 107 108 110 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"17":0.02332,"18":0.00466,"85":0.01399,"90":0.12126,"92":0.00933,"104":0.00466,"109":0.05597,"112":0.00466,"114":0.00933,"115":0.04664,"117":0.00466,"119":0.00466,"120":0.00933,"121":0.00933,"122":0.00466,"123":0.00466,"124":0.01399,"125":0.01866,"126":0.06996,"127":0.10261,"128":2.70512,"129":1.2826,_:"12 13 14 15 16 79 80 81 83 84 86 87 88 89 91 93 94 95 96 97 98 99 100 101 102 103 105 106 107 108 110 111 113 116 118 130"},E:{"8":0.00466,"13":0.00466,"14":0.03265,"15":0.00933,_:"0 4 5 6 7 9 10 11 12 3.1 3.2 5.1 6.1 7.1","9.1":0.00466,"10.1":0.00466,"11.1":0.04664,"12.1":0.00933,"13.1":0.08395,"14.1":0.32648,"15.1":0.01866,"15.2-15.3":0.01399,"15.4":0.01866,"15.5":0.02332,"15.6":0.2332,"16.0":0.02798,"16.1":0.04198,"16.2":0.02798,"16.3":0.0653,"16.4":0.03265,"16.5":0.03731,"16.6":0.22854,"17.0":0.03265,"17.1":0.04198,"17.2":0.06996,"17.3":0.0513,"17.4":0.12126,"17.5":0.36379,"17.6":1.36655,"18.0":0.31249,"18.1":0.01399},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.00272,"5.0-5.1":0.00136,"6.0-6.1":0.00816,"7.0-7.1":0.00952,"8.1-8.4":0,"9.0-9.2":0.00816,"9.3":0.02311,"10.0-10.2":0.0068,"10.3":0.03943,"11.0-11.2":0.14548,"11.3-11.4":0.01088,"12.0-12.1":0.0068,"12.2-12.5":0.16451,"13.0-13.1":0.00272,"13.2":0.05167,"13.3":0.0068,"13.4-13.7":0.02719,"14.0-14.4":0.06254,"14.5-14.8":0.08294,"15.0-15.1":0.04759,"15.2-15.3":0.04623,"15.4":0.05302,"15.5":0.06526,"15.6-15.8":0.64582,"16.0":0.13052,"16.1":0.25833,"16.2":0.12916,"16.3":0.21754,"16.4":0.04623,"16.5":0.09109,"16.6-16.7":0.7777,"17.0":0.06526,"17.1":0.10333,"17.2":0.09381,"17.3":0.1346,"17.4":0.28824,"17.5":1.38545,"17.6-17.7":7.37318,"18.0":0.92998,"18.1":0.04215},P:{"4":0.0624,"20":0.0208,"21":0.0312,"22":0.0624,"23":0.052,"24":0.104,"25":0.3016,"26":2.48562,"5.0-5.4":0.0104,"6.2-6.4":0.0104,_:"7.2-7.4 8.2 10.1 12.0","9.2":0.0104,"11.1-11.2":0.0208,"13.0":0.0104,"14.0":0.0208,"15.0":0.0104,"16.0":0.0104,"17.0":0.0104,"18.0":0.0104,"19.0":0.0208},I:{"0":0.03725,"3":0,"4":0,"2.1":0,"2.2":0,"2.3":0,"4.1":0,"4.2-4.3":0.00001,"4.4":0,"4.4.3-4.4.4":0.00006},K:{"0":0.38419,_:"10 11 12 11.1 11.5 12.1"},A:{"8":0.00475,"10":0.00475,"11":0.24235,_:"6 7 9 5.5"},N:{_:"10 11"},S:{_:"2.5 3.0-3.1"},J:{_:"7 10"},O:{"0":0.09605},H:{"0":0},L:{"0":35.3289},R:{_:"0"},M:{"0":0.74704},Q:{"14.9":0.00534}}; diff --git a/node_modules/caniuse-lite/data/regions/JE.js b/node_modules/caniuse-lite/data/regions/JE.js index 9bec0201c3..9000965499 100644 --- a/node_modules/caniuse-lite/data/regions/JE.js +++ b/node_modules/caniuse-lite/data/regions/JE.js @@ -1 +1 @@ -module.exports={C:{"48":0.00424,"81":0.00424,"115":0.10171,"123":0.00424,"124":0.11443,"125":0.93236,"126":0.66537,_:"2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 116 117 118 119 120 121 122 127 128 129 3.5 3.6"},D:{"49":0.01271,"80":0.08052,"87":0.00424,"90":0.00424,"93":0.06357,"94":0.00848,"98":0.00424,"99":0.00424,"101":0.00424,"103":0.17376,"107":0.00424,"109":0.22461,"111":0.00424,"112":0.00424,"113":0.01271,"115":0.00424,"116":0.14409,"117":0.00848,"118":0.06781,"119":0.01695,"120":0.04662,"121":0.36023,"122":0.51704,"123":1.0256,"124":12.12492,"125":4.67028,"126":0.05086,_:"4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 81 83 84 85 86 88 89 91 92 95 96 97 100 102 104 105 106 108 110 114 127 128"},F:{"106":0.00848,"107":0.10171,"109":0.37718,"110":0.00848,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 60 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 108 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"108":0.00848,"109":0.05509,"113":0.00424,"114":0.01695,"116":0.00424,"117":0.00424,"120":0.00424,"121":0.00424,"122":0.01695,"123":0.08052,"124":5.18307,"125":2.90727,_:"12 13 14 15 16 17 18 79 80 81 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 110 111 112 115 118 119"},E:{"14":0.08052,"15":0.00848,_:"0 4 5 6 7 8 9 10 11 12 13 3.1 3.2 5.1 6.1 7.1 9.1 10.1 11.1 17.6","12.1":0.07628,"13.1":0.03814,"14.1":0.19919,"15.1":0.00424,"15.2-15.3":0.089,"15.4":0.02543,"15.5":0.19495,"15.6":0.76284,"16.0":0.07205,"16.1":0.26699,"16.2":0.05509,"16.3":0.15257,"16.4":0.08052,"16.5":0.19919,"16.6":1.6613,"17.0":0.02543,"17.1":0.14833,"17.2":0.089,"17.3":0.18647,"17.4":6.42905,"17.5":0.75013},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.00688,"5.0-5.1":0.00688,"6.0-6.1":0.01721,"7.0-7.1":0.0241,"8.1-8.4":0.00688,"9.0-9.2":0.01721,"9.3":0.07917,"10.0-10.2":0.01377,"10.3":0.12392,"11.0-11.2":0.18244,"11.3-11.4":0.03442,"12.0-12.1":0.02065,"12.2-12.5":0.49912,"13.0-13.1":0.01033,"13.2":0.04819,"13.3":0.0241,"13.4-13.7":0.11015,"14.0-14.4":0.18932,"14.5-14.8":0.29259,"15.0-15.1":0.14113,"15.2-15.3":0.1549,"15.4":0.17555,"15.5":0.2203,"15.6-15.8":1.98273,"16.0":0.45093,"16.1":0.9294,"16.2":0.45093,"16.3":0.78139,"16.4":0.16523,"16.5":0.3339,"16.6-16.7":2.66085,"17.0":0.28915,"17.1":0.47159,"17.2":0.49224,"17.3":0.90875,"17.4":20.63623,"17.5":1.45607,"17.6":0},P:{"4":0.14964,"20":0.02302,"21":0.02302,"22":0.01151,"23":0.12662,"24":0.18417,"25":3.787,_:"5.0-5.4 6.2-6.4 8.2 9.2 10.1 11.1-11.2 12.0 13.0 14.0 15.0 16.0 17.0 18.0 19.0","7.2-7.4":0.01151},I:{"0":0.01722,"3":0,"4":0,"2.1":0,"2.2":0,"2.3":0,"4.1":0,"4.2-4.3":0.00001,"4.4":0,"4.4.3-4.4.4":0.00004},K:{"0":0.03763,_:"10 11 12 11.1 11.5 12.1"},A:{"11":0.00424,_:"6 7 8 9 10 5.5"},S:{_:"2.5 3.0-3.1"},J:{_:"7 10"},N:{_:"10 11"},L:{"0":18.36248},R:{_:"0"},M:{"0":0.39188},Q:{_:"14.9"},O:{"0":0.00576},H:{"0":0.02}}; +module.exports={C:{"48":0.00429,"81":0.01286,"115":0.35994,"125":0.00429,"127":0.00857,"128":0.00857,"129":0.18854,"130":1.38834,"131":0.00857,_:"2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 116 117 118 119 120 121 122 123 124 126 132 133 134 135 3.5 3.6"},D:{"70":0.00429,"76":0.00429,"79":0.00429,"80":0.1157,"87":0.00857,"88":0.03857,"92":0.00857,"93":0.00429,"94":0.00429,"98":0.01286,"99":0.00429,"103":0.55705,"109":0.16712,"111":0.01714,"114":0.00429,"116":0.09427,"117":0.00429,"118":0.00429,"119":0.00429,"120":0.02143,"121":0.00857,"122":0.35994,"123":0.03857,"124":0.03,"125":0.07713,"126":0.2871,"127":1.13124,"128":9.8555,"129":4.88919,"130":0.00429,_:"4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 71 72 73 74 75 77 78 81 83 84 85 86 89 90 91 95 96 97 100 101 102 104 105 106 107 108 110 112 113 115 131 132 133"},F:{"84":0.00429,"89":0.00429,"95":0.00429,"109":0.03,"112":0.3728,"113":0.44564,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 60 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 85 86 87 88 90 91 92 93 94 96 97 98 99 100 101 102 103 104 105 106 107 108 110 111 114 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"108":0.00429,"109":0.08999,"116":0.00429,"120":0.00429,"125":0.00857,"126":0.03428,"127":0.56134,"128":6.33752,"129":2.73383,"130":0.00429,_:"12 13 14 15 16 17 18 79 80 81 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 110 111 112 113 114 115 117 118 119 121 122 123 124"},E:{"10":0.00429,"14":0.06428,"15":0.02571,_:"0 4 5 6 7 8 9 11 12 13 3.1 3.2 5.1 6.1 7.1 9.1 10.1 11.1","12.1":0.01286,"13.1":0.03857,"14.1":0.10713,"15.1":0.00857,"15.2-15.3":0.03,"15.4":0.00857,"15.5":0.03857,"15.6":0.96841,"16.0":0.26139,"16.1":0.14141,"16.2":0.07285,"16.3":0.15855,"16.4":0.26139,"16.5":0.09427,"16.6":0.82701,"17.0":0.00429,"17.1":0.05999,"17.2":0.02571,"17.3":0.04285,"17.4":0.18854,"17.5":0.83129,"17.6":7.21594,"18.0":0.29567,"18.1":0.01714},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.00711,"5.0-5.1":0.00355,"6.0-6.1":0.02132,"7.0-7.1":0.02487,"8.1-8.4":0,"9.0-9.2":0.02132,"9.3":0.0604,"10.0-10.2":0.01777,"10.3":0.10304,"11.0-11.2":0.38018,"11.3-11.4":0.02842,"12.0-12.1":0.01777,"12.2-12.5":0.42992,"13.0-13.1":0.00711,"13.2":0.13502,"13.3":0.01777,"13.4-13.7":0.07106,"14.0-14.4":0.16344,"14.5-14.8":0.21674,"15.0-15.1":0.12436,"15.2-15.3":0.1208,"15.4":0.13857,"15.5":0.17055,"15.6-15.8":1.68771,"16.0":0.34109,"16.1":0.67508,"16.2":0.33754,"16.3":0.56849,"16.4":0.1208,"16.5":0.23806,"16.6-16.7":2.03235,"17.0":0.17055,"17.1":0.27003,"17.2":0.24516,"17.3":0.35175,"17.4":0.75325,"17.5":3.62057,"17.6-17.7":19.26827,"18.0":2.4303,"18.1":0.11015},P:{"4":0.31418,"20":0.01122,"22":0.01122,"23":0.01122,"24":0.01122,"25":0.34785,"26":3.51213,_:"21 5.0-5.4 7.2-7.4 8.2 9.2 10.1 11.1-11.2 12.0 13.0 14.0 16.0 17.0 19.0","6.2-6.4":0.01122,"15.0":0.01122,"18.0":0.01122},I:{"0":0.0057,"3":0,"4":0,"2.1":0,"2.2":0,"2.3":0,"4.1":0,"4.2-4.3":0,"4.4":0,"4.4.3-4.4.4":0.00001},K:{"0":0.02858,_:"10 11 12 11.1 11.5 12.1"},A:{"11":0.01286,_:"6 7 8 9 10 5.5"},N:{_:"10 11"},S:{_:"2.5 3.0-3.1"},J:{_:"7 10"},O:{_:"0"},H:{"0":0},L:{"0":16.87071},R:{_:"0"},M:{"0":0.40584},Q:{_:"14.9"}}; diff --git a/node_modules/caniuse-lite/data/regions/JM.js b/node_modules/caniuse-lite/data/regions/JM.js index 1ab307c9cc..29321ef1ae 100644 --- a/node_modules/caniuse-lite/data/regions/JM.js +++ b/node_modules/caniuse-lite/data/regions/JM.js @@ -1 +1 @@ -module.exports={C:{"48":0.00216,"73":0.01511,"78":0.02807,"87":0.00216,"113":0.00216,"115":0.05398,"121":0.01295,"122":0.00216,"123":0.02807,"124":0.06477,"125":0.47066,"126":0.38214,"127":0.00864,_:"2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 74 75 76 77 79 80 81 82 83 84 85 86 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 114 116 117 118 119 120 128 129 3.5 3.6"},D:{"11":0.00216,"43":0.00216,"49":0.00216,"56":0.00216,"62":0.00216,"63":0.00216,"65":0.00216,"69":0.01511,"70":0.0367,"73":0.02375,"74":0.00216,"75":0.00648,"76":0.01295,"77":0.00216,"79":0.01295,"80":0.02159,"81":0.02591,"83":0.0842,"84":0.00432,"86":0.00432,"87":0.02807,"88":0.00432,"89":0.00216,"90":0.00216,"91":0.00432,"93":0.0475,"94":0.00648,"95":0.00648,"96":0.00648,"98":0.00216,"99":0.00432,"100":0.00216,"101":0.00216,"102":0.00216,"103":0.17272,"104":0.00216,"105":0.00648,"106":0.00432,"107":0.00432,"108":0.00864,"109":0.37783,"110":0.00864,"111":0.0108,"112":0.01295,"113":0.00432,"114":0.01943,"115":0.00864,"116":0.03886,"117":0.02159,"118":0.01511,"119":0.04318,"120":0.06693,"121":0.05829,"122":0.11443,"123":0.72758,"124":8.42658,"125":3.13487,"126":0.01943,"127":0.00216,_:"4 5 6 7 8 9 10 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 44 45 46 47 48 50 51 52 53 54 55 57 58 59 60 61 64 66 67 68 71 72 78 85 92 97 128"},F:{"28":0.00648,"46":0.00216,"95":0.00216,"107":0.13386,"108":0.00216,"109":0.51816,"110":0.02375,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 47 48 49 50 51 52 53 54 55 56 57 58 60 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 96 97 98 99 100 101 102 103 104 105 106 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"15":0.00216,"16":0.00216,"18":0.00648,"92":0.0108,"100":0.00216,"107":0.00648,"109":0.00864,"112":0.00216,"114":0.00216,"116":0.00216,"117":0.00432,"118":0.00216,"119":0.00216,"120":0.00864,"121":0.00648,"122":0.01727,"123":0.08636,"124":1.96901,"125":1.08382,_:"12 13 14 17 79 80 81 83 84 85 86 87 88 89 90 91 93 94 95 96 97 98 99 101 102 103 104 105 106 108 110 111 113 115"},E:{"14":0.00216,"15":0.00216,_:"0 4 5 6 7 8 9 10 11 12 13 3.1 3.2 5.1 6.1 7.1 9.1 10.1 11.1 17.6","12.1":0.00432,"13.1":0.11011,"14.1":0.01727,"15.1":0.00216,"15.2-15.3":0.00216,"15.4":0.02375,"15.5":0.00864,"15.6":0.05613,"16.0":0.00432,"16.1":0.0108,"16.2":0.01511,"16.3":0.02807,"16.4":0.0108,"16.5":0.01727,"16.6":0.13818,"17.0":0.01295,"17.1":0.02159,"17.2":0.0367,"17.3":0.07772,"17.4":0.60668,"17.5":0.06045},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.00565,"5.0-5.1":0.00565,"6.0-6.1":0.01412,"7.0-7.1":0.01977,"8.1-8.4":0.00565,"9.0-9.2":0.01412,"9.3":0.06497,"10.0-10.2":0.0113,"10.3":0.10169,"11.0-11.2":0.14971,"11.3-11.4":0.02825,"12.0-12.1":0.01695,"12.2-12.5":0.40958,"13.0-13.1":0.00847,"13.2":0.03955,"13.3":0.01977,"13.4-13.7":0.09039,"14.0-14.4":0.15536,"14.5-14.8":0.2401,"15.0-15.1":0.11581,"15.2-15.3":0.12711,"15.4":0.14406,"15.5":0.18078,"15.6-15.8":1.62702,"16.0":0.37003,"16.1":0.76267,"16.2":0.37003,"16.3":0.6412,"16.4":0.13559,"16.5":0.27399,"16.6-16.7":2.18348,"17.0":0.23727,"17.1":0.38698,"17.2":0.40393,"17.3":0.74572,"17.4":16.93401,"17.5":1.19484,"17.6":0},P:{"4":0.06355,"20":0.03177,"21":0.10591,"22":0.08473,"23":0.16946,"24":0.2542,"25":2.44663,"5.0-5.4":0.01059,"6.2-6.4":0.02118,"7.2-7.4":0.16946,_:"8.2 9.2 10.1 12.0 15.0","11.1-11.2":0.01059,"13.0":0.01059,"14.0":0.01059,"16.0":0.02118,"17.0":0.01059,"18.0":0.01059,"19.0":0.04237},I:{"0":0.05468,"3":0,"4":0.00001,"2.1":0,"2.2":0,"2.3":0,"4.1":0.00001,"4.2-4.3":0.00003,"4.4":0,"4.4.3-4.4.4":0.00012},K:{"0":0.23526,_:"10 11 12 11.1 11.5 12.1"},A:{"10":0.00907,"11":0.00605,_:"6 7 8 9 5.5"},S:{_:"2.5 3.0-3.1"},J:{_:"7 10"},N:{_:"10 11"},L:{"0":47.51441},R:{_:"0"},M:{"0":0.11763},Q:{"14.9":0.00784},O:{"0":0.16468},H:{"0":0}}; +module.exports={C:{"78":0.03027,"88":0.00303,"115":0.06659,"121":0.02119,"123":0.00303,"125":0.00908,"127":0.00303,"128":0.00908,"129":0.13924,"130":1.00799,"131":0.02119,_:"2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 79 80 81 82 83 84 85 86 87 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 116 117 118 119 120 122 124 126 132 133 134 135 3.5 3.6"},D:{"11":0.00303,"47":0.00303,"49":0.0333,"63":0.00605,"65":0.00605,"66":0.00303,"69":0.01211,"70":0.01816,"73":0.04843,"74":0.00605,"75":0.00605,"76":0.01514,"79":0.03935,"80":0.00303,"81":0.02119,"83":0.35719,"84":0.00303,"85":0.00303,"86":0.00908,"87":0.03632,"88":0.00303,"89":0.00303,"90":0.00303,"91":0.01514,"92":0.00303,"93":0.06659,"94":0.03632,"95":0.00303,"97":0.00908,"98":0.01514,"99":0.00908,"100":0.00303,"102":0.00605,"103":0.16951,"104":0.00605,"105":0.00908,"106":0.00605,"107":0.00605,"108":0.00908,"109":0.37535,"110":0.00605,"111":0.01816,"112":0.01211,"114":0.01211,"115":0.00908,"116":0.08173,"117":0.02119,"118":0.01211,"119":0.04238,"120":0.02724,"121":0.04238,"122":0.04541,"123":0.0333,"124":0.06659,"125":0.05449,"126":0.37535,"127":1.04734,"128":11.49655,"129":4.19542,"130":0.01816,_:"4 5 6 7 8 9 10 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 48 50 51 52 53 54 55 56 57 58 59 60 61 62 64 67 68 71 72 77 78 96 101 113 131 132 133"},F:{"28":0.00908,"84":0.01816,"89":0.00605,"95":0.00605,"109":0.01211,"111":0.00303,"112":0.29967,"113":0.25124,"114":0.00908,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 60 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 85 86 87 88 90 91 92 93 94 96 97 98 99 100 101 102 103 104 105 106 107 108 110 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"16":0.00303,"17":0.00303,"18":0.00303,"92":0.01514,"100":0.00303,"109":0.02422,"112":0.00303,"114":0.00303,"115":0.00303,"119":0.00303,"120":0.00908,"121":0.01211,"122":0.00303,"123":0.00908,"124":0.01514,"125":0.01514,"126":0.05146,"127":0.1907,"128":3.73835,"129":1.30464,"130":0.00303,_:"12 13 14 15 79 80 81 83 84 85 86 87 88 89 90 91 93 94 95 96 97 98 99 101 102 103 104 105 106 107 108 110 111 113 116 117 118"},E:{"10":0.00303,"14":0.00303,"15":0.00303,_:"0 4 5 6 7 8 9 11 12 13 3.1 3.2 5.1 6.1 7.1 9.1 10.1 11.1 15.2-15.3","12.1":0.00303,"13.1":0.1453,"14.1":0.04843,"15.1":0.00303,"15.4":0.00303,"15.5":0.01211,"15.6":0.09686,"16.0":0.00605,"16.1":0.02724,"16.2":0.01211,"16.3":0.01816,"16.4":0.00605,"16.5":0.04843,"16.6":0.11805,"17.0":0.00605,"17.1":0.01816,"17.2":0.01816,"17.3":0.02119,"17.4":0.05146,"17.5":0.17254,"17.6":0.66594,"18.0":0.16951,"18.1":0.00605},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.0051,"5.0-5.1":0.00255,"6.0-6.1":0.0153,"7.0-7.1":0.01785,"8.1-8.4":0,"9.0-9.2":0.0153,"9.3":0.04334,"10.0-10.2":0.01275,"10.3":0.07393,"11.0-11.2":0.27278,"11.3-11.4":0.02039,"12.0-12.1":0.01275,"12.2-12.5":0.30847,"13.0-13.1":0.0051,"13.2":0.09687,"13.3":0.01275,"13.4-13.7":0.05099,"14.0-14.4":0.11727,"14.5-14.8":0.15551,"15.0-15.1":0.08923,"15.2-15.3":0.08668,"15.4":0.09942,"15.5":0.12237,"15.6-15.8":1.21093,"16.0":0.24474,"16.1":0.48437,"16.2":0.24219,"16.3":0.40789,"16.4":0.08668,"16.5":0.17081,"16.6-16.7":1.45822,"17.0":0.12237,"17.1":0.19375,"17.2":0.1759,"17.3":0.25238,"17.4":0.54046,"17.5":2.59777,"17.6-17.7":13.82501,"18.0":1.74374,"18.1":0.07903},P:{"4":0.22596,"20":0.02152,"21":0.04304,"22":0.13988,"23":0.03228,"24":0.06456,"25":0.27976,"26":2.58241,"5.0-5.4":0.02152,"6.2-6.4":0.02152,"7.2-7.4":0.19368,_:"8.2 9.2 10.1 12.0 14.0 15.0 18.0","11.1-11.2":0.01076,"13.0":0.01076,"16.0":0.02152,"17.0":0.01076,"19.0":0.06456},I:{"0":0.03477,"3":0,"4":0,"2.1":0,"2.2":0,"2.3":0,"4.1":0,"4.2-4.3":0.00001,"4.4":0,"4.4.3-4.4.4":0.00006},K:{"0":0.27195,_:"10 11 12 11.1 11.5 12.1"},A:{"10":0.00605,"11":0.00605,_:"6 7 8 9 5.5"},N:{_:"10 11"},S:{_:"2.5 3.0-3.1"},J:{_:"7 10"},O:{"0":0.16038},H:{"0":0},L:{"0":41.70997},R:{_:"0"},M:{"0":0.19524},Q:{"14.9":0.00697}}; diff --git a/node_modules/caniuse-lite/data/regions/JO.js b/node_modules/caniuse-lite/data/regions/JO.js index 7b2f0e9ae7..9613e503dd 100644 --- a/node_modules/caniuse-lite/data/regions/JO.js +++ b/node_modules/caniuse-lite/data/regions/JO.js @@ -1 +1 @@ -module.exports={C:{"34":0.00396,"52":0.00198,"54":0.00198,"78":0.00396,"88":0.00198,"102":0.00198,"103":0.01189,"108":0.00198,"110":0.00198,"115":0.07135,"118":0.00198,"121":0.00198,"122":0.00198,"123":0.00396,"124":0.00396,"125":0.19622,"126":0.16451,"127":0.00198,_:"2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 53 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 79 80 81 82 83 84 85 86 87 89 90 91 92 93 94 95 96 97 98 99 100 101 104 105 106 107 109 111 112 113 114 116 117 119 120 128 129 3.5 3.6"},D:{"11":0.01387,"38":0.01189,"39":0.00198,"43":0.00198,"47":0.00198,"48":0.00198,"49":0.00396,"55":0.00396,"58":0.04955,"60":0.00198,"63":0.01189,"65":0.00793,"66":0.00198,"68":0.00198,"69":0.00396,"70":0.00198,"71":0.00198,"72":0.00198,"73":0.00793,"74":0.00198,"76":0.00198,"78":0.00991,"79":0.01982,"80":0.00198,"81":0.00396,"83":0.03568,"84":0.00396,"85":0.00793,"86":0.00595,"87":0.03171,"88":0.01189,"89":0.00198,"90":0.00198,"91":0.00198,"92":0.00396,"93":0.00396,"94":0.00396,"95":0.00595,"96":0.00396,"97":0.00198,"98":0.05153,"99":0.03766,"100":0.00396,"101":0.00198,"102":0.01189,"103":0.0218,"104":0.01586,"105":0.00991,"106":0.01586,"107":0.01586,"108":0.03766,"109":1.08614,"110":0.01189,"111":0.01982,"112":0.00793,"113":0.01387,"114":0.00991,"115":0.00396,"116":0.02973,"117":0.01189,"118":0.00595,"119":0.04757,"120":0.07135,"121":0.05351,"122":0.12288,"123":0.27946,"124":7.90818,"125":3.21877,"126":0.00595,"127":0.00198,_:"4 5 6 7 8 9 10 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 40 41 42 44 45 46 50 51 52 53 54 56 57 59 61 62 64 67 75 77 128"},F:{"28":0.00198,"64":0.00198,"82":0.00396,"83":0.00396,"86":0.00198,"91":0.00198,"94":0.00198,"95":0.01586,"102":0.00198,"104":0.01189,"105":0.01982,"106":0.01784,"107":0.1209,"108":0.02775,"109":0.1427,"110":0.00793,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 60 62 63 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 84 85 87 88 89 90 92 93 96 97 98 99 100 101 103 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"12":0.00198,"18":0.00198,"84":0.00198,"92":0.01387,"98":0.00198,"100":0.00198,"104":0.04162,"107":0.00396,"108":0.00396,"109":0.01784,"112":0.00198,"116":0.00198,"117":0.00198,"118":0.00396,"119":0.00198,"120":0.00595,"121":0.00793,"122":0.01982,"123":0.02775,"124":1.16343,"125":0.70361,_:"13 14 15 16 17 79 80 81 83 85 86 87 88 89 90 91 93 94 95 96 97 99 101 102 103 105 106 110 111 113 114 115"},E:{"14":0.00793,"15":0.00198,_:"0 4 5 6 7 8 9 10 11 12 13 3.1 3.2 6.1 7.1 9.1 10.1 11.1 12.1 17.6","5.1":0.00198,"13.1":0.01189,"14.1":0.01189,"15.1":0.00793,"15.2-15.3":0.00396,"15.4":0.00396,"15.5":0.00991,"15.6":0.05748,"16.0":0.00396,"16.1":0.01189,"16.2":0.00793,"16.3":0.0218,"16.4":0.00595,"16.5":0.00793,"16.6":0.05153,"17.0":0.01189,"17.1":0.01982,"17.2":0.03171,"17.3":0.03369,"17.4":0.41027,"17.5":0.05946},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.00234,"5.0-5.1":0.00234,"6.0-6.1":0.00586,"7.0-7.1":0.00821,"8.1-8.4":0.00234,"9.0-9.2":0.00586,"9.3":0.02696,"10.0-10.2":0.00469,"10.3":0.0422,"11.0-11.2":0.06213,"11.3-11.4":0.01172,"12.0-12.1":0.00703,"12.2-12.5":0.16997,"13.0-13.1":0.00352,"13.2":0.01641,"13.3":0.00821,"13.4-13.7":0.03751,"14.0-14.4":0.06447,"14.5-14.8":0.09964,"15.0-15.1":0.04806,"15.2-15.3":0.05275,"15.4":0.05978,"15.5":0.07502,"15.6-15.8":0.67521,"16.0":0.15356,"16.1":0.3165,"16.2":0.15356,"16.3":0.2661,"16.4":0.05627,"16.5":0.11371,"16.6-16.7":0.90614,"17.0":0.09847,"17.1":0.1606,"17.2":0.16763,"17.3":0.30947,"17.4":7.02753,"17.5":0.49585,"17.6":0},P:{"4":0.10238,"20":0.05119,"21":0.10238,"22":0.14333,"23":0.24571,"24":0.45048,"25":3.53215,"5.0-5.4":0.01024,_:"6.2-6.4 8.2 9.2","7.2-7.4":0.14333,"10.1":0.01024,"11.1-11.2":0.06143,"12.0":0.01024,"13.0":0.03071,"14.0":0.04095,"15.0":0.04095,"16.0":0.04095,"17.0":0.03071,"18.0":0.03071,"19.0":0.06143},I:{"0":0.05591,"3":0,"4":0.00001,"2.1":0,"2.2":0,"2.3":0,"4.1":0.00001,"4.2-4.3":0.00003,"4.4":0,"4.4.3-4.4.4":0.00012},K:{"0":0.39892,_:"10 11 12 11.1 11.5 12.1"},A:{"8":0.00212,"9":0.00212,"11":0.02548,_:"6 7 10 5.5"},S:{"2.5":0.00802,_:"3.0-3.1"},J:{_:"7 10"},N:{_:"10 11"},L:{"0":64.66313},R:{_:"0"},M:{"0":0.20045},Q:{_:"14.9"},O:{"0":0.24856},H:{"0":0.01}}; +module.exports={C:{"34":0.00395,"52":0.00395,"56":0.00395,"78":0.00198,"103":0.00593,"115":0.14425,"117":0.00198,"122":0.00198,"125":0.00988,"127":0.0079,"128":0.00198,"129":0.08497,"130":0.3379,"131":0.00198,_:"2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 53 54 55 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 104 105 106 107 108 109 110 111 112 113 114 116 118 119 120 121 123 124 126 132 133 134 135 3.5 3.6"},D:{"11":0.01976,"34":0.0079,"38":0.00198,"47":0.00198,"49":0.01778,"50":0.00198,"55":0.00198,"58":0.09287,"63":0.00198,"65":0.00395,"66":0.00593,"68":0.00198,"69":0.00198,"70":0.00395,"73":0.01581,"74":0.00198,"75":0.00198,"76":0.00198,"78":0.00593,"79":0.00988,"80":0.00198,"81":0.00988,"83":0.04347,"84":0.00198,"85":0.00395,"86":0.00395,"87":0.02964,"88":0.01581,"89":0.00198,"90":0.00593,"91":0.00198,"93":0.00593,"94":0.02371,"95":0.00395,"96":0.00593,"97":0.00395,"98":0.05335,"99":0.05335,"100":0.00395,"101":0.00198,"102":0.00593,"103":0.01976,"104":0.00593,"105":0.00198,"106":0.00593,"107":0.00593,"108":0.01383,"109":0.97812,"110":0.01186,"111":0.0079,"112":0.01976,"113":0.00198,"114":0.01186,"115":0.0079,"116":0.01383,"117":0.00395,"118":0.0079,"119":0.02964,"120":0.03162,"121":0.03162,"122":0.07706,"123":0.04742,"124":0.14425,"125":0.06323,"126":0.12449,"127":0.49598,"128":8.53434,"129":3.08058,"130":0.00395,_:"4 5 6 7 8 9 10 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 35 36 37 39 40 41 42 43 44 45 46 48 51 52 53 54 56 57 59 60 61 62 64 67 71 72 77 92 131 132 133"},F:{"46":0.00395,"79":0.00395,"82":0.00593,"83":0.01186,"84":0.00593,"85":0.00198,"95":0.01383,"104":0.00198,"105":0.00198,"106":0.00593,"107":0.00395,"109":0.02964,"111":0.02371,"112":0.17389,"113":0.09485,"114":0.00198,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 47 48 49 50 51 52 53 54 55 56 57 58 60 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 80 81 86 87 88 89 90 91 92 93 94 96 97 98 99 100 101 102 103 108 110 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"18":0.00395,"84":0.00198,"89":0.00198,"92":0.00988,"100":0.00198,"109":0.00988,"112":0.00198,"114":0.00395,"117":0.00198,"119":0.00198,"120":0.00198,"121":0.00198,"122":0.11461,"123":0.00198,"124":0.00395,"125":0.00395,"126":0.00988,"127":0.05138,"128":1.25871,"129":0.55526,"130":0.00198,_:"12 13 14 15 16 17 79 80 81 83 85 86 87 88 90 91 93 94 95 96 97 98 99 101 102 103 104 105 106 107 108 110 111 113 115 116 118"},E:{"14":0.00395,_:"0 4 5 6 7 8 9 10 11 12 13 15 3.1 3.2 6.1 7.1 9.1 10.1 11.1 12.1","5.1":0.00395,"13.1":0.01186,"14.1":0.0079,"15.1":0.01383,"15.2-15.3":0.00198,"15.4":0.00395,"15.5":0.0079,"15.6":0.04545,"16.0":0.0079,"16.1":0.01186,"16.2":0.0079,"16.3":0.01778,"16.4":0.00395,"16.5":0.0079,"16.6":0.03754,"17.0":0.00395,"17.1":0.01581,"17.2":0.0079,"17.3":0.03952,"17.4":0.06521,"17.5":0.10078,"17.6":0.35963,"18.0":0.07509,"18.1":0.00395},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.00272,"5.0-5.1":0.00136,"6.0-6.1":0.00815,"7.0-7.1":0.0095,"8.1-8.4":0,"9.0-9.2":0.00815,"9.3":0.02308,"10.0-10.2":0.00679,"10.3":0.03937,"11.0-11.2":0.14527,"11.3-11.4":0.01086,"12.0-12.1":0.00679,"12.2-12.5":0.16428,"13.0-13.1":0.00272,"13.2":0.05159,"13.3":0.00679,"13.4-13.7":0.02715,"14.0-14.4":0.06245,"14.5-14.8":0.08282,"15.0-15.1":0.04752,"15.2-15.3":0.04616,"15.4":0.05295,"15.5":0.06517,"15.6-15.8":0.64489,"16.0":0.13034,"16.1":0.25796,"16.2":0.12898,"16.3":0.21723,"16.4":0.04616,"16.5":0.09096,"16.6-16.7":0.77658,"17.0":0.06517,"17.1":0.10318,"17.2":0.09368,"17.3":0.13441,"17.4":0.28782,"17.5":1.38346,"17.6-17.7":7.36259,"18.0":0.92864,"18.1":0.04209},P:{"4":0.04106,"20":0.03079,"21":0.04106,"22":0.13344,"23":0.12318,"24":0.13344,"25":0.43112,"26":3.69532,"5.0-5.4":0.01026,"6.2-6.4":0.01026,"7.2-7.4":0.11291,_:"8.2 9.2 10.1","11.1-11.2":0.05132,"12.0":0.01026,"13.0":0.02053,"14.0":0.03079,"15.0":0.01026,"16.0":0.04106,"17.0":0.02053,"18.0":0.02053,"19.0":0.03079},I:{"0":0.04801,"3":0,"4":0,"2.1":0,"2.2":0,"2.3":0,"4.1":0,"4.2-4.3":0.00002,"4.4":0,"4.4.3-4.4.4":0.00008},K:{"0":0.3591,_:"10 11 12 11.1 11.5 12.1"},A:{"8":0.00237,"9":0.00237,"11":0.01897,_:"6 7 10 5.5"},N:{_:"10 11"},S:{_:"2.5 3.0-3.1"},J:{_:"7 10"},O:{"0":0.30491},H:{"0":0.01},L:{"0":61.92961},R:{_:"0"},M:{"0":0.2327},Q:{_:"14.9"}}; diff --git a/node_modules/caniuse-lite/data/regions/JP.js b/node_modules/caniuse-lite/data/regions/JP.js index 5ca1b89f73..3f6cf615df 100644 --- a/node_modules/caniuse-lite/data/regions/JP.js +++ b/node_modules/caniuse-lite/data/regions/JP.js @@ -1 +1 @@ -module.exports={C:{"44":0.00609,"48":0.01217,"52":0.01826,"54":0.42609,"56":0.00609,"78":0.02435,"83":0.00609,"88":0.00609,"91":0.00609,"99":0.00609,"102":0.01217,"103":0.01217,"105":0.01826,"106":0.01826,"107":0.02435,"108":0.02435,"109":0.02435,"110":0.02435,"111":0.01826,"113":0.00609,"115":0.28609,"116":0.00609,"117":0.00609,"120":0.00609,"121":0.01217,"122":0.00609,"123":0.01826,"124":0.0487,"125":1.31479,"126":1.10175,"127":0.00609,_:"2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 45 46 47 49 50 51 53 55 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 79 80 81 82 84 85 86 87 89 90 92 93 94 95 96 97 98 100 101 104 112 114 118 119 128 129 3.5 3.6"},D:{"48":0.00609,"49":0.05478,"52":0.00609,"53":0.02435,"65":0.00609,"67":0.00609,"68":0.01217,"69":0.00609,"70":0.00609,"71":0.00609,"72":0.00609,"74":0.01217,"75":0.00609,"76":0.00609,"77":0.02435,"78":0.00609,"79":0.01217,"80":0.01217,"81":0.06696,"83":0.01217,"84":0.00609,"85":0.00609,"86":0.12783,"87":0.01826,"88":0.00609,"89":0.01217,"90":0.00609,"91":0.06087,"92":0.00609,"93":0.00609,"94":0.00609,"95":0.02435,"96":0.00609,"97":0.01826,"98":0.02435,"99":0.01826,"100":0.07913,"101":0.12174,"102":0.07913,"103":0.16435,"104":0.08522,"105":0.03652,"106":0.09739,"107":0.10957,"108":0.15218,"109":1.00436,"110":0.08522,"111":0.09739,"112":0.09739,"113":0.04261,"114":0.06087,"115":0.01217,"116":0.15218,"117":0.01826,"118":0.03044,"119":0.12783,"120":0.16435,"121":0.15826,"122":0.28609,"123":1.48523,"124":19.21057,"125":6.93309,"126":0.01826,"127":0.00609,_:"4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 50 51 54 55 56 57 58 59 60 61 62 63 64 66 73 128"},F:{"49":0.00609,"75":0.00609,"91":0.00609,"92":0.00609,"93":0.00609,"94":0.00609,"95":0.01826,"101":0.00609,"107":0.01826,"108":0.00609,"109":0.25565,"110":0.02435,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 50 51 52 53 54 55 56 57 58 60 62 63 64 65 66 67 68 69 70 71 72 73 74 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 96 97 98 99 100 102 103 104 105 106 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"17":0.00609,"18":0.00609,"92":0.01826,"100":0.00609,"101":0.00609,"103":0.00609,"105":0.00609,"106":0.01217,"107":0.02435,"108":0.02435,"109":0.31652,"110":0.01826,"111":0.01217,"112":0.01217,"113":0.01217,"114":0.02435,"115":0.00609,"116":0.00609,"117":0.01217,"118":0.01217,"119":0.01826,"120":0.04261,"121":0.03652,"122":0.10957,"123":0.21913,"124":7.66962,"125":4.48003,_:"12 13 14 15 16 79 80 81 83 84 85 86 87 88 89 90 91 93 94 95 96 97 98 99 102 104"},E:{"13":0.00609,"14":0.02435,"15":0.00609,_:"0 4 5 6 7 8 9 10 11 12 3.1 3.2 5.1 6.1 7.1 10.1 17.6","9.1":0.00609,"11.1":0.00609,"12.1":0.01217,"13.1":0.0487,"14.1":0.11565,"15.1":0.00609,"15.2-15.3":0.01217,"15.4":0.03044,"15.5":0.03044,"15.6":0.21913,"16.0":0.03044,"16.1":0.0487,"16.2":0.04261,"16.3":0.09739,"16.4":0.02435,"16.5":0.03652,"16.6":0.3287,"17.0":0.02435,"17.1":0.04261,"17.2":0.06696,"17.3":0.09131,"17.4":1.31479,"17.5":0.1887},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.00405,"5.0-5.1":0.00405,"6.0-6.1":0.01012,"7.0-7.1":0.01416,"8.1-8.4":0.00405,"9.0-9.2":0.01012,"9.3":0.04653,"10.0-10.2":0.00809,"10.3":0.07283,"11.0-11.2":0.10722,"11.3-11.4":0.02023,"12.0-12.1":0.01214,"12.2-12.5":0.29334,"13.0-13.1":0.00607,"13.2":0.02832,"13.3":0.01416,"13.4-13.7":0.06474,"14.0-14.4":0.11127,"14.5-14.8":0.17196,"15.0-15.1":0.08294,"15.2-15.3":0.09104,"15.4":0.10317,"15.5":0.12947,"15.6-15.8":1.16526,"16.0":0.26502,"16.1":0.54622,"16.2":0.26502,"16.3":0.45923,"16.4":0.09711,"16.5":0.19623,"16.6-16.7":1.5638,"17.0":0.16993,"17.1":0.27715,"17.2":0.28929,"17.3":0.53408,"17.4":12.12801,"17.5":0.85574,"17.6":0},P:{"20":0.01093,"21":0.01093,"22":0.01093,"23":0.02186,"24":0.07653,"25":0.90737,_:"4 5.0-5.4 6.2-6.4 7.2-7.4 8.2 9.2 10.1 11.1-11.2 12.0 13.0 14.0 15.0 16.0 18.0","17.0":0.01093,"19.0":0.01093},I:{"0":0.05847,"3":0,"4":0.00001,"2.1":0,"2.2":0,"2.3":0,"4.1":0.00001,"4.2-4.3":0.00004,"4.4":0,"4.4.3-4.4.4":0.00013},K:{"0":0.14869,_:"10 11 12 11.1 11.5 12.1"},A:{"8":0.11334,"9":0.03778,"10":0.00945,"11":0.38726,_:"6 7 5.5"},S:{_:"2.5 3.0-3.1"},J:{_:"7 10"},N:{_:"10 11"},L:{"0":24.85987},R:{_:"0"},M:{"0":0.37174},Q:{"14.9":0.04304},O:{"0":0.23478},H:{"0":0}}; +module.exports={C:{"48":0.01679,"52":0.02239,"54":0.17351,"56":0.0056,"78":0.01679,"83":0.0056,"102":0.01119,"103":0.02239,"105":0.0056,"106":0.0056,"107":0.01119,"108":0.01119,"109":0.0056,"110":0.01119,"111":0.0056,"113":0.01679,"114":0.0056,"115":0.28545,"116":0.0056,"119":0.0056,"121":0.0056,"122":0.0056,"123":0.0056,"124":0.0056,"125":0.02239,"126":0.01119,"127":0.02239,"128":0.02799,"129":0.45336,"130":2.02052,"131":0.0056,_:"2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 49 50 51 53 55 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 79 80 81 82 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 104 112 117 118 120 132 133 134 135 3.5 3.6"},D:{"34":0.0056,"48":0.0056,"49":0.03358,"52":0.0056,"53":0.0056,"58":0.0056,"65":0.0056,"67":0.0056,"68":0.0056,"70":0.0056,"72":0.01119,"74":0.01119,"75":0.01119,"77":0.0056,"78":0.01119,"79":0.01119,"80":0.0056,"81":0.05037,"83":0.01679,"84":0.0056,"85":0.0056,"86":0.03358,"87":0.01119,"88":0.0056,"89":0.01679,"90":0.01119,"91":0.07836,"92":0.31903,"93":0.01119,"94":0.0056,"95":0.02799,"96":0.01119,"97":0.01119,"98":0.01679,"99":0.01679,"100":0.39739,"101":0.02239,"102":0.01679,"103":0.06716,"104":0.05597,"105":0.03918,"106":0.07276,"107":0.07836,"108":0.08396,"109":0.9291,"110":0.05597,"111":0.06716,"112":0.07836,"113":0.06157,"114":0.08396,"115":0.01119,"116":0.12313,"117":0.01119,"118":0.04478,"119":0.10634,"120":0.11754,"121":0.10075,"122":0.08955,"123":0.08955,"124":0.16791,"125":0.24067,"126":0.39739,"127":1.58955,"128":17.9104,"129":5.47946,"130":0.02239,"131":0.01119,_:"4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 35 36 37 38 39 40 41 42 43 44 45 46 47 50 51 54 55 56 57 59 60 61 62 63 64 66 69 71 73 76 132 133"},F:{"46":0.0056,"83":0.0056,"84":0.03918,"93":0.0056,"94":0.0056,"95":0.01679,"101":0.0056,"109":0.0056,"112":0.1959,"113":0.08396,"114":0.0056,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 47 48 49 50 51 52 53 54 55 56 57 58 60 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 85 86 87 88 89 90 91 92 96 97 98 99 100 102 103 104 105 106 107 108 110 111 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"17":0.0056,"92":0.0056,"102":0.0056,"106":0.0056,"107":0.01119,"108":0.01679,"109":0.22948,"110":0.01119,"111":0.01679,"112":0.01119,"113":0.01679,"114":0.01679,"115":0.01119,"116":0.0056,"117":0.0056,"118":0.0056,"119":0.01119,"120":0.03358,"121":0.01679,"122":0.02239,"123":0.01119,"124":0.02799,"125":0.03358,"126":0.11194,"127":0.30224,"128":7.61752,"129":3.1679,"130":0.0056,_:"12 13 14 15 16 18 79 80 81 83 84 85 86 87 88 89 90 91 93 94 95 96 97 98 99 100 101 103 104 105"},E:{"9":0.0056,"13":0.0056,"14":0.02799,"15":0.0056,_:"0 4 5 6 7 8 10 11 12 3.1 3.2 5.1 6.1 7.1 9.1 10.1 11.1","12.1":0.01679,"13.1":0.05597,"14.1":0.10634,"15.1":0.01119,"15.2-15.3":0.0056,"15.4":0.03358,"15.5":0.02239,"15.6":0.20709,"16.0":0.02799,"16.1":0.03918,"16.2":0.02239,"16.3":0.07276,"16.4":0.03358,"16.5":0.03918,"16.6":0.26306,"17.0":0.01119,"17.1":0.02799,"17.2":0.02799,"17.3":0.03358,"17.4":0.11194,"17.5":0.27985,"17.6":1.34328,"18.0":0.14552,"18.1":0.0056},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.00421,"5.0-5.1":0.0021,"6.0-6.1":0.01262,"7.0-7.1":0.01472,"8.1-8.4":0,"9.0-9.2":0.01262,"9.3":0.03576,"10.0-10.2":0.01052,"10.3":0.06099,"11.0-11.2":0.22505,"11.3-11.4":0.01683,"12.0-12.1":0.01052,"12.2-12.5":0.2545,"13.0-13.1":0.00421,"13.2":0.07992,"13.3":0.01052,"13.4-13.7":0.04207,"14.0-14.4":0.09675,"14.5-14.8":0.1283,"15.0-15.1":0.07361,"15.2-15.3":0.07151,"15.4":0.08203,"15.5":0.10096,"15.6-15.8":0.99906,"16.0":0.20191,"16.1":0.39962,"16.2":0.19981,"16.3":0.33652,"16.4":0.07151,"16.5":0.14092,"16.6-16.7":1.20307,"17.0":0.10096,"17.1":0.15985,"17.2":0.14513,"17.3":0.20822,"17.4":0.44589,"17.5":2.14324,"17.6-17.7":11.40606,"18.0":1.43864,"18.1":0.0652},P:{"20":0.01091,"21":0.01091,"22":0.01091,"23":0.01091,"24":0.01091,"25":0.07639,"26":0.88398,_:"4 5.0-5.4 6.2-6.4 7.2-7.4 8.2 9.2 10.1 11.1-11.2 12.0 13.0 14.0 15.0 16.0 18.0","17.0":0.01091,"19.0":0.01091},I:{"0":0.08341,"3":0,"4":0,"2.1":0,"2.2":0,"2.3":0,"4.1":0.00001,"4.2-4.3":0.00003,"4.4":0,"4.4.3-4.4.4":0.00013},K:{"0":0.15847,_:"10 11 12 11.1 11.5 12.1"},A:{"6":0.01656,"8":0.08279,"9":0.03312,"10":0.01656,"11":0.24837,_:"7 5.5"},N:{_:"10 11"},S:{_:"2.5 3.0-3.1"},J:{_:"7 10"},O:{"0":0.30814},H:{"0":0},L:{"0":27.25885},R:{_:"0"},M:{"0":0.51944},Q:{"14.9":0.13646}}; diff --git a/node_modules/caniuse-lite/data/regions/KE.js b/node_modules/caniuse-lite/data/regions/KE.js index 7d6ea28d78..5fbd3d17f7 100644 --- a/node_modules/caniuse-lite/data/regions/KE.js +++ b/node_modules/caniuse-lite/data/regions/KE.js @@ -1 +1 @@ -module.exports={C:{"34":0.00262,"47":0.00524,"52":0.98774,"66":0.00262,"68":0.00262,"72":0.00262,"78":0.00786,"81":0.00262,"88":0.00262,"102":0.00262,"103":0.00262,"105":0.00262,"109":0.00262,"112":0.00262,"113":0.00262,"114":0.00262,"115":0.25414,"116":0.00262,"118":0.00262,"119":0.00262,"120":0.00262,"121":0.01048,"122":0.0131,"123":0.03144,"124":0.03668,"125":0.60784,"126":0.56592,"127":0.02358,_:"2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 35 36 37 38 39 40 41 42 43 44 45 46 48 49 50 51 53 54 55 56 57 58 59 60 61 62 63 64 65 67 69 70 71 73 74 75 76 77 79 80 82 83 84 85 86 87 89 90 91 92 93 94 95 96 97 98 99 100 101 104 106 107 108 110 111 117 128 129 3.5 3.6"},D:{"11":0.00262,"38":0.00262,"41":0.00524,"43":0.00262,"49":0.00786,"50":0.00262,"51":0.00524,"53":0.00262,"54":0.00262,"56":0.01048,"58":0.00524,"62":0.00262,"64":0.00262,"65":0.00262,"66":0.01048,"68":0.00524,"69":0.00786,"70":0.00524,"71":0.00262,"72":0.00524,"73":0.02096,"74":0.00524,"75":0.00262,"76":0.00524,"77":0.00524,"78":0.00262,"79":0.01834,"80":0.00262,"81":0.00524,"83":0.08122,"84":0.00262,"85":0.00262,"86":0.00262,"87":0.06026,"88":0.0262,"89":0.00262,"90":0.00262,"91":0.00786,"92":0.00524,"93":0.28034,"94":0.00262,"95":0.0131,"96":0.00262,"97":0.00786,"98":0.0131,"99":0.00786,"100":0.00524,"101":0.00524,"102":0.01048,"103":0.06026,"104":0.00524,"105":0.00524,"106":0.00786,"107":0.0131,"108":0.01572,"109":1.1659,"110":0.00786,"111":0.01572,"112":0.00786,"113":0.00524,"114":0.03144,"115":0.02358,"116":0.07074,"117":0.01834,"118":0.0131,"119":0.07074,"120":0.0655,"121":0.08646,"122":0.14934,"123":0.48208,"124":10.21276,"125":3.82782,"126":0.01572,_:"4 5 6 7 8 9 10 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 39 40 42 44 45 46 47 48 52 55 57 59 60 61 63 67 127 128"},F:{"28":0.01048,"36":0.00262,"46":0.00524,"79":0.00524,"81":0.00524,"82":0.0131,"83":0.00262,"85":0.00262,"95":0.01572,"102":0.00524,"106":0.00262,"107":0.03144,"108":0.0131,"109":0.46898,"110":0.0393,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 29 30 31 32 33 34 35 37 38 39 40 41 42 43 44 45 47 48 49 50 51 52 53 54 55 56 57 58 60 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 80 84 86 87 88 89 90 91 92 93 94 96 97 98 99 100 101 103 104 105 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"12":0.01048,"13":0.00524,"14":0.00262,"15":0.00262,"16":0.00524,"17":0.00524,"18":0.02882,"84":0.00262,"89":0.00786,"90":0.00524,"92":0.0393,"100":0.00524,"103":0.00262,"106":0.00262,"107":0.00262,"108":0.00524,"109":0.01834,"111":0.00262,"112":0.00262,"114":0.00524,"115":0.00262,"116":0.00262,"117":0.00524,"118":0.00524,"119":0.00524,"120":0.0131,"121":0.0131,"122":0.0393,"123":0.04454,"124":1.38598,"125":0.70478,_:"79 80 81 83 85 86 87 88 91 93 94 95 96 97 98 99 101 102 104 105 110 113"},E:{"13":0.00262,"14":0.00524,"15":0.00524,_:"0 4 5 6 7 8 9 10 11 12 3.1 3.2 6.1 7.1 9.1 10.1 11.1 15.2-15.3 17.6","5.1":0.00262,"12.1":0.00262,"13.1":0.01834,"14.1":0.01572,"15.1":0.00262,"15.4":0.00262,"15.5":0.00262,"15.6":0.04978,"16.0":0.00262,"16.1":0.01834,"16.2":0.00524,"16.3":0.00786,"16.4":0.00524,"16.5":0.01048,"16.6":0.12052,"17.0":0.00786,"17.1":0.01572,"17.2":0.01834,"17.3":0.02358,"17.4":0.1441,"17.5":0.03406},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.00039,"5.0-5.1":0.00039,"6.0-6.1":0.00096,"7.0-7.1":0.00135,"8.1-8.4":0.00039,"9.0-9.2":0.00096,"9.3":0.00443,"10.0-10.2":0.00077,"10.3":0.00693,"11.0-11.2":0.01021,"11.3-11.4":0.00193,"12.0-12.1":0.00116,"12.2-12.5":0.02793,"13.0-13.1":0.00058,"13.2":0.0027,"13.3":0.00135,"13.4-13.7":0.00616,"14.0-14.4":0.01059,"14.5-14.8":0.01637,"15.0-15.1":0.0079,"15.2-15.3":0.00867,"15.4":0.00982,"15.5":0.01233,"15.6-15.8":0.11095,"16.0":0.02523,"16.1":0.05201,"16.2":0.02523,"16.3":0.04372,"16.4":0.00925,"16.5":0.01868,"16.6-16.7":0.14889,"17.0":0.01618,"17.1":0.02639,"17.2":0.02754,"17.3":0.05085,"17.4":1.15474,"17.5":0.08148,"17.6":0},P:{"4":0.10443,"20":0.01044,"21":0.03133,"22":0.05222,"23":0.08355,"24":0.12532,"25":0.54306,"5.0-5.4":0.01044,_:"6.2-6.4 8.2 9.2 10.1 11.1-11.2 12.0 14.0 15.0 16.0 18.0","7.2-7.4":0.0731,"13.0":0.01044,"17.0":0.02089,"19.0":0.04177},I:{"0":0.05146,"3":0,"4":0.00001,"2.1":0,"2.2":0,"2.3":0,"4.1":0.00001,"4.2-4.3":0.00003,"4.4":0,"4.4.3-4.4.4":0.00011},K:{"0":16.48594,_:"10 11 12 11.1 11.5 12.1"},A:{"8":0.00299,"10":0.00599,"11":0.03294,_:"6 7 9 5.5"},S:{"2.5":0.00738,_:"3.0-3.1"},J:{_:"7 10"},N:{_:"10 11"},L:{"0":46.86934},R:{_:"0"},M:{"0":0.1845},Q:{"14.9":0.00738},O:{"0":0.1845},H:{"0":9.44}}; +module.exports={C:{"34":0.00867,"47":0.00289,"52":0.01156,"66":0.00289,"68":0.00289,"72":0.00289,"78":0.00578,"89":0.00289,"92":0.00578,"103":0.00289,"104":0.00289,"105":0.00289,"109":0.00578,"110":0.00289,"112":0.00289,"113":0.00289,"114":0.00289,"115":0.22261,"118":0.00289,"119":0.00867,"121":0.00289,"122":0.00578,"123":0.01156,"124":0.00289,"125":0.00578,"126":0.00578,"127":0.03469,"128":0.01735,"129":0.28043,"130":1.09858,"131":0.0318,"132":0.00289,_:"2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 35 36 37 38 39 40 41 42 43 44 45 46 48 49 50 51 53 54 55 56 57 58 59 60 61 62 63 64 65 67 69 70 71 73 74 75 76 77 79 80 81 82 83 84 85 86 87 88 90 91 93 94 95 96 97 98 99 100 101 102 106 107 108 111 116 117 120 133 134 135 3.5 3.6"},D:{"11":0.00867,"38":0.00289,"43":0.00289,"49":0.00867,"50":0.00289,"51":0.00867,"56":0.00867,"58":0.00289,"65":0.00289,"66":0.00867,"68":0.00578,"69":0.00867,"70":0.00867,"71":0.00578,"72":0.00867,"73":0.02891,"74":0.00578,"75":0.00867,"76":0.00578,"77":0.00289,"78":0.00289,"79":0.04626,"80":0.00289,"81":0.00578,"83":0.0954,"84":0.00289,"86":0.00289,"87":0.03758,"88":0.03469,"89":0.00289,"90":0.00289,"91":0.01156,"92":0.00289,"93":0.02024,"94":0.01156,"95":0.02602,"96":0.00289,"97":0.00289,"98":0.01446,"99":0.00578,"100":0.00867,"101":0.00578,"102":0.00289,"103":0.07517,"104":0.00289,"105":0.00578,"106":0.01735,"107":0.01156,"108":0.01446,"109":1.19109,"110":0.00867,"111":0.01156,"112":0.00867,"113":0.00578,"114":0.02024,"115":0.00578,"116":0.06071,"117":0.02024,"118":0.01156,"119":0.04047,"120":0.0318,"121":0.02891,"122":0.06071,"123":0.04047,"124":0.07806,"125":0.07228,"126":0.21393,"127":0.68517,"128":11.64206,"129":3.68892,"130":0.01156,"131":0.00289,_:"4 5 6 7 8 9 10 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 39 40 41 42 44 45 46 47 48 52 53 54 55 57 59 60 61 62 63 64 67 85 132 133"},F:{"37":0.00289,"46":0.01156,"83":0.02313,"84":0.08384,"85":0.00289,"95":0.04626,"106":0.00289,"107":0.00289,"109":0.00578,"111":0.00289,"112":0.36716,"113":0.21104,"114":0.00578,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 38 39 40 41 42 43 44 45 47 48 49 50 51 52 53 54 55 56 57 58 60 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 86 87 88 89 90 91 92 93 94 96 97 98 99 100 101 102 103 104 105 108 110 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"12":0.01156,"13":0.00289,"16":0.00289,"17":0.00289,"18":0.01735,"84":0.00289,"89":0.00289,"90":0.00578,"92":0.04047,"100":0.01156,"107":0.00289,"108":0.00289,"109":0.0318,"110":0.00289,"111":0.00289,"112":0.00289,"113":0.00578,"114":0.01156,"115":0.00289,"116":0.00289,"117":0.00289,"118":0.00578,"119":0.00289,"120":0.00578,"121":0.00867,"122":0.01156,"123":0.00578,"124":0.01156,"125":0.01735,"126":0.05493,"127":0.10119,"128":1.8965,"129":0.66204,_:"14 15 79 80 81 83 85 86 87 88 91 93 94 95 96 97 98 99 101 102 103 104 105 106 130"},E:{"14":0.00578,_:"0 4 5 6 7 8 9 10 11 12 13 15 3.1 3.2 6.1 7.1 9.1 10.1 11.1 15.2-15.3","5.1":0.01735,"12.1":0.00289,"13.1":0.01156,"14.1":0.01446,"15.1":0.00289,"15.4":0.00289,"15.5":0.00289,"15.6":0.03758,"16.0":0.00867,"16.1":0.01156,"16.2":0.00289,"16.3":0.01156,"16.4":0.00578,"16.5":0.00578,"16.6":0.12142,"17.0":0.01446,"17.1":0.00867,"17.2":0.01446,"17.3":0.02313,"17.4":0.0318,"17.5":0.0636,"17.6":0.18213,"18.0":0.03469,"18.1":0.00289},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.0004,"5.0-5.1":0.0002,"6.0-6.1":0.00119,"7.0-7.1":0.00139,"8.1-8.4":0,"9.0-9.2":0.00119,"9.3":0.00338,"10.0-10.2":0.001,"10.3":0.00577,"11.0-11.2":0.0213,"11.3-11.4":0.00159,"12.0-12.1":0.001,"12.2-12.5":0.02409,"13.0-13.1":0.0004,"13.2":0.00756,"13.3":0.001,"13.4-13.7":0.00398,"14.0-14.4":0.00916,"14.5-14.8":0.01214,"15.0-15.1":0.00697,"15.2-15.3":0.00677,"15.4":0.00776,"15.5":0.00955,"15.6-15.8":0.09455,"16.0":0.01911,"16.1":0.03782,"16.2":0.01891,"16.3":0.03185,"16.4":0.00677,"16.5":0.01334,"16.6-16.7":0.11386,"17.0":0.00955,"17.1":0.01513,"17.2":0.01373,"17.3":0.01971,"17.4":0.0422,"17.5":0.20283,"17.6-17.7":1.07946,"18.0":0.13615,"18.1":0.00617},P:{"4":0.15763,"20":0.01051,"21":0.03153,"22":0.09458,"23":0.03153,"24":0.08407,"25":0.1156,"26":0.74614,_:"5.0-5.4 8.2 9.2 10.1 11.1-11.2 12.0 13.0 14.0 16.0 18.0","6.2-6.4":0.01051,"7.2-7.4":0.1156,"15.0":0.01051,"17.0":0.01051,"19.0":0.03153},I:{"0":0.08508,"3":0,"4":0,"2.1":0,"2.2":0,"2.3":0,"4.1":0.00001,"4.2-4.3":0.00003,"4.4":0,"4.4.3-4.4.4":0.00014},K:{"0":13.48084,_:"10 11 12 11.1 11.5 12.1"},A:{"8":0.00322,"10":0.00322,"11":0.07739,_:"6 7 9 5.5"},N:{_:"10 11"},S:{"2.5":0.00711,_:"3.0-3.1"},J:{_:"7 10"},O:{"0":0.19905},H:{"0":4.64},L:{"0":52.57083},R:{_:"0"},M:{"0":0.24171},Q:{"14.9":0.01422}}; diff --git a/node_modules/caniuse-lite/data/regions/KG.js b/node_modules/caniuse-lite/data/regions/KG.js index b0a8962f8f..382139cd56 100644 --- a/node_modules/caniuse-lite/data/regions/KG.js +++ b/node_modules/caniuse-lite/data/regions/KG.js @@ -1 +1 @@ -module.exports={C:{"52":0.02038,"59":0.00291,"90":0.03494,"94":0.00874,"104":0.00291,"112":0.00291,"113":0.00291,"115":0.23296,"118":0.00582,"119":0.01456,"121":0.01747,"122":0.00291,"123":0.00582,"124":0.00582,"125":0.41933,"126":0.23005,"127":0.00291,_:"2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 53 54 55 56 57 58 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 91 92 93 95 96 97 98 99 100 101 102 103 105 106 107 108 109 110 111 114 116 117 120 128 129 3.5 3.6"},D:{"49":0.01747,"52":0.36109,"60":0.00291,"66":0.00291,"67":0.00291,"68":0.00874,"73":0.00291,"78":0.00291,"79":0.0233,"83":0.00874,"84":0.00291,"85":0.00291,"86":0.00291,"87":0.02621,"88":0.00291,"89":0.00582,"90":0.0233,"92":0.00291,"95":0.00291,"96":0.00291,"97":0.00291,"98":0.00291,"99":0.00291,"100":0.00874,"101":0.02621,"102":0.01456,"103":0.02038,"105":0.00582,"106":0.03494,"107":0.00291,"108":0.0233,"109":3.14496,"111":0.00874,"112":0.01456,"113":0.00582,"114":0.01165,"115":0.01456,"116":0.02038,"117":0.01165,"118":0.01747,"119":0.03203,"120":0.44262,"121":0.06698,"122":0.11648,"123":0.37856,"124":10.52397,"125":4.12922,"126":0.00291,"127":0.02038,_:"4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 50 51 53 54 55 56 57 58 59 61 62 63 64 65 69 70 71 72 74 75 76 77 80 81 91 93 94 104 110 128"},F:{"42":0.02621,"74":0.00291,"79":0.00874,"84":0.00291,"85":0.02621,"86":0.00874,"90":0.00291,"95":0.19802,"102":0.00291,"105":0.00582,"107":0.23296,"108":0.01747,"109":1.2609,"110":0.17181,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 60 62 63 64 65 66 67 68 69 70 71 72 73 75 76 77 78 80 81 82 83 87 88 89 91 92 93 94 96 97 98 99 100 101 103 104 106 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"14":0.00291,"18":0.00582,"87":0.00291,"92":0.00874,"100":0.00874,"107":0.00291,"109":0.01456,"110":0.01165,"114":0.01456,"116":0.00291,"120":0.00582,"121":0.00291,"122":0.00874,"123":0.0495,"124":1.35117,"125":0.42224,_:"12 13 15 16 17 79 80 81 83 84 85 86 88 89 90 91 93 94 95 96 97 98 99 101 102 103 104 105 106 108 111 112 113 115 117 118 119"},E:{"14":0.00291,_:"0 4 5 6 7 8 9 10 11 12 13 15 3.1 3.2 6.1 7.1 9.1 10.1 12.1 15.1 15.2-15.3 17.6","5.1":0.14269,"11.1":0.00291,"13.1":0.00582,"14.1":0.01165,"15.4":0.00291,"15.5":0.00291,"15.6":0.14851,"16.0":0.04077,"16.1":0.07571,"16.2":0.00582,"16.3":0.0233,"16.4":0.00582,"16.5":0.01747,"16.6":0.06115,"17.0":0.01747,"17.1":0.05533,"17.2":0.03494,"17.3":0.03203,"17.4":0.26499,"17.5":0.04659},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.0022,"5.0-5.1":0.0022,"6.0-6.1":0.0055,"7.0-7.1":0.0077,"8.1-8.4":0.0022,"9.0-9.2":0.0055,"9.3":0.02529,"10.0-10.2":0.0044,"10.3":0.03958,"11.0-11.2":0.05827,"11.3-11.4":0.01099,"12.0-12.1":0.0066,"12.2-12.5":0.15941,"13.0-13.1":0.0033,"13.2":0.01539,"13.3":0.0077,"13.4-13.7":0.03518,"14.0-14.4":0.06046,"14.5-14.8":0.09344,"15.0-15.1":0.04507,"15.2-15.3":0.04947,"15.4":0.05607,"15.5":0.07036,"15.6-15.8":0.63322,"16.0":0.14401,"16.1":0.29682,"16.2":0.14401,"16.3":0.24955,"16.4":0.05277,"16.5":0.10664,"16.6-16.7":0.8498,"17.0":0.09235,"17.1":0.15061,"17.2":0.15721,"17.3":0.29023,"17.4":6.5906,"17.5":0.46502,"17.6":0},P:{"4":0.14831,"20":0.02119,"21":0.05297,"22":0.08475,"23":0.15891,"24":0.27544,"25":0.96404,"5.0-5.4":0.02119,"6.2-6.4":0.01059,"7.2-7.4":0.11653,_:"8.2 9.2 10.1 14.0 15.0","11.1-11.2":0.01059,"12.0":0.01059,"13.0":0.01059,"16.0":0.02119,"17.0":0.01059,"18.0":0.02119,"19.0":0.03178},I:{"0":0.00706,"3":0,"4":0,"2.1":0,"2.2":0,"2.3":0,"4.1":0,"4.2-4.3":0,"4.4":0,"4.4.3-4.4.4":0.00002},K:{"0":0.70171,_:"10 11 12 11.1 11.5 12.1"},A:{"11":0.08445,_:"6 7 8 9 10 5.5"},S:{"2.5":0.02126,_:"3.0-3.1"},J:{_:"7 10"},N:{_:"10 11"},L:{"0":56.31229},R:{_:"0"},M:{"0":0.10632},Q:{"14.9":0.02126},O:{"0":0.42528},H:{"0":0}}; +module.exports={C:{"52":0.01132,"90":0.04813,"94":0.01132,"115":0.25762,"116":0.00566,"119":0.01699,"121":0.00566,"123":0.00566,"125":0.00849,"127":0.00849,"128":0.01982,"129":0.12173,"130":0.54072,_:"2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 91 92 93 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 117 118 120 122 124 126 131 132 133 134 135 3.5 3.6"},D:{"29":0.00283,"49":0.01699,"50":0.00283,"57":0.00566,"58":0.01416,"60":0.01416,"70":0.00283,"75":0.00283,"78":0.00566,"79":0.01416,"81":0.00283,"83":0.02831,"84":0.01132,"85":0.01132,"86":0.00283,"87":0.01132,"88":0.00283,"89":0.00283,"91":0.00849,"92":0.00283,"94":0.02548,"95":0.05096,"97":0.00283,"98":0.00283,"99":0.00283,"100":0.00849,"101":0.07927,"102":0.00849,"103":0.01699,"105":0.00283,"106":0.02548,"107":0.00566,"108":0.01416,"109":2.72059,"110":0.00566,"111":0.00566,"112":0.02265,"114":0.03114,"115":0.00283,"116":0.04813,"117":0.05096,"118":0.22082,"119":0.01132,"120":0.76154,"121":0.08776,"122":0.04813,"123":0.02831,"124":0.15854,"125":0.07927,"126":0.18968,"127":0.63414,"128":10.90218,"129":3.45948,"131":0.00566,_:"4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 51 52 53 54 55 56 59 61 62 63 64 65 66 67 68 69 71 72 73 74 76 77 80 90 93 96 104 113 130 132 133"},F:{"42":0.00283,"84":0.00283,"85":0.00849,"95":0.18402,"104":0.00283,"109":0.00849,"110":0.00283,"111":0.00283,"112":0.87195,"113":0.50109,"114":0.01416,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 60 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 86 87 88 89 90 91 92 93 94 96 97 98 99 100 101 102 103 105 106 107 108 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6","12.1":0.06794},B:{"15":0.00283,"18":0.00849,"89":0.00283,"92":0.00849,"100":0.00283,"102":0.01132,"109":0.00283,"116":0.01416,"120":0.00283,"121":0.01416,"122":0.00283,"123":0.00283,"125":0.00849,"126":0.01132,"127":0.04247,"128":0.90875,"129":0.31424,"130":0.00283,_:"12 13 14 16 17 79 80 81 83 84 85 86 87 88 90 91 93 94 95 96 97 98 99 101 103 104 105 106 107 108 110 111 112 113 114 115 117 118 119 124"},E:{"4":0.00283,"14":0.00283,_:"0 5 6 7 8 9 10 11 12 13 15 3.1 3.2 6.1 7.1 9.1 10.1 11.1 12.1 15.4 16.0 18.1","5.1":0.02548,"13.1":0.00566,"14.1":0.01699,"15.1":0.01416,"15.2-15.3":0.00566,"15.5":0.00849,"15.6":0.03397,"16.1":0.00849,"16.2":0.01132,"16.3":0.01699,"16.4":0.01416,"16.5":0.01699,"16.6":0.06228,"17.0":0.07927,"17.1":0.09909,"17.2":0.02265,"17.3":0.01416,"17.4":0.07644,"17.5":0.09625,"17.6":0.37086,"18.0":0.10192},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.00235,"5.0-5.1":0.00118,"6.0-6.1":0.00705,"7.0-7.1":0.00823,"8.1-8.4":0,"9.0-9.2":0.00705,"9.3":0.01999,"10.0-10.2":0.00588,"10.3":0.0341,"11.0-11.2":0.1258,"11.3-11.4":0.00941,"12.0-12.1":0.00588,"12.2-12.5":0.14226,"13.0-13.1":0.00235,"13.2":0.04468,"13.3":0.00588,"13.4-13.7":0.02351,"14.0-14.4":0.05408,"14.5-14.8":0.07172,"15.0-15.1":0.04115,"15.2-15.3":0.03997,"15.4":0.04585,"15.5":0.05643,"15.6-15.8":0.55847,"16.0":0.11287,"16.1":0.22339,"16.2":0.11169,"16.3":0.18811,"16.4":0.03997,"16.5":0.07877,"16.6-16.7":0.67251,"17.0":0.05643,"17.1":0.08935,"17.2":0.08112,"17.3":0.1164,"17.4":0.24925,"17.5":1.19805,"17.6-17.7":6.37591,"18.0":0.80419,"18.1":0.03645},P:{"4":0.04041,"20":0.03031,"21":0.04041,"22":0.10104,"23":0.15156,"24":0.09093,"25":0.22228,"26":0.8184,"5.0-5.4":0.0101,"6.2-6.4":0.02021,"7.2-7.4":0.10104,_:"8.2 9.2 10.1 12.0 13.0 14.0 15.0","11.1-11.2":0.0101,"16.0":0.04041,"17.0":0.0101,"18.0":0.0101,"19.0":0.02021},I:{"0":0.00715,"3":0,"4":0,"2.1":0,"2.2":0,"2.3":0,"4.1":0,"4.2-4.3":0,"4.4":0,"4.4.3-4.4.4":0.00001},K:{"0":0.65238,_:"10 11 12 11.1 11.5 12.1"},A:{"8":0.0289,"9":0.00642,"10":0.00963,"11":0.1702,_:"6 7 5.5"},N:{_:"10 11"},S:{_:"2.5 3.0-3.1"},J:{_:"7 10"},O:{"0":0.55918},H:{"0":0},L:{"0":55.79056},R:{_:"0"},M:{"0":0.07886},Q:{"14.9":0.02151}}; diff --git a/node_modules/caniuse-lite/data/regions/KH.js b/node_modules/caniuse-lite/data/regions/KH.js index 86cf5a0fc4..2d18276c50 100644 --- a/node_modules/caniuse-lite/data/regions/KH.js +++ b/node_modules/caniuse-lite/data/regions/KH.js @@ -1 +1 @@ -module.exports={C:{"3":0.00321,"4":0.00642,"44":0.00321,"50":0.00964,"51":0.01927,"52":0.02891,"67":0.00321,"68":0.00321,"72":0.00642,"75":0.01927,"78":0.05139,"82":0.00321,"91":0.00642,"95":0.00321,"102":0.00642,"103":0.02248,"105":0.00964,"106":0.01285,"107":0.00642,"108":0.01285,"109":0.00964,"110":0.00642,"111":0.00642,"112":0.00321,"113":0.00321,"115":0.12206,"116":0.00321,"117":0.00321,"119":0.00321,"121":0.00321,"122":0.02248,"123":0.00642,"124":0.0257,"125":0.65846,"126":0.48501,"127":0.01606,_:"2 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 45 46 47 48 49 53 54 55 56 57 58 59 60 61 62 63 64 65 66 69 70 71 73 74 76 77 79 80 81 83 84 85 86 87 88 89 90 92 93 94 96 97 98 99 100 101 104 114 118 120 128 129 3.5 3.6"},D:{"29":0.00642,"38":0.01606,"39":0.00321,"41":0.00321,"42":0.00321,"43":0.00321,"44":0.00642,"45":0.00321,"46":0.00321,"47":0.00321,"51":0.00321,"56":0.10278,"57":0.00964,"58":0.00964,"64":0.00321,"68":0.00321,"70":0.01927,"71":0.00321,"72":0.00964,"74":0.00321,"75":0.00321,"76":0.00321,"77":0.00321,"79":0.05139,"80":0.00964,"81":0.02248,"83":0.00642,"84":0.00321,"85":0.05139,"86":0.01285,"87":0.11884,"88":0.00321,"90":0.00321,"91":0.00321,"92":0.00321,"93":0.01927,"94":0.00964,"95":0.00642,"96":0.00321,"97":0.00642,"98":0.01927,"99":0.02248,"100":0.00642,"101":0.00964,"102":0.01285,"103":0.04176,"104":0.0546,"105":0.03212,"106":0.05139,"107":0.06745,"108":0.05782,"109":0.70343,"110":0.03533,"111":0.04176,"112":0.03854,"113":0.01285,"114":0.01927,"115":0.00642,"116":0.07066,"117":0.01606,"118":0.01285,"119":0.07066,"120":0.07709,"121":0.11884,"122":0.22484,"123":0.54604,"124":14.27734,"125":5.69166,"126":0.01606,"127":0.00964,_:"4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 30 31 32 33 34 35 36 37 40 48 49 50 52 53 54 55 59 60 61 62 63 65 66 67 69 73 78 89 128"},F:{"28":0.00321,"30":0.00321,"44":0.00642,"65":0.00321,"84":0.00642,"90":0.00642,"93":0.00321,"94":0.00642,"95":0.01927,"97":0.00321,"107":0.14775,"108":0.03854,"109":0.68094,"110":0.0546,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 29 31 32 33 34 35 36 37 38 39 40 41 42 43 45 46 47 48 49 50 51 52 53 54 55 56 57 58 60 62 63 64 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 85 86 87 88 89 91 92 96 98 99 100 101 102 103 104 105 106 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"12":0.00321,"14":0.00964,"17":0.00321,"18":0.01606,"89":0.00321,"92":0.03212,"100":0.00321,"103":0.00321,"105":0.00964,"106":0.00321,"107":0.00642,"108":0.00642,"109":0.00964,"110":0.00642,"111":0.00964,"112":0.00321,"113":0.00642,"114":0.00321,"116":0.00321,"117":0.01606,"118":0.00321,"119":0.00642,"120":0.01285,"121":0.00642,"122":0.01606,"123":0.04497,"124":1.16596,"125":0.70343,_:"13 15 16 79 80 81 83 84 85 86 87 88 90 91 93 94 95 96 97 98 99 101 102 104 115"},E:{"4":0.00321,"9":0.00964,"10":0.01606,"14":0.00964,"15":0.00642,_:"0 5 6 7 8 11 12 13 3.1 3.2 5.1 6.1 7.1 9.1 10.1 11.1 17.6","12.1":0.00642,"13.1":0.01927,"14.1":0.04497,"15.1":0.00642,"15.2-15.3":0.01285,"15.4":0.00964,"15.5":0.01927,"15.6":0.09636,"16.0":0.01606,"16.1":0.03212,"16.2":0.02248,"16.3":0.08351,"16.4":0.00964,"16.5":0.01927,"16.6":0.16702,"17.0":0.01927,"17.1":0.03533,"17.2":0.03212,"17.3":0.06745,"17.4":0.61349,"17.5":0.0803},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.0047,"5.0-5.1":0.0047,"6.0-6.1":0.01175,"7.0-7.1":0.01645,"8.1-8.4":0.0047,"9.0-9.2":0.01175,"9.3":0.05405,"10.0-10.2":0.0094,"10.3":0.0846,"11.0-11.2":0.12455,"11.3-11.4":0.0235,"12.0-12.1":0.0141,"12.2-12.5":0.34075,"13.0-13.1":0.00705,"13.2":0.0329,"13.3":0.01645,"13.4-13.7":0.0752,"14.0-14.4":0.12925,"14.5-14.8":0.19975,"15.0-15.1":0.09635,"15.2-15.3":0.10575,"15.4":0.11985,"15.5":0.1504,"15.6-15.8":1.3536,"16.0":0.30785,"16.1":0.6345,"16.2":0.30785,"16.3":0.53345,"16.4":0.1128,"16.5":0.22795,"16.6-16.7":1.81655,"17.0":0.1974,"17.1":0.32195,"17.2":0.33605,"17.3":0.6204,"17.4":14.08828,"17.5":0.99405,"17.6":0},P:{"4":0.04139,"20":0.01035,"21":0.0207,"22":0.06209,"23":0.07244,"24":0.19661,"25":0.98307,"5.0-5.4":0.01035,"6.2-6.4":0.01035,"7.2-7.4":0.01035,_:"8.2 9.2 10.1 11.1-11.2 12.0 13.0 15.0 18.0","14.0":0.01035,"16.0":0.01035,"17.0":0.01035,"19.0":0.0207},I:{"0":0.07438,"3":0,"4":0.00001,"2.1":0,"2.2":0,"2.3":0,"4.1":0.00001,"4.2-4.3":0.00004,"4.4":0,"4.4.3-4.4.4":0.00016},K:{"0":0.53625,_:"10 11 12 11.1 11.5 12.1"},A:{"7":0.00353,"8":0.10244,"9":0.02119,"10":0.01766,"11":1.23633,_:"6 5.5"},S:{_:"2.5 3.0-3.1"},J:{_:"7 10"},N:{_:"10 11"},L:{"0":41.62122},R:{_:"0"},M:{"0":0.17649},Q:{"14.9":0.0543},O:{"0":1.2422},H:{"0":0}}; +module.exports={C:{"4":0.05572,"44":0.00398,"47":0.04378,"50":0.02388,"51":0.07562,"52":0.05572,"67":0.00398,"68":0.00398,"72":0.00796,"75":0.01592,"78":0.03184,"102":0.01194,"103":0.02786,"105":0.00398,"106":0.00398,"107":0.00796,"108":0.01194,"109":0.00796,"110":0.00398,"111":0.00796,"112":0.00796,"115":0.1393,"116":0.00398,"121":0.00398,"125":0.01592,"126":0.00398,"127":0.01592,"128":0.01194,"129":0.20298,"130":0.96714,"131":0.00796,_:"2 3 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 45 46 48 49 53 54 55 56 57 58 59 60 61 62 63 64 65 66 69 70 71 73 74 76 77 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 104 113 114 117 118 119 120 122 123 124 132 133 134 135 3.5 3.6"},D:{"29":0.00398,"37":0.02786,"38":0.10746,"48":0.00398,"56":0.21492,"57":0.00796,"58":0.02786,"69":0.00796,"70":0.00398,"71":0.00398,"74":0.00398,"75":0.00398,"76":0.00398,"79":0.0398,"80":0.00398,"81":0.0199,"83":0.01194,"84":0.01194,"85":0.04378,"86":0.03184,"87":0.07164,"88":0.00398,"89":0.04776,"90":0.00398,"91":0.00398,"94":0.02388,"95":0.00398,"96":0.00398,"98":0.00796,"99":0.02786,"100":0.02388,"101":0.00398,"102":0.01592,"103":0.04378,"104":0.08358,"105":0.0199,"106":0.04776,"107":0.06368,"108":0.03582,"109":0.62088,"110":0.0199,"111":0.02786,"112":0.02786,"113":0.01194,"114":0.0199,"115":0.01194,"116":0.13134,"117":0.00398,"118":0.0199,"119":0.01592,"120":0.14726,"121":0.05572,"122":0.09552,"123":0.05572,"124":0.34228,"125":0.10348,"126":0.32636,"127":1.14624,"128":20.09104,"129":5.10634,"130":0.03582,"131":0.01194,_:"4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 30 31 32 33 34 35 36 39 40 41 42 43 44 45 46 47 49 50 51 52 53 54 55 59 60 61 62 63 64 65 66 67 68 72 73 77 78 92 93 97 132 133"},F:{"44":0.0199,"65":0.00398,"84":0.02388,"92":0.00398,"94":0.00796,"95":0.01194,"109":0.00796,"110":0.00398,"112":0.68854,"113":0.37014,"114":0.01194,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 45 46 47 48 49 50 51 52 53 54 55 56 57 58 60 62 63 64 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 85 86 87 88 89 90 91 93 96 97 98 99 100 101 102 103 104 105 106 107 108 111 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"14":0.00796,"17":0.00398,"18":0.00796,"89":0.00398,"92":0.0398,"100":0.00796,"106":0.01194,"107":0.00796,"108":0.01194,"109":0.01194,"110":0.00398,"111":0.00796,"114":0.00398,"117":0.00796,"119":0.00398,"120":0.0199,"121":0.00398,"122":0.00398,"123":0.00398,"124":0.00796,"125":0.00796,"126":0.02388,"127":0.14726,"128":1.95816,"129":0.54924,_:"12 13 15 16 79 80 81 83 84 85 86 87 88 90 91 93 94 95 96 97 98 99 101 102 103 104 105 112 113 115 116 118 130"},E:{"10":0.01194,"14":0.00398,"15":0.00398,_:"0 4 5 6 7 8 9 11 12 13 3.1 3.2 5.1 6.1 7.1 9.1 10.1 11.1","12.1":0.00398,"13.1":0.01592,"14.1":0.04776,"15.1":0.00796,"15.2-15.3":0.00796,"15.4":0.00796,"15.5":0.01194,"15.6":0.11542,"16.0":0.0398,"16.1":0.03582,"16.2":0.01194,"16.3":0.03184,"16.4":0.01194,"16.5":0.01194,"16.6":0.15124,"17.0":0.00796,"17.1":0.0199,"17.2":0.01194,"17.3":0.02388,"17.4":0.10746,"17.5":0.13532,"17.6":0.64078,"18.0":0.08756,"18.1":0.00796},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.00359,"5.0-5.1":0.0018,"6.0-6.1":0.01078,"7.0-7.1":0.01258,"8.1-8.4":0,"9.0-9.2":0.01078,"9.3":0.03055,"10.0-10.2":0.00899,"10.3":0.05212,"11.0-11.2":0.19231,"11.3-11.4":0.01438,"12.0-12.1":0.00899,"12.2-12.5":0.21747,"13.0-13.1":0.00359,"13.2":0.0683,"13.3":0.00899,"13.4-13.7":0.03595,"14.0-14.4":0.08267,"14.5-14.8":0.10963,"15.0-15.1":0.0629,"15.2-15.3":0.06111,"15.4":0.07009,"15.5":0.08627,"15.6-15.8":0.8537,"16.0":0.17254,"16.1":0.34148,"16.2":0.17074,"16.3":0.28756,"16.4":0.06111,"16.5":0.12042,"16.6-16.7":1.02804,"17.0":0.08627,"17.1":0.13659,"17.2":0.12401,"17.3":0.17793,"17.4":0.38102,"17.5":1.83142,"17.6-17.7":9.74659,"18.0":1.22933,"18.1":0.05572},P:{"4":0.07347,"21":0.0105,"22":0.02099,"23":0.03149,"24":0.02099,"25":0.10495,"26":0.82913,_:"20 5.0-5.4 6.2-6.4 8.2 9.2 10.1 11.1-11.2 12.0 13.0 14.0 15.0 16.0 18.0","7.2-7.4":0.0105,"17.0":0.0105,"19.0":0.0105},I:{"0":0.03603,"3":0,"4":0,"2.1":0,"2.2":0,"2.3":0,"4.1":0,"4.2-4.3":0.00001,"4.4":0,"4.4.3-4.4.4":0.00006},K:{"0":0.48168,_:"10 11 12 11.1 11.5 12.1"},A:{"8":0.07088,"9":0.02025,"10":0.01519,"11":1.21504,_:"6 7 5.5"},N:{_:"10 11"},S:{"2.5":0.00602,_:"3.0-3.1"},J:{_:"7 10"},O:{"0":1.04163},H:{"0":0},L:{"0":40.0619},R:{_:"0"},M:{"0":0.19267},Q:{"14.9":0.07225}}; diff --git a/node_modules/caniuse-lite/data/regions/KI.js b/node_modules/caniuse-lite/data/regions/KI.js index 51c66b03ec..002754cf03 100644 --- a/node_modules/caniuse-lite/data/regions/KI.js +++ b/node_modules/caniuse-lite/data/regions/KI.js @@ -1 +1 @@ -module.exports={C:{"115":0.05334,"124":0.01667,"125":0.21338,"126":0.19671,_:"2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 116 117 118 119 120 121 122 123 127 128 129 3.5 3.6"},D:{"38":0.03667,"75":0.01667,"99":0.44676,"102":0.3234,"108":0.01667,"109":0.10669,"119":0.05334,"122":0.07001,"123":0.10669,"124":11.11889,"125":5.42442,_:"4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 76 77 78 79 80 81 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 100 101 103 104 105 106 107 110 111 112 113 114 115 116 117 118 120 121 126 127 128"},F:{"107":0.05334,"109":4.40421,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 60 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 108 110 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"118":0.03667,"119":0.35674,"120":0.05334,"121":0.01667,"122":0.19671,"123":0.09002,"124":3.95746,"125":1.57698,_:"12 13 14 15 16 17 18 79 80 81 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117"},E:{_:"0 4 5 6 7 8 9 10 11 12 13 14 15 3.1 3.2 5.1 6.1 7.1 9.1 10.1 11.1 12.1 13.1 14.1 15.1 15.2-15.3 15.4 15.5 15.6 16.0 16.1 16.2 16.3 16.4 17.0 17.1 17.3 17.5 17.6","16.5":0.05334,"16.6":0.03667,"17.2":0.01667,"17.4":0.09002},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.00043,"5.0-5.1":0.00043,"6.0-6.1":0.00107,"7.0-7.1":0.0015,"8.1-8.4":0.00043,"9.0-9.2":0.00107,"9.3":0.00492,"10.0-10.2":0.00086,"10.3":0.0077,"11.0-11.2":0.01134,"11.3-11.4":0.00214,"12.0-12.1":0.00128,"12.2-12.5":0.03103,"13.0-13.1":0.00064,"13.2":0.003,"13.3":0.0015,"13.4-13.7":0.00685,"14.0-14.4":0.01177,"14.5-14.8":0.01819,"15.0-15.1":0.00877,"15.2-15.3":0.00963,"15.4":0.01091,"15.5":0.01369,"15.6-15.8":0.12325,"16.0":0.02803,"16.1":0.05777,"16.2":0.02803,"16.3":0.04857,"16.4":0.01027,"16.5":0.02076,"16.6-16.7":0.16541,"17.0":0.01797,"17.1":0.02932,"17.2":0.0306,"17.3":0.05649,"17.4":1.2828,"17.5":0.09051,"17.6":0},P:{"4":0.03991,"21":0.26938,"23":0.01995,"24":0.10975,"25":0.37913,_:"20 22 5.0-5.4 6.2-6.4 8.2 9.2 10.1 12.0 14.0 15.0 16.0 18.0","7.2-7.4":0.19954,"11.1-11.2":0.01995,"13.0":0.03991,"17.0":0.1297,"19.0":0.31927},I:{"0":0.10624,"3":0,"4":0.00001,"2.1":0,"2.2":0,"2.3":0,"4.1":0.00002,"4.2-4.3":0.00006,"4.4":0,"4.4.3-4.4.4":0.00023},K:{"0":0.25331,_:"10 11 12 11.1 11.5 12.1"},A:{_:"6 7 8 9 10 11 5.5"},S:{_:"2.5 3.0-3.1"},J:{_:"7 10"},N:{_:"10 11"},L:{"0":66.09461},R:{_:"0"},M:{"0":0.02},Q:{"14.9":0.2933},O:{"0":0.21998},H:{"0":0}}; +module.exports={C:{"130":0.81345,_:"2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 131 132 133 134 135 3.5 3.6"},D:{"109":0.22185,"122":0.2603,"124":0.1124,"125":0.2603,"127":0.07395,"128":5.55217,"129":1.8872,_:"4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 110 111 112 113 114 115 116 117 118 119 120 121 123 126 130 131 132 133"},F:{"112":0.36975,"113":0.1124,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 60 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 114 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"120":0.1124,"126":0.03845,"127":0.03845,"128":2.88701,"129":0.1124,_:"12 13 14 15 16 17 18 79 80 81 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 121 122 123 124 125 130"},E:{_:"0 4 5 6 7 8 9 10 11 12 13 14 15 3.1 3.2 5.1 6.1 7.1 9.1 10.1 11.1 12.1 13.1 14.1 15.1 15.2-15.3 15.4 15.5 15.6 16.0 16.2 16.3 16.4 16.5 16.6 17.0 17.1 17.2 17.3 17.4 17.5 18.0 18.1","16.1":0.1479,"17.6":0.03845},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.00057,"5.0-5.1":0.00028,"6.0-6.1":0.0017,"7.0-7.1":0.00198,"8.1-8.4":0,"9.0-9.2":0.0017,"9.3":0.00481,"10.0-10.2":0.00142,"10.3":0.00821,"11.0-11.2":0.03029,"11.3-11.4":0.00226,"12.0-12.1":0.00142,"12.2-12.5":0.03425,"13.0-13.1":0.00057,"13.2":0.01076,"13.3":0.00142,"13.4-13.7":0.00566,"14.0-14.4":0.01302,"14.5-14.8":0.01727,"15.0-15.1":0.00991,"15.2-15.3":0.00963,"15.4":0.01104,"15.5":0.01359,"15.6-15.8":0.13447,"16.0":0.02718,"16.1":0.05379,"16.2":0.02689,"16.3":0.04529,"16.4":0.00963,"16.5":0.01897,"16.6-16.7":0.16193,"17.0":0.01359,"17.1":0.02151,"17.2":0.01953,"17.3":0.02803,"17.4":0.06001,"17.5":0.28847,"17.6-17.7":1.53519,"18.0":0.19363,"18.1":0.00878},P:{"4":0.52663,"21":0.52663,"23":0.04051,"25":0.04051,"26":0.48612,_:"20 22 24 5.0-5.4 6.2-6.4 8.2 9.2 10.1 12.0 13.0 14.0 15.0 16.0 17.0 18.0","7.2-7.4":0.04051,"11.1-11.2":0.19242,"19.0":0.1114},I:{"0":0,"3":0,"4":0,"2.1":0,"2.2":0,"2.3":0,"4.1":0,"4.2-4.3":0,"4.4":0,"4.4.3-4.4.4":0},K:{"0":0.07746,_:"10 11 12 11.1 11.5 12.1"},A:{_:"6 7 8 9 10 11 5.5"},N:{_:"10 11"},S:{_:"2.5 3.0-3.1"},J:{_:"7 10"},O:{"0":0.94363},H:{"0":0},L:{"0":81.00219},R:{_:"0"},M:{_:"0"},Q:{_:"14.9"}}; diff --git a/node_modules/caniuse-lite/data/regions/KM.js b/node_modules/caniuse-lite/data/regions/KM.js index f90523c378..b6dab5d20f 100644 --- a/node_modules/caniuse-lite/data/regions/KM.js +++ b/node_modules/caniuse-lite/data/regions/KM.js @@ -1 +1 @@ -module.exports={C:{"40":0.01672,"43":0.00304,"44":0.01216,"47":0.00608,"72":0.02584,"115":0.1064,"118":0.00608,"122":0.00152,"123":0.0608,"124":0.01824,"125":0.29488,"126":0.12008,_:"2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 41 42 45 46 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 116 117 119 120 121 127 128 129 3.5 3.6"},D:{"43":0.0228,"44":0.04256,"49":0.02888,"58":0.00912,"61":0.01064,"68":0.01216,"74":0.01368,"79":0.00912,"86":0.00152,"88":0.00152,"92":0.00608,"95":0.01064,"101":0.01976,"103":0.01976,"105":0.00304,"108":0.0228,"109":1.50936,"111":0.01064,"112":0.01064,"113":0.00608,"115":0.01368,"116":0.02888,"117":0.01368,"119":0.01368,"120":0.06688,"121":0.02584,"122":0.04864,"123":0.25688,"124":3.39416,"125":1.43944,_:"4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 45 46 47 48 50 51 52 53 54 55 56 57 59 60 62 63 64 65 66 67 69 70 71 72 73 75 76 77 78 80 81 83 84 85 87 89 90 91 93 94 96 97 98 99 100 102 104 106 107 110 114 118 126 127 128"},F:{"60":0.01064,"79":0.01824,"90":0.00152,"95":0.03344,"99":0.01064,"106":0.00608,"107":0.00608,"109":0.85424,"110":0.01976,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 80 81 82 83 84 85 86 87 88 89 91 92 93 94 96 97 98 100 101 102 103 104 105 108 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"12":0.01672,"13":0.00304,"14":0.00912,"17":0.0076,"18":0.00912,"84":0.01064,"88":0.01368,"89":0.01824,"90":0.01368,"92":0.03344,"96":0.01368,"100":0.0076,"108":0.0076,"109":0.01064,"115":0.0076,"117":0.00304,"118":0.076,"119":0.01368,"120":0.01368,"122":0.01216,"123":0.02888,"124":1.05944,"125":0.68248,_:"15 16 79 80 81 83 85 86 87 91 93 94 95 97 98 99 101 102 103 104 105 106 107 110 111 112 113 114 116 121"},E:{"15":0.00152,_:"0 4 5 6 7 8 9 10 11 12 13 14 3.1 3.2 5.1 6.1 7.1 9.1 10.1 11.1 13.1 14.1 15.1 15.2-15.3 15.4 15.5 16.0 16.1 16.2 16.5 17.0 17.2 17.6","12.1":0.00608,"15.6":0.00608,"16.3":0.00152,"16.4":0.00152,"16.6":0.00152,"17.1":0.0076,"17.3":0.00304,"17.4":0.0304,"17.5":0.25536},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.00111,"5.0-5.1":0.00111,"6.0-6.1":0.00278,"7.0-7.1":0.00389,"8.1-8.4":0.00111,"9.0-9.2":0.00278,"9.3":0.01278,"10.0-10.2":0.00222,"10.3":0.02,"11.0-11.2":0.02944,"11.3-11.4":0.00555,"12.0-12.1":0.00333,"12.2-12.5":0.08054,"13.0-13.1":0.00167,"13.2":0.00778,"13.3":0.00389,"13.4-13.7":0.01777,"14.0-14.4":0.03055,"14.5-14.8":0.04721,"15.0-15.1":0.02277,"15.2-15.3":0.02499,"15.4":0.02833,"15.5":0.03555,"15.6-15.8":0.31993,"16.0":0.07276,"16.1":0.14997,"16.2":0.07276,"16.3":0.12608,"16.4":0.02666,"16.5":0.05388,"16.6-16.7":0.42936,"17.0":0.04666,"17.1":0.0761,"17.2":0.07943,"17.3":0.14664,"17.4":3.32986,"17.5":0.23495,"17.6":0},P:{"4":0.08042,"20":0.03016,"21":0.04021,"22":0.22115,"23":1.02535,"24":0.97509,"25":0.16084,_:"5.0-5.4 8.2 10.1 12.0 14.0 15.0","6.2-6.4":0.01005,"7.2-7.4":0.14073,"9.2":0.10052,"11.1-11.2":0.01005,"13.0":0.09047,"16.0":0.03016,"17.0":0.01005,"18.0":0.01005,"19.0":0.10052},I:{"0":0.05068,"3":0,"4":0.00001,"2.1":0,"2.2":0,"2.3":0,"4.1":0.00001,"4.2-4.3":0.00003,"4.4":0,"4.4.3-4.4.4":0.00011},K:{"0":0.98216,_:"10 11 12 11.1 11.5 12.1"},A:{"11":0.0532,_:"6 7 8 9 10 5.5"},S:{"2.5":0.01696,_:"3.0-3.1"},J:{_:"7 10"},N:{_:"10 11"},L:{"0":78.7992},R:{_:"0"},M:{"0":0.03392},Q:{_:"14.9"},O:{"0":0.27984},H:{"0":0.01}}; +module.exports={C:{"66":0.00121,"72":0.00482,"79":0.00844,"81":0.10854,"94":0.00121,"96":0.00121,"115":0.10613,"125":0.00724,"126":0.00121,"127":0.01085,"128":0.01568,"129":0.04583,"130":0.5632,_:"2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 67 68 69 70 71 73 74 75 76 77 78 80 82 83 84 85 86 87 88 89 90 91 92 93 95 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 116 117 118 119 120 121 122 123 124 131 132 133 134 135 3.5 3.6"},D:{"38":0.00121,"49":0.00241,"50":0.00844,"55":0.00724,"61":0.00362,"70":0.00241,"71":0.00241,"76":0.00241,"77":0.00603,"78":0.00362,"79":0.00965,"80":0.00362,"81":0.01447,"83":0.00603,"84":0.01447,"88":0.00603,"93":0.0205,"94":0.00241,"96":0.00603,"103":0.02171,"104":0.00362,"105":0.00241,"108":0.02894,"109":0.72119,"110":0.00241,"111":0.00121,"112":0.00724,"116":0.01206,"117":0.02533,"118":0.00603,"119":0.02533,"120":0.02291,"121":0.00241,"122":0.00362,"123":0.00482,"124":0.01085,"125":0.00603,"126":0.03859,"127":0.17125,"128":2.26004,"129":0.78511,"130":0.00362,_:"4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 39 40 41 42 43 44 45 46 47 48 51 52 53 54 56 57 58 59 60 62 63 64 65 66 67 68 69 72 73 74 75 85 86 87 89 90 91 92 95 97 98 99 100 101 102 106 107 113 114 115 131 132 133"},F:{"34":0.00241,"40":0.00241,"79":0.02171,"84":0.00603,"85":0.00482,"95":0.03256,"106":0.01206,"111":0.00362,"112":0.16402,"113":0.12542,"114":0.01568,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 35 36 37 38 39 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 60 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 80 81 82 83 86 87 88 89 90 91 92 93 94 96 97 98 99 100 101 102 103 104 105 107 108 109 110 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"12":0.00362,"13":0.00362,"14":0.00482,"15":0.00965,"16":0.00965,"17":0.00482,"18":0.05548,"84":0.00121,"89":0.01085,"90":0.00482,"92":0.0205,"95":0.00362,"100":0.00121,"101":0.00121,"109":0.00965,"114":0.00482,"115":0.00362,"118":0.01568,"121":0.00965,"123":0.00121,"124":0.01447,"125":0.00603,"126":0.041,"127":0.03618,"128":0.50893,"129":0.1206,_:"79 80 81 83 85 86 87 88 91 93 94 96 97 98 99 102 103 104 105 106 107 108 110 111 112 113 116 117 119 120 122 130"},E:{"12":0.06151,_:"0 4 5 6 7 8 9 10 11 13 14 15 3.1 3.2 5.1 6.1 7.1 9.1 10.1 15.2-15.3 16.0 16.1 16.2 16.3 16.4 16.5 17.0 17.2 17.4","11.1":0.00724,"12.1":0.00121,"13.1":0.1399,"14.1":0.00121,"15.1":0.00241,"15.4":0.00603,"15.5":0.01809,"15.6":0.02533,"16.6":0.02533,"17.1":0.04703,"17.3":0.00965,"17.5":0.02171,"17.6":0.12542,"18.0":0.14351,"18.1":0.02533},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.00129,"5.0-5.1":0.00065,"6.0-6.1":0.00387,"7.0-7.1":0.00452,"8.1-8.4":0,"9.0-9.2":0.00387,"9.3":0.01097,"10.0-10.2":0.00323,"10.3":0.01872,"11.0-11.2":0.06907,"11.3-11.4":0.00516,"12.0-12.1":0.00323,"12.2-12.5":0.0781,"13.0-13.1":0.00129,"13.2":0.02453,"13.3":0.00323,"13.4-13.7":0.01291,"14.0-14.4":0.02969,"14.5-14.8":0.03937,"15.0-15.1":0.02259,"15.2-15.3":0.02195,"15.4":0.02517,"15.5":0.03098,"15.6-15.8":0.3066,"16.0":0.06197,"16.1":0.12264,"16.2":0.06132,"16.3":0.10328,"16.4":0.02195,"16.5":0.04325,"16.6-16.7":0.36921,"17.0":0.03098,"17.1":0.04906,"17.2":0.04454,"17.3":0.0639,"17.4":0.13684,"17.5":0.65774,"17.6-17.7":3.50044,"18.0":0.44151,"18.1":0.02001},P:{"20":0.28285,"21":0.0202,"22":0.06061,"23":0.14143,"24":0.30305,"25":0.12122,"26":0.34346,_:"4 8.2 10.1 12.0 13.0 14.0 15.0 18.0","5.0-5.4":0.0101,"6.2-6.4":0.0202,"7.2-7.4":0.05051,"9.2":0.0101,"11.1-11.2":0.05051,"16.0":0.49499,"17.0":0.0101,"19.0":0.04041},I:{"0":0.01754,"3":0,"4":0,"2.1":0,"2.2":0,"2.3":0,"4.1":0,"4.2-4.3":0.00001,"4.4":0,"4.4.3-4.4.4":0.00003},K:{"0":0.51885,_:"10 11 12 11.1 11.5 12.1"},A:{_:"6 7 8 9 10 11 5.5"},N:{_:"10 11"},S:{_:"2.5 3.0-3.1"},J:{_:"7 10"},O:{"0":0.23744},H:{"0":0},L:{"0":83.58452},R:{_:"0"},M:{"0":0.03518},Q:{_:"14.9"}}; diff --git a/node_modules/caniuse-lite/data/regions/KN.js b/node_modules/caniuse-lite/data/regions/KN.js index 931a34be37..0077362bfa 100644 --- a/node_modules/caniuse-lite/data/regions/KN.js +++ b/node_modules/caniuse-lite/data/regions/KN.js @@ -1 +1 @@ -module.exports={C:{"78":0.00393,"97":0.00393,"115":0.10993,"122":0.00393,"124":0.00393,"125":0.32978,"126":0.25912,_:"2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 116 117 118 119 120 121 123 127 128 129 3.5 3.6"},D:{"42":0.00393,"63":0.00393,"67":0.00393,"76":0.02356,"79":0.00393,"83":0.05104,"87":0.91868,"88":0.01178,"92":0.00393,"94":0.04711,"97":0.67527,"100":0.00393,"103":0.06282,"104":0.0157,"107":0.00393,"109":0.51431,"110":0.00393,"111":0.00785,"112":0.01178,"115":0.05104,"116":0.06282,"117":0.03141,"119":0.02356,"120":0.01963,"121":0.05104,"122":0.16489,"123":1.79026,"124":13.0461,"125":3.9417,"126":0.00785,_:"4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 64 65 66 68 69 70 71 72 73 74 75 77 78 80 81 84 85 86 89 90 91 93 95 96 98 99 101 102 105 106 108 113 114 118 127 128"},F:{"106":0.00393,"107":0.12563,"108":0.00785,"109":0.92261,"110":0.00785,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 60 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"14":0.00393,"17":0.00393,"84":0.00393,"92":0.00393,"98":0.00393,"109":0.00785,"113":0.00393,"116":0.00785,"120":0.01963,"121":0.00393,"122":0.04711,"123":1.33484,"124":6.50931,"125":2.64612,_:"12 13 15 16 18 79 80 81 83 85 86 87 88 89 90 91 93 94 95 96 97 99 100 101 102 103 104 105 106 107 108 110 111 112 114 115 117 118 119"},E:{"13":0.00785,"14":0.00785,_:"0 4 5 6 7 8 9 10 11 12 15 3.1 3.2 5.1 6.1 7.1 9.1 10.1 11.1 12.1 15.4 17.6","13.1":0.08637,"14.1":0.07459,"15.1":0.00785,"15.2-15.3":0.00393,"15.5":0.10208,"15.6":0.25126,"16.0":0.01178,"16.1":0.01178,"16.2":0.06282,"16.3":0.22771,"16.4":0.01963,"16.5":0.03926,"16.6":0.51431,"17.0":0.04711,"17.1":0.32586,"17.2":0.13741,"17.3":0.07067,"17.4":1.8727,"17.5":0.1963},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.00357,"5.0-5.1":0.00357,"6.0-6.1":0.00891,"7.0-7.1":0.01248,"8.1-8.4":0.00357,"9.0-9.2":0.00891,"9.3":0.041,"10.0-10.2":0.00713,"10.3":0.06418,"11.0-11.2":0.09448,"11.3-11.4":0.01783,"12.0-12.1":0.0107,"12.2-12.5":0.25849,"13.0-13.1":0.00535,"13.2":0.02496,"13.3":0.01248,"13.4-13.7":0.05705,"14.0-14.4":0.09805,"14.5-14.8":0.15153,"15.0-15.1":0.07309,"15.2-15.3":0.08022,"15.4":0.09092,"15.5":0.11409,"15.6-15.8":1.02685,"16.0":0.23354,"16.1":0.48133,"16.2":0.23354,"16.3":0.40468,"16.4":0.08557,"16.5":0.17292,"16.6-16.7":1.37804,"17.0":0.14975,"17.1":0.24423,"17.2":0.25493,"17.3":0.47064,"17.4":10.6874,"17.5":0.75409,"17.6":0},P:{"4":0.05364,"20":0.12873,"21":0.05364,"22":0.05364,"23":0.1931,"24":0.22528,"25":3.33632,_:"5.0-5.4 8.2 9.2 10.1 12.0 13.0 14.0 15.0 17.0 18.0 19.0","6.2-6.4":0.01073,"7.2-7.4":0.22528,"11.1-11.2":0.01073,"16.0":0.02146},I:{"0":0.0121,"3":0,"4":0,"2.1":0,"2.2":0,"2.3":0,"4.1":0,"4.2-4.3":0.00001,"4.4":0,"4.4.3-4.4.4":0.00003},K:{"0":0.68636,_:"10 11 12 11.1 11.5 12.1"},A:{"11":0.00785,_:"6 7 8 9 10 5.5"},S:{_:"2.5 3.0-3.1"},J:{_:"7 10"},N:{_:"10 11"},L:{"0":38.64334},R:{_:"0"},M:{"0":0.13363},Q:{_:"14.9"},O:{"0":0.15185},H:{"0":0}}; +module.exports={C:{"97":0.00745,"103":0.00373,"114":0.00373,"115":0.38368,"118":0.00745,"120":0.00373,"122":0.03353,"125":0.00373,"127":0.00745,"128":0.00373,"129":0.36505,"130":2.03385,_:"2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 98 99 100 101 102 104 105 106 107 108 109 110 111 112 113 116 117 119 121 123 124 126 131 132 133 134 135 3.5 3.6"},D:{"45":0.00373,"53":0.00373,"73":0.00373,"75":0.02608,"76":0.05215,"79":0.00373,"83":0.09685,"87":0.27938,"88":0.0149,"93":0.02235,"94":0.02608,"97":0.62208,"98":0.00373,"103":0.03725,"104":0.01863,"105":0.00745,"108":0.00745,"109":0.47308,"112":0.0447,"113":0.00745,"114":0.00745,"115":0.03353,"116":0.29428,"117":0.0447,"118":0.00373,"119":0.0298,"120":0.00373,"121":0.02235,"122":0.04843,"123":0.00745,"124":0.12293,"125":0.02235,"126":0.54385,"127":0.9089,"128":11.10423,"129":3.6803,_:"4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 46 47 48 49 50 51 52 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 74 77 78 80 81 84 85 86 89 90 91 92 95 96 99 100 101 102 106 107 110 111 130 131 132 133"},F:{"84":0.00373,"111":0.00373,"112":0.45073,"113":0.16018,"114":0.01118,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 60 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6","12.1":0.00373},B:{"16":0.00745,"92":0.00745,"109":0.00373,"111":0.00373,"112":0.00373,"120":0.00745,"122":0.00745,"123":0.02608,"124":0.00745,"125":0.02235,"126":0.0596,"127":0.72638,"128":6.95458,"129":2.46223,_:"12 13 14 15 17 18 79 80 81 83 84 85 86 87 88 89 90 91 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 110 113 114 115 116 117 118 119 121 130"},E:{"14":0.01118,_:"0 4 5 6 7 8 9 10 11 12 13 15 3.1 3.2 5.1 6.1 7.1 9.1 10.1 11.1 12.1 15.2-15.3 15.4 16.0","13.1":0.05215,"14.1":0.0596,"15.1":0.00373,"15.5":0.00745,"15.6":0.21233,"16.1":0.00745,"16.2":0.00373,"16.3":0.12293,"16.4":0.01118,"16.5":0.01863,"16.6":0.16763,"17.0":0.00373,"17.1":0.03725,"17.2":0.02608,"17.3":0.00745,"17.4":0.08568,"17.5":0.3129,"17.6":1.79545,"18.0":0.20488,"18.1":0.00745},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.00291,"5.0-5.1":0.00145,"6.0-6.1":0.00873,"7.0-7.1":0.01018,"8.1-8.4":0,"9.0-9.2":0.00873,"9.3":0.02473,"10.0-10.2":0.00727,"10.3":0.04218,"11.0-11.2":0.15564,"11.3-11.4":0.01164,"12.0-12.1":0.00727,"12.2-12.5":0.176,"13.0-13.1":0.00291,"13.2":0.05527,"13.3":0.00727,"13.4-13.7":0.02909,"14.0-14.4":0.06691,"14.5-14.8":0.08873,"15.0-15.1":0.05091,"15.2-15.3":0.04945,"15.4":0.05673,"15.5":0.06982,"15.6-15.8":0.69091,"16.0":0.13964,"16.1":0.27636,"16.2":0.13818,"16.3":0.23273,"16.4":0.04945,"16.5":0.09745,"16.6-16.7":0.832,"17.0":0.06982,"17.1":0.11055,"17.2":0.10036,"17.3":0.144,"17.4":0.30836,"17.5":1.48218,"17.6-17.7":7.888,"18.0":0.99491,"18.1":0.04509},P:{"4":0.10857,"20":0.228,"21":0.05429,"22":0.06514,"23":0.10857,"24":0.03257,"25":0.20628,"26":4.97255,_:"5.0-5.4 6.2-6.4 8.2 9.2 10.1 11.1-11.2 12.0 13.0 14.0 17.0","7.2-7.4":0.18457,"15.0":0.01086,"16.0":0.01086,"18.0":0.01086,"19.0":0.04343},I:{"0":0.03755,"3":0,"4":0,"2.1":0,"2.2":0,"2.3":0,"4.1":0,"4.2-4.3":0.00002,"4.4":0,"4.4.3-4.4.4":0.00006},K:{"0":1.51228,_:"10 11 12 11.1 11.5 12.1"},A:{"11":0.00373,_:"6 7 8 9 10 5.5"},N:{_:"10 11"},S:{_:"2.5 3.0-3.1"},J:{_:"7 10"},O:{"0":0.05648},H:{"0":0},L:{"0":41.40588},R:{_:"0"},M:{"0":0.2761},Q:{_:"14.9"}}; diff --git a/node_modules/caniuse-lite/data/regions/KP.js b/node_modules/caniuse-lite/data/regions/KP.js index 379b57e293..007d65061a 100644 --- a/node_modules/caniuse-lite/data/regions/KP.js +++ b/node_modules/caniuse-lite/data/regions/KP.js @@ -1 +1 @@ -module.exports={C:{"52":0.64187,"113":0.25675,"115":0.12837,"125":2.06008,"126":0.25675,_:"2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 114 116 117 118 119 120 121 122 123 124 127 128 129 3.5 3.6"},D:{"79":0.12837,"86":1.67496,"100":0.25675,"109":0.64187,"112":0.12837,"118":0.51349,"121":1.54659,"122":1.15536,"123":0.89861,"124":16.60291,"125":3.99179,"127":1.80334,_:"4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 80 81 83 84 85 87 88 89 90 91 92 93 94 95 96 97 98 99 101 102 103 104 105 106 107 108 110 111 113 114 115 116 117 119 120 126 128"},F:{_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 60 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"119":0.51349,"124":3.47218,"125":10.29429,_:"12 13 14 15 16 17 18 79 80 81 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 120 121 122 123"},E:{"14":0.89861,_:"0 4 5 6 7 8 9 10 11 12 13 15 3.1 3.2 5.1 6.1 7.1 9.1 10.1 11.1 12.1 13.1 14.1 15.1 15.2-15.3 15.4 15.5 16.0 16.2 16.4 17.1 17.2 17.5 17.6","15.6":0.12837,"16.1":0.38512,"16.3":0.25675,"16.5":1.15536,"16.6":0.51349,"17.0":0.51349,"17.3":0.12837,"17.4":0.38512},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.0031,"5.0-5.1":0.0031,"6.0-6.1":0.00776,"7.0-7.1":0.01086,"8.1-8.4":0.0031,"9.0-9.2":0.00776,"9.3":0.03569,"10.0-10.2":0.00621,"10.3":0.05586,"11.0-11.2":0.08224,"11.3-11.4":0.01552,"12.0-12.1":0.00931,"12.2-12.5":0.225,"13.0-13.1":0.00466,"13.2":0.02172,"13.3":0.01086,"13.4-13.7":0.04965,"14.0-14.4":0.08534,"14.5-14.8":0.13189,"15.0-15.1":0.06362,"15.2-15.3":0.06983,"15.4":0.07914,"15.5":0.09931,"15.6-15.8":0.89377,"16.0":0.20327,"16.1":0.41896,"16.2":0.20327,"16.3":0.35223,"16.4":0.07448,"16.5":0.15051,"16.6-16.7":1.19946,"17.0":0.13034,"17.1":0.21258,"17.2":0.22189,"17.3":0.40965,"17.4":9.30238,"17.5":0.65637,"17.6":0},P:{"25":2.80641,_:"4 20 21 22 23 24 5.0-5.4 6.2-6.4 7.2-7.4 8.2 9.2 10.1 11.1-11.2 12.0 13.0 14.0 15.0 16.0 17.0 18.0 19.0"},I:{"0":0,"3":0,"4":0,"2.1":0,"2.2":0,"2.3":0,"4.1":0,"4.2-4.3":0,"4.4":0,"4.4.3-4.4.4":0},K:{"0":0,_:"10 11 12 11.1 11.5 12.1"},A:{_:"6 7 8 9 10 11 5.5"},S:{_:"2.5 3.0-3.1"},J:{_:"7 10"},N:{_:"10 11"},L:{"0":23.66768},R:{_:"0"},M:{_:"0"},Q:{"14.9":0.44312},O:{"0":0.29541},H:{"0":0}}; +module.exports={C:{"115":0.34026,"130":11.56319,_:"2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 116 117 118 119 120 121 122 123 124 125 126 127 128 129 131 132 133 134 135 3.5 3.6"},D:{"69":0.68052,"98":0.34026,"103":0.68052,"109":0.68052,"127":0.68052,"128":9.52165,_:"4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 70 71 72 73 74 75 76 77 78 79 80 81 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 99 100 101 102 104 105 106 107 108 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 129 130 131 132 133"},F:{"95":1.02077,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 60 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"113":0.68052,"128":5.10387,"129":11.56319,_:"12 13 14 15 16 17 18 79 80 81 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 114 115 116 117 118 119 120 121 122 123 124 125 126 127 130"},E:{_:"0 4 5 6 7 8 9 10 11 12 13 14 15 3.1 3.2 5.1 6.1 7.1 9.1 10.1 11.1 12.1 13.1 14.1 15.1 15.2-15.3 15.4 15.5 15.6 16.0 16.1 16.3 16.4 17.0 17.1 17.2 17.3 17.4 18.1","16.2":0.34026,"16.5":0.34026,"16.6":1.02077,"17.5":1.70129,"17.6":7.13984,"18.0":0.68052},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.00643,"5.0-5.1":0.00321,"6.0-6.1":0.01928,"7.0-7.1":0.02249,"8.1-8.4":0,"9.0-9.2":0.01928,"9.3":0.05462,"10.0-10.2":0.01607,"10.3":0.09318,"11.0-11.2":0.34379,"11.3-11.4":0.0257,"12.0-12.1":0.01607,"12.2-12.5":0.38878,"13.0-13.1":0.00643,"13.2":0.12209,"13.3":0.01607,"13.4-13.7":0.06426,"14.0-14.4":0.1478,"14.5-14.8":0.19599,"15.0-15.1":0.11246,"15.2-15.3":0.10924,"15.4":0.12531,"15.5":0.15423,"15.6-15.8":1.52619,"16.0":0.30845,"16.1":0.61047,"16.2":0.30524,"16.3":0.51408,"16.4":0.10924,"16.5":0.21527,"16.6-16.7":1.83785,"17.0":0.15423,"17.1":0.24419,"17.2":0.2217,"17.3":0.31809,"17.4":0.68116,"17.5":3.27407,"17.6-17.7":17.42424,"18.0":2.19771,"18.1":0.0996},P:{_:"4 20 21 22 23 24 25 26 5.0-5.4 6.2-6.4 7.2-7.4 8.2 9.2 10.1 11.1-11.2 12.0 13.0 14.0 15.0 16.0 17.0 18.0 19.0"},I:{"0":0,"3":0,"4":0,"2.1":0,"2.2":0,"2.3":0,"4.1":0,"4.2-4.3":0,"4.4":0,"4.4.3-4.4.4":0},K:{"0":0,_:"10 11 12 11.1 11.5 12.1"},A:{_:"6 7 8 9 10 11 5.5"},N:{_:"10 11"},S:{_:"2.5 3.0-3.1"},J:{_:"7 10"},O:{_:"0"},H:{"0":0},L:{"0":11.72154},R:{_:"0"},M:{"0":1.729},Q:{_:"14.9"}}; diff --git a/node_modules/caniuse-lite/data/regions/KR.js b/node_modules/caniuse-lite/data/regions/KR.js index 5936e6db2a..d2fc1ed82a 100644 --- a/node_modules/caniuse-lite/data/regions/KR.js +++ b/node_modules/caniuse-lite/data/regions/KR.js @@ -1 +1 @@ -module.exports={C:{"4":0.00371,"52":0.00371,"72":0.00371,"102":0.00371,"103":0.00743,"115":0.03713,"124":0.00371,"125":0.1708,"126":0.16709,"127":0.00371,_:"2 3 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 104 105 106 107 108 109 110 111 112 113 114 116 117 118 119 120 121 122 123 128 129 3.5 3.6"},D:{"42":0.01485,"49":0.00371,"56":0.00371,"61":0.00743,"68":0.00371,"76":0.00371,"77":0.00371,"79":0.00371,"80":0.00371,"81":0.01485,"83":0.00371,"86":0.02599,"87":0.01485,"89":0.00743,"91":0.00371,"94":0.03342,"95":0.00371,"96":0.00371,"97":0.01114,"98":0.00743,"99":0.00371,"100":0.02228,"101":0.04456,"102":0.0297,"103":0.03342,"104":0.04084,"105":0.00371,"106":0.04827,"107":0.00743,"108":0.01114,"109":0.62007,"110":0.00743,"111":0.53839,"112":0.01114,"113":0.02599,"114":0.04456,"115":0.00743,"116":0.04084,"117":0.01114,"118":0.01485,"119":0.02599,"120":0.06312,"121":0.17822,"122":0.13738,"123":0.48269,"124":16.56369,"125":6.32324,"126":0.00743,"127":0.00371,_:"4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 43 44 45 46 47 48 50 51 52 53 54 55 57 58 59 60 62 63 64 65 66 67 69 70 71 72 73 74 75 78 84 85 88 90 92 93 128"},F:{"95":0.00371,"97":0.00371,"102":0.01114,"107":0.00371,"108":0.00743,"109":0.14109,"110":0.01485,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 60 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 96 98 99 100 101 103 104 105 106 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"17":0.00371,"18":0.00371,"92":0.00743,"100":0.00371,"103":0.00371,"104":0.00371,"107":0.02599,"108":0.00743,"109":0.0854,"110":0.00743,"111":0.02228,"112":0.01857,"113":0.00743,"114":0.01485,"115":0.01114,"116":0.00743,"117":0.00743,"118":0.00743,"119":0.02599,"120":0.03713,"121":0.02599,"122":0.04456,"123":0.08169,"124":4.10287,"125":2.10898,_:"12 13 14 15 16 79 80 81 83 84 85 86 87 88 89 90 91 93 94 95 96 97 98 99 101 102 105 106"},E:{"14":0.00743,_:"0 4 5 6 7 8 9 10 11 12 13 15 3.1 3.2 5.1 6.1 7.1 9.1 10.1 11.1 12.1 15.1 17.6","13.1":0.00371,"14.1":0.01114,"15.2-15.3":0.00371,"15.4":0.00371,"15.5":0.00743,"15.6":0.04827,"16.0":0.00743,"16.1":0.02599,"16.2":0.00743,"16.3":0.01485,"16.4":0.00743,"16.5":0.01114,"16.6":0.04456,"17.0":0.01114,"17.1":0.01485,"17.2":0.03342,"17.3":0.0297,"17.4":0.41586,"17.5":0.06683},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.00225,"5.0-5.1":0.00225,"6.0-6.1":0.00563,"7.0-7.1":0.00788,"8.1-8.4":0.00225,"9.0-9.2":0.00563,"9.3":0.02588,"10.0-10.2":0.0045,"10.3":0.04051,"11.0-11.2":0.05964,"11.3-11.4":0.01125,"12.0-12.1":0.00675,"12.2-12.5":0.16318,"13.0-13.1":0.00338,"13.2":0.01576,"13.3":0.00788,"13.4-13.7":0.03601,"14.0-14.4":0.0619,"14.5-14.8":0.09566,"15.0-15.1":0.04614,"15.2-15.3":0.05064,"15.4":0.05739,"15.5":0.07202,"15.6-15.8":0.64821,"16.0":0.14742,"16.1":0.30385,"16.2":0.14742,"16.3":0.25546,"16.4":0.05402,"16.5":0.10916,"16.6-16.7":0.86991,"17.0":0.09453,"17.1":0.15418,"17.2":0.16093,"17.3":0.2971,"17.4":6.74661,"17.5":0.47603,"17.6":0},P:{"20":0.02034,"21":0.04069,"22":0.16274,"23":0.30514,"24":1.10869,"25":15.68436,_:"4 5.0-5.4 6.2-6.4 7.2-7.4 8.2 9.2 10.1 11.1-11.2 12.0 14.0 15.0 16.0","13.0":0.01017,"17.0":0.02034,"18.0":0.03051,"19.0":0.02034},I:{"0":0.11899,"3":0,"4":0.00001,"2.1":0,"2.2":0,"2.3":0,"4.1":0.00002,"4.2-4.3":0.00007,"4.4":0,"4.4.3-4.4.4":0.00026},K:{"0":0.21376,_:"10 11 12 11.1 11.5 12.1"},A:{"8":0.00442,"10":0.00442,"11":0.19908,_:"6 7 9 5.5"},S:{_:"2.5 3.0-3.1"},J:{_:"7 10"},N:{_:"10 11"},L:{"0":26.33195},R:{_:"0"},M:{"0":0.15718},Q:{"14.9":0.01886},O:{"0":0.06916},H:{"0":0}}; +module.exports={C:{"4":0.0039,"50":0.0078,"51":0.0078,"52":0.0117,"56":0.0039,"78":0.0039,"102":0.0039,"103":0.0156,"107":0.0039,"115":0.03119,"124":0.0039,"125":0.0039,"128":0.0078,"129":0.06628,"130":0.31582,"131":0.0039,"132":0.0039,_:"2 3 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 53 54 55 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 104 105 106 108 109 110 111 112 113 114 116 117 118 119 120 121 122 123 126 127 133 134 135 3.5 3.6"},D:{"37":0.0039,"38":0.0039,"42":0.0117,"49":0.0039,"56":0.02729,"57":0.0039,"71":0.0039,"77":0.0039,"79":0.0039,"80":0.0039,"81":0.0195,"86":0.0039,"87":0.0078,"89":0.0039,"91":0.12087,"94":0.0078,"97":0.0039,"98":0.0078,"101":0.0039,"102":0.0039,"103":0.0156,"104":0.04289,"105":0.0078,"106":0.05459,"107":0.0156,"108":0.02729,"109":0.54976,"110":0.0117,"111":0.70182,"112":0.0156,"113":0.0195,"114":0.03899,"115":0.0078,"116":0.03899,"117":0.0117,"118":0.0117,"119":0.0195,"120":0.03899,"121":0.14036,"122":0.05849,"123":0.04679,"124":0.05849,"125":0.13257,"126":0.20275,"127":0.55366,"128":17.33495,"129":6.18771,"130":0.0078,"131":0.0039,_:"4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 39 40 41 43 44 45 46 47 48 50 51 52 53 54 55 58 59 60 61 62 63 64 65 66 67 68 69 70 72 73 74 75 76 78 83 84 85 88 90 92 93 95 96 99 100 132 133"},F:{"44":0.0039,"84":0.0078,"95":0.0039,"112":0.10917,"113":0.16766,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 45 46 47 48 49 50 51 52 53 54 55 56 57 58 60 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 85 86 87 88 89 90 91 92 93 94 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 114 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"14":0.0039,"18":0.0039,"92":0.0078,"100":0.0039,"103":0.0039,"104":0.0039,"106":0.0039,"107":0.0195,"108":0.0078,"109":0.07018,"110":0.0039,"111":0.0078,"112":0.0156,"113":0.0039,"114":0.0117,"115":0.0078,"116":0.0078,"117":0.0078,"118":0.0078,"119":0.0117,"120":0.0195,"121":0.0117,"122":0.0156,"123":0.0117,"124":0.13257,"125":0.02729,"126":0.06238,"127":0.10527,"128":4.37858,"129":2.01968,"130":0.0039,_:"12 13 15 16 17 79 80 81 83 84 85 86 87 88 89 90 91 93 94 95 96 97 98 99 101 102 105"},E:{"8":0.0039,"10":0.0039,"14":0.0039,_:"0 4 5 6 7 9 11 12 13 15 3.1 3.2 5.1 6.1 7.1 9.1 10.1 11.1 12.1 15.1","13.1":0.0039,"14.1":0.0078,"15.2-15.3":0.0039,"15.4":0.0039,"15.5":0.0039,"15.6":0.03899,"16.0":0.0039,"16.1":0.0078,"16.2":0.0078,"16.3":0.0117,"16.4":0.0039,"16.5":0.0078,"16.6":0.04289,"17.0":0.0039,"17.1":0.0117,"17.2":0.0117,"17.3":0.0117,"17.4":0.03509,"17.5":0.08188,"17.6":0.41329,"18.0":0.09358,"18.1":0.0117},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.00214,"5.0-5.1":0.00107,"6.0-6.1":0.00641,"7.0-7.1":0.00748,"8.1-8.4":0,"9.0-9.2":0.00641,"9.3":0.01816,"10.0-10.2":0.00534,"10.3":0.03098,"11.0-11.2":0.11431,"11.3-11.4":0.00855,"12.0-12.1":0.00534,"12.2-12.5":0.12926,"13.0-13.1":0.00214,"13.2":0.04059,"13.3":0.00534,"13.4-13.7":0.02137,"14.0-14.4":0.04914,"14.5-14.8":0.06517,"15.0-15.1":0.03739,"15.2-15.3":0.03632,"15.4":0.04166,"15.5":0.05128,"15.6-15.8":0.50744,"16.0":0.10256,"16.1":0.20297,"16.2":0.10149,"16.3":0.17093,"16.4":0.03632,"16.5":0.07158,"16.6-16.7":0.61106,"17.0":0.05128,"17.1":0.08119,"17.2":0.07371,"17.3":0.10576,"17.4":0.22648,"17.5":1.08858,"17.6-17.7":5.79331,"18.0":0.73071,"18.1":0.03312},P:{"20":0.01017,"21":0.02034,"22":0.08138,"23":0.05086,"24":0.17293,"25":0.89517,"26":13.91586,_:"4 5.0-5.4 6.2-6.4 7.2-7.4 8.2 9.2 10.1 11.1-11.2 12.0 14.0 15.0 16.0","13.0":0.01017,"17.0":0.02034,"18.0":0.01017,"19.0":0.01017},I:{"0":0.10344,"3":0,"4":0,"2.1":0,"2.2":0,"2.3":0,"4.1":0.00001,"4.2-4.3":0.00004,"4.4":0,"4.4.3-4.4.4":0.00017},K:{"0":0.15863,_:"10 11 12 11.1 11.5 12.1"},A:{"8":0.01014,"10":0.02027,"11":0.17234,_:"6 7 9 5.5"},N:{_:"10 11"},S:{_:"2.5 3.0-3.1"},J:{_:"7 10"},O:{"0":0.09152},H:{"0":0},L:{"0":28.04327},R:{_:"0"},M:{"0":0.20133},Q:{"14.9":0.0183}}; diff --git a/node_modules/caniuse-lite/data/regions/KW.js b/node_modules/caniuse-lite/data/regions/KW.js index 008ed003e7..31d7432533 100644 --- a/node_modules/caniuse-lite/data/regions/KW.js +++ b/node_modules/caniuse-lite/data/regions/KW.js @@ -1 +1 @@ -module.exports={C:{"34":0.00689,"48":0.0023,"52":0.0023,"68":0.00459,"78":0.0023,"88":0.01378,"103":0.0023,"113":0.0023,"115":0.0735,"119":0.00459,"121":0.0023,"122":0.00459,"123":0.0023,"124":0.00689,"125":0.4617,"126":0.23659,"127":0.0023,_:"2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 35 36 37 38 39 40 41 42 43 44 45 46 47 49 50 51 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 69 70 71 72 73 74 75 76 77 79 80 81 82 83 84 85 86 87 89 90 91 92 93 94 95 96 97 98 99 100 101 102 104 105 106 107 108 109 110 111 112 114 116 117 118 120 128 129 3.5 3.6"},D:{"34":0.0023,"38":0.00689,"41":0.00459,"47":0.00459,"49":0.00689,"56":0.00459,"58":0.01149,"62":0.0023,"64":0.0023,"65":0.0023,"68":0.0023,"69":0.0023,"71":0.0023,"73":0.00459,"74":0.0023,"75":0.00919,"76":0.0023,"78":0.01838,"79":0.02527,"80":0.0023,"81":0.0023,"83":0.01378,"84":0.0023,"86":0.0023,"87":0.05972,"88":0.02067,"89":0.0023,"90":0.02297,"91":0.00459,"93":0.00919,"94":0.0023,"95":0.00459,"96":0.00919,"97":0.0023,"98":0.00459,"99":0.01608,"101":0.00919,"102":0.01149,"103":0.05743,"104":0.00919,"105":0.0023,"106":0.00919,"107":0.00919,"108":0.00919,"109":0.6914,"110":0.02527,"111":0.01838,"112":0.02067,"113":0.00689,"114":0.02067,"115":0.01378,"116":0.05053,"117":0.00689,"118":0.01378,"119":0.02986,"120":0.20214,"121":0.1516,"122":0.11485,"123":0.39738,"124":8.61605,"125":3.22499,"126":0.00459,_:"4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 35 36 37 39 40 42 43 44 45 46 48 50 51 52 53 54 55 57 59 60 61 63 66 67 70 72 77 85 92 100 127 128"},F:{"28":0.01149,"36":0.0023,"46":0.02986,"89":0.0023,"93":0.0023,"95":0.01608,"102":0.0023,"107":0.16538,"108":0.00689,"109":0.74193,"110":0.04135,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 29 30 31 32 33 34 35 37 38 39 40 41 42 43 44 45 47 48 49 50 51 52 53 54 55 56 57 58 60 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 90 91 92 94 96 97 98 99 100 101 103 104 105 106 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"13":0.0023,"18":0.00459,"84":0.0023,"91":0.0023,"92":0.00689,"100":0.00459,"105":0.0023,"106":0.0023,"107":0.0023,"109":0.02756,"110":0.0023,"111":0.0023,"112":0.0023,"113":0.0023,"114":0.00689,"115":0.0023,"116":0.0023,"117":0.0023,"118":0.00459,"119":0.0023,"120":0.02067,"121":0.00689,"122":0.02067,"123":0.13323,"124":1.86057,"125":0.9969,_:"12 14 15 16 17 79 80 81 83 85 86 87 88 89 90 93 94 95 96 97 98 99 101 102 103 104 108"},E:{"7":0.17457,"13":0.00919,"14":0.03675,"15":0.01838,_:"0 4 5 6 8 9 10 11 12 3.1 3.2 5.1 6.1 7.1 9.1 10.1 17.6","11.1":0.0023,"12.1":0.00459,"13.1":0.02067,"14.1":0.11255,"15.1":0.02986,"15.2-15.3":0.01378,"15.4":0.02756,"15.5":0.0781,"15.6":0.14931,"16.0":0.02067,"16.1":0.06202,"16.2":0.04824,"16.3":0.09647,"16.4":0.02067,"16.5":0.03446,"16.6":0.20903,"17.0":0.02986,"17.1":0.02986,"17.2":0.0804,"17.3":0.08499,"17.4":1.075,"17.5":0.12404},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.00614,"5.0-5.1":0.00614,"6.0-6.1":0.01535,"7.0-7.1":0.02149,"8.1-8.4":0.00614,"9.0-9.2":0.01535,"9.3":0.0706,"10.0-10.2":0.01228,"10.3":0.11051,"11.0-11.2":0.16269,"11.3-11.4":0.0307,"12.0-12.1":0.01842,"12.2-12.5":0.4451,"13.0-13.1":0.00921,"13.2":0.04298,"13.3":0.02149,"13.4-13.7":0.09823,"14.0-14.4":0.16883,"14.5-14.8":0.26092,"15.0-15.1":0.12586,"15.2-15.3":0.13813,"15.4":0.15655,"15.5":0.19646,"15.6-15.8":1.76812,"16.0":0.40212,"16.1":0.8288,"16.2":0.40212,"16.3":0.69681,"16.4":0.14734,"16.5":0.29776,"16.6-16.7":2.37284,"17.0":0.25785,"17.1":0.42054,"17.2":0.43896,"17.3":0.81039,"17.4":18.40252,"17.5":1.29846,"17.6":0},P:{"4":0.1226,"20":0.04087,"21":0.13281,"22":0.28606,"23":0.39844,"24":0.78666,"25":3.63701,"5.0-5.4":0.03065,"6.2-6.4":0.01022,"7.2-7.4":0.09195,_:"8.2 9.2 10.1 12.0","11.1-11.2":0.0613,"13.0":0.02043,"14.0":0.01022,"15.0":0.01022,"16.0":0.03065,"17.0":0.02043,"18.0":0.04087,"19.0":0.0613},I:{"0":0.03836,"3":0,"4":0,"2.1":0,"2.2":0,"2.3":0,"4.1":0.00001,"4.2-4.3":0.00002,"4.4":0,"4.4.3-4.4.4":0.00008},K:{"0":2.3186,_:"10 11 12 11.1 11.5 12.1"},A:{"11":0.01608,_:"6 7 8 9 10 5.5"},S:{_:"2.5 3.0-3.1"},J:{_:"7 10"},N:{_:"10 11"},L:{"0":37.81316},R:{_:"0"},M:{"0":0.15406},Q:{_:"14.9"},O:{"0":1.06301},H:{"0":0}}; +module.exports={C:{"34":0.00228,"48":0.00228,"50":0.00228,"52":0.00685,"78":0.00228,"115":0.04108,"117":0.00228,"121":0.00456,"124":0.00228,"125":0.00685,"126":0.00228,"127":0.00228,"128":0.03879,"129":0.09813,"130":0.42445,"131":0.00685,"132":0.00228,_:"2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 35 36 37 38 39 40 41 42 43 44 45 46 47 49 51 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 116 118 119 120 122 123 133 134 135 3.5 3.6"},D:{"38":0.00456,"47":0.00228,"49":0.00228,"56":0.00228,"58":0.03651,"64":0.00228,"70":0.00228,"75":0.00685,"78":0.00228,"79":0.00913,"80":0.00228,"81":0.00228,"83":0.00456,"85":0.00228,"87":0.03423,"88":0.01597,"89":0.00228,"90":0.01369,"91":0.01826,"92":0.00228,"93":0.00228,"94":0.00913,"98":0.00228,"99":0.02054,"101":0.00228,"102":0.00456,"103":0.07302,"104":0.00456,"105":0.00456,"106":0.01369,"107":0.00913,"108":0.00913,"109":0.5203,"110":0.01597,"111":0.08443,"113":0.00228,"114":0.01597,"115":0.00456,"116":0.04336,"117":0.02054,"118":0.00913,"119":0.02967,"120":0.05705,"121":0.02282,"122":0.05705,"123":0.03651,"124":0.06618,"125":0.08672,"126":0.16202,"127":0.56822,"128":8.77201,"129":3.53025,"130":0.00228,_:"4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 39 40 41 42 43 44 45 46 48 50 51 52 53 54 55 57 59 60 61 62 63 65 66 67 68 69 71 72 73 74 76 77 84 86 95 96 97 100 112 131 132 133"},F:{"28":0.00456,"46":0.09813,"79":0.00228,"82":0.00685,"84":0.02738,"89":0.00228,"95":0.01597,"96":0.00228,"102":0.00228,"109":0.02967,"110":0.00228,"111":0.00685,"112":0.36056,"113":0.41532,"114":0.00913,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 47 48 49 50 51 52 53 54 55 56 57 58 60 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 80 81 83 85 86 87 88 90 91 92 93 94 97 98 99 100 101 103 104 105 106 107 108 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"18":0.04336,"92":0.00685,"100":0.00456,"106":0.00456,"107":0.00456,"108":0.00456,"109":0.0251,"114":0.00228,"115":0.00685,"116":0.00228,"117":0.00228,"118":0.00228,"120":0.01141,"121":0.00456,"122":0.00456,"123":0.01141,"124":0.02054,"125":0.01369,"126":0.03651,"127":0.14377,"128":1.86896,"129":0.89226,"130":0.00228,_:"12 13 14 15 16 17 79 80 81 83 84 85 86 87 88 89 90 91 93 94 95 96 97 98 99 101 102 103 104 105 110 111 112 113 119"},E:{"13":0.00228,"14":0.0251,"15":0.01369,_:"0 4 5 6 7 8 9 10 11 12 3.1 3.2 5.1 6.1 7.1 9.1 10.1 11.1","12.1":0.00228,"13.1":0.01369,"14.1":0.0639,"15.1":0.02967,"15.2-15.3":0.00685,"15.4":0.03879,"15.5":0.01597,"15.6":0.089,"16.0":0.00456,"16.1":0.05249,"16.2":0.02738,"16.3":0.06161,"16.4":0.01369,"16.5":0.02054,"16.6":0.15289,"17.0":0.01597,"17.1":0.01369,"17.2":0.03651,"17.3":0.01597,"17.4":0.06846,"17.5":0.27612,"17.6":0.91736,"18.0":0.14605,"18.1":0.00456},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.00599,"5.0-5.1":0.00299,"6.0-6.1":0.01796,"7.0-7.1":0.02095,"8.1-8.4":0,"9.0-9.2":0.01796,"9.3":0.05089,"10.0-10.2":0.01497,"10.3":0.08681,"11.0-11.2":0.3203,"11.3-11.4":0.02395,"12.0-12.1":0.01497,"12.2-12.5":0.3622,"13.0-13.1":0.00599,"13.2":0.11375,"13.3":0.01497,"13.4-13.7":0.05987,"14.0-14.4":0.1377,"14.5-14.8":0.1826,"15.0-15.1":0.10477,"15.2-15.3":0.10178,"15.4":0.11674,"15.5":0.14368,"15.6-15.8":1.42188,"16.0":0.28737,"16.1":0.56875,"16.2":0.28438,"16.3":0.47895,"16.4":0.10178,"16.5":0.20056,"16.6-16.7":1.71224,"17.0":0.14368,"17.1":0.2275,"17.2":0.20655,"17.3":0.29635,"17.4":0.63461,"17.5":3.0503,"17.6-17.7":16.23334,"18.0":2.0475,"18.1":0.0928},P:{"4":0.05113,"20":0.02045,"21":0.06135,"22":0.1227,"23":0.10225,"24":0.13293,"25":0.5726,"26":2.86301,_:"5.0-5.4 8.2 9.2 10.1 12.0 14.0 15.0","6.2-6.4":0.01023,"7.2-7.4":0.05113,"11.1-11.2":0.02045,"13.0":0.01023,"16.0":0.02045,"17.0":0.01023,"18.0":0.01023,"19.0":0.02045},I:{"0":0.02309,"3":0,"4":0,"2.1":0,"2.2":0,"2.3":0,"4.1":0,"4.2-4.3":0.00001,"4.4":0,"4.4.3-4.4.4":0.00004},K:{"0":2.19935,_:"10 11 12 11.1 11.5 12.1"},A:{"11":0.04108,_:"6 7 8 9 10 5.5"},N:{_:"10 11"},S:{_:"2.5 3.0-3.1"},J:{_:"7 10"},O:{"0":1.88295},H:{"0":0},L:{"0":39.93835},R:{_:"0"},M:{"0":0.10032},Q:{_:"14.9"}}; diff --git a/node_modules/caniuse-lite/data/regions/KY.js b/node_modules/caniuse-lite/data/regions/KY.js index 8a8a641fe8..5acc92c619 100644 --- a/node_modules/caniuse-lite/data/regions/KY.js +++ b/node_modules/caniuse-lite/data/regions/KY.js @@ -1 +1 @@ -module.exports={C:{"52":0.00423,"94":0.00423,"115":0.03386,"122":0.04655,"123":0.02539,"124":0.04232,"125":0.46552,"126":0.34702,_:"2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 116 117 118 119 120 121 127 128 129 3.5 3.6"},D:{"38":0.00846,"62":0.00423,"69":0.00846,"91":0.00423,"92":0.02116,"93":0.03809,"94":0.00423,"95":0.00423,"96":0.00423,"98":0.00423,"101":0.02962,"103":0.07618,"105":0.52477,"106":0.00423,"108":0.0127,"109":0.41897,"111":0.00423,"112":0.00423,"113":0.00423,"114":0.0127,"115":0.00846,"116":0.35126,"117":0.0127,"118":0.00423,"119":0.0127,"120":0.14812,"121":0.07618,"122":0.55439,"123":1.97211,"124":17.35966,"125":5.68358,"126":0.00423,_:"4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 63 64 65 66 67 68 70 71 72 73 74 75 76 77 78 79 80 81 83 84 85 86 87 88 89 90 97 99 100 102 104 107 110 127 128"},F:{"89":0.00423,"107":0.33433,"108":0.00846,"109":0.56286,"110":0.00423,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 60 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"109":0.0127,"110":0.07618,"113":0.00423,"115":0.00423,"119":0.00846,"120":0.02116,"122":0.02539,"123":0.16928,"124":4.38858,"125":2.09061,_:"12 13 14 15 16 17 18 79 80 81 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 111 112 114 116 117 118 121"},E:{"14":0.01693,"15":0.0127,_:"0 4 5 6 7 8 9 10 11 12 13 3.1 3.2 5.1 6.1 7.1 9.1 10.1 11.1 17.6","12.1":0.00846,"13.1":0.08041,"14.1":0.11426,"15.1":0.04232,"15.2-15.3":0.03809,"15.4":0.00423,"15.5":0.03386,"15.6":0.17351,"16.0":0.02116,"16.1":0.08041,"16.2":0.03386,"16.3":0.13966,"16.4":0.17351,"16.5":0.13966,"16.6":0.7406,"17.0":0.1058,"17.1":0.03386,"17.2":0.11003,"17.3":0.13966,"17.4":3.27557,"17.5":0.21583},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.00553,"5.0-5.1":0.00553,"6.0-6.1":0.01383,"7.0-7.1":0.01936,"8.1-8.4":0.00553,"9.0-9.2":0.01383,"9.3":0.06363,"10.0-10.2":0.01107,"10.3":0.09959,"11.0-11.2":0.14662,"11.3-11.4":0.02766,"12.0-12.1":0.0166,"12.2-12.5":0.40112,"13.0-13.1":0.0083,"13.2":0.03873,"13.3":0.01936,"13.4-13.7":0.08852,"14.0-14.4":0.15215,"14.5-14.8":0.23514,"15.0-15.1":0.11342,"15.2-15.3":0.12448,"15.4":0.14108,"15.5":0.17705,"15.6-15.8":1.59341,"16.0":0.36239,"16.1":0.74691,"16.2":0.36239,"16.3":0.62796,"16.4":0.13278,"16.5":0.26833,"16.6-16.7":2.13838,"17.0":0.23237,"17.1":0.37899,"17.2":0.39559,"17.3":0.73031,"17.4":16.58417,"17.5":1.17016,"17.6":0},P:{"4":0.0839,"20":0.02097,"21":0.03146,"22":0.09439,"23":0.19926,"24":0.47193,"25":4.4466,_:"5.0-5.4 6.2-6.4 8.2 9.2 10.1 11.1-11.2 12.0 13.0 14.0 15.0 18.0 19.0","7.2-7.4":0.05244,"16.0":0.01049,"17.0":0.01049},I:{"0":0.00575,"3":0,"4":0,"2.1":0,"2.2":0,"2.3":0,"4.1":0,"4.2-4.3":0,"4.4":0,"4.4.3-4.4.4":0.00001},K:{"0":0.62294,_:"10 11 12 11.1 11.5 12.1"},A:{"11":0.00423,_:"6 7 8 9 10 5.5"},S:{_:"2.5 3.0-3.1"},J:{_:"7 10"},N:{_:"10 11"},L:{"0":23.34558},R:{_:"0"},M:{"0":0.48451},Q:{_:"14.9"},O:{"0":0.04038},H:{"0":0}}; +module.exports={C:{"30":0.00479,"61":0.00479,"94":0.03835,"115":0.02397,"122":0.01438,"124":0.02876,"126":0.01438,"128":0.01918,"129":0.21573,"130":0.61363,_:"2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 116 117 118 119 120 121 123 125 127 131 132 133 134 135 3.5 3.6"},D:{"37":0.00479,"55":0.00479,"69":0.01438,"75":0.1582,"80":0.00479,"83":0.00479,"87":0.00959,"88":0.00479,"92":0.01438,"93":0.02876,"94":0.01438,"96":0.00479,"98":0.03356,"99":0.00959,"100":0.00479,"101":0.00479,"103":0.05753,"105":0.00959,"106":0.03356,"108":0.00959,"109":0.19176,"110":0.00479,"111":0.00479,"112":0.01918,"114":0.00959,"115":0.02876,"116":0.08629,"117":0.01438,"119":0.03356,"120":0.01438,"121":0.01438,"122":0.46981,"123":0.02876,"124":2.87161,"125":0.1582,"126":0.42667,"127":1.20809,"128":18.059,"129":4.81318,_:"4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 56 57 58 59 60 61 62 63 64 65 66 67 68 70 71 72 73 74 76 77 78 79 81 84 85 86 89 90 91 95 97 102 104 107 113 118 130 131 132 133"},F:{"84":0.00479,"95":0.00479,"109":0.20614,"111":0.01438,"112":0.69513,"113":0.33558,"114":0.00479,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 60 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 85 86 87 88 89 90 91 92 93 94 96 97 98 99 100 101 102 103 104 105 106 107 108 110 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"85":0.00479,"98":0.00479,"109":0.01438,"110":0.04315,"115":0.00479,"119":0.00959,"120":0.00479,"121":0.00479,"123":0.00479,"124":0.04315,"125":0.00959,"126":0.03356,"127":0.58487,"128":6.30411,"129":2.06142,_:"12 13 14 15 16 17 18 79 80 81 83 84 86 87 88 89 90 91 92 93 94 95 96 97 99 100 101 102 103 104 105 106 107 108 111 112 113 114 116 117 118 122 130"},E:{"14":0.00479,"15":0.00479,_:"0 4 5 6 7 8 9 10 11 12 13 3.1 3.2 5.1 6.1 7.1 9.1 11.1","10.1":0.00959,"12.1":0.00479,"13.1":0.03835,"14.1":0.11506,"15.1":0.02876,"15.2-15.3":0.00479,"15.4":0.00479,"15.5":0.01438,"15.6":1.90322,"16.0":0.00479,"16.1":0.02397,"16.2":0.01438,"16.3":0.04794,"16.4":0.06712,"16.5":0.10547,"16.6":0.30682,"17.0":0.00479,"17.1":0.03835,"17.2":0.02397,"17.3":0.04315,"17.4":0.62801,"17.5":0.50337,"17.6":2.52644,"18.0":0.163,"18.1":0.06712},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.00478,"5.0-5.1":0.00239,"6.0-6.1":0.01433,"7.0-7.1":0.01672,"8.1-8.4":0,"9.0-9.2":0.01433,"9.3":0.04061,"10.0-10.2":0.01195,"10.3":0.06928,"11.0-11.2":0.25563,"11.3-11.4":0.01911,"12.0-12.1":0.01195,"12.2-12.5":0.28908,"13.0-13.1":0.00478,"13.2":0.09079,"13.3":0.01195,"13.4-13.7":0.04778,"14.0-14.4":0.1099,"14.5-14.8":0.14573,"15.0-15.1":0.08362,"15.2-15.3":0.08123,"15.4":0.09317,"15.5":0.11468,"15.6-15.8":1.13482,"16.0":0.22935,"16.1":0.45393,"16.2":0.22696,"16.3":0.38226,"16.4":0.08123,"16.5":0.16007,"16.6-16.7":1.36656,"17.0":0.11468,"17.1":0.18157,"17.2":0.16485,"17.3":0.23652,"17.4":0.50649,"17.5":2.43449,"17.6-17.7":12.95606,"18.0":1.63414,"18.1":0.07406},P:{"4":0.07332,"21":0.02095,"22":0.01047,"23":0.03142,"24":0.0419,"25":0.30375,"26":3.71836,_:"20 5.0-5.4 6.2-6.4 8.2 9.2 10.1 12.0 13.0 14.0 15.0 16.0 18.0 19.0","7.2-7.4":0.02095,"11.1-11.2":0.01047,"17.0":0.01047},I:{"0":0.00519,"3":0,"4":0,"2.1":0,"2.2":0,"2.3":0,"4.1":0,"4.2-4.3":0,"4.4":0,"4.4.3-4.4.4":0.00001},K:{"0":0.29669,_:"10 11 12 11.1 11.5 12.1"},A:{_:"6 7 8 9 10 11 5.5"},N:{_:"10 11"},S:{_:"2.5 3.0-3.1"},J:{_:"7 10"},O:{"0":0.02603},H:{"0":0},L:{"0":23.80739},R:{_:"0"},M:{"0":0.09369},Q:{_:"14.9"}}; diff --git a/node_modules/caniuse-lite/data/regions/KZ.js b/node_modules/caniuse-lite/data/regions/KZ.js index 397aa66139..f602e09525 100644 --- a/node_modules/caniuse-lite/data/regions/KZ.js +++ b/node_modules/caniuse-lite/data/regions/KZ.js @@ -1 +1 @@ -module.exports={C:{"48":0.0039,"51":0.0039,"52":0.02731,"56":0.0039,"59":0.0039,"62":0.0039,"68":0.0039,"71":0.0156,"83":0.0078,"100":0.0039,"101":0.0117,"114":0.0039,"115":0.33939,"117":0.0039,"118":0.03121,"119":0.0039,"120":0.0039,"121":0.0078,"122":0.0117,"123":0.0039,"124":0.02731,"125":0.83872,"126":0.74899,"127":0.0039,_:"2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 49 50 53 54 55 57 58 60 61 63 64 65 66 67 69 70 72 73 74 75 76 77 78 79 80 81 82 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 102 103 104 105 106 107 108 109 110 111 112 113 116 128 129 3.5 3.6"},D:{"22":0.0039,"26":0.0039,"34":0.0039,"38":0.0039,"39":0.0039,"43":0.0039,"44":0.0039,"45":0.0117,"46":0.0039,"49":0.05071,"51":0.0039,"64":0.0078,"65":0.0039,"66":0.0039,"68":0.0039,"69":0.0039,"70":0.0039,"74":0.02731,"78":0.0039,"79":0.01951,"80":0.0078,"81":0.0039,"84":0.0039,"85":0.0078,"86":0.0078,"87":0.0156,"88":0.0078,"89":0.0039,"90":0.02731,"91":0.03511,"92":0.0156,"93":0.0039,"94":0.0039,"96":0.0039,"97":0.0156,"98":0.0039,"99":0.0039,"100":0.0039,"101":0.0078,"102":0.08192,"103":0.11313,"104":0.0039,"105":0.04291,"106":0.14824,"107":0.0117,"108":0.03901,"109":2.64488,"110":0.0078,"111":0.0156,"112":0.02341,"113":0.01951,"114":0.15994,"115":0.0078,"116":0.23796,"117":0.0117,"118":0.06242,"119":0.05461,"120":0.12873,"121":0.08972,"122":0.18725,"123":0.53444,"124":11.7069,"125":4.75922,"126":0.0039,"127":0.0039,_:"4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 23 24 25 27 28 29 30 31 32 33 35 36 37 40 41 42 47 48 50 52 53 54 55 56 57 58 59 60 61 62 63 67 71 72 73 75 76 77 83 95 128"},F:{"36":0.0156,"54":0.0039,"56":0.0078,"66":0.0039,"68":0.0039,"70":0.0117,"77":0.0039,"79":0.03121,"82":0.0039,"84":0.0117,"85":0.07022,"86":0.0078,"89":0.0039,"95":0.40961,"102":0.0078,"106":0.0039,"107":0.22626,"108":0.04681,"109":1.65793,"110":0.14044,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 55 57 58 60 62 63 64 65 67 69 71 72 73 74 75 76 78 80 81 83 87 88 90 91 92 93 94 96 97 98 99 100 101 103 104 105 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"14":0.0039,"18":0.0039,"89":0.0078,"92":0.0156,"100":0.0039,"106":0.0039,"109":0.03511,"114":0.0039,"116":0.0039,"117":0.0039,"118":0.0039,"119":0.0039,"120":0.0156,"121":0.0039,"122":0.0156,"123":0.05852,"124":2.13775,"125":1.18981,_:"12 13 15 16 17 79 80 81 83 84 85 86 87 88 90 91 93 94 95 96 97 98 99 101 102 103 104 105 107 108 110 111 112 113 115"},E:{"9":0.0039,"14":0.02341,_:"0 4 5 6 7 8 10 11 12 13 15 3.1 3.2 6.1 7.1 10.1 11.1 17.6","5.1":0.30428,"9.1":0.0039,"12.1":0.0039,"13.1":0.02731,"14.1":0.02731,"15.1":0.0039,"15.2-15.3":0.0039,"15.4":0.02731,"15.5":0.01951,"15.6":0.14044,"16.0":0.0117,"16.1":0.10923,"16.2":0.03121,"16.3":0.05852,"16.4":0.05071,"16.5":0.04291,"16.6":0.14044,"17.0":0.03121,"17.1":0.07412,"17.2":0.06632,"17.3":0.10533,"17.4":1.02596,"17.5":0.11703},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.00386,"5.0-5.1":0.00386,"6.0-6.1":0.00964,"7.0-7.1":0.01349,"8.1-8.4":0.00386,"9.0-9.2":0.00964,"9.3":0.04433,"10.0-10.2":0.00771,"10.3":0.06939,"11.0-11.2":0.10216,"11.3-11.4":0.01928,"12.0-12.1":0.01157,"12.2-12.5":0.2795,"13.0-13.1":0.00578,"13.2":0.02699,"13.3":0.01349,"13.4-13.7":0.06168,"14.0-14.4":0.10602,"14.5-14.8":0.16384,"15.0-15.1":0.07903,"15.2-15.3":0.08674,"15.4":0.09831,"15.5":0.12336,"15.6-15.8":1.11028,"16.0":0.25251,"16.1":0.52045,"16.2":0.25251,"16.3":0.43756,"16.4":0.09252,"16.5":0.18698,"16.6-16.7":1.49002,"17.0":0.16192,"17.1":0.26408,"17.2":0.27564,"17.3":0.50888,"17.4":11.55583,"17.5":0.81537,"17.6":0},P:{"4":0.11341,"20":0.02062,"21":0.04124,"22":0.07217,"23":0.18558,"24":0.23712,"25":1.55677,_:"5.0-5.4 8.2 9.2 14.0 15.0","6.2-6.4":0.01031,"7.2-7.4":0.06186,"10.1":0.02062,"11.1-11.2":0.01031,"12.0":0.01031,"13.0":0.01031,"16.0":0.01031,"17.0":0.01031,"18.0":0.04124,"19.0":0.02062},I:{"0":0.04252,"3":0,"4":0,"2.1":0,"2.2":0,"2.3":0,"4.1":0.00001,"4.2-4.3":0.00003,"4.4":0,"4.4.3-4.4.4":0.00009},K:{"0":0.38417,_:"10 11 12 11.1 11.5 12.1"},A:{"6":0.00878,"7":0.00439,"8":0.02633,"9":0.00439,"10":0.00439,"11":0.05705,_:"5.5"},S:{_:"2.5 3.0-3.1"},J:{_:"7 10"},N:{_:"10 11"},L:{"0":36.16254},R:{_:"0"},M:{"0":0.07318},Q:{"14.9":0.01829},O:{"0":0.23172},H:{"0":0}}; +module.exports={C:{"52":0.02659,"62":0.0038,"65":0.0038,"71":0.0038,"87":0.0038,"101":0.0038,"102":0.01139,"104":0.0038,"113":0.0038,"115":0.42538,"118":0.02279,"120":0.0038,"121":0.0076,"122":0.0038,"123":0.0038,"125":0.0076,"126":0.0038,"127":0.01139,"128":0.05317,"129":0.1899,"130":0.86974,"131":0.0038,_:"2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 53 54 55 56 57 58 59 60 61 63 64 66 67 68 69 70 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 88 89 90 91 92 93 94 95 96 97 98 99 100 103 105 106 107 108 109 110 111 112 114 116 117 119 124 132 133 134 135 3.5 3.6"},D:{"38":0.0076,"49":0.01899,"53":0.0038,"64":0.0076,"68":0.0038,"69":0.0038,"70":0.0038,"72":0.0038,"74":0.05317,"76":0.0038,"78":0.0038,"79":0.01519,"80":0.01139,"81":0.0038,"83":0.01139,"85":0.0038,"86":0.01519,"87":0.01899,"88":0.0038,"89":0.0038,"90":0.02659,"91":0.02659,"92":0.01899,"94":0.01899,"96":0.0038,"97":0.0076,"98":0.0038,"99":0.0038,"100":0.0076,"101":0.0076,"102":0.03798,"103":0.17091,"104":0.0038,"105":0.0076,"106":0.16331,"107":0.01139,"108":0.02659,"109":2.275,"110":0.0038,"111":0.01139,"112":0.02279,"113":0.32283,"114":0.02279,"115":0.01519,"116":0.07976,"117":0.01519,"118":0.10255,"119":0.04937,"120":0.04178,"121":0.07976,"122":0.07216,"123":0.06457,"124":0.13293,"125":0.07596,"126":0.17471,"127":0.67225,"128":12.08903,"129":4.3753,"130":0.0038,_:"4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 39 40 41 42 43 44 45 46 47 48 50 51 52 54 55 56 57 58 59 60 61 62 63 65 66 67 71 73 75 77 84 93 95 131 132 133"},F:{"36":0.0076,"56":0.0076,"69":0.0038,"77":0.02279,"79":0.02659,"80":0.0038,"82":0.0038,"84":0.01899,"85":0.06077,"86":0.01899,"87":0.0038,"91":0.01139,"95":0.3836,"102":0.0038,"108":0.0038,"109":0.01899,"111":0.01139,"112":1.1432,"113":0.62287,"114":0.01139,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 57 58 60 62 63 64 65 66 67 68 70 71 72 73 74 75 76 78 81 83 88 89 90 92 93 94 96 97 98 99 100 101 103 104 105 106 107 110 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"18":0.0076,"84":0.0038,"90":0.0038,"92":0.02279,"97":0.0038,"100":0.0076,"108":0.0038,"109":0.01139,"110":0.0038,"118":0.0038,"120":0.0038,"121":0.01519,"122":0.0038,"123":0.0076,"124":0.04558,"125":0.04178,"126":0.02659,"127":0.10255,"128":2.38135,"129":0.9457,"130":0.0038,_:"12 13 14 15 16 17 79 80 81 83 85 86 87 88 89 91 93 94 95 96 98 99 101 102 103 104 105 106 107 111 112 113 114 115 116 117 119"},E:{"13":0.0038,"14":0.01519,_:"0 4 5 6 7 8 9 10 11 12 15 3.1 3.2 6.1 7.1 10.1 11.1 12.1","5.1":0.01899,"9.1":0.0038,"13.1":0.01519,"14.1":0.01899,"15.1":0.0038,"15.2-15.3":0.0038,"15.4":0.01899,"15.5":0.01139,"15.6":0.1823,"16.0":0.01899,"16.1":0.06836,"16.2":0.02659,"16.3":0.04178,"16.4":0.01519,"16.5":0.03418,"16.6":0.14812,"17.0":0.01899,"17.1":0.07976,"17.2":0.04178,"17.3":0.07596,"17.4":0.07596,"17.5":0.29245,"17.6":0.96089,"18.0":0.15192,"18.1":0.0076},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.00405,"5.0-5.1":0.00202,"6.0-6.1":0.01215,"7.0-7.1":0.01417,"8.1-8.4":0,"9.0-9.2":0.01215,"9.3":0.03441,"10.0-10.2":0.01012,"10.3":0.05871,"11.0-11.2":0.2166,"11.3-11.4":0.01619,"12.0-12.1":0.01012,"12.2-12.5":0.24494,"13.0-13.1":0.00405,"13.2":0.07692,"13.3":0.01012,"13.4-13.7":0.04049,"14.0-14.4":0.09312,"14.5-14.8":0.12348,"15.0-15.1":0.07085,"15.2-15.3":0.06883,"15.4":0.07895,"15.5":0.09717,"15.6-15.8":0.96156,"16.0":0.19434,"16.1":0.38462,"16.2":0.19231,"16.3":0.32389,"16.4":0.06883,"16.5":0.13563,"16.6-16.7":1.15792,"17.0":0.09717,"17.1":0.15385,"17.2":0.13968,"17.3":0.20041,"17.4":0.42916,"17.5":2.0628,"17.6-17.7":10.97796,"18.0":1.38464,"18.1":0.06275},P:{"4":0.09136,"20":0.01015,"21":0.0203,"22":0.08121,"23":0.11166,"24":0.11166,"25":0.28423,"26":1.61401,_:"5.0-5.4 8.2 10.1 12.0 14.0 15.0","6.2-6.4":0.01015,"7.2-7.4":0.0406,"9.2":0.01015,"11.1-11.2":0.01015,"13.0":0.01015,"16.0":0.0203,"17.0":0.01015,"18.0":0.01015,"19.0":0.0406},I:{"0":0.01237,"3":0,"4":0,"2.1":0,"2.2":0,"2.3":0,"4.1":0,"4.2-4.3":0,"4.4":0,"4.4.3-4.4.4":0.00002},K:{"0":0.35351,_:"10 11 12 11.1 11.5 12.1"},A:{"6":0.01367,"11":0.08887,_:"7 8 9 10 5.5"},N:{_:"10 11"},S:{_:"2.5 3.0-3.1"},J:{_:"7 10"},O:{"0":0.34111},H:{"0":0},L:{"0":36.52437},R:{_:"0"},M:{"0":0.16125},Q:{"14.9":0.0124}}; diff --git a/node_modules/caniuse-lite/data/regions/LA.js b/node_modules/caniuse-lite/data/regions/LA.js index 61f7cb80a9..0fee4e8c12 100644 --- a/node_modules/caniuse-lite/data/regions/LA.js +++ b/node_modules/caniuse-lite/data/regions/LA.js @@ -1 +1 @@ -module.exports={C:{"2":0.00187,"3":0.00187,"10":0.00187,"28":0.00187,"29":0.00187,"31":0.00187,"34":0.00187,"38":0.00187,"40":0.00373,"41":0.00187,"66":0.0056,"72":0.00187,"78":0.03171,"94":0.00187,"101":0.00187,"106":0.0373,"107":0.00187,"108":0.00187,"111":0.00187,"112":0.00187,"115":0.05782,"119":0.01306,"120":0.00187,"122":0.00187,"124":0.0429,"125":0.26856,"126":0.23499,"127":0.00187,_:"4 5 6 7 8 9 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 30 32 33 35 36 37 39 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 67 68 69 70 71 73 74 75 76 77 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 95 96 97 98 99 100 102 103 104 105 109 110 113 114 116 117 118 121 123 128 129 3.5","3.6":0.00373},D:{"11":0.00187,"19":0.00187,"21":0.00187,"31":0.00187,"33":0.00187,"36":0.00187,"37":0.04849,"38":0.00187,"39":0.00187,"40":0.00187,"41":0.00373,"42":0.00187,"43":0.00746,"44":0.00746,"45":0.0056,"46":0.0056,"47":0.0056,"48":0.00187,"49":0.00187,"51":0.00933,"56":0.00187,"58":0.06528,"62":0.00187,"66":0.00187,"68":0.03544,"69":0.00187,"70":0.01679,"71":0.00187,"72":0.00187,"74":0.00373,"75":0.00187,"76":0.00373,"77":0.00187,"78":0.00187,"79":0.00746,"80":0.00187,"81":0.01306,"83":0.00187,"84":0.00187,"86":0.02798,"87":0.05782,"88":0.00373,"89":0.00187,"90":0.0056,"91":0.00187,"92":0.00187,"96":0.00933,"97":0.00373,"98":0.00187,"99":0.06714,"100":0.00373,"101":0.0056,"102":0.02798,"103":0.01865,"104":0.0056,"105":0.00746,"106":0.00746,"107":0.0056,"108":0.00373,"109":0.91572,"110":0.00373,"111":0.08579,"112":0.00746,"113":0.00373,"114":0.00746,"115":0.0056,"116":0.03357,"117":0.00746,"118":0.00933,"119":0.02425,"120":0.11004,"121":0.09512,"122":0.0802,"123":0.22753,"124":6.59837,"125":3.03622,"126":0.0056,"127":0.01306,_:"4 5 6 7 8 9 10 12 13 14 15 16 17 18 20 22 23 24 25 26 27 28 29 30 32 34 35 50 52 53 54 55 57 59 60 61 63 64 65 67 73 85 93 94 95 128"},F:{"31":0.00373,"83":0.00187,"95":0.01492,"107":0.03357,"108":0.00187,"109":0.15293,"110":0.02052,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 60 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 84 85 86 87 88 89 90 91 92 93 94 96 97 98 99 100 101 102 103 104 105 106 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6","12.1":0.00187},B:{"12":0.0056,"13":0.00187,"14":0.00187,"16":0.00187,"17":0.00187,"18":0.02052,"84":0.00187,"89":0.00187,"90":0.00187,"92":0.03171,"100":0.00187,"102":0.00187,"105":0.01679,"109":0.03171,"110":0.00746,"111":0.00187,"112":0.05595,"113":0.00187,"115":0.0056,"116":0.00187,"117":0.01119,"118":0.02425,"119":0.00933,"120":0.01119,"121":0.00746,"122":0.02611,"123":0.02052,"124":1.1619,"125":0.8635,_:"15 79 80 81 83 85 86 87 88 91 93 94 95 96 97 98 99 101 103 104 106 107 108 114"},E:{"9":0.01492,"14":0.00933,_:"0 4 5 6 7 8 10 11 12 13 15 3.1 3.2 6.1 7.1 10.1 11.1 15.2-15.3 17.6","5.1":0.00187,"9.1":0.00187,"12.1":0.00187,"13.1":0.00746,"14.1":0.00933,"15.1":0.00187,"15.4":0.0056,"15.5":0.01679,"15.6":0.07647,"16.0":0.02052,"16.1":0.02798,"16.2":0.00373,"16.3":0.0429,"16.4":0.00373,"16.5":0.01679,"16.6":0.04103,"17.0":0.01492,"17.1":0.01119,"17.2":0.00746,"17.3":0.01865,"17.4":0.61918,"17.5":0.0802},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.00357,"5.0-5.1":0.00357,"6.0-6.1":0.00893,"7.0-7.1":0.01251,"8.1-8.4":0.00357,"9.0-9.2":0.00893,"9.3":0.04109,"10.0-10.2":0.00715,"10.3":0.06431,"11.0-11.2":0.09468,"11.3-11.4":0.01786,"12.0-12.1":0.01072,"12.2-12.5":0.25903,"13.0-13.1":0.00536,"13.2":0.02501,"13.3":0.01251,"13.4-13.7":0.05717,"14.0-14.4":0.09825,"14.5-14.8":0.15185,"15.0-15.1":0.07324,"15.2-15.3":0.08039,"15.4":0.09111,"15.5":0.11433,"15.6-15.8":1.02899,"16.0":0.23402,"16.1":0.48234,"16.2":0.23402,"16.3":0.40552,"16.4":0.08575,"16.5":0.17329,"16.6-16.7":1.38092,"17.0":0.15006,"17.1":0.24474,"17.2":0.25546,"17.3":0.47162,"17.4":10.70974,"17.5":0.75567,"17.6":0},P:{"4":0.04071,"20":0.06106,"21":0.10176,"22":0.18317,"23":0.22388,"24":0.39687,"25":1.37379,"5.0-5.4":0.01018,"6.2-6.4":0.01018,"7.2-7.4":0.15264,_:"8.2 10.1 12.0","9.2":0.01018,"11.1-11.2":0.02035,"13.0":0.01018,"14.0":0.02035,"15.0":0.01018,"16.0":0.05088,"17.0":0.01018,"18.0":0.01018,"19.0":0.06106},I:{"0":0.15396,"3":0,"4":0.00002,"2.1":0,"2.2":0,"2.3":0,"4.1":0.00003,"4.2-4.3":0.00009,"4.4":0,"4.4.3-4.4.4":0.00034},K:{"0":0.27659,_:"10 11 12 11.1 11.5 12.1"},A:{"6":0.0051,"7":0.0051,"8":0.07644,"9":0.01529,"10":0.01274,"11":0.0637,_:"5.5"},S:{"2.5":0.00814,_:"3.0-3.1"},J:{_:"7 10"},N:{_:"10 11"},L:{"0":59.68425},R:{_:"0"},M:{"0":0.08135},Q:{"14.9":0.04068},O:{"0":2.06629},H:{"0":0}}; +module.exports={C:{"43":0.00204,"47":0.02035,"52":0.00204,"66":0.01221,"81":0.00204,"94":0.00204,"101":0.00407,"103":0.00407,"106":0.05495,"107":0.00204,"112":0.00204,"115":0.09972,"119":0.00407,"122":0.00204,"125":0.01018,"127":0.00611,"128":0.00407,"129":0.11396,"130":0.54538,"131":0.00407,_:"2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 44 45 46 48 49 50 51 53 54 55 56 57 58 59 60 61 62 63 64 65 67 68 69 70 71 72 73 74 75 76 77 78 79 80 82 83 84 85 86 87 88 89 90 91 92 93 95 96 97 98 99 100 102 104 105 108 109 110 111 113 114 116 117 118 120 121 123 124 126 132 133 134 135 3.5 3.6"},D:{"37":0.53521,"43":0.01832,"48":0.00407,"49":0.00407,"56":0.00204,"57":0.00204,"63":0.00204,"65":0.00204,"67":0.00204,"68":0.01018,"69":0.01425,"70":0.02035,"72":0.00204,"78":0.00407,"79":0.00611,"81":0.01018,"83":0.00204,"84":0.00407,"86":0.00814,"87":0.00611,"88":0.00204,"90":0.00611,"91":0.00204,"92":0.00204,"94":0.00204,"95":0.00407,"96":0.01628,"97":0.02646,"98":0.00611,"99":0.0407,"100":0.00407,"101":0.00407,"103":0.01832,"104":0.01832,"105":0.00407,"106":0.03053,"107":0.00611,"108":0.03663,"109":0.96459,"110":0.00204,"111":0.06105,"112":0.00814,"113":0.00204,"114":0.01425,"115":0.00611,"116":0.01832,"117":0.01018,"118":0.01425,"119":0.01425,"120":0.05698,"121":0.02442,"122":0.10989,"123":0.02035,"124":0.11193,"125":0.03867,"126":0.11396,"127":0.35816,"128":8.08302,"129":2.56003,"130":0.02239,"131":0.00204,_:"4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 38 39 40 41 42 44 45 46 47 50 51 52 53 54 55 58 59 60 61 62 64 66 71 73 74 75 76 77 80 85 89 93 102 132 133"},F:{"37":0.00204,"83":0.00407,"84":0.00204,"90":0.00407,"94":0.03053,"95":0.00814,"106":0.00204,"109":0.01018,"110":0.02849,"111":0.00204,"112":0.14652,"113":0.06512,"114":0.00814,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 60 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 85 86 87 88 89 91 92 93 96 97 98 99 100 101 102 103 104 105 107 108 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"14":0.00204,"15":0.00204,"17":0.00204,"18":0.02035,"84":0.00204,"89":0.00407,"90":0.00204,"92":0.03053,"100":0.00611,"106":0.01018,"109":0.02035,"110":0.00611,"111":0.00204,"115":0.00204,"117":0.00204,"118":0.00611,"119":0.00611,"120":0.00407,"121":0.01018,"122":0.00407,"123":0.00204,"124":0.00611,"125":0.00204,"126":0.04681,"127":0.05902,"128":1.54457,"129":0.62882,_:"12 13 16 79 80 81 83 85 86 87 88 91 93 94 95 96 97 98 99 101 102 103 104 105 107 108 112 113 114 116 130"},E:{"14":0.01221,_:"0 4 5 6 7 8 9 10 11 12 13 15 3.1 3.2 6.1 7.1 9.1 10.1 11.1 15.2-15.3 15.5","5.1":0.00204,"12.1":0.00611,"13.1":0.01425,"14.1":0.00611,"15.1":0.00204,"15.4":0.00611,"15.6":0.09158,"16.0":0.00407,"16.1":0.00407,"16.2":0.00611,"16.3":0.00611,"16.4":0.00204,"16.5":0.02849,"16.6":0.04477,"17.0":0.00407,"17.1":0.01628,"17.2":0.00814,"17.3":0.00407,"17.4":0.02442,"17.5":0.10582,"17.6":0.34188,"18.0":0.07733,"18.1":0.01628},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.00336,"5.0-5.1":0.00168,"6.0-6.1":0.01007,"7.0-7.1":0.01175,"8.1-8.4":0,"9.0-9.2":0.01007,"9.3":0.02853,"10.0-10.2":0.00839,"10.3":0.04867,"11.0-11.2":0.17957,"11.3-11.4":0.01343,"12.0-12.1":0.00839,"12.2-12.5":0.20307,"13.0-13.1":0.00336,"13.2":0.06377,"13.3":0.00839,"13.4-13.7":0.03356,"14.0-14.4":0.0772,"14.5-14.8":0.10237,"15.0-15.1":0.05874,"15.2-15.3":0.05706,"15.4":0.06545,"15.5":0.08055,"15.6-15.8":0.79716,"16.0":0.16111,"16.1":0.31886,"16.2":0.15943,"16.3":0.26852,"16.4":0.05706,"16.5":0.11244,"16.6-16.7":0.95994,"17.0":0.08055,"17.1":0.12755,"17.2":0.1158,"17.3":0.16614,"17.4":0.35578,"17.5":1.71011,"17.6-17.7":9.10102,"18.0":1.14791,"18.1":0.05202},P:{"4":0.02068,"20":0.0517,"21":0.0517,"22":0.15511,"23":0.09306,"24":0.08272,"25":0.24817,"26":1.41665,_:"5.0-5.4 6.2-6.4 8.2 9.2 10.1 12.0 13.0 14.0 15.0 16.0","7.2-7.4":0.13443,"11.1-11.2":0.04136,"17.0":0.01034,"18.0":0.01034,"19.0":0.03102},I:{"0":0.14298,"3":0,"4":0,"2.1":0,"2.2":0,"2.3":0,"4.1":0.00001,"4.2-4.3":0.00006,"4.4":0,"4.4.3-4.4.4":0.00023},K:{"0":0.22302,_:"10 11 12 11.1 11.5 12.1"},A:{"8":0.01252,"9":0.01878,"11":0.05009,_:"6 7 10 5.5"},N:{_:"10 11"},S:{_:"2.5 3.0-3.1"},J:{_:"7 10"},O:{"0":1.9355},H:{"0":0},L:{"0":59.40147},R:{_:"0"},M:{"0":0.11948},Q:{"14.9":0.03186}}; diff --git a/node_modules/caniuse-lite/data/regions/LB.js b/node_modules/caniuse-lite/data/regions/LB.js index e3f4e97f98..182a1620bd 100644 --- a/node_modules/caniuse-lite/data/regions/LB.js +++ b/node_modules/caniuse-lite/data/regions/LB.js @@ -1 +1 @@ -module.exports={C:{"12":0.01254,"47":0.00179,"52":0.00358,"66":0.00179,"68":0.00358,"78":0.01254,"88":0.00358,"91":0.00717,"103":0.00179,"115":0.16845,"116":0.00179,"120":0.00179,"121":0.00179,"122":0.01613,"123":0.00179,"124":0.01792,"125":0.37811,"126":0.26163,"127":0.00179,_:"2 3 4 5 6 7 8 9 10 11 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 48 49 50 51 53 54 55 56 57 58 59 60 61 62 63 64 65 67 69 70 71 72 73 74 75 76 77 79 80 81 82 83 84 85 86 87 89 90 92 93 94 95 96 97 98 99 100 101 102 104 105 106 107 108 109 110 111 112 113 114 117 118 119 128 129 3.5 3.6"},D:{"34":0.00358,"36":0.00179,"38":0.00717,"42":0.00179,"43":0.00179,"49":0.00896,"56":0.00179,"58":0.12902,"61":0.00538,"63":0.00179,"65":0.00179,"66":0.00358,"67":0.00358,"68":0.00717,"69":0.00179,"70":0.00358,"71":0.00179,"73":0.00358,"74":0.00179,"75":0.00179,"76":0.00179,"77":0.00179,"78":0.00179,"79":0.01254,"80":0.00179,"81":0.01971,"83":0.02509,"84":0.00179,"86":0.00896,"87":0.03046,"88":0.00717,"89":0.00179,"90":0.00358,"91":0.0233,"92":0.00179,"94":0.00358,"95":0.00896,"96":0.00717,"97":0.00358,"98":0.03046,"99":0.01254,"100":0.00179,"101":0.04122,"102":0.00538,"103":0.04838,"104":0.00179,"105":0.00538,"106":0.00358,"107":0.00717,"108":0.01792,"109":1.15942,"110":0.00538,"111":0.00538,"112":0.00538,"113":0.00358,"114":0.00538,"115":0.00538,"116":0.06272,"117":0.00896,"118":0.00538,"119":0.05018,"120":0.07168,"121":0.02688,"122":0.1111,"123":0.25267,"124":6.06771,"125":2.56077,"126":0.01075,"127":0.00717,_:"4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 35 37 39 40 41 44 45 46 47 48 50 51 52 53 54 55 57 59 60 62 64 72 85 93 128"},F:{"25":0.00179,"46":0.00179,"79":0.01434,"82":0.00538,"86":0.00179,"95":0.01434,"102":0.00179,"107":0.03046,"108":0.00538,"109":0.31002,"110":0.01792,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 47 48 49 50 51 52 53 54 55 56 57 58 60 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 80 81 83 84 85 87 88 89 90 91 92 93 94 96 97 98 99 100 101 103 104 105 106 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"12":0.00179,"13":0.00179,"14":0.00179,"15":0.00358,"16":0.00358,"17":0.00179,"18":0.00717,"84":0.00179,"89":0.00179,"90":0.00179,"92":0.01434,"100":0.00358,"109":0.04301,"118":0.00179,"119":0.00358,"120":0.00358,"121":0.00717,"122":0.01792,"123":0.11648,"124":0.95155,"125":0.53939,_:"79 80 81 83 85 86 87 88 91 93 94 95 96 97 98 99 101 102 103 104 105 106 107 108 110 111 112 113 114 115 116 117"},E:{"9":0.00179,"13":0.00179,"14":0.00358,"15":0.00358,_:"0 4 5 6 7 8 10 11 12 3.1 3.2 6.1 7.1 9.1 10.1 17.6","5.1":0.00538,"11.1":0.00179,"12.1":0.00179,"13.1":0.01254,"14.1":0.04122,"15.1":0.00538,"15.2-15.3":0.01254,"15.4":0.00717,"15.5":0.06093,"15.6":0.07168,"16.0":0.00358,"16.1":0.01792,"16.2":0.01075,"16.3":0.03584,"16.4":0.01075,"16.5":0.0233,"16.6":0.12186,"17.0":0.01434,"17.1":0.02688,"17.2":0.0215,"17.3":0.0215,"17.4":0.40141,"17.5":0.07885},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.00273,"5.0-5.1":0.00273,"6.0-6.1":0.00682,"7.0-7.1":0.00954,"8.1-8.4":0.00273,"9.0-9.2":0.00682,"9.3":0.03135,"10.0-10.2":0.00545,"10.3":0.04907,"11.0-11.2":0.07225,"11.3-11.4":0.01363,"12.0-12.1":0.00818,"12.2-12.5":0.19766,"13.0-13.1":0.00409,"13.2":0.01908,"13.3":0.00954,"13.4-13.7":0.04362,"14.0-14.4":0.07498,"14.5-14.8":0.11587,"15.0-15.1":0.05589,"15.2-15.3":0.06134,"15.4":0.06952,"15.5":0.08724,"15.6-15.8":0.78519,"16.0":0.17858,"16.1":0.36806,"16.2":0.17858,"16.3":0.30944,"16.4":0.06543,"16.5":0.13223,"16.6-16.7":1.05374,"17.0":0.11451,"17.1":0.18676,"17.2":0.19494,"17.3":0.35988,"17.4":8.17228,"17.5":0.57663,"17.6":0},P:{"4":0.29547,"20":0.06113,"21":0.26491,"22":0.34642,"23":0.43811,"24":0.65208,"25":5.16567,"5.0-5.4":0.03057,"6.2-6.4":0.05094,"7.2-7.4":0.45849,_:"8.2","9.2":0.02038,"10.1":0.01019,"11.1-11.2":0.05094,"12.0":0.01019,"13.0":0.05094,"14.0":0.05094,"15.0":0.03057,"16.0":0.07132,"17.0":0.15283,"18.0":0.03057,"19.0":0.0917},I:{"0":0.11445,"3":0,"4":0.00001,"2.1":0,"2.2":0,"2.3":0,"4.1":0.00002,"4.2-4.3":0.00007,"4.4":0,"4.4.3-4.4.4":0.00025},K:{"0":0.73863,_:"10 11 12 11.1 11.5 12.1"},A:{"8":0.00184,"9":0.00184,"11":0.06442,_:"6 7 10 5.5"},S:{_:"2.5 3.0-3.1"},J:{_:"7 10"},N:{_:"10 11"},L:{"0":61.39597},R:{_:"0"},M:{"0":0.1149},Q:{_:"14.9"},O:{"0":0.31187},H:{"0":0}}; +module.exports={C:{"52":0.00244,"68":0.00244,"78":0.00488,"88":0.00244,"91":0.00488,"96":0.00244,"102":0.00244,"113":0.00244,"115":0.43938,"118":0.00244,"120":0.00244,"122":0.00244,"125":0.0415,"127":0.00976,"128":0.03662,"129":0.20749,"130":0.8397,"131":0.00732,_:"2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 69 70 71 72 73 74 75 76 77 79 80 81 82 83 84 85 86 87 89 90 92 93 94 95 97 98 99 100 101 103 104 105 106 107 108 109 110 111 112 114 116 117 119 121 123 124 126 132 133 134 135 3.5 3.6"},D:{"11":0.00244,"34":0.00244,"38":0.00244,"43":0.00244,"49":0.00488,"58":0.21481,"60":0.00244,"65":0.01953,"66":0.00488,"67":0.00244,"69":0.00244,"70":0.00488,"71":0.00244,"73":0.00488,"74":0.00244,"75":0.00244,"76":0.00244,"78":0.00488,"79":0.02441,"80":0.00244,"81":0.00488,"83":0.03906,"84":0.00244,"85":0.00488,"86":0.00244,"87":0.04882,"88":0.01953,"89":0.00244,"90":0.00488,"91":0.01465,"93":0.00244,"94":0.02197,"95":0.00976,"96":0.00244,"98":0.06591,"99":0.00488,"100":0.00244,"101":0.00244,"102":0.00732,"103":0.0415,"104":0.00244,"105":0.00488,"106":0.00244,"107":0.00976,"108":0.01709,"109":1.44751,"110":0.00732,"111":0.00488,"112":0.01221,"113":0.00244,"114":0.00732,"115":0.00244,"116":0.10985,"117":0.00488,"118":0.00488,"119":0.03173,"120":0.05614,"121":0.01709,"122":0.08055,"123":0.03906,"124":0.0952,"125":0.04394,"126":0.15134,"127":0.51993,"128":9.90558,"129":2.95117,"130":0.00976,_:"4 5 6 7 8 9 10 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 35 36 37 39 40 41 42 44 45 46 47 48 50 51 52 53 54 55 56 57 59 61 62 63 64 68 72 77 92 97 131 132 133"},F:{"46":0.00244,"79":0.01221,"84":0.01221,"95":0.02197,"102":0.00244,"109":0.01221,"111":0.00244,"112":0.34906,"113":0.23678,"114":0.00488,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 47 48 49 50 51 52 53 54 55 56 57 58 60 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 80 81 82 83 85 86 87 88 89 90 91 92 93 94 96 97 98 99 100 101 103 104 105 106 107 108 110 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"14":0.00244,"16":0.00244,"17":0.00488,"18":0.00488,"90":0.00488,"92":0.01953,"100":0.00732,"104":0.00244,"109":0.02685,"113":0.00488,"114":0.05126,"115":0.00244,"116":0.00244,"117":0.00244,"118":0.00244,"121":0.00488,"122":0.00488,"123":0.00244,"124":0.00488,"125":0.00732,"126":0.02685,"127":0.08544,"128":1.73555,"129":0.57608,"130":0.00244,_:"12 13 15 79 80 81 83 84 85 86 87 88 89 91 93 94 95 96 97 98 99 101 102 103 105 106 107 108 110 111 112 119 120"},E:{"14":0.01465,"15":0.00244,_:"0 4 5 6 7 8 9 10 11 12 13 3.1 3.2 6.1 7.1 9.1 10.1","5.1":0.00732,"11.1":0.00244,"12.1":0.00244,"13.1":0.01221,"14.1":0.0537,"15.1":0.00732,"15.2-15.3":0.01465,"15.4":0.00488,"15.5":0.07323,"15.6":0.08055,"16.0":0.00732,"16.1":0.01465,"16.2":0.00732,"16.3":0.02197,"16.4":0.00976,"16.5":0.02441,"16.6":0.1489,"17.0":0.01465,"17.1":0.0415,"17.2":0.01465,"17.3":0.01953,"17.4":0.03173,"17.5":0.1367,"17.6":0.73474,"18.0":0.15378,"18.1":0.00732},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.00305,"5.0-5.1":0.00152,"6.0-6.1":0.00914,"7.0-7.1":0.01067,"8.1-8.4":0,"9.0-9.2":0.00914,"9.3":0.02591,"10.0-10.2":0.00762,"10.3":0.04419,"11.0-11.2":0.16306,"11.3-11.4":0.01219,"12.0-12.1":0.00762,"12.2-12.5":0.18439,"13.0-13.1":0.00305,"13.2":0.05791,"13.3":0.00762,"13.4-13.7":0.03048,"14.0-14.4":0.0701,"14.5-14.8":0.09296,"15.0-15.1":0.05334,"15.2-15.3":0.05181,"15.4":0.05943,"15.5":0.07315,"15.6-15.8":0.72385,"16.0":0.14629,"16.1":0.28954,"16.2":0.14477,"16.3":0.24382,"16.4":0.05181,"16.5":0.1021,"16.6-16.7":0.87167,"17.0":0.07315,"17.1":0.11582,"17.2":0.10515,"17.3":0.15087,"17.4":0.32307,"17.5":1.55285,"17.6-17.7":8.26408,"18.0":1.04234,"18.1":0.04724},P:{"4":0.13296,"20":0.04091,"21":0.13296,"22":0.30683,"23":0.25569,"24":0.24546,"25":0.48069,"26":4.82739,_:"5.0-5.4 8.2 10.1 12.0","6.2-6.4":0.05114,"7.2-7.4":0.19432,"9.2":0.01023,"11.1-11.2":0.04091,"13.0":0.06137,"14.0":0.02046,"15.0":0.01023,"16.0":0.04091,"17.0":0.1125,"18.0":0.02046,"19.0":0.05114},I:{"0":0.06031,"3":0,"4":0,"2.1":0,"2.2":0,"2.3":0,"4.1":0.00001,"4.2-4.3":0.00002,"4.4":0,"4.4.3-4.4.4":0.0001},K:{"0":0.46866,_:"10 11 12 11.1 11.5 12.1"},A:{"9":0.00244,"11":0.01709,_:"6 7 8 10 5.5"},N:{_:"10 11"},S:{_:"2.5 3.0-3.1"},J:{_:"7 10"},O:{"0":0.30992},H:{"0":0},L:{"0":53.61178},R:{_:"0"},M:{"0":0.20409},Q:{_:"14.9"}}; diff --git a/node_modules/caniuse-lite/data/regions/LC.js b/node_modules/caniuse-lite/data/regions/LC.js index 44cfbe3c37..7f4e59bb44 100644 --- a/node_modules/caniuse-lite/data/regions/LC.js +++ b/node_modules/caniuse-lite/data/regions/LC.js @@ -1 +1 @@ -module.exports={C:{"78":0.00393,"88":0.00393,"95":0.00393,"109":0.00785,"115":0.04711,"121":0.00393,"122":0.00393,"124":0.02748,"125":0.24734,"126":0.29052,_:"2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 79 80 81 82 83 84 85 86 87 89 90 91 92 93 94 96 97 98 99 100 101 102 103 104 105 106 107 108 110 111 112 113 114 116 117 118 119 120 123 127 128 129 3.5 3.6"},D:{"49":0.00785,"69":0.01178,"70":0.00393,"76":0.05496,"77":0.01963,"79":0.01963,"81":0.08245,"83":0.00393,"86":0.09815,"87":0.01178,"88":0.01963,"91":0.00785,"93":0.03141,"94":0.00393,"98":0.00393,"99":0.00393,"102":0.00393,"103":0.19237,"105":0.01963,"106":0.00393,"107":0.00393,"108":0.00393,"109":0.36119,"110":0.00785,"111":0.02356,"114":0.00785,"116":0.07459,"117":0.00393,"118":0.12563,"119":0.14134,"120":3.86318,"121":1.17387,"122":0.1963,"123":1.64499,"124":13.88234,"125":4.18119,"126":0.14526,"127":0.00785,_:"4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 71 72 73 74 75 78 80 84 85 89 90 92 95 96 97 100 101 104 112 113 115 128"},F:{"106":0.00393,"107":0.05104,"108":0.03141,"109":0.93439,"110":0.09422,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 60 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"12":0.00393,"92":0.11778,"108":0.00393,"109":0.04711,"111":0.00393,"114":0.16882,"116":0.02748,"119":0.01178,"120":0.00393,"121":0.0157,"122":0.03926,"123":0.11778,"124":3.09761,"125":1.72744,_:"13 14 15 16 17 18 79 80 81 83 84 85 86 87 88 89 90 91 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 110 112 113 115 117 118"},E:{"14":0.00393,"15":0.00393,_:"0 4 5 6 7 8 9 10 11 12 13 3.1 3.2 5.1 6.1 7.1 9.1 10.1 11.1 12.1 17.6","13.1":0.0157,"14.1":0.07067,"15.1":0.00393,"15.2-15.3":0.01963,"15.4":0.00393,"15.5":0.02356,"15.6":0.07067,"16.0":0.10993,"16.1":0.01178,"16.2":0.00393,"16.3":0.02748,"16.4":0.00785,"16.5":0.00393,"16.6":0.3769,"17.0":0.0903,"17.1":0.02748,"17.2":0.20808,"17.3":0.0157,"17.4":0.65564,"17.5":0.09422},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.00282,"5.0-5.1":0.00282,"6.0-6.1":0.00706,"7.0-7.1":0.00988,"8.1-8.4":0.00282,"9.0-9.2":0.00706,"9.3":0.03247,"10.0-10.2":0.00565,"10.3":0.05083,"11.0-11.2":0.07483,"11.3-11.4":0.01412,"12.0-12.1":0.00847,"12.2-12.5":0.20472,"13.0-13.1":0.00424,"13.2":0.01977,"13.3":0.00988,"13.4-13.7":0.04518,"14.0-14.4":0.07765,"14.5-14.8":0.12001,"15.0-15.1":0.05789,"15.2-15.3":0.06353,"15.4":0.072,"15.5":0.09036,"15.6-15.8":0.81321,"16.0":0.18495,"16.1":0.38119,"16.2":0.18495,"16.3":0.32049,"16.4":0.06777,"16.5":0.13695,"16.6-16.7":1.09134,"17.0":0.11859,"17.1":0.19342,"17.2":0.20189,"17.3":0.37272,"17.4":8.46392,"17.5":0.5972,"17.6":0},P:{"4":0.04244,"20":0.02122,"21":0.04244,"22":0.11671,"23":0.14854,"24":0.25464,"25":4.11669,"5.0-5.4":0.01061,"6.2-6.4":0.03183,"7.2-7.4":0.41379,_:"8.2 9.2 10.1 12.0 13.0","11.1-11.2":0.02122,"14.0":0.01061,"15.0":0.02122,"16.0":0.01061,"17.0":0.01061,"18.0":0.01061,"19.0":0.03183},I:{"0":0.0121,"3":0,"4":0,"2.1":0,"2.2":0,"2.3":0,"4.1":0,"4.2-4.3":0.00001,"4.4":0,"4.4.3-4.4.4":0.00003},K:{"0":0.28553,_:"10 11 12 11.1 11.5 12.1"},A:{"10":0.00785,"11":0.00785,_:"6 7 8 9 5.5"},S:{"2.5":0.00608,_:"3.0-3.1"},J:{_:"7 10"},N:{_:"10 11"},L:{"0":43.94438},R:{_:"0"},M:{"0":0.13973},Q:{_:"14.9"},O:{"0":0.05468},H:{"0":0}}; +module.exports={C:{"102":0.00836,"115":0.09192,"125":0.00836,"126":0.01671,"127":0.00836,"129":0.12534,"130":0.52643,_:"2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 103 104 105 106 107 108 109 110 111 112 113 114 116 117 118 119 120 121 122 123 124 128 131 132 133 134 135 3.5 3.6"},D:{"49":0.00418,"55":0.00418,"58":0.01253,"69":0.01671,"74":0.05431,"76":0.00836,"79":0.02507,"83":0.01253,"87":0.02089,"88":0.02089,"91":0.00418,"93":0.02089,"94":0.0376,"95":0.00418,"103":0.14623,"104":0.13787,"105":0.01671,"109":0.2089,"111":0.00836,"112":0.00836,"114":0.00418,"116":0.02507,"118":0.00418,"119":0.13787,"120":0.03342,"122":0.02507,"123":0.02507,"124":0.05431,"125":0.27157,"126":1.35785,"127":2.32715,"128":18.84278,"129":3.8939,"130":0.11698,_:"4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 50 51 52 53 54 56 57 59 60 61 62 63 64 65 66 67 68 70 71 72 73 75 77 78 80 81 84 85 86 89 90 92 96 97 98 99 100 101 102 106 107 108 110 113 115 117 121 131 132 133"},F:{"84":0.00418,"95":0.00418,"109":0.02507,"112":0.65595,"113":0.4178,"114":0.00418,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 60 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 85 86 87 88 89 90 91 92 93 94 96 97 98 99 100 101 102 103 104 105 106 107 108 110 111 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"14":0.00418,"92":0.00836,"109":0.01671,"113":0.02925,"114":0.44287,"118":0.00836,"120":0.00418,"123":0.00418,"124":0.03342,"125":0.17548,"126":0.04596,"127":0.21726,"128":4.32423,"129":1.87592,"130":0.00418,_:"12 13 15 16 17 18 79 80 81 83 84 85 86 87 88 89 90 91 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 110 111 112 115 116 117 119 121 122"},E:{"14":0.01671,_:"0 4 5 6 7 8 9 10 11 12 13 15 3.1 3.2 5.1 6.1 7.1 9.1 10.1 12.1 15.1","11.1":0.00418,"13.1":0.09609,"14.1":0.00836,"15.2-15.3":0.00418,"15.4":0.00836,"15.5":0.00836,"15.6":0.06267,"16.0":0.01253,"16.1":0.00418,"16.2":0.00418,"16.3":0.00418,"16.4":0.01253,"16.5":0.00836,"16.6":0.19637,"17.0":0.00418,"17.1":0.02507,"17.2":0.05014,"17.3":0.01671,"17.4":0.08774,"17.5":0.43869,"17.6":0.81053,"18.0":0.10027,"18.1":0.02925},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.00253,"5.0-5.1":0.00126,"6.0-6.1":0.00758,"7.0-7.1":0.00884,"8.1-8.4":0,"9.0-9.2":0.00758,"9.3":0.02146,"10.0-10.2":0.00631,"10.3":0.03661,"11.0-11.2":0.1351,"11.3-11.4":0.0101,"12.0-12.1":0.00631,"12.2-12.5":0.15277,"13.0-13.1":0.00253,"13.2":0.04798,"13.3":0.00631,"13.4-13.7":0.02525,"14.0-14.4":0.05808,"14.5-14.8":0.07702,"15.0-15.1":0.04419,"15.2-15.3":0.04293,"15.4":0.04924,"15.5":0.0606,"15.6-15.8":0.59972,"16.0":0.12121,"16.1":0.23989,"16.2":0.11994,"16.3":0.20201,"16.4":0.04293,"16.5":0.08459,"16.6-16.7":0.72219,"17.0":0.0606,"17.1":0.09596,"17.2":0.08712,"17.3":0.12499,"17.4":0.26767,"17.5":1.28656,"17.6-17.7":6.84694,"18.0":0.8636,"18.1":0.03914},P:{"4":0.03209,"21":0.02139,"22":0.10695,"23":0.03209,"24":0.10695,"25":0.11765,"26":4.40643,_:"20 5.0-5.4 8.2 9.2 10.1 12.0 17.0","6.2-6.4":0.03209,"7.2-7.4":0.33155,"11.1-11.2":0.0107,"13.0":0.0107,"14.0":0.0107,"15.0":0.02139,"16.0":0.04278,"18.0":0.0107,"19.0":0.03209},I:{"0":0.01742,"3":0,"4":0,"2.1":0,"2.2":0,"2.3":0,"4.1":0,"4.2-4.3":0.00001,"4.4":0,"4.4.3-4.4.4":0.00003},K:{"0":0.52971,_:"10 11 12 11.1 11.5 12.1"},A:{_:"6 7 8 9 10 11 5.5"},N:{_:"10 11"},S:{"2.5":0.01164,_:"3.0-3.1"},J:{_:"7 10"},O:{"0":0.06403},H:{"0":0},L:{"0":41.64406},R:{_:"0"},M:{"0":0.15135},Q:{_:"14.9"}}; diff --git a/node_modules/caniuse-lite/data/regions/LI.js b/node_modules/caniuse-lite/data/regions/LI.js index d999461157..75be15b2f9 100644 --- a/node_modules/caniuse-lite/data/regions/LI.js +++ b/node_modules/caniuse-lite/data/regions/LI.js @@ -1 +1 @@ -module.exports={C:{"2":0.01948,"3":0.02597,"4":0.02597,"5":0.01948,"6":0.00649,"9":0.00649,"10":0.00649,"11":0.01948,"12":0.01299,"14":0.00649,"15":0.00649,"16":0.01299,"17":0.01948,"18":0.00649,"19":0.01299,"20":0.01299,"21":0.01299,"23":0.00649,"24":0.01299,"25":0.01948,"26":0.00649,"27":0.00649,"28":0.00649,"29":0.00649,"30":0.01299,"31":0.03247,"32":0.01299,"33":0.00649,"34":0.01299,"35":0.01299,"36":0.01299,"37":0.01299,"38":0.04545,"39":0.01948,"40":0.04545,"41":0.01948,"43":0.00649,"44":0.01948,"46":0.00649,"51":0.00649,"52":0.00649,"56":0.00649,"75":0.00649,"91":0.00649,"94":0.00649,"102":0.00649,"104":0.00649,"105":0.03896,"106":0.03247,"107":0.01299,"108":0.03896,"109":0.0974,"110":0.04545,"111":0.04545,"112":0.01948,"113":0.00649,"115":1.28561,"119":0.01299,"121":0.00649,"123":0.01948,"124":0.29219,"125":4.0841,"126":3.33091,"127":0.01299,_:"7 8 13 22 42 45 47 48 49 50 53 54 55 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 92 93 95 96 97 98 99 100 101 103 114 116 117 118 120 122 128 129","3.5":0.01948,"3.6":0.04545},D:{"4":0.00649,"6":0.00649,"7":0.01299,"8":0.00649,"10":0.01299,"11":0.00649,"12":0.00649,"14":0.00649,"16":0.00649,"17":0.00649,"18":0.00649,"19":0.02597,"20":0.00649,"21":0.01948,"22":0.00649,"23":0.00649,"24":0.00649,"25":0.01299,"26":0.01299,"27":0.01299,"28":0.01948,"29":0.01299,"30":0.01948,"31":0.01299,"32":0.01299,"33":0.02597,"34":0.01948,"35":0.01948,"36":0.01948,"37":0.04545,"38":0.02597,"39":0.03896,"40":0.04545,"41":0.05194,"42":0.06493,"43":0.07792,"44":0.11038,"45":0.11038,"46":0.08441,"47":0.06493,"49":0.05194,"51":0.14285,"64":0.00649,"69":0.00649,"70":0.04545,"73":0.01299,"79":0.13635,"86":0.08441,"87":0.12986,"88":0.00649,"90":0.00649,"92":0.01299,"93":0.00649,"103":0.01299,"104":0.00649,"105":0.01948,"106":0.68177,"107":0.50645,"108":2.05179,"109":2.21411,"110":0.3701,"111":0.03247,"112":0.31816,"115":0.01948,"116":2.46734,"117":0.00649,"118":0.05194,"119":0.0909,"120":0.15583,"121":2.94133,"122":0.0909,"123":0.59086,"124":13.06392,"125":4.51913,_:"5 9 13 15 48 50 52 53 54 55 56 57 58 59 60 61 62 63 65 66 67 68 71 72 74 75 76 77 78 80 81 83 84 85 89 91 94 95 96 97 98 99 100 101 102 113 114 126 127 128"},F:{"11":0.00649,"12":0.00649,"20":0.00649,"24":0.00649,"26":0.00649,"28":0.00649,"29":0.00649,"30":0.00649,"31":0.05844,"32":0.02597,"33":0.01299,"86":0.12337,"91":0.01948,"93":0.01299,"95":0.01948,"107":0.24673,"109":1.12978,"110":0.24024,_:"9 15 16 17 18 19 21 22 23 25 27 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 60 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 87 88 89 90 92 94 96 97 98 99 100 101 102 103 104 105 106 108 10.5 10.6 11.6","9.5-9.6":0.01299,"10.0-10.1":0.00649,"11.1":0.00649,"11.5":0.00649,"12.1":0.02597},B:{"12":0.02597,"92":0.00649,"103":0.00649,"106":0.00649,"107":0.0974,"108":0.00649,"109":0.03896,"111":0.00649,"113":0.01948,"115":0.00649,"119":0.02597,"120":0.1883,"121":0.03247,"122":0.01948,"123":0.24024,"124":5.46711,"125":3.4348,_:"13 14 15 16 17 18 79 80 81 83 84 85 86 87 88 89 90 91 93 94 95 96 97 98 99 100 101 102 104 105 110 112 114 116 117 118"},E:{"4":0.01948,"5":0.00649,"6":0.01299,"7":0.00649,"8":0.02597,"9":0.25323,_:"0 10 11 12 13 14 15 7.1 9.1 10.1 11.1 17.6","3.1":0.00649,"3.2":0.00649,"5.1":0.02597,"6.1":0.00649,"12.1":0.01948,"13.1":0.03247,"14.1":3.83736,"15.1":0.01948,"15.2-15.3":0.00649,"15.4":0.02597,"15.5":0.01299,"15.6":0.2792,"16.0":0.26621,"16.1":0.03247,"16.2":0.01299,"16.3":0.07142,"16.4":0.01299,"16.5":0.08441,"16.6":0.37659,"17.0":0.01948,"17.1":0.03247,"17.2":0.07792,"17.3":0.14285,"17.4":1.69467,"17.5":0.29219},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.00303,"5.0-5.1":0.00303,"6.0-6.1":0.00758,"7.0-7.1":0.01061,"8.1-8.4":0.00303,"9.0-9.2":0.00758,"9.3":0.03488,"10.0-10.2":0.00607,"10.3":0.05459,"11.0-11.2":0.08037,"11.3-11.4":0.01516,"12.0-12.1":0.0091,"12.2-12.5":0.21988,"13.0-13.1":0.00455,"13.2":0.02123,"13.3":0.01061,"13.4-13.7":0.04853,"14.0-14.4":0.0834,"14.5-14.8":0.1289,"15.0-15.1":0.06217,"15.2-15.3":0.06824,"15.4":0.07734,"15.5":0.09705,"15.6-15.8":0.87346,"16.0":0.19865,"16.1":0.40944,"16.2":0.19865,"16.3":0.34423,"16.4":0.07279,"16.5":0.14709,"16.6-16.7":1.1722,"17.0":0.12738,"17.1":0.20775,"17.2":0.21685,"17.3":0.40034,"17.4":9.09098,"17.5":0.64145,"17.6":0},P:{"4":0.09714,"20":0.01079,"21":0.02159,"22":0.02159,"23":0.03238,"24":0.06476,"25":2.77393,_:"5.0-5.4 7.2-7.4 8.2 9.2 10.1 11.1-11.2 12.0 13.0 14.0 15.0 16.0 17.0 18.0","6.2-6.4":0.1619,"19.0":0.01079},I:{"0":1.28904,"3":0,"4":0.00013,"2.1":0,"2.2":0,"2.3":0,"4.1":0.00026,"4.2-4.3":0.00078,"4.4":0,"4.4.3-4.4.4":0.00285},K:{"0":0.64178,_:"10 11 12 11.1 11.5 12.1"},A:{"6":0.02622,"7":0.08521,"8":0.95045,"9":0.21631,"10":0.15732,"11":0.52439,_:"5.5"},S:{"2.5":0.03156,_:"3.0-3.1"},J:{_:"7 10"},N:{_:"10 11"},L:{"0":13.55045},R:{_:"0"},M:{"0":0.55761},Q:{_:"14.9"},O:{"0":0.20691},H:{"0":0}}; +module.exports={C:{"52":0.00714,"78":0.00714,"95":0.00714,"102":0.02856,"105":0.1214,"106":0.06427,"107":0.01428,"108":0.01428,"109":0.1214,"110":0.02142,"111":0.02142,"115":1.37107,"119":0.00714,"122":0.00714,"123":0.02142,"124":0.01428,"125":0.22851,"127":0.02856,"128":0.13568,"129":1.42106,"130":5.95559,"131":0.01428,_:"2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 96 97 98 99 100 101 103 104 112 113 114 116 117 118 120 121 126 132 133 134 135 3.5 3.6"},D:{"47":0.00714,"51":0.00714,"79":0.25708,"84":0.01428,"86":0.00714,"90":0.01428,"94":0.00714,"98":0.09997,"99":0.02856,"100":0.37847,"103":0.23565,"105":0.01428,"106":0.52129,"107":0.72838,"108":1.99234,"109":1.8638,"110":0.42846,"111":0.49987,"112":1.37821,"113":0.00714,"114":0.00714,"115":0.00714,"116":1.48533,"118":0.00714,"119":0.01428,"120":0.02856,"121":0.05713,"122":0.34277,"123":0.04999,"124":0.29992,"125":0.1214,"126":0.65697,"127":2.52791,"128":14.89613,"129":5.66995,"130":0.01428,_:"4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 48 49 50 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 80 81 83 85 87 88 89 91 92 93 95 96 97 101 102 104 117 131 132 133"},F:{"11":0.02142,"84":0.00714,"92":0.03571,"93":0.00714,"95":0.01428,"108":0.00714,"109":0.01428,"110":0.00714,"111":0.00714,"112":1.08543,"113":1.17112,"114":0.00714,_:"9 12 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 60 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 85 86 87 88 89 90 91 94 96 97 98 99 100 101 102 103 104 105 106 107 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"98":0.00714,"105":0.00714,"106":0.01428,"107":0.30706,"108":0.23565,"109":0.07855,"110":0.02856,"115":0.00714,"120":0.00714,"121":0.00714,"122":0.01428,"123":0.02856,"124":0.04999,"125":0.01428,"126":0.02856,"127":0.14282,"128":10.06167,"129":3.4134,_:"12 13 14 15 16 17 18 79 80 81 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 99 100 101 102 103 104 111 112 113 114 116 117 118 119 130"},E:{"9":0.02142,"14":0.01428,_:"0 4 5 6 7 8 10 11 12 13 15 3.1 3.2 5.1 6.1 7.1 9.1 10.1 11.1 17.1 18.1","12.1":0.01428,"13.1":0.02856,"14.1":0.19995,"15.1":0.00714,"15.2-15.3":0.02142,"15.4":0.00714,"15.5":0.00714,"15.6":3.73474,"16.0":0.14282,"16.1":0.10712,"16.2":0.02142,"16.3":0.03571,"16.4":0.13568,"16.5":0.03571,"16.6":0.41418,"17.0":0.03571,"17.2":0.08569,"17.3":0.01428,"17.4":0.03571,"17.5":0.46417,"17.6":1.96378,"18.0":0.22137},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.00286,"5.0-5.1":0.00143,"6.0-6.1":0.00859,"7.0-7.1":0.01002,"8.1-8.4":0,"9.0-9.2":0.00859,"9.3":0.02434,"10.0-10.2":0.00716,"10.3":0.04151,"11.0-11.2":0.15317,"11.3-11.4":0.01145,"12.0-12.1":0.00716,"12.2-12.5":0.17321,"13.0-13.1":0.00286,"13.2":0.0544,"13.3":0.00716,"13.4-13.7":0.02863,"14.0-14.4":0.06585,"14.5-14.8":0.08732,"15.0-15.1":0.0501,"15.2-15.3":0.04867,"15.4":0.05583,"15.5":0.06871,"15.6-15.8":0.67996,"16.0":0.13742,"16.1":0.27199,"16.2":0.13599,"16.3":0.22904,"16.4":0.04867,"16.5":0.09591,"16.6-16.7":0.81882,"17.0":0.06871,"17.1":0.10879,"17.2":0.09877,"17.3":0.14172,"17.4":0.30348,"17.5":1.4587,"17.6-17.7":7.76303,"18.0":0.97915,"18.1":0.04438},P:{"20":0.02138,"21":0.01069,"22":0.03206,"23":0.01069,"24":0.01069,"25":0.01069,"26":1.64589,_:"4 5.0-5.4 6.2-6.4 7.2-7.4 8.2 9.2 10.1 12.0 13.0 14.0 16.0 17.0","11.1-11.2":0.01069,"15.0":0.01069,"18.0":0.02138,"19.0":0.02138},I:{"0":0.07413,"3":0,"4":0,"2.1":0,"2.2":0,"2.3":0,"4.1":0.00001,"4.2-4.3":0.00003,"4.4":0,"4.4.3-4.4.4":0.00012},K:{"0":0.33736,_:"10 11 12 11.1 11.5 12.1"},A:{"8":0.8591,"9":0.11014,"10":0.17623,"11":0.1542,_:"6 7 5.5"},N:{_:"10 11"},S:{_:"2.5 3.0-3.1"},J:{_:"7 10"},O:{"0":0.02287},H:{"0":0},L:{"0":11.22135},R:{_:"0"},M:{"0":0.50604},Q:{"14.9":0.00286}}; diff --git a/node_modules/caniuse-lite/data/regions/LK.js b/node_modules/caniuse-lite/data/regions/LK.js index 30f4c9df57..e8aef03e44 100644 --- a/node_modules/caniuse-lite/data/regions/LK.js +++ b/node_modules/caniuse-lite/data/regions/LK.js @@ -1 +1 @@ -module.exports={C:{"52":0.00516,"88":0.04129,"110":0.00516,"115":0.20128,"117":0.00516,"119":0.00516,"121":0.00516,"122":0.00516,"123":0.01032,"124":0.02064,"125":0.50578,"126":0.40256,"127":0.01032,_:"2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 111 112 113 114 116 118 120 128 129 3.5 3.6"},D:{"22":0.00516,"49":0.00516,"63":0.00516,"68":0.00516,"70":0.01032,"71":0.00516,"74":0.01032,"75":0.00516,"78":0.00516,"79":0.01032,"80":0.00516,"81":0.00516,"83":0.00516,"85":0.01032,"86":0.00516,"87":0.01032,"88":0.00516,"89":0.00516,"90":0.00516,"91":0.00516,"92":0.00516,"93":0.01032,"94":0.00516,"95":0.01032,"96":0.00516,"98":0.00516,"99":0.01032,"100":0.00516,"101":0.00516,"102":0.01032,"103":0.03097,"104":0.01032,"105":0.00516,"106":0.01032,"107":0.00516,"108":0.01548,"109":1.63088,"110":0.01032,"111":0.01548,"112":0.00516,"113":0.00516,"114":0.02064,"115":0.01032,"116":0.04129,"117":0.01548,"118":0.01548,"119":0.03613,"120":0.06709,"121":0.07225,"122":0.1187,"123":0.35611,"124":12.5722,"125":4.47459,"126":0.00516,_:"4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 50 51 52 53 54 55 56 57 58 59 60 61 62 64 65 66 67 69 72 73 76 77 84 97 127 128"},F:{"79":0.00516,"82":0.00516,"85":0.00516,"95":0.07742,"107":0.04645,"108":0.00516,"109":0.56255,"110":0.05161,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 60 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 80 81 83 84 86 87 88 89 90 91 92 93 94 96 97 98 99 100 101 102 103 104 105 106 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"12":0.00516,"16":0.00516,"17":0.00516,"18":0.01548,"84":0.00516,"92":0.03613,"100":0.01032,"107":0.00516,"109":0.02064,"113":0.00516,"114":0.00516,"115":0.00516,"116":0.00516,"117":0.00516,"118":0.00516,"119":0.01548,"120":0.02064,"121":0.02581,"122":0.03613,"123":0.19096,"124":17.4545,"125":9.65623,_:"13 14 15 79 80 81 83 85 86 87 88 89 90 91 93 94 95 96 97 98 99 101 102 103 104 105 106 108 110 111 112"},E:{"14":0.01032,_:"0 4 5 6 7 8 9 10 11 12 13 15 3.1 3.2 5.1 6.1 7.1 9.1 10.1 11.1 12.1 16.0 17.6","13.1":0.00516,"14.1":0.01032,"15.1":0.00516,"15.2-15.3":0.00516,"15.4":0.00516,"15.5":0.00516,"15.6":0.03613,"16.1":0.01032,"16.2":0.00516,"16.3":0.02064,"16.4":0.00516,"16.5":0.02064,"16.6":0.02581,"17.0":0.02064,"17.1":0.03097,"17.2":0.02064,"17.3":0.01548,"17.4":0.1187,"17.5":0.02064},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.00086,"5.0-5.1":0.00086,"6.0-6.1":0.00215,"7.0-7.1":0.00301,"8.1-8.4":0.00086,"9.0-9.2":0.00215,"9.3":0.00991,"10.0-10.2":0.00172,"10.3":0.0155,"11.0-11.2":0.02283,"11.3-11.4":0.00431,"12.0-12.1":0.00258,"12.2-12.5":0.06245,"13.0-13.1":0.00129,"13.2":0.00603,"13.3":0.00301,"13.4-13.7":0.01378,"14.0-14.4":0.02369,"14.5-14.8":0.03661,"15.0-15.1":0.01766,"15.2-15.3":0.01938,"15.4":0.02196,"15.5":0.02756,"15.6-15.8":0.24807,"16.0":0.05642,"16.1":0.11628,"16.2":0.05642,"16.3":0.09776,"16.4":0.02067,"16.5":0.04178,"16.6-16.7":0.33291,"17.0":0.03618,"17.1":0.059,"17.2":0.06159,"17.3":0.1137,"17.4":2.58187,"17.5":0.18217,"17.6":0},P:{"4":0.22495,"20":0.05113,"21":0.1227,"22":0.15338,"23":0.26585,"24":0.37833,"25":0.72599,"5.0-5.4":0.01023,"6.2-6.4":0.02045,"7.2-7.4":0.55216,"8.2":0.01023,"9.2":0.02045,_:"10.1","11.1-11.2":0.06135,"12.0":0.02045,"13.0":0.05113,"14.0":0.03068,"15.0":0.02045,"16.0":0.03068,"17.0":0.0409,"18.0":0.03068,"19.0":0.07158},I:{"0":0.0482,"3":0,"4":0,"2.1":0,"2.2":0,"2.3":0,"4.1":0.00001,"4.2-4.3":0.00003,"4.4":0,"4.4.3-4.4.4":0.00011},K:{"0":1.23846,_:"10 11 12 11.1 11.5 12.1"},A:{"8":0.00516,"11":0.01032,_:"6 7 9 10 5.5"},S:{_:"2.5 3.0-3.1"},J:{_:"7 10"},N:{_:"10 11"},L:{"0":40.39706},R:{_:"0"},M:{"0":0.09194},Q:{_:"14.9"},O:{"0":1.05006},H:{"0":0.01}}; +module.exports={C:{"52":0.0058,"65":0.0058,"88":0.05803,"115":0.1857,"121":0.0058,"125":0.0058,"127":0.01741,"128":0.01161,"129":0.17989,"130":0.78341,"131":0.03482,_:"2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 53 54 55 56 57 58 59 60 61 62 63 64 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 116 117 118 119 120 122 123 124 126 132 133 134 135 3.5 3.6"},D:{"56":0.01161,"63":0.0058,"70":0.0058,"74":0.02321,"75":0.0058,"76":0.0058,"79":0.01161,"80":0.0058,"81":0.0058,"85":0.01161,"86":0.0058,"87":0.0058,"88":0.0058,"89":0.0058,"91":0.01161,"92":0.0058,"93":0.01161,"94":0.0058,"96":0.0058,"98":0.0058,"99":0.01161,"100":0.0058,"103":0.04062,"104":0.0058,"105":0.0058,"106":0.01161,"107":0.0058,"108":0.01741,"109":1.38692,"110":0.01741,"111":0.01161,"112":0.01161,"113":0.0058,"114":0.0058,"115":0.0058,"116":0.04642,"117":0.01161,"118":0.01161,"119":0.01741,"120":0.02321,"121":0.02321,"122":0.05803,"123":0.03482,"124":0.10445,"125":0.04642,"126":0.12767,"127":0.48165,"128":13.12058,"129":4.12013,"130":0.0058,_:"4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 57 58 59 60 61 62 64 65 66 67 68 69 71 72 73 77 78 83 84 90 95 97 101 102 131 132 133"},F:{"79":0.0058,"83":0.0058,"84":0.01741,"95":0.06964,"109":0.0058,"112":0.45844,"113":0.22632,"114":0.0058,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 60 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 80 81 82 85 86 87 88 89 90 91 92 93 94 96 97 98 99 100 101 102 103 104 105 106 107 108 110 111 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"18":0.0058,"84":0.0058,"89":0.0058,"92":0.03482,"100":0.01161,"109":0.01741,"119":0.0058,"120":0.0058,"121":0.0058,"122":0.0058,"123":0.0058,"124":0.01741,"125":0.01741,"126":0.04062,"127":0.45844,"128":25.9278,"129":7.68898,"130":0.0058,_:"12 13 14 15 16 17 79 80 81 83 85 86 87 88 90 91 93 94 95 96 97 98 99 101 102 103 104 105 106 107 108 110 111 112 113 114 115 116 117 118"},E:{_:"0 4 5 6 7 8 9 10 11 12 13 14 15 3.1 3.2 5.1 6.1 7.1 9.1 10.1 11.1 12.1 15.1 15.2-15.3 15.5 18.1","13.1":0.0058,"14.1":0.0058,"15.4":0.0058,"15.6":0.02321,"16.0":0.0058,"16.1":0.01161,"16.2":0.0058,"16.3":0.0058,"16.4":0.0058,"16.5":0.02321,"16.6":0.02902,"17.0":0.0058,"17.1":0.0058,"17.2":0.0058,"17.3":0.01161,"17.4":0.01741,"17.5":0.04642,"17.6":0.13927,"18.0":0.02902},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.00082,"5.0-5.1":0.00041,"6.0-6.1":0.00245,"7.0-7.1":0.00286,"8.1-8.4":0,"9.0-9.2":0.00245,"9.3":0.00694,"10.0-10.2":0.00204,"10.3":0.01183,"11.0-11.2":0.04365,"11.3-11.4":0.00326,"12.0-12.1":0.00204,"12.2-12.5":0.04936,"13.0-13.1":0.00082,"13.2":0.0155,"13.3":0.00204,"13.4-13.7":0.00816,"14.0-14.4":0.01877,"14.5-14.8":0.02488,"15.0-15.1":0.01428,"15.2-15.3":0.01387,"15.4":0.01591,"15.5":0.01958,"15.6-15.8":0.19378,"16.0":0.03916,"16.1":0.07751,"16.2":0.03876,"16.3":0.06527,"16.4":0.01387,"16.5":0.02733,"16.6-16.7":0.23335,"17.0":0.01958,"17.1":0.031,"17.2":0.02815,"17.3":0.04039,"17.4":0.08649,"17.5":0.4157,"17.6-17.7":2.2123,"18.0":0.27904,"18.1":0.01265},P:{"4":0.08306,"20":0.02076,"21":0.07267,"22":0.14535,"23":0.10382,"24":0.14535,"25":0.26993,"26":0.68522,_:"5.0-5.4 8.2 10.1","6.2-6.4":0.01038,"7.2-7.4":0.4049,"9.2":0.02076,"11.1-11.2":0.03115,"12.0":0.01038,"13.0":0.04153,"14.0":0.02076,"15.0":0.01038,"16.0":0.02076,"17.0":0.02076,"18.0":0.02076,"19.0":0.03115},I:{"0":0.01256,"3":0,"4":0,"2.1":0,"2.2":0,"2.3":0,"4.1":0,"4.2-4.3":0.00001,"4.4":0,"4.4.3-4.4.4":0.00002},K:{"0":1.13998,_:"10 11 12 11.1 11.5 12.1"},A:{"11":0.01161,_:"6 7 8 9 10 5.5"},N:{_:"10 11"},S:{_:"2.5 3.0-3.1"},J:{_:"7 10"},O:{"0":0.96531},H:{"0":0.01},L:{"0":34.63033},R:{_:"0"},M:{"0":0.09653},Q:{"14.9":0.0042}}; diff --git a/node_modules/caniuse-lite/data/regions/LR.js b/node_modules/caniuse-lite/data/regions/LR.js index 6d9b0c2418..2353ab3877 100644 --- a/node_modules/caniuse-lite/data/regions/LR.js +++ b/node_modules/caniuse-lite/data/regions/LR.js @@ -1 +1 @@ -module.exports={C:{"34":0.00324,"39":0.00162,"47":0.00162,"54":0.00324,"66":0.00162,"72":0.00324,"79":0.00162,"87":0.00162,"96":0.00324,"115":0.38718,"121":0.00648,"122":0.00972,"123":0.00486,"124":0.01296,"125":0.42444,"126":0.3321,"127":0.00324,_:"2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 35 36 37 38 40 41 42 43 44 45 46 48 49 50 51 52 53 55 56 57 58 59 60 61 62 63 64 65 67 68 69 70 71 73 74 75 76 77 78 80 81 82 83 84 85 86 88 89 90 91 92 93 94 95 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 116 117 118 119 120 128 129 3.5 3.6"},D:{"29":0.01296,"34":0.00324,"47":0.00324,"49":0.00162,"50":0.00162,"58":0.00162,"60":0.00486,"61":0.00162,"63":0.00648,"64":0.00324,"65":0.00972,"66":0.00162,"67":0.00162,"68":0.00162,"71":0.0081,"74":0.00162,"76":0.00972,"77":0.00162,"79":0.00648,"80":0.01458,"81":0.00486,"83":0.00648,"84":0.01296,"86":0.00486,"87":0.01134,"88":0.01944,"90":0.0081,"91":0.00162,"92":0.05508,"93":0.0729,"94":0.0162,"96":0.01944,"98":0.01782,"99":0.00648,"100":0.01782,"102":0.01458,"103":0.03726,"105":0.03726,"106":0.00162,"108":0.00648,"109":0.37584,"110":0.00324,"111":0.01944,"112":0.00162,"113":0.02592,"114":0.0162,"115":0.0081,"116":0.03726,"117":0.01134,"118":0.0405,"119":0.04212,"120":0.0486,"121":0.03726,"122":0.18468,"123":0.23328,"124":3.76002,"125":1.5633,"126":0.00162,_:"4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 30 31 32 33 35 36 37 38 39 40 41 42 43 44 45 46 48 51 52 53 54 55 56 57 59 62 69 70 72 73 75 78 85 89 95 97 101 104 107 127 128"},F:{"21":0.00324,"34":0.00162,"36":0.00162,"79":0.00648,"89":0.00162,"95":0.0081,"102":0.00162,"107":0.00162,"108":0.01134,"109":0.39042,"110":0.02754,_:"9 11 12 15 16 17 18 19 20 22 23 24 25 26 27 28 29 30 31 32 33 35 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 60 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 80 81 82 83 84 85 86 87 88 90 91 92 93 94 96 97 98 99 100 101 103 104 105 106 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"12":0.02268,"13":0.00486,"14":0.00162,"15":0.0162,"16":0.00972,"17":0.01134,"18":0.09882,"84":0.01458,"86":0.00162,"89":0.0081,"90":0.0081,"92":0.05184,"100":0.00972,"105":0.00162,"107":0.00162,"108":0.00324,"109":0.02268,"111":0.00162,"114":0.00648,"115":0.00324,"116":0.00162,"117":0.00324,"119":0.01944,"120":0.04536,"121":0.02106,"122":0.09234,"123":0.1053,"124":1.23282,"125":0.7614,_:"79 80 81 83 85 87 88 91 93 94 95 96 97 98 99 101 102 103 104 106 110 112 113 118"},E:{"13":0.00648,"14":0.00648,_:"0 4 5 6 7 8 9 10 11 12 15 3.1 3.2 5.1 6.1 7.1 9.1 15.1 15.4 15.5 16.0 16.4 17.6","10.1":0.01782,"11.1":0.00324,"12.1":0.00486,"13.1":0.04212,"14.1":0.0162,"15.2-15.3":0.00486,"15.6":0.0324,"16.1":0.02754,"16.2":0.00324,"16.3":0.00324,"16.5":0.00162,"16.6":0.01944,"17.0":0.00324,"17.1":0.00486,"17.2":0.02268,"17.3":0.0324,"17.4":0.03726,"17.5":0.1134},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.00131,"5.0-5.1":0.00131,"6.0-6.1":0.00328,"7.0-7.1":0.00459,"8.1-8.4":0.00131,"9.0-9.2":0.00328,"9.3":0.01509,"10.0-10.2":0.00262,"10.3":0.02362,"11.0-11.2":0.03478,"11.3-11.4":0.00656,"12.0-12.1":0.00394,"12.2-12.5":0.09514,"13.0-13.1":0.00197,"13.2":0.00919,"13.3":0.00459,"13.4-13.7":0.021,"14.0-14.4":0.03609,"14.5-14.8":0.05577,"15.0-15.1":0.0269,"15.2-15.3":0.02953,"15.4":0.03346,"15.5":0.04199,"15.6-15.8":0.37794,"16.0":0.08596,"16.1":0.17716,"16.2":0.08596,"16.3":0.14895,"16.4":0.0315,"16.5":0.06365,"16.6-16.7":0.50721,"17.0":0.05512,"17.1":0.08989,"17.2":0.09383,"17.3":0.17322,"17.4":3.93364,"17.5":0.27755,"17.6":0},P:{"4":0.14313,"20":0.01022,"21":0.37827,"22":0.05112,"23":0.11246,"24":0.23514,"25":0.37827,"5.0-5.4":0.01022,"6.2-6.4":0.01022,"7.2-7.4":0.03067,_:"8.2 10.1 12.0 14.0 18.0","9.2":0.02045,"11.1-11.2":0.03067,"13.0":0.01022,"15.0":0.01022,"16.0":0.03067,"17.0":0.01022,"19.0":0.06134},I:{"0":0.03339,"3":0,"4":0,"2.1":0,"2.2":0,"2.3":0,"4.1":0.00001,"4.2-4.3":0.00002,"4.4":0,"4.4.3-4.4.4":0.00007},K:{"0":3.52128,_:"10 11 12 11.1 11.5 12.1"},A:{"10":0.00957,"11":0.03255,_:"6 7 8 9 5.5"},S:{"2.5":0.0838,_:"3.0-3.1"},J:{_:"7 10"},N:{_:"10 11"},L:{"0":66.86666},R:{_:"0"},M:{"0":0.02514},Q:{"14.9":0.00838},O:{"0":0.68716},H:{"0":8.68}}; +module.exports={C:{"34":0.0061,"43":0.00153,"58":0.00153,"66":0.00305,"72":0.00305,"85":0.00763,"94":0.00305,"96":0.00153,"102":0.00153,"115":0.03355,"119":0.00153,"122":0.00153,"124":0.00153,"125":0.0122,"126":0.0244,"127":0.00915,"128":0.00763,"129":0.25163,"130":0.63745,"131":0.00763,_:"2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 35 36 37 38 39 40 41 42 44 45 46 47 48 49 50 51 52 53 54 55 56 57 59 60 61 62 63 64 65 67 68 69 70 71 73 74 75 76 77 78 79 80 81 82 83 84 86 87 88 89 90 91 92 93 95 97 98 99 100 101 103 104 105 106 107 108 109 110 111 112 113 114 116 117 118 120 121 123 132 133 134 135 3.5 3.6"},D:{"29":0.00305,"43":0.0061,"47":0.00153,"53":0.00153,"59":0.0061,"60":0.0976,"64":0.01678,"65":0.00305,"67":0.00458,"68":0.00763,"70":0.00458,"71":0.00153,"74":0.00305,"75":0.01373,"76":0.00915,"77":0.00153,"79":0.00153,"80":0.01373,"81":0.0122,"83":0.00153,"84":0.00153,"86":0.00305,"87":0.0244,"88":0.00915,"91":0.00153,"92":0.03203,"93":0.03965,"94":0.0183,"96":0.00305,"98":0.00153,"99":0.01525,"101":0.00763,"102":0.00153,"103":0.0915,"104":0.00153,"105":0.02593,"106":0.00305,"107":0.00153,"108":0.01068,"109":0.29128,"110":0.00458,"111":0.061,"112":0.01068,"113":0.00153,"114":0.00915,"116":0.0732,"117":0.00153,"118":0.0732,"119":0.00763,"120":0.0061,"121":0.0122,"122":0.03355,"123":0.04575,"124":0.0488,"125":0.0366,"126":0.10828,"127":0.36753,"128":3.86435,"129":0.976,"130":0.00153,_:"4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 30 31 32 33 34 35 36 37 38 39 40 41 42 44 45 46 48 49 50 51 52 54 55 56 57 58 61 62 63 66 69 72 73 78 85 89 90 95 97 100 115 131 132 133"},F:{"21":0.0061,"37":0.0061,"43":0.00153,"46":0.00153,"79":0.00153,"83":0.00153,"84":0.00153,"89":0.00153,"95":0.0305,"99":0.00153,"108":0.00305,"109":0.00153,"111":0.00305,"112":0.19825,"113":0.20893,"114":0.0122,_:"9 11 12 15 16 17 18 19 20 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 38 39 40 41 42 44 45 47 48 49 50 51 52 53 54 55 56 57 58 60 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 80 81 82 85 86 87 88 90 91 92 93 94 96 97 98 100 101 102 103 104 105 106 107 110 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"12":0.00763,"13":0.00305,"14":0.00305,"15":0.01678,"16":0.00305,"17":0.00305,"18":0.0793,"80":0.00153,"84":0.02135,"89":0.01678,"90":0.01373,"92":0.06253,"96":0.00153,"100":0.01678,"101":0.00153,"103":0.00305,"109":0.02135,"111":0.00153,"112":0.00153,"114":0.00153,"115":0.00458,"117":0.00915,"118":0.00763,"120":0.00915,"121":0.00305,"122":0.01373,"123":0.00458,"124":0.02593,"125":0.02898,"126":0.08083,"127":0.2013,"128":1.3542,"129":0.53375,_:"79 81 83 85 86 87 88 91 93 94 95 97 98 99 102 104 105 106 107 108 110 113 116 119 130"},E:{"13":0.0061,"14":0.07778,"15":0.00305,_:"0 4 5 6 7 8 9 10 11 12 3.1 3.2 5.1 6.1 7.1 9.1 10.1 15.2-15.3 15.5 16.0 18.1","11.1":0.00305,"12.1":0.0366,"13.1":0.02135,"14.1":0.00458,"15.1":0.00153,"15.4":0.00305,"15.6":0.02288,"16.1":0.00458,"16.2":0.00153,"16.3":0.00305,"16.4":0.00153,"16.5":0.01983,"16.6":0.01068,"17.0":0.00153,"17.1":0.00458,"17.2":0.00153,"17.3":0.00153,"17.4":0.00763,"17.5":0.0305,"17.6":0.05185,"18.0":0.02593},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.00098,"5.0-5.1":0.00049,"6.0-6.1":0.00294,"7.0-7.1":0.00343,"8.1-8.4":0,"9.0-9.2":0.00294,"9.3":0.00833,"10.0-10.2":0.00245,"10.3":0.0142,"11.0-11.2":0.05241,"11.3-11.4":0.00392,"12.0-12.1":0.00245,"12.2-12.5":0.05927,"13.0-13.1":0.00098,"13.2":0.01861,"13.3":0.00245,"13.4-13.7":0.0098,"14.0-14.4":0.02253,"14.5-14.8":0.02988,"15.0-15.1":0.01714,"15.2-15.3":0.01665,"15.4":0.0191,"15.5":0.02351,"15.6-15.8":0.23265,"16.0":0.04702,"16.1":0.09306,"16.2":0.04653,"16.3":0.07837,"16.4":0.01665,"16.5":0.03282,"16.6-16.7":0.28016,"17.0":0.02351,"17.1":0.03722,"17.2":0.0338,"17.3":0.04849,"17.4":0.10384,"17.5":0.4991,"17.6-17.7":2.65617,"18.0":0.33502,"18.1":0.01518},P:{"4":0.02043,"20":0.01021,"21":0.04086,"22":0.0715,"23":0.05107,"24":0.0715,"25":0.12257,"26":0.48007,"5.0-5.4":0.01021,"6.2-6.4":0.01021,"7.2-7.4":0.04086,_:"8.2 10.1 12.0 13.0 14.0 15.0 18.0","9.2":0.06129,"11.1-11.2":0.11236,"16.0":0.01021,"17.0":0.01021,"19.0":0.02043},I:{"0":0.0169,"3":0,"4":0,"2.1":0,"2.2":0,"2.3":0,"4.1":0,"4.2-4.3":0.00001,"4.4":0,"4.4.3-4.4.4":0.00003},K:{"0":3.15166,_:"10 11 12 11.1 11.5 12.1"},A:{"10":0.00327,"11":0.04248,_:"6 7 8 9 5.5"},N:{_:"10 11"},S:{"2.5":0.0339,_:"3.0-3.1"},J:{_:"7 10"},O:{"0":0.57623},H:{"0":4.78},L:{"0":73.8824},R:{_:"0"},M:{"0":0.05932},Q:{_:"14.9"}}; diff --git a/node_modules/caniuse-lite/data/regions/LS.js b/node_modules/caniuse-lite/data/regions/LS.js index d889e2fad5..16f9c68c9d 100644 --- a/node_modules/caniuse-lite/data/regions/LS.js +++ b/node_modules/caniuse-lite/data/regions/LS.js @@ -1 +1 @@ -module.exports={C:{"21":0.00607,"52":0.00304,"80":0.00304,"88":0.00911,"101":0.01822,"102":0.00304,"115":0.09111,"118":0.00607,"121":0.00304,"123":0.00304,"124":0.00911,"125":0.21866,"126":0.32192,"127":0.00304,_:"2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 81 82 83 84 85 86 87 89 90 91 92 93 94 95 96 97 98 99 100 103 104 105 106 107 108 109 110 111 112 113 114 116 117 119 120 122 128 129 3.5 3.6"},D:{"40":0.00304,"43":0.00304,"49":0.01215,"56":0.00304,"69":0.00304,"70":0.00304,"72":0.00304,"79":0.00304,"81":0.01519,"83":0.00304,"85":0.00304,"87":0.01215,"88":0.00607,"90":0.00304,"91":0.00304,"92":0.00911,"93":0.00304,"94":0.00607,"99":0.01519,"100":0.00304,"101":0.0243,"102":0.0577,"103":0.04252,"104":0.03037,"105":0.00304,"107":0.00304,"108":0.00304,"109":1.38487,"111":0.00304,"112":0.00304,"113":0.08807,"114":0.00304,"115":0.00304,"116":0.01215,"118":0.00607,"119":0.01519,"120":0.02126,"121":0.03644,"122":0.07593,"123":0.36444,"124":6.12867,"125":3.72033,_:"4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 41 42 44 45 46 47 48 50 51 52 53 54 55 57 58 59 60 61 62 63 64 65 66 67 68 71 73 74 75 76 77 78 80 84 86 89 95 96 97 98 106 110 117 126 127 128"},F:{"37":0.00304,"38":0.00304,"80":0.00304,"83":0.00304,"95":0.17615,"100":0.00304,"102":0.01215,"107":0.00607,"108":0.01215,"109":0.31889,"110":0.11541,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 60 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 81 82 84 85 86 87 88 89 90 91 92 93 94 96 97 98 99 101 103 104 105 106 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"12":0.07289,"13":0.05467,"14":0.00607,"16":0.00304,"17":0.00304,"18":0.06378,"85":0.00304,"90":0.00304,"92":0.01519,"101":0.00304,"105":0.00607,"109":0.09718,"110":0.00304,"111":0.00304,"112":0.00304,"114":0.00304,"115":0.00304,"116":0.14578,"117":0.00911,"118":0.00911,"119":0.02733,"120":0.06985,"121":0.01822,"122":0.07896,"123":0.11237,"124":1.7645,"125":1.10243,_:"15 79 80 81 83 84 86 87 88 89 91 93 94 95 96 97 98 99 100 102 103 104 106 107 108 113"},E:{"13":0.00304,"14":0.00607,_:"0 4 5 6 7 8 9 10 11 12 15 3.1 3.2 5.1 6.1 7.1 9.1 10.1 11.1 12.1 13.1 15.1 15.2-15.3 15.4 15.5 16.0 16.2 16.4 16.5 17.0 17.2 17.6","14.1":0.00304,"15.6":0.01215,"16.1":0.00304,"16.3":0.00911,"16.6":0.01215,"17.1":0.00911,"17.3":0.00304,"17.4":0.09111,"17.5":0.00304},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.00041,"5.0-5.1":0.00041,"6.0-6.1":0.00103,"7.0-7.1":0.00145,"8.1-8.4":0.00041,"9.0-9.2":0.00103,"9.3":0.00476,"10.0-10.2":0.00083,"10.3":0.00744,"11.0-11.2":0.01096,"11.3-11.4":0.00207,"12.0-12.1":0.00124,"12.2-12.5":0.02999,"13.0-13.1":0.00062,"13.2":0.0029,"13.3":0.00145,"13.4-13.7":0.00662,"14.0-14.4":0.01137,"14.5-14.8":0.01758,"15.0-15.1":0.00848,"15.2-15.3":0.00931,"15.4":0.01055,"15.5":0.01324,"15.6-15.8":0.11912,"16.0":0.02709,"16.1":0.05584,"16.2":0.02709,"16.3":0.04694,"16.4":0.00993,"16.5":0.02006,"16.6-16.7":0.15986,"17.0":0.01737,"17.1":0.02833,"17.2":0.02957,"17.3":0.0546,"17.4":1.23977,"17.5":0.08748,"17.6":0},P:{"4":0.34464,"20":0.02027,"21":0.07096,"22":0.21287,"23":0.12164,"24":0.56765,"25":0.49669,_:"5.0-5.4 8.2 10.1 12.0","6.2-6.4":0.24328,"7.2-7.4":0.5271,"9.2":0.01014,"11.1-11.2":0.01014,"13.0":0.02027,"14.0":0.01014,"15.0":0.01014,"16.0":0.06082,"17.0":0.03041,"18.0":0.03041,"19.0":0.1926},I:{"0":0.10404,"3":0,"4":0.00001,"2.1":0,"2.2":0,"2.3":0,"4.1":0.00002,"4.2-4.3":0.00006,"4.4":0,"4.4.3-4.4.4":0.00023},K:{"0":4.76137,_:"10 11 12 11.1 11.5 12.1"},A:{"10":0.23486,"11":0.46972,_:"6 7 8 9 5.5"},S:{"2.5":0.08356,_:"3.0-3.1"},J:{_:"7 10"},N:{_:"10 11"},L:{"0":68.13089},R:{_:"0"},M:{"0":0.1323},Q:{"14.9":0.00696},O:{"0":0.68934},H:{"0":2.32}}; +module.exports={C:{"94":0.00303,"105":0.00303,"113":0.00303,"115":0.11211,"125":0.00606,"128":0.00303,"129":0.06666,"130":0.31815,"131":0.00303,_:"2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 95 96 97 98 99 100 101 102 103 104 106 107 108 109 110 111 112 114 116 117 118 119 120 121 122 123 124 126 127 132 133 134 135 3.5 3.6"},D:{"47":0.00303,"58":0.00303,"63":0.00303,"65":0.00909,"66":0.00303,"69":0.00303,"70":0.02727,"79":0.01818,"81":0.02727,"87":0.00303,"88":0.01515,"90":0.00303,"91":0.00303,"94":0.00909,"95":0.00303,"98":0.00303,"99":0.02121,"102":0.01818,"103":0.04848,"108":0.02727,"109":0.71508,"111":0.00303,"115":0.00606,"116":0.01212,"118":0.03333,"119":0.0606,"120":0.04242,"121":0.02424,"122":0.03636,"123":0.08181,"124":0.08484,"125":0.02121,"126":0.17271,"127":0.37572,"128":7.05081,"129":2.43915,_:"4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 48 49 50 51 52 53 54 55 56 57 59 60 61 62 64 67 68 71 72 73 74 75 76 77 78 80 83 84 85 86 89 92 93 96 97 100 101 104 105 106 107 110 112 113 114 117 130 131 132 133"},F:{"50":0.00303,"79":0.01818,"83":0.00909,"84":0.01818,"95":0.20907,"109":0.00303,"110":0.01212,"112":0.34239,"113":0.17574,"114":0.00303,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 51 52 53 54 55 56 57 58 60 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 80 81 82 85 86 87 88 89 90 91 92 93 94 96 97 98 99 100 101 102 103 104 105 106 107 108 111 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"12":0.00909,"15":0.00303,"16":0.00303,"18":0.02424,"89":0.00909,"90":0.00606,"92":0.03636,"100":0.02121,"104":0.00303,"107":0.00303,"109":0.09696,"115":0.00303,"116":0.00303,"117":0.00606,"120":0.08484,"121":0.00303,"122":0.00303,"123":0.00606,"124":0.05454,"125":0.01515,"126":0.03333,"127":0.14544,"128":3.32391,"129":0.84234,"130":0.00606,_:"13 14 17 79 80 81 83 84 85 86 87 88 91 93 94 95 96 97 98 99 101 102 103 105 106 108 110 111 112 113 114 118 119"},E:{"14":0.01515,_:"0 4 5 6 7 8 9 10 11 12 13 15 3.1 3.2 5.1 6.1 7.1 9.1 10.1 11.1 12.1 15.1 15.2-15.3 15.4 15.5 16.0 16.2 16.3 16.5 18.1","13.1":0.01212,"14.1":0.00606,"15.6":0.00606,"16.1":0.00606,"16.4":0.00606,"16.6":0.01818,"17.0":0.00303,"17.1":0.00606,"17.2":0.00606,"17.3":0.00303,"17.4":0.06363,"17.5":0.03939,"17.6":0.09393,"18.0":0.07272},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.00065,"5.0-5.1":0.00033,"6.0-6.1":0.00195,"7.0-7.1":0.00228,"8.1-8.4":0,"9.0-9.2":0.00195,"9.3":0.00553,"10.0-10.2":0.00163,"10.3":0.00944,"11.0-11.2":0.03482,"11.3-11.4":0.0026,"12.0-12.1":0.00163,"12.2-12.5":0.03938,"13.0-13.1":0.00065,"13.2":0.01237,"13.3":0.00163,"13.4-13.7":0.00651,"14.0-14.4":0.01497,"14.5-14.8":0.01985,"15.0-15.1":0.01139,"15.2-15.3":0.01107,"15.4":0.01269,"15.5":0.01562,"15.6-15.8":0.15459,"16.0":0.03124,"16.1":0.06184,"16.2":0.03092,"16.3":0.05207,"16.4":0.01107,"16.5":0.02181,"16.6-16.7":0.18616,"17.0":0.01562,"17.1":0.02473,"17.2":0.02246,"17.3":0.03222,"17.4":0.069,"17.5":0.33164,"17.6-17.7":1.76493,"18.0":0.22261,"18.1":0.01009},P:{"4":0.39404,"20":0.02021,"21":0.03031,"22":0.12124,"23":0.05052,"24":0.26269,"25":0.70725,"26":2.34403,_:"5.0-5.4 8.2 10.1 14.0 15.0","6.2-6.4":0.17176,"7.2-7.4":0.39404,"9.2":0.04041,"11.1-11.2":0.04041,"12.0":0.0101,"13.0":0.0101,"16.0":0.02021,"17.0":0.04041,"18.0":0.03031,"19.0":0.14145},I:{"0":0.0417,"3":0,"4":0,"2.1":0,"2.2":0,"2.3":0,"4.1":0,"4.2-4.3":0.00002,"4.4":0,"4.4.3-4.4.4":0.00007},K:{"0":5.03947,_:"10 11 12 11.1 11.5 12.1"},A:{"11":0.25452,_:"6 7 8 9 10 5.5"},N:{_:"10 11"},S:{"2.5":0.05575,_:"3.0-3.1"},J:{_:"7 10"},O:{"0":0.87113},H:{"0":0.25},L:{"0":67.23025},R:{_:"0"},M:{"0":0.0906},Q:{_:"14.9"}}; diff --git a/node_modules/caniuse-lite/data/regions/LT.js b/node_modules/caniuse-lite/data/regions/LT.js index 1be2d62c67..8bb817aaea 100644 --- a/node_modules/caniuse-lite/data/regions/LT.js +++ b/node_modules/caniuse-lite/data/regions/LT.js @@ -1 +1 @@ -module.exports={C:{"45":0.00411,"52":0.02879,"78":0.02057,"84":0.00411,"87":0.00411,"91":0.00823,"96":0.00411,"99":0.00411,"102":0.00823,"103":0.00823,"105":0.01645,"106":0.02879,"107":0.01645,"108":0.0329,"109":0.01645,"110":0.01645,"111":0.01645,"112":0.00823,"113":0.00411,"115":0.61695,"116":0.00411,"118":0.02057,"119":0.00823,"120":0.00411,"121":0.00823,"122":0.02057,"123":0.04524,"124":0.10694,"125":1.39431,"126":1.28737,"127":0.00411,_:"2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 46 47 48 49 50 51 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 79 80 81 82 83 85 86 88 89 90 92 93 94 95 97 98 100 101 104 114 117 128 129 3.5 3.6"},D:{"34":0.01234,"38":0.00411,"41":0.00411,"43":0.00411,"44":0.00411,"45":0.00411,"46":0.00411,"48":0.00823,"49":0.00823,"51":0.00411,"63":0.00411,"70":0.00411,"74":0.00411,"79":0.01645,"80":0.00823,"81":0.00411,"83":0.0329,"84":0.00411,"85":0.00823,"86":0.04936,"87":0.06581,"88":0.00411,"90":0.00411,"91":0.00411,"92":0.00823,"93":0.00411,"94":0.02468,"96":0.00823,"97":0.34961,"98":0.01645,"99":0.00823,"100":0.00411,"101":0.00411,"102":0.0329,"103":0.04524,"104":0.02468,"105":0.0617,"106":0.13162,"107":0.1275,"108":0.20154,"109":1.68633,"110":0.1275,"111":0.1275,"112":0.08226,"113":0.01645,"114":0.04113,"115":0.10694,"116":0.1275,"117":0.01645,"118":0.03702,"119":1.81383,"120":0.16041,"121":0.13162,"122":0.39485,"123":0.99535,"124":14.56002,"125":5.83223,"126":0.01234,_:"4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 35 36 37 39 40 42 47 50 52 53 54 55 56 57 58 59 60 61 62 64 65 66 67 68 69 71 72 73 75 76 77 78 89 95 127 128"},F:{"86":0.00411,"92":0.01234,"93":0.00411,"94":0.01234,"95":0.19742,"96":0.00411,"99":0.00411,"102":0.02057,"106":0.00411,"107":0.53469,"108":0.0329,"109":2.184,"110":0.0946,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 60 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 87 88 89 90 91 97 98 100 101 103 104 105 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"17":0.00411,"18":0.00411,"92":0.01234,"102":0.00411,"103":0.00823,"105":0.00823,"106":0.00411,"107":0.01645,"108":0.03702,"109":0.03702,"110":0.00411,"111":0.01645,"112":0.00411,"113":0.00411,"114":0.00823,"118":0.00411,"119":0.00823,"120":0.01234,"121":0.02057,"122":0.02057,"123":0.06581,"124":2.0894,"125":1.29971,_:"12 13 14 15 16 79 80 81 83 84 85 86 87 88 89 90 91 93 94 95 96 97 98 99 100 101 104 115 116 117"},E:{"9":0.00411,"14":0.01645,"15":0.00411,_:"0 4 5 6 7 8 10 11 12 13 3.1 3.2 5.1 6.1 7.1 10.1 11.1 17.6","9.1":0.00823,"12.1":0.00411,"13.1":0.0329,"14.1":0.04936,"15.1":0.00823,"15.2-15.3":0.02057,"15.4":0.00823,"15.5":0.00823,"15.6":0.19742,"16.0":0.0329,"16.1":0.04113,"16.2":0.05347,"16.3":0.05347,"16.4":0.03702,"16.5":0.02879,"16.6":0.11105,"17.0":0.05347,"17.1":0.04113,"17.2":0.06992,"17.3":0.06581,"17.4":0.68687,"17.5":0.11105},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.00682,"5.0-5.1":0.00682,"6.0-6.1":0.01706,"7.0-7.1":0.02388,"8.1-8.4":0.00682,"9.0-9.2":0.01706,"9.3":0.07846,"10.0-10.2":0.01365,"10.3":0.12281,"11.0-11.2":0.18081,"11.3-11.4":0.03412,"12.0-12.1":0.02047,"12.2-12.5":0.49467,"13.0-13.1":0.01023,"13.2":0.04776,"13.3":0.02388,"13.4-13.7":0.10917,"14.0-14.4":0.18763,"14.5-14.8":0.28998,"15.0-15.1":0.13987,"15.2-15.3":0.15352,"15.4":0.17399,"15.5":0.21834,"15.6-15.8":1.96503,"16.0":0.44691,"16.1":0.92111,"16.2":0.44691,"16.3":0.77441,"16.4":0.16375,"16.5":0.33092,"16.6-16.7":2.6371,"17.0":0.28657,"17.1":0.46738,"17.2":0.48785,"17.3":0.90064,"17.4":20.45204,"17.5":1.44307,"17.6":0},P:{"4":0.06153,"20":0.01025,"21":0.03076,"22":0.06153,"23":0.09229,"24":0.16408,"25":1.75357,_:"5.0-5.4 7.2-7.4 8.2 9.2 10.1 12.0 13.0 14.0 15.0 16.0","6.2-6.4":0.01025,"11.1-11.2":0.01025,"17.0":0.01025,"18.0":0.01025,"19.0":0.01025},I:{"0":0.05864,"3":0,"4":0.00001,"2.1":0,"2.2":0,"2.3":0,"4.1":0.00001,"4.2-4.3":0.00004,"4.4":0,"4.4.3-4.4.4":0.00013},K:{"0":0.44919,_:"10 11 12 11.1 11.5 12.1"},A:{"8":0.0752,"9":0.01769,"10":0.00885,"11":0.1327,_:"6 7 5.5"},S:{_:"2.5 3.0-3.1"},J:{_:"7 10"},N:{_:"10 11"},L:{"0":21.15943},R:{_:"0"},M:{"0":0.46507},Q:{"14.9":0.00589},O:{"0":0.0471},H:{"0":0.01}}; +module.exports={C:{"52":0.00561,"65":0.00561,"102":0.00561,"103":0.00561,"108":0.00561,"115":0.21329,"118":0.00561,"124":0.00561,"125":0.03929,"126":0.03368,"127":0.02807,"128":0.01684,"129":0.29188,"130":1.35273,_:"2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 53 54 55 56 57 58 59 60 61 62 63 64 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 104 105 106 107 109 110 111 112 113 114 116 117 119 120 121 122 123 131 132 133 134 135 3.5 3.6"},D:{"34":0.00561,"56":0.26381,"76":0.00561,"79":0.01123,"83":0.01123,"86":0.00561,"87":0.01123,"90":0.00561,"92":0.00561,"94":0.00561,"98":0.01123,"102":0.00561,"103":0.03929,"104":0.01123,"106":0.02245,"107":0.00561,"108":0.01123,"109":1.03841,"111":0.08981,"112":0.00561,"113":0.02807,"114":0.05052,"115":0.01684,"116":0.174,"117":0.01123,"118":0.00561,"119":0.01123,"120":0.07858,"121":0.03368,"122":0.34239,"123":0.38168,"124":0.30872,"125":0.17962,"126":0.48833,"127":3.03663,"128":29.04166,"129":7.21832,_:"4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 77 78 80 81 84 85 88 89 91 93 95 96 97 99 100 101 105 110 130 131 132 133"},F:{"84":0.00561,"94":0.00561,"95":0.06174,"102":0.01684,"109":0.02245,"111":0.00561,"112":1.10015,"113":0.84195,"114":0.00561,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 60 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 85 86 87 88 89 90 91 92 93 96 97 98 99 100 101 103 104 105 106 107 108 110 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"92":0.01684,"108":0.00561,"109":0.03368,"114":0.00561,"117":0.01684,"120":0.00561,"121":0.00561,"122":0.00561,"123":0.02245,"124":0.07297,"125":0.0842,"126":0.02245,"127":0.40975,"128":5.64668,"129":1.639,"130":0.00561,_:"12 13 14 15 16 17 18 79 80 81 83 84 85 86 87 88 89 90 91 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 110 111 112 113 115 116 118 119"},E:{"14":0.00561,_:"0 4 5 6 7 8 9 10 11 12 13 15 3.1 3.2 5.1 6.1 7.1 9.1 10.1 11.1 12.1 15.1 15.2-15.3 15.5 18.1","13.1":0.00561,"14.1":0.01684,"15.4":0.00561,"15.6":0.05052,"16.0":0.00561,"16.1":0.01123,"16.2":0.01123,"16.3":0.01123,"16.4":0.01684,"16.5":0.01123,"16.6":0.03368,"17.0":0.00561,"17.1":0.01123,"17.2":0.01123,"17.3":0.01123,"17.4":0.07297,"17.5":0.07297,"17.6":0.23575,"18.0":0.03929},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.00714,"5.0-5.1":0.00357,"6.0-6.1":0.02141,"7.0-7.1":0.02497,"8.1-8.4":0,"9.0-9.2":0.02141,"9.3":0.06065,"10.0-10.2":0.01784,"10.3":0.10346,"11.0-11.2":0.38172,"11.3-11.4":0.02854,"12.0-12.1":0.01784,"12.2-12.5":0.43167,"13.0-13.1":0.00714,"13.2":0.13557,"13.3":0.01784,"13.4-13.7":0.07135,"14.0-14.4":0.16411,"14.5-14.8":0.21762,"15.0-15.1":0.12486,"15.2-15.3":0.1213,"15.4":0.13913,"15.5":0.17124,"15.6-15.8":1.69457,"16.0":0.34248,"16.1":0.67783,"16.2":0.33891,"16.3":0.5708,"16.4":0.1213,"16.5":0.23902,"16.6-16.7":2.04061,"17.0":0.17124,"17.1":0.27113,"17.2":0.24616,"17.3":0.35318,"17.4":0.75631,"17.5":3.63529,"17.6-17.7":19.3466,"18.0":2.44018,"18.1":0.11059},P:{"4":0.01057,"22":0.01057,"23":0.01057,"24":0.01057,"25":0.0634,"26":0.63395,_:"20 21 5.0-5.4 7.2-7.4 8.2 9.2 10.1 11.1-11.2 12.0 13.0 14.0 15.0 16.0 17.0 18.0 19.0","6.2-6.4":0.01057},I:{"0":0.01313,"3":0,"4":0,"2.1":0,"2.2":0,"2.3":0,"4.1":0,"4.2-4.3":0.00001,"4.4":0,"4.4.3-4.4.4":0.00002},K:{"0":0.17987,_:"10 11 12 11.1 11.5 12.1"},A:{"8":0.00898,"11":0.03592,_:"6 7 9 10 5.5"},N:{_:"10 11"},S:{_:"2.5 3.0-3.1"},J:{_:"7 10"},O:{"0":0.03071},H:{"0":0},L:{"0":6.99721},R:{_:"0"},M:{"0":0.21935},Q:{_:"14.9"}}; diff --git a/node_modules/caniuse-lite/data/regions/LU.js b/node_modules/caniuse-lite/data/regions/LU.js index f803d9ee6f..be7ab7734c 100644 --- a/node_modules/caniuse-lite/data/regions/LU.js +++ b/node_modules/caniuse-lite/data/regions/LU.js @@ -1 +1 @@ -module.exports={C:{"30":0.00405,"40":0.00405,"48":0.01621,"52":0.04458,"55":0.00405,"60":0.00811,"68":0.00405,"70":0.00811,"72":0.00405,"78":0.09322,"83":0.0608,"87":0.00405,"89":0.00405,"91":0.04864,"102":0.10133,"103":0.03242,"104":0.02027,"105":0.00405,"106":0.00405,"107":0.00405,"108":0.00811,"109":0.01216,"110":0.00811,"111":0.00405,"112":0.00405,"115":2.58581,"116":0.00405,"117":0.00405,"118":0.00811,"119":0.01621,"120":0.00811,"121":0.02432,"122":0.04053,"123":0.08511,"124":0.10133,"125":2.47638,"126":1.73063,"127":0.01621,_:"2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 31 32 33 34 35 36 37 38 39 41 42 43 44 45 46 47 49 50 51 53 54 56 57 58 59 61 62 63 64 65 66 67 69 71 73 74 75 76 77 79 80 81 82 84 85 86 88 90 92 93 94 95 96 97 98 99 100 101 113 114 128 129 3.5","3.6":0.00405},D:{"37":0.00405,"38":0.00405,"41":0.00405,"42":0.00405,"43":0.00405,"44":0.00811,"45":1.25643,"46":0.00811,"47":0.00405,"49":0.00405,"51":0.00811,"58":0.00405,"66":0.01621,"68":0.00405,"69":0.00811,"70":0.00405,"71":0.00405,"79":0.04458,"81":0.00405,"87":0.02027,"89":0.01621,"90":0.00811,"91":0.01621,"94":0.01216,"95":0.00811,"96":0.00405,"97":0.00405,"98":0.01621,"99":0.01621,"100":0.00405,"101":0.00405,"102":0.00811,"103":0.07295,"104":0.0608,"105":0.01216,"106":0.01216,"107":0.03242,"108":0.02837,"109":0.47825,"110":0.01216,"111":0.01621,"112":0.03242,"113":0.00405,"114":0.02837,"115":0.03648,"116":0.38098,"117":0.04053,"118":0.72143,"119":0.03648,"120":0.08106,"121":0.51068,"122":0.31208,"123":0.65659,"124":9.29353,"125":3.61933,"126":0.00811,"127":0.00811,_:"4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 39 40 48 50 52 53 54 55 56 57 59 60 61 62 63 64 65 67 72 73 74 75 76 77 78 80 83 84 85 86 88 92 93 128"},F:{"46":0.00405,"83":0.00405,"89":0.01216,"93":0.00811,"95":0.01621,"107":0.25129,"108":0.02432,"109":0.98893,"110":0.04053,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 47 48 49 50 51 52 53 54 55 56 57 58 60 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 84 85 86 87 88 90 91 92 94 96 97 98 99 100 101 102 103 104 105 106 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"17":0.00405,"92":0.00405,"100":0.00811,"105":0.00405,"108":0.00405,"109":0.06485,"110":0.01216,"112":0.00405,"113":0.00405,"114":0.00405,"115":0.00405,"118":0.00405,"119":0.03242,"120":0.0608,"121":0.04864,"122":0.15401,"123":0.14186,"124":3.14513,"125":1.62931,_:"12 13 14 15 16 18 79 80 81 83 84 85 86 87 88 89 90 91 93 94 95 96 97 98 99 101 102 103 104 106 107 111 116 117"},E:{"8":0.00405,"9":0.01621,"13":0.00405,"14":0.07295,"15":0.00811,_:"0 4 5 6 7 10 11 12 3.1 3.2 5.1 6.1 7.1 9.1 10.1 11.1 17.6","12.1":0.02027,"13.1":0.14591,"14.1":0.2067,"15.1":0.02027,"15.2-15.3":0.01216,"15.4":0.06485,"15.5":0.13375,"15.6":0.36477,"16.0":0.10133,"16.1":0.12564,"16.2":0.08106,"16.3":0.1986,"16.4":0.03648,"16.5":0.25939,"16.6":0.49041,"17.0":0.15401,"17.1":0.21076,"17.2":0.14591,"17.3":0.23507,"17.4":2.97085,"17.5":0.36072},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.00318,"5.0-5.1":0.00318,"6.0-6.1":0.00795,"7.0-7.1":0.01113,"8.1-8.4":0.00318,"9.0-9.2":0.00795,"9.3":0.03658,"10.0-10.2":0.00636,"10.3":0.05725,"11.0-11.2":0.08428,"11.3-11.4":0.0159,"12.0-12.1":0.00954,"12.2-12.5":0.23058,"13.0-13.1":0.00477,"13.2":0.02226,"13.3":0.01113,"13.4-13.7":0.05089,"14.0-14.4":0.08746,"14.5-14.8":0.13517,"15.0-15.1":0.0652,"15.2-15.3":0.07156,"15.4":0.0811,"15.5":0.10177,"15.6-15.8":0.91597,"16.0":0.20832,"16.1":0.42936,"16.2":0.20832,"16.3":0.36098,"16.4":0.07633,"16.5":0.15425,"16.6-16.7":1.22925,"17.0":0.13358,"17.1":0.21786,"17.2":0.2274,"17.3":0.41982,"17.4":9.53342,"17.5":0.67267,"17.6":0},P:{"4":0.16715,"20":0.03134,"21":0.05223,"22":0.04179,"23":0.10447,"24":0.2925,"25":3.09219,"5.0-5.4":0.01045,"6.2-6.4":0.02089,"7.2-7.4":0.01045,_:"8.2 9.2 10.1 11.1-11.2 12.0 15.0","13.0":0.01045,"14.0":0.02089,"16.0":0.01045,"17.0":0.02089,"18.0":0.01045,"19.0":0.01045},I:{"0":0.33173,"3":0,"4":0.00003,"2.1":0,"2.2":0,"2.3":0,"4.1":0.00007,"4.2-4.3":0.0002,"4.4":0,"4.4.3-4.4.4":0.00073},K:{"0":1.3797,_:"10 11 12 11.1 11.5 12.1"},A:{"6":0.00473,"7":0.00473,"8":0.05674,"9":0.01419,"10":0.00946,"11":0.04729,_:"5.5"},S:{"2.5":0.00595,_:"3.0-3.1"},J:{_:"7 10"},N:{_:"10 11"},L:{"0":34.39376},R:{_:"0"},M:{"0":0.79095},Q:{"14.9":1.39755},O:{"0":1.61164},H:{"0":0}}; +module.exports={C:{"48":0.0135,"50":0.0045,"52":0.0315,"60":0.045,"68":0.0045,"78":0.1395,"91":0.0495,"102":0.0945,"103":0.009,"104":0.009,"105":0.0045,"107":0.0045,"108":0.0855,"111":0.0045,"112":0.0045,"115":2.538,"117":0.0045,"118":0.009,"120":0.0045,"121":0.009,"122":0.0135,"123":0.0495,"124":0.009,"125":0.0675,"126":0.0225,"127":0.0405,"128":0.099,"129":0.837,"130":3.9735,"131":0.0225,_:"2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 49 51 53 54 55 56 57 58 59 61 62 63 64 65 66 67 69 70 71 72 73 74 75 76 77 79 80 81 82 83 84 85 86 87 88 89 90 92 93 94 95 96 97 98 99 100 101 106 109 110 113 114 116 119 132 133 134 135 3.5 3.6"},D:{"46":0.009,"49":0.0045,"51":0.027,"58":0.0045,"70":0.009,"72":0.0045,"79":0.0585,"80":0.0495,"86":0.009,"87":0.0405,"88":0.0045,"89":0.0585,"91":0.0135,"92":0.0045,"94":0.009,"95":0.0045,"97":0.0045,"98":0.0045,"99":0.009,"102":0.009,"103":0.189,"104":0.009,"105":0.009,"106":0.0045,"107":0.018,"108":0.072,"109":0.5895,"110":0.009,"111":0.072,"112":0.0135,"113":0.0045,"114":0.054,"115":0.009,"116":0.189,"117":0.054,"118":0.7065,"119":0.0225,"120":0.072,"121":0.09,"122":0.1845,"123":0.0945,"124":0.3195,"125":0.1395,"126":0.378,"127":0.837,"128":10.044,"129":4.4595,"130":0.0045,_:"4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 47 48 50 52 53 54 55 56 57 59 60 61 62 63 64 65 66 67 68 69 71 73 74 75 76 77 78 81 83 84 85 90 93 96 100 101 131 132 133"},F:{"46":0.0045,"84":0.018,"89":0.0405,"95":0.018,"96":0.0495,"102":0.0045,"109":0.009,"111":0.0045,"112":0.6345,"113":0.882,"114":0.009,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 47 48 49 50 51 52 53 54 55 56 57 58 60 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 85 86 87 88 90 91 92 93 94 97 98 99 100 101 103 104 105 106 107 108 110 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"92":0.0135,"106":0.0045,"108":0.0225,"109":0.054,"110":0.009,"113":0.009,"114":0.0045,"116":0.0045,"119":0.0315,"120":0.0765,"121":0.036,"122":0.027,"123":0.009,"124":0.0225,"125":0.0405,"126":0.1665,"127":0.1935,"128":4.491,"129":2.448,"130":0.0045,_:"12 13 14 15 16 17 18 79 80 81 83 84 85 86 87 88 89 90 91 93 94 95 96 97 98 99 100 101 102 103 104 105 107 111 112 115 117 118"},E:{"9":0.045,"13":0.0045,"14":0.1215,"15":0.0045,_:"0 4 5 6 7 8 10 11 12 3.1 3.2 5.1 6.1 7.1 9.1 10.1","11.1":0.0045,"12.1":0.0135,"13.1":0.0765,"14.1":0.135,"15.1":0.0225,"15.2-15.3":0.0135,"15.4":0.054,"15.5":0.0585,"15.6":0.432,"16.0":0.0495,"16.1":0.1755,"16.2":0.072,"16.3":0.144,"16.4":0.045,"16.5":0.144,"16.6":0.4635,"17.0":0.072,"17.1":0.171,"17.2":0.0945,"17.3":0.1485,"17.4":0.234,"17.5":0.8235,"17.6":2.9025,"18.0":0.5175,"18.1":0.009},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.00408,"5.0-5.1":0.00204,"6.0-6.1":0.01224,"7.0-7.1":0.01428,"8.1-8.4":0,"9.0-9.2":0.01224,"9.3":0.03468,"10.0-10.2":0.0102,"10.3":0.05916,"11.0-11.2":0.21827,"11.3-11.4":0.01632,"12.0-12.1":0.0102,"12.2-12.5":0.24683,"13.0-13.1":0.00408,"13.2":0.07752,"13.3":0.0102,"13.4-13.7":0.0408,"14.0-14.4":0.09384,"14.5-14.8":0.12444,"15.0-15.1":0.0714,"15.2-15.3":0.06936,"15.4":0.07956,"15.5":0.09792,"15.6-15.8":0.96898,"16.0":0.19584,"16.1":0.38759,"16.2":0.1938,"16.3":0.32639,"16.4":0.06936,"16.5":0.13668,"16.6-16.7":1.16685,"17.0":0.09792,"17.1":0.15504,"17.2":0.14076,"17.3":0.20196,"17.4":0.43247,"17.5":2.07871,"17.6-17.7":11.06265,"18.0":1.39533,"18.1":0.06324},P:{"4":0.09351,"20":0.01039,"21":0.02078,"22":0.02078,"23":0.07273,"24":0.1039,"25":0.24937,"26":3.28339,"5.0-5.4":0.03117,"6.2-6.4":0.02078,"7.2-7.4":0.01039,_:"8.2 9.2 10.1 11.1-11.2 12.0 15.0 16.0","13.0":0.04156,"14.0":0.01039,"17.0":0.01039,"18.0":0.02078,"19.0":0.03117},I:{"0":0.30168,"3":0,"4":0,"2.1":0,"2.2":0,"2.3":0,"4.1":0.00003,"4.2-4.3":0.00012,"4.4":0,"4.4.3-4.4.4":0.00048},K:{"0":0.715,_:"10 11 12 11.1 11.5 12.1"},A:{"8":0.00975,"9":0.00975,"11":0.039,_:"6 7 10 5.5"},N:{_:"10 11"},S:{"2.5":0.011,_:"3.0-3.1"},J:{_:"7 10"},O:{"0":0.9185},H:{"0":0},L:{"0":26.3485},R:{_:"0"},M:{"0":1.1},Q:{"14.9":0.7975}}; diff --git a/node_modules/caniuse-lite/data/regions/LV.js b/node_modules/caniuse-lite/data/regions/LV.js index 314ee2d2b2..3cef5ad261 100644 --- a/node_modules/caniuse-lite/data/regions/LV.js +++ b/node_modules/caniuse-lite/data/regions/LV.js @@ -1 +1 @@ -module.exports={C:{"16":0.04501,"48":0.01929,"52":0.02572,"68":0.01286,"72":0.01286,"78":0.00643,"88":0.00643,"93":0.00643,"102":0.03215,"103":0.00643,"108":0.00643,"109":0.01286,"110":0.01286,"112":0.00643,"113":0.00643,"114":0.00643,"115":0.76517,"118":0.01286,"119":0.00643,"121":0.01286,"122":0.03858,"123":0.02572,"124":0.07073,"125":2.08975,"126":1.70395,"127":0.03215,_:"2 3 4 5 6 7 8 9 10 11 12 13 14 15 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 49 50 51 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 69 70 71 73 74 75 76 77 79 80 81 82 83 84 85 86 87 89 90 91 92 94 95 96 97 98 99 100 101 104 105 106 107 111 116 117 120 128 129 3.5 3.6"},D:{"38":0.00643,"43":0.00643,"49":0.00643,"51":0.00643,"57":0.00643,"79":0.08359,"80":0.03215,"87":0.02572,"89":0.03215,"90":0.02572,"91":0.00643,"92":0.01286,"93":0.00643,"94":0.01286,"96":0.00643,"97":0.03215,"98":0.01929,"99":0.01286,"100":0.00643,"101":0.01286,"102":0.03858,"103":0.05787,"104":0.00643,"105":0.00643,"106":0.04501,"107":0.02572,"108":0.02572,"109":2.12833,"110":0.00643,"111":0.01286,"112":0.01286,"113":0.00643,"114":0.01286,"115":0.02572,"116":0.21219,"117":0.02572,"118":0.05144,"119":0.0643,"120":0.16075,"121":0.10288,"122":1.10596,"123":4.71962,"124":28.31772,"125":9.69644,"126":0.00643,_:"4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 39 40 41 42 44 45 46 47 48 50 52 53 54 55 56 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 81 83 84 85 86 88 95 127 128"},F:{"79":0.00643,"85":0.00643,"94":0.00643,"95":0.15432,"103":0.00643,"104":0.01286,"106":0.00643,"107":0.39223,"108":0.1286,"109":1.69109,"110":0.10288,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 60 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 80 81 82 83 84 86 87 88 89 90 91 92 93 96 97 98 99 100 101 102 105 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"88":0.00643,"92":0.00643,"97":0.01929,"105":0.00643,"108":0.00643,"109":0.03858,"111":0.00643,"114":0.01286,"118":0.00643,"119":0.01929,"120":0.02572,"121":0.01286,"122":0.02572,"123":0.21862,"124":3.89015,"125":2.14762,_:"12 13 14 15 16 17 18 79 80 81 83 84 85 86 87 89 90 91 93 94 95 96 98 99 100 101 102 103 104 106 107 110 112 113 115 116 117"},E:{"9":0.00643,"14":0.01286,"15":0.00643,_:"0 4 5 6 7 8 10 11 12 13 3.1 3.2 5.1 6.1 7.1 9.1 10.1 11.1 17.6","12.1":0.01286,"13.1":0.03215,"14.1":0.05144,"15.1":0.00643,"15.2-15.3":0.00643,"15.4":0.01286,"15.5":0.01286,"15.6":0.14789,"16.0":0.00643,"16.1":0.01929,"16.2":0.02572,"16.3":0.03215,"16.4":0.03215,"16.5":0.01929,"16.6":0.14789,"17.0":0.03215,"17.1":0.05787,"17.2":0.04501,"17.3":0.0643,"17.4":0.77803,"17.5":0.17361},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.00172,"5.0-5.1":0.00172,"6.0-6.1":0.0043,"7.0-7.1":0.00602,"8.1-8.4":0.00172,"9.0-9.2":0.0043,"9.3":0.01976,"10.0-10.2":0.00344,"10.3":0.03093,"11.0-11.2":0.04554,"11.3-11.4":0.00859,"12.0-12.1":0.00516,"12.2-12.5":0.1246,"13.0-13.1":0.00258,"13.2":0.01203,"13.3":0.00602,"13.4-13.7":0.0275,"14.0-14.4":0.04726,"14.5-14.8":0.07304,"15.0-15.1":0.03523,"15.2-15.3":0.03867,"15.4":0.04382,"15.5":0.055,"15.6-15.8":0.49496,"16.0":0.11257,"16.1":0.23201,"16.2":0.11257,"16.3":0.19506,"16.4":0.04125,"16.5":0.08335,"16.6-16.7":0.66424,"17.0":0.07218,"17.1":0.11772,"17.2":0.12288,"17.3":0.22685,"17.4":5.1515,"17.5":0.36348,"17.6":0},P:{"4":0.01041,"20":0.01041,"21":0.03124,"22":0.03124,"23":0.11455,"24":0.34365,"25":2.40553,_:"5.0-5.4 7.2-7.4 8.2 9.2 10.1 11.1-11.2 12.0 14.0 15.0 16.0 18.0","6.2-6.4":0.02083,"13.0":0.01041,"17.0":0.01041,"19.0":0.02083},I:{"0":0.07112,"3":0,"4":0.00001,"2.1":0,"2.2":0,"2.3":0,"4.1":0.00001,"4.2-4.3":0.00004,"4.4":0,"4.4.3-4.4.4":0.00016},K:{"0":0.28203,_:"10 11 12 11.1 11.5 12.1"},A:{"8":0.04026,"9":0.00671,"10":0.00671,"11":0.10064,_:"6 7 5.5"},S:{_:"2.5 3.0-3.1"},J:{_:"7 10"},N:{_:"10 11"},L:{"0":23.63382},R:{_:"0"},M:{"0":0.33915},Q:{"14.9":0.00357},O:{"0":0.06069},H:{"0":0}}; +module.exports={C:{"16":0.0364,"48":0.01456,"52":0.01456,"68":0.0364,"78":0.00728,"88":0.00728,"90":0.00728,"99":0.00728,"102":0.02184,"103":0.01456,"109":0.00728,"110":0.02184,"114":0.00728,"115":0.546,"117":0.00728,"118":0.02912,"119":0.00728,"120":0.00728,"121":0.0364,"122":0.00728,"124":0.01456,"125":0.02184,"126":0.02184,"127":0.02912,"128":0.0728,"129":0.57512,"130":3.37064,"131":0.02184,_:"2 3 4 5 6 7 8 9 10 11 12 13 14 15 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 49 50 51 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 69 70 71 72 73 74 75 76 77 79 80 81 82 83 84 85 86 87 89 91 92 93 94 95 96 97 98 100 101 104 105 106 107 108 111 112 113 116 123 132 133 134 135 3.5 3.6"},D:{"49":0.00728,"51":0.00728,"58":0.01456,"79":0.05824,"80":0.00728,"87":0.01456,"90":0.02912,"92":0.00728,"94":0.00728,"96":0.00728,"97":0.01456,"99":0.00728,"102":0.02184,"103":0.13104,"104":0.02184,"105":0.00728,"106":0.0364,"107":0.01456,"108":0.01456,"109":1.81272,"110":0.00728,"111":0.00728,"112":0.00728,"113":0.00728,"114":0.02912,"115":0.02184,"116":0.33488,"117":0.01456,"118":0.01456,"119":0.05096,"120":0.05096,"121":0.09464,"122":0.28392,"123":0.77168,"124":0.26208,"125":0.23296,"126":1.57248,"127":4.57912,"128":35.11872,"129":9.23104,"130":0.0364,"131":0.00728,_:"4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 50 52 53 54 55 56 57 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 81 83 84 85 86 88 89 91 93 95 98 100 101 132 133"},F:{"81":0.00728,"83":0.00728,"84":0.01456,"89":0.00728,"95":0.12376,"109":0.01456,"111":0.00728,"112":1.52152,"113":0.85904,"114":0.02912,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 60 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 82 85 86 87 88 90 91 92 93 94 96 97 98 99 100 101 102 103 104 105 106 107 108 110 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"92":0.00728,"100":0.00728,"103":0.02184,"106":0.00728,"109":0.01456,"111":0.02184,"120":0.01456,"121":0.02912,"122":0.17472,"124":0.00728,"125":0.06552,"126":0.0728,"127":0.23296,"128":4.89944,"129":2.00928,_:"12 13 14 15 16 17 18 79 80 81 83 84 85 86 87 88 89 90 91 93 94 95 96 97 98 99 101 102 104 105 107 108 110 112 113 114 115 116 117 118 119 123 130"},E:{"9":0.01456,"13":0.00728,"14":0.00728,_:"0 4 5 6 7 8 10 11 12 15 3.1 3.2 5.1 6.1 7.1 9.1 10.1 11.1 15.1","12.1":0.01456,"13.1":0.02184,"14.1":0.02184,"15.2-15.3":0.00728,"15.4":0.00728,"15.5":0.00728,"15.6":0.09464,"16.0":0.00728,"16.1":0.02184,"16.2":0.00728,"16.3":0.0364,"16.4":0.02912,"16.5":0.01456,"16.6":0.1092,"17.0":0.01456,"17.1":0.02184,"17.2":0.01456,"17.3":0.16016,"17.4":0.0728,"17.5":0.16016,"17.6":0.68432,"18.0":0.1456,"18.1":0.01456},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.00137,"5.0-5.1":0.00068,"6.0-6.1":0.0041,"7.0-7.1":0.00478,"8.1-8.4":0,"9.0-9.2":0.0041,"9.3":0.01161,"10.0-10.2":0.00341,"10.3":0.01981,"11.0-11.2":0.07308,"11.3-11.4":0.00546,"12.0-12.1":0.00341,"12.2-12.5":0.08264,"13.0-13.1":0.00137,"13.2":0.02595,"13.3":0.00341,"13.4-13.7":0.01366,"14.0-14.4":0.03142,"14.5-14.8":0.04166,"15.0-15.1":0.0239,"15.2-15.3":0.02322,"15.4":0.02664,"15.5":0.03278,"15.6-15.8":0.32441,"16.0":0.06557,"16.1":0.12976,"16.2":0.06488,"16.3":0.10928,"16.4":0.02322,"16.5":0.04576,"16.6-16.7":0.39066,"17.0":0.03278,"17.1":0.05191,"17.2":0.04712,"17.3":0.06761,"17.4":0.14479,"17.5":0.69595,"17.6-17.7":3.70375,"18.0":0.46715,"18.1":0.02117},P:{"20":0.0105,"21":0.0105,"22":0.021,"23":0.021,"24":0.042,"25":0.20998,"26":1.80584,_:"4 6.2-6.4 7.2-7.4 8.2 9.2 10.1 11.1-11.2 12.0 13.0 14.0 15.0 16.0 18.0","5.0-5.4":0.0105,"17.0":0.0105,"19.0":0.0105},I:{"0":0.06513,"3":0,"4":0,"2.1":0,"2.2":0,"2.3":0,"4.1":0.00001,"4.2-4.3":0.00003,"4.4":0,"4.4.3-4.4.4":0.0001},K:{"0":0.21496,_:"10 11 12 11.1 11.5 12.1"},A:{"8":0.02352,"11":0.0784,_:"6 7 9 10 5.5"},N:{_:"10 11"},S:{"2.5":0.00272,_:"3.0-3.1"},J:{_:"7 10"},O:{"0":0.03537},H:{"0":0},L:{"0":17.72868},R:{_:"0"},M:{"0":0.3238},Q:{"14.9":0.00272}}; diff --git a/node_modules/caniuse-lite/data/regions/LY.js b/node_modules/caniuse-lite/data/regions/LY.js index 8ae6be818c..e9ad43e987 100644 --- a/node_modules/caniuse-lite/data/regions/LY.js +++ b/node_modules/caniuse-lite/data/regions/LY.js @@ -1 +1 @@ -module.exports={C:{"27":0.00062,"34":0.00186,"45":0.00062,"47":0.00124,"49":0.00124,"52":0.00062,"56":0.00062,"72":0.00186,"88":0.00186,"99":0.00062,"102":0.00248,"103":0.00744,"109":0.00062,"110":0.00062,"111":0.00062,"114":0.00062,"115":0.06696,"118":0.00124,"120":0.00062,"121":0.00124,"122":0.00062,"123":0.00186,"124":0.00248,"125":0.0806,"126":0.06572,"127":0.00124,_:"2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 28 29 30 31 32 33 35 36 37 38 39 40 41 42 43 44 46 48 50 51 53 54 55 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 89 90 91 92 93 94 95 96 97 98 100 101 104 105 106 107 108 112 113 116 117 119 128 129 3.5 3.6"},D:{"11":0.00496,"19":0.00124,"26":0.00062,"29":0.00062,"31":0.00124,"32":0.00062,"33":0.00248,"34":0.00062,"37":0.00062,"38":0.00124,"39":0.00062,"41":0.00062,"43":0.00124,"47":0.00062,"48":0.00062,"49":0.00248,"51":0.00062,"52":0.00062,"54":0.00186,"55":0.00186,"56":0.00062,"57":0.00062,"58":0.15066,"60":0.00434,"61":0.00062,"63":0.00558,"64":0.00186,"65":0.00062,"66":0.00124,"67":0.00062,"68":0.00248,"69":0.00248,"70":0.0062,"71":0.00248,"72":0.00124,"73":0.00124,"74":0.00124,"75":0.00124,"76":0.00062,"77":0.00062,"78":0.00558,"79":0.00868,"80":0.00124,"81":0.00124,"83":0.00806,"84":0.00062,"85":0.00124,"86":0.0062,"87":0.01178,"88":0.00124,"89":0.0093,"90":0.00434,"91":0.00372,"92":0.00496,"93":0.00496,"94":0.00248,"95":0.00248,"96":0.00496,"97":0.00248,"98":0.00744,"99":0.0093,"100":0.00186,"101":0.00062,"102":0.01054,"103":0.01426,"104":0.01736,"105":0.0031,"106":0.00744,"107":0.00248,"108":0.0031,"109":0.6665,"110":0.00186,"111":0.0031,"112":0.0031,"113":0.00062,"114":0.00372,"115":0.00186,"116":0.01798,"117":0.00558,"118":0.0031,"119":0.01488,"120":0.03286,"121":0.01736,"122":0.03224,"123":0.09796,"124":1.73352,"125":0.66588,"126":0.00062,_:"4 5 6 7 8 9 10 12 13 14 15 16 17 18 20 21 22 23 24 25 27 28 30 35 36 40 42 44 45 46 50 53 59 62 127 128"},F:{"28":0.00062,"46":0.00186,"79":0.00372,"80":0.00124,"82":0.0031,"83":0.00248,"84":0.00062,"85":0.00124,"86":0.00062,"94":0.00062,"95":0.02108,"96":0.00062,"105":0.00062,"107":0.02728,"108":0.00186,"109":0.17794,"110":0.01116,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 47 48 49 50 51 52 53 54 55 56 57 58 60 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 81 87 88 89 90 91 92 93 97 98 99 100 101 102 103 104 106 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.6 12.1","11.5":0.00062},B:{"12":0.00062,"14":0.00062,"15":0.00062,"16":0.00062,"17":0.00062,"18":0.00496,"84":0.00062,"85":0.00062,"89":0.00124,"90":0.00062,"92":0.0124,"94":0.00186,"100":0.00186,"102":0.00062,"109":0.0124,"111":0.00062,"112":0.00062,"114":0.00062,"115":0.00062,"116":0.00062,"117":0.00062,"118":0.00062,"119":0.00248,"120":0.00434,"121":0.00496,"122":0.00992,"123":0.02666,"124":0.33232,"125":0.19964,_:"13 79 80 81 83 86 87 88 91 93 95 96 97 98 99 101 103 104 105 106 107 108 110 113"},E:{"13":0.00062,"14":0.00124,_:"0 4 5 6 7 8 9 10 11 12 15 3.1 3.2 6.1 7.1 9.1 10.1 11.1 12.1 17.6","5.1":0.00186,"13.1":0.0031,"14.1":0.0031,"15.1":0.00124,"15.2-15.3":0.00062,"15.4":0.0031,"15.5":0.00124,"15.6":0.01736,"16.0":0.00124,"16.1":0.00868,"16.2":0.0186,"16.3":0.00372,"16.4":0.02542,"16.5":0.0031,"16.6":0.01116,"17.0":0.00434,"17.1":0.00248,"17.2":0.00372,"17.3":0.0062,"17.4":0.05704,"17.5":0.01364},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.0023,"5.0-5.1":0.0023,"6.0-6.1":0.00575,"7.0-7.1":0.00805,"8.1-8.4":0.0023,"9.0-9.2":0.00575,"9.3":0.02645,"10.0-10.2":0.0046,"10.3":0.0414,"11.0-11.2":0.06095,"11.3-11.4":0.0115,"12.0-12.1":0.0069,"12.2-12.5":0.16675,"13.0-13.1":0.00345,"13.2":0.0161,"13.3":0.00805,"13.4-13.7":0.0368,"14.0-14.4":0.06325,"14.5-14.8":0.09775,"15.0-15.1":0.04715,"15.2-15.3":0.05175,"15.4":0.05865,"15.5":0.0736,"15.6-15.8":0.66239,"16.0":0.15065,"16.1":0.3105,"16.2":0.15065,"16.3":0.26105,"16.4":0.0552,"16.5":0.11155,"16.6-16.7":0.88894,"17.0":0.0966,"17.1":0.15755,"17.2":0.16445,"17.3":0.3036,"17.4":6.89418,"17.5":0.48644,"17.6":0},P:{"4":0.21253,"20":0.07084,"21":0.2935,"22":0.4453,"23":0.59711,"24":0.7894,"25":1.75085,"5.0-5.4":0.01012,"6.2-6.4":0.08096,"7.2-7.4":0.85012,"8.2":0.01012,"9.2":0.03036,"10.1":0.01012,"11.1-11.2":0.10121,"12.0":0.03036,"13.0":0.0506,"14.0":0.08096,"15.0":0.0506,"16.0":0.24289,"17.0":0.09108,"18.0":0.07084,"19.0":0.27325},I:{"0":0.15884,"3":0,"4":0.00002,"2.1":0,"2.2":0,"2.3":0,"4.1":0.00003,"4.2-4.3":0.0001,"4.4":0,"4.4.3-4.4.4":0.00035},K:{"0":7.08632,_:"10 11 12 11.1 11.5 12.1"},A:{"8":0.00066,"9":0.00131,"11":0.00919,_:"6 7 10 5.5"},S:{_:"2.5 3.0-3.1"},J:{_:"7 10"},N:{_:"10 11"},L:{"0":69.16954},R:{_:"0"},M:{"0":0.08442},Q:{_:"14.9"},O:{"0":0.41272},H:{"0":0.08}}; +module.exports={C:{"7":0.00125,"34":0.00125,"47":0.00125,"52":0.03383,"72":0.00125,"80":0.00125,"85":0.00125,"88":0.00125,"101":0.00251,"102":0.00125,"103":0.01629,"104":0.00125,"112":0.00125,"115":0.13658,"121":0.00376,"123":0.00125,"124":0.00125,"126":0.00125,"127":0.00501,"128":0.00251,"129":0.08019,"130":0.23431,"131":0.00501,_:"2 3 4 5 6 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 35 36 37 38 39 40 41 42 43 44 45 46 48 49 50 51 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 73 74 75 76 77 78 79 81 82 83 84 86 87 89 90 91 92 93 94 95 96 97 98 99 100 105 106 107 108 109 110 111 113 114 116 117 118 119 120 122 125 132 133 134 135 3.5 3.6"},D:{"11":0.01002,"29":0.00125,"43":0.00501,"47":0.01002,"49":0.00251,"53":0.00125,"56":0.00125,"58":0.13783,"60":0.00125,"61":0.00125,"62":0.00125,"63":0.00501,"65":0.00125,"68":0.00125,"69":0.00251,"70":0.01002,"71":0.00501,"72":0.00125,"73":0.00376,"74":0.00627,"75":0.00376,"76":0.00125,"77":0.00125,"78":0.00501,"79":0.03007,"80":0.00125,"81":0.00125,"83":0.00752,"85":0.00376,"86":0.00877,"87":0.0188,"88":0.00376,"89":0.00376,"90":0.00501,"91":0.01378,"92":0.02381,"93":0.00376,"94":0.00627,"95":0.00501,"96":0.00251,"97":0.00125,"98":0.01504,"99":0.01253,"100":0.00501,"101":0.00501,"102":0.01128,"103":0.03508,"104":0.03508,"105":0.00251,"106":0.00501,"107":0.00627,"108":0.00752,"109":1.35951,"110":0.00627,"111":0.00752,"112":0.00251,"114":0.00376,"115":0.00376,"116":0.05263,"117":0.01128,"118":0.01504,"119":0.01253,"120":0.05012,"121":0.00752,"122":0.01504,"123":0.0401,"124":0.10776,"125":0.02255,"126":0.07393,"127":0.23306,"128":3.70387,"129":1.42967,_:"4 5 6 7 8 9 10 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 30 31 32 33 34 35 36 37 38 39 40 41 42 44 45 46 48 50 51 52 54 55 57 59 64 66 67 84 113 130 131 132 133"},F:{"46":0.00501,"73":0.00125,"79":0.00877,"82":0.00125,"83":0.00251,"84":0.03007,"85":0.00627,"95":0.0401,"107":0.06892,"109":0.00376,"111":0.00376,"112":0.3145,"113":0.26313,"114":0.00752,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 47 48 49 50 51 52 53 54 55 56 57 58 60 62 63 64 65 66 67 68 69 70 71 72 74 75 76 77 78 80 81 86 87 88 89 90 91 92 93 94 96 97 98 99 100 101 102 103 104 105 106 108 110 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"12":0.00125,"14":0.00125,"16":0.00125,"17":0.00752,"18":0.02631,"84":0.00251,"87":0.00125,"89":0.00376,"90":0.00125,"92":0.02506,"100":0.00376,"106":0.00125,"107":0.00251,"109":0.02381,"113":0.00125,"114":0.00251,"119":0.00251,"120":0.00376,"121":0.00251,"122":0.00251,"123":0.00125,"124":0.00251,"125":0.01002,"126":0.02757,"127":0.06641,"128":1.24298,"129":0.56134,_:"13 15 79 80 81 83 85 86 88 91 93 94 95 96 97 98 99 101 102 103 104 105 108 110 111 112 115 116 117 118 130"},E:{"13":0.00125,"14":0.00251,_:"0 4 5 6 7 8 9 10 11 12 15 3.1 3.2 6.1 7.1 9.1 10.1 11.1 12.1 15.2-15.3 15.5 16.0","5.1":0.00376,"13.1":0.00251,"14.1":0.00752,"15.1":0.00125,"15.4":0.00251,"15.6":0.02631,"16.1":0.01378,"16.2":0.00125,"16.3":0.00627,"16.4":0.00251,"16.5":0.02255,"16.6":0.01754,"17.0":0.00125,"17.1":0.00251,"17.2":0.00125,"17.3":0.00501,"17.4":0.01128,"17.5":0.07142,"17.6":0.09648,"18.0":0.03007,"18.1":0.01253},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.00242,"5.0-5.1":0.00121,"6.0-6.1":0.00727,"7.0-7.1":0.00848,"8.1-8.4":0,"9.0-9.2":0.00727,"9.3":0.02059,"10.0-10.2":0.00606,"10.3":0.03513,"11.0-11.2":0.12963,"11.3-11.4":0.00969,"12.0-12.1":0.00606,"12.2-12.5":0.14659,"13.0-13.1":0.00242,"13.2":0.04604,"13.3":0.00606,"13.4-13.7":0.02423,"14.0-14.4":0.05573,"14.5-14.8":0.0739,"15.0-15.1":0.0424,"15.2-15.3":0.04119,"15.4":0.04725,"15.5":0.05815,"15.6-15.8":0.57544,"16.0":0.1163,"16.1":0.23018,"16.2":0.11509,"16.3":0.19383,"16.4":0.04119,"16.5":0.08117,"16.6-16.7":0.69295,"17.0":0.05815,"17.1":0.09207,"17.2":0.08359,"17.3":0.11993,"17.4":0.25683,"17.5":1.23448,"17.6-17.7":6.56974,"18.0":0.82864,"18.1":0.03756},P:{"4":0.061,"20":0.05083,"21":0.13216,"22":0.33549,"23":0.25416,"24":0.34566,"25":0.49816,"26":1.68763,"5.0-5.4":0.01017,"6.2-6.4":0.08133,"7.2-7.4":0.58966,_:"8.2","9.2":0.0305,"10.1":0.0305,"11.1-11.2":0.061,"12.0":0.01017,"13.0":0.08133,"14.0":0.05083,"15.0":0.02033,"16.0":0.08133,"17.0":0.05083,"18.0":0.04067,"19.0":0.122},I:{"0":0.07851,"3":0,"4":0,"2.1":0,"2.2":0,"2.3":0,"4.1":0.00001,"4.2-4.3":0.00003,"4.4":0,"4.4.3-4.4.4":0.00013},K:{"0":7.73734,_:"10 11 12 11.1 11.5 12.1"},A:{"8":0.00301,"9":0.00301,"11":0.00902,_:"6 7 10 5.5"},N:{_:"10 11"},S:{_:"2.5 3.0-3.1"},J:{_:"7 10"},O:{"0":0.51607},H:{"0":0.03},L:{"0":63.18757},R:{_:"0"},M:{"0":0.09622},Q:{_:"14.9"}}; diff --git a/node_modules/caniuse-lite/data/regions/MA.js b/node_modules/caniuse-lite/data/regions/MA.js index b52dbc5946..22536b2c27 100644 --- a/node_modules/caniuse-lite/data/regions/MA.js +++ b/node_modules/caniuse-lite/data/regions/MA.js @@ -1 +1 @@ -module.exports={C:{"52":0.06543,"64":0.00385,"65":0.03079,"72":0.00385,"76":0.00385,"78":0.0077,"82":0.00385,"88":0.00385,"93":0.00385,"94":0.00385,"99":0.00385,"102":0.0077,"103":0.0154,"105":0.00385,"106":0.00385,"107":0.00385,"108":0.00385,"109":0.00385,"110":0.00385,"111":0.0077,"113":0.00385,"115":0.33486,"117":0.00385,"118":0.0077,"119":0.0077,"121":0.0077,"122":0.01155,"123":0.01925,"124":0.04234,"125":0.80444,"126":0.65433,"127":0.02694,_:"2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 53 54 55 56 57 58 59 60 61 62 63 66 67 68 69 70 71 73 74 75 77 79 80 81 83 84 85 86 87 89 90 91 92 95 96 97 98 100 101 104 112 114 116 120 128 129 3.5 3.6"},D:{"11":0.00385,"29":0.00385,"38":0.00385,"41":0.00385,"42":0.00385,"43":0.0077,"47":0.00385,"49":0.03079,"50":0.00385,"56":0.0154,"58":0.16166,"59":0.00385,"63":0.00385,"64":0.00385,"65":0.0077,"66":0.00385,"67":1.55115,"68":0.01155,"69":0.0077,"70":0.01155,"71":0.00385,"72":0.01925,"73":0.0154,"74":0.00385,"75":0.0077,"76":0.00385,"77":0.00385,"78":0.00385,"79":0.05774,"80":0.00385,"81":0.0077,"83":0.03849,"84":0.0077,"85":0.02309,"86":0.01155,"87":0.05774,"88":0.01155,"89":0.0077,"90":0.0077,"91":0.01925,"92":0.0077,"93":0.01155,"94":0.0154,"95":0.01155,"96":0.12317,"97":0.0077,"98":0.01155,"99":0.12317,"100":0.0077,"101":0.01925,"102":0.02694,"103":0.05004,"104":0.03464,"105":0.01925,"106":0.05004,"107":0.05004,"108":0.06928,"109":2.79053,"110":0.05774,"111":0.04619,"112":0.04619,"113":0.01155,"114":0.0154,"115":0.02694,"116":0.17321,"117":0.0154,"118":0.02309,"119":0.11932,"120":0.15396,"121":0.11547,"122":0.27713,"123":0.83523,"124":14.84174,"125":5.80814,"126":0.03079,"127":0.00385,_:"4 5 6 7 8 9 10 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 30 31 32 33 34 35 36 37 39 40 44 45 46 48 51 52 53 54 55 57 60 61 62 128"},F:{"28":0.00385,"40":0.00385,"46":0.00385,"79":0.00385,"85":0.0077,"91":0.00385,"93":0.00385,"94":0.00385,"95":0.06158,"102":0.00385,"105":0.00385,"106":0.0077,"107":0.26943,"108":0.02694,"109":1.35485,"110":0.10007,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 29 30 31 32 33 34 35 36 37 38 39 41 42 43 44 45 47 48 49 50 51 52 53 54 55 56 57 58 60 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 80 81 82 83 84 86 87 88 89 90 92 96 97 98 99 100 101 103 104 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"18":0.0077,"92":0.03464,"100":0.00385,"103":0.00385,"106":0.00385,"107":0.0077,"108":0.0077,"109":0.04234,"110":0.0077,"111":0.00385,"114":0.00385,"116":0.00385,"117":0.0077,"118":0.00385,"119":0.0077,"120":0.0154,"121":0.01925,"122":0.03849,"123":0.10777,"124":2.42487,"125":1.22013,_:"12 13 14 15 16 17 79 80 81 83 84 85 86 87 88 89 90 91 93 94 95 96 97 98 99 101 102 104 105 112 113 115"},E:{"14":0.07698,_:"0 4 5 6 7 8 9 10 11 12 13 15 3.1 3.2 5.1 6.1 7.1 9.1 10.1 17.6","11.1":0.00385,"12.1":0.00385,"13.1":0.02309,"14.1":0.05774,"15.1":0.02309,"15.2-15.3":0.0077,"15.4":0.00385,"15.5":0.0077,"15.6":0.09623,"16.0":0.00385,"16.1":0.0077,"16.2":0.0077,"16.3":0.0154,"16.4":0.01155,"16.5":0.0154,"16.6":0.07698,"17.0":0.01155,"17.1":0.02309,"17.2":0.03079,"17.3":0.03079,"17.4":0.26173,"17.5":0.04619},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.00139,"5.0-5.1":0.00139,"6.0-6.1":0.00348,"7.0-7.1":0.00487,"8.1-8.4":0.00139,"9.0-9.2":0.00348,"9.3":0.016,"10.0-10.2":0.00278,"10.3":0.02504,"11.0-11.2":0.03687,"11.3-11.4":0.00696,"12.0-12.1":0.00417,"12.2-12.5":0.10087,"13.0-13.1":0.00209,"13.2":0.00974,"13.3":0.00487,"13.4-13.7":0.02226,"14.0-14.4":0.03826,"14.5-14.8":0.05913,"15.0-15.1":0.02852,"15.2-15.3":0.03131,"15.4":0.03548,"15.5":0.04452,"15.6-15.8":0.40071,"16.0":0.09113,"16.1":0.18783,"16.2":0.09113,"16.3":0.15792,"16.4":0.03339,"16.5":0.06748,"16.6-16.7":0.53776,"17.0":0.05844,"17.1":0.09531,"17.2":0.09948,"17.3":0.18366,"17.4":4.17059,"17.5":0.29427,"17.6":0},P:{"4":0.38069,"20":0.03087,"21":0.10289,"22":0.07202,"23":0.14405,"24":0.24693,"25":1.72854,"5.0-5.4":0.06173,"6.2-6.4":0.05144,"7.2-7.4":0.28809,_:"8.2 10.1","9.2":0.01029,"11.1-11.2":0.02058,"12.0":0.01029,"13.0":0.04116,"14.0":0.02058,"15.0":0.01029,"16.0":0.02058,"17.0":0.04116,"18.0":0.02058,"19.0":0.0926},I:{"0":0.59432,"3":0,"4":0.00006,"2.1":0,"2.2":0,"2.3":0,"4.1":0.00012,"4.2-4.3":0.00036,"4.4":0,"4.4.3-4.4.4":0.00131},K:{"0":0.45133,_:"10 11 12 11.1 11.5 12.1"},A:{"8":0.02929,"9":0.00837,"10":0.00837,"11":0.14643,_:"6 7 5.5"},S:{"2.5":0.00615,_:"3.0-3.1"},J:{_:"7 10"},N:{_:"10 11"},L:{"0":50.56938},R:{_:"0"},M:{"0":0.16608},Q:{_:"14.9"},O:{"0":0.12302},H:{"0":0.01}}; +module.exports={C:{"50":0.00371,"52":0.10009,"55":0.00371,"65":0.01483,"68":0.00371,"72":0.00371,"78":0.01112,"82":0.00371,"84":0.00371,"93":0.00741,"94":0.00371,"99":0.00371,"102":0.00741,"103":0.01854,"105":0.00371,"106":0.00371,"107":0.00371,"108":0.00371,"109":0.00741,"110":0.01854,"111":0.00371,"113":0.00371,"114":0.00371,"115":0.45596,"118":0.00371,"122":0.00371,"123":0.00371,"124":0.01112,"125":0.02595,"126":0.00741,"127":0.03336,"128":0.02224,"129":0.27803,"130":1.164,"131":0.01112,_:"2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 51 53 54 56 57 58 59 60 61 62 63 64 66 67 69 70 71 73 74 75 76 77 79 80 81 83 85 86 87 88 89 90 91 92 95 96 97 98 100 101 104 112 116 117 119 120 121 132 133 134 135 3.5 3.6"},D:{"11":0.00741,"29":0.00371,"34":0.00371,"38":0.00371,"41":0.00371,"48":0.00371,"49":0.01854,"50":0.00371,"55":0.00371,"56":0.03336,"58":0.06302,"63":0.00371,"65":0.00741,"66":0.00741,"67":0.00371,"68":0.01112,"69":0.00741,"70":0.00741,"71":0.00371,"72":0.01112,"73":0.02224,"74":0.00371,"75":0.01112,"76":0.00371,"77":0.00371,"78":0.00371,"79":0.15569,"80":0.01112,"81":0.00741,"83":0.1594,"84":0.00741,"85":0.01483,"86":0.01854,"87":0.14457,"88":0.02966,"89":0.00371,"90":0.00371,"91":0.01483,"92":0.00741,"93":0.01112,"94":0.06302,"95":0.01854,"96":0.02595,"97":0.00741,"98":0.01854,"99":0.01112,"100":0.00741,"101":0.01112,"102":0.01112,"103":0.05931,"104":0.04078,"105":0.01854,"106":0.0519,"107":0.0519,"108":0.06302,"109":2.87293,"110":0.07785,"111":0.02966,"112":0.03336,"113":0.01854,"114":0.02224,"115":0.00741,"116":0.14457,"117":0.00741,"118":0.02595,"119":0.08897,"120":0.07785,"121":0.04448,"122":0.10009,"123":0.13345,"124":0.27432,"125":0.12975,"126":0.32251,"127":0.88227,"128":14.99852,"129":5.453,"130":0.01483,"131":0.00371,_:"4 5 6 7 8 9 10 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 30 31 32 33 35 36 37 39 40 42 43 44 45 46 47 51 52 53 54 57 59 60 61 62 64 132 133"},F:{"28":0.00371,"40":0.00371,"46":0.00371,"56":0.0519,"79":0.00371,"83":0.00371,"84":0.01112,"85":0.00741,"86":0.00371,"91":0.00371,"93":0.00371,"95":0.08897,"102":0.00741,"105":0.00371,"107":0.00371,"108":0.01112,"109":0.02224,"110":0.00371,"111":0.00741,"112":1.0083,"113":0.70433,"114":0.01854,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 29 30 31 32 33 34 35 36 37 38 39 41 42 43 44 45 47 48 49 50 51 52 53 54 55 57 58 60 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 80 81 82 87 88 89 90 92 94 96 97 98 99 100 101 103 104 106 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"17":0.00371,"18":0.01112,"85":0.00371,"89":0.00371,"92":0.03336,"100":0.00741,"103":0.00371,"106":0.00371,"107":0.00741,"108":0.00741,"109":0.03707,"110":0.00371,"111":0.00741,"114":0.00371,"117":0.00741,"118":0.00371,"120":0.00741,"121":0.01112,"122":0.00741,"123":0.00371,"124":0.01112,"125":0.02966,"126":0.0519,"127":0.08897,"128":2.02773,"129":0.86373,_:"12 13 14 15 16 79 80 81 83 84 86 87 88 90 91 93 94 95 96 97 98 99 101 102 104 105 112 113 115 116 119 130"},E:{"14":0.01112,_:"0 4 5 6 7 8 9 10 11 12 13 15 3.1 3.2 5.1 6.1 7.1 9.1 10.1 11.1","12.1":0.00371,"13.1":0.03336,"14.1":0.04448,"15.1":0.00741,"15.2-15.3":0.00371,"15.4":0.00371,"15.5":0.00741,"15.6":0.11492,"16.0":0.01112,"16.1":0.01112,"16.2":0.00741,"16.3":0.01483,"16.4":0.01112,"16.5":0.00741,"16.6":0.07414,"17.0":0.00741,"17.1":0.01483,"17.2":0.01854,"17.3":0.01854,"17.4":0.11862,"17.5":0.10009,"17.6":0.2113,"18.0":0.05931,"18.1":0.00371},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.00145,"5.0-5.1":0.00072,"6.0-6.1":0.00434,"7.0-7.1":0.00507,"8.1-8.4":0,"9.0-9.2":0.00434,"9.3":0.0123,"10.0-10.2":0.00362,"10.3":0.02098,"11.0-11.2":0.07742,"11.3-11.4":0.00579,"12.0-12.1":0.00362,"12.2-12.5":0.08755,"13.0-13.1":0.00145,"13.2":0.0275,"13.3":0.00362,"13.4-13.7":0.01447,"14.0-14.4":0.03328,"14.5-14.8":0.04414,"15.0-15.1":0.02533,"15.2-15.3":0.0246,"15.4":0.02822,"15.5":0.03473,"15.6-15.8":0.3437,"16.0":0.06946,"16.1":0.13748,"16.2":0.06874,"16.3":0.11577,"16.4":0.0246,"16.5":0.04848,"16.6-16.7":0.41389,"17.0":0.03473,"17.1":0.05499,"17.2":0.04993,"17.3":0.07163,"17.4":0.1534,"17.5":0.73733,"17.6-17.7":3.92397,"18.0":0.49493,"18.1":0.02243},P:{"4":0.21476,"20":0.03068,"21":0.08182,"22":0.10227,"23":0.08182,"24":0.07159,"25":0.28635,"26":1.85106,"5.0-5.4":0.04091,"6.2-6.4":0.19431,"7.2-7.4":0.21476,_:"8.2 10.1","9.2":0.01023,"11.1-11.2":0.01023,"12.0":0.01023,"13.0":0.04091,"14.0":0.02045,"15.0":0.01023,"16.0":0.02045,"17.0":0.04091,"18.0":0.01023,"19.0":0.03068},I:{"0":0.37023,"3":0,"4":0,"2.1":0,"2.2":0,"2.3":0,"4.1":0.00004,"4.2-4.3":0.00015,"4.4":0,"4.4.3-4.4.4":0.00059},K:{"0":0.34235,_:"10 11 12 11.1 11.5 12.1"},A:{"8":0.02551,"9":0.0085,"10":0.0085,"11":0.10205,_:"6 7 5.5"},N:{_:"10 11"},S:{_:"2.5 3.0-3.1"},J:{_:"7 10"},O:{"0":0.09438},H:{"0":0.01},L:{"0":52.29357},R:{_:"0"},M:{"0":0.16359},Q:{_:"14.9"}}; diff --git a/node_modules/caniuse-lite/data/regions/MC.js b/node_modules/caniuse-lite/data/regions/MC.js index 886ddb8751..95794ce8d7 100644 --- a/node_modules/caniuse-lite/data/regions/MC.js +++ b/node_modules/caniuse-lite/data/regions/MC.js @@ -1 +1 @@ -module.exports={C:{"2":0.01904,"3":0.01269,"4":0.01904,"5":0.00635,"9":0.00635,"12":0.01269,"13":0.00635,"15":0.00635,"16":0.00635,"18":0.00635,"20":0.00635,"21":0.00635,"24":0.01269,"25":0.00635,"26":0.01269,"27":0.00635,"28":0.00635,"30":0.01269,"31":0.01904,"32":0.00635,"33":0.00635,"34":0.01269,"36":0.01269,"37":0.01269,"38":0.03173,"39":0.02538,"40":0.03808,"41":0.00635,"42":0.00635,"44":0.00635,"48":0.00635,"56":0.01269,"78":0.81863,"82":0.22846,"91":0.00635,"102":0.00635,"103":0.00635,"105":0.01269,"106":0.04442,"107":0.02538,"108":0.02538,"109":0.01269,"110":0.01269,"111":0.01269,"113":0.00635,"115":0.8694,"118":0.01269,"119":0.00635,"122":0.00635,"123":0.04442,"124":0.11423,"125":2.2211,"126":1.57381,_:"6 7 8 10 11 14 17 19 22 23 29 35 43 45 46 47 49 50 51 52 53 54 55 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 79 80 81 83 84 85 86 87 88 89 90 92 93 94 95 96 97 98 99 100 101 104 112 114 116 117 120 121 127 128 129","3.5":0.01269,"3.6":0.05077},D:{"6":0.00635,"7":0.00635,"11":0.00635,"15":0.00635,"16":0.00635,"18":0.00635,"19":0.01269,"21":0.01904,"22":0.00635,"26":0.00635,"28":0.00635,"30":0.00635,"31":0.01904,"33":0.01269,"34":0.00635,"35":0.01904,"36":0.02538,"37":0.01904,"38":0.01269,"39":0.03808,"40":0.01904,"41":0.07615,"42":0.02538,"43":0.06981,"44":0.10788,"45":0.06346,"46":0.08884,"47":0.05077,"51":0.12692,"57":0.02538,"65":0.03173,"70":0.14596,"72":0.03808,"74":0.02538,"75":0.00635,"76":0.03173,"78":0.03808,"79":0.17134,"80":0.11423,"81":0.03808,"83":0.03808,"84":0.11423,"85":0.46326,"86":0.17769,"87":0.26653,"88":0.00635,"89":0.00635,"90":0.00635,"91":0.00635,"94":0.01269,"95":0.00635,"96":0.01269,"97":0.02538,"98":0.53306,"99":0.22846,"100":0.00635,"102":0.01904,"103":1.60554,"105":0.10154,"106":0.36807,"107":0.73614,"108":0.75517,"109":0.95825,"110":0.58383,"111":0.02538,"112":0.43787,"114":0.00635,"115":0.01269,"116":2.00534,"118":0.00635,"119":0.00635,"120":0.0825,"121":0.25384,"122":0.27288,"123":0.81863,"124":10.3186,"125":4.13125,"126":0.01904,_:"4 5 8 9 10 12 13 14 17 20 23 24 25 27 29 32 48 49 50 52 53 54 55 56 58 59 60 61 62 63 64 66 67 68 69 71 73 77 92 93 101 104 113 117 127 128"},F:{"12":0.00635,"24":0.00635,"26":0.01269,"30":0.01269,"31":0.03808,"33":0.00635,"83":0.00635,"84":0.01904,"93":0.00635,"102":0.00635,"107":0.03173,"109":7.69135,"110":0.64729,_:"9 11 15 16 17 18 19 20 21 22 23 25 27 28 29 32 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 60 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 85 86 87 88 89 90 91 92 94 95 96 97 98 99 100 101 103 104 105 106 108 9.5-9.6 10.0-10.1 10.5 10.6 11.5 11.6","11.1":0.00635,"12.1":0.01904},B:{"12":0.01269,"13":0.00635,"17":0.00635,"86":0.08884,"98":0.12057,"99":0.01904,"107":0.01904,"109":0.62825,"110":0.00635,"119":0.01269,"122":0.00635,"123":0.08884,"124":3.07781,"125":1.00901,_:"14 15 16 18 79 80 81 83 84 85 87 88 89 90 91 92 93 94 95 96 97 100 101 102 103 104 105 106 108 111 112 113 114 115 116 117 118 120 121"},E:{"4":0.00635,"5":0.01269,"7":0.01269,"8":0.01269,"9":0.19673,"13":0.00635,"14":0.01904,"15":0.00635,_:"0 6 10 11 12 3.1 3.2 6.1 9.1 10.1 11.1 17.6","5.1":0.01269,"7.1":0.01269,"12.1":0.01269,"13.1":0.01904,"14.1":0.13961,"15.1":0.03173,"15.2-15.3":0.02538,"15.4":0.03808,"15.5":0.06346,"15.6":0.90113,"16.0":0.01904,"16.1":0.12692,"16.2":0.14596,"16.3":0.90113,"16.4":0.03808,"16.5":0.13327,"16.6":3.14762,"17.0":0.02538,"17.1":0.12057,"17.2":0.35538,"17.3":1.16132,"17.4":5.27987,"17.5":0.5521},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.00397,"5.0-5.1":0.00397,"6.0-6.1":0.00994,"7.0-7.1":0.01391,"8.1-8.4":0.00397,"9.0-9.2":0.00994,"9.3":0.04571,"10.0-10.2":0.00795,"10.3":0.07155,"11.0-11.2":0.10533,"11.3-11.4":0.01987,"12.0-12.1":0.01192,"12.2-12.5":0.28817,"13.0-13.1":0.00596,"13.2":0.02782,"13.3":0.01391,"13.4-13.7":0.0636,"14.0-14.4":0.10931,"14.5-14.8":0.16893,"15.0-15.1":0.08148,"15.2-15.3":0.08943,"15.4":0.10136,"15.5":0.12719,"15.6-15.8":1.14475,"16.0":0.26035,"16.1":0.5366,"16.2":0.26035,"16.3":0.45114,"16.4":0.0954,"16.5":0.19278,"16.6-16.7":1.53627,"17.0":0.16694,"17.1":0.27228,"17.2":0.2842,"17.3":0.52468,"17.4":11.91453,"17.5":0.84067,"17.6":0},P:{"4":0.06498,"20":0.02166,"21":0.01083,"22":0.02166,"23":0.02166,"24":0.04332,"25":1.23458,_:"5.0-5.4 7.2-7.4 8.2 9.2 10.1 11.1-11.2 12.0 13.0 14.0 15.0 16.0 17.0 18.0 19.0","6.2-6.4":0.07581},I:{"0":0.95361,"3":0,"4":0.0001,"2.1":0,"2.2":0,"2.3":0,"4.1":0.00019,"4.2-4.3":0.00057,"4.4":0,"4.4.3-4.4.4":0.00211},K:{"0":0.12885,_:"10 11 12 11.1 11.5 12.1"},A:{"6":0.02571,"7":0.05142,"8":0.66202,"9":0.14783,"10":0.10284,"11":0.47562,_:"5.5"},S:{"2.5":0.0475,_:"3.0-3.1"},J:{_:"7 10"},N:{_:"10 11"},L:{"0":12.76705},R:{_:"0"},M:{"0":0.33617},Q:{_:"14.9"},O:{"0":0.16443},H:{"0":0.01}}; +module.exports={C:{"67":0.07604,"68":0.06337,"72":0.0507,"75":0.34854,"78":0.77311,"82":0.1204,"101":0.00634,"106":0.00634,"109":0.00634,"115":0.47528,"116":0.00634,"117":0.00634,"118":0.02535,"121":0.00634,"122":0.00634,"123":0.02535,"124":0.00634,"125":0.00634,"126":0.00634,"127":0.00634,"128":0.00634,"129":0.55132,"130":2.93403,"131":0.00634,_:"2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 69 70 71 73 74 76 77 79 80 81 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 102 103 104 105 107 108 110 111 112 113 114 119 120 132 133 134 135 3.5 3.6"},D:{"57":0.01267,"65":0.00634,"70":0.04436,"71":0.06971,"72":0.01267,"74":0.01267,"76":0.06971,"78":0.01901,"79":0.43092,"80":0.0507,"81":0.36755,"83":0.01267,"84":0.34854,"85":0.93788,"86":0.07604,"87":0.84916,"88":0.01267,"94":0.00634,"98":0.06971,"99":0.03169,"100":0.00634,"101":0.15209,"103":1.74901,"106":0.34854,"107":0.48795,"108":0.55132,"109":0.74143,"110":0.00634,"111":0.00634,"112":0.42458,"115":0.00634,"116":0.9759,"118":0.00634,"119":0.03169,"120":0.05703,"121":0.22813,"122":0.20912,"123":0.06337,"124":0.17744,"125":0.0507,"126":1.32443,"127":3.1685,"128":11.95158,"129":4.83513,_:"4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 58 59 60 61 62 63 64 66 67 68 69 73 75 77 89 90 91 92 93 95 96 97 102 104 105 113 114 117 130 131 132 133"},F:{"36":0.00634,"65":0.05703,"108":0.00634,"109":0.00634,"110":0.00634,"112":7.70579,"113":0.53231,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 60 62 63 64 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 111 114 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"18":0.06971,"86":0.03169,"98":0.00634,"99":0.00634,"108":0.15843,"109":0.01267,"111":0.01901,"118":0.01901,"121":0.04436,"123":0.00634,"124":0.01901,"125":0.02535,"126":0.04436,"127":0.11407,"128":2.81363,"129":1.50187,_:"12 13 14 15 16 17 79 80 81 83 84 85 87 88 89 90 91 92 93 94 95 96 97 100 101 102 103 104 105 106 107 110 112 113 114 115 116 117 119 120 122 130"},E:{"14":0.05703,"15":0.00634,_:"0 4 5 6 7 8 9 10 11 12 13 3.1 3.2 5.1 6.1 7.1 9.1 10.1 11.1 15.2-15.3","12.1":0.01901,"13.1":0.0507,"14.1":0.15843,"15.1":0.01901,"15.4":0.00634,"15.5":0.01901,"15.6":1.01392,"16.0":0.00634,"16.1":0.01901,"16.2":0.01901,"16.3":0.1204,"16.4":0.09506,"16.5":0.19011,"16.6":0.86183,"17.0":0.03802,"17.1":0.05703,"17.2":0.57033,"17.3":0.20278,"17.4":0.9759,"17.5":1.03927,"17.6":6.337,"18.0":0.39289,"18.1":0.00634},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.00429,"5.0-5.1":0.00214,"6.0-6.1":0.01286,"7.0-7.1":0.01501,"8.1-8.4":0,"9.0-9.2":0.01286,"9.3":0.03645,"10.0-10.2":0.01072,"10.3":0.06217,"11.0-11.2":0.2294,"11.3-11.4":0.01715,"12.0-12.1":0.01072,"12.2-12.5":0.25942,"13.0-13.1":0.00429,"13.2":0.08147,"13.3":0.01072,"13.4-13.7":0.04288,"14.0-14.4":0.09862,"14.5-14.8":0.13078,"15.0-15.1":0.07504,"15.2-15.3":0.07289,"15.4":0.08361,"15.5":0.10291,"15.6-15.8":1.01838,"16.0":0.20582,"16.1":0.40735,"16.2":0.20368,"16.3":0.34303,"16.4":0.07289,"16.5":0.14364,"16.6-16.7":1.22634,"17.0":0.10291,"17.1":0.16294,"17.2":0.14793,"17.3":0.21225,"17.4":0.45452,"17.5":2.18469,"17.6-17.7":11.62666,"18.0":1.46646,"18.1":0.06646},P:{"20":0.01066,"22":0.02133,"24":0.43725,"25":0.10665,"26":1.4504,_:"4 21 23 5.0-5.4 7.2-7.4 8.2 9.2 10.1 11.1-11.2 12.0 13.0 14.0 15.0 16.0 17.0 18.0 19.0","6.2-6.4":0.02133},I:{"0":0.05114,"3":0,"4":0,"2.1":0,"2.2":0,"2.3":0,"4.1":0.00001,"4.2-4.3":0.00002,"4.4":0,"4.4.3-4.4.4":0.00008},K:{"0":0.0989,_:"10 11 12 11.1 11.5 12.1"},A:{"8":0.06971,"9":0.01901,"10":0.00634,"11":0.08872,_:"6 7 5.5"},N:{_:"10 11"},S:{_:"2.5 3.0-3.1"},J:{_:"7 10"},O:{"0":0.01099},H:{"0":0},L:{"0":12.61259},R:{_:"0"},M:{"0":0.2381},Q:{_:"14.9"}}; diff --git a/node_modules/caniuse-lite/data/regions/MD.js b/node_modules/caniuse-lite/data/regions/MD.js index fd5cbf542a..86041f8dbf 100644 --- a/node_modules/caniuse-lite/data/regions/MD.js +++ b/node_modules/caniuse-lite/data/regions/MD.js @@ -1 +1 @@ -module.exports={C:{"40":0.00455,"52":0.03641,"55":0.01365,"57":0.00455,"74":0.00455,"78":0.00455,"88":0.59163,"91":0.00455,"102":0.01365,"103":0.01365,"104":0.02276,"105":0.01365,"106":0.00455,"107":0.00455,"108":0.00455,"109":0.00455,"110":0.00455,"111":0.0091,"113":0.01365,"114":0.00455,"115":0.74181,"116":0.0091,"117":0.00455,"119":0.00455,"120":0.00455,"121":0.0091,"122":0.00455,"123":0.0182,"124":0.02731,"125":0.91475,"126":0.87834,"127":0.00455,_:"2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 41 42 43 44 45 46 47 48 49 50 51 53 54 56 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 75 76 77 79 80 81 82 83 84 85 86 87 89 90 92 93 94 95 96 97 98 99 100 101 112 118 128 129 3.5","3.6":0.0091},D:{"34":0.0091,"41":0.01365,"43":0.00455,"44":0.00455,"45":0.00455,"46":0.00455,"47":0.00455,"49":0.01365,"51":0.02276,"53":0.00455,"56":0.0091,"69":0.00455,"70":0.0091,"79":0.02731,"80":0.00455,"81":0.00455,"83":0.00455,"86":0.0091,"87":0.0091,"88":0.0091,"90":0.05461,"92":0.00455,"94":0.0182,"95":0.0091,"96":0.0091,"97":0.0091,"99":0.18204,"100":0.00455,"101":0.01365,"102":0.10467,"103":0.04096,"104":0.0182,"105":0.00455,"106":0.10012,"107":0.0182,"108":1.89777,"109":4.01853,"110":0.06371,"111":0.01365,"112":0.0182,"113":0.43235,"114":0.48696,"115":0.0182,"116":0.19114,"117":0.0091,"118":0.10012,"119":0.03186,"120":0.08647,"121":0.13653,"122":0.34588,"123":0.85104,"124":15.4552,"125":6.28948,"126":0.01365,"127":0.0091,_:"4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 35 36 37 38 39 40 42 48 50 52 54 55 57 58 59 60 61 62 63 64 65 66 67 68 71 72 73 74 75 76 77 78 84 85 89 91 93 98 128"},F:{"73":0.00455,"79":0.06371,"82":0.00455,"85":0.07282,"87":0.00455,"94":0.0091,"95":0.4551,"101":0.00455,"104":0.00455,"107":0.30492,"108":0.04096,"109":3.20846,"110":0.12743,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 60 62 63 64 65 66 67 68 69 70 71 72 74 75 76 77 78 80 81 83 84 86 88 89 90 91 92 93 96 97 98 99 100 102 103 105 106 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"18":0.00455,"92":0.0091,"105":0.00455,"107":0.0091,"108":0.00455,"109":0.01365,"112":0.02276,"118":0.0091,"119":0.0091,"120":0.04551,"121":0.0091,"122":0.0182,"123":0.05916,"124":1.10589,"125":0.669,_:"12 13 14 15 16 17 79 80 81 83 84 85 86 87 88 89 90 91 93 94 95 96 97 98 99 100 101 102 103 104 106 110 111 113 114 115 116 117"},E:{"9":0.01365,"14":0.03186,_:"0 4 5 6 7 8 10 11 12 13 15 3.1 3.2 6.1 7.1 9.1 10.1 17.6","5.1":0.00455,"11.1":0.20024,"12.1":0.01365,"13.1":0.02731,"14.1":0.03641,"15.1":0.00455,"15.2-15.3":0.00455,"15.4":0.0091,"15.5":0.0091,"15.6":0.06827,"16.0":0.0091,"16.1":0.02276,"16.2":0.0182,"16.3":0.02276,"16.4":0.03186,"16.5":0.03186,"16.6":0.05006,"17.0":0.02276,"17.1":0.06827,"17.2":0.03186,"17.3":0.03186,"17.4":0.446,"17.5":0.10012},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.00252,"5.0-5.1":0.00252,"6.0-6.1":0.0063,"7.0-7.1":0.00883,"8.1-8.4":0.00252,"9.0-9.2":0.0063,"9.3":0.029,"10.0-10.2":0.00504,"10.3":0.04539,"11.0-11.2":0.06683,"11.3-11.4":0.01261,"12.0-12.1":0.00757,"12.2-12.5":0.18283,"13.0-13.1":0.00378,"13.2":0.01765,"13.3":0.00883,"13.4-13.7":0.04035,"14.0-14.4":0.06935,"14.5-14.8":0.10718,"15.0-15.1":0.0517,"15.2-15.3":0.05674,"15.4":0.06431,"15.5":0.0807,"15.6-15.8":0.72628,"16.0":0.16518,"16.1":0.34044,"16.2":0.16518,"16.3":0.28622,"16.4":0.06052,"16.5":0.12231,"16.6-16.7":0.97467,"17.0":0.10592,"17.1":0.17274,"17.2":0.18031,"17.3":0.33288,"17.4":7.55909,"17.5":0.53336,"17.6":0},P:{"4":0.07252,"20":0.01036,"21":0.03108,"22":0.04144,"23":0.11396,"24":0.16577,"25":1.75091,_:"5.0-5.4 6.2-6.4 8.2 9.2 10.1 12.0 14.0 15.0 16.0","7.2-7.4":0.04144,"11.1-11.2":0.01036,"13.0":0.01036,"17.0":0.02072,"18.0":0.01036,"19.0":0.02072},I:{"0":0.07599,"3":0,"4":0.00001,"2.1":0,"2.2":0,"2.3":0,"4.1":0.00002,"4.2-4.3":0.00005,"4.4":0,"4.4.3-4.4.4":0.00017},K:{"0":0.38778,_:"10 11 12 11.1 11.5 12.1"},A:{"7":0.00465,"8":0.06975,"9":0.0093,"10":0.0093,"11":0.1209,_:"6 5.5"},S:{"2.5":0.00545,_:"3.0-3.1"},J:{_:"7 10"},N:{_:"10 11"},L:{"0":39.29057},R:{_:"0"},M:{"0":0.23431},Q:{_:"14.9"},O:{"0":0.09263},H:{"0":0.01}}; +module.exports={C:{"52":0.0511,"60":0.00393,"68":0.00393,"78":0.00393,"88":0.32627,"91":0.00786,"92":0.00393,"102":0.00786,"103":0.00393,"104":0.00393,"105":0.00786,"106":0.00786,"113":0.00786,"115":0.55034,"116":0.01572,"120":0.07862,"121":0.00393,"122":0.00393,"123":0.01179,"124":0.00393,"125":0.01179,"126":0.01572,"127":0.00393,"128":0.00786,"129":0.29483,"130":1.28151,"131":0.00393,_:"2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 53 54 55 56 57 58 59 61 62 63 64 65 66 67 69 70 71 72 73 74 75 76 77 79 80 81 82 83 84 85 86 87 89 90 93 94 95 96 97 98 99 100 101 107 108 109 110 111 112 114 117 118 119 132 133 134 135 3.5","3.6":0.01179},D:{"41":0.00786,"46":0.00393,"49":0.01179,"51":0.01179,"58":0.00393,"70":0.00393,"73":0.00393,"76":0.00393,"78":0.00393,"79":0.01179,"80":0.00393,"81":0.00393,"84":0.01179,"85":0.00393,"86":0.00393,"87":0.00786,"88":0.00393,"89":0.01572,"90":0.00786,"91":0.00786,"92":0.00786,"94":0.02359,"95":0.00393,"96":0.00786,"97":0.00786,"98":0.00786,"99":0.74296,"100":0.01572,"101":0.01966,"102":0.13759,"103":0.02752,"104":0.01966,"106":0.11007,"107":0.02359,"108":0.03538,"109":3.12121,"110":0.0511,"111":0.02359,"112":0.01572,"113":0.32627,"114":0.3302,"115":0.11007,"116":0.16903,"117":0.00786,"118":0.07076,"119":0.03145,"120":0.05503,"121":0.0629,"122":0.05897,"123":0.05503,"124":0.27124,"125":0.13365,"126":0.40489,"127":0.69972,"128":15.04787,"129":5.02775,"130":0.00786,"131":0.00786,_:"4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 42 43 44 45 47 48 50 52 53 54 55 56 57 59 60 61 62 63 64 65 66 67 68 69 71 72 74 75 77 83 93 105 132 133"},F:{"20":0.00393,"77":0.00393,"79":0.06683,"84":0.01179,"85":0.05897,"86":0.00393,"93":0.01179,"95":0.31448,"101":0.01179,"106":0.00393,"109":0.03931,"111":0.00393,"112":1.51344,"113":0.6211,"114":0.01179,_:"9 11 12 15 16 17 18 19 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 60 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 78 80 81 82 83 87 88 89 90 91 92 94 96 97 98 99 100 102 103 104 105 107 108 110 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"18":0.00393,"92":0.00786,"105":0.00393,"106":0.00393,"108":0.00393,"109":0.00786,"110":0.00393,"113":0.00393,"118":0.00786,"119":0.00393,"120":0.02359,"121":0.01572,"124":0.00786,"125":0.00786,"126":0.02752,"127":0.15724,"128":1.3444,"129":0.62896,_:"12 13 14 15 16 17 79 80 81 83 84 85 86 87 88 89 90 91 93 94 95 96 97 98 99 100 101 102 103 104 107 111 112 114 115 116 117 122 123 130"},E:{"9":0.01572,"14":0.01966,_:"0 4 5 6 7 8 10 11 12 13 15 3.1 3.2 5.1 6.1 7.1 9.1 10.1 11.1 15.2-15.3","12.1":0.00393,"13.1":0.01179,"14.1":0.01572,"15.1":0.00786,"15.4":0.00393,"15.5":0.00393,"15.6":0.07469,"16.0":0.01966,"16.1":0.01572,"16.2":0.01179,"16.3":0.01179,"16.4":0.02359,"16.5":0.01572,"16.6":0.0629,"17.0":0.00393,"17.1":0.02359,"17.2":0.01572,"17.3":0.01572,"17.4":0.0511,"17.5":0.13365,"17.6":0.51889,"18.0":0.13759,"18.1":0.01179},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.00267,"5.0-5.1":0.00133,"6.0-6.1":0.008,"7.0-7.1":0.00934,"8.1-8.4":0,"9.0-9.2":0.008,"9.3":0.02268,"10.0-10.2":0.00667,"10.3":0.03869,"11.0-11.2":0.14273,"11.3-11.4":0.01067,"12.0-12.1":0.00667,"12.2-12.5":0.16141,"13.0-13.1":0.00267,"13.2":0.05069,"13.3":0.00667,"13.4-13.7":0.02668,"14.0-14.4":0.06136,"14.5-14.8":0.08137,"15.0-15.1":0.04669,"15.2-15.3":0.04535,"15.4":0.05202,"15.5":0.06403,"15.6-15.8":0.63363,"16.0":0.12806,"16.1":0.25345,"16.2":0.12673,"16.3":0.21343,"16.4":0.04535,"16.5":0.08938,"16.6-16.7":0.76303,"17.0":0.06403,"17.1":0.10138,"17.2":0.09204,"17.3":0.13206,"17.4":0.2828,"17.5":1.35931,"17.6-17.7":7.2341,"18.0":0.91243,"18.1":0.04135},P:{"4":0.05115,"20":0.02046,"21":0.03069,"22":0.12275,"23":0.08183,"24":0.09206,"25":0.32734,"26":2.0561,_:"5.0-5.4 8.2 9.2 10.1 12.0 14.0 15.0","6.2-6.4":0.02046,"7.2-7.4":0.03069,"11.1-11.2":0.01023,"13.0":0.01023,"16.0":0.01023,"17.0":0.01023,"18.0":0.01023,"19.0":0.01023},I:{"0":0.04842,"3":0,"4":0,"2.1":0,"2.2":0,"2.3":0,"4.1":0,"4.2-4.3":0.00002,"4.4":0,"4.4.3-4.4.4":0.00008},K:{"0":0.50014,_:"10 11 12 11.1 11.5 12.1"},A:{"8":0.01212,"11":0.42815,_:"6 7 9 10 5.5"},N:{_:"10 11"},S:{"2.5":0.00607,_:"3.0-3.1"},J:{_:"7 10"},O:{"0":0.10317},H:{"0":0.04},L:{"0":43.76927},R:{_:"0"},M:{"0":0.34593},Q:{"14.9":0.04248}}; diff --git a/node_modules/caniuse-lite/data/regions/ME.js b/node_modules/caniuse-lite/data/regions/ME.js index b5d3be0733..5d35e37760 100644 --- a/node_modules/caniuse-lite/data/regions/ME.js +++ b/node_modules/caniuse-lite/data/regions/ME.js @@ -1 +1 @@ -module.exports={C:{"3":0.00291,"4":0.00291,"36":0.00291,"38":0.00291,"40":0.00291,"52":0.00874,"66":0.00582,"68":0.00582,"75":0.00291,"78":0.00582,"87":0.00291,"91":0.00291,"103":0.00582,"107":0.00291,"113":0.00874,"114":0.0961,"115":0.17181,"116":0.00291,"118":0.01165,"122":0.00291,"123":0.00291,"124":0.02621,"125":0.45136,"126":0.45136,"127":0.00291,_:"2 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 37 39 41 42 43 44 45 46 47 48 49 50 51 53 54 55 56 57 58 59 60 61 62 63 64 65 67 69 70 71 72 73 74 76 77 79 80 81 82 83 84 85 86 88 89 90 92 93 94 95 96 97 98 99 100 101 102 104 105 106 108 109 110 111 112 117 119 120 121 128 129 3.5","3.6":0.00291},D:{"21":0.00291,"22":0.00291,"34":0.00291,"35":0.00291,"38":0.00291,"40":0.00291,"41":0.00291,"42":0.00291,"43":0.00582,"44":0.00582,"45":0.00582,"46":0.00291,"47":0.00291,"49":0.02621,"51":0.00874,"53":0.00874,"56":0.00291,"66":0.01747,"70":0.00582,"71":0.00291,"73":0.00291,"75":0.00291,"77":0.00291,"79":0.52998,"80":0.00291,"81":0.01456,"83":0.02912,"84":0.02621,"85":0.01747,"86":0.00874,"87":0.23296,"88":0.00582,"89":0.01165,"90":0.04659,"91":0.00291,"92":0.00291,"93":0.04368,"94":0.0495,"95":0.00291,"96":0.00582,"97":0.01165,"98":0.01456,"99":0.20966,"100":0.03786,"102":0.00582,"103":0.03786,"104":0.00291,"105":0.0233,"106":0.06698,"107":0.04077,"108":0.01747,"109":2.70816,"110":0.00874,"111":0.00291,"112":0.03786,"113":0.00291,"114":0.03203,"115":0.03203,"116":0.21258,"117":0.03786,"118":0.01165,"119":0.08736,"120":0.06115,"121":0.0728,"122":0.10192,"123":0.56202,"124":11.37136,"125":4.71744,"126":0.00582,_:"4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 23 24 25 26 27 28 29 30 31 32 33 36 37 39 48 50 52 54 55 57 58 59 60 61 62 63 64 65 67 68 69 72 74 76 78 101 127 128"},F:{"28":0.00291,"31":0.00291,"32":0.00291,"36":0.00291,"40":0.00291,"46":0.06989,"68":0.74256,"95":0.02621,"107":0.0961,"108":0.00874,"109":0.85904,"110":0.03786,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 29 30 33 34 35 37 38 39 41 42 43 44 45 47 48 49 50 51 52 53 54 55 56 57 58 60 62 63 64 65 66 67 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 96 97 98 99 100 101 102 103 104 105 106 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"18":0.00291,"92":0.00582,"98":0.00291,"107":0.00874,"109":0.00291,"110":0.00291,"112":0.00291,"118":0.00291,"119":0.00291,"120":0.00291,"121":0.00582,"122":0.00874,"123":0.03786,"124":1.14733,"125":0.69014,_:"12 13 14 15 16 17 79 80 81 83 84 85 86 87 88 89 90 91 93 94 95 96 97 99 100 101 102 103 104 105 106 108 111 113 114 115 116 117"},E:{"9":0.01747,"11":0.00291,"14":0.00874,_:"0 4 5 6 7 8 10 12 13 15 3.1 3.2 5.1 6.1 7.1 9.1 10.1 11.1 15.2-15.3 17.6","12.1":0.01456,"13.1":0.00582,"14.1":0.01747,"15.1":0.01456,"15.4":0.00874,"15.5":0.00874,"15.6":0.0495,"16.0":0.01747,"16.1":0.00874,"16.2":0.06406,"16.3":0.02038,"16.4":0.01456,"16.5":0.0233,"16.6":0.11648,"17.0":0.01165,"17.1":0.13104,"17.2":0.01747,"17.3":0.02621,"17.4":0.49504,"17.5":0.05824},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.00268,"5.0-5.1":0.00268,"6.0-6.1":0.00669,"7.0-7.1":0.00937,"8.1-8.4":0.00268,"9.0-9.2":0.00669,"9.3":0.03078,"10.0-10.2":0.00535,"10.3":0.04818,"11.0-11.2":0.07094,"11.3-11.4":0.01338,"12.0-12.1":0.00803,"12.2-12.5":0.19407,"13.0-13.1":0.00402,"13.2":0.01874,"13.3":0.00937,"13.4-13.7":0.04283,"14.0-14.4":0.07361,"14.5-14.8":0.11376,"15.0-15.1":0.05487,"15.2-15.3":0.06023,"15.4":0.06826,"15.5":0.08566,"15.6-15.8":0.77092,"16.0":0.17533,"16.1":0.36137,"16.2":0.17533,"16.3":0.30382,"16.4":0.06424,"16.5":0.12983,"16.6-16.7":1.03459,"17.0":0.11243,"17.1":0.18336,"17.2":0.19139,"17.3":0.35334,"17.4":8.02373,"17.5":0.56614,"17.6":0},P:{"4":0.52363,"20":0.08214,"21":0.10267,"22":0.21561,"23":0.42095,"24":0.57496,"25":4.8461,"5.0-5.4":0.01027,"6.2-6.4":0.11294,"7.2-7.4":0.16427,_:"8.2 9.2 13.0","10.1":0.0616,"11.1-11.2":0.02053,"12.0":0.01027,"14.0":0.02053,"15.0":0.01027,"16.0":0.01027,"17.0":0.01027,"18.0":0.04107,"19.0":0.0924},I:{"0":0.11298,"3":0,"4":0.00001,"2.1":0,"2.2":0,"2.3":0,"4.1":0.00002,"4.2-4.3":0.00007,"4.4":0,"4.4.3-4.4.4":0.00025},K:{"0":0.24103,_:"10 11 12 11.1 11.5 12.1"},A:{"6":0.00291,"7":0.00291,"8":0.04368,"9":0.00582,"10":0.00874,"11":0.02912,_:"5.5"},S:{_:"2.5 3.0-3.1"},J:{_:"7 10"},N:{_:"10 11"},L:{"0":50.06214},R:{_:"0"},M:{"0":0.2552},Q:{_:"14.9"},O:{"0":0.04962},H:{"0":0}}; +module.exports={C:{"45":0.03875,"52":0.00554,"68":0.0083,"78":0.01107,"86":0.00277,"88":0.00277,"91":0.00554,"106":0.00554,"107":0.00277,"112":0.00554,"113":0.00277,"115":0.20206,"120":0.00277,"122":0.00277,"123":0.00277,"124":0.0083,"125":0.00277,"126":0.00277,"127":0.01938,"128":0.01661,"129":0.19376,"130":0.71691,"131":0.00277,"132":0.00277,_:"2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 46 47 48 49 50 51 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 69 70 71 72 73 74 75 76 77 79 80 81 82 83 84 85 87 89 90 92 93 94 95 96 97 98 99 100 101 102 103 104 105 108 109 110 111 114 116 117 118 119 121 133 134 135 3.5 3.6"},D:{"49":0.0083,"53":0.0083,"58":0.00277,"66":0.0083,"75":0.00277,"77":0.01384,"79":0.37922,"81":0.01661,"83":0.01661,"86":0.01661,"87":0.29064,"88":0.01107,"89":0.01107,"90":0.00277,"91":0.0083,"93":0.04152,"94":0.04152,"95":0.00554,"96":0.00554,"97":0.00277,"98":0.00277,"99":0.01107,"100":0.00554,"102":0.0083,"103":0.09411,"105":0.01107,"106":0.02491,"107":0.01661,"108":0.01661,"109":2.17288,"110":0.0083,"111":0.00277,"112":0.00554,"114":0.01107,"115":0.01107,"116":0.32109,"117":0.03598,"118":0.0083,"119":0.04706,"120":0.06643,"121":0.04429,"122":0.0692,"123":0.08858,"124":0.10795,"125":0.05813,"126":0.18269,"127":0.63941,"128":12.48368,"129":3.83645,"130":0.00277,_:"4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 50 51 52 54 55 56 57 59 60 61 62 63 64 65 67 68 69 70 71 72 73 74 76 78 80 84 85 92 101 104 113 131 132 133"},F:{"40":0.01384,"46":0.02768,"55":0.00277,"68":0.77227,"84":0.01384,"85":0.00554,"87":0.00277,"95":0.01661,"108":0.00277,"109":0.0083,"111":0.00277,"112":0.39306,"113":0.27126,"114":0.00554,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 41 42 43 44 45 47 48 49 50 51 52 53 54 56 57 58 60 62 63 64 65 66 67 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 86 88 89 90 91 92 93 94 96 97 98 99 100 101 102 103 104 105 106 107 110 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"18":0.00554,"92":0.03045,"107":0.00277,"109":0.0083,"110":0.00277,"118":0.01384,"119":0.00277,"120":0.00554,"121":0.02214,"123":0.00277,"124":0.01661,"125":0.00554,"126":0.02491,"127":0.03598,"128":0.86638,"129":0.44011,_:"12 13 14 15 16 17 79 80 81 83 84 85 86 87 88 89 90 91 93 94 95 96 97 98 99 100 101 102 103 104 105 106 108 111 112 113 114 115 116 117 122 130"},E:{"14":0.01384,_:"0 4 5 6 7 8 9 10 11 12 13 15 3.1 3.2 5.1 6.1 7.1 9.1 10.1 11.1 15.2-15.3 18.1","12.1":0.00277,"13.1":0.0083,"14.1":0.04706,"15.1":0.00554,"15.4":0.00277,"15.5":0.00277,"15.6":0.0692,"16.0":0.01107,"16.1":0.02491,"16.2":0.01938,"16.3":0.03875,"16.4":0.01107,"16.5":0.01384,"16.6":0.10518,"17.0":0.02214,"17.1":0.08858,"17.2":0.03045,"17.3":0.01661,"17.4":0.04706,"17.5":0.14394,"17.6":0.56467,"18.0":0.07474},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.00314,"5.0-5.1":0.00157,"6.0-6.1":0.00941,"7.0-7.1":0.01098,"8.1-8.4":0,"9.0-9.2":0.00941,"9.3":0.02665,"10.0-10.2":0.00784,"10.3":0.04547,"11.0-11.2":0.16777,"11.3-11.4":0.01254,"12.0-12.1":0.00784,"12.2-12.5":0.18972,"13.0-13.1":0.00314,"13.2":0.05958,"13.3":0.00784,"13.4-13.7":0.03136,"14.0-14.4":0.07212,"14.5-14.8":0.09564,"15.0-15.1":0.05488,"15.2-15.3":0.05331,"15.4":0.06115,"15.5":0.07526,"15.6-15.8":0.74475,"16.0":0.15052,"16.1":0.2979,"16.2":0.14895,"16.3":0.25086,"16.4":0.05331,"16.5":0.10505,"16.6-16.7":0.89684,"17.0":0.07526,"17.1":0.11916,"17.2":0.10818,"17.3":0.15522,"17.4":0.33239,"17.5":1.59769,"17.6-17.7":8.50271,"18.0":1.07244,"18.1":0.0486},P:{"4":0.28933,"20":0.01033,"21":0.10333,"22":0.26866,"23":0.27899,"24":0.124,"25":0.42366,"26":4.32959,"5.0-5.4":0.031,"6.2-6.4":0.093,"7.2-7.4":0.07233,_:"8.2 9.2 12.0 14.0 15.0 17.0","10.1":0.05167,"11.1-11.2":0.05167,"13.0":0.031,"16.0":0.01033,"18.0":0.01033,"19.0":0.05167},I:{"0":0.07212,"3":0,"4":0,"2.1":0,"2.2":0,"2.3":0,"4.1":0.00001,"4.2-4.3":0.00003,"4.4":0,"4.4.3-4.4.4":0.00012},K:{"0":0.1808,_:"10 11 12 11.1 11.5 12.1"},A:{"11":0.00277,_:"6 7 8 9 10 5.5"},N:{_:"10 11"},S:{_:"2.5 3.0-3.1"},J:{_:"7 10"},O:{"0":0.0217},H:{"0":0},L:{"0":50.19485},R:{_:"0"},M:{"0":0.30374},Q:{_:"14.9"}}; diff --git a/node_modules/caniuse-lite/data/regions/MG.js b/node_modules/caniuse-lite/data/regions/MG.js index 5287373cc4..e507c79d48 100644 --- a/node_modules/caniuse-lite/data/regions/MG.js +++ b/node_modules/caniuse-lite/data/regions/MG.js @@ -1 +1 @@ -module.exports={C:{"30":0.00368,"32":0.00736,"40":0.00368,"42":0.00368,"43":0.00368,"47":0.00368,"48":0.01839,"52":0.02575,"56":0.00736,"60":0.00736,"62":0.00368,"66":0.00368,"67":0.00736,"68":0.00368,"72":0.01839,"75":0.01839,"78":0.01839,"79":0.00368,"80":0.00368,"82":0.00368,"84":0.00368,"88":0.00736,"91":0.00368,"92":0.00368,"93":0.00368,"94":0.00736,"95":0.00368,"98":0.00368,"99":0.01839,"102":0.02207,"103":0.01471,"104":0.01839,"105":0.00368,"107":0.00368,"108":0.00736,"109":0.00736,"110":0.00368,"111":0.02207,"113":0.01103,"114":0.00736,"115":0.84226,"116":0.00368,"118":0.00736,"119":0.00368,"120":0.0331,"121":0.01103,"122":0.02942,"123":0.02575,"124":0.08092,"125":1.44545,"126":0.92318,"127":0.01103,_:"2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 31 33 34 35 36 37 38 39 41 44 45 46 49 50 51 53 54 55 57 58 59 61 63 64 65 69 70 71 73 74 76 77 81 83 85 86 87 89 90 96 97 100 101 106 112 117 128 129 3.5 3.6"},D:{"11":0.05149,"26":0.00368,"32":0.05149,"33":0.00736,"38":0.00368,"42":0.03678,"43":0.01103,"46":0.00368,"48":0.00368,"49":0.00368,"50":0.00368,"51":0.00368,"55":0.00736,"57":0.01471,"58":0.00368,"61":0.00736,"64":0.00736,"65":0.00368,"66":0.00736,"67":0.00368,"68":0.00736,"70":0.00736,"71":0.01103,"73":0.00736,"74":0.01839,"76":0.00368,"77":0.00368,"78":0.01103,"79":0.03678,"80":0.02942,"81":0.06253,"83":0.00368,"84":0.00368,"85":0.04414,"86":0.01103,"87":0.06988,"88":0.02207,"89":0.01103,"90":0.01103,"91":0.00368,"92":0.01103,"94":0.00368,"95":0.08092,"96":0.00736,"97":0.00736,"98":0.00736,"99":0.01103,"100":0.00368,"101":0.01471,"102":0.01471,"103":0.08827,"104":0.0331,"105":0.00736,"106":0.03678,"107":0.01839,"108":0.04414,"109":4.21867,"110":0.00368,"111":0.01839,"112":0.01471,"113":0.00736,"114":0.01839,"115":0.02575,"116":0.07356,"117":0.01839,"118":0.01471,"119":0.08459,"120":0.17654,"121":0.25378,"122":0.34941,"123":0.80548,"124":9.56648,"125":4.07155,"126":0.00368,"127":0.00368,_:"4 5 6 7 8 9 10 12 13 14 15 16 17 18 19 20 21 22 23 24 25 27 28 29 30 31 34 35 36 37 39 40 41 44 45 47 52 53 54 56 59 60 62 63 69 72 75 93 128"},F:{"34":0.00368,"36":0.00736,"53":0.06253,"64":0.00368,"65":0.00368,"73":0.00368,"77":0.00368,"79":0.01103,"85":0.00368,"95":0.09563,"97":0.00368,"102":0.00368,"105":0.00368,"106":0.00368,"107":0.05149,"108":0.01839,"109":0.64365,"110":0.07356,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 35 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 54 55 56 57 58 60 62 63 66 67 68 69 70 71 72 74 75 76 78 80 81 82 83 84 86 87 88 89 90 91 92 93 94 96 98 99 100 101 103 104 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6","12.1":0.00368},B:{"12":0.00368,"14":0.00368,"15":0.00368,"17":0.01103,"18":0.0331,"84":0.00736,"85":0.00368,"88":0.00368,"89":0.02207,"90":0.01471,"92":0.21332,"100":0.02942,"107":0.00368,"108":0.00368,"109":0.2501,"114":0.01839,"115":0.00736,"116":0.00368,"117":0.00368,"118":0.00736,"119":0.00736,"120":0.01839,"121":0.01839,"122":0.10298,"123":0.12505,"124":1.82429,"125":0.92318,_:"13 16 79 80 81 83 86 87 91 93 94 95 96 97 98 99 101 102 103 104 105 106 110 111 112 113"},E:{"14":0.00368,_:"0 4 5 6 7 8 9 10 11 12 13 15 3.1 3.2 5.1 6.1 7.1 9.1 10.1 11.1 12.1 17.6","13.1":0.12505,"14.1":0.02575,"15.1":0.01103,"15.2-15.3":0.00368,"15.4":0.00368,"15.5":0.00368,"15.6":0.04046,"16.0":0.00736,"16.1":0.00368,"16.2":0.00368,"16.3":0.02207,"16.4":0.00736,"16.5":0.00736,"16.6":0.19493,"17.0":0.00368,"17.1":0.01103,"17.2":0.07356,"17.3":0.01839,"17.4":0.24275,"17.5":0.22804},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.00071,"5.0-5.1":0.00071,"6.0-6.1":0.00177,"7.0-7.1":0.00248,"8.1-8.4":0.00071,"9.0-9.2":0.00177,"9.3":0.00816,"10.0-10.2":0.00142,"10.3":0.01277,"11.0-11.2":0.0188,"11.3-11.4":0.00355,"12.0-12.1":0.00213,"12.2-12.5":0.05143,"13.0-13.1":0.00106,"13.2":0.00497,"13.3":0.00248,"13.4-13.7":0.01135,"14.0-14.4":0.01951,"14.5-14.8":0.03015,"15.0-15.1":0.01454,"15.2-15.3":0.01596,"15.4":0.01809,"15.5":0.0227,"15.6-15.8":0.20429,"16.0":0.04646,"16.1":0.09576,"16.2":0.04646,"16.3":0.08051,"16.4":0.01702,"16.5":0.0344,"16.6-16.7":0.27416,"17.0":0.02979,"17.1":0.04859,"17.2":0.05072,"17.3":0.09363,"17.4":2.12621,"17.5":0.15002,"17.6":0},P:{"4":0.06098,"21":0.02033,"22":0.02033,"23":0.14229,"24":0.15245,"25":0.28457,_:"20 5.0-5.4 8.2 10.1 12.0 14.0","6.2-6.4":0.01016,"7.2-7.4":0.02033,"9.2":0.01016,"11.1-11.2":0.01016,"13.0":0.01016,"15.0":0.01016,"16.0":0.02033,"17.0":0.01016,"18.0":0.01016,"19.0":0.01016},I:{"0":0.18262,"3":0,"4":0.00002,"2.1":0,"2.2":0,"2.3":0,"4.1":0.00004,"4.2-4.3":0.00011,"4.4":0,"4.4.3-4.4.4":0.0004},K:{"0":2.72684,_:"10 11 12 11.1 11.5 12.1"},A:{"8":0.00398,"9":0.00398,"11":0.03985,_:"6 7 10 5.5"},S:{"2.5":0.43622,_:"3.0-3.1"},J:{_:"7 10"},N:{_:"10 11"},L:{"0":56.08179},R:{_:"0"},M:{"0":0.25288},Q:{"14.9":0.01264},O:{"0":0.90405},H:{"0":4.24}}; +module.exports={C:{"43":0.00431,"45":0.00431,"47":0.00431,"48":0.00862,"50":0.00431,"51":0.00431,"52":0.03018,"54":0.00431,"56":0.00431,"67":0.00431,"72":0.00862,"76":0.00431,"78":0.1078,"88":0.00431,"89":0.00431,"94":0.00431,"97":0.00431,"98":0.00431,"99":0.00431,"100":0.00431,"101":0.00431,"102":0.01294,"103":0.00862,"104":0.00431,"105":0.01725,"109":0.00431,"112":0.00431,"113":0.00862,"115":1.20736,"117":0.00431,"118":0.00431,"120":0.03018,"121":0.03018,"122":0.00431,"123":0.01294,"124":0.01725,"125":0.01725,"126":0.01725,"127":0.07762,"128":0.04743,"129":0.54331,"130":2.39316,"131":0.05606,_:"2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 44 46 49 53 55 57 58 59 60 61 62 63 64 65 66 68 69 70 71 73 74 75 77 79 80 81 82 83 84 85 86 87 90 91 92 93 95 96 106 107 108 110 111 114 116 119 132 133 134 135 3.5 3.6"},D:{"11":0.0345,"32":0.00431,"38":0.00431,"42":0.00862,"43":0.00862,"46":0.00431,"48":0.00431,"49":0.01294,"50":0.00431,"53":0.00431,"54":0.00431,"55":0.00431,"56":0.00431,"57":0.01725,"60":0.00431,"63":0.00431,"64":0.00431,"66":0.00431,"67":0.00431,"68":0.02156,"69":0.00431,"70":0.00862,"71":0.00862,"73":0.01294,"74":0.00431,"75":0.00431,"78":0.00431,"79":0.01725,"81":0.03018,"83":0.02156,"85":0.00431,"86":0.02156,"87":0.01294,"88":0.02587,"89":0.00431,"90":0.00862,"91":0.00431,"92":0.00431,"93":0.00862,"94":0.01294,"95":0.03018,"96":0.00862,"97":0.00431,"98":0.00431,"99":0.01294,"100":0.00862,"101":0.01725,"102":0.00862,"103":0.04312,"104":0.01294,"105":0.00862,"106":0.04312,"107":0.00862,"108":0.0345,"109":5.3555,"110":0.00862,"111":0.00862,"112":0.01725,"113":0.00862,"114":0.01725,"115":0.02156,"116":0.14661,"117":0.00862,"118":0.02587,"119":0.05174,"120":0.06037,"121":0.03018,"122":0.10349,"123":0.09055,"124":0.06037,"125":0.16386,"126":0.23285,"127":0.84515,"128":12.34526,"129":4.00585,"130":0.00431,"131":0.00431,_:"4 5 6 7 8 9 10 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 33 34 35 36 37 39 40 41 44 45 47 51 52 58 59 61 62 65 72 76 77 80 84 132 133"},F:{"34":0.00431,"36":0.00431,"40":0.01725,"42":0.00431,"53":0.00431,"73":0.00431,"79":0.02156,"83":0.00862,"84":0.02156,"85":0.02156,"86":0.01294,"90":0.00431,"95":0.0733,"101":0.00431,"102":0.00431,"109":0.00862,"111":0.00431,"112":0.73304,"113":1.09525,"114":0.03018,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 35 37 38 39 41 43 44 45 46 47 48 49 50 51 52 54 55 56 57 58 60 62 63 64 65 66 67 68 69 70 71 72 74 75 76 77 78 80 81 82 87 88 89 91 92 93 94 96 97 98 99 100 103 104 105 106 107 108 110 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6","12.1":0.00431},B:{"12":0.00431,"14":0.00431,"15":0.00862,"16":0.00431,"17":0.00431,"18":0.02587,"84":0.00862,"85":0.00431,"89":0.00862,"90":0.01725,"92":0.16386,"100":0.0345,"109":0.2501,"110":0.03018,"112":0.00431,"114":0.00862,"115":0.02156,"116":0.02156,"117":0.00431,"118":0.01294,"119":0.01294,"120":0.00431,"121":0.00431,"122":0.01725,"123":0.01294,"124":0.01725,"125":0.0345,"126":0.15523,"127":0.15523,"128":2.97528,"129":0.98745,_:"13 79 80 81 83 86 87 88 91 93 94 95 96 97 98 99 101 102 103 104 105 106 107 108 111 113 130"},E:{"14":0.00431,_:"0 4 5 6 7 8 9 10 11 12 13 15 3.1 3.2 5.1 6.1 7.1 9.1 10.1 15.1 15.2-15.3 15.4 15.5 16.5 17.2 18.1","11.1":0.00862,"12.1":0.00862,"13.1":0.01725,"14.1":0.00431,"15.6":0.06468,"16.0":0.01294,"16.1":0.01294,"16.2":0.00431,"16.3":0.02156,"16.4":0.00431,"16.6":0.03881,"17.0":0.00431,"17.1":0.62093,"17.3":0.00862,"17.4":0.00431,"17.5":0.07762,"17.6":0.23716,"18.0":0.03881},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.00063,"5.0-5.1":0.00031,"6.0-6.1":0.00188,"7.0-7.1":0.00219,"8.1-8.4":0,"9.0-9.2":0.00188,"9.3":0.00532,"10.0-10.2":0.00156,"10.3":0.00907,"11.0-11.2":0.03347,"11.3-11.4":0.0025,"12.0-12.1":0.00156,"12.2-12.5":0.03785,"13.0-13.1":0.00063,"13.2":0.01189,"13.3":0.00156,"13.4-13.7":0.00626,"14.0-14.4":0.01439,"14.5-14.8":0.01908,"15.0-15.1":0.01095,"15.2-15.3":0.01064,"15.4":0.0122,"15.5":0.01502,"15.6-15.8":0.1486,"16.0":0.03003,"16.1":0.05944,"16.2":0.02972,"16.3":0.05005,"16.4":0.01064,"16.5":0.02096,"16.6-16.7":0.17894,"17.0":0.01502,"17.1":0.02378,"17.2":0.02159,"17.3":0.03097,"17.4":0.06632,"17.5":0.31878,"17.6-17.7":1.69653,"18.0":0.21398,"18.1":0.0097},P:{"4":0.10723,"21":0.01072,"22":0.01072,"23":0.01072,"24":0.02145,"25":0.05362,"26":0.33242,_:"20 6.2-6.4 8.2 9.2 10.1 11.1-11.2 12.0 13.0 17.0 18.0 19.0","5.0-5.4":0.02145,"7.2-7.4":0.03217,"14.0":0.01072,"15.0":0.02145,"16.0":0.01072},I:{"0":0.09076,"3":0,"4":0,"2.1":0,"2.2":0,"2.3":0,"4.1":0.00001,"4.2-4.3":0.00004,"4.4":0,"4.4.3-4.4.4":0.00015},K:{"0":1.8218,_:"10 11 12 11.1 11.5 12.1"},A:{"11":0.04743,_:"6 7 8 9 10 5.5"},N:{_:"10 11"},S:{"2.5":0.37541,_:"3.0-3.1"},J:{_:"7 10"},O:{"0":0.96696},H:{"0":0.88},L:{"0":53.96892},R:{_:"0"},M:{"0":0.24458},Q:{"14.9":0.0455}}; diff --git a/node_modules/caniuse-lite/data/regions/MH.js b/node_modules/caniuse-lite/data/regions/MH.js index 7c0ccc355b..67ab2b0974 100644 --- a/node_modules/caniuse-lite/data/regions/MH.js +++ b/node_modules/caniuse-lite/data/regions/MH.js @@ -1 +1 @@ -module.exports={C:{"119":0.01054,"124":0.02635,"125":0.14226,"126":0.15807,_:"2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 120 121 122 123 127 128 129 3.5 3.6"},D:{"60":0.01054,"73":0.10538,"77":0.01054,"80":0.01054,"86":0.02635,"93":0.02635,"97":0.02635,"102":0.05269,"103":0.15807,"105":0.01054,"108":0.01054,"109":0.23184,"115":0.3741,"116":2.58181,"118":0.10538,"119":0.01054,"120":1.23295,"121":0.66389,"122":0.03688,"123":0.62174,"124":18.7313,"125":6.74959,_:"4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 61 62 63 64 65 66 67 68 69 70 71 72 74 75 76 78 79 81 83 84 85 87 88 89 90 91 92 94 95 96 98 99 100 101 104 106 107 110 111 112 113 114 117 126 127 128"},F:{"107":0.02635,"108":0.02635,"109":0.4426,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 60 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 110 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"92":0.02635,"101":0.01054,"109":0.01054,"113":0.07904,"119":0.64809,"120":1.84415,"121":1.67554,"122":0.02635,"123":0.02635,"124":4.39962,"125":6.33334,_:"12 13 14 15 16 17 18 79 80 81 83 84 85 86 87 88 89 90 91 93 94 95 96 97 98 99 100 102 103 104 105 106 107 108 110 111 112 114 115 116 117 118"},E:{_:"0 4 5 6 7 8 9 10 11 12 13 14 15 3.1 3.2 5.1 6.1 7.1 9.1 10.1 11.1 12.1 14.1 15.1 15.2-15.3 15.5 16.0 16.2 16.3 16.4 16.5 17.0 17.2 17.6","13.1":0.01054,"15.4":0.02635,"15.6":0.06323,"16.1":0.08957,"16.6":0.11592,"17.1":0.16861,"17.3":0.16861,"17.4":1.70189,"17.5":0.2213},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.00289,"5.0-5.1":0.00289,"6.0-6.1":0.00723,"7.0-7.1":0.01012,"8.1-8.4":0.00289,"9.0-9.2":0.00723,"9.3":0.03326,"10.0-10.2":0.00579,"10.3":0.05207,"11.0-11.2":0.07665,"11.3-11.4":0.01446,"12.0-12.1":0.00868,"12.2-12.5":0.20971,"13.0-13.1":0.00434,"13.2":0.02025,"13.3":0.01012,"13.4-13.7":0.04628,"14.0-14.4":0.07954,"14.5-14.8":0.12293,"15.0-15.1":0.0593,"15.2-15.3":0.06508,"15.4":0.07376,"15.5":0.09256,"15.6-15.8":0.83305,"16.0":0.18946,"16.1":0.39049,"16.2":0.18946,"16.3":0.3283,"16.4":0.06942,"16.5":0.14029,"16.6-16.7":1.11796,"17.0":0.12149,"17.1":0.19814,"17.2":0.20682,"17.3":0.38181,"17.4":8.67037,"17.5":0.61177,"17.6":0},P:{"21":0.04514,"23":0.01128,"24":0.25953,"25":1.33152,_:"4 20 22 5.0-5.4 6.2-6.4 8.2 9.2 10.1 11.1-11.2 12.0 13.0 14.0 15.0 16.0 17.0 18.0","7.2-7.4":0.01128,"19.0":0.01128},I:{"0":0.20264,"3":0,"4":0.00002,"2.1":0,"2.2":0,"2.3":0,"4.1":0.00004,"4.2-4.3":0.00012,"4.4":0,"4.4.3-4.4.4":0.00045},K:{"0":0.14666,_:"10 11 12 11.1 11.5 12.1"},A:{_:"6 7 8 9 10 11 5.5"},S:{_:"2.5 3.0-3.1"},J:{_:"7 10"},N:{_:"10 11"},L:{"0":32.12387},R:{_:"0"},M:{"0":0.20343},Q:{"14.9":0.16085},O:{"0":0.31698},H:{"0":0}}; +module.exports={C:{"115":0.05578,"125":0.17241,"129":0.05578,"130":0.72008,_:"2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 116 117 118 119 120 121 122 123 124 126 127 128 131 132 133 134 135 3.5 3.6"},D:{"73":0.13692,"92":0.24848,"97":0.01014,"103":0.02028,"109":0.15213,"111":0.04564,"116":2.33266,"120":0.65416,"125":0.06592,"126":0.56795,"127":1.01927,"128":14.20894,"129":3.59027,"130":0.01014,_:"4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 74 75 76 77 78 79 80 81 83 84 85 86 87 88 89 90 91 93 94 95 96 98 99 100 101 102 104 105 106 107 108 110 112 113 114 115 117 118 119 121 122 123 124 131 132 133"},F:{"112":0.01014,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 60 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 113 114 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"100":0.02028,"119":0.12678,"120":1.35396,"121":0.29919,"125":0.02028,"126":0.34483,"127":0.05578,"128":4.58926,"129":0.3854,_:"12 13 14 15 16 17 18 79 80 81 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 122 123 124 130"},E:{_:"0 4 5 6 7 8 9 10 11 12 13 14 15 3.1 3.2 5.1 6.1 7.1 9.1 10.1 11.1 12.1 13.1 15.1 15.2-15.3 15.4 15.5 16.0 16.2 16.3 17.0 17.4","14.1":0.36511,"15.6":0.06592,"16.1":0.04057,"16.4":0.03043,"16.5":0.01014,"16.6":0.03043,"17.1":0.24848,"17.2":0.04564,"17.3":0.78601,"17.5":0.41075,"17.6":3.49392,"18.0":0.78601,"18.1":0.22312},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.00132,"5.0-5.1":0.00066,"6.0-6.1":0.00395,"7.0-7.1":0.00461,"8.1-8.4":0,"9.0-9.2":0.00395,"9.3":0.01119,"10.0-10.2":0.00329,"10.3":0.0191,"11.0-11.2":0.07046,"11.3-11.4":0.00527,"12.0-12.1":0.00329,"12.2-12.5":0.07968,"13.0-13.1":0.00132,"13.2":0.02502,"13.3":0.00329,"13.4-13.7":0.01317,"14.0-14.4":0.03029,"14.5-14.8":0.04017,"15.0-15.1":0.02305,"15.2-15.3":0.02239,"15.4":0.02568,"15.5":0.03161,"15.6-15.8":0.31279,"16.0":0.06322,"16.1":0.12512,"16.2":0.06256,"16.3":0.10536,"16.4":0.02239,"16.5":0.04412,"16.6-16.7":0.37667,"17.0":0.03161,"17.1":0.05005,"17.2":0.04544,"17.3":0.06519,"17.4":0.13961,"17.5":0.67103,"17.6-17.7":3.57112,"18.0":0.45042,"18.1":0.02041},P:{"25":0.03089,"26":0.5355,_:"4 20 21 22 23 24 5.0-5.4 6.2-6.4 7.2-7.4 8.2 9.2 10.1 11.1-11.2 12.0 13.0 14.0 15.0 17.0 18.0 19.0","16.0":0.0103},I:{"0":0,"3":0,"4":0,"2.1":0,"2.2":0,"2.3":0,"4.1":0,"4.2-4.3":0,"4.4":0,"4.4.3-4.4.4":0},K:{"0":0.10844,_:"10 11 12 11.1 11.5 12.1"},A:{_:"6 7 8 9 10 11 5.5"},N:{_:"10 11"},S:{_:"2.5 3.0-3.1"},J:{_:"7 10"},O:{"0":0.53726},H:{"0":0},L:{"0":48.16949},R:{_:"0"},M:{"0":0.01972},Q:{_:"14.9"}}; diff --git a/node_modules/caniuse-lite/data/regions/MK.js b/node_modules/caniuse-lite/data/regions/MK.js index 663ec7bf75..616f7f7b30 100644 --- a/node_modules/caniuse-lite/data/regions/MK.js +++ b/node_modules/caniuse-lite/data/regions/MK.js @@ -1 +1 @@ -module.exports={C:{"5":0.00993,"34":0.00662,"40":0.00331,"42":0.00331,"44":0.00993,"48":0.00993,"51":0.01324,"52":0.08937,"56":0.02979,"61":0.00662,"68":0.00662,"77":0.01324,"78":0.00662,"82":0.00331,"88":0.00331,"89":0.00662,"94":0.00993,"99":0.00662,"105":0.00331,"106":0.00331,"107":0.00662,"108":0.00662,"109":0.00331,"110":0.00331,"111":0.00993,"113":0.00662,"114":0.00662,"115":0.36079,"118":0.00331,"120":0.00993,"121":0.00331,"122":0.00331,"123":0.00662,"124":0.0662,"125":0.82088,"126":0.82419,"127":0.00331,_:"2 3 4 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 35 36 37 38 39 41 43 45 46 47 49 50 53 54 55 57 58 59 60 62 63 64 65 66 67 69 70 71 72 73 74 75 76 79 80 81 83 84 85 86 87 90 91 92 93 95 96 97 98 100 101 102 103 104 112 116 117 119 128 129 3.5 3.6"},D:{"38":0.00331,"39":0.00331,"41":0.00331,"42":0.00331,"43":0.00331,"44":0.00331,"45":0.00331,"46":0.00662,"47":0.00331,"49":0.06951,"51":0.00662,"56":0.00331,"58":0.02317,"64":0.00331,"66":0.00331,"69":0.00662,"70":0.01324,"72":0.00993,"73":0.01655,"79":0.21846,"80":0.04634,"81":0.00331,"83":0.01986,"85":0.00331,"86":0.00331,"87":0.14564,"88":0.01986,"89":0.01655,"90":0.00993,"91":0.01655,"93":0.00331,"94":0.02979,"95":0.02317,"96":0.00331,"97":0.00331,"98":0.00331,"99":0.04965,"100":0.00331,"101":0.00331,"102":0.00993,"103":0.01324,"104":0.00331,"105":0.00662,"106":0.02979,"107":0.03972,"108":0.10261,"109":3.05513,"110":0.0662,"111":0.0331,"112":0.03641,"113":0.01324,"114":0.01655,"115":0.00662,"116":0.1324,"117":0.00331,"118":0.0331,"119":0.04634,"120":0.05627,"121":0.11585,"122":0.1655,"123":0.44023,"124":14.0344,"125":5.44495,"126":0.00331,_:"4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 40 48 50 52 53 54 55 57 59 60 61 62 63 65 67 68 71 74 75 76 77 78 84 92 127 128"},F:{"31":0.00331,"40":0.00331,"46":0.01986,"79":0.00662,"85":0.00331,"86":0.00331,"93":0.00331,"95":0.1324,"107":0.2317,"108":0.01324,"109":1.03603,"110":0.08275,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 32 33 34 35 36 37 38 39 41 42 43 44 45 47 48 49 50 51 52 53 54 55 56 57 58 60 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 80 81 82 83 84 87 88 89 90 91 92 94 96 97 98 99 100 101 102 103 104 105 106 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"92":0.00993,"105":0.00662,"106":0.01324,"107":0.01986,"108":0.01324,"109":0.02317,"110":0.00662,"111":0.01655,"113":0.00993,"114":0.00331,"117":0.00662,"119":0.00331,"120":0.01655,"121":0.00662,"122":0.01324,"123":0.09268,"124":1.1916,"125":0.69841,_:"12 13 14 15 16 17 18 79 80 81 83 84 85 86 87 88 89 90 91 93 94 95 96 97 98 99 100 101 102 103 104 112 115 116 118"},E:{"9":0.00993,"14":0.01324,"15":0.00331,_:"0 4 5 6 7 8 10 11 12 13 3.1 3.2 5.1 6.1 7.1 9.1 10.1 11.1 12.1 17.6","13.1":0.00993,"14.1":0.00662,"15.1":0.00331,"15.2-15.3":0.00331,"15.4":0.00331,"15.5":0.00331,"15.6":0.0331,"16.0":0.02317,"16.1":0.02648,"16.2":0.00993,"16.3":0.01324,"16.4":0.00331,"16.5":0.00662,"16.6":0.08606,"17.0":0.00662,"17.1":0.02979,"17.2":0.00993,"17.3":0.03641,"17.4":0.28797,"17.5":0.06289},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.0026,"5.0-5.1":0.0026,"6.0-6.1":0.0065,"7.0-7.1":0.00909,"8.1-8.4":0.0026,"9.0-9.2":0.0065,"9.3":0.02988,"10.0-10.2":0.0052,"10.3":0.04677,"11.0-11.2":0.06886,"11.3-11.4":0.01299,"12.0-12.1":0.0078,"12.2-12.5":0.18838,"13.0-13.1":0.0039,"13.2":0.01819,"13.3":0.00909,"13.4-13.7":0.04157,"14.0-14.4":0.07146,"14.5-14.8":0.11043,"15.0-15.1":0.05327,"15.2-15.3":0.05846,"15.4":0.06626,"15.5":0.08315,"15.6-15.8":0.74834,"16.0":0.17019,"16.1":0.35078,"16.2":0.17019,"16.3":0.29492,"16.4":0.06236,"16.5":0.12602,"16.6-16.7":1.00428,"17.0":0.10913,"17.1":0.17799,"17.2":0.18579,"17.3":0.34299,"17.4":7.78869,"17.5":0.54956,"17.6":0},P:{"4":0.38934,"20":0.02049,"21":0.03074,"22":0.04098,"23":0.10246,"24":0.21516,"25":2.64341,"5.0-5.4":0.09221,"6.2-6.4":0.05123,"7.2-7.4":0.01025,_:"8.2 10.1 12.0 15.0 18.0","9.2":0.01025,"11.1-11.2":0.02049,"13.0":0.06147,"14.0":0.01025,"16.0":0.01025,"17.0":0.01025,"19.0":0.02049},I:{"0":0.06664,"3":0,"4":0.00001,"2.1":0,"2.2":0,"2.3":0,"4.1":0.00001,"4.2-4.3":0.00004,"4.4":0,"4.4.3-4.4.4":0.00015},K:{"0":0.20739,_:"10 11 12 11.1 11.5 12.1"},A:{"7":0.00331,"8":0.03972,"9":0.01324,"10":0.00662,"11":0.05627,_:"6 5.5"},S:{_:"2.5 3.0-3.1"},J:{_:"7 10"},N:{_:"10 11"},L:{"0":50.66739},R:{_:"0"},M:{"0":0.23415},Q:{"14.9":0.00669},O:{"0":0.02676},H:{"0":0}}; +module.exports={C:{"48":0.00629,"51":0.00629,"52":0.07229,"56":0.01886,"61":0.00629,"77":0.00314,"78":0.00629,"85":0.00314,"89":0.00314,"94":0.01572,"105":0.00314,"106":0.00629,"108":0.00314,"109":0.00314,"111":0.01257,"113":0.00314,"114":0.00314,"115":0.39916,"118":0.00314,"123":0.00314,"124":0.00314,"125":0.00314,"126":0.00314,"127":0.01886,"128":0.02514,"129":0.46516,"130":1.56521,"131":0.00314,_:"2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 49 50 53 54 55 57 58 59 60 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 79 80 81 82 83 84 86 87 88 90 91 92 93 95 96 97 98 99 100 101 102 103 104 107 110 112 116 117 119 120 121 122 132 133 134 135 3.5 3.6"},D:{"49":0.02514,"53":0.01257,"56":0.00314,"58":0.00943,"60":0.00314,"63":0.00314,"64":0.01257,"65":0.00314,"66":0.00314,"69":0.01257,"70":0.00314,"71":0.00314,"72":0.00629,"73":0.00629,"75":0.00314,"79":0.13829,"83":0.01257,"85":0.00314,"86":0.00314,"87":0.10686,"88":0.02514,"89":0.00314,"90":0.04086,"91":0.01257,"92":0.00314,"93":0.00943,"94":0.01257,"95":0.04086,"97":0.01886,"98":0.00314,"99":0.03143,"100":0.00629,"101":0.00629,"102":0.00629,"103":0.022,"104":0.00314,"105":0.01886,"106":0.03772,"107":0.03457,"108":0.11315,"109":2.64012,"110":0.00943,"111":0.02829,"112":0.05029,"113":0.00314,"114":0.01886,"116":0.05029,"117":0.00314,"118":0.00629,"119":0.044,"120":0.02514,"121":0.022,"122":0.17287,"123":0.03457,"124":0.09115,"125":0.10058,"126":0.14458,"127":0.6066,"128":13.7852,"129":5.03194,"130":0.01886,_:"4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 50 51 52 54 55 57 59 61 62 67 68 74 76 77 78 80 81 84 96 115 131 132 133"},F:{"36":0.00629,"40":0.00943,"46":0.03143,"79":0.00943,"84":0.01886,"85":0.00314,"87":0.00314,"88":0.00314,"95":0.066,"102":0.00629,"109":0.022,"110":0.00314,"111":0.00629,"112":0.47774,"113":0.4023,"114":0.00314,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 37 38 39 41 42 43 44 45 47 48 49 50 51 52 53 54 55 56 57 58 60 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 80 81 82 83 86 89 90 91 92 93 94 96 97 98 99 100 101 103 104 105 106 107 108 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"12":0.00314,"92":0.00629,"105":0.00314,"107":0.01572,"108":0.01572,"109":0.01886,"111":0.00314,"114":0.00314,"121":0.00314,"122":0.022,"123":0.00629,"124":0.00314,"125":0.00943,"126":0.05029,"127":0.05029,"128":1.46778,"129":0.6506,_:"13 14 15 16 17 18 79 80 81 83 84 85 86 87 88 89 90 91 93 94 95 96 97 98 99 100 101 102 103 104 106 110 112 113 115 116 117 118 119 120 130"},E:{"14":0.00314,_:"0 4 5 6 7 8 9 10 11 12 13 15 3.1 3.2 5.1 6.1 7.1 9.1 10.1 11.1 12.1 15.2-15.3 15.4 15.5 16.0","13.1":0.00943,"14.1":0.00943,"15.1":0.00314,"15.6":0.04715,"16.1":0.00629,"16.2":0.00314,"16.3":0.00943,"16.4":0.00314,"16.5":0.00943,"16.6":0.04086,"17.0":0.00629,"17.1":0.01572,"17.2":0.00629,"17.3":0.01572,"17.4":0.02829,"17.5":0.03457,"17.6":0.30173,"18.0":0.03772,"18.1":0.00314},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.003,"5.0-5.1":0.0015,"6.0-6.1":0.009,"7.0-7.1":0.01051,"8.1-8.4":0,"9.0-9.2":0.009,"9.3":0.02551,"10.0-10.2":0.0075,"10.3":0.04352,"11.0-11.2":0.16058,"11.3-11.4":0.01201,"12.0-12.1":0.0075,"12.2-12.5":0.18159,"13.0-13.1":0.003,"13.2":0.05703,"13.3":0.0075,"13.4-13.7":0.03002,"14.0-14.4":0.06904,"14.5-14.8":0.09155,"15.0-15.1":0.05253,"15.2-15.3":0.05103,"15.4":0.05853,"15.5":0.07204,"15.6-15.8":0.71287,"16.0":0.14407,"16.1":0.28515,"16.2":0.14257,"16.3":0.24012,"16.4":0.05103,"16.5":0.10055,"16.6-16.7":0.85845,"17.0":0.07204,"17.1":0.11406,"17.2":0.10355,"17.3":0.14858,"17.4":0.31817,"17.5":1.52929,"17.6-17.7":8.13872,"18.0":1.02653,"18.1":0.04652},P:{"4":0.15273,"20":0.03055,"21":0.02036,"22":0.04073,"23":0.05091,"24":0.03055,"25":0.22401,"26":2.3419,"5.0-5.4":0.07128,"6.2-6.4":0.05091,"7.2-7.4":0.01018,_:"8.2 10.1 12.0 14.0 15.0 17.0 18.0","9.2":0.01018,"11.1-11.2":0.01018,"13.0":0.01018,"16.0":0.01018,"19.0":0.01018},I:{"0":0.04786,"3":0,"4":0,"2.1":0,"2.2":0,"2.3":0,"4.1":0,"4.2-4.3":0.00002,"4.4":0,"4.4.3-4.4.4":0.00008},K:{"0":0.14769,_:"10 11 12 11.1 11.5 12.1"},A:{"8":0.02567,"9":0.01833,"10":0.00367,"11":0.01833,_:"6 7 5.5"},N:{_:"10 11"},S:{_:"2.5 3.0-3.1"},J:{_:"7 10"},O:{"0":0.00686},H:{"0":0.01},L:{"0":50.78429},R:{_:"0"},M:{"0":0.18511},Q:{_:"14.9"}}; diff --git a/node_modules/caniuse-lite/data/regions/ML.js b/node_modules/caniuse-lite/data/regions/ML.js index 32ced8e34a..0bdaacbcf1 100644 --- a/node_modules/caniuse-lite/data/regions/ML.js +++ b/node_modules/caniuse-lite/data/regions/ML.js @@ -1 +1 @@ -module.exports={C:{"48":0.00128,"60":0.00128,"76":0.00128,"78":0.00255,"102":0.00894,"115":0.09194,"116":0.00128,"117":0.00128,"119":0.00128,"122":0.00255,"123":0.00128,"124":0.01405,"125":0.33074,"126":0.23625,"127":0.00255,_:"2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 49 50 51 52 53 54 55 56 57 58 59 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 77 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 103 104 105 106 107 108 109 110 111 112 113 114 118 120 121 128 129 3.5 3.6"},D:{"36":0.00128,"43":0.00128,"49":0.00255,"55":0.00128,"58":0.00128,"63":0.00128,"66":0.00128,"70":0.00128,"72":0.00128,"75":0.00511,"77":0.00128,"78":0.00128,"79":0.00639,"80":0.00128,"83":0.00511,"84":0.00255,"86":0.00511,"87":0.00383,"88":0.00128,"91":0.00511,"92":0.00639,"94":0.00383,"95":0.00255,"97":0.00128,"98":0.00128,"99":0.00639,"100":0.00128,"102":0.00255,"103":0.02426,"104":0.00128,"106":0.00128,"107":0.01916,"109":0.29882,"111":0.00255,"113":0.00128,"114":0.01022,"115":0.00128,"116":0.0166,"117":0.00511,"118":0.00128,"119":0.00511,"120":0.00639,"121":0.01149,"122":0.03065,"123":0.08428,"124":3.30105,"125":1.58987,_:"4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 37 38 39 40 41 42 44 45 46 47 48 50 51 52 53 54 56 57 59 60 61 62 64 65 67 68 69 71 73 74 76 81 85 89 90 93 96 101 105 108 110 112 126 127 128"},F:{"46":0.00255,"95":0.00383,"107":0.00766,"108":0.00255,"109":0.09067,"110":0.00894,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 47 48 49 50 51 52 53 54 55 56 57 58 60 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 96 97 98 99 100 101 102 103 104 105 106 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"12":0.00255,"13":0.0332,"16":0.00128,"17":0.00128,"18":0.00894,"84":0.00383,"85":0.00128,"89":0.00128,"90":0.00511,"92":0.00383,"98":0.00128,"100":0.00255,"103":0.00128,"109":0.04725,"113":0.00128,"114":0.00255,"115":0.02171,"117":0.00128,"118":0.00128,"119":0.00383,"120":0.00383,"121":0.00639,"122":0.0166,"123":0.01532,"124":1.02926,"125":0.49037,_:"14 15 79 80 81 83 86 87 88 91 93 94 95 96 97 99 101 102 104 105 106 107 108 110 111 112 116"},E:{"13":0.00128,"14":0.00766,_:"0 4 5 6 7 8 9 10 11 12 15 3.1 3.2 5.1 6.1 7.1 9.1 10.1 12.1 15.1 15.5 16.0 16.1 16.4 17.6","11.1":0.00255,"13.1":0.04725,"14.1":0.00128,"15.2-15.3":0.01788,"15.4":0.00255,"15.6":0.02299,"16.2":0.00128,"16.3":0.00128,"16.5":0.00511,"16.6":0.00639,"17.0":0.00255,"17.1":0.00255,"17.2":0.03703,"17.3":0.00511,"17.4":0.02426,"17.5":0.00766},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.00253,"5.0-5.1":0.00253,"6.0-6.1":0.00632,"7.0-7.1":0.00885,"8.1-8.4":0.00253,"9.0-9.2":0.00632,"9.3":0.02907,"10.0-10.2":0.00506,"10.3":0.0455,"11.0-11.2":0.06698,"11.3-11.4":0.01264,"12.0-12.1":0.00758,"12.2-12.5":0.18325,"13.0-13.1":0.00379,"13.2":0.01769,"13.3":0.00885,"13.4-13.7":0.04044,"14.0-14.4":0.06951,"14.5-14.8":0.10742,"15.0-15.1":0.05182,"15.2-15.3":0.05687,"15.4":0.06445,"15.5":0.08088,"15.6-15.8":0.72796,"16.0":0.16556,"16.1":0.34123,"16.2":0.16556,"16.3":0.28689,"16.4":0.06066,"16.5":0.12259,"16.6-16.7":0.97693,"17.0":0.10616,"17.1":0.17314,"17.2":0.18073,"17.3":0.33365,"17.4":7.57659,"17.5":0.53459,"17.6":0},P:{"4":0.14393,"20":0.03084,"21":0.15421,"22":0.32898,"23":0.39067,"24":0.24674,"25":0.75049,_:"5.0-5.4 6.2-6.4 8.2 11.1-11.2 13.0 15.0","7.2-7.4":0.44207,"9.2":0.03084,"10.1":0.02056,"12.0":0.02056,"14.0":0.02056,"16.0":0.04112,"17.0":0.02056,"18.0":0.01028,"19.0":0.0514},I:{"0":0,"3":0,"4":0,"2.1":0,"2.2":0,"2.3":0,"4.1":0,"4.2-4.3":0,"4.4":0,"4.4.3-4.4.4":0},K:{"0":0.3531,_:"10 11 12 11.1 11.5 12.1"},A:{"11":0.00383,_:"6 7 8 9 10 5.5"},S:{"2.5":0.157,_:"3.0-3.1"},J:{_:"7 10"},N:{_:"10 11"},L:{"0":75.09686},R:{_:"0"},M:{"0":0.13955},Q:{"14.9":0.00872},O:{"0":0.14827},H:{"0":0.24}}; +module.exports={C:{"69":0.00124,"72":0.00124,"78":0.00248,"99":0.00248,"104":0.00124,"109":0.00124,"111":0.00124,"114":0.00124,"115":0.1239,"120":0.00248,"122":0.00124,"124":0.00124,"126":0.00124,"127":0.00991,"128":0.00124,"129":0.09045,"130":0.46463,_:"2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 70 71 73 74 75 76 77 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 100 101 102 103 105 106 107 108 110 112 113 116 117 118 119 121 123 125 131 132 133 134 135 3.5 3.6"},D:{"49":0.00372,"63":0.00124,"65":0.00124,"66":0.00124,"68":0.00124,"70":0.00248,"72":0.00124,"73":0.00124,"74":0.00124,"75":0.00248,"77":0.00124,"78":0.00124,"79":0.01115,"80":0.00248,"81":0.00248,"83":0.03469,"84":0.00124,"86":0.00124,"87":0.01239,"88":0.00867,"89":0.00248,"93":0.00248,"94":0.00124,"95":0.00248,"98":0.0062,"99":0.00248,"100":0.00124,"102":0.00248,"103":0.01611,"104":0.00124,"105":0.00124,"106":0.00124,"107":0.00743,"108":0.00124,"109":0.32957,"111":0.00372,"113":0.00372,"114":0.00496,"116":0.01239,"117":0.00124,"118":0.00496,"119":0.00867,"120":0.00496,"121":0.17842,"122":0.01859,"123":0.03098,"124":0.09416,"125":0.01239,"126":0.03345,"127":0.14868,"128":3.20034,"129":1.2167,_:"4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 50 51 52 53 54 55 56 57 58 59 60 61 62 64 67 69 71 76 85 90 91 92 96 97 101 110 112 115 130 131 132 133"},F:{"46":0.00124,"64":0.00124,"79":0.00124,"84":0.00743,"95":0.02602,"108":0.00248,"111":0.00124,"112":0.16231,"113":0.05328,"114":0.00372,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 47 48 49 50 51 52 53 54 55 56 57 58 60 62 63 65 66 67 68 69 70 71 72 73 74 75 76 77 78 80 81 82 83 85 86 87 88 89 90 91 92 93 94 96 97 98 99 100 101 102 103 104 105 106 107 109 110 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"12":0.00248,"13":0.06319,"16":0.00248,"17":0.00124,"18":0.0062,"84":0.00124,"89":0.00124,"90":0.00248,"92":0.00991,"100":0.00372,"109":0.0285,"115":0.00124,"120":0.00372,"121":0.00248,"122":0.01115,"123":0.00124,"124":0.00124,"125":0.03841,"126":0.02602,"127":0.02354,"128":1.10519,"129":0.50551,_:"14 15 79 80 81 83 85 86 87 88 91 93 94 95 96 97 98 99 101 102 103 104 105 106 107 108 110 111 112 113 114 116 117 118 119 130"},E:{"11":0.00248,_:"0 4 5 6 7 8 9 10 12 13 14 15 3.1 3.2 5.1 6.1 7.1 9.1 10.1 11.1 12.1 15.1 15.2-15.3 15.4 15.5 16.1 16.3 16.4 16.5 18.1","13.1":0.04708,"14.1":0.00743,"15.6":0.00991,"16.0":0.00248,"16.2":0.00124,"16.6":0.01735,"17.0":0.00124,"17.1":0.00248,"17.2":0.02354,"17.3":0.00124,"17.4":0.00743,"17.5":0.00867,"17.6":0.04956,"18.0":0.02106},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.0027,"5.0-5.1":0.00135,"6.0-6.1":0.0081,"7.0-7.1":0.00944,"8.1-8.4":0,"9.0-9.2":0.0081,"9.3":0.02294,"10.0-10.2":0.00675,"10.3":0.03913,"11.0-11.2":0.14436,"11.3-11.4":0.01079,"12.0-12.1":0.00675,"12.2-12.5":0.16325,"13.0-13.1":0.0027,"13.2":0.05127,"13.3":0.00675,"13.4-13.7":0.02698,"14.0-14.4":0.06206,"14.5-14.8":0.0823,"15.0-15.1":0.04722,"15.2-15.3":0.04587,"15.4":0.05262,"15.5":0.06476,"15.6-15.8":0.64087,"16.0":0.12952,"16.1":0.25635,"16.2":0.12817,"16.3":0.21587,"16.4":0.04587,"16.5":0.0904,"16.6-16.7":0.77174,"17.0":0.06476,"17.1":0.10254,"17.2":0.09309,"17.3":0.13357,"17.4":0.28603,"17.5":1.37483,"17.6-17.7":7.31668,"18.0":0.92285,"18.1":0.04183},P:{"4":0.08235,"20":0.01029,"21":0.02059,"22":0.13382,"23":0.11324,"24":0.175,"25":0.32941,"26":0.61765,"5.0-5.4":0.01029,_:"6.2-6.4 8.2 10.1 12.0 15.0 17.0","7.2-7.4":0.26765,"9.2":0.01029,"11.1-11.2":0.01029,"13.0":0.07206,"14.0":0.01029,"16.0":0.07206,"18.0":0.01029,"19.0":0.11324},I:{"0":0.00874,"3":0,"4":0,"2.1":0,"2.2":0,"2.3":0,"4.1":0,"4.2-4.3":0,"4.4":0,"4.4.3-4.4.4":0.00001},K:{"0":0.21531,_:"10 11 12 11.1 11.5 12.1"},A:{_:"6 7 8 9 10 11 5.5"},N:{_:"10 11"},S:{"2.5":0.06133,_:"3.0-3.1"},J:{_:"7 10"},O:{"0":0.11389},H:{"0":0.03},L:{"0":75.18765},R:{_:"0"},M:{"0":0.12265},Q:{_:"14.9"}}; diff --git a/node_modules/caniuse-lite/data/regions/MM.js b/node_modules/caniuse-lite/data/regions/MM.js index d7ab2682c1..d08fc96755 100644 --- a/node_modules/caniuse-lite/data/regions/MM.js +++ b/node_modules/caniuse-lite/data/regions/MM.js @@ -1 +1 @@ -module.exports={C:{"40":0.00226,"41":0.00226,"49":0.00226,"61":0.00226,"69":0.00226,"72":0.01355,"73":0.00226,"83":0.00226,"84":0.00226,"94":0.00226,"99":0.00226,"102":0.00226,"106":0.00226,"107":0.00226,"108":0.00452,"109":0.00226,"110":0.00226,"111":0.00226,"112":0.00226,"113":0.00677,"114":0.00226,"115":0.20322,"116":0.00226,"117":0.00226,"118":0.00226,"119":0.00677,"120":0.00452,"121":0.00903,"122":0.01129,"123":0.02484,"124":0.03839,"125":0.89191,"126":0.94159,"127":0.0429,_:"2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 42 43 44 45 46 47 48 50 51 52 53 54 55 56 57 58 59 60 62 63 64 65 66 67 68 70 71 74 75 76 77 78 79 80 81 82 85 86 87 88 89 90 91 92 93 95 96 97 98 100 101 103 104 105 128 129 3.5","3.6":0.00226},D:{"11":0.00226,"21":0.00226,"31":0.00226,"32":0.00452,"37":0.00226,"38":0.00452,"39":0.00226,"40":0.00226,"41":0.00226,"42":0.00226,"43":0.00452,"44":0.00226,"45":0.00226,"46":0.00452,"47":0.00226,"49":0.00226,"51":0.00452,"53":0.00226,"55":0.00226,"56":0.00226,"62":0.00677,"63":0.00452,"67":0.00226,"68":0.00677,"70":0.00903,"71":0.00903,"72":0.00452,"74":0.00677,"76":0.00226,"78":0.00226,"79":0.02258,"80":0.00677,"81":0.00452,"83":0.00226,"84":0.00226,"85":0.00226,"86":0.00226,"87":0.02484,"88":0.00903,"89":0.01129,"90":0.00452,"91":0.00452,"92":0.00452,"94":0.00226,"95":0.00677,"96":0.00452,"97":0.00677,"98":0.00226,"99":0.02935,"100":0.00452,"101":0.00226,"102":0.00452,"103":0.01355,"104":0.00226,"105":0.00677,"106":0.00903,"107":0.01129,"108":0.00452,"109":0.57579,"110":0.00452,"111":0.01355,"112":0.00903,"113":0.00903,"114":0.05193,"115":0.00677,"116":0.07451,"117":0.01581,"118":0.01129,"119":0.02935,"120":0.04742,"121":0.09709,"122":0.1129,"123":0.26193,"124":7.57107,"125":3.49087,"126":0.00452,_:"4 5 6 7 8 9 10 12 13 14 15 16 17 18 19 20 22 23 24 25 26 27 28 29 30 33 34 35 36 48 50 52 54 57 58 59 60 61 64 65 66 69 73 75 77 93 127 128"},F:{"82":0.00226,"83":0.01806,"95":0.00452,"105":0.00226,"106":0.00226,"107":0.0429,"108":0.02032,"109":0.32741,"110":0.02935,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 60 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 84 85 86 87 88 89 90 91 92 93 94 96 97 98 99 100 101 102 103 104 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"12":0.00452,"14":0.00452,"15":0.00226,"16":0.00226,"17":0.00452,"18":0.02484,"84":0.00226,"89":0.00452,"90":0.00226,"92":0.04064,"100":0.00677,"107":0.00226,"109":0.01806,"110":0.00226,"111":0.00226,"113":0.00226,"114":0.00452,"115":0.00226,"116":0.00226,"117":0.00226,"118":0.00226,"119":0.00452,"120":0.00677,"121":0.01129,"122":0.05419,"123":0.02484,"124":1.45867,"125":0.8332,_:"13 79 80 81 83 85 86 87 88 91 93 94 95 96 97 98 99 101 102 103 104 105 106 108 112"},E:{"9":0.00677,"14":0.02258,"15":0.00452,_:"0 4 5 6 7 8 10 11 12 13 3.1 3.2 5.1 6.1 7.1 9.1 10.1 11.1 17.6","12.1":0.00226,"13.1":0.00677,"14.1":0.0271,"15.1":0.00903,"15.2-15.3":0.00226,"15.4":0.00226,"15.5":0.01581,"15.6":0.07226,"16.0":0.00226,"16.1":0.01581,"16.2":0.00677,"16.3":0.03839,"16.4":0.00903,"16.5":0.01355,"16.6":0.09032,"17.0":0.02258,"17.1":0.02032,"17.2":0.01806,"17.3":0.04064,"17.4":0.41547,"17.5":0.07677},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.00133,"5.0-5.1":0.00133,"6.0-6.1":0.00333,"7.0-7.1":0.00467,"8.1-8.4":0.00133,"9.0-9.2":0.00333,"9.3":0.01533,"10.0-10.2":0.00267,"10.3":0.024,"11.0-11.2":0.03533,"11.3-11.4":0.00667,"12.0-12.1":0.004,"12.2-12.5":0.09665,"13.0-13.1":0.002,"13.2":0.00933,"13.3":0.00467,"13.4-13.7":0.02133,"14.0-14.4":0.03666,"14.5-14.8":0.05666,"15.0-15.1":0.02733,"15.2-15.3":0.03,"15.4":0.034,"15.5":0.04266,"15.6-15.8":0.38395,"16.0":0.08732,"16.1":0.17998,"16.2":0.08732,"16.3":0.15132,"16.4":0.032,"16.5":0.06466,"16.6-16.7":0.51527,"17.0":0.05599,"17.1":0.09132,"17.2":0.09532,"17.3":0.17598,"17.4":3.99618,"17.5":0.28197,"17.6":0},P:{"4":0.08456,"20":0.01057,"21":0.03171,"22":0.03171,"23":0.06342,"24":0.21139,"25":0.68702,_:"5.0-5.4 6.2-6.4 8.2 9.2 10.1 11.1-11.2 13.0 14.0 15.0 16.0","7.2-7.4":0.03171,"12.0":0.01057,"17.0":0.01057,"18.0":0.01057,"19.0":0.03171},I:{"0":0.70177,"3":0,"4":0.00007,"2.1":0,"2.2":0,"2.3":0,"4.1":0.00014,"4.2-4.3":0.00042,"4.4":0,"4.4.3-4.4.4":0.00155},K:{"0":0.34065,_:"10 11 12 11.1 11.5 12.1"},A:{"7":0.00358,"8":0.0286,"9":0.00715,"10":0.00358,"11":0.0429,_:"6 5.5"},S:{_:"2.5 3.0-3.1"},J:{_:"7 10"},N:{_:"10 11"},L:{"0":70.26788},R:{_:"0"},M:{"0":0.13161},Q:{"14.9":0.05419},O:{"0":1.23872},H:{"0":0}}; +module.exports={C:{"43":0.00254,"44":0.00254,"46":0.00254,"47":0.00254,"57":0.00254,"60":0.00254,"72":0.00507,"78":0.00254,"88":0.00507,"92":0.00254,"94":0.00254,"106":0.00254,"107":0.00254,"108":0.00254,"110":0.00254,"111":0.00254,"112":0.00254,"115":0.27907,"118":0.00254,"119":0.00254,"120":0.00507,"121":0.00507,"122":0.00761,"123":0.00507,"124":0.01015,"125":0.00254,"126":0.00507,"127":0.05581,"128":0.01522,"129":0.42114,"130":2.08288,"131":0.04059,_:"2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 45 48 49 50 51 52 53 54 55 56 58 59 61 62 63 64 65 66 67 68 69 70 71 73 74 75 76 77 79 80 81 82 83 84 85 86 87 89 90 91 93 95 96 97 98 99 100 101 102 103 104 105 109 113 114 116 117 132 133 134 135 3.5 3.6"},D:{"11":0.00254,"32":0.00254,"35":0.00254,"37":0.02537,"38":0.00254,"43":0.00254,"50":0.00254,"53":0.00254,"55":0.00254,"56":0.00254,"57":0.00254,"58":0.00254,"59":0.00254,"61":0.00254,"62":0.00507,"63":0.00254,"65":0.00254,"67":0.00507,"69":0.00254,"70":0.01015,"71":0.01522,"72":0.00254,"74":0.00761,"75":0.00254,"76":0.00254,"78":0.01015,"79":0.00761,"80":0.00761,"81":0.00254,"83":0.00254,"86":0.00254,"87":0.02537,"88":0.00761,"89":0.01015,"90":0.00507,"91":0.00761,"92":0.00254,"93":0.00254,"94":0.00761,"95":0.00761,"96":0.00254,"97":0.00507,"98":0.00507,"99":0.03044,"100":0.00254,"101":0.00254,"102":0.00507,"103":0.01269,"104":0.00254,"105":0.00761,"106":0.01269,"107":0.01015,"108":0.02283,"109":0.69514,"110":0.00761,"111":0.00507,"112":0.01522,"113":0.00761,"114":0.01522,"115":0.00761,"116":0.04059,"117":0.02283,"118":0.01776,"119":0.02537,"120":0.04059,"121":0.02283,"122":0.07357,"123":0.06089,"124":0.09641,"125":0.04313,"126":0.10909,"127":0.37801,"128":9.80551,"129":3.1814,"130":0.01269,_:"4 5 6 7 8 9 10 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 33 34 36 39 40 41 42 44 45 46 47 48 49 51 52 54 60 64 66 68 73 77 84 85 131 132 133"},F:{"46":0.00254,"79":0.00254,"82":0.00507,"83":0.00254,"84":0.00507,"85":0.00254,"95":0.00761,"101":0.00254,"106":0.00254,"107":0.00254,"108":0.00254,"109":0.07611,"110":0.01776,"111":0.0203,"112":0.16491,"113":0.13446,"114":0.00254,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 47 48 49 50 51 52 53 54 55 56 57 58 60 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 80 81 86 87 88 89 90 91 92 93 94 96 97 98 99 100 102 103 104 105 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"16":0.00254,"17":0.00254,"18":0.03298,"84":0.00254,"89":0.00254,"90":0.00507,"92":0.03298,"100":0.00507,"105":0.00254,"109":0.02283,"113":0.00254,"114":0.00254,"115":0.00254,"117":0.00254,"119":0.00254,"120":0.00254,"121":0.00254,"122":0.00254,"123":0.00254,"124":0.00761,"125":0.00507,"126":0.02283,"127":0.05074,"128":1.92558,"129":0.66723,_:"12 13 14 15 79 80 81 83 85 86 87 88 91 93 94 95 96 97 98 99 101 102 103 104 106 107 108 110 111 112 116 118 130"},E:{"14":0.01015,_:"0 4 5 6 7 8 9 10 11 12 13 15 3.1 3.2 5.1 6.1 7.1 9.1 10.1 11.1","12.1":0.00254,"13.1":0.01015,"14.1":0.0203,"15.1":0.01015,"15.2-15.3":0.00254,"15.4":0.00761,"15.5":0.00507,"15.6":0.07865,"16.0":0.00761,"16.1":0.03044,"16.2":0.00761,"16.3":0.03298,"16.4":0.01015,"16.5":0.01269,"16.6":0.05835,"17.0":0.00761,"17.1":0.01776,"17.2":0.01015,"17.3":0.01776,"17.4":0.03298,"17.5":0.13954,"17.6":0.59112,"18.0":0.12178,"18.1":0.00507},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.00097,"5.0-5.1":0.00048,"6.0-6.1":0.00291,"7.0-7.1":0.00339,"8.1-8.4":0,"9.0-9.2":0.00291,"9.3":0.00823,"10.0-10.2":0.00242,"10.3":0.01405,"11.0-11.2":0.05183,"11.3-11.4":0.00387,"12.0-12.1":0.00242,"12.2-12.5":0.05861,"13.0-13.1":0.00097,"13.2":0.01841,"13.3":0.00242,"13.4-13.7":0.00969,"14.0-14.4":0.02228,"14.5-14.8":0.02955,"15.0-15.1":0.01695,"15.2-15.3":0.01647,"15.4":0.01889,"15.5":0.02325,"15.6-15.8":0.23007,"16.0":0.0465,"16.1":0.09203,"16.2":0.04601,"16.3":0.0775,"16.4":0.01647,"16.5":0.03245,"16.6-16.7":0.27705,"17.0":0.02325,"17.1":0.03681,"17.2":0.03342,"17.3":0.04795,"17.4":0.10268,"17.5":0.49355,"17.6-17.7":2.62662,"18.0":0.33129,"18.1":0.01501},P:{"4":0.0728,"21":0.0208,"22":0.0312,"23":0.0208,"24":0.0104,"25":0.23921,"26":0.50963,_:"20 5.0-5.4 6.2-6.4 8.2 9.2 10.1 11.1-11.2 12.0 14.0 15.0 18.0","7.2-7.4":0.0312,"13.0":0.0104,"16.0":0.0104,"17.0":0.0104,"19.0":0.0104},I:{"0":0.23817,"3":0,"4":0,"2.1":0,"2.2":0,"2.3":0,"4.1":0.00002,"4.2-4.3":0.0001,"4.4":0,"4.4.3-4.4.4":0.00038},K:{"0":0.25374,_:"10 11 12 11.1 11.5 12.1"},A:{"11":0.02791,_:"6 7 8 9 10 5.5"},N:{_:"10 11"},S:{_:"2.5 3.0-3.1"},J:{_:"7 10"},O:{"0":1.32095},H:{"0":0},L:{"0":69.32844},R:{_:"0"},M:{"0":0.14926},Q:{"14.9":0.0597}}; diff --git a/node_modules/caniuse-lite/data/regions/MN.js b/node_modules/caniuse-lite/data/regions/MN.js index 97c96882b8..a183bb8cbb 100644 --- a/node_modules/caniuse-lite/data/regions/MN.js +++ b/node_modules/caniuse-lite/data/regions/MN.js @@ -1 +1 @@ -module.exports={C:{"3":0.00476,"4":0.00476,"35":0.00476,"40":0.00476,"78":0.00476,"99":0.00476,"102":0.00951,"115":0.18545,"123":0.00951,"124":0.02853,"125":0.91772,"126":0.59438,"127":0.00476,_:"2 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 36 37 38 39 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 100 101 103 104 105 106 107 108 109 110 111 112 113 114 116 117 118 119 120 121 122 128 129 3.5","3.6":0.00476},D:{"31":0.00476,"37":0.00476,"39":0.00476,"40":0.00476,"41":0.00476,"42":0.00476,"43":0.01427,"44":0.01902,"45":0.00951,"46":0.00951,"47":0.00951,"49":0.00951,"51":0.01427,"68":0.00476,"70":0.05706,"72":0.00476,"74":0.00951,"79":0.01902,"80":0.01427,"81":0.00476,"83":0.00476,"86":0.00951,"87":0.00476,"88":0.00476,"91":0.00476,"92":0.00476,"94":0.00951,"96":0.00476,"97":0.00476,"99":0.02853,"102":0.01902,"103":0.03329,"104":0.00951,"105":0.00951,"106":0.00951,"107":0.00951,"108":0.01427,"109":2.82447,"110":0.00476,"111":0.01427,"112":0.00951,"113":0.00476,"114":0.00951,"115":0.03329,"116":0.09035,"117":0.03329,"118":0.03804,"119":0.10461,"120":0.29006,"121":0.13314,"122":0.29006,"123":0.68472,"124":20.11365,"125":6.4668,"126":0.02378,"127":0.00476,_:"4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 32 33 34 35 36 38 48 50 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 69 71 73 75 76 77 78 84 85 89 90 93 95 98 100 101 128"},F:{"31":0.00476,"79":0.00476,"95":0.02853,"106":0.00476,"107":0.35663,"108":0.01427,"109":1.67376,"110":0.07608,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 60 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 96 97 98 99 100 101 102 103 104 105 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6","12.1":0.00476},B:{"12":0.00951,"13":0.00476,"16":0.00476,"17":0.00476,"18":0.01427,"90":0.00476,"92":0.03329,"100":0.00951,"109":0.06657,"111":0.00476,"112":0.00951,"113":0.00476,"114":0.00476,"115":0.00476,"116":0.00476,"117":0.01902,"118":0.01902,"119":0.02378,"120":0.02378,"121":0.03329,"122":0.06657,"123":0.15216,"124":4.52676,"125":2.06367,_:"14 15 79 80 81 83 84 85 86 87 88 89 91 93 94 95 96 97 98 99 101 102 103 104 105 106 107 108 110"},E:{"9":0.03329,"13":0.00476,"14":0.11888,"15":0.00476,_:"0 4 5 6 7 8 10 11 12 3.1 3.2 5.1 6.1 7.1 9.1 10.1 11.1 17.6","12.1":0.00476,"13.1":0.01427,"14.1":0.0951,"15.1":0.02378,"15.2-15.3":0.01902,"15.4":0.00951,"15.5":0.01902,"15.6":0.10937,"16.0":0.02378,"16.1":0.04755,"16.2":0.0428,"16.3":0.06657,"16.4":0.05231,"16.5":0.03329,"16.6":0.18545,"17.0":0.02378,"17.1":0.06182,"17.2":0.0951,"17.3":0.05706,"17.4":0.82262,"17.5":0.15216},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.00342,"5.0-5.1":0.00342,"6.0-6.1":0.00854,"7.0-7.1":0.01196,"8.1-8.4":0.00342,"9.0-9.2":0.00854,"9.3":0.0393,"10.0-10.2":0.00684,"10.3":0.06152,"11.0-11.2":0.09057,"11.3-11.4":0.01709,"12.0-12.1":0.01025,"12.2-12.5":0.24778,"13.0-13.1":0.00513,"13.2":0.02392,"13.3":0.01196,"13.4-13.7":0.05468,"14.0-14.4":0.09399,"14.5-14.8":0.14525,"15.0-15.1":0.07006,"15.2-15.3":0.0769,"15.4":0.08715,"15.5":0.10936,"15.6-15.8":0.98428,"16.0":0.22386,"16.1":0.46138,"16.2":0.22386,"16.3":0.3879,"16.4":0.08202,"16.5":0.16576,"16.6-16.7":1.32092,"17.0":0.14354,"17.1":0.23411,"17.2":0.24436,"17.3":0.45113,"17.4":10.24438,"17.5":0.72283,"17.6":0},P:{"4":0.12315,"20":0.02053,"21":0.04105,"22":0.10263,"23":0.28735,"24":0.29762,"25":2.45277,"5.0-5.4":0.02053,"6.2-6.4":0.05131,"7.2-7.4":0.03079,_:"8.2 10.1 12.0 14.0 15.0","9.2":0.01026,"11.1-11.2":0.01026,"13.0":0.01026,"16.0":0.01026,"17.0":0.02053,"18.0":0.01026,"19.0":0.04105},I:{"0":0.17241,"3":0,"4":0.00002,"2.1":0,"2.2":0,"2.3":0,"4.1":0.00003,"4.2-4.3":0.0001,"4.4":0,"4.4.3-4.4.4":0.00038},K:{"0":0.12588,_:"10 11 12 11.1 11.5 12.1"},A:{"6":0.00499,"7":0.00997,"8":0.08478,"9":0.00997,"10":0.01496,"11":0.0748,_:"5.5"},S:{"2.5":0.00525,_:"3.0-3.1"},J:{_:"7 10"},N:{_:"10 11"},L:{"0":33.02643},R:{_:"0"},M:{"0":0.13637},Q:{"14.9":0.03672},O:{"0":0.23078},H:{"0":0}}; +module.exports={C:{"89":0.00416,"99":0.00416,"102":0.00416,"103":0.00416,"112":0.00416,"114":0.00832,"115":0.15816,"119":0.00416,"124":0.00416,"126":0.00416,"127":0.01665,"129":0.30383,"130":0.85321,"131":0.00416,_:"2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 90 91 92 93 94 95 96 97 98 100 101 104 105 106 107 108 109 110 111 113 116 117 118 120 121 122 123 125 128 132 133 134 135 3.5 3.6"},D:{"49":0.00416,"50":0.00416,"59":0.00416,"68":0.00416,"70":0.02081,"71":0.00416,"73":0.00416,"74":0.00832,"76":0.00416,"79":0.01665,"80":0.00416,"81":0.00832,"83":0.00416,"86":0.00416,"87":0.02497,"88":0.00416,"89":0.00416,"90":0.00416,"91":0.00416,"93":0.00416,"94":0.02081,"96":0.00416,"97":0.00416,"98":0.01249,"99":0.04994,"100":0.00416,"101":0.00416,"102":0.00832,"103":0.04578,"104":0.00832,"105":0.02081,"106":0.00416,"107":0.02913,"108":0.00832,"109":2.53466,"110":0.00416,"111":0.00832,"112":0.00832,"113":0.00416,"114":0.00832,"115":0.01249,"116":0.21642,"117":0.02497,"118":0.02497,"119":0.12486,"120":0.12486,"121":0.02913,"122":0.12486,"123":0.04578,"124":0.04994,"125":0.07492,"126":0.2414,"127":0.59933,"128":16.24429,"129":5.6187,"130":0.00832,_:"4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 51 52 53 54 55 56 57 58 60 61 62 63 64 65 66 67 69 72 75 77 78 84 85 92 95 131 132 133"},F:{"79":0.00416,"84":0.00416,"85":0.00416,"95":0.01665,"101":0.00416,"102":0.00416,"109":0.02497,"111":0.00832,"112":0.93229,"113":1.51081,"114":0.02913,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 60 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 80 81 82 83 86 87 88 89 90 91 92 93 94 96 97 98 99 100 103 104 105 106 107 108 110 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"17":0.00416,"18":0.00832,"84":0.00416,"89":0.00416,"92":0.0333,"100":0.02913,"106":0.00416,"109":0.05827,"114":0.00416,"115":0.02497,"116":0.00416,"117":0.00832,"118":0.00416,"119":0.00416,"120":0.00832,"121":0.15816,"122":0.04162,"123":0.01665,"124":0.02913,"125":0.05411,"126":0.06243,"127":0.13318,"128":3.7458,"129":1.41508,_:"12 13 14 15 16 79 80 81 83 85 86 87 88 90 91 93 94 95 96 97 98 99 101 102 103 104 105 107 108 110 111 112 113 130"},E:{"13":0.00416,"14":0.01249,_:"0 4 5 6 7 8 9 10 11 12 15 3.1 3.2 5.1 6.1 7.1 9.1 10.1 11.1 12.1","13.1":0.00832,"14.1":0.02913,"15.1":0.09573,"15.2-15.3":0.00832,"15.4":0.00416,"15.5":0.00832,"15.6":0.07908,"16.0":0.01665,"16.1":0.02913,"16.2":0.02081,"16.3":0.02081,"16.4":0.02913,"16.5":0.02497,"16.6":0.12902,"17.0":0.02913,"17.1":0.02081,"17.2":0.04994,"17.3":0.02497,"17.4":0.14151,"17.5":0.16648,"17.6":0.66176,"18.0":0.09573,"18.1":0.03746},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.00364,"5.0-5.1":0.00182,"6.0-6.1":0.01092,"7.0-7.1":0.01274,"8.1-8.4":0,"9.0-9.2":0.01092,"9.3":0.03094,"10.0-10.2":0.0091,"10.3":0.05279,"11.0-11.2":0.19477,"11.3-11.4":0.01456,"12.0-12.1":0.0091,"12.2-12.5":0.22025,"13.0-13.1":0.00364,"13.2":0.06917,"13.3":0.0091,"13.4-13.7":0.03641,"14.0-14.4":0.08373,"14.5-14.8":0.11104,"15.0-15.1":0.06371,"15.2-15.3":0.06189,"15.4":0.07099,"15.5":0.08737,"15.6-15.8":0.86464,"16.0":0.17475,"16.1":0.34585,"16.2":0.17293,"16.3":0.29125,"16.4":0.06189,"16.5":0.12196,"16.6-16.7":1.0412,"17.0":0.08737,"17.1":0.13834,"17.2":0.1256,"17.3":0.18021,"17.4":0.3859,"17.5":1.85487,"17.6-17.7":9.87142,"18.0":1.24508,"18.1":0.05643},P:{"4":0.05142,"20":0.01028,"21":0.04113,"22":0.11312,"23":0.14397,"24":0.10284,"25":0.49362,"26":2.72519,"5.0-5.4":0.02057,"6.2-6.4":0.01028,"7.2-7.4":0.03085,_:"8.2 9.2 10.1 11.1-11.2 12.0 13.0 14.0 15.0","16.0":0.02057,"17.0":0.01028,"18.0":0.01028,"19.0":0.01028},I:{"0":0.02911,"3":0,"4":0,"2.1":0,"2.2":0,"2.3":0,"4.1":0,"4.2-4.3":0.00001,"4.4":0,"4.4.3-4.4.4":0.00005},K:{"0":0.16346,_:"10 11 12 11.1 11.5 12.1"},A:{"9":0.00624,"11":0.03122,_:"6 7 8 10 5.5"},N:{_:"10 11"},S:{_:"2.5 3.0-3.1"},J:{_:"7 10"},O:{"0":0.25687},H:{"0":0},L:{"0":38.79053},R:{_:"0"},M:{"0":0.23352},Q:{"14.9":0.07006}}; diff --git a/node_modules/caniuse-lite/data/regions/MO.js b/node_modules/caniuse-lite/data/regions/MO.js index e27944c9eb..9c7648a41f 100644 --- a/node_modules/caniuse-lite/data/regions/MO.js +++ b/node_modules/caniuse-lite/data/regions/MO.js @@ -1 +1 @@ -module.exports={C:{"34":0.07922,"52":0.0044,"78":0.02641,"80":0.0044,"81":0.0044,"88":0.0044,"100":0.0132,"115":0.15844,"122":0.0176,"123":0.0044,"124":0.03521,"125":0.52812,"126":0.62054,_:"2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 79 82 83 84 85 86 87 89 90 91 92 93 94 95 96 97 98 99 101 102 103 104 105 106 107 108 109 110 111 112 113 114 116 117 118 119 120 121 127 128 129 3.5 3.6"},D:{"22":0.0088,"26":0.0088,"30":0.0044,"34":0.05721,"38":0.16724,"43":0.0044,"44":0.0044,"45":0.0044,"46":0.0044,"47":0.0044,"49":0.02201,"51":0.0044,"53":0.02641,"55":0.0132,"57":0.0088,"58":0.0132,"59":0.0044,"60":0.0044,"61":0.10562,"62":0.0176,"65":0.0044,"69":0.0088,"70":0.0044,"72":0.0044,"73":0.0088,"74":0.08362,"75":0.0044,"76":0.0044,"77":0.0132,"78":0.0176,"79":0.36088,"80":0.04401,"81":0.03081,"83":0.06161,"86":0.0088,"87":0.29047,"88":0.0088,"89":0.03521,"90":0.0044,"91":0.0088,"92":0.0044,"93":0.0044,"94":0.19364,"96":0.03081,"97":0.11443,"98":0.05281,"99":0.17164,"100":0.0044,"101":0.08362,"102":0.0176,"103":0.10562,"104":0.0132,"105":0.04841,"106":0.0088,"107":0.02201,"108":0.03521,"109":1.50514,"110":0.0132,"111":0.0132,"112":0.0176,"113":0.02201,"114":0.03081,"115":0.03081,"116":0.22885,"117":0.03961,"118":0.0132,"119":0.22885,"120":0.20245,"121":0.29047,"122":0.33008,"123":1.06064,"124":13.86755,"125":5.88414,"126":0.05721,"127":0.02641,_:"4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 23 24 25 27 28 29 31 32 33 35 36 37 39 40 41 42 48 50 52 54 56 63 64 66 67 68 71 84 85 95 128"},F:{"28":0.0044,"36":0.03521,"46":0.10562,"70":0.0044,"95":0.0088,"102":0.0088,"107":0.03961,"108":0.0132,"109":0.12763,"110":0.0132,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 29 30 31 32 33 34 35 37 38 39 40 41 42 43 44 45 47 48 49 50 51 52 53 54 55 56 57 58 60 62 63 64 65 66 67 68 69 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 96 97 98 99 100 101 103 104 105 106 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"17":0.0176,"18":0.0088,"92":0.0044,"99":0.0044,"109":0.09242,"113":0.03521,"114":0.0044,"115":0.02641,"116":0.0176,"117":0.04841,"118":0.0044,"119":0.0132,"120":0.0088,"121":0.02201,"122":0.02201,"123":0.13643,"124":2.86065,"125":1.39512,_:"12 13 14 15 16 79 80 81 83 84 85 86 87 88 89 90 91 93 94 95 96 97 98 100 101 102 103 104 105 106 107 108 110 111 112"},E:{"9":0.0088,"13":0.02201,"14":0.18044,"15":0.03081,_:"0 4 5 6 7 8 10 11 12 3.1 3.2 5.1 6.1 7.1 9.1 10.1 11.1 17.6","12.1":0.02641,"13.1":0.15844,"14.1":0.52372,"15.1":0.05721,"15.2-15.3":0.06602,"15.4":0.11003,"15.5":0.18484,"15.6":0.66455,"16.0":0.07042,"16.1":0.05721,"16.2":0.09242,"16.3":0.27286,"16.4":0.04841,"16.5":0.18924,"16.6":0.84499,"17.0":0.03081,"17.1":0.18044,"17.2":0.16724,"17.3":0.22445,"17.4":3.92569,"17.5":0.22885},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.00456,"5.0-5.1":0.00456,"6.0-6.1":0.01139,"7.0-7.1":0.01595,"8.1-8.4":0.00456,"9.0-9.2":0.01139,"9.3":0.05242,"10.0-10.2":0.00912,"10.3":0.08204,"11.0-11.2":0.12078,"11.3-11.4":0.02279,"12.0-12.1":0.01367,"12.2-12.5":0.33045,"13.0-13.1":0.00684,"13.2":0.03191,"13.3":0.01595,"13.4-13.7":0.07293,"14.0-14.4":0.12534,"14.5-14.8":0.19371,"15.0-15.1":0.09344,"15.2-15.3":0.10255,"15.4":0.11623,"15.5":0.14585,"15.6-15.8":1.31267,"16.0":0.29854,"16.1":0.61532,"16.2":0.29854,"16.3":0.51732,"16.4":0.10939,"16.5":0.22106,"16.6-16.7":1.76163,"17.0":0.19143,"17.1":0.31222,"17.2":0.32589,"17.3":0.60164,"17.4":13.66228,"17.5":0.96399,"17.6":0},P:{"4":0.98897,"20":0.0345,"21":0.1035,"22":0.046,"23":0.0345,"24":0.1265,"25":3.2774,"5.0-5.4":0.0805,"6.2-6.4":0.023,_:"7.2-7.4 8.2 10.1 11.1-11.2 12.0 14.0 15.0 16.0","9.2":0.0115,"13.0":0.023,"17.0":0.0345,"18.0":0.023,"19.0":0.069},I:{"0":0.06134,"3":0,"4":0.00001,"2.1":0,"2.2":0,"2.3":0,"4.1":0.00001,"4.2-4.3":0.00004,"4.4":0,"4.4.3-4.4.4":0.00014},K:{"0":0.02239,_:"10 11 12 11.1 11.5 12.1"},A:{"7":0.02539,"8":0.12695,"9":0.02539,"10":0.02539,"11":0.12695,_:"6 5.5"},S:{"2.5":0.0056,_:"3.0-3.1"},J:{_:"7 10"},N:{_:"10 11"},L:{"0":29.00443},R:{_:"0"},M:{"0":0.24631},Q:{"14.9":0.16794},O:{"0":0.61578},H:{"0":0}}; +module.exports={C:{"34":0.00406,"52":0.00406,"78":0.01219,"81":0.01219,"100":0.00406,"115":0.06501,"122":0.02844,"124":0.00406,"125":0.06907,"127":0.00406,"128":0.00406,"129":0.1869,"130":0.86542,_:"2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 79 80 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 101 102 103 104 105 106 107 108 109 110 111 112 113 114 116 117 118 119 120 121 123 126 131 132 133 134 135 3.5 3.6"},D:{"22":0.01219,"26":0.00406,"30":0.00406,"34":0.04876,"38":0.12595,"49":0.02438,"53":0.02032,"56":0.00406,"57":0.01219,"58":0.01625,"59":0.00406,"61":0.11376,"62":0.00406,"65":0.00406,"74":0.08939,"76":0.00813,"77":0.00813,"78":0.02032,"79":0.45099,"80":0.03657,"81":0.02438,"83":0.02438,"85":0.00406,"86":0.00813,"87":0.32504,"88":0.00406,"89":0.06095,"90":0.00813,"91":0.00813,"94":0.19502,"96":0.01625,"97":0.02032,"98":0.03657,"99":0.11783,"100":0.01625,"101":0.04876,"102":0.01219,"103":0.08126,"104":0.04876,"105":0.02438,"106":0.03657,"107":0.05282,"108":0.04063,"109":1.44237,"110":0.01219,"112":0.01219,"113":0.00406,"114":0.17065,"115":0.05282,"116":0.22753,"117":0.01219,"118":0.01219,"119":0.10158,"120":0.12595,"121":0.38599,"122":0.11376,"123":0.06095,"124":0.516,"125":0.06501,"126":0.25191,"127":0.83292,"128":12.89596,"129":3.72983,"130":0.04469,"131":0.01625,_:"4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 23 24 25 27 28 29 31 32 33 35 36 37 39 40 41 42 43 44 45 46 47 48 50 51 52 54 55 60 63 64 66 67 68 69 70 71 72 73 75 84 92 93 95 111 132 133"},F:{"36":0.04469,"46":0.12595,"84":0.00406,"95":0.00813,"112":0.15846,"113":0.13002,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 37 38 39 40 41 42 43 44 45 47 48 49 50 51 52 53 54 55 56 57 58 60 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 85 86 87 88 89 90 91 92 93 94 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 114 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"18":0.01625,"109":0.04469,"110":0.00406,"112":0.01219,"113":0.01219,"114":0.00406,"115":0.00406,"118":0.00406,"119":0.00406,"120":0.01219,"121":0.00406,"122":0.00813,"123":0.00406,"124":0.0325,"125":0.00813,"126":0.04469,"127":0.17471,"128":2.76284,"129":1.35298,_:"12 13 14 15 16 17 79 80 81 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 111 116 117 130"},E:{"12":0.00406,"13":0.02032,"14":0.17065,"15":0.04063,_:"0 4 5 6 7 8 9 10 11 3.1 3.2 5.1 6.1 7.1 9.1 10.1 11.1","12.1":0.04063,"13.1":0.12189,"14.1":0.4388,"15.1":0.06095,"15.2-15.3":0.06095,"15.4":0.0772,"15.5":0.17065,"15.6":0.53632,"16.0":0.1097,"16.1":0.05282,"16.2":0.06907,"16.3":0.26003,"16.4":0.04469,"16.5":0.1097,"16.6":0.7801,"17.0":0.02032,"17.1":0.08939,"17.2":0.0325,"17.3":0.07313,"17.4":0.21128,"17.5":0.90199,"17.6":3.98174,"18.0":0.1869,"18.1":0.01219},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.00444,"5.0-5.1":0.00222,"6.0-6.1":0.01332,"7.0-7.1":0.01554,"8.1-8.4":0,"9.0-9.2":0.01332,"9.3":0.03775,"10.0-10.2":0.0111,"10.3":0.06439,"11.0-11.2":0.23759,"11.3-11.4":0.01776,"12.0-12.1":0.0111,"12.2-12.5":0.26867,"13.0-13.1":0.00444,"13.2":0.08438,"13.3":0.0111,"13.4-13.7":0.04441,"14.0-14.4":0.10214,"14.5-14.8":0.13545,"15.0-15.1":0.07772,"15.2-15.3":0.07549,"15.4":0.0866,"15.5":0.10658,"15.6-15.8":1.05471,"16.0":0.21316,"16.1":0.42188,"16.2":0.21094,"16.3":0.35527,"16.4":0.07549,"16.5":0.14877,"16.6-16.7":1.27009,"17.0":0.10658,"17.1":0.16875,"17.2":0.15321,"17.3":0.21982,"17.4":0.47073,"17.5":2.26263,"17.6-17.7":12.04144,"18.0":1.51878,"18.1":0.06883},P:{"4":0.81395,"21":0.07913,"22":0.0113,"23":0.02261,"24":0.02261,"25":0.27132,"26":2.87145,_:"20 8.2 9.2 10.1 12.0 14.0 15.0","5.0-5.4":0.06783,"6.2-6.4":0.03391,"7.2-7.4":0.0113,"11.1-11.2":0.0113,"13.0":0.0113,"16.0":0.0113,"17.0":0.03391,"18.0":0.03391,"19.0":0.04522},I:{"0":0.05921,"3":0,"4":0,"2.1":0,"2.2":0,"2.3":0,"4.1":0.00001,"4.2-4.3":0.00002,"4.4":0,"4.4.3-4.4.4":0.00009},K:{"0":0.13061,_:"10 11 12 11.1 11.5 12.1"},A:{"11":0.33317,_:"6 7 8 9 10 5.5"},N:{_:"10 11"},S:{_:"2.5 3.0-3.1"},J:{_:"7 10"},O:{"0":0.81337},H:{"0":0},L:{"0":32.38355},R:{_:"0"},M:{"0":0.48683},Q:{"14.9":0.23154}}; diff --git a/node_modules/caniuse-lite/data/regions/MP.js b/node_modules/caniuse-lite/data/regions/MP.js index 8488981103..7260a467f0 100644 --- a/node_modules/caniuse-lite/data/regions/MP.js +++ b/node_modules/caniuse-lite/data/regions/MP.js @@ -1 +1 @@ -module.exports={C:{"52":0.02132,"78":0.00533,"115":0.06396,"123":0.01066,"124":0.26117,"125":1.18859,"126":0.87412,_:"2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 116 117 118 119 120 121 122 127 128 129 3.5 3.6"},D:{"79":0.02132,"86":0.00533,"87":0.01066,"91":0.02132,"93":0.28249,"97":0.00533,"99":0.01066,"103":0.06929,"106":0.02132,"108":0.00533,"109":0.61828,"115":0.18122,"116":0.1599,"117":0.01599,"118":0.19188,"119":0.01066,"120":0.04264,"121":0.04797,"122":0.60762,"123":2.41982,"124":23.13753,"125":8.87978,"127":0.01066,_:"4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 80 81 83 84 85 88 89 90 92 94 95 96 98 100 101 102 104 105 107 110 111 112 113 114 126 128"},F:{"102":0.00533,"107":0.30381,"109":1.29519,"110":0.02665,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 60 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 103 104 105 106 108 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"18":0.02132,"92":0.00533,"103":0.00533,"108":0.00533,"109":0.06929,"110":0.00533,"119":0.00533,"121":0.00533,"122":0.00533,"123":0.84214,"124":3.81628,"125":2.38784,_:"12 13 14 15 16 17 79 80 81 83 84 85 86 87 88 89 90 91 93 94 95 96 97 98 99 100 101 102 104 105 106 107 111 112 113 114 115 116 117 118 120"},E:{"14":0.13325,_:"0 4 5 6 7 8 9 10 11 12 13 15 3.1 3.2 5.1 6.1 7.1 9.1 10.1 11.1 12.1 17.6","13.1":0.01066,"14.1":0.10127,"15.1":0.04264,"15.2-15.3":0.02132,"15.4":0.13858,"15.5":0.01066,"15.6":0.36777,"16.0":0.01066,"16.1":0.03198,"16.2":0.04797,"16.3":0.1066,"16.4":0.02665,"16.5":0.02132,"16.6":0.30914,"17.0":0.01066,"17.1":0.04797,"17.2":0.02665,"17.3":0.02665,"17.4":1.16194,"17.5":0.02665},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.00192,"5.0-5.1":0.00192,"6.0-6.1":0.0048,"7.0-7.1":0.00672,"8.1-8.4":0.00192,"9.0-9.2":0.0048,"9.3":0.02208,"10.0-10.2":0.00384,"10.3":0.03457,"11.0-11.2":0.05089,"11.3-11.4":0.0096,"12.0-12.1":0.00576,"12.2-12.5":0.13922,"13.0-13.1":0.00288,"13.2":0.01344,"13.3":0.00672,"13.4-13.7":0.03072,"14.0-14.4":0.05281,"14.5-14.8":0.08161,"15.0-15.1":0.03937,"15.2-15.3":0.04321,"15.4":0.04897,"15.5":0.06145,"15.6-15.8":0.55305,"16.0":0.12578,"16.1":0.25924,"16.2":0.12578,"16.3":0.21795,"16.4":0.04609,"16.5":0.09313,"16.6-16.7":0.7422,"17.0":0.08065,"17.1":0.13154,"17.2":0.1373,"17.3":0.25348,"17.4":5.75611,"17.5":0.40614,"17.6":0},P:{"22":0.02137,"23":0.05343,"24":0.49158,"25":6.39049,_:"4 20 21 5.0-5.4 6.2-6.4 8.2 9.2 10.1 11.1-11.2 12.0 13.0 14.0 15.0 16.0 17.0 18.0","7.2-7.4":0.01069,"19.0":0.07481},I:{"0":0.02791,"3":0,"4":0,"2.1":0,"2.2":0,"2.3":0,"4.1":0.00001,"4.2-4.3":0.00002,"4.4":0,"4.4.3-4.4.4":0.00006},K:{"0":0.02335,_:"10 11 12 11.1 11.5 12.1"},A:{"11":0.01066,_:"6 7 8 9 10 5.5"},S:{_:"2.5 3.0-3.1"},J:{_:"7 10"},N:{_:"10 11"},L:{"0":31.84011},R:{_:"0"},M:{"0":0.26152},Q:{_:"14.9"},O:{"0":0.06071},H:{"0":0}}; +module.exports={C:{"78":0.00484,"115":0.01938,"123":0.00484,"127":0.00484,"128":0.02422,"129":0.14048,"130":0.69754,_:"2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 116 117 118 119 120 121 122 124 125 126 131 132 133 134 135 3.5 3.6"},D:{"77":0.01938,"78":0.00484,"79":0.00484,"80":0.00484,"81":0.00484,"91":0.00484,"92":0.02906,"93":0.07266,"99":0.00484,"103":0.15985,"109":1.26428,"110":0.00484,"112":0.00969,"115":0.15016,"116":0.02422,"117":0.02906,"119":0.00484,"120":0.02906,"121":0.02422,"122":0.02906,"123":0.05328,"124":0.04844,"125":0.20829,"126":0.6055,"127":2.67389,"128":20.90186,"129":5.17824,_:"4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 83 84 85 86 87 88 89 90 94 95 96 97 98 100 101 102 104 105 106 107 108 111 113 114 118 130 131 132 133"},F:{"95":0.01938,"102":0.00484,"109":0.08235,"111":0.00484,"112":0.66363,"113":0.52315,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 60 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 96 97 98 99 100 101 103 104 105 106 107 108 110 114 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"18":0.00969,"92":0.00969,"100":0.00484,"108":0.01453,"109":0.00484,"113":0.00484,"123":0.00484,"124":0.00484,"125":0.00484,"126":0.06297,"127":1.3321,"128":5.18792,"129":2.2573,_:"12 13 14 15 16 17 79 80 81 83 84 85 86 87 88 89 90 91 93 94 95 96 97 98 99 101 102 103 104 105 106 107 110 111 112 114 115 116 117 118 119 120 121 122 130"},E:{_:"0 4 5 6 7 8 9 10 11 12 13 14 15 3.1 3.2 5.1 6.1 7.1 9.1 10.1 11.1 12.1 17.0 18.1","13.1":0.01938,"14.1":0.14532,"15.1":0.01453,"15.2-15.3":0.00484,"15.4":0.03875,"15.5":0.02906,"15.6":0.18892,"16.0":0.00969,"16.1":0.03875,"16.2":0.01453,"16.3":0.03875,"16.4":0.02422,"16.5":0.02906,"16.6":0.20829,"17.1":0.01938,"17.2":0.02422,"17.3":0.10657,"17.4":0.0436,"17.5":0.23251,"17.6":0.67816,"18.0":0.11626},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.0023,"5.0-5.1":0.00115,"6.0-6.1":0.00689,"7.0-7.1":0.00804,"8.1-8.4":0,"9.0-9.2":0.00689,"9.3":0.01953,"10.0-10.2":0.00574,"10.3":0.03331,"11.0-11.2":0.12292,"11.3-11.4":0.00919,"12.0-12.1":0.00574,"12.2-12.5":0.139,"13.0-13.1":0.0023,"13.2":0.04365,"13.3":0.00574,"13.4-13.7":0.02298,"14.0-14.4":0.05284,"14.5-14.8":0.07007,"15.0-15.1":0.04021,"15.2-15.3":0.03906,"15.4":0.0448,"15.5":0.05514,"15.6-15.8":0.54566,"16.0":0.11028,"16.1":0.21826,"16.2":0.10913,"16.3":0.1838,"16.4":0.03906,"16.5":0.07697,"16.6-16.7":0.65709,"17.0":0.05514,"17.1":0.08731,"17.2":0.07926,"17.3":0.11373,"17.4":0.24354,"17.5":1.17058,"17.6-17.7":6.22971,"18.0":0.78575,"18.1":0.03561},P:{"22":0.01065,"23":3.74861,"24":0.01065,"25":0.53247,"26":5.61227,_:"4 20 21 5.0-5.4 6.2-6.4 7.2-7.4 8.2 9.2 10.1 11.1-11.2 12.0 13.0 14.0 15.0 16.0 17.0 18.0","19.0":0.01065},I:{"0":0.00514,"3":0,"4":0,"2.1":0,"2.2":0,"2.3":0,"4.1":0,"4.2-4.3":0,"4.4":0,"4.4.3-4.4.4":0.00001},K:{"0":0.06703,_:"10 11 12 11.1 11.5 12.1"},A:{_:"6 7 8 9 10 11 5.5"},N:{_:"10 11"},S:{_:"2.5 3.0-3.1"},J:{_:"7 10"},O:{"0":0.03094},H:{"0":0},L:{"0":32.95345},R:{_:"0"},M:{"0":0.39186},Q:{_:"14.9"}}; diff --git a/node_modules/caniuse-lite/data/regions/MQ.js b/node_modules/caniuse-lite/data/regions/MQ.js index 6f904ac983..0b96cdb75a 100644 --- a/node_modules/caniuse-lite/data/regions/MQ.js +++ b/node_modules/caniuse-lite/data/regions/MQ.js @@ -1 +1 @@ -module.exports={C:{"89":0.00882,"91":0.00441,"92":0.01323,"115":0.30429,"121":0.01764,"122":0.00441,"123":0.02205,"124":0.0441,"125":1.6758,"126":1.29654,_:"2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 90 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 116 117 118 119 120 127 128 129 3.5 3.6"},D:{"39":0.00882,"76":0.00441,"79":0.00441,"87":0.02205,"89":0.00441,"97":0.00441,"99":0.00882,"102":0.00441,"103":0.02646,"105":0.01764,"107":0.00441,"109":1.00989,"110":0.00441,"112":0.01323,"113":0.01764,"114":0.10143,"116":0.14112,"117":0.00882,"118":0.00441,"119":0.01764,"120":0.03528,"121":0.01323,"122":0.1323,"123":1.38474,"124":14.60151,"125":6.60177,_:"4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 77 78 80 81 83 84 85 86 88 90 91 92 93 94 95 96 98 100 101 104 106 108 111 115 126 127 128"},F:{"46":0.01764,"89":0.00882,"95":0.01764,"107":0.29547,"108":0.02205,"109":1.18629,"110":0.10143,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 47 48 49 50 51 52 53 54 55 56 57 58 60 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 90 91 92 93 94 96 97 98 99 100 101 102 103 104 105 106 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"92":0.01323,"109":0.02205,"113":0.00882,"114":0.01764,"116":0.00441,"118":0.00441,"119":0.06174,"120":0.0882,"121":0.02646,"122":0.02205,"123":0.12348,"124":4.78044,"125":2.88855,_:"12 13 14 15 16 17 18 79 80 81 83 84 85 86 87 88 89 90 91 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 110 111 112 115 117"},E:{"14":0.03528,"15":0.00882,_:"0 4 5 6 7 8 9 10 11 12 13 3.1 3.2 5.1 6.1 7.1 9.1 10.1 11.1 17.6","12.1":0.00441,"13.1":0.02646,"14.1":0.15435,"15.1":0.01323,"15.2-15.3":0.02646,"15.4":0.02205,"15.5":0.12789,"15.6":0.6174,"16.0":0.01323,"16.1":0.06615,"16.2":0.05292,"16.3":0.0882,"16.4":0.03528,"16.5":0.04851,"16.6":0.71442,"17.0":0.14112,"17.1":0.11907,"17.2":0.0882,"17.3":0.14553,"17.4":2.37699,"17.5":0.37485},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.0033,"5.0-5.1":0.0033,"6.0-6.1":0.00826,"7.0-7.1":0.01156,"8.1-8.4":0.0033,"9.0-9.2":0.00826,"9.3":0.03798,"10.0-10.2":0.00661,"10.3":0.05945,"11.0-11.2":0.08752,"11.3-11.4":0.01651,"12.0-12.1":0.00991,"12.2-12.5":0.23944,"13.0-13.1":0.00495,"13.2":0.02312,"13.3":0.01156,"13.4-13.7":0.05284,"14.0-14.4":0.09082,"14.5-14.8":0.14036,"15.0-15.1":0.0677,"15.2-15.3":0.07431,"15.4":0.08422,"15.5":0.10568,"15.6-15.8":0.95114,"16.0":0.21632,"16.1":0.44585,"16.2":0.21632,"16.3":0.37484,"16.4":0.07926,"16.5":0.16017,"16.6-16.7":1.27644,"17.0":0.13871,"17.1":0.22623,"17.2":0.23613,"17.3":0.43594,"17.4":9.89946,"17.5":0.69849,"17.6":0},P:{"4":0.03136,"21":0.07318,"22":0.10455,"23":0.48092,"24":0.47047,"25":3.03192,_:"20 6.2-6.4 8.2 9.2 10.1 12.0 14.0 15.0 16.0","5.0-5.4":0.01045,"7.2-7.4":0.05227,"11.1-11.2":0.04182,"13.0":0.01045,"17.0":0.01045,"18.0":0.03136,"19.0":0.08364},I:{"0":0.00557,"3":0,"4":0,"2.1":0,"2.2":0,"2.3":0,"4.1":0,"4.2-4.3":0,"4.4":0,"4.4.3-4.4.4":0.00001},K:{"0":0.68757,_:"10 11 12 11.1 11.5 12.1"},A:{"11":0.00882,_:"6 7 8 9 10 5.5"},S:{_:"2.5 3.0-3.1"},J:{_:"7 10"},N:{_:"10 11"},L:{"0":34.00573},R:{_:"0"},M:{"0":0.47515},Q:{_:"14.9"},O:{"0":0.02795},H:{"0":0}}; +module.exports={C:{"78":0.06463,"91":0.00539,"102":0.00539,"115":0.33932,"122":0.00539,"123":0.00539,"124":0.00539,"125":0.07002,"127":0.01616,"128":0.0377,"129":3.33393,"130":2.89228,"132":0.00539,_:"2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 79 80 81 82 83 84 85 86 87 88 89 90 92 93 94 95 96 97 98 99 100 101 103 104 105 106 107 108 109 110 111 112 113 114 116 117 118 119 120 121 126 131 133 134 135 3.5 3.6"},D:{"53":0.00539,"61":0.00539,"67":0.00539,"79":0.01077,"81":0.00539,"87":0.02154,"88":0.00539,"89":0.02693,"91":0.00539,"94":0.01616,"99":0.00539,"100":0.00539,"102":0.00539,"103":0.05386,"105":0.00539,"106":0.00539,"108":0.02154,"109":0.59785,"111":0.00539,"114":0.11311,"115":0.00539,"116":0.1939,"118":0.00539,"119":0.01616,"121":0.00539,"122":0.04847,"123":0.01616,"124":0.48474,"125":0.1939,"126":0.54399,"127":1.06104,"128":20.49912,"129":5.03052,_:"4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 54 55 56 57 58 59 60 62 63 64 65 66 68 69 70 71 72 73 74 75 76 77 78 80 83 84 85 86 90 92 93 95 96 97 98 101 104 107 110 112 113 117 120 130 131 132 133"},F:{"36":0.00539,"40":0.00539,"46":0.01077,"83":0.00539,"95":0.02154,"102":0.00539,"109":0.01616,"110":0.00539,"111":0.01616,"112":2.41831,"113":0.86176,"114":0.00539,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 37 38 39 41 42 43 44 45 47 48 49 50 51 52 53 54 55 56 57 58 60 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 84 85 86 87 88 89 90 91 92 93 94 96 97 98 99 100 101 103 104 105 106 107 108 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"92":0.00539,"108":0.00539,"109":0.0377,"117":0.00539,"119":0.05925,"120":0.01616,"121":0.00539,"123":0.00539,"124":0.01616,"125":0.02693,"126":0.14542,"127":0.16697,"128":5.57451,"129":2.32137,"130":0.01077,_:"12 13 14 15 16 17 18 79 80 81 83 84 85 86 87 88 89 90 91 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 110 111 112 113 114 115 116 118 122"},E:{"14":0.01616,"15":0.00539,_:"0 4 5 6 7 8 9 10 11 12 13 3.1 3.2 5.1 6.1 7.1 9.1 10.1 11.1","12.1":0.01616,"13.1":0.03232,"14.1":0.14542,"15.1":0.00539,"15.2-15.3":0.01616,"15.4":0.01616,"15.5":0.30162,"15.6":0.16158,"16.0":0.00539,"16.1":0.02693,"16.2":0.02154,"16.3":0.06463,"16.4":0.04309,"16.5":0.02154,"16.6":0.58169,"17.0":0.02693,"17.1":0.08618,"17.2":0.04309,"17.3":0.12926,"17.4":0.5386,"17.5":0.4632,"17.6":1.93357,"18.0":0.33932,"18.1":0.02693},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.00274,"5.0-5.1":0.00137,"6.0-6.1":0.00821,"7.0-7.1":0.00958,"8.1-8.4":0,"9.0-9.2":0.00821,"9.3":0.02325,"10.0-10.2":0.00684,"10.3":0.03967,"11.0-11.2":0.14636,"11.3-11.4":0.01094,"12.0-12.1":0.00684,"12.2-12.5":0.16551,"13.0-13.1":0.00274,"13.2":0.05198,"13.3":0.00684,"13.4-13.7":0.02736,"14.0-14.4":0.06292,"14.5-14.8":0.08344,"15.0-15.1":0.04788,"15.2-15.3":0.04651,"15.4":0.05335,"15.5":0.06566,"15.6-15.8":0.64975,"16.0":0.13132,"16.1":0.2599,"16.2":0.12995,"16.3":0.21886,"16.4":0.04651,"16.5":0.09165,"16.6-16.7":0.78243,"17.0":0.06566,"17.1":0.10396,"17.2":0.09438,"17.3":0.13542,"17.4":0.28999,"17.5":1.39388,"17.6-17.7":7.41805,"18.0":0.93563,"18.1":0.0424},P:{"4":0.01062,"20":0.02123,"21":0.01062,"22":0.06369,"23":0.16985,"24":0.08492,"25":0.35031,"26":3.66238,_:"5.0-5.4 8.2 9.2 10.1 11.1-11.2 12.0 13.0 15.0 18.0","6.2-6.4":0.01062,"7.2-7.4":0.02123,"14.0":0.01062,"16.0":0.02123,"17.0":0.02123,"19.0":0.03185},I:{"0":0.00921,"3":0,"4":0,"2.1":0,"2.2":0,"2.3":0,"4.1":0,"4.2-4.3":0,"4.4":0,"4.4.3-4.4.4":0.00001},K:{"0":0.20768,_:"10 11 12 11.1 11.5 12.1"},A:{"11":0.24776,_:"6 7 8 9 10 5.5"},N:{_:"10 11"},S:{_:"2.5 3.0-3.1"},J:{_:"7 10"},O:{"0":0.01385},H:{"0":0},L:{"0":27.7864},R:{_:"0"},M:{"0":0.35536},Q:{_:"14.9"}}; diff --git a/node_modules/caniuse-lite/data/regions/MR.js b/node_modules/caniuse-lite/data/regions/MR.js index 60b99138a1..85cc9db6d0 100644 --- a/node_modules/caniuse-lite/data/regions/MR.js +++ b/node_modules/caniuse-lite/data/regions/MR.js @@ -1 +1 @@ -module.exports={C:{"44":0.00174,"47":0.00347,"52":0.00174,"68":0.05379,"69":0.00174,"72":0.00174,"78":0.00521,"89":0.00174,"94":0.00174,"102":0.00521,"103":0.00174,"112":0.00174,"115":0.28107,"118":0.00347,"121":0.00174,"123":0.00174,"124":0.01388,"125":0.19259,"126":0.21688,"127":0.00174,_:"2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 45 46 48 49 50 51 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 70 71 73 74 75 76 77 79 80 81 82 83 84 85 86 87 88 90 91 92 93 95 96 97 98 99 100 101 104 105 106 107 108 109 110 111 113 114 116 117 119 120 122 128 129 3.5 3.6"},D:{"11":0.00174,"25":0.00521,"29":0.00174,"33":0.01909,"37":0.00174,"39":0.00174,"41":0.01562,"43":0.00347,"44":0.00521,"50":0.00347,"56":0.00174,"58":2.04383,"63":0.00174,"65":0.00347,"68":0.00174,"70":0.01041,"72":0.00521,"76":0.00174,"77":0.01388,"79":0.04858,"80":0.00174,"81":0.01215,"83":0.00347,"84":0.00174,"85":0.00174,"86":0.00347,"87":0.00347,"88":0.00347,"90":0.00174,"91":0.00174,"93":0.00174,"94":0.00174,"95":0.01909,"98":0.03644,"99":0.00347,"100":0.00174,"102":0.00174,"103":0.07461,"106":0.00347,"107":0.00347,"108":0.01041,"109":0.6888,"111":0.00347,"113":0.00174,"115":0.07114,"116":0.01562,"117":0.00521,"118":0.00694,"119":0.0295,"120":0.0347,"121":0.02429,"122":0.02429,"123":0.13186,"124":7.85261,"125":1.12775,_:"4 5 6 7 8 9 10 12 13 14 15 16 17 18 19 20 21 22 23 24 26 27 28 30 31 32 34 35 36 38 40 42 45 46 47 48 49 51 52 53 54 55 57 59 60 61 62 64 66 67 69 71 73 74 75 78 89 92 96 97 101 104 105 110 112 114 126 127 128"},F:{"18":0.00174,"58":0.00174,"75":0.00347,"79":0.00174,"85":0.01388,"95":0.05032,"107":0.00174,"108":0.02082,"109":0.35741,"110":0.04164,_:"9 11 12 15 16 17 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 60 62 63 64 65 66 67 68 69 70 71 72 73 74 76 77 78 80 81 82 83 84 86 87 88 89 90 91 92 93 94 96 97 98 99 100 101 102 103 104 105 106 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"12":0.00174,"17":0.00174,"18":0.00694,"84":0.00174,"89":0.01735,"90":0.00174,"92":0.01388,"100":0.00694,"108":0.00174,"109":0.00521,"110":0.00174,"114":0.00174,"116":0.00347,"117":0.00174,"118":0.00347,"119":0.00347,"120":0.00521,"121":0.00174,"122":0.01388,"123":0.01215,"124":0.84495,"125":0.41987,_:"13 14 15 16 79 80 81 83 85 86 87 88 91 93 94 95 96 97 98 99 101 102 103 104 105 106 107 111 112 113 115"},E:{"4":0.00174,"13":0.00174,_:"0 5 6 7 8 9 10 11 12 14 15 3.1 3.2 6.1 7.1 9.1 10.1 11.1 12.1 14.1 15.1 15.2-15.3 15.5 16.0 17.2 17.6","5.1":0.00174,"13.1":0.00174,"15.4":0.00694,"15.6":0.02429,"16.1":0.00174,"16.2":0.00174,"16.3":0.00694,"16.4":0.00521,"16.5":0.00174,"16.6":0.02429,"17.0":0.00174,"17.1":0.00174,"17.3":0.00347,"17.4":0.08675,"17.5":0.00868},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.00262,"5.0-5.1":0.00262,"6.0-6.1":0.00655,"7.0-7.1":0.00918,"8.1-8.4":0.00262,"9.0-9.2":0.00655,"9.3":0.03015,"10.0-10.2":0.00524,"10.3":0.04719,"11.0-11.2":0.06947,"11.3-11.4":0.01311,"12.0-12.1":0.00786,"12.2-12.5":0.19007,"13.0-13.1":0.00393,"13.2":0.01835,"13.3":0.00918,"13.4-13.7":0.04195,"14.0-14.4":0.0721,"14.5-14.8":0.11142,"15.0-15.1":0.05374,"15.2-15.3":0.05899,"15.4":0.06685,"15.5":0.08389,"15.6-15.8":0.75504,"16.0":0.17172,"16.1":0.35392,"16.2":0.17172,"16.3":0.29756,"16.4":0.06292,"16.5":0.12715,"16.6-16.7":1.01327,"17.0":0.11011,"17.1":0.17958,"17.2":0.18745,"17.3":0.34606,"17.4":7.85842,"17.5":0.55448,"17.6":0},P:{"4":0.13093,"20":0.0705,"21":0.61438,"22":0.34244,"23":0.49352,"24":0.61438,"25":1.64171,"5.0-5.4":0.01007,"6.2-6.4":0.03022,"7.2-7.4":1.59135,_:"8.2 12.0","9.2":0.02014,"10.1":0.01007,"11.1-11.2":0.09065,"13.0":0.04029,"14.0":0.04029,"15.0":0.03022,"16.0":0.12086,"17.0":0.05036,"18.0":0.04029,"19.0":0.83596},I:{"0":0.04116,"3":0,"4":0,"2.1":0,"2.2":0,"2.3":0,"4.1":0.00001,"4.2-4.3":0.00002,"4.4":0,"4.4.3-4.4.4":0.00009},K:{"0":0.8065,_:"10 11 12 11.1 11.5 12.1"},A:{"8":0.01481,"9":0.00185,"10":0.00185,"11":0.22959,_:"6 7 5.5"},S:{_:"2.5 3.0-3.1"},J:{_:"7 10"},N:{_:"10 11"},L:{"0":63.08815},R:{_:"0"},M:{"0":0.04959},Q:{_:"14.9"},O:{"0":0.32234},H:{"0":0.02}}; +module.exports={C:{"3":0.00142,"47":0.00283,"58":0.00142,"65":0.00142,"66":0.00142,"68":0.02974,"78":0.00142,"83":0.00142,"89":0.00142,"91":0.00142,"105":0.00142,"108":0.00142,"115":0.18408,"118":0.00283,"124":0.00142,"126":0.00142,"127":0.01133,"128":0.00991,"129":0.12036,"130":0.46303,"131":0.00142,_:"2 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 48 49 50 51 52 53 54 55 56 57 59 60 61 62 63 64 67 69 70 71 72 73 74 75 76 77 79 80 81 82 84 85 86 87 88 90 92 93 94 95 96 97 98 99 100 101 102 103 104 106 107 109 110 111 112 113 114 116 117 119 120 121 122 123 125 132 133 134 135 3.5 3.6"},D:{"11":0.00566,"29":0.00566,"33":0.00283,"38":0.00142,"40":0.00142,"41":0.11753,"43":0.01416,"47":0.00142,"49":0.00142,"51":0.00142,"58":0.94306,"64":0.00142,"65":0.00142,"66":0.00142,"69":0.00142,"70":0.00142,"72":0.00566,"73":0.00566,"77":0.00991,"79":0.00425,"80":0.00142,"81":0.00566,"83":0.02832,"84":0.00283,"86":0.00283,"87":0.00566,"88":0.00566,"89":0.00142,"90":0.00142,"91":0.00283,"93":0.00425,"94":0.00566,"95":0.07646,"98":0.01274,"99":0.00566,"100":0.00283,"101":0.00142,"102":0.00142,"103":0.14018,"104":0.00708,"105":0.00283,"106":0.00991,"107":0.00142,"108":0.00283,"109":0.70375,"110":0.00708,"111":0.00425,"112":0.00283,"114":0.01841,"115":0.00142,"116":0.02549,"117":0.22939,"118":0.00142,"119":0.00991,"120":0.0354,"121":0.00142,"122":0.06938,"123":0.00708,"124":0.01982,"125":0.0085,"126":0.07363,"127":0.26196,"128":4.1333,"129":1.40184,_:"4 5 6 7 8 9 10 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 30 31 32 34 35 36 37 39 42 44 45 46 48 50 52 53 54 55 56 57 59 60 61 62 63 67 68 71 74 75 76 78 85 92 96 97 113 130 131 132 133"},F:{"46":0.00142,"79":0.00142,"83":0.00283,"84":0.00283,"85":0.07505,"94":0.00283,"95":0.06089,"108":0.00425,"111":0.00283,"112":0.45878,"113":0.13452,"114":0.01274,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 47 48 49 50 51 52 53 54 55 56 57 58 60 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 80 81 82 86 87 88 89 90 91 92 93 96 97 98 99 100 101 102 103 104 105 106 107 109 110 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"12":0.00142,"13":0.00283,"14":0.00425,"15":0.00142,"16":0.00142,"17":0.00142,"18":0.00708,"80":0.00142,"84":0.00425,"85":0.00142,"89":0.00283,"90":0.00142,"91":0.00283,"92":0.01982,"100":0.00566,"101":0.00142,"103":0.00142,"108":0.00142,"109":0.01133,"110":0.00142,"114":0.00142,"120":0.00425,"121":0.00142,"122":0.00283,"124":0.00425,"125":0.00566,"126":0.02266,"127":0.03398,"128":1.0705,"129":0.32143,_:"79 81 83 86 87 88 93 94 95 96 97 98 99 102 104 105 106 107 111 112 113 115 116 117 118 119 123 130"},E:{"4":0.00425,"11":0.00566,"12":0.00142,"14":0.00283,"15":0.00142,_:"0 5 6 7 8 9 10 13 3.1 3.2 5.1 6.1 7.1 9.1 10.1 12.1 15.1 15.2-15.3 16.0 16.1 16.2 17.0 18.1","11.1":0.00142,"13.1":0.00283,"14.1":0.00142,"15.4":0.00142,"15.5":0.00425,"15.6":0.01841,"16.3":0.00283,"16.4":0.00283,"16.5":0.00142,"16.6":0.03115,"17.1":0.00283,"17.2":0.0085,"17.3":0.00142,"17.4":0.00566,"17.5":0.02266,"17.6":0.08921,"18.0":0.01274},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.00266,"5.0-5.1":0.00133,"6.0-6.1":0.00799,"7.0-7.1":0.00932,"8.1-8.4":0,"9.0-9.2":0.00799,"9.3":0.02263,"10.0-10.2":0.00666,"10.3":0.03861,"11.0-11.2":0.14246,"11.3-11.4":0.01065,"12.0-12.1":0.00666,"12.2-12.5":0.1611,"13.0-13.1":0.00266,"13.2":0.05059,"13.3":0.00666,"13.4-13.7":0.02663,"14.0-14.4":0.06124,"14.5-14.8":0.08121,"15.0-15.1":0.0466,"15.2-15.3":0.04527,"15.4":0.05192,"15.5":0.06391,"15.6-15.8":0.6324,"16.0":0.12781,"16.1":0.25296,"16.2":0.12648,"16.3":0.21302,"16.4":0.04527,"16.5":0.0892,"16.6-16.7":0.76155,"17.0":0.06391,"17.1":0.10118,"17.2":0.09187,"17.3":0.13181,"17.4":0.28225,"17.5":1.35667,"17.6-17.7":7.22007,"18.0":0.91066,"18.1":0.04127},P:{"4":0.18266,"20":0.01015,"21":0.16236,"22":0.26384,"23":0.15221,"24":0.43635,"25":0.80166,"26":2.03967,"5.0-5.4":0.0203,"6.2-6.4":0.01015,"7.2-7.4":0.8727,_:"8.2 10.1","9.2":0.03044,"11.1-11.2":0.01015,"12.0":0.01015,"13.0":0.01015,"14.0":0.01015,"15.0":0.03044,"16.0":0.0203,"17.0":0.03044,"18.0":0.01015,"19.0":0.33487},I:{"0":0.01712,"3":0,"4":0,"2.1":0,"2.2":0,"2.3":0,"4.1":0,"4.2-4.3":0.00001,"4.4":0,"4.4.3-4.4.4":0.00003},K:{"0":0.92141,_:"10 11 12 11.1 11.5 12.1"},A:{"8":0.0399,"9":0.00319,"10":0.01436,"11":0.24416,_:"6 7 5.5"},N:{_:"10 11"},S:{_:"2.5 3.0-3.1"},J:{_:"7 10"},O:{"0":0.24035},H:{"0":0.04},L:{"0":67.48301},R:{_:"0"},M:{"0":0.06867},Q:{"14.9":0.00858}}; diff --git a/node_modules/caniuse-lite/data/regions/MS.js b/node_modules/caniuse-lite/data/regions/MS.js index 1754139ff1..59137c30fb 100644 --- a/node_modules/caniuse-lite/data/regions/MS.js +++ b/node_modules/caniuse-lite/data/regions/MS.js @@ -1 +1 @@ -module.exports={C:{"115":0.02491,"124":0.04981,"125":0.07472,"126":0.04981,_:"2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 116 117 118 119 120 121 122 123 127 128 129 3.5 3.6"},D:{"81":0.02491,"95":0.02491,"103":0.07472,"107":0.02491,"109":1.00118,"116":0.1046,"120":0.02491,"122":0.25403,"123":0.74217,"124":19.96883,"125":6.05192,_:"4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 83 84 85 86 87 88 89 90 91 92 93 94 96 97 98 99 100 101 102 104 105 106 108 110 111 112 113 114 115 117 118 119 121 126 127 128"},F:{"109":1.63875,"110":0.02491,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 60 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"121":0.12951,"122":0.02491,"123":0.15441,"124":10.66432,"125":2.07708,_:"12 13 14 15 16 17 18 79 80 81 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120"},E:{_:"0 4 5 6 7 8 9 10 11 12 13 14 15 3.1 3.2 5.1 6.1 7.1 9.1 10.1 11.1 12.1 14.1 15.1 15.2-15.3 15.4 15.5 15.6 16.0 16.5 17.0 17.6","13.1":0.04981,"16.1":0.04981,"16.2":0.07472,"16.3":0.22913,"16.4":0.02491,"16.6":1.00118,"17.1":0.07472,"17.2":0.04981,"17.3":0.12951,"17.4":1.35981,"17.5":0.04981},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.00245,"5.0-5.1":0.00245,"6.0-6.1":0.00612,"7.0-7.1":0.00857,"8.1-8.4":0.00245,"9.0-9.2":0.00612,"9.3":0.02817,"10.0-10.2":0.0049,"10.3":0.04409,"11.0-11.2":0.06491,"11.3-11.4":0.01225,"12.0-12.1":0.00735,"12.2-12.5":0.17757,"13.0-13.1":0.00367,"13.2":0.01714,"13.3":0.00857,"13.4-13.7":0.03919,"14.0-14.4":0.06735,"14.5-14.8":0.10409,"15.0-15.1":0.05021,"15.2-15.3":0.05511,"15.4":0.06246,"15.5":0.07838,"15.6-15.8":0.70539,"16.0":0.16043,"16.1":0.33065,"16.2":0.16043,"16.3":0.27799,"16.4":0.05878,"16.5":0.11879,"16.6-16.7":0.94664,"17.0":0.10287,"17.1":0.16778,"17.2":0.17512,"17.3":0.3233,"17.4":7.34169,"17.5":0.51802,"17.6":0},P:{"21":0.11801,"22":0.09441,"23":0.0354,"24":0.09441,"25":3.11546,_:"4 20 5.0-5.4 8.2 9.2 10.1 11.1-11.2 12.0 13.0 14.0 15.0 16.0 17.0 18.0","6.2-6.4":0.15341,"7.2-7.4":0.05901,"19.0":0.05901},I:{"0":0,"3":0,"4":0,"2.1":0,"2.2":0,"2.3":0,"4.1":0,"4.2-4.3":0,"4.4":0,"4.4.3-4.4.4":0},K:{"0":0,_:"10 11 12 11.1 11.5 12.1"},A:{_:"6 7 8 9 10 11 5.5"},S:{_:"2.5 3.0-3.1"},J:{_:"7 10"},N:{_:"10 11"},L:{"0":37.35027},R:{_:"0"},M:{_:"0"},Q:{_:"14.9"},O:{_:"0"},H:{"0":0}}; +module.exports={C:{"115":0.02964,"120":0.02964,"129":0.11263,"130":0.20155,"131":0.2549,_:"2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 116 117 118 119 121 122 123 124 125 126 127 128 132 133 134 135 3.5 3.6"},D:{"93":0.02964,"100":0.39718,"109":0.2549,"116":0.02964,"118":0.08299,"122":0.39718,"123":0.05928,"124":0.23119,"125":0.02964,"126":0.17191,"127":1.19746,"128":30.87895,"129":11.38769,_:"4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 83 84 85 86 87 88 89 90 91 92 94 95 96 97 98 99 101 102 103 104 105 106 107 108 110 111 112 113 114 115 117 119 120 121 130 131 132 133"},F:{"111":0.05928,"112":1.82582,"113":0.77064,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 60 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 114 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"99":0.08299,"123":0.02964,"126":0.02964,"127":0.4861,"128":4.28002,"129":2.3712,_:"12 13 14 15 16 17 18 79 80 81 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 124 125 130"},E:{_:"0 4 5 6 7 8 9 10 11 12 13 14 15 3.1 3.2 5.1 6.1 7.1 9.1 10.1 11.1 12.1 14.1 15.1 15.2-15.3 15.4 15.5 16.0 16.1 16.2 16.4 16.5 17.0 17.1 17.2 17.4 18.0 18.1","13.1":0.05928,"15.6":0.08299,"16.3":0.02964,"16.6":0.14227,"17.3":0.02964,"17.5":0.17191,"17.6":1.99774},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.00176,"5.0-5.1":0.00088,"6.0-6.1":0.00528,"7.0-7.1":0.00616,"8.1-8.4":0,"9.0-9.2":0.00528,"9.3":0.01496,"10.0-10.2":0.0044,"10.3":0.02551,"11.0-11.2":0.09414,"11.3-11.4":0.00704,"12.0-12.1":0.0044,"12.2-12.5":0.10645,"13.0-13.1":0.00176,"13.2":0.03343,"13.3":0.0044,"13.4-13.7":0.0176,"14.0-14.4":0.04047,"14.5-14.8":0.05367,"15.0-15.1":0.03079,"15.2-15.3":0.02991,"15.4":0.03431,"15.5":0.04223,"15.6-15.8":0.41789,"16.0":0.08446,"16.1":0.16716,"16.2":0.08358,"16.3":0.14076,"16.4":0.02991,"16.5":0.05894,"16.6-16.7":0.50323,"17.0":0.04223,"17.1":0.06686,"17.2":0.0607,"17.3":0.0871,"17.4":0.18651,"17.5":0.89648,"17.6-17.7":4.77098,"18.0":0.60176,"18.1":0.02727},P:{"4":0.03328,"22":0.12201,"24":0.12201,"25":3.1057,"26":5.5348,_:"20 21 23 5.0-5.4 7.2-7.4 8.2 9.2 10.1 11.1-11.2 12.0 13.0 14.0 15.0 17.0 18.0","6.2-6.4":0.03328,"16.0":0.03328,"19.0":0.03328},I:{"0":0,"3":0,"4":0,"2.1":0,"2.2":0,"2.3":0,"4.1":0,"4.2-4.3":0,"4.4":0,"4.4.3-4.4.4":0},K:{"0":0.12626,_:"10 11 12 11.1 11.5 12.1"},A:{_:"6 7 8 9 10 11 5.5"},N:{_:"10 11"},S:{_:"2.5 3.0-3.1"},J:{_:"7 10"},O:{_:"0"},H:{"0":0},L:{"0":22.43464},R:{_:"0"},M:{"0":0.09368},Q:{_:"14.9"}}; diff --git a/node_modules/caniuse-lite/data/regions/MT.js b/node_modules/caniuse-lite/data/regions/MT.js index ef54dfe4e4..0b2ff51e89 100644 --- a/node_modules/caniuse-lite/data/regions/MT.js +++ b/node_modules/caniuse-lite/data/regions/MT.js @@ -1 +1 @@ -module.exports={C:{"68":0.04768,"78":0.00477,"83":0.02384,"88":0.00477,"108":0.0143,"113":0.00954,"115":0.2241,"120":0.00954,"123":0.04291,"124":0.02384,"125":0.69136,"126":0.51494,"127":0.00477,_:"2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 69 70 71 72 73 74 75 76 77 79 80 81 82 84 85 86 87 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 109 110 111 112 114 116 117 118 119 121 122 128 129 3.5 3.6"},D:{"11":0.00477,"43":0.00477,"44":0.00477,"46":0.00477,"49":0.00954,"51":0.00477,"56":0.00477,"70":0.00477,"76":0.00954,"77":0.02384,"79":0.03338,"80":0.00477,"83":0.00477,"86":0.00954,"87":0.0143,"89":0.00477,"92":0.00477,"93":0.48634,"94":0.00477,"95":0.00477,"96":0.00477,"98":0.00954,"99":0.00477,"102":0.00477,"103":0.04768,"106":0.00477,"107":0.20979,"108":0.00477,"109":0.77718,"111":0.00477,"112":0.0143,"113":0.00477,"114":0.05722,"115":0.19549,"116":0.2241,"117":0.10013,"118":0.00954,"119":0.13827,"120":0.12397,"121":0.06198,"122":0.72474,"123":1.63066,"124":20.30691,"125":7.43808,"126":0.01907,_:"4 5 6 7 8 9 10 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 45 47 48 50 52 53 54 55 57 58 59 60 61 62 63 64 65 66 67 68 69 71 72 73 74 75 78 81 84 85 88 90 91 97 100 101 104 105 110 127 128"},F:{"28":0.04291,"90":0.01907,"94":0.00954,"104":0.0143,"107":0.2384,"108":0.03814,"109":1.9215,"110":0.03814,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 60 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 91 92 93 95 96 97 98 99 100 101 102 103 105 106 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"17":0.00954,"92":0.00954,"107":0.00477,"108":0.00954,"109":0.02384,"112":0.04291,"113":0.00477,"114":0.00477,"117":0.00477,"119":0.04291,"120":0.02384,"121":0.02861,"122":0.01907,"123":0.17642,"124":3.69043,"125":2.10746,_:"12 13 14 15 16 18 79 80 81 83 84 85 86 87 88 89 90 91 93 94 95 96 97 98 99 100 101 102 103 104 105 106 110 111 115 116 118"},E:{"9":0.00954,"13":0.00477,"14":0.02861,_:"0 4 5 6 7 8 10 11 12 15 3.1 3.2 5.1 6.1 7.1 9.1 10.1 11.1 12.1 17.6","13.1":0.02861,"14.1":0.03814,"15.1":0.00477,"15.2-15.3":0.01907,"15.4":0.0143,"15.5":0.00954,"15.6":0.24317,"16.0":0.01907,"16.1":0.02861,"16.2":0.08582,"16.3":0.12397,"16.4":0.06198,"16.5":0.07152,"16.6":0.38621,"17.0":0.04291,"17.1":0.1335,"17.2":0.1192,"17.3":0.08106,"17.4":1.88813,"17.5":0.51971},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.00352,"5.0-5.1":0.00352,"6.0-6.1":0.00879,"7.0-7.1":0.01231,"8.1-8.4":0.00352,"9.0-9.2":0.00879,"9.3":0.04044,"10.0-10.2":0.00703,"10.3":0.06329,"11.0-11.2":0.09318,"11.3-11.4":0.01758,"12.0-12.1":0.01055,"12.2-12.5":0.25493,"13.0-13.1":0.00527,"13.2":0.02461,"13.3":0.01231,"13.4-13.7":0.05626,"14.0-14.4":0.0967,"14.5-14.8":0.14944,"15.0-15.1":0.07208,"15.2-15.3":0.07912,"15.4":0.08967,"15.5":0.11252,"15.6-15.8":1.01269,"16.0":0.23032,"16.1":0.4747,"16.2":0.23032,"16.3":0.3991,"16.4":0.08439,"16.5":0.17054,"16.6-16.7":1.35904,"17.0":0.14768,"17.1":0.24087,"17.2":0.25141,"17.3":0.46415,"17.4":10.54004,"17.5":0.74369,"17.6":0},P:{"4":0.05259,"20":0.01052,"21":0.03155,"22":0.02103,"23":0.04207,"24":0.14724,"25":2.61885,_:"5.0-5.4 8.2 9.2 10.1 12.0 13.0 14.0 15.0 16.0 18.0","6.2-6.4":0.01052,"7.2-7.4":0.01052,"11.1-11.2":0.01052,"17.0":0.01052,"19.0":0.01052},I:{"0":0.21885,"3":0,"4":0.00002,"2.1":0,"2.2":0,"2.3":0,"4.1":0.00004,"4.2-4.3":0.00013,"4.4":0,"4.4.3-4.4.4":0.00048},K:{"0":0.30909,_:"10 11 12 11.1 11.5 12.1"},A:{"7":0.00556,"8":0.02781,"9":0.00556,"10":0.00556,"11":0.02225,_:"6 5.5"},S:{_:"2.5 3.0-3.1"},J:{_:"7 10"},N:{_:"10 11"},L:{"0":30.45103},R:{_:"0"},M:{"0":0.2197},Q:{_:"14.9"},O:{"0":0.1517},H:{"0":0.01}}; +module.exports={C:{"52":0.0048,"68":0.13437,"73":0.0096,"78":0.0144,"108":0.0096,"113":0.0048,"115":0.12957,"120":0.0048,"122":0.0048,"123":0.0048,"125":0.0048,"127":0.0144,"128":0.0096,"129":0.17756,"130":1.09417,_:"2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 69 70 71 72 74 75 76 77 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 109 110 111 112 114 116 117 118 119 121 124 126 131 132 133 134 135 3.5 3.6"},D:{"49":0.0048,"70":0.0048,"76":0.0096,"79":0.0144,"81":0.0096,"83":0.0048,"85":0.0048,"86":0.0048,"87":0.0144,"88":0.03839,"89":0.0048,"93":0.0096,"94":0.0048,"96":0.0048,"98":0.0096,"99":0.0048,"101":0.0048,"103":0.09598,"106":0.0048,"107":0.03839,"108":0.0096,"109":0.71505,"111":0.02879,"113":0.0096,"114":0.0144,"115":0.0048,"116":0.21596,"117":0.024,"118":0.0048,"119":0.21116,"120":0.024,"121":0.02879,"122":0.61427,"123":1.58367,"124":0.33593,"125":0.23035,"126":0.30714,"127":1.14696,"128":19.57992,"129":8.53742,"130":0.0048,_:"4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 71 72 73 74 75 77 78 80 84 90 91 92 95 97 100 102 104 105 110 112 131 132 133"},F:{"28":0.0048,"84":0.0048,"94":0.0048,"95":0.0048,"109":0.0192,"111":0.0192,"112":0.66706,"113":0.69106,"114":0.02879,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 60 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 85 86 87 88 89 90 91 92 93 96 97 98 99 100 101 102 103 104 105 106 107 108 110 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"108":0.0096,"109":0.024,"112":0.06239,"114":0.024,"117":0.0048,"119":0.0096,"120":0.0096,"121":0.0048,"122":0.0096,"123":0.0048,"124":0.0048,"125":0.024,"126":0.02879,"127":0.12957,"128":4.2999,"129":1.68445,_:"12 13 14 15 16 17 18 79 80 81 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 110 111 113 115 116 118 130"},E:{"14":0.0096,_:"0 4 5 6 7 8 9 10 11 12 13 15 3.1 3.2 5.1 6.1 7.1 9.1 10.1 11.1","12.1":0.0048,"13.1":0.0144,"14.1":0.06719,"15.1":0.0192,"15.2-15.3":0.0144,"15.4":0.0048,"15.5":0.02879,"15.6":0.16317,"16.0":0.0192,"16.1":0.0192,"16.2":0.03359,"16.3":0.05279,"16.4":0.04319,"16.5":0.03839,"16.6":0.21596,"17.0":0.024,"17.1":0.17276,"17.2":0.08158,"17.3":0.09118,"17.4":0.09118,"17.5":0.32633,"17.6":1.9436,"18.0":0.60947,"18.1":0.04799},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.0035,"5.0-5.1":0.00175,"6.0-6.1":0.01051,"7.0-7.1":0.01226,"8.1-8.4":0,"9.0-9.2":0.01051,"9.3":0.02978,"10.0-10.2":0.00876,"10.3":0.0508,"11.0-11.2":0.18743,"11.3-11.4":0.01401,"12.0-12.1":0.00876,"12.2-12.5":0.21196,"13.0-13.1":0.0035,"13.2":0.06656,"13.3":0.00876,"13.4-13.7":0.03503,"14.0-14.4":0.08058,"14.5-14.8":0.10685,"15.0-15.1":0.06131,"15.2-15.3":0.05956,"15.4":0.06832,"15.5":0.08408,"15.6-15.8":0.83206,"16.0":0.16816,"16.1":0.33282,"16.2":0.16641,"16.3":0.28027,"16.4":0.05956,"16.5":0.11736,"16.6-16.7":1.00197,"17.0":0.08408,"17.1":0.13313,"17.2":0.12087,"17.3":0.17342,"17.4":0.37136,"17.5":1.78498,"17.6-17.7":9.49945,"18.0":1.19816,"18.1":0.0543},P:{"4":0.04184,"21":0.11507,"22":0.02092,"23":0.02092,"24":0.02092,"25":0.15691,"26":2.33278,_:"20 5.0-5.4 8.2 9.2 10.1 11.1-11.2 12.0 13.0 14.0 15.0 16.0 18.0 19.0","6.2-6.4":0.04184,"7.2-7.4":0.01046,"17.0":0.01046},I:{"0":0.10893,"3":0,"4":0,"2.1":0,"2.2":0,"2.3":0,"4.1":0.00001,"4.2-4.3":0.00004,"4.4":0,"4.4.3-4.4.4":0.00017},K:{"0":0.35367,_:"10 11 12 11.1 11.5 12.1"},A:{_:"6 7 8 9 10 11 5.5"},N:{_:"10 11"},S:{_:"2.5 3.0-3.1"},J:{_:"7 10"},O:{"0":0.26005},H:{"0":0},L:{"0":30.41856},R:{_:"0"},M:{"0":0.23925},Q:{"14.9":0.0052}}; diff --git a/node_modules/caniuse-lite/data/regions/MU.js b/node_modules/caniuse-lite/data/regions/MU.js index 1cc696da93..6b2fa19821 100644 --- a/node_modules/caniuse-lite/data/regions/MU.js +++ b/node_modules/caniuse-lite/data/regions/MU.js @@ -1 +1 @@ -module.exports={C:{"20":0.0033,"34":0.0066,"52":0.0033,"73":0.0033,"78":0.0066,"80":0.0033,"88":0.0099,"112":0.0033,"114":0.033,"115":0.2178,"118":0.0033,"122":0.0033,"123":0.0132,"124":0.0363,"125":1.0131,"126":0.8778,_:"2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 21 22 23 24 25 26 27 28 29 30 31 32 33 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 74 75 76 77 79 81 82 83 84 85 86 87 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 113 116 117 119 120 121 127 128 129 3.5 3.6"},D:{"34":0.0033,"38":0.0231,"44":0.0033,"45":0.0033,"49":0.0132,"50":0.0066,"63":0.0033,"65":0.0033,"67":0.0165,"68":0.0033,"69":0.0033,"72":0.0033,"74":0.0033,"78":0.0792,"79":0.0231,"80":0.0066,"81":0.0231,"83":0.0165,"86":0.0066,"87":0.0429,"88":0.0198,"90":0.0033,"91":0.0165,"93":0.0066,"94":0.0297,"95":0.0066,"96":0.0033,"97":0.0033,"98":0.0033,"99":0.0165,"100":0.0066,"101":0.0033,"102":0.0528,"103":0.0396,"104":0.0099,"106":0.0066,"107":0.0132,"108":0.033,"109":1.3101,"110":0.0066,"111":0.0165,"112":0.0066,"113":0.0099,"114":0.0396,"115":0.0198,"116":0.099,"117":0.0198,"118":0.0066,"119":0.0297,"120":0.0825,"121":0.0759,"122":0.1815,"123":0.6435,"124":13.7841,"125":5.7024,"126":0.0099,_:"4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 35 36 37 39 40 41 42 43 46 47 48 51 52 53 54 55 56 57 58 59 60 61 62 64 66 70 71 73 75 76 77 84 85 89 92 105 127 128"},F:{"28":0.0165,"95":0.0099,"96":0.0033,"102":0.0033,"105":0.0033,"107":0.1155,"108":0.0066,"109":0.7458,"110":0.0363,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 60 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 97 98 99 100 101 103 104 106 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"15":0.0033,"16":0.0033,"17":0.0033,"18":0.0066,"92":0.0066,"99":0.0033,"100":0.0033,"109":0.0231,"110":0.0066,"111":0.0033,"114":0.0033,"115":0.0033,"116":0.0033,"119":0.0066,"120":0.0132,"121":0.0198,"122":0.0231,"123":0.0891,"124":2.1219,"125":1.353,_:"12 13 14 79 80 81 83 84 85 86 87 88 89 90 91 93 94 95 96 97 98 101 102 103 104 105 106 107 108 112 113 117 118"},E:{"14":0.033,"15":0.0066,_:"0 4 5 6 7 8 9 10 11 12 13 3.1 3.2 5.1 6.1 7.1 9.1 10.1 11.1 17.6","12.1":0.0033,"13.1":0.0264,"14.1":0.0924,"15.1":0.0033,"15.2-15.3":0.0165,"15.4":0.0132,"15.5":0.0198,"15.6":0.1452,"16.0":0.0066,"16.1":0.1254,"16.2":0.0099,"16.3":0.0561,"16.4":0.0066,"16.5":0.0363,"16.6":0.1419,"17.0":0.0165,"17.1":0.0594,"17.2":0.0792,"17.3":0.0561,"17.4":0.8712,"17.5":0.198},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.00196,"5.0-5.1":0.00196,"6.0-6.1":0.0049,"7.0-7.1":0.00686,"8.1-8.4":0.00196,"9.0-9.2":0.0049,"9.3":0.02253,"10.0-10.2":0.00392,"10.3":0.03527,"11.0-11.2":0.05192,"11.3-11.4":0.0098,"12.0-12.1":0.00588,"12.2-12.5":0.14205,"13.0-13.1":0.00294,"13.2":0.01372,"13.3":0.00686,"13.4-13.7":0.03135,"14.0-14.4":0.05388,"14.5-14.8":0.08327,"15.0-15.1":0.04017,"15.2-15.3":0.04409,"15.4":0.04996,"15.5":0.0627,"15.6-15.8":0.5643,"16.0":0.12834,"16.1":0.26452,"16.2":0.12834,"16.3":0.22239,"16.4":0.04702,"16.5":0.09503,"16.6-16.7":0.7573,"17.0":0.08229,"17.1":0.13422,"17.2":0.1401,"17.3":0.25864,"17.4":5.87322,"17.5":0.41441,"17.6":0},P:{"4":0.0923,"20":0.04102,"21":0.10255,"22":0.17434,"23":0.28714,"24":0.68709,"25":4.72756,"5.0-5.4":0.01026,"6.2-6.4":0.03077,"7.2-7.4":0.15383,_:"8.2 9.2 10.1","11.1-11.2":0.03077,"12.0":0.01026,"13.0":0.02051,"14.0":0.08204,"15.0":0.01026,"16.0":0.13332,"17.0":0.03077,"18.0":0.21536,"19.0":0.08204},I:{"0":0.07342,"3":0,"4":0.00001,"2.1":0,"2.2":0,"2.3":0,"4.1":0.00001,"4.2-4.3":0.00004,"4.4":0,"4.4.3-4.4.4":0.00016},K:{"0":0.76402,_:"10 11 12 11.1 11.5 12.1"},A:{"11":0.0165,_:"6 7 8 9 10 5.5"},S:{_:"2.5 3.0-3.1"},J:{_:"7 10"},N:{_:"10 11"},L:{"0":49.06183},R:{_:"0"},M:{"0":0.52938},Q:{_:"14.9"},O:{"0":0.92474},H:{"0":0.02}}; +module.exports={C:{"20":0.00315,"34":0.00315,"52":0.00315,"78":0.00629,"112":0.00315,"114":0.01259,"115":0.22973,"127":0.02518,"128":0.00629,"129":0.22973,"130":0.90319,"131":0.00315,_:"2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 21 22 23 24 25 26 27 28 29 30 31 32 33 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 113 116 117 118 119 120 121 122 123 124 125 126 132 133 134 135 3.5 3.6"},D:{"38":0.00315,"47":0.00315,"49":0.00315,"50":0.00315,"56":4.02501,"65":0.00315,"68":0.00944,"70":0.00315,"72":0.00315,"74":0.00315,"75":0.00315,"77":0.00315,"78":0.06294,"79":0.02832,"80":0.00315,"81":0.00315,"83":0.00629,"86":0.00315,"87":0.02832,"88":0.01888,"89":0.00629,"91":0.01259,"92":0.00629,"93":0.00315,"94":0.01574,"95":0.00315,"96":0.03776,"97":0.00315,"99":0.03147,"100":0.00315,"102":0.00315,"103":0.02832,"104":0.00629,"105":0.00315,"106":0.00315,"108":0.00629,"109":0.91578,"110":0.00315,"111":0.01259,"112":0.00315,"113":0.00629,"114":0.00315,"115":0.00944,"116":0.08182,"117":0.00629,"118":0.01259,"119":0.03147,"120":0.02518,"121":0.02518,"122":0.0535,"123":0.02832,"124":0.2077,"125":0.05665,"126":0.11644,"127":0.61367,"128":11.70369,"129":4.05334,"130":0.00315,_:"4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 39 40 41 42 43 44 45 46 48 51 52 53 54 55 57 58 59 60 61 62 63 64 66 67 69 71 73 76 84 85 90 98 101 107 131 132 133"},F:{"63":0.00315,"84":0.01259,"95":0.00629,"102":0.00315,"109":0.00944,"111":0.00315,"112":0.40911,"113":0.27379,"114":0.00315,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 60 62 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 85 86 87 88 89 90 91 92 93 94 96 97 98 99 100 101 103 104 105 106 107 108 110 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"18":0.00629,"92":0.01259,"100":0.00629,"109":0.04091,"116":0.00315,"118":0.00315,"119":0.00315,"120":0.00629,"122":0.00629,"123":0.00629,"124":0.00315,"125":0.00629,"126":0.04091,"127":0.1007,"128":2.58054,"129":0.93466,_:"12 13 14 15 16 17 79 80 81 83 84 85 86 87 88 89 90 91 93 94 95 96 97 98 99 101 102 103 104 105 106 107 108 110 111 112 113 114 115 117 121 130"},E:{"14":0.00629,_:"0 4 5 6 7 8 9 10 11 12 13 15 3.1 3.2 5.1 6.1 7.1 9.1 10.1 11.1 15.2-15.3","12.1":0.00315,"13.1":0.01888,"14.1":0.05665,"15.1":0.00315,"15.4":0.01888,"15.5":0.01259,"15.6":0.11959,"16.0":0.03147,"16.1":0.02203,"16.2":0.00944,"16.3":0.02203,"16.4":0.00944,"16.5":0.01259,"16.6":0.11015,"17.0":0.01259,"17.1":0.01888,"17.2":0.02518,"17.3":0.02203,"17.4":0.07238,"17.5":0.21085,"17.6":0.68605,"18.0":0.14162,"18.1":0.01574},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.0015,"5.0-5.1":0.00075,"6.0-6.1":0.00449,"7.0-7.1":0.00524,"8.1-8.4":0,"9.0-9.2":0.00449,"9.3":0.01273,"10.0-10.2":0.00374,"10.3":0.02172,"11.0-11.2":0.08013,"11.3-11.4":0.00599,"12.0-12.1":0.00374,"12.2-12.5":0.09062,"13.0-13.1":0.0015,"13.2":0.02846,"13.3":0.00374,"13.4-13.7":0.01498,"14.0-14.4":0.03445,"14.5-14.8":0.04568,"15.0-15.1":0.02621,"15.2-15.3":0.02546,"15.4":0.02921,"15.5":0.03595,"15.6-15.8":0.35574,"16.0":0.0719,"16.1":0.1423,"16.2":0.07115,"16.3":0.11983,"16.4":0.02546,"16.5":0.05018,"16.6-16.7":0.42838,"17.0":0.03595,"17.1":0.05692,"17.2":0.05168,"17.3":0.07414,"17.4":0.15877,"17.5":0.76315,"17.6-17.7":4.06141,"18.0":0.51226,"18.1":0.02322},P:{"4":0.10266,"20":0.0616,"21":0.23612,"22":0.73917,"23":0.30799,"24":0.34905,"25":1.01636,"26":7.91526,_:"5.0-5.4 8.2 10.1 12.0","6.2-6.4":0.0308,"7.2-7.4":0.36958,"9.2":0.02053,"11.1-11.2":0.07186,"13.0":0.0308,"14.0":0.10266,"15.0":0.01027,"16.0":0.15399,"17.0":0.04106,"18.0":0.08213,"19.0":0.29772},I:{"0":0.04783,"3":0,"4":0,"2.1":0,"2.2":0,"2.3":0,"4.1":0,"4.2-4.3":0.00002,"4.4":0,"4.4.3-4.4.4":0.00008},K:{"0":0.93558,_:"10 11 12 11.1 11.5 12.1"},A:{"11":0.00629,_:"6 7 8 9 10 5.5"},N:{_:"10 11"},S:{_:"2.5 3.0-3.1"},J:{_:"7 10"},O:{"0":0.70576},H:{"0":0.01},L:{"0":48.25033},R:{_:"0"},M:{"0":0.31519},Q:{"14.9":0.0137}}; diff --git a/node_modules/caniuse-lite/data/regions/MV.js b/node_modules/caniuse-lite/data/regions/MV.js index 1e7f6d4929..6dfe979066 100644 --- a/node_modules/caniuse-lite/data/regions/MV.js +++ b/node_modules/caniuse-lite/data/regions/MV.js @@ -1 +1 @@ -module.exports={C:{"34":0.00245,"103":0.00735,"108":0.00245,"115":0.0147,"116":0.0049,"119":0.0049,"121":0.00245,"122":0.00245,"123":0.00245,"124":0.0196,"125":0.5684,"126":0.4557,"127":0.00245,_:"2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 104 105 106 107 109 110 111 112 113 114 117 118 120 128 129 3.5 3.6"},D:{"50":0.00245,"67":0.00245,"68":0.00245,"70":0.0147,"72":0.00245,"74":0.00245,"75":0.00245,"79":0.00735,"83":0.0686,"87":0.0098,"88":0.00735,"90":0.0098,"95":0.00245,"96":0.0049,"99":0.0049,"100":0.00245,"103":0.0294,"104":0.0049,"108":0.00245,"109":0.33075,"110":0.00245,"111":0.0049,"112":0.00735,"113":0.0049,"114":0.00245,"115":0.00245,"116":0.06615,"117":0.02205,"118":0.0098,"119":0.02695,"120":0.04655,"121":0.03675,"122":0.3822,"123":0.49735,"124":11.86045,"125":4.49575,"126":0.00245,_:"4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 69 71 73 76 77 78 80 81 84 85 86 89 91 92 93 94 97 98 101 102 105 106 107 127 128"},F:{"107":0.1372,"108":0.01715,"109":0.51205,"110":0.01225,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 60 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"16":0.00245,"18":0.00245,"92":0.0049,"100":0.00245,"111":0.00245,"113":0.00245,"114":0.00245,"115":0.0196,"116":0.0049,"118":0.0049,"119":0.00735,"120":0.0294,"121":0.01715,"122":0.02695,"123":0.05145,"124":1.47,"125":0.83055,_:"12 13 14 15 17 79 80 81 83 84 85 86 87 88 89 90 91 93 94 95 96 97 98 99 101 102 103 104 105 106 107 108 109 110 112 117"},E:{"13":0.00245,"14":0.0245,"15":0.01225,_:"0 4 5 6 7 8 9 10 11 12 3.1 3.2 5.1 6.1 7.1 9.1 10.1 11.1 12.1 17.6","13.1":0.01225,"14.1":0.0441,"15.1":0.00735,"15.2-15.3":0.0098,"15.4":0.0049,"15.5":0.0196,"15.6":0.0539,"16.0":0.0098,"16.1":0.098,"16.2":0.00735,"16.3":0.0245,"16.4":0.0539,"16.5":0.0294,"16.6":0.0588,"17.0":0.01225,"17.1":0.05145,"17.2":0.08085,"17.3":0.0343,"17.4":0.41895,"17.5":0.0882},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.00313,"5.0-5.1":0.00313,"6.0-6.1":0.00782,"7.0-7.1":0.01095,"8.1-8.4":0.00313,"9.0-9.2":0.00782,"9.3":0.03599,"10.0-10.2":0.00626,"10.3":0.05632,"11.0-11.2":0.08292,"11.3-11.4":0.01565,"12.0-12.1":0.00939,"12.2-12.5":0.22686,"13.0-13.1":0.00469,"13.2":0.0219,"13.3":0.01095,"13.4-13.7":0.05007,"14.0-14.4":0.08605,"14.5-14.8":0.13299,"15.0-15.1":0.06415,"15.2-15.3":0.07041,"15.4":0.07979,"15.5":0.10013,"15.6-15.8":0.90119,"16.0":0.20496,"16.1":0.42243,"16.2":0.20496,"16.3":0.35516,"16.4":0.0751,"16.5":0.15176,"16.6-16.7":1.20941,"17.0":0.13142,"17.1":0.21435,"17.2":0.22373,"17.3":0.41305,"17.4":9.37958,"17.5":0.66181,"17.6":0},P:{"4":0.03092,"20":0.03092,"21":0.02061,"22":0.07215,"23":0.04123,"24":0.27829,"25":1.50484,_:"5.0-5.4 6.2-6.4 8.2 9.2 10.1 11.1-11.2 12.0 15.0 16.0 17.0","7.2-7.4":0.04123,"13.0":0.01031,"14.0":0.01031,"18.0":0.01031,"19.0":0.01031},I:{"0":0.04513,"3":0,"4":0,"2.1":0,"2.2":0,"2.3":0,"4.1":0.00001,"4.2-4.3":0.00003,"4.4":0,"4.4.3-4.4.4":0.0001},K:{"0":1.35918,_:"10 11 12 11.1 11.5 12.1"},A:{_:"6 7 8 9 10 11 5.5"},S:{_:"2.5 3.0-3.1"},J:{_:"7 10"},N:{_:"10 11"},L:{"0":55.84697},R:{_:"0"},M:{"0":0.62673},Q:{_:"14.9"},O:{"0":0.74755},H:{"0":0}}; +module.exports={C:{"34":0.00236,"103":0.00236,"115":0.09891,"116":0.01178,"120":0.00236,"122":0.00236,"125":0.0212,"127":0.00236,"128":0.00707,"129":0.20253,"130":0.66176,"131":0.00236,_:"2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 104 105 106 107 108 109 110 111 112 113 114 117 118 119 121 123 124 126 132 133 134 135 3.5 3.6"},D:{"50":0.00236,"73":0.00236,"83":0.00707,"87":0.00707,"88":0.00236,"89":0.00707,"90":0.00471,"91":0.00471,"92":0.03297,"93":0.00236,"101":0.00236,"103":0.01884,"107":0.00471,"109":0.3038,"111":0.00236,"112":0.03062,"113":0.00236,"114":0.00236,"116":0.03768,"117":0.01178,"118":0.00236,"119":0.03768,"120":0.03533,"121":0.01413,"122":0.07301,"123":0.03062,"124":0.04239,"125":0.28496,"126":0.13895,"127":0.71592,"128":12.05289,"129":3.82923,"130":0.00471,"131":0.00236,_:"4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 74 75 76 77 78 79 80 81 84 85 86 94 95 96 97 98 99 100 102 104 105 106 108 110 115 132 133"},F:{"84":0.03297,"109":0.00942,"111":0.00236,"112":0.22608,"113":0.18369,"114":0.00236,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 60 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 110 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"16":0.00942,"92":0.00707,"100":0.00236,"109":0.00236,"114":0.00236,"116":0.00471,"119":0.00236,"120":0.01649,"121":0.00471,"123":0.00236,"124":0.00707,"125":0.00471,"126":0.0212,"127":0.06594,"128":1.32587,"129":0.5181,"130":0.00236,_:"12 13 14 15 17 18 79 80 81 83 84 85 86 87 88 89 90 91 93 94 95 96 97 98 99 101 102 103 104 105 106 107 108 110 111 112 113 115 117 118 122"},E:{"14":0.00471,"15":0.02591,_:"0 4 5 6 7 8 9 10 11 12 13 3.1 3.2 5.1 6.1 7.1 9.1 10.1 11.1","12.1":0.00236,"13.1":0.02355,"14.1":0.01884,"15.1":0.00236,"15.2-15.3":0.00707,"15.4":0.00236,"15.5":0.00236,"15.6":0.03297,"16.0":0.00942,"16.1":0.04946,"16.2":0.04004,"16.3":0.02826,"16.4":0.01413,"16.5":0.01649,"16.6":0.05181,"17.0":0.03297,"17.1":0.04475,"17.2":0.03062,"17.3":0.01649,"17.4":0.03062,"17.5":0.18369,"17.6":0.42626,"18.0":0.17427,"18.1":0.01178},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.0038,"5.0-5.1":0.0019,"6.0-6.1":0.01141,"7.0-7.1":0.01331,"8.1-8.4":0,"9.0-9.2":0.01141,"9.3":0.03232,"10.0-10.2":0.00951,"10.3":0.05514,"11.0-11.2":0.20344,"11.3-11.4":0.01521,"12.0-12.1":0.00951,"12.2-12.5":0.23006,"13.0-13.1":0.0038,"13.2":0.07225,"13.3":0.00951,"13.4-13.7":0.03803,"14.0-14.4":0.08746,"14.5-14.8":0.11598,"15.0-15.1":0.06655,"15.2-15.3":0.06464,"15.4":0.07415,"15.5":0.09126,"15.6-15.8":0.90312,"16.0":0.18253,"16.1":0.36125,"16.2":0.18062,"16.3":0.30421,"16.4":0.06464,"16.5":0.12739,"16.6-16.7":1.08755,"17.0":0.09126,"17.1":0.1445,"17.2":0.13119,"17.3":0.18823,"17.4":0.40308,"17.5":1.93744,"17.6-17.7":10.31081,"18.0":1.3005,"18.1":0.05894},P:{"4":0.01024,"21":0.01024,"22":0.02049,"23":0.02049,"24":0.04098,"25":0.14342,"26":1.23956,_:"20 5.0-5.4 6.2-6.4 8.2 9.2 10.1 11.1-11.2 12.0 13.0 14.0 15.0 16.0 17.0","7.2-7.4":0.02049,"18.0":0.01024,"19.0":0.01024},I:{"0":0.03812,"3":0,"4":0,"2.1":0,"2.2":0,"2.3":0,"4.1":0,"4.2-4.3":0.00002,"4.4":0,"4.4.3-4.4.4":0.00006},K:{"0":1.00914,_:"10 11 12 11.1 11.5 12.1"},A:{_:"6 7 8 9 10 11 5.5"},N:{_:"10 11"},S:{_:"2.5 3.0-3.1"},J:{_:"7 10"},O:{"0":0.62689},H:{"0":0},L:{"0":54.15563},R:{_:"0"},M:{"0":0.68041},Q:{"14.9":0.00765}}; diff --git a/node_modules/caniuse-lite/data/regions/MW.js b/node_modules/caniuse-lite/data/regions/MW.js index d4f4c7b307..3b844e9edd 100644 --- a/node_modules/caniuse-lite/data/regions/MW.js +++ b/node_modules/caniuse-lite/data/regions/MW.js @@ -1 +1 @@ -module.exports={C:{"18":0.00194,"42":0.00194,"47":0.00194,"52":0.00194,"69":0.00194,"71":0.00194,"77":0.00194,"78":0.00194,"80":0.00194,"94":0.00194,"99":0.00194,"100":0.00388,"102":0.00971,"104":0.00194,"109":0.00971,"111":0.00194,"113":0.03496,"115":0.17866,"116":0.00194,"121":0.00194,"122":0.01554,"123":0.01165,"124":0.02913,"125":0.67387,"126":0.39423,"127":0.00777,_:"2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 43 44 45 46 48 49 50 51 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 70 72 73 74 75 76 79 81 82 83 84 85 86 87 88 89 90 91 92 93 95 96 97 98 101 103 105 106 107 108 110 112 114 117 118 119 120 128 129 3.5 3.6"},D:{"11":0.00777,"25":0.00777,"31":0.00194,"32":0.00194,"33":0.00194,"34":0.00194,"36":0.00194,"37":0.00194,"38":0.00194,"40":0.00777,"42":0.00194,"43":0.00194,"46":0.00194,"48":0.00388,"49":0.00777,"50":0.01554,"55":0.00388,"56":0.00194,"57":0.00194,"58":0.00388,"62":0.00194,"63":0.00194,"64":0.00388,"65":0.00388,"66":0.00194,"68":0.00388,"69":0.01554,"70":0.00777,"71":0.00583,"74":0.00971,"76":0.00388,"77":0.00194,"78":0.00388,"79":0.00583,"80":0.00388,"81":0.00777,"83":0.00583,"84":0.00194,"85":0.00388,"86":0.00583,"87":0.00388,"88":0.01942,"90":0.00388,"91":0.00388,"92":0.00583,"93":0.00194,"94":0.00388,"95":0.00583,"97":0.00194,"98":0.00388,"99":0.01554,"100":0.00194,"102":0.01165,"103":0.04078,"104":0.00194,"105":0.01359,"106":0.00971,"107":0.00194,"108":0.00194,"109":0.63115,"110":0.00777,"111":0.01165,"112":0.00583,"113":0.00194,"114":0.01748,"115":0.01942,"116":0.0369,"117":0.03884,"118":0.02525,"119":0.02719,"120":0.04272,"121":0.02913,"122":0.10098,"123":0.20974,"124":4.55982,"125":1.92064,"126":0.00388,_:"4 5 6 7 8 9 10 12 13 14 15 16 17 18 19 20 21 22 23 24 26 27 28 29 30 35 39 41 44 45 47 51 52 53 54 59 60 61 67 72 73 75 89 96 101 127 128"},F:{"29":0.00194,"34":0.00194,"36":0.00194,"37":0.00194,"42":0.02136,"46":0.00777,"79":0.01748,"80":0.00194,"82":0.00388,"86":0.00194,"95":0.05049,"103":0.00194,"104":0.00194,"107":0.01748,"108":0.03496,"109":0.5826,"110":0.08739,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 28 30 31 32 33 35 38 39 40 41 43 44 45 47 48 49 50 51 52 53 54 55 56 57 58 60 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 81 83 84 85 87 88 89 90 91 92 93 94 96 97 98 99 100 101 102 105 106 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 12.1","11.6":0.00194},B:{"12":0.01942,"13":0.02136,"14":0.00971,"15":0.01165,"16":0.01942,"17":0.01359,"18":0.134,"84":0.00971,"89":0.01748,"90":0.01748,"92":0.07574,"100":0.00777,"103":0.00388,"107":0.00777,"108":0.00388,"109":0.02136,"110":0.01165,"112":0.00971,"114":0.00388,"115":0.00583,"116":0.00194,"117":0.00583,"118":0.00583,"119":0.0233,"120":0.01748,"121":0.04661,"122":0.05826,"123":0.11458,"124":1.53612,"125":0.68553,_:"79 80 81 83 85 86 87 88 91 93 94 95 96 97 98 99 101 102 104 105 106 111 113"},E:{"14":0.00971,"15":0.00388,_:"0 4 5 6 7 8 9 10 11 12 13 3.1 3.2 6.1 7.1 9.1 10.1 16.0 16.3 16.4 17.6","5.1":0.01748,"11.1":0.00971,"12.1":0.00194,"13.1":0.00777,"14.1":0.00388,"15.1":0.00194,"15.2-15.3":0.00388,"15.4":0.00194,"15.5":0.00194,"15.6":0.02719,"16.1":0.00194,"16.2":0.00194,"16.5":0.01165,"16.6":0.02136,"17.0":0.00194,"17.1":0.00583,"17.2":0.02136,"17.3":0.00388,"17.4":0.0738,"17.5":0.01165},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.00034,"5.0-5.1":0.00034,"6.0-6.1":0.00086,"7.0-7.1":0.00121,"8.1-8.4":0.00034,"9.0-9.2":0.00086,"9.3":0.00397,"10.0-10.2":0.00069,"10.3":0.00621,"11.0-11.2":0.00914,"11.3-11.4":0.00172,"12.0-12.1":0.00103,"12.2-12.5":0.025,"13.0-13.1":0.00052,"13.2":0.00241,"13.3":0.00121,"13.4-13.7":0.00552,"14.0-14.4":0.00948,"14.5-14.8":0.01466,"15.0-15.1":0.00707,"15.2-15.3":0.00776,"15.4":0.00879,"15.5":0.01104,"15.6-15.8":0.09933,"16.0":0.02259,"16.1":0.04656,"16.2":0.02259,"16.3":0.03914,"16.4":0.00828,"16.5":0.01673,"16.6-16.7":0.1333,"17.0":0.01449,"17.1":0.02362,"17.2":0.02466,"17.3":0.04552,"17.4":1.03378,"17.5":0.07294,"17.6":0},P:{"4":0.38507,"20":0.0304,"21":0.04053,"22":0.13174,"23":0.10134,"24":0.31414,"25":0.52694,"5.0-5.4":0.02027,"6.2-6.4":0.01013,"7.2-7.4":0.20267,_:"8.2 10.1 12.0","9.2":0.01013,"11.1-11.2":0.02027,"13.0":0.01013,"14.0":0.01013,"15.0":0.01013,"16.0":0.05067,"17.0":0.04053,"18.0":0.02027,"19.0":0.0608},I:{"0":0.1525,"3":0,"4":0.00002,"2.1":0,"2.2":0,"2.3":0,"4.1":0.00003,"4.2-4.3":0.00009,"4.4":0,"4.4.3-4.4.4":0.00034},K:{"0":5.83313,_:"10 11 12 11.1 11.5 12.1"},A:{"10":0.00627,"11":0.02091,_:"6 7 8 9 5.5"},S:{"2.5":0.14504,_:"3.0-3.1"},J:{_:"7 10"},N:{_:"10 11"},L:{"0":71.32763},R:{_:"0"},M:{"0":0.33844},Q:{"14.9":0.00806},O:{"0":1.56325},H:{"0":2.66}}; +module.exports={C:{"34":0.00217,"45":0.00217,"48":0.00217,"57":0.00217,"72":0.00217,"88":0.00217,"89":0.00217,"98":0.00651,"109":0.00217,"112":0.00217,"113":0.00217,"115":0.13026,"118":0.00217,"122":0.00217,"123":0.00217,"125":0.00434,"126":0.00217,"127":0.03474,"128":0.01954,"129":0.20625,"130":0.69906,"131":0.03691,_:"2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 35 36 37 38 39 40 41 42 43 44 46 47 49 50 51 52 53 54 55 56 58 59 60 61 62 63 64 65 66 67 68 69 70 71 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 90 91 92 93 94 95 96 97 99 100 101 102 103 104 105 106 107 108 110 111 114 116 117 119 120 121 124 132 133 134 135 3.5 3.6"},D:{"11":0.00217,"26":0.00217,"28":0.01303,"31":0.00217,"40":0.00217,"46":0.00434,"49":0.00217,"50":0.00434,"53":0.00217,"55":0.00217,"58":0.00434,"59":0.00217,"61":0.00217,"64":0.00434,"65":0.00217,"66":0.00217,"67":0.00217,"68":0.00217,"69":0.00651,"70":0.0521,"71":0.00434,"73":0.00217,"74":0.00434,"75":0.00651,"76":0.00434,"78":0.01086,"79":0.00651,"80":0.00651,"81":0.0152,"83":0.00434,"84":0.00217,"85":0.00217,"86":0.00217,"87":0.00651,"88":0.01086,"89":0.00217,"90":0.00434,"91":0.00434,"92":0.00217,"93":0.00868,"94":0.00434,"95":0.00434,"96":0.00217,"97":0.00217,"98":0.00434,"99":0.01086,"100":0.00434,"101":0.00217,"102":0.02388,"103":0.03039,"104":0.00434,"105":0.00651,"106":0.0152,"108":0.00217,"109":0.39512,"111":0.00651,"112":0.00651,"114":0.04342,"115":0.00434,"116":0.02171,"117":0.01303,"118":0.03039,"119":0.01737,"120":0.01303,"121":0.00868,"122":0.01737,"123":0.03257,"124":0.07381,"125":0.0521,"126":0.30611,"127":0.32348,"128":5.97242,"129":1.74331,"130":0.00868,"131":0.00217,_:"4 5 6 7 8 9 10 12 13 14 15 16 17 18 19 20 21 22 23 24 25 27 29 30 32 33 34 35 36 37 38 39 41 42 43 44 45 47 48 51 52 54 56 57 60 62 63 72 77 107 110 113 132 133"},F:{"35":0.00217,"36":0.00217,"42":0.00434,"50":0.00217,"60":0.00217,"79":0.00651,"83":0.01737,"84":0.02388,"85":0.00434,"86":0.00217,"95":0.12375,"106":0.00217,"109":0.00217,"110":0.00434,"111":0.00651,"112":0.50367,"113":0.21059,"114":0.01086,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 37 38 39 40 41 43 44 45 46 47 48 49 51 52 53 54 55 56 57 58 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 80 81 82 87 88 89 90 91 92 93 94 96 97 98 99 100 101 102 103 104 105 107 108 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6","12.1":0.00434},B:{"12":0.01737,"13":0.00434,"14":0.0152,"15":0.01303,"16":0.00651,"17":0.01086,"18":0.07599,"84":0.01954,"87":0.00217,"89":0.02605,"90":0.01954,"92":0.08467,"94":0.00217,"100":0.01737,"108":0.00651,"109":0.02388,"110":0.00217,"111":0.00217,"112":0.01737,"114":0.0152,"115":0.00651,"116":0.00217,"117":0.00217,"118":0.00217,"119":0.01737,"120":0.01086,"121":0.00868,"122":0.00651,"123":0.03039,"124":0.01737,"125":0.03257,"126":0.08684,"127":0.17585,"128":2.12107,"129":0.52538,_:"79 80 81 83 85 86 88 91 93 95 96 97 98 99 101 102 103 104 105 106 107 113 130"},E:{"10":0.00217,"11":0.00651,"14":0.00217,"15":0.00217,_:"0 4 5 6 7 8 9 12 13 3.1 3.2 6.1 7.1 9.1 10.1 11.1 12.1 15.1 15.4 16.0 16.2 16.3 16.5","5.1":0.00434,"13.1":0.01086,"14.1":0.00868,"15.2-15.3":0.00217,"15.5":0.00217,"15.6":0.03908,"16.1":0.00434,"16.4":0.00217,"16.6":0.01954,"17.0":0.00217,"17.1":0.00434,"17.2":0.00217,"17.3":0.01086,"17.4":0.00651,"17.5":0.02171,"17.6":0.08033,"18.0":0.02388,"18.1":0.00217},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.00034,"5.0-5.1":0.00017,"6.0-6.1":0.00101,"7.0-7.1":0.00118,"8.1-8.4":0,"9.0-9.2":0.00101,"9.3":0.00287,"10.0-10.2":0.00085,"10.3":0.0049,"11.0-11.2":0.01809,"11.3-11.4":0.00135,"12.0-12.1":0.00085,"12.2-12.5":0.02046,"13.0-13.1":0.00034,"13.2":0.00643,"13.3":0.00085,"13.4-13.7":0.00338,"14.0-14.4":0.00778,"14.5-14.8":0.01032,"15.0-15.1":0.00592,"15.2-15.3":0.00575,"15.4":0.0066,"15.5":0.00812,"15.6-15.8":0.08033,"16.0":0.01623,"16.1":0.03213,"16.2":0.01607,"16.3":0.02706,"16.4":0.00575,"16.5":0.01133,"16.6-16.7":0.09673,"17.0":0.00812,"17.1":0.01285,"17.2":0.01167,"17.3":0.01674,"17.4":0.03585,"17.5":0.17232,"17.6-17.7":0.91706,"18.0":0.11567,"18.1":0.00524},P:{"4":0.3597,"20":0.00999,"21":0.03997,"22":0.06994,"23":0.05995,"24":0.1199,"25":0.26978,"26":0.51957,"5.0-5.4":0.03997,"6.2-6.4":0.01998,"7.2-7.4":0.14988,_:"8.2 10.1 12.0","9.2":0.00999,"11.1-11.2":0.01998,"13.0":0.00999,"14.0":0.00999,"15.0":0.00999,"16.0":0.01998,"17.0":0.01998,"18.0":0.00999,"19.0":0.03997},I:{"0":0.12493,"3":0,"4":0,"2.1":0,"2.2":0,"2.3":0,"4.1":0.00001,"4.2-4.3":0.00005,"4.4":0,"4.4.3-4.4.4":0.0002},K:{"0":5.048,_:"10 11 12 11.1 11.5 12.1"},A:{"10":0.00237,"11":0.02368,_:"6 7 8 9 5.5"},N:{_:"10 11"},S:{"2.5":0.09395,_:"3.0-3.1"},J:{_:"7 10"},O:{"0":1.57363},H:{"0":1.27},L:{"0":72.1522},R:{_:"0"},M:{"0":0.28967},Q:{"14.9":0.00783}}; diff --git a/node_modules/caniuse-lite/data/regions/MX.js b/node_modules/caniuse-lite/data/regions/MX.js index 40d03db7f9..f64cb32dd7 100644 --- a/node_modules/caniuse-lite/data/regions/MX.js +++ b/node_modules/caniuse-lite/data/regions/MX.js @@ -1 +1 @@ -module.exports={C:{"4":0.00871,"34":0.00435,"39":0.00435,"48":0.00435,"52":0.01306,"59":0.01306,"66":0.00435,"78":0.01742,"82":0.00435,"88":0.00871,"102":0.02612,"103":0.00435,"108":0.00435,"109":0.00435,"110":0.00435,"112":0.00435,"113":0.01306,"114":0.00435,"115":0.26559,"116":0.00435,"117":0.02177,"118":0.00435,"120":0.01306,"121":0.00435,"122":0.00871,"123":0.01306,"124":0.03483,"125":0.76195,"126":0.73147,"127":0.00871,_:"2 3 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 35 36 37 38 40 41 42 43 44 45 46 47 49 50 51 53 54 55 56 57 58 60 61 62 63 64 65 67 68 69 70 71 72 73 74 75 76 77 79 80 81 83 84 85 86 87 89 90 91 92 93 94 95 96 97 98 99 100 101 104 105 106 107 111 119 128 129 3.5 3.6"},D:{"38":0.00435,"49":0.01306,"52":0.00871,"63":0.00435,"65":0.00435,"66":0.05225,"67":0.00435,"70":0.00435,"71":0.00871,"74":0.00435,"75":0.00435,"76":0.00435,"77":0.00435,"78":0.00435,"79":0.03048,"80":0.04789,"81":0.00435,"84":0.00435,"85":0.00435,"86":0.00435,"87":0.0566,"88":0.01742,"89":0.00435,"90":0.00435,"91":0.03919,"92":0.00435,"93":0.02612,"94":0.01306,"95":0.00871,"96":0.00871,"97":0.01742,"98":0.01306,"99":0.02612,"100":0.00871,"101":0.00435,"102":0.01306,"103":0.1045,"104":0.00871,"105":0.00871,"106":0.01742,"107":0.02612,"108":0.01742,"109":2.24666,"110":0.01742,"111":0.02177,"112":0.03483,"113":0.06966,"114":0.08273,"115":0.05225,"116":0.21335,"117":0.01742,"118":0.02177,"119":0.06531,"120":0.1045,"121":0.13497,"122":0.4354,"123":0.7576,"124":17.02849,"125":7.11444,"126":0.01306,"127":0.00435,_:"4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 39 40 41 42 43 44 45 46 47 48 50 51 53 54 55 56 57 58 59 60 61 62 64 68 69 72 73 83 128"},F:{"46":0.00435,"89":0.00435,"95":0.06096,"102":0.00435,"107":0.40057,"108":0.02177,"109":1.49342,"110":0.0566,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 47 48 49 50 51 52 53 54 55 56 57 58 60 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 90 91 92 93 94 96 97 98 99 100 101 103 104 105 106 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"12":0.00435,"17":0.00871,"18":0.00435,"92":0.01742,"99":0.00435,"100":0.00435,"108":0.00435,"109":0.07837,"110":0.00435,"112":0.00435,"113":0.00871,"114":0.00871,"115":0.00435,"116":0.00435,"117":0.00435,"118":0.00435,"119":0.01306,"120":0.03048,"121":0.03048,"122":0.04789,"123":0.28736,"124":3.37,"125":1.96801,_:"13 14 15 16 79 80 81 83 84 85 86 87 88 89 90 91 93 94 95 96 97 98 101 102 103 104 105 106 107 111"},E:{"8":0.00435,"13":0.00435,"14":0.01306,"15":0.00435,_:"0 4 5 6 7 9 10 11 12 3.1 3.2 6.1 7.1 9.1 10.1 17.6","5.1":0.02612,"11.1":0.00871,"12.1":0.00871,"13.1":0.0566,"14.1":0.06096,"15.1":0.00871,"15.2-15.3":0.00435,"15.4":0.01742,"15.5":0.01742,"15.6":0.15674,"16.0":0.01742,"16.1":0.03483,"16.2":0.02612,"16.3":0.06531,"16.4":0.01742,"16.5":0.03919,"16.6":0.19158,"17.0":0.02612,"17.1":0.0566,"17.2":0.06531,"17.3":0.06966,"17.4":0.93176,"17.5":0.14804},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.00213,"5.0-5.1":0.00213,"6.0-6.1":0.00533,"7.0-7.1":0.00747,"8.1-8.4":0.00213,"9.0-9.2":0.00533,"9.3":0.02453,"10.0-10.2":0.00427,"10.3":0.0384,"11.0-11.2":0.05653,"11.3-11.4":0.01067,"12.0-12.1":0.0064,"12.2-12.5":0.15465,"13.0-13.1":0.0032,"13.2":0.01493,"13.3":0.00747,"13.4-13.7":0.03413,"14.0-14.4":0.05866,"14.5-14.8":0.09065,"15.0-15.1":0.04373,"15.2-15.3":0.04799,"15.4":0.05439,"15.5":0.06826,"15.6-15.8":0.61432,"16.0":0.13972,"16.1":0.28796,"16.2":0.13972,"16.3":0.2421,"16.4":0.05119,"16.5":0.10345,"16.6-16.7":0.82443,"17.0":0.08959,"17.1":0.14611,"17.2":0.15251,"17.3":0.28156,"17.4":6.39384,"17.5":0.45114,"17.6":0},P:{"4":0.07367,"20":0.01052,"21":0.01052,"22":0.02105,"23":0.03157,"24":0.05262,"25":0.79987,_:"5.0-5.4 8.2 9.2 10.1 12.0 13.0 14.0 15.0 18.0","6.2-6.4":0.01052,"7.2-7.4":0.03157,"11.1-11.2":0.01052,"16.0":0.01052,"17.0":0.01052,"19.0":0.01052},I:{"0":0.06749,"3":0,"4":0.00001,"2.1":0,"2.2":0,"2.3":0,"4.1":0.00001,"4.2-4.3":0.00004,"4.4":0,"4.4.3-4.4.4":0.00015},K:{"0":0.23713,_:"10 11 12 11.1 11.5 12.1"},A:{"8":0.00479,"11":0.091,_:"6 7 9 10 5.5"},S:{"2.5":0.01129,_:"3.0-3.1"},J:{_:"7 10"},N:{_:"10 11"},L:{"0":45.63527},R:{_:"0"},M:{"0":0.22584},Q:{_:"14.9"},O:{"0":0.03952},H:{"0":0}}; +module.exports={C:{"4":0.01969,"45":0.00394,"48":0.00394,"52":0.00788,"59":0.00788,"66":0.00788,"78":0.01969,"79":0.00394,"88":0.00394,"99":0.00394,"102":0.00394,"103":0.00394,"105":0.00394,"108":0.00394,"110":0.00394,"112":0.00788,"113":0.01181,"115":0.24022,"119":0.00394,"120":0.00394,"121":0.00394,"122":0.00394,"123":0.00394,"124":0.00394,"125":0.00788,"126":0.00788,"127":0.01575,"128":0.01575,"129":0.26385,"130":1.18534,"131":0.01181,_:"2 3 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 46 47 49 50 51 53 54 55 56 57 58 60 61 62 63 64 65 67 68 69 70 71 72 73 74 75 76 77 80 81 82 83 84 85 86 87 89 90 91 92 93 94 95 96 97 98 100 101 104 106 107 109 111 114 116 117 118 132 133 134 135 3.5 3.6"},D:{"38":0.00394,"49":0.01181,"50":0.00394,"52":0.01181,"65":0.00394,"66":0.04726,"69":0.00394,"70":0.00394,"71":0.00788,"74":0.00394,"75":0.01969,"76":0.00394,"78":0.00394,"79":0.02757,"80":0.02757,"81":0.00394,"84":0.00394,"85":0.00394,"86":0.00394,"87":0.05119,"88":0.01969,"89":0.00394,"90":0.00394,"91":0.0315,"92":0.00394,"93":0.00788,"94":0.01575,"95":0.00394,"96":0.00394,"97":0.00394,"98":0.00394,"99":0.01969,"100":0.00394,"101":0.00788,"102":0.00788,"103":0.08664,"104":0.01181,"105":0.00788,"106":0.01575,"107":0.01575,"108":0.01181,"109":1.83905,"110":0.01575,"111":0.01575,"112":0.01181,"113":0.07088,"114":0.0827,"115":0.00788,"116":0.19296,"117":0.00788,"118":0.01181,"119":0.0315,"120":0.05513,"121":0.03938,"122":0.24022,"123":0.0827,"124":0.13389,"125":0.11026,"126":0.2284,"127":0.85455,"128":15.61023,"129":5.35568,"130":0.00788,_:"4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 39 40 41 42 43 44 45 46 47 48 51 53 54 55 56 57 58 59 60 61 62 63 64 67 68 72 73 77 83 131 132 133"},F:{"36":0.00394,"84":0.01575,"89":0.00394,"95":0.04332,"102":0.00394,"109":0.04726,"111":0.01181,"112":0.86636,"113":0.5592,"114":0.00788,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 60 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 85 86 87 88 90 91 92 93 94 96 97 98 99 100 101 103 104 105 106 107 108 110 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"17":0.00788,"18":0.00394,"92":0.01575,"99":0.00788,"100":0.00394,"109":0.06301,"110":0.00394,"112":0.00394,"113":0.00394,"114":0.00788,"117":0.00394,"118":0.00394,"119":0.00394,"120":0.01181,"121":0.01181,"122":0.01181,"123":0.00788,"124":0.01575,"125":0.01969,"126":0.05119,"127":0.25991,"128":3.59146,"129":1.39011,"130":0.00394,_:"12 13 14 15 16 79 80 81 83 84 85 86 87 88 89 90 91 93 94 95 96 97 98 101 102 103 104 105 106 107 108 111 115 116"},E:{"14":0.01181,"15":0.00394,_:"0 4 5 6 7 8 9 10 11 12 13 3.1 3.2 6.1 7.1 9.1","5.1":0.00788,"10.1":0.00394,"11.1":0.00788,"12.1":0.00788,"13.1":0.04332,"14.1":0.04726,"15.1":0.00394,"15.2-15.3":0.00394,"15.4":0.01181,"15.5":0.01575,"15.6":0.14571,"16.0":0.01181,"16.1":0.01969,"16.2":0.01575,"16.3":0.03938,"16.4":0.01969,"16.5":0.0315,"16.6":0.16146,"17.0":0.01969,"17.1":0.0315,"17.2":0.03938,"17.3":0.0315,"17.4":0.07482,"17.5":0.22447,"17.6":0.93331,"18.0":0.19296,"18.1":0.00788},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.00274,"5.0-5.1":0.00137,"6.0-6.1":0.00823,"7.0-7.1":0.0096,"8.1-8.4":0,"9.0-9.2":0.00823,"9.3":0.0233,"10.0-10.2":0.00685,"10.3":0.03975,"11.0-11.2":0.14668,"11.3-11.4":0.01097,"12.0-12.1":0.00685,"12.2-12.5":0.16587,"13.0-13.1":0.00274,"13.2":0.05209,"13.3":0.00685,"13.4-13.7":0.02742,"14.0-14.4":0.06306,"14.5-14.8":0.08362,"15.0-15.1":0.04798,"15.2-15.3":0.04661,"15.4":0.05346,"15.5":0.0658,"15.6-15.8":0.65115,"16.0":0.1316,"16.1":0.26046,"16.2":0.13023,"16.3":0.21934,"16.4":0.04661,"16.5":0.09185,"16.6-16.7":0.78412,"17.0":0.0658,"17.1":0.10418,"17.2":0.09459,"17.3":0.13571,"17.4":0.29062,"17.5":1.39689,"17.6-17.7":7.43409,"18.0":0.93766,"18.1":0.0425},P:{"4":0.04289,"20":0.01072,"21":0.01072,"22":0.02144,"23":0.02144,"24":0.01072,"25":0.05361,"26":0.7827,_:"5.0-5.4 8.2 9.2 10.1 11.1-11.2 12.0 13.0 14.0 15.0 16.0 18.0 19.0","6.2-6.4":0.01072,"7.2-7.4":0.03217,"17.0":0.01072},I:{"0":0.06047,"3":0,"4":0,"2.1":0,"2.2":0,"2.3":0,"4.1":0.00001,"4.2-4.3":0.00002,"4.4":0,"4.4.3-4.4.4":0.0001},K:{"0":0.23039,_:"10 11 12 11.1 11.5 12.1"},A:{"8":0.00939,"9":0.0047,"10":0.0047,"11":0.1033,_:"6 7 5.5"},N:{_:"10 11"},S:{"2.5":0.00606,_:"3.0-3.1"},J:{_:"7 10"},O:{"0":0.0485},H:{"0":0},L:{"0":47.10766},R:{_:"0"},M:{"0":0.18795},Q:{_:"14.9"}}; diff --git a/node_modules/caniuse-lite/data/regions/MY.js b/node_modules/caniuse-lite/data/regions/MY.js index 786d5bebe3..164b797ef7 100644 --- a/node_modules/caniuse-lite/data/regions/MY.js +++ b/node_modules/caniuse-lite/data/regions/MY.js @@ -1 +1 @@ -module.exports={C:{"34":0.00409,"39":0.01226,"52":0.00817,"78":0.00409,"83":0.00409,"88":0.00409,"110":0.00409,"113":0.00409,"114":0.00409,"115":0.24107,"118":0.00409,"119":0.00409,"120":0.00409,"121":0.00817,"122":0.00409,"123":0.01226,"124":0.02043,"125":0.60881,"126":0.54752,"127":0.00409,"128":0.00409,_:"2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 35 36 37 38 40 41 42 43 44 45 46 47 48 49 50 51 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 79 80 81 82 84 85 86 87 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 111 112 116 117 129 3.5 3.6"},D:{"29":0.02043,"34":0.00409,"38":0.02043,"47":0.00409,"49":0.01226,"53":0.00409,"55":0.02043,"56":0.00409,"62":0.00409,"65":0.00409,"66":0.00409,"68":0.00409,"70":0.00409,"72":0.00409,"73":0.00409,"74":0.00817,"75":0.01226,"76":0.00409,"78":0.00409,"79":0.06946,"80":0.00409,"81":0.02043,"83":0.00409,"84":0.00409,"85":0.00817,"86":0.03269,"87":0.06946,"88":0.01226,"89":0.02452,"90":0.00409,"91":0.02043,"92":0.00409,"93":0.01226,"94":0.02043,"95":0.00409,"96":0.00817,"97":0.0286,"98":0.01634,"99":0.07763,"100":0.00409,"101":0.00409,"102":0.04086,"103":0.47806,"104":0.00817,"105":0.04086,"106":0.00817,"107":0.01634,"108":0.02452,"109":1.86322,"110":0.01226,"111":0.02043,"112":0.02452,"113":0.01634,"114":0.0286,"115":0.02043,"116":0.16344,"117":0.03677,"118":0.0286,"119":0.07763,"120":0.12667,"121":0.11441,"122":0.29011,"123":0.66193,"124":18.02335,"125":6.96663,"126":0.01634,"127":0.00409,_:"4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 30 31 32 33 35 36 37 39 40 41 42 43 44 45 46 48 50 51 52 54 57 58 59 60 61 63 64 67 69 71 77 128"},F:{"28":0.01634,"36":0.01226,"46":0.02043,"95":0.01634,"107":0.10624,"108":0.00817,"109":0.44537,"110":0.02452,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 29 30 31 32 33 34 35 37 38 39 40 41 42 43 44 45 47 48 49 50 51 52 53 54 55 56 57 58 60 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 96 97 98 99 100 101 102 103 104 105 106 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"92":0.00409,"107":0.00409,"109":0.03269,"114":0.00409,"116":0.00409,"117":0.00409,"118":0.00409,"119":0.00409,"120":0.01226,"121":0.00817,"122":0.02452,"123":0.0572,"124":2.08386,"125":1.09913,_:"12 13 14 15 16 17 18 79 80 81 83 84 85 86 87 88 89 90 91 93 94 95 96 97 98 99 100 101 102 103 104 105 106 108 110 111 112 113 115"},E:{"13":0.00409,"14":0.04086,"15":0.00817,_:"0 4 5 6 7 8 9 10 11 12 3.1 3.2 5.1 6.1 7.1 9.1 10.1 11.1 17.6","12.1":0.00409,"13.1":0.02043,"14.1":0.11032,"15.1":0.02043,"15.2-15.3":0.01634,"15.4":0.03269,"15.5":0.06946,"15.6":0.26968,"16.0":0.0286,"16.1":0.06946,"16.2":0.04903,"16.3":0.1471,"16.4":0.03269,"16.5":0.06946,"16.6":0.33914,"17.0":0.04903,"17.1":0.08581,"17.2":0.10215,"17.3":0.11849,"17.4":2.00214,"17.5":0.15118},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.00278,"5.0-5.1":0.00278,"6.0-6.1":0.00695,"7.0-7.1":0.00974,"8.1-8.4":0.00278,"9.0-9.2":0.00695,"9.3":0.03199,"10.0-10.2":0.00556,"10.3":0.05007,"11.0-11.2":0.07371,"11.3-11.4":0.01391,"12.0-12.1":0.00834,"12.2-12.5":0.20166,"13.0-13.1":0.00417,"13.2":0.01947,"13.3":0.00974,"13.4-13.7":0.0445,"14.0-14.4":0.07649,"14.5-14.8":0.11821,"15.0-15.1":0.05702,"15.2-15.3":0.06258,"15.4":0.07093,"15.5":0.08901,"15.6-15.8":0.80106,"16.0":0.18219,"16.1":0.3755,"16.2":0.18219,"16.3":0.3157,"16.4":0.06676,"16.5":0.1349,"16.6-16.7":1.07504,"17.0":0.11682,"17.1":0.19053,"17.2":0.19888,"17.3":0.36715,"17.4":8.33747,"17.5":0.58828,"17.6":0},P:{"4":0.25683,"20":0.0107,"21":0.0321,"22":0.06421,"23":0.08561,"24":0.17122,"25":1.46605,"5.0-5.4":0.0214,"6.2-6.4":0.0107,"7.2-7.4":0.0321,_:"8.2 9.2 10.1 12.0 13.0 14.0 15.0 18.0","11.1-11.2":0.0107,"16.0":0.0107,"17.0":0.0107,"19.0":0.0107},I:{"0":0.02945,"3":0,"4":0,"2.1":0,"2.2":0,"2.3":0,"4.1":0.00001,"4.2-4.3":0.00002,"4.4":0,"4.4.3-4.4.4":0.00007},K:{"0":0.80417,_:"10 11 12 11.1 11.5 12.1"},A:{"8":0.00706,"11":0.07058,_:"6 7 9 10 5.5"},S:{_:"2.5 3.0-3.1"},J:{_:"7 10"},N:{_:"10 11"},L:{"0":42.2583},R:{_:"0"},M:{"0":0.31339},Q:{"14.9":0.00591},O:{"0":0.94017},H:{"0":0}}; +module.exports={C:{"34":0.00407,"39":0.00814,"51":0.00407,"52":0.00814,"78":0.00407,"83":0.00407,"113":0.00407,"114":0.00407,"115":0.21566,"118":0.00407,"120":0.00407,"121":0.00407,"122":0.00407,"123":0.00407,"124":0.00407,"125":0.00407,"126":0.00407,"127":0.02035,"128":0.01628,"129":0.18311,"130":1.09049,"131":0.00814,"132":0.00407,_:"2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 35 36 37 38 40 41 42 43 44 45 46 47 48 49 50 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 79 80 81 82 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 116 117 119 133 134 135 3.5 3.6"},D:{"29":0.02441,"34":0.00407,"37":0.00407,"38":0.01221,"49":0.00407,"53":0.00407,"55":0.00407,"56":0.00407,"65":0.00407,"67":0.01221,"68":0.00407,"70":0.00814,"74":0.00407,"75":0.00814,"76":0.00407,"78":0.00407,"79":0.04476,"80":0.00407,"81":0.01628,"84":0.00407,"86":0.03255,"87":0.05697,"88":0.01221,"89":0.00814,"90":0.00407,"91":0.02035,"92":0.00407,"93":0.0651,"94":0.03255,"96":0.00407,"97":0.00814,"98":0.02848,"99":0.04476,"100":0.00407,"101":0.00407,"102":0.09766,"103":1.8636,"104":0.00814,"105":0.04069,"106":0.00814,"107":0.01221,"108":0.02035,"109":1.52994,"110":0.00814,"111":0.02035,"112":0.01221,"113":0.01221,"114":0.0529,"115":0.01221,"116":0.118,"117":0.04883,"118":0.09359,"119":0.04069,"120":0.0651,"121":0.0529,"122":0.17497,"123":0.06104,"124":0.09766,"125":0.07731,"126":0.38249,"127":1.12711,"128":17.04504,"129":7.21841,"130":0.01628,"131":0.00407,_:"4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 30 31 32 33 35 36 39 40 41 42 43 44 45 46 47 48 50 51 52 54 57 58 59 60 61 62 63 64 66 69 71 72 73 77 83 85 95 132 133"},F:{"36":0.00814,"44":0.00407,"46":0.02035,"83":0.00407,"84":0.01628,"86":0.00407,"95":0.01221,"109":0.01221,"110":0.00407,"111":0.00407,"112":0.38656,"113":0.24821,"114":0.00814,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 37 38 39 40 41 42 43 45 47 48 49 50 51 52 53 54 55 56 57 58 60 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 85 87 88 89 90 91 92 93 94 96 97 98 99 100 101 102 103 104 105 106 107 108 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"92":0.00407,"109":0.02848,"110":0.00407,"114":0.00407,"117":0.00407,"118":0.00407,"120":0.00407,"121":0.00407,"122":0.00814,"123":0.00407,"124":0.00407,"125":0.00814,"126":0.02848,"127":0.06917,"128":1.90429,"129":0.91553,_:"12 13 14 15 16 17 18 79 80 81 83 84 85 86 87 88 89 90 91 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 111 112 113 115 116 119 130"},E:{"7":0.00407,"13":0.00407,"14":0.02441,"15":0.00814,_:"0 4 5 6 8 9 10 11 12 3.1 3.2 5.1 6.1 7.1 9.1 10.1 11.1","12.1":0.00407,"13.1":0.01221,"14.1":0.08952,"15.1":0.00814,"15.2-15.3":0.00814,"15.4":0.01628,"15.5":0.03255,"15.6":0.17904,"16.0":0.01628,"16.1":0.04476,"16.2":0.02441,"16.3":0.08545,"16.4":0.01628,"16.5":0.03255,"16.6":0.19938,"17.0":0.01628,"17.1":0.03255,"17.2":0.04069,"17.3":0.03255,"17.4":0.09359,"17.5":0.38249,"17.6":1.48925,"18.0":0.21159,"18.1":0.00814},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.00315,"5.0-5.1":0.00157,"6.0-6.1":0.00944,"7.0-7.1":0.01101,"8.1-8.4":0,"9.0-9.2":0.00944,"9.3":0.02674,"10.0-10.2":0.00786,"10.3":0.04561,"11.0-11.2":0.1683,"11.3-11.4":0.01258,"12.0-12.1":0.00786,"12.2-12.5":0.19032,"13.0-13.1":0.00315,"13.2":0.05977,"13.3":0.00786,"13.4-13.7":0.03146,"14.0-14.4":0.07235,"14.5-14.8":0.09595,"15.0-15.1":0.05505,"15.2-15.3":0.05348,"15.4":0.06134,"15.5":0.0755,"15.6-15.8":0.74713,"16.0":0.151,"16.1":0.29885,"16.2":0.14943,"16.3":0.25166,"16.4":0.05348,"16.5":0.10538,"16.6-16.7":0.8997,"17.0":0.0755,"17.1":0.11954,"17.2":0.10853,"17.3":0.15572,"17.4":0.33346,"17.5":1.60279,"17.6-17.7":8.52984,"18.0":1.07586,"18.1":0.04876},P:{"4":0.17136,"20":0.01071,"21":0.02142,"22":0.02142,"23":0.03213,"24":0.03213,"25":0.16065,"26":1.36013,"5.0-5.4":0.02142,"6.2-6.4":0.01071,"7.2-7.4":0.02142,_:"8.2 9.2 10.1 11.1-11.2 12.0 13.0 14.0 15.0 16.0 17.0 18.0","19.0":0.01071},I:{"0":0.01774,"3":0,"4":0,"2.1":0,"2.2":0,"2.3":0,"4.1":0,"4.2-4.3":0.00001,"4.4":0,"4.4.3-4.4.4":0.00003},K:{"0":0.7651,_:"10 11 12 11.1 11.5 12.1"},A:{"8":0.00769,"11":0.06149,_:"6 7 9 10 5.5"},N:{_:"10 11"},S:{_:"2.5 3.0-3.1"},J:{_:"7 10"},O:{"0":0.86},H:{"0":0},L:{"0":40.76537},R:{_:"0"},M:{"0":0.29655},Q:{"14.9":0.01186}}; diff --git a/node_modules/caniuse-lite/data/regions/MZ.js b/node_modules/caniuse-lite/data/regions/MZ.js index c1a22926ef..f2333bc3c5 100644 --- a/node_modules/caniuse-lite/data/regions/MZ.js +++ b/node_modules/caniuse-lite/data/regions/MZ.js @@ -1 +1 @@ -module.exports={C:{"68":0.00256,"84":0.00256,"100":0.00256,"103":0.00256,"107":0.00256,"113":0.01534,"115":0.13802,"118":0.00256,"120":0.00511,"121":0.00256,"123":0.00256,"124":0.01278,"125":0.28883,"126":0.20448,"127":0.00256,_:"2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 101 102 104 105 106 108 109 110 111 112 114 116 117 119 122 128 129 3.5 3.6"},D:{"11":0.00256,"39":0.00511,"40":0.00256,"43":0.00511,"49":0.00256,"50":0.00256,"56":0.00767,"58":0.00256,"59":0.00256,"63":0.00256,"64":0.00256,"68":0.00256,"70":0.01022,"73":0.00256,"74":0.01022,"76":0.00256,"77":0.00256,"79":0.00256,"81":0.02556,"84":0.00511,"85":0.00511,"86":0.00256,"87":0.02045,"88":0.00511,"90":0.03578,"91":0.08946,"92":0.01534,"93":0.00256,"94":0.03578,"95":0.01022,"96":0.00256,"98":0.01534,"99":0.00511,"100":0.00511,"101":0.00511,"102":0.05368,"103":0.02045,"104":0.04856,"105":0.00767,"106":0.01534,"107":0.00256,"108":0.00511,"109":1.73041,"110":0.00256,"111":0.03834,"112":0.00256,"113":0.01022,"114":0.06646,"116":0.03323,"117":0.00511,"118":0.02812,"119":0.01278,"120":0.04345,"121":0.06901,"122":0.07412,"123":0.22748,"124":5.34204,"125":1.80454,"126":0.00511,_:"4 5 6 7 8 9 10 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 41 42 44 45 46 47 48 51 52 53 54 55 57 60 61 62 65 66 67 69 71 72 75 78 80 83 89 97 115 127 128"},F:{"46":0.00256,"79":0.09713,"85":0.02556,"95":0.09202,"106":0.00767,"107":0.01534,"108":0.00767,"109":0.48053,"110":0.02812,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 47 48 49 50 51 52 53 54 55 56 57 58 60 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 80 81 82 83 84 86 87 88 89 90 91 92 93 94 96 97 98 99 100 101 102 103 104 105 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"12":0.01278,"13":0.00256,"14":0.00256,"15":0.00256,"16":0.00256,"17":0.00256,"18":0.01534,"81":0.00511,"84":0.00256,"89":0.00256,"90":0.00256,"92":0.02556,"100":0.00767,"102":0.02045,"105":0.00256,"109":0.03067,"112":0.00511,"114":0.00767,"116":0.023,"117":0.03323,"118":0.00256,"119":0.01022,"120":0.00767,"121":0.01022,"122":0.05623,"123":0.05368,"124":1.21921,"125":0.60577,_:"79 80 83 85 86 87 88 91 93 94 95 96 97 98 99 101 103 104 106 107 108 110 111 113 115"},E:{"13":0.00256,"14":0.00256,_:"0 4 5 6 7 8 9 10 11 12 15 3.1 3.2 5.1 6.1 7.1 9.1 10.1 11.1 12.1 15.1 15.2-15.3 15.4 15.5 16.0 17.6","13.1":0.01789,"14.1":0.00511,"15.6":0.02556,"16.1":0.00256,"16.2":0.00511,"16.3":0.00511,"16.4":0.00256,"16.5":0.00256,"16.6":0.01278,"17.0":0.00256,"17.1":0.00511,"17.2":0.00256,"17.3":0.01022,"17.4":0.05112,"17.5":0.01022},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.00081,"5.0-5.1":0.00081,"6.0-6.1":0.00203,"7.0-7.1":0.00285,"8.1-8.4":0.00081,"9.0-9.2":0.00203,"9.3":0.00935,"10.0-10.2":0.00163,"10.3":0.01463,"11.0-11.2":0.02154,"11.3-11.4":0.00406,"12.0-12.1":0.00244,"12.2-12.5":0.05893,"13.0-13.1":0.00122,"13.2":0.00569,"13.3":0.00285,"13.4-13.7":0.01301,"14.0-14.4":0.02235,"14.5-14.8":0.03455,"15.0-15.1":0.01666,"15.2-15.3":0.01829,"15.4":0.02073,"15.5":0.02601,"15.6-15.8":0.23411,"16.0":0.05324,"16.1":0.10974,"16.2":0.05324,"16.3":0.09226,"16.4":0.01951,"16.5":0.03942,"16.6-16.7":0.31418,"17.0":0.03414,"17.1":0.05568,"17.2":0.05812,"17.3":0.1073,"17.4":2.43662,"17.5":0.17193,"17.6":0},P:{"4":0.15375,"20":0.03075,"21":0.03075,"22":0.082,"23":0.07175,"24":0.21525,"25":0.32799,_:"5.0-5.4 8.2 9.2 11.1-11.2","6.2-6.4":0.01025,"7.2-7.4":0.123,"10.1":0.01025,"12.0":0.07175,"13.0":0.0205,"14.0":0.03075,"15.0":0.03075,"16.0":0.0205,"17.0":0.0205,"18.0":0.0205,"19.0":0.0615},I:{"0":0.00741,"3":0,"4":0,"2.1":0,"2.2":0,"2.3":0,"4.1":0,"4.2-4.3":0,"4.4":0,"4.4.3-4.4.4":0.00002},K:{"0":2.57344,_:"10 11 12 11.1 11.5 12.1"},A:{"11":0.01789,_:"6 7 8 9 10 5.5"},S:{"2.5":0.36476,_:"3.0-3.1"},J:{_:"7 10"},N:{_:"10 11"},L:{"0":76.10973},R:{_:"0"},M:{"0":0.067},Q:{"14.9":0.00744},O:{"0":0.12655},H:{"0":1.29}}; +module.exports={C:{"34":0.0022,"78":0.0022,"90":0.0022,"91":0.0022,"108":0.0022,"109":0.0022,"113":0.01984,"115":0.15428,"121":0.0022,"127":0.00882,"128":0.00441,"129":0.07273,"130":0.34162,"131":0.0022,_:"2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 79 80 81 82 83 84 85 86 87 88 89 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 110 111 112 114 116 117 118 119 120 122 123 124 125 126 132 133 134 135 3.5 3.6"},D:{"43":0.0022,"49":0.0022,"56":0.0022,"58":0.0022,"68":0.0022,"69":0.0022,"70":0.00661,"71":0.0022,"72":0.0022,"73":0.0022,"74":0.0022,"75":0.0022,"79":0.00441,"81":0.06392,"83":0.0022,"85":0.01102,"86":0.0022,"87":0.01763,"88":0.00661,"90":0.01763,"91":0.0551,"92":0.03747,"94":0.01102,"95":0.01322,"97":0.00441,"98":0.0022,"99":0.00441,"100":0.00441,"101":0.0022,"102":0.01102,"103":0.01102,"104":0.02645,"105":0.01543,"106":0.01102,"107":0.0022,"108":0.0022,"109":1.13286,"111":0.06392,"112":0.0022,"113":0.0022,"114":0.04849,"116":0.02204,"117":0.00441,"118":0.00661,"119":0.02204,"120":0.01322,"121":0.01543,"122":0.07714,"123":0.01984,"124":0.04188,"125":0.02204,"126":0.07053,"127":0.29093,"128":3.95177,"129":1.40615,"130":0.00882,"131":0.0022,_:"4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 44 45 46 47 48 50 51 52 53 54 55 57 59 60 61 62 63 64 65 66 67 76 77 78 80 84 89 93 96 110 115 132 133"},F:{"36":0.00441,"37":0.0022,"79":0.01984,"83":0.00441,"84":0.00441,"85":0.0022,"95":0.03526,"108":0.0022,"109":0.0022,"111":0.0022,"112":0.35705,"113":0.12122,"114":0.00441,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 60 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 80 81 82 86 87 88 89 90 91 92 93 94 96 97 98 99 100 101 102 103 104 105 106 107 110 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"12":0.00882,"15":0.0022,"16":0.00661,"17":0.0022,"18":0.00882,"84":0.0022,"89":0.0022,"90":0.0022,"91":0.00441,"92":0.02424,"100":0.00661,"102":0.01543,"103":0.0022,"109":0.02424,"111":0.00441,"113":0.0022,"114":0.0022,"119":0.00441,"120":0.0022,"121":0.00441,"122":0.02204,"123":0.0022,"124":0.02424,"125":0.01543,"126":0.08155,"127":0.05069,"128":1.20118,"129":0.46504,_:"13 14 79 80 81 83 85 86 87 88 93 94 95 96 97 98 99 101 104 105 106 107 108 110 112 115 116 117 118 130"},E:{"14":0.0022,_:"0 4 5 6 7 8 9 10 11 12 13 15 3.1 3.2 5.1 6.1 7.1 9.1 10.1 11.1 12.1 15.1 15.4 16.0 16.1 16.2 16.5 17.0 17.2 18.1","13.1":0.00661,"14.1":0.00661,"15.2-15.3":0.00441,"15.5":0.0022,"15.6":0.04628,"16.3":0.0022,"16.4":0.0022,"16.6":0.00661,"17.1":0.0022,"17.3":0.00441,"17.4":0.00441,"17.5":0.01102,"17.6":0.03086,"18.0":0.00882},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.00078,"5.0-5.1":0.00039,"6.0-6.1":0.00234,"7.0-7.1":0.00273,"8.1-8.4":0,"9.0-9.2":0.00234,"9.3":0.00663,"10.0-10.2":0.00195,"10.3":0.0113,"11.0-11.2":0.04171,"11.3-11.4":0.00312,"12.0-12.1":0.00195,"12.2-12.5":0.04717,"13.0-13.1":0.00078,"13.2":0.01481,"13.3":0.00195,"13.4-13.7":0.0078,"14.0-14.4":0.01793,"14.5-14.8":0.02378,"15.0-15.1":0.01364,"15.2-15.3":0.01325,"15.4":0.0152,"15.5":0.01871,"15.6-15.8":0.18516,"16.0":0.03742,"16.1":0.07406,"16.2":0.03703,"16.3":0.06237,"16.4":0.01325,"16.5":0.02612,"16.6-16.7":0.22297,"17.0":0.01871,"17.1":0.02962,"17.2":0.0269,"17.3":0.03859,"17.4":0.08264,"17.5":0.39721,"17.6-17.7":2.11389,"18.0":0.26662,"18.1":0.01208},P:{"4":0.08381,"20":0.03143,"21":0.02095,"22":0.06286,"23":0.0419,"24":0.09428,"25":0.10476,"26":0.21999,_:"5.0-5.4 6.2-6.4 8.2 10.1 16.0 18.0","7.2-7.4":0.08381,"9.2":0.02095,"11.1-11.2":0.01048,"12.0":0.09428,"13.0":0.03143,"14.0":0.03143,"15.0":0.03143,"17.0":0.01048,"19.0":0.03143},I:{"0":0,"3":0,"4":0,"2.1":0,"2.2":0,"2.3":0,"4.1":0,"4.2-4.3":0,"4.4":0,"4.4.3-4.4.4":0},K:{"0":2.27794,_:"10 11 12 11.1 11.5 12.1"},A:{"11":0.00441,_:"6 7 8 9 10 5.5"},N:{_:"10 11"},S:{"2.5":0.35082,_:"3.0-3.1"},J:{_:"7 10"},O:{"0":0.09355},H:{"0":0.17},L:{"0":80.88861},R:{_:"0"},M:{"0":0.14812},Q:{_:"14.9"}}; diff --git a/node_modules/caniuse-lite/data/regions/NA.js b/node_modules/caniuse-lite/data/regions/NA.js index efdd3288a1..1ce0256173 100644 --- a/node_modules/caniuse-lite/data/regions/NA.js +++ b/node_modules/caniuse-lite/data/regions/NA.js @@ -1 +1 @@ -module.exports={C:{"34":0.01576,"52":0.0063,"71":0.00315,"89":0.00315,"102":0.00315,"110":0.00315,"113":0.00946,"115":0.26477,"122":0.00946,"123":0.0063,"124":0.01261,"125":0.72811,"126":0.56421,"127":0.00315,_:"2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 90 91 92 93 94 95 96 97 98 99 100 101 103 104 105 106 107 108 109 111 112 114 116 117 118 119 120 121 128 129 3.5 3.6"},D:{"36":0.00315,"43":0.0063,"49":0.00315,"50":0.00315,"51":0.00315,"55":0.0063,"69":0.02522,"70":0.02522,"72":0.00315,"74":0.0063,"75":0.00946,"76":0.0063,"77":0.00315,"78":0.00946,"79":0.0063,"80":0.01261,"81":0.00315,"84":0.01261,"85":0.00946,"86":0.00315,"87":0.0063,"88":0.06304,"90":0.00946,"92":0.00315,"93":0.01261,"94":0.00946,"95":0.10086,"96":0.02206,"97":0.00315,"98":0.00315,"99":0.01891,"100":0.02522,"101":0.00315,"102":0.01261,"103":0.05358,"104":0.09456,"105":0.0063,"106":0.1513,"107":0.00315,"108":0.00315,"109":1.6548,"111":0.0063,"112":0.01576,"114":0.02206,"115":0.00946,"116":0.04098,"117":0.00946,"118":0.02522,"119":0.03152,"120":0.10086,"121":0.0788,"122":0.15445,"123":0.51378,"124":10.07064,"125":3.82022,_:"4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 37 38 39 40 41 42 44 45 46 47 48 52 53 54 56 57 58 59 60 61 62 63 64 65 66 67 68 71 73 83 89 91 110 113 126 127 128"},F:{"79":0.00315,"85":0.00315,"95":0.01891,"105":0.00315,"107":0.03782,"108":0.09771,"109":0.61779,"110":0.07565,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 60 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 80 81 82 83 84 86 87 88 89 90 91 92 93 94 96 97 98 99 100 101 102 103 104 106 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"12":0.0063,"13":0.0063,"14":0.0063,"15":0.00315,"16":0.0063,"17":0.0063,"18":0.02206,"84":0.00315,"90":0.00315,"92":0.03152,"100":0.01891,"105":0.00315,"106":0.00315,"108":0.03467,"109":0.06304,"113":0.00315,"114":0.01261,"115":0.0063,"116":0.0063,"117":0.01261,"118":0.0063,"119":0.00946,"120":0.05674,"121":0.01261,"122":0.03467,"123":0.12923,"124":3.75088,"125":1.94163,_:"79 80 81 83 85 86 87 88 89 91 93 94 95 96 97 98 99 101 102 103 104 107 110 111 112"},E:{"14":0.00315,_:"0 4 5 6 7 8 9 10 11 12 13 15 3.1 3.2 5.1 6.1 7.1 9.1 10.1 15.1 17.6","11.1":0.01891,"12.1":0.02206,"13.1":0.00946,"14.1":0.03467,"15.2-15.3":0.00315,"15.4":0.00946,"15.5":0.0063,"15.6":0.0725,"16.0":0.01261,"16.1":0.03152,"16.2":0.00315,"16.3":0.03782,"16.4":0.00946,"16.5":0.02837,"16.6":0.13238,"17.0":0.0063,"17.1":0.03782,"17.2":0.04098,"17.3":0.11347,"17.4":0.38454,"17.5":0.14499},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.00171,"5.0-5.1":0.00171,"6.0-6.1":0.00426,"7.0-7.1":0.00597,"8.1-8.4":0.00171,"9.0-9.2":0.00426,"9.3":0.01961,"10.0-10.2":0.00341,"10.3":0.03069,"11.0-11.2":0.04519,"11.3-11.4":0.00853,"12.0-12.1":0.00512,"12.2-12.5":0.12362,"13.0-13.1":0.00256,"13.2":0.01194,"13.3":0.00597,"13.4-13.7":0.02728,"14.0-14.4":0.04689,"14.5-14.8":0.07247,"15.0-15.1":0.03496,"15.2-15.3":0.03837,"15.4":0.04348,"15.5":0.05456,"15.6-15.8":0.49108,"16.0":0.11169,"16.1":0.2302,"16.2":0.11169,"16.3":0.19353,"16.4":0.04092,"16.5":0.0827,"16.6-16.7":0.65904,"17.0":0.07162,"17.1":0.1168,"17.2":0.12192,"17.3":0.22508,"17.4":5.11119,"17.5":0.36064,"17.6":0},P:{"4":0.31746,"21":0.07168,"22":0.06144,"23":0.09217,"24":0.30722,"25":1.7921,_:"20 5.0-5.4 8.2 9.2 12.0 15.0","6.2-6.4":0.01024,"7.2-7.4":0.29698,"10.1":0.09217,"11.1-11.2":0.01024,"13.0":0.01024,"14.0":0.03072,"16.0":0.02048,"17.0":0.04096,"18.0":0.01024,"19.0":0.18433},I:{"0":0.04775,"3":0,"4":0,"2.1":0,"2.2":0,"2.3":0,"4.1":0.00001,"4.2-4.3":0.00003,"4.4":0,"4.4.3-4.4.4":0.00011},K:{"0":1.45298,_:"10 11 12 11.1 11.5 12.1"},A:{"7":0.00315,"9":0.00315,"10":0.00315,"11":0.04098,_:"6 8 5.5"},S:{_:"2.5 3.0-3.1"},J:{_:"7 10"},N:{_:"10 11"},L:{"0":58.1993},R:{_:"0"},M:{"0":0.27392},Q:{_:"14.9"},O:{"0":0.41773},H:{"0":0.17}}; +module.exports={C:{"34":0.00339,"72":0.00339,"98":0.00339,"100":0.00339,"101":0.00339,"115":0.20007,"120":0.00339,"123":0.00339,"126":0.00339,"127":0.01356,"128":0.04747,"129":0.14581,"130":1.03426,"131":0.06104,"132":0.00339,_:"2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 99 102 103 104 105 106 107 108 109 110 111 112 113 114 116 117 118 119 121 122 124 125 133 134 135 3.5 3.6"},D:{"34":0.01017,"36":0.00339,"38":0.00339,"40":0.00339,"49":0.01017,"56":0.00339,"66":0.00678,"69":0.00339,"70":0.01017,"73":0.00339,"74":0.02374,"76":0.00339,"78":0.00339,"79":0.01696,"81":0.00339,"83":0.00339,"86":0.02713,"87":0.00678,"88":0.24076,"89":0.00339,"90":0.00339,"92":0.00678,"93":0.0373,"94":0.00678,"95":0.01696,"96":0.00339,"97":0.00339,"98":0.00339,"99":0.01356,"100":0.00678,"102":0.00339,"103":0.01356,"104":0.00339,"105":0.01356,"106":0.00339,"109":1.34284,"110":0.00339,"111":0.00678,"112":0.00339,"113":0.00339,"114":0.00339,"115":0.01017,"116":0.0746,"118":0.01017,"119":0.01696,"120":0.02374,"121":0.02035,"122":0.05765,"123":0.03391,"124":0.15938,"125":0.03391,"126":0.12547,"127":0.70194,"128":11.75999,"129":3.34692,"130":0.00678,_:"4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 35 37 39 41 42 43 44 45 46 47 48 50 51 52 53 54 55 57 58 59 60 61 62 63 64 65 67 68 71 72 75 77 80 84 85 91 101 107 108 117 131 132 133"},F:{"79":0.00339,"83":0.00339,"95":0.02374,"105":0.01017,"109":0.00339,"111":0.00339,"112":0.53239,"113":0.24415,"114":0.00339,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 60 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 80 81 82 84 85 86 87 88 89 90 91 92 93 94 96 97 98 99 100 101 102 103 104 106 107 108 110 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"12":0.00339,"14":0.02713,"15":0.00339,"16":0.00339,"17":0.00678,"18":0.03391,"84":0.00339,"89":0.01696,"90":0.00339,"92":0.05426,"93":0.00339,"100":0.01696,"107":0.00339,"108":0.00339,"109":0.07121,"112":0.01696,"113":0.08817,"114":0.00339,"115":0.00339,"117":0.01696,"118":0.00339,"119":0.01696,"120":0.00678,"121":0.00678,"122":0.01356,"123":0.01696,"124":0.03052,"125":0.08817,"126":0.1119,"127":0.26789,"128":5.29335,"129":1.53273,"130":0.00339,_:"13 79 80 81 83 85 86 87 88 91 94 95 96 97 98 99 101 102 103 104 105 106 110 111 116"},E:{"14":0.00339,_:"0 4 5 6 7 8 9 10 11 12 13 15 3.1 3.2 6.1 7.1 9.1 10.1 12.1 15.1","5.1":0.00339,"11.1":0.03052,"13.1":0.01356,"14.1":0.02374,"15.2-15.3":0.0373,"15.4":0.00339,"15.5":0.00678,"15.6":0.04747,"16.0":0.00339,"16.1":0.01017,"16.2":0.00339,"16.3":0.02374,"16.4":0.02035,"16.5":0.01356,"16.6":0.10512,"17.0":0.00339,"17.1":0.00678,"17.2":0.01017,"17.3":0.01356,"17.4":0.04069,"17.5":0.09156,"17.6":0.47474,"18.0":0.07121,"18.1":0.01017},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.00147,"5.0-5.1":0.00074,"6.0-6.1":0.00442,"7.0-7.1":0.00515,"8.1-8.4":0,"9.0-9.2":0.00442,"9.3":0.01252,"10.0-10.2":0.00368,"10.3":0.02135,"11.0-11.2":0.07878,"11.3-11.4":0.00589,"12.0-12.1":0.00368,"12.2-12.5":0.08909,"13.0-13.1":0.00147,"13.2":0.02798,"13.3":0.00368,"13.4-13.7":0.01472,"14.0-14.4":0.03387,"14.5-14.8":0.04491,"15.0-15.1":0.02577,"15.2-15.3":0.02503,"15.4":0.02871,"15.5":0.03534,"15.6-15.8":0.34972,"16.0":0.07068,"16.1":0.13989,"16.2":0.06994,"16.3":0.1178,"16.4":0.02503,"16.5":0.04933,"16.6-16.7":0.42113,"17.0":0.03534,"17.1":0.05595,"17.2":0.0508,"17.3":0.07289,"17.4":0.15608,"17.5":0.75023,"17.6-17.7":3.99264,"18.0":0.50359,"18.1":0.02282},P:{"4":0.3401,"21":0.03092,"22":0.17521,"23":0.04122,"24":0.08245,"25":0.27827,"26":2.25706,_:"20 8.2 9.2 10.1 11.1-11.2 12.0 15.0 16.0 18.0","5.0-5.4":0.01031,"6.2-6.4":0.02061,"7.2-7.4":0.18551,"13.0":0.02061,"14.0":0.03092,"17.0":0.04122,"19.0":0.04122},I:{"0":0.03955,"3":0,"4":0,"2.1":0,"2.2":0,"2.3":0,"4.1":0,"4.2-4.3":0.00002,"4.4":0,"4.4.3-4.4.4":0.00006},K:{"0":1.51139,_:"10 11 12 11.1 11.5 12.1"},A:{"8":0.00814,"11":0.03255,_:"6 7 9 10 5.5"},N:{_:"10 11"},S:{"2.5":0.01322,_:"3.0-3.1"},J:{_:"7 10"},O:{"0":0.40315},H:{"0":0.24},L:{"0":56.68691},R:{_:"0"},M:{"0":0.25114},Q:{_:"14.9"}}; diff --git a/node_modules/caniuse-lite/data/regions/NC.js b/node_modules/caniuse-lite/data/regions/NC.js index 4f8d73f370..17e13975c4 100644 --- a/node_modules/caniuse-lite/data/regions/NC.js +++ b/node_modules/caniuse-lite/data/regions/NC.js @@ -1 +1 @@ -module.exports={C:{"48":0.02417,"52":0.00403,"61":0.02015,"68":0.00403,"69":0.00403,"78":0.17728,"80":0.00806,"91":0.01209,"102":0.02015,"105":0.00403,"113":0.01612,"115":0.7091,"117":0.00403,"118":0.00403,"119":0.00403,"120":0.00403,"121":0.01209,"122":0.01612,"123":0.00403,"124":0.29412,"125":2.52618,"126":2.67526,_:"2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 49 50 51 53 54 55 56 57 58 59 60 62 63 64 65 66 67 70 71 72 73 74 75 76 77 79 81 82 83 84 85 86 87 88 89 90 92 93 94 95 96 97 98 99 100 101 103 104 106 107 108 109 110 111 112 114 116 127 128 129 3.5 3.6"},D:{"56":0.01209,"64":0.00403,"65":0.00403,"67":0.00403,"74":0.01209,"75":0.00403,"77":0.02015,"79":0.07252,"80":0.00403,"86":0.00403,"87":0.01209,"88":0.00403,"89":0.00806,"90":0.01612,"92":0.00403,"94":0.02417,"96":0.00403,"100":0.00403,"103":0.04835,"107":0.00403,"108":0.02015,"109":1.45447,"110":0.00403,"111":0.00403,"112":0.00403,"113":0.00403,"114":0.00403,"115":0.00403,"116":0.14907,"117":0.00403,"118":0.00806,"119":0.00806,"120":0.04029,"121":0.05641,"122":0.14504,"123":0.35858,"124":12.42141,"125":4.35535,_:"4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 57 58 59 60 61 62 63 66 68 69 70 71 72 73 76 78 81 83 84 85 91 93 95 97 98 99 101 102 104 105 106 126 127 128"},F:{"36":0.00403,"46":0.00403,"81":0.01612,"95":0.06446,"103":0.00403,"107":0.13296,"108":0.53989,"109":1.3618,"110":0.07252,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 37 38 39 40 41 42 43 44 45 47 48 49 50 51 52 53 54 55 56 57 58 60 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 82 83 84 85 86 87 88 89 90 91 92 93 94 96 97 98 99 100 101 102 104 105 106 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"18":0.00806,"92":0.01209,"100":0.00403,"108":0.00403,"109":0.03626,"112":0.00403,"114":0.00403,"115":0.00806,"117":0.01209,"118":0.01209,"119":0.12087,"120":0.04029,"121":0.01612,"122":0.05238,"123":0.08864,"124":3.5294,"125":2.08299,_:"12 13 14 15 16 17 79 80 81 83 84 85 86 87 88 89 90 91 93 94 95 96 97 98 99 101 102 103 104 105 106 107 110 111 113 116"},E:{"13":0.00403,"14":0.06849,"15":0.06446,_:"0 4 5 6 7 8 9 10 11 12 3.1 3.2 5.1 6.1 7.1 9.1 10.1 11.1 17.6","12.1":0.02015,"13.1":0.12087,"14.1":0.10475,"15.1":0.00403,"15.2-15.3":0.02015,"15.4":0.04432,"15.5":0.01612,"15.6":0.27397,"16.0":0.03223,"16.1":0.04432,"16.2":0.02417,"16.3":0.12087,"16.4":0.0282,"16.5":0.05238,"16.6":0.41499,"17.0":0.02015,"17.1":0.02417,"17.2":0.11684,"17.3":0.06446,"17.4":2.85656,"17.5":0.25786},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.00273,"5.0-5.1":0.00273,"6.0-6.1":0.00682,"7.0-7.1":0.00955,"8.1-8.4":0.00273,"9.0-9.2":0.00682,"9.3":0.03139,"10.0-10.2":0.00546,"10.3":0.04914,"11.0-11.2":0.07234,"11.3-11.4":0.01365,"12.0-12.1":0.00819,"12.2-12.5":0.19792,"13.0-13.1":0.00409,"13.2":0.01911,"13.3":0.00955,"13.4-13.7":0.04368,"14.0-14.4":0.07507,"14.5-14.8":0.11602,"15.0-15.1":0.05596,"15.2-15.3":0.06142,"15.4":0.06961,"15.5":0.08736,"15.6-15.8":0.78622,"16.0":0.17881,"16.1":0.36854,"16.2":0.17881,"16.3":0.30985,"16.4":0.06552,"16.5":0.1324,"16.6-16.7":1.05512,"17.0":0.11466,"17.1":0.187,"17.2":0.19519,"17.3":0.36035,"17.4":8.183,"17.5":0.57738,"17.6":0},P:{"4":0.04319,"20":0.04319,"21":0.14036,"22":0.08637,"23":0.3239,"24":0.46426,"25":4.21072,_:"5.0-5.4 8.2 9.2 10.1 14.0 15.0 16.0 17.0","6.2-6.4":0.0108,"7.2-7.4":0.3239,"11.1-11.2":0.0108,"12.0":0.0108,"13.0":0.03239,"18.0":0.02159,"19.0":0.07558},I:{"0":0.01784,"3":0,"4":0,"2.1":0,"2.2":0,"2.3":0,"4.1":0,"4.2-4.3":0.00001,"4.4":0,"4.4.3-4.4.4":0.00004},K:{"0":1.53455,_:"10 11 12 11.1 11.5 12.1"},A:{"11":0.00806,_:"6 7 8 9 10 5.5"},S:{_:"2.5 3.0-3.1"},J:{_:"7 10"},N:{_:"10 11"},L:{"0":38.36794},R:{_:"0"},M:{"0":1.00313},Q:{_:"14.9"},O:{"0":0.03583},H:{"0":0}}; +module.exports={C:{"52":0.0303,"53":0.0808,"78":0.04545,"80":0.00505,"83":0.01515,"88":0.00505,"91":0.0101,"92":0.00505,"95":0.0101,"102":0.0303,"107":0.00505,"113":0.0101,"115":0.85345,"119":0.01515,"120":0.00505,"122":0.00505,"125":0.0202,"126":0.0303,"127":0.00505,"128":0.0707,"129":1.0302,"130":5.51965,"131":0.00505,_:"2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 79 81 82 84 85 86 87 89 90 93 94 96 97 98 99 100 101 103 104 105 106 108 109 110 111 112 114 116 117 118 121 123 124 132 133 134 135 3.5 3.6"},D:{"41":0.0101,"49":0.02525,"50":0.00505,"69":0.00505,"73":0.00505,"79":0.0202,"84":0.00505,"87":0.0101,"88":0.00505,"92":0.0101,"94":0.0202,"98":0.00505,"101":0.00505,"102":0.00505,"103":0.0303,"107":0.00505,"109":0.80295,"111":0.00505,"114":0.01515,"116":0.12625,"117":0.0101,"118":0.0101,"119":0.00505,"120":0.00505,"121":0.16665,"122":0.1616,"123":0.0505,"124":0.909,"125":0.05555,"126":0.13635,"127":1.17665,"128":14.0794,"129":4.7773,_:"4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 42 43 44 45 46 47 48 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 70 71 72 74 75 76 77 78 80 81 83 85 86 89 90 91 93 95 96 97 99 100 104 105 106 108 110 112 113 115 130 131 132 133"},F:{"95":0.01515,"109":0.06565,"111":0.00505,"112":0.98475,"113":0.9393,"114":0.01515,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 60 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 96 97 98 99 100 101 102 103 104 105 106 107 108 110 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"18":0.0101,"92":0.01515,"100":0.0505,"108":0.00505,"109":0.06565,"112":0.00505,"114":0.01515,"115":0.00505,"116":0.00505,"117":0.00505,"119":1.80285,"120":0.0101,"121":0.06565,"122":0.0808,"123":0.02525,"124":0.00505,"125":0.22725,"126":0.08585,"127":0.16665,"128":6.72155,"129":2.20685,_:"12 13 14 15 16 17 79 80 81 83 84 85 86 87 88 89 90 91 93 94 95 96 97 98 99 101 102 103 104 105 106 107 110 111 113 118 130"},E:{"12":0.00505,"14":0.0202,"15":0.00505,_:"0 4 5 6 7 8 9 10 11 13 3.1 3.2 5.1 6.1 7.1 9.1 10.1 11.1 15.2-15.3","12.1":0.01515,"13.1":0.24745,"14.1":0.06565,"15.1":0.0202,"15.4":0.0404,"15.5":0.0101,"15.6":0.42925,"16.0":0.12625,"16.1":0.13635,"16.2":0.0101,"16.3":0.19695,"16.4":0.0202,"16.5":0.0101,"16.6":0.9696,"17.0":0.03535,"17.1":0.0303,"17.2":0.03535,"17.3":0.06565,"17.4":0.1717,"17.5":0.54035,"17.6":1.90385,"18.0":0.25755,"18.1":0.0101},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.00264,"5.0-5.1":0.00132,"6.0-6.1":0.00792,"7.0-7.1":0.00923,"8.1-8.4":0,"9.0-9.2":0.00792,"9.3":0.02243,"10.0-10.2":0.0066,"10.3":0.03826,"11.0-11.2":0.14115,"11.3-11.4":0.01055,"12.0-12.1":0.0066,"12.2-12.5":0.15962,"13.0-13.1":0.00264,"13.2":0.05013,"13.3":0.0066,"13.4-13.7":0.02638,"14.0-14.4":0.06068,"14.5-14.8":0.08047,"15.0-15.1":0.04617,"15.2-15.3":0.04485,"15.4":0.05145,"15.5":0.06332,"15.6-15.8":0.62661,"16.0":0.12664,"16.1":0.25064,"16.2":0.12532,"16.3":0.21107,"16.4":0.04485,"16.5":0.08838,"16.6-16.7":0.75457,"17.0":0.06332,"17.1":0.10026,"17.2":0.09102,"17.3":0.1306,"17.4":0.27967,"17.5":1.34424,"17.6-17.7":7.15389,"18.0":0.90232,"18.1":0.04089},P:{"4":0.07606,"20":0.0326,"21":0.07606,"22":0.19559,"23":0.05433,"24":0.20646,"25":0.24992,"26":2.87954,"5.0-5.4":0.01087,_:"6.2-6.4 8.2 9.2 10.1 12.0 14.0 15.0 17.0","7.2-7.4":0.14126,"11.1-11.2":0.01087,"13.0":0.04346,"16.0":0.01087,"18.0":0.01087,"19.0":0.0326},I:{"0":0.03456,"3":0,"4":0,"2.1":0,"2.2":0,"2.3":0,"4.1":0,"4.2-4.3":0.00001,"4.4":0,"4.4.3-4.4.4":0.00006},K:{"0":0.0693,_:"10 11 12 11.1 11.5 12.1"},A:{"10":0.00505,"11":0.0101,_:"6 7 8 9 5.5"},N:{_:"10 11"},S:{_:"2.5 3.0-3.1"},J:{_:"7 10"},O:{"0":0.0099},H:{"0":0},L:{"0":31.8727},R:{_:"0"},M:{"0":0.51975},Q:{"14.9":0.0099}}; diff --git a/node_modules/caniuse-lite/data/regions/NE.js b/node_modules/caniuse-lite/data/regions/NE.js index c73456ba3c..e855b848c1 100644 --- a/node_modules/caniuse-lite/data/regions/NE.js +++ b/node_modules/caniuse-lite/data/regions/NE.js @@ -1 +1 @@ -module.exports={C:{"35":0.00295,"40":0.00148,"43":0.00148,"48":0.0059,"52":0.00148,"54":0.00295,"56":0.00148,"60":0.00148,"61":0.00295,"63":0.04278,"67":0.00148,"72":0.02803,"76":0.00148,"77":0.00148,"78":0.00295,"84":0.00148,"91":0.00148,"96":0.00148,"99":0.00148,"101":0.00148,"103":0.00148,"104":0.00148,"105":0.00148,"106":0.01918,"107":0.00148,"112":0.00148,"114":0.0059,"115":0.47938,"118":0.00148,"121":0.00148,"122":0.00148,"123":0.01623,"124":0.02213,"125":0.71685,"126":0.60623,"127":0.00148,_:"2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 36 37 38 39 41 42 44 45 46 47 49 50 51 53 55 57 58 59 62 64 65 66 68 69 70 71 73 74 75 79 80 81 82 83 85 86 87 88 89 90 92 93 94 95 97 98 100 102 108 109 110 111 113 116 117 119 120 128 129 3.5 3.6"},D:{"40":0.00295,"47":0.00148,"49":0.00295,"58":0.00738,"59":0.00148,"64":0.00148,"66":0.00148,"68":0.01475,"70":0.0177,"79":0.13128,"80":0.00148,"81":0.00148,"85":0.00148,"88":0.00295,"89":0.00295,"90":0.00148,"92":0.00738,"97":0.00443,"99":0.00295,"102":0.00295,"103":0.00885,"105":0.00295,"106":0.00148,"107":0.0059,"108":0.00148,"109":0.236,"110":0.00148,"111":0.00148,"113":0.00148,"114":0.00885,"115":0.00443,"116":0.00295,"117":0.0059,"118":0.00148,"119":0.02213,"120":0.01918,"121":0.01623,"122":0.03393,"123":0.08703,"124":1.78475,"125":0.6844,_:"4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 41 42 43 44 45 46 48 50 51 52 53 54 55 56 57 60 61 62 63 65 67 69 71 72 73 74 75 76 77 78 83 84 86 87 91 93 94 95 96 98 100 101 104 112 126 127 128"},F:{"33":0.00148,"36":0.00148,"54":0.00148,"57":0.00148,"62":0.00148,"79":0.00443,"82":0.55903,"83":0.00295,"90":0.00295,"95":0.0354,"104":0.00295,"105":0.00295,"106":0.00148,"108":0.00295,"109":0.3304,"110":0.03983,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 34 35 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 55 56 58 60 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 80 81 84 85 86 87 88 89 91 92 93 94 96 97 98 99 100 101 102 103 107 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"12":0.00295,"13":0.0059,"16":0.00148,"17":0.03245,"18":0.0118,"84":0.0059,"85":0.00148,"88":0.00295,"89":0.01475,"90":0.00295,"92":0.0118,"100":0.00148,"108":0.00148,"109":0.0531,"113":0.00295,"114":0.00443,"115":0.0059,"116":0.00148,"117":0.00148,"118":0.01033,"119":0.00148,"120":0.0413,"121":0.01475,"122":0.059,"123":0.0354,"124":0.46905,"125":0.21093,_:"14 15 79 80 81 83 86 87 91 93 94 95 96 97 98 99 101 102 103 104 105 106 107 110 111 112"},E:{"11":0.00148,"14":0.00295,_:"0 4 5 6 7 8 9 10 12 13 15 3.1 3.2 6.1 7.1 9.1 10.1 11.1 12.1 15.5 16.1 16.2 17.0 17.6","5.1":0.00738,"13.1":0.0059,"14.1":0.00295,"15.1":3.27008,"15.2-15.3":0.00443,"15.4":0.00148,"15.6":0.0944,"16.0":0.00148,"16.3":0.00148,"16.4":0.00295,"16.5":0.0118,"16.6":0.0118,"17.1":0.0059,"17.2":0.0472,"17.3":0.03688,"17.4":0.15045,"17.5":0.00443},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.00119,"5.0-5.1":0.00119,"6.0-6.1":0.00298,"7.0-7.1":0.00417,"8.1-8.4":0.00119,"9.0-9.2":0.00298,"9.3":0.01371,"10.0-10.2":0.00238,"10.3":0.02145,"11.0-11.2":0.03158,"11.3-11.4":0.00596,"12.0-12.1":0.00358,"12.2-12.5":0.08641,"13.0-13.1":0.00179,"13.2":0.00834,"13.3":0.00417,"13.4-13.7":0.01907,"14.0-14.4":0.03277,"14.5-14.8":0.05065,"15.0-15.1":0.02443,"15.2-15.3":0.02682,"15.4":0.03039,"15.5":0.03814,"15.6-15.8":0.34324,"16.0":0.07806,"16.1":0.16089,"16.2":0.07806,"16.3":0.13527,"16.4":0.0286,"16.5":0.0578,"16.6-16.7":0.46063,"17.0":0.05006,"17.1":0.08164,"17.2":0.08521,"17.3":0.15732,"17.4":3.57241,"17.5":0.25206,"17.6":0},P:{"4":0.05032,"20":0.02013,"21":0.05032,"22":0.06038,"23":0.27171,"24":0.25158,"25":0.31196,_:"5.0-5.4 8.2 12.0 13.0 14.0 15.0","6.2-6.4":0.02013,"7.2-7.4":0.03019,"9.2":0.1107,"10.1":0.01006,"11.1-11.2":0.01006,"16.0":0.06038,"17.0":0.01006,"18.0":0.01006,"19.0":0.06038},I:{"0":0.02548,"3":0,"4":0,"2.1":0,"2.2":0,"2.3":0,"4.1":0.00001,"4.2-4.3":0.00002,"4.4":0,"4.4.3-4.4.4":0.00006},K:{"0":3.81973,_:"10 11 12 11.1 11.5 12.1"},A:{"11":0.0236,_:"6 7 8 9 10 5.5"},S:{"2.5":0.05968,_:"3.0-3.1"},J:{_:"7 10"},N:{_:"10 11"},L:{"0":76.12485},R:{_:"0"},M:{"0":0.02558},Q:{"14.9":0.01705},O:{"0":0.7502},H:{"0":0.69}}; +module.exports={C:{"43":0.00659,"47":0.0033,"49":0.00165,"54":0.00165,"56":0.00165,"59":0.00165,"65":0.0033,"66":0.00165,"67":0.00165,"72":0.00494,"77":0.00494,"81":0.00165,"82":0.00165,"91":0.00165,"94":0.00494,"99":0.00494,"102":0.00165,"106":0.0412,"111":0.00165,"112":0.00165,"114":0.00165,"115":0.18952,"116":0.00165,"121":0.0033,"123":0.00165,"124":0.00165,"125":0.00659,"126":0.0033,"127":0.02307,"128":0.01648,"129":0.17469,"130":1.16019,"131":0.00659,_:"2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 44 45 46 48 50 51 52 53 55 57 58 60 61 62 63 64 68 69 70 71 73 74 75 76 78 79 80 83 84 85 86 87 88 89 90 92 93 95 96 97 98 100 101 103 104 105 107 108 109 110 113 117 118 119 120 122 132 133 134 135 3.5 3.6"},D:{"43":0.00165,"47":0.00165,"58":0.00165,"59":0.00165,"63":0.00165,"67":0.00165,"70":0.01648,"74":0.0033,"75":0.00165,"79":0.07251,"80":0.00659,"83":0.00165,"86":0.00165,"87":0.00659,"88":0.00165,"89":0.00165,"90":0.0033,"91":0.00659,"93":0.00165,"95":0.00824,"96":0.00494,"98":0.0033,"99":0.0033,"100":0.00165,"103":0.01813,"105":0.00165,"107":0.0033,"108":0.00165,"109":0.2439,"110":0.00659,"111":0.0033,"113":0.00165,"114":0.00659,"115":0.00165,"116":0.00494,"118":0.00165,"119":0.00824,"120":0.00494,"121":0.0033,"122":0.0379,"123":0.0033,"124":0.0379,"125":0.00659,"126":0.03626,"127":0.19117,"128":2.11438,"129":0.50594,_:"4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 44 45 46 48 49 50 51 52 53 54 55 56 57 60 61 62 64 65 66 68 69 71 72 73 76 77 78 81 84 85 92 94 97 101 102 104 106 112 117 130 131 132 133"},F:{"42":0.00165,"48":0.00494,"79":0.00824,"82":0.56032,"83":0.00494,"84":0.00165,"95":0.01813,"102":0.00165,"109":0.0033,"110":0.00494,"112":0.21754,"113":0.18952,"114":0.03461,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 43 44 45 46 47 49 50 51 52 53 54 55 56 57 58 60 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 80 81 85 86 87 88 89 90 91 92 93 94 96 97 98 99 100 101 103 104 105 106 107 108 111 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"12":0.00494,"14":0.0033,"16":0.00165,"17":0.05933,"18":0.01154,"84":0.0033,"85":0.00165,"89":0.00494,"90":0.00989,"92":0.01483,"100":0.00824,"101":0.00165,"109":0.01483,"113":0.00165,"114":0.00165,"115":0.00165,"117":0.0033,"119":0.00494,"120":0.00165,"121":0.00165,"122":0.05109,"123":0.00824,"124":0.01154,"125":0.00165,"126":0.01648,"127":0.04285,"128":2.95486,"129":0.84378,"130":0.00165,_:"13 15 79 80 81 83 86 87 88 91 93 94 95 96 97 98 99 102 103 104 105 106 107 108 110 111 112 116 118"},E:{"14":0.00165,_:"0 4 5 6 7 8 9 10 11 12 13 15 3.1 3.2 6.1 7.1 9.1 10.1 15.2-15.3 15.4 16.0 16.2 16.3 16.4 16.5 18.1","5.1":0.0033,"11.1":0.00165,"12.1":0.00824,"13.1":0.04779,"14.1":0.00165,"15.1":2.29896,"15.5":0.0033,"15.6":0.02142,"16.1":0.00165,"16.6":0.00989,"17.0":0.00659,"17.1":0.00494,"17.2":0.00165,"17.3":0.00165,"17.4":0.00659,"17.5":0.00494,"17.6":0.08899,"18.0":0.02637},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.00122,"5.0-5.1":0.00061,"6.0-6.1":0.00366,"7.0-7.1":0.00427,"8.1-8.4":0,"9.0-9.2":0.00366,"9.3":0.01036,"10.0-10.2":0.00305,"10.3":0.01768,"11.0-11.2":0.06524,"11.3-11.4":0.00488,"12.0-12.1":0.00305,"12.2-12.5":0.07377,"13.0-13.1":0.00122,"13.2":0.02317,"13.3":0.00305,"13.4-13.7":0.01219,"14.0-14.4":0.02805,"14.5-14.8":0.03719,"15.0-15.1":0.02134,"15.2-15.3":0.02073,"15.4":0.02378,"15.5":0.02927,"15.6-15.8":0.28961,"16.0":0.05853,"16.1":0.11584,"16.2":0.05792,"16.3":0.09755,"16.4":0.02073,"16.5":0.04085,"16.6-16.7":0.34875,"17.0":0.02927,"17.1":0.04634,"17.2":0.04207,"17.3":0.06036,"17.4":0.12926,"17.5":0.62128,"17.6-17.7":3.30638,"18.0":0.41703,"18.1":0.0189},P:{"4":0.04075,"21":0.03056,"22":0.163,"23":0.04075,"24":0.02038,"25":0.0815,"26":0.28525,_:"20 5.0-5.4 6.2-6.4 8.2 10.1 11.1-11.2 12.0 14.0 15.0 17.0","7.2-7.4":0.05094,"9.2":0.14263,"13.0":0.01019,"16.0":0.01019,"18.0":0.01019,"19.0":0.04075},I:{"0":0.03332,"3":0,"4":0,"2.1":0,"2.2":0,"2.3":0,"4.1":0,"4.2-4.3":0.00001,"4.4":0,"4.4.3-4.4.4":0.00005},K:{"0":2.18032,_:"10 11 12 11.1 11.5 12.1"},A:{_:"6 7 8 9 10 11 5.5"},N:{_:"10 11"},S:{"2.5":0.00835,_:"3.0-3.1"},J:{_:"7 10"},O:{"0":0.71827},H:{"0":0.2},L:{"0":76.59658},R:{_:"0"},M:{"0":0.03341},Q:{"14.9":0.00835}}; diff --git a/node_modules/caniuse-lite/data/regions/NF.js b/node_modules/caniuse-lite/data/regions/NF.js index a3853502a7..5bf8c26819 100644 --- a/node_modules/caniuse-lite/data/regions/NF.js +++ b/node_modules/caniuse-lite/data/regions/NF.js @@ -1 +1 @@ -module.exports={C:{"124":0.17052,_:"2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 125 126 127 128 129 3.5 3.6"},D:{"106":0.17052,"109":2.02884,"123":0.17052,"124":7.60032,"125":1.6878,_:"4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 107 108 110 111 112 113 114 115 116 117 118 119 120 121 122 126 127 128"},F:{_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 60 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"111":0.17052,"124":9.45864,"125":10.64184,_:"12 13 14 15 16 17 18 79 80 81 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 112 113 114 115 116 117 118 119 120 121 122 123"},E:{_:"0 4 5 6 7 8 9 10 11 12 13 14 15 3.1 3.2 5.1 6.1 7.1 9.1 10.1 11.1 12.1 14.1 15.1 15.2-15.3 15.4 15.5 15.6 16.0 16.2 16.3 16.4 17.0 17.1 17.2 17.3 17.5 17.6","13.1":0.67512,"16.1":0.33756,"16.5":0.17052,"16.6":0.17052,"17.4":1.1832},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.00194,"5.0-5.1":0.00194,"6.0-6.1":0.00484,"7.0-7.1":0.00677,"8.1-8.4":0.00194,"9.0-9.2":0.00484,"9.3":0.02226,"10.0-10.2":0.00387,"10.3":0.03484,"11.0-11.2":0.05129,"11.3-11.4":0.00968,"12.0-12.1":0.00581,"12.2-12.5":0.14032,"13.0-13.1":0.0029,"13.2":0.01355,"13.3":0.00677,"13.4-13.7":0.03097,"14.0-14.4":0.05322,"14.5-14.8":0.08226,"15.0-15.1":0.03968,"15.2-15.3":0.04355,"15.4":0.04935,"15.5":0.06193,"15.6-15.8":0.5574,"16.0":0.12677,"16.1":0.26128,"16.2":0.12677,"16.3":0.21967,"16.4":0.04645,"16.5":0.09387,"16.6-16.7":0.74804,"17.0":0.08129,"17.1":0.13258,"17.2":0.13838,"17.3":0.25548,"17.4":5.80146,"17.5":0.40934,"17.6":0},P:{"21":0.18066,"25":1.25396,_:"4 20 22 23 24 5.0-5.4 6.2-6.4 7.2-7.4 8.2 9.2 10.1 11.1-11.2 12.0 13.0 14.0 15.0 16.0 18.0 19.0","17.0":1.43462},I:{"0":0,"3":0,"4":0,"2.1":0,"2.2":0,"2.3":0,"4.1":0,"4.2-4.3":0,"4.4":0,"4.4.3-4.4.4":0},K:{"0":0,_:"10 11 12 11.1 11.5 12.1"},A:{_:"6 7 8 9 10 11 5.5"},S:{_:"2.5 3.0-3.1"},J:{_:"7 10"},N:{_:"10 11"},L:{"0":52.84064},R:{_:"0"},M:{_:"0"},Q:{_:"14.9"},O:{_:"0"},H:{"0":0}}; +module.exports={C:{"78":0.6672,"127":0.444,"130":1.9992,_:"2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 128 129 131 132 133 134 135 3.5 3.6"},D:{"109":1.1112,"127":1.1112,"128":3.1104,"129":1.3344,_:"4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 130 131 132 133"},F:{"112":0.888,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 60 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 113 114 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"128":7.7784,"129":0.444,_:"12 13 14 15 16 17 18 79 80 81 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 130"},E:{_:"0 4 5 6 7 8 9 10 11 12 13 14 15 3.1 3.2 5.1 6.1 7.1 9.1 10.1 11.1 12.1 13.1 14.1 15.1 15.2-15.3 15.4 15.5 15.6 16.0 16.1 16.2 16.4 16.5 16.6 17.0 17.1 17.2 17.3 17.5 18.1","16.3":0.2232,"17.4":0.2232,"17.6":2.2224,"18.0":0.2232},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.00281,"5.0-5.1":0.00141,"6.0-6.1":0.00844,"7.0-7.1":0.00985,"8.1-8.4":0,"9.0-9.2":0.00844,"9.3":0.02391,"10.0-10.2":0.00703,"10.3":0.0408,"11.0-11.2":0.15052,"11.3-11.4":0.01125,"12.0-12.1":0.00703,"12.2-12.5":0.17022,"13.0-13.1":0.00281,"13.2":0.05346,"13.3":0.00703,"13.4-13.7":0.02814,"14.0-14.4":0.06471,"14.5-14.8":0.08581,"15.0-15.1":0.04924,"15.2-15.3":0.04783,"15.4":0.05486,"15.5":0.06752,"15.6-15.8":0.66821,"16.0":0.13505,"16.1":0.26728,"16.2":0.13364,"16.3":0.22508,"16.4":0.04783,"16.5":0.09425,"16.6-16.7":0.80467,"17.0":0.06752,"17.1":0.10691,"17.2":0.09707,"17.3":0.13927,"17.4":0.29823,"17.5":1.43349,"17.6-17.7":7.62886,"18.0":0.96222,"18.1":0.04361},P:{"25":0.49121,"26":1.48479,_:"4 20 21 22 23 24 5.0-5.4 6.2-6.4 7.2-7.4 8.2 9.2 10.1 11.1-11.2 12.0 13.0 14.0 15.0 16.0 17.0 18.0 19.0"},I:{"0":0,"3":0,"4":0,"2.1":0,"2.2":0,"2.3":0,"4.1":0,"4.2-4.3":0,"4.4":0,"4.4.3-4.4.4":0},K:{"0":0,_:"10 11 12 11.1 11.5 12.1"},A:{_:"6 7 8 9 10 11 5.5"},N:{_:"10 11"},S:{_:"2.5 3.0-3.1"},J:{_:"7 10"},O:{_:"0"},H:{"0":0},L:{"0":59.964},R:{_:"0"},M:{_:"0"},Q:{_:"14.9"}}; diff --git a/node_modules/caniuse-lite/data/regions/NG.js b/node_modules/caniuse-lite/data/regions/NG.js index e97db5c72a..b9fcd2f735 100644 --- a/node_modules/caniuse-lite/data/regions/NG.js +++ b/node_modules/caniuse-lite/data/regions/NG.js @@ -1 +1 @@ -module.exports={C:{"36":0.00111,"43":0.00668,"47":0.00223,"52":0.00334,"65":0.00334,"68":0.00111,"72":0.00223,"76":0.00111,"78":0.00223,"79":0.00111,"80":0.00111,"89":0.00111,"92":0.00111,"96":0.00111,"99":0.00334,"100":0.00111,"101":0.00111,"102":0.00111,"103":0.00334,"104":0.00111,"105":0.00111,"106":0.00111,"107":0.00111,"108":0.00111,"109":0.00111,"110":0.00111,"111":0.00111,"112":0.00111,"113":0.00223,"114":0.00223,"115":0.4055,"116":0.00111,"118":0.00111,"119":0.00111,"120":0.00223,"121":0.00223,"122":0.00223,"123":0.00557,"124":0.01782,"125":0.22614,"126":0.16264,"127":0.00446,_:"2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 37 38 39 40 41 42 44 45 46 48 49 50 51 53 54 55 56 57 58 59 60 61 62 63 64 66 67 69 70 71 73 74 75 77 81 82 83 84 85 86 87 88 90 91 93 94 95 97 98 117 128 129 3.5 3.6"},D:{"11":0.00111,"37":0.00111,"38":0.00111,"40":0.00111,"42":0.00111,"43":0.00111,"47":0.01337,"48":0.00111,"49":0.00111,"50":0.00111,"55":0.00111,"56":0.00223,"58":0.00446,"59":0.01448,"62":0.01003,"63":0.00891,"64":0.00668,"65":0.00223,"66":0.00111,"68":0.00891,"69":0.00334,"70":0.01671,"71":0.00111,"72":0.00111,"73":0.00334,"74":0.00446,"75":0.00446,"76":0.00668,"77":0.00668,"78":0.00111,"79":0.01225,"80":0.0078,"81":0.00668,"83":0.00446,"84":0.0078,"85":0.00334,"86":0.00557,"87":0.01114,"88":0.01894,"89":0.00223,"90":0.00223,"91":0.01448,"92":0.00334,"93":0.06684,"94":0.00446,"95":0.01114,"96":0.00334,"97":0.00334,"98":0.00446,"99":0.00334,"100":0.00334,"101":0.00223,"102":0.00446,"103":0.01671,"104":0.00446,"105":0.00891,"106":0.01003,"107":0.00557,"108":0.00668,"109":0.67063,"110":0.00557,"111":0.01003,"112":0.00557,"113":0.00446,"114":0.01671,"115":0.01114,"116":0.04122,"117":0.01225,"118":0.00891,"119":0.04233,"120":0.04679,"121":0.03899,"122":0.09023,"123":0.24508,"124":3.13814,"125":1.13851,"126":0.00668,"127":0.00111,_:"4 5 6 7 8 9 10 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 39 41 44 45 46 51 52 53 54 57 60 61 67 128"},F:{"33":0.00111,"35":0.00111,"42":0.00111,"53":0.00111,"58":0.00111,"76":0.00111,"77":0.00111,"78":0.00111,"79":0.00891,"81":0.00111,"82":0.00334,"83":0.00111,"85":0.00111,"95":0.02228,"100":0.01337,"102":0.00111,"105":0.00111,"106":0.00111,"107":0.01337,"108":0.01225,"109":0.21612,"110":0.02117,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 34 36 37 38 39 40 41 43 44 45 46 47 48 49 50 51 52 54 55 56 57 60 62 63 64 65 66 67 68 69 70 71 72 73 74 75 80 84 86 87 88 89 90 91 92 93 94 96 97 98 99 101 103 104 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"12":0.0078,"13":0.00111,"14":0.00111,"15":0.00111,"16":0.00111,"17":0.00111,"18":0.02339,"84":0.00223,"85":0.00111,"89":0.00334,"90":0.00668,"92":0.01782,"100":0.00446,"106":0.00111,"107":0.00111,"109":0.0078,"110":0.00111,"111":0.00111,"112":0.00111,"113":0.00111,"114":0.00111,"115":0.00334,"116":0.00223,"117":0.00111,"118":0.00111,"119":0.00223,"120":0.0078,"121":0.0078,"122":0.0156,"123":0.02674,"124":0.44449,"125":0.21723,_:"79 80 81 83 86 87 88 91 93 94 95 96 97 98 99 101 102 103 104 105 108"},E:{"10":0.00111,"11":0.00334,"12":0.00111,"13":0.00557,"14":0.00891,"15":0.00223,_:"0 4 5 6 7 8 9 3.1 3.2 5.1 6.1 7.1 9.1 10.1 17.6","11.1":0.00557,"12.1":0.00223,"13.1":0.01225,"14.1":0.01337,"15.1":0.00334,"15.2-15.3":0.00111,"15.4":0.00223,"15.5":0.00223,"15.6":0.02785,"16.0":0.00557,"16.1":0.00334,"16.2":0.00111,"16.3":0.00668,"16.4":0.00334,"16.5":0.00446,"16.6":0.02005,"17.0":0.00334,"17.1":0.00557,"17.2":0.0078,"17.3":0.01114,"17.4":0.05013,"17.5":0.00891},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.00116,"5.0-5.1":0.00116,"6.0-6.1":0.0029,"7.0-7.1":0.00406,"8.1-8.4":0.00116,"9.0-9.2":0.0029,"9.3":0.01335,"10.0-10.2":0.00232,"10.3":0.02089,"11.0-11.2":0.03075,"11.3-11.4":0.0058,"12.0-12.1":0.00348,"12.2-12.5":0.08414,"13.0-13.1":0.00174,"13.2":0.00812,"13.3":0.00406,"13.4-13.7":0.01857,"14.0-14.4":0.03191,"14.5-14.8":0.04932,"15.0-15.1":0.02379,"15.2-15.3":0.02611,"15.4":0.02959,"15.5":0.03714,"15.6-15.8":0.33423,"16.0":0.07601,"16.1":0.15667,"16.2":0.07601,"16.3":0.13172,"16.4":0.02785,"16.5":0.05628,"16.6-16.7":0.44854,"17.0":0.04874,"17.1":0.0795,"17.2":0.08298,"17.3":0.15319,"17.4":3.47863,"17.5":0.24545,"17.6":0},P:{"4":0.04227,"20":0.01057,"21":0.0317,"22":0.0634,"23":0.08454,"24":0.14794,"25":0.29588,_:"5.0-5.4 6.2-6.4 8.2 10.1 12.0 13.0 14.0 15.0 18.0","7.2-7.4":0.04227,"9.2":0.01057,"11.1-11.2":0.01057,"16.0":0.02113,"17.0":0.01057,"19.0":0.01057},I:{"0":0.04426,"3":0,"4":0,"2.1":0,"2.2":0,"2.3":0,"4.1":0.00001,"4.2-4.3":0.00003,"4.4":0,"4.4.3-4.4.4":0.0001},K:{"0":26.30058,_:"10 11 12 11.1 11.5 12.1"},A:{"8":0.00241,"10":0.00241,"11":0.00965,_:"6 7 9 5.5"},S:{"2.5":0.02666,_:"3.0-3.1"},J:{_:"7 10"},N:{_:"10 11"},L:{"0":51.53792},R:{_:"0"},M:{"0":0.19549},Q:{"14.9":0.00889},O:{"0":0.55982},H:{"0":6.08}}; +module.exports={C:{"34":0.00133,"43":0.00663,"47":0.00265,"52":0.00133,"65":0.00265,"72":0.00398,"78":0.00265,"79":0.00133,"89":0.00133,"99":0.00265,"101":0.00133,"102":0.00133,"103":0.00265,"106":0.00133,"107":0.00133,"108":0.00265,"109":0.00133,"110":0.00133,"111":0.00133,"112":0.00133,"113":0.00133,"114":0.00133,"115":0.44918,"120":0.00265,"122":0.00133,"123":0.00133,"124":0.00133,"125":0.00265,"126":0.00398,"127":0.01193,"128":0.00663,"129":0.09143,"130":0.34185,"131":0.01193,_:"2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 35 36 37 38 39 40 41 42 44 45 46 48 49 50 51 53 54 55 56 57 58 59 60 61 62 63 64 66 67 68 69 70 71 73 74 75 76 77 80 81 82 83 84 85 86 87 88 90 91 92 93 94 95 96 97 98 100 104 105 116 117 118 119 121 132 133 134 135 3.5 3.6"},D:{"11":0.00133,"33":0.00133,"37":0.00133,"39":0.00133,"47":0.01458,"49":0.00265,"50":0.00133,"55":0.00265,"56":0.00133,"58":0.00398,"59":0.01193,"61":0.00133,"62":0.0106,"63":0.00663,"64":0.00663,"65":0.00133,"68":0.00795,"69":0.00265,"70":0.01988,"72":0.00133,"73":0.00133,"74":0.0053,"75":0.0053,"76":0.0053,"77":0.00928,"78":0.00133,"79":0.01325,"80":0.00795,"81":0.00663,"83":0.00398,"84":0.00265,"85":0.00265,"86":0.0053,"87":0.0106,"88":0.01458,"89":0.00133,"90":0.00265,"91":0.01723,"92":0.00265,"93":0.01325,"94":0.0053,"95":0.0106,"96":0.00265,"97":0.00398,"98":0.00398,"99":0.00265,"100":0.00398,"101":0.00133,"102":0.00133,"103":0.02518,"104":0.0053,"105":0.01193,"106":0.01193,"107":0.00928,"108":0.01325,"109":0.7155,"110":0.00663,"111":0.00663,"112":0.0053,"113":0.0106,"114":0.0106,"115":0.00398,"116":0.04108,"117":0.0106,"118":0.00795,"119":0.03975,"120":0.02915,"121":0.0159,"122":0.0318,"123":0.03313,"124":0.0636,"125":0.03578,"126":0.12588,"127":0.41208,"128":3.9803,"129":1.06928,"130":0.00663,"131":0.00133,_:"4 5 6 7 8 9 10 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 34 35 36 38 40 41 42 43 44 45 46 48 51 52 53 54 57 60 66 67 71 132 133"},F:{"33":0.00133,"42":0.00133,"46":0.00133,"58":0.00133,"79":0.0053,"83":0.0265,"84":0.08745,"85":0.00265,"90":0.00133,"95":0.02518,"100":0.01193,"108":0.00133,"109":0.00133,"110":0.00133,"111":0.00265,"112":0.19743,"113":0.09673,"114":0.00398,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 34 35 36 37 38 39 40 41 43 44 45 47 48 49 50 51 52 53 54 55 56 57 60 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 80 81 82 86 87 88 89 91 92 93 94 96 97 98 99 101 102 103 104 105 106 107 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"12":0.00265,"14":0.00133,"15":0.00398,"16":0.00133,"17":0.00133,"18":0.0212,"84":0.00398,"85":0.00133,"89":0.00398,"90":0.00795,"92":0.02518,"100":0.00663,"106":0.00265,"107":0.00133,"108":0.00133,"109":0.0106,"110":0.00133,"111":0.00133,"112":0.00133,"114":0.0159,"115":0.00265,"116":0.00133,"117":0.00265,"118":0.00133,"119":0.00133,"120":0.0053,"121":0.00265,"122":0.00265,"123":0.00398,"124":0.0053,"125":0.00663,"126":0.0265,"127":0.05168,"128":0.70358,"129":0.24248,_:"13 79 80 81 83 86 87 88 91 93 94 95 96 97 98 99 101 102 103 104 105 113 130"},E:{"11":0.00398,"13":0.0053,"14":0.00795,_:"0 4 5 6 7 8 9 10 12 15 3.1 3.2 6.1 7.1 9.1 10.1","5.1":0.00265,"11.1":0.00398,"12.1":0.00265,"13.1":0.01855,"14.1":0.00795,"15.1":0.00133,"15.2-15.3":0.00133,"15.4":0.00265,"15.5":0.00133,"15.6":0.0265,"16.0":0.00133,"16.1":0.00265,"16.2":0.00133,"16.3":0.00663,"16.4":0.00133,"16.5":0.0053,"16.6":0.0159,"17.0":0.00265,"17.1":0.00398,"17.2":0.0053,"17.3":0.00398,"17.4":0.01458,"17.5":0.0265,"17.6":0.06493,"18.0":0.0159,"18.1":0.00133},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.00123,"5.0-5.1":0.00062,"6.0-6.1":0.0037,"7.0-7.1":0.00431,"8.1-8.4":0,"9.0-9.2":0.0037,"9.3":0.01047,"10.0-10.2":0.00308,"10.3":0.01786,"11.0-11.2":0.0659,"11.3-11.4":0.00493,"12.0-12.1":0.00308,"12.2-12.5":0.07453,"13.0-13.1":0.00123,"13.2":0.02341,"13.3":0.00308,"13.4-13.7":0.01232,"14.0-14.4":0.02833,"14.5-14.8":0.03757,"15.0-15.1":0.02156,"15.2-15.3":0.02094,"15.4":0.02402,"15.5":0.02956,"15.6-15.8":0.29256,"16.0":0.05913,"16.1":0.11703,"16.2":0.05851,"16.3":0.09855,"16.4":0.02094,"16.5":0.04127,"16.6-16.7":0.35231,"17.0":0.02956,"17.1":0.04681,"17.2":0.0425,"17.3":0.06098,"17.4":0.13058,"17.5":0.62763,"17.6-17.7":3.34016,"18.0":0.42129,"18.1":0.01909},P:{"4":0.0317,"20":0.01057,"21":0.02113,"22":0.06339,"23":0.0317,"24":0.05283,"25":0.17962,"26":0.34867,_:"5.0-5.4 6.2-6.4 8.2 10.1 12.0 14.0 15.0 17.0 18.0","7.2-7.4":0.02113,"9.2":0.01057,"11.1-11.2":0.01057,"13.0":0.01057,"16.0":0.02113,"19.0":0.01057},I:{"0":0.03461,"3":0,"4":0,"2.1":0,"2.2":0,"2.3":0,"4.1":0,"4.2-4.3":0.00001,"4.4":0,"4.4.3-4.4.4":0.00006},K:{"0":24.76543,_:"10 11 12 11.1 11.5 12.1"},A:{"10":0.00166,"11":0.01159,_:"6 7 8 9 5.5"},N:{_:"10 11"},S:{"2.5":0.01735,_:"3.0-3.1"},J:{_:"7 10"},O:{"0":0.54653},H:{"0":3.09},L:{"0":53.99405},R:{_:"0"},M:{"0":0.22555},Q:{"14.9":0.00868}}; diff --git a/node_modules/caniuse-lite/data/regions/NI.js b/node_modules/caniuse-lite/data/regions/NI.js index 0d6d473332..89deb72d80 100644 --- a/node_modules/caniuse-lite/data/regions/NI.js +++ b/node_modules/caniuse-lite/data/regions/NI.js @@ -1 +1 @@ -module.exports={C:{"4":0.01921,"11":0.0064,"78":0.0032,"88":0.0032,"98":0.0128,"102":0.0032,"115":0.11204,"117":0.0032,"120":0.0032,"121":0.0032,"122":0.0032,"123":0.0032,"124":0.03201,"125":0.6274,"126":0.67221,_:"2 3 5 6 7 8 9 10 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 79 80 81 82 83 84 85 86 87 89 90 91 92 93 94 95 96 97 99 100 101 103 104 105 106 107 108 109 110 111 112 113 114 116 118 119 127 128 129 3.5 3.6"},D:{"11":0.0064,"38":0.0032,"49":0.0032,"66":0.0064,"68":0.0064,"69":0.0064,"70":0.0032,"73":0.0128,"75":0.0032,"76":0.0064,"79":0.03201,"80":0.0032,"81":0.0064,"83":0.0096,"84":0.0032,"86":0.0032,"87":0.08963,"88":0.0096,"91":0.22727,"92":0.0032,"93":0.0064,"94":0.0064,"96":0.0064,"97":0.0032,"98":0.0096,"99":0.03841,"100":0.0032,"101":0.04802,"102":0.0032,"103":0.05442,"104":0.0064,"105":0.0064,"106":0.0096,"107":0.0032,"108":0.01921,"109":1.79576,"110":0.0096,"111":0.0128,"112":0.0064,"113":0.0064,"114":0.02881,"115":0.0032,"116":0.05762,"117":0.01601,"118":0.0096,"119":0.04802,"120":0.12164,"121":0.05762,"122":0.23047,"123":0.41613,"124":13.00246,"125":4.74388,"126":0.0032,_:"4 5 6 7 8 9 10 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 39 40 41 42 43 44 45 46 47 48 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 67 71 72 74 77 78 85 89 90 95 127 128"},F:{"46":0.0032,"60":0.0032,"95":0.01921,"102":0.0032,"107":0.38412,"108":0.0128,"109":1.03712,"110":0.03841,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 47 48 49 50 51 52 53 54 55 56 57 58 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 96 97 98 99 100 101 103 104 105 106 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"18":0.0064,"92":0.03841,"100":0.0064,"104":0.0032,"107":0.0032,"109":0.03521,"110":0.0032,"111":0.0032,"112":0.0032,"113":0.0032,"114":0.0032,"115":0.0064,"116":0.01601,"117":0.0064,"118":0.0032,"119":0.0064,"120":0.0096,"121":0.01921,"122":0.04481,"123":0.09603,"124":2.76566,"125":1.51087,_:"12 13 14 15 16 17 79 80 81 83 84 85 86 87 88 89 90 91 93 94 95 96 97 98 99 101 102 103 105 106 108"},E:{_:"0 4 5 6 7 8 9 10 11 12 13 14 15 3.1 3.2 6.1 7.1 9.1 10.1 11.1 12.1 15.1 17.6","5.1":0.05442,"13.1":0.0096,"14.1":0.04481,"15.2-15.3":0.0032,"15.4":0.0032,"15.5":0.0032,"15.6":0.03201,"16.0":0.0032,"16.1":0.0064,"16.2":0.0096,"16.3":0.01921,"16.4":0.0032,"16.5":0.10243,"16.6":0.07682,"17.0":0.0032,"17.1":0.02561,"17.2":0.0096,"17.3":0.02561,"17.4":0.37132,"17.5":0.02881},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.0012,"5.0-5.1":0.0012,"6.0-6.1":0.00299,"7.0-7.1":0.00419,"8.1-8.4":0.0012,"9.0-9.2":0.00299,"9.3":0.01376,"10.0-10.2":0.00239,"10.3":0.02154,"11.0-11.2":0.03171,"11.3-11.4":0.00598,"12.0-12.1":0.00359,"12.2-12.5":0.08676,"13.0-13.1":0.00179,"13.2":0.00838,"13.3":0.00419,"13.4-13.7":0.01915,"14.0-14.4":0.03291,"14.5-14.8":0.05086,"15.0-15.1":0.02453,"15.2-15.3":0.02692,"15.4":0.03051,"15.5":0.03829,"15.6-15.8":0.34463,"16.0":0.07838,"16.1":0.16154,"16.2":0.07838,"16.3":0.13582,"16.4":0.02872,"16.5":0.05804,"16.6-16.7":0.4625,"17.0":0.05026,"17.1":0.08197,"17.2":0.08556,"17.3":0.15795,"17.4":3.58688,"17.5":0.25309,"17.6":0},P:{"4":0.1129,"20":0.03079,"21":0.08211,"22":0.14369,"23":0.28737,"24":0.43106,"25":2.05267,_:"5.0-5.4 8.2 10.1 12.0","6.2-6.4":0.01026,"7.2-7.4":0.32843,"9.2":0.01026,"11.1-11.2":0.07184,"13.0":0.01026,"14.0":0.02053,"15.0":0.01026,"16.0":0.04105,"17.0":0.01026,"18.0":0.02053,"19.0":0.09237},I:{"0":0.06772,"3":0,"4":0.00001,"2.1":0,"2.2":0,"2.3":0,"4.1":0.00001,"4.2-4.3":0.00004,"4.4":0,"4.4.3-4.4.4":0.00015},K:{"0":0.63231,_:"10 11 12 11.1 11.5 12.1"},A:{"11":0.0064,_:"6 7 8 9 10 5.5"},S:{"2.5":0.0068,_:"3.0-3.1"},J:{_:"7 10"},N:{_:"10 11"},L:{"0":59.14907},R:{_:"0"},M:{"0":0.12918},Q:{_:"14.9"},O:{"0":0.14958},H:{"0":0}}; +module.exports={C:{"4":0.05569,"52":0.02475,"61":0.02475,"79":0.00309,"84":0.00309,"114":0.00619,"115":0.07735,"123":0.00309,"125":0.00309,"126":0.03403,"127":0.00928,"128":0.01547,"129":0.29702,"130":1.03958,"131":0.00619,"132":0.00309,_:"2 3 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 53 54 55 56 57 58 59 60 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 80 81 82 83 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 116 117 118 119 120 121 122 124 133 134 135 3.5 3.6"},D:{"34":0.00309,"49":0.00309,"55":0.00309,"56":0.00309,"62":0.00309,"66":0.00619,"69":0.01856,"70":0.00619,"73":0.00928,"74":0.00309,"75":0.00309,"76":0.00309,"79":0.03713,"81":0.02785,"83":0.00928,"84":0.00309,"85":0.00309,"86":0.00619,"87":0.02475,"88":0.01547,"89":0.00309,"90":0.00309,"91":2.03585,"93":0.01547,"94":0.03094,"95":0.00309,"96":0.00928,"98":0.02166,"99":0.00619,"100":0.00309,"101":0.00619,"102":0.00619,"103":0.05879,"104":0.01238,"106":0.01238,"107":0.00619,"108":0.01547,"109":1.15097,"110":0.00309,"111":0.01547,"112":0.00309,"113":0.00309,"114":0.01856,"116":0.04332,"117":0.00619,"118":0.01238,"119":0.03713,"120":0.09901,"121":0.01547,"122":0.05879,"123":0.03713,"124":0.03713,"125":0.03403,"126":0.12685,"127":0.57858,"128":12.15014,"129":4.48939,_:"4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 35 36 37 38 39 40 41 42 43 44 45 46 47 48 50 51 52 53 54 57 58 59 60 61 63 64 65 67 68 71 72 77 78 80 92 97 105 115 130 131 132 133"},F:{"46":0.00309,"84":0.00928,"95":0.01238,"109":0.01238,"111":0.03713,"112":0.86013,"113":0.40222,"114":0.00619,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 47 48 49 50 51 52 53 54 55 56 57 58 60 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 85 86 87 88 89 90 91 92 93 94 96 97 98 99 100 101 102 103 104 105 106 107 108 110 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"18":0.00619,"92":0.02785,"100":0.00619,"101":0.00309,"109":0.04332,"111":0.00619,"114":0.00309,"115":0.00309,"116":0.00309,"117":0.00309,"119":0.00309,"120":0.00309,"121":0.01238,"122":0.00619,"123":0.01238,"124":0.00619,"125":0.02166,"126":0.03094,"127":0.15161,"128":2.38857,"129":1.08909,"130":0.00619,_:"12 13 14 15 16 17 79 80 81 83 84 85 86 87 88 89 90 91 93 94 95 96 97 98 99 102 103 104 105 106 107 108 110 112 113 118"},E:{"13":0.00309,"14":0.00619,_:"0 4 5 6 7 8 9 10 11 12 15 3.1 3.2 6.1 7.1 9.1 10.1 11.1 15.4","5.1":0.00309,"12.1":0.00309,"13.1":0.00619,"14.1":0.01547,"15.1":0.00309,"15.2-15.3":0.00619,"15.5":0.00619,"15.6":0.11448,"16.0":0.00619,"16.1":0.00619,"16.2":0.00619,"16.3":0.09591,"16.4":0.00309,"16.5":0.00928,"16.6":0.06188,"17.0":0.00309,"17.1":0.01856,"17.2":0.00619,"17.3":0.02166,"17.4":0.05879,"17.5":0.17326,"17.6":0.47338,"18.0":0.06807,"18.1":0.00309},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.0019,"5.0-5.1":0.00095,"6.0-6.1":0.0057,"7.0-7.1":0.00665,"8.1-8.4":0,"9.0-9.2":0.0057,"9.3":0.01615,"10.0-10.2":0.00475,"10.3":0.02754,"11.0-11.2":0.10162,"11.3-11.4":0.0076,"12.0-12.1":0.00475,"12.2-12.5":0.11492,"13.0-13.1":0.0019,"13.2":0.03609,"13.3":0.00475,"13.4-13.7":0.01899,"14.0-14.4":0.04369,"14.5-14.8":0.05793,"15.0-15.1":0.03324,"15.2-15.3":0.03229,"15.4":0.03704,"15.5":0.04559,"15.6-15.8":0.45111,"16.0":0.09117,"16.1":0.18045,"16.2":0.09022,"16.3":0.15195,"16.4":0.03229,"16.5":0.06363,"16.6-16.7":0.54324,"17.0":0.04559,"17.1":0.07218,"17.2":0.06553,"17.3":0.09402,"17.4":0.20134,"17.5":0.96776,"17.6-17.7":5.15029,"18.0":0.6496,"18.1":0.02944},P:{"4":0.09324,"20":0.03108,"21":0.04144,"22":0.14505,"23":0.11397,"24":0.13469,"25":0.24865,"26":1.77165,_:"5.0-5.4 6.2-6.4 8.2 9.2 10.1 12.0 14.0 15.0","7.2-7.4":0.24865,"11.1-11.2":0.01036,"13.0":0.01036,"16.0":0.04144,"17.0":0.01036,"18.0":0.01036,"19.0":0.04144},I:{"0":0.07577,"3":0,"4":0,"2.1":0,"2.2":0,"2.3":0,"4.1":0.00001,"4.2-4.3":0.00003,"4.4":0,"4.4.3-4.4.4":0.00012},K:{"0":0.47658,_:"10 11 12 11.1 11.5 12.1"},A:{"11":0.00619,_:"6 7 8 9 10 5.5"},N:{_:"10 11"},S:{"2.5":0.04835,_:"3.0-3.1"},J:{_:"7 10"},O:{"0":0.10361},H:{"0":0},L:{"0":56.96862},R:{_:"0"},M:{"0":0.13814},Q:{_:"14.9"}}; diff --git a/node_modules/caniuse-lite/data/regions/NL.js b/node_modules/caniuse-lite/data/regions/NL.js index 752e1ea9f6..cbad482295 100644 --- a/node_modules/caniuse-lite/data/regions/NL.js +++ b/node_modules/caniuse-lite/data/regions/NL.js @@ -1 +1 @@ -module.exports={C:{"38":0.01382,"43":0.00921,"44":0.05068,"45":0.00921,"52":0.00921,"75":0.00461,"78":0.01382,"81":0.01382,"91":0.00461,"99":0.00461,"102":0.01382,"103":0.00921,"104":0.00461,"106":0.00461,"107":0.00461,"108":0.00461,"109":0.00461,"110":0.00461,"111":0.00461,"112":0.00461,"113":0.01382,"114":0.00461,"115":0.48834,"116":0.00461,"117":0.02304,"118":0.02764,"119":0.00461,"120":0.00461,"121":0.00921,"122":0.03225,"123":0.02304,"124":0.05528,"125":1.36367,"126":1.2485,"127":0.01382,_:"2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 39 40 41 42 46 47 48 49 50 51 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 76 77 79 80 82 83 84 85 86 87 88 89 90 92 93 94 95 96 97 98 100 101 105 128 129 3.5 3.6"},D:{"38":0.00921,"41":0.00461,"45":0.16125,"47":0.01382,"48":0.129,"49":0.03686,"52":0.03686,"61":0.00461,"66":0.00921,"78":0.00461,"79":0.03225,"80":0.00921,"81":0.00461,"83":0.00461,"84":0.00921,"85":0.01843,"86":0.23956,"87":0.02764,"88":0.01382,"89":0.00461,"90":0.00461,"91":0.00921,"92":0.16125,"93":0.02764,"94":0.01843,"96":0.05068,"97":0.01382,"98":0.00921,"99":0.03686,"100":0.23956,"101":0.46531,"102":0.26721,"103":0.31788,"104":0.3962,"105":0.03225,"106":0.10596,"107":0.01843,"108":0.14742,"109":0.76476,"110":0.01843,"111":0.01843,"112":0.02764,"113":0.22114,"114":0.25339,"115":0.02304,"116":0.14282,"117":0.03686,"118":0.07832,"119":0.05989,"120":0.14282,"121":0.18428,"122":0.34553,"123":1.37749,"124":14.22642,"125":5.49615,"126":0.00921,"127":0.00461,_:"4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 39 40 42 43 44 46 50 51 53 54 55 56 57 58 59 60 62 63 64 65 67 68 69 70 71 72 73 74 75 76 77 95 128"},F:{"46":0.00461,"85":0.00461,"95":0.03225,"102":0.00461,"105":0.00461,"106":0.04607,"107":0.1981,"108":0.01843,"109":0.9859,"110":0.05989,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 47 48 49 50 51 52 53 54 55 56 57 58 60 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 86 87 88 89 90 91 92 93 94 96 97 98 99 100 101 103 104 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"12":0.00461,"13":0.00461,"92":0.00461,"107":0.00461,"108":0.00461,"109":0.10135,"110":0.00461,"111":0.00461,"112":0.00461,"113":0.00461,"114":0.01382,"115":0.00461,"116":0.00461,"117":0.00461,"118":0.00461,"119":0.01382,"120":0.03686,"121":0.02304,"122":0.0645,"123":0.28103,"124":4.74521,"125":2.80106,_:"14 15 16 17 18 79 80 81 83 84 85 86 87 88 89 90 91 93 94 95 96 97 98 99 100 101 102 103 104 105 106"},E:{"8":0.00461,"9":0.01843,"13":0.00461,"14":0.05989,"15":0.00921,_:"0 4 5 6 7 10 11 12 3.1 3.2 5.1 6.1 7.1 9.1 10.1 11.1 17.6","12.1":0.00921,"13.1":0.0645,"14.1":0.08753,"15.1":0.01843,"15.2-15.3":0.01382,"15.4":0.02304,"15.5":0.03686,"15.6":0.35935,"16.0":0.04146,"16.1":0.05989,"16.2":0.05068,"16.3":0.12439,"16.4":0.04146,"16.5":0.07832,"16.6":0.53902,"17.0":0.07371,"17.1":0.11057,"17.2":0.1336,"17.3":0.13821,"17.4":2.58913,"17.5":0.41924},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.00366,"5.0-5.1":0.00366,"6.0-6.1":0.00915,"7.0-7.1":0.01281,"8.1-8.4":0.00366,"9.0-9.2":0.00915,"9.3":0.04209,"10.0-10.2":0.00732,"10.3":0.06589,"11.0-11.2":0.097,"11.3-11.4":0.0183,"12.0-12.1":0.01098,"12.2-12.5":0.26538,"13.0-13.1":0.00549,"13.2":0.02562,"13.3":0.01281,"13.4-13.7":0.05857,"14.0-14.4":0.10066,"14.5-14.8":0.15557,"15.0-15.1":0.07504,"15.2-15.3":0.08236,"15.4":0.09334,"15.5":0.11713,"15.6-15.8":1.05419,"16.0":0.23975,"16.1":0.49415,"16.2":0.23975,"16.3":0.41545,"16.4":0.08785,"16.5":0.17753,"16.6-16.7":1.41473,"17.0":0.15374,"17.1":0.25074,"17.2":0.26172,"17.3":0.48317,"17.4":10.97195,"17.5":0.77417,"17.6":0},P:{"4":0.04216,"20":0.02108,"21":0.04216,"22":0.0527,"23":0.12647,"24":0.28456,"25":4.61625,_:"5.0-5.4 6.2-6.4 8.2 9.2 10.1 11.1-11.2 12.0 14.0 15.0","7.2-7.4":0.01054,"13.0":0.01054,"16.0":0.01054,"17.0":0.02108,"18.0":0.01054,"19.0":0.01054},I:{"0":0.05373,"3":0,"4":0.00001,"2.1":0,"2.2":0,"2.3":0,"4.1":0.00001,"4.2-4.3":0.00003,"4.4":0,"4.4.3-4.4.4":0.00012},K:{"0":0.57716,_:"10 11 12 11.1 11.5 12.1"},A:{"8":0.0048,"9":0.03359,"11":0.07678,_:"6 7 10 5.5"},S:{_:"2.5 3.0-3.1"},J:{_:"7 10"},N:{_:"10 11"},L:{"0":28.83863},R:{_:"0"},M:{"0":0.57176},Q:{"14.9":0.00539},O:{"0":0.33443},H:{"0":0}}; +module.exports={C:{"48":0.00456,"52":0.07299,"60":0.00456,"66":0.00456,"78":0.00912,"81":0.01369,"91":0.01369,"95":0.00456,"102":0.00912,"103":0.00456,"105":0.00456,"107":0.00456,"108":0.00456,"109":0.00456,"110":0.00456,"112":0.00456,"113":0.01369,"114":0.00456,"115":0.49726,"116":0.00456,"117":0.02281,"118":0.00456,"120":0.00456,"122":0.02737,"123":0.00456,"124":0.00456,"125":0.02737,"126":0.00456,"127":0.02281,"128":0.0365,"129":0.42427,"130":1.99359,"131":0.02281,_:"2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 49 50 51 53 54 55 56 57 58 59 61 62 63 64 65 67 68 69 70 71 72 73 74 75 76 77 79 80 82 83 84 85 86 87 88 89 90 92 93 94 96 97 98 99 100 101 104 106 111 119 121 132 133 134 135 3.5 3.6"},D:{"38":0.01825,"45":0.04106,"48":0.00456,"49":0.00912,"52":0.0365,"56":0.02281,"58":0.00456,"66":0.00912,"72":0.0365,"76":0.00912,"78":0.00456,"79":0.02737,"84":0.00912,"85":0.00912,"86":0.01369,"87":0.02281,"88":0.01825,"89":0.00456,"90":0.00456,"91":0.00456,"92":0.07755,"93":0.00912,"94":0.00912,"96":0.0365,"97":0.01369,"98":0.00912,"99":0.00456,"100":0.00456,"101":0.00456,"102":0.00912,"103":0.14142,"104":0.10493,"105":0.00456,"106":0.10949,"107":0.02281,"108":0.07299,"109":0.57025,"110":0.01825,"111":0.02281,"112":0.03193,"113":0.22354,"114":0.26916,"115":0.00912,"116":0.14598,"117":0.02281,"118":0.08212,"119":0.0365,"120":0.07299,"121":0.05018,"122":0.15511,"123":0.20985,"124":0.24635,"125":1.0082,"126":0.61131,"127":1.70619,"128":14.42504,"129":5.65232,"130":0.00912,"131":0.00456,_:"4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 39 40 41 42 43 44 46 47 50 51 53 54 55 57 59 60 61 62 63 64 65 67 68 69 70 71 73 74 75 77 80 81 83 95 132 133"},F:{"84":0.01825,"85":0.00456,"94":0.00456,"95":0.02281,"102":0.00456,"106":0.00456,"109":0.01825,"111":0.00456,"112":0.62043,"113":0.41058,"114":0.00912,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 60 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 86 87 88 89 90 91 92 93 96 97 98 99 100 101 103 104 105 107 108 110 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"92":0.00456,"94":0.00456,"100":0.00456,"107":0.00456,"108":0.00456,"109":0.08668,"110":0.00456,"111":0.00456,"112":0.00456,"113":0.00912,"114":0.01369,"115":0.00456,"116":0.00456,"119":0.00912,"120":0.01369,"121":0.01369,"122":0.01369,"123":0.00912,"124":0.02281,"125":0.01825,"126":0.11405,"127":0.22354,"128":5.17331,"129":2.5456,"130":0.00456,_:"12 13 14 15 16 17 18 79 80 81 83 84 85 86 87 88 89 90 91 93 95 96 97 98 99 101 102 103 104 105 106 117 118"},E:{"13":0.00456,"14":0.01825,"15":0.00456,_:"0 4 5 6 7 8 9 10 11 12 3.1 3.2 5.1 6.1 7.1 9.1 10.1 11.1","12.1":0.00456,"13.1":0.05018,"14.1":0.07299,"15.1":0.01369,"15.2-15.3":0.00912,"15.4":0.01825,"15.5":0.02737,"15.6":0.31478,"16.0":0.04562,"16.1":0.05018,"16.2":0.0365,"16.3":0.10493,"16.4":0.0365,"16.5":0.04562,"16.6":0.47901,"17.0":0.02737,"17.1":0.05931,"17.2":0.06387,"17.3":0.07299,"17.4":0.18704,"17.5":0.50638,"17.6":2.66877,"18.0":0.36952,"18.1":0.00912},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.00377,"5.0-5.1":0.00188,"6.0-6.1":0.0113,"7.0-7.1":0.01319,"8.1-8.4":0,"9.0-9.2":0.0113,"9.3":0.03202,"10.0-10.2":0.00942,"10.3":0.05463,"11.0-11.2":0.20156,"11.3-11.4":0.01507,"12.0-12.1":0.00942,"12.2-12.5":0.22793,"13.0-13.1":0.00377,"13.2":0.07158,"13.3":0.00942,"13.4-13.7":0.03767,"14.0-14.4":0.08665,"14.5-14.8":0.11491,"15.0-15.1":0.06593,"15.2-15.3":0.06405,"15.4":0.07347,"15.5":0.09042,"15.6-15.8":0.89477,"16.0":0.18084,"16.1":0.35791,"16.2":0.17895,"16.3":0.3014,"16.4":0.06405,"16.5":0.12621,"16.6-16.7":1.07749,"17.0":0.09042,"17.1":0.14316,"17.2":0.12998,"17.3":0.18649,"17.4":0.39935,"17.5":1.91951,"17.6-17.7":10.21543,"18.0":1.28847,"18.1":0.0584},P:{"4":0.02092,"20":0.01046,"21":0.06275,"22":0.04183,"23":0.05229,"24":0.05229,"25":0.29282,"26":4.39223,_:"5.0-5.4 6.2-6.4 8.2 9.2 10.1 12.0 14.0","7.2-7.4":0.01046,"11.1-11.2":0.02092,"13.0":0.01046,"15.0":0.01046,"16.0":0.01046,"17.0":0.01046,"18.0":0.01046,"19.0":0.01046},I:{"0":0.04881,"3":0,"4":0,"2.1":0,"2.2":0,"2.3":0,"4.1":0,"4.2-4.3":0.00002,"4.4":0,"4.4.3-4.4.4":0.00008},K:{"0":0.56011,_:"10 11 12 11.1 11.5 12.1"},A:{"8":0.01104,"10":0.00552,"11":0.08836,_:"6 7 9 5.5"},N:{_:"10 11"},S:{_:"2.5 3.0-3.1"},J:{_:"7 10"},O:{"0":0.33716},H:{"0":0},L:{"0":28.81398},R:{_:"0"},M:{"0":0.61993},Q:{"14.9":0.02175}}; diff --git a/node_modules/caniuse-lite/data/regions/NO.js b/node_modules/caniuse-lite/data/regions/NO.js index 55e3558c89..c19a8ff461 100644 --- a/node_modules/caniuse-lite/data/regions/NO.js +++ b/node_modules/caniuse-lite/data/regions/NO.js @@ -1 +1 @@ -module.exports={C:{"52":0.0048,"59":0.05764,"78":0.01441,"87":0.00961,"91":0.0048,"102":0.0048,"103":0.0048,"107":0.0048,"111":0.0048,"113":0.0048,"115":0.33141,"118":0.00961,"120":0.0048,"121":0.0048,"122":0.00961,"123":0.04323,"124":0.06724,"125":0.91257,"126":0.75407,_:"2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 53 54 55 56 57 58 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 79 80 81 82 83 84 85 86 88 89 90 92 93 94 95 96 97 98 99 100 101 104 105 106 108 109 110 112 114 116 117 119 127 128 129 3.5 3.6"},D:{"38":0.0048,"41":0.0048,"49":0.01441,"66":0.24976,"79":0.00961,"83":0.0048,"86":0.04803,"87":0.08165,"89":0.01921,"90":0.00961,"91":0.00961,"92":0.0048,"93":0.0048,"94":0.01441,"95":0.0048,"96":0.0048,"98":0.0048,"99":0.0048,"100":0.04323,"101":0.08645,"102":0.04803,"103":0.09606,"104":0.06244,"105":0.00961,"106":0.0048,"107":0.00961,"108":0.01441,"109":0.43227,"110":0.02402,"111":0.00961,"112":0.03362,"113":0.21133,"114":0.26417,"115":0.01921,"116":0.17771,"117":0.01921,"118":8.09306,"119":0.03842,"120":0.13448,"121":0.13929,"122":0.35542,"123":1.63782,"124":13.19384,"125":4.66371,"126":0.0048,_:"4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 39 40 42 43 44 45 46 47 48 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 67 68 69 70 71 72 73 74 75 76 77 78 80 81 84 85 88 97 127 128"},F:{"87":0.0048,"95":0.02402,"102":0.0048,"105":0.0048,"106":0.01921,"107":0.49951,"108":0.03362,"109":1.51295,"110":0.05764,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 60 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 88 89 90 91 92 93 94 96 97 98 99 100 101 103 104 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"17":0.02882,"92":0.0048,"104":0.0048,"106":0.0048,"109":0.06244,"111":0.0048,"112":0.0048,"113":0.0048,"114":0.00961,"115":0.0048,"117":0.0048,"118":0.0048,"119":0.01921,"120":0.02402,"121":0.02402,"122":0.04803,"123":0.17771,"124":3.8472,"125":2.16615,_:"12 13 14 15 16 18 79 80 81 83 84 85 86 87 88 89 90 91 93 94 95 96 97 98 99 100 101 102 103 105 107 108 110 116"},E:{"13":0.0048,"14":0.03362,"15":0.0048,_:"0 4 5 6 7 8 9 10 11 12 3.1 3.2 6.1 7.1 9.1 10.1 17.6","5.1":0.0048,"11.1":0.04803,"12.1":0.01921,"13.1":0.11047,"14.1":0.12488,"15.1":0.01441,"15.2-15.3":0.01921,"15.4":0.03362,"15.5":0.06724,"15.6":0.40345,"16.0":0.03842,"16.1":0.08645,"16.2":0.07685,"16.3":0.17291,"16.4":0.06724,"16.5":0.09606,"16.6":0.71084,"17.0":0.06244,"17.1":0.14889,"17.2":0.1633,"17.3":0.18251,"17.4":3.04991,"17.5":0.43227},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.00573,"5.0-5.1":0.00573,"6.0-6.1":0.01433,"7.0-7.1":0.02006,"8.1-8.4":0.00573,"9.0-9.2":0.01433,"9.3":0.06592,"10.0-10.2":0.01146,"10.3":0.10318,"11.0-11.2":0.15191,"11.3-11.4":0.02866,"12.0-12.1":0.0172,"12.2-12.5":0.4156,"13.0-13.1":0.0086,"13.2":0.04013,"13.3":0.02006,"13.4-13.7":0.09172,"14.0-14.4":0.15764,"14.5-14.8":0.24363,"15.0-15.1":0.11751,"15.2-15.3":0.12898,"15.4":0.14618,"15.5":0.18344,"15.6-15.8":1.65092,"16.0":0.37547,"16.1":0.77387,"16.2":0.37547,"16.3":0.65062,"16.4":0.13758,"16.5":0.27802,"16.6-16.7":2.21555,"17.0":0.24076,"17.1":0.39267,"17.2":0.40986,"17.3":0.75667,"17.4":17.18273,"17.5":1.21239,"17.6":0},P:{"4":0.03127,"20":0.01042,"21":0.02085,"22":0.02085,"23":0.06254,"24":0.15636,"25":3.54414,"5.0-5.4":0.01042,_:"6.2-6.4 7.2-7.4 8.2 9.2 10.1 11.1-11.2 12.0 13.0 14.0 15.0 16.0 18.0","17.0":0.01042,"19.0":0.01042},I:{"0":0.02589,"3":0,"4":0,"2.1":0,"2.2":0,"2.3":0,"4.1":0.00001,"4.2-4.3":0.00002,"4.4":0,"4.4.3-4.4.4":0.00006},K:{"0":0.27549,_:"10 11 12 11.1 11.5 12.1"},A:{"8":0.0048,"11":0.07205,_:"6 7 9 10 5.5"},S:{_:"2.5 3.0-3.1"},J:{_:"7 10"},N:{_:"10 11"},L:{"0":18.66147},R:{_:"0"},M:{"0":0.42104},Q:{_:"14.9"},O:{"0":0.01559},H:{"0":0}}; +module.exports={C:{"59":0.0421,"78":0.01052,"111":0.00526,"113":0.00526,"115":0.16838,"117":0.01052,"119":0.01579,"120":0.01052,"122":0.00526,"123":0.00526,"125":0.00526,"126":0.00526,"127":0.02105,"128":0.02105,"129":0.3052,"130":1.56281,"131":0.00526,_:"2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 112 114 116 118 121 124 132 133 134 135 3.5 3.6"},D:{"38":0.00526,"41":0.00526,"49":0.00526,"65":0.00526,"66":0.18943,"79":0.01052,"86":0.00526,"87":0.02631,"88":0.06314,"89":0.02105,"91":0.00526,"92":0.00526,"93":0.00526,"94":0.01052,"98":0.00526,"101":0.00526,"102":0.01052,"103":0.05788,"104":0.01052,"105":0.00526,"106":0.00526,"107":0.01052,"108":0.01579,"109":0.29467,"110":0.00526,"111":0.01052,"112":0.01052,"113":0.221,"114":0.2631,"115":0.01052,"116":0.18417,"117":0.01579,"118":8.24029,"119":0.02631,"120":0.05788,"121":0.05262,"122":0.16838,"123":0.09998,"124":0.14207,"125":0.26836,"126":0.51041,"127":1.58386,"128":14.27581,"129":6.47226,"130":0.00526,_:"4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 39 40 42 43 44 45 46 47 48 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 67 68 69 70 71 72 73 74 75 76 77 78 80 81 83 84 85 90 95 96 97 99 100 131 132 133"},F:{"84":0.01052,"95":0.02631,"102":0.00526,"108":0.00526,"109":0.04736,"111":0.01052,"112":1.02083,"113":0.88928,"114":0.00526,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 60 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 85 86 87 88 89 90 91 92 93 94 96 97 98 99 100 101 103 104 105 106 107 110 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"17":0.02105,"92":0.00526,"107":0.00526,"109":0.03683,"114":0.00526,"115":0.01052,"119":0.00526,"120":0.01579,"121":0.01579,"122":0.01579,"123":0.01052,"124":0.01052,"125":0.01579,"126":0.04736,"127":0.19996,"128":4.4727,"129":2.03639,_:"12 13 14 15 16 18 79 80 81 83 84 85 86 87 88 89 90 91 93 94 95 96 97 98 99 100 101 102 103 104 105 106 108 110 111 112 113 116 117 118 130"},E:{"14":0.02631,"15":0.00526,_:"0 4 5 6 7 8 9 10 11 12 13 3.1 3.2 5.1 6.1 7.1 9.1 10.1","11.1":0.03157,"12.1":0.01052,"13.1":0.03683,"14.1":0.10524,"15.1":0.01052,"15.2-15.3":0.01579,"15.4":0.06841,"15.5":0.05788,"15.6":0.38939,"16.0":0.03157,"16.1":0.07367,"16.2":0.04736,"16.3":0.12629,"16.4":0.12103,"16.5":0.08945,"16.6":0.60513,"17.0":0.0421,"17.1":0.09998,"17.2":0.11576,"17.3":0.13155,"17.4":0.31046,"17.5":0.86297,"17.6":3.59395,"18.0":0.47358,"18.1":0.02105},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.00564,"5.0-5.1":0.00282,"6.0-6.1":0.01691,"7.0-7.1":0.01972,"8.1-8.4":0,"9.0-9.2":0.01691,"9.3":0.0479,"10.0-10.2":0.01409,"10.3":0.08172,"11.0-11.2":0.30151,"11.3-11.4":0.02254,"12.0-12.1":0.01409,"12.2-12.5":0.34095,"13.0-13.1":0.00564,"13.2":0.10708,"13.3":0.01409,"13.4-13.7":0.05636,"14.0-14.4":0.12962,"14.5-14.8":0.17189,"15.0-15.1":0.09862,"15.2-15.3":0.09581,"15.4":0.10989,"15.5":0.13525,"15.6-15.8":1.33846,"16.0":0.27051,"16.1":0.53538,"16.2":0.26769,"16.3":0.45085,"16.4":0.09581,"16.5":0.18879,"16.6-16.7":1.61179,"17.0":0.13525,"17.1":0.21415,"17.2":0.19443,"17.3":0.27896,"17.4":0.59738,"17.5":2.87135,"17.6-17.7":15.28098,"18.0":1.92738,"18.1":0.08735},P:{"4":0.02092,"21":0.01046,"22":0.01046,"23":0.02092,"24":0.02092,"25":0.16736,"26":2.91837,_:"20 6.2-6.4 7.2-7.4 8.2 9.2 10.1 11.1-11.2 12.0 13.0 14.0 15.0 16.0 17.0 18.0 19.0","5.0-5.4":0.01046},I:{"0":0.01418,"3":0,"4":0,"2.1":0,"2.2":0,"2.3":0,"4.1":0,"4.2-4.3":0.00001,"4.4":0,"4.4.3-4.4.4":0.00002},K:{"0":0.22747,_:"10 11 12 11.1 11.5 12.1"},A:{"11":0.02105,_:"6 7 8 9 10 5.5"},N:{_:"10 11"},S:{_:"2.5 3.0-3.1"},J:{_:"7 10"},O:{"0":0.02843},H:{"0":0},L:{"0":15.41215},R:{_:"0"},M:{"0":0.30804},Q:{_:"14.9"}}; diff --git a/node_modules/caniuse-lite/data/regions/NP.js b/node_modules/caniuse-lite/data/regions/NP.js index 3f506a096b..bda70b9e18 100644 --- a/node_modules/caniuse-lite/data/regions/NP.js +++ b/node_modules/caniuse-lite/data/regions/NP.js @@ -1 +1 @@ -module.exports={C:{"52":0.00699,"58":0.00233,"65":0.00233,"99":0.00233,"100":0.00233,"103":0.00233,"110":0.00233,"112":0.00233,"114":0.00233,"115":0.15851,"117":0.00233,"118":0.00233,"119":0.00233,"120":0.00233,"121":0.00233,"122":0.00466,"123":0.00699,"124":0.01399,"125":0.47552,"126":0.45455,"127":0.01865,_:"2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 53 54 55 56 57 59 60 61 62 63 64 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 101 102 104 105 106 107 108 109 111 113 116 128 129 3.5 3.6"},D:{"45":0.00233,"69":0.00233,"72":0.00233,"73":0.00233,"74":0.00233,"75":0.00233,"76":0.00233,"79":0.00466,"83":0.00233,"86":0.00233,"87":0.00932,"88":0.00466,"90":0.00233,"91":0.00233,"92":0.00233,"93":0.00466,"95":0.00233,"99":0.00233,"100":0.00466,"102":0.00233,"103":0.0373,"104":0.00466,"105":0.00233,"106":0.01632,"107":0.00699,"108":0.00699,"109":1.64802,"110":0.00233,"111":0.00466,"112":0.00466,"113":0.00466,"114":0.00932,"115":0.00466,"116":0.04196,"117":0.01166,"118":0.00932,"119":0.02564,"120":0.06527,"121":0.05128,"122":0.13753,"123":0.28438,"124":11.49183,"125":4.84615,"126":0.04429,"127":0.00233,_:"4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 70 71 77 78 80 81 84 85 89 94 96 97 98 101 128"},F:{"85":0.00233,"95":0.01399,"107":0.01865,"108":0.00233,"109":0.25874,"110":0.02098,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 60 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 86 87 88 89 90 91 92 93 94 96 97 98 99 100 101 102 103 104 105 106 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"18":0.00233,"92":0.00699,"108":0.00233,"109":0.01399,"114":0.00233,"115":0.00233,"117":0.00233,"119":0.00233,"120":0.00932,"121":0.00699,"122":0.01166,"123":0.01632,"124":1.01865,"125":0.63869,_:"12 13 14 15 16 17 79 80 81 83 84 85 86 87 88 89 90 91 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 110 111 112 113 116 118"},E:{"13":0.00233,"14":0.00466,_:"0 4 5 6 7 8 9 10 11 12 15 3.1 3.2 5.1 6.1 7.1 9.1 10.1 17.6","11.1":0.00233,"12.1":0.00233,"13.1":0.00699,"14.1":0.01865,"15.1":0.00699,"15.2-15.3":0.00466,"15.4":0.00466,"15.5":0.00699,"15.6":0.03263,"16.0":0.00466,"16.1":0.01166,"16.2":0.00233,"16.3":0.01166,"16.4":0.00699,"16.5":0.00932,"16.6":0.06527,"17.0":0.00932,"17.1":0.01399,"17.2":0.02797,"17.3":0.01632,"17.4":0.1958,"17.5":0.04196},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.00197,"5.0-5.1":0.00197,"6.0-6.1":0.00492,"7.0-7.1":0.00689,"8.1-8.4":0.00197,"9.0-9.2":0.00492,"9.3":0.02263,"10.0-10.2":0.00394,"10.3":0.03542,"11.0-11.2":0.05214,"11.3-11.4":0.00984,"12.0-12.1":0.0059,"12.2-12.5":0.14265,"13.0-13.1":0.00295,"13.2":0.01377,"13.3":0.00689,"13.4-13.7":0.03148,"14.0-14.4":0.05411,"14.5-14.8":0.08362,"15.0-15.1":0.04034,"15.2-15.3":0.04427,"15.4":0.05017,"15.5":0.06296,"15.6-15.8":0.56667,"16.0":0.12888,"16.1":0.26563,"16.2":0.12888,"16.3":0.22332,"16.4":0.04722,"16.5":0.09543,"16.6-16.7":0.76048,"17.0":0.08264,"17.1":0.13478,"17.2":0.14068,"17.3":0.25972,"17.4":5.89791,"17.5":0.41615,"17.6":0},P:{"4":0.03243,"20":0.01081,"21":0.01081,"22":0.01081,"23":0.03243,"24":0.04324,"25":0.46486,_:"5.0-5.4 6.2-6.4 8.2 9.2 10.1 11.1-11.2 12.0 13.0 14.0 15.0 16.0 18.0","7.2-7.4":0.03243,"17.0":0.01081,"19.0":0.01081},I:{"0":0.04583,"3":0,"4":0,"2.1":0,"2.2":0,"2.3":0,"4.1":0.00001,"4.2-4.3":0.00003,"4.4":0,"4.4.3-4.4.4":0.0001},K:{"0":0.70546,_:"10 11 12 11.1 11.5 12.1"},A:{"8":0.00233,"11":0.00466,_:"6 7 9 10 5.5"},S:{_:"2.5 3.0-3.1"},J:{_:"7 10"},N:{_:"10 11"},L:{"0":65.35361},R:{_:"0"},M:{"0":0.04601},Q:{_:"14.9"},O:{"0":0.61344},H:{"0":0}}; +module.exports={C:{"52":0.00514,"77":0.00257,"91":0.00257,"95":0.00257,"99":0.00257,"100":0.00257,"110":0.00257,"115":0.17476,"121":0.00257,"122":0.00257,"123":0.00514,"124":0.00257,"125":0.00257,"126":0.01028,"127":0.01028,"128":0.00514,"129":0.21588,"130":0.84039,"131":0.03084,_:"2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 78 79 80 81 82 83 84 85 86 87 88 89 90 92 93 94 96 97 98 101 102 103 104 105 106 107 108 109 111 112 113 114 116 117 118 119 120 132 133 134 135 3.5 3.6"},D:{"69":0.00257,"70":0.00257,"71":0.00257,"73":0.00257,"74":0.00257,"76":0.00257,"79":0.00771,"80":0.00257,"81":0.00257,"83":0.00514,"85":0.00257,"86":0.00257,"87":0.01285,"88":0.00257,"91":0.00257,"93":0.00514,"94":0.00514,"95":0.00257,"99":0.00771,"100":0.00257,"103":0.04112,"104":0.00257,"105":0.00257,"106":0.01542,"107":0.00514,"108":0.00514,"109":1.5934,"111":0.00257,"112":0.00257,"113":0.00257,"114":0.00771,"115":0.00257,"116":0.04112,"117":0.00514,"118":0.01285,"119":0.01542,"120":0.03341,"121":0.02313,"122":0.06168,"123":0.02827,"124":0.06168,"125":0.06425,"126":0.11308,"127":0.36237,"128":13.84973,"129":4.29704,"130":0.03855,"131":0.00257,_:"4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 72 75 77 78 84 89 90 92 96 97 98 101 102 110 132 133"},F:{"84":0.00257,"85":0.00514,"95":0.01542,"109":0.00257,"112":0.19018,"113":0.1285,"114":0.00257,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 60 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 86 87 88 89 90 91 92 93 94 96 97 98 99 100 101 102 103 104 105 106 107 108 110 111 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"18":0.00514,"92":0.00514,"109":0.01285,"120":0.00257,"121":0.00514,"122":0.00257,"123":0.00257,"124":0.00257,"125":0.00257,"126":0.01542,"127":0.03084,"128":1.34668,"129":0.51657,"130":0.00257,_:"12 13 14 15 16 17 79 80 81 83 84 85 86 87 88 89 90 91 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 110 111 112 113 114 115 116 117 118 119"},E:{"13":0.00257,"14":0.00257,_:"0 4 5 6 7 8 9 10 11 12 15 3.1 3.2 5.1 6.1 7.1 9.1 10.1 15.2-15.3","11.1":0.00257,"12.1":0.00257,"13.1":0.00771,"14.1":0.01285,"15.1":0.00257,"15.4":0.00257,"15.5":0.00514,"15.6":0.0257,"16.0":0.00257,"16.1":0.01285,"16.2":0.00257,"16.3":0.01028,"16.4":0.00514,"16.5":0.00514,"16.6":0.03855,"17.0":0.00514,"17.1":0.00771,"17.2":0.00514,"17.3":0.00771,"17.4":0.01799,"17.5":0.04369,"17.6":0.21845,"18.0":0.04626,"18.1":0.00257},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.00182,"5.0-5.1":0.00091,"6.0-6.1":0.00547,"7.0-7.1":0.00638,"8.1-8.4":0,"9.0-9.2":0.00547,"9.3":0.0155,"10.0-10.2":0.00456,"10.3":0.02643,"11.0-11.2":0.09753,"11.3-11.4":0.00729,"12.0-12.1":0.00456,"12.2-12.5":0.1103,"13.0-13.1":0.00182,"13.2":0.03464,"13.3":0.00456,"13.4-13.7":0.01823,"14.0-14.4":0.04193,"14.5-14.8":0.0556,"15.0-15.1":0.0319,"15.2-15.3":0.03099,"15.4":0.03555,"15.5":0.04375,"15.6-15.8":0.43298,"16.0":0.08751,"16.1":0.17319,"16.2":0.0866,"16.3":0.14585,"16.4":0.03099,"16.5":0.06107,"16.6-16.7":0.5214,"17.0":0.04375,"17.1":0.06928,"17.2":0.0629,"17.3":0.09024,"17.4":0.19325,"17.5":0.92886,"17.6-17.7":4.94327,"18.0":0.62349,"18.1":0.02826},P:{"4":0.03193,"21":0.01064,"22":0.01064,"23":0.02129,"24":0.01064,"25":0.04258,"26":0.55352,_:"20 5.0-5.4 6.2-6.4 8.2 9.2 10.1 11.1-11.2 12.0 13.0 14.0 15.0 16.0 18.0 19.0","7.2-7.4":0.02129,"17.0":0.01064},I:{"0":0.02964,"3":0,"4":0,"2.1":0,"2.2":0,"2.3":0,"4.1":0,"4.2-4.3":0.00001,"4.4":0,"4.4.3-4.4.4":0.00005},K:{"0":0.83948,_:"10 11 12 11.1 11.5 12.1"},A:{"11":0.00771,_:"6 7 8 9 10 5.5"},N:{_:"10 11"},S:{_:"2.5 3.0-3.1"},J:{_:"7 10"},O:{"0":0.94348},H:{"0":0},L:{"0":63.24094},R:{_:"0"},M:{"0":0.052},Q:{_:"14.9"}}; diff --git a/node_modules/caniuse-lite/data/regions/NR.js b/node_modules/caniuse-lite/data/regions/NR.js index 5802b8e9ee..e5928f002b 100644 --- a/node_modules/caniuse-lite/data/regions/NR.js +++ b/node_modules/caniuse-lite/data/regions/NR.js @@ -1 +1 @@ -module.exports={C:{"125":0.21161,_:"2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 126 127 128 129 3.5 3.6"},D:{"120":0.14208,"122":0.06953,"124":9.23224,"125":5.35676,_:"4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 121 123 126 127 128"},F:{"109":3.31321,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 60 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 110 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"14":0.14208,"105":0.06953,"123":0.70436,"124":3.94502,"125":5.35676,_:"12 13 15 16 17 18 79 80 81 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122"},E:{"14":0.06953,_:"0 4 5 6 7 8 9 10 11 12 13 15 3.1 3.2 5.1 6.1 7.1 9.1 10.1 11.1 12.1 13.1 14.1 15.1 15.2-15.3 15.4 15.5 15.6 16.0 16.1 16.2 16.3 16.4 16.5 16.6 17.0 17.1 17.2 17.3 17.4 17.5 17.6"},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.00136,"5.0-5.1":0.00136,"6.0-6.1":0.00341,"7.0-7.1":0.00477,"8.1-8.4":0.00136,"9.0-9.2":0.00341,"9.3":0.01568,"10.0-10.2":0.00273,"10.3":0.02454,"11.0-11.2":0.03612,"11.3-11.4":0.00682,"12.0-12.1":0.00409,"12.2-12.5":0.09883,"13.0-13.1":0.00204,"13.2":0.00954,"13.3":0.00477,"13.4-13.7":0.02181,"14.0-14.4":0.03749,"14.5-14.8":0.05793,"15.0-15.1":0.02794,"15.2-15.3":0.03067,"15.4":0.03476,"15.5":0.04362,"15.6-15.8":0.39258,"16.0":0.08928,"16.1":0.18402,"16.2":0.08928,"16.3":0.15471,"16.4":0.03271,"16.5":0.06611,"16.6-16.7":0.52684,"17.0":0.05725,"17.1":0.09337,"17.2":0.09746,"17.3":0.17993,"17.4":4.08592,"17.5":0.2883,"17.6":0},P:{"23":0.42387,"24":0.42387,"25":1.14042,_:"4 20 21 22 5.0-5.4 6.2-6.4 7.2-7.4 8.2 9.2 10.1 11.1-11.2 12.0 13.0 14.0 15.0 16.0 17.0 18.0 19.0"},I:{"0":0.21541,"3":0,"4":0.00002,"2.1":0,"2.2":0,"2.3":0,"4.1":0.00004,"4.2-4.3":0.00013,"4.4":0,"4.4.3-4.4.4":0.00048},K:{"0":0.42554,_:"10 11 12 11.1 11.5 12.1"},A:{_:"6 7 8 9 10 11 5.5"},S:{_:"2.5 3.0-3.1"},J:{_:"7 10"},N:{_:"10 11"},L:{"0":61.80228},R:{_:"0"},M:{"0":0.13952},Q:{_:"14.9"},O:{_:"0"},H:{"0":0}}; +module.exports={C:{"130":0.24208,_:"2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 131 132 133 134 135 3.5 3.6"},D:{"100":0.18156,"127":0.18156,"128":6.87205,"129":1.02581,_:"4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 130 131 132 133"},F:{"112":0.36312,"113":0.24208,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 60 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 114 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"125":0.12104,"127":0.24208,"128":6.75101,"129":0.66269,_:"12 13 14 15 16 17 18 79 80 81 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 126 130"},E:{_:"0 4 5 6 7 8 9 10 11 12 13 14 15 3.1 3.2 5.1 6.1 7.1 9.1 10.1 11.1 12.1 13.1 14.1 15.1 15.2-15.3 15.4 15.5 15.6 16.0 16.1 16.2 16.3 16.4 16.5 16.6 17.0 17.1 17.3 17.4 17.5 17.6 18.0 18.1","17.2":0.06052},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.00226,"5.0-5.1":0.00113,"6.0-6.1":0.00679,"7.0-7.1":0.00792,"8.1-8.4":0,"9.0-9.2":0.00679,"9.3":0.01923,"10.0-10.2":0.00566,"10.3":0.0328,"11.0-11.2":0.12104,"11.3-11.4":0.00905,"12.0-12.1":0.00566,"12.2-12.5":0.13687,"13.0-13.1":0.00226,"13.2":0.04298,"13.3":0.00566,"13.4-13.7":0.02262,"14.0-14.4":0.05203,"14.5-14.8":0.069,"15.0-15.1":0.03959,"15.2-15.3":0.03846,"15.4":0.04412,"15.5":0.0543,"15.6-15.8":0.53731,"16.0":0.10859,"16.1":0.21492,"16.2":0.10746,"16.3":0.18099,"16.4":0.03846,"16.5":0.07579,"16.6-16.7":0.64704,"17.0":0.0543,"17.1":0.08597,"17.2":0.07805,"17.3":0.11199,"17.4":0.23981,"17.5":1.15268,"17.6-17.7":6.1344,"18.0":0.77373,"18.1":0.03507},P:{"22":0.06083,"25":0.48663,"26":0.54746,_:"4 20 21 23 24 5.0-5.4 6.2-6.4 7.2-7.4 8.2 9.2 10.1 11.1-11.2 12.0 13.0 14.0 15.0 16.0 17.0 18.0 19.0"},I:{"0":0,"3":0,"4":0,"2.1":0,"2.2":0,"2.3":0,"4.1":0,"4.2-4.3":0,"4.4":0,"4.4.3-4.4.4":0},K:{"0":1.27624,_:"10 11 12 11.1 11.5 12.1"},A:{_:"6 7 8 9 10 11 5.5"},N:{_:"10 11"},S:{_:"2.5 3.0-3.1"},J:{_:"7 10"},O:{_:"0"},H:{"0":0},L:{"0":69.37746},R:{_:"0"},M:{_:"0"},Q:{_:"14.9"}}; diff --git a/node_modules/caniuse-lite/data/regions/NU.js b/node_modules/caniuse-lite/data/regions/NU.js index 4e542e7396..c71570e605 100644 --- a/node_modules/caniuse-lite/data/regions/NU.js +++ b/node_modules/caniuse-lite/data/regions/NU.js @@ -1 +1 @@ -module.exports={C:{_:"2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 3.5 3.6"},D:{"124":2.1361,_:"4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 125 126 127 128"},F:{"109":0.37031,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 60 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 110 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"124":0.14812,_:"12 13 14 15 16 17 18 79 80 81 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 125"},E:{_:"0 4 5 6 7 8 9 10 11 12 13 14 15 3.1 3.2 5.1 6.1 7.1 9.1 10.1 11.1 12.1 13.1 14.1 15.1 15.4 16.2 17.0 17.6","15.2-15.3":0.07406,"15.5":0.29625,"15.6":0.5886,"16.0":0.14812,"16.1":0.07406,"16.3":0.14812,"16.4":0.07406,"16.5":0.29625,"16.6":3.53549,"17.1":1.62157,"17.2":0.07406,"17.3":0.14812,"17.4":22.84228,"17.5":4.8647},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.01192,"5.0-5.1":0.01192,"6.0-6.1":0.0298,"7.0-7.1":0.04172,"8.1-8.4":0.01192,"9.0-9.2":0.0298,"9.3":0.13707,"10.0-10.2":0.02384,"10.3":0.21454,"11.0-11.2":0.31585,"11.3-11.4":0.05959,"12.0-12.1":0.03576,"12.2-12.5":0.86412,"13.0-13.1":0.01788,"13.2":0.08343,"13.3":0.04172,"13.4-13.7":0.1907,"14.0-14.4":0.32777,"14.5-14.8":0.50655,"15.0-15.1":0.24434,"15.2-15.3":0.26818,"15.4":0.30393,"15.5":0.38141,"15.6-15.8":3.43265,"16.0":0.78069,"16.1":1.60905,"16.2":0.78069,"16.3":1.3528,"16.4":0.28605,"16.5":0.57807,"16.6-16.7":4.60666,"17.0":0.50059,"17.1":0.81645,"17.2":0.8522,"17.3":1.5733,"17.4":35.72694,"17.5":2.52085,"17.6":0},P:{_:"4 20 21 22 23 24 25 5.0-5.4 6.2-6.4 7.2-7.4 8.2 9.2 10.1 11.1-11.2 12.0 13.0 14.0 15.0 16.0 17.0 18.0 19.0"},I:{"0":0,"3":0,"4":0,"2.1":0,"2.2":0,"2.3":0,"4.1":0,"4.2-4.3":0,"4.4":0,"4.4.3-4.4.4":0},K:{"0":0,_:"10 11 12 11.1 11.5 12.1"},A:{_:"6 7 8 9 10 11 5.5"},S:{_:"2.5 3.0-3.1"},J:{_:"7 10"},N:{_:"10 11"},L:{"0":0.14642},R:{_:"0"},M:{_:"0"},Q:{_:"14.9"},O:{"0":1.26901},H:{"0":0}}; +module.exports={C:{_:"2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 3.5 3.6"},D:{"128":4.2332,_:"4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 129 130 131 132 133"},F:{"112":1.4668,"113":0.171,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 60 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 114 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"128":0.2584,"129":0.5168,_:"12 13 14 15 16 17 18 79 80 81 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 130"},E:{_:"0 4 5 6 7 8 9 10 11 12 13 14 15 3.1 3.2 5.1 6.1 7.1 9.1 10.1 11.1 12.1 13.1 14.1 15.1 15.2-15.3 15.4 15.5 16.0 16.2 16.4 16.5 17.0 17.2 18.1","15.6":0.3458,"16.1":0.2584,"16.3":0.5168,"16.6":5.0084,"17.1":0.0874,"17.3":0.6042,"17.4":0.6042,"17.5":1.2958,"17.6":20.4668,"18.0":0.6042},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.01236,"5.0-5.1":0.00618,"6.0-6.1":0.03709,"7.0-7.1":0.04327,"8.1-8.4":0,"9.0-9.2":0.03709,"9.3":0.10508,"10.0-10.2":0.03091,"10.3":0.17926,"11.0-11.2":0.66141,"11.3-11.4":0.04945,"12.0-12.1":0.03091,"12.2-12.5":0.74795,"13.0-13.1":0.01236,"13.2":0.23489,"13.3":0.03091,"13.4-13.7":0.12363,"14.0-14.4":0.28434,"14.5-14.8":0.37707,"15.0-15.1":0.21635,"15.2-15.3":0.21017,"15.4":0.24107,"15.5":0.29671,"15.6-15.8":2.93617,"16.0":0.59341,"16.1":1.17447,"16.2":0.58723,"16.3":0.98902,"16.4":0.21017,"16.5":0.41415,"16.6-16.7":3.53576,"17.0":0.29671,"17.1":0.46979,"17.2":0.42652,"17.3":0.61196,"17.4":1.31046,"17.5":6.29885,"17.6-17.7":33.52173,"18.0":4.22808,"18.1":0.19162},P:{_:"4 20 21 22 23 24 25 26 5.0-5.4 6.2-6.4 7.2-7.4 8.2 9.2 10.1 11.1-11.2 12.0 13.0 14.0 15.0 16.0 17.0 18.0 19.0"},I:{"0":0,"3":0,"4":0,"2.1":0,"2.2":0,"2.3":0,"4.1":0,"4.2-4.3":0,"4.4":0,"4.4.3-4.4.4":0},K:{"0":0,_:"10 11 12 11.1 11.5 12.1"},A:{_:"6 7 8 9 10 11 5.5"},N:{_:"10 11"},S:{_:"2.5 3.0-3.1"},J:{_:"7 10"},O:{_:"0"},H:{"0":0},L:{"0":0.186},R:{_:"0"},M:{_:"0"},Q:{_:"14.9"}}; diff --git a/node_modules/caniuse-lite/data/regions/NZ.js b/node_modules/caniuse-lite/data/regions/NZ.js index 27e96f54d6..43f7d9881f 100644 --- a/node_modules/caniuse-lite/data/regions/NZ.js +++ b/node_modules/caniuse-lite/data/regions/NZ.js @@ -1 +1 @@ -module.exports={C:{"34":0.00457,"37":0.00914,"48":0.00457,"52":0.03198,"54":0.00457,"59":0.0137,"78":0.05482,"90":0.00457,"113":0.0137,"114":0.00457,"115":0.22383,"116":0.00457,"118":0.00457,"119":0.00457,"120":0.00457,"121":0.00457,"122":0.00457,"123":0.0137,"124":0.05938,"125":1.04607,"126":0.88619,_:"2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 35 36 38 39 40 41 42 43 44 45 46 47 49 50 51 53 55 56 57 58 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 79 80 81 82 83 84 85 86 87 88 89 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 117 127 128 129 3.5 3.6"},D:{"34":0.00914,"38":0.09136,"41":0.00457,"49":0.01827,"52":0.00457,"53":0.00457,"56":0.00457,"59":0.00914,"61":0.00457,"65":0.00457,"66":0.07766,"73":0.00457,"74":0.00457,"75":0.00914,"76":0.00457,"77":0.00457,"78":0.00457,"79":0.06395,"80":0.00457,"83":0.00914,"85":0.00457,"86":0.00457,"87":0.04111,"88":0.0137,"89":0.00914,"90":0.08222,"91":0.00457,"92":0.00457,"93":0.03654,"94":0.02741,"95":0.00914,"96":0.00457,"97":0.00914,"98":0.03198,"99":0.01827,"100":0.00457,"101":0.00457,"102":0.01827,"103":0.25581,"104":0.00914,"105":0.00914,"106":0.0137,"107":0.0137,"108":0.01827,"109":0.6989,"110":0.02284,"111":0.01827,"112":0.01827,"113":0.25581,"114":0.25581,"115":0.0137,"116":0.27865,"117":0.02284,"118":0.03654,"119":0.11877,"120":0.16445,"121":0.25124,"122":0.4568,"123":2.08301,"124":17.38581,"125":5.46333,"126":0.01827,"127":0.00914,_:"4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 35 36 37 39 40 42 43 44 45 46 47 48 50 51 54 55 57 58 60 62 63 64 67 68 69 70 71 72 81 84 128"},F:{"42":0.00457,"45":0.00457,"46":0.0137,"82":0.00457,"83":0.00457,"95":0.02284,"107":0.19186,"108":0.0137,"109":0.62582,"110":0.02284,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 43 44 47 48 49 50 51 52 53 54 55 56 57 58 60 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 84 85 86 87 88 89 90 91 92 93 94 96 97 98 99 100 101 102 103 104 105 106 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"17":0.00914,"18":0.00914,"92":0.00457,"103":0.00457,"105":0.00914,"109":0.03198,"110":0.00457,"111":0.00457,"113":0.01827,"114":0.00457,"115":0.00457,"117":0.00457,"118":0.00457,"119":0.0137,"120":0.03654,"121":0.02284,"122":0.05025,"123":0.22383,"124":4.02898,"125":2.05103,_:"12 13 14 15 16 79 80 81 83 84 85 86 87 88 89 90 91 93 94 95 96 97 98 99 100 101 102 104 106 107 108 112 116"},E:{"13":0.04568,"14":0.06852,"15":0.00914,_:"0 4 5 6 7 8 9 10 11 12 3.1 3.2 5.1 6.1 7.1 9.1 10.1 17.6","11.1":0.0137,"12.1":0.0137,"13.1":0.12334,"14.1":0.17815,"15.1":0.01827,"15.2-15.3":0.03654,"15.4":0.03198,"15.5":0.07766,"15.6":0.56186,"16.0":0.04568,"16.1":0.1005,"16.2":0.08222,"16.3":0.18729,"16.4":0.04568,"16.5":0.10963,"16.6":0.70347,"17.0":0.03654,"17.1":0.10506,"17.2":0.14161,"17.3":0.21013,"17.4":3.05142,"17.5":0.3426},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.00258,"5.0-5.1":0.00258,"6.0-6.1":0.00644,"7.0-7.1":0.00902,"8.1-8.4":0.00258,"9.0-9.2":0.00644,"9.3":0.02962,"10.0-10.2":0.00515,"10.3":0.04637,"11.0-11.2":0.06826,"11.3-11.4":0.01288,"12.0-12.1":0.00773,"12.2-12.5":0.18675,"13.0-13.1":0.00386,"13.2":0.01803,"13.3":0.00902,"13.4-13.7":0.04121,"14.0-14.4":0.07084,"14.5-14.8":0.10947,"15.0-15.1":0.05281,"15.2-15.3":0.05796,"15.4":0.06568,"15.5":0.08243,"15.6-15.8":0.74185,"16.0":0.16872,"16.1":0.34774,"16.2":0.16872,"16.3":0.29236,"16.4":0.06182,"16.5":0.12493,"16.6-16.7":0.99557,"17.0":0.10819,"17.1":0.17645,"17.2":0.18417,"17.3":0.34001,"17.4":7.72112,"17.5":0.54479,"17.6":0},P:{"4":0.13862,"20":0.01066,"21":0.04265,"22":0.04265,"23":0.06398,"24":0.14928,"25":2.02593,"5.0-5.4":0.03199,"6.2-6.4":0.02133,_:"7.2-7.4 8.2 9.2 10.1 11.1-11.2 12.0 15.0 18.0","13.0":0.01066,"14.0":0.01066,"16.0":0.02133,"17.0":0.01066,"19.0":0.01066},I:{"0":0.03788,"3":0,"4":0,"2.1":0,"2.2":0,"2.3":0,"4.1":0.00001,"4.2-4.3":0.00002,"4.4":0,"4.4.3-4.4.4":0.00008},K:{"0":0.16839,_:"10 11 12 11.1 11.5 12.1"},A:{"8":0.02132,"11":0.17054,_:"6 7 9 10 5.5"},S:{_:"2.5 3.0-3.1"},J:{_:"7 10"},N:{_:"10 11"},L:{"0":38.2808},R:{_:"0"},M:{"0":0.39654},Q:{"14.9":0.0163},O:{"0":0.04889},H:{"0":0}}; +module.exports={C:{"37":0.00888,"48":0.00444,"52":0.01776,"54":0.00444,"78":0.04885,"88":0.00444,"102":0.01332,"103":0.00888,"108":0.00444,"113":0.01776,"115":0.22205,"118":0.00444,"122":0.00888,"123":0.00444,"124":0.00444,"125":0.01332,"126":0.00444,"127":0.01332,"128":0.01332,"129":0.38637,"130":1.55879,"131":0.00444,_:"2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 38 39 40 41 42 43 44 45 46 47 49 50 51 53 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 79 80 81 82 83 84 85 86 87 89 90 91 92 93 94 95 96 97 98 99 100 101 104 105 106 107 109 110 111 112 114 116 117 119 120 121 132 133 134 135 3.5 3.6"},D:{"34":0.00888,"38":0.06217,"39":0.00888,"40":0.00888,"41":0.00888,"42":0.00888,"43":0.00888,"44":0.00888,"45":0.00888,"46":0.00888,"47":0.00888,"48":0.00888,"49":0.01332,"50":0.00888,"51":0.00888,"52":0.01776,"53":0.00888,"54":0.00888,"55":0.00888,"56":0.00888,"57":0.00888,"58":0.00888,"59":0.02221,"60":0.00888,"61":0.00444,"66":0.00444,"74":0.00444,"75":0.00444,"76":0.00444,"77":0.00888,"79":0.05773,"80":0.00444,"81":0.00444,"83":0.00888,"86":0.00444,"87":0.03553,"88":0.00888,"90":0.16876,"91":0.00444,"92":0.00444,"93":0.03553,"94":0.03997,"95":0.01332,"96":0.00444,"97":0.00888,"98":0.00888,"99":0.01332,"100":0.00444,"101":0.00444,"102":0.00444,"103":0.1732,"104":0.01332,"105":0.00888,"106":0.01776,"107":0.01776,"108":0.02221,"109":0.58621,"110":0.02665,"111":0.00888,"112":0.01332,"113":0.19985,"114":0.21761,"115":0.00444,"116":0.23093,"117":0.01332,"118":0.01332,"119":0.05329,"120":0.07106,"121":0.07106,"122":0.18208,"123":0.10214,"124":0.16876,"125":0.16876,"126":0.47075,"127":1.88743,"128":16.66707,"129":4.60976,"130":0.01332,"131":0.00444,_:"4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 35 36 37 62 63 64 65 67 68 69 70 71 72 73 78 84 85 89 132 133"},F:{"45":0.00444,"46":0.00888,"84":0.00444,"85":0.00444,"92":0.00444,"95":0.02665,"109":0.02665,"110":0.00444,"111":0.00444,"112":0.47519,"113":0.33752,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 47 48 49 50 51 52 53 54 55 56 57 58 60 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 86 87 88 89 90 91 93 94 96 97 98 99 100 101 102 103 104 105 106 107 108 114 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"15":0.00444,"18":0.01332,"92":0.00444,"100":0.00444,"103":0.00444,"104":0.00444,"105":0.01332,"107":0.00444,"108":0.00444,"109":0.03109,"110":0.00444,"111":0.00888,"113":0.00888,"114":0.00444,"117":0.00444,"119":0.00888,"120":0.02665,"121":0.00888,"122":0.01332,"123":0.00888,"124":0.00888,"125":0.00888,"126":0.03553,"127":0.2487,"128":4.79628,"129":1.58544,"130":0.00444,_:"12 13 14 16 17 79 80 81 83 84 85 86 87 88 89 90 91 93 94 95 96 97 98 99 101 102 106 112 115 116 118"},E:{"13":0.00888,"14":0.06662,"15":0.00888,_:"0 4 5 6 7 8 9 10 11 12 3.1 3.2 5.1 6.1 7.1 9.1 10.1 11.1","12.1":0.00888,"13.1":0.07994,"14.1":0.13323,"15.1":0.02221,"15.2-15.3":0.02221,"15.4":0.02221,"15.5":0.06662,"15.6":0.52848,"16.0":0.08882,"16.1":0.10214,"16.2":0.05329,"16.3":0.14655,"16.4":0.02665,"16.5":0.06217,"16.6":0.62174,"17.0":0.02221,"17.1":0.06662,"17.2":0.06662,"17.3":0.08882,"17.4":0.15988,"17.5":0.59065,"17.6":3.1842,"18.0":0.23537,"18.1":0.00888},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.00267,"5.0-5.1":0.00134,"6.0-6.1":0.00802,"7.0-7.1":0.00935,"8.1-8.4":0,"9.0-9.2":0.00802,"9.3":0.02272,"10.0-10.2":0.00668,"10.3":0.03876,"11.0-11.2":0.14299,"11.3-11.4":0.01069,"12.0-12.1":0.00668,"12.2-12.5":0.1617,"13.0-13.1":0.00267,"13.2":0.05078,"13.3":0.00668,"13.4-13.7":0.02673,"14.0-14.4":0.06147,"14.5-14.8":0.08152,"15.0-15.1":0.04677,"15.2-15.3":0.04544,"15.4":0.05212,"15.5":0.06415,"15.6-15.8":0.63478,"16.0":0.12829,"16.1":0.25391,"16.2":0.12696,"16.3":0.21382,"16.4":0.04544,"16.5":0.08954,"16.6-16.7":0.76441,"17.0":0.06415,"17.1":0.10157,"17.2":0.09221,"17.3":0.1323,"17.4":0.28331,"17.5":1.36177,"17.6-17.7":7.24721,"18.0":0.91409,"18.1":0.04143},P:{"4":0.12725,"20":0.0106,"21":0.03181,"22":0.03181,"23":0.03181,"24":0.03181,"25":0.11665,"26":2.07841,"5.0-5.4":0.02121,"6.2-6.4":0.0106,_:"7.2-7.4 8.2 9.2 10.1 11.1-11.2 12.0 13.0 15.0 18.0 19.0","14.0":0.0106,"16.0":0.0106,"17.0":0.0106},I:{"0":0.02218,"3":0,"4":0,"2.1":0,"2.2":0,"2.3":0,"4.1":0,"4.2-4.3":0.00001,"4.4":0,"4.4.3-4.4.4":0.00004},K:{"0":0.16677,_:"10 11 12 11.1 11.5 12.1"},A:{"11":0.13323,_:"6 7 8 9 10 5.5"},N:{_:"10 11"},S:{_:"2.5 3.0-3.1"},J:{_:"7 10"},O:{"0":0.06671},H:{"0":0},L:{"0":39.16806},R:{_:"0"},M:{"0":0.4614},Q:{"14.9":0.00556}}; diff --git a/node_modules/caniuse-lite/data/regions/OM.js b/node_modules/caniuse-lite/data/regions/OM.js index 03c58f8cac..f23c9d0341 100644 --- a/node_modules/caniuse-lite/data/regions/OM.js +++ b/node_modules/caniuse-lite/data/regions/OM.js @@ -1 +1 @@ -module.exports={C:{"34":0.005,"66":0.005,"88":0.0025,"95":0.00751,"103":0.0025,"108":0.0025,"115":0.05504,"117":0.005,"118":0.0025,"124":0.00751,"125":0.17514,"126":0.14011,"127":0.0025,_:"2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 89 90 91 92 93 94 96 97 98 99 100 101 102 104 105 106 107 109 110 111 112 113 114 116 119 120 121 122 123 128 129 3.5 3.6"},D:{"11":0.01001,"34":0.0025,"38":0.01001,"47":0.0025,"49":0.00751,"55":0.0025,"58":0.16013,"59":0.0025,"62":0.005,"64":0.0025,"65":0.005,"66":0.005,"68":0.00751,"69":0.00751,"70":0.00751,"72":0.0025,"73":0.01501,"74":0.0025,"75":0.0025,"76":0.00751,"77":0.0025,"78":0.0025,"79":0.06755,"81":0.00751,"83":0.02502,"84":0.0025,"85":0.0025,"86":0.00751,"87":0.03253,"88":0.02252,"89":0.0025,"90":0.00751,"91":0.00751,"92":0.0025,"93":0.05504,"94":0.005,"95":0.02252,"96":0.005,"97":0.005,"98":0.02502,"99":0.05004,"100":0.005,"101":0.01001,"102":0.00751,"103":0.2527,"104":0.005,"105":0.0025,"106":0.02002,"107":0.01001,"108":0.03253,"109":1.34107,"110":0.05254,"111":0.01251,"112":0.01251,"113":0.005,"114":0.01751,"115":0.02252,"116":0.04504,"117":0.00751,"118":0.01251,"119":0.07256,"120":0.05254,"121":0.05004,"122":0.17014,"123":0.30524,"124":10.58346,"125":4.69876,"126":0.02002,"127":0.005,_:"4 5 6 7 8 9 10 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 35 36 37 39 40 41 42 43 44 45 46 48 50 51 52 53 54 56 57 60 61 63 67 71 80 128"},F:{"28":0.005,"46":0.0025,"85":0.0025,"95":0.005,"107":0.04003,"108":0.00751,"109":0.2502,"110":0.02502,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 47 48 49 50 51 52 53 54 55 56 57 58 60 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 86 87 88 89 90 91 92 93 94 96 97 98 99 100 101 102 103 104 105 106 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"12":0.0025,"18":0.0025,"84":0.0025,"92":0.005,"94":0.0025,"100":0.0025,"101":0.0025,"109":0.03253,"110":0.00751,"111":0.0025,"112":0.0025,"114":0.0025,"116":0.0025,"117":0.0025,"118":0.00751,"119":0.00751,"120":0.00751,"121":0.01001,"122":0.02752,"123":0.04754,"124":1.35608,"125":0.85819,_:"13 14 15 16 17 79 80 81 83 85 86 87 88 89 90 91 93 95 96 97 98 99 102 103 104 105 106 107 108 113 115"},E:{"14":0.01001,"15":0.0025,_:"0 4 5 6 7 8 9 10 11 12 13 3.1 3.2 6.1 7.1 9.1 10.1 11.1 12.1 17.6","5.1":0.0025,"13.1":0.02002,"14.1":0.02752,"15.1":0.0025,"15.2-15.3":0.005,"15.4":0.01001,"15.5":0.01501,"15.6":0.11009,"16.0":0.005,"16.1":0.02502,"16.2":0.01501,"16.3":0.04253,"16.4":0.01251,"16.5":0.02252,"16.6":0.09758,"17.0":0.02252,"17.1":0.02002,"17.2":0.04253,"17.3":0.03753,"17.4":0.54293,"17.5":0.06005},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.00391,"5.0-5.1":0.00391,"6.0-6.1":0.00978,"7.0-7.1":0.0137,"8.1-8.4":0.00391,"9.0-9.2":0.00978,"9.3":0.045,"10.0-10.2":0.00783,"10.3":0.07043,"11.0-11.2":0.10369,"11.3-11.4":0.01956,"12.0-12.1":0.01174,"12.2-12.5":0.28369,"13.0-13.1":0.00587,"13.2":0.02739,"13.3":0.0137,"13.4-13.7":0.06261,"14.0-14.4":0.10761,"14.5-14.8":0.1663,"15.0-15.1":0.08022,"15.2-15.3":0.08804,"15.4":0.09978,"15.5":0.12522,"15.6-15.8":1.12694,"16.0":0.2563,"16.1":0.52825,"16.2":0.2563,"16.3":0.44412,"16.4":0.09391,"16.5":0.18978,"16.6-16.7":1.51237,"17.0":0.16435,"17.1":0.26804,"17.2":0.27978,"17.3":0.51651,"17.4":11.72915,"17.5":0.82759,"17.6":0},P:{"4":0.13536,"20":0.05206,"21":0.14577,"22":0.12495,"23":0.21866,"24":0.37484,"25":2.68637,"5.0-5.4":0.01041,"6.2-6.4":0.03124,"7.2-7.4":0.15618,_:"8.2 9.2 10.1","11.1-11.2":0.05206,"12.0":0.01041,"13.0":0.10412,"14.0":0.03124,"15.0":0.02082,"16.0":0.05206,"17.0":0.07289,"18.0":0.02082,"19.0":0.04165},I:{"0":0.08964,"3":0,"4":0.00001,"2.1":0,"2.2":0,"2.3":0,"4.1":0.00002,"4.2-4.3":0.00005,"4.4":0,"4.4.3-4.4.4":0.0002},K:{"0":0.45744,_:"10 11 12 11.1 11.5 12.1"},A:{"11":0.01501,_:"6 7 8 9 10 5.5"},S:{_:"2.5 3.0-3.1"},J:{_:"7 10"},N:{_:"10 11"},L:{"0":51.66744},R:{_:"0"},M:{"0":0.09749},Q:{_:"14.9"},O:{"0":0.64491},H:{"0":0}}; +module.exports={C:{"4":0.03605,"34":0.002,"66":0.002,"68":0.002,"95":0.01002,"106":0.002,"111":0.002,"115":0.04006,"117":0.01202,"118":0.00801,"126":0.002,"127":0.01002,"128":0.002,"129":0.05208,"130":0.18628,"131":0.00401,_:"2 3 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 67 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 96 97 98 99 100 101 102 103 104 105 107 108 109 110 112 113 114 116 119 120 121 122 123 124 125 132 133 134 135 3.5 3.6"},D:{"11":0.01002,"18":0.00401,"38":0.00601,"49":0.002,"55":0.01402,"56":0.002,"58":0.22434,"59":0.002,"64":0.002,"65":0.00601,"66":0.00601,"68":0.00601,"69":0.01002,"70":0.002,"73":0.01002,"74":0.002,"75":0.00801,"76":0.00601,"77":0.002,"78":0.002,"79":0.04807,"80":0.002,"81":0.00401,"83":0.03605,"85":0.002,"86":0.00601,"87":0.04206,"88":0.01803,"89":0.00801,"90":0.00601,"91":0.01602,"92":0.002,"93":0.05809,"94":0.00801,"95":0.01202,"96":0.002,"98":0.02604,"99":0.03806,"100":0.00401,"101":0.00401,"102":0.00401,"103":0.24637,"104":0.002,"105":0.00801,"106":0.01002,"107":0.00601,"108":0.00601,"109":0.87531,"110":0.03405,"111":0.01402,"112":0.00401,"113":0.002,"114":0.01202,"115":0.01002,"116":0.04006,"117":0.00601,"118":0.00401,"119":0.0681,"120":0.02604,"121":0.01803,"122":0.09414,"123":0.04607,"124":0.07411,"125":0.04607,"126":0.15423,"127":0.33851,"128":8.72307,"129":3.18878,"130":0.01402,"131":0.00401,_:"4 5 6 7 8 9 10 12 13 14 15 16 17 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 39 40 41 42 43 44 45 46 47 48 50 51 52 53 54 57 60 61 62 63 67 71 72 84 97 132 133"},F:{"28":0.002,"36":0.002,"46":0.00801,"84":0.002,"95":0.00401,"109":0.00801,"112":0.11017,"113":0.07611,"114":0.00401,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 29 30 31 32 33 34 35 37 38 39 40 41 42 43 44 45 47 48 49 50 51 52 53 54 55 56 57 58 60 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 85 86 87 88 89 90 91 92 93 94 96 97 98 99 100 101 102 103 104 105 106 107 108 110 111 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"14":0.002,"18":0.00601,"92":0.00601,"94":0.002,"100":0.00601,"101":0.002,"107":0.002,"108":0.002,"109":0.03605,"110":0.002,"114":0.00801,"115":0.002,"118":0.002,"119":0.01002,"120":0.00401,"121":0.002,"122":0.00401,"123":0.002,"124":0.00801,"125":0.01002,"126":0.02203,"127":0.04607,"128":1.08162,"129":0.52479,"130":0.002,_:"12 13 15 16 17 79 80 81 83 84 85 86 87 88 89 90 91 93 95 96 97 98 99 102 103 104 105 106 111 112 113 116 117"},E:{"14":0.00601,"15":0.002,_:"0 4 5 6 7 8 9 10 11 12 13 3.1 3.2 6.1 7.1 9.1 10.1 11.1 12.1","5.1":0.002,"13.1":0.02003,"14.1":0.02404,"15.1":0.002,"15.2-15.3":0.002,"15.4":0.00601,"15.5":0.00801,"15.6":0.08012,"16.0":0.00401,"16.1":0.02804,"16.2":0.00801,"16.3":0.02203,"16.4":0.01002,"16.5":0.01002,"16.6":0.09614,"17.0":0.00601,"17.1":0.00801,"17.2":0.01002,"17.3":0.01202,"17.4":0.02804,"17.5":0.18828,"17.6":0.48272,"18.0":0.05008,"18.1":0.002},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.00371,"5.0-5.1":0.00186,"6.0-6.1":0.01114,"7.0-7.1":0.013,"8.1-8.4":0,"9.0-9.2":0.01114,"9.3":0.03157,"10.0-10.2":0.00928,"10.3":0.05385,"11.0-11.2":0.19869,"11.3-11.4":0.01486,"12.0-12.1":0.00928,"12.2-12.5":0.22469,"13.0-13.1":0.00371,"13.2":0.07056,"13.3":0.00928,"13.4-13.7":0.03714,"14.0-14.4":0.08542,"14.5-14.8":0.11327,"15.0-15.1":0.06499,"15.2-15.3":0.06313,"15.4":0.07242,"15.5":0.08913,"15.6-15.8":0.88203,"16.0":0.17826,"16.1":0.35281,"16.2":0.17641,"16.3":0.2971,"16.4":0.06313,"16.5":0.12441,"16.6-16.7":1.06215,"17.0":0.08913,"17.1":0.14112,"17.2":0.12813,"17.3":0.18383,"17.4":0.39366,"17.5":1.89218,"17.6-17.7":10.06999,"18.0":1.27012,"18.1":0.05756},P:{"4":0.06193,"20":0.02064,"21":0.10322,"22":0.12387,"23":0.13419,"24":0.15483,"25":0.33031,"26":2.43604,_:"5.0-5.4 8.2 10.1","6.2-6.4":0.02064,"7.2-7.4":0.11354,"9.2":0.01032,"11.1-11.2":0.04129,"12.0":0.01032,"13.0":0.06193,"14.0":0.02064,"15.0":0.01032,"16.0":0.03097,"17.0":0.06193,"18.0":0.01032,"19.0":0.03097},I:{"0":0.0957,"3":0,"4":0,"2.1":0,"2.2":0,"2.3":0,"4.1":0.00001,"4.2-4.3":0.00004,"4.4":0,"4.4.3-4.4.4":0.00015},K:{"0":0.56779,_:"10 11 12 11.1 11.5 12.1"},A:{"8":0.00258,"11":0.01545,_:"6 7 9 10 5.5"},N:{_:"10 11"},S:{_:"2.5 3.0-3.1"},J:{_:"7 10"},O:{"0":0.78371},H:{"0":0},L:{"0":57.43925},R:{_:"0"},M:{"0":0.11996},Q:{"14.9":0.008}}; diff --git a/node_modules/caniuse-lite/data/regions/PA.js b/node_modules/caniuse-lite/data/regions/PA.js index c49340d856..7c9983e881 100644 --- a/node_modules/caniuse-lite/data/regions/PA.js +++ b/node_modules/caniuse-lite/data/regions/PA.js @@ -1 +1 @@ -module.exports={C:{"4":0.04604,"40":0.00419,"78":0.00419,"97":0.01256,"103":0.00419,"108":0.00419,"115":0.09207,"120":0.04604,"121":0.00419,"122":0.00419,"123":0.01674,"124":0.01256,"125":0.61938,"126":0.51057,_:"2 3 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 98 99 100 101 102 104 105 106 107 109 110 111 112 113 114 116 117 118 119 127 128 129 3.5 3.6"},D:{"38":0.00419,"43":0.00419,"44":0.00419,"45":0.00419,"46":0.00419,"47":0.00419,"49":0.00419,"51":0.00419,"56":0.00419,"63":0.00419,"65":0.00837,"69":0.00419,"70":0.00419,"73":0.00419,"75":0.00419,"76":0.00419,"79":0.07952,"80":0.00419,"81":0.00419,"83":0.09207,"84":0.00419,"85":0.01256,"86":0.01674,"87":0.10044,"88":0.04604,"89":0.03348,"91":0.00837,"92":0.00419,"93":0.02093,"94":0.02093,"95":0.00419,"97":0.00419,"98":0.00837,"99":0.01674,"100":0.00419,"101":0.00419,"103":0.07115,"104":0.00837,"105":0.02093,"106":0.01256,"107":0.00419,"108":0.02511,"109":1.36431,"110":0.03348,"111":0.01256,"112":0.01674,"113":0.00837,"114":0.01674,"115":0.05022,"116":0.18414,"117":0.01674,"118":0.01674,"119":0.05859,"120":0.09207,"121":0.07115,"122":1.78281,"123":0.68216,"124":15.64353,"125":6.23147,"126":0.00419,_:"4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 39 40 41 42 48 50 52 53 54 55 57 58 59 60 61 62 64 66 67 68 71 72 74 77 78 90 96 102 127 128"},F:{"28":0.00419,"46":0.00419,"95":0.04604,"103":0.01674,"107":0.64449,"108":0.00419,"109":1.82885,"110":0.04185,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 47 48 49 50 51 52 53 54 55 56 57 58 60 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 96 97 98 99 100 101 102 104 105 106 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"15":0.00419,"18":0.00419,"92":0.01674,"106":0.00837,"107":0.00419,"109":0.04185,"110":0.00419,"112":0.00419,"114":0.00419,"115":0.00837,"116":0.00419,"117":0.00419,"118":0.00419,"119":0.00419,"120":0.0293,"121":0.02093,"122":0.03767,"123":0.08789,"124":3.70791,"125":2.0381,_:"12 13 14 16 17 79 80 81 83 84 85 86 87 88 89 90 91 93 94 95 96 97 98 99 100 101 102 103 104 105 108 111 113"},E:{"9":0.00837,"12":0.01674,"14":0.01256,"15":0.00419,_:"0 4 5 6 7 8 10 11 13 3.1 3.2 6.1 7.1 9.1 10.1 11.1 17.6","5.1":0.01674,"12.1":0.00419,"13.1":0.01674,"14.1":0.05441,"15.1":0.00837,"15.2-15.3":0.00837,"15.4":0.01256,"15.5":0.00837,"15.6":0.35991,"16.0":0.00419,"16.1":0.05859,"16.2":0.01674,"16.3":0.05859,"16.4":0.09626,"16.5":0.02511,"16.6":0.1967,"17.0":0.04604,"17.1":0.06278,"17.2":0.15066,"17.3":0.05022,"17.4":0.95418,"17.5":0.20088},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.00204,"5.0-5.1":0.00204,"6.0-6.1":0.00509,"7.0-7.1":0.00712,"8.1-8.4":0.00204,"9.0-9.2":0.00509,"9.3":0.02341,"10.0-10.2":0.00407,"10.3":0.03663,"11.0-11.2":0.05393,"11.3-11.4":0.01018,"12.0-12.1":0.00611,"12.2-12.5":0.14756,"13.0-13.1":0.00305,"13.2":0.01425,"13.3":0.00712,"13.4-13.7":0.03256,"14.0-14.4":0.05597,"14.5-14.8":0.0865,"15.0-15.1":0.04172,"15.2-15.3":0.04579,"15.4":0.0519,"15.5":0.06513,"15.6-15.8":0.58615,"16.0":0.13331,"16.1":0.27476,"16.2":0.13331,"16.3":0.231,"16.4":0.04885,"16.5":0.09871,"16.6-16.7":0.78662,"17.0":0.08548,"17.1":0.13941,"17.2":0.14552,"17.3":0.26865,"17.4":6.10066,"17.5":0.43046,"17.6":0},P:{"4":0.1136,"20":0.04131,"21":0.10327,"22":0.24785,"23":0.14458,"24":0.27883,"25":2.4682,_:"5.0-5.4 8.2 9.2 10.1 12.0 14.0 15.0","6.2-6.4":0.01033,"7.2-7.4":0.16523,"11.1-11.2":0.08262,"13.0":0.02065,"16.0":0.02065,"17.0":0.02065,"18.0":0.01033,"19.0":0.02065},I:{"0":0.06951,"3":0,"4":0.00001,"2.1":0,"2.2":0,"2.3":0,"4.1":0.00001,"4.2-4.3":0.00004,"4.4":0,"4.4.3-4.4.4":0.00015},K:{"0":0.20353,_:"10 11 12 11.1 11.5 12.1"},A:{"7":0.00476,"8":0.03805,"9":0.00951,"10":0.00476,"11":0.04756,_:"6 5.5"},S:{_:"2.5 3.0-3.1"},J:{_:"7 10"},N:{_:"10 11"},L:{"0":44.96165},R:{_:"0"},M:{"0":0.3082},Q:{"14.9":0.00582},O:{"0":0.05815},H:{"0":0}}; +module.exports={C:{"4":0.00394,"78":0.00394,"101":0.00394,"115":0.0669,"120":0.01968,"123":0.00394,"125":0.01181,"127":0.00394,"128":0.01574,"129":0.16134,"130":0.84996,_:"2 3 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 102 103 104 105 106 107 108 109 110 111 112 113 114 116 117 118 119 121 122 124 126 131 132 133 134 135 3.5 3.6"},D:{"11":0.00394,"62":0.00394,"67":0.00394,"69":0.00787,"73":0.01968,"74":0.00394,"75":0.00394,"76":0.00394,"78":0.01968,"79":0.05116,"81":0.00787,"83":0.12199,"85":0.00787,"87":0.09051,"88":0.08657,"89":0.03542,"91":0.01181,"93":0.01574,"94":0.02755,"95":0.01574,"97":0.00394,"98":0.00787,"99":0.01181,"100":0.01968,"101":0.00394,"103":0.03935,"105":0.01574,"106":0.01181,"107":0.01181,"108":0.01574,"109":0.92473,"110":0.05116,"111":0.01574,"112":0.00787,"113":0.01181,"114":0.05116,"115":0.01574,"116":0.22823,"117":0.01181,"118":0.00394,"119":0.02361,"120":0.16527,"121":0.04329,"122":0.19282,"123":0.09444,"124":0.19675,"125":0.05509,"126":0.20856,"127":3.43526,"128":14.99629,"129":5.08009,"130":0.00394,_:"4 5 6 7 8 9 10 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 63 64 65 66 68 70 71 72 77 80 84 86 90 92 96 102 104 131 132 133"},F:{"46":0.01181,"84":0.04329,"95":0.04722,"102":0.00394,"109":0.07477,"110":0.01968,"111":0.02361,"112":1.12935,"113":0.95227,"114":0.00394,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 47 48 49 50 51 52 53 54 55 56 57 58 60 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 85 86 87 88 89 90 91 92 93 94 96 97 98 99 100 101 103 104 105 106 107 108 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"18":0.00394,"92":0.00787,"100":0.00394,"103":0.00394,"108":0.01181,"109":0.02361,"111":0.00394,"114":0.00394,"115":0.00394,"117":0.00394,"119":0.00394,"120":0.01574,"121":0.00787,"122":0.00787,"123":0.00394,"124":0.01181,"125":0.01574,"126":0.04722,"127":0.17708,"128":3.82089,"129":1.55826,"130":0.00787,_:"12 13 14 15 16 17 79 80 81 83 84 85 86 87 88 89 90 91 93 94 95 96 97 98 99 101 102 104 105 106 107 110 112 113 116 118"},E:{"14":0.00394,_:"0 4 5 6 7 8 9 10 11 12 13 15 3.1 3.2 6.1 7.1 9.1 10.1 11.1 18.1","5.1":0.00787,"12.1":0.00394,"13.1":0.01574,"14.1":0.02361,"15.1":0.00394,"15.2-15.3":0.00394,"15.4":0.02361,"15.5":0.01574,"15.6":0.16921,"16.0":0.02361,"16.1":0.02755,"16.2":0.02361,"16.3":0.03148,"16.4":0.12199,"16.5":0.01968,"16.6":0.09838,"17.0":0.00787,"17.1":0.01574,"17.2":0.02361,"17.3":0.02361,"17.4":0.05509,"17.5":0.29119,"17.6":0.80668,"18.0":0.17314},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.00254,"5.0-5.1":0.00127,"6.0-6.1":0.00762,"7.0-7.1":0.00889,"8.1-8.4":0,"9.0-9.2":0.00762,"9.3":0.0216,"10.0-10.2":0.00635,"10.3":0.03685,"11.0-11.2":0.13596,"11.3-11.4":0.01016,"12.0-12.1":0.00635,"12.2-12.5":0.15374,"13.0-13.1":0.00254,"13.2":0.04828,"13.3":0.00635,"13.4-13.7":0.02541,"14.0-14.4":0.05845,"14.5-14.8":0.07751,"15.0-15.1":0.04447,"15.2-15.3":0.0432,"15.4":0.04955,"15.5":0.06099,"15.6-15.8":0.60354,"16.0":0.12198,"16.1":0.24142,"16.2":0.12071,"16.3":0.2033,"16.4":0.0432,"16.5":0.08513,"16.6-16.7":0.72679,"17.0":0.06099,"17.1":0.09657,"17.2":0.08767,"17.3":0.12579,"17.4":0.26937,"17.5":1.29476,"17.6-17.7":6.89056,"18.0":0.8691,"18.1":0.03939},P:{"4":0.08257,"20":0.02064,"21":0.18579,"22":0.1445,"23":0.07225,"24":0.08257,"25":0.22707,"26":2.39458,_:"5.0-5.4 8.2 9.2 10.1 12.0 14.0 15.0 16.0 18.0","6.2-6.4":0.01032,"7.2-7.4":0.13418,"11.1-11.2":0.01032,"13.0":0.01032,"17.0":0.02064,"19.0":0.02064},I:{"0":0.07863,"3":0,"4":0,"2.1":0,"2.2":0,"2.3":0,"4.1":0.00001,"4.2-4.3":0.00003,"4.4":0,"4.4.3-4.4.4":0.00013},K:{"0":0.24867,_:"10 11 12 11.1 11.5 12.1"},A:{"11":0.00787,_:"6 7 8 9 10 5.5"},N:{_:"10 11"},S:{_:"2.5 3.0-3.1"},J:{_:"7 10"},O:{"0":0.06672},H:{"0":0},L:{"0":44.76428},R:{_:"0"},M:{"0":0.21834},Q:{"14.9":0.01213}}; diff --git a/node_modules/caniuse-lite/data/regions/PE.js b/node_modules/caniuse-lite/data/regions/PE.js index d0a66692b7..49b1be8afc 100644 --- a/node_modules/caniuse-lite/data/regions/PE.js +++ b/node_modules/caniuse-lite/data/regions/PE.js @@ -1 +1 @@ -module.exports={C:{"4":0.01122,"45":0.00561,"88":0.03926,"103":0.00561,"115":0.13459,"120":0.00561,"122":0.02804,"123":0.01682,"124":0.06169,"125":0.44303,"126":0.40938,"127":0.00561,_:"2 3 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 89 90 91 92 93 94 95 96 97 98 99 100 101 102 104 105 106 107 108 109 110 111 112 113 114 116 117 118 119 121 128 129 3.5 3.6"},D:{"38":0.02243,"47":0.01122,"49":0.01122,"53":0.00561,"55":0.00561,"70":0.00561,"73":0.00561,"79":0.15142,"80":0.00561,"81":0.00561,"83":0.00561,"85":0.00561,"86":0.00561,"87":0.12338,"88":0.01682,"89":0.00561,"90":0.00561,"91":0.03365,"92":0.01122,"93":0.09534,"94":0.02804,"95":0.01122,"96":0.03926,"97":0.00561,"98":0.01122,"99":0.01682,"100":0.01122,"101":0.00561,"102":0.00561,"103":0.04486,"104":0.01122,"105":0.01122,"106":0.03365,"107":0.01682,"108":0.02243,"109":2.56846,"110":0.02243,"111":0.02243,"112":0.03365,"113":0.02243,"114":0.03365,"115":0.01682,"116":0.08973,"117":0.03365,"118":0.02804,"119":0.06169,"120":0.17385,"121":0.25797,"122":0.38695,"123":0.99262,"124":28.47182,"125":11.32255,"126":0.01122,"127":0.00561,_:"4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 39 40 41 42 43 44 45 46 48 50 51 52 54 56 57 58 59 60 61 62 63 64 65 66 67 68 69 71 72 74 75 76 77 78 84 128"},F:{"36":0.00561,"95":0.04486,"107":0.70661,"108":0.01122,"109":2.35536,"110":0.06169,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 60 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 96 97 98 99 100 101 102 103 104 105 106 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"18":0.01122,"92":0.01682,"100":0.00561,"109":0.03926,"113":0.00561,"114":0.01122,"115":0.00561,"116":0.00561,"118":0.00561,"119":0.01122,"120":0.02243,"121":0.02243,"122":0.03365,"123":0.08412,"124":2.69745,"125":1.30666,_:"12 13 14 15 16 17 79 80 81 83 84 85 86 87 88 89 90 91 93 94 95 96 97 98 99 101 102 103 104 105 106 107 108 110 111 112 117"},E:{"14":0.01122,_:"0 4 5 6 7 8 9 10 11 12 13 15 3.1 3.2 6.1 7.1 9.1 10.1 11.1 12.1 15.2-15.3 17.6","5.1":0.02804,"13.1":0.00561,"14.1":0.01682,"15.1":0.00561,"15.4":0.01682,"15.5":0.00561,"15.6":0.03926,"16.0":0.00561,"16.1":0.01122,"16.2":0.00561,"16.3":0.01682,"16.4":0.00561,"16.5":0.01122,"16.6":0.05047,"17.0":0.00561,"17.1":0.02243,"17.2":0.02804,"17.3":0.02804,"17.4":0.26358,"17.5":0.05047},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.00068,"5.0-5.1":0.00068,"6.0-6.1":0.00171,"7.0-7.1":0.00239,"8.1-8.4":0.00068,"9.0-9.2":0.00171,"9.3":0.00786,"10.0-10.2":0.00137,"10.3":0.0123,"11.0-11.2":0.01811,"11.3-11.4":0.00342,"12.0-12.1":0.00205,"12.2-12.5":0.04955,"13.0-13.1":0.00103,"13.2":0.00478,"13.3":0.00239,"13.4-13.7":0.01093,"14.0-14.4":0.01879,"14.5-14.8":0.02904,"15.0-15.1":0.01401,"15.2-15.3":0.01538,"15.4":0.01743,"15.5":0.02187,"15.6-15.8":0.19682,"16.0":0.04476,"16.1":0.09226,"16.2":0.04476,"16.3":0.07757,"16.4":0.0164,"16.5":0.03314,"16.6-16.7":0.26413,"17.0":0.0287,"17.1":0.04681,"17.2":0.04886,"17.3":0.09021,"17.4":2.04848,"17.5":0.14454,"17.6":0},P:{"4":0.16333,"20":0.01021,"21":0.03063,"22":0.04083,"23":0.07146,"24":0.09188,"25":0.56146,"5.0-5.4":0.01021,"6.2-6.4":0.01021,"7.2-7.4":0.05104,_:"8.2 9.2 10.1 12.0 14.0 15.0 18.0","11.1-11.2":0.01021,"13.0":0.02042,"16.0":0.01021,"17.0":0.01021,"19.0":0.04083},I:{"0":0.02625,"3":0,"4":0,"2.1":0,"2.2":0,"2.3":0,"4.1":0.00001,"4.2-4.3":0.00002,"4.4":0,"4.4.3-4.4.4":0.00006},K:{"0":0.19325,_:"10 11 12 11.1 11.5 12.1"},A:{"8":0.00561,"11":0.02243,_:"6 7 9 10 5.5"},S:{_:"2.5 3.0-3.1"},J:{_:"7 10"},N:{_:"10 11"},L:{"0":39.19726},R:{_:"0"},M:{"0":0.10541},Q:{_:"14.9"},O:{"0":0.02196},H:{"0":0}}; +module.exports={C:{"4":0.0491,"52":0.00546,"58":0.00546,"78":0.01091,"88":0.06547,"115":0.10912,"120":0.00546,"122":0.00546,"123":0.00546,"125":0.00546,"127":0.01091,"128":0.02182,"129":0.17459,"130":0.77475,"131":0.00546,_:"2 3 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 53 54 55 56 57 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 79 80 81 82 83 84 85 86 87 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 116 117 118 119 121 124 126 132 133 134 135 3.5 3.6"},D:{"38":0.01091,"47":0.00546,"49":0.01637,"53":0.00546,"70":0.00546,"72":0.00546,"75":0.00546,"79":0.10912,"80":0.00546,"81":0.00546,"85":0.01091,"86":0.00546,"87":0.10912,"88":0.01091,"90":0.00546,"91":0.01637,"92":0.00546,"93":0.01637,"94":0.05456,"96":0.02182,"97":0.01091,"98":0.00546,"99":0.01091,"100":0.01091,"101":0.00546,"102":0.00546,"103":0.03819,"104":0.01091,"105":0.00546,"106":0.02182,"107":0.02182,"108":0.02728,"109":2.28606,"110":0.02182,"111":0.02182,"112":0.01091,"113":0.01091,"114":0.01637,"115":0.00546,"116":0.09821,"117":0.01091,"118":0.01637,"119":0.0491,"120":0.08184,"121":0.19642,"122":0.25643,"123":0.12549,"124":0.20733,"125":0.12003,"126":0.33827,"127":0.98754,"128":28.84587,"129":10.0445,"130":0.01091,"131":0.00546,_:"4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 39 40 41 42 43 44 45 46 48 50 51 52 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 71 73 74 76 77 78 83 84 89 95 132 133"},F:{"36":0.00546,"84":0.00546,"95":0.03274,"109":0.06547,"111":0.01637,"112":1.42402,"113":1.08029,"114":0.00546,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 60 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 85 86 87 88 89 90 91 92 93 94 96 97 98 99 100 101 102 103 104 105 106 107 108 110 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"17":0.00546,"18":0.00546,"85":0.00546,"92":0.01091,"100":0.00546,"108":0.00546,"109":0.02728,"113":0.00546,"114":0.00546,"118":0.00546,"119":0.00546,"120":0.01637,"121":0.01091,"122":0.01091,"123":0.01091,"124":0.02182,"125":0.01091,"126":0.0491,"127":0.09275,"128":2.76619,"129":1.20032,"130":0.00546,_:"12 13 14 15 16 79 80 81 83 84 86 87 88 89 90 91 93 94 95 96 97 98 99 101 102 103 104 105 106 107 110 111 112 115 116 117"},E:{"14":0.00546,"15":0.00546,_:"0 4 5 6 7 8 9 10 11 12 13 3.1 3.2 6.1 7.1 9.1 10.1 11.1 12.1 15.1 15.2-15.3","5.1":0.00546,"13.1":0.00546,"14.1":0.01637,"15.4":0.02182,"15.5":0.00546,"15.6":0.03819,"16.0":0.00546,"16.1":0.01091,"16.2":0.00546,"16.3":0.01091,"16.4":0.01091,"16.5":0.01091,"16.6":0.04365,"17.0":0.01637,"17.1":0.01637,"17.2":0.01637,"17.3":0.01637,"17.4":0.03819,"17.5":0.0873,"17.6":0.29462,"18.0":0.06547,"18.1":0.00546},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.00076,"5.0-5.1":0.00038,"6.0-6.1":0.00228,"7.0-7.1":0.00267,"8.1-8.4":0,"9.0-9.2":0.00228,"9.3":0.00647,"10.0-10.2":0.0019,"10.3":0.01104,"11.0-11.2":0.04074,"11.3-11.4":0.00305,"12.0-12.1":0.0019,"12.2-12.5":0.04608,"13.0-13.1":0.00076,"13.2":0.01447,"13.3":0.0019,"13.4-13.7":0.00762,"14.0-14.4":0.01752,"14.5-14.8":0.02323,"15.0-15.1":0.01333,"15.2-15.3":0.01295,"15.4":0.01485,"15.5":0.01828,"15.6-15.8":0.18087,"16.0":0.03656,"16.1":0.07235,"16.2":0.03617,"16.3":0.06093,"16.4":0.01295,"16.5":0.02551,"16.6-16.7":0.21781,"17.0":0.01828,"17.1":0.02894,"17.2":0.02627,"17.3":0.0377,"17.4":0.08073,"17.5":0.38802,"17.6-17.7":2.06501,"18.0":0.26046,"18.1":0.0118},P:{"4":0.11168,"20":0.01015,"21":0.0203,"22":0.04061,"23":0.03046,"24":0.04061,"25":0.09137,"26":0.57868,"5.0-5.4":0.01015,"6.2-6.4":0.0203,"7.2-7.4":0.07107,_:"8.2 9.2 10.1 12.0 14.0 15.0 18.0","11.1-11.2":0.01015,"13.0":0.03046,"16.0":0.01015,"17.0":0.03046,"19.0":0.0203},I:{"0":0.01813,"3":0,"4":0,"2.1":0,"2.2":0,"2.3":0,"4.1":0,"4.2-4.3":0.00001,"4.4":0,"4.4.3-4.4.4":0.00003},K:{"0":0.19994,_:"10 11 12 11.1 11.5 12.1"},A:{"11":0.02182,_:"6 7 8 9 10 5.5"},N:{_:"10 11"},S:{_:"2.5 3.0-3.1"},J:{_:"7 10"},O:{"0":0.04544},H:{"0":0},L:{"0":40.95747},R:{_:"0"},M:{"0":0.1136},Q:{"14.9":0.00454}}; diff --git a/node_modules/caniuse-lite/data/regions/PF.js b/node_modules/caniuse-lite/data/regions/PF.js index 71e96b61f7..cf2d8970b3 100644 --- a/node_modules/caniuse-lite/data/regions/PF.js +++ b/node_modules/caniuse-lite/data/regions/PF.js @@ -1 +1 @@ -module.exports={C:{"48":0.00904,"52":0.00904,"56":0.00452,"67":0.03616,"68":0.03164,"72":0.02712,"75":0.15368,"77":0.00452,"78":0.30736,"82":0.03164,"91":0.07684,"102":0.0678,"103":0.08588,"104":0.00904,"105":0.0226,"109":0.00904,"112":0.00904,"114":0.00452,"115":0.5198,"116":0.02712,"118":0.00452,"119":0.00904,"120":0.01356,"121":0.01356,"122":0.01356,"123":0.04972,"124":0.06328,"125":2.03852,"126":1.6046,_:"2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 49 50 51 53 54 55 57 58 59 60 61 62 63 64 65 66 69 70 71 73 74 76 79 80 81 83 84 85 86 87 88 89 90 92 93 94 95 96 97 98 99 100 101 106 107 108 110 111 113 117 127 128 129 3.5 3.6"},D:{"41":0.0678,"57":0.00452,"65":0.00452,"70":0.01356,"71":0.03164,"72":0.00452,"74":0.00452,"76":0.04068,"78":0.00452,"79":0.19888,"80":0.01808,"81":0.14916,"83":0.00452,"84":0.01356,"85":0.44748,"86":0.0226,"87":0.40228,"92":0.02712,"93":0.00452,"94":0.03164,"96":0.00452,"97":0.00452,"98":0.0904,"101":0.00452,"102":0.00452,"103":0.0904,"104":0.11752,"106":0.03616,"107":0.01356,"108":0.01808,"109":0.91756,"111":0.01356,"114":0.00452,"115":0.00452,"116":0.16724,"118":0.00452,"119":0.0678,"120":0.2034,"121":0.08588,"122":0.2712,"123":0.7684,"124":8.71004,"125":4.26236,_:"4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 58 59 60 61 62 63 64 66 67 68 69 73 75 77 88 89 90 91 95 99 100 105 110 112 113 117 126 127 128"},F:{"28":0.00452,"36":0.00452,"46":0.00904,"65":0.03164,"81":0.00452,"102":0.00452,"107":0.16724,"108":0.00452,"109":3.8194,"110":0.01356,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 29 30 31 32 33 34 35 37 38 39 40 41 42 43 44 45 47 48 49 50 51 52 53 54 55 56 57 58 60 62 63 64 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 103 104 105 106 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"18":0.04068,"86":0.00452,"105":0.00904,"109":0.01356,"119":0.00904,"120":0.01356,"121":0.00904,"122":0.06328,"123":0.11752,"124":3.5934,"125":1.90292,_:"12 13 14 15 16 17 79 80 81 83 84 85 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 106 107 108 110 111 112 113 114 115 116 117 118"},E:{"13":0.00904,"14":0.07684,"15":0.00904,_:"0 4 5 6 7 8 9 10 11 12 3.1 3.2 5.1 6.1 7.1 9.1 10.1 11.1 17.6","12.1":0.00904,"13.1":0.06328,"14.1":0.21244,"15.1":0.04068,"15.2-15.3":0.0452,"15.4":0.05876,"15.5":0.21244,"15.6":0.47912,"16.0":0.23504,"16.1":0.2938,"16.2":0.113,"16.3":0.26668,"16.4":0.21696,"16.5":0.11752,"16.6":1.02604,"17.0":0.07684,"17.1":0.21696,"17.2":0.29832,"17.3":0.25764,"17.4":4.76408,"17.5":0.79552},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.00452,"5.0-5.1":0.00452,"6.0-6.1":0.01129,"7.0-7.1":0.01581,"8.1-8.4":0.00452,"9.0-9.2":0.01129,"9.3":0.05194,"10.0-10.2":0.00903,"10.3":0.0813,"11.0-11.2":0.1197,"11.3-11.4":0.02258,"12.0-12.1":0.01355,"12.2-12.5":0.32747,"13.0-13.1":0.00678,"13.2":0.03162,"13.3":0.01581,"13.4-13.7":0.07227,"14.0-14.4":0.12421,"14.5-14.8":0.19197,"15.0-15.1":0.0926,"15.2-15.3":0.10163,"15.4":0.11518,"15.5":0.14454,"15.6-15.8":1.30086,"16.0":0.29586,"16.1":0.60978,"16.2":0.29586,"16.3":0.51267,"16.4":0.10841,"16.5":0.21907,"16.6-16.7":1.74578,"17.0":0.18971,"17.1":0.30941,"17.2":0.32296,"17.3":0.59623,"17.4":13.53937,"17.5":0.95532,"17.6":0},P:{"4":0.03212,"20":0.01071,"21":0.05353,"22":0.05353,"23":0.27835,"24":0.27835,"25":3.5972,_:"5.0-5.4 6.2-6.4 8.2 9.2 10.1 11.1-11.2 12.0 13.0 14.0 15.0 16.0","7.2-7.4":0.04282,"17.0":0.01071,"18.0":0.05353,"19.0":0.01071},I:{"0":0.08732,"3":0,"4":0.00001,"2.1":0,"2.2":0,"2.3":0,"4.1":0.00002,"4.2-4.3":0.00005,"4.4":0,"4.4.3-4.4.4":0.00019},K:{"0":0.18177,_:"10 11 12 11.1 11.5 12.1"},A:{"11":0.00904,_:"6 7 8 9 10 5.5"},S:{"2.5":0.00548,_:"3.0-3.1"},J:{_:"7 10"},N:{_:"10 11"},L:{"0":28.68494},R:{_:"0"},M:{"0":0.56982},Q:{_:"14.9"},O:{"0":0.39449},H:{"0":0.01}}; +module.exports={C:{"67":0.00901,"68":0.00901,"72":0.00901,"75":0.05405,"78":0.04504,"82":0.02252,"91":0.0045,"94":0.00901,"99":0.00901,"102":0.01351,"103":0.13062,"104":0.0045,"105":0.01351,"106":0.00901,"108":0.0045,"115":0.76568,"121":0.0045,"122":0.0045,"124":0.0045,"125":0.49994,"126":0.01351,"127":0.05405,"128":0.06756,"129":0.54949,"130":2.65736,_:"2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 69 70 71 73 74 76 77 79 80 81 83 84 85 86 87 88 89 90 92 93 95 96 97 98 100 101 107 109 110 111 112 113 114 116 117 118 119 120 123 131 132 133 134 135 3.5 3.6"},D:{"26":0.0045,"41":0.0045,"65":0.0045,"70":0.00901,"71":0.00901,"72":0.0045,"74":0.0045,"75":0.0045,"76":0.01351,"78":0.0045,"79":0.05855,"80":0.00901,"81":0.05855,"84":0.00901,"85":0.12611,"86":0.00901,"87":0.13962,"91":0.0045,"92":0.0045,"93":0.0045,"94":0.00901,"98":0.04054,"99":0.00901,"102":0.02252,"103":0.38284,"104":0.21169,"106":0.01802,"108":0.01802,"109":0.51796,"110":0.0045,"111":0.0045,"112":0.00901,"114":0.04054,"115":0.0045,"116":0.27925,"117":0.0045,"118":0.00901,"119":0.0045,"120":0.03603,"121":0.02252,"122":0.03603,"123":0.00901,"124":0.09909,"125":0.04504,"126":0.15314,"127":0.43689,"128":10.33668,"129":2.76546,_:"4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 27 28 29 30 31 32 33 34 35 36 37 38 39 40 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 66 67 68 69 73 77 83 88 89 90 95 96 97 100 101 105 107 113 130 131 132 133"},F:{"65":0.00901,"82":0.0045,"84":0.0045,"95":0.0045,"109":0.00901,"111":0.0045,"112":0.45941,"113":0.2207,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 60 62 63 64 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 83 85 86 87 88 89 90 91 92 93 94 96 97 98 99 100 101 102 103 104 105 106 107 108 110 114 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"18":0.01351,"86":0.0045,"92":0.00901,"100":0.04504,"105":0.0045,"109":0.00901,"120":0.0045,"122":0.0045,"123":0.0045,"124":0.0045,"125":0.0045,"126":0.02252,"127":0.12161,"128":4.33285,"129":1.69801,_:"12 13 14 15 16 17 79 80 81 83 84 85 87 88 89 90 91 93 94 95 96 97 98 99 101 102 103 104 106 107 108 110 111 112 113 114 115 116 117 118 119 121 130"},E:{"13":0.0045,"14":0.05405,_:"0 4 5 6 7 8 9 10 11 12 15 3.1 3.2 5.1 6.1 7.1 9.1 10.1 11.1","12.1":0.02252,"13.1":0.2207,"14.1":0.07657,"15.1":0.09458,"15.2-15.3":0.04504,"15.4":0.04504,"15.5":0.03603,"15.6":0.72064,"16.0":0.14413,"16.1":0.13962,"16.2":0.09909,"16.3":0.23871,"16.4":0.1126,"16.5":0.29276,"16.6":1.67098,"17.0":0.01802,"17.1":0.18016,"17.2":0.37383,"17.3":0.3378,"17.4":0.62155,"17.5":0.94584,"17.6":7.96758,"18.0":0.31078,"18.1":0.0045},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.00469,"5.0-5.1":0.00235,"6.0-6.1":0.01408,"7.0-7.1":0.01642,"8.1-8.4":0,"9.0-9.2":0.01408,"9.3":0.03988,"10.0-10.2":0.01173,"10.3":0.06804,"11.0-11.2":0.25103,"11.3-11.4":0.01877,"12.0-12.1":0.01173,"12.2-12.5":0.28388,"13.0-13.1":0.00469,"13.2":0.08915,"13.3":0.01173,"13.4-13.7":0.04692,"14.0-14.4":0.10792,"14.5-14.8":0.14311,"15.0-15.1":0.08211,"15.2-15.3":0.07977,"15.4":0.0915,"15.5":0.11261,"15.6-15.8":1.11441,"16.0":0.22523,"16.1":0.44576,"16.2":0.22288,"16.3":0.37538,"16.4":0.07977,"16.5":0.15719,"16.6-16.7":1.34198,"17.0":0.11261,"17.1":0.17831,"17.2":0.16188,"17.3":0.23227,"17.4":0.49738,"17.5":2.3907,"17.6-17.7":12.72301,"18.0":1.60475,"18.1":0.07273},P:{"20":0.0106,"21":0.0212,"22":0.22258,"23":0.0636,"24":0.0212,"25":0.28618,"26":5.08761,_:"4 5.0-5.4 6.2-6.4 8.2 9.2 10.1 11.1-11.2 12.0 13.0 14.0 15.0 16.0 18.0 19.0","7.2-7.4":0.0106,"17.0":0.0318},I:{"0":0.01645,"3":0,"4":0,"2.1":0,"2.2":0,"2.3":0,"4.1":0,"4.2-4.3":0.00001,"4.4":0,"4.4.3-4.4.4":0.00003},K:{"0":0.34081,_:"10 11 12 11.1 11.5 12.1"},A:{"11":0.04054,_:"6 7 8 9 10 5.5"},N:{_:"10 11"},S:{_:"2.5 3.0-3.1"},J:{_:"7 10"},O:{"0":0.19789},H:{"0":0},L:{"0":26.13299},R:{_:"0"},M:{"0":0.61566},Q:{"14.9":0.0055}}; diff --git a/node_modules/caniuse-lite/data/regions/PG.js b/node_modules/caniuse-lite/data/regions/PG.js index a8f0dd1e8b..e60e1e3366 100644 --- a/node_modules/caniuse-lite/data/regions/PG.js +++ b/node_modules/caniuse-lite/data/regions/PG.js @@ -1 +1 @@ -module.exports={C:{"62":0.00287,"72":0.00287,"85":0.00287,"89":0.00287,"91":0.00287,"96":0.00287,"98":0.00287,"103":0.00861,"110":0.02297,"115":0.05455,"116":0.01723,"117":0.00287,"118":0.01436,"119":0.01148,"120":0.00287,"121":0.00574,"122":0.0201,"123":0.01148,"124":0.05742,"125":0.44788,"126":0.24116,_:"2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 63 64 65 66 67 68 69 70 71 73 74 75 76 77 78 79 80 81 82 83 84 86 87 88 90 92 93 94 95 97 99 100 101 102 104 105 106 107 108 109 111 112 113 114 127 128 129 3.5 3.6"},D:{"11":0.00574,"29":0.00574,"36":0.00287,"37":0.00287,"38":0.00287,"43":0.01723,"49":0.02871,"52":0.00287,"53":0.00287,"65":0.00574,"67":0.00287,"68":0.01148,"69":0.01723,"70":0.02871,"71":0.00574,"72":0.00574,"74":0.00287,"77":0.00574,"78":0.00574,"80":0.00287,"81":0.0201,"84":0.00287,"86":0.00287,"87":0.01723,"88":0.09474,"89":0.00287,"90":0.00861,"91":0.00287,"92":0.00861,"94":0.00287,"95":0.01436,"96":0.00287,"97":0.00287,"98":0.00574,"99":0.09761,"100":0.00287,"101":0.00287,"102":0.00287,"103":0.06316,"105":0.03732,"106":0.00861,"107":0.00287,"108":0.00574,"109":0.69765,"110":0.00574,"111":0.03158,"112":0.04594,"113":0.18949,"114":0.01436,"115":0.00574,"116":0.03732,"117":0.0201,"118":0.02297,"119":0.267,"120":0.05168,"121":0.1091,"122":0.10049,"123":0.31294,"124":5.54964,"125":2.06425,"126":0.00287,_:"4 5 6 7 8 9 10 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 30 31 32 33 34 35 39 40 41 42 44 45 46 47 48 50 51 54 55 56 57 58 59 60 61 62 63 64 66 73 75 76 79 83 85 93 104 127 128"},F:{"71":0.00287,"77":0.00287,"79":0.00287,"80":0.00574,"81":0.00287,"82":0.00287,"95":0.01148,"106":0.00287,"107":0.02584,"108":0.01148,"109":0.3761,"110":0.04019,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 60 62 63 64 65 66 67 68 69 70 72 73 74 75 76 78 83 84 85 86 87 88 89 90 91 92 93 94 96 97 98 99 100 101 102 103 104 105 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"12":0.02584,"13":0.01436,"14":0.00574,"15":0.00574,"16":0.01436,"17":0.00861,"18":0.06603,"80":0.00287,"84":0.02297,"85":0.00287,"88":0.00287,"89":0.0201,"90":0.01148,"92":0.07752,"97":0.01148,"100":0.04307,"102":0.00287,"103":0.00287,"104":0.01436,"105":0.00574,"107":0.00287,"108":0.00287,"109":0.01723,"110":0.00287,"111":0.00574,"112":0.00861,"113":0.02871,"114":0.00861,"115":0.01723,"116":0.02297,"117":0.01148,"118":0.02297,"119":0.06316,"120":0.09474,"121":0.06603,"122":0.11197,"123":0.27275,"124":2.57242,"125":1.16276,_:"79 81 83 86 87 91 93 94 95 96 98 99 101 106"},E:{"15":0.00287,_:"0 4 5 6 7 8 9 10 11 12 13 14 3.1 3.2 5.1 6.1 7.1 9.1 11.1 15.1 15.4 16.1 17.6","10.1":0.02297,"12.1":0.00287,"13.1":0.00861,"14.1":0.00574,"15.2-15.3":0.01148,"15.5":0.00287,"15.6":0.01436,"16.0":0.00287,"16.2":0.00574,"16.3":0.00287,"16.4":0.00287,"16.5":0.00287,"16.6":0.03158,"17.0":0.00287,"17.1":0.03732,"17.2":0.02871,"17.3":0.01436,"17.4":0.10336,"17.5":0.00861},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.0004,"5.0-5.1":0.0004,"6.0-6.1":0.00099,"7.0-7.1":0.00139,"8.1-8.4":0.0004,"9.0-9.2":0.00099,"9.3":0.00457,"10.0-10.2":0.0008,"10.3":0.00716,"11.0-11.2":0.01054,"11.3-11.4":0.00199,"12.0-12.1":0.00119,"12.2-12.5":0.02884,"13.0-13.1":0.0006,"13.2":0.00278,"13.3":0.00139,"13.4-13.7":0.00636,"14.0-14.4":0.01094,"14.5-14.8":0.01691,"15.0-15.1":0.00815,"15.2-15.3":0.00895,"15.4":0.01014,"15.5":0.01273,"15.6-15.8":0.11457,"16.0":0.02606,"16.1":0.0537,"16.2":0.02606,"16.3":0.04515,"16.4":0.00955,"16.5":0.01929,"16.6-16.7":0.15375,"17.0":0.01671,"17.1":0.02725,"17.2":0.02844,"17.3":0.05251,"17.4":1.1924,"17.5":0.08413,"17.6":0},P:{"4":0.05103,"20":0.08164,"21":0.37759,"22":0.47964,"23":0.43882,"24":1.02052,"25":1.39811,_:"5.0-5.4 6.2-6.4 8.2 10.1 12.0","7.2-7.4":0.14287,"9.2":0.02041,"11.1-11.2":0.02041,"13.0":0.06123,"14.0":0.03062,"15.0":0.02041,"16.0":0.07144,"17.0":0.02041,"18.0":0.04082,"19.0":0.18369},I:{"0":0.27695,"3":0,"4":0.00003,"2.1":0,"2.2":0,"2.3":0,"4.1":0.00006,"4.2-4.3":0.00017,"4.4":0,"4.4.3-4.4.4":0.00061},K:{"0":1.34303,_:"10 11 12 11.1 11.5 12.1"},A:{"10":0.01193,"11":0.03975,_:"6 7 8 9 5.5"},S:{"2.5":0.00713,_:"3.0-3.1"},J:{_:"7 10"},N:{_:"10 11"},L:{"0":73.46537},R:{_:"0"},M:{"0":0.09268},Q:{"14.9":0.17823},O:{"0":0.85548},H:{"0":0.04}}; +module.exports={C:{"43":0.00309,"51":0.00309,"72":0.01852,"88":0.00309,"98":0.00926,"104":0.00309,"105":0.00617,"106":0.00309,"108":0.00309,"109":0.00309,"110":0.03704,"113":0.00617,"114":0.00309,"115":0.07718,"117":0.00617,"118":0.00309,"119":0.02161,"122":0.00309,"123":0.01235,"124":0.00617,"125":0.02778,"126":0.00309,"127":0.04939,"128":0.02778,"129":0.26857,"130":0.77175,_:"2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 44 45 46 47 48 49 50 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 89 90 91 92 93 94 95 96 97 99 100 101 102 103 107 111 112 116 120 121 131 132 133 134 135 3.5 3.6"},D:{"11":0.00309,"51":0.00309,"55":0.00309,"56":0.00309,"61":0.00309,"62":0.00309,"64":0.01235,"67":0.00617,"69":0.00309,"70":0.02161,"71":0.00617,"74":0.00309,"76":0.0247,"78":0.00617,"80":0.00309,"81":0.02778,"86":0.00309,"87":0.00926,"88":0.10187,"89":0.00309,"90":0.01235,"94":0.00309,"95":0.00309,"96":0.00617,"97":0.00309,"99":0.071,"101":0.00617,"102":0.00926,"103":0.04322,"104":0.01852,"105":0.03087,"106":0.00926,"107":0.00926,"108":0.00926,"109":0.40748,"111":0.03087,"112":0.00617,"113":0.16361,"114":0.01235,"115":0.00309,"116":0.03087,"117":0.01852,"118":0.00926,"119":0.22535,"120":0.29018,"121":0.04939,"122":0.0247,"123":0.06174,"124":0.04631,"125":0.06483,"126":0.24387,"127":0.5711,"128":6.79757,"129":1.97877,_:"4 5 6 7 8 9 10 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 52 53 54 57 58 59 60 63 65 66 68 72 73 75 77 79 83 84 85 91 92 93 98 100 110 130 131 132 133"},F:{"79":0.00309,"83":0.02161,"84":0.16979,"95":0.00309,"107":0.00309,"109":0.01235,"110":0.07718,"112":0.35192,"113":0.09261,"114":0.00309,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 60 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 80 81 82 85 86 87 88 89 90 91 92 93 94 96 97 98 99 100 101 102 103 104 105 106 108 111 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"12":0.00309,"13":0.00926,"15":0.00617,"16":0.00617,"17":0.00617,"18":0.071,"80":0.00617,"84":0.0247,"89":0.01235,"90":0.02161,"91":0.00617,"92":0.071,"100":0.04013,"106":0.00309,"107":0.00309,"109":0.01235,"110":0.00617,"111":0.10496,"112":0.00309,"113":0.00926,"114":0.00926,"115":0.00617,"116":0.29327,"117":0.01235,"118":0.00309,"119":0.03087,"120":0.071,"121":0.02161,"122":0.08644,"123":0.06483,"124":0.05248,"125":0.04939,"126":0.13274,"127":0.26548,"128":4.10262,"129":1.00328,_:"14 79 81 83 85 86 87 88 93 94 95 96 97 98 99 101 102 103 104 105 108 130"},E:{"14":0.00309,_:"0 4 5 6 7 8 9 10 11 12 13 15 3.1 3.2 5.1 6.1 7.1 9.1 10.1 15.4 16.0 16.4 17.0 17.1 17.3","11.1":0.00617,"12.1":0.00309,"13.1":0.00309,"14.1":0.03087,"15.1":0.01235,"15.2-15.3":0.00926,"15.5":0.01235,"15.6":0.04939,"16.1":0.00309,"16.2":0.04013,"16.3":0.00617,"16.5":0.05557,"16.6":0.01852,"17.2":0.00309,"17.4":0.01544,"17.5":0.0247,"17.6":0.06174,"18.0":0.00309,"18.1":0.00309},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.00039,"5.0-5.1":0.00019,"6.0-6.1":0.00117,"7.0-7.1":0.00136,"8.1-8.4":0,"9.0-9.2":0.00117,"9.3":0.00331,"10.0-10.2":0.00097,"10.3":0.00565,"11.0-11.2":0.02086,"11.3-11.4":0.00156,"12.0-12.1":0.00097,"12.2-12.5":0.02359,"13.0-13.1":0.00039,"13.2":0.00741,"13.3":0.00097,"13.4-13.7":0.0039,"14.0-14.4":0.00897,"14.5-14.8":0.01189,"15.0-15.1":0.00682,"15.2-15.3":0.00663,"15.4":0.0076,"15.5":0.00936,"15.6-15.8":0.0926,"16.0":0.01871,"16.1":0.03704,"16.2":0.01852,"16.3":0.03119,"16.4":0.00663,"16.5":0.01306,"16.6-16.7":0.11151,"17.0":0.00936,"17.1":0.01482,"17.2":0.01345,"17.3":0.0193,"17.4":0.04133,"17.5":0.19865,"17.6-17.7":1.0572,"18.0":0.13334,"18.1":0.00604},P:{"4":0.02052,"20":0.03078,"21":0.17444,"22":0.62592,"23":0.27704,"24":0.50279,"25":0.72853,"26":1.23131,_:"5.0-5.4 8.2 9.2 10.1 12.0 17.0","6.2-6.4":0.01026,"7.2-7.4":0.10261,"11.1-11.2":0.02052,"13.0":0.02052,"14.0":0.01026,"15.0":0.01026,"16.0":0.0513,"18.0":0.02052,"19.0":0.08209},I:{"0":0.14478,"3":0,"4":0,"2.1":0,"2.2":0,"2.3":0,"4.1":0.00001,"4.2-4.3":0.00006,"4.4":0,"4.4.3-4.4.4":0.00023},K:{"0":1.12373,_:"10 11 12 11.1 11.5 12.1"},A:{"10":0.00386,"11":0.01158,_:"6 7 8 9 5.5"},N:{_:"10 11"},S:{"2.5":0.01383,_:"3.0-3.1"},J:{_:"7 10"},O:{"0":0.8503},H:{"0":0.01},L:{"0":70.70385},R:{_:"0"},M:{"0":0.13826},Q:{"14.9":0.02074}}; diff --git a/node_modules/caniuse-lite/data/regions/PH.js b/node_modules/caniuse-lite/data/regions/PH.js index 20672ce2cb..d53df465fb 100644 --- a/node_modules/caniuse-lite/data/regions/PH.js +++ b/node_modules/caniuse-lite/data/regions/PH.js @@ -1 +1 @@ -module.exports={C:{"56":0.08393,"59":0.00987,"78":0.00494,"88":0.00494,"98":0.00494,"115":0.13824,"120":0.00987,"121":0.00494,"122":0.00494,"123":0.00987,"124":0.01975,"125":0.34559,"126":0.34559,"127":0.00987,_:"2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 57 58 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 79 80 81 82 83 84 85 86 87 89 90 91 92 93 94 95 96 97 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 116 117 118 119 128 129 3.5 3.6"},D:{"11":0.00494,"38":0.00494,"49":0.00987,"56":0.00494,"61":0.00494,"66":0.03456,"68":0.00494,"69":0.00494,"70":0.00494,"71":0.00494,"73":0.00494,"74":0.00494,"75":0.00494,"76":0.00987,"78":0.00987,"79":0.02962,"80":0.02469,"81":0.00494,"83":0.01975,"84":0.00494,"85":0.00987,"86":0.00987,"87":0.14811,"88":0.02469,"89":0.00494,"90":0.00494,"91":0.01481,"92":0.00494,"93":0.02469,"94":0.01975,"95":0.00494,"96":0.00494,"97":0.00494,"98":0.00494,"99":0.05431,"100":0.00494,"101":0.01481,"102":0.01481,"103":0.46408,"104":0.00987,"105":0.04937,"106":0.01975,"107":0.01481,"108":0.02469,"109":1.17007,"110":0.00987,"111":0.02469,"112":0.02469,"113":0.02962,"114":0.06418,"115":0.02962,"116":0.14317,"117":0.07406,"118":0.04443,"119":0.0938,"120":0.19748,"121":0.17773,"122":0.34559,"123":0.93803,"124":22.15232,"125":8.60519,"126":0.02469,"127":0.00494,_:"4 5 6 7 8 9 10 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 39 40 41 42 43 44 45 46 47 48 50 51 52 53 54 55 57 58 59 60 62 63 64 65 67 72 77 128"},F:{"28":0.02469,"46":0.00494,"95":0.00987,"107":0.32091,"108":0.00987,"109":1.03677,"110":0.02962,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 47 48 49 50 51 52 53 54 55 56 57 58 60 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 96 97 98 99 100 101 102 103 104 105 106 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"17":0.00494,"18":0.00494,"92":0.01481,"100":0.00494,"108":0.00494,"109":0.0395,"113":0.01481,"114":0.00494,"115":0.00494,"116":0.00494,"117":0.00494,"118":0.00494,"119":0.00987,"120":0.0938,"121":0.01481,"122":0.07406,"123":0.28635,"124":3.71262,"125":2.06367,_:"12 13 14 15 16 79 80 81 83 84 85 86 87 88 89 90 91 93 94 95 96 97 98 99 101 102 103 104 105 106 107 110 111 112"},E:{"13":0.00494,"14":0.00987,"15":0.00494,_:"0 4 5 6 7 8 9 10 11 12 3.1 3.2 5.1 6.1 7.1 9.1 10.1 12.1 17.6","11.1":0.00987,"13.1":0.01481,"14.1":0.02962,"15.1":0.07899,"15.2-15.3":0.00494,"15.4":0.00987,"15.5":0.01481,"15.6":0.0938,"16.0":0.01481,"16.1":0.02469,"16.2":0.01481,"16.3":0.04443,"16.4":0.00987,"16.5":0.01975,"16.6":0.11355,"17.0":0.02469,"17.1":0.02962,"17.2":0.04443,"17.3":0.04443,"17.4":0.60725,"17.5":0.07899},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.00128,"5.0-5.1":0.00128,"6.0-6.1":0.00319,"7.0-7.1":0.00447,"8.1-8.4":0.00128,"9.0-9.2":0.00319,"9.3":0.01468,"10.0-10.2":0.00255,"10.3":0.02298,"11.0-11.2":0.03384,"11.3-11.4":0.00638,"12.0-12.1":0.00383,"12.2-12.5":0.09257,"13.0-13.1":0.00192,"13.2":0.00894,"13.3":0.00447,"13.4-13.7":0.02043,"14.0-14.4":0.03511,"14.5-14.8":0.05427,"15.0-15.1":0.02618,"15.2-15.3":0.02873,"15.4":0.03256,"15.5":0.04086,"15.6-15.8":0.36774,"16.0":0.08364,"16.1":0.17238,"16.2":0.08364,"16.3":0.14493,"16.4":0.03065,"16.5":0.06193,"16.6-16.7":0.49352,"17.0":0.05363,"17.1":0.08747,"17.2":0.0913,"17.3":0.16855,"17.4":3.82747,"17.5":0.27006,"17.6":0},P:{"4":0.1158,"20":0.01053,"21":0.02105,"22":0.02105,"23":0.03158,"24":0.07369,"25":0.72637,"5.0-5.4":0.01053,"6.2-6.4":0.02105,_:"7.2-7.4 8.2 9.2 10.1 11.1-11.2 12.0 13.0 14.0 15.0 16.0","17.0":0.01053,"18.0":0.01053,"19.0":0.01053},I:{"0":0.09078,"3":0,"4":0.00001,"2.1":0,"2.2":0,"2.3":0,"4.1":0.00002,"4.2-4.3":0.00005,"4.4":0,"4.4.3-4.4.4":0.0002},K:{"0":0.43542,_:"10 11 12 11.1 11.5 12.1"},A:{"8":0.005,"11":2.32526,_:"6 7 9 10 5.5"},S:{_:"2.5 3.0-3.1"},J:{_:"7 10"},N:{_:"10 11"},L:{"0":43.30894},R:{_:"0"},M:{"0":0.08101},Q:{"14.9":0.00506},O:{"0":0.3291},H:{"0":0}}; +module.exports={C:{"52":0.00357,"56":0.05704,"59":0.00357,"78":0.00357,"115":0.06061,"121":0.00357,"126":0.00357,"127":0.00713,"128":0.08913,"129":0.09626,"130":0.51693,"131":0.02139,"132":0.00357,_:"2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 53 54 55 57 58 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 116 117 118 119 120 122 123 124 125 133 134 135 3.5 3.6"},D:{"56":0.00713,"66":0.0107,"70":0.00357,"73":0.00357,"75":0.00357,"76":0.00713,"78":0.00713,"79":0.02496,"80":0.00357,"81":0.00357,"83":0.01426,"85":0.00357,"86":0.00357,"87":0.05704,"88":0.02496,"89":0.00357,"90":0.00357,"91":0.0107,"92":0.00713,"93":0.04991,"94":0.01783,"95":0.00357,"96":0.00357,"97":0.00357,"98":0.00357,"99":0.03922,"100":0.00357,"101":0.00357,"102":0.0107,"103":0.82708,"104":0.00713,"105":0.01783,"106":0.02496,"107":0.00357,"108":0.02139,"109":0.81995,"110":0.01783,"111":0.0107,"112":0.0107,"113":0.0107,"114":0.03209,"115":0.0107,"116":0.22103,"117":0.02852,"118":0.01426,"119":0.03209,"120":0.06061,"121":0.04278,"122":0.09626,"123":0.11408,"124":0.09982,"125":0.11052,"126":0.40641,"127":1.03029,"128":17.28669,"129":5.50793,"130":0.03565,_:"4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 57 58 59 60 61 62 63 64 65 67 68 69 71 72 74 77 84 131 132 133"},F:{"46":0.00713,"84":0.00713,"95":0.0107,"109":0.01783,"111":0.00713,"112":0.47058,"113":0.37433,"114":0.00357,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 47 48 49 50 51 52 53 54 55 56 57 58 60 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 85 86 87 88 89 90 91 92 93 94 96 97 98 99 100 101 102 103 104 105 106 107 108 110 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"17":0.00357,"18":0.00357,"92":0.0107,"100":0.00357,"109":0.02496,"114":0.00713,"116":0.00357,"118":0.00357,"119":0.01426,"120":0.0107,"121":0.00357,"122":0.0107,"123":0.00357,"124":0.00713,"125":0.0107,"126":0.03565,"127":0.13191,"128":3.32615,"129":1.14793,_:"12 13 14 15 16 79 80 81 83 84 85 86 87 88 89 90 91 93 94 95 96 97 98 99 101 102 103 104 105 106 107 108 110 111 112 113 115 117 130"},E:{"13":0.00713,"14":0.00357,_:"0 4 5 6 7 8 9 10 11 12 15 3.1 3.2 5.1 6.1 7.1 9.1 10.1","11.1":0.00357,"12.1":0.00357,"13.1":0.0107,"14.1":0.01783,"15.1":0.00713,"15.2-15.3":0.00357,"15.4":0.00713,"15.5":0.0107,"15.6":0.06061,"16.0":0.00713,"16.1":0.01426,"16.2":0.0107,"16.3":0.01783,"16.4":0.0107,"16.5":0.01426,"16.6":0.07487,"17.0":0.0107,"17.1":0.01426,"17.2":0.01783,"17.3":0.01783,"17.4":0.03922,"17.5":0.11052,"17.6":0.42424,"18.0":0.07487,"18.1":0.00357},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.00107,"5.0-5.1":0.00053,"6.0-6.1":0.0032,"7.0-7.1":0.00373,"8.1-8.4":0,"9.0-9.2":0.0032,"9.3":0.00907,"10.0-10.2":0.00267,"10.3":0.01547,"11.0-11.2":0.05708,"11.3-11.4":0.00427,"12.0-12.1":0.00267,"12.2-12.5":0.06455,"13.0-13.1":0.00107,"13.2":0.02027,"13.3":0.00267,"13.4-13.7":0.01067,"14.0-14.4":0.02454,"14.5-14.8":0.03254,"15.0-15.1":0.01867,"15.2-15.3":0.01814,"15.4":0.0208,"15.5":0.02561,"15.6-15.8":0.25339,"16.0":0.05121,"16.1":0.10136,"16.2":0.05068,"16.3":0.08535,"16.4":0.01814,"16.5":0.03574,"16.6-16.7":0.30514,"17.0":0.02561,"17.1":0.04054,"17.2":0.03681,"17.3":0.05281,"17.4":0.11309,"17.5":0.5436,"17.6-17.7":2.89296,"18.0":0.36489,"18.1":0.01654},P:{"4":0.04225,"20":0.01056,"21":0.01056,"22":0.03169,"23":0.02112,"24":0.02112,"25":0.06337,"26":0.70764,"5.0-5.4":0.01056,"6.2-6.4":0.01056,"7.2-7.4":0.01056,_:"8.2 9.2 10.1 12.0 13.0 14.0 15.0 16.0 18.0","11.1-11.2":0.01056,"17.0":0.01056,"19.0":0.01056},I:{"0":0.08985,"3":0,"4":0,"2.1":0,"2.2":0,"2.3":0,"4.1":0.00001,"4.2-4.3":0.00004,"4.4":0,"4.4.3-4.4.4":0.00014},K:{"0":0.28314,_:"10 11 12 11.1 11.5 12.1"},A:{"11":0.02139,_:"6 7 8 9 10 5.5"},N:{_:"10 11"},S:{_:"2.5 3.0-3.1"},J:{_:"7 10"},O:{"0":0.22523},H:{"0":0},L:{"0":57.91867},R:{_:"0"},M:{"0":0.06435},Q:{_:"14.9"}}; diff --git a/node_modules/caniuse-lite/data/regions/PK.js b/node_modules/caniuse-lite/data/regions/PK.js index 678cbd53b8..32db116929 100644 --- a/node_modules/caniuse-lite/data/regions/PK.js +++ b/node_modules/caniuse-lite/data/regions/PK.js @@ -1 +1 @@ -module.exports={C:{"44":0.00236,"47":0.00236,"52":0.00945,"68":0.00236,"72":0.00236,"91":0.00236,"99":0.00236,"102":0.00236,"103":0.00472,"105":0.00472,"106":0.00472,"107":0.00472,"108":0.00709,"109":0.00472,"110":0.00472,"111":0.00472,"115":0.13936,"119":0.00236,"121":0.00236,"122":0.00236,"123":0.00945,"124":0.00945,"125":0.21258,"126":0.2173,"127":0.00236,_:"2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 45 46 48 49 50 51 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 69 70 71 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 92 93 94 95 96 97 98 100 101 104 112 113 114 116 117 118 120 128 129 3.5 3.6"},D:{"38":0.00709,"41":0.00236,"43":0.00472,"45":0.00236,"48":0.00236,"49":0.00709,"50":0.00236,"56":0.01181,"58":0.00236,"61":0.00236,"62":0.00236,"63":0.00236,"64":0.00236,"65":0.01181,"66":0.00236,"68":0.00945,"69":0.00472,"70":0.00472,"71":0.00236,"72":0.00709,"73":0.00472,"74":0.01181,"75":0.01181,"76":0.00709,"77":0.00709,"78":0.00472,"79":0.00709,"80":0.00945,"81":0.00472,"83":0.00709,"84":0.00709,"85":0.14408,"86":0.00709,"87":0.01653,"88":0.00236,"89":0.00709,"90":0.00472,"91":0.00945,"92":0.00472,"93":0.02598,"94":0.00236,"95":0.01417,"96":0.00472,"97":0.00709,"98":0.00709,"99":0.00472,"100":0.00236,"101":0.00236,"102":0.01653,"103":0.07558,"104":0.01653,"105":0.01417,"106":0.05196,"107":0.07795,"108":0.05905,"109":2.37617,"110":0.03071,"111":0.03071,"112":0.02834,"113":0.00472,"114":0.01181,"115":0.00945,"116":0.03307,"117":0.01181,"118":0.01653,"119":0.03543,"120":0.06141,"121":0.09684,"122":0.10393,"123":0.29761,"124":9.84954,"125":4.41694,"126":0.0189,"127":0.00472,_:"4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 39 40 42 44 46 47 51 52 53 54 55 57 59 60 67 128"},F:{"28":0.00236,"37":0.00236,"76":0.00236,"79":0.00472,"82":0.00236,"85":0.00236,"91":0.00236,"92":0.00236,"93":0.00236,"94":0.00236,"95":0.04015,"96":0.00236,"106":0.00236,"107":0.03543,"108":0.00472,"109":0.3732,"110":0.04488,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 29 30 31 32 33 34 35 36 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 60 62 63 64 65 66 67 68 69 70 71 72 73 74 75 77 78 80 81 83 84 86 87 88 89 90 97 98 99 100 101 102 103 104 105 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"12":0.01653,"13":0.00236,"14":0.00472,"15":0.00472,"16":0.00472,"17":0.00236,"18":0.01653,"84":0.00236,"89":0.00236,"90":0.00236,"92":0.02126,"100":0.00236,"103":0.00236,"105":0.00236,"106":0.00236,"107":0.00709,"108":0.00709,"109":0.02598,"110":0.00709,"111":0.00236,"112":0.00236,"113":0.00236,"115":0.00236,"117":0.00472,"118":0.00236,"119":0.00236,"120":0.00709,"121":0.01181,"122":0.01181,"123":0.01653,"124":0.66845,"125":0.40626,_:"79 80 81 83 85 86 87 88 91 93 94 95 96 97 98 99 101 102 104 114 116"},E:{"14":0.00472,_:"0 4 5 6 7 8 9 10 11 12 13 15 3.1 3.2 6.1 7.1 10.1 11.1 17.6","5.1":0.00236,"9.1":0.00236,"12.1":0.00236,"13.1":0.00709,"14.1":0.00945,"15.1":0.00236,"15.2-15.3":0.00236,"15.4":0.00236,"15.5":0.00236,"15.6":0.02126,"16.0":0.00236,"16.1":0.00709,"16.2":0.00945,"16.3":0.01653,"16.4":0.00236,"16.5":0.00472,"16.6":0.02362,"17.0":0.00472,"17.1":0.00709,"17.2":0.00709,"17.3":0.00945,"17.4":0.11101,"17.5":0.01417},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.00054,"5.0-5.1":0.00054,"6.0-6.1":0.00135,"7.0-7.1":0.00189,"8.1-8.4":0.00054,"9.0-9.2":0.00135,"9.3":0.00622,"10.0-10.2":0.00108,"10.3":0.00974,"11.0-11.2":0.01433,"11.3-11.4":0.0027,"12.0-12.1":0.00162,"12.2-12.5":0.03921,"13.0-13.1":0.00081,"13.2":0.00379,"13.3":0.00189,"13.4-13.7":0.00865,"14.0-14.4":0.01487,"14.5-14.8":0.02299,"15.0-15.1":0.01109,"15.2-15.3":0.01217,"15.4":0.01379,"15.5":0.01731,"15.6-15.8":0.15576,"16.0":0.03543,"16.1":0.07301,"16.2":0.03543,"16.3":0.06139,"16.4":0.01298,"16.5":0.02623,"16.6-16.7":0.20904,"17.0":0.02272,"17.1":0.03705,"17.2":0.03867,"17.3":0.07139,"17.4":1.62117,"17.5":0.11439,"17.6":0},P:{"4":0.12555,"20":0.01046,"21":0.03139,"22":0.03139,"23":0.04185,"24":0.0837,"25":0.53357,"5.0-5.4":0.01046,"6.2-6.4":0.01046,"7.2-7.4":0.02092,_:"8.2 10.1 12.0 14.0 15.0 16.0 18.0","9.2":0.01046,"11.1-11.2":0.01046,"13.0":0.01046,"17.0":0.02092,"19.0":0.01046},I:{"0":0.06087,"3":0,"4":0.00001,"2.1":0,"2.2":0,"2.3":0,"4.1":0.00001,"4.2-4.3":0.00004,"4.4":0,"4.4.3-4.4.4":0.00013},K:{"0":2.14517,_:"10 11 12 11.1 11.5 12.1"},A:{"8":0.01479,"9":0.00493,"10":0.00246,"11":0.09119,_:"6 7 5.5"},S:{"2.5":0.07639,_:"3.0-3.1"},J:{_:"7 10"},N:{_:"10 11"},L:{"0":69.21953},R:{_:"0"},M:{"0":0.06111},Q:{_:"14.9"},O:{"0":3.25421},H:{"0":0.2}}; +module.exports={C:{"4":0.00237,"44":0.00237,"47":0.00237,"50":0.00237,"51":0.00237,"52":0.00474,"71":0.00237,"102":0.00237,"103":0.00474,"105":0.0071,"106":0.00474,"107":0.0071,"108":0.0071,"109":0.00474,"110":0.00474,"111":0.00474,"115":0.1776,"123":0.00474,"124":0.00237,"125":0.0071,"126":0.00237,"127":0.00474,"128":0.00474,"129":0.08051,"130":0.32205,"131":0.00474,_:"2 3 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 45 46 48 49 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 104 112 113 114 116 117 118 119 120 121 122 132 133 134 135 3.5 3.6"},D:{"38":0.00237,"43":0.00237,"44":0.00237,"48":0.00237,"49":0.0071,"50":0.00237,"56":0.01421,"57":0.00237,"58":0.00237,"62":0.00237,"63":0.00237,"64":0.00237,"65":0.00474,"66":0.00237,"67":0.00237,"68":0.00947,"69":0.00474,"70":0.00474,"71":0.00474,"72":0.00474,"73":0.0071,"74":0.01658,"75":0.00947,"76":0.0071,"77":0.0071,"78":0.00474,"79":0.00947,"80":0.02605,"81":0.00474,"83":0.0071,"84":0.00947,"85":0.01658,"86":0.00947,"87":0.00947,"88":0.00474,"89":0.00474,"90":0.00474,"91":0.01421,"92":0.00237,"93":0.02842,"94":0.00474,"95":0.01894,"96":0.00474,"97":0.00474,"98":0.00474,"99":0.00474,"100":0.00237,"101":0.00237,"102":0.02131,"103":0.10419,"104":0.01421,"105":0.02605,"106":0.07814,"107":0.12077,"108":0.09946,"109":2.18093,"110":0.04499,"111":0.05683,"112":0.04973,"113":0.00237,"114":0.01184,"115":0.00237,"116":0.02842,"117":0.0071,"118":0.00947,"119":0.02605,"120":0.03078,"121":0.02842,"122":0.04499,"123":0.03789,"124":0.07578,"125":0.0521,"126":0.16102,"127":0.41914,"128":10.91885,"129":3.37914,"130":0.01658,"131":0.00474,_:"4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 39 40 41 42 45 46 47 51 52 53 54 55 59 60 61 132 133"},F:{"79":0.00474,"83":0.00237,"84":0.01894,"85":0.00474,"86":0.00237,"91":0.00237,"92":0.00237,"93":0.00237,"94":0.00237,"95":0.04973,"96":0.00237,"106":0.00237,"107":0.00237,"109":0.00474,"111":0.00237,"112":0.24154,"113":0.21786,"114":0.01184,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 60 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 80 81 82 87 88 89 90 97 98 99 100 101 102 103 104 105 108 110 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"12":0.00474,"14":0.00237,"15":0.00237,"16":0.00237,"17":0.00237,"18":0.00947,"80":0.00237,"81":0.00237,"83":0.00237,"84":0.00237,"85":0.00237,"86":0.00237,"88":0.00237,"89":0.00237,"90":0.00237,"92":0.02368,"100":0.00237,"103":0.00237,"105":0.00237,"106":0.0071,"107":0.01421,"108":0.01184,"109":0.03315,"110":0.00947,"111":0.00474,"112":0.00237,"114":0.01184,"117":0.00237,"118":0.00237,"119":0.00237,"120":0.00474,"121":0.00474,"122":0.0071,"123":0.00237,"124":0.00237,"125":0.00474,"126":0.0521,"127":0.03315,"128":0.78381,"129":0.28416,_:"13 79 87 91 93 94 95 96 97 98 99 101 102 104 113 115 116 130"},E:{"14":0.00237,_:"0 4 5 6 7 8 9 10 11 12 13 15 3.1 3.2 5.1 6.1 7.1 10.1 11.1 15.1 18.1","9.1":0.00474,"12.1":0.00237,"13.1":0.00474,"14.1":0.0071,"15.2-15.3":0.00237,"15.4":0.00237,"15.5":0.00237,"15.6":0.02131,"16.0":0.00237,"16.1":0.00474,"16.2":0.00237,"16.3":0.00474,"16.4":0.00237,"16.5":0.00474,"16.6":0.02368,"17.0":0.00237,"17.1":0.00474,"17.2":0.00474,"17.3":0.0071,"17.4":0.01421,"17.5":0.02842,"17.6":0.09709,"18.0":0.01894},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.00052,"5.0-5.1":0.00026,"6.0-6.1":0.00156,"7.0-7.1":0.00182,"8.1-8.4":0,"9.0-9.2":0.00156,"9.3":0.00441,"10.0-10.2":0.0013,"10.3":0.00753,"11.0-11.2":0.02777,"11.3-11.4":0.00208,"12.0-12.1":0.0013,"12.2-12.5":0.0314,"13.0-13.1":0.00052,"13.2":0.00986,"13.3":0.0013,"13.4-13.7":0.00519,"14.0-14.4":0.01194,"14.5-14.8":0.01583,"15.0-15.1":0.00908,"15.2-15.3":0.00882,"15.4":0.01012,"15.5":0.01246,"15.6-15.8":0.12326,"16.0":0.02491,"16.1":0.0493,"16.2":0.02465,"16.3":0.04152,"16.4":0.00882,"16.5":0.01739,"16.6-16.7":0.14843,"17.0":0.01246,"17.1":0.01972,"17.2":0.0179,"17.3":0.02569,"17.4":0.05501,"17.5":0.26442,"17.6-17.7":1.4072,"18.0":0.17749,"18.1":0.00804},P:{"4":0.09662,"20":0.01074,"21":0.02147,"22":0.02147,"23":0.02147,"24":0.03221,"25":0.08588,"26":0.60117,_:"5.0-5.4 8.2 9.2 10.1 12.0 13.0 14.0 15.0 16.0 18.0","6.2-6.4":0.02147,"7.2-7.4":0.02147,"11.1-11.2":0.01074,"17.0":0.02147,"19.0":0.01074},I:{"0":0.10656,"3":0,"4":0,"2.1":0,"2.2":0,"2.3":0,"4.1":0.00001,"4.2-4.3":0.00004,"4.4":0,"4.4.3-4.4.4":0.00017},K:{"0":1.68405,_:"10 11 12 11.1 11.5 12.1"},A:{"8":0.01031,"9":0.00515,"10":0.00258,"11":0.06958,_:"6 7 5.5"},N:{_:"10 11"},S:{"2.5":0.10685,_:"3.0-3.1"},J:{_:"7 10"},O:{"0":4.31208},H:{"0":0.14},L:{"0":68.4651},R:{_:"0"},M:{"0":0.06869},Q:{_:"14.9"}}; diff --git a/node_modules/caniuse-lite/data/regions/PL.js b/node_modules/caniuse-lite/data/regions/PL.js index 8914397c9e..166335d5fc 100644 --- a/node_modules/caniuse-lite/data/regions/PL.js +++ b/node_modules/caniuse-lite/data/regions/PL.js @@ -1 +1 @@ -module.exports={C:{"47":0.00305,"52":0.02743,"68":0.00305,"78":0.03048,"88":0.01524,"91":0.00305,"102":0.0061,"103":0.00305,"104":0.00914,"105":0.00305,"106":0.00305,"107":0.00305,"108":0.00305,"109":0.00305,"110":0.0061,"111":0.00305,"112":0.00305,"113":0.00305,"114":0.00305,"115":0.4572,"116":0.00305,"117":0.00305,"118":0.00305,"119":0.00305,"120":0.0061,"121":0.00914,"122":0.01219,"123":0.03048,"124":0.05182,"125":1.524,"126":1.38684,"127":0.0061,_:"2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 48 49 50 51 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 69 70 71 72 73 74 75 76 77 79 80 81 82 83 84 85 86 87 89 90 92 93 94 95 96 97 98 99 100 101 128 129 3.5 3.6"},D:{"49":0.01219,"76":0.0061,"78":0.00305,"79":0.33528,"81":0.00305,"85":0.00305,"87":0.01829,"88":0.00305,"89":0.01219,"90":0.00305,"91":0.00305,"92":0.00305,"93":0.00305,"94":0.0061,"95":0.00305,"97":0.00305,"98":0.00305,"99":0.08534,"100":0.00305,"102":0.01219,"103":0.01219,"104":2.40792,"105":0.0061,"106":0.00914,"107":0.01219,"108":0.01829,"109":0.66751,"110":0.00914,"111":0.04267,"112":0.00914,"113":0.21031,"114":0.1585,"115":0.00914,"116":0.02743,"117":0.01219,"118":0.01219,"119":0.01829,"120":0.04572,"121":0.05791,"122":0.11887,"123":0.37795,"124":8.40334,"125":3.26441,"126":0.00305,_:"4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 77 80 83 84 86 96 101 127 128"},F:{"36":0.00305,"72":0.00305,"79":0.00305,"82":0.00305,"85":0.00305,"86":0.00305,"95":0.10973,"102":0.0061,"105":0.00305,"106":0.0061,"107":1.19177,"108":0.03962,"109":4.11175,"110":0.24079,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 60 62 63 64 65 66 67 68 69 70 71 73 74 75 76 77 78 80 81 83 84 87 88 89 90 91 92 93 94 96 97 98 99 100 101 103 104 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"92":0.00305,"100":0.00305,"107":0.00305,"109":0.04572,"110":0.00305,"111":0.00305,"112":0.00305,"113":0.00305,"114":0.01829,"115":0.00914,"117":0.00305,"118":0.00305,"119":0.00305,"120":0.0061,"121":0.0061,"122":0.03353,"123":0.05182,"124":1.30759,"125":0.75286,_:"12 13 14 15 16 17 18 79 80 81 83 84 85 86 87 88 89 90 91 93 94 95 96 97 98 99 101 102 103 104 105 106 108 116"},E:{"13":0.00305,"14":0.00305,_:"0 4 5 6 7 8 9 10 11 12 15 3.1 3.2 5.1 6.1 7.1 9.1 10.1 11.1 12.1 17.6","13.1":0.0061,"14.1":0.01829,"15.1":0.00305,"15.2-15.3":0.00305,"15.4":0.00305,"15.5":0.00305,"15.6":0.03048,"16.0":0.00914,"16.1":0.00914,"16.2":0.0061,"16.3":0.01524,"16.4":0.0061,"16.5":0.00914,"16.6":0.05182,"17.0":0.01524,"17.1":0.02134,"17.2":0.02743,"17.3":0.03048,"17.4":0.29261,"17.5":0.06096},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.00149,"5.0-5.1":0.00149,"6.0-6.1":0.00374,"7.0-7.1":0.00523,"8.1-8.4":0.00149,"9.0-9.2":0.00374,"9.3":0.01719,"10.0-10.2":0.00299,"10.3":0.02691,"11.0-11.2":0.03961,"11.3-11.4":0.00747,"12.0-12.1":0.00448,"12.2-12.5":0.10838,"13.0-13.1":0.00224,"13.2":0.01046,"13.3":0.00523,"13.4-13.7":0.02392,"14.0-14.4":0.04111,"14.5-14.8":0.06353,"15.0-15.1":0.03065,"15.2-15.3":0.03364,"15.4":0.03812,"15.5":0.04784,"15.6-15.8":0.43053,"16.0":0.09792,"16.1":0.20181,"16.2":0.09792,"16.3":0.16967,"16.4":0.03588,"16.5":0.0725,"16.6-16.7":0.57778,"17.0":0.06279,"17.1":0.1024,"17.2":0.10688,"17.3":0.19733,"17.4":4.48095,"17.5":0.31617,"17.6":0},P:{"20":0.03055,"21":0.04074,"22":0.07129,"23":0.14258,"24":0.28516,"25":2.49517,_:"4 5.0-5.4 6.2-6.4 7.2-7.4 8.2 9.2 10.1 12.0 15.0","11.1-11.2":0.01018,"13.0":0.01018,"14.0":0.02037,"16.0":0.01018,"17.0":0.01018,"18.0":0.02037,"19.0":0.03055},I:{"0":0.02078,"3":0,"4":0,"2.1":0,"2.2":0,"2.3":0,"4.1":0,"4.2-4.3":0.00001,"4.4":0,"4.4.3-4.4.4":0.00005},K:{"0":2.68386,_:"10 11 12 11.1 11.5 12.1"},A:{"8":0.00813,"11":0.01626,_:"6 7 9 10 5.5"},S:{_:"2.5 3.0-3.1"},J:{_:"7 10"},N:{_:"10 11"},L:{"0":56.80083},R:{_:"0"},M:{"0":0.53538},Q:{_:"14.9"},O:{"0":0.02086},H:{"0":0}}; +module.exports={C:{"47":0.00377,"52":0.02262,"78":0.00377,"88":0.01508,"91":0.00377,"102":0.00377,"103":0.00377,"105":0.00377,"106":0.00377,"107":0.00377,"110":0.00377,"112":0.00377,"113":0.00377,"114":0.00377,"115":0.53157,"116":0.00377,"120":0.00377,"121":0.00754,"122":0.00377,"123":0.00754,"124":0.00754,"125":0.00754,"126":0.01131,"127":0.04147,"128":0.04524,"129":0.61828,"130":3.01977,"131":0.00754,_:"2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 48 49 50 51 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 79 80 81 82 83 84 85 86 87 89 90 92 93 94 95 96 97 98 99 100 101 104 108 109 111 117 118 119 132 133 134 135 3.5 3.6"},D:{"49":0.00377,"56":0.00754,"58":0.00377,"76":0.00754,"78":0.00377,"79":0.39962,"85":0.00377,"87":0.01885,"88":0.00377,"89":0.01508,"90":0.00754,"93":0.00754,"94":0.01131,"95":0.00377,"97":0.00377,"98":0.00754,"99":0.10179,"101":0.00377,"102":0.00377,"103":0.01508,"104":1.51554,"105":0.00377,"106":0.00377,"107":0.00754,"108":0.01131,"109":0.71253,"110":0.00754,"111":0.04524,"112":0.00377,"113":0.02639,"114":0.03393,"115":0.00377,"116":0.04147,"117":0.00754,"118":0.01508,"119":0.01508,"120":0.03393,"121":0.03016,"122":0.10179,"123":0.09048,"124":0.09425,"125":0.04901,"126":0.10179,"127":0.52403,"128":10.8576,"129":5.08573,"130":0.00377,_:"4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 50 51 52 53 54 55 57 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 77 80 81 83 84 86 91 92 96 100 131 132 133"},F:{"79":0.00377,"83":0.00754,"84":0.09425,"85":0.00377,"94":0.00377,"95":0.11687,"102":0.00377,"106":0.00377,"109":0.12818,"110":0.00754,"111":0.0377,"112":3.67952,"113":3.86425,"114":0.01508,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 60 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 80 81 82 86 87 88 89 90 91 92 93 96 97 98 99 100 101 103 104 105 107 108 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"92":0.00377,"98":0.00754,"109":0.06786,"112":0.00377,"114":0.00754,"117":0.00377,"119":0.00377,"120":0.00754,"121":0.00377,"122":0.00377,"123":0.00377,"124":0.00754,"125":0.00754,"126":0.02262,"127":0.07917,"128":1.885,"129":0.93496,_:"12 13 14 15 16 17 18 79 80 81 83 84 85 86 87 88 89 90 91 93 94 95 96 97 99 100 101 102 103 104 105 106 107 108 110 111 113 115 116 118 130"},E:{"13":0.00377,"14":0.00377,_:"0 4 5 6 7 8 9 10 11 12 15 3.1 3.2 5.1 6.1 7.1 9.1 10.1 11.1 12.1","13.1":0.00754,"14.1":0.03393,"15.1":0.00377,"15.2-15.3":0.00377,"15.4":0.00377,"15.5":0.00377,"15.6":0.0377,"16.0":0.01131,"16.1":0.01131,"16.2":0.00754,"16.3":0.01885,"16.4":0.00754,"16.5":0.01131,"16.6":0.04901,"17.0":0.00754,"17.1":0.02262,"17.2":0.02262,"17.3":0.01885,"17.4":0.04147,"17.5":0.11687,"17.6":0.38831,"18.0":0.10933,"18.1":0.00754},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.0018,"5.0-5.1":0.0009,"6.0-6.1":0.00539,"7.0-7.1":0.00629,"8.1-8.4":0,"9.0-9.2":0.00539,"9.3":0.01528,"10.0-10.2":0.00449,"10.3":0.02607,"11.0-11.2":0.09619,"11.3-11.4":0.00719,"12.0-12.1":0.00449,"12.2-12.5":0.10878,"13.0-13.1":0.0018,"13.2":0.03416,"13.3":0.00449,"13.4-13.7":0.01798,"14.0-14.4":0.04135,"14.5-14.8":0.05484,"15.0-15.1":0.03146,"15.2-15.3":0.03057,"15.4":0.03506,"15.5":0.04315,"15.6-15.8":0.42702,"16.0":0.0863,"16.1":0.17081,"16.2":0.0854,"16.3":0.14384,"16.4":0.03057,"16.5":0.06023,"16.6-16.7":0.51422,"17.0":0.04315,"17.1":0.06832,"17.2":0.06203,"17.3":0.089,"17.4":0.19059,"17.5":0.91607,"17.6-17.7":4.87522,"18.0":0.61491,"18.1":0.02787},P:{"4":0.01021,"20":0.01021,"21":0.02041,"22":0.03062,"23":0.05103,"24":0.04082,"25":0.21431,"26":2.31656,_:"5.0-5.4 6.2-6.4 7.2-7.4 8.2 9.2 10.1 12.0 13.0 14.0 15.0 16.0","11.1-11.2":0.01021,"17.0":0.01021,"18.0":0.01021,"19.0":0.01021},I:{"0":0.01243,"3":0,"4":0,"2.1":0,"2.2":0,"2.3":0,"4.1":0,"4.2-4.3":0,"4.4":0,"4.4.3-4.4.4":0.00002},K:{"0":3.18976,_:"10 11 12 11.1 11.5 12.1"},A:{"8":0.00754,"11":0.01508,_:"6 7 9 10 5.5"},N:{_:"10 11"},S:{_:"2.5 3.0-3.1"},J:{_:"7 10"},O:{"0":0.08099},H:{"0":0},L:{"0":47.27613},R:{_:"0"},M:{"0":0.67284},Q:{_:"14.9"}}; diff --git a/node_modules/caniuse-lite/data/regions/PM.js b/node_modules/caniuse-lite/data/regions/PM.js index 8a51211ecb..f5e03e0f04 100644 --- a/node_modules/caniuse-lite/data/regions/PM.js +++ b/node_modules/caniuse-lite/data/regions/PM.js @@ -1 +1 @@ -module.exports={C:{"78":0.00496,"86":0.00992,"91":0.00496,"108":0.00992,"113":0.00992,"115":0.0744,"119":0.08928,"123":0.00496,"124":0.00496,"125":0.58528,"126":0.372,"127":0.00496,_:"2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 79 80 81 82 83 84 85 87 88 89 90 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 109 110 111 112 114 116 117 118 120 121 122 128 129 3.5 3.6"},D:{"103":0.03472,"109":0.31744,"116":0.02976,"120":0.00496,"122":0.03968,"123":0.51584,"124":10.54,"125":1.28464,_:"4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 104 105 106 107 108 110 111 112 113 114 115 117 118 119 121 126 127 128"},F:{"107":0.01488,"109":0.248,"110":0.00992,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 60 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 108 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"109":0.03472,"115":0.01488,"123":0.06448,"124":0.94736,"125":0.53072,_:"12 13 14 15 16 17 18 79 80 81 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 110 111 112 113 114 116 117 118 119 120 121 122"},E:{"15":0.00496,_:"0 4 5 6 7 8 9 10 11 12 13 14 3.1 3.2 5.1 6.1 7.1 9.1 10.1 11.1 12.1 17.6","13.1":0.0248,"14.1":0.05952,"15.1":0.20336,"15.2-15.3":0.06448,"15.4":0.00992,"15.5":0.03968,"15.6":0.7688,"16.0":0.0744,"16.1":0.28768,"16.2":0.43648,"16.3":1.22512,"16.4":0.40176,"16.5":0.93744,"16.6":3.70512,"17.0":0.16368,"17.1":0.79856,"17.2":1.22016,"17.3":0.73408,"17.4":20.05328,"17.5":1.96416},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.0089,"5.0-5.1":0.0089,"6.0-6.1":0.02224,"7.0-7.1":0.03113,"8.1-8.4":0.0089,"9.0-9.2":0.02224,"9.3":0.1023,"10.0-10.2":0.01779,"10.3":0.16012,"11.0-11.2":0.23573,"11.3-11.4":0.04448,"12.0-12.1":0.02669,"12.2-12.5":0.64493,"13.0-13.1":0.01334,"13.2":0.06227,"13.3":0.03113,"13.4-13.7":0.14233,"14.0-14.4":0.24463,"14.5-14.8":0.37806,"15.0-15.1":0.18236,"15.2-15.3":0.20015,"15.4":0.22684,"15.5":0.28466,"15.6-15.8":2.56193,"16.0":0.58266,"16.1":1.20091,"16.2":0.58266,"16.3":1.00965,"16.4":0.21349,"16.5":0.43144,"16.6-16.7":3.43815,"17.0":0.37362,"17.1":0.60935,"17.2":0.63604,"17.3":1.17422,"17.4":26.66456,"17.5":1.88142,"17.6":0},P:{"21":0.04203,"23":0.01051,"24":0.16811,"25":0.39927,_:"4 20 22 5.0-5.4 6.2-6.4 7.2-7.4 8.2 9.2 10.1 11.1-11.2 12.0 13.0 14.0 15.0 16.0 17.0 18.0 19.0"},I:{"0":0.01004,"3":0,"4":0,"2.1":0,"2.2":0,"2.3":0,"4.1":0,"4.2-4.3":0.00001,"4.4":0,"4.4.3-4.4.4":0.00002},K:{"0":0,_:"10 11 12 11.1 11.5 12.1"},A:{"11":0.00496,_:"6 7 8 9 10 5.5"},S:{_:"2.5 3.0-3.1"},J:{_:"7 10"},N:{_:"10 11"},L:{"0":5.25048},R:{_:"0"},M:{"0":0.07056},Q:{_:"14.9"},O:{_:"0"},H:{"0":0}}; +module.exports={C:{"115":0.05117,"126":0.01968,"129":0.16925,"130":0.2519,_:"2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 116 117 118 119 120 121 122 123 124 125 127 128 131 132 133 134 135 3.5 3.6"},D:{"100":0.02755,"103":0.01968,"109":0.04723,"114":0.02362,"116":0.01181,"125":0.01968,"126":0.0984,"127":0.13382,"128":2.6017,"129":0.61008,_:"4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 101 102 104 105 106 107 108 110 111 112 113 115 117 118 119 120 121 122 123 124 130 131 132 133"},F:{"109":0.01968,"112":0.22435,"113":0.24403,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 60 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 110 111 114 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"127":0.00394,"128":0.42509,"129":0.18499,_:"12 13 14 15 16 17 18 79 80 81 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 130"},E:{_:"0 4 5 6 7 8 9 10 11 12 13 14 15 3.1 3.2 5.1 6.1 7.1 9.1 10.1 11.1 12.1 15.4","13.1":0.00394,"14.1":0.02755,"15.1":0.24403,"15.2-15.3":0.00787,"15.5":0.00394,"15.6":0.7321,"16.0":0.34637,"16.1":0.4369,"16.2":0.47626,"16.3":0.67306,"16.4":0.33456,"16.5":0.35424,"16.6":3.16061,"17.0":0.14563,"17.1":0.61402,"17.2":0.90134,"17.3":0.53923,"17.4":2.8969,"17.5":3.44006,"17.6":17.20426,"18.0":0.72816,"18.1":0.02362},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.01164,"5.0-5.1":0.00582,"6.0-6.1":0.03492,"7.0-7.1":0.04073,"8.1-8.4":0,"9.0-9.2":0.03492,"9.3":0.09893,"10.0-10.2":0.0291,"10.3":0.16876,"11.0-11.2":0.62266,"11.3-11.4":0.04655,"12.0-12.1":0.0291,"12.2-12.5":0.70413,"13.0-13.1":0.01164,"13.2":0.22113,"13.3":0.0291,"13.4-13.7":0.11639,"14.0-14.4":0.26769,"14.5-14.8":0.35498,"15.0-15.1":0.20367,"15.2-15.3":0.19786,"15.4":0.22695,"15.5":0.27932,"15.6-15.8":2.76415,"16.0":0.55865,"16.1":1.10566,"16.2":0.55283,"16.3":0.93108,"16.4":0.19786,"16.5":0.38989,"16.6-16.7":3.32862,"17.0":0.27932,"17.1":0.44226,"17.2":0.40153,"17.3":0.57611,"17.4":1.23368,"17.5":5.92983,"17.6-17.7":31.55789,"18.0":3.98038,"18.1":0.1804},P:{"25":0.06206,"26":0.11377,_:"4 20 21 22 23 24 5.0-5.4 6.2-6.4 7.2-7.4 8.2 9.2 10.1 11.1-11.2 12.0 13.0 14.0 15.0 16.0 17.0 18.0 19.0"},I:{"0":0.00605,"3":0,"4":0,"2.1":0,"2.2":0,"2.3":0,"4.1":0,"4.2-4.3":0,"4.4":0,"4.4.3-4.4.4":0.00001},K:{"0":0,_:"10 11 12 11.1 11.5 12.1"},A:{_:"6 7 8 9 10 11 5.5"},N:{_:"10 11"},S:{_:"2.5 3.0-3.1"},J:{_:"7 10"},O:{_:"0"},H:{"0":0},L:{"0":2.23566},R:{_:"0"},M:{"0":0.05457},Q:{_:"14.9"}}; diff --git a/node_modules/caniuse-lite/data/regions/PN.js b/node_modules/caniuse-lite/data/regions/PN.js index b381fec380..2a257948de 100644 --- a/node_modules/caniuse-lite/data/regions/PN.js +++ b/node_modules/caniuse-lite/data/regions/PN.js @@ -1 +1 @@ -module.exports={C:{"125":1.961,_:"2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 126 127 128 129 3.5 3.6"},D:{"124":19.61,"125":1.961,_:"4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 126 127 128"},F:{"109":11.766,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 60 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 110 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{_:"12 13 14 15 16 17 18 79 80 81 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125"},E:{_:"0 4 5 6 7 8 9 10 11 12 13 14 15 3.1 3.2 5.1 6.1 7.1 9.1 10.1 11.1 12.1 13.1 14.1 15.1 15.2-15.3 15.4 15.5 15.6 16.0 16.1 16.2 16.3 16.4 16.5 16.6 17.0 17.1 17.2 17.3 17.4 17.5 17.6"},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.01216,"5.0-5.1":0.01216,"6.0-6.1":0.03039,"7.0-7.1":0.04255,"8.1-8.4":0.01216,"9.0-9.2":0.03039,"9.3":0.13979,"10.0-10.2":0.02431,"10.3":0.21881,"11.0-11.2":0.32213,"11.3-11.4":0.06078,"12.0-12.1":0.03647,"12.2-12.5":0.88131,"13.0-13.1":0.01823,"13.2":0.08509,"13.3":0.04255,"13.4-13.7":0.1945,"14.0-14.4":0.33429,"14.5-14.8":0.51663,"15.0-15.1":0.2492,"15.2-15.3":0.27351,"15.4":0.30998,"15.5":0.38899,"15.6-15.8":3.50093,"16.0":0.79622,"16.1":1.64106,"16.2":0.79622,"16.3":1.37971,"16.4":0.29174,"16.5":0.58957,"16.6-16.7":4.69829,"17.0":0.51055,"17.1":0.83269,"17.2":0.86915,"17.3":1.60459,"17.4":36.43761,"17.5":2.57099,"17.6":0},P:{_:"4 20 21 22 23 24 25 5.0-5.4 6.2-6.4 7.2-7.4 8.2 9.2 10.1 11.1-11.2 12.0 13.0 14.0 15.0 16.0 17.0 18.0 19.0"},I:{"0":0,"3":0,"4":0,"2.1":0,"2.2":0,"2.3":0,"4.1":0,"4.2-4.3":0,"4.4":0,"4.4.3-4.4.4":0},K:{"0":0,_:"10 11 12 11.1 11.5 12.1"},A:{_:"6 7 8 9 10 11 5.5"},S:{_:"2.5 3.0-3.1"},J:{_:"7 10"},N:{_:"10 11"},L:{_:"0"},R:{_:"0"},M:{_:"0"},Q:{_:"14.9"},O:{_:"0"},H:{"0":0}}; +module.exports={C:{_:"2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 3.5 3.6"},D:{"128":45.15774,_:"4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 129 130 131 132 133"},F:{"113":20.96666,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 60 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 114 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"128":6.44885,"129":6.44885,_:"12 13 14 15 16 17 18 79 80 81 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 130"},E:{_:"0 4 5 6 7 8 9 10 11 12 13 14 15 3.1 3.2 5.1 6.1 7.1 9.1 10.1 11.1 12.1 13.1 14.1 15.1 15.2-15.3 15.4 15.5 15.6 16.0 16.1 16.2 16.3 16.4 16.5 16.6 17.0 17.1 17.2 17.3 17.4 17.5 17.6 18.0 18.1"},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.00226,"5.0-5.1":0.00113,"6.0-6.1":0.00678,"7.0-7.1":0.0079,"8.1-8.4":0,"9.0-9.2":0.00678,"9.3":0.0192,"10.0-10.2":0.00565,"10.3":0.03275,"11.0-11.2":0.12083,"11.3-11.4":0.00903,"12.0-12.1":0.00565,"12.2-12.5":0.13664,"13.0-13.1":0.00226,"13.2":0.04291,"13.3":0.00565,"13.4-13.7":0.02258,"14.0-14.4":0.05194,"14.5-14.8":0.06888,"15.0-15.1":0.03952,"15.2-15.3":0.03839,"15.4":0.04404,"15.5":0.0542,"15.6-15.8":0.53639,"16.0":0.10841,"16.1":0.21455,"16.2":0.10728,"16.3":0.18068,"16.4":0.03839,"16.5":0.07566,"16.6-16.7":0.64592,"17.0":0.0542,"17.1":0.08582,"17.2":0.07792,"17.3":0.11179,"17.4":0.2394,"17.5":1.15069,"17.6-17.7":6.12384,"18.0":0.7724,"18.1":0.03501},P:{_:"4 20 21 22 23 24 25 26 5.0-5.4 6.2-6.4 7.2-7.4 8.2 9.2 10.1 11.1-11.2 12.0 13.0 14.0 15.0 16.0 17.0 18.0 19.0"},I:{"0":0,"3":0,"4":0,"2.1":0,"2.2":0,"2.3":0,"4.1":0,"4.2-4.3":0,"4.4":0,"4.4.3-4.4.4":0},K:{"0":0,_:"10 11 12 11.1 11.5 12.1"},A:{_:"6 7 8 9 10 11 5.5"},N:{_:"10 11"},S:{_:"2.5 3.0-3.1"},J:{_:"7 10"},O:{_:"0"},H:{"0":0},L:{"0":3.22519},R:{_:"0"},M:{_:"0"},Q:{_:"14.9"}}; diff --git a/node_modules/caniuse-lite/data/regions/PR.js b/node_modules/caniuse-lite/data/regions/PR.js index 3158765529..5e13c9e8f1 100644 --- a/node_modules/caniuse-lite/data/regions/PR.js +++ b/node_modules/caniuse-lite/data/regions/PR.js @@ -1 +1 @@ -module.exports={C:{"52":0.00352,"78":0.00705,"115":0.10924,"120":0.07753,"121":0.00352,"122":0.00352,"123":0.00352,"124":0.06696,"125":0.75414,"126":0.6026,"127":0.00352,_:"2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 116 117 118 119 128 129 3.5 3.6"},D:{"38":0.00352,"41":0.0141,"43":0.00352,"44":0.00352,"45":0.00705,"46":0.00352,"49":0.02114,"51":0.00352,"65":0.02819,"70":0.00705,"74":0.00352,"76":0.00352,"77":0.00352,"79":0.01057,"84":0.00352,"85":0.0141,"87":0.0141,"88":0.00705,"89":0.00352,"90":0.00352,"93":0.00352,"94":0.00705,"95":0.00352,"98":0.00352,"99":0.00352,"100":0.00352,"101":0.00705,"102":0.00352,"103":0.07048,"105":0.01057,"106":0.01057,"107":0.0141,"108":0.01762,"109":1.36379,"110":0.00352,"111":0.0141,"112":0.00352,"113":0.07048,"114":0.0141,"115":0.00705,"116":0.0881,"117":0.00352,"118":0.01057,"119":0.09515,"120":0.03524,"121":0.05991,"122":0.18677,"123":0.76823,"124":11.77368,"125":3.78125,"126":0.0141,_:"4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 39 40 42 47 48 50 52 53 54 55 56 57 58 59 60 61 62 63 64 66 67 68 69 71 72 73 75 78 80 81 83 86 91 92 96 97 104 127 128"},F:{"28":0.00352,"69":0.0141,"73":0.00352,"86":0.00352,"94":0.00705,"95":0.03524,"106":0.01762,"107":0.31364,"108":0.01057,"109":0.99377,"110":0.03876,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 60 62 63 64 65 66 67 68 70 71 72 74 75 76 77 78 79 80 81 82 83 84 85 87 88 89 90 91 92 93 96 97 98 99 100 101 102 103 104 105 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"15":0.00352,"17":0.01762,"18":0.00705,"89":0.00352,"90":0.00352,"92":0.00705,"97":0.00352,"100":0.01057,"107":0.01057,"108":0.01057,"109":0.02819,"110":0.00352,"111":0.00705,"112":0.00352,"113":0.00352,"114":0.01057,"115":0.01057,"116":0.00352,"117":0.00352,"118":0.00352,"119":0.07048,"120":0.02467,"121":0.02114,"122":0.05991,"123":0.16563,"124":4.77502,"125":2.28003,_:"12 13 14 16 79 80 81 83 84 85 86 87 88 91 93 94 95 96 98 99 101 102 103 104 105 106"},E:{"9":0.00352,"13":0.00352,"14":0.03876,"15":0.00352,_:"0 4 5 6 7 8 10 11 12 3.1 3.2 5.1 6.1 7.1 9.1 10.1 11.1 17.6","12.1":0.00352,"13.1":0.03172,"14.1":0.1762,"15.1":0.02819,"15.2-15.3":0.01762,"15.4":0.02114,"15.5":0.05991,"15.6":0.18325,"16.0":0.0141,"16.1":0.05991,"16.2":0.04581,"16.3":0.18677,"16.4":0.03172,"16.5":0.11277,"16.6":0.50746,"17.0":0.06696,"17.1":0.0881,"17.2":0.11982,"17.3":0.20087,"17.4":2.08973,"17.5":0.38412},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.00547,"5.0-5.1":0.00547,"6.0-6.1":0.01366,"7.0-7.1":0.01913,"8.1-8.4":0.00547,"9.0-9.2":0.01366,"9.3":0.06286,"10.0-10.2":0.01093,"10.3":0.09838,"11.0-11.2":0.14484,"11.3-11.4":0.02733,"12.0-12.1":0.0164,"12.2-12.5":0.39627,"13.0-13.1":0.0082,"13.2":0.03826,"13.3":0.01913,"13.4-13.7":0.08745,"14.0-14.4":0.15031,"14.5-14.8":0.23229,"15.0-15.1":0.11205,"15.2-15.3":0.12298,"15.4":0.13938,"15.5":0.1749,"15.6-15.8":1.57413,"16.0":0.35801,"16.1":0.73788,"16.2":0.35801,"16.3":0.62036,"16.4":0.13118,"16.5":0.26509,"16.6-16.7":2.11251,"17.0":0.22956,"17.1":0.3744,"17.2":0.3908,"17.3":0.72148,"17.4":16.38357,"17.5":1.156,"17.6":0},P:{"4":0.19153,"20":0.02128,"21":0.0532,"22":0.0532,"23":0.13833,"24":0.3405,"25":2.5431,"5.0-5.4":0.01064,"6.2-6.4":0.01064,"7.2-7.4":0.01064,"8.2":0.01064,_:"9.2 10.1 12.0 14.0 15.0","11.1-11.2":0.01064,"13.0":0.01064,"16.0":0.01064,"17.0":0.01064,"18.0":0.02128,"19.0":0.01064},I:{"0":0.05161,"3":0,"4":0.00001,"2.1":0,"2.2":0,"2.3":0,"4.1":0.00001,"4.2-4.3":0.00003,"4.4":0,"4.4.3-4.4.4":0.00011},K:{"0":0.20723,_:"10 11 12 11.1 11.5 12.1"},A:{"7":0.00352,"8":0.01762,"9":0.00352,"10":0.00352,"11":0.03172,_:"6 5.5"},S:{_:"2.5 3.0-3.1"},J:{_:"7 10"},N:{_:"10 11"},L:{"0":34.29814},R:{_:"0"},M:{"0":0.37561},Q:{_:"14.9"},O:{"0":0.00648},H:{"0":0}}; +module.exports={C:{"78":0.02129,"115":0.07808,"120":0.00355,"122":0.00355,"124":0.00355,"125":0.06388,"126":0.0071,"127":0.0071,"128":0.0142,"129":0.32296,"130":1.29893,"131":0.00355,_:"2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 116 117 118 119 121 123 132 133 134 135 3.5 3.6"},D:{"49":0.00355,"65":0.0071,"72":0.00355,"74":0.00355,"76":0.0142,"77":0.01065,"79":0.02484,"81":0.00355,"84":0.00355,"85":0.00355,"87":0.02839,"88":0.00355,"89":0.00355,"91":0.00355,"93":0.00355,"94":0.01065,"101":0.01775,"102":0.00355,"103":0.08163,"105":0.01065,"106":0.0071,"107":0.0142,"108":0.02484,"109":0.74884,"111":0.02129,"112":0.0071,"113":0.07098,"114":0.01065,"115":0.04969,"116":0.09937,"117":0.00355,"118":0.0071,"119":0.02484,"120":0.02484,"121":0.02484,"122":0.13131,"123":0.03549,"124":0.18455,"125":0.05324,"126":0.23423,"127":1.06825,"128":11.62652,"129":3.39994,"130":0.04969,"131":0.00355,_:"4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 66 67 68 69 70 71 73 75 78 80 83 86 90 92 95 96 97 98 99 100 104 110 132 133"},F:{"73":0.0071,"84":0.00355,"94":0.0071,"95":0.00355,"109":0.03904,"111":0.0071,"112":0.63172,"113":0.37974,"114":0.00355,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 60 62 63 64 65 66 67 68 69 70 71 72 74 75 76 77 78 79 80 81 82 83 85 86 87 88 89 90 91 92 93 96 97 98 99 100 101 102 103 104 105 106 107 108 110 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"17":0.00355,"18":0.0071,"89":0.0142,"92":0.0071,"100":0.00355,"103":0.00355,"107":0.0071,"108":0.00355,"109":0.01775,"112":0.00355,"114":0.03194,"118":0.00355,"119":0.03194,"120":0.00355,"121":0.03194,"122":0.0071,"123":0.0071,"124":0.01775,"125":0.04969,"126":0.03549,"127":0.24133,"128":4.95086,"129":2.01938,_:"12 13 14 15 16 79 80 81 83 84 85 86 87 88 90 91 93 94 95 96 97 98 99 101 102 104 105 106 110 111 113 115 116 117 130"},E:{"13":0.00355,"14":0.03194,"15":0.0142,_:"0 4 5 6 7 8 9 10 11 12 3.1 3.2 5.1 6.1 7.1 9.1 10.1 11.1","12.1":0.00355,"13.1":0.02839,"14.1":0.11712,"15.1":0.01775,"15.2-15.3":0.01775,"15.4":0.0142,"15.5":0.02484,"15.6":0.42233,"16.0":0.0142,"16.1":0.04614,"16.2":0.04614,"16.3":0.15971,"16.4":0.02484,"16.5":0.05678,"16.6":0.25553,"17.0":0.03904,"17.1":0.03904,"17.2":0.07453,"17.3":0.07453,"17.4":0.25198,"17.5":0.67076,"17.6":2.29975,"18.0":0.27682,"18.1":0.02129},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.00564,"5.0-5.1":0.00282,"6.0-6.1":0.01691,"7.0-7.1":0.01972,"8.1-8.4":0,"9.0-9.2":0.01691,"9.3":0.0479,"10.0-10.2":0.01409,"10.3":0.08171,"11.0-11.2":0.30148,"11.3-11.4":0.02254,"12.0-12.1":0.01409,"12.2-12.5":0.34093,"13.0-13.1":0.00564,"13.2":0.10707,"13.3":0.01409,"13.4-13.7":0.05635,"14.0-14.4":0.12961,"14.5-14.8":0.17187,"15.0-15.1":0.09862,"15.2-15.3":0.0958,"15.4":0.10989,"15.5":0.13524,"15.6-15.8":1.33835,"16.0":0.27049,"16.1":0.53534,"16.2":0.26767,"16.3":0.45081,"16.4":0.0958,"16.5":0.18878,"16.6-16.7":1.61166,"17.0":0.13524,"17.1":0.21414,"17.2":0.19441,"17.3":0.27894,"17.4":0.59733,"17.5":2.87112,"17.6-17.7":15.27978,"18.0":1.92723,"18.1":0.08735},P:{"4":0.04177,"20":0.01044,"21":0.01044,"22":0.04177,"23":0.04177,"24":0.08354,"25":0.25062,"26":3.0179,"5.0-5.4":0.01044,"6.2-6.4":0.01044,_:"7.2-7.4 8.2 9.2 10.1 12.0 14.0 15.0","11.1-11.2":0.01044,"13.0":0.01044,"16.0":0.02089,"17.0":0.01044,"18.0":0.03133,"19.0":0.01044},I:{"0":0.01287,"3":0,"4":0,"2.1":0,"2.2":0,"2.3":0,"4.1":0,"4.2-4.3":0.00001,"4.4":0,"4.4.3-4.4.4":0.00002},K:{"0":0.27744,_:"10 11 12 11.1 11.5 12.1"},A:{"11":0.0071,_:"6 7 8 9 10 5.5"},N:{_:"10 11"},S:{_:"2.5 3.0-3.1"},J:{_:"7 10"},O:{"0":0.00645},H:{"0":0},L:{"0":33.32701},R:{_:"0"},M:{"0":0.3097},Q:{_:"14.9"}}; diff --git a/node_modules/caniuse-lite/data/regions/PS.js b/node_modules/caniuse-lite/data/regions/PS.js index 7674524eb3..815a57400e 100644 --- a/node_modules/caniuse-lite/data/regions/PS.js +++ b/node_modules/caniuse-lite/data/regions/PS.js @@ -1 +1 @@ -module.exports={C:{"52":0.00201,"78":0.00201,"106":0.00201,"110":0.00201,"115":0.04012,"118":0.00401,"121":0.00201,"122":0.00401,"123":0.00802,"124":0.01204,"125":0.22467,"126":0.19859,"127":0.00201,_:"2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 107 108 109 111 112 113 114 116 117 119 120 128 129 3.5 3.6"},D:{"11":0.00201,"33":0.00201,"34":0.00401,"38":0.00802,"43":0.00201,"49":0.00401,"53":0.00201,"56":0.00401,"58":0.00201,"63":0.00201,"65":0.00201,"68":0.00802,"69":0.00602,"70":0.00201,"71":0.00201,"72":0.00602,"73":0.01204,"76":0.00201,"77":0.02407,"78":0.01204,"79":0.0321,"80":0.00401,"81":0.00201,"83":0.03009,"84":0.00201,"85":0.00201,"86":0.00802,"87":0.04213,"88":0.00201,"89":0.00602,"90":0.00602,"91":0.00201,"92":0.00201,"94":0.00201,"95":0.00201,"97":0.00201,"98":0.0341,"99":0.00401,"100":0.01605,"101":0.00201,"102":0.01003,"103":0.01003,"104":0.00802,"105":0.00802,"106":0.01003,"107":0.00602,"108":0.01404,"109":1.13138,"110":0.01404,"111":0.00602,"112":0.03611,"113":0.00201,"114":0.01003,"115":0.00401,"116":0.04213,"117":0.05416,"118":0.01204,"119":0.04012,"120":0.05015,"121":0.06219,"122":0.11835,"123":0.32698,"124":9.01898,"125":3.82945,"126":0.00602,_:"4 5 6 7 8 9 10 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 35 36 37 39 40 41 42 44 45 46 47 48 50 51 52 54 55 57 59 60 61 62 64 66 67 74 75 93 96 127 128"},F:{"46":0.01003,"79":0.00201,"95":0.00602,"102":0.00401,"107":0.12638,"108":0.00602,"109":0.4353,"110":0.03009,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 47 48 49 50 51 52 53 54 55 56 57 58 60 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 96 97 98 99 100 101 103 104 105 106 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"16":0.00201,"18":0.00401,"92":0.01003,"100":0.00201,"108":0.00201,"109":0.02808,"112":0.00201,"113":0.00201,"114":0.00201,"117":0.01404,"118":0.00201,"119":0.00201,"120":0.00602,"121":0.00401,"122":0.01805,"123":0.05617,"124":1.02507,"125":0.54162,_:"12 13 14 15 17 79 80 81 83 84 85 86 87 88 89 90 91 93 94 95 96 97 98 99 101 102 103 104 105 106 107 110 111 115 116"},E:{"14":0.00401,_:"0 4 5 6 7 8 9 10 11 12 13 15 3.1 3.2 6.1 7.1 9.1 10.1 11.1 12.1 17.6","5.1":0.00201,"13.1":0.01003,"14.1":0.01805,"15.1":0.00201,"15.2-15.3":0.00401,"15.4":0.00602,"15.5":0.00401,"15.6":0.03811,"16.0":0.00201,"16.1":0.03009,"16.2":0.00802,"16.3":0.03009,"16.4":0.0321,"16.5":0.01003,"16.6":0.1324,"17.0":0.01003,"17.1":0.01605,"17.2":0.02207,"17.3":0.03611,"17.4":0.35306,"17.5":0.05416},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.00306,"5.0-5.1":0.00306,"6.0-6.1":0.00766,"7.0-7.1":0.01072,"8.1-8.4":0.00306,"9.0-9.2":0.00766,"9.3":0.03523,"10.0-10.2":0.00613,"10.3":0.05514,"11.0-11.2":0.08118,"11.3-11.4":0.01532,"12.0-12.1":0.00919,"12.2-12.5":0.22209,"13.0-13.1":0.00459,"13.2":0.02144,"13.3":0.01072,"13.4-13.7":0.04901,"14.0-14.4":0.08424,"14.5-14.8":0.13019,"15.0-15.1":0.0628,"15.2-15.3":0.06892,"15.4":0.07811,"15.5":0.09803,"15.6-15.8":0.88223,"16.0":0.20065,"16.1":0.41355,"16.2":0.20065,"16.3":0.34768,"16.4":0.07352,"16.5":0.14857,"16.6-16.7":1.18397,"17.0":0.12866,"17.1":0.20984,"17.2":0.21903,"17.3":0.40436,"17.4":9.18224,"17.5":0.64789,"17.6":0},P:{"4":0.082,"20":0.05125,"21":0.11275,"22":0.28701,"23":0.36901,"24":0.44076,"25":2.35755,"5.0-5.4":0.01025,"6.2-6.4":0.01025,"7.2-7.4":0.09225,_:"8.2 10.1 12.0","9.2":0.01025,"11.1-11.2":0.05125,"13.0":0.041,"14.0":0.041,"15.0":0.05125,"16.0":0.05125,"17.0":0.05125,"18.0":0.03075,"19.0":0.07175},I:{"0":0.05574,"3":0,"4":0.00001,"2.1":0,"2.2":0,"2.3":0,"4.1":0.00001,"4.2-4.3":0.00003,"4.4":0,"4.4.3-4.4.4":0.00012},K:{"0":0.89332,_:"10 11 12 11.1 11.5 12.1"},A:{"8":0.00244,"11":0.05373,_:"6 7 9 10 5.5"},S:{_:"2.5 3.0-3.1"},J:{_:"7 10"},N:{_:"10 11"},L:{"0":60.29285},R:{_:"0"},M:{"0":0.10392},Q:{_:"14.9"},O:{"0":0.07195},H:{"0":0.01}}; +module.exports={C:{"52":0.0013,"72":0.0013,"110":0.0013,"115":0.0351,"118":0.0026,"122":0.0013,"123":0.0026,"125":0.0039,"126":0.0013,"127":0.0091,"128":0.0052,"129":0.0611,"130":0.2613,"131":0.0013,_:"2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 111 112 113 114 116 117 119 120 121 124 132 133 134 135 3.5 3.6"},D:{"38":0.0078,"53":0.0013,"56":0.0052,"58":0.0013,"65":0.0013,"66":0.0026,"68":0.0013,"69":0.0039,"71":0.0026,"72":0.0052,"73":0.0039,"75":0.0013,"76":0.0013,"77":0.0364,"78":0.0182,"79":0.0208,"80":0.0013,"81":0.0052,"83":0.013,"84":0.0013,"85":0.0013,"86":0.0039,"87":0.0208,"88":0.0026,"89":0.0091,"90":0.0026,"91":0.0039,"92":0.0026,"94":0.0052,"95":0.0026,"96":0.0013,"97":0.0052,"98":0.0052,"99":0.0026,"100":0.0195,"101":0.0013,"102":0.0013,"103":0.0065,"104":0.0026,"105":0.0026,"106":0.0065,"107":0.0065,"108":0.0039,"109":0.6279,"110":0.0052,"111":0.0026,"112":0.0195,"113":0.0013,"114":0.0065,"115":0.0026,"116":0.0247,"117":0.0884,"118":0.026,"119":0.0156,"120":0.0156,"121":0.0169,"122":0.0429,"123":0.0481,"124":0.0507,"125":0.0559,"126":0.1066,"127":0.3562,"128":6.4246,"129":2.0033,"130":0.0039,"131":0.0013,_:"4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 39 40 41 42 43 44 45 46 47 48 49 50 51 52 54 55 57 59 60 61 62 63 64 67 70 74 93 132 133"},F:{"46":0.0052,"79":0.0013,"84":0.0013,"90":0.0013,"95":0.0065,"102":0.0013,"109":0.0026,"111":0.0026,"112":0.1586,"113":0.1092,"114":0.0013,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 47 48 49 50 51 52 53 54 55 56 57 58 60 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 80 81 82 83 85 86 87 88 89 91 92 93 94 96 97 98 99 100 101 103 104 105 106 107 108 110 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"18":0.0052,"84":0.0026,"89":0.0026,"92":0.013,"94":0.0013,"100":0.0013,"108":0.0013,"109":0.0117,"114":0.0039,"115":0.0013,"116":0.0026,"117":0.0273,"118":0.0039,"119":0.0026,"120":0.0026,"121":0.0013,"122":0.0039,"123":0.0013,"124":0.0104,"125":0.0078,"126":0.013,"127":0.0351,"128":0.7176,"129":0.3107,_:"12 13 14 15 16 17 79 80 81 83 85 86 87 88 90 91 93 95 96 97 98 99 101 102 103 104 105 106 107 110 111 112 113 130"},E:{"13":0.0013,"14":0.0039,_:"0 4 5 6 7 8 9 10 11 12 15 3.1 3.2 6.1 7.1 9.1 10.1 11.1 12.1","5.1":0.0013,"13.1":0.0026,"14.1":0.0052,"15.1":0.0013,"15.2-15.3":0.0013,"15.4":0.0013,"15.5":0.0091,"15.6":0.0156,"16.0":0.0026,"16.1":0.0104,"16.2":0.0026,"16.3":0.0156,"16.4":0.0026,"16.5":0.0039,"16.6":0.0377,"17.0":0.013,"17.1":0.0065,"17.2":0.0026,"17.3":0.0065,"17.4":0.0182,"17.5":0.0468,"17.6":0.1586,"18.0":0.0273,"18.1":0.0013},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.00176,"5.0-5.1":0.00088,"6.0-6.1":0.00528,"7.0-7.1":0.00616,"8.1-8.4":0,"9.0-9.2":0.00528,"9.3":0.01495,"10.0-10.2":0.0044,"10.3":0.02551,"11.0-11.2":0.09411,"11.3-11.4":0.00704,"12.0-12.1":0.0044,"12.2-12.5":0.10643,"13.0-13.1":0.00176,"13.2":0.03342,"13.3":0.0044,"13.4-13.7":0.01759,"14.0-14.4":0.04046,"14.5-14.8":0.05365,"15.0-15.1":0.03078,"15.2-15.3":0.02991,"15.4":0.0343,"15.5":0.04222,"15.6-15.8":0.4178,"16.0":0.08444,"16.1":0.16712,"16.2":0.08356,"16.3":0.14073,"16.4":0.02991,"16.5":0.05893,"16.6-16.7":0.50311,"17.0":0.04222,"17.1":0.06685,"17.2":0.06069,"17.3":0.08708,"17.4":0.18647,"17.5":0.89628,"17.6-17.7":4.76991,"18.0":0.60163,"18.1":0.02727},P:{"4":0.03056,"20":0.04074,"21":0.12222,"22":0.47871,"23":0.24445,"24":0.17315,"25":0.79446,"26":1.44632,_:"5.0-5.4 6.2-6.4 8.2 10.1","7.2-7.4":0.04074,"9.2":0.02037,"11.1-11.2":0.05093,"12.0":0.02037,"13.0":0.04074,"14.0":0.03056,"15.0":0.01019,"16.0":0.04074,"17.0":0.06111,"18.0":0.04074,"19.0":0.0713},I:{"0":0.05206,"3":0,"4":0,"2.1":0,"2.2":0,"2.3":0,"4.1":0.00001,"4.2-4.3":0.00002,"4.4":0,"4.4.3-4.4.4":0.00008},K:{"0":0.3989,_:"10 11 12 11.1 11.5 12.1"},A:{"11":0.0039,_:"6 7 8 9 10 5.5"},N:{_:"10 11"},S:{_:"2.5 3.0-3.1"},J:{_:"7 10"},O:{"0":0.0261},H:{"0":0.01},L:{"0":74.3392},R:{_:"0"},M:{"0":0.0522},Q:{_:"14.9"}}; diff --git a/node_modules/caniuse-lite/data/regions/PT.js b/node_modules/caniuse-lite/data/regions/PT.js index 249a9407e9..e20ad745e0 100644 --- a/node_modules/caniuse-lite/data/regions/PT.js +++ b/node_modules/caniuse-lite/data/regions/PT.js @@ -1 +1 @@ -module.exports={C:{"52":0.0907,"78":0.01134,"83":0.01134,"88":0.00567,"91":0.00567,"102":0.00567,"103":0.00567,"113":0.00567,"115":0.23243,"117":0.01134,"120":0.00567,"121":0.00567,"122":0.00567,"123":0.02268,"124":0.04535,"125":1.24151,"126":4.12136,"127":0.00567,_:"2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 79 80 81 82 84 85 86 87 89 90 92 93 94 95 96 97 98 99 100 101 104 105 106 107 108 109 110 111 112 114 116 118 119 128 129 3.5 3.6"},D:{"38":0.00567,"43":0.00567,"49":0.02268,"58":0.00567,"62":0.00567,"63":0.01701,"79":0.02835,"80":0.02268,"81":0.00567,"85":0.00567,"87":0.03401,"88":0.01701,"89":0.02268,"90":0.00567,"91":0.02835,"92":0.00567,"93":0.00567,"94":0.01701,"95":0.00567,"96":0.00567,"97":0.00567,"98":0.00567,"99":0.01134,"100":0.00567,"101":0.01134,"102":0.01134,"103":0.05102,"104":0.01134,"105":0.00567,"106":0.01701,"107":0.01134,"108":0.02268,"109":1.2245,"110":0.01701,"111":0.01134,"112":0.01701,"113":0.05669,"114":0.06803,"115":0.05102,"116":0.15873,"117":0.03968,"118":0.01701,"119":0.05102,"120":0.11905,"121":0.11905,"122":0.44218,"123":1.00908,"124":22.3472,"125":8.45815,"126":0.00567,_:"4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 39 40 41 42 44 45 46 47 48 50 51 52 53 54 55 56 57 59 60 61 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 83 84 86 127 128"},F:{"28":0.00567,"89":0.00567,"95":0.02835,"102":0.00567,"107":1.16215,"108":0.02835,"109":3.54313,"110":0.0907,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 60 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 90 91 92 93 94 96 97 98 99 100 101 103 104 105 106 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"18":0.00567,"91":0.00567,"92":0.01134,"107":0.00567,"108":0.00567,"109":0.0737,"110":0.00567,"111":0.00567,"113":0.00567,"114":0.00567,"116":0.00567,"117":0.00567,"118":0.00567,"119":0.01134,"120":0.02835,"121":0.02268,"122":0.03968,"123":0.27778,"124":4.45583,"125":2.44334,_:"12 13 14 15 16 17 79 80 81 83 84 85 86 87 88 89 90 93 94 95 96 97 98 99 100 101 102 103 104 105 106 112 115"},E:{"14":0.02268,"15":0.00567,_:"0 4 5 6 7 8 9 10 11 12 13 3.1 3.2 5.1 6.1 7.1 9.1 10.1 17.6","11.1":0.00567,"12.1":0.00567,"13.1":0.06803,"14.1":0.10204,"15.1":0.00567,"15.2-15.3":0.01701,"15.4":0.02268,"15.5":0.02835,"15.6":0.18708,"16.0":0.02268,"16.1":0.06236,"16.2":0.03968,"16.3":0.08504,"16.4":0.04535,"16.5":0.06236,"16.6":0.23243,"17.0":0.05102,"17.1":0.0737,"17.2":0.10204,"17.3":0.09637,"17.4":1.26419,"17.5":0.22676},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.0022,"5.0-5.1":0.0022,"6.0-6.1":0.0055,"7.0-7.1":0.00771,"8.1-8.4":0.0022,"9.0-9.2":0.0055,"9.3":0.02532,"10.0-10.2":0.0044,"10.3":0.03963,"11.0-11.2":0.05835,"11.3-11.4":0.01101,"12.0-12.1":0.00661,"12.2-12.5":0.15964,"13.0-13.1":0.0033,"13.2":0.01541,"13.3":0.00771,"13.4-13.7":0.03523,"14.0-14.4":0.06055,"14.5-14.8":0.09358,"15.0-15.1":0.04514,"15.2-15.3":0.04954,"15.4":0.05615,"15.5":0.07046,"15.6-15.8":0.63414,"16.0":0.14422,"16.1":0.29725,"16.2":0.14422,"16.3":0.24991,"16.4":0.05285,"16.5":0.10679,"16.6-16.7":0.85103,"17.0":0.09248,"17.1":0.15083,"17.2":0.15743,"17.3":0.29065,"17.4":6.60014,"17.5":0.4657,"17.6":0},P:{"4":0.04185,"20":0.01046,"21":0.02093,"22":0.05232,"23":0.06278,"24":0.11509,"25":1.75779,_:"5.0-5.4 6.2-6.4 8.2 9.2 10.1 11.1-11.2 12.0 14.0 15.0 18.0","7.2-7.4":0.01046,"13.0":0.01046,"16.0":0.01046,"17.0":0.01046,"19.0":0.01046},I:{"0":0.07334,"3":0,"4":0.00001,"2.1":0,"2.2":0,"2.3":0,"4.1":0.00001,"4.2-4.3":0.00004,"4.4":0,"4.4.3-4.4.4":0.00016},K:{"0":0.3768,_:"10 11 12 11.1 11.5 12.1"},A:{"8":0.00611,"11":0.07326,_:"6 7 9 10 5.5"},S:{_:"2.5 3.0-3.1"},J:{_:"7 10"},N:{_:"10 11"},L:{"0":29.3022},R:{_:"0"},M:{"0":0.23821},Q:{"14.9":0.00433},O:{"0":0.08662},H:{"0":0}}; +module.exports={C:{"52":0.01667,"68":0.00556,"78":0.01112,"83":0.01667,"102":0.00556,"103":0.00556,"106":0.00556,"108":0.00556,"113":0.00556,"115":0.22232,"122":0.00556,"123":0.00556,"124":0.04446,"125":0.01667,"126":0.00556,"127":0.01667,"128":0.03335,"129":0.35015,"130":1.89528,"131":0.00556,_:"2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 69 70 71 72 73 74 75 76 77 79 80 81 82 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 104 105 107 109 110 111 112 114 116 117 118 119 120 121 132 133 134 135 3.5 3.6"},D:{"38":0.00556,"49":0.01112,"73":0.00556,"77":0.70031,"79":0.03335,"81":0.00556,"85":0.00556,"87":0.03891,"88":0.01667,"89":0.02779,"91":0.03891,"92":0.00556,"93":0.00556,"94":0.01667,"95":0.01112,"98":0.00556,"99":0.01112,"100":0.00556,"101":0.01667,"102":0.01112,"103":0.05558,"104":0.01112,"105":0.00556,"106":0.01667,"107":0.01112,"108":0.02223,"109":1.05602,"110":0.01112,"111":0.01112,"112":0.02223,"113":0.06114,"114":0.06114,"115":0.00556,"116":0.15007,"117":0.16674,"118":0.01112,"119":0.02779,"120":0.03891,"121":0.05558,"122":0.29457,"123":0.10004,"124":0.18341,"125":0.20009,"126":0.41685,"127":1.30057,"128":20.48123,"129":10.76029,"130":0.01112,_:"4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 39 40 41 42 43 44 45 46 47 48 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 74 75 76 78 80 83 84 86 90 96 97 131 132 133"},F:{"46":0.00556,"84":0.00556,"89":0.00556,"95":0.01667,"107":0.00556,"109":0.08337,"111":0.02779,"112":2.012,"113":2.36215,"114":0.01112,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 47 48 49 50 51 52 53 54 55 56 57 58 60 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 85 86 87 88 90 91 92 93 94 96 97 98 99 100 101 102 103 104 105 106 108 110 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"92":0.01112,"107":0.00556,"109":0.09449,"110":0.01112,"111":0.00556,"117":0.00556,"118":0.00556,"119":0.00556,"120":0.03891,"121":0.01112,"122":0.01667,"123":0.00556,"124":0.01112,"125":0.01667,"126":0.07225,"127":0.22232,"128":4.70207,"129":2.5011,"130":0.01112,_:"12 13 14 15 16 17 18 79 80 81 83 84 85 86 87 88 89 90 91 93 94 95 96 97 98 99 100 101 102 103 104 105 106 108 112 113 114 115 116"},E:{"14":0.01112,_:"0 4 5 6 7 8 9 10 11 12 13 15 3.1 3.2 5.1 6.1 7.1 9.1 10.1 11.1","12.1":0.00556,"13.1":0.08893,"14.1":0.05558,"15.1":0.00556,"15.2-15.3":0.00556,"15.4":0.01667,"15.5":0.02223,"15.6":0.16674,"16.0":0.02223,"16.1":0.04446,"16.2":0.02223,"16.3":0.05558,"16.4":0.02223,"16.5":0.03891,"16.6":0.19453,"17.0":0.02223,"17.1":0.03335,"17.2":0.0667,"17.3":0.05558,"17.4":0.13339,"17.5":0.36683,"17.6":1.33948,"18.0":0.30013,"18.1":0.01667},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.00232,"5.0-5.1":0.00116,"6.0-6.1":0.00695,"7.0-7.1":0.00811,"8.1-8.4":0,"9.0-9.2":0.00695,"9.3":0.0197,"10.0-10.2":0.00579,"10.3":0.0336,"11.0-11.2":0.12398,"11.3-11.4":0.00927,"12.0-12.1":0.00579,"12.2-12.5":0.1402,"13.0-13.1":0.00232,"13.2":0.04403,"13.3":0.00579,"13.4-13.7":0.02317,"14.0-14.4":0.0533,"14.5-14.8":0.07068,"15.0-15.1":0.04055,"15.2-15.3":0.03939,"15.4":0.04519,"15.5":0.05562,"15.6-15.8":0.55036,"16.0":0.11123,"16.1":0.22014,"16.2":0.11007,"16.3":0.18539,"16.4":0.03939,"16.5":0.07763,"16.6-16.7":0.66275,"17.0":0.05562,"17.1":0.08806,"17.2":0.07995,"17.3":0.11471,"17.4":0.24564,"17.5":1.18067,"17.6-17.7":6.2834,"18.0":0.79252,"18.1":0.03592},P:{"4":0.04213,"21":0.01053,"22":0.04213,"23":0.0316,"24":0.02107,"25":0.11587,"26":1.78015,_:"20 5.0-5.4 8.2 9.2 10.1 11.1-11.2 12.0 14.0 15.0 16.0 17.0 18.0","6.2-6.4":0.01053,"7.2-7.4":0.01053,"13.0":0.01053,"19.0":0.01053},I:{"0":0.05315,"3":0,"4":0,"2.1":0,"2.2":0,"2.3":0,"4.1":0.00001,"4.2-4.3":0.00002,"4.4":0,"4.4.3-4.4.4":0.00009},K:{"0":0.33308,_:"10 11 12 11.1 11.5 12.1"},A:{"11":0.04446,_:"6 7 8 9 10 5.5"},N:{_:"10 11"},S:{_:"2.5 3.0-3.1"},J:{_:"7 10"},O:{"0":0.12879},H:{"0":0},L:{"0":30.00641},R:{_:"0"},M:{"0":0.26202},Q:{_:"14.9"}}; diff --git a/node_modules/caniuse-lite/data/regions/PW.js b/node_modules/caniuse-lite/data/regions/PW.js index d4f9a44bd0..edc8191c34 100644 --- a/node_modules/caniuse-lite/data/regions/PW.js +++ b/node_modules/caniuse-lite/data/regions/PW.js @@ -1 +1 @@ -module.exports={C:{"55":0.00803,"115":0.03749,"125":0.30261,"126":0.17139,_:"2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 116 117 118 119 120 121 122 123 124 127 128 129 3.5 3.6"},D:{"79":0.01607,"83":0.06159,"86":0.3776,"88":0.01607,"93":0.00803,"96":0.01607,"103":0.00803,"105":0.00803,"106":0.07766,"109":0.59452,"115":0.0241,"116":0.19282,"120":0.12319,"121":0.316,"122":0.03214,"123":0.52489,"124":14.46388,"125":3.98219,_:"4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 80 81 84 85 87 89 90 91 92 94 95 97 98 99 100 101 102 104 107 108 110 111 112 113 114 117 118 119 126 127 128"},F:{"107":0.03214,"109":0.34011,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 60 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 108 110 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"14":0.00803,"95":0.01607,"121":0.00803,"123":0.03749,"124":1.3149,"125":0.68825,_:"12 13 15 16 17 18 79 80 81 83 84 85 86 87 88 89 90 91 92 93 94 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 122"},E:{_:"0 4 5 6 7 8 9 10 11 12 13 14 15 3.1 3.2 5.1 6.1 7.1 9.1 10.1 11.1 12.1 15.1 15.2-15.3 16.0 17.3 17.6","13.1":0.01607,"14.1":0.43384,"15.4":0.04553,"15.5":0.01607,"15.6":0.20085,"16.1":0.11515,"16.2":0.01607,"16.3":0.12319,"16.4":0.00803,"16.5":0.0241,"16.6":0.21692,"17.0":0.00803,"17.1":0.03749,"17.2":0.17675,"17.4":0.69628,"17.5":0.06963},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.00426,"5.0-5.1":0.00426,"6.0-6.1":0.01065,"7.0-7.1":0.01491,"8.1-8.4":0.00426,"9.0-9.2":0.01065,"9.3":0.04899,"10.0-10.2":0.00852,"10.3":0.07668,"11.0-11.2":0.11289,"11.3-11.4":0.0213,"12.0-12.1":0.01278,"12.2-12.5":0.30885,"13.0-13.1":0.00639,"13.2":0.02982,"13.3":0.01491,"13.4-13.7":0.06816,"14.0-14.4":0.11715,"14.5-14.8":0.18105,"15.0-15.1":0.08733,"15.2-15.3":0.09585,"15.4":0.10863,"15.5":0.13632,"15.6-15.8":1.22686,"16.0":0.27903,"16.1":0.57509,"16.2":0.27903,"16.3":0.4835,"16.4":0.10224,"16.5":0.20661,"16.6-16.7":1.64647,"17.0":0.17892,"17.1":0.29181,"17.2":0.30459,"17.3":0.56231,"17.4":12.76917,"17.5":0.90098,"17.6":0},P:{"4":0.02067,"20":0.02067,"21":0.01033,"22":0.01033,"23":0.031,"24":0.12401,"25":1.32281,_:"5.0-5.4 6.2-6.4 8.2 10.1 11.1-11.2 12.0 14.0 15.0 16.0 17.0 18.0","7.2-7.4":0.07234,"9.2":0.04134,"13.0":0.10334,"19.0":0.031},I:{"0":0.05105,"3":0,"4":0.00001,"2.1":0,"2.2":0,"2.3":0,"4.1":0.00001,"4.2-4.3":0.00003,"4.4":0,"4.4.3-4.4.4":0.00011},K:{"0":0.32217,_:"10 11 12 11.1 11.5 12.1"},A:{_:"6 7 8 9 10 11 5.5"},S:{_:"2.5 3.0-3.1"},J:{_:"7 10"},N:{_:"10 11"},L:{"0":50.08548},R:{_:"0"},M:{"0":0.10983},Q:{"14.9":0.00732},O:{"0":0.17573},H:{"0":0}}; +module.exports={C:{"115":0.02447,"121":0.01468,"129":0.19821,"130":0.47472,_:"2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 116 117 118 119 120 122 123 124 125 126 127 128 131 132 133 134 135 3.5 3.6"},D:{"79":0.00734,"83":0.02447,"94":0.09543,"103":0.03181,"106":0.00734,"109":1.09136,"116":0.05628,"119":0.00734,"121":0.02447,"122":0.00734,"123":0.03181,"124":0.03915,"125":0.03181,"126":0.03915,"127":0.94944,"128":12.35735,"129":2.18272,_:"4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 80 81 84 85 86 87 88 89 90 91 92 93 95 96 97 98 99 100 101 102 104 105 107 108 110 111 112 113 114 115 117 118 120 130 131 132 133"},F:{"112":0.07096,"113":0.19087,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 60 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 114 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"16":0.00734,"109":0.00734,"112":0.03181,"116":0.00734,"122":0.01468,"126":0.14193,"127":0.11746,"128":2.37114,"129":0.58483,_:"12 13 14 15 17 18 79 80 81 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 110 111 113 114 115 117 118 119 120 121 123 124 125 130"},E:{"14":0.02447,_:"0 4 5 6 7 8 9 10 11 12 13 15 3.1 3.2 5.1 6.1 7.1 9.1 10.1 11.1 12.1 15.1 15.4 16.1 16.2 17.0 17.1 17.3 18.1","13.1":0.06362,"14.1":0.11746,"15.2-15.3":0.00734,"15.5":0.00734,"15.6":0.42578,"16.0":0.03181,"16.3":0.00734,"16.4":0.00734,"16.5":0.06362,"16.6":0.20555,"17.2":0.03915,"17.4":0.27651,"17.5":0.26917,"17.6":0.64846,"18.0":0.00734},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.00415,"5.0-5.1":0.00207,"6.0-6.1":0.01245,"7.0-7.1":0.01452,"8.1-8.4":0,"9.0-9.2":0.01245,"9.3":0.03527,"10.0-10.2":0.01037,"10.3":0.06017,"11.0-11.2":0.222,"11.3-11.4":0.0166,"12.0-12.1":0.01037,"12.2-12.5":0.25105,"13.0-13.1":0.00415,"13.2":0.07884,"13.3":0.01037,"13.4-13.7":0.0415,"14.0-14.4":0.09544,"14.5-14.8":0.12656,"15.0-15.1":0.07262,"15.2-15.3":0.07054,"15.4":0.08092,"15.5":0.09959,"15.6-15.8":0.98553,"16.0":0.19918,"16.1":0.39421,"16.2":0.19711,"16.3":0.33197,"16.4":0.07054,"16.5":0.13901,"16.6-16.7":1.18679,"17.0":0.09959,"17.1":0.15769,"17.2":0.14316,"17.3":0.20541,"17.4":0.43986,"17.5":2.11423,"17.6-17.7":11.25169,"18.0":1.41917,"18.1":0.06432},P:{"21":0.02063,"22":0.02063,"24":0.07221,"25":0.31981,"26":1.99104,_:"4 20 23 5.0-5.4 6.2-6.4 8.2 10.1 11.1-11.2 12.0 13.0 14.0 15.0 16.0 17.0 18.0","7.2-7.4":0.08253,"9.2":0.01032,"19.0":0.02063},I:{"0":0.00753,"3":0,"4":0,"2.1":0,"2.2":0,"2.3":0,"4.1":0,"4.2-4.3":0,"4.4":0,"4.4.3-4.4.4":0.00001},K:{"0":0.21148,_:"10 11 12 11.1 11.5 12.1"},A:{_:"6 7 8 9 10 11 5.5"},N:{_:"10 11"},S:{_:"2.5 3.0-3.1"},J:{_:"7 10"},O:{"0":0.27946},H:{"0":0},L:{"0":52.24554},R:{_:"0"},M:{_:"0"},Q:{_:"14.9"}}; diff --git a/node_modules/caniuse-lite/data/regions/PY.js b/node_modules/caniuse-lite/data/regions/PY.js index 6780bb6091..949ecd4459 100644 --- a/node_modules/caniuse-lite/data/regions/PY.js +++ b/node_modules/caniuse-lite/data/regions/PY.js @@ -1 +1 @@ -module.exports={C:{"4":0.17942,"17":0.00374,"30":0.00374,"35":0.01495,"39":0.00374,"43":0.00374,"45":0.00374,"52":0.0785,"60":0.00374,"64":0.00374,"65":0.00374,"84":0.00374,"88":0.02243,"102":0.00374,"103":0.00374,"106":0.00748,"107":0.00374,"113":0.00374,"115":0.28409,"117":0.00374,"121":0.01121,"122":0.01495,"123":0.01495,"124":0.03364,"125":0.55322,"126":0.5906,"127":0.00374,_:"2 3 5 6 7 8 9 10 11 12 13 14 15 16 18 19 20 21 22 23 24 25 26 27 28 29 31 32 33 34 36 37 38 40 41 42 44 46 47 48 49 50 51 53 54 55 56 57 58 59 61 62 63 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 85 86 87 89 90 91 92 93 94 95 96 97 98 99 100 101 104 105 108 109 110 111 112 114 116 118 119 120 128 129 3.5","3.6":0.00374},D:{"11":0.01121,"31":0.00374,"44":0.00374,"45":0.00374,"46":0.00374,"47":0.01869,"49":0.01121,"51":0.00374,"55":0.00374,"56":0.01121,"64":0.01121,"65":0.01869,"66":0.00748,"69":0.00374,"71":0.00374,"73":0.01121,"75":0.00748,"76":0.00374,"77":0.00374,"79":0.06728,"80":0.00748,"83":0.04112,"85":0.00374,"86":0.00374,"87":0.6392,"88":0.00374,"89":0.04859,"90":0.00374,"91":0.20559,"92":0.00374,"93":0.00374,"94":0.00374,"95":0.01121,"96":0.00374,"97":0.00748,"98":0.00374,"99":0.00748,"100":0.00748,"101":0.00748,"102":0.01869,"103":0.02243,"104":0.00748,"105":0.00374,"106":0.01121,"107":0.00748,"108":0.01495,"109":4.25011,"110":0.02243,"111":0.05981,"112":0.01495,"113":0.01121,"114":0.01121,"115":0.01121,"116":0.05607,"117":0.00374,"118":0.01121,"119":0.14952,"120":0.04486,"121":0.06355,"122":0.65041,"123":0.43361,"124":15.09404,"125":6.46674,"126":0.01121,"127":0.00374,_:"4 5 6 7 8 9 10 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 32 33 34 35 36 37 38 39 40 41 42 43 48 50 52 53 54 57 58 59 60 61 62 63 67 68 70 72 74 78 81 84 128"},F:{"36":0.00748,"46":0.00374,"55":0.00374,"95":0.02243,"102":0.00748,"106":0.00748,"107":0.34763,"108":0.00748,"109":1.10645,"110":0.02243,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 37 38 39 40 41 42 43 44 45 47 48 49 50 51 52 53 54 56 57 58 60 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 96 97 98 99 100 101 103 104 105 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"12":0.01121,"18":0.00748,"92":0.00748,"100":0.00748,"101":0.04112,"102":0.00748,"109":0.0299,"111":0.00374,"112":0.01121,"113":0.00374,"114":0.00374,"117":0.00374,"119":0.00748,"120":0.01869,"121":0.01495,"122":0.02617,"123":0.09345,"124":2.11571,"125":1.19616,_:"13 14 15 16 17 79 80 81 83 84 85 86 87 88 89 90 91 93 94 95 96 97 98 99 103 104 105 106 107 108 110 115 116 118"},E:{"9":0.00748,_:"0 4 5 6 7 8 10 11 12 13 14 15 3.1 3.2 6.1 7.1 9.1 10.1 11.1 15.1 15.2-15.3 16.0 17.6","5.1":0.01869,"12.1":0.00748,"13.1":0.00748,"14.1":0.00374,"15.4":0.00748,"15.5":0.00374,"15.6":0.02617,"16.1":0.00374,"16.2":0.00748,"16.3":0.01495,"16.4":0.00374,"16.5":0.00748,"16.6":0.11214,"17.0":0.00374,"17.1":0.01121,"17.2":0.04112,"17.3":0.03738,"17.4":0.26914,"17.5":0.06355},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.00138,"5.0-5.1":0.00138,"6.0-6.1":0.00344,"7.0-7.1":0.00481,"8.1-8.4":0.00138,"9.0-9.2":0.00344,"9.3":0.01582,"10.0-10.2":0.00275,"10.3":0.02476,"11.0-11.2":0.03645,"11.3-11.4":0.00688,"12.0-12.1":0.00413,"12.2-12.5":0.09971,"13.0-13.1":0.00206,"13.2":0.00963,"13.3":0.00481,"13.4-13.7":0.02201,"14.0-14.4":0.03782,"14.5-14.8":0.05845,"15.0-15.1":0.02819,"15.2-15.3":0.03095,"15.4":0.03507,"15.5":0.04401,"15.6-15.8":0.3961,"16.0":0.09009,"16.1":0.18567,"16.2":0.09009,"16.3":0.1561,"16.4":0.03301,"16.5":0.0667,"16.6-16.7":0.53157,"17.0":0.05776,"17.1":0.09421,"17.2":0.09834,"17.3":0.18155,"17.4":4.12263,"17.5":0.29089,"17.6":0},P:{"4":0.23495,"20":0.05108,"21":0.11237,"22":0.12258,"23":0.29624,"24":0.58226,"25":3.38118,_:"5.0-5.4 8.2 10.1","6.2-6.4":0.01022,"7.2-7.4":0.52097,"9.2":0.03065,"11.1-11.2":0.06129,"12.0":0.01022,"13.0":0.02043,"14.0":0.02043,"15.0":0.01022,"16.0":0.06129,"17.0":0.12258,"18.0":0.03065,"19.0":0.05108},I:{"0":0.08734,"3":0,"4":0.00001,"2.1":0,"2.2":0,"2.3":0,"4.1":0.00002,"4.2-4.3":0.00005,"4.4":0,"4.4.3-4.4.4":0.00019},K:{"0":0.36325,_:"10 11 12 11.1 11.5 12.1"},A:{"7":0.00374,"8":0.01869,"9":0.00374,"10":0.00374,"11":0.02243,_:"6 5.5"},S:{_:"2.5 3.0-3.1"},J:{_:"7 10"},N:{_:"10 11"},L:{"0":49.94579},R:{_:"0"},M:{"0":0.14405},Q:{_:"14.9"},O:{"0":0.0501},H:{"0":0}}; +module.exports={C:{"4":0.06556,"30":0.00364,"35":0.01821,"52":0.08741,"60":0.00364,"64":0.00364,"65":0.00364,"72":0.00364,"88":0.01457,"102":0.00364,"103":0.00364,"108":0.00364,"113":0.00728,"115":0.29136,"123":0.00364,"124":0.00364,"125":0.00364,"126":0.00364,"127":0.00364,"128":0.01457,"129":0.2258,"130":0.9542,"131":0.00364,_:"2 3 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 31 32 33 34 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 53 54 55 56 57 58 59 61 62 63 66 67 68 69 70 71 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 89 90 91 92 93 94 95 96 97 98 99 100 101 104 105 106 107 109 110 111 112 114 116 117 118 119 120 121 122 132 133 134 135 3.5 3.6"},D:{"11":0.00364,"47":0.00728,"49":0.01093,"55":0.00364,"56":0.00364,"59":0.00364,"64":0.00728,"65":0.02549,"66":0.00728,"69":0.00364,"71":0.00364,"73":0.02549,"75":0.01821,"77":0.00364,"79":0.04735,"80":0.00364,"81":0.00364,"83":0.04006,"84":0.00364,"85":0.00364,"86":0.00728,"87":0.36056,"88":0.00728,"89":0.06191,"91":0.59365,"94":0.05827,"95":0.00364,"96":0.00364,"97":0.00728,"98":0.00364,"99":0.00728,"100":0.01093,"101":0.00364,"102":0.02185,"103":0.01821,"104":0.01457,"105":0.01093,"106":0.00728,"107":0.00728,"108":0.02185,"109":3.36885,"110":0.02185,"111":0.02549,"112":0.01457,"113":0.00364,"114":0.00728,"115":0.00728,"116":0.07284,"117":0.00364,"118":0.00728,"119":0.05463,"120":0.02914,"121":0.03642,"122":0.06556,"123":0.03642,"124":0.10562,"125":0.07648,"126":0.69562,"127":0.8413,"128":15.75529,"129":4.77102,"130":0.00728,_:"4 5 6 7 8 9 10 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 48 50 51 52 53 54 57 58 60 61 62 63 67 68 70 72 74 76 78 90 92 93 131 132 133"},F:{"84":0.00364,"95":0.03278,"109":0.03642,"111":0.01821,"112":0.85951,"113":0.59365,"114":0.00364,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 60 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 85 86 87 88 89 90 91 92 93 94 96 97 98 99 100 101 102 103 104 105 106 107 108 110 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"18":0.01093,"92":0.01457,"100":0.00728,"101":0.03278,"102":0.00364,"107":0.00728,"109":0.03278,"110":0.00364,"112":0.00364,"113":0.00364,"114":0.00364,"117":0.00364,"120":0.00364,"121":0.00728,"122":0.01093,"123":0.01093,"124":0.00728,"125":0.01457,"126":0.02185,"127":0.12019,"128":2.84804,"129":0.96149,"130":0.01821,_:"12 13 14 15 16 17 79 80 81 83 84 85 86 87 88 89 90 91 93 94 95 96 97 98 99 103 104 105 106 108 111 115 116 118 119"},E:{_:"0 4 5 6 7 8 9 10 11 12 13 14 15 3.1 3.2 6.1 7.1 9.1 10.1 11.1 12.1 15.1 15.2-15.3 16.0 16.4 18.1","5.1":0.00364,"13.1":0.00364,"14.1":0.01093,"15.4":0.00364,"15.5":0.00364,"15.6":0.02549,"16.1":0.01821,"16.2":0.00364,"16.3":0.00364,"16.5":0.00364,"16.6":0.04006,"17.0":0.00364,"17.1":0.00728,"17.2":0.01093,"17.3":0.01457,"17.4":0.01821,"17.5":0.08377,"17.6":0.31685,"18.0":0.07648},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.0014,"5.0-5.1":0.0007,"6.0-6.1":0.00419,"7.0-7.1":0.00489,"8.1-8.4":0,"9.0-9.2":0.00419,"9.3":0.01187,"10.0-10.2":0.00349,"10.3":0.02025,"11.0-11.2":0.0747,"11.3-11.4":0.00558,"12.0-12.1":0.00349,"12.2-12.5":0.08447,"13.0-13.1":0.0014,"13.2":0.02653,"13.3":0.00349,"13.4-13.7":0.01396,"14.0-14.4":0.03211,"14.5-14.8":0.04258,"15.0-15.1":0.02443,"15.2-15.3":0.02374,"15.4":0.02723,"15.5":0.03351,"15.6-15.8":0.3316,"16.0":0.06702,"16.1":0.13264,"16.2":0.06632,"16.3":0.1117,"16.4":0.02374,"16.5":0.04677,"16.6-16.7":0.39932,"17.0":0.03351,"17.1":0.05306,"17.2":0.04817,"17.3":0.06911,"17.4":0.148,"17.5":0.71137,"17.6-17.7":3.78584,"18.0":0.47751,"18.1":0.02164},P:{"4":0.24385,"20":0.02032,"21":0.08128,"22":0.1016,"23":0.16257,"24":0.20321,"25":0.42674,"26":3.04814,"5.0-5.4":0.01016,"6.2-6.4":0.02032,"7.2-7.4":0.37594,"8.2":0.02032,"9.2":0.01016,_:"10.1 12.0","11.1-11.2":0.02032,"13.0":0.03048,"14.0":0.01016,"15.0":0.01016,"16.0":0.09144,"17.0":0.29465,"18.0":0.01016,"19.0":0.04064},I:{"0":0.04439,"3":0,"4":0,"2.1":0,"2.2":0,"2.3":0,"4.1":0,"4.2-4.3":0.00002,"4.4":0,"4.4.3-4.4.4":0.00007},K:{"0":0.29883,_:"10 11 12 11.1 11.5 12.1"},A:{"11":0.00728,_:"6 7 8 9 10 5.5"},N:{_:"10 11"},S:{_:"2.5 3.0-3.1"},J:{_:"7 10"},O:{"0":0.03815},H:{"0":0},L:{"0":50.09821},R:{_:"0"},M:{"0":0.20346},Q:{_:"14.9"}}; diff --git a/node_modules/caniuse-lite/data/regions/QA.js b/node_modules/caniuse-lite/data/regions/QA.js index 02ce90f80b..f0be843fd4 100644 --- a/node_modules/caniuse-lite/data/regions/QA.js +++ b/node_modules/caniuse-lite/data/regions/QA.js @@ -1 +1 @@ -module.exports={C:{"5":0.27169,"34":0.00269,"52":0.00269,"68":0.00538,"103":0.00807,"105":0.00807,"115":0.04573,"123":0.00269,"124":0.02152,"125":0.26093,"126":0.18561,_:"2 3 4 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 104 106 107 108 109 110 111 112 113 114 116 117 118 119 120 121 122 127 128 129 3.5 3.6"},D:{"38":0.00269,"41":0.01345,"43":0.00269,"49":0.00807,"58":0.03497,"60":0.00538,"65":0.00269,"66":0.00269,"68":0.00269,"69":0.00538,"72":0.00269,"73":0.00269,"75":0.00269,"76":0.00269,"77":0.00269,"78":0.00269,"79":0.03766,"80":0.01076,"83":0.00807,"84":0.00538,"85":0.00269,"86":0.00807,"87":0.03228,"88":0.0269,"90":0.00269,"91":0.00269,"93":0.00538,"94":0.00807,"95":0.00538,"96":0.00538,"98":0.00538,"99":0.01076,"100":0.00807,"101":0.01345,"102":0.00807,"103":0.12912,"104":0.02152,"105":0.00538,"106":0.02421,"107":0.01076,"108":0.00807,"109":0.69133,"110":0.02152,"111":0.00807,"112":0.00538,"113":0.01076,"114":0.01614,"115":0.01076,"116":0.12643,"117":0.02421,"118":0.0269,"119":0.07532,"120":0.06456,"121":0.04573,"122":0.269,"123":0.51379,"124":10.49638,"125":4.85007,"126":0.00807,"127":0.00269,_:"4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 39 40 42 44 45 46 47 48 50 51 52 53 54 55 56 57 59 61 62 63 64 67 70 71 74 81 89 92 97 128"},F:{"28":0.00538,"46":0.04573,"95":0.00807,"102":0.01614,"107":0.18561,"108":0.01076,"109":0.57566,"110":0.03497,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 47 48 49 50 51 52 53 54 55 56 57 58 60 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 96 97 98 99 100 101 103 104 105 106 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"12":0.00269,"13":0.00538,"17":0.00269,"18":0.00269,"92":0.01076,"95":0.00269,"100":0.00269,"105":0.00269,"106":0.00269,"108":0.00269,"109":0.01614,"112":0.00807,"113":0.00269,"114":0.00269,"116":0.00269,"117":0.00269,"118":0.00538,"119":0.00807,"120":0.01614,"121":0.01345,"122":0.02959,"123":0.05918,"124":2.04978,"125":1.08138,_:"14 15 16 79 80 81 83 84 85 86 87 88 89 90 91 93 94 96 97 98 99 101 102 103 104 107 110 111 115"},E:{"14":0.01614,"15":0.00807,_:"0 4 5 6 7 8 9 10 11 12 13 3.1 3.2 6.1 7.1 9.1 10.1 11.1 17.6","5.1":0.00269,"12.1":0.00807,"13.1":0.02152,"14.1":0.07532,"15.1":0.00538,"15.2-15.3":0.01614,"15.4":0.01076,"15.5":0.02959,"15.6":0.14257,"16.0":0.01345,"16.1":0.04304,"16.2":0.0538,"16.3":0.12105,"16.4":0.02421,"16.5":0.11836,"16.6":0.19637,"17.0":0.04573,"17.1":0.05111,"17.2":0.04573,"17.3":0.08608,"17.4":1.22933,"17.5":0.14795},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.00372,"5.0-5.1":0.00372,"6.0-6.1":0.0093,"7.0-7.1":0.01302,"8.1-8.4":0.00372,"9.0-9.2":0.0093,"9.3":0.04277,"10.0-10.2":0.00744,"10.3":0.06695,"11.0-11.2":0.09856,"11.3-11.4":0.0186,"12.0-12.1":0.01116,"12.2-12.5":0.26965,"13.0-13.1":0.00558,"13.2":0.02604,"13.3":0.01302,"13.4-13.7":0.05951,"14.0-14.4":0.10228,"14.5-14.8":0.15807,"15.0-15.1":0.07625,"15.2-15.3":0.08368,"15.4":0.09484,"15.5":0.11902,"15.6-15.8":1.07117,"16.0":0.24362,"16.1":0.50211,"16.2":0.24362,"16.3":0.42214,"16.4":0.08926,"16.5":0.18039,"16.6-16.7":1.43752,"17.0":0.15621,"17.1":0.25477,"17.2":0.26593,"17.3":0.49095,"17.4":11.14869,"17.5":0.78664,"17.6":0},P:{"4":0.06147,"20":0.05122,"21":0.05122,"22":0.12294,"23":0.16391,"24":0.20489,"25":1.84404,"5.0-5.4":0.01024,"6.2-6.4":0.01024,"7.2-7.4":0.10245,_:"8.2 9.2 10.1 15.0","11.1-11.2":0.04098,"12.0":0.01024,"13.0":0.03073,"14.0":0.02049,"16.0":0.02049,"17.0":0.01024,"18.0":0.01024,"19.0":0.02049},I:{"0":0.05825,"3":0,"4":0.00001,"2.1":0,"2.2":0,"2.3":0,"4.1":0.00001,"4.2-4.3":0.00004,"4.4":0,"4.4.3-4.4.4":0.00013},K:{"0":2.30996,_:"10 11 12 11.1 11.5 12.1"},A:{"8":0.00269,"11":0.02421,_:"6 7 9 10 5.5"},S:{_:"2.5 3.0-3.1"},J:{_:"7 10"},N:{_:"10 11"},L:{"0":46.11758},R:{_:"0"},M:{"0":0.12427},Q:{_:"14.9"},O:{"0":3.39915},H:{"0":0}}; +module.exports={C:{"5":0.2578,"68":0.00239,"78":0.00239,"102":0.00239,"103":0.00239,"105":0.00239,"111":0.00239,"115":0.04535,"123":0.00239,"125":0.00239,"126":0.00239,"127":0.00239,"128":0.00716,"129":0.09787,"130":0.33895,_:"2 3 4 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 69 70 71 72 73 74 75 76 77 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 104 106 107 108 109 110 112 113 114 116 117 118 119 120 121 122 124 131 132 133 134 135 3.5 3.6"},D:{"34":0.00239,"38":0.00716,"41":0.00239,"49":0.00239,"58":0.08832,"68":0.00239,"69":0.00477,"73":0.00239,"75":0.00239,"76":0.00239,"78":0.00477,"79":0.06922,"80":0.00477,"83":0.00716,"84":0.01194,"85":0.00239,"86":0.01194,"87":0.03342,"88":0.00716,"90":0.00239,"91":0.00716,"93":0.00716,"94":0.01432,"95":0.00239,"98":0.00477,"99":0.01194,"100":0.00477,"101":0.00239,"102":0.00239,"103":0.08593,"104":0.00716,"105":0.00477,"106":0.01671,"107":0.00716,"108":0.00716,"109":0.6803,"110":0.01671,"111":0.00955,"112":0.00955,"113":0.00239,"114":0.00716,"115":0.00716,"116":0.1289,"117":0.02148,"118":0.02148,"119":0.02148,"120":0.0191,"121":0.01671,"122":0.09309,"123":0.04058,"124":0.06922,"125":0.15754,"126":0.14561,"127":0.56095,"128":9.94902,"129":3.1222,"130":0.00955,"131":0.00239,_:"4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 35 36 37 39 40 42 43 44 45 46 47 48 50 51 52 53 54 55 56 57 59 60 61 62 63 64 65 66 67 70 71 72 74 77 81 89 92 96 97 132 133"},F:{"46":0.02387,"84":0.02626,"92":0.00239,"95":0.00955,"102":0.01194,"109":0.00955,"111":0.00716,"112":0.42489,"113":0.27689,"114":0.00239,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 47 48 49 50 51 52 53 54 55 56 57 58 60 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 85 86 87 88 89 90 91 93 94 96 97 98 99 100 101 103 104 105 106 107 108 110 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"13":0.00477,"18":0.00239,"92":0.00716,"98":0.00239,"100":0.00239,"105":0.00239,"107":0.00477,"109":0.02148,"110":0.00239,"111":0.00239,"112":0.00477,"117":0.00239,"118":0.00239,"119":0.00477,"120":0.00716,"121":0.00477,"122":0.00477,"123":0.00239,"124":0.00716,"125":0.02387,"126":0.02148,"127":0.11696,"128":2.24855,"129":0.98583,"130":0.00239,_:"12 14 15 16 17 79 80 81 83 84 85 86 87 88 89 90 91 93 94 95 96 97 99 101 102 103 104 106 108 113 114 115 116"},E:{"14":0.00955,"15":0.00239,_:"0 4 5 6 7 8 9 10 11 12 13 3.1 3.2 5.1 6.1 9.1 10.1","7.1":0.00239,"11.1":0.00239,"12.1":0.00239,"13.1":0.02148,"14.1":0.03819,"15.1":0.00239,"15.2-15.3":0.00955,"15.4":0.03103,"15.5":0.02387,"15.6":0.08832,"16.0":0.02148,"16.1":0.01671,"16.2":0.02387,"16.3":0.06206,"16.4":0.01671,"16.5":0.04058,"16.6":0.12412,"17.0":0.02626,"17.1":0.0191,"17.2":0.0191,"17.3":0.02387,"17.4":0.05729,"17.5":0.21006,"17.6":1.00493,"18.0":0.17664,"18.1":0.01194},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.00318,"5.0-5.1":0.00159,"6.0-6.1":0.00953,"7.0-7.1":0.01112,"8.1-8.4":0,"9.0-9.2":0.00953,"9.3":0.027,"10.0-10.2":0.00794,"10.3":0.04605,"11.0-11.2":0.16992,"11.3-11.4":0.0127,"12.0-12.1":0.00794,"12.2-12.5":0.19216,"13.0-13.1":0.00318,"13.2":0.06035,"13.3":0.00794,"13.4-13.7":0.03176,"14.0-14.4":0.07305,"14.5-14.8":0.09687,"15.0-15.1":0.05558,"15.2-15.3":0.05399,"15.4":0.06193,"15.5":0.07623,"15.6-15.8":0.75433,"16.0":0.15245,"16.1":0.30173,"16.2":0.15087,"16.3":0.25409,"16.4":0.05399,"16.5":0.1064,"16.6-16.7":0.90838,"17.0":0.07623,"17.1":0.12069,"17.2":0.10958,"17.3":0.15722,"17.4":0.33667,"17.5":1.61825,"17.6-17.7":8.61211,"18.0":1.08624,"18.1":0.04923},P:{"4":0.04086,"20":0.04086,"21":0.04086,"22":0.06128,"23":0.09193,"24":0.11236,"25":0.18385,"26":1.7364,_:"5.0-5.4 6.2-6.4 8.2 9.2 10.1 12.0 14.0 15.0 16.0 18.0","7.2-7.4":0.04086,"11.1-11.2":0.02043,"13.0":0.03064,"17.0":0.01021,"19.0":0.01021},I:{"0":0.03037,"3":0,"4":0,"2.1":0,"2.2":0,"2.3":0,"4.1":0,"4.2-4.3":0.00001,"4.4":0,"4.4.3-4.4.4":0.00005},K:{"0":2.09358,_:"10 11 12 11.1 11.5 12.1"},A:{"11":0.02626,_:"6 7 8 9 10 5.5"},N:{_:"10 11"},S:{_:"2.5 3.0-3.1"},J:{_:"7 10"},O:{"0":4.64393},H:{"0":0},L:{"0":51.71158},R:{_:"0"},M:{"0":0.09136},Q:{"14.9":0.00761}}; diff --git a/node_modules/caniuse-lite/data/regions/RE.js b/node_modules/caniuse-lite/data/regions/RE.js index 16ccff8df8..dd2733ac90 100644 --- a/node_modules/caniuse-lite/data/regions/RE.js +++ b/node_modules/caniuse-lite/data/regions/RE.js @@ -1 +1 @@ -module.exports={C:{"30":0.00402,"52":0.00402,"60":0.00402,"78":0.16076,"82":0.02813,"88":0.00804,"91":0.03215,"100":0.06029,"102":0.04823,"103":0.30143,"108":0.00402,"113":0.00402,"115":0.66314,"119":0.00402,"120":0.00402,"121":0.0201,"122":0.01206,"123":0.07636,"124":0.10048,"125":2.32298,"126":1.90099,"127":0.00402,_:"2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 53 54 55 56 57 58 59 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 79 80 81 83 84 85 86 87 89 90 92 93 94 95 96 97 98 99 101 104 105 106 107 109 110 111 112 114 116 117 118 128 129 3.5 3.6"},D:{"38":0.00402,"49":0.00402,"50":0.00402,"54":0.01608,"57":0.00402,"65":0.01206,"70":0.01608,"72":0.00402,"74":0.00402,"76":0.00804,"78":0.00804,"79":0.04421,"80":0.01608,"81":0.01608,"83":0.00804,"84":0.01206,"85":0.04421,"86":0.0201,"87":0.07234,"88":0.02813,"90":0.00804,"92":0.00402,"94":0.01206,"97":0.00402,"99":0.00402,"100":0.00402,"101":0.00804,"102":0.00804,"103":0.07636,"104":0.00402,"105":0.10851,"106":0.00804,"107":0.00804,"108":0.00804,"109":0.79978,"110":0.00402,"111":0.00804,"112":0.00402,"113":0.00804,"114":0.00402,"115":0.32554,"116":0.18487,"117":0.03215,"118":0.02411,"119":0.03617,"120":0.07636,"121":0.0643,"122":0.18889,"123":0.71136,"124":12.34637,"125":4.64596,"126":0.00402,_:"4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 39 40 41 42 43 44 45 46 47 48 51 52 53 55 56 58 59 60 61 62 63 64 66 67 68 69 71 73 75 77 89 91 93 95 96 98 127 128"},F:{"40":0.00804,"46":0.0201,"69":0.01608,"95":0.00804,"98":0.00402,"107":0.53453,"108":0.01206,"109":1.28608,"110":0.05225,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 41 42 43 44 45 47 48 49 50 51 52 53 54 55 56 57 58 60 62 63 64 65 66 67 68 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 96 97 99 100 101 102 103 104 105 106 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"16":0.00402,"17":0.00402,"83":0.00402,"86":0.00402,"90":0.00402,"91":0.00402,"92":0.00804,"96":0.11253,"109":0.02813,"110":0.05627,"112":0.00402,"115":0.00402,"116":0.00402,"118":0.0201,"119":0.00804,"120":0.01206,"121":0.02411,"122":0.08038,"123":0.29741,"124":4.01096,"125":2.14213,_:"12 13 14 15 18 79 80 81 84 85 87 88 89 93 94 95 97 98 99 100 101 102 103 104 105 106 107 108 111 113 114 117"},E:{"11":0.00402,"12":0.00402,"13":0.00402,"14":0.0201,"15":0.01206,_:"0 4 5 6 7 8 9 10 3.1 3.2 5.1 6.1 7.1 9.1 10.1 11.1 17.6","12.1":0.01608,"13.1":0.24114,"14.1":0.13665,"15.1":0.00804,"15.2-15.3":0.01608,"15.4":0.01608,"15.5":0.0201,"15.6":0.28133,"16.0":0.07234,"16.1":0.06029,"16.2":0.04421,"16.3":0.06832,"16.4":0.03215,"16.5":0.12861,"16.6":0.38181,"17.0":0.03215,"17.1":0.0844,"17.2":0.10048,"17.3":0.0844,"17.4":1.74827,"17.5":0.17282},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.00334,"5.0-5.1":0.00334,"6.0-6.1":0.00835,"7.0-7.1":0.01169,"8.1-8.4":0.00334,"9.0-9.2":0.00835,"9.3":0.03842,"10.0-10.2":0.00668,"10.3":0.06014,"11.0-11.2":0.08854,"11.3-11.4":0.0167,"12.0-12.1":0.01002,"12.2-12.5":0.24222,"13.0-13.1":0.00501,"13.2":0.02339,"13.3":0.01169,"13.4-13.7":0.05346,"14.0-14.4":0.09188,"14.5-14.8":0.14199,"15.0-15.1":0.06849,"15.2-15.3":0.07517,"15.4":0.0852,"15.5":0.10691,"15.6-15.8":0.9622,"16.0":0.21883,"16.1":0.45103,"16.2":0.21883,"16.3":0.3792,"16.4":0.08018,"16.5":0.16204,"16.6-16.7":1.29129,"17.0":0.14032,"17.1":0.22886,"17.2":0.23888,"17.3":0.44101,"17.4":10.01461,"17.5":0.70662,"17.6":0},P:{"4":0.01054,"20":0.02107,"21":0.10536,"22":0.15804,"23":0.1475,"24":0.32661,"25":3.12912,_:"5.0-5.4 6.2-6.4 8.2 9.2 10.1 12.0","7.2-7.4":0.06321,"11.1-11.2":0.01054,"13.0":0.01054,"14.0":0.01054,"15.0":0.02107,"16.0":0.02107,"17.0":0.01054,"18.0":0.02107,"19.0":0.04214},I:{"0":0.02979,"3":0,"4":0,"2.1":0,"2.2":0,"2.3":0,"4.1":0.00001,"4.2-4.3":0.00002,"4.4":0,"4.4.3-4.4.4":0.00007},K:{"0":0.26316,_:"10 11 12 11.1 11.5 12.1"},A:{"11":0.05627,_:"6 7 8 9 10 5.5"},S:{_:"2.5 3.0-3.1"},J:{_:"7 10"},N:{_:"10 11"},L:{"0":39.27916},R:{_:"0"},M:{"0":0.32896},Q:{_:"14.9"},O:{"0":0.07775},H:{"0":0}}; +module.exports={C:{"49":0.00444,"52":0.00444,"60":0.00444,"78":0.09314,"82":0.01331,"88":0.00444,"91":0.02218,"96":0.00444,"100":0.05766,"102":0.04879,"104":0.00444,"109":0.00887,"110":0.00887,"113":0.00444,"115":0.78056,"119":0.00444,"120":0.00444,"122":0.00444,"123":0.00444,"124":0.00444,"125":0.00887,"126":0.00444,"127":0.13749,"128":0.03548,"129":0.82048,"130":3.30851,"131":0.00444,_:"2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 50 51 53 54 55 56 57 58 59 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 79 80 81 83 84 85 86 87 89 90 92 93 94 95 97 98 99 101 103 105 106 107 108 111 112 114 116 117 118 121 132 133 134 135 3.5 3.6"},D:{"47":0.00444,"49":0.00444,"57":0.00444,"65":0.00444,"70":0.00887,"73":0.00444,"74":0.00444,"75":0.00444,"76":0.00444,"78":0.00444,"79":0.05322,"80":0.00444,"81":0.00887,"83":0.00887,"84":0.00444,"85":0.01774,"86":0.01331,"87":0.07096,"88":0.03105,"90":0.01331,"94":0.02661,"96":0.00444,"97":0.00444,"100":0.00444,"101":0.00444,"102":0.00444,"103":0.06209,"104":0.00444,"105":0.05322,"106":0.00444,"107":0.00444,"108":0.00444,"109":0.71404,"110":0.01331,"111":0.00444,"113":0.02218,"114":0.29271,"115":0.02218,"116":0.11531,"117":0.01331,"118":0.03105,"119":0.02661,"120":0.03548,"121":0.02218,"122":0.10644,"123":0.02661,"124":0.10644,"125":0.05766,"126":0.19958,"127":0.76726,"128":13.43805,"129":5.43731,_:"4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 48 50 51 52 53 54 55 56 58 59 60 61 62 63 64 66 67 68 69 71 72 77 89 91 92 93 95 98 99 112 130 131 132 133"},F:{"28":0.00444,"36":0.00444,"46":0.00444,"84":0.01331,"95":0.00444,"100":0.01331,"102":0.00444,"107":0.00444,"109":0.05766,"111":0.01331,"112":1.31276,"113":0.74952,"114":0.00887,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 29 30 31 32 33 34 35 37 38 39 40 41 42 43 44 45 47 48 49 50 51 52 53 54 55 56 57 58 60 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 85 86 87 88 89 90 91 92 93 94 96 97 98 99 101 103 104 105 106 108 110 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"14":0.00444,"17":0.00444,"18":0.00444,"86":0.00444,"90":0.00444,"92":0.00444,"96":0.03548,"100":0.01331,"103":0.00887,"108":0.00444,"109":0.02661,"110":0.03992,"112":0.00444,"114":0.00444,"115":0.00887,"117":0.00887,"118":0.02218,"119":0.00887,"120":0.00444,"121":0.00887,"122":0.01774,"123":0.00887,"124":0.01331,"125":0.00887,"126":0.05766,"127":0.27497,"128":5.70341,"129":2.31951,"130":0.00444,_:"12 13 15 16 79 80 81 83 84 85 87 88 89 91 93 94 95 97 98 99 101 102 104 105 106 107 111 113 116"},E:{"8":0.00444,"14":0.01331,"15":0.00444,_:"0 4 5 6 7 9 10 11 12 13 3.1 3.2 5.1 6.1 7.1 9.1 10.1 11.1","12.1":0.00444,"13.1":0.1641,"14.1":0.0887,"15.1":0.01774,"15.2-15.3":0.00887,"15.4":0.01331,"15.5":0.01331,"15.6":0.20401,"16.0":0.31489,"16.1":0.05322,"16.2":0.24393,"16.3":0.11088,"16.4":0.01774,"16.5":0.06209,"16.6":0.43463,"17.0":0.02661,"17.1":0.05766,"17.2":0.04435,"17.3":0.04879,"17.4":0.12862,"17.5":0.45237,"17.6":1.74739,"18.0":0.26167,"18.1":0.00444},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.00297,"5.0-5.1":0.00148,"6.0-6.1":0.0089,"7.0-7.1":0.01038,"8.1-8.4":0,"9.0-9.2":0.0089,"9.3":0.02521,"10.0-10.2":0.00742,"10.3":0.04301,"11.0-11.2":0.15869,"11.3-11.4":0.01186,"12.0-12.1":0.00742,"12.2-12.5":0.17945,"13.0-13.1":0.00297,"13.2":0.05636,"13.3":0.00742,"13.4-13.7":0.02966,"14.0-14.4":0.06822,"14.5-14.8":0.09047,"15.0-15.1":0.05191,"15.2-15.3":0.05042,"15.4":0.05784,"15.5":0.07119,"15.6-15.8":0.70446,"16.0":0.14237,"16.1":0.28178,"16.2":0.14089,"16.3":0.23729,"16.4":0.05042,"16.5":0.09937,"16.6-16.7":0.84832,"17.0":0.07119,"17.1":0.11271,"17.2":0.10233,"17.3":0.14682,"17.4":0.31441,"17.5":1.51125,"17.6-17.7":8.0427,"18.0":1.01442,"18.1":0.04598},P:{"4":0.02094,"20":0.01047,"21":0.04188,"22":0.13612,"23":0.08377,"24":0.08377,"25":0.27224,"26":2.73287,_:"5.0-5.4 6.2-6.4 8.2 9.2 10.1 11.1-11.2 12.0 13.0 14.0 16.0 17.0","7.2-7.4":0.28271,"15.0":0.03141,"18.0":0.04188,"19.0":0.06282},I:{"0":0.0222,"3":0,"4":0,"2.1":0,"2.2":0,"2.3":0,"4.1":0,"4.2-4.3":0.00001,"4.4":0,"4.4.3-4.4.4":0.00004},K:{"0":0.3339,_:"10 11 12 11.1 11.5 12.1"},A:{"11":0.00444,_:"6 7 8 9 10 5.5"},N:{_:"10 11"},S:{_:"2.5 3.0-3.1"},J:{_:"7 10"},O:{"0":0.14469},H:{"0":0},L:{"0":36.17167},R:{_:"0"},M:{"0":0.30608},Q:{_:"14.9"}}; diff --git a/node_modules/caniuse-lite/data/regions/RO.js b/node_modules/caniuse-lite/data/regions/RO.js index 741216c431..33cfe23130 100644 --- a/node_modules/caniuse-lite/data/regions/RO.js +++ b/node_modules/caniuse-lite/data/regions/RO.js @@ -1 +1 @@ -module.exports={C:{"52":0.06283,"78":0.00967,"83":0.0145,"86":0.00483,"88":0.00483,"102":0.00483,"103":0.00483,"104":0.00483,"105":0.00483,"110":0.00483,"111":0.00483,"112":0.00483,"113":0.00967,"115":0.39631,"117":0.00483,"118":0.00483,"119":0.00483,"120":0.00483,"121":0.00967,"122":0.00967,"123":0.04833,"124":0.03383,"125":0.86027,"126":0.79745,"127":0.00483,_:"2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 79 80 81 82 84 85 87 89 90 91 92 93 94 95 96 97 98 99 100 101 106 107 108 109 114 116 128 129 3.5 3.6"},D:{"33":0.00483,"35":0.00483,"36":0.00483,"37":0.00483,"38":0.00483,"39":0.00483,"41":0.00483,"49":0.02417,"61":0.00483,"69":0.00967,"70":0.00967,"71":0.00483,"73":0.00483,"74":0.00483,"76":0.00967,"79":0.029,"81":0.00483,"85":0.00483,"86":0.00483,"87":0.01933,"88":0.02417,"90":0.00483,"91":0.0145,"92":0.00483,"93":0.01933,"94":0.00967,"96":0.00483,"97":0.00483,"98":0.00967,"99":0.00967,"100":0.06766,"102":0.00967,"103":0.01933,"104":0.00967,"105":0.01933,"106":0.00967,"107":0.00967,"108":0.0145,"109":1.33391,"110":0.00483,"111":0.00967,"112":0.13532,"113":0.06766,"114":0.08699,"115":0.00967,"116":0.04833,"117":0.0145,"118":0.03383,"119":0.05316,"120":0.43497,"121":0.08216,"122":0.17399,"123":0.53646,"124":24.30032,"125":12.19366,"126":0.00483,_:"4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 34 40 42 43 44 45 46 47 48 50 51 52 53 54 55 56 57 58 59 60 62 63 64 65 66 67 68 72 75 77 78 80 83 84 89 95 101 127 128"},F:{"36":0.00483,"46":0.00483,"85":0.0145,"95":0.04833,"98":0.00483,"107":0.31415,"108":0.0145,"109":1.40157,"110":0.06766,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 37 38 39 40 41 42 43 44 45 47 48 49 50 51 52 53 54 55 56 57 58 60 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 86 87 88 89 90 91 92 93 94 96 97 99 100 101 102 103 104 105 106 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"18":0.00483,"92":0.00483,"105":0.00483,"108":0.00483,"109":0.029,"114":0.00483,"118":0.00967,"119":0.06766,"120":0.00967,"121":0.00967,"122":0.01933,"123":0.05316,"124":1.17925,"125":0.77328,_:"12 13 14 15 16 17 79 80 81 83 84 85 86 87 88 89 90 91 93 94 95 96 97 98 99 100 101 102 103 104 106 107 110 111 112 113 115 116 117"},E:{"14":0.00967,_:"0 4 5 6 7 8 9 10 11 12 13 15 3.1 3.2 5.1 6.1 7.1 9.1 10.1 11.1 17.6","12.1":0.00483,"13.1":0.00967,"14.1":0.01933,"15.1":0.00483,"15.2-15.3":0.00483,"15.4":0.00483,"15.5":0.00483,"15.6":0.058,"16.0":0.00483,"16.1":0.0145,"16.2":0.00967,"16.3":0.02417,"16.4":0.00967,"16.5":0.01933,"16.6":0.06283,"17.0":0.00967,"17.1":0.029,"17.2":0.029,"17.3":0.029,"17.4":0.39147,"17.5":0.07733},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.00226,"5.0-5.1":0.00226,"6.0-6.1":0.00566,"7.0-7.1":0.00792,"8.1-8.4":0.00226,"9.0-9.2":0.00566,"9.3":0.02603,"10.0-10.2":0.00453,"10.3":0.04074,"11.0-11.2":0.05998,"11.3-11.4":0.01132,"12.0-12.1":0.00679,"12.2-12.5":0.16411,"13.0-13.1":0.0034,"13.2":0.01585,"13.3":0.00792,"13.4-13.7":0.03622,"14.0-14.4":0.06225,"14.5-14.8":0.0962,"15.0-15.1":0.0464,"15.2-15.3":0.05093,"15.4":0.05772,"15.5":0.07243,"15.6-15.8":0.65191,"16.0":0.14826,"16.1":0.30558,"16.2":0.14826,"16.3":0.25692,"16.4":0.05433,"16.5":0.10978,"16.6-16.7":0.87488,"17.0":0.09507,"17.1":0.15506,"17.2":0.16185,"17.3":0.29879,"17.4":6.78509,"17.5":0.47875,"17.6":0},P:{"4":0.11258,"20":0.02047,"21":0.04094,"22":0.07164,"23":0.13305,"24":0.23539,"25":2.8861,_:"5.0-5.4 7.2-7.4 8.2 9.2 10.1 15.0","6.2-6.4":0.01023,"11.1-11.2":0.01023,"12.0":0.02047,"13.0":0.01023,"14.0":0.02047,"16.0":0.01023,"17.0":0.01023,"18.0":0.01023,"19.0":0.0307},I:{"0":0.04118,"3":0,"4":0,"2.1":0,"2.2":0,"2.3":0,"4.1":0.00001,"4.2-4.3":0.00002,"4.4":0,"4.4.3-4.4.4":0.00009},K:{"0":0.30008,_:"10 11 12 11.1 11.5 12.1"},A:{"8":0.00483,"11":0.02417,_:"6 7 9 10 5.5"},S:{_:"2.5 3.0-3.1"},J:{_:"7 10"},N:{_:"10 11"},L:{"0":36.42784},R:{_:"0"},M:{"0":0.26357},Q:{_:"14.9"},O:{"0":0.03101},H:{"0":0.01}}; +module.exports={C:{"43":0.00941,"48":0.0047,"52":0.06586,"68":0.0047,"78":0.0047,"83":0.01882,"86":0.0047,"101":0.0047,"102":0.0047,"103":0.00941,"104":0.0047,"105":0.0047,"113":0.0047,"115":0.40454,"118":0.0047,"120":0.0047,"121":0.01411,"122":0.0047,"123":0.0047,"124":0.0047,"125":0.00941,"126":0.0047,"127":0.02352,"128":0.01411,"129":0.33398,"130":1.55232,"131":0.00941,_:"2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 44 45 46 47 49 50 51 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 69 70 71 72 73 74 75 76 77 79 80 81 82 84 85 87 88 89 90 91 92 93 94 95 96 97 98 99 100 106 107 108 109 110 111 112 114 116 117 119 132 133 134 135 3.5 3.6"},D:{"49":0.01882,"50":0.0047,"51":0.01411,"52":0.0047,"61":0.00941,"70":0.00941,"71":0.0047,"73":0.0047,"75":0.0047,"76":0.00941,"77":0.00941,"79":0.01882,"81":0.0047,"85":0.0047,"86":0.0047,"87":0.01882,"88":0.01411,"90":0.00941,"91":0.0047,"92":0.0047,"94":0.00941,"98":0.0047,"99":0.01411,"100":0.02822,"101":0.0047,"102":0.0047,"103":0.01882,"104":0.01882,"105":0.0047,"106":0.00941,"107":0.01411,"108":0.01882,"109":1.27478,"110":0.00941,"111":0.00941,"112":0.01882,"113":0.07056,"114":0.09408,"115":0.00941,"116":0.04234,"117":0.00941,"118":0.01882,"119":0.02822,"120":0.43277,"121":0.02352,"122":0.06586,"123":0.07997,"124":0.15994,"125":0.25872,"126":0.15523,"127":0.61152,"128":26.50704,"129":8.26022,"130":0.0047,_:"4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 53 54 55 56 57 58 59 60 62 63 64 65 66 67 68 69 72 74 78 80 83 84 89 93 95 96 97 131 132 133"},F:{"46":0.00941,"82":0.0047,"84":0.00941,"85":0.00941,"89":0.0047,"95":0.04234,"107":0.0047,"109":0.02822,"110":0.0047,"111":0.00941,"112":0.99254,"113":0.75264,"114":0.00941,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 47 48 49 50 51 52 53 54 55 56 57 58 60 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 83 86 87 88 90 91 92 93 94 96 97 98 99 100 101 102 103 104 105 106 108 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"14":0.0047,"15":0.0047,"16":0.01882,"17":0.0047,"18":0.0047,"92":0.0047,"104":0.0047,"107":0.0047,"108":0.0047,"109":0.02352,"114":0.0047,"119":0.0047,"120":0.00941,"121":0.0047,"122":0.00941,"123":0.0047,"124":0.0047,"125":0.00941,"126":0.02352,"127":0.07056,"128":1.47235,"129":0.67267,_:"12 13 79 80 81 83 84 85 86 87 88 89 90 91 93 94 95 96 97 98 99 100 101 102 103 105 106 110 111 112 113 115 116 117 118 130"},E:{"14":0.0047,_:"0 4 5 6 7 8 9 10 11 12 13 15 3.1 3.2 5.1 6.1 7.1 9.1 10.1 11.1","12.1":0.0047,"13.1":0.00941,"14.1":0.01411,"15.1":0.0047,"15.2-15.3":0.0047,"15.4":0.0047,"15.5":0.0047,"15.6":0.05645,"16.0":0.00941,"16.1":0.00941,"16.2":0.00941,"16.3":0.01411,"16.4":0.00941,"16.5":0.00941,"16.6":0.05174,"17.0":0.00941,"17.1":0.01411,"17.2":0.01411,"17.3":0.01411,"17.4":0.03763,"17.5":0.09878,"17.6":0.36221,"18.0":0.09878,"18.1":0.0047},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.00236,"5.0-5.1":0.00118,"6.0-6.1":0.00709,"7.0-7.1":0.00827,"8.1-8.4":0,"9.0-9.2":0.00709,"9.3":0.02008,"10.0-10.2":0.00591,"10.3":0.03425,"11.0-11.2":0.12637,"11.3-11.4":0.00945,"12.0-12.1":0.00591,"12.2-12.5":0.1429,"13.0-13.1":0.00236,"13.2":0.04488,"13.3":0.00591,"13.4-13.7":0.02362,"14.0-14.4":0.05433,"14.5-14.8":0.07204,"15.0-15.1":0.04134,"15.2-15.3":0.04015,"15.4":0.04606,"15.5":0.05669,"15.6-15.8":0.56098,"16.0":0.11338,"16.1":0.22439,"16.2":0.1122,"16.3":0.18896,"16.4":0.04015,"16.5":0.07913,"16.6-16.7":0.67554,"17.0":0.05669,"17.1":0.08976,"17.2":0.08149,"17.3":0.11692,"17.4":0.25037,"17.5":1.20345,"17.6-17.7":6.40461,"18.0":0.80781,"18.1":0.03661},P:{"4":0.06154,"20":0.02051,"21":0.02051,"22":0.05129,"23":0.0718,"24":0.06154,"25":0.31797,"26":2.8515,_:"5.0-5.4 7.2-7.4 8.2 9.2 10.1 14.0 15.0 16.0","6.2-6.4":0.01026,"11.1-11.2":0.01026,"12.0":0.03077,"13.0":0.01026,"17.0":0.01026,"18.0":0.01026,"19.0":0.02051},I:{"0":0.03697,"3":0,"4":0,"2.1":0,"2.2":0,"2.3":0,"4.1":0,"4.2-4.3":0.00001,"4.4":0,"4.4.3-4.4.4":0.00006},K:{"0":0.31835,_:"10 11 12 11.1 11.5 12.1"},A:{"11":0.01882,_:"6 7 8 9 10 5.5"},N:{_:"10 11"},S:{_:"2.5 3.0-3.1"},J:{_:"7 10"},O:{"0":0.04766},H:{"0":0.01},L:{"0":37.05803},R:{_:"0"},M:{"0":0.31776},Q:{_:"14.9"}}; diff --git a/node_modules/caniuse-lite/data/regions/RS.js b/node_modules/caniuse-lite/data/regions/RS.js index d887b00d9b..e3c55c09c7 100644 --- a/node_modules/caniuse-lite/data/regions/RS.js +++ b/node_modules/caniuse-lite/data/regions/RS.js @@ -1 +1 @@ -module.exports={C:{"4":0.00738,"40":0.00369,"52":0.05906,"56":0.00369,"65":0.01107,"68":0.00369,"72":0.00369,"73":0.00369,"74":0.00738,"75":0.00738,"77":0.00369,"78":0.01107,"80":0.00369,"81":0.00369,"82":0.00369,"84":0.00369,"85":0.00369,"88":0.01476,"91":0.01846,"92":0.00369,"93":0.00369,"94":0.00738,"99":0.00369,"101":0.00369,"102":0.00738,"103":0.01107,"105":0.00369,"106":0.00369,"107":0.00738,"108":0.00369,"110":0.00369,"111":0.00738,"112":0.01846,"113":0.04429,"114":0.00369,"115":1.09992,"117":0.00369,"118":0.00369,"119":0.00369,"120":0.00369,"121":0.00738,"122":0.01476,"123":0.02215,"124":0.11442,"125":1.29554,"126":1.20327,"127":0.00369,_:"2 3 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 41 42 43 44 45 46 47 48 49 50 51 53 54 55 57 58 59 60 61 62 63 64 66 67 69 70 71 76 79 83 86 87 89 90 95 96 97 98 100 104 109 116 128 129 3.5 3.6"},D:{"34":0.00369,"38":0.00738,"43":0.00369,"47":0.00369,"49":0.02953,"53":0.00738,"56":0.00369,"58":0.00369,"63":0.00369,"65":0.02215,"68":0.00738,"69":0.00369,"70":0.00369,"71":0.00369,"72":0.00369,"73":0.00369,"74":0.00369,"75":0.00369,"76":0.00369,"78":0.01107,"79":0.2879,"80":0.00738,"81":0.01846,"83":0.01476,"84":0.01107,"85":0.02584,"86":0.00738,"87":0.18455,"88":0.02584,"89":0.01476,"90":0.02215,"91":0.00738,"92":0.01107,"93":0.0406,"94":0.02584,"95":0.01846,"96":0.00738,"97":0.01107,"98":0.00738,"99":0.02584,"100":0.00369,"101":0.00738,"102":0.0406,"103":0.05167,"104":0.01846,"105":0.01846,"106":0.01476,"107":0.02584,"108":0.03691,"109":3.84602,"110":0.00738,"111":0.01476,"112":0.01107,"113":0.07013,"114":0.08858,"115":0.00738,"116":0.0812,"117":0.03322,"118":0.01476,"119":0.07013,"120":0.09966,"121":0.11811,"122":0.19931,"123":0.71236,"124":13.70099,"125":5.58079,"126":0.01846,"127":0.00369,_:"4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 35 36 37 39 40 41 42 44 45 46 48 50 51 52 54 55 57 59 60 61 62 64 66 67 77 128"},F:{"28":0.00369,"36":0.00369,"46":0.01846,"79":0.00369,"82":0.00369,"83":0.00369,"85":0.01846,"86":0.00369,"93":0.00369,"94":0.00369,"95":0.15871,"101":0.00369,"102":0.00369,"106":0.00369,"107":0.26944,"108":0.02584,"109":1.42842,"110":0.08858,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 29 30 31 32 33 34 35 37 38 39 40 41 42 43 44 45 47 48 49 50 51 52 53 54 55 56 57 58 60 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 80 81 84 87 88 89 90 91 92 96 97 98 99 100 103 104 105 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"18":0.00738,"92":0.00738,"108":0.00369,"109":0.02953,"118":0.00369,"119":0.00738,"120":0.02584,"121":0.01107,"122":0.01476,"123":0.05167,"124":1.38413,"125":0.78987,_:"12 13 14 15 16 17 79 80 81 83 84 85 86 87 88 89 90 91 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 110 111 112 113 114 115 116 117"},E:{"14":0.00738,"15":0.00369,_:"0 4 5 6 7 8 9 10 11 12 13 3.1 3.2 5.1 6.1 7.1 10.1 11.1 17.6","9.1":0.00369,"12.1":0.00738,"13.1":0.03691,"14.1":0.02953,"15.1":0.00369,"15.2-15.3":0.00369,"15.4":0.00369,"15.5":0.00738,"15.6":0.09966,"16.0":0.00738,"16.1":0.01107,"16.2":0.00738,"16.3":0.01476,"16.4":0.01107,"16.5":0.00738,"16.6":0.09228,"17.0":0.01476,"17.1":0.02953,"17.2":0.02584,"17.3":0.02953,"17.4":0.2879,"17.5":0.10335},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.00208,"5.0-5.1":0.00208,"6.0-6.1":0.00519,"7.0-7.1":0.00727,"8.1-8.4":0.00208,"9.0-9.2":0.00519,"9.3":0.02389,"10.0-10.2":0.00415,"10.3":0.03739,"11.0-11.2":0.05505,"11.3-11.4":0.01039,"12.0-12.1":0.00623,"12.2-12.5":0.1506,"13.0-13.1":0.00312,"13.2":0.01454,"13.3":0.00727,"13.4-13.7":0.03324,"14.0-14.4":0.05712,"14.5-14.8":0.08828,"15.0-15.1":0.04258,"15.2-15.3":0.04674,"15.4":0.05297,"15.5":0.06647,"15.6-15.8":0.59825,"16.0":0.13606,"16.1":0.28043,"16.2":0.13606,"16.3":0.23577,"16.4":0.04985,"16.5":0.10075,"16.6-16.7":0.80286,"17.0":0.08724,"17.1":0.14229,"17.2":0.14852,"17.3":0.2742,"17.4":6.22656,"17.5":0.43934,"17.6":0},P:{"4":0.18502,"20":0.03084,"21":0.03084,"22":0.05139,"23":0.13363,"24":0.20558,"25":2.73419,"5.0-5.4":0.01028,"6.2-6.4":0.01028,"7.2-7.4":0.01028,_:"8.2 9.2 10.1 12.0","11.1-11.2":0.01028,"13.0":0.02056,"14.0":0.03084,"15.0":0.01028,"16.0":0.01028,"17.0":0.01028,"18.0":0.01028,"19.0":0.04112},I:{"0":0.06914,"3":0,"4":0.00001,"2.1":0,"2.2":0,"2.3":0,"4.1":0.00001,"4.2-4.3":0.00004,"4.4":0,"4.4.3-4.4.4":0.00015},K:{"0":0.4348,_:"10 11 12 11.1 11.5 12.1"},A:{"8":0.01933,"9":0.00387,"10":0.00387,"11":0.21654,_:"6 7 5.5"},S:{_:"2.5 3.0-3.1"},J:{_:"7 10"},N:{_:"10 11"},L:{"0":49.36119},R:{_:"0"},M:{"0":0.22085},Q:{_:"14.9"},O:{"0":0.03155},H:{"0":0.07}}; +module.exports={C:{"45":0.06728,"52":0.04603,"56":0.00708,"65":0.00708,"68":0.00354,"70":0.00354,"71":0.00354,"72":0.00354,"74":0.00354,"75":0.00354,"78":0.00708,"81":0.00354,"82":0.00354,"88":0.00708,"99":0.00354,"102":0.01771,"103":0.01062,"105":0.00354,"106":0.00354,"107":0.00354,"108":0.00354,"109":0.00354,"110":0.00354,"111":0.00708,"113":0.01416,"114":0.00354,"115":0.88879,"116":0.00354,"117":0.00354,"118":0.00354,"119":0.00708,"120":0.00354,"121":0.00354,"122":0.01771,"123":0.00708,"124":0.01771,"125":0.03541,"126":0.01416,"127":0.02833,"128":0.02125,"129":0.40013,"130":2.06086,"131":0.01062,_:"2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 46 47 48 49 50 51 53 54 55 57 58 59 60 61 62 63 64 66 67 69 73 76 77 79 80 83 84 85 86 87 89 90 91 92 93 94 95 96 97 98 100 101 104 112 132 133 134 135 3.5 3.6"},D:{"29":0.00354,"38":0.00354,"47":0.00354,"48":0.00708,"49":0.02833,"53":0.00354,"65":0.00354,"68":0.00354,"70":0.01062,"71":0.00354,"75":0.00708,"76":0.00708,"78":0.01771,"79":0.38597,"80":0.00354,"81":0.01062,"83":0.03187,"84":0.00354,"85":0.01771,"86":0.00708,"87":0.26203,"88":0.02479,"89":0.00708,"90":0.01062,"91":0.00708,"92":0.00354,"93":0.34348,"94":0.04603,"95":0.01416,"96":0.00354,"97":0.01771,"98":0.00708,"99":0.01062,"100":0.00354,"101":0.00708,"102":0.00708,"103":0.05666,"104":0.03895,"105":0.01062,"106":0.02125,"107":0.02479,"108":0.03895,"109":3.56225,"110":0.01062,"111":0.10269,"112":0.01062,"113":0.05312,"114":0.05666,"115":0.01771,"116":0.05666,"117":0.01062,"118":0.01416,"119":0.03895,"120":0.06728,"121":0.06728,"122":0.0779,"123":0.09561,"124":0.38597,"125":0.07436,"126":0.18059,"127":0.67633,"128":14.17108,"129":4.54664,"130":0.00708,"131":0.00354,_:"4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 30 31 32 33 34 35 36 37 39 40 41 42 43 44 45 46 50 51 52 54 55 56 57 58 59 60 61 62 63 64 66 67 69 72 73 74 77 132 133"},F:{"36":0.00354,"40":0.00708,"46":0.02125,"79":0.00354,"83":0.00708,"84":0.01416,"85":0.02479,"86":0.00354,"95":0.1983,"99":0.00354,"102":0.00354,"109":0.01771,"110":0.00354,"111":0.00708,"112":0.93837,"113":0.50282,"114":0.01062,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 37 38 39 41 42 43 44 45 47 48 49 50 51 52 53 54 55 56 57 58 60 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 80 81 82 87 88 89 90 91 92 93 94 96 97 98 100 101 103 104 105 106 107 108 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"18":0.00354,"92":0.00354,"109":0.02479,"114":0.00354,"116":0.00708,"119":0.00354,"120":0.00708,"121":0.00354,"122":0.00354,"123":0.00354,"124":0.00354,"125":0.00708,"126":0.01062,"127":0.04603,"128":1.15791,"129":0.44971,_:"12 13 14 15 16 17 79 80 81 83 84 85 86 87 88 89 90 91 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 110 111 112 113 115 117 118 130"},E:{"4":0.00354,"14":0.00354,"15":0.00708,_:"0 5 6 7 8 9 10 11 12 13 3.1 3.2 5.1 6.1 7.1 10.1 11.1 15.2-15.3","9.1":0.00354,"12.1":0.01062,"13.1":0.03541,"14.1":0.04249,"15.1":0.00354,"15.4":0.00354,"15.5":0.01062,"15.6":0.09561,"16.0":0.00708,"16.1":0.01062,"16.2":0.00354,"16.3":0.01416,"16.4":0.01062,"16.5":0.00708,"16.6":0.07082,"17.0":0.01416,"17.1":0.01416,"17.2":0.01416,"17.3":0.01416,"17.4":0.04249,"17.5":0.0602,"17.6":0.28328,"18.0":0.07082,"18.1":0.00354},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.00207,"5.0-5.1":0.00103,"6.0-6.1":0.00621,"7.0-7.1":0.00724,"8.1-8.4":0,"9.0-9.2":0.00621,"9.3":0.01759,"10.0-10.2":0.00517,"10.3":0.03001,"11.0-11.2":0.11073,"11.3-11.4":0.00828,"12.0-12.1":0.00517,"12.2-12.5":0.12522,"13.0-13.1":0.00207,"13.2":0.03933,"13.3":0.00517,"13.4-13.7":0.0207,"14.0-14.4":0.04761,"14.5-14.8":0.06313,"15.0-15.1":0.03622,"15.2-15.3":0.03519,"15.4":0.04036,"15.5":0.04967,"15.6-15.8":0.49157,"16.0":0.09935,"16.1":0.19663,"16.2":0.09831,"16.3":0.16558,"16.4":0.03519,"16.5":0.06934,"16.6-16.7":0.59196,"17.0":0.04967,"17.1":0.07865,"17.2":0.07141,"17.3":0.10245,"17.4":0.2194,"17.5":1.05455,"17.6-17.7":5.61222,"18.0":0.70787,"18.1":0.03208},P:{"4":0.17545,"20":0.02064,"21":0.03096,"22":0.0516,"23":0.0516,"24":0.03096,"25":0.21673,"26":2.68332,"5.0-5.4":0.02064,"6.2-6.4":0.04128,"7.2-7.4":0.01032,_:"8.2 9.2 10.1 12.0 15.0","11.1-11.2":0.01032,"13.0":0.01032,"14.0":0.01032,"16.0":0.01032,"17.0":0.01032,"18.0":0.01032,"19.0":0.03096},I:{"0":0.01933,"3":0,"4":0,"2.1":0,"2.2":0,"2.3":0,"4.1":0,"4.2-4.3":0.00001,"4.4":0,"4.4.3-4.4.4":0.00003},K:{"0":0.3553,_:"10 11 12 11.1 11.5 12.1"},A:{"8":0.04874,"9":0.01219,"10":0.01219,"11":0.20309,_:"6 7 5.5"},N:{_:"10 11"},S:{_:"2.5 3.0-3.1"},J:{_:"7 10"},O:{"0":0.03876},H:{"0":0},L:{"0":50.99212},R:{_:"0"},M:{"0":0.20026},Q:{"14.9":0.00646}}; diff --git a/node_modules/caniuse-lite/data/regions/RU.js b/node_modules/caniuse-lite/data/regions/RU.js index 1605d22010..490be647ab 100644 --- a/node_modules/caniuse-lite/data/regions/RU.js +++ b/node_modules/caniuse-lite/data/regions/RU.js @@ -1 +1 @@ -module.exports={C:{"31":0.00553,"38":0.00553,"45":0.00553,"48":0.00553,"49":0.00553,"50":0.00553,"52":0.13274,"53":0.00553,"56":0.00553,"65":0.03872,"68":0.01659,"70":0.00553,"72":0.03319,"75":0.00553,"77":0.00553,"78":0.01659,"81":0.01106,"88":0.00553,"89":0.00553,"90":0.00553,"91":0.00553,"92":0.00553,"93":0.00553,"94":0.00553,"96":0.00553,"99":0.00553,"100":0.00553,"101":0.00553,"102":0.01659,"103":0.02766,"104":0.00553,"105":0.00553,"106":0.00553,"107":0.01659,"108":0.01106,"109":0.00553,"110":0.00553,"111":0.01106,"112":0.00553,"113":0.01659,"114":0.01659,"115":0.75775,"116":0.00553,"117":0.00553,"118":0.01106,"119":0.01106,"120":0.01106,"121":0.02212,"122":0.01659,"123":0.03319,"124":0.05531,"125":0.91815,"126":0.71903,"127":0.00553,_:"2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 32 33 34 35 36 37 39 40 41 42 43 44 46 47 51 54 55 57 58 59 60 61 62 63 64 66 67 69 71 73 74 76 79 80 82 83 84 85 86 87 95 97 98 128 129 3.5 3.6"},D:{"25":0.00553,"26":0.00553,"34":0.00553,"38":0.00553,"41":0.00553,"49":0.04425,"51":0.02766,"53":0.00553,"56":0.01106,"57":0.01106,"58":0.00553,"62":0.01106,"64":0.00553,"65":0.00553,"67":0.00553,"68":0.00553,"69":0.00553,"70":0.01106,"71":0.00553,"72":0.01659,"73":0.00553,"74":0.01106,"75":0.01659,"76":0.02212,"77":0.00553,"78":0.01106,"79":0.06084,"80":0.02766,"81":0.02212,"83":0.01659,"84":0.01106,"85":0.02212,"86":0.04978,"87":0.04978,"88":0.07743,"89":0.03872,"90":0.03319,"91":0.01659,"92":0.00553,"93":0.00553,"94":0.03872,"95":0.00553,"96":0.01106,"97":0.03319,"98":0.02766,"99":0.03872,"100":0.01659,"101":0.01659,"102":0.07743,"103":0.03872,"104":0.06637,"105":0.02766,"106":0.14934,"107":0.04978,"108":0.06637,"109":2.70466,"110":0.03872,"111":0.05531,"112":0.04425,"113":0.13828,"114":0.19912,"115":0.02212,"116":0.10509,"117":0.03319,"118":0.04425,"119":0.13828,"120":0.20465,"121":0.2323,"122":0.26549,"123":0.67478,"124":10.87948,"125":4.13719,"126":0.01106,"127":0.00553,_:"4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 27 28 29 30 31 32 33 35 36 37 39 40 42 43 44 45 46 47 48 50 52 54 55 59 60 61 63 66 128"},F:{"36":0.02766,"43":0.00553,"46":0.00553,"55":0.00553,"60":0.00553,"64":0.00553,"70":0.00553,"72":0.00553,"73":0.00553,"74":0.00553,"76":0.00553,"77":0.01106,"79":0.04978,"80":0.00553,"82":0.01106,"83":0.00553,"84":0.01106,"85":0.06084,"86":0.02212,"87":0.00553,"89":0.00553,"90":0.00553,"92":0.00553,"93":0.00553,"94":0.00553,"95":0.85731,"97":0.00553,"99":0.00553,"102":0.01106,"104":0.00553,"105":0.01106,"106":0.12721,"107":0.59182,"108":0.0719,"109":3.65599,"110":0.25996,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 37 38 39 40 41 42 44 45 47 48 49 50 51 52 53 54 56 57 58 62 63 65 66 67 68 69 71 75 78 81 88 91 96 98 100 101 103 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6","12.1":0.00553},B:{"14":0.00553,"16":0.00553,"18":0.01659,"80":0.00553,"81":0.00553,"83":0.00553,"84":0.00553,"85":0.00553,"86":0.00553,"88":0.00553,"89":0.00553,"90":0.00553,"92":0.01659,"98":0.00553,"100":0.00553,"107":0.00553,"108":0.00553,"109":0.06637,"110":0.00553,"111":0.00553,"113":0.00553,"114":0.01659,"115":0.00553,"116":0.00553,"117":0.00553,"118":0.00553,"119":0.01106,"120":0.02766,"121":0.02212,"122":0.04978,"123":0.07743,"124":2.79869,"125":1.53762,_:"12 13 15 17 79 87 91 93 94 95 96 97 99 101 102 103 104 105 106 112"},E:{"14":0.03319,"15":0.00553,_:"0 4 5 6 7 8 9 10 11 12 13 3.1 3.2 5.1 6.1 7.1 10.1 17.6","9.1":0.03319,"11.1":0.00553,"12.1":0.01659,"13.1":0.03319,"14.1":0.05531,"15.1":0.01106,"15.2-15.3":0.01106,"15.4":0.01106,"15.5":0.01659,"15.6":0.11062,"16.0":0.01106,"16.1":0.02766,"16.2":0.02766,"16.3":0.04978,"16.4":0.01659,"16.5":0.03319,"16.6":0.14934,"17.0":0.02766,"17.1":0.05531,"17.2":0.04425,"17.3":0.04978,"17.4":0.53098,"17.5":0.08297},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.00195,"5.0-5.1":0.00195,"6.0-6.1":0.00488,"7.0-7.1":0.00684,"8.1-8.4":0.00195,"9.0-9.2":0.00488,"9.3":0.02246,"10.0-10.2":0.00391,"10.3":0.03515,"11.0-11.2":0.05175,"11.3-11.4":0.00976,"12.0-12.1":0.00586,"12.2-12.5":0.14159,"13.0-13.1":0.00293,"13.2":0.01367,"13.3":0.00684,"13.4-13.7":0.03125,"14.0-14.4":0.05371,"14.5-14.8":0.083,"15.0-15.1":0.04004,"15.2-15.3":0.04394,"15.4":0.0498,"15.5":0.06249,"15.6-15.8":0.56245,"16.0":0.12792,"16.1":0.26365,"16.2":0.12792,"16.3":0.22166,"16.4":0.04687,"16.5":0.09472,"16.6-16.7":0.75482,"17.0":0.08202,"17.1":0.13378,"17.2":0.13964,"17.3":0.25779,"17.4":5.85398,"17.5":0.41305,"17.6":0},P:{"4":0.08608,"20":0.01076,"21":0.03228,"22":0.02152,"23":0.0538,"24":0.09684,"25":0.75322,_:"5.0-5.4 6.2-6.4 8.2 10.1 11.1-11.2 12.0 13.0 14.0 15.0 16.0 18.0","7.2-7.4":0.01076,"9.2":0.02152,"17.0":0.01076,"19.0":0.01076},I:{"0":0.04897,"3":0,"4":0,"2.1":0,"2.2":0,"2.3":0,"4.1":0.00001,"4.2-4.3":0.00003,"4.4":0,"4.4.3-4.4.4":0.00011},K:{"0":0.88933,_:"10 11 12 11.1 11.5 12.1"},A:{"8":0.01766,"9":0.00589,"11":0.15897,_:"6 7 10 5.5"},S:{_:"2.5 3.0-3.1"},J:{_:"7 10"},N:{_:"10 11"},L:{"0":27.93043},R:{_:"0"},M:{"0":0.1877},Q:{"14.9":0.01341},O:{"0":0.13854},H:{"0":0}}; +module.exports={C:{"4":0.03323,"31":0.00554,"48":0.00554,"50":0.04985,"51":0.0277,"52":0.30465,"56":0.00554,"66":0.00554,"68":0.00554,"72":0.00554,"73":0.00554,"75":0.00554,"78":0.01662,"88":0.00554,"91":0.00554,"96":0.00554,"98":0.00554,"99":0.01108,"101":0.00554,"102":0.01662,"103":0.0277,"104":0.00554,"105":0.00554,"107":0.00554,"108":0.01108,"109":0.01108,"110":0.00554,"111":0.01108,"112":0.00554,"113":0.01108,"114":0.02216,"115":0.76992,"116":0.00554,"118":0.00554,"119":0.00554,"120":0.01108,"121":0.00554,"122":0.01108,"123":0.00554,"124":0.01108,"125":0.0277,"126":0.01108,"127":0.03323,"128":0.0277,"129":0.29911,"130":1.35706,"131":0.00554,_:"2 3 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 49 53 54 55 57 58 59 60 61 62 63 64 65 67 69 70 71 74 76 77 79 80 81 82 83 84 85 86 87 89 90 92 93 94 95 97 100 106 117 132 133 134 135 3.5 3.6"},D:{"25":0.00554,"26":0.00554,"34":0.00554,"38":0.02216,"47":0.00554,"48":0.00554,"49":0.03877,"51":0.03323,"52":0.0277,"53":0.00554,"56":0.24372,"57":0.03323,"58":0.03323,"60":0.00554,"68":0.00554,"69":0.00554,"70":0.01108,"71":0.00554,"72":0.00554,"73":0.00554,"74":0.00554,"75":0.00554,"76":0.02216,"77":0.00554,"78":0.00554,"79":0.06647,"80":0.02216,"81":0.01662,"83":0.01662,"84":0.01108,"85":0.02216,"86":0.02216,"87":0.04985,"88":0.03877,"89":0.01662,"90":0.04985,"91":0.01108,"92":0.00554,"93":0.00554,"94":0.02216,"95":0.00554,"96":0.00554,"97":0.04985,"98":0.02216,"99":0.0277,"100":0.02216,"101":0.01108,"102":0.04985,"103":0.03877,"104":0.2271,"105":0.02216,"106":0.16063,"107":0.04985,"108":0.06647,"109":2.59225,"110":0.03323,"111":0.04431,"112":0.03877,"113":0.04985,"114":0.07201,"115":0.01108,"116":0.11078,"117":0.01662,"118":0.06093,"119":0.04985,"120":0.0997,"121":0.15509,"122":0.15509,"123":0.27141,"124":0.3545,"125":0.19387,"126":0.42096,"127":0.62037,"128":11.11123,"129":4.59183,"130":0.01108,_:"4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 27 28 29 30 31 32 33 35 36 37 39 40 41 42 43 44 45 46 50 54 55 59 61 62 63 64 65 66 67 131 132 133"},F:{"36":0.0277,"46":0.01108,"60":0.00554,"76":0.00554,"77":0.01108,"79":0.04431,"80":0.01108,"82":0.00554,"83":0.01108,"84":0.06093,"85":0.05539,"86":0.02216,"87":0.00554,"89":0.00554,"90":0.00554,"92":0.00554,"94":0.00554,"95":0.76438,"96":0.00554,"99":0.00554,"102":0.01108,"106":0.00554,"107":0.00554,"108":0.00554,"109":0.04985,"110":0.02216,"111":0.0277,"112":2.42054,"113":1.39583,"114":0.02216,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 37 38 39 40 41 42 43 44 45 47 48 49 50 51 52 53 54 55 56 57 58 62 63 64 65 66 67 68 69 70 71 72 73 74 75 78 81 88 91 93 97 98 100 101 103 104 105 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"14":0.06647,"16":0.00554,"17":0.00554,"18":0.01662,"80":0.00554,"81":0.00554,"83":0.00554,"84":0.00554,"85":0.00554,"86":0.00554,"87":0.00554,"88":0.00554,"89":0.00554,"90":0.00554,"92":0.02216,"100":0.00554,"106":0.00554,"107":0.00554,"108":0.00554,"109":0.07201,"111":0.00554,"112":0.00554,"114":0.00554,"117":0.00554,"119":0.00554,"120":0.01108,"121":0.01662,"122":0.01662,"123":0.00554,"124":0.02216,"125":0.01108,"126":0.04431,"127":0.08862,"128":2.343,"129":1.11888,_:"12 13 15 79 91 93 94 95 96 97 98 99 101 102 103 104 105 110 113 115 116 118 130"},E:{"10":0.0277,"11":0.00554,"14":0.02216,"15":0.00554,_:"0 4 5 6 7 8 9 12 13 3.1 3.2 5.1 6.1 7.1 10.1","9.1":0.01662,"11.1":0.00554,"12.1":0.01108,"13.1":0.0277,"14.1":0.04431,"15.1":0.00554,"15.2-15.3":0.00554,"15.4":0.01108,"15.5":0.01108,"15.6":0.0997,"16.0":0.00554,"16.1":0.02216,"16.2":0.01662,"16.3":0.03877,"16.4":0.01108,"16.5":0.0277,"16.6":0.09416,"17.0":0.01662,"17.1":0.04431,"17.2":0.0277,"17.3":0.03323,"17.4":0.09416,"17.5":0.1274,"17.6":0.48189,"18.0":0.10524,"18.1":0.00554},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.00197,"5.0-5.1":0.00098,"6.0-6.1":0.00591,"7.0-7.1":0.00689,"8.1-8.4":0,"9.0-9.2":0.00591,"9.3":0.01674,"10.0-10.2":0.00492,"10.3":0.02855,"11.0-11.2":0.10535,"11.3-11.4":0.00788,"12.0-12.1":0.00492,"12.2-12.5":0.11913,"13.0-13.1":0.00197,"13.2":0.03741,"13.3":0.00492,"13.4-13.7":0.01969,"14.0-14.4":0.04529,"14.5-14.8":0.06006,"15.0-15.1":0.03446,"15.2-15.3":0.03347,"15.4":0.0384,"15.5":0.04726,"15.6-15.8":0.46766,"16.0":0.09452,"16.1":0.18706,"16.2":0.09353,"16.3":0.15753,"16.4":0.03347,"16.5":0.06596,"16.6-16.7":0.56316,"17.0":0.04726,"17.1":0.07483,"17.2":0.06793,"17.3":0.09747,"17.4":0.20872,"17.5":1.00325,"17.6-17.7":5.33918,"18.0":0.67343,"18.1":0.03052},P:{"4":0.07429,"20":0.01061,"21":0.02122,"22":0.01061,"23":0.02122,"24":0.02122,"25":0.0849,"26":0.72165,_:"5.0-5.4 6.2-6.4 8.2 9.2 10.1 12.0 13.0 14.0 15.0 16.0 18.0","7.2-7.4":0.01061,"11.1-11.2":0.01061,"17.0":0.01061,"19.0":0.01061},I:{"0":0.04004,"3":0,"4":0,"2.1":0,"2.2":0,"2.3":0,"4.1":0,"4.2-4.3":0.00002,"4.4":0,"4.4.3-4.4.4":0.00006},K:{"0":0.78514,_:"10 11 12 11.1 11.5 12.1"},A:{"8":0.01908,"9":0.00636,"10":0.00636,"11":0.13991,_:"6 7 5.5"},N:{_:"10 11"},S:{_:"2.5 3.0-3.1"},J:{_:"7 10"},O:{"0":0.25874},H:{"0":0},L:{"0":27.36829},R:{_:"0"},M:{"0":0.17398},Q:{"14.9":0.01338}}; diff --git a/node_modules/caniuse-lite/data/regions/RW.js b/node_modules/caniuse-lite/data/regions/RW.js index c5aadf9f61..b100676012 100644 --- a/node_modules/caniuse-lite/data/regions/RW.js +++ b/node_modules/caniuse-lite/data/regions/RW.js @@ -1 +1 @@ -module.exports={C:{"31":0.00433,"41":0.00433,"43":0.00866,"71":0.00433,"72":0.00433,"75":0.00433,"78":0.00433,"81":0.00433,"86":0.00433,"88":0.00433,"89":0.00433,"112":0.00433,"113":0.00866,"115":0.13417,"117":0.00433,"120":0.00433,"122":0.01298,"123":0.01731,"124":0.02597,"125":0.67517,"126":0.65786,"127":0.01298,_:"2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 32 33 34 35 36 37 38 39 40 42 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 73 74 76 77 79 80 82 83 84 85 87 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 114 116 118 119 121 128 129 3.5 3.6"},D:{"22":0.00866,"31":0.00433,"38":0.00433,"40":0.00433,"43":0.00866,"44":0.00433,"46":0.00433,"49":0.00433,"55":0.00433,"56":0.00433,"58":0.00866,"64":0.00433,"65":0.00433,"69":0.00866,"70":0.00866,"71":0.00433,"72":0.00433,"74":0.00866,"76":0.00433,"77":0.00433,"78":0.00433,"79":0.01298,"80":0.01731,"81":0.00866,"83":0.00433,"84":0.00866,"85":0.01731,"86":0.00433,"87":0.04761,"88":0.01731,"89":0.01298,"90":0.01731,"93":0.02164,"95":0.02164,"96":0.00433,"98":0.05626,"99":0.00866,"100":0.00433,"101":0.00433,"102":0.00866,"103":0.06492,"105":0.00433,"106":0.02597,"107":0.00866,"108":0.02164,"109":0.8353,"110":0.03895,"111":0.00866,"112":0.00433,"113":0.01298,"114":0.02597,"115":0.0303,"116":0.1385,"117":0.01298,"118":0.02164,"119":0.09089,"120":0.13417,"121":0.14715,"122":0.27266,"123":0.84396,"124":16.30358,"125":6.18038,"126":0.06059,"127":0.00433,_:"4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 23 24 25 26 27 28 29 30 32 33 34 35 36 37 39 41 42 45 47 48 50 51 52 53 54 57 59 60 61 62 63 66 67 68 73 75 91 92 94 97 104 128"},F:{"79":0.00866,"95":0.0303,"106":0.00433,"107":0.04328,"108":0.0303,"109":0.73576,"110":0.08223,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 60 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 96 97 98 99 100 101 102 103 104 105 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"12":0.04328,"13":0.06059,"14":0.01731,"15":0.01298,"16":0.02164,"17":0.01731,"18":0.18178,"84":0.00866,"85":0.00433,"89":0.01731,"90":0.00866,"92":0.25102,"100":0.04328,"106":0.00433,"107":0.00433,"108":0.00433,"109":0.01731,"110":0.00433,"111":0.02597,"112":0.01731,"113":0.00866,"114":0.00433,"115":0.00433,"116":0.00433,"117":0.00866,"118":0.00866,"119":0.02164,"120":0.13417,"121":0.05194,"122":0.08223,"123":0.1082,"124":2.4886,"125":1.35034,_:"79 80 81 83 86 87 88 91 93 94 95 96 97 98 99 101 102 103 104 105"},E:{"14":0.05194,_:"0 4 5 6 7 8 9 10 11 12 13 15 3.1 3.2 5.1 6.1 7.1 9.1 10.1 11.1 15.5 16.0 16.4 17.6","12.1":0.00433,"13.1":0.01298,"14.1":0.01298,"15.1":0.00433,"15.2-15.3":0.00433,"15.4":0.00433,"15.6":0.0303,"16.1":0.01298,"16.2":0.00433,"16.3":0.00433,"16.5":0.00433,"16.6":0.03895,"17.0":0.00433,"17.1":0.01731,"17.2":0.01298,"17.3":0.02164,"17.4":0.14715,"17.5":0.27699},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.00088,"5.0-5.1":0.00088,"6.0-6.1":0.0022,"7.0-7.1":0.00307,"8.1-8.4":0.00088,"9.0-9.2":0.0022,"9.3":0.0101,"10.0-10.2":0.00176,"10.3":0.0158,"11.0-11.2":0.02327,"11.3-11.4":0.00439,"12.0-12.1":0.00263,"12.2-12.5":0.06366,"13.0-13.1":0.00132,"13.2":0.00615,"13.3":0.00307,"13.4-13.7":0.01405,"14.0-14.4":0.02415,"14.5-14.8":0.03732,"15.0-15.1":0.018,"15.2-15.3":0.01976,"15.4":0.02239,"15.5":0.0281,"15.6-15.8":0.25287,"16.0":0.05751,"16.1":0.11853,"16.2":0.05751,"16.3":0.09966,"16.4":0.02107,"16.5":0.04258,"16.6-16.7":0.33936,"17.0":0.03688,"17.1":0.06014,"17.2":0.06278,"17.3":0.1159,"17.4":2.63188,"17.5":0.1857,"17.6":0},P:{"4":0.08882,"20":0.01974,"21":0.04935,"22":0.08882,"23":0.11843,"24":0.17765,"25":0.6415,_:"5.0-5.4 8.2 9.2 10.1 12.0 15.0","6.2-6.4":0.02961,"7.2-7.4":0.09869,"11.1-11.2":0.00987,"13.0":0.00987,"14.0":0.02961,"16.0":0.00987,"17.0":0.00987,"18.0":0.00987,"19.0":0.08882},I:{"0":0.09605,"3":0,"4":0.00001,"2.1":0,"2.2":0,"2.3":0,"4.1":0.00002,"4.2-4.3":0.00006,"4.4":0,"4.4.3-4.4.4":0.00021},K:{"0":5.39996,_:"10 11 12 11.1 11.5 12.1"},A:{"10":0.00433,"11":0.04761,_:"6 7 8 9 5.5"},S:{"2.5":0.02269,_:"3.0-3.1"},J:{_:"7 10"},N:{_:"10 11"},L:{"0":50.0362},R:{_:"0"},M:{"0":0.09075},Q:{"14.9":0.00567},O:{"0":0.30629},H:{"0":3.42}}; +module.exports={C:{"44":0.00463,"45":0.00463,"61":0.00463,"72":0.00463,"78":0.00463,"106":0.00463,"112":0.00463,"115":0.11119,"121":0.00927,"122":0.00463,"124":0.00463,"125":0.00463,"126":0.00463,"127":0.06486,"128":0.09729,"129":0.21312,"130":1.03779,"131":0.0417,_:"2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 62 63 64 65 66 67 68 69 70 71 73 74 75 76 77 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 107 108 109 110 111 113 114 116 117 118 119 120 123 132 133 134 135 3.5 3.6"},D:{"11":0.00463,"37":0.0278,"38":0.00463,"49":0.00463,"50":0.00927,"55":0.00463,"56":0.00463,"58":0.00463,"59":0.00463,"65":0.00927,"66":0.03243,"70":0.0139,"71":0.00463,"73":0.00927,"74":0.00927,"77":0.00463,"78":0.00927,"79":0.0139,"80":0.00927,"81":0.00463,"83":0.00927,"84":0.0139,"85":0.00463,"86":0.00463,"87":0.06486,"88":0.0278,"89":0.00463,"90":0.0139,"91":0.01853,"93":0.03243,"94":0.00463,"95":0.00927,"98":0.0278,"99":0.01853,"100":0.00463,"102":0.00463,"103":0.0556,"104":0.00927,"105":0.00927,"106":0.03243,"107":0.02317,"108":0.0139,"109":0.74591,"110":0.01853,"111":0.0139,"113":0.00463,"114":0.01853,"115":0.01853,"116":0.16679,"117":0.01853,"118":0.05096,"119":0.07413,"120":0.05096,"121":0.0278,"122":0.14826,"123":0.0417,"124":0.12046,"125":0.15752,"126":0.28261,"127":0.90344,"128":17.55444,"129":6.27772,"130":0.0278,"131":0.00463,_:"4 5 6 7 8 9 10 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 39 40 41 42 43 44 45 46 47 48 51 52 53 54 57 60 61 62 63 64 67 68 69 72 75 76 92 96 97 101 112 132 133"},F:{"79":0.00463,"83":0.16679,"84":0.07413,"94":0.0139,"95":0.0139,"111":0.0139,"112":0.52816,"113":0.26871,"114":0.01853,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 60 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 80 81 82 85 86 87 88 89 90 91 92 93 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"12":0.00927,"13":0.0139,"14":0.00463,"15":0.00927,"16":0.0139,"17":0.00463,"18":0.06023,"84":0.00927,"89":0.02317,"90":0.0139,"92":0.37064,"100":0.02317,"103":0.00463,"107":0.00463,"108":0.00927,"109":0.04633,"110":0.0139,"111":0.00463,"112":0.00463,"113":0.00463,"114":0.0278,"116":0.00463,"117":0.00463,"119":0.00463,"120":0.0695,"121":0.00927,"122":0.00927,"123":0.01853,"124":0.0417,"125":0.03243,"126":0.17142,"127":0.15289,"128":3.1875,"129":0.9127,_:"79 80 81 83 85 86 87 88 91 93 94 95 96 97 98 99 101 102 104 105 106 115 118 130"},E:{"12":0.0139,"13":0.00927,"14":0.00927,_:"0 4 5 6 7 8 9 10 11 15 3.1 3.2 5.1 6.1 7.1 9.1 10.1 15.2-15.3 15.4 15.5 16.0 18.1","11.1":0.00463,"12.1":0.00463,"13.1":0.00463,"14.1":0.02317,"15.1":0.00927,"15.6":0.06023,"16.1":0.00463,"16.2":0.00463,"16.3":0.0139,"16.4":0.03706,"16.5":0.00927,"16.6":0.09729,"17.0":0.01853,"17.1":0.00463,"17.2":0.0139,"17.3":0.00463,"17.4":0.0139,"17.5":0.09729,"17.6":0.13436,"18.0":0.03243},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.00077,"5.0-5.1":0.00038,"6.0-6.1":0.0023,"7.0-7.1":0.00268,"8.1-8.4":0,"9.0-9.2":0.0023,"9.3":0.00651,"10.0-10.2":0.00191,"10.3":0.0111,"11.0-11.2":0.04095,"11.3-11.4":0.00306,"12.0-12.1":0.00191,"12.2-12.5":0.0463,"13.0-13.1":0.00077,"13.2":0.01454,"13.3":0.00191,"13.4-13.7":0.00765,"14.0-14.4":0.0176,"14.5-14.8":0.02334,"15.0-15.1":0.01339,"15.2-15.3":0.01301,"15.4":0.01492,"15.5":0.01837,"15.6-15.8":0.18177,"16.0":0.03674,"16.1":0.07271,"16.2":0.03635,"16.3":0.06123,"16.4":0.01301,"16.5":0.02564,"16.6-16.7":0.21889,"17.0":0.01837,"17.1":0.02908,"17.2":0.0264,"17.3":0.03788,"17.4":0.08113,"17.5":0.38994,"17.6-17.7":2.0752,"18.0":0.26174,"18.1":0.01186},P:{"4":0.03123,"20":0.01041,"21":0.04163,"22":0.02082,"23":0.01041,"24":0.13531,"25":0.14572,"26":0.46839,_:"5.0-5.4 8.2 9.2 10.1 12.0 13.0 14.0 15.0 16.0 18.0","6.2-6.4":0.03123,"7.2-7.4":0.06245,"11.1-11.2":0.01041,"17.0":0.01041,"19.0":0.05204},I:{"0":0.07494,"3":0,"4":0,"2.1":0,"2.2":0,"2.3":0,"4.1":0.00001,"4.2-4.3":0.00003,"4.4":0,"4.4.3-4.4.4":0.00012},K:{"0":5.28705,_:"10 11 12 11.1 11.5 12.1"},A:{"11":0.05096,_:"6 7 8 9 10 5.5"},N:{_:"10 11"},S:{"2.5":0.01073,_:"3.0-3.1"},J:{_:"7 10"},O:{"0":0.31665},H:{"0":1.47},L:{"0":51.35804},R:{_:"0"},M:{"0":0.08587},Q:{"14.9":0.01073}}; diff --git a/node_modules/caniuse-lite/data/regions/SA.js b/node_modules/caniuse-lite/data/regions/SA.js index c651419936..a1b17ce148 100644 --- a/node_modules/caniuse-lite/data/regions/SA.js +++ b/node_modules/caniuse-lite/data/regions/SA.js @@ -1 +1 @@ -module.exports={C:{"52":0.00201,"66":0.00201,"68":0.00201,"88":0.00201,"108":0.00201,"109":0.00201,"115":0.05631,"120":0.00201,"121":0.00201,"122":0.00201,"123":0.00402,"124":0.01006,"125":0.23127,"126":0.18702,_:"2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 53 54 55 56 57 58 59 60 61 62 63 64 65 67 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 110 111 112 113 114 116 117 118 119 127 128 129 3.5 3.6"},D:{"11":0.00201,"38":0.00603,"41":0.00603,"47":0.00201,"49":0.00201,"51":0.00201,"56":0.00402,"58":0.01609,"63":0.00201,"65":0.00201,"67":0.00201,"68":0.00201,"69":0.00402,"70":0.00201,"71":0.00201,"72":0.00402,"73":0.00201,"74":0.00201,"75":0.00402,"76":0.00201,"78":0.00201,"79":0.02614,"80":0.00603,"81":0.00201,"83":0.00603,"85":0.00201,"86":0.00603,"87":0.02413,"88":0.00603,"89":0.00201,"90":0.00603,"91":0.00402,"92":0.00201,"93":0.01207,"94":0.00804,"95":0.00201,"96":0.00201,"97":0.00201,"98":0.01006,"99":0.02614,"100":0.00201,"101":0.00201,"102":0.00603,"103":0.02815,"104":0.00402,"105":0.01207,"106":0.00804,"107":0.01207,"108":0.01408,"109":0.66162,"110":0.01408,"111":0.01408,"112":0.01408,"113":0.00603,"114":0.01408,"115":0.01408,"116":0.04625,"117":0.0181,"118":0.02212,"119":0.03419,"120":0.08245,"121":0.07039,"122":0.16088,"123":0.2735,"124":8.54474,"125":3.26184,"126":0.00603,"127":0.00201,_:"4 5 6 7 8 9 10 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 39 40 42 43 44 45 46 48 50 52 53 54 55 57 59 60 61 62 64 66 77 84 128"},F:{"28":0.00201,"46":0.00201,"82":0.00402,"83":0.00201,"95":0.00201,"104":0.00201,"106":0.00201,"107":0.0724,"108":0.0362,"109":0.23931,"110":0.00201,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 47 48 49 50 51 52 53 54 55 56 57 58 60 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 84 85 86 87 88 89 90 91 92 93 94 96 97 98 99 100 101 102 103 105 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"12":0.00201,"16":0.00201,"17":0.00201,"18":0.00402,"92":0.00804,"100":0.00201,"105":0.00201,"106":0.00201,"107":0.00201,"108":0.00201,"109":0.01006,"110":0.00201,"111":0.00201,"113":0.00201,"114":0.00201,"115":0.00402,"116":0.00201,"117":0.00804,"118":0.00402,"119":0.00603,"120":0.01609,"121":0.0181,"122":0.03419,"123":0.26344,"124":1.50825,"125":0.77625,_:"13 14 15 79 80 81 83 84 85 86 87 88 89 90 91 93 94 95 96 97 98 99 101 102 103 104 112"},E:{"13":0.00201,"14":0.01408,"15":0.00603,_:"0 4 5 6 7 8 9 10 11 12 3.1 3.2 6.1 7.1 9.1 10.1 17.6","5.1":0.00402,"11.1":0.00201,"12.1":0.00201,"13.1":0.01006,"14.1":0.0362,"15.1":0.00804,"15.2-15.3":0.00603,"15.4":0.01207,"15.5":0.02614,"15.6":0.13876,"16.0":0.01609,"16.1":0.05631,"16.2":0.03821,"16.3":0.07642,"16.4":0.02614,"16.5":0.0362,"16.6":0.17496,"17.0":0.03017,"17.1":0.05229,"17.2":0.0543,"17.3":0.08044,"17.4":1.01757,"17.5":0.10658},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.00526,"5.0-5.1":0.00526,"6.0-6.1":0.01315,"7.0-7.1":0.01841,"8.1-8.4":0.00526,"9.0-9.2":0.01315,"9.3":0.06049,"10.0-10.2":0.01052,"10.3":0.09468,"11.0-11.2":0.13939,"11.3-11.4":0.0263,"12.0-12.1":0.01578,"12.2-12.5":0.38135,"13.0-13.1":0.00789,"13.2":0.03682,"13.3":0.01841,"13.4-13.7":0.08416,"14.0-14.4":0.14465,"14.5-14.8":0.22355,"15.0-15.1":0.10783,"15.2-15.3":0.11835,"15.4":0.13413,"15.5":0.16832,"15.6-15.8":1.51487,"16.0":0.34453,"16.1":0.71009,"16.2":0.34453,"16.3":0.59701,"16.4":0.12624,"16.5":0.25511,"16.6-16.7":2.03297,"17.0":0.22092,"17.1":0.36031,"17.2":0.37609,"17.3":0.69431,"17.4":15.76672,"17.5":1.11248,"17.6":0},P:{"4":0.01035,"20":0.01035,"21":0.04139,"22":0.07244,"23":0.09314,"24":0.20697,"25":1.45913,"5.0-5.4":0.01035,_:"6.2-6.4 8.2 9.2 10.1 12.0 14.0 15.0","7.2-7.4":0.0207,"11.1-11.2":0.01035,"13.0":0.01035,"16.0":0.01035,"17.0":0.01035,"18.0":0.01035,"19.0":0.0207},I:{"0":0.0557,"3":0,"4":0.00001,"2.1":0,"2.2":0,"2.3":0,"4.1":0.00001,"4.2-4.3":0.00003,"4.4":0,"4.4.3-4.4.4":0.00012},K:{"0":0.47934,_:"10 11 12 11.1 11.5 12.1"},A:{"8":0.00211,"10":0.00211,"11":0.03801,_:"6 7 9 5.5"},S:{_:"2.5 3.0-3.1"},J:{_:"7 10"},N:{_:"10 11"},L:{"0":50.43772},R:{_:"0"},M:{"0":0.06391},Q:{"14.9":0.00799},O:{"0":1.15841},H:{"0":0}}; +module.exports={C:{"34":0.00175,"52":0.01222,"82":0.00175,"107":0.00175,"115":0.03839,"123":0.00175,"124":0.00175,"125":0.00698,"126":0.00175,"127":0.00524,"128":0.00349,"129":0.06806,"130":0.29665,"131":0.00175,_:"2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 108 109 110 111 112 113 114 116 117 118 119 120 121 122 132 133 134 135 3.5 3.6"},D:{"11":0.00175,"38":0.00524,"41":0.00175,"47":0.00175,"49":0.00175,"51":0.00175,"56":0.00873,"58":0.01571,"63":0.00175,"65":0.00175,"68":0.00175,"69":0.00175,"70":0.00175,"71":0.00175,"72":0.0192,"73":0.00175,"74":0.00175,"75":0.00349,"76":0.00175,"78":0.00175,"79":0.01571,"80":0.00175,"81":0.00349,"83":0.00698,"85":0.00349,"86":0.00175,"87":0.02094,"88":0.00349,"89":0.00175,"90":0.00524,"91":0.00698,"93":0.01222,"94":0.01396,"95":0.00349,"96":0.00175,"97":0.00175,"98":0.00873,"99":0.01571,"100":0.00175,"101":0.00349,"102":0.00175,"103":0.0192,"104":0.00175,"105":0.00524,"106":0.00873,"107":0.00524,"108":0.01047,"109":0.55317,"110":0.01571,"111":0.00873,"112":0.01047,"113":0.00349,"114":0.00698,"115":0.00349,"116":0.0349,"117":0.00698,"118":0.01571,"119":0.03839,"120":0.04712,"121":0.02443,"122":0.08202,"123":0.02618,"124":0.089,"125":0.04886,"126":0.10121,"127":0.34551,"128":7.37437,"129":3.04503,"130":0.00175,_:"4 5 6 7 8 9 10 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 39 40 42 43 44 45 46 48 50 52 53 54 55 57 59 60 61 62 64 66 67 77 84 92 131 132 133"},F:{"46":0.00175,"73":0.00175,"82":0.01047,"83":0.00175,"84":0.01571,"95":0.00175,"108":0.01222,"109":0.00698,"110":0.02269,"111":0.0349,"112":0.08376,"113":0.06282,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 47 48 49 50 51 52 53 54 55 56 57 58 60 62 63 64 65 66 67 68 69 70 71 72 74 75 76 77 78 79 80 81 85 86 87 88 89 90 91 92 93 94 96 97 98 99 100 101 102 103 104 105 106 107 114 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"18":0.00873,"92":0.01047,"100":0.00175,"105":0.00175,"107":0.00175,"108":0.00175,"109":0.01571,"110":0.00175,"111":0.00175,"113":0.00349,"114":0.00873,"116":0.00175,"117":0.00349,"118":0.00349,"119":0.00175,"120":0.00698,"121":0.00349,"122":0.00698,"123":0.00349,"124":0.00698,"125":0.01222,"126":0.02618,"127":0.09423,"128":1.45359,"129":0.5235,"130":0.00175,_:"12 13 14 15 16 17 79 80 81 83 84 85 86 87 88 89 90 91 93 94 95 96 97 98 99 101 102 103 104 106 112 115"},E:{"13":0.00175,"14":0.00698,"15":0.00349,_:"0 4 5 6 7 8 9 10 11 12 3.1 3.2 6.1 7.1 9.1 10.1 11.1","5.1":0.00175,"12.1":0.00175,"13.1":0.00524,"14.1":0.02269,"15.1":0.00524,"15.2-15.3":0.00524,"15.4":0.00698,"15.5":0.01047,"15.6":0.0541,"16.0":0.00698,"16.1":0.02618,"16.2":0.0192,"16.3":0.03316,"16.4":0.0192,"16.5":0.02269,"16.6":0.12215,"17.0":0.01047,"17.1":0.01396,"17.2":0.02443,"17.3":0.02269,"17.4":0.06282,"17.5":0.22511,"17.6":0.75035,"18.0":0.10819,"18.1":0.00524},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.00431,"5.0-5.1":0.00216,"6.0-6.1":0.01294,"7.0-7.1":0.01509,"8.1-8.4":0,"9.0-9.2":0.01294,"9.3":0.03666,"10.0-10.2":0.01078,"10.3":0.06253,"11.0-11.2":0.23071,"11.3-11.4":0.01725,"12.0-12.1":0.01078,"12.2-12.5":0.2609,"13.0-13.1":0.00431,"13.2":0.08194,"13.3":0.01078,"13.4-13.7":0.04312,"14.0-14.4":0.09919,"14.5-14.8":0.13153,"15.0-15.1":0.07547,"15.2-15.3":0.07331,"15.4":0.08409,"15.5":0.1035,"15.6-15.8":1.0242,"16.0":0.207,"16.1":0.40968,"16.2":0.20484,"16.3":0.34499,"16.4":0.07331,"16.5":0.14447,"16.6-16.7":1.23335,"17.0":0.1035,"17.1":0.16387,"17.2":0.14878,"17.3":0.21346,"17.4":0.45712,"17.5":2.19717,"17.6-17.7":11.69311,"18.0":1.47484,"18.1":0.06684},P:{"4":0.01038,"20":0.01038,"21":0.02075,"22":0.05188,"23":0.0415,"24":0.05188,"25":0.15564,"26":1.11024,"5.0-5.4":0.01038,_:"6.2-6.4 8.2 9.2 10.1 12.0 13.0 14.0 15.0 16.0 17.0 18.0","7.2-7.4":0.01038,"11.1-11.2":0.01038,"19.0":0.01038},I:{"0":0.0494,"3":0,"4":0,"2.1":0,"2.2":0,"2.3":0,"4.1":0,"4.2-4.3":0.00002,"4.4":0,"4.4.3-4.4.4":0.00008},K:{"0":0.48705,_:"10 11 12 11.1 11.5 12.1"},A:{"11":0.01745,_:"6 7 8 9 10 5.5"},N:{_:"10 11"},S:{_:"2.5 3.0-3.1"},J:{_:"7 10"},O:{"0":1.65926},H:{"0":0},L:{"0":57.69965},R:{_:"0"},M:{"0":0.06604},Q:{_:"14.9"}}; diff --git a/node_modules/caniuse-lite/data/regions/SB.js b/node_modules/caniuse-lite/data/regions/SB.js index afaaf66f33..c604ba7c62 100644 --- a/node_modules/caniuse-lite/data/regions/SB.js +++ b/node_modules/caniuse-lite/data/regions/SB.js @@ -1 +1 @@ -module.exports={C:{"115":0.02459,"116":0.00307,"121":0.00922,"122":0.02767,"124":0.00922,"125":0.21211,"126":0.26744,_:"2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 117 118 119 120 123 127 128 129 3.5 3.6"},D:{"11":0.00307,"41":0.00307,"49":0.00307,"50":0.00307,"53":0.07992,"55":0.00307,"56":0.05841,"61":0.0123,"67":0.00307,"69":0.00307,"70":0.00615,"71":0.00615,"81":0.00307,"87":0.00307,"89":0.02459,"90":0.0123,"92":0.00615,"94":0.01537,"95":0.00615,"99":0.00307,"100":0.00307,"102":0.01844,"103":0.00615,"104":0.00615,"105":0.02767,"106":0.00307,"108":1.04516,"109":0.18751,"111":0.00307,"112":0.00922,"113":0.9929,"114":0.00615,"116":0.01844,"117":0.00615,"118":0.00922,"119":0.01844,"120":0.0123,"121":0.05533,"122":0.10144,"123":0.42114,"124":12.64029,"125":3.05863,"126":0.00307,_:"4 5 6 7 8 9 10 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 42 43 44 45 46 47 48 51 52 54 57 58 59 60 62 63 64 65 66 68 72 73 74 75 76 77 78 79 80 83 84 85 86 88 91 93 96 97 98 101 107 110 115 127 128"},F:{"95":0.01537,"102":0.00615,"107":0.00922,"108":0.0123,"109":0.08915,"110":0.00615,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 60 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 96 97 98 99 100 101 103 104 105 106 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"12":0.00922,"13":0.00307,"14":0.00307,"15":0.01844,"16":0.0123,"17":0.00922,"18":0.01537,"81":0.00307,"84":0.00615,"90":0.00307,"92":0.04918,"94":0.00307,"96":0.00307,"100":0.00615,"103":0.00615,"107":0.00615,"108":0.00922,"109":0.09529,"111":0.00307,"112":0.00307,"113":0.00615,"114":0.00307,"115":0.03381,"117":0.0123,"118":0.01537,"119":0.03074,"120":0.0123,"121":0.02767,"122":0.3904,"123":0.07992,"124":3.2984,"125":1.34334,_:"79 80 83 85 86 87 88 89 91 93 95 97 98 99 101 102 104 105 106 110 116"},E:{"13":0.00307,_:"0 4 5 6 7 8 9 10 11 12 14 15 3.1 3.2 5.1 6.1 7.1 9.1 10.1 11.1 15.1 15.2-15.3 15.4 15.5 16.0 16.2 16.4 16.5 17.0 17.5 17.6","12.1":0.00922,"13.1":0.00922,"14.1":0.00922,"15.6":0.17522,"16.1":0.01537,"16.3":0.00307,"16.6":0.03074,"17.1":0.00307,"17.2":0.01844,"17.3":0.00922,"17.4":0.07378},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.00111,"5.0-5.1":0.00111,"6.0-6.1":0.00278,"7.0-7.1":0.0039,"8.1-8.4":0.00111,"9.0-9.2":0.00278,"9.3":0.01281,"10.0-10.2":0.00223,"10.3":0.02005,"11.0-11.2":0.02951,"11.3-11.4":0.00557,"12.0-12.1":0.00334,"12.2-12.5":0.08074,"13.0-13.1":0.00167,"13.2":0.0078,"13.3":0.0039,"13.4-13.7":0.01782,"14.0-14.4":0.03063,"14.5-14.8":0.04733,"15.0-15.1":0.02283,"15.2-15.3":0.02506,"15.4":0.0284,"15.5":0.03564,"15.6-15.8":0.32075,"16.0":0.07295,"16.1":0.15035,"16.2":0.07295,"16.3":0.12641,"16.4":0.02673,"16.5":0.05401,"16.6-16.7":0.43045,"17.0":0.04678,"17.1":0.07629,"17.2":0.07963,"17.3":0.14701,"17.4":3.33832,"17.5":0.23555,"17.6":0},P:{"4":0.01031,"20":0.02061,"21":0.26798,"22":0.25767,"23":0.56688,"24":0.53596,"25":0.84516,_:"5.0-5.4 8.2 9.2 10.1 12.0","6.2-6.4":0.01031,"7.2-7.4":0.09276,"11.1-11.2":0.01031,"13.0":0.04123,"14.0":0.01031,"15.0":0.01031,"16.0":0.12368,"17.0":0.04123,"18.0":0.02061,"19.0":0.16491},I:{"0":0.11728,"3":0,"4":0.00001,"2.1":0,"2.2":0,"2.3":0,"4.1":0.00002,"4.2-4.3":0.00007,"4.4":0,"4.4.3-4.4.4":0.00026},K:{"0":1.44909,_:"10 11 12 11.1 11.5 12.1"},A:{"11":0.05841,_:"6 7 8 9 10 5.5"},S:{_:"2.5 3.0-3.1"},J:{_:"7 10"},N:{_:"10 11"},L:{"0":62.44623},R:{_:"0"},M:{"0":0.09004},Q:{_:"14.9"},O:{"0":1.48909},H:{"0":0.04}}; +module.exports={C:{"61":0.00754,"75":0.01131,"78":0.00377,"107":0.00377,"115":0.01885,"116":0.01885,"125":0.00377,"127":0.03393,"128":0.01131,"129":0.13949,"130":1.00659,"131":0.02639,_:"2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 62 63 64 65 66 67 68 69 70 71 72 73 74 76 77 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 108 109 110 111 112 113 114 117 118 119 120 121 122 123 124 126 132 133 134 135 3.5 3.6"},D:{"11":0.01508,"53":0.44863,"65":0.01131,"69":0.00377,"70":0.00377,"74":0.00377,"75":0.00377,"78":0.00377,"79":0.01131,"83":0.00377,"86":0.02639,"94":0.03016,"96":0.00377,"99":0.08671,"101":0.00377,"103":0.02262,"104":0.00754,"105":0.00377,"107":0.02262,"108":1.53062,"109":0.27521,"111":0.05278,"112":0.01131,"113":0.36569,"114":0.01508,"115":0.00377,"116":0.02262,"117":0.00377,"120":0.01885,"121":0.01885,"122":0.06032,"123":0.03393,"124":0.12818,"125":0.01508,"126":0.08671,"127":0.71253,"128":15.61911,"129":2.76341,"130":0.00377,_:"4 5 6 7 8 9 10 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 54 55 56 57 58 59 60 61 62 63 64 66 67 68 71 72 73 76 77 80 81 84 85 87 88 89 90 91 92 93 95 97 98 100 102 106 110 118 119 131 132 133"},F:{"83":0.00377,"84":0.00377,"90":0.00377,"109":0.00754,"112":0.10556,"113":0.91611,"114":0.00377,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 60 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 85 86 87 88 89 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 110 111 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"13":0.01131,"14":0.01131,"15":0.0377,"17":0.04901,"18":0.03393,"84":0.03393,"92":0.12064,"100":0.00377,"108":0.00377,"109":0.03016,"112":0.0377,"114":0.01131,"116":0.06032,"117":0.01131,"118":0.01131,"119":0.02262,"120":0.01131,"121":0.0377,"122":0.01508,"123":0.06786,"124":0.16965,"125":0.0377,"126":0.05655,"127":0.39585,"128":4.9387,"129":1.32704,_:"12 16 79 80 81 83 85 86 87 88 89 90 91 93 94 95 96 97 98 99 101 102 103 104 105 106 107 110 111 113 115 130"},E:{"10":0.00377,"11":0.00754,_:"0 4 5 6 7 8 9 12 13 14 15 3.1 3.2 5.1 6.1 7.1 9.1 10.1 11.1 13.1 15.1 15.2-15.3 15.4 15.5 16.0 16.2 16.4 17.0 17.1","12.1":0.01131,"14.1":0.00754,"15.6":0.32422,"16.1":0.00754,"16.3":0.02639,"16.5":0.00754,"16.6":0.01131,"17.2":0.02262,"17.3":0.00377,"17.4":0.23751,"17.5":0.00377,"17.6":0.12064,"18.0":0.02262,"18.1":0.00377},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.00048,"5.0-5.1":0.00024,"6.0-6.1":0.00143,"7.0-7.1":0.00167,"8.1-8.4":0,"9.0-9.2":0.00143,"9.3":0.00405,"10.0-10.2":0.00119,"10.3":0.0069,"11.0-11.2":0.02546,"11.3-11.4":0.0019,"12.0-12.1":0.00119,"12.2-12.5":0.0288,"13.0-13.1":0.00048,"13.2":0.00904,"13.3":0.00119,"13.4-13.7":0.00476,"14.0-14.4":0.01095,"14.5-14.8":0.01452,"15.0-15.1":0.00833,"15.2-15.3":0.00809,"15.4":0.00928,"15.5":0.01142,"15.6-15.8":0.11304,"16.0":0.02285,"16.1":0.04522,"16.2":0.02261,"16.3":0.03808,"16.4":0.00809,"16.5":0.01595,"16.6-16.7":0.13613,"17.0":0.01142,"17.1":0.01809,"17.2":0.01642,"17.3":0.02356,"17.4":0.05045,"17.5":0.24251,"17.6-17.7":1.2906,"18.0":0.16278,"18.1":0.00738},P:{"20":0.01037,"21":0.06224,"22":0.17633,"23":0.25932,"24":0.08298,"25":0.29043,"26":0.71571,_:"4 8.2 10.1 11.1-11.2 12.0 14.0 15.0 17.0","5.0-5.4":0.12447,"6.2-6.4":0.02075,"7.2-7.4":0.09335,"9.2":0.01037,"13.0":0.03112,"16.0":0.05186,"18.0":0.01037,"19.0":0.07261},I:{"0":0.12426,"3":0,"4":0,"2.1":0,"2.2":0,"2.3":0,"4.1":0.00001,"4.2-4.3":0.00005,"4.4":0,"4.4.3-4.4.4":0.0002},K:{"0":1.68063,_:"10 11 12 11.1 11.5 12.1"},A:{"11":0.0377,_:"6 7 8 9 10 5.5"},N:{_:"10 11"},S:{_:"2.5 3.0-3.1"},J:{_:"7 10"},O:{"0":1.4952},H:{"0":0.07},L:{"0":56.21402},R:{_:"0"},M:{"0":2.04344},Q:{_:"14.9"}}; diff --git a/node_modules/caniuse-lite/data/regions/SC.js b/node_modules/caniuse-lite/data/regions/SC.js index 34edd24b12..03a009e032 100644 --- a/node_modules/caniuse-lite/data/regions/SC.js +++ b/node_modules/caniuse-lite/data/regions/SC.js @@ -1 +1 @@ -module.exports={C:{"52":0.02064,"60":0.00516,"65":0.00516,"68":0.00516,"69":0.00516,"70":0.00516,"71":0.00516,"72":0.01032,"73":0.00516,"74":0.00516,"75":0.00516,"76":0.00516,"77":0.00516,"78":0.01032,"79":0.00516,"80":0.00516,"81":0.00516,"82":0.00516,"83":0.00516,"88":0.01032,"91":0.00516,"97":0.00516,"100":0.01032,"102":0.02064,"104":0.03611,"105":0.00516,"108":0.00516,"110":0.0877,"113":0.00516,"115":1.3207,"117":0.00516,"118":0.00516,"119":0.01032,"121":0.01032,"122":0.01548,"123":0.07223,"124":1.19173,"125":0.59844,"126":0.25795,"127":0.00516,_:"2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 53 54 55 56 57 58 59 61 62 63 64 66 67 84 85 86 87 89 90 92 93 94 95 96 98 99 101 103 106 107 109 111 112 114 116 120 128 129 3.5 3.6"},D:{"41":0.00516,"45":9.00246,"68":0.04127,"69":0.04643,"70":0.03611,"71":0.03095,"72":0.05675,"73":0.01548,"74":0.04643,"75":0.03611,"76":0.03611,"77":0.47463,"78":0.06707,"79":0.04127,"80":0.07223,"81":0.05675,"83":0.05675,"84":0.03611,"85":0.05159,"86":0.10834,"87":0.1135,"88":0.11866,"89":0.06707,"90":0.07739,"91":0.02064,"92":0.03611,"94":0.00516,"95":0.00516,"98":0.00516,"99":0.00516,"100":0.00516,"101":0.01032,"102":0.09802,"103":0.05159,"104":0.00516,"105":0.04643,"106":0.01032,"107":0.0258,"108":0.01548,"109":0.64488,"110":0.00516,"111":0.02064,"112":0.0258,"113":0.03611,"114":0.24247,"115":0.18057,"116":1.12982,"117":0.02064,"118":0.13413,"119":0.05675,"120":3.55971,"121":0.6294,"122":0.63456,"123":4.33356,"124":9.6886,"125":3.47717,"126":0.01032,_:"4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 42 43 44 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 93 96 97 127 128"},F:{"28":0.00516,"46":0.00516,"49":0.00516,"52":0.00516,"53":0.01548,"54":0.0258,"55":0.02064,"56":0.00516,"60":0.00516,"62":0.00516,"65":0.00516,"66":0.00516,"67":0.00516,"68":0.00516,"71":0.00516,"73":0.00516,"74":0.00516,"75":0.00516,"76":0.00516,"79":0.04643,"89":0.00516,"93":0.01032,"95":0.00516,"106":0.00516,"107":0.10318,"108":0.04643,"109":0.26311,"110":0.00516,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 47 48 50 51 57 58 63 64 69 70 72 77 78 80 81 82 83 84 85 86 87 88 90 91 92 94 96 97 98 99 100 101 102 103 104 105 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"14":0.00516,"18":0.02064,"79":0.01548,"80":0.03095,"81":0.03095,"83":0.03611,"84":0.04127,"85":0.01032,"86":0.03095,"87":0.0258,"88":0.0258,"89":0.0258,"90":0.0258,"91":0.00516,"92":0.01032,"95":0.00516,"104":0.00516,"109":0.01032,"113":0.00516,"120":0.01032,"121":0.03611,"122":0.09802,"123":0.36629,"124":1.93978,"125":0.7429,_:"12 13 15 16 17 93 94 96 97 98 99 100 101 102 103 105 106 107 108 110 111 112 114 115 116 117 118 119"},E:{"14":0.01032,_:"0 4 5 6 7 8 9 10 11 12 13 15 3.1 3.2 5.1 6.1 7.1 10.1 11.1 14.1 17.6","9.1":0.2889,"12.1":0.00516,"13.1":0.04127,"15.1":0.06707,"15.2-15.3":0.04643,"15.4":0.00516,"15.5":0.02064,"15.6":0.0258,"16.0":0.00516,"16.1":0.00516,"16.2":0.01032,"16.3":0.0258,"16.4":0.00516,"16.5":0.88219,"16.6":0.07739,"17.0":0.05675,"17.1":0.0258,"17.2":0.01548,"17.3":0.04643,"17.4":0.73258,"17.5":0.0877},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.00176,"5.0-5.1":0.00176,"6.0-6.1":0.00439,"7.0-7.1":0.00614,"8.1-8.4":0.00176,"9.0-9.2":0.00439,"9.3":0.02019,"10.0-10.2":0.00351,"10.3":0.0316,"11.0-11.2":0.04652,"11.3-11.4":0.00878,"12.0-12.1":0.00527,"12.2-12.5":0.12726,"13.0-13.1":0.00263,"13.2":0.01229,"13.3":0.00614,"13.4-13.7":0.02809,"14.0-14.4":0.04827,"14.5-14.8":0.0746,"15.0-15.1":0.03598,"15.2-15.3":0.0395,"15.4":0.04476,"15.5":0.05617,"15.6-15.8":0.50554,"16.0":0.11498,"16.1":0.23697,"16.2":0.11498,"16.3":0.19923,"16.4":0.04213,"16.5":0.08513,"16.6-16.7":0.67844,"17.0":0.07372,"17.1":0.12024,"17.2":0.12551,"17.3":0.23171,"17.4":5.26165,"17.5":0.37126,"17.6":0},P:{"4":0.03101,"20":0.01034,"21":0.01034,"22":0.03101,"23":0.2274,"24":0.23773,"25":1.55043,_:"5.0-5.4 6.2-6.4 8.2 9.2 10.1 11.1-11.2 12.0 13.0 14.0 16.0 17.0","7.2-7.4":0.02067,"15.0":0.04134,"18.0":0.01034,"19.0":0.08269},I:{"0":0.01929,"3":0,"4":0,"2.1":0,"2.2":0,"2.3":0,"4.1":0,"4.2-4.3":0.00001,"4.4":0,"4.4.3-4.4.4":0.00004},K:{"0":1.8199,_:"10 11 12 11.1 11.5 12.1"},A:{"8":0.02708,"11":0.08125,_:"6 7 9 10 5.5"},S:{_:"2.5 3.0-3.1"},J:{_:"7 10"},N:{_:"10 11"},L:{"0":36.98126},R:{_:"0"},M:{"0":1.33612},Q:{"14.9":0.09198},O:{"0":0.85686},H:{"0":0.01}}; +module.exports={C:{"4":0.00582,"7":0.00582,"10":0.00582,"14":0.00582,"16":0.00582,"49":0.00582,"52":0.06988,"55":0.00582,"60":0.09317,"64":0.00582,"68":0.01165,"69":0.00582,"72":0.00582,"75":0.00582,"76":0.00582,"77":0.02912,"78":0.03494,"79":0.00582,"80":0.00582,"81":0.00582,"82":0.00582,"83":0.00582,"91":0.04076,"95":0.71041,"99":0.00582,"100":0.01165,"102":0.04658,"104":0.01747,"105":0.02912,"108":0.00582,"109":0.01747,"114":0.01165,"115":4.0761,"117":0.00582,"118":0.00582,"120":0.00582,"123":0.00582,"124":0.05823,"125":0.37267,"126":0.00582,"127":0.01165,"128":0.02912,"129":0.12228,"130":0.8851,_:"2 3 5 6 8 9 11 12 13 15 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 50 51 53 54 56 57 58 59 61 62 63 65 66 67 70 71 73 74 84 85 86 87 88 89 90 92 93 94 96 97 98 101 103 106 107 110 111 112 113 116 119 121 122 131 132 133 134 135","3.5":0.00582,"3.6":0.00582},D:{"4":0.00582,"41":0.04658,"45":1.61297,"56":0.00582,"68":0.04658,"69":0.02912,"70":0.04076,"71":0.04658,"72":0.04658,"73":0.01747,"74":0.05241,"75":0.03494,"76":0.02912,"77":0.02912,"78":1.28106,"79":0.05241,"80":0.0757,"81":0.05241,"83":0.06988,"84":0.02912,"85":0.05823,"86":0.13393,"87":0.05823,"88":0.11646,"89":0.04658,"90":0.06405,"91":0.02912,"92":0.03494,"94":0.0757,"95":0.00582,"96":0.00582,"98":0.02329,"99":0.01165,"100":0.00582,"101":0.02329,"102":0.05241,"103":0.01165,"104":0.01165,"105":0.00582,"106":0.08152,"107":0.00582,"108":0.05823,"109":0.43673,"110":0.03494,"111":0.02912,"112":0.02329,"113":0.30862,"114":0.37267,"115":0.03494,"116":0.21545,"117":0.19798,"118":2.27679,"119":0.33773,"120":0.40761,"121":0.20381,"122":0.19798,"123":0.68129,"124":2.03805,"125":0.27368,"126":0.68129,"127":0.60559,"128":21.16078,"129":6.06174,"130":0.01165,_:"5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 42 43 44 46 47 48 49 50 51 52 53 54 55 57 58 59 60 61 62 63 64 65 66 67 93 97 131 132 133"},F:{"45":0.00582,"46":0.00582,"49":0.00582,"53":0.01747,"54":0.01747,"55":0.01747,"60":0.00582,"62":0.00582,"67":0.00582,"68":0.00582,"74":0.01165,"75":0.00582,"76":0.00582,"84":0.10481,"106":0.00582,"110":0.00582,"111":0.00582,"112":1.06561,"113":0.12811,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 47 48 50 51 52 56 57 58 63 64 65 66 69 70 71 72 73 77 78 79 80 81 82 83 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 107 108 109 114 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6","12.1":0.00582},B:{"12":0.00582,"14":0.00582,"18":0.01165,"79":0.01747,"80":0.05241,"81":0.04658,"83":0.05823,"84":0.05241,"85":0.02912,"86":0.06988,"87":0.02912,"88":0.02912,"89":0.03494,"90":0.06405,"91":0.00582,"92":0.01747,"105":0.01747,"106":0.00582,"108":0.02329,"109":0.00582,"110":0.00582,"111":0.01165,"113":0.01747,"114":0.03494,"115":0.00582,"116":0.00582,"117":0.03494,"118":0.01165,"119":0.02912,"120":0.08152,"121":0.04076,"122":0.02912,"123":0.16887,"124":0.05823,"125":0.05823,"126":0.06988,"127":0.13975,"128":1.43246,"129":0.54154,_:"13 15 16 17 93 94 95 96 97 98 99 100 101 102 103 104 107 112 130"},E:{"5":0.00582,"9":0.00582,"10":0.00582,"14":0.01165,_:"0 4 6 7 8 11 12 13 15 3.1 3.2 5.1 6.1 7.1 10.1 11.1 12.1","9.1":0.14558,"13.1":0.00582,"14.1":0.01747,"15.1":0.04076,"15.2-15.3":0.01165,"15.4":0.01165,"15.5":0.01165,"15.6":0.08152,"16.0":0.01747,"16.1":0.02329,"16.2":0.01165,"16.3":0.02329,"16.4":0.00582,"16.5":0.02912,"16.6":0.02912,"17.0":0.00582,"17.1":0.02329,"17.2":0.01747,"17.3":0.02912,"17.4":1.03649,"17.5":0.12811,"17.6":0.45419,"18.0":0.05823,"18.1":0.00582},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.00104,"5.0-5.1":0.00052,"6.0-6.1":0.00311,"7.0-7.1":0.00362,"8.1-8.4":0,"9.0-9.2":0.00311,"9.3":0.0088,"10.0-10.2":0.00259,"10.3":0.01501,"11.0-11.2":0.05538,"11.3-11.4":0.00414,"12.0-12.1":0.00259,"12.2-12.5":0.06262,"13.0-13.1":0.00104,"13.2":0.01967,"13.3":0.00259,"13.4-13.7":0.01035,"14.0-14.4":0.02381,"14.5-14.8":0.03157,"15.0-15.1":0.01811,"15.2-15.3":0.0176,"15.4":0.02018,"15.5":0.02484,"15.6-15.8":0.24583,"16.0":0.04968,"16.1":0.09833,"16.2":0.04917,"16.3":0.0828,"16.4":0.0176,"16.5":0.03467,"16.6-16.7":0.29603,"17.0":0.02484,"17.1":0.03933,"17.2":0.03571,"17.3":0.05124,"17.4":0.10972,"17.5":0.52736,"17.6-17.7":2.80657,"18.0":0.35399,"18.1":0.01604},P:{"4":0.02089,"20":0.01044,"22":0.02089,"23":0.02089,"24":0.01044,"25":0.08354,"26":0.99204,_:"21 5.0-5.4 6.2-6.4 8.2 9.2 10.1 11.1-11.2 12.0 14.0 15.0 16.0 17.0 18.0","7.2-7.4":0.01044,"13.0":0.01044,"19.0":0.01044},I:{"0":0.03749,"3":0,"4":0,"2.1":0,"2.2":0,"2.3":0,"4.1":0,"4.2-4.3":0.00002,"4.4":0,"4.4.3-4.4.4":0.00006},K:{"0":1.49537,_:"10 11 12 11.1 11.5 12.1"},A:{"8":0.02745,"9":0.02745,"11":0.13726,_:"6 7 10 5.5"},N:{_:"10 11"},S:{"2.5":0.00418,_:"3.0-3.1"},J:{_:"7 10"},O:{"0":0.73098},H:{"0":0},L:{"0":32.9585},R:{_:"0"},M:{"0":1.45777},Q:{"14.9":0.11278}}; diff --git a/node_modules/caniuse-lite/data/regions/SD.js b/node_modules/caniuse-lite/data/regions/SD.js index 35b0389330..7bf33df945 100644 --- a/node_modules/caniuse-lite/data/regions/SD.js +++ b/node_modules/caniuse-lite/data/regions/SD.js @@ -1 +1 @@ -module.exports={C:{"34":0.00285,"36":0.00107,"40":0.00142,"44":0.00214,"45":0.0032,"46":0.00107,"47":0.00071,"48":0.00178,"49":0.00142,"52":0.00712,"54":0.00036,"55":0.00107,"56":0.00107,"57":0.00285,"59":0.00107,"60":0.00036,"63":0.00107,"65":0.00071,"66":0.00036,"69":0.00285,"71":0.00036,"72":0.00356,"74":0.00178,"76":0.00036,"77":0.00036,"78":0.00214,"79":0.00036,"80":0.00071,"81":0.00036,"83":0.00036,"84":0.00214,"89":0.00178,"90":0.00036,"91":0.00142,"93":0.00214,"94":0.00036,"102":0.00178,"107":0.00142,"108":0.00107,"109":0.00178,"110":0.00071,"111":0.00178,"112":0.00071,"113":0.00249,"114":0.00071,"115":0.10644,"116":0.00071,"117":0.00071,"119":0.00036,"120":0.00071,"121":0.00926,"122":0.00107,"123":0.00427,"124":0.00463,"125":0.15308,"126":0.11143,_:"2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 35 37 38 39 41 42 43 50 51 53 58 61 62 64 67 68 70 73 75 82 85 86 87 88 92 95 96 97 98 99 100 101 103 104 105 106 118 127 128 129 3.5 3.6"},D:{"11":0.00107,"19":0.00071,"24":0.00214,"27":0.00036,"29":0.00071,"31":0.00071,"32":0.00285,"33":0.00036,"34":0.00071,"35":0.00178,"37":0.00071,"38":0.00036,"40":0.00854,"41":0.00036,"43":0.00676,"46":0.00142,"47":0.00071,"48":0.00178,"49":0.00071,"50":0.0089,"52":0.00071,"53":0.00036,"54":0.00071,"56":0.00107,"57":0.0032,"58":0.11534,"60":0.00071,"61":0.01424,"62":0.00036,"63":0.00534,"64":0.00249,"65":0.00107,"66":0.00249,"67":0.00142,"68":0.01139,"69":0.00463,"70":0.01958,"71":0.00142,"72":0.00427,"73":0.00036,"74":0.00534,"75":0.00036,"76":0.00071,"77":0.00036,"78":0.07583,"79":0.01495,"80":0.00178,"81":0.00498,"83":0.00463,"84":0.00214,"85":0.00427,"86":0.00249,"87":0.0121,"88":0.00961,"89":0.00178,"90":0.00071,"91":0.00071,"92":0.0032,"93":0.00463,"94":0.00107,"95":0.00036,"96":0.00142,"97":0.00071,"98":0.0032,"99":0.01744,"100":0.00142,"101":0.00071,"102":0.00142,"103":0.01032,"104":0.03311,"105":0.00178,"106":0.00534,"107":0.00356,"108":0.01032,"109":0.15415,"110":0.00178,"111":0.01709,"112":0.0032,"113":0.00427,"114":0.00427,"115":0.00214,"116":0.0057,"117":0.01638,"118":0.00427,"119":0.01353,"120":0.03916,"121":0.03845,"122":0.01816,"123":0.04058,"124":0.50125,"125":0.22642,"126":0.00036,"127":0.00036,_:"4 5 6 7 8 9 10 12 13 14 15 16 17 18 20 21 22 23 25 26 28 30 36 39 42 44 45 51 55 59 128"},F:{"29":0.00071,"35":0.00036,"37":0.00071,"39":0.00142,"42":0.00036,"49":0.00036,"55":0.00071,"64":0.00036,"68":0.00036,"71":0.00071,"73":0.00036,"74":0.00071,"77":0.00036,"79":0.00605,"82":0.00178,"84":0.00107,"85":0.00036,"86":0.00249,"87":0.00036,"94":0.00071,"95":0.00997,"96":0.00036,"98":0.00071,"101":0.00071,"104":0.00036,"107":0.00641,"108":0.0057,"109":0.07512,"110":0.00854,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 28 30 31 32 33 34 36 38 40 41 43 44 45 46 47 48 50 51 52 53 54 56 57 58 60 62 63 65 66 67 69 70 72 75 76 78 80 81 83 88 89 90 91 92 93 97 99 100 102 103 105 106 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"12":0.00107,"13":0.00249,"14":0.00142,"15":0.00071,"16":0.00142,"17":0.01816,"18":0.0057,"84":0.00641,"89":0.00356,"90":0.00214,"92":0.02065,"94":0.00071,"96":0.00036,"97":0.00214,"100":0.00249,"101":0.00071,"107":0.00036,"108":0.00178,"109":0.00427,"110":0.00178,"111":0.00285,"112":0.00854,"113":0.00071,"114":0.00142,"115":0.00036,"116":0.00036,"117":0.00107,"118":0.00214,"119":0.00178,"120":0.00961,"121":0.00712,"122":0.00392,"123":0.0146,"124":0.16518,"125":0.08686,_:"79 80 81 83 85 86 87 88 91 93 95 98 99 102 103 104 105 106"},E:{"13":0.00071,_:"0 4 5 6 7 8 9 10 11 12 14 15 3.1 3.2 6.1 7.1 9.1 10.1 11.1 12.1 14.1 15.1 15.2-15.3 16.2 16.3 16.4 16.5 17.0 17.1 17.6","5.1":0.05732,"13.1":0.00107,"15.4":0.0032,"15.5":0.00071,"15.6":0.00214,"16.0":0.00107,"16.1":0.00107,"16.6":0.00071,"17.2":0.00036,"17.3":0.00107,"17.4":0.00214,"17.5":0.00214},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.00035,"5.0-5.1":0.00035,"6.0-6.1":0.00088,"7.0-7.1":0.00124,"8.1-8.4":0.00035,"9.0-9.2":0.00088,"9.3":0.00406,"10.0-10.2":0.00071,"10.3":0.00635,"11.0-11.2":0.00935,"11.3-11.4":0.00176,"12.0-12.1":0.00106,"12.2-12.5":0.02559,"13.0-13.1":0.00053,"13.2":0.00247,"13.3":0.00124,"13.4-13.7":0.00565,"14.0-14.4":0.00971,"14.5-14.8":0.015,"15.0-15.1":0.00724,"15.2-15.3":0.00794,"15.4":0.009,"15.5":0.0113,"15.6-15.8":0.10166,"16.0":0.02312,"16.1":0.04765,"16.2":0.02312,"16.3":0.04006,"16.4":0.00847,"16.5":0.01712,"16.6-16.7":0.13642,"17.0":0.01482,"17.1":0.02418,"17.2":0.02524,"17.3":0.04659,"17.4":1.05803,"17.5":0.07465,"17.6":0},P:{"4":0.41214,"20":0.15078,"21":0.35182,"22":0.59307,"23":0.44229,"24":0.45234,"25":0.38198,"5.0-5.4":0.03016,"6.2-6.4":0.06031,"7.2-7.4":0.5026,_:"8.2 10.1 12.0","9.2":0.04021,"11.1-11.2":0.06031,"13.0":0.04021,"14.0":0.15078,"15.0":0.03016,"16.0":0.2513,"17.0":0.08042,"18.0":0.17089,"19.0":0.31162},I:{"0":0.20173,"3":0,"4":0.00002,"2.1":0,"2.2":0,"2.3":0,"4.1":0.00004,"4.2-4.3":0.00012,"4.4":0,"4.4.3-4.4.4":0.00045},K:{"0":16.48014,_:"10 11 12 11.1 11.5 12.1"},A:{"7":0.00036,"9":0.00178,"11":0.0146,_:"6 8 10 5.5"},S:{"2.5":0.01929,_:"3.0-3.1"},J:{_:"7 10"},N:{_:"10 11"},L:{"0":70.20482},R:{_:"0"},M:{"0":0.11573},Q:{_:"14.9"},O:{"0":0.93547},H:{"0":2.75}}; +module.exports={C:{"29":0.00744,"33":0.00114,"42":0.00057,"43":0.00057,"44":0.00172,"45":0.00057,"47":0.00343,"48":0.00744,"49":0.00744,"50":0.00229,"52":0.00229,"54":0.00057,"56":0.00057,"57":0.00057,"58":0.00057,"60":0.00114,"61":0.00286,"62":0.00057,"63":0.00229,"64":0.00057,"66":0.00057,"69":0.00057,"71":0.00114,"72":0.01258,"74":0.00286,"76":0.00229,"78":0.00114,"80":0.00286,"81":0.00057,"83":0.00343,"84":0.00172,"85":0.00229,"87":0.004,"89":0.00172,"95":0.00229,"96":0.00114,"99":0.00057,"100":0.00343,"102":0.00114,"103":0.00114,"104":0.00057,"105":0.00172,"106":0.00343,"107":0.00114,"108":0.00343,"109":0.01258,"110":0.004,"111":0.00458,"112":0.004,"113":0.00057,"114":0.004,"115":0.18132,"118":0.00172,"119":0.00057,"120":0.004,"121":0.00114,"122":0.00057,"124":0.00458,"125":0.00286,"126":0.00744,"127":0.02803,"128":0.01945,"129":0.10696,"130":0.34263,"131":0.01602,_:"2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 30 31 32 34 35 36 37 38 39 40 41 46 51 53 55 59 65 67 68 70 73 75 77 79 82 86 88 90 91 92 93 94 97 98 101 116 117 123 132 133 134 135 3.5 3.6"},D:{"11":0.00114,"19":0.00114,"22":0.00057,"26":0.00057,"29":0.00114,"30":0.004,"31":0.00172,"33":0.00114,"34":0.00229,"37":0.00114,"38":0.00229,"39":0.00858,"40":0.00858,"41":0.00057,"43":0.00572,"46":0.00572,"48":0.00744,"49":0.00057,"50":0.00572,"52":0.00629,"54":0.00057,"55":0.00057,"56":0.00114,"57":0.00458,"58":0.1184,"59":0.00572,"60":0.00057,"61":0.00229,"62":0.00172,"63":0.00515,"64":0.00286,"66":0.00057,"67":0.00057,"68":0.00458,"69":0.00458,"70":0.02917,"71":0.00972,"72":0.00229,"74":0.00915,"75":0.00057,"76":0.00114,"77":0.00057,"78":0.03661,"79":0.02231,"80":0.00229,"81":0.00229,"83":0.00458,"84":0.00172,"85":0.00229,"86":0.00458,"87":0.01316,"88":0.01544,"89":0.00458,"91":0.00172,"92":0.00229,"93":0.00286,"94":0.00114,"95":0.00229,"96":0.00286,"97":0.00744,"98":0.00686,"99":0.01487,"100":0.00229,"101":0.00114,"102":0.00114,"103":0.00572,"104":0.00858,"105":0.00515,"106":0.00801,"107":0.00801,"108":0.01144,"109":0.25282,"110":0.00515,"111":0.03318,"112":0.00458,"113":0.00286,"114":0.00515,"115":0.00286,"116":0.00686,"117":0.02288,"118":0.01144,"119":0.00915,"120":0.0326,"121":0.01602,"122":0.01087,"123":0.03146,"124":0.04347,"125":0.0326,"126":0.08523,"127":0.20192,"128":1.29386,"129":0.35235,_:"4 5 6 7 8 9 10 12 13 14 15 16 17 18 20 21 23 24 25 27 28 32 35 36 42 44 45 47 51 53 65 73 90 130 131 132 133"},F:{"35":0.00114,"36":0.00057,"46":0.00172,"48":0.00057,"49":0.00229,"50":0.00057,"54":0.00114,"60":0.00229,"63":0.00229,"64":0.00057,"65":0.00057,"66":0.00229,"69":0.00057,"73":0.00458,"74":0.00057,"77":0.00172,"79":0.01316,"80":0.00114,"81":0.00229,"83":0.00458,"84":0.00515,"86":0.00229,"90":0.00057,"94":0.00114,"95":0.00858,"96":0.00229,"101":0.00343,"104":0.00057,"106":0.00114,"107":0.00572,"109":0.00629,"110":0.01602,"111":0.004,"112":0.10124,"113":0.05377,"114":0.00744,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 37 38 39 40 41 42 43 44 45 47 51 52 53 55 56 57 58 62 67 68 70 71 72 75 76 78 82 85 87 88 89 91 92 93 97 98 99 100 102 103 105 108 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"12":0.00572,"13":0.00172,"14":0.00229,"15":0.00114,"16":0.004,"17":0.00515,"18":0.01602,"84":0.00858,"88":0.00114,"89":0.00458,"90":0.00972,"92":0.04519,"94":0.00057,"99":0.00057,"100":0.00458,"101":0.00057,"105":0.00057,"108":0.00343,"109":0.00858,"110":0.00114,"112":0.00057,"114":0.00114,"116":0.00172,"120":0.01773,"121":0.00114,"122":0.00057,"123":0.00458,"124":0.00458,"125":0.00515,"126":0.01888,"127":0.01945,"128":0.38381,"129":0.15444,"130":0.00229,_:"79 80 81 83 85 86 87 91 93 95 96 97 98 102 103 104 106 107 111 113 115 117 118 119"},E:{"13":0.00057,"14":0.00057,_:"0 4 5 6 7 8 9 10 11 12 15 3.1 3.2 6.1 7.1 9.1 10.1 11.1 12.1 13.1 15.1 15.2-15.3 15.4 15.5 16.0 16.1 16.2 16.3 16.4 17.0 17.1 17.2 18.1","5.1":0.02231,"14.1":0.00057,"15.6":0.004,"16.5":0.00229,"16.6":0.00229,"17.3":0.00057,"17.4":0.00057,"17.5":0.00515,"17.6":0.00343,"18.0":0.00057},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.0004,"5.0-5.1":0.0002,"6.0-6.1":0.00119,"7.0-7.1":0.00139,"8.1-8.4":0,"9.0-9.2":0.00119,"9.3":0.00337,"10.0-10.2":0.00099,"10.3":0.00574,"11.0-11.2":0.02118,"11.3-11.4":0.00158,"12.0-12.1":0.00099,"12.2-12.5":0.02396,"13.0-13.1":0.0004,"13.2":0.00752,"13.3":0.00099,"13.4-13.7":0.00396,"14.0-14.4":0.00911,"14.5-14.8":0.01208,"15.0-15.1":0.00693,"15.2-15.3":0.00673,"15.4":0.00772,"15.5":0.0095,"15.6-15.8":0.09404,"16.0":0.01901,"16.1":0.03762,"16.2":0.01881,"16.3":0.03168,"16.4":0.00673,"16.5":0.01327,"16.6-16.7":0.11325,"17.0":0.0095,"17.1":0.01505,"17.2":0.01366,"17.3":0.0196,"17.4":0.04197,"17.5":0.20175,"17.6-17.7":1.07369,"18.0":0.13542,"18.1":0.00614},P:{"4":0.21339,"20":0.12194,"21":0.16258,"22":0.32516,"23":0.21339,"24":0.30484,"25":0.39629,"26":0.77226,"5.0-5.4":0.01016,"6.2-6.4":0.01016,"7.2-7.4":0.42677,_:"8.2 10.1 12.0","9.2":0.03048,"11.1-11.2":0.11177,"13.0":0.05081,"14.0":0.06097,"15.0":0.01016,"16.0":0.14226,"17.0":0.04065,"18.0":0.07113,"19.0":0.17274},I:{"0":0.06582,"3":0,"4":0,"2.1":0,"2.2":0,"2.3":0,"4.1":0.00001,"4.2-4.3":0.00003,"4.4":0,"4.4.3-4.4.4":0.00011},K:{"0":6.8778,_:"10 11 12 11.1 11.5 12.1"},A:{"11":0.00972,_:"6 7 8 9 10 5.5"},N:{_:"10 11"},S:{"2.5":0.01886,_:"3.0-3.1"},J:{_:"7 10"},O:{"0":1.1785},H:{"0":1.07},L:{"0":79.65369},R:{_:"0"},M:{"0":0.28284},Q:{_:"14.9"}}; diff --git a/node_modules/caniuse-lite/data/regions/SE.js b/node_modules/caniuse-lite/data/regions/SE.js index e4c8da4f8a..82aaea88de 100644 --- a/node_modules/caniuse-lite/data/regions/SE.js +++ b/node_modules/caniuse-lite/data/regions/SE.js @@ -1 +1 @@ -module.exports={C:{"52":0.01096,"56":0.00548,"59":0.01645,"78":0.01645,"88":0.01096,"91":0.01096,"102":0.00548,"103":0.00548,"108":0.00548,"113":0.01096,"115":0.27958,"121":0.01096,"122":0.00548,"123":0.01645,"124":0.04934,"125":0.9429,"126":0.74555,"127":0.01645,"128":0.01096,_:"2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 53 54 55 57 58 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 79 80 81 82 83 84 85 86 87 89 90 92 93 94 95 96 97 98 99 100 101 104 105 106 107 109 110 111 112 114 116 117 118 119 120 129 3.5 3.6"},D:{"38":0.00548,"49":0.01096,"52":0.00548,"63":0.00548,"66":0.05482,"68":0.00548,"74":0.00548,"75":0.00548,"76":0.01096,"77":0.01096,"79":0.02741,"80":0.00548,"81":0.00548,"83":0.00548,"84":0.00548,"85":0.01096,"86":0.03289,"87":0.02741,"88":0.02193,"89":0.02193,"90":0.00548,"91":0.00548,"92":0.00548,"93":0.13705,"94":0.00548,"95":0.00548,"96":0.00548,"98":0.00548,"99":0.00548,"100":0.03837,"101":0.06578,"102":0.04386,"103":0.44404,"104":0.04934,"105":0.01096,"106":0.00548,"107":0.01645,"108":0.01645,"109":1.20056,"110":0.01096,"111":0.01645,"112":0.02193,"113":0.17542,"114":0.19187,"115":0.03289,"116":0.31796,"117":0.04386,"118":0.15898,"119":0.2138,"120":0.24121,"121":0.36729,"122":0.74007,"123":4.59392,"124":22.61325,"125":5.72869,"126":0.00548,_:"4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 39 40 41 42 43 44 45 46 47 48 50 51 53 54 55 56 57 58 59 60 61 62 64 65 67 69 70 71 72 73 78 97 127 128"},F:{"95":0.02193,"102":0.00548,"107":0.27958,"108":0.01096,"109":0.83326,"110":0.02741,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 60 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 96 97 98 99 100 101 103 104 105 106 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"17":0.00548,"18":0.00548,"92":0.00548,"109":0.08223,"110":0.00548,"112":0.02741,"113":0.00548,"114":0.00548,"117":0.00548,"118":0.00548,"119":0.02741,"120":0.02193,"121":0.03289,"122":0.08223,"123":0.35633,"124":5.34495,"125":2.51076,_:"12 13 14 15 16 79 80 81 83 84 85 86 87 88 89 90 91 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 111 115 116"},E:{"13":0.00548,"14":0.02741,"15":0.00548,_:"0 4 5 6 7 8 9 10 11 12 3.1 3.2 6.1 7.1 9.1 10.1 17.6","5.1":0.00548,"11.1":0.01645,"12.1":0.01096,"13.1":0.05482,"14.1":0.10964,"15.1":0.01096,"15.2-15.3":0.01645,"15.4":0.02741,"15.5":0.04386,"15.6":0.40567,"16.0":0.04934,"16.1":0.06578,"16.2":0.04934,"16.3":0.14801,"16.4":0.03837,"16.5":0.07675,"16.6":0.50983,"17.0":0.06578,"17.1":0.08771,"17.2":0.09868,"17.3":0.11512,"17.4":1.98997,"17.5":0.30151},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.00451,"5.0-5.1":0.00451,"6.0-6.1":0.01127,"7.0-7.1":0.01578,"8.1-8.4":0.00451,"9.0-9.2":0.01127,"9.3":0.05186,"10.0-10.2":0.00902,"10.3":0.08118,"11.0-11.2":0.11951,"11.3-11.4":0.02255,"12.0-12.1":0.01353,"12.2-12.5":0.32697,"13.0-13.1":0.00676,"13.2":0.03157,"13.3":0.01578,"13.4-13.7":0.07216,"14.0-14.4":0.12402,"14.5-14.8":0.19167,"15.0-15.1":0.09245,"15.2-15.3":0.10147,"15.4":0.115,"15.5":0.14432,"15.6-15.8":1.29884,"16.0":0.2954,"16.1":0.60883,"16.2":0.2954,"16.3":0.51187,"16.4":0.10824,"16.5":0.21873,"16.6-16.7":1.74306,"17.0":0.18941,"17.1":0.30893,"17.2":0.32246,"17.3":0.5953,"17.4":13.51833,"17.5":0.95384,"17.6":0},P:{"4":0.05278,"20":0.01056,"21":0.04222,"22":0.04222,"23":0.08444,"24":0.22166,"25":3.03997,"5.0-5.4":0.01056,_:"6.2-6.4 7.2-7.4 8.2 9.2 10.1 11.1-11.2 12.0 13.0 14.0 15.0 18.0","16.0":0.02111,"17.0":0.01056,"19.0":0.01056},I:{"0":0.08551,"3":0,"4":0.00001,"2.1":0,"2.2":0,"2.3":0,"4.1":0.00002,"4.2-4.3":0.00005,"4.4":0,"4.4.3-4.4.4":0.00019},K:{"0":0.1762,_:"10 11 12 11.1 11.5 12.1"},A:{"11":0.04386,_:"6 7 8 9 10 5.5"},S:{_:"2.5 3.0-3.1"},J:{_:"7 10"},N:{_:"10 11"},L:{"0":18.50183},R:{_:"0"},M:{"0":0.38403},Q:{_:"14.9"},O:{"0":0.01807},H:{"0":0}}; +module.exports={C:{"52":0.00565,"56":0.00565,"59":0.01131,"78":0.01131,"88":0.00565,"91":0.00565,"103":0.00565,"105":0.01131,"113":0.00565,"115":0.20916,"124":0.00565,"125":0.00565,"126":0.01696,"127":0.01131,"128":0.02261,"129":0.27134,"130":1.58284,"131":0.00565,_:"2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 53 54 55 57 58 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 79 80 81 82 83 84 85 86 87 89 90 92 93 94 95 96 97 98 99 100 101 102 104 106 107 108 109 110 111 112 114 116 117 118 119 120 121 122 123 132 133 134 135 3.5 3.6"},D:{"49":0.00565,"56":0.01696,"66":0.03392,"74":0.00565,"75":0.04522,"79":0.02827,"83":0.00565,"85":0.00565,"87":0.02261,"88":0.02827,"89":0.01131,"90":0.00565,"91":0.00565,"93":0.04522,"94":0.00565,"96":0.01131,"98":0.00565,"99":0.00565,"100":0.00565,"101":0.00565,"102":0.00565,"103":0.33353,"104":0.00565,"105":0.05088,"106":0.00565,"107":0.01696,"108":0.02261,"109":0.8536,"110":0.00565,"111":0.01131,"112":0.01131,"113":0.17524,"114":0.18655,"115":0.02261,"116":0.36745,"117":0.03957,"118":0.05653,"119":0.21481,"120":0.18655,"121":0.16959,"122":0.18655,"123":0.23177,"124":0.33353,"125":0.4692,"126":1.36803,"127":4.36977,"128":23.44864,"129":6.20134,"130":0.00565,_:"4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 50 51 52 53 54 55 57 58 59 60 61 62 63 64 65 67 68 69 70 71 72 73 76 77 78 80 81 84 86 92 95 97 131 132 133"},F:{"84":0.01131,"95":0.01131,"102":0.00565,"109":0.02261,"111":0.00565,"112":0.55965,"113":0.49181,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 60 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 85 86 87 88 89 90 91 92 93 94 96 97 98 99 100 101 103 104 105 106 107 108 110 114 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"17":0.00565,"92":0.03392,"100":0.00565,"109":0.14698,"113":0.00565,"114":0.00565,"116":0.00565,"119":0.00565,"120":0.01131,"121":0.01131,"122":0.01131,"123":0.00565,"124":0.01131,"125":0.02827,"126":0.11871,"127":0.39571,"128":5.85651,"129":2.27251,"130":0.00565,_:"12 13 14 15 16 18 79 80 81 83 84 85 86 87 88 89 90 91 93 94 95 96 97 98 99 101 102 103 104 105 106 107 108 110 111 112 115 117 118"},E:{"13":0.00565,"14":0.01696,"15":0.00565,_:"0 4 5 6 7 8 9 10 11 12 3.1 3.2 5.1 6.1 7.1 9.1 10.1","11.1":0.01131,"12.1":0.00565,"13.1":0.03957,"14.1":0.07349,"15.1":0.03392,"15.2-15.3":0.01131,"15.4":0.02827,"15.5":0.02827,"15.6":0.2883,"16.0":0.02827,"16.1":0.05653,"16.2":0.03392,"16.3":0.0848,"16.4":0.03957,"16.5":0.04522,"16.6":0.3844,"17.0":0.05088,"17.1":0.04522,"17.2":0.06218,"17.3":0.05088,"17.4":0.16394,"17.5":0.3731,"17.6":1.87114,"18.0":0.21481,"18.1":0.00565},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.00465,"5.0-5.1":0.00233,"6.0-6.1":0.01396,"7.0-7.1":0.01629,"8.1-8.4":0,"9.0-9.2":0.01396,"9.3":0.03955,"10.0-10.2":0.01163,"10.3":0.06747,"11.0-11.2":0.24894,"11.3-11.4":0.01861,"12.0-12.1":0.01163,"12.2-12.5":0.28151,"13.0-13.1":0.00465,"13.2":0.08841,"13.3":0.01163,"13.4-13.7":0.04653,"14.0-14.4":0.10702,"14.5-14.8":0.14192,"15.0-15.1":0.08143,"15.2-15.3":0.0791,"15.4":0.09073,"15.5":0.11167,"15.6-15.8":1.10509,"16.0":0.22335,"16.1":0.44204,"16.2":0.22102,"16.3":0.37224,"16.4":0.0791,"16.5":0.15588,"16.6-16.7":1.33077,"17.0":0.11167,"17.1":0.17682,"17.2":0.16053,"17.3":0.23032,"17.4":0.49322,"17.5":2.37072,"17.6-17.7":12.61669,"18.0":1.59134,"18.1":0.07212},P:{"4":0.03137,"20":0.01046,"21":0.02092,"22":0.02092,"23":0.02092,"24":0.03137,"25":0.20916,"26":2.89681,"5.0-5.4":0.01046,_:"6.2-6.4 7.2-7.4 8.2 9.2 10.1 11.1-11.2 12.0 13.0 14.0 15.0 16.0 17.0 18.0","19.0":0.01046},I:{"0":0.04769,"3":0,"4":0,"2.1":0,"2.2":0,"2.3":0,"4.1":0,"4.2-4.3":0.00002,"4.4":0,"4.4.3-4.4.4":0.00008},K:{"0":0.12606,_:"10 11 12 11.1 11.5 12.1"},A:{"11":0.01131,_:"6 7 8 9 10 5.5"},N:{_:"10 11"},S:{_:"2.5 3.0-3.1"},J:{_:"7 10"},O:{"0":0.01304},H:{"0":0},L:{"0":16.357},R:{_:"0"},M:{"0":0.37819},Q:{_:"14.9"}}; diff --git a/node_modules/caniuse-lite/data/regions/SG.js b/node_modules/caniuse-lite/data/regions/SG.js index ce03962ec7..6264129830 100644 --- a/node_modules/caniuse-lite/data/regions/SG.js +++ b/node_modules/caniuse-lite/data/regions/SG.js @@ -1 +1 @@ -module.exports={C:{"2":0.0033,"3":0.0033,"4":0.0066,"5":0.0033,"7":0.0033,"10":0.0033,"12":0.0033,"14":0.0033,"16":0.0033,"19":0.0033,"20":0.0033,"25":0.0033,"28":0.0033,"31":0.0033,"34":0.0033,"35":0.0033,"36":0.0033,"38":0.0033,"40":0.0033,"44":0.0033,"48":0.0099,"49":0.0033,"52":0.0033,"54":0.0033,"55":0.0033,"68":0.0033,"72":0.0033,"74":0.0066,"78":0.0099,"83":0.0033,"88":0.0099,"101":0.0033,"102":0.0066,"103":0.03301,"104":0.0132,"105":0.0066,"106":0.0066,"107":0.0033,"108":0.0099,"109":0.0066,"110":0.0066,"111":0.0066,"112":0.0033,"113":0.0033,"115":0.10893,"117":0.0066,"118":0.0033,"119":0.0033,"121":0.0066,"122":0.0033,"123":0.0099,"124":0.01651,"125":0.647,"126":0.58098,"127":0.0033,"128":0.0033,_:"6 8 9 11 13 15 17 18 21 22 23 24 26 27 29 30 32 33 37 39 41 42 43 45 46 47 50 51 53 56 57 58 59 60 61 62 63 64 65 66 67 69 70 71 73 75 76 77 79 80 81 82 84 85 86 87 89 90 91 92 93 94 95 96 97 98 99 100 114 116 120 129","3.5":0.0033,"3.6":0.0066},D:{"4":0.0033,"5":0.0033,"7":0.0033,"9":0.0033,"10":0.0033,"11":0.0033,"13":0.0033,"15":0.0033,"16":0.0033,"19":0.0033,"20":0.0033,"32":0.0033,"34":0.01981,"36":0.0033,"38":0.07922,"39":0.0033,"41":0.0099,"43":0.0033,"45":0.0033,"47":0.01651,"48":0.0066,"49":0.0099,"51":0.0033,"52":0.0033,"53":0.02641,"55":0.0066,"56":0.01651,"57":0.0033,"61":0.0033,"62":0.0033,"63":0.0033,"65":0.0066,"66":0.0033,"67":0.0033,"68":0.0066,"69":0.0033,"70":0.0033,"71":0.0033,"72":0.0033,"73":0.0066,"74":0.0033,"75":0.0066,"76":0.0033,"77":0.0099,"78":0.01651,"79":0.15845,"80":0.01651,"81":0.01981,"83":0.0099,"84":0.0066,"85":0.0099,"86":0.07922,"87":0.12544,"88":0.0066,"89":0.02311,"90":0.0066,"91":0.0132,"92":0.03301,"93":0.0066,"94":0.06932,"95":0.03301,"96":0.0066,"97":0.0066,"98":0.0132,"99":0.02641,"100":0.07262,"101":0.12214,"102":0.07922,"103":0.11554,"104":0.17165,"105":0.51496,"106":0.04952,"107":0.07592,"108":0.06932,"109":0.72292,"110":0.08913,"111":0.05282,"112":0.04291,"113":0.10893,"114":0.55127,"115":0.01981,"116":0.12874,"117":0.02311,"118":0.04291,"119":0.09243,"120":0.13204,"121":0.13534,"122":0.27728,"123":0.76583,"124":11.96282,"125":4.21868,"126":0.01651,"127":0.0066,_:"6 8 12 14 17 18 21 22 23 24 25 26 27 28 29 30 31 33 35 37 40 42 44 46 50 54 58 59 60 64 128"},F:{"11":0.0033,"20":0.0033,"28":0.01651,"29":0.0033,"36":0.0066,"40":0.0033,"46":0.05942,"85":0.0033,"89":0.0033,"91":0.0033,"93":0.0033,"94":0.0033,"95":0.02971,"102":0.0033,"105":0.0033,"107":0.08583,"108":0.01651,"109":0.6536,"110":0.04621,_:"9 12 15 16 17 18 19 21 22 23 24 25 26 27 30 31 32 33 34 35 37 38 39 41 42 43 44 45 47 48 49 50 51 52 53 54 55 56 57 58 60 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 86 87 88 90 92 96 97 98 99 100 101 103 104 106 10.5 10.6 11.1 11.5 11.6","9.5-9.6":0.0033,"10.0-10.1":0.0033,"12.1":0.0033},B:{"12":0.0033,"92":0.0033,"105":0.0033,"106":0.0066,"107":0.0066,"108":0.0132,"109":0.03301,"110":0.0066,"111":0.0066,"112":0.01651,"113":0.0066,"114":0.0066,"115":0.0099,"116":0.0033,"117":0.0033,"118":0.0033,"119":0.0033,"120":0.01651,"121":0.0099,"122":0.04952,"123":0.09903,"124":1.87167,"125":1.05632,_:"13 14 15 16 17 18 79 80 81 83 84 85 86 87 88 89 90 91 93 94 95 96 97 98 99 100 101 102 103 104"},E:{"4":0.0033,"5":0.0066,"7":0.0033,"8":0.0066,"10":0.0033,"11":0.0033,"13":0.0099,"14":0.02311,"15":0.0099,_:"0 6 9 12 3.1 3.2 6.1 7.1 9.1 10.1 11.1 17.6","5.1":0.0033,"12.1":0.0033,"13.1":0.03301,"14.1":0.07262,"15.1":0.0099,"15.2-15.3":0.0066,"15.4":0.03631,"15.5":0.03301,"15.6":0.23437,"16.0":0.04952,"16.1":0.07262,"16.2":0.04621,"16.3":0.12544,"16.4":0.02971,"16.5":0.04952,"16.6":0.34991,"17.0":0.02311,"17.1":0.05942,"17.2":0.06932,"17.3":0.12214,"17.4":1.71982,"17.5":0.20466},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.00317,"5.0-5.1":0.00317,"6.0-6.1":0.00791,"7.0-7.1":0.01108,"8.1-8.4":0.00317,"9.0-9.2":0.00791,"9.3":0.03641,"10.0-10.2":0.00633,"10.3":0.05699,"11.0-11.2":0.0839,"11.3-11.4":0.01583,"12.0-12.1":0.0095,"12.2-12.5":0.22953,"13.0-13.1":0.00475,"13.2":0.02216,"13.3":0.01108,"13.4-13.7":0.05066,"14.0-14.4":0.08706,"14.5-14.8":0.13455,"15.0-15.1":0.0649,"15.2-15.3":0.07123,"15.4":0.08073,"15.5":0.10131,"15.6-15.8":0.91179,"16.0":0.20737,"16.1":0.4274,"16.2":0.20737,"16.3":0.35934,"16.4":0.07598,"16.5":0.15355,"16.6-16.7":1.22364,"17.0":0.13297,"17.1":0.21687,"17.2":0.22637,"17.3":0.41791,"17.4":9.48993,"17.5":0.6696,"17.6":0},P:{"4":0.49392,"20":0.01051,"21":0.03153,"22":0.02102,"23":0.07356,"24":0.17865,"25":3.47843,"5.0-5.4":0.04204,"6.2-6.4":0.03153,_:"7.2-7.4 8.2 9.2 10.1 14.0 15.0","11.1-11.2":0.01051,"12.0":0.01051,"13.0":0.01051,"16.0":0.01051,"17.0":0.01051,"18.0":0.01051,"19.0":0.01051},I:{"0":14.1932,"3":0,"4":0.00142,"2.1":0,"2.2":0,"2.3":0,"4.1":0.00285,"4.2-4.3":0.00855,"4.4":0,"4.4.3-4.4.4":0.03135},K:{"0":1.40009,_:"10 11 12 11.1 11.5 12.1"},A:{"8":0.02636,"9":0.02109,"10":0.00527,"11":0.32162,_:"6 7","5.5":0.00527},S:{_:"2.5 3.0-3.1"},J:{_:"7 10"},N:{_:"10 11"},L:{"0":29.17474},R:{_:"0"},M:{"0":0.73019},Q:{"14.9":0.04019},O:{"0":0.50912},H:{"0":0}}; +module.exports={C:{"54":0.00301,"56":0.00301,"72":0.01506,"77":0.00301,"78":0.00904,"83":0.00301,"88":0.00301,"91":0.00301,"102":0.01205,"103":0.05422,"105":0.00602,"106":0.00904,"107":0.00904,"108":0.00904,"109":0.01205,"110":0.00904,"111":0.00602,"112":0.00301,"113":0.00301,"115":0.07831,"116":0.00301,"117":0.00301,"118":0.00301,"119":0.00301,"123":0.00301,"125":0.00904,"126":0.00301,"127":0.01205,"128":0.01205,"129":0.18976,"130":0.83734,"131":0.00301,_:"2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 55 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 73 74 75 76 79 80 81 82 84 85 86 87 89 90 92 93 94 95 96 97 98 99 100 101 104 114 120 121 122 124 132 133 134 135 3.5 3.6"},D:{"34":0.01506,"38":0.0512,"41":0.00301,"48":0.00602,"49":0.00904,"53":0.00904,"56":0.00904,"57":0.00301,"58":0.00602,"60":0.01807,"63":0.00301,"65":0.00301,"69":0.00301,"70":0.00301,"72":0.00301,"73":0.00301,"74":0.00301,"75":0.00602,"76":0.00301,"77":0.2018,"78":0.01205,"79":0.11446,"80":0.01205,"81":0.02108,"83":0.00602,"84":0.00602,"85":0.00301,"86":0.03313,"87":0.07831,"88":0.01205,"89":0.03614,"90":0.00301,"91":0.01807,"92":0.0753,"93":0.00602,"94":0.0512,"95":0.01807,"96":0.00602,"97":0.00904,"98":0.01807,"99":0.01506,"100":0.00904,"101":0.01807,"102":0.0241,"103":0.06024,"104":0.14156,"105":0.05422,"106":0.07831,"107":0.11747,"108":0.1265,"109":0.54216,"110":0.06626,"111":0.07831,"112":0.08735,"113":0.08735,"114":0.47891,"115":0.01205,"116":0.09036,"117":0.01807,"118":0.01506,"119":0.04518,"120":0.06928,"121":0.06024,"122":0.09036,"123":0.08735,"124":0.68975,"125":0.39758,"126":0.34337,"127":1.58732,"128":10.40044,"129":3.04212,"130":0.01807,"131":0.00904,_:"4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 35 36 37 39 40 42 43 44 45 46 47 50 51 52 54 55 59 61 62 64 66 67 68 71 132 133"},F:{"28":0.00602,"36":0.00301,"46":0.04518,"74":0.00301,"75":0.00301,"76":0.00301,"78":0.00301,"79":0.00301,"83":0.00301,"84":0.0512,"85":0.00301,"86":0.00301,"88":0.00301,"91":0.00602,"92":0.00301,"93":0.00602,"94":0.00602,"95":0.05723,"97":0.00301,"102":0.00602,"106":0.00301,"107":0.00301,"109":0.01506,"111":0.00301,"112":0.61144,"113":0.31024,"114":0.00602,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 29 30 31 32 33 34 35 37 38 39 40 41 42 43 44 45 47 48 49 50 51 52 53 54 55 56 57 58 60 62 63 64 65 66 67 68 69 70 71 72 73 77 80 81 82 87 89 90 96 98 99 100 101 103 104 105 108 110 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"14":0.00301,"18":0.00602,"92":0.00904,"100":0.00602,"101":0.00301,"102":0.00301,"103":0.00602,"104":0.00602,"105":0.00602,"106":0.01205,"107":0.02108,"108":0.01807,"109":0.03313,"110":0.01205,"111":0.00904,"112":0.00301,"113":0.00602,"114":0.00602,"115":0.00301,"116":0.00602,"117":0.00904,"118":0.00602,"119":0.00301,"120":0.01807,"121":0.01205,"122":0.00904,"123":0.00602,"124":0.00904,"125":0.01506,"126":0.04819,"127":0.13554,"128":1.84334,"129":0.70782,"130":0.00301,_:"12 13 15 16 17 79 80 81 83 84 85 86 87 88 89 90 91 93 94 95 96 97 98 99"},E:{"8":0.00301,"9":0.00301,"10":0.00602,"11":0.00301,"13":0.00602,"14":0.01807,"15":0.00904,_:"0 4 5 6 7 12 3.1 3.2 5.1 6.1 7.1 9.1 10.1 11.1","12.1":0.00301,"13.1":0.02108,"14.1":0.04819,"15.1":0.00602,"15.2-15.3":0.00301,"15.4":0.01807,"15.5":0.02108,"15.6":0.15361,"16.0":0.04217,"16.1":0.04518,"16.2":0.01506,"16.3":0.06024,"16.4":0.01506,"16.5":0.03012,"16.6":0.23192,"17.0":0.01205,"17.1":0.02711,"17.2":0.04217,"17.3":0.03313,"17.4":0.0994,"17.5":0.25602,"17.6":1.50901,"18.0":0.14156,"18.1":0.00602},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.00286,"5.0-5.1":0.00143,"6.0-6.1":0.00858,"7.0-7.1":0.01001,"8.1-8.4":0,"9.0-9.2":0.00858,"9.3":0.02431,"10.0-10.2":0.00715,"10.3":0.04146,"11.0-11.2":0.15298,"11.3-11.4":0.01144,"12.0-12.1":0.00715,"12.2-12.5":0.173,"13.0-13.1":0.00286,"13.2":0.05433,"13.3":0.00715,"13.4-13.7":0.02859,"14.0-14.4":0.06577,"14.5-14.8":0.08721,"15.0-15.1":0.05004,"15.2-15.3":0.04861,"15.4":0.05576,"15.5":0.06863,"15.6-15.8":0.67913,"16.0":0.13726,"16.1":0.27165,"16.2":0.13583,"16.3":0.22876,"16.4":0.04861,"16.5":0.09579,"16.6-16.7":0.81781,"17.0":0.06863,"17.1":0.10866,"17.2":0.09865,"17.3":0.14154,"17.4":0.30311,"17.5":1.45691,"17.6-17.7":7.75351,"18.0":0.97795,"18.1":0.04432},P:{"4":0.31192,"20":0.0104,"21":0.02079,"22":0.0104,"23":0.02079,"24":0.02079,"25":0.16636,"26":2.75528,"5.0-5.4":0.03119,"6.2-6.4":0.03119,_:"7.2-7.4 8.2 9.2 10.1 11.1-11.2 12.0 13.0 14.0 15.0 18.0","16.0":0.0104,"17.0":0.02079,"19.0":0.0104},I:{"0":20.12685,"3":0,"4":0,"2.1":0,"2.2":0,"2.3":0,"4.1":0.00202,"4.2-4.3":0.00807,"4.4":0,"4.4.3-4.4.4":0.03229},K:{"0":1.747,_:"10 11 12 11.1 11.5 12.1"},A:{"8":0.06105,"9":0.01526,"10":0.00509,"11":0.29509,_:"6 7 5.5"},N:{_:"10 11"},S:{_:"2.5 3.0-3.1"},J:{_:"7 10"},O:{"0":0.48217},H:{"0":0},L:{"0":28.35559},R:{_:"0"},M:{"0":0.67784},Q:{"14.9":0.09783}}; diff --git a/node_modules/caniuse-lite/data/regions/SH.js b/node_modules/caniuse-lite/data/regions/SH.js index 80053a3c3b..7194c6a74e 100644 --- a/node_modules/caniuse-lite/data/regions/SH.js +++ b/node_modules/caniuse-lite/data/regions/SH.js @@ -1 +1 @@ -module.exports={C:{"34":0.03301,"115":2.19294,"124":0.00472,"125":0.03773,"126":0.00472,_:"2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 116 117 118 119 120 121 122 123 127 128 129 3.5 3.6"},D:{"11":0.05659,"63":0.00472,"65":0.00943,"70":0.00472,"79":0.04716,"87":0.33484,"98":0.02358,"102":0.00472,"105":0.35842,"106":0.47632,"109":1.64117,"114":0.16978,"116":0.04244,"120":0.00472,"123":0.13676,"124":6.37132,"125":2.2118,"126":0.12733,_:"4 5 6 7 8 9 10 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 64 66 67 68 69 71 72 73 74 75 76 77 78 80 81 83 84 85 86 88 89 90 91 92 93 94 95 96 97 99 100 101 103 104 107 108 110 111 112 113 115 117 118 119 121 122 127 128"},F:{"95":0.4716,"107":0.04716,"108":0.06602,"109":0.69797,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 60 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 96 97 98 99 100 101 102 103 104 105 106 110 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"12":0.00943,"92":0.00472,"95":0.05188,"105":0.00472,"109":0.20279,"113":0.46217,"119":0.00472,"120":0.39143,"121":15.8882,"123":0.06131,"124":2.52306,"125":0.36313,_:"13 14 15 16 17 18 79 80 81 83 84 85 86 87 88 89 90 91 93 94 96 97 98 99 100 101 102 103 104 106 107 108 110 111 112 114 115 116 117 118 122"},E:{_:"0 4 5 6 7 8 9 10 11 12 13 14 15 3.1 3.2 5.1 6.1 7.1 9.1 10.1 12.1 13.1 14.1 15.1 15.2-15.3 15.4 15.5 16.0 16.1 16.2 16.3 16.4 16.5 16.6 17.0 17.2 17.3 17.5 17.6","11.1":0.01886,"15.6":0.00472,"17.1":0.00472,"17.4":0.00472},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.00038,"5.0-5.1":0.00038,"6.0-6.1":0.00094,"7.0-7.1":0.00132,"8.1-8.4":0.00038,"9.0-9.2":0.00094,"9.3":0.00434,"10.0-10.2":0.00075,"10.3":0.00679,"11.0-11.2":0.01,"11.3-11.4":0.00189,"12.0-12.1":0.00113,"12.2-12.5":0.02735,"13.0-13.1":0.00057,"13.2":0.00264,"13.3":0.00132,"13.4-13.7":0.00604,"14.0-14.4":0.01038,"14.5-14.8":0.01603,"15.0-15.1":0.00773,"15.2-15.3":0.00849,"15.4":0.00962,"15.5":0.01207,"15.6-15.8":0.10866,"16.0":0.02471,"16.1":0.05093,"16.2":0.02471,"16.3":0.04282,"16.4":0.00905,"16.5":0.0183,"16.6-16.7":0.14582,"17.0":0.01585,"17.1":0.02584,"17.2":0.02698,"17.3":0.0498,"17.4":1.13089,"17.5":0.07979,"17.6":0},P:{"22":0.01004,"23":0.01004,"24":0.02008,"25":0.15059,_:"4 20 21 5.0-5.4 6.2-6.4 8.2 9.2 10.1 11.1-11.2 12.0 13.0 14.0 15.0 16.0 17.0 18.0 19.0","7.2-7.4":0.01004},I:{"0":0.03684,"3":0,"4":0,"2.1":0,"2.2":0,"2.3":0,"4.1":0.00001,"4.2-4.3":0.00002,"4.4":0,"4.4.3-4.4.4":0.00008},K:{"0":0.02114,_:"10 11 12 11.1 11.5 12.1"},A:{_:"6 7 8 9 10 11 5.5"},S:{_:"2.5 3.0-3.1"},J:{_:"7 10"},N:{_:"10 11"},L:{"0":61.87156},R:{_:"0"},M:{_:"0"},Q:{_:"14.9"},O:{"0":0.08983},H:{"0":0}}; +module.exports={C:{"128":0.00512,"129":0.00512,"130":0.57845,_:"2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 131 132 133 134 135 3.5 3.6"},D:{"50":0.01024,"53":0.00512,"77":0.01024,"86":0.00512,"88":0.00512,"100":0.00512,"105":0.03583,"106":0.15357,"109":5.05757,"111":0.06143,"114":0.01024,"116":0.0256,"118":0.01536,"122":0.22012,"125":0.01536,"126":0.0819,"127":0.01024,"128":14.65058,"129":6.19399,_:"4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 51 52 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 78 79 80 81 83 84 85 87 89 90 91 92 93 94 95 96 97 98 99 101 102 103 104 107 108 110 112 113 115 117 119 120 121 123 124 130 131 132 133"},F:{"82":0.00512,"95":0.03071,"112":0.46071,"113":0.34297,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 60 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 83 84 85 86 87 88 89 90 91 92 93 94 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 114 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"18":0.17405,"92":0.3225,"121":5.334,"125":0.00512,"126":0.08702,"127":0.09214,"128":4.96543,"129":2.9895,_:"12 13 14 15 16 17 79 80 81 83 84 85 86 87 88 89 90 91 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 122 123 124 130"},E:{_:"0 4 5 6 7 8 9 10 11 12 13 14 15 3.1 3.2 5.1 6.1 7.1 9.1 10.1 11.1 13.1 14.1 15.1 15.2-15.3 15.4 15.5 15.6 16.0 16.1 16.2 16.3 16.4 16.6 17.0 17.1 17.2 17.3 17.4 17.5 18.0 18.1","12.1":0.01024,"16.5":0.00512,"17.6":0.00512},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.00059,"5.0-5.1":0.0003,"6.0-6.1":0.00178,"7.0-7.1":0.00207,"8.1-8.4":0,"9.0-9.2":0.00178,"9.3":0.00503,"10.0-10.2":0.00148,"10.3":0.00858,"11.0-11.2":0.03166,"11.3-11.4":0.00237,"12.0-12.1":0.00148,"12.2-12.5":0.0358,"13.0-13.1":0.00059,"13.2":0.01124,"13.3":0.00148,"13.4-13.7":0.00592,"14.0-14.4":0.01361,"14.5-14.8":0.01805,"15.0-15.1":0.01035,"15.2-15.3":0.01006,"15.4":0.01154,"15.5":0.0142,"15.6-15.8":0.14053,"16.0":0.0284,"16.1":0.05621,"16.2":0.02811,"16.3":0.04734,"16.4":0.01006,"16.5":0.01982,"16.6-16.7":0.16923,"17.0":0.0142,"17.1":0.02248,"17.2":0.02041,"17.3":0.02929,"17.4":0.06272,"17.5":0.30147,"17.6-17.7":1.60439,"18.0":0.20236,"18.1":0.00917},P:{"4":0.02008,"21":0.54214,"22":0.51202,"25":0.01004,"26":0.1004,_:"20 23 24 5.0-5.4 6.2-6.4 8.2 9.2 10.1 11.1-11.2 12.0 13.0 14.0 15.0 16.0 17.0 18.0 19.0","7.2-7.4":0.06024},I:{"0":0.02921,"3":0,"4":0,"2.1":0,"2.2":0,"2.3":0,"4.1":0,"4.2-4.3":0.00001,"4.4":0,"4.4.3-4.4.4":0.00005},K:{"0":0.07811,_:"10 11 12 11.1 11.5 12.1"},A:{_:"6 7 8 9 10 11 5.5"},N:{_:"10 11"},S:{"2.5":0.01465,_:"3.0-3.1"},J:{_:"7 10"},O:{"0":0.10252},H:{"0":0},L:{"0":53.58111},R:{_:"0"},M:{_:"0"},Q:{_:"14.9"}}; diff --git a/node_modules/caniuse-lite/data/regions/SI.js b/node_modules/caniuse-lite/data/regions/SI.js index fdbe53a87f..0551e9e0e3 100644 --- a/node_modules/caniuse-lite/data/regions/SI.js +++ b/node_modules/caniuse-lite/data/regions/SI.js @@ -1 +1 @@ -module.exports={C:{"52":0.06708,"68":0.00516,"77":0.02064,"78":0.02064,"80":0.00516,"83":0.01032,"84":0.00516,"88":0.03612,"89":0.00516,"91":0.01548,"94":0.01032,"99":0.01032,"100":0.00516,"102":0.03096,"103":0.03096,"109":0.00516,"113":0.03612,"114":0.00516,"115":0.84108,"116":0.00516,"117":0.00516,"118":0.03096,"119":0.01032,"120":0.00516,"121":0.03612,"122":0.0516,"123":0.04644,"124":0.15996,"125":2.73996,"126":2.451,"127":0.00516,_:"2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 69 70 71 72 73 74 75 76 79 81 82 85 86 87 90 92 93 95 96 97 98 101 104 105 106 107 108 110 111 112 128 129 3.5 3.6"},D:{"43":0.00516,"44":0.00516,"45":0.00516,"46":0.00516,"49":0.01032,"51":0.03612,"75":0.00516,"79":0.0258,"83":0.01548,"84":0.00516,"87":0.04644,"88":0.01032,"90":0.02064,"91":0.02064,"92":0.00516,"93":0.01032,"94":0.00516,"95":0.00516,"96":0.00516,"97":0.01032,"98":0.0516,"99":0.01548,"100":0.01548,"102":0.01548,"103":0.0258,"104":0.04128,"105":0.00516,"106":0.01548,"107":0.01032,"108":0.00516,"109":2.09496,"110":0.00516,"111":0.01548,"112":0.04128,"113":0.00516,"114":0.01032,"115":1.63572,"116":0.16512,"117":0.01548,"118":0.01548,"119":0.04128,"120":0.0774,"121":0.10836,"122":0.25284,"123":1.0836,"124":18.89592,"125":7.45104,"126":0.12384,_:"4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 47 48 50 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 76 77 78 80 81 85 86 89 101 127 128"},F:{"46":0.02064,"49":0.00516,"89":0.00516,"95":0.01548,"107":0.35088,"108":0.09288,"109":1.4448,"110":0.07224,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 47 48 50 51 52 53 54 55 56 57 58 60 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 90 91 92 93 94 96 97 98 99 100 101 102 103 104 105 106 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"85":0.01032,"92":0.02064,"98":0.00516,"107":0.00516,"109":0.19092,"111":0.00516,"112":0.00516,"114":0.00516,"116":0.00516,"117":0.00516,"118":0.00516,"119":0.00516,"120":0.03612,"121":0.02064,"122":0.04128,"123":0.17028,"124":3.43656,"125":2.2446,_:"12 13 14 15 16 17 18 79 80 81 83 84 86 87 88 89 90 91 93 94 95 96 97 99 100 101 102 103 104 105 106 108 110 113 115"},E:{"8":0.00516,"9":0.00516,"14":0.03096,"15":0.01032,_:"0 4 5 6 7 10 11 12 13 3.1 3.2 5.1 6.1 7.1 9.1 10.1 11.1 17.6","12.1":0.00516,"13.1":0.129,"14.1":0.07224,"15.1":0.00516,"15.2-15.3":0.00516,"15.4":0.02064,"15.5":0.03096,"15.6":0.17028,"16.0":0.0258,"16.1":0.08256,"16.2":0.06708,"16.3":0.1032,"16.4":0.04128,"16.5":0.04128,"16.6":0.50568,"17.0":0.0516,"17.1":0.08772,"17.2":0.06708,"17.3":0.09288,"17.4":1.15068,"17.5":0.18576},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.00204,"5.0-5.1":0.00204,"6.0-6.1":0.00511,"7.0-7.1":0.00716,"8.1-8.4":0.00204,"9.0-9.2":0.00511,"9.3":0.02351,"10.0-10.2":0.00409,"10.3":0.0368,"11.0-11.2":0.05418,"11.3-11.4":0.01022,"12.0-12.1":0.00613,"12.2-12.5":0.14822,"13.0-13.1":0.00307,"13.2":0.01431,"13.3":0.00716,"13.4-13.7":0.03271,"14.0-14.4":0.05622,"14.5-14.8":0.08689,"15.0-15.1":0.04191,"15.2-15.3":0.046,"15.4":0.05213,"15.5":0.06542,"15.6-15.8":0.58879,"16.0":0.13391,"16.1":0.276,"16.2":0.13391,"16.3":0.23204,"16.4":0.04907,"16.5":0.09915,"16.6-16.7":0.79017,"17.0":0.08587,"17.1":0.14004,"17.2":0.14618,"17.3":0.26986,"17.4":6.12814,"17.5":0.43239,"17.6":0},P:{"4":0.09374,"20":0.01042,"21":0.02083,"22":0.07291,"23":0.15624,"24":0.33331,"25":3.19771,"5.0-5.4":0.03125,"6.2-6.4":0.01042,"7.2-7.4":0.01042,_:"8.2 10.1 11.1-11.2 12.0 16.0","9.2":0.01042,"13.0":0.01042,"14.0":0.02083,"15.0":0.01042,"17.0":0.02083,"18.0":0.01042,"19.0":0.01042},I:{"0":0.06267,"3":0,"4":0.00001,"2.1":0,"2.2":0,"2.3":0,"4.1":0.00001,"4.2-4.3":0.00004,"4.4":0,"4.4.3-4.4.4":0.00014},K:{"0":0.27588,_:"10 11 12 11.1 11.5 12.1"},A:{"8":0.02064,"9":0.00516,"10":0.00516,"11":0.03096,_:"6 7 5.5"},S:{_:"2.5 3.0-3.1"},J:{_:"7 10"},N:{_:"10 11"},L:{"0":32.75964},R:{_:"0"},M:{"0":0.68728},Q:{_:"14.9"},O:{"0":0.10648},H:{"0":0}}; +module.exports={C:{"44":0.0051,"52":0.03567,"68":0.0051,"72":0.0051,"77":0.02548,"78":0.01529,"83":0.01529,"88":0.03057,"91":0.01529,"98":0.01529,"102":0.01019,"103":0.0051,"113":0.02548,"115":0.82539,"116":0.0051,"120":0.0051,"121":0.01019,"122":0.02038,"123":0.01019,"124":0.02038,"125":0.02038,"126":0.04586,"127":0.08662,"128":0.03567,"129":1.2279,"130":4.076,"131":0.01019,_:"2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 45 46 47 48 49 50 51 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 69 70 71 73 74 75 76 79 80 81 82 84 85 86 87 89 90 92 93 94 95 96 97 99 100 101 104 105 106 107 108 109 110 111 112 114 117 118 119 132 133 134 135 3.5 3.6"},D:{"48":0.0051,"49":0.01019,"58":0.0051,"79":0.02038,"80":0.0051,"81":0.0051,"83":0.0051,"85":0.01019,"86":0.0051,"87":0.03567,"88":0.02548,"90":0.01529,"91":0.01019,"92":0.01019,"93":0.01019,"94":0.0051,"95":0.0051,"98":0.05095,"99":0.01019,"100":0.02548,"102":0.0051,"103":0.01529,"104":0.01529,"105":0.01019,"106":0.0051,"107":0.01019,"108":0.01019,"109":1.75778,"110":0.11209,"111":0.01019,"112":0.0051,"113":0.0051,"114":0.01019,"115":0.02038,"116":0.13757,"117":0.02038,"118":0.0051,"119":0.01529,"120":0.04586,"121":0.03057,"122":0.11209,"123":0.74387,"124":0.2038,"125":0.07133,"126":0.23947,"127":1.14128,"128":20.00297,"129":7.20433,"130":0.01529,_:"4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 50 51 52 53 54 55 56 57 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 84 89 96 97 101 131 132 133"},F:{"46":0.02038,"49":0.0051,"84":0.01019,"89":0.0051,"95":0.04076,"109":0.02038,"111":0.0051,"112":0.9222,"113":0.64197,"114":0.01529,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 47 48 50 51 52 53 54 55 56 57 58 60 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 85 86 87 88 90 91 92 93 94 96 97 98 99 100 101 102 103 104 105 106 107 108 110 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"85":0.0051,"98":0.0051,"100":0.0051,"107":0.01529,"108":0.0051,"109":0.07643,"112":0.0051,"114":0.0051,"119":0.0051,"120":0.01529,"121":0.01529,"122":0.01019,"123":0.0051,"124":0.0051,"125":0.02038,"126":0.06114,"127":0.18342,"128":4.24923,"129":1.8342,"130":0.0051,_:"12 13 14 15 16 17 18 79 80 81 83 84 86 87 88 89 90 91 92 93 94 95 96 97 99 101 102 103 104 105 106 110 111 113 115 116 117 118"},E:{"9":0.0051,"14":0.01529,"15":0.0051,_:"0 4 5 6 7 8 10 11 12 13 3.1 3.2 6.1 7.1 9.1 10.1 11.1 12.1","5.1":0.01019,"13.1":0.09171,"14.1":0.11209,"15.1":0.0051,"15.2-15.3":0.01019,"15.4":0.02038,"15.5":0.03567,"15.6":0.12228,"16.0":0.02038,"16.1":0.06114,"16.2":0.06114,"16.3":0.05605,"16.4":0.01019,"16.5":0.05095,"16.6":0.31589,"17.0":0.03057,"17.1":0.03057,"17.2":0.03567,"17.3":0.04076,"17.4":0.08662,"17.5":0.26494,"17.6":1.26356,"18.0":0.23947,"18.1":0.02548},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.00227,"5.0-5.1":0.00114,"6.0-6.1":0.00681,"7.0-7.1":0.00795,"8.1-8.4":0,"9.0-9.2":0.00681,"9.3":0.0193,"10.0-10.2":0.00568,"10.3":0.03292,"11.0-11.2":0.12145,"11.3-11.4":0.00908,"12.0-12.1":0.00568,"12.2-12.5":0.13734,"13.0-13.1":0.00227,"13.2":0.04313,"13.3":0.00568,"13.4-13.7":0.0227,"14.0-14.4":0.05221,"14.5-14.8":0.06924,"15.0-15.1":0.03973,"15.2-15.3":0.03859,"15.4":0.04427,"15.5":0.05448,"15.6-15.8":0.53913,"16.0":0.10896,"16.1":0.21565,"16.2":0.10783,"16.3":0.1816,"16.4":0.03859,"16.5":0.07605,"16.6-16.7":0.64923,"17.0":0.05448,"17.1":0.08626,"17.2":0.07832,"17.3":0.11237,"17.4":0.24062,"17.5":1.15658,"17.6-17.7":6.1552,"18.0":0.77635,"18.1":0.03519},P:{"4":0.19539,"20":0.01028,"21":0.02057,"22":0.04114,"23":0.05142,"24":0.0617,"25":0.3805,"26":3.01317,"5.0-5.4":0.03085,"6.2-6.4":0.01028,_:"7.2-7.4 8.2 9.2 10.1 11.1-11.2 12.0","13.0":0.01028,"14.0":0.05142,"15.0":0.02057,"16.0":0.01028,"17.0":0.01028,"18.0":0.01028,"19.0":0.01028},I:{"0":0.03913,"3":0,"4":0,"2.1":0,"2.2":0,"2.3":0,"4.1":0,"4.2-4.3":0.00002,"4.4":0,"4.4.3-4.4.4":0.00006},K:{"0":0.32864,_:"10 11 12 11.1 11.5 12.1"},A:{"11":0.03567,_:"6 7 8 9 10 5.5"},N:{_:"10 11"},S:{_:"2.5 3.0-3.1"},J:{_:"7 10"},O:{"0":0.01962},H:{"0":0},L:{"0":32.83045},R:{_:"0"},M:{"0":0.70632},Q:{_:"14.9"}}; diff --git a/node_modules/caniuse-lite/data/regions/SK.js b/node_modules/caniuse-lite/data/regions/SK.js index ab84db9c07..e208fa463e 100644 --- a/node_modules/caniuse-lite/data/regions/SK.js +++ b/node_modules/caniuse-lite/data/regions/SK.js @@ -1 +1 @@ -module.exports={C:{"43":0.00542,"52":0.04882,"61":0.00542,"68":0.00542,"78":0.01085,"88":0.00542,"99":0.00542,"102":0.00542,"103":0.01085,"105":0.00542,"106":0.00542,"108":0.00542,"109":0.00542,"110":0.00542,"111":0.00542,"113":0.00542,"115":0.64003,"116":0.00542,"117":0.00542,"118":0.00542,"119":0.00542,"120":0.00542,"121":0.01085,"122":0.01627,"123":0.01627,"124":0.09221,"125":2.07739,"126":1.69229,"127":0.00542,_:"2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 44 45 46 47 48 49 50 51 53 54 55 56 57 58 59 60 62 63 64 65 66 67 69 70 71 72 73 74 75 76 77 79 80 81 82 83 84 85 86 87 89 90 91 92 93 94 95 96 97 98 100 101 104 107 112 114 128 129 3.5 3.6"},D:{"34":0.00542,"38":0.01085,"41":0.01085,"47":0.00542,"49":0.04882,"63":0.07051,"79":0.10306,"80":0.00542,"81":0.00542,"84":0.00542,"85":0.00542,"86":0.01085,"87":0.05424,"88":0.00542,"89":0.00542,"90":0.01085,"91":0.00542,"92":0.00542,"93":0.16272,"94":0.00542,"95":0.00542,"96":0.00542,"97":0.00542,"98":0.01085,"99":0.01085,"100":0.00542,"101":0.00542,"102":0.00542,"103":0.1139,"104":0.01085,"106":0.0217,"107":0.0217,"108":0.03254,"109":3.47136,"110":0.00542,"111":0.0217,"112":0.01627,"113":0.14645,"114":0.18442,"115":0.03797,"116":0.07051,"117":0.01085,"118":0.02712,"119":0.03254,"120":0.09763,"121":0.23323,"122":0.34714,"123":2.67946,"124":24.7009,"125":5.23958,"126":0.01085,_:"4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 35 36 37 39 40 42 43 44 45 46 48 50 51 52 53 54 55 56 57 58 59 60 61 62 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 83 105 127 128"},F:{"28":0.00542,"36":0.00542,"46":0.01085,"95":0.09221,"106":0.0217,"107":0.37968,"108":0.03797,"109":1.88755,"110":0.1356,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 29 30 31 32 33 34 35 37 38 39 40 41 42 43 44 45 47 48 49 50 51 52 53 54 55 56 57 58 60 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 96 97 98 99 100 101 102 103 104 105 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"92":0.00542,"104":0.00542,"107":0.00542,"108":0.00542,"109":0.07594,"110":0.00542,"111":0.00542,"112":0.00542,"117":0.00542,"118":0.00542,"119":0.00542,"120":0.02712,"121":0.01627,"122":0.05966,"123":0.22781,"124":4.20902,"125":1.32346,_:"12 13 14 15 16 17 18 79 80 81 83 84 85 86 87 88 89 90 91 93 94 95 96 97 98 99 100 101 102 103 105 106 113 114 115 116"},E:{"14":0.01085,"15":0.00542,_:"0 4 5 6 7 8 9 10 11 12 13 3.1 3.2 5.1 6.1 7.1 9.1 10.1 11.1 12.1 17.6","13.1":0.0217,"14.1":0.03797,"15.1":0.00542,"15.2-15.3":0.00542,"15.4":0.00542,"15.5":0.01085,"15.6":0.12475,"16.0":0.00542,"16.1":0.03797,"16.2":0.01627,"16.3":0.03254,"16.4":0.0217,"16.5":0.0217,"16.6":0.11933,"17.0":0.02712,"17.1":0.05966,"17.2":0.10848,"17.3":0.05424,"17.4":0.77021,"17.5":0.16272},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.00174,"5.0-5.1":0.00174,"6.0-6.1":0.00434,"7.0-7.1":0.00608,"8.1-8.4":0.00174,"9.0-9.2":0.00434,"9.3":0.01997,"10.0-10.2":0.00347,"10.3":0.03126,"11.0-11.2":0.04602,"11.3-11.4":0.00868,"12.0-12.1":0.00521,"12.2-12.5":0.1259,"13.0-13.1":0.0026,"13.2":0.01216,"13.3":0.00608,"13.4-13.7":0.02778,"14.0-14.4":0.04775,"14.5-14.8":0.0738,"15.0-15.1":0.0356,"15.2-15.3":0.03907,"15.4":0.04428,"15.5":0.05557,"15.6-15.8":0.50012,"16.0":0.11374,"16.1":0.23443,"16.2":0.11374,"16.3":0.19709,"16.4":0.04168,"16.5":0.08422,"16.6-16.7":0.67116,"17.0":0.07293,"17.1":0.11895,"17.2":0.12416,"17.3":0.22922,"17.4":5.2052,"17.5":0.36727,"17.6":0},P:{"4":0.10441,"20":0.01044,"21":0.02088,"22":0.02088,"23":0.06264,"24":0.12529,"25":1.85843,"5.0-5.4":0.01044,"6.2-6.4":0.01044,_:"7.2-7.4 8.2 9.2 10.1 12.0 14.0 15.0 16.0 17.0 18.0","11.1-11.2":0.01044,"13.0":0.01044,"19.0":0.02088},I:{"0":0.06839,"3":0,"4":0.00001,"2.1":0,"2.2":0,"2.3":0,"4.1":0.00001,"4.2-4.3":0.00004,"4.4":0,"4.4.3-4.4.4":0.00015},K:{"0":0.52178,_:"10 11 12 11.1 11.5 12.1"},A:{"8":0.01085,"11":0.03797,_:"6 7 9 10 5.5"},S:{_:"2.5 3.0-3.1"},J:{_:"7 10"},N:{_:"10 11"},L:{"0":34.28724},R:{_:"0"},M:{"0":0.30208},Q:{_:"14.9"},O:{"0":0.03204},H:{"0":0}}; +module.exports={C:{"43":0.00873,"48":0.00437,"52":0.0524,"66":0.00437,"78":0.00873,"84":0.00437,"89":0.00437,"91":0.00437,"98":0.00437,"99":0.0131,"102":0.00873,"103":0.00873,"105":0.00437,"108":0.00437,"113":0.00437,"115":0.93891,"116":0.00437,"118":0.03494,"119":0.00437,"120":0.00437,"121":0.00437,"122":0.00873,"123":0.00437,"124":0.00437,"125":0.08297,"126":0.0131,"127":0.0524,"128":0.04804,"129":0.8996,"130":3.63771,"131":0.00873,_:"2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 44 45 46 47 49 50 51 53 54 55 56 57 58 59 60 61 62 63 64 65 67 68 69 70 71 72 73 74 75 76 77 79 80 81 82 83 85 86 87 88 90 92 93 94 95 96 97 100 101 104 106 107 109 110 111 112 114 117 132 133 134 135 3.5 3.6"},D:{"34":0.00437,"38":0.00437,"41":0.00437,"49":0.02184,"63":0.03057,"67":0.00437,"77":0.03057,"79":0.11791,"81":0.00873,"83":0.00873,"85":0.00437,"86":0.00437,"87":0.07424,"88":0.0393,"89":0.00437,"90":0.00873,"91":0.0131,"92":0.00437,"93":0.01747,"94":0.0131,"96":0.00437,"97":0.00437,"98":0.0131,"99":0.00873,"100":0.00437,"101":0.00437,"102":0.00873,"103":0.04367,"104":0.0131,"105":0.00437,"106":0.0262,"107":0.05677,"108":0.03057,"109":1.84287,"110":0.00873,"111":0.00437,"112":0.00437,"113":0.14411,"114":0.14848,"115":0.00437,"116":0.06987,"117":0.00873,"118":0.01747,"119":0.0262,"120":0.04367,"121":0.0262,"122":0.12664,"123":0.07424,"124":0.17905,"125":0.17468,"126":0.29696,"127":0.86467,"128":15.57272,"129":5.97842,"130":0.00437,_:"4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 35 36 37 39 40 42 43 44 45 46 47 48 50 51 52 53 54 55 56 57 58 59 60 61 62 64 65 66 68 69 70 71 72 73 74 75 76 78 80 84 95 131 132 133"},F:{"46":0.0393,"84":0.03057,"85":0.00437,"86":0.00437,"90":0.00437,"95":0.14411,"109":0.04367,"110":0.00437,"111":0.0131,"112":1.53718,"113":0.93454,"114":0.01747,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 47 48 49 50 51 52 53 54 55 56 57 58 60 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 87 88 89 91 92 93 94 96 97 98 99 100 101 102 103 104 105 106 107 108 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"18":0.00437,"92":0.00873,"100":0.00437,"108":0.00873,"109":0.05677,"110":0.00437,"111":0.00437,"112":0.00437,"114":0.00437,"115":0.00437,"118":0.00437,"119":0.00437,"120":0.0131,"121":0.0131,"122":0.00873,"123":0.00437,"124":0.00873,"125":0.01747,"126":0.05677,"127":0.21398,"128":3.4805,"129":1.42801,_:"12 13 14 15 16 17 79 80 81 83 84 85 86 87 88 89 90 91 93 94 95 96 97 98 99 101 102 103 104 105 106 107 113 116 117 130"},E:{"14":0.00873,"15":0.00437,_:"0 4 5 6 7 8 9 10 11 12 13 3.1 3.2 5.1 6.1 7.1 9.1 10.1 11.1","12.1":0.00437,"13.1":0.02184,"14.1":0.04367,"15.1":0.00437,"15.2-15.3":0.0131,"15.4":0.00873,"15.5":0.0131,"15.6":0.13101,"16.0":0.0131,"16.1":0.02184,"16.2":0.01747,"16.3":0.0262,"16.4":0.01747,"16.5":0.03057,"16.6":0.14848,"17.0":0.02184,"17.1":0.03057,"17.2":0.07424,"17.3":0.03057,"17.4":0.07861,"17.5":0.21835,"17.6":1.02625,"18.0":0.21835,"18.1":0.0262},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.00224,"5.0-5.1":0.00112,"6.0-6.1":0.00673,"7.0-7.1":0.00785,"8.1-8.4":0,"9.0-9.2":0.00673,"9.3":0.01907,"10.0-10.2":0.00561,"10.3":0.03252,"11.0-11.2":0.12,"11.3-11.4":0.00897,"12.0-12.1":0.00561,"12.2-12.5":0.13571,"13.0-13.1":0.00224,"13.2":0.04262,"13.3":0.00561,"13.4-13.7":0.02243,"14.0-14.4":0.05159,"14.5-14.8":0.06841,"15.0-15.1":0.03925,"15.2-15.3":0.03813,"15.4":0.04374,"15.5":0.05383,"15.6-15.8":0.53273,"16.0":0.10767,"16.1":0.21309,"16.2":0.10655,"16.3":0.17944,"16.4":0.03813,"16.5":0.07514,"16.6-16.7":0.64152,"17.0":0.05383,"17.1":0.08524,"17.2":0.07739,"17.3":0.11103,"17.4":0.23776,"17.5":1.14284,"17.6-17.7":6.08206,"18.0":0.76713,"18.1":0.03477},P:{"4":0.22916,"21":0.02083,"22":0.02083,"23":0.05208,"24":0.03125,"25":0.16667,"26":2.06248,_:"20 8.2 9.2 10.1 11.1-11.2 12.0 13.0 14.0 15.0 16.0 17.0 18.0","5.0-5.4":0.01042,"6.2-6.4":0.01042,"7.2-7.4":0.01042,"19.0":0.01042},I:{"0":0.07865,"3":0,"4":0,"2.1":0,"2.2":0,"2.3":0,"4.1":0.00001,"4.2-4.3":0.00003,"4.4":0,"4.4.3-4.4.4":0.00013},K:{"0":0.49007,_:"10 11 12 11.1 11.5 12.1"},A:{"8":0.00437,"11":0.0131,_:"6 7 9 10 5.5"},N:{_:"10 11"},S:{_:"2.5 3.0-3.1"},J:{_:"7 10"},O:{"0":0.0507},H:{"0":0},L:{"0":41.8805},R:{_:"0"},M:{"0":0.39431},Q:{_:"14.9"}}; diff --git a/node_modules/caniuse-lite/data/regions/SL.js b/node_modules/caniuse-lite/data/regions/SL.js index cd784b711e..99496c9194 100644 --- a/node_modules/caniuse-lite/data/regions/SL.js +++ b/node_modules/caniuse-lite/data/regions/SL.js @@ -1 +1 @@ -module.exports={C:{"4":0.00454,"28":0.00151,"33":0.00151,"45":0.00151,"47":0.00151,"57":0.00151,"58":0.00151,"61":0.00151,"62":0.00303,"72":0.00303,"76":0.00303,"89":0.00151,"95":0.00151,"112":0.00151,"113":0.00151,"115":0.05296,"119":0.00454,"121":0.00151,"122":0.00151,"123":0.00454,"124":0.01664,"125":0.20274,"126":0.25267,"127":0.05598,_:"2 3 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 29 30 31 32 34 35 36 37 38 39 40 41 42 43 44 46 48 49 50 51 52 53 54 55 56 59 60 63 64 65 66 67 68 69 70 71 73 74 75 77 78 79 80 81 82 83 84 85 86 87 88 90 91 92 93 94 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 114 116 117 118 120 128 129 3.5 3.6"},D:{"11":0.00303,"26":0.01967,"31":0.00151,"38":0.00151,"39":0.01513,"42":0.00151,"46":0.00151,"48":0.00303,"49":0.00151,"53":0.00151,"55":0.00151,"58":0.00151,"60":0.00151,"63":0.00151,"64":0.00605,"65":0.0348,"66":0.00151,"67":0.00151,"68":0.00454,"69":0.0121,"70":0.00454,"71":0.00303,"72":0.01513,"74":0.00303,"75":0.03177,"76":0.0121,"77":0.00454,"78":0.00303,"79":0.00908,"80":0.00605,"81":0.01059,"83":0.00908,"84":0.00151,"86":0.00757,"87":0.01513,"88":0.00151,"89":0.00151,"90":0.00151,"91":0.00303,"92":0.00454,"93":0.03631,"94":0.00454,"95":0.00757,"96":0.00605,"97":0.00151,"98":0.00151,"99":0.01059,"100":0.00303,"101":0.00757,"102":0.03934,"103":0.06657,"104":0.00908,"105":0.00757,"106":0.00151,"107":0.00454,"108":0.01059,"109":0.18459,"111":0.00757,"112":0.00303,"113":0.00303,"114":0.01513,"115":0.00757,"116":0.03934,"117":0.02421,"118":0.00605,"119":0.03934,"120":0.02421,"121":0.34648,"122":0.08473,"123":0.13617,"124":3.3982,"125":1.5599,"126":0.00151,_:"4 5 6 7 8 9 10 12 13 14 15 16 17 18 19 20 21 22 23 24 25 27 28 29 30 32 33 34 35 36 37 40 41 43 44 45 47 50 51 52 54 56 57 59 61 62 73 85 110 127 128"},F:{"31":0.00151,"40":0.00151,"42":0.00454,"44":0.00151,"45":0.00151,"57":0.00303,"79":0.00605,"94":0.00151,"95":0.0121,"102":0.00151,"105":0.00151,"107":0.00757,"108":0.01664,"109":0.33135,"110":0.18913,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 32 33 34 35 36 37 38 39 41 43 46 47 48 49 50 51 52 53 54 55 56 58 60 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 80 81 82 83 84 85 86 87 88 89 90 91 92 93 96 97 98 99 100 101 103 104 106 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"12":0.0227,"13":0.01059,"14":0.00605,"15":0.00454,"16":0.00908,"17":0.00303,"18":0.05144,"84":0.00151,"89":0.01059,"90":0.00454,"92":0.05901,"95":0.00151,"98":0.00151,"100":0.01059,"107":0.00303,"108":0.03026,"109":0.00303,"110":0.00151,"111":0.00605,"112":0.00151,"114":0.00605,"116":0.00454,"117":0.00605,"118":0.00454,"119":0.0121,"120":0.01059,"121":0.00908,"122":0.0227,"123":0.05447,"124":1.27849,"125":0.78525,_:"79 80 81 83 85 86 87 88 91 93 94 96 97 99 101 102 103 104 105 106 113 115"},E:{"14":0.00757,"15":0.00151,_:"0 4 5 6 7 8 9 10 11 12 13 3.1 3.2 6.1 9.1 10.1 15.2-15.3 15.5 16.0 17.6","5.1":0.00151,"7.1":0.01664,"11.1":0.05598,"12.1":0.00151,"13.1":0.01967,"14.1":0.03026,"15.1":0.00151,"15.4":0.00151,"15.6":0.07262,"16.1":0.00303,"16.2":0.00454,"16.3":0.02572,"16.4":0.00151,"16.5":0.00605,"16.6":0.03934,"17.0":0.00454,"17.1":0.00454,"17.2":0.01513,"17.3":0.0121,"17.4":0.03631,"17.5":0.00757},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.00114,"5.0-5.1":0.00114,"6.0-6.1":0.00286,"7.0-7.1":0.004,"8.1-8.4":0.00114,"9.0-9.2":0.00286,"9.3":0.01314,"10.0-10.2":0.00228,"10.3":0.02056,"11.0-11.2":0.03027,"11.3-11.4":0.00571,"12.0-12.1":0.00343,"12.2-12.5":0.08282,"13.0-13.1":0.00171,"13.2":0.008,"13.3":0.004,"13.4-13.7":0.01828,"14.0-14.4":0.03141,"14.5-14.8":0.04855,"15.0-15.1":0.02342,"15.2-15.3":0.0257,"15.4":0.02913,"15.5":0.03656,"15.6-15.8":0.329,"16.0":0.07482,"16.1":0.15422,"16.2":0.07482,"16.3":0.12966,"16.4":0.02742,"16.5":0.0554,"16.6-16.7":0.44152,"17.0":0.04798,"17.1":0.07825,"17.2":0.08168,"17.3":0.15079,"17.4":3.42419,"17.5":0.24161,"17.6":0},P:{"4":0.14294,"20":0.04084,"21":0.06126,"22":0.07147,"23":0.13273,"24":0.18378,"25":0.45945,"5.0-5.4":0.02042,"6.2-6.4":0.01021,"7.2-7.4":0.07147,_:"8.2 12.0 13.0 14.0 18.0","9.2":0.01021,"10.1":0.01021,"11.1-11.2":0.01021,"15.0":0.01021,"16.0":0.08168,"17.0":0.01021,"19.0":0.03063},I:{"0":0.04227,"3":0,"4":0,"2.1":0,"2.2":0,"2.3":0,"4.1":0.00001,"4.2-4.3":0.00003,"4.4":0,"4.4.3-4.4.4":0.00009},K:{"0":10.4396,_:"10 11 12 11.1 11.5 12.1"},A:{"10":0.00757,"11":0.00757,_:"6 7 8 9 5.5"},S:{"2.5":0.04244,_:"3.0-3.1"},J:{_:"7 10"},N:{_:"10 11"},L:{"0":63.93753},R:{_:"0"},M:{"0":0.09336},Q:{_:"14.9"},O:{"0":0.35645},H:{"0":7.12}}; +module.exports={C:{"62":0.00167,"66":0.01171,"72":0.00167,"88":0.00167,"91":0.00167,"101":0.00167,"112":0.00669,"115":0.03346,"126":0.00837,"127":0.00167,"128":0.0184,"129":0.06859,"130":0.37141,"131":0.01506,_:"2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 63 64 65 67 68 69 70 71 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 89 90 92 93 94 95 96 97 98 99 100 102 103 104 105 106 107 108 109 110 111 113 114 116 117 118 119 120 121 122 123 124 125 132 133 134 135 3.5 3.6"},D:{"11":0.00167,"33":0.00167,"47":0.00167,"55":0.00167,"56":0.00167,"58":0.00669,"59":0.00167,"60":0.00335,"61":0.00167,"63":0.00335,"64":0.00167,"65":0.01673,"66":0.00502,"68":0.0251,"69":0.00502,"70":0.00335,"72":0.01506,"73":0.00167,"74":0.01171,"75":0.0619,"76":0.01673,"77":0.01171,"79":0.01004,"80":0.00167,"81":0.03011,"83":0.01506,"87":0.01506,"88":0.00335,"89":0.00167,"90":0.00167,"91":0.01171,"92":0.00167,"93":0.07194,"94":0.00167,"95":0.00167,"96":0.00335,"97":0.01171,"98":0.00167,"99":0.00335,"100":0.00502,"101":0.00669,"102":0.00335,"103":0.06859,"104":0.00167,"105":0.00837,"106":0.00837,"108":0.00167,"109":0.19072,"110":0.00167,"111":0.00167,"113":0.00167,"114":0.00502,"115":0.00167,"116":0.05856,"117":0.00669,"118":0.01004,"119":0.12715,"120":0.02677,"121":0.0184,"122":0.03848,"123":0.01004,"124":0.03848,"125":0.0184,"126":0.07361,"127":0.49521,"128":3.81611,"129":1.47224,"130":0.00335,_:"4 5 6 7 8 9 10 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 34 35 36 37 38 39 40 41 42 43 44 45 46 48 49 50 51 52 53 54 57 62 67 71 78 84 85 86 107 112 131 132 133"},F:{"36":0.00167,"79":0.00335,"81":0.00167,"82":0.00167,"83":0.00167,"84":0.00837,"95":0.01338,"103":0.00167,"108":0.00669,"109":0.00167,"110":0.00167,"111":0.00335,"112":0.71772,"113":0.33627,"114":0.00837,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 60 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 80 85 86 87 88 89 90 91 92 93 94 96 97 98 99 100 101 102 104 105 106 107 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"12":0.00335,"13":0.03346,"14":0.00167,"15":0.00335,"16":0.00335,"17":0.00335,"18":0.05354,"84":0.00335,"89":0.00167,"90":0.00837,"92":0.07361,"100":0.02008,"109":0.00502,"111":0.00167,"113":0.00167,"114":0.00502,"118":0.00167,"119":0.00167,"120":0.00167,"121":0.00335,"122":0.00502,"123":0.00167,"124":0.00167,"125":0.00335,"126":0.01673,"127":0.08198,"128":1.64289,"129":0.46175,_:"79 80 81 83 85 86 87 88 91 93 94 95 96 97 98 99 101 102 103 104 105 106 107 108 110 112 115 116 117 130"},E:{"11":0.00167,"14":0.00502,_:"0 4 5 6 7 8 9 10 12 13 15 3.1 3.2 5.1 6.1 7.1 9.1 10.1 15.1 15.4 15.5 16.0 16.1 16.4 17.0 17.1 17.3 18.1","11.1":0.00335,"12.1":0.00335,"13.1":0.04852,"14.1":0.01171,"15.2-15.3":0.01171,"15.6":0.0251,"16.2":0.00167,"16.3":0.01338,"16.5":0.00167,"16.6":0.01673,"17.2":0.02175,"17.4":0.01673,"17.5":0.03513,"17.6":0.04517,"18.0":0.05354},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.00102,"5.0-5.1":0.00051,"6.0-6.1":0.00305,"7.0-7.1":0.00356,"8.1-8.4":0,"9.0-9.2":0.00305,"9.3":0.00864,"10.0-10.2":0.00254,"10.3":0.01473,"11.0-11.2":0.05435,"11.3-11.4":0.00406,"12.0-12.1":0.00254,"12.2-12.5":0.06146,"13.0-13.1":0.00102,"13.2":0.0193,"13.3":0.00254,"13.4-13.7":0.01016,"14.0-14.4":0.02337,"14.5-14.8":0.03098,"15.0-15.1":0.01778,"15.2-15.3":0.01727,"15.4":0.01981,"15.5":0.02438,"15.6-15.8":0.24127,"16.0":0.04876,"16.1":0.09651,"16.2":0.04825,"16.3":0.08127,"16.4":0.01727,"16.5":0.03403,"16.6-16.7":0.29055,"17.0":0.02438,"17.1":0.0386,"17.2":0.03505,"17.3":0.05029,"17.4":0.10768,"17.5":0.5176,"17.6-17.7":2.7546,"18.0":0.34744,"18.1":0.01575},P:{"4":0.07354,"21":0.03152,"22":0.14708,"23":0.02101,"24":0.07354,"25":0.12607,"26":0.31518,_:"20 8.2 12.0 14.0 15.0 17.0 18.0","5.0-5.4":0.03152,"6.2-6.4":0.01051,"7.2-7.4":0.06304,"9.2":0.04202,"10.1":0.05253,"11.1-11.2":0.08405,"13.0":0.01051,"16.0":0.01051,"19.0":0.03152},I:{"0":0.01661,"3":0,"4":0,"2.1":0,"2.2":0,"2.3":0,"4.1":0,"4.2-4.3":0.00001,"4.4":0,"4.4.3-4.4.4":0.00003},K:{"0":7.64251,_:"10 11 12 11.1 11.5 12.1"},A:{"11":0.00669,_:"6 7 8 9 10 5.5"},N:{_:"10 11"},S:{"2.5":0.02498,_:"3.0-3.1"},J:{_:"7 10"},O:{"0":0.26646},H:{"0":2.2},L:{"0":71.8361},R:{_:"0"},M:{"0":0.04164},Q:{_:"14.9"}}; diff --git a/node_modules/caniuse-lite/data/regions/SM.js b/node_modules/caniuse-lite/data/regions/SM.js index 1f9a6ff856..d2bb51c9b4 100644 --- a/node_modules/caniuse-lite/data/regions/SM.js +++ b/node_modules/caniuse-lite/data/regions/SM.js @@ -1 +1 @@ -module.exports={C:{"78":0.13079,"88":0.00872,"99":0.00872,"102":0.01744,"115":0.23541,"124":0.01744,"125":7.9866,"126":1.15091,_:"2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 79 80 81 82 83 84 85 86 87 89 90 91 92 93 94 95 96 97 98 100 101 103 104 105 106 107 108 109 110 111 112 113 114 116 117 118 119 120 121 122 123 127 128 129 3.5 3.6"},D:{"79":0.00872,"87":0.02616,"103":0.02616,"109":0.81959,"116":26.65398,"117":0.00872,"120":0.01744,"121":0.01744,"122":0.34004,"123":0.09591,"124":38.65133,"125":3.43529,"126":0.00872,_:"4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 80 81 83 84 85 86 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 104 105 106 107 108 110 111 112 113 114 115 118 119 127 128"},F:{"107":0.00872,"109":0.03488,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 60 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 108 110 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"124":5.46681,"125":0.54058,_:"12 13 14 15 16 17 18 79 80 81 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123"},E:{_:"0 4 5 6 7 8 9 10 11 12 13 14 15 3.1 3.2 5.1 6.1 7.1 9.1 10.1 11.1 12.1 15.2-15.3 15.4 15.5 16.0 16.1 16.2 16.4 17.6","13.1":0.01744,"14.1":0.19182,"15.1":0.00872,"15.6":0.12207,"16.3":0.01744,"16.5":0.09591,"16.6":0.40107,"17.0":0.06975,"17.1":0.0436,"17.2":0.00872,"17.3":0.00872,"17.4":0.27901,"17.5":0.0436},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.00079,"5.0-5.1":0.00079,"6.0-6.1":0.00197,"7.0-7.1":0.00276,"8.1-8.4":0.00079,"9.0-9.2":0.00197,"9.3":0.00908,"10.0-10.2":0.00158,"10.3":0.01421,"11.0-11.2":0.02092,"11.3-11.4":0.00395,"12.0-12.1":0.00237,"12.2-12.5":0.05725,"13.0-13.1":0.00118,"13.2":0.00553,"13.3":0.00276,"13.4-13.7":0.01263,"14.0-14.4":0.02171,"14.5-14.8":0.03356,"15.0-15.1":0.01619,"15.2-15.3":0.01777,"15.4":0.02014,"15.5":0.02527,"15.6-15.8":0.22741,"16.0":0.05172,"16.1":0.1066,"16.2":0.05172,"16.3":0.08962,"16.4":0.01895,"16.5":0.0383,"16.6-16.7":0.30518,"17.0":0.03316,"17.1":0.05409,"17.2":0.05646,"17.3":0.10423,"17.4":2.36685,"17.5":0.167,"17.6":0},P:{"22":0.02069,"23":0.01034,"24":0.02069,"25":0.78606,_:"4 20 21 5.0-5.4 6.2-6.4 7.2-7.4 8.2 9.2 10.1 11.1-11.2 12.0 13.0 14.0 15.0 16.0 17.0 18.0 19.0"},I:{"0":0.00383,"3":0,"4":0,"2.1":0,"2.2":0,"2.3":0,"4.1":0,"4.2-4.3":0,"4.4":0,"4.4.3-4.4.4":0.00001},K:{"0":0.00384,_:"10 11 12 11.1 11.5 12.1"},A:{"11":0.00872,_:"6 7 8 9 10 5.5"},S:{_:"2.5 3.0-3.1"},J:{_:"7 10"},N:{_:"10 11"},L:{"0":8.05476},R:{_:"0"},M:{"0":0.04612},Q:{_:"14.9"},O:{"0":0.00769},H:{"0":0}}; +module.exports={C:{"78":0.41338,"102":0.06764,"115":1.09734,"129":0.48854,"130":2.16461,_:"2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 103 104 105 106 107 108 109 110 111 112 113 114 116 117 118 119 120 121 122 123 124 125 126 127 128 131 132 133 134 135 3.5 3.6"},D:{"87":0.00752,"97":0.00752,"103":0.00752,"105":0.00752,"109":5.23114,"115":0.01503,"116":0.88689,"117":0.00752,"119":0.00752,"121":0.01503,"122":0.00752,"124":0.01503,"126":0.30064,"127":0.43593,"128":47.79424,"129":8.56072,_:"4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 83 84 85 86 88 89 90 91 92 93 94 95 96 98 99 100 101 102 104 106 107 108 110 111 112 113 114 118 120 123 125 130 131 132 133"},F:{"89":0.05261,"109":0.00752,"112":0.0451,"113":0.03006,"114":0.00752,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 60 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 110 111 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"127":0.05261,"128":1.879,"129":0.7065,_:"12 13 14 15 16 17 18 79 80 81 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 130"},E:{_:"0 4 5 6 7 8 9 10 11 12 13 14 15 3.1 3.2 5.1 6.1 7.1 9.1 10.1 11.1 12.1 15.1 15.2-15.3 16.0 16.2 16.4 17.0 17.1 18.1","13.1":0.03006,"14.1":0.81173,"15.4":0.01503,"15.5":0.00752,"15.6":0.0451,"16.1":0.00752,"16.3":0.00752,"16.5":0.1879,"16.6":1.02969,"17.2":0.00752,"17.3":0.00752,"17.4":0.03006,"17.5":1.29275,"17.6":1.02218,"18.0":0.09019},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.00173,"5.0-5.1":0.00086,"6.0-6.1":0.00518,"7.0-7.1":0.00604,"8.1-8.4":0,"9.0-9.2":0.00518,"9.3":0.01467,"10.0-10.2":0.00431,"10.3":0.02502,"11.0-11.2":0.09231,"11.3-11.4":0.0069,"12.0-12.1":0.00431,"12.2-12.5":0.10439,"13.0-13.1":0.00173,"13.2":0.03278,"13.3":0.00431,"13.4-13.7":0.01725,"14.0-14.4":0.03968,"14.5-14.8":0.05262,"15.0-15.1":0.03019,"15.2-15.3":0.02933,"15.4":0.03365,"15.5":0.04141,"15.6-15.8":0.40978,"16.0":0.08282,"16.1":0.16391,"16.2":0.08196,"16.3":0.13803,"16.4":0.02933,"16.5":0.0578,"16.6-16.7":0.49346,"17.0":0.04141,"17.1":0.06556,"17.2":0.05953,"17.3":0.08541,"17.4":0.18289,"17.5":0.87908,"17.6-17.7":4.67839,"18.0":0.59008,"18.1":0.02674},P:{"4":0.01023,"25":0.01023,"26":1.49345,_:"20 21 22 23 24 5.0-5.4 6.2-6.4 7.2-7.4 8.2 9.2 10.1 11.1-11.2 12.0 13.0 14.0 15.0 16.0 18.0","17.0":0.12275,"19.0":0.01023},I:{"0":0.00743,"3":0,"4":0,"2.1":0,"2.2":0,"2.3":0,"4.1":0,"4.2-4.3":0,"4.4":0,"4.4.3-4.4.4":0.00001},K:{"0":0.00745,_:"10 11 12 11.1 11.5 12.1"},A:{_:"6 7 8 9 10 11 5.5"},N:{_:"10 11"},S:{_:"2.5 3.0-3.1"},J:{_:"7 10"},O:{_:"0"},H:{"0":0},L:{"0":14.39886},R:{_:"0"},M:{"0":0.24343},Q:{_:"14.9"}}; diff --git a/node_modules/caniuse-lite/data/regions/SN.js b/node_modules/caniuse-lite/data/regions/SN.js index 6cee5f0643..90ef3d281e 100644 --- a/node_modules/caniuse-lite/data/regions/SN.js +++ b/node_modules/caniuse-lite/data/regions/SN.js @@ -1 +1 @@ -module.exports={C:{"52":0.0021,"61":0.0021,"68":0.0042,"70":0.01681,"72":0.0042,"78":0.01681,"80":0.0042,"84":0.0021,"91":0.0021,"95":0.01051,"96":0.0021,"97":0.0021,"99":0.0021,"102":0.0021,"104":0.0021,"109":0.0042,"113":0.0021,"115":0.208,"116":0.0021,"120":0.0042,"121":0.0042,"122":0.0042,"123":0.0042,"124":0.01681,"125":0.56937,"126":0.49374,"127":0.0084,_:"2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 53 54 55 56 57 58 59 60 62 63 64 65 66 67 69 71 73 74 75 76 77 79 81 82 83 85 86 87 88 89 90 92 93 94 98 100 101 103 105 106 107 108 110 111 112 114 117 118 119 128 129 3.5 3.6"},D:{"34":0.0021,"38":0.0042,"39":0.0021,"49":0.0021,"50":0.0021,"53":0.0021,"58":0.0021,"64":0.0021,"65":0.0042,"66":0.0021,"68":0.0021,"69":0.01681,"70":0.0063,"73":0.0021,"74":0.0021,"75":0.0042,"76":0.0021,"77":0.0042,"79":0.03152,"80":0.0042,"81":0.0063,"83":0.01891,"86":0.01471,"87":0.03572,"88":0.04412,"91":0.01471,"92":0.0021,"93":0.02101,"94":0.0021,"95":0.01261,"96":0.0021,"97":0.0021,"98":0.01471,"99":0.0084,"100":0.0021,"102":0.0042,"103":0.15337,"104":0.0021,"105":0.0021,"106":0.0042,"107":0.0021,"108":0.01261,"109":1.23959,"110":0.0063,"111":0.0042,"112":0.0042,"113":0.0021,"114":0.02941,"115":0.0063,"116":0.11556,"117":0.02311,"118":0.01261,"119":0.02731,"120":0.03572,"121":0.06723,"122":0.06933,"123":0.31305,"124":6.52991,"125":2.59053,"126":0.01051,_:"4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 35 36 37 40 41 42 43 44 45 46 47 48 51 52 54 55 56 57 59 60 61 62 63 67 71 72 78 84 85 89 90 101 127 128"},F:{"36":0.0021,"46":0.0042,"79":0.0063,"89":0.01051,"94":0.0021,"95":0.01681,"107":0.01261,"108":0.0084,"109":0.33196,"110":0.03152,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 37 38 39 40 41 42 43 44 45 47 48 49 50 51 52 53 54 55 56 57 58 60 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 80 81 82 83 84 85 86 87 88 90 91 92 93 96 97 98 99 100 101 102 103 104 105 106 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"15":0.0021,"16":0.0021,"18":0.01261,"90":0.0021,"92":0.01261,"100":0.01051,"101":0.0042,"105":0.0021,"109":0.01681,"115":0.0042,"117":0.0042,"118":0.0042,"119":0.0063,"120":0.02521,"121":0.01261,"122":0.05463,"123":0.05463,"124":1.6745,"125":0.89923,_:"12 13 14 17 79 80 81 83 84 85 86 87 88 89 91 93 94 95 96 97 98 99 102 103 104 106 107 108 110 111 112 113 114 116"},E:{"13":0.0021,"14":0.01051,_:"0 4 5 6 7 8 9 10 11 12 15 3.1 3.2 5.1 6.1 7.1 9.1 10.1 15.1 16.0 17.6","11.1":0.0021,"12.1":0.01471,"13.1":0.02521,"14.1":0.02101,"15.2-15.3":0.01051,"15.4":0.0021,"15.5":0.0042,"15.6":0.07564,"16.1":0.01681,"16.2":0.0042,"16.3":0.01261,"16.4":0.0042,"16.5":0.0042,"16.6":0.02941,"17.0":0.01261,"17.1":0.01051,"17.2":0.01051,"17.3":0.01681,"17.4":0.18279,"17.5":0.03572},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.00308,"5.0-5.1":0.00308,"6.0-6.1":0.00769,"7.0-7.1":0.01077,"8.1-8.4":0.00308,"9.0-9.2":0.00769,"9.3":0.03538,"10.0-10.2":0.00615,"10.3":0.05537,"11.0-11.2":0.08152,"11.3-11.4":0.01538,"12.0-12.1":0.00923,"12.2-12.5":0.22303,"13.0-13.1":0.00461,"13.2":0.02153,"13.3":0.01077,"13.4-13.7":0.04922,"14.0-14.4":0.0846,"14.5-14.8":0.13074,"15.0-15.1":0.06306,"15.2-15.3":0.06922,"15.4":0.07844,"15.5":0.09844,"15.6-15.8":0.88596,"16.0":0.2015,"16.1":0.4153,"16.2":0.2015,"16.3":0.34916,"16.4":0.07383,"16.5":0.1492,"16.6-16.7":1.18897,"17.0":0.1292,"17.1":0.21072,"17.2":0.21995,"17.3":0.40607,"17.4":9.22109,"17.5":0.65063,"17.6":0},P:{"4":0.21513,"20":0.03073,"21":0.12293,"22":0.13317,"23":0.23562,"24":0.33806,"25":1.72103,_:"5.0-5.4 8.2 9.2 10.1 12.0 14.0","6.2-6.4":0.01024,"7.2-7.4":0.31757,"11.1-11.2":0.02049,"13.0":0.02049,"15.0":0.02049,"16.0":0.04098,"17.0":0.10244,"18.0":0.01024,"19.0":0.11269},I:{"0":0.01574,"3":0,"4":0,"2.1":0,"2.2":0,"2.3":0,"4.1":0,"4.2-4.3":0.00001,"4.4":0,"4.4.3-4.4.4":0.00003},K:{"0":0.2249,_:"10 11 12 11.1 11.5 12.1"},A:{"11":0.0084,_:"6 7 8 9 10 5.5"},S:{"2.5":0.0158,_:"3.0-3.1"},J:{_:"7 10"},N:{_:"10 11"},L:{"0":63.63269},R:{_:"0"},M:{"0":0.0948},Q:{_:"14.9"},O:{"0":0.0237},H:{"0":0.02}}; +module.exports={C:{"46":0.01209,"52":0.00202,"67":0.00202,"70":0.01411,"72":0.00403,"78":0.01209,"81":0.00403,"84":0.00202,"91":0.00403,"94":0.00202,"95":0.00202,"99":0.00202,"102":0.00202,"104":0.00202,"109":0.00403,"113":0.00403,"115":0.12695,"121":0.00202,"122":0.00202,"123":0.00202,"124":0.00202,"125":0.00202,"126":0.02217,"127":0.00605,"128":0.00605,"129":0.18337,"130":0.90272,"131":0.00202,_:"2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 47 48 49 50 51 53 54 55 56 57 58 59 60 61 62 63 64 65 66 68 69 71 73 74 75 76 77 79 80 82 83 85 86 87 88 89 90 92 93 96 97 98 100 101 103 105 106 107 108 110 111 112 114 116 117 118 119 120 132 133 134 135 3.5 3.6"},D:{"36":0.00403,"39":0.00202,"42":0.00202,"47":0.00202,"53":0.00202,"55":0.00403,"63":0.00403,"65":0.00403,"66":0.00202,"67":0.00202,"68":0.00202,"69":0.01411,"70":0.00806,"73":0.00403,"74":0.00202,"75":0.00403,"76":0.00403,"77":0.00403,"79":0.03224,"80":0.00202,"81":0.01008,"83":0.02217,"85":0.00202,"86":0.02217,"87":0.04635,"88":0.03023,"89":0.00806,"91":0.00403,"93":0.03224,"94":0.01209,"95":0.02015,"98":0.02821,"99":0.00806,"100":0.00605,"103":0.07053,"104":0.00202,"105":0.00202,"106":0.00403,"107":0.01411,"108":0.00202,"109":0.97325,"110":0.00605,"111":0.00605,"112":0.01411,"113":0.00202,"114":0.04836,"115":0.00202,"116":0.09672,"117":0.00605,"118":0.00605,"119":0.0262,"120":0.06448,"121":0.01814,"122":0.01612,"123":0.02821,"124":0.0262,"125":0.03224,"126":0.13904,"127":0.31233,"128":6.27874,"129":2.26083,_:"4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 37 38 40 41 43 44 45 46 48 49 50 51 52 54 56 57 58 59 60 61 62 64 71 72 78 84 90 92 96 97 101 102 130 131 132 133"},F:{"40":0.00202,"46":0.00605,"84":0.00806,"89":0.00202,"95":0.01209,"102":0.00605,"108":0.00202,"109":0.00202,"110":0.00202,"112":0.2418,"113":0.11486,"114":0.00403,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 41 42 43 44 45 47 48 49 50 51 52 53 54 55 56 57 58 60 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 85 86 87 88 90 91 92 93 94 96 97 98 99 100 101 103 104 105 106 107 111 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"12":0.00202,"15":0.00202,"18":0.00605,"84":0.00202,"90":0.00403,"92":0.01612,"100":0.01209,"101":0.00202,"109":0.02217,"114":0.00403,"119":0.00202,"120":0.01209,"121":0.00605,"122":0.00605,"123":0.00605,"124":0.00403,"125":0.01814,"126":0.05239,"127":0.09874,"128":1.95254,"129":0.92892,"130":0.00202,_:"13 14 16 17 79 80 81 83 85 86 87 88 89 91 93 94 95 96 97 98 99 102 103 104 105 106 107 108 110 111 112 113 115 116 117 118"},E:{"11":0.00202,"14":0.00605,_:"0 4 5 6 7 8 9 10 12 13 15 3.1 3.2 5.1 6.1 7.1 9.1 10.1 11.1 15.4","12.1":0.00202,"13.1":0.01612,"14.1":0.0262,"15.1":0.00202,"15.2-15.3":0.00202,"15.5":0.00202,"15.6":0.05844,"16.0":0.00202,"16.1":0.01612,"16.2":0.00605,"16.3":0.01411,"16.4":0.00202,"16.5":0.00403,"16.6":0.04232,"17.0":0.01008,"17.1":0.00403,"17.2":0.00403,"17.3":0.01008,"17.4":0.01008,"17.5":0.03426,"17.6":0.18135,"18.0":0.03426,"18.1":0.00202},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.0035,"5.0-5.1":0.00175,"6.0-6.1":0.0105,"7.0-7.1":0.01225,"8.1-8.4":0,"9.0-9.2":0.0105,"9.3":0.02974,"10.0-10.2":0.00875,"10.3":0.05074,"11.0-11.2":0.1872,"11.3-11.4":0.014,"12.0-12.1":0.00875,"12.2-12.5":0.21169,"13.0-13.1":0.0035,"13.2":0.06648,"13.3":0.00875,"13.4-13.7":0.03499,"14.0-14.4":0.08048,"14.5-14.8":0.10672,"15.0-15.1":0.06123,"15.2-15.3":0.05948,"15.4":0.06823,"15.5":0.08398,"15.6-15.8":0.83102,"16.0":0.16795,"16.1":0.33241,"16.2":0.1662,"16.3":0.27992,"16.4":0.05948,"16.5":0.11722,"16.6-16.7":1.00072,"17.0":0.08398,"17.1":0.13296,"17.2":0.12072,"17.3":0.1732,"17.4":0.3709,"17.5":1.78275,"17.6-17.7":9.48761,"18.0":1.19667,"18.1":0.05423},P:{"4":0.14247,"20":0.02035,"21":0.06106,"22":0.16282,"23":0.08141,"24":0.12212,"25":0.25441,"26":1.27205,"5.0-5.4":0.02035,_:"6.2-6.4 8.2 9.2 10.1 12.0 15.0","7.2-7.4":0.40705,"11.1-11.2":0.02035,"13.0":0.03053,"14.0":0.01018,"16.0":0.02035,"17.0":0.02035,"18.0":0.01018,"19.0":0.05088},I:{"0":0.01593,"3":0,"4":0,"2.1":0,"2.2":0,"2.3":0,"4.1":0,"4.2-4.3":0.00001,"4.4":0,"4.4.3-4.4.4":0.00003},K:{"0":0.1597,_:"10 11 12 11.1 11.5 12.1"},A:{_:"6 7 8 9 10 11 5.5"},N:{_:"10 11"},S:{"2.5":0.00799,_:"3.0-3.1"},J:{_:"7 10"},O:{"0":0.03194},H:{"0":0},L:{"0":62.87594},R:{_:"0"},M:{"0":0.07985},Q:{_:"14.9"}}; diff --git a/node_modules/caniuse-lite/data/regions/SO.js b/node_modules/caniuse-lite/data/regions/SO.js index 9bce6a36d3..eabe9c99f8 100644 --- a/node_modules/caniuse-lite/data/regions/SO.js +++ b/node_modules/caniuse-lite/data/regions/SO.js @@ -1 +1 @@ -module.exports={C:{"72":0.00189,"103":0.00189,"106":0.00378,"107":0.00189,"108":0.00189,"110":0.00189,"113":0.00189,"115":0.02267,"116":0.01322,"121":0.00189,"124":0.01322,"125":0.26068,"126":0.25879,"127":0.00567,_:"2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 104 105 109 111 112 114 117 118 119 120 122 123 128 129 3.5 3.6"},D:{"33":0.00189,"49":0.00189,"50":0.00189,"51":0.00189,"58":0.02456,"63":0.00189,"64":0.05289,"66":0.00756,"68":0.02456,"69":0.00378,"70":0.01889,"71":0.00567,"73":0.00567,"74":0.00189,"76":0.00567,"77":0.01133,"78":0.00378,"79":0.10012,"81":0.00189,"83":0.017,"86":0.00567,"87":0.07745,"88":0.04345,"92":0.00189,"93":0.00189,"95":0.01322,"98":0.03778,"99":0.02456,"101":0.01133,"102":0.00756,"103":0.06045,"104":0.00378,"105":0.00378,"106":0.00567,"107":0.00567,"108":0.00756,"109":0.44769,"110":0.00189,"111":0.02267,"112":0.00945,"113":0.00378,"114":0.017,"115":0.00756,"116":0.017,"117":0.02456,"118":0.01511,"119":0.41369,"120":0.04345,"121":0.02645,"122":0.12279,"123":0.26635,"124":8.70451,"125":2.79572,"126":0.01322,_:"4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 52 53 54 55 56 57 59 60 61 62 65 67 72 75 80 84 85 89 90 91 94 96 97 100 127 128"},F:{"42":0.00378,"72":0.00189,"95":0.00189,"105":0.00189,"107":0.017,"108":0.02267,"109":0.34947,"110":0.051,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 60 62 63 64 65 66 67 68 69 70 71 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 96 97 98 99 100 101 102 103 104 106 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"12":0.00567,"14":0.00189,"15":0.00189,"16":0.00378,"17":0.00189,"18":0.02456,"84":0.00378,"89":0.00945,"90":0.00189,"92":0.04534,"99":0.00189,"100":0.00189,"107":0.03778,"108":0.00189,"109":0.00756,"110":0.00756,"111":0.00567,"112":0.00189,"114":0.00189,"115":0.00567,"116":0.00189,"117":0.00378,"118":0.00378,"119":0.00378,"120":0.01511,"121":0.01322,"122":0.03589,"123":0.08501,"124":1.34497,"125":0.74804,_:"13 79 80 81 83 85 86 87 88 91 93 94 95 96 97 98 101 102 103 104 105 106 113"},E:{"11":0.00189,"14":0.00378,_:"0 4 5 6 7 8 9 10 12 13 15 3.1 3.2 5.1 6.1 7.1 9.1 10.1 11.1 12.1 16.0 17.6","13.1":0.00567,"14.1":0.017,"15.1":0.00189,"15.2-15.3":0.00189,"15.4":0.00189,"15.5":0.02834,"15.6":0.02834,"16.1":0.00378,"16.2":0.00189,"16.3":0.00378,"16.4":0.00567,"16.5":0.00945,"16.6":0.02078,"17.0":0.02078,"17.1":0.00378,"17.2":0.01511,"17.3":0.00756,"17.4":0.09634,"17.5":0.04345},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.00152,"5.0-5.1":0.00152,"6.0-6.1":0.0038,"7.0-7.1":0.00532,"8.1-8.4":0.00152,"9.0-9.2":0.0038,"9.3":0.01748,"10.0-10.2":0.00304,"10.3":0.02736,"11.0-11.2":0.04029,"11.3-11.4":0.0076,"12.0-12.1":0.00456,"12.2-12.5":0.11021,"13.0-13.1":0.00228,"13.2":0.01064,"13.3":0.00532,"13.4-13.7":0.02432,"14.0-14.4":0.04181,"14.5-14.8":0.06461,"15.0-15.1":0.03116,"15.2-15.3":0.0342,"15.4":0.03876,"15.5":0.04865,"15.6-15.8":0.43781,"16.0":0.09957,"16.1":0.20523,"16.2":0.09957,"16.3":0.17254,"16.4":0.03648,"16.5":0.07373,"16.6-16.7":0.58755,"17.0":0.06385,"17.1":0.10413,"17.2":0.10869,"17.3":0.20066,"17.4":4.55677,"17.5":0.32152,"17.6":0},P:{"4":0.13244,"20":0.03056,"21":0.10188,"22":0.34638,"23":0.39732,"24":0.71313,"25":1.48739,"5.0-5.4":0.01019,"6.2-6.4":0.02038,"7.2-7.4":0.64182,_:"8.2 9.2 10.1","11.1-11.2":0.03056,"12.0":0.01019,"13.0":0.01019,"14.0":0.03056,"15.0":0.01019,"16.0":0.09169,"17.0":0.01019,"18.0":0.02038,"19.0":0.2445},I:{"0":0.12929,"3":0,"4":0.00001,"2.1":0,"2.2":0,"2.3":0,"4.1":0.00003,"4.2-4.3":0.00008,"4.4":0,"4.4.3-4.4.4":0.00029},K:{"0":2.37794,_:"10 11 12 11.1 11.5 12.1"},A:{"8":0.00567,"9":0.00189,"11":0.00378,_:"6 7 10 5.5"},S:{_:"2.5 3.0-3.1"},J:{_:"7 10"},N:{_:"10 11"},L:{"0":65.80948},R:{_:"0"},M:{"0":0.03245},Q:{_:"14.9"},O:{"0":1.90632},H:{"0":0.08}}; +module.exports={C:{"34":0.00181,"68":0.00362,"104":0.00181,"106":0.00362,"112":0.00181,"115":0.01085,"124":0.00181,"126":0.00181,"127":0.00362,"128":0.00542,"129":0.09944,"130":0.40138,"131":0.00542,_:"2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 105 107 108 109 110 111 113 114 116 117 118 119 120 121 122 123 125 132 133 134 135 3.5 3.6"},D:{"11":0.00181,"32":0.00181,"33":0.00181,"49":0.14645,"50":0.00181,"58":0.00181,"64":0.01808,"68":0.02712,"69":0.01446,"70":0.00181,"71":0.00362,"72":0.04158,"73":0.01266,"74":0.00181,"76":0.00181,"78":0.00362,"79":0.03074,"80":0.00181,"83":0.00904,"86":0.00181,"87":0.03978,"88":0.04158,"89":0.00181,"90":0.00723,"93":0.00362,"94":0.00362,"95":0.00542,"96":0.00181,"97":0.00181,"98":0.01266,"99":0.00362,"100":0.00181,"103":0.07232,"104":0.00542,"105":0.00362,"106":0.01085,"107":0.01085,"108":0.00362,"109":0.32544,"110":0.00362,"111":0.01266,"112":0.01266,"114":0.01266,"115":0.00181,"116":0.03978,"117":0.00362,"118":0.0217,"119":0.12294,"120":0.0235,"121":0.00362,"122":0.03254,"123":0.0217,"124":0.02531,"125":0.05424,"126":0.17176,"127":0.452,"128":7.78706,"129":3.21282,"130":0.01446,_:"4 5 6 7 8 9 10 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 51 52 53 54 55 56 57 59 60 61 62 63 65 66 67 75 77 81 84 85 91 92 101 102 113 131 132 133"},F:{"79":0.01989,"83":0.00723,"94":0.00181,"95":0.00723,"111":0.00362,"112":0.33267,"113":0.28928,"114":0.00904,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 60 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 80 81 82 84 85 86 87 88 89 90 91 92 93 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"12":0.00181,"13":0.00181,"15":0.00181,"17":0.01085,"18":0.01446,"84":0.00181,"89":0.00362,"90":0.00362,"92":0.03074,"99":0.00904,"100":0.00904,"107":0.00542,"109":0.01266,"111":0.00542,"112":0.00542,"113":0.01266,"114":0.0217,"117":0.00362,"120":0.00542,"121":0.00362,"122":0.00904,"123":0.00904,"124":0.00904,"125":0.00723,"126":0.02712,"127":0.06328,"128":1.83512,"129":0.71054,"130":0.00362,_:"14 16 79 80 81 83 85 86 87 88 91 93 94 95 96 97 98 101 102 103 104 105 106 108 110 115 116 118 119"},E:{"13":0.00181,"14":0.00181,_:"0 4 5 6 7 8 9 10 11 12 15 3.1 3.2 5.1 6.1 7.1 9.1 10.1 11.1 15.2-15.3 16.1 16.2 17.0 18.1","12.1":0.00181,"13.1":0.01808,"14.1":0.00362,"15.1":0.00362,"15.4":0.00362,"15.5":0.00542,"15.6":0.00723,"16.0":0.00181,"16.3":0.00904,"16.4":0.00181,"16.5":0.01808,"16.6":0.00904,"17.1":0.00542,"17.2":0.00362,"17.3":0.00362,"17.4":0.00904,"17.5":0.06147,"17.6":0.12837,"18.0":0.03978},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.00155,"5.0-5.1":0.00077,"6.0-6.1":0.00464,"7.0-7.1":0.00541,"8.1-8.4":0,"9.0-9.2":0.00464,"9.3":0.01315,"10.0-10.2":0.00387,"10.3":0.02243,"11.0-11.2":0.08275,"11.3-11.4":0.00619,"12.0-12.1":0.00387,"12.2-12.5":0.09357,"13.0-13.1":0.00155,"13.2":0.02939,"13.3":0.00387,"13.4-13.7":0.01547,"14.0-14.4":0.03557,"14.5-14.8":0.04717,"15.0-15.1":0.02707,"15.2-15.3":0.02629,"15.4":0.03016,"15.5":0.03712,"15.6-15.8":0.36733,"16.0":0.07424,"16.1":0.14693,"16.2":0.07347,"16.3":0.12373,"16.4":0.02629,"16.5":0.05181,"16.6-16.7":0.44234,"17.0":0.03712,"17.1":0.05877,"17.2":0.05336,"17.3":0.07656,"17.4":0.16394,"17.5":0.78802,"17.6-17.7":4.19374,"18.0":0.52895,"18.1":0.02397},P:{"4":0.08164,"20":0.0102,"21":0.06123,"22":0.29593,"23":0.16327,"24":0.40818,"25":0.64288,"26":1.58169,_:"5.0-5.4 8.2 10.1 12.0 14.0 15.0 17.0","6.2-6.4":0.0102,"7.2-7.4":0.56124,"9.2":0.0102,"11.1-11.2":0.0102,"13.0":0.0102,"16.0":0.06123,"18.0":0.02041,"19.0":0.14286},I:{"0":0.04085,"3":0,"4":0,"2.1":0,"2.2":0,"2.3":0,"4.1":0,"4.2-4.3":0.00002,"4.4":0,"4.4.3-4.4.4":0.00007},K:{"0":1.41371,_:"10 11 12 11.1 11.5 12.1"},A:{"11":0.00181,_:"6 7 8 9 10 5.5"},N:{_:"10 11"},S:{_:"2.5 3.0-3.1"},J:{_:"7 10"},O:{"0":1.01581},H:{"0":0.11},L:{"0":67.97178},R:{_:"0"},M:{"0":0.04096},Q:{_:"14.9"}}; diff --git a/node_modules/caniuse-lite/data/regions/SR.js b/node_modules/caniuse-lite/data/regions/SR.js index c71e1a1a9e..52ecddf811 100644 --- a/node_modules/caniuse-lite/data/regions/SR.js +++ b/node_modules/caniuse-lite/data/regions/SR.js @@ -1 +1 @@ -module.exports={C:{"99":0.00287,"115":0.45043,"121":0.01435,"122":0.0459,"123":0.00287,"124":0.05451,"125":1.37999,"126":1.73575,"127":0.00861,_:"2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 116 117 118 119 120 128 129 3.5 3.6"},D:{"36":0.00574,"39":0.00287,"49":0.00287,"56":0.00287,"58":0.00861,"61":0.00287,"65":0.01721,"67":0.00287,"69":0.01721,"73":0.00287,"74":0.00287,"76":0.01148,"79":0.02295,"81":0.00861,"83":0.01721,"85":0.00574,"87":0.01148,"88":0.00287,"92":0.00287,"93":0.01435,"94":0.01721,"97":0.00287,"99":0.00287,"100":0.00574,"102":0.00287,"103":0.1205,"106":0.00287,"107":0.00287,"108":0.00287,"109":0.7316,"111":0.05451,"112":0.01148,"116":0.30125,"117":0.00861,"118":0.00574,"119":0.01148,"120":0.05451,"121":0.05738,"122":0.21518,"123":0.45617,"124":10.61817,"125":4.25473,"126":0.00861,_:"4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 37 38 40 41 42 43 44 45 46 47 48 50 51 52 53 54 55 57 59 60 62 63 64 66 68 70 71 72 75 77 78 80 84 86 89 90 91 95 96 98 101 104 105 110 113 114 115 127 128"},F:{"95":0.00287,"103":0.00574,"107":0.06599,"108":0.00861,"109":1.26523,"110":0.04304,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 60 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 96 97 98 99 100 101 102 104 105 106 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"16":0.00287,"17":0.00287,"18":0.00861,"92":0.01721,"100":0.00861,"109":0.03443,"110":0.00287,"114":0.00861,"115":0.00287,"116":0.00861,"117":0.00574,"118":0.00574,"120":0.01721,"121":0.01435,"122":0.02295,"123":0.08894,"124":2.23782,"125":1.13899,_:"12 13 14 15 79 80 81 83 84 85 86 87 88 89 90 91 93 94 95 96 97 98 99 101 102 103 104 105 106 107 108 111 112 113 119"},E:{"11":0.00287,"13":0.01721,"14":0.00287,_:"0 4 5 6 7 8 9 10 12 15 3.1 3.2 5.1 6.1 7.1 9.1 10.1 11.1 12.1 15.2-15.3 15.5 17.6","13.1":0.00287,"14.1":0.06025,"15.1":0.00574,"15.4":0.00574,"15.6":0.1578,"16.0":0.02869,"16.1":0.02295,"16.2":0.02008,"16.3":0.02869,"16.4":0.00287,"16.5":0.03156,"16.6":0.06599,"17.0":0.00287,"17.1":0.00861,"17.2":0.08033,"17.3":0.00574,"17.4":0.47625,"17.5":0.06312},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.00284,"5.0-5.1":0.00284,"6.0-6.1":0.00709,"7.0-7.1":0.00993,"8.1-8.4":0.00284,"9.0-9.2":0.00709,"9.3":0.03263,"10.0-10.2":0.00568,"10.3":0.05108,"11.0-11.2":0.0752,"11.3-11.4":0.01419,"12.0-12.1":0.00851,"12.2-12.5":0.20574,"13.0-13.1":0.00426,"13.2":0.01986,"13.3":0.00993,"13.4-13.7":0.0454,"14.0-14.4":0.07804,"14.5-14.8":0.1206,"15.0-15.1":0.05817,"15.2-15.3":0.06385,"15.4":0.07236,"15.5":0.09081,"15.6-15.8":0.81727,"16.0":0.18587,"16.1":0.38309,"16.2":0.18587,"16.3":0.32208,"16.4":0.06811,"16.5":0.13763,"16.6-16.7":1.09679,"17.0":0.11919,"17.1":0.19439,"17.2":0.2029,"17.3":0.37458,"17.4":8.50613,"17.5":0.60018,"17.6":0},P:{"4":0.12391,"20":0.14456,"21":0.10326,"22":0.16521,"23":0.30977,"24":0.75376,"25":5.18342,"5.0-5.4":0.02065,"6.2-6.4":0.01033,"7.2-7.4":0.4853,_:"8.2 9.2 10.1 12.0","11.1-11.2":0.02065,"13.0":0.03098,"14.0":0.06195,"15.0":0.01033,"16.0":0.05163,"17.0":0.06195,"18.0":0.0413,"19.0":0.0826},I:{"0":0.04972,"3":0,"4":0,"2.1":0,"2.2":0,"2.3":0,"4.1":0.00001,"4.2-4.3":0.00003,"4.4":0,"4.4.3-4.4.4":0.00011},K:{"0":0.29233,_:"10 11 12 11.1 11.5 12.1"},A:{"9":0.0306,"11":0.24482,_:"6 7 8 10 5.5"},S:{_:"2.5 3.0-3.1"},J:{_:"7 10"},N:{_:"10 11"},L:{"0":49.45349},R:{_:"0"},M:{"0":0.08556},Q:{"14.9":0.15686},O:{"0":0.61318},H:{"0":0}}; +module.exports={C:{"47":0.00294,"52":0.00294,"58":0.00294,"64":0.00294,"111":0.00294,"115":0.19117,"127":0.00882,"128":0.00294,"129":0.64114,"130":1.72049,"131":0.00882,_:"2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 48 49 50 51 53 54 55 56 57 59 60 61 62 63 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 112 113 114 116 117 118 119 120 121 122 123 124 125 126 132 133 134 135 3.5 3.6"},D:{"69":0.01176,"74":0.02353,"79":0.00882,"81":0.00588,"83":0.04412,"84":0.01176,"85":0.00294,"86":0.00294,"87":0.01176,"92":0.00294,"93":0.00588,"94":0.01765,"95":0.01471,"97":0.00294,"99":0.00294,"100":0.00294,"103":0.14705,"105":0.00588,"107":0.00294,"108":0.01176,"109":0.63526,"110":0.00294,"111":0.05294,"114":0.00294,"116":0.01176,"118":0.00588,"119":0.00882,"120":0.01471,"121":0.03529,"122":0.07353,"123":0.02647,"124":0.04706,"125":0.02941,"126":0.10882,"127":0.55585,"128":10.5729,"129":3.42332,"130":0.01765,_:"4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 70 71 72 73 75 76 77 78 80 88 89 90 91 96 98 101 102 104 106 112 113 115 117 131 132 133"},F:{"83":0.00294,"84":0.01176,"88":0.00294,"95":0.00882,"109":0.05882,"111":0.00882,"112":0.62055,"113":0.39409,"114":0.02059,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 60 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 85 86 87 89 90 91 92 93 94 96 97 98 99 100 101 102 103 104 105 106 107 108 110 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"15":0.04706,"16":0.01471,"17":0.00294,"84":0.00294,"92":0.01176,"93":0.00294,"99":0.00294,"100":0.00294,"101":0.00294,"103":0.00294,"109":0.02941,"114":0.00294,"119":0.00588,"120":0.01765,"123":0.00294,"124":0.01176,"125":0.07353,"126":0.05588,"127":0.29704,"128":3.54979,"129":0.8823,_:"12 13 14 18 79 80 81 83 85 86 87 88 89 90 91 94 95 96 97 98 102 104 105 106 107 108 110 111 112 113 115 116 117 118 121 122 130"},E:{_:"0 4 5 6 7 8 9 10 11 12 13 14 15 3.1 3.2 5.1 6.1 7.1 9.1 10.1 11.1 15.2-15.3 17.1 17.2 17.3","12.1":0.00294,"13.1":0.00588,"14.1":0.08235,"15.1":0.00588,"15.4":0.00294,"15.5":0.04117,"15.6":0.17352,"16.0":0.06764,"16.1":0.03529,"16.2":0.00294,"16.3":0.00294,"16.4":0.03529,"16.5":0.00294,"16.6":0.16176,"17.0":0.00588,"17.4":0.02059,"17.5":0.05588,"17.6":1.24993,"18.0":0.1294,"18.1":0.00588},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.00217,"5.0-5.1":0.00108,"6.0-6.1":0.0065,"7.0-7.1":0.00758,"8.1-8.4":0,"9.0-9.2":0.0065,"9.3":0.01841,"10.0-10.2":0.00542,"10.3":0.03141,"11.0-11.2":0.11588,"11.3-11.4":0.00866,"12.0-12.1":0.00542,"12.2-12.5":0.13104,"13.0-13.1":0.00217,"13.2":0.04115,"13.3":0.00542,"13.4-13.7":0.02166,"14.0-14.4":0.04982,"14.5-14.8":0.06606,"15.0-15.1":0.03791,"15.2-15.3":0.03682,"15.4":0.04224,"15.5":0.05198,"15.6-15.8":0.51443,"16.0":0.10397,"16.1":0.20577,"16.2":0.10289,"16.3":0.17328,"16.4":0.03682,"16.5":0.07256,"16.6-16.7":0.61948,"17.0":0.05198,"17.1":0.08231,"17.2":0.07473,"17.3":0.10722,"17.4":0.2296,"17.5":1.10358,"17.6-17.7":5.87313,"18.0":0.74077,"18.1":0.03357},P:{"4":0.09367,"20":0.04163,"21":0.08327,"22":0.13531,"23":0.07286,"24":0.17694,"25":0.40592,"26":4.17373,"5.0-5.4":0.01041,"6.2-6.4":0.01041,"7.2-7.4":0.27062,_:"8.2 9.2 10.1 11.1-11.2 12.0 14.0 15.0","13.0":0.05204,"16.0":0.03122,"17.0":0.02082,"18.0":0.01041,"19.0":0.06245},I:{"0":0.01408,"3":0,"4":0,"2.1":0,"2.2":0,"2.3":0,"4.1":0,"4.2-4.3":0.00001,"4.4":0,"4.4.3-4.4.4":0.00002},K:{"0":0.81896,_:"10 11 12 11.1 11.5 12.1"},A:{"11":0.15293,_:"6 7 8 9 10 5.5"},N:{_:"10 11"},S:{_:"2.5 3.0-3.1"},J:{_:"7 10"},O:{"0":0.44478},H:{"0":0},L:{"0":54.28269},R:{_:"0"},M:{"0":0.12708},Q:{"14.9":0.12708}}; diff --git a/node_modules/caniuse-lite/data/regions/ST.js b/node_modules/caniuse-lite/data/regions/ST.js index 2d5065f99e..199ebd43ab 100644 --- a/node_modules/caniuse-lite/data/regions/ST.js +++ b/node_modules/caniuse-lite/data/regions/ST.js @@ -1 +1 @@ -module.exports={C:{"78":0.1227,"115":1.26381,"124":0.03068,"125":4.21475,"126":3.97548,_:"2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 116 117 118 119 120 121 122 123 127 128 129 3.5 3.6"},D:{"36":0.06749,"43":0.2454,"52":0.07976,"56":0.01841,"62":0.00614,"70":0.01227,"79":0.00614,"81":0.04295,"83":0.06749,"87":0.07362,"89":0.54602,"95":0.00614,"100":0.00614,"103":0.03681,"106":0.03681,"109":1.6994,"113":0.00614,"116":0.03068,"117":0.00614,"119":0.04295,"120":0.03068,"121":0.04295,"122":0.04908,"123":0.33129,"124":10.52766,"125":2.00001,"126":0.00614,_:"4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 37 38 39 40 41 42 44 45 46 47 48 49 50 51 53 54 55 57 58 59 60 61 63 64 65 66 67 68 69 71 72 73 74 75 76 77 78 80 84 85 86 88 90 91 92 93 94 96 97 98 99 101 102 104 105 107 108 110 111 112 114 115 118 127 128"},F:{"74":0.01841,"95":0.00614,"107":0.15951,"109":0.25154,"110":0.03068,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 60 62 63 64 65 66 67 68 69 70 71 72 73 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 96 97 98 99 100 101 102 103 104 105 106 108 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"12":0.01227,"18":0.02454,"90":0.00614,"92":0.00614,"100":0.00614,"109":0.45399,"112":0.00614,"114":0.00614,"117":0.05522,"118":0.01841,"119":0.00614,"120":0.01227,"122":0.01841,"123":0.08589,"124":21.58907,"125":8.49698,_:"13 14 15 16 17 79 80 81 83 84 85 86 87 88 89 91 93 94 95 96 97 98 99 101 102 103 104 105 106 107 108 110 111 113 115 116 121"},E:{_:"0 4 5 6 7 8 9 10 11 12 13 14 15 3.1 3.2 5.1 6.1 7.1 9.1 10.1 11.1 12.1 13.1 14.1 15.1 15.2-15.3 15.4 15.5 16.0 16.1 16.2 16.3 16.4 17.2 17.6","15.6":0.03068,"16.5":0.00614,"16.6":0.01227,"17.0":0.01227,"17.1":0.00614,"17.3":0.00614,"17.4":0.05522,"17.5":0.03681},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.00019,"5.0-5.1":0.00019,"6.0-6.1":0.00047,"7.0-7.1":0.00065,"8.1-8.4":0.00019,"9.0-9.2":0.00047,"9.3":0.00214,"10.0-10.2":0.00037,"10.3":0.00335,"11.0-11.2":0.00494,"11.3-11.4":0.00093,"12.0-12.1":0.00056,"12.2-12.5":0.01351,"13.0-13.1":0.00028,"13.2":0.0013,"13.3":0.00065,"13.4-13.7":0.00298,"14.0-14.4":0.00512,"14.5-14.8":0.00792,"15.0-15.1":0.00382,"15.2-15.3":0.00419,"15.4":0.00475,"15.5":0.00596,"15.6-15.8":0.05367,"16.0":0.01221,"16.1":0.02516,"16.2":0.01221,"16.3":0.02115,"16.4":0.00447,"16.5":0.00904,"16.6-16.7":0.07202,"17.0":0.00783,"17.1":0.01276,"17.2":0.01332,"17.3":0.0246,"17.4":0.55856,"17.5":0.03941,"17.6":0},P:{"4":0.1937,"20":0.01019,"21":0.11214,"22":0.02039,"23":0.10195,"24":0.10195,"25":0.34662,_:"5.0-5.4 8.2 10.1 11.1-11.2 12.0 13.0 14.0 15.0 16.0 17.0 18.0","6.2-6.4":0.05097,"7.2-7.4":0.04078,"9.2":0.01019,"19.0":0.04078},I:{"0":0.12708,"3":0,"4":0.00001,"2.1":0,"2.2":0,"2.3":0,"4.1":0.00003,"4.2-4.3":0.00008,"4.4":0,"4.4.3-4.4.4":0.00028},K:{"0":0.54284,_:"10 11 12 11.1 11.5 12.1"},A:{_:"6 7 8 9 10 11 5.5"},S:{_:"2.5 3.0-3.1"},J:{_:"7 10"},N:{_:"10 11"},L:{"0":37.43579},R:{_:"0"},M:{"0":0.00773},Q:{_:"14.9"},O:{"0":2.21908},H:{"0":0.01}}; +module.exports={C:{"78":0.01754,"89":0.01754,"115":0.37421,"129":0.04093,"130":0.21634,_:"2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 79 80 81 82 83 84 85 86 87 88 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 116 117 118 119 120 121 122 123 124 125 126 127 128 131 132 133 134 135 3.5 3.6"},D:{"43":0.02339,"53":0.01169,"58":0.01754,"61":0.00585,"62":0.01169,"64":0.04093,"68":0.01754,"70":0.01169,"73":0.01169,"79":0.04678,"80":0.01169,"83":0.01169,"87":0.04678,"88":0.06432,"89":0.07601,"94":0.02339,"96":0.00585,"99":0.00585,"100":0.00585,"104":0.01169,"105":0.00585,"109":2.35634,"116":7.85252,"119":0.06432,"120":0.01169,"123":0.08186,"125":0.01169,"126":0.01754,"127":0.66071,"128":6.13935,"129":1.90612,_:"4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 44 45 46 47 48 49 50 51 52 54 55 56 57 59 60 63 65 66 67 69 71 72 74 75 76 77 78 81 84 85 86 90 91 92 93 95 97 98 101 102 103 106 107 108 110 111 112 113 114 115 117 118 121 122 124 130 131 132 133"},F:{"40":0.00585,"46":0.00585,"95":0.03508,"108":0.00585,"112":0.45022,"113":0.39175,"114":0.04678,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 41 42 43 44 45 47 48 49 50 51 52 53 54 55 56 57 58 60 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 96 97 98 99 100 101 102 103 104 105 106 107 109 110 111 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"12":0.01169,"92":0.05847,"107":0.00585,"109":1.3682,"117":0.00585,"119":0.02924,"124":0.00585,"126":0.08186,"127":0.31574,"128":22.80915,"129":6.53695,_:"13 14 15 16 17 18 79 80 81 83 84 85 86 87 88 89 90 91 93 94 95 96 97 98 99 100 101 102 103 104 105 106 108 110 111 112 113 114 115 116 118 120 121 122 123 125 130"},E:{_:"0 4 5 6 7 8 9 10 11 12 13 14 15 3.1 3.2 6.1 7.1 9.1 10.1 11.1 12.1 13.1 15.1 15.2-15.3 15.4 15.5 16.0 16.1 16.2 16.4 16.6 17.0 17.1 18.1","5.1":0.00585,"14.1":0.01754,"15.6":0.00585,"16.3":0.00585,"16.5":0.00585,"17.2":0.00585,"17.3":0.02339,"17.4":0.00585,"17.5":0.00585,"17.6":0.12279,"18.0":0.04093},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.00021,"5.0-5.1":0.00011,"6.0-6.1":0.00064,"7.0-7.1":0.00075,"8.1-8.4":0,"9.0-9.2":0.00064,"9.3":0.00182,"10.0-10.2":0.00054,"10.3":0.00311,"11.0-11.2":0.01146,"11.3-11.4":0.00086,"12.0-12.1":0.00054,"12.2-12.5":0.01296,"13.0-13.1":0.00021,"13.2":0.00407,"13.3":0.00054,"13.4-13.7":0.00214,"14.0-14.4":0.00493,"14.5-14.8":0.00654,"15.0-15.1":0.00375,"15.2-15.3":0.00364,"15.4":0.00418,"15.5":0.00514,"15.6-15.8":0.0509,"16.0":0.01029,"16.1":0.02036,"16.2":0.01018,"16.3":0.01714,"16.4":0.00364,"16.5":0.00718,"16.6-16.7":0.06129,"17.0":0.00514,"17.1":0.00814,"17.2":0.00739,"17.3":0.01061,"17.4":0.02272,"17.5":0.10918,"17.6-17.7":0.58106,"18.0":0.07329,"18.1":0.00332},P:{"4":0.05061,"21":0.04049,"22":0.04049,"23":0.05061,"24":0.16197,"25":0.05061,"26":0.54664,_:"20 6.2-6.4 8.2 9.2 10.1 11.1-11.2 12.0 13.0 15.0 16.0 18.0","5.0-5.4":0.07086,"7.2-7.4":0.08098,"14.0":0.02025,"17.0":0.02025,"19.0":0.14172},I:{"0":0.13668,"3":0,"4":0,"2.1":0,"2.2":0,"2.3":0,"4.1":0.00001,"4.2-4.3":0.00005,"4.4":0,"4.4.3-4.4.4":0.00022},K:{"0":0.2741,_:"10 11 12 11.1 11.5 12.1"},A:{"11":0.01754,_:"6 7 8 9 10 5.5"},N:{_:"10 11"},S:{_:"2.5 3.0-3.1"},J:{_:"7 10"},O:{"0":2.68284},H:{"0":0},L:{"0":41.57493},R:{_:"0"},M:{"0":0.04984},Q:{_:"14.9"}}; diff --git a/node_modules/caniuse-lite/data/regions/SV.js b/node_modules/caniuse-lite/data/regions/SV.js index 4a69f4e3ff..e63a08ff36 100644 --- a/node_modules/caniuse-lite/data/regions/SV.js +++ b/node_modules/caniuse-lite/data/regions/SV.js @@ -1 +1 @@ -module.exports={C:{"52":0.00427,"65":0.01708,"78":0.00854,"88":0.00427,"91":0.01281,"102":0.01281,"103":0.01281,"104":0.00427,"106":0.00427,"108":0.00427,"111":0.00854,"113":0.00427,"114":0.00854,"115":0.35006,"116":0.00427,"118":0.00427,"119":0.00427,"120":0.08538,"121":0.0555,"122":0.00854,"123":0.02561,"124":0.03415,"125":1.11848,"126":1.05444,"127":0.01281,_:"2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 53 54 55 56 57 58 59 60 61 62 63 64 66 67 68 69 70 71 72 73 74 75 76 77 79 80 81 82 83 84 85 86 87 89 90 92 93 94 95 96 97 98 99 100 101 105 107 109 110 112 117 128 129 3.5 3.6"},D:{"34":0.00427,"38":0.00427,"49":0.01708,"72":0.00427,"73":0.00427,"74":0.00427,"75":0.00854,"77":0.00427,"78":0.00854,"79":0.04269,"81":0.00427,"85":0.00427,"86":0.00854,"87":0.06404,"88":0.00854,"89":0.00427,"91":0.00427,"92":0.00854,"93":0.00854,"94":0.01281,"95":0.00427,"96":0.00427,"97":0.00427,"98":0.00854,"99":0.01708,"100":0.00427,"101":0.00427,"102":0.00427,"103":0.20491,"104":0.02135,"105":0.00854,"106":0.01708,"107":0.00854,"108":0.01281,"109":1.93386,"110":0.02135,"111":0.01281,"112":0.01281,"113":0.01281,"114":0.02561,"115":0.00854,"116":0.08111,"117":0.00854,"118":0.03415,"119":0.11526,"120":0.20491,"121":0.06404,"122":0.2476,"123":0.56778,"124":18.26278,"125":7.46221,"126":0.01281,"127":0.00427,_:"4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 35 36 37 39 40 41 42 43 44 45 46 47 48 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 76 80 83 84 90 128"},F:{"28":0.00427,"95":0.03415,"107":0.43971,"108":0.00854,"109":1.55819,"110":0.06404,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 60 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 96 97 98 99 100 101 102 103 104 105 106 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"17":0.00427,"18":0.00427,"85":0.00427,"87":0.00427,"92":0.01708,"104":0.00427,"109":0.02561,"110":0.01281,"113":0.00427,"114":0.00427,"115":0.00427,"116":0.00427,"117":0.00427,"118":0.00854,"119":0.01281,"120":0.02561,"121":0.02135,"122":0.04696,"123":0.09392,"124":3.07368,"125":1.61368,_:"12 13 14 15 16 79 80 81 83 84 86 88 89 90 91 93 94 95 96 97 98 99 100 101 102 103 105 106 107 108 111 112"},E:{"14":0.01281,_:"0 4 5 6 7 8 9 10 11 12 13 15 3.1 3.2 6.1 7.1 9.1 10.1 11.1 15.4 17.6","5.1":0.02135,"12.1":0.00427,"13.1":0.00854,"14.1":0.01708,"15.1":0.00854,"15.2-15.3":0.00427,"15.5":0.00427,"15.6":0.0683,"16.0":0.00854,"16.1":0.00854,"16.2":0.00427,"16.3":0.01281,"16.4":0.00854,"16.5":0.04696,"16.6":0.07257,"17.0":0.00854,"17.1":0.01708,"17.2":0.02988,"17.3":0.02561,"17.4":0.42263,"17.5":0.08111},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.00141,"5.0-5.1":0.00141,"6.0-6.1":0.00352,"7.0-7.1":0.00493,"8.1-8.4":0.00141,"9.0-9.2":0.00352,"9.3":0.0162,"10.0-10.2":0.00282,"10.3":0.02536,"11.0-11.2":0.03733,"11.3-11.4":0.00704,"12.0-12.1":0.00423,"12.2-12.5":0.10213,"13.0-13.1":0.00211,"13.2":0.00986,"13.3":0.00493,"13.4-13.7":0.02254,"14.0-14.4":0.03874,"14.5-14.8":0.05987,"15.0-15.1":0.02888,"15.2-15.3":0.0317,"15.4":0.03592,"15.5":0.04508,"15.6-15.8":0.4057,"16.0":0.09227,"16.1":0.19017,"16.2":0.09227,"16.3":0.15989,"16.4":0.03381,"16.5":0.06832,"16.6-16.7":0.54445,"17.0":0.05916,"17.1":0.09649,"17.2":0.10072,"17.3":0.18595,"17.4":4.22252,"17.5":0.29794,"17.6":0},P:{"4":0.05184,"20":0.01037,"21":0.09331,"22":0.05184,"23":0.10368,"24":0.197,"25":1.88703,_:"5.0-5.4 8.2 9.2 10.1 12.0 15.0","6.2-6.4":0.01037,"7.2-7.4":0.09331,"11.1-11.2":0.01037,"13.0":0.11405,"14.0":0.01037,"16.0":0.02074,"17.0":0.01037,"18.0":0.01037,"19.0":0.0311},I:{"0":0.05709,"3":0,"4":0.00001,"2.1":0,"2.2":0,"2.3":0,"4.1":0.00001,"4.2-4.3":0.00003,"4.4":0,"4.4.3-4.4.4":0.00013},K:{"0":0.34386,_:"10 11 12 11.1 11.5 12.1"},A:{"8":0.00854,"11":0.02561,_:"6 7 9 10 5.5"},S:{_:"2.5 3.0-3.1"},J:{_:"7 10"},N:{_:"10 11"},L:{"0":48.52677},R:{_:"0"},M:{"0":0.26363},Q:{_:"14.9"},O:{"0":0.10316},H:{"0":0}}; +module.exports={C:{"35":0.0042,"52":0.0084,"65":0.0042,"72":0.0042,"91":0.0042,"102":0.0042,"103":0.03782,"104":0.01261,"105":0.0084,"106":0.0042,"108":0.01681,"113":0.0084,"114":0.0042,"115":0.46642,"120":0.04622,"121":0.09244,"123":0.01681,"124":0.0042,"125":0.0084,"126":0.0084,"127":0.02101,"128":0.0042,"129":0.31935,"130":1.6724,"131":0.02101,_:"2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 53 54 55 56 57 58 59 60 61 62 63 64 66 67 68 69 70 71 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 92 93 94 95 96 97 98 99 100 101 107 109 110 111 112 116 117 118 119 122 132 133 134 135 3.5 3.6"},D:{"49":0.0084,"55":0.0042,"65":0.0042,"72":0.0042,"76":0.0042,"79":0.03362,"80":0.0042,"81":0.0042,"83":0.0042,"84":0.01261,"86":0.01261,"87":0.07143,"88":0.01261,"89":0.0042,"91":0.01681,"92":0.01261,"93":0.0042,"94":0.03782,"96":0.0042,"97":0.0042,"98":0.01261,"99":0.0084,"100":0.0042,"102":0.0084,"103":0.10085,"104":0.0042,"105":0.01681,"106":0.01681,"107":0.02101,"108":0.0084,"109":1.75223,"110":0.02941,"111":0.01681,"112":0.0084,"113":0.0042,"114":0.01681,"115":0.0042,"116":0.05463,"117":0.01261,"118":0.01681,"119":0.09665,"120":0.05463,"121":0.02521,"122":0.11345,"123":0.07143,"124":0.10505,"125":0.08404,"126":0.48323,"127":0.61769,"128":18.87959,"129":6.34922,"130":0.0042,_:"4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 50 51 52 53 54 56 57 58 59 60 61 62 63 64 66 67 68 69 70 71 73 74 75 77 78 85 90 95 101 131 132 133"},F:{"84":0.01681,"94":0.0042,"95":0.03362,"102":0.0042,"109":0.04622,"111":0.0084,"112":0.92864,"113":0.55046,"114":0.0042,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 60 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 85 86 87 88 89 90 91 92 93 96 97 98 99 100 101 103 104 105 106 107 108 110 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"18":0.0042,"85":0.0042,"86":0.0042,"92":0.02101,"100":0.0042,"109":0.04202,"110":0.01261,"112":0.0042,"114":0.0042,"115":0.0042,"118":0.0042,"119":0.0084,"120":0.02101,"121":0.01681,"122":0.0042,"123":0.0042,"124":0.02521,"125":0.02941,"126":0.10085,"127":0.15547,"128":3.71457,"129":1.40767,_:"12 13 14 15 16 17 79 80 81 83 84 87 88 89 90 91 93 94 95 96 97 98 99 101 102 103 104 105 106 107 108 111 113 116 117 130"},E:{"14":0.0042,_:"0 4 5 6 7 8 9 10 11 12 13 15 3.1 3.2 5.1 6.1 7.1 9.1 10.1 15.1 15.4 15.5","11.1":0.0042,"12.1":0.0042,"13.1":0.0084,"14.1":0.01261,"15.2-15.3":0.0042,"15.6":0.08824,"16.0":0.01261,"16.1":0.0042,"16.2":0.0042,"16.3":0.0084,"16.4":0.0042,"16.5":0.0084,"16.6":0.05042,"17.0":0.0042,"17.1":0.0084,"17.2":0.0084,"17.3":0.01261,"17.4":0.02941,"17.5":0.10925,"17.6":0.44961,"18.0":0.12186,"18.1":0.0084},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.0017,"5.0-5.1":0.00085,"6.0-6.1":0.00509,"7.0-7.1":0.00594,"8.1-8.4":0,"9.0-9.2":0.00509,"9.3":0.01442,"10.0-10.2":0.00424,"10.3":0.0246,"11.0-11.2":0.09076,"11.3-11.4":0.00679,"12.0-12.1":0.00424,"12.2-12.5":0.10264,"13.0-13.1":0.0017,"13.2":0.03223,"13.3":0.00424,"13.4-13.7":0.01696,"14.0-14.4":0.03902,"14.5-14.8":0.05174,"15.0-15.1":0.02969,"15.2-15.3":0.02884,"15.4":0.03308,"15.5":0.04072,"15.6-15.8":0.40292,"16.0":0.08143,"16.1":0.16117,"16.2":0.08058,"16.3":0.13572,"16.4":0.02884,"16.5":0.05683,"16.6-16.7":0.4852,"17.0":0.04072,"17.1":0.06447,"17.2":0.05853,"17.3":0.08398,"17.4":0.17983,"17.5":0.86436,"17.6-17.7":4.60005,"18.0":0.5802,"18.1":0.0263},P:{"4":0.04126,"20":0.01032,"21":0.09284,"22":0.07221,"23":0.05158,"24":0.05158,"25":0.19599,"26":1.80513,"5.0-5.4":0.01032,"6.2-6.4":0.01032,"7.2-7.4":0.09284,_:"8.2 9.2 10.1 12.0 15.0","11.1-11.2":0.01032,"13.0":0.10315,"14.0":0.01032,"16.0":0.01032,"17.0":0.01032,"18.0":0.01032,"19.0":0.02063},I:{"0":0.03469,"3":0,"4":0,"2.1":0,"2.2":0,"2.3":0,"4.1":0,"4.2-4.3":0.00001,"4.4":0,"4.4.3-4.4.4":0.00006},K:{"0":0.2683,_:"10 11 12 11.1 11.5 12.1"},A:{"11":0.0084,_:"6 7 8 9 10 5.5"},N:{_:"10 11"},S:{"2.5":0.0058,_:"3.0-3.1"},J:{_:"7 10"},O:{"0":0.08117},H:{"0":0.01},L:{"0":47.03191},R:{_:"0"},M:{"0":0.32469},Q:{_:"14.9"}}; diff --git a/node_modules/caniuse-lite/data/regions/SY.js b/node_modules/caniuse-lite/data/regions/SY.js index 37b917a91c..20e6a2637c 100644 --- a/node_modules/caniuse-lite/data/regions/SY.js +++ b/node_modules/caniuse-lite/data/regions/SY.js @@ -1 +1 @@ -module.exports={C:{"29":0.00061,"31":0.00121,"34":0.00061,"36":0.00061,"39":0.00484,"41":0.00061,"43":0.00121,"44":0.00182,"47":0.00061,"48":0.00121,"49":0.00061,"52":0.00484,"56":0.00061,"58":0.00061,"61":0.00061,"63":0.00121,"72":0.00303,"74":0.00061,"76":0.00061,"78":0.00908,"81":0.00061,"95":0.00061,"98":0.00061,"101":0.00484,"102":0.00061,"103":0.00061,"106":0.00061,"107":0.00242,"110":0.00061,"111":0.00121,"112":0.00121,"113":0.00303,"114":0.00061,"115":0.12221,"116":0.00061,"118":0.00061,"119":0.00061,"120":0.00182,"121":0.00121,"122":0.00363,"123":0.00484,"124":0.00605,"125":0.1325,"126":0.07442,"127":0.00121,_:"2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 30 32 33 35 37 38 40 42 45 46 50 51 53 54 55 57 59 60 62 64 65 66 67 68 69 70 71 73 75 77 79 80 82 83 84 85 86 87 88 89 90 91 92 93 94 96 97 99 100 104 105 108 109 117 128 129 3.5 3.6"},D:{"11":0.00242,"26":0.00061,"27":0.00061,"28":0.00061,"31":0.00242,"32":0.00061,"33":0.00121,"34":0.00061,"36":0.00121,"37":0.00061,"38":0.00968,"39":0.00061,"40":0.00121,"43":0.00545,"44":0.00424,"45":0.00061,"46":0.00061,"47":0.00182,"49":0.00242,"50":0.00242,"52":0.00061,"53":0.00061,"54":0.00061,"55":0.00182,"56":0.00484,"57":0.00061,"58":0.03146,"59":0.00182,"60":0.00061,"61":0.00121,"62":0.00061,"63":0.00605,"64":0.00424,"65":0.00061,"66":0.00726,"67":0.00121,"68":0.01694,"69":0.00363,"70":0.01634,"71":0.00242,"72":0.00242,"73":0.00787,"74":0.00182,"75":0.00182,"76":0.00182,"77":0.00061,"78":0.00666,"79":0.02118,"80":0.00424,"81":0.01089,"83":0.02723,"84":0.00061,"85":0.00242,"86":0.00424,"87":0.0115,"88":0.01392,"89":0.00484,"90":0.00424,"91":0.02481,"92":0.00484,"93":0.00303,"94":0.0121,"95":0.00242,"96":0.00666,"97":0.00242,"98":0.01876,"99":0.00605,"100":0.00303,"101":0.00121,"102":0.01089,"103":0.01331,"104":0.00484,"105":0.01452,"106":0.00484,"107":0.00484,"108":0.00484,"109":0.59109,"110":0.00363,"111":0.01331,"112":0.00666,"113":0.00182,"114":0.02481,"115":0.00666,"116":0.0115,"117":0.01029,"118":0.00787,"119":0.01634,"120":0.03449,"121":0.10588,"122":0.05627,"123":0.10225,"124":1.27534,"125":0.53785,"126":0.00121,_:"4 5 6 7 8 9 10 12 13 14 15 16 17 18 19 20 21 22 23 24 25 29 30 35 41 42 48 51 127 128"},F:{"79":0.00424,"81":0.00061,"83":0.00061,"84":0.00061,"85":0.00121,"86":0.00061,"95":0.02239,"105":0.00061,"107":0.00605,"108":0.00182,"109":0.08591,"110":0.00666,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 60 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 80 82 87 88 89 90 91 92 93 94 96 97 98 99 100 101 102 103 104 106 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"12":0.00061,"14":0.00061,"15":0.00121,"16":0.00061,"17":0.00182,"18":0.00787,"84":0.00061,"90":0.00061,"92":0.00968,"95":0.00061,"100":0.00242,"101":0.00061,"107":0.00182,"108":0.00061,"109":0.00605,"110":0.00061,"112":0.00061,"113":0.00061,"114":0.00061,"115":0.00061,"116":0.00061,"117":0.00061,"118":0.00061,"119":0.00121,"120":0.01573,"121":0.00242,"122":0.00484,"123":0.00666,"124":0.22446,"125":0.13915,_:"13 79 80 81 83 85 86 87 88 89 91 93 94 96 97 98 99 102 103 104 105 106 111"},E:{"14":0.00121,_:"0 4 5 6 7 8 9 10 11 12 13 15 3.1 3.2 6.1 7.1 9.1 10.1 11.1 12.1 16.0 17.6","5.1":0.09559,"13.1":0.00061,"14.1":0.00545,"15.1":0.00061,"15.2-15.3":0.00121,"15.4":0.00061,"15.5":0.00182,"15.6":0.03146,"16.1":0.00121,"16.2":0.00121,"16.3":0.00061,"16.4":0.00303,"16.5":0.00061,"16.6":0.00666,"17.0":0.00242,"17.1":0.00121,"17.2":0.00242,"17.3":0.00666,"17.4":0.00605,"17.5":0.00061},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.00044,"5.0-5.1":0.00044,"6.0-6.1":0.00111,"7.0-7.1":0.00155,"8.1-8.4":0.00044,"9.0-9.2":0.00111,"9.3":0.0051,"10.0-10.2":0.00089,"10.3":0.00798,"11.0-11.2":0.01175,"11.3-11.4":0.00222,"12.0-12.1":0.00133,"12.2-12.5":0.03215,"13.0-13.1":0.00067,"13.2":0.0031,"13.3":0.00155,"13.4-13.7":0.00709,"14.0-14.4":0.01219,"14.5-14.8":0.01884,"15.0-15.1":0.00909,"15.2-15.3":0.00998,"15.4":0.01131,"15.5":0.01419,"15.6-15.8":0.1277,"16.0":0.02904,"16.1":0.05986,"16.2":0.02904,"16.3":0.05033,"16.4":0.01064,"16.5":0.0215,"16.6-16.7":0.17137,"17.0":0.01862,"17.1":0.03037,"17.2":0.0317,"17.3":0.05853,"17.4":1.32908,"17.5":0.09378,"17.6":0},P:{"4":3.70198,"20":0.13113,"21":0.3127,"22":0.34296,"23":0.64558,"24":0.48418,"25":0.88767,"5.0-5.4":0.14122,"6.2-6.4":0.61532,"7.2-7.4":0.68593,"8.2":0.09078,"9.2":0.29253,"10.1":0.09078,"11.1-11.2":0.17148,"12.0":0.07061,"13.0":0.29253,"14.0":0.36314,"15.0":0.10087,"16.0":0.30261,"17.0":0.36314,"18.0":0.10087,"19.0":0.20174},I:{"0":0.23393,"3":0,"4":0.00002,"2.1":0,"2.2":0,"2.3":0,"4.1":0.00005,"4.2-4.3":0.00014,"4.4":0,"4.4.3-4.4.4":0.00052},K:{"0":1.63304,_:"10 11 12 11.1 11.5 12.1"},A:{"7":0.00061,"9":0.00061,"11":0.01634,_:"6 8 10 5.5"},S:{"2.5":0.00939,_:"3.0-3.1"},J:{_:"7 10"},N:{_:"10 11"},L:{"0":79.52524},R:{_:"0"},M:{"0":0.07515},Q:{_:"14.9"},O:{"0":1.17425},H:{"0":0.18}}; +module.exports={C:{"43":0.00182,"47":0.00272,"48":0.00454,"49":0.00182,"50":0.00091,"52":0.00999,"56":0.00091,"59":0.00182,"65":0.00091,"66":0.00091,"72":0.00182,"77":0.00091,"78":0.00272,"80":0.00091,"83":0.00091,"84":0.00454,"85":0.00091,"86":0.00091,"88":0.00272,"92":0.00091,"94":0.00091,"95":0.00091,"99":0.00091,"100":0.00091,"101":0.00091,"102":0.00091,"103":0.00091,"104":0.00091,"105":0.00091,"106":0.00182,"107":0.00091,"108":0.00182,"111":0.00091,"112":0.00091,"114":0.00182,"115":0.26968,"118":0.00182,"119":0.00272,"120":0.00182,"121":0.0118,"122":0.00272,"123":0.00182,"124":0.00091,"125":0.00182,"126":0.00363,"127":0.01998,"128":0.00363,"129":0.08263,"130":0.33414,"131":0.00272,_:"2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 44 45 46 51 53 54 55 57 58 60 61 62 63 64 67 68 69 70 71 73 74 75 76 79 81 82 87 89 90 91 93 96 97 98 109 110 113 116 117 132 133 134 135 3.5 3.6"},D:{"11":0.00182,"18":0.00091,"23":0.00091,"25":0.00091,"30":0.00091,"31":0.00182,"33":0.00091,"34":0.00272,"37":0.00091,"38":0.01544,"39":0.00091,"40":0.00272,"43":0.00272,"44":0.00182,"47":0.00272,"49":0.00272,"50":0.00272,"53":0.00091,"55":0.00091,"56":0.00817,"58":0.03269,"59":0.00182,"60":0.00182,"61":0.00091,"62":0.00182,"63":0.00454,"64":0.00091,"65":0.00091,"66":0.00272,"67":0.00091,"68":0.0109,"69":0.00636,"70":0.00999,"71":0.00363,"72":0.00817,"73":0.00454,"74":0.00454,"75":0.00363,"76":0.00182,"77":0.00182,"78":0.00908,"79":0.0336,"80":0.02179,"81":0.00545,"83":0.0345,"84":0.00091,"85":0.00272,"86":0.00363,"87":0.01725,"88":0.00726,"89":0.00545,"90":0.00363,"91":0.00636,"92":0.00726,"93":0.00272,"94":0.02724,"95":0.00454,"96":0.00454,"97":0.00272,"98":0.0454,"99":0.0118,"100":0.00908,"101":0.00908,"102":0.01634,"103":0.01544,"104":0.00726,"105":0.01453,"106":0.03723,"107":0.02633,"108":0.0109,"109":1.09142,"110":0.00363,"111":0.01634,"112":0.00999,"113":0.00363,"114":0.0227,"115":0.00545,"116":0.02088,"117":0.00817,"118":0.01544,"119":0.01544,"120":0.05266,"121":0.04358,"122":0.03178,"123":0.0563,"124":0.04177,"125":0.03178,"126":0.08354,"127":0.21974,"128":2.69585,"129":0.93161,"130":0.00182,"131":0.00091,_:"4 5 6 7 8 9 10 12 13 14 15 16 17 19 20 21 22 24 26 27 28 29 32 35 36 41 42 45 46 48 51 52 54 57 132 133"},F:{"33":0.00091,"46":0.00091,"73":0.00091,"79":0.00636,"83":0.00272,"84":0.00817,"85":0.00182,"86":0.00091,"89":0.00545,"94":0.00091,"95":0.04722,"101":0.00272,"105":0.00091,"109":0.00182,"110":0.00091,"111":0.00182,"112":0.12712,"113":0.12349,"114":0.00363,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 34 35 36 37 38 39 40 41 42 43 44 45 47 48 49 50 51 52 53 54 55 56 57 58 60 62 63 64 65 66 67 68 69 70 71 72 74 75 76 77 78 80 81 82 87 88 90 91 92 93 96 97 98 99 100 102 103 104 106 107 108 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"12":0.00091,"14":0.00091,"15":0.00272,"16":0.00182,"17":0.00182,"18":0.00454,"83":0.00091,"84":0.00182,"89":0.00091,"90":0.00182,"92":0.01907,"95":0.00091,"100":0.00636,"107":0.00091,"109":0.00908,"110":0.00091,"111":0.00091,"113":0.00091,"114":0.00363,"115":0.00182,"117":0.00091,"119":0.00182,"120":0.00182,"121":0.00182,"122":0.00454,"123":0.00091,"124":0.00363,"125":0.00363,"126":0.01362,"127":0.0227,"128":0.44583,"129":0.18523,_:"13 79 80 81 85 86 87 88 91 93 94 96 97 98 99 101 102 103 104 105 106 108 112 116 118 130"},E:{"11":0.00091,"13":0.00091,"14":0.00272,"15":0.00726,_:"0 4 5 6 7 8 9 10 12 3.1 3.2 6.1 7.1 9.1 10.1 12.1 15.2-15.3","5.1":0.02906,"11.1":0.00091,"13.1":0.00726,"14.1":0.00636,"15.1":0.00182,"15.4":0.00091,"15.5":0.00182,"15.6":0.01816,"16.0":0.00091,"16.1":0.00091,"16.2":0.00091,"16.3":0.00363,"16.4":0.00636,"16.5":0.00091,"16.6":0.00908,"17.0":0.00091,"17.1":0.00091,"17.2":0.00182,"17.3":0.00272,"17.4":0.00363,"17.5":0.0118,"17.6":0.02179,"18.0":0.00817,"18.1":0.00091},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.00046,"5.0-5.1":0.00023,"6.0-6.1":0.00139,"7.0-7.1":0.00162,"8.1-8.4":0,"9.0-9.2":0.00139,"9.3":0.00393,"10.0-10.2":0.00115,"10.3":0.0067,"11.0-11.2":0.02471,"11.3-11.4":0.00185,"12.0-12.1":0.00115,"12.2-12.5":0.02794,"13.0-13.1":0.00046,"13.2":0.00878,"13.3":0.00115,"13.4-13.7":0.00462,"14.0-14.4":0.01062,"14.5-14.8":0.01409,"15.0-15.1":0.00808,"15.2-15.3":0.00785,"15.4":0.00901,"15.5":0.01108,"15.6-15.8":0.10969,"16.0":0.02217,"16.1":0.04388,"16.2":0.02194,"16.3":0.03695,"16.4":0.00785,"16.5":0.01547,"16.6-16.7":0.1321,"17.0":0.01108,"17.1":0.01755,"17.2":0.01593,"17.3":0.02286,"17.4":0.04896,"17.5":0.23532,"17.6-17.7":1.25237,"18.0":0.15796,"18.1":0.00716},P:{"4":1.70149,"20":0.07048,"21":0.20136,"22":0.30204,"23":0.31211,"24":0.31211,"25":0.57387,"26":0.89605,"5.0-5.4":0.10068,"6.2-6.4":0.5034,"7.2-7.4":0.54367,"8.2":0.11075,"9.2":0.17116,"10.1":0.09061,"11.1-11.2":0.11075,"12.0":0.07048,"13.0":0.17116,"14.0":0.2215,"15.0":0.05034,"16.0":0.14095,"17.0":0.29197,"18.0":0.08054,"19.0":0.09061},I:{"0":0.09974,"3":0,"4":0,"2.1":0,"2.2":0,"2.3":0,"4.1":0.00001,"4.2-4.3":0.00004,"4.4":0,"4.4.3-4.4.4":0.00016},K:{"0":1.322,_:"10 11 12 11.1 11.5 12.1"},A:{"7":0.00091,"9":0.00091,"11":0.01998,_:"6 8 10 5.5"},N:{_:"10 11"},S:{_:"2.5 3.0-3.1"},J:{_:"7 10"},O:{"0":1.2547},H:{"0":0.16},L:{"0":79.37185},R:{_:"0"},M:{"0":0.08183},Q:{_:"14.9"}}; diff --git a/node_modules/caniuse-lite/data/regions/SZ.js b/node_modules/caniuse-lite/data/regions/SZ.js index 8e6347ca13..45c727d2a6 100644 --- a/node_modules/caniuse-lite/data/regions/SZ.js +++ b/node_modules/caniuse-lite/data/regions/SZ.js @@ -1 +1 @@ -module.exports={C:{"34":0.00889,"48":0.00178,"52":0.01067,"56":0.00178,"60":0.00178,"66":0.00178,"78":0.00356,"111":0.00356,"113":0.00178,"115":0.08357,"120":0.00178,"122":0.00356,"123":0.00178,"124":0.00711,"125":0.12802,"126":0.11557,_:"2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 35 36 37 38 39 40 41 42 43 44 45 46 47 49 50 51 53 54 55 57 58 59 61 62 63 64 65 67 68 69 70 71 72 73 74 75 76 77 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 112 114 116 117 118 119 121 127 128 129 3.5 3.6"},D:{"11":0.00178,"22":0.00178,"38":0.00533,"40":0.00533,"56":0.00178,"57":0.00178,"64":0.00356,"70":0.02311,"71":0.00178,"73":0.00178,"78":0.00356,"79":0.00178,"81":0.00356,"85":0.00178,"86":0.02845,"87":0.00889,"88":0.01245,"90":0.00533,"91":0.00533,"93":0.00178,"94":0.00356,"95":0.00889,"98":0.00533,"99":0.01067,"100":0.00533,"102":0.01067,"103":0.02311,"105":0.00533,"106":0.00178,"107":0.00356,"108":0.00178,"109":0.51384,"111":0.00533,"112":0.00356,"113":0.00356,"114":0.01422,"115":0.00356,"116":0.02134,"117":0.01245,"118":0.01422,"119":0.04623,"120":0.04801,"121":0.01067,"122":0.09423,"123":0.16002,"124":3.89382,"125":1.80467,"126":0.00356,_:"4 5 6 7 8 9 10 12 13 14 15 16 17 18 19 20 21 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 39 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 58 59 60 61 62 63 65 66 67 68 69 72 74 75 76 77 80 83 84 89 92 96 97 101 104 110 127 128"},F:{"40":0.00356,"50":0.00178,"62":0.00178,"63":0.00356,"75":0.00356,"76":0.00533,"79":0.00711,"80":0.00178,"82":0.00533,"95":0.03378,"102":0.00533,"107":0.01422,"108":0.01422,"109":0.39827,"110":0.02667,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 41 42 43 44 45 46 47 48 49 51 52 53 54 55 56 57 58 60 64 65 66 67 68 69 70 71 72 73 74 77 78 81 83 84 85 86 87 88 89 90 91 92 93 94 96 97 98 99 100 101 103 104 105 106 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"12":0.03556,"14":0.00178,"15":0.00711,"17":0.00178,"18":0.07468,"80":0.00178,"84":0.02134,"89":0.00711,"90":0.01067,"92":0.032,"100":0.00356,"105":0.00178,"108":0.00178,"109":0.03023,"110":0.00711,"112":0.00178,"114":0.00178,"115":0.00533,"116":0.00533,"117":0.00178,"118":0.00178,"119":0.00711,"120":0.01067,"121":0.01778,"122":0.01778,"123":0.08357,"124":1.55575,"125":0.86944,_:"13 16 79 81 83 85 86 87 88 91 93 94 95 96 97 98 99 101 102 103 104 106 107 111 113"},E:{"14":0.01422,_:"0 4 5 6 7 8 9 10 11 12 13 15 3.1 3.2 5.1 6.1 7.1 9.1 10.1 11.1 16.0 16.2 16.5 17.1 17.6","12.1":0.00356,"13.1":0.00356,"14.1":0.04978,"15.1":0.00178,"15.2-15.3":0.00178,"15.4":0.00533,"15.5":0.03023,"15.6":0.01067,"16.1":0.00533,"16.3":0.01422,"16.4":0.00178,"16.6":0.016,"17.0":0.032,"17.2":0.00178,"17.3":0.00533,"17.4":0.09601,"17.5":0.00889},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.00068,"5.0-5.1":0.00068,"6.0-6.1":0.00169,"7.0-7.1":0.00237,"8.1-8.4":0.00068,"9.0-9.2":0.00169,"9.3":0.00777,"10.0-10.2":0.00135,"10.3":0.01217,"11.0-11.2":0.01791,"11.3-11.4":0.00338,"12.0-12.1":0.00203,"12.2-12.5":0.049,"13.0-13.1":0.00101,"13.2":0.00473,"13.3":0.00237,"13.4-13.7":0.01081,"14.0-14.4":0.01859,"14.5-14.8":0.02872,"15.0-15.1":0.01385,"15.2-15.3":0.01521,"15.4":0.01723,"15.5":0.02163,"15.6-15.8":0.19464,"16.0":0.04427,"16.1":0.09124,"16.2":0.04427,"16.3":0.07671,"16.4":0.01622,"16.5":0.03278,"16.6-16.7":0.26122,"17.0":0.02839,"17.1":0.0463,"17.2":0.04832,"17.3":0.08921,"17.4":2.02586,"17.5":0.14294,"17.6":0},P:{"4":0.2452,"20":0.01022,"21":0.07152,"22":0.10217,"23":0.65386,"24":0.35758,"25":0.77646,_:"5.0-5.4 6.2-6.4 8.2 10.1","7.2-7.4":1.33837,"9.2":0.01022,"11.1-11.2":0.01022,"12.0":0.01022,"13.0":0.01022,"14.0":0.02043,"15.0":0.01022,"16.0":0.03065,"17.0":0.02043,"18.0":0.01022,"19.0":0.10217},I:{"0":0.04095,"3":0,"4":0,"2.1":0,"2.2":0,"2.3":0,"4.1":0.00001,"4.2-4.3":0.00002,"4.4":0,"4.4.3-4.4.4":0.00009},K:{"0":16.45729,_:"10 11 12 11.1 11.5 12.1"},A:{_:"6 7 8 9 10 11 5.5"},S:{"2.5":0.15622,_:"3.0-3.1"},J:{_:"7 10"},N:{_:"10 11"},L:{"0":62.74689},R:{_:"0"},M:{"0":0.09044},Q:{_:"14.9"},O:{"0":0.34532},H:{"0":1.59}}; +module.exports={C:{"34":0.01366,"43":0.00195,"48":0.0039,"52":0.00585,"60":0.0039,"73":0.00195,"88":0.00195,"106":0.00195,"108":0.00195,"111":0.0078,"112":0.0039,"115":0.17949,"122":0.0039,"123":0.01171,"125":0.00195,"127":0.0039,"128":0.0078,"129":0.12486,"130":0.46824,"131":0.00195,_:"2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 35 36 37 38 39 40 41 42 44 45 46 47 49 50 51 53 54 55 56 57 58 59 61 62 63 64 65 66 67 68 69 70 71 72 74 75 76 77 78 79 80 81 82 83 84 85 86 87 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 107 109 110 113 114 116 117 118 119 120 121 124 126 132 133 134 135 3.5 3.6"},D:{"35":0.00195,"38":0.00195,"49":0.00195,"51":0.00195,"57":0.00195,"70":0.01171,"71":0.0039,"74":0.00585,"79":0.0078,"81":0.0078,"83":0.00195,"84":0.00195,"86":0.00195,"87":0.00585,"88":0.04097,"92":0.0078,"93":0.00195,"94":0.01366,"95":0.01366,"96":0.00195,"97":0.00195,"98":0.0039,"99":0.01561,"100":0.0039,"102":0.00195,"103":0.01366,"104":0.00195,"109":0.8721,"111":0.0039,"112":0.00195,"115":0.0039,"116":0.02341,"118":0.01171,"119":0.01366,"120":0.0078,"121":0.01561,"122":0.03122,"123":0.01561,"124":0.02341,"125":0.05658,"126":0.07024,"127":0.29265,"128":5.19551,"129":1.70908,_:"4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 36 37 39 40 41 42 43 44 45 46 47 48 50 52 53 54 55 56 58 59 60 61 62 63 64 65 66 67 68 69 72 73 75 76 77 78 80 85 89 90 91 101 105 106 107 108 110 113 114 117 130 131 132 133"},F:{"36":0.0039,"40":0.00585,"57":0.02146,"62":0.00195,"63":0.00195,"73":0.01171,"79":0.01366,"83":0.04682,"84":0.04487,"86":0.00585,"95":0.01561,"108":0.00195,"109":0.00585,"110":0.00195,"111":0.01951,"112":0.38435,"113":0.14633,"114":0.01756,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 37 38 39 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 58 60 64 65 66 67 68 69 70 71 72 74 75 76 77 78 80 81 82 85 87 88 89 90 91 92 93 94 96 97 98 99 100 101 102 103 104 105 106 107 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"12":0.00976,"13":0.00585,"15":0.01756,"16":0.00195,"18":0.01951,"84":0.0039,"85":0.0039,"86":0.0039,"89":0.0078,"90":0.00195,"92":0.02536,"100":0.04682,"109":0.01561,"111":0.0078,"112":0.00195,"114":0.00585,"117":0.00195,"118":0.0878,"119":0.00195,"120":0.01171,"121":0.00585,"122":0.01171,"123":0.0039,"124":0.00976,"125":0.0078,"126":0.03512,"127":0.07414,"128":2.5441,"129":0.62042,_:"14 17 79 80 81 83 87 88 91 93 94 95 96 97 98 99 101 102 103 104 105 106 107 108 110 113 115 116 130"},E:{_:"0 4 5 6 7 8 9 10 11 12 13 14 15 3.1 3.2 5.1 6.1 7.1 9.1 11.1 15.1 15.4 15.5 16.5 18.1","10.1":0.0039,"12.1":0.00195,"13.1":0.0039,"14.1":0.00585,"15.2-15.3":0.0039,"15.6":0.00976,"16.0":0.00195,"16.1":0.02731,"16.2":0.00195,"16.3":0.0078,"16.4":0.05853,"16.6":0.01171,"17.0":0.00585,"17.1":0.01171,"17.2":0.00195,"17.3":0.00585,"17.4":0.0078,"17.5":0.05073,"17.6":0.1034,"18.0":0.03512},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.00059,"5.0-5.1":0.00029,"6.0-6.1":0.00176,"7.0-7.1":0.00206,"8.1-8.4":0,"9.0-9.2":0.00176,"9.3":0.00499,"10.0-10.2":0.00147,"10.3":0.00852,"11.0-11.2":0.03144,"11.3-11.4":0.00235,"12.0-12.1":0.00147,"12.2-12.5":0.03555,"13.0-13.1":0.00059,"13.2":0.01116,"13.3":0.00147,"13.4-13.7":0.00588,"14.0-14.4":0.01351,"14.5-14.8":0.01792,"15.0-15.1":0.01028,"15.2-15.3":0.00999,"15.4":0.01146,"15.5":0.0141,"15.6-15.8":0.13955,"16.0":0.0282,"16.1":0.05582,"16.2":0.02791,"16.3":0.04701,"16.4":0.00999,"16.5":0.01968,"16.6-16.7":0.16805,"17.0":0.0141,"17.1":0.02233,"17.2":0.02027,"17.3":0.02909,"17.4":0.06228,"17.5":0.29937,"17.6-17.7":1.59322,"18.0":0.20095,"18.1":0.00911},P:{"4":0.18306,"20":0.01017,"21":0.04068,"22":0.07119,"23":0.5085,"24":0.23391,"25":0.38646,"26":1.36278,_:"5.0-5.4 6.2-6.4 8.2 9.2 10.1 12.0 13.0 18.0","7.2-7.4":1.54584,"11.1-11.2":0.03051,"14.0":0.01017,"15.0":0.01017,"16.0":0.01017,"17.0":0.03051,"19.0":0.08136},I:{"0":0.04816,"3":0,"4":0,"2.1":0,"2.2":0,"2.3":0,"4.1":0,"4.2-4.3":0.00002,"4.4":0,"4.4.3-4.4.4":0.00008},K:{"0":13.32404,_:"10 11 12 11.1 11.5 12.1"},A:{"10":0.00195,"11":0.00585,_:"6 7 8 9 5.5"},N:{_:"10 11"},S:{"2.5":0.05634,_:"3.0-3.1"},J:{_:"7 10"},O:{"0":0.57148},H:{"0":0.81},L:{"0":63.0178},R:{_:"0"},M:{"0":0.24147},Q:{_:"14.9"}}; diff --git a/node_modules/caniuse-lite/data/regions/TC.js b/node_modules/caniuse-lite/data/regions/TC.js index f42b654008..738453b6ec 100644 --- a/node_modules/caniuse-lite/data/regions/TC.js +++ b/node_modules/caniuse-lite/data/regions/TC.js @@ -1 +1 @@ -module.exports={C:{"92":0.00429,"97":0.00429,"111":0.00429,"115":3.45774,"124":0.01287,"125":0.36465,"126":0.17589,_:"2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 93 94 95 96 98 99 100 101 102 103 104 105 106 107 108 109 110 112 113 114 116 117 118 119 120 121 122 123 127 128 129 3.5 3.6"},D:{"65":0.00858,"76":0.02574,"79":0.05577,"80":0.01287,"81":0.00429,"83":0.00858,"87":0.00429,"89":0.00429,"90":0.02145,"93":0.00429,"94":0.00858,"101":0.00429,"102":0.00429,"103":0.06864,"104":0.00429,"105":0.1287,"109":0.46332,"110":0.00429,"112":0.01287,"113":0.08151,"114":0.00858,"115":0.00858,"116":0.03861,"117":0.00429,"118":0.00858,"119":0.02574,"120":0.06864,"121":0.05148,"122":0.28743,"123":1.31274,"124":12.50106,"125":3.35049,"126":0.03003,_:"4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 66 67 68 69 70 71 72 73 74 75 77 78 84 85 86 88 91 92 95 96 97 98 99 100 106 107 108 111 127 128"},F:{"95":0.01716,"107":0.02574,"108":0.00858,"109":0.45903,"110":0.00858,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 60 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 96 97 98 99 100 101 102 103 104 105 106 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"18":0.01716,"92":0.00429,"109":0.02145,"112":0.02145,"114":0.02574,"117":0.00429,"120":0.20592,"121":0.03432,"122":0.01716,"123":0.97383,"124":8.44701,"125":3.45345,_:"12 13 14 15 16 17 79 80 81 83 84 85 86 87 88 89 90 91 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 110 111 113 115 116 118 119"},E:{"14":0.00858,_:"0 4 5 6 7 8 9 10 11 12 13 15 3.1 3.2 5.1 6.1 7.1 9.1 10.1 11.1 12.1 15.1 17.6","13.1":0.08151,"14.1":0.20163,"15.2-15.3":0.15873,"15.4":0.06435,"15.5":0.06006,"15.6":0.21879,"16.0":0.14586,"16.1":0.18876,"16.2":0.09009,"16.3":0.15873,"16.4":0.10725,"16.5":0.01716,"16.6":0.9438,"17.0":0.03861,"17.1":0.11583,"17.2":0.07722,"17.3":0.10296,"17.4":2.06349,"17.5":0.13728},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.00596,"5.0-5.1":0.00596,"6.0-6.1":0.0149,"7.0-7.1":0.02086,"8.1-8.4":0.00596,"9.0-9.2":0.0149,"9.3":0.06854,"10.0-10.2":0.01192,"10.3":0.10728,"11.0-11.2":0.15795,"11.3-11.4":0.0298,"12.0-12.1":0.01788,"12.2-12.5":0.43211,"13.0-13.1":0.00894,"13.2":0.04172,"13.3":0.02086,"13.4-13.7":0.09536,"14.0-14.4":0.16391,"14.5-14.8":0.25331,"15.0-15.1":0.12218,"15.2-15.3":0.1341,"15.4":0.15198,"15.5":0.19073,"15.6-15.8":1.71654,"16.0":0.39039,"16.1":0.80463,"16.2":0.39039,"16.3":0.67648,"16.4":0.14304,"16.5":0.28907,"16.6-16.7":2.30362,"17.0":0.25033,"17.1":0.40827,"17.2":0.42615,"17.3":0.78675,"17.4":17.86569,"17.5":1.26058,"17.6":0},P:{"4":0.03297,"20":0.04396,"21":0.01099,"22":0.05495,"23":0.03297,"24":0.26376,"25":4.32999,_:"5.0-5.4 6.2-6.4 8.2 9.2 10.1 12.0 13.0 17.0 18.0 19.0","7.2-7.4":0.01099,"11.1-11.2":0.01099,"14.0":0.01099,"15.0":0.01099,"16.0":0.02198},I:{"0":0.01137,"3":0,"4":0,"2.1":0,"2.2":0,"2.3":0,"4.1":0,"4.2-4.3":0.00001,"4.4":0,"4.4.3-4.4.4":0.00003},K:{"0":0.11989,_:"10 11 12 11.1 11.5 12.1"},A:{"11":0.06006,_:"6 7 8 9 10 5.5"},S:{_:"2.5 3.0-3.1"},J:{_:"7 10"},N:{_:"10 11"},L:{"0":22.97803},R:{_:"0"},M:{"0":0.17698},Q:{"14.9":0.01142},O:{"0":0.02855},H:{"0":0}}; +module.exports={C:{"115":4.88357,"129":0.09185,"130":0.30618,_:"2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 116 117 118 119 120 121 122 123 124 125 126 127 128 131 132 133 134 135 3.5 3.6"},D:{"50":0.0051,"79":0.0051,"80":0.01021,"81":0.0051,"83":0.02552,"84":0.0051,"87":0.07144,"91":0.0051,"93":0.02041,"94":0.01021,"95":0.0051,"103":0.05613,"104":0.02041,"105":0.01021,"109":1.25534,"111":0.01021,"112":0.14288,"115":0.06634,"116":0.03062,"117":0.0051,"118":0.0051,"120":0.03062,"121":0.0051,"122":0.07655,"123":0.02552,"124":0.02552,"125":0.18371,"126":0.37252,"127":2.63825,"128":13.18615,"129":2.8832,"130":0.04082,_:"4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 85 86 88 89 90 92 96 97 98 99 100 101 102 106 107 108 110 113 114 119 131 132 133"},F:{"95":0.09696,"109":0.01531,"112":0.47458,"113":0.1633,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 60 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 96 97 98 99 100 101 102 103 104 105 106 107 108 110 111 114 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"18":0.03062,"83":0.01021,"109":0.02552,"119":0.0051,"120":0.02552,"123":0.01021,"125":0.05103,"126":0.08675,"127":0.3419,"128":12.74219,"129":2.90871,_:"12 13 14 15 16 17 79 80 81 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 110 111 112 113 114 115 116 117 118 121 122 124 130"},E:{"14":0.04082,"15":0.02552,_:"0 4 5 6 7 8 9 10 11 12 13 3.1 3.2 5.1 6.1 7.1 9.1 10.1 11.1 12.1","13.1":0.06634,"14.1":0.03062,"15.1":0.01021,"15.2-15.3":0.15819,"15.4":0.0051,"15.5":0.0051,"15.6":0.63788,"16.0":0.06634,"16.1":0.02552,"16.2":0.0051,"16.3":0.10206,"16.4":0.03062,"16.5":0.1735,"16.6":1.20941,"17.0":0.02041,"17.1":0.02041,"17.2":0.06634,"17.3":0.02552,"17.4":0.08165,"17.5":0.30108,"17.6":2.52599,"18.0":0.20922,"18.1":0.0051},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.00393,"5.0-5.1":0.00196,"6.0-6.1":0.01178,"7.0-7.1":0.01374,"8.1-8.4":0,"9.0-9.2":0.01178,"9.3":0.03337,"10.0-10.2":0.00981,"10.3":0.05692,"11.0-11.2":0.21001,"11.3-11.4":0.0157,"12.0-12.1":0.00981,"12.2-12.5":0.23749,"13.0-13.1":0.00393,"13.2":0.07458,"13.3":0.00981,"13.4-13.7":0.03925,"14.0-14.4":0.09029,"14.5-14.8":0.11973,"15.0-15.1":0.0687,"15.2-15.3":0.06673,"15.4":0.07655,"15.5":0.09421,"15.6-15.8":0.93229,"16.0":0.18842,"16.1":0.37292,"16.2":0.18646,"16.3":0.31403,"16.4":0.06673,"16.5":0.1315,"16.6-16.7":1.12267,"17.0":0.09421,"17.1":0.14917,"17.2":0.13543,"17.3":0.19431,"17.4":0.4161,"17.5":2.00001,"17.6-17.7":10.64382,"18.0":1.3425,"18.1":0.06084},P:{"4":0.16889,"21":0.03378,"22":0.0563,"24":0.04504,"25":0.28148,"26":2.2181,_:"20 23 5.0-5.4 8.2 9.2 10.1 11.1-11.2 12.0 13.0 14.0 15.0 16.0 17.0 18.0","6.2-6.4":0.07882,"7.2-7.4":0.0563,"19.0":0.03378},I:{"0":0.00488,"3":0,"4":0,"2.1":0,"2.2":0,"2.3":0,"4.1":0,"4.2-4.3":0,"4.4":0,"4.4.3-4.4.4":0.00001},K:{"0":0.58764,_:"10 11 12 11.1 11.5 12.1"},A:{"11":0.05613,_:"6 7 8 9 10 5.5"},N:{_:"10 11"},S:{_:"2.5 3.0-3.1"},J:{_:"7 10"},O:{"0":0.08815},H:{"0":0},L:{"0":26.247},R:{_:"0"},M:{"0":0.43094},Q:{_:"14.9"}}; diff --git a/node_modules/caniuse-lite/data/regions/TD.js b/node_modules/caniuse-lite/data/regions/TD.js index e575999d26..a9303ccfb6 100644 --- a/node_modules/caniuse-lite/data/regions/TD.js +++ b/node_modules/caniuse-lite/data/regions/TD.js @@ -1 +1 @@ -module.exports={C:{"7":0.0006,"30":0.0018,"54":0.0006,"66":0.0006,"72":0.0006,"93":0.01082,"94":0.0006,"103":0.0012,"106":0.0006,"115":0.09616,"119":0.0012,"120":0.0012,"122":0.0006,"123":0.0006,"124":0.00601,"125":0.14845,"126":0.1202,_:"2 3 4 5 6 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 55 56 57 58 59 60 61 62 63 64 65 67 68 69 70 71 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 95 96 97 98 99 100 101 102 104 105 107 108 109 110 111 112 113 114 116 117 118 121 127 128 129 3.5 3.6"},D:{"42":0.0024,"45":0.0012,"58":0.0024,"63":0.0006,"64":0.0024,"68":0.00421,"69":0.00361,"70":0.00421,"71":0.0006,"74":0.0006,"76":0.0006,"77":0.0012,"78":0.00781,"79":0.00421,"80":0.0006,"81":0.0006,"83":0.0012,"86":0.0006,"87":0.0012,"90":0.0006,"92":0.0012,"94":0.01322,"95":0.18932,"96":0.00721,"97":0.0018,"98":0.0006,"99":0.04027,"102":0.0024,"103":0.02104,"105":0.0006,"106":0.0018,"108":0.0006,"109":0.07573,"110":0.0006,"111":0.0012,"114":0.00421,"115":0.0006,"116":0.00601,"117":0.00541,"119":0.00301,"120":0.05048,"121":0.00661,"122":0.01563,"123":0.0583,"124":0.6599,"125":0.18811,_:"4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 43 44 46 47 48 49 50 51 52 53 54 55 56 57 59 60 61 62 65 66 67 72 73 75 84 85 88 89 91 93 100 101 104 107 112 113 118 126 127 128"},F:{"30":0.0006,"31":0.0006,"44":0.0006,"46":0.0018,"47":0.0006,"51":0.0012,"67":0.0006,"79":0.0018,"95":0.0006,"102":0.0006,"107":0.0012,"108":0.0006,"109":0.03486,"110":0.0018,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 32 33 34 35 36 37 38 39 40 41 42 43 45 48 49 50 52 53 54 55 56 57 58 60 62 63 64 65 66 68 69 70 71 72 73 74 75 76 77 78 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 96 97 98 99 100 101 103 104 105 106 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"12":0.0006,"13":0.0012,"14":0.00361,"15":0.0006,"17":0.03486,"18":0.00841,"84":0.0024,"85":0.0006,"89":0.0018,"92":0.01442,"97":0.0006,"100":0.0006,"104":0.0006,"109":0.05649,"110":0.0006,"111":0.01382,"112":0.0006,"114":0.0006,"115":0.0012,"116":0.0006,"119":0.0006,"120":0.0024,"121":0.00541,"122":0.00841,"123":0.00721,"124":0.25843,"125":0.06431,_:"16 79 80 81 83 86 87 88 90 91 93 94 95 96 98 99 101 102 103 105 106 107 108 113 117 118"},E:{"14":0.0006,_:"0 4 5 6 7 8 9 10 11 12 13 15 3.1 3.2 6.1 7.1 9.1 10.1 11.1 12.1 15.1 15.2-15.3 15.4 15.5 16.0 16.1 16.5 17.0 17.2 17.6","5.1":0.0006,"13.1":0.0006,"14.1":0.11419,"15.6":0.00361,"16.2":0.0006,"16.3":0.0024,"16.4":0.0024,"16.6":0.00661,"17.1":0.0006,"17.3":0.0006,"17.4":0.00481,"17.5":0.0006},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.00064,"5.0-5.1":0.00064,"6.0-6.1":0.00159,"7.0-7.1":0.00223,"8.1-8.4":0.00064,"9.0-9.2":0.00159,"9.3":0.00733,"10.0-10.2":0.00127,"10.3":0.01147,"11.0-11.2":0.01689,"11.3-11.4":0.00319,"12.0-12.1":0.00191,"12.2-12.5":0.0462,"13.0-13.1":0.00096,"13.2":0.00446,"13.3":0.00223,"13.4-13.7":0.0102,"14.0-14.4":0.01752,"14.5-14.8":0.02708,"15.0-15.1":0.01306,"15.2-15.3":0.01434,"15.4":0.01625,"15.5":0.02039,"15.6-15.8":0.18353,"16.0":0.04174,"16.1":0.08603,"16.2":0.04174,"16.3":0.07233,"16.4":0.01529,"16.5":0.03091,"16.6-16.7":0.2463,"17.0":0.02676,"17.1":0.04365,"17.2":0.04556,"17.3":0.08412,"17.4":1.91016,"17.5":0.13478,"17.6":0},P:{"4":0.04017,"20":0.04017,"21":1.04454,"22":1.2655,"23":0.3917,"24":0.30131,"25":0.19083,_:"5.0-5.4 6.2-6.4 8.2 10.1 12.0 14.0","7.2-7.4":0.15065,"9.2":0.09039,"11.1-11.2":0.02009,"13.0":0.01004,"15.0":0.03013,"16.0":0.09039,"17.0":0.01004,"18.0":0.05022,"19.0":0.81353},I:{"0":0.01872,"3":0,"4":0,"2.1":0,"2.2":0,"2.3":0,"4.1":0,"4.2-4.3":0.00001,"4.4":0,"4.4.3-4.4.4":0.00004},K:{"0":1.02668,_:"10 11 12 11.1 11.5 12.1"},A:{"11":0.0024,_:"6 7 8 9 10 5.5"},S:{_:"2.5 3.0-3.1"},J:{_:"7 10"},N:{_:"10 11"},L:{"0":88.31505},R:{_:"0"},M:{"0":0.0094},Q:{"14.9":0.0282},O:{"0":0.09399},H:{"0":0.12}}; +module.exports={C:{"46":0.00065,"47":0.00259,"56":0.00065,"87":0.00065,"89":0.0013,"106":0.00065,"111":0.00065,"115":0.02203,"125":0.00259,"126":0.00065,"127":0.00259,"128":0.00194,"129":0.0486,"130":0.36871,_:"2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 48 49 50 51 52 53 54 55 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 88 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 107 108 109 110 112 113 114 116 117 118 119 120 121 122 123 124 131 132 133 134 135 3.5 3.6"},D:{"11":0.00648,"23":0.00065,"51":0.00065,"58":0.00324,"65":0.00194,"67":0.00389,"70":0.00583,"74":0.00648,"78":0.02462,"80":0.00065,"81":0.0013,"88":0.00583,"92":0.00065,"94":0.00518,"95":0.00389,"97":0.00259,"99":0.14126,"103":0.0013,"104":0.0013,"105":0.00259,"108":0.00194,"109":0.05443,"111":0.0013,"113":0.00065,"114":0.01685,"115":0.02138,"116":0.00259,"117":0.00389,"118":0.00065,"119":0.00259,"120":0.01037,"121":0.00389,"122":0.01426,"123":0.00713,"124":0.00389,"125":0.00194,"126":0.04277,"127":0.04018,"128":0.48211,"129":0.22226,_:"4 5 6 7 8 9 10 12 13 14 15 16 17 18 19 20 21 22 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 52 53 54 55 56 57 59 60 61 62 63 64 66 68 69 71 72 73 75 76 77 79 83 84 85 86 87 89 90 91 93 96 98 100 101 102 106 107 110 112 130 131 132 133"},F:{"79":0.0013,"83":0.00065,"95":0.0013,"110":0.00065,"112":0.0149,"113":0.0337,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 60 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 80 81 82 84 85 86 87 88 89 90 91 92 93 94 96 97 98 99 100 101 102 103 104 105 106 107 108 109 111 114 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"12":0.00065,"13":0.00065,"14":0.00065,"17":0.0013,"18":0.00324,"81":0.00454,"84":0.00065,"90":0.00065,"92":0.00583,"100":0.0013,"109":0.00259,"110":0.00065,"111":0.01102,"113":0.0013,"118":0.00065,"120":0.0013,"121":0.00065,"122":0.00389,"123":0.00259,"124":0.00065,"125":0.01944,"126":0.00324,"127":0.01361,"128":0.21902,"129":0.14969,_:"15 16 79 80 83 85 86 87 88 89 91 93 94 95 96 97 98 99 101 102 103 104 105 106 107 108 112 114 115 116 117 119 130"},E:{_:"0 4 5 6 7 8 9 10 11 12 13 14 15 3.1 3.2 5.1 6.1 7.1 9.1 10.1 11.1 12.1 13.1 15.2-15.3 15.4 15.5 16.0 16.1 16.2 16.3 16.5 17.0 17.1 17.2 17.4 18.1","14.1":0.14839,"15.1":0.00065,"15.6":0.01037,"16.4":0.0013,"16.6":0.00648,"17.3":0.0013,"17.5":0.00972,"17.6":0.00648,"18.0":0.00065},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.00082,"5.0-5.1":0.00041,"6.0-6.1":0.00247,"7.0-7.1":0.00289,"8.1-8.4":0,"9.0-9.2":0.00247,"9.3":0.00701,"10.0-10.2":0.00206,"10.3":0.01196,"11.0-11.2":0.04413,"11.3-11.4":0.0033,"12.0-12.1":0.00206,"12.2-12.5":0.0499,"13.0-13.1":0.00082,"13.2":0.01567,"13.3":0.00206,"13.4-13.7":0.00825,"14.0-14.4":0.01897,"14.5-14.8":0.02516,"15.0-15.1":0.01443,"15.2-15.3":0.01402,"15.4":0.01608,"15.5":0.0198,"15.6-15.8":0.1959,"16.0":0.03959,"16.1":0.07836,"16.2":0.03918,"16.3":0.06599,"16.4":0.01402,"16.5":0.02763,"16.6-16.7":0.23591,"17.0":0.0198,"17.1":0.03134,"17.2":0.02846,"17.3":0.04083,"17.4":0.08743,"17.5":0.42026,"17.6-17.7":2.23657,"18.0":0.2821,"18.1":0.01279},P:{"4":0.0303,"20":0.0404,"21":0.49491,"22":0.63631,"23":0.1212,"24":0.53531,"25":0.1717,"26":0.40401,_:"5.0-5.4 6.2-6.4 8.2 10.1 12.0 14.0 15.0 17.0","7.2-7.4":0.1212,"9.2":0.0909,"11.1-11.2":0.0202,"13.0":0.0202,"16.0":0.0909,"18.0":0.0101,"19.0":0.2323},I:{"0":0.01865,"3":0,"4":0,"2.1":0,"2.2":0,"2.3":0,"4.1":0,"4.2-4.3":0.00001,"4.4":0,"4.4.3-4.4.4":0.00003},K:{"0":1.08224,_:"10 11 12 11.1 11.5 12.1"},A:{"11":0.00648,_:"6 7 8 9 10 5.5"},N:{_:"10 11"},S:{"2.5":0.00935,_:"3.0-3.1"},J:{_:"7 10"},O:{"0":0.05611},H:{"0":0.04},L:{"0":89.13373},R:{_:"0"},M:{"0":0.00935},Q:{_:"14.9"}}; diff --git a/node_modules/caniuse-lite/data/regions/TG.js b/node_modules/caniuse-lite/data/regions/TG.js index 9a996bd943..ffe2aec50f 100644 --- a/node_modules/caniuse-lite/data/regions/TG.js +++ b/node_modules/caniuse-lite/data/regions/TG.js @@ -1 +1 @@ -module.exports={C:{"32":0.00318,"34":0.00318,"41":0.00318,"47":0.00954,"52":0.0477,"57":0.00318,"68":0.00318,"72":0.0159,"73":0.00318,"82":0.00318,"92":0.00318,"93":0.00318,"99":0.00318,"102":0.00954,"103":0.02226,"108":0.00636,"109":0.00318,"110":0.00318,"111":0.00954,"112":0.02544,"114":0.02862,"115":0.62328,"116":0.00318,"117":0.00318,"118":0.00318,"121":0.00318,"122":0.0318,"123":0.0159,"124":0.06042,"125":2.87154,"126":1.56774,"127":0.0159,_:"2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 33 35 36 37 38 39 40 42 43 44 45 46 48 49 50 51 53 54 55 56 58 59 60 61 62 63 64 65 66 67 69 70 71 74 75 76 77 78 79 80 81 83 84 85 86 87 88 89 90 91 94 95 96 97 98 100 101 104 105 106 107 113 119 120 128 129 3.5 3.6"},D:{"31":0.00318,"33":0.00318,"39":0.00318,"43":0.00636,"46":0.00318,"47":0.00636,"49":0.03498,"50":0.00636,"55":0.00636,"63":0.00318,"64":0.00954,"65":0.00636,"66":0.00318,"68":0.00318,"69":0.00636,"70":0.00636,"72":0.01272,"73":0.00636,"74":0.00318,"75":0.00954,"76":0.18444,"79":0.02862,"80":0.2385,"81":0.00318,"85":0.00318,"86":0.01272,"87":0.0159,"88":0.01272,"89":0.00318,"91":0.05088,"93":0.16854,"95":0.02226,"96":0.00318,"99":0.00318,"100":0.00954,"102":0.01908,"103":0.05724,"104":0.05724,"105":0.00318,"106":0.00636,"107":0.00636,"108":0.00954,"109":2.85564,"110":0.00636,"111":0.00636,"112":0.00954,"114":0.00636,"115":0.00318,"116":0.05088,"117":0.00636,"118":0.02226,"119":0.11766,"120":0.0636,"121":0.06678,"122":0.12402,"123":0.2226,"124":8.57964,"125":2.65848,"126":0.00318,_:"4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 32 34 35 36 37 38 40 41 42 44 45 48 51 52 53 54 56 57 58 59 60 61 62 67 71 77 78 83 84 90 92 94 97 98 101 113 127 128"},F:{"79":0.0159,"80":0.00318,"83":0.00318,"95":0.08904,"98":0.00636,"102":0.00318,"106":0.00318,"107":0.0477,"108":0.02544,"109":1.32288,"110":0.13992,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 60 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 81 82 84 85 86 87 88 89 90 91 92 93 94 96 97 99 100 101 103 104 105 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"12":0.00636,"13":0.00318,"15":0.00318,"17":0.00318,"18":0.01272,"84":0.00318,"85":0.00318,"90":0.00318,"92":0.05088,"100":0.00636,"101":0.00636,"104":0.00636,"107":0.00318,"109":0.08586,"112":0.00318,"115":0.00636,"117":0.00636,"118":0.00318,"119":0.00954,"120":0.01908,"121":0.00636,"122":0.02544,"123":0.0954,"124":3.28176,"125":1.38966,_:"14 16 79 80 81 83 86 87 88 89 91 93 94 95 96 97 98 99 102 103 105 106 108 110 111 113 114 116"},E:{_:"0 4 5 6 7 8 9 10 11 12 13 14 15 3.1 3.2 5.1 6.1 7.1 9.1 10.1 12.1 15.1 15.2-15.3 15.4 15.5 16.0 16.1 16.5 17.0 17.6","11.1":0.00318,"13.1":0.00636,"14.1":0.00318,"15.6":0.0159,"16.2":0.02862,"16.3":0.00318,"16.4":0.00318,"16.6":0.01272,"17.1":0.00318,"17.2":0.00954,"17.3":0.00318,"17.4":0.03498,"17.5":0.00954},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.00127,"5.0-5.1":0.00127,"6.0-6.1":0.00318,"7.0-7.1":0.00445,"8.1-8.4":0.00127,"9.0-9.2":0.00318,"9.3":0.01463,"10.0-10.2":0.00254,"10.3":0.0229,"11.0-11.2":0.03372,"11.3-11.4":0.00636,"12.0-12.1":0.00382,"12.2-12.5":0.09225,"13.0-13.1":0.00191,"13.2":0.00891,"13.3":0.00445,"13.4-13.7":0.02036,"14.0-14.4":0.03499,"14.5-14.8":0.05408,"15.0-15.1":0.02608,"15.2-15.3":0.02863,"15.4":0.03245,"15.5":0.04072,"15.6-15.8":0.36646,"16.0":0.08334,"16.1":0.17178,"16.2":0.08334,"16.3":0.14442,"16.4":0.03054,"16.5":0.06171,"16.6-16.7":0.49179,"17.0":0.05344,"17.1":0.08716,"17.2":0.09098,"17.3":0.16796,"17.4":3.8141,"17.5":0.26912,"17.6":0},P:{"4":0.07257,"21":0.01037,"22":0.14515,"23":0.01037,"24":0.04147,"25":0.63243,_:"20 7.2-7.4 8.2 9.2 10.1 11.1-11.2 12.0 14.0 15.0 16.0 18.0","5.0-5.4":0.01037,"6.2-6.4":0.01037,"13.0":0.05184,"17.0":0.02074,"19.0":0.01037},I:{"0":0.02717,"3":0,"4":0,"2.1":0,"2.2":0,"2.3":0,"4.1":0.00001,"4.2-4.3":0.00002,"4.4":0,"4.4.3-4.4.4":0.00006},K:{"0":1.6812,_:"10 11 12 11.1 11.5 12.1"},A:{"11":0.01908,_:"6 7 8 9 10 5.5"},S:{"2.5":0.00682,_:"3.0-3.1"},J:{_:"7 10"},N:{_:"10 11"},L:{"0":60.82625},R:{_:"0"},M:{"0":0.1091},Q:{"14.9":0.02728},O:{"0":0.30686},H:{"0":0.76}}; +module.exports={C:{"47":0.00322,"52":0.00965,"53":0.00322,"56":0.00322,"57":0.00322,"60":0.00322,"61":0.00322,"68":0.00322,"72":0.00644,"77":0.00322,"78":0.00644,"82":0.01931,"89":0.01931,"92":0.00322,"102":0.00322,"103":0.01609,"109":0.00322,"111":0.00644,"112":0.01287,"113":0.00322,"114":0.00322,"115":0.69187,"121":0.00322,"123":0.00322,"124":0.00322,"125":0.00322,"126":0.01609,"127":0.04505,"128":0.00965,"129":0.32824,"130":2.52291,"131":0.00644,_:"2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 48 49 50 51 54 55 58 59 62 63 64 65 66 67 69 70 71 73 74 75 76 79 80 81 83 84 85 86 87 88 90 91 93 94 95 96 97 98 99 100 101 104 105 106 107 108 110 116 117 118 119 120 122 132 133 134 135 3.5 3.6"},D:{"33":0.00322,"44":0.03862,"50":0.00322,"64":0.00322,"65":0.00322,"66":0.00965,"68":0.00322,"69":0.00322,"70":0.00644,"73":0.00965,"75":0.00965,"76":0.04505,"77":0.00322,"79":0.01287,"80":0.00322,"81":0.00644,"83":0.01287,"84":0.05471,"85":0.00322,"86":0.06436,"87":0.02896,"88":0.01287,"89":0.00644,"91":0.00965,"93":0.0901,"94":0.00965,"95":0.02253,"96":0.00322,"97":0.00644,"99":0.00322,"100":0.00322,"102":0.00644,"103":0.23491,"104":0.10619,"105":0.00322,"106":0.01609,"107":0.00965,"108":0.01609,"109":2.0209,"110":0.00322,"111":0.00322,"113":0.00322,"114":0.01287,"115":0.00322,"116":0.04183,"117":0.04505,"118":0.01287,"119":0.10619,"120":0.29284,"121":0.00965,"122":0.01609,"123":0.07723,"124":0.03862,"125":0.01931,"126":0.08689,"127":0.57924,"128":8.63068,"129":2.94769,"130":0.00322,_:"4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 34 35 36 37 38 39 40 41 42 43 45 46 47 48 49 51 52 53 54 55 56 57 58 59 60 61 62 63 67 71 72 74 78 90 92 98 101 112 131 132 133"},F:{"40":0.00322,"64":0.00322,"68":0.00322,"79":0.00965,"83":0.00322,"84":0.00644,"95":0.12228,"109":0.00322,"111":0.00322,"112":0.89139,"113":0.46339,"114":0.01609,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 60 62 63 65 66 67 69 70 71 72 73 74 75 76 77 78 80 81 82 85 86 87 88 89 90 91 92 93 94 96 97 98 99 100 101 102 103 104 105 106 107 108 110 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"12":0.00322,"14":0.00322,"17":0.00322,"18":0.01287,"84":0.00322,"85":0.00322,"92":0.05792,"95":0.00965,"100":0.00644,"109":0.19952,"117":0.00322,"120":0.02253,"122":0.00322,"124":0.00322,"125":0.00644,"126":0.15446,"127":0.13516,"128":3.9324,"129":1.5189,_:"13 15 16 79 80 81 83 86 87 88 89 90 91 93 94 96 97 98 99 101 102 103 104 105 106 107 108 110 111 112 113 114 115 116 118 119 121 123 130"},E:{"13":0.00322,_:"0 4 5 6 7 8 9 10 11 12 14 15 3.1 3.2 6.1 7.1 9.1 10.1 12.1 15.1 15.2-15.3 15.4 15.5 16.0 16.1 16.2 16.3 16.4 17.0 17.1 17.2 17.3","5.1":0.00322,"11.1":0.00322,"13.1":0.02896,"14.1":0.03218,"15.6":0.02253,"16.5":0.00322,"16.6":0.06114,"17.4":0.00322,"17.5":0.01287,"17.6":0.10941,"18.0":0.00644,"18.1":0.00965},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.00171,"5.0-5.1":0.00085,"6.0-6.1":0.00512,"7.0-7.1":0.00598,"8.1-8.4":0,"9.0-9.2":0.00512,"9.3":0.01452,"10.0-10.2":0.00427,"10.3":0.02476,"11.0-11.2":0.09136,"11.3-11.4":0.00683,"12.0-12.1":0.00427,"12.2-12.5":0.10332,"13.0-13.1":0.00171,"13.2":0.03245,"13.3":0.00427,"13.4-13.7":0.01708,"14.0-14.4":0.03928,"14.5-14.8":0.05209,"15.0-15.1":0.02988,"15.2-15.3":0.02903,"15.4":0.0333,"15.5":0.04098,"15.6-15.8":0.40558,"16.0":0.08197,"16.1":0.16223,"16.2":0.08112,"16.3":0.13662,"16.4":0.02903,"16.5":0.05721,"16.6-16.7":0.4884,"17.0":0.04098,"17.1":0.06489,"17.2":0.05892,"17.3":0.08453,"17.4":0.18102,"17.5":0.87008,"17.6-17.7":4.63045,"18.0":0.58404,"18.1":0.02647},P:{"4":0.08539,"20":0.02135,"22":0.14943,"23":0.01067,"24":0.01067,"25":0.06404,"26":0.19212,_:"21 8.2 9.2 10.1 13.0 15.0 16.0 18.0 19.0","5.0-5.4":0.01067,"6.2-6.4":0.01067,"7.2-7.4":0.01067,"11.1-11.2":0.01067,"12.0":0.02135,"14.0":0.03202,"17.0":0.02135},I:{"0":0.02029,"3":0,"4":0,"2.1":0,"2.2":0,"2.3":0,"4.1":0,"4.2-4.3":0.00001,"4.4":0,"4.4.3-4.4.4":0.00003},K:{"0":0.94398,_:"10 11 12 11.1 11.5 12.1"},A:{"11":0.00965,_:"6 7 8 9 10 5.5"},N:{_:"10 11"},S:{"2.5":0.00678,_:"3.0-3.1"},J:{_:"7 10"},O:{"0":0.18311},H:{"0":0.27},L:{"0":61.29089},R:{_:"0"},M:{"0":0.08138},Q:{"14.9":0.00678}}; diff --git a/node_modules/caniuse-lite/data/regions/TH.js b/node_modules/caniuse-lite/data/regions/TH.js index 035f5f715d..b3c5add3b7 100644 --- a/node_modules/caniuse-lite/data/regions/TH.js +++ b/node_modules/caniuse-lite/data/regions/TH.js @@ -1 +1 @@ -module.exports={C:{"34":0.00368,"48":0.00368,"52":0.01104,"53":0.03681,"55":0.15828,"56":1.32884,"78":0.00368,"85":0.00368,"96":0.00368,"98":0.00368,"101":0.00368,"103":0.00368,"105":0.00368,"113":0.00368,"115":0.12884,"116":0.00368,"119":0.00368,"120":0.00368,"122":0.00368,"123":0.00368,"124":0.01104,"125":0.41227,"126":0.38651,"127":0.00368,_:"2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 35 36 37 38 39 40 41 42 43 44 45 46 47 49 50 51 54 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 79 80 81 82 83 84 86 87 88 89 90 91 92 93 94 95 97 99 100 102 104 106 107 108 109 110 111 112 114 117 118 121 128 129 3.5 3.6"},D:{"25":0.10675,"37":0.01104,"38":0.00368,"43":0.00736,"49":0.01841,"53":0.01472,"56":0.00736,"57":0.00736,"58":0.00368,"63":0.00368,"67":0.00368,"70":0.00368,"73":0.01104,"74":0.01841,"75":0.00368,"76":0.00368,"78":0.00736,"79":0.39755,"80":0.00736,"81":0.00368,"83":0.00368,"84":0.00368,"85":0.00368,"86":0.01841,"87":0.27608,"88":0.01472,"89":0.00736,"90":0.00368,"91":0.01104,"92":0.01472,"93":0.02209,"94":0.05153,"95":0.02945,"96":0.00368,"97":0.00368,"98":0.00368,"99":0.02209,"100":0.00368,"101":0.04785,"102":0.01841,"103":0.03681,"104":0.00736,"105":0.02209,"106":0.01472,"107":0.01472,"108":0.04049,"109":2.10185,"110":0.01472,"111":0.01472,"112":0.01104,"113":0.0589,"114":0.04785,"115":0.01472,"116":0.06258,"117":0.02945,"118":0.07362,"119":0.03313,"120":0.07362,"121":0.0773,"122":0.23927,"123":0.36442,"124":14.06142,"125":6.78776,"126":0.01104,"127":0.00368,_:"4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 26 27 28 29 30 31 32 33 34 35 36 39 40 41 42 44 45 46 47 48 50 51 52 54 55 59 60 61 62 64 65 66 68 69 71 72 77 128"},F:{"28":0.00368,"46":0.01104,"95":0.01472,"107":0.0589,"108":0.00368,"109":0.32393,"110":0.01841,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 47 48 49 50 51 52 53 54 55 56 57 58 60 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 96 97 98 99 100 101 102 103 104 105 106 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"15":0.00368,"18":0.01472,"92":0.00736,"100":0.00368,"105":0.00368,"107":0.00368,"108":0.00736,"109":0.05522,"110":0.00368,"111":0.00368,"112":0.00368,"113":0.00368,"114":0.00736,"115":0.00368,"116":0.00368,"117":0.00368,"118":0.00368,"119":0.00736,"120":0.01472,"121":0.01104,"122":0.02945,"123":0.04417,"124":1.8221,"125":1.22209,_:"12 13 14 16 17 79 80 81 83 84 85 86 87 88 89 90 91 93 94 95 96 97 98 99 101 102 103 104 106"},E:{"14":0.01472,"15":0.00736,_:"0 4 5 6 7 8 9 10 11 12 13 3.1 3.2 5.1 6.1 7.1 9.1 10.1 11.1 17.6","12.1":0.00368,"13.1":0.01841,"14.1":0.06258,"15.1":0.00736,"15.2-15.3":0.00736,"15.4":0.01841,"15.5":0.02945,"15.6":0.11779,"16.0":0.01472,"16.1":0.07362,"16.2":0.03681,"16.3":0.12515,"16.4":0.03313,"16.5":0.05153,"16.6":0.20614,"17.0":0.04049,"17.1":0.05153,"17.2":0.06626,"17.3":0.11043,"17.4":1.82578,"17.5":0.14356},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.00334,"5.0-5.1":0.00334,"6.0-6.1":0.00834,"7.0-7.1":0.01168,"8.1-8.4":0.00334,"9.0-9.2":0.00834,"9.3":0.03838,"10.0-10.2":0.00668,"10.3":0.06008,"11.0-11.2":0.08845,"11.3-11.4":0.01669,"12.0-12.1":0.01001,"12.2-12.5":0.24198,"13.0-13.1":0.00501,"13.2":0.02336,"13.3":0.01168,"13.4-13.7":0.0534,"14.0-14.4":0.09179,"14.5-14.8":0.14185,"15.0-15.1":0.06842,"15.2-15.3":0.0751,"15.4":0.08511,"15.5":0.10681,"15.6-15.8":0.96126,"16.0":0.21862,"16.1":0.45059,"16.2":0.21862,"16.3":0.37883,"16.4":0.0801,"16.5":0.16188,"16.6-16.7":1.29002,"17.0":0.14018,"17.1":0.22863,"17.2":0.23865,"17.3":0.44058,"17.4":10.00474,"17.5":0.70592,"17.6":0},P:{"4":0.49068,"20":0.02088,"21":0.07308,"22":0.14616,"23":0.16704,"24":0.34452,"25":2.3699,"5.0-5.4":0.09396,"6.2-6.4":0.02088,"7.2-7.4":0.0522,_:"8.2 9.2 10.1 12.0 15.0","11.1-11.2":0.02088,"13.0":0.01044,"14.0":0.13572,"16.0":0.02088,"17.0":0.07308,"18.0":0.01044,"19.0":0.03132},I:{"0":0.03777,"3":0,"4":0,"2.1":0,"2.2":0,"2.3":0,"4.1":0.00001,"4.2-4.3":0.00002,"4.4":0,"4.4.3-4.4.4":0.00008},K:{"0":0.28331,_:"10 11 12 11.1 11.5 12.1"},A:{"8":0.00378,"9":0.00378,"11":0.41576,_:"6 7 10 5.5"},S:{_:"2.5 3.0-3.1"},J:{_:"7 10"},N:{_:"10 11"},L:{"0":43.05412},R:{_:"0"},M:{"0":0.12006},Q:{"14.9":0.00632},O:{"0":0.17693},H:{"0":0.02}}; +module.exports={C:{"4":0.00382,"48":0.00382,"51":0.00382,"52":0.01528,"53":0.02673,"55":0.38572,"56":1.41303,"78":0.00764,"85":0.00382,"98":0.00382,"101":0.00382,"102":0.00382,"103":0.00382,"106":0.00382,"108":0.00764,"111":0.00382,"113":0.00382,"115":0.12985,"120":0.00382,"122":0.00764,"125":0.00764,"127":0.00764,"128":0.01146,"129":0.17186,"130":0.79817,"131":0.00382,_:"2 3 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 49 50 54 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 79 80 81 82 83 84 86 87 88 89 90 91 92 93 94 95 96 97 99 100 104 105 107 109 110 112 114 116 117 118 119 121 123 124 126 132 133 134 135 3.5 3.6"},D:{"25":0.10693,"37":0.08402,"43":0.00764,"49":0.01146,"56":0.0191,"65":0.00382,"70":0.00382,"74":0.00382,"75":0.00382,"76":0.00382,"79":0.01528,"80":0.00382,"81":0.00382,"83":0.00382,"84":0.00382,"85":0.00382,"86":0.00382,"87":0.0191,"88":0.0191,"89":0.00382,"90":0.00382,"91":0.0191,"92":0.00382,"93":0.00382,"94":0.02291,"95":0.00382,"96":0.00382,"97":0.00382,"99":0.01528,"100":0.00382,"101":0.03819,"102":0.01146,"103":0.03055,"104":0.01146,"105":0.03055,"106":0.0191,"107":0.0191,"108":0.03437,"109":1.95915,"110":0.01146,"111":0.01146,"112":0.01528,"113":0.0611,"114":0.04965,"115":0.01146,"116":0.07638,"117":0.0191,"118":0.07256,"119":0.05347,"120":0.04201,"121":0.03819,"122":0.12221,"123":0.0611,"124":0.13748,"125":0.07256,"126":0.17949,"127":0.47356,"128":16.37969,"129":5.63684,"130":0.01146,"131":0.00382,_:"4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 26 27 28 29 30 31 32 33 34 35 36 38 39 40 41 42 44 45 46 47 48 50 51 52 53 54 55 57 58 59 60 61 62 63 64 66 67 68 69 71 72 73 77 78 98 132 133"},F:{"44":0.00382,"84":0.00764,"95":0.0191,"109":0.00382,"112":0.23678,"113":0.14512,"114":0.00382,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 45 46 47 48 49 50 51 52 53 54 55 56 57 58 60 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 85 86 87 88 89 90 91 92 93 94 96 97 98 99 100 101 102 103 104 105 106 107 108 110 111 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"15":0.00382,"18":0.00764,"92":0.01528,"100":0.00382,"107":0.00382,"108":0.00382,"109":0.04583,"110":0.00382,"113":0.00382,"114":0.00764,"116":0.00382,"117":0.00382,"118":0.00382,"119":0.00382,"120":0.00764,"121":0.00382,"122":0.01146,"123":0.00382,"124":0.01146,"125":0.01146,"126":0.03437,"127":0.07256,"128":2.32577,"129":1.14188,"130":0.00382,_:"12 13 14 16 17 79 80 81 83 84 85 86 87 88 89 90 91 93 94 95 96 97 98 99 101 102 103 104 105 106 111 112 115"},E:{"10":0.00382,"14":0.00764,"15":0.00382,_:"0 4 5 6 7 8 9 11 12 13 3.1 3.2 5.1 6.1 7.1 9.1 10.1 11.1","12.1":0.00382,"13.1":0.01528,"14.1":0.03437,"15.1":0.00382,"15.2-15.3":0.00382,"15.4":0.01146,"15.5":0.02291,"15.6":0.10311,"16.0":0.01528,"16.1":0.06492,"16.2":0.02291,"16.3":0.0611,"16.4":0.01528,"16.5":0.02673,"16.6":0.14894,"17.0":0.02291,"17.1":0.03055,"17.2":0.03819,"17.3":0.03437,"17.4":0.09166,"17.5":0.38954,"17.6":1.62308,"18.0":0.23296,"18.1":0.00764},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.00327,"5.0-5.1":0.00164,"6.0-6.1":0.00982,"7.0-7.1":0.01146,"8.1-8.4":0,"9.0-9.2":0.00982,"9.3":0.02783,"10.0-10.2":0.00819,"10.3":0.04748,"11.0-11.2":0.1752,"11.3-11.4":0.0131,"12.0-12.1":0.00819,"12.2-12.5":0.19812,"13.0-13.1":0.00327,"13.2":0.06222,"13.3":0.00819,"13.4-13.7":0.03275,"14.0-14.4":0.07532,"14.5-14.8":0.09988,"15.0-15.1":0.05731,"15.2-15.3":0.05567,"15.4":0.06386,"15.5":0.07859,"15.6-15.8":0.77774,"16.0":0.15719,"16.1":0.3111,"16.2":0.15555,"16.3":0.26198,"16.4":0.05567,"16.5":0.1097,"16.6-16.7":0.93656,"17.0":0.07859,"17.1":0.12444,"17.2":0.11298,"17.3":0.1621,"17.4":0.34712,"17.5":1.66846,"17.6-17.7":8.87933,"18.0":1.11995,"18.1":0.05076},P:{"4":0.04206,"20":0.01051,"21":0.05257,"22":0.0736,"23":0.09463,"24":0.09463,"25":0.31542,"26":2.25001,_:"5.0-5.4 6.2-6.4 8.2 9.2 10.1 12.0 15.0","7.2-7.4":0.04206,"11.1-11.2":0.01051,"13.0":0.01051,"14.0":0.01051,"16.0":0.01051,"17.0":0.01051,"18.0":0.01051,"19.0":0.01051},I:{"0":0.03082,"3":0,"4":0,"2.1":0,"2.2":0,"2.3":0,"4.1":0,"4.2-4.3":0.00001,"4.4":0,"4.4.3-4.4.4":0.00005},K:{"0":0.26433,_:"10 11 12 11.1 11.5 12.1"},A:{"8":0.00792,"9":0.00396,"11":0.42349,_:"6 7 10 5.5"},N:{_:"10 11"},S:{_:"2.5 3.0-3.1"},J:{_:"7 10"},O:{"0":0.18543},H:{"0":0.02},L:{"0":42.6873},R:{_:"0"},M:{"0":0.12362},Q:{"14.9":0.01236}}; diff --git a/node_modules/caniuse-lite/data/regions/TJ.js b/node_modules/caniuse-lite/data/regions/TJ.js index fd3696e43c..ab974800ee 100644 --- a/node_modules/caniuse-lite/data/regions/TJ.js +++ b/node_modules/caniuse-lite/data/regions/TJ.js @@ -1 +1 @@ -module.exports={C:{"44":0.00209,"45":0.00209,"48":0.00209,"52":0.01046,"69":0.00418,"91":0.00209,"99":0.00209,"105":0.01255,"106":0.01255,"107":0.01464,"108":0.01255,"109":0.01674,"110":0.01464,"111":0.01046,"112":0.00209,"114":0.00418,"115":0.11715,"117":0.00209,"119":0.00418,"120":0.00837,"123":0.01046,"124":0.02092,"125":0.2092,"126":0.1569,"127":0.00418,_:"2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 46 47 49 50 51 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 92 93 94 95 96 97 98 100 101 102 103 104 113 116 118 121 122 128 129 3.5 3.6"},D:{"11":0.00628,"35":0.00628,"38":0.00837,"40":0.00628,"41":0.00209,"44":0.01883,"47":0.00418,"49":0.05439,"51":0.00837,"54":0.00628,"57":0.00209,"58":0.00209,"63":0.00418,"66":0.00209,"68":0.01046,"69":0.00837,"70":0.00837,"71":0.00418,"74":0.00837,"75":0.00628,"76":0.00628,"77":1.21754,"78":0.00418,"79":0.02092,"83":0.01674,"84":0.00628,"85":0.00418,"86":0.01046,"87":0.01674,"88":0.00628,"89":0.01883,"90":0.03556,"91":0.00209,"92":0.01255,"94":0.00209,"95":0.00418,"97":0.01674,"98":0.00628,"99":0.00628,"100":0.01464,"101":0.00628,"102":0.02301,"103":0.01046,"104":0.06485,"105":0.00837,"106":0.11506,"107":0.00837,"108":0.1046,"109":2.1966,"110":0.01464,"111":0.02929,"112":0.05858,"113":0.00209,"114":0.01255,"115":0.01046,"116":0.00628,"117":0.0272,"118":0.00628,"119":0.04393,"120":0.09832,"121":0.05439,"122":0.41631,"123":0.2866,"124":4.65888,"125":2.01041,_:"4 5 6 7 8 9 10 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 36 37 39 42 43 45 46 48 50 52 53 55 56 59 60 61 62 64 65 67 72 73 80 81 93 96 126 127 128"},F:{"36":0.00209,"45":0.00418,"51":0.00209,"69":0.00209,"79":0.05021,"80":0.00209,"81":0.00209,"82":0.00209,"85":0.00209,"86":0.01046,"87":0.00418,"93":0.00209,"94":0.00628,"95":0.1569,"107":0.02301,"108":0.01046,"109":0.45815,"110":0.02929,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 37 38 39 40 41 42 43 44 46 47 48 49 50 52 53 54 55 56 57 58 60 62 63 64 65 66 67 68 70 71 72 73 74 75 76 77 78 83 84 88 89 90 91 92 96 97 98 99 100 101 102 103 104 105 106 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"12":0.00209,"13":0.00209,"14":0.01674,"16":0.00837,"17":0.00209,"18":0.03138,"80":0.00209,"84":0.00837,"86":0.00209,"89":0.00418,"90":0.00209,"92":0.06694,"100":0.00209,"104":0.00209,"106":0.0774,"107":0.00418,"108":0.0251,"109":0.01464,"110":0.00209,"113":0.00209,"115":0.00209,"117":0.00209,"119":0.00837,"120":0.01255,"121":0.00837,"122":0.01255,"123":0.03556,"124":0.69664,"125":0.46024,_:"15 79 81 83 85 87 88 91 93 94 95 96 97 98 99 101 102 103 105 111 112 114 116 118"},E:{"14":0.00628,"15":0.00418,_:"0 4 5 6 7 8 9 10 11 12 13 3.1 3.2 6.1 7.1 9.1 10.1 11.1 12.1 13.1 15.1 15.4 15.5 16.0 17.6","5.1":0.55647,"14.1":0.0251,"15.2-15.3":0.00209,"15.6":0.0251,"16.1":0.00628,"16.2":0.00418,"16.3":0.00418,"16.4":0.00209,"16.5":0.00418,"16.6":0.06904,"17.0":0.01464,"17.1":0.00837,"17.2":0.00837,"17.3":0.06694,"17.4":0.23012,"17.5":0.01255},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.00125,"5.0-5.1":0.00125,"6.0-6.1":0.00312,"7.0-7.1":0.00437,"8.1-8.4":0.00125,"9.0-9.2":0.00312,"9.3":0.01437,"10.0-10.2":0.0025,"10.3":0.02249,"11.0-11.2":0.03311,"11.3-11.4":0.00625,"12.0-12.1":0.00375,"12.2-12.5":0.09059,"13.0-13.1":0.00187,"13.2":0.00875,"13.3":0.00437,"13.4-13.7":0.01999,"14.0-14.4":0.03436,"14.5-14.8":0.0531,"15.0-15.1":0.02561,"15.2-15.3":0.02811,"15.4":0.03186,"15.5":0.03998,"15.6-15.8":0.35985,"16.0":0.08184,"16.1":0.16868,"16.2":0.08184,"16.3":0.14181,"16.4":0.02999,"16.5":0.0606,"16.6-16.7":0.48292,"17.0":0.05248,"17.1":0.08559,"17.2":0.08934,"17.3":0.16493,"17.4":3.74527,"17.5":0.26426,"17.6":0},P:{"4":0.73159,"20":0.07015,"21":0.3207,"22":0.29063,"23":0.34074,"24":0.39085,"25":1.03225,"5.0-5.4":0.06013,"6.2-6.4":0.0902,"7.2-7.4":0.31068,"8.2":0.02004,"9.2":0.04009,"10.1":0.02004,"11.1-11.2":0.04009,"12.0":0.03007,"13.0":0.03007,"14.0":0.05011,"15.0":0.02004,"16.0":0.11024,"17.0":0.03007,"18.0":0.05011,"19.0":0.12026},I:{"0":0.02363,"3":0,"4":0,"2.1":0,"2.2":0,"2.3":0,"4.1":0,"4.2-4.3":0.00001,"4.4":0,"4.4.3-4.4.4":0.00005},K:{"0":1.42788,_:"10 11 12 11.1 11.5 12.1"},A:{"8":0.05302,"9":0.01326,"10":0.00221,"11":0.16791,_:"6 7 5.5"},S:{"2.5":0.03954,_:"3.0-3.1"},J:{_:"7 10"},N:{_:"10 11"},L:{"0":66.72122},R:{_:"0"},M:{"0":0.03163},Q:{"14.9":0.00791},O:{"0":0.74335},H:{"0":0.13}}; +module.exports={C:{"44":0.01058,"52":0.00423,"68":0.00212,"86":0.00212,"94":0.00212,"99":0.00423,"103":0.00423,"105":0.00212,"109":0.00423,"110":0.01693,"111":0.01058,"113":0.00212,"115":0.09099,"116":0.00423,"117":0.00423,"123":0.00846,"126":0.00635,"127":0.06983,"128":0.00846,"129":0.08041,"130":0.24546,_:"2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 45 46 47 48 49 50 51 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 87 88 89 90 91 92 93 95 96 97 98 100 101 102 104 106 107 108 112 114 118 119 120 121 122 124 125 131 132 133 134 135 3.5 3.6"},D:{"22":0.00423,"26":0.00212,"31":0.00635,"35":0.02328,"38":0.00212,"40":0.00212,"42":0.00212,"43":0.00212,"44":0.01058,"47":0.00212,"49":0.01693,"50":0.00635,"51":0.00212,"58":0.02328,"61":0.00212,"62":0.00846,"64":0.00212,"65":0.01693,"67":0.00212,"68":0.00423,"69":0.00212,"70":0.00423,"71":0.00846,"74":0.00635,"75":0.01058,"76":0.00635,"77":1.07493,"78":0.00635,"79":0.01058,"81":0.00635,"83":0.00212,"84":0.00212,"85":0.00635,"86":0.0127,"87":0.01693,"88":0.00423,"89":0.00846,"90":0.04867,"91":0.00212,"94":0.02328,"95":0.02116,"96":0.00635,"97":0.00423,"98":0.00635,"99":0.00635,"100":0.03809,"101":0.01058,"102":0.00423,"103":0.02962,"104":0.00423,"105":0.00423,"106":0.11003,"107":0.03386,"108":0.0656,"109":2.25354,"110":0.04867,"111":0.05925,"112":0.03597,"114":0.01693,"115":0.00212,"116":0.01693,"117":0.00423,"118":0.02539,"119":0.10157,"120":0.04232,"121":0.03386,"122":0.03386,"123":0.02962,"124":0.01904,"125":0.01904,"126":0.06771,"127":0.30894,"128":5.20748,"129":1.87689,"130":0.00635,"131":0.00212,_:"4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 23 24 25 27 28 29 30 32 33 34 36 37 39 41 45 46 48 52 53 54 55 56 57 59 60 63 66 72 73 80 92 93 113 132 133"},F:{"32":0.00423,"36":0.00423,"49":0.00212,"58":0.00212,"63":0.00212,"68":0.00212,"70":0.00212,"72":0.00423,"73":0.00212,"77":0.00212,"79":0.06348,"80":0.00423,"81":0.00423,"84":0.00423,"85":0.00635,"86":0.00423,"89":0.00212,"95":0.17351,"96":0.00212,"97":0.00423,"102":0.00212,"108":0.00212,"109":0.00846,"110":0.01058,"111":0.00212,"112":0.4232,"113":0.13119,"114":0.00212,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 33 34 35 37 38 39 40 41 42 43 44 45 46 47 48 50 51 52 53 54 55 56 57 60 62 64 65 66 67 69 71 74 75 76 78 82 83 87 88 90 91 92 93 94 98 99 100 101 103 104 105 106 107 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6","12.1":0.01904},B:{"14":0.00423,"15":0.00846,"16":0.00212,"17":0.00212,"18":0.02328,"84":0.00212,"85":0.01693,"89":0.00212,"90":0.00635,"92":0.04867,"98":0.00212,"100":0.00846,"106":0.00423,"107":0.0127,"109":0.05713,"110":0.01693,"114":0.00212,"115":0.00212,"117":0.00846,"118":0.00212,"119":0.00635,"120":0.00846,"121":0.0402,"122":0.00846,"123":0.00212,"124":0.00846,"125":0.01693,"126":0.03597,"127":0.09099,"128":0.99664,"129":0.41262,"130":0.00212,_:"12 13 79 80 81 83 86 87 88 91 93 94 95 96 97 99 101 102 103 104 105 108 111 112 113 116"},E:{"14":0.00212,"15":0.60941,_:"0 4 5 6 7 8 9 10 11 12 13 3.1 3.2 6.1 7.1 9.1 10.1 11.1 12.1 15.1 15.4 16.0","5.1":0.146,"13.1":0.00846,"14.1":0.02116,"15.2-15.3":0.00423,"15.5":0.00212,"15.6":0.04867,"16.1":0.00212,"16.2":0.00212,"16.3":0.00846,"16.4":0.00212,"16.5":0.1185,"16.6":0.04655,"17.0":0.00423,"17.1":0.00846,"17.2":0.00423,"17.3":0.00635,"17.4":0.01481,"17.5":0.1058,"17.6":0.1058,"18.0":0.02962,"18.1":0.00212},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.00139,"5.0-5.1":0.00069,"6.0-6.1":0.00416,"7.0-7.1":0.00485,"8.1-8.4":0,"9.0-9.2":0.00416,"9.3":0.01178,"10.0-10.2":0.00347,"10.3":0.0201,"11.0-11.2":0.07415,"11.3-11.4":0.00554,"12.0-12.1":0.00347,"12.2-12.5":0.08385,"13.0-13.1":0.00139,"13.2":0.02633,"13.3":0.00347,"13.4-13.7":0.01386,"14.0-14.4":0.03188,"14.5-14.8":0.04227,"15.0-15.1":0.02426,"15.2-15.3":0.02356,"15.4":0.02703,"15.5":0.03326,"15.6-15.8":0.32918,"16.0":0.06653,"16.1":0.13167,"16.2":0.06584,"16.3":0.11088,"16.4":0.02356,"16.5":0.04643,"16.6-16.7":0.3964,"17.0":0.03326,"17.1":0.05267,"17.2":0.04782,"17.3":0.06861,"17.4":0.14692,"17.5":0.70617,"17.6-17.7":3.75816,"18.0":0.47401,"18.1":0.02148},P:{"4":0.57711,"20":0.03037,"21":0.25312,"22":0.44549,"23":0.17212,"24":0.17212,"25":0.53661,"26":0.88085,"5.0-5.4":0.0405,"6.2-6.4":0.14175,"7.2-7.4":0.24299,"8.2":0.01012,"9.2":0.081,_:"10.1 12.0","11.1-11.2":0.0405,"13.0":0.01012,"14.0":0.03037,"15.0":0.01012,"16.0":0.05062,"17.0":0.02025,"18.0":0.0405,"19.0":0.06075},I:{"0":0.01573,"3":0,"4":0,"2.1":0,"2.2":0,"2.3":0,"4.1":0,"4.2-4.3":0.00001,"4.4":0,"4.4.3-4.4.4":0.00003},K:{"0":1.20642,_:"10 11 12 11.1 11.5 12.1"},A:{"8":0.16454,"9":0.07416,"11":0.10197,_:"6 7 10 5.5"},N:{_:"10 11"},S:{_:"2.5 3.0-3.1"},J:{_:"7 10"},O:{"0":0.61495},H:{"0":0.26},L:{"0":65.92458},R:{_:"0"},M:{"0":0.05519},Q:{"14.9":0.00788}}; diff --git a/node_modules/caniuse-lite/data/regions/TK.js b/node_modules/caniuse-lite/data/regions/TK.js deleted file mode 100644 index 999618153e..0000000000 --- a/node_modules/caniuse-lite/data/regions/TK.js +++ /dev/null @@ -1 +0,0 @@ -module.exports={C:{_:"2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 3.5 3.6"},D:{"91":0.71912,"117":4.31719,_:"4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 83 84 85 86 87 88 89 90 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 118 119 120"},F:{_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 60 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 9.5-9.6 10.5 10.6 11.1 11.5 11.6 12.1","10.0-10.1":0},B:{"116":1.43825,_:"12 13 14 15 16 17 18 79 80 81 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 117"},E:{"4":0,_:"0 5 6 7 8 9 10 11 12 13 14 15 3.1 3.2 5.1 6.1 7.1 9.1 10.1 11.1 12.1 13.1 14.1 15.4 15.5 15.6 16.0 16.1 16.2 16.3 16.4 16.5 17.0 17.1","15.1":2.15737,"15.2-15.3":11.51088,"16.6":0.71912},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0,"5.0-5.1":0,"6.0-6.1":0,"7.0-7.1":0,"8.1-8.4":0,"9.0-9.2":0,"9.3":0,"10.0-10.2":0,"10.3":0,"11.0-11.2":0,"11.3-11.4":0,"12.0-12.1":0,"12.2-12.5":0,"13.0-13.1":0,"13.2":0,"13.3":0,"13.4-13.7":0,"14.0-14.4":0,"14.5-14.8":0,"15.0-15.1":0.70962,"15.2-15.3":8.51107,"15.4":0,"15.5":0,"15.6-15.7":0,"16.0":0,"16.1":2.12885,"16.2":0,"16.3":0,"16.4":0,"16.5":1.41923,"16.6":21.27985,"17.0":9.22069,"17.1":0},P:{"4":0.11467,"20":0.01042,"21":0.73274,"22":2.93095,"5.0-5.4":0.01042,"6.2-6.4":0,"7.2-7.4":0.01042,"8.2":0,"9.2":0,"10.1":0,"11.1-11.2":0,"12.0":0,"13.0":0.02085,"14.0":0,"15.0":0,"16.0":0,"17.0":0.01042,"18.0":0.01042,"19.0":0.01042},I:{"0":0,"3":0,"4":0,"2.1":0,"2.2":0,"2.3":0,"4.1":0,"4.2-4.3":0,"4.4":0,"4.4.3-4.4.4":0},K:{_:"0 10 11 12 11.1 11.5 12.1"},A:{_:"6 7 8 9 10 11 5.5"},S:{"2.5":0,_:"3.0-3.1"},J:{"7":0,"10":0},N:{"10":0,"11":0},L:{"0":28.59944},R:{_:"0"},M:{"0":0},Q:{"13.1":0},O:{"0":0},H:{"0":0}}; diff --git a/node_modules/caniuse-lite/data/regions/TL.js b/node_modules/caniuse-lite/data/regions/TL.js index c3fa6ae500..cdc20e1184 100644 --- a/node_modules/caniuse-lite/data/regions/TL.js +++ b/node_modules/caniuse-lite/data/regions/TL.js @@ -1 +1 @@ -module.exports={C:{"7":0.00829,"21":0.00829,"24":0.00829,"31":0.00414,"33":0.00414,"36":0.00829,"37":0.00829,"38":0.01243,"39":0.00414,"40":0.00414,"44":0.01243,"47":0.04143,"48":0.01243,"50":0.02486,"52":0.00414,"53":0.00414,"56":0.05386,"57":0.00829,"59":0.00414,"61":0.00829,"67":0.04143,"69":0.00414,"72":0.04557,"78":0.03314,"79":0.15743,"80":0.06215,"84":0.00414,"85":0.02072,"88":0.00414,"95":0.00414,"99":0.00414,"103":0.01657,"105":0.00829,"106":0.00414,"107":0.02486,"108":0.00829,"110":0.00414,"111":0.00414,"112":0.00414,"113":0.00414,"114":0.00414,"115":1.14761,"117":0.00829,"118":0.02072,"119":0.00414,"120":0.00414,"121":0.01657,"122":0.06215,"123":0.19472,"124":0.19886,"125":2.61009,"126":2.00107,"127":0.07872,_:"2 3 4 5 6 8 9 10 11 12 13 14 15 16 17 18 19 20 22 23 25 26 27 28 29 30 32 34 35 41 42 43 45 46 49 51 54 55 58 60 62 63 64 65 66 68 70 71 73 74 75 76 77 81 82 83 86 87 89 90 91 92 93 94 96 97 98 100 101 102 104 109 116 128 129 3.5 3.6"},D:{"20":0.00414,"31":0.00829,"34":0.01243,"41":0.00414,"42":0.02072,"43":0.04143,"44":0.00414,"49":0.02072,"51":0.00414,"58":0.058,"61":0.00414,"63":0.00829,"64":0.01657,"65":0.00829,"66":0.00414,"67":0.00829,"68":0.02072,"71":0.01657,"72":0.00414,"73":0.00829,"74":0.01657,"76":0.00829,"77":0.00414,"78":0.02072,"79":0.00414,"80":0.04143,"81":0.00829,"84":0.00829,"85":0.00414,"86":0.02486,"87":0.04143,"88":0.00414,"89":0.00829,"90":0.00414,"91":0.00414,"92":0.01243,"94":0.00414,"95":0.01243,"96":0.01243,"98":0.01657,"99":0.00829,"100":0.01243,"102":0.00414,"103":0.12429,"104":0.00414,"105":0.00414,"107":0.00829,"108":0.01243,"109":1.85192,"110":0.029,"111":0.02072,"112":0.029,"113":0.01243,"114":0.05386,"115":0.02486,"116":0.17815,"117":0.03314,"118":0.07043,"119":0.06215,"120":0.24029,"121":0.14501,"122":0.33973,"123":1.11447,"124":14.17735,"125":4.68573,_:"4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 21 22 23 24 25 26 27 28 29 30 32 33 35 36 37 38 39 40 45 46 47 48 50 52 53 54 55 56 57 59 60 62 69 70 75 83 93 97 101 106 126 127 128"},F:{"85":0.01657,"90":0.00414,"94":0.00414,"95":0.07457,"102":0.01243,"107":0.01243,"108":0.029,"109":0.46816,"110":0.04143,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 60 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 86 87 88 89 91 92 93 96 97 98 99 100 101 103 104 105 106 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"12":0.058,"13":0.02072,"14":0.01243,"15":0.01657,"16":0.03729,"17":0.04557,"18":0.05386,"80":0.00414,"84":0.01243,"85":0.00414,"89":0.02486,"90":0.02486,"91":0.00414,"92":0.087,"96":0.058,"97":0.02486,"98":0.00414,"100":0.04972,"102":0.00414,"105":0.02072,"106":0.00829,"107":0.00414,"108":0.03314,"109":0.04143,"110":0.00414,"111":0.03314,"112":0.02486,"113":0.03314,"114":0.07043,"115":0.01657,"116":0.03314,"117":0.029,"118":0.02072,"119":0.03314,"120":0.09529,"121":0.13258,"122":0.21958,"123":0.2983,"124":4.00214,"125":1.54948,_:"79 81 83 86 87 88 93 94 95 99 101 103 104"},E:{"11":0.00414,"14":0.00414,"15":0.00414,_:"0 4 5 6 7 8 9 10 12 13 3.1 3.2 5.1 6.1 7.1 9.1 10.1 11.1 17.6","12.1":0.01243,"13.1":0.03314,"14.1":0.06215,"15.1":0.00414,"15.2-15.3":0.01657,"15.4":0.01243,"15.5":0.02486,"15.6":0.02486,"16.0":0.00414,"16.1":0.04143,"16.2":0.02486,"16.3":0.02072,"16.4":0.02072,"16.5":0.13672,"16.6":0.05386,"17.0":0.07043,"17.1":0.01657,"17.2":0.07043,"17.3":0.03314,"17.4":0.13258,"17.5":0.01657},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.00116,"5.0-5.1":0.00116,"6.0-6.1":0.00289,"7.0-7.1":0.00405,"8.1-8.4":0.00116,"9.0-9.2":0.00289,"9.3":0.01331,"10.0-10.2":0.00232,"10.3":0.02084,"11.0-11.2":0.03067,"11.3-11.4":0.00579,"12.0-12.1":0.00347,"12.2-12.5":0.08392,"13.0-13.1":0.00174,"13.2":0.0081,"13.3":0.00405,"13.4-13.7":0.01852,"14.0-14.4":0.03183,"14.5-14.8":0.0492,"15.0-15.1":0.02373,"15.2-15.3":0.02604,"15.4":0.02952,"15.5":0.03704,"15.6-15.8":0.33337,"16.0":0.07582,"16.1":0.15627,"16.2":0.07582,"16.3":0.13138,"16.4":0.02778,"16.5":0.05614,"16.6-16.7":0.44739,"17.0":0.04862,"17.1":0.07929,"17.2":0.08276,"17.3":0.1528,"17.4":3.46973,"17.5":0.24482,"17.6":0},P:{"4":0.04989,"20":0.02994,"21":0.09979,"22":0.11975,"23":0.1397,"24":0.24947,"25":0.34926,_:"5.0-5.4 6.2-6.4 8.2 10.1 12.0","7.2-7.4":0.1397,"9.2":0.00998,"11.1-11.2":0.01996,"13.0":0.00998,"14.0":0.03992,"15.0":0.01996,"16.0":0.04989,"17.0":0.00998,"18.0":0.01996,"19.0":0.07983},I:{"0":0.02334,"3":0,"4":0,"2.1":0,"2.2":0,"2.3":0,"4.1":0,"4.2-4.3":0.00001,"4.4":0,"4.4.3-4.4.4":0.00005},K:{"0":0.93314,_:"10 11 12 11.1 11.5 12.1"},A:{"11":0.13258,_:"6 7 8 9 10 5.5"},S:{_:"2.5 3.0-3.1"},J:{_:"7 10"},N:{_:"10 11"},L:{"0":51.02744},R:{_:"0"},M:{"0":0.15817},Q:{_:"14.9"},O:{"0":0.53308},H:{"0":0.01}}; +module.exports={C:{"37":0.00364,"41":0.00728,"44":0.04003,"45":0.00364,"47":0.00728,"48":0.02547,"51":0.00364,"52":0.03639,"56":0.05095,"60":0.00364,"63":0.03275,"67":0.00364,"72":0.01456,"77":0.00364,"78":0.0182,"79":0.15648,"88":0.00364,"94":0.00364,"95":0.00364,"99":0.00364,"101":0.00364,"102":0.00728,"103":0.00728,"105":0.00364,"111":0.00364,"115":0.69505,"117":0.00728,"118":0.00364,"121":0.02183,"122":0.00364,"123":0.00728,"124":0.00728,"125":0.02547,"126":0.02547,"127":0.20015,"128":0.07278,"129":0.80058,"130":2.78747,"131":0.05459,_:"2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 38 39 40 42 43 46 49 50 53 54 55 57 58 59 61 62 64 65 66 68 69 70 71 73 74 75 76 80 81 82 83 84 85 86 87 89 90 91 92 93 96 97 98 100 104 106 107 108 109 110 112 113 114 116 119 120 132 133 134 135 3.5 3.6"},D:{"31":0.01456,"34":0.00364,"38":0.00364,"40":0.01092,"42":0.01092,"43":0.00364,"46":0.01092,"49":0.0182,"54":0.00364,"56":0.00364,"58":0.02183,"62":0.00364,"63":0.01456,"64":0.00364,"65":0.01092,"66":0.00728,"68":0.01092,"70":0.00364,"71":0.01092,"72":0.00364,"74":0.03275,"75":0.00728,"76":0.00364,"78":0.01092,"79":0.02911,"80":0.01092,"84":0.00728,"85":0.00728,"86":0.00364,"87":0.02911,"88":0.00364,"91":0.01092,"92":0.04367,"93":0.00728,"95":0.03639,"97":0.00364,"99":0.00364,"100":0.00728,"101":0.00728,"103":0.131,"104":0.01092,"105":0.01456,"106":0.00364,"107":0.00728,"108":0.00364,"109":2.41266,"111":0.01456,"112":0.00728,"113":0.0182,"114":0.10189,"115":0.01092,"116":0.14556,"117":0.02547,"118":0.03639,"119":0.03275,"120":0.05095,"121":0.09098,"122":0.05095,"123":0.08006,"124":0.12737,"125":0.17467,"126":0.56405,"127":1.46288,"128":12.11787,"129":4.41047,"130":0.00364,_:"4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 32 33 35 36 37 39 41 44 45 47 48 50 51 52 53 55 57 59 60 61 67 69 73 77 81 83 89 90 94 96 98 102 110 131 132 133"},F:{"78":0.00364,"83":0.00364,"84":0.00364,"85":0.00364,"86":0.00364,"95":0.02911,"108":0.01092,"109":0.00364,"110":0.00364,"111":0.00364,"112":0.36754,"113":0.17103,"114":0.00728,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 60 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 79 80 81 82 87 88 89 90 91 92 93 94 96 97 98 99 100 101 102 103 104 105 106 107 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"12":0.0182,"13":0.00728,"14":0.00728,"15":0.03639,"16":0.02183,"17":0.00364,"18":0.02911,"84":0.01456,"89":0.02547,"90":0.01092,"92":0.04367,"96":0.00364,"100":0.05095,"107":0.00364,"109":0.05095,"111":0.00364,"113":0.00364,"114":0.03639,"116":0.00364,"117":0.01092,"118":0.0182,"119":0.00728,"120":0.04003,"121":0.04731,"122":0.02911,"123":0.00728,"124":0.02183,"125":0.07642,"126":0.22198,"127":0.59316,"128":3.31149,"129":0.95342,"130":0.00364,_:"79 80 81 83 85 86 87 88 91 93 94 95 97 98 99 101 102 103 104 105 106 108 110 112 115"},E:{"10":0.00364,"11":0.00364,"14":0.01456,_:"0 4 5 6 7 8 9 12 13 15 3.1 3.2 5.1 6.1 7.1 9.1 10.1 11.1 15.5 16.2 16.4 18.1","12.1":0.00728,"13.1":0.08734,"14.1":0.05095,"15.1":0.00728,"15.2-15.3":0.03275,"15.4":0.00728,"15.6":0.08006,"16.0":0.00364,"16.1":0.00728,"16.3":0.00728,"16.5":0.05095,"16.6":0.09825,"17.0":0.0182,"17.1":0.04003,"17.2":0.01092,"17.3":0.00728,"17.4":0.07642,"17.5":0.16376,"17.6":0.14192,"18.0":0.01092},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.00115,"5.0-5.1":0.00058,"6.0-6.1":0.00345,"7.0-7.1":0.00403,"8.1-8.4":0,"9.0-9.2":0.00345,"9.3":0.00979,"10.0-10.2":0.00288,"10.3":0.01669,"11.0-11.2":0.0616,"11.3-11.4":0.00461,"12.0-12.1":0.00288,"12.2-12.5":0.06966,"13.0-13.1":0.00115,"13.2":0.02188,"13.3":0.00288,"13.4-13.7":0.01151,"14.0-14.4":0.02648,"14.5-14.8":0.03512,"15.0-15.1":0.02015,"15.2-15.3":0.01957,"15.4":0.02245,"15.5":0.02763,"15.6-15.8":0.27344,"16.0":0.05526,"16.1":0.10938,"16.2":0.05469,"16.3":0.09211,"16.4":0.01957,"16.5":0.03857,"16.6-16.7":0.32928,"17.0":0.02763,"17.1":0.04375,"17.2":0.03972,"17.3":0.05699,"17.4":0.12204,"17.5":0.58661,"17.6-17.7":3.12186,"18.0":0.39376,"18.1":0.01785},P:{"4":0.02023,"20":0.02023,"21":0.11126,"22":0.1416,"23":0.06069,"24":0.09103,"25":0.18206,"26":0.71812,_:"5.0-5.4 6.2-6.4 8.2 9.2 10.1 12.0 13.0 17.0","7.2-7.4":0.10114,"11.1-11.2":0.01011,"14.0":0.02023,"15.0":0.02023,"16.0":0.06069,"18.0":0.01011,"19.0":0.05057},I:{"0":0.03806,"3":0,"4":0,"2.1":0,"2.2":0,"2.3":0,"4.1":0,"4.2-4.3":0.00002,"4.4":0,"4.4.3-4.4.4":0.00006},K:{"0":0.76332,_:"10 11 12 11.1 11.5 12.1"},A:{"11":0.09098,_:"6 7 8 9 10 5.5"},N:{_:"10 11"},S:{_:"2.5 3.0-3.1"},J:{_:"7 10"},O:{"0":0.7824},H:{"0":0},L:{"0":55.50201},R:{_:"0"},M:{"0":0.03817},Q:{_:"14.9"}}; diff --git a/node_modules/caniuse-lite/data/regions/TM.js b/node_modules/caniuse-lite/data/regions/TM.js index 646fe8a93f..95bd889314 100644 --- a/node_modules/caniuse-lite/data/regions/TM.js +++ b/node_modules/caniuse-lite/data/regions/TM.js @@ -1 +1 @@ -module.exports={C:{"44":0.00476,"52":0.02378,"64":0.00238,"68":0.00238,"69":0.08799,"70":0.00951,"72":0.04043,"78":0.00238,"84":0.00476,"88":0.00476,"89":0.00238,"91":0.00238,"100":0.00238,"111":0.00238,"115":0.02378,"119":0.28536,"121":0.03091,"124":0.01902,"125":0.13079,"126":0.17835,_:"2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 45 46 47 48 49 50 51 53 54 55 56 57 58 59 60 61 62 63 65 66 67 71 73 74 75 76 77 79 80 81 82 83 85 86 87 90 92 93 94 95 96 97 98 99 101 102 103 104 105 106 107 108 109 110 112 113 114 116 117 118 120 122 123 127 128 129 3.5 3.6"},D:{"11":0.00238,"47":0.00476,"49":0.01189,"50":0.00476,"52":0.00238,"55":0.00238,"57":0.00713,"58":0.00951,"64":0.00713,"65":0.00713,"68":0.02378,"69":0.05945,"71":0.00238,"72":0.17359,"73":0.00713,"78":0.00238,"79":0.00238,"80":0.04043,"81":0.00238,"84":0.02616,"85":0.01665,"86":0.01427,"92":0.00951,"95":0.00713,"96":0.00951,"100":0.00476,"101":0.02854,"102":0.23304,"103":0.00476,"105":0.01189,"106":0.05232,"107":0.01427,"108":0.14744,"109":4.17815,"110":0.00238,"112":0.00713,"114":0.02616,"116":0.01189,"117":0.00238,"118":0.03329,"119":0.01665,"120":0.04994,"121":0.06183,"122":0.2164,"123":0.22115,"124":7.4479,"125":3.7073,"126":0.00238,_:"4 5 6 7 8 9 10 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 48 51 53 54 56 59 60 61 62 63 66 67 70 74 75 76 77 83 87 88 89 90 91 93 94 97 98 99 104 111 113 115 127 128"},F:{"40":0.00238,"46":0.01427,"50":0.00238,"53":0.00238,"64":0.00238,"68":0.00238,"73":0.00713,"74":0.00476,"79":0.01902,"82":0.00238,"83":0.00238,"84":0.00476,"89":0.00238,"90":0.00238,"92":0.00238,"94":0.00951,"95":0.00713,"98":0.00238,"101":0.00951,"106":0.00713,"107":0.03567,"109":0.07134,"110":0.00951,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 41 42 43 44 45 47 48 49 51 52 54 55 56 57 58 60 62 63 65 66 67 69 70 71 72 75 76 77 78 80 81 85 86 87 88 91 93 96 97 99 100 102 103 104 105 108 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 12.1","11.6":0.00476},B:{"16":0.0761,"18":0.01665,"84":0.01902,"85":0.00238,"88":0.01189,"89":0.0428,"90":0.00238,"92":0.18786,"96":0.00238,"99":0.00951,"100":0.03567,"101":0.00238,"103":0.00476,"105":0.00713,"108":0.00951,"109":0.00238,"110":0.01189,"111":0.00476,"112":0.00951,"113":0.00713,"114":0.00713,"115":0.00476,"117":0.00238,"119":0.00713,"120":0.06421,"121":0.00476,"123":0.01427,"124":0.20926,"125":0.03329,_:"12 13 14 15 17 79 80 81 83 86 87 91 93 94 95 97 98 102 104 106 107 116 118 122"},E:{_:"0 4 5 6 7 8 9 10 11 12 13 14 15 3.1 3.2 5.1 6.1 7.1 9.1 10.1 11.1 12.1 13.1 14.1 15.2-15.3 15.4 16.0 16.1 16.2 16.3 16.4 16.5 17.0 17.2 17.6","15.1":0.00713,"15.5":0.00238,"15.6":0.01189,"16.6":0.09274,"17.1":0.00713,"17.3":0.09036,"17.4":0.09274,"17.5":0.00238},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.00146,"5.0-5.1":0.00146,"6.0-6.1":0.00365,"7.0-7.1":0.00511,"8.1-8.4":0.00146,"9.0-9.2":0.00365,"9.3":0.01678,"10.0-10.2":0.00292,"10.3":0.02626,"11.0-11.2":0.03866,"11.3-11.4":0.00729,"12.0-12.1":0.00438,"12.2-12.5":0.10577,"13.0-13.1":0.00219,"13.2":0.01021,"13.3":0.00511,"13.4-13.7":0.02334,"14.0-14.4":0.04012,"14.5-14.8":0.062,"15.0-15.1":0.02991,"15.2-15.3":0.03282,"15.4":0.0372,"15.5":0.04668,"15.6-15.8":0.42015,"16.0":0.09555,"16.1":0.19694,"16.2":0.09555,"16.3":0.16558,"16.4":0.03501,"16.5":0.07075,"16.6-16.7":0.56385,"17.0":0.06127,"17.1":0.09993,"17.2":0.10431,"17.3":0.19257,"17.4":4.37291,"17.5":0.30855,"17.6":0},P:{"4":0.1406,"20":0.04017,"21":0.16068,"22":0.472,"23":0.27115,"24":0.26111,"25":0.89378,"5.0-5.4":0.02009,"6.2-6.4":0.02009,"7.2-7.4":0.20085,_:"8.2 10.1 12.0","9.2":0.01004,"11.1-11.2":0.02009,"13.0":0.03013,"14.0":0.02009,"15.0":0.01004,"16.0":0.09038,"17.0":0.10043,"18.0":0.05021,"19.0":0.15064},I:{"0":0,"3":0,"4":0,"2.1":0,"2.2":0,"2.3":0,"4.1":0,"4.2-4.3":0,"4.4":0,"4.4.3-4.4.4":0},K:{"0":0.35445,_:"10 11 12 11.1 11.5 12.1"},A:{_:"6 7 8 9 10 11 5.5"},S:{_:"2.5 3.0-3.1"},J:{_:"7 10"},N:{_:"10 11"},L:{"0":66.01806},R:{_:"0"},M:{"0":0.06098},Q:{_:"14.9"},O:{"0":0.33537},H:{"0":0.08}}; +module.exports={C:{"52":0.00415,"66":0.00208,"67":0.00415,"69":0.00208,"70":0.00415,"72":0.00623,"85":0.00415,"90":0.01661,"91":0.00208,"94":0.00208,"97":0.0083,"102":0.00208,"104":0.00208,"108":0.00208,"110":0.00208,"115":0.01038,"124":0.00208,"125":0.01453,"126":0.00623,"127":0.00623,"128":0.01038,"129":0.02491,"130":0.03944,_:"2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 53 54 55 56 57 58 59 60 61 62 63 64 65 68 71 73 74 75 76 77 78 79 80 81 82 83 84 86 87 88 89 92 93 95 96 98 99 100 101 103 105 106 107 109 111 112 113 114 116 117 118 119 120 121 122 123 131 132 133 134 135 3.5 3.6"},D:{"11":0.0083,"31":0.00415,"34":0.00208,"44":0.00415,"47":0.00415,"48":0.0083,"49":0.00208,"50":0.00415,"51":0.0083,"52":0.03322,"53":0.00623,"54":0.00208,"55":0.00208,"56":0.00415,"61":0.0083,"63":0.00208,"65":0.01038,"68":0.00415,"69":0.0083,"70":0.03322,"72":0.00208,"73":0.00623,"74":0.00623,"75":0.00208,"77":0.00415,"78":0.01868,"79":0.03114,"80":0.00623,"81":0.02076,"83":0.01246,"84":0.00208,"85":0.01038,"86":0.01246,"87":0.01038,"88":0.05605,"89":0.03114,"90":0.00623,"91":0.01246,"92":0.00415,"93":0.00208,"94":0.02076,"95":0.00415,"96":0.03944,"97":0.00415,"98":0.03114,"99":0.00415,"100":0.11833,"101":0.00208,"102":0.00623,"103":0.01038,"104":0.02699,"105":0.00208,"106":0.08512,"107":0.01246,"108":0.07058,"109":5.06129,"110":0.01661,"111":0.00623,"112":0.0083,"113":0.00208,"114":0.00208,"116":0.01661,"117":0.01246,"118":0.05605,"119":0.05813,"120":0.04982,"121":0.03529,"122":0.14947,"123":0.03322,"124":0.0436,"125":0.06851,"126":0.12041,"127":0.24082,"128":4.3513,"129":1.47396,"130":0.00208,"131":0.00208,_:"4 5 6 7 8 9 10 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 32 33 35 36 37 38 39 40 41 42 43 45 46 57 58 59 60 62 64 66 67 71 76 115 132 133"},F:{"42":0.00208,"46":0.00208,"51":0.00415,"70":0.00208,"79":0.01038,"81":0.00208,"82":0.00623,"83":0.00208,"84":0.00208,"86":0.00623,"94":0.00415,"95":0.0519,"111":0.00208,"112":0.26988,"113":0.11003,"114":0.01868,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 43 44 45 47 48 49 50 52 53 54 55 56 57 58 60 62 63 64 65 66 67 68 69 71 72 73 74 75 76 77 78 80 85 87 88 89 90 91 92 93 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5","11.6":0.00208,"12.1":0.00415},B:{"13":0.00415,"15":0.01038,"16":0.00208,"18":0.00208,"84":0.00208,"88":0.00208,"89":0.00208,"91":0.00208,"92":0.02491,"98":0.00208,"100":0.0083,"104":0.0083,"108":0.00208,"109":0.0083,"112":0.00415,"114":0.00415,"120":0.00208,"125":0.00415,"126":0.00415,"127":0.01038,"128":0.7868,"129":0.40482,_:"12 14 17 79 80 81 83 85 86 87 90 93 94 95 96 97 99 101 102 103 105 106 107 110 111 113 115 116 117 118 119 121 122 123 124 130"},E:{_:"0 4 5 6 7 8 9 10 11 12 13 14 15 3.1 3.2 5.1 6.1 7.1 9.1 10.1 11.1 12.1 13.1 15.1 15.2-15.3 15.4 15.5 16.0 16.1 16.2 16.3 16.5 17.1 17.2 17.3 18.1","14.1":0.00208,"15.6":0.00208,"16.4":0.00415,"16.6":0.00623,"17.0":0.0083,"17.4":0.03737,"17.5":0.00623,"17.6":0.07058,"18.0":0.00623},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.00042,"5.0-5.1":0.00021,"6.0-6.1":0.00127,"7.0-7.1":0.00148,"8.1-8.4":0,"9.0-9.2":0.00127,"9.3":0.0036,"10.0-10.2":0.00106,"10.3":0.00614,"11.0-11.2":0.02264,"11.3-11.4":0.00169,"12.0-12.1":0.00106,"12.2-12.5":0.0256,"13.0-13.1":0.00042,"13.2":0.00804,"13.3":0.00106,"13.4-13.7":0.00423,"14.0-14.4":0.00973,"14.5-14.8":0.01291,"15.0-15.1":0.0074,"15.2-15.3":0.00719,"15.4":0.00825,"15.5":0.01016,"15.6-15.8":0.1005,"16.0":0.02031,"16.1":0.0402,"16.2":0.0201,"16.3":0.03385,"16.4":0.00719,"16.5":0.01418,"16.6-16.7":0.12102,"17.0":0.01016,"17.1":0.01608,"17.2":0.0146,"17.3":0.02095,"17.4":0.04485,"17.5":0.21559,"17.6-17.7":1.14735,"18.0":0.14471,"18.1":0.00656},P:{"4":1.37233,"20":0.03119,"21":0.21832,"22":0.2911,"23":0.11436,"24":0.24951,"25":0.50942,"26":1.24757,"5.0-5.4":0.04159,"6.2-6.4":0.05198,"7.2-7.4":0.89409,"8.2":0.0104,_:"9.2 10.1 11.1-11.2 12.0","13.0":0.03119,"14.0":0.03119,"15.0":0.02079,"16.0":0.04159,"17.0":0.12476,"18.0":0.02079,"19.0":0.06238},I:{"0":0.13434,"3":0,"4":0,"2.1":0,"2.2":0,"2.3":0,"4.1":0.00001,"4.2-4.3":0.00005,"4.4":0,"4.4.3-4.4.4":0.00022},K:{"0":0.20187,_:"10 11 12 11.1 11.5 12.1"},A:{"8":0.00636,"9":0.00848,"11":2.85628,_:"6 7 10 5.5"},N:{_:"10 11"},S:{"2.5":0.00792,_:"3.0-3.1"},J:{_:"7 10"},O:{"0":0.49921},H:{"0":0.02},L:{"0":71.53106},R:{_:"0"},M:{"0":0.00792},Q:{_:"14.9"}}; diff --git a/node_modules/caniuse-lite/data/regions/TN.js b/node_modules/caniuse-lite/data/regions/TN.js index 3cf4b4b5df..ba07d4ad93 100644 --- a/node_modules/caniuse-lite/data/regions/TN.js +++ b/node_modules/caniuse-lite/data/regions/TN.js @@ -1 +1 @@ -module.exports={C:{"48":0.00317,"52":0.02216,"67":0.00317,"68":0.00317,"72":0.00317,"75":0.01266,"78":0.01266,"82":0.00317,"84":0.0095,"88":0.00317,"90":0.00317,"102":0.00633,"103":0.02532,"104":0.00633,"105":0.00317,"107":0.00317,"108":0.00317,"109":0.00317,"111":0.00317,"113":0.00317,"115":0.24054,"116":0.00317,"120":0.00317,"121":0.00317,"122":0.0095,"123":0.01899,"124":0.03165,"125":0.3798,"126":0.33866,"127":0.01266,_:"2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 49 50 51 53 54 55 56 57 58 59 60 61 62 63 64 65 66 69 70 71 73 74 76 77 79 80 81 83 85 86 87 89 91 92 93 94 95 96 97 98 99 100 101 106 110 112 114 117 118 119 128 129 3.5 3.6"},D:{"11":0.00317,"38":0.00317,"39":0.00317,"41":0.00317,"42":0.00317,"43":0.00317,"47":0.00317,"49":0.0633,"50":0.00317,"56":0.0095,"58":0.0728,"60":0.00633,"62":0.00317,"63":0.00317,"65":0.01583,"66":0.00317,"68":0.00317,"69":0.00317,"70":0.01266,"71":0.00317,"72":0.00633,"73":0.0095,"74":0.00633,"76":0.00633,"77":0.00633,"78":0.00317,"79":0.02532,"80":0.0095,"81":0.01899,"83":0.0095,"84":0.00317,"85":0.03798,"86":0.0095,"87":0.05064,"88":0.0095,"89":0.00317,"90":0.00633,"91":0.00633,"92":0.0095,"93":0.00633,"94":0.0095,"95":0.0095,"96":0.00633,"97":0.00633,"98":0.02849,"99":0.01583,"100":0.0095,"101":0.00317,"102":0.03165,"103":0.02849,"104":0.03798,"105":0.01583,"106":0.03482,"107":0.01899,"108":0.03482,"109":4.20312,"110":0.02216,"111":0.01583,"112":0.02216,"113":0.01266,"114":0.02216,"115":0.0095,"116":0.0633,"117":0.0095,"118":0.01583,"119":0.04431,"120":0.08546,"121":0.11394,"122":0.17091,"123":0.5159,"124":11.59656,"125":4.82663,"126":0.0095,"127":0.00317,_:"4 5 6 7 8 9 10 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 40 44 45 46 48 51 52 53 54 55 57 59 61 64 67 75 128"},F:{"36":0.00633,"40":0.00317,"46":0.00317,"65":0.00317,"79":0.00633,"82":0.0095,"83":0.00317,"85":0.00633,"95":0.10445,"102":0.00317,"106":0.00317,"107":0.56021,"108":0.01583,"109":1.94964,"110":0.07913,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 37 38 39 41 42 43 44 45 47 48 49 50 51 52 53 54 55 56 57 58 60 62 63 64 66 67 68 69 70 71 72 73 74 75 76 77 78 80 81 84 86 87 88 89 90 91 92 93 94 96 97 98 99 100 101 103 104 105 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6","12.1":0.01266},B:{"15":0.00317,"16":0.00317,"18":0.00633,"89":0.00317,"92":0.01583,"100":0.00633,"107":0.00633,"109":0.05064,"110":0.00317,"114":0.01266,"116":0.00633,"117":0.00317,"118":0.0095,"119":0.00633,"120":0.01266,"121":0.01899,"122":0.03482,"123":0.0633,"124":1.56668,"125":0.86088,_:"12 13 14 17 79 80 81 83 84 85 86 87 88 90 91 93 94 95 96 97 98 99 101 102 103 104 105 106 108 111 112 113 115"},E:{"14":0.00633,_:"0 4 5 6 7 8 9 10 11 12 13 15 3.1 3.2 5.1 6.1 7.1 9.1 10.1 11.1 12.1 15.2-15.3 17.6","13.1":0.0095,"14.1":0.0095,"15.1":0.00317,"15.4":0.00633,"15.5":0.0095,"15.6":0.02532,"16.0":0.0095,"16.1":0.01266,"16.2":0.00317,"16.3":0.00633,"16.4":0.00633,"16.5":0.00317,"16.6":0.02532,"17.0":0.01583,"17.1":0.00633,"17.2":0.01266,"17.3":0.01266,"17.4":0.08229,"17.5":0.01583},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.00109,"5.0-5.1":0.00109,"6.0-6.1":0.00272,"7.0-7.1":0.0038,"8.1-8.4":0.00109,"9.0-9.2":0.00272,"9.3":0.0125,"10.0-10.2":0.00217,"10.3":0.01956,"11.0-11.2":0.0288,"11.3-11.4":0.00543,"12.0-12.1":0.00326,"12.2-12.5":0.07879,"13.0-13.1":0.00163,"13.2":0.00761,"13.3":0.0038,"13.4-13.7":0.01739,"14.0-14.4":0.02989,"14.5-14.8":0.04619,"15.0-15.1":0.02228,"15.2-15.3":0.02445,"15.4":0.02771,"15.5":0.03478,"15.6-15.8":0.31299,"16.0":0.07118,"16.1":0.14671,"16.2":0.07118,"16.3":0.12335,"16.4":0.02608,"16.5":0.05271,"16.6-16.7":0.42003,"17.0":0.04564,"17.1":0.07444,"17.2":0.0777,"17.3":0.14345,"17.4":3.25758,"17.5":0.22985,"17.6":0},P:{"4":0.16231,"20":0.03043,"21":0.05072,"22":0.06087,"23":0.13188,"24":0.21303,"25":0.99414,_:"5.0-5.4 8.2 10.1 12.0","6.2-6.4":0.02029,"7.2-7.4":0.35505,"9.2":0.01014,"11.1-11.2":0.03043,"13.0":0.02029,"14.0":0.02029,"15.0":0.01014,"16.0":0.03043,"17.0":0.05072,"18.0":0.01014,"19.0":0.04058},I:{"0":0.10893,"3":0,"4":0.00001,"2.1":0,"2.2":0,"2.3":0,"4.1":0.00002,"4.2-4.3":0.00007,"4.4":0,"4.4.3-4.4.4":0.00024},K:{"0":0.36377,_:"10 11 12 11.1 11.5 12.1"},A:{"8":0.00673,"9":0.00336,"11":0.04372,_:"6 7 10 5.5"},S:{"2.5":0.00684,_:"3.0-3.1"},J:{_:"7 10"},N:{_:"10 11"},L:{"0":61.62286},R:{_:"0"},M:{"0":0.06152},Q:{_:"14.9"},O:{"0":0.1162},H:{"0":0.06}}; +module.exports={C:{"51":0.02698,"52":0.03372,"72":0.00337,"75":0.00337,"78":0.00674,"84":0.00337,"102":0.00337,"103":0.01686,"104":0.00674,"106":0.00337,"108":0.00674,"113":0.00674,"115":0.34394,"117":0.00337,"120":0.00337,"122":0.00337,"123":0.00674,"124":0.00337,"125":0.02698,"126":0.00337,"127":0.01349,"128":0.01349,"129":0.1922,"130":0.74521,"131":0.00674,_:"2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 73 74 76 77 79 80 81 82 83 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 105 107 109 110 111 112 114 116 118 119 121 132 133 134 135 3.5 3.6"},D:{"11":0.00337,"42":0.00337,"43":0.00337,"47":0.00337,"49":0.02698,"50":0.00337,"51":0.00337,"52":0.00337,"55":0.00337,"56":0.00674,"58":0.0843,"59":0.00337,"60":0.00337,"62":0.00337,"63":0.00337,"64":0.01012,"65":0.01012,"66":0.00337,"68":0.00337,"69":0.01349,"70":0.01349,"71":0.00337,"72":0.00674,"73":0.00674,"74":0.00674,"75":0.00337,"76":0.00337,"77":0.01012,"78":0.00674,"79":0.03035,"80":0.00674,"81":0.01349,"83":0.01012,"84":0.00337,"85":0.01686,"86":0.01349,"87":0.04046,"88":0.02023,"89":0.00674,"90":0.00674,"91":0.01686,"92":0.01012,"93":0.00674,"94":0.03372,"95":0.01349,"96":0.01349,"97":0.02023,"98":0.02023,"99":0.01686,"100":0.00674,"101":0.00674,"102":0.03035,"103":0.04721,"104":0.04384,"105":0.01012,"106":0.03035,"107":0.03035,"108":0.03709,"109":4.8051,"110":0.01686,"111":0.01012,"112":0.0236,"113":0.00674,"114":0.02698,"115":0.01012,"116":0.0607,"117":0.00674,"118":0.0236,"119":0.04721,"120":0.06744,"121":0.05395,"122":0.08093,"123":0.03709,"124":0.19558,"125":0.0843,"126":0.20906,"127":0.71149,"128":13.28231,"129":4.05314,"130":0.01012,"131":0.00337,_:"4 5 6 7 8 9 10 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 44 45 46 48 53 54 57 61 67 132 133"},F:{"45":0.00337,"46":0.00337,"79":0.01012,"82":0.00674,"84":0.00674,"85":0.01349,"94":0.00337,"95":0.09779,"106":0.01012,"107":0.01012,"108":0.00337,"109":0.05395,"111":0.01349,"112":1.17683,"113":0.85312,"114":0.02023,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 47 48 49 50 51 52 53 54 55 56 57 58 60 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 80 81 83 86 87 88 89 90 91 92 93 96 97 98 99 100 101 102 103 104 105 110 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"18":0.01012,"84":0.00337,"92":0.02698,"96":0.00337,"100":0.00674,"107":0.01012,"109":0.04384,"110":0.00337,"111":0.00337,"114":0.00337,"116":0.00337,"117":0.01012,"118":0.02023,"119":0.00674,"120":0.01349,"121":0.01349,"122":0.01012,"123":0.00337,"124":0.00674,"125":0.01686,"126":0.05058,"127":0.10116,"128":1.76018,"129":0.67103,_:"12 13 14 15 16 17 79 80 81 83 85 86 87 88 89 90 91 93 94 95 97 98 99 101 102 103 104 105 106 108 112 113 115 130"},E:{"14":0.00337,_:"0 4 5 6 7 8 9 10 11 12 13 15 3.1 3.2 5.1 6.1 7.1 9.1 10.1 11.1 15.2-15.3 16.5 18.1","12.1":0.00337,"13.1":0.01349,"14.1":0.01012,"15.1":0.00337,"15.4":0.01349,"15.5":0.00337,"15.6":0.0236,"16.0":0.01012,"16.1":0.01012,"16.2":0.00674,"16.3":0.00674,"16.4":0.00337,"16.6":0.0236,"17.0":0.00337,"17.1":0.00674,"17.2":0.0236,"17.3":0.01012,"17.4":0.06407,"17.5":0.04046,"17.6":0.12814,"18.0":0.06407},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.00097,"5.0-5.1":0.00049,"6.0-6.1":0.00292,"7.0-7.1":0.00341,"8.1-8.4":0,"9.0-9.2":0.00292,"9.3":0.00828,"10.0-10.2":0.00244,"10.3":0.01413,"11.0-11.2":0.05213,"11.3-11.4":0.0039,"12.0-12.1":0.00244,"12.2-12.5":0.05896,"13.0-13.1":0.00097,"13.2":0.01851,"13.3":0.00244,"13.4-13.7":0.00974,"14.0-14.4":0.02241,"14.5-14.8":0.02972,"15.0-15.1":0.01705,"15.2-15.3":0.01657,"15.4":0.019,"15.5":0.02339,"15.6-15.8":0.23143,"16.0":0.04677,"16.1":0.09257,"16.2":0.04629,"16.3":0.07796,"16.4":0.01657,"16.5":0.03264,"16.6-16.7":0.2787,"17.0":0.02339,"17.1":0.03703,"17.2":0.03362,"17.3":0.04824,"17.4":0.10329,"17.5":0.49649,"17.6-17.7":2.64226,"18.0":0.33327,"18.1":0.0151},P:{"4":0.0824,"20":0.0206,"21":0.0309,"22":0.103,"23":0.0618,"24":0.0515,"25":0.19571,"26":1.08155,_:"5.0-5.4 8.2 9.2 10.1 12.0 15.0","6.2-6.4":0.0206,"7.2-7.4":0.22661,"11.1-11.2":0.0103,"13.0":0.0103,"14.0":0.0103,"16.0":0.0103,"17.0":0.0412,"18.0":0.0103,"19.0":0.0309},I:{"0":0.06611,"3":0,"4":0,"2.1":0,"2.2":0,"2.3":0,"4.1":0.00001,"4.2-4.3":0.00003,"4.4":0,"4.4.3-4.4.4":0.00011},K:{"0":0.30482,_:"10 11 12 11.1 11.5 12.1"},A:{"11":0.02698,_:"6 7 8 9 10 5.5"},N:{_:"10 11"},S:{_:"2.5 3.0-3.1"},J:{_:"7 10"},O:{"0":0.12595},H:{"0":0.02},L:{"0":60.43461},R:{_:"0"},M:{"0":0.11269},Q:{_:"14.9"}}; diff --git a/node_modules/caniuse-lite/data/regions/TO.js b/node_modules/caniuse-lite/data/regions/TO.js index ef6a6d60f7..83162c1533 100644 --- a/node_modules/caniuse-lite/data/regions/TO.js +++ b/node_modules/caniuse-lite/data/regions/TO.js @@ -1 +1 @@ -module.exports={C:{"115":0.08272,"120":0.00517,"124":0.10857,"125":0.41877,"126":0.517,_:"2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 116 117 118 119 121 122 123 127 128 129 3.5 3.6"},D:{"41":0.00517,"68":0.00517,"74":0.04136,"81":0.00517,"83":0.00517,"89":0.06204,"94":0.00517,"95":0.03102,"102":0.0517,"103":0.02068,"104":0.02068,"105":0.01551,"109":0.23265,"114":0.04136,"116":0.44462,"117":0.25333,"118":0.53768,"119":0.00517,"120":0.39292,"121":0.0517,"122":1.36488,"123":2.52813,"124":10.2883,"125":4.83912,_:"4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 69 70 71 72 73 75 76 77 78 79 80 84 85 86 87 88 90 91 92 93 96 97 98 99 100 101 106 107 108 110 111 112 113 115 126 127 128"},F:{"107":0.04136,"109":0.12925,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 60 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 108 110 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"12":0.08272,"16":0.00517,"17":0.03619,"18":0.01034,"92":0.02068,"100":0.01551,"103":0.03102,"108":0.49632,"109":0.1551,"111":0.00517,"112":0.00517,"113":0.01034,"115":0.06204,"116":0.03102,"117":0.01034,"118":0.01034,"119":0.03619,"120":0.28435,"121":0.03619,"122":0.64625,"123":0.23782,"124":11.52393,"125":3.24159,_:"13 14 15 79 80 81 83 84 85 86 87 88 89 90 91 93 94 95 96 97 98 99 101 102 104 105 106 107 110 114"},E:{"12":0.01034,"14":0.02585,_:"0 4 5 6 7 8 9 10 11 13 15 3.1 3.2 5.1 6.1 7.1 9.1 10.1 14.1 15.1 16.0 16.5 17.6","11.1":0.05687,"12.1":0.00517,"13.1":0.01034,"15.2-15.3":0.00517,"15.4":0.02585,"15.5":0.01034,"15.6":0.48081,"16.1":0.03102,"16.2":0.04136,"16.3":0.07755,"16.4":0.07238,"16.6":1.12706,"17.0":0.01034,"17.1":0.01551,"17.2":0.04653,"17.3":0.12408,"17.4":0.66693,"17.5":0.48081},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.00231,"5.0-5.1":0.00231,"6.0-6.1":0.00576,"7.0-7.1":0.00807,"8.1-8.4":0.00231,"9.0-9.2":0.00576,"9.3":0.02652,"10.0-10.2":0.00461,"10.3":0.04151,"11.0-11.2":0.0611,"11.3-11.4":0.01153,"12.0-12.1":0.00692,"12.2-12.5":0.16717,"13.0-13.1":0.00346,"13.2":0.01614,"13.3":0.00807,"13.4-13.7":0.03689,"14.0-14.4":0.06341,"14.5-14.8":0.098,"15.0-15.1":0.04727,"15.2-15.3":0.05188,"15.4":0.0588,"15.5":0.07379,"15.6-15.8":0.66408,"16.0":0.15103,"16.1":0.31129,"16.2":0.15103,"16.3":0.26171,"16.4":0.05534,"16.5":0.11183,"16.6-16.7":0.89121,"17.0":0.09685,"17.1":0.15795,"17.2":0.16487,"17.3":0.30437,"17.4":6.91176,"17.5":0.48769,"17.6":0},P:{"4":0.01023,"20":0.04093,"21":0.14325,"22":0.06139,"23":0.13302,"24":0.31719,"25":0.66508,"5.0-5.4":0.02046,_:"6.2-6.4 8.2 9.2 11.1-11.2 12.0 14.0 17.0","7.2-7.4":0.02046,"10.1":0.01023,"13.0":0.01023,"15.0":0.01023,"16.0":0.02046,"18.0":0.0307,"19.0":0.06139},I:{"0":0.06736,"3":0,"4":0.00001,"2.1":0,"2.2":0,"2.3":0,"4.1":0.00001,"4.2-4.3":0.00004,"4.4":0,"4.4.3-4.4.4":0.00015},K:{"0":0.06279,_:"10 11 12 11.1 11.5 12.1"},A:{"11":0.02585,_:"6 7 8 9 10 5.5"},S:{_:"2.5 3.0-3.1"},J:{_:"7 10"},N:{_:"10 11"},L:{"0":36.767},R:{_:"0"},M:{"0":0.07245},Q:{_:"14.9"},O:{"0":0.00966},H:{"0":0}}; +module.exports={C:{"115":0.01102,"127":0.21497,"128":0.01102,"129":0.56774,"130":1.6095,"132":0.01102,_:"2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 116 117 118 119 120 121 122 123 124 125 126 131 133 134 135 3.5 3.6"},D:{"54":0.00551,"79":0.11575,"98":0.00551,"102":0.01102,"103":0.02205,"109":0.26458,"110":0.02205,"111":0.00551,"113":0.01102,"116":0.65593,"119":0.03307,"120":0.0441,"121":0.00551,"122":0.06614,"124":0.01654,"125":0.04961,"126":0.53466,"127":1.02523,"128":10.5665,"129":4.74032,_:"4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 80 81 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 99 100 101 104 105 106 107 108 112 114 115 117 118 123 130 131 132 133"},F:{"112":0.01654,"113":0.03858,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 60 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 114 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"18":0.05512,"92":0.0441,"103":0.02205,"108":0.05512,"109":0.26458,"112":0.02205,"115":0.05512,"116":0.00551,"120":0.02205,"121":0.00551,"122":0.46301,"124":0.02205,"125":0.42442,"126":0.2315,"127":0.42442,"128":9.03968,"129":1.81345,"130":0.03858,_:"12 13 14 15 16 17 79 80 81 83 84 85 86 87 88 89 90 91 93 94 95 96 97 98 99 100 101 102 104 105 106 107 110 111 113 114 117 118 119 123"},E:{_:"0 4 5 6 7 8 9 10 11 12 13 14 15 3.1 3.2 5.1 6.1 7.1 9.1 10.1 11.1 15.4 16.4 17.3 18.1","12.1":0.06614,"13.1":0.01102,"14.1":0.02205,"15.1":0.03307,"15.2-15.3":0.00551,"15.5":0.01654,"15.6":0.0937,"16.0":0.00551,"16.1":0.01102,"16.2":0.05512,"16.3":0.04961,"16.5":0.01102,"16.6":0.05512,"17.0":0.04961,"17.1":0.1378,"17.2":0.00551,"17.4":0.03858,"17.5":0.08819,"17.6":0.23702,"18.0":0.01102},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.0022,"5.0-5.1":0.0011,"6.0-6.1":0.00659,"7.0-7.1":0.00769,"8.1-8.4":0,"9.0-9.2":0.00659,"9.3":0.01867,"10.0-10.2":0.00549,"10.3":0.03185,"11.0-11.2":0.11753,"11.3-11.4":0.00879,"12.0-12.1":0.00549,"12.2-12.5":0.13291,"13.0-13.1":0.0022,"13.2":0.04174,"13.3":0.00549,"13.4-13.7":0.02197,"14.0-14.4":0.05053,"14.5-14.8":0.067,"15.0-15.1":0.03844,"15.2-15.3":0.03735,"15.4":0.04284,"15.5":0.05272,"15.6-15.8":0.52175,"16.0":0.10545,"16.1":0.2087,"16.2":0.10435,"16.3":0.17575,"16.4":0.03735,"16.5":0.07359,"16.6-16.7":0.62829,"17.0":0.05272,"17.1":0.08348,"17.2":0.07579,"17.3":0.10874,"17.4":0.23286,"17.5":1.11929,"17.6-17.7":5.95672,"18.0":0.75132,"18.1":0.03405},P:{"20":0.01057,"21":0.01057,"22":0.10574,"23":0.3278,"24":0.06345,"25":0.07402,"26":0.79307,_:"4 5.0-5.4 6.2-6.4 8.2 9.2 12.0 14.0 15.0 17.0 18.0","7.2-7.4":0.01057,"10.1":0.01057,"11.1-11.2":0.0423,"13.0":0.02115,"16.0":0.01057,"19.0":0.03172},I:{"0":0.0716,"3":0,"4":0,"2.1":0,"2.2":0,"2.3":0,"4.1":0.00001,"4.2-4.3":0.00003,"4.4":0,"4.4.3-4.4.4":0.00011},K:{"0":0.14358,_:"10 11 12 11.1 11.5 12.1"},A:{"10":0.06614,_:"6 7 8 9 11 5.5"},N:{_:"10 11"},S:{_:"2.5 3.0-3.1"},J:{_:"7 10"},O:{"0":2.12684},H:{"0":0},L:{"0":34.61374},R:{_:"0"},M:{"0":0.07628},Q:{_:"14.9"}}; diff --git a/node_modules/caniuse-lite/data/regions/TR.js b/node_modules/caniuse-lite/data/regions/TR.js index a03999d655..e77d527c9b 100644 --- a/node_modules/caniuse-lite/data/regions/TR.js +++ b/node_modules/caniuse-lite/data/regions/TR.js @@ -1 +1 @@ -module.exports={C:{"48":0.00225,"51":0.00225,"52":0.00451,"72":0.00225,"78":0.00225,"86":0.00225,"88":0.00676,"102":0.00225,"103":0.00225,"105":0.00225,"106":0.00225,"108":0.00225,"110":0.00225,"111":0.00225,"115":0.11721,"121":0.00225,"122":0.00225,"123":0.00225,"124":0.00676,"125":0.18934,"126":0.16229,_:"2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 49 50 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 73 74 75 76 77 79 80 81 82 83 84 85 87 89 90 91 92 93 94 95 96 97 98 99 100 101 104 107 109 112 113 114 116 117 118 119 120 127 128 129 3.5 3.6"},D:{"22":0.00451,"26":0.03606,"34":0.0834,"38":0.13524,"39":0.00225,"41":0.00225,"43":0.00225,"47":0.04283,"49":0.09241,"50":0.00225,"53":0.00902,"56":0.00225,"58":0.00225,"60":0.00676,"61":0.00225,"63":0.00225,"65":0.00225,"66":0.00225,"67":0.00451,"68":0.00451,"69":0.00225,"70":0.00225,"71":0.00225,"72":0.00225,"73":0.01578,"75":0.00225,"76":0.00225,"77":0.00225,"78":0.00225,"79":0.33134,"80":0.00902,"81":0.00451,"83":0.03832,"84":0.00225,"85":0.0293,"86":0.00676,"87":0.23667,"88":0.00902,"89":0.00451,"90":0.00451,"91":0.00451,"92":0.00451,"93":0.00225,"94":0.07664,"95":0.00451,"96":0.04508,"97":0.00451,"98":0.00676,"99":0.04733,"100":0.00902,"101":0.00451,"102":0.00676,"103":0.01803,"104":0.00902,"105":0.00676,"106":0.02479,"107":0.01578,"108":0.02254,"109":2.66423,"110":0.01127,"111":0.01352,"112":0.02254,"113":0.01127,"114":0.01803,"115":0.01803,"116":0.04959,"117":0.01127,"118":0.01803,"119":0.04283,"120":0.09467,"121":0.05184,"122":0.10143,"123":0.27048,"124":7.81687,"125":3.15109,"126":0.00451,_:"4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 23 24 25 27 28 29 30 31 32 33 35 36 37 40 42 44 45 46 48 51 52 54 55 57 59 62 64 74 127 128"},F:{"25":0.00225,"28":0.01127,"31":0.00902,"32":0.00676,"36":0.00676,"40":0.04508,"46":0.12172,"79":0.00451,"82":0.00225,"85":0.00451,"86":0.00225,"95":0.04959,"102":0.00225,"106":0.00225,"107":0.25019,"108":0.01127,"109":0.96697,"110":0.04959,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 26 27 29 30 33 34 35 37 38 39 41 42 43 44 45 47 48 49 50 51 52 53 54 55 56 57 58 60 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 80 81 83 84 87 88 89 90 91 92 93 94 96 97 98 99 100 101 103 104 105 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"12":0.00225,"13":0.00225,"14":0.00225,"15":0.00225,"16":0.00225,"17":0.00225,"18":0.00902,"92":0.00676,"100":0.00225,"107":0.00225,"108":0.00225,"109":0.08565,"110":0.00225,"111":0.00225,"112":0.00225,"113":0.00225,"114":0.00451,"115":0.00225,"116":0.00225,"117":0.00451,"118":0.00225,"119":0.00676,"120":0.01127,"121":0.00902,"122":0.01578,"123":0.03381,"124":1.19462,"125":0.70325,_:"79 80 81 83 84 85 86 87 88 89 90 91 93 94 95 96 97 98 99 101 102 103 104 105 106"},E:{"13":0.00225,"14":0.01127,"15":0.00225,_:"0 4 5 6 7 8 9 10 11 12 3.1 3.2 5.1 6.1 7.1 9.1 10.1 11.1 17.6","12.1":0.00225,"13.1":0.01127,"14.1":0.01578,"15.1":0.00225,"15.2-15.3":0.00225,"15.4":0.00676,"15.5":0.00451,"15.6":0.06086,"16.0":0.00451,"16.1":0.01352,"16.2":0.01127,"16.3":0.02479,"16.4":0.00676,"16.5":0.01352,"16.6":0.06086,"17.0":0.00902,"17.1":0.01578,"17.2":0.02479,"17.3":0.01803,"17.4":0.2547,"17.5":0.03156},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.00241,"5.0-5.1":0.00241,"6.0-6.1":0.00602,"7.0-7.1":0.00843,"8.1-8.4":0.00241,"9.0-9.2":0.00602,"9.3":0.02769,"10.0-10.2":0.00481,"10.3":0.04333,"11.0-11.2":0.0638,"11.3-11.4":0.01204,"12.0-12.1":0.00722,"12.2-12.5":0.17454,"13.0-13.1":0.00361,"13.2":0.01685,"13.3":0.00843,"13.4-13.7":0.03852,"14.0-14.4":0.06621,"14.5-14.8":0.10232,"15.0-15.1":0.04935,"15.2-15.3":0.05417,"15.4":0.06139,"15.5":0.07704,"15.6-15.8":0.69335,"16.0":0.15769,"16.1":0.32501,"16.2":0.15769,"16.3":0.27325,"16.4":0.05778,"16.5":0.11676,"16.6-16.7":0.93048,"17.0":0.10111,"17.1":0.16491,"17.2":0.17213,"17.3":0.31778,"17.4":7.21635,"17.5":0.50918,"17.6":0},P:{"4":0.52935,"20":0.03054,"21":0.11198,"22":0.06108,"23":0.23414,"24":0.27486,"25":2.06651,"5.0-5.4":0.04072,"6.2-6.4":0.03054,"7.2-7.4":0.11198,_:"8.2 10.1 15.0","9.2":0.02036,"11.1-11.2":0.01018,"12.0":0.01018,"13.0":0.04072,"14.0":0.01018,"16.0":0.02036,"17.0":0.07126,"18.0":0.01018,"19.0":0.03054},I:{"0":0.03086,"3":0,"4":0,"2.1":0,"2.2":0,"2.3":0,"4.1":0.00001,"4.2-4.3":0.00002,"4.4":0,"4.4.3-4.4.4":0.00007},K:{"0":0.90628,_:"10 11 12 11.1 11.5 12.1"},A:{"8":0.00228,"9":0.00228,"11":0.16448,_:"6 7 10 5.5"},S:{"2.5":0.00775,_:"3.0-3.1"},J:{_:"7 10"},N:{_:"10 11"},L:{"0":59.8771},R:{_:"0"},M:{"0":0.09295},Q:{_:"14.9"},O:{"0":0.10844},H:{"0":0}}; +module.exports={C:{"4":0.00234,"47":0.00234,"48":0.00234,"51":0.00234,"52":0.01171,"72":0.00234,"78":0.00234,"85":0.00468,"88":0.00468,"102":0.00234,"115":0.13578,"125":0.01405,"126":0.00234,"127":0.00234,"128":0.00234,"129":0.05853,"130":0.31135,_:"2 3 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 49 50 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 73 74 75 76 77 79 80 81 82 83 84 86 87 89 90 91 92 93 94 95 96 97 98 99 100 101 103 104 105 106 107 108 109 110 111 112 113 114 116 117 118 119 120 121 122 123 124 131 132 133 134 135 3.5 3.6"},D:{"11":0.00234,"22":0.00234,"26":0.02341,"34":0.01171,"38":0.02107,"43":0.00234,"47":0.03043,"49":0.02107,"50":0.00234,"52":0.00234,"53":0.00702,"55":0.00234,"56":0.01873,"58":0.00234,"59":0.00234,"63":0.00234,"65":0.00234,"66":0.00234,"67":0.00234,"68":0.00234,"69":0.00234,"70":0.00468,"71":0.00234,"72":0.00234,"73":0.01639,"75":0.00234,"76":0.00234,"77":0.00234,"78":0.00234,"79":0.3371,"80":0.00936,"81":0.00468,"83":0.05618,"84":0.00468,"85":0.02341,"86":0.00702,"87":0.25283,"88":0.00936,"89":0.00468,"90":0.00468,"91":0.01639,"92":0.00468,"93":0.00234,"94":0.07725,"95":0.00936,"96":0.00468,"97":0.00468,"98":0.00702,"99":0.05618,"100":0.00234,"101":0.00702,"102":0.00468,"103":0.01639,"104":0.00468,"105":0.00468,"106":0.03043,"107":0.01639,"108":0.02809,"109":2.83729,"110":0.02107,"111":0.01405,"112":0.01405,"113":0.00936,"114":0.00936,"115":0.00702,"116":0.02809,"117":0.01171,"118":0.02341,"119":0.02809,"120":0.02809,"121":0.02107,"122":0.04916,"123":0.03746,"124":0.16621,"125":0.0398,"126":0.08428,"127":0.34881,"128":7.96408,"129":2.96839,"130":0.00468,"131":0.00234,_:"4 5 6 7 8 9 10 12 13 14 15 16 17 18 19 20 21 23 24 25 27 28 29 30 31 32 33 35 36 37 39 40 41 42 44 45 46 48 51 54 57 60 61 62 64 74 132 133"},F:{"28":0.00234,"31":0.00468,"32":0.01171,"36":0.00702,"40":0.06321,"46":0.14046,"79":0.00468,"83":0.00234,"84":0.02107,"85":0.00468,"86":0.00234,"95":0.04916,"102":0.00234,"109":0.02107,"110":0.00234,"111":0.00468,"112":0.6906,"113":0.46118,"114":0.00468,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 29 30 33 34 35 37 38 39 41 42 43 44 45 47 48 49 50 51 52 53 54 55 56 57 58 60 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 80 81 82 87 88 89 90 91 92 93 94 96 97 98 99 100 101 103 104 105 106 107 108 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"13":0.00234,"14":0.00468,"15":0.00234,"16":0.00234,"17":0.00468,"18":0.00936,"92":0.00702,"100":0.00234,"107":0.00234,"108":0.00234,"109":0.11237,"110":0.00234,"111":0.00234,"114":0.00234,"115":0.00234,"116":0.00234,"117":0.00234,"118":0.00234,"119":0.00234,"120":0.00468,"121":0.00468,"122":0.00702,"123":0.00468,"124":0.00702,"125":0.00936,"126":0.02107,"127":0.06087,"128":1.4444,"129":0.71635,_:"12 79 80 81 83 84 85 86 87 88 89 90 91 93 94 95 96 97 98 99 101 102 103 104 105 106 112 113 130"},E:{"10":0.00234,"13":0.00234,"14":0.00702,"15":0.00234,_:"0 4 5 6 7 8 9 11 12 3.1 3.2 5.1 6.1 7.1 9.1 10.1 11.1","12.1":0.00234,"13.1":0.00936,"14.1":0.01873,"15.1":0.00234,"15.2-15.3":0.00234,"15.4":0.00468,"15.5":0.00468,"15.6":0.07725,"16.0":0.01171,"16.1":0.00936,"16.2":0.00702,"16.3":0.01873,"16.4":0.00468,"16.5":0.01171,"16.6":0.06087,"17.0":0.00468,"17.1":0.00936,"17.2":0.00936,"17.3":0.00936,"17.4":0.04214,"17.5":0.06789,"17.6":0.25283,"18.0":0.0515,"18.1":0.00234},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.00243,"5.0-5.1":0.00122,"6.0-6.1":0.0073,"7.0-7.1":0.00852,"8.1-8.4":0,"9.0-9.2":0.0073,"9.3":0.02069,"10.0-10.2":0.00609,"10.3":0.03529,"11.0-11.2":0.13022,"11.3-11.4":0.00974,"12.0-12.1":0.00609,"12.2-12.5":0.14726,"13.0-13.1":0.00243,"13.2":0.04625,"13.3":0.00609,"13.4-13.7":0.02434,"14.0-14.4":0.05598,"14.5-14.8":0.07424,"15.0-15.1":0.0426,"15.2-15.3":0.04138,"15.4":0.04746,"15.5":0.05842,"15.6-15.8":0.57808,"16.0":0.11683,"16.1":0.23123,"16.2":0.11562,"16.3":0.19472,"16.4":0.04138,"16.5":0.08154,"16.6-16.7":0.69613,"17.0":0.05842,"17.1":0.09249,"17.2":0.08397,"17.3":0.12048,"17.4":0.25801,"17.5":1.24014,"17.6-17.7":6.59987,"18.0":0.83244,"18.1":0.03773},P:{"4":0.26654,"20":0.03075,"21":0.10252,"22":0.06151,"23":0.06151,"24":0.06151,"25":0.26654,"26":2.04008,"5.0-5.4":0.04101,"6.2-6.4":0.04101,"7.2-7.4":0.10252,_:"8.2 10.1 15.0","9.2":0.01025,"11.1-11.2":0.01025,"12.0":0.01025,"13.0":0.03075,"14.0":0.01025,"16.0":0.0205,"17.0":0.08201,"18.0":0.01025,"19.0":0.0205},I:{"0":0.02291,"3":0,"4":0,"2.1":0,"2.2":0,"2.3":0,"4.1":0,"4.2-4.3":0.00001,"4.4":0,"4.4.3-4.4.4":0.00004},K:{"0":0.79654,_:"10 11 12 11.1 11.5 12.1"},A:{"8":0.00247,"9":0.00247,"11":0.08167,_:"6 7 10 5.5"},N:{_:"10 11"},S:{_:"2.5 3.0-3.1"},J:{_:"7 10"},O:{"0":0.09191},H:{"0":0},L:{"0":58.40725},R:{_:"0"},M:{"0":0.1302},Q:{_:"14.9"}}; diff --git a/node_modules/caniuse-lite/data/regions/TT.js b/node_modules/caniuse-lite/data/regions/TT.js index 62ad8d6594..56655771c8 100644 --- a/node_modules/caniuse-lite/data/regions/TT.js +++ b/node_modules/caniuse-lite/data/regions/TT.js @@ -1 +1 @@ -module.exports={C:{"31":0.00391,"52":0.01563,"78":0.00391,"87":0.00391,"88":0.01172,"102":0.00781,"103":0.00781,"115":0.10549,"121":0.03126,"123":0.00391,"124":0.01954,"125":0.5001,"126":0.53135,_:"2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 79 80 81 82 83 84 85 86 89 90 91 92 93 94 95 96 97 98 99 100 101 104 105 106 107 108 109 110 111 112 113 114 116 117 118 119 120 122 127 128 129 3.5 3.6"},D:{"38":0.00391,"49":0.03126,"53":0.00391,"56":0.00391,"58":0.00781,"62":0.00391,"65":0.00391,"67":0.00391,"69":0.00391,"70":0.00391,"75":0.00391,"76":0.00781,"79":0.02344,"81":0.00781,"83":0.00781,"84":0.00781,"85":0.00391,"87":0.01954,"88":0.00391,"89":0.00781,"90":0.00391,"91":0.01563,"93":0.06642,"94":0.02735,"95":0.01563,"96":0.00781,"97":0.00391,"98":0.03126,"99":0.01172,"100":0.01172,"101":0.00391,"102":0.01172,"103":0.35163,"104":0.02735,"105":0.00391,"106":0.00781,"107":0.00391,"108":0.01172,"109":1.98476,"110":0.00391,"111":0.04298,"112":0.00391,"113":0.00781,"114":0.01563,"115":0.01172,"116":0.13675,"117":0.00391,"118":0.01563,"119":0.18754,"120":0.14065,"121":0.04298,"122":0.26177,"123":1.29322,"124":14.80362,"125":5.57529,"126":0.01954,_:"4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 39 40 41 42 43 44 45 46 47 48 50 51 52 54 55 57 59 60 61 63 64 66 68 71 72 73 74 77 78 80 86 92 127 128"},F:{"28":0.00391,"95":0.01563,"107":0.34382,"108":0.01172,"109":0.91033,"110":0.04298,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 60 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 96 97 98 99 100 101 102 103 104 105 106 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"12":0.00391,"13":0.1094,"15":0.21879,"17":0.00391,"18":0.00391,"90":0.00391,"91":0.00391,"92":0.00391,"98":0.00391,"108":0.00391,"109":0.10158,"111":0.00391,"113":0.00391,"117":0.00391,"119":0.01954,"120":0.01563,"121":0.00781,"122":0.02735,"123":0.17582,"124":4.39928,"125":1.6761,_:"14 16 79 80 81 83 84 85 86 87 88 89 93 94 95 96 97 99 100 101 102 103 104 105 106 107 110 112 114 115 116 118"},E:{"14":0.00391,"15":0.01172,_:"0 4 5 6 7 8 9 10 11 12 13 3.1 3.2 5.1 6.1 7.1 9.1 10.1 11.1 12.1 15.2-15.3 17.6","13.1":0.04688,"14.1":0.13284,"15.1":0.00391,"15.4":0.01172,"15.5":0.01954,"15.6":0.10549,"16.0":0.01172,"16.1":0.01954,"16.2":0.02344,"16.3":0.02344,"16.4":0.00781,"16.5":0.02344,"16.6":0.15237,"17.0":0.02344,"17.1":0.08595,"17.2":0.05861,"17.3":0.08205,"17.4":1.04708,"17.5":0.22661},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.00336,"5.0-5.1":0.00336,"6.0-6.1":0.00839,"7.0-7.1":0.01175,"8.1-8.4":0.00336,"9.0-9.2":0.00839,"9.3":0.03861,"10.0-10.2":0.00671,"10.3":0.06043,"11.0-11.2":0.08897,"11.3-11.4":0.01679,"12.0-12.1":0.01007,"12.2-12.5":0.2434,"13.0-13.1":0.00504,"13.2":0.0235,"13.3":0.01175,"13.4-13.7":0.05372,"14.0-14.4":0.09232,"14.5-14.8":0.14268,"15.0-15.1":0.06882,"15.2-15.3":0.07554,"15.4":0.08561,"15.5":0.10743,"15.6-15.8":0.96689,"16.0":0.2199,"16.1":0.45323,"16.2":0.2199,"16.3":0.38105,"16.4":0.08057,"16.5":0.16283,"16.6-16.7":1.29757,"17.0":0.141,"17.1":0.22997,"17.2":0.24004,"17.3":0.44316,"17.4":10.06334,"17.5":0.71006,"17.6":0},P:{"4":0.2066,"20":0.01087,"21":0.13049,"22":0.06524,"23":0.14136,"24":0.29359,"25":4.00158,_:"5.0-5.4 8.2 10.1 12.0 14.0 15.0","6.2-6.4":0.01087,"7.2-7.4":0.13049,"9.2":0.01087,"11.1-11.2":0.01087,"13.0":0.01087,"16.0":0.01087,"17.0":0.03262,"18.0":0.01087,"19.0":0.02175},I:{"0":0.01821,"3":0,"4":0,"2.1":0,"2.2":0,"2.3":0,"4.1":0,"4.2-4.3":0.00001,"4.4":0,"4.4.3-4.4.4":0.00004},K:{"0":0.23763,_:"10 11 12 11.1 11.5 12.1"},A:{"10":0.00391,"11":0.00391,_:"6 7 8 9 5.5"},S:{_:"2.5 3.0-3.1"},J:{_:"7 10"},N:{_:"10 11"},L:{"0":40.24475},R:{_:"0"},M:{"0":0.28637},Q:{_:"14.9"},O:{"0":0.09749},H:{"0":0}}; +module.exports={C:{"4":0.00378,"52":0.00378,"78":0.00755,"102":0.00378,"103":0.00755,"110":0.00378,"115":0.11328,"121":0.03021,"124":0.00378,"127":0.01133,"128":0.01133,"129":0.23789,"130":0.99686,_:"2 3 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 104 105 106 107 108 109 111 112 113 114 116 117 118 119 120 122 123 125 126 131 132 133 134 135 3.5 3.6"},D:{"49":0.00378,"56":0.00378,"59":0.01133,"69":0.04154,"70":0.0151,"74":0.00378,"76":0.00755,"77":0.00378,"79":0.04531,"81":0.00378,"83":0.02643,"87":0.02266,"88":0.00755,"89":0.00378,"91":0.01888,"92":0.00755,"93":0.06419,"94":0.02266,"95":0.00755,"96":0.00378,"98":0.00755,"99":0.00378,"101":0.00378,"102":0.00755,"103":0.40781,"104":0.03776,"105":0.00378,"106":0.00755,"107":0.00378,"108":0.00378,"109":1.54438,"110":0.00755,"111":0.0151,"112":0.00378,"114":0.00378,"115":0.00378,"116":0.24544,"117":0.00378,"118":0.00378,"119":0.03021,"120":0.03776,"121":0.01133,"122":0.11706,"123":0.04154,"124":0.04154,"125":0.05286,"126":0.35872,"127":1.42355,"128":15.5911,"129":4.49722,"130":0.00755,_:"4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 50 51 52 53 54 55 57 58 60 61 62 63 64 65 66 67 68 71 72 73 75 78 80 84 85 86 90 97 100 113 131 132 133"},F:{"84":0.00378,"86":0.00378,"95":0.01133,"102":0.00378,"109":0.01888,"111":0.00755,"112":0.66835,"113":0.39648,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 60 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 85 87 88 89 90 91 92 93 94 96 97 98 99 100 101 103 104 105 106 107 108 110 114 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"13":0.02266,"18":0.00755,"90":0.00378,"92":0.00378,"96":0.00755,"107":0.00378,"109":0.08685,"114":0.00378,"117":0.00378,"119":0.00378,"120":0.00378,"121":0.02266,"122":0.00378,"123":0.00378,"124":0.00755,"125":0.01888,"126":0.07174,"127":0.18502,"128":3.58342,"129":1.18566,_:"12 14 15 16 17 79 80 81 83 84 85 86 87 88 89 91 93 94 95 97 98 99 100 101 102 103 104 105 106 108 110 111 112 113 115 116 118 130"},E:{"13":0.00378,"14":0.00378,"15":0.00378,_:"0 4 5 6 7 8 9 10 11 12 3.1 3.2 5.1 6.1 7.1 9.1 10.1 11.1","12.1":0.00378,"13.1":0.06797,"14.1":0.05286,"15.1":0.00378,"15.2-15.3":0.00378,"15.4":0.0151,"15.5":0.02643,"15.6":0.26054,"16.0":0.06042,"16.1":0.0151,"16.2":0.04531,"16.3":0.03776,"16.4":0.00378,"16.5":0.04154,"16.6":0.39648,"17.0":0.0151,"17.1":0.02643,"17.2":0.01133,"17.3":0.28698,"17.4":0.12083,"17.5":0.43046,"17.6":1.3367,"18.0":0.2832,"18.1":0.04154},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.00491,"5.0-5.1":0.00245,"6.0-6.1":0.01473,"7.0-7.1":0.01718,"8.1-8.4":0,"9.0-9.2":0.01473,"9.3":0.04173,"10.0-10.2":0.01227,"10.3":0.07119,"11.0-11.2":0.26266,"11.3-11.4":0.01964,"12.0-12.1":0.01227,"12.2-12.5":0.29702,"13.0-13.1":0.00491,"13.2":0.09328,"13.3":0.01227,"13.4-13.7":0.04909,"14.0-14.4":0.11292,"14.5-14.8":0.14974,"15.0-15.1":0.08592,"15.2-15.3":0.08346,"15.4":0.09574,"15.5":0.11783,"15.6-15.8":1.166,"16.0":0.23566,"16.1":0.4664,"16.2":0.2332,"16.3":0.39276,"16.4":0.08346,"16.5":0.16447,"16.6-16.7":1.40411,"17.0":0.11783,"17.1":0.18656,"17.2":0.16938,"17.3":0.24302,"17.4":0.52041,"17.5":2.50139,"17.6-17.7":13.31209,"18.0":1.67905,"18.1":0.0761},P:{"4":0.22689,"21":0.07563,"22":0.07563,"23":0.04322,"24":0.09724,"25":0.2485,"26":3.38181,_:"20 8.2 9.2 10.1 12.0 13.0 14.0 15.0 16.0 18.0","5.0-5.4":0.0108,"6.2-6.4":0.0108,"7.2-7.4":0.14046,"11.1-11.2":0.0108,"17.0":0.08644,"19.0":0.0108},I:{"0":0.01241,"3":0,"4":0,"2.1":0,"2.2":0,"2.3":0,"4.1":0,"4.2-4.3":0,"4.4":0,"4.4.3-4.4.4":0.00002},K:{"0":0.24896,_:"10 11 12 11.1 11.5 12.1"},A:{"11":0.00755,_:"6 7 8 9 10 5.5"},N:{_:"10 11"},S:{_:"2.5 3.0-3.1"},J:{_:"7 10"},O:{"0":0.08091},H:{"0":0},L:{"0":33.76046},R:{_:"0"},M:{"0":0.23651},Q:{_:"14.9"}}; diff --git a/node_modules/caniuse-lite/data/regions/TV.js b/node_modules/caniuse-lite/data/regions/TV.js index 41d10c2caa..5f022a9095 100644 --- a/node_modules/caniuse-lite/data/regions/TV.js +++ b/node_modules/caniuse-lite/data/regions/TV.js @@ -1 +1 @@ -module.exports={C:{"122":0.65624,"125":4.57727,"126":0.65624,_:"2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 123 124 127 128 129 3.5 3.6"},D:{"109":0.98436,"122":0.32812,"124":19.93329,"125":4.90539,_:"4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 110 111 112 113 114 115 116 117 118 119 120 121 123 126 127 128"},F:{"109":10.78695,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 60 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 110 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"106":0.65624,"122":0.32812,"123":0.65624,"124":15.0361,"125":22.22193,_:"12 13 14 15 16 17 18 79 80 81 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121"},E:{_:"0 4 5 6 7 8 9 10 11 12 13 14 15 3.1 3.2 5.1 6.1 7.1 9.1 10.1 11.1 12.1 13.1 14.1 15.1 15.2-15.3 15.4 15.5 15.6 16.0 16.1 16.2 16.4 16.5 16.6 17.0 17.1 17.2 17.3 17.4 17.5 17.6","16.3":0.32812},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0,"5.0-5.1":0,"6.0-6.1":0,"7.0-7.1":0,"8.1-8.4":0,"9.0-9.2":0,"9.3":0,"10.0-10.2":0,"10.3":0,"11.0-11.2":0,"11.3-11.4":0,"12.0-12.1":0,"12.2-12.5":0,"13.0-13.1":0,"13.2":0,"13.3":0,"13.4-13.7":0,"14.0-14.4":0,"14.5-14.8":0,"15.0-15.1":0,"15.2-15.3":0,"15.4":0,"15.5":0,"15.6-15.8":0,"16.0":0,"16.1":0,"16.2":0,"16.3":0,"16.4":0,"16.5":0,"16.6-16.7":0,"17.0":0,"17.1":0,"17.2":0,"17.3":0,"17.4":0,"17.5":0,"17.6":0},P:{"25":0.32705,_:"4 20 21 22 23 24 5.0-5.4 6.2-6.4 7.2-7.4 8.2 9.2 10.1 11.1-11.2 12.0 13.0 14.0 15.0 16.0 17.0 18.0 19.0"},I:{"0":0,"3":0,"4":0,"2.1":0,"2.2":0,"2.3":0,"4.1":0,"4.2-4.3":0,"4.4":0,"4.4.3-4.4.4":0},K:{"0":0,_:"10 11 12 11.1 11.5 12.1"},A:{_:"6 7 8 9 10 11 5.5"},S:{_:"2.5 3.0-3.1"},J:{_:"7 10"},N:{_:"10 11"},L:{"0":17.64295},R:{_:"0"},M:{_:"0"},Q:{_:"14.9"},O:{_:"0"},H:{"0":0}}; +module.exports={C:{_:"2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 3.5 3.6"},D:{"109":7.13922,"128":37.3,"129":3.96872,_:"4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 130 131 132 133"},F:{"112":6.34846,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 60 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 113 114 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"109":0.79076,"128":11.90616,"129":7.13922,_:"12 13 14 15 16 17 18 79 80 81 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 130"},E:{_:"0 4 5 6 7 8 9 10 11 12 13 14 15 3.1 3.2 5.1 6.1 7.1 9.1 10.1 11.1 12.1 13.1 14.1 15.1 15.2-15.3 15.4 15.5 15.6 16.0 16.1 16.2 16.3 16.4 16.5 16.6 17.0 17.1 17.2 17.3 17.4 17.5 17.6 18.0 18.1"},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0,"5.0-5.1":0,"6.0-6.1":0,"7.0-7.1":0,"8.1-8.4":0,"9.0-9.2":0,"9.3":0,"10.0-10.2":0,"10.3":0,"11.0-11.2":0,"11.3-11.4":0,"12.0-12.1":0,"12.2-12.5":0,"13.0-13.1":0,"13.2":0,"13.3":0,"13.4-13.7":0,"14.0-14.4":0,"14.5-14.8":0,"15.0-15.1":0,"15.2-15.3":0,"15.4":0,"15.5":0,"15.6-15.8":0,"16.0":0,"16.1":0,"16.2":0,"16.3":0,"16.4":0,"16.5":0,"16.6-16.7":0,"17.0":0,"17.1":0,"17.2":0,"17.3":0,"17.4":0,"17.5":0,"17.6-17.7":0,"18.0":0,"18.1":0},P:{_:"4 20 21 22 23 24 25 26 5.0-5.4 6.2-6.4 7.2-7.4 8.2 9.2 10.1 11.1-11.2 12.0 13.0 14.0 15.0 16.0 17.0 18.0 19.0"},I:{"0":0,"3":0,"4":0,"2.1":0,"2.2":0,"2.3":0,"4.1":0,"4.2-4.3":0,"4.4":0,"4.4.3-4.4.4":0},K:{"0":0,_:"10 11 12 11.1 11.5 12.1"},A:{_:"6 7 8 9 10 11 5.5"},N:{_:"10 11"},S:{_:"2.5 3.0-3.1"},J:{_:"7 10"},O:{_:"0"},H:{"0":0},L:{"0":25.4},R:{_:"0"},M:{_:"0"},Q:{_:"14.9"}}; diff --git a/node_modules/caniuse-lite/data/regions/TW.js b/node_modules/caniuse-lite/data/regions/TW.js index 5f456218a7..a52aefcd5a 100644 --- a/node_modules/caniuse-lite/data/regions/TW.js +++ b/node_modules/caniuse-lite/data/regions/TW.js @@ -1 +1 @@ -module.exports={C:{"34":0.03083,"52":0.0044,"78":0.0044,"88":0.01321,"102":0.0044,"103":0.00881,"115":0.16735,"121":0.0044,"122":0.0044,"123":0.0044,"124":0.01762,"125":0.35672,"126":0.31268,_:"2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 79 80 81 82 83 84 85 86 87 89 90 91 92 93 94 95 96 97 98 99 100 101 104 105 106 107 108 109 110 111 112 113 114 116 117 118 119 120 127 128 129 3.5 3.6"},D:{"11":0.00881,"26":0.0044,"30":0.00881,"33":0.00881,"34":0.02202,"38":0.07046,"45":0.0044,"49":0.03523,"53":0.04844,"55":0.0044,"56":0.01762,"61":0.04404,"63":0.0044,"64":0.0044,"65":0.00881,"66":0.00881,"67":0.00881,"68":0.0044,"69":0.0044,"70":0.0044,"71":0.00881,"72":0.0044,"73":0.02642,"74":0.01762,"75":0.0044,"76":0.0044,"77":0.0044,"78":0.0044,"79":0.43159,"80":0.00881,"81":0.02202,"83":0.02202,"84":0.0044,"85":0.0044,"86":0.01321,"87":0.29947,"88":0.0044,"89":0.00881,"90":0.00881,"91":0.00881,"92":0.0044,"93":0.0044,"94":0.08368,"95":0.01321,"96":0.00881,"97":0.02202,"98":0.00881,"99":0.01762,"100":0.00881,"101":0.01321,"102":0.02642,"103":0.07046,"104":0.02202,"105":0.01321,"106":0.01762,"107":0.01321,"108":0.03964,"109":3.42191,"110":0.01762,"111":0.01762,"112":0.01321,"113":0.00881,"114":0.02202,"115":0.01762,"116":0.13652,"117":0.01762,"118":0.03083,"119":0.08808,"120":0.1101,"121":0.1145,"122":0.18056,"123":0.73106,"124":17.43984,"125":6.80418,"126":0.01762,"127":0.0044,_:"4 5 6 7 8 9 10 12 13 14 15 16 17 18 19 20 21 22 23 24 25 27 28 29 31 32 35 36 37 39 40 41 42 43 44 46 47 48 50 51 52 54 57 58 59 60 62 128"},F:{"28":0.01321,"36":0.01762,"40":0.0044,"46":0.1057,"95":0.01321,"107":0.0044,"108":0.0044,"109":0.08808,"110":0.00881,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 29 30 31 32 33 34 35 37 38 39 41 42 43 44 45 47 48 49 50 51 52 53 54 55 56 57 58 60 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 96 97 98 99 100 101 102 103 104 105 106 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"14":0.0044,"17":0.0044,"18":0.00881,"84":0.0044,"92":0.0044,"98":0.0044,"106":0.0044,"107":0.0044,"108":0.00881,"109":0.09689,"110":0.0044,"111":0.0044,"112":0.0044,"113":0.00881,"114":0.0044,"115":0.00881,"116":0.0044,"117":0.0044,"118":0.0044,"119":0.00881,"120":0.01762,"121":0.01321,"122":0.02642,"123":0.08808,"124":2.54111,"125":1.47534,_:"12 13 15 16 79 80 81 83 85 86 87 88 89 90 91 93 94 95 96 97 99 100 101 102 103 104 105"},E:{"13":0.03083,"14":0.10129,"15":0.01762,_:"0 4 5 6 7 8 9 10 11 12 3.1 3.2 5.1 6.1 7.1 9.1 10.1 17.6","11.1":0.0044,"12.1":0.02202,"13.1":0.07927,"14.1":0.27745,"15.1":0.03083,"15.2-15.3":0.02642,"15.4":0.09689,"15.5":0.14974,"15.6":0.59454,"16.0":0.03083,"16.1":0.12772,"16.2":0.07927,"16.3":0.22901,"16.4":0.04844,"16.5":0.13212,"16.6":0.74428,"17.0":0.03523,"17.1":0.13652,"17.2":0.13652,"17.3":0.2158,"17.4":3.07399,"17.5":0.14974},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.00525,"5.0-5.1":0.00525,"6.0-6.1":0.01312,"7.0-7.1":0.01836,"8.1-8.4":0.00525,"9.0-9.2":0.01312,"9.3":0.06034,"10.0-10.2":0.01049,"10.3":0.09444,"11.0-11.2":0.13904,"11.3-11.4":0.02623,"12.0-12.1":0.01574,"12.2-12.5":0.38039,"13.0-13.1":0.00787,"13.2":0.03673,"13.3":0.01836,"13.4-13.7":0.08395,"14.0-14.4":0.14429,"14.5-14.8":0.22299,"15.0-15.1":0.10756,"15.2-15.3":0.11805,"15.4":0.13379,"15.5":0.1679,"15.6-15.8":1.51108,"16.0":0.34367,"16.1":0.70832,"16.2":0.34367,"16.3":0.59551,"16.4":0.12592,"16.5":0.25447,"16.6-16.7":2.02789,"17.0":0.22037,"17.1":0.35941,"17.2":0.37515,"17.3":0.69258,"17.4":15.72731,"17.5":1.1097,"17.6":0},P:{"4":0.67148,"20":0.03414,"21":0.07967,"22":0.10243,"23":0.1821,"24":0.43248,"25":2.48105,"5.0-5.4":0.11381,"6.2-6.4":0.0569,_:"7.2-7.4 8.2 10.1 12.0","9.2":0.01138,"11.1-11.2":0.03414,"13.0":0.03414,"14.0":0.01138,"15.0":0.01138,"16.0":0.02276,"17.0":0.04552,"18.0":0.02276,"19.0":0.03414},I:{"0":0.01115,"3":0,"4":0,"2.1":0,"2.2":0,"2.3":0,"4.1":0,"4.2-4.3":0.00001,"4.4":0,"4.4.3-4.4.4":0.00002},K:{"0":0.15669,_:"10 11 12 11.1 11.5 12.1"},A:{"8":0.00699,"11":0.11191,_:"6 7 9 10 5.5"},S:{_:"2.5 3.0-3.1"},J:{_:"7 10"},N:{_:"10 11"},L:{"0":25.45171},R:{_:"0"},M:{"0":0.12311},Q:{"14.9":0.0056},O:{"0":0.10073},H:{"0":0}}; +module.exports={C:{"34":0.00434,"52":0.00434,"78":0.00434,"88":0.00434,"102":0.00434,"103":0.00869,"115":0.14332,"124":0.00434,"125":0.00434,"126":0.00434,"127":0.00869,"128":0.00869,"129":0.1216,"130":0.52985,"131":0.00434,_:"2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 79 80 81 82 83 84 85 86 87 89 90 91 92 93 94 95 96 97 98 99 100 101 104 105 106 107 108 109 110 111 112 113 114 116 117 118 119 120 121 122 123 132 133 134 135 3.5 3.6"},D:{"11":0.00869,"17":0.04343,"26":0.00434,"30":0.00434,"34":0.01737,"38":0.0608,"45":0.00434,"48":0.01303,"49":0.03909,"53":0.03909,"55":0.00434,"56":0.01303,"61":0.04343,"65":0.00434,"66":0.00869,"67":0.00869,"68":0.00434,"70":0.00434,"71":0.00434,"72":0.00434,"73":0.0304,"74":0.01737,"75":0.00434,"76":0.00869,"77":0.00434,"78":0.00434,"79":0.37784,"80":0.00869,"81":0.01737,"83":0.01737,"84":0.00434,"85":0.00434,"86":0.0608,"87":0.30835,"88":0.00434,"89":0.01303,"90":0.00434,"91":0.02172,"92":0.00434,"94":0.10423,"95":0.00869,"96":0.00869,"97":0.01303,"98":0.00434,"99":0.00869,"100":0.00434,"101":0.01303,"102":0.01737,"103":0.05646,"104":0.02172,"105":0.00869,"106":0.01737,"107":0.01303,"108":0.02606,"109":2.84901,"110":0.01303,"111":0.01303,"112":0.00869,"113":0.00869,"114":0.02172,"115":0.00869,"116":0.11726,"117":0.01303,"118":0.03474,"119":0.06515,"120":0.05212,"121":0.05646,"122":0.06515,"123":0.04343,"124":0.08686,"125":0.0608,"126":0.19978,"127":0.9294,"128":18.21454,"129":5.38098,"130":0.01303,"131":0.00434,_:"4 5 6 7 8 9 10 12 13 14 15 16 18 19 20 21 22 23 24 25 27 28 29 31 32 33 35 36 37 39 40 41 42 43 44 46 47 50 51 52 54 57 58 59 60 62 63 64 69 93 132 133"},F:{"28":0.00434,"36":0.01303,"46":0.09555,"84":0.00869,"95":0.01303,"112":0.06949,"113":0.0304,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 29 30 31 32 33 34 35 37 38 39 40 41 42 43 44 45 47 48 49 50 51 52 53 54 55 56 57 58 60 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 85 86 87 88 89 90 91 92 93 94 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 114 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"17":0.00434,"18":0.00434,"92":0.00434,"108":0.00434,"109":0.08252,"110":0.00434,"111":0.00434,"112":0.00434,"113":0.00434,"114":0.00434,"115":0.00434,"116":0.00434,"117":0.00434,"118":0.00434,"119":0.00434,"120":0.00869,"121":0.00869,"122":0.00869,"123":0.00869,"124":0.00869,"125":0.01303,"126":0.03474,"127":0.12595,"128":3.03141,"129":1.19867,_:"12 13 14 15 16 79 80 81 83 84 85 86 87 88 89 90 91 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 130"},E:{"12":0.00434,"13":0.02606,"14":0.08252,"15":0.01303,_:"0 4 5 6 7 8 9 10 11 3.1 3.2 5.1 6.1 7.1 9.1 10.1 11.1","12.1":0.01737,"13.1":0.06949,"14.1":0.22584,"15.1":0.02606,"15.2-15.3":0.01737,"15.4":0.06949,"15.5":0.1216,"15.6":0.53419,"16.0":0.0304,"16.1":0.09555,"16.2":0.0608,"16.3":0.16938,"16.4":0.03474,"16.5":0.09555,"16.6":0.62974,"17.0":0.02606,"17.1":0.07383,"17.2":0.06515,"17.3":0.08252,"17.4":0.16938,"17.5":0.76871,"17.6":3.07919,"18.0":0.1216,"18.1":0.00434},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.00511,"5.0-5.1":0.00256,"6.0-6.1":0.01533,"7.0-7.1":0.01789,"8.1-8.4":0,"9.0-9.2":0.01533,"9.3":0.04345,"10.0-10.2":0.01278,"10.3":0.07412,"11.0-11.2":0.27347,"11.3-11.4":0.02045,"12.0-12.1":0.01278,"12.2-12.5":0.30926,"13.0-13.1":0.00511,"13.2":0.09712,"13.3":0.01278,"13.4-13.7":0.05112,"14.0-14.4":0.11757,"14.5-14.8":0.15591,"15.0-15.1":0.08945,"15.2-15.3":0.0869,"15.4":0.09968,"15.5":0.12268,"15.6-15.8":1.21402,"16.0":0.24536,"16.1":0.48561,"16.2":0.2428,"16.3":0.40893,"16.4":0.0869,"16.5":0.17124,"16.6-16.7":1.46194,"17.0":0.12268,"17.1":0.19424,"17.2":0.17635,"17.3":0.25303,"17.4":0.54184,"17.5":2.60439,"17.6-17.7":13.86028,"18.0":1.74819,"18.1":0.07923},P:{"4":0.64828,"20":0.02275,"21":0.06824,"22":0.07961,"23":0.09099,"24":0.12511,"25":0.43219,"26":2.51352,"5.0-5.4":0.12511,"6.2-6.4":0.06824,"7.2-7.4":0.01137,_:"8.2 10.1 12.0 14.0","9.2":0.01137,"11.1-11.2":0.01137,"13.0":0.02275,"15.0":0.01137,"16.0":0.02275,"17.0":0.02275,"18.0":0.02275,"19.0":0.02275},I:{"0":0.01693,"3":0,"4":0,"2.1":0,"2.2":0,"2.3":0,"4.1":0,"4.2-4.3":0.00001,"4.4":0,"4.4.3-4.4.4":0.00003},K:{"0":0.14143,_:"10 11 12 11.1 11.5 12.1"},A:{"8":0.04169,"9":0.00695,"10":0.0139,"11":0.11118,_:"6 7 5.5"},N:{_:"10 11"},S:{_:"2.5 3.0-3.1"},J:{_:"7 10"},O:{"0":0.09617},H:{"0":0},L:{"0":26.81011},R:{_:"0"},M:{"0":0.14143},Q:{"14.9":0.01697}}; diff --git a/node_modules/caniuse-lite/data/regions/TZ.js b/node_modules/caniuse-lite/data/regions/TZ.js index 74ad0b3f2f..5d05c57da8 100644 --- a/node_modules/caniuse-lite/data/regions/TZ.js +++ b/node_modules/caniuse-lite/data/regions/TZ.js @@ -1 +1 @@ -module.exports={C:{"29":0.00306,"34":0.00153,"42":0.00153,"43":0.00765,"44":0.00153,"47":0.00153,"52":0.00612,"68":0.00153,"72":0.00153,"78":0.00306,"82":0.00153,"88":0.00153,"91":0.00459,"94":0.00153,"95":0.00153,"96":0.00153,"102":0.04893,"104":0.00306,"109":0.00153,"111":0.00153,"112":0.00306,"113":0.00459,"114":0.00153,"115":0.14678,"116":0.00153,"117":0.00153,"118":0.00153,"119":0.00153,"120":0.00153,"121":0.00153,"122":0.00153,"123":0.02446,"124":0.02905,"125":0.45106,"126":0.5168,"127":0.01835,_:"2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 30 31 32 33 35 36 37 38 39 40 41 45 46 48 49 50 51 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 69 70 71 73 74 75 76 77 79 80 81 83 84 85 86 87 89 90 92 93 97 98 99 100 101 103 105 106 107 108 110 128 129 3.5 3.6"},D:{"11":0.00306,"37":0.00153,"39":0.00153,"43":0.00153,"49":0.00153,"50":0.00153,"55":0.00306,"59":0.00153,"61":0.00153,"62":0.00153,"63":0.00306,"64":0.00153,"65":0.00153,"68":0.00765,"69":0.00917,"70":0.00612,"71":0.00306,"72":0.00153,"73":0.00153,"74":0.00153,"75":0.00306,"77":0.00306,"78":0.00153,"79":0.01682,"80":0.00612,"81":0.00459,"83":0.00306,"84":0.00153,"85":0.00153,"86":0.00306,"87":0.01682,"88":0.01376,"89":0.00459,"90":0.01529,"91":0.00306,"92":0.00153,"93":0.00459,"94":0.05963,"95":0.00306,"96":0.00153,"97":0.00306,"98":0.00153,"99":0.13608,"100":0.00306,"101":0.00459,"102":0.00612,"103":0.03211,"104":0.00153,"105":0.00612,"106":0.00612,"107":0.00765,"108":0.01682,"109":0.53209,"110":0.00459,"111":0.01835,"112":0.01835,"113":0.01682,"114":0.00765,"115":0.00459,"116":0.06422,"117":0.01223,"118":0.01835,"119":0.03364,"120":0.05199,"121":0.03823,"122":0.07645,"123":0.24158,"124":4.43104,"125":1.80422,"126":0.00306,_:"4 5 6 7 8 9 10 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 38 40 41 42 44 45 46 47 48 51 52 53 54 56 57 58 60 66 67 76 127 128"},F:{"31":0.00153,"37":0.00306,"52":0.00153,"74":0.00153,"79":0.00306,"80":0.00459,"82":0.00306,"95":0.03211,"106":0.00153,"107":0.0107,"108":0.01223,"109":0.28745,"110":0.0367,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 32 33 34 35 36 38 39 40 41 42 43 44 45 46 47 48 49 50 51 53 54 55 56 57 58 60 62 63 64 65 66 67 68 69 70 71 72 73 75 76 77 78 81 83 84 85 86 87 88 89 90 91 92 93 94 96 97 98 99 100 101 102 103 104 105 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"12":0.0107,"13":0.01223,"14":0.00306,"15":0.00765,"16":0.0107,"17":0.00612,"18":0.05046,"84":0.00765,"89":0.0107,"90":0.01223,"91":0.00459,"92":0.02599,"100":0.00765,"103":0.00153,"107":0.00153,"108":0.00153,"109":0.00765,"110":0.00153,"111":0.00153,"112":0.00153,"113":0.00153,"114":0.00153,"115":0.00153,"116":0.00153,"117":0.00153,"118":0.00306,"119":0.00765,"120":0.01223,"121":0.0107,"122":0.02141,"123":0.04281,"124":0.99232,"125":0.46787,_:"79 80 81 83 85 86 87 88 93 94 95 96 97 98 99 101 102 104 105 106"},E:{"14":0.00306,_:"0 4 5 6 7 8 9 10 11 12 13 15 3.1 3.2 6.1 7.1 9.1 10.1 17.6","5.1":0.00153,"11.1":0.00306,"12.1":0.0107,"13.1":0.00917,"14.1":0.0107,"15.1":0.00153,"15.2-15.3":0.00153,"15.4":0.00153,"15.5":0.00306,"15.6":0.01835,"16.0":0.00306,"16.1":0.01376,"16.2":0.00153,"16.3":0.00765,"16.4":0.00459,"16.5":0.00612,"16.6":0.02446,"17.0":0.00306,"17.1":0.00917,"17.2":0.01529,"17.3":0.01223,"17.4":0.11315,"17.5":0.02294},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.00072,"5.0-5.1":0.00072,"6.0-6.1":0.0018,"7.0-7.1":0.00253,"8.1-8.4":0.00072,"9.0-9.2":0.0018,"9.3":0.0083,"10.0-10.2":0.00144,"10.3":0.01299,"11.0-11.2":0.01912,"11.3-11.4":0.00361,"12.0-12.1":0.00216,"12.2-12.5":0.05232,"13.0-13.1":0.00108,"13.2":0.00505,"13.3":0.00253,"13.4-13.7":0.01155,"14.0-14.4":0.01985,"14.5-14.8":0.03067,"15.0-15.1":0.01479,"15.2-15.3":0.01624,"15.4":0.0184,"15.5":0.02309,"15.6-15.8":0.20783,"16.0":0.04727,"16.1":0.09742,"16.2":0.04727,"16.3":0.08191,"16.4":0.01732,"16.5":0.035,"16.6-16.7":0.27892,"17.0":0.03031,"17.1":0.04943,"17.2":0.0516,"17.3":0.09526,"17.4":2.16313,"17.5":0.15263,"17.6":0},P:{"4":0.1315,"20":0.01012,"21":0.05058,"22":0.15173,"23":0.11127,"24":0.17196,"25":0.44507,"5.0-5.4":0.02023,"6.2-6.4":0.01012,"7.2-7.4":0.06069,_:"8.2 10.1 12.0 15.0","9.2":0.03035,"11.1-11.2":0.04046,"13.0":0.01012,"14.0":0.02023,"16.0":0.03035,"17.0":0.02023,"18.0":0.01012,"19.0":0.08092},I:{"0":0.0675,"3":0,"4":0.00001,"2.1":0,"2.2":0,"2.3":0,"4.1":0.00001,"4.2-4.3":0.00004,"4.4":0,"4.4.3-4.4.4":0.00015},K:{"0":7.61203,_:"10 11 12 11.1 11.5 12.1"},A:{"8":0.0024,"11":0.01442,_:"6 7 9 10 5.5"},S:{"2.5":1.63471,_:"3.0-3.1"},J:{_:"7 10"},N:{_:"10 11"},L:{"0":62.6747},R:{_:"0"},M:{"0":0.06776},Q:{"14.9":0.00847},O:{"0":0.34727},H:{"0":10.59}}; +module.exports={C:{"34":0.00187,"38":0.00187,"40":0.00187,"43":0.00187,"47":0.00187,"52":0.00374,"68":0.00374,"72":0.00374,"78":0.00561,"91":0.0131,"92":0.00187,"102":0.00187,"103":0.01123,"110":0.00187,"112":0.00187,"114":0.00187,"115":0.17775,"123":0.00187,"124":0.00561,"125":0.00561,"126":0.00187,"127":0.01684,"128":0.00748,"129":0.16839,"130":0.62491,"131":0.02432,_:"2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 35 36 37 39 41 42 44 45 46 48 49 50 51 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 69 70 71 73 74 75 76 77 79 80 81 82 83 84 85 86 87 88 89 90 93 94 95 96 97 98 99 100 101 104 105 106 107 108 109 111 113 116 117 118 119 120 121 122 132 133 134 135 3.5 3.6"},D:{"11":0.00187,"29":0.00187,"37":0.00187,"49":0.02058,"55":0.00374,"58":0.00187,"59":0.00374,"61":0.00187,"62":0.00187,"63":0.00187,"64":0.00187,"65":0.00187,"66":0.00187,"68":0.00748,"69":0.00187,"70":0.00561,"71":0.00374,"72":0.00187,"73":0.00187,"74":0.00374,"75":0.00187,"76":0.00561,"77":0.00374,"78":0.00187,"79":0.00748,"80":0.00561,"83":0.00374,"86":0.00374,"87":0.0131,"88":0.00936,"89":0.00187,"90":0.0131,"91":0.00187,"92":0.00374,"93":0.00374,"94":0.07858,"95":0.00561,"96":0.00187,"97":0.00187,"98":0.00561,"99":0.12536,"100":0.00374,"101":0.00374,"102":0.00374,"103":0.03555,"104":0.02058,"105":0.00187,"106":0.00374,"107":0.00561,"108":0.00561,"109":0.66795,"110":0.00374,"111":0.00748,"112":0.01123,"113":0.00748,"114":0.00561,"115":0.01123,"116":0.0449,"117":0.01684,"118":0.00936,"119":0.01684,"120":0.02994,"121":0.0131,"122":0.04865,"123":0.02245,"124":0.03368,"125":0.06923,"126":0.11039,"127":0.4322,"128":5.65603,"129":1.84481,"130":0.00187,"131":0.00374,_:"4 5 6 7 8 9 10 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 30 31 32 33 34 35 36 38 39 40 41 42 43 44 45 46 47 48 50 51 52 53 54 56 57 60 67 81 84 85 132 133"},F:{"30":0.00187,"37":0.00187,"46":0.00374,"79":0.00936,"83":0.01497,"84":0.02058,"90":0.00187,"95":0.03181,"102":0.00187,"107":0.00561,"108":0.00374,"109":0.00187,"110":0.00187,"111":0.00187,"112":0.35175,"113":0.18336,"114":0.00561,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 31 32 33 34 35 36 38 39 40 41 42 43 44 45 47 48 49 50 51 52 53 54 55 56 57 58 60 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 80 81 82 85 86 87 88 89 91 92 93 94 96 97 98 99 100 101 103 104 105 106 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"12":0.00748,"13":0.00374,"14":0.00187,"15":0.00936,"16":0.00561,"17":0.00187,"18":0.02432,"84":0.00187,"89":0.00374,"90":0.00936,"91":0.00187,"92":0.02619,"100":0.00748,"101":0.00187,"108":0.00374,"109":0.01684,"110":0.00187,"112":0.00187,"114":0.00374,"116":0.00561,"117":0.00187,"118":0.00187,"119":0.00374,"120":0.00374,"121":0.00187,"122":0.00936,"123":0.00374,"124":0.00936,"125":0.01871,"126":0.02619,"127":0.06923,"128":1.23486,"129":0.41349,_:"79 80 81 83 85 86 87 88 93 94 95 96 97 98 99 102 103 104 105 106 107 111 113 115 130"},E:{"11":0.00374,"12":0.00187,"13":0.00374,"14":0.00187,"15":0.00187,_:"0 4 5 6 7 8 9 10 3.1 3.2 6.1 7.1 9.1 15.4 15.5","5.1":0.00374,"10.1":0.00187,"11.1":0.00187,"12.1":0.00748,"13.1":0.01684,"14.1":0.0131,"15.1":0.00936,"15.2-15.3":0.00187,"15.6":0.02058,"16.0":0.00187,"16.1":0.00561,"16.2":0.00187,"16.3":0.01497,"16.4":0.00374,"16.5":0.00374,"16.6":0.02245,"17.0":0.00187,"17.1":0.00374,"17.2":0.00374,"17.3":0.00748,"17.4":0.0131,"17.5":0.03555,"17.6":0.12536,"18.0":0.02432,"18.1":0.00187},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.00077,"5.0-5.1":0.00038,"6.0-6.1":0.0023,"7.0-7.1":0.00269,"8.1-8.4":0,"9.0-9.2":0.0023,"9.3":0.00652,"10.0-10.2":0.00192,"10.3":0.01113,"11.0-11.2":0.04105,"11.3-11.4":0.00307,"12.0-12.1":0.00192,"12.2-12.5":0.04643,"13.0-13.1":0.00077,"13.2":0.01458,"13.3":0.00192,"13.4-13.7":0.00767,"14.0-14.4":0.01765,"14.5-14.8":0.02341,"15.0-15.1":0.01343,"15.2-15.3":0.01305,"15.4":0.01496,"15.5":0.01842,"15.6-15.8":0.18225,"16.0":0.03683,"16.1":0.0729,"16.2":0.03645,"16.3":0.06139,"16.4":0.01305,"16.5":0.02571,"16.6-16.7":0.21947,"17.0":0.01842,"17.1":0.02916,"17.2":0.02647,"17.3":0.03799,"17.4":0.08134,"17.5":0.39098,"17.6-17.7":2.08074,"18.0":0.26244,"18.1":0.01189},P:{"4":0.06108,"20":0.02036,"21":0.0509,"22":0.24433,"23":0.07126,"24":0.19343,"25":0.38686,"26":0.71264,"5.0-5.4":0.02036,"6.2-6.4":0.01018,"7.2-7.4":0.09163,_:"8.2 10.1 12.0 15.0","9.2":0.0509,"11.1-11.2":0.04072,"13.0":0.01018,"14.0":0.02036,"16.0":0.04072,"17.0":0.02036,"18.0":0.01018,"19.0":0.08144},I:{"0":0.09728,"3":0,"4":0,"2.1":0,"2.2":0,"2.3":0,"4.1":0.00001,"4.2-4.3":0.00004,"4.4":0,"4.4.3-4.4.4":0.00016},K:{"0":6.56775,_:"10 11 12 11.1 11.5 12.1"},A:{"11":0.00936,_:"6 7 8 9 10 5.5"},N:{_:"10 11"},S:{"2.5":1.09742,_:"3.0-3.1"},J:{_:"7 10"},O:{"0":0.37393},H:{"0":6.65},L:{"0":65.1732},R:{_:"0"},M:{"0":0.09755},Q:{_:"14.9"}}; diff --git a/node_modules/caniuse-lite/data/regions/UA.js b/node_modules/caniuse-lite/data/regions/UA.js index 8b88f39b52..5620a31d54 100644 --- a/node_modules/caniuse-lite/data/regions/UA.js +++ b/node_modules/caniuse-lite/data/regions/UA.js @@ -1 +1 @@ -module.exports={C:{"34":0.00591,"38":0.00591,"44":0.00591,"49":0.00591,"52":0.17142,"55":0.00591,"56":0.07093,"57":0.00591,"68":0.01773,"72":0.00591,"75":0.00591,"78":0.01182,"81":0.00591,"82":0.00591,"83":0.01773,"84":0.00591,"88":0.01182,"91":0.00591,"98":0.00591,"102":0.02364,"103":0.07093,"104":0.00591,"105":0.01773,"106":0.02364,"107":0.01773,"108":0.02364,"109":0.02364,"110":0.02364,"111":0.01773,"113":0.00591,"115":0.78616,"116":0.00591,"117":0.00591,"118":0.01182,"119":0.01773,"120":0.01182,"121":0.01182,"122":0.02364,"123":0.02956,"124":0.04729,"125":1.03443,"126":0.83936,"127":0.00591,_:"2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 35 36 37 39 40 41 42 43 45 46 47 48 50 51 53 54 58 59 60 61 62 63 64 65 66 67 69 70 71 73 74 76 77 79 80 85 86 87 89 90 92 93 94 95 96 97 99 100 101 112 114 128 129 3.5 3.6"},D:{"11":0.01182,"41":0.00591,"42":0.00591,"45":0.00591,"48":0.00591,"49":0.08867,"54":0.00591,"56":0.00591,"57":0.00591,"61":0.01182,"63":0.00591,"70":0.00591,"71":0.00591,"73":0.00591,"74":0.00591,"75":0.00591,"76":0.00591,"78":0.00591,"79":0.03547,"80":0.01773,"81":0.01182,"83":0.02364,"84":0.01182,"85":0.04138,"86":0.01773,"87":0.04138,"88":0.00591,"89":0.01182,"90":0.01182,"91":0.01182,"92":0.00591,"93":0.00591,"94":0.00591,"95":0.00591,"96":0.01182,"97":0.02956,"98":0.02364,"99":0.01182,"100":0.01182,"101":0.01182,"102":0.09458,"103":0.07684,"104":0.11822,"105":0.0532,"106":0.14778,"107":0.16551,"108":0.25417,"109":4.10223,"110":0.11822,"111":0.11231,"112":0.13595,"113":0.1064,"114":0.13595,"115":0.03547,"116":0.11231,"117":0.07093,"118":0.08867,"119":0.23053,"120":0.33102,"121":0.16551,"122":0.28964,"123":1.05216,"124":18.83836,"125":7.41239,"126":0.02364,"127":0.01773,_:"4 5 6 7 8 9 10 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 43 44 46 47 50 51 52 53 55 58 59 60 62 64 65 66 67 68 69 72 77 128"},F:{"36":0.02956,"46":0.00591,"51":0.00591,"57":0.01182,"64":0.00591,"69":0.00591,"77":0.00591,"79":0.05911,"80":0.01182,"82":0.01182,"83":0.01773,"84":0.01182,"85":0.0532,"86":0.02956,"87":0.01182,"89":0.00591,"90":0.00591,"91":0.00591,"92":0.00591,"93":0.00591,"94":0.01182,"95":0.92212,"96":0.00591,"97":0.00591,"98":0.00591,"99":0.01182,"102":0.01182,"105":0.00591,"106":0.00591,"107":0.36648,"108":0.07093,"109":3.88944,"110":0.33693,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 37 38 39 40 41 42 43 44 45 47 48 49 50 52 53 54 55 56 58 60 62 63 65 66 67 68 70 71 72 73 74 75 76 78 81 88 100 101 103 104 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6","12.1":0.06502},B:{"12":0.00591,"13":0.00591,"18":0.00591,"92":0.01182,"103":0.00591,"105":0.00591,"106":0.01773,"107":0.02956,"108":0.02956,"109":0.07093,"110":0.01773,"111":0.01182,"112":0.00591,"113":0.00591,"114":0.00591,"116":0.02364,"117":0.00591,"118":0.00591,"119":0.00591,"120":0.01182,"121":0.01182,"122":0.01182,"123":0.04729,"124":5.27852,"125":2.85501,_:"14 15 16 17 79 80 81 83 84 85 86 87 88 89 90 91 93 94 95 96 97 98 99 100 101 102 104 115"},E:{"9":0.00591,"14":0.01182,"15":0.00591,_:"0 4 5 6 7 8 10 11 12 13 3.1 3.2 6.1 7.1 10.1 11.1 17.6","5.1":0.02364,"9.1":0.00591,"12.1":0.01773,"13.1":0.02364,"14.1":0.03547,"15.1":0.01182,"15.2-15.3":0.00591,"15.4":0.00591,"15.5":0.01182,"15.6":0.11231,"16.0":0.01182,"16.1":0.02956,"16.2":0.01182,"16.3":0.04729,"16.4":0.01773,"16.5":0.02956,"16.6":0.1596,"17.0":0.04138,"17.1":0.04729,"17.2":0.05911,"17.3":0.06502,"17.4":0.66203,"17.5":0.11231},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.00185,"5.0-5.1":0.00185,"6.0-6.1":0.00463,"7.0-7.1":0.00648,"8.1-8.4":0.00185,"9.0-9.2":0.00463,"9.3":0.02128,"10.0-10.2":0.0037,"10.3":0.03331,"11.0-11.2":0.04903,"11.3-11.4":0.00925,"12.0-12.1":0.00555,"12.2-12.5":0.13415,"13.0-13.1":0.00278,"13.2":0.01295,"13.3":0.00648,"13.4-13.7":0.02961,"14.0-14.4":0.05088,"14.5-14.8":0.07864,"15.0-15.1":0.03793,"15.2-15.3":0.04163,"15.4":0.04718,"15.5":0.05921,"15.6-15.8":0.53289,"16.0":0.1212,"16.1":0.24979,"16.2":0.1212,"16.3":0.21001,"16.4":0.04441,"16.5":0.08974,"16.6-16.7":0.71515,"17.0":0.07771,"17.1":0.12675,"17.2":0.1323,"17.3":0.24424,"17.4":5.54632,"17.5":0.39134,"17.6":0},P:{"4":0.04298,"20":0.03223,"21":0.03223,"22":0.03223,"23":0.06447,"24":0.10744,"25":0.96699,_:"5.0-5.4 6.2-6.4 8.2 9.2 10.1 11.1-11.2 12.0 13.0 14.0 16.0","7.2-7.4":0.02149,"15.0":0.01074,"17.0":0.02149,"18.0":0.01074,"19.0":0.01074},I:{"0":0.03259,"3":0,"4":0,"2.1":0,"2.2":0,"2.3":0,"4.1":0.00001,"4.2-4.3":0.00002,"4.4":0,"4.4.3-4.4.4":0.00007},K:{"0":1.17019,_:"10 11 12 11.1 11.5 12.1"},A:{"8":0.02449,"9":0.01837,"11":0.12856,_:"6 7 10 5.5"},S:{_:"2.5 3.0-3.1"},J:{_:"7 10"},N:{_:"10 11"},L:{"0":28.54878},R:{_:"0"},M:{"0":0.17587},Q:{"14.9":0.00409},O:{"0":0.13497},H:{"0":0.02}}; +module.exports={C:{"49":0.00611,"51":0.00611,"52":0.1038,"55":0.00611,"57":0.01221,"68":0.01832,"72":0.00611,"77":0.00611,"78":0.01221,"82":0.00611,"83":0.01832,"84":0.00611,"88":0.01221,"91":0.00611,"98":0.00611,"102":0.01832,"103":0.04885,"105":0.01221,"106":0.01832,"107":0.01832,"108":0.01832,"109":0.02442,"110":0.02442,"111":0.01221,"113":0.01221,"115":0.69608,"118":0.00611,"119":0.00611,"120":0.00611,"122":0.00611,"123":0.01221,"125":0.01221,"126":0.01832,"127":0.02442,"128":0.02442,"129":0.36025,"130":1.77685,"131":0.00611,_:"2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 50 53 54 56 58 59 60 61 62 63 64 65 66 67 69 70 71 73 74 75 76 79 80 81 85 86 87 89 90 92 93 94 95 96 97 99 100 101 104 112 114 116 117 121 124 132 133 134 135 3.5 3.6"},D:{"48":0.01221,"49":0.07327,"57":0.00611,"58":0.00611,"61":0.01832,"63":0.0977,"69":0.00611,"71":0.00611,"73":0.00611,"74":0.00611,"77":0.00611,"78":0.00611,"79":0.01832,"80":0.00611,"81":0.00611,"83":0.01832,"84":0.01221,"85":0.01832,"86":0.01832,"87":0.02442,"88":0.01221,"89":0.00611,"90":0.01221,"91":0.00611,"92":0.00611,"93":0.00611,"94":0.02442,"95":0.00611,"96":0.01221,"97":0.02442,"98":0.01832,"99":0.01221,"100":0.01221,"101":0.01221,"102":0.04274,"103":0.04885,"104":0.12212,"105":0.06717,"106":0.17707,"107":0.19539,"108":0.26866,"109":3.62696,"110":0.12212,"111":0.11601,"112":0.15265,"113":0.04274,"114":0.06106,"115":0.01221,"116":0.07327,"117":0.03053,"118":0.29309,"119":0.17707,"120":0.12823,"121":0.07938,"122":0.10991,"123":0.08548,"124":0.16486,"125":0.27477,"126":0.53733,"127":0.94032,"128":18.02491,"129":7.05243,"130":0.01832,"131":0.00611,_:"4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 50 51 52 53 54 55 56 59 60 62 64 65 66 67 68 70 72 75 76 132 133"},F:{"36":0.01221,"69":0.00611,"77":0.00611,"79":0.02442,"80":0.04274,"82":0.02442,"83":0.01221,"84":0.06717,"85":0.04885,"86":0.02442,"87":0.01221,"89":0.00611,"91":0.00611,"92":0.00611,"93":0.01221,"94":0.01221,"95":0.76325,"96":0.00611,"98":0.00611,"99":0.00611,"102":0.00611,"107":0.00611,"108":0.00611,"109":0.03053,"110":0.00611,"111":0.01832,"112":2.91256,"113":1.53871,"114":0.03053,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 60 62 63 64 65 66 67 68 70 71 72 73 74 75 76 78 81 88 90 97 100 101 103 104 105 106 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6","12.1":0.01832},B:{"18":0.00611,"92":0.01832,"105":0.00611,"106":0.01832,"107":0.03664,"108":0.03664,"109":0.06717,"110":0.02442,"111":0.01832,"114":0.00611,"116":0.01221,"120":0.01221,"121":0.00611,"122":0.00611,"124":0.00611,"125":0.00611,"126":0.01221,"127":0.03664,"128":8.16372,"129":4.3719,_:"12 13 14 15 16 17 79 80 81 83 84 85 86 87 88 89 90 91 93 94 95 96 97 98 99 100 101 102 103 104 112 113 115 117 118 119 123 130"},E:{"13":0.00611,"14":0.01221,_:"0 4 5 6 7 8 9 10 11 12 15 3.1 3.2 6.1 7.1 9.1 10.1 11.1 12.1 15.2-15.3","5.1":0.02442,"13.1":0.01832,"14.1":0.02442,"15.1":0.00611,"15.4":0.00611,"15.5":0.01221,"15.6":0.09159,"16.0":0.01221,"16.1":0.02442,"16.2":0.01221,"16.3":0.03664,"16.4":0.01221,"16.5":0.02442,"16.6":0.10991,"17.0":0.02442,"17.1":0.03664,"17.2":0.02442,"17.3":0.02442,"17.4":0.07938,"17.5":0.12823,"17.6":0.47016,"18.0":0.17707,"18.1":0.01832},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.00177,"5.0-5.1":0.00089,"6.0-6.1":0.00531,"7.0-7.1":0.0062,"8.1-8.4":0,"9.0-9.2":0.00531,"9.3":0.01506,"10.0-10.2":0.00443,"10.3":0.02569,"11.0-11.2":0.09477,"11.3-11.4":0.00709,"12.0-12.1":0.00443,"12.2-12.5":0.10717,"13.0-13.1":0.00177,"13.2":0.03366,"13.3":0.00443,"13.4-13.7":0.01771,"14.0-14.4":0.04074,"14.5-14.8":0.05403,"15.0-15.1":0.031,"15.2-15.3":0.03011,"15.4":0.03454,"15.5":0.04251,"15.6-15.8":0.42072,"16.0":0.08503,"16.1":0.16829,"16.2":0.08414,"16.3":0.14172,"16.4":0.03011,"16.5":0.05934,"16.6-16.7":0.50663,"17.0":0.04251,"17.1":0.06731,"17.2":0.06111,"17.3":0.08769,"17.4":0.18777,"17.5":0.90255,"17.6-17.7":4.80328,"18.0":0.60583,"18.1":0.02746},P:{"4":0.01094,"20":0.01094,"21":0.01094,"22":0.03281,"23":0.02187,"24":0.03281,"25":0.08749,"26":0.87488,_:"5.0-5.4 6.2-6.4 8.2 9.2 10.1 11.1-11.2 12.0 13.0 14.0 15.0 16.0","7.2-7.4":0.01094,"17.0":0.02187,"18.0":0.01094,"19.0":0.01094},I:{"0":0.09323,"3":0,"4":0,"2.1":0,"2.2":0,"2.3":0,"4.1":0.00001,"4.2-4.3":0.00004,"4.4":0,"4.4.3-4.4.4":0.00015},K:{"0":1.04944,_:"10 11 12 11.1 11.5 12.1"},A:{"8":0.02082,"9":0.01388,"11":0.11796,_:"6 7 10 5.5"},N:{_:"10 11"},S:{_:"2.5 3.0-3.1"},J:{_:"7 10"},O:{"0":0.09738},H:{"0":0.01},L:{"0":27.19788},R:{_:"0"},M:{"0":0.17528},Q:{"14.9":0.0039}}; diff --git a/node_modules/caniuse-lite/data/regions/UG.js b/node_modules/caniuse-lite/data/regions/UG.js index 5d6e14fe88..548d0d037c 100644 --- a/node_modules/caniuse-lite/data/regions/UG.js +++ b/node_modules/caniuse-lite/data/regions/UG.js @@ -1 +1 @@ -module.exports={C:{"33":0.00199,"47":0.00199,"50":0.00199,"52":0.00598,"56":0.00199,"58":0.00199,"60":0.00199,"68":0.00199,"72":0.00199,"76":0.00199,"77":0.00199,"78":0.00399,"91":0.00598,"93":0.00399,"95":0.00199,"102":0.00199,"103":0.00199,"110":0.00199,"111":0.00199,"112":0.00199,"113":0.00199,"114":0.00199,"115":0.25324,"116":0.00199,"117":0.00199,"119":0.00199,"120":0.00199,"121":0.00598,"122":0.00399,"123":0.00798,"124":0.04187,"125":0.58823,"126":0.50049,"127":0.02393,_:"2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 34 35 36 37 38 39 40 41 42 43 44 45 46 48 49 51 53 54 55 57 59 61 62 63 64 65 66 67 69 70 71 73 74 75 79 80 81 82 83 84 85 86 87 88 89 90 92 94 96 97 98 99 100 101 104 105 106 107 108 109 118 128 129 3.5 3.6"},D:{"19":0.00798,"23":0.00199,"40":0.00199,"49":0.00399,"50":0.00399,"55":0.00199,"58":0.00199,"59":0.00798,"62":0.00199,"63":0.00399,"64":0.02792,"65":0.00199,"66":0.00199,"68":0.00798,"69":0.00798,"70":0.00399,"71":0.01196,"72":0.01595,"73":0.00199,"74":0.00598,"75":0.00199,"76":0.00199,"77":0.00399,"78":0.00399,"79":0.00798,"80":0.00598,"81":0.01196,"83":0.00798,"84":0.00199,"86":0.00399,"87":0.02592,"88":0.02592,"89":0.00199,"91":0.00199,"92":0.00798,"93":0.02193,"94":0.01196,"95":0.0319,"96":0.00199,"97":0.00399,"98":0.00399,"99":0.00798,"100":0.00598,"101":0.00399,"102":0.01396,"103":0.04985,"104":0.00997,"105":0.01196,"106":0.01795,"107":0.00798,"108":0.00798,"109":0.84944,"110":0.00598,"111":0.00598,"112":0.00598,"113":0.00399,"114":0.16949,"115":0.00798,"116":0.07976,"117":0.00598,"118":0.00798,"119":0.06181,"120":0.05982,"121":0.06181,"122":0.11166,"123":0.28115,"124":5.46755,"125":1.99001,"126":0.00598,"127":0.00199,_:"4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 20 21 22 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 41 42 43 44 45 46 47 48 51 52 53 54 56 57 60 61 67 85 90 128"},F:{"37":0.00199,"42":0.00199,"46":0.00399,"51":0.00399,"60":0.00399,"79":0.00798,"81":0.00598,"82":0.00199,"83":0.00199,"95":0.04586,"99":0.00199,"102":0.00199,"105":0.00199,"106":0.00399,"107":0.01994,"108":0.00798,"109":0.45463,"110":0.04387,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 38 39 40 41 43 44 45 47 48 49 50 52 53 54 55 56 57 58 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 80 84 85 86 87 88 89 90 91 92 93 94 96 97 98 100 101 103 104 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"12":0.01396,"13":0.00199,"14":0.00598,"15":0.00399,"16":0.00399,"17":0.00199,"18":0.04586,"84":0.00598,"89":0.00598,"90":0.00598,"92":0.04187,"100":0.00598,"108":0.00199,"109":0.01396,"111":0.00199,"112":0.00199,"113":0.00199,"114":0.00399,"116":0.00399,"117":0.00399,"118":0.00199,"119":0.00798,"120":0.01396,"121":0.0319,"122":0.02792,"123":0.04586,"124":0.997,"125":0.47856,_:"79 80 81 83 85 86 87 88 91 93 94 95 96 97 98 99 101 102 103 104 105 106 107 110 115"},E:{"12":0.00199,"13":0.00199,"14":0.00399,_:"0 4 5 6 7 8 9 10 11 15 3.1 3.2 5.1 6.1 7.1 9.1 10.1 11.1 15.2-15.3 16.2 17.6","12.1":0.00399,"13.1":0.00798,"14.1":0.00997,"15.1":0.00199,"15.4":0.00199,"15.5":0.00199,"15.6":0.07378,"16.0":0.00199,"16.1":0.00199,"16.3":0.00798,"16.4":0.00199,"16.5":0.00399,"16.6":0.02193,"17.0":0.00399,"17.1":0.00997,"17.2":0.01396,"17.3":0.00997,"17.4":0.05982,"17.5":0.01595},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.00062,"5.0-5.1":0.00062,"6.0-6.1":0.00156,"7.0-7.1":0.00219,"8.1-8.4":0.00062,"9.0-9.2":0.00156,"9.3":0.00718,"10.0-10.2":0.00125,"10.3":0.01124,"11.0-11.2":0.01655,"11.3-11.4":0.00312,"12.0-12.1":0.00187,"12.2-12.5":0.04527,"13.0-13.1":0.00094,"13.2":0.00437,"13.3":0.00219,"13.4-13.7":0.00999,"14.0-14.4":0.01717,"14.5-14.8":0.02654,"15.0-15.1":0.0128,"15.2-15.3":0.01405,"15.4":0.01592,"15.5":0.01998,"15.6-15.8":0.17985,"16.0":0.0409,"16.1":0.0843,"16.2":0.0409,"16.3":0.07088,"16.4":0.01499,"16.5":0.03029,"16.6-16.7":0.24136,"17.0":0.02623,"17.1":0.04278,"17.2":0.04465,"17.3":0.08243,"17.4":1.87184,"17.5":0.13207,"17.6":0},P:{"4":0.09175,"20":0.02039,"21":0.06117,"22":0.13253,"23":0.13253,"24":0.22427,"25":0.44855,"5.0-5.4":0.02039,"6.2-6.4":0.01019,"7.2-7.4":0.08155,_:"8.2 10.1 12.0","9.2":0.08155,"11.1-11.2":0.05097,"13.0":0.01019,"14.0":0.01019,"15.0":0.01019,"16.0":0.02039,"17.0":0.02039,"18.0":0.01019,"19.0":0.09175},I:{"0":0.0319,"3":0,"4":0,"2.1":0,"2.2":0,"2.3":0,"4.1":0.00001,"4.2-4.3":0.00002,"4.4":0,"4.4.3-4.4.4":0.00007},K:{"0":6.14292,_:"10 11 12 11.1 11.5 12.1"},A:{"10":0.00399,"11":0.01196,_:"6 7 8 9 5.5"},S:{"2.5":0.21616,_:"3.0-3.1"},J:{_:"7 10"},N:{_:"10 11"},L:{"0":60.44075},R:{_:"0"},M:{"0":0.1281},Q:{_:"14.9"},O:{"0":0.34426},H:{"0":13.76}}; +module.exports={C:{"47":0.00233,"48":0.00233,"50":0.00233,"52":0.00233,"58":0.00233,"60":0.00467,"66":0.00233,"68":0.00233,"72":0.00933,"78":0.00467,"91":0.00467,"93":0.00233,"102":0.00233,"103":0.00233,"109":0.00467,"111":0.00233,"114":0.00233,"115":0.33829,"116":0.00233,"117":0.00233,"121":0.00233,"122":0.00933,"123":0.007,"124":0.00233,"125":0.00467,"126":0.00233,"127":0.02566,"128":0.01167,"129":0.26363,"130":1.02652,"131":0.07932,_:"2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 49 51 53 54 55 56 57 59 61 62 63 64 65 67 69 70 71 73 74 75 76 77 79 80 81 82 83 84 85 86 87 88 89 90 92 94 95 96 97 98 99 100 101 104 105 106 107 108 110 112 113 118 119 120 132 133 134 135 3.5 3.6"},D:{"11":0.00233,"19":0.01167,"33":0.00233,"50":0.007,"55":0.00233,"58":0.00467,"61":0.00233,"62":0.00467,"63":0.00467,"64":0.01167,"65":0.01633,"66":0.00233,"68":0.00933,"69":0.00933,"70":0.00467,"71":0.00467,"72":0.028,"73":0.00233,"74":0.00467,"75":0.00233,"76":0.007,"77":0.007,"78":0.00467,"79":0.00933,"80":0.01167,"81":0.01167,"83":0.01633,"84":0.00233,"86":0.007,"87":0.02566,"88":0.04199,"89":0.00233,"90":0.00467,"91":0.00233,"92":0.00233,"93":0.01167,"94":0.01866,"95":0.05833,"96":0.00233,"97":0.00233,"98":0.00467,"99":0.00467,"100":0.00933,"101":0.00233,"102":0.00233,"103":0.03733,"104":0.00467,"105":0.007,"106":0.014,"107":0.014,"108":0.00233,"109":0.77456,"110":0.00233,"111":0.00933,"112":0.00467,"113":0.00233,"114":0.007,"115":0.00467,"116":0.07699,"117":0.00467,"118":0.05133,"119":0.04433,"120":0.06999,"121":0.01633,"122":0.01866,"123":0.03266,"124":0.06299,"125":0.05366,"126":0.10032,"127":0.55292,"128":6.69804,"129":2.01105,"130":0.00467,_:"4 5 6 7 8 9 10 12 13 14 15 16 17 18 20 21 22 23 24 25 26 27 28 29 30 31 32 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 51 52 53 54 56 57 59 60 67 85 131 132 133"},F:{"37":0.00233,"60":0.00233,"68":0.00233,"79":0.00467,"83":0.00933,"84":0.02333,"86":0.00233,"95":0.03266,"102":0.00233,"109":0.00233,"111":0.00233,"112":0.33595,"113":0.16098,"114":0.007,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 62 63 64 65 66 67 69 70 71 72 73 74 75 76 77 78 80 81 82 85 87 88 89 90 91 92 93 94 96 97 98 99 100 101 103 104 105 106 107 108 110 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"12":0.00933,"13":0.00467,"14":0.007,"15":0.00467,"16":0.00467,"17":0.00233,"18":0.04899,"84":0.00233,"89":0.00467,"90":0.00933,"92":0.04666,"100":0.01167,"105":0.00233,"107":0.00233,"109":0.01167,"112":0.007,"114":0.007,"115":0.00233,"116":0.007,"117":0.00933,"118":0.00233,"119":0.00233,"120":0.00933,"121":0.00233,"122":0.00933,"123":0.00467,"124":0.01167,"125":0.02333,"126":0.04199,"127":0.07699,"128":1.35314,"129":0.44794,_:"79 80 81 83 85 86 87 88 91 93 94 95 96 97 98 99 101 102 103 104 106 108 110 111 113 130"},E:{"12":0.007,"13":0.00233,"14":0.00467,_:"0 4 5 6 7 8 9 10 11 15 3.1 3.2 5.1 6.1 7.1 9.1 10.1 15.1 15.2-15.3 18.1","11.1":0.00233,"12.1":0.00233,"13.1":0.02333,"14.1":0.007,"15.4":0.00233,"15.5":0.00233,"15.6":0.04666,"16.0":0.00233,"16.1":0.00233,"16.2":0.00467,"16.3":0.00233,"16.4":0.00467,"16.5":0.00233,"16.6":0.03266,"17.0":0.00233,"17.1":0.00933,"17.2":0.00467,"17.3":0.00467,"17.4":0.00933,"17.5":0.03266,"17.6":0.07699,"18.0":0.01633},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.00067,"5.0-5.1":0.00034,"6.0-6.1":0.00201,"7.0-7.1":0.00235,"8.1-8.4":0,"9.0-9.2":0.00201,"9.3":0.00571,"10.0-10.2":0.00168,"10.3":0.00974,"11.0-11.2":0.03593,"11.3-11.4":0.00269,"12.0-12.1":0.00168,"12.2-12.5":0.04063,"13.0-13.1":0.00067,"13.2":0.01276,"13.3":0.00168,"13.4-13.7":0.00672,"14.0-14.4":0.01545,"14.5-14.8":0.02048,"15.0-15.1":0.01175,"15.2-15.3":0.01142,"15.4":0.0131,"15.5":0.01612,"15.6-15.8":0.15949,"16.0":0.03223,"16.1":0.0638,"16.2":0.0319,"16.3":0.05372,"16.4":0.01142,"16.5":0.0225,"16.6-16.7":0.19206,"17.0":0.01612,"17.1":0.02552,"17.2":0.02317,"17.3":0.03324,"17.4":0.07118,"17.5":0.34215,"17.6-17.7":1.82089,"18.0":0.22967,"18.1":0.01041},P:{"4":0.06133,"20":0.01022,"21":0.08177,"22":0.16354,"23":0.07155,"24":0.22487,"25":0.21465,"26":0.59284,"5.0-5.4":0.04089,"6.2-6.4":0.01022,"7.2-7.4":0.10221,_:"8.2 10.1 12.0 14.0","9.2":0.07155,"11.1-11.2":0.03066,"13.0":0.01022,"15.0":0.01022,"16.0":0.01022,"17.0":0.01022,"18.0":0.01022,"19.0":0.08177},I:{"0":0.06116,"3":0,"4":0,"2.1":0,"2.2":0,"2.3":0,"4.1":0.00001,"4.2-4.3":0.00002,"4.4":0,"4.4.3-4.4.4":0.0001},K:{"0":5.62671,_:"10 11 12 11.1 11.5 12.1"},A:{"8":0.00723,"10":0.00723,"11":0.05786,_:"6 7 9 5.5"},N:{_:"10 11"},S:{"2.5":0.18398,_:"3.0-3.1"},J:{_:"7 10"},O:{"0":0.48296},H:{"0":5.42},L:{"0":66.25251},R:{_:"0"},M:{"0":0.12266},Q:{_:"14.9"}}; diff --git a/node_modules/caniuse-lite/data/regions/US.js b/node_modules/caniuse-lite/data/regions/US.js index 6cc157c346..e3c4d5275d 100644 --- a/node_modules/caniuse-lite/data/regions/US.js +++ b/node_modules/caniuse-lite/data/regions/US.js @@ -1 +1 @@ -module.exports={C:{"4":0.00492,"11":0.09344,"17":0.00492,"38":0.00492,"43":0.00492,"44":0.02459,"45":0.00492,"48":0.00492,"52":0.02459,"59":0.00492,"72":0.00492,"78":0.02951,"83":0.00492,"88":0.01475,"91":0.00492,"93":0.00492,"94":0.01475,"102":0.01475,"103":0.00984,"104":0.00984,"105":0.00492,"106":0.00492,"107":0.00492,"108":0.00984,"109":0.00492,"110":0.00492,"111":0.00492,"112":0.00492,"113":0.01475,"114":0.00492,"115":0.36885,"116":0.00492,"117":0.00984,"118":0.41311,"119":0.00492,"120":0.00492,"121":0.01475,"122":0.01475,"123":0.02459,"124":0.11311,"125":1.19999,"126":0.98852,"127":0.00492,_:"2 3 5 6 7 8 9 10 12 13 14 15 16 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 39 40 41 42 46 47 49 50 51 53 54 55 56 57 58 60 61 62 63 64 65 66 67 68 69 70 71 73 74 75 76 77 79 80 81 82 84 85 86 87 89 90 92 95 96 97 98 99 100 101 128 129 3.5 3.6"},D:{"23":0.00492,"38":0.00492,"41":0.00492,"47":0.00492,"48":0.06393,"49":0.02951,"50":0.00492,"51":0.00492,"52":0.00492,"53":0.00492,"56":0.04426,"62":0.00492,"63":0.00492,"65":0.00492,"66":0.02459,"67":0.00492,"69":0.00984,"70":0.00492,"74":0.00492,"75":0.00492,"76":0.01967,"77":0.00492,"78":0.00984,"79":0.19672,"80":0.02459,"81":0.06885,"83":0.13279,"84":0.00984,"85":0.00984,"86":0.1082,"87":0.0541,"88":0.01475,"89":0.01475,"90":0.00984,"91":0.09344,"92":0.00984,"93":0.05902,"94":0.03443,"95":0.00984,"96":0.01967,"97":0.01475,"98":0.00984,"99":0.02951,"100":0.13279,"101":0.18197,"102":0.09836,"103":0.49672,"104":0.1377,"105":0.05902,"106":0.04426,"107":0.0541,"108":0.06393,"109":0.66885,"110":0.04918,"111":0.04918,"112":0.04918,"113":0.11311,"114":0.22131,"115":0.06885,"116":0.31475,"117":0.31967,"118":0.17705,"119":0.18688,"120":0.43278,"121":0.69836,"122":0.6,"123":2.5967,"124":15.04416,"125":4.618,"126":0.04426,"127":0.02951,_:"4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 24 25 26 27 28 29 30 31 32 33 34 35 36 37 39 40 42 43 44 45 46 54 55 57 58 59 60 61 64 68 71 72 73 128"},F:{"95":0.02951,"102":0.00984,"106":0.00492,"107":0.20164,"108":0.02459,"109":0.57541,"110":0.04918,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 60 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 96 97 98 99 100 101 103 104 105 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"17":0.00492,"18":0.00492,"85":0.00492,"87":0.00492,"92":0.00492,"107":0.00492,"108":0.00492,"109":0.07869,"110":0.00492,"111":0.00492,"112":0.00492,"113":0.00492,"114":0.00984,"115":0.00492,"116":0.00492,"117":0.00492,"118":0.00492,"119":0.00984,"120":0.02951,"121":0.02951,"122":0.05902,"123":0.32459,"124":4.2344,"125":2.27703,_:"12 13 14 15 16 79 80 81 83 84 86 88 89 90 91 93 94 95 96 97 98 99 100 101 102 103 104 105 106"},E:{"8":0.00492,"9":0.00984,"13":0.00984,"14":0.06885,"15":0.01475,_:"0 4 5 6 7 10 11 12 3.1 3.2 6.1 7.1 10.1 17.6","5.1":0.00492,"9.1":0.00492,"11.1":0.00492,"12.1":0.02459,"13.1":0.16721,"14.1":0.17705,"15.1":0.12787,"15.2-15.3":0.02459,"15.4":0.03934,"15.5":0.04918,"15.6":0.45246,"16.0":0.06885,"16.1":0.09344,"16.2":0.07869,"16.3":0.19672,"16.4":0.07377,"16.5":0.14262,"16.6":0.76721,"17.0":0.09344,"17.1":0.14754,"17.2":0.18688,"17.3":0.22623,"17.4":3.41801,"17.5":0.44754},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.00502,"5.0-5.1":0.00502,"6.0-6.1":0.01256,"7.0-7.1":0.01758,"8.1-8.4":0.00502,"9.0-9.2":0.01256,"9.3":0.05776,"10.0-10.2":0.01005,"10.3":0.09041,"11.0-11.2":0.13311,"11.3-11.4":0.02512,"12.0-12.1":0.01507,"12.2-12.5":0.36417,"13.0-13.1":0.00753,"13.2":0.03516,"13.3":0.01758,"13.4-13.7":0.08037,"14.0-14.4":0.13813,"14.5-14.8":0.21348,"15.0-15.1":0.10297,"15.2-15.3":0.11302,"15.4":0.12809,"15.5":0.16074,"15.6-15.8":1.44663,"16.0":0.32901,"16.1":0.67811,"16.2":0.32901,"16.3":0.57011,"16.4":0.12055,"16.5":0.24362,"16.6-16.7":1.9414,"17.0":0.21097,"17.1":0.34408,"17.2":0.35915,"17.3":0.66304,"17.4":15.0565,"17.5":1.06237,"17.6":0},P:{"4":0.0323,"20":0.01077,"21":0.0323,"22":0.0323,"23":0.04306,"24":0.13996,"25":1.36726,_:"5.0-5.4 6.2-6.4 7.2-7.4 8.2 9.2 10.1 12.0 14.0 15.0","11.1-11.2":0.01077,"13.0":0.01077,"16.0":0.02153,"17.0":0.01077,"18.0":0.01077,"19.0":0.01077},I:{"0":0.11139,"3":0,"4":0.00001,"2.1":0,"2.2":0,"2.3":0,"4.1":0.00002,"4.2-4.3":0.00007,"4.4":0,"4.4.3-4.4.4":0.00025},K:{"0":0.3304,_:"10 11 12 11.1 11.5 12.1"},A:{"8":0.01113,"9":0.03339,"11":0.16695,_:"6 7 10 5.5"},S:{"2.5":0.00508,_:"3.0-3.1"},J:{_:"7 10"},N:{_:"10 11"},L:{"0":23.58589},R:{_:"0"},M:{"0":0.55913},Q:{"14.9":0.02542},O:{"0":0.07625},H:{"0":0}}; +module.exports={C:{"4":0.00465,"11":0.08365,"17":0.00465,"38":0.00465,"43":0.00465,"44":0.01859,"45":0.00465,"50":0.00465,"51":0.00465,"52":0.01859,"59":0.00465,"72":0.00465,"78":0.02788,"83":0.00465,"88":0.00929,"91":0.00465,"93":0.00465,"94":0.01859,"101":0.00465,"102":0.00929,"103":0.00929,"105":0.00465,"106":0.00465,"107":0.00465,"108":0.00465,"109":0.00465,"110":0.00465,"111":0.00465,"112":0.00465,"113":0.00465,"115":0.32529,"117":0.00465,"118":0.42288,"120":0.00465,"121":0.00465,"122":0.00465,"123":0.00465,"124":0.00929,"125":0.03253,"126":0.01394,"127":0.02788,"128":0.06041,"129":0.48794,"130":1.80768,"131":0.00465,_:"2 3 5 6 7 8 9 10 12 13 14 15 16 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 39 40 41 42 46 47 48 49 53 54 55 56 57 58 60 61 62 63 64 65 66 67 68 69 70 71 73 74 75 76 77 79 80 81 82 84 85 86 87 89 90 92 95 96 97 98 99 100 104 114 116 119 132 133 134 135 3.5 3.6"},D:{"35":0.00465,"36":0.00465,"37":0.00465,"38":0.00465,"39":0.00465,"40":0.00465,"41":0.00929,"42":0.00465,"43":0.00465,"44":0.00465,"45":0.00465,"46":0.00465,"47":0.00465,"48":0.05576,"49":0.02788,"50":0.00465,"51":0.00929,"52":0.00929,"53":0.00929,"54":0.00465,"55":0.00465,"56":0.06041,"57":0.00465,"58":0.00465,"59":0.00465,"60":0.00465,"62":0.00465,"65":0.00465,"66":0.01394,"67":0.00465,"68":0.00465,"69":0.00929,"70":0.00465,"72":0.00465,"74":0.00465,"75":0.01394,"76":0.00929,"77":0.00465,"78":0.00929,"79":0.12082,"80":0.01859,"81":0.06041,"83":0.09759,"84":0.00929,"85":0.00929,"86":0.01394,"87":0.05576,"88":0.01394,"89":0.01394,"90":0.00929,"91":0.09759,"92":0.00929,"93":0.03718,"94":0.02788,"95":0.00929,"96":0.00929,"97":0.01859,"98":0.00929,"99":0.02324,"100":0.08829,"101":0.01859,"102":0.01394,"103":0.23235,"104":0.02324,"105":0.02788,"106":0.03718,"107":0.05112,"108":0.079,"109":0.58088,"110":0.02788,"111":0.04182,"112":0.04182,"113":0.10223,"114":0.14406,"115":0.04182,"116":0.20447,"117":0.32529,"118":0.04647,"119":0.11153,"120":0.19517,"121":0.26023,"122":0.13476,"123":0.237,"124":0.56693,"125":0.71564,"126":0.97587,"127":2.31885,"128":14.24306,"129":3.60607,"130":0.03253,"131":0.01394,_:"4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 61 63 64 71 73 132 133"},F:{"84":0.00929,"95":0.02324,"102":0.00465,"109":0.01859,"111":0.00465,"112":0.36247,"113":0.237,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 60 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 85 86 87 88 89 90 91 92 93 94 96 97 98 99 100 101 103 104 105 106 107 108 110 114 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"17":0.00465,"18":0.00465,"85":0.00465,"87":0.00929,"92":0.00465,"95":0.00465,"99":0.00465,"107":0.00465,"108":0.00465,"109":0.07435,"110":0.00465,"111":0.00465,"112":0.00465,"113":0.00465,"114":0.00465,"115":0.00465,"116":0.00465,"117":0.00465,"118":0.00465,"119":0.00465,"120":0.02324,"121":0.00929,"122":0.00929,"123":0.00929,"124":0.01394,"125":0.02324,"126":0.06041,"127":0.32064,"128":4.884,"129":1.74727,"130":0.01394,_:"12 13 14 15 16 79 80 81 83 84 86 88 89 90 91 93 94 96 97 98 100 101 102 103 104 105 106"},E:{"8":0.00465,"9":0.00929,"10":0.00465,"13":0.00929,"14":0.06041,"15":0.01859,_:"0 4 5 6 7 11 12 3.1 3.2 5.1 6.1 7.1 10.1","9.1":0.00465,"11.1":0.00465,"12.1":0.02324,"13.1":0.16729,"14.1":0.16265,"15.1":0.09294,"15.2-15.3":0.01859,"15.4":0.02788,"15.5":0.03718,"15.6":0.40429,"16.0":0.06506,"16.1":0.06041,"16.2":0.05576,"16.3":0.12547,"16.4":0.04647,"16.5":0.08829,"16.6":0.57158,"17.0":0.03718,"17.1":0.07435,"17.2":0.07435,"17.3":0.08829,"17.4":0.23235,"17.5":0.60876,"17.6":3.42484,"18.0":0.26488,"18.1":0.01859},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.00531,"5.0-5.1":0.00266,"6.0-6.1":0.01594,"7.0-7.1":0.0186,"8.1-8.4":0,"9.0-9.2":0.01594,"9.3":0.04517,"10.0-10.2":0.01329,"10.3":0.07706,"11.0-11.2":0.28432,"11.3-11.4":0.02126,"12.0-12.1":0.01329,"12.2-12.5":0.32152,"13.0-13.1":0.00531,"13.2":0.10097,"13.3":0.01329,"13.4-13.7":0.05314,"14.0-14.4":0.12223,"14.5-14.8":0.16209,"15.0-15.1":0.093,"15.2-15.3":0.09035,"15.4":0.10363,"15.5":0.12755,"15.6-15.8":1.26218,"16.0":0.25509,"16.1":0.50487,"16.2":0.25244,"16.3":0.42516,"16.4":0.09035,"16.5":0.17803,"16.6-16.7":1.51994,"17.0":0.12755,"17.1":0.20195,"17.2":0.18335,"17.3":0.26307,"17.4":0.56333,"17.5":2.70772,"17.6-17.7":14.41015,"18.0":1.81754,"18.1":0.08237},P:{"4":0.04256,"20":0.01064,"21":0.02128,"22":0.01064,"23":0.02128,"24":0.04256,"25":0.10639,"26":1.39372,_:"5.0-5.4 6.2-6.4 7.2-7.4 8.2 9.2 10.1 11.1-11.2 12.0 13.0 14.0 15.0","16.0":0.02128,"17.0":0.01064,"18.0":0.01064,"19.0":0.01064},I:{"0":0.08008,"3":0,"4":0,"2.1":0,"2.2":0,"2.3":0,"4.1":0.00001,"4.2-4.3":0.00003,"4.4":0,"4.4.3-4.4.4":0.00013},K:{"0":0.31583,_:"10 11 12 11.1 11.5 12.1"},A:{"6":0.01152,"8":0.00576,"9":0.03457,"11":0.0922,_:"7 10 5.5"},N:{_:"10 11"},S:{"2.5":0.00535,_:"3.0-3.1"},J:{_:"7 10"},O:{"0":0.08565},H:{"0":0},L:{"0":24.73713},R:{_:"0"},M:{"0":0.62095},Q:{"14.9":0.02677}}; diff --git a/node_modules/caniuse-lite/data/regions/UY.js b/node_modules/caniuse-lite/data/regions/UY.js index 4563ad97e2..9ef191e61b 100644 --- a/node_modules/caniuse-lite/data/regions/UY.js +++ b/node_modules/caniuse-lite/data/regions/UY.js @@ -1 +1 @@ -module.exports={C:{"52":0.01447,"68":0.00964,"78":0.00482,"81":0.00482,"83":0.04822,"88":0.01447,"91":0.00964,"101":0.0434,"102":0.00964,"103":0.00482,"105":0.00482,"110":0.00482,"111":0.00482,"112":0.01929,"113":0.02411,"114":0.00482,"115":0.31825,"120":0.03375,"121":0.00964,"122":0.00482,"123":0.03858,"124":0.03858,"125":0.79563,"126":0.65579,"127":0.00482,_:"2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 69 70 71 72 73 74 75 76 77 79 80 82 84 85 86 87 89 90 92 93 94 95 96 97 98 99 100 104 106 107 108 109 116 117 118 119 128 129 3.5 3.6"},D:{"38":0.37129,"39":0.00482,"41":0.00482,"43":0.00482,"47":0.00964,"49":0.02411,"55":0.00482,"62":0.01447,"63":0.00482,"65":0.01447,"69":0.00482,"70":0.00964,"71":0.02411,"72":0.00482,"73":0.02411,"74":0.00482,"75":0.00964,"76":0.00482,"79":0.03375,"80":0.02893,"81":0.01447,"83":0.01447,"84":0.01447,"85":0.00482,"86":0.19288,"87":0.01447,"88":0.01929,"89":0.00964,"90":0.02411,"91":0.01447,"92":0.00482,"93":0.02411,"94":0.01447,"95":0.01447,"96":0.00482,"97":0.00482,"98":0.00964,"99":0.00964,"100":0.01447,"102":0.00482,"103":0.10608,"104":0.00482,"105":0.00964,"106":0.04822,"107":0.00482,"108":0.01929,"109":2.16508,"110":0.00964,"111":0.01447,"112":0.01929,"113":0.00482,"114":0.0434,"115":0.00964,"116":0.12537,"117":0.01447,"118":0.03375,"119":0.20252,"120":0.09644,"121":0.09162,"122":0.25074,"123":0.75223,"124":21.71347,"125":8.03827,"126":0.00482,_:"4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 40 42 44 45 46 48 50 51 52 53 54 56 57 58 59 60 61 64 66 67 68 77 78 101 127 128"},F:{"69":0.00482,"75":0.00482,"95":0.03375,"99":0.02411,"102":0.00482,"104":0.01929,"106":0.01929,"107":0.90171,"108":0.01447,"109":2.8932,"110":0.09644,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 60 62 63 64 65 66 67 68 70 71 72 73 74 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 96 97 98 100 101 103 105 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"18":0.00482,"92":0.01447,"100":0.00482,"108":0.00482,"109":0.01929,"114":0.00482,"115":0.00482,"117":0.00482,"118":0.00482,"119":0.01929,"120":0.02411,"121":0.01447,"122":0.02411,"123":0.09644,"124":2.72443,"125":1.43213,_:"12 13 14 15 16 17 79 80 81 83 84 85 86 87 88 89 90 91 93 94 95 96 97 98 99 101 102 103 104 105 106 107 110 111 112 113 116"},E:{"9":0.00482,"14":0.00964,"15":0.00482,_:"0 4 5 6 7 8 10 11 12 13 3.1 3.2 5.1 6.1 7.1 9.1 10.1 11.1 15.2-15.3 17.6","12.1":0.00482,"13.1":0.03858,"14.1":0.03858,"15.1":0.03375,"15.4":0.01447,"15.5":0.03858,"15.6":0.04822,"16.0":0.00964,"16.1":0.02411,"16.2":0.00482,"16.3":0.02411,"16.4":0.00964,"16.5":0.05786,"16.6":0.13502,"17.0":0.02893,"17.1":0.03858,"17.2":0.0868,"17.3":0.01447,"17.4":0.47738,"17.5":0.08197},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.00154,"5.0-5.1":0.00154,"6.0-6.1":0.00384,"7.0-7.1":0.00538,"8.1-8.4":0.00154,"9.0-9.2":0.00384,"9.3":0.01767,"10.0-10.2":0.00307,"10.3":0.02766,"11.0-11.2":0.04073,"11.3-11.4":0.00768,"12.0-12.1":0.00461,"12.2-12.5":0.11142,"13.0-13.1":0.00231,"13.2":0.01076,"13.3":0.00538,"13.4-13.7":0.02459,"14.0-14.4":0.04226,"14.5-14.8":0.06532,"15.0-15.1":0.03151,"15.2-15.3":0.03458,"15.4":0.03919,"15.5":0.04918,"15.6-15.8":0.44261,"16.0":0.10066,"16.1":0.20747,"16.2":0.10066,"16.3":0.17443,"16.4":0.03688,"16.5":0.07454,"16.6-16.7":0.59398,"17.0":0.06455,"17.1":0.10527,"17.2":0.10988,"17.3":0.20286,"17.4":4.60665,"17.5":0.32504,"17.6":0},P:{"4":0.02113,"20":0.01057,"21":0.13735,"22":0.0317,"23":0.06339,"24":0.12679,"25":1.26786,"5.0-5.4":0.01057,_:"6.2-6.4 8.2 9.2 10.1 11.1-11.2 12.0 14.0 15.0 16.0","7.2-7.4":0.10566,"13.0":0.01057,"17.0":0.01057,"18.0":0.01057,"19.0":0.02113},I:{"0":0.03095,"3":0,"4":0,"2.1":0,"2.2":0,"2.3":0,"4.1":0.00001,"4.2-4.3":0.00002,"4.4":0,"4.4.3-4.4.4":0.00007},K:{"0":0.13981,_:"10 11 12 11.1 11.5 12.1"},A:{"8":0.01447,"9":0.00482,"10":0.00482,"11":0.02411,_:"6 7 5.5"},S:{_:"2.5 3.0-3.1"},J:{_:"7 10"},N:{_:"10 11"},L:{"0":42.93555},R:{_:"0"},M:{"0":0.28479},Q:{"14.9":0.02589},O:{"0":0.01036},H:{"0":0}}; +module.exports={C:{"52":0.0145,"68":0.00483,"78":0.00483,"83":0.01933,"88":0.0145,"91":0.00483,"102":0.0145,"106":0.00483,"108":0.00967,"111":0.00483,"113":0.0145,"114":0.00483,"115":0.25132,"120":0.00483,"121":0.0145,"122":0.02417,"123":0.00967,"125":0.00967,"126":0.00967,"127":0.00967,"128":0.029,"129":0.28031,"130":1.25658,_:"2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 69 70 71 72 73 74 75 76 77 79 80 81 82 84 85 86 87 89 90 92 93 94 95 96 97 98 99 100 101 103 104 105 107 109 110 112 116 117 118 119 124 131 132 133 134 135 3.5 3.6"},D:{"38":0.01933,"47":0.00483,"49":0.01933,"51":0.00483,"55":0.00967,"62":0.00483,"63":0.00483,"65":0.0145,"66":0.00483,"68":0.00483,"69":0.00967,"70":0.00967,"71":0.0145,"72":0.00483,"73":0.01933,"74":0.00967,"75":0.00967,"76":0.00483,"79":0.0145,"80":0.0145,"81":0.00967,"83":0.01933,"85":0.00483,"86":0.12566,"87":0.04833,"88":0.03866,"89":0.00483,"90":0.02417,"91":0.029,"92":0.00483,"93":0.029,"94":0.04833,"95":0.00483,"98":0.0145,"99":0.02417,"100":0.00483,"102":0.00967,"103":0.058,"104":0.00483,"105":0.00967,"106":0.0145,"107":0.00483,"108":0.00967,"109":1.66739,"110":0.01933,"111":0.00967,"112":0.00483,"113":0.00483,"114":0.00967,"115":0.00483,"116":0.13532,"117":0.00967,"118":0.01933,"119":0.07733,"120":0.03866,"121":0.04833,"122":0.09666,"123":0.10149,"124":0.13049,"125":0.14982,"126":0.24165,"127":1.48856,"128":21.44885,"129":9.18753,"130":0.00483,"131":0.00483,_:"4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 39 40 41 42 43 44 45 46 48 50 52 53 54 56 57 58 59 60 61 64 67 77 78 84 96 97 101 132 133"},F:{"69":0.00483,"84":0.00483,"95":0.02417,"102":0.00967,"104":0.00483,"109":0.09183,"110":0.00483,"111":0.03383,"112":1.65289,"113":1.67705,"114":0.00483,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 60 62 63 64 65 66 67 68 70 71 72 73 74 75 76 77 78 79 80 81 82 83 85 86 87 88 89 90 91 92 93 94 96 97 98 99 100 101 103 105 106 107 108 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"18":0.00483,"85":0.00483,"92":0.0145,"109":0.0145,"114":0.00483,"120":0.00967,"121":0.00483,"122":0.00967,"123":0.00483,"124":0.00967,"125":0.00483,"126":0.02417,"127":0.08216,"128":2.57599,"129":1.29041,_:"12 13 14 15 16 17 79 80 81 83 84 86 87 88 89 90 91 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 110 111 112 113 115 116 117 118 119 130"},E:{"14":0.00967,_:"0 4 5 6 7 8 9 10 11 12 13 15 3.1 3.2 5.1 6.1 7.1 9.1 10.1 11.1 12.1 15.2-15.3","13.1":0.0145,"14.1":0.01933,"15.1":0.03383,"15.4":0.00967,"15.5":0.00483,"15.6":0.0435,"16.0":0.00483,"16.1":0.01933,"16.2":0.00483,"16.3":0.00967,"16.4":0.00967,"16.5":0.029,"16.6":0.07733,"17.0":0.03383,"17.1":0.00967,"17.2":0.01933,"17.3":0.00967,"17.4":0.04833,"17.5":0.15949,"17.6":0.50263,"18.0":0.11116,"18.1":0.00483},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.00182,"5.0-5.1":0.00091,"6.0-6.1":0.00547,"7.0-7.1":0.00638,"8.1-8.4":0,"9.0-9.2":0.00547,"9.3":0.01549,"10.0-10.2":0.00456,"10.3":0.02643,"11.0-11.2":0.09753,"11.3-11.4":0.00729,"12.0-12.1":0.00456,"12.2-12.5":0.11029,"13.0-13.1":0.00182,"13.2":0.03464,"13.3":0.00456,"13.4-13.7":0.01823,"14.0-14.4":0.04193,"14.5-14.8":0.0556,"15.0-15.1":0.0319,"15.2-15.3":0.03099,"15.4":0.03555,"15.5":0.04375,"15.6-15.8":0.43294,"16.0":0.0875,"16.1":0.17318,"16.2":0.08659,"16.3":0.14583,"16.4":0.03099,"16.5":0.06107,"16.6-16.7":0.52135,"17.0":0.04375,"17.1":0.06927,"17.2":0.06289,"17.3":0.09023,"17.4":0.19323,"17.5":0.92878,"17.6-17.7":4.94284,"18.0":0.62344,"18.1":0.02826},P:{"4":0.031,"21":0.12401,"22":0.07234,"23":0.01033,"24":0.04134,"25":0.11367,"26":1.12641,_:"20 5.0-5.4 8.2 9.2 10.1 11.1-11.2 12.0 13.0 14.0 15.0 16.0 17.0 18.0","6.2-6.4":0.01033,"7.2-7.4":0.09301,"19.0":0.01033},I:{"0":0.01546,"3":0,"4":0,"2.1":0,"2.2":0,"2.3":0,"4.1":0,"4.2-4.3":0.00001,"4.4":0,"4.4.3-4.4.4":0.00002},K:{"0":0.11884,_:"10 11 12 11.1 11.5 12.1"},A:{_:"6 7 8 9 10 11 5.5"},N:{_:"10 11"},S:{_:"2.5 3.0-3.1"},J:{_:"7 10"},O:{"0":0.01033},H:{"0":0},L:{"0":42.09533},R:{_:"0"},M:{"0":0.20151},Q:{_:"14.9"}}; diff --git a/node_modules/caniuse-lite/data/regions/UZ.js b/node_modules/caniuse-lite/data/regions/UZ.js index 5b7b5ec596..4e6442e486 100644 --- a/node_modules/caniuse-lite/data/regions/UZ.js +++ b/node_modules/caniuse-lite/data/regions/UZ.js @@ -1 +1 @@ -module.exports={C:{"52":0.01655,"67":0.10261,"68":0.00993,"77":0.00331,"84":0.00331,"89":0.00331,"101":0.00331,"102":0.00331,"103":0.00331,"105":0.00662,"106":0.00662,"107":0.00331,"108":0.00662,"109":0.00331,"110":0.00662,"111":0.00331,"115":0.29128,"118":0.00662,"119":0.00331,"121":0.00331,"122":0.00662,"123":0.00331,"124":0.01986,"125":0.36079,"126":0.27142,"127":0.00331,_:"2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 53 54 55 56 57 58 59 60 61 62 63 64 65 66 69 70 71 72 73 74 75 76 78 79 80 81 82 83 85 86 87 88 90 91 92 93 94 95 96 97 98 99 100 104 112 113 114 116 117 120 128 129 3.5 3.6"},D:{"11":0.00331,"39":0.00331,"41":0.00662,"43":0.00331,"44":0.00331,"45":0.00331,"46":0.00331,"47":0.00662,"49":0.02317,"50":0.00331,"51":0.00331,"53":0.00331,"55":0.00331,"56":0.00662,"63":0.00331,"64":0.00662,"66":0.02648,"68":0.00993,"69":0.00331,"70":0.00331,"71":0.00331,"72":0.00331,"73":0.00993,"76":0.00331,"78":0.00331,"79":0.01655,"80":0.01655,"81":0.00993,"83":0.01986,"84":0.00662,"86":0.00662,"87":0.02979,"88":0.00662,"89":0.00993,"90":0.00993,"91":0.00993,"92":0.00331,"93":0.00662,"94":0.00331,"95":0.00331,"96":0.00662,"97":0.00993,"98":0.00662,"99":0.00993,"100":0.00662,"101":0.00331,"102":0.05627,"103":0.02317,"104":0.01655,"105":0.02317,"106":0.42037,"107":0.01986,"108":0.01655,"109":2.33686,"110":0.00662,"111":0.01324,"112":0.03641,"113":0.00662,"114":0.00993,"115":0.01324,"116":0.04634,"117":0.01986,"118":0.02317,"119":0.02979,"120":0.11585,"121":0.09599,"122":0.10592,"123":0.50312,"124":12.45884,"125":4.85577,"126":0.01324,"127":0.00331,_:"4 5 6 7 8 9 10 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 40 42 48 52 54 57 58 59 60 61 62 65 67 74 75 77 85 128"},F:{"27":0.00331,"28":0.00662,"36":0.00331,"46":0.00331,"51":0.00331,"53":0.01655,"79":0.01655,"82":0.00331,"90":0.00331,"93":0.00331,"94":0.00993,"95":0.07613,"97":0.00331,"101":0.00662,"102":0.01655,"104":0.01986,"105":0.11585,"106":0.02648,"107":0.14233,"108":0.0331,"109":0.331,"110":0.04303,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 29 30 31 32 33 34 35 37 38 39 40 41 42 43 44 45 47 48 49 50 52 54 55 56 57 58 60 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 80 81 83 84 85 86 87 88 89 91 92 96 98 99 100 103 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 12.1","11.6":0.00331},B:{"12":0.00331,"14":0.00331,"15":0.00331,"16":0.00331,"17":0.12578,"18":0.02979,"84":0.00662,"89":0.00331,"92":0.02648,"100":0.00331,"102":0.00331,"106":0.00331,"108":0.00331,"109":0.01986,"110":0.00331,"112":0.00331,"113":0.00331,"114":0.00331,"115":0.00331,"116":0.00331,"117":0.00993,"118":0.00331,"119":0.00993,"120":0.02317,"121":0.02317,"122":0.04634,"123":0.04965,"124":1.51267,"125":0.83412,_:"13 79 80 81 83 85 86 87 88 90 91 93 94 95 96 97 98 99 101 103 104 105 107 111"},E:{"9":0.00331,"14":0.00331,_:"0 4 5 6 7 8 10 11 12 13 15 3.1 3.2 6.1 7.1 9.1 10.1 12.1 15.2-15.3 17.6","5.1":0.27804,"11.1":0.00662,"13.1":0.00331,"14.1":0.00993,"15.1":0.00331,"15.4":0.00662,"15.5":0.00662,"15.6":0.04303,"16.0":0.00331,"16.1":0.01986,"16.2":0.01324,"16.3":0.00993,"16.4":0.00662,"16.5":0.00993,"16.6":0.03972,"17.0":0.01655,"17.1":0.08937,"17.2":0.02317,"17.3":0.01324,"17.4":0.20522,"17.5":0.04965},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.00141,"5.0-5.1":0.00141,"6.0-6.1":0.00352,"7.0-7.1":0.00493,"8.1-8.4":0.00141,"9.0-9.2":0.00352,"9.3":0.01618,"10.0-10.2":0.00281,"10.3":0.02533,"11.0-11.2":0.0373,"11.3-11.4":0.00704,"12.0-12.1":0.00422,"12.2-12.5":0.10203,"13.0-13.1":0.00211,"13.2":0.00985,"13.3":0.00493,"13.4-13.7":0.02252,"14.0-14.4":0.0387,"14.5-14.8":0.05981,"15.0-15.1":0.02885,"15.2-15.3":0.03167,"15.4":0.03589,"15.5":0.04504,"15.6-15.8":0.40532,"16.0":0.09218,"16.1":0.18999,"16.2":0.09218,"16.3":0.15974,"16.4":0.03378,"16.5":0.06826,"16.6-16.7":0.54395,"17.0":0.05911,"17.1":0.0964,"17.2":0.10063,"17.3":0.18577,"17.4":4.21858,"17.5":0.29766,"17.6":0},P:{"4":0.29389,"20":0.07094,"21":0.12161,"22":0.20269,"23":0.34457,"24":0.43577,"25":1.66202,"5.0-5.4":0.01013,"6.2-6.4":0.07094,"7.2-7.4":0.22295,"8.2":0.01013,"9.2":0.02027,_:"10.1 12.0","11.1-11.2":0.0304,"13.0":0.02027,"14.0":0.02027,"15.0":0.01013,"16.0":0.0304,"17.0":0.05067,"18.0":0.02027,"19.0":0.05067},I:{"0":0.03331,"3":0,"4":0,"2.1":0,"2.2":0,"2.3":0,"4.1":0.00001,"4.2-4.3":0.00002,"4.4":0,"4.4.3-4.4.4":0.00007},K:{"0":0.38127,_:"10 11 12 11.1 11.5 12.1"},A:{"7":0.00346,"8":0.02422,"9":0.00692,"10":0.00346,"11":0.10035,_:"6 5.5"},S:{_:"2.5 3.0-3.1"},J:{_:"7 10"},N:{_:"10 11"},L:{"0":52.94481},R:{_:"0"},M:{"0":0.06689},Q:{"14.9":0.02007},O:{"0":1.63881},H:{"0":0}}; +module.exports={C:{"52":0.02358,"67":0.03369,"68":0.00337,"96":0.00337,"99":0.00337,"103":0.00337,"108":0.00674,"110":0.00337,"111":0.00337,"115":0.14487,"122":0.00337,"123":0.00337,"124":0.00337,"125":0.01011,"126":0.00337,"127":0.01011,"128":0.01011,"129":0.11455,"130":0.50198,"131":0.00674,_:"2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 53 54 55 56 57 58 59 60 61 62 63 64 65 66 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 97 98 100 101 102 104 105 106 107 109 112 113 114 116 117 118 119 120 121 132 133 134 135 3.5 3.6"},D:{"11":0.00674,"22":0.00337,"39":0.00337,"47":0.00337,"49":0.02358,"56":0.00337,"58":0.00674,"64":0.00674,"66":0.02021,"68":0.00674,"69":0.00674,"70":0.01685,"71":0.00337,"73":0.00337,"74":0.00337,"75":0.00674,"76":0.00337,"78":0.00337,"79":0.01348,"80":0.00337,"81":0.00337,"83":0.02021,"84":0.00337,"85":0.00337,"86":0.00674,"87":0.01685,"88":0.00337,"89":0.00674,"90":0.01011,"91":0.00674,"93":0.14487,"94":0.09096,"95":0.01011,"96":0.00337,"97":0.00337,"98":0.01011,"99":0.01348,"100":0.00674,"101":0.00674,"102":0.01348,"103":0.02358,"104":0.01011,"105":0.01011,"106":0.1853,"107":0.00337,"108":0.01685,"109":1.87316,"110":0.01011,"111":0.01348,"112":0.02021,"113":0.01348,"114":0.01348,"115":0.01011,"116":0.03706,"117":0.02021,"118":0.06064,"119":0.02358,"120":0.08086,"121":0.05727,"122":0.06401,"123":0.05727,"124":0.0977,"125":0.07075,"126":0.15497,"127":0.50872,"128":13.64782,"129":4.74692,"130":0.01685,_:"4 5 6 7 8 9 10 12 13 14 15 16 17 18 19 20 21 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 40 41 42 43 44 45 46 48 50 51 52 53 54 55 57 59 60 61 62 63 65 67 72 77 92 131 132 133"},F:{"36":0.00337,"45":0.00337,"46":0.00674,"53":0.02695,"55":0.00337,"58":0.00337,"79":0.02021,"82":0.00337,"83":0.01011,"84":0.01011,"90":0.00337,"92":0.00337,"95":0.0438,"101":0.00337,"104":0.00337,"105":0.09433,"106":0.01011,"107":0.01685,"108":0.00337,"109":0.02021,"110":0.00674,"111":0.00337,"112":0.25604,"113":0.14824,"114":0.00337,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 37 38 39 40 41 42 43 44 47 48 49 50 51 52 54 56 57 60 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 80 81 85 86 87 88 89 91 93 94 96 97 98 99 100 102 103 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5","11.6":0.00337,"12.1":0.00337},B:{"14":0.00337,"16":0.00337,"18":0.03032,"84":0.00337,"85":0.00337,"86":0.00337,"89":0.00337,"92":0.02695,"100":0.01011,"108":0.00674,"109":0.02695,"110":0.00337,"112":0.00337,"114":0.00674,"117":0.00337,"119":0.00337,"120":0.01348,"121":0.01348,"122":0.01011,"123":0.00674,"124":0.02021,"125":0.03032,"126":0.03369,"127":0.06401,"128":1.79231,"129":0.67043,_:"12 13 15 17 79 80 81 83 87 88 90 91 93 94 95 96 97 98 99 101 102 103 104 105 106 107 111 113 115 116 118 130"},E:{"14":0.00337,"15":0.00674,_:"0 4 5 6 7 8 9 10 11 12 13 3.1 3.2 6.1 7.1 10.1 11.1 12.1 15.1 15.2-15.3 18.1","5.1":0.47166,"9.1":0.00337,"13.1":0.00337,"14.1":0.01011,"15.4":0.00337,"15.5":0.00337,"15.6":0.03032,"16.0":0.00337,"16.1":0.01011,"16.2":0.02358,"16.3":0.00674,"16.4":0.00674,"16.5":0.01011,"16.6":0.05054,"17.0":0.00674,"17.1":0.03369,"17.2":0.01348,"17.3":0.01011,"17.4":0.03706,"17.5":0.0539,"17.6":0.26278,"18.0":0.06401},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.00139,"5.0-5.1":0.0007,"6.0-6.1":0.00417,"7.0-7.1":0.00487,"8.1-8.4":0,"9.0-9.2":0.00417,"9.3":0.01182,"10.0-10.2":0.00348,"10.3":0.02016,"11.0-11.2":0.07437,"11.3-11.4":0.00556,"12.0-12.1":0.00348,"12.2-12.5":0.0841,"13.0-13.1":0.00139,"13.2":0.02641,"13.3":0.00348,"13.4-13.7":0.0139,"14.0-14.4":0.03197,"14.5-14.8":0.0424,"15.0-15.1":0.02433,"15.2-15.3":0.02363,"15.4":0.02711,"15.5":0.03336,"15.6-15.8":0.33014,"16.0":0.06672,"16.1":0.13206,"16.2":0.06603,"16.3":0.11121,"16.4":0.02363,"16.5":0.04657,"16.6-16.7":0.39756,"17.0":0.03336,"17.1":0.05282,"17.2":0.04796,"17.3":0.06881,"17.4":0.14735,"17.5":0.70824,"17.6-17.7":3.76917,"18.0":0.4754,"18.1":0.02155},P:{"4":0.23523,"20":0.03068,"21":0.09205,"22":0.12273,"23":0.12273,"24":0.16364,"25":0.26591,"26":1.39092,"5.0-5.4":0.02045,"6.2-6.4":0.04091,"7.2-7.4":0.14318,"8.2":0.01023,_:"9.2 10.1 15.0","11.1-11.2":0.01023,"12.0":0.01023,"13.0":0.01023,"14.0":0.02045,"16.0":0.02045,"17.0":0.04091,"18.0":0.01023,"19.0":0.02045},I:{"0":0.01323,"3":0,"4":0,"2.1":0,"2.2":0,"2.3":0,"4.1":0,"4.2-4.3":0.00001,"4.4":0,"4.4.3-4.4.4":0.00002},K:{"0":0.43108,_:"10 11 12 11.1 11.5 12.1"},A:{"8":0.00716,"9":0.00716,"11":0.07159,_:"6 7 10 5.5"},N:{_:"10 11"},S:{_:"2.5 3.0-3.1"},J:{_:"7 10"},O:{"0":1.75748},H:{"0":0},L:{"0":52.89591},R:{_:"0"},M:{"0":0.07295},Q:{"14.9":0.01326}}; diff --git a/node_modules/caniuse-lite/data/regions/VA.js b/node_modules/caniuse-lite/data/regions/VA.js index 0b51fdf68a..0b67637dd8 100644 --- a/node_modules/caniuse-lite/data/regions/VA.js +++ b/node_modules/caniuse-lite/data/regions/VA.js @@ -1 +1 @@ -module.exports={C:{"104":0.05831,"109":0.02499,"115":0.76636,"124":0.05831,"125":5.4145,"126":3.43196,_:"2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 105 106 107 108 110 111 112 113 114 116 117 118 119 120 121 122 123 127 128 129 3.5 3.6"},D:{"103":0.02499,"109":0.70805,"110":0.02499,"114":0.02499,"116":0.02499,"122":1.10789,"123":0.30821,"124":25.13994,"125":9.7461,_:"4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 104 105 106 107 108 111 112 113 115 117 118 119 120 121 126 127 128"},F:{"109":0.0833,"110":0.05831,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 60 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"18":0.48314,"109":0.02499,"124":25.53978,"125":4.165,_:"12 13 14 15 16 17 79 80 81 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 110 111 112 113 114 115 116 117 118 119 120 121 122 123"},E:{"14":0.02499,_:"0 4 5 6 7 8 9 10 11 12 13 15 3.1 3.2 5.1 6.1 7.1 9.1 10.1 12.1 15.1 15.2-15.3 15.4 15.5 16.0 16.1 16.2 16.4 17.0 17.6","11.1":0.0833,"13.1":0.14161,"14.1":0.0833,"15.6":0.30821,"16.3":0.05831,"16.5":0.05831,"16.6":0.14161,"17.1":1.3328,"17.2":0.0833,"17.3":1.04958,"17.4":1.44942,"17.5":1.1662},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.0016,"5.0-5.1":0.0016,"6.0-6.1":0.00399,"7.0-7.1":0.00559,"8.1-8.4":0.0016,"9.0-9.2":0.00399,"9.3":0.01836,"10.0-10.2":0.00319,"10.3":0.02874,"11.0-11.2":0.04231,"11.3-11.4":0.00798,"12.0-12.1":0.00479,"12.2-12.5":0.11575,"13.0-13.1":0.00239,"13.2":0.01118,"13.3":0.00559,"13.4-13.7":0.02554,"14.0-14.4":0.0439,"14.5-14.8":0.06785,"15.0-15.1":0.03273,"15.2-15.3":0.03592,"15.4":0.04071,"15.5":0.05109,"15.6-15.8":0.4598,"16.0":0.10457,"16.1":0.21553,"16.2":0.10457,"16.3":0.18121,"16.4":0.03832,"16.5":0.07743,"16.6-16.7":0.61705,"17.0":0.06705,"17.1":0.10936,"17.2":0.11415,"17.3":0.21074,"17.4":4.78557,"17.5":0.33766,"17.6":0},P:{"25":0.41082,_:"4 20 21 22 23 24 5.0-5.4 6.2-6.4 7.2-7.4 8.2 9.2 10.1 11.1-11.2 12.0 13.0 14.0 15.0 16.0 17.0 18.0 19.0"},I:{"0":0,"3":0,"4":0,"2.1":0,"2.2":0,"2.3":0,"4.1":0,"4.2-4.3":0,"4.4":0,"4.4.3-4.4.4":0},K:{"0":0,_:"10 11 12 11.1 11.5 12.1"},A:{_:"6 7 8 9 10 11 5.5"},S:{_:"2.5 3.0-3.1"},J:{_:"7 10"},N:{_:"10 11"},L:{"0":8.30658},R:{_:"0"},M:{_:"0"},Q:{_:"14.9"},O:{_:"0"},H:{"0":0}}; +module.exports={C:{"115":1.20286,"129":1.02726,"130":5.9704,_:"2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 116 117 118 119 120 121 122 123 124 125 126 127 128 131 132 133 134 135 3.5 3.6"},D:{"103":0.02634,"106":0.0878,"107":0.06146,"109":18.25362,"113":0.6146,"116":0.02634,"120":0.06146,"122":1.50138,"124":0.02634,"126":0.02634,"127":0.23706,"128":22.57338,"129":17.75316,_:"4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 104 105 108 110 111 112 114 115 117 118 119 121 123 125 130 131 132 133"},F:{"112":0.11414,"113":0.11414,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 60 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 114 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"126":0.02634,"127":0.0878,"128":10.96622,"129":3.96856,_:"12 13 14 15 16 17 18 79 80 81 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 130"},E:{_:"0 4 5 6 7 8 9 10 11 12 13 14 15 3.1 3.2 5.1 6.1 7.1 9.1 10.1 11.1 12.1 15.1 15.2-15.3 15.4 16.1 16.2 16.4 16.5 17.2 17.3 18.1","13.1":0.20194,"14.1":0.0878,"15.5":0.02634,"15.6":0.3512,"16.0":0.02634,"16.3":0.02634,"16.6":0.02634,"17.0":0.1756,"17.1":0.20194,"17.4":0.02634,"17.5":0.38632,"17.6":1.23798,"18.0":0.14926},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.00101,"5.0-5.1":0.0005,"6.0-6.1":0.00302,"7.0-7.1":0.00352,"8.1-8.4":0,"9.0-9.2":0.00302,"9.3":0.00856,"10.0-10.2":0.00252,"10.3":0.01459,"11.0-11.2":0.05385,"11.3-11.4":0.00403,"12.0-12.1":0.00252,"12.2-12.5":0.06089,"13.0-13.1":0.00101,"13.2":0.01912,"13.3":0.00252,"13.4-13.7":0.01007,"14.0-14.4":0.02315,"14.5-14.8":0.0307,"15.0-15.1":0.01761,"15.2-15.3":0.01711,"15.4":0.01963,"15.5":0.02416,"15.6-15.8":0.23904,"16.0":0.04831,"16.1":0.09562,"16.2":0.04781,"16.3":0.08052,"16.4":0.01711,"16.5":0.03372,"16.6-16.7":0.28786,"17.0":0.02416,"17.1":0.03825,"17.2":0.03472,"17.3":0.04982,"17.4":0.10669,"17.5":0.51281,"17.6-17.7":2.72912,"18.0":0.34422,"18.1":0.0156},P:{"26":0.2867,_:"4 20 21 22 23 24 25 5.0-5.4 6.2-6.4 7.2-7.4 8.2 9.2 10.1 11.1-11.2 12.0 13.0 14.0 15.0 16.0 17.0 18.0 19.0"},I:{"0":0,"3":0,"4":0,"2.1":0,"2.2":0,"2.3":0,"4.1":0,"4.2-4.3":0,"4.4":0,"4.4.3-4.4.4":0},K:{"0":0,_:"10 11 12 11.1 11.5 12.1"},A:{_:"6 7 8 9 10 11 5.5"},N:{_:"10 11"},S:{_:"2.5 3.0-3.1"},J:{_:"7 10"},O:{_:"0"},H:{"0":0},L:{"0":6.9686},R:{_:"0"},M:{_:"0"},Q:{_:"14.9"}}; diff --git a/node_modules/caniuse-lite/data/regions/VC.js b/node_modules/caniuse-lite/data/regions/VC.js index d3d3ae5ff8..24bc28d7eb 100644 --- a/node_modules/caniuse-lite/data/regions/VC.js +++ b/node_modules/caniuse-lite/data/regions/VC.js @@ -1 +1 @@ -module.exports={C:{"78":0.02285,"87":0.00381,"115":0.03809,"123":0.01905,"124":0.5904,"125":1.9883,"126":0.89131,_:"2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 79 80 81 82 83 84 85 86 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 116 117 118 119 120 121 122 127 128 129 3.5 3.6"},D:{"58":0.00381,"70":0.00762,"74":0.04571,"76":0.01143,"79":0.00762,"83":0.03047,"85":0.03809,"87":0.02666,"88":0.00381,"89":0.02285,"91":0.00381,"92":0.00762,"93":0.15998,"94":0.00381,"96":0.00381,"98":0.00381,"99":0.07999,"102":0.03047,"103":0.07999,"105":0.00381,"106":0.00381,"109":1.10461,"110":0.00762,"111":0.00762,"112":0.02285,"114":0.00762,"115":0.06094,"116":0.06475,"117":0.03809,"118":0.01524,"119":0.04571,"120":0.26282,"121":0.04571,"122":0.1676,"123":1.34077,"124":12.00597,"125":4.20895,"126":0.03809,"127":0.00381,_:"4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 59 60 61 62 63 64 65 66 67 68 69 71 72 73 75 77 78 80 81 84 86 90 95 97 100 101 104 107 108 113 128"},F:{"81":0.00762,"102":0.00381,"107":0.01524,"108":0.00381,"109":0.32757,"110":0.05714,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 60 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 103 104 105 106 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"92":0.01524,"96":0.00381,"109":0.00762,"112":0.00381,"116":0.00381,"117":0.00381,"121":0.00381,"122":0.02666,"123":0.17902,"124":4.62794,"125":2.42633,_:"12 13 14 15 16 17 18 79 80 81 83 84 85 86 87 88 89 90 91 93 94 95 97 98 99 100 101 102 103 104 105 106 107 108 110 111 113 114 115 118 119 120"},E:{"14":0.02285,_:"0 4 5 6 7 8 9 10 11 12 13 15 3.1 3.2 5.1 6.1 7.1 9.1 10.1 11.1 13.1 15.2-15.3 15.4 15.5 16.2 17.6","12.1":0.00762,"14.1":0.0419,"15.1":0.03047,"15.6":0.09142,"16.0":0.01905,"16.1":0.01524,"16.3":0.01905,"16.4":0.00762,"16.5":0.00762,"16.6":0.27806,"17.0":0.0419,"17.1":0.0419,"17.2":0.02285,"17.3":0.2133,"17.4":0.84179,"17.5":0.14474},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.00266,"5.0-5.1":0.00266,"6.0-6.1":0.00665,"7.0-7.1":0.00931,"8.1-8.4":0.00266,"9.0-9.2":0.00665,"9.3":0.0306,"10.0-10.2":0.00532,"10.3":0.0479,"11.0-11.2":0.07051,"11.3-11.4":0.0133,"12.0-12.1":0.00798,"12.2-12.5":0.19291,"13.0-13.1":0.00399,"13.2":0.01863,"13.3":0.00931,"13.4-13.7":0.04257,"14.0-14.4":0.07317,"14.5-14.8":0.11309,"15.0-15.1":0.05455,"15.2-15.3":0.05987,"15.4":0.06785,"15.5":0.08515,"15.6-15.8":0.76634,"16.0":0.17429,"16.1":0.35922,"16.2":0.17429,"16.3":0.30201,"16.4":0.06386,"16.5":0.12905,"16.6-16.7":1.02843,"17.0":0.11176,"17.1":0.18227,"17.2":0.19025,"17.3":0.35124,"17.4":7.97602,"17.5":0.56278,"17.6":0},P:{"4":0.17675,"21":0.17675,"22":0.03535,"23":0.09427,"24":0.17675,"25":2.14462,_:"20 5.0-5.4 6.2-6.4 8.2 9.2 10.1 14.0 15.0 16.0","7.2-7.4":0.23567,"11.1-11.2":0.02357,"12.0":0.01178,"13.0":0.04713,"17.0":0.01178,"18.0":0.01178,"19.0":0.02357},I:{"0":0.08017,"3":0,"4":0.00001,"2.1":0,"2.2":0,"2.3":0,"4.1":0.00002,"4.2-4.3":0.00005,"4.4":0,"4.4.3-4.4.4":0.00018},K:{"0":0.4829,_:"10 11 12 11.1 11.5 12.1"},A:{"11":0.00381,_:"6 7 8 9 10 5.5"},S:{_:"2.5 3.0-3.1"},J:{_:"7 10"},N:{_:"10 11"},L:{"0":49.00977},R:{_:"0"},M:{"0":0.34051},Q:{_:"14.9"},O:{"0":0.12382},H:{"0":0}}; +module.exports={C:{"34":0.00801,"78":0.07613,"115":0.04408,"124":0.00401,"128":0.00801,"129":0.30053,"130":0.72527,_:"2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 116 117 118 119 120 121 122 123 125 126 127 131 132 133 134 135 3.5 3.6"},D:{"42":0.00401,"49":0.00401,"58":0.00401,"66":0.00401,"70":0.00401,"74":0.0561,"76":0.04808,"79":0.01603,"81":0.00801,"83":0.08415,"84":0.00801,"85":0.06011,"86":0.02004,"87":0.35262,"91":0.00801,"92":0.00401,"93":0.06812,"94":0.04408,"97":0.00401,"99":0.02004,"100":0.00401,"103":0.04408,"104":0.02805,"106":0.01202,"108":0.00801,"109":0.52091,"110":0.00401,"111":0.02805,"112":0.06011,"114":0.02805,"115":0.03206,"116":0.09617,"117":0.16829,"119":0.02404,"120":0.00801,"121":0.01603,"122":0.06812,"123":0.01202,"124":0.93363,"125":0.02805,"126":0.44077,"127":1.05384,"128":15.25064,"129":3.3178,"130":0.04007,_:"4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 43 44 45 46 47 48 50 51 52 53 54 55 56 57 59 60 61 62 63 64 65 67 68 69 71 72 73 75 77 78 80 88 89 90 95 96 98 101 102 105 107 113 118 131 132 133"},F:{"83":0.02004,"84":0.02004,"109":0.01202,"111":0.00401,"112":0.54495,"113":0.3406,"114":0.03206,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 60 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 110 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"84":0.04007,"92":0.01202,"100":0.00801,"101":0.00401,"109":0.00401,"114":0.01202,"115":0.00401,"119":0.00401,"122":0.00801,"123":0.01202,"124":0.00401,"125":0.00401,"126":0.04808,"127":0.22439,"128":6.23489,"129":2.15977,_:"12 13 14 15 16 17 18 79 80 81 83 85 86 87 88 89 90 91 93 94 95 96 97 98 99 102 103 104 105 106 107 108 110 111 112 113 116 117 118 120 121 130"},E:{"14":0.01202,_:"0 4 5 6 7 8 9 10 11 12 13 15 3.1 3.2 5.1 6.1 7.1 9.1 10.1 11.1 12.1 15.1 15.2-15.3 16.2 18.1","13.1":0.03206,"14.1":0.24443,"15.4":0.05209,"15.5":0.01202,"15.6":0.10018,"16.0":0.02004,"16.1":0.02404,"16.3":0.04007,"16.4":0.00401,"16.5":0.01603,"16.6":0.92161,"17.0":0.00801,"17.1":0.06011,"17.2":0.00401,"17.3":0.01603,"17.4":0.09617,"17.5":0.1723,"17.6":0.7413,"18.0":0.0561},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.00183,"5.0-5.1":0.00092,"6.0-6.1":0.0055,"7.0-7.1":0.00641,"8.1-8.4":0,"9.0-9.2":0.0055,"9.3":0.01558,"10.0-10.2":0.00458,"10.3":0.02657,"11.0-11.2":0.09803,"11.3-11.4":0.00733,"12.0-12.1":0.00458,"12.2-12.5":0.11086,"13.0-13.1":0.00183,"13.2":0.03481,"13.3":0.00458,"13.4-13.7":0.01832,"14.0-14.4":0.04214,"14.5-14.8":0.05589,"15.0-15.1":0.03207,"15.2-15.3":0.03115,"15.4":0.03573,"15.5":0.04398,"15.6-15.8":0.43518,"16.0":0.08795,"16.1":0.17407,"16.2":0.08704,"16.3":0.14659,"16.4":0.03115,"16.5":0.06138,"16.6-16.7":0.52405,"17.0":0.04398,"17.1":0.06963,"17.2":0.06322,"17.3":0.0907,"17.4":0.19423,"17.5":0.93358,"17.6-17.7":4.96843,"18.0":0.62666,"18.1":0.0284},P:{"4":0.16874,"20":0.01125,"21":0.03375,"22":0.0225,"23":0.03375,"24":0.01125,"25":0.12374,"26":4.57845,_:"5.0-5.4 6.2-6.4 8.2 9.2 10.1 12.0 13.0 14.0 15.0 17.0","7.2-7.4":0.17999,"11.1-11.2":0.0225,"16.0":0.10124,"18.0":0.01125,"19.0":0.01125},I:{"0":0.02988,"3":0,"4":0,"2.1":0,"2.2":0,"2.3":0,"4.1":0,"4.2-4.3":0.00001,"4.4":0,"4.4.3-4.4.4":0.00005},K:{"0":0.33555,_:"10 11 12 11.1 11.5 12.1"},A:{_:"6 7 8 9 10 11 5.5"},N:{_:"10 11"},S:{_:"2.5 3.0-3.1"},J:{_:"7 10"},O:{"0":0.0779},H:{"0":0},L:{"0":47.95827},R:{_:"0"},M:{"0":0.15579},Q:{_:"14.9"}}; diff --git a/node_modules/caniuse-lite/data/regions/VE.js b/node_modules/caniuse-lite/data/regions/VE.js index b13d8ddc1a..7b0b0506d5 100644 --- a/node_modules/caniuse-lite/data/regions/VE.js +++ b/node_modules/caniuse-lite/data/regions/VE.js @@ -1 +1 @@ -module.exports={C:{"4":1.85558,"27":0.00392,"45":0.00392,"52":0.20792,"60":0.00785,"61":0.00392,"62":0.00392,"64":0.00392,"68":0.01177,"72":0.01177,"75":0.00785,"78":0.01569,"86":0.00392,"88":0.01177,"91":0.01177,"99":0.00392,"102":0.00392,"103":0.00392,"104":0.00392,"106":0.00392,"107":0.00392,"108":0.00392,"109":0.00785,"111":0.00392,"112":0.00785,"113":0.00785,"114":0.00392,"115":0.69829,"116":0.00392,"119":0.00392,"120":0.00392,"121":0.00785,"122":0.01962,"123":0.04315,"124":0.03923,"125":0.58453,"126":0.54922,"127":0.00392,_:"2 3 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 46 47 48 49 50 51 53 54 55 56 57 58 59 63 65 66 67 69 70 71 73 74 76 77 79 80 81 82 83 84 85 87 89 90 92 93 94 95 96 97 98 100 101 105 110 117 118 128 129 3.5 3.6"},D:{"11":0.00392,"24":0.00392,"37":0.00392,"47":0.00392,"48":0.00392,"49":0.07846,"53":0.00392,"63":0.00392,"64":0.00785,"65":0.02354,"66":0.00392,"67":0.00392,"68":0.00392,"69":0.01177,"70":0.00392,"71":0.00785,"72":0.00392,"73":0.02746,"74":0.00785,"75":0.00785,"76":0.01962,"77":0.07454,"78":0.00392,"79":0.02354,"80":0.01569,"81":0.01569,"83":0.02354,"84":0.00392,"85":0.02746,"86":0.01177,"87":0.03923,"88":0.01569,"89":0.01177,"90":0.01962,"91":0.03531,"92":0.00785,"93":0.03531,"94":0.00785,"95":0.00785,"96":0.01177,"97":0.02354,"98":0.04708,"99":0.00785,"100":0.01569,"101":0.01962,"102":0.01962,"103":0.09023,"104":0.02354,"105":0.01569,"106":0.02746,"107":0.03138,"108":0.06277,"109":6.28857,"110":0.02746,"111":0.01962,"112":0.02746,"113":0.00785,"114":0.02354,"115":0.01177,"116":0.07846,"117":0.01569,"118":0.12554,"119":0.04315,"120":0.10592,"121":0.14515,"122":0.23538,"123":0.41976,"124":10.29003,"125":5.4922,"126":0.00392,"127":0.00392,_:"4 5 6 7 8 9 10 12 13 14 15 16 17 18 19 20 21 22 23 25 26 27 28 29 30 31 32 33 34 35 36 38 39 40 41 42 43 44 45 46 50 51 52 54 55 56 57 58 59 60 61 62 128"},F:{"65":0.00392,"79":0.01177,"82":0.00785,"95":0.22753,"102":0.00392,"107":0.33346,"108":0.01177,"109":1.44759,"110":0.07061,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 60 62 63 64 66 67 68 69 70 71 72 73 74 75 76 77 78 80 81 83 84 85 86 87 88 89 90 91 92 93 94 96 97 98 99 100 101 103 104 105 106 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"15":0.01962,"18":0.00392,"79":0.00392,"83":0.00392,"85":0.00392,"89":0.00392,"92":0.03531,"100":0.00392,"107":0.00392,"109":0.11377,"111":0.00392,"112":0.00392,"113":0.00392,"114":0.00392,"115":0.00392,"116":0.00392,"117":0.00392,"118":0.00392,"119":0.00392,"120":0.00785,"121":0.02746,"122":0.03138,"123":0.153,"124":1.87912,"125":0.98467,_:"12 13 14 16 17 80 81 84 86 87 88 90 91 93 94 95 96 97 98 99 101 102 103 104 105 106 108 110"},E:{"13":0.00785,"14":0.00392,_:"0 4 5 6 7 8 9 10 11 12 15 3.1 3.2 6.1 7.1 10.1 11.1 12.1 15.2-15.3 16.2 17.6","5.1":0.05492,"9.1":0.00392,"13.1":0.01569,"14.1":0.03138,"15.1":0.00392,"15.4":0.00392,"15.5":0.00392,"15.6":0.03138,"16.0":0.00392,"16.1":0.01177,"16.3":0.01569,"16.4":0.00785,"16.5":0.01177,"16.6":0.02746,"17.0":0.00392,"17.1":0.02354,"17.2":0.00785,"17.3":0.02354,"17.4":0.12161,"17.5":0.01962},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.00056,"5.0-5.1":0.00056,"6.0-6.1":0.0014,"7.0-7.1":0.00196,"8.1-8.4":0.00056,"9.0-9.2":0.0014,"9.3":0.00644,"10.0-10.2":0.00112,"10.3":0.01009,"11.0-11.2":0.01485,"11.3-11.4":0.0028,"12.0-12.1":0.00168,"12.2-12.5":0.04063,"13.0-13.1":0.00084,"13.2":0.00392,"13.3":0.00196,"13.4-13.7":0.00897,"14.0-14.4":0.01541,"14.5-14.8":0.02382,"15.0-15.1":0.01149,"15.2-15.3":0.01261,"15.4":0.01429,"15.5":0.01793,"15.6-15.8":0.16139,"16.0":0.03671,"16.1":0.07565,"16.2":0.03671,"16.3":0.0636,"16.4":0.01345,"16.5":0.02718,"16.6-16.7":0.21659,"17.0":0.02354,"17.1":0.03839,"17.2":0.04007,"17.3":0.07397,"17.4":1.67977,"17.5":0.11852,"17.6":0},P:{"4":0.06422,"20":0.0107,"21":0.02141,"22":0.03211,"23":0.04281,"24":0.07492,"25":0.59934,"5.0-5.4":0.0107,_:"6.2-6.4 8.2 9.2 10.1 11.1-11.2 12.0 14.0 15.0 18.0","7.2-7.4":0.06422,"13.0":0.0107,"16.0":0.0107,"17.0":0.02141,"19.0":0.02141},I:{"0":0.0666,"3":0,"4":0.00001,"2.1":0,"2.2":0,"2.3":0,"4.1":0.00001,"4.2-4.3":0.00004,"4.4":0,"4.4.3-4.4.4":0.00015},K:{"0":0.39507,_:"10 11 12 11.1 11.5 12.1"},A:{"8":0.00785,"9":0.00392,"11":0.03531,_:"6 7 10 5.5"},S:{"2.5":0.01216,_:"3.0-3.1"},J:{_:"7 10"},N:{_:"10 11"},L:{"0":60.49177},R:{_:"0"},M:{"0":0.13372},Q:{_:"14.9"},O:{"0":0.09117},H:{"0":0}}; +module.exports={C:{"4":1.2784,"47":0.00356,"52":0.13888,"60":0.00356,"63":0.00712,"64":0.00712,"67":0.00356,"68":0.00712,"71":0.00356,"72":0.00356,"75":0.01424,"78":0.01424,"82":0.00356,"84":0.00356,"88":0.00712,"91":0.00712,"94":0.01424,"95":0.00356,"99":0.00356,"100":0.00356,"102":0.00356,"103":0.00712,"106":0.01424,"108":0.00356,"109":0.00712,"110":0.00356,"111":0.00356,"112":0.00356,"113":0.00712,"115":0.69083,"119":0.00356,"120":0.00356,"121":0.00356,"122":0.00712,"123":0.02137,"124":0.00356,"125":0.01781,"126":0.00356,"127":0.01781,"128":0.02137,"129":0.18517,"130":0.90093,"131":0.00356,_:"2 3 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 48 49 50 51 53 54 55 56 57 58 59 61 62 65 66 69 70 73 74 76 77 79 80 81 83 85 86 87 89 90 92 93 96 97 98 101 104 105 107 114 116 117 118 132 133 134 135 3.5 3.6"},D:{"11":0.00356,"47":0.01068,"49":0.04273,"53":0.00356,"56":0.00356,"65":0.01068,"66":0.03561,"68":0.00356,"69":0.02137,"70":0.01068,"71":0.00712,"72":0.00356,"73":0.03561,"74":0.00712,"75":0.00712,"76":0.01068,"77":0.01068,"78":0.00356,"79":0.03205,"80":0.00712,"81":0.02137,"83":0.02849,"84":0.00712,"85":0.03205,"86":0.01068,"87":0.04985,"88":0.04273,"89":0.00356,"90":0.01424,"91":0.01424,"92":0.01424,"93":0.02493,"94":0.03917,"95":0.00712,"96":0.00712,"97":0.01781,"98":0.04985,"99":0.01424,"100":0.01068,"101":0.02493,"102":0.01068,"103":0.0819,"104":0.00712,"105":0.02849,"106":0.04273,"107":0.02137,"108":0.04985,"109":5.06018,"110":0.03561,"111":0.01781,"112":0.01424,"113":0.00712,"114":0.03205,"115":0.00356,"116":0.09259,"117":0.00712,"118":0.14244,"119":0.03561,"120":0.06054,"121":0.0641,"122":0.11751,"123":0.06766,"124":0.11751,"125":0.10327,"126":0.18517,"127":0.51278,"128":10.98212,"129":3.69988,"130":0.00356,_:"4 5 6 7 8 9 10 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 48 50 51 52 54 55 57 58 59 60 61 62 63 64 67 131 132 133"},F:{"36":0.00356,"60":0.00356,"65":0.00356,"69":0.00356,"79":0.01068,"84":0.02849,"85":0.00356,"86":0.00356,"93":0.00356,"95":0.17805,"102":0.00356,"109":0.03205,"111":0.01781,"112":1.06118,"113":0.73357,"114":0.00712,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 62 63 64 66 67 68 70 71 72 73 74 75 76 77 78 80 81 82 83 87 88 89 90 91 92 94 96 97 98 99 100 101 103 104 105 106 107 108 110 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"15":0.01068,"18":0.00712,"85":0.00712,"89":0.00356,"92":0.02849,"99":0.00356,"100":0.00356,"107":0.00356,"109":0.09259,"110":0.00356,"111":0.00356,"114":0.00356,"117":0.00356,"119":0.00356,"120":0.00356,"121":0.01068,"122":0.01424,"123":0.00712,"124":0.01068,"125":0.02137,"126":0.01781,"127":0.08546,"128":1.94075,"129":0.82971,_:"12 13 14 16 17 79 80 81 83 84 86 87 88 90 91 93 94 95 96 97 98 101 102 103 104 105 106 108 112 113 115 116 118 130"},E:{"14":0.00356,_:"0 4 5 6 7 8 9 10 11 12 13 15 3.1 3.2 6.1 7.1 9.1 10.1 11.1 12.1 15.2-15.3 15.5 16.4 18.1","5.1":0.00712,"13.1":0.01424,"14.1":0.02137,"15.1":0.00356,"15.4":0.00356,"15.6":0.02849,"16.0":0.00356,"16.1":0.00356,"16.2":0.00356,"16.3":0.00712,"16.5":0.00356,"16.6":0.05698,"17.0":0.00356,"17.1":0.00712,"17.2":0.00356,"17.3":0.01068,"17.4":0.00712,"17.5":0.02849,"17.6":0.14956,"18.0":0.03917},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.0006,"5.0-5.1":0.0003,"6.0-6.1":0.0018,"7.0-7.1":0.0021,"8.1-8.4":0,"9.0-9.2":0.0018,"9.3":0.00511,"10.0-10.2":0.0015,"10.3":0.00872,"11.0-11.2":0.03218,"11.3-11.4":0.00241,"12.0-12.1":0.0015,"12.2-12.5":0.03638,"13.0-13.1":0.0006,"13.2":0.01143,"13.3":0.0015,"13.4-13.7":0.00601,"14.0-14.4":0.01383,"14.5-14.8":0.01834,"15.0-15.1":0.01052,"15.2-15.3":0.01022,"15.4":0.01173,"15.5":0.01443,"15.6-15.8":0.14283,"16.0":0.02887,"16.1":0.05713,"16.2":0.02857,"16.3":0.04811,"16.4":0.01022,"16.5":0.02015,"16.6-16.7":0.172,"17.0":0.01443,"17.1":0.02285,"17.2":0.02075,"17.3":0.02977,"17.4":0.06375,"17.5":0.30641,"17.6-17.7":1.6307,"18.0":0.20568,"18.1":0.00932},P:{"4":0.08676,"21":0.02169,"22":0.04338,"23":0.02169,"24":0.02169,"25":0.04338,"26":0.4121,_:"20 5.0-5.4 8.2 9.2 10.1 11.1-11.2 12.0 14.0 15.0 18.0","6.2-6.4":0.01084,"7.2-7.4":0.06507,"13.0":0.01084,"16.0":0.02169,"17.0":0.03253,"19.0":0.03253},I:{"0":0.01926,"3":0,"4":0,"2.1":0,"2.2":0,"2.3":0,"4.1":0,"4.2-4.3":0.00001,"4.4":0,"4.4.3-4.4.4":0.00003},K:{"0":0.43141,_:"10 11 12 11.1 11.5 12.1"},A:{"8":0.00388,"9":0.00388,"11":0.03496,_:"6 7 10 5.5"},N:{_:"10 11"},S:{"2.5":0.01288,_:"3.0-3.1"},J:{_:"7 10"},O:{"0":0.05795},H:{"0":0},L:{"0":63.74292},R:{_:"0"},M:{"0":0.10946},Q:{"14.9":0.00644}}; diff --git a/node_modules/caniuse-lite/data/regions/VG.js b/node_modules/caniuse-lite/data/regions/VG.js index 01c999bbf7..ad2ab9f21c 100644 --- a/node_modules/caniuse-lite/data/regions/VG.js +++ b/node_modules/caniuse-lite/data/regions/VG.js @@ -1 +1 @@ -module.exports={C:{"38":0.01116,"54":0.00372,"68":0.00372,"74":0.00372,"75":0.00372,"86":0.00372,"88":0.00372,"91":0.01488,"101":0.00372,"102":0.04092,"103":0.00372,"105":0.093,"106":0.23436,"107":0.04092,"108":0.0186,"109":0.04464,"110":0.0186,"111":0.02604,"113":0.00744,"114":0.01488,"115":0.02604,"119":0.00744,"121":0.00372,"124":0.01488,"125":0.42036,"126":0.47244,_:"2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 55 56 57 58 59 60 61 62 63 64 65 66 67 69 70 71 72 73 76 77 78 79 80 81 82 83 84 85 87 89 90 92 93 94 95 96 97 98 99 100 104 112 116 117 118 120 122 123 127 128 129 3.5 3.6"},D:{"49":0.00372,"50":0.00372,"66":0.00744,"68":0.01488,"72":0.00372,"75":0.00372,"76":0.02232,"77":0.00372,"78":0.00744,"79":0.00372,"80":0.00372,"81":0.00744,"83":0.00744,"84":0.00744,"85":0.00372,"86":0.00372,"87":0.00372,"88":0.00744,"89":0.00372,"90":0.00372,"91":0.02976,"92":0.00372,"93":0.01488,"94":0.00372,"101":0.00372,"102":0.04092,"103":0.13392,"104":0.00372,"106":0.8742,"107":0.0186,"108":0.30504,"109":2.18736,"110":0.02976,"111":0.0744,"112":0.55428,"113":0.0186,"114":0.01488,"115":0.04836,"116":0.06696,"117":0.01488,"118":0.10044,"119":0.23808,"120":0.05952,"121":0.10044,"122":0.13764,"123":1.11228,"124":9.3744,"125":4.08084,_:"4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 67 69 70 71 73 74 95 96 97 98 99 100 105 126 127 128"},F:{"46":0.01116,"54":0.00372,"55":0.00372,"56":0.00372,"70":0.00372,"93":0.00372,"103":0.01116,"105":0.01116,"107":0.05952,"108":0.00744,"109":0.86676,"110":0.00372,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 47 48 49 50 51 52 53 57 58 60 62 63 64 65 66 67 68 69 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 94 95 96 97 98 99 100 101 102 104 106 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"80":0.00372,"81":0.01116,"83":0.00372,"84":0.00744,"88":0.00372,"89":0.00372,"92":0.02232,"96":0.00372,"101":0.00372,"104":0.00372,"107":0.02604,"108":0.06324,"109":0.00744,"110":0.00372,"111":0.06696,"112":0.00744,"113":0.00372,"116":0.00372,"118":0.01116,"119":0.0372,"120":0.18972,"121":0.01488,"122":0.093,"123":0.3534,"124":4.02132,"125":2.94624,_:"12 13 14 15 16 17 18 79 85 86 87 90 91 93 94 95 97 98 99 100 102 103 105 106 114 115 117"},E:{"11":0.0186,"15":0.01116,_:"0 4 5 6 7 8 9 10 12 13 14 3.1 3.2 5.1 6.1 7.1 10.1 11.1 12.1 17.6","9.1":0.0372,"13.1":0.01488,"14.1":0.07068,"15.1":0.00372,"15.2-15.3":0.0186,"15.4":0.15252,"15.5":0.00372,"15.6":0.49104,"16.0":0.02232,"16.1":0.093,"16.2":0.00744,"16.3":0.10044,"16.4":0.02232,"16.5":0.27528,"16.6":0.79236,"17.0":0.01116,"17.1":0.06696,"17.2":0.04464,"17.3":0.093,"17.4":2.79744,"17.5":0.55056},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.00571,"5.0-5.1":0.00571,"6.0-6.1":0.01428,"7.0-7.1":0.01999,"8.1-8.4":0.00571,"9.0-9.2":0.01428,"9.3":0.06569,"10.0-10.2":0.01142,"10.3":0.10282,"11.0-11.2":0.15138,"11.3-11.4":0.02856,"12.0-12.1":0.01714,"12.2-12.5":0.41414,"13.0-13.1":0.00857,"13.2":0.03999,"13.3":0.01999,"13.4-13.7":0.0914,"14.0-14.4":0.15709,"14.5-14.8":0.24277,"15.0-15.1":0.1171,"15.2-15.3":0.12853,"15.4":0.14566,"15.5":0.18279,"15.6-15.8":1.64514,"16.0":0.37415,"16.1":0.77116,"16.2":0.37415,"16.3":0.64834,"16.4":0.13709,"16.5":0.27705,"16.6-16.7":2.2078,"17.0":0.23992,"17.1":0.39129,"17.2":0.40843,"17.3":0.75402,"17.4":17.12258,"17.5":1.20815,"17.6":0},P:{"4":0.05478,"20":0.01096,"21":0.03287,"22":0.13146,"23":0.03287,"24":0.10955,"25":4.393,_:"5.0-5.4 6.2-6.4 8.2 10.1 12.0 13.0 14.0 15.0 16.0 17.0 18.0","7.2-7.4":0.02191,"9.2":0.0986,"11.1-11.2":0.01096,"19.0":0.03287},I:{"0":0.03128,"3":0,"4":0,"2.1":0,"2.2":0,"2.3":0,"4.1":0.00001,"4.2-4.3":0.00002,"4.4":0,"4.4.3-4.4.4":0.00007},K:{"0":0.18212,_:"10 11 12 11.1 11.5 12.1"},A:{"8":0.15996,"9":0.01488,"10":0.00372,"11":0.08556,_:"6 7 5.5"},S:{_:"2.5 3.0-3.1"},J:{_:"7 10"},N:{_:"10 11"},L:{"0":28.71212},R:{_:"0"},M:{"0":0.25748},Q:{_:"14.9"},O:{"0":0.2826},H:{"0":0}}; +module.exports={C:{"44":0.01295,"109":0.00432,"110":0.00432,"115":0.01295,"123":0.00863,"127":0.00432,"129":0.30644,"130":0.59992,_:"2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 111 112 113 114 116 117 118 119 120 121 122 124 125 126 128 131 132 133 134 135 3.5 3.6"},D:{"71":0.00432,"72":0.00432,"79":0.00863,"85":0.00863,"86":0.00432,"87":0.00863,"92":0.07337,"94":0.00863,"100":0.00863,"101":0.01726,"103":0.3237,"104":0.0259,"105":0.00432,"106":1.16964,"107":0.3496,"108":1.10058,"109":0.50066,"111":0.14674,"112":0.59561,"114":0.01295,"116":0.06474,"117":0.00432,"118":0.00863,"121":0.00432,"122":0.01726,"123":0.08632,"125":0.00863,"126":0.36254,"127":2.9953,"128":14.34638,"129":2.81835,"130":0.01726,_:"4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 73 74 75 76 77 78 80 81 83 84 88 89 90 91 93 95 96 97 98 99 102 110 113 115 119 120 124 131 132 133"},F:{"84":0.01726,"112":0.15969,"113":0.14243,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 60 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 114 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"83":0.00432,"92":0.01295,"100":0.00432,"108":0.00432,"109":0.08632,"113":0.01726,"120":0.06474,"122":0.01726,"123":0.02158,"124":0.02158,"125":0.02158,"126":0.06042,"127":1.02289,"128":5.68417,"129":2.48602,_:"12 13 14 15 16 17 18 79 80 81 84 85 86 87 88 89 90 91 93 94 95 96 97 98 99 101 102 103 104 105 106 107 110 111 112 114 115 116 117 118 119 121 130"},E:{_:"0 4 5 6 7 8 9 10 11 12 13 14 15 3.1 3.2 5.1 6.1 7.1 9.1 10.1 15.1 15.2-15.3 16.0 16.4 18.1","11.1":0.13811,"12.1":0.03021,"13.1":0.02158,"14.1":0.02158,"15.4":0.00432,"15.5":0.01295,"15.6":0.15969,"16.1":0.06042,"16.2":0.00432,"16.3":0.04316,"16.5":0.06042,"16.6":0.66035,"17.0":0.00432,"17.1":0.17264,"17.2":0.07337,"17.3":0.20285,"17.4":0.07769,"17.5":0.60856,"17.6":3.81534,"18.0":0.28486},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.00423,"5.0-5.1":0.00212,"6.0-6.1":0.01269,"7.0-7.1":0.01481,"8.1-8.4":0,"9.0-9.2":0.01269,"9.3":0.03597,"10.0-10.2":0.01058,"10.3":0.06136,"11.0-11.2":0.22639,"11.3-11.4":0.01693,"12.0-12.1":0.01058,"12.2-12.5":0.25601,"13.0-13.1":0.00423,"13.2":0.0804,"13.3":0.01058,"13.4-13.7":0.04232,"14.0-14.4":0.09733,"14.5-14.8":0.12906,"15.0-15.1":0.07405,"15.2-15.3":0.07194,"15.4":0.08252,"15.5":0.10156,"15.6-15.8":1.005,"16.0":0.20311,"16.1":0.402,"16.2":0.201,"16.3":0.33852,"16.4":0.07194,"16.5":0.14176,"16.6-16.7":1.21023,"17.0":0.10156,"17.1":0.1608,"17.2":0.14599,"17.3":0.20946,"17.4":0.44855,"17.5":2.15598,"17.6-17.7":11.47388,"18.0":1.44719,"18.1":0.06559},P:{"20":0.05294,"21":0.02118,"22":0.14823,"23":0.03176,"24":0.33882,"25":0.23294,"26":4.56349,_:"4 5.0-5.4 6.2-6.4 8.2 9.2 10.1 11.1-11.2 12.0 13.0 15.0 16.0 17.0","7.2-7.4":1.15411,"14.0":0.01059,"18.0":0.01059,"19.0":0.01059},I:{"0":0,"3":0,"4":0,"2.1":0,"2.2":0,"2.3":0,"4.1":0,"4.2-4.3":0,"4.4":0,"4.4.3-4.4.4":0},K:{"0":0.43759,_:"10 11 12 11.1 11.5 12.1"},A:{"8":0.03159,"9":0.01805,"10":0.02256,"11":0.02707,_:"6 7 5.5"},N:{_:"10 11"},S:{_:"2.5 3.0-3.1"},J:{_:"7 10"},O:{"0":1.51736},H:{"0":0},L:{"0":27.17832},R:{_:"0"},M:{"0":0.13639},Q:{_:"14.9"}}; diff --git a/node_modules/caniuse-lite/data/regions/VI.js b/node_modules/caniuse-lite/data/regions/VI.js index fbfc3ee28b..fb0cc12a8a 100644 --- a/node_modules/caniuse-lite/data/regions/VI.js +++ b/node_modules/caniuse-lite/data/regions/VI.js @@ -1 +1 @@ -module.exports={C:{"78":0.00894,"115":0.14298,"118":0.03574,"120":0.00447,"124":0.02234,"125":3.52972,"126":2.53782,_:"2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 116 117 119 121 122 123 127 128 129 3.5 3.6"},D:{"49":0.00447,"62":0.00447,"75":0.00447,"76":0.00447,"79":0.00894,"80":0.00447,"83":0.00447,"87":0.00894,"88":0.00894,"92":0.00447,"93":0.08489,"94":0.00447,"96":0.00447,"98":0.00447,"99":0.0134,"103":0.21,"109":0.37978,"111":0.08489,"112":0.00447,"113":0.0134,"114":0.00447,"115":0.01787,"116":0.55403,"117":0.03128,"118":0.0134,"119":0.04915,"120":0.35744,"121":0.10723,"122":0.2368,"123":1.34934,"124":12.32274,"125":3.84695,_:"4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 50 51 52 53 54 55 56 57 58 59 60 61 63 64 65 66 67 68 69 70 71 72 73 74 77 78 81 84 85 86 89 90 91 95 97 100 101 102 104 105 106 107 108 110 126 127 128"},F:{"82":0.00447,"95":0.03574,"107":0.15638,"108":0.03128,"109":0.30382,"110":0.01787,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 60 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 83 84 85 86 87 88 89 90 91 92 93 94 96 97 98 99 100 101 102 103 104 105 106 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"17":0.00894,"18":0.00447,"104":0.01787,"109":0.20106,"118":0.00447,"120":0.05362,"121":0.02681,"122":0.03574,"123":0.35297,"124":5.87542,"125":2.72995,_:"12 13 14 15 16 79 80 81 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 105 106 107 108 110 111 112 113 114 115 116 117 119"},E:{"14":0.12064,_:"0 4 5 6 7 8 9 10 11 12 13 15 3.1 3.2 5.1 6.1 7.1 9.1 10.1 11.1 15.2-15.3 17.6","12.1":0.0134,"13.1":0.0134,"14.1":0.67914,"15.1":0.01787,"15.4":0.08042,"15.5":0.03574,"15.6":0.41552,"16.0":0.1117,"16.1":0.07596,"16.2":0.07596,"16.3":0.19659,"16.4":0.03128,"16.5":1.60848,"16.6":0.91594,"17.0":0.25021,"17.1":0.11617,"17.2":0.06702,"17.3":0.08042,"17.4":2.9176,"17.5":0.2368},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.00547,"5.0-5.1":0.00547,"6.0-6.1":0.01368,"7.0-7.1":0.01915,"8.1-8.4":0.00547,"9.0-9.2":0.01368,"9.3":0.06293,"10.0-10.2":0.01094,"10.3":0.0985,"11.0-11.2":0.14501,"11.3-11.4":0.02736,"12.0-12.1":0.01642,"12.2-12.5":0.39673,"13.0-13.1":0.00821,"13.2":0.0383,"13.3":0.01915,"13.4-13.7":0.08755,"14.0-14.4":0.15048,"14.5-14.8":0.23257,"15.0-15.1":0.11218,"15.2-15.3":0.12312,"15.4":0.13954,"15.5":0.17511,"15.6-15.8":1.57598,"16.0":0.35842,"16.1":0.73874,"16.2":0.35842,"16.3":0.62109,"16.4":0.13133,"16.5":0.2654,"16.6-16.7":2.11498,"17.0":0.22983,"17.1":0.37484,"17.2":0.39126,"17.3":0.72232,"17.4":16.40273,"17.5":1.15736,"17.6":0},P:{"20":0.01083,"21":0.02166,"22":0.01083,"23":0.01083,"24":0.1733,"25":2.42615,_:"4 6.2-6.4 7.2-7.4 8.2 9.2 10.1 11.1-11.2 12.0 14.0 15.0 16.0 17.0 18.0","5.0-5.4":0.10831,"13.0":0.01083,"19.0":0.03249},I:{"0":0.00551,"3":0,"4":0,"2.1":0,"2.2":0,"2.3":0,"4.1":0,"4.2-4.3":0,"4.4":0,"4.4.3-4.4.4":0.00001},K:{"0":0.02213,_:"10 11 12 11.1 11.5 12.1"},A:{"11":0.04021,_:"6 7 8 9 10 5.5"},S:{_:"2.5 3.0-3.1"},J:{_:"7 10"},N:{_:"10 11"},L:{"0":24.44791},R:{_:"0"},M:{"0":0.72482},Q:{_:"14.9"},O:{_:"0"},H:{"0":0}}; +module.exports={C:{"63":0.00459,"115":0.12849,"122":0.00459,"127":0.00459,"128":0.00459,"129":0.90862,"130":2.79011,_:"2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 116 117 118 119 120 121 123 124 125 126 131 132 133 134 135 3.5 3.6"},D:{"74":0.02753,"75":0.06425,"76":0.00459,"79":0.00459,"83":0.01377,"84":0.00459,"87":0.01377,"88":0.0826,"91":0.00918,"93":0.31205,"94":0.01377,"97":0.00459,"98":0.00459,"99":0.00459,"101":0.00459,"103":0.06425,"105":0.00918,"108":0.00918,"109":0.38548,"111":0.19733,"112":0.06425,"114":0.00459,"115":0.03212,"116":0.46349,"117":0.06884,"118":0.00459,"119":0.00918,"120":0.01836,"121":0.01377,"122":0.10096,"123":0.00918,"124":0.05507,"125":0.05048,"126":0.25698,"127":1.68875,"128":15.06569,"129":3.30867,"130":0.00459,_:"4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 77 78 80 81 85 86 89 90 92 95 96 100 102 104 106 107 110 113 131 132 133"},F:{"95":0.05048,"109":0.00459,"112":0.28911,"113":0.06884,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 60 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 96 97 98 99 100 101 102 103 104 105 106 107 108 110 111 114 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"109":0.11931,"110":0.00918,"115":0.06884,"118":0.00918,"119":0.00459,"120":0.00459,"121":0.13767,"122":0.00918,"123":0.14226,"124":0.02295,"125":0.03671,"126":0.20192,"127":0.35335,"128":8.095,"129":2.28532,_:"12 13 14 15 16 17 18 79 80 81 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 111 112 113 114 116 117 130"},E:{"14":0.03212,_:"0 4 5 6 7 8 9 10 11 12 13 15 3.1 3.2 5.1 6.1 7.1 9.1 10.1 11.1 12.1 18.1","13.1":0.09178,"14.1":0.13308,"15.1":0.01377,"15.2-15.3":0.00459,"15.4":0.06425,"15.5":0.00918,"15.6":0.61493,"16.0":0.05966,"16.1":0.02295,"16.2":0.0413,"16.3":0.02753,"16.4":0.06425,"16.5":0.52774,"16.6":0.88109,"17.0":0.02295,"17.1":0.06425,"17.2":0.02295,"17.3":0.0413,"17.4":0.20192,"17.5":0.47726,"17.6":3.26737,"18.0":0.19274},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.00584,"5.0-5.1":0.00292,"6.0-6.1":0.01752,"7.0-7.1":0.02043,"8.1-8.4":0,"9.0-9.2":0.01752,"9.3":0.04963,"10.0-10.2":0.0146,"10.3":0.08466,"11.0-11.2":0.31236,"11.3-11.4":0.02335,"12.0-12.1":0.0146,"12.2-12.5":0.35323,"13.0-13.1":0.00584,"13.2":0.11093,"13.3":0.0146,"13.4-13.7":0.05838,"14.0-14.4":0.13428,"14.5-14.8":0.17807,"15.0-15.1":0.10217,"15.2-15.3":0.09925,"15.4":0.11385,"15.5":0.14012,"15.6-15.8":1.38664,"16.0":0.28025,"16.1":0.55465,"16.2":0.27733,"16.3":0.46708,"16.4":0.09925,"16.5":0.19559,"16.6-16.7":1.6698,"17.0":0.14012,"17.1":0.22186,"17.2":0.20143,"17.3":0.289,"17.4":0.61888,"17.5":2.9747,"17.6-17.7":15.83102,"18.0":1.99676,"18.1":0.0905},P:{"4":0.03224,"22":0.05373,"24":0.03224,"25":0.19344,"26":2.64374,_:"20 21 23 6.2-6.4 8.2 9.2 10.1 11.1-11.2 12.0 13.0 14.0 16.0 17.0 18.0","5.0-5.4":0.17195,"7.2-7.4":0.01075,"15.0":0.01075,"19.0":0.03224},I:{"0":0.0054,"3":0,"4":0,"2.1":0,"2.2":0,"2.3":0,"4.1":0,"4.2-4.3":0,"4.4":0,"4.4.3-4.4.4":0.00001},K:{"0":0.05951,_:"10 11 12 11.1 11.5 12.1"},A:{"11":0.03212,_:"6 7 8 9 10 5.5"},N:{_:"10 11"},S:{_:"2.5 3.0-3.1"},J:{_:"7 10"},O:{"0":0.01623},H:{"0":0},L:{"0":21.17842},R:{_:"0"},M:{"0":0.67625},Q:{_:"14.9"}}; diff --git a/node_modules/caniuse-lite/data/regions/VN.js b/node_modules/caniuse-lite/data/regions/VN.js index 93d0339eb1..3fe2e4c542 100644 --- a/node_modules/caniuse-lite/data/regions/VN.js +++ b/node_modules/caniuse-lite/data/regions/VN.js @@ -1 +1 @@ -module.exports={C:{"47":0.00116,"52":0.00349,"54":0.00116,"59":0.00349,"68":0.00116,"72":0.00116,"78":0.00116,"88":0.00581,"101":0.00116,"102":0.00116,"103":0.00232,"105":0.00116,"106":0.00116,"107":0.00116,"108":0.00116,"109":0.00116,"111":0.00116,"113":0.00116,"115":0.04299,"118":0.00116,"121":0.00116,"123":0.00116,"124":0.00349,"125":0.10923,"126":0.08018,_:"2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 48 49 50 51 53 55 56 57 58 60 61 62 63 64 65 66 67 69 70 71 73 74 75 76 77 79 80 81 82 83 84 85 86 87 89 90 91 92 93 94 95 96 97 98 99 100 104 110 112 114 116 117 119 120 122 127 128 129 3.5 3.6"},D:{"11":0.00116,"21":0.00116,"22":0.00116,"26":0.00232,"34":0.01046,"38":0.03602,"41":0.00232,"43":0.00116,"47":0.00813,"49":0.01743,"50":0.00116,"53":0.00232,"54":0.00116,"55":0.00116,"56":0.00232,"57":0.00465,"58":0.00116,"61":0.00116,"65":0.00232,"66":0.01627,"67":0.00116,"68":0.00116,"69":0.00232,"70":0.00232,"71":0.00232,"72":0.00116,"73":0.00232,"74":0.00116,"75":0.00116,"76":0.00116,"77":0.00232,"78":0.00116,"79":0.07321,"80":0.00465,"81":0.00465,"83":0.00349,"84":0.00232,"85":0.01046,"86":0.00349,"87":0.04764,"88":0.00232,"89":0.00581,"90":0.00349,"91":0.00232,"92":0.00116,"93":0.00116,"94":0.00349,"95":0.00232,"96":0.00232,"97":0.00232,"98":0.00116,"99":0.00232,"100":0.00581,"101":0.00232,"102":0.00581,"103":0.01627,"104":0.00697,"105":0.00581,"106":0.01046,"107":0.00697,"108":0.01162,"109":0.65421,"110":0.00581,"111":0.00697,"112":0.00813,"113":0.00349,"114":0.0093,"115":0.0093,"116":0.02208,"117":0.01511,"118":0.0093,"119":0.02556,"120":0.03835,"121":0.0337,"122":0.06042,"123":0.1406,"124":4.02749,"125":1.57335,"126":0.00232,_:"4 5 6 7 8 9 10 12 13 14 15 16 17 18 19 20 23 24 25 27 28 29 30 31 32 33 35 36 37 39 40 42 44 45 46 48 51 52 59 60 62 63 64 127 128"},F:{"28":0.00581,"29":0.00465,"36":0.0244,"40":0.00465,"46":0.03021,"79":0.00116,"82":0.00116,"85":0.00116,"95":0.00465,"107":0.01743,"108":0.00116,"109":0.10458,"110":0.00813,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 30 31 32 33 34 35 37 38 39 41 42 43 44 45 47 48 49 50 51 52 53 54 55 56 57 58 60 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 80 81 83 84 86 87 88 89 90 91 92 93 94 96 97 98 99 100 101 102 103 104 105 106 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"16":0.00116,"17":0.00232,"18":0.00349,"84":0.00116,"92":0.00232,"100":0.00116,"105":0.00116,"107":0.00116,"108":0.00116,"109":0.00581,"110":0.00116,"111":0.00116,"114":0.00116,"115":0.00116,"116":0.00116,"117":0.00116,"118":0.00116,"119":0.00232,"120":0.00349,"121":0.00232,"122":0.00349,"123":0.01046,"124":0.41135,"125":0.23937,_:"12 13 14 15 79 80 81 83 85 86 87 88 89 90 91 93 94 95 96 97 98 99 101 102 103 104 106 112 113"},E:{"13":0.00465,"14":0.01859,"15":0.00349,_:"0 4 5 6 7 8 9 10 11 12 3.1 3.2 5.1 6.1 7.1 10.1 17.6","9.1":0.00349,"11.1":0.00465,"12.1":0.00116,"13.1":0.01627,"14.1":0.04648,"15.1":0.0093,"15.2-15.3":0.00465,"15.4":0.0093,"15.5":0.01627,"15.6":0.10574,"16.0":0.00697,"16.1":0.01394,"16.2":0.01046,"16.3":0.02556,"16.4":0.00813,"16.5":0.01278,"16.6":0.09296,"17.0":0.00581,"17.1":0.01046,"17.2":0.01046,"17.3":0.01511,"17.4":0.20451,"17.5":0.02208},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.00462,"5.0-5.1":0.00462,"6.0-6.1":0.01155,"7.0-7.1":0.01617,"8.1-8.4":0.00462,"9.0-9.2":0.01155,"9.3":0.05314,"10.0-10.2":0.00924,"10.3":0.08317,"11.0-11.2":0.12244,"11.3-11.4":0.0231,"12.0-12.1":0.01386,"12.2-12.5":0.33499,"13.0-13.1":0.00693,"13.2":0.03234,"13.3":0.01617,"13.4-13.7":0.07393,"14.0-14.4":0.12706,"14.5-14.8":0.19637,"15.0-15.1":0.09472,"15.2-15.3":0.10396,"15.4":0.11782,"15.5":0.14786,"15.6-15.8":1.33071,"16.0":0.30264,"16.1":0.62377,"16.2":0.30264,"16.3":0.52443,"16.4":0.11089,"16.5":0.22409,"16.6-16.7":1.78583,"17.0":0.19406,"17.1":0.3165,"17.2":0.33037,"17.3":0.60991,"17.4":13.84997,"17.5":0.97724,"17.6":0},P:{"4":0.48325,"20":0.04113,"21":0.1131,"22":0.16451,"23":0.18508,"24":0.23648,"25":2.08724,"5.0-5.4":0.02056,"6.2-6.4":0.02056,"7.2-7.4":0.07197,_:"8.2 10.1","9.2":0.01028,"11.1-11.2":0.03085,"12.0":0.01028,"13.0":0.02056,"14.0":0.02056,"15.0":0.01028,"16.0":0.02056,"17.0":0.03085,"18.0":0.02056,"19.0":0.04113},I:{"0":0.01761,"3":0,"4":0,"2.1":0,"2.2":0,"2.3":0,"4.1":0,"4.2-4.3":0.00001,"4.4":0,"4.4.3-4.4.4":0.00004},K:{"0":0.48377,_:"10 11 12 11.1 11.5 12.1"},A:{"11":0.01859,_:"6 7 8 9 10 5.5"},S:{"2.5":0.00884,_:"3.0-3.1"},J:{_:"7 10"},N:{_:"10 11"},L:{"0":57.75816},R:{_:"0"},M:{"0":0.08838},Q:{_:"14.9"},O:{"0":2.68675},H:{"0":0.02}}; +module.exports={C:{"47":0.00129,"52":0.00388,"54":0.00129,"59":0.00517,"68":0.00129,"75":0.00129,"102":0.00129,"103":0.00647,"105":0.00129,"108":0.00129,"109":0.00129,"110":0.00129,"113":0.00129,"115":0.04138,"119":0.00129,"123":0.00129,"124":0.00129,"125":0.01681,"126":0.00129,"127":0.00259,"128":0.00517,"129":0.0362,"130":0.20688,"131":0.00129,_:"2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 48 49 50 51 53 55 56 57 58 60 61 62 63 64 65 66 67 69 70 71 72 73 74 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 104 106 107 111 112 114 116 117 118 120 121 122 132 133 134 135 3.5 3.6"},D:{"11":0.00129,"26":0.00129,"34":0.00388,"38":0.0375,"41":0.00129,"43":0.00129,"47":0.00776,"48":0.00129,"49":0.00259,"50":0.00129,"53":0.00259,"54":0.00129,"55":0.00259,"56":0.00647,"57":0.00388,"58":0.00129,"65":0.00129,"66":0.02198,"67":0.00129,"69":0.00259,"70":0.00129,"71":0.00259,"72":0.00129,"73":0.00129,"74":0.00129,"75":0.00259,"76":0.00129,"77":0.00129,"78":0.00259,"79":0.07758,"80":0.00259,"81":0.00517,"83":0.00129,"84":0.00517,"85":0.00776,"86":0.00259,"87":0.07241,"88":0.00129,"89":0.00517,"90":0.00259,"91":0.00776,"92":0.00129,"93":0.00129,"94":0.00647,"95":0.00259,"96":0.00129,"97":0.00388,"98":0.00129,"99":0.00259,"100":0.00517,"101":0.00259,"102":0.00517,"103":0.01681,"104":0.01422,"105":0.00517,"106":0.01164,"107":0.00905,"108":0.01293,"109":0.63228,"110":0.00517,"111":0.00647,"112":0.00776,"113":0.00259,"114":0.00776,"115":0.00517,"116":0.02327,"117":0.00517,"118":0.01034,"119":0.02198,"120":0.0375,"121":0.01681,"122":0.0362,"123":0.02974,"124":0.12801,"125":0.03879,"126":0.05819,"127":0.20429,"128":4.49835,"129":1.774,"130":0.00259,_:"4 5 6 7 8 9 10 12 13 14 15 16 17 18 19 20 21 22 23 24 25 27 28 29 30 31 32 33 35 36 37 39 40 42 44 45 46 51 52 59 60 61 62 63 64 68 131 132 133"},F:{"28":0.00129,"29":0.00259,"36":0.02457,"40":0.00388,"46":0.0362,"80":0.00129,"84":0.00905,"85":0.00647,"86":0.00129,"87":0.00129,"95":0.00388,"109":0.00129,"111":0.00129,"112":0.08146,"113":0.05172,"114":0.00129,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 30 31 32 33 34 35 37 38 39 41 42 43 44 45 47 48 49 50 51 52 53 54 55 56 57 58 60 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 81 82 83 88 89 90 91 92 93 94 96 97 98 99 100 101 102 103 104 105 106 107 108 110 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"17":0.00259,"18":0.00129,"84":0.00129,"86":0.00129,"89":0.00129,"90":0.00129,"92":0.00259,"100":0.00129,"105":0.00129,"107":0.00129,"108":0.00129,"109":0.00517,"110":0.00129,"111":0.00129,"113":0.00129,"114":0.00129,"115":0.00129,"119":0.00259,"120":0.00259,"121":0.00129,"122":0.00129,"123":0.00388,"124":0.00259,"125":0.00517,"126":0.00776,"127":0.0181,"128":0.5172,"129":0.23015,"130":0.00129,_:"12 13 14 15 16 79 80 81 83 85 87 88 91 93 94 95 96 97 98 99 101 102 103 104 106 112 116 117 118"},E:{"13":0.00388,"14":0.01552,"15":0.00259,_:"0 4 5 6 7 8 9 10 11 12 3.1 3.2 5.1 6.1 7.1 10.1","9.1":0.00129,"11.1":0.00517,"12.1":0.00129,"13.1":0.01293,"14.1":0.04008,"15.1":0.00776,"15.2-15.3":0.00388,"15.4":0.00776,"15.5":0.01552,"15.6":0.11249,"16.0":0.00647,"16.1":0.01164,"16.2":0.00776,"16.3":0.02069,"16.4":0.00647,"16.5":0.01293,"16.6":0.08017,"17.0":0.00388,"17.1":0.00776,"17.2":0.01293,"17.3":0.00647,"17.4":0.02586,"17.5":0.05689,"17.6":0.21593,"18.0":0.02845,"18.1":0.00259},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.00426,"5.0-5.1":0.00213,"6.0-6.1":0.01278,"7.0-7.1":0.01491,"8.1-8.4":0,"9.0-9.2":0.01278,"9.3":0.03621,"10.0-10.2":0.01065,"10.3":0.06176,"11.0-11.2":0.22788,"11.3-11.4":0.01704,"12.0-12.1":0.01065,"12.2-12.5":0.2577,"13.0-13.1":0.00426,"13.2":0.08093,"13.3":0.01065,"13.4-13.7":0.04259,"14.0-14.4":0.09797,"14.5-14.8":0.12991,"15.0-15.1":0.07454,"15.2-15.3":0.07241,"15.4":0.08306,"15.5":0.10223,"15.6-15.8":1.01162,"16.0":0.20445,"16.1":0.40465,"16.2":0.20232,"16.3":0.34076,"16.4":0.07241,"16.5":0.14269,"16.6-16.7":1.21821,"17.0":0.10223,"17.1":0.16186,"17.2":0.14695,"17.3":0.21084,"17.4":0.4515,"17.5":2.1702,"17.6-17.7":11.54954,"18.0":1.45674,"18.1":0.06602},P:{"4":0.45152,"20":0.03079,"21":0.08209,"22":0.1334,"23":0.11288,"24":0.09236,"25":0.22576,"26":2.0421,"5.0-5.4":0.02052,"6.2-6.4":0.01026,"7.2-7.4":0.06157,_:"8.2 10.1 12.0","9.2":0.01026,"11.1-11.2":0.02052,"13.0":0.01026,"14.0":0.01026,"15.0":0.01026,"16.0":0.02052,"17.0":0.03079,"18.0":0.02052,"19.0":0.03079},I:{"0":0.01737,"3":0,"4":0,"2.1":0,"2.2":0,"2.3":0,"4.1":0,"4.2-4.3":0.00001,"4.4":0,"4.4.3-4.4.4":0.00003},K:{"0":0.40794,_:"10 11 12 11.1 11.5 12.1"},A:{"8":0.00194,"11":0.02133,_:"6 7 9 10 5.5"},N:{_:"10 11"},S:{_:"2.5 3.0-3.1"},J:{_:"7 10"},O:{"0":1.89813},H:{"0":0.01},L:{"0":59.448},R:{_:"0"},M:{"0":0.10448},Q:{_:"14.9"}}; diff --git a/node_modules/caniuse-lite/data/regions/VU.js b/node_modules/caniuse-lite/data/regions/VU.js index 4818a8582b..38414082fb 100644 --- a/node_modules/caniuse-lite/data/regions/VU.js +++ b/node_modules/caniuse-lite/data/regions/VU.js @@ -1 +1 @@ -module.exports={C:{"92":0.00109,"108":0.00218,"113":0.00109,"115":0.14157,"116":0.00109,"124":0.01089,"125":0.18404,"126":0.10454,_:"2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 109 110 111 112 114 117 118 119 120 121 122 123 127 128 129 3.5 3.6"},D:{"59":0.00109,"65":0.00218,"67":0.00109,"68":0.00218,"81":0.00436,"87":0.00109,"88":0.05554,"89":0.00109,"90":0.00327,"92":0.00327,"94":0.00218,"97":0.00218,"99":0.00109,"102":0.00327,"103":0.01198,"106":0.00109,"108":0.00545,"109":0.13286,"110":0.00109,"111":0.0294,"112":0.17097,"115":0.00218,"116":0.01198,"117":0.01634,"118":0.00218,"119":0.01089,"120":0.01198,"121":0.00436,"122":0.08494,"123":0.14048,"124":2.97515,"125":0.99208,_:"4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 60 61 62 63 64 66 69 70 71 72 73 74 75 76 77 78 79 80 83 84 85 86 91 93 95 96 98 100 101 104 105 107 113 114 126 127 128"},F:{"107":0.00109,"109":0.04247,"110":0.00327,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 60 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 108 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"13":0.00436,"15":0.00109,"16":0.00218,"18":0.01089,"84":0.00545,"92":0.00109,"96":0.00109,"100":0.00218,"102":0.00109,"105":0.00436,"106":0.00218,"107":0.00218,"109":0.00545,"113":0.01851,"114":0.00109,"116":0.00109,"117":0.00218,"118":0.00109,"119":0.00109,"120":0.00109,"121":0.00218,"122":0.02178,"123":0.05227,"124":0.74597,"125":0.42144,_:"12 14 17 79 80 81 83 85 86 87 88 89 90 91 93 94 95 97 98 99 101 103 104 108 110 111 112 115"},E:{"14":0.01525,"15":0.00327,_:"0 4 5 6 7 8 9 10 11 12 13 3.1 3.2 5.1 6.1 7.1 9.1 10.1 11.1 12.1 13.1 15.2-15.3 15.4 15.5 16.0 16.2 17.6","14.1":0.00871,"15.1":0.00109,"15.6":0.01089,"16.1":0.00218,"16.3":0.00545,"16.4":0.00762,"16.5":0.00545,"16.6":0.01307,"17.0":0.00762,"17.1":0.06534,"17.2":0.01634,"17.3":0.01416,"17.4":0.10672,"17.5":0.05227},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.00061,"5.0-5.1":0.00061,"6.0-6.1":0.00152,"7.0-7.1":0.00213,"8.1-8.4":0.00061,"9.0-9.2":0.00152,"9.3":0.00701,"10.0-10.2":0.00122,"10.3":0.01097,"11.0-11.2":0.01615,"11.3-11.4":0.00305,"12.0-12.1":0.00183,"12.2-12.5":0.04419,"13.0-13.1":0.00091,"13.2":0.00427,"13.3":0.00213,"13.4-13.7":0.00975,"14.0-14.4":0.01676,"14.5-14.8":0.02591,"15.0-15.1":0.0125,"15.2-15.3":0.01372,"15.4":0.01554,"15.5":0.01951,"15.6-15.8":0.17556,"16.0":0.03993,"16.1":0.08229,"16.2":0.03993,"16.3":0.06919,"16.4":0.01463,"16.5":0.02956,"16.6-16.7":0.2356,"17.0":0.0256,"17.1":0.04176,"17.2":0.04359,"17.3":0.08046,"17.4":1.82722,"17.5":0.12893,"17.6":0},P:{"4":0.02013,"20":0.02013,"21":0.18114,"22":0.10063,"23":0.23146,"24":0.38241,"25":0.81513,_:"5.0-5.4 6.2-6.4 8.2 10.1 12.0 15.0","7.2-7.4":0.08051,"9.2":0.01006,"11.1-11.2":0.02013,"13.0":0.03019,"14.0":0.03019,"16.0":0.04025,"17.0":0.01006,"18.0":0.01006,"19.0":0.12076},I:{"0":0.05326,"3":0,"4":0.00001,"2.1":0,"2.2":0,"2.3":0,"4.1":0.00001,"4.2-4.3":0.00003,"4.4":0,"4.4.3-4.4.4":0.00012},K:{"0":0.0613,_:"10 11 12 11.1 11.5 12.1"},A:{"10":0.01659,"11":0.00302,_:"6 7 8 9 5.5"},S:{_:"2.5 3.0-3.1"},J:{_:"7 10"},N:{_:"10 11"},L:{"0":87.60535},R:{_:"0"},M:{"0":0.03565},Q:{"14.9":0.08021},O:{"0":0.0713},H:{"0":0.01}}; +module.exports={C:{"34":0.00276,"40":0.00552,"102":0.0138,"103":0.00276,"108":0.00276,"109":0.01104,"115":0.06072,"125":0.00276,"128":0.00276,"129":0.11592,"130":1.80228,"131":0.0138,_:"2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 35 36 37 38 39 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 104 105 106 107 110 111 112 113 114 116 117 118 119 120 121 122 123 124 126 127 132 133 134 135 3.5 3.6"},D:{"55":0.00276,"63":0.00276,"81":0.00828,"83":0.00552,"88":0.04692,"90":0.00276,"91":0.00276,"94":0.00276,"97":0.00828,"100":0.00552,"103":0.00552,"105":0.06624,"106":0.00276,"107":0.01104,"108":0.01104,"109":0.22356,"110":0.0138,"111":0.0414,"112":0.07452,"113":0.00276,"114":0.0138,"116":0.00552,"117":0.00552,"120":0.00276,"121":0.00276,"122":0.03588,"123":0.03312,"124":0.1104,"125":0.02208,"126":0.3036,"127":0.4002,"128":9.49992,"129":4.53744,_:"4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 56 57 58 59 60 61 62 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 84 85 86 87 89 92 93 95 96 98 99 101 102 104 115 118 119 130 131 132 133"},F:{"84":0.06348,"89":0.02484,"95":0.00552,"107":0.0828,"111":0.00552,"112":0.51336,"113":0.17112,"114":0.00828,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 60 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 85 86 87 88 90 91 92 93 94 96 97 98 99 100 101 102 103 104 105 106 108 109 110 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"16":0.00552,"17":0.00276,"18":0.00276,"92":0.00552,"107":0.00276,"109":0.01104,"110":0.01104,"111":0.0138,"112":0.00552,"113":0.04692,"114":0.00828,"116":0.00552,"117":0.00828,"118":0.00276,"119":0.00276,"122":0.0276,"123":0.03036,"124":0.00276,"125":0.00828,"126":0.069,"127":0.14352,"128":2.97252,"129":1.25304,_:"12 13 14 15 79 80 81 83 84 85 86 87 88 89 90 91 93 94 95 96 97 98 99 100 101 102 103 104 105 106 108 115 120 121 130"},E:{"14":0.01932,_:"0 4 5 6 7 8 9 10 11 12 13 15 3.1 3.2 5.1 6.1 7.1 9.1 10.1 11.1 12.1 15.2-15.3 16.0 18.1","13.1":0.00276,"14.1":0.069,"15.1":0.00276,"15.4":0.00276,"15.5":0.00552,"15.6":0.03588,"16.1":0.01932,"16.2":0.00276,"16.3":0.01932,"16.4":0.00276,"16.5":0.01104,"16.6":0.11316,"17.0":0.01656,"17.1":0.01932,"17.2":0.00276,"17.3":0.01104,"17.4":0.33396,"17.5":0.0414,"17.6":0.1932,"18.0":0.01104},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.00094,"5.0-5.1":0.00047,"6.0-6.1":0.00283,"7.0-7.1":0.0033,"8.1-8.4":0,"9.0-9.2":0.00283,"9.3":0.00802,"10.0-10.2":0.00236,"10.3":0.01369,"11.0-11.2":0.0505,"11.3-11.4":0.00378,"12.0-12.1":0.00236,"12.2-12.5":0.05711,"13.0-13.1":0.00094,"13.2":0.01794,"13.3":0.00236,"13.4-13.7":0.00944,"14.0-14.4":0.02171,"14.5-14.8":0.02879,"15.0-15.1":0.01652,"15.2-15.3":0.01605,"15.4":0.01841,"15.5":0.02266,"15.6-15.8":0.22419,"16.0":0.04531,"16.1":0.08968,"16.2":0.04484,"16.3":0.07552,"16.4":0.01605,"16.5":0.03162,"16.6-16.7":0.26997,"17.0":0.02266,"17.1":0.03587,"17.2":0.03257,"17.3":0.04673,"17.4":0.10006,"17.5":0.48095,"17.6-17.7":2.55956,"18.0":0.32284,"18.1":0.01463},P:{"4":0.01038,"20":0.1038,"21":0.16609,"22":0.14533,"23":0.0519,"24":0.06228,"25":0.23875,"26":1.8581,_:"5.0-5.4 6.2-6.4 8.2 9.2 10.1 11.1-11.2 14.0 15.0 17.0 18.0","7.2-7.4":0.01038,"12.0":0.02076,"13.0":0.03114,"16.0":0.01038,"19.0":0.04152},I:{"0":0.02166,"3":0,"4":0,"2.1":0,"2.2":0,"2.3":0,"4.1":0,"4.2-4.3":0.00001,"4.4":0,"4.4.3-4.4.4":0.00003},K:{"0":2.07759,_:"10 11 12 11.1 11.5 12.1"},A:{"10":0.01288,"11":0.00644,_:"6 7 8 9 5.5"},N:{_:"10 11"},S:{_:"2.5 3.0-3.1"},J:{_:"7 10"},O:{"0":0.94107},H:{"0":0},L:{"0":64.54169},R:{_:"0"},M:{"0":0.41262},Q:{_:"14.9"}}; diff --git a/node_modules/caniuse-lite/data/regions/WF.js b/node_modules/caniuse-lite/data/regions/WF.js index b5e4bf25d3..22c1bc339b 100644 --- a/node_modules/caniuse-lite/data/regions/WF.js +++ b/node_modules/caniuse-lite/data/regions/WF.js @@ -1 +1 @@ -module.exports={C:{"78":0.38502,"102":0.23173,"115":0.54188,"124":0.38502,"125":7.40807,"126":0.46345,_:"2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 103 104 105 106 107 108 109 110 111 112 113 114 116 117 118 119 120 121 122 123 127 128 129 3.5 3.6"},D:{"105":0.07843,"109":3.78247,"122":0.31016,"123":0.54188,"124":5.09439,"125":1.0802,_:"4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 106 107 108 110 111 112 113 114 115 116 117 118 119 120 121 126 127 128"},F:{"109":1.23349,"110":1.15863,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 60 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"119":0.07843,"121":0.1533,"124":3.24059,"125":2.39212,_:"12 13 14 15 16 17 18 79 80 81 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 120 122 123"},E:{_:"0 4 5 6 7 8 9 10 11 12 13 14 15 3.1 3.2 5.1 6.1 7.1 9.1 10.1 11.1 13.1 14.1 15.4 15.5 16.0 16.1 16.2 16.3 16.4 16.5 17.1 17.2 17.3 17.6","12.1":0.07843,"15.1":1.54365,"15.2-15.3":0.07843,"15.6":0.07843,"16.6":0.23173,"17.0":0.07843,"17.4":3.31902,"17.5":0.46345},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.00307,"5.0-5.1":0.00307,"6.0-6.1":0.00766,"7.0-7.1":0.01073,"8.1-8.4":0.00307,"9.0-9.2":0.00766,"9.3":0.03525,"10.0-10.2":0.00613,"10.3":0.05518,"11.0-11.2":0.08124,"11.3-11.4":0.01533,"12.0-12.1":0.0092,"12.2-12.5":0.22226,"13.0-13.1":0.0046,"13.2":0.02146,"13.3":0.01073,"13.4-13.7":0.04905,"14.0-14.4":0.0843,"14.5-14.8":0.13029,"15.0-15.1":0.06285,"15.2-15.3":0.06898,"15.4":0.07817,"15.5":0.0981,"15.6-15.8":0.8829,"16.0":0.2008,"16.1":0.41386,"16.2":0.2008,"16.3":0.34795,"16.4":0.07358,"16.5":0.14868,"16.6-16.7":1.18487,"17.0":0.12876,"17.1":0.21,"17.2":0.21919,"17.3":0.40466,"17.4":9.18924,"17.5":0.64838,"17.6":0},P:{"22":0.08282,"24":0.32094,"25":2.23625,_:"4 20 21 23 5.0-5.4 6.2-6.4 8.2 9.2 10.1 11.1-11.2 12.0 13.0 14.0 15.0 16.0 17.0 19.0","7.2-7.4":0.08282,"18.0":0.08282},I:{"0":0.07692,"3":0,"4":0.00001,"2.1":0,"2.2":0,"2.3":0,"4.1":0.00002,"4.2-4.3":0.00005,"4.4":0,"4.4.3-4.4.4":0.00017},K:{"0":0,_:"10 11 12 11.1 11.5 12.1"},A:{_:"6 7 8 9 10 11 5.5"},S:{_:"2.5 3.0-3.1"},J:{_:"7 10"},N:{_:"10 11"},L:{"0":46.89619},R:{_:"0"},M:{"0":0.2381},Q:{_:"14.9"},O:{_:"0"},H:{"0":0}}; +module.exports={C:{"78":0.06474,"98":0.06474,"115":1.45194,"127":0.26357,"129":0.7907,"130":3.23218,_:"2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 116 117 118 119 120 121 122 123 124 125 126 128 131 132 133 134 135 3.5 3.6"},D:{"105":0.06474,"109":22.36166,"121":0.19883,"123":0.1341,"126":0.19883,"128":3.36627,"129":0.85544,_:"4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 106 107 108 110 111 112 113 114 115 116 117 118 119 120 122 124 125 127 130 131 132 133"},F:{"113":0.1341,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 60 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 114 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"128":3.29691,"129":0.4624,_:"12 13 14 15 16 17 18 79 80 81 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 130"},E:{_:"0 4 5 6 7 8 9 10 11 12 13 14 15 3.1 3.2 5.1 6.1 7.1 9.1 10.1 11.1 12.1 13.1 14.1 15.4 15.5 16.0 16.1 16.2 16.3 16.4 16.5 17.0 17.1 17.2 17.3 18.1","15.1":0.66123,"15.2-15.3":0.59187,"15.6":0.1341,"16.6":0.26357,"17.4":0.26357,"17.5":0.59187,"17.6":4.94768,"18.0":0.4624},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.00548,"5.0-5.1":0.00274,"6.0-6.1":0.01643,"7.0-7.1":0.01917,"8.1-8.4":0,"9.0-9.2":0.01643,"9.3":0.04655,"10.0-10.2":0.01369,"10.3":0.0794,"11.0-11.2":0.29297,"11.3-11.4":0.0219,"12.0-12.1":0.01369,"12.2-12.5":0.3313,"13.0-13.1":0.00548,"13.2":0.10404,"13.3":0.01369,"13.4-13.7":0.05476,"14.0-14.4":0.12595,"14.5-14.8":0.16702,"15.0-15.1":0.09583,"15.2-15.3":0.09309,"15.4":0.10678,"15.5":0.13142,"15.6-15.8":1.30055,"16.0":0.26285,"16.1":0.52022,"16.2":0.26011,"16.3":0.43808,"16.4":0.09309,"16.5":0.18345,"16.6-16.7":1.56613,"17.0":0.13142,"17.1":0.20809,"17.2":0.18892,"17.3":0.27106,"17.4":0.58046,"17.5":2.79002,"17.6-17.7":14.84816,"18.0":1.87279,"18.1":0.08488},P:{"22":0.13046,"26":0.40141,_:"4 20 21 23 24 25 5.0-5.4 6.2-6.4 7.2-7.4 8.2 9.2 10.1 12.0 13.0 14.0 15.0 16.0 17.0 18.0 19.0","11.1-11.2":0.07025},I:{"0":0,"3":0,"4":0,"2.1":0,"2.2":0,"2.3":0,"4.1":0,"4.2-4.3":0,"4.4":0,"4.4.3-4.4.4":0},K:{"0":0,_:"10 11 12 11.1 11.5 12.1"},A:{_:"6 7 8 9 10 11 5.5"},N:{_:"10 11"},S:{_:"2.5 3.0-3.1"},J:{_:"7 10"},O:{_:"0"},H:{"0":0},L:{"0":25.77762},R:{_:"0"},M:{"0":0.06451},Q:{_:"14.9"}}; diff --git a/node_modules/caniuse-lite/data/regions/WS.js b/node_modules/caniuse-lite/data/regions/WS.js index 081656ea99..3fd84296be 100644 --- a/node_modules/caniuse-lite/data/regions/WS.js +++ b/node_modules/caniuse-lite/data/regions/WS.js @@ -1 +1 @@ -module.exports={C:{"93":0.01178,"102":0.00295,"115":0.03535,"121":0.98986,"123":0.01473,"125":0.19149,"126":0.13846,"127":0.00884,_:"2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 94 95 96 97 98 99 100 101 103 104 105 106 107 108 109 110 111 112 113 114 116 117 118 119 120 122 124 128 129 3.5 3.6"},D:{"49":0.01178,"76":0.00295,"77":0.04419,"79":0.00295,"80":0.01178,"81":0.00884,"84":0.01178,"88":0.01473,"91":0.02357,"93":0.01178,"94":0.00884,"97":0.00295,"99":0.00884,"101":0.01178,"103":0.06187,"105":0.01178,"106":0.01473,"107":0.02062,"108":0.00295,"109":1.16072,"110":0.06776,"111":0.01473,"112":0.00295,"114":0.21506,"115":0.02357,"116":0.10606,"117":0.01178,"118":0.00884,"119":0.01178,"120":0.01473,"121":0.02062,"122":0.3712,"123":0.3653,"124":8.93227,"125":2.59248,"126":0.00884,"127":0.02357,_:"4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 78 83 85 86 87 89 90 92 95 96 98 100 102 104 113 128"},F:{"109":0.13846,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 60 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 110 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"15":0.01473,"18":0.17676,"85":0.00295,"92":0.02357,"95":0.00295,"100":0.00295,"103":0.00884,"108":0.00295,"109":0.01473,"112":0.00295,"113":0.02357,"114":0.04124,"116":0.00295,"117":0.01178,"118":0.00295,"119":0.00884,"120":0.02062,"121":0.01473,"122":0.82488,"123":0.35941,"124":3.79739,"125":2.12407,_:"12 13 14 16 17 79 80 81 83 84 86 87 88 89 90 91 93 94 96 97 98 99 101 102 104 105 106 107 110 111 115"},E:{_:"0 4 5 6 7 8 9 10 11 12 13 14 15 3.1 3.2 5.1 6.1 7.1 9.1 10.1 11.1 12.1 15.4 15.5 16.2 17.2 17.6","13.1":0.06481,"14.1":0.12668,"15.1":0.00295,"15.2-15.3":0.00884,"15.6":2.07104,"16.0":0.00295,"16.1":0.00295,"16.3":0.02946,"16.4":0.01473,"16.5":0.01473,"16.6":0.04419,"17.0":0.00884,"17.1":0.00884,"17.3":0.05597,"17.4":0.18265,"17.5":0.25925},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.00268,"5.0-5.1":0.00268,"6.0-6.1":0.00671,"7.0-7.1":0.0094,"8.1-8.4":0.00268,"9.0-9.2":0.00671,"9.3":0.03087,"10.0-10.2":0.00537,"10.3":0.04833,"11.0-11.2":0.07115,"11.3-11.4":0.01342,"12.0-12.1":0.00805,"12.2-12.5":0.19464,"13.0-13.1":0.00403,"13.2":0.01879,"13.3":0.0094,"13.4-13.7":0.04296,"14.0-14.4":0.07383,"14.5-14.8":0.1141,"15.0-15.1":0.05504,"15.2-15.3":0.06041,"15.4":0.06846,"15.5":0.08591,"15.6-15.8":0.77321,"16.0":0.17585,"16.1":0.36244,"16.2":0.17585,"16.3":0.30472,"16.4":0.06443,"16.5":0.13021,"16.6-16.7":1.03766,"17.0":0.11276,"17.1":0.18391,"17.2":0.19196,"17.3":0.35439,"17.4":8.04755,"17.5":0.56783,"17.6":0},P:{"20":0.06283,"21":0.19898,"22":2.04213,"23":0.33512,"24":0.4189,"25":1.85363,_:"4 6.2-6.4 10.1 12.0 13.0 14.0 15.0 17.0","5.0-5.4":0.02094,"7.2-7.4":0.29323,"8.2":0.02094,"9.2":0.01047,"11.1-11.2":0.01047,"16.0":0.03142,"18.0":0.10472,"19.0":0.03142},I:{"0":0.14756,"3":0,"4":0.00001,"2.1":0,"2.2":0,"2.3":0,"4.1":0.00003,"4.2-4.3":0.00009,"4.4":0,"4.4.3-4.4.4":0.00033},K:{"0":1.87636,_:"10 11 12 11.1 11.5 12.1"},A:{_:"6 7 8 9 10 11 5.5"},S:{_:"2.5 3.0-3.1"},J:{_:"7 10"},N:{_:"10 11"},L:{"0":52.64968},R:{_:"0"},M:{"0":0.13403},Q:{"14.9":0.02822},O:{"0":0.02116},H:{"0":0}}; +module.exports={C:{"115":0.05981,"121":0.12295,"127":0.00997,"129":0.0864,"130":0.2891,"131":0.01994,_:"2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 116 117 118 119 120 122 123 124 125 126 128 132 133 134 135 3.5 3.6"},D:{"49":0.00332,"70":0.00332,"77":0.00997,"87":0.04985,"88":0.01329,"91":0.02658,"93":0.05981,"94":0.00997,"97":0.00332,"98":0.01662,"100":0.00332,"102":0.00332,"103":0.02991,"105":0.01994,"107":0.02658,"109":0.69118,"110":0.00997,"111":0.00332,"113":0.01329,"115":0.00332,"116":0.05317,"117":0.00997,"119":0.0432,"120":0.03655,"121":0.00997,"122":0.03655,"123":0.00332,"124":0.01662,"125":0.12627,"126":0.2891,"127":0.54165,"128":9.94574,"129":2.94086,"130":0.08308,"131":0.03655,_:"4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 71 72 73 74 75 76 78 79 80 81 83 84 85 86 89 90 92 95 96 99 101 104 106 108 112 114 118 132 133"},F:{"109":0.00997,"112":0.41205,"113":0.03323,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 60 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 110 111 114 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"18":0.03655,"86":0.00332,"89":0.00332,"92":0.06314,"109":0.00332,"110":0.00332,"111":0.00332,"114":0.02658,"115":0.01662,"120":0.03323,"121":0.01662,"122":0.01662,"123":0.06978,"124":0.22264,"125":0.07975,"126":0.21932,"127":0.66128,"128":7.13448,"129":1.8343,_:"12 13 14 15 16 17 79 80 81 83 84 85 87 88 90 91 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 112 113 116 117 118 119 130"},E:{_:"0 4 5 6 7 8 9 10 11 12 13 14 15 3.1 3.2 5.1 6.1 7.1 9.1 10.1 11.1 15.4 15.5 16.5 17.0 18.1","12.1":0.0432,"13.1":0.01994,"14.1":0.19606,"15.1":0.00332,"15.2-15.3":0.00997,"15.6":0.22596,"16.0":0.00332,"16.1":0.00332,"16.2":0.00997,"16.3":0.00332,"16.4":0.01329,"16.6":0.04652,"17.1":0.01662,"17.2":0.00997,"17.3":0.01662,"17.4":0.03323,"17.5":1.82765,"17.6":0.39876,"18.0":0.01662},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.00244,"5.0-5.1":0.00122,"6.0-6.1":0.00732,"7.0-7.1":0.00854,"8.1-8.4":0,"9.0-9.2":0.00732,"9.3":0.02075,"10.0-10.2":0.0061,"10.3":0.0354,"11.0-11.2":0.1306,"11.3-11.4":0.00976,"12.0-12.1":0.0061,"12.2-12.5":0.14769,"13.0-13.1":0.00244,"13.2":0.04638,"13.3":0.0061,"13.4-13.7":0.02441,"14.0-14.4":0.05615,"14.5-14.8":0.07445,"15.0-15.1":0.04272,"15.2-15.3":0.0415,"15.4":0.0476,"15.5":0.05859,"15.6-15.8":0.57976,"16.0":0.11717,"16.1":0.23191,"16.2":0.11595,"16.3":0.19529,"16.4":0.0415,"16.5":0.08178,"16.6-16.7":0.69816,"17.0":0.05859,"17.1":0.09276,"17.2":0.08422,"17.3":0.12084,"17.4":0.25876,"17.5":1.24375,"17.6-17.7":6.61907,"18.0":0.83486,"18.1":0.03784},P:{"20":0.02079,"21":0.21826,"22":2.28656,"23":0.12472,"24":0.42613,"25":0.634,"26":1.39272,_:"4 5.0-5.4 6.2-6.4 8.2 10.1 11.1-11.2 12.0 14.0 15.0 17.0 18.0","7.2-7.4":0.07275,"9.2":0.07275,"13.0":0.02079,"16.0":0.20787,"19.0":0.03118},I:{"0":0.03995,"3":0,"4":0,"2.1":0,"2.2":0,"2.3":0,"4.1":0,"4.2-4.3":0.00002,"4.4":0,"4.4.3-4.4.4":0.00006},K:{"0":3.63897,_:"10 11 12 11.1 11.5 12.1"},A:{_:"6 7 8 9 10 11 5.5"},N:{_:"10 11"},S:{_:"2.5 3.0-3.1"},J:{_:"7 10"},O:{"0":0.13354},H:{"0":0},L:{"0":48.44927},R:{_:"0"},M:{"0":0.05342},Q:{"14.9":0.01335}}; diff --git a/node_modules/caniuse-lite/data/regions/YE.js b/node_modules/caniuse-lite/data/regions/YE.js index 3a7c6bd6c2..d46f2ac96a 100644 --- a/node_modules/caniuse-lite/data/regions/YE.js +++ b/node_modules/caniuse-lite/data/regions/YE.js @@ -1 +1 @@ -module.exports={C:{"3":0.0151,"70":0.00336,"82":0.00168,"99":0.00168,"106":0.00168,"110":0.00168,"115":0.04363,"123":0.00839,"124":0.00168,"125":0.08054,"126":0.08558,_:"2 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 71 72 73 74 75 76 77 78 79 80 81 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 100 101 102 103 104 105 107 108 109 111 112 113 114 116 117 118 119 120 121 122 127 128 129 3.5 3.6"},D:{"11":0.00168,"35":0.00336,"40":0.00168,"41":0.00839,"43":0.00168,"55":0.01342,"57":0.01007,"58":0.0151,"68":0.01342,"70":0.02181,"74":0.00168,"76":0.00336,"79":0.01678,"80":0.00168,"81":0.0151,"83":0.00503,"86":0.00168,"87":0.00336,"88":0.00168,"89":0.0151,"90":0.00503,"91":0.00168,"92":0.00503,"93":0.00168,"94":0.00671,"95":0.00168,"98":0.00168,"99":0.01007,"100":0.00336,"102":0.00168,"103":0.01007,"104":0.00168,"105":0.00168,"106":0.03524,"107":0.00168,"108":0.05873,"109":0.42118,"110":0.01342,"111":0.01007,"112":0.0151,"113":0.08054,"114":0.02517,"115":0.01175,"116":0.00336,"117":0.02014,"118":0.00839,"119":0.02685,"120":0.0302,"121":0.02349,"122":0.05034,"123":0.18122,"124":2.15455,"125":0.96149,_:"4 5 6 7 8 9 10 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 36 37 38 39 42 44 45 46 47 48 49 50 51 52 53 54 56 59 60 61 62 63 64 65 66 67 69 71 72 73 75 77 78 84 85 96 97 101 126 127 128"},F:{"48":0.00336,"79":0.04866,"82":0.01342,"83":0.00168,"86":0.00168,"107":0.00168,"108":0.00168,"109":0.03692,"110":0.04027,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 49 50 51 52 53 54 55 56 57 58 60 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 80 81 84 85 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"18":0.00168,"84":0.00168,"89":0.00168,"90":0.00168,"92":0.00336,"114":0.00168,"118":0.0151,"120":0.00336,"121":0.00503,"122":0.04195,"123":0.01007,"124":0.35909,"125":0.11746,_:"12 13 14 15 16 17 79 80 81 83 85 86 87 88 91 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 115 116 117 119"},E:{"13":0.00168,"14":0.00168,_:"0 4 5 6 7 8 9 10 11 12 15 3.1 3.2 6.1 7.1 9.1 10.1 11.1 12.1 13.1 14.1 15.1 15.4 16.0 16.2 16.4 17.1 17.6","5.1":0.02853,"15.2-15.3":0.00168,"15.5":0.01175,"15.6":0.00168,"16.1":0.00168,"16.3":0.00168,"16.5":0.00168,"16.6":0.0151,"17.0":0.00168,"17.2":0.00168,"17.3":0.01175,"17.4":0.02181,"17.5":0.00671},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.00053,"5.0-5.1":0.00053,"6.0-6.1":0.00133,"7.0-7.1":0.00186,"8.1-8.4":0.00053,"9.0-9.2":0.00133,"9.3":0.00611,"10.0-10.2":0.00106,"10.3":0.00956,"11.0-11.2":0.01407,"11.3-11.4":0.00265,"12.0-12.1":0.00159,"12.2-12.5":0.03849,"13.0-13.1":0.0008,"13.2":0.00372,"13.3":0.00186,"13.4-13.7":0.0085,"14.0-14.4":0.0146,"14.5-14.8":0.02257,"15.0-15.1":0.01088,"15.2-15.3":0.01195,"15.4":0.01354,"15.5":0.01699,"15.6-15.8":0.15291,"16.0":0.03478,"16.1":0.07168,"16.2":0.03478,"16.3":0.06026,"16.4":0.01274,"16.5":0.02575,"16.6-16.7":0.20521,"17.0":0.0223,"17.1":0.03637,"17.2":0.03796,"17.3":0.07008,"17.4":1.5915,"17.5":0.11229,"17.6":0},P:{"4":0.07101,"20":0.01014,"21":0.08115,"22":0.03043,"23":0.12172,"24":0.30431,"25":0.7202,"5.0-5.4":0.02029,_:"6.2-6.4 7.2-7.4 8.2 10.1 12.0","9.2":0.03043,"11.1-11.2":0.09129,"13.0":0.05072,"14.0":0.17244,"15.0":0.02029,"16.0":0.20287,"17.0":0.03043,"18.0":0.02029,"19.0":0.06086},I:{"0":0.17408,"3":0,"4":0.00002,"2.1":0,"2.2":0,"2.3":0,"4.1":0.00003,"4.2-4.3":0.0001,"4.4":0,"4.4.3-4.4.4":0.00038},K:{"0":7.25525,_:"10 11 12 11.1 11.5 12.1"},A:{"11":0.00503,_:"6 7 8 9 10 5.5"},S:{_:"2.5 3.0-3.1"},J:{_:"7 10"},N:{_:"10 11"},L:{"0":66.0808},R:{_:"0"},M:{"0":0.06658},Q:{_:"14.9"},O:{"0":7.88926},H:{"0":7.25}}; +module.exports={C:{"44":0.00348,"84":0.00174,"97":0.00348,"113":0.00174,"114":0.00174,"115":0.13413,"121":0.00348,"122":0.00348,"123":0.00697,"125":0.00174,"127":0.00523,"128":0.00871,"129":0.03136,"130":0.20381,"131":0.02439,_:"2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 85 86 87 88 89 90 91 92 93 94 95 96 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 116 117 118 119 120 124 126 132 133 134 135 3.6","3.5":0.00174},D:{"11":0.00174,"35":0.00174,"41":0.00174,"48":0.00174,"50":0.00348,"55":0.00174,"56":0.00697,"57":0.00697,"58":0.06445,"66":0.00174,"67":0.01568,"68":0.00697,"69":0.00174,"70":0.0209,"71":0.00174,"79":0.01568,"80":0.00697,"83":0.02265,"86":0.00174,"87":0.00348,"88":0.00697,"89":0.01219,"90":0.00174,"91":0.00348,"93":0.00174,"94":0.00174,"95":0.00174,"97":0.00523,"98":0.00174,"99":0.01916,"100":0.00697,"101":0.00348,"102":0.00174,"103":0.00174,"105":0.00697,"106":0.04355,"107":0.00348,"108":0.00523,"109":0.37627,"110":0.00174,"111":0.00523,"112":0.01916,"113":0.02265,"114":0.00871,"115":0.00174,"116":0.02265,"117":0.00348,"118":0.00174,"119":0.09233,"120":0.02439,"121":0.00871,"122":0.01916,"123":0.05052,"124":0.04181,"125":0.0209,"126":0.05923,"127":0.2073,"128":3.11295,"129":0.9041,"130":0.00174,_:"4 5 6 7 8 9 10 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 36 37 38 39 40 42 43 44 45 46 47 49 51 52 53 54 59 60 61 62 63 64 65 72 73 74 75 76 77 78 81 84 85 92 96 104 131 132 133"},F:{"74":0.00174,"80":0.00174,"83":0.11149,"84":0.39543,"85":0.00697,"112":0.08013,"113":0.09581,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 60 62 63 64 65 66 67 68 69 70 71 72 73 75 76 77 78 79 81 82 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 114 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"16":0.00348,"18":0.00348,"81":0.00174,"84":0.00348,"85":0.00348,"86":0.00174,"90":0.00174,"92":0.01742,"100":0.00174,"108":0.00174,"109":0.00871,"114":0.00174,"115":0.00174,"116":0.00348,"118":0.00174,"120":0.00174,"121":0.00523,"122":0.00348,"123":0.00523,"124":0.01219,"125":0.00523,"126":0.04181,"127":0.0331,"128":1.05914,"129":0.28395,"130":0.00523,_:"12 13 14 15 17 79 80 83 87 88 89 91 93 94 95 96 97 98 99 101 102 103 104 105 106 107 110 111 112 113 117 119"},E:{"14":0.00523,_:"0 4 5 6 7 8 9 10 11 12 13 15 3.1 3.2 6.1 7.1 9.1 10.1 11.1 12.1 13.1 16.0 16.2 16.3 16.4 16.5 17.0 17.2 18.1","5.1":0.00523,"14.1":0.00174,"15.1":0.00174,"15.2-15.3":0.01568,"15.4":0.00348,"15.5":0.00174,"15.6":0.00174,"16.1":0.00348,"16.6":0.01219,"17.1":0.01568,"17.3":0.01219,"17.4":0.00523,"17.5":0.01394,"17.6":0.0331,"18.0":0.02265},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.00075,"5.0-5.1":0.00037,"6.0-6.1":0.00225,"7.0-7.1":0.00262,"8.1-8.4":0,"9.0-9.2":0.00225,"9.3":0.00637,"10.0-10.2":0.00187,"10.3":0.01087,"11.0-11.2":0.04011,"11.3-11.4":0.003,"12.0-12.1":0.00187,"12.2-12.5":0.04536,"13.0-13.1":0.00075,"13.2":0.01424,"13.3":0.00187,"13.4-13.7":0.0075,"14.0-14.4":0.01724,"14.5-14.8":0.02287,"15.0-15.1":0.01312,"15.2-15.3":0.01275,"15.4":0.01462,"15.5":0.01799,"15.6-15.8":0.17806,"16.0":0.03599,"16.1":0.07122,"16.2":0.03561,"16.3":0.05998,"16.4":0.01275,"16.5":0.02512,"16.6-16.7":0.21442,"17.0":0.01799,"17.1":0.02849,"17.2":0.02587,"17.3":0.03711,"17.4":0.07947,"17.5":0.38199,"17.6-17.7":2.03291,"18.0":0.25641,"18.1":0.01162},P:{"4":0.01999,"20":0.01999,"21":0.05996,"22":0.04997,"23":0.06995,"24":0.01999,"25":0.22984,"26":0.94934,"5.0-5.4":0.01999,_:"6.2-6.4 8.2 10.1","7.2-7.4":0.01999,"9.2":0.01999,"11.1-11.2":0.06995,"12.0":0.00999,"13.0":0.01999,"14.0":0.07994,"15.0":0.00999,"16.0":0.19986,"17.0":0.02998,"18.0":0.00999,"19.0":0.02998},I:{"0":0.04941,"3":0,"4":0,"2.1":0,"2.2":0,"2.3":0,"4.1":0,"4.2-4.3":0.00002,"4.4":0,"4.4.3-4.4.4":0.00008},K:{"0":6.3313,_:"10 11 12 11.1 11.5 12.1"},A:{"11":0.00871,_:"6 7 8 9 10 5.5"},N:{_:"10 11"},S:{_:"2.5 3.0-3.1"},J:{_:"7 10"},O:{"0":7.53864},H:{"0":7.59},L:{"0":63.44217},R:{_:"0"},M:{"0":0.14037},Q:{_:"14.9"}}; diff --git a/node_modules/caniuse-lite/data/regions/YT.js b/node_modules/caniuse-lite/data/regions/YT.js index 278b5256ab..a5f413a4fe 100644 --- a/node_modules/caniuse-lite/data/regions/YT.js +++ b/node_modules/caniuse-lite/data/regions/YT.js @@ -1 +1 @@ -module.exports={C:{"68":0.0448,"78":0.01493,"102":0.02613,"109":0.0112,"115":0.13439,"116":0.00373,"122":0.00373,"123":0.00373,"124":0.04853,"125":2.93414,"126":1.02284,_:"2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 69 70 71 72 73 74 75 76 77 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 103 104 105 106 107 108 110 111 112 113 114 117 118 119 120 121 127 128 129 3.5 3.6"},D:{"43":0.00747,"50":0.0112,"61":0.00373,"65":0.00747,"67":0.0224,"69":0.00747,"73":0.00747,"79":0.08213,"81":0.0112,"86":0.01867,"87":0.00373,"88":0.00373,"89":0.00373,"90":0.00747,"95":0.01867,"98":0.00373,"102":0.0112,"103":0.00747,"104":0.00373,"106":0.06346,"109":0.45169,"110":0.00373,"111":0.00373,"112":0.02986,"115":0.02613,"116":0.0224,"117":0.20158,"119":0.0112,"120":0.0336,"121":0.0336,"122":0.15679,"123":0.78393,"124":10.00817,"125":4.68865,"126":0.02986,_:"4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 44 45 46 47 48 49 51 52 53 54 55 56 57 58 59 60 62 63 64 66 68 70 71 72 74 75 76 77 78 80 83 84 85 91 92 93 94 96 97 99 100 101 105 107 108 113 114 118 127 128"},F:{"46":0.00373,"107":0.04106,"108":0.02613,"109":0.38823,"110":0.01867,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 47 48 49 50 51 52 53 54 55 56 57 58 60 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"84":0.00373,"92":0.02986,"96":0.00373,"100":0.0112,"105":0.07093,"109":0.01493,"114":0.04106,"115":0.00373,"119":0.21278,"120":0.0112,"121":0.0112,"122":0.0448,"123":0.18665,"124":3.24398,"125":2.05315,_:"12 13 14 15 16 17 18 79 80 81 83 85 86 87 88 89 90 91 93 94 95 97 98 99 101 102 103 104 106 107 108 110 111 112 113 116 117 118"},E:{"14":0.72047,_:"0 4 5 6 7 8 9 10 11 12 13 15 3.1 3.2 5.1 6.1 7.1 9.1 10.1 11.1 15.1 15.5 17.6","12.1":0.00747,"13.1":0.02613,"14.1":0.09706,"15.2-15.3":0.0112,"15.4":0.08213,"15.6":1.538,"16.0":0.00373,"16.1":0.07093,"16.2":0.00373,"16.3":0.0336,"16.4":0.20905,"16.5":0.0112,"16.6":0.21651,"17.0":0.01493,"17.1":0.07466,"17.2":0.0336,"17.3":0.0336,"17.4":1.0751,"17.5":0.17172},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.00257,"5.0-5.1":0.00257,"6.0-6.1":0.00643,"7.0-7.1":0.009,"8.1-8.4":0.00257,"9.0-9.2":0.00643,"9.3":0.02958,"10.0-10.2":0.00514,"10.3":0.0463,"11.0-11.2":0.06816,"11.3-11.4":0.01286,"12.0-12.1":0.00772,"12.2-12.5":0.18647,"13.0-13.1":0.00386,"13.2":0.018,"13.3":0.009,"13.4-13.7":0.04115,"14.0-14.4":0.07073,"14.5-14.8":0.10931,"15.0-15.1":0.05273,"15.2-15.3":0.05787,"15.4":0.06559,"15.5":0.0823,"15.6-15.8":0.74073,"16.0":0.16846,"16.1":0.34722,"16.2":0.16846,"16.3":0.29192,"16.4":0.06173,"16.5":0.12474,"16.6-16.7":0.99407,"17.0":0.10802,"17.1":0.17618,"17.2":0.1839,"17.3":0.3395,"17.4":7.7095,"17.5":0.54397,"17.6":0},P:{"4":0.07262,"20":0.0415,"21":0.25935,"22":0.17636,"23":0.17636,"24":0.44609,"25":2.27193,_:"5.0-5.4 6.2-6.4 8.2 9.2 10.1 12.0 14.0 18.0","7.2-7.4":0.19711,"11.1-11.2":0.05187,"13.0":0.01037,"15.0":0.01037,"16.0":0.13486,"17.0":0.01037,"19.0":0.11412},I:{"0":0.03746,"3":0,"4":0,"2.1":0,"2.2":0,"2.3":0,"4.1":0.00001,"4.2-4.3":0.00002,"4.4":0,"4.4.3-4.4.4":0.00008},K:{"0":0.60444,_:"10 11 12 11.1 11.5 12.1"},A:{_:"6 7 8 9 10 11 5.5"},S:{_:"2.5 3.0-3.1"},J:{_:"7 10"},N:{_:"10 11"},L:{"0":49.9183},R:{_:"0"},M:{"0":0.22561},Q:{"14.9":0.0188},O:{"0":0.06894},H:{"0":0.11}}; +module.exports={C:{"78":0.01191,"100":0.00397,"102":0.01191,"115":1.67534,"125":0.00397,"126":0.02382,"127":0.01588,"128":0.00794,"129":0.70269,"130":2.20335,_:"2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 101 103 104 105 106 107 108 109 110 111 112 113 114 116 117 118 119 120 121 122 123 124 131 132 133 134 135 3.5 3.6"},D:{"46":0.00397,"51":0.00397,"60":0.00397,"61":0.00397,"63":0.00397,"66":0.00397,"70":0.00794,"75":0.01191,"87":0.02779,"91":0.01588,"94":0.02382,"95":0.01588,"97":0.01191,"103":0.01191,"105":0.01191,"108":0.0397,"109":0.38906,"110":0.0397,"111":0.01191,"113":0.01191,"114":0.07146,"115":0.00794,"116":0.08734,"117":0.01588,"118":0.00397,"119":0.00397,"120":0.01191,"121":0.26599,"122":0.02779,"123":0.02382,"124":0.11116,"125":0.08734,"126":0.1985,"127":1.41729,"128":13.04145,"129":4.35509,"130":0.00397,_:"4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 47 48 49 50 52 53 54 55 56 57 58 59 62 64 65 67 68 69 71 72 73 74 76 77 78 79 80 81 83 84 85 86 88 89 90 92 93 96 98 99 100 101 102 104 106 107 112 131 132 133"},F:{"46":0.00794,"84":0.00397,"95":0.01191,"99":0.00794,"102":0.01191,"111":0.01588,"112":0.3176,"113":0.21835,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 47 48 49 50 51 52 53 54 55 56 57 58 60 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 85 86 87 88 89 90 91 92 93 94 96 97 98 100 101 103 104 105 106 107 108 109 110 114 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"17":0.01191,"84":0.01985,"92":0.02382,"96":0.00397,"102":0.00397,"109":0.05161,"116":0.00794,"118":0.0397,"119":0.02382,"120":0.00397,"121":0.01985,"122":0.01191,"123":0.00794,"124":0.0397,"125":0.00794,"126":0.17071,"127":0.19453,"128":6.24481,"129":2.21129,_:"12 13 14 15 16 18 79 80 81 83 85 86 87 88 89 90 91 93 94 95 97 98 99 100 101 103 104 105 106 107 108 110 111 112 113 114 115 117 130"},E:{"14":0.02382,_:"0 4 5 6 7 8 9 10 11 12 13 15 3.1 3.2 5.1 6.1 7.1 9.1 10.1 11.1 16.0 17.0 18.1","12.1":0.01985,"13.1":0.04764,"14.1":0.02779,"15.1":0.00397,"15.2-15.3":0.00397,"15.4":0.01191,"15.5":0.01191,"15.6":0.9131,"16.1":0.07543,"16.2":0.01191,"16.3":0.03573,"16.4":0.00397,"16.5":0.10719,"16.6":0.60344,"17.1":0.07146,"17.2":0.02779,"17.3":0.10322,"17.4":0.01588,"17.5":0.14689,"17.6":0.73445,"18.0":0.04764},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.00214,"5.0-5.1":0.00107,"6.0-6.1":0.00643,"7.0-7.1":0.0075,"8.1-8.4":0,"9.0-9.2":0.00643,"9.3":0.01822,"10.0-10.2":0.00536,"10.3":0.03107,"11.0-11.2":0.11465,"11.3-11.4":0.00857,"12.0-12.1":0.00536,"12.2-12.5":0.12966,"13.0-13.1":0.00214,"13.2":0.04072,"13.3":0.00536,"13.4-13.7":0.02143,"14.0-14.4":0.04929,"14.5-14.8":0.06536,"15.0-15.1":0.0375,"15.2-15.3":0.03643,"15.4":0.04179,"15.5":0.05143,"15.6-15.8":0.50898,"16.0":0.10287,"16.1":0.20359,"16.2":0.1018,"16.3":0.17144,"16.4":0.03643,"16.5":0.07179,"16.6-16.7":0.61292,"17.0":0.05143,"17.1":0.08144,"17.2":0.07394,"17.3":0.10608,"17.4":0.22716,"17.5":1.09189,"17.6-17.7":5.81091,"18.0":0.73293,"18.1":0.03322},P:{"4":0.01023,"21":0.03068,"22":0.25571,"23":0.08183,"24":0.05114,"25":0.40913,"26":2.64913,_:"20 5.0-5.4 6.2-6.4 8.2 9.2 10.1 11.1-11.2 12.0 13.0 14.0 17.0 18.0","7.2-7.4":0.22502,"15.0":0.01023,"16.0":0.05114,"19.0":0.03068},I:{"0":0.06014,"3":0,"4":0,"2.1":0,"2.2":0,"2.3":0,"4.1":0.00001,"4.2-4.3":0.00002,"4.4":0,"4.4.3-4.4.4":0.0001},K:{"0":0.42828,_:"10 11 12 11.1 11.5 12.1"},A:{_:"6 7 8 9 10 11 5.5"},N:{_:"10 11"},S:{_:"2.5 3.0-3.1"},J:{_:"7 10"},O:{"0":0.04824},H:{"0":0.03},L:{"0":46.52603},R:{_:"0"},M:{"0":0.16884},Q:{"14.9":0.00603}}; diff --git a/node_modules/caniuse-lite/data/regions/ZA.js b/node_modules/caniuse-lite/data/regions/ZA.js index 64fd71ba7b..d2b34220fb 100644 --- a/node_modules/caniuse-lite/data/regions/ZA.js +++ b/node_modules/caniuse-lite/data/regions/ZA.js @@ -1 +1 @@ -module.exports={C:{"34":0.01208,"52":0.01812,"56":0.00201,"59":0.00403,"64":0.00201,"68":0.00201,"78":0.01007,"88":0.00805,"91":0.00201,"94":0.00201,"99":0.00201,"102":0.00201,"104":0.00201,"111":0.00201,"112":0.00201,"113":0.00403,"115":0.07649,"116":0.00201,"121":0.00201,"122":0.04227,"123":0.00604,"124":0.01208,"125":0.2476,"126":0.22546,"127":0.00201,_:"2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 53 54 55 57 58 60 61 62 63 65 66 67 69 70 71 72 73 74 75 76 77 79 80 81 82 83 84 85 86 87 89 90 92 93 95 96 97 98 100 101 103 105 106 107 108 109 110 114 117 118 119 120 128 129 3.5 3.6"},D:{"11":0.00201,"38":0.00201,"49":0.00201,"50":0.00403,"52":0.00805,"55":0.00201,"56":0.00403,"65":0.00403,"66":0.01812,"67":0.00403,"69":0.00201,"70":0.01208,"73":0.00201,"74":0.00604,"75":0.00201,"78":0.00403,"79":0.01007,"80":0.00201,"81":0.00201,"83":0.00201,"86":0.01409,"87":0.01208,"88":0.02818,"90":0.00201,"91":0.00403,"92":0.00403,"93":0.0302,"94":0.00403,"95":0.00403,"96":0.00201,"97":0.00403,"98":0.00403,"99":0.03825,"100":0.01409,"101":0.02013,"102":0.01409,"103":0.02617,"104":0.01409,"105":0.00201,"106":0.00403,"107":0.00403,"108":0.00403,"109":0.57773,"110":0.00403,"111":0.01007,"112":0.00604,"113":0.01812,"114":0.03623,"115":0.00604,"116":0.06039,"117":0.01208,"118":0.01007,"119":0.02818,"120":0.04026,"121":0.03221,"122":0.08656,"123":0.32007,"124":6.51608,"125":3.27314,"126":0.00403,"127":0.00201,_:"4 5 6 7 8 9 10 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 39 40 41 42 43 44 45 46 47 48 51 53 54 57 58 59 60 61 62 63 64 68 71 72 76 77 84 85 89 128"},F:{"28":0.00403,"79":0.00201,"95":0.01007,"102":0.00201,"107":0.04227,"108":0.00604,"109":0.25968,"110":0.02013,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 60 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 96 97 98 99 100 101 103 104 105 106 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"12":0.00403,"13":0.00201,"14":0.00201,"15":0.00201,"16":0.00201,"17":0.00403,"18":0.00805,"84":0.00201,"90":0.00201,"91":0.00201,"92":0.00805,"100":0.00403,"107":0.00201,"109":0.02416,"110":0.00201,"111":0.00201,"112":0.00201,"113":0.00201,"114":0.00201,"115":0.00201,"116":0.00604,"117":0.00201,"118":0.02818,"119":0.00403,"120":0.00805,"121":0.01208,"122":0.02617,"123":0.05838,"124":1.43728,"125":0.81728,_:"79 80 81 83 85 86 87 88 89 93 94 95 96 97 98 99 101 102 103 104 105 106 108"},E:{"13":0.00201,"14":0.00805,"15":0.00201,_:"0 4 5 6 7 8 9 10 11 12 3.1 3.2 5.1 6.1 7.1 9.1 10.1 17.6","11.1":0.00403,"12.1":0.00403,"13.1":0.02013,"14.1":0.02416,"15.1":0.00604,"15.2-15.3":0.00604,"15.4":0.00604,"15.5":0.01007,"15.6":0.08052,"16.0":0.02416,"16.1":0.01007,"16.2":0.01208,"16.3":0.03623,"16.4":0.01409,"16.5":0.02013,"16.6":0.11877,"17.0":0.01208,"17.1":0.02818,"17.2":0.02214,"17.3":0.03221,"17.4":0.41669,"17.5":0.06039},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.00195,"5.0-5.1":0.00195,"6.0-6.1":0.00488,"7.0-7.1":0.00683,"8.1-8.4":0.00195,"9.0-9.2":0.00488,"9.3":0.02245,"10.0-10.2":0.0039,"10.3":0.03514,"11.0-11.2":0.05173,"11.3-11.4":0.00976,"12.0-12.1":0.00586,"12.2-12.5":0.14152,"13.0-13.1":0.00293,"13.2":0.01366,"13.3":0.00683,"13.4-13.7":0.03123,"14.0-14.4":0.05368,"14.5-14.8":0.08296,"15.0-15.1":0.04002,"15.2-15.3":0.04392,"15.4":0.04978,"15.5":0.06246,"15.6-15.8":0.56218,"16.0":0.12786,"16.1":0.26352,"16.2":0.12786,"16.3":0.22155,"16.4":0.04685,"16.5":0.09467,"16.6-16.7":0.75446,"17.0":0.08198,"17.1":0.13371,"17.2":0.13957,"17.3":0.25767,"17.4":5.85119,"17.5":0.41285,"17.6":0},P:{"4":0.12212,"20":0.05088,"21":0.12212,"22":0.15265,"23":0.31549,"24":0.60044,"25":6.18761,_:"5.0-5.4 6.2-6.4 8.2 10.1","7.2-7.4":0.30531,"9.2":0.01018,"11.1-11.2":0.03053,"12.0":0.02035,"13.0":0.01018,"14.0":0.03053,"15.0":0.01018,"16.0":0.03053,"17.0":0.04071,"18.0":0.03053,"19.0":0.12212},I:{"0":0.02387,"3":0,"4":0,"2.1":0,"2.2":0,"2.3":0,"4.1":0,"4.2-4.3":0.00001,"4.4":0,"4.4.3-4.4.4":0.00005},K:{"0":3.40025,_:"10 11 12 11.1 11.5 12.1"},A:{"11":0.0302,_:"6 7 8 9 10 5.5"},S:{_:"2.5 3.0-3.1"},J:{_:"7 10"},N:{_:"10 11"},L:{"0":61.37448},R:{_:"0"},M:{"0":0.4313},Q:{_:"14.9"},O:{"0":0.35143},H:{"0":0.13}}; +module.exports={C:{"34":0.0105,"40":0.00263,"52":0.00525,"59":0.00263,"78":0.00525,"88":0.00525,"91":0.00263,"99":0.00263,"104":0.00263,"105":0.00263,"112":0.00263,"113":0.00263,"115":0.06302,"123":0.00263,"124":0.00263,"125":0.00263,"126":0.00263,"127":0.00263,"128":0.00788,"129":0.09454,"130":0.44379,"131":0.00525,_:"2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 35 36 37 38 39 41 42 43 44 45 46 47 48 49 50 51 53 54 55 56 57 58 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 79 80 81 82 83 84 85 86 87 89 90 92 93 94 95 96 97 98 100 101 102 103 106 107 108 109 110 111 114 116 117 118 119 120 121 122 132 133 134 135 3.5 3.6"},D:{"49":0.00263,"50":0.00263,"52":0.02101,"55":0.00263,"65":0.00525,"66":0.0105,"67":0.00263,"69":0.00263,"70":0.00788,"73":0.00525,"74":0.00263,"75":0.00263,"78":0.00263,"79":0.0105,"81":0.00525,"83":0.00263,"86":0.00263,"87":0.0105,"88":0.03676,"90":0.00263,"91":0.00525,"92":0.00263,"93":0.00263,"94":0.00788,"95":0.00263,"98":0.00263,"99":0.03676,"100":0.00525,"102":0.00525,"103":0.03151,"104":0.00525,"105":0.00263,"106":0.00525,"107":0.00263,"108":0.0105,"109":0.63549,"110":0.00263,"111":0.01576,"112":0.00788,"113":0.01313,"114":0.05777,"115":0.00263,"116":0.06302,"117":0.0105,"118":0.0105,"119":0.03151,"120":0.03414,"121":0.02101,"122":0.08141,"123":0.12605,"124":0.06302,"125":0.09454,"126":0.17069,"127":0.66963,"128":10.28867,"129":2.90698,"130":0.00788,"131":0.00263,_:"4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 51 53 54 56 57 58 59 60 61 62 63 64 68 71 72 76 77 80 84 85 89 96 97 101 132 133"},F:{"83":0.0105,"84":0.05515,"95":0.01576,"109":0.00525,"111":0.00263,"112":0.23371,"113":0.19432,"114":0.00263,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 60 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 85 86 87 88 89 90 91 92 93 94 96 97 98 99 100 101 102 103 104 105 106 107 108 110 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"13":0.00525,"16":0.00263,"17":0.00263,"18":0.00525,"90":0.00263,"92":0.01313,"100":0.00525,"107":0.00263,"109":0.03414,"111":0.00263,"113":0.00263,"114":0.00263,"116":0.00263,"117":0.00263,"118":0.01313,"119":0.00525,"120":0.00525,"121":0.02626,"122":0.0105,"123":0.0105,"124":0.01313,"125":0.01838,"126":0.06565,"127":0.17069,"128":3.30088,"129":1.13706,_:"12 14 15 79 80 81 83 84 85 86 87 88 89 91 93 94 95 96 97 98 99 101 102 103 104 105 106 108 110 112 115 130"},E:{"14":0.00525,_:"0 4 5 6 7 8 9 10 11 12 13 15 3.1 3.2 5.1 6.1 7.1 9.1 10.1","11.1":0.00263,"12.1":0.00263,"13.1":0.01838,"14.1":0.01576,"15.1":0.00263,"15.2-15.3":0.00263,"15.4":0.00525,"15.5":0.00525,"15.6":0.08141,"16.0":0.01313,"16.1":0.0105,"16.2":0.00788,"16.3":0.03151,"16.4":0.00263,"16.5":0.01313,"16.6":0.09454,"17.0":0.00788,"17.1":0.00788,"17.2":0.00788,"17.3":0.01313,"17.4":0.03151,"17.5":0.09191,"17.6":0.36239,"18.0":0.04989,"18.1":0.00263},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.00174,"5.0-5.1":0.00087,"6.0-6.1":0.00522,"7.0-7.1":0.00609,"8.1-8.4":0,"9.0-9.2":0.00522,"9.3":0.01479,"10.0-10.2":0.00435,"10.3":0.02523,"11.0-11.2":0.0931,"11.3-11.4":0.00696,"12.0-12.1":0.00435,"12.2-12.5":0.10529,"13.0-13.1":0.00174,"13.2":0.03307,"13.3":0.00435,"13.4-13.7":0.0174,"14.0-14.4":0.04003,"14.5-14.8":0.05308,"15.0-15.1":0.03045,"15.2-15.3":0.02958,"15.4":0.03394,"15.5":0.04177,"15.6-15.8":0.41331,"16.0":0.08353,"16.1":0.16533,"16.2":0.08266,"16.3":0.13922,"16.4":0.02958,"16.5":0.0583,"16.6-16.7":0.49772,"17.0":0.04177,"17.1":0.06613,"17.2":0.06004,"17.3":0.08614,"17.4":0.18447,"17.5":0.88666,"17.6-17.7":4.71873,"18.0":0.59517,"18.1":0.02697},P:{"4":0.10126,"20":0.03038,"21":0.05063,"22":0.13164,"23":0.11139,"24":0.13164,"25":0.56708,"26":5.68092,_:"5.0-5.4 8.2 9.2 10.1 15.0","6.2-6.4":0.01013,"7.2-7.4":0.24303,"11.1-11.2":0.02025,"12.0":0.01013,"13.0":0.02025,"14.0":0.01013,"16.0":0.01013,"17.0":0.03038,"18.0":0.02025,"19.0":0.08101},I:{"0":0.02942,"3":0,"4":0,"2.1":0,"2.2":0,"2.3":0,"4.1":0,"4.2-4.3":0.00001,"4.4":0,"4.4.3-4.4.4":0.00005},K:{"0":3.03233,_:"10 11 12 11.1 11.5 12.1"},A:{"11":0.01313,_:"6 7 8 9 10 5.5"},N:{_:"10 11"},S:{"2.5":0.00737,_:"3.0-3.1"},J:{_:"7 10"},O:{"0":0.33183},H:{"0":0.05},L:{"0":57.26257},R:{_:"0"},M:{"0":0.42769},Q:{"14.9":0.00737}}; diff --git a/node_modules/caniuse-lite/data/regions/ZM.js b/node_modules/caniuse-lite/data/regions/ZM.js index 9874d80c18..bb91b789e0 100644 --- a/node_modules/caniuse-lite/data/regions/ZM.js +++ b/node_modules/caniuse-lite/data/regions/ZM.js @@ -1 +1 @@ -module.exports={C:{"31":0.00146,"34":0.00146,"49":0.0102,"56":0.00729,"72":0.00146,"78":0.00146,"85":0.00146,"98":0.00146,"103":0.00583,"110":0.00146,"111":0.00146,"112":0.00146,"114":0.00583,"115":0.05245,"118":0.00146,"119":0.00146,"121":0.00583,"122":0.00146,"123":0.00729,"124":0.01603,"125":0.24478,"126":0.1763,"127":0.00146,_:"2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 32 33 35 36 37 38 39 40 41 42 43 44 45 46 47 48 50 51 52 53 54 55 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 73 74 75 76 77 79 80 81 82 83 84 86 87 88 89 90 91 92 93 94 95 96 97 99 100 101 102 104 105 106 107 108 109 113 116 117 120 128 129 3.5 3.6"},D:{"11":0.00291,"33":0.00146,"34":0.00146,"38":0.00146,"46":0.00291,"49":0.00583,"50":0.00146,"51":0.00146,"53":0.00291,"55":0.00146,"56":0.00146,"57":0.00146,"58":0.00146,"59":0.00146,"61":0.00146,"63":0.00146,"64":0.00583,"66":0.00146,"67":0.00146,"68":0.00729,"69":0.00874,"70":0.00291,"71":0.00146,"72":0.00146,"73":0.00291,"74":0.00291,"75":0.00437,"76":0.00146,"77":0.00874,"78":0.00146,"79":0.00729,"80":0.00291,"81":0.00437,"83":0.01166,"84":0.00146,"85":0.00146,"86":0.0102,"87":0.01457,"88":0.02186,"90":0.00291,"91":0.00437,"92":0.00437,"93":0.01748,"94":0.0102,"95":0.00583,"96":0.00146,"97":0.00291,"98":0.00291,"99":0.00291,"100":0.00146,"102":0.02186,"103":0.0204,"104":0.00146,"105":0.00437,"106":0.01166,"107":0.00729,"108":0.0102,"109":0.54638,"110":0.00146,"111":0.0102,"112":0.00437,"113":0.00583,"114":0.00874,"115":0.00583,"116":0.03351,"117":0.01457,"118":0.00874,"119":0.03351,"120":0.02768,"121":0.02623,"122":0.07139,"123":0.24478,"124":3.36713,"125":1.21805,"126":0.00437,_:"4 5 6 7 8 9 10 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 35 36 37 39 40 41 42 43 44 45 47 48 52 54 60 62 65 89 101 127 128"},F:{"20":0.00729,"34":0.00146,"35":0.00291,"36":0.00146,"42":0.00291,"46":0.00146,"57":0.00146,"75":0.00291,"79":0.01166,"82":0.00437,"83":0.00146,"89":0.00583,"90":0.00291,"93":0.00437,"95":0.03934,"100":0.00146,"101":0.00146,"102":0.00146,"104":0.00291,"106":0.00291,"107":0.01457,"108":0.01603,"109":0.4269,"110":0.06265,_:"9 11 12 15 16 17 18 19 21 22 23 24 25 26 27 28 29 30 31 32 33 37 38 39 40 41 43 44 45 47 48 49 50 51 52 53 54 55 56 58 60 62 63 64 65 66 67 68 69 70 71 72 73 74 76 77 78 80 81 84 85 86 87 88 91 92 94 96 97 98 99 103 105 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"12":0.01894,"13":0.00874,"14":0.00583,"15":0.00729,"16":0.00583,"17":0.00729,"18":0.04371,"83":0.00146,"84":0.00437,"86":0.00146,"89":0.00729,"90":0.0102,"92":0.04225,"100":0.01457,"101":0.00146,"107":0.00146,"109":0.02331,"110":0.00146,"111":0.00146,"112":0.00291,"113":0.00146,"114":0.01457,"115":0.00583,"116":0.00437,"117":0.00437,"118":0.00729,"119":0.051,"120":0.01748,"121":0.01457,"122":0.0408,"123":0.08159,"124":1.14957,"125":0.50849,_:"79 80 81 85 87 88 91 93 94 95 96 97 98 99 102 103 104 105 106 108"},E:{"13":0.01166,"14":0.00146,"15":0.00146,_:"0 4 5 6 7 8 9 10 11 12 3.1 3.2 6.1 9.1 10.1 11.1 12.1 15.1 15.2-15.3 15.4 16.0 17.6","5.1":0.00146,"7.1":0.00146,"13.1":0.02914,"14.1":0.02331,"15.5":0.00146,"15.6":0.02186,"16.1":0.00146,"16.2":0.00146,"16.3":0.00583,"16.4":0.00146,"16.5":0.00437,"16.6":0.02768,"17.0":0.00146,"17.1":0.00583,"17.2":0.0204,"17.3":0.01894,"17.4":0.07285,"17.5":0.01311},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.00106,"5.0-5.1":0.00106,"6.0-6.1":0.00266,"7.0-7.1":0.00373,"8.1-8.4":0.00106,"9.0-9.2":0.00266,"9.3":0.01224,"10.0-10.2":0.00213,"10.3":0.01916,"11.0-11.2":0.02821,"11.3-11.4":0.00532,"12.0-12.1":0.00319,"12.2-12.5":0.07718,"13.0-13.1":0.0016,"13.2":0.00745,"13.3":0.00373,"13.4-13.7":0.01703,"14.0-14.4":0.02928,"14.5-14.8":0.04524,"15.0-15.1":0.02182,"15.2-15.3":0.02395,"15.4":0.02715,"15.5":0.03407,"15.6-15.8":0.3066,"16.0":0.06973,"16.1":0.14372,"16.2":0.06973,"16.3":0.12083,"16.4":0.02555,"16.5":0.05163,"16.6-16.7":0.41146,"17.0":0.04471,"17.1":0.07292,"17.2":0.07612,"17.3":0.14052,"17.4":3.19109,"17.5":0.22516,"17.6":0},P:{"4":0.132,"20":0.01015,"21":0.05077,"22":0.07108,"23":0.07108,"24":0.21323,"25":0.55846,"5.0-5.4":0.02031,"6.2-6.4":0.02031,"7.2-7.4":0.11169,_:"8.2 10.1 12.0 14.0 15.0","9.2":0.03046,"11.1-11.2":0.01015,"13.0":0.01015,"16.0":0.03046,"17.0":0.02031,"18.0":0.01015,"19.0":0.03046},I:{"0":0.11064,"3":0,"4":0.00001,"2.1":0,"2.2":0,"2.3":0,"4.1":0.00002,"4.2-4.3":0.00007,"4.4":0,"4.4.3-4.4.4":0.00024},K:{"0":14.45918,_:"10 11 12 11.1 11.5 12.1"},A:{"9":0.00379,"10":0.00758,"11":0.04546,_:"6 7 8 5.5"},S:{"2.5":0.00854,_:"3.0-3.1"},J:{_:"7 10"},N:{_:"10 11"},L:{"0":64.42329},R:{_:"0"},M:{"0":0.0769},Q:{"14.9":0.01709},O:{"0":0.88858},H:{"0":3.15}}; +module.exports={C:{"34":0.0016,"60":0.0016,"71":0.00961,"80":0.0016,"88":0.0016,"112":0.0016,"115":0.0817,"118":0.0032,"121":0.0016,"122":0.0016,"123":0.00801,"125":0.0016,"126":0.0016,"127":0.00961,"128":0.0032,"129":0.06728,"130":0.28195,"131":0.0032,_:"2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 61 62 63 64 65 66 67 68 69 70 72 73 74 75 76 77 78 79 81 82 83 84 85 86 87 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 113 114 116 117 119 120 124 132 133 134 135 3.5 3.6"},D:{"11":0.0032,"29":0.0016,"35":0.0016,"42":0.0016,"43":0.0016,"49":0.00481,"50":0.00961,"53":0.0032,"55":0.0016,"56":0.0016,"58":0.0032,"59":0.0032,"61":0.0016,"63":0.0016,"64":0.01121,"65":0.0016,"67":0.0016,"68":0.00641,"69":0.00641,"70":0.01121,"71":0.0032,"73":0.0016,"74":0.0032,"75":0.0032,"76":0.0016,"77":0.01282,"78":0.0016,"79":0.01442,"80":0.0032,"81":0.00801,"83":0.00481,"84":0.0032,"85":0.0016,"86":0.0016,"87":0.00801,"88":0.01602,"90":0.0016,"91":0.0032,"92":0.0032,"93":0.02723,"94":0.00481,"95":0.00481,"96":0.0016,"97":0.0016,"98":0.00641,"99":0.00481,"102":0.0032,"103":0.01442,"105":0.0032,"106":0.01442,"107":0.0032,"108":0.00801,"109":0.42133,"110":0.0016,"111":0.00481,"112":0.0016,"113":0.03044,"114":0.00801,"115":0.0016,"116":0.02403,"117":0.00801,"118":0.00801,"119":0.02723,"120":0.01922,"121":0.00801,"122":0.01762,"123":0.03204,"124":0.05767,"125":0.04966,"126":0.08971,"127":0.3172,"128":3.54362,"129":1.13422,"130":0.0016,_:"4 5 6 7 8 9 10 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 30 31 32 33 34 36 37 38 39 40 41 44 45 46 47 48 51 52 54 57 60 62 66 72 89 100 101 104 131 132 133"},F:{"21":0.0016,"36":0.0016,"42":0.0016,"64":0.0032,"79":0.01121,"83":0.02723,"84":0.02403,"85":0.0032,"95":0.05447,"107":0.0016,"109":0.00481,"110":0.0016,"111":0.0032,"112":0.28195,"113":0.16501,"114":0.00801,_:"9 11 12 15 16 17 18 19 20 22 23 24 25 26 27 28 29 30 31 32 33 34 35 37 38 39 40 41 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 60 62 63 65 66 67 68 69 70 71 72 73 74 75 76 77 78 80 81 82 86 87 88 89 90 91 92 93 94 96 97 98 99 100 101 102 103 104 105 106 108 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"12":0.00801,"13":0.00641,"14":0.00481,"15":0.0032,"16":0.00481,"17":0.00801,"18":0.03685,"84":0.00641,"86":0.0032,"89":0.00961,"90":0.01282,"92":0.07369,"99":0.0016,"100":0.02083,"101":0.0016,"103":0.0016,"107":0.0016,"109":0.02403,"110":0.0016,"111":0.0016,"112":0.0032,"114":0.0016,"115":0.0016,"116":0.0016,"117":0.0016,"118":0.0016,"119":0.00481,"120":0.00481,"121":0.00641,"122":0.00961,"123":0.00961,"124":0.01282,"125":0.01442,"126":0.04806,"127":0.14258,"128":1.51069,"129":0.44375,"130":0.0016,_:"79 80 81 83 85 87 88 91 93 94 95 96 97 98 102 104 105 106 108 113"},E:{"13":0.0016,"14":0.00801,"15":0.0016,_:"0 4 5 6 7 8 9 10 11 12 3.1 3.2 5.1 6.1 7.1 9.1 10.1 11.1 12.1 15.1 15.4 15.5 16.2 16.4","13.1":0.01602,"14.1":0.01121,"15.2-15.3":0.00481,"15.6":0.04966,"16.0":0.0016,"16.1":0.0032,"16.3":0.0016,"16.5":0.00481,"16.6":0.03364,"17.0":0.0016,"17.1":0.00481,"17.2":0.0032,"17.3":0.0016,"17.4":0.0032,"17.5":0.04646,"17.6":0.10093,"18.0":0.00961,"18.1":0.0016},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.00106,"5.0-5.1":0.00053,"6.0-6.1":0.00317,"7.0-7.1":0.0037,"8.1-8.4":0,"9.0-9.2":0.00317,"9.3":0.00898,"10.0-10.2":0.00264,"10.3":0.01532,"11.0-11.2":0.05651,"11.3-11.4":0.00423,"12.0-12.1":0.00264,"12.2-12.5":0.06391,"13.0-13.1":0.00106,"13.2":0.02007,"13.3":0.00264,"13.4-13.7":0.01056,"14.0-14.4":0.0243,"14.5-14.8":0.03222,"15.0-15.1":0.01849,"15.2-15.3":0.01796,"15.4":0.0206,"15.5":0.02535,"15.6-15.8":0.25088,"16.0":0.0507,"16.1":0.10035,"16.2":0.05018,"16.3":0.08451,"16.4":0.01796,"16.5":0.03539,"16.6-16.7":0.30211,"17.0":0.02535,"17.1":0.04014,"17.2":0.03644,"17.3":0.05229,"17.4":0.11197,"17.5":0.53821,"17.6-17.7":2.86427,"18.0":0.36127,"18.1":0.01637},P:{"4":0.08271,"20":0.01034,"21":0.03102,"22":0.08271,"23":0.04136,"24":0.07237,"25":0.37221,"26":0.61001,"5.0-5.4":0.02068,"6.2-6.4":0.01034,"7.2-7.4":0.08271,_:"8.2 10.1 12.0 14.0 15.0","9.2":0.03102,"11.1-11.2":0.01034,"13.0":0.01034,"16.0":0.02068,"17.0":0.01034,"18.0":0.01034,"19.0":0.01034},I:{"0":0.09212,"3":0,"4":0,"2.1":0,"2.2":0,"2.3":0,"4.1":0.00001,"4.2-4.3":0.00004,"4.4":0,"4.4.3-4.4.4":0.00015},K:{"0":13.16338,_:"10 11 12 11.1 11.5 12.1"},A:{"8":0.00608,"9":0.00203,"10":0.00608,"11":0.0547,_:"6 7 5.5"},N:{_:"10 11"},S:{"2.5":0.02519,_:"3.0-3.1"},J:{_:"7 10"},O:{"0":0.87329},H:{"0":2.01},L:{"0":66.38774},R:{_:"0"},M:{"0":0.07557},Q:{"14.9":0.0084}}; diff --git a/node_modules/caniuse-lite/data/regions/ZW.js b/node_modules/caniuse-lite/data/regions/ZW.js index 4254121d82..937067e0e7 100644 --- a/node_modules/caniuse-lite/data/regions/ZW.js +++ b/node_modules/caniuse-lite/data/regions/ZW.js @@ -1 +1 @@ -module.exports={C:{"7":0.00272,"36":0.00272,"37":0.00815,"52":0.00272,"72":0.00272,"87":0.00544,"88":0.01087,"94":0.00544,"97":0.00272,"99":0.00815,"102":0.01631,"106":0.04892,"107":0.00815,"108":0.00272,"112":0.00272,"113":0.01631,"115":0.18754,"116":0.00272,"118":0.00544,"119":0.00544,"120":0.00815,"121":0.01087,"122":0.00544,"123":0.01903,"124":0.0299,"125":0.70124,"126":0.55175,"127":0.01087,_:"2 3 4 5 6 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 38 39 40 41 42 43 44 45 46 47 48 49 50 51 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 73 74 75 76 77 78 79 80 81 82 83 84 85 86 89 90 91 92 93 95 96 98 100 101 103 104 105 109 110 111 114 117 128 129 3.5 3.6"},D:{"11":0.01359,"47":0.00272,"49":0.04077,"59":0.00272,"60":0.00272,"63":0.01631,"64":0.00815,"65":0.00272,"67":0.00272,"68":0.00815,"69":0.01087,"70":0.01087,"71":0.00272,"72":0.00272,"73":0.00272,"74":0.01359,"75":0.00272,"76":0.01359,"77":0.00272,"78":0.00272,"79":0.05164,"80":0.01087,"81":0.00544,"83":0.01631,"84":0.00272,"85":0.00272,"86":0.00815,"87":0.01631,"88":0.00815,"89":0.00544,"90":0.00544,"91":0.00272,"92":0.00815,"93":0.01087,"94":0.02446,"95":0.00272,"96":0.00272,"97":0.00272,"98":0.03262,"99":0.01359,"100":0.00272,"102":0.01903,"103":0.0299,"104":0.0299,"105":0.00272,"106":0.00815,"107":0.01087,"108":0.01087,"109":0.93771,"110":0.00815,"111":0.01087,"112":0.00815,"113":0.01359,"114":0.03805,"115":0.00815,"116":0.04892,"117":0.01359,"118":0.01903,"119":0.0598,"120":0.07339,"121":0.09513,"122":0.14677,"123":0.4077,"124":7.88492,"125":3.35673,"126":0.01631,_:"4 5 6 7 8 9 10 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 48 50 51 52 53 54 55 56 57 58 61 62 66 101 127 128"},F:{"34":0.00272,"42":0.00544,"45":0.00272,"75":0.00544,"79":0.00544,"82":0.00272,"83":0.00544,"84":0.00272,"85":0.00544,"86":0.00272,"90":0.00272,"95":0.01631,"102":0.00272,"105":0.01359,"106":0.00544,"107":0.02718,"108":0.02718,"109":0.66863,"110":0.08698,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 35 36 37 38 39 40 41 43 44 46 47 48 49 50 51 52 53 54 55 56 57 58 60 62 63 64 65 66 67 68 69 70 71 72 73 74 76 77 78 80 81 87 88 89 91 92 93 94 96 97 98 99 100 101 103 104 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"12":0.04077,"13":0.01903,"14":0.00544,"15":0.00544,"16":0.02174,"17":0.09241,"18":0.10328,"81":0.00272,"84":0.01359,"85":0.00272,"89":0.01903,"90":0.03533,"92":0.12231,"96":0.00272,"98":0.00272,"100":0.04349,"103":0.00272,"105":0.00272,"106":0.00272,"107":0.00272,"108":0.00272,"109":0.0299,"110":0.00272,"111":0.01087,"112":0.00544,"113":0.00544,"114":0.01359,"115":0.01359,"116":0.01087,"117":0.01631,"118":0.02174,"119":0.02174,"120":0.03805,"121":0.04077,"122":0.17123,"123":0.20113,"124":2.89739,"125":1.37531,_:"79 80 83 86 87 88 91 93 94 95 97 99 101 102 104"},E:{"11":0.00272,"13":0.00272,"14":0.00272,_:"0 4 5 6 7 8 9 10 12 15 3.1 3.2 6.1 7.1 9.1 10.1 11.1 17.6","5.1":0.00272,"12.1":0.00815,"13.1":0.01631,"14.1":0.03533,"15.1":0.00272,"15.2-15.3":0.00272,"15.4":0.00272,"15.5":0.01087,"15.6":0.0761,"16.0":0.00272,"16.1":0.01087,"16.2":0.01087,"16.3":0.0299,"16.4":0.00272,"16.5":0.01359,"16.6":0.07339,"17.0":0.00815,"17.1":0.02174,"17.2":0.0299,"17.3":0.02718,"17.4":0.29354,"17.5":0.07882},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.00097,"5.0-5.1":0.00097,"6.0-6.1":0.00244,"7.0-7.1":0.00341,"8.1-8.4":0.00097,"9.0-9.2":0.00244,"9.3":0.0112,"10.0-10.2":0.00195,"10.3":0.01754,"11.0-11.2":0.02582,"11.3-11.4":0.00487,"12.0-12.1":0.00292,"12.2-12.5":0.07064,"13.0-13.1":0.00146,"13.2":0.00682,"13.3":0.00341,"13.4-13.7":0.01559,"14.0-14.4":0.02679,"14.5-14.8":0.04141,"15.0-15.1":0.01997,"15.2-15.3":0.02192,"15.4":0.02485,"15.5":0.03118,"15.6-15.8":0.28061,"16.0":0.06382,"16.1":0.13153,"16.2":0.06382,"16.3":0.11059,"16.4":0.02338,"16.5":0.04726,"16.6-16.7":0.37658,"17.0":0.04092,"17.1":0.06674,"17.2":0.06966,"17.3":0.12861,"17.4":2.92056,"17.5":0.20607,"17.6":0},P:{"4":0.11411,"20":0.05187,"21":0.06224,"22":0.14523,"23":0.21785,"24":0.3942,"25":1.54567,_:"5.0-5.4 6.2-6.4 8.2 10.1 12.0 15.0","7.2-7.4":0.1971,"9.2":0.01037,"11.1-11.2":0.01037,"13.0":0.01037,"14.0":0.02075,"16.0":0.03112,"17.0":0.02075,"18.0":0.03112,"19.0":0.09336},I:{"0":0.10155,"3":0,"4":0.00001,"2.1":0,"2.2":0,"2.3":0,"4.1":0.00002,"4.2-4.3":0.00006,"4.4":0,"4.4.3-4.4.4":0.00022},K:{"0":7.97783,_:"10 11 12 11.1 11.5 12.1"},A:{"10":0.0112,"11":0.08121,_:"6 7 8 9 5.5"},S:{"2.5":0.01456,_:"3.0-3.1"},J:{_:"7 10"},N:{_:"10 11"},L:{"0":58.76016},R:{_:"0"},M:{"0":0.18933},Q:{"14.9":0.05826},O:{"0":0.84471},H:{"0":1.03}}; +module.exports={C:{"49":0.00591,"69":0.00296,"72":0.00296,"80":0.00296,"88":0.00296,"94":0.00296,"96":0.00296,"99":0.00591,"107":0.00296,"109":0.00296,"112":0.00296,"115":0.17151,"116":0.00296,"118":0.10645,"119":0.00296,"121":0.00887,"122":0.00296,"123":0.00296,"124":0.00296,"125":0.00887,"126":0.00887,"127":0.02366,"128":0.01774,"129":0.23952,"130":0.9906,"131":0.01183,_:"2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 70 71 73 74 75 76 77 78 79 81 82 83 84 85 86 87 89 90 91 92 93 95 97 98 100 101 102 103 104 105 106 108 110 111 113 114 117 120 132 133 134 135 3.5 3.6"},D:{"49":0.00296,"50":0.00296,"56":0.00296,"57":0.00887,"58":0.00296,"63":0.03253,"64":0.00887,"65":0.00296,"67":0.00296,"68":0.01479,"69":0.00591,"70":0.00887,"72":0.00296,"73":0.00296,"74":0.01183,"75":0.00296,"76":0.01479,"77":0.00296,"78":0.00296,"79":0.01479,"80":0.00296,"81":0.00887,"83":0.00296,"84":0.00591,"86":0.00591,"87":0.0207,"88":0.01183,"89":0.00296,"90":0.00296,"91":0.00296,"92":0.00296,"93":0.00887,"94":0.0828,"95":0.00591,"96":0.00296,"97":0.00296,"98":0.00887,"99":0.02957,"101":0.00591,"102":0.00887,"103":0.03253,"104":0.01479,"105":0.01183,"106":0.00591,"107":0.00591,"108":0.00296,"109":0.73038,"110":0.00591,"111":0.01774,"112":0.00591,"113":0.00887,"114":0.05027,"115":0.00591,"116":0.03253,"117":0.01183,"118":0.01774,"119":0.04436,"120":0.03844,"121":0.0621,"122":0.04731,"123":0.09758,"124":0.06801,"125":0.0828,"126":0.20108,"127":0.64167,"128":8.90057,"129":2.5992,"130":0.00887,_:"4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 51 52 53 54 55 59 60 61 62 66 71 85 100 131 132 133"},F:{"36":0.01183,"42":0.00591,"79":0.00887,"83":0.00887,"84":0.02366,"86":0.01479,"95":0.02957,"102":0.00296,"107":0.00591,"108":0.00296,"109":0.01774,"110":0.00591,"111":0.00296,"112":0.54113,"113":0.39328,"114":0.01183,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 37 38 39 40 41 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 60 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 80 81 82 85 87 88 89 90 91 92 93 94 96 97 98 99 100 101 103 104 105 106 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"12":0.00887,"13":0.01183,"14":0.02661,"15":0.0207,"16":0.01774,"17":0.01183,"18":0.11828,"80":0.00296,"84":0.02366,"85":0.00296,"88":0.00296,"89":0.03253,"90":0.03844,"92":0.16855,"95":0.00591,"99":0.00296,"100":0.09462,"103":0.00296,"105":0.00296,"107":0.01183,"108":0.00296,"109":0.03548,"110":0.00296,"111":0.00887,"112":0.01774,"113":0.00296,"114":0.0207,"115":0.00296,"116":0.00887,"117":0.00887,"118":0.01479,"119":0.02366,"120":0.02957,"121":0.02957,"122":0.03844,"123":0.0414,"124":0.09758,"125":0.10645,"126":0.18333,"127":0.3785,"128":4.39706,"129":1.2242,"130":0.00296,_:"79 81 83 86 87 91 93 94 96 97 98 101 102 104 106"},E:{"13":0.00296,"14":0.01479,_:"0 4 5 6 7 8 9 10 11 12 15 3.1 3.2 5.1 6.1 7.1 9.1 10.1 11.1 12.1 15.2-15.3 15.4 16.0","13.1":0.00887,"14.1":0.05618,"15.1":0.00887,"15.5":0.00296,"15.6":0.07097,"16.1":0.00887,"16.2":0.00296,"16.3":0.00887,"16.4":0.00591,"16.5":0.01479,"16.6":0.07984,"17.0":0.00591,"17.1":0.01479,"17.2":0.01183,"17.3":0.01479,"17.4":0.05323,"17.5":0.08575,"17.6":0.30753,"18.0":0.09167,"18.1":0.00296},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.00097,"5.0-5.1":0.00048,"6.0-6.1":0.0029,"7.0-7.1":0.00339,"8.1-8.4":0,"9.0-9.2":0.0029,"9.3":0.00823,"10.0-10.2":0.00242,"10.3":0.01403,"11.0-11.2":0.05177,"11.3-11.4":0.00387,"12.0-12.1":0.00242,"12.2-12.5":0.05855,"13.0-13.1":0.00097,"13.2":0.01839,"13.3":0.00242,"13.4-13.7":0.00968,"14.0-14.4":0.02226,"14.5-14.8":0.02952,"15.0-15.1":0.01693,"15.2-15.3":0.01645,"15.4":0.01887,"15.5":0.02322,"15.6-15.8":0.22983,"16.0":0.04645,"16.1":0.09193,"16.2":0.04597,"16.3":0.07742,"16.4":0.01645,"16.5":0.03242,"16.6-16.7":0.27676,"17.0":0.02322,"17.1":0.03677,"17.2":0.03339,"17.3":0.0479,"17.4":0.10258,"17.5":0.49305,"17.6-17.7":2.62394,"18.0":0.33096,"18.1":0.015},P:{"4":0.06211,"20":0.01035,"21":0.09317,"22":0.21739,"23":0.07246,"24":0.17598,"25":0.35196,"26":1.67699,_:"5.0-5.4 8.2 9.2 10.1 12.0 13.0 15.0","6.2-6.4":0.01035,"7.2-7.4":0.16563,"11.1-11.2":0.10352,"14.0":0.01035,"16.0":0.0207,"17.0":0.01035,"18.0":0.01035,"19.0":0.09317},I:{"0":0.05619,"3":0,"4":0,"2.1":0,"2.2":0,"2.3":0,"4.1":0.00001,"4.2-4.3":0.00002,"4.4":0,"4.4.3-4.4.4":0.00009},K:{"0":6.95725,_:"10 11 12 11.1 11.5 12.1"},A:{"10":0.00394,"11":0.00789,_:"6 7 8 9 5.5"},N:{_:"10 11"},S:{"2.5":0.00704,_:"3.0-3.1"},J:{_:"7 10"},O:{"0":0.7536},H:{"0":0.29},L:{"0":58.07106},R:{_:"0"},M:{"0":0.18312},Q:{"14.9":0.03522}}; diff --git a/node_modules/caniuse-lite/data/regions/alt-af.js b/node_modules/caniuse-lite/data/regions/alt-af.js index 5fb61e8234..f4342ab8ba 100644 --- a/node_modules/caniuse-lite/data/regions/alt-af.js +++ b/node_modules/caniuse-lite/data/regions/alt-af.js @@ -1 +1 @@ -module.exports={C:{"34":0.00422,"52":0.04224,"57":0.00211,"72":0.00211,"77":0.00422,"78":0.00634,"88":0.00211,"95":0.00845,"99":0.00211,"102":0.00211,"103":0.00422,"108":0.00211,"113":0.00211,"115":0.27245,"121":0.00422,"122":0.01267,"123":0.00845,"124":0.02112,"125":0.39706,"126":0.32736,"127":0.00634,_:"2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 53 54 55 56 58 59 60 61 62 63 64 65 66 67 68 69 70 71 73 74 75 76 79 80 81 82 83 84 85 86 87 89 90 91 92 93 94 96 97 98 100 101 104 105 106 107 109 110 111 112 114 116 117 118 119 120 128 129 3.5 3.6"},D:{"11":0.00211,"38":0.00211,"42":0.00211,"43":0.01056,"45":0.00634,"47":0.00422,"49":0.00845,"50":0.00211,"56":0.00422,"58":0.03379,"59":0.00211,"62":0.00211,"63":0.00422,"64":0.00211,"65":0.00422,"66":0.00634,"67":0.06125,"68":0.00422,"69":0.00634,"70":0.00845,"72":0.00211,"73":0.00422,"74":0.00634,"75":0.00422,"76":0.00422,"77":0.00422,"78":0.00422,"79":0.02746,"80":0.00634,"81":0.01056,"83":0.01056,"84":0.00422,"85":0.00634,"86":0.01478,"87":0.03168,"88":0.0169,"89":0.00422,"90":0.00422,"91":0.00845,"92":0.01056,"93":0.03168,"94":0.00845,"95":0.01056,"96":0.00634,"97":0.00634,"98":0.0169,"99":0.02323,"100":0.00634,"101":0.00845,"102":0.01478,"103":0.03379,"104":0.01056,"105":0.00634,"106":0.01478,"107":0.00845,"108":0.01478,"109":1.46573,"110":0.00845,"111":0.01267,"112":0.00845,"113":0.00845,"114":0.02323,"115":0.01056,"116":0.05914,"117":0.01267,"118":0.01056,"119":0.04224,"120":0.06125,"121":0.0528,"122":0.10138,"123":0.29779,"124":6.2135,"125":2.59142,"126":0.00634,_:"4 5 6 7 8 9 10 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 39 40 41 44 46 48 51 52 53 54 55 57 60 61 71 127 128"},F:{"28":0.00211,"79":0.01056,"82":0.00422,"85":0.00211,"95":0.03802,"100":0.00211,"102":0.00211,"105":0.00211,"106":0.00211,"107":0.0528,"108":0.01267,"109":0.40339,"110":0.03379,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 60 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 80 81 83 84 86 87 88 89 90 91 92 93 94 96 97 98 99 101 103 104 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"12":0.00634,"13":0.00211,"14":0.00211,"15":0.00634,"16":0.00211,"17":0.00422,"18":0.01901,"84":0.00422,"89":0.00422,"90":0.00422,"92":0.02323,"100":0.00422,"109":0.03168,"114":0.00422,"115":0.00211,"116":0.00422,"117":0.00422,"118":0.00845,"119":0.01267,"120":0.01478,"121":0.0169,"122":0.08237,"123":0.06547,"124":1.50586,"125":0.76877,_:"79 80 81 83 85 86 87 88 91 93 94 95 96 97 98 99 101 102 103 104 105 106 107 108 110 111 112 113"},E:{"13":0.00211,"14":0.01056,_:"0 4 5 6 7 8 9 10 11 12 15 3.1 3.2 5.1 6.1 7.1 9.1 10.1 17.6","11.1":0.00211,"12.1":0.00211,"13.1":0.01478,"14.1":0.01901,"15.1":0.00845,"15.2-15.3":0.00422,"15.4":0.00211,"15.5":0.00422,"15.6":0.04858,"16.0":0.00845,"16.1":0.00845,"16.2":0.00634,"16.3":0.0169,"16.4":0.00634,"16.5":0.01056,"16.6":0.05069,"17.0":0.00634,"17.1":0.01267,"17.2":0.01267,"17.3":0.01901,"17.4":0.17741,"17.5":0.03168},G:{"8":0.00228,"3.2":0,"4.0-4.1":0,"4.2-4.3":0,"5.0-5.1":0.00304,"6.0-6.1":0,"7.0-7.1":0.01595,"8.1-8.4":0.00076,"9.0-9.2":0.00152,"9.3":0.02658,"10.0-10.2":0.00076,"10.3":0.02582,"11.0-11.2":0.01367,"11.3-11.4":0.00304,"12.0-12.1":0.00987,"12.2-12.5":0.44584,"13.0-13.1":0.00684,"13.2":0.00152,"13.3":0.01215,"13.4-13.7":0.03722,"14.0-14.4":0.10785,"14.5-14.8":0.10709,"15.0-15.1":0.12076,"15.2-15.3":0.06456,"15.4":0.04785,"15.5":0.08431,"15.6-15.8":1.05421,"16.0":0.12532,"16.1":0.19064,"16.2":0.09798,"16.3":0.18684,"16.4":0.0638,"16.5":0.12076,"16.6-16.7":0.79294,"17.0":0.1314,"17.1":0.14203,"17.2":0.14659,"17.3":0.2476,"17.4":2.90288,"17.5":0.24456,"17.6":0},P:{"4":0.14645,"20":0.03138,"21":0.08369,"22":0.12553,"23":0.1883,"24":0.32429,"25":2.14448,_:"5.0-5.4 6.2-6.4 8.2 9.2 10.1 12.0","7.2-7.4":0.1883,"11.1-11.2":0.02092,"13.0":0.02092,"14.0":0.01046,"15.0":0.01046,"16.0":0.04184,"17.0":0.04184,"18.0":0.03138,"19.0":0.08369},I:{"0":0.08585,"3":0,"4":0,"2.1":0,"2.2":0,"2.3":0,"4.1":0.00003,"4.2-4.3":0.0001,"4.4":0,"4.4.3-4.4.4":0.00075},K:{"0":6.42079,_:"10 11 12 11.1 11.5 12.1"},A:{"8":0.00472,"11":0.03541,_:"6 7 9 10 5.5"},S:{"2.5":0.0631,_:"3.0-3.1"},J:{_:"7 10"},N:{_:"10 11"},L:{"0":62.87619},R:{_:"0"},M:{"0":0.20506},Q:{_:"14.9"},O:{"0":0.35492},H:{"0":1.9}}; +module.exports={C:{"34":0.00472,"52":0.0118,"72":0.00236,"77":0.00472,"78":0.00708,"95":0.00472,"103":0.00472,"108":0.00236,"110":0.00236,"113":0.00236,"115":0.2596,"123":0.00236,"124":0.00236,"125":0.00472,"126":0.00472,"127":0.01416,"128":0.0118,"129":0.13924,"130":0.61596,"131":0.00944,_:"2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 73 74 75 76 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 96 97 98 99 100 101 102 104 105 106 107 109 111 112 114 116 117 118 119 120 121 122 132 133 134 135 3.5 3.6"},D:{"11":0.00236,"43":0.00472,"47":0.00472,"49":0.00708,"50":0.00236,"52":0.00472,"56":0.0236,"58":0.02596,"64":0.00236,"65":0.00236,"66":0.00472,"68":0.00472,"69":0.00472,"70":0.00944,"72":0.00236,"73":0.00708,"74":0.00472,"75":0.00472,"76":0.00472,"77":0.00472,"78":0.00472,"79":0.03068,"80":0.00472,"81":0.0118,"83":0.01888,"84":0.00472,"85":0.00472,"86":0.00944,"87":0.03068,"88":0.02124,"89":0.00236,"90":0.00472,"91":0.00944,"92":0.00472,"93":0.0118,"94":0.0118,"95":0.0118,"96":0.00472,"97":0.00236,"98":0.01416,"99":0.02124,"100":0.00472,"101":0.00236,"102":0.00708,"103":0.03304,"104":0.00944,"105":0.00708,"106":0.01416,"107":0.00944,"108":0.01652,"109":1.31688,"110":0.00944,"111":0.01888,"112":0.00708,"113":0.00708,"114":0.03068,"115":0.00944,"116":0.05664,"117":0.00944,"118":0.01888,"119":0.03776,"120":0.04012,"121":0.0236,"122":0.05192,"123":0.06844,"124":0.07552,"125":0.059,"126":0.1416,"127":0.46964,"128":7.29476,"129":2.419,"130":0.00708,_:"4 5 6 7 8 9 10 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 44 45 46 48 51 53 54 55 57 59 60 61 62 63 67 71 131 132 133"},F:{"56":0.00236,"79":0.00944,"82":0.00236,"83":0.00944,"84":0.03304,"95":0.03776,"109":0.00944,"111":0.00472,"112":0.33276,"113":0.20532,"114":0.00472,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 57 58 60 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 80 81 85 86 87 88 89 90 91 92 93 94 96 97 98 99 100 101 102 103 104 105 106 107 108 110 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"12":0.00236,"13":0.00236,"14":0.00236,"15":0.00472,"17":0.00236,"18":0.01652,"84":0.00472,"89":0.00472,"90":0.00708,"92":0.03068,"100":0.00708,"109":0.03776,"114":0.00708,"117":0.00236,"118":0.00472,"119":0.00472,"120":0.00708,"121":0.0118,"122":0.0118,"123":0.00944,"124":0.01652,"125":0.0236,"126":0.05192,"127":0.10856,"128":2.02724,"129":0.79532,_:"16 79 80 81 83 85 86 87 88 91 93 94 95 96 97 98 99 101 102 103 104 105 106 107 108 110 111 112 113 115 116 130"},E:{"14":0.00472,_:"0 4 5 6 7 8 9 10 11 12 13 15 3.1 3.2 5.1 6.1 7.1 9.1 10.1 11.1 15.2-15.3","12.1":0.00236,"13.1":0.01652,"14.1":0.01652,"15.1":0.00472,"15.4":0.00236,"15.5":0.00236,"15.6":0.05192,"16.0":0.00472,"16.1":0.00708,"16.2":0.00472,"16.3":0.0118,"16.4":0.00236,"16.5":0.00708,"16.6":0.04956,"17.0":0.00472,"17.1":0.00708,"17.2":0.00708,"17.3":0.00944,"17.4":0.0236,"17.5":0.05192,"17.6":0.17464,"18.0":0.03304,"18.1":0.00236},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0,"5.0-5.1":0.00159,"6.0-6.1":0,"7.0-7.1":0.01513,"8.1-8.4":0,"9.0-9.2":0.0008,"9.3":0.02388,"10.0-10.2":0.00557,"10.3":0.02946,"11.0-11.2":0.01274,"11.3-11.4":0.00318,"12.0-12.1":0.01194,"12.2-12.5":0.56443,"13.0-13.1":0.00796,"13.2":0.00239,"13.3":0.01035,"13.4-13.7":0.03821,"14.0-14.4":0.08837,"14.5-14.8":0.09235,"15.0-15.1":0.10508,"15.2-15.3":0.05413,"15.4":0.04458,"15.5":0.07006,"15.6-15.8":1.12328,"16.0":0.09235,"16.1":0.15046,"16.2":0.08359,"16.3":0.14091,"16.4":0.04538,"16.5":0.08359,"16.6-16.7":0.74753,"17.0":0.09155,"17.1":0.08837,"17.2":0.08598,"17.3":0.10747,"17.4":0.2038,"17.5":0.79768,"17.6-17.7":2.35005,"18.0":0.56443,"18.1":0.0207},P:{"4":0.05332,"20":0.02133,"21":0.05332,"22":0.12797,"23":0.07465,"24":0.10664,"25":0.2986,"26":2.02619,_:"5.0-5.4 8.2 9.2 10.1 12.0 14.0 15.0","6.2-6.4":0.01066,"7.2-7.4":0.1493,"11.1-11.2":0.02133,"13.0":0.02133,"16.0":0.01066,"17.0":0.02133,"18.0":0.02133,"19.0":0.05332},I:{"0":0.05313,"3":0,"4":0,"2.1":0,"2.2":0,"2.3":0,"4.1":0.00001,"4.2-4.3":0.00003,"4.4":0,"4.4.3-4.4.4":0.00029},K:{"0":5.3802,_:"10 11 12 11.1 11.5 12.1"},A:{"8":0.00539,"11":0.03237,_:"6 7 9 10 5.5"},N:{_:"10 11"},S:{"2.5":0.06112,_:"3.0-3.1"},J:{_:"7 10"},O:{"0":0.3056},H:{"0":0.77},L:{"0":63.50452},R:{_:"0"},M:{"0":0.21392},Q:{_:"14.9"}}; diff --git a/node_modules/caniuse-lite/data/regions/alt-an.js b/node_modules/caniuse-lite/data/regions/alt-an.js index 9d9af28e6f..79b36d372a 100644 --- a/node_modules/caniuse-lite/data/regions/alt-an.js +++ b/node_modules/caniuse-lite/data/regions/alt-an.js @@ -1 +1 @@ -module.exports={C:{_:"2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 3.5 3.6"},D:{"81":0.02427,"86":0.0104,"102":0.04507,"116":0.05894,"120":0.0104,"121":0.04507,"123":0.09361,"124":0.47845,_:"4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 83 84 85 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 103 104 105 106 107 108 109 110 111 112 113 114 115 117 118 119 122 125 126 127 128"},F:{_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 60 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"102":0.05894,"116":0.0104,"122":0.02427,"123":0.03467,"124":0.28083,"125":0.08321,_:"12 13 14 15 16 17 18 79 80 81 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 103 104 105 106 107 108 109 110 111 112 113 114 115 117 118 119 120 121"},E:{_:"0 4 5 6 7 8 9 10 11 12 13 14 15 3.1 3.2 5.1 6.1 7.1 9.1 10.1 11.1 12.1 13.1 14.1 16.0 17.6","15.1":0.19762,"15.2-15.3":0.23229,"15.4":0.35017,"15.5":0.04507,"15.6":0.63099,"16.1":0.17335,"16.2":0.79394,"16.3":0.94302,"16.4":0.08321,"16.5":0.47845,"16.6":2.4581,"17.0":0.13868,"17.1":0.92222,"17.2":1.77164,"17.3":1.87565,"17.4":18.02147,"17.5":1.3868},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0,"5.0-5.1":0,"6.0-6.1":0,"7.0-7.1":0,"8.1-8.4":0,"9.0-9.2":0,"9.3":0,"10.0-10.2":0,"10.3":0,"11.0-11.2":0,"11.3-11.4":0,"12.0-12.1":0,"12.2-12.5":0,"13.0-13.1":0,"13.2":0,"13.3":0,"13.4-13.7":0,"14.0-14.4":0,"14.5-14.8":0,"15.0-15.1":0.0212,"15.2-15.3":1.20819,"15.4":0,"15.5":0.0212,"15.6-15.8":0.61469,"16.0":0.40803,"16.1":1.7328,"16.2":0.26495,"16.3":1.09161,"16.4":0.0106,"16.5":0.09538,"16.6-16.7":4.37174,"17.0":0.22256,"17.1":0.42922,"17.2":0.60409,"17.3":1.60562,"17.4":38.79452,"17.5":1.48904,"17.6":0},P:{"25":0.01307,_:"4 20 21 22 23 24 5.0-5.4 6.2-6.4 7.2-7.4 8.2 9.2 10.1 11.1-11.2 12.0 13.0 14.0 15.0 16.0 17.0 18.0 19.0"},I:{"0":0.03267,"3":0,"4":0,"2.1":0,"2.2":0,"2.3":0,"4.1":0,"4.2-4.3":0,"4.4":0,"4.4.3-4.4.4":0},K:{"0":0,_:"10 11 12 11.1 11.5 12.1"},A:{_:"6 7 8 9 10 11 5.5"},S:{_:"2.5 3.0-3.1"},J:{_:"7 10"},N:{_:"10 11"},L:{"0":12.84197},R:{_:"0"},M:{_:"0"},Q:{"14.9":0.99317},O:{"0":0.24829},H:{"0":0}}; +module.exports={C:{"130":0.06114,_:"2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 131 132 133 134 135 3.5 3.6"},D:{"100":0.01287,"117":0.0354,"124":0.04827,"127":0.22526,"128":0.34433,"129":0.29927,_:"4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 118 119 120 121 122 123 125 126 130 131 132 133"},F:{"112":0.08367,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 60 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 113 114 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"113":0.0354,"122":0.02253,"126":0.01287,"127":0.0354,"128":0.63073,_:"12 13 14 15 16 17 18 79 80 81 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 114 115 116 117 118 119 120 121 123 124 125 129 130"},E:{_:"0 4 5 6 7 8 9 10 11 12 13 14 15 3.1 3.2 5.1 6.1 7.1 9.1 10.1 11.1 12.1 13.1 14.1 16.0","15.1":0.0708,"15.2-15.3":0.18021,"15.4":0.01287,"15.5":0.37007,"15.6":1.07159,"16.1":0.15446,"16.2":0.16734,"16.3":0.3218,"16.4":0.04827,"16.5":0.26066,"16.6":1.05872,"17.0":0.02253,"17.1":0.26066,"17.2":0.18021,"17.3":0.18021,"17.4":2.98952,"17.5":3.63312,"17.6":15.98381,"18.0":0.37007,"18.1":0.02253},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0,"5.0-5.1":0,"6.0-6.1":0,"7.0-7.1":0,"8.1-8.4":0,"9.0-9.2":0,"9.3":0,"10.0-10.2":0,"10.3":0,"11.0-11.2":0,"11.3-11.4":0,"12.0-12.1":0,"12.2-12.5":0,"13.0-13.1":0,"13.2":0,"13.3":0,"13.4-13.7":0,"14.0-14.4":0,"14.5-14.8":0.16463,"15.0-15.1":0.0463,"15.2-15.3":0.30354,"15.4":0.02572,"15.5":0.01029,"15.6-15.8":0.9981,"16.0":0.64825,"16.1":1.81612,"16.2":0.37557,"16.3":0.60194,"16.4":0.08232,"16.5":0.16463,"16.6-16.7":2.87081,"17.0":0.15434,"17.1":0.13891,"17.2":0.09261,"17.3":0.48361,"17.4":0.97752,"17.5":9.33786,"17.6-17.7":29.49528,"18.0":2.44894,"18.1":0.20065},P:{"24":0.01005,"26":1.1361,_:"4 20 21 22 23 25 5.0-5.4 6.2-6.4 7.2-7.4 8.2 9.2 10.1 11.1-11.2 12.0 13.0 14.0 15.0 16.0 17.0 18.0 19.0"},I:{"0":0.01356,"3":0,"4":0,"2.1":0,"2.2":0,"2.3":0,"4.1":0,"4.2-4.3":0,"4.4":0,"4.4.3-4.4.4":0},K:{"0":0.01356,_:"10 11 12 11.1 11.5 12.1"},A:{_:"6 7 8 9 10 11 5.5"},N:{_:"10 11"},S:{_:"2.5 3.0-3.1"},J:{_:"7 10"},O:{"0":0.16955},H:{"0":0},L:{"0":15.45103},R:{_:"0"},M:{"0":0.42727},Q:{"14.9":0.12886}}; diff --git a/node_modules/caniuse-lite/data/regions/alt-as.js b/node_modules/caniuse-lite/data/regions/alt-as.js index 09dba0fd95..f882d31928 100644 --- a/node_modules/caniuse-lite/data/regions/alt-as.js +++ b/node_modules/caniuse-lite/data/regions/alt-as.js @@ -1 +1 @@ -module.exports={C:{"34":0.0059,"43":0.01474,"52":0.06486,"54":0.00884,"55":0.00295,"56":0.03538,"78":0.00295,"88":0.0059,"103":0.00295,"113":0.00884,"115":0.35081,"121":0.0059,"122":0.0059,"123":0.00884,"124":0.04127,"125":0.41272,"126":0.35671,"127":0.0059,_:"2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 35 36 37 38 39 40 41 42 44 45 46 47 48 49 50 51 53 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 79 80 81 82 83 84 85 86 87 89 90 91 92 93 94 95 96 97 98 99 100 101 102 104 105 106 107 108 109 110 111 112 114 116 117 118 119 120 128 129 3.5 3.6"},D:{"11":0.00295,"25":0.00295,"26":0.00295,"34":0.01179,"38":0.02653,"47":0.0059,"48":0.0059,"49":0.02358,"50":0.02064,"53":0.00884,"55":0.0059,"56":0.0059,"57":0.00295,"58":0.00295,"61":0.00884,"63":0.00295,"65":0.00295,"66":0.00884,"67":0.0059,"68":0.00295,"69":0.05896,"70":0.02064,"71":0.0059,"72":0.00295,"73":0.01474,"74":0.00884,"75":0.0059,"76":0.0059,"77":0.00884,"78":0.01179,"79":0.12676,"80":0.01179,"81":0.01179,"83":0.02064,"84":0.00884,"85":0.01179,"86":0.03538,"87":0.09139,"88":0.0059,"89":0.00884,"90":0.01474,"91":0.00884,"92":0.01769,"93":0.0059,"94":0.02948,"95":0.01179,"96":0.00884,"97":0.02358,"98":0.15035,"99":0.04127,"100":0.02064,"101":0.03243,"102":0.02064,"103":0.05601,"104":0.02064,"105":0.02064,"106":0.02064,"107":0.02358,"108":0.03832,"109":1.78354,"110":0.01474,"111":0.04422,"112":0.04127,"113":0.02358,"114":0.04422,"115":0.02358,"116":0.22405,"117":0.02948,"118":0.02948,"119":0.06191,"120":0.10908,"121":0.10318,"122":0.16804,"123":0.49821,"124":10.2384,"125":4.08593,"126":0.01474,"127":0.00295,_:"4 5 6 7 8 9 10 12 13 14 15 16 17 18 19 20 21 22 23 24 27 28 29 30 31 32 33 35 36 37 39 40 41 42 43 44 45 46 51 52 54 59 60 62 64 128"},F:{"28":0.0059,"36":0.0059,"40":0.00295,"46":0.02653,"95":0.02064,"102":0.1533,"107":0.04422,"108":0.0059,"109":0.25058,"110":0.01769,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 29 30 31 32 33 34 35 37 38 39 41 42 43 44 45 47 48 49 50 51 52 53 54 55 56 57 58 60 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 96 97 98 99 100 101 103 104 105 106 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"18":0.01179,"92":0.01769,"100":0.00295,"107":0.0059,"108":0.00884,"109":0.05896,"110":0.0059,"111":0.0059,"112":0.0059,"113":0.02358,"114":0.01769,"115":0.01179,"116":0.00884,"117":0.01179,"118":0.01179,"119":0.01769,"120":0.03832,"121":0.02653,"122":0.06486,"123":0.10613,"124":1.97516,"125":1.1055,_:"12 13 14 15 16 17 79 80 81 83 84 85 86 87 88 89 90 91 93 94 95 96 97 98 99 101 102 103 104 105 106"},E:{"13":0.0059,"14":0.02653,"15":0.0059,_:"0 4 5 6 7 8 9 10 11 12 3.1 3.2 6.1 7.1 9.1 10.1 11.1 17.6","5.1":0.00295,"12.1":0.0059,"13.1":0.02653,"14.1":0.06191,"15.1":0.01179,"15.2-15.3":0.00884,"15.4":0.02358,"15.5":0.03243,"15.6":0.14445,"16.0":0.01179,"16.1":0.03538,"16.2":0.02358,"16.3":0.06191,"16.4":0.01769,"16.5":0.03538,"16.6":0.17688,"17.0":0.01769,"17.1":0.03538,"17.2":0.04127,"17.3":0.05601,"17.4":0.77238,"17.5":0.0678},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.00443,"5.0-5.1":0.00443,"6.0-6.1":0.00222,"7.0-7.1":0.01552,"8.1-8.4":0.00332,"9.0-9.2":0.00554,"9.3":0.03103,"10.0-10.2":0.00443,"10.3":0.06206,"11.0-11.2":0.01884,"11.3-11.4":0.00887,"12.0-12.1":0.01108,"12.2-12.5":0.2283,"13.0-13.1":0.00443,"13.2":0.0133,"13.3":0.0133,"13.4-13.7":0.06871,"14.0-14.4":0.10861,"14.5-14.8":0.15959,"15.0-15.1":0.07315,"15.2-15.3":0.08312,"15.4":0.10085,"15.5":0.11304,"15.6-15.8":0.92207,"16.0":0.19395,"16.1":0.32804,"16.2":0.18175,"16.3":0.3081,"16.4":0.08423,"16.5":0.16291,"16.6-16.7":0.95975,"17.0":0.1341,"17.1":0.21611,"17.2":0.22609,"17.3":0.37459,"17.4":5.39612,"17.5":0.44552,"17.6":0},P:{"4":0.23444,"20":0.02131,"21":0.06394,"22":0.08525,"23":0.13853,"24":0.25575,"25":1.79027,"5.0-5.4":0.02131,"6.2-6.4":0.01066,"7.2-7.4":0.05328,_:"8.2 9.2 10.1 12.0 15.0 16.0","11.1-11.2":0.01066,"13.0":0.01066,"14.0":0.01066,"17.0":0.03197,"18.0":0.01066,"19.0":0.02131},I:{"0":0.37287,"3":0,"4":0,"2.1":0,"2.2":0,"2.3":0,"4.1":0,"4.2-4.3":0.00004,"4.4":0,"4.4.3-4.4.4":0.00056},K:{"0":1.34475,_:"10 11 12 11.1 11.5 12.1"},A:{"8":0.03196,"9":0.11187,"11":1.07074,_:"6 7 10 5.5"},S:{"2.5":0.19035,_:"3.0-3.1"},J:{_:"7 10"},N:{_:"10 11"},L:{"0":52.63995},R:{_:"0"},M:{"0":0.17625},Q:{"14.9":0.64155},O:{"0":1.89645},H:{"0":0.03}}; +module.exports={C:{"43":0.00856,"52":0.05135,"54":0.00285,"55":0.00856,"56":0.02853,"78":0.00285,"88":0.00285,"103":0.00571,"113":0.00571,"115":0.24821,"125":0.00856,"126":0.01141,"127":0.01141,"128":0.02853,"129":0.1455,"130":0.63337,"131":0.00856,_:"2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 44 45 46 47 48 49 50 51 53 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 79 80 81 82 83 84 85 86 87 89 90 91 92 93 94 95 96 97 98 99 100 101 102 104 105 106 107 108 109 110 111 112 114 116 117 118 119 120 121 122 123 124 132 133 134 135 3.5 3.6"},D:{"17":0.00285,"34":0.00571,"38":0.01427,"47":0.00285,"48":0.00856,"49":0.01427,"50":0.00856,"53":0.00856,"55":0.00285,"56":0.00856,"58":0.00285,"61":0.00571,"63":0.00285,"66":0.00571,"67":0.00285,"69":0.15977,"70":0.00571,"71":0.00571,"72":0.00285,"73":0.01141,"74":0.00856,"75":0.00571,"77":0.02568,"78":0.01141,"79":0.10271,"80":0.01141,"81":0.00856,"83":0.01997,"84":0.00571,"85":0.00571,"86":0.0485,"87":0.0913,"88":0.00571,"89":0.00856,"90":0.01141,"91":0.01712,"92":0.03138,"93":0.00856,"94":0.03138,"95":0.01141,"96":0.00571,"97":0.01712,"98":0.07133,"99":0.01997,"100":0.02568,"101":0.02568,"102":0.01141,"103":0.11697,"104":0.01427,"105":0.01141,"106":0.01997,"107":0.02282,"108":0.03994,"109":1.63192,"110":0.01712,"111":0.04565,"112":0.04565,"113":0.01712,"114":0.05991,"115":0.01712,"116":0.11127,"117":0.01997,"118":0.0428,"119":0.04565,"120":0.05991,"121":0.05421,"122":0.07418,"123":0.10841,"124":0.19686,"125":0.11127,"126":0.20827,"127":0.7161,"128":10.61031,"129":3.47781,"130":0.01427,"131":0.00571,_:"4 5 6 7 8 9 10 11 12 13 14 15 16 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 35 36 37 39 40 41 42 43 44 45 46 51 52 54 57 59 60 62 64 65 68 76 132 133"},F:{"36":0.00571,"40":0.00571,"46":0.02568,"84":0.01712,"95":0.01997,"102":0.05706,"109":0.00571,"112":0.17974,"113":0.12268,"114":0.00285,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 37 38 39 41 42 43 44 45 47 48 49 50 51 52 53 54 55 56 57 58 60 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 85 86 87 88 89 90 91 92 93 94 96 97 98 99 100 101 103 104 105 106 107 108 110 111 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"18":0.00571,"92":0.01712,"100":0.00285,"106":0.00285,"107":0.00571,"108":0.00856,"109":0.05421,"110":0.00856,"111":0.00856,"112":0.00571,"113":0.01427,"114":0.01712,"115":0.00571,"116":0.00571,"117":0.00571,"118":0.00571,"119":0.00856,"120":0.0428,"121":0.01427,"122":0.01712,"123":0.01427,"124":0.02568,"125":0.03424,"126":0.05421,"127":0.1455,"128":2.07698,"129":0.88443,_:"12 13 14 15 16 17 79 80 81 83 84 85 86 87 88 89 90 91 93 94 95 96 97 98 99 101 102 103 104 105 130"},E:{"13":0.00571,"14":0.01997,"15":0.00285,_:"0 4 5 6 7 8 9 10 11 12 3.1 3.2 5.1 6.1 7.1 9.1 10.1 11.1","12.1":0.00571,"13.1":0.01997,"14.1":0.0485,"15.1":0.00856,"15.2-15.3":0.00571,"15.4":0.01712,"15.5":0.02568,"15.6":0.12553,"16.0":0.01141,"16.1":0.02568,"16.2":0.01712,"16.3":0.0428,"16.4":0.01141,"16.5":0.02568,"16.6":0.14265,"17.0":0.00856,"17.1":0.01997,"17.2":0.01997,"17.3":0.02568,"17.4":0.06277,"17.5":0.18545,"17.6":0.72752,"18.0":0.06847,"18.1":0.00285},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.00609,"5.0-5.1":0.00203,"6.0-6.1":0.00203,"7.0-7.1":0.01522,"8.1-8.4":0,"9.0-9.2":0.00507,"9.3":0.02233,"10.0-10.2":0.00406,"10.3":0.04871,"11.0-11.2":0.0203,"11.3-11.4":0.00609,"12.0-12.1":0.0071,"12.2-12.5":0.16847,"13.0-13.1":0.00304,"13.2":0.01116,"13.3":0.00812,"13.4-13.7":0.03755,"14.0-14.4":0.08626,"14.5-14.8":0.10352,"15.0-15.1":0.06089,"15.2-15.3":0.05886,"15.4":0.0751,"15.5":0.07916,"15.6-15.8":0.66982,"16.0":0.13498,"16.1":0.23241,"16.2":0.1299,"16.3":0.21414,"16.4":0.05886,"16.5":0.10758,"16.6-16.7":0.67692,"17.0":0.07815,"17.1":0.11874,"17.2":0.11164,"17.3":0.14817,"17.4":0.30446,"17.5":1.18131,"17.6-17.7":4.44921,"18.0":0.66779,"18.1":0.02639},P:{"4":0.15078,"20":0.01077,"21":0.04308,"22":0.05385,"23":0.06462,"24":0.06462,"25":0.22617,"26":1.60472,"5.0-5.4":0.02154,"6.2-6.4":0.02154,"7.2-7.4":0.03231,_:"8.2 9.2 10.1 11.1-11.2 12.0 14.0 15.0 16.0 18.0","13.0":0.01077,"17.0":0.02154,"19.0":0.01077},I:{"0":0.421,"3":0,"4":0,"2.1":0,"2.2":0,"2.3":0,"4.1":0,"4.2-4.3":0,"4.4":0,"4.4.3-4.4.4":0.00046},K:{"0":1.30649,_:"10 11 12 11.1 11.5 12.1"},A:{"8":0.06387,"9":0.07984,"10":0.03194,"11":0.81435,_:"6 7 5.5"},N:{_:"10 11"},S:{"2.5":0.05003,_:"3.0-3.1"},J:{_:"7 10"},O:{"0":2.46572},H:{"0":0.03},L:{"0":54.25182},R:{_:"0"},M:{"0":0.19297},Q:{"14.9":0.55747}}; diff --git a/node_modules/caniuse-lite/data/regions/alt-eu.js b/node_modules/caniuse-lite/data/regions/alt-eu.js index e651039c9b..ce9f2d233b 100644 --- a/node_modules/caniuse-lite/data/regions/alt-eu.js +++ b/node_modules/caniuse-lite/data/regions/alt-eu.js @@ -1 +1 @@ -module.exports={C:{"45":0.02259,"48":0.00452,"50":0.03162,"52":0.06324,"53":0.01807,"56":0.02259,"59":0.01355,"65":0.00452,"68":0.00452,"78":0.0271,"88":0.01355,"91":0.00452,"102":0.03614,"103":0.03614,"105":0.00903,"107":0.00452,"108":0.00452,"109":0.00903,"110":0.00903,"111":0.00452,"113":0.00903,"115":0.54204,"117":0.01355,"118":0.01807,"119":0.00452,"120":0.0271,"121":0.01807,"122":0.01807,"123":0.0271,"124":0.11293,"125":1.55385,"126":1.43189,"127":0.00452,_:"2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 46 47 49 51 54 55 57 58 60 61 62 63 64 66 67 69 70 71 72 73 74 75 76 77 79 80 81 82 83 84 85 86 87 89 90 92 93 94 95 96 97 98 99 100 101 104 106 112 114 116 128 129 3.5 3.6"},D:{"34":0.00452,"38":0.00903,"43":0.00452,"45":0.00903,"47":0.00452,"48":0.00903,"49":0.0271,"52":0.00903,"63":0.00452,"66":0.0542,"72":0.00452,"73":0.01807,"74":0.00452,"75":0.00452,"76":0.00903,"77":0.00903,"78":0.03614,"79":0.11744,"80":0.00903,"81":0.01355,"83":0.00903,"84":0.00903,"85":0.00903,"86":0.04517,"87":0.04065,"88":0.01355,"89":0.01355,"90":0.00903,"91":0.0271,"92":0.0271,"93":0.03614,"94":0.04517,"95":0.00903,"96":0.01807,"97":0.00903,"98":0.00903,"99":0.02259,"100":0.04065,"101":0.07227,"102":0.05872,"103":0.15358,"104":0.24844,"105":0.01807,"106":0.07227,"107":0.03162,"108":0.04517,"109":1.32348,"110":0.02259,"111":0.03162,"112":0.03162,"113":0.11744,"114":0.17165,"115":0.07227,"116":0.22585,"117":0.12648,"118":0.14454,"119":0.08582,"120":0.17165,"121":0.82661,"122":0.32522,"123":1.30993,"124":14.98741,"125":5.37523,"126":0.00903,_:"4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 35 36 37 39 40 41 42 44 46 50 51 53 54 55 56 57 58 59 60 61 62 64 65 67 68 69 70 71 127 128"},F:{"31":0.01355,"40":0.00903,"46":0.01355,"85":0.00452,"95":0.08582,"106":0.02259,"107":0.37943,"108":0.02259,"109":1.55385,"110":0.08582,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 32 33 34 35 36 37 38 39 41 42 43 44 45 47 48 49 50 51 52 53 54 55 56 57 58 60 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 86 87 88 89 90 91 92 93 94 96 97 98 99 100 101 102 103 104 105 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"17":0.01355,"90":0.00903,"92":0.00452,"107":0.00452,"108":0.00452,"109":0.07679,"110":0.00452,"111":0.00903,"112":0.00452,"113":0.00452,"114":0.01807,"115":0.00452,"116":0.00452,"117":0.01807,"118":0.00452,"119":0.01355,"120":0.03162,"121":0.02259,"122":0.07227,"123":0.1852,"124":3.74459,"125":2.03265,_:"12 13 14 15 16 18 79 80 81 83 84 85 86 87 88 89 91 93 94 95 96 97 98 99 100 101 102 103 104 105 106"},E:{"7":0.00452,"14":0.03162,"15":0.00452,_:"0 4 5 6 8 9 10 11 12 13 3.1 3.2 5.1 6.1 7.1 9.1 10.1 17.6","11.1":0.01355,"12.1":0.0271,"13.1":0.06324,"14.1":0.09937,"15.1":0.01355,"15.2-15.3":0.01355,"15.4":0.02259,"15.5":0.03162,"15.6":0.28457,"16.0":0.04065,"16.1":0.04969,"16.2":0.04065,"16.3":0.09937,"16.4":0.03162,"16.5":0.05872,"16.6":0.36588,"17.0":0.04517,"17.1":0.07679,"17.2":0.09034,"17.3":0.09486,"17.4":1.69388,"17.5":0.23488},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0,"5.0-5.1":0,"6.0-6.1":0.00906,"7.0-7.1":0.00302,"8.1-8.4":0.00302,"9.0-9.2":0,"9.3":0.04076,"10.0-10.2":0.00906,"10.3":0.04528,"11.0-11.2":0.10113,"11.3-11.4":0.02264,"12.0-12.1":0.00604,"12.2-12.5":0.17812,"13.0-13.1":0.00302,"13.2":0.0634,"13.3":0.00453,"13.4-13.7":0.01359,"14.0-14.4":0.03321,"14.5-14.8":0.07245,"15.0-15.1":0.03019,"15.2-15.3":0.03774,"15.4":0.03472,"15.5":0.05585,"15.6-15.8":0.69134,"16.0":0.18717,"16.1":0.41209,"16.2":0.1751,"16.3":0.31699,"16.4":0.04227,"16.5":0.10415,"16.6-16.7":1.13814,"17.0":0.10264,"17.1":0.15849,"17.2":0.16151,"17.3":0.33208,"17.4":9.81759,"17.5":0.67473,"17.6":0},P:{"4":0.03245,"20":0.02163,"21":0.05408,"22":0.0649,"23":0.1298,"24":0.25961,"25":2.96383,_:"5.0-5.4 6.2-6.4 7.2-7.4 8.2 9.2 10.1 11.1-11.2 12.0 14.0 15.0 16.0","13.0":0.01082,"17.0":0.01082,"18.0":0.01082,"19.0":0.02163},I:{"0":0.06559,"3":0,"4":0.00001,"2.1":0,"2.2":0,"2.3":0,"4.1":0.00002,"4.2-4.3":0.00003,"4.4":0,"4.4.3-4.4.4":0.0001},K:{"0":0.62506,_:"10 11 12 11.1 11.5 12.1"},A:{"8":0.00951,"9":0.00475,"11":0.07608,_:"6 7 10 5.5"},S:{_:"2.5 3.0-3.1"},J:{_:"7 10"},N:{_:"10 11"},L:{"0":35.00314},R:{_:"0"},M:{"0":0.47154},Q:{_:"14.9"},O:{"0":0.11514},H:{"0":0}}; +module.exports={C:{"45":0.01811,"48":0.00453,"50":0.00906,"51":0.00906,"52":0.05434,"53":0.00906,"56":0.00906,"59":0.01358,"68":0.00453,"78":0.02264,"88":0.00906,"91":0.00453,"94":0.00453,"102":0.00906,"103":0.00906,"105":0.00906,"113":0.00906,"115":0.53883,"117":0.01811,"118":0.01811,"119":0.00453,"120":0.02717,"121":0.00906,"122":0.01358,"123":0.00906,"124":0.00906,"125":0.01811,"126":0.01358,"127":0.03622,"128":0.04528,"129":0.52978,"130":2.5719,"131":0.00906,_:"2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 46 47 49 54 55 57 58 60 61 62 63 64 65 66 67 69 70 71 72 73 74 75 76 77 79 80 81 82 83 84 85 86 87 89 90 92 93 95 96 97 98 99 100 101 104 106 107 108 109 110 111 112 114 116 132 133 134 135 3.5 3.6"},D:{"38":0.00453,"47":0.00453,"48":0.00906,"49":0.02264,"51":0.00906,"52":0.01358,"56":0.02717,"57":0.00453,"63":0.00453,"66":0.05434,"68":0.00906,"73":0.00906,"74":0.00453,"75":0.00906,"76":0.00906,"77":0.01811,"78":0.04075,"79":0.1132,"80":0.00906,"81":0.00906,"83":0.01358,"85":0.00906,"86":0.00906,"87":0.04075,"88":0.02264,"89":0.01358,"90":0.00906,"91":0.02717,"92":0.0317,"93":0.01811,"94":0.04528,"95":0.00906,"96":0.00906,"97":0.00906,"98":0.02264,"99":0.04528,"100":0.00453,"101":0.00453,"102":0.02717,"103":0.1132,"104":0.12226,"105":0.01358,"106":0.0317,"107":0.02264,"108":0.03622,"109":1.15011,"110":0.01811,"111":0.02717,"112":0.02264,"113":0.07698,"114":0.12678,"115":0.02264,"116":0.23998,"117":0.15395,"118":0.16301,"119":0.04981,"120":0.10867,"121":0.0815,"122":0.1449,"123":0.16754,"124":0.19923,"125":0.28074,"126":0.4845,"127":1.29501,"128":14.82014,"129":5.58755,"130":0.00906,_:"4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 39 40 41 42 43 44 45 46 50 53 54 55 58 59 60 61 62 64 65 67 69 70 71 72 84 131 132 133"},F:{"31":0.00906,"40":0.01358,"46":0.01358,"84":0.02264,"85":0.00453,"95":0.07245,"106":0.00453,"109":0.03622,"111":0.00906,"112":1.13653,"113":0.96446,"114":0.00906,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 32 33 34 35 36 37 38 39 41 42 43 44 45 47 48 49 50 51 52 53 54 55 56 57 58 60 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 86 87 88 89 90 91 92 93 94 96 97 98 99 100 101 102 103 104 105 107 108 110 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"17":0.01358,"90":0.00906,"92":0.00906,"108":0.00453,"109":0.07245,"111":0.00453,"114":0.00906,"115":0.00453,"117":0.01811,"118":0.00906,"119":0.01358,"120":0.03622,"121":0.02264,"122":0.02717,"123":0.00906,"124":0.01358,"125":0.02264,"126":0.07698,"127":0.21734,"128":4.26085,"129":1.89723,_:"12 13 14 15 16 18 79 80 81 83 84 85 86 87 88 89 91 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 110 112 113 116 130"},E:{"10":0.00453,"14":0.02264,"15":0.00453,_:"0 4 5 6 7 8 9 11 12 13 3.1 3.2 5.1 6.1 7.1 9.1 10.1","11.1":0.01358,"12.1":0.00906,"13.1":0.05434,"14.1":0.09056,"15.1":0.01358,"15.2-15.3":0.00906,"15.4":0.02264,"15.5":0.02717,"15.6":0.26262,"16.0":0.04075,"16.1":0.04075,"16.2":0.0317,"16.3":0.07698,"16.4":0.02717,"16.5":0.04528,"16.6":0.32602,"17.0":0.0317,"17.1":0.04528,"17.2":0.04981,"17.3":0.04981,"17.4":0.12678,"17.5":0.37582,"17.6":1.82478,"18.0":0.24451,"18.1":0.00906},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0,"5.0-5.1":0,"6.0-6.1":0.01625,"7.0-7.1":0,"8.1-8.4":0,"9.0-9.2":0,"9.3":0.03249,"10.0-10.2":0.01462,"10.3":0.03899,"11.0-11.2":0.1121,"11.3-11.4":0.02112,"12.0-12.1":0.00487,"12.2-12.5":0.14784,"13.0-13.1":0.00162,"13.2":0.2437,"13.3":0.00325,"13.4-13.7":0.00975,"14.0-14.4":0.02437,"14.5-14.8":0.06336,"15.0-15.1":0.02599,"15.2-15.3":0.02762,"15.4":0.02599,"15.5":0.03899,"15.6-15.8":0.57512,"16.0":0.14297,"16.1":0.29731,"16.2":0.12835,"16.3":0.23232,"16.4":0.03249,"16.5":0.07473,"16.6-16.7":0.87243,"17.0":0.05524,"17.1":0.09098,"17.2":0.07311,"17.3":0.11535,"17.4":0.25832,"17.5":1.57265,"17.6-17.7":9.34978,"18.0":1.45567,"18.1":0.05361},P:{"4":0.03242,"20":0.02161,"21":0.04322,"22":0.04322,"23":0.06483,"24":0.06483,"25":0.24853,"26":2.87425,_:"5.0-5.4 6.2-6.4 7.2-7.4 8.2 9.2 10.1 11.1-11.2 12.0 13.0 14.0 15.0 16.0 18.0","17.0":0.01081,"19.0":0.01081},I:{"0":0.04908,"3":0,"4":0,"2.1":0,"2.2":0,"2.3":0,"4.1":0.00002,"4.2-4.3":0.00001,"4.4":0,"4.4.3-4.4.4":0.00007},K:{"0":0.59645,_:"10 11 12 11.1 11.5 12.1"},A:{"8":0.01012,"11":0.07591,_:"6 7 9 10 5.5"},N:{_:"10 11"},S:{_:"2.5 3.0-3.1"},J:{_:"7 10"},O:{"0":0.15322},H:{"0":0},L:{"0":33.75158},R:{_:"0"},M:{"0":0.51437},Q:{"14.9":0.00547}}; diff --git a/node_modules/caniuse-lite/data/regions/alt-na.js b/node_modules/caniuse-lite/data/regions/alt-na.js index e61bce11e6..c59a4db718 100644 --- a/node_modules/caniuse-lite/data/regions/alt-na.js +++ b/node_modules/caniuse-lite/data/regions/alt-na.js @@ -1 +1 @@ -module.exports={C:{"11":0.07814,"38":0.00488,"43":0.00488,"44":0.0293,"45":0.00488,"52":0.02442,"78":0.02442,"88":0.01465,"94":0.00977,"102":0.00977,"103":0.00977,"104":0.00977,"108":0.00488,"112":0.00488,"113":0.01465,"115":0.35165,"117":0.00977,"118":0.34188,"120":0.00977,"121":0.01465,"122":0.01465,"123":0.02442,"124":0.10256,"125":1.15751,"126":0.95726,_:"2 3 4 5 6 7 8 9 10 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 39 40 41 42 46 47 48 49 50 51 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 79 80 81 82 83 84 85 86 87 89 90 91 92 93 95 96 97 98 99 100 101 105 106 107 109 110 111 114 116 119 127 128 129 3.5 3.6"},D:{"47":0.00488,"48":0.07326,"49":0.0293,"56":0.03907,"66":0.02442,"67":0.00488,"69":0.00977,"74":0.00488,"75":0.00488,"76":0.01465,"78":0.00488,"79":0.16606,"80":0.02442,"81":0.05861,"83":0.1221,"84":0.00977,"85":0.00977,"86":0.09768,"87":0.05372,"88":0.02442,"89":0.01465,"90":0.00977,"91":0.07814,"92":0.00977,"93":0.05372,"94":0.0293,"95":0.00977,"96":0.01465,"97":0.01465,"98":0.00977,"99":0.02442,"100":0.11722,"101":0.16606,"102":0.0928,"103":0.47375,"104":0.12698,"105":0.05372,"106":0.03907,"107":0.04884,"108":0.06838,"109":0.77656,"110":0.04396,"111":0.04396,"112":0.04884,"113":0.11233,"114":0.20513,"115":0.06838,"116":0.30281,"117":0.26862,"118":0.1514,"119":0.17094,"120":0.39072,"121":0.60073,"122":0.56166,"123":2.37362,"124":15.35041,"125":4.90842,"126":0.03907,"127":0.02442,_:"4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 50 51 52 53 54 55 57 58 59 60 61 62 63 64 65 68 70 71 72 73 77 128"},F:{"95":0.0293,"102":0.00488,"107":0.20513,"108":0.02442,"109":0.62515,"110":0.04884,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 60 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 96 97 98 99 100 101 103 104 105 106 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"87":0.00488,"109":0.07814,"112":0.00488,"113":0.00488,"114":0.00977,"115":0.00488,"116":0.00488,"117":0.00488,"118":0.00488,"119":0.00977,"120":0.0293,"121":0.0293,"122":0.06349,"123":0.30769,"124":4.19047,"125":2.28083,_:"12 13 14 15 16 17 18 79 80 81 83 84 85 86 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 110 111"},E:{"9":0.01465,"13":0.00977,"14":0.06349,"15":0.00977,_:"0 4 5 6 7 8 10 11 12 3.1 3.2 5.1 6.1 7.1 9.1 10.1 17.6","11.1":0.00488,"12.1":0.02442,"13.1":0.15629,"14.1":0.16606,"15.1":0.10745,"15.2-15.3":0.01954,"15.4":0.03907,"15.5":0.04884,"15.6":0.46398,"16.0":0.06349,"16.1":0.08791,"16.2":0.07814,"16.3":0.19536,"16.4":0.06838,"16.5":0.13675,"16.6":0.7619,"17.0":0.08303,"17.1":0.14164,"17.2":0.18071,"17.3":0.21001,"17.4":3.43345,"17.5":0.43956},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0,"5.0-5.1":0,"6.0-6.1":0.01719,"7.0-7.1":0,"8.1-8.4":0,"9.0-9.2":0.01228,"9.3":0.03439,"10.0-10.2":0.00491,"10.3":0.04421,"11.0-11.2":0.12281,"11.3-11.4":0.01719,"12.0-12.1":0.01228,"12.2-12.5":0.14737,"13.0-13.1":0.00491,"13.2":0.00491,"13.3":0.00737,"13.4-13.7":0.03193,"14.0-14.4":0.06877,"14.5-14.8":0.11298,"15.0-15.1":0.04667,"15.2-15.3":0.05895,"15.4":0.07123,"15.5":0.09579,"15.6-15.8":0.77124,"16.0":0.21614,"16.1":0.59194,"16.2":0.27018,"16.3":0.4544,"16.4":0.07123,"16.5":0.14737,"16.6-16.7":1.61372,"17.0":0.12527,"17.1":0.23088,"17.2":0.25299,"17.3":0.52317,"17.4":17.26457,"17.5":1.09055,"17.6":0.00246},P:{"4":0.01133,"20":0.01133,"21":0.0453,"22":0.03398,"23":0.0453,"24":0.14724,"25":1.49503,_:"5.0-5.4 6.2-6.4 7.2-7.4 8.2 9.2 10.1 11.1-11.2 12.0 13.0 14.0 15.0 16.0 18.0 19.0","17.0":0.01133},I:{"0":0.09659,"3":0.00002,"4":0.00004,"2.1":0.00001,"2.2":0.00005,"2.3":0.00001,"4.1":0.00002,"4.2-4.3":0.00022,"4.4":0,"4.4.3-4.4.4":0.00018},K:{"0":0.30696,_:"10 11 12 11.1 11.5 12.1"},A:{"8":0.01102,"9":0.03306,"11":0.17081,_:"6 7 10 5.5"},S:{"2.5":0.00512,_:"3.0-3.1"},J:{_:"7 10"},N:{_:"10 11"},L:{"0":24.49669},R:{_:"0"},M:{"0":0.51672},Q:{"14.9":0.02046},O:{"0":0.07674},H:{"0":0}}; +module.exports={C:{"11":0.06882,"38":0.00459,"43":0.00459,"44":0.02294,"45":0.00918,"52":0.01835,"78":0.02294,"88":0.00918,"94":0.01376,"102":0.00918,"103":0.00918,"112":0.00459,"113":0.00459,"115":0.31198,"118":0.34869,"121":0.00459,"123":0.00459,"124":0.00918,"125":0.02753,"126":0.01376,"127":0.02753,"128":0.05506,"129":0.46339,"130":1.74803,"131":0.00459,_:"2 3 4 5 6 7 8 9 10 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 39 40 41 42 46 47 48 49 50 51 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 79 80 81 82 83 84 85 86 87 89 90 91 92 93 95 96 97 98 99 100 101 104 105 106 107 108 109 110 111 114 116 117 119 120 122 132 133 134 135 3.5 3.6"},D:{"38":0.00459,"41":0.00918,"47":0.00918,"48":0.06423,"49":0.02753,"50":0.00459,"51":0.00918,"52":0.00918,"53":0.00918,"56":0.05047,"58":0.00459,"66":0.01376,"67":0.00459,"69":0.00918,"74":0.00459,"75":0.00918,"76":0.00918,"77":0.00459,"78":0.00918,"79":0.10552,"80":0.01835,"81":0.05047,"83":0.09635,"84":0.00918,"85":0.00918,"86":0.00918,"87":0.05047,"88":0.02753,"89":0.01376,"90":0.00918,"91":0.08717,"92":0.00918,"93":0.0367,"94":0.02753,"95":0.00459,"96":0.00918,"97":0.01376,"98":0.00918,"99":0.02753,"100":0.07341,"101":0.01835,"102":0.01376,"103":0.22481,"104":0.02294,"105":0.02294,"106":0.03212,"107":0.04588,"108":0.078,"109":0.6515,"110":0.02753,"111":0.0367,"112":0.0367,"113":0.09635,"114":0.13764,"115":0.05964,"116":0.20646,"117":0.27069,"118":0.04129,"119":0.09635,"120":0.17434,"121":0.22022,"122":0.13305,"123":0.21105,"124":0.50927,"125":0.63773,"126":0.90384,"127":2.16554,"128":14.23198,"129":3.72546,"130":0.03212,"131":0.01376,_:"4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 39 40 42 43 44 45 46 54 55 57 59 60 61 62 63 64 65 68 70 71 72 73 132 133"},F:{"84":0.00918,"95":0.02753,"109":0.01835,"111":0.00459,"112":0.39457,"113":0.25693,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 60 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 85 86 87 88 89 90 91 92 93 94 96 97 98 99 100 101 102 103 104 105 106 107 108 110 114 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"18":0.00459,"87":0.00459,"107":0.00459,"108":0.00459,"109":0.07341,"112":0.00459,"114":0.00459,"119":0.00459,"120":0.01835,"121":0.00918,"122":0.01835,"123":0.00918,"124":0.01376,"125":0.02294,"126":0.05964,"127":0.3074,"128":4.75776,"129":1.71591,"130":0.00918,_:"12 13 14 15 16 17 79 80 81 83 84 85 86 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 110 111 113 115 116 117 118"},E:{"8":0.00459,"9":0.00918,"13":0.00459,"14":0.05506,"15":0.01376,_:"0 4 5 6 7 10 11 12 3.1 3.2 5.1 6.1 7.1 9.1 10.1 11.1","12.1":0.01835,"13.1":0.15599,"14.1":0.1514,"15.1":0.078,"15.2-15.3":0.01376,"15.4":0.03212,"15.5":0.04129,"15.6":0.44504,"16.0":0.06423,"16.1":0.06423,"16.2":0.05506,"16.3":0.12846,"16.4":0.04588,"16.5":0.08717,"16.6":0.59185,"17.0":0.0367,"17.1":0.07341,"17.2":0.07341,"17.3":0.08717,"17.4":0.23399,"17.5":0.60562,"17.6":3.52358,"18.0":0.27069,"18.1":0.01835},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0,"5.0-5.1":0,"6.0-6.1":0.02106,"7.0-7.1":0,"8.1-8.4":0,"9.0-9.2":0.03422,"9.3":0.02369,"10.0-10.2":0.0079,"10.3":0.03685,"11.0-11.2":0.51595,"11.3-11.4":0.01579,"12.0-12.1":0.0079,"12.2-12.5":0.12899,"13.0-13.1":0.00263,"13.2":0.00263,"13.3":0.0079,"13.4-13.7":0.03159,"14.0-14.4":0.06844,"14.5-14.8":0.09213,"15.0-15.1":0.04212,"15.2-15.3":0.05265,"15.4":0.05265,"15.5":0.0816,"15.6-15.8":0.75813,"16.0":0.16584,"16.1":0.40802,"16.2":0.1948,"16.3":0.31852,"16.4":0.05002,"16.5":0.10266,"16.6-16.7":1.20564,"17.0":0.06318,"17.1":0.12372,"17.2":0.11583,"17.3":0.179,"17.4":0.42118,"17.5":2.40338,"17.6-17.7":16.99475,"18.0":1.48467,"18.1":0.09477},P:{"4":0.01138,"21":0.03415,"22":0.02277,"23":0.02277,"24":0.03415,"25":0.11383,"26":1.52528,_:"20 5.0-5.4 6.2-6.4 7.2-7.4 8.2 9.2 10.1 11.1-11.2 12.0 13.0 14.0 15.0 16.0 17.0 18.0 19.0"},I:{"0":0.07546,"3":0,"4":0.00002,"2.1":0,"2.2":0.00002,"2.3":0,"4.1":0.00001,"4.2-4.3":0.00014,"4.4":0,"4.4.3-4.4.4":0.00008},K:{"0":0.29766,_:"10 11 12 11.1 11.5 12.1"},A:{"6":0.00551,"8":0.01101,"9":0.02753,"11":0.0936,_:"7 10 5.5"},N:{_:"10 11"},S:{"2.5":0.00541,_:"3.0-3.1"},J:{_:"7 10"},O:{"0":0.08118},H:{"0":0},L:{"0":25.64772},R:{_:"0"},M:{"0":0.57367},Q:{"14.9":0.02165}}; diff --git a/node_modules/caniuse-lite/data/regions/alt-oc.js b/node_modules/caniuse-lite/data/regions/alt-oc.js index e4edd27e7b..9bf887fa7f 100644 --- a/node_modules/caniuse-lite/data/regions/alt-oc.js +++ b/node_modules/caniuse-lite/data/regions/alt-oc.js @@ -1 +1 @@ -module.exports={C:{"34":0.00534,"52":0.01601,"54":0.00534,"78":0.02135,"83":0.00534,"88":0.02135,"103":0.00534,"113":0.00534,"114":0.01601,"115":0.21882,"120":0.00534,"121":0.00534,"122":0.01067,"123":0.02135,"124":0.05337,"125":1.00869,"126":0.83257,_:"2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 53 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 79 80 81 82 84 85 86 87 89 90 91 92 93 94 95 96 97 98 99 100 101 102 104 105 106 107 108 109 110 111 112 116 117 118 119 127 128 129 3.5 3.6"},D:{"25":0.02135,"34":0.01067,"35":0.03202,"38":0.08539,"49":0.01601,"51":0.00534,"52":0.00534,"59":0.01067,"63":0.00534,"66":0.02135,"68":0.00534,"69":0.00534,"70":0.00534,"72":0.00534,"74":0.01067,"76":0.00534,"78":0.00534,"79":0.06404,"80":0.01067,"81":0.0427,"83":0.00534,"85":0.01067,"86":0.0427,"87":0.05871,"88":0.0427,"89":0.01067,"90":0.02135,"91":0.01601,"93":0.02135,"94":0.02669,"95":0.00534,"96":0.00534,"97":0.01067,"98":0.02135,"99":0.02135,"100":0.0427,"101":0.06938,"102":0.04803,"103":0.22415,"104":0.05337,"105":0.03202,"106":0.01067,"107":0.01601,"108":0.03202,"109":0.8219,"110":0.02669,"111":0.02135,"112":0.03202,"113":0.1441,"114":0.16545,"115":0.02669,"116":0.43763,"117":0.03736,"118":0.03736,"119":0.11741,"120":0.22415,"121":0.29887,"122":0.6351,"123":2.24688,"124":20.16852,"125":6.37772,"126":0.01601,_:"4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 26 27 28 29 30 31 32 33 36 37 39 40 41 42 43 44 45 46 47 48 50 53 54 55 56 57 58 60 61 62 64 65 67 71 73 75 77 84 92 127 128"},F:{"46":0.02669,"95":0.01067,"107":0.20814,"108":0.01601,"109":0.65111,"110":0.02669,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 47 48 49 50 51 52 53 54 55 56 57 58 60 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 96 97 98 99 100 101 102 103 104 105 106 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"92":0.01067,"109":0.08539,"113":0.01601,"114":0.01067,"115":0.01067,"116":0.00534,"117":0.00534,"118":0.01067,"119":0.01601,"120":0.0427,"121":0.03202,"122":0.09073,"123":0.2882,"124":4.97408,"125":2.52974,_:"12 13 14 15 16 17 18 79 80 81 83 84 85 86 87 88 89 90 91 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 110 111 112"},E:{"9":0.01067,"13":0.02135,"14":0.07472,"15":0.01601,_:"0 4 5 6 7 8 10 11 12 3.1 3.2 5.1 6.1 7.1 10.1 11.1 17.6","9.1":0.02135,"12.1":0.02135,"13.1":0.13343,"14.1":0.21348,"15.1":0.03202,"15.2-15.3":0.03736,"15.4":0.05337,"15.5":0.08539,"15.6":0.74184,"16.0":0.05871,"16.1":0.13876,"16.2":0.09607,"16.3":0.23483,"16.4":0.06938,"16.5":0.12809,"16.6":0.79521,"17.0":0.05871,"17.1":0.14944,"17.2":0.16545,"17.3":0.23483,"17.4":3.65585,"17.5":0.37359},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0,"5.0-5.1":0.00387,"6.0-6.1":0.00774,"7.0-7.1":0.0058,"8.1-8.4":0.00387,"9.0-9.2":0.0058,"9.3":0.05611,"10.0-10.2":0.01161,"10.3":0.09093,"11.0-11.2":1.17628,"11.3-11.4":0.03095,"12.0-12.1":0.02322,"12.2-12.5":0.34631,"13.0-13.1":0.00774,"13.2":0.00774,"13.3":0.00967,"13.4-13.7":0.03289,"14.0-14.4":0.07739,"14.5-14.8":0.10447,"15.0-15.1":0.0503,"15.2-15.3":0.05611,"15.4":0.05804,"15.5":0.09286,"15.6-15.8":0.84545,"16.0":0.20121,"16.1":0.53397,"16.2":0.22055,"16.3":0.41402,"16.4":0.06191,"16.5":0.12188,"16.6-16.7":1.37362,"17.0":0.07158,"17.1":0.17993,"17.2":0.18186,"17.3":0.36565,"17.4":11.91956,"17.5":0.59008,"17.6":0},P:{"4":0.16869,"20":0.02249,"21":0.05623,"22":0.04498,"23":0.08997,"24":0.22492,"25":2.19298,"5.0-5.4":0.02249,"6.2-6.4":0.01125,_:"7.2-7.4 8.2 9.2 10.1 11.1-11.2 12.0 14.0 15.0 16.0 18.0","13.0":0.01125,"17.0":0.01125,"19.0":0.01125},I:{"0":0.06493,"3":0,"4":0.00005,"2.1":0.00001,"2.2":0.00003,"2.3":0.00003,"4.1":0.00002,"4.2-4.3":0.00006,"4.4":0,"4.4.3-4.4.4":0.00013},K:{"0":0.14455,_:"10 11 12 11.1 11.5 12.1"},A:{"8":0.05337,"11":0.10674,_:"6 7 9 10 5.5"},S:{_:"2.5 3.0-3.1"},J:{_:"7 10"},N:{_:"10 11"},L:{"0":24.12134},R:{_:"0"},M:{"0":0.40568},Q:{"14.9":0.01399},O:{"0":0.05129},H:{"0":0}}; +module.exports={C:{"52":0.01492,"54":0.00994,"78":0.01989,"83":0.00497,"88":0.01492,"102":0.00497,"103":0.00994,"113":0.00497,"115":0.2138,"123":0.00497,"125":0.01492,"126":0.00994,"127":0.01989,"128":0.02486,"129":0.3729,"130":1.66562,"131":0.00497,_:"2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 53 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 79 80 81 82 84 85 86 87 89 90 91 92 93 94 95 96 97 98 99 100 101 104 105 106 107 108 109 110 111 112 114 116 117 118 119 120 121 122 124 132 133 134 135 3.5 3.6"},D:{"25":0.02486,"34":0.00994,"38":0.05966,"39":0.00497,"40":0.00497,"41":0.00497,"42":0.00497,"43":0.00994,"44":0.00994,"45":0.00994,"46":0.00994,"47":0.00994,"49":0.00994,"51":0.01492,"52":0.00994,"56":0.00497,"59":0.01989,"66":0.00497,"70":0.00497,"79":0.05469,"80":0.00497,"81":0.04475,"85":0.02486,"86":0.00497,"87":0.05469,"88":0.02983,"89":0.00497,"90":0.02983,"91":0.00497,"93":0.00994,"94":0.02486,"97":0.00994,"98":0.01492,"99":0.01492,"100":0.00994,"101":0.00497,"102":0.00497,"103":0.14916,"104":0.00994,"105":0.09944,"106":0.00994,"107":0.01492,"108":0.02486,"109":0.6215,"110":0.01989,"111":0.01989,"112":0.01492,"113":0.11436,"114":0.13922,"115":0.01492,"116":0.30826,"117":0.01989,"118":0.01492,"119":0.05469,"120":0.0895,"121":0.09944,"122":0.16905,"123":0.18396,"124":0.18396,"125":0.34804,"126":0.67122,"127":2.42634,"128":17.88428,"129":5.00183,"130":0.01492,_:"4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 26 27 28 29 30 31 32 33 35 36 37 48 50 53 54 55 57 58 60 61 62 63 64 65 67 68 69 71 72 73 74 75 76 77 78 83 84 92 95 96 131 132 133"},F:{"46":0.01989,"84":0.00497,"95":0.00994,"109":0.0348,"111":0.00994,"112":0.51709,"113":0.36793,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 47 48 49 50 51 52 53 54 55 56 57 58 60 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 85 86 87 88 89 90 91 92 93 94 96 97 98 99 100 101 102 103 104 105 106 107 108 110 114 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"18":0.00994,"85":0.00994,"109":0.04972,"112":0.00994,"113":0.00994,"114":0.00994,"115":0.00497,"117":0.00497,"118":0.00497,"119":0.00994,"120":0.01989,"121":0.01492,"122":0.01989,"123":0.00994,"124":0.02486,"125":0.02486,"126":0.08452,"127":0.31821,"128":5.34987,"129":1.79986,_:"12 13 14 15 16 17 79 80 81 83 84 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 110 111 116 130"},E:{"9":0.01989,"13":0.00994,"14":0.06961,"15":0.00994,_:"0 4 5 6 7 8 10 11 12 3.1 3.2 5.1 6.1 7.1 9.1 10.1 11.1","12.1":0.01989,"13.1":0.12927,"14.1":0.17899,"15.1":0.02983,"15.2-15.3":0.02983,"15.4":0.03978,"15.5":0.06961,"15.6":0.54692,"16.0":0.06464,"16.1":0.11933,"16.2":0.07955,"16.3":0.18894,"16.4":0.05469,"16.5":0.0895,"16.6":0.711,"17.0":0.02983,"17.1":0.0895,"17.2":0.07458,"17.3":0.11436,"17.4":0.2138,"17.5":0.7458,"17.6":3.76878,"18.0":0.25854,"18.1":0.01492},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0,"5.0-5.1":0.00831,"6.0-6.1":0.00415,"7.0-7.1":0.00623,"8.1-8.4":0.01038,"9.0-9.2":0,"9.3":0.03945,"10.0-10.2":0.00623,"10.3":0.07683,"11.0-11.2":1.25009,"11.3-11.4":0.02492,"12.0-12.1":0.01661,"12.2-12.5":0.25749,"13.0-13.1":0.00415,"13.2":0.00208,"13.3":0.00831,"13.4-13.7":0.02284,"14.0-14.4":0.04568,"14.5-14.8":0.05814,"15.0-15.1":0.03945,"15.2-15.3":0.04153,"15.4":0.04776,"15.5":0.06645,"15.6-15.8":0.71018,"16.0":0.15159,"16.1":0.40701,"16.2":0.17651,"16.3":0.31356,"16.4":0.04776,"16.5":0.09345,"16.6-16.7":1.1255,"17.0":0.05399,"17.1":0.11006,"17.2":0.09552,"17.3":0.12875,"17.4":0.28657,"17.5":1.79,"17.6-17.7":12.07107,"18.0":1.09435,"18.1":0.0623},P:{"4":0.12349,"20":0.01123,"21":0.04491,"22":0.04491,"23":0.04491,"24":0.04491,"25":0.22453,"26":2.38005,"5.0-5.4":0.01123,_:"6.2-6.4 7.2-7.4 8.2 9.2 10.1 11.1-11.2 12.0 13.0 14.0 15.0 16.0 17.0 18.0","19.0":0.01123},I:{"0":0.11953,"3":0.00002,"4":0.00016,"2.1":0.00002,"2.2":0.00008,"2.3":0.00011,"4.1":0.00008,"4.2-4.3":0.00019,"4.4":0,"4.4.3-4.4.4":0.00043},K:{"0":0.15587,_:"10 11 12 11.1 11.5 12.1"},A:{"7":0.0093,"8":0.09295,"9":0.01859,"10":0.01859,"11":0.07436,_:"6 5.5"},N:{_:"10 11"},S:{_:"2.5 3.0-3.1"},J:{_:"7 10"},O:{"0":0.07039},H:{"0":0},L:{"0":25.9781},R:{_:"0"},M:{"0":0.44749},Q:{"14.9":0.01006}}; diff --git a/node_modules/caniuse-lite/data/regions/alt-sa.js b/node_modules/caniuse-lite/data/regions/alt-sa.js index 4612de8e6a..e22cc559cc 100644 --- a/node_modules/caniuse-lite/data/regions/alt-sa.js +++ b/node_modules/caniuse-lite/data/regions/alt-sa.js @@ -1 +1 @@ -module.exports={C:{"4":0.07202,"52":0.0192,"59":0.0144,"78":0.0096,"88":0.0144,"91":0.0144,"102":0.0048,"103":0.0096,"113":0.0048,"115":0.26886,"117":0.0096,"120":0.0096,"121":0.0096,"122":0.0096,"123":0.0192,"124":0.03361,"125":0.68654,"126":0.61453,"127":0.0048,_:"2 3 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 53 54 55 56 57 58 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 79 80 81 82 83 84 85 86 87 89 90 92 93 94 95 96 97 98 99 100 101 104 105 106 107 108 109 110 111 112 114 116 118 119 128 129 3.5 3.6"},D:{"38":0.0144,"47":0.0048,"49":0.0192,"55":0.0048,"66":0.05281,"71":0.0048,"75":0.0096,"76":0.0048,"77":0.0048,"78":0.0048,"79":0.05281,"81":0.0096,"85":0.0048,"86":0.0096,"87":0.04801,"88":0.0096,"89":0.0048,"90":0.0048,"91":0.26406,"92":0.0144,"93":0.10082,"94":0.0096,"95":0.0048,"96":0.0096,"97":0.0048,"98":0.0048,"99":0.0096,"100":0.0096,"101":0.0048,"102":0.0096,"103":0.05761,"104":0.0144,"105":0.0192,"106":0.0192,"107":0.02401,"108":0.02881,"109":3.80719,"110":0.0192,"111":0.0192,"112":0.02401,"113":0.0192,"114":0.05281,"115":0.03841,"116":0.11042,"117":0.0192,"118":0.02881,"119":0.07202,"120":0.12483,"121":0.13443,"122":0.28326,"123":0.69615,"124":19.38644,"125":8.06088,"126":0.0144,_:"4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 39 40 41 42 43 44 45 46 48 50 51 52 53 54 56 57 58 59 60 61 62 63 64 65 67 68 69 70 72 73 74 80 83 84 127 128"},F:{"95":0.04801,"107":0.80177,"108":0.0144,"109":2.45331,"110":0.06721,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 60 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 96 97 98 99 100 101 102 103 104 105 106 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"15":0.0192,"17":0.0048,"92":0.0192,"109":0.04321,"114":0.0048,"119":0.0048,"120":0.0144,"121":0.0144,"122":0.02881,"123":0.11522,"124":2.71737,"125":1.53632,_:"12 13 14 16 18 79 80 81 83 84 85 86 87 88 89 90 91 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 110 111 112 113 115 116 117 118"},E:{"14":0.0048,_:"0 4 5 6 7 8 9 10 11 12 13 15 3.1 3.2 6.1 7.1 9.1 10.1 12.1 15.2-15.3 16.0 17.6","5.1":0.02881,"11.1":0.0144,"13.1":0.0144,"14.1":0.02401,"15.1":0.0144,"15.4":0.0048,"15.5":0.0048,"15.6":0.05281,"16.1":0.0096,"16.2":0.0048,"16.3":0.0192,"16.4":0.0096,"16.5":0.0144,"16.6":0.05761,"17.0":0.0144,"17.1":0.0192,"17.2":0.02881,"17.3":0.02401,"17.4":0.33127,"17.5":0.06721},G:{"8":0,"3.2":0.00067,"4.0-4.1":0,"4.2-4.3":0,"5.0-5.1":0.00201,"6.0-6.1":0.00067,"7.0-7.1":0.00201,"8.1-8.4":0,"9.0-9.2":0,"9.3":0.01408,"10.0-10.2":0,"10.3":0.00871,"11.0-11.2":0.03217,"11.3-11.4":0.00938,"12.0-12.1":0.00603,"12.2-12.5":0.04826,"13.0-13.1":0.00134,"13.2":0,"13.3":0.00134,"13.4-13.7":0.00335,"14.0-14.4":0.01005,"14.5-14.8":0.02547,"15.0-15.1":0.00603,"15.2-15.3":0.01139,"15.4":0.01139,"15.5":0.02078,"15.6-15.8":0.36329,"16.0":0.07976,"16.1":0.16288,"16.2":0.06435,"16.3":0.13003,"16.4":0.01609,"16.5":0.03955,"16.6-16.7":0.59789,"17.0":0.04089,"17.1":0.07507,"17.2":0.07105,"17.3":0.17427,"17.4":4.35615,"17.5":0.309,"17.6":0},P:{"4":0.05301,"20":0.0106,"21":0.04241,"22":0.04241,"23":0.07421,"24":0.14843,"25":1.6433,_:"5.0-5.4 6.2-6.4 8.2 9.2 10.1 11.1-11.2 12.0 13.0 14.0 15.0 16.0 18.0","7.2-7.4":0.11662,"17.0":0.03181,"19.0":0.0212},I:{"0":0.03629,"3":0,"4":0.00001,"2.1":0,"2.2":0,"2.3":0,"4.1":0,"4.2-4.3":0.00001,"4.4":0,"4.4.3-4.4.4":0.00008},K:{"0":0.2548,_:"10 11 12 11.1 11.5 12.1"},A:{"8":0.00518,"11":0.19166,_:"6 7 9 10 5.5"},S:{_:"2.5 3.0-3.1"},J:{_:"7 10"},N:{_:"10 11"},L:{"0":43.22462},R:{_:"0"},M:{"0":0.1248},Q:{_:"14.9"},O:{"0":0.0416},H:{"0":0}}; +module.exports={C:{"4":0.0557,"52":0.01393,"59":0.01857,"78":0.00928,"88":0.01857,"91":0.00928,"102":0.00464,"103":0.00928,"113":0.00464,"115":0.25995,"120":0.00464,"121":0.00464,"123":0.00464,"125":0.01393,"126":0.00928,"127":0.02321,"128":0.03249,"129":0.24603,"130":1.09087,"131":0.00928,_:"2 3 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 53 54 55 56 57 58 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 79 80 81 82 83 84 85 86 87 89 90 92 93 94 95 96 97 98 99 100 101 104 105 106 107 108 109 110 111 112 114 116 117 118 119 122 124 132 133 134 135 3.5 3.6"},D:{"38":0.00464,"47":0.00928,"49":0.00928,"55":0.00928,"56":0.00464,"66":0.06035,"71":0.00928,"75":0.01393,"78":0.00464,"79":0.04178,"80":0.00464,"81":0.00928,"83":0.00464,"85":0.00464,"86":0.00928,"87":0.04642,"88":0.01857,"89":0.00464,"90":0.00464,"91":0.24138,"92":0.00464,"93":0.00928,"94":0.05106,"96":0.01393,"97":0.00464,"98":0.00464,"99":0.00928,"100":0.00928,"101":0.00464,"102":0.01393,"103":0.0557,"104":0.01857,"105":0.01393,"106":0.01857,"107":0.01857,"108":0.02785,"109":3.63004,"110":0.02321,"111":0.02785,"112":0.01857,"113":0.01393,"114":0.04642,"115":0.00928,"116":0.10677,"117":0.03249,"118":0.01857,"119":0.07427,"120":0.08356,"121":0.06963,"122":0.15783,"123":0.08356,"124":0.18104,"125":0.13462,"126":0.25995,"127":0.94697,"128":20.34124,"129":7.39935,"130":0.01393,_:"4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 39 40 41 42 43 44 45 46 48 50 51 52 53 54 57 58 59 60 61 62 63 64 65 67 68 69 70 72 73 74 76 77 84 95 131 132 133"},F:{"84":0.00928,"95":0.04178,"109":0.08356,"111":0.02321,"112":1.52722,"113":1.26262,"114":0.00928,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 60 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 85 86 87 88 89 90 91 92 93 94 96 97 98 99 100 101 102 103 104 105 106 107 108 110 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"15":0.01393,"17":0.00928,"92":0.01393,"109":0.04178,"114":0.00464,"120":0.00928,"121":0.00464,"122":0.00464,"123":0.00464,"124":0.00928,"125":0.00928,"126":0.03714,"127":0.12069,"128":3.01266,"129":1.29048,_:"12 13 14 16 18 79 80 81 83 84 85 86 87 88 89 90 91 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 110 111 112 113 115 116 117 118 119 130"},E:{_:"0 4 5 6 7 8 9 10 11 12 13 14 15 3.1 3.2 6.1 7.1 9.1 10.1 12.1 15.1 15.2-15.3 15.5","5.1":0.00928,"11.1":0.01393,"13.1":0.01393,"14.1":0.01393,"15.4":0.00464,"15.6":0.05106,"16.0":0.00928,"16.1":0.00928,"16.2":0.00464,"16.3":0.01393,"16.4":0.00464,"16.5":0.00928,"16.6":0.0557,"17.0":0.00928,"17.1":0.01393,"17.2":0.01857,"17.3":0.01393,"17.4":0.03714,"17.5":0.09284,"17.6":0.376,"18.0":0.09284,"18.1":0.00464},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0,"5.0-5.1":0.00281,"6.0-6.1":0,"7.0-7.1":0.00211,"8.1-8.4":0,"9.0-9.2":0,"9.3":0.01053,"10.0-10.2":0.0007,"10.3":0.00702,"11.0-11.2":0.03229,"11.3-11.4":0.01544,"12.0-12.1":0.0014,"12.2-12.5":0.03791,"13.0-13.1":0.0007,"13.2":0,"13.3":0.0014,"13.4-13.7":0.00351,"14.0-14.4":0.00702,"14.5-14.8":0.01615,"15.0-15.1":0.00562,"15.2-15.3":0.00772,"15.4":0.00983,"15.5":0.01474,"15.6-15.8":0.32223,"16.0":0.05476,"16.1":0.11654,"16.2":0.04563,"16.3":0.08916,"16.4":0.01264,"16.5":0.02949,"16.6-16.7":0.49633,"17.0":0.02106,"17.1":0.0344,"17.2":0.02457,"17.3":0.04774,"17.4":0.10811,"17.5":0.74626,"17.6-17.7":3.88503,"18.0":0.76872,"18.1":0.03159},P:{"4":0.03215,"21":0.03215,"22":0.03215,"23":0.04287,"24":0.04287,"25":0.12862,"26":1.59698,_:"20 5.0-5.4 6.2-6.4 8.2 9.2 10.1 11.1-11.2 12.0 13.0 14.0 15.0 16.0 18.0","7.2-7.4":0.09646,"17.0":0.03215,"19.0":0.01072},I:{"0":0.03743,"3":0,"4":0,"2.1":0,"2.2":0,"2.3":0,"4.1":0,"4.2-4.3":0,"4.4":0,"4.4.3-4.4.4":0.00006},K:{"0":0.25723,_:"10 11 12 11.1 11.5 12.1"},A:{"8":0.01007,"11":0.40771,_:"6 7 9 10 5.5"},N:{_:"10 11"},S:{_:"2.5 3.0-3.1"},J:{_:"7 10"},O:{"0":0.04287},H:{"0":0},L:{"0":44.70358},R:{_:"0"},M:{"0":0.13398},Q:{_:"14.9"}}; diff --git a/node_modules/caniuse-lite/data/regions/alt-ww.js b/node_modules/caniuse-lite/data/regions/alt-ww.js index 5e269ba986..aafd1693ce 100644 --- a/node_modules/caniuse-lite/data/regions/alt-ww.js +++ b/node_modules/caniuse-lite/data/regions/alt-ww.js @@ -1 +1 @@ -module.exports={C:{"4":0.00379,"11":0.01894,"43":0.00757,"44":0.00757,"45":0.00757,"50":0.00757,"52":0.05302,"53":0.00379,"54":0.00379,"56":0.02272,"59":0.00379,"78":0.01515,"88":0.01136,"94":0.00379,"102":0.01136,"103":0.01136,"108":0.00379,"113":0.01136,"115":0.409,"117":0.00757,"118":0.07953,"120":0.00757,"121":0.00757,"122":0.01136,"123":0.01515,"124":0.06817,"125":0.84829,"126":0.74225,"127":0.00379,_:"2 3 5 6 7 8 9 10 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 46 47 48 49 51 55 57 58 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 79 80 81 82 83 84 85 86 87 89 90 91 92 93 95 96 97 98 99 100 101 104 105 106 107 109 110 111 112 114 116 119 128 129 3.5 3.6"},D:{"34":0.00757,"38":0.01515,"47":0.00379,"48":0.02272,"49":0.02651,"50":0.01136,"52":0.00379,"53":0.00379,"56":0.01136,"58":0.00379,"61":0.00379,"63":0.00379,"66":0.02272,"67":0.00757,"69":0.0303,"70":0.01136,"71":0.00379,"73":0.01136,"74":0.00757,"75":0.00757,"76":0.00757,"77":0.00757,"78":0.01515,"79":0.12497,"80":0.01136,"81":0.02272,"83":0.03787,"84":0.00757,"85":0.01136,"86":0.04923,"87":0.06817,"88":0.01515,"89":0.01136,"90":0.01136,"91":0.03787,"92":0.01894,"93":0.0303,"94":0.0303,"95":0.01136,"96":0.01136,"97":0.01515,"98":0.07195,"99":0.0303,"100":0.04544,"101":0.06817,"102":0.04544,"103":0.17042,"104":0.09468,"105":0.02651,"106":0.03408,"107":0.0303,"108":0.04544,"109":1.50723,"110":0.02272,"111":0.03787,"112":0.03787,"113":0.06438,"114":0.10982,"115":0.04544,"116":0.23101,"117":0.10225,"118":0.07953,"119":0.09089,"120":0.18556,"121":0.37491,"122":0.29539,"123":1.10959,"124":12.69024,"125":4.65422,"126":0.01894,"127":0.00757,_:"4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 35 36 37 39 40 41 42 43 44 45 46 51 54 55 57 59 60 62 64 65 68 72 128"},F:{"40":0.00379,"46":0.01515,"95":0.04544,"102":0.07195,"106":0.00757,"107":0.18935,"108":0.01515,"109":0.75361,"110":0.04544,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 41 42 43 44 45 47 48 49 50 51 52 53 54 55 56 57 58 60 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 96 97 98 99 100 101 103 104 105 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"17":0.00379,"18":0.00757,"92":0.01136,"107":0.00379,"108":0.00757,"109":0.06438,"110":0.00379,"111":0.00757,"112":0.00757,"113":0.01136,"114":0.01515,"115":0.00757,"116":0.00757,"117":0.01136,"118":0.00757,"119":0.01515,"120":0.03408,"121":0.02651,"122":0.06438,"123":0.17042,"124":2.89706,"125":1.58675,_:"12 13 14 15 16 79 80 81 83 84 85 86 87 88 89 90 91 93 94 95 96 97 98 99 100 101 102 103 104 105 106"},E:{"9":0.00379,"13":0.00757,"14":0.03408,"15":0.00757,_:"0 4 5 6 7 8 10 11 12 3.1 3.2 5.1 6.1 7.1 9.1 10.1 17.6","11.1":0.00757,"12.1":0.01515,"13.1":0.06438,"14.1":0.09089,"15.1":0.03408,"15.2-15.3":0.01136,"15.4":0.02651,"15.5":0.03408,"15.6":0.24616,"16.0":0.0303,"16.1":0.04923,"16.2":0.04166,"16.3":0.09846,"16.4":0.0303,"16.5":0.06059,"16.6":0.34462,"17.0":0.03787,"17.1":0.06817,"17.2":0.08331,"17.3":0.09846,"17.4":1.55267,"17.5":0.18935},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.00292,"5.0-5.1":0.00292,"6.0-6.1":0.00729,"7.0-7.1":0.01021,"8.1-8.4":0.00292,"9.0-9.2":0.00729,"9.3":0.03354,"10.0-10.2":0.00583,"10.3":0.05249,"11.0-11.2":0.07728,"11.3-11.4":0.01458,"12.0-12.1":0.00875,"12.2-12.5":0.21144,"13.0-13.1":0.00437,"13.2":0.02041,"13.3":0.01021,"13.4-13.7":0.04666,"14.0-14.4":0.0802,"14.5-14.8":0.12395,"15.0-15.1":0.05979,"15.2-15.3":0.06562,"15.4":0.07437,"15.5":0.09332,"15.6-15.8":0.83992,"16.0":0.19102,"16.1":0.39371,"16.2":0.19102,"16.3":0.33101,"16.4":0.06999,"16.5":0.14144,"16.6-16.7":1.12718,"17.0":0.12249,"17.1":0.19977,"17.2":0.20852,"17.3":0.38496,"17.4":8.74186,"17.5":0.61681,"17.6":0},P:{"4":0.15052,"20":0.0215,"21":0.05376,"22":0.06451,"23":0.11827,"24":0.22578,"25":1.98901,"5.0-5.4":0.01075,_:"6.2-6.4 8.2 9.2 10.1 12.0 14.0 15.0 16.0","7.2-7.4":0.04301,"11.1-11.2":0.01075,"13.0":0.01075,"17.0":0.0215,"18.0":0.01075,"19.0":0.0215},I:{"0":0.21042,"3":0,"4":0.00002,"2.1":0,"2.2":0,"2.3":0,"4.1":0.00004,"4.2-4.3":0.00013,"4.4":0,"4.4.3-4.4.4":0.00046},K:{"0":1.24201,_:"10 11 12 11.1 11.5 12.1"},A:{"8":0.02733,"9":0.06833,"11":0.53298,_:"6 7 10 5.5"},S:{"2.5":0.0932,_:"3.0-3.1"},J:{_:"7 10"},N:{_:"10 11"},L:{"0":42.35456},R:{_:"0"},M:{"0":0.31686},Q:{"14.9":0.29822},O:{"0":0.91952},H:{"0":0.1}}; +module.exports={C:{"4":0.00364,"11":0.01455,"43":0.00728,"44":0.00728,"45":0.00364,"52":0.04002,"55":0.00364,"56":0.01819,"59":0.00364,"78":0.01091,"88":0.00728,"94":0.00364,"102":0.00364,"103":0.00728,"105":0.00364,"113":0.00728,"115":0.34197,"117":0.00364,"118":0.0764,"120":0.00728,"121":0.00364,"122":0.00364,"123":0.00364,"124":0.00364,"125":0.01455,"126":0.01091,"127":0.02183,"128":0.03638,"129":0.29832,"130":1.3024,"131":0.00728,_:"2 3 5 6 7 8 9 10 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 46 47 48 49 50 51 53 54 57 58 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 79 80 81 82 83 84 85 86 87 89 90 91 92 93 95 96 97 98 99 100 101 104 106 107 108 109 110 111 112 114 116 119 132 133 134 135 3.5 3.6"},D:{"38":0.01091,"47":0.00364,"48":0.01819,"49":0.01819,"50":0.00728,"51":0.00364,"52":0.00364,"53":0.00728,"56":0.02183,"58":0.00364,"61":0.00364,"66":0.01819,"69":0.0764,"70":0.00364,"73":0.00728,"74":0.00728,"75":0.00728,"76":0.00728,"77":0.01819,"78":0.01455,"79":0.09823,"80":0.01091,"81":0.01819,"83":0.03274,"84":0.00728,"85":0.00728,"86":0.02547,"87":0.06548,"88":0.01455,"89":0.01091,"90":0.00728,"91":0.04002,"92":0.02183,"93":0.01455,"94":0.03274,"95":0.00728,"96":0.00728,"97":0.01455,"98":0.04002,"99":0.02547,"100":0.0291,"101":0.01819,"102":0.01455,"103":0.13097,"104":0.04002,"105":0.01455,"106":0.02547,"107":0.02547,"108":0.04366,"109":1.36425,"110":0.01819,"111":0.03638,"112":0.03638,"113":0.04729,"114":0.08731,"115":0.02547,"116":0.16007,"117":0.09823,"118":0.06548,"119":0.05821,"120":0.09459,"121":0.09459,"122":0.1055,"123":0.13824,"124":0.25466,"125":0.2583,"126":0.41473,"127":1.16052,"128":12.50744,"129":4.06728,"130":0.01455,"131":0.00364,_:"4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 39 40 41 42 43 44 45 46 54 55 57 59 60 62 63 64 65 67 68 71 72 132 133"},F:{"40":0.00364,"46":0.01455,"84":0.01819,"95":0.03638,"102":0.0291,"109":0.01819,"111":0.00728,"112":0.50568,"113":0.38563,"114":0.00364,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 41 42 43 44 45 47 48 49 50 51 52 53 54 55 56 57 58 60 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 85 86 87 88 89 90 91 92 93 94 96 97 98 99 100 101 103 104 105 106 107 108 110 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"17":0.00364,"18":0.00728,"92":0.01455,"107":0.00364,"108":0.00728,"109":0.06185,"110":0.00728,"111":0.00728,"112":0.00364,"113":0.00728,"114":0.01091,"115":0.00364,"116":0.00364,"117":0.00728,"118":0.00364,"119":0.01091,"120":0.03274,"121":0.01455,"122":0.01819,"123":0.01091,"124":0.01819,"125":0.02547,"126":0.05821,"127":0.19281,"128":3.17234,"129":1.29149,"130":0.00364,_:"12 13 14 15 16 79 80 81 83 84 85 86 87 88 89 90 91 93 94 95 96 97 98 99 100 101 102 103 104 105 106"},E:{"13":0.00364,"14":0.02547,"15":0.00728,_:"0 4 5 6 7 8 9 10 11 12 3.1 3.2 5.1 6.1 7.1 9.1 10.1","11.1":0.00364,"12.1":0.00728,"13.1":0.05821,"14.1":0.0764,"15.1":0.02183,"15.2-15.3":0.00728,"15.4":0.01819,"15.5":0.0291,"15.6":0.21828,"16.0":0.0291,"16.1":0.03638,"16.2":0.0291,"16.3":0.06912,"16.4":0.02183,"16.5":0.04002,"16.6":0.27649,"17.0":0.01819,"17.1":0.03638,"17.2":0.03638,"17.3":0.04366,"17.4":0.11278,"17.5":0.30923,"17.6":1.54615,"18.0":0.14916,"18.1":0.00728},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.00293,"5.0-5.1":0.00147,"6.0-6.1":0.00879,"7.0-7.1":0.01026,"8.1-8.4":0,"9.0-9.2":0.00879,"9.3":0.02491,"10.0-10.2":0.00733,"10.3":0.04249,"11.0-11.2":0.15677,"11.3-11.4":0.01172,"12.0-12.1":0.00733,"12.2-12.5":0.17729,"13.0-13.1":0.00293,"13.2":0.05568,"13.3":0.00733,"13.4-13.7":0.0293,"14.0-14.4":0.0674,"14.5-14.8":0.08938,"15.0-15.1":0.05128,"15.2-15.3":0.04982,"15.4":0.05714,"15.5":0.07033,"15.6-15.8":0.69596,"16.0":0.14066,"16.1":0.27838,"16.2":0.13919,"16.3":0.23443,"16.4":0.04982,"16.5":0.09817,"16.6-16.7":0.83808,"17.0":0.07033,"17.1":0.11135,"17.2":0.1011,"17.3":0.14505,"17.4":0.31062,"17.5":1.49301,"17.6-17.7":7.94561,"18.0":1.00218,"18.1":0.04542},P:{"4":0.08684,"20":0.01085,"21":0.04342,"22":0.04342,"23":0.05427,"24":0.06513,"25":0.20623,"26":1.87782,"5.0-5.4":0.01085,"6.2-6.4":0.01085,"7.2-7.4":0.03256,_:"8.2 9.2 10.1 11.1-11.2 12.0 13.0 14.0 15.0 16.0 18.0","17.0":0.02171,"19.0":0.01085},I:{"0":0.23476,"3":0,"4":0,"2.1":0,"2.2":0,"2.3":0,"4.1":0.00002,"4.2-4.3":0.00009,"4.4":0,"4.4.3-4.4.4":0.00038},K:{"0":1.16514,_:"10 11 12 11.1 11.5 12.1"},A:{"8":0.04222,"9":0.04222,"11":0.45035,_:"6 7 10 5.5"},N:{_:"10 11"},S:{"2.5":0.03181,_:"3.0-3.1"},J:{_:"7 10"},O:{"0":1.24059},H:{"0":0.05},L:{"0":43.74693},R:{_:"0"},M:{"0":0.34355},Q:{"14.9":0.27357}}; diff --git a/node_modules/caniuse-lite/package.json b/node_modules/caniuse-lite/package.json index 56ecadf46e..6edcb759f4 100644 --- a/node_modules/caniuse-lite/package.json +++ b/node_modules/caniuse-lite/package.json @@ -1,6 +1,6 @@ { "name": "caniuse-lite", - "version": "1.0.30001639", + "version": "1.0.30001684", "description": "A smaller version of caniuse-db, with only the essentials!", "main": "dist/unpacker/index.js", "files": [ diff --git a/node_modules/default-browser-id/index.js b/node_modules/default-browser-id/index.js deleted file mode 100644 index 97b982e900..0000000000 --- a/node_modules/default-browser-id/index.js +++ /dev/null @@ -1,42 +0,0 @@ -import os from 'os'; -import {promises as fs} from 'fs'; -import bplist from 'bplist-parser'; -import untildify from 'untildify'; - -const macOsVersion = Number(os.release().split('.')[0]); -const filePath = untildify(macOsVersion >= 14 ? '~/Library/Preferences/com.apple.LaunchServices/com.apple.launchservices.secure.plist' : '~/Library/Preferences/com.apple.LaunchServices.plist'); - -export default async function defaultBrowserId() { - if (process.platform !== 'darwin') { - throw new Error('macOS only'); - } - - let bundleId = 'com.apple.Safari'; - - let buffer; - try { - buffer = await fs.readFile(filePath); - } catch (error) { - if (error.code === 'ENOENT') { - return bundleId; - } - - throw error; - } - - const data = bplist.parseBuffer(buffer); - const handlers = data && data[0].LSHandlers; - - if (!handlers || handlers.length === 0) { - return bundleId; - } - - for (const handler of handlers) { - if (handler.LSHandlerURLScheme === 'http' && handler.LSHandlerRoleAll) { - bundleId = handler.LSHandlerRoleAll; - break; - } - } - - return bundleId; -} diff --git a/node_modules/default-browser-id/license b/node_modules/default-browser-id/license deleted file mode 100644 index fa7ceba3eb..0000000000 --- a/node_modules/default-browser-id/license +++ /dev/null @@ -1,9 +0,0 @@ -MIT License - -Copyright (c) Sindre Sorhus (https://sindresorhus.com) - -Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/node_modules/default-browser-id/package.json b/node_modules/default-browser-id/package.json deleted file mode 100644 index d064218a9d..0000000000 --- a/node_modules/default-browser-id/package.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "name": "default-browser-id", - "version": "3.0.0", - "description": "Get the bundle identifier of the default browser (macOS). Example: com.apple.Safari", - "license": "MIT", - "repository": "sindresorhus/default-browser-id", - "funding": "https://github.com/sponsors/sindresorhus", - "author": { - "name": "Sindre Sorhus", - "email": "sindresorhus@gmail.com", - "url": "https://sindresorhus.com" - }, - "type": "module", - "exports": "./index.js", - "engines": { - "node": ">=12" - }, - "scripts": { - "test": "xo && ava" - }, - "files": [ - "index.js" - ], - "keywords": [ - "macos", - "browser", - "default", - "plist", - "web", - "bundle", - "bundleid", - "id", - "identifier", - "uti" - ], - "dependencies": { - "bplist-parser": "^0.2.0", - "untildify": "^4.0.0" - }, - "devDependencies": { - "ava": "^3.15.0", - "xo": "^0.38.2" - } -} diff --git a/node_modules/default-browser-id/readme.md b/node_modules/default-browser-id/readme.md deleted file mode 100644 index 892d2e7ee3..0000000000 --- a/node_modules/default-browser-id/readme.md +++ /dev/null @@ -1,19 +0,0 @@ -# default-browser-id - -> Get the [bundle identifier](https://developer.apple.com/library/Mac/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html#//apple_ref/doc/plist/info/CFBundleIdentifier) of the default browser *(macOS)*\ -> Example: `com.apple.Safari` - -## Install - -``` -$ npm install default-browser-id -``` - -## Usage - -```js -import defaultBrowserId from 'default-browser-id'; - -console.log(await defaultBrowserId()); -//=> 'com.apple.Safari' -``` diff --git a/node_modules/default-browser/index.d.ts b/node_modules/default-browser/index.d.ts deleted file mode 100644 index d9e83003c0..0000000000 --- a/node_modules/default-browser/index.d.ts +++ /dev/null @@ -1,28 +0,0 @@ -export type Browser = { - /** - Human-readadable name of the browser. - */ - name: string; - - /** - Unique ID for the browser on the current platform: - - On macOS, it's the ID in LaunchServices. - - On Linux, it's the desktop file ID (from `xdg-mime`). - - On Windows, it's an invented ID as Windows doesn't have IDs. - */ - id: string; -}; - -/** -Get the default browser for the current platform. - -@returns A promise for the browser. - -``` -import defaultBrowser from 'default-browser'; - -console.log(await defaultBrowser()); -//=> {name: 'Safari', id: 'com.apple.Safari'} -``` -*/ -export default function defaultBrowser(): Promise; diff --git a/node_modules/default-browser/index.js b/node_modules/default-browser/index.js deleted file mode 100644 index f5012decbe..0000000000 --- a/node_modules/default-browser/index.js +++ /dev/null @@ -1,30 +0,0 @@ -import process from 'node:process'; -import defaultBrowserId from 'default-browser-id'; -import bundleName from 'bundle-name'; -import titleize from 'titleize'; -import {execa} from 'execa'; -import windows from './windows.js'; - -export default async function defaultBrowser() { - if (process.platform === 'linux') { - const {stdout} = await execa('xdg-mime', ['query', 'default', 'x-scheme-handler/http']); - const name = titleize(stdout.trim().replace(/.desktop$/, '').replace('-', ' ')); - - return { - name, - id: stdout, - }; - } - - if (process.platform === 'darwin') { - const id = await defaultBrowserId(); - const name = await bundleName(id); - return {name, id}; - } - - if (process.platform === 'win32') { - return windows(); - } - - throw new Error('Only macOS, Linux, and Windows are supported'); -} diff --git a/node_modules/default-browser/license b/node_modules/default-browser/license deleted file mode 100644 index fa7ceba3eb..0000000000 --- a/node_modules/default-browser/license +++ /dev/null @@ -1,9 +0,0 @@ -MIT License - -Copyright (c) Sindre Sorhus (https://sindresorhus.com) - -Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/node_modules/default-browser/package.json b/node_modules/default-browser/package.json deleted file mode 100644 index bfc8f36472..0000000000 --- a/node_modules/default-browser/package.json +++ /dev/null @@ -1,52 +0,0 @@ -{ - "name": "default-browser", - "version": "4.0.0", - "description": "Get the default browser", - "license": "MIT", - "repository": "sindresorhus/default-browser", - "funding": "https://github.com/sponsors/sindresorhus", - "author": { - "name": "Sindre Sorhus", - "email": "sindresorhus@gmail.com", - "url": "https://sindresorhus.com" - }, - "type": "module", - "exports": "./index.js", - "engines": { - "node": ">=14.16" - }, - "scripts": { - "test": "xo && ava && tsd" - }, - "files": [ - "index.js", - "windows.js", - "index.d.ts" - ], - "keywords": [ - "macos", - "linux", - "browser", - "default", - "plist", - "web", - "bundle", - "bundleid", - "id", - "identifier", - "uti", - "cfbundlename", - "applescript" - ], - "dependencies": { - "bundle-name": "^3.0.0", - "default-browser-id": "^3.0.0", - "execa": "^7.1.1", - "titleize": "^3.0.0" - }, - "devDependencies": { - "ava": "^5.2.0", - "tsd": "^0.28.0", - "xo": "^0.53.1" - } -} diff --git a/node_modules/default-browser/readme.md b/node_modules/default-browser/readme.md deleted file mode 100644 index cd0d05b067..0000000000 --- a/node_modules/default-browser/readme.md +++ /dev/null @@ -1,24 +0,0 @@ -# default-browser - -> Get the default browser - -Works on macOS, Linux, and Windows. - -## Install - -```sh -npm install default-browser -``` - -## Usage - -```js -import defaultBrowser from 'default-browser'; - -console.log(await defaultBrowser()); -//=> {name: 'Safari', id: 'com.apple.Safari'} -``` - -## Related - -- [default-browser-cli](https://github.com/sindresorhus/default-browser-cli) - CLI for this package diff --git a/node_modules/default-browser/windows.js b/node_modules/default-browser/windows.js deleted file mode 100644 index bda45ecaa3..0000000000 --- a/node_modules/default-browser/windows.js +++ /dev/null @@ -1,37 +0,0 @@ -import {execa} from 'execa'; - -// Windows doesn't have browser IDs in the same way macOS/Linux does so we give fake -// ones that look real and match the macOS/Linux versions for cross-platform apps. -const windowsBrowserProgIds = { - AppXq0fevzme2pys62n3e0fbqa7peapykr8v: {name: 'Edge', id: 'com.microsoft.edge.old'}, - MSEdgeDHTML: {name: 'Edge', id: 'com.microsoft.edge'}, // On macOS, it's "com.microsoft.edgemac" - MSEdgeHTM: {name: 'Edge', id: 'com.microsoft.edge'}, // Newer Edge/Win10 releases - 'IE.HTTP': {name: 'Internet Explorer', id: 'com.microsoft.ie'}, - FirefoxURL: {name: 'Firefox', id: 'org.mozilla.firefox'}, - ChromeHTML: {name: 'Chrome', id: 'com.google.chrome'}, -}; - -export class UnknownBrowserError extends Error {} - -export default async function defaultBrowser(_execa = execa) { - const result = await _execa('reg', [ - 'QUERY', - ' HKEY_CURRENT_USER\\Software\\Microsoft\\Windows\\Shell\\Associations\\UrlAssociations\\http\\UserChoice', - '/v', - 'ProgId', - ]); - - const match = /ProgId\s*REG_SZ\s*(?\S+)/.exec(result.stdout); - if (!match) { - throw new UnknownBrowserError(`Cannot find Windows browser in stdout: ${JSON.stringify(result.stdout)}`); - } - - const {id} = match.groups; - - const browser = windowsBrowserProgIds[id]; - if (!browser) { - throw new UnknownBrowserError(`Unknown browser ID: ${id}`); - } - - return browser; -} diff --git a/node_modules/define-lazy-prop/index.d.ts b/node_modules/define-lazy-prop/index.d.ts deleted file mode 100644 index f95bc7f381..0000000000 --- a/node_modules/define-lazy-prop/index.d.ts +++ /dev/null @@ -1,31 +0,0 @@ -/** -Define a [lazily evaluated](https://en.wikipedia.org/wiki/Lazy_evaluation) property on an object. - -@param object - Object to add the property to. -@param propertyName - Name of the property to add. -@param valueGetter - Called the first time `propertyName` is accessed. - -@example -``` -import defineLazyProperty from 'define-lazy-prop'; - -const unicorn = { - // … -}; - -defineLazyProperty(unicorn, 'rainbow', () => expensiveComputation()); - -app.on('user-action', () => { - doSomething(unicorn.rainbow); -}); -``` -*/ -export default function defineLazyProperty< - ObjectType extends Record, - PropertyNameType extends string, - PropertyValueType ->( - object: ObjectType, - propertyName: PropertyNameType, - valueGetter: () => PropertyValueType -): ObjectType & {[K in PropertyNameType]: PropertyValueType}; diff --git a/node_modules/define-lazy-prop/index.js b/node_modules/define-lazy-prop/index.js deleted file mode 100644 index 77c59f06cc..0000000000 --- a/node_modules/define-lazy-prop/index.js +++ /dev/null @@ -1,18 +0,0 @@ -export default function defineLazyProperty(object, propertyName, valueGetter) { - const define = value => Object.defineProperty(object, propertyName, {value, enumerable: true, writable: true}); - - Object.defineProperty(object, propertyName, { - configurable: true, - enumerable: true, - get() { - const result = valueGetter(); - define(result); - return result; - }, - set(value) { - define(value); - } - }); - - return object; -} diff --git a/node_modules/define-lazy-prop/license b/node_modules/define-lazy-prop/license deleted file mode 100644 index fa7ceba3eb..0000000000 --- a/node_modules/define-lazy-prop/license +++ /dev/null @@ -1,9 +0,0 @@ -MIT License - -Copyright (c) Sindre Sorhus (https://sindresorhus.com) - -Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/node_modules/define-lazy-prop/package.json b/node_modules/define-lazy-prop/package.json deleted file mode 100644 index 3a61c2a43a..0000000000 --- a/node_modules/define-lazy-prop/package.json +++ /dev/null @@ -1,51 +0,0 @@ -{ - "name": "define-lazy-prop", - "version": "3.0.0", - "description": "Define a lazily evaluated property on an object", - "license": "MIT", - "repository": "sindresorhus/define-lazy-prop", - "funding": "https://github.com/sponsors/sindresorhus", - "author": { - "name": "Sindre Sorhus", - "email": "sindresorhus@gmail.com", - "url": "https://sindresorhus.com" - }, - "type": "module", - "exports": "./index.js", - "engines": { - "node": ">=12" - }, - "scripts": { - "test": "xo && ava && tsd" - }, - "files": [ - "index.js", - "index.d.ts" - ], - "keywords": [ - "lazy", - "property", - "properties", - "prop", - "define", - "object", - "value", - "lazily", - "laziness", - "evaluation", - "eval", - "execute", - "getter", - "function", - "fn", - "memoize", - "cache", - "defer", - "deferred" - ], - "devDependencies": { - "ava": "^3.15.0", - "tsd": "^0.14.0", - "xo": "^0.38.2" - } -} diff --git a/node_modules/define-lazy-prop/readme.md b/node_modules/define-lazy-prop/readme.md deleted file mode 100644 index 83f652d7ac..0000000000 --- a/node_modules/define-lazy-prop/readme.md +++ /dev/null @@ -1,55 +0,0 @@ -# define-lazy-prop - -> Define a [lazily evaluated](https://en.wikipedia.org/wiki/Lazy_evaluation) property on an object - -Useful when the value of a property is expensive to generate, so you want to delay the computation until the property is needed. For example, improving startup performance by deferring nonessential operations. - -## Install - -``` -$ npm install define-lazy-prop -``` - -## Usage - -```js -import defineLazyProperty from 'define-lazy-prop'; - -const unicorn = { - // … -}; - -defineLazyProperty(unicorn, 'rainbow', () => expensiveComputation()); - -app.on('user-action', () => { - doSomething(unicorn.rainbow); -}); -``` - -## API - -### defineLazyProperty(object, propertyName, valueGetter) - -#### object - -Type: `object` - -Object to add the property to. - -#### propertyName - -Type: `string` - -Name of the property to add. - -#### valueGetter - -Type: `Function` - -Called the first time `propertyName` is accessed. Expected to return a value. - -## Related - -- [lazy-value](https://github.com/sindresorhus/lazy-value) - Create a lazily evaluated value -- [import-lazy](https://github.com/sindresorhus/import-lazy) - Import a module lazily -- [p-lazy](https://github.com/sindresorhus/p-lazy) - Create a lazy promise diff --git a/node_modules/electron-to-chromium/CHANGELOG.md b/node_modules/electron-to-chromium/CHANGELOG.md deleted file mode 100644 index 1669c34164..0000000000 --- a/node_modules/electron-to-chromium/CHANGELOG.md +++ /dev/null @@ -1,14 +0,0 @@ -v1.3.0 - * Additionally include chromium to electron mappings - -v1.2.0 - * versions and full-versions are now separately importable. - -v1.1.0 - * Both electronToChromium and electronToBrowserList now can accept strings as well as numbers. - -v1.0.1 - Update documentation - -v1.0.0 - Inititial release diff --git a/node_modules/electron-to-chromium/chromium-versions.js b/node_modules/electron-to-chromium/chromium-versions.js index 91ad1f247b..2a2d3003c3 100644 --- a/node_modules/electron-to-chromium/chromium-versions.js +++ b/node_modules/electron-to-chromium/chromium-versions.js @@ -48,5 +48,25 @@ module.exports = { "105": "21.0", "106": "21.0", "107": "22.0", - "108": "22.0" + "108": "22.0", + "110": "23.0", + "111": "24.0", + "112": "24.0", + "114": "25.0", + "116": "26.0", + "118": "27.0", + "119": "28.0", + "120": "28.0", + "121": "29.0", + "122": "29.0", + "123": "30.0", + "124": "30.0", + "125": "31.0", + "126": "31.0", + "127": "32.0", + "128": "32.0", + "129": "33.0", + "130": "33.0", + "131": "34.0", + "132": "34.0" }; \ No newline at end of file diff --git a/node_modules/electron-to-chromium/chromium-versions.json b/node_modules/electron-to-chromium/chromium-versions.json index f45086a4c1..a30788eb6f 100644 --- a/node_modules/electron-to-chromium/chromium-versions.json +++ b/node_modules/electron-to-chromium/chromium-versions.json @@ -1 +1 @@ -{"39":"0.20","40":"0.21","41":"0.21","42":"0.25","43":"0.27","44":"0.30","45":"0.31","47":"0.36","49":"0.37","50":"1.1","51":"1.2","52":"1.3","53":"1.4","54":"1.4","56":"1.6","58":"1.7","59":"1.8","61":"2.0","66":"3.0","69":"4.0","72":"5.0","73":"5.0","76":"6.0","78":"7.0","79":"8.0","80":"8.0","82":"9.0","83":"9.0","84":"10.0","85":"10.0","86":"11.0","87":"11.0","89":"12.0","90":"13.0","91":"13.0","92":"14.0","93":"14.0","94":"15.0","95":"16.0","96":"16.0","98":"17.0","99":"18.0","100":"18.0","102":"19.0","103":"20.0","104":"20.0","105":"21.0","106":"21.0","107":"22.0","108":"22.0"} \ No newline at end of file +{"39":"0.20","40":"0.21","41":"0.21","42":"0.25","43":"0.27","44":"0.30","45":"0.31","47":"0.36","49":"0.37","50":"1.1","51":"1.2","52":"1.3","53":"1.4","54":"1.4","56":"1.6","58":"1.7","59":"1.8","61":"2.0","66":"3.0","69":"4.0","72":"5.0","73":"5.0","76":"6.0","78":"7.0","79":"8.0","80":"8.0","82":"9.0","83":"9.0","84":"10.0","85":"10.0","86":"11.0","87":"11.0","89":"12.0","90":"13.0","91":"13.0","92":"14.0","93":"14.0","94":"15.0","95":"16.0","96":"16.0","98":"17.0","99":"18.0","100":"18.0","102":"19.0","103":"20.0","104":"20.0","105":"21.0","106":"21.0","107":"22.0","108":"22.0","110":"23.0","111":"24.0","112":"24.0","114":"25.0","116":"26.0","118":"27.0","119":"28.0","120":"28.0","121":"29.0","122":"29.0","123":"30.0","124":"30.0","125":"31.0","126":"31.0","127":"32.0","128":"32.0","129":"33.0","130":"33.0","131":"34.0","132":"34.0"} \ No newline at end of file diff --git a/node_modules/electron-to-chromium/full-chromium-versions.js b/node_modules/electron-to-chromium/full-chromium-versions.js index f58aed6329..9f152a0762 100644 --- a/node_modules/electron-to-chromium/full-chromium-versions.js +++ b/node_modules/electron-to-chromium/full-chromium-versions.js @@ -237,8 +237,6 @@ module.exports = { "2.0.5", "2.0.6", "2.0.7", - "2.0.8-nightly.20180819", - "2.0.8-nightly.20180820", "2.0.8", "2.0.9", "2.0.10", @@ -266,10 +264,6 @@ module.exports = { "3.0.0-beta.11", "3.0.0-beta.12", "3.0.0-beta.13", - "3.0.0-nightly.20180818", - "3.0.0-nightly.20180821", - "3.0.0-nightly.20180823", - "3.0.0-nightly.20180904", "3.0.0", "3.0.1", "3.0.2", @@ -305,10 +299,7 @@ module.exports = { "3.1.10", "3.1.11", "3.1.12", - "3.1.13", - "4.0.0-nightly.20180817", - "4.0.0-nightly.20180819", - "4.0.0-nightly.20180821" + "3.1.13" ], "69.0.3497.106": [ "4.0.0-beta.1", @@ -322,7 +313,6 @@ module.exports = { "4.0.0-beta.9", "4.0.0-beta.10", "4.0.0-beta.11", - "4.0.0-nightly.20181010", "4.0.0", "4.0.1", "4.0.2", @@ -331,12 +321,6 @@ module.exports = { "4.0.5", "4.0.6" ], - "67.0.3396.99": [ - "4.0.0-nightly.20180929" - ], - "68.0.3440.128": [ - "4.0.0-nightly.20181006" - ], "69.0.3497.128": [ "4.0.7", "4.0.8", @@ -385,13 +369,6 @@ module.exports = { "73.0.3683.117": [ "5.0.0-beta.9" ], - "70.0.3538.110": [ - "5.0.0-nightly.20190107" - ], - "71.0.3578.98": [ - "5.0.0-nightly.20190121", - "5.0.0-nightly.20190122" - ], "73.0.3683.119": [ "5.0.0" ], @@ -449,15 +426,6 @@ module.exports = { "76.0.3809.74": [ "6.0.0-beta.15" ], - "72.0.3626.107": [ - "6.0.0-nightly.20190212" - ], - "72.0.3626.110": [ - "6.0.0-nightly.20190213" - ], - "74.0.3724.8": [ - "6.0.0-nightly.20190311" - ], "76.0.3809.88": [ "6.0.0" ], @@ -505,14 +473,7 @@ module.exports = { "78.0.3866.0": [ "7.0.0-beta.1", "7.0.0-beta.2", - "7.0.0-beta.3", - "7.0.0-nightly.20190727", - "7.0.0-nightly.20190728", - "7.0.0-nightly.20190729", - "7.0.0-nightly.20190730", - "7.0.0-nightly.20190731", - "8.0.0-nightly.20190801", - "8.0.0-nightly.20190802" + "7.0.0-beta.3" ], "78.0.3896.6": [ "7.0.0-beta.4" @@ -523,53 +484,6 @@ module.exports = { "7.0.0-beta.7", "7.0.0" ], - "76.0.3784.0": [ - "7.0.0-nightly.20190521" - ], - "76.0.3806.0": [ - "7.0.0-nightly.20190529", - "7.0.0-nightly.20190530", - "7.0.0-nightly.20190531", - "7.0.0-nightly.20190602", - "7.0.0-nightly.20190603" - ], - "77.0.3814.0": [ - "7.0.0-nightly.20190604" - ], - "77.0.3815.0": [ - "7.0.0-nightly.20190605", - "7.0.0-nightly.20190606", - "7.0.0-nightly.20190607", - "7.0.0-nightly.20190608", - "7.0.0-nightly.20190609", - "7.0.0-nightly.20190611", - "7.0.0-nightly.20190612", - "7.0.0-nightly.20190613", - "7.0.0-nightly.20190615", - "7.0.0-nightly.20190616", - "7.0.0-nightly.20190618", - "7.0.0-nightly.20190619", - "7.0.0-nightly.20190622", - "7.0.0-nightly.20190623", - "7.0.0-nightly.20190624", - "7.0.0-nightly.20190627", - "7.0.0-nightly.20190629", - "7.0.0-nightly.20190630", - "7.0.0-nightly.20190701", - "7.0.0-nightly.20190702" - ], - "77.0.3843.0": [ - "7.0.0-nightly.20190704", - "7.0.0-nightly.20190705" - ], - "77.0.3848.0": [ - "7.0.0-nightly.20190719", - "7.0.0-nightly.20190720", - "7.0.0-nightly.20190721" - ], - "77.0.3864.0": [ - "7.0.0-nightly.20190726" - ], "78.0.3904.92": [ "7.0.1" ], @@ -609,11 +523,7 @@ module.exports = { ], "79.0.3931.0": [ "8.0.0-beta.1", - "8.0.0-beta.2", - "8.0.0-nightly.20191019", - "8.0.0-nightly.20191020", - "8.0.0-nightly.20191021", - "8.0.0-nightly.20191023" + "8.0.0-beta.2" ], "80.0.3955.0": [ "8.0.0-beta.3", @@ -632,66 +542,6 @@ module.exports = { "8.0.0-beta.8", "8.0.0-beta.9" ], - "78.0.3871.0": [ - "8.0.0-nightly.20190803", - "8.0.0-nightly.20190806", - "8.0.0-nightly.20190807", - "8.0.0-nightly.20190808", - "8.0.0-nightly.20190809", - "8.0.0-nightly.20190810", - "8.0.0-nightly.20190811", - "8.0.0-nightly.20190812", - "8.0.0-nightly.20190813", - "8.0.0-nightly.20190814", - "8.0.0-nightly.20190815" - ], - "78.0.3881.0": [ - "8.0.0-nightly.20190816", - "8.0.0-nightly.20190817", - "8.0.0-nightly.20190818", - "8.0.0-nightly.20190819", - "8.0.0-nightly.20190820" - ], - "78.0.3892.0": [ - "8.0.0-nightly.20190824", - "8.0.0-nightly.20190825", - "8.0.0-nightly.20190827", - "8.0.0-nightly.20190828", - "8.0.0-nightly.20190830", - "8.0.0-nightly.20190901", - "8.0.0-nightly.20190902", - "8.0.0-nightly.20190907", - "8.0.0-nightly.20190909", - "8.0.0-nightly.20190910", - "8.0.0-nightly.20190911", - "8.0.0-nightly.20190913", - "8.0.0-nightly.20190914", - "8.0.0-nightly.20190915", - "8.0.0-nightly.20190917" - ], - "79.0.3915.0": [ - "8.0.0-nightly.20190919", - "8.0.0-nightly.20190920" - ], - "79.0.3919.0": [ - "8.0.0-nightly.20190923", - "8.0.0-nightly.20190924", - "8.0.0-nightly.20190926", - "8.0.0-nightly.20190929", - "8.0.0-nightly.20190930", - "8.0.0-nightly.20191001", - "8.0.0-nightly.20191004", - "8.0.0-nightly.20191005", - "8.0.0-nightly.20191006", - "8.0.0-nightly.20191009", - "8.0.0-nightly.20191011", - "8.0.0-nightly.20191012", - "8.0.0-nightly.20191017" - ], - "80.0.3952.0": [ - "8.0.0-nightly.20191101", - "8.0.0-nightly.20191105" - ], "80.0.3987.86": [ "8.0.0", "8.0.1", @@ -747,6 +597,7 @@ module.exports = { "9.0.0-beta.10" ], "82.0.4085.14": [ + "9.0.0-beta.11", "9.0.0-beta.12", "9.0.0-beta.13" ], @@ -779,49 +630,6 @@ module.exports = { "83.0.4103.45": [ "9.0.0-beta.24" ], - "80.0.3954.0": [ - "9.0.0-nightly.20191121", - "9.0.0-nightly.20191122", - "9.0.0-nightly.20191123", - "9.0.0-nightly.20191124", - "9.0.0-nightly.20191129", - "9.0.0-nightly.20191130", - "9.0.0-nightly.20191201", - "9.0.0-nightly.20191202", - "9.0.0-nightly.20191203", - "9.0.0-nightly.20191204", - "9.0.0-nightly.20191210" - ], - "81.0.3994.0": [ - "9.0.0-nightly.20191220", - "9.0.0-nightly.20191221", - "9.0.0-nightly.20191222", - "9.0.0-nightly.20191223", - "9.0.0-nightly.20191224", - "9.0.0-nightly.20191225", - "9.0.0-nightly.20191226", - "9.0.0-nightly.20191228", - "9.0.0-nightly.20191229", - "9.0.0-nightly.20191230", - "9.0.0-nightly.20191231", - "9.0.0-nightly.20200101", - "9.0.0-nightly.20200103", - "9.0.0-nightly.20200104", - "9.0.0-nightly.20200105", - "9.0.0-nightly.20200106", - "9.0.0-nightly.20200108", - "9.0.0-nightly.20200109", - "9.0.0-nightly.20200110", - "9.0.0-nightly.20200111", - "9.0.0-nightly.20200113", - "9.0.0-nightly.20200115", - "9.0.0-nightly.20200116", - "9.0.0-nightly.20200117" - ], - "81.0.4030.0": [ - "9.0.0-nightly.20200119", - "9.0.0-nightly.20200121" - ], "83.0.4103.64": [ "9.0.0" ], @@ -858,24 +666,7 @@ module.exports = { ], "84.0.4129.0": [ "10.0.0-beta.1", - "10.0.0-beta.2", - "10.0.0-nightly.20200501", - "10.0.0-nightly.20200504", - "10.0.0-nightly.20200505", - "10.0.0-nightly.20200506", - "10.0.0-nightly.20200507", - "10.0.0-nightly.20200508", - "10.0.0-nightly.20200511", - "10.0.0-nightly.20200512", - "10.0.0-nightly.20200513", - "10.0.0-nightly.20200514", - "10.0.0-nightly.20200515", - "10.0.0-nightly.20200518", - "10.0.0-nightly.20200519", - "10.0.0-nightly.20200520", - "10.0.0-nightly.20200521", - "11.0.0-nightly.20200525", - "11.0.0-nightly.20200526" + "10.0.0-beta.2" ], "85.0.4161.2": [ "10.0.0-beta.3", @@ -912,71 +703,6 @@ module.exports = { "85.0.4183.80": [ "10.0.0-beta.25" ], - "82.0.4050.0": [ - "10.0.0-nightly.20200209", - "10.0.0-nightly.20200210", - "10.0.0-nightly.20200211", - "10.0.0-nightly.20200216", - "10.0.0-nightly.20200217", - "10.0.0-nightly.20200218", - "10.0.0-nightly.20200221", - "10.0.0-nightly.20200222", - "10.0.0-nightly.20200223", - "10.0.0-nightly.20200226", - "10.0.0-nightly.20200303" - ], - "82.0.4076.0": [ - "10.0.0-nightly.20200304", - "10.0.0-nightly.20200305", - "10.0.0-nightly.20200306", - "10.0.0-nightly.20200309", - "10.0.0-nightly.20200310" - ], - "82.0.4083.0": [ - "10.0.0-nightly.20200311" - ], - "83.0.4086.0": [ - "10.0.0-nightly.20200316" - ], - "83.0.4087.0": [ - "10.0.0-nightly.20200317", - "10.0.0-nightly.20200318", - "10.0.0-nightly.20200320", - "10.0.0-nightly.20200323", - "10.0.0-nightly.20200324", - "10.0.0-nightly.20200325", - "10.0.0-nightly.20200326", - "10.0.0-nightly.20200327", - "10.0.0-nightly.20200330", - "10.0.0-nightly.20200331", - "10.0.0-nightly.20200401", - "10.0.0-nightly.20200402", - "10.0.0-nightly.20200403", - "10.0.0-nightly.20200406" - ], - "83.0.4095.0": [ - "10.0.0-nightly.20200408", - "10.0.0-nightly.20200410", - "10.0.0-nightly.20200413" - ], - "84.0.4114.0": [ - "10.0.0-nightly.20200414" - ], - "84.0.4115.0": [ - "10.0.0-nightly.20200415", - "10.0.0-nightly.20200416", - "10.0.0-nightly.20200417" - ], - "84.0.4121.0": [ - "10.0.0-nightly.20200422", - "10.0.0-nightly.20200423" - ], - "84.0.4125.0": [ - "10.0.0-nightly.20200427", - "10.0.0-nightly.20200428", - "10.0.0-nightly.20200429", - "10.0.0-nightly.20200430" - ], "85.0.4183.84": [ "10.0.0" ], @@ -1017,19 +743,7 @@ module.exports = { "11.0.0-beta.4", "11.0.0-beta.5", "11.0.0-beta.6", - "11.0.0-beta.7", - "11.0.0-nightly.20200822", - "11.0.0-nightly.20200824", - "11.0.0-nightly.20200825", - "11.0.0-nightly.20200826", - "12.0.0-nightly.20200827", - "12.0.0-nightly.20200831", - "12.0.0-nightly.20200902", - "12.0.0-nightly.20200903", - "12.0.0-nightly.20200907", - "12.0.0-nightly.20200910", - "12.0.0-nightly.20200911", - "12.0.0-nightly.20200914" + "11.0.0-beta.7" ], "87.0.4251.1": [ "11.0.0-beta.8", @@ -1053,49 +767,6 @@ module.exports = { "11.0.0-beta.22", "11.0.0-beta.23" ], - "85.0.4156.0": [ - "11.0.0-nightly.20200529" - ], - "85.0.4162.0": [ - "11.0.0-nightly.20200602", - "11.0.0-nightly.20200603", - "11.0.0-nightly.20200604", - "11.0.0-nightly.20200609", - "11.0.0-nightly.20200610", - "11.0.0-nightly.20200611", - "11.0.0-nightly.20200615", - "11.0.0-nightly.20200616", - "11.0.0-nightly.20200617", - "11.0.0-nightly.20200618", - "11.0.0-nightly.20200619" - ], - "85.0.4179.0": [ - "11.0.0-nightly.20200701", - "11.0.0-nightly.20200702", - "11.0.0-nightly.20200703", - "11.0.0-nightly.20200706", - "11.0.0-nightly.20200707", - "11.0.0-nightly.20200708", - "11.0.0-nightly.20200709" - ], - "86.0.4203.0": [ - "11.0.0-nightly.20200716", - "11.0.0-nightly.20200717", - "11.0.0-nightly.20200720", - "11.0.0-nightly.20200721" - ], - "86.0.4209.0": [ - "11.0.0-nightly.20200723", - "11.0.0-nightly.20200724", - "11.0.0-nightly.20200729", - "11.0.0-nightly.20200730", - "11.0.0-nightly.20200731", - "11.0.0-nightly.20200803", - "11.0.0-nightly.20200804", - "11.0.0-nightly.20200805", - "11.0.0-nightly.20200811", - "11.0.0-nightly.20200812" - ], "87.0.4280.60": [ "11.0.0", "11.0.1" @@ -1143,23 +814,7 @@ module.exports = { "12.0.0-beta.10", "12.0.0-beta.11", "12.0.0-beta.12", - "12.0.0-beta.14", - "13.0.0-nightly.20201119", - "13.0.0-nightly.20201123", - "13.0.0-nightly.20201124", - "13.0.0-nightly.20201126", - "13.0.0-nightly.20201127", - "13.0.0-nightly.20201130", - "13.0.0-nightly.20201201", - "13.0.0-nightly.20201202", - "13.0.0-nightly.20201203", - "13.0.0-nightly.20201204", - "13.0.0-nightly.20201207", - "13.0.0-nightly.20201208", - "13.0.0-nightly.20201209", - "13.0.0-nightly.20201210", - "13.0.0-nightly.20201211", - "13.0.0-nightly.20201214" + "12.0.0-beta.14" ], "89.0.4348.1": [ "12.0.0-beta.16", @@ -1184,28 +839,6 @@ module.exports = { "12.0.0-beta.30", "12.0.0-beta.31" ], - "87.0.4268.0": [ - "12.0.0-nightly.20201013", - "12.0.0-nightly.20201014", - "12.0.0-nightly.20201015" - ], - "88.0.4292.0": [ - "12.0.0-nightly.20201023", - "12.0.0-nightly.20201026" - ], - "88.0.4306.0": [ - "12.0.0-nightly.20201030", - "12.0.0-nightly.20201102", - "12.0.0-nightly.20201103", - "12.0.0-nightly.20201104", - "12.0.0-nightly.20201105", - "12.0.0-nightly.20201106", - "12.0.0-nightly.20201111", - "12.0.0-nightly.20201112" - ], - "88.0.4324.0": [ - "12.0.0-nightly.20201116" - ], "89.0.4389.69": [ "12.0.0" ], @@ -1244,21 +877,7 @@ module.exports = { ], "90.0.4402.0": [ "13.0.0-beta.2", - "13.0.0-beta.3", - "13.0.0-nightly.20210210", - "13.0.0-nightly.20210211", - "13.0.0-nightly.20210212", - "13.0.0-nightly.20210216", - "13.0.0-nightly.20210217", - "13.0.0-nightly.20210218", - "13.0.0-nightly.20210219", - "13.0.0-nightly.20210222", - "13.0.0-nightly.20210225", - "13.0.0-nightly.20210226", - "13.0.0-nightly.20210301", - "13.0.0-nightly.20210302", - "13.0.0-nightly.20210303", - "14.0.0-nightly.20210304" + "13.0.0-beta.3" ], "90.0.4415.0": [ "13.0.0-beta.4", @@ -1267,39 +886,17 @@ module.exports = { "13.0.0-beta.7", "13.0.0-beta.8", "13.0.0-beta.9", + "13.0.0-beta.10", "13.0.0-beta.11", "13.0.0-beta.12", - "13.0.0-beta.13", - "14.0.0-nightly.20210305", - "14.0.0-nightly.20210308", - "14.0.0-nightly.20210309", - "14.0.0-nightly.20210311", - "14.0.0-nightly.20210315", - "14.0.0-nightly.20210316", - "14.0.0-nightly.20210317", - "14.0.0-nightly.20210318", - "14.0.0-nightly.20210319", - "14.0.0-nightly.20210323", - "14.0.0-nightly.20210324", - "14.0.0-nightly.20210325", - "14.0.0-nightly.20210326", - "14.0.0-nightly.20210329", - "14.0.0-nightly.20210330" + "13.0.0-beta.13" ], "91.0.4448.0": [ "13.0.0-beta.14", "13.0.0-beta.16", "13.0.0-beta.17", "13.0.0-beta.18", - "13.0.0-beta.20", - "14.0.0-nightly.20210331", - "14.0.0-nightly.20210401", - "14.0.0-nightly.20210402", - "14.0.0-nightly.20210406", - "14.0.0-nightly.20210407", - "14.0.0-nightly.20210408", - "14.0.0-nightly.20210409", - "14.0.0-nightly.20210413" + "13.0.0-beta.20" ], "91.0.4472.33": [ "13.0.0-beta.21", @@ -1308,40 +905,11 @@ module.exports = { ], "91.0.4472.38": [ "13.0.0-beta.24", + "13.0.0-beta.25", "13.0.0-beta.26", "13.0.0-beta.27", "13.0.0-beta.28" ], - "89.0.4349.0": [ - "13.0.0-nightly.20201215", - "13.0.0-nightly.20201216", - "13.0.0-nightly.20201221", - "13.0.0-nightly.20201222" - ], - "89.0.4359.0": [ - "13.0.0-nightly.20201223", - "13.0.0-nightly.20210104", - "13.0.0-nightly.20210108", - "13.0.0-nightly.20210111" - ], - "89.0.4386.0": [ - "13.0.0-nightly.20210113", - "13.0.0-nightly.20210114", - "13.0.0-nightly.20210118", - "13.0.0-nightly.20210122", - "13.0.0-nightly.20210125" - ], - "89.0.4389.0": [ - "13.0.0-nightly.20210127", - "13.0.0-nightly.20210128", - "13.0.0-nightly.20210129", - "13.0.0-nightly.20210201", - "13.0.0-nightly.20210202", - "13.0.0-nightly.20210203", - "13.0.0-nightly.20210205", - "13.0.0-nightly.20210208", - "13.0.0-nightly.20210209" - ], "91.0.4472.69": [ "13.0.0", "13.0.1" @@ -1384,35 +952,17 @@ module.exports = { "92.0.4511.0": [ "14.0.0-beta.1", "14.0.0-beta.2", - "14.0.0-beta.3", - "14.0.0-nightly.20210520", - "14.0.0-nightly.20210523", - "14.0.0-nightly.20210524", - "15.0.0-nightly.20210527", - "15.0.0-nightly.20210528", - "15.0.0-nightly.20210531", - "15.0.0-nightly.20210601", - "15.0.0-nightly.20210602" + "14.0.0-beta.3" ], "93.0.4536.0": [ "14.0.0-beta.5", "14.0.0-beta.6", "14.0.0-beta.7", - "14.0.0-beta.8", - "15.0.0-nightly.20210609", - "15.0.0-nightly.20210610", - "15.0.0-nightly.20210611", - "15.0.0-nightly.20210614", - "15.0.0-nightly.20210615", - "15.0.0-nightly.20210616" + "14.0.0-beta.8" ], "93.0.4539.0": [ "14.0.0-beta.9", - "14.0.0-beta.10", - "15.0.0-nightly.20210617", - "15.0.0-nightly.20210618", - "15.0.0-nightly.20210621", - "15.0.0-nightly.20210622" + "14.0.0-beta.10" ], "93.0.4557.4": [ "14.0.0-beta.11", @@ -1425,22 +975,7 @@ module.exports = { "14.0.0-beta.16", "14.0.0-beta.17", "15.0.0-alpha.1", - "15.0.0-alpha.2", - "15.0.0-nightly.20210706", - "15.0.0-nightly.20210707", - "15.0.0-nightly.20210708", - "15.0.0-nightly.20210709", - "15.0.0-nightly.20210712", - "15.0.0-nightly.20210713", - "15.0.0-nightly.20210714", - "15.0.0-nightly.20210715", - "15.0.0-nightly.20210716", - "15.0.0-nightly.20210719", - "15.0.0-nightly.20210720", - "15.0.0-nightly.20210721", - "16.0.0-nightly.20210722", - "16.0.0-nightly.20210723", - "16.0.0-nightly.20210726" + "15.0.0-alpha.2" ], "93.0.4577.15": [ "14.0.0-beta.18", @@ -1456,33 +991,6 @@ module.exports = { "14.0.0-beta.24", "14.0.0-beta.25" ], - "92.0.4475.0": [ - "14.0.0-nightly.20210426", - "14.0.0-nightly.20210427" - ], - "92.0.4488.0": [ - "14.0.0-nightly.20210430", - "14.0.0-nightly.20210503" - ], - "92.0.4496.0": [ - "14.0.0-nightly.20210505" - ], - "92.0.4498.0": [ - "14.0.0-nightly.20210506" - ], - "92.0.4499.0": [ - "14.0.0-nightly.20210507", - "14.0.0-nightly.20210510", - "14.0.0-nightly.20210511", - "14.0.0-nightly.20210512", - "14.0.0-nightly.20210513" - ], - "92.0.4505.0": [ - "14.0.0-nightly.20210514", - "14.0.0-nightly.20210517", - "14.0.0-nightly.20210518", - "14.0.0-nightly.20210519" - ], "93.0.4577.58": [ "14.0.0" ], @@ -1508,32 +1016,12 @@ module.exports = { "15.0.0-alpha.3", "15.0.0-alpha.4", "15.0.0-alpha.5", - "15.0.0-alpha.6", - "16.0.0-nightly.20210727", - "16.0.0-nightly.20210728", - "16.0.0-nightly.20210729", - "16.0.0-nightly.20210730", - "16.0.0-nightly.20210802", - "16.0.0-nightly.20210803", - "16.0.0-nightly.20210804", - "16.0.0-nightly.20210805", - "16.0.0-nightly.20210806", - "16.0.0-nightly.20210809", - "16.0.0-nightly.20210810", - "16.0.0-nightly.20210811" + "15.0.0-alpha.6" ], "94.0.4590.2": [ "15.0.0-alpha.7", "15.0.0-alpha.8", - "15.0.0-alpha.9", - "16.0.0-nightly.20210812", - "16.0.0-nightly.20210813", - "16.0.0-nightly.20210816", - "16.0.0-nightly.20210817", - "16.0.0-nightly.20210818", - "16.0.0-nightly.20210819", - "16.0.0-nightly.20210820", - "16.0.0-nightly.20210823" + "15.0.0-alpha.9" ], "94.0.4606.12": [ "15.0.0-alpha.10" @@ -1549,28 +1037,6 @@ module.exports = { "15.0.0-beta.6", "15.0.0-beta.7" ], - "93.0.4530.0": [ - "15.0.0-nightly.20210603", - "15.0.0-nightly.20210604" - ], - "93.0.4535.0": [ - "15.0.0-nightly.20210608" - ], - "93.0.4550.0": [ - "15.0.0-nightly.20210623", - "15.0.0-nightly.20210624" - ], - "93.0.4552.0": [ - "15.0.0-nightly.20210625", - "15.0.0-nightly.20210628", - "15.0.0-nightly.20210629" - ], - "93.0.4558.0": [ - "15.0.0-nightly.20210630", - "15.0.0-nightly.20210701", - "15.0.0-nightly.20210702", - "15.0.0-nightly.20210705" - ], "94.0.4606.51": [ "15.0.0" ], @@ -1610,50 +1076,14 @@ module.exports = { "16.0.0-alpha.4", "16.0.0-alpha.5", "16.0.0-alpha.6", - "16.0.0-alpha.7", - "16.0.0-nightly.20210902", - "16.0.0-nightly.20210903", - "16.0.0-nightly.20210906", - "16.0.0-nightly.20210907", - "16.0.0-nightly.20210908", - "16.0.0-nightly.20210909", - "16.0.0-nightly.20210910", - "16.0.0-nightly.20210913", - "16.0.0-nightly.20210914", - "16.0.0-nightly.20210915", - "16.0.0-nightly.20210916", - "16.0.0-nightly.20210917", - "16.0.0-nightly.20210920", - "16.0.0-nightly.20210921", - "16.0.0-nightly.20210922", - "17.0.0-nightly.20210923", - "17.0.0-nightly.20210924", - "17.0.0-nightly.20210927", - "17.0.0-nightly.20210928", - "17.0.0-nightly.20210929", - "17.0.0-nightly.20210930", - "17.0.0-nightly.20211001", - "17.0.0-nightly.20211004", - "17.0.0-nightly.20211005" + "16.0.0-alpha.7" ], "96.0.4647.0": [ "16.0.0-alpha.8", "16.0.0-alpha.9", "16.0.0-beta.1", "16.0.0-beta.2", - "16.0.0-beta.3", - "17.0.0-nightly.20211006", - "17.0.0-nightly.20211007", - "17.0.0-nightly.20211008", - "17.0.0-nightly.20211011", - "17.0.0-nightly.20211012", - "17.0.0-nightly.20211013", - "17.0.0-nightly.20211014", - "17.0.0-nightly.20211015", - "17.0.0-nightly.20211018", - "17.0.0-nightly.20211019", - "17.0.0-nightly.20211020", - "17.0.0-nightly.20211021" + "16.0.0-beta.3" ], "96.0.4664.18": [ "16.0.0-beta.4", @@ -1667,15 +1097,6 @@ module.exports = { "16.0.0-beta.8", "16.0.0-beta.9" ], - "95.0.4612.5": [ - "16.0.0-nightly.20210824", - "16.0.0-nightly.20210825", - "16.0.0-nightly.20210826", - "16.0.0-nightly.20210827", - "16.0.0-nightly.20210830", - "16.0.0-nightly.20210831", - "16.0.0-nightly.20210901" - ], "96.0.4664.45": [ "16.0.0", "16.0.1" @@ -1709,68 +1130,14 @@ module.exports = { "96.0.4664.4": [ "17.0.0-alpha.1", "17.0.0-alpha.2", - "17.0.0-alpha.3", - "17.0.0-nightly.20211022", - "17.0.0-nightly.20211025", - "17.0.0-nightly.20211026", - "17.0.0-nightly.20211027", - "17.0.0-nightly.20211028", - "17.0.0-nightly.20211029", - "17.0.0-nightly.20211101", - "17.0.0-nightly.20211102", - "17.0.0-nightly.20211103", - "17.0.0-nightly.20211104", - "17.0.0-nightly.20211105", - "17.0.0-nightly.20211108", - "17.0.0-nightly.20211109", - "17.0.0-nightly.20211110", - "17.0.0-nightly.20211111", - "17.0.0-nightly.20211112", - "17.0.0-nightly.20211115", - "17.0.0-nightly.20211116", - "17.0.0-nightly.20211117", - "18.0.0-nightly.20211118", - "18.0.0-nightly.20211119", - "18.0.0-nightly.20211122", - "18.0.0-nightly.20211123" + "17.0.0-alpha.3" ], "98.0.4706.0": [ "17.0.0-alpha.4", "17.0.0-alpha.5", "17.0.0-alpha.6", "17.0.0-beta.1", - "17.0.0-beta.2", - "18.0.0-nightly.20211124", - "18.0.0-nightly.20211125", - "18.0.0-nightly.20211126", - "18.0.0-nightly.20211129", - "18.0.0-nightly.20211130", - "18.0.0-nightly.20211201", - "18.0.0-nightly.20211202", - "18.0.0-nightly.20211203", - "18.0.0-nightly.20211206", - "18.0.0-nightly.20211207", - "18.0.0-nightly.20211208", - "18.0.0-nightly.20211209", - "18.0.0-nightly.20211210", - "18.0.0-nightly.20211213", - "18.0.0-nightly.20211214", - "18.0.0-nightly.20211215", - "18.0.0-nightly.20211216", - "18.0.0-nightly.20211217", - "18.0.0-nightly.20211220", - "18.0.0-nightly.20211221", - "18.0.0-nightly.20211222", - "18.0.0-nightly.20211223", - "18.0.0-nightly.20211228", - "18.0.0-nightly.20211229", - "18.0.0-nightly.20211231", - "18.0.0-nightly.20220103", - "18.0.0-nightly.20220104", - "18.0.0-nightly.20220105", - "18.0.0-nightly.20220106", - "18.0.0-nightly.20220107", - "18.0.0-nightly.20220110" + "17.0.0-beta.2" ], "98.0.4758.9": [ "17.0.0-beta.3" @@ -1818,27 +1185,7 @@ module.exports = { "18.0.0-alpha.2", "18.0.0-alpha.3", "18.0.0-alpha.4", - "18.0.0-alpha.5", - "18.0.0-nightly.20220111", - "18.0.0-nightly.20220112", - "18.0.0-nightly.20220113", - "18.0.0-nightly.20220114", - "18.0.0-nightly.20220117", - "18.0.0-nightly.20220118", - "18.0.0-nightly.20220119", - "18.0.0-nightly.20220121", - "18.0.0-nightly.20220124", - "18.0.0-nightly.20220125", - "18.0.0-nightly.20220127", - "18.0.0-nightly.20220128", - "18.0.0-nightly.20220131", - "18.0.0-nightly.20220201", - "19.0.0-nightly.20220202", - "19.0.0-nightly.20220203", - "19.0.0-nightly.20220204", - "19.0.0-nightly.20220207", - "19.0.0-nightly.20220208", - "19.0.0-nightly.20220209" + "18.0.0-alpha.5" ], "100.0.4894.0": [ "18.0.0-beta.1", @@ -1846,20 +1193,7 @@ module.exports = { "18.0.0-beta.3", "18.0.0-beta.4", "18.0.0-beta.5", - "18.0.0-beta.6", - "19.0.0-nightly.20220308", - "19.0.0-nightly.20220309", - "19.0.0-nightly.20220310", - "19.0.0-nightly.20220311", - "19.0.0-nightly.20220314", - "19.0.0-nightly.20220315", - "19.0.0-nightly.20220316", - "19.0.0-nightly.20220317", - "19.0.0-nightly.20220318", - "19.0.0-nightly.20220321", - "19.0.0-nightly.20220322", - "19.0.0-nightly.20220323", - "19.0.0-nightly.20220324" + "18.0.0-beta.6" ], "100.0.4896.56": [ "18.0.0" @@ -1900,46 +1234,20 @@ module.exports = { "18.3.15" ], "102.0.4962.3": [ - "19.0.0-alpha.1", - "19.0.0-nightly.20220328", - "19.0.0-nightly.20220329", - "20.0.0-nightly.20220330" + "19.0.0-alpha.1" ], "102.0.4971.0": [ "19.0.0-alpha.2", - "19.0.0-alpha.3", - "20.0.0-nightly.20220411" + "19.0.0-alpha.3" ], "102.0.4989.0": [ "19.0.0-alpha.4", - "19.0.0-alpha.5", - "20.0.0-nightly.20220414", - "20.0.0-nightly.20220415", - "20.0.0-nightly.20220418", - "20.0.0-nightly.20220419", - "20.0.0-nightly.20220420", - "20.0.0-nightly.20220421" + "19.0.0-alpha.5" ], "102.0.4999.0": [ "19.0.0-beta.1", "19.0.0-beta.2", - "19.0.0-beta.3", - "20.0.0-nightly.20220425", - "20.0.0-nightly.20220426", - "20.0.0-nightly.20220427", - "20.0.0-nightly.20220428", - "20.0.0-nightly.20220429", - "20.0.0-nightly.20220502", - "20.0.0-nightly.20220503", - "20.0.0-nightly.20220504", - "20.0.0-nightly.20220505", - "20.0.0-nightly.20220506", - "20.0.0-nightly.20220509", - "20.0.0-nightly.20220511", - "20.0.0-nightly.20220512", - "20.0.0-nightly.20220513", - "20.0.0-nightly.20220516", - "20.0.0-nightly.20220517" + "19.0.0-beta.3" ], "102.0.5005.27": [ "19.0.0-beta.4" @@ -1952,9 +1260,6 @@ module.exports = { "102.0.5005.49": [ "19.0.0-beta.8" ], - "102.0.4961.0": [ - "19.0.0-nightly.20220325" - ], "102.0.5005.61": [ "19.0.0", "19.0.1" @@ -1987,19 +1292,16 @@ module.exports = { "19.1.0", "19.1.1", "19.1.2", - "19.1.3" + "19.1.3", + "19.1.4", + "19.1.5", + "19.1.6", + "19.1.7", + "19.1.8", + "19.1.9" ], "103.0.5044.0": [ - "20.0.0-alpha.1", - "20.0.0-nightly.20220518", - "20.0.0-nightly.20220519", - "20.0.0-nightly.20220520", - "20.0.0-nightly.20220523", - "20.0.0-nightly.20220524", - "21.0.0-nightly.20220526", - "21.0.0-nightly.20220527", - "21.0.0-nightly.20220530", - "21.0.0-nightly.20220531" + "20.0.0-alpha.1" ], "104.0.5073.0": [ "20.0.0-alpha.2", @@ -2015,25 +1317,7 @@ module.exports = { "20.0.0-beta.5", "20.0.0-beta.6", "20.0.0-beta.7", - "20.0.0-beta.8", - "21.0.0-nightly.20220602", - "21.0.0-nightly.20220603", - "21.0.0-nightly.20220606", - "21.0.0-nightly.20220607", - "21.0.0-nightly.20220608", - "21.0.0-nightly.20220609", - "21.0.0-nightly.20220610", - "21.0.0-nightly.20220613", - "21.0.0-nightly.20220614", - "21.0.0-nightly.20220615", - "21.0.0-nightly.20220616", - "21.0.0-nightly.20220617", - "21.0.0-nightly.20220620", - "21.0.0-nightly.20220621", - "21.0.0-nightly.20220622", - "21.0.0-nightly.20220623", - "21.0.0-nightly.20220624", - "21.0.0-nightly.20220627" + "20.0.0-beta.8" ], "104.0.5112.39": [ "20.0.0-beta.9" @@ -2067,31 +1351,24 @@ module.exports = { "20.2.0", "20.3.0", "20.3.1", - "20.3.2" + "20.3.2", + "20.3.3", + "20.3.4", + "20.3.5", + "20.3.6", + "20.3.7", + "20.3.8", + "20.3.9", + "20.3.10", + "20.3.11", + "20.3.12" ], "105.0.5187.0": [ "21.0.0-alpha.1", "21.0.0-alpha.2", "21.0.0-alpha.3", "21.0.0-alpha.4", - "21.0.0-alpha.5", - "21.0.0-nightly.20220720", - "21.0.0-nightly.20220721", - "21.0.0-nightly.20220722", - "21.0.0-nightly.20220725", - "21.0.0-nightly.20220726", - "21.0.0-nightly.20220727", - "21.0.0-nightly.20220728", - "21.0.0-nightly.20220801", - "21.0.0-nightly.20220802", - "22.0.0-nightly.20220808", - "22.0.0-nightly.20220809", - "22.0.0-nightly.20220810", - "22.0.0-nightly.20220811", - "22.0.0-nightly.20220812", - "22.0.0-nightly.20220815", - "22.0.0-nightly.20220816", - "22.0.0-nightly.20220817" + "21.0.0-alpha.5" ], "106.0.5216.0": [ "21.0.0-alpha.6", @@ -2099,42 +1376,13 @@ module.exports = { "21.0.0-beta.2", "21.0.0-beta.3", "21.0.0-beta.4", - "21.0.0-beta.5", - "22.0.0-nightly.20220822", - "22.0.0-nightly.20220823", - "22.0.0-nightly.20220824", - "22.0.0-nightly.20220825", - "22.0.0-nightly.20220829", - "22.0.0-nightly.20220830", - "22.0.0-nightly.20220831", - "22.0.0-nightly.20220901", - "22.0.0-nightly.20220902", - "22.0.0-nightly.20220905" + "21.0.0-beta.5" ], "106.0.5249.40": [ "21.0.0-beta.6", "21.0.0-beta.7", "21.0.0-beta.8" ], - "105.0.5129.0": [ - "21.0.0-nightly.20220628", - "21.0.0-nightly.20220629", - "21.0.0-nightly.20220630", - "21.0.0-nightly.20220701", - "21.0.0-nightly.20220704", - "21.0.0-nightly.20220705", - "21.0.0-nightly.20220706", - "21.0.0-nightly.20220707", - "21.0.0-nightly.20220708", - "21.0.0-nightly.20220711", - "21.0.0-nightly.20220712", - "21.0.0-nightly.20220713" - ], - "105.0.5173.0": [ - "21.0.0-nightly.20220715", - "21.0.0-nightly.20220718", - "21.0.0-nightly.20220719" - ], "106.0.5249.51": [ "21.0.0" ], @@ -2147,42 +1395,812 @@ module.exports = { "106.0.5249.103": [ "21.1.1" ], + "106.0.5249.119": [ + "21.2.0" + ], + "106.0.5249.165": [ + "21.2.1" + ], + "106.0.5249.168": [ + "21.2.2", + "21.2.3" + ], + "106.0.5249.181": [ + "21.3.0", + "21.3.1" + ], + "106.0.5249.199": [ + "21.3.3", + "21.3.4", + "21.3.5", + "21.4.0", + "21.4.1", + "21.4.2", + "21.4.3", + "21.4.4" + ], "107.0.5286.0": [ - "22.0.0-alpha.1", - "22.0.0-nightly.20220909", - "22.0.0-nightly.20220912", - "22.0.0-nightly.20220913", - "22.0.0-nightly.20220914", - "22.0.0-nightly.20220915", - "22.0.0-nightly.20220916", - "22.0.0-nightly.20220919", - "22.0.0-nightly.20220920", - "22.0.0-nightly.20220921", - "22.0.0-nightly.20220922", - "22.0.0-nightly.20220923", - "22.0.0-nightly.20220926", - "22.0.0-nightly.20220927", - "22.0.0-nightly.20220928", - "23.0.0-nightly.20220929", - "23.0.0-nightly.20220930", - "23.0.0-nightly.20221003" + "22.0.0-alpha.1" ], "108.0.5329.0": [ "22.0.0-alpha.3", "22.0.0-alpha.4", "22.0.0-alpha.5", - "23.0.0-nightly.20221004", - "23.0.0-nightly.20221005", - "23.0.0-nightly.20221006", - "23.0.0-nightly.20221007", - "23.0.0-nightly.20221010", - "23.0.0-nightly.20221011", - "23.0.0-nightly.20221012", - "23.0.0-nightly.20221013", - "23.0.0-nightly.20221014", - "23.0.0-nightly.20221017" - ], - "107.0.5274.0": [ - "22.0.0-nightly.20220908" + "22.0.0-alpha.6" + ], + "108.0.5355.0": [ + "22.0.0-alpha.7" + ], + "108.0.5359.10": [ + "22.0.0-alpha.8", + "22.0.0-beta.1", + "22.0.0-beta.2", + "22.0.0-beta.3" + ], + "108.0.5359.29": [ + "22.0.0-beta.4" + ], + "108.0.5359.40": [ + "22.0.0-beta.5", + "22.0.0-beta.6" + ], + "108.0.5359.48": [ + "22.0.0-beta.7", + "22.0.0-beta.8" + ], + "108.0.5359.62": [ + "22.0.0" + ], + "108.0.5359.125": [ + "22.0.1" + ], + "108.0.5359.179": [ + "22.0.2", + "22.0.3", + "22.1.0" + ], + "108.0.5359.215": [ + "22.2.0", + "22.2.1", + "22.3.0", + "22.3.1", + "22.3.2", + "22.3.3", + "22.3.4", + "22.3.5", + "22.3.6", + "22.3.7", + "22.3.8", + "22.3.9", + "22.3.10", + "22.3.11", + "22.3.12", + "22.3.13", + "22.3.14", + "22.3.15", + "22.3.16", + "22.3.17", + "22.3.18", + "22.3.20", + "22.3.21", + "22.3.22", + "22.3.23", + "22.3.24", + "22.3.25", + "22.3.26", + "22.3.27" + ], + "110.0.5415.0": [ + "23.0.0-alpha.1" + ], + "110.0.5451.0": [ + "23.0.0-alpha.2", + "23.0.0-alpha.3" + ], + "110.0.5478.5": [ + "23.0.0-beta.1", + "23.0.0-beta.2", + "23.0.0-beta.3" + ], + "110.0.5481.30": [ + "23.0.0-beta.4" + ], + "110.0.5481.38": [ + "23.0.0-beta.5" + ], + "110.0.5481.52": [ + "23.0.0-beta.6", + "23.0.0-beta.8" + ], + "110.0.5481.77": [ + "23.0.0" + ], + "110.0.5481.100": [ + "23.1.0" + ], + "110.0.5481.104": [ + "23.1.1" + ], + "110.0.5481.177": [ + "23.1.2" + ], + "110.0.5481.179": [ + "23.1.3" + ], + "110.0.5481.192": [ + "23.1.4", + "23.2.0" + ], + "110.0.5481.208": [ + "23.2.1", + "23.2.2", + "23.2.3", + "23.2.4", + "23.3.0", + "23.3.1", + "23.3.2", + "23.3.3", + "23.3.4", + "23.3.5", + "23.3.6", + "23.3.7", + "23.3.8", + "23.3.9", + "23.3.10", + "23.3.11", + "23.3.12", + "23.3.13" + ], + "111.0.5560.0": [ + "24.0.0-alpha.1", + "24.0.0-alpha.2", + "24.0.0-alpha.3", + "24.0.0-alpha.4", + "24.0.0-alpha.5", + "24.0.0-alpha.6", + "24.0.0-alpha.7" + ], + "111.0.5563.50": [ + "24.0.0-beta.1", + "24.0.0-beta.2" + ], + "112.0.5615.20": [ + "24.0.0-beta.3", + "24.0.0-beta.4" + ], + "112.0.5615.29": [ + "24.0.0-beta.5" + ], + "112.0.5615.39": [ + "24.0.0-beta.6", + "24.0.0-beta.7" + ], + "112.0.5615.49": [ + "24.0.0" + ], + "112.0.5615.50": [ + "24.1.0", + "24.1.1" + ], + "112.0.5615.87": [ + "24.1.2" + ], + "112.0.5615.165": [ + "24.1.3", + "24.2.0", + "24.3.0" + ], + "112.0.5615.183": [ + "24.3.1" + ], + "112.0.5615.204": [ + "24.4.0", + "24.4.1", + "24.5.0", + "24.5.1", + "24.6.0", + "24.6.1", + "24.6.2", + "24.6.3", + "24.6.4", + "24.6.5", + "24.7.0", + "24.7.1", + "24.8.0", + "24.8.1", + "24.8.2", + "24.8.3", + "24.8.4", + "24.8.5", + "24.8.6", + "24.8.7", + "24.8.8" + ], + "114.0.5694.0": [ + "25.0.0-alpha.1", + "25.0.0-alpha.2" + ], + "114.0.5710.0": [ + "25.0.0-alpha.3", + "25.0.0-alpha.4" + ], + "114.0.5719.0": [ + "25.0.0-alpha.5", + "25.0.0-alpha.6", + "25.0.0-beta.1", + "25.0.0-beta.2", + "25.0.0-beta.3" + ], + "114.0.5735.16": [ + "25.0.0-beta.4", + "25.0.0-beta.5", + "25.0.0-beta.6", + "25.0.0-beta.7" + ], + "114.0.5735.35": [ + "25.0.0-beta.8" + ], + "114.0.5735.45": [ + "25.0.0-beta.9", + "25.0.0", + "25.0.1" + ], + "114.0.5735.106": [ + "25.1.0", + "25.1.1" + ], + "114.0.5735.134": [ + "25.2.0" + ], + "114.0.5735.199": [ + "25.3.0" + ], + "114.0.5735.243": [ + "25.3.1" + ], + "114.0.5735.248": [ + "25.3.2", + "25.4.0" + ], + "114.0.5735.289": [ + "25.5.0", + "25.6.0", + "25.7.0", + "25.8.0", + "25.8.1", + "25.8.2", + "25.8.3", + "25.8.4", + "25.9.0", + "25.9.1", + "25.9.2", + "25.9.3", + "25.9.4", + "25.9.5", + "25.9.6", + "25.9.7", + "25.9.8" + ], + "116.0.5791.0": [ + "26.0.0-alpha.1", + "26.0.0-alpha.2", + "26.0.0-alpha.3", + "26.0.0-alpha.4", + "26.0.0-alpha.5" + ], + "116.0.5815.0": [ + "26.0.0-alpha.6" + ], + "116.0.5831.0": [ + "26.0.0-alpha.7" + ], + "116.0.5845.0": [ + "26.0.0-alpha.8", + "26.0.0-beta.1" + ], + "116.0.5845.14": [ + "26.0.0-beta.2", + "26.0.0-beta.3", + "26.0.0-beta.4", + "26.0.0-beta.5", + "26.0.0-beta.6", + "26.0.0-beta.7" + ], + "116.0.5845.42": [ + "26.0.0-beta.8", + "26.0.0-beta.9" + ], + "116.0.5845.49": [ + "26.0.0-beta.10", + "26.0.0-beta.11" + ], + "116.0.5845.62": [ + "26.0.0-beta.12" + ], + "116.0.5845.82": [ + "26.0.0" + ], + "116.0.5845.97": [ + "26.1.0" + ], + "116.0.5845.179": [ + "26.2.0" + ], + "116.0.5845.188": [ + "26.2.1" + ], + "116.0.5845.190": [ + "26.2.2", + "26.2.3", + "26.2.4" + ], + "116.0.5845.228": [ + "26.3.0", + "26.4.0", + "26.4.1", + "26.4.2", + "26.4.3", + "26.5.0", + "26.6.0", + "26.6.1", + "26.6.2", + "26.6.3", + "26.6.4", + "26.6.5", + "26.6.6", + "26.6.7", + "26.6.8", + "26.6.9", + "26.6.10" + ], + "118.0.5949.0": [ + "27.0.0-alpha.1", + "27.0.0-alpha.2", + "27.0.0-alpha.3", + "27.0.0-alpha.4", + "27.0.0-alpha.5", + "27.0.0-alpha.6" + ], + "118.0.5993.5": [ + "27.0.0-beta.1", + "27.0.0-beta.2", + "27.0.0-beta.3" + ], + "118.0.5993.11": [ + "27.0.0-beta.4" + ], + "118.0.5993.18": [ + "27.0.0-beta.5", + "27.0.0-beta.6", + "27.0.0-beta.7", + "27.0.0-beta.8", + "27.0.0-beta.9" + ], + "118.0.5993.54": [ + "27.0.0" + ], + "118.0.5993.89": [ + "27.0.1", + "27.0.2" + ], + "118.0.5993.120": [ + "27.0.3" + ], + "118.0.5993.129": [ + "27.0.4" + ], + "118.0.5993.144": [ + "27.1.0", + "27.1.2" + ], + "118.0.5993.159": [ + "27.1.3", + "27.2.0", + "27.2.1", + "27.2.2", + "27.2.3", + "27.2.4", + "27.3.0", + "27.3.1", + "27.3.2", + "27.3.3", + "27.3.4", + "27.3.5", + "27.3.6", + "27.3.7", + "27.3.8", + "27.3.9", + "27.3.10", + "27.3.11" + ], + "119.0.6045.0": [ + "28.0.0-alpha.1", + "28.0.0-alpha.2" + ], + "119.0.6045.21": [ + "28.0.0-alpha.3", + "28.0.0-alpha.4" + ], + "119.0.6045.33": [ + "28.0.0-alpha.5", + "28.0.0-alpha.6", + "28.0.0-alpha.7", + "28.0.0-beta.1" + ], + "120.0.6099.0": [ + "28.0.0-beta.2" + ], + "120.0.6099.5": [ + "28.0.0-beta.3", + "28.0.0-beta.4" + ], + "120.0.6099.18": [ + "28.0.0-beta.5", + "28.0.0-beta.6", + "28.0.0-beta.7", + "28.0.0-beta.8", + "28.0.0-beta.9", + "28.0.0-beta.10" + ], + "120.0.6099.35": [ + "28.0.0-beta.11" + ], + "120.0.6099.56": [ + "28.0.0" + ], + "120.0.6099.109": [ + "28.1.0", + "28.1.1" + ], + "120.0.6099.199": [ + "28.1.2", + "28.1.3" + ], + "120.0.6099.216": [ + "28.1.4" + ], + "120.0.6099.227": [ + "28.2.0" + ], + "120.0.6099.268": [ + "28.2.1" + ], + "120.0.6099.276": [ + "28.2.2" + ], + "120.0.6099.283": [ + "28.2.3" + ], + "120.0.6099.291": [ + "28.2.4", + "28.2.5", + "28.2.6", + "28.2.7", + "28.2.8", + "28.2.9", + "28.2.10", + "28.3.0", + "28.3.1", + "28.3.2", + "28.3.3" + ], + "121.0.6147.0": [ + "29.0.0-alpha.1", + "29.0.0-alpha.2", + "29.0.0-alpha.3" + ], + "121.0.6159.0": [ + "29.0.0-alpha.4", + "29.0.0-alpha.5", + "29.0.0-alpha.6", + "29.0.0-alpha.7" + ], + "122.0.6194.0": [ + "29.0.0-alpha.8" + ], + "122.0.6236.2": [ + "29.0.0-alpha.9", + "29.0.0-alpha.10", + "29.0.0-alpha.11", + "29.0.0-beta.1", + "29.0.0-beta.2" + ], + "122.0.6261.6": [ + "29.0.0-beta.3", + "29.0.0-beta.4" + ], + "122.0.6261.18": [ + "29.0.0-beta.5", + "29.0.0-beta.6", + "29.0.0-beta.7", + "29.0.0-beta.8", + "29.0.0-beta.9", + "29.0.0-beta.10", + "29.0.0-beta.11" + ], + "122.0.6261.29": [ + "29.0.0-beta.12" + ], + "122.0.6261.39": [ + "29.0.0" + ], + "122.0.6261.57": [ + "29.0.1" + ], + "122.0.6261.70": [ + "29.1.0" + ], + "122.0.6261.111": [ + "29.1.1" + ], + "122.0.6261.112": [ + "29.1.2", + "29.1.3" + ], + "122.0.6261.129": [ + "29.1.4" + ], + "122.0.6261.130": [ + "29.1.5" + ], + "122.0.6261.139": [ + "29.1.6" + ], + "122.0.6261.156": [ + "29.2.0", + "29.3.0", + "29.3.1", + "29.3.2", + "29.3.3", + "29.4.0", + "29.4.1", + "29.4.2", + "29.4.3", + "29.4.4", + "29.4.5", + "29.4.6" + ], + "123.0.6296.0": [ + "30.0.0-alpha.1" + ], + "123.0.6312.5": [ + "30.0.0-alpha.2" + ], + "124.0.6323.0": [ + "30.0.0-alpha.3", + "30.0.0-alpha.4" + ], + "124.0.6331.0": [ + "30.0.0-alpha.5", + "30.0.0-alpha.6" + ], + "124.0.6353.0": [ + "30.0.0-alpha.7" + ], + "124.0.6359.0": [ + "30.0.0-beta.1", + "30.0.0-beta.2" + ], + "124.0.6367.9": [ + "30.0.0-beta.3", + "30.0.0-beta.4", + "30.0.0-beta.5" + ], + "124.0.6367.18": [ + "30.0.0-beta.6" + ], + "124.0.6367.29": [ + "30.0.0-beta.7", + "30.0.0-beta.8" + ], + "124.0.6367.49": [ + "30.0.0" + ], + "124.0.6367.60": [ + "30.0.1" + ], + "124.0.6367.91": [ + "30.0.2" + ], + "124.0.6367.119": [ + "30.0.3" + ], + "124.0.6367.201": [ + "30.0.4" + ], + "124.0.6367.207": [ + "30.0.5", + "30.0.6" + ], + "124.0.6367.221": [ + "30.0.7" + ], + "124.0.6367.230": [ + "30.0.8" + ], + "124.0.6367.233": [ + "30.0.9" + ], + "124.0.6367.243": [ + "30.1.0", + "30.1.1", + "30.1.2", + "30.2.0", + "30.3.0", + "30.3.1", + "30.4.0", + "30.5.0", + "30.5.1" + ], + "125.0.6412.0": [ + "31.0.0-alpha.1", + "31.0.0-alpha.2", + "31.0.0-alpha.3", + "31.0.0-alpha.4", + "31.0.0-alpha.5" + ], + "126.0.6445.0": [ + "31.0.0-beta.1", + "31.0.0-beta.2", + "31.0.0-beta.3", + "31.0.0-beta.4", + "31.0.0-beta.5", + "31.0.0-beta.6", + "31.0.0-beta.7", + "31.0.0-beta.8", + "31.0.0-beta.9" + ], + "126.0.6478.36": [ + "31.0.0-beta.10", + "31.0.0", + "31.0.1" + ], + "126.0.6478.61": [ + "31.0.2" + ], + "126.0.6478.114": [ + "31.1.0" + ], + "126.0.6478.127": [ + "31.2.0", + "31.2.1" + ], + "126.0.6478.183": [ + "31.3.0" + ], + "126.0.6478.185": [ + "31.3.1" + ], + "126.0.6478.234": [ + "31.4.0", + "31.5.0", + "31.6.0", + "31.7.0", + "31.7.1", + "31.7.2", + "31.7.3", + "31.7.4", + "31.7.5" + ], + "127.0.6521.0": [ + "32.0.0-alpha.1", + "32.0.0-alpha.2", + "32.0.0-alpha.3", + "32.0.0-alpha.4", + "32.0.0-alpha.5" + ], + "128.0.6571.0": [ + "32.0.0-alpha.6", + "32.0.0-alpha.7" + ], + "128.0.6573.0": [ + "32.0.0-alpha.8", + "32.0.0-alpha.9", + "32.0.0-alpha.10", + "32.0.0-beta.1" + ], + "128.0.6611.0": [ + "32.0.0-beta.2" + ], + "128.0.6613.7": [ + "32.0.0-beta.3" + ], + "128.0.6613.18": [ + "32.0.0-beta.4" + ], + "128.0.6613.27": [ + "32.0.0-beta.5", + "32.0.0-beta.6", + "32.0.0-beta.7" + ], + "128.0.6613.36": [ + "32.0.0", + "32.0.1" + ], + "128.0.6613.84": [ + "32.0.2" + ], + "128.0.6613.120": [ + "32.1.0" + ], + "128.0.6613.137": [ + "32.1.1" + ], + "128.0.6613.162": [ + "32.1.2" + ], + "128.0.6613.178": [ + "32.2.0" + ], + "128.0.6613.186": [ + "32.2.1", + "32.2.2", + "32.2.3", + "32.2.4", + "32.2.5" + ], + "129.0.6668.0": [ + "33.0.0-alpha.1" + ], + "130.0.6672.0": [ + "33.0.0-alpha.2", + "33.0.0-alpha.3", + "33.0.0-alpha.4", + "33.0.0-alpha.5", + "33.0.0-alpha.6", + "33.0.0-beta.1", + "33.0.0-beta.2", + "33.0.0-beta.3", + "33.0.0-beta.4" + ], + "130.0.6723.19": [ + "33.0.0-beta.5", + "33.0.0-beta.6", + "33.0.0-beta.7" + ], + "130.0.6723.31": [ + "33.0.0-beta.8", + "33.0.0-beta.9", + "33.0.0-beta.10" + ], + "130.0.6723.44": [ + "33.0.0-beta.11", + "33.0.0" + ], + "130.0.6723.59": [ + "33.0.1", + "33.0.2" + ], + "130.0.6723.91": [ + "33.1.0" + ], + "130.0.6723.118": [ + "33.2.0" + ], + "131.0.6776.0": [ + "34.0.0-alpha.1" + ], + "132.0.6779.0": [ + "34.0.0-alpha.2" + ], + "132.0.6789.1": [ + "34.0.0-alpha.3", + "34.0.0-alpha.4", + "34.0.0-alpha.5", + "34.0.0-alpha.6", + "34.0.0-alpha.7" + ], + "132.0.6820.0": [ + "34.0.0-alpha.8" + ], + "132.0.6824.0": [ + "34.0.0-alpha.9", + "34.0.0-beta.1", + "34.0.0-beta.2", + "34.0.0-beta.3" + ], + "132.0.6834.6": [ + "34.0.0-beta.4", + "34.0.0-beta.5" ] }; \ No newline at end of file diff --git a/node_modules/electron-to-chromium/full-chromium-versions.json b/node_modules/electron-to-chromium/full-chromium-versions.json index 7e05839e6c..9be55b37e7 100644 --- a/node_modules/electron-to-chromium/full-chromium-versions.json +++ b/node_modules/electron-to-chromium/full-chromium-versions.json @@ -1 +1 @@ -{"39.0.2171.65":["0.20.0","0.20.1","0.20.2","0.20.3","0.20.4","0.20.5","0.20.6","0.20.7","0.20.8"],"40.0.2214.91":["0.21.0","0.21.1","0.21.2"],"41.0.2272.76":["0.21.3","0.22.1","0.22.2","0.22.3","0.23.0","0.24.0"],"42.0.2311.107":["0.25.0","0.25.1","0.25.2","0.25.3","0.26.0","0.26.1","0.27.0","0.27.1"],"43.0.2357.65":["0.27.2","0.27.3","0.28.0","0.28.1","0.28.2","0.28.3","0.29.1","0.29.2"],"44.0.2403.125":["0.30.4","0.31.0"],"45.0.2454.85":["0.31.2","0.32.2","0.32.3","0.33.0","0.33.1","0.33.2","0.33.3","0.33.4","0.33.6","0.33.7","0.33.8","0.33.9","0.34.0","0.34.1","0.34.2","0.34.3","0.34.4","0.35.1","0.35.2","0.35.3","0.35.4","0.35.5"],"47.0.2526.73":["0.36.0","0.36.2","0.36.3","0.36.4"],"47.0.2526.110":["0.36.5","0.36.6","0.36.7","0.36.8","0.36.9","0.36.10","0.36.11","0.36.12"],"49.0.2623.75":["0.37.0","0.37.1","0.37.3","0.37.4","0.37.5","0.37.6","0.37.7","0.37.8","1.0.0","1.0.1","1.0.2"],"50.0.2661.102":["1.1.0","1.1.1","1.1.2","1.1.3"],"51.0.2704.63":["1.2.0","1.2.1"],"51.0.2704.84":["1.2.2","1.2.3"],"51.0.2704.103":["1.2.4","1.2.5"],"51.0.2704.106":["1.2.6","1.2.7","1.2.8"],"52.0.2743.82":["1.3.0","1.3.1","1.3.2","1.3.3","1.3.4","1.3.5","1.3.6","1.3.7","1.3.9","1.3.10","1.3.13","1.3.14","1.3.15"],"53.0.2785.113":["1.4.0","1.4.1","1.4.2","1.4.3","1.4.4","1.4.5"],"53.0.2785.143":["1.4.6","1.4.7","1.4.8","1.4.10","1.4.11","1.4.13","1.4.14","1.4.15","1.4.16"],"54.0.2840.51":["1.4.12"],"54.0.2840.101":["1.5.0","1.5.1"],"56.0.2924.87":["1.6.0","1.6.1","1.6.2","1.6.3","1.6.4","1.6.5","1.6.6","1.6.7","1.6.8","1.6.9","1.6.10","1.6.11","1.6.12","1.6.13","1.6.14","1.6.15","1.6.16","1.6.17","1.6.18"],"58.0.3029.110":["1.7.0","1.7.1","1.7.2","1.7.3","1.7.4","1.7.5","1.7.6","1.7.7","1.7.8","1.7.9","1.7.10","1.7.11","1.7.12","1.7.13","1.7.14","1.7.15","1.7.16"],"59.0.3071.115":["1.8.0","1.8.1","1.8.2-beta.1","1.8.2-beta.2","1.8.2-beta.3","1.8.2-beta.4","1.8.2-beta.5","1.8.2","1.8.3","1.8.4","1.8.5","1.8.6","1.8.7","1.8.8"],"61.0.3163.100":["2.0.0-beta.1","2.0.0-beta.2","2.0.0-beta.3","2.0.0-beta.4","2.0.0-beta.5","2.0.0-beta.6","2.0.0-beta.7","2.0.0-beta.8","2.0.0","2.0.1","2.0.2","2.0.3","2.0.4","2.0.5","2.0.6","2.0.7","2.0.8-nightly.20180819","2.0.8-nightly.20180820","2.0.8","2.0.9","2.0.10","2.0.11","2.0.12","2.0.13","2.0.14","2.0.15","2.0.16","2.0.17","2.0.18","2.1.0-unsupported.20180809"],"66.0.3359.181":["3.0.0-beta.1","3.0.0-beta.2","3.0.0-beta.3","3.0.0-beta.4","3.0.0-beta.5","3.0.0-beta.6","3.0.0-beta.7","3.0.0-beta.8","3.0.0-beta.9","3.0.0-beta.10","3.0.0-beta.11","3.0.0-beta.12","3.0.0-beta.13","3.0.0-nightly.20180818","3.0.0-nightly.20180821","3.0.0-nightly.20180823","3.0.0-nightly.20180904","3.0.0","3.0.1","3.0.2","3.0.3","3.0.4","3.0.5","3.0.6","3.0.7","3.0.8","3.0.9","3.0.10","3.0.11","3.0.12","3.0.13","3.0.14","3.0.15","3.0.16","3.1.0-beta.1","3.1.0-beta.2","3.1.0-beta.3","3.1.0-beta.4","3.1.0-beta.5","3.1.0","3.1.1","3.1.2","3.1.3","3.1.4","3.1.5","3.1.6","3.1.7","3.1.8","3.1.9","3.1.10","3.1.11","3.1.12","3.1.13","4.0.0-nightly.20180817","4.0.0-nightly.20180819","4.0.0-nightly.20180821"],"69.0.3497.106":["4.0.0-beta.1","4.0.0-beta.2","4.0.0-beta.3","4.0.0-beta.4","4.0.0-beta.5","4.0.0-beta.6","4.0.0-beta.7","4.0.0-beta.8","4.0.0-beta.9","4.0.0-beta.10","4.0.0-beta.11","4.0.0-nightly.20181010","4.0.0","4.0.1","4.0.2","4.0.3","4.0.4","4.0.5","4.0.6"],"67.0.3396.99":["4.0.0-nightly.20180929"],"68.0.3440.128":["4.0.0-nightly.20181006"],"69.0.3497.128":["4.0.7","4.0.8","4.1.0","4.1.1","4.1.2","4.1.3","4.1.4","4.1.5","4.2.0","4.2.1","4.2.2","4.2.3","4.2.4","4.2.5","4.2.6","4.2.7","4.2.8","4.2.9","4.2.10","4.2.11","4.2.12"],"72.0.3626.52":["5.0.0-beta.1","5.0.0-beta.2"],"73.0.3683.27":["5.0.0-beta.3"],"73.0.3683.54":["5.0.0-beta.4"],"73.0.3683.61":["5.0.0-beta.5"],"73.0.3683.84":["5.0.0-beta.6"],"73.0.3683.94":["5.0.0-beta.7"],"73.0.3683.104":["5.0.0-beta.8"],"73.0.3683.117":["5.0.0-beta.9"],"70.0.3538.110":["5.0.0-nightly.20190107"],"71.0.3578.98":["5.0.0-nightly.20190121","5.0.0-nightly.20190122"],"73.0.3683.119":["5.0.0"],"73.0.3683.121":["5.0.1","5.0.2","5.0.3","5.0.4","5.0.5","5.0.6","5.0.7","5.0.8","5.0.9","5.0.10","5.0.11","5.0.12","5.0.13"],"76.0.3774.1":["6.0.0-beta.1"],"76.0.3783.1":["6.0.0-beta.2","6.0.0-beta.3","6.0.0-beta.4"],"76.0.3805.4":["6.0.0-beta.5"],"76.0.3809.3":["6.0.0-beta.6"],"76.0.3809.22":["6.0.0-beta.7"],"76.0.3809.26":["6.0.0-beta.8","6.0.0-beta.9"],"76.0.3809.37":["6.0.0-beta.10"],"76.0.3809.42":["6.0.0-beta.11"],"76.0.3809.54":["6.0.0-beta.12"],"76.0.3809.60":["6.0.0-beta.13"],"76.0.3809.68":["6.0.0-beta.14"],"76.0.3809.74":["6.0.0-beta.15"],"72.0.3626.107":["6.0.0-nightly.20190212"],"72.0.3626.110":["6.0.0-nightly.20190213"],"74.0.3724.8":["6.0.0-nightly.20190311"],"76.0.3809.88":["6.0.0"],"76.0.3809.102":["6.0.1"],"76.0.3809.110":["6.0.2"],"76.0.3809.126":["6.0.3"],"76.0.3809.131":["6.0.4"],"76.0.3809.136":["6.0.5"],"76.0.3809.138":["6.0.6"],"76.0.3809.139":["6.0.7"],"76.0.3809.146":["6.0.8","6.0.9","6.0.10","6.0.11","6.0.12","6.1.0","6.1.1","6.1.2","6.1.3","6.1.4","6.1.5","6.1.6","6.1.7","6.1.8","6.1.9","6.1.10","6.1.11","6.1.12"],"78.0.3866.0":["7.0.0-beta.1","7.0.0-beta.2","7.0.0-beta.3","7.0.0-nightly.20190727","7.0.0-nightly.20190728","7.0.0-nightly.20190729","7.0.0-nightly.20190730","7.0.0-nightly.20190731","8.0.0-nightly.20190801","8.0.0-nightly.20190802"],"78.0.3896.6":["7.0.0-beta.4"],"78.0.3905.1":["7.0.0-beta.5","7.0.0-beta.6","7.0.0-beta.7","7.0.0"],"76.0.3784.0":["7.0.0-nightly.20190521"],"76.0.3806.0":["7.0.0-nightly.20190529","7.0.0-nightly.20190530","7.0.0-nightly.20190531","7.0.0-nightly.20190602","7.0.0-nightly.20190603"],"77.0.3814.0":["7.0.0-nightly.20190604"],"77.0.3815.0":["7.0.0-nightly.20190605","7.0.0-nightly.20190606","7.0.0-nightly.20190607","7.0.0-nightly.20190608","7.0.0-nightly.20190609","7.0.0-nightly.20190611","7.0.0-nightly.20190612","7.0.0-nightly.20190613","7.0.0-nightly.20190615","7.0.0-nightly.20190616","7.0.0-nightly.20190618","7.0.0-nightly.20190619","7.0.0-nightly.20190622","7.0.0-nightly.20190623","7.0.0-nightly.20190624","7.0.0-nightly.20190627","7.0.0-nightly.20190629","7.0.0-nightly.20190630","7.0.0-nightly.20190701","7.0.0-nightly.20190702"],"77.0.3843.0":["7.0.0-nightly.20190704","7.0.0-nightly.20190705"],"77.0.3848.0":["7.0.0-nightly.20190719","7.0.0-nightly.20190720","7.0.0-nightly.20190721"],"77.0.3864.0":["7.0.0-nightly.20190726"],"78.0.3904.92":["7.0.1"],"78.0.3904.94":["7.1.0"],"78.0.3904.99":["7.1.1"],"78.0.3904.113":["7.1.2"],"78.0.3904.126":["7.1.3"],"78.0.3904.130":["7.1.4","7.1.5","7.1.6","7.1.7","7.1.8","7.1.9","7.1.10","7.1.11","7.1.12","7.1.13","7.1.14","7.2.0","7.2.1","7.2.2","7.2.3","7.2.4","7.3.0","7.3.1","7.3.2","7.3.3"],"79.0.3931.0":["8.0.0-beta.1","8.0.0-beta.2","8.0.0-nightly.20191019","8.0.0-nightly.20191020","8.0.0-nightly.20191021","8.0.0-nightly.20191023"],"80.0.3955.0":["8.0.0-beta.3","8.0.0-beta.4"],"80.0.3987.14":["8.0.0-beta.5"],"80.0.3987.51":["8.0.0-beta.6"],"80.0.3987.59":["8.0.0-beta.7"],"80.0.3987.75":["8.0.0-beta.8","8.0.0-beta.9"],"78.0.3871.0":["8.0.0-nightly.20190803","8.0.0-nightly.20190806","8.0.0-nightly.20190807","8.0.0-nightly.20190808","8.0.0-nightly.20190809","8.0.0-nightly.20190810","8.0.0-nightly.20190811","8.0.0-nightly.20190812","8.0.0-nightly.20190813","8.0.0-nightly.20190814","8.0.0-nightly.20190815"],"78.0.3881.0":["8.0.0-nightly.20190816","8.0.0-nightly.20190817","8.0.0-nightly.20190818","8.0.0-nightly.20190819","8.0.0-nightly.20190820"],"78.0.3892.0":["8.0.0-nightly.20190824","8.0.0-nightly.20190825","8.0.0-nightly.20190827","8.0.0-nightly.20190828","8.0.0-nightly.20190830","8.0.0-nightly.20190901","8.0.0-nightly.20190902","8.0.0-nightly.20190907","8.0.0-nightly.20190909","8.0.0-nightly.20190910","8.0.0-nightly.20190911","8.0.0-nightly.20190913","8.0.0-nightly.20190914","8.0.0-nightly.20190915","8.0.0-nightly.20190917"],"79.0.3915.0":["8.0.0-nightly.20190919","8.0.0-nightly.20190920"],"79.0.3919.0":["8.0.0-nightly.20190923","8.0.0-nightly.20190924","8.0.0-nightly.20190926","8.0.0-nightly.20190929","8.0.0-nightly.20190930","8.0.0-nightly.20191001","8.0.0-nightly.20191004","8.0.0-nightly.20191005","8.0.0-nightly.20191006","8.0.0-nightly.20191009","8.0.0-nightly.20191011","8.0.0-nightly.20191012","8.0.0-nightly.20191017"],"80.0.3952.0":["8.0.0-nightly.20191101","8.0.0-nightly.20191105"],"80.0.3987.86":["8.0.0","8.0.1","8.0.2"],"80.0.3987.134":["8.0.3"],"80.0.3987.137":["8.1.0"],"80.0.3987.141":["8.1.1"],"80.0.3987.158":["8.2.0"],"80.0.3987.163":["8.2.1","8.2.2","8.2.3","8.5.3","8.5.4","8.5.5"],"80.0.3987.165":["8.2.4","8.2.5","8.3.0","8.3.1","8.3.2","8.3.3","8.3.4","8.4.0","8.4.1","8.5.0","8.5.1","8.5.2"],"82.0.4048.0":["9.0.0-beta.1","9.0.0-beta.2","9.0.0-beta.3","9.0.0-beta.4","9.0.0-beta.5"],"82.0.4058.2":["9.0.0-beta.6","9.0.0-beta.7","9.0.0-beta.9"],"82.0.4085.10":["9.0.0-beta.10"],"82.0.4085.14":["9.0.0-beta.12","9.0.0-beta.13"],"82.0.4085.27":["9.0.0-beta.14"],"83.0.4102.3":["9.0.0-beta.15","9.0.0-beta.16"],"83.0.4103.14":["9.0.0-beta.17"],"83.0.4103.16":["9.0.0-beta.18"],"83.0.4103.24":["9.0.0-beta.19"],"83.0.4103.26":["9.0.0-beta.20","9.0.0-beta.21"],"83.0.4103.34":["9.0.0-beta.22"],"83.0.4103.44":["9.0.0-beta.23"],"83.0.4103.45":["9.0.0-beta.24"],"80.0.3954.0":["9.0.0-nightly.20191121","9.0.0-nightly.20191122","9.0.0-nightly.20191123","9.0.0-nightly.20191124","9.0.0-nightly.20191129","9.0.0-nightly.20191130","9.0.0-nightly.20191201","9.0.0-nightly.20191202","9.0.0-nightly.20191203","9.0.0-nightly.20191204","9.0.0-nightly.20191210"],"81.0.3994.0":["9.0.0-nightly.20191220","9.0.0-nightly.20191221","9.0.0-nightly.20191222","9.0.0-nightly.20191223","9.0.0-nightly.20191224","9.0.0-nightly.20191225","9.0.0-nightly.20191226","9.0.0-nightly.20191228","9.0.0-nightly.20191229","9.0.0-nightly.20191230","9.0.0-nightly.20191231","9.0.0-nightly.20200101","9.0.0-nightly.20200103","9.0.0-nightly.20200104","9.0.0-nightly.20200105","9.0.0-nightly.20200106","9.0.0-nightly.20200108","9.0.0-nightly.20200109","9.0.0-nightly.20200110","9.0.0-nightly.20200111","9.0.0-nightly.20200113","9.0.0-nightly.20200115","9.0.0-nightly.20200116","9.0.0-nightly.20200117"],"81.0.4030.0":["9.0.0-nightly.20200119","9.0.0-nightly.20200121"],"83.0.4103.64":["9.0.0"],"83.0.4103.94":["9.0.1","9.0.2"],"83.0.4103.100":["9.0.3"],"83.0.4103.104":["9.0.4"],"83.0.4103.119":["9.0.5"],"83.0.4103.122":["9.1.0","9.1.1","9.1.2","9.2.0","9.2.1","9.3.0","9.3.1","9.3.2","9.3.3","9.3.4","9.3.5","9.4.0","9.4.1","9.4.2","9.4.3","9.4.4"],"84.0.4129.0":["10.0.0-beta.1","10.0.0-beta.2","10.0.0-nightly.20200501","10.0.0-nightly.20200504","10.0.0-nightly.20200505","10.0.0-nightly.20200506","10.0.0-nightly.20200507","10.0.0-nightly.20200508","10.0.0-nightly.20200511","10.0.0-nightly.20200512","10.0.0-nightly.20200513","10.0.0-nightly.20200514","10.0.0-nightly.20200515","10.0.0-nightly.20200518","10.0.0-nightly.20200519","10.0.0-nightly.20200520","10.0.0-nightly.20200521","11.0.0-nightly.20200525","11.0.0-nightly.20200526"],"85.0.4161.2":["10.0.0-beta.3","10.0.0-beta.4"],"85.0.4181.1":["10.0.0-beta.8","10.0.0-beta.9"],"85.0.4183.19":["10.0.0-beta.10"],"85.0.4183.20":["10.0.0-beta.11"],"85.0.4183.26":["10.0.0-beta.12"],"85.0.4183.39":["10.0.0-beta.13","10.0.0-beta.14","10.0.0-beta.15","10.0.0-beta.17","10.0.0-beta.19","10.0.0-beta.20","10.0.0-beta.21"],"85.0.4183.70":["10.0.0-beta.23"],"85.0.4183.78":["10.0.0-beta.24"],"85.0.4183.80":["10.0.0-beta.25"],"82.0.4050.0":["10.0.0-nightly.20200209","10.0.0-nightly.20200210","10.0.0-nightly.20200211","10.0.0-nightly.20200216","10.0.0-nightly.20200217","10.0.0-nightly.20200218","10.0.0-nightly.20200221","10.0.0-nightly.20200222","10.0.0-nightly.20200223","10.0.0-nightly.20200226","10.0.0-nightly.20200303"],"82.0.4076.0":["10.0.0-nightly.20200304","10.0.0-nightly.20200305","10.0.0-nightly.20200306","10.0.0-nightly.20200309","10.0.0-nightly.20200310"],"82.0.4083.0":["10.0.0-nightly.20200311"],"83.0.4086.0":["10.0.0-nightly.20200316"],"83.0.4087.0":["10.0.0-nightly.20200317","10.0.0-nightly.20200318","10.0.0-nightly.20200320","10.0.0-nightly.20200323","10.0.0-nightly.20200324","10.0.0-nightly.20200325","10.0.0-nightly.20200326","10.0.0-nightly.20200327","10.0.0-nightly.20200330","10.0.0-nightly.20200331","10.0.0-nightly.20200401","10.0.0-nightly.20200402","10.0.0-nightly.20200403","10.0.0-nightly.20200406"],"83.0.4095.0":["10.0.0-nightly.20200408","10.0.0-nightly.20200410","10.0.0-nightly.20200413"],"84.0.4114.0":["10.0.0-nightly.20200414"],"84.0.4115.0":["10.0.0-nightly.20200415","10.0.0-nightly.20200416","10.0.0-nightly.20200417"],"84.0.4121.0":["10.0.0-nightly.20200422","10.0.0-nightly.20200423"],"84.0.4125.0":["10.0.0-nightly.20200427","10.0.0-nightly.20200428","10.0.0-nightly.20200429","10.0.0-nightly.20200430"],"85.0.4183.84":["10.0.0"],"85.0.4183.86":["10.0.1"],"85.0.4183.87":["10.1.0"],"85.0.4183.93":["10.1.1"],"85.0.4183.98":["10.1.2"],"85.0.4183.121":["10.1.3","10.1.4","10.1.5","10.1.6","10.1.7","10.2.0","10.3.0","10.3.1","10.3.2","10.4.0","10.4.1","10.4.2","10.4.3","10.4.4","10.4.5","10.4.6","10.4.7"],"86.0.4234.0":["11.0.0-beta.1","11.0.0-beta.3","11.0.0-beta.4","11.0.0-beta.5","11.0.0-beta.6","11.0.0-beta.7","11.0.0-nightly.20200822","11.0.0-nightly.20200824","11.0.0-nightly.20200825","11.0.0-nightly.20200826","12.0.0-nightly.20200827","12.0.0-nightly.20200831","12.0.0-nightly.20200902","12.0.0-nightly.20200903","12.0.0-nightly.20200907","12.0.0-nightly.20200910","12.0.0-nightly.20200911","12.0.0-nightly.20200914"],"87.0.4251.1":["11.0.0-beta.8","11.0.0-beta.9","11.0.0-beta.11"],"87.0.4280.11":["11.0.0-beta.12","11.0.0-beta.13"],"87.0.4280.27":["11.0.0-beta.16","11.0.0-beta.17","11.0.0-beta.18","11.0.0-beta.19"],"87.0.4280.40":["11.0.0-beta.20"],"87.0.4280.47":["11.0.0-beta.22","11.0.0-beta.23"],"85.0.4156.0":["11.0.0-nightly.20200529"],"85.0.4162.0":["11.0.0-nightly.20200602","11.0.0-nightly.20200603","11.0.0-nightly.20200604","11.0.0-nightly.20200609","11.0.0-nightly.20200610","11.0.0-nightly.20200611","11.0.0-nightly.20200615","11.0.0-nightly.20200616","11.0.0-nightly.20200617","11.0.0-nightly.20200618","11.0.0-nightly.20200619"],"85.0.4179.0":["11.0.0-nightly.20200701","11.0.0-nightly.20200702","11.0.0-nightly.20200703","11.0.0-nightly.20200706","11.0.0-nightly.20200707","11.0.0-nightly.20200708","11.0.0-nightly.20200709"],"86.0.4203.0":["11.0.0-nightly.20200716","11.0.0-nightly.20200717","11.0.0-nightly.20200720","11.0.0-nightly.20200721"],"86.0.4209.0":["11.0.0-nightly.20200723","11.0.0-nightly.20200724","11.0.0-nightly.20200729","11.0.0-nightly.20200730","11.0.0-nightly.20200731","11.0.0-nightly.20200803","11.0.0-nightly.20200804","11.0.0-nightly.20200805","11.0.0-nightly.20200811","11.0.0-nightly.20200812"],"87.0.4280.60":["11.0.0","11.0.1"],"87.0.4280.67":["11.0.2","11.0.3","11.0.4"],"87.0.4280.88":["11.0.5","11.1.0","11.1.1"],"87.0.4280.141":["11.2.0","11.2.1","11.2.2","11.2.3","11.3.0","11.4.0","11.4.1","11.4.2","11.4.3","11.4.4","11.4.5","11.4.6","11.4.7","11.4.8","11.4.9","11.4.10","11.4.11","11.4.12","11.5.0"],"89.0.4328.0":["12.0.0-beta.1","12.0.0-beta.3","12.0.0-beta.4","12.0.0-beta.5","12.0.0-beta.6","12.0.0-beta.7","12.0.0-beta.8","12.0.0-beta.9","12.0.0-beta.10","12.0.0-beta.11","12.0.0-beta.12","12.0.0-beta.14","13.0.0-nightly.20201119","13.0.0-nightly.20201123","13.0.0-nightly.20201124","13.0.0-nightly.20201126","13.0.0-nightly.20201127","13.0.0-nightly.20201130","13.0.0-nightly.20201201","13.0.0-nightly.20201202","13.0.0-nightly.20201203","13.0.0-nightly.20201204","13.0.0-nightly.20201207","13.0.0-nightly.20201208","13.0.0-nightly.20201209","13.0.0-nightly.20201210","13.0.0-nightly.20201211","13.0.0-nightly.20201214"],"89.0.4348.1":["12.0.0-beta.16","12.0.0-beta.18","12.0.0-beta.19","12.0.0-beta.20"],"89.0.4388.2":["12.0.0-beta.21","12.0.0-beta.22","12.0.0-beta.23","12.0.0-beta.24","12.0.0-beta.25","12.0.0-beta.26"],"89.0.4389.23":["12.0.0-beta.27","12.0.0-beta.28","12.0.0-beta.29"],"89.0.4389.58":["12.0.0-beta.30","12.0.0-beta.31"],"87.0.4268.0":["12.0.0-nightly.20201013","12.0.0-nightly.20201014","12.0.0-nightly.20201015"],"88.0.4292.0":["12.0.0-nightly.20201023","12.0.0-nightly.20201026"],"88.0.4306.0":["12.0.0-nightly.20201030","12.0.0-nightly.20201102","12.0.0-nightly.20201103","12.0.0-nightly.20201104","12.0.0-nightly.20201105","12.0.0-nightly.20201106","12.0.0-nightly.20201111","12.0.0-nightly.20201112"],"88.0.4324.0":["12.0.0-nightly.20201116"],"89.0.4389.69":["12.0.0"],"89.0.4389.82":["12.0.1"],"89.0.4389.90":["12.0.2"],"89.0.4389.114":["12.0.3","12.0.4"],"89.0.4389.128":["12.0.5","12.0.6","12.0.7","12.0.8","12.0.9","12.0.10","12.0.11","12.0.12","12.0.13","12.0.14","12.0.15","12.0.16","12.0.17","12.0.18","12.1.0","12.1.1","12.1.2","12.2.0","12.2.1","12.2.2","12.2.3"],"90.0.4402.0":["13.0.0-beta.2","13.0.0-beta.3","13.0.0-nightly.20210210","13.0.0-nightly.20210211","13.0.0-nightly.20210212","13.0.0-nightly.20210216","13.0.0-nightly.20210217","13.0.0-nightly.20210218","13.0.0-nightly.20210219","13.0.0-nightly.20210222","13.0.0-nightly.20210225","13.0.0-nightly.20210226","13.0.0-nightly.20210301","13.0.0-nightly.20210302","13.0.0-nightly.20210303","14.0.0-nightly.20210304"],"90.0.4415.0":["13.0.0-beta.4","13.0.0-beta.5","13.0.0-beta.6","13.0.0-beta.7","13.0.0-beta.8","13.0.0-beta.9","13.0.0-beta.11","13.0.0-beta.12","13.0.0-beta.13","14.0.0-nightly.20210305","14.0.0-nightly.20210308","14.0.0-nightly.20210309","14.0.0-nightly.20210311","14.0.0-nightly.20210315","14.0.0-nightly.20210316","14.0.0-nightly.20210317","14.0.0-nightly.20210318","14.0.0-nightly.20210319","14.0.0-nightly.20210323","14.0.0-nightly.20210324","14.0.0-nightly.20210325","14.0.0-nightly.20210326","14.0.0-nightly.20210329","14.0.0-nightly.20210330"],"91.0.4448.0":["13.0.0-beta.14","13.0.0-beta.16","13.0.0-beta.17","13.0.0-beta.18","13.0.0-beta.20","14.0.0-nightly.20210331","14.0.0-nightly.20210401","14.0.0-nightly.20210402","14.0.0-nightly.20210406","14.0.0-nightly.20210407","14.0.0-nightly.20210408","14.0.0-nightly.20210409","14.0.0-nightly.20210413"],"91.0.4472.33":["13.0.0-beta.21","13.0.0-beta.22","13.0.0-beta.23"],"91.0.4472.38":["13.0.0-beta.24","13.0.0-beta.26","13.0.0-beta.27","13.0.0-beta.28"],"89.0.4349.0":["13.0.0-nightly.20201215","13.0.0-nightly.20201216","13.0.0-nightly.20201221","13.0.0-nightly.20201222"],"89.0.4359.0":["13.0.0-nightly.20201223","13.0.0-nightly.20210104","13.0.0-nightly.20210108","13.0.0-nightly.20210111"],"89.0.4386.0":["13.0.0-nightly.20210113","13.0.0-nightly.20210114","13.0.0-nightly.20210118","13.0.0-nightly.20210122","13.0.0-nightly.20210125"],"89.0.4389.0":["13.0.0-nightly.20210127","13.0.0-nightly.20210128","13.0.0-nightly.20210129","13.0.0-nightly.20210201","13.0.0-nightly.20210202","13.0.0-nightly.20210203","13.0.0-nightly.20210205","13.0.0-nightly.20210208","13.0.0-nightly.20210209"],"91.0.4472.69":["13.0.0","13.0.1"],"91.0.4472.77":["13.1.0","13.1.1","13.1.2"],"91.0.4472.106":["13.1.3","13.1.4"],"91.0.4472.124":["13.1.5","13.1.6","13.1.7"],"91.0.4472.164":["13.1.8","13.1.9","13.2.0","13.2.1","13.2.2","13.2.3","13.3.0","13.4.0","13.5.0","13.5.1","13.5.2","13.6.0","13.6.1","13.6.2","13.6.3","13.6.6","13.6.7","13.6.8","13.6.9"],"92.0.4511.0":["14.0.0-beta.1","14.0.0-beta.2","14.0.0-beta.3","14.0.0-nightly.20210520","14.0.0-nightly.20210523","14.0.0-nightly.20210524","15.0.0-nightly.20210527","15.0.0-nightly.20210528","15.0.0-nightly.20210531","15.0.0-nightly.20210601","15.0.0-nightly.20210602"],"93.0.4536.0":["14.0.0-beta.5","14.0.0-beta.6","14.0.0-beta.7","14.0.0-beta.8","15.0.0-nightly.20210609","15.0.0-nightly.20210610","15.0.0-nightly.20210611","15.0.0-nightly.20210614","15.0.0-nightly.20210615","15.0.0-nightly.20210616"],"93.0.4539.0":["14.0.0-beta.9","14.0.0-beta.10","15.0.0-nightly.20210617","15.0.0-nightly.20210618","15.0.0-nightly.20210621","15.0.0-nightly.20210622"],"93.0.4557.4":["14.0.0-beta.11","14.0.0-beta.12"],"93.0.4566.0":["14.0.0-beta.13","14.0.0-beta.14","14.0.0-beta.15","14.0.0-beta.16","14.0.0-beta.17","15.0.0-alpha.1","15.0.0-alpha.2","15.0.0-nightly.20210706","15.0.0-nightly.20210707","15.0.0-nightly.20210708","15.0.0-nightly.20210709","15.0.0-nightly.20210712","15.0.0-nightly.20210713","15.0.0-nightly.20210714","15.0.0-nightly.20210715","15.0.0-nightly.20210716","15.0.0-nightly.20210719","15.0.0-nightly.20210720","15.0.0-nightly.20210721","16.0.0-nightly.20210722","16.0.0-nightly.20210723","16.0.0-nightly.20210726"],"93.0.4577.15":["14.0.0-beta.18","14.0.0-beta.19","14.0.0-beta.20","14.0.0-beta.21"],"93.0.4577.25":["14.0.0-beta.22","14.0.0-beta.23"],"93.0.4577.51":["14.0.0-beta.24","14.0.0-beta.25"],"92.0.4475.0":["14.0.0-nightly.20210426","14.0.0-nightly.20210427"],"92.0.4488.0":["14.0.0-nightly.20210430","14.0.0-nightly.20210503"],"92.0.4496.0":["14.0.0-nightly.20210505"],"92.0.4498.0":["14.0.0-nightly.20210506"],"92.0.4499.0":["14.0.0-nightly.20210507","14.0.0-nightly.20210510","14.0.0-nightly.20210511","14.0.0-nightly.20210512","14.0.0-nightly.20210513"],"92.0.4505.0":["14.0.0-nightly.20210514","14.0.0-nightly.20210517","14.0.0-nightly.20210518","14.0.0-nightly.20210519"],"93.0.4577.58":["14.0.0"],"93.0.4577.63":["14.0.1"],"93.0.4577.82":["14.0.2","14.1.0","14.1.1","14.2.0","14.2.1","14.2.2","14.2.3","14.2.4","14.2.5","14.2.6","14.2.7","14.2.8","14.2.9"],"94.0.4584.0":["15.0.0-alpha.3","15.0.0-alpha.4","15.0.0-alpha.5","15.0.0-alpha.6","16.0.0-nightly.20210727","16.0.0-nightly.20210728","16.0.0-nightly.20210729","16.0.0-nightly.20210730","16.0.0-nightly.20210802","16.0.0-nightly.20210803","16.0.0-nightly.20210804","16.0.0-nightly.20210805","16.0.0-nightly.20210806","16.0.0-nightly.20210809","16.0.0-nightly.20210810","16.0.0-nightly.20210811"],"94.0.4590.2":["15.0.0-alpha.7","15.0.0-alpha.8","15.0.0-alpha.9","16.0.0-nightly.20210812","16.0.0-nightly.20210813","16.0.0-nightly.20210816","16.0.0-nightly.20210817","16.0.0-nightly.20210818","16.0.0-nightly.20210819","16.0.0-nightly.20210820","16.0.0-nightly.20210823"],"94.0.4606.12":["15.0.0-alpha.10"],"94.0.4606.20":["15.0.0-beta.1","15.0.0-beta.2"],"94.0.4606.31":["15.0.0-beta.3","15.0.0-beta.4","15.0.0-beta.5","15.0.0-beta.6","15.0.0-beta.7"],"93.0.4530.0":["15.0.0-nightly.20210603","15.0.0-nightly.20210604"],"93.0.4535.0":["15.0.0-nightly.20210608"],"93.0.4550.0":["15.0.0-nightly.20210623","15.0.0-nightly.20210624"],"93.0.4552.0":["15.0.0-nightly.20210625","15.0.0-nightly.20210628","15.0.0-nightly.20210629"],"93.0.4558.0":["15.0.0-nightly.20210630","15.0.0-nightly.20210701","15.0.0-nightly.20210702","15.0.0-nightly.20210705"],"94.0.4606.51":["15.0.0"],"94.0.4606.61":["15.1.0","15.1.1"],"94.0.4606.71":["15.1.2"],"94.0.4606.81":["15.2.0","15.3.0","15.3.1","15.3.2","15.3.3","15.3.4","15.3.5","15.3.6","15.3.7","15.4.0","15.4.1","15.4.2","15.5.0","15.5.1","15.5.2","15.5.3","15.5.4","15.5.5","15.5.6","15.5.7"],"95.0.4629.0":["16.0.0-alpha.1","16.0.0-alpha.2","16.0.0-alpha.3","16.0.0-alpha.4","16.0.0-alpha.5","16.0.0-alpha.6","16.0.0-alpha.7","16.0.0-nightly.20210902","16.0.0-nightly.20210903","16.0.0-nightly.20210906","16.0.0-nightly.20210907","16.0.0-nightly.20210908","16.0.0-nightly.20210909","16.0.0-nightly.20210910","16.0.0-nightly.20210913","16.0.0-nightly.20210914","16.0.0-nightly.20210915","16.0.0-nightly.20210916","16.0.0-nightly.20210917","16.0.0-nightly.20210920","16.0.0-nightly.20210921","16.0.0-nightly.20210922","17.0.0-nightly.20210923","17.0.0-nightly.20210924","17.0.0-nightly.20210927","17.0.0-nightly.20210928","17.0.0-nightly.20210929","17.0.0-nightly.20210930","17.0.0-nightly.20211001","17.0.0-nightly.20211004","17.0.0-nightly.20211005"],"96.0.4647.0":["16.0.0-alpha.8","16.0.0-alpha.9","16.0.0-beta.1","16.0.0-beta.2","16.0.0-beta.3","17.0.0-nightly.20211006","17.0.0-nightly.20211007","17.0.0-nightly.20211008","17.0.0-nightly.20211011","17.0.0-nightly.20211012","17.0.0-nightly.20211013","17.0.0-nightly.20211014","17.0.0-nightly.20211015","17.0.0-nightly.20211018","17.0.0-nightly.20211019","17.0.0-nightly.20211020","17.0.0-nightly.20211021"],"96.0.4664.18":["16.0.0-beta.4","16.0.0-beta.5"],"96.0.4664.27":["16.0.0-beta.6","16.0.0-beta.7"],"96.0.4664.35":["16.0.0-beta.8","16.0.0-beta.9"],"95.0.4612.5":["16.0.0-nightly.20210824","16.0.0-nightly.20210825","16.0.0-nightly.20210826","16.0.0-nightly.20210827","16.0.0-nightly.20210830","16.0.0-nightly.20210831","16.0.0-nightly.20210901"],"96.0.4664.45":["16.0.0","16.0.1"],"96.0.4664.55":["16.0.2","16.0.3","16.0.4","16.0.5"],"96.0.4664.110":["16.0.6","16.0.7","16.0.8"],"96.0.4664.174":["16.0.9","16.0.10","16.1.0","16.1.1","16.2.0","16.2.1","16.2.2","16.2.3","16.2.4","16.2.5","16.2.6","16.2.7","16.2.8"],"96.0.4664.4":["17.0.0-alpha.1","17.0.0-alpha.2","17.0.0-alpha.3","17.0.0-nightly.20211022","17.0.0-nightly.20211025","17.0.0-nightly.20211026","17.0.0-nightly.20211027","17.0.0-nightly.20211028","17.0.0-nightly.20211029","17.0.0-nightly.20211101","17.0.0-nightly.20211102","17.0.0-nightly.20211103","17.0.0-nightly.20211104","17.0.0-nightly.20211105","17.0.0-nightly.20211108","17.0.0-nightly.20211109","17.0.0-nightly.20211110","17.0.0-nightly.20211111","17.0.0-nightly.20211112","17.0.0-nightly.20211115","17.0.0-nightly.20211116","17.0.0-nightly.20211117","18.0.0-nightly.20211118","18.0.0-nightly.20211119","18.0.0-nightly.20211122","18.0.0-nightly.20211123"],"98.0.4706.0":["17.0.0-alpha.4","17.0.0-alpha.5","17.0.0-alpha.6","17.0.0-beta.1","17.0.0-beta.2","18.0.0-nightly.20211124","18.0.0-nightly.20211125","18.0.0-nightly.20211126","18.0.0-nightly.20211129","18.0.0-nightly.20211130","18.0.0-nightly.20211201","18.0.0-nightly.20211202","18.0.0-nightly.20211203","18.0.0-nightly.20211206","18.0.0-nightly.20211207","18.0.0-nightly.20211208","18.0.0-nightly.20211209","18.0.0-nightly.20211210","18.0.0-nightly.20211213","18.0.0-nightly.20211214","18.0.0-nightly.20211215","18.0.0-nightly.20211216","18.0.0-nightly.20211217","18.0.0-nightly.20211220","18.0.0-nightly.20211221","18.0.0-nightly.20211222","18.0.0-nightly.20211223","18.0.0-nightly.20211228","18.0.0-nightly.20211229","18.0.0-nightly.20211231","18.0.0-nightly.20220103","18.0.0-nightly.20220104","18.0.0-nightly.20220105","18.0.0-nightly.20220106","18.0.0-nightly.20220107","18.0.0-nightly.20220110"],"98.0.4758.9":["17.0.0-beta.3"],"98.0.4758.11":["17.0.0-beta.4","17.0.0-beta.5","17.0.0-beta.6","17.0.0-beta.7","17.0.0-beta.8","17.0.0-beta.9"],"98.0.4758.74":["17.0.0"],"98.0.4758.82":["17.0.1"],"98.0.4758.102":["17.1.0"],"98.0.4758.109":["17.1.1","17.1.2","17.2.0"],"98.0.4758.141":["17.3.0","17.3.1","17.4.0","17.4.1","17.4.2","17.4.3","17.4.4","17.4.5","17.4.6","17.4.7","17.4.8","17.4.9","17.4.10","17.4.11"],"99.0.4767.0":["18.0.0-alpha.1","18.0.0-alpha.2","18.0.0-alpha.3","18.0.0-alpha.4","18.0.0-alpha.5","18.0.0-nightly.20220111","18.0.0-nightly.20220112","18.0.0-nightly.20220113","18.0.0-nightly.20220114","18.0.0-nightly.20220117","18.0.0-nightly.20220118","18.0.0-nightly.20220119","18.0.0-nightly.20220121","18.0.0-nightly.20220124","18.0.0-nightly.20220125","18.0.0-nightly.20220127","18.0.0-nightly.20220128","18.0.0-nightly.20220131","18.0.0-nightly.20220201","19.0.0-nightly.20220202","19.0.0-nightly.20220203","19.0.0-nightly.20220204","19.0.0-nightly.20220207","19.0.0-nightly.20220208","19.0.0-nightly.20220209"],"100.0.4894.0":["18.0.0-beta.1","18.0.0-beta.2","18.0.0-beta.3","18.0.0-beta.4","18.0.0-beta.5","18.0.0-beta.6","19.0.0-nightly.20220308","19.0.0-nightly.20220309","19.0.0-nightly.20220310","19.0.0-nightly.20220311","19.0.0-nightly.20220314","19.0.0-nightly.20220315","19.0.0-nightly.20220316","19.0.0-nightly.20220317","19.0.0-nightly.20220318","19.0.0-nightly.20220321","19.0.0-nightly.20220322","19.0.0-nightly.20220323","19.0.0-nightly.20220324"],"100.0.4896.56":["18.0.0"],"100.0.4896.60":["18.0.1","18.0.2"],"100.0.4896.75":["18.0.3","18.0.4"],"100.0.4896.127":["18.1.0"],"100.0.4896.143":["18.2.0","18.2.1","18.2.2","18.2.3"],"100.0.4896.160":["18.2.4","18.3.0","18.3.1","18.3.2","18.3.3","18.3.4","18.3.5","18.3.6","18.3.7","18.3.8","18.3.9","18.3.11","18.3.12","18.3.13","18.3.14","18.3.15"],"102.0.4962.3":["19.0.0-alpha.1","19.0.0-nightly.20220328","19.0.0-nightly.20220329","20.0.0-nightly.20220330"],"102.0.4971.0":["19.0.0-alpha.2","19.0.0-alpha.3","20.0.0-nightly.20220411"],"102.0.4989.0":["19.0.0-alpha.4","19.0.0-alpha.5","20.0.0-nightly.20220414","20.0.0-nightly.20220415","20.0.0-nightly.20220418","20.0.0-nightly.20220419","20.0.0-nightly.20220420","20.0.0-nightly.20220421"],"102.0.4999.0":["19.0.0-beta.1","19.0.0-beta.2","19.0.0-beta.3","20.0.0-nightly.20220425","20.0.0-nightly.20220426","20.0.0-nightly.20220427","20.0.0-nightly.20220428","20.0.0-nightly.20220429","20.0.0-nightly.20220502","20.0.0-nightly.20220503","20.0.0-nightly.20220504","20.0.0-nightly.20220505","20.0.0-nightly.20220506","20.0.0-nightly.20220509","20.0.0-nightly.20220511","20.0.0-nightly.20220512","20.0.0-nightly.20220513","20.0.0-nightly.20220516","20.0.0-nightly.20220517"],"102.0.5005.27":["19.0.0-beta.4"],"102.0.5005.40":["19.0.0-beta.5","19.0.0-beta.6","19.0.0-beta.7"],"102.0.5005.49":["19.0.0-beta.8"],"102.0.4961.0":["19.0.0-nightly.20220325"],"102.0.5005.61":["19.0.0","19.0.1"],"102.0.5005.63":["19.0.2","19.0.3","19.0.4"],"102.0.5005.115":["19.0.5","19.0.6"],"102.0.5005.134":["19.0.7"],"102.0.5005.148":["19.0.8"],"102.0.5005.167":["19.0.9","19.0.10","19.0.11","19.0.12","19.0.13","19.0.14","19.0.15","19.0.16","19.0.17","19.1.0","19.1.1","19.1.2","19.1.3"],"103.0.5044.0":["20.0.0-alpha.1","20.0.0-nightly.20220518","20.0.0-nightly.20220519","20.0.0-nightly.20220520","20.0.0-nightly.20220523","20.0.0-nightly.20220524","21.0.0-nightly.20220526","21.0.0-nightly.20220527","21.0.0-nightly.20220530","21.0.0-nightly.20220531"],"104.0.5073.0":["20.0.0-alpha.2","20.0.0-alpha.3","20.0.0-alpha.4","20.0.0-alpha.5","20.0.0-alpha.6","20.0.0-alpha.7","20.0.0-beta.1","20.0.0-beta.2","20.0.0-beta.3","20.0.0-beta.4","20.0.0-beta.5","20.0.0-beta.6","20.0.0-beta.7","20.0.0-beta.8","21.0.0-nightly.20220602","21.0.0-nightly.20220603","21.0.0-nightly.20220606","21.0.0-nightly.20220607","21.0.0-nightly.20220608","21.0.0-nightly.20220609","21.0.0-nightly.20220610","21.0.0-nightly.20220613","21.0.0-nightly.20220614","21.0.0-nightly.20220615","21.0.0-nightly.20220616","21.0.0-nightly.20220617","21.0.0-nightly.20220620","21.0.0-nightly.20220621","21.0.0-nightly.20220622","21.0.0-nightly.20220623","21.0.0-nightly.20220624","21.0.0-nightly.20220627"],"104.0.5112.39":["20.0.0-beta.9"],"104.0.5112.48":["20.0.0-beta.10","20.0.0-beta.11","20.0.0-beta.12"],"104.0.5112.57":["20.0.0-beta.13"],"104.0.5112.65":["20.0.0"],"104.0.5112.81":["20.0.1","20.0.2","20.0.3"],"104.0.5112.102":["20.1.0","20.1.1"],"104.0.5112.114":["20.1.2","20.1.3","20.1.4"],"104.0.5112.124":["20.2.0","20.3.0","20.3.1","20.3.2"],"105.0.5187.0":["21.0.0-alpha.1","21.0.0-alpha.2","21.0.0-alpha.3","21.0.0-alpha.4","21.0.0-alpha.5","21.0.0-nightly.20220720","21.0.0-nightly.20220721","21.0.0-nightly.20220722","21.0.0-nightly.20220725","21.0.0-nightly.20220726","21.0.0-nightly.20220727","21.0.0-nightly.20220728","21.0.0-nightly.20220801","21.0.0-nightly.20220802","22.0.0-nightly.20220808","22.0.0-nightly.20220809","22.0.0-nightly.20220810","22.0.0-nightly.20220811","22.0.0-nightly.20220812","22.0.0-nightly.20220815","22.0.0-nightly.20220816","22.0.0-nightly.20220817"],"106.0.5216.0":["21.0.0-alpha.6","21.0.0-beta.1","21.0.0-beta.2","21.0.0-beta.3","21.0.0-beta.4","21.0.0-beta.5","22.0.0-nightly.20220822","22.0.0-nightly.20220823","22.0.0-nightly.20220824","22.0.0-nightly.20220825","22.0.0-nightly.20220829","22.0.0-nightly.20220830","22.0.0-nightly.20220831","22.0.0-nightly.20220901","22.0.0-nightly.20220902","22.0.0-nightly.20220905"],"106.0.5249.40":["21.0.0-beta.6","21.0.0-beta.7","21.0.0-beta.8"],"105.0.5129.0":["21.0.0-nightly.20220628","21.0.0-nightly.20220629","21.0.0-nightly.20220630","21.0.0-nightly.20220701","21.0.0-nightly.20220704","21.0.0-nightly.20220705","21.0.0-nightly.20220706","21.0.0-nightly.20220707","21.0.0-nightly.20220708","21.0.0-nightly.20220711","21.0.0-nightly.20220712","21.0.0-nightly.20220713"],"105.0.5173.0":["21.0.0-nightly.20220715","21.0.0-nightly.20220718","21.0.0-nightly.20220719"],"106.0.5249.51":["21.0.0"],"106.0.5249.61":["21.0.1"],"106.0.5249.91":["21.1.0"],"106.0.5249.103":["21.1.1"],"107.0.5286.0":["22.0.0-alpha.1","22.0.0-nightly.20220909","22.0.0-nightly.20220912","22.0.0-nightly.20220913","22.0.0-nightly.20220914","22.0.0-nightly.20220915","22.0.0-nightly.20220916","22.0.0-nightly.20220919","22.0.0-nightly.20220920","22.0.0-nightly.20220921","22.0.0-nightly.20220922","22.0.0-nightly.20220923","22.0.0-nightly.20220926","22.0.0-nightly.20220927","22.0.0-nightly.20220928","23.0.0-nightly.20220929","23.0.0-nightly.20220930","23.0.0-nightly.20221003"],"108.0.5329.0":["22.0.0-alpha.3","22.0.0-alpha.4","22.0.0-alpha.5","23.0.0-nightly.20221004","23.0.0-nightly.20221005","23.0.0-nightly.20221006","23.0.0-nightly.20221007","23.0.0-nightly.20221010","23.0.0-nightly.20221011","23.0.0-nightly.20221012","23.0.0-nightly.20221013","23.0.0-nightly.20221014","23.0.0-nightly.20221017"],"107.0.5274.0":["22.0.0-nightly.20220908"]} \ No newline at end of file +{"39.0.2171.65":["0.20.0","0.20.1","0.20.2","0.20.3","0.20.4","0.20.5","0.20.6","0.20.7","0.20.8"],"40.0.2214.91":["0.21.0","0.21.1","0.21.2"],"41.0.2272.76":["0.21.3","0.22.1","0.22.2","0.22.3","0.23.0","0.24.0"],"42.0.2311.107":["0.25.0","0.25.1","0.25.2","0.25.3","0.26.0","0.26.1","0.27.0","0.27.1"],"43.0.2357.65":["0.27.2","0.27.3","0.28.0","0.28.1","0.28.2","0.28.3","0.29.1","0.29.2"],"44.0.2403.125":["0.30.4","0.31.0"],"45.0.2454.85":["0.31.2","0.32.2","0.32.3","0.33.0","0.33.1","0.33.2","0.33.3","0.33.4","0.33.6","0.33.7","0.33.8","0.33.9","0.34.0","0.34.1","0.34.2","0.34.3","0.34.4","0.35.1","0.35.2","0.35.3","0.35.4","0.35.5"],"47.0.2526.73":["0.36.0","0.36.2","0.36.3","0.36.4"],"47.0.2526.110":["0.36.5","0.36.6","0.36.7","0.36.8","0.36.9","0.36.10","0.36.11","0.36.12"],"49.0.2623.75":["0.37.0","0.37.1","0.37.3","0.37.4","0.37.5","0.37.6","0.37.7","0.37.8","1.0.0","1.0.1","1.0.2"],"50.0.2661.102":["1.1.0","1.1.1","1.1.2","1.1.3"],"51.0.2704.63":["1.2.0","1.2.1"],"51.0.2704.84":["1.2.2","1.2.3"],"51.0.2704.103":["1.2.4","1.2.5"],"51.0.2704.106":["1.2.6","1.2.7","1.2.8"],"52.0.2743.82":["1.3.0","1.3.1","1.3.2","1.3.3","1.3.4","1.3.5","1.3.6","1.3.7","1.3.9","1.3.10","1.3.13","1.3.14","1.3.15"],"53.0.2785.113":["1.4.0","1.4.1","1.4.2","1.4.3","1.4.4","1.4.5"],"53.0.2785.143":["1.4.6","1.4.7","1.4.8","1.4.10","1.4.11","1.4.13","1.4.14","1.4.15","1.4.16"],"54.0.2840.51":["1.4.12"],"54.0.2840.101":["1.5.0","1.5.1"],"56.0.2924.87":["1.6.0","1.6.1","1.6.2","1.6.3","1.6.4","1.6.5","1.6.6","1.6.7","1.6.8","1.6.9","1.6.10","1.6.11","1.6.12","1.6.13","1.6.14","1.6.15","1.6.16","1.6.17","1.6.18"],"58.0.3029.110":["1.7.0","1.7.1","1.7.2","1.7.3","1.7.4","1.7.5","1.7.6","1.7.7","1.7.8","1.7.9","1.7.10","1.7.11","1.7.12","1.7.13","1.7.14","1.7.15","1.7.16"],"59.0.3071.115":["1.8.0","1.8.1","1.8.2-beta.1","1.8.2-beta.2","1.8.2-beta.3","1.8.2-beta.4","1.8.2-beta.5","1.8.2","1.8.3","1.8.4","1.8.5","1.8.6","1.8.7","1.8.8"],"61.0.3163.100":["2.0.0-beta.1","2.0.0-beta.2","2.0.0-beta.3","2.0.0-beta.4","2.0.0-beta.5","2.0.0-beta.6","2.0.0-beta.7","2.0.0-beta.8","2.0.0","2.0.1","2.0.2","2.0.3","2.0.4","2.0.5","2.0.6","2.0.7","2.0.8","2.0.9","2.0.10","2.0.11","2.0.12","2.0.13","2.0.14","2.0.15","2.0.16","2.0.17","2.0.18","2.1.0-unsupported.20180809"],"66.0.3359.181":["3.0.0-beta.1","3.0.0-beta.2","3.0.0-beta.3","3.0.0-beta.4","3.0.0-beta.5","3.0.0-beta.6","3.0.0-beta.7","3.0.0-beta.8","3.0.0-beta.9","3.0.0-beta.10","3.0.0-beta.11","3.0.0-beta.12","3.0.0-beta.13","3.0.0","3.0.1","3.0.2","3.0.3","3.0.4","3.0.5","3.0.6","3.0.7","3.0.8","3.0.9","3.0.10","3.0.11","3.0.12","3.0.13","3.0.14","3.0.15","3.0.16","3.1.0-beta.1","3.1.0-beta.2","3.1.0-beta.3","3.1.0-beta.4","3.1.0-beta.5","3.1.0","3.1.1","3.1.2","3.1.3","3.1.4","3.1.5","3.1.6","3.1.7","3.1.8","3.1.9","3.1.10","3.1.11","3.1.12","3.1.13"],"69.0.3497.106":["4.0.0-beta.1","4.0.0-beta.2","4.0.0-beta.3","4.0.0-beta.4","4.0.0-beta.5","4.0.0-beta.6","4.0.0-beta.7","4.0.0-beta.8","4.0.0-beta.9","4.0.0-beta.10","4.0.0-beta.11","4.0.0","4.0.1","4.0.2","4.0.3","4.0.4","4.0.5","4.0.6"],"69.0.3497.128":["4.0.7","4.0.8","4.1.0","4.1.1","4.1.2","4.1.3","4.1.4","4.1.5","4.2.0","4.2.1","4.2.2","4.2.3","4.2.4","4.2.5","4.2.6","4.2.7","4.2.8","4.2.9","4.2.10","4.2.11","4.2.12"],"72.0.3626.52":["5.0.0-beta.1","5.0.0-beta.2"],"73.0.3683.27":["5.0.0-beta.3"],"73.0.3683.54":["5.0.0-beta.4"],"73.0.3683.61":["5.0.0-beta.5"],"73.0.3683.84":["5.0.0-beta.6"],"73.0.3683.94":["5.0.0-beta.7"],"73.0.3683.104":["5.0.0-beta.8"],"73.0.3683.117":["5.0.0-beta.9"],"73.0.3683.119":["5.0.0"],"73.0.3683.121":["5.0.1","5.0.2","5.0.3","5.0.4","5.0.5","5.0.6","5.0.7","5.0.8","5.0.9","5.0.10","5.0.11","5.0.12","5.0.13"],"76.0.3774.1":["6.0.0-beta.1"],"76.0.3783.1":["6.0.0-beta.2","6.0.0-beta.3","6.0.0-beta.4"],"76.0.3805.4":["6.0.0-beta.5"],"76.0.3809.3":["6.0.0-beta.6"],"76.0.3809.22":["6.0.0-beta.7"],"76.0.3809.26":["6.0.0-beta.8","6.0.0-beta.9"],"76.0.3809.37":["6.0.0-beta.10"],"76.0.3809.42":["6.0.0-beta.11"],"76.0.3809.54":["6.0.0-beta.12"],"76.0.3809.60":["6.0.0-beta.13"],"76.0.3809.68":["6.0.0-beta.14"],"76.0.3809.74":["6.0.0-beta.15"],"76.0.3809.88":["6.0.0"],"76.0.3809.102":["6.0.1"],"76.0.3809.110":["6.0.2"],"76.0.3809.126":["6.0.3"],"76.0.3809.131":["6.0.4"],"76.0.3809.136":["6.0.5"],"76.0.3809.138":["6.0.6"],"76.0.3809.139":["6.0.7"],"76.0.3809.146":["6.0.8","6.0.9","6.0.10","6.0.11","6.0.12","6.1.0","6.1.1","6.1.2","6.1.3","6.1.4","6.1.5","6.1.6","6.1.7","6.1.8","6.1.9","6.1.10","6.1.11","6.1.12"],"78.0.3866.0":["7.0.0-beta.1","7.0.0-beta.2","7.0.0-beta.3"],"78.0.3896.6":["7.0.0-beta.4"],"78.0.3905.1":["7.0.0-beta.5","7.0.0-beta.6","7.0.0-beta.7","7.0.0"],"78.0.3904.92":["7.0.1"],"78.0.3904.94":["7.1.0"],"78.0.3904.99":["7.1.1"],"78.0.3904.113":["7.1.2"],"78.0.3904.126":["7.1.3"],"78.0.3904.130":["7.1.4","7.1.5","7.1.6","7.1.7","7.1.8","7.1.9","7.1.10","7.1.11","7.1.12","7.1.13","7.1.14","7.2.0","7.2.1","7.2.2","7.2.3","7.2.4","7.3.0","7.3.1","7.3.2","7.3.3"],"79.0.3931.0":["8.0.0-beta.1","8.0.0-beta.2"],"80.0.3955.0":["8.0.0-beta.3","8.0.0-beta.4"],"80.0.3987.14":["8.0.0-beta.5"],"80.0.3987.51":["8.0.0-beta.6"],"80.0.3987.59":["8.0.0-beta.7"],"80.0.3987.75":["8.0.0-beta.8","8.0.0-beta.9"],"80.0.3987.86":["8.0.0","8.0.1","8.0.2"],"80.0.3987.134":["8.0.3"],"80.0.3987.137":["8.1.0"],"80.0.3987.141":["8.1.1"],"80.0.3987.158":["8.2.0"],"80.0.3987.163":["8.2.1","8.2.2","8.2.3","8.5.3","8.5.4","8.5.5"],"80.0.3987.165":["8.2.4","8.2.5","8.3.0","8.3.1","8.3.2","8.3.3","8.3.4","8.4.0","8.4.1","8.5.0","8.5.1","8.5.2"],"82.0.4048.0":["9.0.0-beta.1","9.0.0-beta.2","9.0.0-beta.3","9.0.0-beta.4","9.0.0-beta.5"],"82.0.4058.2":["9.0.0-beta.6","9.0.0-beta.7","9.0.0-beta.9"],"82.0.4085.10":["9.0.0-beta.10"],"82.0.4085.14":["9.0.0-beta.11","9.0.0-beta.12","9.0.0-beta.13"],"82.0.4085.27":["9.0.0-beta.14"],"83.0.4102.3":["9.0.0-beta.15","9.0.0-beta.16"],"83.0.4103.14":["9.0.0-beta.17"],"83.0.4103.16":["9.0.0-beta.18"],"83.0.4103.24":["9.0.0-beta.19"],"83.0.4103.26":["9.0.0-beta.20","9.0.0-beta.21"],"83.0.4103.34":["9.0.0-beta.22"],"83.0.4103.44":["9.0.0-beta.23"],"83.0.4103.45":["9.0.0-beta.24"],"83.0.4103.64":["9.0.0"],"83.0.4103.94":["9.0.1","9.0.2"],"83.0.4103.100":["9.0.3"],"83.0.4103.104":["9.0.4"],"83.0.4103.119":["9.0.5"],"83.0.4103.122":["9.1.0","9.1.1","9.1.2","9.2.0","9.2.1","9.3.0","9.3.1","9.3.2","9.3.3","9.3.4","9.3.5","9.4.0","9.4.1","9.4.2","9.4.3","9.4.4"],"84.0.4129.0":["10.0.0-beta.1","10.0.0-beta.2"],"85.0.4161.2":["10.0.0-beta.3","10.0.0-beta.4"],"85.0.4181.1":["10.0.0-beta.8","10.0.0-beta.9"],"85.0.4183.19":["10.0.0-beta.10"],"85.0.4183.20":["10.0.0-beta.11"],"85.0.4183.26":["10.0.0-beta.12"],"85.0.4183.39":["10.0.0-beta.13","10.0.0-beta.14","10.0.0-beta.15","10.0.0-beta.17","10.0.0-beta.19","10.0.0-beta.20","10.0.0-beta.21"],"85.0.4183.70":["10.0.0-beta.23"],"85.0.4183.78":["10.0.0-beta.24"],"85.0.4183.80":["10.0.0-beta.25"],"85.0.4183.84":["10.0.0"],"85.0.4183.86":["10.0.1"],"85.0.4183.87":["10.1.0"],"85.0.4183.93":["10.1.1"],"85.0.4183.98":["10.1.2"],"85.0.4183.121":["10.1.3","10.1.4","10.1.5","10.1.6","10.1.7","10.2.0","10.3.0","10.3.1","10.3.2","10.4.0","10.4.1","10.4.2","10.4.3","10.4.4","10.4.5","10.4.6","10.4.7"],"86.0.4234.0":["11.0.0-beta.1","11.0.0-beta.3","11.0.0-beta.4","11.0.0-beta.5","11.0.0-beta.6","11.0.0-beta.7"],"87.0.4251.1":["11.0.0-beta.8","11.0.0-beta.9","11.0.0-beta.11"],"87.0.4280.11":["11.0.0-beta.12","11.0.0-beta.13"],"87.0.4280.27":["11.0.0-beta.16","11.0.0-beta.17","11.0.0-beta.18","11.0.0-beta.19"],"87.0.4280.40":["11.0.0-beta.20"],"87.0.4280.47":["11.0.0-beta.22","11.0.0-beta.23"],"87.0.4280.60":["11.0.0","11.0.1"],"87.0.4280.67":["11.0.2","11.0.3","11.0.4"],"87.0.4280.88":["11.0.5","11.1.0","11.1.1"],"87.0.4280.141":["11.2.0","11.2.1","11.2.2","11.2.3","11.3.0","11.4.0","11.4.1","11.4.2","11.4.3","11.4.4","11.4.5","11.4.6","11.4.7","11.4.8","11.4.9","11.4.10","11.4.11","11.4.12","11.5.0"],"89.0.4328.0":["12.0.0-beta.1","12.0.0-beta.3","12.0.0-beta.4","12.0.0-beta.5","12.0.0-beta.6","12.0.0-beta.7","12.0.0-beta.8","12.0.0-beta.9","12.0.0-beta.10","12.0.0-beta.11","12.0.0-beta.12","12.0.0-beta.14"],"89.0.4348.1":["12.0.0-beta.16","12.0.0-beta.18","12.0.0-beta.19","12.0.0-beta.20"],"89.0.4388.2":["12.0.0-beta.21","12.0.0-beta.22","12.0.0-beta.23","12.0.0-beta.24","12.0.0-beta.25","12.0.0-beta.26"],"89.0.4389.23":["12.0.0-beta.27","12.0.0-beta.28","12.0.0-beta.29"],"89.0.4389.58":["12.0.0-beta.30","12.0.0-beta.31"],"89.0.4389.69":["12.0.0"],"89.0.4389.82":["12.0.1"],"89.0.4389.90":["12.0.2"],"89.0.4389.114":["12.0.3","12.0.4"],"89.0.4389.128":["12.0.5","12.0.6","12.0.7","12.0.8","12.0.9","12.0.10","12.0.11","12.0.12","12.0.13","12.0.14","12.0.15","12.0.16","12.0.17","12.0.18","12.1.0","12.1.1","12.1.2","12.2.0","12.2.1","12.2.2","12.2.3"],"90.0.4402.0":["13.0.0-beta.2","13.0.0-beta.3"],"90.0.4415.0":["13.0.0-beta.4","13.0.0-beta.5","13.0.0-beta.6","13.0.0-beta.7","13.0.0-beta.8","13.0.0-beta.9","13.0.0-beta.10","13.0.0-beta.11","13.0.0-beta.12","13.0.0-beta.13"],"91.0.4448.0":["13.0.0-beta.14","13.0.0-beta.16","13.0.0-beta.17","13.0.0-beta.18","13.0.0-beta.20"],"91.0.4472.33":["13.0.0-beta.21","13.0.0-beta.22","13.0.0-beta.23"],"91.0.4472.38":["13.0.0-beta.24","13.0.0-beta.25","13.0.0-beta.26","13.0.0-beta.27","13.0.0-beta.28"],"91.0.4472.69":["13.0.0","13.0.1"],"91.0.4472.77":["13.1.0","13.1.1","13.1.2"],"91.0.4472.106":["13.1.3","13.1.4"],"91.0.4472.124":["13.1.5","13.1.6","13.1.7"],"91.0.4472.164":["13.1.8","13.1.9","13.2.0","13.2.1","13.2.2","13.2.3","13.3.0","13.4.0","13.5.0","13.5.1","13.5.2","13.6.0","13.6.1","13.6.2","13.6.3","13.6.6","13.6.7","13.6.8","13.6.9"],"92.0.4511.0":["14.0.0-beta.1","14.0.0-beta.2","14.0.0-beta.3"],"93.0.4536.0":["14.0.0-beta.5","14.0.0-beta.6","14.0.0-beta.7","14.0.0-beta.8"],"93.0.4539.0":["14.0.0-beta.9","14.0.0-beta.10"],"93.0.4557.4":["14.0.0-beta.11","14.0.0-beta.12"],"93.0.4566.0":["14.0.0-beta.13","14.0.0-beta.14","14.0.0-beta.15","14.0.0-beta.16","14.0.0-beta.17","15.0.0-alpha.1","15.0.0-alpha.2"],"93.0.4577.15":["14.0.0-beta.18","14.0.0-beta.19","14.0.0-beta.20","14.0.0-beta.21"],"93.0.4577.25":["14.0.0-beta.22","14.0.0-beta.23"],"93.0.4577.51":["14.0.0-beta.24","14.0.0-beta.25"],"93.0.4577.58":["14.0.0"],"93.0.4577.63":["14.0.1"],"93.0.4577.82":["14.0.2","14.1.0","14.1.1","14.2.0","14.2.1","14.2.2","14.2.3","14.2.4","14.2.5","14.2.6","14.2.7","14.2.8","14.2.9"],"94.0.4584.0":["15.0.0-alpha.3","15.0.0-alpha.4","15.0.0-alpha.5","15.0.0-alpha.6"],"94.0.4590.2":["15.0.0-alpha.7","15.0.0-alpha.8","15.0.0-alpha.9"],"94.0.4606.12":["15.0.0-alpha.10"],"94.0.4606.20":["15.0.0-beta.1","15.0.0-beta.2"],"94.0.4606.31":["15.0.0-beta.3","15.0.0-beta.4","15.0.0-beta.5","15.0.0-beta.6","15.0.0-beta.7"],"94.0.4606.51":["15.0.0"],"94.0.4606.61":["15.1.0","15.1.1"],"94.0.4606.71":["15.1.2"],"94.0.4606.81":["15.2.0","15.3.0","15.3.1","15.3.2","15.3.3","15.3.4","15.3.5","15.3.6","15.3.7","15.4.0","15.4.1","15.4.2","15.5.0","15.5.1","15.5.2","15.5.3","15.5.4","15.5.5","15.5.6","15.5.7"],"95.0.4629.0":["16.0.0-alpha.1","16.0.0-alpha.2","16.0.0-alpha.3","16.0.0-alpha.4","16.0.0-alpha.5","16.0.0-alpha.6","16.0.0-alpha.7"],"96.0.4647.0":["16.0.0-alpha.8","16.0.0-alpha.9","16.0.0-beta.1","16.0.0-beta.2","16.0.0-beta.3"],"96.0.4664.18":["16.0.0-beta.4","16.0.0-beta.5"],"96.0.4664.27":["16.0.0-beta.6","16.0.0-beta.7"],"96.0.4664.35":["16.0.0-beta.8","16.0.0-beta.9"],"96.0.4664.45":["16.0.0","16.0.1"],"96.0.4664.55":["16.0.2","16.0.3","16.0.4","16.0.5"],"96.0.4664.110":["16.0.6","16.0.7","16.0.8"],"96.0.4664.174":["16.0.9","16.0.10","16.1.0","16.1.1","16.2.0","16.2.1","16.2.2","16.2.3","16.2.4","16.2.5","16.2.6","16.2.7","16.2.8"],"96.0.4664.4":["17.0.0-alpha.1","17.0.0-alpha.2","17.0.0-alpha.3"],"98.0.4706.0":["17.0.0-alpha.4","17.0.0-alpha.5","17.0.0-alpha.6","17.0.0-beta.1","17.0.0-beta.2"],"98.0.4758.9":["17.0.0-beta.3"],"98.0.4758.11":["17.0.0-beta.4","17.0.0-beta.5","17.0.0-beta.6","17.0.0-beta.7","17.0.0-beta.8","17.0.0-beta.9"],"98.0.4758.74":["17.0.0"],"98.0.4758.82":["17.0.1"],"98.0.4758.102":["17.1.0"],"98.0.4758.109":["17.1.1","17.1.2","17.2.0"],"98.0.4758.141":["17.3.0","17.3.1","17.4.0","17.4.1","17.4.2","17.4.3","17.4.4","17.4.5","17.4.6","17.4.7","17.4.8","17.4.9","17.4.10","17.4.11"],"99.0.4767.0":["18.0.0-alpha.1","18.0.0-alpha.2","18.0.0-alpha.3","18.0.0-alpha.4","18.0.0-alpha.5"],"100.0.4894.0":["18.0.0-beta.1","18.0.0-beta.2","18.0.0-beta.3","18.0.0-beta.4","18.0.0-beta.5","18.0.0-beta.6"],"100.0.4896.56":["18.0.0"],"100.0.4896.60":["18.0.1","18.0.2"],"100.0.4896.75":["18.0.3","18.0.4"],"100.0.4896.127":["18.1.0"],"100.0.4896.143":["18.2.0","18.2.1","18.2.2","18.2.3"],"100.0.4896.160":["18.2.4","18.3.0","18.3.1","18.3.2","18.3.3","18.3.4","18.3.5","18.3.6","18.3.7","18.3.8","18.3.9","18.3.11","18.3.12","18.3.13","18.3.14","18.3.15"],"102.0.4962.3":["19.0.0-alpha.1"],"102.0.4971.0":["19.0.0-alpha.2","19.0.0-alpha.3"],"102.0.4989.0":["19.0.0-alpha.4","19.0.0-alpha.5"],"102.0.4999.0":["19.0.0-beta.1","19.0.0-beta.2","19.0.0-beta.3"],"102.0.5005.27":["19.0.0-beta.4"],"102.0.5005.40":["19.0.0-beta.5","19.0.0-beta.6","19.0.0-beta.7"],"102.0.5005.49":["19.0.0-beta.8"],"102.0.5005.61":["19.0.0","19.0.1"],"102.0.5005.63":["19.0.2","19.0.3","19.0.4"],"102.0.5005.115":["19.0.5","19.0.6"],"102.0.5005.134":["19.0.7"],"102.0.5005.148":["19.0.8"],"102.0.5005.167":["19.0.9","19.0.10","19.0.11","19.0.12","19.0.13","19.0.14","19.0.15","19.0.16","19.0.17","19.1.0","19.1.1","19.1.2","19.1.3","19.1.4","19.1.5","19.1.6","19.1.7","19.1.8","19.1.9"],"103.0.5044.0":["20.0.0-alpha.1"],"104.0.5073.0":["20.0.0-alpha.2","20.0.0-alpha.3","20.0.0-alpha.4","20.0.0-alpha.5","20.0.0-alpha.6","20.0.0-alpha.7","20.0.0-beta.1","20.0.0-beta.2","20.0.0-beta.3","20.0.0-beta.4","20.0.0-beta.5","20.0.0-beta.6","20.0.0-beta.7","20.0.0-beta.8"],"104.0.5112.39":["20.0.0-beta.9"],"104.0.5112.48":["20.0.0-beta.10","20.0.0-beta.11","20.0.0-beta.12"],"104.0.5112.57":["20.0.0-beta.13"],"104.0.5112.65":["20.0.0"],"104.0.5112.81":["20.0.1","20.0.2","20.0.3"],"104.0.5112.102":["20.1.0","20.1.1"],"104.0.5112.114":["20.1.2","20.1.3","20.1.4"],"104.0.5112.124":["20.2.0","20.3.0","20.3.1","20.3.2","20.3.3","20.3.4","20.3.5","20.3.6","20.3.7","20.3.8","20.3.9","20.3.10","20.3.11","20.3.12"],"105.0.5187.0":["21.0.0-alpha.1","21.0.0-alpha.2","21.0.0-alpha.3","21.0.0-alpha.4","21.0.0-alpha.5"],"106.0.5216.0":["21.0.0-alpha.6","21.0.0-beta.1","21.0.0-beta.2","21.0.0-beta.3","21.0.0-beta.4","21.0.0-beta.5"],"106.0.5249.40":["21.0.0-beta.6","21.0.0-beta.7","21.0.0-beta.8"],"106.0.5249.51":["21.0.0"],"106.0.5249.61":["21.0.1"],"106.0.5249.91":["21.1.0"],"106.0.5249.103":["21.1.1"],"106.0.5249.119":["21.2.0"],"106.0.5249.165":["21.2.1"],"106.0.5249.168":["21.2.2","21.2.3"],"106.0.5249.181":["21.3.0","21.3.1"],"106.0.5249.199":["21.3.3","21.3.4","21.3.5","21.4.0","21.4.1","21.4.2","21.4.3","21.4.4"],"107.0.5286.0":["22.0.0-alpha.1"],"108.0.5329.0":["22.0.0-alpha.3","22.0.0-alpha.4","22.0.0-alpha.5","22.0.0-alpha.6"],"108.0.5355.0":["22.0.0-alpha.7"],"108.0.5359.10":["22.0.0-alpha.8","22.0.0-beta.1","22.0.0-beta.2","22.0.0-beta.3"],"108.0.5359.29":["22.0.0-beta.4"],"108.0.5359.40":["22.0.0-beta.5","22.0.0-beta.6"],"108.0.5359.48":["22.0.0-beta.7","22.0.0-beta.8"],"108.0.5359.62":["22.0.0"],"108.0.5359.125":["22.0.1"],"108.0.5359.179":["22.0.2","22.0.3","22.1.0"],"108.0.5359.215":["22.2.0","22.2.1","22.3.0","22.3.1","22.3.2","22.3.3","22.3.4","22.3.5","22.3.6","22.3.7","22.3.8","22.3.9","22.3.10","22.3.11","22.3.12","22.3.13","22.3.14","22.3.15","22.3.16","22.3.17","22.3.18","22.3.20","22.3.21","22.3.22","22.3.23","22.3.24","22.3.25","22.3.26","22.3.27"],"110.0.5415.0":["23.0.0-alpha.1"],"110.0.5451.0":["23.0.0-alpha.2","23.0.0-alpha.3"],"110.0.5478.5":["23.0.0-beta.1","23.0.0-beta.2","23.0.0-beta.3"],"110.0.5481.30":["23.0.0-beta.4"],"110.0.5481.38":["23.0.0-beta.5"],"110.0.5481.52":["23.0.0-beta.6","23.0.0-beta.8"],"110.0.5481.77":["23.0.0"],"110.0.5481.100":["23.1.0"],"110.0.5481.104":["23.1.1"],"110.0.5481.177":["23.1.2"],"110.0.5481.179":["23.1.3"],"110.0.5481.192":["23.1.4","23.2.0"],"110.0.5481.208":["23.2.1","23.2.2","23.2.3","23.2.4","23.3.0","23.3.1","23.3.2","23.3.3","23.3.4","23.3.5","23.3.6","23.3.7","23.3.8","23.3.9","23.3.10","23.3.11","23.3.12","23.3.13"],"111.0.5560.0":["24.0.0-alpha.1","24.0.0-alpha.2","24.0.0-alpha.3","24.0.0-alpha.4","24.0.0-alpha.5","24.0.0-alpha.6","24.0.0-alpha.7"],"111.0.5563.50":["24.0.0-beta.1","24.0.0-beta.2"],"112.0.5615.20":["24.0.0-beta.3","24.0.0-beta.4"],"112.0.5615.29":["24.0.0-beta.5"],"112.0.5615.39":["24.0.0-beta.6","24.0.0-beta.7"],"112.0.5615.49":["24.0.0"],"112.0.5615.50":["24.1.0","24.1.1"],"112.0.5615.87":["24.1.2"],"112.0.5615.165":["24.1.3","24.2.0","24.3.0"],"112.0.5615.183":["24.3.1"],"112.0.5615.204":["24.4.0","24.4.1","24.5.0","24.5.1","24.6.0","24.6.1","24.6.2","24.6.3","24.6.4","24.6.5","24.7.0","24.7.1","24.8.0","24.8.1","24.8.2","24.8.3","24.8.4","24.8.5","24.8.6","24.8.7","24.8.8"],"114.0.5694.0":["25.0.0-alpha.1","25.0.0-alpha.2"],"114.0.5710.0":["25.0.0-alpha.3","25.0.0-alpha.4"],"114.0.5719.0":["25.0.0-alpha.5","25.0.0-alpha.6","25.0.0-beta.1","25.0.0-beta.2","25.0.0-beta.3"],"114.0.5735.16":["25.0.0-beta.4","25.0.0-beta.5","25.0.0-beta.6","25.0.0-beta.7"],"114.0.5735.35":["25.0.0-beta.8"],"114.0.5735.45":["25.0.0-beta.9","25.0.0","25.0.1"],"114.0.5735.106":["25.1.0","25.1.1"],"114.0.5735.134":["25.2.0"],"114.0.5735.199":["25.3.0"],"114.0.5735.243":["25.3.1"],"114.0.5735.248":["25.3.2","25.4.0"],"114.0.5735.289":["25.5.0","25.6.0","25.7.0","25.8.0","25.8.1","25.8.2","25.8.3","25.8.4","25.9.0","25.9.1","25.9.2","25.9.3","25.9.4","25.9.5","25.9.6","25.9.7","25.9.8"],"116.0.5791.0":["26.0.0-alpha.1","26.0.0-alpha.2","26.0.0-alpha.3","26.0.0-alpha.4","26.0.0-alpha.5"],"116.0.5815.0":["26.0.0-alpha.6"],"116.0.5831.0":["26.0.0-alpha.7"],"116.0.5845.0":["26.0.0-alpha.8","26.0.0-beta.1"],"116.0.5845.14":["26.0.0-beta.2","26.0.0-beta.3","26.0.0-beta.4","26.0.0-beta.5","26.0.0-beta.6","26.0.0-beta.7"],"116.0.5845.42":["26.0.0-beta.8","26.0.0-beta.9"],"116.0.5845.49":["26.0.0-beta.10","26.0.0-beta.11"],"116.0.5845.62":["26.0.0-beta.12"],"116.0.5845.82":["26.0.0"],"116.0.5845.97":["26.1.0"],"116.0.5845.179":["26.2.0"],"116.0.5845.188":["26.2.1"],"116.0.5845.190":["26.2.2","26.2.3","26.2.4"],"116.0.5845.228":["26.3.0","26.4.0","26.4.1","26.4.2","26.4.3","26.5.0","26.6.0","26.6.1","26.6.2","26.6.3","26.6.4","26.6.5","26.6.6","26.6.7","26.6.8","26.6.9","26.6.10"],"118.0.5949.0":["27.0.0-alpha.1","27.0.0-alpha.2","27.0.0-alpha.3","27.0.0-alpha.4","27.0.0-alpha.5","27.0.0-alpha.6"],"118.0.5993.5":["27.0.0-beta.1","27.0.0-beta.2","27.0.0-beta.3"],"118.0.5993.11":["27.0.0-beta.4"],"118.0.5993.18":["27.0.0-beta.5","27.0.0-beta.6","27.0.0-beta.7","27.0.0-beta.8","27.0.0-beta.9"],"118.0.5993.54":["27.0.0"],"118.0.5993.89":["27.0.1","27.0.2"],"118.0.5993.120":["27.0.3"],"118.0.5993.129":["27.0.4"],"118.0.5993.144":["27.1.0","27.1.2"],"118.0.5993.159":["27.1.3","27.2.0","27.2.1","27.2.2","27.2.3","27.2.4","27.3.0","27.3.1","27.3.2","27.3.3","27.3.4","27.3.5","27.3.6","27.3.7","27.3.8","27.3.9","27.3.10","27.3.11"],"119.0.6045.0":["28.0.0-alpha.1","28.0.0-alpha.2"],"119.0.6045.21":["28.0.0-alpha.3","28.0.0-alpha.4"],"119.0.6045.33":["28.0.0-alpha.5","28.0.0-alpha.6","28.0.0-alpha.7","28.0.0-beta.1"],"120.0.6099.0":["28.0.0-beta.2"],"120.0.6099.5":["28.0.0-beta.3","28.0.0-beta.4"],"120.0.6099.18":["28.0.0-beta.5","28.0.0-beta.6","28.0.0-beta.7","28.0.0-beta.8","28.0.0-beta.9","28.0.0-beta.10"],"120.0.6099.35":["28.0.0-beta.11"],"120.0.6099.56":["28.0.0"],"120.0.6099.109":["28.1.0","28.1.1"],"120.0.6099.199":["28.1.2","28.1.3"],"120.0.6099.216":["28.1.4"],"120.0.6099.227":["28.2.0"],"120.0.6099.268":["28.2.1"],"120.0.6099.276":["28.2.2"],"120.0.6099.283":["28.2.3"],"120.0.6099.291":["28.2.4","28.2.5","28.2.6","28.2.7","28.2.8","28.2.9","28.2.10","28.3.0","28.3.1","28.3.2","28.3.3"],"121.0.6147.0":["29.0.0-alpha.1","29.0.0-alpha.2","29.0.0-alpha.3"],"121.0.6159.0":["29.0.0-alpha.4","29.0.0-alpha.5","29.0.0-alpha.6","29.0.0-alpha.7"],"122.0.6194.0":["29.0.0-alpha.8"],"122.0.6236.2":["29.0.0-alpha.9","29.0.0-alpha.10","29.0.0-alpha.11","29.0.0-beta.1","29.0.0-beta.2"],"122.0.6261.6":["29.0.0-beta.3","29.0.0-beta.4"],"122.0.6261.18":["29.0.0-beta.5","29.0.0-beta.6","29.0.0-beta.7","29.0.0-beta.8","29.0.0-beta.9","29.0.0-beta.10","29.0.0-beta.11"],"122.0.6261.29":["29.0.0-beta.12"],"122.0.6261.39":["29.0.0"],"122.0.6261.57":["29.0.1"],"122.0.6261.70":["29.1.0"],"122.0.6261.111":["29.1.1"],"122.0.6261.112":["29.1.2","29.1.3"],"122.0.6261.129":["29.1.4"],"122.0.6261.130":["29.1.5"],"122.0.6261.139":["29.1.6"],"122.0.6261.156":["29.2.0","29.3.0","29.3.1","29.3.2","29.3.3","29.4.0","29.4.1","29.4.2","29.4.3","29.4.4","29.4.5","29.4.6"],"123.0.6296.0":["30.0.0-alpha.1"],"123.0.6312.5":["30.0.0-alpha.2"],"124.0.6323.0":["30.0.0-alpha.3","30.0.0-alpha.4"],"124.0.6331.0":["30.0.0-alpha.5","30.0.0-alpha.6"],"124.0.6353.0":["30.0.0-alpha.7"],"124.0.6359.0":["30.0.0-beta.1","30.0.0-beta.2"],"124.0.6367.9":["30.0.0-beta.3","30.0.0-beta.4","30.0.0-beta.5"],"124.0.6367.18":["30.0.0-beta.6"],"124.0.6367.29":["30.0.0-beta.7","30.0.0-beta.8"],"124.0.6367.49":["30.0.0"],"124.0.6367.60":["30.0.1"],"124.0.6367.91":["30.0.2"],"124.0.6367.119":["30.0.3"],"124.0.6367.201":["30.0.4"],"124.0.6367.207":["30.0.5","30.0.6"],"124.0.6367.221":["30.0.7"],"124.0.6367.230":["30.0.8"],"124.0.6367.233":["30.0.9"],"124.0.6367.243":["30.1.0","30.1.1","30.1.2","30.2.0","30.3.0","30.3.1","30.4.0","30.5.0","30.5.1"],"125.0.6412.0":["31.0.0-alpha.1","31.0.0-alpha.2","31.0.0-alpha.3","31.0.0-alpha.4","31.0.0-alpha.5"],"126.0.6445.0":["31.0.0-beta.1","31.0.0-beta.2","31.0.0-beta.3","31.0.0-beta.4","31.0.0-beta.5","31.0.0-beta.6","31.0.0-beta.7","31.0.0-beta.8","31.0.0-beta.9"],"126.0.6478.36":["31.0.0-beta.10","31.0.0","31.0.1"],"126.0.6478.61":["31.0.2"],"126.0.6478.114":["31.1.0"],"126.0.6478.127":["31.2.0","31.2.1"],"126.0.6478.183":["31.3.0"],"126.0.6478.185":["31.3.1"],"126.0.6478.234":["31.4.0","31.5.0","31.6.0","31.7.0","31.7.1","31.7.2","31.7.3","31.7.4","31.7.5"],"127.0.6521.0":["32.0.0-alpha.1","32.0.0-alpha.2","32.0.0-alpha.3","32.0.0-alpha.4","32.0.0-alpha.5"],"128.0.6571.0":["32.0.0-alpha.6","32.0.0-alpha.7"],"128.0.6573.0":["32.0.0-alpha.8","32.0.0-alpha.9","32.0.0-alpha.10","32.0.0-beta.1"],"128.0.6611.0":["32.0.0-beta.2"],"128.0.6613.7":["32.0.0-beta.3"],"128.0.6613.18":["32.0.0-beta.4"],"128.0.6613.27":["32.0.0-beta.5","32.0.0-beta.6","32.0.0-beta.7"],"128.0.6613.36":["32.0.0","32.0.1"],"128.0.6613.84":["32.0.2"],"128.0.6613.120":["32.1.0"],"128.0.6613.137":["32.1.1"],"128.0.6613.162":["32.1.2"],"128.0.6613.178":["32.2.0"],"128.0.6613.186":["32.2.1","32.2.2","32.2.3","32.2.4","32.2.5"],"129.0.6668.0":["33.0.0-alpha.1"],"130.0.6672.0":["33.0.0-alpha.2","33.0.0-alpha.3","33.0.0-alpha.4","33.0.0-alpha.5","33.0.0-alpha.6","33.0.0-beta.1","33.0.0-beta.2","33.0.0-beta.3","33.0.0-beta.4"],"130.0.6723.19":["33.0.0-beta.5","33.0.0-beta.6","33.0.0-beta.7"],"130.0.6723.31":["33.0.0-beta.8","33.0.0-beta.9","33.0.0-beta.10"],"130.0.6723.44":["33.0.0-beta.11","33.0.0"],"130.0.6723.59":["33.0.1","33.0.2"],"130.0.6723.91":["33.1.0"],"130.0.6723.118":["33.2.0"],"131.0.6776.0":["34.0.0-alpha.1"],"132.0.6779.0":["34.0.0-alpha.2"],"132.0.6789.1":["34.0.0-alpha.3","34.0.0-alpha.4","34.0.0-alpha.5","34.0.0-alpha.6","34.0.0-alpha.7"],"132.0.6820.0":["34.0.0-alpha.8"],"132.0.6824.0":["34.0.0-alpha.9","34.0.0-beta.1","34.0.0-beta.2","34.0.0-beta.3"],"132.0.6834.6":["34.0.0-beta.4","34.0.0-beta.5"]} \ No newline at end of file diff --git a/node_modules/electron-to-chromium/full-versions.js b/node_modules/electron-to-chromium/full-versions.js index efdfd476c7..c3eae0cbd2 100644 --- a/node_modules/electron-to-chromium/full-versions.js +++ b/node_modules/electron-to-chromium/full-versions.js @@ -190,8 +190,6 @@ module.exports = { "2.0.5": "61.0.3163.100", "2.0.6": "61.0.3163.100", "2.0.7": "61.0.3163.100", - "2.0.8-nightly.20180819": "61.0.3163.100", - "2.0.8-nightly.20180820": "61.0.3163.100", "2.0.8": "61.0.3163.100", "2.0.9": "61.0.3163.100", "2.0.10": "61.0.3163.100", @@ -217,10 +215,6 @@ module.exports = { "3.0.0-beta.11": "66.0.3359.181", "3.0.0-beta.12": "66.0.3359.181", "3.0.0-beta.13": "66.0.3359.181", - "3.0.0-nightly.20180818": "66.0.3359.181", - "3.0.0-nightly.20180821": "66.0.3359.181", - "3.0.0-nightly.20180823": "66.0.3359.181", - "3.0.0-nightly.20180904": "66.0.3359.181", "3.0.0": "66.0.3359.181", "3.0.1": "66.0.3359.181", "3.0.2": "66.0.3359.181", @@ -268,12 +262,6 @@ module.exports = { "4.0.0-beta.9": "69.0.3497.106", "4.0.0-beta.10": "69.0.3497.106", "4.0.0-beta.11": "69.0.3497.106", - "4.0.0-nightly.20180817": "66.0.3359.181", - "4.0.0-nightly.20180819": "66.0.3359.181", - "4.0.0-nightly.20180821": "66.0.3359.181", - "4.0.0-nightly.20180929": "67.0.3396.99", - "4.0.0-nightly.20181006": "68.0.3440.128", - "4.0.0-nightly.20181010": "69.0.3497.106", "4.0.0": "69.0.3497.106", "4.0.1": "69.0.3497.106", "4.0.2": "69.0.3497.106", @@ -311,9 +299,6 @@ module.exports = { "5.0.0-beta.7": "73.0.3683.94", "5.0.0-beta.8": "73.0.3683.104", "5.0.0-beta.9": "73.0.3683.117", - "5.0.0-nightly.20190107": "70.0.3538.110", - "5.0.0-nightly.20190121": "71.0.3578.98", - "5.0.0-nightly.20190122": "71.0.3578.98", "5.0.0": "73.0.3683.119", "5.0.1": "73.0.3683.121", "5.0.2": "73.0.3683.121", @@ -343,9 +328,6 @@ module.exports = { "6.0.0-beta.13": "76.0.3809.60", "6.0.0-beta.14": "76.0.3809.68", "6.0.0-beta.15": "76.0.3809.74", - "6.0.0-nightly.20190212": "72.0.3626.107", - "6.0.0-nightly.20190213": "72.0.3626.110", - "6.0.0-nightly.20190311": "74.0.3724.8", "6.0.0": "76.0.3809.88", "6.0.1": "76.0.3809.102", "6.0.2": "76.0.3809.110", @@ -379,44 +361,6 @@ module.exports = { "7.0.0-beta.5": "78.0.3905.1", "7.0.0-beta.6": "78.0.3905.1", "7.0.0-beta.7": "78.0.3905.1", - "7.0.0-nightly.20190521": "76.0.3784.0", - "7.0.0-nightly.20190529": "76.0.3806.0", - "7.0.0-nightly.20190530": "76.0.3806.0", - "7.0.0-nightly.20190531": "76.0.3806.0", - "7.0.0-nightly.20190602": "76.0.3806.0", - "7.0.0-nightly.20190603": "76.0.3806.0", - "7.0.0-nightly.20190604": "77.0.3814.0", - "7.0.0-nightly.20190605": "77.0.3815.0", - "7.0.0-nightly.20190606": "77.0.3815.0", - "7.0.0-nightly.20190607": "77.0.3815.0", - "7.0.0-nightly.20190608": "77.0.3815.0", - "7.0.0-nightly.20190609": "77.0.3815.0", - "7.0.0-nightly.20190611": "77.0.3815.0", - "7.0.0-nightly.20190612": "77.0.3815.0", - "7.0.0-nightly.20190613": "77.0.3815.0", - "7.0.0-nightly.20190615": "77.0.3815.0", - "7.0.0-nightly.20190616": "77.0.3815.0", - "7.0.0-nightly.20190618": "77.0.3815.0", - "7.0.0-nightly.20190619": "77.0.3815.0", - "7.0.0-nightly.20190622": "77.0.3815.0", - "7.0.0-nightly.20190623": "77.0.3815.0", - "7.0.0-nightly.20190624": "77.0.3815.0", - "7.0.0-nightly.20190627": "77.0.3815.0", - "7.0.0-nightly.20190629": "77.0.3815.0", - "7.0.0-nightly.20190630": "77.0.3815.0", - "7.0.0-nightly.20190701": "77.0.3815.0", - "7.0.0-nightly.20190702": "77.0.3815.0", - "7.0.0-nightly.20190704": "77.0.3843.0", - "7.0.0-nightly.20190705": "77.0.3843.0", - "7.0.0-nightly.20190719": "77.0.3848.0", - "7.0.0-nightly.20190720": "77.0.3848.0", - "7.0.0-nightly.20190721": "77.0.3848.0", - "7.0.0-nightly.20190726": "77.0.3864.0", - "7.0.0-nightly.20190727": "78.0.3866.0", - "7.0.0-nightly.20190728": "78.0.3866.0", - "7.0.0-nightly.20190729": "78.0.3866.0", - "7.0.0-nightly.20190730": "78.0.3866.0", - "7.0.0-nightly.20190731": "78.0.3866.0", "7.0.0": "78.0.3905.1", "7.0.1": "78.0.3904.92", "7.1.0": "78.0.3904.94", @@ -452,60 +396,6 @@ module.exports = { "8.0.0-beta.7": "80.0.3987.59", "8.0.0-beta.8": "80.0.3987.75", "8.0.0-beta.9": "80.0.3987.75", - "8.0.0-nightly.20190801": "78.0.3866.0", - "8.0.0-nightly.20190802": "78.0.3866.0", - "8.0.0-nightly.20190803": "78.0.3871.0", - "8.0.0-nightly.20190806": "78.0.3871.0", - "8.0.0-nightly.20190807": "78.0.3871.0", - "8.0.0-nightly.20190808": "78.0.3871.0", - "8.0.0-nightly.20190809": "78.0.3871.0", - "8.0.0-nightly.20190810": "78.0.3871.0", - "8.0.0-nightly.20190811": "78.0.3871.0", - "8.0.0-nightly.20190812": "78.0.3871.0", - "8.0.0-nightly.20190813": "78.0.3871.0", - "8.0.0-nightly.20190814": "78.0.3871.0", - "8.0.0-nightly.20190815": "78.0.3871.0", - "8.0.0-nightly.20190816": "78.0.3881.0", - "8.0.0-nightly.20190817": "78.0.3881.0", - "8.0.0-nightly.20190818": "78.0.3881.0", - "8.0.0-nightly.20190819": "78.0.3881.0", - "8.0.0-nightly.20190820": "78.0.3881.0", - "8.0.0-nightly.20190824": "78.0.3892.0", - "8.0.0-nightly.20190825": "78.0.3892.0", - "8.0.0-nightly.20190827": "78.0.3892.0", - "8.0.0-nightly.20190828": "78.0.3892.0", - "8.0.0-nightly.20190830": "78.0.3892.0", - "8.0.0-nightly.20190901": "78.0.3892.0", - "8.0.0-nightly.20190902": "78.0.3892.0", - "8.0.0-nightly.20190907": "78.0.3892.0", - "8.0.0-nightly.20190909": "78.0.3892.0", - "8.0.0-nightly.20190910": "78.0.3892.0", - "8.0.0-nightly.20190911": "78.0.3892.0", - "8.0.0-nightly.20190913": "78.0.3892.0", - "8.0.0-nightly.20190914": "78.0.3892.0", - "8.0.0-nightly.20190915": "78.0.3892.0", - "8.0.0-nightly.20190917": "78.0.3892.0", - "8.0.0-nightly.20190919": "79.0.3915.0", - "8.0.0-nightly.20190920": "79.0.3915.0", - "8.0.0-nightly.20190923": "79.0.3919.0", - "8.0.0-nightly.20190924": "79.0.3919.0", - "8.0.0-nightly.20190926": "79.0.3919.0", - "8.0.0-nightly.20190929": "79.0.3919.0", - "8.0.0-nightly.20190930": "79.0.3919.0", - "8.0.0-nightly.20191001": "79.0.3919.0", - "8.0.0-nightly.20191004": "79.0.3919.0", - "8.0.0-nightly.20191005": "79.0.3919.0", - "8.0.0-nightly.20191006": "79.0.3919.0", - "8.0.0-nightly.20191009": "79.0.3919.0", - "8.0.0-nightly.20191011": "79.0.3919.0", - "8.0.0-nightly.20191012": "79.0.3919.0", - "8.0.0-nightly.20191017": "79.0.3919.0", - "8.0.0-nightly.20191019": "79.0.3931.0", - "8.0.0-nightly.20191020": "79.0.3931.0", - "8.0.0-nightly.20191021": "79.0.3931.0", - "8.0.0-nightly.20191023": "79.0.3931.0", - "8.0.0-nightly.20191101": "80.0.3952.0", - "8.0.0-nightly.20191105": "80.0.3952.0", "8.0.0": "80.0.3987.86", "8.0.1": "80.0.3987.86", "8.0.2": "80.0.3987.86", @@ -540,6 +430,7 @@ module.exports = { "9.0.0-beta.7": "82.0.4058.2", "9.0.0-beta.9": "82.0.4058.2", "9.0.0-beta.10": "82.0.4085.10", + "9.0.0-beta.11": "82.0.4085.14", "9.0.0-beta.12": "82.0.4085.14", "9.0.0-beta.13": "82.0.4085.14", "9.0.0-beta.14": "82.0.4085.27", @@ -553,43 +444,6 @@ module.exports = { "9.0.0-beta.22": "83.0.4103.34", "9.0.0-beta.23": "83.0.4103.44", "9.0.0-beta.24": "83.0.4103.45", - "9.0.0-nightly.20191121": "80.0.3954.0", - "9.0.0-nightly.20191122": "80.0.3954.0", - "9.0.0-nightly.20191123": "80.0.3954.0", - "9.0.0-nightly.20191124": "80.0.3954.0", - "9.0.0-nightly.20191129": "80.0.3954.0", - "9.0.0-nightly.20191130": "80.0.3954.0", - "9.0.0-nightly.20191201": "80.0.3954.0", - "9.0.0-nightly.20191202": "80.0.3954.0", - "9.0.0-nightly.20191203": "80.0.3954.0", - "9.0.0-nightly.20191204": "80.0.3954.0", - "9.0.0-nightly.20191210": "80.0.3954.0", - "9.0.0-nightly.20191220": "81.0.3994.0", - "9.0.0-nightly.20191221": "81.0.3994.0", - "9.0.0-nightly.20191222": "81.0.3994.0", - "9.0.0-nightly.20191223": "81.0.3994.0", - "9.0.0-nightly.20191224": "81.0.3994.0", - "9.0.0-nightly.20191225": "81.0.3994.0", - "9.0.0-nightly.20191226": "81.0.3994.0", - "9.0.0-nightly.20191228": "81.0.3994.0", - "9.0.0-nightly.20191229": "81.0.3994.0", - "9.0.0-nightly.20191230": "81.0.3994.0", - "9.0.0-nightly.20191231": "81.0.3994.0", - "9.0.0-nightly.20200101": "81.0.3994.0", - "9.0.0-nightly.20200103": "81.0.3994.0", - "9.0.0-nightly.20200104": "81.0.3994.0", - "9.0.0-nightly.20200105": "81.0.3994.0", - "9.0.0-nightly.20200106": "81.0.3994.0", - "9.0.0-nightly.20200108": "81.0.3994.0", - "9.0.0-nightly.20200109": "81.0.3994.0", - "9.0.0-nightly.20200110": "81.0.3994.0", - "9.0.0-nightly.20200111": "81.0.3994.0", - "9.0.0-nightly.20200113": "81.0.3994.0", - "9.0.0-nightly.20200115": "81.0.3994.0", - "9.0.0-nightly.20200116": "81.0.3994.0", - "9.0.0-nightly.20200117": "81.0.3994.0", - "9.0.0-nightly.20200119": "81.0.4030.0", - "9.0.0-nightly.20200121": "81.0.4030.0", "9.0.0": "83.0.4103.64", "9.0.1": "83.0.4103.94", "9.0.2": "83.0.4103.94", @@ -631,66 +485,6 @@ module.exports = { "10.0.0-beta.23": "85.0.4183.70", "10.0.0-beta.24": "85.0.4183.78", "10.0.0-beta.25": "85.0.4183.80", - "10.0.0-nightly.20200209": "82.0.4050.0", - "10.0.0-nightly.20200210": "82.0.4050.0", - "10.0.0-nightly.20200211": "82.0.4050.0", - "10.0.0-nightly.20200216": "82.0.4050.0", - "10.0.0-nightly.20200217": "82.0.4050.0", - "10.0.0-nightly.20200218": "82.0.4050.0", - "10.0.0-nightly.20200221": "82.0.4050.0", - "10.0.0-nightly.20200222": "82.0.4050.0", - "10.0.0-nightly.20200223": "82.0.4050.0", - "10.0.0-nightly.20200226": "82.0.4050.0", - "10.0.0-nightly.20200303": "82.0.4050.0", - "10.0.0-nightly.20200304": "82.0.4076.0", - "10.0.0-nightly.20200305": "82.0.4076.0", - "10.0.0-nightly.20200306": "82.0.4076.0", - "10.0.0-nightly.20200309": "82.0.4076.0", - "10.0.0-nightly.20200310": "82.0.4076.0", - "10.0.0-nightly.20200311": "82.0.4083.0", - "10.0.0-nightly.20200316": "83.0.4086.0", - "10.0.0-nightly.20200317": "83.0.4087.0", - "10.0.0-nightly.20200318": "83.0.4087.0", - "10.0.0-nightly.20200320": "83.0.4087.0", - "10.0.0-nightly.20200323": "83.0.4087.0", - "10.0.0-nightly.20200324": "83.0.4087.0", - "10.0.0-nightly.20200325": "83.0.4087.0", - "10.0.0-nightly.20200326": "83.0.4087.0", - "10.0.0-nightly.20200327": "83.0.4087.0", - "10.0.0-nightly.20200330": "83.0.4087.0", - "10.0.0-nightly.20200331": "83.0.4087.0", - "10.0.0-nightly.20200401": "83.0.4087.0", - "10.0.0-nightly.20200402": "83.0.4087.0", - "10.0.0-nightly.20200403": "83.0.4087.0", - "10.0.0-nightly.20200406": "83.0.4087.0", - "10.0.0-nightly.20200408": "83.0.4095.0", - "10.0.0-nightly.20200410": "83.0.4095.0", - "10.0.0-nightly.20200413": "83.0.4095.0", - "10.0.0-nightly.20200414": "84.0.4114.0", - "10.0.0-nightly.20200415": "84.0.4115.0", - "10.0.0-nightly.20200416": "84.0.4115.0", - "10.0.0-nightly.20200417": "84.0.4115.0", - "10.0.0-nightly.20200422": "84.0.4121.0", - "10.0.0-nightly.20200423": "84.0.4121.0", - "10.0.0-nightly.20200427": "84.0.4125.0", - "10.0.0-nightly.20200428": "84.0.4125.0", - "10.0.0-nightly.20200429": "84.0.4125.0", - "10.0.0-nightly.20200430": "84.0.4125.0", - "10.0.0-nightly.20200501": "84.0.4129.0", - "10.0.0-nightly.20200504": "84.0.4129.0", - "10.0.0-nightly.20200505": "84.0.4129.0", - "10.0.0-nightly.20200506": "84.0.4129.0", - "10.0.0-nightly.20200507": "84.0.4129.0", - "10.0.0-nightly.20200508": "84.0.4129.0", - "10.0.0-nightly.20200511": "84.0.4129.0", - "10.0.0-nightly.20200512": "84.0.4129.0", - "10.0.0-nightly.20200513": "84.0.4129.0", - "10.0.0-nightly.20200514": "84.0.4129.0", - "10.0.0-nightly.20200515": "84.0.4129.0", - "10.0.0-nightly.20200518": "84.0.4129.0", - "10.0.0-nightly.20200519": "84.0.4129.0", - "10.0.0-nightly.20200520": "84.0.4129.0", - "10.0.0-nightly.20200521": "84.0.4129.0", "10.0.0": "85.0.4183.84", "10.0.1": "85.0.4183.86", "10.1.0": "85.0.4183.87", @@ -731,45 +525,6 @@ module.exports = { "11.0.0-beta.20": "87.0.4280.40", "11.0.0-beta.22": "87.0.4280.47", "11.0.0-beta.23": "87.0.4280.47", - "11.0.0-nightly.20200525": "84.0.4129.0", - "11.0.0-nightly.20200526": "84.0.4129.0", - "11.0.0-nightly.20200529": "85.0.4156.0", - "11.0.0-nightly.20200602": "85.0.4162.0", - "11.0.0-nightly.20200603": "85.0.4162.0", - "11.0.0-nightly.20200604": "85.0.4162.0", - "11.0.0-nightly.20200609": "85.0.4162.0", - "11.0.0-nightly.20200610": "85.0.4162.0", - "11.0.0-nightly.20200611": "85.0.4162.0", - "11.0.0-nightly.20200615": "85.0.4162.0", - "11.0.0-nightly.20200616": "85.0.4162.0", - "11.0.0-nightly.20200617": "85.0.4162.0", - "11.0.0-nightly.20200618": "85.0.4162.0", - "11.0.0-nightly.20200619": "85.0.4162.0", - "11.0.0-nightly.20200701": "85.0.4179.0", - "11.0.0-nightly.20200702": "85.0.4179.0", - "11.0.0-nightly.20200703": "85.0.4179.0", - "11.0.0-nightly.20200706": "85.0.4179.0", - "11.0.0-nightly.20200707": "85.0.4179.0", - "11.0.0-nightly.20200708": "85.0.4179.0", - "11.0.0-nightly.20200709": "85.0.4179.0", - "11.0.0-nightly.20200716": "86.0.4203.0", - "11.0.0-nightly.20200717": "86.0.4203.0", - "11.0.0-nightly.20200720": "86.0.4203.0", - "11.0.0-nightly.20200721": "86.0.4203.0", - "11.0.0-nightly.20200723": "86.0.4209.0", - "11.0.0-nightly.20200724": "86.0.4209.0", - "11.0.0-nightly.20200729": "86.0.4209.0", - "11.0.0-nightly.20200730": "86.0.4209.0", - "11.0.0-nightly.20200731": "86.0.4209.0", - "11.0.0-nightly.20200803": "86.0.4209.0", - "11.0.0-nightly.20200804": "86.0.4209.0", - "11.0.0-nightly.20200805": "86.0.4209.0", - "11.0.0-nightly.20200811": "86.0.4209.0", - "11.0.0-nightly.20200812": "86.0.4209.0", - "11.0.0-nightly.20200822": "86.0.4234.0", - "11.0.0-nightly.20200824": "86.0.4234.0", - "11.0.0-nightly.20200825": "86.0.4234.0", - "11.0.0-nightly.20200826": "86.0.4234.0", "11.0.0": "87.0.4280.60", "11.0.1": "87.0.4280.60", "11.0.2": "87.0.4280.67", @@ -824,28 +579,6 @@ module.exports = { "12.0.0-beta.29": "89.0.4389.23", "12.0.0-beta.30": "89.0.4389.58", "12.0.0-beta.31": "89.0.4389.58", - "12.0.0-nightly.20200827": "86.0.4234.0", - "12.0.0-nightly.20200831": "86.0.4234.0", - "12.0.0-nightly.20200902": "86.0.4234.0", - "12.0.0-nightly.20200903": "86.0.4234.0", - "12.0.0-nightly.20200907": "86.0.4234.0", - "12.0.0-nightly.20200910": "86.0.4234.0", - "12.0.0-nightly.20200911": "86.0.4234.0", - "12.0.0-nightly.20200914": "86.0.4234.0", - "12.0.0-nightly.20201013": "87.0.4268.0", - "12.0.0-nightly.20201014": "87.0.4268.0", - "12.0.0-nightly.20201015": "87.0.4268.0", - "12.0.0-nightly.20201023": "88.0.4292.0", - "12.0.0-nightly.20201026": "88.0.4292.0", - "12.0.0-nightly.20201030": "88.0.4306.0", - "12.0.0-nightly.20201102": "88.0.4306.0", - "12.0.0-nightly.20201103": "88.0.4306.0", - "12.0.0-nightly.20201104": "88.0.4306.0", - "12.0.0-nightly.20201105": "88.0.4306.0", - "12.0.0-nightly.20201106": "88.0.4306.0", - "12.0.0-nightly.20201111": "88.0.4306.0", - "12.0.0-nightly.20201112": "88.0.4306.0", - "12.0.0-nightly.20201116": "88.0.4324.0", "12.0.0": "89.0.4389.69", "12.0.1": "89.0.4389.82", "12.0.2": "89.0.4389.90", @@ -880,6 +613,7 @@ module.exports = { "13.0.0-beta.7": "90.0.4415.0", "13.0.0-beta.8": "90.0.4415.0", "13.0.0-beta.9": "90.0.4415.0", + "13.0.0-beta.10": "90.0.4415.0", "13.0.0-beta.11": "90.0.4415.0", "13.0.0-beta.12": "90.0.4415.0", "13.0.0-beta.13": "90.0.4415.0", @@ -892,60 +626,10 @@ module.exports = { "13.0.0-beta.22": "91.0.4472.33", "13.0.0-beta.23": "91.0.4472.33", "13.0.0-beta.24": "91.0.4472.38", + "13.0.0-beta.25": "91.0.4472.38", "13.0.0-beta.26": "91.0.4472.38", "13.0.0-beta.27": "91.0.4472.38", "13.0.0-beta.28": "91.0.4472.38", - "13.0.0-nightly.20201119": "89.0.4328.0", - "13.0.0-nightly.20201123": "89.0.4328.0", - "13.0.0-nightly.20201124": "89.0.4328.0", - "13.0.0-nightly.20201126": "89.0.4328.0", - "13.0.0-nightly.20201127": "89.0.4328.0", - "13.0.0-nightly.20201130": "89.0.4328.0", - "13.0.0-nightly.20201201": "89.0.4328.0", - "13.0.0-nightly.20201202": "89.0.4328.0", - "13.0.0-nightly.20201203": "89.0.4328.0", - "13.0.0-nightly.20201204": "89.0.4328.0", - "13.0.0-nightly.20201207": "89.0.4328.0", - "13.0.0-nightly.20201208": "89.0.4328.0", - "13.0.0-nightly.20201209": "89.0.4328.0", - "13.0.0-nightly.20201210": "89.0.4328.0", - "13.0.0-nightly.20201211": "89.0.4328.0", - "13.0.0-nightly.20201214": "89.0.4328.0", - "13.0.0-nightly.20201215": "89.0.4349.0", - "13.0.0-nightly.20201216": "89.0.4349.0", - "13.0.0-nightly.20201221": "89.0.4349.0", - "13.0.0-nightly.20201222": "89.0.4349.0", - "13.0.0-nightly.20201223": "89.0.4359.0", - "13.0.0-nightly.20210104": "89.0.4359.0", - "13.0.0-nightly.20210108": "89.0.4359.0", - "13.0.0-nightly.20210111": "89.0.4359.0", - "13.0.0-nightly.20210113": "89.0.4386.0", - "13.0.0-nightly.20210114": "89.0.4386.0", - "13.0.0-nightly.20210118": "89.0.4386.0", - "13.0.0-nightly.20210122": "89.0.4386.0", - "13.0.0-nightly.20210125": "89.0.4386.0", - "13.0.0-nightly.20210127": "89.0.4389.0", - "13.0.0-nightly.20210128": "89.0.4389.0", - "13.0.0-nightly.20210129": "89.0.4389.0", - "13.0.0-nightly.20210201": "89.0.4389.0", - "13.0.0-nightly.20210202": "89.0.4389.0", - "13.0.0-nightly.20210203": "89.0.4389.0", - "13.0.0-nightly.20210205": "89.0.4389.0", - "13.0.0-nightly.20210208": "89.0.4389.0", - "13.0.0-nightly.20210209": "89.0.4389.0", - "13.0.0-nightly.20210210": "90.0.4402.0", - "13.0.0-nightly.20210211": "90.0.4402.0", - "13.0.0-nightly.20210212": "90.0.4402.0", - "13.0.0-nightly.20210216": "90.0.4402.0", - "13.0.0-nightly.20210217": "90.0.4402.0", - "13.0.0-nightly.20210218": "90.0.4402.0", - "13.0.0-nightly.20210219": "90.0.4402.0", - "13.0.0-nightly.20210222": "90.0.4402.0", - "13.0.0-nightly.20210225": "90.0.4402.0", - "13.0.0-nightly.20210226": "90.0.4402.0", - "13.0.0-nightly.20210301": "90.0.4402.0", - "13.0.0-nightly.20210302": "90.0.4402.0", - "13.0.0-nightly.20210303": "90.0.4402.0", "13.0.0": "91.0.4472.69", "13.0.1": "91.0.4472.69", "13.1.0": "91.0.4472.77", @@ -999,48 +683,6 @@ module.exports = { "14.0.0-beta.23": "93.0.4577.25", "14.0.0-beta.24": "93.0.4577.51", "14.0.0-beta.25": "93.0.4577.51", - "14.0.0-nightly.20210304": "90.0.4402.0", - "14.0.0-nightly.20210305": "90.0.4415.0", - "14.0.0-nightly.20210308": "90.0.4415.0", - "14.0.0-nightly.20210309": "90.0.4415.0", - "14.0.0-nightly.20210311": "90.0.4415.0", - "14.0.0-nightly.20210315": "90.0.4415.0", - "14.0.0-nightly.20210316": "90.0.4415.0", - "14.0.0-nightly.20210317": "90.0.4415.0", - "14.0.0-nightly.20210318": "90.0.4415.0", - "14.0.0-nightly.20210319": "90.0.4415.0", - "14.0.0-nightly.20210323": "90.0.4415.0", - "14.0.0-nightly.20210324": "90.0.4415.0", - "14.0.0-nightly.20210325": "90.0.4415.0", - "14.0.0-nightly.20210326": "90.0.4415.0", - "14.0.0-nightly.20210329": "90.0.4415.0", - "14.0.0-nightly.20210330": "90.0.4415.0", - "14.0.0-nightly.20210331": "91.0.4448.0", - "14.0.0-nightly.20210401": "91.0.4448.0", - "14.0.0-nightly.20210402": "91.0.4448.0", - "14.0.0-nightly.20210406": "91.0.4448.0", - "14.0.0-nightly.20210407": "91.0.4448.0", - "14.0.0-nightly.20210408": "91.0.4448.0", - "14.0.0-nightly.20210409": "91.0.4448.0", - "14.0.0-nightly.20210413": "91.0.4448.0", - "14.0.0-nightly.20210426": "92.0.4475.0", - "14.0.0-nightly.20210427": "92.0.4475.0", - "14.0.0-nightly.20210430": "92.0.4488.0", - "14.0.0-nightly.20210503": "92.0.4488.0", - "14.0.0-nightly.20210505": "92.0.4496.0", - "14.0.0-nightly.20210506": "92.0.4498.0", - "14.0.0-nightly.20210507": "92.0.4499.0", - "14.0.0-nightly.20210510": "92.0.4499.0", - "14.0.0-nightly.20210511": "92.0.4499.0", - "14.0.0-nightly.20210512": "92.0.4499.0", - "14.0.0-nightly.20210513": "92.0.4499.0", - "14.0.0-nightly.20210514": "92.0.4505.0", - "14.0.0-nightly.20210517": "92.0.4505.0", - "14.0.0-nightly.20210518": "92.0.4505.0", - "14.0.0-nightly.20210519": "92.0.4505.0", - "14.0.0-nightly.20210520": "92.0.4511.0", - "14.0.0-nightly.20210523": "92.0.4511.0", - "14.0.0-nightly.20210524": "92.0.4511.0", "14.0.0": "93.0.4577.58", "14.0.1": "93.0.4577.63", "14.0.2": "93.0.4577.82", @@ -1073,45 +715,6 @@ module.exports = { "15.0.0-beta.5": "94.0.4606.31", "15.0.0-beta.6": "94.0.4606.31", "15.0.0-beta.7": "94.0.4606.31", - "15.0.0-nightly.20210527": "92.0.4511.0", - "15.0.0-nightly.20210528": "92.0.4511.0", - "15.0.0-nightly.20210531": "92.0.4511.0", - "15.0.0-nightly.20210601": "92.0.4511.0", - "15.0.0-nightly.20210602": "92.0.4511.0", - "15.0.0-nightly.20210603": "93.0.4530.0", - "15.0.0-nightly.20210604": "93.0.4530.0", - "15.0.0-nightly.20210608": "93.0.4535.0", - "15.0.0-nightly.20210609": "93.0.4536.0", - "15.0.0-nightly.20210610": "93.0.4536.0", - "15.0.0-nightly.20210611": "93.0.4536.0", - "15.0.0-nightly.20210614": "93.0.4536.0", - "15.0.0-nightly.20210615": "93.0.4536.0", - "15.0.0-nightly.20210616": "93.0.4536.0", - "15.0.0-nightly.20210617": "93.0.4539.0", - "15.0.0-nightly.20210618": "93.0.4539.0", - "15.0.0-nightly.20210621": "93.0.4539.0", - "15.0.0-nightly.20210622": "93.0.4539.0", - "15.0.0-nightly.20210623": "93.0.4550.0", - "15.0.0-nightly.20210624": "93.0.4550.0", - "15.0.0-nightly.20210625": "93.0.4552.0", - "15.0.0-nightly.20210628": "93.0.4552.0", - "15.0.0-nightly.20210629": "93.0.4552.0", - "15.0.0-nightly.20210630": "93.0.4558.0", - "15.0.0-nightly.20210701": "93.0.4558.0", - "15.0.0-nightly.20210702": "93.0.4558.0", - "15.0.0-nightly.20210705": "93.0.4558.0", - "15.0.0-nightly.20210706": "93.0.4566.0", - "15.0.0-nightly.20210707": "93.0.4566.0", - "15.0.0-nightly.20210708": "93.0.4566.0", - "15.0.0-nightly.20210709": "93.0.4566.0", - "15.0.0-nightly.20210712": "93.0.4566.0", - "15.0.0-nightly.20210713": "93.0.4566.0", - "15.0.0-nightly.20210714": "93.0.4566.0", - "15.0.0-nightly.20210715": "93.0.4566.0", - "15.0.0-nightly.20210716": "93.0.4566.0", - "15.0.0-nightly.20210719": "93.0.4566.0", - "15.0.0-nightly.20210720": "93.0.4566.0", - "15.0.0-nightly.20210721": "93.0.4566.0", "15.0.0": "94.0.4606.51", "15.1.0": "94.0.4606.61", "15.1.1": "94.0.4606.61", @@ -1154,51 +757,6 @@ module.exports = { "16.0.0-beta.7": "96.0.4664.27", "16.0.0-beta.8": "96.0.4664.35", "16.0.0-beta.9": "96.0.4664.35", - "16.0.0-nightly.20210722": "93.0.4566.0", - "16.0.0-nightly.20210723": "93.0.4566.0", - "16.0.0-nightly.20210726": "93.0.4566.0", - "16.0.0-nightly.20210727": "94.0.4584.0", - "16.0.0-nightly.20210728": "94.0.4584.0", - "16.0.0-nightly.20210729": "94.0.4584.0", - "16.0.0-nightly.20210730": "94.0.4584.0", - "16.0.0-nightly.20210802": "94.0.4584.0", - "16.0.0-nightly.20210803": "94.0.4584.0", - "16.0.0-nightly.20210804": "94.0.4584.0", - "16.0.0-nightly.20210805": "94.0.4584.0", - "16.0.0-nightly.20210806": "94.0.4584.0", - "16.0.0-nightly.20210809": "94.0.4584.0", - "16.0.0-nightly.20210810": "94.0.4584.0", - "16.0.0-nightly.20210811": "94.0.4584.0", - "16.0.0-nightly.20210812": "94.0.4590.2", - "16.0.0-nightly.20210813": "94.0.4590.2", - "16.0.0-nightly.20210816": "94.0.4590.2", - "16.0.0-nightly.20210817": "94.0.4590.2", - "16.0.0-nightly.20210818": "94.0.4590.2", - "16.0.0-nightly.20210819": "94.0.4590.2", - "16.0.0-nightly.20210820": "94.0.4590.2", - "16.0.0-nightly.20210823": "94.0.4590.2", - "16.0.0-nightly.20210824": "95.0.4612.5", - "16.0.0-nightly.20210825": "95.0.4612.5", - "16.0.0-nightly.20210826": "95.0.4612.5", - "16.0.0-nightly.20210827": "95.0.4612.5", - "16.0.0-nightly.20210830": "95.0.4612.5", - "16.0.0-nightly.20210831": "95.0.4612.5", - "16.0.0-nightly.20210901": "95.0.4612.5", - "16.0.0-nightly.20210902": "95.0.4629.0", - "16.0.0-nightly.20210903": "95.0.4629.0", - "16.0.0-nightly.20210906": "95.0.4629.0", - "16.0.0-nightly.20210907": "95.0.4629.0", - "16.0.0-nightly.20210908": "95.0.4629.0", - "16.0.0-nightly.20210909": "95.0.4629.0", - "16.0.0-nightly.20210910": "95.0.4629.0", - "16.0.0-nightly.20210913": "95.0.4629.0", - "16.0.0-nightly.20210914": "95.0.4629.0", - "16.0.0-nightly.20210915": "95.0.4629.0", - "16.0.0-nightly.20210916": "95.0.4629.0", - "16.0.0-nightly.20210917": "95.0.4629.0", - "16.0.0-nightly.20210920": "95.0.4629.0", - "16.0.0-nightly.20210921": "95.0.4629.0", - "16.0.0-nightly.20210922": "95.0.4629.0", "16.0.0": "96.0.4664.45", "16.0.1": "96.0.4664.45", "16.0.2": "96.0.4664.55", @@ -1236,46 +794,6 @@ module.exports = { "17.0.0-beta.7": "98.0.4758.11", "17.0.0-beta.8": "98.0.4758.11", "17.0.0-beta.9": "98.0.4758.11", - "17.0.0-nightly.20210923": "95.0.4629.0", - "17.0.0-nightly.20210924": "95.0.4629.0", - "17.0.0-nightly.20210927": "95.0.4629.0", - "17.0.0-nightly.20210928": "95.0.4629.0", - "17.0.0-nightly.20210929": "95.0.4629.0", - "17.0.0-nightly.20210930": "95.0.4629.0", - "17.0.0-nightly.20211001": "95.0.4629.0", - "17.0.0-nightly.20211004": "95.0.4629.0", - "17.0.0-nightly.20211005": "95.0.4629.0", - "17.0.0-nightly.20211006": "96.0.4647.0", - "17.0.0-nightly.20211007": "96.0.4647.0", - "17.0.0-nightly.20211008": "96.0.4647.0", - "17.0.0-nightly.20211011": "96.0.4647.0", - "17.0.0-nightly.20211012": "96.0.4647.0", - "17.0.0-nightly.20211013": "96.0.4647.0", - "17.0.0-nightly.20211014": "96.0.4647.0", - "17.0.0-nightly.20211015": "96.0.4647.0", - "17.0.0-nightly.20211018": "96.0.4647.0", - "17.0.0-nightly.20211019": "96.0.4647.0", - "17.0.0-nightly.20211020": "96.0.4647.0", - "17.0.0-nightly.20211021": "96.0.4647.0", - "17.0.0-nightly.20211022": "96.0.4664.4", - "17.0.0-nightly.20211025": "96.0.4664.4", - "17.0.0-nightly.20211026": "96.0.4664.4", - "17.0.0-nightly.20211027": "96.0.4664.4", - "17.0.0-nightly.20211028": "96.0.4664.4", - "17.0.0-nightly.20211029": "96.0.4664.4", - "17.0.0-nightly.20211101": "96.0.4664.4", - "17.0.0-nightly.20211102": "96.0.4664.4", - "17.0.0-nightly.20211103": "96.0.4664.4", - "17.0.0-nightly.20211104": "96.0.4664.4", - "17.0.0-nightly.20211105": "96.0.4664.4", - "17.0.0-nightly.20211108": "96.0.4664.4", - "17.0.0-nightly.20211109": "96.0.4664.4", - "17.0.0-nightly.20211110": "96.0.4664.4", - "17.0.0-nightly.20211111": "96.0.4664.4", - "17.0.0-nightly.20211112": "96.0.4664.4", - "17.0.0-nightly.20211115": "96.0.4664.4", - "17.0.0-nightly.20211116": "96.0.4664.4", - "17.0.0-nightly.20211117": "96.0.4664.4", "17.0.0": "98.0.4758.74", "17.0.1": "98.0.4758.82", "17.1.0": "98.0.4758.102", @@ -1307,55 +825,6 @@ module.exports = { "18.0.0-beta.4": "100.0.4894.0", "18.0.0-beta.5": "100.0.4894.0", "18.0.0-beta.6": "100.0.4894.0", - "18.0.0-nightly.20211118": "96.0.4664.4", - "18.0.0-nightly.20211119": "96.0.4664.4", - "18.0.0-nightly.20211122": "96.0.4664.4", - "18.0.0-nightly.20211123": "96.0.4664.4", - "18.0.0-nightly.20211124": "98.0.4706.0", - "18.0.0-nightly.20211125": "98.0.4706.0", - "18.0.0-nightly.20211126": "98.0.4706.0", - "18.0.0-nightly.20211129": "98.0.4706.0", - "18.0.0-nightly.20211130": "98.0.4706.0", - "18.0.0-nightly.20211201": "98.0.4706.0", - "18.0.0-nightly.20211202": "98.0.4706.0", - "18.0.0-nightly.20211203": "98.0.4706.0", - "18.0.0-nightly.20211206": "98.0.4706.0", - "18.0.0-nightly.20211207": "98.0.4706.0", - "18.0.0-nightly.20211208": "98.0.4706.0", - "18.0.0-nightly.20211209": "98.0.4706.0", - "18.0.0-nightly.20211210": "98.0.4706.0", - "18.0.0-nightly.20211213": "98.0.4706.0", - "18.0.0-nightly.20211214": "98.0.4706.0", - "18.0.0-nightly.20211215": "98.0.4706.0", - "18.0.0-nightly.20211216": "98.0.4706.0", - "18.0.0-nightly.20211217": "98.0.4706.0", - "18.0.0-nightly.20211220": "98.0.4706.0", - "18.0.0-nightly.20211221": "98.0.4706.0", - "18.0.0-nightly.20211222": "98.0.4706.0", - "18.0.0-nightly.20211223": "98.0.4706.0", - "18.0.0-nightly.20211228": "98.0.4706.0", - "18.0.0-nightly.20211229": "98.0.4706.0", - "18.0.0-nightly.20211231": "98.0.4706.0", - "18.0.0-nightly.20220103": "98.0.4706.0", - "18.0.0-nightly.20220104": "98.0.4706.0", - "18.0.0-nightly.20220105": "98.0.4706.0", - "18.0.0-nightly.20220106": "98.0.4706.0", - "18.0.0-nightly.20220107": "98.0.4706.0", - "18.0.0-nightly.20220110": "98.0.4706.0", - "18.0.0-nightly.20220111": "99.0.4767.0", - "18.0.0-nightly.20220112": "99.0.4767.0", - "18.0.0-nightly.20220113": "99.0.4767.0", - "18.0.0-nightly.20220114": "99.0.4767.0", - "18.0.0-nightly.20220117": "99.0.4767.0", - "18.0.0-nightly.20220118": "99.0.4767.0", - "18.0.0-nightly.20220119": "99.0.4767.0", - "18.0.0-nightly.20220121": "99.0.4767.0", - "18.0.0-nightly.20220124": "99.0.4767.0", - "18.0.0-nightly.20220125": "99.0.4767.0", - "18.0.0-nightly.20220127": "99.0.4767.0", - "18.0.0-nightly.20220128": "99.0.4767.0", - "18.0.0-nightly.20220131": "99.0.4767.0", - "18.0.0-nightly.20220201": "99.0.4767.0", "18.0.0": "100.0.4896.56", "18.0.1": "100.0.4896.60", "18.0.2": "100.0.4896.60", @@ -1395,28 +864,6 @@ module.exports = { "19.0.0-beta.6": "102.0.5005.40", "19.0.0-beta.7": "102.0.5005.40", "19.0.0-beta.8": "102.0.5005.49", - "19.0.0-nightly.20220202": "99.0.4767.0", - "19.0.0-nightly.20220203": "99.0.4767.0", - "19.0.0-nightly.20220204": "99.0.4767.0", - "19.0.0-nightly.20220207": "99.0.4767.0", - "19.0.0-nightly.20220208": "99.0.4767.0", - "19.0.0-nightly.20220209": "99.0.4767.0", - "19.0.0-nightly.20220308": "100.0.4894.0", - "19.0.0-nightly.20220309": "100.0.4894.0", - "19.0.0-nightly.20220310": "100.0.4894.0", - "19.0.0-nightly.20220311": "100.0.4894.0", - "19.0.0-nightly.20220314": "100.0.4894.0", - "19.0.0-nightly.20220315": "100.0.4894.0", - "19.0.0-nightly.20220316": "100.0.4894.0", - "19.0.0-nightly.20220317": "100.0.4894.0", - "19.0.0-nightly.20220318": "100.0.4894.0", - "19.0.0-nightly.20220321": "100.0.4894.0", - "19.0.0-nightly.20220322": "100.0.4894.0", - "19.0.0-nightly.20220323": "100.0.4894.0", - "19.0.0-nightly.20220324": "100.0.4894.0", - "19.0.0-nightly.20220325": "102.0.4961.0", - "19.0.0-nightly.20220328": "102.0.4962.3", - "19.0.0-nightly.20220329": "102.0.4962.3", "19.0.0": "102.0.5005.61", "19.0.1": "102.0.5005.61", "19.0.2": "102.0.5005.63", @@ -1439,6 +886,12 @@ module.exports = { "19.1.1": "102.0.5005.167", "19.1.2": "102.0.5005.167", "19.1.3": "102.0.5005.167", + "19.1.4": "102.0.5005.167", + "19.1.5": "102.0.5005.167", + "19.1.6": "102.0.5005.167", + "19.1.7": "102.0.5005.167", + "19.1.8": "102.0.5005.167", + "19.1.9": "102.0.5005.167", "20.0.0-alpha.1": "103.0.5044.0", "20.0.0-alpha.2": "104.0.5073.0", "20.0.0-alpha.3": "104.0.5073.0", @@ -1459,35 +912,6 @@ module.exports = { "20.0.0-beta.11": "104.0.5112.48", "20.0.0-beta.12": "104.0.5112.48", "20.0.0-beta.13": "104.0.5112.57", - "20.0.0-nightly.20220330": "102.0.4962.3", - "20.0.0-nightly.20220411": "102.0.4971.0", - "20.0.0-nightly.20220414": "102.0.4989.0", - "20.0.0-nightly.20220415": "102.0.4989.0", - "20.0.0-nightly.20220418": "102.0.4989.0", - "20.0.0-nightly.20220419": "102.0.4989.0", - "20.0.0-nightly.20220420": "102.0.4989.0", - "20.0.0-nightly.20220421": "102.0.4989.0", - "20.0.0-nightly.20220425": "102.0.4999.0", - "20.0.0-nightly.20220426": "102.0.4999.0", - "20.0.0-nightly.20220427": "102.0.4999.0", - "20.0.0-nightly.20220428": "102.0.4999.0", - "20.0.0-nightly.20220429": "102.0.4999.0", - "20.0.0-nightly.20220502": "102.0.4999.0", - "20.0.0-nightly.20220503": "102.0.4999.0", - "20.0.0-nightly.20220504": "102.0.4999.0", - "20.0.0-nightly.20220505": "102.0.4999.0", - "20.0.0-nightly.20220506": "102.0.4999.0", - "20.0.0-nightly.20220509": "102.0.4999.0", - "20.0.0-nightly.20220511": "102.0.4999.0", - "20.0.0-nightly.20220512": "102.0.4999.0", - "20.0.0-nightly.20220513": "102.0.4999.0", - "20.0.0-nightly.20220516": "102.0.4999.0", - "20.0.0-nightly.20220517": "102.0.4999.0", - "20.0.0-nightly.20220518": "103.0.5044.0", - "20.0.0-nightly.20220519": "103.0.5044.0", - "20.0.0-nightly.20220520": "103.0.5044.0", - "20.0.0-nightly.20220523": "103.0.5044.0", - "20.0.0-nightly.20220524": "103.0.5044.0", "20.0.0": "104.0.5112.65", "20.0.1": "104.0.5112.81", "20.0.2": "104.0.5112.81", @@ -1501,6 +925,16 @@ module.exports = { "20.3.0": "104.0.5112.124", "20.3.1": "104.0.5112.124", "20.3.2": "104.0.5112.124", + "20.3.3": "104.0.5112.124", + "20.3.4": "104.0.5112.124", + "20.3.5": "104.0.5112.124", + "20.3.6": "104.0.5112.124", + "20.3.7": "104.0.5112.124", + "20.3.8": "104.0.5112.124", + "20.3.9": "104.0.5112.124", + "20.3.10": "104.0.5112.124", + "20.3.11": "104.0.5112.124", + "20.3.12": "104.0.5112.124", "21.0.0-alpha.1": "105.0.5187.0", "21.0.0-alpha.2": "105.0.5187.0", "21.0.0-alpha.3": "105.0.5187.0", @@ -1515,104 +949,488 @@ module.exports = { "21.0.0-beta.6": "106.0.5249.40", "21.0.0-beta.7": "106.0.5249.40", "21.0.0-beta.8": "106.0.5249.40", - "21.0.0-nightly.20220526": "103.0.5044.0", - "21.0.0-nightly.20220527": "103.0.5044.0", - "21.0.0-nightly.20220530": "103.0.5044.0", - "21.0.0-nightly.20220531": "103.0.5044.0", - "21.0.0-nightly.20220602": "104.0.5073.0", - "21.0.0-nightly.20220603": "104.0.5073.0", - "21.0.0-nightly.20220606": "104.0.5073.0", - "21.0.0-nightly.20220607": "104.0.5073.0", - "21.0.0-nightly.20220608": "104.0.5073.0", - "21.0.0-nightly.20220609": "104.0.5073.0", - "21.0.0-nightly.20220610": "104.0.5073.0", - "21.0.0-nightly.20220613": "104.0.5073.0", - "21.0.0-nightly.20220614": "104.0.5073.0", - "21.0.0-nightly.20220615": "104.0.5073.0", - "21.0.0-nightly.20220616": "104.0.5073.0", - "21.0.0-nightly.20220617": "104.0.5073.0", - "21.0.0-nightly.20220620": "104.0.5073.0", - "21.0.0-nightly.20220621": "104.0.5073.0", - "21.0.0-nightly.20220622": "104.0.5073.0", - "21.0.0-nightly.20220623": "104.0.5073.0", - "21.0.0-nightly.20220624": "104.0.5073.0", - "21.0.0-nightly.20220627": "104.0.5073.0", - "21.0.0-nightly.20220628": "105.0.5129.0", - "21.0.0-nightly.20220629": "105.0.5129.0", - "21.0.0-nightly.20220630": "105.0.5129.0", - "21.0.0-nightly.20220701": "105.0.5129.0", - "21.0.0-nightly.20220704": "105.0.5129.0", - "21.0.0-nightly.20220705": "105.0.5129.0", - "21.0.0-nightly.20220706": "105.0.5129.0", - "21.0.0-nightly.20220707": "105.0.5129.0", - "21.0.0-nightly.20220708": "105.0.5129.0", - "21.0.0-nightly.20220711": "105.0.5129.0", - "21.0.0-nightly.20220712": "105.0.5129.0", - "21.0.0-nightly.20220713": "105.0.5129.0", - "21.0.0-nightly.20220715": "105.0.5173.0", - "21.0.0-nightly.20220718": "105.0.5173.0", - "21.0.0-nightly.20220719": "105.0.5173.0", - "21.0.0-nightly.20220720": "105.0.5187.0", - "21.0.0-nightly.20220721": "105.0.5187.0", - "21.0.0-nightly.20220722": "105.0.5187.0", - "21.0.0-nightly.20220725": "105.0.5187.0", - "21.0.0-nightly.20220726": "105.0.5187.0", - "21.0.0-nightly.20220727": "105.0.5187.0", - "21.0.0-nightly.20220728": "105.0.5187.0", - "21.0.0-nightly.20220801": "105.0.5187.0", - "21.0.0-nightly.20220802": "105.0.5187.0", "21.0.0": "106.0.5249.51", "21.0.1": "106.0.5249.61", "21.1.0": "106.0.5249.91", "21.1.1": "106.0.5249.103", + "21.2.0": "106.0.5249.119", + "21.2.1": "106.0.5249.165", + "21.2.2": "106.0.5249.168", + "21.2.3": "106.0.5249.168", + "21.3.0": "106.0.5249.181", + "21.3.1": "106.0.5249.181", + "21.3.3": "106.0.5249.199", + "21.3.4": "106.0.5249.199", + "21.3.5": "106.0.5249.199", + "21.4.0": "106.0.5249.199", + "21.4.1": "106.0.5249.199", + "21.4.2": "106.0.5249.199", + "21.4.3": "106.0.5249.199", + "21.4.4": "106.0.5249.199", "22.0.0-alpha.1": "107.0.5286.0", "22.0.0-alpha.3": "108.0.5329.0", "22.0.0-alpha.4": "108.0.5329.0", "22.0.0-alpha.5": "108.0.5329.0", - "22.0.0-nightly.20220808": "105.0.5187.0", - "22.0.0-nightly.20220809": "105.0.5187.0", - "22.0.0-nightly.20220810": "105.0.5187.0", - "22.0.0-nightly.20220811": "105.0.5187.0", - "22.0.0-nightly.20220812": "105.0.5187.0", - "22.0.0-nightly.20220815": "105.0.5187.0", - "22.0.0-nightly.20220816": "105.0.5187.0", - "22.0.0-nightly.20220817": "105.0.5187.0", - "22.0.0-nightly.20220822": "106.0.5216.0", - "22.0.0-nightly.20220823": "106.0.5216.0", - "22.0.0-nightly.20220824": "106.0.5216.0", - "22.0.0-nightly.20220825": "106.0.5216.0", - "22.0.0-nightly.20220829": "106.0.5216.0", - "22.0.0-nightly.20220830": "106.0.5216.0", - "22.0.0-nightly.20220831": "106.0.5216.0", - "22.0.0-nightly.20220901": "106.0.5216.0", - "22.0.0-nightly.20220902": "106.0.5216.0", - "22.0.0-nightly.20220905": "106.0.5216.0", - "22.0.0-nightly.20220908": "107.0.5274.0", - "22.0.0-nightly.20220909": "107.0.5286.0", - "22.0.0-nightly.20220912": "107.0.5286.0", - "22.0.0-nightly.20220913": "107.0.5286.0", - "22.0.0-nightly.20220914": "107.0.5286.0", - "22.0.0-nightly.20220915": "107.0.5286.0", - "22.0.0-nightly.20220916": "107.0.5286.0", - "22.0.0-nightly.20220919": "107.0.5286.0", - "22.0.0-nightly.20220920": "107.0.5286.0", - "22.0.0-nightly.20220921": "107.0.5286.0", - "22.0.0-nightly.20220922": "107.0.5286.0", - "22.0.0-nightly.20220923": "107.0.5286.0", - "22.0.0-nightly.20220926": "107.0.5286.0", - "22.0.0-nightly.20220927": "107.0.5286.0", - "22.0.0-nightly.20220928": "107.0.5286.0", - "23.0.0-nightly.20220929": "107.0.5286.0", - "23.0.0-nightly.20220930": "107.0.5286.0", - "23.0.0-nightly.20221003": "107.0.5286.0", - "23.0.0-nightly.20221004": "108.0.5329.0", - "23.0.0-nightly.20221005": "108.0.5329.0", - "23.0.0-nightly.20221006": "108.0.5329.0", - "23.0.0-nightly.20221007": "108.0.5329.0", - "23.0.0-nightly.20221010": "108.0.5329.0", - "23.0.0-nightly.20221011": "108.0.5329.0", - "23.0.0-nightly.20221012": "108.0.5329.0", - "23.0.0-nightly.20221013": "108.0.5329.0", - "23.0.0-nightly.20221014": "108.0.5329.0", - "23.0.0-nightly.20221017": "108.0.5329.0" + "22.0.0-alpha.6": "108.0.5329.0", + "22.0.0-alpha.7": "108.0.5355.0", + "22.0.0-alpha.8": "108.0.5359.10", + "22.0.0-beta.1": "108.0.5359.10", + "22.0.0-beta.2": "108.0.5359.10", + "22.0.0-beta.3": "108.0.5359.10", + "22.0.0-beta.4": "108.0.5359.29", + "22.0.0-beta.5": "108.0.5359.40", + "22.0.0-beta.6": "108.0.5359.40", + "22.0.0-beta.7": "108.0.5359.48", + "22.0.0-beta.8": "108.0.5359.48", + "22.0.0": "108.0.5359.62", + "22.0.1": "108.0.5359.125", + "22.0.2": "108.0.5359.179", + "22.0.3": "108.0.5359.179", + "22.1.0": "108.0.5359.179", + "22.2.0": "108.0.5359.215", + "22.2.1": "108.0.5359.215", + "22.3.0": "108.0.5359.215", + "22.3.1": "108.0.5359.215", + "22.3.2": "108.0.5359.215", + "22.3.3": "108.0.5359.215", + "22.3.4": "108.0.5359.215", + "22.3.5": "108.0.5359.215", + "22.3.6": "108.0.5359.215", + "22.3.7": "108.0.5359.215", + "22.3.8": "108.0.5359.215", + "22.3.9": "108.0.5359.215", + "22.3.10": "108.0.5359.215", + "22.3.11": "108.0.5359.215", + "22.3.12": "108.0.5359.215", + "22.3.13": "108.0.5359.215", + "22.3.14": "108.0.5359.215", + "22.3.15": "108.0.5359.215", + "22.3.16": "108.0.5359.215", + "22.3.17": "108.0.5359.215", + "22.3.18": "108.0.5359.215", + "22.3.20": "108.0.5359.215", + "22.3.21": "108.0.5359.215", + "22.3.22": "108.0.5359.215", + "22.3.23": "108.0.5359.215", + "22.3.24": "108.0.5359.215", + "22.3.25": "108.0.5359.215", + "22.3.26": "108.0.5359.215", + "22.3.27": "108.0.5359.215", + "23.0.0-alpha.1": "110.0.5415.0", + "23.0.0-alpha.2": "110.0.5451.0", + "23.0.0-alpha.3": "110.0.5451.0", + "23.0.0-beta.1": "110.0.5478.5", + "23.0.0-beta.2": "110.0.5478.5", + "23.0.0-beta.3": "110.0.5478.5", + "23.0.0-beta.4": "110.0.5481.30", + "23.0.0-beta.5": "110.0.5481.38", + "23.0.0-beta.6": "110.0.5481.52", + "23.0.0-beta.8": "110.0.5481.52", + "23.0.0": "110.0.5481.77", + "23.1.0": "110.0.5481.100", + "23.1.1": "110.0.5481.104", + "23.1.2": "110.0.5481.177", + "23.1.3": "110.0.5481.179", + "23.1.4": "110.0.5481.192", + "23.2.0": "110.0.5481.192", + "23.2.1": "110.0.5481.208", + "23.2.2": "110.0.5481.208", + "23.2.3": "110.0.5481.208", + "23.2.4": "110.0.5481.208", + "23.3.0": "110.0.5481.208", + "23.3.1": "110.0.5481.208", + "23.3.2": "110.0.5481.208", + "23.3.3": "110.0.5481.208", + "23.3.4": "110.0.5481.208", + "23.3.5": "110.0.5481.208", + "23.3.6": "110.0.5481.208", + "23.3.7": "110.0.5481.208", + "23.3.8": "110.0.5481.208", + "23.3.9": "110.0.5481.208", + "23.3.10": "110.0.5481.208", + "23.3.11": "110.0.5481.208", + "23.3.12": "110.0.5481.208", + "23.3.13": "110.0.5481.208", + "24.0.0-alpha.1": "111.0.5560.0", + "24.0.0-alpha.2": "111.0.5560.0", + "24.0.0-alpha.3": "111.0.5560.0", + "24.0.0-alpha.4": "111.0.5560.0", + "24.0.0-alpha.5": "111.0.5560.0", + "24.0.0-alpha.6": "111.0.5560.0", + "24.0.0-alpha.7": "111.0.5560.0", + "24.0.0-beta.1": "111.0.5563.50", + "24.0.0-beta.2": "111.0.5563.50", + "24.0.0-beta.3": "112.0.5615.20", + "24.0.0-beta.4": "112.0.5615.20", + "24.0.0-beta.5": "112.0.5615.29", + "24.0.0-beta.6": "112.0.5615.39", + "24.0.0-beta.7": "112.0.5615.39", + "24.0.0": "112.0.5615.49", + "24.1.0": "112.0.5615.50", + "24.1.1": "112.0.5615.50", + "24.1.2": "112.0.5615.87", + "24.1.3": "112.0.5615.165", + "24.2.0": "112.0.5615.165", + "24.3.0": "112.0.5615.165", + "24.3.1": "112.0.5615.183", + "24.4.0": "112.0.5615.204", + "24.4.1": "112.0.5615.204", + "24.5.0": "112.0.5615.204", + "24.5.1": "112.0.5615.204", + "24.6.0": "112.0.5615.204", + "24.6.1": "112.0.5615.204", + "24.6.2": "112.0.5615.204", + "24.6.3": "112.0.5615.204", + "24.6.4": "112.0.5615.204", + "24.6.5": "112.0.5615.204", + "24.7.0": "112.0.5615.204", + "24.7.1": "112.0.5615.204", + "24.8.0": "112.0.5615.204", + "24.8.1": "112.0.5615.204", + "24.8.2": "112.0.5615.204", + "24.8.3": "112.0.5615.204", + "24.8.4": "112.0.5615.204", + "24.8.5": "112.0.5615.204", + "24.8.6": "112.0.5615.204", + "24.8.7": "112.0.5615.204", + "24.8.8": "112.0.5615.204", + "25.0.0-alpha.1": "114.0.5694.0", + "25.0.0-alpha.2": "114.0.5694.0", + "25.0.0-alpha.3": "114.0.5710.0", + "25.0.0-alpha.4": "114.0.5710.0", + "25.0.0-alpha.5": "114.0.5719.0", + "25.0.0-alpha.6": "114.0.5719.0", + "25.0.0-beta.1": "114.0.5719.0", + "25.0.0-beta.2": "114.0.5719.0", + "25.0.0-beta.3": "114.0.5719.0", + "25.0.0-beta.4": "114.0.5735.16", + "25.0.0-beta.5": "114.0.5735.16", + "25.0.0-beta.6": "114.0.5735.16", + "25.0.0-beta.7": "114.0.5735.16", + "25.0.0-beta.8": "114.0.5735.35", + "25.0.0-beta.9": "114.0.5735.45", + "25.0.0": "114.0.5735.45", + "25.0.1": "114.0.5735.45", + "25.1.0": "114.0.5735.106", + "25.1.1": "114.0.5735.106", + "25.2.0": "114.0.5735.134", + "25.3.0": "114.0.5735.199", + "25.3.1": "114.0.5735.243", + "25.3.2": "114.0.5735.248", + "25.4.0": "114.0.5735.248", + "25.5.0": "114.0.5735.289", + "25.6.0": "114.0.5735.289", + "25.7.0": "114.0.5735.289", + "25.8.0": "114.0.5735.289", + "25.8.1": "114.0.5735.289", + "25.8.2": "114.0.5735.289", + "25.8.3": "114.0.5735.289", + "25.8.4": "114.0.5735.289", + "25.9.0": "114.0.5735.289", + "25.9.1": "114.0.5735.289", + "25.9.2": "114.0.5735.289", + "25.9.3": "114.0.5735.289", + "25.9.4": "114.0.5735.289", + "25.9.5": "114.0.5735.289", + "25.9.6": "114.0.5735.289", + "25.9.7": "114.0.5735.289", + "25.9.8": "114.0.5735.289", + "26.0.0-alpha.1": "116.0.5791.0", + "26.0.0-alpha.2": "116.0.5791.0", + "26.0.0-alpha.3": "116.0.5791.0", + "26.0.0-alpha.4": "116.0.5791.0", + "26.0.0-alpha.5": "116.0.5791.0", + "26.0.0-alpha.6": "116.0.5815.0", + "26.0.0-alpha.7": "116.0.5831.0", + "26.0.0-alpha.8": "116.0.5845.0", + "26.0.0-beta.1": "116.0.5845.0", + "26.0.0-beta.2": "116.0.5845.14", + "26.0.0-beta.3": "116.0.5845.14", + "26.0.0-beta.4": "116.0.5845.14", + "26.0.0-beta.5": "116.0.5845.14", + "26.0.0-beta.6": "116.0.5845.14", + "26.0.0-beta.7": "116.0.5845.14", + "26.0.0-beta.8": "116.0.5845.42", + "26.0.0-beta.9": "116.0.5845.42", + "26.0.0-beta.10": "116.0.5845.49", + "26.0.0-beta.11": "116.0.5845.49", + "26.0.0-beta.12": "116.0.5845.62", + "26.0.0": "116.0.5845.82", + "26.1.0": "116.0.5845.97", + "26.2.0": "116.0.5845.179", + "26.2.1": "116.0.5845.188", + "26.2.2": "116.0.5845.190", + "26.2.3": "116.0.5845.190", + "26.2.4": "116.0.5845.190", + "26.3.0": "116.0.5845.228", + "26.4.0": "116.0.5845.228", + "26.4.1": "116.0.5845.228", + "26.4.2": "116.0.5845.228", + "26.4.3": "116.0.5845.228", + "26.5.0": "116.0.5845.228", + "26.6.0": "116.0.5845.228", + "26.6.1": "116.0.5845.228", + "26.6.2": "116.0.5845.228", + "26.6.3": "116.0.5845.228", + "26.6.4": "116.0.5845.228", + "26.6.5": "116.0.5845.228", + "26.6.6": "116.0.5845.228", + "26.6.7": "116.0.5845.228", + "26.6.8": "116.0.5845.228", + "26.6.9": "116.0.5845.228", + "26.6.10": "116.0.5845.228", + "27.0.0-alpha.1": "118.0.5949.0", + "27.0.0-alpha.2": "118.0.5949.0", + "27.0.0-alpha.3": "118.0.5949.0", + "27.0.0-alpha.4": "118.0.5949.0", + "27.0.0-alpha.5": "118.0.5949.0", + "27.0.0-alpha.6": "118.0.5949.0", + "27.0.0-beta.1": "118.0.5993.5", + "27.0.0-beta.2": "118.0.5993.5", + "27.0.0-beta.3": "118.0.5993.5", + "27.0.0-beta.4": "118.0.5993.11", + "27.0.0-beta.5": "118.0.5993.18", + "27.0.0-beta.6": "118.0.5993.18", + "27.0.0-beta.7": "118.0.5993.18", + "27.0.0-beta.8": "118.0.5993.18", + "27.0.0-beta.9": "118.0.5993.18", + "27.0.0": "118.0.5993.54", + "27.0.1": "118.0.5993.89", + "27.0.2": "118.0.5993.89", + "27.0.3": "118.0.5993.120", + "27.0.4": "118.0.5993.129", + "27.1.0": "118.0.5993.144", + "27.1.2": "118.0.5993.144", + "27.1.3": "118.0.5993.159", + "27.2.0": "118.0.5993.159", + "27.2.1": "118.0.5993.159", + "27.2.2": "118.0.5993.159", + "27.2.3": "118.0.5993.159", + "27.2.4": "118.0.5993.159", + "27.3.0": "118.0.5993.159", + "27.3.1": "118.0.5993.159", + "27.3.2": "118.0.5993.159", + "27.3.3": "118.0.5993.159", + "27.3.4": "118.0.5993.159", + "27.3.5": "118.0.5993.159", + "27.3.6": "118.0.5993.159", + "27.3.7": "118.0.5993.159", + "27.3.8": "118.0.5993.159", + "27.3.9": "118.0.5993.159", + "27.3.10": "118.0.5993.159", + "27.3.11": "118.0.5993.159", + "28.0.0-alpha.1": "119.0.6045.0", + "28.0.0-alpha.2": "119.0.6045.0", + "28.0.0-alpha.3": "119.0.6045.21", + "28.0.0-alpha.4": "119.0.6045.21", + "28.0.0-alpha.5": "119.0.6045.33", + "28.0.0-alpha.6": "119.0.6045.33", + "28.0.0-alpha.7": "119.0.6045.33", + "28.0.0-beta.1": "119.0.6045.33", + "28.0.0-beta.2": "120.0.6099.0", + "28.0.0-beta.3": "120.0.6099.5", + "28.0.0-beta.4": "120.0.6099.5", + "28.0.0-beta.5": "120.0.6099.18", + "28.0.0-beta.6": "120.0.6099.18", + "28.0.0-beta.7": "120.0.6099.18", + "28.0.0-beta.8": "120.0.6099.18", + "28.0.0-beta.9": "120.0.6099.18", + "28.0.0-beta.10": "120.0.6099.18", + "28.0.0-beta.11": "120.0.6099.35", + "28.0.0": "120.0.6099.56", + "28.1.0": "120.0.6099.109", + "28.1.1": "120.0.6099.109", + "28.1.2": "120.0.6099.199", + "28.1.3": "120.0.6099.199", + "28.1.4": "120.0.6099.216", + "28.2.0": "120.0.6099.227", + "28.2.1": "120.0.6099.268", + "28.2.2": "120.0.6099.276", + "28.2.3": "120.0.6099.283", + "28.2.4": "120.0.6099.291", + "28.2.5": "120.0.6099.291", + "28.2.6": "120.0.6099.291", + "28.2.7": "120.0.6099.291", + "28.2.8": "120.0.6099.291", + "28.2.9": "120.0.6099.291", + "28.2.10": "120.0.6099.291", + "28.3.0": "120.0.6099.291", + "28.3.1": "120.0.6099.291", + "28.3.2": "120.0.6099.291", + "28.3.3": "120.0.6099.291", + "29.0.0-alpha.1": "121.0.6147.0", + "29.0.0-alpha.2": "121.0.6147.0", + "29.0.0-alpha.3": "121.0.6147.0", + "29.0.0-alpha.4": "121.0.6159.0", + "29.0.0-alpha.5": "121.0.6159.0", + "29.0.0-alpha.6": "121.0.6159.0", + "29.0.0-alpha.7": "121.0.6159.0", + "29.0.0-alpha.8": "122.0.6194.0", + "29.0.0-alpha.9": "122.0.6236.2", + "29.0.0-alpha.10": "122.0.6236.2", + "29.0.0-alpha.11": "122.0.6236.2", + "29.0.0-beta.1": "122.0.6236.2", + "29.0.0-beta.2": "122.0.6236.2", + "29.0.0-beta.3": "122.0.6261.6", + "29.0.0-beta.4": "122.0.6261.6", + "29.0.0-beta.5": "122.0.6261.18", + "29.0.0-beta.6": "122.0.6261.18", + "29.0.0-beta.7": "122.0.6261.18", + "29.0.0-beta.8": "122.0.6261.18", + "29.0.0-beta.9": "122.0.6261.18", + "29.0.0-beta.10": "122.0.6261.18", + "29.0.0-beta.11": "122.0.6261.18", + "29.0.0-beta.12": "122.0.6261.29", + "29.0.0": "122.0.6261.39", + "29.0.1": "122.0.6261.57", + "29.1.0": "122.0.6261.70", + "29.1.1": "122.0.6261.111", + "29.1.2": "122.0.6261.112", + "29.1.3": "122.0.6261.112", + "29.1.4": "122.0.6261.129", + "29.1.5": "122.0.6261.130", + "29.1.6": "122.0.6261.139", + "29.2.0": "122.0.6261.156", + "29.3.0": "122.0.6261.156", + "29.3.1": "122.0.6261.156", + "29.3.2": "122.0.6261.156", + "29.3.3": "122.0.6261.156", + "29.4.0": "122.0.6261.156", + "29.4.1": "122.0.6261.156", + "29.4.2": "122.0.6261.156", + "29.4.3": "122.0.6261.156", + "29.4.4": "122.0.6261.156", + "29.4.5": "122.0.6261.156", + "29.4.6": "122.0.6261.156", + "30.0.0-alpha.1": "123.0.6296.0", + "30.0.0-alpha.2": "123.0.6312.5", + "30.0.0-alpha.3": "124.0.6323.0", + "30.0.0-alpha.4": "124.0.6323.0", + "30.0.0-alpha.5": "124.0.6331.0", + "30.0.0-alpha.6": "124.0.6331.0", + "30.0.0-alpha.7": "124.0.6353.0", + "30.0.0-beta.1": "124.0.6359.0", + "30.0.0-beta.2": "124.0.6359.0", + "30.0.0-beta.3": "124.0.6367.9", + "30.0.0-beta.4": "124.0.6367.9", + "30.0.0-beta.5": "124.0.6367.9", + "30.0.0-beta.6": "124.0.6367.18", + "30.0.0-beta.7": "124.0.6367.29", + "30.0.0-beta.8": "124.0.6367.29", + "30.0.0": "124.0.6367.49", + "30.0.1": "124.0.6367.60", + "30.0.2": "124.0.6367.91", + "30.0.3": "124.0.6367.119", + "30.0.4": "124.0.6367.201", + "30.0.5": "124.0.6367.207", + "30.0.6": "124.0.6367.207", + "30.0.7": "124.0.6367.221", + "30.0.8": "124.0.6367.230", + "30.0.9": "124.0.6367.233", + "30.1.0": "124.0.6367.243", + "30.1.1": "124.0.6367.243", + "30.1.2": "124.0.6367.243", + "30.2.0": "124.0.6367.243", + "30.3.0": "124.0.6367.243", + "30.3.1": "124.0.6367.243", + "30.4.0": "124.0.6367.243", + "30.5.0": "124.0.6367.243", + "30.5.1": "124.0.6367.243", + "31.0.0-alpha.1": "125.0.6412.0", + "31.0.0-alpha.2": "125.0.6412.0", + "31.0.0-alpha.3": "125.0.6412.0", + "31.0.0-alpha.4": "125.0.6412.0", + "31.0.0-alpha.5": "125.0.6412.0", + "31.0.0-beta.1": "126.0.6445.0", + "31.0.0-beta.2": "126.0.6445.0", + "31.0.0-beta.3": "126.0.6445.0", + "31.0.0-beta.4": "126.0.6445.0", + "31.0.0-beta.5": "126.0.6445.0", + "31.0.0-beta.6": "126.0.6445.0", + "31.0.0-beta.7": "126.0.6445.0", + "31.0.0-beta.8": "126.0.6445.0", + "31.0.0-beta.9": "126.0.6445.0", + "31.0.0-beta.10": "126.0.6478.36", + "31.0.0": "126.0.6478.36", + "31.0.1": "126.0.6478.36", + "31.0.2": "126.0.6478.61", + "31.1.0": "126.0.6478.114", + "31.2.0": "126.0.6478.127", + "31.2.1": "126.0.6478.127", + "31.3.0": "126.0.6478.183", + "31.3.1": "126.0.6478.185", + "31.4.0": "126.0.6478.234", + "31.5.0": "126.0.6478.234", + "31.6.0": "126.0.6478.234", + "31.7.0": "126.0.6478.234", + "31.7.1": "126.0.6478.234", + "31.7.2": "126.0.6478.234", + "31.7.3": "126.0.6478.234", + "31.7.4": "126.0.6478.234", + "31.7.5": "126.0.6478.234", + "32.0.0-alpha.1": "127.0.6521.0", + "32.0.0-alpha.2": "127.0.6521.0", + "32.0.0-alpha.3": "127.0.6521.0", + "32.0.0-alpha.4": "127.0.6521.0", + "32.0.0-alpha.5": "127.0.6521.0", + "32.0.0-alpha.6": "128.0.6571.0", + "32.0.0-alpha.7": "128.0.6571.0", + "32.0.0-alpha.8": "128.0.6573.0", + "32.0.0-alpha.9": "128.0.6573.0", + "32.0.0-alpha.10": "128.0.6573.0", + "32.0.0-beta.1": "128.0.6573.0", + "32.0.0-beta.2": "128.0.6611.0", + "32.0.0-beta.3": "128.0.6613.7", + "32.0.0-beta.4": "128.0.6613.18", + "32.0.0-beta.5": "128.0.6613.27", + "32.0.0-beta.6": "128.0.6613.27", + "32.0.0-beta.7": "128.0.6613.27", + "32.0.0": "128.0.6613.36", + "32.0.1": "128.0.6613.36", + "32.0.2": "128.0.6613.84", + "32.1.0": "128.0.6613.120", + "32.1.1": "128.0.6613.137", + "32.1.2": "128.0.6613.162", + "32.2.0": "128.0.6613.178", + "32.2.1": "128.0.6613.186", + "32.2.2": "128.0.6613.186", + "32.2.3": "128.0.6613.186", + "32.2.4": "128.0.6613.186", + "32.2.5": "128.0.6613.186", + "33.0.0-alpha.1": "129.0.6668.0", + "33.0.0-alpha.2": "130.0.6672.0", + "33.0.0-alpha.3": "130.0.6672.0", + "33.0.0-alpha.4": "130.0.6672.0", + "33.0.0-alpha.5": "130.0.6672.0", + "33.0.0-alpha.6": "130.0.6672.0", + "33.0.0-beta.1": "130.0.6672.0", + "33.0.0-beta.2": "130.0.6672.0", + "33.0.0-beta.3": "130.0.6672.0", + "33.0.0-beta.4": "130.0.6672.0", + "33.0.0-beta.5": "130.0.6723.19", + "33.0.0-beta.6": "130.0.6723.19", + "33.0.0-beta.7": "130.0.6723.19", + "33.0.0-beta.8": "130.0.6723.31", + "33.0.0-beta.9": "130.0.6723.31", + "33.0.0-beta.10": "130.0.6723.31", + "33.0.0-beta.11": "130.0.6723.44", + "33.0.0": "130.0.6723.44", + "33.0.1": "130.0.6723.59", + "33.0.2": "130.0.6723.59", + "33.1.0": "130.0.6723.91", + "33.2.0": "130.0.6723.118", + "34.0.0-alpha.1": "131.0.6776.0", + "34.0.0-alpha.2": "132.0.6779.0", + "34.0.0-alpha.3": "132.0.6789.1", + "34.0.0-alpha.4": "132.0.6789.1", + "34.0.0-alpha.5": "132.0.6789.1", + "34.0.0-alpha.6": "132.0.6789.1", + "34.0.0-alpha.7": "132.0.6789.1", + "34.0.0-alpha.8": "132.0.6820.0", + "34.0.0-alpha.9": "132.0.6824.0", + "34.0.0-beta.1": "132.0.6824.0", + "34.0.0-beta.2": "132.0.6824.0", + "34.0.0-beta.3": "132.0.6824.0", + "34.0.0-beta.4": "132.0.6834.6", + "34.0.0-beta.5": "132.0.6834.6" }; \ No newline at end of file diff --git a/node_modules/electron-to-chromium/full-versions.json b/node_modules/electron-to-chromium/full-versions.json index 84f6f052a9..bdf418e5f7 100644 --- a/node_modules/electron-to-chromium/full-versions.json +++ b/node_modules/electron-to-chromium/full-versions.json @@ -1 +1 @@ -{"0.20.0":"39.0.2171.65","0.20.1":"39.0.2171.65","0.20.2":"39.0.2171.65","0.20.3":"39.0.2171.65","0.20.4":"39.0.2171.65","0.20.5":"39.0.2171.65","0.20.6":"39.0.2171.65","0.20.7":"39.0.2171.65","0.20.8":"39.0.2171.65","0.21.0":"40.0.2214.91","0.21.1":"40.0.2214.91","0.21.2":"40.0.2214.91","0.21.3":"41.0.2272.76","0.22.1":"41.0.2272.76","0.22.2":"41.0.2272.76","0.22.3":"41.0.2272.76","0.23.0":"41.0.2272.76","0.24.0":"41.0.2272.76","0.25.0":"42.0.2311.107","0.25.1":"42.0.2311.107","0.25.2":"42.0.2311.107","0.25.3":"42.0.2311.107","0.26.0":"42.0.2311.107","0.26.1":"42.0.2311.107","0.27.0":"42.0.2311.107","0.27.1":"42.0.2311.107","0.27.2":"43.0.2357.65","0.27.3":"43.0.2357.65","0.28.0":"43.0.2357.65","0.28.1":"43.0.2357.65","0.28.2":"43.0.2357.65","0.28.3":"43.0.2357.65","0.29.1":"43.0.2357.65","0.29.2":"43.0.2357.65","0.30.4":"44.0.2403.125","0.31.0":"44.0.2403.125","0.31.2":"45.0.2454.85","0.32.2":"45.0.2454.85","0.32.3":"45.0.2454.85","0.33.0":"45.0.2454.85","0.33.1":"45.0.2454.85","0.33.2":"45.0.2454.85","0.33.3":"45.0.2454.85","0.33.4":"45.0.2454.85","0.33.6":"45.0.2454.85","0.33.7":"45.0.2454.85","0.33.8":"45.0.2454.85","0.33.9":"45.0.2454.85","0.34.0":"45.0.2454.85","0.34.1":"45.0.2454.85","0.34.2":"45.0.2454.85","0.34.3":"45.0.2454.85","0.34.4":"45.0.2454.85","0.35.1":"45.0.2454.85","0.35.2":"45.0.2454.85","0.35.3":"45.0.2454.85","0.35.4":"45.0.2454.85","0.35.5":"45.0.2454.85","0.36.0":"47.0.2526.73","0.36.2":"47.0.2526.73","0.36.3":"47.0.2526.73","0.36.4":"47.0.2526.73","0.36.5":"47.0.2526.110","0.36.6":"47.0.2526.110","0.36.7":"47.0.2526.110","0.36.8":"47.0.2526.110","0.36.9":"47.0.2526.110","0.36.10":"47.0.2526.110","0.36.11":"47.0.2526.110","0.36.12":"47.0.2526.110","0.37.0":"49.0.2623.75","0.37.1":"49.0.2623.75","0.37.3":"49.0.2623.75","0.37.4":"49.0.2623.75","0.37.5":"49.0.2623.75","0.37.6":"49.0.2623.75","0.37.7":"49.0.2623.75","0.37.8":"49.0.2623.75","1.0.0":"49.0.2623.75","1.0.1":"49.0.2623.75","1.0.2":"49.0.2623.75","1.1.0":"50.0.2661.102","1.1.1":"50.0.2661.102","1.1.2":"50.0.2661.102","1.1.3":"50.0.2661.102","1.2.0":"51.0.2704.63","1.2.1":"51.0.2704.63","1.2.2":"51.0.2704.84","1.2.3":"51.0.2704.84","1.2.4":"51.0.2704.103","1.2.5":"51.0.2704.103","1.2.6":"51.0.2704.106","1.2.7":"51.0.2704.106","1.2.8":"51.0.2704.106","1.3.0":"52.0.2743.82","1.3.1":"52.0.2743.82","1.3.2":"52.0.2743.82","1.3.3":"52.0.2743.82","1.3.4":"52.0.2743.82","1.3.5":"52.0.2743.82","1.3.6":"52.0.2743.82","1.3.7":"52.0.2743.82","1.3.9":"52.0.2743.82","1.3.10":"52.0.2743.82","1.3.13":"52.0.2743.82","1.3.14":"52.0.2743.82","1.3.15":"52.0.2743.82","1.4.0":"53.0.2785.113","1.4.1":"53.0.2785.113","1.4.2":"53.0.2785.113","1.4.3":"53.0.2785.113","1.4.4":"53.0.2785.113","1.4.5":"53.0.2785.113","1.4.6":"53.0.2785.143","1.4.7":"53.0.2785.143","1.4.8":"53.0.2785.143","1.4.10":"53.0.2785.143","1.4.11":"53.0.2785.143","1.4.12":"54.0.2840.51","1.4.13":"53.0.2785.143","1.4.14":"53.0.2785.143","1.4.15":"53.0.2785.143","1.4.16":"53.0.2785.143","1.5.0":"54.0.2840.101","1.5.1":"54.0.2840.101","1.6.0":"56.0.2924.87","1.6.1":"56.0.2924.87","1.6.2":"56.0.2924.87","1.6.3":"56.0.2924.87","1.6.4":"56.0.2924.87","1.6.5":"56.0.2924.87","1.6.6":"56.0.2924.87","1.6.7":"56.0.2924.87","1.6.8":"56.0.2924.87","1.6.9":"56.0.2924.87","1.6.10":"56.0.2924.87","1.6.11":"56.0.2924.87","1.6.12":"56.0.2924.87","1.6.13":"56.0.2924.87","1.6.14":"56.0.2924.87","1.6.15":"56.0.2924.87","1.6.16":"56.0.2924.87","1.6.17":"56.0.2924.87","1.6.18":"56.0.2924.87","1.7.0":"58.0.3029.110","1.7.1":"58.0.3029.110","1.7.2":"58.0.3029.110","1.7.3":"58.0.3029.110","1.7.4":"58.0.3029.110","1.7.5":"58.0.3029.110","1.7.6":"58.0.3029.110","1.7.7":"58.0.3029.110","1.7.8":"58.0.3029.110","1.7.9":"58.0.3029.110","1.7.10":"58.0.3029.110","1.7.11":"58.0.3029.110","1.7.12":"58.0.3029.110","1.7.13":"58.0.3029.110","1.7.14":"58.0.3029.110","1.7.15":"58.0.3029.110","1.7.16":"58.0.3029.110","1.8.0":"59.0.3071.115","1.8.1":"59.0.3071.115","1.8.2-beta.1":"59.0.3071.115","1.8.2-beta.2":"59.0.3071.115","1.8.2-beta.3":"59.0.3071.115","1.8.2-beta.4":"59.0.3071.115","1.8.2-beta.5":"59.0.3071.115","1.8.2":"59.0.3071.115","1.8.3":"59.0.3071.115","1.8.4":"59.0.3071.115","1.8.5":"59.0.3071.115","1.8.6":"59.0.3071.115","1.8.7":"59.0.3071.115","1.8.8":"59.0.3071.115","2.0.0-beta.1":"61.0.3163.100","2.0.0-beta.2":"61.0.3163.100","2.0.0-beta.3":"61.0.3163.100","2.0.0-beta.4":"61.0.3163.100","2.0.0-beta.5":"61.0.3163.100","2.0.0-beta.6":"61.0.3163.100","2.0.0-beta.7":"61.0.3163.100","2.0.0-beta.8":"61.0.3163.100","2.0.0":"61.0.3163.100","2.0.1":"61.0.3163.100","2.0.2":"61.0.3163.100","2.0.3":"61.0.3163.100","2.0.4":"61.0.3163.100","2.0.5":"61.0.3163.100","2.0.6":"61.0.3163.100","2.0.7":"61.0.3163.100","2.0.8-nightly.20180819":"61.0.3163.100","2.0.8-nightly.20180820":"61.0.3163.100","2.0.8":"61.0.3163.100","2.0.9":"61.0.3163.100","2.0.10":"61.0.3163.100","2.0.11":"61.0.3163.100","2.0.12":"61.0.3163.100","2.0.13":"61.0.3163.100","2.0.14":"61.0.3163.100","2.0.15":"61.0.3163.100","2.0.16":"61.0.3163.100","2.0.17":"61.0.3163.100","2.0.18":"61.0.3163.100","2.1.0-unsupported.20180809":"61.0.3163.100","3.0.0-beta.1":"66.0.3359.181","3.0.0-beta.2":"66.0.3359.181","3.0.0-beta.3":"66.0.3359.181","3.0.0-beta.4":"66.0.3359.181","3.0.0-beta.5":"66.0.3359.181","3.0.0-beta.6":"66.0.3359.181","3.0.0-beta.7":"66.0.3359.181","3.0.0-beta.8":"66.0.3359.181","3.0.0-beta.9":"66.0.3359.181","3.0.0-beta.10":"66.0.3359.181","3.0.0-beta.11":"66.0.3359.181","3.0.0-beta.12":"66.0.3359.181","3.0.0-beta.13":"66.0.3359.181","3.0.0-nightly.20180818":"66.0.3359.181","3.0.0-nightly.20180821":"66.0.3359.181","3.0.0-nightly.20180823":"66.0.3359.181","3.0.0-nightly.20180904":"66.0.3359.181","3.0.0":"66.0.3359.181","3.0.1":"66.0.3359.181","3.0.2":"66.0.3359.181","3.0.3":"66.0.3359.181","3.0.4":"66.0.3359.181","3.0.5":"66.0.3359.181","3.0.6":"66.0.3359.181","3.0.7":"66.0.3359.181","3.0.8":"66.0.3359.181","3.0.9":"66.0.3359.181","3.0.10":"66.0.3359.181","3.0.11":"66.0.3359.181","3.0.12":"66.0.3359.181","3.0.13":"66.0.3359.181","3.0.14":"66.0.3359.181","3.0.15":"66.0.3359.181","3.0.16":"66.0.3359.181","3.1.0-beta.1":"66.0.3359.181","3.1.0-beta.2":"66.0.3359.181","3.1.0-beta.3":"66.0.3359.181","3.1.0-beta.4":"66.0.3359.181","3.1.0-beta.5":"66.0.3359.181","3.1.0":"66.0.3359.181","3.1.1":"66.0.3359.181","3.1.2":"66.0.3359.181","3.1.3":"66.0.3359.181","3.1.4":"66.0.3359.181","3.1.5":"66.0.3359.181","3.1.6":"66.0.3359.181","3.1.7":"66.0.3359.181","3.1.8":"66.0.3359.181","3.1.9":"66.0.3359.181","3.1.10":"66.0.3359.181","3.1.11":"66.0.3359.181","3.1.12":"66.0.3359.181","3.1.13":"66.0.3359.181","4.0.0-beta.1":"69.0.3497.106","4.0.0-beta.2":"69.0.3497.106","4.0.0-beta.3":"69.0.3497.106","4.0.0-beta.4":"69.0.3497.106","4.0.0-beta.5":"69.0.3497.106","4.0.0-beta.6":"69.0.3497.106","4.0.0-beta.7":"69.0.3497.106","4.0.0-beta.8":"69.0.3497.106","4.0.0-beta.9":"69.0.3497.106","4.0.0-beta.10":"69.0.3497.106","4.0.0-beta.11":"69.0.3497.106","4.0.0-nightly.20180817":"66.0.3359.181","4.0.0-nightly.20180819":"66.0.3359.181","4.0.0-nightly.20180821":"66.0.3359.181","4.0.0-nightly.20180929":"67.0.3396.99","4.0.0-nightly.20181006":"68.0.3440.128","4.0.0-nightly.20181010":"69.0.3497.106","4.0.0":"69.0.3497.106","4.0.1":"69.0.3497.106","4.0.2":"69.0.3497.106","4.0.3":"69.0.3497.106","4.0.4":"69.0.3497.106","4.0.5":"69.0.3497.106","4.0.6":"69.0.3497.106","4.0.7":"69.0.3497.128","4.0.8":"69.0.3497.128","4.1.0":"69.0.3497.128","4.1.1":"69.0.3497.128","4.1.2":"69.0.3497.128","4.1.3":"69.0.3497.128","4.1.4":"69.0.3497.128","4.1.5":"69.0.3497.128","4.2.0":"69.0.3497.128","4.2.1":"69.0.3497.128","4.2.2":"69.0.3497.128","4.2.3":"69.0.3497.128","4.2.4":"69.0.3497.128","4.2.5":"69.0.3497.128","4.2.6":"69.0.3497.128","4.2.7":"69.0.3497.128","4.2.8":"69.0.3497.128","4.2.9":"69.0.3497.128","4.2.10":"69.0.3497.128","4.2.11":"69.0.3497.128","4.2.12":"69.0.3497.128","5.0.0-beta.1":"72.0.3626.52","5.0.0-beta.2":"72.0.3626.52","5.0.0-beta.3":"73.0.3683.27","5.0.0-beta.4":"73.0.3683.54","5.0.0-beta.5":"73.0.3683.61","5.0.0-beta.6":"73.0.3683.84","5.0.0-beta.7":"73.0.3683.94","5.0.0-beta.8":"73.0.3683.104","5.0.0-beta.9":"73.0.3683.117","5.0.0-nightly.20190107":"70.0.3538.110","5.0.0-nightly.20190121":"71.0.3578.98","5.0.0-nightly.20190122":"71.0.3578.98","5.0.0":"73.0.3683.119","5.0.1":"73.0.3683.121","5.0.2":"73.0.3683.121","5.0.3":"73.0.3683.121","5.0.4":"73.0.3683.121","5.0.5":"73.0.3683.121","5.0.6":"73.0.3683.121","5.0.7":"73.0.3683.121","5.0.8":"73.0.3683.121","5.0.9":"73.0.3683.121","5.0.10":"73.0.3683.121","5.0.11":"73.0.3683.121","5.0.12":"73.0.3683.121","5.0.13":"73.0.3683.121","6.0.0-beta.1":"76.0.3774.1","6.0.0-beta.2":"76.0.3783.1","6.0.0-beta.3":"76.0.3783.1","6.0.0-beta.4":"76.0.3783.1","6.0.0-beta.5":"76.0.3805.4","6.0.0-beta.6":"76.0.3809.3","6.0.0-beta.7":"76.0.3809.22","6.0.0-beta.8":"76.0.3809.26","6.0.0-beta.9":"76.0.3809.26","6.0.0-beta.10":"76.0.3809.37","6.0.0-beta.11":"76.0.3809.42","6.0.0-beta.12":"76.0.3809.54","6.0.0-beta.13":"76.0.3809.60","6.0.0-beta.14":"76.0.3809.68","6.0.0-beta.15":"76.0.3809.74","6.0.0-nightly.20190212":"72.0.3626.107","6.0.0-nightly.20190213":"72.0.3626.110","6.0.0-nightly.20190311":"74.0.3724.8","6.0.0":"76.0.3809.88","6.0.1":"76.0.3809.102","6.0.2":"76.0.3809.110","6.0.3":"76.0.3809.126","6.0.4":"76.0.3809.131","6.0.5":"76.0.3809.136","6.0.6":"76.0.3809.138","6.0.7":"76.0.3809.139","6.0.8":"76.0.3809.146","6.0.9":"76.0.3809.146","6.0.10":"76.0.3809.146","6.0.11":"76.0.3809.146","6.0.12":"76.0.3809.146","6.1.0":"76.0.3809.146","6.1.1":"76.0.3809.146","6.1.2":"76.0.3809.146","6.1.3":"76.0.3809.146","6.1.4":"76.0.3809.146","6.1.5":"76.0.3809.146","6.1.6":"76.0.3809.146","6.1.7":"76.0.3809.146","6.1.8":"76.0.3809.146","6.1.9":"76.0.3809.146","6.1.10":"76.0.3809.146","6.1.11":"76.0.3809.146","6.1.12":"76.0.3809.146","7.0.0-beta.1":"78.0.3866.0","7.0.0-beta.2":"78.0.3866.0","7.0.0-beta.3":"78.0.3866.0","7.0.0-beta.4":"78.0.3896.6","7.0.0-beta.5":"78.0.3905.1","7.0.0-beta.6":"78.0.3905.1","7.0.0-beta.7":"78.0.3905.1","7.0.0-nightly.20190521":"76.0.3784.0","7.0.0-nightly.20190529":"76.0.3806.0","7.0.0-nightly.20190530":"76.0.3806.0","7.0.0-nightly.20190531":"76.0.3806.0","7.0.0-nightly.20190602":"76.0.3806.0","7.0.0-nightly.20190603":"76.0.3806.0","7.0.0-nightly.20190604":"77.0.3814.0","7.0.0-nightly.20190605":"77.0.3815.0","7.0.0-nightly.20190606":"77.0.3815.0","7.0.0-nightly.20190607":"77.0.3815.0","7.0.0-nightly.20190608":"77.0.3815.0","7.0.0-nightly.20190609":"77.0.3815.0","7.0.0-nightly.20190611":"77.0.3815.0","7.0.0-nightly.20190612":"77.0.3815.0","7.0.0-nightly.20190613":"77.0.3815.0","7.0.0-nightly.20190615":"77.0.3815.0","7.0.0-nightly.20190616":"77.0.3815.0","7.0.0-nightly.20190618":"77.0.3815.0","7.0.0-nightly.20190619":"77.0.3815.0","7.0.0-nightly.20190622":"77.0.3815.0","7.0.0-nightly.20190623":"77.0.3815.0","7.0.0-nightly.20190624":"77.0.3815.0","7.0.0-nightly.20190627":"77.0.3815.0","7.0.0-nightly.20190629":"77.0.3815.0","7.0.0-nightly.20190630":"77.0.3815.0","7.0.0-nightly.20190701":"77.0.3815.0","7.0.0-nightly.20190702":"77.0.3815.0","7.0.0-nightly.20190704":"77.0.3843.0","7.0.0-nightly.20190705":"77.0.3843.0","7.0.0-nightly.20190719":"77.0.3848.0","7.0.0-nightly.20190720":"77.0.3848.0","7.0.0-nightly.20190721":"77.0.3848.0","7.0.0-nightly.20190726":"77.0.3864.0","7.0.0-nightly.20190727":"78.0.3866.0","7.0.0-nightly.20190728":"78.0.3866.0","7.0.0-nightly.20190729":"78.0.3866.0","7.0.0-nightly.20190730":"78.0.3866.0","7.0.0-nightly.20190731":"78.0.3866.0","7.0.0":"78.0.3905.1","7.0.1":"78.0.3904.92","7.1.0":"78.0.3904.94","7.1.1":"78.0.3904.99","7.1.2":"78.0.3904.113","7.1.3":"78.0.3904.126","7.1.4":"78.0.3904.130","7.1.5":"78.0.3904.130","7.1.6":"78.0.3904.130","7.1.7":"78.0.3904.130","7.1.8":"78.0.3904.130","7.1.9":"78.0.3904.130","7.1.10":"78.0.3904.130","7.1.11":"78.0.3904.130","7.1.12":"78.0.3904.130","7.1.13":"78.0.3904.130","7.1.14":"78.0.3904.130","7.2.0":"78.0.3904.130","7.2.1":"78.0.3904.130","7.2.2":"78.0.3904.130","7.2.3":"78.0.3904.130","7.2.4":"78.0.3904.130","7.3.0":"78.0.3904.130","7.3.1":"78.0.3904.130","7.3.2":"78.0.3904.130","7.3.3":"78.0.3904.130","8.0.0-beta.1":"79.0.3931.0","8.0.0-beta.2":"79.0.3931.0","8.0.0-beta.3":"80.0.3955.0","8.0.0-beta.4":"80.0.3955.0","8.0.0-beta.5":"80.0.3987.14","8.0.0-beta.6":"80.0.3987.51","8.0.0-beta.7":"80.0.3987.59","8.0.0-beta.8":"80.0.3987.75","8.0.0-beta.9":"80.0.3987.75","8.0.0-nightly.20190801":"78.0.3866.0","8.0.0-nightly.20190802":"78.0.3866.0","8.0.0-nightly.20190803":"78.0.3871.0","8.0.0-nightly.20190806":"78.0.3871.0","8.0.0-nightly.20190807":"78.0.3871.0","8.0.0-nightly.20190808":"78.0.3871.0","8.0.0-nightly.20190809":"78.0.3871.0","8.0.0-nightly.20190810":"78.0.3871.0","8.0.0-nightly.20190811":"78.0.3871.0","8.0.0-nightly.20190812":"78.0.3871.0","8.0.0-nightly.20190813":"78.0.3871.0","8.0.0-nightly.20190814":"78.0.3871.0","8.0.0-nightly.20190815":"78.0.3871.0","8.0.0-nightly.20190816":"78.0.3881.0","8.0.0-nightly.20190817":"78.0.3881.0","8.0.0-nightly.20190818":"78.0.3881.0","8.0.0-nightly.20190819":"78.0.3881.0","8.0.0-nightly.20190820":"78.0.3881.0","8.0.0-nightly.20190824":"78.0.3892.0","8.0.0-nightly.20190825":"78.0.3892.0","8.0.0-nightly.20190827":"78.0.3892.0","8.0.0-nightly.20190828":"78.0.3892.0","8.0.0-nightly.20190830":"78.0.3892.0","8.0.0-nightly.20190901":"78.0.3892.0","8.0.0-nightly.20190902":"78.0.3892.0","8.0.0-nightly.20190907":"78.0.3892.0","8.0.0-nightly.20190909":"78.0.3892.0","8.0.0-nightly.20190910":"78.0.3892.0","8.0.0-nightly.20190911":"78.0.3892.0","8.0.0-nightly.20190913":"78.0.3892.0","8.0.0-nightly.20190914":"78.0.3892.0","8.0.0-nightly.20190915":"78.0.3892.0","8.0.0-nightly.20190917":"78.0.3892.0","8.0.0-nightly.20190919":"79.0.3915.0","8.0.0-nightly.20190920":"79.0.3915.0","8.0.0-nightly.20190923":"79.0.3919.0","8.0.0-nightly.20190924":"79.0.3919.0","8.0.0-nightly.20190926":"79.0.3919.0","8.0.0-nightly.20190929":"79.0.3919.0","8.0.0-nightly.20190930":"79.0.3919.0","8.0.0-nightly.20191001":"79.0.3919.0","8.0.0-nightly.20191004":"79.0.3919.0","8.0.0-nightly.20191005":"79.0.3919.0","8.0.0-nightly.20191006":"79.0.3919.0","8.0.0-nightly.20191009":"79.0.3919.0","8.0.0-nightly.20191011":"79.0.3919.0","8.0.0-nightly.20191012":"79.0.3919.0","8.0.0-nightly.20191017":"79.0.3919.0","8.0.0-nightly.20191019":"79.0.3931.0","8.0.0-nightly.20191020":"79.0.3931.0","8.0.0-nightly.20191021":"79.0.3931.0","8.0.0-nightly.20191023":"79.0.3931.0","8.0.0-nightly.20191101":"80.0.3952.0","8.0.0-nightly.20191105":"80.0.3952.0","8.0.0":"80.0.3987.86","8.0.1":"80.0.3987.86","8.0.2":"80.0.3987.86","8.0.3":"80.0.3987.134","8.1.0":"80.0.3987.137","8.1.1":"80.0.3987.141","8.2.0":"80.0.3987.158","8.2.1":"80.0.3987.163","8.2.2":"80.0.3987.163","8.2.3":"80.0.3987.163","8.2.4":"80.0.3987.165","8.2.5":"80.0.3987.165","8.3.0":"80.0.3987.165","8.3.1":"80.0.3987.165","8.3.2":"80.0.3987.165","8.3.3":"80.0.3987.165","8.3.4":"80.0.3987.165","8.4.0":"80.0.3987.165","8.4.1":"80.0.3987.165","8.5.0":"80.0.3987.165","8.5.1":"80.0.3987.165","8.5.2":"80.0.3987.165","8.5.3":"80.0.3987.163","8.5.4":"80.0.3987.163","8.5.5":"80.0.3987.163","9.0.0-beta.1":"82.0.4048.0","9.0.0-beta.2":"82.0.4048.0","9.0.0-beta.3":"82.0.4048.0","9.0.0-beta.4":"82.0.4048.0","9.0.0-beta.5":"82.0.4048.0","9.0.0-beta.6":"82.0.4058.2","9.0.0-beta.7":"82.0.4058.2","9.0.0-beta.9":"82.0.4058.2","9.0.0-beta.10":"82.0.4085.10","9.0.0-beta.12":"82.0.4085.14","9.0.0-beta.13":"82.0.4085.14","9.0.0-beta.14":"82.0.4085.27","9.0.0-beta.15":"83.0.4102.3","9.0.0-beta.16":"83.0.4102.3","9.0.0-beta.17":"83.0.4103.14","9.0.0-beta.18":"83.0.4103.16","9.0.0-beta.19":"83.0.4103.24","9.0.0-beta.20":"83.0.4103.26","9.0.0-beta.21":"83.0.4103.26","9.0.0-beta.22":"83.0.4103.34","9.0.0-beta.23":"83.0.4103.44","9.0.0-beta.24":"83.0.4103.45","9.0.0-nightly.20191121":"80.0.3954.0","9.0.0-nightly.20191122":"80.0.3954.0","9.0.0-nightly.20191123":"80.0.3954.0","9.0.0-nightly.20191124":"80.0.3954.0","9.0.0-nightly.20191129":"80.0.3954.0","9.0.0-nightly.20191130":"80.0.3954.0","9.0.0-nightly.20191201":"80.0.3954.0","9.0.0-nightly.20191202":"80.0.3954.0","9.0.0-nightly.20191203":"80.0.3954.0","9.0.0-nightly.20191204":"80.0.3954.0","9.0.0-nightly.20191210":"80.0.3954.0","9.0.0-nightly.20191220":"81.0.3994.0","9.0.0-nightly.20191221":"81.0.3994.0","9.0.0-nightly.20191222":"81.0.3994.0","9.0.0-nightly.20191223":"81.0.3994.0","9.0.0-nightly.20191224":"81.0.3994.0","9.0.0-nightly.20191225":"81.0.3994.0","9.0.0-nightly.20191226":"81.0.3994.0","9.0.0-nightly.20191228":"81.0.3994.0","9.0.0-nightly.20191229":"81.0.3994.0","9.0.0-nightly.20191230":"81.0.3994.0","9.0.0-nightly.20191231":"81.0.3994.0","9.0.0-nightly.20200101":"81.0.3994.0","9.0.0-nightly.20200103":"81.0.3994.0","9.0.0-nightly.20200104":"81.0.3994.0","9.0.0-nightly.20200105":"81.0.3994.0","9.0.0-nightly.20200106":"81.0.3994.0","9.0.0-nightly.20200108":"81.0.3994.0","9.0.0-nightly.20200109":"81.0.3994.0","9.0.0-nightly.20200110":"81.0.3994.0","9.0.0-nightly.20200111":"81.0.3994.0","9.0.0-nightly.20200113":"81.0.3994.0","9.0.0-nightly.20200115":"81.0.3994.0","9.0.0-nightly.20200116":"81.0.3994.0","9.0.0-nightly.20200117":"81.0.3994.0","9.0.0-nightly.20200119":"81.0.4030.0","9.0.0-nightly.20200121":"81.0.4030.0","9.0.0":"83.0.4103.64","9.0.1":"83.0.4103.94","9.0.2":"83.0.4103.94","9.0.3":"83.0.4103.100","9.0.4":"83.0.4103.104","9.0.5":"83.0.4103.119","9.1.0":"83.0.4103.122","9.1.1":"83.0.4103.122","9.1.2":"83.0.4103.122","9.2.0":"83.0.4103.122","9.2.1":"83.0.4103.122","9.3.0":"83.0.4103.122","9.3.1":"83.0.4103.122","9.3.2":"83.0.4103.122","9.3.3":"83.0.4103.122","9.3.4":"83.0.4103.122","9.3.5":"83.0.4103.122","9.4.0":"83.0.4103.122","9.4.1":"83.0.4103.122","9.4.2":"83.0.4103.122","9.4.3":"83.0.4103.122","9.4.4":"83.0.4103.122","10.0.0-beta.1":"84.0.4129.0","10.0.0-beta.2":"84.0.4129.0","10.0.0-beta.3":"85.0.4161.2","10.0.0-beta.4":"85.0.4161.2","10.0.0-beta.8":"85.0.4181.1","10.0.0-beta.9":"85.0.4181.1","10.0.0-beta.10":"85.0.4183.19","10.0.0-beta.11":"85.0.4183.20","10.0.0-beta.12":"85.0.4183.26","10.0.0-beta.13":"85.0.4183.39","10.0.0-beta.14":"85.0.4183.39","10.0.0-beta.15":"85.0.4183.39","10.0.0-beta.17":"85.0.4183.39","10.0.0-beta.19":"85.0.4183.39","10.0.0-beta.20":"85.0.4183.39","10.0.0-beta.21":"85.0.4183.39","10.0.0-beta.23":"85.0.4183.70","10.0.0-beta.24":"85.0.4183.78","10.0.0-beta.25":"85.0.4183.80","10.0.0-nightly.20200209":"82.0.4050.0","10.0.0-nightly.20200210":"82.0.4050.0","10.0.0-nightly.20200211":"82.0.4050.0","10.0.0-nightly.20200216":"82.0.4050.0","10.0.0-nightly.20200217":"82.0.4050.0","10.0.0-nightly.20200218":"82.0.4050.0","10.0.0-nightly.20200221":"82.0.4050.0","10.0.0-nightly.20200222":"82.0.4050.0","10.0.0-nightly.20200223":"82.0.4050.0","10.0.0-nightly.20200226":"82.0.4050.0","10.0.0-nightly.20200303":"82.0.4050.0","10.0.0-nightly.20200304":"82.0.4076.0","10.0.0-nightly.20200305":"82.0.4076.0","10.0.0-nightly.20200306":"82.0.4076.0","10.0.0-nightly.20200309":"82.0.4076.0","10.0.0-nightly.20200310":"82.0.4076.0","10.0.0-nightly.20200311":"82.0.4083.0","10.0.0-nightly.20200316":"83.0.4086.0","10.0.0-nightly.20200317":"83.0.4087.0","10.0.0-nightly.20200318":"83.0.4087.0","10.0.0-nightly.20200320":"83.0.4087.0","10.0.0-nightly.20200323":"83.0.4087.0","10.0.0-nightly.20200324":"83.0.4087.0","10.0.0-nightly.20200325":"83.0.4087.0","10.0.0-nightly.20200326":"83.0.4087.0","10.0.0-nightly.20200327":"83.0.4087.0","10.0.0-nightly.20200330":"83.0.4087.0","10.0.0-nightly.20200331":"83.0.4087.0","10.0.0-nightly.20200401":"83.0.4087.0","10.0.0-nightly.20200402":"83.0.4087.0","10.0.0-nightly.20200403":"83.0.4087.0","10.0.0-nightly.20200406":"83.0.4087.0","10.0.0-nightly.20200408":"83.0.4095.0","10.0.0-nightly.20200410":"83.0.4095.0","10.0.0-nightly.20200413":"83.0.4095.0","10.0.0-nightly.20200414":"84.0.4114.0","10.0.0-nightly.20200415":"84.0.4115.0","10.0.0-nightly.20200416":"84.0.4115.0","10.0.0-nightly.20200417":"84.0.4115.0","10.0.0-nightly.20200422":"84.0.4121.0","10.0.0-nightly.20200423":"84.0.4121.0","10.0.0-nightly.20200427":"84.0.4125.0","10.0.0-nightly.20200428":"84.0.4125.0","10.0.0-nightly.20200429":"84.0.4125.0","10.0.0-nightly.20200430":"84.0.4125.0","10.0.0-nightly.20200501":"84.0.4129.0","10.0.0-nightly.20200504":"84.0.4129.0","10.0.0-nightly.20200505":"84.0.4129.0","10.0.0-nightly.20200506":"84.0.4129.0","10.0.0-nightly.20200507":"84.0.4129.0","10.0.0-nightly.20200508":"84.0.4129.0","10.0.0-nightly.20200511":"84.0.4129.0","10.0.0-nightly.20200512":"84.0.4129.0","10.0.0-nightly.20200513":"84.0.4129.0","10.0.0-nightly.20200514":"84.0.4129.0","10.0.0-nightly.20200515":"84.0.4129.0","10.0.0-nightly.20200518":"84.0.4129.0","10.0.0-nightly.20200519":"84.0.4129.0","10.0.0-nightly.20200520":"84.0.4129.0","10.0.0-nightly.20200521":"84.0.4129.0","10.0.0":"85.0.4183.84","10.0.1":"85.0.4183.86","10.1.0":"85.0.4183.87","10.1.1":"85.0.4183.93","10.1.2":"85.0.4183.98","10.1.3":"85.0.4183.121","10.1.4":"85.0.4183.121","10.1.5":"85.0.4183.121","10.1.6":"85.0.4183.121","10.1.7":"85.0.4183.121","10.2.0":"85.0.4183.121","10.3.0":"85.0.4183.121","10.3.1":"85.0.4183.121","10.3.2":"85.0.4183.121","10.4.0":"85.0.4183.121","10.4.1":"85.0.4183.121","10.4.2":"85.0.4183.121","10.4.3":"85.0.4183.121","10.4.4":"85.0.4183.121","10.4.5":"85.0.4183.121","10.4.6":"85.0.4183.121","10.4.7":"85.0.4183.121","11.0.0-beta.1":"86.0.4234.0","11.0.0-beta.3":"86.0.4234.0","11.0.0-beta.4":"86.0.4234.0","11.0.0-beta.5":"86.0.4234.0","11.0.0-beta.6":"86.0.4234.0","11.0.0-beta.7":"86.0.4234.0","11.0.0-beta.8":"87.0.4251.1","11.0.0-beta.9":"87.0.4251.1","11.0.0-beta.11":"87.0.4251.1","11.0.0-beta.12":"87.0.4280.11","11.0.0-beta.13":"87.0.4280.11","11.0.0-beta.16":"87.0.4280.27","11.0.0-beta.17":"87.0.4280.27","11.0.0-beta.18":"87.0.4280.27","11.0.0-beta.19":"87.0.4280.27","11.0.0-beta.20":"87.0.4280.40","11.0.0-beta.22":"87.0.4280.47","11.0.0-beta.23":"87.0.4280.47","11.0.0-nightly.20200525":"84.0.4129.0","11.0.0-nightly.20200526":"84.0.4129.0","11.0.0-nightly.20200529":"85.0.4156.0","11.0.0-nightly.20200602":"85.0.4162.0","11.0.0-nightly.20200603":"85.0.4162.0","11.0.0-nightly.20200604":"85.0.4162.0","11.0.0-nightly.20200609":"85.0.4162.0","11.0.0-nightly.20200610":"85.0.4162.0","11.0.0-nightly.20200611":"85.0.4162.0","11.0.0-nightly.20200615":"85.0.4162.0","11.0.0-nightly.20200616":"85.0.4162.0","11.0.0-nightly.20200617":"85.0.4162.0","11.0.0-nightly.20200618":"85.0.4162.0","11.0.0-nightly.20200619":"85.0.4162.0","11.0.0-nightly.20200701":"85.0.4179.0","11.0.0-nightly.20200702":"85.0.4179.0","11.0.0-nightly.20200703":"85.0.4179.0","11.0.0-nightly.20200706":"85.0.4179.0","11.0.0-nightly.20200707":"85.0.4179.0","11.0.0-nightly.20200708":"85.0.4179.0","11.0.0-nightly.20200709":"85.0.4179.0","11.0.0-nightly.20200716":"86.0.4203.0","11.0.0-nightly.20200717":"86.0.4203.0","11.0.0-nightly.20200720":"86.0.4203.0","11.0.0-nightly.20200721":"86.0.4203.0","11.0.0-nightly.20200723":"86.0.4209.0","11.0.0-nightly.20200724":"86.0.4209.0","11.0.0-nightly.20200729":"86.0.4209.0","11.0.0-nightly.20200730":"86.0.4209.0","11.0.0-nightly.20200731":"86.0.4209.0","11.0.0-nightly.20200803":"86.0.4209.0","11.0.0-nightly.20200804":"86.0.4209.0","11.0.0-nightly.20200805":"86.0.4209.0","11.0.0-nightly.20200811":"86.0.4209.0","11.0.0-nightly.20200812":"86.0.4209.0","11.0.0-nightly.20200822":"86.0.4234.0","11.0.0-nightly.20200824":"86.0.4234.0","11.0.0-nightly.20200825":"86.0.4234.0","11.0.0-nightly.20200826":"86.0.4234.0","11.0.0":"87.0.4280.60","11.0.1":"87.0.4280.60","11.0.2":"87.0.4280.67","11.0.3":"87.0.4280.67","11.0.4":"87.0.4280.67","11.0.5":"87.0.4280.88","11.1.0":"87.0.4280.88","11.1.1":"87.0.4280.88","11.2.0":"87.0.4280.141","11.2.1":"87.0.4280.141","11.2.2":"87.0.4280.141","11.2.3":"87.0.4280.141","11.3.0":"87.0.4280.141","11.4.0":"87.0.4280.141","11.4.1":"87.0.4280.141","11.4.2":"87.0.4280.141","11.4.3":"87.0.4280.141","11.4.4":"87.0.4280.141","11.4.5":"87.0.4280.141","11.4.6":"87.0.4280.141","11.4.7":"87.0.4280.141","11.4.8":"87.0.4280.141","11.4.9":"87.0.4280.141","11.4.10":"87.0.4280.141","11.4.11":"87.0.4280.141","11.4.12":"87.0.4280.141","11.5.0":"87.0.4280.141","12.0.0-beta.1":"89.0.4328.0","12.0.0-beta.3":"89.0.4328.0","12.0.0-beta.4":"89.0.4328.0","12.0.0-beta.5":"89.0.4328.0","12.0.0-beta.6":"89.0.4328.0","12.0.0-beta.7":"89.0.4328.0","12.0.0-beta.8":"89.0.4328.0","12.0.0-beta.9":"89.0.4328.0","12.0.0-beta.10":"89.0.4328.0","12.0.0-beta.11":"89.0.4328.0","12.0.0-beta.12":"89.0.4328.0","12.0.0-beta.14":"89.0.4328.0","12.0.0-beta.16":"89.0.4348.1","12.0.0-beta.18":"89.0.4348.1","12.0.0-beta.19":"89.0.4348.1","12.0.0-beta.20":"89.0.4348.1","12.0.0-beta.21":"89.0.4388.2","12.0.0-beta.22":"89.0.4388.2","12.0.0-beta.23":"89.0.4388.2","12.0.0-beta.24":"89.0.4388.2","12.0.0-beta.25":"89.0.4388.2","12.0.0-beta.26":"89.0.4388.2","12.0.0-beta.27":"89.0.4389.23","12.0.0-beta.28":"89.0.4389.23","12.0.0-beta.29":"89.0.4389.23","12.0.0-beta.30":"89.0.4389.58","12.0.0-beta.31":"89.0.4389.58","12.0.0-nightly.20200827":"86.0.4234.0","12.0.0-nightly.20200831":"86.0.4234.0","12.0.0-nightly.20200902":"86.0.4234.0","12.0.0-nightly.20200903":"86.0.4234.0","12.0.0-nightly.20200907":"86.0.4234.0","12.0.0-nightly.20200910":"86.0.4234.0","12.0.0-nightly.20200911":"86.0.4234.0","12.0.0-nightly.20200914":"86.0.4234.0","12.0.0-nightly.20201013":"87.0.4268.0","12.0.0-nightly.20201014":"87.0.4268.0","12.0.0-nightly.20201015":"87.0.4268.0","12.0.0-nightly.20201023":"88.0.4292.0","12.0.0-nightly.20201026":"88.0.4292.0","12.0.0-nightly.20201030":"88.0.4306.0","12.0.0-nightly.20201102":"88.0.4306.0","12.0.0-nightly.20201103":"88.0.4306.0","12.0.0-nightly.20201104":"88.0.4306.0","12.0.0-nightly.20201105":"88.0.4306.0","12.0.0-nightly.20201106":"88.0.4306.0","12.0.0-nightly.20201111":"88.0.4306.0","12.0.0-nightly.20201112":"88.0.4306.0","12.0.0-nightly.20201116":"88.0.4324.0","12.0.0":"89.0.4389.69","12.0.1":"89.0.4389.82","12.0.2":"89.0.4389.90","12.0.3":"89.0.4389.114","12.0.4":"89.0.4389.114","12.0.5":"89.0.4389.128","12.0.6":"89.0.4389.128","12.0.7":"89.0.4389.128","12.0.8":"89.0.4389.128","12.0.9":"89.0.4389.128","12.0.10":"89.0.4389.128","12.0.11":"89.0.4389.128","12.0.12":"89.0.4389.128","12.0.13":"89.0.4389.128","12.0.14":"89.0.4389.128","12.0.15":"89.0.4389.128","12.0.16":"89.0.4389.128","12.0.17":"89.0.4389.128","12.0.18":"89.0.4389.128","12.1.0":"89.0.4389.128","12.1.1":"89.0.4389.128","12.1.2":"89.0.4389.128","12.2.0":"89.0.4389.128","12.2.1":"89.0.4389.128","12.2.2":"89.0.4389.128","12.2.3":"89.0.4389.128","13.0.0-beta.2":"90.0.4402.0","13.0.0-beta.3":"90.0.4402.0","13.0.0-beta.4":"90.0.4415.0","13.0.0-beta.5":"90.0.4415.0","13.0.0-beta.6":"90.0.4415.0","13.0.0-beta.7":"90.0.4415.0","13.0.0-beta.8":"90.0.4415.0","13.0.0-beta.9":"90.0.4415.0","13.0.0-beta.11":"90.0.4415.0","13.0.0-beta.12":"90.0.4415.0","13.0.0-beta.13":"90.0.4415.0","13.0.0-beta.14":"91.0.4448.0","13.0.0-beta.16":"91.0.4448.0","13.0.0-beta.17":"91.0.4448.0","13.0.0-beta.18":"91.0.4448.0","13.0.0-beta.20":"91.0.4448.0","13.0.0-beta.21":"91.0.4472.33","13.0.0-beta.22":"91.0.4472.33","13.0.0-beta.23":"91.0.4472.33","13.0.0-beta.24":"91.0.4472.38","13.0.0-beta.26":"91.0.4472.38","13.0.0-beta.27":"91.0.4472.38","13.0.0-beta.28":"91.0.4472.38","13.0.0-nightly.20201119":"89.0.4328.0","13.0.0-nightly.20201123":"89.0.4328.0","13.0.0-nightly.20201124":"89.0.4328.0","13.0.0-nightly.20201126":"89.0.4328.0","13.0.0-nightly.20201127":"89.0.4328.0","13.0.0-nightly.20201130":"89.0.4328.0","13.0.0-nightly.20201201":"89.0.4328.0","13.0.0-nightly.20201202":"89.0.4328.0","13.0.0-nightly.20201203":"89.0.4328.0","13.0.0-nightly.20201204":"89.0.4328.0","13.0.0-nightly.20201207":"89.0.4328.0","13.0.0-nightly.20201208":"89.0.4328.0","13.0.0-nightly.20201209":"89.0.4328.0","13.0.0-nightly.20201210":"89.0.4328.0","13.0.0-nightly.20201211":"89.0.4328.0","13.0.0-nightly.20201214":"89.0.4328.0","13.0.0-nightly.20201215":"89.0.4349.0","13.0.0-nightly.20201216":"89.0.4349.0","13.0.0-nightly.20201221":"89.0.4349.0","13.0.0-nightly.20201222":"89.0.4349.0","13.0.0-nightly.20201223":"89.0.4359.0","13.0.0-nightly.20210104":"89.0.4359.0","13.0.0-nightly.20210108":"89.0.4359.0","13.0.0-nightly.20210111":"89.0.4359.0","13.0.0-nightly.20210113":"89.0.4386.0","13.0.0-nightly.20210114":"89.0.4386.0","13.0.0-nightly.20210118":"89.0.4386.0","13.0.0-nightly.20210122":"89.0.4386.0","13.0.0-nightly.20210125":"89.0.4386.0","13.0.0-nightly.20210127":"89.0.4389.0","13.0.0-nightly.20210128":"89.0.4389.0","13.0.0-nightly.20210129":"89.0.4389.0","13.0.0-nightly.20210201":"89.0.4389.0","13.0.0-nightly.20210202":"89.0.4389.0","13.0.0-nightly.20210203":"89.0.4389.0","13.0.0-nightly.20210205":"89.0.4389.0","13.0.0-nightly.20210208":"89.0.4389.0","13.0.0-nightly.20210209":"89.0.4389.0","13.0.0-nightly.20210210":"90.0.4402.0","13.0.0-nightly.20210211":"90.0.4402.0","13.0.0-nightly.20210212":"90.0.4402.0","13.0.0-nightly.20210216":"90.0.4402.0","13.0.0-nightly.20210217":"90.0.4402.0","13.0.0-nightly.20210218":"90.0.4402.0","13.0.0-nightly.20210219":"90.0.4402.0","13.0.0-nightly.20210222":"90.0.4402.0","13.0.0-nightly.20210225":"90.0.4402.0","13.0.0-nightly.20210226":"90.0.4402.0","13.0.0-nightly.20210301":"90.0.4402.0","13.0.0-nightly.20210302":"90.0.4402.0","13.0.0-nightly.20210303":"90.0.4402.0","13.0.0":"91.0.4472.69","13.0.1":"91.0.4472.69","13.1.0":"91.0.4472.77","13.1.1":"91.0.4472.77","13.1.2":"91.0.4472.77","13.1.3":"91.0.4472.106","13.1.4":"91.0.4472.106","13.1.5":"91.0.4472.124","13.1.6":"91.0.4472.124","13.1.7":"91.0.4472.124","13.1.8":"91.0.4472.164","13.1.9":"91.0.4472.164","13.2.0":"91.0.4472.164","13.2.1":"91.0.4472.164","13.2.2":"91.0.4472.164","13.2.3":"91.0.4472.164","13.3.0":"91.0.4472.164","13.4.0":"91.0.4472.164","13.5.0":"91.0.4472.164","13.5.1":"91.0.4472.164","13.5.2":"91.0.4472.164","13.6.0":"91.0.4472.164","13.6.1":"91.0.4472.164","13.6.2":"91.0.4472.164","13.6.3":"91.0.4472.164","13.6.6":"91.0.4472.164","13.6.7":"91.0.4472.164","13.6.8":"91.0.4472.164","13.6.9":"91.0.4472.164","14.0.0-beta.1":"92.0.4511.0","14.0.0-beta.2":"92.0.4511.0","14.0.0-beta.3":"92.0.4511.0","14.0.0-beta.5":"93.0.4536.0","14.0.0-beta.6":"93.0.4536.0","14.0.0-beta.7":"93.0.4536.0","14.0.0-beta.8":"93.0.4536.0","14.0.0-beta.9":"93.0.4539.0","14.0.0-beta.10":"93.0.4539.0","14.0.0-beta.11":"93.0.4557.4","14.0.0-beta.12":"93.0.4557.4","14.0.0-beta.13":"93.0.4566.0","14.0.0-beta.14":"93.0.4566.0","14.0.0-beta.15":"93.0.4566.0","14.0.0-beta.16":"93.0.4566.0","14.0.0-beta.17":"93.0.4566.0","14.0.0-beta.18":"93.0.4577.15","14.0.0-beta.19":"93.0.4577.15","14.0.0-beta.20":"93.0.4577.15","14.0.0-beta.21":"93.0.4577.15","14.0.0-beta.22":"93.0.4577.25","14.0.0-beta.23":"93.0.4577.25","14.0.0-beta.24":"93.0.4577.51","14.0.0-beta.25":"93.0.4577.51","14.0.0-nightly.20210304":"90.0.4402.0","14.0.0-nightly.20210305":"90.0.4415.0","14.0.0-nightly.20210308":"90.0.4415.0","14.0.0-nightly.20210309":"90.0.4415.0","14.0.0-nightly.20210311":"90.0.4415.0","14.0.0-nightly.20210315":"90.0.4415.0","14.0.0-nightly.20210316":"90.0.4415.0","14.0.0-nightly.20210317":"90.0.4415.0","14.0.0-nightly.20210318":"90.0.4415.0","14.0.0-nightly.20210319":"90.0.4415.0","14.0.0-nightly.20210323":"90.0.4415.0","14.0.0-nightly.20210324":"90.0.4415.0","14.0.0-nightly.20210325":"90.0.4415.0","14.0.0-nightly.20210326":"90.0.4415.0","14.0.0-nightly.20210329":"90.0.4415.0","14.0.0-nightly.20210330":"90.0.4415.0","14.0.0-nightly.20210331":"91.0.4448.0","14.0.0-nightly.20210401":"91.0.4448.0","14.0.0-nightly.20210402":"91.0.4448.0","14.0.0-nightly.20210406":"91.0.4448.0","14.0.0-nightly.20210407":"91.0.4448.0","14.0.0-nightly.20210408":"91.0.4448.0","14.0.0-nightly.20210409":"91.0.4448.0","14.0.0-nightly.20210413":"91.0.4448.0","14.0.0-nightly.20210426":"92.0.4475.0","14.0.0-nightly.20210427":"92.0.4475.0","14.0.0-nightly.20210430":"92.0.4488.0","14.0.0-nightly.20210503":"92.0.4488.0","14.0.0-nightly.20210505":"92.0.4496.0","14.0.0-nightly.20210506":"92.0.4498.0","14.0.0-nightly.20210507":"92.0.4499.0","14.0.0-nightly.20210510":"92.0.4499.0","14.0.0-nightly.20210511":"92.0.4499.0","14.0.0-nightly.20210512":"92.0.4499.0","14.0.0-nightly.20210513":"92.0.4499.0","14.0.0-nightly.20210514":"92.0.4505.0","14.0.0-nightly.20210517":"92.0.4505.0","14.0.0-nightly.20210518":"92.0.4505.0","14.0.0-nightly.20210519":"92.0.4505.0","14.0.0-nightly.20210520":"92.0.4511.0","14.0.0-nightly.20210523":"92.0.4511.0","14.0.0-nightly.20210524":"92.0.4511.0","14.0.0":"93.0.4577.58","14.0.1":"93.0.4577.63","14.0.2":"93.0.4577.82","14.1.0":"93.0.4577.82","14.1.1":"93.0.4577.82","14.2.0":"93.0.4577.82","14.2.1":"93.0.4577.82","14.2.2":"93.0.4577.82","14.2.3":"93.0.4577.82","14.2.4":"93.0.4577.82","14.2.5":"93.0.4577.82","14.2.6":"93.0.4577.82","14.2.7":"93.0.4577.82","14.2.8":"93.0.4577.82","14.2.9":"93.0.4577.82","15.0.0-alpha.1":"93.0.4566.0","15.0.0-alpha.2":"93.0.4566.0","15.0.0-alpha.3":"94.0.4584.0","15.0.0-alpha.4":"94.0.4584.0","15.0.0-alpha.5":"94.0.4584.0","15.0.0-alpha.6":"94.0.4584.0","15.0.0-alpha.7":"94.0.4590.2","15.0.0-alpha.8":"94.0.4590.2","15.0.0-alpha.9":"94.0.4590.2","15.0.0-alpha.10":"94.0.4606.12","15.0.0-beta.1":"94.0.4606.20","15.0.0-beta.2":"94.0.4606.20","15.0.0-beta.3":"94.0.4606.31","15.0.0-beta.4":"94.0.4606.31","15.0.0-beta.5":"94.0.4606.31","15.0.0-beta.6":"94.0.4606.31","15.0.0-beta.7":"94.0.4606.31","15.0.0-nightly.20210527":"92.0.4511.0","15.0.0-nightly.20210528":"92.0.4511.0","15.0.0-nightly.20210531":"92.0.4511.0","15.0.0-nightly.20210601":"92.0.4511.0","15.0.0-nightly.20210602":"92.0.4511.0","15.0.0-nightly.20210603":"93.0.4530.0","15.0.0-nightly.20210604":"93.0.4530.0","15.0.0-nightly.20210608":"93.0.4535.0","15.0.0-nightly.20210609":"93.0.4536.0","15.0.0-nightly.20210610":"93.0.4536.0","15.0.0-nightly.20210611":"93.0.4536.0","15.0.0-nightly.20210614":"93.0.4536.0","15.0.0-nightly.20210615":"93.0.4536.0","15.0.0-nightly.20210616":"93.0.4536.0","15.0.0-nightly.20210617":"93.0.4539.0","15.0.0-nightly.20210618":"93.0.4539.0","15.0.0-nightly.20210621":"93.0.4539.0","15.0.0-nightly.20210622":"93.0.4539.0","15.0.0-nightly.20210623":"93.0.4550.0","15.0.0-nightly.20210624":"93.0.4550.0","15.0.0-nightly.20210625":"93.0.4552.0","15.0.0-nightly.20210628":"93.0.4552.0","15.0.0-nightly.20210629":"93.0.4552.0","15.0.0-nightly.20210630":"93.0.4558.0","15.0.0-nightly.20210701":"93.0.4558.0","15.0.0-nightly.20210702":"93.0.4558.0","15.0.0-nightly.20210705":"93.0.4558.0","15.0.0-nightly.20210706":"93.0.4566.0","15.0.0-nightly.20210707":"93.0.4566.0","15.0.0-nightly.20210708":"93.0.4566.0","15.0.0-nightly.20210709":"93.0.4566.0","15.0.0-nightly.20210712":"93.0.4566.0","15.0.0-nightly.20210713":"93.0.4566.0","15.0.0-nightly.20210714":"93.0.4566.0","15.0.0-nightly.20210715":"93.0.4566.0","15.0.0-nightly.20210716":"93.0.4566.0","15.0.0-nightly.20210719":"93.0.4566.0","15.0.0-nightly.20210720":"93.0.4566.0","15.0.0-nightly.20210721":"93.0.4566.0","15.0.0":"94.0.4606.51","15.1.0":"94.0.4606.61","15.1.1":"94.0.4606.61","15.1.2":"94.0.4606.71","15.2.0":"94.0.4606.81","15.3.0":"94.0.4606.81","15.3.1":"94.0.4606.81","15.3.2":"94.0.4606.81","15.3.3":"94.0.4606.81","15.3.4":"94.0.4606.81","15.3.5":"94.0.4606.81","15.3.6":"94.0.4606.81","15.3.7":"94.0.4606.81","15.4.0":"94.0.4606.81","15.4.1":"94.0.4606.81","15.4.2":"94.0.4606.81","15.5.0":"94.0.4606.81","15.5.1":"94.0.4606.81","15.5.2":"94.0.4606.81","15.5.3":"94.0.4606.81","15.5.4":"94.0.4606.81","15.5.5":"94.0.4606.81","15.5.6":"94.0.4606.81","15.5.7":"94.0.4606.81","16.0.0-alpha.1":"95.0.4629.0","16.0.0-alpha.2":"95.0.4629.0","16.0.0-alpha.3":"95.0.4629.0","16.0.0-alpha.4":"95.0.4629.0","16.0.0-alpha.5":"95.0.4629.0","16.0.0-alpha.6":"95.0.4629.0","16.0.0-alpha.7":"95.0.4629.0","16.0.0-alpha.8":"96.0.4647.0","16.0.0-alpha.9":"96.0.4647.0","16.0.0-beta.1":"96.0.4647.0","16.0.0-beta.2":"96.0.4647.0","16.0.0-beta.3":"96.0.4647.0","16.0.0-beta.4":"96.0.4664.18","16.0.0-beta.5":"96.0.4664.18","16.0.0-beta.6":"96.0.4664.27","16.0.0-beta.7":"96.0.4664.27","16.0.0-beta.8":"96.0.4664.35","16.0.0-beta.9":"96.0.4664.35","16.0.0-nightly.20210722":"93.0.4566.0","16.0.0-nightly.20210723":"93.0.4566.0","16.0.0-nightly.20210726":"93.0.4566.0","16.0.0-nightly.20210727":"94.0.4584.0","16.0.0-nightly.20210728":"94.0.4584.0","16.0.0-nightly.20210729":"94.0.4584.0","16.0.0-nightly.20210730":"94.0.4584.0","16.0.0-nightly.20210802":"94.0.4584.0","16.0.0-nightly.20210803":"94.0.4584.0","16.0.0-nightly.20210804":"94.0.4584.0","16.0.0-nightly.20210805":"94.0.4584.0","16.0.0-nightly.20210806":"94.0.4584.0","16.0.0-nightly.20210809":"94.0.4584.0","16.0.0-nightly.20210810":"94.0.4584.0","16.0.0-nightly.20210811":"94.0.4584.0","16.0.0-nightly.20210812":"94.0.4590.2","16.0.0-nightly.20210813":"94.0.4590.2","16.0.0-nightly.20210816":"94.0.4590.2","16.0.0-nightly.20210817":"94.0.4590.2","16.0.0-nightly.20210818":"94.0.4590.2","16.0.0-nightly.20210819":"94.0.4590.2","16.0.0-nightly.20210820":"94.0.4590.2","16.0.0-nightly.20210823":"94.0.4590.2","16.0.0-nightly.20210824":"95.0.4612.5","16.0.0-nightly.20210825":"95.0.4612.5","16.0.0-nightly.20210826":"95.0.4612.5","16.0.0-nightly.20210827":"95.0.4612.5","16.0.0-nightly.20210830":"95.0.4612.5","16.0.0-nightly.20210831":"95.0.4612.5","16.0.0-nightly.20210901":"95.0.4612.5","16.0.0-nightly.20210902":"95.0.4629.0","16.0.0-nightly.20210903":"95.0.4629.0","16.0.0-nightly.20210906":"95.0.4629.0","16.0.0-nightly.20210907":"95.0.4629.0","16.0.0-nightly.20210908":"95.0.4629.0","16.0.0-nightly.20210909":"95.0.4629.0","16.0.0-nightly.20210910":"95.0.4629.0","16.0.0-nightly.20210913":"95.0.4629.0","16.0.0-nightly.20210914":"95.0.4629.0","16.0.0-nightly.20210915":"95.0.4629.0","16.0.0-nightly.20210916":"95.0.4629.0","16.0.0-nightly.20210917":"95.0.4629.0","16.0.0-nightly.20210920":"95.0.4629.0","16.0.0-nightly.20210921":"95.0.4629.0","16.0.0-nightly.20210922":"95.0.4629.0","16.0.0":"96.0.4664.45","16.0.1":"96.0.4664.45","16.0.2":"96.0.4664.55","16.0.3":"96.0.4664.55","16.0.4":"96.0.4664.55","16.0.5":"96.0.4664.55","16.0.6":"96.0.4664.110","16.0.7":"96.0.4664.110","16.0.8":"96.0.4664.110","16.0.9":"96.0.4664.174","16.0.10":"96.0.4664.174","16.1.0":"96.0.4664.174","16.1.1":"96.0.4664.174","16.2.0":"96.0.4664.174","16.2.1":"96.0.4664.174","16.2.2":"96.0.4664.174","16.2.3":"96.0.4664.174","16.2.4":"96.0.4664.174","16.2.5":"96.0.4664.174","16.2.6":"96.0.4664.174","16.2.7":"96.0.4664.174","16.2.8":"96.0.4664.174","17.0.0-alpha.1":"96.0.4664.4","17.0.0-alpha.2":"96.0.4664.4","17.0.0-alpha.3":"96.0.4664.4","17.0.0-alpha.4":"98.0.4706.0","17.0.0-alpha.5":"98.0.4706.0","17.0.0-alpha.6":"98.0.4706.0","17.0.0-beta.1":"98.0.4706.0","17.0.0-beta.2":"98.0.4706.0","17.0.0-beta.3":"98.0.4758.9","17.0.0-beta.4":"98.0.4758.11","17.0.0-beta.5":"98.0.4758.11","17.0.0-beta.6":"98.0.4758.11","17.0.0-beta.7":"98.0.4758.11","17.0.0-beta.8":"98.0.4758.11","17.0.0-beta.9":"98.0.4758.11","17.0.0-nightly.20210923":"95.0.4629.0","17.0.0-nightly.20210924":"95.0.4629.0","17.0.0-nightly.20210927":"95.0.4629.0","17.0.0-nightly.20210928":"95.0.4629.0","17.0.0-nightly.20210929":"95.0.4629.0","17.0.0-nightly.20210930":"95.0.4629.0","17.0.0-nightly.20211001":"95.0.4629.0","17.0.0-nightly.20211004":"95.0.4629.0","17.0.0-nightly.20211005":"95.0.4629.0","17.0.0-nightly.20211006":"96.0.4647.0","17.0.0-nightly.20211007":"96.0.4647.0","17.0.0-nightly.20211008":"96.0.4647.0","17.0.0-nightly.20211011":"96.0.4647.0","17.0.0-nightly.20211012":"96.0.4647.0","17.0.0-nightly.20211013":"96.0.4647.0","17.0.0-nightly.20211014":"96.0.4647.0","17.0.0-nightly.20211015":"96.0.4647.0","17.0.0-nightly.20211018":"96.0.4647.0","17.0.0-nightly.20211019":"96.0.4647.0","17.0.0-nightly.20211020":"96.0.4647.0","17.0.0-nightly.20211021":"96.0.4647.0","17.0.0-nightly.20211022":"96.0.4664.4","17.0.0-nightly.20211025":"96.0.4664.4","17.0.0-nightly.20211026":"96.0.4664.4","17.0.0-nightly.20211027":"96.0.4664.4","17.0.0-nightly.20211028":"96.0.4664.4","17.0.0-nightly.20211029":"96.0.4664.4","17.0.0-nightly.20211101":"96.0.4664.4","17.0.0-nightly.20211102":"96.0.4664.4","17.0.0-nightly.20211103":"96.0.4664.4","17.0.0-nightly.20211104":"96.0.4664.4","17.0.0-nightly.20211105":"96.0.4664.4","17.0.0-nightly.20211108":"96.0.4664.4","17.0.0-nightly.20211109":"96.0.4664.4","17.0.0-nightly.20211110":"96.0.4664.4","17.0.0-nightly.20211111":"96.0.4664.4","17.0.0-nightly.20211112":"96.0.4664.4","17.0.0-nightly.20211115":"96.0.4664.4","17.0.0-nightly.20211116":"96.0.4664.4","17.0.0-nightly.20211117":"96.0.4664.4","17.0.0":"98.0.4758.74","17.0.1":"98.0.4758.82","17.1.0":"98.0.4758.102","17.1.1":"98.0.4758.109","17.1.2":"98.0.4758.109","17.2.0":"98.0.4758.109","17.3.0":"98.0.4758.141","17.3.1":"98.0.4758.141","17.4.0":"98.0.4758.141","17.4.1":"98.0.4758.141","17.4.2":"98.0.4758.141","17.4.3":"98.0.4758.141","17.4.4":"98.0.4758.141","17.4.5":"98.0.4758.141","17.4.6":"98.0.4758.141","17.4.7":"98.0.4758.141","17.4.8":"98.0.4758.141","17.4.9":"98.0.4758.141","17.4.10":"98.0.4758.141","17.4.11":"98.0.4758.141","18.0.0-alpha.1":"99.0.4767.0","18.0.0-alpha.2":"99.0.4767.0","18.0.0-alpha.3":"99.0.4767.0","18.0.0-alpha.4":"99.0.4767.0","18.0.0-alpha.5":"99.0.4767.0","18.0.0-beta.1":"100.0.4894.0","18.0.0-beta.2":"100.0.4894.0","18.0.0-beta.3":"100.0.4894.0","18.0.0-beta.4":"100.0.4894.0","18.0.0-beta.5":"100.0.4894.0","18.0.0-beta.6":"100.0.4894.0","18.0.0-nightly.20211118":"96.0.4664.4","18.0.0-nightly.20211119":"96.0.4664.4","18.0.0-nightly.20211122":"96.0.4664.4","18.0.0-nightly.20211123":"96.0.4664.4","18.0.0-nightly.20211124":"98.0.4706.0","18.0.0-nightly.20211125":"98.0.4706.0","18.0.0-nightly.20211126":"98.0.4706.0","18.0.0-nightly.20211129":"98.0.4706.0","18.0.0-nightly.20211130":"98.0.4706.0","18.0.0-nightly.20211201":"98.0.4706.0","18.0.0-nightly.20211202":"98.0.4706.0","18.0.0-nightly.20211203":"98.0.4706.0","18.0.0-nightly.20211206":"98.0.4706.0","18.0.0-nightly.20211207":"98.0.4706.0","18.0.0-nightly.20211208":"98.0.4706.0","18.0.0-nightly.20211209":"98.0.4706.0","18.0.0-nightly.20211210":"98.0.4706.0","18.0.0-nightly.20211213":"98.0.4706.0","18.0.0-nightly.20211214":"98.0.4706.0","18.0.0-nightly.20211215":"98.0.4706.0","18.0.0-nightly.20211216":"98.0.4706.0","18.0.0-nightly.20211217":"98.0.4706.0","18.0.0-nightly.20211220":"98.0.4706.0","18.0.0-nightly.20211221":"98.0.4706.0","18.0.0-nightly.20211222":"98.0.4706.0","18.0.0-nightly.20211223":"98.0.4706.0","18.0.0-nightly.20211228":"98.0.4706.0","18.0.0-nightly.20211229":"98.0.4706.0","18.0.0-nightly.20211231":"98.0.4706.0","18.0.0-nightly.20220103":"98.0.4706.0","18.0.0-nightly.20220104":"98.0.4706.0","18.0.0-nightly.20220105":"98.0.4706.0","18.0.0-nightly.20220106":"98.0.4706.0","18.0.0-nightly.20220107":"98.0.4706.0","18.0.0-nightly.20220110":"98.0.4706.0","18.0.0-nightly.20220111":"99.0.4767.0","18.0.0-nightly.20220112":"99.0.4767.0","18.0.0-nightly.20220113":"99.0.4767.0","18.0.0-nightly.20220114":"99.0.4767.0","18.0.0-nightly.20220117":"99.0.4767.0","18.0.0-nightly.20220118":"99.0.4767.0","18.0.0-nightly.20220119":"99.0.4767.0","18.0.0-nightly.20220121":"99.0.4767.0","18.0.0-nightly.20220124":"99.0.4767.0","18.0.0-nightly.20220125":"99.0.4767.0","18.0.0-nightly.20220127":"99.0.4767.0","18.0.0-nightly.20220128":"99.0.4767.0","18.0.0-nightly.20220131":"99.0.4767.0","18.0.0-nightly.20220201":"99.0.4767.0","18.0.0":"100.0.4896.56","18.0.1":"100.0.4896.60","18.0.2":"100.0.4896.60","18.0.3":"100.0.4896.75","18.0.4":"100.0.4896.75","18.1.0":"100.0.4896.127","18.2.0":"100.0.4896.143","18.2.1":"100.0.4896.143","18.2.2":"100.0.4896.143","18.2.3":"100.0.4896.143","18.2.4":"100.0.4896.160","18.3.0":"100.0.4896.160","18.3.1":"100.0.4896.160","18.3.2":"100.0.4896.160","18.3.3":"100.0.4896.160","18.3.4":"100.0.4896.160","18.3.5":"100.0.4896.160","18.3.6":"100.0.4896.160","18.3.7":"100.0.4896.160","18.3.8":"100.0.4896.160","18.3.9":"100.0.4896.160","18.3.11":"100.0.4896.160","18.3.12":"100.0.4896.160","18.3.13":"100.0.4896.160","18.3.14":"100.0.4896.160","18.3.15":"100.0.4896.160","19.0.0-alpha.1":"102.0.4962.3","19.0.0-alpha.2":"102.0.4971.0","19.0.0-alpha.3":"102.0.4971.0","19.0.0-alpha.4":"102.0.4989.0","19.0.0-alpha.5":"102.0.4989.0","19.0.0-beta.1":"102.0.4999.0","19.0.0-beta.2":"102.0.4999.0","19.0.0-beta.3":"102.0.4999.0","19.0.0-beta.4":"102.0.5005.27","19.0.0-beta.5":"102.0.5005.40","19.0.0-beta.6":"102.0.5005.40","19.0.0-beta.7":"102.0.5005.40","19.0.0-beta.8":"102.0.5005.49","19.0.0-nightly.20220202":"99.0.4767.0","19.0.0-nightly.20220203":"99.0.4767.0","19.0.0-nightly.20220204":"99.0.4767.0","19.0.0-nightly.20220207":"99.0.4767.0","19.0.0-nightly.20220208":"99.0.4767.0","19.0.0-nightly.20220209":"99.0.4767.0","19.0.0-nightly.20220308":"100.0.4894.0","19.0.0-nightly.20220309":"100.0.4894.0","19.0.0-nightly.20220310":"100.0.4894.0","19.0.0-nightly.20220311":"100.0.4894.0","19.0.0-nightly.20220314":"100.0.4894.0","19.0.0-nightly.20220315":"100.0.4894.0","19.0.0-nightly.20220316":"100.0.4894.0","19.0.0-nightly.20220317":"100.0.4894.0","19.0.0-nightly.20220318":"100.0.4894.0","19.0.0-nightly.20220321":"100.0.4894.0","19.0.0-nightly.20220322":"100.0.4894.0","19.0.0-nightly.20220323":"100.0.4894.0","19.0.0-nightly.20220324":"100.0.4894.0","19.0.0-nightly.20220325":"102.0.4961.0","19.0.0-nightly.20220328":"102.0.4962.3","19.0.0-nightly.20220329":"102.0.4962.3","19.0.0":"102.0.5005.61","19.0.1":"102.0.5005.61","19.0.2":"102.0.5005.63","19.0.3":"102.0.5005.63","19.0.4":"102.0.5005.63","19.0.5":"102.0.5005.115","19.0.6":"102.0.5005.115","19.0.7":"102.0.5005.134","19.0.8":"102.0.5005.148","19.0.9":"102.0.5005.167","19.0.10":"102.0.5005.167","19.0.11":"102.0.5005.167","19.0.12":"102.0.5005.167","19.0.13":"102.0.5005.167","19.0.14":"102.0.5005.167","19.0.15":"102.0.5005.167","19.0.16":"102.0.5005.167","19.0.17":"102.0.5005.167","19.1.0":"102.0.5005.167","19.1.1":"102.0.5005.167","19.1.2":"102.0.5005.167","19.1.3":"102.0.5005.167","20.0.0-alpha.1":"103.0.5044.0","20.0.0-alpha.2":"104.0.5073.0","20.0.0-alpha.3":"104.0.5073.0","20.0.0-alpha.4":"104.0.5073.0","20.0.0-alpha.5":"104.0.5073.0","20.0.0-alpha.6":"104.0.5073.0","20.0.0-alpha.7":"104.0.5073.0","20.0.0-beta.1":"104.0.5073.0","20.0.0-beta.2":"104.0.5073.0","20.0.0-beta.3":"104.0.5073.0","20.0.0-beta.4":"104.0.5073.0","20.0.0-beta.5":"104.0.5073.0","20.0.0-beta.6":"104.0.5073.0","20.0.0-beta.7":"104.0.5073.0","20.0.0-beta.8":"104.0.5073.0","20.0.0-beta.9":"104.0.5112.39","20.0.0-beta.10":"104.0.5112.48","20.0.0-beta.11":"104.0.5112.48","20.0.0-beta.12":"104.0.5112.48","20.0.0-beta.13":"104.0.5112.57","20.0.0-nightly.20220330":"102.0.4962.3","20.0.0-nightly.20220411":"102.0.4971.0","20.0.0-nightly.20220414":"102.0.4989.0","20.0.0-nightly.20220415":"102.0.4989.0","20.0.0-nightly.20220418":"102.0.4989.0","20.0.0-nightly.20220419":"102.0.4989.0","20.0.0-nightly.20220420":"102.0.4989.0","20.0.0-nightly.20220421":"102.0.4989.0","20.0.0-nightly.20220425":"102.0.4999.0","20.0.0-nightly.20220426":"102.0.4999.0","20.0.0-nightly.20220427":"102.0.4999.0","20.0.0-nightly.20220428":"102.0.4999.0","20.0.0-nightly.20220429":"102.0.4999.0","20.0.0-nightly.20220502":"102.0.4999.0","20.0.0-nightly.20220503":"102.0.4999.0","20.0.0-nightly.20220504":"102.0.4999.0","20.0.0-nightly.20220505":"102.0.4999.0","20.0.0-nightly.20220506":"102.0.4999.0","20.0.0-nightly.20220509":"102.0.4999.0","20.0.0-nightly.20220511":"102.0.4999.0","20.0.0-nightly.20220512":"102.0.4999.0","20.0.0-nightly.20220513":"102.0.4999.0","20.0.0-nightly.20220516":"102.0.4999.0","20.0.0-nightly.20220517":"102.0.4999.0","20.0.0-nightly.20220518":"103.0.5044.0","20.0.0-nightly.20220519":"103.0.5044.0","20.0.0-nightly.20220520":"103.0.5044.0","20.0.0-nightly.20220523":"103.0.5044.0","20.0.0-nightly.20220524":"103.0.5044.0","20.0.0":"104.0.5112.65","20.0.1":"104.0.5112.81","20.0.2":"104.0.5112.81","20.0.3":"104.0.5112.81","20.1.0":"104.0.5112.102","20.1.1":"104.0.5112.102","20.1.2":"104.0.5112.114","20.1.3":"104.0.5112.114","20.1.4":"104.0.5112.114","20.2.0":"104.0.5112.124","20.3.0":"104.0.5112.124","20.3.1":"104.0.5112.124","20.3.2":"104.0.5112.124","21.0.0-alpha.1":"105.0.5187.0","21.0.0-alpha.2":"105.0.5187.0","21.0.0-alpha.3":"105.0.5187.0","21.0.0-alpha.4":"105.0.5187.0","21.0.0-alpha.5":"105.0.5187.0","21.0.0-alpha.6":"106.0.5216.0","21.0.0-beta.1":"106.0.5216.0","21.0.0-beta.2":"106.0.5216.0","21.0.0-beta.3":"106.0.5216.0","21.0.0-beta.4":"106.0.5216.0","21.0.0-beta.5":"106.0.5216.0","21.0.0-beta.6":"106.0.5249.40","21.0.0-beta.7":"106.0.5249.40","21.0.0-beta.8":"106.0.5249.40","21.0.0-nightly.20220526":"103.0.5044.0","21.0.0-nightly.20220527":"103.0.5044.0","21.0.0-nightly.20220530":"103.0.5044.0","21.0.0-nightly.20220531":"103.0.5044.0","21.0.0-nightly.20220602":"104.0.5073.0","21.0.0-nightly.20220603":"104.0.5073.0","21.0.0-nightly.20220606":"104.0.5073.0","21.0.0-nightly.20220607":"104.0.5073.0","21.0.0-nightly.20220608":"104.0.5073.0","21.0.0-nightly.20220609":"104.0.5073.0","21.0.0-nightly.20220610":"104.0.5073.0","21.0.0-nightly.20220613":"104.0.5073.0","21.0.0-nightly.20220614":"104.0.5073.0","21.0.0-nightly.20220615":"104.0.5073.0","21.0.0-nightly.20220616":"104.0.5073.0","21.0.0-nightly.20220617":"104.0.5073.0","21.0.0-nightly.20220620":"104.0.5073.0","21.0.0-nightly.20220621":"104.0.5073.0","21.0.0-nightly.20220622":"104.0.5073.0","21.0.0-nightly.20220623":"104.0.5073.0","21.0.0-nightly.20220624":"104.0.5073.0","21.0.0-nightly.20220627":"104.0.5073.0","21.0.0-nightly.20220628":"105.0.5129.0","21.0.0-nightly.20220629":"105.0.5129.0","21.0.0-nightly.20220630":"105.0.5129.0","21.0.0-nightly.20220701":"105.0.5129.0","21.0.0-nightly.20220704":"105.0.5129.0","21.0.0-nightly.20220705":"105.0.5129.0","21.0.0-nightly.20220706":"105.0.5129.0","21.0.0-nightly.20220707":"105.0.5129.0","21.0.0-nightly.20220708":"105.0.5129.0","21.0.0-nightly.20220711":"105.0.5129.0","21.0.0-nightly.20220712":"105.0.5129.0","21.0.0-nightly.20220713":"105.0.5129.0","21.0.0-nightly.20220715":"105.0.5173.0","21.0.0-nightly.20220718":"105.0.5173.0","21.0.0-nightly.20220719":"105.0.5173.0","21.0.0-nightly.20220720":"105.0.5187.0","21.0.0-nightly.20220721":"105.0.5187.0","21.0.0-nightly.20220722":"105.0.5187.0","21.0.0-nightly.20220725":"105.0.5187.0","21.0.0-nightly.20220726":"105.0.5187.0","21.0.0-nightly.20220727":"105.0.5187.0","21.0.0-nightly.20220728":"105.0.5187.0","21.0.0-nightly.20220801":"105.0.5187.0","21.0.0-nightly.20220802":"105.0.5187.0","21.0.0":"106.0.5249.51","21.0.1":"106.0.5249.61","21.1.0":"106.0.5249.91","21.1.1":"106.0.5249.103","22.0.0-alpha.1":"107.0.5286.0","22.0.0-alpha.3":"108.0.5329.0","22.0.0-alpha.4":"108.0.5329.0","22.0.0-alpha.5":"108.0.5329.0","22.0.0-nightly.20220808":"105.0.5187.0","22.0.0-nightly.20220809":"105.0.5187.0","22.0.0-nightly.20220810":"105.0.5187.0","22.0.0-nightly.20220811":"105.0.5187.0","22.0.0-nightly.20220812":"105.0.5187.0","22.0.0-nightly.20220815":"105.0.5187.0","22.0.0-nightly.20220816":"105.0.5187.0","22.0.0-nightly.20220817":"105.0.5187.0","22.0.0-nightly.20220822":"106.0.5216.0","22.0.0-nightly.20220823":"106.0.5216.0","22.0.0-nightly.20220824":"106.0.5216.0","22.0.0-nightly.20220825":"106.0.5216.0","22.0.0-nightly.20220829":"106.0.5216.0","22.0.0-nightly.20220830":"106.0.5216.0","22.0.0-nightly.20220831":"106.0.5216.0","22.0.0-nightly.20220901":"106.0.5216.0","22.0.0-nightly.20220902":"106.0.5216.0","22.0.0-nightly.20220905":"106.0.5216.0","22.0.0-nightly.20220908":"107.0.5274.0","22.0.0-nightly.20220909":"107.0.5286.0","22.0.0-nightly.20220912":"107.0.5286.0","22.0.0-nightly.20220913":"107.0.5286.0","22.0.0-nightly.20220914":"107.0.5286.0","22.0.0-nightly.20220915":"107.0.5286.0","22.0.0-nightly.20220916":"107.0.5286.0","22.0.0-nightly.20220919":"107.0.5286.0","22.0.0-nightly.20220920":"107.0.5286.0","22.0.0-nightly.20220921":"107.0.5286.0","22.0.0-nightly.20220922":"107.0.5286.0","22.0.0-nightly.20220923":"107.0.5286.0","22.0.0-nightly.20220926":"107.0.5286.0","22.0.0-nightly.20220927":"107.0.5286.0","22.0.0-nightly.20220928":"107.0.5286.0","23.0.0-nightly.20220929":"107.0.5286.0","23.0.0-nightly.20220930":"107.0.5286.0","23.0.0-nightly.20221003":"107.0.5286.0","23.0.0-nightly.20221004":"108.0.5329.0","23.0.0-nightly.20221005":"108.0.5329.0","23.0.0-nightly.20221006":"108.0.5329.0","23.0.0-nightly.20221007":"108.0.5329.0","23.0.0-nightly.20221010":"108.0.5329.0","23.0.0-nightly.20221011":"108.0.5329.0","23.0.0-nightly.20221012":"108.0.5329.0","23.0.0-nightly.20221013":"108.0.5329.0","23.0.0-nightly.20221014":"108.0.5329.0","23.0.0-nightly.20221017":"108.0.5329.0"} \ No newline at end of file +{"0.20.0":"39.0.2171.65","0.20.1":"39.0.2171.65","0.20.2":"39.0.2171.65","0.20.3":"39.0.2171.65","0.20.4":"39.0.2171.65","0.20.5":"39.0.2171.65","0.20.6":"39.0.2171.65","0.20.7":"39.0.2171.65","0.20.8":"39.0.2171.65","0.21.0":"40.0.2214.91","0.21.1":"40.0.2214.91","0.21.2":"40.0.2214.91","0.21.3":"41.0.2272.76","0.22.1":"41.0.2272.76","0.22.2":"41.0.2272.76","0.22.3":"41.0.2272.76","0.23.0":"41.0.2272.76","0.24.0":"41.0.2272.76","0.25.0":"42.0.2311.107","0.25.1":"42.0.2311.107","0.25.2":"42.0.2311.107","0.25.3":"42.0.2311.107","0.26.0":"42.0.2311.107","0.26.1":"42.0.2311.107","0.27.0":"42.0.2311.107","0.27.1":"42.0.2311.107","0.27.2":"43.0.2357.65","0.27.3":"43.0.2357.65","0.28.0":"43.0.2357.65","0.28.1":"43.0.2357.65","0.28.2":"43.0.2357.65","0.28.3":"43.0.2357.65","0.29.1":"43.0.2357.65","0.29.2":"43.0.2357.65","0.30.4":"44.0.2403.125","0.31.0":"44.0.2403.125","0.31.2":"45.0.2454.85","0.32.2":"45.0.2454.85","0.32.3":"45.0.2454.85","0.33.0":"45.0.2454.85","0.33.1":"45.0.2454.85","0.33.2":"45.0.2454.85","0.33.3":"45.0.2454.85","0.33.4":"45.0.2454.85","0.33.6":"45.0.2454.85","0.33.7":"45.0.2454.85","0.33.8":"45.0.2454.85","0.33.9":"45.0.2454.85","0.34.0":"45.0.2454.85","0.34.1":"45.0.2454.85","0.34.2":"45.0.2454.85","0.34.3":"45.0.2454.85","0.34.4":"45.0.2454.85","0.35.1":"45.0.2454.85","0.35.2":"45.0.2454.85","0.35.3":"45.0.2454.85","0.35.4":"45.0.2454.85","0.35.5":"45.0.2454.85","0.36.0":"47.0.2526.73","0.36.2":"47.0.2526.73","0.36.3":"47.0.2526.73","0.36.4":"47.0.2526.73","0.36.5":"47.0.2526.110","0.36.6":"47.0.2526.110","0.36.7":"47.0.2526.110","0.36.8":"47.0.2526.110","0.36.9":"47.0.2526.110","0.36.10":"47.0.2526.110","0.36.11":"47.0.2526.110","0.36.12":"47.0.2526.110","0.37.0":"49.0.2623.75","0.37.1":"49.0.2623.75","0.37.3":"49.0.2623.75","0.37.4":"49.0.2623.75","0.37.5":"49.0.2623.75","0.37.6":"49.0.2623.75","0.37.7":"49.0.2623.75","0.37.8":"49.0.2623.75","1.0.0":"49.0.2623.75","1.0.1":"49.0.2623.75","1.0.2":"49.0.2623.75","1.1.0":"50.0.2661.102","1.1.1":"50.0.2661.102","1.1.2":"50.0.2661.102","1.1.3":"50.0.2661.102","1.2.0":"51.0.2704.63","1.2.1":"51.0.2704.63","1.2.2":"51.0.2704.84","1.2.3":"51.0.2704.84","1.2.4":"51.0.2704.103","1.2.5":"51.0.2704.103","1.2.6":"51.0.2704.106","1.2.7":"51.0.2704.106","1.2.8":"51.0.2704.106","1.3.0":"52.0.2743.82","1.3.1":"52.0.2743.82","1.3.2":"52.0.2743.82","1.3.3":"52.0.2743.82","1.3.4":"52.0.2743.82","1.3.5":"52.0.2743.82","1.3.6":"52.0.2743.82","1.3.7":"52.0.2743.82","1.3.9":"52.0.2743.82","1.3.10":"52.0.2743.82","1.3.13":"52.0.2743.82","1.3.14":"52.0.2743.82","1.3.15":"52.0.2743.82","1.4.0":"53.0.2785.113","1.4.1":"53.0.2785.113","1.4.2":"53.0.2785.113","1.4.3":"53.0.2785.113","1.4.4":"53.0.2785.113","1.4.5":"53.0.2785.113","1.4.6":"53.0.2785.143","1.4.7":"53.0.2785.143","1.4.8":"53.0.2785.143","1.4.10":"53.0.2785.143","1.4.11":"53.0.2785.143","1.4.12":"54.0.2840.51","1.4.13":"53.0.2785.143","1.4.14":"53.0.2785.143","1.4.15":"53.0.2785.143","1.4.16":"53.0.2785.143","1.5.0":"54.0.2840.101","1.5.1":"54.0.2840.101","1.6.0":"56.0.2924.87","1.6.1":"56.0.2924.87","1.6.2":"56.0.2924.87","1.6.3":"56.0.2924.87","1.6.4":"56.0.2924.87","1.6.5":"56.0.2924.87","1.6.6":"56.0.2924.87","1.6.7":"56.0.2924.87","1.6.8":"56.0.2924.87","1.6.9":"56.0.2924.87","1.6.10":"56.0.2924.87","1.6.11":"56.0.2924.87","1.6.12":"56.0.2924.87","1.6.13":"56.0.2924.87","1.6.14":"56.0.2924.87","1.6.15":"56.0.2924.87","1.6.16":"56.0.2924.87","1.6.17":"56.0.2924.87","1.6.18":"56.0.2924.87","1.7.0":"58.0.3029.110","1.7.1":"58.0.3029.110","1.7.2":"58.0.3029.110","1.7.3":"58.0.3029.110","1.7.4":"58.0.3029.110","1.7.5":"58.0.3029.110","1.7.6":"58.0.3029.110","1.7.7":"58.0.3029.110","1.7.8":"58.0.3029.110","1.7.9":"58.0.3029.110","1.7.10":"58.0.3029.110","1.7.11":"58.0.3029.110","1.7.12":"58.0.3029.110","1.7.13":"58.0.3029.110","1.7.14":"58.0.3029.110","1.7.15":"58.0.3029.110","1.7.16":"58.0.3029.110","1.8.0":"59.0.3071.115","1.8.1":"59.0.3071.115","1.8.2-beta.1":"59.0.3071.115","1.8.2-beta.2":"59.0.3071.115","1.8.2-beta.3":"59.0.3071.115","1.8.2-beta.4":"59.0.3071.115","1.8.2-beta.5":"59.0.3071.115","1.8.2":"59.0.3071.115","1.8.3":"59.0.3071.115","1.8.4":"59.0.3071.115","1.8.5":"59.0.3071.115","1.8.6":"59.0.3071.115","1.8.7":"59.0.3071.115","1.8.8":"59.0.3071.115","2.0.0-beta.1":"61.0.3163.100","2.0.0-beta.2":"61.0.3163.100","2.0.0-beta.3":"61.0.3163.100","2.0.0-beta.4":"61.0.3163.100","2.0.0-beta.5":"61.0.3163.100","2.0.0-beta.6":"61.0.3163.100","2.0.0-beta.7":"61.0.3163.100","2.0.0-beta.8":"61.0.3163.100","2.0.0":"61.0.3163.100","2.0.1":"61.0.3163.100","2.0.2":"61.0.3163.100","2.0.3":"61.0.3163.100","2.0.4":"61.0.3163.100","2.0.5":"61.0.3163.100","2.0.6":"61.0.3163.100","2.0.7":"61.0.3163.100","2.0.8":"61.0.3163.100","2.0.9":"61.0.3163.100","2.0.10":"61.0.3163.100","2.0.11":"61.0.3163.100","2.0.12":"61.0.3163.100","2.0.13":"61.0.3163.100","2.0.14":"61.0.3163.100","2.0.15":"61.0.3163.100","2.0.16":"61.0.3163.100","2.0.17":"61.0.3163.100","2.0.18":"61.0.3163.100","2.1.0-unsupported.20180809":"61.0.3163.100","3.0.0-beta.1":"66.0.3359.181","3.0.0-beta.2":"66.0.3359.181","3.0.0-beta.3":"66.0.3359.181","3.0.0-beta.4":"66.0.3359.181","3.0.0-beta.5":"66.0.3359.181","3.0.0-beta.6":"66.0.3359.181","3.0.0-beta.7":"66.0.3359.181","3.0.0-beta.8":"66.0.3359.181","3.0.0-beta.9":"66.0.3359.181","3.0.0-beta.10":"66.0.3359.181","3.0.0-beta.11":"66.0.3359.181","3.0.0-beta.12":"66.0.3359.181","3.0.0-beta.13":"66.0.3359.181","3.0.0":"66.0.3359.181","3.0.1":"66.0.3359.181","3.0.2":"66.0.3359.181","3.0.3":"66.0.3359.181","3.0.4":"66.0.3359.181","3.0.5":"66.0.3359.181","3.0.6":"66.0.3359.181","3.0.7":"66.0.3359.181","3.0.8":"66.0.3359.181","3.0.9":"66.0.3359.181","3.0.10":"66.0.3359.181","3.0.11":"66.0.3359.181","3.0.12":"66.0.3359.181","3.0.13":"66.0.3359.181","3.0.14":"66.0.3359.181","3.0.15":"66.0.3359.181","3.0.16":"66.0.3359.181","3.1.0-beta.1":"66.0.3359.181","3.1.0-beta.2":"66.0.3359.181","3.1.0-beta.3":"66.0.3359.181","3.1.0-beta.4":"66.0.3359.181","3.1.0-beta.5":"66.0.3359.181","3.1.0":"66.0.3359.181","3.1.1":"66.0.3359.181","3.1.2":"66.0.3359.181","3.1.3":"66.0.3359.181","3.1.4":"66.0.3359.181","3.1.5":"66.0.3359.181","3.1.6":"66.0.3359.181","3.1.7":"66.0.3359.181","3.1.8":"66.0.3359.181","3.1.9":"66.0.3359.181","3.1.10":"66.0.3359.181","3.1.11":"66.0.3359.181","3.1.12":"66.0.3359.181","3.1.13":"66.0.3359.181","4.0.0-beta.1":"69.0.3497.106","4.0.0-beta.2":"69.0.3497.106","4.0.0-beta.3":"69.0.3497.106","4.0.0-beta.4":"69.0.3497.106","4.0.0-beta.5":"69.0.3497.106","4.0.0-beta.6":"69.0.3497.106","4.0.0-beta.7":"69.0.3497.106","4.0.0-beta.8":"69.0.3497.106","4.0.0-beta.9":"69.0.3497.106","4.0.0-beta.10":"69.0.3497.106","4.0.0-beta.11":"69.0.3497.106","4.0.0":"69.0.3497.106","4.0.1":"69.0.3497.106","4.0.2":"69.0.3497.106","4.0.3":"69.0.3497.106","4.0.4":"69.0.3497.106","4.0.5":"69.0.3497.106","4.0.6":"69.0.3497.106","4.0.7":"69.0.3497.128","4.0.8":"69.0.3497.128","4.1.0":"69.0.3497.128","4.1.1":"69.0.3497.128","4.1.2":"69.0.3497.128","4.1.3":"69.0.3497.128","4.1.4":"69.0.3497.128","4.1.5":"69.0.3497.128","4.2.0":"69.0.3497.128","4.2.1":"69.0.3497.128","4.2.2":"69.0.3497.128","4.2.3":"69.0.3497.128","4.2.4":"69.0.3497.128","4.2.5":"69.0.3497.128","4.2.6":"69.0.3497.128","4.2.7":"69.0.3497.128","4.2.8":"69.0.3497.128","4.2.9":"69.0.3497.128","4.2.10":"69.0.3497.128","4.2.11":"69.0.3497.128","4.2.12":"69.0.3497.128","5.0.0-beta.1":"72.0.3626.52","5.0.0-beta.2":"72.0.3626.52","5.0.0-beta.3":"73.0.3683.27","5.0.0-beta.4":"73.0.3683.54","5.0.0-beta.5":"73.0.3683.61","5.0.0-beta.6":"73.0.3683.84","5.0.0-beta.7":"73.0.3683.94","5.0.0-beta.8":"73.0.3683.104","5.0.0-beta.9":"73.0.3683.117","5.0.0":"73.0.3683.119","5.0.1":"73.0.3683.121","5.0.2":"73.0.3683.121","5.0.3":"73.0.3683.121","5.0.4":"73.0.3683.121","5.0.5":"73.0.3683.121","5.0.6":"73.0.3683.121","5.0.7":"73.0.3683.121","5.0.8":"73.0.3683.121","5.0.9":"73.0.3683.121","5.0.10":"73.0.3683.121","5.0.11":"73.0.3683.121","5.0.12":"73.0.3683.121","5.0.13":"73.0.3683.121","6.0.0-beta.1":"76.0.3774.1","6.0.0-beta.2":"76.0.3783.1","6.0.0-beta.3":"76.0.3783.1","6.0.0-beta.4":"76.0.3783.1","6.0.0-beta.5":"76.0.3805.4","6.0.0-beta.6":"76.0.3809.3","6.0.0-beta.7":"76.0.3809.22","6.0.0-beta.8":"76.0.3809.26","6.0.0-beta.9":"76.0.3809.26","6.0.0-beta.10":"76.0.3809.37","6.0.0-beta.11":"76.0.3809.42","6.0.0-beta.12":"76.0.3809.54","6.0.0-beta.13":"76.0.3809.60","6.0.0-beta.14":"76.0.3809.68","6.0.0-beta.15":"76.0.3809.74","6.0.0":"76.0.3809.88","6.0.1":"76.0.3809.102","6.0.2":"76.0.3809.110","6.0.3":"76.0.3809.126","6.0.4":"76.0.3809.131","6.0.5":"76.0.3809.136","6.0.6":"76.0.3809.138","6.0.7":"76.0.3809.139","6.0.8":"76.0.3809.146","6.0.9":"76.0.3809.146","6.0.10":"76.0.3809.146","6.0.11":"76.0.3809.146","6.0.12":"76.0.3809.146","6.1.0":"76.0.3809.146","6.1.1":"76.0.3809.146","6.1.2":"76.0.3809.146","6.1.3":"76.0.3809.146","6.1.4":"76.0.3809.146","6.1.5":"76.0.3809.146","6.1.6":"76.0.3809.146","6.1.7":"76.0.3809.146","6.1.8":"76.0.3809.146","6.1.9":"76.0.3809.146","6.1.10":"76.0.3809.146","6.1.11":"76.0.3809.146","6.1.12":"76.0.3809.146","7.0.0-beta.1":"78.0.3866.0","7.0.0-beta.2":"78.0.3866.0","7.0.0-beta.3":"78.0.3866.0","7.0.0-beta.4":"78.0.3896.6","7.0.0-beta.5":"78.0.3905.1","7.0.0-beta.6":"78.0.3905.1","7.0.0-beta.7":"78.0.3905.1","7.0.0":"78.0.3905.1","7.0.1":"78.0.3904.92","7.1.0":"78.0.3904.94","7.1.1":"78.0.3904.99","7.1.2":"78.0.3904.113","7.1.3":"78.0.3904.126","7.1.4":"78.0.3904.130","7.1.5":"78.0.3904.130","7.1.6":"78.0.3904.130","7.1.7":"78.0.3904.130","7.1.8":"78.0.3904.130","7.1.9":"78.0.3904.130","7.1.10":"78.0.3904.130","7.1.11":"78.0.3904.130","7.1.12":"78.0.3904.130","7.1.13":"78.0.3904.130","7.1.14":"78.0.3904.130","7.2.0":"78.0.3904.130","7.2.1":"78.0.3904.130","7.2.2":"78.0.3904.130","7.2.3":"78.0.3904.130","7.2.4":"78.0.3904.130","7.3.0":"78.0.3904.130","7.3.1":"78.0.3904.130","7.3.2":"78.0.3904.130","7.3.3":"78.0.3904.130","8.0.0-beta.1":"79.0.3931.0","8.0.0-beta.2":"79.0.3931.0","8.0.0-beta.3":"80.0.3955.0","8.0.0-beta.4":"80.0.3955.0","8.0.0-beta.5":"80.0.3987.14","8.0.0-beta.6":"80.0.3987.51","8.0.0-beta.7":"80.0.3987.59","8.0.0-beta.8":"80.0.3987.75","8.0.0-beta.9":"80.0.3987.75","8.0.0":"80.0.3987.86","8.0.1":"80.0.3987.86","8.0.2":"80.0.3987.86","8.0.3":"80.0.3987.134","8.1.0":"80.0.3987.137","8.1.1":"80.0.3987.141","8.2.0":"80.0.3987.158","8.2.1":"80.0.3987.163","8.2.2":"80.0.3987.163","8.2.3":"80.0.3987.163","8.2.4":"80.0.3987.165","8.2.5":"80.0.3987.165","8.3.0":"80.0.3987.165","8.3.1":"80.0.3987.165","8.3.2":"80.0.3987.165","8.3.3":"80.0.3987.165","8.3.4":"80.0.3987.165","8.4.0":"80.0.3987.165","8.4.1":"80.0.3987.165","8.5.0":"80.0.3987.165","8.5.1":"80.0.3987.165","8.5.2":"80.0.3987.165","8.5.3":"80.0.3987.163","8.5.4":"80.0.3987.163","8.5.5":"80.0.3987.163","9.0.0-beta.1":"82.0.4048.0","9.0.0-beta.2":"82.0.4048.0","9.0.0-beta.3":"82.0.4048.0","9.0.0-beta.4":"82.0.4048.0","9.0.0-beta.5":"82.0.4048.0","9.0.0-beta.6":"82.0.4058.2","9.0.0-beta.7":"82.0.4058.2","9.0.0-beta.9":"82.0.4058.2","9.0.0-beta.10":"82.0.4085.10","9.0.0-beta.11":"82.0.4085.14","9.0.0-beta.12":"82.0.4085.14","9.0.0-beta.13":"82.0.4085.14","9.0.0-beta.14":"82.0.4085.27","9.0.0-beta.15":"83.0.4102.3","9.0.0-beta.16":"83.0.4102.3","9.0.0-beta.17":"83.0.4103.14","9.0.0-beta.18":"83.0.4103.16","9.0.0-beta.19":"83.0.4103.24","9.0.0-beta.20":"83.0.4103.26","9.0.0-beta.21":"83.0.4103.26","9.0.0-beta.22":"83.0.4103.34","9.0.0-beta.23":"83.0.4103.44","9.0.0-beta.24":"83.0.4103.45","9.0.0":"83.0.4103.64","9.0.1":"83.0.4103.94","9.0.2":"83.0.4103.94","9.0.3":"83.0.4103.100","9.0.4":"83.0.4103.104","9.0.5":"83.0.4103.119","9.1.0":"83.0.4103.122","9.1.1":"83.0.4103.122","9.1.2":"83.0.4103.122","9.2.0":"83.0.4103.122","9.2.1":"83.0.4103.122","9.3.0":"83.0.4103.122","9.3.1":"83.0.4103.122","9.3.2":"83.0.4103.122","9.3.3":"83.0.4103.122","9.3.4":"83.0.4103.122","9.3.5":"83.0.4103.122","9.4.0":"83.0.4103.122","9.4.1":"83.0.4103.122","9.4.2":"83.0.4103.122","9.4.3":"83.0.4103.122","9.4.4":"83.0.4103.122","10.0.0-beta.1":"84.0.4129.0","10.0.0-beta.2":"84.0.4129.0","10.0.0-beta.3":"85.0.4161.2","10.0.0-beta.4":"85.0.4161.2","10.0.0-beta.8":"85.0.4181.1","10.0.0-beta.9":"85.0.4181.1","10.0.0-beta.10":"85.0.4183.19","10.0.0-beta.11":"85.0.4183.20","10.0.0-beta.12":"85.0.4183.26","10.0.0-beta.13":"85.0.4183.39","10.0.0-beta.14":"85.0.4183.39","10.0.0-beta.15":"85.0.4183.39","10.0.0-beta.17":"85.0.4183.39","10.0.0-beta.19":"85.0.4183.39","10.0.0-beta.20":"85.0.4183.39","10.0.0-beta.21":"85.0.4183.39","10.0.0-beta.23":"85.0.4183.70","10.0.0-beta.24":"85.0.4183.78","10.0.0-beta.25":"85.0.4183.80","10.0.0":"85.0.4183.84","10.0.1":"85.0.4183.86","10.1.0":"85.0.4183.87","10.1.1":"85.0.4183.93","10.1.2":"85.0.4183.98","10.1.3":"85.0.4183.121","10.1.4":"85.0.4183.121","10.1.5":"85.0.4183.121","10.1.6":"85.0.4183.121","10.1.7":"85.0.4183.121","10.2.0":"85.0.4183.121","10.3.0":"85.0.4183.121","10.3.1":"85.0.4183.121","10.3.2":"85.0.4183.121","10.4.0":"85.0.4183.121","10.4.1":"85.0.4183.121","10.4.2":"85.0.4183.121","10.4.3":"85.0.4183.121","10.4.4":"85.0.4183.121","10.4.5":"85.0.4183.121","10.4.6":"85.0.4183.121","10.4.7":"85.0.4183.121","11.0.0-beta.1":"86.0.4234.0","11.0.0-beta.3":"86.0.4234.0","11.0.0-beta.4":"86.0.4234.0","11.0.0-beta.5":"86.0.4234.0","11.0.0-beta.6":"86.0.4234.0","11.0.0-beta.7":"86.0.4234.0","11.0.0-beta.8":"87.0.4251.1","11.0.0-beta.9":"87.0.4251.1","11.0.0-beta.11":"87.0.4251.1","11.0.0-beta.12":"87.0.4280.11","11.0.0-beta.13":"87.0.4280.11","11.0.0-beta.16":"87.0.4280.27","11.0.0-beta.17":"87.0.4280.27","11.0.0-beta.18":"87.0.4280.27","11.0.0-beta.19":"87.0.4280.27","11.0.0-beta.20":"87.0.4280.40","11.0.0-beta.22":"87.0.4280.47","11.0.0-beta.23":"87.0.4280.47","11.0.0":"87.0.4280.60","11.0.1":"87.0.4280.60","11.0.2":"87.0.4280.67","11.0.3":"87.0.4280.67","11.0.4":"87.0.4280.67","11.0.5":"87.0.4280.88","11.1.0":"87.0.4280.88","11.1.1":"87.0.4280.88","11.2.0":"87.0.4280.141","11.2.1":"87.0.4280.141","11.2.2":"87.0.4280.141","11.2.3":"87.0.4280.141","11.3.0":"87.0.4280.141","11.4.0":"87.0.4280.141","11.4.1":"87.0.4280.141","11.4.2":"87.0.4280.141","11.4.3":"87.0.4280.141","11.4.4":"87.0.4280.141","11.4.5":"87.0.4280.141","11.4.6":"87.0.4280.141","11.4.7":"87.0.4280.141","11.4.8":"87.0.4280.141","11.4.9":"87.0.4280.141","11.4.10":"87.0.4280.141","11.4.11":"87.0.4280.141","11.4.12":"87.0.4280.141","11.5.0":"87.0.4280.141","12.0.0-beta.1":"89.0.4328.0","12.0.0-beta.3":"89.0.4328.0","12.0.0-beta.4":"89.0.4328.0","12.0.0-beta.5":"89.0.4328.0","12.0.0-beta.6":"89.0.4328.0","12.0.0-beta.7":"89.0.4328.0","12.0.0-beta.8":"89.0.4328.0","12.0.0-beta.9":"89.0.4328.0","12.0.0-beta.10":"89.0.4328.0","12.0.0-beta.11":"89.0.4328.0","12.0.0-beta.12":"89.0.4328.0","12.0.0-beta.14":"89.0.4328.0","12.0.0-beta.16":"89.0.4348.1","12.0.0-beta.18":"89.0.4348.1","12.0.0-beta.19":"89.0.4348.1","12.0.0-beta.20":"89.0.4348.1","12.0.0-beta.21":"89.0.4388.2","12.0.0-beta.22":"89.0.4388.2","12.0.0-beta.23":"89.0.4388.2","12.0.0-beta.24":"89.0.4388.2","12.0.0-beta.25":"89.0.4388.2","12.0.0-beta.26":"89.0.4388.2","12.0.0-beta.27":"89.0.4389.23","12.0.0-beta.28":"89.0.4389.23","12.0.0-beta.29":"89.0.4389.23","12.0.0-beta.30":"89.0.4389.58","12.0.0-beta.31":"89.0.4389.58","12.0.0":"89.0.4389.69","12.0.1":"89.0.4389.82","12.0.2":"89.0.4389.90","12.0.3":"89.0.4389.114","12.0.4":"89.0.4389.114","12.0.5":"89.0.4389.128","12.0.6":"89.0.4389.128","12.0.7":"89.0.4389.128","12.0.8":"89.0.4389.128","12.0.9":"89.0.4389.128","12.0.10":"89.0.4389.128","12.0.11":"89.0.4389.128","12.0.12":"89.0.4389.128","12.0.13":"89.0.4389.128","12.0.14":"89.0.4389.128","12.0.15":"89.0.4389.128","12.0.16":"89.0.4389.128","12.0.17":"89.0.4389.128","12.0.18":"89.0.4389.128","12.1.0":"89.0.4389.128","12.1.1":"89.0.4389.128","12.1.2":"89.0.4389.128","12.2.0":"89.0.4389.128","12.2.1":"89.0.4389.128","12.2.2":"89.0.4389.128","12.2.3":"89.0.4389.128","13.0.0-beta.2":"90.0.4402.0","13.0.0-beta.3":"90.0.4402.0","13.0.0-beta.4":"90.0.4415.0","13.0.0-beta.5":"90.0.4415.0","13.0.0-beta.6":"90.0.4415.0","13.0.0-beta.7":"90.0.4415.0","13.0.0-beta.8":"90.0.4415.0","13.0.0-beta.9":"90.0.4415.0","13.0.0-beta.10":"90.0.4415.0","13.0.0-beta.11":"90.0.4415.0","13.0.0-beta.12":"90.0.4415.0","13.0.0-beta.13":"90.0.4415.0","13.0.0-beta.14":"91.0.4448.0","13.0.0-beta.16":"91.0.4448.0","13.0.0-beta.17":"91.0.4448.0","13.0.0-beta.18":"91.0.4448.0","13.0.0-beta.20":"91.0.4448.0","13.0.0-beta.21":"91.0.4472.33","13.0.0-beta.22":"91.0.4472.33","13.0.0-beta.23":"91.0.4472.33","13.0.0-beta.24":"91.0.4472.38","13.0.0-beta.25":"91.0.4472.38","13.0.0-beta.26":"91.0.4472.38","13.0.0-beta.27":"91.0.4472.38","13.0.0-beta.28":"91.0.4472.38","13.0.0":"91.0.4472.69","13.0.1":"91.0.4472.69","13.1.0":"91.0.4472.77","13.1.1":"91.0.4472.77","13.1.2":"91.0.4472.77","13.1.3":"91.0.4472.106","13.1.4":"91.0.4472.106","13.1.5":"91.0.4472.124","13.1.6":"91.0.4472.124","13.1.7":"91.0.4472.124","13.1.8":"91.0.4472.164","13.1.9":"91.0.4472.164","13.2.0":"91.0.4472.164","13.2.1":"91.0.4472.164","13.2.2":"91.0.4472.164","13.2.3":"91.0.4472.164","13.3.0":"91.0.4472.164","13.4.0":"91.0.4472.164","13.5.0":"91.0.4472.164","13.5.1":"91.0.4472.164","13.5.2":"91.0.4472.164","13.6.0":"91.0.4472.164","13.6.1":"91.0.4472.164","13.6.2":"91.0.4472.164","13.6.3":"91.0.4472.164","13.6.6":"91.0.4472.164","13.6.7":"91.0.4472.164","13.6.8":"91.0.4472.164","13.6.9":"91.0.4472.164","14.0.0-beta.1":"92.0.4511.0","14.0.0-beta.2":"92.0.4511.0","14.0.0-beta.3":"92.0.4511.0","14.0.0-beta.5":"93.0.4536.0","14.0.0-beta.6":"93.0.4536.0","14.0.0-beta.7":"93.0.4536.0","14.0.0-beta.8":"93.0.4536.0","14.0.0-beta.9":"93.0.4539.0","14.0.0-beta.10":"93.0.4539.0","14.0.0-beta.11":"93.0.4557.4","14.0.0-beta.12":"93.0.4557.4","14.0.0-beta.13":"93.0.4566.0","14.0.0-beta.14":"93.0.4566.0","14.0.0-beta.15":"93.0.4566.0","14.0.0-beta.16":"93.0.4566.0","14.0.0-beta.17":"93.0.4566.0","14.0.0-beta.18":"93.0.4577.15","14.0.0-beta.19":"93.0.4577.15","14.0.0-beta.20":"93.0.4577.15","14.0.0-beta.21":"93.0.4577.15","14.0.0-beta.22":"93.0.4577.25","14.0.0-beta.23":"93.0.4577.25","14.0.0-beta.24":"93.0.4577.51","14.0.0-beta.25":"93.0.4577.51","14.0.0":"93.0.4577.58","14.0.1":"93.0.4577.63","14.0.2":"93.0.4577.82","14.1.0":"93.0.4577.82","14.1.1":"93.0.4577.82","14.2.0":"93.0.4577.82","14.2.1":"93.0.4577.82","14.2.2":"93.0.4577.82","14.2.3":"93.0.4577.82","14.2.4":"93.0.4577.82","14.2.5":"93.0.4577.82","14.2.6":"93.0.4577.82","14.2.7":"93.0.4577.82","14.2.8":"93.0.4577.82","14.2.9":"93.0.4577.82","15.0.0-alpha.1":"93.0.4566.0","15.0.0-alpha.2":"93.0.4566.0","15.0.0-alpha.3":"94.0.4584.0","15.0.0-alpha.4":"94.0.4584.0","15.0.0-alpha.5":"94.0.4584.0","15.0.0-alpha.6":"94.0.4584.0","15.0.0-alpha.7":"94.0.4590.2","15.0.0-alpha.8":"94.0.4590.2","15.0.0-alpha.9":"94.0.4590.2","15.0.0-alpha.10":"94.0.4606.12","15.0.0-beta.1":"94.0.4606.20","15.0.0-beta.2":"94.0.4606.20","15.0.0-beta.3":"94.0.4606.31","15.0.0-beta.4":"94.0.4606.31","15.0.0-beta.5":"94.0.4606.31","15.0.0-beta.6":"94.0.4606.31","15.0.0-beta.7":"94.0.4606.31","15.0.0":"94.0.4606.51","15.1.0":"94.0.4606.61","15.1.1":"94.0.4606.61","15.1.2":"94.0.4606.71","15.2.0":"94.0.4606.81","15.3.0":"94.0.4606.81","15.3.1":"94.0.4606.81","15.3.2":"94.0.4606.81","15.3.3":"94.0.4606.81","15.3.4":"94.0.4606.81","15.3.5":"94.0.4606.81","15.3.6":"94.0.4606.81","15.3.7":"94.0.4606.81","15.4.0":"94.0.4606.81","15.4.1":"94.0.4606.81","15.4.2":"94.0.4606.81","15.5.0":"94.0.4606.81","15.5.1":"94.0.4606.81","15.5.2":"94.0.4606.81","15.5.3":"94.0.4606.81","15.5.4":"94.0.4606.81","15.5.5":"94.0.4606.81","15.5.6":"94.0.4606.81","15.5.7":"94.0.4606.81","16.0.0-alpha.1":"95.0.4629.0","16.0.0-alpha.2":"95.0.4629.0","16.0.0-alpha.3":"95.0.4629.0","16.0.0-alpha.4":"95.0.4629.0","16.0.0-alpha.5":"95.0.4629.0","16.0.0-alpha.6":"95.0.4629.0","16.0.0-alpha.7":"95.0.4629.0","16.0.0-alpha.8":"96.0.4647.0","16.0.0-alpha.9":"96.0.4647.0","16.0.0-beta.1":"96.0.4647.0","16.0.0-beta.2":"96.0.4647.0","16.0.0-beta.3":"96.0.4647.0","16.0.0-beta.4":"96.0.4664.18","16.0.0-beta.5":"96.0.4664.18","16.0.0-beta.6":"96.0.4664.27","16.0.0-beta.7":"96.0.4664.27","16.0.0-beta.8":"96.0.4664.35","16.0.0-beta.9":"96.0.4664.35","16.0.0":"96.0.4664.45","16.0.1":"96.0.4664.45","16.0.2":"96.0.4664.55","16.0.3":"96.0.4664.55","16.0.4":"96.0.4664.55","16.0.5":"96.0.4664.55","16.0.6":"96.0.4664.110","16.0.7":"96.0.4664.110","16.0.8":"96.0.4664.110","16.0.9":"96.0.4664.174","16.0.10":"96.0.4664.174","16.1.0":"96.0.4664.174","16.1.1":"96.0.4664.174","16.2.0":"96.0.4664.174","16.2.1":"96.0.4664.174","16.2.2":"96.0.4664.174","16.2.3":"96.0.4664.174","16.2.4":"96.0.4664.174","16.2.5":"96.0.4664.174","16.2.6":"96.0.4664.174","16.2.7":"96.0.4664.174","16.2.8":"96.0.4664.174","17.0.0-alpha.1":"96.0.4664.4","17.0.0-alpha.2":"96.0.4664.4","17.0.0-alpha.3":"96.0.4664.4","17.0.0-alpha.4":"98.0.4706.0","17.0.0-alpha.5":"98.0.4706.0","17.0.0-alpha.6":"98.0.4706.0","17.0.0-beta.1":"98.0.4706.0","17.0.0-beta.2":"98.0.4706.0","17.0.0-beta.3":"98.0.4758.9","17.0.0-beta.4":"98.0.4758.11","17.0.0-beta.5":"98.0.4758.11","17.0.0-beta.6":"98.0.4758.11","17.0.0-beta.7":"98.0.4758.11","17.0.0-beta.8":"98.0.4758.11","17.0.0-beta.9":"98.0.4758.11","17.0.0":"98.0.4758.74","17.0.1":"98.0.4758.82","17.1.0":"98.0.4758.102","17.1.1":"98.0.4758.109","17.1.2":"98.0.4758.109","17.2.0":"98.0.4758.109","17.3.0":"98.0.4758.141","17.3.1":"98.0.4758.141","17.4.0":"98.0.4758.141","17.4.1":"98.0.4758.141","17.4.2":"98.0.4758.141","17.4.3":"98.0.4758.141","17.4.4":"98.0.4758.141","17.4.5":"98.0.4758.141","17.4.6":"98.0.4758.141","17.4.7":"98.0.4758.141","17.4.8":"98.0.4758.141","17.4.9":"98.0.4758.141","17.4.10":"98.0.4758.141","17.4.11":"98.0.4758.141","18.0.0-alpha.1":"99.0.4767.0","18.0.0-alpha.2":"99.0.4767.0","18.0.0-alpha.3":"99.0.4767.0","18.0.0-alpha.4":"99.0.4767.0","18.0.0-alpha.5":"99.0.4767.0","18.0.0-beta.1":"100.0.4894.0","18.0.0-beta.2":"100.0.4894.0","18.0.0-beta.3":"100.0.4894.0","18.0.0-beta.4":"100.0.4894.0","18.0.0-beta.5":"100.0.4894.0","18.0.0-beta.6":"100.0.4894.0","18.0.0":"100.0.4896.56","18.0.1":"100.0.4896.60","18.0.2":"100.0.4896.60","18.0.3":"100.0.4896.75","18.0.4":"100.0.4896.75","18.1.0":"100.0.4896.127","18.2.0":"100.0.4896.143","18.2.1":"100.0.4896.143","18.2.2":"100.0.4896.143","18.2.3":"100.0.4896.143","18.2.4":"100.0.4896.160","18.3.0":"100.0.4896.160","18.3.1":"100.0.4896.160","18.3.2":"100.0.4896.160","18.3.3":"100.0.4896.160","18.3.4":"100.0.4896.160","18.3.5":"100.0.4896.160","18.3.6":"100.0.4896.160","18.3.7":"100.0.4896.160","18.3.8":"100.0.4896.160","18.3.9":"100.0.4896.160","18.3.11":"100.0.4896.160","18.3.12":"100.0.4896.160","18.3.13":"100.0.4896.160","18.3.14":"100.0.4896.160","18.3.15":"100.0.4896.160","19.0.0-alpha.1":"102.0.4962.3","19.0.0-alpha.2":"102.0.4971.0","19.0.0-alpha.3":"102.0.4971.0","19.0.0-alpha.4":"102.0.4989.0","19.0.0-alpha.5":"102.0.4989.0","19.0.0-beta.1":"102.0.4999.0","19.0.0-beta.2":"102.0.4999.0","19.0.0-beta.3":"102.0.4999.0","19.0.0-beta.4":"102.0.5005.27","19.0.0-beta.5":"102.0.5005.40","19.0.0-beta.6":"102.0.5005.40","19.0.0-beta.7":"102.0.5005.40","19.0.0-beta.8":"102.0.5005.49","19.0.0":"102.0.5005.61","19.0.1":"102.0.5005.61","19.0.2":"102.0.5005.63","19.0.3":"102.0.5005.63","19.0.4":"102.0.5005.63","19.0.5":"102.0.5005.115","19.0.6":"102.0.5005.115","19.0.7":"102.0.5005.134","19.0.8":"102.0.5005.148","19.0.9":"102.0.5005.167","19.0.10":"102.0.5005.167","19.0.11":"102.0.5005.167","19.0.12":"102.0.5005.167","19.0.13":"102.0.5005.167","19.0.14":"102.0.5005.167","19.0.15":"102.0.5005.167","19.0.16":"102.0.5005.167","19.0.17":"102.0.5005.167","19.1.0":"102.0.5005.167","19.1.1":"102.0.5005.167","19.1.2":"102.0.5005.167","19.1.3":"102.0.5005.167","19.1.4":"102.0.5005.167","19.1.5":"102.0.5005.167","19.1.6":"102.0.5005.167","19.1.7":"102.0.5005.167","19.1.8":"102.0.5005.167","19.1.9":"102.0.5005.167","20.0.0-alpha.1":"103.0.5044.0","20.0.0-alpha.2":"104.0.5073.0","20.0.0-alpha.3":"104.0.5073.0","20.0.0-alpha.4":"104.0.5073.0","20.0.0-alpha.5":"104.0.5073.0","20.0.0-alpha.6":"104.0.5073.0","20.0.0-alpha.7":"104.0.5073.0","20.0.0-beta.1":"104.0.5073.0","20.0.0-beta.2":"104.0.5073.0","20.0.0-beta.3":"104.0.5073.0","20.0.0-beta.4":"104.0.5073.0","20.0.0-beta.5":"104.0.5073.0","20.0.0-beta.6":"104.0.5073.0","20.0.0-beta.7":"104.0.5073.0","20.0.0-beta.8":"104.0.5073.0","20.0.0-beta.9":"104.0.5112.39","20.0.0-beta.10":"104.0.5112.48","20.0.0-beta.11":"104.0.5112.48","20.0.0-beta.12":"104.0.5112.48","20.0.0-beta.13":"104.0.5112.57","20.0.0":"104.0.5112.65","20.0.1":"104.0.5112.81","20.0.2":"104.0.5112.81","20.0.3":"104.0.5112.81","20.1.0":"104.0.5112.102","20.1.1":"104.0.5112.102","20.1.2":"104.0.5112.114","20.1.3":"104.0.5112.114","20.1.4":"104.0.5112.114","20.2.0":"104.0.5112.124","20.3.0":"104.0.5112.124","20.3.1":"104.0.5112.124","20.3.2":"104.0.5112.124","20.3.3":"104.0.5112.124","20.3.4":"104.0.5112.124","20.3.5":"104.0.5112.124","20.3.6":"104.0.5112.124","20.3.7":"104.0.5112.124","20.3.8":"104.0.5112.124","20.3.9":"104.0.5112.124","20.3.10":"104.0.5112.124","20.3.11":"104.0.5112.124","20.3.12":"104.0.5112.124","21.0.0-alpha.1":"105.0.5187.0","21.0.0-alpha.2":"105.0.5187.0","21.0.0-alpha.3":"105.0.5187.0","21.0.0-alpha.4":"105.0.5187.0","21.0.0-alpha.5":"105.0.5187.0","21.0.0-alpha.6":"106.0.5216.0","21.0.0-beta.1":"106.0.5216.0","21.0.0-beta.2":"106.0.5216.0","21.0.0-beta.3":"106.0.5216.0","21.0.0-beta.4":"106.0.5216.0","21.0.0-beta.5":"106.0.5216.0","21.0.0-beta.6":"106.0.5249.40","21.0.0-beta.7":"106.0.5249.40","21.0.0-beta.8":"106.0.5249.40","21.0.0":"106.0.5249.51","21.0.1":"106.0.5249.61","21.1.0":"106.0.5249.91","21.1.1":"106.0.5249.103","21.2.0":"106.0.5249.119","21.2.1":"106.0.5249.165","21.2.2":"106.0.5249.168","21.2.3":"106.0.5249.168","21.3.0":"106.0.5249.181","21.3.1":"106.0.5249.181","21.3.3":"106.0.5249.199","21.3.4":"106.0.5249.199","21.3.5":"106.0.5249.199","21.4.0":"106.0.5249.199","21.4.1":"106.0.5249.199","21.4.2":"106.0.5249.199","21.4.3":"106.0.5249.199","21.4.4":"106.0.5249.199","22.0.0-alpha.1":"107.0.5286.0","22.0.0-alpha.3":"108.0.5329.0","22.0.0-alpha.4":"108.0.5329.0","22.0.0-alpha.5":"108.0.5329.0","22.0.0-alpha.6":"108.0.5329.0","22.0.0-alpha.7":"108.0.5355.0","22.0.0-alpha.8":"108.0.5359.10","22.0.0-beta.1":"108.0.5359.10","22.0.0-beta.2":"108.0.5359.10","22.0.0-beta.3":"108.0.5359.10","22.0.0-beta.4":"108.0.5359.29","22.0.0-beta.5":"108.0.5359.40","22.0.0-beta.6":"108.0.5359.40","22.0.0-beta.7":"108.0.5359.48","22.0.0-beta.8":"108.0.5359.48","22.0.0":"108.0.5359.62","22.0.1":"108.0.5359.125","22.0.2":"108.0.5359.179","22.0.3":"108.0.5359.179","22.1.0":"108.0.5359.179","22.2.0":"108.0.5359.215","22.2.1":"108.0.5359.215","22.3.0":"108.0.5359.215","22.3.1":"108.0.5359.215","22.3.2":"108.0.5359.215","22.3.3":"108.0.5359.215","22.3.4":"108.0.5359.215","22.3.5":"108.0.5359.215","22.3.6":"108.0.5359.215","22.3.7":"108.0.5359.215","22.3.8":"108.0.5359.215","22.3.9":"108.0.5359.215","22.3.10":"108.0.5359.215","22.3.11":"108.0.5359.215","22.3.12":"108.0.5359.215","22.3.13":"108.0.5359.215","22.3.14":"108.0.5359.215","22.3.15":"108.0.5359.215","22.3.16":"108.0.5359.215","22.3.17":"108.0.5359.215","22.3.18":"108.0.5359.215","22.3.20":"108.0.5359.215","22.3.21":"108.0.5359.215","22.3.22":"108.0.5359.215","22.3.23":"108.0.5359.215","22.3.24":"108.0.5359.215","22.3.25":"108.0.5359.215","22.3.26":"108.0.5359.215","22.3.27":"108.0.5359.215","23.0.0-alpha.1":"110.0.5415.0","23.0.0-alpha.2":"110.0.5451.0","23.0.0-alpha.3":"110.0.5451.0","23.0.0-beta.1":"110.0.5478.5","23.0.0-beta.2":"110.0.5478.5","23.0.0-beta.3":"110.0.5478.5","23.0.0-beta.4":"110.0.5481.30","23.0.0-beta.5":"110.0.5481.38","23.0.0-beta.6":"110.0.5481.52","23.0.0-beta.8":"110.0.5481.52","23.0.0":"110.0.5481.77","23.1.0":"110.0.5481.100","23.1.1":"110.0.5481.104","23.1.2":"110.0.5481.177","23.1.3":"110.0.5481.179","23.1.4":"110.0.5481.192","23.2.0":"110.0.5481.192","23.2.1":"110.0.5481.208","23.2.2":"110.0.5481.208","23.2.3":"110.0.5481.208","23.2.4":"110.0.5481.208","23.3.0":"110.0.5481.208","23.3.1":"110.0.5481.208","23.3.2":"110.0.5481.208","23.3.3":"110.0.5481.208","23.3.4":"110.0.5481.208","23.3.5":"110.0.5481.208","23.3.6":"110.0.5481.208","23.3.7":"110.0.5481.208","23.3.8":"110.0.5481.208","23.3.9":"110.0.5481.208","23.3.10":"110.0.5481.208","23.3.11":"110.0.5481.208","23.3.12":"110.0.5481.208","23.3.13":"110.0.5481.208","24.0.0-alpha.1":"111.0.5560.0","24.0.0-alpha.2":"111.0.5560.0","24.0.0-alpha.3":"111.0.5560.0","24.0.0-alpha.4":"111.0.5560.0","24.0.0-alpha.5":"111.0.5560.0","24.0.0-alpha.6":"111.0.5560.0","24.0.0-alpha.7":"111.0.5560.0","24.0.0-beta.1":"111.0.5563.50","24.0.0-beta.2":"111.0.5563.50","24.0.0-beta.3":"112.0.5615.20","24.0.0-beta.4":"112.0.5615.20","24.0.0-beta.5":"112.0.5615.29","24.0.0-beta.6":"112.0.5615.39","24.0.0-beta.7":"112.0.5615.39","24.0.0":"112.0.5615.49","24.1.0":"112.0.5615.50","24.1.1":"112.0.5615.50","24.1.2":"112.0.5615.87","24.1.3":"112.0.5615.165","24.2.0":"112.0.5615.165","24.3.0":"112.0.5615.165","24.3.1":"112.0.5615.183","24.4.0":"112.0.5615.204","24.4.1":"112.0.5615.204","24.5.0":"112.0.5615.204","24.5.1":"112.0.5615.204","24.6.0":"112.0.5615.204","24.6.1":"112.0.5615.204","24.6.2":"112.0.5615.204","24.6.3":"112.0.5615.204","24.6.4":"112.0.5615.204","24.6.5":"112.0.5615.204","24.7.0":"112.0.5615.204","24.7.1":"112.0.5615.204","24.8.0":"112.0.5615.204","24.8.1":"112.0.5615.204","24.8.2":"112.0.5615.204","24.8.3":"112.0.5615.204","24.8.4":"112.0.5615.204","24.8.5":"112.0.5615.204","24.8.6":"112.0.5615.204","24.8.7":"112.0.5615.204","24.8.8":"112.0.5615.204","25.0.0-alpha.1":"114.0.5694.0","25.0.0-alpha.2":"114.0.5694.0","25.0.0-alpha.3":"114.0.5710.0","25.0.0-alpha.4":"114.0.5710.0","25.0.0-alpha.5":"114.0.5719.0","25.0.0-alpha.6":"114.0.5719.0","25.0.0-beta.1":"114.0.5719.0","25.0.0-beta.2":"114.0.5719.0","25.0.0-beta.3":"114.0.5719.0","25.0.0-beta.4":"114.0.5735.16","25.0.0-beta.5":"114.0.5735.16","25.0.0-beta.6":"114.0.5735.16","25.0.0-beta.7":"114.0.5735.16","25.0.0-beta.8":"114.0.5735.35","25.0.0-beta.9":"114.0.5735.45","25.0.0":"114.0.5735.45","25.0.1":"114.0.5735.45","25.1.0":"114.0.5735.106","25.1.1":"114.0.5735.106","25.2.0":"114.0.5735.134","25.3.0":"114.0.5735.199","25.3.1":"114.0.5735.243","25.3.2":"114.0.5735.248","25.4.0":"114.0.5735.248","25.5.0":"114.0.5735.289","25.6.0":"114.0.5735.289","25.7.0":"114.0.5735.289","25.8.0":"114.0.5735.289","25.8.1":"114.0.5735.289","25.8.2":"114.0.5735.289","25.8.3":"114.0.5735.289","25.8.4":"114.0.5735.289","25.9.0":"114.0.5735.289","25.9.1":"114.0.5735.289","25.9.2":"114.0.5735.289","25.9.3":"114.0.5735.289","25.9.4":"114.0.5735.289","25.9.5":"114.0.5735.289","25.9.6":"114.0.5735.289","25.9.7":"114.0.5735.289","25.9.8":"114.0.5735.289","26.0.0-alpha.1":"116.0.5791.0","26.0.0-alpha.2":"116.0.5791.0","26.0.0-alpha.3":"116.0.5791.0","26.0.0-alpha.4":"116.0.5791.0","26.0.0-alpha.5":"116.0.5791.0","26.0.0-alpha.6":"116.0.5815.0","26.0.0-alpha.7":"116.0.5831.0","26.0.0-alpha.8":"116.0.5845.0","26.0.0-beta.1":"116.0.5845.0","26.0.0-beta.2":"116.0.5845.14","26.0.0-beta.3":"116.0.5845.14","26.0.0-beta.4":"116.0.5845.14","26.0.0-beta.5":"116.0.5845.14","26.0.0-beta.6":"116.0.5845.14","26.0.0-beta.7":"116.0.5845.14","26.0.0-beta.8":"116.0.5845.42","26.0.0-beta.9":"116.0.5845.42","26.0.0-beta.10":"116.0.5845.49","26.0.0-beta.11":"116.0.5845.49","26.0.0-beta.12":"116.0.5845.62","26.0.0":"116.0.5845.82","26.1.0":"116.0.5845.97","26.2.0":"116.0.5845.179","26.2.1":"116.0.5845.188","26.2.2":"116.0.5845.190","26.2.3":"116.0.5845.190","26.2.4":"116.0.5845.190","26.3.0":"116.0.5845.228","26.4.0":"116.0.5845.228","26.4.1":"116.0.5845.228","26.4.2":"116.0.5845.228","26.4.3":"116.0.5845.228","26.5.0":"116.0.5845.228","26.6.0":"116.0.5845.228","26.6.1":"116.0.5845.228","26.6.2":"116.0.5845.228","26.6.3":"116.0.5845.228","26.6.4":"116.0.5845.228","26.6.5":"116.0.5845.228","26.6.6":"116.0.5845.228","26.6.7":"116.0.5845.228","26.6.8":"116.0.5845.228","26.6.9":"116.0.5845.228","26.6.10":"116.0.5845.228","27.0.0-alpha.1":"118.0.5949.0","27.0.0-alpha.2":"118.0.5949.0","27.0.0-alpha.3":"118.0.5949.0","27.0.0-alpha.4":"118.0.5949.0","27.0.0-alpha.5":"118.0.5949.0","27.0.0-alpha.6":"118.0.5949.0","27.0.0-beta.1":"118.0.5993.5","27.0.0-beta.2":"118.0.5993.5","27.0.0-beta.3":"118.0.5993.5","27.0.0-beta.4":"118.0.5993.11","27.0.0-beta.5":"118.0.5993.18","27.0.0-beta.6":"118.0.5993.18","27.0.0-beta.7":"118.0.5993.18","27.0.0-beta.8":"118.0.5993.18","27.0.0-beta.9":"118.0.5993.18","27.0.0":"118.0.5993.54","27.0.1":"118.0.5993.89","27.0.2":"118.0.5993.89","27.0.3":"118.0.5993.120","27.0.4":"118.0.5993.129","27.1.0":"118.0.5993.144","27.1.2":"118.0.5993.144","27.1.3":"118.0.5993.159","27.2.0":"118.0.5993.159","27.2.1":"118.0.5993.159","27.2.2":"118.0.5993.159","27.2.3":"118.0.5993.159","27.2.4":"118.0.5993.159","27.3.0":"118.0.5993.159","27.3.1":"118.0.5993.159","27.3.2":"118.0.5993.159","27.3.3":"118.0.5993.159","27.3.4":"118.0.5993.159","27.3.5":"118.0.5993.159","27.3.6":"118.0.5993.159","27.3.7":"118.0.5993.159","27.3.8":"118.0.5993.159","27.3.9":"118.0.5993.159","27.3.10":"118.0.5993.159","27.3.11":"118.0.5993.159","28.0.0-alpha.1":"119.0.6045.0","28.0.0-alpha.2":"119.0.6045.0","28.0.0-alpha.3":"119.0.6045.21","28.0.0-alpha.4":"119.0.6045.21","28.0.0-alpha.5":"119.0.6045.33","28.0.0-alpha.6":"119.0.6045.33","28.0.0-alpha.7":"119.0.6045.33","28.0.0-beta.1":"119.0.6045.33","28.0.0-beta.2":"120.0.6099.0","28.0.0-beta.3":"120.0.6099.5","28.0.0-beta.4":"120.0.6099.5","28.0.0-beta.5":"120.0.6099.18","28.0.0-beta.6":"120.0.6099.18","28.0.0-beta.7":"120.0.6099.18","28.0.0-beta.8":"120.0.6099.18","28.0.0-beta.9":"120.0.6099.18","28.0.0-beta.10":"120.0.6099.18","28.0.0-beta.11":"120.0.6099.35","28.0.0":"120.0.6099.56","28.1.0":"120.0.6099.109","28.1.1":"120.0.6099.109","28.1.2":"120.0.6099.199","28.1.3":"120.0.6099.199","28.1.4":"120.0.6099.216","28.2.0":"120.0.6099.227","28.2.1":"120.0.6099.268","28.2.2":"120.0.6099.276","28.2.3":"120.0.6099.283","28.2.4":"120.0.6099.291","28.2.5":"120.0.6099.291","28.2.6":"120.0.6099.291","28.2.7":"120.0.6099.291","28.2.8":"120.0.6099.291","28.2.9":"120.0.6099.291","28.2.10":"120.0.6099.291","28.3.0":"120.0.6099.291","28.3.1":"120.0.6099.291","28.3.2":"120.0.6099.291","28.3.3":"120.0.6099.291","29.0.0-alpha.1":"121.0.6147.0","29.0.0-alpha.2":"121.0.6147.0","29.0.0-alpha.3":"121.0.6147.0","29.0.0-alpha.4":"121.0.6159.0","29.0.0-alpha.5":"121.0.6159.0","29.0.0-alpha.6":"121.0.6159.0","29.0.0-alpha.7":"121.0.6159.0","29.0.0-alpha.8":"122.0.6194.0","29.0.0-alpha.9":"122.0.6236.2","29.0.0-alpha.10":"122.0.6236.2","29.0.0-alpha.11":"122.0.6236.2","29.0.0-beta.1":"122.0.6236.2","29.0.0-beta.2":"122.0.6236.2","29.0.0-beta.3":"122.0.6261.6","29.0.0-beta.4":"122.0.6261.6","29.0.0-beta.5":"122.0.6261.18","29.0.0-beta.6":"122.0.6261.18","29.0.0-beta.7":"122.0.6261.18","29.0.0-beta.8":"122.0.6261.18","29.0.0-beta.9":"122.0.6261.18","29.0.0-beta.10":"122.0.6261.18","29.0.0-beta.11":"122.0.6261.18","29.0.0-beta.12":"122.0.6261.29","29.0.0":"122.0.6261.39","29.0.1":"122.0.6261.57","29.1.0":"122.0.6261.70","29.1.1":"122.0.6261.111","29.1.2":"122.0.6261.112","29.1.3":"122.0.6261.112","29.1.4":"122.0.6261.129","29.1.5":"122.0.6261.130","29.1.6":"122.0.6261.139","29.2.0":"122.0.6261.156","29.3.0":"122.0.6261.156","29.3.1":"122.0.6261.156","29.3.2":"122.0.6261.156","29.3.3":"122.0.6261.156","29.4.0":"122.0.6261.156","29.4.1":"122.0.6261.156","29.4.2":"122.0.6261.156","29.4.3":"122.0.6261.156","29.4.4":"122.0.6261.156","29.4.5":"122.0.6261.156","29.4.6":"122.0.6261.156","30.0.0-alpha.1":"123.0.6296.0","30.0.0-alpha.2":"123.0.6312.5","30.0.0-alpha.3":"124.0.6323.0","30.0.0-alpha.4":"124.0.6323.0","30.0.0-alpha.5":"124.0.6331.0","30.0.0-alpha.6":"124.0.6331.0","30.0.0-alpha.7":"124.0.6353.0","30.0.0-beta.1":"124.0.6359.0","30.0.0-beta.2":"124.0.6359.0","30.0.0-beta.3":"124.0.6367.9","30.0.0-beta.4":"124.0.6367.9","30.0.0-beta.5":"124.0.6367.9","30.0.0-beta.6":"124.0.6367.18","30.0.0-beta.7":"124.0.6367.29","30.0.0-beta.8":"124.0.6367.29","30.0.0":"124.0.6367.49","30.0.1":"124.0.6367.60","30.0.2":"124.0.6367.91","30.0.3":"124.0.6367.119","30.0.4":"124.0.6367.201","30.0.5":"124.0.6367.207","30.0.6":"124.0.6367.207","30.0.7":"124.0.6367.221","30.0.8":"124.0.6367.230","30.0.9":"124.0.6367.233","30.1.0":"124.0.6367.243","30.1.1":"124.0.6367.243","30.1.2":"124.0.6367.243","30.2.0":"124.0.6367.243","30.3.0":"124.0.6367.243","30.3.1":"124.0.6367.243","30.4.0":"124.0.6367.243","30.5.0":"124.0.6367.243","30.5.1":"124.0.6367.243","31.0.0-alpha.1":"125.0.6412.0","31.0.0-alpha.2":"125.0.6412.0","31.0.0-alpha.3":"125.0.6412.0","31.0.0-alpha.4":"125.0.6412.0","31.0.0-alpha.5":"125.0.6412.0","31.0.0-beta.1":"126.0.6445.0","31.0.0-beta.2":"126.0.6445.0","31.0.0-beta.3":"126.0.6445.0","31.0.0-beta.4":"126.0.6445.0","31.0.0-beta.5":"126.0.6445.0","31.0.0-beta.6":"126.0.6445.0","31.0.0-beta.7":"126.0.6445.0","31.0.0-beta.8":"126.0.6445.0","31.0.0-beta.9":"126.0.6445.0","31.0.0-beta.10":"126.0.6478.36","31.0.0":"126.0.6478.36","31.0.1":"126.0.6478.36","31.0.2":"126.0.6478.61","31.1.0":"126.0.6478.114","31.2.0":"126.0.6478.127","31.2.1":"126.0.6478.127","31.3.0":"126.0.6478.183","31.3.1":"126.0.6478.185","31.4.0":"126.0.6478.234","31.5.0":"126.0.6478.234","31.6.0":"126.0.6478.234","31.7.0":"126.0.6478.234","31.7.1":"126.0.6478.234","31.7.2":"126.0.6478.234","31.7.3":"126.0.6478.234","31.7.4":"126.0.6478.234","31.7.5":"126.0.6478.234","32.0.0-alpha.1":"127.0.6521.0","32.0.0-alpha.2":"127.0.6521.0","32.0.0-alpha.3":"127.0.6521.0","32.0.0-alpha.4":"127.0.6521.0","32.0.0-alpha.5":"127.0.6521.0","32.0.0-alpha.6":"128.0.6571.0","32.0.0-alpha.7":"128.0.6571.0","32.0.0-alpha.8":"128.0.6573.0","32.0.0-alpha.9":"128.0.6573.0","32.0.0-alpha.10":"128.0.6573.0","32.0.0-beta.1":"128.0.6573.0","32.0.0-beta.2":"128.0.6611.0","32.0.0-beta.3":"128.0.6613.7","32.0.0-beta.4":"128.0.6613.18","32.0.0-beta.5":"128.0.6613.27","32.0.0-beta.6":"128.0.6613.27","32.0.0-beta.7":"128.0.6613.27","32.0.0":"128.0.6613.36","32.0.1":"128.0.6613.36","32.0.2":"128.0.6613.84","32.1.0":"128.0.6613.120","32.1.1":"128.0.6613.137","32.1.2":"128.0.6613.162","32.2.0":"128.0.6613.178","32.2.1":"128.0.6613.186","32.2.2":"128.0.6613.186","32.2.3":"128.0.6613.186","32.2.4":"128.0.6613.186","32.2.5":"128.0.6613.186","33.0.0-alpha.1":"129.0.6668.0","33.0.0-alpha.2":"130.0.6672.0","33.0.0-alpha.3":"130.0.6672.0","33.0.0-alpha.4":"130.0.6672.0","33.0.0-alpha.5":"130.0.6672.0","33.0.0-alpha.6":"130.0.6672.0","33.0.0-beta.1":"130.0.6672.0","33.0.0-beta.2":"130.0.6672.0","33.0.0-beta.3":"130.0.6672.0","33.0.0-beta.4":"130.0.6672.0","33.0.0-beta.5":"130.0.6723.19","33.0.0-beta.6":"130.0.6723.19","33.0.0-beta.7":"130.0.6723.19","33.0.0-beta.8":"130.0.6723.31","33.0.0-beta.9":"130.0.6723.31","33.0.0-beta.10":"130.0.6723.31","33.0.0-beta.11":"130.0.6723.44","33.0.0":"130.0.6723.44","33.0.1":"130.0.6723.59","33.0.2":"130.0.6723.59","33.1.0":"130.0.6723.91","33.2.0":"130.0.6723.118","34.0.0-alpha.1":"131.0.6776.0","34.0.0-alpha.2":"132.0.6779.0","34.0.0-alpha.3":"132.0.6789.1","34.0.0-alpha.4":"132.0.6789.1","34.0.0-alpha.5":"132.0.6789.1","34.0.0-alpha.6":"132.0.6789.1","34.0.0-alpha.7":"132.0.6789.1","34.0.0-alpha.8":"132.0.6820.0","34.0.0-alpha.9":"132.0.6824.0","34.0.0-beta.1":"132.0.6824.0","34.0.0-beta.2":"132.0.6824.0","34.0.0-beta.3":"132.0.6824.0","34.0.0-beta.4":"132.0.6834.6","34.0.0-beta.5":"132.0.6834.6"} \ No newline at end of file diff --git a/node_modules/electron-to-chromium/package.json b/node_modules/electron-to-chromium/package.json index 2b78fd96ac..3983ae7e0a 100644 --- a/node_modules/electron-to-chromium/package.json +++ b/node_modules/electron-to-chromium/package.json @@ -1,6 +1,6 @@ { "name": "electron-to-chromium", - "version": "1.4.284", + "version": "1.5.64", "description": "Provides a list of electron-to-chromium version mappings", "main": "index.js", "files": [ @@ -15,7 +15,7 @@ "LICENSE" ], "scripts": { - "build": "node build.js", + "build": "node build.mjs", "update": "node automated-update.js", "test": "nyc ava --verbose", "report": "nyc report --reporter=text-lcov > coverage.lcov && codecov" @@ -27,16 +27,18 @@ "keywords": [ "electron", "chrome", + "chromium", + "browserslist", "browserlist" ], "author": "Kilian Valkhof", "license": "ISC", "devDependencies": { - "ava": "^4.0.1", - "codecov": "^3.8.0", - "electron-releases": "^3.1171.0", + "ava": "^5.1.1", + "codecov": "^3.8.2", + "compare-versions": "^6.0.0-rc.1", + "node-fetch": "^3.3.0", "nyc": "^15.1.0", - "request": "^2.65.0", - "shelljs": "^0.8.4" + "shelljs": "^0.8.5" } } diff --git a/node_modules/electron-to-chromium/versions.js b/node_modules/electron-to-chromium/versions.js index 51e832c98e..2319bb093b 100644 --- a/node_modules/electron-to-chromium/versions.js +++ b/node_modules/electron-to-chromium/versions.js @@ -101,5 +101,75 @@ module.exports = { "20.3": "104", "21.0": "106", "21.1": "106", - "22.0": "108" + "21.2": "106", + "21.3": "106", + "21.4": "106", + "22.0": "108", + "22.1": "108", + "22.2": "108", + "22.3": "108", + "23.0": "110", + "23.1": "110", + "23.2": "110", + "23.3": "110", + "24.0": "112", + "24.1": "112", + "24.2": "112", + "24.3": "112", + "24.4": "112", + "24.5": "112", + "24.6": "112", + "24.7": "112", + "24.8": "112", + "25.0": "114", + "25.1": "114", + "25.2": "114", + "25.3": "114", + "25.4": "114", + "25.5": "114", + "25.6": "114", + "25.7": "114", + "25.8": "114", + "25.9": "114", + "26.0": "116", + "26.1": "116", + "26.2": "116", + "26.3": "116", + "26.4": "116", + "26.5": "116", + "26.6": "116", + "27.0": "118", + "27.1": "118", + "27.2": "118", + "27.3": "118", + "28.0": "120", + "28.1": "120", + "28.2": "120", + "28.3": "120", + "29.0": "122", + "29.1": "122", + "29.2": "122", + "29.3": "122", + "29.4": "122", + "30.0": "124", + "30.1": "124", + "30.2": "124", + "30.3": "124", + "30.4": "124", + "30.5": "124", + "31.0": "126", + "31.1": "126", + "31.2": "126", + "31.3": "126", + "31.4": "126", + "31.5": "126", + "31.6": "126", + "31.7": "126", + "32.0": "128", + "32.1": "128", + "32.2": "128", + "33.0": "130", + "33.1": "130", + "33.2": "130", + "34.0": "132" }; \ No newline at end of file diff --git a/node_modules/electron-to-chromium/versions.json b/node_modules/electron-to-chromium/versions.json index 8dc14d887f..44d188abe3 100644 --- a/node_modules/electron-to-chromium/versions.json +++ b/node_modules/electron-to-chromium/versions.json @@ -1 +1 @@ -{"0.20":"39","0.21":"41","0.22":"41","0.23":"41","0.24":"41","0.25":"42","0.26":"42","0.27":"43","0.28":"43","0.29":"43","0.30":"44","0.31":"45","0.32":"45","0.33":"45","0.34":"45","0.35":"45","0.36":"47","0.37":"49","1.0":"49","1.1":"50","1.2":"51","1.3":"52","1.4":"53","1.5":"54","1.6":"56","1.7":"58","1.8":"59","2.0":"61","2.1":"61","3.0":"66","3.1":"66","4.0":"69","4.1":"69","4.2":"69","5.0":"73","6.0":"76","6.1":"76","7.0":"78","7.1":"78","7.2":"78","7.3":"78","8.0":"80","8.1":"80","8.2":"80","8.3":"80","8.4":"80","8.5":"80","9.0":"83","9.1":"83","9.2":"83","9.3":"83","9.4":"83","10.0":"85","10.1":"85","10.2":"85","10.3":"85","10.4":"85","11.0":"87","11.1":"87","11.2":"87","11.3":"87","11.4":"87","11.5":"87","12.0":"89","12.1":"89","12.2":"89","13.0":"91","13.1":"91","13.2":"91","13.3":"91","13.4":"91","13.5":"91","13.6":"91","14.0":"93","14.1":"93","14.2":"93","15.0":"94","15.1":"94","15.2":"94","15.3":"94","15.4":"94","15.5":"94","16.0":"96","16.1":"96","16.2":"96","17.0":"98","17.1":"98","17.2":"98","17.3":"98","17.4":"98","18.0":"100","18.1":"100","18.2":"100","18.3":"100","19.0":"102","19.1":"102","20.0":"104","20.1":"104","20.2":"104","20.3":"104","21.0":"106","21.1":"106","22.0":"108"} \ No newline at end of file +{"0.20":"39","0.21":"41","0.22":"41","0.23":"41","0.24":"41","0.25":"42","0.26":"42","0.27":"43","0.28":"43","0.29":"43","0.30":"44","0.31":"45","0.32":"45","0.33":"45","0.34":"45","0.35":"45","0.36":"47","0.37":"49","1.0":"49","1.1":"50","1.2":"51","1.3":"52","1.4":"53","1.5":"54","1.6":"56","1.7":"58","1.8":"59","2.0":"61","2.1":"61","3.0":"66","3.1":"66","4.0":"69","4.1":"69","4.2":"69","5.0":"73","6.0":"76","6.1":"76","7.0":"78","7.1":"78","7.2":"78","7.3":"78","8.0":"80","8.1":"80","8.2":"80","8.3":"80","8.4":"80","8.5":"80","9.0":"83","9.1":"83","9.2":"83","9.3":"83","9.4":"83","10.0":"85","10.1":"85","10.2":"85","10.3":"85","10.4":"85","11.0":"87","11.1":"87","11.2":"87","11.3":"87","11.4":"87","11.5":"87","12.0":"89","12.1":"89","12.2":"89","13.0":"91","13.1":"91","13.2":"91","13.3":"91","13.4":"91","13.5":"91","13.6":"91","14.0":"93","14.1":"93","14.2":"93","15.0":"94","15.1":"94","15.2":"94","15.3":"94","15.4":"94","15.5":"94","16.0":"96","16.1":"96","16.2":"96","17.0":"98","17.1":"98","17.2":"98","17.3":"98","17.4":"98","18.0":"100","18.1":"100","18.2":"100","18.3":"100","19.0":"102","19.1":"102","20.0":"104","20.1":"104","20.2":"104","20.3":"104","21.0":"106","21.1":"106","21.2":"106","21.3":"106","21.4":"106","22.0":"108","22.1":"108","22.2":"108","22.3":"108","23.0":"110","23.1":"110","23.2":"110","23.3":"110","24.0":"112","24.1":"112","24.2":"112","24.3":"112","24.4":"112","24.5":"112","24.6":"112","24.7":"112","24.8":"112","25.0":"114","25.1":"114","25.2":"114","25.3":"114","25.4":"114","25.5":"114","25.6":"114","25.7":"114","25.8":"114","25.9":"114","26.0":"116","26.1":"116","26.2":"116","26.3":"116","26.4":"116","26.5":"116","26.6":"116","27.0":"118","27.1":"118","27.2":"118","27.3":"118","28.0":"120","28.1":"120","28.2":"120","28.3":"120","29.0":"122","29.1":"122","29.2":"122","29.3":"122","29.4":"122","30.0":"124","30.1":"124","30.2":"124","30.3":"124","30.4":"124","30.5":"124","31.0":"126","31.1":"126","31.2":"126","31.3":"126","31.4":"126","31.5":"126","31.6":"126","31.7":"126","32.0":"128","32.1":"128","32.2":"128","33.0":"130","33.1":"130","33.2":"130","34.0":"132"} \ No newline at end of file diff --git a/node_modules/escalade/index.d.mts b/node_modules/escalade/index.d.mts new file mode 100644 index 0000000000..550699cf98 --- /dev/null +++ b/node_modules/escalade/index.d.mts @@ -0,0 +1,11 @@ +type Promisable = T | Promise; + +export type Callback = ( + directory: string, + files: string[], +) => Promisable; + +export default function ( + directory: string, + callback: Callback, +): Promise; diff --git a/node_modules/escalade/index.d.ts b/node_modules/escalade/index.d.ts index 283e398db1..26c58f2f31 100644 --- a/node_modules/escalade/index.d.ts +++ b/node_modules/escalade/index.d.ts @@ -1,3 +1,15 @@ type Promisable = T | Promise; -export type Callback = (directory: string, files: string[]) => Promisable; -export default function (directory: string, callback: Callback): Promise; + +declare namespace escalade { + export type Callback = ( + directory: string, + files: string[], + ) => Promisable; +} + +declare function escalade( + directory: string, + callback: escalade.Callback, +): Promise; + +export = escalade; diff --git a/node_modules/escalade/package.json b/node_modules/escalade/package.json index 0d1bfce981..1eed4f93a8 100644 --- a/node_modules/escalade/package.json +++ b/node_modules/escalade/package.json @@ -1,6 +1,6 @@ { "name": "escalade", - "version": "3.1.1", + "version": "3.2.0", "repository": "lukeed/escalade", "description": "A tiny (183B to 210B) and fast utility to ascend parent directories", "module": "dist/index.mjs", @@ -15,20 +15,33 @@ "exports": { ".": [ { - "import": "./dist/index.mjs", - "require": "./dist/index.js" + "import": { + "types": "./index.d.mts", + "default": "./dist/index.mjs" + }, + "require": { + "types": "./index.d.ts", + "default": "./dist/index.js" + } }, "./dist/index.js" ], "./sync": [ { - "import": "./sync/index.mjs", - "require": "./sync/index.js" + "import": { + "types": "./sync/index.d.mts", + "default": "./sync/index.mjs" + }, + "require": { + "types": "./sync/index.d.ts", + "default": "./sync/index.js" + } }, "./sync/index.js" ] }, "files": [ + "*.d.mts", "*.d.ts", "dist", "sync" diff --git a/node_modules/escalade/readme.md b/node_modules/escalade/readme.md index 4e2195c1bb..e07ee0d387 100644 --- a/node_modules/escalade/readme.md +++ b/node_modules/escalade/readme.md @@ -1,4 +1,4 @@ -# escalade [![CI](https://github.com/lukeed/escalade/workflows/CI/badge.svg)](https://github.com/lukeed/escalade/actions) [![codecov](https://badgen.now.sh/codecov/c/github/lukeed/escalade)](https://codecov.io/gh/lukeed/escalade) +# escalade [![CI](https://github.com/lukeed/escalade/workflows/CI/badge.svg)](https://github.com/lukeed/escalade/actions) [![licenses](https://licenses.dev/b/npm/escalade)](https://licenses.dev/npm/escalade) [![codecov](https://badgen.now.sh/codecov/c/github/lukeed/escalade)](https://codecov.io/gh/lukeed/escalade) > A tiny (183B to 210B) and [fast](#benchmarks) utility to ascend parent directories diff --git a/node_modules/escalade/sync/index.d.mts b/node_modules/escalade/sync/index.d.mts new file mode 100644 index 0000000000..c023d37b28 --- /dev/null +++ b/node_modules/escalade/sync/index.d.mts @@ -0,0 +1,9 @@ +export type Callback = ( + directory: string, + files: string[], +) => string | false | void; + +export default function ( + directory: string, + callback: Callback, +): string | void; diff --git a/node_modules/escalade/sync/index.d.ts b/node_modules/escalade/sync/index.d.ts index 746ddd39a3..9d5b5890c3 100644 --- a/node_modules/escalade/sync/index.d.ts +++ b/node_modules/escalade/sync/index.d.ts @@ -1,2 +1,13 @@ -export type Callback = (directory: string, files: string[]) => string | false | void; -export default function (directory: string, callback: Callback): string | void; +declare namespace escalade { + export type Callback = ( + directory: string, + files: string[], + ) => string | false | void; +} + +declare function escalade( + directory: string, + callback: escalade.Callback, +): string | void; + +export = escalade; diff --git a/node_modules/eslint-plugin-escompat/README.md b/node_modules/eslint-plugin-escompat/README.md index 6207290031..90aafb6093 100644 --- a/node_modules/eslint-plugin-escompat/README.md +++ b/node_modules/eslint-plugin-escompat/README.md @@ -1,10 +1,13 @@ # eslint-plugin-escompat -This plugin will report eslint errors for code which - if left untranspiled - will not work in some browsers. +This plugin will report eslint errors for code which - if left untranspiled - +will not work in some browsers. -This is useful if you intend to ship code without first using a transpiler, such as [Babel](https://babeljs.io). +This is useful if you intend to ship code without first using a transpiler, such +as [Babel](https://babeljs.io). -This _won't_ lint for features that can be polyfilled. For that you can use [eslint-plugin-compat][epc]. +This _won't_ lint for features that can be polyfilled. For that you can use +[eslint-plugin-compat][epc]. ## Installation @@ -12,9 +15,58 @@ This _won't_ lint for features that can be polyfilled. For that you can use [esl npm install --save-dev eslint-plugin-escompat ``` -Add `"escompat"` to `.eslintrc` `"plugins"` section, add `"browser": true` to `"env"`, then configure the individual `"escompat/*"` rules. +## Usage for Flat Configs (eslint.config.js) - ESLint >= 8 + +```js +// eslint.config.js + +import globals from 'globals'; +import escompat from 'eslint-plugin-escompat'; + +export default [ + { + plugins: { + escompat + }, + languageOptions: { + globals: globals.browser + }, + rules: { + // Configure the individual `"escompat/*"` rules, e.g.: + 'escompat/no-async-generator': ['error'], + 'escompat/no-numeric-separators': ['error'] + } + } +]; +``` + +Alternatively, you can use the `recommended` configuration which will do the +plugins for you, with all recommended `"escompat/*"` rules reporting errors. + +```js +import globals from 'globals'; +import escompat from 'eslint-plugin-escompat'; + +export default [ + { + languageOptions: { + globals: globals.browser + } + }, + escompat.configs['flat/recommended'] +]; +``` + + +## Usage for .eslintrc configs - ESLint < 9 + +Add `"escompat"` to `.eslintrc` `"plugins"` section, add `"browser": true` to +`"env"`, then configure the individual `"escompat/*"` rules. + +Alternatively, you can use the `recommended` configuration which will do this +for you, with the `"escompat/*"` rules reporting errors (as in the snippet +above). -Alternatively, you can use the `recommended` configuration which will do this for you, with the `"escompat/*"` rules reporting errors (as in the snippet above). ```js // .eslintrc { @@ -24,10 +76,34 @@ Alternatively, you can use the `recommended` configuration which will do this fo ### TypeScript Users -Aside from the `recommended` config, there are also multiple `typescript` configs which can be used if you're using TypeScript. The TypeScript configs only enable some of the rules, avoiding enabling rules for which `typescript` safely transpiles down to a more compatible syntax. Extend the typescript config that matches your `tsconfig.json` `target` value. +Aside from the `recommended` config, there are also multiple `typescript` +configs which can be used if you're using TypeScript. The TypeScript configs +only enable some of the rules, avoiding enabling rules for which `typescript` +safely transpiles down to a more compatible syntax. Extend the typescript config +that matches your `tsconfig.json` `target` value. + +For flat configs: + +```js +import globals from 'globals'; +import escompat from 'eslint-plugin-escompat'; + +export default [ + { + languageOptions: { + globals: globals.browser + } + }, + + // The TypeScript configs are in array form, so we need to + // spread them out here + ...escompat.configs['flat/typescript-2016'] +]; +``` + +or for `.eslintrc`: ```js -// .eslintrc { "extends": ["plugin:escompat/typescript-2016"] } @@ -37,11 +113,11 @@ Aside from the `recommended` config, there are also multiple `typescript` config `eslint-plugin-escompat` uses the `browserslist` configuration in `package.json` -If you have a browserlist, is is safe to enable all of these rules - as any -that do not coincide with your chosen browsers will be turned off -automatically. +If you have a browserslist, it is safe to enable all of these rules - as any that +do not coincide with your chosen browsers will be turned off automatically. -See [browserslist/browserslist](https://github.com/browserslist/browserslist) for configuration. Here's some examples: +See [browserslist/browserslist](https://github.com/browserslist/browserslist) +for configuration. Here's some examples: ```js // Simple configuration (package.json) @@ -62,33 +138,42 @@ See [browserslist/browserslist](https://github.com/browserslist/browserslist) fo } ``` -:bulb: You can also define browsers in a [separate browserslist file](https://github.com/browserslist/browserslist#config-file) +:bulb: You can also define browsers in a +[separate browserslist file](https://github.com/browserslist/browserslist#config-file) ## Rules - - [no-async-generator](./docs/no-async-generator.md) - - [no-async-iteration](./docs/no-async-iteration.md) - - [no-bigint](./docs/no-bigint.md) - - [no-bind-operator](./docs/no-bind-operator.md) - - [no-computed-class-fields](./docs/no-computed-class-fields.md) - - [no-do-expression](./docs/no-do-expression.md) - - [no-dynamic-import](./docs/no-dynamic-import.md) - - [no-edge-destructure-bug](./docs/no-edge-destructure-bug.md) - - [no-exponentiation-operator](./docs/no-exponentiation-operator.md) - - [no-nullish-coalescing](./docs/no-nullish-coalescing.md) - - [no-numeric-separators](./docs/no-numeric-separators.md) - - [no-object-rest-spread](./docs/no-object-rest-spread.md) - - [no-optional-catch](./docs/no-optional-catch.md) - - [no-optional-chaining](./docs/no-optional-chaining.md) - - [no-pipeline-operator](./docs/no-pipeline-operator.md) - - [no-private-class-fields](./docs/no-private-class-fields.md) - - [no-public-instance-class-fields](./docs/no-public-instance-class-fields.md) - - [no-public-static-class-fields](./docs/no-public-static-class-fields.md) - - [no-regexp-lookbehind](./docs/no-regexp-lookbehind.md) - - [no-regexp-named-groups](./docs/no-regexp-named-groups.md) - - [no-regexp-s-flag](./docs/no-regexp-s-flag.md) +- [no-async-generator](./docs/no-async-generator.md) +- [no-async-iteration](./docs/no-async-iteration.md) +- [no-bigint](./docs/no-bigint.md) +- [no-bind-operator](./docs/no-bind-operator.md) +- [no-class-static-blocks](./docs/no-class-static-blocks.md) +- [no-computed-public-class-fields](./docs/no-computed-public-class-fields.md) +- [no-do-expression](./docs/no-do-expression.md) +- [no-dynamic-imports](./docs/no-dynamic-imports.md) +- [no-edge-destructure-bug](./docs/no-edge-destructure-bug.md) +- [no-exponentiation-operator](./docs/no-exponentiation-operator.md) +- [no-hashbang-comment](./docs/no-hashbang-comment.md) +- [no-logical-assignment-operator](./docs/no-logical-assignment-operator.md) +- [no-nullish-coalescing](./docs/no-nullish-coalescing.md) +- [no-numeric-separators](./docs/no-numeric-separators.md) +- [no-object-rest-spread](./docs/no-object-rest-spread.md) +- [no-optional-catch](./docs/no-optional-catch.md) +- [no-optional-chaining](./docs/no-optional-chaining.md) +- [no-pipeline-operator](./docs/no-pipeline-operator.md) +- [no-private-class-fields](./docs/no-private-class-fields.md) +- [no-public-instance-class-fields](./docs/no-public-instance-class-fields.md) +- [no-public-static-class-fields](./docs/no-public-static-class-fields.md) +- [no-regexp-duplicate-named-groups](./docs/no-regexp-duplicate-named-groups.md) +- [no-regexp-lookbehind](./docs/no-regexp-lookbehind.md) +- [no-regexp-named-group](./docs/no-regexp-named-group.md) +- [no-regexp-s-flag](./docs/no-regexp-s-flag.md) +- [no-regexp-v-flag](./docs/no-regexp-v-flag.md) +- [no-top-level-await](./docs/no-top-level-await.md) ## Inspiration -This project was largely inspired by the great [eslint-plugin-compat][epc] library. + +This project was largely inspired by the great [eslint-plugin-compat][epc] +library. [epc]: https://github.com/amilajack/eslint-plugin-compat diff --git a/node_modules/eslint-plugin-escompat/lib/index.js b/node_modules/eslint-plugin-escompat/lib/index.js index de110d004e..0c207a7994 100644 --- a/node_modules/eslint-plugin-escompat/lib/index.js +++ b/node_modules/eslint-plugin-escompat/lib/index.js @@ -1,100 +1,288 @@ -const path = require('path') -const browserslist = require('browserslist') -const {findConfig} = require('browserslist/node') -const {version,homepage} = require('../package.json') -const createRule = (name, browserstring, description, {ts = null} = {}) => { - const rule = require(`./rules/${name}`) +'use strict'; + +const path = require("path"); +const browserslist = require("browserslist"); +const { version, homepage } = require("../package.json"); +const flatTypeScriptConfigs = {}; +const createRule = (name, browserstring, description, { ts = null } = {}) => { + const rule = require(`./rules/${name}`); module.exports.rules[name] = { - meta: Object.assign({ - type: 'problem', - docs: { - description, - recommended: true, - url: `${homepage}/blob/v${version}/docs/${name}.md` + meta: Object.assign( + { + type: "problem", + docs: { + description, + recommended: true, + url: `${homepage}/blob/v${version}/docs/${name}.md`, + }, + fixable: false, + schema: [], + deprecated: false, + replacedBy: null, }, - fixable: false, - schema: [], - deprecated: false, - replacedBy: null, - }, rule.meta || {}), + rule.meta || {} + ), create(context) { - let browsers = browserslist(browserstring) - const config = findConfig(path.dirname(context.getFilename())) || { defaults: 'defaults' } - const desiredBrowsers = browserslist(config.defaults) - const badBrowsers = desiredBrowsers.filter(browser => browsers.indexOf(browser) !== -1).join(', ') - if (badBrowsers) { - const create = typeof rule === 'function' ? rule : rule.create - return create(context, badBrowsers) + let browsers = browserslist(browserstring); + const config = browserslist.findConfig(path.dirname( + context.filename ?? context.getFilename() + )) || { + defaults: "defaults", + }; + const desiredBrowsers = browserslist(config.defaults); + const badBrowsers = desiredBrowsers + .filter((browser) => browsers.includes(browser)) + .join(", "); + if (globalThis.ESLINT_TESTING || badBrowsers) { + const create = typeof rule === "function" ? rule : rule.create; + return create(context, globalThis.ESLINT_TESTING ? undefined : badBrowsers); } - return {} - } - } + return {}; + }, + }; - const configName = `typescript-${ts || 'base'}` + const configName = `typescript-${ts || "base"}`; + const flatConfigName = `flat/${configName}`; if (!module.exports.configs[configName]) { - let config = {rules: {}} + flatTypeScriptConfigs[configName] = [{ + name: `escompat/${configName}`, + plugins: { + escompat: module.exports + }, + rules: {} + }]; + const config = { rules: {} }; if (ts === 2016) { - config.extends = [`plugin:escompat/typescript-base`] + config.extends = [`plugin:escompat/typescript-base`]; + flatTypeScriptConfigs[configName].unshift( + ...flatTypeScriptConfigs['typescript-base'] + ); } else if (ts) { - let previous = ts - 1 - while (!module.exports.configs[`typescript-${previous}`]) previous -= 1 - - config.extends = [`plugin:escompat/typescript-${previous}`] + let previous = ts - 1; + while (!module.exports.configs[`typescript-${previous}`]) previous -= 1; + + config.extends = [`plugin:escompat/typescript-${previous}`]; + flatTypeScriptConfigs[configName].unshift( + ...flatTypeScriptConfigs[`typescript-${previous}`] + ); } - module.exports.configs[configName] = config + module.exports.configs[configName] = config; + module.exports.configs[flatConfigName] = flatTypeScriptConfigs[configName]; } - module.exports.configs[`typescript-base`].rules[`escompat/${name}`] = 'off' - module.exports.configs[configName].rules[`escompat/${name}`] = 'error' -} + module.exports.configs[`typescript-base`].rules[`escompat/${name}`] = "off"; + module.exports.configs[`flat/typescript-base`].at(-1).rules[`escompat/${name}`] = "off"; + module.exports.configs[configName].rules[`escompat/${name}`] = "error"; + module.exports.configs[flatConfigName].at(-1).rules[`escompat/${name}`] = "error"; +}; -module.exports = { rules: {}, configs: {} } +module.exports = { rules: {}, configs: {} }; // ES2015 -createRule('no-edge-destructure-bug', 'edge < 18', 'disallow the use of specific destructuring patterns that cause bugs in old Edge') +createRule( + "no-edge-destructure-bug", + "edge < 18", + "disallow the use of specific destructuring patterns that cause bugs in old Edge" +); // ES2016 -createRule('no-exponentiation-operator', 'chrome < 52, edge < 14, firefox < 52, safari < 10.1', 'disallow use of exponentiation operator (**)', {ts: 2016}) +createRule( + "no-exponentiation-operator", + "chrome < 52, edge < 14, firefox < 52, safari < 10.1", + "disallow use of exponentiation operator (**)", + { ts: 2016 } +); // ES2018 -createRule('no-async-iteration', 'edge < 79, safari < 12, firefox < 57, chrome < 63', 'disallow the use of `for await of` style loops', {ts: 2018}) -createRule('no-async-generator', 'edge < 79, safari < 12, firefox < 57, chrome < 63', 'disallow the use of async generator functions', {ts: 2018}) -createRule('no-object-rest-spread', 'edge < 79, safari < 11.1, firefox < 55, chrome < 60', 'disallow object rest/spread patterns', {ts: 2018}) -createRule('no-regexp-s-flag', 'edge < 79, safari < 11.1, firefox < 78, chrome < 62', 'disallow the use of the RegExp `s` flag') -createRule('no-regexp-lookbehind', 'edge < 79, safari > 0, firefox < 78, chrome < 62', 'disallow the use of RegExp lookbehinds') -createRule('no-regexp-named-group', 'edge < 79, safari 11.1, firefox < 78, chrome < 64', 'disallow the use of RegExp named groups') +createRule( + "no-async-iteration", + "edge < 79, safari < 12, firefox < 57, chrome < 63", + "disallow the use of `for await of` style loops", + { ts: 2018 } +); +createRule( + "no-async-generator", + "edge < 79, safari < 12, firefox < 57, chrome < 63", + "disallow the use of async generator functions", + { ts: 2018 } +); +createRule( + "no-object-rest-spread", + "edge < 79, safari < 11.1, firefox < 55, chrome < 60", + "disallow object rest/spread patterns", + { ts: 2018 } +); +createRule( + "no-regexp-s-flag", + "edge < 79, safari < 11.1, firefox < 78, chrome < 62", + "disallow the use of the RegExp `s` flag" +); +createRule( + "no-regexp-lookbehind", + "edge < 79, safari < 16.4, firefox < 78, chrome < 62", + "disallow the use of RegExp lookbehinds" +); +createRule( + "no-regexp-named-group", + "edge < 79, safari 11.1, firefox < 78, chrome < 64", + "disallow the use of RegExp named groups" +); // ES2019 -createRule('no-optional-catch', 'edge < 79, safari < 11.1, firefox < 58, chrome < 66', 'always require catch() to have an argument', {ts: 2019}) +createRule( + "no-optional-catch", + "edge < 79, safari < 11.1, firefox < 58, chrome < 66", + "always require catch() to have an argument", + { ts: 2019 } +); // ES2020 -createRule('no-dynamic-imports', 'edge < 79, safari < 11, firefox < 67, chrome < 63', 'disallow dynamic import statements') -createRule('no-optional-chaining', 'edge < 80, safari < 13.1, firefox < 72, chrome < 80', 'disallow the .? optional chaning operator', {ts: 2020}) -createRule('no-nullish-coalescing', 'edge < 80, safari < 13.1, firefox < 72, chrome < 80', 'disallow the ?? nullish coalescing operator', {ts: 2020}) -createRule('no-bigint', 'edge < 79, safari < 14, firefox < 68, chrome < 67', 'disallow bigints') +createRule( + "no-dynamic-imports", + "edge < 79, safari < 11, firefox < 67, chrome < 63", + "disallow dynamic import statements" +); +createRule( + "no-optional-chaining", + "edge < 80, safari < 13.1, firefox < 72, chrome < 80", + "disallow the .? optional chaining operator", + { ts: 2020 } +); +createRule( + "no-nullish-coalescing", + "edge < 80, safari < 13.1, firefox < 72, chrome < 80", + "disallow the ?? nullish coalescing operator", + { ts: 2020 } +); +createRule( + "no-bigint", + "edge < 79, safari < 14, firefox < 68, chrome < 67", + "disallow bigints" +); // ES2021 -createRule('no-numeric-separators', 'edge < 79, safari < 13, firefox < 68, chrome < 75', 'disallow use of numeric seperators like 1_000_000', {ts:2021}) +createRule( + "no-numeric-separators", + "edge < 79, safari < 13, firefox < 68, chrome < 75", + "disallow use of numeric separators like 1_000_000", + { ts: 2021 } +); + +createRule( + "no-logical-assignment-operator", + "edge < 85, safari < 14, firefox < 79, chrome < 85", + "disallow logical assignment operators like &&=", + { ts: 2021 } +); // ES2022 -createRule('no-public-static-class-fields', 'edge < 79, safari < 14.5, firefox < 75, chrome < 72', 'disallow public static class fields like foo = 1', {ts: 2022}) -createRule('no-public-instance-class-fields', 'edge < 79, safari < 14.5, firefox < 69, chrome < 72', 'disallow public class fields like foo = 1', {ts: 2022}) -createRule('no-computed-public-class-fields', 'edge < 79, safari < 14.5, firefox < 69, chrome < 74', 'disallow computed public static or instance class fields like [foo] = 1', {ts: 2022}) -createRule('no-private-class-fields', 'edge < 79, safari < 14.5, firefox < 90, chrome < 74', 'disallow private class fields like #foo = 1', {ts: 2022}) +createRule( + "no-public-static-class-fields", + "edge < 79, safari < 14.5, firefox < 75, chrome < 72", + "disallow public static class fields like foo = 1", + { ts: 2022 } +); +createRule( + "no-public-instance-class-fields", + "edge < 79, safari < 14.5, firefox < 69, chrome < 72", + "disallow public class fields like foo = 1", + { ts: 2022 } +); +createRule( + "no-computed-public-class-fields", + "edge < 79, safari < 14.5, firefox < 69, chrome < 74", + "disallow computed public static or instance class fields like [foo] = 1", + { ts: 2022 } +); +createRule( + "no-private-class-fields", + "edge < 79, safari < 14.5, firefox < 90, chrome < 74", + "disallow private class fields like #foo = 1", + { ts: 2022 } +); +createRule( + "no-class-static-blocks", + "edge < 94, safari < 16.4, firefox < 93, chrome < 94", + "disallow static blocks like `static { x = 1 }`", + { ts: 2022 } +); +createRule( + "no-top-level-await", + "edge < 89, safari < 15, firefox < 89, chrome < 89", + "disallow await keyword outside of async function context", + { ts: 2022 } +); + +// ES2023 +createRule( + "no-hashbang-comment", + "edge < 79, safari < 13.1, firefox < 67, chrome < 74", + "disallow hashbang comments", + { ts: 2023 } +); + +// ES2024 +createRule( + "no-regexp-v-flag", + "edge > 0, safari < 17, firefox < 116, chrome < 112", + "disallow the use of the RegExp `v` flag", + { ts: 2024 } +); + +// ES2025 +createRule( + "no-regexp-duplicate-named-groups", + "edge < 125, safari < 17, firefox < 129, chrome < 125", + "disallow the use of RegExp duplicate named groups", + { ts: 2025 } +); // Proposals... -createRule('no-do-expression', 'edge > 0, safari > 0, firefox > 0, chrome > 0', 'disallow "do" expressions') -createRule('no-bind-operator', 'edge > 0, safari > 0, firefox > 0, chrome > 0', 'disallow the :: bind operator') -createRule('no-pipeline-operator', 'edge > 0, safari > 0, firefox > 0, chrome > 0', 'disallow the > pipeline operator') +createRule( + "no-do-expression", + "edge > 0, safari > 0, firefox > 0, chrome > 0", + 'disallow "do" expressions' +); +createRule( + "no-bind-operator", + "edge > 0, safari > 0, firefox > 0, chrome > 0", + "disallow the :: bind operator" +); +createRule( + "no-pipeline-operator", + "edge > 0, safari > 0, firefox > 0, chrome > 0", + "disallow the > pipeline operator" +); module.exports.configs.recommended = { - plugins: ['escompat'], - parserOptions: { ecmaVersion: 2020 }, - rules: Object.keys(module.exports.rules).reduce((o, r) => (o['escompat/' + r] = ['error'], o), {}) -} + plugins: ["escompat"], + parserOptions: { ecmaVersion: 2025 }, + rules: Object.keys(module.exports.rules).reduce( + (o, r) => ((o["escompat/" + r] = ["error"]), o), + {} + ), +}; + +module.exports.configs["flat/recommended"] = { + name: 'escompat/flat/recommended', + plugins: { + escompat: module.exports + }, + languageOptions: { + ecmaVersion: 2025 + }, + rules: Object.keys(module.exports.rules).reduce( + (o, r) => ((o["escompat/" + r] = ["error"]), o), + {} + ), +}; module.exports.configs.typescript = { - extends: ['plugin:escompat/typescript-2016'] -} + extends: ["plugin:escompat/typescript-2025"], +}; +module.exports.configs['flat/typescript'] = flatTypeScriptConfigs[ + 'typescript-2025' +]; if (require.main === module) { - console.log(require('util').inspect(module.exports, {depth: Infinity})) + console.log(require("util").inspect(module.exports, { depth: Infinity })); } + diff --git a/node_modules/eslint-plugin-escompat/lib/rules/no-async-generator.js b/node_modules/eslint-plugin-escompat/lib/rules/no-async-generator.js index ffdad0c217..5d1baa6e72 100644 --- a/node_modules/eslint-plugin-escompat/lib/rules/no-async-generator.js +++ b/node_modules/eslint-plugin-escompat/lib/rules/no-async-generator.js @@ -1,3 +1,5 @@ +'use strict'; + module.exports = (context, badBrowser) => ({ ':function[async=true][generator=true]'(node) { context.report(node, `Async Generators are not supported in ${badBrowser}`) diff --git a/node_modules/eslint-plugin-escompat/lib/rules/no-async-iteration.js b/node_modules/eslint-plugin-escompat/lib/rules/no-async-iteration.js index 12ed783ddf..d41b5822a7 100644 --- a/node_modules/eslint-plugin-escompat/lib/rules/no-async-iteration.js +++ b/node_modules/eslint-plugin-escompat/lib/rules/no-async-iteration.js @@ -1,3 +1,5 @@ +'use strict'; + module.exports = (context, badBrowser) => ({ 'ForOfStatement[await=true]'(node) { context.report(node, `Async Iteration is not supported in ${badBrowser}`) diff --git a/node_modules/eslint-plugin-escompat/lib/rules/no-bigint.js b/node_modules/eslint-plugin-escompat/lib/rules/no-bigint.js index bec6cbaa3c..1195216dbe 100644 --- a/node_modules/eslint-plugin-escompat/lib/rules/no-bigint.js +++ b/node_modules/eslint-plugin-escompat/lib/rules/no-bigint.js @@ -1,3 +1,5 @@ +'use strict'; + module.exports = (context, badBrowser) => ({ 'Literal[bigint]'(node) { context.report(node, `BigInts are not supported in ${badBrowser}`) diff --git a/node_modules/eslint-plugin-escompat/lib/rules/no-bind-operator.js b/node_modules/eslint-plugin-escompat/lib/rules/no-bind-operator.js index 6f79623a2b..27ebf7a38f 100644 --- a/node_modules/eslint-plugin-escompat/lib/rules/no-bind-operator.js +++ b/node_modules/eslint-plugin-escompat/lib/rules/no-bind-operator.js @@ -1,3 +1,5 @@ +'use strict'; + module.exports = (context, badBrowser) => ({ BindExpression(node) { context.report(node, `The Bind Operator is not supported in ${badBrowser}`) diff --git a/node_modules/eslint-plugin-escompat/lib/rules/no-class-static-blocks.js b/node_modules/eslint-plugin-escompat/lib/rules/no-class-static-blocks.js new file mode 100644 index 0000000000..e7b79e3896 --- /dev/null +++ b/node_modules/eslint-plugin-escompat/lib/rules/no-class-static-blocks.js @@ -0,0 +1,10 @@ +'use strict'; + +module.exports = (context, badBrowser) => ({ + StaticBlock(node) { + context.report( + node, + `Class Static Blocks are not supported in ${badBrowser}` + ); + }, +}); diff --git a/node_modules/eslint-plugin-escompat/lib/rules/no-computed-public-class-fields.js b/node_modules/eslint-plugin-escompat/lib/rules/no-computed-public-class-fields.js index 4297460850..381afa1715 100644 --- a/node_modules/eslint-plugin-escompat/lib/rules/no-computed-public-class-fields.js +++ b/node_modules/eslint-plugin-escompat/lib/rules/no-computed-public-class-fields.js @@ -1,3 +1,5 @@ +'use strict'; + module.exports = (context, badBrowser) => ({ // Ignore type annotations that don't assign 'ClassProperty[computed=true]:not([typeAnnotation]:not([value]))'(node) { diff --git a/node_modules/eslint-plugin-escompat/lib/rules/no-do-expression.js b/node_modules/eslint-plugin-escompat/lib/rules/no-do-expression.js index ee42842ed2..ba36f12c5d 100644 --- a/node_modules/eslint-plugin-escompat/lib/rules/no-do-expression.js +++ b/node_modules/eslint-plugin-escompat/lib/rules/no-do-expression.js @@ -1,3 +1,5 @@ +'use strict'; + module.exports = (context, badBrowser) => ({ DoExpression(node) { context.report(node, `Do Expressions are not supported in ${badBrowser}`) diff --git a/node_modules/eslint-plugin-escompat/lib/rules/no-dynamic-imports.js b/node_modules/eslint-plugin-escompat/lib/rules/no-dynamic-imports.js index bac8b35dfc..3555f2a799 100644 --- a/node_modules/eslint-plugin-escompat/lib/rules/no-dynamic-imports.js +++ b/node_modules/eslint-plugin-escompat/lib/rules/no-dynamic-imports.js @@ -1,3 +1,5 @@ +'use strict'; + module.exports = (context, badBrowser) => ({ 'ImportExpression, CallExpression[callee.type="Import"]'(node) { context.report(node, `Dynamic import is not supported in ${badBrowser}`) diff --git a/node_modules/eslint-plugin-escompat/lib/rules/no-edge-destructure-bug.js b/node_modules/eslint-plugin-escompat/lib/rules/no-edge-destructure-bug.js index 966b95e4aa..b73e38d420 100644 --- a/node_modules/eslint-plugin-escompat/lib/rules/no-edge-destructure-bug.js +++ b/node_modules/eslint-plugin-escompat/lib/rules/no-edge-destructure-bug.js @@ -1,3 +1,5 @@ +'use strict'; + const objectPatternHasDefaults = node => node.type === 'ObjectPattern' && node.properties.some(prop => prop.value.type === 'AssignmentPattern') diff --git a/node_modules/eslint-plugin-escompat/lib/rules/no-exponentiation-operator.js b/node_modules/eslint-plugin-escompat/lib/rules/no-exponentiation-operator.js index 95750e05d8..80c7536d43 100644 --- a/node_modules/eslint-plugin-escompat/lib/rules/no-exponentiation-operator.js +++ b/node_modules/eslint-plugin-escompat/lib/rules/no-exponentiation-operator.js @@ -1,3 +1,5 @@ +'use strict'; + module.exports = (context, badBrowser) => ({ 'AssignmentExpression[operator="**="], BinaryExpression[operator="**"]'(node) { context.report(node, `Exponentiation Operator is not supported in ${badBrowser}`) diff --git a/node_modules/eslint-plugin-escompat/lib/rules/no-hashbang-comment.js b/node_modules/eslint-plugin-escompat/lib/rules/no-hashbang-comment.js new file mode 100644 index 0000000000..0b6b165f90 --- /dev/null +++ b/node_modules/eslint-plugin-escompat/lib/rules/no-hashbang-comment.js @@ -0,0 +1,13 @@ +'use strict'; + +module.exports = (context, badBrowser) => { + const { sourceCode = context.getSourceCode() } = context; + return { + 'Program:exit' (node) { + const [comment] = sourceCode.getAllComments(); + if (comment && comment.type === 'Shebang') { + context.report(node, `Hashbang comments are not supported in ${badBrowser}`) + } + } + } +} diff --git a/node_modules/eslint-plugin-escompat/lib/rules/no-logical-assignment-operator.js b/node_modules/eslint-plugin-escompat/lib/rules/no-logical-assignment-operator.js new file mode 100644 index 0000000000..4ba5f3457e --- /dev/null +++ b/node_modules/eslint-plugin-escompat/lib/rules/no-logical-assignment-operator.js @@ -0,0 +1,13 @@ +'use strict'; + +module.exports = (context, badBrowser) => ({ + 'AssignmentExpression[operator="||="]'(node) { + context.report(node, `Logical assignment operators are not supported in ${badBrowser}`) + }, + 'AssignmentExpression[operator="&&="]'(node) { + context.report(node, `Logical assignment operators are not supported in ${badBrowser}`) + }, + 'AssignmentExpression[operator="??="]'(node) { + context.report(node, `Logical assignment operators are not supported in ${badBrowser}`) + } +}) diff --git a/node_modules/eslint-plugin-escompat/lib/rules/no-nullish-coalescing.js b/node_modules/eslint-plugin-escompat/lib/rules/no-nullish-coalescing.js index d5734ee781..7afd33f990 100644 --- a/node_modules/eslint-plugin-escompat/lib/rules/no-nullish-coalescing.js +++ b/node_modules/eslint-plugin-escompat/lib/rules/no-nullish-coalescing.js @@ -1,3 +1,5 @@ +'use strict'; + module.exports = (context, badBrowser) => ({ 'LogicalExpression[operator="??"]'(node) { context.report(node, `the Nullish Coalescing Operator is not supported in ${badBrowser}`) diff --git a/node_modules/eslint-plugin-escompat/lib/rules/no-numeric-separators.js b/node_modules/eslint-plugin-escompat/lib/rules/no-numeric-separators.js index 02820a06d0..277a18a777 100644 --- a/node_modules/eslint-plugin-escompat/lib/rules/no-numeric-separators.js +++ b/node_modules/eslint-plugin-escompat/lib/rules/no-numeric-separators.js @@ -1,3 +1,5 @@ +'use strict'; + module.exports = { meta: { fixable: 'code' diff --git a/node_modules/eslint-plugin-escompat/lib/rules/no-object-rest-spread.js b/node_modules/eslint-plugin-escompat/lib/rules/no-object-rest-spread.js index f3244e26e6..97b64ba6d8 100644 --- a/node_modules/eslint-plugin-escompat/lib/rules/no-object-rest-spread.js +++ b/node_modules/eslint-plugin-escompat/lib/rules/no-object-rest-spread.js @@ -1,3 +1,5 @@ +'use strict'; + module.exports = (context, badBrowser) => ({ 'ObjectExpression > SpreadElement'(node) { context.report(node, `Object Rest/Spread is not supported in ${badBrowser}`) diff --git a/node_modules/eslint-plugin-escompat/lib/rules/no-optional-catch.js b/node_modules/eslint-plugin-escompat/lib/rules/no-optional-catch.js index d444c9a2e6..e66f8a0188 100644 --- a/node_modules/eslint-plugin-escompat/lib/rules/no-optional-catch.js +++ b/node_modules/eslint-plugin-escompat/lib/rules/no-optional-catch.js @@ -1,3 +1,5 @@ +'use strict'; + module.exports = (context, badBrowser) => ({ 'CatchClause:not([param])'(node) { context.report(node, `Optional Catch Parameters are not supported in ${badBrowser}`) diff --git a/node_modules/eslint-plugin-escompat/lib/rules/no-optional-chaining.js b/node_modules/eslint-plugin-escompat/lib/rules/no-optional-chaining.js index ba42b53639..3a39199636 100644 --- a/node_modules/eslint-plugin-escompat/lib/rules/no-optional-chaining.js +++ b/node_modules/eslint-plugin-escompat/lib/rules/no-optional-chaining.js @@ -1,3 +1,5 @@ +'use strict'; + module.exports = (context, badBrowser) => ({ OptionalMemberExpression(node) { context.report(node, `Optional Chaining is not supported in ${badBrowser}`) diff --git a/node_modules/eslint-plugin-escompat/lib/rules/no-pipeline-operator.js b/node_modules/eslint-plugin-escompat/lib/rules/no-pipeline-operator.js index c2488a35cd..a6ece66fe6 100644 --- a/node_modules/eslint-plugin-escompat/lib/rules/no-pipeline-operator.js +++ b/node_modules/eslint-plugin-escompat/lib/rules/no-pipeline-operator.js @@ -1,3 +1,5 @@ +'use strict'; + module.exports = (context, badBrowser) => ({ 'BinaryExpression[operator="|>"]'(node) { context.report(node, `The Pipeline Operator is not supported in ${badBrowser}`) diff --git a/node_modules/eslint-plugin-escompat/lib/rules/no-private-class-fields.js b/node_modules/eslint-plugin-escompat/lib/rules/no-private-class-fields.js index 2662f3f932..d601c37fa1 100644 --- a/node_modules/eslint-plugin-escompat/lib/rules/no-private-class-fields.js +++ b/node_modules/eslint-plugin-escompat/lib/rules/no-private-class-fields.js @@ -1,3 +1,5 @@ +'use strict'; + module.exports = (context, badBrowser) => ({ ClassPrivateProperty(node) { context.report(node, `Private Class Fields are not supported in ${badBrowser}`) diff --git a/node_modules/eslint-plugin-escompat/lib/rules/no-public-instance-class-fields.js b/node_modules/eslint-plugin-escompat/lib/rules/no-public-instance-class-fields.js index f379652a42..0daf27e704 100644 --- a/node_modules/eslint-plugin-escompat/lib/rules/no-public-instance-class-fields.js +++ b/node_modules/eslint-plugin-escompat/lib/rules/no-public-instance-class-fields.js @@ -1,3 +1,5 @@ +'use strict'; + module.exports = (context, badBrowser) => ({ // Ignore type annotations that don't assign 'ClassProperty[static=false]:not([typeAnnotation]:not([value]))'(node) { diff --git a/node_modules/eslint-plugin-escompat/lib/rules/no-public-static-class-fields.js b/node_modules/eslint-plugin-escompat/lib/rules/no-public-static-class-fields.js index 7a227c25f1..8d86ecb126 100644 --- a/node_modules/eslint-plugin-escompat/lib/rules/no-public-static-class-fields.js +++ b/node_modules/eslint-plugin-escompat/lib/rules/no-public-static-class-fields.js @@ -1,3 +1,5 @@ +'use strict'; + module.exports = (context, badBrowser) => ({ // Ignore type annotations that don't assign 'ClassProperty[static=true]:not([typeAnnotation]:not([value]))'(node) { diff --git a/node_modules/eslint-plugin-escompat/lib/rules/no-regexp-duplicate-named-groups.js b/node_modules/eslint-plugin-escompat/lib/rules/no-regexp-duplicate-named-groups.js new file mode 100644 index 0000000000..585334091e --- /dev/null +++ b/node_modules/eslint-plugin-escompat/lib/rules/no-regexp-duplicate-named-groups.js @@ -0,0 +1,30 @@ +'use strict'; + +const hasDuplicateNamedGroups = s => /(\(\?<[_$\w]*?)>.*?\1>/.test(s) + +module.exports = (context, badBrowser) => ({ + 'Literal[regex]'(node) { + if (hasDuplicateNamedGroups(node.regex.pattern)) { + context.report(node, `RegExp duplicate named groups are not supported in ${badBrowser}`) + } + }, + 'CallExpression[callee.name="RegExp"], NewExpression[callee.name="RegExp"]'(node) { + const [source] = node.arguments; + if ( + source && + ( + ( + source.type === 'Literal' && + typeof source.value === 'string' && + hasDuplicateNamedGroups(source.value) + ) || + ( + source.type === 'TemplateLiteral' && + source.quasis.some(({value: {raw}}) => hasDuplicateNamedGroups(raw)) + ) + ) + ) { + context.report(node, `RegExp duplicate named groups are not supported in ${badBrowser}`) + } + } +}) diff --git a/node_modules/eslint-plugin-escompat/lib/rules/no-regexp-lookbehind.js b/node_modules/eslint-plugin-escompat/lib/rules/no-regexp-lookbehind.js index a41a9fabc6..cbdf62be6f 100644 --- a/node_modules/eslint-plugin-escompat/lib/rules/no-regexp-lookbehind.js +++ b/node_modules/eslint-plugin-escompat/lib/rules/no-regexp-lookbehind.js @@ -1,4 +1,6 @@ -const hasLookbehind = s => s.includes('(?<=') || s.includes('(? s.includes('(?<=') || s.includes('(? ({ 'Literal[regex]'(node) { diff --git a/node_modules/eslint-plugin-escompat/lib/rules/no-regexp-named-group.js b/node_modules/eslint-plugin-escompat/lib/rules/no-regexp-named-group.js index 91ffa80629..1bbd5c7622 100644 --- a/node_modules/eslint-plugin-escompat/lib/rules/no-regexp-named-group.js +++ b/node_modules/eslint-plugin-escompat/lib/rules/no-regexp-named-group.js @@ -1,3 +1,5 @@ +'use strict'; + const hasNamedGroup = s => /\(\?<[_$\w]/.test(s) module.exports = (context, badBrowser) => ({ diff --git a/node_modules/eslint-plugin-escompat/lib/rules/no-regexp-s-flag.js b/node_modules/eslint-plugin-escompat/lib/rules/no-regexp-s-flag.js index 613b805054..96ad824227 100644 --- a/node_modules/eslint-plugin-escompat/lib/rules/no-regexp-s-flag.js +++ b/node_modules/eslint-plugin-escompat/lib/rules/no-regexp-s-flag.js @@ -1,3 +1,5 @@ +'use strict'; + module.exports = (context, badBrowser) => ({ 'Literal[regex]'(node) { if (node.regex.flags.includes('s')) { @@ -7,13 +9,13 @@ module.exports = (context, badBrowser) => ({ 'CallExpression[callee.name="RegExp"], NewExpression[callee.name="RegExp"]'(node) { const [, flags] = node.arguments; if ( - flags && + flags && ( ( flags.type === 'Literal' && typeof flags.value === 'string' && flags.value.includes('s') - ) || + ) || ( flags.type === 'TemplateLiteral' && flags.quasis.some(({value: {raw}}) => raw.includes('s')) diff --git a/node_modules/eslint-plugin-escompat/lib/rules/no-regexp-v-flag.js b/node_modules/eslint-plugin-escompat/lib/rules/no-regexp-v-flag.js new file mode 100644 index 0000000000..f6e501a419 --- /dev/null +++ b/node_modules/eslint-plugin-escompat/lib/rules/no-regexp-v-flag.js @@ -0,0 +1,28 @@ +'use strict'; + +module.exports = (context, badBrowser) => ({ + 'Literal[regex]'(node) { + if (node.regex.flags.includes('v')) { + context.report(node, `RegExp "v" flag is not supported in ${badBrowser}`) + } + }, + 'CallExpression[callee.name="RegExp"], NewExpression[callee.name="RegExp"]'(node) { + const [, flags] = node.arguments; + if ( + flags && + ( + ( + flags.type === 'Literal' && + typeof flags.value === 'string' && + flags.value.includes('v') + ) || + ( + flags.type === 'TemplateLiteral' && + flags.quasis.some(({value: {raw}}) => raw.includes('v')) + ) + ) + ) { + context.report(node, `RegExp "v" flag is not supported in ${badBrowser}`) + } + } +}) diff --git a/node_modules/eslint-plugin-escompat/lib/rules/no-top-level-await.js b/node_modules/eslint-plugin-escompat/lib/rules/no-top-level-await.js new file mode 100644 index 0000000000..b5cbe6a570 --- /dev/null +++ b/node_modules/eslint-plugin-escompat/lib/rules/no-top-level-await.js @@ -0,0 +1,20 @@ +'use strict'; + +const functionTypes = new Set([ + 'FunctionDeclaration', + 'FunctionExpression', + 'ArrowFunctionExpression', +]); + +module.exports = (context, badBrowser) => ({ + AwaitExpression(node) { + let currentNode = node; + while (currentNode.parent) { + currentNode = currentNode.parent; + if (functionTypes.has(currentNode.type) && currentNode.async) { + return; + } + } + context.report(node, `Top-level await is not supported in ${badBrowser}`) + }, +}) diff --git a/node_modules/eslint-plugin-escompat/package.json b/node_modules/eslint-plugin-escompat/package.json index e9cab15862..5d58d937e8 100644 --- a/node_modules/eslint-plugin-escompat/package.json +++ b/node_modules/eslint-plugin-escompat/package.json @@ -1,6 +1,6 @@ { "name": "eslint-plugin-escompat", - "version": "3.3.4", + "version": "3.11.4", "description": "", "keywords": [], "repository": { @@ -19,19 +19,21 @@ "test": "npm run lint && mocha" }, "devDependencies": { - "@babel/eslint-parser": "^7.18.2", - "@babel/plugin-proposal-do-expressions": "^7.16.7", - "@babel/plugin-proposal-function-bind": "^7.16.7", - "@babel/plugin-proposal-pipeline-operator": "^7.18.2", - "@babel/preset-env": "^7.18.2", - "@babel/preset-typescript": "^7.17.12", - "eslint": "^8.18.0", - "mocha": "^10.0.0" + "@babel/eslint-parser": "^7.24.7", + "@babel/plugin-proposal-do-expressions": "^7.24.7", + "@babel/plugin-proposal-function-bind": "^7.24.7", + "@babel/plugin-proposal-pipeline-operator": "^7.24.7", + "@babel/preset-env": "^7.24.7", + "@babel/preset-typescript": "^7.24.7", + "@eslint/js": "^9.6.0", + "eslint": "^9.6.0", + "globals": "^15.7.0", + "mocha": "^10.5.2" }, "peerDependencies": { "eslint": ">=5.14.1" }, "dependencies": { - "browserslist": "^4.21.0" + "browserslist": "^4.23.1" } } diff --git a/node_modules/eslint-plugin-github/README.md b/node_modules/eslint-plugin-github/README.md index a180cf8523..c69717b4c4 100644 --- a/node_modules/eslint-plugin-github/README.md +++ b/node_modules/eslint-plugin-github/README.md @@ -8,6 +8,8 @@ npm install --save-dev eslint eslint-plugin-github ## Setup +### Legacy Configuration (`.eslintrc`) + Add `github` to your list of plugins in your ESLint config. JSON ESLint config example: @@ -28,6 +30,31 @@ JSON ESLint config example: } ``` +### Flat Configuration (`eslint-config.js`) + +Import the `eslint-plugin-github`, and extend any of the configurations using `getFlatConfigs()` as needed like so: + +```js +import github from 'eslint-plugin-github' + +export default [ + github.getFlatConfigs().browser, + github.getFlatConfigs().recommended, + github.getFlatConfigs().react, + ...github.getFlatConfigs().typescript, + { + files: ['**/*.{js,mjs,cjs,jsx,mjsx,ts,tsx,mtsx}'], + ignores: ['eslint.config.mjs'], + rules: { + 'github/array-foreach': 'error', + 'github/async-preventdefault': 'warn', + 'github/no-then': 'error', + 'github/no-blur': 'error', + }, + }, +] +``` + The available configs are: - `internal` diff --git a/node_modules/eslint-plugin-github/lib/configs/flat/browser.js b/node_modules/eslint-plugin-github/lib/configs/flat/browser.js new file mode 100644 index 0000000000..17f2b74c91 --- /dev/null +++ b/node_modules/eslint-plugin-github/lib/configs/flat/browser.js @@ -0,0 +1,36 @@ +const globals = require('globals') +const github = require('../../plugin') +const importPlugin = require('eslint-plugin-import') +const escompatPlugin = require('eslint-plugin-escompat') + +module.exports = { + ...escompatPlugin.configs['flat/recommended'], + languageOptions: { + globals: { + ...globals.browser, + }, + }, + plugins: {importPlugin, escompatPlugin, github}, + rules: { + 'escompatPlugin/no-dynamic-imports': 'off', + 'github/async-currenttarget': 'error', + 'github/async-preventdefault': 'error', + 'github/get-attribute': 'error', + 'github/no-blur': 'error', + 'github/no-dataset': 'error', + 'github/no-innerText': 'error', + 'github/no-inner-html': 'error', + 'github/unescaped-html-literal': 'error', + 'github/no-useless-passive': 'error', + 'github/require-passive-events': 'error', + 'github/prefer-observers': 'error', + 'importPlugin/no-nodejs-modules': 'error', + 'no-restricted-syntax': [ + 'error', + { + selector: "NewExpression[callee.name='URL'][arguments.length=1]", + message: 'Please pass in `window.location.origin` as the 2nd argument to `new URL()`', + }, + ], + }, +} diff --git a/node_modules/eslint-plugin-github/lib/configs/flat/internal.js b/node_modules/eslint-plugin-github/lib/configs/flat/internal.js new file mode 100644 index 0000000000..e3aa8e4394 --- /dev/null +++ b/node_modules/eslint-plugin-github/lib/configs/flat/internal.js @@ -0,0 +1,10 @@ +const github = require('../../plugin') + +module.exports = { + plugins: {github}, + rules: { + 'github/authenticity-token': 'error', + 'github/js-class-name': 'error', + 'github/no-d-none': 'error', + }, +} diff --git a/node_modules/eslint-plugin-github/lib/configs/flat/react.js b/node_modules/eslint-plugin-github/lib/configs/flat/react.js new file mode 100644 index 0000000000..8d2e0f8013 --- /dev/null +++ b/node_modules/eslint-plugin-github/lib/configs/flat/react.js @@ -0,0 +1,47 @@ +const github = require('../../plugin') +const jsxA11yPlugin = require('eslint-plugin-jsx-a11y') + +module.exports = { + ...jsxA11yPlugin.flatConfigs.recommended, + languageOptions: { + sourceType: 'module', + parserOptions: { + ecmaFeatures: { + jsx: true, + }, + }, + }, + plugins: {github, jsxA11yPlugin}, + rules: { + 'jsxA11yPlugin/role-supports-aria-props': 'off', // Override with github/a11y-role-supports-aria-props until https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/issues/910 is resolved + 'github/a11y-aria-label-is-well-formatted': 'error', + 'github/a11y-no-visually-hidden-interactive-element': 'error', + 'github/a11y-no-title-attribute': 'error', + 'github/a11y-svg-has-accessible-name': 'error', + 'github/a11y-role-supports-aria-props': 'error', + 'jsxA11yPlugin/no-aria-hidden-on-focusable': 'error', + 'jsxA11yPlugin/no-autofocus': 'off', + 'jsxA11yPlugin/anchor-ambiguous-text': [ + 'error', + { + words: ['this', 'more', 'read here', 'read more'], + }, + ], + 'jsxA11yPlugin/no-interactive-element-to-noninteractive-role': [ + 'error', + { + tr: ['none', 'presentation'], + td: ['cell'], // TODO: Remove once https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/pull/937#issuecomment-1638128318 is addressed. + canvas: ['img'], + }, + ], + 'jsxA11yPlugin/no-redundant-roles': [ + 'error', + { + nav: ['navigation'], // default in eslint-plugin-jsx-a11y + tbody: ['rowgroup'], + thead: ['rowgroup'], + }, + ], + }, +} diff --git a/node_modules/eslint-plugin-github/lib/configs/flat/recommended.js b/node_modules/eslint-plugin-github/lib/configs/flat/recommended.js new file mode 100644 index 0000000000..061260fa41 --- /dev/null +++ b/node_modules/eslint-plugin-github/lib/configs/flat/recommended.js @@ -0,0 +1,150 @@ +const globals = require('globals') +const github = require('../../plugin') +const prettierPlugin = require('eslint-plugin-prettier') +const eslintComments = require('eslint-plugin-eslint-comments') +const importPlugin = require('eslint-plugin-import') +const filenames = require('eslint-plugin-filenames') +const i18nTextPlugin = require('eslint-plugin-i18n-text') +const noOnlyTestsPlugin = require('eslint-plugin-no-only-tests') +const {fixupPluginRules} = require('@eslint/compat') + +module.exports = { + languageOptions: { + ecmaVersion: 6, + sourceType: 'module', + globals: { + ...globals.es6, + }, + }, + plugins: { + filenamesPlugin: fixupPluginRules(filenames), + prettierPlugin, + eslintComments, + importPlugin, + 'i18n-text': fixupPluginRules(i18nTextPlugin), + noOnlyTestsPlugin, + github, + }, + rules: { + 'constructor-super': 'error', + 'eslintComments/disable-enable-pair': 'off', + 'eslintComments/no-aggregating-enable': 'off', + 'eslintComments/no-duplicate-disable': 'error', + 'eslintComments/no-unlimited-disable': 'error', + 'eslintComments/no-unused-disable': 'error', + 'eslintComments/no-unused-enable': 'error', + 'eslintComments/no-use': ['error', {allow: ['eslint', 'eslint-disable-next-line', 'eslint-env', 'globals']}], + 'filenamesPlugin/match-regex': ['error', '^[a-z0-9-]+(.[a-z0-9-]+)?$'], + 'func-style': ['error', 'declaration', {allowArrowFunctions: true}], + 'github/array-foreach': 'error', + 'github/no-implicit-buggy-globals': 'error', + 'github/no-then': 'error', + 'github/no-dynamic-script-tag': 'error', + 'i18n-text/no-en': ['error'], + 'importPlugin/default': 'error', + 'importPlugin/export': 'error', + 'importPlugin/extensions': 'error', + 'importPlugin/first': 'error', + 'importPlugin/named': 'error', + 'importPlugin/namespace': 'error', + 'importPlugin/no-absolute-path': 'error', + 'importPlugin/no-amd': 'error', + 'importPlugin/no-anonymous-default-export': [ + 'error', + { + allowAnonymousClass: false, + allowAnonymousFunction: false, + allowArray: true, + allowArrowFunction: false, + allowLiteral: true, + allowObject: true, + }, + ], + 'importPlugin/no-commonjs': 'error', + 'importPlugin/no-deprecated': 'error', + 'importPlugin/no-duplicates': 'error', + 'importPlugin/no-dynamic-require': 'error', + 'importPlugin/no-extraneous-dependencies': [0, {devDependencies: false}], + 'importPlugin/no-mutable-exports': 'error', + 'importPlugin/no-named-as-default': 'error', + 'importPlugin/no-named-as-default-member': 'error', + 'importPlugin/no-namespace': 'error', + 'importPlugin/no-unresolved': 'error', + 'importPlugin/no-webpack-loader-syntax': 'error', + 'no-case-declarations': 'error', + 'no-class-assign': 'error', + 'no-compare-neg-zero': 'error', + 'no-cond-assign': 'error', + 'no-console': 'error', + 'no-const-assign': 'error', + 'no-constant-condition': 'error', + 'no-control-regex': 'error', + 'no-debugger': 'error', + 'no-delete-var': 'error', + 'no-dupe-args': 'error', + 'no-dupe-class-members': 'error', + 'no-dupe-keys': 'error', + 'no-duplicate-case': 'error', + 'no-empty': 'error', + 'no-empty-character-class': 'error', + 'no-empty-pattern': 'error', + 'no-ex-assign': 'error', + 'no-extra-boolean-cast': 'error', + 'no-fallthrough': 'error', + 'no-func-assign': 'error', + 'no-global-assign': 'error', + 'no-implicit-globals': 'error', + 'no-implied-eval': 'error', + 'no-inner-declarations': 'error', + 'no-invalid-regexp': 'error', + 'no-invalid-this': 'error', + 'no-irregular-whitespace': 'error', + 'no-new-symbol': 'error', + 'no-obj-calls': 'error', + 'no-octal': 'error', + 'noOnlyTestsPlugin/no-only-tests': [ + 'error', + { + block: ['describe', 'it', 'context', 'test', 'tape', 'fixture', 'serial', 'suite'], + }, + ], + 'no-redeclare': 'error', + 'no-regex-spaces': 'error', + 'no-return-assign': 'error', + 'no-self-assign': 'error', + 'no-sequences': ['error'], + 'no-shadow': 'error', + 'no-sparse-arrays': 'error', + 'no-this-before-super': 'error', + 'no-throw-literal': 'error', + 'no-undef': 'error', + 'no-unreachable': 'error', + 'no-unsafe-finally': 'error', + 'no-unsafe-negation': 'error', + 'no-unused-labels': 'error', + 'no-unused-vars': 'error', + 'no-useless-concat': 'error', + 'no-useless-escape': 'error', + 'no-var': 'error', + 'object-shorthand': ['error', 'always', {avoidQuotes: true}], + 'one-var': ['error', 'never'], + 'prefer-const': 'error', + 'prefer-promise-reject-errors': 'error', + 'prefer-rest-params': 'error', + 'prefer-spread': 'error', + 'prefer-template': 'error', + 'prettierPlugin/prettier': 'error', + 'require-yield': 'error', + 'use-isnan': 'error', + 'valid-typeof': 'error', + camelcase: ['error', {properties: 'always'}], + eqeqeq: ['error', 'smart'], + }, + settings: { + 'importPlugin/resolver': { + node: { + extensions: ['.js', '.ts'], + }, + }, + }, +} diff --git a/node_modules/eslint-plugin-github/lib/configs/flat/typescript.js b/node_modules/eslint-plugin-github/lib/configs/flat/typescript.js new file mode 100644 index 0000000000..eb6b71fdf2 --- /dev/null +++ b/node_modules/eslint-plugin-github/lib/configs/flat/typescript.js @@ -0,0 +1,27 @@ +const eslint = require('@eslint/js') +const tseslint = require('typescript-eslint') +const escompatPlugin = require('eslint-plugin-escompat') +const github = require('../../plugin') + +module.exports = tseslint.config(eslint.configs.recommended, ...tseslint.configs.recommended, { + languageOptions: { + parser: tseslint.parser, + }, + plugins: {'@typescript-eslint': tseslint.plugin, escompatPlugin, github}, + rules: { + camelcase: 'off', + 'no-unused-vars': 'off', + 'no-shadow': 'off', + 'no-invalid-this': 'off', + '@typescript-eslint/no-invalid-this': ['error'], + '@typescript-eslint/no-shadow': ['error'], + '@typescript-eslint/interface-name-prefix': 'off', + '@typescript-eslint/array-type': ['error', {default: 'array-simple'}], + '@typescript-eslint/no-use-before-define': 'off', + '@typescript-eslint/explicit-member-accessibility': 'off', + '@typescript-eslint/explicit-function-return-type': 'off', + '@typescript-eslint/no-non-null-assertion': 'off', + '@typescript-eslint/no-unused-vars': 'error', + '@typescript-eslint/explicit-module-boundary-types': 'off', + }, +}) diff --git a/node_modules/eslint-plugin-github/lib/configs/react.js b/node_modules/eslint-plugin-github/lib/configs/react.js index 93043ea149..f5b2982919 100644 --- a/node_modules/eslint-plugin-github/lib/configs/react.js +++ b/node_modules/eslint-plugin-github/lib/configs/react.js @@ -30,18 +30,6 @@ module.exports = { canvas: ['img'], }, ], - // Remove once https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/pull/950 is shipped. - 'jsx-a11y/no-noninteractive-element-to-interactive-role': [ - 'error', - { - ul: ['listbox', 'menu', 'menubar', 'radiogroup', 'tablist', 'tree', 'treegrid'], - ol: ['listbox', 'menu', 'menubar', 'radiogroup', 'tablist', 'tree', 'treegrid'], - li: ['menuitem', 'menuitemradio', 'menuitemcheckbox', 'option', 'row', 'tab', 'treeitem'], - table: ['grid'], - td: ['gridcell'], - fieldset: ['radiogroup', 'presentation'], - }, - ], 'jsx-a11y/no-redundant-roles': [ 'error', { diff --git a/node_modules/eslint-plugin-github/lib/formatters/stylish-fixes.js b/node_modules/eslint-plugin-github/lib/formatters/stylish-fixes.js index cba77ded04..b852322985 100644 --- a/node_modules/eslint-plugin-github/lib/formatters/stylish-fixes.js +++ b/node_modules/eslint-plugin-github/lib/formatters/stylish-fixes.js @@ -7,7 +7,7 @@ const path = require('path') let SourceCodeFixer = null try { SourceCodeFixer = require('eslint/lib/linter/source-code-fixer') -} catch (e) { +} catch { SourceCodeFixer = require('eslint/lib/util/source-code-fixer') } const getRuleURI = require('eslint-rule-documentation') diff --git a/node_modules/eslint-plugin-github/lib/index.js b/node_modules/eslint-plugin-github/lib/index.js index 68dca43ae9..aa677a2dd1 100644 --- a/node_modules/eslint-plugin-github/lib/index.js +++ b/node_modules/eslint-plugin-github/lib/index.js @@ -1,30 +1,15 @@ +const github = require('./plugin') + +const getFlatConfig = () => ({ + browser: require('./configs/flat/browser'), + internal: require('./configs/flat/internal'), + recommended: require('./configs/flat/recommended'), + typescript: require('./configs/flat/typescript'), + react: require('./configs/flat/react'), +}) + module.exports = { - rules: { - 'a11y-no-visually-hidden-interactive-element': require('./rules/a11y-no-visually-hidden-interactive-element'), - 'a11y-no-generic-link-text': require('./rules/a11y-no-generic-link-text'), - 'a11y-no-title-attribute': require('./rules/a11y-no-title-attribute'), - 'a11y-aria-label-is-well-formatted': require('./rules/a11y-aria-label-is-well-formatted'), - 'a11y-role-supports-aria-props': require('./rules/a11y-role-supports-aria-props'), - 'a11y-svg-has-accessible-name': require('./rules/a11y-svg-has-accessible-name'), - 'array-foreach': require('./rules/array-foreach'), - 'async-currenttarget': require('./rules/async-currenttarget'), - 'async-preventdefault': require('./rules/async-preventdefault'), - 'authenticity-token': require('./rules/authenticity-token'), - 'get-attribute': require('./rules/get-attribute'), - 'js-class-name': require('./rules/js-class-name'), - 'no-blur': require('./rules/no-blur'), - 'no-d-none': require('./rules/no-d-none'), - 'no-dataset': require('./rules/no-dataset'), - 'no-implicit-buggy-globals': require('./rules/no-implicit-buggy-globals'), - 'no-inner-html': require('./rules/no-inner-html'), - 'no-innerText': require('./rules/no-innerText'), - 'no-dynamic-script-tag': require('./rules/no-dynamic-script-tag'), - 'no-then': require('./rules/no-then'), - 'no-useless-passive': require('./rules/no-useless-passive'), - 'prefer-observers': require('./rules/prefer-observers'), - 'require-passive-events': require('./rules/require-passive-events'), - 'unescaped-html-literal': require('./rules/unescaped-html-literal'), - }, + rules: github.rules, configs: { browser: require('./configs/browser'), internal: require('./configs/internal'), @@ -32,4 +17,5 @@ module.exports = { typescript: require('./configs/typescript'), react: require('./configs/react'), }, + getFlatConfigs: getFlatConfig, } diff --git a/node_modules/eslint-plugin-github/lib/plugin.js b/node_modules/eslint-plugin-github/lib/plugin.js new file mode 100644 index 0000000000..3ed3417577 --- /dev/null +++ b/node_modules/eslint-plugin-github/lib/plugin.js @@ -0,0 +1,31 @@ +const {name, version} = require('../package.json') + +module.exports = { + meta: {name, version}, + rules: { + 'a11y-no-visually-hidden-interactive-element': require('./rules/a11y-no-visually-hidden-interactive-element'), + 'a11y-no-generic-link-text': require('./rules/a11y-no-generic-link-text'), + 'a11y-no-title-attribute': require('./rules/a11y-no-title-attribute'), + 'a11y-aria-label-is-well-formatted': require('./rules/a11y-aria-label-is-well-formatted'), + 'a11y-role-supports-aria-props': require('./rules/a11y-role-supports-aria-props'), + 'a11y-svg-has-accessible-name': require('./rules/a11y-svg-has-accessible-name'), + 'array-foreach': require('./rules/array-foreach'), + 'async-currenttarget': require('./rules/async-currenttarget'), + 'async-preventdefault': require('./rules/async-preventdefault'), + 'authenticity-token': require('./rules/authenticity-token'), + 'get-attribute': require('./rules/get-attribute'), + 'js-class-name': require('./rules/js-class-name'), + 'no-blur': require('./rules/no-blur'), + 'no-d-none': require('./rules/no-d-none'), + 'no-dataset': require('./rules/no-dataset'), + 'no-implicit-buggy-globals': require('./rules/no-implicit-buggy-globals'), + 'no-inner-html': require('./rules/no-inner-html'), + 'no-innerText': require('./rules/no-innerText'), + 'no-dynamic-script-tag': require('./rules/no-dynamic-script-tag'), + 'no-then': require('./rules/no-then'), + 'no-useless-passive': require('./rules/no-useless-passive'), + 'prefer-observers': require('./rules/prefer-observers'), + 'require-passive-events': require('./rules/require-passive-events'), + 'unescaped-html-literal': require('./rules/unescaped-html-literal'), + }, +} diff --git a/node_modules/eslint-plugin-github/lib/rules/no-implicit-buggy-globals.js b/node_modules/eslint-plugin-github/lib/rules/no-implicit-buggy-globals.js index 68fd95a63b..28eebbe177 100644 --- a/node_modules/eslint-plugin-github/lib/rules/no-implicit-buggy-globals.js +++ b/node_modules/eslint-plugin-github/lib/rules/no-implicit-buggy-globals.js @@ -9,9 +9,10 @@ module.exports = { }, create(context) { + const sourceCode = context.sourceCode ?? context.getSourceCode() return { - Program() { - const scope = context.getScope() + Program(node) { + const scope = sourceCode.getScope(node) ? sourceCode.getScope(node) : context.getScope() for (const variable of scope.variables) { if (variable.writeable) { diff --git a/node_modules/run-applescript/node_modules/human-signals/LICENSE b/node_modules/eslint-plugin-github/node_modules/@eslint/compat/LICENSE similarity index 99% rename from node_modules/run-applescript/node_modules/human-signals/LICENSE rename to node_modules/eslint-plugin-github/node_modules/@eslint/compat/LICENSE index 9af9492617..261eeb9e9f 100644 --- a/node_modules/run-applescript/node_modules/human-signals/LICENSE +++ b/node_modules/eslint-plugin-github/node_modules/@eslint/compat/LICENSE @@ -186,7 +186,7 @@ same "printed page" as the copyright notice for easier identification within third-party archives. - Copyright 2019 ehmicky + Copyright [yyyy] [name of copyright owner] Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/node_modules/eslint-plugin-github/node_modules/@eslint/compat/README.md b/node_modules/eslint-plugin-github/node_modules/@eslint/compat/README.md new file mode 100644 index 0000000000..870e961300 --- /dev/null +++ b/node_modules/eslint-plugin-github/node_modules/@eslint/compat/README.md @@ -0,0 +1,206 @@ +# ESLint Compatibility Utilities + +## Overview + +This packages contains functions that allow you to wrap existing ESLint rules, plugins, and configurations that were intended for use with ESLint v8.x to allow them to work as-is in ESLint v9.x. + +**Note:** All plugins are not guaranteed to work in ESLint v9.x. This package fixes the most common issues but can't fix everything. + +## Installation + +For Node.js and compatible runtimes: + +```shell +npm install @eslint/compat -D +# or +yarn add @eslint/compat -D +# or +pnpm install @eslint/compat -D +# or +bun install @eslint/compat -D +``` + +For Deno: + +```shell +deno add @eslint/compat +``` + +## Usage + +This package exports the following functions in both ESM and CommonJS format: + +- `fixupRule(rule)` - wraps the given rule in a compatibility layer and returns the result +- `fixupPluginRules(plugin)` - wraps each rule in the given plugin using `fixupRule()` and returns a new object that represents the plugin with the fixed-up rules +- `fixupConfigRules(configs)` - wraps all plugins found in an array of config objects using `fixupPluginRules()` +- `includeIgnoreFile(path)` - reads an ignore file (like `.gitignore`) and converts the patterns into the correct format for the config file + +### Fixing Rules + +If you have a rule that you'd like to make compatible with ESLint v9.x, you can do so using the `fixupRule()` function: + +```js +// ESM example +import { fixupRule } from "@eslint/compat"; + +// Step 1: Import your rule +import myRule from "./local-rule.js"; + +// Step 2: Create backwards-compatible rule +const compatRule = fixupRule(myRule); + +// Step 3 (optional): Export fixed rule +export default compatRule; +``` + +Or in CommonJS: + +```js +// CommonJS example +const { fixupRule } = require("@eslint/compat"); + +// Step 1: Import your rule +const myRule = require("./local-rule.js"); + +// Step 2: Create backwards-compatible rule +const compatRule = fixupRule(myRule); + +// Step 3 (optional): Export fixed rule +module.exports = compatRule; +``` + +### Fixing Plugins + +If you are using a plugin in your `eslint.config.js` that is not yet compatible with ESLint 9.x, you can wrap it using the `fixupPluginRules()` function: + +```js +// eslint.config.js - ESM example +import { fixupPluginRules } from "@eslint/compat"; +import somePlugin from "eslint-plugin-some-plugin"; + +export default [ + { + plugins: { + // insert the fixed plugin instead of the original + somePlugin: fixupPluginRules(somePlugin), + }, + rules: { + "somePlugin/rule-name": "error", + }, + }, +]; +``` + +Or in CommonJS: + +```js +// eslint.config.js - CommonJS example +const { fixupPluginRules } = require("@eslint/compat"); +const somePlugin = require("eslint-plugin-some-plugin"); + +module.exports = [ + { + plugins: { + // insert the fixed plugin instead of the original + somePlugin: fixupPluginRules(somePlugin), + }, + rules: { + "somePlugin/rule-name": "error", + }, + }, +]; +``` + +### Fixing Configs + +If you are importing other configs into your `eslint.config.js` that use plugins that are not yet compatible with ESLint 9.x, you can wrap the entire array or a single object using the `fixupConfigRules()` function: + +```js +// eslint.config.js - ESM example +import { fixupConfigRules } from "@eslint/compat"; +import someConfig from "eslint-config-some-config"; + +export default [ + ...fixupConfigRules(someConfig), + { + // your overrides + }, +]; +``` + +Or in CommonJS: + +```js +// eslint.config.js - CommonJS example +const { fixupConfigRules } = require("@eslint/compat"); +const someConfig = require("eslint-config-some-config"); + +module.exports = [ + ...fixupConfigRules(someConfig), + { + // your overrides + }, +]; +``` + +### Including Ignore Files + +If you were using an alternate ignore file in ESLint v8.x, such as using `--ignore-path .gitignore` on the command line, you can include those patterns programmatically in your config file using the `includeIgnoreFile()` function. For example: + +```js +// eslint.config.js - ESM example +import { includeIgnoreFile } from "@eslint/compat"; +import path from "node:path"; +import { fileURLToPath } from "node:url"; + +const __filename = fileURLToPath(import.meta.url); +const __dirname = path.dirname(__filename); +const gitignorePath = path.resolve(__dirname, ".gitignore"); + +export default [ + includeIgnoreFile(gitignorePath), + { + // your overrides + }, +]; +``` + +Or in CommonJS: + +```js +// eslint.config.js - CommonJS example +const { includeIgnoreFile } = require("@eslint/compat"); +const path = require("node:path"); +const gitignorePath = path.resolve(__dirname, ".gitignore"); + +module.exports = [ + includeIgnoreFile(gitignorePath), + { + // your overrides + }, +]; +``` + +**Limitation:** This works without modification when the ignore file is in the same directory as your config file. If the ignore file is in a different directory, you may need to modify the patterns manually. + +## License + +Apache 2.0 + + + + +## Sponsors + +The following companies, organizations, and individuals support ESLint's ongoing maintenance and development. [Become a Sponsor](https://eslint.org/donate) +to get your logo on our READMEs and [website](https://eslint.org/sponsors). + +

Platinum Sponsors

+

Automattic Airbnb

Gold Sponsors

+

trunk.io

Silver Sponsors

+

SERP Triumph JetBrains Liftoff American Express Workleap

Bronze Sponsors

+

Cybozu Syntax WordHint Anagram Solver Icons8 Discord GitBook Nx HeroCoders

+

Technology Sponsors

+Technology sponsors allow us to use their products and services for free as part of a contribution to the open source ecosystem and our work. +

Netlify Algolia 1Password

+ diff --git a/node_modules/eslint-plugin-github/node_modules/@eslint/compat/dist/cjs/index.cjs b/node_modules/eslint-plugin-github/node_modules/@eslint/compat/dist/cjs/index.cjs new file mode 100644 index 0000000000..b0246262b6 --- /dev/null +++ b/node_modules/eslint-plugin-github/node_modules/@eslint/compat/dist/cjs/index.cjs @@ -0,0 +1,366 @@ +'use strict'; + +var fs = require('node:fs'); +var path = require('node:path'); + +/** + * @filedescription Functions to fix up rules to provide missing methods on the `context` object. + * @author Nicholas C. Zakas + */ + +//----------------------------------------------------------------------------- +// Types +//----------------------------------------------------------------------------- + +/** @typedef {import("eslint").ESLint.Plugin} FixupPluginDefinition */ +/** @typedef {import("eslint").Rule.RuleModule} FixupRuleDefinition */ +/** @typedef {FixupRuleDefinition["create"]} FixupLegacyRuleDefinition */ +/** @typedef {import("eslint").Linter.Config} FixupConfig */ +/** @typedef {Array} FixupConfigArray */ + +//----------------------------------------------------------------------------- +// Data +//----------------------------------------------------------------------------- + +/** + * The removed methods from the `context` object that need to be added back. + * The keys are the name of the method on the `context` object and the values + * are the name of the method on the `sourceCode` object. + * @type {Map} + */ +const removedMethodNames = new Map([ + ["getSource", "getText"], + ["getSourceLines", "getLines"], + ["getAllComments", "getAllComments"], + ["getDeclaredVariables", "getDeclaredVariables"], + ["getNodeByRangeIndex", "getNodeByRangeIndex"], + ["getCommentsBefore", "getCommentsBefore"], + ["getCommentsAfter", "getCommentsAfter"], + ["getCommentsInside", "getCommentsInside"], + ["getJSDocComment", "getJSDocComment"], + ["getFirstToken", "getFirstToken"], + ["getFirstTokens", "getFirstTokens"], + ["getLastToken", "getLastToken"], + ["getLastTokens", "getLastTokens"], + ["getTokenAfter", "getTokenAfter"], + ["getTokenBefore", "getTokenBefore"], + ["getTokenByRangeStart", "getTokenByRangeStart"], + ["getTokens", "getTokens"], + ["getTokensAfter", "getTokensAfter"], + ["getTokensBefore", "getTokensBefore"], + ["getTokensBetween", "getTokensBetween"], +]); + +/** + * Tracks the original rule definition and the fixed-up rule definition. + * @type {WeakMap} + */ +const fixedUpRuleReplacements = new WeakMap(); + +/** + * Tracks all of the fixed up rule definitions so we don't duplicate effort. + * @type {WeakSet} + */ +const fixedUpRules = new WeakSet(); + +/** + * Tracks the original plugin definition and the fixed-up plugin definition. + * @type {WeakMap} + */ +const fixedUpPluginReplacements = new WeakMap(); + +/** + * Tracks all of the fixed up plugin definitions so we don't duplicate effort. + * @type {WeakSet} + */ +const fixedUpPlugins = new WeakSet(); + +//----------------------------------------------------------------------------- +// Exports +//----------------------------------------------------------------------------- + +/** + * Takes the given rule and creates a new rule with the `create()` method wrapped + * to provide the missing methods on the `context` object. + * @param {FixupRuleDefinition|FixupLegacyRuleDefinition} ruleDefinition The rule to fix up. + * @returns {FixupRuleDefinition} The fixed-up rule. + */ +function fixupRule(ruleDefinition) { + // first check if we've already fixed up this rule + if (fixedUpRuleReplacements.has(ruleDefinition)) { + return fixedUpRuleReplacements.get(ruleDefinition); + } + + const isLegacyRule = typeof ruleDefinition === "function"; + + // check to see if this rule definition has already been fixed up + if (!isLegacyRule && fixedUpRules.has(ruleDefinition)) { + return ruleDefinition; + } + + const originalCreate = isLegacyRule + ? ruleDefinition + : ruleDefinition.create.bind(ruleDefinition); + + function ruleCreate(context) { + // if getScope is already there then no need to create old methods + if ("getScope" in context) { + return originalCreate(context); + } + + const sourceCode = context.sourceCode; + let currentNode = sourceCode.ast; + + const newContext = Object.assign(Object.create(context), { + parserServices: sourceCode.parserServices, + + /* + * The following methods rely on the current node in the traversal, + * so we need to add them manually. + */ + getScope() { + return sourceCode.getScope(currentNode); + }, + + getAncestors() { + return sourceCode.getAncestors(currentNode); + }, + + markVariableAsUsed(variable) { + sourceCode.markVariableAsUsed(variable, currentNode); + }, + }); + + // add passthrough methods + for (const [ + contextMethodName, + sourceCodeMethodName, + ] of removedMethodNames) { + newContext[contextMethodName] = + sourceCode[sourceCodeMethodName].bind(sourceCode); + } + + // freeze just like the original context + Object.freeze(newContext); + + /* + * Create the visitor object using the original create() method. + * This is necessary to ensure that the visitor object is created + * with the correct context. + */ + const visitor = originalCreate(newContext); + + /* + * Wrap each method in the visitor object to update the currentNode + * before calling the original method. This is necessary because the + * methods like `getScope()` need to know the current node. + */ + for (const [methodName, method] of Object.entries(visitor)) { + /* + * Node is the second argument to most code path methods, + * and the third argument for onCodePathSegmentLoop. + */ + if (methodName.startsWith("on")) { + // eslint-disable-next-line no-loop-func -- intentionally updating shared `currentNode` variable + visitor[methodName] = (...args) => { + currentNode = + args[methodName === "onCodePathSegmentLoop" ? 2 : 1]; + + return method.call(visitor, ...args); + }; + + continue; + } + + // eslint-disable-next-line no-loop-func -- intentionally updating shared `currentNode` variable + visitor[methodName] = (...args) => { + currentNode = args[0]; + + return method.call(visitor, ...args); + }; + } + + return visitor; + } + + const newRuleDefinition = { + ...(isLegacyRule ? undefined : ruleDefinition), + create: ruleCreate, + }; + + // copy `schema` property of function-style rule or top-level `schema` property of object-style rule into `meta` object + // @ts-ignore -- top-level `schema` property was not offically supported for object-style rules so it doesn't exist in types + const { schema } = ruleDefinition; + if (schema) { + if (!newRuleDefinition.meta) { + newRuleDefinition.meta = { schema }; + } else { + newRuleDefinition.meta = { + ...newRuleDefinition.meta, + // top-level `schema` had precedence over `meta.schema` so it's okay to overwrite `meta.schema` if it exists + schema, + }; + } + } + + // cache the fixed up rule + fixedUpRuleReplacements.set(ruleDefinition, newRuleDefinition); + fixedUpRules.add(newRuleDefinition); + + return newRuleDefinition; +} + +/** + * Takes the given plugin and creates a new plugin with all of the rules wrapped + * to provide the missing methods on the `context` object. + * @param {FixupPluginDefinition} plugin The plugin to fix up. + * @returns {FixupPluginDefinition} The fixed-up plugin. + */ +function fixupPluginRules(plugin) { + // first check if we've already fixed up this plugin + if (fixedUpPluginReplacements.has(plugin)) { + return fixedUpPluginReplacements.get(plugin); + } + + /* + * If the plugin has already been fixed up, or if the plugin + * doesn't have any rules, we can just return it. + */ + if (fixedUpPlugins.has(plugin) || !plugin.rules) { + return plugin; + } + + const newPlugin = { + ...plugin, + rules: Object.fromEntries( + Object.entries(plugin.rules).map(([ruleId, ruleDefinition]) => [ + ruleId, + fixupRule(ruleDefinition), + ]), + ), + }; + + // cache the fixed up plugin + fixedUpPluginReplacements.set(plugin, newPlugin); + fixedUpPlugins.add(newPlugin); + + return newPlugin; +} + +/** + * Takes the given configuration and creates a new configuration with all of the + * rules wrapped to provide the missing methods on the `context` object. + * @param {FixupConfigArray|FixupConfig} config The configuration to fix up. + * @returns {FixupConfigArray} The fixed-up configuration. + */ +function fixupConfigRules(config) { + const configs = Array.isArray(config) ? config : [config]; + + return configs.map(configItem => { + if (!configItem.plugins) { + return configItem; + } + + const newPlugins = Object.fromEntries( + Object.entries(configItem.plugins).map(([pluginName, plugin]) => [ + pluginName, + fixupPluginRules(plugin), + ]), + ); + + return { + ...configItem, + plugins: newPlugins, + }; + }); +} + +/** + * @fileoverview Ignore file utilities for the compat package. + * @author Nicholas C. Zakas + */ + + +//----------------------------------------------------------------------------- +// Types +//----------------------------------------------------------------------------- + +/** @typedef {import("eslint").Linter.Config} FlatConfig */ + +//----------------------------------------------------------------------------- +// Exports +//----------------------------------------------------------------------------- + +/** + * Converts an ESLint ignore pattern to a minimatch pattern. + * @param {string} pattern The .eslintignore or .gitignore pattern to convert. + * @returns {string} The converted pattern. + */ +function convertIgnorePatternToMinimatch(pattern) { + const isNegated = pattern.startsWith("!"); + const negatedPrefix = isNegated ? "!" : ""; + const patternToTest = (isNegated ? pattern.slice(1) : pattern).trimEnd(); + + // special cases + if (["", "**", "/**", "**/"].includes(patternToTest)) { + return `${negatedPrefix}${patternToTest}`; + } + + const firstIndexOfSlash = patternToTest.indexOf("/"); + + const matchEverywherePrefix = + firstIndexOfSlash < 0 || firstIndexOfSlash === patternToTest.length - 1 + ? "**/" + : ""; + + const patternWithoutLeadingSlash = + firstIndexOfSlash === 0 ? patternToTest.slice(1) : patternToTest; + + /* + * Escape `{` and `(` because in gitignore patterns they are just + * literal characters without any specific syntactic meaning, + * while in minimatch patterns they can form brace expansion or extglob syntax. + * + * For example, gitignore pattern `src/{a,b}.js` ignores file `src/{a,b}.js`. + * But, the same minimatch pattern `src/{a,b}.js` ignores files `src/a.js` and `src/b.js`. + * Minimatch pattern `src/\{a,b}.js` is equivalent to gitignore pattern `src/{a,b}.js`. + */ + const escapedPatternWithoutLeadingSlash = + patternWithoutLeadingSlash.replaceAll( + /(?=((?:\\.|[^{(])*))\1([{(])/guy, + "$1\\$2", + ); + + const matchInsideSuffix = patternToTest.endsWith("/**") ? "/*" : ""; + + return `${negatedPrefix}${matchEverywherePrefix}${escapedPatternWithoutLeadingSlash}${matchInsideSuffix}`; +} + +/** + * Reads an ignore file and returns an object with the ignore patterns. + * @param {string} ignoreFilePath The absolute path to the ignore file. + * @returns {FlatConfig} An object with an `ignores` property that is an array of ignore patterns. + * @throws {Error} If the ignore file path is not an absolute path. + */ +function includeIgnoreFile(ignoreFilePath) { + if (!path.isAbsolute(ignoreFilePath)) { + throw new Error("The ignore file location must be an absolute path."); + } + + const ignoreFile = fs.readFileSync(ignoreFilePath, "utf8"); + const lines = ignoreFile.split(/\r?\n/u); + + return { + name: "Imported .gitignore patterns", + ignores: lines + .map(line => line.trim()) + .filter(line => line && !line.startsWith("#")) + .map(convertIgnorePatternToMinimatch), + }; +} + +exports.convertIgnorePatternToMinimatch = convertIgnorePatternToMinimatch; +exports.fixupConfigRules = fixupConfigRules; +exports.fixupPluginRules = fixupPluginRules; +exports.fixupRule = fixupRule; +exports.includeIgnoreFile = includeIgnoreFile; diff --git a/node_modules/eslint-plugin-github/node_modules/@eslint/compat/dist/cjs/index.d.cts b/node_modules/eslint-plugin-github/node_modules/@eslint/compat/dist/cjs/index.d.cts new file mode 100644 index 0000000000..d5284613cb --- /dev/null +++ b/node_modules/eslint-plugin-github/node_modules/@eslint/compat/dist/cjs/index.d.cts @@ -0,0 +1,45 @@ +export type FlatConfig = import("eslint").Linter.Config; +export type FixupPluginDefinition = import("eslint").ESLint.Plugin; +export type FixupRuleDefinition = import("eslint").Rule.RuleModule; +export type FixupLegacyRuleDefinition = FixupRuleDefinition["create"]; +export type FixupConfig = import("eslint").Linter.Config; +export type FixupConfigArray = Array; +/** + * @fileoverview Ignore file utilities for the compat package. + * @author Nicholas C. Zakas + */ +/** @typedef {import("eslint").Linter.Config} FlatConfig */ +/** + * Converts an ESLint ignore pattern to a minimatch pattern. + * @param {string} pattern The .eslintignore or .gitignore pattern to convert. + * @returns {string} The converted pattern. + */ +export function convertIgnorePatternToMinimatch(pattern: string): string; +/** + * Takes the given configuration and creates a new configuration with all of the + * rules wrapped to provide the missing methods on the `context` object. + * @param {FixupConfigArray|FixupConfig} config The configuration to fix up. + * @returns {FixupConfigArray} The fixed-up configuration. + */ +export function fixupConfigRules(config: FixupConfigArray | FixupConfig): FixupConfigArray; +/** + * Takes the given plugin and creates a new plugin with all of the rules wrapped + * to provide the missing methods on the `context` object. + * @param {FixupPluginDefinition} plugin The plugin to fix up. + * @returns {FixupPluginDefinition} The fixed-up plugin. + */ +export function fixupPluginRules(plugin: FixupPluginDefinition): FixupPluginDefinition; +/** + * Takes the given rule and creates a new rule with the `create()` method wrapped + * to provide the missing methods on the `context` object. + * @param {FixupRuleDefinition|FixupLegacyRuleDefinition} ruleDefinition The rule to fix up. + * @returns {FixupRuleDefinition} The fixed-up rule. + */ +export function fixupRule(ruleDefinition: FixupRuleDefinition | FixupLegacyRuleDefinition): FixupRuleDefinition; +/** + * Reads an ignore file and returns an object with the ignore patterns. + * @param {string} ignoreFilePath The absolute path to the ignore file. + * @returns {FlatConfig} An object with an `ignores` property that is an array of ignore patterns. + * @throws {Error} If the ignore file path is not an absolute path. + */ +export function includeIgnoreFile(ignoreFilePath: string): FlatConfig; diff --git a/node_modules/eslint-plugin-github/node_modules/@eslint/compat/dist/esm/index.d.ts b/node_modules/eslint-plugin-github/node_modules/@eslint/compat/dist/esm/index.d.ts new file mode 100644 index 0000000000..d5284613cb --- /dev/null +++ b/node_modules/eslint-plugin-github/node_modules/@eslint/compat/dist/esm/index.d.ts @@ -0,0 +1,45 @@ +export type FlatConfig = import("eslint").Linter.Config; +export type FixupPluginDefinition = import("eslint").ESLint.Plugin; +export type FixupRuleDefinition = import("eslint").Rule.RuleModule; +export type FixupLegacyRuleDefinition = FixupRuleDefinition["create"]; +export type FixupConfig = import("eslint").Linter.Config; +export type FixupConfigArray = Array; +/** + * @fileoverview Ignore file utilities for the compat package. + * @author Nicholas C. Zakas + */ +/** @typedef {import("eslint").Linter.Config} FlatConfig */ +/** + * Converts an ESLint ignore pattern to a minimatch pattern. + * @param {string} pattern The .eslintignore or .gitignore pattern to convert. + * @returns {string} The converted pattern. + */ +export function convertIgnorePatternToMinimatch(pattern: string): string; +/** + * Takes the given configuration and creates a new configuration with all of the + * rules wrapped to provide the missing methods on the `context` object. + * @param {FixupConfigArray|FixupConfig} config The configuration to fix up. + * @returns {FixupConfigArray} The fixed-up configuration. + */ +export function fixupConfigRules(config: FixupConfigArray | FixupConfig): FixupConfigArray; +/** + * Takes the given plugin and creates a new plugin with all of the rules wrapped + * to provide the missing methods on the `context` object. + * @param {FixupPluginDefinition} plugin The plugin to fix up. + * @returns {FixupPluginDefinition} The fixed-up plugin. + */ +export function fixupPluginRules(plugin: FixupPluginDefinition): FixupPluginDefinition; +/** + * Takes the given rule and creates a new rule with the `create()` method wrapped + * to provide the missing methods on the `context` object. + * @param {FixupRuleDefinition|FixupLegacyRuleDefinition} ruleDefinition The rule to fix up. + * @returns {FixupRuleDefinition} The fixed-up rule. + */ +export function fixupRule(ruleDefinition: FixupRuleDefinition | FixupLegacyRuleDefinition): FixupRuleDefinition; +/** + * Reads an ignore file and returns an object with the ignore patterns. + * @param {string} ignoreFilePath The absolute path to the ignore file. + * @returns {FlatConfig} An object with an `ignores` property that is an array of ignore patterns. + * @throws {Error} If the ignore file path is not an absolute path. + */ +export function includeIgnoreFile(ignoreFilePath: string): FlatConfig; diff --git a/node_modules/eslint-plugin-github/node_modules/@eslint/compat/dist/esm/index.js b/node_modules/eslint-plugin-github/node_modules/@eslint/compat/dist/esm/index.js new file mode 100644 index 0000000000..878f2fc6af --- /dev/null +++ b/node_modules/eslint-plugin-github/node_modules/@eslint/compat/dist/esm/index.js @@ -0,0 +1,361 @@ +// @ts-self-types="./index.d.ts" +import fs from 'node:fs'; +import path from 'node:path'; + +/** + * @filedescription Functions to fix up rules to provide missing methods on the `context` object. + * @author Nicholas C. Zakas + */ + +//----------------------------------------------------------------------------- +// Types +//----------------------------------------------------------------------------- + +/** @typedef {import("eslint").ESLint.Plugin} FixupPluginDefinition */ +/** @typedef {import("eslint").Rule.RuleModule} FixupRuleDefinition */ +/** @typedef {FixupRuleDefinition["create"]} FixupLegacyRuleDefinition */ +/** @typedef {import("eslint").Linter.Config} FixupConfig */ +/** @typedef {Array} FixupConfigArray */ + +//----------------------------------------------------------------------------- +// Data +//----------------------------------------------------------------------------- + +/** + * The removed methods from the `context` object that need to be added back. + * The keys are the name of the method on the `context` object and the values + * are the name of the method on the `sourceCode` object. + * @type {Map} + */ +const removedMethodNames = new Map([ + ["getSource", "getText"], + ["getSourceLines", "getLines"], + ["getAllComments", "getAllComments"], + ["getDeclaredVariables", "getDeclaredVariables"], + ["getNodeByRangeIndex", "getNodeByRangeIndex"], + ["getCommentsBefore", "getCommentsBefore"], + ["getCommentsAfter", "getCommentsAfter"], + ["getCommentsInside", "getCommentsInside"], + ["getJSDocComment", "getJSDocComment"], + ["getFirstToken", "getFirstToken"], + ["getFirstTokens", "getFirstTokens"], + ["getLastToken", "getLastToken"], + ["getLastTokens", "getLastTokens"], + ["getTokenAfter", "getTokenAfter"], + ["getTokenBefore", "getTokenBefore"], + ["getTokenByRangeStart", "getTokenByRangeStart"], + ["getTokens", "getTokens"], + ["getTokensAfter", "getTokensAfter"], + ["getTokensBefore", "getTokensBefore"], + ["getTokensBetween", "getTokensBetween"], +]); + +/** + * Tracks the original rule definition and the fixed-up rule definition. + * @type {WeakMap} + */ +const fixedUpRuleReplacements = new WeakMap(); + +/** + * Tracks all of the fixed up rule definitions so we don't duplicate effort. + * @type {WeakSet} + */ +const fixedUpRules = new WeakSet(); + +/** + * Tracks the original plugin definition and the fixed-up plugin definition. + * @type {WeakMap} + */ +const fixedUpPluginReplacements = new WeakMap(); + +/** + * Tracks all of the fixed up plugin definitions so we don't duplicate effort. + * @type {WeakSet} + */ +const fixedUpPlugins = new WeakSet(); + +//----------------------------------------------------------------------------- +// Exports +//----------------------------------------------------------------------------- + +/** + * Takes the given rule and creates a new rule with the `create()` method wrapped + * to provide the missing methods on the `context` object. + * @param {FixupRuleDefinition|FixupLegacyRuleDefinition} ruleDefinition The rule to fix up. + * @returns {FixupRuleDefinition} The fixed-up rule. + */ +function fixupRule(ruleDefinition) { + // first check if we've already fixed up this rule + if (fixedUpRuleReplacements.has(ruleDefinition)) { + return fixedUpRuleReplacements.get(ruleDefinition); + } + + const isLegacyRule = typeof ruleDefinition === "function"; + + // check to see if this rule definition has already been fixed up + if (!isLegacyRule && fixedUpRules.has(ruleDefinition)) { + return ruleDefinition; + } + + const originalCreate = isLegacyRule + ? ruleDefinition + : ruleDefinition.create.bind(ruleDefinition); + + function ruleCreate(context) { + // if getScope is already there then no need to create old methods + if ("getScope" in context) { + return originalCreate(context); + } + + const sourceCode = context.sourceCode; + let currentNode = sourceCode.ast; + + const newContext = Object.assign(Object.create(context), { + parserServices: sourceCode.parserServices, + + /* + * The following methods rely on the current node in the traversal, + * so we need to add them manually. + */ + getScope() { + return sourceCode.getScope(currentNode); + }, + + getAncestors() { + return sourceCode.getAncestors(currentNode); + }, + + markVariableAsUsed(variable) { + sourceCode.markVariableAsUsed(variable, currentNode); + }, + }); + + // add passthrough methods + for (const [ + contextMethodName, + sourceCodeMethodName, + ] of removedMethodNames) { + newContext[contextMethodName] = + sourceCode[sourceCodeMethodName].bind(sourceCode); + } + + // freeze just like the original context + Object.freeze(newContext); + + /* + * Create the visitor object using the original create() method. + * This is necessary to ensure that the visitor object is created + * with the correct context. + */ + const visitor = originalCreate(newContext); + + /* + * Wrap each method in the visitor object to update the currentNode + * before calling the original method. This is necessary because the + * methods like `getScope()` need to know the current node. + */ + for (const [methodName, method] of Object.entries(visitor)) { + /* + * Node is the second argument to most code path methods, + * and the third argument for onCodePathSegmentLoop. + */ + if (methodName.startsWith("on")) { + // eslint-disable-next-line no-loop-func -- intentionally updating shared `currentNode` variable + visitor[methodName] = (...args) => { + currentNode = + args[methodName === "onCodePathSegmentLoop" ? 2 : 1]; + + return method.call(visitor, ...args); + }; + + continue; + } + + // eslint-disable-next-line no-loop-func -- intentionally updating shared `currentNode` variable + visitor[methodName] = (...args) => { + currentNode = args[0]; + + return method.call(visitor, ...args); + }; + } + + return visitor; + } + + const newRuleDefinition = { + ...(isLegacyRule ? undefined : ruleDefinition), + create: ruleCreate, + }; + + // copy `schema` property of function-style rule or top-level `schema` property of object-style rule into `meta` object + // @ts-ignore -- top-level `schema` property was not offically supported for object-style rules so it doesn't exist in types + const { schema } = ruleDefinition; + if (schema) { + if (!newRuleDefinition.meta) { + newRuleDefinition.meta = { schema }; + } else { + newRuleDefinition.meta = { + ...newRuleDefinition.meta, + // top-level `schema` had precedence over `meta.schema` so it's okay to overwrite `meta.schema` if it exists + schema, + }; + } + } + + // cache the fixed up rule + fixedUpRuleReplacements.set(ruleDefinition, newRuleDefinition); + fixedUpRules.add(newRuleDefinition); + + return newRuleDefinition; +} + +/** + * Takes the given plugin and creates a new plugin with all of the rules wrapped + * to provide the missing methods on the `context` object. + * @param {FixupPluginDefinition} plugin The plugin to fix up. + * @returns {FixupPluginDefinition} The fixed-up plugin. + */ +function fixupPluginRules(plugin) { + // first check if we've already fixed up this plugin + if (fixedUpPluginReplacements.has(plugin)) { + return fixedUpPluginReplacements.get(plugin); + } + + /* + * If the plugin has already been fixed up, or if the plugin + * doesn't have any rules, we can just return it. + */ + if (fixedUpPlugins.has(plugin) || !plugin.rules) { + return plugin; + } + + const newPlugin = { + ...plugin, + rules: Object.fromEntries( + Object.entries(plugin.rules).map(([ruleId, ruleDefinition]) => [ + ruleId, + fixupRule(ruleDefinition), + ]), + ), + }; + + // cache the fixed up plugin + fixedUpPluginReplacements.set(plugin, newPlugin); + fixedUpPlugins.add(newPlugin); + + return newPlugin; +} + +/** + * Takes the given configuration and creates a new configuration with all of the + * rules wrapped to provide the missing methods on the `context` object. + * @param {FixupConfigArray|FixupConfig} config The configuration to fix up. + * @returns {FixupConfigArray} The fixed-up configuration. + */ +function fixupConfigRules(config) { + const configs = Array.isArray(config) ? config : [config]; + + return configs.map(configItem => { + if (!configItem.plugins) { + return configItem; + } + + const newPlugins = Object.fromEntries( + Object.entries(configItem.plugins).map(([pluginName, plugin]) => [ + pluginName, + fixupPluginRules(plugin), + ]), + ); + + return { + ...configItem, + plugins: newPlugins, + }; + }); +} + +/** + * @fileoverview Ignore file utilities for the compat package. + * @author Nicholas C. Zakas + */ + + +//----------------------------------------------------------------------------- +// Types +//----------------------------------------------------------------------------- + +/** @typedef {import("eslint").Linter.Config} FlatConfig */ + +//----------------------------------------------------------------------------- +// Exports +//----------------------------------------------------------------------------- + +/** + * Converts an ESLint ignore pattern to a minimatch pattern. + * @param {string} pattern The .eslintignore or .gitignore pattern to convert. + * @returns {string} The converted pattern. + */ +function convertIgnorePatternToMinimatch(pattern) { + const isNegated = pattern.startsWith("!"); + const negatedPrefix = isNegated ? "!" : ""; + const patternToTest = (isNegated ? pattern.slice(1) : pattern).trimEnd(); + + // special cases + if (["", "**", "/**", "**/"].includes(patternToTest)) { + return `${negatedPrefix}${patternToTest}`; + } + + const firstIndexOfSlash = patternToTest.indexOf("/"); + + const matchEverywherePrefix = + firstIndexOfSlash < 0 || firstIndexOfSlash === patternToTest.length - 1 + ? "**/" + : ""; + + const patternWithoutLeadingSlash = + firstIndexOfSlash === 0 ? patternToTest.slice(1) : patternToTest; + + /* + * Escape `{` and `(` because in gitignore patterns they are just + * literal characters without any specific syntactic meaning, + * while in minimatch patterns they can form brace expansion or extglob syntax. + * + * For example, gitignore pattern `src/{a,b}.js` ignores file `src/{a,b}.js`. + * But, the same minimatch pattern `src/{a,b}.js` ignores files `src/a.js` and `src/b.js`. + * Minimatch pattern `src/\{a,b}.js` is equivalent to gitignore pattern `src/{a,b}.js`. + */ + const escapedPatternWithoutLeadingSlash = + patternWithoutLeadingSlash.replaceAll( + /(?=((?:\\.|[^{(])*))\1([{(])/guy, + "$1\\$2", + ); + + const matchInsideSuffix = patternToTest.endsWith("/**") ? "/*" : ""; + + return `${negatedPrefix}${matchEverywherePrefix}${escapedPatternWithoutLeadingSlash}${matchInsideSuffix}`; +} + +/** + * Reads an ignore file and returns an object with the ignore patterns. + * @param {string} ignoreFilePath The absolute path to the ignore file. + * @returns {FlatConfig} An object with an `ignores` property that is an array of ignore patterns. + * @throws {Error} If the ignore file path is not an absolute path. + */ +function includeIgnoreFile(ignoreFilePath) { + if (!path.isAbsolute(ignoreFilePath)) { + throw new Error("The ignore file location must be an absolute path."); + } + + const ignoreFile = fs.readFileSync(ignoreFilePath, "utf8"); + const lines = ignoreFile.split(/\r?\n/u); + + return { + name: "Imported .gitignore patterns", + ignores: lines + .map(line => line.trim()) + .filter(line => line && !line.startsWith("#")) + .map(convertIgnorePatternToMinimatch), + }; +} + +export { convertIgnorePatternToMinimatch, fixupConfigRules, fixupPluginRules, fixupRule, includeIgnoreFile }; diff --git a/node_modules/eslint-plugin-github/node_modules/@eslint/compat/package.json b/node_modules/eslint-plugin-github/node_modules/@eslint/compat/package.json new file mode 100644 index 0000000000..31117e3462 --- /dev/null +++ b/node_modules/eslint-plugin-github/node_modules/@eslint/compat/package.json @@ -0,0 +1,69 @@ +{ + "name": "@eslint/compat", + "version": "1.2.3", + "description": "Compatibility utilities for ESLint", + "type": "module", + "main": "dist/esm/index.js", + "types": "dist/esm/index.d.ts", + "exports": { + "require": { + "types": "./dist/cjs/index.d.cts", + "default": "./dist/cjs/index.cjs" + }, + "import": { + "types": "./dist/esm/index.d.ts", + "default": "./dist/esm/index.js" + } + }, + "files": [ + "dist" + ], + "publishConfig": { + "access": "public" + }, + "directories": { + "test": "tests" + }, + "scripts": { + "build:cts": "node -e \"fs.copyFileSync('dist/esm/index.d.ts', 'dist/cjs/index.d.cts')\"", + "build": "rollup -c && tsc -p tsconfig.esm.json && npm run build:cts", + "test:jsr": "npx jsr@latest publish --dry-run", + "test": "mocha tests/*.js", + "test:coverage": "c8 npm test" + }, + "repository": { + "type": "git", + "url": "git+https://github.com/eslint/rewrite.git" + }, + "keywords": [ + "eslint", + "compatibility", + "eslintplugin", + "eslint-plugin" + ], + "author": "Nicholas C. Zakas", + "license": "Apache-2.0", + "bugs": { + "url": "https://github.com/eslint/rewrite/issues" + }, + "homepage": "https://github.com/eslint/rewrite#readme", + "devDependencies": { + "@eslint/core": "^0.9.0", + "c8": "^9.1.0", + "eslint": "^9.11.0", + "mocha": "^10.4.0", + "rollup": "^4.16.2", + "typescript": "^5.4.5" + }, + "peerDependencies": { + "eslint": "^9.10.0" + }, + "peerDependenciesMeta": { + "eslint": { + "optional": true + } + }, + "engines": { + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + } +} diff --git a/node_modules/eslint-plugin-github/node_modules/globals/globals.json b/node_modules/eslint-plugin-github/node_modules/globals/globals.json new file mode 100644 index 0000000000..fd25e3f029 --- /dev/null +++ b/node_modules/eslint-plugin-github/node_modules/globals/globals.json @@ -0,0 +1,2972 @@ +{ + "amd": { + "define": false, + "require": false + }, + "applescript": { + "$": false, + "Application": false, + "Automation": false, + "console": false, + "delay": false, + "Library": false, + "ObjC": false, + "ObjectSpecifier": false, + "Path": false, + "Progress": false, + "Ref": false + }, + "atomtest": { + "advanceClock": false, + "atom": false, + "fakeClearInterval": false, + "fakeClearTimeout": false, + "fakeSetInterval": false, + "fakeSetTimeout": false, + "resetTimeouts": false, + "waitsForPromise": false + }, + "browser": { + "AbortController": false, + "AbortSignal": false, + "AbsoluteOrientationSensor": false, + "AbstractRange": false, + "Accelerometer": false, + "addEventListener": false, + "ai": false, + "AI": false, + "AITextSession": false, + "alert": false, + "AnalyserNode": false, + "Animation": false, + "AnimationEffect": false, + "AnimationEvent": false, + "AnimationPlaybackEvent": false, + "AnimationTimeline": false, + "atob": false, + "Attr": false, + "Audio": false, + "AudioBuffer": false, + "AudioBufferSourceNode": false, + "AudioContext": false, + "AudioData": false, + "AudioDecoder": false, + "AudioDestinationNode": false, + "AudioEncoder": false, + "AudioListener": false, + "AudioNode": false, + "AudioParam": false, + "AudioParamMap": false, + "AudioProcessingEvent": false, + "AudioScheduledSourceNode": false, + "AudioSinkInfo": false, + "AudioWorklet": false, + "AudioWorkletGlobalScope": false, + "AudioWorkletNode": false, + "AudioWorkletProcessor": false, + "AuthenticatorAssertionResponse": false, + "AuthenticatorAttestationResponse": false, + "AuthenticatorResponse": false, + "BackgroundFetchManager": false, + "BackgroundFetchRecord": false, + "BackgroundFetchRegistration": false, + "BarcodeDetector": false, + "BarProp": false, + "BaseAudioContext": false, + "BatteryManager": false, + "BeforeUnloadEvent": false, + "BiquadFilterNode": false, + "Blob": false, + "BlobEvent": false, + "Bluetooth": false, + "BluetoothCharacteristicProperties": false, + "BluetoothDevice": false, + "BluetoothRemoteGATTCharacteristic": false, + "BluetoothRemoteGATTDescriptor": false, + "BluetoothRemoteGATTServer": false, + "BluetoothRemoteGATTService": false, + "BluetoothUUID": false, + "blur": false, + "BroadcastChannel": false, + "BrowserCaptureMediaStreamTrack": false, + "btoa": false, + "ByteLengthQueuingStrategy": false, + "Cache": false, + "caches": false, + "CacheStorage": false, + "cancelAnimationFrame": false, + "cancelIdleCallback": false, + "CanvasCaptureMediaStream": false, + "CanvasCaptureMediaStreamTrack": false, + "CanvasGradient": false, + "CanvasPattern": false, + "CanvasRenderingContext2D": false, + "CaptureController": false, + "CaretPosition": false, + "CDATASection": false, + "ChannelMergerNode": false, + "ChannelSplitterNode": false, + "ChapterInformation": false, + "CharacterBoundsUpdateEvent": false, + "CharacterData": false, + "clearInterval": false, + "clearTimeout": false, + "clientInformation": false, + "Clipboard": false, + "ClipboardEvent": false, + "ClipboardItem": false, + "close": false, + "closed": false, + "CloseEvent": false, + "CloseWatcher": false, + "Comment": false, + "CompositionEvent": false, + "CompressionStream": false, + "confirm": false, + "console": false, + "ConstantSourceNode": false, + "ContentVisibilityAutoStateChangeEvent": false, + "ConvolverNode": false, + "CookieChangeEvent": false, + "CookieDeprecationLabel": false, + "cookieStore": false, + "CookieStore": false, + "CookieStoreManager": false, + "CountQueuingStrategy": false, + "createImageBitmap": false, + "Credential": false, + "credentialless": false, + "CredentialsContainer": false, + "CropTarget": false, + "crossOriginIsolated": false, + "crypto": false, + "Crypto": false, + "CryptoKey": false, + "CSS": false, + "CSSAnimation": false, + "CSSConditionRule": false, + "CSSContainerRule": false, + "CSSCounterStyleRule": false, + "CSSFontFaceRule": false, + "CSSFontFeatureValuesRule": false, + "CSSFontPaletteValuesRule": false, + "CSSGroupingRule": false, + "CSSImageValue": false, + "CSSImportRule": false, + "CSSKeyframeRule": false, + "CSSKeyframesRule": false, + "CSSKeywordValue": false, + "CSSLayerBlockRule": false, + "CSSLayerStatementRule": false, + "CSSMathClamp": false, + "CSSMathInvert": false, + "CSSMathMax": false, + "CSSMathMin": false, + "CSSMathNegate": false, + "CSSMathProduct": false, + "CSSMathSum": false, + "CSSMathValue": false, + "CSSMatrixComponent": false, + "CSSMediaRule": false, + "CSSNamespaceRule": false, + "CSSNestedDeclarations": false, + "CSSNumericArray": false, + "CSSNumericValue": false, + "CSSPageDescriptors": false, + "CSSPageRule": false, + "CSSPerspective": false, + "CSSPositionTryDescriptors": false, + "CSSPositionTryRule": false, + "CSSPositionValue": false, + "CSSPropertyRule": false, + "CSSRotate": false, + "CSSRule": false, + "CSSRuleList": false, + "CSSScale": false, + "CSSScopeRule": false, + "CSSSkew": false, + "CSSSkewX": false, + "CSSSkewY": false, + "CSSStartingStyleRule": false, + "CSSStyleDeclaration": false, + "CSSStyleRule": false, + "CSSStyleSheet": false, + "CSSStyleValue": false, + "CSSSupportsRule": false, + "CSSTransformComponent": false, + "CSSTransformValue": false, + "CSSTransition": false, + "CSSTranslate": false, + "CSSUnitValue": false, + "CSSUnparsedValue": false, + "CSSVariableReferenceValue": false, + "CSSViewTransitionRule": false, + "currentFrame": false, + "currentTime": false, + "CustomElementRegistry": false, + "customElements": false, + "CustomEvent": false, + "CustomStateSet": false, + "DataTransfer": false, + "DataTransferItem": false, + "DataTransferItemList": false, + "DecompressionStream": false, + "DelayNode": false, + "DelegatedInkTrailPresenter": false, + "DeviceMotionEvent": false, + "DeviceMotionEventAcceleration": false, + "DeviceMotionEventRotationRate": false, + "DeviceOrientationEvent": false, + "devicePixelRatio": false, + "dispatchEvent": false, + "document": false, + "Document": false, + "DocumentFragment": false, + "documentPictureInPicture": false, + "DocumentPictureInPicture": false, + "DocumentPictureInPictureEvent": false, + "DocumentTimeline": false, + "DocumentType": false, + "DOMError": false, + "DOMException": false, + "DOMImplementation": false, + "DOMMatrix": false, + "DOMMatrixReadOnly": false, + "DOMParser": false, + "DOMPoint": false, + "DOMPointReadOnly": false, + "DOMQuad": false, + "DOMRect": false, + "DOMRectList": false, + "DOMRectReadOnly": false, + "DOMStringList": false, + "DOMStringMap": false, + "DOMTokenList": false, + "DragEvent": false, + "DynamicsCompressorNode": false, + "EditContext": false, + "Element": false, + "ElementInternals": false, + "EncodedAudioChunk": false, + "EncodedVideoChunk": false, + "ErrorEvent": false, + "event": false, + "Event": false, + "EventCounts": false, + "EventSource": false, + "EventTarget": false, + "external": false, + "External": false, + "EyeDropper": false, + "FeaturePolicy": false, + "FederatedCredential": false, + "fence": false, + "Fence": false, + "FencedFrameConfig": false, + "fetch": false, + "fetchLater": false, + "FetchLaterResult": false, + "File": false, + "FileList": false, + "FileReader": false, + "FileSystem": false, + "FileSystemDirectoryEntry": false, + "FileSystemDirectoryHandle": false, + "FileSystemDirectoryReader": false, + "FileSystemEntry": false, + "FileSystemFileEntry": false, + "FileSystemFileHandle": false, + "FileSystemHandle": false, + "FileSystemWritableFileStream": false, + "find": false, + "Float16Array": false, + "focus": false, + "FocusEvent": false, + "FontData": false, + "FontFace": false, + "FontFaceSet": false, + "FontFaceSetLoadEvent": false, + "FormData": false, + "FormDataEvent": false, + "FragmentDirective": false, + "frameElement": false, + "frames": false, + "GainNode": false, + "Gamepad": false, + "GamepadAxisMoveEvent": false, + "GamepadButton": false, + "GamepadButtonEvent": false, + "GamepadEvent": false, + "GamepadHapticActuator": false, + "GamepadPose": false, + "Geolocation": false, + "GeolocationCoordinates": false, + "GeolocationPosition": false, + "GeolocationPositionError": false, + "getComputedStyle": false, + "getScreenDetails": false, + "getSelection": false, + "GPU": false, + "GPUAdapter": false, + "GPUAdapterInfo": false, + "GPUBindGroup": false, + "GPUBindGroupLayout": false, + "GPUBuffer": false, + "GPUBufferUsage": false, + "GPUCanvasContext": false, + "GPUColorWrite": false, + "GPUCommandBuffer": false, + "GPUCommandEncoder": false, + "GPUCompilationInfo": false, + "GPUCompilationMessage": false, + "GPUComputePassEncoder": false, + "GPUComputePipeline": false, + "GPUDevice": false, + "GPUDeviceLostInfo": false, + "GPUError": false, + "GPUExternalTexture": false, + "GPUInternalError": false, + "GPUMapMode": false, + "GPUOutOfMemoryError": false, + "GPUPipelineError": false, + "GPUPipelineLayout": false, + "GPUQuerySet": false, + "GPUQueue": false, + "GPURenderBundle": false, + "GPURenderBundleEncoder": false, + "GPURenderPassEncoder": false, + "GPURenderPipeline": false, + "GPUSampler": false, + "GPUShaderModule": false, + "GPUShaderStage": false, + "GPUSupportedFeatures": false, + "GPUSupportedLimits": false, + "GPUTexture": false, + "GPUTextureUsage": false, + "GPUTextureView": false, + "GPUUncapturedErrorEvent": false, + "GPUValidationError": false, + "GravitySensor": false, + "Gyroscope": false, + "HashChangeEvent": false, + "Headers": false, + "HID": false, + "HIDConnectionEvent": false, + "HIDDevice": false, + "HIDInputReportEvent": false, + "Highlight": false, + "HighlightRegistry": false, + "history": false, + "History": false, + "HTMLAllCollection": false, + "HTMLAnchorElement": false, + "HTMLAreaElement": false, + "HTMLAudioElement": false, + "HTMLBaseElement": false, + "HTMLBodyElement": false, + "HTMLBRElement": false, + "HTMLButtonElement": false, + "HTMLCanvasElement": false, + "HTMLCollection": false, + "HTMLDataElement": false, + "HTMLDataListElement": false, + "HTMLDetailsElement": false, + "HTMLDialogElement": false, + "HTMLDirectoryElement": false, + "HTMLDivElement": false, + "HTMLDListElement": false, + "HTMLDocument": false, + "HTMLElement": false, + "HTMLEmbedElement": false, + "HTMLFencedFrameElement": false, + "HTMLFieldSetElement": false, + "HTMLFontElement": false, + "HTMLFormControlsCollection": false, + "HTMLFormElement": false, + "HTMLFrameElement": false, + "HTMLFrameSetElement": false, + "HTMLHeadElement": false, + "HTMLHeadingElement": false, + "HTMLHRElement": false, + "HTMLHtmlElement": false, + "HTMLIFrameElement": false, + "HTMLImageElement": false, + "HTMLInputElement": false, + "HTMLLabelElement": false, + "HTMLLegendElement": false, + "HTMLLIElement": false, + "HTMLLinkElement": false, + "HTMLMapElement": false, + "HTMLMarqueeElement": false, + "HTMLMediaElement": false, + "HTMLMenuElement": false, + "HTMLMetaElement": false, + "HTMLMeterElement": false, + "HTMLModElement": false, + "HTMLObjectElement": false, + "HTMLOListElement": false, + "HTMLOptGroupElement": false, + "HTMLOptionElement": false, + "HTMLOptionsCollection": false, + "HTMLOutputElement": false, + "HTMLParagraphElement": false, + "HTMLParamElement": false, + "HTMLPictureElement": false, + "HTMLPreElement": false, + "HTMLProgressElement": false, + "HTMLQuoteElement": false, + "HTMLScriptElement": false, + "HTMLSelectElement": false, + "HTMLSlotElement": false, + "HTMLSourceElement": false, + "HTMLSpanElement": false, + "HTMLStyleElement": false, + "HTMLTableCaptionElement": false, + "HTMLTableCellElement": false, + "HTMLTableColElement": false, + "HTMLTableElement": false, + "HTMLTableRowElement": false, + "HTMLTableSectionElement": false, + "HTMLTemplateElement": false, + "HTMLTextAreaElement": false, + "HTMLTimeElement": false, + "HTMLTitleElement": false, + "HTMLTrackElement": false, + "HTMLUListElement": false, + "HTMLUnknownElement": false, + "HTMLVideoElement": false, + "IDBCursor": false, + "IDBCursorWithValue": false, + "IDBDatabase": false, + "IDBFactory": false, + "IDBIndex": false, + "IDBKeyRange": false, + "IDBObjectStore": false, + "IDBOpenDBRequest": false, + "IDBRequest": false, + "IDBTransaction": false, + "IDBVersionChangeEvent": false, + "IdentityCredential": false, + "IdentityCredentialError": false, + "IdentityProvider": false, + "IdleDeadline": false, + "IdleDetector": false, + "IIRFilterNode": false, + "Image": false, + "ImageBitmap": false, + "ImageBitmapRenderingContext": false, + "ImageCapture": false, + "ImageData": false, + "ImageDecoder": false, + "ImageTrack": false, + "ImageTrackList": false, + "indexedDB": false, + "Ink": false, + "innerHeight": false, + "innerWidth": false, + "InputDeviceCapabilities": false, + "InputDeviceInfo": false, + "InputEvent": false, + "IntersectionObserver": false, + "IntersectionObserverEntry": false, + "isSecureContext": false, + "Keyboard": false, + "KeyboardEvent": false, + "KeyboardLayoutMap": false, + "KeyframeEffect": false, + "LargestContentfulPaint": false, + "LaunchParams": false, + "launchQueue": false, + "LaunchQueue": false, + "LayoutShift": false, + "LayoutShiftAttribution": false, + "length": false, + "LinearAccelerationSensor": false, + "localStorage": false, + "location": true, + "Location": false, + "locationbar": false, + "Lock": false, + "LockManager": false, + "matchMedia": false, + "MathMLElement": false, + "MediaCapabilities": false, + "MediaCapabilitiesInfo": false, + "MediaDeviceInfo": false, + "MediaDevices": false, + "MediaElementAudioSourceNode": false, + "MediaEncryptedEvent": false, + "MediaError": false, + "MediaKeyError": false, + "MediaKeyMessageEvent": false, + "MediaKeys": false, + "MediaKeySession": false, + "MediaKeyStatusMap": false, + "MediaKeySystemAccess": false, + "MediaList": false, + "MediaMetadata": false, + "MediaQueryList": false, + "MediaQueryListEvent": false, + "MediaRecorder": false, + "MediaRecorderErrorEvent": false, + "MediaSession": false, + "MediaSource": false, + "MediaSourceHandle": false, + "MediaStream": false, + "MediaStreamAudioDestinationNode": false, + "MediaStreamAudioSourceNode": false, + "MediaStreamEvent": false, + "MediaStreamTrack": false, + "MediaStreamTrackAudioSourceNode": false, + "MediaStreamTrackAudioStats": false, + "MediaStreamTrackEvent": false, + "MediaStreamTrackGenerator": false, + "MediaStreamTrackProcessor": false, + "MediaStreamTrackVideoStats": false, + "menubar": false, + "MessageChannel": false, + "MessageEvent": false, + "MessagePort": false, + "MIDIAccess": false, + "MIDIConnectionEvent": false, + "MIDIInput": false, + "MIDIInputMap": false, + "MIDIMessageEvent": false, + "MIDIOutput": false, + "MIDIOutputMap": false, + "MIDIPort": false, + "MimeType": false, + "MimeTypeArray": false, + "model": false, + "ModelGenericSession": false, + "ModelManager": false, + "MouseEvent": false, + "moveBy": false, + "moveTo": false, + "MutationEvent": false, + "MutationObserver": false, + "MutationRecord": false, + "name": false, + "NamedNodeMap": false, + "NavigateEvent": false, + "navigation": false, + "Navigation": false, + "NavigationActivation": false, + "NavigationCurrentEntryChangeEvent": false, + "NavigationDestination": false, + "NavigationHistoryEntry": false, + "NavigationPreloadManager": false, + "NavigationTransition": false, + "navigator": false, + "Navigator": false, + "NavigatorLogin": false, + "NavigatorManagedData": false, + "NavigatorUAData": false, + "NetworkInformation": false, + "Node": false, + "NodeFilter": false, + "NodeIterator": false, + "NodeList": false, + "Notification": false, + "NotifyPaintEvent": false, + "NotRestoredReasonDetails": false, + "NotRestoredReasons": false, + "OfflineAudioCompletionEvent": false, + "OfflineAudioContext": false, + "offscreenBuffering": false, + "OffscreenCanvas": false, + "OffscreenCanvasRenderingContext2D": false, + "onabort": true, + "onafterprint": true, + "onanimationcancel": true, + "onanimationend": true, + "onanimationiteration": true, + "onanimationstart": true, + "onappinstalled": true, + "onauxclick": true, + "onbeforeinput": true, + "onbeforeinstallprompt": true, + "onbeforematch": true, + "onbeforeprint": true, + "onbeforetoggle": true, + "onbeforeunload": true, + "onbeforexrselect": true, + "onblur": true, + "oncancel": true, + "oncanplay": true, + "oncanplaythrough": true, + "onchange": true, + "onclick": true, + "onclose": true, + "oncontentvisibilityautostatechange": true, + "oncontextlost": true, + "oncontextmenu": true, + "oncontextrestored": true, + "oncopy": true, + "oncuechange": true, + "oncut": true, + "ondblclick": true, + "ondevicemotion": true, + "ondeviceorientation": true, + "ondeviceorientationabsolute": true, + "ondrag": true, + "ondragend": true, + "ondragenter": true, + "ondragleave": true, + "ondragover": true, + "ondragstart": true, + "ondrop": true, + "ondurationchange": true, + "onemptied": true, + "onended": true, + "onerror": true, + "onfocus": true, + "onformdata": true, + "ongamepadconnected": true, + "ongamepaddisconnected": true, + "ongotpointercapture": true, + "onhashchange": true, + "oninput": true, + "oninvalid": true, + "onkeydown": true, + "onkeypress": true, + "onkeyup": true, + "onlanguagechange": true, + "onload": true, + "onloadeddata": true, + "onloadedmetadata": true, + "onloadstart": true, + "onlostpointercapture": true, + "onmessage": true, + "onmessageerror": true, + "onmousedown": true, + "onmouseenter": true, + "onmouseleave": true, + "onmousemove": true, + "onmouseout": true, + "onmouseover": true, + "onmouseup": true, + "onmousewheel": true, + "onoffline": true, + "ononline": true, + "onpagehide": true, + "onpagereveal": true, + "onpageshow": true, + "onpageswap": true, + "onpaste": true, + "onpause": true, + "onplay": true, + "onplaying": true, + "onpointercancel": true, + "onpointerdown": true, + "onpointerenter": true, + "onpointerleave": true, + "onpointermove": true, + "onpointerout": true, + "onpointerover": true, + "onpointerrawupdate": true, + "onpointerup": true, + "onpopstate": true, + "onprogress": true, + "onratechange": true, + "onrejectionhandled": true, + "onreset": true, + "onresize": true, + "onscroll": true, + "onscrollend": true, + "onscrollsnapchange": true, + "onscrollsnapchanging": true, + "onsearch": true, + "onsecuritypolicyviolation": true, + "onseeked": true, + "onseeking": true, + "onselect": true, + "onselectionchange": true, + "onselectstart": true, + "onslotchange": true, + "onstalled": true, + "onstorage": true, + "onsubmit": true, + "onsuspend": true, + "ontimeupdate": true, + "ontoggle": true, + "ontransitioncancel": true, + "ontransitionend": true, + "ontransitionrun": true, + "ontransitionstart": true, + "onunhandledrejection": true, + "onunload": true, + "onvolumechange": true, + "onwaiting": true, + "onwheel": true, + "open": false, + "opener": false, + "Option": false, + "OrientationSensor": false, + "origin": false, + "originAgentCluster": false, + "OscillatorNode": false, + "OTPCredential": false, + "outerHeight": false, + "outerWidth": false, + "OverconstrainedError": false, + "PageRevealEvent": false, + "PageSwapEvent": false, + "PageTransitionEvent": false, + "pageXOffset": false, + "pageYOffset": false, + "PannerNode": false, + "parent": false, + "PasswordCredential": false, + "Path2D": false, + "PaymentAddress": false, + "PaymentManager": false, + "PaymentMethodChangeEvent": false, + "PaymentRequest": false, + "PaymentRequestUpdateEvent": false, + "PaymentResponse": false, + "performance": false, + "Performance": false, + "PerformanceElementTiming": false, + "PerformanceEntry": false, + "PerformanceEventTiming": false, + "PerformanceLongAnimationFrameTiming": false, + "PerformanceLongTaskTiming": false, + "PerformanceMark": false, + "PerformanceMeasure": false, + "PerformanceNavigation": false, + "PerformanceNavigationTiming": false, + "PerformanceObserver": false, + "PerformanceObserverEntryList": false, + "PerformancePaintTiming": false, + "PerformanceResourceTiming": false, + "PerformanceScriptTiming": false, + "PerformanceServerTiming": false, + "PerformanceTiming": false, + "PeriodicSyncManager": false, + "PeriodicWave": false, + "Permissions": false, + "PermissionStatus": false, + "PERSISTENT": false, + "personalbar": false, + "PictureInPictureEvent": false, + "PictureInPictureWindow": false, + "Plugin": false, + "PluginArray": false, + "PointerEvent": false, + "PopStateEvent": false, + "postMessage": false, + "Presentation": false, + "PresentationAvailability": false, + "PresentationConnection": false, + "PresentationConnectionAvailableEvent": false, + "PresentationConnectionCloseEvent": false, + "PresentationConnectionList": false, + "PresentationReceiver": false, + "PresentationRequest": false, + "PressureObserver": false, + "PressureRecord": false, + "print": false, + "ProcessingInstruction": false, + "Profiler": false, + "ProgressEvent": false, + "PromiseRejectionEvent": false, + "prompt": false, + "ProtectedAudience": false, + "PublicKeyCredential": false, + "PushManager": false, + "PushSubscription": false, + "PushSubscriptionOptions": false, + "queryLocalFonts": false, + "queueMicrotask": false, + "RadioNodeList": false, + "Range": false, + "ReadableByteStreamController": false, + "ReadableStream": false, + "ReadableStreamBYOBReader": false, + "ReadableStreamBYOBRequest": false, + "ReadableStreamDefaultController": false, + "ReadableStreamDefaultReader": false, + "registerProcessor": false, + "RelativeOrientationSensor": false, + "RemotePlayback": false, + "removeEventListener": false, + "reportError": false, + "ReportingObserver": false, + "Request": false, + "requestAnimationFrame": false, + "requestIdleCallback": false, + "resizeBy": false, + "ResizeObserver": false, + "ResizeObserverEntry": false, + "ResizeObserverSize": false, + "resizeTo": false, + "Response": false, + "RTCCertificate": false, + "RTCDataChannel": false, + "RTCDataChannelEvent": false, + "RTCDtlsTransport": false, + "RTCDTMFSender": false, + "RTCDTMFToneChangeEvent": false, + "RTCEncodedAudioFrame": false, + "RTCEncodedVideoFrame": false, + "RTCError": false, + "RTCErrorEvent": false, + "RTCIceCandidate": false, + "RTCIceTransport": false, + "RTCPeerConnection": false, + "RTCPeerConnectionIceErrorEvent": false, + "RTCPeerConnectionIceEvent": false, + "RTCRtpReceiver": false, + "RTCRtpScriptTransform": false, + "RTCRtpSender": false, + "RTCRtpTransceiver": false, + "RTCSctpTransport": false, + "RTCSessionDescription": false, + "RTCStatsReport": false, + "RTCTrackEvent": false, + "sampleRate": false, + "scheduler": false, + "Scheduler": false, + "Scheduling": false, + "screen": false, + "Screen": false, + "ScreenDetailed": false, + "ScreenDetails": false, + "screenLeft": false, + "ScreenOrientation": false, + "screenTop": false, + "screenX": false, + "screenY": false, + "ScriptProcessorNode": false, + "scroll": false, + "scrollbars": false, + "scrollBy": false, + "ScrollTimeline": false, + "scrollTo": false, + "scrollX": false, + "scrollY": false, + "SecurityPolicyViolationEvent": false, + "Selection": false, + "self": false, + "Sensor": false, + "SensorErrorEvent": false, + "Serial": false, + "SerialPort": false, + "ServiceWorker": false, + "ServiceWorkerContainer": false, + "ServiceWorkerRegistration": false, + "sessionStorage": false, + "setInterval": false, + "setTimeout": false, + "ShadowRoot": false, + "sharedStorage": false, + "SharedStorage": false, + "SharedStorageWorklet": false, + "SharedWorker": false, + "showDirectoryPicker": false, + "showOpenFilePicker": false, + "showSaveFilePicker": false, + "SnapEvent": false, + "SourceBuffer": false, + "SourceBufferList": false, + "speechSynthesis": false, + "SpeechSynthesis": false, + "SpeechSynthesisErrorEvent": false, + "SpeechSynthesisEvent": false, + "SpeechSynthesisUtterance": false, + "SpeechSynthesisVoice": false, + "StaticRange": false, + "status": false, + "statusbar": false, + "StereoPannerNode": false, + "stop": false, + "Storage": false, + "StorageBucket": false, + "StorageBucketManager": false, + "StorageEvent": false, + "StorageManager": false, + "structuredClone": false, + "styleMedia": false, + "StylePropertyMap": false, + "StylePropertyMapReadOnly": false, + "StyleSheet": false, + "StyleSheetList": false, + "SubmitEvent": false, + "SubtleCrypto": false, + "SVGAElement": false, + "SVGAngle": false, + "SVGAnimatedAngle": false, + "SVGAnimatedBoolean": false, + "SVGAnimatedEnumeration": false, + "SVGAnimatedInteger": false, + "SVGAnimatedLength": false, + "SVGAnimatedLengthList": false, + "SVGAnimatedNumber": false, + "SVGAnimatedNumberList": false, + "SVGAnimatedPreserveAspectRatio": false, + "SVGAnimatedRect": false, + "SVGAnimatedString": false, + "SVGAnimatedTransformList": false, + "SVGAnimateElement": false, + "SVGAnimateMotionElement": false, + "SVGAnimateTransformElement": false, + "SVGAnimationElement": false, + "SVGCircleElement": false, + "SVGClipPathElement": false, + "SVGComponentTransferFunctionElement": false, + "SVGDefsElement": false, + "SVGDescElement": false, + "SVGElement": false, + "SVGEllipseElement": false, + "SVGFEBlendElement": false, + "SVGFEColorMatrixElement": false, + "SVGFEComponentTransferElement": false, + "SVGFECompositeElement": false, + "SVGFEConvolveMatrixElement": false, + "SVGFEDiffuseLightingElement": false, + "SVGFEDisplacementMapElement": false, + "SVGFEDistantLightElement": false, + "SVGFEDropShadowElement": false, + "SVGFEFloodElement": false, + "SVGFEFuncAElement": false, + "SVGFEFuncBElement": false, + "SVGFEFuncGElement": false, + "SVGFEFuncRElement": false, + "SVGFEGaussianBlurElement": false, + "SVGFEImageElement": false, + "SVGFEMergeElement": false, + "SVGFEMergeNodeElement": false, + "SVGFEMorphologyElement": false, + "SVGFEOffsetElement": false, + "SVGFEPointLightElement": false, + "SVGFESpecularLightingElement": false, + "SVGFESpotLightElement": false, + "SVGFETileElement": false, + "SVGFETurbulenceElement": false, + "SVGFilterElement": false, + "SVGForeignObjectElement": false, + "SVGGElement": false, + "SVGGeometryElement": false, + "SVGGradientElement": false, + "SVGGraphicsElement": false, + "SVGImageElement": false, + "SVGLength": false, + "SVGLengthList": false, + "SVGLinearGradientElement": false, + "SVGLineElement": false, + "SVGMarkerElement": false, + "SVGMaskElement": false, + "SVGMatrix": false, + "SVGMetadataElement": false, + "SVGMPathElement": false, + "SVGNumber": false, + "SVGNumberList": false, + "SVGPathElement": false, + "SVGPatternElement": false, + "SVGPoint": false, + "SVGPointList": false, + "SVGPolygonElement": false, + "SVGPolylineElement": false, + "SVGPreserveAspectRatio": false, + "SVGRadialGradientElement": false, + "SVGRect": false, + "SVGRectElement": false, + "SVGScriptElement": false, + "SVGSetElement": false, + "SVGStopElement": false, + "SVGStringList": false, + "SVGStyleElement": false, + "SVGSVGElement": false, + "SVGSwitchElement": false, + "SVGSymbolElement": false, + "SVGTextContentElement": false, + "SVGTextElement": false, + "SVGTextPathElement": false, + "SVGTextPositioningElement": false, + "SVGTitleElement": false, + "SVGTransform": false, + "SVGTransformList": false, + "SVGTSpanElement": false, + "SVGUnitTypes": false, + "SVGUseElement": false, + "SVGViewElement": false, + "SyncManager": false, + "TaskAttributionTiming": false, + "TaskController": false, + "TaskPriorityChangeEvent": false, + "TaskSignal": false, + "TEMPORARY": false, + "Text": false, + "TextDecoder": false, + "TextDecoderStream": false, + "TextEncoder": false, + "TextEncoderStream": false, + "TextEvent": false, + "TextFormat": false, + "TextFormatUpdateEvent": false, + "TextMetrics": false, + "TextTrack": false, + "TextTrackCue": false, + "TextTrackCueList": false, + "TextTrackList": false, + "TextUpdateEvent": false, + "TimeEvent": false, + "TimeRanges": false, + "ToggleEvent": false, + "toolbar": false, + "top": false, + "Touch": false, + "TouchEvent": false, + "TouchList": false, + "TrackEvent": false, + "TransformStream": false, + "TransformStreamDefaultController": false, + "TransitionEvent": false, + "TreeWalker": false, + "TrustedHTML": false, + "TrustedScript": false, + "TrustedScriptURL": false, + "TrustedTypePolicy": false, + "TrustedTypePolicyFactory": false, + "trustedTypes": false, + "UIEvent": false, + "URL": false, + "URLPattern": false, + "URLSearchParams": false, + "USB": false, + "USBAlternateInterface": false, + "USBConfiguration": false, + "USBConnectionEvent": false, + "USBDevice": false, + "USBEndpoint": false, + "USBInterface": false, + "USBInTransferResult": false, + "USBIsochronousInTransferPacket": false, + "USBIsochronousInTransferResult": false, + "USBIsochronousOutTransferPacket": false, + "USBIsochronousOutTransferResult": false, + "USBOutTransferResult": false, + "UserActivation": false, + "ValidityState": false, + "VideoColorSpace": false, + "VideoDecoder": false, + "VideoEncoder": false, + "VideoFrame": false, + "VideoPlaybackQuality": false, + "ViewTimeline": false, + "ViewTransition": false, + "ViewTransitionTypeSet": false, + "VirtualKeyboard": false, + "VirtualKeyboardGeometryChangeEvent": false, + "VisibilityStateEntry": false, + "visualViewport": false, + "VisualViewport": false, + "VTTCue": false, + "VTTRegion": false, + "WakeLock": false, + "WakeLockSentinel": false, + "WaveShaperNode": false, + "WebAssembly": false, + "WebGL2RenderingContext": false, + "WebGLActiveInfo": false, + "WebGLBuffer": false, + "WebGLContextEvent": false, + "WebGLFramebuffer": false, + "WebGLObject": false, + "WebGLProgram": false, + "WebGLQuery": false, + "WebGLRenderbuffer": false, + "WebGLRenderingContext": false, + "WebGLSampler": false, + "WebGLShader": false, + "WebGLShaderPrecisionFormat": false, + "WebGLSync": false, + "WebGLTexture": false, + "WebGLTransformFeedback": false, + "WebGLUniformLocation": false, + "WebGLVertexArrayObject": false, + "WebSocket": false, + "WebSocketError": false, + "WebSocketStream": false, + "WebTransport": false, + "WebTransportBidirectionalStream": false, + "WebTransportDatagramDuplexStream": false, + "WebTransportError": false, + "WebTransportReceiveStream": false, + "WebTransportSendStream": false, + "WGSLLanguageFeatures": false, + "WheelEvent": false, + "window": false, + "Window": false, + "WindowControlsOverlay": false, + "WindowControlsOverlayGeometryChangeEvent": false, + "Worker": false, + "Worklet": false, + "WorkletGlobalScope": false, + "WritableStream": false, + "WritableStreamDefaultController": false, + "WritableStreamDefaultWriter": false, + "XMLDocument": false, + "XMLHttpRequest": false, + "XMLHttpRequestEventTarget": false, + "XMLHttpRequestUpload": false, + "XMLSerializer": false, + "XPathEvaluator": false, + "XPathExpression": false, + "XPathResult": false, + "XRAnchor": false, + "XRAnchorSet": false, + "XRBoundedReferenceSpace": false, + "XRCamera": false, + "XRCPUDepthInformation": false, + "XRDepthInformation": false, + "XRDOMOverlayState": false, + "XRFrame": false, + "XRHitTestResult": false, + "XRHitTestSource": false, + "XRInputSource": false, + "XRInputSourceArray": false, + "XRInputSourceEvent": false, + "XRInputSourcesChangeEvent": false, + "XRLayer": false, + "XRLightEstimate": false, + "XRLightProbe": false, + "XRPose": false, + "XRRay": false, + "XRReferenceSpace": false, + "XRReferenceSpaceEvent": false, + "XRRenderState": false, + "XRRigidTransform": false, + "XRSession": false, + "XRSessionEvent": false, + "XRSpace": false, + "XRSystem": false, + "XRTransientInputHitTestResult": false, + "XRTransientInputHitTestSource": false, + "XRView": false, + "XRViewerPose": false, + "XRViewport": false, + "XRWebGLBinding": false, + "XRWebGLDepthInformation": false, + "XRWebGLLayer": false, + "XSLTProcessor": false + }, + "builtin": { + "AggregateError": false, + "Array": false, + "ArrayBuffer": false, + "Atomics": false, + "BigInt": false, + "BigInt64Array": false, + "BigUint64Array": false, + "Boolean": false, + "DataView": false, + "Date": false, + "decodeURI": false, + "decodeURIComponent": false, + "encodeURI": false, + "encodeURIComponent": false, + "Error": false, + "escape": false, + "eval": false, + "EvalError": false, + "FinalizationRegistry": false, + "Float32Array": false, + "Float64Array": false, + "Function": false, + "globalThis": false, + "Infinity": false, + "Int16Array": false, + "Int32Array": false, + "Int8Array": false, + "Intl": false, + "isFinite": false, + "isNaN": false, + "Iterator": false, + "JSON": false, + "Map": false, + "Math": false, + "NaN": false, + "Number": false, + "Object": false, + "parseFloat": false, + "parseInt": false, + "Promise": false, + "Proxy": false, + "RangeError": false, + "ReferenceError": false, + "Reflect": false, + "RegExp": false, + "Set": false, + "SharedArrayBuffer": false, + "String": false, + "Symbol": false, + "SyntaxError": false, + "TypeError": false, + "Uint16Array": false, + "Uint32Array": false, + "Uint8Array": false, + "Uint8ClampedArray": false, + "undefined": false, + "unescape": false, + "URIError": false, + "WeakMap": false, + "WeakRef": false, + "WeakSet": false + }, + "chai": { + "assert": true, + "expect": true, + "should": true + }, + "commonjs": { + "exports": true, + "global": false, + "module": false, + "require": false + }, + "couch": { + "emit": false, + "exports": false, + "getRow": false, + "log": false, + "module": false, + "provides": false, + "require": false, + "respond": false, + "send": false, + "start": false, + "sum": false + }, + "devtools": { + "$": false, + "$_": false, + "$$": false, + "$0": false, + "$1": false, + "$2": false, + "$3": false, + "$4": false, + "$x": false, + "chrome": false, + "clear": false, + "copy": false, + "debug": false, + "dir": false, + "dirxml": false, + "getEventListeners": false, + "inspect": false, + "keys": false, + "monitor": false, + "monitorEvents": false, + "profile": false, + "profileEnd": false, + "queryObjects": false, + "table": false, + "undebug": false, + "unmonitor": false, + "unmonitorEvents": false, + "values": false + }, + "embertest": { + "andThen": false, + "click": false, + "currentPath": false, + "currentRouteName": false, + "currentURL": false, + "fillIn": false, + "find": false, + "findAll": false, + "findWithAssert": false, + "keyEvent": false, + "pauseTest": false, + "resumeTest": false, + "triggerEvent": false, + "visit": false, + "wait": false + }, + "es2015": { + "Array": false, + "ArrayBuffer": false, + "Boolean": false, + "DataView": false, + "Date": false, + "decodeURI": false, + "decodeURIComponent": false, + "encodeURI": false, + "encodeURIComponent": false, + "Error": false, + "escape": false, + "eval": false, + "EvalError": false, + "Float32Array": false, + "Float64Array": false, + "Function": false, + "Infinity": false, + "Int16Array": false, + "Int32Array": false, + "Int8Array": false, + "Intl": false, + "isFinite": false, + "isNaN": false, + "JSON": false, + "Map": false, + "Math": false, + "NaN": false, + "Number": false, + "Object": false, + "parseFloat": false, + "parseInt": false, + "Promise": false, + "Proxy": false, + "RangeError": false, + "ReferenceError": false, + "Reflect": false, + "RegExp": false, + "Set": false, + "String": false, + "Symbol": false, + "SyntaxError": false, + "TypeError": false, + "Uint16Array": false, + "Uint32Array": false, + "Uint8Array": false, + "Uint8ClampedArray": false, + "undefined": false, + "unescape": false, + "URIError": false, + "WeakMap": false, + "WeakSet": false + }, + "es2016": { + "Array": false, + "ArrayBuffer": false, + "Boolean": false, + "DataView": false, + "Date": false, + "decodeURI": false, + "decodeURIComponent": false, + "encodeURI": false, + "encodeURIComponent": false, + "Error": false, + "escape": false, + "eval": false, + "EvalError": false, + "Float32Array": false, + "Float64Array": false, + "Function": false, + "Infinity": false, + "Int16Array": false, + "Int32Array": false, + "Int8Array": false, + "Intl": false, + "isFinite": false, + "isNaN": false, + "JSON": false, + "Map": false, + "Math": false, + "NaN": false, + "Number": false, + "Object": false, + "parseFloat": false, + "parseInt": false, + "Promise": false, + "Proxy": false, + "RangeError": false, + "ReferenceError": false, + "Reflect": false, + "RegExp": false, + "Set": false, + "String": false, + "Symbol": false, + "SyntaxError": false, + "TypeError": false, + "Uint16Array": false, + "Uint32Array": false, + "Uint8Array": false, + "Uint8ClampedArray": false, + "undefined": false, + "unescape": false, + "URIError": false, + "WeakMap": false, + "WeakSet": false + }, + "es2017": { + "Array": false, + "ArrayBuffer": false, + "Atomics": false, + "Boolean": false, + "DataView": false, + "Date": false, + "decodeURI": false, + "decodeURIComponent": false, + "encodeURI": false, + "encodeURIComponent": false, + "Error": false, + "escape": false, + "eval": false, + "EvalError": false, + "Float32Array": false, + "Float64Array": false, + "Function": false, + "Infinity": false, + "Int16Array": false, + "Int32Array": false, + "Int8Array": false, + "Intl": false, + "isFinite": false, + "isNaN": false, + "JSON": false, + "Map": false, + "Math": false, + "NaN": false, + "Number": false, + "Object": false, + "parseFloat": false, + "parseInt": false, + "Promise": false, + "Proxy": false, + "RangeError": false, + "ReferenceError": false, + "Reflect": false, + "RegExp": false, + "Set": false, + "SharedArrayBuffer": false, + "String": false, + "Symbol": false, + "SyntaxError": false, + "TypeError": false, + "Uint16Array": false, + "Uint32Array": false, + "Uint8Array": false, + "Uint8ClampedArray": false, + "undefined": false, + "unescape": false, + "URIError": false, + "WeakMap": false, + "WeakSet": false + }, + "es2018": { + "Array": false, + "ArrayBuffer": false, + "Atomics": false, + "Boolean": false, + "DataView": false, + "Date": false, + "decodeURI": false, + "decodeURIComponent": false, + "encodeURI": false, + "encodeURIComponent": false, + "Error": false, + "escape": false, + "eval": false, + "EvalError": false, + "Float32Array": false, + "Float64Array": false, + "Function": false, + "Infinity": false, + "Int16Array": false, + "Int32Array": false, + "Int8Array": false, + "Intl": false, + "isFinite": false, + "isNaN": false, + "JSON": false, + "Map": false, + "Math": false, + "NaN": false, + "Number": false, + "Object": false, + "parseFloat": false, + "parseInt": false, + "Promise": false, + "Proxy": false, + "RangeError": false, + "ReferenceError": false, + "Reflect": false, + "RegExp": false, + "Set": false, + "SharedArrayBuffer": false, + "String": false, + "Symbol": false, + "SyntaxError": false, + "TypeError": false, + "Uint16Array": false, + "Uint32Array": false, + "Uint8Array": false, + "Uint8ClampedArray": false, + "undefined": false, + "unescape": false, + "URIError": false, + "WeakMap": false, + "WeakSet": false + }, + "es2019": { + "Array": false, + "ArrayBuffer": false, + "Atomics": false, + "Boolean": false, + "DataView": false, + "Date": false, + "decodeURI": false, + "decodeURIComponent": false, + "encodeURI": false, + "encodeURIComponent": false, + "Error": false, + "escape": false, + "eval": false, + "EvalError": false, + "Float32Array": false, + "Float64Array": false, + "Function": false, + "Infinity": false, + "Int16Array": false, + "Int32Array": false, + "Int8Array": false, + "Intl": false, + "isFinite": false, + "isNaN": false, + "JSON": false, + "Map": false, + "Math": false, + "NaN": false, + "Number": false, + "Object": false, + "parseFloat": false, + "parseInt": false, + "Promise": false, + "Proxy": false, + "RangeError": false, + "ReferenceError": false, + "Reflect": false, + "RegExp": false, + "Set": false, + "SharedArrayBuffer": false, + "String": false, + "Symbol": false, + "SyntaxError": false, + "TypeError": false, + "Uint16Array": false, + "Uint32Array": false, + "Uint8Array": false, + "Uint8ClampedArray": false, + "undefined": false, + "unescape": false, + "URIError": false, + "WeakMap": false, + "WeakSet": false + }, + "es2020": { + "Array": false, + "ArrayBuffer": false, + "Atomics": false, + "BigInt": false, + "BigInt64Array": false, + "BigUint64Array": false, + "Boolean": false, + "DataView": false, + "Date": false, + "decodeURI": false, + "decodeURIComponent": false, + "encodeURI": false, + "encodeURIComponent": false, + "Error": false, + "escape": false, + "eval": false, + "EvalError": false, + "Float32Array": false, + "Float64Array": false, + "Function": false, + "globalThis": false, + "Infinity": false, + "Int16Array": false, + "Int32Array": false, + "Int8Array": false, + "Intl": false, + "isFinite": false, + "isNaN": false, + "JSON": false, + "Map": false, + "Math": false, + "NaN": false, + "Number": false, + "Object": false, + "parseFloat": false, + "parseInt": false, + "Promise": false, + "Proxy": false, + "RangeError": false, + "ReferenceError": false, + "Reflect": false, + "RegExp": false, + "Set": false, + "SharedArrayBuffer": false, + "String": false, + "Symbol": false, + "SyntaxError": false, + "TypeError": false, + "Uint16Array": false, + "Uint32Array": false, + "Uint8Array": false, + "Uint8ClampedArray": false, + "undefined": false, + "unescape": false, + "URIError": false, + "WeakMap": false, + "WeakSet": false + }, + "es2021": { + "AggregateError": false, + "Array": false, + "ArrayBuffer": false, + "Atomics": false, + "BigInt": false, + "BigInt64Array": false, + "BigUint64Array": false, + "Boolean": false, + "DataView": false, + "Date": false, + "decodeURI": false, + "decodeURIComponent": false, + "encodeURI": false, + "encodeURIComponent": false, + "Error": false, + "escape": false, + "eval": false, + "EvalError": false, + "FinalizationRegistry": false, + "Float32Array": false, + "Float64Array": false, + "Function": false, + "globalThis": false, + "Infinity": false, + "Int16Array": false, + "Int32Array": false, + "Int8Array": false, + "Intl": false, + "isFinite": false, + "isNaN": false, + "JSON": false, + "Map": false, + "Math": false, + "NaN": false, + "Number": false, + "Object": false, + "parseFloat": false, + "parseInt": false, + "Promise": false, + "Proxy": false, + "RangeError": false, + "ReferenceError": false, + "Reflect": false, + "RegExp": false, + "Set": false, + "SharedArrayBuffer": false, + "String": false, + "Symbol": false, + "SyntaxError": false, + "TypeError": false, + "Uint16Array": false, + "Uint32Array": false, + "Uint8Array": false, + "Uint8ClampedArray": false, + "undefined": false, + "unescape": false, + "URIError": false, + "WeakMap": false, + "WeakRef": false, + "WeakSet": false + }, + "es2022": { + "AggregateError": false, + "Array": false, + "ArrayBuffer": false, + "Atomics": false, + "BigInt": false, + "BigInt64Array": false, + "BigUint64Array": false, + "Boolean": false, + "DataView": false, + "Date": false, + "decodeURI": false, + "decodeURIComponent": false, + "encodeURI": false, + "encodeURIComponent": false, + "Error": false, + "escape": false, + "eval": false, + "EvalError": false, + "FinalizationRegistry": false, + "Float32Array": false, + "Float64Array": false, + "Function": false, + "globalThis": false, + "Infinity": false, + "Int16Array": false, + "Int32Array": false, + "Int8Array": false, + "Intl": false, + "isFinite": false, + "isNaN": false, + "JSON": false, + "Map": false, + "Math": false, + "NaN": false, + "Number": false, + "Object": false, + "parseFloat": false, + "parseInt": false, + "Promise": false, + "Proxy": false, + "RangeError": false, + "ReferenceError": false, + "Reflect": false, + "RegExp": false, + "Set": false, + "SharedArrayBuffer": false, + "String": false, + "Symbol": false, + "SyntaxError": false, + "TypeError": false, + "Uint16Array": false, + "Uint32Array": false, + "Uint8Array": false, + "Uint8ClampedArray": false, + "undefined": false, + "unescape": false, + "URIError": false, + "WeakMap": false, + "WeakRef": false, + "WeakSet": false + }, + "es2023": { + "AggregateError": false, + "Array": false, + "ArrayBuffer": false, + "Atomics": false, + "BigInt": false, + "BigInt64Array": false, + "BigUint64Array": false, + "Boolean": false, + "DataView": false, + "Date": false, + "decodeURI": false, + "decodeURIComponent": false, + "encodeURI": false, + "encodeURIComponent": false, + "Error": false, + "escape": false, + "eval": false, + "EvalError": false, + "FinalizationRegistry": false, + "Float32Array": false, + "Float64Array": false, + "Function": false, + "globalThis": false, + "Infinity": false, + "Int16Array": false, + "Int32Array": false, + "Int8Array": false, + "Intl": false, + "isFinite": false, + "isNaN": false, + "JSON": false, + "Map": false, + "Math": false, + "NaN": false, + "Number": false, + "Object": false, + "parseFloat": false, + "parseInt": false, + "Promise": false, + "Proxy": false, + "RangeError": false, + "ReferenceError": false, + "Reflect": false, + "RegExp": false, + "Set": false, + "SharedArrayBuffer": false, + "String": false, + "Symbol": false, + "SyntaxError": false, + "TypeError": false, + "Uint16Array": false, + "Uint32Array": false, + "Uint8Array": false, + "Uint8ClampedArray": false, + "undefined": false, + "unescape": false, + "URIError": false, + "WeakMap": false, + "WeakRef": false, + "WeakSet": false + }, + "es2024": { + "AggregateError": false, + "Array": false, + "ArrayBuffer": false, + "Atomics": false, + "BigInt": false, + "BigInt64Array": false, + "BigUint64Array": false, + "Boolean": false, + "DataView": false, + "Date": false, + "decodeURI": false, + "decodeURIComponent": false, + "encodeURI": false, + "encodeURIComponent": false, + "Error": false, + "escape": false, + "eval": false, + "EvalError": false, + "FinalizationRegistry": false, + "Float32Array": false, + "Float64Array": false, + "Function": false, + "globalThis": false, + "Infinity": false, + "Int16Array": false, + "Int32Array": false, + "Int8Array": false, + "Intl": false, + "isFinite": false, + "isNaN": false, + "JSON": false, + "Map": false, + "Math": false, + "NaN": false, + "Number": false, + "Object": false, + "parseFloat": false, + "parseInt": false, + "Promise": false, + "Proxy": false, + "RangeError": false, + "ReferenceError": false, + "Reflect": false, + "RegExp": false, + "Set": false, + "SharedArrayBuffer": false, + "String": false, + "Symbol": false, + "SyntaxError": false, + "TypeError": false, + "Uint16Array": false, + "Uint32Array": false, + "Uint8Array": false, + "Uint8ClampedArray": false, + "undefined": false, + "unescape": false, + "URIError": false, + "WeakMap": false, + "WeakRef": false, + "WeakSet": false + }, + "es2025": { + "AggregateError": false, + "Array": false, + "ArrayBuffer": false, + "Atomics": false, + "BigInt": false, + "BigInt64Array": false, + "BigUint64Array": false, + "Boolean": false, + "DataView": false, + "Date": false, + "decodeURI": false, + "decodeURIComponent": false, + "encodeURI": false, + "encodeURIComponent": false, + "Error": false, + "escape": false, + "eval": false, + "EvalError": false, + "FinalizationRegistry": false, + "Float32Array": false, + "Float64Array": false, + "Function": false, + "globalThis": false, + "Infinity": false, + "Int16Array": false, + "Int32Array": false, + "Int8Array": false, + "Intl": false, + "isFinite": false, + "isNaN": false, + "Iterator": false, + "JSON": false, + "Map": false, + "Math": false, + "NaN": false, + "Number": false, + "Object": false, + "parseFloat": false, + "parseInt": false, + "Promise": false, + "Proxy": false, + "RangeError": false, + "ReferenceError": false, + "Reflect": false, + "RegExp": false, + "Set": false, + "SharedArrayBuffer": false, + "String": false, + "Symbol": false, + "SyntaxError": false, + "TypeError": false, + "Uint16Array": false, + "Uint32Array": false, + "Uint8Array": false, + "Uint8ClampedArray": false, + "undefined": false, + "unescape": false, + "URIError": false, + "WeakMap": false, + "WeakRef": false, + "WeakSet": false + }, + "es3": { + "Array": false, + "Boolean": false, + "Date": false, + "decodeURI": false, + "decodeURIComponent": false, + "encodeURI": false, + "encodeURIComponent": false, + "Error": false, + "escape": false, + "eval": false, + "EvalError": false, + "Function": false, + "Infinity": false, + "isFinite": false, + "isNaN": false, + "Math": false, + "NaN": false, + "Number": false, + "Object": false, + "parseFloat": false, + "parseInt": false, + "RangeError": false, + "ReferenceError": false, + "RegExp": false, + "String": false, + "SyntaxError": false, + "TypeError": false, + "undefined": false, + "unescape": false, + "URIError": false + }, + "es5": { + "Array": false, + "Boolean": false, + "Date": false, + "decodeURI": false, + "decodeURIComponent": false, + "encodeURI": false, + "encodeURIComponent": false, + "Error": false, + "escape": false, + "eval": false, + "EvalError": false, + "Function": false, + "Infinity": false, + "isFinite": false, + "isNaN": false, + "JSON": false, + "Math": false, + "NaN": false, + "Number": false, + "Object": false, + "parseFloat": false, + "parseInt": false, + "RangeError": false, + "ReferenceError": false, + "RegExp": false, + "String": false, + "SyntaxError": false, + "TypeError": false, + "undefined": false, + "unescape": false, + "URIError": false + }, + "greasemonkey": { + "cloneInto": false, + "createObjectIn": false, + "exportFunction": false, + "GM": false, + "GM_addElement": false, + "GM_addStyle": false, + "GM_addValueChangeListener": false, + "GM_deleteValue": false, + "GM_download": false, + "GM_getResourceText": false, + "GM_getResourceURL": false, + "GM_getTab": false, + "GM_getTabs": false, + "GM_getValue": false, + "GM_info": false, + "GM_listValues": false, + "GM_log": false, + "GM_notification": false, + "GM_openInTab": false, + "GM_registerMenuCommand": false, + "GM_removeValueChangeListener": false, + "GM_saveTab": false, + "GM_setClipboard": false, + "GM_setValue": false, + "GM_unregisterMenuCommand": false, + "GM_xmlhttpRequest": false, + "unsafeWindow": false + }, + "jasmine": { + "afterAll": false, + "afterEach": false, + "beforeAll": false, + "beforeEach": false, + "describe": false, + "expect": false, + "expectAsync": false, + "fail": false, + "fdescribe": false, + "fit": false, + "it": false, + "jasmine": false, + "pending": false, + "runs": false, + "spyOn": false, + "spyOnAllFunctions": false, + "spyOnProperty": false, + "waits": false, + "waitsFor": false, + "xdescribe": false, + "xit": false + }, + "jest": { + "afterAll": false, + "afterEach": false, + "beforeAll": false, + "beforeEach": false, + "describe": false, + "expect": false, + "fit": false, + "it": false, + "jest": false, + "test": false, + "xdescribe": false, + "xit": false, + "xtest": false + }, + "jquery": { + "$": false, + "jQuery": false + }, + "meteor": { + "$": false, + "Accounts": false, + "AccountsClient": false, + "AccountsCommon": false, + "AccountsServer": false, + "App": false, + "Assets": false, + "Blaze": false, + "check": false, + "Cordova": false, + "DDP": false, + "DDPRateLimiter": false, + "DDPServer": false, + "Deps": false, + "EJSON": false, + "Email": false, + "HTTP": false, + "Log": false, + "Match": false, + "Meteor": false, + "Mongo": false, + "MongoInternals": false, + "Npm": false, + "Package": false, + "Plugin": false, + "process": false, + "Random": false, + "ReactiveDict": false, + "ReactiveVar": false, + "Router": false, + "ServiceConfiguration": false, + "Session": false, + "share": false, + "Spacebars": false, + "Template": false, + "Tinytest": false, + "Tracker": false, + "UI": false, + "Utils": false, + "WebApp": false, + "WebAppInternals": false + }, + "mocha": { + "after": false, + "afterEach": false, + "before": false, + "beforeEach": false, + "context": false, + "describe": false, + "it": false, + "mocha": false, + "run": false, + "setup": false, + "specify": false, + "suite": false, + "suiteSetup": false, + "suiteTeardown": false, + "teardown": false, + "test": false, + "xcontext": false, + "xdescribe": false, + "xit": false, + "xspecify": false + }, + "mongo": { + "_isWindows": false, + "_rand": false, + "BulkWriteResult": false, + "cat": false, + "cd": false, + "connect": false, + "db": false, + "getHostName": false, + "getMemInfo": false, + "hostname": false, + "ISODate": false, + "listFiles": false, + "load": false, + "ls": false, + "md5sumFile": false, + "mkdir": false, + "Mongo": false, + "NumberInt": false, + "NumberLong": false, + "ObjectId": false, + "PlanCache": false, + "print": false, + "printjson": false, + "pwd": false, + "quit": false, + "removeFile": false, + "rs": false, + "sh": false, + "UUID": false, + "version": false, + "WriteResult": false + }, + "nashorn": { + "__DIR__": false, + "__FILE__": false, + "__LINE__": false, + "com": false, + "edu": false, + "exit": false, + "java": false, + "Java": false, + "javafx": false, + "JavaImporter": false, + "javax": false, + "JSAdapter": false, + "load": false, + "loadWithNewGlobal": false, + "org": false, + "Packages": false, + "print": false, + "quit": false + }, + "node": { + "__dirname": false, + "__filename": false, + "AbortController": false, + "AbortSignal": false, + "atob": false, + "Blob": false, + "BroadcastChannel": false, + "btoa": false, + "Buffer": false, + "ByteLengthQueuingStrategy": false, + "clearImmediate": false, + "clearInterval": false, + "clearTimeout": false, + "CloseEvent": false, + "CompressionStream": false, + "console": false, + "CountQueuingStrategy": false, + "crypto": false, + "Crypto": false, + "CryptoKey": false, + "CustomEvent": false, + "DecompressionStream": false, + "DOMException": false, + "Event": false, + "EventTarget": false, + "exports": true, + "fetch": false, + "File": false, + "FormData": false, + "global": false, + "Headers": false, + "MessageChannel": false, + "MessageEvent": false, + "MessagePort": false, + "module": false, + "navigator": false, + "Navigator": false, + "performance": false, + "Performance": false, + "PerformanceEntry": false, + "PerformanceMark": false, + "PerformanceMeasure": false, + "PerformanceObserver": false, + "PerformanceObserverEntryList": false, + "PerformanceResourceTiming": false, + "process": false, + "queueMicrotask": false, + "ReadableByteStreamController": false, + "ReadableStream": false, + "ReadableStreamBYOBReader": false, + "ReadableStreamBYOBRequest": false, + "ReadableStreamDefaultController": false, + "ReadableStreamDefaultReader": false, + "Request": false, + "require": false, + "Response": false, + "setImmediate": false, + "setInterval": false, + "setTimeout": false, + "structuredClone": false, + "SubtleCrypto": false, + "TextDecoder": false, + "TextDecoderStream": false, + "TextEncoder": false, + "TextEncoderStream": false, + "TransformStream": false, + "TransformStreamDefaultController": false, + "URL": false, + "URLSearchParams": false, + "WebAssembly": false, + "WebSocket": false, + "WritableStream": false, + "WritableStreamDefaultController": false, + "WritableStreamDefaultWriter": false + }, + "nodeBuiltin": { + "AbortController": false, + "AbortSignal": false, + "atob": false, + "Blob": false, + "BroadcastChannel": false, + "btoa": false, + "Buffer": false, + "ByteLengthQueuingStrategy": false, + "clearImmediate": false, + "clearInterval": false, + "clearTimeout": false, + "CloseEvent": false, + "CompressionStream": false, + "console": false, + "CountQueuingStrategy": false, + "crypto": false, + "Crypto": false, + "CryptoKey": false, + "CustomEvent": false, + "DecompressionStream": false, + "DOMException": false, + "Event": false, + "EventTarget": false, + "fetch": false, + "File": false, + "FormData": false, + "global": false, + "Headers": false, + "MessageChannel": false, + "MessageEvent": false, + "MessagePort": false, + "navigator": false, + "Navigator": false, + "performance": false, + "Performance": false, + "PerformanceEntry": false, + "PerformanceMark": false, + "PerformanceMeasure": false, + "PerformanceObserver": false, + "PerformanceObserverEntryList": false, + "PerformanceResourceTiming": false, + "process": false, + "queueMicrotask": false, + "ReadableByteStreamController": false, + "ReadableStream": false, + "ReadableStreamBYOBReader": false, + "ReadableStreamBYOBRequest": false, + "ReadableStreamDefaultController": false, + "ReadableStreamDefaultReader": false, + "Request": false, + "Response": false, + "setImmediate": false, + "setInterval": false, + "setTimeout": false, + "structuredClone": false, + "SubtleCrypto": false, + "TextDecoder": false, + "TextDecoderStream": false, + "TextEncoder": false, + "TextEncoderStream": false, + "TransformStream": false, + "TransformStreamDefaultController": false, + "URL": false, + "URLSearchParams": false, + "WebAssembly": false, + "WebSocket": false, + "WritableStream": false, + "WritableStreamDefaultController": false, + "WritableStreamDefaultWriter": false + }, + "phantomjs": { + "console": true, + "exports": true, + "phantom": true, + "require": true, + "WebPage": true + }, + "prototypejs": { + "$": false, + "$$": false, + "$A": false, + "$break": false, + "$continue": false, + "$F": false, + "$H": false, + "$R": false, + "$w": false, + "Abstract": false, + "Ajax": false, + "Autocompleter": false, + "Builder": false, + "Class": false, + "Control": false, + "Draggable": false, + "Draggables": false, + "Droppables": false, + "Effect": false, + "Element": false, + "Enumerable": false, + "Event": false, + "Field": false, + "Form": false, + "Hash": false, + "Insertion": false, + "ObjectRange": false, + "PeriodicalExecuter": false, + "Position": false, + "Prototype": false, + "Scriptaculous": false, + "Selector": false, + "Sortable": false, + "SortableObserver": false, + "Sound": false, + "Template": false, + "Toggle": false, + "Try": false + }, + "protractor": { + "$": false, + "$$": false, + "browser": false, + "by": false, + "By": false, + "DartObject": false, + "element": false, + "protractor": false + }, + "qunit": { + "asyncTest": false, + "deepEqual": false, + "equal": false, + "expect": false, + "module": false, + "notDeepEqual": false, + "notEqual": false, + "notOk": false, + "notPropEqual": false, + "notStrictEqual": false, + "ok": false, + "propEqual": false, + "QUnit": false, + "raises": false, + "start": false, + "stop": false, + "strictEqual": false, + "test": false, + "throws": false + }, + "rhino": { + "defineClass": false, + "deserialize": false, + "gc": false, + "help": false, + "importClass": false, + "importPackage": false, + "java": false, + "load": false, + "loadClass": false, + "Packages": false, + "print": false, + "quit": false, + "readFile": false, + "readUrl": false, + "runCommand": false, + "seal": false, + "serialize": false, + "spawn": false, + "sync": false, + "toint32": false, + "version": false + }, + "serviceworker": { + "addEventListener": false, + "applicationCache": false, + "atob": false, + "Blob": false, + "BroadcastChannel": false, + "btoa": false, + "ByteLengthQueuingStrategy": false, + "Cache": false, + "caches": false, + "CacheStorage": false, + "clearInterval": false, + "clearTimeout": false, + "Client": false, + "clients": false, + "Clients": false, + "close": true, + "CompressionStream": false, + "console": false, + "CountQueuingStrategy": false, + "crypto": false, + "Crypto": false, + "CryptoKey": false, + "CustomEvent": false, + "DecompressionStream": false, + "ErrorEvent": false, + "Event": false, + "ExtendableEvent": false, + "ExtendableMessageEvent": false, + "fetch": false, + "FetchEvent": false, + "File": false, + "FileReaderSync": false, + "FormData": false, + "Headers": false, + "IDBCursor": false, + "IDBCursorWithValue": false, + "IDBDatabase": false, + "IDBFactory": false, + "IDBIndex": false, + "IDBKeyRange": false, + "IDBObjectStore": false, + "IDBOpenDBRequest": false, + "IDBRequest": false, + "IDBTransaction": false, + "IDBVersionChangeEvent": false, + "ImageData": false, + "importScripts": false, + "indexedDB": false, + "location": false, + "MessageChannel": false, + "MessageEvent": false, + "MessagePort": false, + "name": false, + "navigator": false, + "Notification": false, + "onclose": true, + "onconnect": true, + "onerror": true, + "onfetch": true, + "oninstall": true, + "onlanguagechange": true, + "onmessage": true, + "onmessageerror": true, + "onnotificationclick": true, + "onnotificationclose": true, + "onoffline": true, + "ononline": true, + "onpush": true, + "onpushsubscriptionchange": true, + "onrejectionhandled": true, + "onsync": true, + "onunhandledrejection": true, + "performance": false, + "Performance": false, + "PerformanceEntry": false, + "PerformanceMark": false, + "PerformanceMeasure": false, + "PerformanceNavigation": false, + "PerformanceObserver": false, + "PerformanceObserverEntryList": false, + "PerformanceResourceTiming": false, + "PerformanceTiming": false, + "postMessage": true, + "queueMicrotask": false, + "ReadableByteStreamController": false, + "ReadableStream": false, + "ReadableStreamBYOBReader": false, + "ReadableStreamBYOBRequest": false, + "ReadableStreamDefaultController": false, + "ReadableStreamDefaultReader": false, + "registration": false, + "removeEventListener": false, + "Request": false, + "Response": false, + "self": false, + "ServiceWorker": false, + "ServiceWorkerContainer": false, + "ServiceWorkerGlobalScope": false, + "ServiceWorkerMessageEvent": false, + "ServiceWorkerRegistration": false, + "setInterval": false, + "setTimeout": false, + "skipWaiting": false, + "SubtleCrypto": false, + "TextDecoder": false, + "TextDecoderStream": false, + "TextEncoder": false, + "TextEncoderStream": false, + "TransformStream": false, + "TransformStreamDefaultController": false, + "URL": false, + "URLSearchParams": false, + "WebAssembly": false, + "WebSocket": false, + "WindowClient": false, + "Worker": false, + "WorkerGlobalScope": false, + "WritableStream": false, + "WritableStreamDefaultController": false, + "WritableStreamDefaultWriter": false, + "XMLHttpRequest": false + }, + "shared-node-browser": { + "AbortController": false, + "AbortSignal": false, + "atob": false, + "Blob": false, + "BroadcastChannel": false, + "btoa": false, + "ByteLengthQueuingStrategy": false, + "clearInterval": false, + "clearTimeout": false, + "CloseEvent": false, + "CompressionStream": false, + "console": false, + "CountQueuingStrategy": false, + "crypto": false, + "Crypto": false, + "CryptoKey": false, + "CustomEvent": false, + "DecompressionStream": false, + "DOMException": false, + "Event": false, + "EventTarget": false, + "fetch": false, + "File": false, + "FormData": false, + "Headers": false, + "MessageChannel": false, + "MessageEvent": false, + "MessagePort": false, + "navigator": false, + "Navigator": false, + "performance": false, + "Performance": false, + "PerformanceEntry": false, + "PerformanceMark": false, + "PerformanceMeasure": false, + "PerformanceObserver": false, + "PerformanceObserverEntryList": false, + "PerformanceResourceTiming": false, + "queueMicrotask": false, + "ReadableByteStreamController": false, + "ReadableStream": false, + "ReadableStreamBYOBReader": false, + "ReadableStreamBYOBRequest": false, + "ReadableStreamDefaultController": false, + "ReadableStreamDefaultReader": false, + "Request": false, + "Response": false, + "setInterval": false, + "setTimeout": false, + "structuredClone": false, + "SubtleCrypto": false, + "TextDecoder": false, + "TextDecoderStream": false, + "TextEncoder": false, + "TextEncoderStream": false, + "TransformStream": false, + "TransformStreamDefaultController": false, + "URL": false, + "URLSearchParams": false, + "WebAssembly": false, + "WebSocket": false, + "WritableStream": false, + "WritableStreamDefaultController": false, + "WritableStreamDefaultWriter": false + }, + "shelljs": { + "cat": false, + "cd": false, + "chmod": false, + "config": false, + "cp": false, + "dirs": false, + "echo": false, + "env": false, + "error": false, + "exec": false, + "exit": false, + "find": false, + "grep": false, + "head": false, + "ln": false, + "ls": false, + "mkdir": false, + "mv": false, + "popd": false, + "pushd": false, + "pwd": false, + "rm": false, + "sed": false, + "set": false, + "ShellString": false, + "sort": false, + "tail": false, + "tempdir": false, + "test": false, + "touch": false, + "uniq": false, + "which": false + }, + "webextensions": { + "browser": false, + "chrome": false, + "opr": false + }, + "worker": { + "AbortController": false, + "AbortSignal": false, + "addEventListener": false, + "ai": false, + "atob": false, + "AudioData": false, + "AudioDecoder": false, + "AudioEncoder": false, + "BackgroundFetchManager": false, + "BackgroundFetchRecord": false, + "BackgroundFetchRegistration": false, + "BarcodeDetector": false, + "Blob": false, + "BroadcastChannel": false, + "btoa": false, + "ByteLengthQueuingStrategy": false, + "Cache": false, + "caches": false, + "CacheStorage": false, + "cancelAnimationFrame": false, + "CanvasGradient": false, + "CanvasPattern": false, + "clearInterval": false, + "clearTimeout": false, + "close": false, + "CloseEvent": false, + "CompressionStream": false, + "console": false, + "CountQueuingStrategy": false, + "createImageBitmap": false, + "CropTarget": false, + "crossOriginIsolated": false, + "crypto": false, + "Crypto": false, + "CryptoKey": false, + "CSSSkewX": false, + "CSSSkewY": false, + "CustomEvent": false, + "DecompressionStream": false, + "DedicatedWorkerGlobalScope": false, + "dispatchEvent": false, + "DOMException": false, + "DOMMatrix": false, + "DOMMatrixReadOnly": false, + "DOMPoint": false, + "DOMPointReadOnly": false, + "DOMQuad": false, + "DOMRect": false, + "DOMRectReadOnly": false, + "DOMStringList": false, + "EncodedAudioChunk": false, + "EncodedVideoChunk": false, + "ErrorEvent": false, + "Event": false, + "EventSource": false, + "EventTarget": false, + "fetch": false, + "File": false, + "FileList": false, + "FileReader": false, + "FileReaderSync": false, + "FileSystemDirectoryHandle": false, + "FileSystemFileHandle": false, + "FileSystemHandle": false, + "FileSystemSyncAccessHandle": false, + "FileSystemWritableFileStream": false, + "FontFace": false, + "fonts": false, + "FormData": false, + "GPU": false, + "GPUAdapter": false, + "GPUAdapterInfo": false, + "GPUBindGroup": false, + "GPUBindGroupLayout": false, + "GPUBuffer": false, + "GPUBufferUsage": false, + "GPUCanvasContext": false, + "GPUColorWrite": false, + "GPUCommandBuffer": false, + "GPUCommandEncoder": false, + "GPUCompilationInfo": false, + "GPUCompilationMessage": false, + "GPUComputePassEncoder": false, + "GPUComputePipeline": false, + "GPUDevice": false, + "GPUDeviceLostInfo": false, + "GPUError": false, + "GPUExternalTexture": false, + "GPUInternalError": false, + "GPUMapMode": false, + "GPUOutOfMemoryError": false, + "GPUPipelineError": false, + "GPUPipelineLayout": false, + "GPUQuerySet": false, + "GPUQueue": false, + "GPURenderBundle": false, + "GPURenderBundleEncoder": false, + "GPURenderPassEncoder": false, + "GPURenderPipeline": false, + "GPUSampler": false, + "GPUShaderModule": false, + "GPUShaderStage": false, + "GPUSupportedFeatures": false, + "GPUSupportedLimits": false, + "GPUTexture": false, + "GPUTextureUsage": false, + "GPUTextureView": false, + "GPUUncapturedErrorEvent": false, + "GPUValidationError": false, + "Headers": false, + "IDBCursor": false, + "IDBCursorWithValue": false, + "IDBDatabase": false, + "IDBFactory": false, + "IDBIndex": false, + "IDBKeyRange": false, + "IDBObjectStore": false, + "IDBOpenDBRequest": false, + "IDBRequest": false, + "IDBTransaction": false, + "IDBVersionChangeEvent": false, + "IdleDetector": false, + "ImageBitmap": false, + "ImageBitmapRenderingContext": false, + "ImageData": false, + "ImageDecoder": false, + "ImageTrack": false, + "ImageTrackList": false, + "importScripts": false, + "indexedDB": false, + "isSecureContext": false, + "location": false, + "Lock": false, + "LockManager": false, + "MediaCapabilities": false, + "MediaSource": false, + "MediaSourceHandle": false, + "MessageChannel": false, + "MessageEvent": false, + "MessagePort": false, + "name": false, + "NavigationPreloadManager": false, + "navigator": false, + "NavigatorUAData": false, + "NetworkInformation": false, + "Notification": false, + "OffscreenCanvas": false, + "OffscreenCanvasRenderingContext2D": false, + "onerror": true, + "onlanguagechange": true, + "onmessage": true, + "onmessageerror": true, + "onrejectionhandled": true, + "onunhandledrejection": true, + "origin": false, + "Path2D": false, + "performance": false, + "Performance": false, + "PerformanceEntry": false, + "PerformanceMark": false, + "PerformanceMeasure": false, + "PerformanceObserver": false, + "PerformanceObserverEntryList": false, + "PerformanceResourceTiming": false, + "PerformanceServerTiming": false, + "PeriodicSyncManager": false, + "Permissions": false, + "PermissionStatus": false, + "PERSISTENT": false, + "postMessage": false, + "PressureObserver": false, + "PressureRecord": false, + "ProgressEvent": false, + "PromiseRejectionEvent": false, + "PushManager": false, + "PushSubscription": false, + "PushSubscriptionOptions": false, + "queueMicrotask": false, + "ReadableByteStreamController": false, + "ReadableStream": false, + "ReadableStreamBYOBReader": false, + "ReadableStreamBYOBRequest": false, + "ReadableStreamDefaultController": false, + "ReadableStreamDefaultReader": false, + "removeEventListener": false, + "reportError": false, + "ReportingObserver": false, + "Request": false, + "requestAnimationFrame": false, + "Response": false, + "RTCDataChannel": false, + "RTCEncodedAudioFrame": false, + "RTCEncodedVideoFrame": false, + "scheduler": false, + "Scheduler": false, + "SecurityPolicyViolationEvent": false, + "self": false, + "Serial": false, + "SerialPort": false, + "ServiceWorkerRegistration": false, + "setInterval": false, + "setTimeout": false, + "SourceBuffer": false, + "SourceBufferList": false, + "StorageBucket": false, + "StorageBucketManager": false, + "StorageManager": false, + "structuredClone": false, + "SubtleCrypto": false, + "SyncManager": false, + "TaskController": false, + "TaskPriorityChangeEvent": false, + "TaskSignal": false, + "TEMPORARY": false, + "TextDecoder": false, + "TextDecoderStream": false, + "TextEncoder": false, + "TextEncoderStream": false, + "TextMetrics": false, + "TransformStream": false, + "TransformStreamDefaultController": false, + "TrustedHTML": false, + "TrustedScript": false, + "TrustedScriptURL": false, + "TrustedTypePolicy": false, + "TrustedTypePolicyFactory": false, + "trustedTypes": false, + "URL": false, + "URLPattern": false, + "URLSearchParams": false, + "USB": false, + "USBAlternateInterface": false, + "USBConfiguration": false, + "USBConnectionEvent": false, + "USBDevice": false, + "USBEndpoint": false, + "USBInterface": false, + "USBInTransferResult": false, + "USBIsochronousInTransferPacket": false, + "USBIsochronousInTransferResult": false, + "USBIsochronousOutTransferPacket": false, + "USBIsochronousOutTransferResult": false, + "USBOutTransferResult": false, + "UserActivation": false, + "VideoColorSpace": false, + "VideoDecoder": false, + "VideoEncoder": false, + "VideoFrame": false, + "WebAssembly": false, + "WebGL2RenderingContext": false, + "WebGLActiveInfo": false, + "WebGLBuffer": false, + "WebGLContextEvent": false, + "WebGLFramebuffer": false, + "WebGLObject": false, + "WebGLProgram": false, + "WebGLQuery": false, + "WebGLRenderbuffer": false, + "WebGLRenderingContext": false, + "WebGLSampler": false, + "WebGLShader": false, + "WebGLShaderPrecisionFormat": false, + "WebGLSync": false, + "WebGLTexture": false, + "WebGLTransformFeedback": false, + "WebGLUniformLocation": false, + "WebGLVertexArrayObject": false, + "webkitRequestFileSystem": false, + "webkitRequestFileSystemSync": false, + "webkitResolveLocalFileSystemSyncURL": false, + "webkitResolveLocalFileSystemURL": false, + "WebSocket": false, + "WebSocketError": false, + "WebSocketStream": false, + "WebTransport": false, + "WebTransportBidirectionalStream": false, + "WebTransportDatagramDuplexStream": false, + "WebTransportError": false, + "WGSLLanguageFeatures": false, + "Worker": false, + "WorkerGlobalScope": false, + "WorkerLocation": false, + "WorkerNavigator": false, + "WritableStream": false, + "WritableStreamDefaultController": false, + "WritableStreamDefaultWriter": false, + "XMLHttpRequest": false, + "XMLHttpRequestEventTarget": false, + "XMLHttpRequestUpload": false + }, + "wsh": { + "ActiveXObject": false, + "CollectGarbage": false, + "Debug": false, + "Enumerator": false, + "GetObject": false, + "RuntimeObject": false, + "ScriptEngine": false, + "ScriptEngineBuildVersion": false, + "ScriptEngineMajorVersion": false, + "ScriptEngineMinorVersion": false, + "VBArray": false, + "WScript": false, + "WSH": false + }, + "yui": { + "YAHOO": false, + "YAHOO_config": false, + "YUI": false, + "YUI_config": false + } +} diff --git a/node_modules/eslint-plugin-github/node_modules/globals/index.d.ts b/node_modules/eslint-plugin-github/node_modules/globals/index.d.ts new file mode 100644 index 0000000000..a25d2d8e07 --- /dev/null +++ b/node_modules/eslint-plugin-github/node_modules/globals/index.d.ts @@ -0,0 +1,3069 @@ +// This file is autogenerated by scripts/generate-types.mjs +// Do NOT modify this file manually + +type GlobalsAmd = { + readonly 'define': false; + readonly 'require': false; +} + +type GlobalsApplescript = { + readonly '$': false; + readonly 'Application': false; + readonly 'Automation': false; + readonly 'console': false; + readonly 'delay': false; + readonly 'Library': false; + readonly 'ObjC': false; + readonly 'ObjectSpecifier': false; + readonly 'Path': false; + readonly 'Progress': false; + readonly 'Ref': false; +} + +type GlobalsAtomtest = { + readonly 'advanceClock': false; + readonly 'atom': false; + readonly 'fakeClearInterval': false; + readonly 'fakeClearTimeout': false; + readonly 'fakeSetInterval': false; + readonly 'fakeSetTimeout': false; + readonly 'resetTimeouts': false; + readonly 'waitsForPromise': false; +} + +type GlobalsBrowser = { + readonly 'AbortController': false; + readonly 'AbortSignal': false; + readonly 'AbsoluteOrientationSensor': false; + readonly 'AbstractRange': false; + readonly 'Accelerometer': false; + readonly 'addEventListener': false; + readonly 'ai': false; + readonly 'AI': false; + readonly 'AITextSession': false; + readonly 'alert': false; + readonly 'AnalyserNode': false; + readonly 'Animation': false; + readonly 'AnimationEffect': false; + readonly 'AnimationEvent': false; + readonly 'AnimationPlaybackEvent': false; + readonly 'AnimationTimeline': false; + readonly 'atob': false; + readonly 'Attr': false; + readonly 'Audio': false; + readonly 'AudioBuffer': false; + readonly 'AudioBufferSourceNode': false; + readonly 'AudioContext': false; + readonly 'AudioData': false; + readonly 'AudioDecoder': false; + readonly 'AudioDestinationNode': false; + readonly 'AudioEncoder': false; + readonly 'AudioListener': false; + readonly 'AudioNode': false; + readonly 'AudioParam': false; + readonly 'AudioParamMap': false; + readonly 'AudioProcessingEvent': false; + readonly 'AudioScheduledSourceNode': false; + readonly 'AudioSinkInfo': false; + readonly 'AudioWorklet': false; + readonly 'AudioWorkletGlobalScope': false; + readonly 'AudioWorkletNode': false; + readonly 'AudioWorkletProcessor': false; + readonly 'AuthenticatorAssertionResponse': false; + readonly 'AuthenticatorAttestationResponse': false; + readonly 'AuthenticatorResponse': false; + readonly 'BackgroundFetchManager': false; + readonly 'BackgroundFetchRecord': false; + readonly 'BackgroundFetchRegistration': false; + readonly 'BarcodeDetector': false; + readonly 'BarProp': false; + readonly 'BaseAudioContext': false; + readonly 'BatteryManager': false; + readonly 'BeforeUnloadEvent': false; + readonly 'BiquadFilterNode': false; + readonly 'Blob': false; + readonly 'BlobEvent': false; + readonly 'Bluetooth': false; + readonly 'BluetoothCharacteristicProperties': false; + readonly 'BluetoothDevice': false; + readonly 'BluetoothRemoteGATTCharacteristic': false; + readonly 'BluetoothRemoteGATTDescriptor': false; + readonly 'BluetoothRemoteGATTServer': false; + readonly 'BluetoothRemoteGATTService': false; + readonly 'BluetoothUUID': false; + readonly 'blur': false; + readonly 'BroadcastChannel': false; + readonly 'BrowserCaptureMediaStreamTrack': false; + readonly 'btoa': false; + readonly 'ByteLengthQueuingStrategy': false; + readonly 'Cache': false; + readonly 'caches': false; + readonly 'CacheStorage': false; + readonly 'cancelAnimationFrame': false; + readonly 'cancelIdleCallback': false; + readonly 'CanvasCaptureMediaStream': false; + readonly 'CanvasCaptureMediaStreamTrack': false; + readonly 'CanvasGradient': false; + readonly 'CanvasPattern': false; + readonly 'CanvasRenderingContext2D': false; + readonly 'CaptureController': false; + readonly 'CaretPosition': false; + readonly 'CDATASection': false; + readonly 'ChannelMergerNode': false; + readonly 'ChannelSplitterNode': false; + readonly 'ChapterInformation': false; + readonly 'CharacterBoundsUpdateEvent': false; + readonly 'CharacterData': false; + readonly 'clearInterval': false; + readonly 'clearTimeout': false; + readonly 'clientInformation': false; + readonly 'Clipboard': false; + readonly 'ClipboardEvent': false; + readonly 'ClipboardItem': false; + readonly 'close': false; + readonly 'closed': false; + readonly 'CloseEvent': false; + readonly 'CloseWatcher': false; + readonly 'Comment': false; + readonly 'CompositionEvent': false; + readonly 'CompressionStream': false; + readonly 'confirm': false; + readonly 'console': false; + readonly 'ConstantSourceNode': false; + readonly 'ContentVisibilityAutoStateChangeEvent': false; + readonly 'ConvolverNode': false; + readonly 'CookieChangeEvent': false; + readonly 'CookieDeprecationLabel': false; + readonly 'cookieStore': false; + readonly 'CookieStore': false; + readonly 'CookieStoreManager': false; + readonly 'CountQueuingStrategy': false; + readonly 'createImageBitmap': false; + readonly 'Credential': false; + readonly 'credentialless': false; + readonly 'CredentialsContainer': false; + readonly 'CropTarget': false; + readonly 'crossOriginIsolated': false; + readonly 'crypto': false; + readonly 'Crypto': false; + readonly 'CryptoKey': false; + readonly 'CSS': false; + readonly 'CSSAnimation': false; + readonly 'CSSConditionRule': false; + readonly 'CSSContainerRule': false; + readonly 'CSSCounterStyleRule': false; + readonly 'CSSFontFaceRule': false; + readonly 'CSSFontFeatureValuesRule': false; + readonly 'CSSFontPaletteValuesRule': false; + readonly 'CSSGroupingRule': false; + readonly 'CSSImageValue': false; + readonly 'CSSImportRule': false; + readonly 'CSSKeyframeRule': false; + readonly 'CSSKeyframesRule': false; + readonly 'CSSKeywordValue': false; + readonly 'CSSLayerBlockRule': false; + readonly 'CSSLayerStatementRule': false; + readonly 'CSSMathClamp': false; + readonly 'CSSMathInvert': false; + readonly 'CSSMathMax': false; + readonly 'CSSMathMin': false; + readonly 'CSSMathNegate': false; + readonly 'CSSMathProduct': false; + readonly 'CSSMathSum': false; + readonly 'CSSMathValue': false; + readonly 'CSSMatrixComponent': false; + readonly 'CSSMediaRule': false; + readonly 'CSSNamespaceRule': false; + readonly 'CSSNestedDeclarations': false; + readonly 'CSSNumericArray': false; + readonly 'CSSNumericValue': false; + readonly 'CSSPageDescriptors': false; + readonly 'CSSPageRule': false; + readonly 'CSSPerspective': false; + readonly 'CSSPositionTryDescriptors': false; + readonly 'CSSPositionTryRule': false; + readonly 'CSSPositionValue': false; + readonly 'CSSPropertyRule': false; + readonly 'CSSRotate': false; + readonly 'CSSRule': false; + readonly 'CSSRuleList': false; + readonly 'CSSScale': false; + readonly 'CSSScopeRule': false; + readonly 'CSSSkew': false; + readonly 'CSSSkewX': false; + readonly 'CSSSkewY': false; + readonly 'CSSStartingStyleRule': false; + readonly 'CSSStyleDeclaration': false; + readonly 'CSSStyleRule': false; + readonly 'CSSStyleSheet': false; + readonly 'CSSStyleValue': false; + readonly 'CSSSupportsRule': false; + readonly 'CSSTransformComponent': false; + readonly 'CSSTransformValue': false; + readonly 'CSSTransition': false; + readonly 'CSSTranslate': false; + readonly 'CSSUnitValue': false; + readonly 'CSSUnparsedValue': false; + readonly 'CSSVariableReferenceValue': false; + readonly 'CSSViewTransitionRule': false; + readonly 'currentFrame': false; + readonly 'currentTime': false; + readonly 'CustomElementRegistry': false; + readonly 'customElements': false; + readonly 'CustomEvent': false; + readonly 'CustomStateSet': false; + readonly 'DataTransfer': false; + readonly 'DataTransferItem': false; + readonly 'DataTransferItemList': false; + readonly 'DecompressionStream': false; + readonly 'DelayNode': false; + readonly 'DelegatedInkTrailPresenter': false; + readonly 'DeviceMotionEvent': false; + readonly 'DeviceMotionEventAcceleration': false; + readonly 'DeviceMotionEventRotationRate': false; + readonly 'DeviceOrientationEvent': false; + readonly 'devicePixelRatio': false; + readonly 'dispatchEvent': false; + readonly 'document': false; + readonly 'Document': false; + readonly 'DocumentFragment': false; + readonly 'documentPictureInPicture': false; + readonly 'DocumentPictureInPicture': false; + readonly 'DocumentPictureInPictureEvent': false; + readonly 'DocumentTimeline': false; + readonly 'DocumentType': false; + readonly 'DOMError': false; + readonly 'DOMException': false; + readonly 'DOMImplementation': false; + readonly 'DOMMatrix': false; + readonly 'DOMMatrixReadOnly': false; + readonly 'DOMParser': false; + readonly 'DOMPoint': false; + readonly 'DOMPointReadOnly': false; + readonly 'DOMQuad': false; + readonly 'DOMRect': false; + readonly 'DOMRectList': false; + readonly 'DOMRectReadOnly': false; + readonly 'DOMStringList': false; + readonly 'DOMStringMap': false; + readonly 'DOMTokenList': false; + readonly 'DragEvent': false; + readonly 'DynamicsCompressorNode': false; + readonly 'EditContext': false; + readonly 'Element': false; + readonly 'ElementInternals': false; + readonly 'EncodedAudioChunk': false; + readonly 'EncodedVideoChunk': false; + readonly 'ErrorEvent': false; + readonly 'event': false; + readonly 'Event': false; + readonly 'EventCounts': false; + readonly 'EventSource': false; + readonly 'EventTarget': false; + readonly 'external': false; + readonly 'External': false; + readonly 'EyeDropper': false; + readonly 'FeaturePolicy': false; + readonly 'FederatedCredential': false; + readonly 'fence': false; + readonly 'Fence': false; + readonly 'FencedFrameConfig': false; + readonly 'fetch': false; + readonly 'fetchLater': false; + readonly 'FetchLaterResult': false; + readonly 'File': false; + readonly 'FileList': false; + readonly 'FileReader': false; + readonly 'FileSystem': false; + readonly 'FileSystemDirectoryEntry': false; + readonly 'FileSystemDirectoryHandle': false; + readonly 'FileSystemDirectoryReader': false; + readonly 'FileSystemEntry': false; + readonly 'FileSystemFileEntry': false; + readonly 'FileSystemFileHandle': false; + readonly 'FileSystemHandle': false; + readonly 'FileSystemWritableFileStream': false; + readonly 'find': false; + readonly 'Float16Array': false; + readonly 'focus': false; + readonly 'FocusEvent': false; + readonly 'FontData': false; + readonly 'FontFace': false; + readonly 'FontFaceSet': false; + readonly 'FontFaceSetLoadEvent': false; + readonly 'FormData': false; + readonly 'FormDataEvent': false; + readonly 'FragmentDirective': false; + readonly 'frameElement': false; + readonly 'frames': false; + readonly 'GainNode': false; + readonly 'Gamepad': false; + readonly 'GamepadAxisMoveEvent': false; + readonly 'GamepadButton': false; + readonly 'GamepadButtonEvent': false; + readonly 'GamepadEvent': false; + readonly 'GamepadHapticActuator': false; + readonly 'GamepadPose': false; + readonly 'Geolocation': false; + readonly 'GeolocationCoordinates': false; + readonly 'GeolocationPosition': false; + readonly 'GeolocationPositionError': false; + readonly 'getComputedStyle': false; + readonly 'getScreenDetails': false; + readonly 'getSelection': false; + readonly 'GPU': false; + readonly 'GPUAdapter': false; + readonly 'GPUAdapterInfo': false; + readonly 'GPUBindGroup': false; + readonly 'GPUBindGroupLayout': false; + readonly 'GPUBuffer': false; + readonly 'GPUBufferUsage': false; + readonly 'GPUCanvasContext': false; + readonly 'GPUColorWrite': false; + readonly 'GPUCommandBuffer': false; + readonly 'GPUCommandEncoder': false; + readonly 'GPUCompilationInfo': false; + readonly 'GPUCompilationMessage': false; + readonly 'GPUComputePassEncoder': false; + readonly 'GPUComputePipeline': false; + readonly 'GPUDevice': false; + readonly 'GPUDeviceLostInfo': false; + readonly 'GPUError': false; + readonly 'GPUExternalTexture': false; + readonly 'GPUInternalError': false; + readonly 'GPUMapMode': false; + readonly 'GPUOutOfMemoryError': false; + readonly 'GPUPipelineError': false; + readonly 'GPUPipelineLayout': false; + readonly 'GPUQuerySet': false; + readonly 'GPUQueue': false; + readonly 'GPURenderBundle': false; + readonly 'GPURenderBundleEncoder': false; + readonly 'GPURenderPassEncoder': false; + readonly 'GPURenderPipeline': false; + readonly 'GPUSampler': false; + readonly 'GPUShaderModule': false; + readonly 'GPUShaderStage': false; + readonly 'GPUSupportedFeatures': false; + readonly 'GPUSupportedLimits': false; + readonly 'GPUTexture': false; + readonly 'GPUTextureUsage': false; + readonly 'GPUTextureView': false; + readonly 'GPUUncapturedErrorEvent': false; + readonly 'GPUValidationError': false; + readonly 'GravitySensor': false; + readonly 'Gyroscope': false; + readonly 'HashChangeEvent': false; + readonly 'Headers': false; + readonly 'HID': false; + readonly 'HIDConnectionEvent': false; + readonly 'HIDDevice': false; + readonly 'HIDInputReportEvent': false; + readonly 'Highlight': false; + readonly 'HighlightRegistry': false; + readonly 'history': false; + readonly 'History': false; + readonly 'HTMLAllCollection': false; + readonly 'HTMLAnchorElement': false; + readonly 'HTMLAreaElement': false; + readonly 'HTMLAudioElement': false; + readonly 'HTMLBaseElement': false; + readonly 'HTMLBodyElement': false; + readonly 'HTMLBRElement': false; + readonly 'HTMLButtonElement': false; + readonly 'HTMLCanvasElement': false; + readonly 'HTMLCollection': false; + readonly 'HTMLDataElement': false; + readonly 'HTMLDataListElement': false; + readonly 'HTMLDetailsElement': false; + readonly 'HTMLDialogElement': false; + readonly 'HTMLDirectoryElement': false; + readonly 'HTMLDivElement': false; + readonly 'HTMLDListElement': false; + readonly 'HTMLDocument': false; + readonly 'HTMLElement': false; + readonly 'HTMLEmbedElement': false; + readonly 'HTMLFencedFrameElement': false; + readonly 'HTMLFieldSetElement': false; + readonly 'HTMLFontElement': false; + readonly 'HTMLFormControlsCollection': false; + readonly 'HTMLFormElement': false; + readonly 'HTMLFrameElement': false; + readonly 'HTMLFrameSetElement': false; + readonly 'HTMLHeadElement': false; + readonly 'HTMLHeadingElement': false; + readonly 'HTMLHRElement': false; + readonly 'HTMLHtmlElement': false; + readonly 'HTMLIFrameElement': false; + readonly 'HTMLImageElement': false; + readonly 'HTMLInputElement': false; + readonly 'HTMLLabelElement': false; + readonly 'HTMLLegendElement': false; + readonly 'HTMLLIElement': false; + readonly 'HTMLLinkElement': false; + readonly 'HTMLMapElement': false; + readonly 'HTMLMarqueeElement': false; + readonly 'HTMLMediaElement': false; + readonly 'HTMLMenuElement': false; + readonly 'HTMLMetaElement': false; + readonly 'HTMLMeterElement': false; + readonly 'HTMLModElement': false; + readonly 'HTMLObjectElement': false; + readonly 'HTMLOListElement': false; + readonly 'HTMLOptGroupElement': false; + readonly 'HTMLOptionElement': false; + readonly 'HTMLOptionsCollection': false; + readonly 'HTMLOutputElement': false; + readonly 'HTMLParagraphElement': false; + readonly 'HTMLParamElement': false; + readonly 'HTMLPictureElement': false; + readonly 'HTMLPreElement': false; + readonly 'HTMLProgressElement': false; + readonly 'HTMLQuoteElement': false; + readonly 'HTMLScriptElement': false; + readonly 'HTMLSelectElement': false; + readonly 'HTMLSlotElement': false; + readonly 'HTMLSourceElement': false; + readonly 'HTMLSpanElement': false; + readonly 'HTMLStyleElement': false; + readonly 'HTMLTableCaptionElement': false; + readonly 'HTMLTableCellElement': false; + readonly 'HTMLTableColElement': false; + readonly 'HTMLTableElement': false; + readonly 'HTMLTableRowElement': false; + readonly 'HTMLTableSectionElement': false; + readonly 'HTMLTemplateElement': false; + readonly 'HTMLTextAreaElement': false; + readonly 'HTMLTimeElement': false; + readonly 'HTMLTitleElement': false; + readonly 'HTMLTrackElement': false; + readonly 'HTMLUListElement': false; + readonly 'HTMLUnknownElement': false; + readonly 'HTMLVideoElement': false; + readonly 'IDBCursor': false; + readonly 'IDBCursorWithValue': false; + readonly 'IDBDatabase': false; + readonly 'IDBFactory': false; + readonly 'IDBIndex': false; + readonly 'IDBKeyRange': false; + readonly 'IDBObjectStore': false; + readonly 'IDBOpenDBRequest': false; + readonly 'IDBRequest': false; + readonly 'IDBTransaction': false; + readonly 'IDBVersionChangeEvent': false; + readonly 'IdentityCredential': false; + readonly 'IdentityCredentialError': false; + readonly 'IdentityProvider': false; + readonly 'IdleDeadline': false; + readonly 'IdleDetector': false; + readonly 'IIRFilterNode': false; + readonly 'Image': false; + readonly 'ImageBitmap': false; + readonly 'ImageBitmapRenderingContext': false; + readonly 'ImageCapture': false; + readonly 'ImageData': false; + readonly 'ImageDecoder': false; + readonly 'ImageTrack': false; + readonly 'ImageTrackList': false; + readonly 'indexedDB': false; + readonly 'Ink': false; + readonly 'innerHeight': false; + readonly 'innerWidth': false; + readonly 'InputDeviceCapabilities': false; + readonly 'InputDeviceInfo': false; + readonly 'InputEvent': false; + readonly 'IntersectionObserver': false; + readonly 'IntersectionObserverEntry': false; + readonly 'isSecureContext': false; + readonly 'Keyboard': false; + readonly 'KeyboardEvent': false; + readonly 'KeyboardLayoutMap': false; + readonly 'KeyframeEffect': false; + readonly 'LargestContentfulPaint': false; + readonly 'LaunchParams': false; + readonly 'launchQueue': false; + readonly 'LaunchQueue': false; + readonly 'LayoutShift': false; + readonly 'LayoutShiftAttribution': false; + readonly 'length': false; + readonly 'LinearAccelerationSensor': false; + readonly 'localStorage': false; + readonly 'location': true; + readonly 'Location': false; + readonly 'locationbar': false; + readonly 'Lock': false; + readonly 'LockManager': false; + readonly 'matchMedia': false; + readonly 'MathMLElement': false; + readonly 'MediaCapabilities': false; + readonly 'MediaCapabilitiesInfo': false; + readonly 'MediaDeviceInfo': false; + readonly 'MediaDevices': false; + readonly 'MediaElementAudioSourceNode': false; + readonly 'MediaEncryptedEvent': false; + readonly 'MediaError': false; + readonly 'MediaKeyError': false; + readonly 'MediaKeyMessageEvent': false; + readonly 'MediaKeys': false; + readonly 'MediaKeySession': false; + readonly 'MediaKeyStatusMap': false; + readonly 'MediaKeySystemAccess': false; + readonly 'MediaList': false; + readonly 'MediaMetadata': false; + readonly 'MediaQueryList': false; + readonly 'MediaQueryListEvent': false; + readonly 'MediaRecorder': false; + readonly 'MediaRecorderErrorEvent': false; + readonly 'MediaSession': false; + readonly 'MediaSource': false; + readonly 'MediaSourceHandle': false; + readonly 'MediaStream': false; + readonly 'MediaStreamAudioDestinationNode': false; + readonly 'MediaStreamAudioSourceNode': false; + readonly 'MediaStreamEvent': false; + readonly 'MediaStreamTrack': false; + readonly 'MediaStreamTrackAudioSourceNode': false; + readonly 'MediaStreamTrackAudioStats': false; + readonly 'MediaStreamTrackEvent': false; + readonly 'MediaStreamTrackGenerator': false; + readonly 'MediaStreamTrackProcessor': false; + readonly 'MediaStreamTrackVideoStats': false; + readonly 'menubar': false; + readonly 'MessageChannel': false; + readonly 'MessageEvent': false; + readonly 'MessagePort': false; + readonly 'MIDIAccess': false; + readonly 'MIDIConnectionEvent': false; + readonly 'MIDIInput': false; + readonly 'MIDIInputMap': false; + readonly 'MIDIMessageEvent': false; + readonly 'MIDIOutput': false; + readonly 'MIDIOutputMap': false; + readonly 'MIDIPort': false; + readonly 'MimeType': false; + readonly 'MimeTypeArray': false; + readonly 'model': false; + readonly 'ModelGenericSession': false; + readonly 'ModelManager': false; + readonly 'MouseEvent': false; + readonly 'moveBy': false; + readonly 'moveTo': false; + readonly 'MutationEvent': false; + readonly 'MutationObserver': false; + readonly 'MutationRecord': false; + readonly 'name': false; + readonly 'NamedNodeMap': false; + readonly 'NavigateEvent': false; + readonly 'navigation': false; + readonly 'Navigation': false; + readonly 'NavigationActivation': false; + readonly 'NavigationCurrentEntryChangeEvent': false; + readonly 'NavigationDestination': false; + readonly 'NavigationHistoryEntry': false; + readonly 'NavigationPreloadManager': false; + readonly 'NavigationTransition': false; + readonly 'navigator': false; + readonly 'Navigator': false; + readonly 'NavigatorLogin': false; + readonly 'NavigatorManagedData': false; + readonly 'NavigatorUAData': false; + readonly 'NetworkInformation': false; + readonly 'Node': false; + readonly 'NodeFilter': false; + readonly 'NodeIterator': false; + readonly 'NodeList': false; + readonly 'Notification': false; + readonly 'NotifyPaintEvent': false; + readonly 'NotRestoredReasonDetails': false; + readonly 'NotRestoredReasons': false; + readonly 'OfflineAudioCompletionEvent': false; + readonly 'OfflineAudioContext': false; + readonly 'offscreenBuffering': false; + readonly 'OffscreenCanvas': false; + readonly 'OffscreenCanvasRenderingContext2D': false; + readonly 'onabort': true; + readonly 'onafterprint': true; + readonly 'onanimationcancel': true; + readonly 'onanimationend': true; + readonly 'onanimationiteration': true; + readonly 'onanimationstart': true; + readonly 'onappinstalled': true; + readonly 'onauxclick': true; + readonly 'onbeforeinput': true; + readonly 'onbeforeinstallprompt': true; + readonly 'onbeforematch': true; + readonly 'onbeforeprint': true; + readonly 'onbeforetoggle': true; + readonly 'onbeforeunload': true; + readonly 'onbeforexrselect': true; + readonly 'onblur': true; + readonly 'oncancel': true; + readonly 'oncanplay': true; + readonly 'oncanplaythrough': true; + readonly 'onchange': true; + readonly 'onclick': true; + readonly 'onclose': true; + readonly 'oncontentvisibilityautostatechange': true; + readonly 'oncontextlost': true; + readonly 'oncontextmenu': true; + readonly 'oncontextrestored': true; + readonly 'oncopy': true; + readonly 'oncuechange': true; + readonly 'oncut': true; + readonly 'ondblclick': true; + readonly 'ondevicemotion': true; + readonly 'ondeviceorientation': true; + readonly 'ondeviceorientationabsolute': true; + readonly 'ondrag': true; + readonly 'ondragend': true; + readonly 'ondragenter': true; + readonly 'ondragleave': true; + readonly 'ondragover': true; + readonly 'ondragstart': true; + readonly 'ondrop': true; + readonly 'ondurationchange': true; + readonly 'onemptied': true; + readonly 'onended': true; + readonly 'onerror': true; + readonly 'onfocus': true; + readonly 'onformdata': true; + readonly 'ongamepadconnected': true; + readonly 'ongamepaddisconnected': true; + readonly 'ongotpointercapture': true; + readonly 'onhashchange': true; + readonly 'oninput': true; + readonly 'oninvalid': true; + readonly 'onkeydown': true; + readonly 'onkeypress': true; + readonly 'onkeyup': true; + readonly 'onlanguagechange': true; + readonly 'onload': true; + readonly 'onloadeddata': true; + readonly 'onloadedmetadata': true; + readonly 'onloadstart': true; + readonly 'onlostpointercapture': true; + readonly 'onmessage': true; + readonly 'onmessageerror': true; + readonly 'onmousedown': true; + readonly 'onmouseenter': true; + readonly 'onmouseleave': true; + readonly 'onmousemove': true; + readonly 'onmouseout': true; + readonly 'onmouseover': true; + readonly 'onmouseup': true; + readonly 'onmousewheel': true; + readonly 'onoffline': true; + readonly 'ononline': true; + readonly 'onpagehide': true; + readonly 'onpagereveal': true; + readonly 'onpageshow': true; + readonly 'onpageswap': true; + readonly 'onpaste': true; + readonly 'onpause': true; + readonly 'onplay': true; + readonly 'onplaying': true; + readonly 'onpointercancel': true; + readonly 'onpointerdown': true; + readonly 'onpointerenter': true; + readonly 'onpointerleave': true; + readonly 'onpointermove': true; + readonly 'onpointerout': true; + readonly 'onpointerover': true; + readonly 'onpointerrawupdate': true; + readonly 'onpointerup': true; + readonly 'onpopstate': true; + readonly 'onprogress': true; + readonly 'onratechange': true; + readonly 'onrejectionhandled': true; + readonly 'onreset': true; + readonly 'onresize': true; + readonly 'onscroll': true; + readonly 'onscrollend': true; + readonly 'onscrollsnapchange': true; + readonly 'onscrollsnapchanging': true; + readonly 'onsearch': true; + readonly 'onsecuritypolicyviolation': true; + readonly 'onseeked': true; + readonly 'onseeking': true; + readonly 'onselect': true; + readonly 'onselectionchange': true; + readonly 'onselectstart': true; + readonly 'onslotchange': true; + readonly 'onstalled': true; + readonly 'onstorage': true; + readonly 'onsubmit': true; + readonly 'onsuspend': true; + readonly 'ontimeupdate': true; + readonly 'ontoggle': true; + readonly 'ontransitioncancel': true; + readonly 'ontransitionend': true; + readonly 'ontransitionrun': true; + readonly 'ontransitionstart': true; + readonly 'onunhandledrejection': true; + readonly 'onunload': true; + readonly 'onvolumechange': true; + readonly 'onwaiting': true; + readonly 'onwheel': true; + readonly 'open': false; + readonly 'opener': false; + readonly 'Option': false; + readonly 'OrientationSensor': false; + readonly 'origin': false; + readonly 'originAgentCluster': false; + readonly 'OscillatorNode': false; + readonly 'OTPCredential': false; + readonly 'outerHeight': false; + readonly 'outerWidth': false; + readonly 'OverconstrainedError': false; + readonly 'PageRevealEvent': false; + readonly 'PageSwapEvent': false; + readonly 'PageTransitionEvent': false; + readonly 'pageXOffset': false; + readonly 'pageYOffset': false; + readonly 'PannerNode': false; + readonly 'parent': false; + readonly 'PasswordCredential': false; + readonly 'Path2D': false; + readonly 'PaymentAddress': false; + readonly 'PaymentManager': false; + readonly 'PaymentMethodChangeEvent': false; + readonly 'PaymentRequest': false; + readonly 'PaymentRequestUpdateEvent': false; + readonly 'PaymentResponse': false; + readonly 'performance': false; + readonly 'Performance': false; + readonly 'PerformanceElementTiming': false; + readonly 'PerformanceEntry': false; + readonly 'PerformanceEventTiming': false; + readonly 'PerformanceLongAnimationFrameTiming': false; + readonly 'PerformanceLongTaskTiming': false; + readonly 'PerformanceMark': false; + readonly 'PerformanceMeasure': false; + readonly 'PerformanceNavigation': false; + readonly 'PerformanceNavigationTiming': false; + readonly 'PerformanceObserver': false; + readonly 'PerformanceObserverEntryList': false; + readonly 'PerformancePaintTiming': false; + readonly 'PerformanceResourceTiming': false; + readonly 'PerformanceScriptTiming': false; + readonly 'PerformanceServerTiming': false; + readonly 'PerformanceTiming': false; + readonly 'PeriodicSyncManager': false; + readonly 'PeriodicWave': false; + readonly 'Permissions': false; + readonly 'PermissionStatus': false; + readonly 'PERSISTENT': false; + readonly 'personalbar': false; + readonly 'PictureInPictureEvent': false; + readonly 'PictureInPictureWindow': false; + readonly 'Plugin': false; + readonly 'PluginArray': false; + readonly 'PointerEvent': false; + readonly 'PopStateEvent': false; + readonly 'postMessage': false; + readonly 'Presentation': false; + readonly 'PresentationAvailability': false; + readonly 'PresentationConnection': false; + readonly 'PresentationConnectionAvailableEvent': false; + readonly 'PresentationConnectionCloseEvent': false; + readonly 'PresentationConnectionList': false; + readonly 'PresentationReceiver': false; + readonly 'PresentationRequest': false; + readonly 'PressureObserver': false; + readonly 'PressureRecord': false; + readonly 'print': false; + readonly 'ProcessingInstruction': false; + readonly 'Profiler': false; + readonly 'ProgressEvent': false; + readonly 'PromiseRejectionEvent': false; + readonly 'prompt': false; + readonly 'ProtectedAudience': false; + readonly 'PublicKeyCredential': false; + readonly 'PushManager': false; + readonly 'PushSubscription': false; + readonly 'PushSubscriptionOptions': false; + readonly 'queryLocalFonts': false; + readonly 'queueMicrotask': false; + readonly 'RadioNodeList': false; + readonly 'Range': false; + readonly 'ReadableByteStreamController': false; + readonly 'ReadableStream': false; + readonly 'ReadableStreamBYOBReader': false; + readonly 'ReadableStreamBYOBRequest': false; + readonly 'ReadableStreamDefaultController': false; + readonly 'ReadableStreamDefaultReader': false; + readonly 'registerProcessor': false; + readonly 'RelativeOrientationSensor': false; + readonly 'RemotePlayback': false; + readonly 'removeEventListener': false; + readonly 'reportError': false; + readonly 'ReportingObserver': false; + readonly 'Request': false; + readonly 'requestAnimationFrame': false; + readonly 'requestIdleCallback': false; + readonly 'resizeBy': false; + readonly 'ResizeObserver': false; + readonly 'ResizeObserverEntry': false; + readonly 'ResizeObserverSize': false; + readonly 'resizeTo': false; + readonly 'Response': false; + readonly 'RTCCertificate': false; + readonly 'RTCDataChannel': false; + readonly 'RTCDataChannelEvent': false; + readonly 'RTCDtlsTransport': false; + readonly 'RTCDTMFSender': false; + readonly 'RTCDTMFToneChangeEvent': false; + readonly 'RTCEncodedAudioFrame': false; + readonly 'RTCEncodedVideoFrame': false; + readonly 'RTCError': false; + readonly 'RTCErrorEvent': false; + readonly 'RTCIceCandidate': false; + readonly 'RTCIceTransport': false; + readonly 'RTCPeerConnection': false; + readonly 'RTCPeerConnectionIceErrorEvent': false; + readonly 'RTCPeerConnectionIceEvent': false; + readonly 'RTCRtpReceiver': false; + readonly 'RTCRtpScriptTransform': false; + readonly 'RTCRtpSender': false; + readonly 'RTCRtpTransceiver': false; + readonly 'RTCSctpTransport': false; + readonly 'RTCSessionDescription': false; + readonly 'RTCStatsReport': false; + readonly 'RTCTrackEvent': false; + readonly 'sampleRate': false; + readonly 'scheduler': false; + readonly 'Scheduler': false; + readonly 'Scheduling': false; + readonly 'screen': false; + readonly 'Screen': false; + readonly 'ScreenDetailed': false; + readonly 'ScreenDetails': false; + readonly 'screenLeft': false; + readonly 'ScreenOrientation': false; + readonly 'screenTop': false; + readonly 'screenX': false; + readonly 'screenY': false; + readonly 'ScriptProcessorNode': false; + readonly 'scroll': false; + readonly 'scrollbars': false; + readonly 'scrollBy': false; + readonly 'ScrollTimeline': false; + readonly 'scrollTo': false; + readonly 'scrollX': false; + readonly 'scrollY': false; + readonly 'SecurityPolicyViolationEvent': false; + readonly 'Selection': false; + readonly 'self': false; + readonly 'Sensor': false; + readonly 'SensorErrorEvent': false; + readonly 'Serial': false; + readonly 'SerialPort': false; + readonly 'ServiceWorker': false; + readonly 'ServiceWorkerContainer': false; + readonly 'ServiceWorkerRegistration': false; + readonly 'sessionStorage': false; + readonly 'setInterval': false; + readonly 'setTimeout': false; + readonly 'ShadowRoot': false; + readonly 'sharedStorage': false; + readonly 'SharedStorage': false; + readonly 'SharedStorageWorklet': false; + readonly 'SharedWorker': false; + readonly 'showDirectoryPicker': false; + readonly 'showOpenFilePicker': false; + readonly 'showSaveFilePicker': false; + readonly 'SnapEvent': false; + readonly 'SourceBuffer': false; + readonly 'SourceBufferList': false; + readonly 'speechSynthesis': false; + readonly 'SpeechSynthesis': false; + readonly 'SpeechSynthesisErrorEvent': false; + readonly 'SpeechSynthesisEvent': false; + readonly 'SpeechSynthesisUtterance': false; + readonly 'SpeechSynthesisVoice': false; + readonly 'StaticRange': false; + readonly 'status': false; + readonly 'statusbar': false; + readonly 'StereoPannerNode': false; + readonly 'stop': false; + readonly 'Storage': false; + readonly 'StorageBucket': false; + readonly 'StorageBucketManager': false; + readonly 'StorageEvent': false; + readonly 'StorageManager': false; + readonly 'structuredClone': false; + readonly 'styleMedia': false; + readonly 'StylePropertyMap': false; + readonly 'StylePropertyMapReadOnly': false; + readonly 'StyleSheet': false; + readonly 'StyleSheetList': false; + readonly 'SubmitEvent': false; + readonly 'SubtleCrypto': false; + readonly 'SVGAElement': false; + readonly 'SVGAngle': false; + readonly 'SVGAnimatedAngle': false; + readonly 'SVGAnimatedBoolean': false; + readonly 'SVGAnimatedEnumeration': false; + readonly 'SVGAnimatedInteger': false; + readonly 'SVGAnimatedLength': false; + readonly 'SVGAnimatedLengthList': false; + readonly 'SVGAnimatedNumber': false; + readonly 'SVGAnimatedNumberList': false; + readonly 'SVGAnimatedPreserveAspectRatio': false; + readonly 'SVGAnimatedRect': false; + readonly 'SVGAnimatedString': false; + readonly 'SVGAnimatedTransformList': false; + readonly 'SVGAnimateElement': false; + readonly 'SVGAnimateMotionElement': false; + readonly 'SVGAnimateTransformElement': false; + readonly 'SVGAnimationElement': false; + readonly 'SVGCircleElement': false; + readonly 'SVGClipPathElement': false; + readonly 'SVGComponentTransferFunctionElement': false; + readonly 'SVGDefsElement': false; + readonly 'SVGDescElement': false; + readonly 'SVGElement': false; + readonly 'SVGEllipseElement': false; + readonly 'SVGFEBlendElement': false; + readonly 'SVGFEColorMatrixElement': false; + readonly 'SVGFEComponentTransferElement': false; + readonly 'SVGFECompositeElement': false; + readonly 'SVGFEConvolveMatrixElement': false; + readonly 'SVGFEDiffuseLightingElement': false; + readonly 'SVGFEDisplacementMapElement': false; + readonly 'SVGFEDistantLightElement': false; + readonly 'SVGFEDropShadowElement': false; + readonly 'SVGFEFloodElement': false; + readonly 'SVGFEFuncAElement': false; + readonly 'SVGFEFuncBElement': false; + readonly 'SVGFEFuncGElement': false; + readonly 'SVGFEFuncRElement': false; + readonly 'SVGFEGaussianBlurElement': false; + readonly 'SVGFEImageElement': false; + readonly 'SVGFEMergeElement': false; + readonly 'SVGFEMergeNodeElement': false; + readonly 'SVGFEMorphologyElement': false; + readonly 'SVGFEOffsetElement': false; + readonly 'SVGFEPointLightElement': false; + readonly 'SVGFESpecularLightingElement': false; + readonly 'SVGFESpotLightElement': false; + readonly 'SVGFETileElement': false; + readonly 'SVGFETurbulenceElement': false; + readonly 'SVGFilterElement': false; + readonly 'SVGForeignObjectElement': false; + readonly 'SVGGElement': false; + readonly 'SVGGeometryElement': false; + readonly 'SVGGradientElement': false; + readonly 'SVGGraphicsElement': false; + readonly 'SVGImageElement': false; + readonly 'SVGLength': false; + readonly 'SVGLengthList': false; + readonly 'SVGLinearGradientElement': false; + readonly 'SVGLineElement': false; + readonly 'SVGMarkerElement': false; + readonly 'SVGMaskElement': false; + readonly 'SVGMatrix': false; + readonly 'SVGMetadataElement': false; + readonly 'SVGMPathElement': false; + readonly 'SVGNumber': false; + readonly 'SVGNumberList': false; + readonly 'SVGPathElement': false; + readonly 'SVGPatternElement': false; + readonly 'SVGPoint': false; + readonly 'SVGPointList': false; + readonly 'SVGPolygonElement': false; + readonly 'SVGPolylineElement': false; + readonly 'SVGPreserveAspectRatio': false; + readonly 'SVGRadialGradientElement': false; + readonly 'SVGRect': false; + readonly 'SVGRectElement': false; + readonly 'SVGScriptElement': false; + readonly 'SVGSetElement': false; + readonly 'SVGStopElement': false; + readonly 'SVGStringList': false; + readonly 'SVGStyleElement': false; + readonly 'SVGSVGElement': false; + readonly 'SVGSwitchElement': false; + readonly 'SVGSymbolElement': false; + readonly 'SVGTextContentElement': false; + readonly 'SVGTextElement': false; + readonly 'SVGTextPathElement': false; + readonly 'SVGTextPositioningElement': false; + readonly 'SVGTitleElement': false; + readonly 'SVGTransform': false; + readonly 'SVGTransformList': false; + readonly 'SVGTSpanElement': false; + readonly 'SVGUnitTypes': false; + readonly 'SVGUseElement': false; + readonly 'SVGViewElement': false; + readonly 'SyncManager': false; + readonly 'TaskAttributionTiming': false; + readonly 'TaskController': false; + readonly 'TaskPriorityChangeEvent': false; + readonly 'TaskSignal': false; + readonly 'TEMPORARY': false; + readonly 'Text': false; + readonly 'TextDecoder': false; + readonly 'TextDecoderStream': false; + readonly 'TextEncoder': false; + readonly 'TextEncoderStream': false; + readonly 'TextEvent': false; + readonly 'TextFormat': false; + readonly 'TextFormatUpdateEvent': false; + readonly 'TextMetrics': false; + readonly 'TextTrack': false; + readonly 'TextTrackCue': false; + readonly 'TextTrackCueList': false; + readonly 'TextTrackList': false; + readonly 'TextUpdateEvent': false; + readonly 'TimeEvent': false; + readonly 'TimeRanges': false; + readonly 'ToggleEvent': false; + readonly 'toolbar': false; + readonly 'top': false; + readonly 'Touch': false; + readonly 'TouchEvent': false; + readonly 'TouchList': false; + readonly 'TrackEvent': false; + readonly 'TransformStream': false; + readonly 'TransformStreamDefaultController': false; + readonly 'TransitionEvent': false; + readonly 'TreeWalker': false; + readonly 'TrustedHTML': false; + readonly 'TrustedScript': false; + readonly 'TrustedScriptURL': false; + readonly 'TrustedTypePolicy': false; + readonly 'TrustedTypePolicyFactory': false; + readonly 'trustedTypes': false; + readonly 'UIEvent': false; + readonly 'URL': false; + readonly 'URLPattern': false; + readonly 'URLSearchParams': false; + readonly 'USB': false; + readonly 'USBAlternateInterface': false; + readonly 'USBConfiguration': false; + readonly 'USBConnectionEvent': false; + readonly 'USBDevice': false; + readonly 'USBEndpoint': false; + readonly 'USBInterface': false; + readonly 'USBInTransferResult': false; + readonly 'USBIsochronousInTransferPacket': false; + readonly 'USBIsochronousInTransferResult': false; + readonly 'USBIsochronousOutTransferPacket': false; + readonly 'USBIsochronousOutTransferResult': false; + readonly 'USBOutTransferResult': false; + readonly 'UserActivation': false; + readonly 'ValidityState': false; + readonly 'VideoColorSpace': false; + readonly 'VideoDecoder': false; + readonly 'VideoEncoder': false; + readonly 'VideoFrame': false; + readonly 'VideoPlaybackQuality': false; + readonly 'ViewTimeline': false; + readonly 'ViewTransition': false; + readonly 'ViewTransitionTypeSet': false; + readonly 'VirtualKeyboard': false; + readonly 'VirtualKeyboardGeometryChangeEvent': false; + readonly 'VisibilityStateEntry': false; + readonly 'visualViewport': false; + readonly 'VisualViewport': false; + readonly 'VTTCue': false; + readonly 'VTTRegion': false; + readonly 'WakeLock': false; + readonly 'WakeLockSentinel': false; + readonly 'WaveShaperNode': false; + readonly 'WebAssembly': false; + readonly 'WebGL2RenderingContext': false; + readonly 'WebGLActiveInfo': false; + readonly 'WebGLBuffer': false; + readonly 'WebGLContextEvent': false; + readonly 'WebGLFramebuffer': false; + readonly 'WebGLObject': false; + readonly 'WebGLProgram': false; + readonly 'WebGLQuery': false; + readonly 'WebGLRenderbuffer': false; + readonly 'WebGLRenderingContext': false; + readonly 'WebGLSampler': false; + readonly 'WebGLShader': false; + readonly 'WebGLShaderPrecisionFormat': false; + readonly 'WebGLSync': false; + readonly 'WebGLTexture': false; + readonly 'WebGLTransformFeedback': false; + readonly 'WebGLUniformLocation': false; + readonly 'WebGLVertexArrayObject': false; + readonly 'WebSocket': false; + readonly 'WebSocketError': false; + readonly 'WebSocketStream': false; + readonly 'WebTransport': false; + readonly 'WebTransportBidirectionalStream': false; + readonly 'WebTransportDatagramDuplexStream': false; + readonly 'WebTransportError': false; + readonly 'WebTransportReceiveStream': false; + readonly 'WebTransportSendStream': false; + readonly 'WGSLLanguageFeatures': false; + readonly 'WheelEvent': false; + readonly 'window': false; + readonly 'Window': false; + readonly 'WindowControlsOverlay': false; + readonly 'WindowControlsOverlayGeometryChangeEvent': false; + readonly 'Worker': false; + readonly 'Worklet': false; + readonly 'WorkletGlobalScope': false; + readonly 'WritableStream': false; + readonly 'WritableStreamDefaultController': false; + readonly 'WritableStreamDefaultWriter': false; + readonly 'XMLDocument': false; + readonly 'XMLHttpRequest': false; + readonly 'XMLHttpRequestEventTarget': false; + readonly 'XMLHttpRequestUpload': false; + readonly 'XMLSerializer': false; + readonly 'XPathEvaluator': false; + readonly 'XPathExpression': false; + readonly 'XPathResult': false; + readonly 'XRAnchor': false; + readonly 'XRAnchorSet': false; + readonly 'XRBoundedReferenceSpace': false; + readonly 'XRCamera': false; + readonly 'XRCPUDepthInformation': false; + readonly 'XRDepthInformation': false; + readonly 'XRDOMOverlayState': false; + readonly 'XRFrame': false; + readonly 'XRHitTestResult': false; + readonly 'XRHitTestSource': false; + readonly 'XRInputSource': false; + readonly 'XRInputSourceArray': false; + readonly 'XRInputSourceEvent': false; + readonly 'XRInputSourcesChangeEvent': false; + readonly 'XRLayer': false; + readonly 'XRLightEstimate': false; + readonly 'XRLightProbe': false; + readonly 'XRPose': false; + readonly 'XRRay': false; + readonly 'XRReferenceSpace': false; + readonly 'XRReferenceSpaceEvent': false; + readonly 'XRRenderState': false; + readonly 'XRRigidTransform': false; + readonly 'XRSession': false; + readonly 'XRSessionEvent': false; + readonly 'XRSpace': false; + readonly 'XRSystem': false; + readonly 'XRTransientInputHitTestResult': false; + readonly 'XRTransientInputHitTestSource': false; + readonly 'XRView': false; + readonly 'XRViewerPose': false; + readonly 'XRViewport': false; + readonly 'XRWebGLBinding': false; + readonly 'XRWebGLDepthInformation': false; + readonly 'XRWebGLLayer': false; + readonly 'XSLTProcessor': false; +} + +type GlobalsBuiltin = { + readonly 'AggregateError': false; + readonly 'Array': false; + readonly 'ArrayBuffer': false; + readonly 'Atomics': false; + readonly 'BigInt': false; + readonly 'BigInt64Array': false; + readonly 'BigUint64Array': false; + readonly 'Boolean': false; + readonly 'DataView': false; + readonly 'Date': false; + readonly 'decodeURI': false; + readonly 'decodeURIComponent': false; + readonly 'encodeURI': false; + readonly 'encodeURIComponent': false; + readonly 'Error': false; + readonly 'escape': false; + readonly 'eval': false; + readonly 'EvalError': false; + readonly 'FinalizationRegistry': false; + readonly 'Float32Array': false; + readonly 'Float64Array': false; + readonly 'Function': false; + readonly 'globalThis': false; + readonly 'Infinity': false; + readonly 'Int16Array': false; + readonly 'Int32Array': false; + readonly 'Int8Array': false; + readonly 'Intl': false; + readonly 'isFinite': false; + readonly 'isNaN': false; + readonly 'Iterator': false; + readonly 'JSON': false; + readonly 'Map': false; + readonly 'Math': false; + readonly 'NaN': false; + readonly 'Number': false; + readonly 'Object': false; + readonly 'parseFloat': false; + readonly 'parseInt': false; + readonly 'Promise': false; + readonly 'Proxy': false; + readonly 'RangeError': false; + readonly 'ReferenceError': false; + readonly 'Reflect': false; + readonly 'RegExp': false; + readonly 'Set': false; + readonly 'SharedArrayBuffer': false; + readonly 'String': false; + readonly 'Symbol': false; + readonly 'SyntaxError': false; + readonly 'TypeError': false; + readonly 'Uint16Array': false; + readonly 'Uint32Array': false; + readonly 'Uint8Array': false; + readonly 'Uint8ClampedArray': false; + readonly 'undefined': false; + readonly 'unescape': false; + readonly 'URIError': false; + readonly 'WeakMap': false; + readonly 'WeakRef': false; + readonly 'WeakSet': false; +} + +type GlobalsChai = { + readonly 'assert': true; + readonly 'expect': true; + readonly 'should': true; +} + +type GlobalsCommonjs = { + readonly 'exports': true; + readonly 'global': false; + readonly 'module': false; + readonly 'require': false; +} + +type GlobalsCouch = { + readonly 'emit': false; + readonly 'exports': false; + readonly 'getRow': false; + readonly 'log': false; + readonly 'module': false; + readonly 'provides': false; + readonly 'require': false; + readonly 'respond': false; + readonly 'send': false; + readonly 'start': false; + readonly 'sum': false; +} + +type GlobalsDevtools = { + readonly '$': false; + readonly '$_': false; + readonly '$$': false; + readonly '$0': false; + readonly '$1': false; + readonly '$2': false; + readonly '$3': false; + readonly '$4': false; + readonly '$x': false; + readonly 'chrome': false; + readonly 'clear': false; + readonly 'copy': false; + readonly 'debug': false; + readonly 'dir': false; + readonly 'dirxml': false; + readonly 'getEventListeners': false; + readonly 'inspect': false; + readonly 'keys': false; + readonly 'monitor': false; + readonly 'monitorEvents': false; + readonly 'profile': false; + readonly 'profileEnd': false; + readonly 'queryObjects': false; + readonly 'table': false; + readonly 'undebug': false; + readonly 'unmonitor': false; + readonly 'unmonitorEvents': false; + readonly 'values': false; +} + +type GlobalsEmbertest = { + readonly 'andThen': false; + readonly 'click': false; + readonly 'currentPath': false; + readonly 'currentRouteName': false; + readonly 'currentURL': false; + readonly 'fillIn': false; + readonly 'find': false; + readonly 'findAll': false; + readonly 'findWithAssert': false; + readonly 'keyEvent': false; + readonly 'pauseTest': false; + readonly 'resumeTest': false; + readonly 'triggerEvent': false; + readonly 'visit': false; + readonly 'wait': false; +} + +type GlobalsEs2015 = { + readonly 'Array': false; + readonly 'ArrayBuffer': false; + readonly 'Boolean': false; + readonly 'DataView': false; + readonly 'Date': false; + readonly 'decodeURI': false; + readonly 'decodeURIComponent': false; + readonly 'encodeURI': false; + readonly 'encodeURIComponent': false; + readonly 'Error': false; + readonly 'escape': false; + readonly 'eval': false; + readonly 'EvalError': false; + readonly 'Float32Array': false; + readonly 'Float64Array': false; + readonly 'Function': false; + readonly 'Infinity': false; + readonly 'Int16Array': false; + readonly 'Int32Array': false; + readonly 'Int8Array': false; + readonly 'Intl': false; + readonly 'isFinite': false; + readonly 'isNaN': false; + readonly 'JSON': false; + readonly 'Map': false; + readonly 'Math': false; + readonly 'NaN': false; + readonly 'Number': false; + readonly 'Object': false; + readonly 'parseFloat': false; + readonly 'parseInt': false; + readonly 'Promise': false; + readonly 'Proxy': false; + readonly 'RangeError': false; + readonly 'ReferenceError': false; + readonly 'Reflect': false; + readonly 'RegExp': false; + readonly 'Set': false; + readonly 'String': false; + readonly 'Symbol': false; + readonly 'SyntaxError': false; + readonly 'TypeError': false; + readonly 'Uint16Array': false; + readonly 'Uint32Array': false; + readonly 'Uint8Array': false; + readonly 'Uint8ClampedArray': false; + readonly 'undefined': false; + readonly 'unescape': false; + readonly 'URIError': false; + readonly 'WeakMap': false; + readonly 'WeakSet': false; +} + +type GlobalsEs2016 = { + readonly 'Array': false; + readonly 'ArrayBuffer': false; + readonly 'Boolean': false; + readonly 'DataView': false; + readonly 'Date': false; + readonly 'decodeURI': false; + readonly 'decodeURIComponent': false; + readonly 'encodeURI': false; + readonly 'encodeURIComponent': false; + readonly 'Error': false; + readonly 'escape': false; + readonly 'eval': false; + readonly 'EvalError': false; + readonly 'Float32Array': false; + readonly 'Float64Array': false; + readonly 'Function': false; + readonly 'Infinity': false; + readonly 'Int16Array': false; + readonly 'Int32Array': false; + readonly 'Int8Array': false; + readonly 'Intl': false; + readonly 'isFinite': false; + readonly 'isNaN': false; + readonly 'JSON': false; + readonly 'Map': false; + readonly 'Math': false; + readonly 'NaN': false; + readonly 'Number': false; + readonly 'Object': false; + readonly 'parseFloat': false; + readonly 'parseInt': false; + readonly 'Promise': false; + readonly 'Proxy': false; + readonly 'RangeError': false; + readonly 'ReferenceError': false; + readonly 'Reflect': false; + readonly 'RegExp': false; + readonly 'Set': false; + readonly 'String': false; + readonly 'Symbol': false; + readonly 'SyntaxError': false; + readonly 'TypeError': false; + readonly 'Uint16Array': false; + readonly 'Uint32Array': false; + readonly 'Uint8Array': false; + readonly 'Uint8ClampedArray': false; + readonly 'undefined': false; + readonly 'unescape': false; + readonly 'URIError': false; + readonly 'WeakMap': false; + readonly 'WeakSet': false; +} + +type GlobalsEs2017 = { + readonly 'Array': false; + readonly 'ArrayBuffer': false; + readonly 'Atomics': false; + readonly 'Boolean': false; + readonly 'DataView': false; + readonly 'Date': false; + readonly 'decodeURI': false; + readonly 'decodeURIComponent': false; + readonly 'encodeURI': false; + readonly 'encodeURIComponent': false; + readonly 'Error': false; + readonly 'escape': false; + readonly 'eval': false; + readonly 'EvalError': false; + readonly 'Float32Array': false; + readonly 'Float64Array': false; + readonly 'Function': false; + readonly 'Infinity': false; + readonly 'Int16Array': false; + readonly 'Int32Array': false; + readonly 'Int8Array': false; + readonly 'Intl': false; + readonly 'isFinite': false; + readonly 'isNaN': false; + readonly 'JSON': false; + readonly 'Map': false; + readonly 'Math': false; + readonly 'NaN': false; + readonly 'Number': false; + readonly 'Object': false; + readonly 'parseFloat': false; + readonly 'parseInt': false; + readonly 'Promise': false; + readonly 'Proxy': false; + readonly 'RangeError': false; + readonly 'ReferenceError': false; + readonly 'Reflect': false; + readonly 'RegExp': false; + readonly 'Set': false; + readonly 'SharedArrayBuffer': false; + readonly 'String': false; + readonly 'Symbol': false; + readonly 'SyntaxError': false; + readonly 'TypeError': false; + readonly 'Uint16Array': false; + readonly 'Uint32Array': false; + readonly 'Uint8Array': false; + readonly 'Uint8ClampedArray': false; + readonly 'undefined': false; + readonly 'unescape': false; + readonly 'URIError': false; + readonly 'WeakMap': false; + readonly 'WeakSet': false; +} + +type GlobalsEs2018 = { + readonly 'Array': false; + readonly 'ArrayBuffer': false; + readonly 'Atomics': false; + readonly 'Boolean': false; + readonly 'DataView': false; + readonly 'Date': false; + readonly 'decodeURI': false; + readonly 'decodeURIComponent': false; + readonly 'encodeURI': false; + readonly 'encodeURIComponent': false; + readonly 'Error': false; + readonly 'escape': false; + readonly 'eval': false; + readonly 'EvalError': false; + readonly 'Float32Array': false; + readonly 'Float64Array': false; + readonly 'Function': false; + readonly 'Infinity': false; + readonly 'Int16Array': false; + readonly 'Int32Array': false; + readonly 'Int8Array': false; + readonly 'Intl': false; + readonly 'isFinite': false; + readonly 'isNaN': false; + readonly 'JSON': false; + readonly 'Map': false; + readonly 'Math': false; + readonly 'NaN': false; + readonly 'Number': false; + readonly 'Object': false; + readonly 'parseFloat': false; + readonly 'parseInt': false; + readonly 'Promise': false; + readonly 'Proxy': false; + readonly 'RangeError': false; + readonly 'ReferenceError': false; + readonly 'Reflect': false; + readonly 'RegExp': false; + readonly 'Set': false; + readonly 'SharedArrayBuffer': false; + readonly 'String': false; + readonly 'Symbol': false; + readonly 'SyntaxError': false; + readonly 'TypeError': false; + readonly 'Uint16Array': false; + readonly 'Uint32Array': false; + readonly 'Uint8Array': false; + readonly 'Uint8ClampedArray': false; + readonly 'undefined': false; + readonly 'unescape': false; + readonly 'URIError': false; + readonly 'WeakMap': false; + readonly 'WeakSet': false; +} + +type GlobalsEs2019 = { + readonly 'Array': false; + readonly 'ArrayBuffer': false; + readonly 'Atomics': false; + readonly 'Boolean': false; + readonly 'DataView': false; + readonly 'Date': false; + readonly 'decodeURI': false; + readonly 'decodeURIComponent': false; + readonly 'encodeURI': false; + readonly 'encodeURIComponent': false; + readonly 'Error': false; + readonly 'escape': false; + readonly 'eval': false; + readonly 'EvalError': false; + readonly 'Float32Array': false; + readonly 'Float64Array': false; + readonly 'Function': false; + readonly 'Infinity': false; + readonly 'Int16Array': false; + readonly 'Int32Array': false; + readonly 'Int8Array': false; + readonly 'Intl': false; + readonly 'isFinite': false; + readonly 'isNaN': false; + readonly 'JSON': false; + readonly 'Map': false; + readonly 'Math': false; + readonly 'NaN': false; + readonly 'Number': false; + readonly 'Object': false; + readonly 'parseFloat': false; + readonly 'parseInt': false; + readonly 'Promise': false; + readonly 'Proxy': false; + readonly 'RangeError': false; + readonly 'ReferenceError': false; + readonly 'Reflect': false; + readonly 'RegExp': false; + readonly 'Set': false; + readonly 'SharedArrayBuffer': false; + readonly 'String': false; + readonly 'Symbol': false; + readonly 'SyntaxError': false; + readonly 'TypeError': false; + readonly 'Uint16Array': false; + readonly 'Uint32Array': false; + readonly 'Uint8Array': false; + readonly 'Uint8ClampedArray': false; + readonly 'undefined': false; + readonly 'unescape': false; + readonly 'URIError': false; + readonly 'WeakMap': false; + readonly 'WeakSet': false; +} + +type GlobalsEs2020 = { + readonly 'Array': false; + readonly 'ArrayBuffer': false; + readonly 'Atomics': false; + readonly 'BigInt': false; + readonly 'BigInt64Array': false; + readonly 'BigUint64Array': false; + readonly 'Boolean': false; + readonly 'DataView': false; + readonly 'Date': false; + readonly 'decodeURI': false; + readonly 'decodeURIComponent': false; + readonly 'encodeURI': false; + readonly 'encodeURIComponent': false; + readonly 'Error': false; + readonly 'escape': false; + readonly 'eval': false; + readonly 'EvalError': false; + readonly 'Float32Array': false; + readonly 'Float64Array': false; + readonly 'Function': false; + readonly 'globalThis': false; + readonly 'Infinity': false; + readonly 'Int16Array': false; + readonly 'Int32Array': false; + readonly 'Int8Array': false; + readonly 'Intl': false; + readonly 'isFinite': false; + readonly 'isNaN': false; + readonly 'JSON': false; + readonly 'Map': false; + readonly 'Math': false; + readonly 'NaN': false; + readonly 'Number': false; + readonly 'Object': false; + readonly 'parseFloat': false; + readonly 'parseInt': false; + readonly 'Promise': false; + readonly 'Proxy': false; + readonly 'RangeError': false; + readonly 'ReferenceError': false; + readonly 'Reflect': false; + readonly 'RegExp': false; + readonly 'Set': false; + readonly 'SharedArrayBuffer': false; + readonly 'String': false; + readonly 'Symbol': false; + readonly 'SyntaxError': false; + readonly 'TypeError': false; + readonly 'Uint16Array': false; + readonly 'Uint32Array': false; + readonly 'Uint8Array': false; + readonly 'Uint8ClampedArray': false; + readonly 'undefined': false; + readonly 'unescape': false; + readonly 'URIError': false; + readonly 'WeakMap': false; + readonly 'WeakSet': false; +} + +type GlobalsEs2021 = { + readonly 'AggregateError': false; + readonly 'Array': false; + readonly 'ArrayBuffer': false; + readonly 'Atomics': false; + readonly 'BigInt': false; + readonly 'BigInt64Array': false; + readonly 'BigUint64Array': false; + readonly 'Boolean': false; + readonly 'DataView': false; + readonly 'Date': false; + readonly 'decodeURI': false; + readonly 'decodeURIComponent': false; + readonly 'encodeURI': false; + readonly 'encodeURIComponent': false; + readonly 'Error': false; + readonly 'escape': false; + readonly 'eval': false; + readonly 'EvalError': false; + readonly 'FinalizationRegistry': false; + readonly 'Float32Array': false; + readonly 'Float64Array': false; + readonly 'Function': false; + readonly 'globalThis': false; + readonly 'Infinity': false; + readonly 'Int16Array': false; + readonly 'Int32Array': false; + readonly 'Int8Array': false; + readonly 'Intl': false; + readonly 'isFinite': false; + readonly 'isNaN': false; + readonly 'JSON': false; + readonly 'Map': false; + readonly 'Math': false; + readonly 'NaN': false; + readonly 'Number': false; + readonly 'Object': false; + readonly 'parseFloat': false; + readonly 'parseInt': false; + readonly 'Promise': false; + readonly 'Proxy': false; + readonly 'RangeError': false; + readonly 'ReferenceError': false; + readonly 'Reflect': false; + readonly 'RegExp': false; + readonly 'Set': false; + readonly 'SharedArrayBuffer': false; + readonly 'String': false; + readonly 'Symbol': false; + readonly 'SyntaxError': false; + readonly 'TypeError': false; + readonly 'Uint16Array': false; + readonly 'Uint32Array': false; + readonly 'Uint8Array': false; + readonly 'Uint8ClampedArray': false; + readonly 'undefined': false; + readonly 'unescape': false; + readonly 'URIError': false; + readonly 'WeakMap': false; + readonly 'WeakRef': false; + readonly 'WeakSet': false; +} + +type GlobalsEs2022 = { + readonly 'AggregateError': false; + readonly 'Array': false; + readonly 'ArrayBuffer': false; + readonly 'Atomics': false; + readonly 'BigInt': false; + readonly 'BigInt64Array': false; + readonly 'BigUint64Array': false; + readonly 'Boolean': false; + readonly 'DataView': false; + readonly 'Date': false; + readonly 'decodeURI': false; + readonly 'decodeURIComponent': false; + readonly 'encodeURI': false; + readonly 'encodeURIComponent': false; + readonly 'Error': false; + readonly 'escape': false; + readonly 'eval': false; + readonly 'EvalError': false; + readonly 'FinalizationRegistry': false; + readonly 'Float32Array': false; + readonly 'Float64Array': false; + readonly 'Function': false; + readonly 'globalThis': false; + readonly 'Infinity': false; + readonly 'Int16Array': false; + readonly 'Int32Array': false; + readonly 'Int8Array': false; + readonly 'Intl': false; + readonly 'isFinite': false; + readonly 'isNaN': false; + readonly 'JSON': false; + readonly 'Map': false; + readonly 'Math': false; + readonly 'NaN': false; + readonly 'Number': false; + readonly 'Object': false; + readonly 'parseFloat': false; + readonly 'parseInt': false; + readonly 'Promise': false; + readonly 'Proxy': false; + readonly 'RangeError': false; + readonly 'ReferenceError': false; + readonly 'Reflect': false; + readonly 'RegExp': false; + readonly 'Set': false; + readonly 'SharedArrayBuffer': false; + readonly 'String': false; + readonly 'Symbol': false; + readonly 'SyntaxError': false; + readonly 'TypeError': false; + readonly 'Uint16Array': false; + readonly 'Uint32Array': false; + readonly 'Uint8Array': false; + readonly 'Uint8ClampedArray': false; + readonly 'undefined': false; + readonly 'unescape': false; + readonly 'URIError': false; + readonly 'WeakMap': false; + readonly 'WeakRef': false; + readonly 'WeakSet': false; +} + +type GlobalsEs2023 = { + readonly 'AggregateError': false; + readonly 'Array': false; + readonly 'ArrayBuffer': false; + readonly 'Atomics': false; + readonly 'BigInt': false; + readonly 'BigInt64Array': false; + readonly 'BigUint64Array': false; + readonly 'Boolean': false; + readonly 'DataView': false; + readonly 'Date': false; + readonly 'decodeURI': false; + readonly 'decodeURIComponent': false; + readonly 'encodeURI': false; + readonly 'encodeURIComponent': false; + readonly 'Error': false; + readonly 'escape': false; + readonly 'eval': false; + readonly 'EvalError': false; + readonly 'FinalizationRegistry': false; + readonly 'Float32Array': false; + readonly 'Float64Array': false; + readonly 'Function': false; + readonly 'globalThis': false; + readonly 'Infinity': false; + readonly 'Int16Array': false; + readonly 'Int32Array': false; + readonly 'Int8Array': false; + readonly 'Intl': false; + readonly 'isFinite': false; + readonly 'isNaN': false; + readonly 'JSON': false; + readonly 'Map': false; + readonly 'Math': false; + readonly 'NaN': false; + readonly 'Number': false; + readonly 'Object': false; + readonly 'parseFloat': false; + readonly 'parseInt': false; + readonly 'Promise': false; + readonly 'Proxy': false; + readonly 'RangeError': false; + readonly 'ReferenceError': false; + readonly 'Reflect': false; + readonly 'RegExp': false; + readonly 'Set': false; + readonly 'SharedArrayBuffer': false; + readonly 'String': false; + readonly 'Symbol': false; + readonly 'SyntaxError': false; + readonly 'TypeError': false; + readonly 'Uint16Array': false; + readonly 'Uint32Array': false; + readonly 'Uint8Array': false; + readonly 'Uint8ClampedArray': false; + readonly 'undefined': false; + readonly 'unescape': false; + readonly 'URIError': false; + readonly 'WeakMap': false; + readonly 'WeakRef': false; + readonly 'WeakSet': false; +} + +type GlobalsEs2024 = { + readonly 'AggregateError': false; + readonly 'Array': false; + readonly 'ArrayBuffer': false; + readonly 'Atomics': false; + readonly 'BigInt': false; + readonly 'BigInt64Array': false; + readonly 'BigUint64Array': false; + readonly 'Boolean': false; + readonly 'DataView': false; + readonly 'Date': false; + readonly 'decodeURI': false; + readonly 'decodeURIComponent': false; + readonly 'encodeURI': false; + readonly 'encodeURIComponent': false; + readonly 'Error': false; + readonly 'escape': false; + readonly 'eval': false; + readonly 'EvalError': false; + readonly 'FinalizationRegistry': false; + readonly 'Float32Array': false; + readonly 'Float64Array': false; + readonly 'Function': false; + readonly 'globalThis': false; + readonly 'Infinity': false; + readonly 'Int16Array': false; + readonly 'Int32Array': false; + readonly 'Int8Array': false; + readonly 'Intl': false; + readonly 'isFinite': false; + readonly 'isNaN': false; + readonly 'JSON': false; + readonly 'Map': false; + readonly 'Math': false; + readonly 'NaN': false; + readonly 'Number': false; + readonly 'Object': false; + readonly 'parseFloat': false; + readonly 'parseInt': false; + readonly 'Promise': false; + readonly 'Proxy': false; + readonly 'RangeError': false; + readonly 'ReferenceError': false; + readonly 'Reflect': false; + readonly 'RegExp': false; + readonly 'Set': false; + readonly 'SharedArrayBuffer': false; + readonly 'String': false; + readonly 'Symbol': false; + readonly 'SyntaxError': false; + readonly 'TypeError': false; + readonly 'Uint16Array': false; + readonly 'Uint32Array': false; + readonly 'Uint8Array': false; + readonly 'Uint8ClampedArray': false; + readonly 'undefined': false; + readonly 'unescape': false; + readonly 'URIError': false; + readonly 'WeakMap': false; + readonly 'WeakRef': false; + readonly 'WeakSet': false; +} + +type GlobalsEs2025 = { + readonly 'AggregateError': false; + readonly 'Array': false; + readonly 'ArrayBuffer': false; + readonly 'Atomics': false; + readonly 'BigInt': false; + readonly 'BigInt64Array': false; + readonly 'BigUint64Array': false; + readonly 'Boolean': false; + readonly 'DataView': false; + readonly 'Date': false; + readonly 'decodeURI': false; + readonly 'decodeURIComponent': false; + readonly 'encodeURI': false; + readonly 'encodeURIComponent': false; + readonly 'Error': false; + readonly 'escape': false; + readonly 'eval': false; + readonly 'EvalError': false; + readonly 'FinalizationRegistry': false; + readonly 'Float32Array': false; + readonly 'Float64Array': false; + readonly 'Function': false; + readonly 'globalThis': false; + readonly 'Infinity': false; + readonly 'Int16Array': false; + readonly 'Int32Array': false; + readonly 'Int8Array': false; + readonly 'Intl': false; + readonly 'isFinite': false; + readonly 'isNaN': false; + readonly 'Iterator': false; + readonly 'JSON': false; + readonly 'Map': false; + readonly 'Math': false; + readonly 'NaN': false; + readonly 'Number': false; + readonly 'Object': false; + readonly 'parseFloat': false; + readonly 'parseInt': false; + readonly 'Promise': false; + readonly 'Proxy': false; + readonly 'RangeError': false; + readonly 'ReferenceError': false; + readonly 'Reflect': false; + readonly 'RegExp': false; + readonly 'Set': false; + readonly 'SharedArrayBuffer': false; + readonly 'String': false; + readonly 'Symbol': false; + readonly 'SyntaxError': false; + readonly 'TypeError': false; + readonly 'Uint16Array': false; + readonly 'Uint32Array': false; + readonly 'Uint8Array': false; + readonly 'Uint8ClampedArray': false; + readonly 'undefined': false; + readonly 'unescape': false; + readonly 'URIError': false; + readonly 'WeakMap': false; + readonly 'WeakRef': false; + readonly 'WeakSet': false; +} + +type GlobalsEs3 = { + readonly 'Array': false; + readonly 'Boolean': false; + readonly 'Date': false; + readonly 'decodeURI': false; + readonly 'decodeURIComponent': false; + readonly 'encodeURI': false; + readonly 'encodeURIComponent': false; + readonly 'Error': false; + readonly 'escape': false; + readonly 'eval': false; + readonly 'EvalError': false; + readonly 'Function': false; + readonly 'Infinity': false; + readonly 'isFinite': false; + readonly 'isNaN': false; + readonly 'Math': false; + readonly 'NaN': false; + readonly 'Number': false; + readonly 'Object': false; + readonly 'parseFloat': false; + readonly 'parseInt': false; + readonly 'RangeError': false; + readonly 'ReferenceError': false; + readonly 'RegExp': false; + readonly 'String': false; + readonly 'SyntaxError': false; + readonly 'TypeError': false; + readonly 'undefined': false; + readonly 'unescape': false; + readonly 'URIError': false; +} + +type GlobalsEs5 = { + readonly 'Array': false; + readonly 'Boolean': false; + readonly 'Date': false; + readonly 'decodeURI': false; + readonly 'decodeURIComponent': false; + readonly 'encodeURI': false; + readonly 'encodeURIComponent': false; + readonly 'Error': false; + readonly 'escape': false; + readonly 'eval': false; + readonly 'EvalError': false; + readonly 'Function': false; + readonly 'Infinity': false; + readonly 'isFinite': false; + readonly 'isNaN': false; + readonly 'JSON': false; + readonly 'Math': false; + readonly 'NaN': false; + readonly 'Number': false; + readonly 'Object': false; + readonly 'parseFloat': false; + readonly 'parseInt': false; + readonly 'RangeError': false; + readonly 'ReferenceError': false; + readonly 'RegExp': false; + readonly 'String': false; + readonly 'SyntaxError': false; + readonly 'TypeError': false; + readonly 'undefined': false; + readonly 'unescape': false; + readonly 'URIError': false; +} + +type GlobalsGreasemonkey = { + readonly 'cloneInto': false; + readonly 'createObjectIn': false; + readonly 'exportFunction': false; + readonly 'GM': false; + readonly 'GM_addElement': false; + readonly 'GM_addStyle': false; + readonly 'GM_addValueChangeListener': false; + readonly 'GM_deleteValue': false; + readonly 'GM_download': false; + readonly 'GM_getResourceText': false; + readonly 'GM_getResourceURL': false; + readonly 'GM_getTab': false; + readonly 'GM_getTabs': false; + readonly 'GM_getValue': false; + readonly 'GM_info': false; + readonly 'GM_listValues': false; + readonly 'GM_log': false; + readonly 'GM_notification': false; + readonly 'GM_openInTab': false; + readonly 'GM_registerMenuCommand': false; + readonly 'GM_removeValueChangeListener': false; + readonly 'GM_saveTab': false; + readonly 'GM_setClipboard': false; + readonly 'GM_setValue': false; + readonly 'GM_unregisterMenuCommand': false; + readonly 'GM_xmlhttpRequest': false; + readonly 'unsafeWindow': false; +} + +type GlobalsJasmine = { + readonly 'afterAll': false; + readonly 'afterEach': false; + readonly 'beforeAll': false; + readonly 'beforeEach': false; + readonly 'describe': false; + readonly 'expect': false; + readonly 'expectAsync': false; + readonly 'fail': false; + readonly 'fdescribe': false; + readonly 'fit': false; + readonly 'it': false; + readonly 'jasmine': false; + readonly 'pending': false; + readonly 'runs': false; + readonly 'spyOn': false; + readonly 'spyOnAllFunctions': false; + readonly 'spyOnProperty': false; + readonly 'waits': false; + readonly 'waitsFor': false; + readonly 'xdescribe': false; + readonly 'xit': false; +} + +type GlobalsJest = { + readonly 'afterAll': false; + readonly 'afterEach': false; + readonly 'beforeAll': false; + readonly 'beforeEach': false; + readonly 'describe': false; + readonly 'expect': false; + readonly 'fit': false; + readonly 'it': false; + readonly 'jest': false; + readonly 'test': false; + readonly 'xdescribe': false; + readonly 'xit': false; + readonly 'xtest': false; +} + +type GlobalsJquery = { + readonly '$': false; + readonly 'jQuery': false; +} + +type GlobalsMeteor = { + readonly '$': false; + readonly 'Accounts': false; + readonly 'AccountsClient': false; + readonly 'AccountsCommon': false; + readonly 'AccountsServer': false; + readonly 'App': false; + readonly 'Assets': false; + readonly 'Blaze': false; + readonly 'check': false; + readonly 'Cordova': false; + readonly 'DDP': false; + readonly 'DDPRateLimiter': false; + readonly 'DDPServer': false; + readonly 'Deps': false; + readonly 'EJSON': false; + readonly 'Email': false; + readonly 'HTTP': false; + readonly 'Log': false; + readonly 'Match': false; + readonly 'Meteor': false; + readonly 'Mongo': false; + readonly 'MongoInternals': false; + readonly 'Npm': false; + readonly 'Package': false; + readonly 'Plugin': false; + readonly 'process': false; + readonly 'Random': false; + readonly 'ReactiveDict': false; + readonly 'ReactiveVar': false; + readonly 'Router': false; + readonly 'ServiceConfiguration': false; + readonly 'Session': false; + readonly 'share': false; + readonly 'Spacebars': false; + readonly 'Template': false; + readonly 'Tinytest': false; + readonly 'Tracker': false; + readonly 'UI': false; + readonly 'Utils': false; + readonly 'WebApp': false; + readonly 'WebAppInternals': false; +} + +type GlobalsMocha = { + readonly 'after': false; + readonly 'afterEach': false; + readonly 'before': false; + readonly 'beforeEach': false; + readonly 'context': false; + readonly 'describe': false; + readonly 'it': false; + readonly 'mocha': false; + readonly 'run': false; + readonly 'setup': false; + readonly 'specify': false; + readonly 'suite': false; + readonly 'suiteSetup': false; + readonly 'suiteTeardown': false; + readonly 'teardown': false; + readonly 'test': false; + readonly 'xcontext': false; + readonly 'xdescribe': false; + readonly 'xit': false; + readonly 'xspecify': false; +} + +type GlobalsMongo = { + readonly '_isWindows': false; + readonly '_rand': false; + readonly 'BulkWriteResult': false; + readonly 'cat': false; + readonly 'cd': false; + readonly 'connect': false; + readonly 'db': false; + readonly 'getHostName': false; + readonly 'getMemInfo': false; + readonly 'hostname': false; + readonly 'ISODate': false; + readonly 'listFiles': false; + readonly 'load': false; + readonly 'ls': false; + readonly 'md5sumFile': false; + readonly 'mkdir': false; + readonly 'Mongo': false; + readonly 'NumberInt': false; + readonly 'NumberLong': false; + readonly 'ObjectId': false; + readonly 'PlanCache': false; + readonly 'print': false; + readonly 'printjson': false; + readonly 'pwd': false; + readonly 'quit': false; + readonly 'removeFile': false; + readonly 'rs': false; + readonly 'sh': false; + readonly 'UUID': false; + readonly 'version': false; + readonly 'WriteResult': false; +} + +type GlobalsNashorn = { + readonly '__DIR__': false; + readonly '__FILE__': false; + readonly '__LINE__': false; + readonly 'com': false; + readonly 'edu': false; + readonly 'exit': false; + readonly 'java': false; + readonly 'Java': false; + readonly 'javafx': false; + readonly 'JavaImporter': false; + readonly 'javax': false; + readonly 'JSAdapter': false; + readonly 'load': false; + readonly 'loadWithNewGlobal': false; + readonly 'org': false; + readonly 'Packages': false; + readonly 'print': false; + readonly 'quit': false; +} + +type GlobalsNode = { + readonly '__dirname': false; + readonly '__filename': false; + readonly 'AbortController': false; + readonly 'AbortSignal': false; + readonly 'atob': false; + readonly 'Blob': false; + readonly 'BroadcastChannel': false; + readonly 'btoa': false; + readonly 'Buffer': false; + readonly 'ByteLengthQueuingStrategy': false; + readonly 'clearImmediate': false; + readonly 'clearInterval': false; + readonly 'clearTimeout': false; + readonly 'CloseEvent': false; + readonly 'CompressionStream': false; + readonly 'console': false; + readonly 'CountQueuingStrategy': false; + readonly 'crypto': false; + readonly 'Crypto': false; + readonly 'CryptoKey': false; + readonly 'CustomEvent': false; + readonly 'DecompressionStream': false; + readonly 'DOMException': false; + readonly 'Event': false; + readonly 'EventTarget': false; + readonly 'exports': true; + readonly 'fetch': false; + readonly 'File': false; + readonly 'FormData': false; + readonly 'global': false; + readonly 'Headers': false; + readonly 'MessageChannel': false; + readonly 'MessageEvent': false; + readonly 'MessagePort': false; + readonly 'module': false; + readonly 'navigator': false; + readonly 'Navigator': false; + readonly 'performance': false; + readonly 'Performance': false; + readonly 'PerformanceEntry': false; + readonly 'PerformanceMark': false; + readonly 'PerformanceMeasure': false; + readonly 'PerformanceObserver': false; + readonly 'PerformanceObserverEntryList': false; + readonly 'PerformanceResourceTiming': false; + readonly 'process': false; + readonly 'queueMicrotask': false; + readonly 'ReadableByteStreamController': false; + readonly 'ReadableStream': false; + readonly 'ReadableStreamBYOBReader': false; + readonly 'ReadableStreamBYOBRequest': false; + readonly 'ReadableStreamDefaultController': false; + readonly 'ReadableStreamDefaultReader': false; + readonly 'Request': false; + readonly 'require': false; + readonly 'Response': false; + readonly 'setImmediate': false; + readonly 'setInterval': false; + readonly 'setTimeout': false; + readonly 'structuredClone': false; + readonly 'SubtleCrypto': false; + readonly 'TextDecoder': false; + readonly 'TextDecoderStream': false; + readonly 'TextEncoder': false; + readonly 'TextEncoderStream': false; + readonly 'TransformStream': false; + readonly 'TransformStreamDefaultController': false; + readonly 'URL': false; + readonly 'URLSearchParams': false; + readonly 'WebAssembly': false; + readonly 'WebSocket': false; + readonly 'WritableStream': false; + readonly 'WritableStreamDefaultController': false; + readonly 'WritableStreamDefaultWriter': false; +} + +type GlobalsNodeBuiltin = { + readonly 'AbortController': false; + readonly 'AbortSignal': false; + readonly 'atob': false; + readonly 'Blob': false; + readonly 'BroadcastChannel': false; + readonly 'btoa': false; + readonly 'Buffer': false; + readonly 'ByteLengthQueuingStrategy': false; + readonly 'clearImmediate': false; + readonly 'clearInterval': false; + readonly 'clearTimeout': false; + readonly 'CloseEvent': false; + readonly 'CompressionStream': false; + readonly 'console': false; + readonly 'CountQueuingStrategy': false; + readonly 'crypto': false; + readonly 'Crypto': false; + readonly 'CryptoKey': false; + readonly 'CustomEvent': false; + readonly 'DecompressionStream': false; + readonly 'DOMException': false; + readonly 'Event': false; + readonly 'EventTarget': false; + readonly 'fetch': false; + readonly 'File': false; + readonly 'FormData': false; + readonly 'global': false; + readonly 'Headers': false; + readonly 'MessageChannel': false; + readonly 'MessageEvent': false; + readonly 'MessagePort': false; + readonly 'navigator': false; + readonly 'Navigator': false; + readonly 'performance': false; + readonly 'Performance': false; + readonly 'PerformanceEntry': false; + readonly 'PerformanceMark': false; + readonly 'PerformanceMeasure': false; + readonly 'PerformanceObserver': false; + readonly 'PerformanceObserverEntryList': false; + readonly 'PerformanceResourceTiming': false; + readonly 'process': false; + readonly 'queueMicrotask': false; + readonly 'ReadableByteStreamController': false; + readonly 'ReadableStream': false; + readonly 'ReadableStreamBYOBReader': false; + readonly 'ReadableStreamBYOBRequest': false; + readonly 'ReadableStreamDefaultController': false; + readonly 'ReadableStreamDefaultReader': false; + readonly 'Request': false; + readonly 'Response': false; + readonly 'setImmediate': false; + readonly 'setInterval': false; + readonly 'setTimeout': false; + readonly 'structuredClone': false; + readonly 'SubtleCrypto': false; + readonly 'TextDecoder': false; + readonly 'TextDecoderStream': false; + readonly 'TextEncoder': false; + readonly 'TextEncoderStream': false; + readonly 'TransformStream': false; + readonly 'TransformStreamDefaultController': false; + readonly 'URL': false; + readonly 'URLSearchParams': false; + readonly 'WebAssembly': false; + readonly 'WebSocket': false; + readonly 'WritableStream': false; + readonly 'WritableStreamDefaultController': false; + readonly 'WritableStreamDefaultWriter': false; +} + +type GlobalsPhantomjs = { + readonly 'console': true; + readonly 'exports': true; + readonly 'phantom': true; + readonly 'require': true; + readonly 'WebPage': true; +} + +type GlobalsPrototypejs = { + readonly '$': false; + readonly '$$': false; + readonly '$A': false; + readonly '$break': false; + readonly '$continue': false; + readonly '$F': false; + readonly '$H': false; + readonly '$R': false; + readonly '$w': false; + readonly 'Abstract': false; + readonly 'Ajax': false; + readonly 'Autocompleter': false; + readonly 'Builder': false; + readonly 'Class': false; + readonly 'Control': false; + readonly 'Draggable': false; + readonly 'Draggables': false; + readonly 'Droppables': false; + readonly 'Effect': false; + readonly 'Element': false; + readonly 'Enumerable': false; + readonly 'Event': false; + readonly 'Field': false; + readonly 'Form': false; + readonly 'Hash': false; + readonly 'Insertion': false; + readonly 'ObjectRange': false; + readonly 'PeriodicalExecuter': false; + readonly 'Position': false; + readonly 'Prototype': false; + readonly 'Scriptaculous': false; + readonly 'Selector': false; + readonly 'Sortable': false; + readonly 'SortableObserver': false; + readonly 'Sound': false; + readonly 'Template': false; + readonly 'Toggle': false; + readonly 'Try': false; +} + +type GlobalsProtractor = { + readonly '$': false; + readonly '$$': false; + readonly 'browser': false; + readonly 'by': false; + readonly 'By': false; + readonly 'DartObject': false; + readonly 'element': false; + readonly 'protractor': false; +} + +type GlobalsQunit = { + readonly 'asyncTest': false; + readonly 'deepEqual': false; + readonly 'equal': false; + readonly 'expect': false; + readonly 'module': false; + readonly 'notDeepEqual': false; + readonly 'notEqual': false; + readonly 'notOk': false; + readonly 'notPropEqual': false; + readonly 'notStrictEqual': false; + readonly 'ok': false; + readonly 'propEqual': false; + readonly 'QUnit': false; + readonly 'raises': false; + readonly 'start': false; + readonly 'stop': false; + readonly 'strictEqual': false; + readonly 'test': false; + readonly 'throws': false; +} + +type GlobalsRhino = { + readonly 'defineClass': false; + readonly 'deserialize': false; + readonly 'gc': false; + readonly 'help': false; + readonly 'importClass': false; + readonly 'importPackage': false; + readonly 'java': false; + readonly 'load': false; + readonly 'loadClass': false; + readonly 'Packages': false; + readonly 'print': false; + readonly 'quit': false; + readonly 'readFile': false; + readonly 'readUrl': false; + readonly 'runCommand': false; + readonly 'seal': false; + readonly 'serialize': false; + readonly 'spawn': false; + readonly 'sync': false; + readonly 'toint32': false; + readonly 'version': false; +} + +type GlobalsServiceworker = { + readonly 'addEventListener': false; + readonly 'applicationCache': false; + readonly 'atob': false; + readonly 'Blob': false; + readonly 'BroadcastChannel': false; + readonly 'btoa': false; + readonly 'ByteLengthQueuingStrategy': false; + readonly 'Cache': false; + readonly 'caches': false; + readonly 'CacheStorage': false; + readonly 'clearInterval': false; + readonly 'clearTimeout': false; + readonly 'Client': false; + readonly 'clients': false; + readonly 'Clients': false; + readonly 'close': true; + readonly 'CompressionStream': false; + readonly 'console': false; + readonly 'CountQueuingStrategy': false; + readonly 'crypto': false; + readonly 'Crypto': false; + readonly 'CryptoKey': false; + readonly 'CustomEvent': false; + readonly 'DecompressionStream': false; + readonly 'ErrorEvent': false; + readonly 'Event': false; + readonly 'ExtendableEvent': false; + readonly 'ExtendableMessageEvent': false; + readonly 'fetch': false; + readonly 'FetchEvent': false; + readonly 'File': false; + readonly 'FileReaderSync': false; + readonly 'FormData': false; + readonly 'Headers': false; + readonly 'IDBCursor': false; + readonly 'IDBCursorWithValue': false; + readonly 'IDBDatabase': false; + readonly 'IDBFactory': false; + readonly 'IDBIndex': false; + readonly 'IDBKeyRange': false; + readonly 'IDBObjectStore': false; + readonly 'IDBOpenDBRequest': false; + readonly 'IDBRequest': false; + readonly 'IDBTransaction': false; + readonly 'IDBVersionChangeEvent': false; + readonly 'ImageData': false; + readonly 'importScripts': false; + readonly 'indexedDB': false; + readonly 'location': false; + readonly 'MessageChannel': false; + readonly 'MessageEvent': false; + readonly 'MessagePort': false; + readonly 'name': false; + readonly 'navigator': false; + readonly 'Notification': false; + readonly 'onclose': true; + readonly 'onconnect': true; + readonly 'onerror': true; + readonly 'onfetch': true; + readonly 'oninstall': true; + readonly 'onlanguagechange': true; + readonly 'onmessage': true; + readonly 'onmessageerror': true; + readonly 'onnotificationclick': true; + readonly 'onnotificationclose': true; + readonly 'onoffline': true; + readonly 'ononline': true; + readonly 'onpush': true; + readonly 'onpushsubscriptionchange': true; + readonly 'onrejectionhandled': true; + readonly 'onsync': true; + readonly 'onunhandledrejection': true; + readonly 'performance': false; + readonly 'Performance': false; + readonly 'PerformanceEntry': false; + readonly 'PerformanceMark': false; + readonly 'PerformanceMeasure': false; + readonly 'PerformanceNavigation': false; + readonly 'PerformanceObserver': false; + readonly 'PerformanceObserverEntryList': false; + readonly 'PerformanceResourceTiming': false; + readonly 'PerformanceTiming': false; + readonly 'postMessage': true; + readonly 'queueMicrotask': false; + readonly 'ReadableByteStreamController': false; + readonly 'ReadableStream': false; + readonly 'ReadableStreamBYOBReader': false; + readonly 'ReadableStreamBYOBRequest': false; + readonly 'ReadableStreamDefaultController': false; + readonly 'ReadableStreamDefaultReader': false; + readonly 'registration': false; + readonly 'removeEventListener': false; + readonly 'Request': false; + readonly 'Response': false; + readonly 'self': false; + readonly 'ServiceWorker': false; + readonly 'ServiceWorkerContainer': false; + readonly 'ServiceWorkerGlobalScope': false; + readonly 'ServiceWorkerMessageEvent': false; + readonly 'ServiceWorkerRegistration': false; + readonly 'setInterval': false; + readonly 'setTimeout': false; + readonly 'skipWaiting': false; + readonly 'SubtleCrypto': false; + readonly 'TextDecoder': false; + readonly 'TextDecoderStream': false; + readonly 'TextEncoder': false; + readonly 'TextEncoderStream': false; + readonly 'TransformStream': false; + readonly 'TransformStreamDefaultController': false; + readonly 'URL': false; + readonly 'URLSearchParams': false; + readonly 'WebAssembly': false; + readonly 'WebSocket': false; + readonly 'WindowClient': false; + readonly 'Worker': false; + readonly 'WorkerGlobalScope': false; + readonly 'WritableStream': false; + readonly 'WritableStreamDefaultController': false; + readonly 'WritableStreamDefaultWriter': false; + readonly 'XMLHttpRequest': false; +} + +type GlobalsSharednodebrowser = { + readonly 'AbortController': false; + readonly 'AbortSignal': false; + readonly 'atob': false; + readonly 'Blob': false; + readonly 'BroadcastChannel': false; + readonly 'btoa': false; + readonly 'ByteLengthQueuingStrategy': false; + readonly 'clearInterval': false; + readonly 'clearTimeout': false; + readonly 'CloseEvent': false; + readonly 'CompressionStream': false; + readonly 'console': false; + readonly 'CountQueuingStrategy': false; + readonly 'crypto': false; + readonly 'Crypto': false; + readonly 'CryptoKey': false; + readonly 'CustomEvent': false; + readonly 'DecompressionStream': false; + readonly 'DOMException': false; + readonly 'Event': false; + readonly 'EventTarget': false; + readonly 'fetch': false; + readonly 'File': false; + readonly 'FormData': false; + readonly 'Headers': false; + readonly 'MessageChannel': false; + readonly 'MessageEvent': false; + readonly 'MessagePort': false; + readonly 'navigator': false; + readonly 'Navigator': false; + readonly 'performance': false; + readonly 'Performance': false; + readonly 'PerformanceEntry': false; + readonly 'PerformanceMark': false; + readonly 'PerformanceMeasure': false; + readonly 'PerformanceObserver': false; + readonly 'PerformanceObserverEntryList': false; + readonly 'PerformanceResourceTiming': false; + readonly 'queueMicrotask': false; + readonly 'ReadableByteStreamController': false; + readonly 'ReadableStream': false; + readonly 'ReadableStreamBYOBReader': false; + readonly 'ReadableStreamBYOBRequest': false; + readonly 'ReadableStreamDefaultController': false; + readonly 'ReadableStreamDefaultReader': false; + readonly 'Request': false; + readonly 'Response': false; + readonly 'setInterval': false; + readonly 'setTimeout': false; + readonly 'structuredClone': false; + readonly 'SubtleCrypto': false; + readonly 'TextDecoder': false; + readonly 'TextDecoderStream': false; + readonly 'TextEncoder': false; + readonly 'TextEncoderStream': false; + readonly 'TransformStream': false; + readonly 'TransformStreamDefaultController': false; + readonly 'URL': false; + readonly 'URLSearchParams': false; + readonly 'WebAssembly': false; + readonly 'WebSocket': false; + readonly 'WritableStream': false; + readonly 'WritableStreamDefaultController': false; + readonly 'WritableStreamDefaultWriter': false; +} + +type GlobalsShelljs = { + readonly 'cat': false; + readonly 'cd': false; + readonly 'chmod': false; + readonly 'config': false; + readonly 'cp': false; + readonly 'dirs': false; + readonly 'echo': false; + readonly 'env': false; + readonly 'error': false; + readonly 'exec': false; + readonly 'exit': false; + readonly 'find': false; + readonly 'grep': false; + readonly 'head': false; + readonly 'ln': false; + readonly 'ls': false; + readonly 'mkdir': false; + readonly 'mv': false; + readonly 'popd': false; + readonly 'pushd': false; + readonly 'pwd': false; + readonly 'rm': false; + readonly 'sed': false; + readonly 'set': false; + readonly 'ShellString': false; + readonly 'sort': false; + readonly 'tail': false; + readonly 'tempdir': false; + readonly 'test': false; + readonly 'touch': false; + readonly 'uniq': false; + readonly 'which': false; +} + +type GlobalsWebextensions = { + readonly 'browser': false; + readonly 'chrome': false; + readonly 'opr': false; +} + +type GlobalsWorker = { + readonly 'AbortController': false; + readonly 'AbortSignal': false; + readonly 'addEventListener': false; + readonly 'ai': false; + readonly 'atob': false; + readonly 'AudioData': false; + readonly 'AudioDecoder': false; + readonly 'AudioEncoder': false; + readonly 'BackgroundFetchManager': false; + readonly 'BackgroundFetchRecord': false; + readonly 'BackgroundFetchRegistration': false; + readonly 'BarcodeDetector': false; + readonly 'Blob': false; + readonly 'BroadcastChannel': false; + readonly 'btoa': false; + readonly 'ByteLengthQueuingStrategy': false; + readonly 'Cache': false; + readonly 'caches': false; + readonly 'CacheStorage': false; + readonly 'cancelAnimationFrame': false; + readonly 'CanvasGradient': false; + readonly 'CanvasPattern': false; + readonly 'clearInterval': false; + readonly 'clearTimeout': false; + readonly 'close': false; + readonly 'CloseEvent': false; + readonly 'CompressionStream': false; + readonly 'console': false; + readonly 'CountQueuingStrategy': false; + readonly 'createImageBitmap': false; + readonly 'CropTarget': false; + readonly 'crossOriginIsolated': false; + readonly 'crypto': false; + readonly 'Crypto': false; + readonly 'CryptoKey': false; + readonly 'CSSSkewX': false; + readonly 'CSSSkewY': false; + readonly 'CustomEvent': false; + readonly 'DecompressionStream': false; + readonly 'DedicatedWorkerGlobalScope': false; + readonly 'dispatchEvent': false; + readonly 'DOMException': false; + readonly 'DOMMatrix': false; + readonly 'DOMMatrixReadOnly': false; + readonly 'DOMPoint': false; + readonly 'DOMPointReadOnly': false; + readonly 'DOMQuad': false; + readonly 'DOMRect': false; + readonly 'DOMRectReadOnly': false; + readonly 'DOMStringList': false; + readonly 'EncodedAudioChunk': false; + readonly 'EncodedVideoChunk': false; + readonly 'ErrorEvent': false; + readonly 'Event': false; + readonly 'EventSource': false; + readonly 'EventTarget': false; + readonly 'fetch': false; + readonly 'File': false; + readonly 'FileList': false; + readonly 'FileReader': false; + readonly 'FileReaderSync': false; + readonly 'FileSystemDirectoryHandle': false; + readonly 'FileSystemFileHandle': false; + readonly 'FileSystemHandle': false; + readonly 'FileSystemSyncAccessHandle': false; + readonly 'FileSystemWritableFileStream': false; + readonly 'FontFace': false; + readonly 'fonts': false; + readonly 'FormData': false; + readonly 'GPU': false; + readonly 'GPUAdapter': false; + readonly 'GPUAdapterInfo': false; + readonly 'GPUBindGroup': false; + readonly 'GPUBindGroupLayout': false; + readonly 'GPUBuffer': false; + readonly 'GPUBufferUsage': false; + readonly 'GPUCanvasContext': false; + readonly 'GPUColorWrite': false; + readonly 'GPUCommandBuffer': false; + readonly 'GPUCommandEncoder': false; + readonly 'GPUCompilationInfo': false; + readonly 'GPUCompilationMessage': false; + readonly 'GPUComputePassEncoder': false; + readonly 'GPUComputePipeline': false; + readonly 'GPUDevice': false; + readonly 'GPUDeviceLostInfo': false; + readonly 'GPUError': false; + readonly 'GPUExternalTexture': false; + readonly 'GPUInternalError': false; + readonly 'GPUMapMode': false; + readonly 'GPUOutOfMemoryError': false; + readonly 'GPUPipelineError': false; + readonly 'GPUPipelineLayout': false; + readonly 'GPUQuerySet': false; + readonly 'GPUQueue': false; + readonly 'GPURenderBundle': false; + readonly 'GPURenderBundleEncoder': false; + readonly 'GPURenderPassEncoder': false; + readonly 'GPURenderPipeline': false; + readonly 'GPUSampler': false; + readonly 'GPUShaderModule': false; + readonly 'GPUShaderStage': false; + readonly 'GPUSupportedFeatures': false; + readonly 'GPUSupportedLimits': false; + readonly 'GPUTexture': false; + readonly 'GPUTextureUsage': false; + readonly 'GPUTextureView': false; + readonly 'GPUUncapturedErrorEvent': false; + readonly 'GPUValidationError': false; + readonly 'Headers': false; + readonly 'IDBCursor': false; + readonly 'IDBCursorWithValue': false; + readonly 'IDBDatabase': false; + readonly 'IDBFactory': false; + readonly 'IDBIndex': false; + readonly 'IDBKeyRange': false; + readonly 'IDBObjectStore': false; + readonly 'IDBOpenDBRequest': false; + readonly 'IDBRequest': false; + readonly 'IDBTransaction': false; + readonly 'IDBVersionChangeEvent': false; + readonly 'IdleDetector': false; + readonly 'ImageBitmap': false; + readonly 'ImageBitmapRenderingContext': false; + readonly 'ImageData': false; + readonly 'ImageDecoder': false; + readonly 'ImageTrack': false; + readonly 'ImageTrackList': false; + readonly 'importScripts': false; + readonly 'indexedDB': false; + readonly 'isSecureContext': false; + readonly 'location': false; + readonly 'Lock': false; + readonly 'LockManager': false; + readonly 'MediaCapabilities': false; + readonly 'MediaSource': false; + readonly 'MediaSourceHandle': false; + readonly 'MessageChannel': false; + readonly 'MessageEvent': false; + readonly 'MessagePort': false; + readonly 'name': false; + readonly 'NavigationPreloadManager': false; + readonly 'navigator': false; + readonly 'NavigatorUAData': false; + readonly 'NetworkInformation': false; + readonly 'Notification': false; + readonly 'OffscreenCanvas': false; + readonly 'OffscreenCanvasRenderingContext2D': false; + readonly 'onerror': true; + readonly 'onlanguagechange': true; + readonly 'onmessage': true; + readonly 'onmessageerror': true; + readonly 'onrejectionhandled': true; + readonly 'onunhandledrejection': true; + readonly 'origin': false; + readonly 'Path2D': false; + readonly 'performance': false; + readonly 'Performance': false; + readonly 'PerformanceEntry': false; + readonly 'PerformanceMark': false; + readonly 'PerformanceMeasure': false; + readonly 'PerformanceObserver': false; + readonly 'PerformanceObserverEntryList': false; + readonly 'PerformanceResourceTiming': false; + readonly 'PerformanceServerTiming': false; + readonly 'PeriodicSyncManager': false; + readonly 'Permissions': false; + readonly 'PermissionStatus': false; + readonly 'PERSISTENT': false; + readonly 'postMessage': false; + readonly 'PressureObserver': false; + readonly 'PressureRecord': false; + readonly 'ProgressEvent': false; + readonly 'PromiseRejectionEvent': false; + readonly 'PushManager': false; + readonly 'PushSubscription': false; + readonly 'PushSubscriptionOptions': false; + readonly 'queueMicrotask': false; + readonly 'ReadableByteStreamController': false; + readonly 'ReadableStream': false; + readonly 'ReadableStreamBYOBReader': false; + readonly 'ReadableStreamBYOBRequest': false; + readonly 'ReadableStreamDefaultController': false; + readonly 'ReadableStreamDefaultReader': false; + readonly 'removeEventListener': false; + readonly 'reportError': false; + readonly 'ReportingObserver': false; + readonly 'Request': false; + readonly 'requestAnimationFrame': false; + readonly 'Response': false; + readonly 'RTCDataChannel': false; + readonly 'RTCEncodedAudioFrame': false; + readonly 'RTCEncodedVideoFrame': false; + readonly 'scheduler': false; + readonly 'Scheduler': false; + readonly 'SecurityPolicyViolationEvent': false; + readonly 'self': false; + readonly 'Serial': false; + readonly 'SerialPort': false; + readonly 'ServiceWorkerRegistration': false; + readonly 'setInterval': false; + readonly 'setTimeout': false; + readonly 'SourceBuffer': false; + readonly 'SourceBufferList': false; + readonly 'StorageBucket': false; + readonly 'StorageBucketManager': false; + readonly 'StorageManager': false; + readonly 'structuredClone': false; + readonly 'SubtleCrypto': false; + readonly 'SyncManager': false; + readonly 'TaskController': false; + readonly 'TaskPriorityChangeEvent': false; + readonly 'TaskSignal': false; + readonly 'TEMPORARY': false; + readonly 'TextDecoder': false; + readonly 'TextDecoderStream': false; + readonly 'TextEncoder': false; + readonly 'TextEncoderStream': false; + readonly 'TextMetrics': false; + readonly 'TransformStream': false; + readonly 'TransformStreamDefaultController': false; + readonly 'TrustedHTML': false; + readonly 'TrustedScript': false; + readonly 'TrustedScriptURL': false; + readonly 'TrustedTypePolicy': false; + readonly 'TrustedTypePolicyFactory': false; + readonly 'trustedTypes': false; + readonly 'URL': false; + readonly 'URLPattern': false; + readonly 'URLSearchParams': false; + readonly 'USB': false; + readonly 'USBAlternateInterface': false; + readonly 'USBConfiguration': false; + readonly 'USBConnectionEvent': false; + readonly 'USBDevice': false; + readonly 'USBEndpoint': false; + readonly 'USBInterface': false; + readonly 'USBInTransferResult': false; + readonly 'USBIsochronousInTransferPacket': false; + readonly 'USBIsochronousInTransferResult': false; + readonly 'USBIsochronousOutTransferPacket': false; + readonly 'USBIsochronousOutTransferResult': false; + readonly 'USBOutTransferResult': false; + readonly 'UserActivation': false; + readonly 'VideoColorSpace': false; + readonly 'VideoDecoder': false; + readonly 'VideoEncoder': false; + readonly 'VideoFrame': false; + readonly 'WebAssembly': false; + readonly 'WebGL2RenderingContext': false; + readonly 'WebGLActiveInfo': false; + readonly 'WebGLBuffer': false; + readonly 'WebGLContextEvent': false; + readonly 'WebGLFramebuffer': false; + readonly 'WebGLObject': false; + readonly 'WebGLProgram': false; + readonly 'WebGLQuery': false; + readonly 'WebGLRenderbuffer': false; + readonly 'WebGLRenderingContext': false; + readonly 'WebGLSampler': false; + readonly 'WebGLShader': false; + readonly 'WebGLShaderPrecisionFormat': false; + readonly 'WebGLSync': false; + readonly 'WebGLTexture': false; + readonly 'WebGLTransformFeedback': false; + readonly 'WebGLUniformLocation': false; + readonly 'WebGLVertexArrayObject': false; + readonly 'webkitRequestFileSystem': false; + readonly 'webkitRequestFileSystemSync': false; + readonly 'webkitResolveLocalFileSystemSyncURL': false; + readonly 'webkitResolveLocalFileSystemURL': false; + readonly 'WebSocket': false; + readonly 'WebSocketError': false; + readonly 'WebSocketStream': false; + readonly 'WebTransport': false; + readonly 'WebTransportBidirectionalStream': false; + readonly 'WebTransportDatagramDuplexStream': false; + readonly 'WebTransportError': false; + readonly 'WGSLLanguageFeatures': false; + readonly 'Worker': false; + readonly 'WorkerGlobalScope': false; + readonly 'WorkerLocation': false; + readonly 'WorkerNavigator': false; + readonly 'WritableStream': false; + readonly 'WritableStreamDefaultController': false; + readonly 'WritableStreamDefaultWriter': false; + readonly 'XMLHttpRequest': false; + readonly 'XMLHttpRequestEventTarget': false; + readonly 'XMLHttpRequestUpload': false; +} + +type GlobalsWsh = { + readonly 'ActiveXObject': false; + readonly 'CollectGarbage': false; + readonly 'Debug': false; + readonly 'Enumerator': false; + readonly 'GetObject': false; + readonly 'RuntimeObject': false; + readonly 'ScriptEngine': false; + readonly 'ScriptEngineBuildVersion': false; + readonly 'ScriptEngineMajorVersion': false; + readonly 'ScriptEngineMinorVersion': false; + readonly 'VBArray': false; + readonly 'WScript': false; + readonly 'WSH': false; +} + +type GlobalsYui = { + readonly 'YAHOO': false; + readonly 'YAHOO_config': false; + readonly 'YUI': false; + readonly 'YUI_config': false; +} + +type Globals = { + readonly 'amd': GlobalsAmd; + readonly 'applescript': GlobalsApplescript; + readonly 'atomtest': GlobalsAtomtest; + readonly 'browser': GlobalsBrowser; + readonly 'builtin': GlobalsBuiltin; + readonly 'chai': GlobalsChai; + readonly 'commonjs': GlobalsCommonjs; + readonly 'couch': GlobalsCouch; + readonly 'devtools': GlobalsDevtools; + readonly 'embertest': GlobalsEmbertest; + readonly 'es2015': GlobalsEs2015; + readonly 'es2016': GlobalsEs2016; + readonly 'es2017': GlobalsEs2017; + readonly 'es2018': GlobalsEs2018; + readonly 'es2019': GlobalsEs2019; + readonly 'es2020': GlobalsEs2020; + readonly 'es2021': GlobalsEs2021; + readonly 'es2022': GlobalsEs2022; + readonly 'es2023': GlobalsEs2023; + readonly 'es2024': GlobalsEs2024; + readonly 'es2025': GlobalsEs2025; + readonly 'es3': GlobalsEs3; + readonly 'es5': GlobalsEs5; + readonly 'greasemonkey': GlobalsGreasemonkey; + readonly 'jasmine': GlobalsJasmine; + readonly 'jest': GlobalsJest; + readonly 'jquery': GlobalsJquery; + readonly 'meteor': GlobalsMeteor; + readonly 'mocha': GlobalsMocha; + readonly 'mongo': GlobalsMongo; + readonly 'nashorn': GlobalsNashorn; + readonly 'node': GlobalsNode; + readonly 'nodeBuiltin': GlobalsNodeBuiltin; + readonly 'phantomjs': GlobalsPhantomjs; + readonly 'prototypejs': GlobalsPrototypejs; + readonly 'protractor': GlobalsProtractor; + readonly 'qunit': GlobalsQunit; + readonly 'rhino': GlobalsRhino; + readonly 'serviceworker': GlobalsServiceworker; + readonly 'shared-node-browser': GlobalsSharednodebrowser; + readonly 'shelljs': GlobalsShelljs; + readonly 'webextensions': GlobalsWebextensions; + readonly 'worker': GlobalsWorker; + readonly 'wsh': GlobalsWsh; + readonly 'yui': GlobalsYui; +} + +declare const globals: Globals; + +export = globals; \ No newline at end of file diff --git a/node_modules/eslint-plugin-github/node_modules/globals/index.js b/node_modules/eslint-plugin-github/node_modules/globals/index.js new file mode 100644 index 0000000000..a951582e41 --- /dev/null +++ b/node_modules/eslint-plugin-github/node_modules/globals/index.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('./globals.json'); diff --git a/node_modules/bundle-name/license b/node_modules/eslint-plugin-github/node_modules/globals/license similarity index 100% rename from node_modules/bundle-name/license rename to node_modules/eslint-plugin-github/node_modules/globals/license diff --git a/node_modules/eslint-plugin-github/node_modules/globals/package.json b/node_modules/eslint-plugin-github/node_modules/globals/package.json new file mode 100644 index 0000000000..76bd6159d3 --- /dev/null +++ b/node_modules/eslint-plugin-github/node_modules/globals/package.json @@ -0,0 +1,98 @@ +{ + "name": "globals", + "version": "15.12.0", + "description": "Global identifiers from different JavaScript environments", + "license": "MIT", + "repository": "sindresorhus/globals", + "funding": "https://github.com/sponsors/sindresorhus", + "author": { + "name": "Sindre Sorhus", + "email": "sindresorhus@gmail.com", + "url": "https://sindresorhus.com" + }, + "sideEffects": false, + "engines": { + "node": ">=18" + }, + "scripts": { + "test": "npm run build && xo && ava && tsd", + "prepare": "npm run build", + "update": "node scripts/update.mjs", + "update:browser": "node scripts/update.mjs --environment=browser", + "update:builtin": "node scripts/update.mjs --environment=builtin", + "update:nodeBuiltin": "node scripts/update.mjs --environment=nodeBuiltin", + "update:worker": "node scripts/update.mjs --environment=worker", + "update:shelljs": "node scripts/update.mjs --environment=shelljs", + "update:jest": "node scripts/update.mjs --environment=jest", + "build": "run-s build:data build:types", + "build:data": "node scripts/generate-data.mjs", + "build:types": "node scripts/generate-types.mjs" + }, + "files": [ + "index.js", + "index.d.ts", + "globals.json" + ], + "keywords": [ + "globals", + "global", + "identifiers", + "variables", + "vars", + "jshint", + "eslint", + "environments" + ], + "devDependencies": { + "ava": "^6.1.3", + "cheerio": "^1.0.0-rc.12", + "eslint-plugin-jest": "^28.8.3", + "execa": "^9.4.0", + "get-port": "^7.1.0", + "npm-run-all2": "^6.2.3", + "outdent": "^0.8.0", + "puppeteer": "^23.4.1", + "shelljs": "^0.8.5", + "tsd": "^0.31.2", + "type-fest": "^4.26.1", + "xo": "^0.59.3" + }, + "xo": { + "rules": { + "unicorn/prefer-module": "off" + }, + "overrides": [ + { + "files": [ + "data/*.mjs" + ], + "rules": { + "import/no-anonymous-default-export": "off", + "camelcase": "off", + "unicorn/filename-case": [ + "error", + { + "cases": { + "camelCase": true, + "kebabCase": true + } + } + ] + } + }, + { + "files": [ + "scripts/*.mjs" + ], + "rules": { + "n/no-unsupported-features/node-builtins": "off" + } + } + ] + }, + "tsd": { + "compilerOptions": { + "resolveJsonModule": true + } + } +} diff --git a/node_modules/eslint-plugin-github/node_modules/globals/readme.md b/node_modules/eslint-plugin-github/node_modules/globals/readme.md new file mode 100644 index 0000000000..3407019da7 --- /dev/null +++ b/node_modules/eslint-plugin-github/node_modules/globals/readme.md @@ -0,0 +1,42 @@ +# globals + +> Global identifiers from different JavaScript environments + +It's just a [JSON file](globals.json), so you can use it in any environment. + +This package is used by ESLint 8 and earlier. For ESLint 9 and later, you should depend on this package directly in [your ESLint config](https://eslint.org/docs/latest/use/configure/language-options#predefined-global-variables). + +## Install + +```sh +npm install globals +``` + +## Usage + +```js +import globals from 'globals'; + +console.log(globals.browser); +/* +{ + addEventListener: false, + applicationCache: false, + ArrayBuffer: false, + atob: false, + … +} +*/ +``` + +Each global is given a value of `true` or `false`. A value of `true` indicates that the variable may be overwritten. A value of `false` indicates that the variable should be considered read-only. This information is used by static analysis tools to flag incorrect behavior. We assume all variables should be `false` unless we hear otherwise. + +For Node.js this package provides two sets of globals: + +- `globals.nodeBuiltin`: Globals available to all code running in Node.js. + These will usually be available as properties on the `globalThis` object and include `process`, `Buffer`, but not CommonJS arguments like `require`. + See: https://nodejs.org/api/globals.html +- `globals.node`: A combination of the globals from `nodeBuiltin` plus all CommonJS arguments ("CommonJS module scope"). + See: https://nodejs.org/api/modules.html#modules_the_module_scope + +When analyzing code that is known to run outside of a CommonJS wrapper, for example, JavaScript modules, `nodeBuiltin` can find accidental CommonJS references. diff --git a/node_modules/eslint-plugin-github/package.json b/node_modules/eslint-plugin-github/package.json index 94c01dbe86..bd863f5bde 100644 --- a/node_modules/eslint-plugin-github/package.json +++ b/node_modules/eslint-plugin-github/package.json @@ -1,6 +1,6 @@ { "name": "eslint-plugin-github", - "version": "5.0.2", + "version": "5.1.1", "description": "An opinionated collection of ESLint shared configs and rules used by GitHub.", "main": "lib/index.js", "entries": [ @@ -16,7 +16,9 @@ "lint:js": "eslint .", "pretest": "mkdir -p node_modules/ && ln -fs $(pwd) node_modules/", "test": "npm run eslint-check && npm run lint && mocha tests/**/*.js tests/**/*.mjs", - "update:eslint-docs": "eslint-doc-generator" + "update:eslint-docs": "eslint-doc-generator", + "test-examples:legacy": "cd test-examples/legacy && npm install && npm run lint", + "test-examples:flat": "cd test-examples/flat && npm install && npm run lint" }, "repository": { "type": "git", @@ -29,28 +31,31 @@ }, "homepage": "https://github.com/github/eslint-plugin-github#readme", "dependencies": { + "@eslint/compat": "^1.2.3", + "@eslint/eslintrc": "^3.1.0", + "@eslint/js": "^9.14.0", "@github/browserslist-config": "^1.0.0", - "@typescript-eslint/eslint-plugin": "^8.0.0", - "@typescript-eslint/parser": "^8.0.0", "aria-query": "^5.3.0", "eslint-config-prettier": ">=8.0.0", - "eslint-plugin-escompat": "^3.3.3", + "eslint-plugin-escompat": "^3.11.3", "eslint-plugin-eslint-comments": "^3.2.0", "eslint-plugin-filenames": "^1.3.2", "eslint-plugin-i18n-text": "^1.0.1", "eslint-plugin-import": "^2.25.2", "eslint-plugin-jsx-a11y": "^6.7.1", "eslint-plugin-no-only-tests": "^3.0.0", - "eslint-plugin-prettier": "^5.0.0", + "eslint-plugin-prettier": "^5.2.1", "eslint-rule-documentation": ">=1.0.0", + "globals": "^15.12.0", "jsx-ast-utils": "^3.3.2", "prettier": "^3.0.0", - "svg-element-attributes": "^1.3.1" + "svg-element-attributes": "^1.3.1", + "typescript-eslint": "^8.14.0" }, "prettier": "@github/prettier-config", - "browserslist": "@github/browserslist-config", + "browserslist": "extends @github/browserslist-config", "peerDependencies": { - "eslint": "^8.0.1" + "eslint": "^8 || ^9" }, "files": [ "bin/*", @@ -59,7 +64,7 @@ "devDependencies": { "@github/prettier-config": "0.0.6", "chai": "^5.0.0", - "eslint": "^8.0.1", + "eslint": "^9.14.0", "eslint-doc-generator": "^1.4.3", "eslint-plugin-eslint-plugin": "^6.1.0", "mocha": "^10.0.0", diff --git a/node_modules/eslint-plugin-prettier/README.md b/node_modules/eslint-plugin-prettier/README.md index b392f08f14..c62c23c3d9 100644 --- a/node_modules/eslint-plugin-prettier/README.md +++ b/node_modules/eslint-plugin-prettier/README.md @@ -6,6 +6,21 @@ If your desired formatting does not match Prettier’s output, you should use a Please read [Integrating with linters](https://prettier.io/docs/en/integrating-with-linters.html) before installing. +## TOC + +- [Sample](#sample) +- [Installation](#installation) +- [Configuration (legacy: `.eslintrc*`)](#configuration-legacy-eslintrc) +- [Configuration (new: `eslint.config.js`)](#configuration-new-eslintconfigjs) +- [`Svelte` support](#svelte-support) +- [`arrow-body-style` and `prefer-arrow-callback` issue](#arrow-body-style-and-prefer-arrow-callback-issue) +- [Options](#options) +- [Sponsors](#sponsors) +- [Backers](#backers) +- [Contributing](#contributing) +- [Changelog](#changelog) +- [License](#license) + ## Sample ```js @@ -37,63 +52,52 @@ error: Delete `;` (prettier/prettier) at pkg/commons-atom/ActiveEditorRegistry.j ## Installation ```sh -npm install --save-dev eslint-plugin-prettier +npm install --save-dev eslint-plugin-prettier eslint-config-prettier npm install --save-dev --save-exact prettier ``` **_`eslint-plugin-prettier` does not install Prettier or ESLint for you._** _You must install these yourself._ -Then, in your `.eslintrc.json`: +This plugin works best if you disable all other ESLint rules relating to code formatting, and only enable rules that detect potential bugs. If another active ESLint rule disagrees with `prettier` about how code should be formatted, it will be impossible to avoid lint errors. Our recommended configuration automatically enables [`eslint-config-prettier`](https://github.com/prettier/eslint-config-prettier) to disable all formatting-related ESLint rules. + +## Configuration (legacy: `.eslintrc*`) + +For [legacy configuration](https://eslint.org/docs/latest/use/configure/configuration-files), this plugin ships with a `plugin:prettier/recommended` config that sets up both `eslint-plugin-prettier` and [`eslint-config-prettier`](https://github.com/prettier/eslint-config-prettier) in one go. + +Add `plugin:prettier/recommended` as the _last_ item in the extends array in your `.eslintrc*` config file, so that `eslint-config-prettier` has the opportunity to override other configs: ```json { - "plugins": ["prettier"], - "rules": { - "prettier/prettier": "error" - } + "extends": ["plugin:prettier/recommended"] } ``` -## Recommended Configuration +This will: -This plugin works best if you disable all other ESLint rules relating to code formatting, and only enable rules that detect potential bugs. (If another active ESLint rule disagrees with `prettier` about how code should be formatted, it will be impossible to avoid lint errors.) You can use [eslint-config-prettier](https://github.com/prettier/eslint-config-prettier) to disable all formatting-related ESLint rules. +- Enable the `prettier/prettier` rule. +- Disable the `arrow-body-style` and `prefer-arrow-callback` rules which are problematic with this plugin - see the below for why. +- Enable the `eslint-config-prettier` config which will turn off ESLint rules that conflict with Prettier. -This plugin ships with a `plugin:prettier/recommended` config that sets up both the plugin and `eslint-config-prettier` in one go. +## Configuration (new: `eslint.config.js`) -1. In addition to the above installation instructions, install `eslint-config-prettier`: +For [flat configuration](https://eslint.org/docs/latest/use/configure/configuration-files-new), this plugin ships with an `eslint-plugin-prettier/recommended` config that sets up both `eslint-plugin-prettier` and [`eslint-config-prettier`](https://github.com/prettier/eslint-config-prettier) in one go. - ```sh - npm install --save-dev eslint-config-prettier - ``` +Import `eslint-plugin-prettier/recommended` and add it as the _last_ item in the configuration array in your `eslint.config.js` file so that `eslint-config-prettier` has the opportunity to override other configs: -2. Then you need to add `plugin:prettier/recommended` as the _last_ extension in your `.eslintrc.json`: - - ```json - { - "extends": ["plugin:prettier/recommended"] - } - ``` - - You can then set Prettier's own options inside a `.prettierrc` file. - -Exactly what does `plugin:prettier/recommended` do? Well, this is what it expands to: +```js +const eslintPluginPrettierRecommended = require('eslint-plugin-prettier/recommended'); -```json -{ - "extends": ["prettier"], - "plugins": ["prettier"], - "rules": { - "prettier/prettier": "error", - "arrow-body-style": "off", - "prefer-arrow-callback": "off" - } -} +module.exports = [ + // Any other config imports go at the top + eslintPluginPrettierRecommended, +]; ``` -- `"extends": ["prettier"]` enables the config from `eslint-config-prettier`, which turns off some ESLint rules that conflict with Prettier. -- `"plugins": ["prettier"]` registers this plugin. -- `"prettier/prettier": "error"` turns on the rule provided by this plugin, which runs Prettier from within ESLint. -- `"arrow-body-style": "off"` and `"prefer-arrow-callback": "off"` turns off two ESLint core rules that unfortunately are problematic with this plugin – see the next section. +This will: + +- Enable the `prettier/prettier` rule. +- Disable the `arrow-body-style` and `prefer-arrow-callback` rules which are problematic with this plugin - see the below for why. +- Enable the `eslint-config-prettier` config which will turn off ESLint rules that conflict with Prettier. ## `Svelte` support @@ -173,6 +177,18 @@ If you’re fixing large of amounts of previously unformatted code, consider tem --- +## Sponsors + +| @prettier/plugin-eslint | eslint-config-prettier | eslint-plugin-prettier | prettier-eslint | prettier-eslint-cli | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| [![@prettier/plugin-eslint Open Collective sponsors](https://opencollective.com/prettier-plugin-eslint/tiers/sponsors.svg)](https://opencollective.com/prettier-plugin-eslint) | [![eslint-config-prettier Open Collective backers](https://opencollective.com/eslint-config-prettier/tiers/sponsors.svg)](https://opencollective.com/eslint-config-prettier) | [![eslint-plugin-prettier Open Collective backers](https://opencollective.com/eslint-plugin-prettier/tiers/sponsors.svg)](https://opencollective.com/rxts) | [![prettier-eslint Open Collective sponsors](https://opencollective.com/prettier-eslint/tiers/sponsors.svg)](https://opencollective.com/prettier-eslint) | [![prettier-eslint-cli Open Collective backers](https://opencollective.com/prettier-eslint-cli/tiers/sponsors.svg)](https://opencollective.com/prettier-eslint-cli) | + +## Backers + +| @prettier/plugin-eslint | eslint-config-prettier | eslint-plugin-prettier | prettier-eslint | prettier-eslint-cli | +| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | +| [![@prettier/plugin-eslint Open Collective backers](https://opencollective.com/prettier-plugin-eslint/tiers/backers.svg)](https://opencollective.com/prettier-plugin-eslint) | [![eslint-config-prettier Open Collective backers](https://opencollective.com/eslint-config-prettier/tiers/backers.svg)](https://opencollective.com/eslint-config-prettier) | [![eslint-plugin-prettier Open Collective backers](https://opencollective.com/eslint-plugin-prettier/tiers/backers.svg)](https://opencollective.com/rxts) | [![prettier-eslint Open Collective backers](https://opencollective.com/prettier-eslint/tiers/backers.svg)](https://opencollective.com/prettier-eslint) | [![prettier-eslint-cli Open Collective backers](https://opencollective.com/prettier-eslint-cli/tiers/backers.svg)](https://opencollective.com/prettier-eslint-cli) | + ## Contributing See [CONTRIBUTING.md](https://github.com/prettier/eslint-plugin-prettier/blob/master/CONTRIBUTING.md) diff --git a/node_modules/eslint-plugin-prettier/eslint-plugin-prettier.js b/node_modules/eslint-plugin-prettier/eslint-plugin-prettier.js index 04c2489284..74cd8c0497 100644 --- a/node_modules/eslint-plugin-prettier/eslint-plugin-prettier.js +++ b/node_modules/eslint-plugin-prettier/eslint-plugin-prettier.js @@ -9,8 +9,10 @@ * @typedef {import('eslint').AST.Range} Range * @typedef {import('eslint').AST.SourceLocation} SourceLocation * @typedef {import('eslint').ESLint.Plugin} Plugin + * @typedef {import('eslint').ESLint.ObjectMetaProperties} ObjectMetaProperties * @typedef {import('prettier').FileInfoOptions} FileInfoOptions - * @typedef {import('prettier').Options & { onDiskFilepath: string, parserPath: string, usePrettierrc?: boolean }} Options + * @typedef {import('prettier').Options} PrettierOptions + * @typedef {PrettierOptions & { onDiskFilepath: string, parserMeta?: ObjectMetaProperties['meta'], parserPath?: string, usePrettierrc?: boolean }} Options */ 'use strict'; @@ -23,6 +25,7 @@ const { showInvisibles, generateDifferences, } = require('prettier-linter-helpers'); +const { name, version } = require('./package.json'); // ------------------------------------------------------------------------------ // Constants @@ -54,8 +57,11 @@ let prettierFormat; function reportDifference(context, difference) { const { operation, offset, deleteText = '', insertText = '' } = difference; const range = /** @type {Range} */ ([offset, offset + deleteText.length]); + // `context.getSourceCode()` was deprecated in ESLint v8.40.0 and replaced + // with the `sourceCode` property. + // TODO: Only use property when our eslint peerDependency is >=8.40.0. const [start, end] = range.map(index => - context.getSourceCode().getLocFromIndex(index), + (context.sourceCode ?? context.getSourceCode()).getLocFromIndex(index), ); context.report({ @@ -77,6 +83,7 @@ function reportDifference(context, difference) { * @type {Plugin} */ const eslintPluginPrettier = { + meta: { name, version }, configs: { recommended: { extends: ['prettier'], @@ -130,14 +137,26 @@ const eslintPluginPrettier = { */ const fileInfoOptions = (context.options[1] && context.options[1].fileInfoOptions) || {}; - const sourceCode = context.getSourceCode(); - const filepath = context.getFilename(); + + // `context.getSourceCode()` was deprecated in ESLint v8.40.0 and replaced + // with the `sourceCode` property. + // TODO: Only use property when our eslint peerDependency is >=8.40.0. + const sourceCode = context.sourceCode ?? context.getSourceCode(); + // `context.getFilename()` was deprecated in ESLint v8.40.0 and replaced + // with the `filename` property. + // TODO: Only use property when our eslint peerDependency is >=8.40.0. + const filepath = context.filename ?? context.getFilename(); + // Processors that extract content from a file, such as the markdown // plugin extracting fenced code blocks may choose to specify virtual // file paths. If this is the case then we need to resolve prettier // config and file info using the on-disk path instead of the virtual // path. - const onDiskFilepath = context.getPhysicalFilename(); + // `context.getPhysicalFilename()` was deprecated in ESLint v8.40.0 and replaced + // with the `physicalFilename` property. + // TODO: Only use property when our eslint peerDependency is >=8.40.0. + const onDiskFilepath = + context.physicalFilename ?? context.getPhysicalFilename(); const source = sourceCode.text; return { @@ -150,10 +169,12 @@ const eslintPluginPrettier = { } /** - * @type {{}} + * @type {PrettierOptions} */ const eslintPrettierOptions = context.options[0] || {}; + const parser = context.languageOptions?.parser; + // prettier.format() may throw a SyntaxError if it cannot parse the // source code it is given. Usually for JS files this isn't a // problem as ESLint will report invalid syntax before trying to @@ -173,6 +194,12 @@ const eslintPluginPrettier = { ...eslintPrettierOptions, filepath, onDiskFilepath, + parserMeta: + parser && + (parser.meta ?? { + name: parser.name, + version: parser.version, + }), parserPath: context.parserPath, usePrettierrc, }, diff --git a/node_modules/eslint-plugin-prettier/package.json b/node_modules/eslint-plugin-prettier/package.json index d459d208e6..547f7bab54 100644 --- a/node_modules/eslint-plugin-prettier/package.json +++ b/node_modules/eslint-plugin-prettier/package.json @@ -1,6 +1,6 @@ { "name": "eslint-plugin-prettier", - "version": "5.0.0", + "version": "5.2.1", "description": "Runs prettier as an eslint rule", "repository": "git+https://github.com/prettier/eslint-plugin-prettier.git", "homepage": "https://github.com/prettier/eslint-plugin-prettier#readme", @@ -8,17 +8,30 @@ "contributors": [ "JounQin (https://github.com/JounQin) " ], - "funding": "https://opencollective.com/prettier", + "funding": "https://opencollective.com/eslint-plugin-prettier", "license": "MIT", - "packageManager": "pnpm@7.33.3", + "packageManager": "pnpm@7.33.5", "engines": { "node": "^14.18.0 || >=16.0.0" }, "main": "eslint-plugin-prettier.js", + "exports": { + ".": { + "types": "./eslint-plugin-prettier.d.ts", + "default": "./eslint-plugin-prettier.js" + }, + "./recommended": { + "types": "./recommended.d.ts", + "default": "./recommended.js" + }, + "./package.json": "./package.json" + }, "types": "eslint-plugin-prettier.d.ts", "files": [ "eslint-plugin-prettier.d.ts", "eslint-plugin-prettier.js", + "recommended.d.ts", + "recommended.js", "worker.js" ], "keywords": [ @@ -30,6 +43,7 @@ "peerDependencies": { "@types/eslint": ">=8.0.0", "eslint": ">=8.0.0", + "eslint-config-prettier": "*", "prettier": ">=3.0.0" }, "peerDependenciesMeta": { @@ -42,42 +56,47 @@ }, "dependencies": { "prettier-linter-helpers": "^1.0.0", - "synckit": "^0.8.5" + "synckit": "^0.9.1" }, "devDependencies": { "@1stg/remark-preset": "^2.0.0", - "@changesets/changelog-github": "^0.4.8", - "@changesets/cli": "^2.26.2", - "@commitlint/config-conventional": "^17.6.6", - "@eslint-community/eslint-plugin-eslint-comments": "^3.2.1", - "@graphql-eslint/eslint-plugin": "^3.20.0", - "@types/eslint": "^8.44.0", - "@types/prettier-linter-helpers": "^1.0.1", - "commitlint": "^17.6.6", - "eslint": "^8.44.0", - "eslint-config-prettier": "^8.8.0", + "@changesets/changelog-github": "^0.5.0", + "@changesets/cli": "^2.27.1", + "@commitlint/config-conventional": "^18.4.3", + "@eslint-community/eslint-plugin-eslint-comments": "^4.1.0", + "@eslint/js": "^8.56.0", + "@graphql-eslint/eslint-plugin": "^3.20.1", + "@html-eslint/parser": "^0.24.1", + "@prettier/plugin-pug": "^3.0.0", + "@types/eslint": "^8.56.0", + "@types/prettier-linter-helpers": "^1.0.4", + "commitlint": "^18.4.3", + "eslint": "^8.56.0", + "eslint-config-prettier": "^9.1.0", "eslint-formatter-friendly": "^7.0.0", - "eslint-mdx": "^2.1.0", - "eslint-plugin-eslint-plugin": "^5.1.0", - "eslint-plugin-mdx": "^2.1.0", - "eslint-plugin-n": "^16.0.1", + "eslint-mdx": "^2.3.0", + "eslint-plugin-eslint-plugin": "^5.2.1", + "eslint-plugin-mdx": "^2.3.0", + "eslint-plugin-n": "^16.5.0", "eslint-plugin-prettier": "link:.", - "eslint-plugin-svelte": "^2.32.2", + "eslint-plugin-pug": "^1.2.5", + "eslint-plugin-svelte": "^2.35.1", "eslint-plugin-svelte3": "^4.0.0", - "graphql": "^16.7.1", - "lint-staged": "^13.2.3", + "graphql": "^16.8.1", + "lint-staged": "^15.2.0", "mocha": "^10.2.0", - "prettier": "^3.0.0", + "prettier": "^3.1.1", "prettier-plugin-pkg": "^0.18.0", - "simple-git-hooks": "^2.8.1", - "svelte": "^4.0.5", - "vue-eslint-parser": "^9.3.1" + "prettier-plugin-svelte": "^3.1.2", + "simple-git-hooks": "^2.9.0", + "svelte": "^4.2.8", + "vue-eslint-parser": "^9.3.2" }, "scripts": { + "check": "prettier --check . && pnpm lint", "format": "prettier --write . && pnpm lint --fix", "lint": "eslint . --cache -f friendly --max-warnings 10", - "prerelease": "pnpm format && pnpm test", - "release": "changeset publish", + "release": "pnpm check && pnpm test && changeset publish", "test": "pnpm lint && mocha" } } \ No newline at end of file diff --git a/node_modules/eslint-plugin-prettier/recommended.d.ts b/node_modules/eslint-plugin-prettier/recommended.d.ts new file mode 100644 index 0000000000..9ebc81d78e --- /dev/null +++ b/node_modules/eslint-plugin-prettier/recommended.d.ts @@ -0,0 +1,5 @@ +import { Linter } from 'eslint'; + +declare const recommendedConfig: Linter.FlatConfig; + +export = recommendedConfig; diff --git a/node_modules/eslint-plugin-prettier/recommended.js b/node_modules/eslint-plugin-prettier/recommended.js new file mode 100644 index 0000000000..e20a959687 --- /dev/null +++ b/node_modules/eslint-plugin-prettier/recommended.js @@ -0,0 +1,17 @@ +const eslintConfigPrettier = require('eslint-config-prettier'); +const eslintPluginPrettier = require('./eslint-plugin-prettier'); + +// Merge the contents of eslint-config-prettier into every +module.exports = { + ...eslintConfigPrettier, + plugins: { + ...eslintConfigPrettier.plugins, + prettier: eslintPluginPrettier, + }, + rules: { + ...eslintConfigPrettier.rules, + 'prettier/prettier': 'error', + 'arrow-body-style': 'off', + 'prefer-arrow-callback': 'off', + }, +}; diff --git a/node_modules/eslint-plugin-prettier/worker.js b/node_modules/eslint-plugin-prettier/worker.js index 5e36ad6c8f..037c2c3a59 100644 --- a/node_modules/eslint-plugin-prettier/worker.js +++ b/node_modules/eslint-plugin-prettier/worker.js @@ -2,7 +2,8 @@ /** * @typedef {import('prettier').FileInfoOptions} FileInfoOptions - * @typedef {import('prettier').Options & { onDiskFilepath: string, parserPath: string, usePrettierrc?: boolean }} Options + * @typedef {import('eslint').ESLint.ObjectMetaProperties} ObjectMetaProperties + * @typedef {import('prettier').Options & { onDiskFilepath: string, parserMeta?: ObjectMetaProperties['meta'], parserPath?: string, usePrettierrc?: boolean }} Options */ const { runAsWorker } = require('synckit'); @@ -24,6 +25,7 @@ runAsWorker( { filepath, onDiskFilepath, + parserMeta, parserPath, usePrettierrc, ...eslintPrettierOptions @@ -58,7 +60,7 @@ runAsWorker( return; } - const initialOptions = {}; + const initialOptions = { parser: inferredParser ?? 'babel' }; // ESLint supports processors that let you extract and lint JS // fragments within a non-JS language. In the cases where prettier @@ -94,9 +96,7 @@ runAsWorker( // 2. `eslint-plugin-html` // 3. `eslint-plugin-markdown@1` (replacement: `eslint-plugin-markdown@2+`) // 4. `eslint-plugin-svelte3` (replacement: `eslint-plugin-svelte@2+`) - const parserBlocklist = [null, 'markdown', 'html']; - - let inferParserToBabel = parserBlocklist.includes(inferredParser); + let inferParserToBabel = false; switch (inferredParser) { // it could be processed by `@graphql-eslint/eslint-plugin` or `eslint-plugin-graphql` @@ -109,10 +109,37 @@ runAsWorker( } break; } + case 'html': { + // it could be processed by `eslint-plugin-html` or correctly parsed by `@html-eslint/parser` + if ( + (typeof parserMeta !== 'undefined' && + parserMeta.name !== '@html-eslint/parser') || + (typeof parserPath === 'string' && + !/([\\/])@html-eslint\1parser\1/.test(parserPath)) + ) { + inferParserToBabel = true; + } + break; + } + case 'markdown': { + // it could be processed by `eslint-plugin-markdown@1` or correctly parsed by `eslint-mdx` + if ( + (typeof parserMeta !== 'undefined' && + parserMeta.name !== 'eslint-mdx') || + (typeof parserPath === 'string' && + !/([\\/])eslint-mdx\1/.test(parserPath)) + ) { + inferParserToBabel = true; + } + break; + } // it could be processed by `@ota-meshi/eslint-plugin-svelte`, `eslint-plugin-svelte` or `eslint-plugin-svelte3` case 'svelte': { // The `source` would be modified by `eslint-plugin-svelte3` - if (!parserPath.includes('svelte-eslint-parser')) { + if ( + typeof parserPath === 'string' && + !/([\\/])svelte-eslint-parser\1/.test(parserPath) + ) { // We do not support `eslint-plugin-svelte3`, // the users should run `prettier` on `.svelte` files manually return; @@ -142,12 +169,16 @@ runAsWorker( 'mdx', 'angular', 'svelte', + 'pug', ]; if (parserBlocklist.includes(/** @type {string} */ (inferredParser))) { return; } } + /** + * @type {import('prettier').Options} + */ const prettierOptions = { ...initialOptions, ...prettierRcOptions, diff --git a/node_modules/is-docker/cli.js b/node_modules/is-docker/cli.js deleted file mode 100755 index 3b200aa51b..0000000000 --- a/node_modules/is-docker/cli.js +++ /dev/null @@ -1,5 +0,0 @@ -#!/usr/bin/env node -import process from 'node:process'; -import isDocker from './index.js'; - -process.exitCode = isDocker() ? 0 : 2; diff --git a/node_modules/is-docker/index.d.ts b/node_modules/is-docker/index.d.ts deleted file mode 100644 index 80ee82191f..0000000000 --- a/node_modules/is-docker/index.d.ts +++ /dev/null @@ -1,13 +0,0 @@ -/** -Check if the process is running inside a Docker container. - -@example -``` -import isDocker from 'is-docker'; - -if (isDocker()) { - console.log('Running inside a Docker container'); -} -``` -*/ -export default function isDocker(): boolean; diff --git a/node_modules/is-docker/index.js b/node_modules/is-docker/index.js deleted file mode 100644 index 2a3d8b65d5..0000000000 --- a/node_modules/is-docker/index.js +++ /dev/null @@ -1,29 +0,0 @@ -import fs from 'node:fs'; - -let isDockerCached; - -function hasDockerEnv() { - try { - fs.statSync('/.dockerenv'); - return true; - } catch { - return false; - } -} - -function hasDockerCGroup() { - try { - return fs.readFileSync('/proc/self/cgroup', 'utf8').includes('docker'); - } catch { - return false; - } -} - -export default function isDocker() { - // TODO: Use `??=` when targeting Node.js 16. - if (isDockerCached === undefined) { - isDockerCached = hasDockerEnv() || hasDockerCGroup(); - } - - return isDockerCached; -} diff --git a/node_modules/is-docker/license b/node_modules/is-docker/license deleted file mode 100644 index fa7ceba3eb..0000000000 --- a/node_modules/is-docker/license +++ /dev/null @@ -1,9 +0,0 @@ -MIT License - -Copyright (c) Sindre Sorhus (https://sindresorhus.com) - -Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/node_modules/is-docker/package.json b/node_modules/is-docker/package.json deleted file mode 100644 index 0a1351c899..0000000000 --- a/node_modules/is-docker/package.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "name": "is-docker", - "version": "3.0.0", - "description": "Check if the process is running inside a Docker container", - "license": "MIT", - "repository": "sindresorhus/is-docker", - "funding": "https://github.com/sponsors/sindresorhus", - "author": { - "name": "Sindre Sorhus", - "email": "sindresorhus@gmail.com", - "url": "https://sindresorhus.com" - }, - "type": "module", - "exports": "./index.js", - "bin": "./cli.js", - "engines": { - "node": "^12.20.0 || ^14.13.1 || >=16.0.0" - }, - "scripts": { - "test": "xo && ava && tsd" - }, - "files": [ - "index.js", - "index.d.ts", - "cli.js" - ], - "keywords": [ - "detect", - "docker", - "dockerized", - "container", - "inside", - "is", - "env", - "environment", - "process" - ], - "devDependencies": { - "ava": "^3.15.0", - "sinon": "^11.1.2", - "tsd": "^0.17.0", - "xo": "^0.44.0" - } -} diff --git a/node_modules/is-docker/readme.md b/node_modules/is-docker/readme.md deleted file mode 100644 index 236e6f01db..0000000000 --- a/node_modules/is-docker/readme.md +++ /dev/null @@ -1,27 +0,0 @@ -# is-docker - -> Check if the process is running inside a Docker container - -## Install - -``` -$ npm install is-docker -``` - -## Usage - -```js -import isDocker from 'is-docker'; - -if (isDocker()) { - console.log('Running inside a Docker container'); -} -``` - -## CLI - -``` -$ is-docker -``` - -Exits with code 0 if inside a Docker container and 2 if not. diff --git a/node_modules/is-inside-container/cli.js b/node_modules/is-inside-container/cli.js deleted file mode 100755 index b39acaca64..0000000000 --- a/node_modules/is-inside-container/cli.js +++ /dev/null @@ -1,5 +0,0 @@ -#!/usr/bin/env node -import process from 'node:process'; -import isInsideContainer from './index.js'; - -process.exitCode = isInsideContainer() ? 0 : 2; diff --git a/node_modules/is-inside-container/index.d.ts b/node_modules/is-inside-container/index.d.ts deleted file mode 100644 index 3bfc2caf7d..0000000000 --- a/node_modules/is-inside-container/index.d.ts +++ /dev/null @@ -1,13 +0,0 @@ -/** -Check if the process is running inside a container. - -@example -``` -import isInsideContainer from 'is-inside-container'; - -if (isInsideContainer()) { - console.log('Running inside a container'); -} -``` -*/ -export default function isInsideContainer(): boolean; diff --git a/node_modules/is-inside-container/index.js b/node_modules/is-inside-container/index.js deleted file mode 100644 index 2c806d2cff..0000000000 --- a/node_modules/is-inside-container/index.js +++ /dev/null @@ -1,23 +0,0 @@ -import fs from 'node:fs'; -import isDocker from 'is-docker'; - -let cachedResult; - -// Podman detection -const hasContainerEnv = () => { - try { - fs.statSync('/run/.containerenv'); - return true; - } catch { - return false; - } -}; - -export default function isInsideContainer() { - // TODO: Use `??=` when targeting Node.js 16. - if (cachedResult === undefined) { - cachedResult = hasContainerEnv() || isDocker(); - } - - return cachedResult; -} diff --git a/node_modules/is-inside-container/license b/node_modules/is-inside-container/license deleted file mode 100644 index fa7ceba3eb..0000000000 --- a/node_modules/is-inside-container/license +++ /dev/null @@ -1,9 +0,0 @@ -MIT License - -Copyright (c) Sindre Sorhus (https://sindresorhus.com) - -Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/node_modules/is-inside-container/package.json b/node_modules/is-inside-container/package.json deleted file mode 100644 index b623c83a1b..0000000000 --- a/node_modules/is-inside-container/package.json +++ /dev/null @@ -1,51 +0,0 @@ -{ - "name": "is-inside-container", - "version": "1.0.0", - "description": "Check if the process is running inside a container (Docker/Podman)", - "license": "MIT", - "repository": "sindresorhus/is-inside-container", - "funding": "https://github.com/sponsors/sindresorhus", - "author": { - "name": "Sindre Sorhus", - "email": "sindresorhus@gmail.com", - "url": "https://sindresorhus.com" - }, - "type": "module", - "exports": { - "types": "./index.d.ts", - "default": "./index.js" - }, - "bin": "./cli.js", - "engines": { - "node": ">=14.16" - }, - "scripts": { - "test": "xo && NODE_OPTIONS='--loader=esmock --no-warnings' ava && tsd" - }, - "files": [ - "index.js", - "index.d.ts", - "cli.js" - ], - "keywords": [ - "detect", - "inside", - "container", - "docker", - "dockerized", - "podman", - "is", - "env", - "environment", - "process" - ], - "dependencies": { - "is-docker": "^3.0.0" - }, - "devDependencies": { - "ava": "^5.2.0", - "esmock": "^2.1.0", - "tsd": "^0.25.0", - "xo": "^0.53.1" - } -} diff --git a/node_modules/is-inside-container/readme.md b/node_modules/is-inside-container/readme.md deleted file mode 100644 index c2a580d041..0000000000 --- a/node_modules/is-inside-container/readme.md +++ /dev/null @@ -1,36 +0,0 @@ -# is-inside-container - -> Check if the process is running inside a container - -## Install - -```sh -npm install is-inside-container -``` - -## Usage - -```js -import isInsideContainer from 'is-inside-container'; - -if (isInsideContainer()) { - console.log('Running inside a container'); -} -``` - -## CLI - -```sh -is-inside-container -``` - -Exits with code 0 if inside a container and 2 if not. - -## Supported containers - -- Docker -- Podman - -## Related - -- [is-docker](https://github.com/sindresorhus/is-docker) - Check if the process is running inside a Docker container diff --git a/node_modules/is-wsl/index.d.ts b/node_modules/is-wsl/index.d.ts deleted file mode 100644 index d54e4bac20..0000000000 --- a/node_modules/is-wsl/index.d.ts +++ /dev/null @@ -1,15 +0,0 @@ -/** -Check if the process is running inside [Windows Subsystem for Linux](https://msdn.microsoft.com/commandline/wsl/about) (Bash on Windows). - -@example -``` -import isWsl = require('is-wsl'); - -// When running inside Windows Subsystem for Linux -console.log(isWsl); -//=> true -``` -*/ -declare const isWsl: boolean; - -export = isWsl; diff --git a/node_modules/is-wsl/index.js b/node_modules/is-wsl/index.js deleted file mode 100644 index eb6313f0c7..0000000000 --- a/node_modules/is-wsl/index.js +++ /dev/null @@ -1,31 +0,0 @@ -'use strict'; -const os = require('os'); -const fs = require('fs'); -const isDocker = require('is-docker'); - -const isWsl = () => { - if (process.platform !== 'linux') { - return false; - } - - if (os.release().toLowerCase().includes('microsoft')) { - if (isDocker()) { - return false; - } - - return true; - } - - try { - return fs.readFileSync('/proc/version', 'utf8').toLowerCase().includes('microsoft') ? - !isDocker() : false; - } catch (_) { - return false; - } -}; - -if (process.env.__IS_WSL_TEST__) { - module.exports = isWsl; -} else { - module.exports = isWsl(); -} diff --git a/node_modules/is-wsl/license b/node_modules/is-wsl/license deleted file mode 100644 index e7af2f7710..0000000000 --- a/node_modules/is-wsl/license +++ /dev/null @@ -1,9 +0,0 @@ -MIT License - -Copyright (c) Sindre Sorhus (sindresorhus.com) - -Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/node_modules/is-wsl/node_modules/.bin/is-docker b/node_modules/is-wsl/node_modules/.bin/is-docker deleted file mode 120000 index 9896ba572b..0000000000 --- a/node_modules/is-wsl/node_modules/.bin/is-docker +++ /dev/null @@ -1 +0,0 @@ -../is-docker/cli.js \ No newline at end of file diff --git a/node_modules/is-wsl/node_modules/is-docker/cli.js b/node_modules/is-wsl/node_modules/is-docker/cli.js deleted file mode 100755 index 58f2861f9f..0000000000 --- a/node_modules/is-wsl/node_modules/is-docker/cli.js +++ /dev/null @@ -1,5 +0,0 @@ -#!/usr/bin/env node -'use strict'; -const isDocker = require('.'); - -process.exitCode = isDocker() ? 0 : 2; diff --git a/node_modules/is-wsl/node_modules/is-docker/index.d.ts b/node_modules/is-wsl/node_modules/is-docker/index.d.ts deleted file mode 100644 index c801881dee..0000000000 --- a/node_modules/is-wsl/node_modules/is-docker/index.d.ts +++ /dev/null @@ -1,15 +0,0 @@ -/** -Check if the process is running inside a Docker container. - -@example -``` -import isDocker = require('is-docker'); - -if (isDocker()) { - console.log('Running inside a Docker container'); -} -``` -*/ -declare function isDocker(): boolean; - -export = isDocker; diff --git a/node_modules/is-wsl/node_modules/is-docker/index.js b/node_modules/is-wsl/node_modules/is-docker/index.js deleted file mode 100644 index cbb7b6f756..0000000000 --- a/node_modules/is-wsl/node_modules/is-docker/index.js +++ /dev/null @@ -1,29 +0,0 @@ -'use strict'; -const fs = require('fs'); - -let isDocker; - -function hasDockerEnv() { - try { - fs.statSync('/.dockerenv'); - return true; - } catch (_) { - return false; - } -} - -function hasDockerCGroup() { - try { - return fs.readFileSync('/proc/self/cgroup', 'utf8').includes('docker'); - } catch (_) { - return false; - } -} - -module.exports = () => { - if (isDocker === undefined) { - isDocker = hasDockerEnv() || hasDockerCGroup(); - } - - return isDocker; -}; diff --git a/node_modules/is-wsl/node_modules/is-docker/license b/node_modules/is-wsl/node_modules/is-docker/license deleted file mode 100644 index fa7ceba3eb..0000000000 --- a/node_modules/is-wsl/node_modules/is-docker/license +++ /dev/null @@ -1,9 +0,0 @@ -MIT License - -Copyright (c) Sindre Sorhus (https://sindresorhus.com) - -Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/node_modules/is-wsl/node_modules/is-docker/package.json b/node_modules/is-wsl/node_modules/is-docker/package.json deleted file mode 100644 index 5844e8ca45..0000000000 --- a/node_modules/is-wsl/node_modules/is-docker/package.json +++ /dev/null @@ -1,42 +0,0 @@ -{ - "name": "is-docker", - "version": "2.2.1", - "description": "Check if the process is running inside a Docker container", - "license": "MIT", - "repository": "sindresorhus/is-docker", - "funding": "https://github.com/sponsors/sindresorhus", - "author": { - "name": "Sindre Sorhus", - "email": "sindresorhus@gmail.com", - "url": "https://sindresorhus.com" - }, - "bin": "cli.js", - "engines": { - "node": ">=8" - }, - "scripts": { - "test": "xo && ava && tsd" - }, - "files": [ - "index.js", - "index.d.ts", - "cli.js" - ], - "keywords": [ - "detect", - "docker", - "dockerized", - "container", - "inside", - "is", - "env", - "environment", - "process" - ], - "devDependencies": { - "ava": "^1.4.1", - "sinon": "^7.3.2", - "tsd": "^0.7.2", - "xo": "^0.24.0" - } -} diff --git a/node_modules/is-wsl/node_modules/is-docker/readme.md b/node_modules/is-wsl/node_modules/is-docker/readme.md deleted file mode 100644 index f09b254ff3..0000000000 --- a/node_modules/is-wsl/node_modules/is-docker/readme.md +++ /dev/null @@ -1,27 +0,0 @@ -# is-docker - -> Check if the process is running inside a Docker container - -## Install - -``` -$ npm install is-docker -``` - -## Usage - -```js -const isDocker = require('is-docker'); - -if (isDocker()) { - console.log('Running inside a Docker container'); -} -``` - -## CLI - -``` -$ is-docker -``` - -Exits with code 0 if inside a Docker container and 2 if not. diff --git a/node_modules/is-wsl/package.json b/node_modules/is-wsl/package.json deleted file mode 100644 index ddc02b56b5..0000000000 --- a/node_modules/is-wsl/package.json +++ /dev/null @@ -1,45 +0,0 @@ -{ - "name": "is-wsl", - "version": "2.2.0", - "description": "Check if the process is running inside Windows Subsystem for Linux (Bash on Windows)", - "license": "MIT", - "repository": "sindresorhus/is-wsl", - "author": { - "name": "Sindre Sorhus", - "email": "sindresorhus@gmail.com", - "url": "sindresorhus.com" - }, - "engines": { - "node": ">=8" - }, - "scripts": { - "test": "xo && ava && tsd" - }, - "files": [ - "index.js", - "index.d.ts" - ], - "keywords": [ - "check", - "wsl", - "windows", - "subsystem", - "linux", - "detect", - "bash", - "process", - "console", - "terminal", - "is" - ], - "dependencies": { - "is-docker": "^2.0.0" - }, - "devDependencies": { - "ava": "^1.4.1", - "clear-module": "^3.2.0", - "proxyquire": "^2.1.0", - "tsd": "^0.7.2", - "xo": "^0.24.0" - } -} diff --git a/node_modules/is-wsl/readme.md b/node_modules/is-wsl/readme.md deleted file mode 100644 index 5fe44fed2d..0000000000 --- a/node_modules/is-wsl/readme.md +++ /dev/null @@ -1,36 +0,0 @@ -# is-wsl [![Build Status](https://travis-ci.org/sindresorhus/is-wsl.svg?branch=master)](https://travis-ci.org/sindresorhus/is-wsl) - -> Check if the process is running inside [Windows Subsystem for Linux](https://msdn.microsoft.com/commandline/wsl/about) (Bash on Windows) - -Can be useful if you need to work around unimplemented or buggy features in WSL. Supports both WSL 1 and WSL 2. - - -## Install - -``` -$ npm install is-wsl -``` - - -## Usage - -```js -const isWsl = require('is-wsl'); - -// When running inside Windows Subsystem for Linux -console.log(isWsl); -//=> true -``` - - ---- - -
- - Get professional support for this package with a Tidelift subscription - -
- - Tidelift helps make open source sustainable for maintainers while giving companies
assurances about security, maintenance, and licensing for their dependencies. -
-
diff --git a/node_modules/node-releases/README.md b/node_modules/node-releases/README.md index 114fb4a267..d30d2003e4 100644 --- a/node_modules/node-releases/README.md +++ b/node_modules/node-releases/README.md @@ -2,30 +2,11 @@ All data is located in `data` directory. -`data/raw` contains raw data `nodejs.json` and `iojs.json`. +`data/processed` contains `envs.json` with node.js releases data preprocessed to be used by [Browserslist](https://github.com/ai/browserslist) and other projects. Each version in this file contains only necessary info: version, release date, LTS flag/name, and security flag. -`data/processed` contains `envs.js` with both node.js and io.js data preprocessed to be used by [Browserslist](https://github.com/ai/browserslist) and other projects. Each version in this file contains only necessary info: version, release date and optionally LTS flag. +`data/release-schedule` contains `release-schedule.json` with node.js releases date and end of life date. ## Installation ```bash -npm install --save node-releases +npm install node-releases ``` - -## Updating data -```bash -npm run build -``` -This is a build script which fetches data from web, processes it and saves processed data to `data/processed/envs.json`. If you want to run this steps separately you can use commands described below. - - -### Fetching data -```bash -npm run fetch -``` -This npm script will download new data to `data/raw` directory. Also it'll download Node.js release schedule into `release-schedule` folder. - -### Processing data -```bash -npm run process -``` -This script generates `envs.json` file from raw data files and saves it to `data/processed` directory. diff --git a/node_modules/node-releases/data/processed/envs.json b/node_modules/node-releases/data/processed/envs.json index 3e0cfbdd37..8f6cd4edb3 100644 --- a/node_modules/node-releases/data/processed/envs.json +++ b/node_modules/node-releases/data/processed/envs.json @@ -1 +1 @@ -[{"name":"nodejs","version":"0.2.0","date":"2011-08-26","lts":false,"security":false},{"name":"nodejs","version":"0.3.0","date":"2011-08-26","lts":false,"security":false},{"name":"nodejs","version":"0.4.0","date":"2011-08-26","lts":false,"security":false},{"name":"nodejs","version":"0.5.0","date":"2011-08-26","lts":false,"security":false},{"name":"nodejs","version":"0.6.0","date":"2011-11-04","lts":false,"security":false},{"name":"nodejs","version":"0.7.0","date":"2012-01-17","lts":false,"security":false},{"name":"nodejs","version":"0.8.0","date":"2012-06-22","lts":false,"security":false},{"name":"nodejs","version":"0.9.0","date":"2012-07-20","lts":false,"security":false},{"name":"nodejs","version":"0.10.0","date":"2013-03-11","lts":false,"security":false},{"name":"nodejs","version":"0.11.0","date":"2013-03-28","lts":false,"security":false},{"name":"nodejs","version":"0.12.0","date":"2015-02-06","lts":false,"security":false},{"name":"nodejs","version":"4.0.0","date":"2015-09-08","lts":false,"security":false},{"name":"nodejs","version":"4.1.0","date":"2015-09-17","lts":false,"security":false},{"name":"nodejs","version":"4.2.0","date":"2015-10-12","lts":"Argon","security":false},{"name":"nodejs","version":"4.3.0","date":"2016-02-09","lts":"Argon","security":false},{"name":"nodejs","version":"4.4.0","date":"2016-03-08","lts":"Argon","security":false},{"name":"nodejs","version":"4.5.0","date":"2016-08-16","lts":"Argon","security":false},{"name":"nodejs","version":"4.6.0","date":"2016-09-27","lts":"Argon","security":true},{"name":"nodejs","version":"4.7.0","date":"2016-12-06","lts":"Argon","security":false},{"name":"nodejs","version":"4.8.0","date":"2017-02-21","lts":"Argon","security":false},{"name":"nodejs","version":"4.9.0","date":"2018-03-28","lts":"Argon","security":true},{"name":"nodejs","version":"5.0.0","date":"2015-10-29","lts":false,"security":false},{"name":"nodejs","version":"5.1.0","date":"2015-11-17","lts":false,"security":false},{"name":"nodejs","version":"5.2.0","date":"2015-12-09","lts":false,"security":false},{"name":"nodejs","version":"5.3.0","date":"2015-12-15","lts":false,"security":false},{"name":"nodejs","version":"5.4.0","date":"2016-01-06","lts":false,"security":false},{"name":"nodejs","version":"5.5.0","date":"2016-01-21","lts":false,"security":false},{"name":"nodejs","version":"5.6.0","date":"2016-02-09","lts":false,"security":false},{"name":"nodejs","version":"5.7.0","date":"2016-02-23","lts":false,"security":false},{"name":"nodejs","version":"5.8.0","date":"2016-03-09","lts":false,"security":false},{"name":"nodejs","version":"5.9.0","date":"2016-03-16","lts":false,"security":false},{"name":"nodejs","version":"5.10.0","date":"2016-04-01","lts":false,"security":false},{"name":"nodejs","version":"5.11.0","date":"2016-04-21","lts":false,"security":false},{"name":"nodejs","version":"5.12.0","date":"2016-06-23","lts":false,"security":false},{"name":"nodejs","version":"6.0.0","date":"2016-04-26","lts":false,"security":false},{"name":"nodejs","version":"6.1.0","date":"2016-05-05","lts":false,"security":false},{"name":"nodejs","version":"6.2.0","date":"2016-05-17","lts":false,"security":false},{"name":"nodejs","version":"6.3.0","date":"2016-07-06","lts":false,"security":false},{"name":"nodejs","version":"6.4.0","date":"2016-08-12","lts":false,"security":false},{"name":"nodejs","version":"6.5.0","date":"2016-08-26","lts":false,"security":false},{"name":"nodejs","version":"6.6.0","date":"2016-09-14","lts":false,"security":false},{"name":"nodejs","version":"6.7.0","date":"2016-09-27","lts":false,"security":true},{"name":"nodejs","version":"6.8.0","date":"2016-10-12","lts":false,"security":false},{"name":"nodejs","version":"6.9.0","date":"2016-10-18","lts":"Boron","security":false},{"name":"nodejs","version":"6.10.0","date":"2017-02-21","lts":"Boron","security":false},{"name":"nodejs","version":"6.11.0","date":"2017-06-06","lts":"Boron","security":false},{"name":"nodejs","version":"6.12.0","date":"2017-11-06","lts":"Boron","security":false},{"name":"nodejs","version":"6.13.0","date":"2018-02-10","lts":"Boron","security":false},{"name":"nodejs","version":"6.14.0","date":"2018-03-28","lts":"Boron","security":true},{"name":"nodejs","version":"6.15.0","date":"2018-11-27","lts":"Boron","security":true},{"name":"nodejs","version":"6.16.0","date":"2018-12-26","lts":"Boron","security":false},{"name":"nodejs","version":"6.17.0","date":"2019-02-28","lts":"Boron","security":true},{"name":"nodejs","version":"7.0.0","date":"2016-10-25","lts":false,"security":false},{"name":"nodejs","version":"7.1.0","date":"2016-11-08","lts":false,"security":false},{"name":"nodejs","version":"7.2.0","date":"2016-11-22","lts":false,"security":false},{"name":"nodejs","version":"7.3.0","date":"2016-12-20","lts":false,"security":false},{"name":"nodejs","version":"7.4.0","date":"2017-01-04","lts":false,"security":false},{"name":"nodejs","version":"7.5.0","date":"2017-01-31","lts":false,"security":false},{"name":"nodejs","version":"7.6.0","date":"2017-02-21","lts":false,"security":false},{"name":"nodejs","version":"7.7.0","date":"2017-02-28","lts":false,"security":false},{"name":"nodejs","version":"7.8.0","date":"2017-03-29","lts":false,"security":false},{"name":"nodejs","version":"7.9.0","date":"2017-04-11","lts":false,"security":false},{"name":"nodejs","version":"7.10.0","date":"2017-05-02","lts":false,"security":false},{"name":"nodejs","version":"8.0.0","date":"2017-05-30","lts":false,"security":false},{"name":"nodejs","version":"8.1.0","date":"2017-06-08","lts":false,"security":false},{"name":"nodejs","version":"8.2.0","date":"2017-07-19","lts":false,"security":false},{"name":"nodejs","version":"8.3.0","date":"2017-08-08","lts":false,"security":false},{"name":"nodejs","version":"8.4.0","date":"2017-08-15","lts":false,"security":false},{"name":"nodejs","version":"8.5.0","date":"2017-09-12","lts":false,"security":false},{"name":"nodejs","version":"8.6.0","date":"2017-09-26","lts":false,"security":false},{"name":"nodejs","version":"8.7.0","date":"2017-10-11","lts":false,"security":false},{"name":"nodejs","version":"8.8.0","date":"2017-10-24","lts":false,"security":false},{"name":"nodejs","version":"8.9.0","date":"2017-10-31","lts":"Carbon","security":false},{"name":"nodejs","version":"8.10.0","date":"2018-03-06","lts":"Carbon","security":false},{"name":"nodejs","version":"8.11.0","date":"2018-03-28","lts":"Carbon","security":true},{"name":"nodejs","version":"8.12.0","date":"2018-09-10","lts":"Carbon","security":false},{"name":"nodejs","version":"8.13.0","date":"2018-11-20","lts":"Carbon","security":false},{"name":"nodejs","version":"8.14.0","date":"2018-11-27","lts":"Carbon","security":true},{"name":"nodejs","version":"8.15.0","date":"2018-12-26","lts":"Carbon","security":false},{"name":"nodejs","version":"8.16.0","date":"2019-04-16","lts":"Carbon","security":false},{"name":"nodejs","version":"8.17.0","date":"2019-12-17","lts":"Carbon","security":true},{"name":"nodejs","version":"9.0.0","date":"2017-10-31","lts":false,"security":false},{"name":"nodejs","version":"9.1.0","date":"2017-11-07","lts":false,"security":false},{"name":"nodejs","version":"9.2.0","date":"2017-11-14","lts":false,"security":false},{"name":"nodejs","version":"9.3.0","date":"2017-12-12","lts":false,"security":false},{"name":"nodejs","version":"9.4.0","date":"2018-01-10","lts":false,"security":false},{"name":"nodejs","version":"9.5.0","date":"2018-01-31","lts":false,"security":false},{"name":"nodejs","version":"9.6.0","date":"2018-02-21","lts":false,"security":false},{"name":"nodejs","version":"9.7.0","date":"2018-03-01","lts":false,"security":false},{"name":"nodejs","version":"9.8.0","date":"2018-03-07","lts":false,"security":false},{"name":"nodejs","version":"9.9.0","date":"2018-03-21","lts":false,"security":false},{"name":"nodejs","version":"9.10.0","date":"2018-03-28","lts":false,"security":true},{"name":"nodejs","version":"9.11.0","date":"2018-04-04","lts":false,"security":false},{"name":"nodejs","version":"10.0.0","date":"2018-04-24","lts":false,"security":false},{"name":"nodejs","version":"10.1.0","date":"2018-05-08","lts":false,"security":false},{"name":"nodejs","version":"10.2.0","date":"2018-05-23","lts":false,"security":false},{"name":"nodejs","version":"10.3.0","date":"2018-05-29","lts":false,"security":false},{"name":"nodejs","version":"10.4.0","date":"2018-06-06","lts":false,"security":false},{"name":"nodejs","version":"10.5.0","date":"2018-06-20","lts":false,"security":false},{"name":"nodejs","version":"10.6.0","date":"2018-07-04","lts":false,"security":false},{"name":"nodejs","version":"10.7.0","date":"2018-07-18","lts":false,"security":false},{"name":"nodejs","version":"10.8.0","date":"2018-08-01","lts":false,"security":false},{"name":"nodejs","version":"10.9.0","date":"2018-08-15","lts":false,"security":false},{"name":"nodejs","version":"10.10.0","date":"2018-09-06","lts":false,"security":false},{"name":"nodejs","version":"10.11.0","date":"2018-09-19","lts":false,"security":false},{"name":"nodejs","version":"10.12.0","date":"2018-10-10","lts":false,"security":false},{"name":"nodejs","version":"10.13.0","date":"2018-10-30","lts":"Dubnium","security":false},{"name":"nodejs","version":"10.14.0","date":"2018-11-27","lts":"Dubnium","security":true},{"name":"nodejs","version":"10.15.0","date":"2018-12-26","lts":"Dubnium","security":false},{"name":"nodejs","version":"10.16.0","date":"2019-05-28","lts":"Dubnium","security":false},{"name":"nodejs","version":"10.17.0","date":"2019-10-22","lts":"Dubnium","security":false},{"name":"nodejs","version":"10.18.0","date":"2019-12-17","lts":"Dubnium","security":true},{"name":"nodejs","version":"10.19.0","date":"2020-02-05","lts":"Dubnium","security":true},{"name":"nodejs","version":"10.20.0","date":"2020-03-26","lts":"Dubnium","security":false},{"name":"nodejs","version":"10.21.0","date":"2020-06-02","lts":"Dubnium","security":true},{"name":"nodejs","version":"10.22.0","date":"2020-07-21","lts":"Dubnium","security":false},{"name":"nodejs","version":"10.23.0","date":"2020-10-27","lts":"Dubnium","security":false},{"name":"nodejs","version":"10.24.0","date":"2021-02-23","lts":"Dubnium","security":true},{"name":"nodejs","version":"11.0.0","date":"2018-10-23","lts":false,"security":false},{"name":"nodejs","version":"11.1.0","date":"2018-10-30","lts":false,"security":false},{"name":"nodejs","version":"11.2.0","date":"2018-11-15","lts":false,"security":false},{"name":"nodejs","version":"11.3.0","date":"2018-11-27","lts":false,"security":true},{"name":"nodejs","version":"11.4.0","date":"2018-12-07","lts":false,"security":false},{"name":"nodejs","version":"11.5.0","date":"2018-12-18","lts":false,"security":false},{"name":"nodejs","version":"11.6.0","date":"2018-12-26","lts":false,"security":false},{"name":"nodejs","version":"11.7.0","date":"2019-01-17","lts":false,"security":false},{"name":"nodejs","version":"11.8.0","date":"2019-01-24","lts":false,"security":false},{"name":"nodejs","version":"11.9.0","date":"2019-01-30","lts":false,"security":false},{"name":"nodejs","version":"11.10.0","date":"2019-02-14","lts":false,"security":false},{"name":"nodejs","version":"11.11.0","date":"2019-03-05","lts":false,"security":false},{"name":"nodejs","version":"11.12.0","date":"2019-03-14","lts":false,"security":false},{"name":"nodejs","version":"11.13.0","date":"2019-03-28","lts":false,"security":false},{"name":"nodejs","version":"11.14.0","date":"2019-04-10","lts":false,"security":false},{"name":"nodejs","version":"11.15.0","date":"2019-04-30","lts":false,"security":false},{"name":"nodejs","version":"12.0.0","date":"2019-04-23","lts":false,"security":false},{"name":"nodejs","version":"12.1.0","date":"2019-04-29","lts":false,"security":false},{"name":"nodejs","version":"12.2.0","date":"2019-05-07","lts":false,"security":false},{"name":"nodejs","version":"12.3.0","date":"2019-05-21","lts":false,"security":false},{"name":"nodejs","version":"12.4.0","date":"2019-06-04","lts":false,"security":false},{"name":"nodejs","version":"12.5.0","date":"2019-06-26","lts":false,"security":false},{"name":"nodejs","version":"12.6.0","date":"2019-07-03","lts":false,"security":false},{"name":"nodejs","version":"12.7.0","date":"2019-07-23","lts":false,"security":false},{"name":"nodejs","version":"12.8.0","date":"2019-08-06","lts":false,"security":false},{"name":"nodejs","version":"12.9.0","date":"2019-08-20","lts":false,"security":false},{"name":"nodejs","version":"12.10.0","date":"2019-09-04","lts":false,"security":false},{"name":"nodejs","version":"12.11.0","date":"2019-09-25","lts":false,"security":false},{"name":"nodejs","version":"12.12.0","date":"2019-10-11","lts":false,"security":false},{"name":"nodejs","version":"12.13.0","date":"2019-10-21","lts":"Erbium","security":false},{"name":"nodejs","version":"12.14.0","date":"2019-12-17","lts":"Erbium","security":true},{"name":"nodejs","version":"12.15.0","date":"2020-02-05","lts":"Erbium","security":true},{"name":"nodejs","version":"12.16.0","date":"2020-02-11","lts":"Erbium","security":false},{"name":"nodejs","version":"12.17.0","date":"2020-05-26","lts":"Erbium","security":false},{"name":"nodejs","version":"12.18.0","date":"2020-06-02","lts":"Erbium","security":true},{"name":"nodejs","version":"12.19.0","date":"2020-10-06","lts":"Erbium","security":false},{"name":"nodejs","version":"12.20.0","date":"2020-11-24","lts":"Erbium","security":false},{"name":"nodejs","version":"12.21.0","date":"2021-02-23","lts":"Erbium","security":true},{"name":"nodejs","version":"12.22.0","date":"2021-03-30","lts":"Erbium","security":false},{"name":"nodejs","version":"13.0.0","date":"2019-10-22","lts":false,"security":false},{"name":"nodejs","version":"13.1.0","date":"2019-11-05","lts":false,"security":false},{"name":"nodejs","version":"13.2.0","date":"2019-11-21","lts":false,"security":false},{"name":"nodejs","version":"13.3.0","date":"2019-12-03","lts":false,"security":false},{"name":"nodejs","version":"13.4.0","date":"2019-12-17","lts":false,"security":true},{"name":"nodejs","version":"13.5.0","date":"2019-12-18","lts":false,"security":false},{"name":"nodejs","version":"13.6.0","date":"2020-01-07","lts":false,"security":false},{"name":"nodejs","version":"13.7.0","date":"2020-01-21","lts":false,"security":false},{"name":"nodejs","version":"13.8.0","date":"2020-02-05","lts":false,"security":true},{"name":"nodejs","version":"13.9.0","date":"2020-02-18","lts":false,"security":false},{"name":"nodejs","version":"13.10.0","date":"2020-03-04","lts":false,"security":false},{"name":"nodejs","version":"13.11.0","date":"2020-03-12","lts":false,"security":false},{"name":"nodejs","version":"13.12.0","date":"2020-03-26","lts":false,"security":false},{"name":"nodejs","version":"13.13.0","date":"2020-04-14","lts":false,"security":false},{"name":"nodejs","version":"13.14.0","date":"2020-04-29","lts":false,"security":false},{"name":"nodejs","version":"14.0.0","date":"2020-04-21","lts":false,"security":false},{"name":"nodejs","version":"14.1.0","date":"2020-04-29","lts":false,"security":false},{"name":"nodejs","version":"14.2.0","date":"2020-05-05","lts":false,"security":false},{"name":"nodejs","version":"14.3.0","date":"2020-05-19","lts":false,"security":false},{"name":"nodejs","version":"14.4.0","date":"2020-06-02","lts":false,"security":true},{"name":"nodejs","version":"14.5.0","date":"2020-06-30","lts":false,"security":false},{"name":"nodejs","version":"14.6.0","date":"2020-07-20","lts":false,"security":false},{"name":"nodejs","version":"14.7.0","date":"2020-07-29","lts":false,"security":false},{"name":"nodejs","version":"14.8.0","date":"2020-08-11","lts":false,"security":false},{"name":"nodejs","version":"14.9.0","date":"2020-08-27","lts":false,"security":false},{"name":"nodejs","version":"14.10.0","date":"2020-09-08","lts":false,"security":false},{"name":"nodejs","version":"14.11.0","date":"2020-09-15","lts":false,"security":true},{"name":"nodejs","version":"14.12.0","date":"2020-09-22","lts":false,"security":false},{"name":"nodejs","version":"14.13.0","date":"2020-09-29","lts":false,"security":false},{"name":"nodejs","version":"14.14.0","date":"2020-10-15","lts":false,"security":false},{"name":"nodejs","version":"14.15.0","date":"2020-10-27","lts":"Fermium","security":false},{"name":"nodejs","version":"14.16.0","date":"2021-02-23","lts":"Fermium","security":true},{"name":"nodejs","version":"14.17.0","date":"2021-05-11","lts":"Fermium","security":false},{"name":"nodejs","version":"14.18.0","date":"2021-09-28","lts":"Fermium","security":false},{"name":"nodejs","version":"14.19.0","date":"2022-02-01","lts":"Fermium","security":false},{"name":"nodejs","version":"14.20.0","date":"2022-07-07","lts":"Fermium","security":true},{"name":"nodejs","version":"14.21.0","date":"2022-11-01","lts":"Fermium","security":false},{"name":"nodejs","version":"15.0.0","date":"2020-10-20","lts":false,"security":false},{"name":"nodejs","version":"15.1.0","date":"2020-11-04","lts":false,"security":false},{"name":"nodejs","version":"15.2.0","date":"2020-11-10","lts":false,"security":false},{"name":"nodejs","version":"15.3.0","date":"2020-11-24","lts":false,"security":false},{"name":"nodejs","version":"15.4.0","date":"2020-12-09","lts":false,"security":false},{"name":"nodejs","version":"15.5.0","date":"2020-12-22","lts":false,"security":false},{"name":"nodejs","version":"15.6.0","date":"2021-01-14","lts":false,"security":false},{"name":"nodejs","version":"15.7.0","date":"2021-01-25","lts":false,"security":false},{"name":"nodejs","version":"15.8.0","date":"2021-02-02","lts":false,"security":false},{"name":"nodejs","version":"15.9.0","date":"2021-02-18","lts":false,"security":false},{"name":"nodejs","version":"15.10.0","date":"2021-02-23","lts":false,"security":true},{"name":"nodejs","version":"15.11.0","date":"2021-03-03","lts":false,"security":false},{"name":"nodejs","version":"15.12.0","date":"2021-03-17","lts":false,"security":false},{"name":"nodejs","version":"15.13.0","date":"2021-03-31","lts":false,"security":false},{"name":"nodejs","version":"15.14.0","date":"2021-04-06","lts":false,"security":false},{"name":"nodejs","version":"16.0.0","date":"2021-04-20","lts":false,"security":false},{"name":"nodejs","version":"16.1.0","date":"2021-05-04","lts":false,"security":false},{"name":"nodejs","version":"16.2.0","date":"2021-05-19","lts":false,"security":false},{"name":"nodejs","version":"16.3.0","date":"2021-06-03","lts":false,"security":false},{"name":"nodejs","version":"16.4.0","date":"2021-06-23","lts":false,"security":false},{"name":"nodejs","version":"16.5.0","date":"2021-07-14","lts":false,"security":false},{"name":"nodejs","version":"16.6.0","date":"2021-07-29","lts":false,"security":true},{"name":"nodejs","version":"16.7.0","date":"2021-08-18","lts":false,"security":false},{"name":"nodejs","version":"16.8.0","date":"2021-08-25","lts":false,"security":false},{"name":"nodejs","version":"16.9.0","date":"2021-09-07","lts":false,"security":false},{"name":"nodejs","version":"16.10.0","date":"2021-09-22","lts":false,"security":false},{"name":"nodejs","version":"16.11.0","date":"2021-10-08","lts":false,"security":false},{"name":"nodejs","version":"16.12.0","date":"2021-10-20","lts":false,"security":false},{"name":"nodejs","version":"16.13.0","date":"2021-10-26","lts":"Gallium","security":false},{"name":"nodejs","version":"16.14.0","date":"2022-02-08","lts":"Gallium","security":false},{"name":"nodejs","version":"16.15.0","date":"2022-04-26","lts":"Gallium","security":false},{"name":"nodejs","version":"16.16.0","date":"2022-07-07","lts":"Gallium","security":true},{"name":"nodejs","version":"16.17.0","date":"2022-08-16","lts":"Gallium","security":false},{"name":"nodejs","version":"16.18.0","date":"2022-10-12","lts":"Gallium","security":false},{"name":"nodejs","version":"16.19.0","date":"2022-12-13","lts":"Gallium","security":false},{"name":"nodejs","version":"17.0.0","date":"2021-10-19","lts":false,"security":false},{"name":"nodejs","version":"17.1.0","date":"2021-11-09","lts":false,"security":false},{"name":"nodejs","version":"17.2.0","date":"2021-11-30","lts":false,"security":false},{"name":"nodejs","version":"17.3.0","date":"2021-12-17","lts":false,"security":false},{"name":"nodejs","version":"17.4.0","date":"2022-01-18","lts":false,"security":false},{"name":"nodejs","version":"17.5.0","date":"2022-02-10","lts":false,"security":false},{"name":"nodejs","version":"17.6.0","date":"2022-02-22","lts":false,"security":false},{"name":"nodejs","version":"17.7.0","date":"2022-03-09","lts":false,"security":false},{"name":"nodejs","version":"17.8.0","date":"2022-03-22","lts":false,"security":false},{"name":"nodejs","version":"17.9.0","date":"2022-04-07","lts":false,"security":false},{"name":"nodejs","version":"18.0.0","date":"2022-04-18","lts":false,"security":false},{"name":"nodejs","version":"18.1.0","date":"2022-05-03","lts":false,"security":false},{"name":"nodejs","version":"18.2.0","date":"2022-05-17","lts":false,"security":false},{"name":"nodejs","version":"18.3.0","date":"2022-06-02","lts":false,"security":false},{"name":"nodejs","version":"18.4.0","date":"2022-06-16","lts":false,"security":false},{"name":"nodejs","version":"18.5.0","date":"2022-07-06","lts":false,"security":true},{"name":"nodejs","version":"18.6.0","date":"2022-07-13","lts":false,"security":false},{"name":"nodejs","version":"18.7.0","date":"2022-07-26","lts":false,"security":false},{"name":"nodejs","version":"18.8.0","date":"2022-08-24","lts":false,"security":false},{"name":"nodejs","version":"18.9.0","date":"2022-09-07","lts":false,"security":false},{"name":"nodejs","version":"18.10.0","date":"2022-09-28","lts":false,"security":false},{"name":"nodejs","version":"18.11.0","date":"2022-10-13","lts":false,"security":false},{"name":"nodejs","version":"18.12.0","date":"2022-10-25","lts":"Hydrogen","security":false},{"name":"nodejs","version":"19.0.0","date":"2022-10-17","lts":false,"security":false},{"name":"nodejs","version":"19.1.0","date":"2022-11-14","lts":false,"security":false},{"name":"nodejs","version":"19.2.0","date":"2022-11-29","lts":false,"security":false},{"name":"nodejs","version":"19.3.0","date":"2022-12-14","lts":false,"security":false}] \ No newline at end of file +[{"name":"nodejs","version":"0.2.0","date":"2011-08-26","lts":false,"security":false,"v8":"2.3.8.0"},{"name":"nodejs","version":"0.3.0","date":"2011-08-26","lts":false,"security":false,"v8":"2.5.1.0"},{"name":"nodejs","version":"0.4.0","date":"2011-08-26","lts":false,"security":false,"v8":"3.1.2.0"},{"name":"nodejs","version":"0.5.0","date":"2011-08-26","lts":false,"security":false,"v8":"3.1.8.25"},{"name":"nodejs","version":"0.6.0","date":"2011-11-04","lts":false,"security":false,"v8":"3.6.6.6"},{"name":"nodejs","version":"0.7.0","date":"2012-01-17","lts":false,"security":false,"v8":"3.8.6.0"},{"name":"nodejs","version":"0.8.0","date":"2012-06-22","lts":false,"security":false,"v8":"3.11.10.10"},{"name":"nodejs","version":"0.9.0","date":"2012-07-20","lts":false,"security":false,"v8":"3.11.10.15"},{"name":"nodejs","version":"0.10.0","date":"2013-03-11","lts":false,"security":false,"v8":"3.14.5.8"},{"name":"nodejs","version":"0.11.0","date":"2013-03-28","lts":false,"security":false,"v8":"3.17.13.0"},{"name":"nodejs","version":"0.12.0","date":"2015-02-06","lts":false,"security":false,"v8":"3.28.73.0"},{"name":"nodejs","version":"4.0.0","date":"2015-09-08","lts":false,"security":false,"v8":"4.5.103.30"},{"name":"nodejs","version":"4.1.0","date":"2015-09-17","lts":false,"security":false,"v8":"4.5.103.33"},{"name":"nodejs","version":"4.2.0","date":"2015-10-12","lts":"Argon","security":false,"v8":"4.5.103.35"},{"name":"nodejs","version":"4.3.0","date":"2016-02-09","lts":"Argon","security":false,"v8":"4.5.103.35"},{"name":"nodejs","version":"4.4.0","date":"2016-03-08","lts":"Argon","security":false,"v8":"4.5.103.35"},{"name":"nodejs","version":"4.5.0","date":"2016-08-16","lts":"Argon","security":false,"v8":"4.5.103.37"},{"name":"nodejs","version":"4.6.0","date":"2016-09-27","lts":"Argon","security":true,"v8":"4.5.103.37"},{"name":"nodejs","version":"4.7.0","date":"2016-12-06","lts":"Argon","security":false,"v8":"4.5.103.43"},{"name":"nodejs","version":"4.8.0","date":"2017-02-21","lts":"Argon","security":false,"v8":"4.5.103.45"},{"name":"nodejs","version":"4.9.0","date":"2018-03-28","lts":"Argon","security":true,"v8":"4.5.103.53"},{"name":"nodejs","version":"5.0.0","date":"2015-10-29","lts":false,"security":false,"v8":"4.6.85.28"},{"name":"nodejs","version":"5.1.0","date":"2015-11-17","lts":false,"security":false,"v8":"4.6.85.31"},{"name":"nodejs","version":"5.2.0","date":"2015-12-09","lts":false,"security":false,"v8":"4.6.85.31"},{"name":"nodejs","version":"5.3.0","date":"2015-12-15","lts":false,"security":false,"v8":"4.6.85.31"},{"name":"nodejs","version":"5.4.0","date":"2016-01-06","lts":false,"security":false,"v8":"4.6.85.31"},{"name":"nodejs","version":"5.5.0","date":"2016-01-21","lts":false,"security":false,"v8":"4.6.85.31"},{"name":"nodejs","version":"5.6.0","date":"2016-02-09","lts":false,"security":false,"v8":"4.6.85.31"},{"name":"nodejs","version":"5.7.0","date":"2016-02-23","lts":false,"security":false,"v8":"4.6.85.31"},{"name":"nodejs","version":"5.8.0","date":"2016-03-09","lts":false,"security":false,"v8":"4.6.85.31"},{"name":"nodejs","version":"5.9.0","date":"2016-03-16","lts":false,"security":false,"v8":"4.6.85.31"},{"name":"nodejs","version":"5.10.0","date":"2016-04-01","lts":false,"security":false,"v8":"4.6.85.31"},{"name":"nodejs","version":"5.11.0","date":"2016-04-21","lts":false,"security":false,"v8":"4.6.85.31"},{"name":"nodejs","version":"5.12.0","date":"2016-06-23","lts":false,"security":false,"v8":"4.6.85.32"},{"name":"nodejs","version":"6.0.0","date":"2016-04-26","lts":false,"security":false,"v8":"5.0.71.35"},{"name":"nodejs","version":"6.1.0","date":"2016-05-05","lts":false,"security":false,"v8":"5.0.71.35"},{"name":"nodejs","version":"6.2.0","date":"2016-05-17","lts":false,"security":false,"v8":"5.0.71.47"},{"name":"nodejs","version":"6.3.0","date":"2016-07-06","lts":false,"security":false,"v8":"5.0.71.52"},{"name":"nodejs","version":"6.4.0","date":"2016-08-12","lts":false,"security":false,"v8":"5.0.71.60"},{"name":"nodejs","version":"6.5.0","date":"2016-08-26","lts":false,"security":false,"v8":"5.1.281.81"},{"name":"nodejs","version":"6.6.0","date":"2016-09-14","lts":false,"security":false,"v8":"5.1.281.83"},{"name":"nodejs","version":"6.7.0","date":"2016-09-27","lts":false,"security":true,"v8":"5.1.281.83"},{"name":"nodejs","version":"6.8.0","date":"2016-10-12","lts":false,"security":false,"v8":"5.1.281.84"},{"name":"nodejs","version":"6.9.0","date":"2016-10-18","lts":"Boron","security":false,"v8":"5.1.281.84"},{"name":"nodejs","version":"6.10.0","date":"2017-02-21","lts":"Boron","security":false,"v8":"5.1.281.93"},{"name":"nodejs","version":"6.11.0","date":"2017-06-06","lts":"Boron","security":false,"v8":"5.1.281.102"},{"name":"nodejs","version":"6.12.0","date":"2017-11-06","lts":"Boron","security":false,"v8":"5.1.281.108"},{"name":"nodejs","version":"6.13.0","date":"2018-02-10","lts":"Boron","security":false,"v8":"5.1.281.111"},{"name":"nodejs","version":"6.14.0","date":"2018-03-28","lts":"Boron","security":true,"v8":"5.1.281.111"},{"name":"nodejs","version":"6.15.0","date":"2018-11-27","lts":"Boron","security":true,"v8":"5.1.281.111"},{"name":"nodejs","version":"6.16.0","date":"2018-12-26","lts":"Boron","security":false,"v8":"5.1.281.111"},{"name":"nodejs","version":"6.17.0","date":"2019-02-28","lts":"Boron","security":true,"v8":"5.1.281.111"},{"name":"nodejs","version":"7.0.0","date":"2016-10-25","lts":false,"security":false,"v8":"5.4.500.36"},{"name":"nodejs","version":"7.1.0","date":"2016-11-08","lts":false,"security":false,"v8":"5.4.500.36"},{"name":"nodejs","version":"7.2.0","date":"2016-11-22","lts":false,"security":false,"v8":"5.4.500.43"},{"name":"nodejs","version":"7.3.0","date":"2016-12-20","lts":false,"security":false,"v8":"5.4.500.45"},{"name":"nodejs","version":"7.4.0","date":"2017-01-04","lts":false,"security":false,"v8":"5.4.500.45"},{"name":"nodejs","version":"7.5.0","date":"2017-01-31","lts":false,"security":false,"v8":"5.4.500.48"},{"name":"nodejs","version":"7.6.0","date":"2017-02-21","lts":false,"security":false,"v8":"5.5.372.40"},{"name":"nodejs","version":"7.7.0","date":"2017-02-28","lts":false,"security":false,"v8":"5.5.372.41"},{"name":"nodejs","version":"7.8.0","date":"2017-03-29","lts":false,"security":false,"v8":"5.5.372.43"},{"name":"nodejs","version":"7.9.0","date":"2017-04-11","lts":false,"security":false,"v8":"5.5.372.43"},{"name":"nodejs","version":"7.10.0","date":"2017-05-02","lts":false,"security":false,"v8":"5.5.372.43"},{"name":"nodejs","version":"8.0.0","date":"2017-05-30","lts":false,"security":false,"v8":"5.8.283.41"},{"name":"nodejs","version":"8.1.0","date":"2017-06-08","lts":false,"security":false,"v8":"5.8.283.41"},{"name":"nodejs","version":"8.2.0","date":"2017-07-19","lts":false,"security":false,"v8":"5.8.283.41"},{"name":"nodejs","version":"8.3.0","date":"2017-08-08","lts":false,"security":false,"v8":"6.0.286.52"},{"name":"nodejs","version":"8.4.0","date":"2017-08-15","lts":false,"security":false,"v8":"6.0.286.52"},{"name":"nodejs","version":"8.5.0","date":"2017-09-12","lts":false,"security":false,"v8":"6.0.287.53"},{"name":"nodejs","version":"8.6.0","date":"2017-09-26","lts":false,"security":false,"v8":"6.0.287.53"},{"name":"nodejs","version":"8.7.0","date":"2017-10-11","lts":false,"security":false,"v8":"6.1.534.42"},{"name":"nodejs","version":"8.8.0","date":"2017-10-24","lts":false,"security":false,"v8":"6.1.534.42"},{"name":"nodejs","version":"8.9.0","date":"2017-10-31","lts":"Carbon","security":false,"v8":"6.1.534.46"},{"name":"nodejs","version":"8.10.0","date":"2018-03-06","lts":"Carbon","security":false,"v8":"6.2.414.50"},{"name":"nodejs","version":"8.11.0","date":"2018-03-28","lts":"Carbon","security":true,"v8":"6.2.414.50"},{"name":"nodejs","version":"8.12.0","date":"2018-09-10","lts":"Carbon","security":false,"v8":"6.2.414.66"},{"name":"nodejs","version":"8.13.0","date":"2018-11-20","lts":"Carbon","security":false,"v8":"6.2.414.72"},{"name":"nodejs","version":"8.14.0","date":"2018-11-27","lts":"Carbon","security":true,"v8":"6.2.414.72"},{"name":"nodejs","version":"8.15.0","date":"2018-12-26","lts":"Carbon","security":false,"v8":"6.2.414.75"},{"name":"nodejs","version":"8.16.0","date":"2019-04-16","lts":"Carbon","security":false,"v8":"6.2.414.77"},{"name":"nodejs","version":"8.17.0","date":"2019-12-17","lts":"Carbon","security":true,"v8":"6.2.414.78"},{"name":"nodejs","version":"9.0.0","date":"2017-10-31","lts":false,"security":false,"v8":"6.2.414.32"},{"name":"nodejs","version":"9.1.0","date":"2017-11-07","lts":false,"security":false,"v8":"6.2.414.32"},{"name":"nodejs","version":"9.2.0","date":"2017-11-14","lts":false,"security":false,"v8":"6.2.414.44"},{"name":"nodejs","version":"9.3.0","date":"2017-12-12","lts":false,"security":false,"v8":"6.2.414.46"},{"name":"nodejs","version":"9.4.0","date":"2018-01-10","lts":false,"security":false,"v8":"6.2.414.46"},{"name":"nodejs","version":"9.5.0","date":"2018-01-31","lts":false,"security":false,"v8":"6.2.414.46"},{"name":"nodejs","version":"9.6.0","date":"2018-02-21","lts":false,"security":false,"v8":"6.2.414.46"},{"name":"nodejs","version":"9.7.0","date":"2018-03-01","lts":false,"security":false,"v8":"6.2.414.46"},{"name":"nodejs","version":"9.8.0","date":"2018-03-07","lts":false,"security":false,"v8":"6.2.414.46"},{"name":"nodejs","version":"9.9.0","date":"2018-03-21","lts":false,"security":false,"v8":"6.2.414.46"},{"name":"nodejs","version":"9.10.0","date":"2018-03-28","lts":false,"security":true,"v8":"6.2.414.46"},{"name":"nodejs","version":"9.11.0","date":"2018-04-04","lts":false,"security":false,"v8":"6.2.414.46"},{"name":"nodejs","version":"10.0.0","date":"2018-04-24","lts":false,"security":false,"v8":"6.6.346.24"},{"name":"nodejs","version":"10.1.0","date":"2018-05-08","lts":false,"security":false,"v8":"6.6.346.27"},{"name":"nodejs","version":"10.2.0","date":"2018-05-23","lts":false,"security":false,"v8":"6.6.346.32"},{"name":"nodejs","version":"10.3.0","date":"2018-05-29","lts":false,"security":false,"v8":"6.6.346.32"},{"name":"nodejs","version":"10.4.0","date":"2018-06-06","lts":false,"security":false,"v8":"6.7.288.43"},{"name":"nodejs","version":"10.5.0","date":"2018-06-20","lts":false,"security":false,"v8":"6.7.288.46"},{"name":"nodejs","version":"10.6.0","date":"2018-07-04","lts":false,"security":false,"v8":"6.7.288.46"},{"name":"nodejs","version":"10.7.0","date":"2018-07-18","lts":false,"security":false,"v8":"6.7.288.49"},{"name":"nodejs","version":"10.8.0","date":"2018-08-01","lts":false,"security":false,"v8":"6.7.288.49"},{"name":"nodejs","version":"10.9.0","date":"2018-08-15","lts":false,"security":false,"v8":"6.8.275.24"},{"name":"nodejs","version":"10.10.0","date":"2018-09-06","lts":false,"security":false,"v8":"6.8.275.30"},{"name":"nodejs","version":"10.11.0","date":"2018-09-19","lts":false,"security":false,"v8":"6.8.275.32"},{"name":"nodejs","version":"10.12.0","date":"2018-10-10","lts":false,"security":false,"v8":"6.8.275.32"},{"name":"nodejs","version":"10.13.0","date":"2018-10-30","lts":"Dubnium","security":false,"v8":"6.8.275.32"},{"name":"nodejs","version":"10.14.0","date":"2018-11-27","lts":"Dubnium","security":true,"v8":"6.8.275.32"},{"name":"nodejs","version":"10.15.0","date":"2018-12-26","lts":"Dubnium","security":false,"v8":"6.8.275.32"},{"name":"nodejs","version":"10.16.0","date":"2019-05-28","lts":"Dubnium","security":false,"v8":"6.8.275.32"},{"name":"nodejs","version":"10.17.0","date":"2019-10-22","lts":"Dubnium","security":false,"v8":"6.8.275.32"},{"name":"nodejs","version":"10.18.0","date":"2019-12-17","lts":"Dubnium","security":true,"v8":"6.8.275.32"},{"name":"nodejs","version":"10.19.0","date":"2020-02-05","lts":"Dubnium","security":true,"v8":"6.8.275.32"},{"name":"nodejs","version":"10.20.0","date":"2020-03-26","lts":"Dubnium","security":false,"v8":"6.8.275.32"},{"name":"nodejs","version":"10.21.0","date":"2020-06-02","lts":"Dubnium","security":true,"v8":"6.8.275.32"},{"name":"nodejs","version":"10.22.0","date":"2020-07-21","lts":"Dubnium","security":false,"v8":"6.8.275.32"},{"name":"nodejs","version":"10.23.0","date":"2020-10-27","lts":"Dubnium","security":false,"v8":"6.8.275.32"},{"name":"nodejs","version":"10.24.0","date":"2021-02-23","lts":"Dubnium","security":true,"v8":"6.8.275.32"},{"name":"nodejs","version":"11.0.0","date":"2018-10-23","lts":false,"security":false,"v8":"7.0.276.28"},{"name":"nodejs","version":"11.1.0","date":"2018-10-30","lts":false,"security":false,"v8":"7.0.276.32"},{"name":"nodejs","version":"11.2.0","date":"2018-11-15","lts":false,"security":false,"v8":"7.0.276.38"},{"name":"nodejs","version":"11.3.0","date":"2018-11-27","lts":false,"security":true,"v8":"7.0.276.38"},{"name":"nodejs","version":"11.4.0","date":"2018-12-07","lts":false,"security":false,"v8":"7.0.276.38"},{"name":"nodejs","version":"11.5.0","date":"2018-12-18","lts":false,"security":false,"v8":"7.0.276.38"},{"name":"nodejs","version":"11.6.0","date":"2018-12-26","lts":false,"security":false,"v8":"7.0.276.38"},{"name":"nodejs","version":"11.7.0","date":"2019-01-17","lts":false,"security":false,"v8":"7.0.276.38"},{"name":"nodejs","version":"11.8.0","date":"2019-01-24","lts":false,"security":false,"v8":"7.0.276.38"},{"name":"nodejs","version":"11.9.0","date":"2019-01-30","lts":false,"security":false,"v8":"7.0.276.38"},{"name":"nodejs","version":"11.10.0","date":"2019-02-14","lts":false,"security":false,"v8":"7.0.276.38"},{"name":"nodejs","version":"11.11.0","date":"2019-03-05","lts":false,"security":false,"v8":"7.0.276.38"},{"name":"nodejs","version":"11.12.0","date":"2019-03-14","lts":false,"security":false,"v8":"7.0.276.38"},{"name":"nodejs","version":"11.13.0","date":"2019-03-28","lts":false,"security":false,"v8":"7.0.276.38"},{"name":"nodejs","version":"11.14.0","date":"2019-04-10","lts":false,"security":false,"v8":"7.0.276.38"},{"name":"nodejs","version":"11.15.0","date":"2019-04-30","lts":false,"security":false,"v8":"7.0.276.38"},{"name":"nodejs","version":"12.0.0","date":"2019-04-23","lts":false,"security":false,"v8":"7.4.288.21"},{"name":"nodejs","version":"12.1.0","date":"2019-04-29","lts":false,"security":false,"v8":"7.4.288.21"},{"name":"nodejs","version":"12.2.0","date":"2019-05-07","lts":false,"security":false,"v8":"7.4.288.21"},{"name":"nodejs","version":"12.3.0","date":"2019-05-21","lts":false,"security":false,"v8":"7.4.288.27"},{"name":"nodejs","version":"12.4.0","date":"2019-06-04","lts":false,"security":false,"v8":"7.4.288.27"},{"name":"nodejs","version":"12.5.0","date":"2019-06-26","lts":false,"security":false,"v8":"7.5.288.22"},{"name":"nodejs","version":"12.6.0","date":"2019-07-03","lts":false,"security":false,"v8":"7.5.288.22"},{"name":"nodejs","version":"12.7.0","date":"2019-07-23","lts":false,"security":false,"v8":"7.5.288.22"},{"name":"nodejs","version":"12.8.0","date":"2019-08-06","lts":false,"security":false,"v8":"7.5.288.22"},{"name":"nodejs","version":"12.9.0","date":"2019-08-20","lts":false,"security":false,"v8":"7.6.303.29"},{"name":"nodejs","version":"12.10.0","date":"2019-09-04","lts":false,"security":false,"v8":"7.6.303.29"},{"name":"nodejs","version":"12.11.0","date":"2019-09-25","lts":false,"security":false,"v8":"7.7.299.11"},{"name":"nodejs","version":"12.12.0","date":"2019-10-11","lts":false,"security":false,"v8":"7.7.299.13"},{"name":"nodejs","version":"12.13.0","date":"2019-10-21","lts":"Erbium","security":false,"v8":"7.7.299.13"},{"name":"nodejs","version":"12.14.0","date":"2019-12-17","lts":"Erbium","security":true,"v8":"7.7.299.13"},{"name":"nodejs","version":"12.15.0","date":"2020-02-05","lts":"Erbium","security":true,"v8":"7.7.299.13"},{"name":"nodejs","version":"12.16.0","date":"2020-02-11","lts":"Erbium","security":false,"v8":"7.8.279.23"},{"name":"nodejs","version":"12.17.0","date":"2020-05-26","lts":"Erbium","security":false,"v8":"7.8.279.23"},{"name":"nodejs","version":"12.18.0","date":"2020-06-02","lts":"Erbium","security":true,"v8":"7.8.279.23"},{"name":"nodejs","version":"12.19.0","date":"2020-10-06","lts":"Erbium","security":false,"v8":"7.8.279.23"},{"name":"nodejs","version":"12.20.0","date":"2020-11-24","lts":"Erbium","security":false,"v8":"7.8.279.23"},{"name":"nodejs","version":"12.21.0","date":"2021-02-23","lts":"Erbium","security":true,"v8":"7.8.279.23"},{"name":"nodejs","version":"12.22.0","date":"2021-03-30","lts":"Erbium","security":false,"v8":"7.8.279.23"},{"name":"nodejs","version":"13.0.0","date":"2019-10-22","lts":false,"security":false,"v8":"7.8.279.17"},{"name":"nodejs","version":"13.1.0","date":"2019-11-05","lts":false,"security":false,"v8":"7.8.279.17"},{"name":"nodejs","version":"13.2.0","date":"2019-11-21","lts":false,"security":false,"v8":"7.9.317.23"},{"name":"nodejs","version":"13.3.0","date":"2019-12-03","lts":false,"security":false,"v8":"7.9.317.25"},{"name":"nodejs","version":"13.4.0","date":"2019-12-17","lts":false,"security":true,"v8":"7.9.317.25"},{"name":"nodejs","version":"13.5.0","date":"2019-12-18","lts":false,"security":false,"v8":"7.9.317.25"},{"name":"nodejs","version":"13.6.0","date":"2020-01-07","lts":false,"security":false,"v8":"7.9.317.25"},{"name":"nodejs","version":"13.7.0","date":"2020-01-21","lts":false,"security":false,"v8":"7.9.317.25"},{"name":"nodejs","version":"13.8.0","date":"2020-02-05","lts":false,"security":true,"v8":"7.9.317.25"},{"name":"nodejs","version":"13.9.0","date":"2020-02-18","lts":false,"security":false,"v8":"7.9.317.25"},{"name":"nodejs","version":"13.10.0","date":"2020-03-04","lts":false,"security":false,"v8":"7.9.317.25"},{"name":"nodejs","version":"13.11.0","date":"2020-03-12","lts":false,"security":false,"v8":"7.9.317.25"},{"name":"nodejs","version":"13.12.0","date":"2020-03-26","lts":false,"security":false,"v8":"7.9.317.25"},{"name":"nodejs","version":"13.13.0","date":"2020-04-14","lts":false,"security":false,"v8":"7.9.317.25"},{"name":"nodejs","version":"13.14.0","date":"2020-04-29","lts":false,"security":false,"v8":"7.9.317.25"},{"name":"nodejs","version":"14.0.0","date":"2020-04-21","lts":false,"security":false,"v8":"8.1.307.30"},{"name":"nodejs","version":"14.1.0","date":"2020-04-29","lts":false,"security":false,"v8":"8.1.307.31"},{"name":"nodejs","version":"14.2.0","date":"2020-05-05","lts":false,"security":false,"v8":"8.1.307.31"},{"name":"nodejs","version":"14.3.0","date":"2020-05-19","lts":false,"security":false,"v8":"8.1.307.31"},{"name":"nodejs","version":"14.4.0","date":"2020-06-02","lts":false,"security":true,"v8":"8.1.307.31"},{"name":"nodejs","version":"14.5.0","date":"2020-06-30","lts":false,"security":false,"v8":"8.3.110.9"},{"name":"nodejs","version":"14.6.0","date":"2020-07-20","lts":false,"security":false,"v8":"8.4.371.19"},{"name":"nodejs","version":"14.7.0","date":"2020-07-29","lts":false,"security":false,"v8":"8.4.371.19"},{"name":"nodejs","version":"14.8.0","date":"2020-08-11","lts":false,"security":false,"v8":"8.4.371.19"},{"name":"nodejs","version":"14.9.0","date":"2020-08-27","lts":false,"security":false,"v8":"8.4.371.19"},{"name":"nodejs","version":"14.10.0","date":"2020-09-08","lts":false,"security":false,"v8":"8.4.371.19"},{"name":"nodejs","version":"14.11.0","date":"2020-09-15","lts":false,"security":true,"v8":"8.4.371.19"},{"name":"nodejs","version":"14.12.0","date":"2020-09-22","lts":false,"security":false,"v8":"8.4.371.19"},{"name":"nodejs","version":"14.13.0","date":"2020-09-29","lts":false,"security":false,"v8":"8.4.371.19"},{"name":"nodejs","version":"14.14.0","date":"2020-10-15","lts":false,"security":false,"v8":"8.4.371.19"},{"name":"nodejs","version":"14.15.0","date":"2020-10-27","lts":"Fermium","security":false,"v8":"8.4.371.19"},{"name":"nodejs","version":"14.16.0","date":"2021-02-23","lts":"Fermium","security":true,"v8":"8.4.371.19"},{"name":"nodejs","version":"14.17.0","date":"2021-05-11","lts":"Fermium","security":false,"v8":"8.4.371.23"},{"name":"nodejs","version":"14.18.0","date":"2021-09-28","lts":"Fermium","security":false,"v8":"8.4.371.23"},{"name":"nodejs","version":"14.19.0","date":"2022-02-01","lts":"Fermium","security":false,"v8":"8.4.371.23"},{"name":"nodejs","version":"14.20.0","date":"2022-07-07","lts":"Fermium","security":true,"v8":"8.4.371.23"},{"name":"nodejs","version":"14.21.0","date":"2022-11-01","lts":"Fermium","security":false,"v8":"8.4.371.23"},{"name":"nodejs","version":"15.0.0","date":"2020-10-20","lts":false,"security":false,"v8":"8.6.395.16"},{"name":"nodejs","version":"15.1.0","date":"2020-11-04","lts":false,"security":false,"v8":"8.6.395.17"},{"name":"nodejs","version":"15.2.0","date":"2020-11-10","lts":false,"security":false,"v8":"8.6.395.17"},{"name":"nodejs","version":"15.3.0","date":"2020-11-24","lts":false,"security":false,"v8":"8.6.395.17"},{"name":"nodejs","version":"15.4.0","date":"2020-12-09","lts":false,"security":false,"v8":"8.6.395.17"},{"name":"nodejs","version":"15.5.0","date":"2020-12-22","lts":false,"security":false,"v8":"8.6.395.17"},{"name":"nodejs","version":"15.6.0","date":"2021-01-14","lts":false,"security":false,"v8":"8.6.395.17"},{"name":"nodejs","version":"15.7.0","date":"2021-01-25","lts":false,"security":false,"v8":"8.6.395.17"},{"name":"nodejs","version":"15.8.0","date":"2021-02-02","lts":false,"security":false,"v8":"8.6.395.17"},{"name":"nodejs","version":"15.9.0","date":"2021-02-18","lts":false,"security":false,"v8":"8.6.395.17"},{"name":"nodejs","version":"15.10.0","date":"2021-02-23","lts":false,"security":true,"v8":"8.6.395.17"},{"name":"nodejs","version":"15.11.0","date":"2021-03-03","lts":false,"security":false,"v8":"8.6.395.17"},{"name":"nodejs","version":"15.12.0","date":"2021-03-17","lts":false,"security":false,"v8":"8.6.395.17"},{"name":"nodejs","version":"15.13.0","date":"2021-03-31","lts":false,"security":false,"v8":"8.6.395.17"},{"name":"nodejs","version":"15.14.0","date":"2021-04-06","lts":false,"security":false,"v8":"8.6.395.17"},{"name":"nodejs","version":"16.0.0","date":"2021-04-20","lts":false,"security":false,"v8":"9.0.257.17"},{"name":"nodejs","version":"16.1.0","date":"2021-05-04","lts":false,"security":false,"v8":"9.0.257.24"},{"name":"nodejs","version":"16.2.0","date":"2021-05-19","lts":false,"security":false,"v8":"9.0.257.25"},{"name":"nodejs","version":"16.3.0","date":"2021-06-03","lts":false,"security":false,"v8":"9.0.257.25"},{"name":"nodejs","version":"16.4.0","date":"2021-06-23","lts":false,"security":false,"v8":"9.1.269.36"},{"name":"nodejs","version":"16.5.0","date":"2021-07-14","lts":false,"security":false,"v8":"9.1.269.38"},{"name":"nodejs","version":"16.6.0","date":"2021-07-29","lts":false,"security":true,"v8":"9.2.230.21"},{"name":"nodejs","version":"16.7.0","date":"2021-08-18","lts":false,"security":false,"v8":"9.2.230.21"},{"name":"nodejs","version":"16.8.0","date":"2021-08-25","lts":false,"security":false,"v8":"9.2.230.21"},{"name":"nodejs","version":"16.9.0","date":"2021-09-07","lts":false,"security":false,"v8":"9.3.345.16"},{"name":"nodejs","version":"16.10.0","date":"2021-09-22","lts":false,"security":false,"v8":"9.3.345.19"},{"name":"nodejs","version":"16.11.0","date":"2021-10-08","lts":false,"security":false,"v8":"9.4.146.19"},{"name":"nodejs","version":"16.12.0","date":"2021-10-20","lts":false,"security":false,"v8":"9.4.146.19"},{"name":"nodejs","version":"16.13.0","date":"2021-10-26","lts":"Gallium","security":false,"v8":"9.4.146.19"},{"name":"nodejs","version":"16.14.0","date":"2022-02-08","lts":"Gallium","security":false,"v8":"9.4.146.24"},{"name":"nodejs","version":"16.15.0","date":"2022-04-26","lts":"Gallium","security":false,"v8":"9.4.146.24"},{"name":"nodejs","version":"16.16.0","date":"2022-07-07","lts":"Gallium","security":true,"v8":"9.4.146.24"},{"name":"nodejs","version":"16.17.0","date":"2022-08-16","lts":"Gallium","security":false,"v8":"9.4.146.26"},{"name":"nodejs","version":"16.18.0","date":"2022-10-12","lts":"Gallium","security":false,"v8":"9.4.146.26"},{"name":"nodejs","version":"16.19.0","date":"2022-12-13","lts":"Gallium","security":false,"v8":"9.4.146.26"},{"name":"nodejs","version":"16.20.0","date":"2023-03-28","lts":"Gallium","security":false,"v8":"9.4.146.26"},{"name":"nodejs","version":"17.0.0","date":"2021-10-19","lts":false,"security":false,"v8":"9.5.172.21"},{"name":"nodejs","version":"17.1.0","date":"2021-11-09","lts":false,"security":false,"v8":"9.5.172.25"},{"name":"nodejs","version":"17.2.0","date":"2021-11-30","lts":false,"security":false,"v8":"9.6.180.14"},{"name":"nodejs","version":"17.3.0","date":"2021-12-17","lts":false,"security":false,"v8":"9.6.180.15"},{"name":"nodejs","version":"17.4.0","date":"2022-01-18","lts":false,"security":false,"v8":"9.6.180.15"},{"name":"nodejs","version":"17.5.0","date":"2022-02-10","lts":false,"security":false,"v8":"9.6.180.15"},{"name":"nodejs","version":"17.6.0","date":"2022-02-22","lts":false,"security":false,"v8":"9.6.180.15"},{"name":"nodejs","version":"17.7.0","date":"2022-03-09","lts":false,"security":false,"v8":"9.6.180.15"},{"name":"nodejs","version":"17.8.0","date":"2022-03-22","lts":false,"security":false,"v8":"9.6.180.15"},{"name":"nodejs","version":"17.9.0","date":"2022-04-07","lts":false,"security":false,"v8":"9.6.180.15"},{"name":"nodejs","version":"18.0.0","date":"2022-04-18","lts":false,"security":false,"v8":"10.1.124.8"},{"name":"nodejs","version":"18.1.0","date":"2022-05-03","lts":false,"security":false,"v8":"10.1.124.8"},{"name":"nodejs","version":"18.2.0","date":"2022-05-17","lts":false,"security":false,"v8":"10.1.124.8"},{"name":"nodejs","version":"18.3.0","date":"2022-06-02","lts":false,"security":false,"v8":"10.2.154.4"},{"name":"nodejs","version":"18.4.0","date":"2022-06-16","lts":false,"security":false,"v8":"10.2.154.4"},{"name":"nodejs","version":"18.5.0","date":"2022-07-06","lts":false,"security":true,"v8":"10.2.154.4"},{"name":"nodejs","version":"18.6.0","date":"2022-07-13","lts":false,"security":false,"v8":"10.2.154.13"},{"name":"nodejs","version":"18.7.0","date":"2022-07-26","lts":false,"security":false,"v8":"10.2.154.13"},{"name":"nodejs","version":"18.8.0","date":"2022-08-24","lts":false,"security":false,"v8":"10.2.154.13"},{"name":"nodejs","version":"18.9.0","date":"2022-09-07","lts":false,"security":false,"v8":"10.2.154.15"},{"name":"nodejs","version":"18.10.0","date":"2022-09-28","lts":false,"security":false,"v8":"10.2.154.15"},{"name":"nodejs","version":"18.11.0","date":"2022-10-13","lts":false,"security":false,"v8":"10.2.154.15"},{"name":"nodejs","version":"18.12.0","date":"2022-10-25","lts":"Hydrogen","security":false,"v8":"10.2.154.15"},{"name":"nodejs","version":"18.13.0","date":"2023-01-05","lts":"Hydrogen","security":false,"v8":"10.2.154.23"},{"name":"nodejs","version":"18.14.0","date":"2023-02-01","lts":"Hydrogen","security":false,"v8":"10.2.154.23"},{"name":"nodejs","version":"18.15.0","date":"2023-03-05","lts":"Hydrogen","security":false,"v8":"10.2.154.26"},{"name":"nodejs","version":"18.16.0","date":"2023-04-12","lts":"Hydrogen","security":false,"v8":"10.2.154.26"},{"name":"nodejs","version":"18.17.0","date":"2023-07-18","lts":"Hydrogen","security":false,"v8":"10.2.154.26"},{"name":"nodejs","version":"18.18.0","date":"2023-09-18","lts":"Hydrogen","security":false,"v8":"10.2.154.26"},{"name":"nodejs","version":"18.19.0","date":"2023-11-29","lts":"Hydrogen","security":false,"v8":"10.2.154.26"},{"name":"nodejs","version":"18.20.0","date":"2024-03-26","lts":"Hydrogen","security":false,"v8":"10.2.154.26"},{"name":"nodejs","version":"19.0.0","date":"2022-10-17","lts":false,"security":false,"v8":"10.7.193.13"},{"name":"nodejs","version":"19.1.0","date":"2022-11-14","lts":false,"security":false,"v8":"10.7.193.20"},{"name":"nodejs","version":"19.2.0","date":"2022-11-29","lts":false,"security":false,"v8":"10.8.168.20"},{"name":"nodejs","version":"19.3.0","date":"2022-12-14","lts":false,"security":false,"v8":"10.8.168.21"},{"name":"nodejs","version":"19.4.0","date":"2023-01-05","lts":false,"security":false,"v8":"10.8.168.25"},{"name":"nodejs","version":"19.5.0","date":"2023-01-24","lts":false,"security":false,"v8":"10.8.168.25"},{"name":"nodejs","version":"19.6.0","date":"2023-02-01","lts":false,"security":false,"v8":"10.8.168.25"},{"name":"nodejs","version":"19.7.0","date":"2023-02-21","lts":false,"security":false,"v8":"10.8.168.25"},{"name":"nodejs","version":"19.8.0","date":"2023-03-14","lts":false,"security":false,"v8":"10.8.168.25"},{"name":"nodejs","version":"19.9.0","date":"2023-04-10","lts":false,"security":false,"v8":"10.8.168.25"},{"name":"nodejs","version":"20.0.0","date":"2023-04-17","lts":false,"security":false,"v8":"11.3.244.4"},{"name":"nodejs","version":"20.1.0","date":"2023-05-03","lts":false,"security":false,"v8":"11.3.244.8"},{"name":"nodejs","version":"20.2.0","date":"2023-05-16","lts":false,"security":false,"v8":"11.3.244.8"},{"name":"nodejs","version":"20.3.0","date":"2023-06-08","lts":false,"security":false,"v8":"11.3.244.8"},{"name":"nodejs","version":"20.4.0","date":"2023-07-04","lts":false,"security":false,"v8":"11.3.244.8"},{"name":"nodejs","version":"20.5.0","date":"2023-07-19","lts":false,"security":false,"v8":"11.3.244.8"},{"name":"nodejs","version":"20.6.0","date":"2023-08-23","lts":false,"security":false,"v8":"11.3.244.8"},{"name":"nodejs","version":"20.7.0","date":"2023-09-18","lts":false,"security":false,"v8":"11.3.244.8"},{"name":"nodejs","version":"20.8.0","date":"2023-09-28","lts":false,"security":false,"v8":"11.3.244.8"},{"name":"nodejs","version":"20.9.0","date":"2023-10-24","lts":"Iron","security":false,"v8":"11.3.244.8"},{"name":"nodejs","version":"20.10.0","date":"2023-11-22","lts":"Iron","security":false,"v8":"11.3.244.8"},{"name":"nodejs","version":"20.11.0","date":"2024-01-09","lts":"Iron","security":false,"v8":"11.3.244.8"},{"name":"nodejs","version":"20.12.0","date":"2024-03-26","lts":"Iron","security":false,"v8":"11.3.244.8"},{"name":"nodejs","version":"20.13.0","date":"2024-05-07","lts":"Iron","security":false,"v8":"11.3.244.8"},{"name":"nodejs","version":"20.14.0","date":"2024-05-28","lts":"Iron","security":false,"v8":"11.3.244.8"},{"name":"nodejs","version":"20.15.0","date":"2024-06-20","lts":"Iron","security":false,"v8":"11.3.244.8"},{"name":"nodejs","version":"21.0.0","date":"2023-10-17","lts":false,"security":false,"v8":"11.8.172.13"},{"name":"nodejs","version":"21.1.0","date":"2023-10-24","lts":false,"security":false,"v8":"11.8.172.15"},{"name":"nodejs","version":"21.2.0","date":"2023-11-14","lts":false,"security":false,"v8":"11.8.172.17"},{"name":"nodejs","version":"21.3.0","date":"2023-11-30","lts":false,"security":false,"v8":"11.8.172.17"},{"name":"nodejs","version":"21.4.0","date":"2023-12-05","lts":false,"security":false,"v8":"11.8.172.17"},{"name":"nodejs","version":"21.5.0","date":"2023-12-19","lts":false,"security":false,"v8":"11.8.172.17"},{"name":"nodejs","version":"21.6.0","date":"2024-01-14","lts":false,"security":false,"v8":"11.8.172.17"},{"name":"nodejs","version":"21.7.0","date":"2024-03-06","lts":false,"security":false,"v8":"11.8.172.17"},{"name":"nodejs","version":"22.0.0","date":"2024-04-24","lts":false,"security":false,"v8":"12.4.254.14"},{"name":"nodejs","version":"22.1.0","date":"2024-05-02","lts":false,"security":false,"v8":"12.4.254.14"},{"name":"nodejs","version":"22.2.0","date":"2024-05-15","lts":false,"security":false,"v8":"12.4.254.14"},{"name":"nodejs","version":"22.3.0","date":"2024-06-11","lts":false,"security":false,"v8":"12.4.254.20"},{"name":"nodejs","version":"22.4.0","date":"2024-07-02","lts":false,"security":false,"v8":"12.4.254.21"},{"name":"nodejs","version":"22.5.0","date":"2024-07-17","lts":false,"security":false,"v8":"12.4.254.21"}] \ No newline at end of file diff --git a/node_modules/node-releases/data/release-schedule/release-schedule.json b/node_modules/node-releases/data/release-schedule/release-schedule.json index 5eca422e2a..633bd3c388 100644 --- a/node_modules/node-releases/data/release-schedule/release-schedule.json +++ b/node_modules/node-releases/data/release-schedule/release-schedule.json @@ -1 +1 @@ -{"v0.8":{"start":"2012-06-25","end":"2014-07-31"},"v0.10":{"start":"2013-03-11","end":"2016-10-31"},"v0.12":{"start":"2015-02-06","end":"2016-12-31"},"v4":{"start":"2015-09-08","lts":"2015-10-12","maintenance":"2017-04-01","end":"2018-04-30","codename":"Argon"},"v5":{"start":"2015-10-29","maintenance":"2016-04-30","end":"2016-06-30"},"v6":{"start":"2016-04-26","lts":"2016-10-18","maintenance":"2018-04-30","end":"2019-04-30","codename":"Boron"},"v7":{"start":"2016-10-25","maintenance":"2017-04-30","end":"2017-06-30"},"v8":{"start":"2017-05-30","lts":"2017-10-31","maintenance":"2019-01-01","end":"2019-12-31","codename":"Carbon"},"v9":{"start":"2017-10-01","maintenance":"2018-04-01","end":"2018-06-30"},"v10":{"start":"2018-04-24","lts":"2018-10-30","maintenance":"2020-05-19","end":"2021-04-30","codename":"Dubnium"},"v11":{"start":"2018-10-23","maintenance":"2019-04-22","end":"2019-06-01"},"v12":{"start":"2019-04-23","lts":"2019-10-21","maintenance":"2020-11-30","end":"2022-04-30","codename":"Erbium"},"v13":{"start":"2019-10-22","maintenance":"2020-04-01","end":"2020-06-01"},"v14":{"start":"2020-04-21","lts":"2020-10-27","maintenance":"2021-10-19","end":"2023-04-30","codename":"Fermium"},"v15":{"start":"2020-10-20","maintenance":"2021-04-01","end":"2021-06-01"},"v16":{"start":"2021-04-20","lts":"2021-10-26","maintenance":"2022-10-18","end":"2023-09-11","codename":"Gallium"},"v17":{"start":"2021-10-19","maintenance":"2022-04-01","end":"2022-06-01"},"v18":{"start":"2022-04-19","lts":"2022-10-25","maintenance":"2023-10-18","end":"2025-04-30","codename":"Hydrogen"},"v19":{"start":"2022-10-18","maintenance":"2023-04-01","end":"2023-06-01"},"v20":{"start":"2023-04-18","lts":"2023-10-24","maintenance":"2024-10-22","end":"2026-04-30","codename":""}} \ No newline at end of file +{"v0.8":{"start":"2012-06-25","end":"2014-07-31"},"v0.10":{"start":"2013-03-11","end":"2016-10-31"},"v0.12":{"start":"2015-02-06","end":"2016-12-31"},"v4":{"start":"2015-09-08","lts":"2015-10-12","maintenance":"2017-04-01","end":"2018-04-30","codename":"Argon"},"v5":{"start":"2015-10-29","maintenance":"2016-04-30","end":"2016-06-30"},"v6":{"start":"2016-04-26","lts":"2016-10-18","maintenance":"2018-04-30","end":"2019-04-30","codename":"Boron"},"v7":{"start":"2016-10-25","maintenance":"2017-04-30","end":"2017-06-30"},"v8":{"start":"2017-05-30","lts":"2017-10-31","maintenance":"2019-01-01","end":"2019-12-31","codename":"Carbon"},"v9":{"start":"2017-10-01","maintenance":"2018-04-01","end":"2018-06-30"},"v10":{"start":"2018-04-24","lts":"2018-10-30","maintenance":"2020-05-19","end":"2021-04-30","codename":"Dubnium"},"v11":{"start":"2018-10-23","maintenance":"2019-04-22","end":"2019-06-01"},"v12":{"start":"2019-04-23","lts":"2019-10-21","maintenance":"2020-11-30","end":"2022-04-30","codename":"Erbium"},"v13":{"start":"2019-10-22","maintenance":"2020-04-01","end":"2020-06-01"},"v14":{"start":"2020-04-21","lts":"2020-10-27","maintenance":"2021-10-19","end":"2023-04-30","codename":"Fermium"},"v15":{"start":"2020-10-20","maintenance":"2021-04-01","end":"2021-06-01"},"v16":{"start":"2021-04-20","lts":"2021-10-26","maintenance":"2022-10-18","end":"2023-09-11","codename":"Gallium"},"v17":{"start":"2021-10-19","maintenance":"2022-04-01","end":"2022-06-01"},"v18":{"start":"2022-04-19","lts":"2022-10-25","maintenance":"2023-10-18","end":"2025-04-30","codename":"Hydrogen"},"v19":{"start":"2022-10-18","maintenance":"2023-04-01","end":"2023-06-01"},"v20":{"start":"2023-04-18","lts":"2023-10-24","maintenance":"2024-10-22","end":"2026-04-30","codename":"Iron"},"v21":{"start":"2023-10-17","maintenance":"2024-04-01","end":"2024-06-01"},"v22":{"start":"2024-04-24","lts":"2024-10-29","maintenance":"2025-10-21","end":"2027-04-30","codename":""},"v23":{"start":"2024-10-15","maintenance":"2025-04-01","end":"2025-06-01"},"v24":{"start":"2025-04-22","lts":"2025-10-28","maintenance":"2026-10-20","end":"2028-04-30","codename":""}} \ No newline at end of file diff --git a/node_modules/node-releases/package.json b/node_modules/node-releases/package.json index 8c91ca802e..2d7d9b246b 100644 --- a/node_modules/node-releases/package.json +++ b/node_modules/node-releases/package.json @@ -1,11 +1,15 @@ { "name": "node-releases", - "version": "2.0.8", + "version": "2.0.18", "description": "Node.js releases data", + "type": "module", "scripts": { "build": "node scripts/build.js" }, - "repository": "chicoxyzzy/node-releases", + "repository": { + "type": "git", + "url": "git+https://github.com/chicoxyzzy/node-releases.git" + }, "keywords": [ "nodejs", "releases" diff --git a/node_modules/open/index.d.ts b/node_modules/open/index.d.ts deleted file mode 100644 index e62feaf8c8..0000000000 --- a/node_modules/open/index.d.ts +++ /dev/null @@ -1,157 +0,0 @@ -import {type ChildProcess} from 'node:child_process'; - -export type Options = { - /** - Wait for the opened app to exit before fulfilling the promise. If `false` it's fulfilled immediately when opening the app. - - Note that it waits for the app to exit, not just for the window to close. - - On Windows, you have to explicitly specify an app for it to be able to wait. - - @default false - */ - readonly wait?: boolean; - - /** - __macOS only__ - - Do not bring the app to the foreground. - - @default false - */ - readonly background?: boolean; - - /** - __macOS only__ - - Open a new instance of the app even it's already running. - - A new instance is always opened on other platforms. - - @default false - */ - readonly newInstance?: boolean; - - /** - Specify the `name` of the app to open the `target` with, and optionally, app `arguments`. `app` can be an array of apps to try to open and `name` can be an array of app names to try. If each app fails, the last error will be thrown. - - The app name is platform dependent. Don't hard code it in reusable modules. For example, Chrome is `google chrome` on macOS, `google-chrome` on Linux and `chrome` on Windows. If possible, use `apps` which auto-detects the correct binary to use. - - You may also pass in the app's full path. For example on WSL, this can be `/mnt/c/Program Files (x86)/Google/Chrome/Application/chrome.exe` for the Windows installation of Chrome. - - The app `arguments` are app dependent. Check the app's documentation for what arguments it accepts. - */ - readonly app?: App | readonly App[]; - - /** - Allow the opened app to exit with nonzero exit code when the `wait` option is `true`. - - We do not recommend setting this option. The convention for success is exit code zero. - - @default false - */ - readonly allowNonzeroExitCode?: boolean; -}; - -export type OpenAppOptions = { - /** - Arguments passed to the app. - - These arguments are app dependent. Check the app's documentation for what arguments it accepts. - */ - readonly arguments?: readonly string[]; -} & Omit; - -export type AppName = - | 'chrome' - | 'firefox' - | 'edge' - | 'browser' - | 'browserPrivate'; - -export type App = { - name: string | readonly string[]; - arguments?: readonly string[]; -}; - -/** -An object containing auto-detected binary names for common apps. Useful to work around cross-platform differences. - -@example -``` -import open, {apps} from 'open'; - -await open('https://google.com', { - app: { - name: apps.chrome - } -}); -``` -*/ -export const apps: Record; - -/** -Open stuff like URLs, files, executables. Cross-platform. - -Uses the command `open` on macOS, `start` on Windows and `xdg-open` on other platforms. - -There is a caveat for [double-quotes on Windows](https://github.com/sindresorhus/open#double-quotes-on-windows) where all double-quotes are stripped from the `target`. - -@param target - The thing you want to open. Can be a URL, file, or executable. Opens in the default app for the file type. For example, URLs open in your default browser. -@returns The [spawned child process](https://nodejs.org/api/child_process.html#child_process_class_childprocess). You would normally not need to use this for anything, but it can be useful if you'd like to attach custom event listeners or perform other operations directly on the spawned process. - -@example -``` -import open, {apps} from 'open'; - -// Opens the image in the default image viewer. -await open('unicorn.png', {wait: true}); -console.log('The image viewer app quit'); - -// Opens the URL in the default browser. -await open('https://sindresorhus.com'); - -// Opens the URL in a specified browser. -await open('https://sindresorhus.com', {app: {name: 'firefox'}}); - -// Specify app arguments. -await open('https://sindresorhus.com', {app: {name: 'google chrome', arguments: ['--incognito']}}); - -// Opens the URL in the default browser in incognito mode. -await open('https://sindresorhus.com', {app: {name: apps.browserPrivate}}); -``` -*/ -export default function open( - target: string, - options?: Options -): Promise; - -/** -Open an app. Cross-platform. - -Uses the command `open` on macOS, `start` on Windows and `xdg-open` on other platforms. - -@param name - The app you want to open. Can be either builtin supported `apps` names or other name supported in platform. -@returns The [spawned child process](https://nodejs.org/api/child_process.html#child_process_class_childprocess). You would normally not need to use this for anything, but it can be useful if you'd like to attach custom event listeners or perform other operations directly on the spawned process. - -@example -``` -import open, {openApp, apps} from 'open'; - -// Open Firefox. -await openApp(apps.firefox); - -// Open Chrome in incognito mode. -await openApp(apps.chrome, {arguments: ['--incognito']}); - -// Open default browser. -await openApp(apps.browser); - -// Open default browser in incognito mode. -await openApp(apps.browserPrivate); - -// Open Xcode. -await openApp('xcode'); -``` -*/ -export function openApp(name: App['name'], options?: OpenAppOptions): Promise; diff --git a/node_modules/open/index.js b/node_modules/open/index.js deleted file mode 100644 index c79501ee5b..0000000000 --- a/node_modules/open/index.js +++ /dev/null @@ -1,361 +0,0 @@ -import process from 'node:process'; -import {Buffer} from 'node:buffer'; -import path from 'node:path'; -import {fileURLToPath} from 'node:url'; -import childProcess from 'node:child_process'; -import fs from 'node:fs/promises'; -import {constants as fsConstants} from 'node:fs'; // TODO: Move this to the above import when targeting Node.js 18. -import isWsl from 'is-wsl'; -import defineLazyProperty from 'define-lazy-prop'; -import defaultBrowser from 'default-browser'; -import isInsideContainer from 'is-inside-container'; - -// Path to included `xdg-open`. -const __dirname = path.dirname(fileURLToPath(import.meta.url)); -const localXdgOpenPath = path.join(__dirname, 'xdg-open'); - -const {platform, arch} = process; - -/** -Get the mount point for fixed drives in WSL. - -@inner -@returns {string} The mount point. -*/ -const getWslDrivesMountPoint = (() => { - // Default value for "root" param - // according to https://docs.microsoft.com/en-us/windows/wsl/wsl-config - const defaultMountPoint = '/mnt/'; - - let mountPoint; - - return async function () { - if (mountPoint) { - // Return memoized mount point value - return mountPoint; - } - - const configFilePath = '/etc/wsl.conf'; - - let isConfigFileExists = false; - try { - await fs.access(configFilePath, fsConstants.F_OK); - isConfigFileExists = true; - } catch {} - - if (!isConfigFileExists) { - return defaultMountPoint; - } - - const configContent = await fs.readFile(configFilePath, {encoding: 'utf8'}); - const configMountPoint = /(?.*)/g.exec(configContent); - - if (!configMountPoint) { - return defaultMountPoint; - } - - mountPoint = configMountPoint.groups.mountPoint.trim(); - mountPoint = mountPoint.endsWith('/') ? mountPoint : `${mountPoint}/`; - - return mountPoint; - }; -})(); - -const pTryEach = async (array, mapper) => { - let latestError; - - for (const item of array) { - try { - return await mapper(item); // eslint-disable-line no-await-in-loop - } catch (error) { - latestError = error; - } - } - - throw latestError; -}; - -const baseOpen = async options => { - options = { - wait: false, - background: false, - newInstance: false, - allowNonzeroExitCode: false, - ...options, - }; - - if (Array.isArray(options.app)) { - return pTryEach(options.app, singleApp => baseOpen({ - ...options, - app: singleApp, - })); - } - - let {name: app, arguments: appArguments = []} = options.app ?? {}; - appArguments = [...appArguments]; - - if (Array.isArray(app)) { - return pTryEach(app, appName => baseOpen({ - ...options, - app: { - name: appName, - arguments: appArguments, - }, - })); - } - - if (app === 'browser' || app === 'browserPrivate') { - // IDs from default-browser for macOS and windows are the same - const ids = { - 'com.google.chrome': 'chrome', - 'google-chrome.desktop': 'chrome', - 'org.mozilla.firefox': 'firefox', - 'firefox.desktop': 'firefox', - 'com.microsoft.msedge': 'edge', - 'com.microsoft.edge': 'edge', - 'microsoft-edge.desktop': 'edge', - }; - - // Incognito flags for each browser in `apps`. - const flags = { - chrome: '--incognito', - firefox: '--private-window', - edge: '--inPrivate', - }; - - const browser = await defaultBrowser(); - if (browser.id in ids) { - const browserName = ids[browser.id]; - - if (app === 'browserPrivate') { - appArguments.push(flags[browserName]); - } - - return baseOpen({ - ...options, - app: { - name: apps[browserName], - arguments: appArguments, - }, - }); - } - - throw new Error(`${browser.name} is not supported as a default browser`); - } - - let command; - const cliArguments = []; - const childProcessOptions = {}; - - if (platform === 'darwin') { - command = 'open'; - - if (options.wait) { - cliArguments.push('--wait-apps'); - } - - if (options.background) { - cliArguments.push('--background'); - } - - if (options.newInstance) { - cliArguments.push('--new'); - } - - if (app) { - cliArguments.push('-a', app); - } - } else if (platform === 'win32' || (isWsl && !isInsideContainer() && !app)) { - const mountPoint = await getWslDrivesMountPoint(); - - command = isWsl - ? `${mountPoint}c/Windows/System32/WindowsPowerShell/v1.0/powershell.exe` - : `${process.env.SYSTEMROOT}\\System32\\WindowsPowerShell\\v1.0\\powershell`; - - cliArguments.push( - '-NoProfile', - '-NonInteractive', - '-ExecutionPolicy', - 'Bypass', - '-EncodedCommand', - ); - - if (!isWsl) { - childProcessOptions.windowsVerbatimArguments = true; - } - - const encodedArguments = ['Start']; - - if (options.wait) { - encodedArguments.push('-Wait'); - } - - if (app) { - // Double quote with double quotes to ensure the inner quotes are passed through. - // Inner quotes are delimited for PowerShell interpretation with backticks. - encodedArguments.push(`"\`"${app}\`""`); - if (options.target) { - appArguments.push(options.target); - } - } else if (options.target) { - encodedArguments.push(`"${options.target}"`); - } - - if (appArguments.length > 0) { - appArguments = appArguments.map(arg => `"\`"${arg}\`""`); - encodedArguments.push('-ArgumentList', appArguments.join(',')); - } - - // Using Base64-encoded command, accepted by PowerShell, to allow special characters. - options.target = Buffer.from(encodedArguments.join(' '), 'utf16le').toString('base64'); - } else { - if (app) { - command = app; - } else { - // When bundled by Webpack, there's no actual package file path and no local `xdg-open`. - const isBundled = !__dirname || __dirname === '/'; - - // Check if local `xdg-open` exists and is executable. - let exeLocalXdgOpen = false; - try { - await fs.access(localXdgOpenPath, fsConstants.X_OK); - exeLocalXdgOpen = true; - } catch {} - - const useSystemXdgOpen = process.versions.electron - ?? (platform === 'android' || isBundled || !exeLocalXdgOpen); - command = useSystemXdgOpen ? 'xdg-open' : localXdgOpenPath; - } - - if (appArguments.length > 0) { - cliArguments.push(...appArguments); - } - - if (!options.wait) { - // `xdg-open` will block the process unless stdio is ignored - // and it's detached from the parent even if it's unref'd. - childProcessOptions.stdio = 'ignore'; - childProcessOptions.detached = true; - } - } - - if (options.target) { - cliArguments.push(options.target); - } - - if (platform === 'darwin' && appArguments.length > 0) { - cliArguments.push('--args', ...appArguments); - } - - const subprocess = childProcess.spawn(command, cliArguments, childProcessOptions); - - if (options.wait) { - return new Promise((resolve, reject) => { - subprocess.once('error', reject); - - subprocess.once('close', exitCode => { - if (!options.allowNonzeroExitCode && exitCode > 0) { - reject(new Error(`Exited with code ${exitCode}`)); - return; - } - - resolve(subprocess); - }); - }); - } - - subprocess.unref(); - - return subprocess; -}; - -const open = (target, options) => { - if (typeof target !== 'string') { - throw new TypeError('Expected a `target`'); - } - - return baseOpen({ - ...options, - target, - }); -}; - -export const openApp = (name, options) => { - if (typeof name !== 'string') { - throw new TypeError('Expected a `name`'); - } - - const {arguments: appArguments = []} = options ?? {}; - if (appArguments !== undefined && appArguments !== null && !Array.isArray(appArguments)) { - throw new TypeError('Expected `appArguments` as Array type'); - } - - return baseOpen({ - ...options, - app: { - name, - arguments: appArguments, - }, - }); -}; - -function detectArchBinary(binary) { - if (typeof binary === 'string' || Array.isArray(binary)) { - return binary; - } - - const {[arch]: archBinary} = binary; - - if (!archBinary) { - throw new Error(`${arch} is not supported`); - } - - return archBinary; -} - -function detectPlatformBinary({[platform]: platformBinary}, {wsl}) { - if (wsl && isWsl) { - return detectArchBinary(wsl); - } - - if (!platformBinary) { - throw new Error(`${platform} is not supported`); - } - - return detectArchBinary(platformBinary); -} - -export const apps = {}; - -defineLazyProperty(apps, 'chrome', () => detectPlatformBinary({ - darwin: 'google chrome', - win32: 'chrome', - linux: ['google-chrome', 'google-chrome-stable', 'chromium'], -}, { - wsl: { - ia32: '/mnt/c/Program Files (x86)/Google/Chrome/Application/chrome.exe', - x64: ['/mnt/c/Program Files/Google/Chrome/Application/chrome.exe', '/mnt/c/Program Files (x86)/Google/Chrome/Application/chrome.exe'], - }, -})); - -defineLazyProperty(apps, 'firefox', () => detectPlatformBinary({ - darwin: 'firefox', - win32: 'C:\\Program Files\\Mozilla Firefox\\firefox.exe', - linux: 'firefox', -}, { - wsl: '/mnt/c/Program Files/Mozilla Firefox/firefox.exe', -})); - -defineLazyProperty(apps, 'edge', () => detectPlatformBinary({ - darwin: 'microsoft edge', - win32: 'msedge', - linux: ['microsoft-edge', 'microsoft-edge-dev'], -}, { - wsl: '/mnt/c/Program Files (x86)/Microsoft/Edge/Application/msedge.exe', -})); - -defineLazyProperty(apps, 'browser', () => 'browser'); - -defineLazyProperty(apps, 'browserPrivate', () => 'browserPrivate'); - -export default open; diff --git a/node_modules/open/license b/node_modules/open/license deleted file mode 100644 index fa7ceba3eb..0000000000 --- a/node_modules/open/license +++ /dev/null @@ -1,9 +0,0 @@ -MIT License - -Copyright (c) Sindre Sorhus (https://sindresorhus.com) - -Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/node_modules/open/package.json b/node_modules/open/package.json deleted file mode 100644 index 1b92b2500e..0000000000 --- a/node_modules/open/package.json +++ /dev/null @@ -1,67 +0,0 @@ -{ - "name": "open", - "version": "9.1.0", - "description": "Open stuff like URLs, files, executables. Cross-platform.", - "license": "MIT", - "repository": "sindresorhus/open", - "funding": "https://github.com/sponsors/sindresorhus", - "author": { - "name": "Sindre Sorhus", - "email": "sindresorhus@gmail.com", - "url": "https://sindresorhus.com" - }, - "type": "module", - "exports": { - "types": "./index.d.ts", - "default": "./index.js" - }, - "engines": { - "node": ">=14.16" - }, - "scripts": { - "test": "xo && tsd" - }, - "files": [ - "index.js", - "index.d.ts", - "xdg-open" - ], - "keywords": [ - "app", - "open", - "opener", - "opens", - "launch", - "start", - "xdg-open", - "xdg", - "default", - "cmd", - "browser", - "editor", - "executable", - "exe", - "url", - "urls", - "arguments", - "args", - "spawn", - "exec", - "child", - "process", - "website", - "file" - ], - "dependencies": { - "default-browser": "^4.0.0", - "define-lazy-prop": "^3.0.0", - "is-inside-container": "^1.0.0", - "is-wsl": "^2.2.0" - }, - "devDependencies": { - "@types/node": "^18.15.10", - "ava": "^5.2.0", - "tsd": "^0.28.0", - "xo": "^0.53.1" - } -} diff --git a/node_modules/open/readme.md b/node_modules/open/readme.md deleted file mode 100644 index 610e3a41db..0000000000 --- a/node_modules/open/readme.md +++ /dev/null @@ -1,182 +0,0 @@ -# open - -> Open stuff like URLs, files, executables. Cross-platform. - -This is meant to be used in command-line tools and scripts, not in the browser. - -If you need this for Electron, use [`shell.openPath()`](https://www.electronjs.org/docs/api/shell#shellopenpathpath) instead. - -This package does not make any security guarantees. If you pass in untrusted input, it's up to you to properly sanitize it. - -#### Why? - -- Actively maintained. -- Supports app arguments. -- Safer as it uses `spawn` instead of `exec`. -- Fixes most of the original `node-open` issues. -- Includes the latest [`xdg-open` script](https://gitlab.freedesktop.org/xdg/xdg-utils/-/blob/master/scripts/xdg-open.in) for Linux. -- Supports WSL paths to Windows apps. - -## Install - -```sh -npm install open -``` - -**Warning:** This package is native [ESM](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Modules) and no longer provides a CommonJS export. If your project uses CommonJS, you will have to [convert to ESM](https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c) or use the [dynamic `import()`](https://v8.dev/features/dynamic-import) function. Please don't open issues for questions regarding CommonJS / ESM. - -## Usage - -```js -import open, {openApp, apps} from 'open'; - -// Opens the image in the default image viewer and waits for the opened app to quit. -await open('unicorn.png', {wait: true}); -console.log('The image viewer app quit'); - -// Opens the URL in the default browser. -await open('https://sindresorhus.com'); - -// Opens the URL in a specified browser. -await open('https://sindresorhus.com', {app: {name: 'firefox'}}); - -// Specify app arguments. -await open('https://sindresorhus.com', {app: {name: 'google chrome', arguments: ['--incognito']}}); - -// Opens the URL in the default browser in incognito mode. -await open('https://sindresorhus.com', {app: {name: apps.browserPrivate}}); - -// Open an app. -await openApp('xcode'); - -// Open an app with arguments. -await openApp(apps.chrome, {arguments: ['--incognito']}); -``` - -## API - -It uses the command `open` on macOS, `start` on Windows and `xdg-open` on other platforms. - -### open(target, options?) - -Returns a promise for the [spawned child process](https://nodejs.org/api/child_process.html#child_process_class_childprocess). You would normally not need to use this for anything, but it can be useful if you'd like to attach custom event listeners or perform other operations directly on the spawned process. - -#### target - -Type: `string` - -The thing you want to open. Can be a URL, file, or executable. - -Opens in the default app for the file type. For example, URLs opens in your default browser. - -#### options - -Type: `object` - -##### wait - -Type: `boolean`\ -Default: `false` - -Wait for the opened app to exit before fulfilling the promise. If `false` it's fulfilled immediately when opening the app. - -Note that it waits for the app to exit, not just for the window to close. - -On Windows, you have to explicitly specify an app for it to be able to wait. - -##### background (macOS only) - -Type: `boolean`\ -Default: `false` - -Do not bring the app to the foreground. - -##### newInstance (macOS only) - -Type: `boolean`\ -Default: `false` - -Open a new instance of the app even it's already running. - -A new instance is always opened on other platforms. - -##### app - -Type: `{name: string | string[], arguments?: string[]} | Array<{name: string | string[], arguments: string[]}>` - -Specify the `name` of the app to open the `target` with, and optionally, app `arguments`. `app` can be an array of apps to try to open and `name` can be an array of app names to try. If each app fails, the last error will be thrown. - -The app name is platform dependent. Don't hard code it in reusable modules. For example, Chrome is `google chrome` on macOS, `google-chrome` on Linux and `chrome` on Windows. If possible, use [`apps`](#apps) which auto-detects the correct binary to use. - -You may also pass in the app's full path. For example on WSL, this can be `/mnt/c/Program Files (x86)/Google/Chrome/Application/chrome.exe` for the Windows installation of Chrome. - -The app `arguments` are app dependent. Check the app's documentation for what arguments it accepts. - -##### allowNonzeroExitCode - -Type: `boolean`\ -Default: `false` - -Allow the opened app to exit with nonzero exit code when the `wait` option is `true`. - -We do not recommend setting this option. The convention for success is exit code zero. - -### openApp(name, options?) - -Open an app. - -Returns a promise for the [spawned child process](https://nodejs.org/api/child_process.html#child_process_class_childprocess). You would normally not need to use this for anything, but it can be useful if you'd like to attach custom event listeners or perform other operations directly on the spawned process. - -#### name - -Type: `string` - -The app name is platform dependent. Don't hard code it in reusable modules. For example, Chrome is `google chrome` on macOS, `google-chrome` on Linux and `chrome` on Windows. If possible, use [`apps`](#apps) which auto-detects the correct binary to use. - -You may also pass in the app's full path. For example on WSL, this can be `/mnt/c/Program Files (x86)/Google/Chrome/Application/chrome.exe` for the Windows installation of Chrome. - -#### options - -Type: `object` - -Same options as [`open`](#options) except `app` and with the following additions: - -##### arguments - -Type: `string[]`\ -Default: `[]` - -Arguments passed to the app. - -These arguments are app dependent. Check the app's documentation for what arguments it accepts. - -### apps - -An object containing auto-detected binary names for common apps. Useful to work around [cross-platform differences](#app). - -```js -import open, {apps} from 'open'; - -await open('https://google.com', { - app: { - name: apps.chrome - } -}); -``` - -`browser` and `browserPrivate` can also be used to access the user's default browser through [`default-browser`](https://github.com/sindresorhus/default-browser). - -#### Supported apps - -- [`chrome`](https://www.google.com/chrome) - Web browser -- [`firefox`](https://www.mozilla.org/firefox) - Web browser -- [`edge`](https://www.microsoft.com/edge) - Web browser -- `browser` - Default web browser -- `browserPrivate` - Default web browser in incognito mode - -`browser` and `browserPrivate` only supports `chrome`, `firefox`, and `edge`. - -## Related - -- [open-cli](https://github.com/sindresorhus/open-cli) - CLI for this module -- [open-editor](https://github.com/sindresorhus/open-editor) - Open files in your editor at a specific line and column diff --git a/node_modules/open/xdg-open b/node_modules/open/xdg-open deleted file mode 100755 index b392fbff41..0000000000 --- a/node_modules/open/xdg-open +++ /dev/null @@ -1,1066 +0,0 @@ -#!/bin/sh -#--------------------------------------------- -# xdg-open -# -# Utility script to open a URL in the registered default application. -# -# Refer to the usage() function below for usage. -# -# Copyright 2009-2010, Fathi Boudra -# Copyright 2009-2010, Rex Dieter -# Copyright 2006, Kevin Krammer -# Copyright 2006, Jeremy White -# -# LICENSE: -# -# Permission is hereby granted, free of charge, to any person obtaining a -# copy of this software and associated documentation files (the "Software"), -# to deal in the Software without restriction, including without limitation -# the rights to use, copy, modify, merge, publish, distribute, sublicense, -# and/or sell copies of the Software, and to permit persons to whom the -# Software is furnished to do so, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included -# in all copies or substantial portions of the Software. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS -# OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL -# THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR -# OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, -# ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR -# OTHER DEALINGS IN THE SOFTWARE. -# -#--------------------------------------------- - -manualpage() -{ -cat << _MANUALPAGE -Name - - xdg-open -- opens a file or URL in the user's preferred - application - -Synopsis - - xdg-open { file | URL } - - xdg-open { --help | --manual | --version } - -Description - - xdg-open opens a file or URL in the user's preferred - application. If a URL is provided the URL will be opened in the - user's preferred web browser. If a file is provided the file - will be opened in the preferred application for files of that - type. xdg-open supports file, ftp, http and https URLs. - - xdg-open is for use inside a desktop session only. It is not - recommended to use xdg-open as root. - -Options - - --help - Show command synopsis. - - --manual - Show this manual page. - - --version - Show the xdg-utils version information. - -Exit Codes - - An exit code of 0 indicates success while a non-zero exit code - indicates failure. The following failure codes can be returned: - - 1 - Error in command line syntax. - - 2 - One of the files passed on the command line did not - exist. - - 3 - A required tool could not be found. - - 4 - The action failed. - -See Also - - xdg-mime(1), xdg-settings(1), MIME applications associations - specification - -Examples - -xdg-open 'http://www.freedesktop.org/' - - Opens the freedesktop.org website in the user's default - browser. - -xdg-open /tmp/foobar.png - - Opens the PNG image file /tmp/foobar.png in the user's default - image viewing application. -_MANUALPAGE -} - -usage() -{ -cat << _USAGE - xdg-open -- opens a file or URL in the user's preferred - application - -Synopsis - - xdg-open { file | URL } - - xdg-open { --help | --manual | --version } - -_USAGE -} - -#@xdg-utils-common@ - -#---------------------------------------------------------------------------- -# Common utility functions included in all XDG wrapper scripts -#---------------------------------------------------------------------------- - -DEBUG() -{ - [ -z "${XDG_UTILS_DEBUG_LEVEL}" ] && return 0; - [ ${XDG_UTILS_DEBUG_LEVEL} -lt $1 ] && return 0; - shift - echo "$@" >&2 -} - -# This handles backslashes but not quote marks. -first_word() -{ - read first rest - echo "$first" -} - -#------------------------------------------------------------- -# map a binary to a .desktop file -binary_to_desktop_file() -{ - search="${XDG_DATA_HOME:-$HOME/.local/share}:${XDG_DATA_DIRS:-/usr/local/share:/usr/share}" - binary="`which "$1"`" - binary="`readlink -f "$binary"`" - base="`basename "$binary"`" - IFS=: - for dir in $search; do - unset IFS - [ "$dir" ] || continue - [ -d "$dir/applications" ] || [ -d "$dir/applnk" ] || continue - for file in "$dir"/applications/*.desktop "$dir"/applications/*/*.desktop "$dir"/applnk/*.desktop "$dir"/applnk/*/*.desktop; do - [ -r "$file" ] || continue - # Check to make sure it's worth the processing. - grep -q "^Exec.*$base" "$file" || continue - # Make sure it's a visible desktop file (e.g. not "preferred-web-browser.desktop"). - grep -Eq "^(NoDisplay|Hidden)=true" "$file" && continue - command="`grep -E "^Exec(\[[^]=]*])?=" "$file" | cut -d= -f 2- | first_word`" - command="`which "$command"`" - if [ x"`readlink -f "$command"`" = x"$binary" ]; then - # Fix any double slashes that got added path composition - echo "$file" | sed -e 's,//*,/,g' - return - fi - done - done -} - -#------------------------------------------------------------- -# map a .desktop file to a binary -desktop_file_to_binary() -{ - search="${XDG_DATA_HOME:-$HOME/.local/share}:${XDG_DATA_DIRS:-/usr/local/share:/usr/share}" - desktop="`basename "$1"`" - IFS=: - for dir in $search; do - unset IFS - [ "$dir" ] && [ -d "$dir/applications" ] || [ -d "$dir/applnk" ] || continue - # Check if desktop file contains - - if [ "${desktop#*-}" != "$desktop" ]; then - vendor=${desktop%-*} - app=${desktop#*-} - if [ -r $dir/applications/$vendor/$app ]; then - file_path=$dir/applications/$vendor/$app - elif [ -r $dir/applnk/$vendor/$app ]; then - file_path=$dir/applnk/$vendor/$app - fi - fi - if test -z "$file_path" ; then - for indir in "$dir"/applications/ "$dir"/applications/*/ "$dir"/applnk/ "$dir"/applnk/*/; do - file="$indir/$desktop" - if [ -r "$file" ]; then - file_path=$file - break - fi - done - fi - if [ -r "$file_path" ]; then - # Remove any arguments (%F, %f, %U, %u, etc.). - command="`grep -E "^Exec(\[[^]=]*])?=" "$file_path" | cut -d= -f 2- | first_word`" - command="`which "$command"`" - readlink -f "$command" - return - fi - done -} - -#------------------------------------------------------------- -# Exit script on successfully completing the desired operation - -exit_success() -{ - if [ $# -gt 0 ]; then - echo "$@" - echo - fi - - exit 0 -} - - -#----------------------------------------- -# Exit script on malformed arguments, not enough arguments -# or missing required option. -# prints usage information - -exit_failure_syntax() -{ - if [ $# -gt 0 ]; then - echo "xdg-open: $@" >&2 - echo "Try 'xdg-open --help' for more information." >&2 - else - usage - echo "Use 'man xdg-open' or 'xdg-open --manual' for additional info." - fi - - exit 1 -} - -#------------------------------------------------------------- -# Exit script on missing file specified on command line - -exit_failure_file_missing() -{ - if [ $# -gt 0 ]; then - echo "xdg-open: $@" >&2 - fi - - exit 2 -} - -#------------------------------------------------------------- -# Exit script on failure to locate necessary tool applications - -exit_failure_operation_impossible() -{ - if [ $# -gt 0 ]; then - echo "xdg-open: $@" >&2 - fi - - exit 3 -} - -#------------------------------------------------------------- -# Exit script on failure returned by a tool application - -exit_failure_operation_failed() -{ - if [ $# -gt 0 ]; then - echo "xdg-open: $@" >&2 - fi - - exit 4 -} - -#------------------------------------------------------------ -# Exit script on insufficient permission to read a specified file - -exit_failure_file_permission_read() -{ - if [ $# -gt 0 ]; then - echo "xdg-open: $@" >&2 - fi - - exit 5 -} - -#------------------------------------------------------------ -# Exit script on insufficient permission to write a specified file - -exit_failure_file_permission_write() -{ - if [ $# -gt 0 ]; then - echo "xdg-open: $@" >&2 - fi - - exit 6 -} - -check_input_file() -{ - if [ ! -e "$1" ]; then - exit_failure_file_missing "file '$1' does not exist" - fi - if [ ! -r "$1" ]; then - exit_failure_file_permission_read "no permission to read file '$1'" - fi -} - -check_vendor_prefix() -{ - file_label="$2" - [ -n "$file_label" ] || file_label="filename" - file=`basename "$1"` - case "$file" in - [[:alpha:]]*-*) - return - ;; - esac - - echo "xdg-open: $file_label '$file' does not have a proper vendor prefix" >&2 - echo 'A vendor prefix consists of alpha characters ([a-zA-Z]) and is terminated' >&2 - echo 'with a dash ("-"). An example '"$file_label"' is '"'example-$file'" >&2 - echo "Use --novendor to override or 'xdg-open --manual' for additional info." >&2 - exit 1 -} - -check_output_file() -{ - # if the file exists, check if it is writeable - # if it does not exists, check if we are allowed to write on the directory - if [ -e "$1" ]; then - if [ ! -w "$1" ]; then - exit_failure_file_permission_write "no permission to write to file '$1'" - fi - else - DIR=`dirname "$1"` - if [ ! -w "$DIR" ] || [ ! -x "$DIR" ]; then - exit_failure_file_permission_write "no permission to create file '$1'" - fi - fi -} - -#---------------------------------------- -# Checks for shared commands, e.g. --help - -check_common_commands() -{ - while [ $# -gt 0 ] ; do - parm="$1" - shift - - case "$parm" in - --help) - usage - echo "Use 'man xdg-open' or 'xdg-open --manual' for additional info." - exit_success - ;; - - --manual) - manualpage - exit_success - ;; - - --version) - echo "xdg-open 1.1.3" - exit_success - ;; - esac - done -} - -check_common_commands "$@" - -[ -z "${XDG_UTILS_DEBUG_LEVEL}" ] && unset XDG_UTILS_DEBUG_LEVEL; -if [ ${XDG_UTILS_DEBUG_LEVEL-0} -lt 1 ]; then - # Be silent - xdg_redirect_output=" > /dev/null 2> /dev/null" -else - # All output to stderr - xdg_redirect_output=" >&2" -fi - -#-------------------------------------- -# Checks for known desktop environments -# set variable DE to the desktop environments name, lowercase - -detectDE() -{ - # see https://bugs.freedesktop.org/show_bug.cgi?id=34164 - unset GREP_OPTIONS - - if [ -n "${XDG_CURRENT_DESKTOP}" ]; then - case "${XDG_CURRENT_DESKTOP}" in - # only recently added to menu-spec, pre-spec X- still in use - Cinnamon|X-Cinnamon) - DE=cinnamon; - ;; - ENLIGHTENMENT) - DE=enlightenment; - ;; - # GNOME, GNOME-Classic:GNOME, or GNOME-Flashback:GNOME - GNOME*) - DE=gnome; - ;; - KDE) - DE=kde; - ;; - # Deepin Desktop Environments - DEEPIN|Deepin|deepin) - DE=dde; - ;; - LXDE) - DE=lxde; - ;; - LXQt) - DE=lxqt; - ;; - MATE) - DE=mate; - ;; - XFCE) - DE=xfce - ;; - X-Generic) - DE=generic - ;; - esac - fi - - if [ x"$DE" = x"" ]; then - # classic fallbacks - if [ x"$KDE_FULL_SESSION" != x"" ]; then DE=kde; - elif [ x"$GNOME_DESKTOP_SESSION_ID" != x"" ]; then DE=gnome; - elif [ x"$MATE_DESKTOP_SESSION_ID" != x"" ]; then DE=mate; - elif `dbus-send --print-reply --dest=org.freedesktop.DBus /org/freedesktop/DBus org.freedesktop.DBus.GetNameOwner string:org.gnome.SessionManager > /dev/null 2>&1` ; then DE=gnome; - elif xprop -root _DT_SAVE_MODE 2> /dev/null | grep ' = \"xfce4\"$' >/dev/null 2>&1; then DE=xfce; - elif xprop -root 2> /dev/null | grep -i '^xfce_desktop_window' >/dev/null 2>&1; then DE=xfce - elif echo $DESKTOP | grep -q '^Enlightenment'; then DE=enlightenment; - elif [ x"$LXQT_SESSION_CONFIG" != x"" ]; then DE=lxqt; - fi - fi - - if [ x"$DE" = x"" ]; then - # fallback to checking $DESKTOP_SESSION - case "$DESKTOP_SESSION" in - gnome) - DE=gnome; - ;; - LXDE|Lubuntu) - DE=lxde; - ;; - MATE) - DE=mate; - ;; - xfce|xfce4|'Xfce Session') - DE=xfce; - ;; - esac - fi - - if [ x"$DE" = x"" ]; then - # fallback to uname output for other platforms - case "$(uname 2>/dev/null)" in - CYGWIN*) - DE=cygwin; - ;; - Darwin) - DE=darwin; - ;; - esac - fi - - if [ x"$DE" = x"gnome" ]; then - # gnome-default-applications-properties is only available in GNOME 2.x - # but not in GNOME 3.x - which gnome-default-applications-properties > /dev/null 2>&1 || DE="gnome3" - fi - - if [ -f "$XDG_RUNTIME_DIR/flatpak-info" ]; then - DE="flatpak" - fi -} - -#---------------------------------------------------------------------------- -# kfmclient exec/openURL can give bogus exit value in KDE <= 3.5.4 -# It also always returns 1 in KDE 3.4 and earlier -# Simply return 0 in such case - -kfmclient_fix_exit_code() -{ - version=`LC_ALL=C.UTF-8 kde-config --version 2>/dev/null | grep '^KDE'` - major=`echo $version | sed 's/KDE.*: \([0-9]\).*/\1/'` - minor=`echo $version | sed 's/KDE.*: [0-9]*\.\([0-9]\).*/\1/'` - release=`echo $version | sed 's/KDE.*: [0-9]*\.[0-9]*\.\([0-9]\).*/\1/'` - test "$major" -gt 3 && return $1 - test "$minor" -gt 5 && return $1 - test "$release" -gt 4 && return $1 - return 0 -} - -#---------------------------------------------------------------------------- -# Returns true if there is a graphical display attached. - -has_display() -{ - if [ -n "$DISPLAY" ] || [ -n "$WAYLAND_DISPLAY" ]; then - return 0 - else - return 1 - fi -} - -# This handles backslashes but not quote marks. -last_word() -{ - read first rest - echo "$rest" -} - -# Get the value of a key in a desktop file's Desktop Entry group. -# Example: Use get_key foo.desktop Exec -# to get the values of the Exec= key for the Desktop Entry group. -get_key() -{ - local file="${1}" - local key="${2}" - local desktop_entry="" - - IFS_="${IFS}" - IFS="" - while read line - do - case "$line" in - "[Desktop Entry]") - desktop_entry="y" - ;; - # Reset match flag for other groups - "["*) - desktop_entry="" - ;; - "${key}="*) - # Only match Desktop Entry group - if [ -n "${desktop_entry}" ] - then - echo "${line}" | cut -d= -f 2- - fi - esac - done < "${file}" - IFS="${IFS_}" -} - -# Returns true if argument is a file:// URL or path -is_file_url_or_path() -{ - if echo "$1" | grep -q '^file://' \ - || ! echo "$1" | egrep -q '^[[:alpha:]+\.\-]+:'; then - return 0 - else - return 1 - fi -} - -# If argument is a file URL, convert it to a (percent-decoded) path. -# If not, leave it as it is. -file_url_to_path() -{ - local file="$1" - if echo "$file" | grep -q '^file:///'; then - file=${file#file://} - file=${file%%#*} - file=$(echo "$file" | sed -r 's/\?.*$//') - local printf=printf - if [ -x /usr/bin/printf ]; then - printf=/usr/bin/printf - fi - file=$($printf "$(echo "$file" | sed -e 's@%\([a-f0-9A-F]\{2\}\)@\\x\1@g')") - fi - echo "$file" -} - -open_cygwin() -{ - cygstart "$1" - - if [ $? -eq 0 ]; then - exit_success - else - exit_failure_operation_failed - fi -} - -open_darwin() -{ - open "$1" - - if [ $? -eq 0 ]; then - exit_success - else - exit_failure_operation_failed - fi -} - -open_kde() -{ - if [ -n "${KDE_SESSION_VERSION}" ]; then - case "${KDE_SESSION_VERSION}" in - 4) - kde-open "$1" - ;; - 5) - kde-open${KDE_SESSION_VERSION} "$1" - ;; - esac - else - kfmclient exec "$1" - kfmclient_fix_exit_code $? - fi - - if [ $? -eq 0 ]; then - exit_success - else - exit_failure_operation_failed - fi -} - -open_dde() -{ - if dde-open -version >/dev/null 2>&1; then - dde-open "$1" - else - open_generic "$1" - fi - - if [ $? -eq 0 ]; then - exit_success - else - exit_failure_operation_failed - fi -} - -open_gnome3() -{ - if gio help open 2>/dev/null 1>&2; then - gio open "$1" - elif gvfs-open --help 2>/dev/null 1>&2; then - gvfs-open "$1" - else - open_generic "$1" - fi - - if [ $? -eq 0 ]; then - exit_success - else - exit_failure_operation_failed - fi -} - -open_gnome() -{ - if gio help open 2>/dev/null 1>&2; then - gio open "$1" - elif gvfs-open --help 2>/dev/null 1>&2; then - gvfs-open "$1" - elif gnome-open --help 2>/dev/null 1>&2; then - gnome-open "$1" - else - open_generic "$1" - fi - - if [ $? -eq 0 ]; then - exit_success - else - exit_failure_operation_failed - fi -} - -open_mate() -{ - if gio help open 2>/dev/null 1>&2; then - gio open "$1" - elif gvfs-open --help 2>/dev/null 1>&2; then - gvfs-open "$1" - elif mate-open --help 2>/dev/null 1>&2; then - mate-open "$1" - else - open_generic "$1" - fi - - if [ $? -eq 0 ]; then - exit_success - else - exit_failure_operation_failed - fi -} - -open_xfce() -{ - if exo-open --help 2>/dev/null 1>&2; then - exo-open "$1" - elif gio help open 2>/dev/null 1>&2; then - gio open "$1" - elif gvfs-open --help 2>/dev/null 1>&2; then - gvfs-open "$1" - else - open_generic "$1" - fi - - if [ $? -eq 0 ]; then - exit_success - else - exit_failure_operation_failed - fi -} - -open_enlightenment() -{ - if enlightenment_open --help 2>/dev/null 1>&2; then - enlightenment_open "$1" - else - open_generic "$1" - fi - - if [ $? -eq 0 ]; then - exit_success - else - exit_failure_operation_failed - fi -} - -open_flatpak() -{ - gdbus call --session \ - --dest org.freedesktop.portal.Desktop \ - --object-path /org/freedesktop/portal/desktop \ - --method org.freedesktop.portal.OpenURI.OpenURI \ - "" "$1" {} - - if [ $? -eq 0 ]; then - exit_success - else - exit_failure_operation_failed - fi -} - -#----------------------------------------- -# Recursively search .desktop file - -search_desktop_file() -{ - local default="$1" - local dir="$2" - local target="$3" - - local file="" - # look for both vendor-app.desktop, vendor/app.desktop - if [ -r "$dir/$default" ]; then - file="$dir/$default" - elif [ -r "$dir/`echo $default | sed -e 's|-|/|'`" ]; then - file="$dir/`echo $default | sed -e 's|-|/|'`" - fi - - if [ -r "$file" ] ; then - command="$(get_key "${file}" "Exec" | first_word)" - command_exec=`which $command 2>/dev/null` - icon="$(get_key "${file}" "Icon")" - # FIXME: Actually LC_MESSAGES should be used as described in - # http://standards.freedesktop.org/desktop-entry-spec/latest/ar01s04.html - localised_name="$(get_key "${file}" "Name")" - set -- $(get_key "${file}" "Exec" | last_word) - # We need to replace any occurrence of "%f", "%F" and - # the like by the target file. We examine each - # argument and append the modified argument to the - # end then shift. - local args=$# - local replaced=0 - while [ $args -gt 0 ]; do - case $1 in - %[c]) - replaced=1 - arg="${localised_name}" - shift - set -- "$@" "$arg" - ;; - %[fFuU]) - replaced=1 - arg="$target" - shift - set -- "$@" "$arg" - ;; - %[i]) - replaced=1 - shift - set -- "$@" "--icon" "$icon" - ;; - *) - arg="$1" - shift - set -- "$@" "$arg" - ;; - esac - args=$(( $args - 1 )) - done - [ $replaced -eq 1 ] || set -- "$@" "$target" - "$command_exec" "$@" - - if [ $? -eq 0 ]; then - exit_success - fi - fi - - for d in $dir/*/; do - [ -d "$d" ] && search_desktop_file "$default" "$d" "$target" - done -} - - -open_generic_xdg_mime() -{ - filetype="$2" - default=`xdg-mime query default "$filetype"` - if [ -n "$default" ] ; then - xdg_user_dir="$XDG_DATA_HOME" - [ -n "$xdg_user_dir" ] || xdg_user_dir="$HOME/.local/share" - - xdg_system_dirs="$XDG_DATA_DIRS" - [ -n "$xdg_system_dirs" ] || xdg_system_dirs=/usr/local/share/:/usr/share/ - -DEBUG 3 "$xdg_user_dir:$xdg_system_dirs" - for x in `echo "$xdg_user_dir:$xdg_system_dirs" | sed 's/:/ /g'`; do - search_desktop_file "$default" "$x/applications/" "$1" - done - fi -} - -open_generic_xdg_file_mime() -{ - filetype=`xdg-mime query filetype "$1" | sed "s/;.*//"` - open_generic_xdg_mime "$1" "$filetype" -} - -open_generic_xdg_x_scheme_handler() -{ - scheme="`echo $1 | sed -n 's/\(^[[:alnum:]+\.-]*\):.*$/\1/p'`" - if [ -n $scheme ]; then - filetype="x-scheme-handler/$scheme" - open_generic_xdg_mime "$1" "$filetype" - fi -} - -has_single_argument() -{ - test $# = 1 -} - -open_envvar() -{ - local oldifs="$IFS" - local browser browser_with_arg - - IFS=":" - for browser in $BROWSER; do - IFS="$oldifs" - - if [ -z "$browser" ]; then - continue - fi - - if echo "$browser" | grep -q %s; then - # Avoid argument injection. - # See https://bugs.freedesktop.org/show_bug.cgi?id=103807 - # URIs don't have IFS characters spaces anyway. - has_single_argument $1 && $(printf "$browser" "$1") - else - $browser "$1" - fi - - if [ $? -eq 0 ]; then - exit_success - fi - done -} - -open_generic() -{ - if is_file_url_or_path "$1"; then - local file="$(file_url_to_path "$1")" - - check_input_file "$file" - - if has_display; then - filetype=`xdg-mime query filetype "$file" | sed "s/;.*//"` - open_generic_xdg_mime "$file" "$filetype" - fi - - if which run-mailcap 2>/dev/null 1>&2; then - run-mailcap --action=view "$file" - if [ $? -eq 0 ]; then - exit_success - fi - fi - - if has_display && mimeopen -v 2>/dev/null 1>&2; then - mimeopen -L -n "$file" - if [ $? -eq 0 ]; then - exit_success - fi - fi - fi - - if has_display; then - open_generic_xdg_x_scheme_handler "$1" - fi - - if [ -n "$BROWSER" ]; then - open_envvar "$1" - fi - - # if BROWSER variable is not set, check some well known browsers instead - if [ x"$BROWSER" = x"" ]; then - BROWSER=www-browser:links2:elinks:links:lynx:w3m - if has_display; then - BROWSER=x-www-browser:firefox:iceweasel:seamonkey:mozilla:epiphany:konqueror:chromium:chromium-browser:google-chrome:microsoft-edge:$BROWSER - fi - fi - - open_envvar "$1" - - exit_failure_operation_impossible "no method available for opening '$1'" -} - -open_lxde() -{ - - # pcmanfm only knows how to handle file:// urls and filepaths, it seems. - if pcmanfm --help >/dev/null 2>&1 && is_file_url_or_path "$1"; then - local file="$(file_url_to_path "$1")" - - # handle relative paths - if ! echo "$file" | grep -q ^/; then - file="$(pwd)/$file" - fi - - pcmanfm "$file" - else - open_generic "$1" - fi - - if [ $? -eq 0 ]; then - exit_success - else - exit_failure_operation_failed - fi -} - -open_lxqt() -{ - open_generic "$1" -} - -[ x"$1" != x"" ] || exit_failure_syntax - -url= -while [ $# -gt 0 ] ; do - parm="$1" - shift - - case "$parm" in - -*) - exit_failure_syntax "unexpected option '$parm'" - ;; - - *) - if [ -n "$url" ] ; then - exit_failure_syntax "unexpected argument '$parm'" - fi - url="$parm" - ;; - esac -done - -if [ -z "${url}" ] ; then - exit_failure_syntax "file or URL argument missing" -fi - -detectDE - -if [ x"$DE" = x"" ]; then - DE=generic -fi - -DEBUG 2 "Selected DE $DE" - -# sanitize BROWSER (avoid caling ourselves in particular) -case "${BROWSER}" in - *:"xdg-open"|"xdg-open":*) - BROWSER=$(echo $BROWSER | sed -e 's|:xdg-open||g' -e 's|xdg-open:||g') - ;; - "xdg-open") - BROWSER= - ;; -esac - -case "$DE" in - kde) - open_kde "$url" - ;; - - dde) - open_dde "$url" - ;; - - gnome3|cinnamon) - open_gnome3 "$url" - ;; - - gnome) - open_gnome "$url" - ;; - - mate) - open_mate "$url" - ;; - - xfce) - open_xfce "$url" - ;; - - lxde) - open_lxde "$url" - ;; - - lxqt) - open_lxqt "$url" - ;; - - enlightenment) - open_enlightenment "$url" - ;; - - cygwin) - open_cygwin "$url" - ;; - - darwin) - open_darwin "$url" - ;; - - flatpak) - open_flatpak "$url" - ;; - - generic) - open_generic "$url" - ;; - - *) - exit_failure_operation_impossible "no method available for opening '$url'" - ;; -esac diff --git a/node_modules/picocolors/LICENSE b/node_modules/picocolors/LICENSE index 496098c6e8..46c9b95d4b 100644 --- a/node_modules/picocolors/LICENSE +++ b/node_modules/picocolors/LICENSE @@ -1,6 +1,6 @@ ISC License -Copyright (c) 2021 Alexey Raspopov, Kostiantyn Denysov, Anton Verinov +Copyright (c) 2021-2024 Oleksii Raspopov, Kostiantyn Denysov, Anton Verinov Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby granted, provided that the above diff --git a/node_modules/picocolors/package.json b/node_modules/picocolors/package.json index 85a12d5234..372d4b642c 100644 --- a/node_modules/picocolors/package.json +++ b/node_modules/picocolors/package.json @@ -1,6 +1,6 @@ { "name": "picocolors", - "version": "1.0.0", + "version": "1.1.1", "main": "./picocolors.js", "types": "./picocolors.d.ts", "browser": { @@ -10,7 +10,7 @@ "description": "The tiniest and the fastest library for terminal output formatting with ANSI colors", "files": [ "picocolors.*", - "types.ts" + "types.d.ts" ], "keywords": [ "terminal", diff --git a/node_modules/picocolors/picocolors.browser.js b/node_modules/picocolors/picocolors.browser.js index 5eb9fbe8b5..9dcf637cda 100644 --- a/node_modules/picocolors/picocolors.browser.js +++ b/node_modules/picocolors/picocolors.browser.js @@ -1,4 +1,4 @@ var x=String; -var create=function() {return {isColorSupported:false,reset:x,bold:x,dim:x,italic:x,underline:x,inverse:x,hidden:x,strikethrough:x,black:x,red:x,green:x,yellow:x,blue:x,magenta:x,cyan:x,white:x,gray:x,bgBlack:x,bgRed:x,bgGreen:x,bgYellow:x,bgBlue:x,bgMagenta:x,bgCyan:x,bgWhite:x}}; +var create=function() {return {isColorSupported:false,reset:x,bold:x,dim:x,italic:x,underline:x,inverse:x,hidden:x,strikethrough:x,black:x,red:x,green:x,yellow:x,blue:x,magenta:x,cyan:x,white:x,gray:x,bgBlack:x,bgRed:x,bgGreen:x,bgYellow:x,bgBlue:x,bgMagenta:x,bgCyan:x,bgWhite:x,blackBright:x,redBright:x,greenBright:x,yellowBright:x,blueBright:x,magentaBright:x,cyanBright:x,whiteBright:x,bgBlackBright:x,bgRedBright:x,bgGreenBright:x,bgYellowBright:x,bgBlueBright:x,bgMagentaBright:x,bgCyanBright:x,bgWhiteBright:x}}; module.exports=create(); module.exports.createColors = create; diff --git a/node_modules/picocolors/picocolors.js b/node_modules/picocolors/picocolors.js index fdb630451d..e32df85488 100644 --- a/node_modules/picocolors/picocolors.js +++ b/node_modules/picocolors/picocolors.js @@ -1,58 +1,75 @@ -let tty = require("tty") - +let p = process || {}, argv = p.argv || [], env = p.env || {} let isColorSupported = - !("NO_COLOR" in process.env || process.argv.includes("--no-color")) && - ("FORCE_COLOR" in process.env || - process.argv.includes("--color") || - process.platform === "win32" || - (tty.isatty(1) && process.env.TERM !== "dumb") || - "CI" in process.env) - -let formatter = - (open, close, replace = open) => + !(!!env.NO_COLOR || argv.includes("--no-color")) && + (!!env.FORCE_COLOR || argv.includes("--color") || p.platform === "win32" || ((p.stdout || {}).isTTY && env.TERM !== "dumb") || !!env.CI) + +let formatter = (open, close, replace = open) => input => { - let string = "" + input - let index = string.indexOf(close, open.length) - return ~index - ? open + replaceClose(string, close, replace, index) + close - : open + string + close + let string = "" + input, index = string.indexOf(close, open.length) + return ~index ? open + replaceClose(string, close, replace, index) + close : open + string + close } let replaceClose = (string, close, replace, index) => { - let start = string.substring(0, index) + replace - let end = string.substring(index + close.length) - let nextIndex = end.indexOf(close) - return ~nextIndex ? start + replaceClose(end, close, replace, nextIndex) : start + end + let result = "", cursor = 0 + do { + result += string.substring(cursor, index) + replace + cursor = index + close.length + index = string.indexOf(close, cursor) + } while (~index) + return result + string.substring(cursor) } -let createColors = (enabled = isColorSupported) => ({ - isColorSupported: enabled, - reset: enabled ? s => `\x1b[0m${s}\x1b[0m` : String, - bold: enabled ? formatter("\x1b[1m", "\x1b[22m", "\x1b[22m\x1b[1m") : String, - dim: enabled ? formatter("\x1b[2m", "\x1b[22m", "\x1b[22m\x1b[2m") : String, - italic: enabled ? formatter("\x1b[3m", "\x1b[23m") : String, - underline: enabled ? formatter("\x1b[4m", "\x1b[24m") : String, - inverse: enabled ? formatter("\x1b[7m", "\x1b[27m") : String, - hidden: enabled ? formatter("\x1b[8m", "\x1b[28m") : String, - strikethrough: enabled ? formatter("\x1b[9m", "\x1b[29m") : String, - black: enabled ? formatter("\x1b[30m", "\x1b[39m") : String, - red: enabled ? formatter("\x1b[31m", "\x1b[39m") : String, - green: enabled ? formatter("\x1b[32m", "\x1b[39m") : String, - yellow: enabled ? formatter("\x1b[33m", "\x1b[39m") : String, - blue: enabled ? formatter("\x1b[34m", "\x1b[39m") : String, - magenta: enabled ? formatter("\x1b[35m", "\x1b[39m") : String, - cyan: enabled ? formatter("\x1b[36m", "\x1b[39m") : String, - white: enabled ? formatter("\x1b[37m", "\x1b[39m") : String, - gray: enabled ? formatter("\x1b[90m", "\x1b[39m") : String, - bgBlack: enabled ? formatter("\x1b[40m", "\x1b[49m") : String, - bgRed: enabled ? formatter("\x1b[41m", "\x1b[49m") : String, - bgGreen: enabled ? formatter("\x1b[42m", "\x1b[49m") : String, - bgYellow: enabled ? formatter("\x1b[43m", "\x1b[49m") : String, - bgBlue: enabled ? formatter("\x1b[44m", "\x1b[49m") : String, - bgMagenta: enabled ? formatter("\x1b[45m", "\x1b[49m") : String, - bgCyan: enabled ? formatter("\x1b[46m", "\x1b[49m") : String, - bgWhite: enabled ? formatter("\x1b[47m", "\x1b[49m") : String, -}) +let createColors = (enabled = isColorSupported) => { + let f = enabled ? formatter : () => String + return { + isColorSupported: enabled, + reset: f("\x1b[0m", "\x1b[0m"), + bold: f("\x1b[1m", "\x1b[22m", "\x1b[22m\x1b[1m"), + dim: f("\x1b[2m", "\x1b[22m", "\x1b[22m\x1b[2m"), + italic: f("\x1b[3m", "\x1b[23m"), + underline: f("\x1b[4m", "\x1b[24m"), + inverse: f("\x1b[7m", "\x1b[27m"), + hidden: f("\x1b[8m", "\x1b[28m"), + strikethrough: f("\x1b[9m", "\x1b[29m"), + + black: f("\x1b[30m", "\x1b[39m"), + red: f("\x1b[31m", "\x1b[39m"), + green: f("\x1b[32m", "\x1b[39m"), + yellow: f("\x1b[33m", "\x1b[39m"), + blue: f("\x1b[34m", "\x1b[39m"), + magenta: f("\x1b[35m", "\x1b[39m"), + cyan: f("\x1b[36m", "\x1b[39m"), + white: f("\x1b[37m", "\x1b[39m"), + gray: f("\x1b[90m", "\x1b[39m"), + + bgBlack: f("\x1b[40m", "\x1b[49m"), + bgRed: f("\x1b[41m", "\x1b[49m"), + bgGreen: f("\x1b[42m", "\x1b[49m"), + bgYellow: f("\x1b[43m", "\x1b[49m"), + bgBlue: f("\x1b[44m", "\x1b[49m"), + bgMagenta: f("\x1b[45m", "\x1b[49m"), + bgCyan: f("\x1b[46m", "\x1b[49m"), + bgWhite: f("\x1b[47m", "\x1b[49m"), + + blackBright: f("\x1b[90m", "\x1b[39m"), + redBright: f("\x1b[91m", "\x1b[39m"), + greenBright: f("\x1b[92m", "\x1b[39m"), + yellowBright: f("\x1b[93m", "\x1b[39m"), + blueBright: f("\x1b[94m", "\x1b[39m"), + magentaBright: f("\x1b[95m", "\x1b[39m"), + cyanBright: f("\x1b[96m", "\x1b[39m"), + whiteBright: f("\x1b[97m", "\x1b[39m"), + + bgBlackBright: f("\x1b[100m", "\x1b[49m"), + bgRedBright: f("\x1b[101m", "\x1b[49m"), + bgGreenBright: f("\x1b[102m", "\x1b[49m"), + bgYellowBright: f("\x1b[103m", "\x1b[49m"), + bgBlueBright: f("\x1b[104m", "\x1b[49m"), + bgMagentaBright: f("\x1b[105m", "\x1b[49m"), + bgCyanBright: f("\x1b[106m", "\x1b[49m"), + bgWhiteBright: f("\x1b[107m", "\x1b[49m"), + } +} module.exports = createColors() module.exports.createColors = createColors diff --git a/node_modules/picocolors/types.ts b/node_modules/picocolors/types.d.ts similarity index 60% rename from node_modules/picocolors/types.ts rename to node_modules/picocolors/types.d.ts index b4bacee490..cd1aec4679 100644 --- a/node_modules/picocolors/types.ts +++ b/node_modules/picocolors/types.d.ts @@ -2,6 +2,7 @@ export type Formatter = (input: string | number | null | undefined) => string export interface Colors { isColorSupported: boolean + reset: Formatter bold: Formatter dim: Formatter @@ -10,6 +11,7 @@ export interface Colors { inverse: Formatter hidden: Formatter strikethrough: Formatter + black: Formatter red: Formatter green: Formatter @@ -19,6 +21,7 @@ export interface Colors { cyan: Formatter white: Formatter gray: Formatter + bgBlack: Formatter bgRed: Formatter bgGreen: Formatter @@ -27,4 +30,22 @@ export interface Colors { bgMagenta: Formatter bgCyan: Formatter bgWhite: Formatter + + blackBright: Formatter + redBright: Formatter + greenBright: Formatter + yellowBright: Formatter + blueBright: Formatter + magentaBright: Formatter + cyanBright: Formatter + whiteBright: Formatter + + bgBlackBright: Formatter + bgRedBright: Formatter + bgGreenBright: Formatter + bgYellowBright: Formatter + bgBlueBright: Formatter + bgMagentaBright: Formatter + bgCyanBright: Formatter + bgWhiteBright: Formatter } diff --git a/node_modules/prettier/LICENSE b/node_modules/prettier/LICENSE index c75f6952d7..16bccd0b85 100644 --- a/node_modules/prettier/LICENSE +++ b/node_modules/prettier/LICENSE @@ -13,11 +13,11 @@ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLI ## Licenses of bundled dependencies The published Prettier artifact additionally contains code with the following licenses: -MIT, ISC, BSD-2-Clause, BSD-3-Clause, 0BSD, Apache-2.0 +MIT, ISC, BSD-2-Clause, BSD-3-Clause, Apache-2.0 ## Bundled dependencies -### @angular/compiler@v16.1.3 +### @angular/compiler@v18.1.0 > Angular - the compiler library @@ -27,7 +27,7 @@ Author: angular ---------------------------------------- -### @babel/code-frame@v7.22.5 +### @babel/code-frame@v7.24.7 > Generate errors that contain a code frame that point to source locations. @@ -61,7 +61,7 @@ Author: The Babel Team (https://babel.dev/team) ---------------------------------------- -### @babel/helper-validator-identifier@v7.22.5 +### @babel/helper-validator-identifier@v7.24.7 > Validate identifier/keywords name @@ -94,7 +94,7 @@ Author: The Babel Team (https://babel.dev/team) ---------------------------------------- -### @babel/highlight@v7.22.5 +### @babel/highlight@v7.24.7 > Syntax highlight JavaScript strings for output in terminals. @@ -128,7 +128,7 @@ Author: The Babel Team (https://babel.dev/team) ---------------------------------------- -### @babel/parser@v7.22.5 +### @babel/parser@v7.24.8 > A JavaScript parser @@ -187,7 +187,7 @@ License: MIT ---------------------------------------- -### @glimmer/syntax@v0.84.3 +### @glimmer/syntax@v0.92.0 License: MIT @@ -213,7 +213,7 @@ License: MIT ---------------------------------------- -### @glimmer/util@v0.84.3 +### @glimmer/util@v0.92.0 > Common utilities used in Glimmer @@ -241,6 +241,32 @@ License: MIT ---------------------------------------- +### @glimmer/wire-format@v0.92.0 + +License: MIT + +> Copyright (c) 2015 Tilde, Inc. +> +> Permission is hereby granted, free of charge, to any person obtaining a copy of +> this software and associated documentation files (the "Software"), to deal in +> the Software without restriction, including without limitation the rights to +> use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies +> of the Software, and to permit persons to whom the Software is furnished to do +> so, subject to the following conditions: +> +> The above copyright notice and this permission notice shall be included in all +> copies or substantial portions of the Software. +> +> THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +> IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +> FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +> AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +> LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +> OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +> SOFTWARE. + +---------------------------------------- + ### @handlebars/parser@v2.0.0 > The parser for the Handlebars language @@ -366,7 +392,7 @@ License: MIT ---------------------------------------- -### @prettier/is-es5-identifier-name@v0.1.0 +### @prettier/is-es5-identifier-name@v0.2.0 > Check if provided string is an `IdentifierName` as specified in ECMA262 edition 5.1 section 7.6. @@ -397,7 +423,7 @@ Author: fisker Cheung ---------------------------------------- -### @prettier/parse-srcset@v3.0.0 +### @prettier/parse-srcset@v3.1.0 > A spec-conformant JavaScript parser for the HTML5 srcset attribute @@ -408,6 +434,7 @@ Author: Alex Bell > The MIT License (MIT) > > Copyright (c) 2014 Alex Bell +> Copyright (c) fisker Cheung > > Permission is hereby granted, free of charge, to any person obtaining a copy > of this software and associated documentation files (the "Software"), to deal @@ -429,11 +456,12 @@ Author: Alex Bell ---------------------------------------- -### @typescript-eslint/types@v5.60.1 +### @typescript-eslint/types@v8.0.0-alpha.41 > Types for the TypeScript-ESTree AST spec License: MIT +Homepage: Repository: > MIT License @@ -460,11 +488,12 @@ Repository: ---------------------------------------- -### @typescript-eslint/typescript-estree@v5.60.1 +### @typescript-eslint/typescript-estree@v8.0.0-alpha.41 > A parser that converts TypeScript source code into an ESTree compatible form License: BSD-2-Clause +Homepage: Repository: > TypeScript ESTree @@ -496,13 +525,13 @@ Repository: ---------------------------------------- -### acorn@v8.9.0 +### acorn@v8.12.1 > ECMAScript parser License: MIT Homepage: -Repository: +Repository: > MIT License > @@ -558,7 +587,7 @@ Repository: ---------------------------------------- -### angular-estree-parser@v7.0.0 +### angular-estree-parser@v10.0.3 > A parser that converts Angular source code into an ESTree-compatible form @@ -590,7 +619,7 @@ Author: Ika (https://github.com/ikatyang) ---------------------------------------- -### angular-html-parser@v4.0.1 +### angular-html-parser@v6.0.2 > A HTML parser extracted from Angular with some modifications @@ -641,25 +670,6 @@ Author: Sindre Sorhus (https://sindresorhus.com) ---------------------------------------- -### ansi-styles@v3.2.1 - -> ANSI escape codes for styling strings in the terminal - -License: MIT -Author: Sindre Sorhus (sindresorhus.com) - -> MIT License -> -> Copyright (c) Sindre Sorhus (sindresorhus.com) -> -> Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: -> -> The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. -> -> THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - ----------------------------------------- - ### bail@v1.0.5 > Throw a given error @@ -694,73 +704,7 @@ Contributors: ---------------------------------------- -### balanced-match@v1.0.2 - -> Match balanced character pairs, like "{" and "}" - -License: MIT -Homepage: -Repository: -Author: Julian Gruber (http://juliangruber.com) - -> (MIT) -> -> Copyright (c) 2013 Julian Gruber <julian@juliangruber.com> -> -> Permission is hereby granted, free of charge, to any person obtaining a copy of -> this software and associated documentation files (the "Software"), to deal in -> the Software without restriction, including without limitation the rights to -> use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies -> of the Software, and to permit persons to whom the Software is furnished to do -> so, subject to the following conditions: -> -> The above copyright notice and this permission notice shall be included in all -> copies or substantial portions of the Software. -> -> THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -> IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -> FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -> AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -> LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -> OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -> SOFTWARE. - ----------------------------------------- - -### brace-expansion@v1.1.11 - -> Brace expansion as known from sh/bash - -License: MIT -Homepage: -Repository: -Author: Julian Gruber (http://juliangruber.com) - -> MIT License -> -> Copyright (c) 2013 Julian Gruber -> -> Permission is hereby granted, free of charge, to any person obtaining a copy -> of this software and associated documentation files (the "Software"), to deal -> in the Software without restriction, including without limitation the rights -> to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -> copies of the Software, and to permit persons to whom the Software is -> furnished to do so, subject to the following conditions: -> -> The above copyright notice and this permission notice shall be included in all -> copies or substantial portions of the Software. -> -> THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -> IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -> FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -> AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -> LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -> OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -> SOFTWARE. - ----------------------------------------- - -### braces@v3.0.2 +### braces@v3.0.3 > Bash-like brace expansion, implemented in JavaScript. Safer than other brace expansion libs, with complete support for the Bash 4.3 braces specification, without sacrificing speed. @@ -776,7 +720,7 @@ Contributors: > The MIT License (MIT) > -> Copyright (c) 2014-2018, Jon Schlinkert. +> Copyright (c) 2014-present, Jon Schlinkert. > > Permission is hereby granted, free of charge, to any person obtaining a copy > of this software and associated documentation files (the "Software"), to deal @@ -798,7 +742,7 @@ Contributors: ---------------------------------------- -### camelcase@v7.0.1 +### camelcase@v8.0.0 > Convert a dash/dot/underscore/space separated string to camelCase or PascalCase: `foo-bar` → `fooBar` @@ -851,25 +795,7 @@ Contributors: ---------------------------------------- -### chalk@v2.4.2 - -> Terminal string styling done right - -License: MIT - -> MIT License -> -> Copyright (c) Sindre Sorhus (sindresorhus.com) -> -> Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: -> -> The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. -> -> THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - ----------------------------------------- - -### chalk@v5.2.0 +### chalk@v5.3.0 > Terminal string styling done right @@ -989,7 +915,7 @@ Contributors: ---------------------------------------- -### ci-info@v3.8.0 +### ci-info@v4.0.0 > Get details about the current Continuous Integration environment @@ -999,7 +925,7 @@ Author: Thomas Watson Steen (https://twitter.com/wa7son) > The MIT License (MIT) > -> Copyright (c) 2016-2023 Thomas Watson Steen +> Copyright (c) 2016 Thomas Watson Steen > > Permission is hereby granted, free of charge, to any person obtaining a copy > of this software and associated documentation files (the "Software"), to deal @@ -1021,52 +947,6 @@ Author: Thomas Watson Steen (https://twitter.com/wa7son) ---------------------------------------- -### clone@v1.0.4 - -> deep cloning of objects and arrays - -License: MIT -Repository: -Author: Paul Vorbach (http://paul.vorba.ch/) -Contributors: - - Blake Miner (http://www.blakeminer.com/) - - Tian You (http://blog.axqd.net/) - - George Stagas (http://stagas.com/) - - Tobiasz Cudnik (https://github.com/TobiaszCudnik) - - Pavel Lang (https://github.com/langpavel) - - Dan MacTough (http://yabfog.com/) - - w1nk (https://github.com/w1nk) - - Hugh Kennedy (http://twitter.com/hughskennedy) - - Dustin Diaz (http://dustindiaz.com) - - Ilya Shaisultanov (https://github.com/diversario) - - Nathan MacInnes (http://macinn.es/) - - Benjamin E. Coe (https://twitter.com/benjamincoe) - - Nathan Zadoks (https://github.com/nathan7) - - Róbert Oroszi (https://github.com/oroce) - - Aurélio A. Heckert (http://softwarelivre.org/aurium) - - Guy Ellis (http://www.guyellisrocks.com/) - -> Copyright © 2011-2015 Paul Vorbach -> -> Permission is hereby granted, free of charge, to any person obtaining a copy of -> this software and associated documentation files (the “Software”), to deal in -> the Software without restriction, including without limitation the rights to -> use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of -> the Software, and to permit persons to whom the Software is furnished to do so, -> subject to the following conditions: -> -> The above copyright notice and this permission notice shall be included in all -> copies or substantial portions of the Software. -> -> THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -> IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS -> FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR -> COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER -> IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, OUT OF OR IN CONNECTION WITH THE -> SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - ----------------------------------------- - ### collapse-white-space@v1.0.6 > Replace multiple white-space characters with a single space @@ -1101,56 +981,6 @@ Contributors: ---------------------------------------- -### color-convert@v1.9.3 - -> Plain color conversion functions - -License: MIT -Author: Heather Arthur - -> Copyright (c) 2011-2016 Heather Arthur -> -> Permission is hereby granted, free of charge, to any person obtaining -> a copy of this software and associated documentation files (the -> "Software"), to deal in the Software without restriction, including -> without limitation the rights to use, copy, modify, merge, publish, -> distribute, sublicense, and/or sell copies of the Software, and to -> permit persons to whom the Software is furnished to do so, subject to -> the following conditions: -> -> The above copyright notice and this permission notice shall be -> included in all copies or substantial portions of the Software. -> -> THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, -> EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -> MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND -> NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE -> LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION -> OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION -> WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - ----------------------------------------- - -### color-name@v1.1.3 - -> A list of color names and its values - -License: MIT -Homepage: -Repository: -Author: DY - -> The MIT License (MIT) -> Copyright (c) 2015 Dmitry Ivanov -> -> Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: -> -> The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. -> -> THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - ----------------------------------------- - ### common-path-prefix@v3.0.0 > Computes the longest prefix string that is common to each path, excluding the base component @@ -1177,72 +1007,6 @@ Author: Mark Wubben (https://novemberborn.net/) ---------------------------------------- -### concat-map@v0.0.1 - -> concatenative mapdashery - -License: MIT -Repository: -Author: James Halliday (http://substack.net) - -> This software is released under the MIT license: -> -> Permission is hereby granted, free of charge, to any person obtaining a copy of -> this software and associated documentation files (the "Software"), to deal in -> the Software without restriction, including without limitation the rights to -> use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of -> the Software, and to permit persons to whom the Software is furnished to do so, -> subject to the following conditions: -> -> The above copyright notice and this permission notice shall be included in all -> copies or substantial portions of the Software. -> -> THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -> IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS -> FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR -> COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER -> IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN -> CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - ----------------------------------------- - -### cosmiconfig@v8.2.0 - -> Find and load configuration from a package.json property, rc file, or CommonJS module - -License: MIT -Homepage: -Repository: -Author: Daniel Fischer -Contributors: - - David Clark - - Bogdan Chadkin - - Suhas Karanth - -> The MIT License (MIT) -> -> Copyright (c) 2015 David Clark -> -> Permission is hereby granted, free of charge, to any person obtaining a copy -> of this software and associated documentation files (the "Software"), to deal -> in the Software without restriction, including without limitation the rights -> to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -> copies of the Software, and to permit persons to whom the Software is -> furnished to do so, subject to the following conditions: -> -> The above copyright notice and this permission notice shall be included in all -> copies or substantial portions of the Software. -> -> THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -> IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -> FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -> AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -> LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -> OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -> SOFTWARE. - ----------------------------------------- - ### dashify@v2.0.0 > Convert a camelcase or space-separated string to a dash-separated string. ~12 sloc, fast, supports diacritics. @@ -1279,86 +1043,42 @@ Contributors: ---------------------------------------- -### defaults@v1.0.4 - -> merge single level defaults over a config object - -License: MIT -Repository: -Author: Elijah Insua - -> The MIT License (MIT) -> -> Copyright (c) 2022 Sindre Sorhus -> Copyright (c) 2015 Elijah Insua -> -> Permission is hereby granted, free of charge, to any person obtaining a copy -> of this software and associated documentation files (the "Software"), to deal -> in the Software without restriction, including without limitation the rights -> to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -> copies of the Software, and to permit persons to whom the Software is -> furnished to do so, subject to the following conditions: -> -> The above copyright notice and this permission notice shall be included in -> all copies or substantial portions of the Software. -> -> THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -> IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -> FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -> AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -> LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -> OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -> THE SOFTWARE. - ----------------------------------------- - -### diff@v5.1.0 +### diff@v5.2.0 -> A javascript text diff implementation. +> A JavaScript text diff implementation. License: BSD-3-Clause Repository: -> Software License Agreement (BSD License) +> BSD 3-Clause License > > Copyright (c) 2009-2015, Kevin Decker -> > All rights reserved. > -> Redistribution and use of this software in source and binary forms, with or without modification, -> are permitted provided that the following conditions are met: +> Redistribution and use in source and binary forms, with or without +> modification, are permitted provided that the following conditions are met: > -> * Redistributions of source code must retain the above -> copyright notice, this list of conditions and the -> following disclaimer. +> 1. Redistributions of source code must retain the above copyright notice, this +> list of conditions and the following disclaimer. > -> * 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. +> 2. 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. > -> * Neither the name of Kevin Decker nor the names of its -> contributors may be used to endorse or promote products -> derived from this software without specific prior -> written permission. +> 3. Neither the name of the copyright holder nor the names of its +> contributors may be used to endorse or promote products derived from +> this software without specific prior written permission. > -> THIS 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 OWNER 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. - ----------------------------------------- - -### eastasianwidth@v0.2.0 - -> Get East Asian Width from a character. - -License: MIT -Author: Masaki Komagata +> THIS 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. ---------------------------------------- @@ -1396,18 +1116,7 @@ Contributors: ---------------------------------------- -### editorconfig-to-prettier@v1.0.0 - -> Converts an `editorconfig`-parsed object to a `prettier` configuration - -License: ISC -Homepage: -Repository: -Author: Joseph Frazier <1212jtraceur@gmail.com> - ----------------------------------------- - -### emoji-regex@v10.2.1 +### emoji-regex@v10.3.0 > A regular expression to match all Emoji-only symbols as per the Unicode Standard. @@ -1439,67 +1148,6 @@ Author: Mathias Bynens (https://mathiasbynens.be/) ---------------------------------------- -### error-ex@v1.3.2 - -> Easy error subclassing and stack customization - -License: MIT - -> The MIT License (MIT) -> -> Copyright (c) 2015 JD Ballard -> -> Permission is hereby granted, free of charge, to any person obtaining a copy -> of this software and associated documentation files (the "Software"), to deal -> in the Software without restriction, including without limitation the rights -> to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -> copies of the Software, and to permit persons to whom the Software is -> furnished to do so, subject to the following conditions: -> -> The above copyright notice and this permission notice shall be included in -> all copies or substantial portions of the Software. -> -> THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -> IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -> FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -> AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -> LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -> OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -> THE SOFTWARE. - ----------------------------------------- - -### escape-string-regexp@v1.0.5 - -> Escape RegExp special characters - -License: MIT -Author: Sindre Sorhus (sindresorhus.com) - -> The MIT License (MIT) -> -> Copyright (c) Sindre Sorhus (sindresorhus.com) -> -> Permission is hereby granted, free of charge, to any person obtaining a copy -> of this software and associated documentation files (the "Software"), to deal -> in the Software without restriction, including without limitation the rights -> to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -> copies of the Software, and to permit persons to whom the Software is -> furnished to do so, subject to the following conditions: -> -> The above copyright notice and this permission notice shall be included in -> all copies or substantial portions of the Software. -> -> THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -> IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -> FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -> AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -> LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -> OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -> THE SOFTWARE. - ----------------------------------------- - ### escape-string-regexp@v5.0.0 > Escape RegExp special characters @@ -1519,7 +1167,7 @@ Author: Sindre Sorhus (https://sindresorhus.com) ---------------------------------------- -### espree@v9.6.0 +### espree@v10.1.0 > An Esprima-compatible JavaScript parser built on Acorn @@ -1590,7 +1238,7 @@ Contributors: ---------------------------------------- -### fast-glob@v3.2.12 +### fast-glob@v3.3.2 > It's a very fast and efficient glob library for Node.js @@ -1654,7 +1302,7 @@ Author: James Halliday (http://substack.net) ---------------------------------------- -### fastq@v1.15.0 +### fastq@v1.17.1 > Fast, in memory work queue @@ -1679,16 +1327,16 @@ Author: Matteo Collina ---------------------------------------- -### file-entry-cache@v6.0.1 +### file-entry-cache@v9.0.0 > Super simple cache for file metadata, useful for process that work o a given series of files and that only need to repeat the job on the changed ones since the previous run of the process License: MIT -Author: Roy Riojas (http://royriojas.com) +Author: Jared Wray (https://jaredwray.com) > The MIT License (MIT) > -> Copyright (c) 2015 Roy Riojas +> Copyright (c) Roy Riojas & Jared Wray > > Permission is hereby granted, free of charge, to any person obtaining a copy > of this software and associated documentation files (the "Software"), to deal @@ -1710,7 +1358,7 @@ Author: Roy Riojas (http://royriojas.com) ---------------------------------------- -### fill-range@v7.0.1 +### fill-range@v7.1.1 > Fill in a range of numbers or letters, optionally passing an increment or `step` to use, or create a regex-compatible range with `options.toRegex` @@ -1748,7 +1396,7 @@ Contributors: ---------------------------------------- -### find-cache-dir@v4.0.0 +### find-cache-dir@v5.0.0 > Finds the common standard cache directory @@ -1768,41 +1416,6 @@ Author: Sindre Sorhus (https://sindresorhus.com) ---------------------------------------- -### find-parent-dir@v0.3.1 - -> Finds the first parent directory that contains a given file or directory. - -License: MIT -Homepage: -Repository: -Author: Thorsten Lorenz (http://thlorenz.com) - -> Copyright 2013 Thorsten Lorenz. -> All rights reserved. -> -> Permission is hereby granted, free of charge, to any person -> obtaining a copy of this software and associated documentation -> files (the "Software"), to deal in the Software without -> restriction, including without limitation the rights to use, -> copy, modify, merge, publish, distribute, sublicense, and/or sell -> copies of the Software, and to permit persons to whom the -> Software is furnished to do so, subject to the following -> conditions: -> -> The above copyright notice and this permission notice shall be -> included in all copies or substantial portions of the Software. -> -> THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, -> EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES -> OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND -> NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT -> HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, -> WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING -> FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR -> OTHER DEALINGS IN THE SOFTWARE. - ----------------------------------------- - ### find-up@v6.3.0 > Find a file or directory by walking up parent directories @@ -1822,16 +1435,16 @@ Author: Sindre Sorhus (https://sindresorhus.com) ---------------------------------------- -### flat-cache@v3.0.4 +### flat-cache@v5.0.0 > A stupidly simple key/value storage using files to persist some data License: MIT -Author: Roy Riojas (http://royriojas.com) +Author: Jared Wray (https://jaredwray.com) > The MIT License (MIT) > -> Copyright (c) 2015 Roy Riojas +> Copyright (c) Roy Riojas and Jared Wray > > Permission is hereby granted, free of charge, to any person obtaining a copy > of this software and associated documentation files (the "Software"), to deal @@ -1853,7 +1466,7 @@ Author: Roy Riojas (http://royriojas.com) ---------------------------------------- -### flatted@v3.2.7 +### flatted@v3.3.1 > A super light and fast circular JSON parser. @@ -1915,7 +1528,7 @@ Contributors: ---------------------------------------- -### flow-parser@v0.211.0 +### flow-parser@v0.237.2 > JavaScript parser written in OCaml. Produces ESTree AST @@ -1926,57 +1539,22 @@ Author: Flow Team ---------------------------------------- -### fs.realpath@v1.0.0 +### get-east-asian-width@v1.2.0 -> Use node's fs.realpath, but fall back to the JS implementation if the native one fails +> Determine the East Asian Width of a Unicode character -License: ISC -Repository: -Author: Isaac Z. Schlueter (http://blog.izs.me/) +License: MIT +Author: Sindre Sorhus (https://sindresorhus.com) -> The ISC License -> -> Copyright (c) Isaac Z. Schlueter and Contributors -> -> Permission to use, copy, modify, and/or distribute this software for any -> purpose with or without fee is hereby granted, provided that the above -> copyright notice and this permission notice appear in all copies. -> -> THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES -> WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF -> MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR -> ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES -> WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN -> ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR -> IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. -> -> ---- -> -> This library bundles a version of the `fs.realpath` and `fs.realpathSync` -> methods from Node.js v0.10 under the terms of the Node.js MIT license. -> -> Node's license follows, also included at the header of `old.js` which contains -> the licensed code: +> MIT License > -> Copyright Joyent, Inc. and other Node contributors. +> Copyright (c) Sindre Sorhus (https://sindresorhus.com) > -> Permission is hereby granted, free of charge, to any person obtaining a -> copy of this software and associated documentation files (the "Software"), -> to deal in the Software without restriction, including without limitation -> the rights to use, copy, modify, merge, publish, distribute, sublicense, -> and/or sell copies of the Software, and to permit persons to whom the -> Software is furnished to do so, subject to the following conditions: +> Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: > -> The above copyright notice and this permission notice shall be included in -> all copies or substantial portions of the Software. +> The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. > -> THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -> IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -> FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -> AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -> LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING -> FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER -> DEALINGS IN THE SOFTWARE. +> THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. ---------------------------------------- @@ -1999,38 +1577,6 @@ Author: Sindre Sorhus (https://sindresorhus.com) ---------------------------------------- -### glob@v7.2.3 - -> a little globber - -License: ISC -Repository: -Author: Isaac Z. Schlueter (http://blog.izs.me/) - -> The ISC License -> -> Copyright (c) Isaac Z. Schlueter and Contributors -> -> Permission to use, copy, modify, and/or distribute this software for any -> purpose with or without fee is hereby granted, provided that the above -> copyright notice and this permission notice appear in all copies. -> -> THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES -> WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF -> MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR -> ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES -> WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN -> ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR -> IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. -> -> ## Glob Logo -> -> Glob's logo created by Tanya Brassie , licensed -> under a Creative Commons Attribution-ShareAlike 4.0 International License -> https://creativecommons.org/licenses/by-sa/4.0/ - ----------------------------------------- - ### glob-parent@v5.1.2 > Extract the non-magic parent path from a glob string. @@ -2059,7 +1605,7 @@ Contributors: ---------------------------------------- -### graphql@v16.7.1 +### graphql@v16.9.0 > A Query Language and Runtime which can target any service. @@ -2091,26 +1637,7 @@ Repository: ---------------------------------------- -### has-flag@v3.0.0 - -> Check if argv has a specific flag - -License: MIT -Author: Sindre Sorhus (sindresorhus.com) - -> MIT License -> -> Copyright (c) Sindre Sorhus (sindresorhus.com) -> -> Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: -> -> The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. -> -> THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - ----------------------------------------- - -### ignore@v5.2.4 +### ignore@v5.3.1 > Ignore is a manager and filter for .gitignore rules, the one used by eslint, gitbook and many others. @@ -2134,34 +1661,15 @@ Author: kael > > THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, > EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -> MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND -> NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE -> LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION -> OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION -> WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - ----------------------------------------- - -### import-fresh@v3.3.0 - -> Import a module while bypassing the cache - -License: MIT -Author: Sindre Sorhus (https://sindresorhus.com) - -> MIT License -> -> Copyright (c) Sindre Sorhus (https://sindresorhus.com) -> -> Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: -> -> The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. -> -> THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. +> MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +> NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE +> LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION +> OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION +> WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. ---------------------------------------- -### import-meta-resolve@v3.0.0 +### import-meta-resolve@v4.1.0 > Resolve things like Node.js — ponyfill for `import.meta.resolve` @@ -2247,6 +1755,25 @@ Contributors: ---------------------------------------- +### index-to-position@v0.1.2 + +> Convert a string index to its line and column position + +License: MIT +Author: Sindre Sorhus (https://sindresorhus.com) + +> MIT License +> +> Copyright (c) Sindre Sorhus (https://sindresorhus.com) +> +> Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: +> +> The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. +> +> THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + +---------------------------------------- + ### indexes-of@v1.0.1 > line String/Array#indexOf but return all the indexes in an array @@ -2281,33 +1808,6 @@ Author: Dominic Tarr (dominictarr.com) ---------------------------------------- -### inflight@v1.0.6 - -> Add callbacks to requests in flight to avoid async duplication - -License: ISC -Homepage: -Repository: -Author: Isaac Z. Schlueter (http://blog.izs.me/) - -> The ISC License -> -> Copyright (c) Isaac Z. Schlueter -> -> Permission to use, copy, modify, and/or distribute this software for any -> purpose with or without fee is hereby granted, provided that the above -> copyright notice and this permission notice appear in all copies. -> -> THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES -> WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF -> MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR -> ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES -> WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN -> ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR -> IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. - ----------------------------------------- - ### inherits@v2.0.4 > Browser-friendly inheritance fully compatible with standard node.js inherits() @@ -2400,38 +1900,6 @@ Contributors: ---------------------------------------- -### is-arrayish@v0.2.1 - -> Determines if an object can be used as an array - -License: MIT -Repository: -Author: Qix (http://github.com/qix-) - -> The MIT License (MIT) -> -> Copyright (c) 2015 JD Ballard -> -> Permission is hereby granted, free of charge, to any person obtaining a copy -> of this software and associated documentation files (the "Software"), to deal -> in the Software without restriction, including without limitation the rights -> to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -> copies of the Software, and to permit persons to whom the Software is -> furnished to do so, subject to the following conditions: -> -> The above copyright notice and this permission notice shall be included in -> all copies or substantial portions of the Software. -> -> THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -> IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -> FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -> AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -> LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -> OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -> THE SOFTWARE. - ----------------------------------------- - ### is-buffer@v2.0.5 > Determine if an object is a Buffer @@ -2723,14 +2191,47 @@ Contributors: ---------------------------------------- -### jest-docblock@v29.4.3 +### iterate-directory-up@v1.1.1 + +> Iterate directory up. + +License: MIT +Homepage: +Author: fisker Cheung (https://www.fiskercheung.com/) + +> MIT License +> +> Copyright (c) fisker Cheung (https://www.fiskercheung.com/) +> +> Permission is hereby granted, free of charge, to any person obtaining a copy +> of this software and associated documentation files (the "Software"), to deal +> in the Software without restriction, including without limitation the rights +> to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +> copies of the Software, and to permit persons to whom the Software is +> furnished to do so, subject to the following conditions: +> +> The above copyright notice and this permission notice shall be included in all +> copies or substantial portions of the Software. +> +> THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +> IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +> FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +> AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +> LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +> OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +> SOFTWARE. + +---------------------------------------- + +### jest-docblock@v30.0.0-alpha.5 License: MIT -Repository: +Repository: > MIT License > > Copyright (c) Meta Platforms, Inc. and affiliates. +> Copyright Contributors to the Jest project. > > Permission is hereby granted, free of charge, to any person obtaining a copy > of this software and associated documentation files (the "Software"), to deal @@ -2818,38 +2319,37 @@ Contributors: ---------------------------------------- -### json-parse-even-better-errors@v2.3.1 +### json-buffer@v3.0.1 -> JSON.parse with context information on error +> JSON parse & stringify that supports binary via bops & base64 License: MIT -Author: Kat Marchán +Homepage: +Repository: +Author: Dominic Tarr (http://dominictarr.com) -> Copyright 2017 Kat Marchán -> Copyright npm, Inc. -> -> Permission is hereby granted, free of charge, to any person obtaining a -> copy of this software and associated documentation files (the "Software"), -> to deal in the Software without restriction, including without limitation -> the rights to use, copy, modify, merge, publish, distribute, sublicense, -> and/or sell copies of the Software, and to permit persons to whom the -> Software is furnished to do so, subject to the following conditions: -> -> The above copyright notice and this permission notice shall be included in -> all copies or substantial portions of the Software. +> Copyright (c) 2013 Dominic Tarr > -> THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -> IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -> FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -> AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -> LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING -> FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER -> DEALINGS IN THE SOFTWARE. +> Permission is hereby granted, free of charge, +> to any person obtaining a copy of this software and +> associated documentation files (the "Software"), to +> deal in the Software without restriction, including +> without limitation the rights to use, copy, modify, +> merge, publish, distribute, sublicense, and/or sell +> copies of the Software, and to permit persons to whom +> the Software is furnished to do so, +> subject to the following conditions: > -> --- +> The above copyright notice and this permission notice +> shall be included in all copies or substantial portions of the Software. > -> This library is a fork of 'better-json-errors' by Kat Marchán, extended and -> distributed under the terms of the MIT license above. +> THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +> EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES +> OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. +> IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR +> ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, +> TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE +> SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. ---------------------------------------- @@ -2892,34 +2392,14 @@ Contributors: ---------------------------------------- -### leven@v2.1.0 +### keyv@v4.5.4 -> Measure the difference between two strings using the fastest JS implementation of the Levenshtein distance algorithm +> Simple key-value storage with support for multiple backends License: MIT -Author: Sindre Sorhus (sindresorhus.com) - -> The MIT License (MIT) -> -> Copyright (c) Sindre Sorhus (sindresorhus.com) -> -> Permission is hereby granted, free of charge, to any person obtaining a copy -> of this software and associated documentation files (the "Software"), to deal -> in the Software without restriction, including without limitation the rights -> to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -> copies of the Software, and to permit persons to whom the Software is -> furnished to do so, subject to the following conditions: -> -> The above copyright notice and this permission notice shall be included in -> all copies or substantial portions of the Software. -> -> THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -> IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -> FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -> AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -> LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -> OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -> THE SOFTWARE. +Homepage: +Repository: +Author: Jared Wray (http://jaredwray.com) ---------------------------------------- @@ -2942,40 +2422,7 @@ Author: Sindre Sorhus (https://sindresorhus.com) ---------------------------------------- -### lines-and-columns@v1.2.4 - -> Maps lines and columns to character offsets and back. - -License: MIT -Homepage: -Repository: -Author: Brian Donovan - -> The MIT License (MIT) -> -> Copyright (c) 2015 Brian Donovan -> -> Permission is hereby granted, free of charge, to any person obtaining a copy -> of this software and associated documentation files (the "Software"), to deal -> in the Software without restriction, including without limitation the rights -> to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -> copies of the Software, and to permit persons to whom the Software is -> furnished to do so, subject to the following conditions: -> -> The above copyright notice and this permission notice shall be included in -> all copies or substantial portions of the Software. -> -> THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -> IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -> FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -> AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -> LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -> OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -> THE SOFTWARE. - ----------------------------------------- - -### lines-and-columns@v2.0.3 +### lines-and-columns@v2.0.4 > Maps lines and columns to character offsets and back. @@ -3052,25 +2499,6 @@ Author: Isaac Z. Schlueter ---------------------------------------- -### map-age-cleaner@v0.1.3 - -> Automatically cleanup expired items in a Map - -License: MIT -Author: Sam Verschueren (github.com/SamVerschueren) - -> MIT License -> -> Copyright (c) Sam Verschueren (github.com/SamVerschueren) -> -> Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: -> -> The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. -> -> THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - ----------------------------------------- - ### markdown-escapes@v1.0.4 > List of escapable characters in markdown @@ -3105,25 +2533,6 @@ Contributors: ---------------------------------------- -### mem@v9.0.2 - -> Memoize functions - An optimization used to speed up consecutive function calls by caching the result of calls with identical input - -License: MIT -Author: Sindre Sorhus (https://sindresorhus.com) - -> MIT License -> -> Copyright (c) Sindre Sorhus (https://sindresorhus.com) -> -> Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: -> -> The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. -> -> THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - ----------------------------------------- - ### merge2@v1.4.1 > Merge multiple streams into one stream in sequence or parallel. @@ -3156,7 +2565,7 @@ Repository: ---------------------------------------- -### meriyah@v4.3.7 +### meriyah@v4.5.0 > A 100% compliant, self-hosted javascript parser with high focus on both performance and stability @@ -3177,7 +2586,7 @@ Contributors: ---------------------------------------- -### micromatch@v4.0.5 +### micromatch@v4.0.7 > Glob matching for javascript/node.js. A replacement and faster alternative to minimatch and multimatch. @@ -3221,52 +2630,7 @@ Contributors: > AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER > LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, > OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -> THE SOFTWARE. - ----------------------------------------- - -### mimic-fn@v4.0.0 - -> Make a function mimic another one - -License: MIT -Author: Sindre Sorhus (https://sindresorhus.com) - -> MIT License -> -> Copyright (c) Sindre Sorhus (https://sindresorhus.com) -> -> Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: -> -> The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. -> -> THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - ----------------------------------------- - -### minimatch@v3.1.2 - -> a glob matcher in javascript - -License: ISC -Repository: -Author: Isaac Z. Schlueter (http://blog.izs.me) - -> The ISC License -> -> Copyright (c) Isaac Z. Schlueter and Contributors -> -> Permission to use, copy, modify, and/or distribute this software for any -> purpose with or without fee is hereby granted, provided that the above -> copyright notice and this permission notice appear in all copies. -> -> THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES -> WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF -> MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR -> ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES -> WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN -> ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR -> IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. +> THE SOFTWARE. ---------------------------------------- @@ -3331,7 +2695,7 @@ Author: Yoan Arnaudov ---------------------------------------- -### nanoid@v3.3.6 +### nanoid@v3.3.7 > A tiny (116 bytes), secure URL-friendly unique string ID generator @@ -3361,63 +2725,6 @@ Author: Andrey Sitnik ---------------------------------------- -### once@v1.4.0 - -> Run a function exactly one time - -License: ISC -Repository: -Author: Isaac Z. Schlueter (http://blog.izs.me/) - -> The ISC License -> -> Copyright (c) Isaac Z. Schlueter and Contributors -> -> Permission to use, copy, modify, and/or distribute this software for any -> purpose with or without fee is hereby granted, provided that the above -> copyright notice and this permission notice appear in all copies. -> -> THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES -> WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF -> MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR -> ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES -> WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN -> ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR -> IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. - ----------------------------------------- - -### p-defer@v1.0.0 - -> Create a deferred promise - -License: MIT -Author: Sindre Sorhus (sindresorhus.com) - -> The MIT License (MIT) -> -> Copyright (c) Sindre Sorhus (sindresorhus.com) -> -> Permission is hereby granted, free of charge, to any person obtaining a copy -> of this software and associated documentation files (the "Software"), to deal -> in the Software without restriction, including without limitation the rights -> to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -> copies of the Software, and to permit persons to whom the Software is -> furnished to do so, subject to the following conditions: -> -> The above copyright notice and this permission notice shall be included in -> all copies or substantial portions of the Software. -> -> THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -> IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -> FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -> AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -> LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -> OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -> THE SOFTWARE. - ----------------------------------------- - ### p-limit@v4.0.0 > Run multiple promise-returning & async functions with limited concurrency @@ -3490,7 +2797,7 @@ Contributors: ---------------------------------------- -### parse-json@v5.2.0 +### parse-json@v8.1.0 > Parse JSON with more helpful errors @@ -3528,57 +2835,7 @@ Author: Sindre Sorhus (https://sindresorhus.com) ---------------------------------------- -### path-is-absolute@v1.0.1 - -> Node.js 0.12 path.isAbsolute() ponyfill - -License: MIT -Author: Sindre Sorhus (sindresorhus.com) - -> The MIT License (MIT) -> -> Copyright (c) Sindre Sorhus (sindresorhus.com) -> -> Permission is hereby granted, free of charge, to any person obtaining a copy -> of this software and associated documentation files (the "Software"), to deal -> in the Software without restriction, including without limitation the rights -> to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -> copies of the Software, and to permit persons to whom the Software is -> furnished to do so, subject to the following conditions: -> -> The above copyright notice and this permission notice shall be included in -> all copies or substantial portions of the Software. -> -> THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -> IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -> FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -> AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -> LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -> OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -> THE SOFTWARE. - ----------------------------------------- - -### path-type@v4.0.0 - -> Check if a path is a file, directory, or symlink - -License: MIT -Author: Sindre Sorhus (sindresorhus.com) - -> MIT License -> -> Copyright (c) Sindre Sorhus (sindresorhus.com) -> -> Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: -> -> The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. -> -> THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - ----------------------------------------- - -### picocolors@v1.0.0 +### picocolors@v1.0.1 > The tiniest and the fastest library for terminal output formatting with ANSI colors @@ -3687,7 +2944,7 @@ Author: typicode ---------------------------------------- -### postcss@v8.4.24 +### postcss@v8.4.39 > Tool for transforming styles with JS plugins @@ -3764,7 +3021,7 @@ Author: dryoma ---------------------------------------- -### postcss-scss@v4.0.6 +### postcss-scss@v4.0.9 > SCSS parser for PostCSS @@ -4016,25 +3273,6 @@ Contributors: ---------------------------------------- -### resolve-from@v4.0.0 - -> Resolve the path of a module like `require.resolve()` but from a given path - -License: MIT -Author: Sindre Sorhus (sindresorhus.com) - -> MIT License -> -> Copyright (c) Sindre Sorhus (sindresorhus.com) -> -> Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: -> -> The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. -> -> THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - ----------------------------------------- - ### reusify@v1.0.4 > Reuse objects and functions with style @@ -4068,31 +3306,6 @@ Author: Matteo Collina ---------------------------------------- -### rimraf@v3.0.2 - -> A deep deletion module for node (like `rm -rf`) - -License: ISC -Author: Isaac Z. Schlueter (http://blog.izs.me/) - -> The ISC License -> -> Copyright (c) Isaac Z. Schlueter and Contributors -> -> Permission to use, copy, modify, and/or distribute this software for any -> purpose with or without fee is hereby granted, provided that the above -> copyright notice and this permission notice appear in all copies. -> -> THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES -> WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF -> MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR -> ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES -> WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN -> ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR -> IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. - ----------------------------------------- - ### run-parallel@v1.2.0 > Run an array of functions in parallel @@ -4144,12 +3357,12 @@ Author: Sindre Sorhus (https://sindresorhus.com) ---------------------------------------- -### semver@v7.5.3 +### semver@v7.6.2 > The semantic version parser used by npm. License: ISC -Repository: +Repository: Author: GitHub Inc. > The ISC License @@ -4308,25 +3521,6 @@ Author: Sindre Sorhus (https://sindresorhus.com) ---------------------------------------- -### supports-color@v5.5.0 - -> Detect whether a terminal supports color - -License: MIT -Author: Sindre Sorhus (sindresorhus.com) - -> MIT License -> -> Copyright (c) Sindre Sorhus (sindresorhus.com) -> -> Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: -> -> The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. -> -> THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - ----------------------------------------- - ### to-fast-properties@v4.0.0 > Force V8 to use fast properties for an object @@ -4461,63 +3655,38 @@ Contributors: ---------------------------------------- -### tslib@v1.14.1 - -> Runtime library for TypeScript helper functions - -License: 0BSD -Homepage: -Repository: -Author: Microsoft Corp. - -> Copyright (c) Microsoft Corporation. -> -> Permission to use, copy, modify, and/or distribute this software for any -> purpose with or without fee is hereby granted. -> -> THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH -> REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY -> AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, -> INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM -> LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR -> OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR -> PERFORMANCE OF THIS SOFTWARE. - ----------------------------------------- - -### tsutils@v3.21.0 +### ts-api-utils@v1.3.0 -> utilities for working with typescript's AST +> Utility functions for working with TypeScript's API. Successor to the wonderful tsutils. 🛠️️ License: MIT -Repository: -Author: Klaus Meinhardt +Repository: +Author: JoshuaKGoldberg -> The MIT License (MIT) -> -> Copyright (c) 2017 Klaus Meinhardt -> -> Permission is hereby granted, free of charge, to any person obtaining a copy -> of this software and associated documentation files (the "Software"), to deal -> in the Software without restriction, including without limitation the rights -> to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -> copies of the Software, and to permit persons to whom the Software is -> furnished to do so, subject to the following conditions: -> -> The above copyright notice and this permission notice shall be included in all -> copies or substantial portions of the Software. -> -> THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -> IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -> FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -> AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -> LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -> OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -> SOFTWARE. +> # MIT License +> +> Permission is hereby granted, free of charge, to any person obtaining +> a copy of this software and associated documentation files (the +> 'Software'), to deal in the Software without restriction, including +> without limitation the rights to use, copy, modify, merge, publish, +> distribute, sublicense, and/or sell copies of the Software, and to +> permit persons to whom the Software is furnished to do so, subject to +> the following conditions: +> +> The above copyright notice and this permission notice shall be +> included in all copies or substantial portions of the Software. +> +> THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, +> EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF +> MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. +> IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY +> CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, +> TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE +> SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. ---------------------------------------- -### typescript@v5.1.5 +### typescript@v5.5.3 > TypeScript is a language for application scale JavaScript development @@ -4862,6 +4031,38 @@ Contributors: ---------------------------------------- +### url-or-path@v2.3.0 + +> Convert between file URL and path. + +License: MIT +Homepage: +Author: fisker Cheung (https://www.fiskercheung.com/) + +> MIT License +> +> Copyright (c) fisker Cheung (https://www.fiskercheung.com/) +> +> Permission is hereby granted, free of charge, to any person obtaining a copy +> of this software and associated documentation files (the "Software"), to deal +> in the Software without restriction, including without limitation the rights +> to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +> copies of the Software, and to permit persons to whom the Software is +> furnished to do so, subject to the following conditions: +> +> The above copyright notice and this permission notice shall be included in all +> copies or substantial portions of the Software. +> +> THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +> IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +> FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +> AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +> LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +> OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +> SOFTWARE. + +---------------------------------------- + ### vfile@v4.2.1 > Virtual file format for text processing @@ -4969,7 +4170,7 @@ Contributors: ---------------------------------------- -### vnopts@v1.0.2 +### vnopts@v2.0.0 > validate and normalize options @@ -5001,23 +4202,23 @@ Author: Ika (https://github.com/ikatyang) ---------------------------------------- -### wcwidth@v1.0.1 +### wcwidth.js@v1.1.2 -> Port of C's wcwidth() and wcswidth() +> a javascript porting of C's wcwidth() License: MIT -Homepage: -Repository: -Author: Tim Oxley +Homepage: +Repository: +Author: Woong Jun (http://code.woong.org/) Contributors: - - Woong Jun (http://code.woong.org/) + - Tim Oxley (http://campjs.com/) -> wcwidth.js: JavaScript Portng of Markus Kuhn's wcwidth() Implementation -> ======================================================================= +> wcwidth.js: a javascript portng of C's wcwidth() +> ================================================ > -> Copyright (C) 2012 by Jun Woong. +> Copyright (C) 2012-2014 by Woong Jun and Tim Oxley. > -> This package is a JavaScript porting of `wcwidth()` implementation +> This package is a javascript porting of `wcwidth()` implementation > [by Markus Kuhn](http://www.cl.cam.ac.uk/~mgk25/ucs/wcwidth.c). > > Permission is hereby granted, free of charge, to any person obtaining a copy of @@ -5035,39 +4236,12 @@ Contributors: > INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND > FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR > 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. - ----------------------------------------- - -### wrappy@v1.0.2 - -> Callback wrapping utility - -License: ISC -Homepage: -Repository: -Author: Isaac Z. Schlueter (http://blog.izs.me/) - -> The ISC License -> -> Copyright (c) Isaac Z. Schlueter and Contributors -> -> Permission to use, copy, modify, and/or distribute this software for any -> purpose with or without fee is hereby granted, provided that the above -> copyright notice and this permission notice appear in all copies. -> -> THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES -> WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF -> MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR -> ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES -> WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN -> ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR -> IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. +> 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. ---------------------------------------- @@ -5187,7 +4361,7 @@ Author: Ika (https://github.com/ikatyang) ---------------------------------------- -### yocto-queue@v1.0.0 +### yocto-queue@v1.1.1 > Tiny queue data structure diff --git a/node_modules/prettier/README.md b/node_modules/prettier/README.md index 4076b3ad5f..d852667fc5 100644 --- a/node_modules/prettier/README.md +++ b/node_modules/prettier/README.md @@ -1,4 +1,4 @@ -![Prettier Banner](https://unpkg.com/prettier-logo@1.0.3/images/prettier-banner-light.svg) +[![Prettier Banner](https://unpkg.com/prettier-logo@1.0.3/images/prettier-banner-light.svg)](https://prettier.io)

Opinionated Code Formatter

@@ -55,7 +55,7 @@ code style: prettier - Follow Prettier on Twitter + Follow Prettier on Twitter

## Intro @@ -76,7 +76,7 @@ foo( reallyLongArg(), omgSoManyParameters(), IShouldRefactorThis(), - isThereSeriouslyAnotherOne() + isThereSeriouslyAnotherOne(), ); ``` diff --git a/node_modules/prettier/bin/prettier.cjs b/node_modules/prettier/bin/prettier.cjs index 723176fad7..3bd1dbe3c9 100755 --- a/node_modules/prettier/bin/prettier.cjs +++ b/node_modules/prettier/bin/prettier.cjs @@ -16,14 +16,10 @@ var require_semver_compare = __commonJS({ for (var i = 0; i < 3; i++) { var na = Number(pa[i]); var nb = Number(pb[i]); - if (na > nb) - return 1; - if (nb > na) - return -1; - if (!isNaN(na) && isNaN(nb)) - return 1; - if (isNaN(na) && !isNaN(nb)) - return -1; + if (na > nb) return 1; + if (nb > na) return -1; + if (!isNaN(na) && isNaN(nb)) return 1; + if (isNaN(na) && !isNaN(nb)) return -1; } return 0; }; @@ -61,7 +57,8 @@ var pleaseUpgradeNode = require_please_upgrade_node(); var packageJson = require("../package.json"); pleaseUpgradeNode(packageJson); function runCli(cli) { - return cli.run(process.argv.slice(2)); + return cli.run(); } var dynamicImport = new Function("module", "return import(module)"); -module.exports.promise = dynamicImport("../internal/cli.mjs").then(runCli); +var promise = dynamicImport("../internal/cli.mjs").then(runCli); +module.exports.__promise = promise; diff --git a/node_modules/prettier/doc.d.ts b/node_modules/prettier/doc.d.ts index 84aff5462d..c926511612 100644 --- a/node_modules/prettier/doc.d.ts +++ b/node_modules/prettier/doc.d.ts @@ -38,6 +38,7 @@ export namespace builders { interface Group { type: "group"; + id?: symbol; contents: Doc; break: boolean; expandedStates: Doc[]; @@ -64,6 +65,8 @@ export namespace builders { interface Label { type: "label"; + label: any; + contents: Doc; } interface Line { @@ -137,7 +140,7 @@ export namespace builders { function ifBreak( ifBreak: Doc, noBreak?: Doc, - options?: { groupId?: symbol | undefined } + options?: { groupId?: symbol | undefined }, ): IfBreak; /** @see [indent](https://github.com/prettier/prettier/blob/main/commands.md#indent) */ @@ -146,7 +149,7 @@ export namespace builders { /** @see [indentIfBreak](https://github.com/prettier/prettier/blob/main/commands.md#indentifbreak) */ function indentIfBreak( doc: Doc, - opts: { groupId: symbol; negate?: boolean | undefined } + opts: { groupId: symbol; negate?: boolean | undefined }, ): IndentIfBreak; /** @see [join](https://github.com/prettier/prettier/blob/main/commands.md#join) */ @@ -186,7 +189,7 @@ export namespace builders { export namespace printer { function printDocToString( doc: builders.Doc, - options: Options + options: Options, ): { formatted: string; cursorNodeStart?: number | undefined; @@ -219,22 +222,22 @@ export namespace utils { doc: builders.Doc, onEnter?: (doc: builders.Doc) => void | boolean, onExit?: (doc: builders.Doc) => void, - shouldTraverseConditionalGroups?: boolean + shouldTraverseConditionalGroups?: boolean, ): void; function findInDoc( doc: builders.Doc, callback: (doc: builders.Doc) => T, - defaultValue: T + defaultValue: T, ): T; function mapDoc( doc: builders.Doc, - callback: (doc: builders.Doc) => T + callback: (doc: builders.Doc) => T, ): T; function removeLines(doc: builders.Doc): builders.Doc; function stripTrailingHardline(doc: builders.Doc): builders.Doc; function replaceEndOfLine( doc: builders.Doc, - replacement?: builders.Doc + replacement?: builders.Doc, ): builders.Doc; function canBreak(doc: builders.Doc): boolean; } diff --git a/node_modules/prettier/doc.js b/node_modules/prettier/doc.js index 2b86d954f0..6db0da6636 100644 --- a/node_modules/prettier/doc.js +++ b/node_modules/prettier/doc.js @@ -13,13 +13,13 @@ typeof globalThis !== "undefined" ? globalThis : typeof global !== "undefined" - ? global - : typeof self !== "undefined" - ? self - : this || {}; + ? global + : typeof self !== "undefined" + ? self + : this || {}; root.doc = interopModuleDefault(); } -})(function() { +})(function () { "use strict"; var __defProp = Object.defineProperty; var __getOwnPropDesc = Object.getOwnPropertyDescriptor; @@ -363,33 +363,22 @@ Expected it to be ${EXPECTED_TYPE_VALUES}.`; // node_modules/emoji-regex/index.mjs var emoji_regex_default = () => { - return /[#*0-9]\uFE0F?\u20E3|[\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u231A\u231B\u2328\u23CF\u23ED-\u23EF\u23F1\u23F2\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB\u25FC\u25FE\u2600-\u2604\u260E\u2611\u2614\u2615\u2618\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638-\u263A\u2640\u2642\u2648-\u2653\u265F\u2660\u2663\u2665\u2666\u2668\u267B\u267E\u267F\u2692\u2694-\u2697\u2699\u269B\u269C\u26A0\u26A7\u26AA\u26B0\u26B1\u26BD\u26BE\u26C4\u26C8\u26CF\u26D1\u26D3\u26E9\u26F0-\u26F5\u26F7\u26F8\u26FA\u2702\u2708\u2709\u270F\u2712\u2714\u2716\u271D\u2721\u2733\u2734\u2744\u2747\u2757\u2763\u27A1\u2934\u2935\u2B05-\u2B07\u2B1B\u2B1C\u2B55\u3030\u303D\u3297\u3299]\uFE0F?|[\u261D\u270C\u270D](?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?|[\u270A\u270B](?:\uD83C[\uDFFB-\uDFFF])?|[\u23E9-\u23EC\u23F0\u23F3\u25FD\u2693\u26A1\u26AB\u26C5\u26CE\u26D4\u26EA\u26FD\u2705\u2728\u274C\u274E\u2753-\u2755\u2795-\u2797\u27B0\u27BF\u2B50]|\u26F9(?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|\u2764\uFE0F?(?:\u200D(?:\uD83D\uDD25|\uD83E\uDE79))?|\uD83C(?:[\uDC04\uDD70\uDD71\uDD7E\uDD7F\uDE02\uDE37\uDF21\uDF24-\uDF2C\uDF36\uDF7D\uDF96\uDF97\uDF99-\uDF9B\uDF9E\uDF9F\uDFCD\uDFCE\uDFD4-\uDFDF\uDFF5\uDFF7]\uFE0F?|[\uDF85\uDFC2\uDFC7](?:\uD83C[\uDFFB-\uDFFF])?|[\uDFC3\uDFC4\uDFCA](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDFCB\uDFCC](?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\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]|\uDDE6\uD83C[\uDDE8-\uDDEC\uDDEE\uDDF1\uDDF2\uDDF4\uDDF6-\uDDFA\uDDFC\uDDFD\uDDFF]|\uDDE7\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEF\uDDF1-\uDDF4\uDDF6-\uDDF9\uDDFB\uDDFC\uDDFE\uDDFF]|\uDDE8\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDEE\uDDF0-\uDDF5\uDDF7\uDDFA-\uDDFF]|\uDDE9\uD83C[\uDDEA\uDDEC\uDDEF\uDDF0\uDDF2\uDDF4\uDDFF]|\uDDEA\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDED\uDDF7-\uDDFA]|\uDDEB\uD83C[\uDDEE-\uDDF0\uDDF2\uDDF4\uDDF7]|\uDDEC\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEE\uDDF1-\uDDF3\uDDF5-\uDDFA\uDDFC\uDDFE]|\uDDED\uD83C[\uDDF0\uDDF2\uDDF3\uDDF7\uDDF9\uDDFA]|\uDDEE\uD83C[\uDDE8-\uDDEA\uDDF1-\uDDF4\uDDF6-\uDDF9]|\uDDEF\uD83C[\uDDEA\uDDF2\uDDF4\uDDF5]|\uDDF0\uD83C[\uDDEA\uDDEC-\uDDEE\uDDF2\uDDF3\uDDF5\uDDF7\uDDFC\uDDFE\uDDFF]|\uDDF1\uD83C[\uDDE6-\uDDE8\uDDEE\uDDF0\uDDF7-\uDDFB\uDDFE]|\uDDF2\uD83C[\uDDE6\uDDE8-\uDDED\uDDF0-\uDDFF]|\uDDF3\uD83C[\uDDE6\uDDE8\uDDEA-\uDDEC\uDDEE\uDDF1\uDDF4\uDDF5\uDDF7\uDDFA\uDDFF]|\uDDF4\uD83C\uDDF2|\uDDF5\uD83C[\uDDE6\uDDEA-\uDDED\uDDF0-\uDDF3\uDDF7-\uDDF9\uDDFC\uDDFE]|\uDDF6\uD83C\uDDE6|\uDDF7\uD83C[\uDDEA\uDDF4\uDDF8\uDDFA\uDDFC]|\uDDF8\uD83C[\uDDE6-\uDDEA\uDDEC-\uDDF4\uDDF7-\uDDF9\uDDFB\uDDFD-\uDDFF]|\uDDF9\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDED\uDDEF-\uDDF4\uDDF7\uDDF9\uDDFB\uDDFC\uDDFF]|\uDDFA\uD83C[\uDDE6\uDDEC\uDDF2\uDDF3\uDDF8\uDDFE\uDDFF]|\uDDFB\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDEE\uDDF3\uDDFA]|\uDDFC\uD83C[\uDDEB\uDDF8]|\uDDFD\uD83C\uDDF0|\uDDFE\uD83C[\uDDEA\uDDF9]|\uDDFF\uD83C[\uDDE6\uDDF2\uDDFC]|\uDFF3\uFE0F?(?:\u200D(?:\u26A7\uFE0F?|\uD83C\uDF08))?|\uDFF4(?:\u200D\u2620\uFE0F?|\uDB40\uDC67\uDB40\uDC62\uDB40(?:\uDC65\uDB40\uDC6E\uDB40\uDC67|\uDC73\uDB40\uDC63\uDB40\uDC74|\uDC77\uDB40\uDC6C\uDB40\uDC73)\uDB40\uDC7F)?)|\uD83D(?:[\uDC08\uDC26](?:\u200D\u2B1B)?|[\uDC3F\uDCFD\uDD49\uDD4A\uDD6F\uDD70\uDD73\uDD76-\uDD79\uDD87\uDD8A-\uDD8D\uDDA5\uDDA8\uDDB1\uDDB2\uDDBC\uDDC2-\uDDC4\uDDD1-\uDDD3\uDDDC-\uDDDE\uDDE1\uDDE3\uDDE8\uDDEF\uDDF3\uDDFA\uDECB\uDECD-\uDECF\uDEE0-\uDEE5\uDEE9\uDEF0\uDEF3]\uFE0F?|[\uDC42\uDC43\uDC46-\uDC50\uDC66\uDC67\uDC6B-\uDC6D\uDC72\uDC74-\uDC76\uDC78\uDC7C\uDC83\uDC85\uDC8F\uDC91\uDCAA\uDD7A\uDD95\uDD96\uDE4C\uDE4F\uDEC0\uDECC](?:\uD83C[\uDFFB-\uDFFF])?|[\uDC6E\uDC70\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDD74\uDD90](?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?|[\uDC00-\uDC07\uDC09-\uDC14\uDC16-\uDC25\uDC27-\uDC3A\uDC3C-\uDC3E\uDC40\uDC44\uDC45\uDC51-\uDC65\uDC6A\uDC79-\uDC7B\uDC7D-\uDC80\uDC84\uDC88-\uDC8E\uDC90\uDC92-\uDCA9\uDCAB-\uDCFC\uDCFF-\uDD3D\uDD4B-\uDD4E\uDD50-\uDD67\uDDA4\uDDFB-\uDE2D\uDE2F-\uDE34\uDE37-\uDE44\uDE48-\uDE4A\uDE80-\uDEA2\uDEA4-\uDEB3\uDEB7-\uDEBF\uDEC1-\uDEC5\uDED0-\uDED2\uDED5-\uDED7\uDEDC-\uDEDF\uDEEB\uDEEC\uDEF4-\uDEFC\uDFE0-\uDFEB\uDFF0]|\uDC15(?:\u200D\uD83E\uDDBA)?|\uDC3B(?:\u200D\u2744\uFE0F?)?|\uDC41\uFE0F?(?:\u200D\uD83D\uDDE8\uFE0F?)?|\uDC68(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDC68\uDC69]\u200D\uD83D(?:\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?)|[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?)|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFC-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFD-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFD\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFE])))?))?|\uDC69(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?[\uDC68\uDC69]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?|\uDC69\u200D\uD83D(?:\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?))|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFC-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB\uDFFD-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB-\uDFFD\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB-\uDFFE])))?))?|\uDC6F(?:\u200D[\u2640\u2642]\uFE0F?)?|\uDD75(?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|\uDE2E(?:\u200D\uD83D\uDCA8)?|\uDE35(?:\u200D\uD83D\uDCAB)?|\uDE36(?:\u200D\uD83C\uDF2B\uFE0F?)?)|\uD83E(?:[\uDD0C\uDD0F\uDD18-\uDD1F\uDD30-\uDD34\uDD36\uDD77\uDDB5\uDDB6\uDDBB\uDDD2\uDDD3\uDDD5\uDEC3-\uDEC5\uDEF0\uDEF2-\uDEF8](?:\uD83C[\uDFFB-\uDFFF])?|[\uDD26\uDD35\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD-\uDDCF\uDDD4\uDDD6-\uDDDD](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDDDE\uDDDF](?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDD0D\uDD0E\uDD10-\uDD17\uDD20-\uDD25\uDD27-\uDD2F\uDD3A\uDD3F-\uDD45\uDD47-\uDD76\uDD78-\uDDB4\uDDB7\uDDBA\uDDBC-\uDDCC\uDDD0\uDDE0-\uDDFF\uDE70-\uDE7C\uDE80-\uDE88\uDE90-\uDEBD\uDEBF-\uDEC2\uDECE-\uDEDB\uDEE0-\uDEE8]|\uDD3C(?:\u200D[\u2640\u2642]\uFE0F?|\uD83C[\uDFFB-\uDFFF])?|\uDDD1(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83E\uDDD1))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFC-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB\uDFFD-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB-\uDFFD\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB-\uDFFE]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?))?|\uDEF1(?:\uD83C(?:\uDFFB(?:\u200D\uD83E\uDEF2\uD83C[\uDFFC-\uDFFF])?|\uDFFC(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB\uDFFD-\uDFFF])?|\uDFFD(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])?|\uDFFE(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB-\uDFFD\uDFFF])?|\uDFFF(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB-\uDFFE])?))?)/g; + return /[#*0-9]\uFE0F?\u20E3|[\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u231A\u231B\u2328\u23CF\u23ED-\u23EF\u23F1\u23F2\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB\u25FC\u25FE\u2600-\u2604\u260E\u2611\u2614\u2615\u2618\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638-\u263A\u2640\u2642\u2648-\u2653\u265F\u2660\u2663\u2665\u2666\u2668\u267B\u267E\u267F\u2692\u2694-\u2697\u2699\u269B\u269C\u26A0\u26A7\u26AA\u26B0\u26B1\u26BD\u26BE\u26C4\u26C8\u26CF\u26D1\u26E9\u26F0-\u26F5\u26F7\u26F8\u26FA\u2702\u2708\u2709\u270F\u2712\u2714\u2716\u271D\u2721\u2733\u2734\u2744\u2747\u2757\u2763\u27A1\u2934\u2935\u2B05-\u2B07\u2B1B\u2B1C\u2B55\u3030\u303D\u3297\u3299]\uFE0F?|[\u261D\u270C\u270D](?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?|[\u270A\u270B](?:\uD83C[\uDFFB-\uDFFF])?|[\u23E9-\u23EC\u23F0\u23F3\u25FD\u2693\u26A1\u26AB\u26C5\u26CE\u26D4\u26EA\u26FD\u2705\u2728\u274C\u274E\u2753-\u2755\u2795-\u2797\u27B0\u27BF\u2B50]|\u26D3\uFE0F?(?:\u200D\uD83D\uDCA5)?|\u26F9(?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|\u2764\uFE0F?(?:\u200D(?:\uD83D\uDD25|\uD83E\uDE79))?|\uD83C(?:[\uDC04\uDD70\uDD71\uDD7E\uDD7F\uDE02\uDE37\uDF21\uDF24-\uDF2C\uDF36\uDF7D\uDF96\uDF97\uDF99-\uDF9B\uDF9E\uDF9F\uDFCD\uDFCE\uDFD4-\uDFDF\uDFF5\uDFF7]\uFE0F?|[\uDF85\uDFC2\uDFC7](?:\uD83C[\uDFFB-\uDFFF])?|[\uDFC4\uDFCA](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDFCB\uDFCC](?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDCCF\uDD8E\uDD91-\uDD9A\uDE01\uDE1A\uDE2F\uDE32-\uDE36\uDE38-\uDE3A\uDE50\uDE51\uDF00-\uDF20\uDF2D-\uDF35\uDF37-\uDF43\uDF45-\uDF4A\uDF4C-\uDF7C\uDF7E-\uDF84\uDF86-\uDF93\uDFA0-\uDFC1\uDFC5\uDFC6\uDFC8\uDFC9\uDFCF-\uDFD3\uDFE0-\uDFF0\uDFF8-\uDFFF]|\uDDE6\uD83C[\uDDE8-\uDDEC\uDDEE\uDDF1\uDDF2\uDDF4\uDDF6-\uDDFA\uDDFC\uDDFD\uDDFF]|\uDDE7\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEF\uDDF1-\uDDF4\uDDF6-\uDDF9\uDDFB\uDDFC\uDDFE\uDDFF]|\uDDE8\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDEE\uDDF0-\uDDF5\uDDF7\uDDFA-\uDDFF]|\uDDE9\uD83C[\uDDEA\uDDEC\uDDEF\uDDF0\uDDF2\uDDF4\uDDFF]|\uDDEA\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDED\uDDF7-\uDDFA]|\uDDEB\uD83C[\uDDEE-\uDDF0\uDDF2\uDDF4\uDDF7]|\uDDEC\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEE\uDDF1-\uDDF3\uDDF5-\uDDFA\uDDFC\uDDFE]|\uDDED\uD83C[\uDDF0\uDDF2\uDDF3\uDDF7\uDDF9\uDDFA]|\uDDEE\uD83C[\uDDE8-\uDDEA\uDDF1-\uDDF4\uDDF6-\uDDF9]|\uDDEF\uD83C[\uDDEA\uDDF2\uDDF4\uDDF5]|\uDDF0\uD83C[\uDDEA\uDDEC-\uDDEE\uDDF2\uDDF3\uDDF5\uDDF7\uDDFC\uDDFE\uDDFF]|\uDDF1\uD83C[\uDDE6-\uDDE8\uDDEE\uDDF0\uDDF7-\uDDFB\uDDFE]|\uDDF2\uD83C[\uDDE6\uDDE8-\uDDED\uDDF0-\uDDFF]|\uDDF3\uD83C[\uDDE6\uDDE8\uDDEA-\uDDEC\uDDEE\uDDF1\uDDF4\uDDF5\uDDF7\uDDFA\uDDFF]|\uDDF4\uD83C\uDDF2|\uDDF5\uD83C[\uDDE6\uDDEA-\uDDED\uDDF0-\uDDF3\uDDF7-\uDDF9\uDDFC\uDDFE]|\uDDF6\uD83C\uDDE6|\uDDF7\uD83C[\uDDEA\uDDF4\uDDF8\uDDFA\uDDFC]|\uDDF8\uD83C[\uDDE6-\uDDEA\uDDEC-\uDDF4\uDDF7-\uDDF9\uDDFB\uDDFD-\uDDFF]|\uDDF9\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDED\uDDEF-\uDDF4\uDDF7\uDDF9\uDDFB\uDDFC\uDDFF]|\uDDFA\uD83C[\uDDE6\uDDEC\uDDF2\uDDF3\uDDF8\uDDFE\uDDFF]|\uDDFB\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDEE\uDDF3\uDDFA]|\uDDFC\uD83C[\uDDEB\uDDF8]|\uDDFD\uD83C\uDDF0|\uDDFE\uD83C[\uDDEA\uDDF9]|\uDDFF\uD83C[\uDDE6\uDDF2\uDDFC]|\uDF44(?:\u200D\uD83D\uDFEB)?|\uDF4B(?:\u200D\uD83D\uDFE9)?|\uDFC3(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?|\uDFF3\uFE0F?(?:\u200D(?:\u26A7\uFE0F?|\uD83C\uDF08))?|\uDFF4(?:\u200D\u2620\uFE0F?|\uDB40\uDC67\uDB40\uDC62\uDB40(?:\uDC65\uDB40\uDC6E\uDB40\uDC67|\uDC73\uDB40\uDC63\uDB40\uDC74|\uDC77\uDB40\uDC6C\uDB40\uDC73)\uDB40\uDC7F)?)|\uD83D(?:[\uDC3F\uDCFD\uDD49\uDD4A\uDD6F\uDD70\uDD73\uDD76-\uDD79\uDD87\uDD8A-\uDD8D\uDDA5\uDDA8\uDDB1\uDDB2\uDDBC\uDDC2-\uDDC4\uDDD1-\uDDD3\uDDDC-\uDDDE\uDDE1\uDDE3\uDDE8\uDDEF\uDDF3\uDDFA\uDECB\uDECD-\uDECF\uDEE0-\uDEE5\uDEE9\uDEF0\uDEF3]\uFE0F?|[\uDC42\uDC43\uDC46-\uDC50\uDC66\uDC67\uDC6B-\uDC6D\uDC72\uDC74-\uDC76\uDC78\uDC7C\uDC83\uDC85\uDC8F\uDC91\uDCAA\uDD7A\uDD95\uDD96\uDE4C\uDE4F\uDEC0\uDECC](?:\uD83C[\uDFFB-\uDFFF])?|[\uDC6E\uDC70\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4\uDEB5](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDD74\uDD90](?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?|[\uDC00-\uDC07\uDC09-\uDC14\uDC16-\uDC25\uDC27-\uDC3A\uDC3C-\uDC3E\uDC40\uDC44\uDC45\uDC51-\uDC65\uDC6A\uDC79-\uDC7B\uDC7D-\uDC80\uDC84\uDC88-\uDC8E\uDC90\uDC92-\uDCA9\uDCAB-\uDCFC\uDCFF-\uDD3D\uDD4B-\uDD4E\uDD50-\uDD67\uDDA4\uDDFB-\uDE2D\uDE2F-\uDE34\uDE37-\uDE41\uDE43\uDE44\uDE48-\uDE4A\uDE80-\uDEA2\uDEA4-\uDEB3\uDEB7-\uDEBF\uDEC1-\uDEC5\uDED0-\uDED2\uDED5-\uDED7\uDEDC-\uDEDF\uDEEB\uDEEC\uDEF4-\uDEFC\uDFE0-\uDFEB\uDFF0]|\uDC08(?:\u200D\u2B1B)?|\uDC15(?:\u200D\uD83E\uDDBA)?|\uDC26(?:\u200D(?:\u2B1B|\uD83D\uDD25))?|\uDC3B(?:\u200D\u2744\uFE0F?)?|\uDC41\uFE0F?(?:\u200D\uD83D\uDDE8\uFE0F?)?|\uDC68(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDC68\uDC69]\u200D\uD83D(?:\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?)|[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?)|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFC-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFD-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFD\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFE])))?))?|\uDC69(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?[\uDC68\uDC69]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?|\uDC69\u200D\uD83D(?:\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?))|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFC-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB\uDFFD-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB-\uDFFD\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB-\uDFFE])))?))?|\uDC6F(?:\u200D[\u2640\u2642]\uFE0F?)?|\uDD75(?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|\uDE2E(?:\u200D\uD83D\uDCA8)?|\uDE35(?:\u200D\uD83D\uDCAB)?|\uDE36(?:\u200D\uD83C\uDF2B\uFE0F?)?|\uDE42(?:\u200D[\u2194\u2195]\uFE0F?)?|\uDEB6(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?)|\uD83E(?:[\uDD0C\uDD0F\uDD18-\uDD1F\uDD30-\uDD34\uDD36\uDD77\uDDB5\uDDB6\uDDBB\uDDD2\uDDD3\uDDD5\uDEC3-\uDEC5\uDEF0\uDEF2-\uDEF8](?:\uD83C[\uDFFB-\uDFFF])?|[\uDD26\uDD35\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD\uDDCF\uDDD4\uDDD6-\uDDDD](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDDDE\uDDDF](?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDD0D\uDD0E\uDD10-\uDD17\uDD20-\uDD25\uDD27-\uDD2F\uDD3A\uDD3F-\uDD45\uDD47-\uDD76\uDD78-\uDDB4\uDDB7\uDDBA\uDDBC-\uDDCC\uDDD0\uDDE0-\uDDFF\uDE70-\uDE7C\uDE80-\uDE88\uDE90-\uDEBD\uDEBF-\uDEC2\uDECE-\uDEDB\uDEE0-\uDEE8]|\uDD3C(?:\u200D[\u2640\u2642]\uFE0F?|\uD83C[\uDFFB-\uDFFF])?|\uDDCE(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?|\uDDD1(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1|\uDDD1\u200D\uD83E\uDDD2(?:\u200D\uD83E\uDDD2)?|\uDDD2(?:\u200D\uD83E\uDDD2)?))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFC-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB\uDFFD-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB-\uDFFD\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB-\uDFFE]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?))?|\uDEF1(?:\uD83C(?:\uDFFB(?:\u200D\uD83E\uDEF2\uD83C[\uDFFC-\uDFFF])?|\uDFFC(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB\uDFFD-\uDFFF])?|\uDFFD(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])?|\uDFFE(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB-\uDFFD\uDFFF])?|\uDFFF(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB-\uDFFE])?))?)/g; }; - // node_modules/eastasianwidth/eastasianwidth.js - var eastasianwidth_default = { - eastAsianWidth(character) { - var x = character.charCodeAt(0); - var y = character.length == 2 ? character.charCodeAt(1) : 0; - var codePoint = x; - if (55296 <= x && x <= 56319 && 56320 <= y && y <= 57343) { - x &= 1023; - y &= 1023; - codePoint = x << 10 | y; - codePoint += 65536; - } - if (12288 == codePoint || 65281 <= codePoint && codePoint <= 65376 || 65504 <= codePoint && codePoint <= 65510) { - return "F"; - } - if (4352 <= codePoint && codePoint <= 4447 || 4515 <= codePoint && codePoint <= 4519 || 4602 <= codePoint && codePoint <= 4607 || 9001 <= codePoint && codePoint <= 9002 || 11904 <= codePoint && codePoint <= 11929 || 11931 <= codePoint && codePoint <= 12019 || 12032 <= codePoint && codePoint <= 12245 || 12272 <= codePoint && codePoint <= 12283 || 12289 <= codePoint && codePoint <= 12350 || 12353 <= codePoint && codePoint <= 12438 || 12441 <= codePoint && codePoint <= 12543 || 12549 <= codePoint && codePoint <= 12589 || 12593 <= codePoint && codePoint <= 12686 || 12688 <= codePoint && codePoint <= 12730 || 12736 <= codePoint && codePoint <= 12771 || 12784 <= codePoint && codePoint <= 12830 || 12832 <= codePoint && codePoint <= 12871 || 12880 <= codePoint && codePoint <= 13054 || 13056 <= codePoint && codePoint <= 19903 || 19968 <= codePoint && codePoint <= 42124 || 42128 <= codePoint && codePoint <= 42182 || 43360 <= codePoint && codePoint <= 43388 || 44032 <= codePoint && codePoint <= 55203 || 55216 <= codePoint && codePoint <= 55238 || 55243 <= codePoint && codePoint <= 55291 || 63744 <= codePoint && codePoint <= 64255 || 65040 <= codePoint && codePoint <= 65049 || 65072 <= codePoint && codePoint <= 65106 || 65108 <= codePoint && codePoint <= 65126 || 65128 <= codePoint && codePoint <= 65131 || 110592 <= codePoint && codePoint <= 110593 || 127488 <= codePoint && codePoint <= 127490 || 127504 <= codePoint && codePoint <= 127546 || 127552 <= codePoint && codePoint <= 127560 || 127568 <= codePoint && codePoint <= 127569 || 131072 <= codePoint && codePoint <= 194367 || 177984 <= codePoint && codePoint <= 196605 || 196608 <= codePoint && codePoint <= 262141) { - return "W"; - } - return "N"; - } - }; + // node_modules/get-east-asian-width/lookup.js + function isFullWidth(x) { + return x === 12288 || x >= 65281 && x <= 65376 || x >= 65504 && x <= 65510; + } + function isWide(x) { + return x >= 4352 && x <= 4447 || x === 8986 || x === 8987 || x === 9001 || x === 9002 || x >= 9193 && x <= 9196 || x === 9200 || x === 9203 || x === 9725 || x === 9726 || x === 9748 || x === 9749 || x >= 9800 && x <= 9811 || x === 9855 || x === 9875 || x === 9889 || x === 9898 || x === 9899 || x === 9917 || x === 9918 || x === 9924 || x === 9925 || x === 9934 || x === 9940 || x === 9962 || x === 9970 || x === 9971 || x === 9973 || x === 9978 || x === 9981 || x === 9989 || x === 9994 || x === 9995 || x === 10024 || x === 10060 || x === 10062 || x >= 10067 && x <= 10069 || x === 10071 || x >= 10133 && x <= 10135 || x === 10160 || x === 10175 || x === 11035 || x === 11036 || x === 11088 || x === 11093 || x >= 11904 && x <= 11929 || x >= 11931 && x <= 12019 || x >= 12032 && x <= 12245 || x >= 12272 && x <= 12287 || x >= 12289 && x <= 12350 || x >= 12353 && x <= 12438 || x >= 12441 && x <= 12543 || x >= 12549 && x <= 12591 || x >= 12593 && x <= 12686 || x >= 12688 && x <= 12771 || x >= 12783 && x <= 12830 || x >= 12832 && x <= 12871 || x >= 12880 && x <= 19903 || x >= 19968 && x <= 42124 || x >= 42128 && x <= 42182 || x >= 43360 && x <= 43388 || x >= 44032 && x <= 55203 || x >= 63744 && x <= 64255 || x >= 65040 && x <= 65049 || x >= 65072 && x <= 65106 || x >= 65108 && x <= 65126 || x >= 65128 && x <= 65131 || x >= 94176 && x <= 94180 || x === 94192 || x === 94193 || x >= 94208 && x <= 100343 || x >= 100352 && x <= 101589 || x >= 101632 && x <= 101640 || x >= 110576 && x <= 110579 || x >= 110581 && x <= 110587 || x === 110589 || x === 110590 || x >= 110592 && x <= 110882 || x === 110898 || x >= 110928 && x <= 110930 || x === 110933 || x >= 110948 && x <= 110951 || x >= 110960 && x <= 111355 || x === 126980 || x === 127183 || x === 127374 || x >= 127377 && x <= 127386 || x >= 127488 && x <= 127490 || x >= 127504 && x <= 127547 || x >= 127552 && x <= 127560 || x === 127568 || x === 127569 || x >= 127584 && x <= 127589 || x >= 127744 && x <= 127776 || x >= 127789 && x <= 127797 || x >= 127799 && x <= 127868 || x >= 127870 && x <= 127891 || x >= 127904 && x <= 127946 || x >= 127951 && x <= 127955 || x >= 127968 && x <= 127984 || x === 127988 || x >= 127992 && x <= 128062 || x === 128064 || x >= 128066 && x <= 128252 || x >= 128255 && x <= 128317 || x >= 128331 && x <= 128334 || x >= 128336 && x <= 128359 || x === 128378 || x === 128405 || x === 128406 || x === 128420 || x >= 128507 && x <= 128591 || x >= 128640 && x <= 128709 || x === 128716 || x >= 128720 && x <= 128722 || x >= 128725 && x <= 128727 || x >= 128732 && x <= 128735 || x === 128747 || x === 128748 || x >= 128756 && x <= 128764 || x >= 128992 && x <= 129003 || x === 129008 || x >= 129292 && x <= 129338 || x >= 129340 && x <= 129349 || x >= 129351 && x <= 129535 || x >= 129648 && x <= 129660 || x >= 129664 && x <= 129672 || x >= 129680 && x <= 129725 || x >= 129727 && x <= 129733 || x >= 129742 && x <= 129755 || x >= 129760 && x <= 129768 || x >= 129776 && x <= 129784 || x >= 131072 && x <= 196605 || x >= 196608 && x <= 262141; + } + + // node_modules/get-east-asian-width/index.js + var _isNarrowWidth = (codePoint) => !(isFullWidth(codePoint) || isWide(codePoint)); // src/utils/get-string-width.js - var notAsciiRegex = /[^\x20-\x7F]/; + var notAsciiRegex = /[^\x20-\x7F]/u; function getStringWidth(text) { if (!text) { return 0; @@ -407,23 +396,13 @@ Expected it to be ${EXPECTED_TYPE_VALUES}.`; if (codePoint >= 768 && codePoint <= 879) { continue; } - const code = eastasianwidth_default.eastAsianWidth(character); - width += code === "F" || code === "W" ? 2 : 1; + width += _isNarrowWidth(codePoint) ? 1 : 2; } return width; } var get_string_width_default = getStringWidth; // src/document/utils.js - var getDocParts = (doc) => { - if (Array.isArray(doc)) { - return doc; - } - if (doc.type !== DOC_TYPE_FILL) { - throw new Error(`Expect doc to be 'array' or '${DOC_TYPE_FILL}'.`); - } - return doc.parts; - }; function mapDoc(doc, cb) { if (typeof doc === "string") { return cb(doc); @@ -524,7 +503,7 @@ Expected it to be ${EXPECTED_TYPE_VALUES}.`; function breakParentGroup(groupStack) { if (groupStack.length > 0) { const parentGroup = at_default( - /* isOptionalObject*/ + /* isOptionalObject */ false, groupStack, -1 @@ -581,12 +560,12 @@ Expected it to be ${EXPECTED_TYPE_VALUES}.`; function stripTrailingHardlineFromParts(parts) { parts = [...parts]; while (parts.length >= 2 && at_default( - /* isOptionalObject*/ + /* isOptionalObject */ false, parts, -2 ).type === DOC_TYPE_LINE && at_default( - /* isOptionalObject*/ + /* isOptionalObject */ false, parts, -1 @@ -595,7 +574,7 @@ Expected it to be ${EXPECTED_TYPE_VALUES}.`; } if (parts.length > 0) { const lastPart = stripTrailingHardlineFromDoc(at_default( - /* isOptionalObject*/ + /* isOptionalObject */ false, parts, -1 @@ -606,7 +585,6 @@ Expected it to be ${EXPECTED_TYPE_VALUES}.`; } function stripTrailingHardlineFromDoc(doc) { switch (get_doc_type_default(doc)) { - case DOC_TYPE_ALIGN: case DOC_TYPE_INDENT: case DOC_TYPE_INDENT_IF_BREAK: case DOC_TYPE_GROUP: @@ -632,7 +610,8 @@ Expected it to be ${EXPECTED_TYPE_VALUES}.`; case DOC_TYPE_ARRAY: return stripTrailingHardlineFromParts(doc); case DOC_TYPE_STRING: - return doc.replace(/[\n\r]*$/, ""); + return doc.replace(/[\n\r]*$/u, ""); + case DOC_TYPE_ALIGN: case DOC_TYPE_CURSOR: case DOC_TYPE_TRIM: case DOC_TYPE_LINE_SUFFIX_BOUNDARY: @@ -683,7 +662,7 @@ Expected it to be ${EXPECTED_TYPE_VALUES}.`; } const [currentPart, ...restParts] = Array.isArray(part) ? part : [part]; if (typeof currentPart === "string" && typeof at_default( - /* isOptionalObject*/ + /* isOptionalObject */ false, parts, -1 @@ -842,26 +821,25 @@ Expected it to be ${EXPECTED_TYPE_VALUES}.`; let trimCount = 0; let cursorCount = 0; let outIndex = out.length; - outer: - while (outIndex--) { - const last = out[outIndex]; - if (last === CURSOR_PLACEHOLDER) { - cursorCount++; - continue; - } - if (false) { - throw new Error(`Unexpected value in trim: '${typeof last}'`); - } - for (let charIndex = last.length - 1; charIndex >= 0; charIndex--) { - const char = last[charIndex]; - if (char === " " || char === " ") { - trimCount++; - } else { - out[outIndex] = last.slice(0, charIndex + 1); - break outer; - } + outer: while (outIndex--) { + const last = out[outIndex]; + if (last === CURSOR_PLACEHOLDER) { + cursorCount++; + continue; + } + if (false) { + throw new Error(`Unexpected value in trim: '${typeof last}'`); + } + for (let charIndex = last.length - 1; charIndex >= 0; charIndex--) { + const char = last[charIndex]; + if (char === " " || char === " ") { + trimCount++; + } else { + out[outIndex] = last.slice(0, charIndex + 1); + break outer; } } + } if (trimCount > 0 || cursorCount > 0) { out.length = outIndex + 1; while (cursorCount-- > 0) { @@ -889,14 +867,15 @@ Expected it to be ${EXPECTED_TYPE_VALUES}.`; mode, doc } = cmds.pop(); - switch (get_doc_type_default(doc)) { + const docType = get_doc_type_default(doc); + switch (docType) { case DOC_TYPE_STRING: out.push(doc); width -= get_string_width_default(doc); break; case DOC_TYPE_ARRAY: case DOC_TYPE_FILL: { - const parts = getDocParts(doc); + const parts = docType === DOC_TYPE_ARRAY ? doc : doc.parts; for (let i = parts.length - 1; i >= 0; i--) { cmds.push({ mode, @@ -923,7 +902,7 @@ Expected it to be ${EXPECTED_TYPE_VALUES}.`; } const groupMode = doc.break ? MODE_BREAK : mode; const contents = doc.expandedStates && groupMode === MODE_BREAK ? at_default( - /* isOptionalObject*/ + /* isOptionalObject */ false, doc.expandedStates, -1 @@ -990,7 +969,7 @@ Expected it to be ${EXPECTED_TYPE_VALUES}.`; switch (get_doc_type_default(doc2)) { case DOC_TYPE_STRING: { const formatted = newLine !== "\n" ? string_replace_all_default( - /* isOptionalObject*/ + /* isOptionalObject */ false, doc2, "\n", @@ -1060,7 +1039,7 @@ Expected it to be ${EXPECTED_TYPE_VALUES}.`; } else { if (doc2.expandedStates) { const mostExpanded = at_default( - /* isOptionalObject*/ + /* isOptionalObject */ false, doc2.expandedStates, -1 @@ -1108,7 +1087,7 @@ Expected it to be ${EXPECTED_TYPE_VALUES}.`; } if (doc2.id) { groupModeMap[doc2.id] = at_default( - /* isOptionalObject*/ + /* isOptionalObject */ false, cmds, -1 diff --git a/node_modules/prettier/doc.mjs b/node_modules/prettier/doc.mjs index ef5c8f01d0..83b10590aa 100644 --- a/node_modules/prettier/doc.mjs +++ b/node_modules/prettier/doc.mjs @@ -328,33 +328,22 @@ function convertEndOfLineToChars(value) { // node_modules/emoji-regex/index.mjs var emoji_regex_default = () => { - return /[#*0-9]\uFE0F?\u20E3|[\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u231A\u231B\u2328\u23CF\u23ED-\u23EF\u23F1\u23F2\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB\u25FC\u25FE\u2600-\u2604\u260E\u2611\u2614\u2615\u2618\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638-\u263A\u2640\u2642\u2648-\u2653\u265F\u2660\u2663\u2665\u2666\u2668\u267B\u267E\u267F\u2692\u2694-\u2697\u2699\u269B\u269C\u26A0\u26A7\u26AA\u26B0\u26B1\u26BD\u26BE\u26C4\u26C8\u26CF\u26D1\u26D3\u26E9\u26F0-\u26F5\u26F7\u26F8\u26FA\u2702\u2708\u2709\u270F\u2712\u2714\u2716\u271D\u2721\u2733\u2734\u2744\u2747\u2757\u2763\u27A1\u2934\u2935\u2B05-\u2B07\u2B1B\u2B1C\u2B55\u3030\u303D\u3297\u3299]\uFE0F?|[\u261D\u270C\u270D](?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?|[\u270A\u270B](?:\uD83C[\uDFFB-\uDFFF])?|[\u23E9-\u23EC\u23F0\u23F3\u25FD\u2693\u26A1\u26AB\u26C5\u26CE\u26D4\u26EA\u26FD\u2705\u2728\u274C\u274E\u2753-\u2755\u2795-\u2797\u27B0\u27BF\u2B50]|\u26F9(?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|\u2764\uFE0F?(?:\u200D(?:\uD83D\uDD25|\uD83E\uDE79))?|\uD83C(?:[\uDC04\uDD70\uDD71\uDD7E\uDD7F\uDE02\uDE37\uDF21\uDF24-\uDF2C\uDF36\uDF7D\uDF96\uDF97\uDF99-\uDF9B\uDF9E\uDF9F\uDFCD\uDFCE\uDFD4-\uDFDF\uDFF5\uDFF7]\uFE0F?|[\uDF85\uDFC2\uDFC7](?:\uD83C[\uDFFB-\uDFFF])?|[\uDFC3\uDFC4\uDFCA](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDFCB\uDFCC](?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\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]|\uDDE6\uD83C[\uDDE8-\uDDEC\uDDEE\uDDF1\uDDF2\uDDF4\uDDF6-\uDDFA\uDDFC\uDDFD\uDDFF]|\uDDE7\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEF\uDDF1-\uDDF4\uDDF6-\uDDF9\uDDFB\uDDFC\uDDFE\uDDFF]|\uDDE8\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDEE\uDDF0-\uDDF5\uDDF7\uDDFA-\uDDFF]|\uDDE9\uD83C[\uDDEA\uDDEC\uDDEF\uDDF0\uDDF2\uDDF4\uDDFF]|\uDDEA\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDED\uDDF7-\uDDFA]|\uDDEB\uD83C[\uDDEE-\uDDF0\uDDF2\uDDF4\uDDF7]|\uDDEC\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEE\uDDF1-\uDDF3\uDDF5-\uDDFA\uDDFC\uDDFE]|\uDDED\uD83C[\uDDF0\uDDF2\uDDF3\uDDF7\uDDF9\uDDFA]|\uDDEE\uD83C[\uDDE8-\uDDEA\uDDF1-\uDDF4\uDDF6-\uDDF9]|\uDDEF\uD83C[\uDDEA\uDDF2\uDDF4\uDDF5]|\uDDF0\uD83C[\uDDEA\uDDEC-\uDDEE\uDDF2\uDDF3\uDDF5\uDDF7\uDDFC\uDDFE\uDDFF]|\uDDF1\uD83C[\uDDE6-\uDDE8\uDDEE\uDDF0\uDDF7-\uDDFB\uDDFE]|\uDDF2\uD83C[\uDDE6\uDDE8-\uDDED\uDDF0-\uDDFF]|\uDDF3\uD83C[\uDDE6\uDDE8\uDDEA-\uDDEC\uDDEE\uDDF1\uDDF4\uDDF5\uDDF7\uDDFA\uDDFF]|\uDDF4\uD83C\uDDF2|\uDDF5\uD83C[\uDDE6\uDDEA-\uDDED\uDDF0-\uDDF3\uDDF7-\uDDF9\uDDFC\uDDFE]|\uDDF6\uD83C\uDDE6|\uDDF7\uD83C[\uDDEA\uDDF4\uDDF8\uDDFA\uDDFC]|\uDDF8\uD83C[\uDDE6-\uDDEA\uDDEC-\uDDF4\uDDF7-\uDDF9\uDDFB\uDDFD-\uDDFF]|\uDDF9\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDED\uDDEF-\uDDF4\uDDF7\uDDF9\uDDFB\uDDFC\uDDFF]|\uDDFA\uD83C[\uDDE6\uDDEC\uDDF2\uDDF3\uDDF8\uDDFE\uDDFF]|\uDDFB\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDEE\uDDF3\uDDFA]|\uDDFC\uD83C[\uDDEB\uDDF8]|\uDDFD\uD83C\uDDF0|\uDDFE\uD83C[\uDDEA\uDDF9]|\uDDFF\uD83C[\uDDE6\uDDF2\uDDFC]|\uDFF3\uFE0F?(?:\u200D(?:\u26A7\uFE0F?|\uD83C\uDF08))?|\uDFF4(?:\u200D\u2620\uFE0F?|\uDB40\uDC67\uDB40\uDC62\uDB40(?:\uDC65\uDB40\uDC6E\uDB40\uDC67|\uDC73\uDB40\uDC63\uDB40\uDC74|\uDC77\uDB40\uDC6C\uDB40\uDC73)\uDB40\uDC7F)?)|\uD83D(?:[\uDC08\uDC26](?:\u200D\u2B1B)?|[\uDC3F\uDCFD\uDD49\uDD4A\uDD6F\uDD70\uDD73\uDD76-\uDD79\uDD87\uDD8A-\uDD8D\uDDA5\uDDA8\uDDB1\uDDB2\uDDBC\uDDC2-\uDDC4\uDDD1-\uDDD3\uDDDC-\uDDDE\uDDE1\uDDE3\uDDE8\uDDEF\uDDF3\uDDFA\uDECB\uDECD-\uDECF\uDEE0-\uDEE5\uDEE9\uDEF0\uDEF3]\uFE0F?|[\uDC42\uDC43\uDC46-\uDC50\uDC66\uDC67\uDC6B-\uDC6D\uDC72\uDC74-\uDC76\uDC78\uDC7C\uDC83\uDC85\uDC8F\uDC91\uDCAA\uDD7A\uDD95\uDD96\uDE4C\uDE4F\uDEC0\uDECC](?:\uD83C[\uDFFB-\uDFFF])?|[\uDC6E\uDC70\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDD74\uDD90](?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?|[\uDC00-\uDC07\uDC09-\uDC14\uDC16-\uDC25\uDC27-\uDC3A\uDC3C-\uDC3E\uDC40\uDC44\uDC45\uDC51-\uDC65\uDC6A\uDC79-\uDC7B\uDC7D-\uDC80\uDC84\uDC88-\uDC8E\uDC90\uDC92-\uDCA9\uDCAB-\uDCFC\uDCFF-\uDD3D\uDD4B-\uDD4E\uDD50-\uDD67\uDDA4\uDDFB-\uDE2D\uDE2F-\uDE34\uDE37-\uDE44\uDE48-\uDE4A\uDE80-\uDEA2\uDEA4-\uDEB3\uDEB7-\uDEBF\uDEC1-\uDEC5\uDED0-\uDED2\uDED5-\uDED7\uDEDC-\uDEDF\uDEEB\uDEEC\uDEF4-\uDEFC\uDFE0-\uDFEB\uDFF0]|\uDC15(?:\u200D\uD83E\uDDBA)?|\uDC3B(?:\u200D\u2744\uFE0F?)?|\uDC41\uFE0F?(?:\u200D\uD83D\uDDE8\uFE0F?)?|\uDC68(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDC68\uDC69]\u200D\uD83D(?:\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?)|[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?)|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFC-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFD-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFD\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFE])))?))?|\uDC69(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?[\uDC68\uDC69]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?|\uDC69\u200D\uD83D(?:\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?))|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFC-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB\uDFFD-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB-\uDFFD\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB-\uDFFE])))?))?|\uDC6F(?:\u200D[\u2640\u2642]\uFE0F?)?|\uDD75(?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|\uDE2E(?:\u200D\uD83D\uDCA8)?|\uDE35(?:\u200D\uD83D\uDCAB)?|\uDE36(?:\u200D\uD83C\uDF2B\uFE0F?)?)|\uD83E(?:[\uDD0C\uDD0F\uDD18-\uDD1F\uDD30-\uDD34\uDD36\uDD77\uDDB5\uDDB6\uDDBB\uDDD2\uDDD3\uDDD5\uDEC3-\uDEC5\uDEF0\uDEF2-\uDEF8](?:\uD83C[\uDFFB-\uDFFF])?|[\uDD26\uDD35\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD-\uDDCF\uDDD4\uDDD6-\uDDDD](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDDDE\uDDDF](?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDD0D\uDD0E\uDD10-\uDD17\uDD20-\uDD25\uDD27-\uDD2F\uDD3A\uDD3F-\uDD45\uDD47-\uDD76\uDD78-\uDDB4\uDDB7\uDDBA\uDDBC-\uDDCC\uDDD0\uDDE0-\uDDFF\uDE70-\uDE7C\uDE80-\uDE88\uDE90-\uDEBD\uDEBF-\uDEC2\uDECE-\uDEDB\uDEE0-\uDEE8]|\uDD3C(?:\u200D[\u2640\u2642]\uFE0F?|\uD83C[\uDFFB-\uDFFF])?|\uDDD1(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83E\uDDD1))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFC-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB\uDFFD-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB-\uDFFD\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB-\uDFFE]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?))?|\uDEF1(?:\uD83C(?:\uDFFB(?:\u200D\uD83E\uDEF2\uD83C[\uDFFC-\uDFFF])?|\uDFFC(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB\uDFFD-\uDFFF])?|\uDFFD(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])?|\uDFFE(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB-\uDFFD\uDFFF])?|\uDFFF(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB-\uDFFE])?))?)/g; + return /[#*0-9]\uFE0F?\u20E3|[\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u231A\u231B\u2328\u23CF\u23ED-\u23EF\u23F1\u23F2\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB\u25FC\u25FE\u2600-\u2604\u260E\u2611\u2614\u2615\u2618\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638-\u263A\u2640\u2642\u2648-\u2653\u265F\u2660\u2663\u2665\u2666\u2668\u267B\u267E\u267F\u2692\u2694-\u2697\u2699\u269B\u269C\u26A0\u26A7\u26AA\u26B0\u26B1\u26BD\u26BE\u26C4\u26C8\u26CF\u26D1\u26E9\u26F0-\u26F5\u26F7\u26F8\u26FA\u2702\u2708\u2709\u270F\u2712\u2714\u2716\u271D\u2721\u2733\u2734\u2744\u2747\u2757\u2763\u27A1\u2934\u2935\u2B05-\u2B07\u2B1B\u2B1C\u2B55\u3030\u303D\u3297\u3299]\uFE0F?|[\u261D\u270C\u270D](?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?|[\u270A\u270B](?:\uD83C[\uDFFB-\uDFFF])?|[\u23E9-\u23EC\u23F0\u23F3\u25FD\u2693\u26A1\u26AB\u26C5\u26CE\u26D4\u26EA\u26FD\u2705\u2728\u274C\u274E\u2753-\u2755\u2795-\u2797\u27B0\u27BF\u2B50]|\u26D3\uFE0F?(?:\u200D\uD83D\uDCA5)?|\u26F9(?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|\u2764\uFE0F?(?:\u200D(?:\uD83D\uDD25|\uD83E\uDE79))?|\uD83C(?:[\uDC04\uDD70\uDD71\uDD7E\uDD7F\uDE02\uDE37\uDF21\uDF24-\uDF2C\uDF36\uDF7D\uDF96\uDF97\uDF99-\uDF9B\uDF9E\uDF9F\uDFCD\uDFCE\uDFD4-\uDFDF\uDFF5\uDFF7]\uFE0F?|[\uDF85\uDFC2\uDFC7](?:\uD83C[\uDFFB-\uDFFF])?|[\uDFC4\uDFCA](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDFCB\uDFCC](?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDCCF\uDD8E\uDD91-\uDD9A\uDE01\uDE1A\uDE2F\uDE32-\uDE36\uDE38-\uDE3A\uDE50\uDE51\uDF00-\uDF20\uDF2D-\uDF35\uDF37-\uDF43\uDF45-\uDF4A\uDF4C-\uDF7C\uDF7E-\uDF84\uDF86-\uDF93\uDFA0-\uDFC1\uDFC5\uDFC6\uDFC8\uDFC9\uDFCF-\uDFD3\uDFE0-\uDFF0\uDFF8-\uDFFF]|\uDDE6\uD83C[\uDDE8-\uDDEC\uDDEE\uDDF1\uDDF2\uDDF4\uDDF6-\uDDFA\uDDFC\uDDFD\uDDFF]|\uDDE7\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEF\uDDF1-\uDDF4\uDDF6-\uDDF9\uDDFB\uDDFC\uDDFE\uDDFF]|\uDDE8\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDEE\uDDF0-\uDDF5\uDDF7\uDDFA-\uDDFF]|\uDDE9\uD83C[\uDDEA\uDDEC\uDDEF\uDDF0\uDDF2\uDDF4\uDDFF]|\uDDEA\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDED\uDDF7-\uDDFA]|\uDDEB\uD83C[\uDDEE-\uDDF0\uDDF2\uDDF4\uDDF7]|\uDDEC\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEE\uDDF1-\uDDF3\uDDF5-\uDDFA\uDDFC\uDDFE]|\uDDED\uD83C[\uDDF0\uDDF2\uDDF3\uDDF7\uDDF9\uDDFA]|\uDDEE\uD83C[\uDDE8-\uDDEA\uDDF1-\uDDF4\uDDF6-\uDDF9]|\uDDEF\uD83C[\uDDEA\uDDF2\uDDF4\uDDF5]|\uDDF0\uD83C[\uDDEA\uDDEC-\uDDEE\uDDF2\uDDF3\uDDF5\uDDF7\uDDFC\uDDFE\uDDFF]|\uDDF1\uD83C[\uDDE6-\uDDE8\uDDEE\uDDF0\uDDF7-\uDDFB\uDDFE]|\uDDF2\uD83C[\uDDE6\uDDE8-\uDDED\uDDF0-\uDDFF]|\uDDF3\uD83C[\uDDE6\uDDE8\uDDEA-\uDDEC\uDDEE\uDDF1\uDDF4\uDDF5\uDDF7\uDDFA\uDDFF]|\uDDF4\uD83C\uDDF2|\uDDF5\uD83C[\uDDE6\uDDEA-\uDDED\uDDF0-\uDDF3\uDDF7-\uDDF9\uDDFC\uDDFE]|\uDDF6\uD83C\uDDE6|\uDDF7\uD83C[\uDDEA\uDDF4\uDDF8\uDDFA\uDDFC]|\uDDF8\uD83C[\uDDE6-\uDDEA\uDDEC-\uDDF4\uDDF7-\uDDF9\uDDFB\uDDFD-\uDDFF]|\uDDF9\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDED\uDDEF-\uDDF4\uDDF7\uDDF9\uDDFB\uDDFC\uDDFF]|\uDDFA\uD83C[\uDDE6\uDDEC\uDDF2\uDDF3\uDDF8\uDDFE\uDDFF]|\uDDFB\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDEE\uDDF3\uDDFA]|\uDDFC\uD83C[\uDDEB\uDDF8]|\uDDFD\uD83C\uDDF0|\uDDFE\uD83C[\uDDEA\uDDF9]|\uDDFF\uD83C[\uDDE6\uDDF2\uDDFC]|\uDF44(?:\u200D\uD83D\uDFEB)?|\uDF4B(?:\u200D\uD83D\uDFE9)?|\uDFC3(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?|\uDFF3\uFE0F?(?:\u200D(?:\u26A7\uFE0F?|\uD83C\uDF08))?|\uDFF4(?:\u200D\u2620\uFE0F?|\uDB40\uDC67\uDB40\uDC62\uDB40(?:\uDC65\uDB40\uDC6E\uDB40\uDC67|\uDC73\uDB40\uDC63\uDB40\uDC74|\uDC77\uDB40\uDC6C\uDB40\uDC73)\uDB40\uDC7F)?)|\uD83D(?:[\uDC3F\uDCFD\uDD49\uDD4A\uDD6F\uDD70\uDD73\uDD76-\uDD79\uDD87\uDD8A-\uDD8D\uDDA5\uDDA8\uDDB1\uDDB2\uDDBC\uDDC2-\uDDC4\uDDD1-\uDDD3\uDDDC-\uDDDE\uDDE1\uDDE3\uDDE8\uDDEF\uDDF3\uDDFA\uDECB\uDECD-\uDECF\uDEE0-\uDEE5\uDEE9\uDEF0\uDEF3]\uFE0F?|[\uDC42\uDC43\uDC46-\uDC50\uDC66\uDC67\uDC6B-\uDC6D\uDC72\uDC74-\uDC76\uDC78\uDC7C\uDC83\uDC85\uDC8F\uDC91\uDCAA\uDD7A\uDD95\uDD96\uDE4C\uDE4F\uDEC0\uDECC](?:\uD83C[\uDFFB-\uDFFF])?|[\uDC6E\uDC70\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4\uDEB5](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDD74\uDD90](?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?|[\uDC00-\uDC07\uDC09-\uDC14\uDC16-\uDC25\uDC27-\uDC3A\uDC3C-\uDC3E\uDC40\uDC44\uDC45\uDC51-\uDC65\uDC6A\uDC79-\uDC7B\uDC7D-\uDC80\uDC84\uDC88-\uDC8E\uDC90\uDC92-\uDCA9\uDCAB-\uDCFC\uDCFF-\uDD3D\uDD4B-\uDD4E\uDD50-\uDD67\uDDA4\uDDFB-\uDE2D\uDE2F-\uDE34\uDE37-\uDE41\uDE43\uDE44\uDE48-\uDE4A\uDE80-\uDEA2\uDEA4-\uDEB3\uDEB7-\uDEBF\uDEC1-\uDEC5\uDED0-\uDED2\uDED5-\uDED7\uDEDC-\uDEDF\uDEEB\uDEEC\uDEF4-\uDEFC\uDFE0-\uDFEB\uDFF0]|\uDC08(?:\u200D\u2B1B)?|\uDC15(?:\u200D\uD83E\uDDBA)?|\uDC26(?:\u200D(?:\u2B1B|\uD83D\uDD25))?|\uDC3B(?:\u200D\u2744\uFE0F?)?|\uDC41\uFE0F?(?:\u200D\uD83D\uDDE8\uFE0F?)?|\uDC68(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDC68\uDC69]\u200D\uD83D(?:\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?)|[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?)|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFC-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFD-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFD\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFE])))?))?|\uDC69(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?[\uDC68\uDC69]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?|\uDC69\u200D\uD83D(?:\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?))|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFC-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB\uDFFD-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB-\uDFFD\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB-\uDFFE])))?))?|\uDC6F(?:\u200D[\u2640\u2642]\uFE0F?)?|\uDD75(?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|\uDE2E(?:\u200D\uD83D\uDCA8)?|\uDE35(?:\u200D\uD83D\uDCAB)?|\uDE36(?:\u200D\uD83C\uDF2B\uFE0F?)?|\uDE42(?:\u200D[\u2194\u2195]\uFE0F?)?|\uDEB6(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?)|\uD83E(?:[\uDD0C\uDD0F\uDD18-\uDD1F\uDD30-\uDD34\uDD36\uDD77\uDDB5\uDDB6\uDDBB\uDDD2\uDDD3\uDDD5\uDEC3-\uDEC5\uDEF0\uDEF2-\uDEF8](?:\uD83C[\uDFFB-\uDFFF])?|[\uDD26\uDD35\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD\uDDCF\uDDD4\uDDD6-\uDDDD](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDDDE\uDDDF](?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDD0D\uDD0E\uDD10-\uDD17\uDD20-\uDD25\uDD27-\uDD2F\uDD3A\uDD3F-\uDD45\uDD47-\uDD76\uDD78-\uDDB4\uDDB7\uDDBA\uDDBC-\uDDCC\uDDD0\uDDE0-\uDDFF\uDE70-\uDE7C\uDE80-\uDE88\uDE90-\uDEBD\uDEBF-\uDEC2\uDECE-\uDEDB\uDEE0-\uDEE8]|\uDD3C(?:\u200D[\u2640\u2642]\uFE0F?|\uD83C[\uDFFB-\uDFFF])?|\uDDCE(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?|\uDDD1(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1|\uDDD1\u200D\uD83E\uDDD2(?:\u200D\uD83E\uDDD2)?|\uDDD2(?:\u200D\uD83E\uDDD2)?))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFC-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB\uDFFD-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB-\uDFFD\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB-\uDFFE]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?))?|\uDEF1(?:\uD83C(?:\uDFFB(?:\u200D\uD83E\uDEF2\uD83C[\uDFFC-\uDFFF])?|\uDFFC(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB\uDFFD-\uDFFF])?|\uDFFD(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])?|\uDFFE(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB-\uDFFD\uDFFF])?|\uDFFF(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB-\uDFFE])?))?)/g; }; -// node_modules/eastasianwidth/eastasianwidth.js -var eastasianwidth_default = { - eastAsianWidth(character) { - var x = character.charCodeAt(0); - var y = character.length == 2 ? character.charCodeAt(1) : 0; - var codePoint = x; - if (55296 <= x && x <= 56319 && 56320 <= y && y <= 57343) { - x &= 1023; - y &= 1023; - codePoint = x << 10 | y; - codePoint += 65536; - } - if (12288 == codePoint || 65281 <= codePoint && codePoint <= 65376 || 65504 <= codePoint && codePoint <= 65510) { - return "F"; - } - if (4352 <= codePoint && codePoint <= 4447 || 4515 <= codePoint && codePoint <= 4519 || 4602 <= codePoint && codePoint <= 4607 || 9001 <= codePoint && codePoint <= 9002 || 11904 <= codePoint && codePoint <= 11929 || 11931 <= codePoint && codePoint <= 12019 || 12032 <= codePoint && codePoint <= 12245 || 12272 <= codePoint && codePoint <= 12283 || 12289 <= codePoint && codePoint <= 12350 || 12353 <= codePoint && codePoint <= 12438 || 12441 <= codePoint && codePoint <= 12543 || 12549 <= codePoint && codePoint <= 12589 || 12593 <= codePoint && codePoint <= 12686 || 12688 <= codePoint && codePoint <= 12730 || 12736 <= codePoint && codePoint <= 12771 || 12784 <= codePoint && codePoint <= 12830 || 12832 <= codePoint && codePoint <= 12871 || 12880 <= codePoint && codePoint <= 13054 || 13056 <= codePoint && codePoint <= 19903 || 19968 <= codePoint && codePoint <= 42124 || 42128 <= codePoint && codePoint <= 42182 || 43360 <= codePoint && codePoint <= 43388 || 44032 <= codePoint && codePoint <= 55203 || 55216 <= codePoint && codePoint <= 55238 || 55243 <= codePoint && codePoint <= 55291 || 63744 <= codePoint && codePoint <= 64255 || 65040 <= codePoint && codePoint <= 65049 || 65072 <= codePoint && codePoint <= 65106 || 65108 <= codePoint && codePoint <= 65126 || 65128 <= codePoint && codePoint <= 65131 || 110592 <= codePoint && codePoint <= 110593 || 127488 <= codePoint && codePoint <= 127490 || 127504 <= codePoint && codePoint <= 127546 || 127552 <= codePoint && codePoint <= 127560 || 127568 <= codePoint && codePoint <= 127569 || 131072 <= codePoint && codePoint <= 194367 || 177984 <= codePoint && codePoint <= 196605 || 196608 <= codePoint && codePoint <= 262141) { - return "W"; - } - return "N"; - } -}; +// node_modules/get-east-asian-width/lookup.js +function isFullWidth(x) { + return x === 12288 || x >= 65281 && x <= 65376 || x >= 65504 && x <= 65510; +} +function isWide(x) { + return x >= 4352 && x <= 4447 || x === 8986 || x === 8987 || x === 9001 || x === 9002 || x >= 9193 && x <= 9196 || x === 9200 || x === 9203 || x === 9725 || x === 9726 || x === 9748 || x === 9749 || x >= 9800 && x <= 9811 || x === 9855 || x === 9875 || x === 9889 || x === 9898 || x === 9899 || x === 9917 || x === 9918 || x === 9924 || x === 9925 || x === 9934 || x === 9940 || x === 9962 || x === 9970 || x === 9971 || x === 9973 || x === 9978 || x === 9981 || x === 9989 || x === 9994 || x === 9995 || x === 10024 || x === 10060 || x === 10062 || x >= 10067 && x <= 10069 || x === 10071 || x >= 10133 && x <= 10135 || x === 10160 || x === 10175 || x === 11035 || x === 11036 || x === 11088 || x === 11093 || x >= 11904 && x <= 11929 || x >= 11931 && x <= 12019 || x >= 12032 && x <= 12245 || x >= 12272 && x <= 12287 || x >= 12289 && x <= 12350 || x >= 12353 && x <= 12438 || x >= 12441 && x <= 12543 || x >= 12549 && x <= 12591 || x >= 12593 && x <= 12686 || x >= 12688 && x <= 12771 || x >= 12783 && x <= 12830 || x >= 12832 && x <= 12871 || x >= 12880 && x <= 19903 || x >= 19968 && x <= 42124 || x >= 42128 && x <= 42182 || x >= 43360 && x <= 43388 || x >= 44032 && x <= 55203 || x >= 63744 && x <= 64255 || x >= 65040 && x <= 65049 || x >= 65072 && x <= 65106 || x >= 65108 && x <= 65126 || x >= 65128 && x <= 65131 || x >= 94176 && x <= 94180 || x === 94192 || x === 94193 || x >= 94208 && x <= 100343 || x >= 100352 && x <= 101589 || x >= 101632 && x <= 101640 || x >= 110576 && x <= 110579 || x >= 110581 && x <= 110587 || x === 110589 || x === 110590 || x >= 110592 && x <= 110882 || x === 110898 || x >= 110928 && x <= 110930 || x === 110933 || x >= 110948 && x <= 110951 || x >= 110960 && x <= 111355 || x === 126980 || x === 127183 || x === 127374 || x >= 127377 && x <= 127386 || x >= 127488 && x <= 127490 || x >= 127504 && x <= 127547 || x >= 127552 && x <= 127560 || x === 127568 || x === 127569 || x >= 127584 && x <= 127589 || x >= 127744 && x <= 127776 || x >= 127789 && x <= 127797 || x >= 127799 && x <= 127868 || x >= 127870 && x <= 127891 || x >= 127904 && x <= 127946 || x >= 127951 && x <= 127955 || x >= 127968 && x <= 127984 || x === 127988 || x >= 127992 && x <= 128062 || x === 128064 || x >= 128066 && x <= 128252 || x >= 128255 && x <= 128317 || x >= 128331 && x <= 128334 || x >= 128336 && x <= 128359 || x === 128378 || x === 128405 || x === 128406 || x === 128420 || x >= 128507 && x <= 128591 || x >= 128640 && x <= 128709 || x === 128716 || x >= 128720 && x <= 128722 || x >= 128725 && x <= 128727 || x >= 128732 && x <= 128735 || x === 128747 || x === 128748 || x >= 128756 && x <= 128764 || x >= 128992 && x <= 129003 || x === 129008 || x >= 129292 && x <= 129338 || x >= 129340 && x <= 129349 || x >= 129351 && x <= 129535 || x >= 129648 && x <= 129660 || x >= 129664 && x <= 129672 || x >= 129680 && x <= 129725 || x >= 129727 && x <= 129733 || x >= 129742 && x <= 129755 || x >= 129760 && x <= 129768 || x >= 129776 && x <= 129784 || x >= 131072 && x <= 196605 || x >= 196608 && x <= 262141; +} + +// node_modules/get-east-asian-width/index.js +var _isNarrowWidth = (codePoint) => !(isFullWidth(codePoint) || isWide(codePoint)); // src/utils/get-string-width.js -var notAsciiRegex = /[^\x20-\x7F]/; +var notAsciiRegex = /[^\x20-\x7F]/u; function getStringWidth(text) { if (!text) { return 0; @@ -372,23 +361,13 @@ function getStringWidth(text) { if (codePoint >= 768 && codePoint <= 879) { continue; } - const code = eastasianwidth_default.eastAsianWidth(character); - width += code === "F" || code === "W" ? 2 : 1; + width += _isNarrowWidth(codePoint) ? 1 : 2; } return width; } var get_string_width_default = getStringWidth; // src/document/utils.js -var getDocParts = (doc) => { - if (Array.isArray(doc)) { - return doc; - } - if (doc.type !== DOC_TYPE_FILL) { - throw new Error(`Expect doc to be 'array' or '${DOC_TYPE_FILL}'.`); - } - return doc.parts; -}; function mapDoc(doc, cb) { if (typeof doc === "string") { return cb(doc); @@ -489,7 +468,7 @@ function willBreak(doc) { function breakParentGroup(groupStack) { if (groupStack.length > 0) { const parentGroup = at_default( - /* isOptionalObject*/ + /* isOptionalObject */ false, groupStack, -1 @@ -546,12 +525,12 @@ function removeLines(doc) { function stripTrailingHardlineFromParts(parts) { parts = [...parts]; while (parts.length >= 2 && at_default( - /* isOptionalObject*/ + /* isOptionalObject */ false, parts, -2 ).type === DOC_TYPE_LINE && at_default( - /* isOptionalObject*/ + /* isOptionalObject */ false, parts, -1 @@ -560,7 +539,7 @@ function stripTrailingHardlineFromParts(parts) { } if (parts.length > 0) { const lastPart = stripTrailingHardlineFromDoc(at_default( - /* isOptionalObject*/ + /* isOptionalObject */ false, parts, -1 @@ -571,7 +550,6 @@ function stripTrailingHardlineFromParts(parts) { } function stripTrailingHardlineFromDoc(doc) { switch (get_doc_type_default(doc)) { - case DOC_TYPE_ALIGN: case DOC_TYPE_INDENT: case DOC_TYPE_INDENT_IF_BREAK: case DOC_TYPE_GROUP: @@ -597,7 +575,8 @@ function stripTrailingHardlineFromDoc(doc) { case DOC_TYPE_ARRAY: return stripTrailingHardlineFromParts(doc); case DOC_TYPE_STRING: - return doc.replace(/[\n\r]*$/, ""); + return doc.replace(/[\n\r]*$/u, ""); + case DOC_TYPE_ALIGN: case DOC_TYPE_CURSOR: case DOC_TYPE_TRIM: case DOC_TYPE_LINE_SUFFIX_BOUNDARY: @@ -648,7 +627,7 @@ function cleanDocFn(doc) { } const [currentPart, ...restParts] = Array.isArray(part) ? part : [part]; if (typeof currentPart === "string" && typeof at_default( - /* isOptionalObject*/ + /* isOptionalObject */ false, parts, -1 @@ -807,26 +786,25 @@ function trim2(out) { let trimCount = 0; let cursorCount = 0; let outIndex = out.length; - outer: - while (outIndex--) { - const last = out[outIndex]; - if (last === CURSOR_PLACEHOLDER) { - cursorCount++; - continue; - } - if (false) { - throw new Error(`Unexpected value in trim: '${typeof last}'`); - } - for (let charIndex = last.length - 1; charIndex >= 0; charIndex--) { - const char = last[charIndex]; - if (char === " " || char === " ") { - trimCount++; - } else { - out[outIndex] = last.slice(0, charIndex + 1); - break outer; - } + outer: while (outIndex--) { + const last = out[outIndex]; + if (last === CURSOR_PLACEHOLDER) { + cursorCount++; + continue; + } + if (false) { + throw new Error(`Unexpected value in trim: '${typeof last}'`); + } + for (let charIndex = last.length - 1; charIndex >= 0; charIndex--) { + const char = last[charIndex]; + if (char === " " || char === " ") { + trimCount++; + } else { + out[outIndex] = last.slice(0, charIndex + 1); + break outer; } } + } if (trimCount > 0 || cursorCount > 0) { out.length = outIndex + 1; while (cursorCount-- > 0) { @@ -854,14 +832,15 @@ function fits(next, restCommands, width, hasLineSuffix, groupModeMap, mustBeFlat mode, doc } = cmds.pop(); - switch (get_doc_type_default(doc)) { + const docType = get_doc_type_default(doc); + switch (docType) { case DOC_TYPE_STRING: out.push(doc); width -= get_string_width_default(doc); break; case DOC_TYPE_ARRAY: case DOC_TYPE_FILL: { - const parts = getDocParts(doc); + const parts = docType === DOC_TYPE_ARRAY ? doc : doc.parts; for (let i = parts.length - 1; i >= 0; i--) { cmds.push({ mode, @@ -888,7 +867,7 @@ function fits(next, restCommands, width, hasLineSuffix, groupModeMap, mustBeFlat } const groupMode = doc.break ? MODE_BREAK : mode; const contents = doc.expandedStates && groupMode === MODE_BREAK ? at_default( - /* isOptionalObject*/ + /* isOptionalObject */ false, doc.expandedStates, -1 @@ -955,7 +934,7 @@ function printDocToString(doc, options) { switch (get_doc_type_default(doc2)) { case DOC_TYPE_STRING: { const formatted = newLine !== "\n" ? string_replace_all_default( - /* isOptionalObject*/ + /* isOptionalObject */ false, doc2, "\n", @@ -1025,7 +1004,7 @@ function printDocToString(doc, options) { } else { if (doc2.expandedStates) { const mostExpanded = at_default( - /* isOptionalObject*/ + /* isOptionalObject */ false, doc2.expandedStates, -1 @@ -1073,7 +1052,7 @@ function printDocToString(doc, options) { } if (doc2.id) { groupModeMap[doc2.id] = at_default( - /* isOptionalObject*/ + /* isOptionalObject */ false, cmds, -1 diff --git a/node_modules/prettier/index.cjs b/node_modules/prettier/index.cjs index 053904e0b0..33d4097480 100644 --- a/node_modules/prettier/index.cjs +++ b/node_modules/prettier/index.cjs @@ -33,6 +33,42 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge )); var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod); +// src/utils/skip.js +function skip(characters) { + return (text, startIndex, options) => { + const backwards = Boolean(options == null ? void 0 : options.backwards); + if (startIndex === false) { + return false; + } + const { length } = text; + let cursor = startIndex; + while (cursor >= 0 && cursor < length) { + const character = text.charAt(cursor); + if (characters instanceof RegExp) { + if (!characters.test(character)) { + return cursor; + } + } else if (!characters.includes(character)) { + return cursor; + } + backwards ? cursor-- : cursor++; + } + if (cursor === -1 || cursor === length) { + return cursor; + } + return false; + }; +} +var skipWhitespace, skipSpaces, skipToLineEnd, skipEverythingButNewLine; +var init_skip = __esm({ + "src/utils/skip.js"() { + skipWhitespace = skip(/\s/u); + skipSpaces = skip(" "); + skipToLineEnd = skip(",; "); + skipEverythingButNewLine = skip(/[^\n\r]/u); + } +}); + // src/utils/skip-inline-comment.js function skipInlineComment(text, startIndex) { if (startIndex === false) { @@ -85,42 +121,6 @@ var init_skip_newline = __esm({ } }); -// src/utils/skip.js -function skip(characters) { - return (text, startIndex, options) => { - const backwards = Boolean(options == null ? void 0 : options.backwards); - if (startIndex === false) { - return false; - } - const { length } = text; - let cursor = startIndex; - while (cursor >= 0 && cursor < length) { - const character = text.charAt(cursor); - if (characters instanceof RegExp) { - if (!characters.test(character)) { - return cursor; - } - } else if (!characters.includes(character)) { - return cursor; - } - backwards ? cursor-- : cursor++; - } - if (cursor === -1 || cursor === length) { - return cursor; - } - return false; - }; -} -var skipWhitespace, skipSpaces, skipToLineEnd, skipEverythingButNewLine; -var init_skip = __esm({ - "src/utils/skip.js"() { - skipWhitespace = skip(/\s/); - skipSpaces = skip(" "); - skipToLineEnd = skip(",; "); - skipEverythingButNewLine = skip(/[^\n\r]/); - } -}); - // src/utils/skip-trailing-comment.js function skipTrailingComment(text, startIndex) { if (startIndex === false) { @@ -155,32 +155,14 @@ function getNextNonSpaceNonCommentCharacterIndex(text, startIndex) { var get_next_non_space_non_comment_character_index_default; var init_get_next_non_space_non_comment_character_index = __esm({ "src/utils/get-next-non-space-non-comment-character-index.js"() { + init_skip(); init_skip_inline_comment(); init_skip_newline(); init_skip_trailing_comment(); - init_skip(); get_next_non_space_non_comment_character_index_default = getNextNonSpaceNonCommentCharacterIndex; } }); -// src/utils/is-previous-line-empty.js -function isPreviousLineEmpty(text, startIndex) { - let idx = startIndex - 1; - idx = skipSpaces(text, idx, { backwards: true }); - idx = skip_newline_default(text, idx, { backwards: true }); - idx = skipSpaces(text, idx, { backwards: true }); - const idx2 = skip_newline_default(text, idx, { backwards: true }); - return idx !== idx2; -} -var is_previous_line_empty_default; -var init_is_previous_line_empty = __esm({ - "src/utils/is-previous-line-empty.js"() { - init_skip_newline(); - init_skip(); - is_previous_line_empty_default = isPreviousLineEmpty; - } -}); - // src/utils/has-newline.js function hasNewline(text, startIndex, options = {}) { const idx = skipSpaces( @@ -217,15 +199,112 @@ function isNextLineEmpty(text, startIndex) { var is_next_line_empty_default; var init_is_next_line_empty = __esm({ "src/utils/is-next-line-empty.js"() { - init_skip_newline(); + init_has_newline(); init_skip(); init_skip_inline_comment(); + init_skip_newline(); init_skip_trailing_comment(); - init_has_newline(); is_next_line_empty_default = isNextLineEmpty; } }); +// src/utils/is-previous-line-empty.js +function isPreviousLineEmpty(text, startIndex) { + let idx = startIndex - 1; + idx = skipSpaces(text, idx, { backwards: true }); + idx = skip_newline_default(text, idx, { backwards: true }); + idx = skipSpaces(text, idx, { backwards: true }); + const idx2 = skip_newline_default(text, idx, { backwards: true }); + return idx !== idx2; +} +var is_previous_line_empty_default; +var init_is_previous_line_empty = __esm({ + "src/utils/is-previous-line-empty.js"() { + init_skip(); + init_skip_newline(); + is_previous_line_empty_default = isPreviousLineEmpty; + } +}); + +// src/main/comments/utils.js +function describeNodeForDebugging(node) { + const nodeType = node.type || node.kind || "(unknown type)"; + let nodeName = String( + node.name || node.id && (typeof node.id === "object" ? node.id.name : node.id) || node.key && (typeof node.key === "object" ? node.key.name : node.key) || node.value && (typeof node.value === "object" ? "" : String(node.value)) || node.operator || "" + ); + if (nodeName.length > 20) { + nodeName = nodeName.slice(0, 19) + "\u2026"; + } + return nodeType + (nodeName ? " " + nodeName : ""); +} +function addCommentHelper(node, comment) { + const comments = node.comments ?? (node.comments = []); + comments.push(comment); + comment.printed = false; + comment.nodeDescription = describeNodeForDebugging(node); +} +function addLeadingComment(node, comment) { + comment.leading = true; + comment.trailing = false; + addCommentHelper(node, comment); +} +function addDanglingComment(node, comment, marker) { + comment.leading = false; + comment.trailing = false; + if (marker) { + comment.marker = marker; + } + addCommentHelper(node, comment); +} +function addTrailingComment(node, comment) { + comment.leading = false; + comment.trailing = true; + addCommentHelper(node, comment); +} +var init_utils = __esm({ + "src/main/comments/utils.js"() { + } +}); + +// src/utils/get-alignment-size.js +function getAlignmentSize(text, tabWidth, startIndex = 0) { + let size = 0; + for (let i = startIndex; i < text.length; ++i) { + if (text[i] === " ") { + size = size + tabWidth - size % tabWidth; + } else { + size++; + } + } + return size; +} +var get_alignment_size_default; +var init_get_alignment_size = __esm({ + "src/utils/get-alignment-size.js"() { + get_alignment_size_default = getAlignmentSize; + } +}); + +// src/utils/get-indent-size.js +function getIndentSize(value, tabWidth) { + const lastNewlineIndex = value.lastIndexOf("\n"); + if (lastNewlineIndex === -1) { + return 0; + } + return get_alignment_size_default( + // All the leading whitespaces + value.slice(lastNewlineIndex + 1).match(/^[\t ]*/u)[0], + tabWidth + ); +} +var get_indent_size_default; +var init_get_indent_size = __esm({ + "src/utils/get-indent-size.js"() { + init_get_alignment_size(); + get_indent_size_default = getIndentSize; + } +}); + // node_modules/escape-string-regexp/index.js function escapeStringRegexp(string) { if (typeof string !== "string") { @@ -241,7 +320,7 @@ var init_escape_string_regexp = __esm({ // src/utils/get-max-continuous-count.js function getMaxContinuousCount(text, searchString) { const results = text.match( - new RegExp(`(${escapeStringRegexp(searchString)})+`, "g") + new RegExp(`(${escapeStringRegexp(searchString)})+`, "gu") ); if (results === null) { return 0; @@ -259,40 +338,47 @@ var init_get_max_continuous_count = __esm({ } }); +// src/utils/get-next-non-space-non-comment-character.js +function getNextNonSpaceNonCommentCharacter(text, startIndex) { + const index = get_next_non_space_non_comment_character_index_default(text, startIndex); + return index === false ? "" : text.charAt(index); +} +var get_next_non_space_non_comment_character_default; +var init_get_next_non_space_non_comment_character = __esm({ + "src/utils/get-next-non-space-non-comment-character.js"() { + init_get_next_non_space_non_comment_character_index(); + get_next_non_space_non_comment_character_default = getNextNonSpaceNonCommentCharacter; + } +}); + // node_modules/emoji-regex/index.mjs var emoji_regex_default; var init_emoji_regex = __esm({ "node_modules/emoji-regex/index.mjs"() { emoji_regex_default = () => { - return /[#*0-9]\uFE0F?\u20E3|[\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u231A\u231B\u2328\u23CF\u23ED-\u23EF\u23F1\u23F2\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB\u25FC\u25FE\u2600-\u2604\u260E\u2611\u2614\u2615\u2618\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638-\u263A\u2640\u2642\u2648-\u2653\u265F\u2660\u2663\u2665\u2666\u2668\u267B\u267E\u267F\u2692\u2694-\u2697\u2699\u269B\u269C\u26A0\u26A7\u26AA\u26B0\u26B1\u26BD\u26BE\u26C4\u26C8\u26CF\u26D1\u26D3\u26E9\u26F0-\u26F5\u26F7\u26F8\u26FA\u2702\u2708\u2709\u270F\u2712\u2714\u2716\u271D\u2721\u2733\u2734\u2744\u2747\u2757\u2763\u27A1\u2934\u2935\u2B05-\u2B07\u2B1B\u2B1C\u2B55\u3030\u303D\u3297\u3299]\uFE0F?|[\u261D\u270C\u270D](?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?|[\u270A\u270B](?:\uD83C[\uDFFB-\uDFFF])?|[\u23E9-\u23EC\u23F0\u23F3\u25FD\u2693\u26A1\u26AB\u26C5\u26CE\u26D4\u26EA\u26FD\u2705\u2728\u274C\u274E\u2753-\u2755\u2795-\u2797\u27B0\u27BF\u2B50]|\u26F9(?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|\u2764\uFE0F?(?:\u200D(?:\uD83D\uDD25|\uD83E\uDE79))?|\uD83C(?:[\uDC04\uDD70\uDD71\uDD7E\uDD7F\uDE02\uDE37\uDF21\uDF24-\uDF2C\uDF36\uDF7D\uDF96\uDF97\uDF99-\uDF9B\uDF9E\uDF9F\uDFCD\uDFCE\uDFD4-\uDFDF\uDFF5\uDFF7]\uFE0F?|[\uDF85\uDFC2\uDFC7](?:\uD83C[\uDFFB-\uDFFF])?|[\uDFC3\uDFC4\uDFCA](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDFCB\uDFCC](?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\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]|\uDDE6\uD83C[\uDDE8-\uDDEC\uDDEE\uDDF1\uDDF2\uDDF4\uDDF6-\uDDFA\uDDFC\uDDFD\uDDFF]|\uDDE7\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEF\uDDF1-\uDDF4\uDDF6-\uDDF9\uDDFB\uDDFC\uDDFE\uDDFF]|\uDDE8\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDEE\uDDF0-\uDDF5\uDDF7\uDDFA-\uDDFF]|\uDDE9\uD83C[\uDDEA\uDDEC\uDDEF\uDDF0\uDDF2\uDDF4\uDDFF]|\uDDEA\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDED\uDDF7-\uDDFA]|\uDDEB\uD83C[\uDDEE-\uDDF0\uDDF2\uDDF4\uDDF7]|\uDDEC\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEE\uDDF1-\uDDF3\uDDF5-\uDDFA\uDDFC\uDDFE]|\uDDED\uD83C[\uDDF0\uDDF2\uDDF3\uDDF7\uDDF9\uDDFA]|\uDDEE\uD83C[\uDDE8-\uDDEA\uDDF1-\uDDF4\uDDF6-\uDDF9]|\uDDEF\uD83C[\uDDEA\uDDF2\uDDF4\uDDF5]|\uDDF0\uD83C[\uDDEA\uDDEC-\uDDEE\uDDF2\uDDF3\uDDF5\uDDF7\uDDFC\uDDFE\uDDFF]|\uDDF1\uD83C[\uDDE6-\uDDE8\uDDEE\uDDF0\uDDF7-\uDDFB\uDDFE]|\uDDF2\uD83C[\uDDE6\uDDE8-\uDDED\uDDF0-\uDDFF]|\uDDF3\uD83C[\uDDE6\uDDE8\uDDEA-\uDDEC\uDDEE\uDDF1\uDDF4\uDDF5\uDDF7\uDDFA\uDDFF]|\uDDF4\uD83C\uDDF2|\uDDF5\uD83C[\uDDE6\uDDEA-\uDDED\uDDF0-\uDDF3\uDDF7-\uDDF9\uDDFC\uDDFE]|\uDDF6\uD83C\uDDE6|\uDDF7\uD83C[\uDDEA\uDDF4\uDDF8\uDDFA\uDDFC]|\uDDF8\uD83C[\uDDE6-\uDDEA\uDDEC-\uDDF4\uDDF7-\uDDF9\uDDFB\uDDFD-\uDDFF]|\uDDF9\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDED\uDDEF-\uDDF4\uDDF7\uDDF9\uDDFB\uDDFC\uDDFF]|\uDDFA\uD83C[\uDDE6\uDDEC\uDDF2\uDDF3\uDDF8\uDDFE\uDDFF]|\uDDFB\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDEE\uDDF3\uDDFA]|\uDDFC\uD83C[\uDDEB\uDDF8]|\uDDFD\uD83C\uDDF0|\uDDFE\uD83C[\uDDEA\uDDF9]|\uDDFF\uD83C[\uDDE6\uDDF2\uDDFC]|\uDFF3\uFE0F?(?:\u200D(?:\u26A7\uFE0F?|\uD83C\uDF08))?|\uDFF4(?:\u200D\u2620\uFE0F?|\uDB40\uDC67\uDB40\uDC62\uDB40(?:\uDC65\uDB40\uDC6E\uDB40\uDC67|\uDC73\uDB40\uDC63\uDB40\uDC74|\uDC77\uDB40\uDC6C\uDB40\uDC73)\uDB40\uDC7F)?)|\uD83D(?:[\uDC08\uDC26](?:\u200D\u2B1B)?|[\uDC3F\uDCFD\uDD49\uDD4A\uDD6F\uDD70\uDD73\uDD76-\uDD79\uDD87\uDD8A-\uDD8D\uDDA5\uDDA8\uDDB1\uDDB2\uDDBC\uDDC2-\uDDC4\uDDD1-\uDDD3\uDDDC-\uDDDE\uDDE1\uDDE3\uDDE8\uDDEF\uDDF3\uDDFA\uDECB\uDECD-\uDECF\uDEE0-\uDEE5\uDEE9\uDEF0\uDEF3]\uFE0F?|[\uDC42\uDC43\uDC46-\uDC50\uDC66\uDC67\uDC6B-\uDC6D\uDC72\uDC74-\uDC76\uDC78\uDC7C\uDC83\uDC85\uDC8F\uDC91\uDCAA\uDD7A\uDD95\uDD96\uDE4C\uDE4F\uDEC0\uDECC](?:\uD83C[\uDFFB-\uDFFF])?|[\uDC6E\uDC70\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDD74\uDD90](?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?|[\uDC00-\uDC07\uDC09-\uDC14\uDC16-\uDC25\uDC27-\uDC3A\uDC3C-\uDC3E\uDC40\uDC44\uDC45\uDC51-\uDC65\uDC6A\uDC79-\uDC7B\uDC7D-\uDC80\uDC84\uDC88-\uDC8E\uDC90\uDC92-\uDCA9\uDCAB-\uDCFC\uDCFF-\uDD3D\uDD4B-\uDD4E\uDD50-\uDD67\uDDA4\uDDFB-\uDE2D\uDE2F-\uDE34\uDE37-\uDE44\uDE48-\uDE4A\uDE80-\uDEA2\uDEA4-\uDEB3\uDEB7-\uDEBF\uDEC1-\uDEC5\uDED0-\uDED2\uDED5-\uDED7\uDEDC-\uDEDF\uDEEB\uDEEC\uDEF4-\uDEFC\uDFE0-\uDFEB\uDFF0]|\uDC15(?:\u200D\uD83E\uDDBA)?|\uDC3B(?:\u200D\u2744\uFE0F?)?|\uDC41\uFE0F?(?:\u200D\uD83D\uDDE8\uFE0F?)?|\uDC68(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDC68\uDC69]\u200D\uD83D(?:\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?)|[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?)|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFC-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFD-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFD\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFE])))?))?|\uDC69(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?[\uDC68\uDC69]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?|\uDC69\u200D\uD83D(?:\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?))|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFC-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB\uDFFD-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB-\uDFFD\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB-\uDFFE])))?))?|\uDC6F(?:\u200D[\u2640\u2642]\uFE0F?)?|\uDD75(?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|\uDE2E(?:\u200D\uD83D\uDCA8)?|\uDE35(?:\u200D\uD83D\uDCAB)?|\uDE36(?:\u200D\uD83C\uDF2B\uFE0F?)?)|\uD83E(?:[\uDD0C\uDD0F\uDD18-\uDD1F\uDD30-\uDD34\uDD36\uDD77\uDDB5\uDDB6\uDDBB\uDDD2\uDDD3\uDDD5\uDEC3-\uDEC5\uDEF0\uDEF2-\uDEF8](?:\uD83C[\uDFFB-\uDFFF])?|[\uDD26\uDD35\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD-\uDDCF\uDDD4\uDDD6-\uDDDD](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDDDE\uDDDF](?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDD0D\uDD0E\uDD10-\uDD17\uDD20-\uDD25\uDD27-\uDD2F\uDD3A\uDD3F-\uDD45\uDD47-\uDD76\uDD78-\uDDB4\uDDB7\uDDBA\uDDBC-\uDDCC\uDDD0\uDDE0-\uDDFF\uDE70-\uDE7C\uDE80-\uDE88\uDE90-\uDEBD\uDEBF-\uDEC2\uDECE-\uDEDB\uDEE0-\uDEE8]|\uDD3C(?:\u200D[\u2640\u2642]\uFE0F?|\uD83C[\uDFFB-\uDFFF])?|\uDDD1(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83E\uDDD1))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFC-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB\uDFFD-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB-\uDFFD\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB-\uDFFE]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?))?|\uDEF1(?:\uD83C(?:\uDFFB(?:\u200D\uD83E\uDEF2\uD83C[\uDFFC-\uDFFF])?|\uDFFC(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB\uDFFD-\uDFFF])?|\uDFFD(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])?|\uDFFE(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB-\uDFFD\uDFFF])?|\uDFFF(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB-\uDFFE])?))?)/g; + return /[#*0-9]\uFE0F?\u20E3|[\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u231A\u231B\u2328\u23CF\u23ED-\u23EF\u23F1\u23F2\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB\u25FC\u25FE\u2600-\u2604\u260E\u2611\u2614\u2615\u2618\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638-\u263A\u2640\u2642\u2648-\u2653\u265F\u2660\u2663\u2665\u2666\u2668\u267B\u267E\u267F\u2692\u2694-\u2697\u2699\u269B\u269C\u26A0\u26A7\u26AA\u26B0\u26B1\u26BD\u26BE\u26C4\u26C8\u26CF\u26D1\u26E9\u26F0-\u26F5\u26F7\u26F8\u26FA\u2702\u2708\u2709\u270F\u2712\u2714\u2716\u271D\u2721\u2733\u2734\u2744\u2747\u2757\u2763\u27A1\u2934\u2935\u2B05-\u2B07\u2B1B\u2B1C\u2B55\u3030\u303D\u3297\u3299]\uFE0F?|[\u261D\u270C\u270D](?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?|[\u270A\u270B](?:\uD83C[\uDFFB-\uDFFF])?|[\u23E9-\u23EC\u23F0\u23F3\u25FD\u2693\u26A1\u26AB\u26C5\u26CE\u26D4\u26EA\u26FD\u2705\u2728\u274C\u274E\u2753-\u2755\u2795-\u2797\u27B0\u27BF\u2B50]|\u26D3\uFE0F?(?:\u200D\uD83D\uDCA5)?|\u26F9(?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|\u2764\uFE0F?(?:\u200D(?:\uD83D\uDD25|\uD83E\uDE79))?|\uD83C(?:[\uDC04\uDD70\uDD71\uDD7E\uDD7F\uDE02\uDE37\uDF21\uDF24-\uDF2C\uDF36\uDF7D\uDF96\uDF97\uDF99-\uDF9B\uDF9E\uDF9F\uDFCD\uDFCE\uDFD4-\uDFDF\uDFF5\uDFF7]\uFE0F?|[\uDF85\uDFC2\uDFC7](?:\uD83C[\uDFFB-\uDFFF])?|[\uDFC4\uDFCA](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDFCB\uDFCC](?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDCCF\uDD8E\uDD91-\uDD9A\uDE01\uDE1A\uDE2F\uDE32-\uDE36\uDE38-\uDE3A\uDE50\uDE51\uDF00-\uDF20\uDF2D-\uDF35\uDF37-\uDF43\uDF45-\uDF4A\uDF4C-\uDF7C\uDF7E-\uDF84\uDF86-\uDF93\uDFA0-\uDFC1\uDFC5\uDFC6\uDFC8\uDFC9\uDFCF-\uDFD3\uDFE0-\uDFF0\uDFF8-\uDFFF]|\uDDE6\uD83C[\uDDE8-\uDDEC\uDDEE\uDDF1\uDDF2\uDDF4\uDDF6-\uDDFA\uDDFC\uDDFD\uDDFF]|\uDDE7\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEF\uDDF1-\uDDF4\uDDF6-\uDDF9\uDDFB\uDDFC\uDDFE\uDDFF]|\uDDE8\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDEE\uDDF0-\uDDF5\uDDF7\uDDFA-\uDDFF]|\uDDE9\uD83C[\uDDEA\uDDEC\uDDEF\uDDF0\uDDF2\uDDF4\uDDFF]|\uDDEA\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDED\uDDF7-\uDDFA]|\uDDEB\uD83C[\uDDEE-\uDDF0\uDDF2\uDDF4\uDDF7]|\uDDEC\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEE\uDDF1-\uDDF3\uDDF5-\uDDFA\uDDFC\uDDFE]|\uDDED\uD83C[\uDDF0\uDDF2\uDDF3\uDDF7\uDDF9\uDDFA]|\uDDEE\uD83C[\uDDE8-\uDDEA\uDDF1-\uDDF4\uDDF6-\uDDF9]|\uDDEF\uD83C[\uDDEA\uDDF2\uDDF4\uDDF5]|\uDDF0\uD83C[\uDDEA\uDDEC-\uDDEE\uDDF2\uDDF3\uDDF5\uDDF7\uDDFC\uDDFE\uDDFF]|\uDDF1\uD83C[\uDDE6-\uDDE8\uDDEE\uDDF0\uDDF7-\uDDFB\uDDFE]|\uDDF2\uD83C[\uDDE6\uDDE8-\uDDED\uDDF0-\uDDFF]|\uDDF3\uD83C[\uDDE6\uDDE8\uDDEA-\uDDEC\uDDEE\uDDF1\uDDF4\uDDF5\uDDF7\uDDFA\uDDFF]|\uDDF4\uD83C\uDDF2|\uDDF5\uD83C[\uDDE6\uDDEA-\uDDED\uDDF0-\uDDF3\uDDF7-\uDDF9\uDDFC\uDDFE]|\uDDF6\uD83C\uDDE6|\uDDF7\uD83C[\uDDEA\uDDF4\uDDF8\uDDFA\uDDFC]|\uDDF8\uD83C[\uDDE6-\uDDEA\uDDEC-\uDDF4\uDDF7-\uDDF9\uDDFB\uDDFD-\uDDFF]|\uDDF9\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDED\uDDEF-\uDDF4\uDDF7\uDDF9\uDDFB\uDDFC\uDDFF]|\uDDFA\uD83C[\uDDE6\uDDEC\uDDF2\uDDF3\uDDF8\uDDFE\uDDFF]|\uDDFB\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDEE\uDDF3\uDDFA]|\uDDFC\uD83C[\uDDEB\uDDF8]|\uDDFD\uD83C\uDDF0|\uDDFE\uD83C[\uDDEA\uDDF9]|\uDDFF\uD83C[\uDDE6\uDDF2\uDDFC]|\uDF44(?:\u200D\uD83D\uDFEB)?|\uDF4B(?:\u200D\uD83D\uDFE9)?|\uDFC3(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?|\uDFF3\uFE0F?(?:\u200D(?:\u26A7\uFE0F?|\uD83C\uDF08))?|\uDFF4(?:\u200D\u2620\uFE0F?|\uDB40\uDC67\uDB40\uDC62\uDB40(?:\uDC65\uDB40\uDC6E\uDB40\uDC67|\uDC73\uDB40\uDC63\uDB40\uDC74|\uDC77\uDB40\uDC6C\uDB40\uDC73)\uDB40\uDC7F)?)|\uD83D(?:[\uDC3F\uDCFD\uDD49\uDD4A\uDD6F\uDD70\uDD73\uDD76-\uDD79\uDD87\uDD8A-\uDD8D\uDDA5\uDDA8\uDDB1\uDDB2\uDDBC\uDDC2-\uDDC4\uDDD1-\uDDD3\uDDDC-\uDDDE\uDDE1\uDDE3\uDDE8\uDDEF\uDDF3\uDDFA\uDECB\uDECD-\uDECF\uDEE0-\uDEE5\uDEE9\uDEF0\uDEF3]\uFE0F?|[\uDC42\uDC43\uDC46-\uDC50\uDC66\uDC67\uDC6B-\uDC6D\uDC72\uDC74-\uDC76\uDC78\uDC7C\uDC83\uDC85\uDC8F\uDC91\uDCAA\uDD7A\uDD95\uDD96\uDE4C\uDE4F\uDEC0\uDECC](?:\uD83C[\uDFFB-\uDFFF])?|[\uDC6E\uDC70\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4\uDEB5](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDD74\uDD90](?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?|[\uDC00-\uDC07\uDC09-\uDC14\uDC16-\uDC25\uDC27-\uDC3A\uDC3C-\uDC3E\uDC40\uDC44\uDC45\uDC51-\uDC65\uDC6A\uDC79-\uDC7B\uDC7D-\uDC80\uDC84\uDC88-\uDC8E\uDC90\uDC92-\uDCA9\uDCAB-\uDCFC\uDCFF-\uDD3D\uDD4B-\uDD4E\uDD50-\uDD67\uDDA4\uDDFB-\uDE2D\uDE2F-\uDE34\uDE37-\uDE41\uDE43\uDE44\uDE48-\uDE4A\uDE80-\uDEA2\uDEA4-\uDEB3\uDEB7-\uDEBF\uDEC1-\uDEC5\uDED0-\uDED2\uDED5-\uDED7\uDEDC-\uDEDF\uDEEB\uDEEC\uDEF4-\uDEFC\uDFE0-\uDFEB\uDFF0]|\uDC08(?:\u200D\u2B1B)?|\uDC15(?:\u200D\uD83E\uDDBA)?|\uDC26(?:\u200D(?:\u2B1B|\uD83D\uDD25))?|\uDC3B(?:\u200D\u2744\uFE0F?)?|\uDC41\uFE0F?(?:\u200D\uD83D\uDDE8\uFE0F?)?|\uDC68(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDC68\uDC69]\u200D\uD83D(?:\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?)|[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?)|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFC-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFD-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFD\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFE])))?))?|\uDC69(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?[\uDC68\uDC69]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?|\uDC69\u200D\uD83D(?:\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?))|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFC-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB\uDFFD-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB-\uDFFD\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB-\uDFFE])))?))?|\uDC6F(?:\u200D[\u2640\u2642]\uFE0F?)?|\uDD75(?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|\uDE2E(?:\u200D\uD83D\uDCA8)?|\uDE35(?:\u200D\uD83D\uDCAB)?|\uDE36(?:\u200D\uD83C\uDF2B\uFE0F?)?|\uDE42(?:\u200D[\u2194\u2195]\uFE0F?)?|\uDEB6(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?)|\uD83E(?:[\uDD0C\uDD0F\uDD18-\uDD1F\uDD30-\uDD34\uDD36\uDD77\uDDB5\uDDB6\uDDBB\uDDD2\uDDD3\uDDD5\uDEC3-\uDEC5\uDEF0\uDEF2-\uDEF8](?:\uD83C[\uDFFB-\uDFFF])?|[\uDD26\uDD35\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD\uDDCF\uDDD4\uDDD6-\uDDDD](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDDDE\uDDDF](?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDD0D\uDD0E\uDD10-\uDD17\uDD20-\uDD25\uDD27-\uDD2F\uDD3A\uDD3F-\uDD45\uDD47-\uDD76\uDD78-\uDDB4\uDDB7\uDDBA\uDDBC-\uDDCC\uDDD0\uDDE0-\uDDFF\uDE70-\uDE7C\uDE80-\uDE88\uDE90-\uDEBD\uDEBF-\uDEC2\uDECE-\uDEDB\uDEE0-\uDEE8]|\uDD3C(?:\u200D[\u2640\u2642]\uFE0F?|\uD83C[\uDFFB-\uDFFF])?|\uDDCE(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?|\uDDD1(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1|\uDDD1\u200D\uD83E\uDDD2(?:\u200D\uD83E\uDDD2)?|\uDDD2(?:\u200D\uD83E\uDDD2)?))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFC-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB\uDFFD-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB-\uDFFD\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB-\uDFFE]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?))?|\uDEF1(?:\uD83C(?:\uDFFB(?:\u200D\uD83E\uDEF2\uD83C[\uDFFC-\uDFFF])?|\uDFFC(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB\uDFFD-\uDFFF])?|\uDFFD(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])?|\uDFFE(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB-\uDFFD\uDFFF])?|\uDFFF(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB-\uDFFE])?))?)/g; }; } }); -// node_modules/eastasianwidth/eastasianwidth.js -var eastasianwidth_default; -var init_eastasianwidth = __esm({ - "node_modules/eastasianwidth/eastasianwidth.js"() { - eastasianwidth_default = { - eastAsianWidth(character) { - var x = character.charCodeAt(0); - var y = character.length == 2 ? character.charCodeAt(1) : 0; - var codePoint = x; - if (55296 <= x && x <= 56319 && 56320 <= y && y <= 57343) { - x &= 1023; - y &= 1023; - codePoint = x << 10 | y; - codePoint += 65536; - } - if (12288 == codePoint || 65281 <= codePoint && codePoint <= 65376 || 65504 <= codePoint && codePoint <= 65510) { - return "F"; - } - if (4352 <= codePoint && codePoint <= 4447 || 4515 <= codePoint && codePoint <= 4519 || 4602 <= codePoint && codePoint <= 4607 || 9001 <= codePoint && codePoint <= 9002 || 11904 <= codePoint && codePoint <= 11929 || 11931 <= codePoint && codePoint <= 12019 || 12032 <= codePoint && codePoint <= 12245 || 12272 <= codePoint && codePoint <= 12283 || 12289 <= codePoint && codePoint <= 12350 || 12353 <= codePoint && codePoint <= 12438 || 12441 <= codePoint && codePoint <= 12543 || 12549 <= codePoint && codePoint <= 12589 || 12593 <= codePoint && codePoint <= 12686 || 12688 <= codePoint && codePoint <= 12730 || 12736 <= codePoint && codePoint <= 12771 || 12784 <= codePoint && codePoint <= 12830 || 12832 <= codePoint && codePoint <= 12871 || 12880 <= codePoint && codePoint <= 13054 || 13056 <= codePoint && codePoint <= 19903 || 19968 <= codePoint && codePoint <= 42124 || 42128 <= codePoint && codePoint <= 42182 || 43360 <= codePoint && codePoint <= 43388 || 44032 <= codePoint && codePoint <= 55203 || 55216 <= codePoint && codePoint <= 55238 || 55243 <= codePoint && codePoint <= 55291 || 63744 <= codePoint && codePoint <= 64255 || 65040 <= codePoint && codePoint <= 65049 || 65072 <= codePoint && codePoint <= 65106 || 65108 <= codePoint && codePoint <= 65126 || 65128 <= codePoint && codePoint <= 65131 || 110592 <= codePoint && codePoint <= 110593 || 127488 <= codePoint && codePoint <= 127490 || 127504 <= codePoint && codePoint <= 127546 || 127552 <= codePoint && codePoint <= 127560 || 127568 <= codePoint && codePoint <= 127569 || 131072 <= codePoint && codePoint <= 194367 || 177984 <= codePoint && codePoint <= 196605 || 196608 <= codePoint && codePoint <= 262141) { - return "W"; - } - return "N"; - } - }; +// node_modules/get-east-asian-width/lookup.js +function isFullWidth(x) { + return x === 12288 || x >= 65281 && x <= 65376 || x >= 65504 && x <= 65510; +} +function isWide(x) { + return x >= 4352 && x <= 4447 || x === 8986 || x === 8987 || x === 9001 || x === 9002 || x >= 9193 && x <= 9196 || x === 9200 || x === 9203 || x === 9725 || x === 9726 || x === 9748 || x === 9749 || x >= 9800 && x <= 9811 || x === 9855 || x === 9875 || x === 9889 || x === 9898 || x === 9899 || x === 9917 || x === 9918 || x === 9924 || x === 9925 || x === 9934 || x === 9940 || x === 9962 || x === 9970 || x === 9971 || x === 9973 || x === 9978 || x === 9981 || x === 9989 || x === 9994 || x === 9995 || x === 10024 || x === 10060 || x === 10062 || x >= 10067 && x <= 10069 || x === 10071 || x >= 10133 && x <= 10135 || x === 10160 || x === 10175 || x === 11035 || x === 11036 || x === 11088 || x === 11093 || x >= 11904 && x <= 11929 || x >= 11931 && x <= 12019 || x >= 12032 && x <= 12245 || x >= 12272 && x <= 12287 || x >= 12289 && x <= 12350 || x >= 12353 && x <= 12438 || x >= 12441 && x <= 12543 || x >= 12549 && x <= 12591 || x >= 12593 && x <= 12686 || x >= 12688 && x <= 12771 || x >= 12783 && x <= 12830 || x >= 12832 && x <= 12871 || x >= 12880 && x <= 19903 || x >= 19968 && x <= 42124 || x >= 42128 && x <= 42182 || x >= 43360 && x <= 43388 || x >= 44032 && x <= 55203 || x >= 63744 && x <= 64255 || x >= 65040 && x <= 65049 || x >= 65072 && x <= 65106 || x >= 65108 && x <= 65126 || x >= 65128 && x <= 65131 || x >= 94176 && x <= 94180 || x === 94192 || x === 94193 || x >= 94208 && x <= 100343 || x >= 100352 && x <= 101589 || x >= 101632 && x <= 101640 || x >= 110576 && x <= 110579 || x >= 110581 && x <= 110587 || x === 110589 || x === 110590 || x >= 110592 && x <= 110882 || x === 110898 || x >= 110928 && x <= 110930 || x === 110933 || x >= 110948 && x <= 110951 || x >= 110960 && x <= 111355 || x === 126980 || x === 127183 || x === 127374 || x >= 127377 && x <= 127386 || x >= 127488 && x <= 127490 || x >= 127504 && x <= 127547 || x >= 127552 && x <= 127560 || x === 127568 || x === 127569 || x >= 127584 && x <= 127589 || x >= 127744 && x <= 127776 || x >= 127789 && x <= 127797 || x >= 127799 && x <= 127868 || x >= 127870 && x <= 127891 || x >= 127904 && x <= 127946 || x >= 127951 && x <= 127955 || x >= 127968 && x <= 127984 || x === 127988 || x >= 127992 && x <= 128062 || x === 128064 || x >= 128066 && x <= 128252 || x >= 128255 && x <= 128317 || x >= 128331 && x <= 128334 || x >= 128336 && x <= 128359 || x === 128378 || x === 128405 || x === 128406 || x === 128420 || x >= 128507 && x <= 128591 || x >= 128640 && x <= 128709 || x === 128716 || x >= 128720 && x <= 128722 || x >= 128725 && x <= 128727 || x >= 128732 && x <= 128735 || x === 128747 || x === 128748 || x >= 128756 && x <= 128764 || x >= 128992 && x <= 129003 || x === 129008 || x >= 129292 && x <= 129338 || x >= 129340 && x <= 129349 || x >= 129351 && x <= 129535 || x >= 129648 && x <= 129660 || x >= 129664 && x <= 129672 || x >= 129680 && x <= 129725 || x >= 129727 && x <= 129733 || x >= 129742 && x <= 129755 || x >= 129760 && x <= 129768 || x >= 129776 && x <= 129784 || x >= 131072 && x <= 196605 || x >= 196608 && x <= 262141; +} +var init_lookup = __esm({ + "node_modules/get-east-asian-width/lookup.js"() { + } +}); + +// node_modules/get-east-asian-width/index.js +var _isNarrowWidth; +var init_get_east_asian_width = __esm({ + "node_modules/get-east-asian-width/index.js"() { + init_lookup(); + _isNarrowWidth = (codePoint) => !(isFullWidth(codePoint) || isWide(codePoint)); } }); @@ -314,8 +400,7 @@ function getStringWidth(text) { if (codePoint >= 768 && codePoint <= 879) { continue; } - const code = eastasianwidth_default.eastAsianWidth(character); - width += code === "F" || code === "W" ? 2 : 1; + width += _isNarrowWidth(codePoint) ? 1 : 2; } return width; } @@ -323,51 +408,12 @@ var notAsciiRegex, get_string_width_default; var init_get_string_width = __esm({ "src/utils/get-string-width.js"() { init_emoji_regex(); - init_eastasianwidth(); - notAsciiRegex = /[^\x20-\x7F]/; + init_get_east_asian_width(); + notAsciiRegex = /[^\x20-\x7F]/u; get_string_width_default = getStringWidth; } }); -// src/utils/get-alignment-size.js -function getAlignmentSize(text, tabWidth, startIndex = 0) { - let size = 0; - for (let i = startIndex; i < text.length; ++i) { - if (text[i] === " ") { - size = size + tabWidth - size % tabWidth; - } else { - size++; - } - } - return size; -} -var get_alignment_size_default; -var init_get_alignment_size = __esm({ - "src/utils/get-alignment-size.js"() { - get_alignment_size_default = getAlignmentSize; - } -}); - -// src/utils/get-indent-size.js -function getIndentSize(value, tabWidth) { - const lastNewlineIndex = value.lastIndexOf("\n"); - if (lastNewlineIndex === -1) { - return 0; - } - return get_alignment_size_default( - // All the leading whitespaces - value.slice(lastNewlineIndex + 1).match(/^[\t ]*/)[0], - tabWidth - ); -} -var get_indent_size_default; -var init_get_indent_size = __esm({ - "src/utils/get-indent-size.js"() { - init_get_alignment_size(); - get_indent_size_default = getIndentSize; - } -}); - // src/utils/has-newline-in-range.js function hasNewlineInRange(text, startIndex, endIndex) { for (let i = startIndex; i < endIndex; ++i) { @@ -401,19 +447,6 @@ var init_has_spaces = __esm({ } }); -// src/utils/get-next-non-space-non-comment-character.js -function getNextNonSpaceNonCommentCharacter(text, startIndex) { - const index = get_next_non_space_non_comment_character_index_default(text, startIndex); - return index === false ? "" : text.charAt(index); -} -var get_next_non_space_non_comment_character_default; -var init_get_next_non_space_non_comment_character = __esm({ - "src/utils/get-next-non-space-non-comment-character.js"() { - init_get_next_non_space_non_comment_character_index(); - get_next_non_space_non_comment_character_default = getNextNonSpaceNonCommentCharacter; - } -}); - // scripts/build/shims/string-replace-all.js var stringReplaceAll, string_replace_all_default; var init_string_replace_all = __esm({ @@ -437,9 +470,9 @@ var init_string_replace_all = __esm({ // src/utils/make-string.js function makeString(rawText, enclosingQuote, unescapeUnnecessaryEscapes) { const otherQuote = enclosingQuote === '"' ? "'" : '"'; - const regex = /\\(.)|(["'])/gs; + const regex = /\\(.)|(["'])/gsu; const raw = string_replace_all_default( - /* isOptionalObject*/ + /* isOptionalObject */ false, rawText, regex, @@ -453,7 +486,7 @@ function makeString(rawText, enclosingQuote, unescapeUnnecessaryEscapes) { if (quote) { return quote; } - return unescapeUnnecessaryEscapes && /^[^\n\r"'0-7\\bfnrt-vx\u2028\u2029]$/.test(escaped) ? escaped : "\\" + escaped; + return unescapeUnnecessaryEscapes && /^[^\n\r"'0-7\\bfnrt-vx\u2028\u2029]$/u.test(escaped) ? escaped : "\\" + escaped; } ); return enclosingQuote + raw + enclosingQuote; @@ -466,46 +499,6 @@ var init_make_string = __esm({ } }); -// src/main/comments/utils.js -function describeNodeForDebugging(node) { - const nodeType = node.type || node.kind || "(unknown type)"; - let nodeName = String( - node.name || node.id && (typeof node.id === "object" ? node.id.name : node.id) || node.key && (typeof node.key === "object" ? node.key.name : node.key) || node.value && (typeof node.value === "object" ? "" : String(node.value)) || node.operator || "" - ); - if (nodeName.length > 20) { - nodeName = nodeName.slice(0, 19) + "\u2026"; - } - return nodeType + (nodeName ? " " + nodeName : ""); -} -function addCommentHelper(node, comment) { - const comments = node.comments ?? (node.comments = []); - comments.push(comment); - comment.printed = false; - comment.nodeDescription = describeNodeForDebugging(node); -} -function addLeadingComment(node, comment) { - comment.leading = true; - comment.trailing = false; - addCommentHelper(node, comment); -} -function addDanglingComment(node, comment, marker) { - comment.leading = false; - comment.trailing = false; - if (marker) { - comment.marker = marker; - } - addCommentHelper(node, comment); -} -function addTrailingComment(node, comment) { - comment.leading = false; - comment.trailing = true; - addCommentHelper(node, comment); -} -var init_utils = __esm({ - "src/main/comments/utils.js"() { - } -}); - // src/utils/public.js var public_exports = {}; __export(public_exports, { @@ -570,29 +563,29 @@ function isNextLineEmpty2(text, startIndex) { var init_public = __esm({ "src/utils/public.js"() { init_get_next_non_space_non_comment_character_index(); - init_is_previous_line_empty(); init_is_next_line_empty(); - init_get_max_continuous_count(); - init_get_string_width(); + init_is_previous_line_empty(); + init_utils(); init_get_alignment_size(); init_get_indent_size(); - init_skip_newline(); - init_skip_inline_comment(); - init_skip_trailing_comment(); + init_get_max_continuous_count(); + init_get_next_non_space_non_comment_character(); + init_get_string_width(); init_has_newline(); init_has_newline_in_range(); init_has_spaces(); - init_get_next_non_space_non_comment_character(); init_make_string(); init_skip(); - init_utils(); + init_skip_inline_comment(); + init_skip_newline(); + init_skip_trailing_comment(); } }); // src/main/version.evaluate.cjs var require_version_evaluate = __commonJS({ "src/main/version.evaluate.cjs"(exports2, module2) { - module2.exports = "3.0.0"; + module2.exports = "3.3.3"; } }); diff --git a/node_modules/prettier/index.d.ts b/node_modules/prettier/index.d.ts index f2f5e91012..c664336811 100644 --- a/node_modules/prettier/index.d.ts +++ b/node_modules/prettier/index.d.ts @@ -33,15 +33,14 @@ type ArrayElement = T extends Array ? E : never; // A union of the properties of the given object that are arrays. type ArrayProperties = { - [K in keyof T]: NonNullable extends any[] ? K : never; + [K in keyof T]: NonNullable extends readonly any[] ? K : never; }[keyof T]; // A union of the properties of the given array T that can be used to index it. // If the array is a tuple, then that's going to be the explicit indices of the // array, otherwise it's going to just be number. -type IndexProperties = IsTuple extends true - ? Exclude["length"], T["length"]> - : number; +type IndexProperties = + IsTuple extends true ? Exclude["length"], T["length"]> : number; // Effectively performing T[P], except that it's telling TypeScript that it's // safe to do this for tuples, arrays, or objects. @@ -50,8 +49,8 @@ type IndexValue = T extends any[] ? T[P] : never : P extends keyof T - ? T[P] - : never; + ? T[P] + : never; // Determines if an object T is an array like string[] (in which case this // evaluates to false) or a tuple like [string] (in which case this evaluates to @@ -60,8 +59,8 @@ type IndexValue = T extends any[] type IsTuple = T extends [] ? true : T extends [infer First, ...infer Remain] - ? IsTuple - : false; + ? IsTuple + : false; type CallProperties = T extends any[] ? IndexProperties : keyof T; type IterProperties = T extends any[] @@ -72,12 +71,12 @@ type CallCallback = (path: AstPath, index: number, value: any) => U; type EachCallback = ( path: AstPath>, index: number, - value: any + value: any, ) => void; type MapCallback = ( path: AstPath>, index: number, - value: any + value: any, ) => U; // https://github.com/prettier/prettier/blob/next/src/common/ast-path.js @@ -136,18 +135,18 @@ export class AstPath { call(callback: CallCallback): U; call>( callback: CallCallback, U>, - prop1: P1 + prop1: P1, ): U; call>( callback: CallCallback, P2>, U>, prop1: P1, - prop2: P2 + prop2: P2, ): U; call< U, P1 extends keyof T, P2 extends CallProperties, - P3 extends CallProperties> + P3 extends CallProperties>, >( callback: CallCallback< IndexValue, P2>, P3>, @@ -155,14 +154,14 @@ export class AstPath { >, prop1: P1, prop2: P2, - prop3: P3 + prop3: P3, ): U; call< U, P1 extends keyof T, P2 extends CallProperties, P3 extends CallProperties>, - P4 extends CallProperties, P3>> + P4 extends CallProperties, P3>>, >( callback: CallCallback< IndexValue, P2>, P3>, P4>, @@ -171,7 +170,7 @@ export class AstPath { prop1: P1, prop2: P2, prop3: P3, - prop4: P4 + prop4: P4, ): U; call( callback: CallCallback, @@ -185,28 +184,28 @@ export class AstPath { each(callback: EachCallback): void; each>( callback: EachCallback>, - prop1: P1 + prop1: P1, ): void; each>( callback: EachCallback, P2>>, prop1: P1, - prop2: P2 + prop2: P2, ): void; each< P1 extends keyof T, P2 extends IterProperties, - P3 extends IterProperties> + P3 extends IterProperties>, >( callback: EachCallback, P2>, P3>>, prop1: P1, prop2: P2, - prop3: P3 + prop3: P3, ): void; each< P1 extends keyof T, P2 extends IterProperties, P3 extends IterProperties>, - P4 extends IterProperties, P3>> + P4 extends IterProperties, P3>>, >( callback: EachCallback< IndexValue, P2>, P3>, P4> @@ -214,7 +213,7 @@ export class AstPath { prop1: P1, prop2: P2, prop3: P3, - prop4: P4 + prop4: P4, ): void; each( callback: EachCallback, @@ -228,30 +227,30 @@ export class AstPath { map(callback: MapCallback): U[]; map>( callback: MapCallback, U>, - prop1: P1 + prop1: P1, ): U[]; map>( callback: MapCallback, P2>, U>, prop1: P1, - prop2: P2 + prop2: P2, ): U[]; map< U, P1 extends keyof T, P2 extends IterProperties, - P3 extends IterProperties> + P3 extends IterProperties>, >( callback: MapCallback, P2>, P3>, U>, prop1: P1, prop2: P2, - prop3: P3 + prop3: P3, ): U[]; map< U, P1 extends keyof T, P2 extends IterProperties, P3 extends IterProperties>, - P4 extends IterProperties, P3>> + P4 extends IterProperties, P3>>, >( callback: MapCallback< IndexValue, P2>, P3>, P4>, @@ -260,7 +259,7 @@ export class AstPath { prop1: P1, prop2: P2, prop3: P3, - prop4: P4 + prop4: P4, ): U[]; map( callback: MapCallback, @@ -291,6 +290,7 @@ export type BuiltInParserName = | "json-stringify" | "json" | "json5" + | "jsonc" | "less" | "lwc" | "markdown" @@ -302,11 +302,6 @@ export type BuiltInParserName = | "yaml"; export type BuiltInParsers = Record; -export type CustomParser = ( - text: string, - options: Options -) => AST | Promise; - /** * For use in `.prettierrc.js`, `.prettierrc.cjs`, `prettierrc.mjs`, `prettier.config.js`, `prettier.config.cjs`, `prettier.config.mjs` */ @@ -352,12 +347,6 @@ export interface RequiredOptions extends doc.printer.Options { * @default false */ bracketSameLine: boolean; - /** - * Put the `>` of a multi-line JSX element at the end of the last line instead of being alone on the next line. - * @default false - * @deprecated use bracketSameLine instead - */ - jsxBracketSameLine: boolean; /** * Format only a segment of a file. * @default 0 @@ -371,7 +360,7 @@ export interface RequiredOptions extends doc.printer.Options { /** * Specify which parser to use. */ - parser: LiteralUnion | CustomParser; + parser: LiteralUnion; /** * Specify the input filepath. This will be used to do parser inference. */ @@ -435,6 +424,22 @@ export interface RequiredOptions extends doc.printer.Options { * @default false */ singleAttributePerLine: boolean; + /** + * Use curious ternaries, with the question mark after the condition, instead + * of on the same line as the consequent. + * @default false + */ + experimentalTernaries: boolean; + /** + * Put the `>` of a multi-line JSX element at the end of the last line instead of being alone on the next line. + * @default false + * @deprecated use bracketSameLine instead + */ + jsxBracketSameLine?: boolean; + /** + * Arbitrary additional values on an options object are always allowed. + */ + [_: string]: unknown; } export interface ParserOptions extends RequiredOptions { @@ -467,31 +472,36 @@ export interface Printer { path: AstPath, options: ParserOptions, print: (path: AstPath) => Doc, - args?: unknown + args?: unknown, ): Doc; embed?: | (( path: AstPath, - options: Options + options: Options, ) => | (( textToDoc: (text: string, options: Options) => Promise, print: ( - selector?: string | number | Array | AstPath + selector?: string | number | Array | AstPath, ) => Doc, path: AstPath, - options: Options + options: Options, ) => Promise | Doc | undefined) | Doc | null) | undefined; + preprocess?: + | ((ast: T, options: ParserOptions) => T | Promise) + | undefined; insertPragma?: (text: string) => string; /** * @returns `null` if you want to remove this node - * @returns `void` if you want to use modified newNode + * @returns `void` if you want to use modified `cloned` * @returns anything if you want to replace the node with it */ - massageAstNode?: ((node: any, newNode: any, parent: any) => any) | undefined; + massageAstNode?: + | ((original: any, cloned: any, parent: any) => any) + | undefined; hasPrettierIgnore?: ((path: AstPath) => boolean) | undefined; canAttachComment?: ((node: T) => boolean) | undefined; isBlockComment?: ((node: T) => boolean) | undefined; @@ -517,7 +527,7 @@ export interface Printer { text: string, options: ParserOptions, ast: T, - isLastComment: boolean + isLastComment: boolean, ) => boolean) | undefined; endOfLine?: @@ -526,7 +536,7 @@ export interface Printer { text: string, options: ParserOptions, ast: T, - isLastComment: boolean + isLastComment: boolean, ) => boolean) | undefined; remaining?: @@ -535,11 +545,14 @@ export interface Printer { text: string, options: ParserOptions, ast: T, - isLastComment: boolean + isLastComment: boolean, ) => boolean) | undefined; } | undefined; + getVisitorKeys?: + | ((node: T, nonTraversableKeys: Set) => string[]) + | undefined; } export interface CursorOptions extends Options { @@ -547,8 +560,6 @@ export interface CursorOptions extends Options { * Specify where the cursor is. */ cursorOffset: number; - rangeStart?: never; - rangeEnd?: never; } export interface CursorResult { @@ -571,15 +582,13 @@ export function check(source: string, options?: Options): Promise; * `formatWithCursor` both formats the code, and translates a cursor position from unformatted code to formatted code. * This is useful for editor integrations, to prevent the cursor from moving when code is formatted. * - * The `cursorOffset` option should be provided, to specify where the cursor is. This option cannot be used with `rangeStart` and `rangeEnd`. + * The `cursorOffset` option should be provided, to specify where the cursor is. */ export function formatWithCursor( source: string, - options: CursorOptions + options: CursorOptions, ): Promise; -export function formatAST(ast: any, options?: Options): Promise; - export interface ResolveConfigOptions { /** * If set to `false`, all caching will be bypassed. @@ -603,9 +612,8 @@ export interface ResolveConfigOptions { /** * `resolveConfig` can be used to resolve configuration for a given source file, - * passing its path as the first argument. The config search will start at the - * file path and continue to search up the directory. - * (You can use `process.cwd()` to start searching from the current directory). + * passing its path or url as the first argument. The config search will start at + * the directory of the file location and continue to search up the directory. * * A promise is returned which will resolve to: * @@ -615,8 +623,8 @@ export interface ResolveConfigOptions { * The promise will be rejected if there was an error parsing the configuration file. */ export function resolveConfig( - filePath: string, - options?: ResolveConfigOptions + fileUrlOrPath: string | URL, + options?: ResolveConfigOptions, ): Promise; /** @@ -630,7 +638,9 @@ export function resolveConfig( * * The promise will be rejected if there was an error parsing the configuration file. */ -export function resolveConfigFile(filePath?: string): Promise; +export function resolveConfigFile( + fileUrlOrPath?: string | URL, +): Promise; /** * As you repeatedly call `resolveConfig`, the file system structure will be cached for performance. This function will clear the cache. @@ -779,9 +789,9 @@ export interface SupportInfo { } export interface FileInfoOptions { - ignorePath?: string | string[] | undefined; + ignorePath?: string | URL | (string | URL)[] | undefined; withNodeModules?: boolean | undefined; - plugins?: string[] | undefined; + plugins?: Array | undefined; resolveConfig?: boolean | undefined; } @@ -791,14 +801,21 @@ export interface FileInfoResult { } export function getFileInfo( - filePath: string, - options?: FileInfoOptions + file: string | URL, + options?: FileInfoOptions, ): Promise; +export interface SupportInfoOptions { + plugins?: Array | undefined; + showDeprecated?: boolean | undefined; +} + /** * Returns an object representing the parsers, languages and file types Prettier supports for the current version. */ -export function getSupportInfo(): Promise; +export function getSupportInfo( + options?: SupportInfoOptions, +): Promise; /** * `version` field in `package.json` @@ -820,7 +837,7 @@ export namespace util { function getAlignmentSize( text: string, tabWidth: number, - startIndex?: number | undefined + startIndex?: number | undefined, ): number; function getIndentSize(value: string, tabWidth: number): number; @@ -828,83 +845,92 @@ export namespace util { function skipNewline( text: string, startIndex: number | false, - options?: SkipOptions | undefined + options?: SkipOptions | undefined, ): number | false; function skipInlineComment( text: string, - startIndex: number | false + startIndex: number | false, ): number | false; function skipTrailingComment( text: string, - startIndex: number | false + startIndex: number | false, ): number | false; function skipTrailingComment( text: string, - startIndex: number | false + startIndex: number | false, ): number | false; function hasNewline( text: string, startIndex: number, - options?: SkipOptions | undefined + options?: SkipOptions | undefined, ): boolean; function hasNewlineInRange( text: string, startIndex: number, - endIndex: number + endIndex: number, ): boolean; function hasSpaces( text: string, startIndex: number, - options?: SkipOptions | undefined + options?: SkipOptions | undefined, ): boolean; + function getNextNonSpaceNonCommentCharacterIndex( + text: string, + startIndex: number, + ): number | false; + function getNextNonSpaceNonCommentCharacter( text: string, - startIndex: number + startIndex: number, ): string; + function isNextLineEmpty(text: string, startIndex: number): boolean; + + function isPreviousLineEmpty(text: string, startIndex: number): boolean; + function makeString( rawText: string, enclosingQuote: Quote, - unescapeUnnecessaryEscapes?: boolean | undefined + unescapeUnnecessaryEscapes?: boolean | undefined, ): string; function skip( - characters: string | RegExp + characters: string | RegExp, ): ( text: string, startIndex: number | false, - options?: SkipOptions + options?: SkipOptions, ) => number | false; const skipWhitespace: ( text: string, startIndex: number | false, - options?: SkipOptions + options?: SkipOptions, ) => number | false; const skipSpaces: ( text: string, startIndex: number | false, - options?: SkipOptions + options?: SkipOptions, ) => number | false; const skipToLineEnd: ( text: string, startIndex: number | false, - options?: SkipOptions + options?: SkipOptions, ) => number | false; const skipEverythingButNewLine: ( text: string, startIndex: number | false, - options?: SkipOptions + options?: SkipOptions, ) => number | false; function addLeadingComment(node: any, comment: any): void; diff --git a/node_modules/prettier/index.mjs b/node_modules/prettier/index.mjs index cf96231d09..ccf0bd28c2 100644 --- a/node_modules/prettier/index.mjs +++ b/node_modules/prettier/index.mjs @@ -11,11 +11,14 @@ var __getOwnPropDesc = Object.getOwnPropertyDescriptor; var __getOwnPropNames = Object.getOwnPropertyNames; var __getProtoOf = Object.getPrototypeOf; var __hasOwnProp = Object.prototype.hasOwnProperty; +var __typeError = (msg) => { + throw TypeError(msg); +}; +var __defNormalProp = (obj, key2, value) => key2 in obj ? __defProp(obj, key2, { enumerable: true, configurable: true, writable: true, value }) : obj[key2] = value; var __require = /* @__PURE__ */ ((x) => typeof require !== "undefined" ? require : typeof Proxy !== "undefined" ? new Proxy(x, { get: (a, b) => (typeof require !== "undefined" ? require : a)[b] }) : x)(function(x) { - if (typeof require !== "undefined") - return require.apply(this, arguments); + if (typeof require !== "undefined") return require.apply(this, arguments); throw Error('Dynamic require of "' + x + '" is not supported'); }); var __esm = (fn, res) => function __init() { @@ -30,9 +33,9 @@ var __export = (target, all) => { }; var __copyProps = (to, from, except, desc) => { if (from && typeof from === "object" || typeof from === "function") { - for (let key of __getOwnPropNames(from)) - if (!__hasOwnProp.call(to, key) && key !== except) - __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable }); + for (let key2 of __getOwnPropNames(from)) + if (!__hasOwnProp.call(to, key2) && key2 !== except) + __defProp(to, key2, { get: () => from[key2], enumerable: !(desc = __getOwnPropDesc(from, key2)) || desc.enumerable }); } return to; }; @@ -45,5576 +48,2864 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge mod )); var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod); -var __accessCheck = (obj, member, msg) => { - if (!member.has(obj)) - throw TypeError("Cannot " + msg); -}; -var __privateAdd = (obj, member, value) => { - if (member.has(obj)) - throw TypeError("Cannot add the same private member more than once"); - member instanceof WeakSet ? member.add(obj) : member.set(obj, value); -}; -var __privateMethod = (obj, member, method) => { - __accessCheck(obj, member, "access private method"); - return method; -}; +var __publicField = (obj, key2, value) => __defNormalProp(obj, typeof key2 !== "symbol" ? key2 + "" : key2, value); +var __accessCheck = (obj, member, msg) => member.has(obj) || __typeError("Cannot " + msg); +var __privateGet = (obj, member, getter) => (__accessCheck(obj, member, "read from private field"), getter ? getter.call(obj) : member.get(obj)); +var __privateAdd = (obj, member, value) => member.has(obj) ? __typeError("Cannot add the same private member more than once") : member instanceof WeakSet ? member.add(obj) : member.set(obj, value); +var __privateSet = (obj, member, value, setter) => (__accessCheck(obj, member, "write to private field"), setter ? setter.call(obj, value) : member.set(obj, value), value); +var __privateMethod = (obj, member, method) => (__accessCheck(obj, member, "access private method"), method); -// node_modules/vnopts/node_modules/tslib/tslib.es6.js -var tslib_es6_exports = {}; -__export(tslib_es6_exports, { - __assign: () => __assign, - __asyncDelegator: () => __asyncDelegator, - __asyncGenerator: () => __asyncGenerator, - __asyncValues: () => __asyncValues, - __await: () => __await, - __awaiter: () => __awaiter, - __classPrivateFieldGet: () => __classPrivateFieldGet, - __classPrivateFieldSet: () => __classPrivateFieldSet, - __createBinding: () => __createBinding, - __decorate: () => __decorate, - __exportStar: () => __exportStar, - __extends: () => __extends, - __generator: () => __generator, - __importDefault: () => __importDefault, - __importStar: () => __importStar, - __makeTemplateObject: () => __makeTemplateObject, - __metadata: () => __metadata, - __param: () => __param, - __read: () => __read, - __rest: () => __rest, - __spread: () => __spread, - __spreadArrays: () => __spreadArrays, - __values: () => __values -}); -function __extends(d, b) { - extendStatics(d, b); - function __() { - this.constructor = d; - } - d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); -} -function __rest(s, e) { - var t = {}; - for (var p in s) - if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) - t[p] = s[p]; - if (s != null && typeof Object.getOwnPropertySymbols === "function") - for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) { - if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) - t[p[i]] = s[p[i]]; - } - return t; -} -function __decorate(decorators, target, key, desc) { - var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; - if (typeof Reflect === "object" && typeof Reflect.decorate === "function") - r = Reflect.decorate(decorators, target, key, desc); - 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; - return c > 3 && r && Object.defineProperty(target, key, r), r; -} -function __param(paramIndex, decorator) { - return function(target, key) { - decorator(target, key, paramIndex); - }; -} -function __metadata(metadataKey, metadataValue) { - if (typeof Reflect === "object" && typeof Reflect.metadata === "function") - return Reflect.metadata(metadataKey, metadataValue); -} -function __awaiter(thisArg, _arguments, P, generator) { - function adopt(value) { - return value instanceof P ? value : new P(function(resolve2) { - resolve2(value); - }); - } - return new (P || (P = Promise))(function(resolve2, reject) { - function fulfilled(value) { - try { - step(generator.next(value)); - } catch (e) { - reject(e); - } - } - function rejected(value) { - try { - step(generator["throw"](value)); - } catch (e) { - reject(e); - } - } - function step(result) { - result.done ? resolve2(result.value) : adopt(result.value).then(fulfilled, rejected); +// node_modules/fast-glob/out/utils/array.js +var require_array = __commonJS({ + "node_modules/fast-glob/out/utils/array.js"(exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { value: true }); + exports.splitWhen = exports.flatten = void 0; + function flatten(items) { + return items.reduce((collection, item) => [].concat(collection, item), []); } - step((generator = generator.apply(thisArg, _arguments || [])).next()); - }); -} -function __generator(thisArg, body) { - var _ = { label: 0, sent: function() { - if (t[0] & 1) - throw t[1]; - return t[1]; - }, trys: [], ops: [] }, f, y, t, g; - return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { - return this; - }), g; - function verb(n) { - return function(v) { - return step([n, v]); - }; - } - function step(op) { - if (f) - throw new TypeError("Generator is already executing."); - while (_) - try { - 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; - if (y = 0, t) - op = [op[0] & 2, t.value]; - switch (op[0]) { - case 0: - case 1: - t = op; - break; - case 4: - _.label++; - return { value: op[1], done: false }; - case 5: - _.label++; - y = op[1]; - op = [0]; - continue; - case 7: - op = _.ops.pop(); - _.trys.pop(); - continue; - default: - if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { - _ = 0; - continue; - } - if (op[0] === 3 && (!t || op[1] > t[0] && op[1] < t[3])) { - _.label = op[1]; - break; - } - if (op[0] === 6 && _.label < t[1]) { - _.label = t[1]; - t = op; - break; - } - if (t && _.label < t[2]) { - _.label = t[2]; - _.ops.push(op); - break; - } - if (t[2]) - _.ops.pop(); - _.trys.pop(); - continue; + exports.flatten = flatten; + function splitWhen(items, predicate) { + const result = [[]]; + let groupIndex = 0; + for (const item of items) { + if (predicate(item)) { + groupIndex++; + result[groupIndex] = []; + } else { + result[groupIndex].push(item); } - op = body.call(thisArg, _); - } catch (e) { - op = [6, e]; - y = 0; - } finally { - f = t = 0; - } - if (op[0] & 5) - throw op[1]; - return { value: op[0] ? op[1] : void 0, done: true }; - } -} -function __createBinding(o, m, k, k2) { - if (k2 === void 0) - k2 = k; - o[k2] = m[k]; -} -function __exportStar(m, exports) { - for (var p in m) - if (p !== "default" && !exports.hasOwnProperty(p)) - exports[p] = m[p]; -} -function __values(o) { - var s = typeof Symbol === "function" && Symbol.iterator, m = s && o[s], i = 0; - if (m) - return m.call(o); - if (o && typeof o.length === "number") - return { - next: function() { - if (o && i >= o.length) - o = void 0; - return { value: o && o[i++], done: !o }; } - }; - throw new TypeError(s ? "Object is not iterable." : "Symbol.iterator is not defined."); -} -function __read(o, n) { - var m = typeof Symbol === "function" && o[Symbol.iterator]; - if (!m) - return o; - var i = m.call(o), r, ar = [], e; - try { - while ((n === void 0 || n-- > 0) && !(r = i.next()).done) - ar.push(r.value); - } catch (error) { - e = { error }; - } finally { - try { - if (r && !r.done && (m = i["return"])) - m.call(i); - } finally { - if (e) - throw e.error; - } - } - return ar; -} -function __spread() { - for (var ar = [], i = 0; i < arguments.length; i++) - ar = ar.concat(__read(arguments[i])); - return ar; -} -function __spreadArrays() { - for (var s = 0, i = 0, il = arguments.length; i < il; i++) - s += arguments[i].length; - for (var r = Array(s), k = 0, i = 0; i < il; i++) - for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++) - r[k] = a[j]; - return r; -} -function __await(v) { - return this instanceof __await ? (this.v = v, this) : new __await(v); -} -function __asyncGenerator(thisArg, _arguments, generator) { - if (!Symbol.asyncIterator) - throw new TypeError("Symbol.asyncIterator is not defined."); - var g = generator.apply(thisArg, _arguments || []), i, q = []; - return i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function() { - return this; - }, i; - 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); - }); - }; - } - function resume(n, v) { - try { - step(g[n](v)); - } catch (e) { - settle(q[0][3], e); - } - } - function step(r) { - r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); - } - function fulfill(value) { - resume("next", value); - } - function reject(value) { - resume("throw", value); - } - function settle(f, v) { - if (f(v), q.shift(), q.length) - resume(q[0][0], q[0][1]); - } -} -function __asyncDelegator(o) { - var i, p; - return i = {}, verb("next"), verb("throw", function(e) { - throw e; - }), verb("return"), i[Symbol.iterator] = function() { - return this; - }, i; - 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; - } -} -function __asyncValues(o) { - if (!Symbol.asyncIterator) - throw new TypeError("Symbol.asyncIterator is not defined."); - var m = o[Symbol.asyncIterator], i; - 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); - function verb(n) { - i[n] = o[n] && function(v) { - return new Promise(function(resolve2, reject) { - v = o[n](v), settle(resolve2, reject, v.done, v.value); - }); - }; - } - function settle(resolve2, reject, d, v) { - Promise.resolve(v).then(function(v2) { - resolve2({ value: v2, done: d }); - }, reject); - } -} -function __makeTemplateObject(cooked, raw) { - if (Object.defineProperty) { - Object.defineProperty(cooked, "raw", { value: raw }); - } else { - cooked.raw = raw; - } - return cooked; -} -function __importStar(mod) { - if (mod && mod.__esModule) - return mod; - var result = {}; - if (mod != null) { - for (var k in mod) - if (Object.hasOwnProperty.call(mod, k)) - result[k] = mod[k]; - } - result.default = mod; - return result; -} -function __importDefault(mod) { - return mod && mod.__esModule ? mod : { default: mod }; -} -function __classPrivateFieldGet(receiver, privateMap) { - if (!privateMap.has(receiver)) { - throw new TypeError("attempted to get private field on non-instance"); - } - return privateMap.get(receiver); -} -function __classPrivateFieldSet(receiver, privateMap, value) { - if (!privateMap.has(receiver)) { - throw new TypeError("attempted to set private field on non-instance"); - } - privateMap.set(receiver, value); - return value; -} -var extendStatics, __assign; -var init_tslib_es6 = __esm({ - "node_modules/vnopts/node_modules/tslib/tslib.es6.js"() { - extendStatics = function(d, b) { - extendStatics = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(d2, b2) { - d2.__proto__ = b2; - } || function(d2, b2) { - for (var p in b2) - if (b2.hasOwnProperty(p)) - d2[p] = b2[p]; - }; - return extendStatics(d, b); - }; - __assign = function() { - __assign = Object.assign || function __assign2(t) { - for (var s, i = 1, n = arguments.length; i < n; i++) { - s = arguments[i]; - for (var p in s) - if (Object.prototype.hasOwnProperty.call(s, p)) - t[p] = s[p]; - } - return t; - }; - return __assign.apply(this, arguments); - }; + return result; + } + exports.splitWhen = splitWhen; } }); -// node_modules/vnopts/lib/descriptors/api.js -var require_api = __commonJS({ - "node_modules/vnopts/lib/descriptors/api.js"(exports) { +// node_modules/fast-glob/out/utils/errno.js +var require_errno = __commonJS({ + "node_modules/fast-glob/out/utils/errno.js"(exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); - exports.apiDescriptor = { - key: (key) => /^[$_a-zA-Z][$_a-zA-Z0-9]*$/.test(key) ? key : JSON.stringify(key), - value(value) { - if (value === null || typeof value !== "object") { - return JSON.stringify(value); - } - if (Array.isArray(value)) { - return `[${value.map((subValue) => exports.apiDescriptor.value(subValue)).join(", ")}]`; - } - const keys = Object.keys(value); - return keys.length === 0 ? "{}" : `{ ${keys.map((key) => `${exports.apiDescriptor.key(key)}: ${exports.apiDescriptor.value(value[key])}`).join(", ")} }`; - }, - pair: ({ key, value }) => exports.apiDescriptor.value({ [key]: value }) - }; + exports.isEnoentCodeError = void 0; + function isEnoentCodeError(error) { + return error.code === "ENOENT"; + } + exports.isEnoentCodeError = isEnoentCodeError; } }); -// node_modules/vnopts/lib/descriptors/index.js -var require_descriptors = __commonJS({ - "node_modules/vnopts/lib/descriptors/index.js"(exports) { +// node_modules/fast-glob/out/utils/fs.js +var require_fs = __commonJS({ + "node_modules/fast-glob/out/utils/fs.js"(exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); - var tslib_1 = (init_tslib_es6(), __toCommonJS(tslib_es6_exports)); - tslib_1.__exportStar(require_api(), exports); + exports.createDirentFromStats = void 0; + var DirentFromStats = class { + constructor(name, stats) { + this.name = name; + this.isBlockDevice = stats.isBlockDevice.bind(stats); + this.isCharacterDevice = stats.isCharacterDevice.bind(stats); + this.isDirectory = stats.isDirectory.bind(stats); + this.isFIFO = stats.isFIFO.bind(stats); + this.isFile = stats.isFile.bind(stats); + this.isSocket = stats.isSocket.bind(stats); + this.isSymbolicLink = stats.isSymbolicLink.bind(stats); + } + }; + function createDirentFromStats(name, stats) { + return new DirentFromStats(name, stats); + } + exports.createDirentFromStats = createDirentFromStats; } }); -// node_modules/vnopts/node_modules/escape-string-regexp/index.js -var require_escape_string_regexp = __commonJS({ - "node_modules/vnopts/node_modules/escape-string-regexp/index.js"(exports, module) { +// node_modules/fast-glob/out/utils/path.js +var require_path = __commonJS({ + "node_modules/fast-glob/out/utils/path.js"(exports) { "use strict"; - var matchOperatorsRe = /[|\\{}()[\]^$+*?.]/g; - module.exports = function(str) { - if (typeof str !== "string") { - throw new TypeError("Expected a string"); + Object.defineProperty(exports, "__esModule", { value: true }); + exports.convertPosixPathToPattern = exports.convertWindowsPathToPattern = exports.convertPathToPattern = exports.escapePosixPath = exports.escapeWindowsPath = exports.escape = exports.removeLeadingDotSegment = exports.makeAbsolute = exports.unixify = void 0; + var os2 = __require("os"); + var path13 = __require("path"); + var IS_WINDOWS_PLATFORM = os2.platform() === "win32"; + var LEADING_DOT_SEGMENT_CHARACTERS_COUNT = 2; + var POSIX_UNESCAPED_GLOB_SYMBOLS_RE = /(\\?)([()*?[\]{|}]|^!|[!+@](?=\()|\\(?![!()*+?@[\]{|}]))/g; + var WINDOWS_UNESCAPED_GLOB_SYMBOLS_RE = /(\\?)([()[\]{}]|^!|[!+@](?=\())/g; + var DOS_DEVICE_PATH_RE = /^\\\\([.?])/; + var WINDOWS_BACKSLASHES_RE = /\\(?![!()+@[\]{}])/g; + function unixify(filepath) { + return filepath.replace(/\\/g, "/"); + } + exports.unixify = unixify; + function makeAbsolute(cwd, filepath) { + return path13.resolve(cwd, filepath); + } + exports.makeAbsolute = makeAbsolute; + function removeLeadingDotSegment(entry) { + if (entry.charAt(0) === ".") { + const secondCharactery = entry.charAt(1); + if (secondCharactery === "/" || secondCharactery === "\\") { + return entry.slice(LEADING_DOT_SEGMENT_CHARACTERS_COUNT); + } } - return str.replace(matchOperatorsRe, "\\$&"); - }; + return entry; + } + exports.removeLeadingDotSegment = removeLeadingDotSegment; + exports.escape = IS_WINDOWS_PLATFORM ? escapeWindowsPath : escapePosixPath; + function escapeWindowsPath(pattern) { + return pattern.replace(WINDOWS_UNESCAPED_GLOB_SYMBOLS_RE, "\\$2"); + } + exports.escapeWindowsPath = escapeWindowsPath; + function escapePosixPath(pattern) { + return pattern.replace(POSIX_UNESCAPED_GLOB_SYMBOLS_RE, "\\$2"); + } + exports.escapePosixPath = escapePosixPath; + exports.convertPathToPattern = IS_WINDOWS_PLATFORM ? convertWindowsPathToPattern : convertPosixPathToPattern; + function convertWindowsPathToPattern(filepath) { + return escapeWindowsPath(filepath).replace(DOS_DEVICE_PATH_RE, "//$1").replace(WINDOWS_BACKSLASHES_RE, "/"); + } + exports.convertWindowsPathToPattern = convertWindowsPathToPattern; + function convertPosixPathToPattern(filepath) { + return escapePosixPath(filepath); + } + exports.convertPosixPathToPattern = convertPosixPathToPattern; } }); -// node_modules/color-name/index.js -var require_color_name = __commonJS({ - "node_modules/color-name/index.js"(exports, module) { - "use strict"; - module.exports = { - "aliceblue": [240, 248, 255], - "antiquewhite": [250, 235, 215], - "aqua": [0, 255, 255], - "aquamarine": [127, 255, 212], - "azure": [240, 255, 255], - "beige": [245, 245, 220], - "bisque": [255, 228, 196], - "black": [0, 0, 0], - "blanchedalmond": [255, 235, 205], - "blue": [0, 0, 255], - "blueviolet": [138, 43, 226], - "brown": [165, 42, 42], - "burlywood": [222, 184, 135], - "cadetblue": [95, 158, 160], - "chartreuse": [127, 255, 0], - "chocolate": [210, 105, 30], - "coral": [255, 127, 80], - "cornflowerblue": [100, 149, 237], - "cornsilk": [255, 248, 220], - "crimson": [220, 20, 60], - "cyan": [0, 255, 255], - "darkblue": [0, 0, 139], - "darkcyan": [0, 139, 139], - "darkgoldenrod": [184, 134, 11], - "darkgray": [169, 169, 169], - "darkgreen": [0, 100, 0], - "darkgrey": [169, 169, 169], - "darkkhaki": [189, 183, 107], - "darkmagenta": [139, 0, 139], - "darkolivegreen": [85, 107, 47], - "darkorange": [255, 140, 0], - "darkorchid": [153, 50, 204], - "darkred": [139, 0, 0], - "darksalmon": [233, 150, 122], - "darkseagreen": [143, 188, 143], - "darkslateblue": [72, 61, 139], - "darkslategray": [47, 79, 79], - "darkslategrey": [47, 79, 79], - "darkturquoise": [0, 206, 209], - "darkviolet": [148, 0, 211], - "deeppink": [255, 20, 147], - "deepskyblue": [0, 191, 255], - "dimgray": [105, 105, 105], - "dimgrey": [105, 105, 105], - "dodgerblue": [30, 144, 255], - "firebrick": [178, 34, 34], - "floralwhite": [255, 250, 240], - "forestgreen": [34, 139, 34], - "fuchsia": [255, 0, 255], - "gainsboro": [220, 220, 220], - "ghostwhite": [248, 248, 255], - "gold": [255, 215, 0], - "goldenrod": [218, 165, 32], - "gray": [128, 128, 128], - "green": [0, 128, 0], - "greenyellow": [173, 255, 47], - "grey": [128, 128, 128], - "honeydew": [240, 255, 240], - "hotpink": [255, 105, 180], - "indianred": [205, 92, 92], - "indigo": [75, 0, 130], - "ivory": [255, 255, 240], - "khaki": [240, 230, 140], - "lavender": [230, 230, 250], - "lavenderblush": [255, 240, 245], - "lawngreen": [124, 252, 0], - "lemonchiffon": [255, 250, 205], - "lightblue": [173, 216, 230], - "lightcoral": [240, 128, 128], - "lightcyan": [224, 255, 255], - "lightgoldenrodyellow": [250, 250, 210], - "lightgray": [211, 211, 211], - "lightgreen": [144, 238, 144], - "lightgrey": [211, 211, 211], - "lightpink": [255, 182, 193], - "lightsalmon": [255, 160, 122], - "lightseagreen": [32, 178, 170], - "lightskyblue": [135, 206, 250], - "lightslategray": [119, 136, 153], - "lightslategrey": [119, 136, 153], - "lightsteelblue": [176, 196, 222], - "lightyellow": [255, 255, 224], - "lime": [0, 255, 0], - "limegreen": [50, 205, 50], - "linen": [250, 240, 230], - "magenta": [255, 0, 255], - "maroon": [128, 0, 0], - "mediumaquamarine": [102, 205, 170], - "mediumblue": [0, 0, 205], - "mediumorchid": [186, 85, 211], - "mediumpurple": [147, 112, 219], - "mediumseagreen": [60, 179, 113], - "mediumslateblue": [123, 104, 238], - "mediumspringgreen": [0, 250, 154], - "mediumturquoise": [72, 209, 204], - "mediumvioletred": [199, 21, 133], - "midnightblue": [25, 25, 112], - "mintcream": [245, 255, 250], - "mistyrose": [255, 228, 225], - "moccasin": [255, 228, 181], - "navajowhite": [255, 222, 173], - "navy": [0, 0, 128], - "oldlace": [253, 245, 230], - "olive": [128, 128, 0], - "olivedrab": [107, 142, 35], - "orange": [255, 165, 0], - "orangered": [255, 69, 0], - "orchid": [218, 112, 214], - "palegoldenrod": [238, 232, 170], - "palegreen": [152, 251, 152], - "paleturquoise": [175, 238, 238], - "palevioletred": [219, 112, 147], - "papayawhip": [255, 239, 213], - "peachpuff": [255, 218, 185], - "peru": [205, 133, 63], - "pink": [255, 192, 203], - "plum": [221, 160, 221], - "powderblue": [176, 224, 230], - "purple": [128, 0, 128], - "rebeccapurple": [102, 51, 153], - "red": [255, 0, 0], - "rosybrown": [188, 143, 143], - "royalblue": [65, 105, 225], - "saddlebrown": [139, 69, 19], - "salmon": [250, 128, 114], - "sandybrown": [244, 164, 96], - "seagreen": [46, 139, 87], - "seashell": [255, 245, 238], - "sienna": [160, 82, 45], - "silver": [192, 192, 192], - "skyblue": [135, 206, 235], - "slateblue": [106, 90, 205], - "slategray": [112, 128, 144], - "slategrey": [112, 128, 144], - "snow": [255, 250, 250], - "springgreen": [0, 255, 127], - "steelblue": [70, 130, 180], - "tan": [210, 180, 140], - "teal": [0, 128, 128], - "thistle": [216, 191, 216], - "tomato": [255, 99, 71], - "turquoise": [64, 224, 208], - "violet": [238, 130, 238], - "wheat": [245, 222, 179], - "white": [255, 255, 255], - "whitesmoke": [245, 245, 245], - "yellow": [255, 255, 0], - "yellowgreen": [154, 205, 50] +// node_modules/is-extglob/index.js +var require_is_extglob = __commonJS({ + "node_modules/is-extglob/index.js"(exports, module) { + module.exports = function isExtglob(str2) { + if (typeof str2 !== "string" || str2 === "") { + return false; + } + var match; + while (match = /(\\).|([@?!+*]\(.*\))/g.exec(str2)) { + if (match[2]) return true; + str2 = str2.slice(match.index + match[0].length); + } + return false; }; } }); -// node_modules/color-convert/conversions.js -var require_conversions = __commonJS({ - "node_modules/color-convert/conversions.js"(exports, module) { - var cssKeywords = require_color_name(); - var reverseKeywords = {}; - for (key in cssKeywords) { - if (cssKeywords.hasOwnProperty(key)) { - reverseKeywords[cssKeywords[key]] = key; - } - } - var key; - var convert = module.exports = { - rgb: { channels: 3, labels: "rgb" }, - hsl: { channels: 3, labels: "hsl" }, - hsv: { channels: 3, labels: "hsv" }, - hwb: { channels: 3, labels: "hwb" }, - cmyk: { channels: 4, labels: "cmyk" }, - xyz: { channels: 3, labels: "xyz" }, - lab: { channels: 3, labels: "lab" }, - lch: { channels: 3, labels: "lch" }, - hex: { channels: 1, labels: ["hex"] }, - keyword: { channels: 1, labels: ["keyword"] }, - ansi16: { channels: 1, labels: ["ansi16"] }, - ansi256: { channels: 1, labels: ["ansi256"] }, - hcg: { channels: 3, labels: ["h", "c", "g"] }, - apple: { channels: 3, labels: ["r16", "g16", "b16"] }, - gray: { channels: 1, labels: ["gray"] } - }; - for (model in convert) { - if (convert.hasOwnProperty(model)) { - if (!("channels" in convert[model])) { - throw new Error("missing channels property: " + model); - } - if (!("labels" in convert[model])) { - throw new Error("missing channel labels property: " + model); - } - if (convert[model].labels.length !== convert[model].channels) { - throw new Error("channel and label counts mismatch: " + model); - } - channels = convert[model].channels; - labels = convert[model].labels; - delete convert[model].channels; - delete convert[model].labels; - Object.defineProperty(convert[model], "channels", { value: channels }); - Object.defineProperty(convert[model], "labels", { value: labels }); - } - } - var channels; - var labels; - var model; - convert.rgb.hsl = function(rgb) { - var r = rgb[0] / 255; - var g = rgb[1] / 255; - var b = rgb[2] / 255; - var min = Math.min(r, g, b); - var max = Math.max(r, g, b); - var delta = max - min; - var h; - var s; - var l; - if (max === min) { - h = 0; - } else if (r === max) { - h = (g - b) / delta; - } else if (g === max) { - h = 2 + (b - r) / delta; - } else if (b === max) { - h = 4 + (r - g) / delta; - } - h = Math.min(h * 60, 360); - if (h < 0) { - h += 360; - } - l = (min + max) / 2; - if (max === min) { - s = 0; - } else if (l <= 0.5) { - s = delta / (max + min); - } else { - s = delta / (2 - max - min); +// node_modules/is-glob/index.js +var require_is_glob = __commonJS({ + "node_modules/is-glob/index.js"(exports, module) { + var isExtglob = require_is_extglob(); + var chars = { "{": "}", "(": ")", "[": "]" }; + var strictCheck = function(str2) { + if (str2[0] === "!") { + return true; } - return [h, s * 100, l * 100]; - }; - convert.rgb.hsv = function(rgb) { - var rdif; - var gdif; - var bdif; - var h; - var s; - var r = rgb[0] / 255; - var g = rgb[1] / 255; - var b = rgb[2] / 255; - var v = Math.max(r, g, b); - var diff = v - Math.min(r, g, b); - var diffc = function(c) { - return (v - c) / 6 / diff + 1 / 2; - }; - if (diff === 0) { - h = s = 0; - } else { - s = diff / v; - rdif = diffc(r); - gdif = diffc(g); - bdif = diffc(b); - if (r === v) { - h = bdif - gdif; - } else if (g === v) { - h = 1 / 3 + rdif - bdif; - } else if (b === v) { - h = 2 / 3 + gdif - rdif; - } - if (h < 0) { - h += 1; - } else if (h > 1) { - h -= 1; + var index = 0; + var pipeIndex = -2; + var closeSquareIndex = -2; + var closeCurlyIndex = -2; + var closeParenIndex = -2; + var backSlashIndex = -2; + while (index < str2.length) { + if (str2[index] === "*") { + return true; } - } - return [ - h * 360, - s * 100, - v * 100 - ]; - }; - convert.rgb.hwb = function(rgb) { - var r = rgb[0]; - var g = rgb[1]; - var b = rgb[2]; - var h = convert.rgb.hsl(rgb)[0]; - var w = 1 / 255 * Math.min(r, Math.min(g, b)); - b = 1 - 1 / 255 * Math.max(r, Math.max(g, b)); - return [h, w * 100, b * 100]; - }; - convert.rgb.cmyk = function(rgb) { - var r = rgb[0] / 255; - var g = rgb[1] / 255; - var b = rgb[2] / 255; - var c; - var m; - var y; - var k; - k = Math.min(1 - r, 1 - g, 1 - b); - c = (1 - r - k) / (1 - k) || 0; - m = (1 - g - k) / (1 - k) || 0; - y = (1 - b - k) / (1 - k) || 0; - return [c * 100, m * 100, y * 100, k * 100]; - }; - function comparativeDistance(x, y) { - return Math.pow(x[0] - y[0], 2) + Math.pow(x[1] - y[1], 2) + Math.pow(x[2] - y[2], 2); - } - convert.rgb.keyword = function(rgb) { - var reversed = reverseKeywords[rgb]; - if (reversed) { - return reversed; - } - var currentClosestDistance = Infinity; - var currentClosestKeyword; - for (var keyword in cssKeywords) { - if (cssKeywords.hasOwnProperty(keyword)) { - var value = cssKeywords[keyword]; - var distance = comparativeDistance(rgb, value); - if (distance < currentClosestDistance) { - currentClosestDistance = distance; - currentClosestKeyword = keyword; + if (str2[index + 1] === "?" && /[\].+)]/.test(str2[index])) { + return true; + } + if (closeSquareIndex !== -1 && str2[index] === "[" && str2[index + 1] !== "]") { + if (closeSquareIndex < index) { + closeSquareIndex = str2.indexOf("]", index); + } + if (closeSquareIndex > index) { + if (backSlashIndex === -1 || backSlashIndex > closeSquareIndex) { + return true; + } + backSlashIndex = str2.indexOf("\\", index); + if (backSlashIndex === -1 || backSlashIndex > closeSquareIndex) { + return true; + } + } + } + if (closeCurlyIndex !== -1 && str2[index] === "{" && str2[index + 1] !== "}") { + closeCurlyIndex = str2.indexOf("}", index); + if (closeCurlyIndex > index) { + backSlashIndex = str2.indexOf("\\", index); + if (backSlashIndex === -1 || backSlashIndex > closeCurlyIndex) { + return true; + } + } + } + if (closeParenIndex !== -1 && str2[index] === "(" && str2[index + 1] === "?" && /[:!=]/.test(str2[index + 2]) && str2[index + 3] !== ")") { + closeParenIndex = str2.indexOf(")", index); + if (closeParenIndex > index) { + backSlashIndex = str2.indexOf("\\", index); + if (backSlashIndex === -1 || backSlashIndex > closeParenIndex) { + return true; + } + } + } + if (pipeIndex !== -1 && str2[index] === "(" && str2[index + 1] !== "|") { + if (pipeIndex < index) { + pipeIndex = str2.indexOf("|", index); + } + if (pipeIndex !== -1 && str2[pipeIndex + 1] !== ")") { + closeParenIndex = str2.indexOf(")", pipeIndex); + if (closeParenIndex > pipeIndex) { + backSlashIndex = str2.indexOf("\\", pipeIndex); + if (backSlashIndex === -1 || backSlashIndex > closeParenIndex) { + return true; + } + } + } + } + if (str2[index] === "\\") { + var open = str2[index + 1]; + index += 2; + var close = chars[open]; + if (close) { + var n = str2.indexOf(close, index); + if (n !== -1) { + index = n + 1; + } + } + if (str2[index] === "!") { + return true; } + } else { + index++; } } - return currentClosestKeyword; - }; - convert.keyword.rgb = function(keyword) { - return cssKeywords[keyword]; - }; - convert.rgb.xyz = function(rgb) { - var r = rgb[0] / 255; - var g = rgb[1] / 255; - var b = rgb[2] / 255; - r = r > 0.04045 ? Math.pow((r + 0.055) / 1.055, 2.4) : r / 12.92; - g = g > 0.04045 ? Math.pow((g + 0.055) / 1.055, 2.4) : g / 12.92; - b = b > 0.04045 ? Math.pow((b + 0.055) / 1.055, 2.4) : b / 12.92; - var x = r * 0.4124 + g * 0.3576 + b * 0.1805; - var y = r * 0.2126 + g * 0.7152 + b * 0.0722; - var z = r * 0.0193 + g * 0.1192 + b * 0.9505; - return [x * 100, y * 100, z * 100]; - }; - convert.rgb.lab = function(rgb) { - var xyz = convert.rgb.xyz(rgb); - var x = xyz[0]; - var y = xyz[1]; - var z = xyz[2]; - var l; - var a; - var b; - x /= 95.047; - y /= 100; - z /= 108.883; - x = x > 8856e-6 ? Math.pow(x, 1 / 3) : 7.787 * x + 16 / 116; - y = y > 8856e-6 ? Math.pow(y, 1 / 3) : 7.787 * y + 16 / 116; - z = z > 8856e-6 ? Math.pow(z, 1 / 3) : 7.787 * z + 16 / 116; - l = 116 * y - 16; - a = 500 * (x - y); - b = 200 * (y - z); - return [l, a, b]; + return false; }; - convert.hsl.rgb = function(hsl) { - var h = hsl[0] / 360; - var s = hsl[1] / 100; - var l = hsl[2] / 100; - var t1; - var t2; - var t3; - var rgb; - var val; - if (s === 0) { - val = l * 255; - return [val, val, val]; - } - if (l < 0.5) { - t2 = l * (1 + s); - } else { - t2 = l + s - l * s; - } - t1 = 2 * l - t2; - rgb = [0, 0, 0]; - for (var i = 0; i < 3; i++) { - t3 = h + 1 / 3 * -(i - 1); - if (t3 < 0) { - t3++; - } - if (t3 > 1) { - t3--; - } - if (6 * t3 < 1) { - val = t1 + (t2 - t1) * 6 * t3; - } else if (2 * t3 < 1) { - val = t2; - } else if (3 * t3 < 2) { - val = t1 + (t2 - t1) * (2 / 3 - t3) * 6; + var relaxedCheck = function(str2) { + if (str2[0] === "!") { + return true; + } + var index = 0; + while (index < str2.length) { + if (/[*?{}()[\]]/.test(str2[index])) { + return true; + } + if (str2[index] === "\\") { + var open = str2[index + 1]; + index += 2; + var close = chars[open]; + if (close) { + var n = str2.indexOf(close, index); + if (n !== -1) { + index = n + 1; + } + } + if (str2[index] === "!") { + return true; + } } else { - val = t1; + index++; } - rgb[i] = val * 255; } - return rgb; - }; - convert.hsl.hsv = function(hsl) { - var h = hsl[0]; - var s = hsl[1] / 100; - var l = hsl[2] / 100; - var smin = s; - var lmin = Math.max(l, 0.01); - var sv; - var v; - l *= 2; - s *= l <= 1 ? l : 2 - l; - smin *= lmin <= 1 ? lmin : 2 - lmin; - v = (l + s) / 2; - sv = l === 0 ? 2 * smin / (lmin + smin) : 2 * s / (l + s); - return [h, sv * 100, v * 100]; + return false; }; - convert.hsv.rgb = function(hsv) { - var h = hsv[0] / 60; - var s = hsv[1] / 100; - var v = hsv[2] / 100; - var hi = Math.floor(h) % 6; - var f = h - Math.floor(h); - var p = 255 * v * (1 - s); - var q = 255 * v * (1 - s * f); - var t = 255 * v * (1 - s * (1 - f)); - v *= 255; - switch (hi) { - case 0: - return [v, t, p]; - case 1: - return [q, v, p]; - case 2: - return [p, v, t]; - case 3: - return [p, q, v]; - case 4: - return [t, p, v]; - case 5: - return [v, p, q]; + module.exports = function isGlob(str2, options8) { + if (typeof str2 !== "string" || str2 === "") { + return false; } - }; - convert.hsv.hsl = function(hsv) { - var h = hsv[0]; - var s = hsv[1] / 100; - var v = hsv[2] / 100; - var vmin = Math.max(v, 0.01); - var lmin; - var sl; - var l; - l = (2 - s) * v; - lmin = (2 - s) * vmin; - sl = s * vmin; - sl /= lmin <= 1 ? lmin : 2 - lmin; - sl = sl || 0; - l /= 2; - return [h, sl * 100, l * 100]; - }; - convert.hwb.rgb = function(hwb) { - var h = hwb[0] / 360; - var wh = hwb[1] / 100; - var bl = hwb[2] / 100; - var ratio = wh + bl; - var i; - var v; - var f; - var n; - if (ratio > 1) { - wh /= ratio; - bl /= ratio; - } - i = Math.floor(6 * h); - v = 1 - bl; - f = 6 * h - i; - if ((i & 1) !== 0) { - f = 1 - f; - } - n = wh + f * (v - wh); - var r; - var g; - var b; - switch (i) { - default: - case 6: - case 0: - r = v; - g = n; - b = wh; - break; - case 1: - r = n; - g = v; - b = wh; - break; - case 2: - r = wh; - g = v; - b = n; - break; - case 3: - r = wh; - g = n; - b = v; - break; - case 4: - r = n; - g = wh; - b = v; - break; - case 5: - r = v; - g = wh; - b = n; - break; + if (isExtglob(str2)) { + return true; } - return [r * 255, g * 255, b * 255]; - }; - convert.cmyk.rgb = function(cmyk) { - var c = cmyk[0] / 100; - var m = cmyk[1] / 100; - var y = cmyk[2] / 100; - var k = cmyk[3] / 100; - var r; - var g; - var b; - r = 1 - Math.min(1, c * (1 - k) + k); - g = 1 - Math.min(1, m * (1 - k) + k); - b = 1 - Math.min(1, y * (1 - k) + k); - return [r * 255, g * 255, b * 255]; - }; - convert.xyz.rgb = function(xyz) { - var x = xyz[0] / 100; - var y = xyz[1] / 100; - var z = xyz[2] / 100; - var r; - var g; - var b; - r = x * 3.2406 + y * -1.5372 + z * -0.4986; - g = x * -0.9689 + y * 1.8758 + z * 0.0415; - b = x * 0.0557 + y * -0.204 + z * 1.057; - r = r > 31308e-7 ? 1.055 * Math.pow(r, 1 / 2.4) - 0.055 : r * 12.92; - g = g > 31308e-7 ? 1.055 * Math.pow(g, 1 / 2.4) - 0.055 : g * 12.92; - b = b > 31308e-7 ? 1.055 * Math.pow(b, 1 / 2.4) - 0.055 : b * 12.92; - r = Math.min(Math.max(0, r), 1); - g = Math.min(Math.max(0, g), 1); - b = Math.min(Math.max(0, b), 1); - return [r * 255, g * 255, b * 255]; - }; - convert.xyz.lab = function(xyz) { - var x = xyz[0]; - var y = xyz[1]; - var z = xyz[2]; - var l; - var a; - var b; - x /= 95.047; - y /= 100; - z /= 108.883; - x = x > 8856e-6 ? Math.pow(x, 1 / 3) : 7.787 * x + 16 / 116; - y = y > 8856e-6 ? Math.pow(y, 1 / 3) : 7.787 * y + 16 / 116; - z = z > 8856e-6 ? Math.pow(z, 1 / 3) : 7.787 * z + 16 / 116; - l = 116 * y - 16; - a = 500 * (x - y); - b = 200 * (y - z); - return [l, a, b]; - }; - convert.lab.xyz = function(lab) { - var l = lab[0]; - var a = lab[1]; - var b = lab[2]; - var x; - var y; - var z; - y = (l + 16) / 116; - x = a / 500 + y; - z = y - b / 200; - var y2 = Math.pow(y, 3); - var x2 = Math.pow(x, 3); - var z2 = Math.pow(z, 3); - y = y2 > 8856e-6 ? y2 : (y - 16 / 116) / 7.787; - x = x2 > 8856e-6 ? x2 : (x - 16 / 116) / 7.787; - z = z2 > 8856e-6 ? z2 : (z - 16 / 116) / 7.787; - x *= 95.047; - y *= 100; - z *= 108.883; - return [x, y, z]; - }; - convert.lab.lch = function(lab) { - var l = lab[0]; - var a = lab[1]; - var b = lab[2]; - var hr; - var h; - var c; - hr = Math.atan2(b, a); - h = hr * 360 / 2 / Math.PI; - if (h < 0) { - h += 360; - } - c = Math.sqrt(a * a + b * b); - return [l, c, h]; + var check2 = strictCheck; + if (options8 && options8.strict === false) { + check2 = relaxedCheck; + } + return check2(str2); }; - convert.lch.lab = function(lch) { - var l = lch[0]; - var c = lch[1]; - var h = lch[2]; - var a; - var b; - var hr; - hr = h / 360 * 2 * Math.PI; - a = c * Math.cos(hr); - b = c * Math.sin(hr); - return [l, a, b]; + } +}); + +// node_modules/glob-parent/index.js +var require_glob_parent = __commonJS({ + "node_modules/glob-parent/index.js"(exports, module) { + "use strict"; + var isGlob = require_is_glob(); + var pathPosixDirname = __require("path").posix.dirname; + var isWin32 = __require("os").platform() === "win32"; + var slash2 = "/"; + var backslash = /\\/g; + var enclosure = /[\{\[].*[\}\]]$/; + var globby = /(^|[^\\])([\{\[]|\([^\)]+$)/; + var escaped = /\\([\!\*\?\|\[\]\(\)\{\}])/g; + module.exports = function globParent(str2, opts) { + var options8 = Object.assign({ flipBackslashes: true }, opts); + if (options8.flipBackslashes && isWin32 && str2.indexOf(slash2) < 0) { + str2 = str2.replace(backslash, slash2); + } + if (enclosure.test(str2)) { + str2 += slash2; + } + str2 += "a"; + do { + str2 = pathPosixDirname(str2); + } while (isGlob(str2) || globby.test(str2)); + return str2.replace(escaped, "$1"); }; - convert.rgb.ansi16 = function(args) { - var r = args[0]; - var g = args[1]; - var b = args[2]; - var value = 1 in arguments ? arguments[1] : convert.rgb.hsv(args)[2]; - value = Math.round(value / 50); - if (value === 0) { - return 30; - } - var ansi = 30 + (Math.round(b / 255) << 2 | Math.round(g / 255) << 1 | Math.round(r / 255)); - if (value === 2) { - ansi += 60; - } - return ansi; + } +}); + +// node_modules/braces/lib/utils.js +var require_utils = __commonJS({ + "node_modules/braces/lib/utils.js"(exports) { + "use strict"; + exports.isInteger = (num) => { + if (typeof num === "number") { + return Number.isInteger(num); + } + if (typeof num === "string" && num.trim() !== "") { + return Number.isInteger(Number(num)); + } + return false; }; - convert.hsv.ansi16 = function(args) { - return convert.rgb.ansi16(convert.hsv.rgb(args), args[2]); + exports.find = (node, type2) => node.nodes.find((node2) => node2.type === type2); + exports.exceedsLimit = (min, max, step = 1, limit) => { + if (limit === false) return false; + if (!exports.isInteger(min) || !exports.isInteger(max)) return false; + return (Number(max) - Number(min)) / Number(step) >= limit; }; - convert.rgb.ansi256 = function(args) { - var r = args[0]; - var g = args[1]; - var b = args[2]; - if (r === g && g === b) { - if (r < 8) { - return 16; - } - if (r > 248) { - return 231; + exports.escapeNode = (block, n = 0, type2) => { + const node = block.nodes[n]; + if (!node) return; + if (type2 && node.type === type2 || node.type === "open" || node.type === "close") { + if (node.escaped !== true) { + node.value = "\\" + node.value; + node.escaped = true; } - return Math.round((r - 8) / 247 * 24) + 232; } - var ansi = 16 + 36 * Math.round(r / 255 * 5) + 6 * Math.round(g / 255 * 5) + Math.round(b / 255 * 5); - return ansi; - }; - convert.ansi16.rgb = function(args) { - var color = args % 10; - if (color === 0 || color === 7) { - if (args > 50) { - color += 3.5; - } - color = color / 10.5 * 255; - return [color, color, color]; - } - var mult = (~~(args > 50) + 1) * 0.5; - var r = (color & 1) * mult * 255; - var g = (color >> 1 & 1) * mult * 255; - var b = (color >> 2 & 1) * mult * 255; - return [r, g, b]; - }; - convert.ansi256.rgb = function(args) { - if (args >= 232) { - var c = (args - 232) * 10 + 8; - return [c, c, c]; - } - args -= 16; - var rem; - var r = Math.floor(args / 36) / 5 * 255; - var g = Math.floor((rem = args % 36) / 6) / 5 * 255; - var b = rem % 6 / 5 * 255; - return [r, g, b]; }; - convert.rgb.hex = function(args) { - var integer = ((Math.round(args[0]) & 255) << 16) + ((Math.round(args[1]) & 255) << 8) + (Math.round(args[2]) & 255); - var string = integer.toString(16).toUpperCase(); - return "000000".substring(string.length) + string; - }; - convert.hex.rgb = function(args) { - var match = args.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i); - if (!match) { - return [0, 0, 0]; - } - var colorString = match[0]; - if (match[0].length === 3) { - colorString = colorString.split("").map(function(char) { - return char + char; - }).join(""); - } - var integer = parseInt(colorString, 16); - var r = integer >> 16 & 255; - var g = integer >> 8 & 255; - var b = integer & 255; - return [r, g, b]; - }; - convert.rgb.hcg = function(rgb) { - var r = rgb[0] / 255; - var g = rgb[1] / 255; - var b = rgb[2] / 255; - var max = Math.max(Math.max(r, g), b); - var min = Math.min(Math.min(r, g), b); - var chroma = max - min; - var grayscale; - var hue; - if (chroma < 1) { - grayscale = min / (1 - chroma); - } else { - grayscale = 0; - } - if (chroma <= 0) { - hue = 0; - } else if (max === r) { - hue = (g - b) / chroma % 6; - } else if (max === g) { - hue = 2 + (b - r) / chroma; - } else { - hue = 4 + (r - g) / chroma + 4; + exports.encloseBrace = (node) => { + if (node.type !== "brace") return false; + if (node.commas >> 0 + node.ranges >> 0 === 0) { + node.invalid = true; + return true; } - hue /= 6; - hue %= 1; - return [hue * 360, chroma * 100, grayscale * 100]; + return false; }; - convert.hsl.hcg = function(hsl) { - var s = hsl[1] / 100; - var l = hsl[2] / 100; - var c = 1; - var f = 0; - if (l < 0.5) { - c = 2 * s * l; - } else { - c = 2 * s * (1 - l); + exports.isInvalidBrace = (block) => { + if (block.type !== "brace") return false; + if (block.invalid === true || block.dollar) return true; + if (block.commas >> 0 + block.ranges >> 0 === 0) { + block.invalid = true; + return true; } - if (c < 1) { - f = (l - 0.5 * c) / (1 - c); + if (block.open !== true || block.close !== true) { + block.invalid = true; + return true; } - return [hsl[0], c * 100, f * 100]; - }; - convert.hsv.hcg = function(hsv) { - var s = hsv[1] / 100; - var v = hsv[2] / 100; - var c = s * v; - var f = 0; - if (c < 1) { - f = (v - c) / (1 - c); - } - return [hsv[0], c * 100, f * 100]; + return false; }; - convert.hcg.rgb = function(hcg) { - var h = hcg[0] / 360; - var c = hcg[1] / 100; - var g = hcg[2] / 100; - if (c === 0) { - return [g * 255, g * 255, g * 255]; - } - var pure = [0, 0, 0]; - var hi = h % 1 * 6; - var v = hi % 1; - var w = 1 - v; - var mg = 0; - switch (Math.floor(hi)) { - case 0: - pure[0] = 1; - pure[1] = v; - pure[2] = 0; - break; - case 1: - pure[0] = w; - pure[1] = 1; - pure[2] = 0; - break; - case 2: - pure[0] = 0; - pure[1] = 1; - pure[2] = v; - break; - case 3: - pure[0] = 0; - pure[1] = w; - pure[2] = 1; - break; - case 4: - pure[0] = v; - pure[1] = 0; - pure[2] = 1; - break; - default: - pure[0] = 1; - pure[1] = 0; - pure[2] = w; + exports.isOpenOrClose = (node) => { + if (node.type === "open" || node.type === "close") { + return true; } - mg = (1 - c) * g; - return [ - (c * pure[0] + mg) * 255, - (c * pure[1] + mg) * 255, - (c * pure[2] + mg) * 255 - ]; - }; - convert.hcg.hsv = function(hcg) { - var c = hcg[1] / 100; - var g = hcg[2] / 100; - var v = c + g * (1 - c); - var f = 0; - if (v > 0) { - f = c / v; - } - return [hcg[0], f * 100, v * 100]; - }; - convert.hcg.hsl = function(hcg) { - var c = hcg[1] / 100; - var g = hcg[2] / 100; - var l = g * (1 - c) + 0.5 * c; - var s = 0; - if (l > 0 && l < 0.5) { - s = c / (2 * l); - } else if (l >= 0.5 && l < 1) { - s = c / (2 * (1 - l)); - } - return [hcg[0], s * 100, l * 100]; - }; - convert.hcg.hwb = function(hcg) { - var c = hcg[1] / 100; - var g = hcg[2] / 100; - var v = c + g * (1 - c); - return [hcg[0], (v - c) * 100, (1 - v) * 100]; - }; - convert.hwb.hcg = function(hwb) { - var w = hwb[1] / 100; - var b = hwb[2] / 100; - var v = 1 - b; - var c = v - w; - var g = 0; - if (c < 1) { - g = (v - c) / (1 - c); - } - return [hwb[0], c * 100, g * 100]; - }; - convert.apple.rgb = function(apple) { - return [apple[0] / 65535 * 255, apple[1] / 65535 * 255, apple[2] / 65535 * 255]; - }; - convert.rgb.apple = function(rgb) { - return [rgb[0] / 255 * 65535, rgb[1] / 255 * 65535, rgb[2] / 255 * 65535]; - }; - convert.gray.rgb = function(args) { - return [args[0] / 100 * 255, args[0] / 100 * 255, args[0] / 100 * 255]; - }; - convert.gray.hsl = convert.gray.hsv = function(args) { - return [0, 0, args[0]]; - }; - convert.gray.hwb = function(gray) { - return [0, 100, gray[0]]; - }; - convert.gray.cmyk = function(gray) { - return [0, 0, 0, gray[0]]; - }; - convert.gray.lab = function(gray) { - return [gray[0], 0, 0]; - }; - convert.gray.hex = function(gray) { - var val = Math.round(gray[0] / 100 * 255) & 255; - var integer = (val << 16) + (val << 8) + val; - var string = integer.toString(16).toUpperCase(); - return "000000".substring(string.length) + string; - }; - convert.rgb.gray = function(rgb) { - var val = (rgb[0] + rgb[1] + rgb[2]) / 3; - return [val / 255 * 100]; + return node.open === true || node.close === true; }; - } -}); - -// node_modules/color-convert/route.js -var require_route = __commonJS({ - "node_modules/color-convert/route.js"(exports, module) { - var conversions = require_conversions(); - function buildGraph() { - var graph = {}; - var models = Object.keys(conversions); - for (var len = models.length, i = 0; i < len; i++) { - graph[models[i]] = { - // http://jsperf.com/1-vs-infinity - // micro-opt, but this is simple. - distance: -1, - parent: null - }; - } - return graph; - } - function deriveBFS(fromModel) { - var graph = buildGraph(); - var queue = [fromModel]; - graph[fromModel].distance = 0; - while (queue.length) { - var current = queue.pop(); - var adjacents = Object.keys(conversions[current]); - for (var len = adjacents.length, i = 0; i < len; i++) { - var adjacent = adjacents[i]; - var node = graph[adjacent]; - if (node.distance === -1) { - node.distance = graph[current].distance + 1; - node.parent = current; - queue.unshift(adjacent); + exports.reduce = (nodes) => nodes.reduce((acc, node) => { + if (node.type === "text") acc.push(node.value); + if (node.type === "range") node.type = "text"; + return acc; + }, []); + exports.flatten = (...args) => { + const result = []; + const flat = (arr) => { + for (let i = 0; i < arr.length; i++) { + const ele = arr[i]; + if (Array.isArray(ele)) { + flat(ele); + continue; + } + if (ele !== void 0) { + result.push(ele); } } - } - return graph; - } - function link(from, to) { - return function(args) { - return to(from(args)); + return result; }; - } - function wrapConversion(toModel, graph) { - var path9 = [graph[toModel].parent, toModel]; - var fn = conversions[graph[toModel].parent][toModel]; - var cur = graph[toModel].parent; - while (graph[cur].parent) { - path9.unshift(graph[cur].parent); - fn = link(conversions[graph[cur].parent][cur], fn); - cur = graph[cur].parent; - } - fn.conversion = path9; - return fn; - } - module.exports = function(fromModel) { - var graph = deriveBFS(fromModel); - var conversion = {}; - var models = Object.keys(graph); - for (var len = models.length, i = 0; i < len; i++) { - var toModel = models[i]; - var node = graph[toModel]; - if (node.parent === null) { - continue; - } - conversion[toModel] = wrapConversion(toModel, graph); - } - return conversion; + flat(args); + return result; }; } }); -// node_modules/color-convert/index.js -var require_color_convert = __commonJS({ - "node_modules/color-convert/index.js"(exports, module) { - var conversions = require_conversions(); - var route = require_route(); - var convert = {}; - var models = Object.keys(conversions); - function wrapRaw(fn) { - var wrappedFn = function(args) { - if (args === void 0 || args === null) { - return args; - } - if (arguments.length > 1) { - args = Array.prototype.slice.call(arguments); - } - return fn(args); - }; - if ("conversion" in fn) { - wrappedFn.conversion = fn.conversion; - } - return wrappedFn; - } - function wrapRounded(fn) { - var wrappedFn = function(args) { - if (args === void 0 || args === null) { - return args; +// node_modules/braces/lib/stringify.js +var require_stringify = __commonJS({ + "node_modules/braces/lib/stringify.js"(exports, module) { + "use strict"; + var utils = require_utils(); + module.exports = (ast, options8 = {}) => { + const stringify = (node, parent = {}) => { + const invalidBlock = options8.escapeInvalid && utils.isInvalidBrace(parent); + const invalidNode = node.invalid === true && options8.escapeInvalid === true; + let output = ""; + if (node.value) { + if ((invalidBlock || invalidNode) && utils.isOpenOrClose(node)) { + return "\\" + node.value; + } + return node.value; } - if (arguments.length > 1) { - args = Array.prototype.slice.call(arguments); + if (node.value) { + return node.value; } - var result = fn(args); - if (typeof result === "object") { - for (var len = result.length, i = 0; i < len; i++) { - result[i] = Math.round(result[i]); + if (node.nodes) { + for (const child of node.nodes) { + output += stringify(child); } } - return result; + return output; }; - if ("conversion" in fn) { - wrappedFn.conversion = fn.conversion; - } - return wrappedFn; - } - models.forEach(function(fromModel) { - convert[fromModel] = {}; - Object.defineProperty(convert[fromModel], "channels", { value: conversions[fromModel].channels }); - Object.defineProperty(convert[fromModel], "labels", { value: conversions[fromModel].labels }); - var routes = route(fromModel); - var routeModels = Object.keys(routes); - routeModels.forEach(function(toModel) { - var fn = routes[toModel]; - convert[fromModel][toModel] = wrapRounded(fn); - convert[fromModel][toModel].raw = wrapRaw(fn); - }); - }); - module.exports = convert; + return stringify(ast); + }; } }); -// node_modules/ansi-styles/index.js -var require_ansi_styles = __commonJS({ - "node_modules/ansi-styles/index.js"(exports, module) { +// node_modules/is-number/index.js +var require_is_number = __commonJS({ + "node_modules/is-number/index.js"(exports, module) { "use strict"; - var colorConvert = require_color_convert(); - var wrapAnsi16 = (fn, offset) => function() { - const code = fn.apply(colorConvert, arguments); - return `\x1B[${code + offset}m`; - }; - var wrapAnsi256 = (fn, offset) => function() { - const code = fn.apply(colorConvert, arguments); - return `\x1B[${38 + offset};5;${code}m`; - }; - var wrapAnsi16m = (fn, offset) => function() { - const rgb = fn.apply(colorConvert, arguments); - return `\x1B[${38 + offset};2;${rgb[0]};${rgb[1]};${rgb[2]}m`; - }; - function assembleStyles() { - const codes2 = /* @__PURE__ */ new Map(); - const styles = { - modifier: { - reset: [0, 0], - // 21 isn't widely supported and 22 does the same thing - bold: [1, 22], - dim: [2, 22], - italic: [3, 23], - underline: [4, 24], - inverse: [7, 27], - hidden: [8, 28], - strikethrough: [9, 29] - }, - color: { - black: [30, 39], - red: [31, 39], - green: [32, 39], - yellow: [33, 39], - blue: [34, 39], - magenta: [35, 39], - cyan: [36, 39], - white: [37, 39], - gray: [90, 39], - // Bright color - redBright: [91, 39], - greenBright: [92, 39], - yellowBright: [93, 39], - blueBright: [94, 39], - magentaBright: [95, 39], - cyanBright: [96, 39], - whiteBright: [97, 39] - }, - bgColor: { - bgBlack: [40, 49], - bgRed: [41, 49], - bgGreen: [42, 49], - bgYellow: [43, 49], - bgBlue: [44, 49], - bgMagenta: [45, 49], - bgCyan: [46, 49], - bgWhite: [47, 49], - // Bright color - bgBlackBright: [100, 49], - bgRedBright: [101, 49], - bgGreenBright: [102, 49], - bgYellowBright: [103, 49], - bgBlueBright: [104, 49], - bgMagentaBright: [105, 49], - bgCyanBright: [106, 49], - bgWhiteBright: [107, 49] - } - }; - styles.color.grey = styles.color.gray; - for (const groupName of Object.keys(styles)) { - const group = styles[groupName]; - for (const styleName of Object.keys(group)) { - const style = group[styleName]; - styles[styleName] = { - open: `\x1B[${style[0]}m`, - close: `\x1B[${style[1]}m` - }; - group[styleName] = styles[styleName]; - codes2.set(style[0], style[1]); - } - Object.defineProperty(styles, groupName, { - value: group, - enumerable: false - }); - Object.defineProperty(styles, "codes", { - value: codes2, - enumerable: false - }); + module.exports = function(num) { + if (typeof num === "number") { + return num - num === 0; } - const ansi2ansi = (n) => n; - const rgb2rgb = (r, g, b) => [r, g, b]; - styles.color.close = "\x1B[39m"; - styles.bgColor.close = "\x1B[49m"; - styles.color.ansi = { - ansi: wrapAnsi16(ansi2ansi, 0) - }; - styles.color.ansi256 = { - ansi256: wrapAnsi256(ansi2ansi, 0) - }; - styles.color.ansi16m = { - rgb: wrapAnsi16m(rgb2rgb, 0) - }; - styles.bgColor.ansi = { - ansi: wrapAnsi16(ansi2ansi, 10) - }; - styles.bgColor.ansi256 = { - ansi256: wrapAnsi256(ansi2ansi, 10) - }; - styles.bgColor.ansi16m = { - rgb: wrapAnsi16m(rgb2rgb, 10) - }; - for (let key of Object.keys(colorConvert)) { - if (typeof colorConvert[key] !== "object") { - continue; - } - const suite = colorConvert[key]; - if (key === "ansi16") { - key = "ansi"; - } - if ("ansi16" in suite) { - styles.color.ansi[key] = wrapAnsi16(suite.ansi16, 0); - styles.bgColor.ansi[key] = wrapAnsi16(suite.ansi16, 10); - } - if ("ansi256" in suite) { - styles.color.ansi256[key] = wrapAnsi256(suite.ansi256, 0); - styles.bgColor.ansi256[key] = wrapAnsi256(suite.ansi256, 10); - } - if ("rgb" in suite) { - styles.color.ansi16m[key] = wrapAnsi16m(suite.rgb, 0); - styles.bgColor.ansi16m[key] = wrapAnsi16m(suite.rgb, 10); - } + if (typeof num === "string" && num.trim() !== "") { + return Number.isFinite ? Number.isFinite(+num) : isFinite(+num); } - return styles; - } - Object.defineProperty(module, "exports", { - enumerable: true, - get: assembleStyles - }); - } -}); - -// node_modules/vnopts/node_modules/has-flag/index.js -var require_has_flag = __commonJS({ - "node_modules/vnopts/node_modules/has-flag/index.js"(exports, module) { - "use strict"; - module.exports = (flag, argv) => { - argv = argv || process.argv; - const prefix = flag.startsWith("-") ? "" : flag.length === 1 ? "-" : "--"; - const pos = argv.indexOf(prefix + flag); - const terminatorPos = argv.indexOf("--"); - return pos !== -1 && (terminatorPos === -1 ? true : pos < terminatorPos); + return false; }; } }); -// node_modules/vnopts/node_modules/supports-color/index.js -var require_supports_color = __commonJS({ - "node_modules/vnopts/node_modules/supports-color/index.js"(exports, module) { +// node_modules/to-regex-range/index.js +var require_to_regex_range = __commonJS({ + "node_modules/to-regex-range/index.js"(exports, module) { "use strict"; - var os = __require("os"); - var hasFlag = require_has_flag(); - var env = process.env; - var forceColor; - if (hasFlag("no-color") || hasFlag("no-colors") || hasFlag("color=false")) { - forceColor = false; - } else if (hasFlag("color") || hasFlag("colors") || hasFlag("color=true") || hasFlag("color=always")) { - forceColor = true; - } - if ("FORCE_COLOR" in env) { - forceColor = env.FORCE_COLOR.length === 0 || parseInt(env.FORCE_COLOR, 10) !== 0; - } - function translateLevel(level) { - if (level === 0) { - return false; - } - return { - level, - hasBasic: true, - has256: level >= 2, - has16m: level >= 3 - }; - } - function supportsColor(stream) { - if (forceColor === false) { - return 0; + var isNumber = require_is_number(); + var toRegexRange = (min, max, options8) => { + if (isNumber(min) === false) { + throw new TypeError("toRegexRange: expected the first argument to be a number"); } - if (hasFlag("color=16m") || hasFlag("color=full") || hasFlag("color=truecolor")) { - return 3; + if (max === void 0 || min === max) { + return String(min); } - if (hasFlag("color=256")) { - return 2; + if (isNumber(max) === false) { + throw new TypeError("toRegexRange: expected the second argument to be a number."); } - if (stream && !stream.isTTY && forceColor !== true) { - return 0; + let opts = { relaxZeros: true, ...options8 }; + if (typeof opts.strictZeros === "boolean") { + opts.relaxZeros = opts.strictZeros === false; } - const min = forceColor ? 1 : 0; - if (process.platform === "win32") { - const osRelease = os.release().split("."); - if (Number(process.versions.node.split(".")[0]) >= 8 && Number(osRelease[0]) >= 10 && Number(osRelease[2]) >= 10586) { - return Number(osRelease[2]) >= 14931 ? 3 : 2; - } - return 1; + let relax = String(opts.relaxZeros); + let shorthand = String(opts.shorthand); + let capture = String(opts.capture); + let wrap = String(opts.wrap); + let cacheKey = min + ":" + max + "=" + relax + shorthand + capture + wrap; + if (toRegexRange.cache.hasOwnProperty(cacheKey)) { + return toRegexRange.cache[cacheKey].result; } - if ("CI" in env) { - if (["TRAVIS", "CIRCLECI", "APPVEYOR", "GITLAB_CI"].some((sign) => sign in env) || env.CI_NAME === "codeship") { - return 1; + let a = Math.min(min, max); + let b = Math.max(min, max); + if (Math.abs(a - b) === 1) { + let result = min + "|" + max; + if (opts.capture) { + return `(${result})`; } - return min; - } - if ("TEAMCITY_VERSION" in env) { - return /^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(env.TEAMCITY_VERSION) ? 1 : 0; - } - if (env.COLORTERM === "truecolor") { - return 3; - } - if ("TERM_PROGRAM" in env) { - const version = parseInt((env.TERM_PROGRAM_VERSION || "").split(".")[0], 10); - switch (env.TERM_PROGRAM) { - case "iTerm.app": - return version >= 3 ? 3 : 2; - case "Apple_Terminal": - return 2; + if (opts.wrap === false) { + return result; } + return `(?:${result})`; } - if (/-256(color)?$/i.test(env.TERM)) { - return 2; + let isPadded = hasPadding(min) || hasPadding(max); + let state = { min, max, a, b }; + let positives = []; + let negatives = []; + if (isPadded) { + state.isPadded = isPadded; + state.maxLen = String(state.max).length; } - if (/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(env.TERM)) { - return 1; + if (a < 0) { + let newMin = b < 0 ? Math.abs(b) : 1; + negatives = splitToPatterns(newMin, Math.abs(a), state, opts); + a = state.a = 0; } - if ("COLORTERM" in env) { - return 1; + if (b >= 0) { + positives = splitToPatterns(a, b, state, opts); } - if (env.TERM === "dumb") { - return min; + state.negatives = negatives; + state.positives = positives; + state.result = collatePatterns(negatives, positives, opts); + if (opts.capture === true) { + state.result = `(${state.result})`; + } else if (opts.wrap !== false && positives.length + negatives.length > 1) { + state.result = `(?:${state.result})`; } - return min; + toRegexRange.cache[cacheKey] = state; + return state.result; + }; + function collatePatterns(neg, pos2, options8) { + let onlyNegative = filterPatterns(neg, pos2, "-", false, options8) || []; + let onlyPositive = filterPatterns(pos2, neg, "", false, options8) || []; + let intersected = filterPatterns(neg, pos2, "-?", true, options8) || []; + let subpatterns = onlyNegative.concat(intersected).concat(onlyPositive); + return subpatterns.join("|"); } - function getSupportLevel(stream) { - const level = supportsColor(stream); - return translateLevel(level); + function splitToRanges(min, max) { + let nines = 1; + let zeros = 1; + let stop = countNines(min, nines); + let stops = /* @__PURE__ */ new Set([max]); + while (min <= stop && stop <= max) { + stops.add(stop); + nines += 1; + stop = countNines(min, nines); + } + stop = countZeros(max + 1, zeros) - 1; + while (min < stop && stop <= max) { + stops.add(stop); + zeros += 1; + stop = countZeros(max + 1, zeros) - 1; + } + stops = [...stops]; + stops.sort(compare); + return stops; } - module.exports = { - supportsColor: getSupportLevel, - stdout: getSupportLevel(process.stdout), - stderr: getSupportLevel(process.stderr) - }; - } -}); - -// node_modules/vnopts/node_modules/chalk/templates.js -var require_templates = __commonJS({ - "node_modules/vnopts/node_modules/chalk/templates.js"(exports, module) { - "use strict"; - var TEMPLATE_REGEX = /(?:\\(u[a-f\d]{4}|x[a-f\d]{2}|.))|(?:\{(~)?(\w+(?:\([^)]*\))?(?:\.\w+(?:\([^)]*\))?)*)(?:[ \t]|(?=\r?\n)))|(\})|((?:.|[\r\n\f])+?)/gi; - var STYLE_REGEX = /(?:^|\.)(\w+)(?:\(([^)]*)\))?/g; - var STRING_REGEX = /^(['"])((?:\\.|(?!\1)[^\\])*)\1$/; - var ESCAPE_REGEX = /\\(u[a-f\d]{4}|x[a-f\d]{2}|.)|([^\\])/gi; - var ESCAPES = /* @__PURE__ */ new Map([ - ["n", "\n"], - ["r", "\r"], - ["t", " "], - ["b", "\b"], - ["f", "\f"], - ["v", "\v"], - ["0", "\0"], - ["\\", "\\"], - ["e", "\x1B"], - ["a", "\x07"] - ]); - function unescape(c) { - if (c[0] === "u" && c.length === 5 || c[0] === "x" && c.length === 3) { - return String.fromCharCode(parseInt(c.slice(1), 16)); - } - return ESCAPES.get(c) || c; - } - function parseArguments(name, args) { - const results = []; - const chunks = args.trim().split(/\s*,\s*/g); - let matches; - for (const chunk of chunks) { - if (!isNaN(chunk)) { - results.push(Number(chunk)); - } else if (matches = chunk.match(STRING_REGEX)) { - results.push(matches[2].replace(ESCAPE_REGEX, (m, escape, chr) => escape ? unescape(escape) : chr)); + function rangeToPattern(start, stop, options8) { + if (start === stop) { + return { pattern: start, count: [], digits: 0 }; + } + let zipped = zip(start, stop); + let digits = zipped.length; + let pattern = ""; + let count = 0; + for (let i = 0; i < digits; i++) { + let [startDigit, stopDigit] = zipped[i]; + if (startDigit === stopDigit) { + pattern += startDigit; + } else if (startDigit !== "0" || stopDigit !== "9") { + pattern += toCharacterClass(startDigit, stopDigit, options8); } else { - throw new Error(`Invalid Chalk template style argument: ${chunk} (in style '${name}')`); + count++; } } - return results; + if (count) { + pattern += options8.shorthand === true ? "\\d" : "[0-9]"; + } + return { pattern, count: [count], digits }; } - function parseStyle(style) { - STYLE_REGEX.lastIndex = 0; - const results = []; - let matches; - while ((matches = STYLE_REGEX.exec(style)) !== null) { - const name = matches[1]; - if (matches[2]) { - const args = parseArguments(name, matches[2]); - results.push([name].concat(args)); - } else { - results.push([name]); + function splitToPatterns(min, max, tok, options8) { + let ranges = splitToRanges(min, max); + let tokens = []; + let start = min; + let prev; + for (let i = 0; i < ranges.length; i++) { + let max2 = ranges[i]; + let obj = rangeToPattern(String(start), String(max2), options8); + let zeros = ""; + if (!tok.isPadded && prev && prev.pattern === obj.pattern) { + if (prev.count.length > 1) { + prev.count.pop(); + } + prev.count.push(obj.count[0]); + prev.string = prev.pattern + toQuantifier(prev.count); + start = max2 + 1; + continue; + } + if (tok.isPadded) { + zeros = padZeros(max2, tok, options8); } + obj.string = zeros + obj.pattern + toQuantifier(obj.count); + tokens.push(obj); + start = max2 + 1; + prev = obj; } - return results; + return tokens; } - function buildStyle(chalk, styles) { - const enabled = {}; - for (const layer of styles) { - for (const style of layer.styles) { - enabled[style[0]] = layer.inverse ? null : style.slice(1); + function filterPatterns(arr, comparison, prefix, intersection, options8) { + let result = []; + for (let ele of arr) { + let { string } = ele; + if (!intersection && !contains(comparison, "string", string)) { + result.push(prefix + string); } - } - let current = chalk; - for (const styleName of Object.keys(enabled)) { - if (Array.isArray(enabled[styleName])) { - if (!(styleName in current)) { - throw new Error(`Unknown Chalk style: ${styleName}`); - } - if (enabled[styleName].length > 0) { - current = current[styleName].apply(current, enabled[styleName]); - } else { - current = current[styleName]; - } - } - } - return current; - } - module.exports = (chalk, tmp) => { - const styles = []; - const chunks = []; - let chunk = []; - tmp.replace(TEMPLATE_REGEX, (m, escapeChar, inverse, style, close, chr) => { - if (escapeChar) { - chunk.push(unescape(escapeChar)); - } else if (style) { - const str = chunk.join(""); - chunk = []; - chunks.push(styles.length === 0 ? str : buildStyle(chalk, styles)(str)); - styles.push({ inverse, styles: parseStyle(style) }); - } else if (close) { - if (styles.length === 0) { - throw new Error("Found extraneous } in Chalk template literal"); - } - chunks.push(buildStyle(chalk, styles)(chunk.join(""))); - chunk = []; - styles.pop(); - } else { - chunk.push(chr); + if (intersection && contains(comparison, "string", string)) { + result.push(prefix + string); } - }); - chunks.push(chunk.join("")); - if (styles.length > 0) { - const errMsg = `Chalk template literal is missing ${styles.length} closing bracket${styles.length === 1 ? "" : "s"} (\`}\`)`; - throw new Error(errMsg); - } - return chunks.join(""); - }; - } -}); - -// node_modules/vnopts/node_modules/chalk/index.js -var require_chalk = __commonJS({ - "node_modules/vnopts/node_modules/chalk/index.js"(exports, module) { - "use strict"; - var escapeStringRegexp2 = require_escape_string_regexp(); - var ansiStyles = require_ansi_styles(); - var stdoutColor = require_supports_color().stdout; - var template = require_templates(); - var isSimpleWindowsTerm = process.platform === "win32" && !(process.env.TERM || "").toLowerCase().startsWith("xterm"); - var levelMapping = ["ansi", "ansi", "ansi256", "ansi16m"]; - var skipModels = /* @__PURE__ */ new Set(["gray"]); - var styles = /* @__PURE__ */ Object.create(null); - function applyOptions(obj, options8) { - options8 = options8 || {}; - const scLevel = stdoutColor ? stdoutColor.level : 0; - obj.level = options8.level === void 0 ? scLevel : options8.level; - obj.enabled = "enabled" in options8 ? options8.enabled : obj.level > 0; - } - function Chalk(options8) { - if (!this || !(this instanceof Chalk) || this.template) { - const chalk = {}; - applyOptions(chalk, options8); - chalk.template = function() { - const args = [].slice.call(arguments); - return chalkTag.apply(null, [chalk.template].concat(args)); - }; - Object.setPrototypeOf(chalk, Chalk.prototype); - Object.setPrototypeOf(chalk.template, chalk); - chalk.template.constructor = Chalk; - return chalk.template; } - applyOptions(this, options8); + return result; } - if (isSimpleWindowsTerm) { - ansiStyles.blue.open = "\x1B[94m"; + function zip(a, b) { + let arr = []; + for (let i = 0; i < a.length; i++) arr.push([a[i], b[i]]); + return arr; } - for (const key of Object.keys(ansiStyles)) { - ansiStyles[key].closeRe = new RegExp(escapeStringRegexp2(ansiStyles[key].close), "g"); - styles[key] = { - get() { - const codes2 = ansiStyles[key]; - return build.call(this, this._styles ? this._styles.concat(codes2) : [codes2], this._empty, key); - } - }; + function compare(a, b) { + return a > b ? 1 : b > a ? -1 : 0; } - styles.visible = { - get() { - return build.call(this, this._styles || [], true, "visible"); - } - }; - ansiStyles.color.closeRe = new RegExp(escapeStringRegexp2(ansiStyles.color.close), "g"); - for (const model of Object.keys(ansiStyles.color.ansi)) { - if (skipModels.has(model)) { - continue; - } - styles[model] = { - get() { - const level = this.level; - return function() { - const open = ansiStyles.color[levelMapping[level]][model].apply(null, arguments); - const codes2 = { - open, - close: ansiStyles.color.close, - closeRe: ansiStyles.color.closeRe - }; - return build.call(this, this._styles ? this._styles.concat(codes2) : [codes2], this._empty, model); - }; - } - }; + function contains(arr, key2, val) { + return arr.some((ele) => ele[key2] === val); } - ansiStyles.bgColor.closeRe = new RegExp(escapeStringRegexp2(ansiStyles.bgColor.close), "g"); - for (const model of Object.keys(ansiStyles.bgColor.ansi)) { - if (skipModels.has(model)) { - continue; - } - const bgModel = "bg" + model[0].toUpperCase() + model.slice(1); - styles[bgModel] = { - get() { - const level = this.level; - return function() { - const open = ansiStyles.bgColor[levelMapping[level]][model].apply(null, arguments); - const codes2 = { - open, - close: ansiStyles.bgColor.close, - closeRe: ansiStyles.bgColor.closeRe - }; - return build.call(this, this._styles ? this._styles.concat(codes2) : [codes2], this._empty, model); - }; - } - }; + function countNines(min, len) { + return Number(String(min).slice(0, -len) + "9".repeat(len)); } - var proto = Object.defineProperties(() => { - }, styles); - function build(_styles, _empty, key) { - const builder = function() { - return applyStyle.apply(builder, arguments); - }; - builder._styles = _styles; - builder._empty = _empty; - const self = this; - Object.defineProperty(builder, "level", { - enumerable: true, - get() { - return self.level; - }, - set(level) { - self.level = level; - } - }); - Object.defineProperty(builder, "enabled", { - enumerable: true, - get() { - return self.enabled; - }, - set(enabled) { - self.enabled = enabled; - } - }); - builder.hasGrey = this.hasGrey || key === "gray" || key === "grey"; - builder.__proto__ = proto; - return builder; + function countZeros(integer, zeros) { + return integer - integer % Math.pow(10, zeros); } - function applyStyle() { - const args = arguments; - const argsLen = args.length; - let str = String(arguments[0]); - if (argsLen === 0) { - return ""; - } - if (argsLen > 1) { - for (let a = 1; a < argsLen; a++) { - str += " " + args[a]; - } - } - if (!this.enabled || this.level <= 0 || !str) { - return this._empty ? "" : str; - } - const originalDim = ansiStyles.dim.open; - if (isSimpleWindowsTerm && this.hasGrey) { - ansiStyles.dim.open = ""; - } - for (const code of this._styles.slice().reverse()) { - str = code.open + str.replace(code.closeRe, code.open) + code.close; - str = str.replace(/\r?\n/g, `${code.close}$&${code.open}`); + function toQuantifier(digits) { + let [start = 0, stop = ""] = digits; + if (stop || start > 1) { + return `{${start + (stop ? "," + stop : "")}}`; } - ansiStyles.dim.open = originalDim; - return str; + return ""; + } + function toCharacterClass(a, b, options8) { + return `[${a}${b - a === 1 ? "" : "-"}${b}]`; + } + function hasPadding(str2) { + return /^-?(0+)\d/.test(str2); } - function chalkTag(chalk, strings) { - if (!Array.isArray(strings)) { - return [].slice.call(arguments, 1).join(" "); + function padZeros(value, tok, options8) { + if (!tok.isPadded) { + return value; } - const args = [].slice.call(arguments, 2); - const parts = [strings.raw[0]]; - for (let i = 1; i < strings.length; i++) { - parts.push(String(args[i - 1]).replace(/[{}\\]/g, "\\$&")); - parts.push(String(strings.raw[i])); + let diff2 = Math.abs(tok.maxLen - String(value).length); + let relax = options8.relaxZeros !== false; + switch (diff2) { + case 0: + return ""; + case 1: + return relax ? "0?" : "0"; + case 2: + return relax ? "0{0,2}" : "00"; + default: { + return relax ? `0{0,${diff2}}` : `0{${diff2}}`; + } } - return template(chalk, parts.join("")); } - Object.defineProperties(Chalk.prototype, styles); - module.exports = Chalk(); - module.exports.supportsColor = stdoutColor; - module.exports.default = module.exports; + toRegexRange.cache = {}; + toRegexRange.clearCache = () => toRegexRange.cache = {}; + module.exports = toRegexRange; } }); -// node_modules/vnopts/lib/handlers/deprecated/common.js -var require_common = __commonJS({ - "node_modules/vnopts/lib/handlers/deprecated/common.js"(exports) { +// node_modules/fill-range/index.js +var require_fill_range = __commonJS({ + "node_modules/fill-range/index.js"(exports, module) { "use strict"; - Object.defineProperty(exports, "__esModule", { value: true }); - var chalk_1 = require_chalk(); - exports.commonDeprecatedHandler = (keyOrPair, redirectTo, { descriptor }) => { - const messages2 = [ - `${chalk_1.default.yellow(typeof keyOrPair === "string" ? descriptor.key(keyOrPair) : descriptor.pair(keyOrPair))} is deprecated` - ]; - if (redirectTo) { - messages2.push(`we now treat it as ${chalk_1.default.blue(typeof redirectTo === "string" ? descriptor.key(redirectTo) : descriptor.pair(redirectTo))}`); - } - return messages2.join("; ") + "."; + var util2 = __require("util"); + var toRegexRange = require_to_regex_range(); + var isObject3 = (val) => val !== null && typeof val === "object" && !Array.isArray(val); + var transform = (toNumber) => { + return (value) => toNumber === true ? Number(value) : String(value); }; - } -}); - -// node_modules/vnopts/lib/handlers/deprecated/index.js -var require_deprecated = __commonJS({ - "node_modules/vnopts/lib/handlers/deprecated/index.js"(exports) { - "use strict"; - Object.defineProperty(exports, "__esModule", { value: true }); - var tslib_1 = (init_tslib_es6(), __toCommonJS(tslib_es6_exports)); - tslib_1.__exportStar(require_common(), exports); - } -}); - -// node_modules/vnopts/lib/handlers/invalid/common.js -var require_common2 = __commonJS({ - "node_modules/vnopts/lib/handlers/invalid/common.js"(exports) { - "use strict"; - Object.defineProperty(exports, "__esModule", { value: true }); - var chalk_1 = require_chalk(); - exports.commonInvalidHandler = (key, value, utils) => [ - `Invalid ${chalk_1.default.red(utils.descriptor.key(key))} value.`, - `Expected ${chalk_1.default.blue(utils.schemas[key].expected(utils))},`, - `but received ${chalk_1.default.red(utils.descriptor.value(value))}.` - ].join(" "); - } -}); - -// node_modules/vnopts/lib/handlers/invalid/index.js -var require_invalid = __commonJS({ - "node_modules/vnopts/lib/handlers/invalid/index.js"(exports) { - "use strict"; - Object.defineProperty(exports, "__esModule", { value: true }); - var tslib_1 = (init_tslib_es6(), __toCommonJS(tslib_es6_exports)); - tslib_1.__exportStar(require_common2(), exports); - } -}); - -// node_modules/vnopts/node_modules/leven/index.js -var require_leven = __commonJS({ - "node_modules/vnopts/node_modules/leven/index.js"(exports, module) { - "use strict"; - var arr = []; - var charCodeCache = []; - module.exports = function(a, b) { - if (a === b) { - return 0; - } - var swap = a; - if (a.length > b.length) { - a = b; - b = swap; - } - var aLen = a.length; - var bLen = b.length; - if (aLen === 0) { - return bLen; - } - if (bLen === 0) { - return aLen; - } - while (aLen > 0 && a.charCodeAt(~-aLen) === b.charCodeAt(~-bLen)) { - aLen--; - bLen--; - } - if (aLen === 0) { - return bLen; - } - var start = 0; - while (start < aLen && a.charCodeAt(start) === b.charCodeAt(start)) { - start++; - } - aLen -= start; - bLen -= start; - if (aLen === 0) { - return bLen; - } - var bCharCode; - var ret; - var tmp; - var tmp2; - var i = 0; - var j = 0; - while (i < aLen) { - charCodeCache[start + i] = a.charCodeAt(start + i); - arr[i] = ++i; - } - while (j < bLen) { - bCharCode = b.charCodeAt(start + j); - tmp = j++; - ret = j; - for (i = 0; i < aLen; i++) { - tmp2 = bCharCode === charCodeCache[start + i] ? tmp : tmp + 1; - tmp = arr[i]; - ret = arr[i] = tmp > ret ? tmp2 > ret ? ret + 1 : tmp2 : tmp2 > tmp ? tmp + 1 : tmp2; - } - } - return ret; + var isValidValue = (value) => { + return typeof value === "number" || typeof value === "string" && value !== ""; }; - } -}); - -// node_modules/vnopts/lib/handlers/unknown/leven.js -var require_leven2 = __commonJS({ - "node_modules/vnopts/lib/handlers/unknown/leven.js"(exports) { - "use strict"; - Object.defineProperty(exports, "__esModule", { value: true }); - var chalk_1 = require_chalk(); - var leven = require_leven(); - exports.levenUnknownHandler = (key, value, { descriptor, logger, schemas }) => { - const messages2 = [ - `Ignored unknown option ${chalk_1.default.yellow(descriptor.pair({ key, value }))}.` - ]; - const suggestion = Object.keys(schemas).sort().find((knownKey) => leven(key, knownKey) < 3); - if (suggestion) { - messages2.push(`Did you mean ${chalk_1.default.blue(descriptor.key(suggestion))}?`); - } - logger.warn(messages2.join(" ")); + var isNumber = (num) => Number.isInteger(+num); + var zeros = (input) => { + let value = `${input}`; + let index = -1; + if (value[0] === "-") value = value.slice(1); + if (value === "0") return false; + while (value[++index] === "0") ; + return index > 0; }; - } -}); - -// node_modules/vnopts/lib/handlers/unknown/index.js -var require_unknown = __commonJS({ - "node_modules/vnopts/lib/handlers/unknown/index.js"(exports) { - "use strict"; - Object.defineProperty(exports, "__esModule", { value: true }); - var tslib_1 = (init_tslib_es6(), __toCommonJS(tslib_es6_exports)); - tslib_1.__exportStar(require_leven2(), exports); - } -}); - -// node_modules/vnopts/lib/handlers/index.js -var require_handlers = __commonJS({ - "node_modules/vnopts/lib/handlers/index.js"(exports) { - "use strict"; - Object.defineProperty(exports, "__esModule", { value: true }); - var tslib_1 = (init_tslib_es6(), __toCommonJS(tslib_es6_exports)); - tslib_1.__exportStar(require_deprecated(), exports); - tslib_1.__exportStar(require_invalid(), exports); - tslib_1.__exportStar(require_unknown(), exports); - } -}); - -// node_modules/vnopts/lib/schema.js -var require_schema = __commonJS({ - "node_modules/vnopts/lib/schema.js"(exports) { - "use strict"; - Object.defineProperty(exports, "__esModule", { value: true }); - var HANDLER_KEYS = [ - "default", - "expected", - "validate", - "deprecated", - "forward", - "redirect", - "overlap", - "preprocess", - "postprocess" - ]; - function createSchema(SchemaConstructor, parameters) { - const schema = new SchemaConstructor(parameters); - const subSchema = Object.create(schema); - for (const handlerKey of HANDLER_KEYS) { - if (handlerKey in parameters) { - subSchema[handlerKey] = normalizeHandler(parameters[handlerKey], schema, Schema.prototype[handlerKey].length); - } + var stringify = (start, end, options8) => { + if (typeof start === "string" || typeof end === "string") { + return true; } - return subSchema; - } - exports.createSchema = createSchema; - var Schema = class { - constructor(parameters) { - this.name = parameters.name; + return options8.stringify === true; + }; + var pad = (input, maxLength, toNumber) => { + if (maxLength > 0) { + let dash = input[0] === "-" ? "-" : ""; + if (dash) input = input.slice(1); + input = dash + input.padStart(dash ? maxLength - 1 : maxLength, "0"); } - static create(parameters) { - return createSchema(this, parameters); + if (toNumber === false) { + return String(input); } - default(_utils) { - return void 0; - } - // istanbul ignore next: this is actually an abstract method but we need a placeholder to get `function.length` - expected(_utils) { - return "nothing"; - } - // istanbul ignore next: this is actually an abstract method but we need a placeholder to get `function.length` - validate(_value, _utils) { - return false; - } - deprecated(_value, _utils) { - return false; - } - forward(_value, _utils) { - return void 0; - } - redirect(_value, _utils) { - return void 0; - } - overlap(currentValue, _newValue, _utils) { - return currentValue; - } - preprocess(value, _utils) { - return value; - } - postprocess(value, _utils) { - return value; + return input; + }; + var toMaxLen = (input, maxLength) => { + let negative = input[0] === "-" ? "-" : ""; + if (negative) { + input = input.slice(1); + maxLength--; } + while (input.length < maxLength) input = "0" + input; + return negative ? "-" + input : input; }; - exports.Schema = Schema; - function normalizeHandler(handler, superSchema, handlerArgumentsLength) { - return typeof handler === "function" ? (...args) => handler(...args.slice(0, handlerArgumentsLength - 1), superSchema, ...args.slice(handlerArgumentsLength - 1)) : () => handler; - } - } -}); - -// node_modules/vnopts/lib/schemas/alias.js -var require_alias = __commonJS({ - "node_modules/vnopts/lib/schemas/alias.js"(exports) { - "use strict"; - Object.defineProperty(exports, "__esModule", { value: true }); - var schema_1 = require_schema(); - var AliasSchema = class extends schema_1.Schema { - constructor(parameters) { - super(parameters); - this._sourceName = parameters.sourceName; + var toSequence = (parts, options8, maxLen) => { + parts.negatives.sort((a, b) => a < b ? -1 : a > b ? 1 : 0); + parts.positives.sort((a, b) => a < b ? -1 : a > b ? 1 : 0); + let prefix = options8.capture ? "" : "?:"; + let positives = ""; + let negatives = ""; + let result; + if (parts.positives.length) { + positives = parts.positives.map((v) => toMaxLen(String(v), maxLen)).join("|"); } - expected(utils) { - return utils.schemas[this._sourceName].expected(utils); + if (parts.negatives.length) { + negatives = `-(${prefix}${parts.negatives.map((v) => toMaxLen(String(v), maxLen)).join("|")})`; } - validate(value, utils) { - return utils.schemas[this._sourceName].validate(value, utils); + if (positives && negatives) { + result = `${positives}|${negatives}`; + } else { + result = positives || negatives; } - redirect(_value, _utils) { - return this._sourceName; + if (options8.wrap) { + return `(${prefix}${result})`; } + return result; }; - exports.AliasSchema = AliasSchema; - } -}); - -// node_modules/vnopts/lib/schemas/any.js -var require_any = __commonJS({ - "node_modules/vnopts/lib/schemas/any.js"(exports) { - "use strict"; - Object.defineProperty(exports, "__esModule", { value: true }); - var schema_1 = require_schema(); - var AnySchema = class extends schema_1.Schema { - expected() { - return "anything"; + var toRange = (a, b, isNumbers, options8) => { + if (isNumbers) { + return toRegexRange(a, b, { wrap: false, ...options8 }); } - validate() { - return true; + let start = String.fromCharCode(a); + if (a === b) return start; + let stop = String.fromCharCode(b); + return `[${start}-${stop}]`; + }; + var toRegex = (start, end, options8) => { + if (Array.isArray(start)) { + let wrap = options8.wrap === true; + let prefix = options8.capture ? "" : "?:"; + return wrap ? `(${prefix}${start.join("|")})` : start.join("|"); } + return toRegexRange(start, end, options8); }; - exports.AnySchema = AnySchema; - } -}); - -// node_modules/vnopts/lib/schemas/array.js -var require_array = __commonJS({ - "node_modules/vnopts/lib/schemas/array.js"(exports) { - "use strict"; - Object.defineProperty(exports, "__esModule", { value: true }); - var tslib_1 = (init_tslib_es6(), __toCommonJS(tslib_es6_exports)); - var schema_1 = require_schema(); - var ArraySchema = class extends schema_1.Schema { - constructor(_a) { - var { valueSchema, name = valueSchema.name } = _a, handlers = tslib_1.__rest(_a, ["valueSchema", "name"]); - super(Object.assign({}, handlers, { name })); - this._valueSchema = valueSchema; - } - expected(utils) { - return `an array of ${this._valueSchema.expected(utils)}`; - } - validate(value, utils) { - if (!Array.isArray(value)) { - return false; - } - const invalidValues = []; - for (const subValue of value) { - const subValidateResult = utils.normalizeValidateResult(this._valueSchema.validate(subValue, utils), subValue); - if (subValidateResult !== true) { - invalidValues.push(subValidateResult.value); - } - } - return invalidValues.length === 0 ? true : { value: invalidValues }; + var rangeError = (...args) => { + return new RangeError("Invalid range arguments: " + util2.inspect(...args)); + }; + var invalidRange = (start, end, options8) => { + if (options8.strictRanges === true) throw rangeError([start, end]); + return []; + }; + var invalidStep = (step, options8) => { + if (options8.strictRanges === true) { + throw new TypeError(`Expected step "${step}" to be a number`); } - deprecated(value, utils) { - const deprecatedResult = []; - for (const subValue of value) { - const subDeprecatedResult = utils.normalizeDeprecatedResult(this._valueSchema.deprecated(subValue, utils), subValue); - if (subDeprecatedResult !== false) { - deprecatedResult.push(...subDeprecatedResult.map(({ value: deprecatedValue }) => ({ - value: [deprecatedValue] - }))); - } - } - return deprecatedResult; + return []; + }; + var fillNumbers = (start, end, step = 1, options8 = {}) => { + let a = Number(start); + let b = Number(end); + if (!Number.isInteger(a) || !Number.isInteger(b)) { + if (options8.strictRanges === true) throw rangeError([start, end]); + return []; } - forward(value, utils) { - const forwardResult = []; - for (const subValue of value) { - const subForwardResult = utils.normalizeForwardResult(this._valueSchema.forward(subValue, utils), subValue); - forwardResult.push(...subForwardResult.map(wrapTransferResult)); - } - return forwardResult; + if (a === 0) a = 0; + if (b === 0) b = 0; + let descending = a > b; + let startString = String(start); + let endString = String(end); + let stepString = String(step); + step = Math.max(Math.abs(step), 1); + let padded = zeros(startString) || zeros(endString) || zeros(stepString); + let maxLen = padded ? Math.max(startString.length, endString.length, stepString.length) : 0; + let toNumber = padded === false && stringify(start, end, options8) === false; + let format3 = options8.transform || transform(toNumber); + if (options8.toRegex && step === 1) { + return toRange(toMaxLen(start, maxLen), toMaxLen(end, maxLen), true, options8); } - redirect(value, utils) { - const remain = []; - const redirect = []; - for (const subValue of value) { - const subRedirectResult = utils.normalizeRedirectResult(this._valueSchema.redirect(subValue, utils), subValue); - if ("remain" in subRedirectResult) { - remain.push(subRedirectResult.remain); - } - redirect.push(...subRedirectResult.redirect.map(wrapTransferResult)); + let parts = { negatives: [], positives: [] }; + let push2 = (num) => parts[num < 0 ? "negatives" : "positives"].push(Math.abs(num)); + let range = []; + let index = 0; + while (descending ? a >= b : a <= b) { + if (options8.toRegex === true && step > 1) { + push2(a); + } else { + range.push(pad(format3(a, index), maxLen, toNumber)); } - return remain.length === 0 ? { redirect } : { redirect, remain }; + a = descending ? a - step : a + step; + index++; } - overlap(currentValue, newValue) { - return currentValue.concat(newValue); + if (options8.toRegex === true) { + return step > 1 ? toSequence(parts, options8, maxLen) : toRegex(range, null, { wrap: false, ...options8 }); } + return range; }; - exports.ArraySchema = ArraySchema; - function wrapTransferResult({ from, to }) { - return { from: [from], to }; - } - } -}); - -// node_modules/vnopts/lib/schemas/boolean.js -var require_boolean = __commonJS({ - "node_modules/vnopts/lib/schemas/boolean.js"(exports) { - "use strict"; - Object.defineProperty(exports, "__esModule", { value: true }); - var schema_1 = require_schema(); - var BooleanSchema = class extends schema_1.Schema { - expected() { - return "true or false"; + var fillLetters = (start, end, step = 1, options8 = {}) => { + if (!isNumber(start) && start.length > 1 || !isNumber(end) && end.length > 1) { + return invalidRange(start, end, options8); + } + let format3 = options8.transform || ((val) => String.fromCharCode(val)); + let a = `${start}`.charCodeAt(0); + let b = `${end}`.charCodeAt(0); + let descending = a > b; + let min = Math.min(a, b); + let max = Math.max(a, b); + if (options8.toRegex && step === 1) { + return toRange(min, max, false, options8); + } + let range = []; + let index = 0; + while (descending ? a >= b : a <= b) { + range.push(format3(a, index)); + a = descending ? a - step : a + step; + index++; } - validate(value) { - return typeof value === "boolean"; + if (options8.toRegex === true) { + return toRegex(range, null, { wrap: false, options: options8 }); } + return range; }; - exports.BooleanSchema = BooleanSchema; - } -}); - -// node_modules/vnopts/lib/utils.js -var require_utils = __commonJS({ - "node_modules/vnopts/lib/utils.js"(exports) { - "use strict"; - Object.defineProperty(exports, "__esModule", { value: true }); - function recordFromArray(array, mainKey) { - const record = /* @__PURE__ */ Object.create(null); - for (const value of array) { - const key = value[mainKey]; - if (record[key]) { - throw new Error(`Duplicate ${mainKey} ${JSON.stringify(key)}`); - } - record[key] = value; - } - return record; - } - exports.recordFromArray = recordFromArray; - function mapFromArray(array, mainKey) { - const map = /* @__PURE__ */ new Map(); - for (const value of array) { - const key = value[mainKey]; - if (map.has(key)) { - throw new Error(`Duplicate ${mainKey} ${JSON.stringify(key)}`); - } - map.set(key, value); - } - return map; - } - exports.mapFromArray = mapFromArray; - function createAutoChecklist() { - const map = /* @__PURE__ */ Object.create(null); - return (id) => { - const idString = JSON.stringify(id); - if (map[idString]) { - return true; - } - map[idString] = true; - return false; - }; - } - exports.createAutoChecklist = createAutoChecklist; - function partition2(array, predicate) { - const trueArray = []; - const falseArray = []; - for (const value of array) { - if (predicate(value)) { - trueArray.push(value); - } else { - falseArray.push(value); - } + var fill2 = (start, end, step, options8 = {}) => { + if (end == null && isValidValue(start)) { + return [start]; } - return [trueArray, falseArray]; - } - exports.partition = partition2; - function isInt(value) { - return value === Math.floor(value); - } - exports.isInt = isInt; - function comparePrimitive(a, b) { - if (a === b) { - return 0; + if (!isValidValue(start) || !isValidValue(end)) { + return invalidRange(start, end, options8); } - const typeofA = typeof a; - const typeofB = typeof b; - const orders = [ - "undefined", - "object", - "boolean", - "number", - "string" - ]; - if (typeofA !== typeofB) { - return orders.indexOf(typeofA) - orders.indexOf(typeofB); + if (typeof step === "function") { + return fill2(start, end, 1, { transform: step }); } - if (typeofA !== "string") { - return Number(a) - Number(b); + if (isObject3(step)) { + return fill2(start, end, 0, step); } - return a.localeCompare(b); - } - exports.comparePrimitive = comparePrimitive; - function normalizeDefaultResult(result) { - return result === void 0 ? {} : result; - } - exports.normalizeDefaultResult = normalizeDefaultResult; - function normalizeValidateResult(result, value) { - return result === true ? true : result === false ? { value } : result; - } - exports.normalizeValidateResult = normalizeValidateResult; - function normalizeDeprecatedResult(result, value, doNotNormalizeTrue = false) { - return result === false ? false : result === true ? doNotNormalizeTrue ? true : [{ value }] : "value" in result ? [result] : result.length === 0 ? false : result; - } - exports.normalizeDeprecatedResult = normalizeDeprecatedResult; - function normalizeTransferResult(result, value) { - return typeof result === "string" || "key" in result ? { from: value, to: result } : "from" in result ? { from: result.from, to: result.to } : { from: value, to: result.to }; - } - exports.normalizeTransferResult = normalizeTransferResult; - function normalizeForwardResult(result, value) { - return result === void 0 ? [] : Array.isArray(result) ? result.map((transferResult) => normalizeTransferResult(transferResult, value)) : [normalizeTransferResult(result, value)]; - } - exports.normalizeForwardResult = normalizeForwardResult; - function normalizeRedirectResult(result, value) { - const redirect = normalizeForwardResult(typeof result === "object" && "redirect" in result ? result.redirect : result, value); - return redirect.length === 0 ? { remain: value, redirect } : typeof result === "object" && "remain" in result ? { remain: result.remain, redirect } : { redirect }; - } - exports.normalizeRedirectResult = normalizeRedirectResult; - } -}); - -// node_modules/vnopts/lib/schemas/choice.js -var require_choice = __commonJS({ - "node_modules/vnopts/lib/schemas/choice.js"(exports) { - "use strict"; - Object.defineProperty(exports, "__esModule", { value: true }); - var schema_1 = require_schema(); - var utils_1 = require_utils(); - var ChoiceSchema = class extends schema_1.Schema { - constructor(parameters) { - super(parameters); - this._choices = utils_1.mapFromArray(parameters.choices.map((choice) => choice && typeof choice === "object" ? choice : { value: choice }), "value"); - } - expected({ descriptor }) { - const choiceValues = Array.from(this._choices.keys()).map((value) => this._choices.get(value)).filter((choiceInfo) => !choiceInfo.deprecated).map((choiceInfo) => choiceInfo.value).sort(utils_1.comparePrimitive).map(descriptor.value); - const head = choiceValues.slice(0, -2); - const tail = choiceValues.slice(-2); - return head.concat(tail.join(" or ")).join(", "); - } - validate(value) { - return this._choices.has(value); - } - deprecated(value) { - const choiceInfo = this._choices.get(value); - return choiceInfo && choiceInfo.deprecated ? { value } : false; - } - forward(value) { - const choiceInfo = this._choices.get(value); - return choiceInfo ? choiceInfo.forward : void 0; - } - redirect(value) { - const choiceInfo = this._choices.get(value); - return choiceInfo ? choiceInfo.redirect : void 0; + let opts = { ...options8 }; + if (opts.capture === true) opts.wrap = true; + step = step || opts.step || 1; + if (!isNumber(step)) { + if (step != null && !isObject3(step)) return invalidStep(step, opts); + return fill2(start, end, 1, step); + } + if (isNumber(start) && isNumber(end)) { + return fillNumbers(start, end, step, opts); } + return fillLetters(start, end, Math.max(Math.abs(step), 1), opts); }; - exports.ChoiceSchema = ChoiceSchema; + module.exports = fill2; } }); -// node_modules/vnopts/lib/schemas/number.js -var require_number = __commonJS({ - "node_modules/vnopts/lib/schemas/number.js"(exports) { +// node_modules/braces/lib/compile.js +var require_compile = __commonJS({ + "node_modules/braces/lib/compile.js"(exports, module) { "use strict"; - Object.defineProperty(exports, "__esModule", { value: true }); - var schema_1 = require_schema(); - var NumberSchema = class extends schema_1.Schema { - expected() { - return "a number"; - } - validate(value, _utils) { - return typeof value === "number"; - } + var fill2 = require_fill_range(); + var utils = require_utils(); + var compile = (ast, options8 = {}) => { + const walk = (node, parent = {}) => { + const invalidBlock = utils.isInvalidBrace(parent); + const invalidNode = node.invalid === true && options8.escapeInvalid === true; + const invalid = invalidBlock === true || invalidNode === true; + const prefix = options8.escapeInvalid === true ? "\\" : ""; + let output = ""; + if (node.isOpen === true) { + return prefix + node.value; + } + if (node.isClose === true) { + console.log("node.isClose", prefix, node.value); + return prefix + node.value; + } + if (node.type === "open") { + return invalid ? prefix + node.value : "("; + } + if (node.type === "close") { + return invalid ? prefix + node.value : ")"; + } + if (node.type === "comma") { + return node.prev.type === "comma" ? "" : invalid ? node.value : "|"; + } + if (node.value) { + return node.value; + } + if (node.nodes && node.ranges > 0) { + const args = utils.reduce(node.nodes); + const range = fill2(...args, { ...options8, wrap: false, toRegex: true, strictZeros: true }); + if (range.length !== 0) { + return args.length > 1 && range.length > 1 ? `(${range})` : range; + } + } + if (node.nodes) { + for (const child of node.nodes) { + output += walk(child, node); + } + } + return output; + }; + return walk(ast); }; - exports.NumberSchema = NumberSchema; + module.exports = compile; } }); -// node_modules/vnopts/lib/schemas/integer.js -var require_integer = __commonJS({ - "node_modules/vnopts/lib/schemas/integer.js"(exports) { +// node_modules/braces/lib/expand.js +var require_expand = __commonJS({ + "node_modules/braces/lib/expand.js"(exports, module) { "use strict"; - Object.defineProperty(exports, "__esModule", { value: true }); - var utils_1 = require_utils(); - var number_1 = require_number(); - var IntegerSchema = class extends number_1.NumberSchema { - expected() { - return "an integer"; + var fill2 = require_fill_range(); + var stringify = require_stringify(); + var utils = require_utils(); + var append = (queue = "", stash = "", enclose = false) => { + const result = []; + queue = [].concat(queue); + stash = [].concat(stash); + if (!stash.length) return queue; + if (!queue.length) { + return enclose ? utils.flatten(stash).map((ele) => `{${ele}}`) : stash; } - validate(value, utils) { - return utils.normalizeValidateResult(super.validate(value, utils), value) === true && utils_1.isInt(value); + for (const item of queue) { + if (Array.isArray(item)) { + for (const value of item) { + result.push(append(value, stash, enclose)); + } + } else { + for (let ele of stash) { + if (enclose === true && typeof ele === "string") ele = `{${ele}}`; + result.push(Array.isArray(ele) ? append(item, ele, enclose) : item + ele); + } + } } + return utils.flatten(result); }; - exports.IntegerSchema = IntegerSchema; - } -}); - -// node_modules/vnopts/lib/schemas/string.js -var require_string = __commonJS({ - "node_modules/vnopts/lib/schemas/string.js"(exports) { - "use strict"; - Object.defineProperty(exports, "__esModule", { value: true }); - var schema_1 = require_schema(); - var StringSchema = class extends schema_1.Schema { - expected() { - return "a string"; - } - validate(value) { - return typeof value === "string"; - } - }; - exports.StringSchema = StringSchema; - } -}); - -// node_modules/vnopts/lib/schemas/index.js -var require_schemas = __commonJS({ - "node_modules/vnopts/lib/schemas/index.js"(exports) { - "use strict"; - Object.defineProperty(exports, "__esModule", { value: true }); - var tslib_1 = (init_tslib_es6(), __toCommonJS(tslib_es6_exports)); - tslib_1.__exportStar(require_alias(), exports); - tslib_1.__exportStar(require_any(), exports); - tslib_1.__exportStar(require_array(), exports); - tslib_1.__exportStar(require_boolean(), exports); - tslib_1.__exportStar(require_choice(), exports); - tslib_1.__exportStar(require_integer(), exports); - tslib_1.__exportStar(require_number(), exports); - tslib_1.__exportStar(require_string(), exports); - } -}); - -// node_modules/vnopts/lib/defaults.js -var require_defaults = __commonJS({ - "node_modules/vnopts/lib/defaults.js"(exports) { - "use strict"; - Object.defineProperty(exports, "__esModule", { value: true }); - var api_1 = require_api(); - var common_1 = require_common(); - var invalid_1 = require_invalid(); - var leven_1 = require_leven2(); - exports.defaultDescriptor = api_1.apiDescriptor; - exports.defaultUnknownHandler = leven_1.levenUnknownHandler; - exports.defaultInvalidHandler = invalid_1.commonInvalidHandler; - exports.defaultDeprecatedHandler = common_1.commonDeprecatedHandler; - } -}); - -// node_modules/vnopts/lib/normalize.js -var require_normalize = __commonJS({ - "node_modules/vnopts/lib/normalize.js"(exports) { - "use strict"; - Object.defineProperty(exports, "__esModule", { value: true }); - var defaults_1 = require_defaults(); - var utils_1 = require_utils(); - exports.normalize = (options8, schemas, opts) => new Normalizer(schemas, opts).normalize(options8); - var Normalizer = class { - constructor(schemas, opts) { - const { logger = console, descriptor = defaults_1.defaultDescriptor, unknown = defaults_1.defaultUnknownHandler, invalid = defaults_1.defaultInvalidHandler, deprecated = defaults_1.defaultDeprecatedHandler } = opts || {}; - this._utils = { - descriptor, - logger: ( - /* istanbul ignore next */ - logger || { warn: () => { - } } - ), - schemas: utils_1.recordFromArray(schemas, "name"), - normalizeDefaultResult: utils_1.normalizeDefaultResult, - normalizeDeprecatedResult: utils_1.normalizeDeprecatedResult, - normalizeForwardResult: utils_1.normalizeForwardResult, - normalizeRedirectResult: utils_1.normalizeRedirectResult, - normalizeValidateResult: utils_1.normalizeValidateResult - }; - this._unknownHandler = unknown; - this._invalidHandler = invalid; - this._deprecatedHandler = deprecated; - this.cleanHistory(); - } - cleanHistory() { - this._hasDeprecationWarned = utils_1.createAutoChecklist(); - } - normalize(options8) { - const normalized = {}; - const restOptionsArray = [options8]; - const applyNormalization = () => { - while (restOptionsArray.length !== 0) { - const currentOptions = restOptionsArray.shift(); - const transferredOptionsArray = this._applyNormalization(currentOptions, normalized); - restOptionsArray.push(...transferredOptionsArray); + var expand = (ast, options8 = {}) => { + const rangeLimit = options8.rangeLimit === void 0 ? 1e3 : options8.rangeLimit; + const walk = (node, parent = {}) => { + node.queue = []; + let p = parent; + let q = parent.queue; + while (p.type !== "brace" && p.type !== "root" && p.parent) { + p = p.parent; + q = p.queue; + } + if (node.invalid || node.dollar) { + q.push(append(q.pop(), stringify(node, options8))); + return; + } + if (node.type === "brace" && node.invalid !== true && node.nodes.length === 2) { + q.push(append(q.pop(), ["{}"])); + return; + } + if (node.nodes && node.ranges > 0) { + const args = utils.reduce(node.nodes); + if (utils.exceedsLimit(...args, options8.step, rangeLimit)) { + throw new RangeError("expanded array length exceeds range limit. Use options.rangeLimit to increase or disable the limit."); } - }; - applyNormalization(); - for (const key of Object.keys(this._utils.schemas)) { - const schema = this._utils.schemas[key]; - if (!(key in normalized)) { - const defaultResult = utils_1.normalizeDefaultResult(schema.default(this._utils)); - if ("value" in defaultResult) { - restOptionsArray.push({ [key]: defaultResult.value }); - } + let range = fill2(...args, options8); + if (range.length === 0) { + range = stringify(node, options8); } + q.push(append(q.pop(), range)); + node.nodes = []; + return; } - applyNormalization(); - for (const key of Object.keys(this._utils.schemas)) { - const schema = this._utils.schemas[key]; - if (key in normalized) { - normalized[key] = schema.postprocess(normalized[key], this._utils); - } - } - return normalized; - } - _applyNormalization(options8, normalized) { - const transferredOptionsArray = []; - const [knownOptionNames, unknownOptionNames] = utils_1.partition(Object.keys(options8), (key) => key in this._utils.schemas); - for (const key of knownOptionNames) { - const schema = this._utils.schemas[key]; - const value = schema.preprocess(options8[key], this._utils); - const validateResult = utils_1.normalizeValidateResult(schema.validate(value, this._utils), value); - if (validateResult !== true) { - const { value: invalidValue } = validateResult; - const errorMessageOrError = this._invalidHandler(key, invalidValue, this._utils); - throw typeof errorMessageOrError === "string" ? new Error(errorMessageOrError) : ( - /* istanbul ignore next*/ - errorMessageOrError - ); - } - const appendTransferredOptions = ({ from, to }) => { - transferredOptionsArray.push(typeof to === "string" ? { [to]: from } : { [to.key]: to.value }); - }; - const warnDeprecated = ({ value: currentValue, redirectTo }) => { - const deprecatedResult = utils_1.normalizeDeprecatedResult( - schema.deprecated(currentValue, this._utils), - value, - /* doNotNormalizeTrue */ - true - ); - if (deprecatedResult === false) { - return; - } - if (deprecatedResult === true) { - if (!this._hasDeprecationWarned(key)) { - this._utils.logger.warn(this._deprecatedHandler(key, redirectTo, this._utils)); - } - } else { - for (const { value: deprecatedValue } of deprecatedResult) { - const pair = { key, value: deprecatedValue }; - if (!this._hasDeprecationWarned(pair)) { - const redirectToPair = typeof redirectTo === "string" ? { key: redirectTo, value: deprecatedValue } : redirectTo; - this._utils.logger.warn(this._deprecatedHandler(pair, redirectToPair, this._utils)); - } - } - } - }; - const forwardResult = utils_1.normalizeForwardResult(schema.forward(value, this._utils), value); - forwardResult.forEach(appendTransferredOptions); - const redirectResult = utils_1.normalizeRedirectResult(schema.redirect(value, this._utils), value); - redirectResult.redirect.forEach(appendTransferredOptions); - if ("remain" in redirectResult) { - const remainingValue = redirectResult.remain; - normalized[key] = key in normalized ? schema.overlap(normalized[key], remainingValue, this._utils) : remainingValue; - warnDeprecated({ value: remainingValue }); - } - for (const { from, to } of redirectResult.redirect) { - warnDeprecated({ value: from, redirectTo: to }); - } - } - for (const key of unknownOptionNames) { - const value = options8[key]; - const unknownResult = this._unknownHandler(key, value, this._utils); - if (unknownResult) { - for (const unknownKey of Object.keys(unknownResult)) { - const unknownOption = { [unknownKey]: unknownResult[unknownKey] }; - if (unknownKey in this._utils.schemas) { - transferredOptionsArray.push(unknownOption); - } else { - Object.assign(normalized, unknownOption); - } - } + const enclose = utils.encloseBrace(node); + let queue = node.queue; + let block = node; + while (block.type !== "brace" && block.type !== "root" && block.parent) { + block = block.parent; + queue = block.queue; + } + for (let i = 0; i < node.nodes.length; i++) { + const child = node.nodes[i]; + if (child.type === "comma" && node.type === "brace") { + if (i === 1) queue.push(""); + queue.push(""); + continue; + } + if (child.type === "close") { + q.push(append(q.pop(), queue, enclose)); + continue; + } + if (child.value && child.type !== "open") { + queue.push(append(queue.pop(), child.value)); + continue; + } + if (child.nodes) { + walk(child, node); } } - return transferredOptionsArray; - } + return queue; + }; + return utils.flatten(walk(ast)); }; - exports.Normalizer = Normalizer; + module.exports = expand; } }); -// node_modules/vnopts/lib/index.js -var require_lib = __commonJS({ - "node_modules/vnopts/lib/index.js"(exports) { +// node_modules/braces/lib/constants.js +var require_constants = __commonJS({ + "node_modules/braces/lib/constants.js"(exports, module) { "use strict"; - Object.defineProperty(exports, "__esModule", { value: true }); - var tslib_1 = (init_tslib_es6(), __toCommonJS(tslib_es6_exports)); - tslib_1.__exportStar(require_descriptors(), exports); - tslib_1.__exportStar(require_handlers(), exports); - tslib_1.__exportStar(require_schemas(), exports); - tslib_1.__exportStar(require_normalize(), exports); - tslib_1.__exportStar(require_schema(), exports); + module.exports = { + MAX_LENGTH: 1e4, + // Digits + CHAR_0: "0", + /* 0 */ + CHAR_9: "9", + /* 9 */ + // Alphabet chars. + CHAR_UPPERCASE_A: "A", + /* A */ + CHAR_LOWERCASE_A: "a", + /* a */ + CHAR_UPPERCASE_Z: "Z", + /* Z */ + CHAR_LOWERCASE_Z: "z", + /* z */ + CHAR_LEFT_PARENTHESES: "(", + /* ( */ + CHAR_RIGHT_PARENTHESES: ")", + /* ) */ + CHAR_ASTERISK: "*", + /* * */ + // Non-alphabetic chars. + CHAR_AMPERSAND: "&", + /* & */ + CHAR_AT: "@", + /* @ */ + CHAR_BACKSLASH: "\\", + /* \ */ + CHAR_BACKTICK: "`", + /* ` */ + CHAR_CARRIAGE_RETURN: "\r", + /* \r */ + CHAR_CIRCUMFLEX_ACCENT: "^", + /* ^ */ + CHAR_COLON: ":", + /* : */ + CHAR_COMMA: ",", + /* , */ + CHAR_DOLLAR: "$", + /* . */ + CHAR_DOT: ".", + /* . */ + CHAR_DOUBLE_QUOTE: '"', + /* " */ + CHAR_EQUAL: "=", + /* = */ + CHAR_EXCLAMATION_MARK: "!", + /* ! */ + CHAR_FORM_FEED: "\f", + /* \f */ + CHAR_FORWARD_SLASH: "/", + /* / */ + CHAR_HASH: "#", + /* # */ + CHAR_HYPHEN_MINUS: "-", + /* - */ + CHAR_LEFT_ANGLE_BRACKET: "<", + /* < */ + CHAR_LEFT_CURLY_BRACE: "{", + /* { */ + CHAR_LEFT_SQUARE_BRACKET: "[", + /* [ */ + CHAR_LINE_FEED: "\n", + /* \n */ + CHAR_NO_BREAK_SPACE: "\xA0", + /* \u00A0 */ + CHAR_PERCENT: "%", + /* % */ + CHAR_PLUS: "+", + /* + */ + CHAR_QUESTION_MARK: "?", + /* ? */ + CHAR_RIGHT_ANGLE_BRACKET: ">", + /* > */ + CHAR_RIGHT_CURLY_BRACE: "}", + /* } */ + CHAR_RIGHT_SQUARE_BRACKET: "]", + /* ] */ + CHAR_SEMICOLON: ";", + /* ; */ + CHAR_SINGLE_QUOTE: "'", + /* ' */ + CHAR_SPACE: " ", + /* */ + CHAR_TAB: " ", + /* \t */ + CHAR_UNDERSCORE: "_", + /* _ */ + CHAR_VERTICAL_LINE: "|", + /* | */ + CHAR_ZERO_WIDTH_NOBREAK_SPACE: "\uFEFF" + /* \uFEFF */ + }; } }); -// node_modules/fast-glob/out/utils/array.js -var require_array2 = __commonJS({ - "node_modules/fast-glob/out/utils/array.js"(exports) { +// node_modules/braces/lib/parse.js +var require_parse = __commonJS({ + "node_modules/braces/lib/parse.js"(exports, module) { "use strict"; - Object.defineProperty(exports, "__esModule", { value: true }); - exports.splitWhen = exports.flatten = void 0; - function flatten(items) { - return items.reduce((collection, item) => [].concat(collection, item), []); - } - exports.flatten = flatten; - function splitWhen(items, predicate) { - const result = [[]]; - let groupIndex = 0; - for (const item of items) { - if (predicate(item)) { - groupIndex++; - result[groupIndex] = []; - } else { - result[groupIndex].push(item); - } + var stringify = require_stringify(); + var { + MAX_LENGTH, + CHAR_BACKSLASH, + /* \ */ + CHAR_BACKTICK, + /* ` */ + CHAR_COMMA, + /* , */ + CHAR_DOT, + /* . */ + CHAR_LEFT_PARENTHESES, + /* ( */ + CHAR_RIGHT_PARENTHESES, + /* ) */ + CHAR_LEFT_CURLY_BRACE, + /* { */ + CHAR_RIGHT_CURLY_BRACE, + /* } */ + CHAR_LEFT_SQUARE_BRACKET, + /* [ */ + CHAR_RIGHT_SQUARE_BRACKET, + /* ] */ + CHAR_DOUBLE_QUOTE, + /* " */ + CHAR_SINGLE_QUOTE, + /* ' */ + CHAR_NO_BREAK_SPACE, + CHAR_ZERO_WIDTH_NOBREAK_SPACE + } = require_constants(); + var parse6 = (input, options8 = {}) => { + if (typeof input !== "string") { + throw new TypeError("Expected a string"); } - return result; - } - exports.splitWhen = splitWhen; - } -}); - -// node_modules/fast-glob/out/utils/errno.js -var require_errno = __commonJS({ - "node_modules/fast-glob/out/utils/errno.js"(exports) { - "use strict"; - Object.defineProperty(exports, "__esModule", { value: true }); - exports.isEnoentCodeError = void 0; - function isEnoentCodeError(error) { - return error.code === "ENOENT"; - } - exports.isEnoentCodeError = isEnoentCodeError; - } -}); - -// node_modules/fast-glob/out/utils/fs.js -var require_fs = __commonJS({ - "node_modules/fast-glob/out/utils/fs.js"(exports) { - "use strict"; - Object.defineProperty(exports, "__esModule", { value: true }); - exports.createDirentFromStats = void 0; - var DirentFromStats = class { - constructor(name, stats) { - this.name = name; - this.isBlockDevice = stats.isBlockDevice.bind(stats); - this.isCharacterDevice = stats.isCharacterDevice.bind(stats); - this.isDirectory = stats.isDirectory.bind(stats); - this.isFIFO = stats.isFIFO.bind(stats); - this.isFile = stats.isFile.bind(stats); - this.isSocket = stats.isSocket.bind(stats); - this.isSymbolicLink = stats.isSymbolicLink.bind(stats); + const opts = options8 || {}; + const max = typeof opts.maxLength === "number" ? Math.min(MAX_LENGTH, opts.maxLength) : MAX_LENGTH; + if (input.length > max) { + throw new SyntaxError(`Input length (${input.length}), exceeds max characters (${max})`); } - }; - function createDirentFromStats(name, stats) { - return new DirentFromStats(name, stats); - } - exports.createDirentFromStats = createDirentFromStats; - } -}); - -// node_modules/fast-glob/out/utils/path.js -var require_path = __commonJS({ - "node_modules/fast-glob/out/utils/path.js"(exports) { - "use strict"; - Object.defineProperty(exports, "__esModule", { value: true }); - exports.removeLeadingDotSegment = exports.escape = exports.makeAbsolute = exports.unixify = void 0; - var path9 = __require("path"); - var LEADING_DOT_SEGMENT_CHARACTERS_COUNT = 2; - var UNESCAPED_GLOB_SYMBOLS_RE = /(\\?)([()*?[\]{|}]|^!|[!+@](?=\())/g; - function unixify(filepath) { - return filepath.replace(/\\/g, "/"); - } - exports.unixify = unixify; - function makeAbsolute(cwd, filepath) { - return path9.resolve(cwd, filepath); - } - exports.makeAbsolute = makeAbsolute; - function escape(pattern) { - return pattern.replace(UNESCAPED_GLOB_SYMBOLS_RE, "\\$2"); - } - exports.escape = escape; - function removeLeadingDotSegment(entry) { - if (entry.charAt(0) === ".") { - const secondCharactery = entry.charAt(1); - if (secondCharactery === "/" || secondCharactery === "\\") { - return entry.slice(LEADING_DOT_SEGMENT_CHARACTERS_COUNT); + const ast = { type: "root", input, nodes: [] }; + const stack2 = [ast]; + let block = ast; + let prev = ast; + let brackets = 0; + const length = input.length; + let index = 0; + let depth = 0; + let value; + const advance = () => input[index++]; + const push2 = (node) => { + if (node.type === "text" && prev.type === "dot") { + prev.type = "text"; } - } - return entry; - } - exports.removeLeadingDotSegment = removeLeadingDotSegment; - } -}); - -// node_modules/is-extglob/index.js -var require_is_extglob = __commonJS({ - "node_modules/is-extglob/index.js"(exports, module) { - module.exports = function isExtglob(str) { - if (typeof str !== "string" || str === "") { - return false; - } - var match; - while (match = /(\\).|([@?!+*]\(.*\))/g.exec(str)) { - if (match[2]) - return true; - str = str.slice(match.index + match[0].length); - } - return false; - }; - } -}); - -// node_modules/is-glob/index.js -var require_is_glob = __commonJS({ - "node_modules/is-glob/index.js"(exports, module) { - var isExtglob = require_is_extglob(); - var chars = { "{": "}", "(": ")", "[": "]" }; - var strictCheck = function(str) { - if (str[0] === "!") { - return true; - } - var index = 0; - var pipeIndex = -2; - var closeSquareIndex = -2; - var closeCurlyIndex = -2; - var closeParenIndex = -2; - var backSlashIndex = -2; - while (index < str.length) { - if (str[index] === "*") { - return true; + if (prev && prev.type === "text" && node.type === "text") { + prev.value += node.value; + return; } - if (str[index + 1] === "?" && /[\].+)]/.test(str[index])) { - return true; + block.nodes.push(node); + node.parent = block; + node.prev = prev; + prev = node; + return node; + }; + push2({ type: "bos" }); + while (index < length) { + block = stack2[stack2.length - 1]; + value = advance(); + if (value === CHAR_ZERO_WIDTH_NOBREAK_SPACE || value === CHAR_NO_BREAK_SPACE) { + continue; } - if (closeSquareIndex !== -1 && str[index] === "[" && str[index + 1] !== "]") { - if (closeSquareIndex < index) { - closeSquareIndex = str.indexOf("]", index); - } - if (closeSquareIndex > index) { - if (backSlashIndex === -1 || backSlashIndex > closeSquareIndex) { - return true; + if (value === CHAR_BACKSLASH) { + push2({ type: "text", value: (options8.keepEscaping ? value : "") + advance() }); + continue; + } + if (value === CHAR_RIGHT_SQUARE_BRACKET) { + push2({ type: "text", value: "\\" + value }); + continue; + } + if (value === CHAR_LEFT_SQUARE_BRACKET) { + brackets++; + let next; + while (index < length && (next = advance())) { + value += next; + if (next === CHAR_LEFT_SQUARE_BRACKET) { + brackets++; + continue; } - backSlashIndex = str.indexOf("\\", index); - if (backSlashIndex === -1 || backSlashIndex > closeSquareIndex) { - return true; + if (next === CHAR_BACKSLASH) { + value += advance(); + continue; } - } - } - if (closeCurlyIndex !== -1 && str[index] === "{" && str[index + 1] !== "}") { - closeCurlyIndex = str.indexOf("}", index); - if (closeCurlyIndex > index) { - backSlashIndex = str.indexOf("\\", index); - if (backSlashIndex === -1 || backSlashIndex > closeCurlyIndex) { - return true; + if (next === CHAR_RIGHT_SQUARE_BRACKET) { + brackets--; + if (brackets === 0) { + break; + } } } + push2({ type: "text", value }); + continue; } - if (closeParenIndex !== -1 && str[index] === "(" && str[index + 1] === "?" && /[:!=]/.test(str[index + 2]) && str[index + 3] !== ")") { - closeParenIndex = str.indexOf(")", index); - if (closeParenIndex > index) { - backSlashIndex = str.indexOf("\\", index); - if (backSlashIndex === -1 || backSlashIndex > closeParenIndex) { - return true; - } + if (value === CHAR_LEFT_PARENTHESES) { + block = push2({ type: "paren", nodes: [] }); + stack2.push(block); + push2({ type: "text", value }); + continue; + } + if (value === CHAR_RIGHT_PARENTHESES) { + if (block.type !== "paren") { + push2({ type: "text", value }); + continue; } + block = stack2.pop(); + push2({ type: "text", value }); + block = stack2[stack2.length - 1]; + continue; } - if (pipeIndex !== -1 && str[index] === "(" && str[index + 1] !== "|") { - if (pipeIndex < index) { - pipeIndex = str.indexOf("|", index); + if (value === CHAR_DOUBLE_QUOTE || value === CHAR_SINGLE_QUOTE || value === CHAR_BACKTICK) { + const open = value; + let next; + if (options8.keepQuotes !== true) { + value = ""; } - if (pipeIndex !== -1 && str[pipeIndex + 1] !== ")") { - closeParenIndex = str.indexOf(")", pipeIndex); - if (closeParenIndex > pipeIndex) { - backSlashIndex = str.indexOf("\\", pipeIndex); - if (backSlashIndex === -1 || backSlashIndex > closeParenIndex) { - return true; - } + while (index < length && (next = advance())) { + if (next === CHAR_BACKSLASH) { + value += next + advance(); + continue; } - } - } - if (str[index] === "\\") { - var open = str[index + 1]; - index += 2; - var close = chars[open]; - if (close) { - var n = str.indexOf(close, index); - if (n !== -1) { - index = n + 1; + if (next === open) { + if (options8.keepQuotes === true) value += next; + break; } + value += next; } - if (str[index] === "!") { - return true; + push2({ type: "text", value }); + continue; + } + if (value === CHAR_LEFT_CURLY_BRACE) { + depth++; + const dollar = prev.value && prev.value.slice(-1) === "$" || block.dollar === true; + const brace = { + type: "brace", + open: true, + close: false, + dollar, + depth, + commas: 0, + ranges: 0, + nodes: [] + }; + block = push2(brace); + stack2.push(block); + push2({ type: "open", value }); + continue; + } + if (value === CHAR_RIGHT_CURLY_BRACE) { + if (block.type !== "brace") { + push2({ type: "text", value }); + continue; } - } else { - index++; + const type2 = "close"; + block = stack2.pop(); + block.close = true; + push2({ type: type2, value }); + depth--; + block = stack2[stack2.length - 1]; + continue; } - } - return false; - }; - var relaxedCheck = function(str) { - if (str[0] === "!") { - return true; - } - var index = 0; - while (index < str.length) { - if (/[*?{}()[\]]/.test(str[index])) { - return true; + if (value === CHAR_COMMA && depth > 0) { + if (block.ranges > 0) { + block.ranges = 0; + const open = block.nodes.shift(); + block.nodes = [open, { type: "text", value: stringify(block) }]; + } + push2({ type: "comma", value }); + block.commas++; + continue; } - if (str[index] === "\\") { - var open = str[index + 1]; - index += 2; - var close = chars[open]; - if (close) { - var n = str.indexOf(close, index); - if (n !== -1) { - index = n + 1; + if (value === CHAR_DOT && depth > 0 && block.commas === 0) { + const siblings = block.nodes; + if (depth === 0 || siblings.length === 0) { + push2({ type: "text", value }); + continue; + } + if (prev.type === "dot") { + block.range = []; + prev.value += value; + prev.type = "range"; + if (block.nodes.length !== 3 && block.nodes.length !== 5) { + block.invalid = true; + block.ranges = 0; + prev.type = "text"; + continue; } + block.ranges++; + block.args = []; + continue; } - if (str[index] === "!") { - return true; + if (prev.type === "range") { + siblings.pop(); + const before = siblings[siblings.length - 1]; + before.value += prev.value + value; + prev = before; + block.ranges--; + continue; } - } else { - index++; + push2({ type: "dot", value }); + continue; } + push2({ type: "text", value }); } - return false; - }; - module.exports = function isGlob(str, options8) { - if (typeof str !== "string" || str === "") { - return false; - } - if (isExtglob(str)) { - return true; - } - var check2 = strictCheck; - if (options8 && options8.strict === false) { - check2 = relaxedCheck; - } - return check2(str); - }; - } -}); - -// node_modules/glob-parent/index.js -var require_glob_parent = __commonJS({ - "node_modules/glob-parent/index.js"(exports, module) { - "use strict"; - var isGlob = require_is_glob(); - var pathPosixDirname = __require("path").posix.dirname; - var isWin32 = __require("os").platform() === "win32"; - var slash2 = "/"; - var backslash = /\\/g; - var enclosure = /[\{\[].*[\}\]]$/; - var globby = /(^|[^\\])([\{\[]|\([^\)]+$)/; - var escaped = /\\([\!\*\?\|\[\]\(\)\{\}])/g; - module.exports = function globParent(str, opts) { - var options8 = Object.assign({ flipBackslashes: true }, opts); - if (options8.flipBackslashes && isWin32 && str.indexOf(slash2) < 0) { - str = str.replace(backslash, slash2); - } - if (enclosure.test(str)) { - str += slash2; - } - str += "a"; do { - str = pathPosixDirname(str); - } while (isGlob(str) || globby.test(str)); - return str.replace(escaped, "$1"); + block = stack2.pop(); + if (block.type !== "root") { + block.nodes.forEach((node) => { + if (!node.nodes) { + if (node.type === "open") node.isOpen = true; + if (node.type === "close") node.isClose = true; + if (!node.nodes) node.type = "text"; + node.invalid = true; + } + }); + const parent = stack2[stack2.length - 1]; + const index2 = parent.nodes.indexOf(block); + parent.nodes.splice(index2, 1, ...block.nodes); + } + } while (stack2.length > 0); + push2({ type: "eos" }); + return ast; }; + module.exports = parse6; } }); -// node_modules/braces/lib/utils.js -var require_utils2 = __commonJS({ - "node_modules/braces/lib/utils.js"(exports) { +// node_modules/braces/index.js +var require_braces = __commonJS({ + "node_modules/braces/index.js"(exports, module) { "use strict"; - exports.isInteger = (num) => { - if (typeof num === "number") { - return Number.isInteger(num); + var stringify = require_stringify(); + var compile = require_compile(); + var expand = require_expand(); + var parse6 = require_parse(); + var braces = (input, options8 = {}) => { + let output = []; + if (Array.isArray(input)) { + for (const pattern of input) { + const result = braces.create(pattern, options8); + if (Array.isArray(result)) { + output.push(...result); + } else { + output.push(result); + } + } + } else { + output = [].concat(braces.create(input, options8)); } - if (typeof num === "string" && num.trim() !== "") { - return Number.isInteger(Number(num)); + if (options8 && options8.expand === true && options8.nodupes === true) { + output = [...new Set(output)]; } - return false; - }; - exports.find = (node, type) => node.nodes.find((node2) => node2.type === type); - exports.exceedsLimit = (min, max, step = 1, limit) => { - if (limit === false) - return false; - if (!exports.isInteger(min) || !exports.isInteger(max)) - return false; - return (Number(max) - Number(min)) / Number(step) >= limit; + return output; }; - exports.escapeNode = (block, n = 0, type) => { - let node = block.nodes[n]; - if (!node) - return; - if (type && node.type === type || node.type === "open" || node.type === "close") { - if (node.escaped !== true) { - node.value = "\\" + node.value; - node.escaped = true; - } + braces.parse = (input, options8 = {}) => parse6(input, options8); + braces.stringify = (input, options8 = {}) => { + if (typeof input === "string") { + return stringify(braces.parse(input, options8), options8); } + return stringify(input, options8); }; - exports.encloseBrace = (node) => { - if (node.type !== "brace") - return false; - if (node.commas >> 0 + node.ranges >> 0 === 0) { - node.invalid = true; - return true; + braces.compile = (input, options8 = {}) => { + if (typeof input === "string") { + input = braces.parse(input, options8); } - return false; + return compile(input, options8); }; - exports.isInvalidBrace = (block) => { - if (block.type !== "brace") - return false; - if (block.invalid === true || block.dollar) - return true; - if (block.commas >> 0 + block.ranges >> 0 === 0) { - block.invalid = true; - return true; + braces.expand = (input, options8 = {}) => { + if (typeof input === "string") { + input = braces.parse(input, options8); } - if (block.open !== true || block.close !== true) { - block.invalid = true; - return true; + let result = expand(input, options8); + if (options8.noempty === true) { + result = result.filter(Boolean); } - return false; - }; - exports.isOpenOrClose = (node) => { - if (node.type === "open" || node.type === "close") { - return true; + if (options8.nodupes === true) { + result = [...new Set(result)]; } - return node.open === true || node.close === true; - }; - exports.reduce = (nodes) => nodes.reduce((acc, node) => { - if (node.type === "text") - acc.push(node.value); - if (node.type === "range") - node.type = "text"; - return acc; - }, []); - exports.flatten = (...args) => { - const result = []; - const flat = (arr) => { - for (let i = 0; i < arr.length; i++) { - let ele = arr[i]; - Array.isArray(ele) ? flat(ele, result) : ele !== void 0 && result.push(ele); - } - return result; - }; - flat(args); return result; }; - } -}); - -// node_modules/braces/lib/stringify.js -var require_stringify = __commonJS({ - "node_modules/braces/lib/stringify.js"(exports, module) { - "use strict"; - var utils = require_utils2(); - module.exports = (ast, options8 = {}) => { - let stringify = (node, parent = {}) => { - let invalidBlock = options8.escapeInvalid && utils.isInvalidBrace(parent); - let invalidNode = node.invalid === true && options8.escapeInvalid === true; - let output = ""; - if (node.value) { - if ((invalidBlock || invalidNode) && utils.isOpenOrClose(node)) { - return "\\" + node.value; - } - return node.value; - } - if (node.value) { - return node.value; - } - if (node.nodes) { - for (let child of node.nodes) { - output += stringify(child); - } - } - return output; - }; - return stringify(ast); - }; - } -}); - -// node_modules/is-number/index.js -var require_is_number = __commonJS({ - "node_modules/is-number/index.js"(exports, module) { - "use strict"; - module.exports = function(num) { - if (typeof num === "number") { - return num - num === 0; - } - if (typeof num === "string" && num.trim() !== "") { - return Number.isFinite ? Number.isFinite(+num) : isFinite(+num); + braces.create = (input, options8 = {}) => { + if (input === "" || input.length < 3) { + return [input]; } - return false; + return options8.expand !== true ? braces.compile(input, options8) : braces.expand(input, options8); }; + module.exports = braces; } }); -// node_modules/to-regex-range/index.js -var require_to_regex_range = __commonJS({ - "node_modules/to-regex-range/index.js"(exports, module) { +// node_modules/picomatch/lib/constants.js +var require_constants2 = __commonJS({ + "node_modules/picomatch/lib/constants.js"(exports, module) { "use strict"; - var isNumber = require_is_number(); - var toRegexRange = (min, max, options8) => { - if (isNumber(min) === false) { - throw new TypeError("toRegexRange: expected the first argument to be a number"); - } - if (max === void 0 || min === max) { - return String(min); - } - if (isNumber(max) === false) { - throw new TypeError("toRegexRange: expected the second argument to be a number."); - } - let opts = { relaxZeros: true, ...options8 }; - if (typeof opts.strictZeros === "boolean") { - opts.relaxZeros = opts.strictZeros === false; - } - let relax = String(opts.relaxZeros); - let shorthand = String(opts.shorthand); - let capture = String(opts.capture); - let wrap = String(opts.wrap); - let cacheKey = min + ":" + max + "=" + relax + shorthand + capture + wrap; - if (toRegexRange.cache.hasOwnProperty(cacheKey)) { - return toRegexRange.cache[cacheKey].result; - } - let a = Math.min(min, max); - let b = Math.max(min, max); - if (Math.abs(a - b) === 1) { - let result = min + "|" + max; - if (opts.capture) { - return `(${result})`; - } - if (opts.wrap === false) { - return result; - } - return `(?:${result})`; - } - let isPadded = hasPadding(min) || hasPadding(max); - let state = { min, max, a, b }; - let positives = []; - let negatives = []; - if (isPadded) { - state.isPadded = isPadded; - state.maxLen = String(state.max).length; - } - if (a < 0) { - let newMin = b < 0 ? Math.abs(b) : 1; - negatives = splitToPatterns(newMin, Math.abs(a), state, opts); - a = state.a = 0; - } - if (b >= 0) { - positives = splitToPatterns(a, b, state, opts); - } - state.negatives = negatives; - state.positives = positives; - state.result = collatePatterns(negatives, positives, opts); - if (opts.capture === true) { - state.result = `(${state.result})`; - } else if (opts.wrap !== false && positives.length + negatives.length > 1) { - state.result = `(?:${state.result})`; - } - toRegexRange.cache[cacheKey] = state; - return state.result; - }; - function collatePatterns(neg, pos, options8) { - let onlyNegative = filterPatterns(neg, pos, "-", false, options8) || []; - let onlyPositive = filterPatterns(pos, neg, "", false, options8) || []; - let intersected = filterPatterns(neg, pos, "-?", true, options8) || []; - let subpatterns = onlyNegative.concat(intersected).concat(onlyPositive); - return subpatterns.join("|"); - } - function splitToRanges(min, max) { - let nines = 1; - let zeros = 1; - let stop = countNines(min, nines); - let stops = /* @__PURE__ */ new Set([max]); - while (min <= stop && stop <= max) { - stops.add(stop); - nines += 1; - stop = countNines(min, nines); - } - stop = countZeros(max + 1, zeros) - 1; - while (min < stop && stop <= max) { - stops.add(stop); - zeros += 1; - stop = countZeros(max + 1, zeros) - 1; - } - stops = [...stops]; - stops.sort(compare); - return stops; - } - function rangeToPattern(start, stop, options8) { - if (start === stop) { - return { pattern: start, count: [], digits: 0 }; - } - let zipped = zip(start, stop); - let digits = zipped.length; - let pattern = ""; - let count = 0; - for (let i = 0; i < digits; i++) { - let [startDigit, stopDigit] = zipped[i]; - if (startDigit === stopDigit) { - pattern += startDigit; - } else if (startDigit !== "0" || stopDigit !== "9") { - pattern += toCharacterClass(startDigit, stopDigit, options8); - } else { - count++; - } - } - if (count) { - pattern += options8.shorthand === true ? "\\d" : "[0-9]"; - } - return { pattern, count: [count], digits }; - } - function splitToPatterns(min, max, tok, options8) { - let ranges = splitToRanges(min, max); - let tokens = []; - let start = min; - let prev; - for (let i = 0; i < ranges.length; i++) { - let max2 = ranges[i]; - let obj = rangeToPattern(String(start), String(max2), options8); - let zeros = ""; - if (!tok.isPadded && prev && prev.pattern === obj.pattern) { - if (prev.count.length > 1) { - prev.count.pop(); - } - prev.count.push(obj.count[0]); - prev.string = prev.pattern + toQuantifier(prev.count); - start = max2 + 1; - continue; - } - if (tok.isPadded) { - zeros = padZeros(max2, tok, options8); - } - obj.string = zeros + obj.pattern + toQuantifier(obj.count); - tokens.push(obj); - start = max2 + 1; - prev = obj; - } - return tokens; - } - function filterPatterns(arr, comparison, prefix, intersection, options8) { - let result = []; - for (let ele of arr) { - let { string } = ele; - if (!intersection && !contains(comparison, "string", string)) { - result.push(prefix + string); - } - if (intersection && contains(comparison, "string", string)) { - result.push(prefix + string); - } - } - return result; - } - function zip(a, b) { - let arr = []; - for (let i = 0; i < a.length; i++) - arr.push([a[i], b[i]]); - return arr; - } - function compare(a, b) { - return a > b ? 1 : b > a ? -1 : 0; - } - function contains(arr, key, val) { - return arr.some((ele) => ele[key] === val); - } - function countNines(min, len) { - return Number(String(min).slice(0, -len) + "9".repeat(len)); - } - function countZeros(integer, zeros) { - return integer - integer % Math.pow(10, zeros); - } - function toQuantifier(digits) { - let [start = 0, stop = ""] = digits; - if (stop || start > 1) { - return `{${start + (stop ? "," + stop : "")}}`; - } - return ""; - } - function toCharacterClass(a, b, options8) { - return `[${a}${b - a === 1 ? "" : "-"}${b}]`; - } - function hasPadding(str) { - return /^-?(0+)\d/.test(str); - } - function padZeros(value, tok, options8) { - if (!tok.isPadded) { - return value; - } - let diff = Math.abs(tok.maxLen - String(value).length); - let relax = options8.relaxZeros !== false; - switch (diff) { - case 0: - return ""; - case 1: - return relax ? "0?" : "0"; - case 2: - return relax ? "0{0,2}" : "00"; - default: { - return relax ? `0{0,${diff}}` : `0{${diff}}`; - } - } - } - toRegexRange.cache = {}; - toRegexRange.clearCache = () => toRegexRange.cache = {}; - module.exports = toRegexRange; - } -}); - -// node_modules/fill-range/index.js -var require_fill_range = __commonJS({ - "node_modules/fill-range/index.js"(exports, module) { - "use strict"; - var util = __require("util"); - var toRegexRange = require_to_regex_range(); - var isObject2 = (val) => val !== null && typeof val === "object" && !Array.isArray(val); - var transform2 = (toNumber) => { - return (value) => toNumber === true ? Number(value) : String(value); - }; - var isValidValue = (value) => { - return typeof value === "number" || typeof value === "string" && value !== ""; - }; - var isNumber = (num) => Number.isInteger(+num); - var zeros = (input) => { - let value = `${input}`; - let index = -1; - if (value[0] === "-") - value = value.slice(1); - if (value === "0") - return false; - while (value[++index] === "0") - ; - return index > 0; - }; - var stringify = (start, end, options8) => { - if (typeof start === "string" || typeof end === "string") { - return true; - } - return options8.stringify === true; - }; - var pad = (input, maxLength, toNumber) => { - if (maxLength > 0) { - let dash = input[0] === "-" ? "-" : ""; - if (dash) - input = input.slice(1); - input = dash + input.padStart(dash ? maxLength - 1 : maxLength, "0"); - } - if (toNumber === false) { - return String(input); - } - return input; - }; - var toMaxLen = (input, maxLength) => { - let negative = input[0] === "-" ? "-" : ""; - if (negative) { - input = input.slice(1); - maxLength--; - } - while (input.length < maxLength) - input = "0" + input; - return negative ? "-" + input : input; - }; - var toSequence = (parts, options8) => { - parts.negatives.sort((a, b) => a < b ? -1 : a > b ? 1 : 0); - parts.positives.sort((a, b) => a < b ? -1 : a > b ? 1 : 0); - let prefix = options8.capture ? "" : "?:"; - let positives = ""; - let negatives = ""; - let result; - if (parts.positives.length) { - positives = parts.positives.join("|"); - } - if (parts.negatives.length) { - negatives = `-(${prefix}${parts.negatives.join("|")})`; - } - if (positives && negatives) { - result = `${positives}|${negatives}`; - } else { - result = positives || negatives; - } - if (options8.wrap) { - return `(${prefix}${result})`; - } - return result; - }; - var toRange = (a, b, isNumbers, options8) => { - if (isNumbers) { - return toRegexRange(a, b, { wrap: false, ...options8 }); - } - let start = String.fromCharCode(a); - if (a === b) - return start; - let stop = String.fromCharCode(b); - return `[${start}-${stop}]`; - }; - var toRegex = (start, end, options8) => { - if (Array.isArray(start)) { - let wrap = options8.wrap === true; - let prefix = options8.capture ? "" : "?:"; - return wrap ? `(${prefix}${start.join("|")})` : start.join("|"); - } - return toRegexRange(start, end, options8); - }; - var rangeError = (...args) => { - return new RangeError("Invalid range arguments: " + util.inspect(...args)); + var path13 = __require("path"); + var WIN_SLASH = "\\\\/"; + var WIN_NO_SLASH = `[^${WIN_SLASH}]`; + var DOT_LITERAL = "\\."; + var PLUS_LITERAL = "\\+"; + var QMARK_LITERAL = "\\?"; + var SLASH_LITERAL = "\\/"; + var ONE_CHAR = "(?=.)"; + var QMARK = "[^/]"; + var END_ANCHOR = `(?:${SLASH_LITERAL}|$)`; + var START_ANCHOR = `(?:^|${SLASH_LITERAL})`; + var DOTS_SLASH = `${DOT_LITERAL}{1,2}${END_ANCHOR}`; + var NO_DOT = `(?!${DOT_LITERAL})`; + var NO_DOTS = `(?!${START_ANCHOR}${DOTS_SLASH})`; + var NO_DOT_SLASH = `(?!${DOT_LITERAL}{0,1}${END_ANCHOR})`; + var NO_DOTS_SLASH = `(?!${DOTS_SLASH})`; + var QMARK_NO_DOT = `[^.${SLASH_LITERAL}]`; + var STAR = `${QMARK}*?`; + var POSIX_CHARS = { + DOT_LITERAL, + PLUS_LITERAL, + QMARK_LITERAL, + SLASH_LITERAL, + ONE_CHAR, + QMARK, + END_ANCHOR, + DOTS_SLASH, + NO_DOT, + NO_DOTS, + NO_DOT_SLASH, + NO_DOTS_SLASH, + QMARK_NO_DOT, + STAR, + START_ANCHOR }; - var invalidRange = (start, end, options8) => { - if (options8.strictRanges === true) - throw rangeError([start, end]); - return []; + var WINDOWS_CHARS = { + ...POSIX_CHARS, + SLASH_LITERAL: `[${WIN_SLASH}]`, + QMARK: WIN_NO_SLASH, + STAR: `${WIN_NO_SLASH}*?`, + DOTS_SLASH: `${DOT_LITERAL}{1,2}(?:[${WIN_SLASH}]|$)`, + NO_DOT: `(?!${DOT_LITERAL})`, + NO_DOTS: `(?!(?:^|[${WIN_SLASH}])${DOT_LITERAL}{1,2}(?:[${WIN_SLASH}]|$))`, + NO_DOT_SLASH: `(?!${DOT_LITERAL}{0,1}(?:[${WIN_SLASH}]|$))`, + NO_DOTS_SLASH: `(?!${DOT_LITERAL}{1,2}(?:[${WIN_SLASH}]|$))`, + QMARK_NO_DOT: `[^.${WIN_SLASH}]`, + START_ANCHOR: `(?:^|[${WIN_SLASH}])`, + END_ANCHOR: `(?:[${WIN_SLASH}]|$)` }; - var invalidStep = (step, options8) => { - if (options8.strictRanges === true) { - throw new TypeError(`Expected step "${step}" to be a number`); - } - return []; + var POSIX_REGEX_SOURCE = { + alnum: "a-zA-Z0-9", + alpha: "a-zA-Z", + ascii: "\\x00-\\x7F", + blank: " \\t", + cntrl: "\\x00-\\x1F\\x7F", + digit: "0-9", + graph: "\\x21-\\x7E", + lower: "a-z", + print: "\\x20-\\x7E ", + punct: "\\-!\"#$%&'()\\*+,./:;<=>?@[\\]^_`{|}~", + space: " \\t\\r\\n\\v\\f", + upper: "A-Z", + word: "A-Za-z0-9_", + xdigit: "A-Fa-f0-9" }; - var fillNumbers = (start, end, step = 1, options8 = {}) => { - let a = Number(start); - let b = Number(end); - if (!Number.isInteger(a) || !Number.isInteger(b)) { - if (options8.strictRanges === true) - throw rangeError([start, end]); - return []; - } - if (a === 0) - a = 0; - if (b === 0) - b = 0; - let descending = a > b; - let startString = String(start); - let endString = String(end); - let stepString = String(step); - step = Math.max(Math.abs(step), 1); - let padded = zeros(startString) || zeros(endString) || zeros(stepString); - let maxLen = padded ? Math.max(startString.length, endString.length, stepString.length) : 0; - let toNumber = padded === false && stringify(start, end, options8) === false; - let format3 = options8.transform || transform2(toNumber); - if (options8.toRegex && step === 1) { - return toRange(toMaxLen(start, maxLen), toMaxLen(end, maxLen), true, options8); - } - let parts = { negatives: [], positives: [] }; - let push = (num) => parts[num < 0 ? "negatives" : "positives"].push(Math.abs(num)); - let range = []; - let index = 0; - while (descending ? a >= b : a <= b) { - if (options8.toRegex === true && step > 1) { - push(a); - } else { - range.push(pad(format3(a, index), maxLen, toNumber)); - } - a = descending ? a - step : a + step; - index++; - } - if (options8.toRegex === true) { - return step > 1 ? toSequence(parts, options8) : toRegex(range, null, { wrap: false, ...options8 }); - } - return range; - }; - var fillLetters = (start, end, step = 1, options8 = {}) => { - if (!isNumber(start) && start.length > 1 || !isNumber(end) && end.length > 1) { - return invalidRange(start, end, options8); - } - let format3 = options8.transform || ((val) => String.fromCharCode(val)); - let a = `${start}`.charCodeAt(0); - let b = `${end}`.charCodeAt(0); - let descending = a > b; - let min = Math.min(a, b); - let max = Math.max(a, b); - if (options8.toRegex && step === 1) { - return toRange(min, max, false, options8); - } - let range = []; - let index = 0; - while (descending ? a >= b : a <= b) { - range.push(format3(a, index)); - a = descending ? a - step : a + step; - index++; - } - if (options8.toRegex === true) { - return toRegex(range, null, { wrap: false, options: options8 }); - } - return range; - }; - var fill2 = (start, end, step, options8 = {}) => { - if (end == null && isValidValue(start)) { - return [start]; - } - if (!isValidValue(start) || !isValidValue(end)) { - return invalidRange(start, end, options8); - } - if (typeof step === "function") { - return fill2(start, end, 1, { transform: step }); - } - if (isObject2(step)) { - return fill2(start, end, 0, step); - } - let opts = { ...options8 }; - if (opts.capture === true) - opts.wrap = true; - step = step || opts.step || 1; - if (!isNumber(step)) { - if (step != null && !isObject2(step)) - return invalidStep(step, opts); - return fill2(start, end, 1, step); - } - if (isNumber(start) && isNumber(end)) { - return fillNumbers(start, end, step, opts); - } - return fillLetters(start, end, Math.max(Math.abs(step), 1), opts); - }; - module.exports = fill2; - } -}); - -// node_modules/braces/lib/compile.js -var require_compile = __commonJS({ - "node_modules/braces/lib/compile.js"(exports, module) { - "use strict"; - var fill2 = require_fill_range(); - var utils = require_utils2(); - var compile = (ast, options8 = {}) => { - let walk = (node, parent = {}) => { - let invalidBlock = utils.isInvalidBrace(parent); - let invalidNode = node.invalid === true && options8.escapeInvalid === true; - let invalid = invalidBlock === true || invalidNode === true; - let prefix = options8.escapeInvalid === true ? "\\" : ""; - let output = ""; - if (node.isOpen === true) { - return prefix + node.value; - } - if (node.isClose === true) { - return prefix + node.value; - } - if (node.type === "open") { - return invalid ? prefix + node.value : "("; - } - if (node.type === "close") { - return invalid ? prefix + node.value : ")"; - } - if (node.type === "comma") { - return node.prev.type === "comma" ? "" : invalid ? node.value : "|"; - } - if (node.value) { - return node.value; - } - if (node.nodes && node.ranges > 0) { - let args = utils.reduce(node.nodes); - let range = fill2(...args, { ...options8, wrap: false, toRegex: true }); - if (range.length !== 0) { - return args.length > 1 && range.length > 1 ? `(${range})` : range; - } - } - if (node.nodes) { - for (let child of node.nodes) { - output += walk(child, node); - } - } - return output; - }; - return walk(ast); - }; - module.exports = compile; - } -}); - -// node_modules/braces/lib/expand.js -var require_expand = __commonJS({ - "node_modules/braces/lib/expand.js"(exports, module) { - "use strict"; - var fill2 = require_fill_range(); - var stringify = require_stringify(); - var utils = require_utils2(); - var append = (queue = "", stash = "", enclose = false) => { - let result = []; - queue = [].concat(queue); - stash = [].concat(stash); - if (!stash.length) - return queue; - if (!queue.length) { - return enclose ? utils.flatten(stash).map((ele) => `{${ele}}`) : stash; - } - for (let item of queue) { - if (Array.isArray(item)) { - for (let value of item) { - result.push(append(value, stash, enclose)); - } - } else { - for (let ele of stash) { - if (enclose === true && typeof ele === "string") - ele = `{${ele}}`; - result.push(Array.isArray(ele) ? append(item, ele, enclose) : item + ele); - } - } - } - return utils.flatten(result); - }; - var expand = (ast, options8 = {}) => { - let rangeLimit = options8.rangeLimit === void 0 ? 1e3 : options8.rangeLimit; - let walk = (node, parent = {}) => { - node.queue = []; - let p = parent; - let q = parent.queue; - while (p.type !== "brace" && p.type !== "root" && p.parent) { - p = p.parent; - q = p.queue; - } - if (node.invalid || node.dollar) { - q.push(append(q.pop(), stringify(node, options8))); - return; - } - if (node.type === "brace" && node.invalid !== true && node.nodes.length === 2) { - q.push(append(q.pop(), ["{}"])); - return; - } - if (node.nodes && node.ranges > 0) { - let args = utils.reduce(node.nodes); - if (utils.exceedsLimit(...args, options8.step, rangeLimit)) { - throw new RangeError("expanded array length exceeds range limit. Use options.rangeLimit to increase or disable the limit."); - } - let range = fill2(...args, options8); - if (range.length === 0) { - range = stringify(node, options8); - } - q.push(append(q.pop(), range)); - node.nodes = []; - return; - } - let enclose = utils.encloseBrace(node); - let queue = node.queue; - let block = node; - while (block.type !== "brace" && block.type !== "root" && block.parent) { - block = block.parent; - queue = block.queue; - } - for (let i = 0; i < node.nodes.length; i++) { - let child = node.nodes[i]; - if (child.type === "comma" && node.type === "brace") { - if (i === 1) - queue.push(""); - queue.push(""); - continue; - } - if (child.type === "close") { - q.push(append(q.pop(), queue, enclose)); - continue; - } - if (child.value && child.type !== "open") { - queue.push(append(queue.pop(), child.value)); - continue; - } - if (child.nodes) { - walk(child, node); - } - } - return queue; - }; - return utils.flatten(walk(ast)); - }; - module.exports = expand; - } -}); - -// node_modules/braces/lib/constants.js -var require_constants = __commonJS({ - "node_modules/braces/lib/constants.js"(exports, module) { - "use strict"; module.exports = { MAX_LENGTH: 1024 * 64, + POSIX_REGEX_SOURCE, + // regular expressions + REGEX_BACKSLASH: /\\(?![*+?^${}(|)[\]])/g, + REGEX_NON_SPECIAL_CHARS: /^[^@![\].,$*+?^{}()|\\/]+/, + REGEX_SPECIAL_CHARS: /[-*+?.^${}(|)[\]]/, + REGEX_SPECIAL_CHARS_BACKREF: /(\\?)((\W)(\3*))/g, + REGEX_SPECIAL_CHARS_GLOBAL: /([-*+?.^${}(|)[\]])/g, + REGEX_REMOVE_BACKSLASH: /(?:\[.*?[^\\]\]|\\(?=.))/g, + // Replace globs with equivalent patterns to reduce parsing time. + REPLACEMENTS: { + "***": "*", + "**/**": "**", + "**/**/**": "**" + }, // Digits - CHAR_0: "0", + CHAR_0: 48, /* 0 */ - CHAR_9: "9", + CHAR_9: 57, /* 9 */ // Alphabet chars. - CHAR_UPPERCASE_A: "A", + CHAR_UPPERCASE_A: 65, /* A */ - CHAR_LOWERCASE_A: "a", + CHAR_LOWERCASE_A: 97, /* a */ - CHAR_UPPERCASE_Z: "Z", + CHAR_UPPERCASE_Z: 90, /* Z */ - CHAR_LOWERCASE_Z: "z", + CHAR_LOWERCASE_Z: 122, /* z */ - CHAR_LEFT_PARENTHESES: "(", + CHAR_LEFT_PARENTHESES: 40, /* ( */ - CHAR_RIGHT_PARENTHESES: ")", + CHAR_RIGHT_PARENTHESES: 41, /* ) */ - CHAR_ASTERISK: "*", + CHAR_ASTERISK: 42, /* * */ // Non-alphabetic chars. - CHAR_AMPERSAND: "&", + CHAR_AMPERSAND: 38, /* & */ - CHAR_AT: "@", + CHAR_AT: 64, /* @ */ - CHAR_BACKSLASH: "\\", + CHAR_BACKWARD_SLASH: 92, /* \ */ - CHAR_BACKTICK: "`", - /* ` */ - CHAR_CARRIAGE_RETURN: "\r", + CHAR_CARRIAGE_RETURN: 13, /* \r */ - CHAR_CIRCUMFLEX_ACCENT: "^", + CHAR_CIRCUMFLEX_ACCENT: 94, /* ^ */ - CHAR_COLON: ":", + CHAR_COLON: 58, /* : */ - CHAR_COMMA: ",", + CHAR_COMMA: 44, /* , */ - CHAR_DOLLAR: "$", - /* . */ - CHAR_DOT: ".", + CHAR_DOT: 46, /* . */ - CHAR_DOUBLE_QUOTE: '"', + CHAR_DOUBLE_QUOTE: 34, /* " */ - CHAR_EQUAL: "=", + CHAR_EQUAL: 61, /* = */ - CHAR_EXCLAMATION_MARK: "!", + CHAR_EXCLAMATION_MARK: 33, /* ! */ - CHAR_FORM_FEED: "\f", + CHAR_FORM_FEED: 12, /* \f */ - CHAR_FORWARD_SLASH: "/", + CHAR_FORWARD_SLASH: 47, /* / */ - CHAR_HASH: "#", + CHAR_GRAVE_ACCENT: 96, + /* ` */ + CHAR_HASH: 35, /* # */ - CHAR_HYPHEN_MINUS: "-", + CHAR_HYPHEN_MINUS: 45, /* - */ - CHAR_LEFT_ANGLE_BRACKET: "<", + CHAR_LEFT_ANGLE_BRACKET: 60, /* < */ - CHAR_LEFT_CURLY_BRACE: "{", + CHAR_LEFT_CURLY_BRACE: 123, /* { */ - CHAR_LEFT_SQUARE_BRACKET: "[", + CHAR_LEFT_SQUARE_BRACKET: 91, /* [ */ - CHAR_LINE_FEED: "\n", + CHAR_LINE_FEED: 10, /* \n */ - CHAR_NO_BREAK_SPACE: "\xA0", + CHAR_NO_BREAK_SPACE: 160, /* \u00A0 */ - CHAR_PERCENT: "%", + CHAR_PERCENT: 37, /* % */ - CHAR_PLUS: "+", + CHAR_PLUS: 43, /* + */ - CHAR_QUESTION_MARK: "?", + CHAR_QUESTION_MARK: 63, /* ? */ - CHAR_RIGHT_ANGLE_BRACKET: ">", + CHAR_RIGHT_ANGLE_BRACKET: 62, /* > */ - CHAR_RIGHT_CURLY_BRACE: "}", + CHAR_RIGHT_CURLY_BRACE: 125, /* } */ - CHAR_RIGHT_SQUARE_BRACKET: "]", + CHAR_RIGHT_SQUARE_BRACKET: 93, /* ] */ - CHAR_SEMICOLON: ";", + CHAR_SEMICOLON: 59, /* ; */ - CHAR_SINGLE_QUOTE: "'", + CHAR_SINGLE_QUOTE: 39, /* ' */ - CHAR_SPACE: " ", + CHAR_SPACE: 32, /* */ - CHAR_TAB: " ", + CHAR_TAB: 9, /* \t */ - CHAR_UNDERSCORE: "_", + CHAR_UNDERSCORE: 95, /* _ */ - CHAR_VERTICAL_LINE: "|", + CHAR_VERTICAL_LINE: 124, /* | */ - CHAR_ZERO_WIDTH_NOBREAK_SPACE: "\uFEFF" + CHAR_ZERO_WIDTH_NOBREAK_SPACE: 65279, /* \uFEFF */ + SEP: path13.sep, + /** + * Create EXTGLOB_CHARS + */ + extglobChars(chars) { + return { + "!": { type: "negate", open: "(?:(?!(?:", close: `))${chars.STAR})` }, + "?": { type: "qmark", open: "(?:", close: ")?" }, + "+": { type: "plus", open: "(?:", close: ")+" }, + "*": { type: "star", open: "(?:", close: ")*" }, + "@": { type: "at", open: "(?:", close: ")" } + }; + }, + /** + * Create GLOB_CHARS + */ + globChars(win32) { + return win32 === true ? WINDOWS_CHARS : POSIX_CHARS; + } }; } }); -// node_modules/braces/lib/parse.js -var require_parse = __commonJS({ - "node_modules/braces/lib/parse.js"(exports, module) { +// node_modules/picomatch/lib/utils.js +var require_utils2 = __commonJS({ + "node_modules/picomatch/lib/utils.js"(exports) { "use strict"; - var stringify = require_stringify(); + var path13 = __require("path"); + var win32 = process.platform === "win32"; var { - MAX_LENGTH, - CHAR_BACKSLASH, + REGEX_BACKSLASH, + REGEX_REMOVE_BACKSLASH, + REGEX_SPECIAL_CHARS, + REGEX_SPECIAL_CHARS_GLOBAL + } = require_constants2(); + exports.isObject = (val) => val !== null && typeof val === "object" && !Array.isArray(val); + exports.hasRegexChars = (str2) => REGEX_SPECIAL_CHARS.test(str2); + exports.isRegexChar = (str2) => str2.length === 1 && exports.hasRegexChars(str2); + exports.escapeRegex = (str2) => str2.replace(REGEX_SPECIAL_CHARS_GLOBAL, "\\$1"); + exports.toPosixSlashes = (str2) => str2.replace(REGEX_BACKSLASH, "/"); + exports.removeBackslashes = (str2) => { + return str2.replace(REGEX_REMOVE_BACKSLASH, (match) => { + return match === "\\" ? "" : match; + }); + }; + exports.supportsLookbehinds = () => { + const segs = process.version.slice(1).split(".").map(Number); + if (segs.length === 3 && segs[0] >= 9 || segs[0] === 8 && segs[1] >= 10) { + return true; + } + return false; + }; + exports.isWindows = (options8) => { + if (options8 && typeof options8.windows === "boolean") { + return options8.windows; + } + return win32 === true || path13.sep === "\\"; + }; + exports.escapeLast = (input, char, lastIdx) => { + const idx = input.lastIndexOf(char, lastIdx); + if (idx === -1) return input; + if (input[idx - 1] === "\\") return exports.escapeLast(input, char, idx - 1); + return `${input.slice(0, idx)}\\${input.slice(idx)}`; + }; + exports.removePrefix = (input, state = {}) => { + let output = input; + if (output.startsWith("./")) { + output = output.slice(2); + state.prefix = "./"; + } + return output; + }; + exports.wrapOutput = (input, state = {}, options8 = {}) => { + const prepend = options8.contains ? "" : "^"; + const append = options8.contains ? "" : "$"; + let output = `${prepend}(?:${input})${append}`; + if (state.negated === true) { + output = `(?:^(?!${output}).*$)`; + } + return output; + }; + } +}); + +// node_modules/picomatch/lib/scan.js +var require_scan = __commonJS({ + "node_modules/picomatch/lib/scan.js"(exports, module) { + "use strict"; + var utils = require_utils2(); + var { + CHAR_ASTERISK, + /* * */ + CHAR_AT, + /* @ */ + CHAR_BACKWARD_SLASH, /* \ */ - CHAR_BACKTICK, - /* ` */ CHAR_COMMA, /* , */ CHAR_DOT, /* . */ - CHAR_LEFT_PARENTHESES, - /* ( */ - CHAR_RIGHT_PARENTHESES, - /* ) */ + CHAR_EXCLAMATION_MARK, + /* ! */ + CHAR_FORWARD_SLASH, + /* / */ CHAR_LEFT_CURLY_BRACE, /* { */ - CHAR_RIGHT_CURLY_BRACE, - /* } */ + CHAR_LEFT_PARENTHESES, + /* ( */ CHAR_LEFT_SQUARE_BRACKET, /* [ */ - CHAR_RIGHT_SQUARE_BRACKET, + CHAR_PLUS, + /* + */ + CHAR_QUESTION_MARK, + /* ? */ + CHAR_RIGHT_CURLY_BRACE, + /* } */ + CHAR_RIGHT_PARENTHESES, + /* ) */ + CHAR_RIGHT_SQUARE_BRACKET /* ] */ - CHAR_DOUBLE_QUOTE, - /* " */ - CHAR_SINGLE_QUOTE, - /* ' */ - CHAR_NO_BREAK_SPACE, - CHAR_ZERO_WIDTH_NOBREAK_SPACE - } = require_constants(); - var parse3 = (input, options8 = {}) => { - if (typeof input !== "string") { - throw new TypeError("Expected a string"); - } - let opts = options8 || {}; - let max = typeof opts.maxLength === "number" ? Math.min(MAX_LENGTH, opts.maxLength) : MAX_LENGTH; - if (input.length > max) { - throw new SyntaxError(`Input length (${input.length}), exceeds max characters (${max})`); + } = require_constants2(); + var isPathSeparator = (code) => { + return code === CHAR_FORWARD_SLASH || code === CHAR_BACKWARD_SLASH; + }; + var depth = (token2) => { + if (token2.isPrefix !== true) { + token2.depth = token2.isGlobstar ? Infinity : 1; } - let ast = { type: "root", input, nodes: [] }; - let stack = [ast]; - let block = ast; - let prev = ast; - let brackets = 0; - let length = input.length; - let index = 0; - let depth = 0; - let value; - let memo = {}; - const advance = () => input[index++]; - const push = (node) => { - if (node.type === "text" && prev.type === "dot") { - prev.type = "text"; - } - if (prev && prev.type === "text" && node.type === "text") { - prev.value += node.value; - return; - } - block.nodes.push(node); - node.parent = block; - node.prev = prev; - prev = node; - return node; + }; + var scan = (input, options8) => { + const opts = options8 || {}; + const length = input.length - 1; + const scanToEnd = opts.parts === true || opts.scanToEnd === true; + const slashes = []; + const tokens = []; + const parts = []; + let str2 = input; + let index = -1; + let start = 0; + let lastIndex = 0; + let isBrace = false; + let isBracket = false; + let isGlob = false; + let isExtglob = false; + let isGlobstar = false; + let braceEscaped = false; + let backslashes = false; + let negated = false; + let negatedExtglob = false; + let finished = false; + let braces = 0; + let prev; + let code; + let token2 = { value: "", depth: 0, isGlob: false }; + const eos = () => index >= length; + const peek2 = () => str2.charCodeAt(index + 1); + const advance = () => { + prev = code; + return str2.charCodeAt(++index); }; - push({ type: "bos" }); while (index < length) { - block = stack[stack.length - 1]; - value = advance(); - if (value === CHAR_ZERO_WIDTH_NOBREAK_SPACE || value === CHAR_NO_BREAK_SPACE) { - continue; - } - if (value === CHAR_BACKSLASH) { - push({ type: "text", value: (options8.keepEscaping ? value : "") + advance() }); - continue; - } - if (value === CHAR_RIGHT_SQUARE_BRACKET) { - push({ type: "text", value: "\\" + value }); + code = advance(); + let next; + if (code === CHAR_BACKWARD_SLASH) { + backslashes = token2.backslashes = true; + code = advance(); + if (code === CHAR_LEFT_CURLY_BRACE) { + braceEscaped = true; + } continue; } - if (value === CHAR_LEFT_SQUARE_BRACKET) { - brackets++; - let closed = true; - let next; - while (index < length && (next = advance())) { - value += next; - if (next === CHAR_LEFT_SQUARE_BRACKET) { - brackets++; - continue; - } - if (next === CHAR_BACKSLASH) { - value += advance(); + if (braceEscaped === true || code === CHAR_LEFT_CURLY_BRACE) { + braces++; + while (eos() !== true && (code = advance())) { + if (code === CHAR_BACKWARD_SLASH) { + backslashes = token2.backslashes = true; + advance(); continue; } - if (next === CHAR_RIGHT_SQUARE_BRACKET) { - brackets--; - if (brackets === 0) { + if (code === CHAR_LEFT_CURLY_BRACE) { + braces++; + continue; + } + if (braceEscaped !== true && code === CHAR_DOT && (code = advance()) === CHAR_DOT) { + isBrace = token2.isBrace = true; + isGlob = token2.isGlob = true; + finished = true; + if (scanToEnd === true) { + continue; + } + break; + } + if (braceEscaped !== true && code === CHAR_COMMA) { + isBrace = token2.isBrace = true; + isGlob = token2.isGlob = true; + finished = true; + if (scanToEnd === true) { + continue; + } + break; + } + if (code === CHAR_RIGHT_CURLY_BRACE) { + braces--; + if (braces === 0) { + braceEscaped = false; + isBrace = token2.isBrace = true; + finished = true; break; } } } - push({ type: "text", value }); - continue; - } - if (value === CHAR_LEFT_PARENTHESES) { - block = push({ type: "paren", nodes: [] }); - stack.push(block); - push({ type: "text", value }); - continue; + if (scanToEnd === true) { + continue; + } + break; } - if (value === CHAR_RIGHT_PARENTHESES) { - if (block.type !== "paren") { - push({ type: "text", value }); + if (code === CHAR_FORWARD_SLASH) { + slashes.push(index); + tokens.push(token2); + token2 = { value: "", depth: 0, isGlob: false }; + if (finished === true) continue; + if (prev === CHAR_DOT && index === start + 1) { + start += 2; continue; } - block = stack.pop(); - push({ type: "text", value }); - block = stack[stack.length - 1]; + lastIndex = index + 1; continue; } - if (value === CHAR_DOUBLE_QUOTE || value === CHAR_SINGLE_QUOTE || value === CHAR_BACKTICK) { - let open = value; - let next; - if (options8.keepQuotes !== true) { - value = ""; - } - while (index < length && (next = advance())) { - if (next === CHAR_BACKSLASH) { - value += next + advance(); - continue; + if (opts.noext !== true) { + const isExtglobChar = code === CHAR_PLUS || code === CHAR_AT || code === CHAR_ASTERISK || code === CHAR_QUESTION_MARK || code === CHAR_EXCLAMATION_MARK; + if (isExtglobChar === true && peek2() === CHAR_LEFT_PARENTHESES) { + isGlob = token2.isGlob = true; + isExtglob = token2.isExtglob = true; + finished = true; + if (code === CHAR_EXCLAMATION_MARK && index === start) { + negatedExtglob = true; } - if (next === open) { - if (options8.keepQuotes === true) - value += next; - break; + if (scanToEnd === true) { + while (eos() !== true && (code = advance())) { + if (code === CHAR_BACKWARD_SLASH) { + backslashes = token2.backslashes = true; + code = advance(); + continue; + } + if (code === CHAR_RIGHT_PARENTHESES) { + isGlob = token2.isGlob = true; + finished = true; + break; + } + } + continue; } - value += next; + break; } - push({ type: "text", value }); - continue; - } - if (value === CHAR_LEFT_CURLY_BRACE) { - depth++; - let dollar = prev.value && prev.value.slice(-1) === "$" || block.dollar === true; - let brace = { - type: "brace", - open: true, - close: false, - dollar, - depth, - commas: 0, - ranges: 0, - nodes: [] - }; - block = push(brace); - stack.push(block); - push({ type: "open", value }); - continue; } - if (value === CHAR_RIGHT_CURLY_BRACE) { - if (block.type !== "brace") { - push({ type: "text", value }); + if (code === CHAR_ASTERISK) { + if (prev === CHAR_ASTERISK) isGlobstar = token2.isGlobstar = true; + isGlob = token2.isGlob = true; + finished = true; + if (scanToEnd === true) { continue; } - let type = "close"; - block = stack.pop(); - block.close = true; - push({ type, value }); - depth--; - block = stack[stack.length - 1]; - continue; - } - if (value === CHAR_COMMA && depth > 0) { - if (block.ranges > 0) { - block.ranges = 0; - let open = block.nodes.shift(); - block.nodes = [open, { type: "text", value: stringify(block) }]; - } - push({ type: "comma", value }); - block.commas++; - continue; + break; } - if (value === CHAR_DOT && depth > 0 && block.commas === 0) { - let siblings = block.nodes; - if (depth === 0 || siblings.length === 0) { - push({ type: "text", value }); + if (code === CHAR_QUESTION_MARK) { + isGlob = token2.isGlob = true; + finished = true; + if (scanToEnd === true) { continue; } - if (prev.type === "dot") { - block.range = []; - prev.value += value; - prev.type = "range"; - if (block.nodes.length !== 3 && block.nodes.length !== 5) { - block.invalid = true; - block.ranges = 0; - prev.type = "text"; + break; + } + if (code === CHAR_LEFT_SQUARE_BRACKET) { + while (eos() !== true && (next = advance())) { + if (next === CHAR_BACKWARD_SLASH) { + backslashes = token2.backslashes = true; + advance(); continue; } - block.ranges++; - block.args = []; - continue; + if (next === CHAR_RIGHT_SQUARE_BRACKET) { + isBracket = token2.isBracket = true; + isGlob = token2.isGlob = true; + finished = true; + break; + } } - if (prev.type === "range") { - siblings.pop(); - let before = siblings[siblings.length - 1]; - before.value += prev.value + value; - prev = before; - block.ranges--; + if (scanToEnd === true) { continue; } - push({ type: "dot", value }); + break; + } + if (opts.nonegate !== true && code === CHAR_EXCLAMATION_MARK && index === start) { + negated = token2.negated = true; + start++; continue; } - push({ type: "text", value }); - } - do { - block = stack.pop(); - if (block.type !== "root") { - block.nodes.forEach((node) => { - if (!node.nodes) { - if (node.type === "open") - node.isOpen = true; - if (node.type === "close") - node.isClose = true; - if (!node.nodes) - node.type = "text"; - node.invalid = true; + if (opts.noparen !== true && code === CHAR_LEFT_PARENTHESES) { + isGlob = token2.isGlob = true; + if (scanToEnd === true) { + while (eos() !== true && (code = advance())) { + if (code === CHAR_LEFT_PARENTHESES) { + backslashes = token2.backslashes = true; + code = advance(); + continue; + } + if (code === CHAR_RIGHT_PARENTHESES) { + finished = true; + break; + } } - }); - let parent = stack[stack.length - 1]; - let index2 = parent.nodes.indexOf(block); - parent.nodes.splice(index2, 1, ...block.nodes); + continue; + } + break; } - } while (stack.length > 0); - push({ type: "eos" }); - return ast; - }; - module.exports = parse3; - } -}); - -// node_modules/braces/index.js -var require_braces = __commonJS({ - "node_modules/braces/index.js"(exports, module) { - "use strict"; - var stringify = require_stringify(); - var compile = require_compile(); - var expand = require_expand(); - var parse3 = require_parse(); - var braces = (input, options8 = {}) => { - let output = []; - if (Array.isArray(input)) { - for (let pattern of input) { - let result = braces.create(pattern, options8); - if (Array.isArray(result)) { - output.push(...result); - } else { - output.push(result); + if (isGlob === true) { + finished = true; + if (scanToEnd === true) { + continue; } + break; } - } else { - output = [].concat(braces.create(input, options8)); } - if (options8 && options8.expand === true && options8.nodupes === true) { - output = [...new Set(output)]; + if (opts.noext === true) { + isExtglob = false; + isGlob = false; } - return output; - }; - braces.parse = (input, options8 = {}) => parse3(input, options8); - braces.stringify = (input, options8 = {}) => { - if (typeof input === "string") { - return stringify(braces.parse(input, options8), options8); + let base = str2; + let prefix = ""; + let glob = ""; + if (start > 0) { + prefix = str2.slice(0, start); + str2 = str2.slice(start); + lastIndex -= start; } - return stringify(input, options8); - }; - braces.compile = (input, options8 = {}) => { - if (typeof input === "string") { - input = braces.parse(input, options8); + if (base && isGlob === true && lastIndex > 0) { + base = str2.slice(0, lastIndex); + glob = str2.slice(lastIndex); + } else if (isGlob === true) { + base = ""; + glob = str2; + } else { + base = str2; } - return compile(input, options8); - }; - braces.expand = (input, options8 = {}) => { - if (typeof input === "string") { - input = braces.parse(input, options8); + if (base && base !== "" && base !== "/" && base !== str2) { + if (isPathSeparator(base.charCodeAt(base.length - 1))) { + base = base.slice(0, -1); + } } - let result = expand(input, options8); - if (options8.noempty === true) { - result = result.filter(Boolean); + if (opts.unescape === true) { + if (glob) glob = utils.removeBackslashes(glob); + if (base && backslashes === true) { + base = utils.removeBackslashes(base); + } } - if (options8.nodupes === true) { - result = [...new Set(result)]; + const state = { + prefix, + input, + start, + base, + glob, + isBrace, + isBracket, + isGlob, + isExtglob, + isGlobstar, + negated, + negatedExtglob + }; + if (opts.tokens === true) { + state.maxDepth = 0; + if (!isPathSeparator(code)) { + tokens.push(token2); + } + state.tokens = tokens; } - return result; - }; - braces.create = (input, options8 = {}) => { - if (input === "" || input.length < 3) { - return [input]; + if (opts.parts === true || opts.tokens === true) { + let prevIndex; + for (let idx = 0; idx < slashes.length; idx++) { + const n = prevIndex ? prevIndex + 1 : start; + const i = slashes[idx]; + const value = input.slice(n, i); + if (opts.tokens) { + if (idx === 0 && start !== 0) { + tokens[idx].isPrefix = true; + tokens[idx].value = prefix; + } else { + tokens[idx].value = value; + } + depth(tokens[idx]); + state.maxDepth += tokens[idx].depth; + } + if (idx !== 0 || value !== "") { + parts.push(value); + } + prevIndex = i; + } + if (prevIndex && prevIndex + 1 < input.length) { + const value = input.slice(prevIndex + 1); + parts.push(value); + if (opts.tokens) { + tokens[tokens.length - 1].value = value; + depth(tokens[tokens.length - 1]); + state.maxDepth += tokens[tokens.length - 1].depth; + } + } + state.slashes = slashes; + state.parts = parts; } - return options8.expand !== true ? braces.compile(input, options8) : braces.expand(input, options8); + return state; }; - module.exports = braces; + module.exports = scan; } }); -// node_modules/picomatch/lib/constants.js -var require_constants2 = __commonJS({ - "node_modules/picomatch/lib/constants.js"(exports, module) { +// node_modules/picomatch/lib/parse.js +var require_parse2 = __commonJS({ + "node_modules/picomatch/lib/parse.js"(exports, module) { "use strict"; - var path9 = __require("path"); - var WIN_SLASH = "\\\\/"; - var WIN_NO_SLASH = `[^${WIN_SLASH}]`; - var DOT_LITERAL = "\\."; - var PLUS_LITERAL = "\\+"; - var QMARK_LITERAL = "\\?"; - var SLASH_LITERAL = "\\/"; - var ONE_CHAR = "(?=.)"; - var QMARK = "[^/]"; - var END_ANCHOR = `(?:${SLASH_LITERAL}|$)`; - var START_ANCHOR = `(?:^|${SLASH_LITERAL})`; - var DOTS_SLASH = `${DOT_LITERAL}{1,2}${END_ANCHOR}`; - var NO_DOT = `(?!${DOT_LITERAL})`; - var NO_DOTS = `(?!${START_ANCHOR}${DOTS_SLASH})`; - var NO_DOT_SLASH = `(?!${DOT_LITERAL}{0,1}${END_ANCHOR})`; - var NO_DOTS_SLASH = `(?!${DOTS_SLASH})`; - var QMARK_NO_DOT = `[^.${SLASH_LITERAL}]`; - var STAR = `${QMARK}*?`; - var POSIX_CHARS = { - DOT_LITERAL, - PLUS_LITERAL, - QMARK_LITERAL, - SLASH_LITERAL, - ONE_CHAR, - QMARK, - END_ANCHOR, - DOTS_SLASH, - NO_DOT, - NO_DOTS, - NO_DOT_SLASH, - NO_DOTS_SLASH, - QMARK_NO_DOT, - STAR, - START_ANCHOR - }; - var WINDOWS_CHARS = { - ...POSIX_CHARS, - SLASH_LITERAL: `[${WIN_SLASH}]`, - QMARK: WIN_NO_SLASH, - STAR: `${WIN_NO_SLASH}*?`, - DOTS_SLASH: `${DOT_LITERAL}{1,2}(?:[${WIN_SLASH}]|$)`, - NO_DOT: `(?!${DOT_LITERAL})`, - NO_DOTS: `(?!(?:^|[${WIN_SLASH}])${DOT_LITERAL}{1,2}(?:[${WIN_SLASH}]|$))`, - NO_DOT_SLASH: `(?!${DOT_LITERAL}{0,1}(?:[${WIN_SLASH}]|$))`, - NO_DOTS_SLASH: `(?!${DOT_LITERAL}{1,2}(?:[${WIN_SLASH}]|$))`, - QMARK_NO_DOT: `[^.${WIN_SLASH}]`, - START_ANCHOR: `(?:^|[${WIN_SLASH}])`, - END_ANCHOR: `(?:[${WIN_SLASH}]|$)` - }; - var POSIX_REGEX_SOURCE = { - alnum: "a-zA-Z0-9", - alpha: "a-zA-Z", - ascii: "\\x00-\\x7F", - blank: " \\t", - cntrl: "\\x00-\\x1F\\x7F", - digit: "0-9", - graph: "\\x21-\\x7E", - lower: "a-z", - print: "\\x20-\\x7E ", - punct: "\\-!\"#$%&'()\\*+,./:;<=>?@[\\]^_`{|}~", - space: " \\t\\r\\n\\v\\f", - upper: "A-Z", - word: "A-Za-z0-9_", - xdigit: "A-Fa-f0-9" - }; - module.exports = { - MAX_LENGTH: 1024 * 64, + var constants = require_constants2(); + var utils = require_utils2(); + var { + MAX_LENGTH, POSIX_REGEX_SOURCE, - // regular expressions - REGEX_BACKSLASH: /\\(?![*+?^${}(|)[\]])/g, - REGEX_NON_SPECIAL_CHARS: /^[^@![\].,$*+?^{}()|\\/]+/, - REGEX_SPECIAL_CHARS: /[-*+?.^${}(|)[\]]/, - REGEX_SPECIAL_CHARS_BACKREF: /(\\?)((\W)(\3*))/g, - REGEX_SPECIAL_CHARS_GLOBAL: /([-*+?.^${}(|)[\]])/g, - REGEX_REMOVE_BACKSLASH: /(?:\[.*?[^\\]\]|\\(?=.))/g, - // Replace globs with equivalent patterns to reduce parsing time. - REPLACEMENTS: { - "***": "*", - "**/**": "**", - "**/**/**": "**" - }, - // Digits - CHAR_0: 48, - /* 0 */ - CHAR_9: 57, - /* 9 */ - // Alphabet chars. - CHAR_UPPERCASE_A: 65, - /* A */ - CHAR_LOWERCASE_A: 97, - /* a */ - CHAR_UPPERCASE_Z: 90, - /* Z */ - CHAR_LOWERCASE_Z: 122, - /* z */ - CHAR_LEFT_PARENTHESES: 40, - /* ( */ - CHAR_RIGHT_PARENTHESES: 41, - /* ) */ - CHAR_ASTERISK: 42, - /* * */ - // Non-alphabetic chars. - CHAR_AMPERSAND: 38, - /* & */ - CHAR_AT: 64, - /* @ */ - CHAR_BACKWARD_SLASH: 92, - /* \ */ - CHAR_CARRIAGE_RETURN: 13, - /* \r */ - CHAR_CIRCUMFLEX_ACCENT: 94, - /* ^ */ - CHAR_COLON: 58, - /* : */ - CHAR_COMMA: 44, - /* , */ - CHAR_DOT: 46, - /* . */ - CHAR_DOUBLE_QUOTE: 34, - /* " */ - CHAR_EQUAL: 61, - /* = */ - CHAR_EXCLAMATION_MARK: 33, - /* ! */ - CHAR_FORM_FEED: 12, - /* \f */ - CHAR_FORWARD_SLASH: 47, - /* / */ - CHAR_GRAVE_ACCENT: 96, - /* ` */ - CHAR_HASH: 35, - /* # */ - CHAR_HYPHEN_MINUS: 45, - /* - */ - CHAR_LEFT_ANGLE_BRACKET: 60, - /* < */ - CHAR_LEFT_CURLY_BRACE: 123, - /* { */ - CHAR_LEFT_SQUARE_BRACKET: 91, - /* [ */ - CHAR_LINE_FEED: 10, - /* \n */ - CHAR_NO_BREAK_SPACE: 160, - /* \u00A0 */ - CHAR_PERCENT: 37, - /* % */ - CHAR_PLUS: 43, - /* + */ - CHAR_QUESTION_MARK: 63, - /* ? */ - CHAR_RIGHT_ANGLE_BRACKET: 62, - /* > */ - CHAR_RIGHT_CURLY_BRACE: 125, - /* } */ - CHAR_RIGHT_SQUARE_BRACKET: 93, - /* ] */ - CHAR_SEMICOLON: 59, - /* ; */ - CHAR_SINGLE_QUOTE: 39, - /* ' */ - CHAR_SPACE: 32, - /* */ - CHAR_TAB: 9, - /* \t */ - CHAR_UNDERSCORE: 95, - /* _ */ - CHAR_VERTICAL_LINE: 124, - /* | */ - CHAR_ZERO_WIDTH_NOBREAK_SPACE: 65279, - /* \uFEFF */ - SEP: path9.sep, - /** - * Create EXTGLOB_CHARS - */ - extglobChars(chars) { - return { - "!": { type: "negate", open: "(?:(?!(?:", close: `))${chars.STAR})` }, - "?": { type: "qmark", open: "(?:", close: ")?" }, - "+": { type: "plus", open: "(?:", close: ")+" }, - "*": { type: "star", open: "(?:", close: ")*" }, - "@": { type: "at", open: "(?:", close: ")" } - }; - }, - /** - * Create GLOB_CHARS - */ - globChars(win32) { - return win32 === true ? WINDOWS_CHARS : POSIX_CHARS; + REGEX_NON_SPECIAL_CHARS, + REGEX_SPECIAL_CHARS_BACKREF, + REPLACEMENTS + } = constants; + var expandRange = (args, options8) => { + if (typeof options8.expandRange === "function") { + return options8.expandRange(...args, options8); + } + args.sort(); + const value = `[${args.join("-")}]`; + try { + new RegExp(value); + } catch (ex) { + return args.map((v) => utils.escapeRegex(v)).join(".."); } + return value; }; - } -}); - -// node_modules/picomatch/lib/utils.js -var require_utils3 = __commonJS({ - "node_modules/picomatch/lib/utils.js"(exports) { - "use strict"; - var path9 = __require("path"); - var win32 = process.platform === "win32"; - var { - REGEX_BACKSLASH, - REGEX_REMOVE_BACKSLASH, - REGEX_SPECIAL_CHARS, - REGEX_SPECIAL_CHARS_GLOBAL - } = require_constants2(); - exports.isObject = (val) => val !== null && typeof val === "object" && !Array.isArray(val); - exports.hasRegexChars = (str) => REGEX_SPECIAL_CHARS.test(str); - exports.isRegexChar = (str) => str.length === 1 && exports.hasRegexChars(str); - exports.escapeRegex = (str) => str.replace(REGEX_SPECIAL_CHARS_GLOBAL, "\\$1"); - exports.toPosixSlashes = (str) => str.replace(REGEX_BACKSLASH, "/"); - exports.removeBackslashes = (str) => { - return str.replace(REGEX_REMOVE_BACKSLASH, (match) => { - return match === "\\" ? "" : match; - }); + var syntaxError2 = (type2, char) => { + return `Missing ${type2}: "${char}" - use "\\\\${char}" to match literal characters`; }; - exports.supportsLookbehinds = () => { - const segs = process.version.slice(1).split(".").map(Number); - if (segs.length === 3 && segs[0] >= 9 || segs[0] === 8 && segs[1] >= 10) { - return true; - } - return false; - }; - exports.isWindows = (options8) => { - if (options8 && typeof options8.windows === "boolean") { - return options8.windows; + var parse6 = (input, options8) => { + if (typeof input !== "string") { + throw new TypeError("Expected a string"); } - return win32 === true || path9.sep === "\\"; - }; - exports.escapeLast = (input, char, lastIdx) => { - const idx = input.lastIndexOf(char, lastIdx); - if (idx === -1) - return input; - if (input[idx - 1] === "\\") - return exports.escapeLast(input, char, idx - 1); - return `${input.slice(0, idx)}\\${input.slice(idx)}`; - }; - exports.removePrefix = (input, state = {}) => { - let output = input; - if (output.startsWith("./")) { - output = output.slice(2); - state.prefix = "./"; + input = REPLACEMENTS[input] || input; + const opts = { ...options8 }; + const max = typeof opts.maxLength === "number" ? Math.min(MAX_LENGTH, opts.maxLength) : MAX_LENGTH; + let len = input.length; + if (len > max) { + throw new SyntaxError(`Input length: ${len}, exceeds maximum allowed length: ${max}`); } - return output; - }; - exports.wrapOutput = (input, state = {}, options8 = {}) => { - const prepend = options8.contains ? "" : "^"; - const append = options8.contains ? "" : "$"; - let output = `${prepend}(?:${input})${append}`; - if (state.negated === true) { - output = `(?:^(?!${output}).*$)`; + const bos = { type: "bos", value: "", output: opts.prepend || "" }; + const tokens = [bos]; + const capture = opts.capture ? "" : "?:"; + const win32 = utils.isWindows(options8); + const PLATFORM_CHARS = constants.globChars(win32); + const EXTGLOB_CHARS = constants.extglobChars(PLATFORM_CHARS); + const { + DOT_LITERAL, + PLUS_LITERAL, + SLASH_LITERAL, + ONE_CHAR, + DOTS_SLASH, + NO_DOT, + NO_DOT_SLASH, + NO_DOTS_SLASH, + QMARK, + QMARK_NO_DOT, + STAR, + START_ANCHOR + } = PLATFORM_CHARS; + const globstar = (opts2) => { + return `(${capture}(?:(?!${START_ANCHOR}${opts2.dot ? DOTS_SLASH : DOT_LITERAL}).)*?)`; + }; + const nodot = opts.dot ? "" : NO_DOT; + const qmarkNoDot = opts.dot ? QMARK : QMARK_NO_DOT; + let star = opts.bash === true ? globstar(opts) : STAR; + if (opts.capture) { + star = `(${star})`; } - return output; - }; - } -}); - -// node_modules/picomatch/lib/scan.js -var require_scan = __commonJS({ - "node_modules/picomatch/lib/scan.js"(exports, module) { - "use strict"; - var utils = require_utils3(); - var { - CHAR_ASTERISK, - /* * */ - CHAR_AT, - /* @ */ - CHAR_BACKWARD_SLASH, - /* \ */ - CHAR_COMMA, - /* , */ - CHAR_DOT, - /* . */ - CHAR_EXCLAMATION_MARK, - /* ! */ - CHAR_FORWARD_SLASH, - /* / */ - CHAR_LEFT_CURLY_BRACE, - /* { */ - CHAR_LEFT_PARENTHESES, - /* ( */ - CHAR_LEFT_SQUARE_BRACKET, - /* [ */ - CHAR_PLUS, - /* + */ - CHAR_QUESTION_MARK, - /* ? */ - CHAR_RIGHT_CURLY_BRACE, - /* } */ - CHAR_RIGHT_PARENTHESES, - /* ) */ - CHAR_RIGHT_SQUARE_BRACKET - /* ] */ - } = require_constants2(); - var isPathSeparator = (code) => { - return code === CHAR_FORWARD_SLASH || code === CHAR_BACKWARD_SLASH; - }; - var depth = (token) => { - if (token.isPrefix !== true) { - token.depth = token.isGlobstar ? Infinity : 1; + if (typeof opts.noext === "boolean") { + opts.noextglob = opts.noext; } - }; - var scan = (input, options8) => { - const opts = options8 || {}; - const length = input.length - 1; - const scanToEnd = opts.parts === true || opts.scanToEnd === true; - const slashes = []; - const tokens = []; - const parts = []; - let str = input; - let index = -1; - let start = 0; - let lastIndex = 0; - let isBrace = false; - let isBracket = false; - let isGlob = false; - let isExtglob = false; - let isGlobstar = false; - let braceEscaped = false; - let backslashes = false; - let negated = false; - let negatedExtglob = false; - let finished = false; - let braces = 0; - let prev; - let code; - let token = { value: "", depth: 0, isGlob: false }; - const eos = () => index >= length; - const peek = () => str.charCodeAt(index + 1); - const advance = () => { - prev = code; - return str.charCodeAt(++index); + const state = { + input, + index: -1, + start: 0, + dot: opts.dot === true, + consumed: "", + output: "", + prefix: "", + backtrack: false, + negated: false, + brackets: 0, + braces: 0, + parens: 0, + quotes: 0, + globstar: false, + tokens }; - while (index < length) { - code = advance(); - let next; - if (code === CHAR_BACKWARD_SLASH) { - backslashes = token.backslashes = true; - code = advance(); - if (code === CHAR_LEFT_CURLY_BRACE) { - braceEscaped = true; - } - continue; + input = utils.removePrefix(input, state); + len = input.length; + const extglobs = []; + const braces = []; + const stack2 = []; + let prev = bos; + let value; + const eos = () => state.index === len - 1; + const peek2 = state.peek = (n = 1) => input[state.index + n]; + const advance = state.advance = () => input[++state.index] || ""; + const remaining = () => input.slice(state.index + 1); + const consume = (value2 = "", num = 0) => { + state.consumed += value2; + state.index += num; + }; + const append = (token2) => { + state.output += token2.output != null ? token2.output : token2.value; + consume(token2.value); + }; + const negate = () => { + let count = 1; + while (peek2() === "!" && (peek2(2) !== "(" || peek2(3) === "?")) { + advance(); + state.start++; + count++; } - if (braceEscaped === true || code === CHAR_LEFT_CURLY_BRACE) { - braces++; - while (eos() !== true && (code = advance())) { - if (code === CHAR_BACKWARD_SLASH) { - backslashes = token.backslashes = true; - advance(); - continue; - } - if (code === CHAR_LEFT_CURLY_BRACE) { - braces++; - continue; - } - if (braceEscaped !== true && code === CHAR_DOT && (code = advance()) === CHAR_DOT) { - isBrace = token.isBrace = true; - isGlob = token.isGlob = true; - finished = true; - if (scanToEnd === true) { - continue; - } - break; - } - if (braceEscaped !== true && code === CHAR_COMMA) { - isBrace = token.isBrace = true; - isGlob = token.isGlob = true; - finished = true; - if (scanToEnd === true) { - continue; - } - break; - } - if (code === CHAR_RIGHT_CURLY_BRACE) { - braces--; - if (braces === 0) { - braceEscaped = false; - isBrace = token.isBrace = true; - finished = true; - break; - } - } - } - if (scanToEnd === true) { - continue; - } - break; + if (count % 2 === 0) { + return false; } - if (code === CHAR_FORWARD_SLASH) { - slashes.push(index); - tokens.push(token); - token = { value: "", depth: 0, isGlob: false }; - if (finished === true) - continue; - if (prev === CHAR_DOT && index === start + 1) { - start += 2; - continue; + state.negated = true; + state.start++; + return true; + }; + const increment = (type2) => { + state[type2]++; + stack2.push(type2); + }; + const decrement = (type2) => { + state[type2]--; + stack2.pop(); + }; + const push2 = (tok) => { + if (prev.type === "globstar") { + const isBrace = state.braces > 0 && (tok.type === "comma" || tok.type === "brace"); + const isExtglob = tok.extglob === true || extglobs.length && (tok.type === "pipe" || tok.type === "paren"); + if (tok.type !== "slash" && tok.type !== "paren" && !isBrace && !isExtglob) { + state.output = state.output.slice(0, -prev.output.length); + prev.type = "star"; + prev.value = "*"; + prev.output = star; + state.output += prev.output; } - lastIndex = index + 1; - continue; } - if (opts.noext !== true) { - const isExtglobChar = code === CHAR_PLUS || code === CHAR_AT || code === CHAR_ASTERISK || code === CHAR_QUESTION_MARK || code === CHAR_EXCLAMATION_MARK; - if (isExtglobChar === true && peek() === CHAR_LEFT_PARENTHESES) { - isGlob = token.isGlob = true; - isExtglob = token.isExtglob = true; - finished = true; - if (code === CHAR_EXCLAMATION_MARK && index === start) { - negatedExtglob = true; + if (extglobs.length && tok.type !== "paren") { + extglobs[extglobs.length - 1].inner += tok.value; + } + if (tok.value || tok.output) append(tok); + if (prev && prev.type === "text" && tok.type === "text") { + prev.value += tok.value; + prev.output = (prev.output || "") + tok.value; + return; + } + tok.prev = prev; + tokens.push(tok); + prev = tok; + }; + const extglobOpen = (type2, value2) => { + const token2 = { ...EXTGLOB_CHARS[value2], conditions: 1, inner: "" }; + token2.prev = prev; + token2.parens = state.parens; + token2.output = state.output; + const output = (opts.capture ? "(" : "") + token2.open; + increment("parens"); + push2({ type: type2, value: value2, output: state.output ? "" : ONE_CHAR }); + push2({ type: "paren", extglob: true, value: advance(), output }); + extglobs.push(token2); + }; + const extglobClose = (token2) => { + let output = token2.close + (opts.capture ? ")" : ""); + let rest; + if (token2.type === "negate") { + let extglobStar = star; + if (token2.inner && token2.inner.length > 1 && token2.inner.includes("/")) { + extglobStar = globstar(opts); + } + if (extglobStar !== star || eos() || /^\)+$/.test(remaining())) { + output = token2.close = `)$))${extglobStar}`; + } + if (token2.inner.includes("*") && (rest = remaining()) && /^\.[^\\/.]+$/.test(rest)) { + const expression = parse6(rest, { ...options8, fastpaths: false }).output; + output = token2.close = `)${expression})${extglobStar})`; + } + if (token2.prev.type === "bos") { + state.negatedExtglob = true; + } + } + push2({ type: "paren", extglob: true, value, output }); + decrement("parens"); + }; + if (opts.fastpaths !== false && !/(^[*!]|[/()[\]{}"])/.test(input)) { + let backslashes = false; + let output = input.replace(REGEX_SPECIAL_CHARS_BACKREF, (m, esc, chars, first, rest, index) => { + if (first === "\\") { + backslashes = true; + return m; + } + if (first === "?") { + if (esc) { + return esc + first + (rest ? QMARK.repeat(rest.length) : ""); } - if (scanToEnd === true) { - while (eos() !== true && (code = advance())) { - if (code === CHAR_BACKWARD_SLASH) { - backslashes = token.backslashes = true; - code = advance(); + if (index === 0) { + return qmarkNoDot + (rest ? QMARK.repeat(rest.length) : ""); + } + return QMARK.repeat(chars.length); + } + if (first === ".") { + return DOT_LITERAL.repeat(chars.length); + } + if (first === "*") { + if (esc) { + return esc + first + (rest ? star : ""); + } + return star; + } + return esc ? m : `\\${m}`; + }); + if (backslashes === true) { + if (opts.unescape === true) { + output = output.replace(/\\/g, ""); + } else { + output = output.replace(/\\+/g, (m) => { + return m.length % 2 === 0 ? "\\\\" : m ? "\\" : ""; + }); + } + } + if (output === input && opts.contains === true) { + state.output = input; + return state; + } + state.output = utils.wrapOutput(output, state, options8); + return state; + } + while (!eos()) { + value = advance(); + if (value === "\0") { + continue; + } + if (value === "\\") { + const next = peek2(); + if (next === "/" && opts.bash !== true) { + continue; + } + if (next === "." || next === ";") { + continue; + } + if (!next) { + value += "\\"; + push2({ type: "text", value }); + continue; + } + const match = /^\\+/.exec(remaining()); + let slashes = 0; + if (match && match[0].length > 2) { + slashes = match[0].length; + state.index += slashes; + if (slashes % 2 !== 0) { + value += "\\"; + } + } + if (opts.unescape === true) { + value = advance(); + } else { + value += advance(); + } + if (state.brackets === 0) { + push2({ type: "text", value }); + continue; + } + } + if (state.brackets > 0 && (value !== "]" || prev.value === "[" || prev.value === "[^")) { + if (opts.posix !== false && value === ":") { + const inner = prev.value.slice(1); + if (inner.includes("[")) { + prev.posix = true; + if (inner.includes(":")) { + const idx = prev.value.lastIndexOf("["); + const pre = prev.value.slice(0, idx); + const rest2 = prev.value.slice(idx + 2); + const posix = POSIX_REGEX_SOURCE[rest2]; + if (posix) { + prev.value = pre + posix; + state.backtrack = true; + advance(); + if (!bos.output && tokens.indexOf(prev) === 1) { + bos.output = ONE_CHAR; + } continue; } - if (code === CHAR_RIGHT_PARENTHESES) { - isGlob = token.isGlob = true; - finished = true; - break; - } } - continue; } - break; } + if (value === "[" && peek2() !== ":" || value === "-" && peek2() === "]") { + value = `\\${value}`; + } + if (value === "]" && (prev.value === "[" || prev.value === "[^")) { + value = `\\${value}`; + } + if (opts.posix === true && value === "!" && prev.value === "[") { + value = "^"; + } + prev.value += value; + append({ value }); + continue; } - if (code === CHAR_ASTERISK) { - if (prev === CHAR_ASTERISK) - isGlobstar = token.isGlobstar = true; - isGlob = token.isGlob = true; - finished = true; - if (scanToEnd === true) { - continue; + if (state.quotes === 1 && value !== '"') { + value = utils.escapeRegex(value); + prev.value += value; + append({ value }); + continue; + } + if (value === '"') { + state.quotes = state.quotes === 1 ? 0 : 1; + if (opts.keepQuotes === true) { + push2({ type: "text", value }); } - break; + continue; } - if (code === CHAR_QUESTION_MARK) { - isGlob = token.isGlob = true; - finished = true; - if (scanToEnd === true) { + if (value === "(") { + increment("parens"); + push2({ type: "paren", value }); + continue; + } + if (value === ")") { + if (state.parens === 0 && opts.strictBrackets === true) { + throw new SyntaxError(syntaxError2("opening", "(")); + } + const extglob = extglobs[extglobs.length - 1]; + if (extglob && state.parens === extglob.parens + 1) { + extglobClose(extglobs.pop()); continue; } - break; + push2({ type: "paren", value, output: state.parens ? ")" : "\\)" }); + decrement("parens"); + continue; } - if (code === CHAR_LEFT_SQUARE_BRACKET) { - while (eos() !== true && (next = advance())) { - if (next === CHAR_BACKWARD_SLASH) { - backslashes = token.backslashes = true; - advance(); - continue; + if (value === "[") { + if (opts.nobracket === true || !remaining().includes("]")) { + if (opts.nobracket !== true && opts.strictBrackets === true) { + throw new SyntaxError(syntaxError2("closing", "]")); } - if (next === CHAR_RIGHT_SQUARE_BRACKET) { - isBracket = token.isBracket = true; - isGlob = token.isGlob = true; - finished = true; - break; + value = `\\${value}`; + } else { + increment("brackets"); + } + push2({ type: "bracket", value }); + continue; + } + if (value === "]") { + if (opts.nobracket === true || prev && prev.type === "bracket" && prev.value.length === 1) { + push2({ type: "text", value, output: `\\${value}` }); + continue; + } + if (state.brackets === 0) { + if (opts.strictBrackets === true) { + throw new SyntaxError(syntaxError2("opening", "[")); } + push2({ type: "text", value, output: `\\${value}` }); + continue; } - if (scanToEnd === true) { + decrement("brackets"); + const prevValue = prev.value.slice(1); + if (prev.posix !== true && prevValue[0] === "^" && !prevValue.includes("/")) { + value = `/${value}`; + } + prev.value += value; + append({ value }); + if (opts.literalBrackets === false || utils.hasRegexChars(prevValue)) { continue; } - break; + const escaped = utils.escapeRegex(prev.value); + state.output = state.output.slice(0, -prev.value.length); + if (opts.literalBrackets === true) { + state.output += escaped; + prev.value = escaped; + continue; + } + prev.value = `(${capture}${escaped}|${prev.value})`; + state.output += prev.value; + continue; } - if (opts.nonegate !== true && code === CHAR_EXCLAMATION_MARK && index === start) { - negated = token.negated = true; - start++; + if (value === "{" && opts.nobrace !== true) { + increment("braces"); + const open = { + type: "brace", + value, + output: "(", + outputIndex: state.output.length, + tokensIndex: state.tokens.length + }; + braces.push(open); + push2(open); continue; } - if (opts.noparen !== true && code === CHAR_LEFT_PARENTHESES) { - isGlob = token.isGlob = true; - if (scanToEnd === true) { - while (eos() !== true && (code = advance())) { - if (code === CHAR_LEFT_PARENTHESES) { - backslashes = token.backslashes = true; - code = advance(); - continue; - } - if (code === CHAR_RIGHT_PARENTHESES) { - finished = true; + if (value === "}") { + const brace = braces[braces.length - 1]; + if (opts.nobrace === true || !brace) { + push2({ type: "text", value, output: value }); + continue; + } + let output = ")"; + if (brace.dots === true) { + const arr = tokens.slice(); + const range = []; + for (let i = arr.length - 1; i >= 0; i--) { + tokens.pop(); + if (arr[i].type === "brace") { break; } + if (arr[i].type !== "dots") { + range.unshift(arr[i].value); + } } - continue; + output = expandRange(range, opts); + state.backtrack = true; } - break; + if (brace.comma !== true && brace.dots !== true) { + const out = state.output.slice(0, brace.outputIndex); + const toks = state.tokens.slice(brace.tokensIndex); + brace.value = brace.output = "\\{"; + value = output = "\\}"; + state.output = out; + for (const t of toks) { + state.output += t.output || t.value; + } + } + push2({ type: "brace", value, output }); + decrement("braces"); + braces.pop(); + continue; } - if (isGlob === true) { - finished = true; - if (scanToEnd === true) { - continue; + if (value === "|") { + if (extglobs.length > 0) { + extglobs[extglobs.length - 1].conditions++; } - break; + push2({ type: "text", value }); + continue; } - } - if (opts.noext === true) { - isExtglob = false; - isGlob = false; - } - let base = str; - let prefix = ""; - let glob = ""; - if (start > 0) { - prefix = str.slice(0, start); - str = str.slice(start); - lastIndex -= start; - } - if (base && isGlob === true && lastIndex > 0) { - base = str.slice(0, lastIndex); - glob = str.slice(lastIndex); - } else if (isGlob === true) { - base = ""; - glob = str; - } else { - base = str; - } - if (base && base !== "" && base !== "/" && base !== str) { - if (isPathSeparator(base.charCodeAt(base.length - 1))) { - base = base.slice(0, -1); + if (value === ",") { + let output = value; + const brace = braces[braces.length - 1]; + if (brace && stack2[stack2.length - 1] === "braces") { + brace.comma = true; + output = "|"; + } + push2({ type: "comma", value, output }); + continue; } - } - if (opts.unescape === true) { - if (glob) - glob = utils.removeBackslashes(glob); - if (base && backslashes === true) { - base = utils.removeBackslashes(base); + if (value === "/") { + if (prev.type === "dot" && state.index === state.start + 1) { + state.start = state.index + 1; + state.consumed = ""; + state.output = ""; + tokens.pop(); + prev = bos; + continue; + } + push2({ type: "slash", value, output: SLASH_LITERAL }); + continue; } - } - const state = { - prefix, - input, - start, - base, - glob, - isBrace, - isBracket, - isGlob, - isExtglob, - isGlobstar, - negated, - negatedExtglob - }; - if (opts.tokens === true) { - state.maxDepth = 0; - if (!isPathSeparator(code)) { - tokens.push(token); + if (value === ".") { + if (state.braces > 0 && prev.type === "dot") { + if (prev.value === ".") prev.output = DOT_LITERAL; + const brace = braces[braces.length - 1]; + prev.type = "dots"; + prev.output += value; + prev.value += value; + brace.dots = true; + continue; + } + if (state.braces + state.parens === 0 && prev.type !== "bos" && prev.type !== "slash") { + push2({ type: "text", value, output: DOT_LITERAL }); + continue; + } + push2({ type: "dot", value, output: DOT_LITERAL }); + continue; } - state.tokens = tokens; - } - if (opts.parts === true || opts.tokens === true) { - let prevIndex; - for (let idx = 0; idx < slashes.length; idx++) { - const n = prevIndex ? prevIndex + 1 : start; - const i = slashes[idx]; - const value = input.slice(n, i); - if (opts.tokens) { - if (idx === 0 && start !== 0) { - tokens[idx].isPrefix = true; - tokens[idx].value = prefix; - } else { - tokens[idx].value = value; + if (value === "?") { + const isGroup = prev && prev.value === "("; + if (!isGroup && opts.noextglob !== true && peek2() === "(" && peek2(2) !== "?") { + extglobOpen("qmark", value); + continue; + } + if (prev && prev.type === "paren") { + const next = peek2(); + let output = value; + if (next === "<" && !utils.supportsLookbehinds()) { + throw new Error("Node.js v10 or higher is required for regex lookbehinds"); } - depth(tokens[idx]); - state.maxDepth += tokens[idx].depth; + if (prev.value === "(" && !/[!=<:]/.test(next) || next === "<" && !/<([!=]|\w+>)/.test(remaining())) { + output = `\\${value}`; + } + push2({ type: "text", value, output }); + continue; } - if (idx !== 0 || value !== "") { - parts.push(value); + if (opts.dot !== true && (prev.type === "slash" || prev.type === "bos")) { + push2({ type: "qmark", value, output: QMARK_NO_DOT }); + continue; } - prevIndex = i; + push2({ type: "qmark", value, output: QMARK }); + continue; } - if (prevIndex && prevIndex + 1 < input.length) { - const value = input.slice(prevIndex + 1); - parts.push(value); - if (opts.tokens) { - tokens[tokens.length - 1].value = value; - depth(tokens[tokens.length - 1]); - state.maxDepth += tokens[tokens.length - 1].depth; + if (value === "!") { + if (opts.noextglob !== true && peek2() === "(") { + if (peek2(2) !== "?" || !/[!=<:]/.test(peek2(3))) { + extglobOpen("negate", value); + continue; + } + } + if (opts.nonegate !== true && state.index === 0) { + negate(); + continue; } } - state.slashes = slashes; - state.parts = parts; - } - return state; - }; - module.exports = scan; - } -}); - -// node_modules/picomatch/lib/parse.js -var require_parse2 = __commonJS({ - "node_modules/picomatch/lib/parse.js"(exports, module) { - "use strict"; - var constants = require_constants2(); - var utils = require_utils3(); - var { - MAX_LENGTH, - POSIX_REGEX_SOURCE, - REGEX_NON_SPECIAL_CHARS, - REGEX_SPECIAL_CHARS_BACKREF, - REPLACEMENTS - } = constants; - var expandRange = (args, options8) => { - if (typeof options8.expandRange === "function") { - return options8.expandRange(...args, options8); - } - args.sort(); - const value = `[${args.join("-")}]`; - try { - new RegExp(value); - } catch (ex) { - return args.map((v) => utils.escapeRegex(v)).join(".."); - } - return value; - }; - var syntaxError = (type, char) => { - return `Missing ${type}: "${char}" - use "\\\\${char}" to match literal characters`; - }; - var parse3 = (input, options8) => { - if (typeof input !== "string") { - throw new TypeError("Expected a string"); - } - input = REPLACEMENTS[input] || input; - const opts = { ...options8 }; - const max = typeof opts.maxLength === "number" ? Math.min(MAX_LENGTH, opts.maxLength) : MAX_LENGTH; - let len = input.length; - if (len > max) { - throw new SyntaxError(`Input length: ${len}, exceeds maximum allowed length: ${max}`); - } - const bos = { type: "bos", value: "", output: opts.prepend || "" }; - const tokens = [bos]; - const capture = opts.capture ? "" : "?:"; - const win32 = utils.isWindows(options8); - const PLATFORM_CHARS = constants.globChars(win32); - const EXTGLOB_CHARS = constants.extglobChars(PLATFORM_CHARS); - const { - DOT_LITERAL, - PLUS_LITERAL, - SLASH_LITERAL, - ONE_CHAR, - DOTS_SLASH, - NO_DOT, - NO_DOT_SLASH, - NO_DOTS_SLASH, - QMARK, - QMARK_NO_DOT, - STAR, - START_ANCHOR - } = PLATFORM_CHARS; - const globstar = (opts2) => { - return `(${capture}(?:(?!${START_ANCHOR}${opts2.dot ? DOTS_SLASH : DOT_LITERAL}).)*?)`; - }; - const nodot = opts.dot ? "" : NO_DOT; - const qmarkNoDot = opts.dot ? QMARK : QMARK_NO_DOT; - let star = opts.bash === true ? globstar(opts) : STAR; - if (opts.capture) { - star = `(${star})`; - } - if (typeof opts.noext === "boolean") { - opts.noextglob = opts.noext; - } - const state = { - input, - index: -1, - start: 0, - dot: opts.dot === true, - consumed: "", - output: "", - prefix: "", - backtrack: false, - negated: false, - brackets: 0, - braces: 0, - parens: 0, - quotes: 0, - globstar: false, - tokens - }; - input = utils.removePrefix(input, state); - len = input.length; - const extglobs = []; - const braces = []; - const stack = []; - let prev = bos; - let value; - const eos = () => state.index === len - 1; - const peek = state.peek = (n = 1) => input[state.index + n]; - const advance = state.advance = () => input[++state.index] || ""; - const remaining = () => input.slice(state.index + 1); - const consume = (value2 = "", num = 0) => { - state.consumed += value2; - state.index += num; - }; - const append = (token) => { - state.output += token.output != null ? token.output : token.value; - consume(token.value); - }; - const negate = () => { - let count = 1; - while (peek() === "!" && (peek(2) !== "(" || peek(3) === "?")) { - advance(); - state.start++; - count++; - } - if (count % 2 === 0) { - return false; - } - state.negated = true; - state.start++; - return true; - }; - const increment = (type) => { - state[type]++; - stack.push(type); - }; - const decrement = (type) => { - state[type]--; - stack.pop(); - }; - const push = (tok) => { - if (prev.type === "globstar") { - const isBrace = state.braces > 0 && (tok.type === "comma" || tok.type === "brace"); - const isExtglob = tok.extglob === true || extglobs.length && (tok.type === "pipe" || tok.type === "paren"); - if (tok.type !== "slash" && tok.type !== "paren" && !isBrace && !isExtglob) { - state.output = state.output.slice(0, -prev.output.length); - prev.type = "star"; - prev.value = "*"; - prev.output = star; - state.output += prev.output; - } - } - if (extglobs.length && tok.type !== "paren") { - extglobs[extglobs.length - 1].inner += tok.value; - } - if (tok.value || tok.output) - append(tok); - if (prev && prev.type === "text" && tok.type === "text") { - prev.value += tok.value; - prev.output = (prev.output || "") + tok.value; - return; - } - tok.prev = prev; - tokens.push(tok); - prev = tok; - }; - const extglobOpen = (type, value2) => { - const token = { ...EXTGLOB_CHARS[value2], conditions: 1, inner: "" }; - token.prev = prev; - token.parens = state.parens; - token.output = state.output; - const output = (opts.capture ? "(" : "") + token.open; - increment("parens"); - push({ type, value: value2, output: state.output ? "" : ONE_CHAR }); - push({ type: "paren", extglob: true, value: advance(), output }); - extglobs.push(token); - }; - const extglobClose = (token) => { - let output = token.close + (opts.capture ? ")" : ""); - let rest; - if (token.type === "negate") { - let extglobStar = star; - if (token.inner && token.inner.length > 1 && token.inner.includes("/")) { - extglobStar = globstar(opts); - } - if (extglobStar !== star || eos() || /^\)+$/.test(remaining())) { - output = token.close = `)$))${extglobStar}`; + if (value === "+") { + if (opts.noextglob !== true && peek2() === "(" && peek2(2) !== "?") { + extglobOpen("plus", value); + continue; } - if (token.inner.includes("*") && (rest = remaining()) && /^\.[^\\/.]+$/.test(rest)) { - const expression = parse3(rest, { ...options8, fastpaths: false }).output; - output = token.close = `)${expression})${extglobStar})`; + if (prev && prev.value === "(" || opts.regex === false) { + push2({ type: "plus", value, output: PLUS_LITERAL }); + continue; } - if (token.prev.type === "bos") { - state.negatedExtglob = true; + if (prev && (prev.type === "bracket" || prev.type === "paren" || prev.type === "brace") || state.parens > 0) { + push2({ type: "plus", value }); + continue; } + push2({ type: "plus", value: PLUS_LITERAL }); + continue; } - push({ type: "paren", extglob: true, value, output }); - decrement("parens"); - }; - if (opts.fastpaths !== false && !/(^[*!]|[/()[\]{}"])/.test(input)) { - let backslashes = false; - let output = input.replace(REGEX_SPECIAL_CHARS_BACKREF, (m, esc, chars, first, rest, index) => { - if (first === "\\") { - backslashes = true; - return m; - } - if (first === "?") { - if (esc) { - return esc + first + (rest ? QMARK.repeat(rest.length) : ""); - } - if (index === 0) { - return qmarkNoDot + (rest ? QMARK.repeat(rest.length) : ""); - } - return QMARK.repeat(chars.length); - } - if (first === ".") { - return DOT_LITERAL.repeat(chars.length); + if (value === "@") { + if (opts.noextglob !== true && peek2() === "(" && peek2(2) !== "?") { + push2({ type: "at", extglob: true, value, output: "" }); + continue; } - if (first === "*") { - if (esc) { - return esc + first + (rest ? star : ""); - } - return star; + push2({ type: "text", value }); + continue; + } + if (value !== "*") { + if (value === "$" || value === "^") { + value = `\\${value}`; } - return esc ? m : `\\${m}`; - }); - if (backslashes === true) { - if (opts.unescape === true) { - output = output.replace(/\\/g, ""); - } else { - output = output.replace(/\\+/g, (m) => { - return m.length % 2 === 0 ? "\\\\" : m ? "\\" : ""; - }); + const match = REGEX_NON_SPECIAL_CHARS.exec(remaining()); + if (match) { + value += match[0]; + state.index += match[0].length; } + push2({ type: "text", value }); + continue; } - if (output === input && opts.contains === true) { - state.output = input; - return state; + if (prev && (prev.type === "globstar" || prev.star === true)) { + prev.type = "star"; + prev.star = true; + prev.value += value; + prev.output = star; + state.backtrack = true; + state.globstar = true; + consume(value); + continue; } - state.output = utils.wrapOutput(output, state, options8); - return state; - } - while (!eos()) { - value = advance(); - if (value === "\0") { + let rest = remaining(); + if (opts.noextglob !== true && /^\([^?]/.test(rest)) { + extglobOpen("star", value); continue; } - if (value === "\\") { - const next = peek(); - if (next === "/" && opts.bash !== true) { + if (prev.type === "star") { + if (opts.noglobstar === true) { + consume(value); continue; } - if (next === "." || next === ";") { + const prior = prev.prev; + const before = prior.prev; + const isStart = prior.type === "slash" || prior.type === "bos"; + const afterStar = before && (before.type === "star" || before.type === "globstar"); + if (opts.bash === true && (!isStart || rest[0] && rest[0] !== "/")) { + push2({ type: "star", value, output: "" }); continue; } - if (!next) { - value += "\\"; - push({ type: "text", value }); + const isBrace = state.braces > 0 && (prior.type === "comma" || prior.type === "brace"); + const isExtglob = extglobs.length && (prior.type === "pipe" || prior.type === "paren"); + if (!isStart && prior.type !== "paren" && !isBrace && !isExtglob) { + push2({ type: "star", value, output: "" }); continue; } - const match = /^\\+/.exec(remaining()); - let slashes = 0; - if (match && match[0].length > 2) { - slashes = match[0].length; - state.index += slashes; - if (slashes % 2 !== 0) { - value += "\\"; + while (rest.slice(0, 3) === "/**") { + const after = input[state.index + 4]; + if (after && after !== "/") { + break; } + rest = rest.slice(3); + consume("/**", 3); } - if (opts.unescape === true) { - value = advance(); - } else { - value += advance(); - } - if (state.brackets === 0) { - push({ type: "text", value }); + if (prior.type === "bos" && eos()) { + prev.type = "globstar"; + prev.value += value; + prev.output = globstar(opts); + state.output = prev.output; + state.globstar = true; + consume(value); continue; } - } - if (state.brackets > 0 && (value !== "]" || prev.value === "[" || prev.value === "[^")) { - if (opts.posix !== false && value === ":") { - const inner = prev.value.slice(1); - if (inner.includes("[")) { - prev.posix = true; - if (inner.includes(":")) { - const idx = prev.value.lastIndexOf("["); - const pre = prev.value.slice(0, idx); - const rest2 = prev.value.slice(idx + 2); - const posix = POSIX_REGEX_SOURCE[rest2]; - if (posix) { - prev.value = pre + posix; - state.backtrack = true; - advance(); - if (!bos.output && tokens.indexOf(prev) === 1) { - bos.output = ONE_CHAR; - } - continue; - } - } - } - } - if (value === "[" && peek() !== ":" || value === "-" && peek() === "]") { - value = `\\${value}`; + if (prior.type === "slash" && prior.prev.type !== "bos" && !afterStar && eos()) { + state.output = state.output.slice(0, -(prior.output + prev.output).length); + prior.output = `(?:${prior.output}`; + prev.type = "globstar"; + prev.output = globstar(opts) + (opts.strictSlashes ? ")" : "|$)"); + prev.value += value; + state.globstar = true; + state.output += prior.output + prev.output; + consume(value); + continue; } - if (value === "]" && (prev.value === "[" || prev.value === "[^")) { - value = `\\${value}`; + if (prior.type === "slash" && prior.prev.type !== "bos" && rest[0] === "/") { + const end = rest[1] !== void 0 ? "|$" : ""; + state.output = state.output.slice(0, -(prior.output + prev.output).length); + prior.output = `(?:${prior.output}`; + prev.type = "globstar"; + prev.output = `${globstar(opts)}${SLASH_LITERAL}|${SLASH_LITERAL}${end})`; + prev.value += value; + state.output += prior.output + prev.output; + state.globstar = true; + consume(value + advance()); + push2({ type: "slash", value: "/", output: "" }); + continue; } - if (opts.posix === true && value === "!" && prev.value === "[") { - value = "^"; + if (prior.type === "bos" && rest[0] === "/") { + prev.type = "globstar"; + prev.value += value; + prev.output = `(?:^|${SLASH_LITERAL}|${globstar(opts)}${SLASH_LITERAL})`; + state.output = prev.output; + state.globstar = true; + consume(value + advance()); + push2({ type: "slash", value: "/", output: "" }); + continue; } + state.output = state.output.slice(0, -prev.output.length); + prev.type = "globstar"; + prev.output = globstar(opts); prev.value += value; - append({ value }); - continue; - } - if (state.quotes === 1 && value !== '"') { - value = utils.escapeRegex(value); - prev.value += value; - append({ value }); + state.output += prev.output; + state.globstar = true; + consume(value); continue; } - if (value === '"') { - state.quotes = state.quotes === 1 ? 0 : 1; - if (opts.keepQuotes === true) { - push({ type: "text", value }); + const token2 = { type: "star", value, output: star }; + if (opts.bash === true) { + token2.output = ".*?"; + if (prev.type === "bos" || prev.type === "slash") { + token2.output = nodot + token2.output; } + push2(token2); continue; } - if (value === "(") { - increment("parens"); - push({ type: "paren", value }); + if (prev && (prev.type === "bracket" || prev.type === "paren") && opts.regex === true) { + token2.output = value; + push2(token2); continue; } - if (value === ")") { - if (state.parens === 0 && opts.strictBrackets === true) { - throw new SyntaxError(syntaxError("opening", "(")); + if (state.index === state.start || prev.type === "slash" || prev.type === "dot") { + if (prev.type === "dot") { + state.output += NO_DOT_SLASH; + prev.output += NO_DOT_SLASH; + } else if (opts.dot === true) { + state.output += NO_DOTS_SLASH; + prev.output += NO_DOTS_SLASH; + } else { + state.output += nodot; + prev.output += nodot; } - const extglob = extglobs[extglobs.length - 1]; - if (extglob && state.parens === extglob.parens + 1) { - extglobClose(extglobs.pop()); - continue; + if (peek2() !== "*") { + state.output += ONE_CHAR; + prev.output += ONE_CHAR; } - push({ type: "paren", value, output: state.parens ? ")" : "\\)" }); - decrement("parens"); - continue; } - if (value === "[") { - if (opts.nobracket === true || !remaining().includes("]")) { - if (opts.nobracket !== true && opts.strictBrackets === true) { - throw new SyntaxError(syntaxError("closing", "]")); - } - value = `\\${value}`; - } else { - increment("brackets"); - } - push({ type: "bracket", value }); - continue; - } - if (value === "]") { - if (opts.nobracket === true || prev && prev.type === "bracket" && prev.value.length === 1) { - push({ type: "text", value, output: `\\${value}` }); - continue; - } - if (state.brackets === 0) { - if (opts.strictBrackets === true) { - throw new SyntaxError(syntaxError("opening", "[")); - } - push({ type: "text", value, output: `\\${value}` }); - continue; - } - decrement("brackets"); - const prevValue = prev.value.slice(1); - if (prev.posix !== true && prevValue[0] === "^" && !prevValue.includes("/")) { - value = `/${value}`; - } - prev.value += value; - append({ value }); - if (opts.literalBrackets === false || utils.hasRegexChars(prevValue)) { - continue; - } - const escaped = utils.escapeRegex(prev.value); - state.output = state.output.slice(0, -prev.value.length); - if (opts.literalBrackets === true) { - state.output += escaped; - prev.value = escaped; - continue; - } - prev.value = `(${capture}${escaped}|${prev.value})`; - state.output += prev.value; - continue; - } - if (value === "{" && opts.nobrace !== true) { - increment("braces"); - const open = { - type: "brace", - value, - output: "(", - outputIndex: state.output.length, - tokensIndex: state.tokens.length - }; - braces.push(open); - push(open); - continue; - } - if (value === "}") { - const brace = braces[braces.length - 1]; - if (opts.nobrace === true || !brace) { - push({ type: "text", value, output: value }); - continue; - } - let output = ")"; - if (brace.dots === true) { - const arr = tokens.slice(); - const range = []; - for (let i = arr.length - 1; i >= 0; i--) { - tokens.pop(); - if (arr[i].type === "brace") { - break; - } - if (arr[i].type !== "dots") { - range.unshift(arr[i].value); - } - } - output = expandRange(range, opts); - state.backtrack = true; - } - if (brace.comma !== true && brace.dots !== true) { - const out = state.output.slice(0, brace.outputIndex); - const toks = state.tokens.slice(brace.tokensIndex); - brace.value = brace.output = "\\{"; - value = output = "\\}"; - state.output = out; - for (const t of toks) { - state.output += t.output || t.value; - } + push2(token2); + } + while (state.brackets > 0) { + if (opts.strictBrackets === true) throw new SyntaxError(syntaxError2("closing", "]")); + state.output = utils.escapeLast(state.output, "["); + decrement("brackets"); + } + while (state.parens > 0) { + if (opts.strictBrackets === true) throw new SyntaxError(syntaxError2("closing", ")")); + state.output = utils.escapeLast(state.output, "("); + decrement("parens"); + } + while (state.braces > 0) { + if (opts.strictBrackets === true) throw new SyntaxError(syntaxError2("closing", "}")); + state.output = utils.escapeLast(state.output, "{"); + decrement("braces"); + } + if (opts.strictSlashes !== true && (prev.type === "star" || prev.type === "bracket")) { + push2({ type: "maybe_slash", value: "", output: `${SLASH_LITERAL}?` }); + } + if (state.backtrack === true) { + state.output = ""; + for (const token2 of state.tokens) { + state.output += token2.output != null ? token2.output : token2.value; + if (token2.suffix) { + state.output += token2.suffix; } - push({ type: "brace", value, output }); - decrement("braces"); - braces.pop(); - continue; } - if (value === "|") { - if (extglobs.length > 0) { - extglobs[extglobs.length - 1].conditions++; + } + return state; + }; + parse6.fastpaths = (input, options8) => { + const opts = { ...options8 }; + const max = typeof opts.maxLength === "number" ? Math.min(MAX_LENGTH, opts.maxLength) : MAX_LENGTH; + const len = input.length; + if (len > max) { + throw new SyntaxError(`Input length: ${len}, exceeds maximum allowed length: ${max}`); + } + input = REPLACEMENTS[input] || input; + const win32 = utils.isWindows(options8); + const { + DOT_LITERAL, + SLASH_LITERAL, + ONE_CHAR, + DOTS_SLASH, + NO_DOT, + NO_DOTS, + NO_DOTS_SLASH, + STAR, + START_ANCHOR + } = constants.globChars(win32); + const nodot = opts.dot ? NO_DOTS : NO_DOT; + const slashDot = opts.dot ? NO_DOTS_SLASH : NO_DOT; + const capture = opts.capture ? "" : "?:"; + const state = { negated: false, prefix: "" }; + let star = opts.bash === true ? ".*?" : STAR; + if (opts.capture) { + star = `(${star})`; + } + const globstar = (opts2) => { + if (opts2.noglobstar === true) return star; + return `(${capture}(?:(?!${START_ANCHOR}${opts2.dot ? DOTS_SLASH : DOT_LITERAL}).)*?)`; + }; + const create = (str2) => { + switch (str2) { + case "*": + return `${nodot}${ONE_CHAR}${star}`; + case ".*": + return `${DOT_LITERAL}${ONE_CHAR}${star}`; + case "*.*": + return `${nodot}${star}${DOT_LITERAL}${ONE_CHAR}${star}`; + case "*/*": + return `${nodot}${star}${SLASH_LITERAL}${ONE_CHAR}${slashDot}${star}`; + case "**": + return nodot + globstar(opts); + case "**/*": + return `(?:${nodot}${globstar(opts)}${SLASH_LITERAL})?${slashDot}${ONE_CHAR}${star}`; + case "**/*.*": + return `(?:${nodot}${globstar(opts)}${SLASH_LITERAL})?${slashDot}${star}${DOT_LITERAL}${ONE_CHAR}${star}`; + case "**/.*": + return `(?:${nodot}${globstar(opts)}${SLASH_LITERAL})?${DOT_LITERAL}${ONE_CHAR}${star}`; + default: { + const match = /^(.*?)\.(\w+)$/.exec(str2); + if (!match) return; + const source3 = create(match[1]); + if (!source3) return; + return source3 + DOT_LITERAL + match[2]; } - push({ type: "text", value }); - continue; } - if (value === ",") { - let output = value; - const brace = braces[braces.length - 1]; - if (brace && stack[stack.length - 1] === "braces") { - brace.comma = true; - output = "|"; + }; + const output = utils.removePrefix(input, state); + let source2 = create(output); + if (source2 && opts.strictSlashes !== true) { + source2 += `${SLASH_LITERAL}?`; + } + return source2; + }; + module.exports = parse6; + } +}); + +// node_modules/picomatch/lib/picomatch.js +var require_picomatch = __commonJS({ + "node_modules/picomatch/lib/picomatch.js"(exports, module) { + "use strict"; + var path13 = __require("path"); + var scan = require_scan(); + var parse6 = require_parse2(); + var utils = require_utils2(); + var constants = require_constants2(); + var isObject3 = (val) => val && typeof val === "object" && !Array.isArray(val); + var picomatch = (glob, options8, returnState = false) => { + if (Array.isArray(glob)) { + const fns = glob.map((input) => picomatch(input, options8, returnState)); + const arrayMatcher = (str2) => { + for (const isMatch of fns) { + const state2 = isMatch(str2); + if (state2) return state2; } - push({ type: "comma", value, output }); - continue; + return false; + }; + return arrayMatcher; + } + const isState = isObject3(glob) && glob.tokens && glob.input; + if (glob === "" || typeof glob !== "string" && !isState) { + throw new TypeError("Expected pattern to be a non-empty string"); + } + const opts = options8 || {}; + const posix = utils.isWindows(options8); + const regex = isState ? picomatch.compileRe(glob, options8) : picomatch.makeRe(glob, options8, false, true); + const state = regex.state; + delete regex.state; + let isIgnored2 = () => false; + if (opts.ignore) { + const ignoreOpts = { ...options8, ignore: null, onMatch: null, onResult: null }; + isIgnored2 = picomatch(opts.ignore, ignoreOpts, returnState); + } + const matcher = (input, returnObject = false) => { + const { isMatch, match, output } = picomatch.test(input, regex, options8, { glob, posix }); + const result = { glob, state, regex, posix, input, output, match, isMatch }; + if (typeof opts.onResult === "function") { + opts.onResult(result); } - if (value === "/") { - if (prev.type === "dot" && state.index === state.start + 1) { - state.start = state.index + 1; - state.consumed = ""; - state.output = ""; - tokens.pop(); - prev = bos; - continue; - } - push({ type: "slash", value, output: SLASH_LITERAL }); - continue; + if (isMatch === false) { + result.isMatch = false; + return returnObject ? result : false; } - if (value === ".") { - if (state.braces > 0 && prev.type === "dot") { - if (prev.value === ".") - prev.output = DOT_LITERAL; - const brace = braces[braces.length - 1]; - prev.type = "dots"; - prev.output += value; - prev.value += value; - brace.dots = true; - continue; - } - if (state.braces + state.parens === 0 && prev.type !== "bos" && prev.type !== "slash") { - push({ type: "text", value, output: DOT_LITERAL }); - continue; + if (isIgnored2(input)) { + if (typeof opts.onIgnore === "function") { + opts.onIgnore(result); } - push({ type: "dot", value, output: DOT_LITERAL }); - continue; + result.isMatch = false; + return returnObject ? result : false; } - if (value === "?") { - const isGroup = prev && prev.value === "("; - if (!isGroup && opts.noextglob !== true && peek() === "(" && peek(2) !== "?") { - extglobOpen("qmark", value); - continue; - } - if (prev && prev.type === "paren") { - const next = peek(); - let output = value; - if (next === "<" && !utils.supportsLookbehinds()) { - throw new Error("Node.js v10 or higher is required for regex lookbehinds"); - } - if (prev.value === "(" && !/[!=<:]/.test(next) || next === "<" && !/<([!=]|\w+>)/.test(remaining())) { - output = `\\${value}`; - } - push({ type: "text", value, output }); - continue; - } - if (opts.dot !== true && (prev.type === "slash" || prev.type === "bos")) { - push({ type: "qmark", value, output: QMARK_NO_DOT }); - continue; - } - push({ type: "qmark", value, output: QMARK }); - continue; + if (typeof opts.onMatch === "function") { + opts.onMatch(result); } - if (value === "!") { - if (opts.noextglob !== true && peek() === "(") { - if (peek(2) !== "?" || !/[!=<:]/.test(peek(3))) { - extglobOpen("negate", value); - continue; - } - } - if (opts.nonegate !== true && state.index === 0) { - negate(); - continue; - } - } - if (value === "+") { - if (opts.noextglob !== true && peek() === "(" && peek(2) !== "?") { - extglobOpen("plus", value); - continue; - } - if (prev && prev.value === "(" || opts.regex === false) { - push({ type: "plus", value, output: PLUS_LITERAL }); - continue; - } - if (prev && (prev.type === "bracket" || prev.type === "paren" || prev.type === "brace") || state.parens > 0) { - push({ type: "plus", value }); - continue; - } - push({ type: "plus", value: PLUS_LITERAL }); - continue; - } - if (value === "@") { - if (opts.noextglob !== true && peek() === "(" && peek(2) !== "?") { - push({ type: "at", extglob: true, value, output: "" }); - continue; - } - push({ type: "text", value }); - continue; - } - if (value !== "*") { - if (value === "$" || value === "^") { - value = `\\${value}`; - } - const match = REGEX_NON_SPECIAL_CHARS.exec(remaining()); - if (match) { - value += match[0]; - state.index += match[0].length; - } - push({ type: "text", value }); - continue; - } - if (prev && (prev.type === "globstar" || prev.star === true)) { - prev.type = "star"; - prev.star = true; - prev.value += value; - prev.output = star; - state.backtrack = true; - state.globstar = true; - consume(value); - continue; - } - let rest = remaining(); - if (opts.noextglob !== true && /^\([^?]/.test(rest)) { - extglobOpen("star", value); - continue; - } - if (prev.type === "star") { - if (opts.noglobstar === true) { - consume(value); - continue; - } - const prior = prev.prev; - const before = prior.prev; - const isStart = prior.type === "slash" || prior.type === "bos"; - const afterStar = before && (before.type === "star" || before.type === "globstar"); - if (opts.bash === true && (!isStart || rest[0] && rest[0] !== "/")) { - push({ type: "star", value, output: "" }); - continue; - } - const isBrace = state.braces > 0 && (prior.type === "comma" || prior.type === "brace"); - const isExtglob = extglobs.length && (prior.type === "pipe" || prior.type === "paren"); - if (!isStart && prior.type !== "paren" && !isBrace && !isExtglob) { - push({ type: "star", value, output: "" }); - continue; - } - while (rest.slice(0, 3) === "/**") { - const after = input[state.index + 4]; - if (after && after !== "/") { - break; - } - rest = rest.slice(3); - consume("/**", 3); - } - if (prior.type === "bos" && eos()) { - prev.type = "globstar"; - prev.value += value; - prev.output = globstar(opts); - state.output = prev.output; - state.globstar = true; - consume(value); - continue; - } - if (prior.type === "slash" && prior.prev.type !== "bos" && !afterStar && eos()) { - state.output = state.output.slice(0, -(prior.output + prev.output).length); - prior.output = `(?:${prior.output}`; - prev.type = "globstar"; - prev.output = globstar(opts) + (opts.strictSlashes ? ")" : "|$)"); - prev.value += value; - state.globstar = true; - state.output += prior.output + prev.output; - consume(value); - continue; - } - if (prior.type === "slash" && prior.prev.type !== "bos" && rest[0] === "/") { - const end = rest[1] !== void 0 ? "|$" : ""; - state.output = state.output.slice(0, -(prior.output + prev.output).length); - prior.output = `(?:${prior.output}`; - prev.type = "globstar"; - prev.output = `${globstar(opts)}${SLASH_LITERAL}|${SLASH_LITERAL}${end})`; - prev.value += value; - state.output += prior.output + prev.output; - state.globstar = true; - consume(value + advance()); - push({ type: "slash", value: "/", output: "" }); - continue; - } - if (prior.type === "bos" && rest[0] === "/") { - prev.type = "globstar"; - prev.value += value; - prev.output = `(?:^|${SLASH_LITERAL}|${globstar(opts)}${SLASH_LITERAL})`; - state.output = prev.output; - state.globstar = true; - consume(value + advance()); - push({ type: "slash", value: "/", output: "" }); - continue; - } - state.output = state.output.slice(0, -prev.output.length); - prev.type = "globstar"; - prev.output = globstar(opts); - prev.value += value; - state.output += prev.output; - state.globstar = true; - consume(value); - continue; - } - const token = { type: "star", value, output: star }; - if (opts.bash === true) { - token.output = ".*?"; - if (prev.type === "bos" || prev.type === "slash") { - token.output = nodot + token.output; - } - push(token); - continue; - } - if (prev && (prev.type === "bracket" || prev.type === "paren") && opts.regex === true) { - token.output = value; - push(token); - continue; - } - if (state.index === state.start || prev.type === "slash" || prev.type === "dot") { - if (prev.type === "dot") { - state.output += NO_DOT_SLASH; - prev.output += NO_DOT_SLASH; - } else if (opts.dot === true) { - state.output += NO_DOTS_SLASH; - prev.output += NO_DOTS_SLASH; - } else { - state.output += nodot; - prev.output += nodot; - } - if (peek() !== "*") { - state.output += ONE_CHAR; - prev.output += ONE_CHAR; - } - } - push(token); - } - while (state.brackets > 0) { - if (opts.strictBrackets === true) - throw new SyntaxError(syntaxError("closing", "]")); - state.output = utils.escapeLast(state.output, "["); - decrement("brackets"); + return returnObject ? result : true; + }; + if (returnState) { + matcher.state = state; } - while (state.parens > 0) { - if (opts.strictBrackets === true) - throw new SyntaxError(syntaxError("closing", ")")); - state.output = utils.escapeLast(state.output, "("); - decrement("parens"); + return matcher; + }; + picomatch.test = (input, regex, options8, { glob, posix } = {}) => { + if (typeof input !== "string") { + throw new TypeError("Expected input to be a string"); } - while (state.braces > 0) { - if (opts.strictBrackets === true) - throw new SyntaxError(syntaxError("closing", "}")); - state.output = utils.escapeLast(state.output, "{"); - decrement("braces"); + if (input === "") { + return { isMatch: false, output: "" }; } - if (opts.strictSlashes !== true && (prev.type === "star" || prev.type === "bracket")) { - push({ type: "maybe_slash", value: "", output: `${SLASH_LITERAL}?` }); + const opts = options8 || {}; + const format3 = opts.format || (posix ? utils.toPosixSlashes : null); + let match = input === glob; + let output = match && format3 ? format3(input) : input; + if (match === false) { + output = format3 ? format3(input) : input; + match = output === glob; } - if (state.backtrack === true) { - state.output = ""; - for (const token of state.tokens) { - state.output += token.output != null ? token.output : token.value; - if (token.suffix) { - state.output += token.suffix; - } + if (match === false || opts.capture === true) { + if (opts.matchBase === true || opts.basename === true) { + match = picomatch.matchBase(input, regex, options8, posix); + } else { + match = regex.exec(output); } } - return state; + return { isMatch: Boolean(match), match, output }; }; - parse3.fastpaths = (input, options8) => { - const opts = { ...options8 }; - const max = typeof opts.maxLength === "number" ? Math.min(MAX_LENGTH, opts.maxLength) : MAX_LENGTH; - const len = input.length; - if (len > max) { - throw new SyntaxError(`Input length: ${len}, exceeds maximum allowed length: ${max}`); + picomatch.matchBase = (input, glob, options8, posix = utils.isWindows(options8)) => { + const regex = glob instanceof RegExp ? glob : picomatch.makeRe(glob, options8); + return regex.test(path13.basename(input)); + }; + picomatch.isMatch = (str2, patterns, options8) => picomatch(patterns, options8)(str2); + picomatch.parse = (pattern, options8) => { + if (Array.isArray(pattern)) return pattern.map((p) => picomatch.parse(p, options8)); + return parse6(pattern, { ...options8, fastpaths: false }); + }; + picomatch.scan = (input, options8) => scan(input, options8); + picomatch.compileRe = (state, options8, returnOutput = false, returnState = false) => { + if (returnOutput === true) { + return state.output; } - input = REPLACEMENTS[input] || input; - const win32 = utils.isWindows(options8); - const { - DOT_LITERAL, - SLASH_LITERAL, - ONE_CHAR, - DOTS_SLASH, - NO_DOT, - NO_DOTS, - NO_DOTS_SLASH, - STAR, - START_ANCHOR - } = constants.globChars(win32); - const nodot = opts.dot ? NO_DOTS : NO_DOT; - const slashDot = opts.dot ? NO_DOTS_SLASH : NO_DOT; - const capture = opts.capture ? "" : "?:"; - const state = { negated: false, prefix: "" }; - let star = opts.bash === true ? ".*?" : STAR; - if (opts.capture) { - star = `(${star})`; + const opts = options8 || {}; + const prepend = opts.contains ? "" : "^"; + const append = opts.contains ? "" : "$"; + let source2 = `${prepend}(?:${state.output})${append}`; + if (state && state.negated === true) { + source2 = `^(?!${source2}).*$`; } - const globstar = (opts2) => { - if (opts2.noglobstar === true) - return star; - return `(${capture}(?:(?!${START_ANCHOR}${opts2.dot ? DOTS_SLASH : DOT_LITERAL}).)*?)`; - }; - const create = (str) => { - switch (str) { - case "*": - return `${nodot}${ONE_CHAR}${star}`; - case ".*": - return `${DOT_LITERAL}${ONE_CHAR}${star}`; - case "*.*": - return `${nodot}${star}${DOT_LITERAL}${ONE_CHAR}${star}`; - case "*/*": - return `${nodot}${star}${SLASH_LITERAL}${ONE_CHAR}${slashDot}${star}`; - case "**": - return nodot + globstar(opts); - case "**/*": - return `(?:${nodot}${globstar(opts)}${SLASH_LITERAL})?${slashDot}${ONE_CHAR}${star}`; - case "**/*.*": - return `(?:${nodot}${globstar(opts)}${SLASH_LITERAL})?${slashDot}${star}${DOT_LITERAL}${ONE_CHAR}${star}`; - case "**/.*": - return `(?:${nodot}${globstar(opts)}${SLASH_LITERAL})?${DOT_LITERAL}${ONE_CHAR}${star}`; - default: { - const match = /^(.*?)\.(\w+)$/.exec(str); - if (!match) - return; - const source2 = create(match[1]); - if (!source2) - return; - return source2 + DOT_LITERAL + match[2]; - } - } - }; - const output = utils.removePrefix(input, state); - let source = create(output); - if (source && opts.strictSlashes !== true) { - source += `${SLASH_LITERAL}?`; + const regex = picomatch.toRegex(source2, options8); + if (returnState === true) { + regex.state = state; } - return source; - }; - module.exports = parse3; - } -}); - -// node_modules/picomatch/lib/picomatch.js -var require_picomatch = __commonJS({ - "node_modules/picomatch/lib/picomatch.js"(exports, module) { - "use strict"; - var path9 = __require("path"); - var scan = require_scan(); - var parse3 = require_parse2(); - var utils = require_utils3(); - var constants = require_constants2(); - var isObject2 = (val) => val && typeof val === "object" && !Array.isArray(val); - var picomatch = (glob, options8, returnState = false) => { - if (Array.isArray(glob)) { - const fns = glob.map((input) => picomatch(input, options8, returnState)); - const arrayMatcher = (str) => { - for (const isMatch of fns) { - const state2 = isMatch(str); - if (state2) - return state2; - } - return false; - }; - return arrayMatcher; - } - const isState = isObject2(glob) && glob.tokens && glob.input; - if (glob === "" || typeof glob !== "string" && !isState) { - throw new TypeError("Expected pattern to be a non-empty string"); - } - const opts = options8 || {}; - const posix = utils.isWindows(options8); - const regex = isState ? picomatch.compileRe(glob, options8) : picomatch.makeRe(glob, options8, false, true); - const state = regex.state; - delete regex.state; - let isIgnored2 = () => false; - if (opts.ignore) { - const ignoreOpts = { ...options8, ignore: null, onMatch: null, onResult: null }; - isIgnored2 = picomatch(opts.ignore, ignoreOpts, returnState); - } - const matcher = (input, returnObject = false) => { - const { isMatch, match, output } = picomatch.test(input, regex, options8, { glob, posix }); - const result = { glob, state, regex, posix, input, output, match, isMatch }; - if (typeof opts.onResult === "function") { - opts.onResult(result); - } - if (isMatch === false) { - result.isMatch = false; - return returnObject ? result : false; - } - if (isIgnored2(input)) { - if (typeof opts.onIgnore === "function") { - opts.onIgnore(result); - } - result.isMatch = false; - return returnObject ? result : false; - } - if (typeof opts.onMatch === "function") { - opts.onMatch(result); - } - return returnObject ? result : true; - }; - if (returnState) { - matcher.state = state; - } - return matcher; - }; - picomatch.test = (input, regex, options8, { glob, posix } = {}) => { - if (typeof input !== "string") { - throw new TypeError("Expected input to be a string"); - } - if (input === "") { - return { isMatch: false, output: "" }; - } - const opts = options8 || {}; - const format3 = opts.format || (posix ? utils.toPosixSlashes : null); - let match = input === glob; - let output = match && format3 ? format3(input) : input; - if (match === false) { - output = format3 ? format3(input) : input; - match = output === glob; - } - if (match === false || opts.capture === true) { - if (opts.matchBase === true || opts.basename === true) { - match = picomatch.matchBase(input, regex, options8, posix); - } else { - match = regex.exec(output); - } - } - return { isMatch: Boolean(match), match, output }; - }; - picomatch.matchBase = (input, glob, options8, posix = utils.isWindows(options8)) => { - const regex = glob instanceof RegExp ? glob : picomatch.makeRe(glob, options8); - return regex.test(path9.basename(input)); - }; - picomatch.isMatch = (str, patterns, options8) => picomatch(patterns, options8)(str); - picomatch.parse = (pattern, options8) => { - if (Array.isArray(pattern)) - return pattern.map((p) => picomatch.parse(p, options8)); - return parse3(pattern, { ...options8, fastpaths: false }); - }; - picomatch.scan = (input, options8) => scan(input, options8); - picomatch.compileRe = (state, options8, returnOutput = false, returnState = false) => { - if (returnOutput === true) { - return state.output; - } - const opts = options8 || {}; - const prepend = opts.contains ? "" : "^"; - const append = opts.contains ? "" : "$"; - let source = `${prepend}(?:${state.output})${append}`; - if (state && state.negated === true) { - source = `^(?!${source}).*$`; - } - const regex = picomatch.toRegex(source, options8); - if (returnState === true) { - regex.state = state; - } - return regex; + return regex; }; picomatch.makeRe = (input, options8 = {}, returnOutput = false, returnState = false) => { if (!input || typeof input !== "string") { @@ -5622,20 +2913,19 @@ var require_picomatch = __commonJS({ } let parsed = { negated: false, fastpaths: true }; if (options8.fastpaths !== false && (input[0] === "." || input[0] === "*")) { - parsed.output = parse3.fastpaths(input, options8); + parsed.output = parse6.fastpaths(input, options8); } if (!parsed.output) { - parsed = parse3(input, options8); + parsed = parse6(input, options8); } return picomatch.compileRe(parsed, options8, returnOutput, returnState); }; - picomatch.toRegex = (source, options8) => { + picomatch.toRegex = (source2, options8) => { try { const opts = options8 || {}; - return new RegExp(source, opts.flags || (opts.nocase ? "i" : "")); + return new RegExp(source2, opts.flags || (opts.nocase ? "i" : "")); } catch (err) { - if (options8 && options8.debug === true) - throw err; + if (options8 && options8.debug === true) throw err; return /$^/; } }; @@ -5656,10 +2946,10 @@ var require_picomatch2 = __commonJS({ var require_micromatch = __commonJS({ "node_modules/micromatch/index.js"(exports, module) { "use strict"; - var util = __require("util"); + var util2 = __require("util"); var braces = require_braces(); var picomatch = require_picomatch2(); - var utils = require_utils3(); + var utils = require_utils2(); var isEmptyString = (val) => val === "" || val === "./"; var micromatch2 = (list, patterns, options8) => { patterns = [].concat(patterns); @@ -5677,13 +2967,11 @@ var require_micromatch = __commonJS({ for (let i = 0; i < patterns.length; i++) { let isMatch = picomatch(String(patterns[i]), { ...options8, onResult }, true); let negated = isMatch.state.negated || isMatch.state.negatedExtglob; - if (negated) - negatives++; + if (negated) negatives++; for (let item of list) { let matched = isMatch(item, true); let match = negated ? !matched.isMatch : matched.isMatch; - if (!match) - continue; + if (!match) continue; if (negated) { omit2.add(matched.output); } else { @@ -5706,15 +2994,14 @@ var require_micromatch = __commonJS({ }; micromatch2.match = micromatch2; micromatch2.matcher = (pattern, options8) => picomatch(pattern, options8); - micromatch2.isMatch = (str, patterns, options8) => picomatch(patterns, options8)(str); + micromatch2.isMatch = (str2, patterns, options8) => picomatch(patterns, options8)(str2); micromatch2.any = micromatch2.isMatch; micromatch2.not = (list, patterns, options8 = {}) => { patterns = [].concat(patterns).map(String); let result = /* @__PURE__ */ new Set(); let items = []; let onResult = (state) => { - if (options8.onResult) - options8.onResult(state); + if (options8.onResult) options8.onResult(state); items.push(state.output); }; let matches = new Set(micromatch2(list, patterns, { ...options8, onResult })); @@ -5725,22 +3012,22 @@ var require_micromatch = __commonJS({ } return [...result]; }; - micromatch2.contains = (str, pattern, options8) => { - if (typeof str !== "string") { - throw new TypeError(`Expected a string: "${util.inspect(str)}"`); + micromatch2.contains = (str2, pattern, options8) => { + if (typeof str2 !== "string") { + throw new TypeError(`Expected a string: "${util2.inspect(str2)}"`); } if (Array.isArray(pattern)) { - return pattern.some((p) => micromatch2.contains(str, p, options8)); + return pattern.some((p) => micromatch2.contains(str2, p, options8)); } if (typeof pattern === "string") { - if (isEmptyString(str) || isEmptyString(pattern)) { + if (isEmptyString(str2) || isEmptyString(pattern)) { return false; } - if (str.includes(pattern) || str.startsWith("./") && str.slice(2).includes(pattern)) { + if (str2.includes(pattern) || str2.startsWith("./") && str2.slice(2).includes(pattern)) { return true; } } - return micromatch2.isMatch(str, pattern, { ...options8, contains: true }); + return micromatch2.isMatch(str2, pattern, { ...options8, contains: true }); }; micromatch2.matchKeys = (obj, patterns, options8) => { if (!utils.isObject(obj)) { @@ -5748,8 +3035,7 @@ var require_micromatch = __commonJS({ } let keys = micromatch2(Object.keys(obj), patterns, options8); let res = {}; - for (let key of keys) - res[key] = obj[key]; + for (let key2 of keys) res[key2] = obj[key2]; return res; }; micromatch2.some = (list, patterns, options8) => { @@ -5772,11 +3058,11 @@ var require_micromatch = __commonJS({ } return true; }; - micromatch2.all = (str, patterns, options8) => { - if (typeof str !== "string") { - throw new TypeError(`Expected a string: "${util.inspect(str)}"`); + micromatch2.all = (str2, patterns, options8) => { + if (typeof str2 !== "string") { + throw new TypeError(`Expected a string: "${util2.inspect(str2)}"`); } - return [].concat(patterns).every((p) => picomatch(p, options8)(str)); + return [].concat(patterns).every((p) => picomatch(p, options8)(str2)); }; micromatch2.capture = (glob, input, options8) => { let posix = utils.isWindows(options8); @@ -5791,23 +3077,21 @@ var require_micromatch = __commonJS({ micromatch2.parse = (patterns, options8) => { let res = []; for (let pattern of [].concat(patterns || [])) { - for (let str of braces(String(pattern), options8)) { - res.push(picomatch.parse(str, options8)); + for (let str2 of braces(String(pattern), options8)) { + res.push(picomatch.parse(str2, options8)); } } return res; }; micromatch2.braces = (pattern, options8) => { - if (typeof pattern !== "string") - throw new TypeError("Expected a string"); + if (typeof pattern !== "string") throw new TypeError("Expected a string"); if (options8 && options8.nobrace === true || !/\{.*\}/.test(pattern)) { return [pattern]; } return braces(pattern, options8); }; micromatch2.braceExpand = (pattern, options8) => { - if (typeof pattern !== "string") - throw new TypeError("Expected a string"); + if (typeof pattern !== "string") throw new TypeError("Expected a string"); return micromatch2.braces(pattern, { ...options8, expand: true }); }; module.exports = micromatch2; @@ -5819,8 +3103,8 @@ var require_pattern = __commonJS({ "node_modules/fast-glob/out/utils/pattern.js"(exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); - exports.matchAny = exports.convertPatternsToRe = exports.makeRe = exports.getPatternParts = exports.expandBraceExpansion = exports.expandPatternsWithBraceExpansion = exports.isAffectDepthOfReadingPattern = exports.endsWithSlashGlobStar = exports.hasGlobStar = exports.getBaseDirectory = exports.isPatternRelatedToParentDirectory = exports.getPatternsOutsideCurrentDirectory = exports.getPatternsInsideCurrentDirectory = exports.getPositivePatterns = exports.getNegativePatterns = exports.isPositivePattern = exports.isNegativePattern = exports.convertToNegativePattern = exports.convertToPositivePattern = exports.isDynamicPattern = exports.isStaticPattern = void 0; - var path9 = __require("path"); + exports.removeDuplicateSlashes = exports.matchAny = exports.convertPatternsToRe = exports.makeRe = exports.getPatternParts = exports.expandBraceExpansion = exports.expandPatternsWithBraceExpansion = exports.isAffectDepthOfReadingPattern = exports.endsWithSlashGlobStar = exports.hasGlobStar = exports.getBaseDirectory = exports.isPatternRelatedToParentDirectory = exports.getPatternsOutsideCurrentDirectory = exports.getPatternsInsideCurrentDirectory = exports.getPositivePatterns = exports.getNegativePatterns = exports.isPositivePattern = exports.isNegativePattern = exports.convertToNegativePattern = exports.convertToPositivePattern = exports.isDynamicPattern = exports.isStaticPattern = void 0; + var path13 = __require("path"); var globParent = require_glob_parent(); var micromatch2 = require_micromatch(); var GLOBSTAR = "**"; @@ -5830,6 +3114,7 @@ var require_pattern = __commonJS({ var REGEX_GROUP_SYMBOLS_RE = /(?:^|[^!*+?@])\([^(]*\|[^|]*\)/; var GLOB_EXTENSION_SYMBOLS_RE = /[!*+?@]\([^(]*\)/; var BRACE_EXPANSION_SEPARATORS_RE = /,|\.\./; + var DOUBLE_SLASH_RE = /(?!^)\/{2,}/g; function isStaticPattern(pattern, options8 = {}) { return !isDynamicPattern(pattern, options8); } @@ -5914,7 +3199,7 @@ var require_pattern = __commonJS({ } exports.endsWithSlashGlobStar = endsWithSlashGlobStar; function isAffectDepthOfReadingPattern(pattern) { - const basename = path9.basename(pattern); + const basename = path13.basename(pattern); return endsWithSlashGlobStar(pattern) || isStaticPattern(basename); } exports.isAffectDepthOfReadingPattern = isAffectDepthOfReadingPattern; @@ -5925,10 +3210,9 @@ var require_pattern = __commonJS({ } exports.expandPatternsWithBraceExpansion = expandPatternsWithBraceExpansion; function expandBraceExpansion(pattern) { - return micromatch2.braces(pattern, { - expand: true, - nodupes: true - }); + const patterns = micromatch2.braces(pattern, { expand: true, nodupes: true, keepEscaping: true }); + patterns.sort((a, b) => a.length - b.length); + return patterns.filter((pattern2) => pattern2 !== ""); } exports.expandBraceExpansion = expandBraceExpansion; function getPatternParts(pattern, options8) { @@ -5955,6 +3239,10 @@ var require_pattern = __commonJS({ return patternsRe.some((patternRe) => patternRe.test(entry)); } exports.matchAny = matchAny; + function removeDuplicateSlashes(pattern) { + return pattern.replace(DOUBLE_SLASH_RE, "/"); + } + exports.removeDuplicateSlashes = removeDuplicateSlashes; } }); @@ -6084,7 +3372,7 @@ var require_stream = __commonJS({ Object.defineProperty(exports, "__esModule", { value: true }); exports.merge = void 0; var merge2 = require_merge2(); - function merge(streams) { + function merge3(streams) { const mergedStream = merge2(streams); streams.forEach((stream) => { stream.once("error", (error) => mergedStream.emit("error", error)); @@ -6093,7 +3381,7 @@ var require_stream = __commonJS({ mergedStream.once("end", () => propagateCloseEventToSources(streams)); return mergedStream; } - exports.merge = merge; + exports.merge = merge3; function propagateCloseEventToSources(streams) { streams.forEach((stream) => stream.emit("close")); } @@ -6101,7 +3389,7 @@ var require_stream = __commonJS({ }); // node_modules/fast-glob/out/utils/string.js -var require_string2 = __commonJS({ +var require_string = __commonJS({ "node_modules/fast-glob/out/utils/string.js"(exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); @@ -6118,24 +3406,24 @@ var require_string2 = __commonJS({ }); // node_modules/fast-glob/out/utils/index.js -var require_utils4 = __commonJS({ +var require_utils3 = __commonJS({ "node_modules/fast-glob/out/utils/index.js"(exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.string = exports.stream = exports.pattern = exports.path = exports.fs = exports.errno = exports.array = void 0; - var array = require_array2(); - exports.array = array; + var array2 = require_array(); + exports.array = array2; var errno = require_errno(); exports.errno = errno; - var fs5 = require_fs(); - exports.fs = fs5; - var path9 = require_path(); - exports.path = path9; + var fs7 = require_fs(); + exports.fs = fs7; + var path13 = require_path(); + exports.path = path13; var pattern = require_pattern(); exports.pattern = pattern; var stream = require_stream(); exports.stream = stream; - var string = require_string2(); + var string = require_string(); exports.string = string; } }); @@ -6146,10 +3434,12 @@ var require_tasks = __commonJS({ "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.convertPatternGroupToTask = exports.convertPatternGroupsToTasks = exports.groupPatternsByBaseDirectory = exports.getNegativePatternsAsPositive = exports.getPositivePatterns = exports.convertPatternsToTasks = exports.generate = void 0; - var utils = require_utils4(); - function generate(patterns, settings) { + var utils = require_utils3(); + function generate(input, settings) { + const patterns = processPatterns(input, settings); + const ignore = processPatterns(settings.ignore, settings); const positivePatterns = getPositivePatterns(patterns); - const negativePatterns = getNegativePatternsAsPositive(patterns, settings.ignore); + const negativePatterns = getNegativePatternsAsPositive(patterns, ignore); const staticPatterns = positivePatterns.filter((pattern) => utils.pattern.isStaticPattern(pattern, settings)); const dynamicPatterns = positivePatterns.filter((pattern) => utils.pattern.isDynamicPattern(pattern, settings)); const staticTasks = convertPatternsToTasks( @@ -6167,6 +3457,16 @@ var require_tasks = __commonJS({ return staticTasks.concat(dynamicTasks); } exports.generate = generate; + function processPatterns(input, settings) { + let patterns = input; + if (settings.braceExpansion) { + patterns = utils.pattern.expandPatternsWithBraceExpansion(patterns); + } + if (settings.baseNameMatch) { + patterns = patterns.map((pattern) => pattern.includes("/") ? pattern : `**/${pattern}`); + } + return patterns.map((pattern) => utils.pattern.removeDuplicateSlashes(pattern)); + } function convertPatternsToTasks(positive, negative, dynamic) { const tasks = []; const patternsOutsideCurrentDirectory = utils.pattern.getPatternsOutsideCurrentDirectory(positive); @@ -6224,32 +3524,14 @@ var require_tasks = __commonJS({ } }); -// node_modules/fast-glob/out/managers/patterns.js -var require_patterns = __commonJS({ - "node_modules/fast-glob/out/managers/patterns.js"(exports) { - "use strict"; - Object.defineProperty(exports, "__esModule", { value: true }); - exports.removeDuplicateSlashes = exports.transform = void 0; - var DOUBLE_SLASH_RE = /(?!^)\/{2,}/g; - function transform2(patterns) { - return patterns.map((pattern) => removeDuplicateSlashes(pattern)); - } - exports.transform = transform2; - function removeDuplicateSlashes(pattern) { - return pattern.replace(DOUBLE_SLASH_RE, "/"); - } - exports.removeDuplicateSlashes = removeDuplicateSlashes; - } -}); - // node_modules/@nodelib/fs.stat/out/providers/async.js var require_async = __commonJS({ "node_modules/@nodelib/fs.stat/out/providers/async.js"(exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.read = void 0; - function read2(path9, settings, callback) { - settings.fs.lstat(path9, (lstatError, lstat) => { + function read3(path13, settings, callback) { + settings.fs.lstat(path13, (lstatError, lstat) => { if (lstatError !== null) { callFailureCallback(callback, lstatError); return; @@ -6258,7 +3540,7 @@ var require_async = __commonJS({ callSuccessCallback(callback, lstat); return; } - settings.fs.stat(path9, (statError, stat) => { + settings.fs.stat(path13, (statError, stat) => { if (statError !== null) { if (settings.throwErrorOnBrokenSymbolicLink) { callFailureCallback(callback, statError); @@ -6274,7 +3556,7 @@ var require_async = __commonJS({ }); }); } - exports.read = read2; + exports.read = read3; function callFailureCallback(callback, error) { callback(error); } @@ -6290,13 +3572,13 @@ var require_sync = __commonJS({ "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.read = void 0; - function read2(path9, settings) { - const lstat = settings.fs.lstatSync(path9); + function read3(path13, settings) { + const lstat = settings.fs.lstatSync(path13); if (!lstat.isSymbolicLink() || !settings.followSymbolicLink) { return lstat; } try { - const stat = settings.fs.statSync(path9); + const stat = settings.fs.statSync(path13); if (settings.markSymbolicLink) { stat.isSymbolicLink = () => true; } @@ -6308,7 +3590,7 @@ var require_sync = __commonJS({ throw error; } } - exports.read = read2; + exports.read = read3; } }); @@ -6318,12 +3600,12 @@ var require_fs2 = __commonJS({ "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.createFileSystemAdapter = exports.FILE_SYSTEM_ADAPTER = void 0; - var fs5 = __require("fs"); + var fs7 = __require("fs"); exports.FILE_SYSTEM_ADAPTER = { - lstat: fs5.lstat, - stat: fs5.stat, - lstatSync: fs5.lstatSync, - statSync: fs5.statSync + lstat: fs7.lstat, + stat: fs7.stat, + lstatSync: fs7.lstatSync, + statSync: fs7.statSync }; function createFileSystemAdapter(fsMethods) { if (fsMethods === void 0) { @@ -6340,12 +3622,12 @@ var require_settings = __commonJS({ "node_modules/@nodelib/fs.stat/out/settings.js"(exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); - var fs5 = require_fs2(); + var fs7 = require_fs2(); var Settings = class { constructor(_options = {}) { this._options = _options; this.followSymbolicLink = this._getValue(this._options.followSymbolicLink, true); - this.fs = fs5.createFileSystemAdapter(this._options.fs); + this.fs = fs7.createFileSystemAdapter(this._options.fs); this.markSymbolicLink = this._getValue(this._options.markSymbolicLink, false); this.throwErrorOnBrokenSymbolicLink = this._getValue(this._options.throwErrorOnBrokenSymbolicLink, true); } @@ -6367,17 +3649,17 @@ var require_out = __commonJS({ var sync = require_sync(); var settings_1 = require_settings(); exports.Settings = settings_1.default; - function stat(path9, optionsOrSettingsOrCallback, callback) { + function stat(path13, optionsOrSettingsOrCallback, callback) { if (typeof optionsOrSettingsOrCallback === "function") { - async.read(path9, getSettings(), optionsOrSettingsOrCallback); + async.read(path13, getSettings(), optionsOrSettingsOrCallback); return; } - async.read(path9, getSettings(optionsOrSettingsOrCallback), callback); + async.read(path13, getSettings(optionsOrSettingsOrCallback), callback); } exports.stat = stat; - function statSync2(path9, optionsOrSettings) { + function statSync2(path13, optionsOrSettings) { const settings = getSettings(optionsOrSettings); - return sync.read(path9, settings); + return sync.read(path13, settings); } exports.statSync = statSync2; function getSettings(settingsOrOptions = {}) { @@ -6417,14 +3699,11 @@ var require_run_parallel = __commonJS({ } function done(err) { function end() { - if (cb) - cb(err, results); + if (cb) cb(err, results); cb = null; } - if (isSync) - queueMicrotask2(end); - else - end(); + if (isSync) queueMicrotask2(end); + else end(); } function each(i, err, result) { results[i] = result; @@ -6435,9 +3714,9 @@ var require_run_parallel = __commonJS({ if (!pending) { done(null); } else if (keys) { - keys.forEach(function(key) { - tasks[key](function(err, result) { - each(key, err, result); + keys.forEach(function(key2) { + tasks[key2](function(err, result) { + each(key2, err, result); }); }); } else { @@ -6498,18 +3777,18 @@ var require_fs3 = __commonJS({ }); // node_modules/@nodelib/fs.scandir/out/utils/index.js -var require_utils5 = __commonJS({ +var require_utils4 = __commonJS({ "node_modules/@nodelib/fs.scandir/out/utils/index.js"(exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.fs = void 0; - var fs5 = require_fs3(); - exports.fs = fs5; + var fs7 = require_fs3(); + exports.fs = fs7; } }); // node_modules/@nodelib/fs.scandir/out/providers/common.js -var require_common3 = __commonJS({ +var require_common = __commonJS({ "node_modules/@nodelib/fs.scandir/out/providers/common.js"(exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); @@ -6533,16 +3812,16 @@ var require_async2 = __commonJS({ var fsStat = require_out(); var rpl = require_run_parallel(); var constants_1 = require_constants3(); - var utils = require_utils5(); - var common = require_common3(); - function read2(directory, settings, callback) { + var utils = require_utils4(); + var common2 = require_common(); + function read3(directory, settings, callback) { if (!settings.stats && constants_1.IS_SUPPORT_READDIR_WITH_FILE_TYPES) { readdirWithFileTypes(directory, settings, callback); return; } readdir(directory, settings, callback); } - exports.read = read2; + exports.read = read3; function readdirWithFileTypes(directory, settings, callback) { settings.fs.readdir(directory, { withFileTypes: true }, (readdirError, dirents) => { if (readdirError !== null) { @@ -6552,7 +3831,7 @@ var require_async2 = __commonJS({ const entries = dirents.map((dirent) => ({ dirent, name: dirent.name, - path: common.joinPathSegments(directory, dirent.name, settings.pathSegmentSeparator) + path: common2.joinPathSegments(directory, dirent.name, settings.pathSegmentSeparator) })); if (!settings.followSymbolicLinks) { callSuccessCallback(callback, entries); @@ -6596,16 +3875,16 @@ var require_async2 = __commonJS({ return; } const tasks = names.map((name) => { - const path9 = common.joinPathSegments(directory, name, settings.pathSegmentSeparator); + const path13 = common2.joinPathSegments(directory, name, settings.pathSegmentSeparator); return (done) => { - fsStat.stat(path9, settings.fsStatSettings, (error, stats) => { + fsStat.stat(path13, settings.fsStatSettings, (error, stats) => { if (error !== null) { done(error); return; } const entry = { name, - path: path9, + path: path13, dirent: utils.fs.createDirentFromStats(name, stats) }; if (settings.stats) { @@ -6642,22 +3921,22 @@ var require_sync2 = __commonJS({ exports.readdir = exports.readdirWithFileTypes = exports.read = void 0; var fsStat = require_out(); var constants_1 = require_constants3(); - var utils = require_utils5(); - var common = require_common3(); - function read2(directory, settings) { + var utils = require_utils4(); + var common2 = require_common(); + function read3(directory, settings) { if (!settings.stats && constants_1.IS_SUPPORT_READDIR_WITH_FILE_TYPES) { return readdirWithFileTypes(directory, settings); } return readdir(directory, settings); } - exports.read = read2; + exports.read = read3; function readdirWithFileTypes(directory, settings) { const dirents = settings.fs.readdirSync(directory, { withFileTypes: true }); return dirents.map((dirent) => { const entry = { dirent, name: dirent.name, - path: common.joinPathSegments(directory, dirent.name, settings.pathSegmentSeparator) + path: common2.joinPathSegments(directory, dirent.name, settings.pathSegmentSeparator) }; if (entry.dirent.isSymbolicLink() && settings.followSymbolicLinks) { try { @@ -6676,7 +3955,7 @@ var require_sync2 = __commonJS({ function readdir(directory, settings) { const names = settings.fs.readdirSync(directory); return names.map((name) => { - const entryPath = common.joinPathSegments(directory, name, settings.pathSegmentSeparator); + const entryPath = common2.joinPathSegments(directory, name, settings.pathSegmentSeparator); const stats = fsStat.statSync(entryPath, settings.fsStatSettings); const entry = { name, @@ -6699,14 +3978,14 @@ var require_fs4 = __commonJS({ "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.createFileSystemAdapter = exports.FILE_SYSTEM_ADAPTER = void 0; - var fs5 = __require("fs"); + var fs7 = __require("fs"); exports.FILE_SYSTEM_ADAPTER = { - lstat: fs5.lstat, - stat: fs5.stat, - lstatSync: fs5.lstatSync, - statSync: fs5.statSync, - readdir: fs5.readdir, - readdirSync: fs5.readdirSync + lstat: fs7.lstat, + stat: fs7.stat, + lstatSync: fs7.lstatSync, + statSync: fs7.statSync, + readdir: fs7.readdir, + readdirSync: fs7.readdirSync }; function createFileSystemAdapter(fsMethods) { if (fsMethods === void 0) { @@ -6723,15 +4002,15 @@ var require_settings2 = __commonJS({ "node_modules/@nodelib/fs.scandir/out/settings.js"(exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); - var path9 = __require("path"); + var path13 = __require("path"); var fsStat = require_out(); - var fs5 = require_fs4(); + var fs7 = require_fs4(); var Settings = class { constructor(_options = {}) { this._options = _options; this.followSymbolicLinks = this._getValue(this._options.followSymbolicLinks, false); - this.fs = fs5.createFileSystemAdapter(this._options.fs); - this.pathSegmentSeparator = this._getValue(this._options.pathSegmentSeparator, path9.sep); + this.fs = fs7.createFileSystemAdapter(this._options.fs); + this.pathSegmentSeparator = this._getValue(this._options.pathSegmentSeparator, path13.sep); this.stats = this._getValue(this._options.stats, false); this.throwErrorOnBrokenSymbolicLink = this._getValue(this._options.throwErrorOnBrokenSymbolicLink, true); this.fsStatSettings = new fsStat.Settings({ @@ -6758,17 +4037,17 @@ var require_out2 = __commonJS({ var sync = require_sync2(); var settings_1 = require_settings2(); exports.Settings = settings_1.default; - function scandir(path9, optionsOrSettingsOrCallback, callback) { + function scandir(path13, optionsOrSettingsOrCallback, callback) { if (typeof optionsOrSettingsOrCallback === "function") { - async.read(path9, getSettings(), optionsOrSettingsOrCallback); + async.read(path13, getSettings(), optionsOrSettingsOrCallback); return; } - async.read(path9, getSettings(optionsOrSettingsOrCallback), callback); + async.read(path13, getSettings(optionsOrSettingsOrCallback), callback); } exports.scandir = scandir; - function scandirSync(path9, optionsOrSettings) { + function scandirSync(path13, optionsOrSettings) { const settings = getSettings(optionsOrSettings); - return sync.read(path9, settings); + return sync.read(path13, settings); } exports.scandirSync = scandirSync; function getSettings(settingsOrOptions = {}) { @@ -6816,27 +4095,40 @@ var require_queue = __commonJS({ "node_modules/fastq/queue.js"(exports, module) { "use strict"; var reusify = require_reusify(); - function fastqueue(context, worker, concurrency) { + function fastqueue(context, worker, _concurrency) { if (typeof context === "function") { - concurrency = worker; + _concurrency = worker; worker = context; context = null; } - if (concurrency < 1) { - throw new Error("fastqueue concurrency must be greater than 1"); + if (!(_concurrency >= 1)) { + throw new Error("fastqueue concurrency must be equal to or greater than 1"); } - var cache = reusify(Task); + var cache3 = reusify(Task); var queueHead = null; var queueTail = null; var _running = 0; var errorHandler = null; var self = { - push, + push: push2, drain: noop2, saturated: noop2, pause, paused: false, - concurrency, + get concurrency() { + return _concurrency; + }, + set concurrency(value) { + if (!(value >= 1)) { + throw new Error("fastqueue concurrency must be equal to or greater than 1"); + } + _concurrency = value; + if (self.paused) return; + for (; queueHead && _running < _concurrency; ) { + _running++; + release(); + } + }, running, resume, idle, @@ -6874,10 +4166,14 @@ var require_queue = __commonJS({ return tasks; } function resume() { - if (!self.paused) - return; + if (!self.paused) return; self.paused = false; - for (var i = 0; i < self.concurrency; i++) { + if (queueHead === null) { + _running++; + release(); + return; + } + for (; queueHead && _running < _concurrency; ) { _running++; release(); } @@ -6885,14 +4181,14 @@ var require_queue = __commonJS({ function idle() { return _running === 0 && self.length() === 0; } - function push(value, done) { - var current = cache.get(); + function push2(value, done) { + var current = cache3.get(); current.context = context; current.release = release; current.value = value; current.callback = done || noop2; current.errorHandler = errorHandler; - if (_running === self.concurrency || self.paused) { + if (_running >= _concurrency || self.paused) { if (queueTail) { queueTail.next = current; queueTail = current; @@ -6907,12 +4203,13 @@ var require_queue = __commonJS({ } } function unshift(value, done) { - var current = cache.get(); + var current = cache3.get(); current.context = context; current.release = release; current.value = value; current.callback = done || noop2; - if (_running === self.concurrency || self.paused) { + current.errorHandler = errorHandler; + if (_running >= _concurrency || self.paused) { if (queueHead) { current.next = queueHead; queueHead = current; @@ -6928,10 +4225,10 @@ var require_queue = __commonJS({ } function release(holder) { if (holder) { - cache.release(holder); + cache3.release(holder); } var next = queueHead; - if (next) { + if (next && _running <= _concurrency) { if (!self.paused) { if (queueTail === queueHead) { queueTail = null; @@ -6987,9 +4284,9 @@ var require_queue = __commonJS({ self.release(self); }; } - function queueAsPromised(context, worker, concurrency) { + function queueAsPromised(context, worker, _concurrency) { if (typeof context === "function") { - concurrency = worker; + _concurrency = worker; worker = context; context = null; } @@ -6998,34 +4295,34 @@ var require_queue = __commonJS({ cb(null, res); }, cb); } - var queue = fastqueue(context, asyncWrapper, concurrency); + var queue = fastqueue(context, asyncWrapper, _concurrency); var pushCb = queue.push; var unshiftCb = queue.unshift; - queue.push = push; + queue.push = push2; queue.unshift = unshift; queue.drained = drained; return queue; - function push(value) { - var p = new Promise(function(resolve2, reject) { + function push2(value) { + var p = new Promise(function(resolve3, reject) { pushCb(value, function(err, result) { if (err) { reject(err); return; } - resolve2(result); + resolve3(result); }); }); p.catch(noop2); return p; } function unshift(value) { - var p = new Promise(function(resolve2, reject) { + var p = new Promise(function(resolve3, reject) { unshiftCb(value, function(err, result) { if (err) { reject(err); return; } - resolve2(result); + resolve3(result); }); }); p.catch(noop2); @@ -7033,15 +4330,15 @@ var require_queue = __commonJS({ } function drained() { if (queue.idle()) { - return new Promise(function(resolve2) { - resolve2(); + return new Promise(function(resolve3) { + resolve3(); }); } var previousDrain = queue.drain; - var p = new Promise(function(resolve2) { + var p = new Promise(function(resolve3) { queue.drain = function() { previousDrain(); - resolve2(); + resolve3(); }; }); return p; @@ -7053,7 +4350,7 @@ var require_queue = __commonJS({ }); // node_modules/@nodelib/fs.walk/out/readers/common.js -var require_common4 = __commonJS({ +var require_common2 = __commonJS({ "node_modules/@nodelib/fs.walk/out/readers/common.js"(exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); @@ -7065,8 +4362,8 @@ var require_common4 = __commonJS({ return !settings.errorFilter(error); } exports.isFatalError = isFatalError; - function isAppliedFilter(filter, value) { - return filter === null || filter(value); + function isAppliedFilter(filter2, value) { + return filter2 === null || filter2(value); } exports.isAppliedFilter = isAppliedFilter; function replacePathSegmentSeparator(filepath, separator) { @@ -7091,12 +4388,12 @@ var require_reader = __commonJS({ "node_modules/@nodelib/fs.walk/out/readers/reader.js"(exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); - var common = require_common4(); + var common2 = require_common2(); var Reader = class { constructor(_root, _settings) { this._root = _root; this._settings = _settings; - this._root = common.replacePathSegmentSeparator(_root, _settings.pathSegmentSeparator); + this._root = common2.replacePathSegmentSeparator(_root, _settings.pathSegmentSeparator); } }; exports.default = Reader; @@ -7111,7 +4408,7 @@ var require_async3 = __commonJS({ var events_1 = __require("events"); var fsScandir = require_out2(); var fastq = require_queue(); - var common = require_common4(); + var common2 = require_common2(); var reader_1 = require_reader(); var AsyncReader = class extends reader_1.default { constructor(_root, _settings) { @@ -7176,7 +4473,7 @@ var require_async3 = __commonJS({ }); } _handleError(error) { - if (this._isDestroyed || !common.isFatalError(this._settings, error)) { + if (this._isDestroyed || !common2.isFatalError(this._settings, error)) { return; } this._isFatalError = true; @@ -7189,12 +4486,12 @@ var require_async3 = __commonJS({ } const fullpath = entry.path; if (base !== void 0) { - entry.path = common.joinPathSegments(base, entry.name, this._settings.pathSegmentSeparator); + entry.path = common2.joinPathSegments(base, entry.name, this._settings.pathSegmentSeparator); } - if (common.isAppliedFilter(this._settings.entryFilter, entry)) { + if (common2.isAppliedFilter(this._settings.entryFilter, entry)) { this._emitEntry(entry); } - if (entry.dirent.isDirectory() && common.isAppliedFilter(this._settings.deepFilter, entry)) { + if (entry.dirent.isDirectory() && common2.isAppliedFilter(this._settings.deepFilter, entry)) { this._pushToQueue(fullpath, base === void 0 ? void 0 : entry.path); } } @@ -7289,7 +4586,7 @@ var require_sync3 = __commonJS({ "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); var fsScandir = require_out2(); - var common = require_common4(); + var common2 = require_common2(); var reader_1 = require_reader(); var SyncReader = class extends reader_1.default { constructor() { @@ -7322,7 +4619,7 @@ var require_sync3 = __commonJS({ } } _handleError(error) { - if (!common.isFatalError(this._settings, error)) { + if (!common2.isFatalError(this._settings, error)) { return; } throw error; @@ -7330,12 +4627,12 @@ var require_sync3 = __commonJS({ _handleEntry(entry, base) { const fullpath = entry.path; if (base !== void 0) { - entry.path = common.joinPathSegments(base, entry.name, this._settings.pathSegmentSeparator); + entry.path = common2.joinPathSegments(base, entry.name, this._settings.pathSegmentSeparator); } - if (common.isAppliedFilter(this._settings.entryFilter, entry)) { + if (common2.isAppliedFilter(this._settings.entryFilter, entry)) { this._pushToStorage(entry); } - if (entry.dirent.isDirectory() && common.isAppliedFilter(this._settings.deepFilter, entry)) { + if (entry.dirent.isDirectory() && common2.isAppliedFilter(this._settings.deepFilter, entry)) { this._pushToQueue(fullpath, base === void 0 ? void 0 : entry.path); } } @@ -7372,7 +4669,7 @@ var require_settings3 = __commonJS({ "node_modules/@nodelib/fs.walk/out/settings.js"(exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); - var path9 = __require("path"); + var path13 = __require("path"); var fsScandir = require_out2(); var Settings = class { constructor(_options = {}) { @@ -7382,7 +4679,7 @@ var require_settings3 = __commonJS({ this.deepFilter = this._getValue(this._options.deepFilter, null); this.entryFilter = this._getValue(this._options.entryFilter, null); this.errorFilter = this._getValue(this._options.errorFilter, null); - this.pathSegmentSeparator = this._getValue(this._options.pathSegmentSeparator, path9.sep); + this.pathSegmentSeparator = this._getValue(this._options.pathSegmentSeparator, path13.sep); this.fsScandirSettings = new fsScandir.Settings({ followSymbolicLinks: this._options.followSymbolicLinks, fs: this._options.fs, @@ -7444,9 +4741,9 @@ var require_reader2 = __commonJS({ "node_modules/fast-glob/out/readers/reader.js"(exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); - var path9 = __require("path"); + var path13 = __require("path"); var fsStat = require_out(); - var utils = require_utils4(); + var utils = require_utils3(); var Reader = class { constructor(_settings) { this._settings = _settings; @@ -7457,7 +4754,7 @@ var require_reader2 = __commonJS({ }); } _getFullEntryPath(filepath) { - return path9.resolve(this._settings.cwd, filepath); + return path13.resolve(this._settings.cwd, filepath); } _makeEntry(stats, pattern) { const entry = { @@ -7493,8 +4790,8 @@ var require_stream3 = __commonJS({ this._walkStream = fsWalk.walkStream; this._stat = fsStat.stat; } - dynamic(root, options8) { - return this._walkStream(root, options8); + dynamic(root2, options8) { + return this._walkStream(root2, options8); } static(patterns, options8) { const filepaths = patterns.map(this._getFullEntryPath, this); @@ -7524,9 +4821,9 @@ var require_stream3 = __commonJS({ }); } _getStat(filepath) { - return new Promise((resolve2, reject) => { + return new Promise((resolve3, reject) => { this._stat(filepath, this._fsStatSettings, (error, stats) => { - return error === null ? resolve2(stats) : reject(error); + return error === null ? resolve3(stats) : reject(error); }); }); } @@ -7549,11 +4846,11 @@ var require_async5 = __commonJS({ this._walkAsync = fsWalk.walk; this._readerStream = new stream_1.default(this._settings); } - dynamic(root, options8) { - return new Promise((resolve2, reject) => { - this._walkAsync(root, options8, (error, entries) => { + dynamic(root2, options8) { + return new Promise((resolve3, reject) => { + this._walkAsync(root2, options8, (error, entries) => { if (error === null) { - resolve2(entries); + resolve3(entries); } else { reject(error); } @@ -7563,10 +4860,10 @@ var require_async5 = __commonJS({ async static(patterns, options8) { const entries = []; const stream = this._readerStream.static(patterns, options8); - return new Promise((resolve2, reject) => { + return new Promise((resolve3, reject) => { stream.once("error", reject); stream.on("data", (entry) => entries.push(entry)); - stream.once("end", () => resolve2(entries)); + stream.once("end", () => resolve3(entries)); }); } }; @@ -7579,7 +4876,7 @@ var require_matcher = __commonJS({ "node_modules/fast-glob/out/providers/matchers/matcher.js"(exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); - var utils = require_utils4(); + var utils = require_utils3(); var Matcher = class { constructor(_patterns, _settings, _micromatchOptions) { this._patterns = _patterns; @@ -7589,8 +4886,7 @@ var require_matcher = __commonJS({ this._fillStorage(); } _fillStorage() { - const patterns = utils.pattern.expandPatternsWithBraceExpansion(this._patterns); - for (const pattern of patterns) { + for (const pattern of this._patterns) { const segments = this._getPatternSegments(pattern); const sections = this._splitSegmentsIntoSections(segments); this._storage.push({ @@ -7668,7 +4964,7 @@ var require_deep = __commonJS({ "node_modules/fast-glob/out/providers/filters/deep.js"(exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); - var utils = require_utils4(); + var utils = require_utils3(); var partial_1 = require_partial(); var DeepFilter = class { constructor(_settings, _micromatchOptions) { @@ -7733,7 +5029,7 @@ var require_entry = __commonJS({ "node_modules/fast-glob/out/providers/filters/entry.js"(exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); - var utils = require_utils4(); + var utils = require_utils3(); var EntryFilter = class { constructor(_settings, _micromatchOptions) { this._settings = _settings; @@ -7742,32 +5038,32 @@ var require_entry = __commonJS({ } getFilter(positive, negative) { const positiveRe = utils.pattern.convertPatternsToRe(positive, this._micromatchOptions); - const negativeRe = utils.pattern.convertPatternsToRe(negative, this._micromatchOptions); + const negativeRe = utils.pattern.convertPatternsToRe(negative, Object.assign(Object.assign({}, this._micromatchOptions), { dot: true })); return (entry) => this._filter(entry, positiveRe, negativeRe); } _filter(entry, positiveRe, negativeRe) { - if (this._settings.unique && this._isDuplicateEntry(entry)) { + const filepath = utils.path.removeLeadingDotSegment(entry.path); + if (this._settings.unique && this._isDuplicateEntry(filepath)) { return false; } if (this._onlyFileFilter(entry) || this._onlyDirectoryFilter(entry)) { return false; } - if (this._isSkippedByAbsoluteNegativePatterns(entry.path, negativeRe)) { + if (this._isSkippedByAbsoluteNegativePatterns(filepath, negativeRe)) { return false; } - const filepath = this._settings.baseNameMatch ? entry.name : entry.path; - const isDirectory = entry.dirent.isDirectory(); - const isMatched = this._isMatchToPatterns(filepath, positiveRe, isDirectory) && !this._isMatchToPatterns(entry.path, negativeRe, isDirectory); + const isDirectory2 = entry.dirent.isDirectory(); + const isMatched = this._isMatchToPatterns(filepath, positiveRe, isDirectory2) && !this._isMatchToPatterns(filepath, negativeRe, isDirectory2); if (this._settings.unique && isMatched) { - this._createIndexRecord(entry); + this._createIndexRecord(filepath); } return isMatched; } - _isDuplicateEntry(entry) { - return this.index.has(entry.path); + _isDuplicateEntry(filepath) { + return this.index.has(filepath); } - _createIndexRecord(entry) { - this.index.set(entry.path, void 0); + _createIndexRecord(filepath) { + this.index.set(filepath, void 0); } _onlyFileFilter(entry) { return this._settings.onlyFiles && !entry.dirent.isFile(); @@ -7782,10 +5078,9 @@ var require_entry = __commonJS({ const fullpath = utils.path.makeAbsolute(this._settings.cwd, entryPath); return utils.pattern.matchAny(fullpath, patternsRe); } - _isMatchToPatterns(entryPath, patternsRe, isDirectory) { - const filepath = utils.path.removeLeadingDotSegment(entryPath); + _isMatchToPatterns(filepath, patternsRe, isDirectory2) { const isMatched = utils.pattern.matchAny(filepath, patternsRe); - if (!isMatched && isDirectory) { + if (!isMatched && isDirectory2) { return utils.pattern.matchAny(filepath + "/", patternsRe); } return isMatched; @@ -7800,7 +5095,7 @@ var require_error = __commonJS({ "node_modules/fast-glob/out/providers/filters/error.js"(exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); - var utils = require_utils4(); + var utils = require_utils3(); var ErrorFilter = class { constructor(_settings) { this._settings = _settings; @@ -7821,7 +5116,7 @@ var require_entry2 = __commonJS({ "node_modules/fast-glob/out/providers/transformers/entry.js"(exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); - var utils = require_utils4(); + var utils = require_utils3(); var EntryTransformer = class { constructor(_settings) { this._settings = _settings; @@ -7853,7 +5148,7 @@ var require_provider = __commonJS({ "node_modules/fast-glob/out/providers/provider.js"(exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); - var path9 = __require("path"); + var path13 = __require("path"); var deep_1 = require_deep(); var entry_1 = require_entry(); var error_1 = require_error(); @@ -7867,7 +5162,7 @@ var require_provider = __commonJS({ this.entryTransformer = new entry_2.default(this._settings); } _getRootDirectory(task) { - return path9.resolve(this._settings.cwd, task.base); + return path13.resolve(this._settings.cwd, task.base); } _getReaderOptions(task) { const basePath = task.base === "." ? "" : task.base; @@ -7915,14 +5210,14 @@ var require_async6 = __commonJS({ this._reader = new async_1.default(this._settings); } async read(task) { - const root = this._getRootDirectory(task); + const root2 = this._getRootDirectory(task); const options8 = this._getReaderOptions(task); - const entries = await this.api(root, task, options8); + const entries = await this.api(root2, task, options8); return entries.map((entry) => options8.transform(entry)); } - api(root, task, options8) { + api(root2, task, options8) { if (task.dynamic) { - return this._reader.dynamic(root, options8); + return this._reader.dynamic(root2, options8); } return this._reader.static(task.patterns, options8); } @@ -7945,18 +5240,18 @@ var require_stream4 = __commonJS({ this._reader = new stream_2.default(this._settings); } read(task) { - const root = this._getRootDirectory(task); + const root2 = this._getRootDirectory(task); const options8 = this._getReaderOptions(task); - const source = this.api(root, task, options8); + const source2 = this.api(root2, task, options8); const destination = new stream_1.Readable({ objectMode: true, read: () => { } }); - source.once("error", (error) => destination.emit("error", error)).on("data", (entry) => destination.emit("data", options8.transform(entry))).once("end", () => destination.emit("end")); - destination.once("close", () => source.destroy()); + source2.once("error", (error) => destination.emit("error", error)).on("data", (entry) => destination.emit("data", options8.transform(entry))).once("end", () => destination.emit("end")); + destination.once("close", () => source2.destroy()); return destination; } - api(root, task, options8) { + api(root2, task, options8) { if (task.dynamic) { - return this._reader.dynamic(root, options8); + return this._reader.dynamic(root2, options8); } return this._reader.static(task.patterns, options8); } @@ -7979,8 +5274,8 @@ var require_sync5 = __commonJS({ this._walkSync = fsWalk.walkSync; this._statSync = fsStat.statSync; } - dynamic(root, options8) { - return this._walkSync(root, options8); + dynamic(root2, options8) { + return this._walkSync(root2, options8); } static(patterns, options8) { const entries = []; @@ -8026,14 +5321,14 @@ var require_sync6 = __commonJS({ this._reader = new sync_1.default(this._settings); } read(task) { - const root = this._getRootDirectory(task); + const root2 = this._getRootDirectory(task); const options8 = this._getReaderOptions(task); - const entries = this.api(root, task, options8); + const entries = this.api(root2, task, options8); return entries.map(options8.transform); } - api(root, task, options8) { + api(root2, task, options8) { if (task.dynamic) { - return this._reader.dynamic(root, options8); + return this._reader.dynamic(root2, options8); } return this._reader.static(task.patterns, options8); } @@ -8048,16 +5343,16 @@ var require_settings4 = __commonJS({ "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.DEFAULT_FILE_SYSTEM_ADAPTER = void 0; - var fs5 = __require("fs"); - var os = __require("os"); - var CPU_COUNT = Math.max(os.cpus().length, 1); + var fs7 = __require("fs"); + var os2 = __require("os"); + var CPU_COUNT = Math.max(os2.cpus().length, 1); exports.DEFAULT_FILE_SYSTEM_ADAPTER = { - lstat: fs5.lstat, - lstatSync: fs5.lstatSync, - stat: fs5.stat, - statSync: fs5.statSync, - readdir: fs5.readdir, - readdirSync: fs5.readdirSync + lstat: fs7.lstat, + lstatSync: fs7.lstatSync, + stat: fs7.stat, + statSync: fs7.statSync, + readdir: fs7.readdir, + readdirSync: fs7.readdirSync }; var Settings = class { constructor(_options = {}) { @@ -8089,6 +5384,7 @@ var require_settings4 = __commonJS({ if (this.stats) { this.objectMode = true; } + this.ignore = [].concat(this.ignore); } _getValue(option, value) { return option === void 0 ? value : option; @@ -8106,60 +5402,94 @@ var require_out4 = __commonJS({ "node_modules/fast-glob/out/index.js"(exports, module) { "use strict"; var taskManager = require_tasks(); - var patternManager = require_patterns(); var async_1 = require_async6(); var stream_1 = require_stream4(); var sync_1 = require_sync6(); var settings_1 = require_settings4(); - var utils = require_utils4(); - async function FastGlob(source, options8) { - assertPatternsInput(source); - const works = getWorks(source, async_1.default, options8); + var utils = require_utils3(); + async function FastGlob(source2, options8) { + assertPatternsInput(source2); + const works = getWorks(source2, async_1.default, options8); const result = await Promise.all(works); return utils.array.flatten(result); } (function(FastGlob2) { - function sync(source, options8) { - assertPatternsInput(source); - const works = getWorks(source, sync_1.default, options8); + FastGlob2.glob = FastGlob2; + FastGlob2.globSync = sync; + FastGlob2.globStream = stream; + FastGlob2.async = FastGlob2; + function sync(source2, options8) { + assertPatternsInput(source2); + const works = getWorks(source2, sync_1.default, options8); return utils.array.flatten(works); } FastGlob2.sync = sync; - function stream(source, options8) { - assertPatternsInput(source); - const works = getWorks(source, stream_1.default, options8); + function stream(source2, options8) { + assertPatternsInput(source2); + const works = getWorks(source2, stream_1.default, options8); return utils.stream.merge(works); } FastGlob2.stream = stream; - function generateTasks(source, options8) { - assertPatternsInput(source); - const patterns = patternManager.transform([].concat(source)); + function generateTasks(source2, options8) { + assertPatternsInput(source2); + const patterns = [].concat(source2); const settings = new settings_1.default(options8); return taskManager.generate(patterns, settings); } FastGlob2.generateTasks = generateTasks; - function isDynamicPattern(source, options8) { - assertPatternsInput(source); + function isDynamicPattern(source2, options8) { + assertPatternsInput(source2); const settings = new settings_1.default(options8); - return utils.pattern.isDynamicPattern(source, settings); + return utils.pattern.isDynamicPattern(source2, settings); } FastGlob2.isDynamicPattern = isDynamicPattern; - function escapePath(source) { - assertPatternsInput(source); - return utils.path.escape(source); + function escapePath(source2) { + assertPatternsInput(source2); + return utils.path.escape(source2); } FastGlob2.escapePath = escapePath; + function convertPathToPattern(source2) { + assertPatternsInput(source2); + return utils.path.convertPathToPattern(source2); + } + FastGlob2.convertPathToPattern = convertPathToPattern; + let posix; + (function(posix2) { + function escapePath2(source2) { + assertPatternsInput(source2); + return utils.path.escapePosixPath(source2); + } + posix2.escapePath = escapePath2; + function convertPathToPattern2(source2) { + assertPatternsInput(source2); + return utils.path.convertPosixPathToPattern(source2); + } + posix2.convertPathToPattern = convertPathToPattern2; + })(posix = FastGlob2.posix || (FastGlob2.posix = {})); + let win32; + (function(win322) { + function escapePath2(source2) { + assertPatternsInput(source2); + return utils.path.escapeWindowsPath(source2); + } + win322.escapePath = escapePath2; + function convertPathToPattern2(source2) { + assertPatternsInput(source2); + return utils.path.convertWindowsPathToPattern(source2); + } + win322.convertPathToPattern = convertPathToPattern2; + })(win32 = FastGlob2.win32 || (FastGlob2.win32 = {})); })(FastGlob || (FastGlob = {})); - function getWorks(source, _Provider, options8) { - const patterns = patternManager.transform([].concat(source)); + function getWorks(source2, _Provider, options8) { + const patterns = [].concat(source2); const settings = new settings_1.default(options8); const tasks = taskManager.generate(patterns, settings); const provider = new _Provider(settings); return tasks.map(provider.read, provider); } function assertPatternsInput(input) { - const source = [].concat(input); - const isValidSource = source.every((item) => utils.string.isString(item) && !utils.string.isEmpty(item)); + const source2 = [].concat(input); + const isValidSource = source2.every((item) => utils.string.isString(item) && !utils.string.isEmpty(item)); if (!isValidSource) { throw new TypeError("Patterns must be a string (non empty) or an array of strings"); } @@ -8168,2148 +5498,1336 @@ var require_out4 = __commonJS({ } }); -// node_modules/diff/lib/diff/base.js -var require_base = __commonJS({ - "node_modules/diff/lib/diff/base.js"(exports) { - "use strict"; - Object.defineProperty(exports, "__esModule", { - value: true +// node_modules/chalk/source/vendor/ansi-styles/index.js +function assembleStyles() { + const codes2 = /* @__PURE__ */ new Map(); + for (const [groupName, group] of Object.entries(styles)) { + for (const [styleName, style] of Object.entries(group)) { + styles[styleName] = { + open: `\x1B[${style[0]}m`, + close: `\x1B[${style[1]}m` + }; + group[styleName] = styles[styleName]; + codes2.set(style[0], style[1]); + } + Object.defineProperty(styles, groupName, { + value: group, + enumerable: false }); - exports["default"] = Diff; - function Diff() { - } - Diff.prototype = { - /*istanbul ignore start*/ - /*istanbul ignore end*/ - diff: function diff(oldString, newString) { - var options8 = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {}; - var callback = options8.callback; - if (typeof options8 === "function") { - callback = options8; - options8 = {}; - } - this.options = options8; - var self = this; - function done(value) { - if (callback) { - setTimeout(function() { - callback(void 0, value); - }, 0); - return true; - } else { - return value; - } - } - oldString = this.castInput(oldString); - newString = this.castInput(newString); - oldString = this.removeEmpty(this.tokenize(oldString)); - newString = this.removeEmpty(this.tokenize(newString)); - var newLen = newString.length, oldLen = oldString.length; - var editLength = 1; - var maxEditLength = newLen + oldLen; - if (options8.maxEditLength) { - maxEditLength = Math.min(maxEditLength, options8.maxEditLength); - } - var bestPath = [{ - newPos: -1, - components: [] - }]; - var oldPos = this.extractCommon(bestPath[0], newString, oldString, 0); - if (bestPath[0].newPos + 1 >= newLen && oldPos + 1 >= oldLen) { - return done([{ - value: this.join(newString), - count: newString.length - }]); - } - function execEditLength() { - for (var diagonalPath = -1 * editLength; diagonalPath <= editLength; diagonalPath += 2) { - var basePath = ( - /*istanbul ignore start*/ - void 0 - ); - var addPath = bestPath[diagonalPath - 1], removePath = bestPath[diagonalPath + 1], _oldPos = (removePath ? removePath.newPos : 0) - diagonalPath; - if (addPath) { - bestPath[diagonalPath - 1] = void 0; - } - var canAdd = addPath && addPath.newPos + 1 < newLen, canRemove = removePath && 0 <= _oldPos && _oldPos < oldLen; - if (!canAdd && !canRemove) { - bestPath[diagonalPath] = void 0; - continue; - } - if (!canAdd || canRemove && addPath.newPos < removePath.newPos) { - basePath = clonePath(removePath); - self.pushComponent(basePath.components, void 0, true); - } else { - basePath = addPath; - basePath.newPos++; - self.pushComponent(basePath.components, true, void 0); - } - _oldPos = self.extractCommon(basePath, newString, oldString, diagonalPath); - if (basePath.newPos + 1 >= newLen && _oldPos + 1 >= oldLen) { - return done(buildValues(self, basePath.components, newString, oldString, self.useLongestToken)); - } else { - bestPath[diagonalPath] = basePath; - } - } - editLength++; - } - if (callback) { - (function exec() { - setTimeout(function() { - if (editLength > maxEditLength) { - return callback(); - } - if (!execEditLength()) { - exec(); - } - }, 0); - })(); - } else { - while (editLength <= maxEditLength) { - var ret = execEditLength(); - if (ret) { - return ret; - } - } - } - }, - /*istanbul ignore start*/ - /*istanbul ignore end*/ - pushComponent: function pushComponent(components, added, removed) { - var last = components[components.length - 1]; - if (last && last.added === added && last.removed === removed) { - components[components.length - 1] = { - count: last.count + 1, - added, - removed - }; - } else { - components.push({ - count: 1, - added, - removed - }); - } + } + Object.defineProperty(styles, "codes", { + value: codes2, + enumerable: false + }); + styles.color.close = "\x1B[39m"; + styles.bgColor.close = "\x1B[49m"; + styles.color.ansi = wrapAnsi16(); + styles.color.ansi256 = wrapAnsi256(); + styles.color.ansi16m = wrapAnsi16m(); + styles.bgColor.ansi = wrapAnsi16(ANSI_BACKGROUND_OFFSET); + styles.bgColor.ansi256 = wrapAnsi256(ANSI_BACKGROUND_OFFSET); + styles.bgColor.ansi16m = wrapAnsi16m(ANSI_BACKGROUND_OFFSET); + Object.defineProperties(styles, { + rgbToAnsi256: { + value(red, green, blue) { + if (red === green && green === blue) { + if (red < 8) { + return 16; + } + if (red > 248) { + return 231; + } + return Math.round((red - 8) / 247 * 24) + 232; + } + return 16 + 36 * Math.round(red / 255 * 5) + 6 * Math.round(green / 255 * 5) + Math.round(blue / 255 * 5); }, - /*istanbul ignore start*/ - /*istanbul ignore end*/ - extractCommon: function extractCommon(basePath, newString, oldString, diagonalPath) { - var newLen = newString.length, oldLen = oldString.length, newPos = basePath.newPos, oldPos = newPos - diagonalPath, commonCount = 0; - while (newPos + 1 < newLen && oldPos + 1 < oldLen && this.equals(newString[newPos + 1], oldString[oldPos + 1])) { - newPos++; - oldPos++; - commonCount++; - } - if (commonCount) { - basePath.components.push({ - count: commonCount - }); - } - basePath.newPos = newPos; - return oldPos; + enumerable: false + }, + hexToRgb: { + value(hex) { + const matches = /[a-f\d]{6}|[a-f\d]{3}/i.exec(hex.toString(16)); + if (!matches) { + return [0, 0, 0]; + } + let [colorString] = matches; + if (colorString.length === 3) { + colorString = [...colorString].map((character) => character + character).join(""); + } + const integer = Number.parseInt(colorString, 16); + return [ + /* eslint-disable no-bitwise */ + integer >> 16 & 255, + integer >> 8 & 255, + integer & 255 + /* eslint-enable no-bitwise */ + ]; }, - /*istanbul ignore start*/ - /*istanbul ignore end*/ - equals: function equals(left, right) { - if (this.options.comparator) { - return this.options.comparator(left, right); + enumerable: false + }, + hexToAnsi256: { + value: (hex) => styles.rgbToAnsi256(...styles.hexToRgb(hex)), + enumerable: false + }, + ansi256ToAnsi: { + value(code) { + if (code < 8) { + return 30 + code; + } + if (code < 16) { + return 90 + (code - 8); + } + let red; + let green; + let blue; + if (code >= 232) { + red = ((code - 232) * 10 + 8) / 255; + green = red; + blue = red; } else { - return left === right || this.options.ignoreCase && left.toLowerCase() === right.toLowerCase(); + code -= 16; + const remainder = code % 36; + red = Math.floor(code / 36) / 5; + green = Math.floor(remainder / 6) / 5; + blue = remainder % 6 / 5; } - }, - /*istanbul ignore start*/ - /*istanbul ignore end*/ - removeEmpty: function removeEmpty(array) { - var ret = []; - for (var i = 0; i < array.length; i++) { - if (array[i]) { - ret.push(array[i]); - } + const value = Math.max(red, green, blue) * 2; + if (value === 0) { + return 30; } - return ret; + let result = 30 + (Math.round(blue) << 2 | Math.round(green) << 1 | Math.round(red)); + if (value === 2) { + result += 60; + } + return result; }, - /*istanbul ignore start*/ - /*istanbul ignore end*/ - castInput: function castInput(value) { - return value; + enumerable: false + }, + rgbToAnsi: { + value: (red, green, blue) => styles.ansi256ToAnsi(styles.rgbToAnsi256(red, green, blue)), + enumerable: false + }, + hexToAnsi: { + value: (hex) => styles.ansi256ToAnsi(styles.hexToAnsi256(hex)), + enumerable: false + } + }); + return styles; +} +var ANSI_BACKGROUND_OFFSET, wrapAnsi16, wrapAnsi256, wrapAnsi16m, styles, modifierNames, foregroundColorNames, backgroundColorNames, colorNames, ansiStyles, ansi_styles_default; +var init_ansi_styles = __esm({ + "node_modules/chalk/source/vendor/ansi-styles/index.js"() { + ANSI_BACKGROUND_OFFSET = 10; + wrapAnsi16 = (offset = 0) => (code) => `\x1B[${code + offset}m`; + wrapAnsi256 = (offset = 0) => (code) => `\x1B[${38 + offset};5;${code}m`; + wrapAnsi16m = (offset = 0) => (red, green, blue) => `\x1B[${38 + offset};2;${red};${green};${blue}m`; + styles = { + modifier: { + reset: [0, 0], + // 21 isn't widely supported and 22 does the same thing + bold: [1, 22], + dim: [2, 22], + italic: [3, 23], + underline: [4, 24], + overline: [53, 55], + inverse: [7, 27], + hidden: [8, 28], + strikethrough: [9, 29] }, - /*istanbul ignore start*/ - /*istanbul ignore end*/ - tokenize: function tokenize(value) { - return value.split(""); + color: { + black: [30, 39], + red: [31, 39], + green: [32, 39], + yellow: [33, 39], + blue: [34, 39], + magenta: [35, 39], + cyan: [36, 39], + white: [37, 39], + // Bright color + blackBright: [90, 39], + gray: [90, 39], + // Alias of `blackBright` + grey: [90, 39], + // Alias of `blackBright` + redBright: [91, 39], + greenBright: [92, 39], + yellowBright: [93, 39], + blueBright: [94, 39], + magentaBright: [95, 39], + cyanBright: [96, 39], + whiteBright: [97, 39] }, - /*istanbul ignore start*/ - /*istanbul ignore end*/ - join: function join2(chars) { - return chars.join(""); - } - }; - function buildValues(diff, components, newString, oldString, useLongestToken) { - var componentPos = 0, componentLen = components.length, newPos = 0, oldPos = 0; - for (; componentPos < componentLen; componentPos++) { - var component = components[componentPos]; - if (!component.removed) { - if (!component.added && useLongestToken) { - var value = newString.slice(newPos, newPos + component.count); - value = value.map(function(value2, i) { - var oldValue = oldString[oldPos + i]; - return oldValue.length > value2.length ? oldValue : value2; - }); - component.value = diff.join(value); - } else { - component.value = diff.join(newString.slice(newPos, newPos + component.count)); - } - newPos += component.count; - if (!component.added) { - oldPos += component.count; - } - } else { - component.value = diff.join(oldString.slice(oldPos, oldPos + component.count)); - oldPos += component.count; - if (componentPos && components[componentPos - 1].added) { - var tmp = components[componentPos - 1]; - components[componentPos - 1] = components[componentPos]; - components[componentPos] = tmp; - } - } - } - var lastComponent = components[componentLen - 1]; - if (componentLen > 1 && typeof lastComponent.value === "string" && (lastComponent.added || lastComponent.removed) && diff.equals("", lastComponent.value)) { - components[componentLen - 2].value += lastComponent.value; - components.pop(); - } - return components; - } - function clonePath(path9) { - return { - newPos: path9.newPos, - components: path9.components.slice(0) - }; - } + bgColor: { + bgBlack: [40, 49], + bgRed: [41, 49], + bgGreen: [42, 49], + bgYellow: [43, 49], + bgBlue: [44, 49], + bgMagenta: [45, 49], + bgCyan: [46, 49], + bgWhite: [47, 49], + // Bright color + bgBlackBright: [100, 49], + bgGray: [100, 49], + // Alias of `bgBlackBright` + bgGrey: [100, 49], + // Alias of `bgBlackBright` + bgRedBright: [101, 49], + bgGreenBright: [102, 49], + bgYellowBright: [103, 49], + bgBlueBright: [104, 49], + bgMagentaBright: [105, 49], + bgCyanBright: [106, 49], + bgWhiteBright: [107, 49] + } + }; + modifierNames = Object.keys(styles.modifier); + foregroundColorNames = Object.keys(styles.color); + backgroundColorNames = Object.keys(styles.bgColor); + colorNames = [...foregroundColorNames, ...backgroundColorNames]; + ansiStyles = assembleStyles(); + ansi_styles_default = ansiStyles; } }); -// node_modules/diff/lib/diff/array.js -var require_array3 = __commonJS({ - "node_modules/diff/lib/diff/array.js"(exports) { - "use strict"; - Object.defineProperty(exports, "__esModule", { - value: true - }); - exports.diffArrays = diffArrays2; - exports.arrayDiff = void 0; - var _base = _interopRequireDefault(require_base()); - function _interopRequireDefault(obj) { - return obj && obj.__esModule ? obj : { "default": obj }; - } - var arrayDiff = new /*istanbul ignore start*/ - _base[ - /*istanbul ignore start*/ - "default" - /*istanbul ignore end*/ - ](); - exports.arrayDiff = arrayDiff; - arrayDiff.tokenize = function(value) { - return value.slice(); - }; - arrayDiff.join = arrayDiff.removeEmpty = function(value) { - return value; - }; - function diffArrays2(oldArr, newArr, callback) { - return arrayDiff.diff(oldArr, newArr, callback); +// node_modules/chalk/source/vendor/supports-color/index.js +import process2 from "process"; +import os from "os"; +import tty from "tty"; +function hasFlag(flag, argv = globalThis.Deno ? globalThis.Deno.args : process2.argv) { + const prefix = flag.startsWith("-") ? "" : flag.length === 1 ? "-" : "--"; + const position = argv.indexOf(prefix + flag); + const terminatorPosition = argv.indexOf("--"); + return position !== -1 && (terminatorPosition === -1 || position < terminatorPosition); +} +function envForceColor() { + if ("FORCE_COLOR" in env) { + if (env.FORCE_COLOR === "true") { + return 1; } + if (env.FORCE_COLOR === "false") { + return 0; + } + return env.FORCE_COLOR.length === 0 ? 1 : Math.min(Number.parseInt(env.FORCE_COLOR, 10), 3); } -}); - -// node_modules/n-readlines/readlines.js -var require_readlines = __commonJS({ - "node_modules/n-readlines/readlines.js"(exports, module) { - "use strict"; - var fs5 = __require("fs"); - var LineByLine = class { - constructor(file, options8) { - options8 = options8 || {}; - if (!options8.readChunk) - options8.readChunk = 1024; - if (!options8.newLineCharacter) { - options8.newLineCharacter = 10; - } else { - options8.newLineCharacter = options8.newLineCharacter.charCodeAt(0); - } - if (typeof file === "number") { - this.fd = file; - } else { - this.fd = fs5.openSync(file, "r"); - } - this.options = options8; - this.newLineCharacter = options8.newLineCharacter; - this.reset(); +} +function translateLevel(level) { + if (level === 0) { + return false; + } + return { + level, + hasBasic: true, + has256: level >= 2, + has16m: level >= 3 + }; +} +function _supportsColor(haveStream, { streamIsTTY, sniffFlags = true } = {}) { + const noFlagForceColor = envForceColor(); + if (noFlagForceColor !== void 0) { + flagForceColor = noFlagForceColor; + } + const forceColor = sniffFlags ? flagForceColor : noFlagForceColor; + if (forceColor === 0) { + return 0; + } + if (sniffFlags) { + if (hasFlag("color=16m") || hasFlag("color=full") || hasFlag("color=truecolor")) { + return 3; + } + if (hasFlag("color=256")) { + return 2; + } + } + if ("TF_BUILD" in env && "AGENT_NAME" in env) { + return 1; + } + if (haveStream && !streamIsTTY && forceColor === void 0) { + return 0; + } + const min = forceColor || 0; + if (env.TERM === "dumb") { + return min; + } + if (process2.platform === "win32") { + const osRelease = os.release().split("."); + if (Number(osRelease[0]) >= 10 && Number(osRelease[2]) >= 10586) { + return Number(osRelease[2]) >= 14931 ? 3 : 2; + } + return 1; + } + if ("CI" in env) { + if ("GITHUB_ACTIONS" in env || "GITEA_ACTIONS" in env) { + return 3; + } + if (["TRAVIS", "CIRCLECI", "APPVEYOR", "GITLAB_CI", "BUILDKITE", "DRONE"].some((sign2) => sign2 in env) || env.CI_NAME === "codeship") { + return 1; + } + return min; + } + if ("TEAMCITY_VERSION" in env) { + return /^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(env.TEAMCITY_VERSION) ? 1 : 0; + } + if (env.COLORTERM === "truecolor") { + return 3; + } + if (env.TERM === "xterm-kitty") { + return 3; + } + if ("TERM_PROGRAM" in env) { + const version = Number.parseInt((env.TERM_PROGRAM_VERSION || "").split(".")[0], 10); + switch (env.TERM_PROGRAM) { + case "iTerm.app": { + return version >= 3 ? 3 : 2; } - _searchInBuffer(buffer, hexNeedle) { - let found = -1; - for (let i = 0; i <= buffer.length; i++) { - let b_byte = buffer[i]; - if (b_byte === hexNeedle) { - found = i; - break; - } - } - return found; + case "Apple_Terminal": { + return 2; } - reset() { - this.eofReached = false; - this.linesCache = []; - this.fdPosition = 0; + } + } + if (/-256(color)?$/i.test(env.TERM)) { + return 2; + } + if (/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(env.TERM)) { + return 1; + } + if ("COLORTERM" in env) { + return 1; + } + return min; +} +function createSupportsColor(stream, options8 = {}) { + const level = _supportsColor(stream, { + streamIsTTY: stream && stream.isTTY, + ...options8 + }); + return translateLevel(level); +} +var env, flagForceColor, supportsColor, supports_color_default; +var init_supports_color = __esm({ + "node_modules/chalk/source/vendor/supports-color/index.js"() { + ({ env } = process2); + if (hasFlag("no-color") || hasFlag("no-colors") || hasFlag("color=false") || hasFlag("color=never")) { + flagForceColor = 0; + } else if (hasFlag("color") || hasFlag("colors") || hasFlag("color=true") || hasFlag("color=always")) { + flagForceColor = 1; + } + supportsColor = { + stdout: createSupportsColor({ isTTY: tty.isatty(1) }), + stderr: createSupportsColor({ isTTY: tty.isatty(2) }) + }; + supports_color_default = supportsColor; + } +}); + +// node_modules/chalk/source/utilities.js +function stringReplaceAll(string, substring, replacer) { + let index = string.indexOf(substring); + if (index === -1) { + return string; + } + const substringLength = substring.length; + let endIndex = 0; + let returnValue = ""; + do { + returnValue += string.slice(endIndex, index) + substring + replacer; + endIndex = index + substringLength; + index = string.indexOf(substring, endIndex); + } while (index !== -1); + returnValue += string.slice(endIndex); + return returnValue; +} +function stringEncaseCRLFWithFirstIndex(string, prefix, postfix, index) { + let endIndex = 0; + let returnValue = ""; + do { + const gotCR = string[index - 1] === "\r"; + returnValue += string.slice(endIndex, gotCR ? index - 1 : index) + prefix + (gotCR ? "\r\n" : "\n") + postfix; + endIndex = index + 1; + index = string.indexOf("\n", endIndex); + } while (index !== -1); + returnValue += string.slice(endIndex); + return returnValue; +} +var init_utilities = __esm({ + "node_modules/chalk/source/utilities.js"() { + } +}); + +// node_modules/chalk/source/index.js +var source_exports = {}; +__export(source_exports, { + Chalk: () => Chalk, + backgroundColorNames: () => backgroundColorNames, + backgroundColors: () => backgroundColorNames, + chalkStderr: () => chalkStderr, + colorNames: () => colorNames, + colors: () => colorNames, + default: () => source_default, + foregroundColorNames: () => foregroundColorNames, + foregroundColors: () => foregroundColorNames, + modifierNames: () => modifierNames, + modifiers: () => modifierNames, + supportsColor: () => stdoutColor, + supportsColorStderr: () => stderrColor +}); +function createChalk(options8) { + return chalkFactory(options8); +} +var stdoutColor, stderrColor, GENERATOR, STYLER, IS_EMPTY, levelMapping, styles2, applyOptions, Chalk, chalkFactory, getModelAnsi, usedModels, proto, createStyler, createBuilder, applyStyle, chalk, chalkStderr, source_default; +var init_source = __esm({ + "node_modules/chalk/source/index.js"() { + init_ansi_styles(); + init_supports_color(); + init_utilities(); + init_ansi_styles(); + ({ stdout: stdoutColor, stderr: stderrColor } = supports_color_default); + GENERATOR = Symbol("GENERATOR"); + STYLER = Symbol("STYLER"); + IS_EMPTY = Symbol("IS_EMPTY"); + levelMapping = [ + "ansi", + "ansi", + "ansi256", + "ansi16m" + ]; + styles2 = /* @__PURE__ */ Object.create(null); + applyOptions = (object, options8 = {}) => { + if (options8.level && !(Number.isInteger(options8.level) && options8.level >= 0 && options8.level <= 3)) { + throw new Error("The `level` option should be an integer from 0 to 3"); } - close() { - fs5.closeSync(this.fd); - this.fd = null; + const colorLevel = stdoutColor ? stdoutColor.level : 0; + object.level = options8.level === void 0 ? colorLevel : options8.level; + }; + Chalk = class { + constructor(options8) { + return chalkFactory(options8); } - _extractLines(buffer) { - let line2; - const lines = []; - let bufferPosition = 0; - let lastNewLineBufferPosition = 0; - while (true) { - let bufferPositionValue = buffer[bufferPosition++]; - if (bufferPositionValue === this.newLineCharacter) { - line2 = buffer.slice(lastNewLineBufferPosition, bufferPosition); - lines.push(line2); - lastNewLineBufferPosition = bufferPosition; - } else if (bufferPositionValue === void 0) { - break; - } - } - let leftovers = buffer.slice(lastNewLineBufferPosition, bufferPosition); - if (leftovers.length) { - lines.push(leftovers); + }; + chalkFactory = (options8) => { + const chalk2 = (...strings) => strings.join(" "); + applyOptions(chalk2, options8); + Object.setPrototypeOf(chalk2, createChalk.prototype); + return chalk2; + }; + Object.setPrototypeOf(createChalk.prototype, Function.prototype); + for (const [styleName, style] of Object.entries(ansi_styles_default)) { + styles2[styleName] = { + get() { + const builder = createBuilder(this, createStyler(style.open, style.close, this[STYLER]), this[IS_EMPTY]); + Object.defineProperty(this, styleName, { value: builder }); + return builder; } - return lines; + }; + } + styles2.visible = { + get() { + const builder = createBuilder(this, this[STYLER], true); + Object.defineProperty(this, "visible", { value: builder }); + return builder; } - _readChunk(lineLeftovers) { - let totalBytesRead = 0; - let bytesRead; - const buffers = []; - do { - const readBuffer = Buffer.alloc(this.options.readChunk); - bytesRead = fs5.readSync(this.fd, readBuffer, 0, this.options.readChunk, this.fdPosition); - totalBytesRead = totalBytesRead + bytesRead; - this.fdPosition = this.fdPosition + bytesRead; - buffers.push(readBuffer); - } while (bytesRead && this._searchInBuffer(buffers[buffers.length - 1], this.options.newLineCharacter) === -1); - let bufferData = Buffer.concat(buffers); - if (bytesRead < this.options.readChunk) { - this.eofReached = true; - bufferData = bufferData.slice(0, totalBytesRead); + }; + getModelAnsi = (model, level, type2, ...arguments_) => { + if (model === "rgb") { + if (level === "ansi16m") { + return ansi_styles_default[type2].ansi16m(...arguments_); } - if (totalBytesRead) { - this.linesCache = this._extractLines(bufferData); - if (lineLeftovers) { - this.linesCache[0] = Buffer.concat([lineLeftovers, this.linesCache[0]]); - } + if (level === "ansi256") { + return ansi_styles_default[type2].ansi256(ansi_styles_default.rgbToAnsi256(...arguments_)); } - return totalBytesRead; + return ansi_styles_default[type2].ansi(ansi_styles_default.rgbToAnsi(...arguments_)); } - next() { - if (!this.fd) - return false; - let line2 = false; - if (this.eofReached && this.linesCache.length === 0) { - return line2; - } - let bytesRead; - if (!this.linesCache.length) { - bytesRead = this._readChunk(); + if (model === "hex") { + return getModelAnsi("rgb", level, type2, ...ansi_styles_default.hexToRgb(...arguments_)); + } + return ansi_styles_default[type2][model](...arguments_); + }; + usedModels = ["rgb", "hex", "ansi256"]; + for (const model of usedModels) { + styles2[model] = { + get() { + const { level } = this; + return function(...arguments_) { + const styler = createStyler(getModelAnsi(model, levelMapping[level], "color", ...arguments_), ansi_styles_default.color.close, this[STYLER]); + return createBuilder(this, styler, this[IS_EMPTY]); + }; } - if (this.linesCache.length) { - line2 = this.linesCache.shift(); - const lastLineCharacter = line2[line2.length - 1]; - if (lastLineCharacter !== this.newLineCharacter) { - bytesRead = this._readChunk(line2); - if (bytesRead) { - line2 = this.linesCache.shift(); - } - } + }; + const bgModel = "bg" + model[0].toUpperCase() + model.slice(1); + styles2[bgModel] = { + get() { + const { level } = this; + return function(...arguments_) { + const styler = createStyler(getModelAnsi(model, levelMapping[level], "bgColor", ...arguments_), ansi_styles_default.bgColor.close, this[STYLER]); + return createBuilder(this, styler, this[IS_EMPTY]); + }; } - if (this.eofReached && this.linesCache.length === 0) { - this.close(); + }; + } + proto = Object.defineProperties(() => { + }, { + ...styles2, + level: { + enumerable: true, + get() { + return this[GENERATOR].level; + }, + set(level) { + this[GENERATOR].level = level; } - if (line2 && line2[line2.length - 1] === this.newLineCharacter) { - line2 = line2.slice(0, line2.length - 1); + } + }); + createStyler = (open, close, parent) => { + let openAll; + let closeAll; + if (parent === void 0) { + openAll = open; + closeAll = close; + } else { + openAll = parent.openAll + open; + closeAll = close + parent.closeAll; + } + return { + open, + close, + openAll, + closeAll, + parent + }; + }; + createBuilder = (self, _styler, _isEmpty) => { + const builder = (...arguments_) => applyStyle(builder, arguments_.length === 1 ? "" + arguments_[0] : arguments_.join(" ")); + Object.setPrototypeOf(builder, proto); + builder[GENERATOR] = self; + builder[STYLER] = _styler; + builder[IS_EMPTY] = _isEmpty; + return builder; + }; + applyStyle = (self, string) => { + if (self.level <= 0 || !string) { + return self[IS_EMPTY] ? "" : string; + } + let styler = self[STYLER]; + if (styler === void 0) { + return string; + } + const { openAll, closeAll } = styler; + if (string.includes("\x1B")) { + while (styler !== void 0) { + string = stringReplaceAll(string, styler.close, styler.open); + styler = styler.parent; } - return line2; } + const lfIndex = string.indexOf("\n"); + if (lfIndex !== -1) { + string = stringEncaseCRLFWithFirstIndex(string, closeAll, openAll, lfIndex); + } + return openAll + string + closeAll; }; - module.exports = LineByLine; + Object.defineProperties(createChalk.prototype, styles2); + chalk = createChalk(); + chalkStderr = createChalk({ level: stderrColor ? stderrColor.level : 0 }); + source_default = chalk; } }); -// node_modules/js-tokens/index.js -var require_js_tokens = __commonJS({ - "node_modules/js-tokens/index.js"(exports) { - Object.defineProperty(exports, "__esModule", { - value: true - }); - exports.default = /((['"])(?:(?!\2|\\).|\\(?:\r\n|[\s\S]))*(\2)?|`(?:[^`\\$]|\\[\s\S]|\$(?!\{)|\$\{(?:[^{}]|\{[^}]*\}?)*\}?)*(`)?)|(\/\/.*)|(\/\*(?:[^*]|\*(?!\/))*(\*\/)?)|(\/(?!\*)(?:\[(?:(?![\]\\]).|\\.)*\]|(?![\/\]\\]).|\\.)+\/(?:(?!\s*(?:\b|[\u0080-\uFFFF$\\'"~({]|[+\-!](?!=)|\.?\d))|[gmiyus]{1,6}\b(?![\u0080-\uFFFF$\\]|\s*(?:[+\-*%&|^<>!=?({]|\/(?![\/*])))))|(0[xX][\da-fA-F]+|0[oO][0-7]+|0[bB][01]+|(?:\d*\.\d+|\d+\.?)(?:[eE][+-]?\d+)?)|((?!\d)(?:(?!\s)[$\w\u0080-\uFFFF]|\\u[\da-fA-F]{4}|\\u\{[\da-fA-F]+\})+)|(--|\+\+|&&|\|\||=>|\.{3}|(?:[+\-\/%&|^]|\*{1,2}|<{1,2}|>{1,3}|!=?|={1,2})=?|[?~.,:;[\](){}])|(\s+)|(^$|[\s\S])/g; - exports.matchToToken = function(match) { - var token = { type: "invalid", value: match[0], closed: void 0 }; - if (match[1]) - token.type = "string", token.closed = !!(match[3] || match[4]); - else if (match[5]) - token.type = "comment"; - else if (match[6]) - token.type = "comment", token.closed = !!match[7]; - else if (match[8]) - token.type = "regex"; - else if (match[9]) - token.type = "number"; - else if (match[10]) - token.type = "name"; - else if (match[11]) - token.type = "punctuator"; - else if (match[12]) - token.type = "whitespace"; - return token; +// node_modules/semver/internal/debug.js +var require_debug = __commonJS({ + "node_modules/semver/internal/debug.js"(exports, module) { + var debug = typeof process === "object" && process.env && process.env.NODE_DEBUG && /\bsemver\b/i.test(process.env.NODE_DEBUG) ? (...args) => console.error("SEMVER", ...args) : () => { }; + module.exports = debug; } }); -// node_modules/@babel/helper-validator-identifier/lib/identifier.js -var require_identifier = __commonJS({ - "node_modules/@babel/helper-validator-identifier/lib/identifier.js"(exports) { - "use strict"; - Object.defineProperty(exports, "__esModule", { - value: true - }); - exports.isIdentifierChar = isIdentifierChar; - exports.isIdentifierName = isIdentifierName; - exports.isIdentifierStart = isIdentifierStart; - var nonASCIIidentifierStartChars = "\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0560-\u0588\u05D0-\u05EA\u05EF-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u0870-\u0887\u0889-\u088E\u08A0-\u08C9\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C5D\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D04-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E86-\u0E8A\u0E8C-\u0EA3\u0EA5\u0EA7-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u1711\u171F-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1878\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4C\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\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\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2118-\u211D\u2124\u2126\u2128\u212A-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309B-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312F\u3131-\u318E\u31A0-\u31BF\u31F0-\u31FF\u3400-\u4DBF\u4E00-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7CA\uA7D0\uA7D1\uA7D3\uA7D5-\uA7D9\uA7F2-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA8FE\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB69\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC"; - var nonASCIIidentifierChars = "\u200C\u200D\xB7\u0300-\u036F\u0387\u0483-\u0487\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u0610-\u061A\u064B-\u0669\u0670\u06D6-\u06DC\u06DF-\u06E4\u06E7\u06E8\u06EA-\u06ED\u06F0-\u06F9\u0711\u0730-\u074A\u07A6-\u07B0\u07C0-\u07C9\u07EB-\u07F3\u07FD\u0816-\u0819\u081B-\u0823\u0825-\u0827\u0829-\u082D\u0859-\u085B\u0898-\u089F\u08CA-\u08E1\u08E3-\u0903\u093A-\u093C\u093E-\u094F\u0951-\u0957\u0962\u0963\u0966-\u096F\u0981-\u0983\u09BC\u09BE-\u09C4\u09C7\u09C8\u09CB-\u09CD\u09D7\u09E2\u09E3\u09E6-\u09EF\u09FE\u0A01-\u0A03\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A66-\u0A71\u0A75\u0A81-\u0A83\u0ABC\u0ABE-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AE2\u0AE3\u0AE6-\u0AEF\u0AFA-\u0AFF\u0B01-\u0B03\u0B3C\u0B3E-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B55-\u0B57\u0B62\u0B63\u0B66-\u0B6F\u0B82\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD7\u0BE6-\u0BEF\u0C00-\u0C04\u0C3C\u0C3E-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C62\u0C63\u0C66-\u0C6F\u0C81-\u0C83\u0CBC\u0CBE-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CE2\u0CE3\u0CE6-\u0CEF\u0CF3\u0D00-\u0D03\u0D3B\u0D3C\u0D3E-\u0D44\u0D46-\u0D48\u0D4A-\u0D4D\u0D57\u0D62\u0D63\u0D66-\u0D6F\u0D81-\u0D83\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E31\u0E34-\u0E3A\u0E47-\u0E4E\u0E50-\u0E59\u0EB1\u0EB4-\u0EBC\u0EC8-\u0ECE\u0ED0-\u0ED9\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E\u0F3F\u0F71-\u0F84\u0F86\u0F87\u0F8D-\u0F97\u0F99-\u0FBC\u0FC6\u102B-\u103E\u1040-\u1049\u1056-\u1059\u105E-\u1060\u1062-\u1064\u1067-\u106D\u1071-\u1074\u1082-\u108D\u108F-\u109D\u135D-\u135F\u1369-\u1371\u1712-\u1715\u1732-\u1734\u1752\u1753\u1772\u1773\u17B4-\u17D3\u17DD\u17E0-\u17E9\u180B-\u180D\u180F-\u1819\u18A9\u1920-\u192B\u1930-\u193B\u1946-\u194F\u19D0-\u19DA\u1A17-\u1A1B\u1A55-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AB0-\u1ABD\u1ABF-\u1ACE\u1B00-\u1B04\u1B34-\u1B44\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1B82\u1BA1-\u1BAD\u1BB0-\u1BB9\u1BE6-\u1BF3\u1C24-\u1C37\u1C40-\u1C49\u1C50-\u1C59\u1CD0-\u1CD2\u1CD4-\u1CE8\u1CED\u1CF4\u1CF7-\u1CF9\u1DC0-\u1DFF\u203F\u2040\u2054\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2CEF-\u2CF1\u2D7F\u2DE0-\u2DFF\u302A-\u302F\u3099\u309A\uA620-\uA629\uA66F\uA674-\uA67D\uA69E\uA69F\uA6F0\uA6F1\uA802\uA806\uA80B\uA823-\uA827\uA82C\uA880\uA881\uA8B4-\uA8C5\uA8D0-\uA8D9\uA8E0-\uA8F1\uA8FF-\uA909\uA926-\uA92D\uA947-\uA953\uA980-\uA983\uA9B3-\uA9C0\uA9D0-\uA9D9\uA9E5\uA9F0-\uA9F9\uAA29-\uAA36\uAA43\uAA4C\uAA4D\uAA50-\uAA59\uAA7B-\uAA7D\uAAB0\uAAB2-\uAAB4\uAAB7\uAAB8\uAABE\uAABF\uAAC1\uAAEB-\uAAEF\uAAF5\uAAF6\uABE3-\uABEA\uABEC\uABED\uABF0-\uABF9\uFB1E\uFE00-\uFE0F\uFE20-\uFE2F\uFE33\uFE34\uFE4D-\uFE4F\uFF10-\uFF19\uFF3F"; - var nonASCIIidentifierStart = new RegExp("[" + nonASCIIidentifierStartChars + "]"); - var nonASCIIidentifier = new RegExp("[" + nonASCIIidentifierStartChars + nonASCIIidentifierChars + "]"); - nonASCIIidentifierStartChars = nonASCIIidentifierChars = null; - var astralIdentifierStartCodes = [0, 11, 2, 25, 2, 18, 2, 1, 2, 14, 3, 13, 35, 122, 70, 52, 268, 28, 4, 48, 48, 31, 14, 29, 6, 37, 11, 29, 3, 35, 5, 7, 2, 4, 43, 157, 19, 35, 5, 35, 5, 39, 9, 51, 13, 10, 2, 14, 2, 6, 2, 1, 2, 10, 2, 14, 2, 6, 2, 1, 68, 310, 10, 21, 11, 7, 25, 5, 2, 41, 2, 8, 70, 5, 3, 0, 2, 43, 2, 1, 4, 0, 3, 22, 11, 22, 10, 30, 66, 18, 2, 1, 11, 21, 11, 25, 71, 55, 7, 1, 65, 0, 16, 3, 2, 2, 2, 28, 43, 28, 4, 28, 36, 7, 2, 27, 28, 53, 11, 21, 11, 18, 14, 17, 111, 72, 56, 50, 14, 50, 14, 35, 349, 41, 7, 1, 79, 28, 11, 0, 9, 21, 43, 17, 47, 20, 28, 22, 13, 52, 58, 1, 3, 0, 14, 44, 33, 24, 27, 35, 30, 0, 3, 0, 9, 34, 4, 0, 13, 47, 15, 3, 22, 0, 2, 0, 36, 17, 2, 24, 20, 1, 64, 6, 2, 0, 2, 3, 2, 14, 2, 9, 8, 46, 39, 7, 3, 1, 3, 21, 2, 6, 2, 1, 2, 4, 4, 0, 19, 0, 13, 4, 159, 52, 19, 3, 21, 2, 31, 47, 21, 1, 2, 0, 185, 46, 42, 3, 37, 47, 21, 0, 60, 42, 14, 0, 72, 26, 38, 6, 186, 43, 117, 63, 32, 7, 3, 0, 3, 7, 2, 1, 2, 23, 16, 0, 2, 0, 95, 7, 3, 38, 17, 0, 2, 0, 29, 0, 11, 39, 8, 0, 22, 0, 12, 45, 20, 0, 19, 72, 264, 8, 2, 36, 18, 0, 50, 29, 113, 6, 2, 1, 2, 37, 22, 0, 26, 5, 2, 1, 2, 31, 15, 0, 328, 18, 16, 0, 2, 12, 2, 33, 125, 0, 80, 921, 103, 110, 18, 195, 2637, 96, 16, 1071, 18, 5, 4026, 582, 8634, 568, 8, 30, 18, 78, 18, 29, 19, 47, 17, 3, 32, 20, 6, 18, 689, 63, 129, 74, 6, 0, 67, 12, 65, 1, 2, 0, 29, 6135, 9, 1237, 43, 8, 8936, 3, 2, 6, 2, 1, 2, 290, 16, 0, 30, 2, 3, 0, 15, 3, 9, 395, 2309, 106, 6, 12, 4, 8, 8, 9, 5991, 84, 2, 70, 2, 1, 3, 0, 3, 1, 3, 3, 2, 11, 2, 0, 2, 6, 2, 64, 2, 3, 3, 7, 2, 6, 2, 27, 2, 3, 2, 4, 2, 0, 4, 6, 2, 339, 3, 24, 2, 24, 2, 30, 2, 24, 2, 30, 2, 24, 2, 30, 2, 24, 2, 30, 2, 24, 2, 7, 1845, 30, 7, 5, 262, 61, 147, 44, 11, 6, 17, 0, 322, 29, 19, 43, 485, 27, 757, 6, 2, 3, 2, 1, 2, 14, 2, 196, 60, 67, 8, 0, 1205, 3, 2, 26, 2, 1, 2, 0, 3, 0, 2, 9, 2, 3, 2, 0, 2, 0, 7, 0, 5, 0, 2, 0, 2, 0, 2, 2, 2, 1, 2, 0, 3, 0, 2, 0, 2, 0, 2, 0, 2, 0, 2, 1, 2, 0, 3, 3, 2, 6, 2, 3, 2, 3, 2, 0, 2, 9, 2, 16, 6, 2, 2, 4, 2, 16, 4421, 42719, 33, 4153, 7, 221, 3, 5761, 15, 7472, 3104, 541, 1507, 4938, 6, 4191]; - var astralIdentifierCodes = [509, 0, 227, 0, 150, 4, 294, 9, 1368, 2, 2, 1, 6, 3, 41, 2, 5, 0, 166, 1, 574, 3, 9, 9, 370, 1, 81, 2, 71, 10, 50, 3, 123, 2, 54, 14, 32, 10, 3, 1, 11, 3, 46, 10, 8, 0, 46, 9, 7, 2, 37, 13, 2, 9, 6, 1, 45, 0, 13, 2, 49, 13, 9, 3, 2, 11, 83, 11, 7, 0, 3, 0, 158, 11, 6, 9, 7, 3, 56, 1, 2, 6, 3, 1, 3, 2, 10, 0, 11, 1, 3, 6, 4, 4, 193, 17, 10, 9, 5, 0, 82, 19, 13, 9, 214, 6, 3, 8, 28, 1, 83, 16, 16, 9, 82, 12, 9, 9, 84, 14, 5, 9, 243, 14, 166, 9, 71, 5, 2, 1, 3, 3, 2, 0, 2, 1, 13, 9, 120, 6, 3, 6, 4, 0, 29, 9, 41, 6, 2, 3, 9, 0, 10, 10, 47, 15, 406, 7, 2, 7, 17, 9, 57, 21, 2, 13, 123, 5, 4, 0, 2, 1, 2, 6, 2, 0, 9, 9, 49, 4, 2, 1, 2, 4, 9, 9, 330, 3, 10, 1, 2, 0, 49, 6, 4, 4, 14, 9, 5351, 0, 7, 14, 13835, 9, 87, 9, 39, 4, 60, 6, 26, 9, 1014, 0, 2, 54, 8, 3, 82, 0, 12, 1, 19628, 1, 4706, 45, 3, 22, 543, 4, 4, 5, 9, 7, 3, 6, 31, 3, 149, 2, 1418, 49, 513, 54, 5, 49, 9, 0, 15, 0, 23, 4, 2, 14, 1361, 6, 2, 16, 3, 6, 2, 1, 2, 4, 101, 0, 161, 6, 10, 9, 357, 0, 62, 13, 499, 13, 983, 6, 110, 6, 6, 9, 4759, 9, 787719, 239]; - function isInAstralSet(code, set) { - let pos = 65536; - for (let i = 0, length = set.length; i < length; i += 2) { - pos += set[i]; - if (pos > code) - return false; - pos += set[i + 1]; - if (pos >= code) - return true; - } - return false; - } - function isIdentifierStart(code) { - if (code < 65) - return code === 36; - if (code <= 90) - return true; - if (code < 97) - return code === 95; - if (code <= 122) - return true; - if (code <= 65535) { - return code >= 170 && nonASCIIidentifierStart.test(String.fromCharCode(code)); - } - return isInAstralSet(code, astralIdentifierStartCodes); - } - function isIdentifierChar(code) { - if (code < 48) - return code === 36; - if (code < 58) - return true; - if (code < 65) - return false; - if (code <= 90) - return true; - if (code < 97) - return code === 95; - if (code <= 122) - return true; - if (code <= 65535) { - return code >= 170 && nonASCIIidentifier.test(String.fromCharCode(code)); - } - return isInAstralSet(code, astralIdentifierStartCodes) || isInAstralSet(code, astralIdentifierCodes); - } - function isIdentifierName(name) { - let isFirst = true; - for (let i = 0; i < name.length; i++) { - let cp = name.charCodeAt(i); - if ((cp & 64512) === 55296 && i + 1 < name.length) { - const trail = name.charCodeAt(++i); - if ((trail & 64512) === 56320) { - cp = 65536 + ((cp & 1023) << 10) + (trail & 1023); - } - } - if (isFirst) { - isFirst = false; - if (!isIdentifierStart(cp)) { - return false; - } - } else if (!isIdentifierChar(cp)) { - return false; - } - } - return !isFirst; - } +// node_modules/semver/internal/constants.js +var require_constants4 = __commonJS({ + "node_modules/semver/internal/constants.js"(exports, module) { + var SEMVER_SPEC_VERSION = "2.0.0"; + var MAX_LENGTH = 256; + var MAX_SAFE_INTEGER = Number.MAX_SAFE_INTEGER || /* istanbul ignore next */ + 9007199254740991; + var MAX_SAFE_COMPONENT_LENGTH = 16; + var MAX_SAFE_BUILD_LENGTH = MAX_LENGTH - 6; + var RELEASE_TYPES = [ + "major", + "premajor", + "minor", + "preminor", + "patch", + "prepatch", + "prerelease" + ]; + module.exports = { + MAX_LENGTH, + MAX_SAFE_COMPONENT_LENGTH, + MAX_SAFE_BUILD_LENGTH, + MAX_SAFE_INTEGER, + RELEASE_TYPES, + SEMVER_SPEC_VERSION, + FLAG_INCLUDE_PRERELEASE: 1, + FLAG_LOOSE: 2 + }; } }); -// node_modules/@babel/helper-validator-identifier/lib/keyword.js -var require_keyword = __commonJS({ - "node_modules/@babel/helper-validator-identifier/lib/keyword.js"(exports) { - "use strict"; - Object.defineProperty(exports, "__esModule", { - value: true - }); - exports.isKeyword = isKeyword; - exports.isReservedWord = isReservedWord; - exports.isStrictBindOnlyReservedWord = isStrictBindOnlyReservedWord; - exports.isStrictBindReservedWord = isStrictBindReservedWord; - exports.isStrictReservedWord = isStrictReservedWord; - var reservedWords = { - keyword: ["break", "case", "catch", "continue", "debugger", "default", "do", "else", "finally", "for", "function", "if", "return", "switch", "throw", "try", "var", "const", "while", "with", "new", "this", "super", "class", "extends", "export", "import", "null", "true", "false", "in", "instanceof", "typeof", "void", "delete"], - strict: ["implements", "interface", "let", "package", "private", "protected", "public", "static", "yield"], - strictBind: ["eval", "arguments"] +// node_modules/semver/internal/re.js +var require_re = __commonJS({ + "node_modules/semver/internal/re.js"(exports, module) { + var { + MAX_SAFE_COMPONENT_LENGTH, + MAX_SAFE_BUILD_LENGTH, + MAX_LENGTH + } = require_constants4(); + var debug = require_debug(); + exports = module.exports = {}; + var re = exports.re = []; + var safeRe = exports.safeRe = []; + var src = exports.src = []; + var t = exports.t = {}; + var R = 0; + var LETTERDASHNUMBER = "[a-zA-Z0-9-]"; + var safeRegexReplacements = [ + ["\\s", 1], + ["\\d", MAX_LENGTH], + [LETTERDASHNUMBER, MAX_SAFE_BUILD_LENGTH] + ]; + var makeSafeRegex = (value) => { + for (const [token2, max] of safeRegexReplacements) { + value = value.split(`${token2}*`).join(`${token2}{0,${max}}`).split(`${token2}+`).join(`${token2}{1,${max}}`); + } + return value; }; - var keywords = new Set(reservedWords.keyword); - var reservedWordsStrictSet = new Set(reservedWords.strict); - var reservedWordsStrictBindSet = new Set(reservedWords.strictBind); - function isReservedWord(word, inModule) { - return inModule && word === "await" || word === "enum"; - } - function isStrictReservedWord(word, inModule) { - return isReservedWord(word, inModule) || reservedWordsStrictSet.has(word); - } - function isStrictBindOnlyReservedWord(word) { - return reservedWordsStrictBindSet.has(word); - } - function isStrictBindReservedWord(word, inModule) { - return isStrictReservedWord(word, inModule) || isStrictBindOnlyReservedWord(word); - } - function isKeyword(word) { - return keywords.has(word); - } + var createToken = (name, value, isGlobal) => { + const safe = makeSafeRegex(value); + const index = R++; + debug(name, index, value); + t[name] = index; + src[index] = value; + re[index] = new RegExp(value, isGlobal ? "g" : void 0); + safeRe[index] = new RegExp(safe, isGlobal ? "g" : void 0); + }; + createToken("NUMERICIDENTIFIER", "0|[1-9]\\d*"); + createToken("NUMERICIDENTIFIERLOOSE", "\\d+"); + createToken("NONNUMERICIDENTIFIER", `\\d*[a-zA-Z-]${LETTERDASHNUMBER}*`); + createToken("MAINVERSION", `(${src[t.NUMERICIDENTIFIER]})\\.(${src[t.NUMERICIDENTIFIER]})\\.(${src[t.NUMERICIDENTIFIER]})`); + createToken("MAINVERSIONLOOSE", `(${src[t.NUMERICIDENTIFIERLOOSE]})\\.(${src[t.NUMERICIDENTIFIERLOOSE]})\\.(${src[t.NUMERICIDENTIFIERLOOSE]})`); + createToken("PRERELEASEIDENTIFIER", `(?:${src[t.NUMERICIDENTIFIER]}|${src[t.NONNUMERICIDENTIFIER]})`); + createToken("PRERELEASEIDENTIFIERLOOSE", `(?:${src[t.NUMERICIDENTIFIERLOOSE]}|${src[t.NONNUMERICIDENTIFIER]})`); + createToken("PRERELEASE", `(?:-(${src[t.PRERELEASEIDENTIFIER]}(?:\\.${src[t.PRERELEASEIDENTIFIER]})*))`); + createToken("PRERELEASELOOSE", `(?:-?(${src[t.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${src[t.PRERELEASEIDENTIFIERLOOSE]})*))`); + createToken("BUILDIDENTIFIER", `${LETTERDASHNUMBER}+`); + createToken("BUILD", `(?:\\+(${src[t.BUILDIDENTIFIER]}(?:\\.${src[t.BUILDIDENTIFIER]})*))`); + createToken("FULLPLAIN", `v?${src[t.MAINVERSION]}${src[t.PRERELEASE]}?${src[t.BUILD]}?`); + createToken("FULL", `^${src[t.FULLPLAIN]}$`); + createToken("LOOSEPLAIN", `[v=\\s]*${src[t.MAINVERSIONLOOSE]}${src[t.PRERELEASELOOSE]}?${src[t.BUILD]}?`); + createToken("LOOSE", `^${src[t.LOOSEPLAIN]}$`); + createToken("GTLT", "((?:<|>)?=?)"); + createToken("XRANGEIDENTIFIERLOOSE", `${src[t.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`); + createToken("XRANGEIDENTIFIER", `${src[t.NUMERICIDENTIFIER]}|x|X|\\*`); + createToken("XRANGEPLAIN", `[v=\\s]*(${src[t.XRANGEIDENTIFIER]})(?:\\.(${src[t.XRANGEIDENTIFIER]})(?:\\.(${src[t.XRANGEIDENTIFIER]})(?:${src[t.PRERELEASE]})?${src[t.BUILD]}?)?)?`); + createToken("XRANGEPLAINLOOSE", `[v=\\s]*(${src[t.XRANGEIDENTIFIERLOOSE]})(?:\\.(${src[t.XRANGEIDENTIFIERLOOSE]})(?:\\.(${src[t.XRANGEIDENTIFIERLOOSE]})(?:${src[t.PRERELEASELOOSE]})?${src[t.BUILD]}?)?)?`); + createToken("XRANGE", `^${src[t.GTLT]}\\s*${src[t.XRANGEPLAIN]}$`); + createToken("XRANGELOOSE", `^${src[t.GTLT]}\\s*${src[t.XRANGEPLAINLOOSE]}$`); + createToken("COERCEPLAIN", `${"(^|[^\\d])(\\d{1,"}${MAX_SAFE_COMPONENT_LENGTH}})(?:\\.(\\d{1,${MAX_SAFE_COMPONENT_LENGTH}}))?(?:\\.(\\d{1,${MAX_SAFE_COMPONENT_LENGTH}}))?`); + createToken("COERCE", `${src[t.COERCEPLAIN]}(?:$|[^\\d])`); + createToken("COERCEFULL", src[t.COERCEPLAIN] + `(?:${src[t.PRERELEASE]})?(?:${src[t.BUILD]})?(?:$|[^\\d])`); + createToken("COERCERTL", src[t.COERCE], true); + createToken("COERCERTLFULL", src[t.COERCEFULL], true); + createToken("LONETILDE", "(?:~>?)"); + createToken("TILDETRIM", `(\\s*)${src[t.LONETILDE]}\\s+`, true); + exports.tildeTrimReplace = "$1~"; + createToken("TILDE", `^${src[t.LONETILDE]}${src[t.XRANGEPLAIN]}$`); + createToken("TILDELOOSE", `^${src[t.LONETILDE]}${src[t.XRANGEPLAINLOOSE]}$`); + createToken("LONECARET", "(?:\\^)"); + createToken("CARETTRIM", `(\\s*)${src[t.LONECARET]}\\s+`, true); + exports.caretTrimReplace = "$1^"; + createToken("CARET", `^${src[t.LONECARET]}${src[t.XRANGEPLAIN]}$`); + createToken("CARETLOOSE", `^${src[t.LONECARET]}${src[t.XRANGEPLAINLOOSE]}$`); + createToken("COMPARATORLOOSE", `^${src[t.GTLT]}\\s*(${src[t.LOOSEPLAIN]})$|^$`); + createToken("COMPARATOR", `^${src[t.GTLT]}\\s*(${src[t.FULLPLAIN]})$|^$`); + createToken("COMPARATORTRIM", `(\\s*)${src[t.GTLT]}\\s*(${src[t.LOOSEPLAIN]}|${src[t.XRANGEPLAIN]})`, true); + exports.comparatorTrimReplace = "$1$2$3"; + createToken("HYPHENRANGE", `^\\s*(${src[t.XRANGEPLAIN]})\\s+-\\s+(${src[t.XRANGEPLAIN]})\\s*$`); + createToken("HYPHENRANGELOOSE", `^\\s*(${src[t.XRANGEPLAINLOOSE]})\\s+-\\s+(${src[t.XRANGEPLAINLOOSE]})\\s*$`); + createToken("STAR", "(<|>)?=?\\s*\\*"); + createToken("GTE0", "^\\s*>=\\s*0\\.0\\.0\\s*$"); + createToken("GTE0PRE", "^\\s*>=\\s*0\\.0\\.0-0\\s*$"); } }); -// node_modules/@babel/helper-validator-identifier/lib/index.js -var require_lib2 = __commonJS({ - "node_modules/@babel/helper-validator-identifier/lib/index.js"(exports) { - "use strict"; - Object.defineProperty(exports, "__esModule", { - value: true - }); - Object.defineProperty(exports, "isIdentifierChar", { - enumerable: true, - get: function() { - return _identifier.isIdentifierChar; - } - }); - Object.defineProperty(exports, "isIdentifierName", { - enumerable: true, - get: function() { - return _identifier.isIdentifierName; - } - }); - Object.defineProperty(exports, "isIdentifierStart", { - enumerable: true, - get: function() { - return _identifier.isIdentifierStart; - } - }); - Object.defineProperty(exports, "isKeyword", { - enumerable: true, - get: function() { - return _keyword.isKeyword; - } - }); - Object.defineProperty(exports, "isReservedWord", { - enumerable: true, - get: function() { - return _keyword.isReservedWord; - } - }); - Object.defineProperty(exports, "isStrictBindOnlyReservedWord", { - enumerable: true, - get: function() { - return _keyword.isStrictBindOnlyReservedWord; - } - }); - Object.defineProperty(exports, "isStrictBindReservedWord", { - enumerable: true, - get: function() { - return _keyword.isStrictBindReservedWord; - } - }); - Object.defineProperty(exports, "isStrictReservedWord", { - enumerable: true, - get: function() { - return _keyword.isStrictReservedWord; +// node_modules/semver/internal/parse-options.js +var require_parse_options = __commonJS({ + "node_modules/semver/internal/parse-options.js"(exports, module) { + var looseOption = Object.freeze({ loose: true }); + var emptyOpts = Object.freeze({}); + var parseOptions = (options8) => { + if (!options8) { + return emptyOpts; } - }); - var _identifier = require_identifier(); - var _keyword = require_keyword(); - } -}); - -// node_modules/@babel/highlight/node_modules/escape-string-regexp/index.js -var require_escape_string_regexp2 = __commonJS({ - "node_modules/@babel/highlight/node_modules/escape-string-regexp/index.js"(exports, module) { - "use strict"; - var matchOperatorsRe = /[|\\{}()[\]^$+*?.]/g; - module.exports = function(str) { - if (typeof str !== "string") { - throw new TypeError("Expected a string"); + if (typeof options8 !== "object") { + return looseOption; } - return str.replace(matchOperatorsRe, "\\$&"); - }; - } -}); - -// node_modules/@babel/highlight/node_modules/has-flag/index.js -var require_has_flag2 = __commonJS({ - "node_modules/@babel/highlight/node_modules/has-flag/index.js"(exports, module) { - "use strict"; - module.exports = (flag, argv) => { - argv = argv || process.argv; - const prefix = flag.startsWith("-") ? "" : flag.length === 1 ? "-" : "--"; - const pos = argv.indexOf(prefix + flag); - const terminatorPos = argv.indexOf("--"); - return pos !== -1 && (terminatorPos === -1 ? true : pos < terminatorPos); + return options8; }; + module.exports = parseOptions; } }); -// node_modules/@babel/highlight/node_modules/supports-color/index.js -var require_supports_color2 = __commonJS({ - "node_modules/@babel/highlight/node_modules/supports-color/index.js"(exports, module) { - "use strict"; - var os = __require("os"); - var hasFlag = require_has_flag2(); - var env = process.env; - var forceColor; - if (hasFlag("no-color") || hasFlag("no-colors") || hasFlag("color=false")) { - forceColor = false; - } else if (hasFlag("color") || hasFlag("colors") || hasFlag("color=true") || hasFlag("color=always")) { - forceColor = true; - } - if ("FORCE_COLOR" in env) { - forceColor = env.FORCE_COLOR.length === 0 || parseInt(env.FORCE_COLOR, 10) !== 0; - } - function translateLevel(level) { - if (level === 0) { - return false; - } - return { - level, - hasBasic: true, - has256: level >= 2, - has16m: level >= 3 - }; - } - function supportsColor(stream) { - if (forceColor === false) { - return 0; - } - if (hasFlag("color=16m") || hasFlag("color=full") || hasFlag("color=truecolor")) { - return 3; - } - if (hasFlag("color=256")) { - return 2; - } - if (stream && !stream.isTTY && forceColor !== true) { - return 0; - } - const min = forceColor ? 1 : 0; - if (process.platform === "win32") { - const osRelease = os.release().split("."); - if (Number(process.versions.node.split(".")[0]) >= 8 && Number(osRelease[0]) >= 10 && Number(osRelease[2]) >= 10586) { - return Number(osRelease[2]) >= 14931 ? 3 : 2; - } - return 1; - } - if ("CI" in env) { - if (["TRAVIS", "CIRCLECI", "APPVEYOR", "GITLAB_CI"].some((sign) => sign in env) || env.CI_NAME === "codeship") { - return 1; - } - return min; - } - if ("TEAMCITY_VERSION" in env) { - return /^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(env.TEAMCITY_VERSION) ? 1 : 0; - } - if (env.COLORTERM === "truecolor") { - return 3; - } - if ("TERM_PROGRAM" in env) { - const version = parseInt((env.TERM_PROGRAM_VERSION || "").split(".")[0], 10); - switch (env.TERM_PROGRAM) { - case "iTerm.app": - return version >= 3 ? 3 : 2; - case "Apple_Terminal": - return 2; - } - } - if (/-256(color)?$/i.test(env.TERM)) { - return 2; - } - if (/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(env.TERM)) { - return 1; - } - if ("COLORTERM" in env) { - return 1; - } - if (env.TERM === "dumb") { - return min; +// node_modules/semver/internal/identifiers.js +var require_identifiers = __commonJS({ + "node_modules/semver/internal/identifiers.js"(exports, module) { + var numeric = /^[0-9]+$/; + var compareIdentifiers = (a, b) => { + const anum = numeric.test(a); + const bnum = numeric.test(b); + if (anum && bnum) { + a = +a; + b = +b; } - return min; - } - function getSupportLevel(stream) { - const level = supportsColor(stream); - return translateLevel(level); - } + return a === b ? 0 : anum && !bnum ? -1 : bnum && !anum ? 1 : a < b ? -1 : 1; + }; + var rcompareIdentifiers = (a, b) => compareIdentifiers(b, a); module.exports = { - supportsColor: getSupportLevel, - stdout: getSupportLevel(process.stdout), - stderr: getSupportLevel(process.stderr) + compareIdentifiers, + rcompareIdentifiers }; } }); -// node_modules/@babel/highlight/node_modules/chalk/templates.js -var require_templates2 = __commonJS({ - "node_modules/@babel/highlight/node_modules/chalk/templates.js"(exports, module) { - "use strict"; - var TEMPLATE_REGEX = /(?:\\(u[a-f\d]{4}|x[a-f\d]{2}|.))|(?:\{(~)?(\w+(?:\([^)]*\))?(?:\.\w+(?:\([^)]*\))?)*)(?:[ \t]|(?=\r?\n)))|(\})|((?:.|[\r\n\f])+?)/gi; - var STYLE_REGEX = /(?:^|\.)(\w+)(?:\(([^)]*)\))?/g; - var STRING_REGEX = /^(['"])((?:\\.|(?!\1)[^\\])*)\1$/; - var ESCAPE_REGEX = /\\(u[a-f\d]{4}|x[a-f\d]{2}|.)|([^\\])/gi; - var ESCAPES = /* @__PURE__ */ new Map([ - ["n", "\n"], - ["r", "\r"], - ["t", " "], - ["b", "\b"], - ["f", "\f"], - ["v", "\v"], - ["0", "\0"], - ["\\", "\\"], - ["e", "\x1B"], - ["a", "\x07"] - ]); - function unescape(c) { - if (c[0] === "u" && c.length === 5 || c[0] === "x" && c.length === 3) { - return String.fromCharCode(parseInt(c.slice(1), 16)); - } - return ESCAPES.get(c) || c; - } - function parseArguments(name, args) { - const results = []; - const chunks = args.trim().split(/\s*,\s*/g); - let matches; - for (const chunk of chunks) { - if (!isNaN(chunk)) { - results.push(Number(chunk)); - } else if (matches = chunk.match(STRING_REGEX)) { - results.push(matches[2].replace(ESCAPE_REGEX, (m, escape, chr) => escape ? unescape(escape) : chr)); - } else { - throw new Error(`Invalid Chalk template style argument: ${chunk} (in style '${name}')`); - } - } - return results; - } - function parseStyle(style) { - STYLE_REGEX.lastIndex = 0; - const results = []; - let matches; - while ((matches = STYLE_REGEX.exec(style)) !== null) { - const name = matches[1]; - if (matches[2]) { - const args = parseArguments(name, matches[2]); - results.push([name].concat(args)); - } else { - results.push([name]); - } - } - return results; - } - function buildStyle(chalk, styles) { - const enabled = {}; - for (const layer of styles) { - for (const style of layer.styles) { - enabled[style[0]] = layer.inverse ? null : style.slice(1); - } - } - let current = chalk; - for (const styleName of Object.keys(enabled)) { - if (Array.isArray(enabled[styleName])) { - if (!(styleName in current)) { - throw new Error(`Unknown Chalk style: ${styleName}`); - } - if (enabled[styleName].length > 0) { - current = current[styleName].apply(current, enabled[styleName]); +// node_modules/semver/classes/semver.js +var require_semver = __commonJS({ + "node_modules/semver/classes/semver.js"(exports, module) { + var debug = require_debug(); + var { MAX_LENGTH, MAX_SAFE_INTEGER } = require_constants4(); + var { safeRe: re, t } = require_re(); + var parseOptions = require_parse_options(); + var { compareIdentifiers } = require_identifiers(); + var SemVer = class _SemVer { + constructor(version, options8) { + options8 = parseOptions(options8); + if (version instanceof _SemVer) { + if (version.loose === !!options8.loose && version.includePrerelease === !!options8.includePrerelease) { + return version; } else { - current = current[styleName]; - } - } - } - return current; - } - module.exports = (chalk, tmp) => { - const styles = []; - const chunks = []; - let chunk = []; - tmp.replace(TEMPLATE_REGEX, (m, escapeChar, inverse, style, close, chr) => { - if (escapeChar) { - chunk.push(unescape(escapeChar)); - } else if (style) { - const str = chunk.join(""); - chunk = []; - chunks.push(styles.length === 0 ? str : buildStyle(chalk, styles)(str)); - styles.push({ inverse, styles: parseStyle(style) }); - } else if (close) { - if (styles.length === 0) { - throw new Error("Found extraneous } in Chalk template literal"); - } - chunks.push(buildStyle(chalk, styles)(chunk.join(""))); - chunk = []; - styles.pop(); - } else { - chunk.push(chr); + version = version.version; + } + } else if (typeof version !== "string") { + throw new TypeError(`Invalid version. Must be a string. Got type "${typeof version}".`); } - }); - chunks.push(chunk.join("")); - if (styles.length > 0) { - const errMsg = `Chalk template literal is missing ${styles.length} closing bracket${styles.length === 1 ? "" : "s"} (\`}\`)`; - throw new Error(errMsg); - } - return chunks.join(""); - }; - } -}); - -// node_modules/@babel/highlight/node_modules/chalk/index.js -var require_chalk2 = __commonJS({ - "node_modules/@babel/highlight/node_modules/chalk/index.js"(exports, module) { - "use strict"; - var escapeStringRegexp2 = require_escape_string_regexp2(); - var ansiStyles = require_ansi_styles(); - var stdoutColor = require_supports_color2().stdout; - var template = require_templates2(); - var isSimpleWindowsTerm = process.platform === "win32" && !(process.env.TERM || "").toLowerCase().startsWith("xterm"); - var levelMapping = ["ansi", "ansi", "ansi256", "ansi16m"]; - var skipModels = /* @__PURE__ */ new Set(["gray"]); - var styles = /* @__PURE__ */ Object.create(null); - function applyOptions(obj, options8) { - options8 = options8 || {}; - const scLevel = stdoutColor ? stdoutColor.level : 0; - obj.level = options8.level === void 0 ? scLevel : options8.level; - obj.enabled = "enabled" in options8 ? options8.enabled : obj.level > 0; - } - function Chalk(options8) { - if (!this || !(this instanceof Chalk) || this.template) { - const chalk = {}; - applyOptions(chalk, options8); - chalk.template = function() { - const args = [].slice.call(arguments); - return chalkTag.apply(null, [chalk.template].concat(args)); - }; - Object.setPrototypeOf(chalk, Chalk.prototype); - Object.setPrototypeOf(chalk.template, chalk); - chalk.template.constructor = Chalk; - return chalk.template; - } - applyOptions(this, options8); - } - if (isSimpleWindowsTerm) { - ansiStyles.blue.open = "\x1B[94m"; - } - for (const key of Object.keys(ansiStyles)) { - ansiStyles[key].closeRe = new RegExp(escapeStringRegexp2(ansiStyles[key].close), "g"); - styles[key] = { - get() { - const codes2 = ansiStyles[key]; - return build.call(this, this._styles ? this._styles.concat(codes2) : [codes2], this._empty, key); + if (version.length > MAX_LENGTH) { + throw new TypeError( + `version is longer than ${MAX_LENGTH} characters` + ); } - }; - } - styles.visible = { - get() { - return build.call(this, this._styles || [], true, "visible"); - } - }; - ansiStyles.color.closeRe = new RegExp(escapeStringRegexp2(ansiStyles.color.close), "g"); - for (const model of Object.keys(ansiStyles.color.ansi)) { - if (skipModels.has(model)) { - continue; - } - styles[model] = { - get() { - const level = this.level; - return function() { - const open = ansiStyles.color[levelMapping[level]][model].apply(null, arguments); - const codes2 = { - open, - close: ansiStyles.color.close, - closeRe: ansiStyles.color.closeRe - }; - return build.call(this, this._styles ? this._styles.concat(codes2) : [codes2], this._empty, model); - }; + debug("SemVer", version, options8); + this.options = options8; + this.loose = !!options8.loose; + this.includePrerelease = !!options8.includePrerelease; + const m = version.trim().match(options8.loose ? re[t.LOOSE] : re[t.FULL]); + if (!m) { + throw new TypeError(`Invalid Version: ${version}`); } - }; - } - ansiStyles.bgColor.closeRe = new RegExp(escapeStringRegexp2(ansiStyles.bgColor.close), "g"); - for (const model of Object.keys(ansiStyles.bgColor.ansi)) { - if (skipModels.has(model)) { - continue; - } - const bgModel = "bg" + model[0].toUpperCase() + model.slice(1); - styles[bgModel] = { - get() { - const level = this.level; - return function() { - const open = ansiStyles.bgColor[levelMapping[level]][model].apply(null, arguments); - const codes2 = { - open, - close: ansiStyles.bgColor.close, - closeRe: ansiStyles.bgColor.closeRe - }; - return build.call(this, this._styles ? this._styles.concat(codes2) : [codes2], this._empty, model); - }; + this.raw = version; + this.major = +m[1]; + this.minor = +m[2]; + this.patch = +m[3]; + if (this.major > MAX_SAFE_INTEGER || this.major < 0) { + throw new TypeError("Invalid major version"); } - }; - } - var proto = Object.defineProperties(() => { - }, styles); - function build(_styles, _empty, key) { - const builder = function() { - return applyStyle.apply(builder, arguments); - }; - builder._styles = _styles; - builder._empty = _empty; - const self = this; - Object.defineProperty(builder, "level", { - enumerable: true, - get() { - return self.level; - }, - set(level) { - self.level = level; + if (this.minor > MAX_SAFE_INTEGER || this.minor < 0) { + throw new TypeError("Invalid minor version"); } - }); - Object.defineProperty(builder, "enabled", { - enumerable: true, - get() { - return self.enabled; - }, - set(enabled) { - self.enabled = enabled; + if (this.patch > MAX_SAFE_INTEGER || this.patch < 0) { + throw new TypeError("Invalid patch version"); } - }); - builder.hasGrey = this.hasGrey || key === "gray" || key === "grey"; - builder.__proto__ = proto; - return builder; - } - function applyStyle() { - const args = arguments; - const argsLen = args.length; - let str = String(arguments[0]); - if (argsLen === 0) { - return ""; - } - if (argsLen > 1) { - for (let a = 1; a < argsLen; a++) { - str += " " + args[a]; + if (!m[4]) { + this.prerelease = []; + } else { + this.prerelease = m[4].split(".").map((id) => { + if (/^[0-9]+$/.test(id)) { + const num = +id; + if (num >= 0 && num < MAX_SAFE_INTEGER) { + return num; + } + } + return id; + }); } + this.build = m[5] ? m[5].split(".") : []; + this.format(); } - if (!this.enabled || this.level <= 0 || !str) { - return this._empty ? "" : str; - } - const originalDim = ansiStyles.dim.open; - if (isSimpleWindowsTerm && this.hasGrey) { - ansiStyles.dim.open = ""; - } - for (const code of this._styles.slice().reverse()) { - str = code.open + str.replace(code.closeRe, code.open) + code.close; - str = str.replace(/\r?\n/g, `${code.close}$&${code.open}`); - } - ansiStyles.dim.open = originalDim; - return str; - } - function chalkTag(chalk, strings) { - if (!Array.isArray(strings)) { - return [].slice.call(arguments, 1).join(" "); + format() { + this.version = `${this.major}.${this.minor}.${this.patch}`; + if (this.prerelease.length) { + this.version += `-${this.prerelease.join(".")}`; + } + return this.version; } - const args = [].slice.call(arguments, 2); - const parts = [strings.raw[0]]; - for (let i = 1; i < strings.length; i++) { - parts.push(String(args[i - 1]).replace(/[{}\\]/g, "\\$&")); - parts.push(String(strings.raw[i])); + toString() { + return this.version; } - return template(chalk, parts.join("")); - } - Object.defineProperties(Chalk.prototype, styles); - module.exports = Chalk(); - module.exports.supportsColor = stdoutColor; - module.exports.default = module.exports; - } -}); - -// node_modules/@babel/highlight/lib/index.js -var require_lib3 = __commonJS({ - "node_modules/@babel/highlight/lib/index.js"(exports) { - "use strict"; - Object.defineProperty(exports, "__esModule", { - value: true - }); - exports.default = highlight; - exports.getChalk = getChalk; - exports.shouldHighlight = shouldHighlight; - var _jsTokens = require_js_tokens(); - var _helperValidatorIdentifier = require_lib2(); - var _chalk = require_chalk2(); - var sometimesKeywords = /* @__PURE__ */ new Set(["as", "async", "from", "get", "of", "set"]); - function getDefs(chalk) { - return { - keyword: chalk.cyan, - capitalized: chalk.yellow, - jsxIdentifier: chalk.yellow, - punctuator: chalk.yellow, - number: chalk.magenta, - string: chalk.green, - regex: chalk.magenta, - comment: chalk.grey, - invalid: chalk.white.bgRed.bold - }; - } - var NEWLINE = /\r\n|[\n\r\u2028\u2029]/; - var BRACKET = /^[()[\]{}]$/; - var tokenize; - { - const JSX_TAG = /^[a-z][\w-]*$/i; - const getTokenType = function(token, offset, text) { - if (token.type === "name") { - if ((0, _helperValidatorIdentifier.isKeyword)(token.value) || (0, _helperValidatorIdentifier.isStrictReservedWord)(token.value, true) || sometimesKeywords.has(token.value)) { - return "keyword"; - } - if (JSX_TAG.test(token.value) && (text[offset - 1] === "<" || text.slice(offset - 2, offset) == " colorize(str)).join("\n"); - } else { - highlighted += value; + if (this.prerelease.length && !other.prerelease.length) { + return -1; + } else if (!this.prerelease.length && other.prerelease.length) { + return 1; + } else if (!this.prerelease.length && !other.prerelease.length) { + return 0; } - } - return highlighted; - } - function shouldHighlight(options8) { - return !!_chalk.supportsColor || options8.forceColor; - } - function getChalk(options8) { - return options8.forceColor ? new _chalk.constructor({ - enabled: true, - level: 1 - }) : _chalk; - } - function highlight(code, options8 = {}) { - if (code !== "" && shouldHighlight(options8)) { - const chalk = getChalk(options8); - const defs = getDefs(chalk); - return highlightTokens(defs, code); - } else { - return code; - } - } - } -}); - -// node_modules/@babel/code-frame/lib/index.js -var require_lib4 = __commonJS({ - "node_modules/@babel/code-frame/lib/index.js"(exports) { - "use strict"; - Object.defineProperty(exports, "__esModule", { - value: true - }); - exports.codeFrameColumns = codeFrameColumns2; - exports.default = _default; - var _highlight = require_lib3(); - var deprecationWarningShown = false; - function getDefs(chalk) { - return { - gutter: chalk.grey, - marker: chalk.red.bold, - message: chalk.red.bold - }; - } - var NEWLINE = /\r\n|[\n\r\u2028\u2029]/; - function getMarkerLines(loc, source, opts) { - const startLoc = Object.assign({ - column: 0, - line: -1 - }, loc.start); - const endLoc = Object.assign({}, startLoc, loc.end); - const { - linesAbove = 2, - linesBelow = 3 - } = opts || {}; - const startLine = startLoc.line; - const startColumn = startLoc.column; - const endLine = endLoc.line; - const endColumn = endLoc.column; - let start = Math.max(startLine - (linesAbove + 1), 0); - let end = Math.min(source.length, endLine + linesBelow); - if (startLine === -1) { - start = 0; - } - if (endLine === -1) { - end = source.length; - } - const lineDiff = endLine - startLine; - const markerLines = {}; - if (lineDiff) { - for (let i = 0; i <= lineDiff; i++) { - const lineNumber = i + startLine; - if (!startColumn) { - markerLines[lineNumber] = true; - } else if (i === 0) { - const sourceLength = source[lineNumber - 1].length; - markerLines[lineNumber] = [startColumn, sourceLength - startColumn + 1]; - } else if (i === lineDiff) { - markerLines[lineNumber] = [0, endColumn]; + let i = 0; + do { + const a = this.prerelease[i]; + const b = other.prerelease[i]; + debug("prerelease compare", i, a, b); + if (a === void 0 && b === void 0) { + return 0; + } else if (b === void 0) { + return 1; + } else if (a === void 0) { + return -1; + } else if (a === b) { + continue; } else { - const sourceLength = source[lineNumber - i].length; - markerLines[lineNumber] = [0, sourceLength]; + return compareIdentifiers(a, b); } + } while (++i); + } + compareBuild(other) { + if (!(other instanceof _SemVer)) { + other = new _SemVer(other, this.options); } - } else { - if (startColumn === endColumn) { - if (startColumn) { - markerLines[startLine] = [startColumn, 0]; + let i = 0; + do { + const a = this.build[i]; + const b = other.build[i]; + debug("build compare", i, a, b); + if (a === void 0 && b === void 0) { + return 0; + } else if (b === void 0) { + return 1; + } else if (a === void 0) { + return -1; + } else if (a === b) { + continue; } else { - markerLines[startLine] = true; + return compareIdentifiers(a, b); } - } else { - markerLines[startLine] = [startColumn, endColumn - startColumn]; - } + } while (++i); } - return { - start, - end, - markerLines - }; - } - function codeFrameColumns2(rawLines, loc, opts = {}) { - const highlighted = (opts.highlightCode || opts.forceColor) && (0, _highlight.shouldHighlight)(opts); - const chalk = (0, _highlight.getChalk)(opts); - const defs = getDefs(chalk); - const maybeHighlight = (chalkFn, string) => { - return highlighted ? chalkFn(string) : string; - }; - const lines = rawLines.split(NEWLINE); - const { - start, - end, - markerLines - } = getMarkerLines(loc, lines, opts); - const hasColumns = loc.start && typeof loc.start.column === "number"; - const numberMaxWidth = String(end).length; - const highlightedLines = highlighted ? (0, _highlight.default)(rawLines, opts) : rawLines; - let frame = highlightedLines.split(NEWLINE, end).slice(start, end).map((line2, index) => { - const number = start + 1 + index; - const paddedNumber = ` ${number}`.slice(-numberMaxWidth); - const gutter = ` ${paddedNumber} |`; - const hasMarker = markerLines[number]; - const lastMarkerLine = !markerLines[number + 1]; - if (hasMarker) { - let markerLine = ""; - if (Array.isArray(hasMarker)) { - const markerSpacing = line2.slice(0, Math.max(hasMarker[0] - 1, 0)).replace(/[^\t]/g, " "); - const numberOfMarkers = hasMarker[1] || 1; - markerLine = ["\n ", maybeHighlight(defs.gutter, gutter.replace(/\d/g, " ")), " ", markerSpacing, maybeHighlight(defs.marker, "^").repeat(numberOfMarkers)].join(""); - if (lastMarkerLine && opts.message) { - markerLine += " " + maybeHighlight(defs.message, opts.message); + // preminor will bump the version up to the next minor release, and immediately + // down to pre-release. premajor and prepatch work the same way. + inc(release, identifier, identifierBase) { + switch (release) { + case "premajor": + this.prerelease.length = 0; + this.patch = 0; + this.minor = 0; + this.major++; + this.inc("pre", identifier, identifierBase); + break; + case "preminor": + this.prerelease.length = 0; + this.patch = 0; + this.minor++; + this.inc("pre", identifier, identifierBase); + break; + case "prepatch": + this.prerelease.length = 0; + this.inc("patch", identifier, identifierBase); + this.inc("pre", identifier, identifierBase); + break; + case "prerelease": + if (this.prerelease.length === 0) { + this.inc("patch", identifier, identifierBase); + } + this.inc("pre", identifier, identifierBase); + break; + case "major": + if (this.minor !== 0 || this.patch !== 0 || this.prerelease.length === 0) { + this.major++; + } + this.minor = 0; + this.patch = 0; + this.prerelease = []; + break; + case "minor": + if (this.patch !== 0 || this.prerelease.length === 0) { + this.minor++; + } + this.patch = 0; + this.prerelease = []; + break; + case "patch": + if (this.prerelease.length === 0) { + this.patch++; + } + this.prerelease = []; + break; + case "pre": { + const base = Number(identifierBase) ? 1 : 0; + if (!identifier && identifierBase === false) { + throw new Error("invalid increment argument: identifier is empty"); + } + if (this.prerelease.length === 0) { + this.prerelease = [base]; + } else { + let i = this.prerelease.length; + while (--i >= 0) { + if (typeof this.prerelease[i] === "number") { + this.prerelease[i]++; + i = -2; + } + } + if (i === -1) { + if (identifier === this.prerelease.join(".") && identifierBase === false) { + throw new Error("invalid increment argument: identifier already exists"); + } + this.prerelease.push(base); + } + } + if (identifier) { + let prerelease = [identifier, base]; + if (identifierBase === false) { + prerelease = [identifier]; + } + if (compareIdentifiers(this.prerelease[0], identifier) === 0) { + if (isNaN(this.prerelease[1])) { + this.prerelease = prerelease; + } + } else { + this.prerelease = prerelease; + } } + break; } - return [maybeHighlight(defs.marker, ">"), maybeHighlight(defs.gutter, gutter), line2.length > 0 ? ` ${line2}` : "", markerLine].join(""); - } else { - return ` ${maybeHighlight(defs.gutter, gutter)}${line2.length > 0 ? ` ${line2}` : ""}`; + default: + throw new Error(`invalid increment argument: ${release}`); } - }).join("\n"); - if (opts.message && !hasColumns) { - frame = `${" ".repeat(numberMaxWidth + 1)}${opts.message} -${frame}`; - } - if (highlighted) { - return chalk.reset(frame); - } else { - return frame; - } - } - function _default(rawLines, lineNumber, colNumber, opts = {}) { - if (!deprecationWarningShown) { - deprecationWarningShown = true; - const message = "Passing lineNumber and colNumber is deprecated to @babel/code-frame. Please use `codeFrameColumns`."; - if (process.emitWarning) { - process.emitWarning(message, "DeprecationWarning"); - } else { - const deprecationError = new Error(message); - deprecationError.name = "DeprecationWarning"; - console.warn(new Error(message)); + this.raw = this.format(); + if (this.build.length) { + this.raw += `+${this.build.join(".")}`; } + return this; } - colNumber = Math.max(colNumber, 0); - const location = { - start: { - column: colNumber, - line: lineNumber - } - }; - return codeFrameColumns2(rawLines, location, opts); - } + }; + module.exports = SemVer; } }); -// node_modules/p-defer/index.js -var require_p_defer = __commonJS({ - "node_modules/p-defer/index.js"(exports, module) { - "use strict"; - module.exports = () => { - const ret = {}; - ret.promise = new Promise((resolve2, reject) => { - ret.resolve = resolve2; - ret.reject = reject; - }); - return ret; - }; +// node_modules/semver/functions/compare.js +var require_compare = __commonJS({ + "node_modules/semver/functions/compare.js"(exports, module) { + var SemVer = require_semver(); + var compare = (a, b, loose) => new SemVer(a, loose).compare(new SemVer(b, loose)); + module.exports = compare; } }); -// node_modules/map-age-cleaner/dist/index.js -var require_dist = __commonJS({ - "node_modules/map-age-cleaner/dist/index.js"(exports, module) { - "use strict"; - var __awaiter2 = exports && exports.__awaiter || function(thisArg, _arguments, P, generator) { - return new (P || (P = Promise))(function(resolve2, reject) { - function fulfilled(value) { - try { - step(generator.next(value)); - } catch (e) { - reject(e); - } - } - function rejected(value) { - try { - step(generator["throw"](value)); - } catch (e) { - reject(e); - } - } - function step(result) { - result.done ? resolve2(result.value) : new P(function(resolve3) { - resolve3(result.value); - }).then(fulfilled, rejected); - } - step((generator = generator.apply(thisArg, _arguments || [])).next()); +// node_modules/semver/functions/gte.js +var require_gte = __commonJS({ + "node_modules/semver/functions/gte.js"(exports, module) { + var compare = require_compare(); + var gte = (a, b, loose) => compare(a, b, loose) >= 0; + module.exports = gte; + } +}); + +// node_modules/pseudomap/pseudomap.js +var require_pseudomap = __commonJS({ + "node_modules/pseudomap/pseudomap.js"(exports, module) { + var hasOwnProperty3 = Object.prototype.hasOwnProperty; + module.exports = PseudoMap; + function PseudoMap(set3) { + if (!(this instanceof PseudoMap)) + throw new TypeError("Constructor PseudoMap requires 'new'"); + this.clear(); + if (set3) { + if (set3 instanceof PseudoMap || typeof Map === "function" && set3 instanceof Map) + set3.forEach(function(value, key2) { + this.set(key2, value); + }, this); + else if (Array.isArray(set3)) + set3.forEach(function(kv) { + this.set(kv[0], kv[1]); + }, this); + else + throw new TypeError("invalid argument"); + } + } + PseudoMap.prototype.forEach = function(fn, thisp) { + thisp = thisp || this; + Object.keys(this._data).forEach(function(k) { + if (k !== "size") + fn.call(thisp, this._data[k].value, this._data[k].key); + }, this); + }; + PseudoMap.prototype.has = function(k) { + return !!find(this._data, k); + }; + PseudoMap.prototype.get = function(k) { + var res = find(this._data, k); + return res && res.value; + }; + PseudoMap.prototype.set = function(k, v) { + set2(this._data, k, v); + }; + PseudoMap.prototype.delete = function(k) { + var res = find(this._data, k); + if (res) { + delete this._data[res._index]; + this._data.size--; + } + }; + PseudoMap.prototype.clear = function() { + var data = /* @__PURE__ */ Object.create(null); + data.size = 0; + Object.defineProperty(this, "_data", { + value: data, + enumerable: false, + configurable: true, + writable: false }); }; - var __importDefault2 = exports && exports.__importDefault || function(mod) { - return mod && mod.__esModule ? mod : { "default": mod }; + Object.defineProperty(PseudoMap.prototype, "size", { + get: function() { + return this._data.size; + }, + set: function(n) { + }, + enumerable: true, + configurable: true + }); + PseudoMap.prototype.values = PseudoMap.prototype.keys = PseudoMap.prototype.entries = function() { + throw new Error("iterators are not implemented in this version"); }; - Object.defineProperty(exports, "__esModule", { value: true }); - var p_defer_1 = __importDefault2(require_p_defer()); - function mapAgeCleaner2(map, property = "maxAge") { - let processingKey; - let processingTimer; - let processingDeferred; - const cleanup = () => __awaiter2(this, void 0, void 0, function* () { - if (processingKey !== void 0) { + function same(a, b) { + return a === b || a !== a && b !== b; + } + function Entry(k, v, i) { + this.key = k; + this.value = v; + this._index = i; + } + function find(data, k) { + for (var i = 0, s = "_" + k, key2 = s; hasOwnProperty3.call(data, key2); key2 = s + i++) { + if (same(data[key2].key, k)) + return data[key2]; + } + } + function set2(data, k, v) { + for (var i = 0, s = "_" + k, key2 = s; hasOwnProperty3.call(data, key2); key2 = s + i++) { + if (same(data[key2].key, k)) { + data[key2].value = v; return; } - const setupTimer = (item) => __awaiter2(this, void 0, void 0, function* () { - processingDeferred = p_defer_1.default(); - const delay = item[1][property] - Date.now(); - if (delay <= 0) { - map.delete(item[0]); - processingDeferred.resolve(); - return; - } - processingKey = item[0]; - processingTimer = setTimeout(() => { - map.delete(item[0]); - if (processingDeferred) { - processingDeferred.resolve(); - } - }, delay); - if (typeof processingTimer.unref === "function") { - processingTimer.unref(); - } - return processingDeferred.promise; - }); - try { - for (const entry of map) { - yield setupTimer(entry); - } - } catch (_a) { - } - processingKey = void 0; - }); - const reset = () => { - processingKey = void 0; - if (processingTimer !== void 0) { - clearTimeout(processingTimer); - processingTimer = void 0; - } - if (processingDeferred !== void 0) { - processingDeferred.reject(void 0); - processingDeferred = void 0; - } - }; - const originalSet = map.set.bind(map); - map.set = (key, value) => { - if (map.has(key)) { - map.delete(key); - } - const result = originalSet(key, value); - if (processingKey && processingKey === key) { - reset(); - } - cleanup(); - return result; - }; - cleanup(); - return map; + } + data.size++; + data[key2] = new Entry(k, v, key2); } - exports.default = mapAgeCleaner2; - module.exports = mapAgeCleaner2; - module.exports.default = mapAgeCleaner2; - } -}); - -// node_modules/semver/internal/debug.js -var require_debug = __commonJS({ - "node_modules/semver/internal/debug.js"(exports, module) { - var debug = typeof process === "object" && process.env && process.env.NODE_DEBUG && /\bsemver\b/i.test(process.env.NODE_DEBUG) ? (...args) => console.error("SEMVER", ...args) : () => { - }; - module.exports = debug; } }); -// node_modules/semver/internal/constants.js -var require_constants4 = __commonJS({ - "node_modules/semver/internal/constants.js"(exports, module) { - var SEMVER_SPEC_VERSION = "2.0.0"; - var MAX_LENGTH = 256; - var MAX_SAFE_INTEGER = Number.MAX_SAFE_INTEGER || /* istanbul ignore next */ - 9007199254740991; - var MAX_SAFE_COMPONENT_LENGTH = 16; - var MAX_SAFE_BUILD_LENGTH = MAX_LENGTH - 6; - var RELEASE_TYPES = [ - "major", - "premajor", - "minor", - "preminor", - "patch", - "prepatch", - "prerelease" - ]; - module.exports = { - MAX_LENGTH, - MAX_SAFE_COMPONENT_LENGTH, - MAX_SAFE_BUILD_LENGTH, - MAX_SAFE_INTEGER, - RELEASE_TYPES, - SEMVER_SPEC_VERSION, - FLAG_INCLUDE_PRERELEASE: 1, - FLAG_LOOSE: 2 - }; +// node_modules/pseudomap/map.js +var require_map = __commonJS({ + "node_modules/pseudomap/map.js"(exports, module) { + if (process.env.npm_package_name === "pseudomap" && process.env.npm_lifecycle_script === "test") + process.env.TEST_PSEUDOMAP = "true"; + if (typeof Map === "function" && !process.env.TEST_PSEUDOMAP) { + module.exports = Map; + } else { + module.exports = require_pseudomap(); + } } }); -// node_modules/semver/internal/re.js -var require_re = __commonJS({ - "node_modules/semver/internal/re.js"(exports, module) { - var { MAX_SAFE_COMPONENT_LENGTH, MAX_SAFE_BUILD_LENGTH } = require_constants4(); - var debug = require_debug(); - exports = module.exports = {}; - var re = exports.re = []; - var safeRe = exports.safeRe = []; - var src = exports.src = []; - var t = exports.t = {}; - var R = 0; - var LETTERDASHNUMBER = "[a-zA-Z0-9-]"; - var safeRegexReplacements = [ - ["\\s", 1], - ["\\d", MAX_SAFE_COMPONENT_LENGTH], - [LETTERDASHNUMBER, MAX_SAFE_BUILD_LENGTH] - ]; - var makeSafeRegex = (value) => { - for (const [token, max] of safeRegexReplacements) { - value = value.split(`${token}*`).join(`${token}{0,${max}}`).split(`${token}+`).join(`${token}{1,${max}}`); +// node_modules/yallist/yallist.js +var require_yallist = __commonJS({ + "node_modules/yallist/yallist.js"(exports, module) { + module.exports = Yallist; + Yallist.Node = Node; + Yallist.create = Yallist; + function Yallist(list) { + var self = this; + if (!(self instanceof Yallist)) { + self = new Yallist(); } - return value; + self.tail = null; + self.head = null; + self.length = 0; + if (list && typeof list.forEach === "function") { + list.forEach(function(item) { + self.push(item); + }); + } else if (arguments.length > 0) { + for (var i = 0, l = arguments.length; i < l; i++) { + self.push(arguments[i]); + } + } + return self; + } + Yallist.prototype.removeNode = function(node) { + if (node.list !== this) { + throw new Error("removing node which does not belong to this list"); + } + var next = node.next; + var prev = node.prev; + if (next) { + next.prev = prev; + } + if (prev) { + prev.next = next; + } + if (node === this.head) { + this.head = next; + } + if (node === this.tail) { + this.tail = prev; + } + node.list.length--; + node.next = null; + node.prev = null; + node.list = null; }; - var createToken = (name, value, isGlobal) => { - const safe = makeSafeRegex(value); - const index = R++; - debug(name, index, value); - t[name] = index; - src[index] = value; - re[index] = new RegExp(value, isGlobal ? "g" : void 0); - safeRe[index] = new RegExp(safe, isGlobal ? "g" : void 0); + Yallist.prototype.unshiftNode = function(node) { + if (node === this.head) { + return; + } + if (node.list) { + node.list.removeNode(node); + } + var head = this.head; + node.list = this; + node.next = head; + if (head) { + head.prev = node; + } + this.head = node; + if (!this.tail) { + this.tail = node; + } + this.length++; }; - createToken("NUMERICIDENTIFIER", "0|[1-9]\\d*"); - createToken("NUMERICIDENTIFIERLOOSE", "\\d+"); - createToken("NONNUMERICIDENTIFIER", `\\d*[a-zA-Z-]${LETTERDASHNUMBER}*`); - createToken("MAINVERSION", `(${src[t.NUMERICIDENTIFIER]})\\.(${src[t.NUMERICIDENTIFIER]})\\.(${src[t.NUMERICIDENTIFIER]})`); - createToken("MAINVERSIONLOOSE", `(${src[t.NUMERICIDENTIFIERLOOSE]})\\.(${src[t.NUMERICIDENTIFIERLOOSE]})\\.(${src[t.NUMERICIDENTIFIERLOOSE]})`); - createToken("PRERELEASEIDENTIFIER", `(?:${src[t.NUMERICIDENTIFIER]}|${src[t.NONNUMERICIDENTIFIER]})`); - createToken("PRERELEASEIDENTIFIERLOOSE", `(?:${src[t.NUMERICIDENTIFIERLOOSE]}|${src[t.NONNUMERICIDENTIFIER]})`); - createToken("PRERELEASE", `(?:-(${src[t.PRERELEASEIDENTIFIER]}(?:\\.${src[t.PRERELEASEIDENTIFIER]})*))`); - createToken("PRERELEASELOOSE", `(?:-?(${src[t.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${src[t.PRERELEASEIDENTIFIERLOOSE]})*))`); - createToken("BUILDIDENTIFIER", `${LETTERDASHNUMBER}+`); - createToken("BUILD", `(?:\\+(${src[t.BUILDIDENTIFIER]}(?:\\.${src[t.BUILDIDENTIFIER]})*))`); - createToken("FULLPLAIN", `v?${src[t.MAINVERSION]}${src[t.PRERELEASE]}?${src[t.BUILD]}?`); - createToken("FULL", `^${src[t.FULLPLAIN]}$`); - createToken("LOOSEPLAIN", `[v=\\s]*${src[t.MAINVERSIONLOOSE]}${src[t.PRERELEASELOOSE]}?${src[t.BUILD]}?`); - createToken("LOOSE", `^${src[t.LOOSEPLAIN]}$`); - createToken("GTLT", "((?:<|>)?=?)"); - createToken("XRANGEIDENTIFIERLOOSE", `${src[t.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`); - createToken("XRANGEIDENTIFIER", `${src[t.NUMERICIDENTIFIER]}|x|X|\\*`); - createToken("XRANGEPLAIN", `[v=\\s]*(${src[t.XRANGEIDENTIFIER]})(?:\\.(${src[t.XRANGEIDENTIFIER]})(?:\\.(${src[t.XRANGEIDENTIFIER]})(?:${src[t.PRERELEASE]})?${src[t.BUILD]}?)?)?`); - createToken("XRANGEPLAINLOOSE", `[v=\\s]*(${src[t.XRANGEIDENTIFIERLOOSE]})(?:\\.(${src[t.XRANGEIDENTIFIERLOOSE]})(?:\\.(${src[t.XRANGEIDENTIFIERLOOSE]})(?:${src[t.PRERELEASELOOSE]})?${src[t.BUILD]}?)?)?`); - createToken("XRANGE", `^${src[t.GTLT]}\\s*${src[t.XRANGEPLAIN]}$`); - createToken("XRANGELOOSE", `^${src[t.GTLT]}\\s*${src[t.XRANGEPLAINLOOSE]}$`); - createToken("COERCE", `${"(^|[^\\d])(\\d{1,"}${MAX_SAFE_COMPONENT_LENGTH}})(?:\\.(\\d{1,${MAX_SAFE_COMPONENT_LENGTH}}))?(?:\\.(\\d{1,${MAX_SAFE_COMPONENT_LENGTH}}))?(?:$|[^\\d])`); - createToken("COERCERTL", src[t.COERCE], true); - createToken("LONETILDE", "(?:~>?)"); - createToken("TILDETRIM", `(\\s*)${src[t.LONETILDE]}\\s+`, true); - exports.tildeTrimReplace = "$1~"; - createToken("TILDE", `^${src[t.LONETILDE]}${src[t.XRANGEPLAIN]}$`); - createToken("TILDELOOSE", `^${src[t.LONETILDE]}${src[t.XRANGEPLAINLOOSE]}$`); - createToken("LONECARET", "(?:\\^)"); - createToken("CARETTRIM", `(\\s*)${src[t.LONECARET]}\\s+`, true); - exports.caretTrimReplace = "$1^"; - createToken("CARET", `^${src[t.LONECARET]}${src[t.XRANGEPLAIN]}$`); - createToken("CARETLOOSE", `^${src[t.LONECARET]}${src[t.XRANGEPLAINLOOSE]}$`); - createToken("COMPARATORLOOSE", `^${src[t.GTLT]}\\s*(${src[t.LOOSEPLAIN]})$|^$`); - createToken("COMPARATOR", `^${src[t.GTLT]}\\s*(${src[t.FULLPLAIN]})$|^$`); - createToken("COMPARATORTRIM", `(\\s*)${src[t.GTLT]}\\s*(${src[t.LOOSEPLAIN]}|${src[t.XRANGEPLAIN]})`, true); - exports.comparatorTrimReplace = "$1$2$3"; - createToken("HYPHENRANGE", `^\\s*(${src[t.XRANGEPLAIN]})\\s+-\\s+(${src[t.XRANGEPLAIN]})\\s*$`); - createToken("HYPHENRANGELOOSE", `^\\s*(${src[t.XRANGEPLAINLOOSE]})\\s+-\\s+(${src[t.XRANGEPLAINLOOSE]})\\s*$`); - createToken("STAR", "(<|>)?=?\\s*\\*"); - createToken("GTE0", "^\\s*>=\\s*0\\.0\\.0\\s*$"); - createToken("GTE0PRE", "^\\s*>=\\s*0\\.0\\.0-0\\s*$"); - } -}); - -// node_modules/semver/internal/parse-options.js -var require_parse_options = __commonJS({ - "node_modules/semver/internal/parse-options.js"(exports, module) { - var looseOption = Object.freeze({ loose: true }); - var emptyOpts = Object.freeze({}); - var parseOptions = (options8) => { - if (!options8) { - return emptyOpts; + Yallist.prototype.pushNode = function(node) { + if (node === this.tail) { + return; } - if (typeof options8 !== "object") { - return looseOption; + if (node.list) { + node.list.removeNode(node); } - return options8; + var tail = this.tail; + node.list = this; + node.prev = tail; + if (tail) { + tail.next = node; + } + this.tail = node; + if (!this.head) { + this.head = node; + } + this.length++; }; - module.exports = parseOptions; - } -}); - -// node_modules/semver/internal/identifiers.js -var require_identifiers = __commonJS({ - "node_modules/semver/internal/identifiers.js"(exports, module) { - var numeric = /^[0-9]+$/; - var compareIdentifiers = (a, b) => { - const anum = numeric.test(a); - const bnum = numeric.test(b); - if (anum && bnum) { - a = +a; - b = +b; + Yallist.prototype.push = function() { + for (var i = 0, l = arguments.length; i < l; i++) { + push2(this, arguments[i]); } - return a === b ? 0 : anum && !bnum ? -1 : bnum && !anum ? 1 : a < b ? -1 : 1; + return this.length; }; - var rcompareIdentifiers = (a, b) => compareIdentifiers(b, a); - module.exports = { - compareIdentifiers, - rcompareIdentifiers + Yallist.prototype.unshift = function() { + for (var i = 0, l = arguments.length; i < l; i++) { + unshift(this, arguments[i]); + } + return this.length; }; - } -}); - -// node_modules/semver/classes/semver.js -var require_semver = __commonJS({ - "node_modules/semver/classes/semver.js"(exports, module) { - var debug = require_debug(); - var { MAX_LENGTH, MAX_SAFE_INTEGER } = require_constants4(); - var { safeRe: re, t } = require_re(); - var parseOptions = require_parse_options(); - var { compareIdentifiers } = require_identifiers(); - var SemVer = class _SemVer { - constructor(version, options8) { - options8 = parseOptions(options8); - if (version instanceof _SemVer) { - if (version.loose === !!options8.loose && version.includePrerelease === !!options8.includePrerelease) { - return version; - } else { - version = version.version; - } - } else if (typeof version !== "string") { - throw new TypeError(`Invalid version. Must be a string. Got type "${typeof version}".`); - } - if (version.length > MAX_LENGTH) { - throw new TypeError( - `version is longer than ${MAX_LENGTH} characters` - ); - } - debug("SemVer", version, options8); - this.options = options8; - this.loose = !!options8.loose; - this.includePrerelease = !!options8.includePrerelease; - const m = version.trim().match(options8.loose ? re[t.LOOSE] : re[t.FULL]); - if (!m) { - throw new TypeError(`Invalid Version: ${version}`); - } - this.raw = version; - this.major = +m[1]; - this.minor = +m[2]; - this.patch = +m[3]; - if (this.major > MAX_SAFE_INTEGER || this.major < 0) { - throw new TypeError("Invalid major version"); - } - if (this.minor > MAX_SAFE_INTEGER || this.minor < 0) { - throw new TypeError("Invalid minor version"); - } - if (this.patch > MAX_SAFE_INTEGER || this.patch < 0) { - throw new TypeError("Invalid patch version"); - } - if (!m[4]) { - this.prerelease = []; - } else { - this.prerelease = m[4].split(".").map((id) => { - if (/^[0-9]+$/.test(id)) { - const num = +id; - if (num >= 0 && num < MAX_SAFE_INTEGER) { - return num; - } - } - return id; - }); - } - this.build = m[5] ? m[5].split(".") : []; - this.format(); + Yallist.prototype.pop = function() { + if (!this.tail) { + return void 0; } - format() { - this.version = `${this.major}.${this.minor}.${this.patch}`; - if (this.prerelease.length) { - this.version += `-${this.prerelease.join(".")}`; - } - return this.version; + var res = this.tail.value; + this.tail = this.tail.prev; + if (this.tail) { + this.tail.next = null; + } else { + this.head = null; } - toString() { - return this.version; + this.length--; + return res; + }; + Yallist.prototype.shift = function() { + if (!this.head) { + return void 0; } - compare(other) { - debug("SemVer.compare", this.version, this.options, other); - if (!(other instanceof _SemVer)) { - if (typeof other === "string" && other === this.version) { - return 0; - } - other = new _SemVer(other, this.options); - } - if (other.version === this.version) { - return 0; - } - return this.compareMain(other) || this.comparePre(other); + var res = this.head.value; + this.head = this.head.next; + if (this.head) { + this.head.prev = null; + } else { + this.tail = null; } - compareMain(other) { - if (!(other instanceof _SemVer)) { - other = new _SemVer(other, this.options); - } - return compareIdentifiers(this.major, other.major) || compareIdentifiers(this.minor, other.minor) || compareIdentifiers(this.patch, other.patch); + this.length--; + return res; + }; + Yallist.prototype.forEach = function(fn, thisp) { + thisp = thisp || this; + for (var walker = this.head, i = 0; walker !== null; i++) { + fn.call(thisp, walker.value, i, this); + walker = walker.next; } - comparePre(other) { - if (!(other instanceof _SemVer)) { - other = new _SemVer(other, this.options); - } - if (this.prerelease.length && !other.prerelease.length) { - return -1; - } else if (!this.prerelease.length && other.prerelease.length) { - return 1; - } else if (!this.prerelease.length && !other.prerelease.length) { - return 0; - } - let i = 0; - do { - const a = this.prerelease[i]; - const b = other.prerelease[i]; - debug("prerelease compare", i, a, b); - if (a === void 0 && b === void 0) { - return 0; - } else if (b === void 0) { - return 1; - } else if (a === void 0) { - return -1; - } else if (a === b) { - continue; - } else { - return compareIdentifiers(a, b); - } - } while (++i); + }; + Yallist.prototype.forEachReverse = function(fn, thisp) { + thisp = thisp || this; + for (var walker = this.tail, i = this.length - 1; walker !== null; i--) { + fn.call(thisp, walker.value, i, this); + walker = walker.prev; } - compareBuild(other) { - if (!(other instanceof _SemVer)) { - other = new _SemVer(other, this.options); - } - let i = 0; - do { - const a = this.build[i]; - const b = other.build[i]; - debug("prerelease compare", i, a, b); - if (a === void 0 && b === void 0) { - return 0; - } else if (b === void 0) { - return 1; - } else if (a === void 0) { - return -1; - } else if (a === b) { - continue; - } else { - return compareIdentifiers(a, b); - } - } while (++i); + }; + Yallist.prototype.get = function(n) { + for (var i = 0, walker = this.head; walker !== null && i < n; i++) { + walker = walker.next; } - // preminor will bump the version up to the next minor release, and immediately - // down to pre-release. premajor and prepatch work the same way. - inc(release, identifier, identifierBase) { - switch (release) { - case "premajor": - this.prerelease.length = 0; - this.patch = 0; - this.minor = 0; - this.major++; - this.inc("pre", identifier, identifierBase); - break; - case "preminor": - this.prerelease.length = 0; - this.patch = 0; - this.minor++; - this.inc("pre", identifier, identifierBase); - break; - case "prepatch": - this.prerelease.length = 0; - this.inc("patch", identifier, identifierBase); - this.inc("pre", identifier, identifierBase); - break; - case "prerelease": - if (this.prerelease.length === 0) { - this.inc("patch", identifier, identifierBase); - } - this.inc("pre", identifier, identifierBase); - break; - case "major": - if (this.minor !== 0 || this.patch !== 0 || this.prerelease.length === 0) { - this.major++; - } - this.minor = 0; - this.patch = 0; - this.prerelease = []; - break; - case "minor": - if (this.patch !== 0 || this.prerelease.length === 0) { - this.minor++; - } - this.patch = 0; - this.prerelease = []; - break; - case "patch": - if (this.prerelease.length === 0) { - this.patch++; - } - this.prerelease = []; - break; - case "pre": { - const base = Number(identifierBase) ? 1 : 0; - if (!identifier && identifierBase === false) { - throw new Error("invalid increment argument: identifier is empty"); - } - if (this.prerelease.length === 0) { - this.prerelease = [base]; - } else { - let i = this.prerelease.length; - while (--i >= 0) { - if (typeof this.prerelease[i] === "number") { - this.prerelease[i]++; - i = -2; - } - } - if (i === -1) { - if (identifier === this.prerelease.join(".") && identifierBase === false) { - throw new Error("invalid increment argument: identifier already exists"); - } - this.prerelease.push(base); - } - } - if (identifier) { - let prerelease = [identifier, base]; - if (identifierBase === false) { - prerelease = [identifier]; - } - if (compareIdentifiers(this.prerelease[0], identifier) === 0) { - if (isNaN(this.prerelease[1])) { - this.prerelease = prerelease; - } - } else { - this.prerelease = prerelease; - } - } - break; - } - default: - throw new Error(`invalid increment argument: ${release}`); - } - this.raw = this.format(); - if (this.build.length) { - this.raw += `+${this.build.join(".")}`; - } - return this; + if (i === n && walker !== null) { + return walker.value; } }; - module.exports = SemVer; - } -}); - -// node_modules/semver/functions/compare.js -var require_compare = __commonJS({ - "node_modules/semver/functions/compare.js"(exports, module) { - var SemVer = require_semver(); - var compare = (a, b, loose) => new SemVer(a, loose).compare(new SemVer(b, loose)); - module.exports = compare; - } -}); - -// node_modules/semver/functions/gte.js -var require_gte = __commonJS({ - "node_modules/semver/functions/gte.js"(exports, module) { - var compare = require_compare(); - var gte = (a, b, loose) => compare(a, b, loose) >= 0; - module.exports = gte; - } -}); - -// node_modules/pseudomap/pseudomap.js -var require_pseudomap = __commonJS({ - "node_modules/pseudomap/pseudomap.js"(exports, module) { - var hasOwnProperty2 = Object.prototype.hasOwnProperty; - module.exports = PseudoMap; - function PseudoMap(set2) { - if (!(this instanceof PseudoMap)) - throw new TypeError("Constructor PseudoMap requires 'new'"); - this.clear(); - if (set2) { - if (set2 instanceof PseudoMap || typeof Map === "function" && set2 instanceof Map) - set2.forEach(function(value, key) { - this.set(key, value); - }, this); - else if (Array.isArray(set2)) - set2.forEach(function(kv) { - this.set(kv[0], kv[1]); - }, this); - else - throw new TypeError("invalid argument"); + Yallist.prototype.getReverse = function(n) { + for (var i = 0, walker = this.tail; walker !== null && i < n; i++) { + walker = walker.prev; + } + if (i === n && walker !== null) { + return walker.value; } - } - PseudoMap.prototype.forEach = function(fn, thisp) { - thisp = thisp || this; - Object.keys(this._data).forEach(function(k) { - if (k !== "size") - fn.call(thisp, this._data[k].value, this._data[k].key); - }, this); }; - PseudoMap.prototype.has = function(k) { - return !!find(this._data, k); + Yallist.prototype.map = function(fn, thisp) { + thisp = thisp || this; + var res = new Yallist(); + for (var walker = this.head; walker !== null; ) { + res.push(fn.call(thisp, walker.value, this)); + walker = walker.next; + } + return res; }; - PseudoMap.prototype.get = function(k) { - var res = find(this._data, k); - return res && res.value; + Yallist.prototype.mapReverse = function(fn, thisp) { + thisp = thisp || this; + var res = new Yallist(); + for (var walker = this.tail; walker !== null; ) { + res.push(fn.call(thisp, walker.value, this)); + walker = walker.prev; + } + return res; }; - PseudoMap.prototype.set = function(k, v) { - set(this._data, k, v); + Yallist.prototype.reduce = function(fn, initial) { + var acc; + var walker = this.head; + if (arguments.length > 1) { + acc = initial; + } else if (this.head) { + walker = this.head.next; + acc = this.head.value; + } else { + throw new TypeError("Reduce of empty list with no initial value"); + } + for (var i = 0; walker !== null; i++) { + acc = fn(acc, walker.value, i); + walker = walker.next; + } + return acc; }; - PseudoMap.prototype.delete = function(k) { - var res = find(this._data, k); - if (res) { - delete this._data[res._index]; - this._data.size--; + Yallist.prototype.reduceReverse = function(fn, initial) { + var acc; + var walker = this.tail; + if (arguments.length > 1) { + acc = initial; + } else if (this.tail) { + walker = this.tail.prev; + acc = this.tail.value; + } else { + throw new TypeError("Reduce of empty list with no initial value"); + } + for (var i = this.length - 1; walker !== null; i--) { + acc = fn(acc, walker.value, i); + walker = walker.prev; } + return acc; }; - PseudoMap.prototype.clear = function() { - var data = /* @__PURE__ */ Object.create(null); - data.size = 0; - Object.defineProperty(this, "_data", { - value: data, - enumerable: false, - configurable: true, - writable: false - }); + Yallist.prototype.toArray = function() { + var arr = new Array(this.length); + for (var i = 0, walker = this.head; walker !== null; i++) { + arr[i] = walker.value; + walker = walker.next; + } + return arr; }; - Object.defineProperty(PseudoMap.prototype, "size", { - get: function() { - return this._data.size; - }, - set: function(n) { - }, - enumerable: true, - configurable: true - }); - PseudoMap.prototype.values = PseudoMap.prototype.keys = PseudoMap.prototype.entries = function() { - throw new Error("iterators are not implemented in this version"); + Yallist.prototype.toArrayReverse = function() { + var arr = new Array(this.length); + for (var i = 0, walker = this.tail; walker !== null; i++) { + arr[i] = walker.value; + walker = walker.prev; + } + return arr; }; - function same(a, b) { - return a === b || a !== a && b !== b; - } - function Entry(k, v, i) { - this.key = k; - this.value = v; - this._index = i; - } - function find(data, k) { - for (var i = 0, s = "_" + k, key = s; hasOwnProperty2.call(data, key); key = s + i++) { - if (same(data[key].key, k)) - return data[key]; + Yallist.prototype.slice = function(from, to) { + to = to || this.length; + if (to < 0) { + to += this.length; } - } - function set(data, k, v) { - for (var i = 0, s = "_" + k, key = s; hasOwnProperty2.call(data, key); key = s + i++) { - if (same(data[key].key, k)) { - data[key].value = v; - return; - } + from = from || 0; + if (from < 0) { + from += this.length; } - data.size++; - data[key] = new Entry(k, v, key); - } - } -}); - -// node_modules/pseudomap/map.js -var require_map = __commonJS({ - "node_modules/pseudomap/map.js"(exports, module) { - if (process.env.npm_package_name === "pseudomap" && process.env.npm_lifecycle_script === "test") - process.env.TEST_PSEUDOMAP = "true"; - if (typeof Map === "function" && !process.env.TEST_PSEUDOMAP) { - module.exports = Map; - } else { - module.exports = require_pseudomap(); - } - } -}); - -// node_modules/editorconfig/node_modules/yallist/yallist.js -var require_yallist = __commonJS({ - "node_modules/editorconfig/node_modules/yallist/yallist.js"(exports, module) { - module.exports = Yallist; - Yallist.Node = Node; - Yallist.create = Yallist; - function Yallist(list) { - var self = this; - if (!(self instanceof Yallist)) { - self = new Yallist(); + var ret = new Yallist(); + if (to < from || to < 0) { + return ret; } - self.tail = null; - self.head = null; - self.length = 0; - if (list && typeof list.forEach === "function") { - list.forEach(function(item) { - self.push(item); - }); - } else if (arguments.length > 0) { - for (var i = 0, l = arguments.length; i < l; i++) { - self.push(arguments[i]); - } + if (from < 0) { + from = 0; } - return self; - } - Yallist.prototype.removeNode = function(node) { - if (node.list !== this) { - throw new Error("removing node which does not belong to this list"); + if (to > this.length) { + to = this.length; } - var next = node.next; - var prev = node.prev; - if (next) { - next.prev = prev; + for (var i = 0, walker = this.head; walker !== null && i < from; i++) { + walker = walker.next; } - if (prev) { - prev.next = next; + for (; walker !== null && i < to; i++, walker = walker.next) { + ret.push(walker.value); } - if (node === this.head) { - this.head = next; + return ret; + }; + Yallist.prototype.sliceReverse = function(from, to) { + to = to || this.length; + if (to < 0) { + to += this.length; } - if (node === this.tail) { - this.tail = prev; + from = from || 0; + if (from < 0) { + from += this.length; } - node.list.length--; - node.next = null; - node.prev = null; - node.list = null; - }; - Yallist.prototype.unshiftNode = function(node) { - if (node === this.head) { - return; + var ret = new Yallist(); + if (to < from || to < 0) { + return ret; } - if (node.list) { - node.list.removeNode(node); - } - var head = this.head; - node.list = this; - node.next = head; - if (head) { - head.prev = node; - } - this.head = node; - if (!this.tail) { - this.tail = node; - } - this.length++; - }; - Yallist.prototype.pushNode = function(node) { - if (node === this.tail) { - return; - } - if (node.list) { - node.list.removeNode(node); - } - var tail = this.tail; - node.list = this; - node.prev = tail; - if (tail) { - tail.next = node; - } - this.tail = node; - if (!this.head) { - this.head = node; - } - this.length++; - }; - Yallist.prototype.push = function() { - for (var i = 0, l = arguments.length; i < l; i++) { - push(this, arguments[i]); - } - return this.length; - }; - Yallist.prototype.unshift = function() { - for (var i = 0, l = arguments.length; i < l; i++) { - unshift(this, arguments[i]); - } - return this.length; - }; - Yallist.prototype.pop = function() { - if (!this.tail) { - return void 0; - } - var res = this.tail.value; - this.tail = this.tail.prev; - if (this.tail) { - this.tail.next = null; - } else { - this.head = null; - } - this.length--; - return res; - }; - Yallist.prototype.shift = function() { - if (!this.head) { - return void 0; - } - var res = this.head.value; - this.head = this.head.next; - if (this.head) { - this.head.prev = null; - } else { - this.tail = null; - } - this.length--; - return res; - }; - Yallist.prototype.forEach = function(fn, thisp) { - thisp = thisp || this; - for (var walker = this.head, i = 0; walker !== null; i++) { - fn.call(thisp, walker.value, i, this); - walker = walker.next; - } - }; - Yallist.prototype.forEachReverse = function(fn, thisp) { - thisp = thisp || this; - for (var walker = this.tail, i = this.length - 1; walker !== null; i--) { - fn.call(thisp, walker.value, i, this); - walker = walker.prev; - } - }; - Yallist.prototype.get = function(n) { - for (var i = 0, walker = this.head; walker !== null && i < n; i++) { - walker = walker.next; - } - if (i === n && walker !== null) { - return walker.value; - } - }; - Yallist.prototype.getReverse = function(n) { - for (var i = 0, walker = this.tail; walker !== null && i < n; i++) { - walker = walker.prev; - } - if (i === n && walker !== null) { - return walker.value; - } - }; - Yallist.prototype.map = function(fn, thisp) { - thisp = thisp || this; - var res = new Yallist(); - for (var walker = this.head; walker !== null; ) { - res.push(fn.call(thisp, walker.value, this)); - walker = walker.next; - } - return res; - }; - Yallist.prototype.mapReverse = function(fn, thisp) { - thisp = thisp || this; - var res = new Yallist(); - for (var walker = this.tail; walker !== null; ) { - res.push(fn.call(thisp, walker.value, this)); - walker = walker.prev; - } - return res; - }; - Yallist.prototype.reduce = function(fn, initial) { - var acc; - var walker = this.head; - if (arguments.length > 1) { - acc = initial; - } else if (this.head) { - walker = this.head.next; - acc = this.head.value; - } else { - throw new TypeError("Reduce of empty list with no initial value"); - } - for (var i = 0; walker !== null; i++) { - acc = fn(acc, walker.value, i); - walker = walker.next; - } - return acc; - }; - Yallist.prototype.reduceReverse = function(fn, initial) { - var acc; - var walker = this.tail; - if (arguments.length > 1) { - acc = initial; - } else if (this.tail) { - walker = this.tail.prev; - acc = this.tail.value; - } else { - throw new TypeError("Reduce of empty list with no initial value"); - } - for (var i = this.length - 1; walker !== null; i--) { - acc = fn(acc, walker.value, i); - walker = walker.prev; - } - return acc; - }; - Yallist.prototype.toArray = function() { - var arr = new Array(this.length); - for (var i = 0, walker = this.head; walker !== null; i++) { - arr[i] = walker.value; - walker = walker.next; - } - return arr; - }; - Yallist.prototype.toArrayReverse = function() { - var arr = new Array(this.length); - for (var i = 0, walker = this.tail; walker !== null; i++) { - arr[i] = walker.value; - walker = walker.prev; - } - return arr; - }; - Yallist.prototype.slice = function(from, to) { - to = to || this.length; - if (to < 0) { - to += this.length; - } - from = from || 0; - if (from < 0) { - from += this.length; - } - var ret = new Yallist(); - if (to < from || to < 0) { - return ret; - } - if (from < 0) { - from = 0; - } - if (to > this.length) { - to = this.length; - } - for (var i = 0, walker = this.head; walker !== null && i < from; i++) { - walker = walker.next; - } - for (; walker !== null && i < to; i++, walker = walker.next) { - ret.push(walker.value); - } - return ret; - }; - Yallist.prototype.sliceReverse = function(from, to) { - to = to || this.length; - if (to < 0) { - to += this.length; - } - from = from || 0; - if (from < 0) { - from += this.length; - } - var ret = new Yallist(); - if (to < from || to < 0) { - return ret; - } - if (from < 0) { - from = 0; + if (from < 0) { + from = 0; } if (to > this.length) { to = this.length; @@ -10334,7 +6852,7 @@ var require_yallist = __commonJS({ this.tail = head; return this; }; - function push(self, item) { + function push2(self, item) { self.tail = new Node(item, self.tail, null, self); if (!self.head) { self.head = self.tail; @@ -10370,23 +6888,23 @@ var require_yallist = __commonJS({ } }); -// node_modules/editorconfig/node_modules/lru-cache/index.js +// node_modules/lru-cache/index.js var require_lru_cache = __commonJS({ - "node_modules/editorconfig/node_modules/lru-cache/index.js"(exports, module) { + "node_modules/lru-cache/index.js"(exports, module) { "use strict"; module.exports = LRUCache; var Map2 = require_map(); - var util = __require("util"); + var util2 = __require("util"); var Yallist = require_yallist(); var hasSymbol = typeof Symbol === "function" && process.env._nodeLRUCacheForceNoSymbol !== "1"; var makeSymbol; if (hasSymbol) { - makeSymbol = function(key) { - return Symbol(key); + makeSymbol = function(key2) { + return Symbol(key2); }; } else { - makeSymbol = function(key) { - return "_" + key; + makeSymbol = function(key2) { + return "_" + key2; }; } var MAX = makeSymbol("max"); @@ -10558,49 +7076,49 @@ var require_lru_cache = __commonJS({ return this[LRU_LIST]; }; LRUCache.prototype.inspect = function(n, opts) { - var str = "LRUCache {"; + var str2 = "LRUCache {"; var extras = false; var as = this[ALLOW_STALE]; if (as) { - str += "\n allowStale: true"; + str2 += "\n allowStale: true"; extras = true; } var max = this[MAX]; if (max && max !== Infinity) { if (extras) { - str += ","; + str2 += ","; } - str += "\n max: " + util.inspect(max, opts); + str2 += "\n max: " + util2.inspect(max, opts); extras = true; } var maxAge = this[MAX_AGE]; if (maxAge) { if (extras) { - str += ","; + str2 += ","; } - str += "\n maxAge: " + util.inspect(maxAge, opts); + str2 += "\n maxAge: " + util2.inspect(maxAge, opts); extras = true; } var lc = this[LENGTH_CALCULATOR]; if (lc && lc !== naiveLength) { if (extras) { - str += ","; + str2 += ","; } - str += "\n length: " + util.inspect(this[LENGTH], opts); + str2 += "\n length: " + util2.inspect(this[LENGTH], opts); extras = true; } var didFirst = false; this[LRU_LIST].forEach(function(item) { if (didFirst) { - str += ",\n "; + str2 += ",\n "; } else { if (extras) { - str += ",\n"; + str2 += ",\n"; } didFirst = true; - str += "\n "; + str2 += "\n "; } - var key = util.inspect(item.key).split("\n").join("\n "); + var key2 = util2.inspect(item.key).split("\n").join("\n "); var val = { value: item.value }; if (item.maxAge !== maxAge) { val.maxAge = item.maxAge; @@ -10611,29 +7129,29 @@ var require_lru_cache = __commonJS({ if (isStale(this, item)) { val.stale = true; } - val = util.inspect(val, opts).split("\n").join("\n "); - str += key + " => " + val; + val = util2.inspect(val, opts).split("\n").join("\n "); + str2 += key2 + " => " + val; }); if (didFirst || extras) { - str += "\n"; + str2 += "\n"; } - str += "}"; - return str; + str2 += "}"; + return str2; }; - LRUCache.prototype.set = function(key, value, maxAge) { + LRUCache.prototype.set = function(key2, value, maxAge) { maxAge = maxAge || this[MAX_AGE]; var now = maxAge ? Date.now() : 0; - var len = this[LENGTH_CALCULATOR](value, key); - if (this[CACHE].has(key)) { + var len = this[LENGTH_CALCULATOR](value, key2); + if (this[CACHE].has(key2)) { if (len > this[MAX]) { - del(this, this[CACHE].get(key)); + del(this, this[CACHE].get(key2)); return false; } - var node = this[CACHE].get(key); + var node = this[CACHE].get(key2); var item = node.value; if (this[DISPOSE]) { if (!this[NO_DISPOSE_ON_SET]) { - this[DISPOSE](key, item.value); + this[DISPOSE](key2, item.value); } } item.now = now; @@ -10641,47 +7159,45 @@ var require_lru_cache = __commonJS({ item.value = value; this[LENGTH] += len - item.length; item.length = len; - this.get(key); + this.get(key2); trim2(this); return true; } - var hit = new Entry(key, value, len, now, maxAge); + var hit = new Entry(key2, value, len, now, maxAge); if (hit.length > this[MAX]) { if (this[DISPOSE]) { - this[DISPOSE](key, value); + this[DISPOSE](key2, value); } return false; } this[LENGTH] += hit.length; this[LRU_LIST].unshift(hit); - this[CACHE].set(key, this[LRU_LIST].head); + this[CACHE].set(key2, this[LRU_LIST].head); trim2(this); return true; }; - LRUCache.prototype.has = function(key) { - if (!this[CACHE].has(key)) - return false; - var hit = this[CACHE].get(key).value; + LRUCache.prototype.has = function(key2) { + if (!this[CACHE].has(key2)) return false; + var hit = this[CACHE].get(key2).value; if (isStale(this, hit)) { return false; } return true; }; - LRUCache.prototype.get = function(key) { - return get(this, key, true); + LRUCache.prototype.get = function(key2) { + return get(this, key2, true); }; - LRUCache.prototype.peek = function(key) { - return get(this, key, false); + LRUCache.prototype.peek = function(key2) { + return get(this, key2, false); }; LRUCache.prototype.pop = function() { var node = this[LRU_LIST].tail; - if (!node) - return null; + if (!node) return null; del(this, node); return node.value; }; - LRUCache.prototype.del = function(key) { - del(this, this[CACHE].get(key)); + LRUCache.prototype.del = function(key2) { + del(this, this[CACHE].get(key2)); }; LRUCache.prototype.load = function(arr) { this.reset(); @@ -10701,25 +7217,23 @@ var require_lru_cache = __commonJS({ }; LRUCache.prototype.prune = function() { var self = this; - this[CACHE].forEach(function(value, key) { - get(self, key, false); + this[CACHE].forEach(function(value, key2) { + get(self, key2, false); }); }; - function get(self, key, doUse) { - var node = self[CACHE].get(key); + function get(self, key2, doUse) { + var node = self[CACHE].get(key2); if (node) { var hit = node.value; if (isStale(self, hit)) { del(self, node); - if (!self[ALLOW_STALE]) - hit = void 0; + if (!self[ALLOW_STALE]) hit = void 0; } else { if (doUse) { self[LRU_LIST].unshiftNode(node); } } - if (hit) - hit = hit.value; + if (hit) hit = hit.value; } return hit; } @@ -10728,11 +7242,11 @@ var require_lru_cache = __commonJS({ return false; } var stale = false; - var diff = Date.now() - hit.now; + var diff2 = Date.now() - hit.now; if (hit.maxAge) { - stale = diff > hit.maxAge; + stale = diff2 > hit.maxAge; } else { - stale = self[MAX_AGE] && diff > self[MAX_AGE]; + stale = self[MAX_AGE] && diff2 > self[MAX_AGE]; } return stale; } @@ -10756,8 +7270,8 @@ var require_lru_cache = __commonJS({ self[LRU_LIST].removeNode(node); } } - function Entry(key, value, length, now, maxAge) { - this.key = key; + function Entry(key2, value, length, now, maxAge) { + this.key = key2; this.value = value; this.length = length; this.now = now; @@ -10776,8 +7290,7 @@ var require_sigmund = __commonJS({ var analysis = ""; var RE = RegExp; function psychoAnalyze(subject2, session) { - if (session > maxSessions) - return; + if (session > maxSessions) return; if (typeof subject2 === "function" || typeof subject2 === "undefined") { return; } @@ -10785,16 +7298,13 @@ var require_sigmund = __commonJS({ analysis += subject2; return; } - if (notes.indexOf(subject2) !== -1 || session === maxSessions) - return; + if (notes.indexOf(subject2) !== -1 || session === maxSessions) return; notes.push(subject2); analysis += "{"; Object.keys(subject2).forEach(function(issue, _, __) { - if (issue.charAt(0) === "_") - return; + if (issue.charAt(0) === "_") return; var to = typeof subject2[issue]; - if (to === "function" || to === "undefined") - return; + if (to === "function" || to === "undefined") return; analysis += issue; psychoAnalyze(subject2[issue], session + 1); }); @@ -10809,25 +7319,23 @@ var require_sigmund = __commonJS({ var require_fnmatch = __commonJS({ "node_modules/editorconfig/src/lib/fnmatch.js"(exports, module) { var platform = typeof process === "object" ? process.platform : "win32"; - if (module) - module.exports = minimatch; - else - exports.minimatch = minimatch; + if (module) module.exports = minimatch; + else exports.minimatch = minimatch; minimatch.Minimatch = Minimatch; var LRU = require_lru_cache(); - var cache = minimatch.cache = new LRU({ max: 100 }); + var cache3 = minimatch.cache = new LRU({ max: 100 }); var GLOBSTAR = minimatch.GLOBSTAR = Minimatch.GLOBSTAR = {}; var sigmund = require_sigmund(); - var path9 = __require("path"); + var path13 = __require("path"); var qmark = "[^/]"; var star = qmark + "*?"; var twoStarDot = "(?:(?!(?:\\/|^)(?:\\.{1,2})($|\\/)).)*?"; var twoStarNoDot = "(?:(?!(?:\\/|^)\\.).)*?"; var reSpecials = charSet("().*{}+?[]^$\\!"); function charSet(s) { - return s.split("").reduce(function(set, c) { - set[c] = true; - return set; + return s.split("").reduce(function(set2, c2) { + set2[c2] = true; + return set2; }, {}); } var slashSplit = /\/+/; @@ -10836,14 +7344,13 @@ var require_fnmatch = __commonJS({ var desc = Object.getOwnPropertyDescriptor(String.prototype, "match"); var orig = desc.value; desc.value = function(p) { - if (p instanceof Minimatch) - return p.match(this); + if (p instanceof Minimatch) return p.match(this); return orig.call(this, p); }; Object.defineProperty(String.prototype, desc); } - minimatch.filter = filter; - function filter(pattern, options8) { + minimatch.filter = filter2; + function filter2(pattern, options8) { options8 = options8 || {}; return function(p, i, list) { return minimatch(p, pattern, options8); @@ -10862,8 +7369,7 @@ var require_fnmatch = __commonJS({ return t; } minimatch.defaults = function(def) { - if (!def || !Object.keys(def).length) - return minimatch; + if (!def || !Object.keys(def).length) return minimatch; var orig = minimatch; var m = function minimatch2(p, pattern, options8) { return orig.minimatch(p, pattern, ext(def, options8)); @@ -10874,39 +7380,34 @@ var require_fnmatch = __commonJS({ return m; }; Minimatch.defaults = function(def) { - if (!def || !Object.keys(def).length) - return Minimatch; + if (!def || !Object.keys(def).length) return Minimatch; return minimatch.defaults(def).Minimatch; }; function minimatch(p, pattern, options8) { if (typeof pattern !== "string") { throw new TypeError("glob pattern string required"); } - if (!options8) - options8 = {}; + if (!options8) options8 = {}; if (!options8.nocomment && pattern.charAt(0) === "#") { return false; } - if (pattern.trim() === "") - return p === ""; + if (pattern.trim() === "") return p === ""; return new Minimatch(pattern, options8).match(p); } function Minimatch(pattern, options8) { if (!(this instanceof Minimatch)) { - return new Minimatch(pattern, options8, cache); + return new Minimatch(pattern, options8, cache3); } if (typeof pattern !== "string") { throw new TypeError("glob pattern string required"); } - if (!options8) - options8 = {}; + if (!options8) options8 = {}; if (platform === "win32") { pattern = pattern.split("\\").join("/"); } var cacheKey = pattern + "\n" + sigmund(options8); var cached = minimatch.cache.get(cacheKey); - if (cached) - return cached; + if (cached) return cached; minimatch.cache.set(cacheKey, this); this.options = options8; this.set = []; @@ -10919,8 +7420,7 @@ var require_fnmatch = __commonJS({ } Minimatch.prototype.make = make; function make() { - if (this._made) - return; + if (this._made) return; var pattern = this.pattern; var options8 = this.options; if (!options8.nocomment && pattern.charAt(0) === "#") { @@ -10932,37 +7432,31 @@ var require_fnmatch = __commonJS({ return; } this.parseNegate(); - var set = this.globSet = this.braceExpand(); - if (options8.debug) - console.error(this.pattern, set); - set = this.globParts = set.map(function(s) { + var set2 = this.globSet = this.braceExpand(); + if (options8.debug) console.error(this.pattern, set2); + set2 = this.globParts = set2.map(function(s) { return s.split(slashSplit); }); - if (options8.debug) - console.error(this.pattern, set); - set = set.map(function(s, si, set2) { + if (options8.debug) console.error(this.pattern, set2); + set2 = set2.map(function(s, si, set3) { return s.map(this.parse, this); }, this); - if (options8.debug) - console.error(this.pattern, set); - set = set.filter(function(s) { + if (options8.debug) console.error(this.pattern, set2); + set2 = set2.filter(function(s) { return -1 === s.indexOf(false); }); - if (options8.debug) - console.error(this.pattern, set); - this.set = set; + if (options8.debug) console.error(this.pattern, set2); + this.set = set2; } Minimatch.prototype.parseNegate = parseNegate; function parseNegate() { var pattern = this.pattern, negate = false, options8 = this.options, negateOffset = 0; - if (options8.nonegate) - return; + if (options8.nonegate) return; for (var i = 0, l = pattern.length; i < l && pattern.charAt(i) === "!"; i++) { negate = !negate; negateOffset++; } - if (negateOffset) - this.pattern = pattern.substr(negateOffset); + if (negateOffset) this.pattern = pattern.substr(negateOffset); this.negate = negate; } minimatch.braceExpand = function(pattern, options8) { @@ -10982,10 +7476,10 @@ var require_fnmatch = __commonJS({ if (pattern.charAt(0) !== "{") { var prefix = null; for (var i = 0, l = pattern.length; i < l; i++) { - var c = pattern.charAt(i); - if (c === "\\") { + var c2 = pattern.charAt(i); + if (c2 === "\\") { escaping = !escaping; - } else if (c === "{" && !escaping) { + } else if (c2 === "{" && !escaping) { prefix = pattern.substr(0, i); break; } @@ -11000,89 +7494,86 @@ var require_fnmatch = __commonJS({ } var numset = pattern.match(/^\{(-?[0-9]+)\.\.(-?[0-9]+)\}/); if (numset) { - var suf = braceExpand(pattern.substr(numset[0].length), options8), start = +numset[1], end = +numset[2], inc = start > end ? -1 : 1, set = []; + var suf = braceExpand(pattern.substr(numset[0].length), options8), start = +numset[1], end = +numset[2], inc = start > end ? -1 : 1, set2 = []; for (var i = start; i != end + inc; i += inc) { for (var ii = 0, ll = suf.length; ii < ll; ii++) { - set.push(i + suf[ii]); + set2.push(i + suf[ii]); } } - return set; + return set2; } - var i = 1, depth = 1, set = [], member = "", sawEnd = false, escaping = false; + var i = 1, depth = 1, set2 = [], member = "", sawEnd = false, escaping = false; function addMember() { - set.push(member); + set2.push(member); member = ""; } - FOR: - for (i = 1, l = pattern.length; i < l; i++) { - var c = pattern.charAt(i); - if (escaping) { - escaping = false; - member += "\\" + c; - } else { - switch (c) { - case "\\": - escaping = true; - continue; - case "{": - depth++; - member += "{"; - continue; - case "}": - depth--; - if (depth === 0) { - addMember(); - i++; - break FOR; - } else { - member += c; - continue; - } - case ",": - if (depth === 1) { - addMember(); - } else { - member += c; - } - continue; - default: - member += c; + FOR: for (i = 1, l = pattern.length; i < l; i++) { + var c2 = pattern.charAt(i); + if (escaping) { + escaping = false; + member += "\\" + c2; + } else { + switch (c2) { + case "\\": + escaping = true; + continue; + case "{": + depth++; + member += "{"; + continue; + case "}": + depth--; + if (depth === 0) { + addMember(); + i++; + break FOR; + } else { + member += c2; continue; - } + } + case ",": + if (depth === 1) { + addMember(); + } else { + member += c2; + } + continue; + default: + member += c2; + continue; } } + } if (depth !== 0) { return braceExpand("\\" + pattern, options8); } var suf = braceExpand(pattern.substr(i), options8); - var addBraces = set.length === 1; - set = set.map(function(p) { + var addBraces = set2.length === 1; + set2 = set2.map(function(p) { return braceExpand(p, options8); }); - set = set.reduce(function(l2, r) { + set2 = set2.reduce(function(l2, r) { return l2.concat(r); }); if (addBraces) { - set = set.map(function(s) { + set2 = set2.map(function(s) { return "{" + s + "}"; }); } var ret = []; - for (var i = 0, l = set.length; i < l; i++) { + for (var i = 0, l = set2.length; i < l; i++) { for (var ii = 0, ll = suf.length; ii < ll; ii++) { - ret.push(set[i] + suf[ii]); + ret.push(set2[i] + suf[ii]); } } return ret; } - Minimatch.prototype.parse = parse3; + Minimatch.prototype.parse = parse6; var SUBPARSE = {}; - function parse3(pattern, isSub) { + function parse6(pattern, isSub) { var options8 = this.options; - if (!options8.noglobstar && pattern === "**") - return GLOBSTAR; - if (pattern === "") - return ""; + if (!options8.noglobstar && pattern === "**") return GLOBSTAR; + if (pattern === "") return ""; var re = "", hasMagic = !!options8.nocase, escaping = false, patternListStack = [], plType, stateChar, inClass = false, reClassStart = -1, classStart = -1, patternStart = pattern.charAt(0) === "." ? "" : options8.dot ? "(?!(?:^|\\/)\\.{1,2}(?:$|\\/))" : "(?!\\.)"; function clearStateChar() { if (stateChar) { @@ -11102,118 +7593,115 @@ var require_fnmatch = __commonJS({ stateChar = false; } } - for (var i = 0, len = pattern.length, c; i < len && (c = pattern.charAt(i)); i++) { + for (var i = 0, len = pattern.length, c2; i < len && (c2 = pattern.charAt(i)); i++) { if (options8.debug) { - console.error("%s %s %s %j", pattern, i, re, c); + console.error("%s %s %s %j", pattern, i, re, c2); } - if (escaping && reSpecials[c]) { - re += "\\" + c; + if (escaping && reSpecials[c2]) { + re += "\\" + c2; escaping = false; continue; } - SWITCH: - switch (c) { - case "/": - return false; - case "\\": - clearStateChar(); - escaping = true; + SWITCH: switch (c2) { + case "/": + return false; + case "\\": + clearStateChar(); + escaping = true; + continue; + case "?": + case "*": + case "+": + case "@": + case "!": + if (options8.debug) { + console.error("%s %s %s %j <-- stateChar", pattern, i, re, c2); + } + if (inClass) { + if (c2 === "!" && i === classStart + 1) c2 = "^"; + re += c2; continue; - case "?": - case "*": - case "+": - case "@": - case "!": - if (options8.debug) { - console.error("%s %s %s %j <-- stateChar", pattern, i, re, c); - } - if (inClass) { - if (c === "!" && i === classStart + 1) - c = "^"; - re += c; - continue; - } - clearStateChar(); - stateChar = c; - if (options8.noext) - clearStateChar(); + } + clearStateChar(); + stateChar = c2; + if (options8.noext) clearStateChar(); + continue; + case "(": + if (inClass) { + re += "("; continue; - case "(": - if (inClass) { - re += "("; - continue; - } - if (!stateChar) { - re += "\\("; - continue; - } - plType = stateChar; - patternListStack.push({ - type: plType, - start: i - 1, - reStart: re.length - }); - re += stateChar === "!" ? "(?:(?!" : "(?:"; - stateChar = false; + } + if (!stateChar) { + re += "\\("; continue; - case ")": - if (inClass || !patternListStack.length) { - re += "\\)"; - continue; - } - hasMagic = true; - re += ")"; - plType = patternListStack.pop().type; - switch (plType) { - case "!": - re += "[^/]*?)"; - break; - case "?": - case "+": - case "*": - re += plType; - case "@": - break; - } + } + plType = stateChar; + patternListStack.push({ + type: plType, + start: i - 1, + reStart: re.length + }); + re += stateChar === "!" ? "(?:(?!" : "(?:"; + stateChar = false; + continue; + case ")": + if (inClass || !patternListStack.length) { + re += "\\)"; continue; - case "|": - if (inClass || !patternListStack.length || escaping) { - re += "\\|"; - escaping = false; - continue; - } - re += "|"; + } + hasMagic = true; + re += ")"; + plType = patternListStack.pop().type; + switch (plType) { + case "!": + re += "[^/]*?)"; + break; + case "?": + case "+": + case "*": + re += plType; + case "@": + break; + } + continue; + case "|": + if (inClass || !patternListStack.length || escaping) { + re += "\\|"; + escaping = false; continue; - case "[": - clearStateChar(); - if (inClass) { - re += "\\" + c; - continue; - } - inClass = true; - classStart = i; - reClassStart = re.length; - re += c; + } + re += "|"; + continue; + case "[": + clearStateChar(); + if (inClass) { + re += "\\" + c2; continue; - case "]": - if (i === classStart + 1 || !inClass) { - re += "\\" + c; - escaping = false; - continue; - } - hasMagic = true; - inClass = false; - re += c; + } + inClass = true; + classStart = i; + reClassStart = re.length; + re += c2; + continue; + case "]": + if (i === classStart + 1 || !inClass) { + re += "\\" + c2; + escaping = false; continue; - default: - clearStateChar(); - if (escaping) { - escaping = false; - } else if (reSpecials[c] && !(c === "^" && inClass)) { - re += "\\"; - } - re += c; - } + } + hasMagic = true; + inClass = false; + re += c2; + continue; + default: + clearStateChar(); + if (escaping) { + escaping = false; + } else if (reSpecials[c2] && !(c2 === "^" && inClass)) { + re += "\\"; + } + re += c2; + } } if (inClass) { var cs = pattern.substr(classStart + 1), sp = this.parse(cs, SUBPARSE); @@ -11244,10 +7732,8 @@ var require_fnmatch = __commonJS({ case "(": addPatternStart = true; } - if (re !== "" && hasMagic) - re = "(?=.)" + re; - if (addPatternStart) - re = patternStart + re; + if (re !== "" && hasMagic) re = "(?=.)" + re; + if (addPatternStart) re = patternStart + re; if (isSub === SUBPARSE) { return [re, hasMagic]; } @@ -11264,21 +7750,18 @@ var require_fnmatch = __commonJS({ }; Minimatch.prototype.makeRe = makeRe; function makeRe() { - if (this.regexp || this.regexp === false) - return this.regexp; - var set = this.set; - if (!set.length) - return this.regexp = false; + if (this.regexp || this.regexp === false) return this.regexp; + var set2 = this.set; + if (!set2.length) return this.regexp = false; var options8 = this.options; var twoStar = options8.noglobstar ? star : options8.dot ? twoStarDot : twoStarNoDot, flags = options8.nocase ? "i" : ""; - var re = set.map(function(pattern) { + var re = set2.map(function(pattern) { return pattern.map(function(p) { return p === GLOBSTAR ? twoStar : typeof p === "string" ? regExpEscape(p) : p._src; }).join("\\/"); }).join("|"); re = "^(?:" + re + ")$"; - if (this.negate) - re = "^(?!" + re + ").*$"; + if (this.negate) re = "^(?!" + re + ").*$"; try { return this.regexp = new RegExp(re, flags); } catch (ex) { @@ -11297,12 +7780,9 @@ var require_fnmatch = __commonJS({ }; Minimatch.prototype.match = match; function match(f, partial) { - if (this.comment) - return false; - if (this.empty) - return f === ""; - if (f === "/" && partial) - return true; + if (this.comment) return false; + if (this.empty) return f === ""; + if (f === "/" && partial) return true; var options8 = this.options; if (platform === "win32") { f = f.split("\\").join("/"); @@ -11311,18 +7791,16 @@ var require_fnmatch = __commonJS({ if (options8.debug) { console.error(this.pattern, "split", f); } - var set = this.set; - for (var i = 0, l = set.length; i < l; i++) { - var pattern = set[i]; + var set2 = this.set; + for (var i = 0, l = set2.length; i < l; i++) { + var pattern = set2[i]; var hit = this.matchOne(f, pattern, partial); if (hit) { - if (options8.flipNegate) - return true; + if (options8.flipNegate) return true; return !this.negate; } } - if (options8.flipNegate) - return false; + if (options8.flipNegate) return false; return this.negate; } Minimatch.prototype.matchOne = function(file, pattern, partial) { @@ -11338,7 +7816,7 @@ var require_fnmatch = __commonJS({ ); } if (options8.matchBase && pattern.length === 1) { - file = path9.basename(file.join("/")).split("/"); + file = path13.basename(file.join("/")).split("/"); } if (options8.debug) { console.error("matchOne", file.length, pattern.length); @@ -11351,8 +7829,7 @@ var require_fnmatch = __commonJS({ if (options8.debug) { console.error(pattern, p, f); } - if (p === false) - return false; + if (p === false) return false; if (p === GLOBSTAR) { if (options8.debug) console.error("GLOBSTAR", [pattern, p, f]); @@ -11361,42 +7838,39 @@ var require_fnmatch = __commonJS({ if (options8.debug) console.error("** at the end"); for (; fi < fl; fi++) { - if (file[fi] === "." || file[fi] === ".." || !options8.dot && file[fi].charAt(0) === ".") - return false; + if (file[fi] === "." || file[fi] === ".." || !options8.dot && file[fi].charAt(0) === ".") return false; } return true; } - WHILE: - while (fr < fl) { - var swallowee = file[fr]; - if (options8.debug) { - console.error( - "\nglobstar while", - file, - fr, - pattern, - pr, - swallowee - ); - } - if (this.matchOne(file.slice(fr), pattern.slice(pr), partial)) { - if (options8.debug) - console.error("globstar found match!", fr, fl, swallowee); - return true; - } else { - if (swallowee === "." || swallowee === ".." || !options8.dot && swallowee.charAt(0) === ".") { - if (options8.debug) - console.error("dot detected!", file, fr, pattern, pr); - break WHILE; - } + WHILE: while (fr < fl) { + var swallowee = file[fr]; + if (options8.debug) { + console.error( + "\nglobstar while", + file, + fr, + pattern, + pr, + swallowee + ); + } + if (this.matchOne(file.slice(fr), pattern.slice(pr), partial)) { + if (options8.debug) + console.error("globstar found match!", fr, fl, swallowee); + return true; + } else { + if (swallowee === "." || swallowee === ".." || !options8.dot && swallowee.charAt(0) === ".") { if (options8.debug) - console.error("globstar swallow a segment, and continue"); - fr++; + console.error("dot detected!", file, fr, pattern, pr); + break WHILE; } + if (options8.debug) + console.error("globstar swallow a segment, and continue"); + fr++; } + } if (partial) { - if (fr === fl) - return true; + if (fr === fl) return true; } return false; } @@ -11416,8 +7890,7 @@ var require_fnmatch = __commonJS({ console.error("pattern match", p, f, hit); } } - if (!hit) - return false; + if (!hit) return false; } if (fi === fl && pi === pl) { return true; @@ -11442,8 +7915,8 @@ var require_fnmatch = __commonJS({ var require_ini = __commonJS({ "node_modules/editorconfig/src/lib/ini.js"(exports) { "use strict"; - var __awaiter2 = exports && exports.__awaiter || function(thisArg, _arguments, P, generator) { - return new (P || (P = Promise))(function(resolve2, reject) { + var __awaiter = exports && exports.__awaiter || function(thisArg, _arguments, P, generator) { + return new (P || (P = Promise))(function(resolve3, reject) { function fulfilled(value) { try { step(generator.next(value)); @@ -11459,17 +7932,16 @@ var require_ini = __commonJS({ } } function step(result) { - result.done ? resolve2(result.value) : new P(function(resolve3) { - resolve3(result.value); + result.done ? resolve3(result.value) : new P(function(resolve4) { + resolve4(result.value); }).then(fulfilled, rejected); } step((generator = generator.apply(thisArg, _arguments || [])).next()); }); }; - var __generator2 = exports && exports.__generator || function(thisArg, body) { + var __generator = exports && exports.__generator || function(thisArg, body) { var _ = { label: 0, sent: function() { - if (t[0] & 1) - throw t[1]; + if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g; return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { @@ -11481,104 +7953,95 @@ var require_ini = __commonJS({ }; } function step(op) { - if (f) - throw new TypeError("Generator is already executing."); - while (_) - try { - 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; - if (y = 0, t) - op = [op[0] & 2, t.value]; - switch (op[0]) { - case 0: - case 1: + if (f) throw new TypeError("Generator is already executing."); + while (_) try { + 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; + if (y = 0, t) op = [op[0] & 2, t.value]; + switch (op[0]) { + case 0: + case 1: + t = op; + break; + case 4: + _.label++; + return { value: op[1], done: false }; + case 5: + _.label++; + y = op[1]; + op = [0]; + continue; + case 7: + op = _.ops.pop(); + _.trys.pop(); + continue; + default: + if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { + _ = 0; + continue; + } + if (op[0] === 3 && (!t || op[1] > t[0] && op[1] < t[3])) { + _.label = op[1]; + break; + } + if (op[0] === 6 && _.label < t[1]) { + _.label = t[1]; t = op; break; - case 4: - _.label++; - return { value: op[1], done: false }; - case 5: - _.label++; - y = op[1]; - op = [0]; - continue; - case 7: - op = _.ops.pop(); - _.trys.pop(); - continue; - default: - if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { - _ = 0; - continue; - } - if (op[0] === 3 && (!t || op[1] > t[0] && op[1] < t[3])) { - _.label = op[1]; - break; - } - if (op[0] === 6 && _.label < t[1]) { - _.label = t[1]; - t = op; - break; - } - if (t && _.label < t[2]) { - _.label = t[2]; - _.ops.push(op); - break; - } - if (t[2]) - _.ops.pop(); - _.trys.pop(); - continue; - } - op = body.call(thisArg, _); - } catch (e) { - op = [6, e]; - y = 0; - } finally { - f = t = 0; + } + if (t && _.label < t[2]) { + _.label = t[2]; + _.ops.push(op); + break; + } + if (t[2]) _.ops.pop(); + _.trys.pop(); + continue; } - if (op[0] & 5) - throw op[1]; + op = body.call(thisArg, _); + } catch (e) { + op = [6, e]; + y = 0; + } finally { + f = t = 0; + } + if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true }; } }; - var __importStar2 = exports && exports.__importStar || function(mod) { - if (mod && mod.__esModule) - return mod; + var __importStar = exports && exports.__importStar || function(mod) { + if (mod && mod.__esModule) return mod; var result = {}; if (mod != null) { - for (var k in mod) - if (Object.hasOwnProperty.call(mod, k)) - result[k] = mod[k]; + for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k]; } result["default"] = mod; return result; }; Object.defineProperty(exports, "__esModule", { value: true }); - var fs5 = __importStar2(__require("fs")); + var fs7 = __importStar(__require("fs")); var regex = { section: /^\s*\[(([^#;]|\\#|\\;)+)\]\s*([#;].*)?$/, param: /^\s*([\w\.\-\_]+)\s*[=:]\s*(.*?)\s*([#;].*)?$/, comment: /^\s*[#;].*$/ }; - function parse3(file) { - return __awaiter2(this, void 0, void 0, function() { - return __generator2(this, function(_a) { - return [2, new Promise(function(resolve2, reject) { - fs5.readFile(file, "utf8", function(err, data) { + function parse6(file) { + return __awaiter(this, void 0, void 0, function() { + return __generator(this, function(_a) { + return [2, new Promise(function(resolve3, reject) { + fs7.readFile(file, "utf8", function(err, data) { if (err) { reject(err); return; } - resolve2(parseString(data)); + resolve3(parseString(data)); }); })]; }); }); } - exports.parse = parse3; + exports.parse = parse6; function parseSync(file) { - return parseString(fs5.readFileSync(file, "utf8")); + return parseString(fs7.readFileSync(file, "utf8")); } exports.parseSync = parseSync; function parseString(data) { @@ -11586,16 +8049,16 @@ var require_ini = __commonJS({ var sectionName = null; var value = [[sectionName, sectionBody]]; var lines = data.split(/\r\n|\r|\n/); - lines.forEach(function(line2) { + lines.forEach(function(line3) { var match; - if (regex.comment.test(line2)) { + if (regex.comment.test(line3)) { return; } - if (regex.param.test(line2)) { - match = line2.match(regex.param); + if (regex.param.test(line3)) { + match = line3.match(regex.param); sectionBody[match[1]] = match[2]; - } else if (regex.section.test(line2)) { - match = line2.match(regex.section); + } else if (regex.section.test(line3)) { + match = line3.match(regex.section); sectionName = match[1]; sectionBody = {}; value.push([sectionName, sectionBody]); @@ -11676,8 +8139,8 @@ var require_package = __commonJS({ var require_src = __commonJS({ "node_modules/editorconfig/src/index.js"(exports) { "use strict"; - var __awaiter2 = exports && exports.__awaiter || function(thisArg, _arguments, P, generator) { - return new (P || (P = Promise))(function(resolve2, reject) { + var __awaiter = exports && exports.__awaiter || function(thisArg, _arguments, P, generator) { + return new (P || (P = Promise))(function(resolve3, reject) { function fulfilled(value) { try { step(generator.next(value)); @@ -11693,17 +8156,16 @@ var require_src = __commonJS({ } } function step(result) { - result.done ? resolve2(result.value) : new P(function(resolve3) { - resolve3(result.value); + result.done ? resolve3(result.value) : new P(function(resolve4) { + resolve4(result.value); }).then(fulfilled, rejected); } step((generator = generator.apply(thisArg, _arguments || [])).next()); }); }; - var __generator2 = exports && exports.__generator || function(thisArg, body) { + var __generator = exports && exports.__generator || function(thisArg, body) { var _ = { label: 0, sent: function() { - if (t[0] & 1) - throw t[1]; + if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g; return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { @@ -11715,92 +8177,83 @@ var require_src = __commonJS({ }; } function step(op) { - if (f) - throw new TypeError("Generator is already executing."); - while (_) - try { - 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; - if (y = 0, t) - op = [op[0] & 2, t.value]; - switch (op[0]) { - case 0: - case 1: + if (f) throw new TypeError("Generator is already executing."); + while (_) try { + 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; + if (y = 0, t) op = [op[0] & 2, t.value]; + switch (op[0]) { + case 0: + case 1: + t = op; + break; + case 4: + _.label++; + return { value: op[1], done: false }; + case 5: + _.label++; + y = op[1]; + op = [0]; + continue; + case 7: + op = _.ops.pop(); + _.trys.pop(); + continue; + default: + if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { + _ = 0; + continue; + } + if (op[0] === 3 && (!t || op[1] > t[0] && op[1] < t[3])) { + _.label = op[1]; + break; + } + if (op[0] === 6 && _.label < t[1]) { + _.label = t[1]; t = op; break; - case 4: - _.label++; - return { value: op[1], done: false }; - case 5: - _.label++; - y = op[1]; - op = [0]; - continue; - case 7: - op = _.ops.pop(); - _.trys.pop(); - continue; - default: - if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { - _ = 0; - continue; - } - if (op[0] === 3 && (!t || op[1] > t[0] && op[1] < t[3])) { - _.label = op[1]; - break; - } - if (op[0] === 6 && _.label < t[1]) { - _.label = t[1]; - t = op; - break; - } - if (t && _.label < t[2]) { - _.label = t[2]; - _.ops.push(op); - break; - } - if (t[2]) - _.ops.pop(); - _.trys.pop(); - continue; - } - op = body.call(thisArg, _); - } catch (e) { - op = [6, e]; - y = 0; - } finally { - f = t = 0; + } + if (t && _.label < t[2]) { + _.label = t[2]; + _.ops.push(op); + break; + } + if (t[2]) _.ops.pop(); + _.trys.pop(); + continue; } - if (op[0] & 5) - throw op[1]; + op = body.call(thisArg, _); + } catch (e) { + op = [6, e]; + y = 0; + } finally { + f = t = 0; + } + if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true }; } }; - var __importStar2 = exports && exports.__importStar || function(mod) { - if (mod && mod.__esModule) - return mod; + var __importStar = exports && exports.__importStar || function(mod) { + if (mod && mod.__esModule) return mod; var result = {}; if (mod != null) { - for (var k in mod) - if (Object.hasOwnProperty.call(mod, k)) - result[k] = mod[k]; + for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k]; } result["default"] = mod; return result; }; - var __importDefault2 = exports && exports.__importDefault || function(mod) { + var __importDefault = exports && exports.__importDefault || function(mod) { return mod && mod.__esModule ? mod : { "default": mod }; }; Object.defineProperty(exports, "__esModule", { value: true }); - var fs5 = __importStar2(__require("fs")); - var path9 = __importStar2(__require("path")); + var fs7 = __importStar(__require("fs")); + var path13 = __importStar(__require("path")); var semver = { gte: require_gte() }; - var fnmatch_1 = __importDefault2(require_fnmatch()); + var fnmatch_1 = __importDefault(require_fnmatch()); var ini_1 = require_ini(); exports.parseString = ini_1.parseString; - var package_json_1 = __importDefault2(require_package()); + var package_json_1 = __importDefault(require_package()); var knownProps = { end_of_line: true, indent_style: true, @@ -11817,8 +8270,8 @@ var require_src = __commonJS({ function getConfigFileNames(filepath, options8) { var paths = []; do { - filepath = path9.dirname(filepath); - paths.push(path9.join(filepath, options8.config)); + filepath = path13.dirname(filepath); + paths.push(path13.join(filepath, options8.config)); } while (filepath !== options8.root); return paths; } @@ -11841,7 +8294,7 @@ var require_src = __commonJS({ return { config: options8.config || ".editorconfig", version: options8.version || package_json_1.default.version, - root: path9.resolve(options8.root || path9.parse(filepath).root) + root: path13.resolve(options8.root || path13.parse(filepath).root) }; } function buildFullGlob(pathPrefix, glob) { @@ -11855,7 +8308,7 @@ var require_src = __commonJS({ default: break; } - return path9.join(pathPrefix, glob); + return path13.join(pathPrefix, glob); } function extendProps(props, options8) { if (props === void 0) { @@ -11864,12 +8317,12 @@ var require_src = __commonJS({ if (options8 === void 0) { options8 = {}; } - for (var key in options8) { - if (options8.hasOwnProperty(key)) { - var value = options8[key]; - var key2 = key.toLowerCase(); + for (var key2 in options8) { + if (options8.hasOwnProperty(key2)) { + var value = options8[key2]; + var key22 = key2.toLowerCase(); var value2 = value; - if (knownProps[key2]) { + if (knownProps[key22]) { value2 = value.toLowerCase(); } try { @@ -11879,14 +8332,14 @@ var require_src = __commonJS({ if (typeof value === "undefined" || value === null) { value2 = String(value); } - props[key2] = value2; + props[key22] = value2; } } return props; } function parseFromConfigs(configs, filepath, options8) { return processMatches(configs.reverse().reduce(function(matches, file) { - var pathPrefix = path9.dirname(file.name); + var pathPrefix = path13.dirname(file.name); file.contents.forEach(function(section) { var glob = section[0]; var options22 = section[1]; @@ -11920,12 +8373,12 @@ var require_src = __commonJS({ return configs; } function readConfigFiles(filepaths) { - return __awaiter2(this, void 0, void 0, function() { - return __generator2(this, function(_a) { + return __awaiter(this, void 0, void 0, function() { + return __generator(this, function(_a) { return [2, Promise.all(filepaths.map(function(name) { - return new Promise(function(resolve2) { - fs5.readFile(name, "utf8", function(err, data) { - resolve2({ + return new Promise(function(resolve3) { + fs7.readFile(name, "utf8", function(err, data) { + resolve3({ name, contents: err ? "" : data }); @@ -11940,7 +8393,7 @@ var require_src = __commonJS({ var file; filepaths.forEach(function(filepath) { try { - file = fs5.readFileSync(filepath, "utf8"); + file = fs7.readFileSync(filepath, "utf8"); } catch (e) { file = ""; } @@ -11955,7 +8408,7 @@ var require_src = __commonJS({ if (options8 === void 0) { options8 = {}; } - var resolvedFilePath = path9.resolve(filepath); + var resolvedFilePath = path13.resolve(filepath); return [ resolvedFilePath, processOptions(options8, resolvedFilePath) @@ -11965,9 +8418,9 @@ var require_src = __commonJS({ if (options8 === void 0) { options8 = {}; } - return __awaiter2(this, void 0, void 0, function() { + return __awaiter(this, void 0, void 0, function() { var _a, resolvedFilePath, processedOptions; - return __generator2(this, function(_b) { + return __generator(this, function(_b) { _a = opts(filepath, options8), resolvedFilePath = _a[0], processedOptions = _a[1]; return [2, files.then(getConfigsForFiles).then(function(configs) { return parseFromConfigs(configs, resolvedFilePath, processedOptions); @@ -11984,13 +8437,13 @@ var require_src = __commonJS({ return parseFromConfigs(getConfigsForFiles(files), resolvedFilePath, processedOptions); } exports.parseFromFilesSync = parseFromFilesSync; - function parse3(_filepath, _options) { + function parse6(_filepath, _options) { if (_options === void 0) { _options = {}; } - return __awaiter2(this, void 0, void 0, function() { + return __awaiter(this, void 0, void 0, function() { var _a, resolvedFilePath, processedOptions, filepaths; - return __generator2(this, function(_b) { + return __generator(this, function(_b) { _a = opts(_filepath, _options), resolvedFilePath = _a[0], processedOptions = _a[1]; filepaths = getConfigFileNames(resolvedFilePath, processedOptions); return [2, readConfigFiles(filepaths).then(getConfigsForFiles).then(function(configs) { @@ -11999,7 +8452,7 @@ var require_src = __commonJS({ }); }); } - exports.parse = parse3; + exports.parse = parse6; function parseSync(_filepath, _options) { if (_options === void 0) { _options = {}; @@ -12013,68 +8466,419 @@ var require_src = __commonJS({ } }); -// node_modules/editorconfig-to-prettier/index.js -var require_editorconfig_to_prettier = __commonJS({ - "node_modules/editorconfig-to-prettier/index.js"(exports, module) { - module.exports = editorConfigToPrettier2; - function removeUnset(editorConfig) { - const result = {}; - const keys = Object.keys(editorConfig); - for (let i = 0; i < keys.length; i++) { - const key = keys[i]; - if (editorConfig[key] === "unset") { - continue; +// node_modules/ci-info/vendors.json +var require_vendors = __commonJS({ + "node_modules/ci-info/vendors.json"(exports, module) { + module.exports = [ + { + name: "Agola CI", + constant: "AGOLA", + env: "AGOLA_GIT_REF", + pr: "AGOLA_PULL_REQUEST_ID" + }, + { + name: "Appcircle", + constant: "APPCIRCLE", + env: "AC_APPCIRCLE" + }, + { + name: "AppVeyor", + constant: "APPVEYOR", + env: "APPVEYOR", + pr: "APPVEYOR_PULL_REQUEST_NUMBER" + }, + { + name: "AWS CodeBuild", + constant: "CODEBUILD", + env: "CODEBUILD_BUILD_ARN" + }, + { + name: "Azure Pipelines", + constant: "AZURE_PIPELINES", + env: "TF_BUILD", + pr: { + BUILD_REASON: "PullRequest" } - result[key] = editorConfig[key]; - } - return result; - } - function editorConfigToPrettier2(editorConfig) { - if (!editorConfig) { - return null; - } - editorConfig = removeUnset(editorConfig); - if (Object.keys(editorConfig).length === 0) { - return null; - } - const result = {}; - if (editorConfig.indent_style) { - result.useTabs = editorConfig.indent_style === "tab"; - } - if (editorConfig.indent_size === "tab") { - result.useTabs = true; - } - if (result.useTabs && editorConfig.tab_width) { - result.tabWidth = editorConfig.tab_width; - } else if (editorConfig.indent_style === "space" && editorConfig.indent_size && editorConfig.indent_size !== "tab") { - result.tabWidth = editorConfig.indent_size; - } else if (editorConfig.tab_width !== void 0) { - result.tabWidth = editorConfig.tab_width; - } - if (editorConfig.max_line_length) { - if (editorConfig.max_line_length === "off") { - result.printWidth = Number.POSITIVE_INFINITY; - } else { - result.printWidth = editorConfig.max_line_length; + }, + { + name: "Bamboo", + constant: "BAMBOO", + env: "bamboo_planKey" + }, + { + name: "Bitbucket Pipelines", + constant: "BITBUCKET", + env: "BITBUCKET_COMMIT", + pr: "BITBUCKET_PR_ID" + }, + { + name: "Bitrise", + constant: "BITRISE", + env: "BITRISE_IO", + pr: "BITRISE_PULL_REQUEST" + }, + { + name: "Buddy", + constant: "BUDDY", + env: "BUDDY_WORKSPACE_ID", + pr: "BUDDY_EXECUTION_PULL_REQUEST_ID" + }, + { + name: "Buildkite", + constant: "BUILDKITE", + env: "BUILDKITE", + pr: { + env: "BUILDKITE_PULL_REQUEST", + ne: "false" } + }, + { + name: "CircleCI", + constant: "CIRCLE", + env: "CIRCLECI", + pr: "CIRCLE_PULL_REQUEST" + }, + { + name: "Cirrus CI", + constant: "CIRRUS", + env: "CIRRUS_CI", + pr: "CIRRUS_PR" + }, + { + name: "Codefresh", + constant: "CODEFRESH", + env: "CF_BUILD_ID", + pr: { + any: [ + "CF_PULL_REQUEST_NUMBER", + "CF_PULL_REQUEST_ID" + ] + } + }, + { + name: "Codemagic", + constant: "CODEMAGIC", + env: "CM_BUILD_ID", + pr: "CM_PULL_REQUEST" + }, + { + name: "Codeship", + constant: "CODESHIP", + env: { + CI_NAME: "codeship" + } + }, + { + name: "Drone", + constant: "DRONE", + env: "DRONE", + pr: { + DRONE_BUILD_EVENT: "pull_request" + } + }, + { + name: "dsari", + constant: "DSARI", + env: "DSARI" + }, + { + name: "Earthly", + constant: "EARTHLY", + env: "EARTHLY_CI" + }, + { + name: "Expo Application Services", + constant: "EAS", + env: "EAS_BUILD" + }, + { + name: "Gerrit", + constant: "GERRIT", + env: "GERRIT_PROJECT" + }, + { + name: "Gitea Actions", + constant: "GITEA_ACTIONS", + env: "GITEA_ACTIONS" + }, + { + name: "GitHub Actions", + constant: "GITHUB_ACTIONS", + env: "GITHUB_ACTIONS", + pr: { + GITHUB_EVENT_NAME: "pull_request" + } + }, + { + name: "GitLab CI", + constant: "GITLAB", + env: "GITLAB_CI", + pr: "CI_MERGE_REQUEST_ID" + }, + { + name: "GoCD", + constant: "GOCD", + env: "GO_PIPELINE_LABEL" + }, + { + name: "Google Cloud Build", + constant: "GOOGLE_CLOUD_BUILD", + env: "BUILDER_OUTPUT" + }, + { + name: "Harness CI", + constant: "HARNESS", + env: "HARNESS_BUILD_ID" + }, + { + name: "Heroku", + constant: "HEROKU", + env: { + env: "NODE", + includes: "/app/.heroku/node/bin/node" + } + }, + { + name: "Hudson", + constant: "HUDSON", + env: "HUDSON_URL" + }, + { + name: "Jenkins", + constant: "JENKINS", + env: [ + "JENKINS_URL", + "BUILD_ID" + ], + pr: { + any: [ + "ghprbPullId", + "CHANGE_ID" + ] + } + }, + { + name: "LayerCI", + constant: "LAYERCI", + env: "LAYERCI", + pr: "LAYERCI_PULL_REQUEST" + }, + { + name: "Magnum CI", + constant: "MAGNUM", + env: "MAGNUM" + }, + { + name: "Netlify CI", + constant: "NETLIFY", + env: "NETLIFY", + pr: { + env: "PULL_REQUEST", + ne: "false" + } + }, + { + name: "Nevercode", + constant: "NEVERCODE", + env: "NEVERCODE", + pr: { + env: "NEVERCODE_PULL_REQUEST", + ne: "false" + } + }, + { + name: "Prow", + constant: "PROW", + env: "PROW_JOB_ID" + }, + { + name: "ReleaseHub", + constant: "RELEASEHUB", + env: "RELEASE_BUILD_ID" + }, + { + name: "Render", + constant: "RENDER", + env: "RENDER", + pr: { + IS_PULL_REQUEST: "true" + } + }, + { + name: "Sail CI", + constant: "SAIL", + env: "SAILCI", + pr: "SAIL_PULL_REQUEST_NUMBER" + }, + { + name: "Screwdriver", + constant: "SCREWDRIVER", + env: "SCREWDRIVER", + pr: { + env: "SD_PULL_REQUEST", + ne: "false" + } + }, + { + name: "Semaphore", + constant: "SEMAPHORE", + env: "SEMAPHORE", + pr: "PULL_REQUEST_NUMBER" + }, + { + name: "Sourcehut", + constant: "SOURCEHUT", + env: { + CI_NAME: "sourcehut" + } + }, + { + name: "Strider CD", + constant: "STRIDER", + env: "STRIDER" + }, + { + name: "TaskCluster", + constant: "TASKCLUSTER", + env: [ + "TASK_ID", + "RUN_ID" + ] + }, + { + name: "TeamCity", + constant: "TEAMCITY", + env: "TEAMCITY_VERSION" + }, + { + name: "Travis CI", + constant: "TRAVIS", + env: "TRAVIS", + pr: { + env: "TRAVIS_PULL_REQUEST", + ne: "false" + } + }, + { + name: "Vela", + constant: "VELA", + env: "VELA", + pr: { + VELA_PULL_REQUEST: "1" + } + }, + { + name: "Vercel", + constant: "VERCEL", + env: { + any: [ + "NOW_BUILDER", + "VERCEL" + ] + }, + pr: "VERCEL_GIT_PULL_REQUEST_ID" + }, + { + name: "Visual Studio App Center", + constant: "APPCENTER", + env: "APPCENTER_BUILD_ID" + }, + { + name: "Woodpecker", + constant: "WOODPECKER", + env: { + CI: "woodpecker" + }, + pr: { + CI_BUILD_EVENT: "pull_request" + } + }, + { + name: "Xcode Cloud", + constant: "XCODE_CLOUD", + env: "CI_XCODE_PROJECT", + pr: "CI_PULL_REQUEST_NUMBER" + }, + { + name: "Xcode Server", + constant: "XCODE_SERVER", + env: "XCS" } - if (editorConfig.quote_type === "single") { - result.singleQuote = true; - } else if (editorConfig.quote_type === "double") { - result.singleQuote = false; - } - if (["cr", "crlf", "lf"].indexOf(editorConfig.end_of_line) !== -1) { - result.endOfLine = editorConfig.end_of_line; - } - if (editorConfig.insert_final_newline === false || editorConfig.insert_final_newline === true) { - result.insertFinalNewline = editorConfig.insert_final_newline; - } - return result; - } + ]; } }); -// node_modules/@iarna/toml/lib/parser.js +// node_modules/ci-info/index.js +var require_ci_info = __commonJS({ + "node_modules/ci-info/index.js"(exports) { + "use strict"; + var vendors = require_vendors(); + var env2 = process.env; + Object.defineProperty(exports, "_vendors", { + value: vendors.map(function(v) { + return v.constant; + }) + }); + exports.name = null; + exports.isPR = null; + vendors.forEach(function(vendor) { + const envs = Array.isArray(vendor.env) ? vendor.env : [vendor.env]; + const isCI2 = envs.every(function(obj) { + return checkEnv(obj); + }); + exports[vendor.constant] = isCI2; + if (!isCI2) { + return; + } + exports.name = vendor.name; + switch (typeof vendor.pr) { + case "string": + exports.isPR = !!env2[vendor.pr]; + break; + case "object": + if ("env" in vendor.pr) { + exports.isPR = vendor.pr.env in env2 && env2[vendor.pr.env] !== vendor.pr.ne; + } else if ("any" in vendor.pr) { + exports.isPR = vendor.pr.any.some(function(key2) { + return !!env2[key2]; + }); + } else { + exports.isPR = checkEnv(vendor.pr); + } + break; + default: + exports.isPR = null; + } + }); + exports.isCI = !!(env2.CI !== "false" && // Bypass all checks if CI env is explicitly set to 'false' + (env2.BUILD_ID || // Jenkins, Cloudbees + env2.BUILD_NUMBER || // Jenkins, TeamCity + env2.CI || // Travis CI, CircleCI, Cirrus CI, Gitlab CI, Appveyor, CodeShip, dsari + env2.CI_APP_ID || // Appflow + env2.CI_BUILD_ID || // Appflow + env2.CI_BUILD_NUMBER || // Appflow + env2.CI_NAME || // Codeship and others + env2.CONTINUOUS_INTEGRATION || // Travis CI, Cirrus CI + env2.RUN_ID || // TaskCluster, dsari + exports.name || false)); + function checkEnv(obj) { + if (typeof obj === "string") return !!env2[obj]; + if ("env" in obj) { + return env2[obj.env] && env2[obj.env].includes(obj.includes); + } + if ("any" in obj) { + return obj.any.some(function(k) { + return !!env2[k]; + }); + } + return Object.keys(obj).every(function(k) { + return env2[k] === obj[k]; + }); + } + } +}); + +// node_modules/@iarna/toml/lib/parser.js var require_parser = __commonJS({ "node_modules/@iarna/toml/lib/parser.js"(exports, module) { "use strict"; @@ -12085,8 +8889,7 @@ var require_parser = __commonJS({ super("[ParserError] " + msg, filename, linenumber); this.name = "ParserError"; this.code = "ParserError"; - if (Error.captureStackTrace) - Error.captureStackTrace(this, _ParserError); + if (Error.captureStackTrace) Error.captureStackTrace(this, _ParserError); } }; var State = class { @@ -12112,10 +8915,9 @@ var require_parser = __commonJS({ this.ii = 0; this.state = new State(this.parseStart); } - parse(str) { - if (str.length === 0 || str.length == null) - return; - this._buf = String(str); + parse(str2) { + if (str2.length === 0 || str2.length == null) return; + this._buf = String(str2); this.ii = -1; this.char = -1; let getNext; @@ -12154,8 +8956,7 @@ var require_parser = __commonJS({ return this.obj; } next(fn) { - if (typeof fn !== "function") - throw new ParserError("Tried to set state to non-existent state: " + JSON.stringify(fn)); + if (typeof fn !== "function") throw new ParserError("Tried to set state to non-existent state: " + JSON.stringify(fn)); this.state.parser = fn; } goto(fn) { @@ -12163,8 +8964,7 @@ var require_parser = __commonJS({ return this.runOne(); } call(fn, returnWith) { - if (returnWith) - this.next(returnWith); + if (returnWith) this.next(returnWith); this.stack.push(this.state); this.state = new State(fn); } @@ -12173,10 +8973,8 @@ var require_parser = __commonJS({ return this.runOne(); } return(value) { - if (this.stack.length === 0) - throw this.error(new ParserError("Stack underflow")); - if (value === void 0) - value = this.state.buf; + if (this.stack.length === 0) throw this.error(new ParserError("Stack underflow")); + if (value === void 0) value = this.state.buf; this.state = this.stack.pop(); this.state.returned = value; } @@ -12185,8 +8983,7 @@ var require_parser = __commonJS({ return this.runOne(); } consume() { - if (this.char === ParserEND) - throw this.error(new ParserError("Unexpected end-of-buffer")); + if (this.char === ParserEND) throw this.error(new ParserError("Unexpected end-of-buffer")); this.state.buf += this._buf[this.ii]; } error(err) { @@ -12227,8 +9024,7 @@ var require_format_num = __commonJS({ "use strict"; module.exports = (d, num) => { num = String(num); - while (num.length < d) - num = "0" + num; + while (num.length < d) num = "0" + num; return num; }; } @@ -12322,8 +9118,7 @@ var require_toml_parser = __commonJS({ constructor(msg) { super(msg); this.name = "TomlError"; - if (Error.captureStackTrace) - Error.captureStackTrace(this, _TomlError); + if (Error.captureStackTrace) Error.captureStackTrace(this, _TomlError); this.fromTOML = true; this.wrapped = null; } @@ -12415,14 +9210,12 @@ var require_toml_parser = __commonJS({ } var _type = Symbol("type"); var _declared = Symbol("declared"); - var hasOwnProperty2 = Object.prototype.hasOwnProperty; + var hasOwnProperty3 = Object.prototype.hasOwnProperty; var defineProperty = Object.defineProperty; var descriptor = { configurable: true, enumerable: true, writable: true, value: void 0 }; - function hasKey(obj, key) { - if (hasOwnProperty2.call(obj, key)) - return true; - if (key === "__proto__") - defineProperty(obj, "__proto__", descriptor); + function hasKey(obj, key2) { + if (hasOwnProperty3.call(obj, key2)) return true; + if (key2 === "__proto__") defineProperty(obj, "__proto__", descriptor); return false; } var INLINE_TABLE = Symbol("inline-table"); @@ -12432,8 +9225,7 @@ var require_toml_parser = __commonJS({ }); } function isInlineTable(obj) { - if (obj === null || typeof obj !== "object") - return false; + if (obj === null || typeof obj !== "object") return false; return obj[_type] === INLINE_TABLE; } var TABLE = Symbol("table"); @@ -12444,21 +9236,19 @@ var require_toml_parser = __commonJS({ }); } function isTable(obj) { - if (obj === null || typeof obj !== "object") - return false; + if (obj === null || typeof obj !== "object") return false; return obj[_type] === TABLE; } var _contentType = Symbol("content-type"); var INLINE_LIST = Symbol("inline-list"); - function InlineList(type) { + function InlineList(type2) { return Object.defineProperties([], { [_type]: { value: INLINE_LIST }, - [_contentType]: { value: type } + [_contentType]: { value: type2 } }); } function isInlineList(obj) { - if (obj === null || typeof obj !== "object") - return false; + if (obj === null || typeof obj !== "object") return false; return obj[_type] === INLINE_LIST; } var LIST = Symbol("list"); @@ -12468,8 +9258,7 @@ var require_toml_parser = __commonJS({ }); } function isList(obj) { - if (obj === null || typeof obj !== "object") - return false; + if (obj === null || typeof obj !== "object") return false; return obj[_type] === LIST; } var _custom; @@ -12506,8 +9295,7 @@ var require_toml_parser = __commonJS({ var INTEGER = Symbol("integer"); function Integer(value) { let num = Number(value); - if (Object.is(num, -0)) - num = 0; + if (Object.is(num, -0)) num = 0; if (global.BigInt && !Number.isSafeInteger(num)) { return new BoxedBigInt(value); } else { @@ -12520,9 +9308,8 @@ var require_toml_parser = __commonJS({ }); } } - function isInteger(obj) { - if (obj === null || typeof obj !== "object") - return false; + function isInteger2(obj) { + if (obj === null || typeof obj !== "object") return false; return obj[_type] === INTEGER; } var FLOAT = Symbol("float"); @@ -12532,18 +9319,15 @@ var require_toml_parser = __commonJS({ [_inspect]: { value: () => `[Float: ${value}]` } }); } - function isFloat(obj) { - if (obj === null || typeof obj !== "object") - return false; + function isFloat2(obj) { + if (obj === null || typeof obj !== "object") return false; return obj[_type] === FLOAT; } function tomlType(value) { - const type = typeof value; - if (type === "object") { - if (value === null) - return "null"; - if (value instanceof Date) - return "datetime"; + const type2 = typeof value; + if (type2 === "object") { + if (value === null) return "null"; + if (value instanceof Date) return "datetime"; if (_type in value) { switch (value[_type]) { case INLINE_TABLE: @@ -12560,4121 +9344,8454 @@ var require_toml_parser = __commonJS({ return "integer"; } } - } - return type; - } - function makeParserClass(Parser) { - class TOMLParser extends Parser { - constructor() { - super(); - this.ctx = this.obj = Table(); - } - /* MATCH HELPER */ - atEndOfWord() { - return this.char === CHAR_NUM || this.char === CTRL_I || this.char === CHAR_SP || this.atEndOfLine(); + } + return type2; + } + function makeParserClass(Parser) { + class TOMLParser extends Parser { + constructor() { + super(); + this.ctx = this.obj = Table(); + } + /* MATCH HELPER */ + atEndOfWord() { + return this.char === CHAR_NUM || this.char === CTRL_I || this.char === CHAR_SP || this.atEndOfLine(); + } + atEndOfLine() { + return this.char === Parser.END || this.char === CTRL_J || this.char === CTRL_M; + } + parseStart() { + if (this.char === Parser.END) { + return null; + } else if (this.char === CHAR_LSQB) { + return this.call(this.parseTableOrList); + } else if (this.char === CHAR_NUM) { + return this.call(this.parseComment); + } else if (this.char === CTRL_J || this.char === CHAR_SP || this.char === CTRL_I || this.char === CTRL_M) { + return null; + } else if (isAlphaNumQuoteHyphen(this.char)) { + return this.callNow(this.parseAssignStatement); + } else { + throw this.error(new TomlError(`Unknown character "${this.char}"`)); + } + } + // HELPER, this strips any whitespace and comments to the end of the line + // then RETURNS. Last state in a production. + parseWhitespaceToEOL() { + if (this.char === CHAR_SP || this.char === CTRL_I || this.char === CTRL_M) { + return null; + } else if (this.char === CHAR_NUM) { + return this.goto(this.parseComment); + } else if (this.char === Parser.END || this.char === CTRL_J) { + return this.return(); + } else { + throw this.error(new TomlError("Unexpected character, expected only whitespace or comments till end of line")); + } + } + /* ASSIGNMENT: key = value */ + parseAssignStatement() { + return this.callNow(this.parseAssign, this.recordAssignStatement); + } + recordAssignStatement(kv) { + let target = this.ctx; + let finalKey = kv.key.pop(); + for (let kw of kv.key) { + if (hasKey(target, kw) && (!isTable(target[kw]) || target[kw][_declared])) { + throw this.error(new TomlError("Can't redefine existing key")); + } + target = target[kw] = target[kw] || Table(); + } + if (hasKey(target, finalKey)) { + throw this.error(new TomlError("Can't redefine existing key")); + } + if (isInteger2(kv.value) || isFloat2(kv.value)) { + target[finalKey] = kv.value.valueOf(); + } else { + target[finalKey] = kv.value; + } + return this.goto(this.parseWhitespaceToEOL); + } + /* ASSSIGNMENT expression, key = value possibly inside an inline table */ + parseAssign() { + return this.callNow(this.parseKeyword, this.recordAssignKeyword); + } + recordAssignKeyword(key2) { + if (this.state.resultTable) { + this.state.resultTable.push(key2); + } else { + this.state.resultTable = [key2]; + } + return this.goto(this.parseAssignKeywordPreDot); + } + parseAssignKeywordPreDot() { + if (this.char === CHAR_PERIOD) { + return this.next(this.parseAssignKeywordPostDot); + } else if (this.char !== CHAR_SP && this.char !== CTRL_I) { + return this.goto(this.parseAssignEqual); + } + } + parseAssignKeywordPostDot() { + if (this.char !== CHAR_SP && this.char !== CTRL_I) { + return this.callNow(this.parseKeyword, this.recordAssignKeyword); + } + } + parseAssignEqual() { + if (this.char === CHAR_EQUALS) { + return this.next(this.parseAssignPreValue); + } else { + throw this.error(new TomlError('Invalid character, expected "="')); + } + } + parseAssignPreValue() { + if (this.char === CHAR_SP || this.char === CTRL_I) { + return null; + } else { + return this.callNow(this.parseValue, this.recordAssignValue); + } + } + recordAssignValue(value) { + return this.returnNow({ key: this.state.resultTable, value }); + } + /* COMMENTS: #...eol */ + parseComment() { + do { + if (this.char === Parser.END || this.char === CTRL_J) { + return this.return(); + } + } while (this.nextChar()); + } + /* TABLES AND LISTS, [foo] and [[foo]] */ + parseTableOrList() { + if (this.char === CHAR_LSQB) { + this.next(this.parseList); + } else { + return this.goto(this.parseTable); + } + } + /* TABLE [foo.bar.baz] */ + parseTable() { + this.ctx = this.obj; + return this.goto(this.parseTableNext); + } + parseTableNext() { + if (this.char === CHAR_SP || this.char === CTRL_I) { + return null; + } else { + return this.callNow(this.parseKeyword, this.parseTableMore); + } + } + parseTableMore(keyword) { + if (this.char === CHAR_SP || this.char === CTRL_I) { + return null; + } else if (this.char === CHAR_RSQB) { + if (hasKey(this.ctx, keyword) && (!isTable(this.ctx[keyword]) || this.ctx[keyword][_declared])) { + throw this.error(new TomlError("Can't redefine existing key")); + } else { + this.ctx = this.ctx[keyword] = this.ctx[keyword] || Table(); + this.ctx[_declared] = true; + } + return this.next(this.parseWhitespaceToEOL); + } else if (this.char === CHAR_PERIOD) { + if (!hasKey(this.ctx, keyword)) { + this.ctx = this.ctx[keyword] = Table(); + } else if (isTable(this.ctx[keyword])) { + this.ctx = this.ctx[keyword]; + } else if (isList(this.ctx[keyword])) { + this.ctx = this.ctx[keyword][this.ctx[keyword].length - 1]; + } else { + throw this.error(new TomlError("Can't redefine existing key")); + } + return this.next(this.parseTableNext); + } else { + throw this.error(new TomlError("Unexpected character, expected whitespace, . or ]")); + } + } + /* LIST [[a.b.c]] */ + parseList() { + this.ctx = this.obj; + return this.goto(this.parseListNext); + } + parseListNext() { + if (this.char === CHAR_SP || this.char === CTRL_I) { + return null; + } else { + return this.callNow(this.parseKeyword, this.parseListMore); + } + } + parseListMore(keyword) { + if (this.char === CHAR_SP || this.char === CTRL_I) { + return null; + } else if (this.char === CHAR_RSQB) { + if (!hasKey(this.ctx, keyword)) { + this.ctx[keyword] = List(); + } + if (isInlineList(this.ctx[keyword])) { + throw this.error(new TomlError("Can't extend an inline array")); + } else if (isList(this.ctx[keyword])) { + const next = Table(); + this.ctx[keyword].push(next); + this.ctx = next; + } else { + throw this.error(new TomlError("Can't redefine an existing key")); + } + return this.next(this.parseListEnd); + } else if (this.char === CHAR_PERIOD) { + if (!hasKey(this.ctx, keyword)) { + this.ctx = this.ctx[keyword] = Table(); + } else if (isInlineList(this.ctx[keyword])) { + throw this.error(new TomlError("Can't extend an inline array")); + } else if (isInlineTable(this.ctx[keyword])) { + throw this.error(new TomlError("Can't extend an inline table")); + } else if (isList(this.ctx[keyword])) { + this.ctx = this.ctx[keyword][this.ctx[keyword].length - 1]; + } else if (isTable(this.ctx[keyword])) { + this.ctx = this.ctx[keyword]; + } else { + throw this.error(new TomlError("Can't redefine an existing key")); + } + return this.next(this.parseListNext); + } else { + throw this.error(new TomlError("Unexpected character, expected whitespace, . or ]")); + } + } + parseListEnd(keyword) { + if (this.char === CHAR_RSQB) { + return this.next(this.parseWhitespaceToEOL); + } else { + throw this.error(new TomlError("Unexpected character, expected whitespace, . or ]")); + } + } + /* VALUE string, number, boolean, inline list, inline object */ + parseValue() { + if (this.char === Parser.END) { + throw this.error(new TomlError("Key without value")); + } else if (this.char === CHAR_QUOT) { + return this.next(this.parseDoubleString); + } + if (this.char === CHAR_APOS) { + return this.next(this.parseSingleString); + } else if (this.char === CHAR_HYPHEN || this.char === CHAR_PLUS) { + return this.goto(this.parseNumberSign); + } else if (this.char === CHAR_i) { + return this.next(this.parseInf); + } else if (this.char === CHAR_n) { + return this.next(this.parseNan); + } else if (isDigit(this.char)) { + return this.goto(this.parseNumberOrDateTime); + } else if (this.char === CHAR_t || this.char === CHAR_f) { + return this.goto(this.parseBoolean); + } else if (this.char === CHAR_LSQB) { + return this.call(this.parseInlineList, this.recordValue); + } else if (this.char === CHAR_LCUB) { + return this.call(this.parseInlineTable, this.recordValue); + } else { + throw this.error(new TomlError("Unexpected character, expecting string, number, datetime, boolean, inline array or inline table")); + } + } + recordValue(value) { + return this.returnNow(value); + } + parseInf() { + if (this.char === CHAR_n) { + return this.next(this.parseInf2); + } else { + throw this.error(new TomlError('Unexpected character, expected "inf", "+inf" or "-inf"')); + } + } + parseInf2() { + if (this.char === CHAR_f) { + if (this.state.buf === "-") { + return this.return(-Infinity); + } else { + return this.return(Infinity); + } + } else { + throw this.error(new TomlError('Unexpected character, expected "inf", "+inf" or "-inf"')); + } + } + parseNan() { + if (this.char === CHAR_a) { + return this.next(this.parseNan2); + } else { + throw this.error(new TomlError('Unexpected character, expected "nan"')); + } + } + parseNan2() { + if (this.char === CHAR_n) { + return this.return(NaN); + } else { + throw this.error(new TomlError('Unexpected character, expected "nan"')); + } + } + /* KEYS, barewords or basic, literal, or dotted */ + parseKeyword() { + if (this.char === CHAR_QUOT) { + return this.next(this.parseBasicString); + } else if (this.char === CHAR_APOS) { + return this.next(this.parseLiteralString); + } else { + return this.goto(this.parseBareKey); + } + } + /* KEYS: barewords */ + parseBareKey() { + do { + if (this.char === Parser.END) { + throw this.error(new TomlError("Key ended without value")); + } else if (isAlphaNumHyphen(this.char)) { + this.consume(); + } else if (this.state.buf.length === 0) { + throw this.error(new TomlError("Empty bare keys are not allowed")); + } else { + return this.returnNow(); + } + } while (this.nextChar()); + } + /* STRINGS, single quoted (literal) */ + parseSingleString() { + if (this.char === CHAR_APOS) { + return this.next(this.parseLiteralMultiStringMaybe); + } else { + return this.goto(this.parseLiteralString); + } + } + parseLiteralString() { + do { + if (this.char === CHAR_APOS) { + return this.return(); + } else if (this.atEndOfLine()) { + throw this.error(new TomlError("Unterminated string")); + } else if (this.char === CHAR_DEL || this.char <= CTRL_CHAR_BOUNDARY && this.char !== CTRL_I) { + throw this.errorControlCharInString(); + } else { + this.consume(); + } + } while (this.nextChar()); + } + parseLiteralMultiStringMaybe() { + if (this.char === CHAR_APOS) { + return this.next(this.parseLiteralMultiString); + } else { + return this.returnNow(); + } + } + parseLiteralMultiString() { + if (this.char === CTRL_M) { + return null; + } else if (this.char === CTRL_J) { + return this.next(this.parseLiteralMultiStringContent); + } else { + return this.goto(this.parseLiteralMultiStringContent); + } + } + parseLiteralMultiStringContent() { + do { + if (this.char === CHAR_APOS) { + return this.next(this.parseLiteralMultiEnd); + } else if (this.char === Parser.END) { + throw this.error(new TomlError("Unterminated multi-line string")); + } else if (this.char === CHAR_DEL || this.char <= CTRL_CHAR_BOUNDARY && this.char !== CTRL_I && this.char !== CTRL_J && this.char !== CTRL_M) { + throw this.errorControlCharInString(); + } else { + this.consume(); + } + } while (this.nextChar()); + } + parseLiteralMultiEnd() { + if (this.char === CHAR_APOS) { + return this.next(this.parseLiteralMultiEnd2); + } else { + this.state.buf += "'"; + return this.goto(this.parseLiteralMultiStringContent); + } + } + parseLiteralMultiEnd2() { + if (this.char === CHAR_APOS) { + return this.return(); + } else { + this.state.buf += "''"; + return this.goto(this.parseLiteralMultiStringContent); + } + } + /* STRINGS double quoted */ + parseDoubleString() { + if (this.char === CHAR_QUOT) { + return this.next(this.parseMultiStringMaybe); + } else { + return this.goto(this.parseBasicString); + } + } + parseBasicString() { + do { + if (this.char === CHAR_BSOL) { + return this.call(this.parseEscape, this.recordEscapeReplacement); + } else if (this.char === CHAR_QUOT) { + return this.return(); + } else if (this.atEndOfLine()) { + throw this.error(new TomlError("Unterminated string")); + } else if (this.char === CHAR_DEL || this.char <= CTRL_CHAR_BOUNDARY && this.char !== CTRL_I) { + throw this.errorControlCharInString(); + } else { + this.consume(); + } + } while (this.nextChar()); + } + recordEscapeReplacement(replacement) { + this.state.buf += replacement; + return this.goto(this.parseBasicString); + } + parseMultiStringMaybe() { + if (this.char === CHAR_QUOT) { + return this.next(this.parseMultiString); + } else { + return this.returnNow(); + } + } + parseMultiString() { + if (this.char === CTRL_M) { + return null; + } else if (this.char === CTRL_J) { + return this.next(this.parseMultiStringContent); + } else { + return this.goto(this.parseMultiStringContent); + } + } + parseMultiStringContent() { + do { + if (this.char === CHAR_BSOL) { + return this.call(this.parseMultiEscape, this.recordMultiEscapeReplacement); + } else if (this.char === CHAR_QUOT) { + return this.next(this.parseMultiEnd); + } else if (this.char === Parser.END) { + throw this.error(new TomlError("Unterminated multi-line string")); + } else if (this.char === CHAR_DEL || this.char <= CTRL_CHAR_BOUNDARY && this.char !== CTRL_I && this.char !== CTRL_J && this.char !== CTRL_M) { + throw this.errorControlCharInString(); + } else { + this.consume(); + } + } while (this.nextChar()); + } + errorControlCharInString() { + let displayCode = "\\u00"; + if (this.char < 16) { + displayCode += "0"; + } + displayCode += this.char.toString(16); + return this.error(new TomlError(`Control characters (codes < 0x1f and 0x7f) are not allowed in strings, use ${displayCode} instead`)); + } + recordMultiEscapeReplacement(replacement) { + this.state.buf += replacement; + return this.goto(this.parseMultiStringContent); + } + parseMultiEnd() { + if (this.char === CHAR_QUOT) { + return this.next(this.parseMultiEnd2); + } else { + this.state.buf += '"'; + return this.goto(this.parseMultiStringContent); + } + } + parseMultiEnd2() { + if (this.char === CHAR_QUOT) { + return this.return(); + } else { + this.state.buf += '""'; + return this.goto(this.parseMultiStringContent); + } } - atEndOfLine() { - return this.char === Parser.END || this.char === CTRL_J || this.char === CTRL_M; + parseMultiEscape() { + if (this.char === CTRL_M || this.char === CTRL_J) { + return this.next(this.parseMultiTrim); + } else if (this.char === CHAR_SP || this.char === CTRL_I) { + return this.next(this.parsePreMultiTrim); + } else { + return this.goto(this.parseEscape); + } } - parseStart() { - if (this.char === Parser.END) { - return null; - } else if (this.char === CHAR_LSQB) { - return this.call(this.parseTableOrList); - } else if (this.char === CHAR_NUM) { - return this.call(this.parseComment); - } else if (this.char === CTRL_J || this.char === CHAR_SP || this.char === CTRL_I || this.char === CTRL_M) { + parsePreMultiTrim() { + if (this.char === CHAR_SP || this.char === CTRL_I) { return null; - } else if (isAlphaNumQuoteHyphen(this.char)) { - return this.callNow(this.parseAssignStatement); + } else if (this.char === CTRL_M || this.char === CTRL_J) { + return this.next(this.parseMultiTrim); } else { - throw this.error(new TomlError(`Unknown character "${this.char}"`)); + throw this.error(new TomlError("Can't escape whitespace")); } } - // HELPER, this strips any whitespace and comments to the end of the line - // then RETURNS. Last state in a production. - parseWhitespaceToEOL() { - if (this.char === CHAR_SP || this.char === CTRL_I || this.char === CTRL_M) { + parseMultiTrim() { + if (this.char === CTRL_J || this.char === CHAR_SP || this.char === CTRL_I || this.char === CTRL_M) { return null; - } else if (this.char === CHAR_NUM) { - return this.goto(this.parseComment); - } else if (this.char === Parser.END || this.char === CTRL_J) { - return this.return(); } else { - throw this.error(new TomlError("Unexpected character, expected only whitespace or comments till end of line")); + return this.returnNow(); } } - /* ASSIGNMENT: key = value */ - parseAssignStatement() { - return this.callNow(this.parseAssign, this.recordAssignStatement); + parseEscape() { + if (this.char in escapes) { + return this.return(escapes[this.char]); + } else if (this.char === CHAR_u) { + return this.call(this.parseSmallUnicode, this.parseUnicodeReturn); + } else if (this.char === CHAR_U) { + return this.call(this.parseLargeUnicode, this.parseUnicodeReturn); + } else { + throw this.error(new TomlError("Unknown escape character: " + this.char)); + } } - recordAssignStatement(kv) { - let target = this.ctx; - let finalKey = kv.key.pop(); - for (let kw of kv.key) { - if (hasKey(target, kw) && (!isTable(target[kw]) || target[kw][_declared])) { - throw this.error(new TomlError("Can't redefine existing key")); + parseUnicodeReturn(char) { + try { + const codePoint = parseInt(char, 16); + if (codePoint >= SURROGATE_FIRST && codePoint <= SURROGATE_LAST) { + throw this.error(new TomlError("Invalid unicode, character in range 0xD800 - 0xDFFF is reserved")); } - target = target[kw] = target[kw] || Table(); + return this.returnNow(String.fromCodePoint(codePoint)); + } catch (err) { + throw this.error(TomlError.wrap(err)); } - if (hasKey(target, finalKey)) { - throw this.error(new TomlError("Can't redefine existing key")); + } + parseSmallUnicode() { + if (!isHexit(this.char)) { + throw this.error(new TomlError("Invalid character in unicode sequence, expected hex")); + } else { + this.consume(); + if (this.state.buf.length >= 4) return this.return(); } - if (isInteger(kv.value) || isFloat(kv.value)) { - target[finalKey] = kv.value.valueOf(); + } + parseLargeUnicode() { + if (!isHexit(this.char)) { + throw this.error(new TomlError("Invalid character in unicode sequence, expected hex")); + } else { + this.consume(); + if (this.state.buf.length >= 8) return this.return(); + } + } + /* NUMBERS */ + parseNumberSign() { + this.consume(); + return this.next(this.parseMaybeSignedInfOrNan); + } + parseMaybeSignedInfOrNan() { + if (this.char === CHAR_i) { + return this.next(this.parseInf); + } else if (this.char === CHAR_n) { + return this.next(this.parseNan); + } else { + return this.callNow(this.parseNoUnder, this.parseNumberIntegerStart); + } + } + parseNumberIntegerStart() { + if (this.char === CHAR_0) { + this.consume(); + return this.next(this.parseNumberIntegerExponentOrDecimal); + } else { + return this.goto(this.parseNumberInteger); + } + } + parseNumberIntegerExponentOrDecimal() { + if (this.char === CHAR_PERIOD) { + this.consume(); + return this.call(this.parseNoUnder, this.parseNumberFloat); + } else if (this.char === CHAR_E || this.char === CHAR_e) { + this.consume(); + return this.next(this.parseNumberExponentSign); + } else { + return this.returnNow(Integer(this.state.buf)); + } + } + parseNumberInteger() { + if (isDigit(this.char)) { + this.consume(); + } else if (this.char === CHAR_LOWBAR) { + return this.call(this.parseNoUnder); + } else if (this.char === CHAR_E || this.char === CHAR_e) { + this.consume(); + return this.next(this.parseNumberExponentSign); + } else if (this.char === CHAR_PERIOD) { + this.consume(); + return this.call(this.parseNoUnder, this.parseNumberFloat); + } else { + const result = Integer(this.state.buf); + if (result.isNaN()) { + throw this.error(new TomlError("Invalid number")); + } else { + return this.returnNow(result); + } + } + } + parseNoUnder() { + if (this.char === CHAR_LOWBAR || this.char === CHAR_PERIOD || this.char === CHAR_E || this.char === CHAR_e) { + throw this.error(new TomlError("Unexpected character, expected digit")); + } else if (this.atEndOfWord()) { + throw this.error(new TomlError("Incomplete number")); + } + return this.returnNow(); + } + parseNoUnderHexOctBinLiteral() { + if (this.char === CHAR_LOWBAR || this.char === CHAR_PERIOD) { + throw this.error(new TomlError("Unexpected character, expected digit")); + } else if (this.atEndOfWord()) { + throw this.error(new TomlError("Incomplete number")); + } + return this.returnNow(); + } + parseNumberFloat() { + if (this.char === CHAR_LOWBAR) { + return this.call(this.parseNoUnder, this.parseNumberFloat); + } else if (isDigit(this.char)) { + this.consume(); + } else if (this.char === CHAR_E || this.char === CHAR_e) { + this.consume(); + return this.next(this.parseNumberExponentSign); + } else { + return this.returnNow(Float(this.state.buf)); + } + } + parseNumberExponentSign() { + if (isDigit(this.char)) { + return this.goto(this.parseNumberExponent); + } else if (this.char === CHAR_HYPHEN || this.char === CHAR_PLUS) { + this.consume(); + this.call(this.parseNoUnder, this.parseNumberExponent); + } else { + throw this.error(new TomlError("Unexpected character, expected -, + or digit")); + } + } + parseNumberExponent() { + if (isDigit(this.char)) { + this.consume(); + } else if (this.char === CHAR_LOWBAR) { + return this.call(this.parseNoUnder); + } else { + return this.returnNow(Float(this.state.buf)); + } + } + /* NUMBERS or DATETIMES */ + parseNumberOrDateTime() { + if (this.char === CHAR_0) { + this.consume(); + return this.next(this.parseNumberBaseOrDateTime); + } else { + return this.goto(this.parseNumberOrDateTimeOnly); + } + } + parseNumberOrDateTimeOnly() { + if (this.char === CHAR_LOWBAR) { + return this.call(this.parseNoUnder, this.parseNumberInteger); + } else if (isDigit(this.char)) { + this.consume(); + if (this.state.buf.length > 4) this.next(this.parseNumberInteger); + } else if (this.char === CHAR_E || this.char === CHAR_e) { + this.consume(); + return this.next(this.parseNumberExponentSign); + } else if (this.char === CHAR_PERIOD) { + this.consume(); + return this.call(this.parseNoUnder, this.parseNumberFloat); + } else if (this.char === CHAR_HYPHEN) { + return this.goto(this.parseDateTime); + } else if (this.char === CHAR_COLON) { + return this.goto(this.parseOnlyTimeHour); + } else { + return this.returnNow(Integer(this.state.buf)); + } + } + parseDateTimeOnly() { + if (this.state.buf.length < 4) { + if (isDigit(this.char)) { + return this.consume(); + } else if (this.char === CHAR_COLON) { + return this.goto(this.parseOnlyTimeHour); + } else { + throw this.error(new TomlError("Expected digit while parsing year part of a date")); + } + } else { + if (this.char === CHAR_HYPHEN) { + return this.goto(this.parseDateTime); + } else { + throw this.error(new TomlError("Expected hyphen (-) while parsing year part of date")); + } + } + } + parseNumberBaseOrDateTime() { + if (this.char === CHAR_b) { + this.consume(); + return this.call(this.parseNoUnderHexOctBinLiteral, this.parseIntegerBin); + } else if (this.char === CHAR_o) { + this.consume(); + return this.call(this.parseNoUnderHexOctBinLiteral, this.parseIntegerOct); + } else if (this.char === CHAR_x) { + this.consume(); + return this.call(this.parseNoUnderHexOctBinLiteral, this.parseIntegerHex); + } else if (this.char === CHAR_PERIOD) { + return this.goto(this.parseNumberInteger); + } else if (isDigit(this.char)) { + return this.goto(this.parseDateTimeOnly); } else { - target[finalKey] = kv.value; + return this.returnNow(Integer(this.state.buf)); } - return this.goto(this.parseWhitespaceToEOL); } - /* ASSSIGNMENT expression, key = value possibly inside an inline table */ - parseAssign() { - return this.callNow(this.parseKeyword, this.recordAssignKeyword); - } - recordAssignKeyword(key) { - if (this.state.resultTable) { - this.state.resultTable.push(key); + parseIntegerHex() { + if (isHexit(this.char)) { + this.consume(); + } else if (this.char === CHAR_LOWBAR) { + return this.call(this.parseNoUnderHexOctBinLiteral); } else { - this.state.resultTable = [key]; + const result = Integer(this.state.buf); + if (result.isNaN()) { + throw this.error(new TomlError("Invalid number")); + } else { + return this.returnNow(result); + } } - return this.goto(this.parseAssignKeywordPreDot); } - parseAssignKeywordPreDot() { - if (this.char === CHAR_PERIOD) { - return this.next(this.parseAssignKeywordPostDot); - } else if (this.char !== CHAR_SP && this.char !== CTRL_I) { - return this.goto(this.parseAssignEqual); + parseIntegerOct() { + if (isOctit(this.char)) { + this.consume(); + } else if (this.char === CHAR_LOWBAR) { + return this.call(this.parseNoUnderHexOctBinLiteral); + } else { + const result = Integer(this.state.buf); + if (result.isNaN()) { + throw this.error(new TomlError("Invalid number")); + } else { + return this.returnNow(result); + } } } - parseAssignKeywordPostDot() { - if (this.char !== CHAR_SP && this.char !== CTRL_I) { - return this.callNow(this.parseKeyword, this.recordAssignKeyword); + parseIntegerBin() { + if (isBit(this.char)) { + this.consume(); + } else if (this.char === CHAR_LOWBAR) { + return this.call(this.parseNoUnderHexOctBinLiteral); + } else { + const result = Integer(this.state.buf); + if (result.isNaN()) { + throw this.error(new TomlError("Invalid number")); + } else { + return this.returnNow(result); + } } } - parseAssignEqual() { - if (this.char === CHAR_EQUALS) { - return this.next(this.parseAssignPreValue); - } else { - throw this.error(new TomlError('Invalid character, expected "="')); + /* DATETIME */ + parseDateTime() { + if (this.state.buf.length < 4) { + throw this.error(new TomlError("Years less than 1000 must be zero padded to four characters")); } + this.state.result = this.state.buf; + this.state.buf = ""; + return this.next(this.parseDateMonth); } - parseAssignPreValue() { - if (this.char === CHAR_SP || this.char === CTRL_I) { - return null; + parseDateMonth() { + if (this.char === CHAR_HYPHEN) { + if (this.state.buf.length < 2) { + throw this.error(new TomlError("Months less than 10 must be zero padded to two characters")); + } + this.state.result += "-" + this.state.buf; + this.state.buf = ""; + return this.next(this.parseDateDay); + } else if (isDigit(this.char)) { + this.consume(); } else { - return this.callNow(this.parseValue, this.recordAssignValue); + throw this.error(new TomlError("Incomplete datetime")); } } - recordAssignValue(value) { - return this.returnNow({ key: this.state.resultTable, value }); - } - /* COMMENTS: #...eol */ - parseComment() { - do { - if (this.char === Parser.END || this.char === CTRL_J) { - return this.return(); + parseDateDay() { + if (this.char === CHAR_T || this.char === CHAR_SP) { + if (this.state.buf.length < 2) { + throw this.error(new TomlError("Days less than 10 must be zero padded to two characters")); } - } while (this.nextChar()); - } - /* TABLES AND LISTS, [foo] and [[foo]] */ - parseTableOrList() { - if (this.char === CHAR_LSQB) { - this.next(this.parseList); + this.state.result += "-" + this.state.buf; + this.state.buf = ""; + return this.next(this.parseStartTimeHour); + } else if (this.atEndOfWord()) { + return this.returnNow(createDate(this.state.result + "-" + this.state.buf)); + } else if (isDigit(this.char)) { + this.consume(); } else { - return this.goto(this.parseTable); + throw this.error(new TomlError("Incomplete datetime")); } } - /* TABLE [foo.bar.baz] */ - parseTable() { - this.ctx = this.obj; - return this.goto(this.parseTableNext); - } - parseTableNext() { - if (this.char === CHAR_SP || this.char === CTRL_I) { - return null; + parseStartTimeHour() { + if (this.atEndOfWord()) { + return this.returnNow(createDate(this.state.result)); } else { - return this.callNow(this.parseKeyword, this.parseTableMore); + return this.goto(this.parseTimeHour); } } - parseTableMore(keyword) { - if (this.char === CHAR_SP || this.char === CTRL_I) { - return null; - } else if (this.char === CHAR_RSQB) { - if (hasKey(this.ctx, keyword) && (!isTable(this.ctx[keyword]) || this.ctx[keyword][_declared])) { - throw this.error(new TomlError("Can't redefine existing key")); - } else { - this.ctx = this.ctx[keyword] = this.ctx[keyword] || Table(); - this.ctx[_declared] = true; - } - return this.next(this.parseWhitespaceToEOL); - } else if (this.char === CHAR_PERIOD) { - if (!hasKey(this.ctx, keyword)) { - this.ctx = this.ctx[keyword] = Table(); - } else if (isTable(this.ctx[keyword])) { - this.ctx = this.ctx[keyword]; - } else if (isList(this.ctx[keyword])) { - this.ctx = this.ctx[keyword][this.ctx[keyword].length - 1]; - } else { - throw this.error(new TomlError("Can't redefine existing key")); + parseTimeHour() { + if (this.char === CHAR_COLON) { + if (this.state.buf.length < 2) { + throw this.error(new TomlError("Hours less than 10 must be zero padded to two characters")); } - return this.next(this.parseTableNext); + this.state.result += "T" + this.state.buf; + this.state.buf = ""; + return this.next(this.parseTimeMin); + } else if (isDigit(this.char)) { + this.consume(); } else { - throw this.error(new TomlError("Unexpected character, expected whitespace, . or ]")); + throw this.error(new TomlError("Incomplete datetime")); } } - /* LIST [[a.b.c]] */ - parseList() { - this.ctx = this.obj; - return this.goto(this.parseListNext); - } - parseListNext() { - if (this.char === CHAR_SP || this.char === CTRL_I) { - return null; + parseTimeMin() { + if (this.state.buf.length < 2 && isDigit(this.char)) { + this.consume(); + } else if (this.state.buf.length === 2 && this.char === CHAR_COLON) { + this.state.result += ":" + this.state.buf; + this.state.buf = ""; + return this.next(this.parseTimeSec); } else { - return this.callNow(this.parseKeyword, this.parseListMore); + throw this.error(new TomlError("Incomplete datetime")); } } - parseListMore(keyword) { - if (this.char === CHAR_SP || this.char === CTRL_I) { - return null; - } else if (this.char === CHAR_RSQB) { - if (!hasKey(this.ctx, keyword)) { - this.ctx[keyword] = List(); - } - if (isInlineList(this.ctx[keyword])) { - throw this.error(new TomlError("Can't extend an inline array")); - } else if (isList(this.ctx[keyword])) { - const next = Table(); - this.ctx[keyword].push(next); - this.ctx = next; - } else { - throw this.error(new TomlError("Can't redefine an existing key")); - } - return this.next(this.parseListEnd); - } else if (this.char === CHAR_PERIOD) { - if (!hasKey(this.ctx, keyword)) { - this.ctx = this.ctx[keyword] = Table(); - } else if (isInlineList(this.ctx[keyword])) { - throw this.error(new TomlError("Can't extend an inline array")); - } else if (isInlineTable(this.ctx[keyword])) { - throw this.error(new TomlError("Can't extend an inline table")); - } else if (isList(this.ctx[keyword])) { - this.ctx = this.ctx[keyword][this.ctx[keyword].length - 1]; - } else if (isTable(this.ctx[keyword])) { - this.ctx = this.ctx[keyword]; - } else { - throw this.error(new TomlError("Can't redefine an existing key")); + parseTimeSec() { + if (isDigit(this.char)) { + this.consume(); + if (this.state.buf.length === 2) { + this.state.result += ":" + this.state.buf; + this.state.buf = ""; + return this.next(this.parseTimeZoneOrFraction); } - return this.next(this.parseListNext); } else { - throw this.error(new TomlError("Unexpected character, expected whitespace, . or ]")); + throw this.error(new TomlError("Incomplete datetime")); } } - parseListEnd(keyword) { - if (this.char === CHAR_RSQB) { - return this.next(this.parseWhitespaceToEOL); + parseOnlyTimeHour() { + if (this.char === CHAR_COLON) { + if (this.state.buf.length < 2) { + throw this.error(new TomlError("Hours less than 10 must be zero padded to two characters")); + } + this.state.result = this.state.buf; + this.state.buf = ""; + return this.next(this.parseOnlyTimeMin); } else { - throw this.error(new TomlError("Unexpected character, expected whitespace, . or ]")); + throw this.error(new TomlError("Incomplete time")); } } - /* VALUE string, number, boolean, inline list, inline object */ - parseValue() { - if (this.char === Parser.END) { - throw this.error(new TomlError("Key without value")); - } else if (this.char === CHAR_QUOT) { - return this.next(this.parseDoubleString); - } - if (this.char === CHAR_APOS) { - return this.next(this.parseSingleString); - } else if (this.char === CHAR_HYPHEN || this.char === CHAR_PLUS) { - return this.goto(this.parseNumberSign); - } else if (this.char === CHAR_i) { - return this.next(this.parseInf); - } else if (this.char === CHAR_n) { - return this.next(this.parseNan); - } else if (isDigit(this.char)) { - return this.goto(this.parseNumberOrDateTime); - } else if (this.char === CHAR_t || this.char === CHAR_f) { - return this.goto(this.parseBoolean); - } else if (this.char === CHAR_LSQB) { - return this.call(this.parseInlineList, this.recordValue); - } else if (this.char === CHAR_LCUB) { - return this.call(this.parseInlineTable, this.recordValue); + parseOnlyTimeMin() { + if (this.state.buf.length < 2 && isDigit(this.char)) { + this.consume(); + } else if (this.state.buf.length === 2 && this.char === CHAR_COLON) { + this.state.result += ":" + this.state.buf; + this.state.buf = ""; + return this.next(this.parseOnlyTimeSec); } else { - throw this.error(new TomlError("Unexpected character, expecting string, number, datetime, boolean, inline array or inline table")); + throw this.error(new TomlError("Incomplete time")); } } - recordValue(value) { - return this.returnNow(value); - } - parseInf() { - if (this.char === CHAR_n) { - return this.next(this.parseInf2); + parseOnlyTimeSec() { + if (isDigit(this.char)) { + this.consume(); + if (this.state.buf.length === 2) { + return this.next(this.parseOnlyTimeFractionMaybe); + } } else { - throw this.error(new TomlError('Unexpected character, expected "inf", "+inf" or "-inf"')); + throw this.error(new TomlError("Incomplete time")); } } - parseInf2() { - if (this.char === CHAR_f) { - if (this.state.buf === "-") { - return this.return(-Infinity); - } else { - return this.return(Infinity); - } + parseOnlyTimeFractionMaybe() { + this.state.result += ":" + this.state.buf; + if (this.char === CHAR_PERIOD) { + this.state.buf = ""; + this.next(this.parseOnlyTimeFraction); } else { - throw this.error(new TomlError('Unexpected character, expected "inf", "+inf" or "-inf"')); + return this.return(createTime(this.state.result)); } } - parseNan() { - if (this.char === CHAR_a) { - return this.next(this.parseNan2); + parseOnlyTimeFraction() { + if (isDigit(this.char)) { + this.consume(); + } else if (this.atEndOfWord()) { + if (this.state.buf.length === 0) throw this.error(new TomlError("Expected digit in milliseconds")); + return this.returnNow(createTime(this.state.result + "." + this.state.buf)); } else { - throw this.error(new TomlError('Unexpected character, expected "nan"')); + throw this.error(new TomlError("Unexpected character in datetime, expected period (.), minus (-), plus (+) or Z")); } } - parseNan2() { - if (this.char === CHAR_n) { - return this.return(NaN); + parseTimeZoneOrFraction() { + if (this.char === CHAR_PERIOD) { + this.consume(); + this.next(this.parseDateTimeFraction); + } else if (this.char === CHAR_HYPHEN || this.char === CHAR_PLUS) { + this.consume(); + this.next(this.parseTimeZoneHour); + } else if (this.char === CHAR_Z) { + this.consume(); + return this.return(createDateTime(this.state.result + this.state.buf)); + } else if (this.atEndOfWord()) { + return this.returnNow(createDateTimeFloat(this.state.result + this.state.buf)); } else { - throw this.error(new TomlError('Unexpected character, expected "nan"')); + throw this.error(new TomlError("Unexpected character in datetime, expected period (.), minus (-), plus (+) or Z")); } } - /* KEYS, barewords or basic, literal, or dotted */ - parseKeyword() { - if (this.char === CHAR_QUOT) { - return this.next(this.parseBasicString); - } else if (this.char === CHAR_APOS) { - return this.next(this.parseLiteralString); + parseDateTimeFraction() { + if (isDigit(this.char)) { + this.consume(); + } else if (this.state.buf.length === 1) { + throw this.error(new TomlError("Expected digit in milliseconds")); + } else if (this.char === CHAR_HYPHEN || this.char === CHAR_PLUS) { + this.consume(); + this.next(this.parseTimeZoneHour); + } else if (this.char === CHAR_Z) { + this.consume(); + return this.return(createDateTime(this.state.result + this.state.buf)); + } else if (this.atEndOfWord()) { + return this.returnNow(createDateTimeFloat(this.state.result + this.state.buf)); } else { - return this.goto(this.parseBareKey); + throw this.error(new TomlError("Unexpected character in datetime, expected period (.), minus (-), plus (+) or Z")); } } - /* KEYS: barewords */ - parseBareKey() { - do { - if (this.char === Parser.END) { - throw this.error(new TomlError("Key ended without value")); - } else if (isAlphaNumHyphen(this.char)) { - this.consume(); - } else if (this.state.buf.length === 0) { - throw this.error(new TomlError("Empty bare keys are not allowed")); - } else { - return this.returnNow(); - } - } while (this.nextChar()); - } - /* STRINGS, single quoted (literal) */ - parseSingleString() { - if (this.char === CHAR_APOS) { - return this.next(this.parseLiteralMultiStringMaybe); + parseTimeZoneHour() { + if (isDigit(this.char)) { + this.consume(); + if (/\d\d$/.test(this.state.buf)) return this.next(this.parseTimeZoneSep); } else { - return this.goto(this.parseLiteralString); + throw this.error(new TomlError("Unexpected character in datetime, expected digit")); } } - parseLiteralString() { - do { - if (this.char === CHAR_APOS) { - return this.return(); - } else if (this.atEndOfLine()) { - throw this.error(new TomlError("Unterminated string")); - } else if (this.char === CHAR_DEL || this.char <= CTRL_CHAR_BOUNDARY && this.char !== CTRL_I) { - throw this.errorControlCharInString(); - } else { - this.consume(); - } - } while (this.nextChar()); - } - parseLiteralMultiStringMaybe() { - if (this.char === CHAR_APOS) { - return this.next(this.parseLiteralMultiString); + parseTimeZoneSep() { + if (this.char === CHAR_COLON) { + this.consume(); + this.next(this.parseTimeZoneMin); } else { - return this.returnNow(); + throw this.error(new TomlError("Unexpected character in datetime, expected colon")); } } - parseLiteralMultiString() { - if (this.char === CTRL_M) { - return null; - } else if (this.char === CTRL_J) { - return this.next(this.parseLiteralMultiStringContent); + parseTimeZoneMin() { + if (isDigit(this.char)) { + this.consume(); + if (/\d\d$/.test(this.state.buf)) return this.return(createDateTime(this.state.result + this.state.buf)); } else { - return this.goto(this.parseLiteralMultiStringContent); + throw this.error(new TomlError("Unexpected character in datetime, expected digit")); } } - parseLiteralMultiStringContent() { - do { - if (this.char === CHAR_APOS) { - return this.next(this.parseLiteralMultiEnd); - } else if (this.char === Parser.END) { - throw this.error(new TomlError("Unterminated multi-line string")); - } else if (this.char === CHAR_DEL || this.char <= CTRL_CHAR_BOUNDARY && this.char !== CTRL_I && this.char !== CTRL_J && this.char !== CTRL_M) { - throw this.errorControlCharInString(); - } else { - this.consume(); - } - } while (this.nextChar()); - } - parseLiteralMultiEnd() { - if (this.char === CHAR_APOS) { - return this.next(this.parseLiteralMultiEnd2); - } else { - this.state.buf += "'"; - return this.goto(this.parseLiteralMultiStringContent); + /* BOOLEAN */ + parseBoolean() { + if (this.char === CHAR_t) { + this.consume(); + return this.next(this.parseTrue_r); + } else if (this.char === CHAR_f) { + this.consume(); + return this.next(this.parseFalse_a); } } - parseLiteralMultiEnd2() { - if (this.char === CHAR_APOS) { - return this.return(); + parseTrue_r() { + if (this.char === CHAR_r) { + this.consume(); + return this.next(this.parseTrue_u); } else { - this.state.buf += "''"; - return this.goto(this.parseLiteralMultiStringContent); + throw this.error(new TomlError("Invalid boolean, expected true or false")); } } - /* STRINGS double quoted */ - parseDoubleString() { - if (this.char === CHAR_QUOT) { - return this.next(this.parseMultiStringMaybe); + parseTrue_u() { + if (this.char === CHAR_u) { + this.consume(); + return this.next(this.parseTrue_e); } else { - return this.goto(this.parseBasicString); + throw this.error(new TomlError("Invalid boolean, expected true or false")); } } - parseBasicString() { - do { - if (this.char === CHAR_BSOL) { - return this.call(this.parseEscape, this.recordEscapeReplacement); - } else if (this.char === CHAR_QUOT) { - return this.return(); - } else if (this.atEndOfLine()) { - throw this.error(new TomlError("Unterminated string")); - } else if (this.char === CHAR_DEL || this.char <= CTRL_CHAR_BOUNDARY && this.char !== CTRL_I) { - throw this.errorControlCharInString(); - } else { - this.consume(); - } - } while (this.nextChar()); - } - recordEscapeReplacement(replacement) { - this.state.buf += replacement; - return this.goto(this.parseBasicString); - } - parseMultiStringMaybe() { - if (this.char === CHAR_QUOT) { - return this.next(this.parseMultiString); + parseTrue_e() { + if (this.char === CHAR_e) { + return this.return(true); } else { - return this.returnNow(); + throw this.error(new TomlError("Invalid boolean, expected true or false")); } } - parseMultiString() { - if (this.char === CTRL_M) { - return null; - } else if (this.char === CTRL_J) { - return this.next(this.parseMultiStringContent); + parseFalse_a() { + if (this.char === CHAR_a) { + this.consume(); + return this.next(this.parseFalse_l); } else { - return this.goto(this.parseMultiStringContent); + throw this.error(new TomlError("Invalid boolean, expected true or false")); } } - parseMultiStringContent() { - do { - if (this.char === CHAR_BSOL) { - return this.call(this.parseMultiEscape, this.recordMultiEscapeReplacement); - } else if (this.char === CHAR_QUOT) { - return this.next(this.parseMultiEnd); - } else if (this.char === Parser.END) { - throw this.error(new TomlError("Unterminated multi-line string")); - } else if (this.char === CHAR_DEL || this.char <= CTRL_CHAR_BOUNDARY && this.char !== CTRL_I && this.char !== CTRL_J && this.char !== CTRL_M) { - throw this.errorControlCharInString(); - } else { - this.consume(); - } - } while (this.nextChar()); - } - errorControlCharInString() { - let displayCode = "\\u00"; - if (this.char < 16) { - displayCode += "0"; + parseFalse_l() { + if (this.char === CHAR_l) { + this.consume(); + return this.next(this.parseFalse_s); + } else { + throw this.error(new TomlError("Invalid boolean, expected true or false")); } - displayCode += this.char.toString(16); - return this.error(new TomlError(`Control characters (codes < 0x1f and 0x7f) are not allowed in strings, use ${displayCode} instead`)); - } - recordMultiEscapeReplacement(replacement) { - this.state.buf += replacement; - return this.goto(this.parseMultiStringContent); } - parseMultiEnd() { - if (this.char === CHAR_QUOT) { - return this.next(this.parseMultiEnd2); + parseFalse_s() { + if (this.char === CHAR_s) { + this.consume(); + return this.next(this.parseFalse_e); } else { - this.state.buf += '"'; - return this.goto(this.parseMultiStringContent); + throw this.error(new TomlError("Invalid boolean, expected true or false")); } } - parseMultiEnd2() { - if (this.char === CHAR_QUOT) { - return this.return(); + parseFalse_e() { + if (this.char === CHAR_e) { + return this.return(false); } else { - this.state.buf += '""'; - return this.goto(this.parseMultiStringContent); + throw this.error(new TomlError("Invalid boolean, expected true or false")); } } - parseMultiEscape() { - if (this.char === CTRL_M || this.char === CTRL_J) { - return this.next(this.parseMultiTrim); - } else if (this.char === CHAR_SP || this.char === CTRL_I) { - return this.next(this.parsePreMultiTrim); + /* INLINE LISTS */ + parseInlineList() { + if (this.char === CHAR_SP || this.char === CTRL_I || this.char === CTRL_M || this.char === CTRL_J) { + return null; + } else if (this.char === Parser.END) { + throw this.error(new TomlError("Unterminated inline array")); + } else if (this.char === CHAR_NUM) { + return this.call(this.parseComment); + } else if (this.char === CHAR_RSQB) { + return this.return(this.state.resultArr || InlineList()); } else { - return this.goto(this.parseEscape); + return this.callNow(this.parseValue, this.recordInlineListValue); } } - parsePreMultiTrim() { - if (this.char === CHAR_SP || this.char === CTRL_I) { - return null; - } else if (this.char === CTRL_M || this.char === CTRL_J) { - return this.next(this.parseMultiTrim); + recordInlineListValue(value) { + if (this.state.resultArr) { + const listType = this.state.resultArr[_contentType]; + const valueType = tomlType(value); + if (listType !== valueType) { + throw this.error(new TomlError(`Inline lists must be a single type, not a mix of ${listType} and ${valueType}`)); + } } else { - throw this.error(new TomlError("Can't escape whitespace")); + this.state.resultArr = InlineList(tomlType(value)); + } + if (isFloat2(value) || isInteger2(value)) { + this.state.resultArr.push(value.valueOf()); + } else { + this.state.resultArr.push(value); } + return this.goto(this.parseInlineListNext); } - parseMultiTrim() { - if (this.char === CTRL_J || this.char === CHAR_SP || this.char === CTRL_I || this.char === CTRL_M) { + parseInlineListNext() { + if (this.char === CHAR_SP || this.char === CTRL_I || this.char === CTRL_M || this.char === CTRL_J) { return null; + } else if (this.char === CHAR_NUM) { + return this.call(this.parseComment); + } else if (this.char === CHAR_COMMA) { + return this.next(this.parseInlineList); + } else if (this.char === CHAR_RSQB) { + return this.goto(this.parseInlineList); } else { - return this.returnNow(); + throw this.error(new TomlError("Invalid character, expected whitespace, comma (,) or close bracket (])")); } } - parseEscape() { - if (this.char in escapes) { - return this.return(escapes[this.char]); - } else if (this.char === CHAR_u) { - return this.call(this.parseSmallUnicode, this.parseUnicodeReturn); - } else if (this.char === CHAR_U) { - return this.call(this.parseLargeUnicode, this.parseUnicodeReturn); + /* INLINE TABLE */ + parseInlineTable() { + if (this.char === CHAR_SP || this.char === CTRL_I) { + return null; + } else if (this.char === Parser.END || this.char === CHAR_NUM || this.char === CTRL_J || this.char === CTRL_M) { + throw this.error(new TomlError("Unterminated inline array")); + } else if (this.char === CHAR_RCUB) { + return this.return(this.state.resultTable || InlineTable()); } else { - throw this.error(new TomlError("Unknown escape character: " + this.char)); + if (!this.state.resultTable) this.state.resultTable = InlineTable(); + return this.callNow(this.parseAssign, this.recordInlineTableValue); } } - parseUnicodeReturn(char) { - try { - const codePoint = parseInt(char, 16); - if (codePoint >= SURROGATE_FIRST && codePoint <= SURROGATE_LAST) { - throw this.error(new TomlError("Invalid unicode, character in range 0xD800 - 0xDFFF is reserved")); + recordInlineTableValue(kv) { + let target = this.state.resultTable; + let finalKey = kv.key.pop(); + for (let kw of kv.key) { + if (hasKey(target, kw) && (!isTable(target[kw]) || target[kw][_declared])) { + throw this.error(new TomlError("Can't redefine existing key")); } - return this.returnNow(String.fromCodePoint(codePoint)); - } catch (err) { - throw this.error(TomlError.wrap(err)); + target = target[kw] = target[kw] || Table(); } - } - parseSmallUnicode() { - if (!isHexit(this.char)) { - throw this.error(new TomlError("Invalid character in unicode sequence, expected hex")); - } else { - this.consume(); - if (this.state.buf.length >= 4) - return this.return(); + if (hasKey(target, finalKey)) { + throw this.error(new TomlError("Can't redefine existing key")); } - } - parseLargeUnicode() { - if (!isHexit(this.char)) { - throw this.error(new TomlError("Invalid character in unicode sequence, expected hex")); + if (isInteger2(kv.value) || isFloat2(kv.value)) { + target[finalKey] = kv.value.valueOf(); } else { - this.consume(); - if (this.state.buf.length >= 8) - return this.return(); + target[finalKey] = kv.value; } + return this.goto(this.parseInlineTableNext); } - /* NUMBERS */ - parseNumberSign() { - this.consume(); - return this.next(this.parseMaybeSignedInfOrNan); - } - parseMaybeSignedInfOrNan() { - if (this.char === CHAR_i) { - return this.next(this.parseInf); - } else if (this.char === CHAR_n) { - return this.next(this.parseNan); + parseInlineTableNext() { + if (this.char === CHAR_SP || this.char === CTRL_I) { + return null; + } else if (this.char === Parser.END || this.char === CHAR_NUM || this.char === CTRL_J || this.char === CTRL_M) { + throw this.error(new TomlError("Unterminated inline array")); + } else if (this.char === CHAR_COMMA) { + return this.next(this.parseInlineTable); + } else if (this.char === CHAR_RCUB) { + return this.goto(this.parseInlineTable); } else { - return this.callNow(this.parseNoUnder, this.parseNumberIntegerStart); + throw this.error(new TomlError("Invalid character, expected whitespace, comma (,) or close bracket (])")); } } - parseNumberIntegerStart() { - if (this.char === CHAR_0) { - this.consume(); - return this.next(this.parseNumberIntegerExponentOrDecimal); + } + return TOMLParser; + } + } +}); + +// node_modules/@iarna/toml/parse-pretty-error.js +var require_parse_pretty_error = __commonJS({ + "node_modules/@iarna/toml/parse-pretty-error.js"(exports, module) { + "use strict"; + module.exports = prettyError; + function prettyError(err, buf) { + if (err.pos == null || err.line == null) return err; + let msg = err.message; + msg += ` at row ${err.line + 1}, col ${err.col + 1}, pos ${err.pos}: +`; + if (buf && buf.split) { + const lines = buf.split(/\n/); + const lineNumWidth = String(Math.min(lines.length, err.line + 3)).length; + let linePadding = " "; + while (linePadding.length < lineNumWidth) linePadding += " "; + for (let ii = Math.max(0, err.line - 1); ii < Math.min(lines.length, err.line + 2); ++ii) { + let lineNum = String(ii + 1); + if (lineNum.length < lineNumWidth) lineNum = " " + lineNum; + if (err.line === ii) { + msg += lineNum + "> " + lines[ii] + "\n"; + msg += linePadding + " "; + for (let hh = 0; hh < err.col; ++hh) { + msg += " "; + } + msg += "^\n"; } else { - return this.goto(this.parseNumberInteger); + msg += lineNum + ": " + lines[ii] + "\n"; } } - parseNumberIntegerExponentOrDecimal() { - if (this.char === CHAR_PERIOD) { - this.consume(); - return this.call(this.parseNoUnder, this.parseNumberFloat); - } else if (this.char === CHAR_E || this.char === CHAR_e) { - this.consume(); - return this.next(this.parseNumberExponentSign); - } else { - return this.returnNow(Integer(this.state.buf)); + } + err.message = msg + "\n"; + return err; + } + } +}); + +// node_modules/@iarna/toml/parse-async.js +var require_parse_async = __commonJS({ + "node_modules/@iarna/toml/parse-async.js"(exports, module) { + "use strict"; + module.exports = parseAsync; + var TOMLParser = require_toml_parser(); + var prettyError = require_parse_pretty_error(); + function parseAsync(str2, opts) { + if (!opts) opts = {}; + const index = 0; + const blocksize = opts.blocksize || 40960; + const parser = new TOMLParser(); + return new Promise((resolve3, reject) => { + setImmediate(parseAsyncNext, index, blocksize, resolve3, reject); + }); + function parseAsyncNext(index2, blocksize2, resolve3, reject) { + if (index2 >= str2.length) { + try { + return resolve3(parser.finish()); + } catch (err) { + return reject(prettyError(err, str2)); } } - parseNumberInteger() { - if (isDigit(this.char)) { - this.consume(); - } else if (this.char === CHAR_LOWBAR) { - return this.call(this.parseNoUnder); - } else if (this.char === CHAR_E || this.char === CHAR_e) { - this.consume(); - return this.next(this.parseNumberExponentSign); - } else if (this.char === CHAR_PERIOD) { - this.consume(); - return this.call(this.parseNoUnder, this.parseNumberFloat); - } else { - const result = Integer(this.state.buf); - if (result.isNaN()) { - throw this.error(new TomlError("Invalid number")); - } else { - return this.returnNow(result); - } + try { + parser.parse(str2.slice(index2, index2 + blocksize2)); + setImmediate(parseAsyncNext, index2 + blocksize2, blocksize2, resolve3, reject); + } catch (err) { + reject(prettyError(err, str2)); + } + } + } + } +}); + +// node_modules/js-tokens/index.js +var require_js_tokens = __commonJS({ + "node_modules/js-tokens/index.js"(exports) { + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.default = /((['"])(?:(?!\2|\\).|\\(?:\r\n|[\s\S]))*(\2)?|`(?:[^`\\$]|\\[\s\S]|\$(?!\{)|\$\{(?:[^{}]|\{[^}]*\}?)*\}?)*(`)?)|(\/\/.*)|(\/\*(?:[^*]|\*(?!\/))*(\*\/)?)|(\/(?!\*)(?:\[(?:(?![\]\\]).|\\.)*\]|(?![\/\]\\]).|\\.)+\/(?:(?!\s*(?:\b|[\u0080-\uFFFF$\\'"~({]|[+\-!](?!=)|\.?\d))|[gmiyus]{1,6}\b(?![\u0080-\uFFFF$\\]|\s*(?:[+\-*%&|^<>!=?({]|\/(?![\/*])))))|(0[xX][\da-fA-F]+|0[oO][0-7]+|0[bB][01]+|(?:\d*\.\d+|\d+\.?)(?:[eE][+-]?\d+)?)|((?!\d)(?:(?!\s)[$\w\u0080-\uFFFF]|\\u[\da-fA-F]{4}|\\u\{[\da-fA-F]+\})+)|(--|\+\+|&&|\|\||=>|\.{3}|(?:[+\-\/%&|^]|\*{1,2}|<{1,2}|>{1,3}|!=?|={1,2})=?|[?~.,:;[\](){}])|(\s+)|(^$|[\s\S])/g; + exports.matchToToken = function(match) { + var token2 = { type: "invalid", value: match[0], closed: void 0 }; + if (match[1]) token2.type = "string", token2.closed = !!(match[3] || match[4]); + else if (match[5]) token2.type = "comment"; + else if (match[6]) token2.type = "comment", token2.closed = !!match[7]; + else if (match[8]) token2.type = "regex"; + else if (match[9]) token2.type = "number"; + else if (match[10]) token2.type = "name"; + else if (match[11]) token2.type = "punctuator"; + else if (match[12]) token2.type = "whitespace"; + return token2; + }; + } +}); + +// node_modules/@babel/helper-validator-identifier/lib/identifier.js +var require_identifier = __commonJS({ + "node_modules/@babel/helper-validator-identifier/lib/identifier.js"(exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.isIdentifierChar = isIdentifierChar; + exports.isIdentifierName = isIdentifierName; + exports.isIdentifierStart = isIdentifierStart; + var nonASCIIidentifierStartChars = "\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0560-\u0588\u05D0-\u05EA\u05EF-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u0870-\u0887\u0889-\u088E\u08A0-\u08C9\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C5D\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D04-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E86-\u0E8A\u0E8C-\u0EA3\u0EA5\u0EA7-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u1711\u171F-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1878\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4C\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\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\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2118-\u211D\u2124\u2126\u2128\u212A-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309B-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312F\u3131-\u318E\u31A0-\u31BF\u31F0-\u31FF\u3400-\u4DBF\u4E00-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7CA\uA7D0\uA7D1\uA7D3\uA7D5-\uA7D9\uA7F2-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA8FE\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB69\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC"; + var nonASCIIidentifierChars = "\u200C\u200D\xB7\u0300-\u036F\u0387\u0483-\u0487\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u0610-\u061A\u064B-\u0669\u0670\u06D6-\u06DC\u06DF-\u06E4\u06E7\u06E8\u06EA-\u06ED\u06F0-\u06F9\u0711\u0730-\u074A\u07A6-\u07B0\u07C0-\u07C9\u07EB-\u07F3\u07FD\u0816-\u0819\u081B-\u0823\u0825-\u0827\u0829-\u082D\u0859-\u085B\u0898-\u089F\u08CA-\u08E1\u08E3-\u0903\u093A-\u093C\u093E-\u094F\u0951-\u0957\u0962\u0963\u0966-\u096F\u0981-\u0983\u09BC\u09BE-\u09C4\u09C7\u09C8\u09CB-\u09CD\u09D7\u09E2\u09E3\u09E6-\u09EF\u09FE\u0A01-\u0A03\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A66-\u0A71\u0A75\u0A81-\u0A83\u0ABC\u0ABE-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AE2\u0AE3\u0AE6-\u0AEF\u0AFA-\u0AFF\u0B01-\u0B03\u0B3C\u0B3E-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B55-\u0B57\u0B62\u0B63\u0B66-\u0B6F\u0B82\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD7\u0BE6-\u0BEF\u0C00-\u0C04\u0C3C\u0C3E-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C62\u0C63\u0C66-\u0C6F\u0C81-\u0C83\u0CBC\u0CBE-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CE2\u0CE3\u0CE6-\u0CEF\u0CF3\u0D00-\u0D03\u0D3B\u0D3C\u0D3E-\u0D44\u0D46-\u0D48\u0D4A-\u0D4D\u0D57\u0D62\u0D63\u0D66-\u0D6F\u0D81-\u0D83\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E31\u0E34-\u0E3A\u0E47-\u0E4E\u0E50-\u0E59\u0EB1\u0EB4-\u0EBC\u0EC8-\u0ECE\u0ED0-\u0ED9\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E\u0F3F\u0F71-\u0F84\u0F86\u0F87\u0F8D-\u0F97\u0F99-\u0FBC\u0FC6\u102B-\u103E\u1040-\u1049\u1056-\u1059\u105E-\u1060\u1062-\u1064\u1067-\u106D\u1071-\u1074\u1082-\u108D\u108F-\u109D\u135D-\u135F\u1369-\u1371\u1712-\u1715\u1732-\u1734\u1752\u1753\u1772\u1773\u17B4-\u17D3\u17DD\u17E0-\u17E9\u180B-\u180D\u180F-\u1819\u18A9\u1920-\u192B\u1930-\u193B\u1946-\u194F\u19D0-\u19DA\u1A17-\u1A1B\u1A55-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AB0-\u1ABD\u1ABF-\u1ACE\u1B00-\u1B04\u1B34-\u1B44\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1B82\u1BA1-\u1BAD\u1BB0-\u1BB9\u1BE6-\u1BF3\u1C24-\u1C37\u1C40-\u1C49\u1C50-\u1C59\u1CD0-\u1CD2\u1CD4-\u1CE8\u1CED\u1CF4\u1CF7-\u1CF9\u1DC0-\u1DFF\u200C\u200D\u203F\u2040\u2054\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2CEF-\u2CF1\u2D7F\u2DE0-\u2DFF\u302A-\u302F\u3099\u309A\u30FB\uA620-\uA629\uA66F\uA674-\uA67D\uA69E\uA69F\uA6F0\uA6F1\uA802\uA806\uA80B\uA823-\uA827\uA82C\uA880\uA881\uA8B4-\uA8C5\uA8D0-\uA8D9\uA8E0-\uA8F1\uA8FF-\uA909\uA926-\uA92D\uA947-\uA953\uA980-\uA983\uA9B3-\uA9C0\uA9D0-\uA9D9\uA9E5\uA9F0-\uA9F9\uAA29-\uAA36\uAA43\uAA4C\uAA4D\uAA50-\uAA59\uAA7B-\uAA7D\uAAB0\uAAB2-\uAAB4\uAAB7\uAAB8\uAABE\uAABF\uAAC1\uAAEB-\uAAEF\uAAF5\uAAF6\uABE3-\uABEA\uABEC\uABED\uABF0-\uABF9\uFB1E\uFE00-\uFE0F\uFE20-\uFE2F\uFE33\uFE34\uFE4D-\uFE4F\uFF10-\uFF19\uFF3F\uFF65"; + var nonASCIIidentifierStart = new RegExp("[" + nonASCIIidentifierStartChars + "]"); + var nonASCIIidentifier = new RegExp("[" + nonASCIIidentifierStartChars + nonASCIIidentifierChars + "]"); + nonASCIIidentifierStartChars = nonASCIIidentifierChars = null; + var astralIdentifierStartCodes = [0, 11, 2, 25, 2, 18, 2, 1, 2, 14, 3, 13, 35, 122, 70, 52, 268, 28, 4, 48, 48, 31, 14, 29, 6, 37, 11, 29, 3, 35, 5, 7, 2, 4, 43, 157, 19, 35, 5, 35, 5, 39, 9, 51, 13, 10, 2, 14, 2, 6, 2, 1, 2, 10, 2, 14, 2, 6, 2, 1, 68, 310, 10, 21, 11, 7, 25, 5, 2, 41, 2, 8, 70, 5, 3, 0, 2, 43, 2, 1, 4, 0, 3, 22, 11, 22, 10, 30, 66, 18, 2, 1, 11, 21, 11, 25, 71, 55, 7, 1, 65, 0, 16, 3, 2, 2, 2, 28, 43, 28, 4, 28, 36, 7, 2, 27, 28, 53, 11, 21, 11, 18, 14, 17, 111, 72, 56, 50, 14, 50, 14, 35, 349, 41, 7, 1, 79, 28, 11, 0, 9, 21, 43, 17, 47, 20, 28, 22, 13, 52, 58, 1, 3, 0, 14, 44, 33, 24, 27, 35, 30, 0, 3, 0, 9, 34, 4, 0, 13, 47, 15, 3, 22, 0, 2, 0, 36, 17, 2, 24, 20, 1, 64, 6, 2, 0, 2, 3, 2, 14, 2, 9, 8, 46, 39, 7, 3, 1, 3, 21, 2, 6, 2, 1, 2, 4, 4, 0, 19, 0, 13, 4, 159, 52, 19, 3, 21, 2, 31, 47, 21, 1, 2, 0, 185, 46, 42, 3, 37, 47, 21, 0, 60, 42, 14, 0, 72, 26, 38, 6, 186, 43, 117, 63, 32, 7, 3, 0, 3, 7, 2, 1, 2, 23, 16, 0, 2, 0, 95, 7, 3, 38, 17, 0, 2, 0, 29, 0, 11, 39, 8, 0, 22, 0, 12, 45, 20, 0, 19, 72, 264, 8, 2, 36, 18, 0, 50, 29, 113, 6, 2, 1, 2, 37, 22, 0, 26, 5, 2, 1, 2, 31, 15, 0, 328, 18, 16, 0, 2, 12, 2, 33, 125, 0, 80, 921, 103, 110, 18, 195, 2637, 96, 16, 1071, 18, 5, 4026, 582, 8634, 568, 8, 30, 18, 78, 18, 29, 19, 47, 17, 3, 32, 20, 6, 18, 689, 63, 129, 74, 6, 0, 67, 12, 65, 1, 2, 0, 29, 6135, 9, 1237, 43, 8, 8936, 3, 2, 6, 2, 1, 2, 290, 16, 0, 30, 2, 3, 0, 15, 3, 9, 395, 2309, 106, 6, 12, 4, 8, 8, 9, 5991, 84, 2, 70, 2, 1, 3, 0, 3, 1, 3, 3, 2, 11, 2, 0, 2, 6, 2, 64, 2, 3, 3, 7, 2, 6, 2, 27, 2, 3, 2, 4, 2, 0, 4, 6, 2, 339, 3, 24, 2, 24, 2, 30, 2, 24, 2, 30, 2, 24, 2, 30, 2, 24, 2, 30, 2, 24, 2, 7, 1845, 30, 7, 5, 262, 61, 147, 44, 11, 6, 17, 0, 322, 29, 19, 43, 485, 27, 757, 6, 2, 3, 2, 1, 2, 14, 2, 196, 60, 67, 8, 0, 1205, 3, 2, 26, 2, 1, 2, 0, 3, 0, 2, 9, 2, 3, 2, 0, 2, 0, 7, 0, 5, 0, 2, 0, 2, 0, 2, 2, 2, 1, 2, 0, 3, 0, 2, 0, 2, 0, 2, 0, 2, 0, 2, 1, 2, 0, 3, 3, 2, 6, 2, 3, 2, 3, 2, 0, 2, 9, 2, 16, 6, 2, 2, 4, 2, 16, 4421, 42719, 33, 4153, 7, 221, 3, 5761, 15, 7472, 16, 621, 2467, 541, 1507, 4938, 6, 4191]; + var astralIdentifierCodes = [509, 0, 227, 0, 150, 4, 294, 9, 1368, 2, 2, 1, 6, 3, 41, 2, 5, 0, 166, 1, 574, 3, 9, 9, 370, 1, 81, 2, 71, 10, 50, 3, 123, 2, 54, 14, 32, 10, 3, 1, 11, 3, 46, 10, 8, 0, 46, 9, 7, 2, 37, 13, 2, 9, 6, 1, 45, 0, 13, 2, 49, 13, 9, 3, 2, 11, 83, 11, 7, 0, 3, 0, 158, 11, 6, 9, 7, 3, 56, 1, 2, 6, 3, 1, 3, 2, 10, 0, 11, 1, 3, 6, 4, 4, 193, 17, 10, 9, 5, 0, 82, 19, 13, 9, 214, 6, 3, 8, 28, 1, 83, 16, 16, 9, 82, 12, 9, 9, 84, 14, 5, 9, 243, 14, 166, 9, 71, 5, 2, 1, 3, 3, 2, 0, 2, 1, 13, 9, 120, 6, 3, 6, 4, 0, 29, 9, 41, 6, 2, 3, 9, 0, 10, 10, 47, 15, 406, 7, 2, 7, 17, 9, 57, 21, 2, 13, 123, 5, 4, 0, 2, 1, 2, 6, 2, 0, 9, 9, 49, 4, 2, 1, 2, 4, 9, 9, 330, 3, 10, 1, 2, 0, 49, 6, 4, 4, 14, 9, 5351, 0, 7, 14, 13835, 9, 87, 9, 39, 4, 60, 6, 26, 9, 1014, 0, 2, 54, 8, 3, 82, 0, 12, 1, 19628, 1, 4706, 45, 3, 22, 543, 4, 4, 5, 9, 7, 3, 6, 31, 3, 149, 2, 1418, 49, 513, 54, 5, 49, 9, 0, 15, 0, 23, 4, 2, 14, 1361, 6, 2, 16, 3, 6, 2, 1, 2, 4, 101, 0, 161, 6, 10, 9, 357, 0, 62, 13, 499, 13, 983, 6, 110, 6, 6, 9, 4759, 9, 787719, 239]; + function isInAstralSet(code, set2) { + let pos2 = 65536; + for (let i = 0, length = set2.length; i < length; i += 2) { + pos2 += set2[i]; + if (pos2 > code) return false; + pos2 += set2[i + 1]; + if (pos2 >= code) return true; + } + return false; + } + function isIdentifierStart(code) { + if (code < 65) return code === 36; + if (code <= 90) return true; + if (code < 97) return code === 95; + if (code <= 122) return true; + if (code <= 65535) { + return code >= 170 && nonASCIIidentifierStart.test(String.fromCharCode(code)); + } + return isInAstralSet(code, astralIdentifierStartCodes); + } + function isIdentifierChar(code) { + if (code < 48) return code === 36; + if (code < 58) return true; + if (code < 65) return false; + if (code <= 90) return true; + if (code < 97) return code === 95; + if (code <= 122) return true; + if (code <= 65535) { + return code >= 170 && nonASCIIidentifier.test(String.fromCharCode(code)); + } + return isInAstralSet(code, astralIdentifierStartCodes) || isInAstralSet(code, astralIdentifierCodes); + } + function isIdentifierName(name) { + let isFirst = true; + for (let i = 0; i < name.length; i++) { + let cp = name.charCodeAt(i); + if ((cp & 64512) === 55296 && i + 1 < name.length) { + const trail = name.charCodeAt(++i); + if ((trail & 64512) === 56320) { + cp = 65536 + ((cp & 1023) << 10) + (trail & 1023); } } - parseNoUnder() { - if (this.char === CHAR_LOWBAR || this.char === CHAR_PERIOD || this.char === CHAR_E || this.char === CHAR_e) { - throw this.error(new TomlError("Unexpected character, expected digit")); - } else if (this.atEndOfWord()) { - throw this.error(new TomlError("Incomplete number")); + if (isFirst) { + isFirst = false; + if (!isIdentifierStart(cp)) { + return false; } - return this.returnNow(); + } else if (!isIdentifierChar(cp)) { + return false; } - parseNoUnderHexOctBinLiteral() { - if (this.char === CHAR_LOWBAR || this.char === CHAR_PERIOD) { - throw this.error(new TomlError("Unexpected character, expected digit")); - } else if (this.atEndOfWord()) { - throw this.error(new TomlError("Incomplete number")); + } + return !isFirst; + } + } +}); + +// node_modules/@babel/helper-validator-identifier/lib/keyword.js +var require_keyword = __commonJS({ + "node_modules/@babel/helper-validator-identifier/lib/keyword.js"(exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.isKeyword = isKeyword; + exports.isReservedWord = isReservedWord; + exports.isStrictBindOnlyReservedWord = isStrictBindOnlyReservedWord; + exports.isStrictBindReservedWord = isStrictBindReservedWord; + exports.isStrictReservedWord = isStrictReservedWord; + var reservedWords = { + keyword: ["break", "case", "catch", "continue", "debugger", "default", "do", "else", "finally", "for", "function", "if", "return", "switch", "throw", "try", "var", "const", "while", "with", "new", "this", "super", "class", "extends", "export", "import", "null", "true", "false", "in", "instanceof", "typeof", "void", "delete"], + strict: ["implements", "interface", "let", "package", "private", "protected", "public", "static", "yield"], + strictBind: ["eval", "arguments"] + }; + var keywords = new Set(reservedWords.keyword); + var reservedWordsStrictSet = new Set(reservedWords.strict); + var reservedWordsStrictBindSet = new Set(reservedWords.strictBind); + function isReservedWord(word, inModule) { + return inModule && word === "await" || word === "enum"; + } + function isStrictReservedWord(word, inModule) { + return isReservedWord(word, inModule) || reservedWordsStrictSet.has(word); + } + function isStrictBindOnlyReservedWord(word) { + return reservedWordsStrictBindSet.has(word); + } + function isStrictBindReservedWord(word, inModule) { + return isStrictReservedWord(word, inModule) || isStrictBindOnlyReservedWord(word); + } + function isKeyword(word) { + return keywords.has(word); + } + } +}); + +// node_modules/@babel/helper-validator-identifier/lib/index.js +var require_lib = __commonJS({ + "node_modules/@babel/helper-validator-identifier/lib/index.js"(exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { + value: true + }); + Object.defineProperty(exports, "isIdentifierChar", { + enumerable: true, + get: function() { + return _identifier.isIdentifierChar; + } + }); + Object.defineProperty(exports, "isIdentifierName", { + enumerable: true, + get: function() { + return _identifier.isIdentifierName; + } + }); + Object.defineProperty(exports, "isIdentifierStart", { + enumerable: true, + get: function() { + return _identifier.isIdentifierStart; + } + }); + Object.defineProperty(exports, "isKeyword", { + enumerable: true, + get: function() { + return _keyword.isKeyword; + } + }); + Object.defineProperty(exports, "isReservedWord", { + enumerable: true, + get: function() { + return _keyword.isReservedWord; + } + }); + Object.defineProperty(exports, "isStrictBindOnlyReservedWord", { + enumerable: true, + get: function() { + return _keyword.isStrictBindOnlyReservedWord; + } + }); + Object.defineProperty(exports, "isStrictBindReservedWord", { + enumerable: true, + get: function() { + return _keyword.isStrictBindReservedWord; + } + }); + Object.defineProperty(exports, "isStrictReservedWord", { + enumerable: true, + get: function() { + return _keyword.isStrictReservedWord; + } + }); + var _identifier = require_identifier(); + var _keyword = require_keyword(); + } +}); + +// node_modules/picocolors/picocolors.js +var require_picocolors = __commonJS({ + "node_modules/picocolors/picocolors.js"(exports, module) { + var argv = process.argv || []; + var env2 = process.env; + var isColorSupported = !("NO_COLOR" in env2 || argv.includes("--no-color")) && ("FORCE_COLOR" in env2 || argv.includes("--color") || process.platform === "win32" || __require != null && __require("tty").isatty(1) && env2.TERM !== "dumb" || "CI" in env2); + var formatter = (open, close, replace = open) => (input) => { + let string = "" + input; + let index = string.indexOf(close, open.length); + return ~index ? open + replaceClose(string, close, replace, index) + close : open + string + close; + }; + var replaceClose = (string, close, replace, index) => { + let result = ""; + let cursor2 = 0; + do { + result += string.substring(cursor2, index) + replace; + cursor2 = index + close.length; + index = string.indexOf(close, cursor2); + } while (~index); + return result + string.substring(cursor2); + }; + var createColors = (enabled = isColorSupported) => { + let init = enabled ? formatter : () => String; + return { + isColorSupported: enabled, + reset: init("\x1B[0m", "\x1B[0m"), + bold: init("\x1B[1m", "\x1B[22m", "\x1B[22m\x1B[1m"), + dim: init("\x1B[2m", "\x1B[22m", "\x1B[22m\x1B[2m"), + italic: init("\x1B[3m", "\x1B[23m"), + underline: init("\x1B[4m", "\x1B[24m"), + inverse: init("\x1B[7m", "\x1B[27m"), + hidden: init("\x1B[8m", "\x1B[28m"), + strikethrough: init("\x1B[9m", "\x1B[29m"), + black: init("\x1B[30m", "\x1B[39m"), + red: init("\x1B[31m", "\x1B[39m"), + green: init("\x1B[32m", "\x1B[39m"), + yellow: init("\x1B[33m", "\x1B[39m"), + blue: init("\x1B[34m", "\x1B[39m"), + magenta: init("\x1B[35m", "\x1B[39m"), + cyan: init("\x1B[36m", "\x1B[39m"), + white: init("\x1B[37m", "\x1B[39m"), + gray: init("\x1B[90m", "\x1B[39m"), + bgBlack: init("\x1B[40m", "\x1B[49m"), + bgRed: init("\x1B[41m", "\x1B[49m"), + bgGreen: init("\x1B[42m", "\x1B[49m"), + bgYellow: init("\x1B[43m", "\x1B[49m"), + bgBlue: init("\x1B[44m", "\x1B[49m"), + bgMagenta: init("\x1B[45m", "\x1B[49m"), + bgCyan: init("\x1B[46m", "\x1B[49m"), + bgWhite: init("\x1B[47m", "\x1B[49m") + }; + }; + module.exports = createColors(); + module.exports.createColors = createColors; + } +}); + +// node_modules/@babel/highlight/lib/index.js +var require_lib2 = __commonJS({ + "node_modules/@babel/highlight/lib/index.js"(exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.default = highlight; + exports.shouldHighlight = shouldHighlight; + var _jsTokens = require_js_tokens(); + var _helperValidatorIdentifier = require_lib(); + var _picocolors = _interopRequireWildcard(require_picocolors(), true); + function _getRequireWildcardCache(e) { + if ("function" != typeof WeakMap) return null; + var r = /* @__PURE__ */ new WeakMap(), t = /* @__PURE__ */ new WeakMap(); + return (_getRequireWildcardCache = function(e2) { + return e2 ? t : r; + })(e); + } + function _interopRequireWildcard(e, r) { + if (!r && e && e.__esModule) return e; + if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; + var t = _getRequireWildcardCache(r); + if (t && t.has(e)) return t.get(e); + var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; + for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { + var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; + i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; + } + return n.default = e, t && t.set(e, n), n; + } + var colors = typeof process === "object" && (process.env.FORCE_COLOR === "0" || process.env.FORCE_COLOR === "false") ? (0, _picocolors.createColors)(false) : _picocolors.default; + var compose = (f, g) => (v) => f(g(v)); + var sometimesKeywords = /* @__PURE__ */ new Set(["as", "async", "from", "get", "of", "set"]); + function getDefs(colors2) { + return { + keyword: colors2.cyan, + capitalized: colors2.yellow, + jsxIdentifier: colors2.yellow, + punctuator: colors2.yellow, + number: colors2.magenta, + string: colors2.green, + regex: colors2.magenta, + comment: colors2.gray, + invalid: compose(compose(colors2.white, colors2.bgRed), colors2.bold) + }; + } + var NEWLINE = /\r\n|[\n\r\u2028\u2029]/; + var BRACKET = /^[()[\]{}]$/; + var tokenize2; + { + const JSX_TAG = /^[a-z][\w-]*$/i; + const getTokenType = function(token2, offset, text) { + if (token2.type === "name") { + if ((0, _helperValidatorIdentifier.isKeyword)(token2.value) || (0, _helperValidatorIdentifier.isStrictReservedWord)(token2.value, true) || sometimesKeywords.has(token2.value)) { + return "keyword"; } - return this.returnNow(); - } - parseNumberFloat() { - if (this.char === CHAR_LOWBAR) { - return this.call(this.parseNoUnder, this.parseNumberFloat); - } else if (isDigit(this.char)) { - this.consume(); - } else if (this.char === CHAR_E || this.char === CHAR_e) { - this.consume(); - return this.next(this.parseNumberExponentSign); - } else { - return this.returnNow(Float(this.state.buf)); + if (JSX_TAG.test(token2.value) && (text[offset - 1] === "<" || text.slice(offset - 2, offset) === " colorize(str2)).join("\n"); + } else { + highlighted += value; + } + } + return highlighted; + } + function shouldHighlight(options8) { + return colors.isColorSupported || options8.forceColor; + } + var pcWithForcedColor = void 0; + function getColors(forceColor) { + if (forceColor) { + var _pcWithForcedColor; + (_pcWithForcedColor = pcWithForcedColor) != null ? _pcWithForcedColor : pcWithForcedColor = (0, _picocolors.createColors)(true); + return pcWithForcedColor; + } + return colors; + } + function highlight(code, options8 = {}) { + if (code !== "" && shouldHighlight(options8)) { + const defs = getDefs(getColors(options8.forceColor)); + return highlightTokens(defs, code); + } else { + return code; + } + } + { + let chalk2, chalkWithForcedColor; + exports.getChalk = ({ + forceColor + }) => { + var _chalk; + (_chalk = chalk2) != null ? _chalk : chalk2 = (init_source(), __toCommonJS(source_exports)); + if (forceColor) { + var _chalkWithForcedColor; + (_chalkWithForcedColor = chalkWithForcedColor) != null ? _chalkWithForcedColor : chalkWithForcedColor = new chalk2.constructor({ + enabled: true, + level: 1 + }); + return chalkWithForcedColor; + } + return chalk2; + }; + } + } +}); + +// node_modules/@babel/code-frame/lib/index.js +var require_lib3 = __commonJS({ + "node_modules/@babel/code-frame/lib/index.js"(exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.codeFrameColumns = codeFrameColumns3; + exports.default = _default2; + var _highlight = require_lib2(); + var _picocolors = _interopRequireWildcard(require_picocolors(), true); + function _getRequireWildcardCache(e) { + if ("function" != typeof WeakMap) return null; + var r = /* @__PURE__ */ new WeakMap(), t = /* @__PURE__ */ new WeakMap(); + return (_getRequireWildcardCache = function(e2) { + return e2 ? t : r; + })(e); + } + function _interopRequireWildcard(e, r) { + if (!r && e && e.__esModule) return e; + if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; + var t = _getRequireWildcardCache(r); + if (t && t.has(e)) return t.get(e); + var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; + for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { + var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; + i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; + } + return n.default = e, t && t.set(e, n), n; + } + var colors = typeof process === "object" && (process.env.FORCE_COLOR === "0" || process.env.FORCE_COLOR === "false") ? (0, _picocolors.createColors)(false) : _picocolors.default; + var compose = (f, g) => (v) => f(g(v)); + var pcWithForcedColor = void 0; + function getColors(forceColor) { + if (forceColor) { + var _pcWithForcedColor; + (_pcWithForcedColor = pcWithForcedColor) != null ? _pcWithForcedColor : pcWithForcedColor = (0, _picocolors.createColors)(true); + return pcWithForcedColor; + } + return colors; + } + var deprecationWarningShown = false; + function getDefs(colors2) { + return { + gutter: colors2.gray, + marker: compose(colors2.red, colors2.bold), + message: compose(colors2.red, colors2.bold) + }; + } + var NEWLINE = /\r\n|[\n\r\u2028\u2029]/; + function getMarkerLines(loc, source2, opts) { + const startLoc = Object.assign({ + column: 0, + line: -1 + }, loc.start); + const endLoc = Object.assign({}, startLoc, loc.end); + const { + linesAbove = 2, + linesBelow = 3 + } = opts || {}; + const startLine = startLoc.line; + const startColumn = startLoc.column; + const endLine = endLoc.line; + const endColumn = endLoc.column; + let start = Math.max(startLine - (linesAbove + 1), 0); + let end = Math.min(source2.length, endLine + linesBelow); + if (startLine === -1) { + start = 0; + } + if (endLine === -1) { + end = source2.length; + } + const lineDiff2 = endLine - startLine; + const markerLines = {}; + if (lineDiff2) { + for (let i = 0; i <= lineDiff2; i++) { + const lineNumber = i + startLine; + if (!startColumn) { + markerLines[lineNumber] = true; + } else if (i === 0) { + const sourceLength = source2[lineNumber - 1].length; + markerLines[lineNumber] = [startColumn, sourceLength - startColumn + 1]; + } else if (i === lineDiff2) { + markerLines[lineNumber] = [0, endColumn]; } else { - return this.goto(this.parseNumberOrDateTimeOnly); + const sourceLength = source2[lineNumber - i].length; + markerLines[lineNumber] = [0, sourceLength]; } } - parseNumberOrDateTimeOnly() { - if (this.char === CHAR_LOWBAR) { - return this.call(this.parseNoUnder, this.parseNumberInteger); - } else if (isDigit(this.char)) { - this.consume(); - if (this.state.buf.length > 4) - this.next(this.parseNumberInteger); - } else if (this.char === CHAR_E || this.char === CHAR_e) { - this.consume(); - return this.next(this.parseNumberExponentSign); - } else if (this.char === CHAR_PERIOD) { - this.consume(); - return this.call(this.parseNoUnder, this.parseNumberFloat); - } else if (this.char === CHAR_HYPHEN) { - return this.goto(this.parseDateTime); - } else if (this.char === CHAR_COLON) { - return this.goto(this.parseOnlyTimeHour); + } else { + if (startColumn === endColumn) { + if (startColumn) { + markerLines[startLine] = [startColumn, 0]; } else { - return this.returnNow(Integer(this.state.buf)); + markerLines[startLine] = true; } + } else { + markerLines[startLine] = [startColumn, endColumn - startColumn]; } - parseDateTimeOnly() { - if (this.state.buf.length < 4) { - if (isDigit(this.char)) { - return this.consume(); - } else if (this.char === CHAR_COLON) { - return this.goto(this.parseOnlyTimeHour); - } else { - throw this.error(new TomlError("Expected digit while parsing year part of a date")); - } - } else { - if (this.char === CHAR_HYPHEN) { - return this.goto(this.parseDateTime); - } else { - throw this.error(new TomlError("Expected hyphen (-) while parsing year part of date")); + } + return { + start, + end, + markerLines + }; + } + function codeFrameColumns3(rawLines, loc, opts = {}) { + const highlighted = (opts.highlightCode || opts.forceColor) && (0, _highlight.shouldHighlight)(opts); + const colors2 = getColors(opts.forceColor); + const defs = getDefs(colors2); + const maybeHighlight = (fmt, string) => { + return highlighted ? fmt(string) : string; + }; + const lines = rawLines.split(NEWLINE); + const { + start, + end, + markerLines + } = getMarkerLines(loc, lines, opts); + const hasColumns = loc.start && typeof loc.start.column === "number"; + const numberMaxWidth = String(end).length; + const highlightedLines = highlighted ? (0, _highlight.default)(rawLines, opts) : rawLines; + let frame = highlightedLines.split(NEWLINE, end).slice(start, end).map((line3, index) => { + const number = start + 1 + index; + const paddedNumber = ` ${number}`.slice(-numberMaxWidth); + const gutter = ` ${paddedNumber} |`; + const hasMarker = markerLines[number]; + const lastMarkerLine = !markerLines[number + 1]; + if (hasMarker) { + let markerLine = ""; + if (Array.isArray(hasMarker)) { + const markerSpacing = line3.slice(0, Math.max(hasMarker[0] - 1, 0)).replace(/[^\t]/g, " "); + const numberOfMarkers = hasMarker[1] || 1; + markerLine = ["\n ", maybeHighlight(defs.gutter, gutter.replace(/\d/g, " ")), " ", markerSpacing, maybeHighlight(defs.marker, "^").repeat(numberOfMarkers)].join(""); + if (lastMarkerLine && opts.message) { + markerLine += " " + maybeHighlight(defs.message, opts.message); } } + return [maybeHighlight(defs.marker, ">"), maybeHighlight(defs.gutter, gutter), line3.length > 0 ? ` ${line3}` : "", markerLine].join(""); + } else { + return ` ${maybeHighlight(defs.gutter, gutter)}${line3.length > 0 ? ` ${line3}` : ""}`; } - parseNumberBaseOrDateTime() { - if (this.char === CHAR_b) { - this.consume(); - return this.call(this.parseNoUnderHexOctBinLiteral, this.parseIntegerBin); - } else if (this.char === CHAR_o) { - this.consume(); - return this.call(this.parseNoUnderHexOctBinLiteral, this.parseIntegerOct); - } else if (this.char === CHAR_x) { - this.consume(); - return this.call(this.parseNoUnderHexOctBinLiteral, this.parseIntegerHex); - } else if (this.char === CHAR_PERIOD) { - return this.goto(this.parseNumberInteger); - } else if (isDigit(this.char)) { - return this.goto(this.parseDateTimeOnly); - } else { - return this.returnNow(Integer(this.state.buf)); - } + }).join("\n"); + if (opts.message && !hasColumns) { + frame = `${" ".repeat(numberMaxWidth + 1)}${opts.message} +${frame}`; + } + if (highlighted) { + return colors2.reset(frame); + } else { + return frame; + } + } + function _default2(rawLines, lineNumber, colNumber, opts = {}) { + if (!deprecationWarningShown) { + deprecationWarningShown = true; + const message = "Passing lineNumber and colNumber is deprecated to @babel/code-frame. Please use `codeFrameColumns`."; + if (process.emitWarning) { + process.emitWarning(message, "DeprecationWarning"); + } else { + const deprecationError = new Error(message); + deprecationError.name = "DeprecationWarning"; + console.warn(new Error(message)); } - parseIntegerHex() { - if (isHexit(this.char)) { - this.consume(); - } else if (this.char === CHAR_LOWBAR) { - return this.call(this.parseNoUnderHexOctBinLiteral); - } else { - const result = Integer(this.state.buf); - if (result.isNaN()) { - throw this.error(new TomlError("Invalid number")); - } else { - return this.returnNow(result); - } - } + } + colNumber = Math.max(colNumber, 0); + const location = { + start: { + column: colNumber, + line: lineNumber } - parseIntegerOct() { - if (isOctit(this.char)) { - this.consume(); - } else if (this.char === CHAR_LOWBAR) { - return this.call(this.parseNoUnderHexOctBinLiteral); - } else { - const result = Integer(this.state.buf); - if (result.isNaN()) { - throw this.error(new TomlError("Invalid number")); - } else { - return this.returnNow(result); - } - } + }; + return codeFrameColumns3(rawLines, location, opts); + } + } +}); + +// node_modules/ignore/index.js +var require_ignore = __commonJS({ + "node_modules/ignore/index.js"(exports, module) { + function makeArray(subject) { + return Array.isArray(subject) ? subject : [subject]; + } + var EMPTY = ""; + var SPACE = " "; + var ESCAPE = "\\"; + var REGEX_TEST_BLANK_LINE = /^\s+$/; + var REGEX_INVALID_TRAILING_BACKSLASH = /(?:[^\\]|^)\\$/; + var REGEX_REPLACE_LEADING_EXCAPED_EXCLAMATION = /^\\!/; + var REGEX_REPLACE_LEADING_EXCAPED_HASH = /^\\#/; + var REGEX_SPLITALL_CRLF = /\r?\n/g; + var REGEX_TEST_INVALID_PATH = /^\.*\/|^\.+$/; + var SLASH = "/"; + var TMP_KEY_IGNORE = "node-ignore"; + if (typeof Symbol !== "undefined") { + TMP_KEY_IGNORE = Symbol.for("node-ignore"); + } + var KEY_IGNORE = TMP_KEY_IGNORE; + var define = (object, key2, value) => Object.defineProperty(object, key2, { value }); + var REGEX_REGEXP_RANGE = /([0-z])-([0-z])/g; + var RETURN_FALSE = () => false; + var sanitizeRange = (range) => range.replace( + REGEX_REGEXP_RANGE, + (match, from, to) => from.charCodeAt(0) <= to.charCodeAt(0) ? match : EMPTY + ); + var cleanRangeBackSlash = (slashes) => { + const { length } = slashes; + return slashes.slice(0, length - length % 2); + }; + var REPLACERS = [ + [ + // remove BOM + // TODO: + // Other similar zero-width characters? + /^\uFEFF/, + () => EMPTY + ], + // > Trailing spaces are ignored unless they are quoted with backslash ("\") + [ + // (a\ ) -> (a ) + // (a ) -> (a) + // (a \ ) -> (a ) + /\\?\s+$/, + (match) => match.indexOf("\\") === 0 ? SPACE : EMPTY + ], + // replace (\ ) with ' ' + [ + /\\\s/g, + () => SPACE + ], + // Escape metacharacters + // which is written down by users but means special for regular expressions. + // > There are 12 characters with special meanings: + // > - the backslash \, + // > - the caret ^, + // > - the dollar sign $, + // > - the period or dot ., + // > - the vertical bar or pipe symbol |, + // > - the question mark ?, + // > - the asterisk or star *, + // > - the plus sign +, + // > - the opening parenthesis (, + // > - the closing parenthesis ), + // > - and the opening square bracket [, + // > - the opening curly brace {, + // > These special characters are often called "metacharacters". + [ + /[\\$.|*+(){^]/g, + (match) => `\\${match}` + ], + [ + // > a question mark (?) matches a single character + /(?!\\)\?/g, + () => "[^/]" + ], + // leading slash + [ + // > A leading slash matches the beginning of the pathname. + // > For example, "/*.c" matches "cat-file.c" but not "mozilla-sha1/sha1.c". + // A leading slash matches the beginning of the pathname + /^\//, + () => "^" + ], + // replace special metacharacter slash after the leading slash + [ + /\//g, + () => "\\/" + ], + [ + // > A leading "**" followed by a slash means match in all directories. + // > For example, "**/foo" matches file or directory "foo" anywhere, + // > the same as pattern "foo". + // > "**/foo/bar" matches file or directory "bar" anywhere that is directly + // > under directory "foo". + // Notice that the '*'s have been replaced as '\\*' + /^\^*\\\*\\\*\\\//, + // '**/foo' <-> 'foo' + () => "^(?:.*\\/)?" + ], + // starting + [ + // there will be no leading '/' + // (which has been replaced by section "leading slash") + // If starts with '**', adding a '^' to the regular expression also works + /^(?=[^^])/, + function startingReplacer() { + return !/\/(?!$)/.test(this) ? "(?:^|\\/)" : "^"; } - parseIntegerBin() { - if (isBit(this.char)) { - this.consume(); - } else if (this.char === CHAR_LOWBAR) { - return this.call(this.parseNoUnderHexOctBinLiteral); - } else { - const result = Integer(this.state.buf); - if (result.isNaN()) { - throw this.error(new TomlError("Invalid number")); - } else { - return this.returnNow(result); - } - } + ], + // two globstars + [ + // Use lookahead assertions so that we could match more than one `'/**'` + /\\\/\\\*\\\*(?=\\\/|$)/g, + // Zero, one or several directories + // should not use '*', or it will be replaced by the next replacer + // Check if it is not the last `'/**'` + (_, index, str2) => index + 6 < str2.length ? "(?:\\/[^\\/]+)*" : "\\/.+" + ], + // normal intermediate wildcards + [ + // Never replace escaped '*' + // ignore rule '\*' will match the path '*' + // 'abc.*/' -> go + // 'abc.*' -> skip this rule, + // coz trailing single wildcard will be handed by [trailing wildcard] + /(^|[^\\]+)(\\\*)+(?=.+)/g, + // '*.js' matches '.js' + // '*.js' doesn't match 'abc' + (_, p1, p2) => { + const unescaped = p2.replace(/\\\*/g, "[^\\/]*"); + return p1 + unescaped; } - /* DATETIME */ - parseDateTime() { - if (this.state.buf.length < 4) { - throw this.error(new TomlError("Years less than 1000 must be zero padded to four characters")); - } - this.state.result = this.state.buf; - this.state.buf = ""; - return this.next(this.parseDateMonth); + ], + [ + // unescape, revert step 3 except for back slash + // For example, if a user escape a '\\*', + // after step 3, the result will be '\\\\\\*' + /\\\\\\(?=[$.|*+(){^])/g, + () => ESCAPE + ], + [ + // '\\\\' -> '\\' + /\\\\/g, + () => ESCAPE + ], + [ + // > The range notation, e.g. [a-zA-Z], + // > can be used to match one of the characters in a range. + // `\` is escaped by step 3 + /(\\)?\[([^\]/]*?)(\\*)($|\])/g, + (match, leadEscape, range, endEscape, close) => leadEscape === ESCAPE ? `\\[${range}${cleanRangeBackSlash(endEscape)}${close}` : close === "]" ? endEscape.length % 2 === 0 ? `[${sanitizeRange(range)}${endEscape}]` : "[]" : "[]" + ], + // ending + [ + // 'js' will not match 'js.' + // 'ab' will not match 'abc' + /(?:[^*])$/, + // WTF! + // https://git-scm.com/docs/gitignore + // changes in [2.22.1](https://git-scm.com/docs/gitignore/2.22.1) + // which re-fixes #24, #38 + // > If there is a separator at the end of the pattern then the pattern + // > will only match directories, otherwise the pattern can match both + // > files and directories. + // 'js*' will not match 'a.js' + // 'js/' will not match 'a.js' + // 'js' will match 'a.js' and 'a.js/' + (match) => /\/$/.test(match) ? `${match}$` : `${match}(?=$|\\/$)` + ], + // trailing wildcard + [ + /(\^|\\\/)?\\\*$/, + (_, p1) => { + const prefix = p1 ? `${p1}[^/]+` : "[^/]*"; + return `${prefix}(?=$|\\/$)`; } - parseDateMonth() { - if (this.char === CHAR_HYPHEN) { - if (this.state.buf.length < 2) { - throw this.error(new TomlError("Months less than 10 must be zero padded to two characters")); - } - this.state.result += "-" + this.state.buf; - this.state.buf = ""; - return this.next(this.parseDateDay); - } else if (isDigit(this.char)) { - this.consume(); - } else { - throw this.error(new TomlError("Incomplete datetime")); - } + ] + ]; + var regexCache = /* @__PURE__ */ Object.create(null); + var makeRegex = (pattern, ignoreCase) => { + let source2 = regexCache[pattern]; + if (!source2) { + source2 = REPLACERS.reduce( + (prev, current) => prev.replace(current[0], current[1].bind(pattern)), + pattern + ); + regexCache[pattern] = source2; + } + return ignoreCase ? new RegExp(source2, "i") : new RegExp(source2); + }; + var isString = (subject) => typeof subject === "string"; + var checkPattern = (pattern) => pattern && isString(pattern) && !REGEX_TEST_BLANK_LINE.test(pattern) && !REGEX_INVALID_TRAILING_BACKSLASH.test(pattern) && pattern.indexOf("#") !== 0; + var splitPattern = (pattern) => pattern.split(REGEX_SPLITALL_CRLF); + var IgnoreRule = class { + constructor(origin, pattern, negative, regex) { + this.origin = origin; + this.pattern = pattern; + this.negative = negative; + this.regex = regex; + } + }; + var createRule = (pattern, ignoreCase) => { + const origin = pattern; + let negative = false; + if (pattern.indexOf("!") === 0) { + negative = true; + pattern = pattern.substr(1); + } + pattern = pattern.replace(REGEX_REPLACE_LEADING_EXCAPED_EXCLAMATION, "!").replace(REGEX_REPLACE_LEADING_EXCAPED_HASH, "#"); + const regex = makeRegex(pattern, ignoreCase); + return new IgnoreRule( + origin, + pattern, + negative, + regex + ); + }; + var throwError2 = (message, Ctor) => { + throw new Ctor(message); + }; + var checkPath = (path13, originalPath, doThrow) => { + if (!isString(path13)) { + return doThrow( + `path must be a string, but got \`${originalPath}\``, + TypeError + ); + } + if (!path13) { + return doThrow(`path must not be empty`, TypeError); + } + if (checkPath.isNotRelative(path13)) { + const r = "`path.relative()`d"; + return doThrow( + `path should be a ${r} string, but got "${originalPath}"`, + RangeError + ); + } + return true; + }; + var isNotRelative = (path13) => REGEX_TEST_INVALID_PATH.test(path13); + checkPath.isNotRelative = isNotRelative; + checkPath.convert = (p) => p; + var Ignore = class { + constructor({ + ignorecase = true, + ignoreCase = ignorecase, + allowRelativePaths = false + } = {}) { + define(this, KEY_IGNORE, true); + this._rules = []; + this._ignoreCase = ignoreCase; + this._allowRelativePaths = allowRelativePaths; + this._initCache(); + } + _initCache() { + this._ignoreCache = /* @__PURE__ */ Object.create(null); + this._testCache = /* @__PURE__ */ Object.create(null); + } + _addPattern(pattern) { + if (pattern && pattern[KEY_IGNORE]) { + this._rules = this._rules.concat(pattern._rules); + this._added = true; + return; } - parseDateDay() { - if (this.char === CHAR_T || this.char === CHAR_SP) { - if (this.state.buf.length < 2) { - throw this.error(new TomlError("Days less than 10 must be zero padded to two characters")); - } - this.state.result += "-" + this.state.buf; - this.state.buf = ""; - return this.next(this.parseStartTimeHour); - } else if (this.atEndOfWord()) { - return this.returnNow(createDate(this.state.result + "-" + this.state.buf)); - } else if (isDigit(this.char)) { - this.consume(); - } else { - throw this.error(new TomlError("Incomplete datetime")); - } + if (checkPattern(pattern)) { + const rule = createRule(pattern, this._ignoreCase); + this._added = true; + this._rules.push(rule); } - parseStartTimeHour() { - if (this.atEndOfWord()) { - return this.returnNow(createDate(this.state.result)); - } else { - return this.goto(this.parseTimeHour); - } + } + // @param {Array | string | Ignore} pattern + add(pattern) { + this._added = false; + makeArray( + isString(pattern) ? splitPattern(pattern) : pattern + ).forEach(this._addPattern, this); + if (this._added) { + this._initCache(); } - parseTimeHour() { - if (this.char === CHAR_COLON) { - if (this.state.buf.length < 2) { - throw this.error(new TomlError("Hours less than 10 must be zero padded to two characters")); - } - this.state.result += "T" + this.state.buf; - this.state.buf = ""; - return this.next(this.parseTimeMin); - } else if (isDigit(this.char)) { - this.consume(); - } else { - throw this.error(new TomlError("Incomplete datetime")); + return this; + } + // legacy + addPattern(pattern) { + return this.add(pattern); + } + // | ignored : unignored + // negative | 0:0 | 0:1 | 1:0 | 1:1 + // -------- | ------- | ------- | ------- | -------- + // 0 | TEST | TEST | SKIP | X + // 1 | TESTIF | SKIP | TEST | X + // - SKIP: always skip + // - TEST: always test + // - TESTIF: only test if checkUnignored + // - X: that never happen + // @param {boolean} whether should check if the path is unignored, + // setting `checkUnignored` to `false` could reduce additional + // path matching. + // @returns {TestResult} true if a file is ignored + _testOne(path13, checkUnignored) { + let ignored = false; + let unignored = false; + this._rules.forEach((rule) => { + const { negative } = rule; + if (unignored === negative && ignored !== unignored || negative && !ignored && !unignored && !checkUnignored) { + return; } - } - parseTimeMin() { - if (this.state.buf.length < 2 && isDigit(this.char)) { - this.consume(); - } else if (this.state.buf.length === 2 && this.char === CHAR_COLON) { - this.state.result += ":" + this.state.buf; - this.state.buf = ""; - return this.next(this.parseTimeSec); - } else { - throw this.error(new TomlError("Incomplete datetime")); + const matched = rule.regex.test(path13); + if (matched) { + ignored = !negative; + unignored = negative; } + }); + return { + ignored, + unignored + }; + } + // @returns {TestResult} + _test(originalPath, cache3, checkUnignored, slices) { + const path13 = originalPath && checkPath.convert(originalPath); + checkPath( + path13, + originalPath, + this._allowRelativePaths ? RETURN_FALSE : throwError2 + ); + return this._t(path13, cache3, checkUnignored, slices); + } + _t(path13, cache3, checkUnignored, slices) { + if (path13 in cache3) { + return cache3[path13]; } - parseTimeSec() { - if (isDigit(this.char)) { - this.consume(); - if (this.state.buf.length === 2) { - this.state.result += ":" + this.state.buf; - this.state.buf = ""; - return this.next(this.parseTimeZoneOrFraction); - } - } else { - throw this.error(new TomlError("Incomplete datetime")); - } + if (!slices) { + slices = path13.split(SLASH); } - parseOnlyTimeHour() { - if (this.char === CHAR_COLON) { - if (this.state.buf.length < 2) { - throw this.error(new TomlError("Hours less than 10 must be zero padded to two characters")); - } - this.state.result = this.state.buf; - this.state.buf = ""; - return this.next(this.parseOnlyTimeMin); - } else { - throw this.error(new TomlError("Incomplete time")); - } + slices.pop(); + if (!slices.length) { + return cache3[path13] = this._testOne(path13, checkUnignored); } - parseOnlyTimeMin() { - if (this.state.buf.length < 2 && isDigit(this.char)) { - this.consume(); - } else if (this.state.buf.length === 2 && this.char === CHAR_COLON) { - this.state.result += ":" + this.state.buf; - this.state.buf = ""; - return this.next(this.parseOnlyTimeSec); - } else { - throw this.error(new TomlError("Incomplete time")); - } + const parent = this._t( + slices.join(SLASH) + SLASH, + cache3, + checkUnignored, + slices + ); + return cache3[path13] = parent.ignored ? parent : this._testOne(path13, checkUnignored); + } + ignores(path13) { + return this._test(path13, this._ignoreCache, false).ignored; + } + createFilter() { + return (path13) => !this.ignores(path13); + } + filter(paths) { + return makeArray(paths).filter(this.createFilter()); + } + // @returns {TestResult} + test(path13) { + return this._test(path13, this._testCache, true); + } + }; + var factory = (options8) => new Ignore(options8); + var isPathValid = (path13) => checkPath(path13 && checkPath.convert(path13), path13, RETURN_FALSE); + factory.isPathValid = isPathValid; + factory.default = factory; + module.exports = factory; + if ( + // Detect `process` so that it can run in browsers. + typeof process !== "undefined" && (process.env && process.env.IGNORE_TEST_WIN32 || process.platform === "win32") + ) { + const makePosix = (str2) => /^\\\\\?\\/.test(str2) || /["<>|\u0000-\u001F]+/u.test(str2) ? str2 : str2.replace(/\\/g, "/"); + checkPath.convert = makePosix; + const REGIX_IS_WINDOWS_PATH_ABSOLUTE = /^[a-z]:\//i; + checkPath.isNotRelative = (path13) => REGIX_IS_WINDOWS_PATH_ABSOLUTE.test(path13) || isNotRelative(path13); + } + } +}); + +// node_modules/n-readlines/readlines.js +var require_readlines = __commonJS({ + "node_modules/n-readlines/readlines.js"(exports, module) { + "use strict"; + var fs7 = __require("fs"); + var LineByLine = class { + constructor(file, options8) { + options8 = options8 || {}; + if (!options8.readChunk) options8.readChunk = 1024; + if (!options8.newLineCharacter) { + options8.newLineCharacter = 10; + } else { + options8.newLineCharacter = options8.newLineCharacter.charCodeAt(0); } - parseOnlyTimeSec() { - if (isDigit(this.char)) { - this.consume(); - if (this.state.buf.length === 2) { - return this.next(this.parseOnlyTimeFractionMaybe); - } - } else { - throw this.error(new TomlError("Incomplete time")); - } + if (typeof file === "number") { + this.fd = file; + } else { + this.fd = fs7.openSync(file, "r"); } - parseOnlyTimeFractionMaybe() { - this.state.result += ":" + this.state.buf; - if (this.char === CHAR_PERIOD) { - this.state.buf = ""; - this.next(this.parseOnlyTimeFraction); - } else { - return this.return(createTime(this.state.result)); + this.options = options8; + this.newLineCharacter = options8.newLineCharacter; + this.reset(); + } + _searchInBuffer(buffer2, hexNeedle) { + let found = -1; + for (let i = 0; i <= buffer2.length; i++) { + let b_byte = buffer2[i]; + if (b_byte === hexNeedle) { + found = i; + break; } } - parseOnlyTimeFraction() { - if (isDigit(this.char)) { - this.consume(); - } else if (this.atEndOfWord()) { - if (this.state.buf.length === 0) - throw this.error(new TomlError("Expected digit in milliseconds")); - return this.returnNow(createTime(this.state.result + "." + this.state.buf)); - } else { - throw this.error(new TomlError("Unexpected character in datetime, expected period (.), minus (-), plus (+) or Z")); + return found; + } + reset() { + this.eofReached = false; + this.linesCache = []; + this.fdPosition = 0; + } + close() { + fs7.closeSync(this.fd); + this.fd = null; + } + _extractLines(buffer2) { + let line3; + const lines = []; + let bufferPosition = 0; + let lastNewLineBufferPosition = 0; + while (true) { + let bufferPositionValue = buffer2[bufferPosition++]; + if (bufferPositionValue === this.newLineCharacter) { + line3 = buffer2.slice(lastNewLineBufferPosition, bufferPosition); + lines.push(line3); + lastNewLineBufferPosition = bufferPosition; + } else if (bufferPositionValue === void 0) { + break; } } - parseTimeZoneOrFraction() { - if (this.char === CHAR_PERIOD) { - this.consume(); - this.next(this.parseDateTimeFraction); - } else if (this.char === CHAR_HYPHEN || this.char === CHAR_PLUS) { - this.consume(); - this.next(this.parseTimeZoneHour); - } else if (this.char === CHAR_Z) { - this.consume(); - return this.return(createDateTime(this.state.result + this.state.buf)); - } else if (this.atEndOfWord()) { - return this.returnNow(createDateTimeFloat(this.state.result + this.state.buf)); - } else { - throw this.error(new TomlError("Unexpected character in datetime, expected period (.), minus (-), plus (+) or Z")); - } + let leftovers = buffer2.slice(lastNewLineBufferPosition, bufferPosition); + if (leftovers.length) { + lines.push(leftovers); } - parseDateTimeFraction() { - if (isDigit(this.char)) { - this.consume(); - } else if (this.state.buf.length === 1) { - throw this.error(new TomlError("Expected digit in milliseconds")); - } else if (this.char === CHAR_HYPHEN || this.char === CHAR_PLUS) { - this.consume(); - this.next(this.parseTimeZoneHour); - } else if (this.char === CHAR_Z) { - this.consume(); - return this.return(createDateTime(this.state.result + this.state.buf)); - } else if (this.atEndOfWord()) { - return this.returnNow(createDateTimeFloat(this.state.result + this.state.buf)); - } else { - throw this.error(new TomlError("Unexpected character in datetime, expected period (.), minus (-), plus (+) or Z")); - } + return lines; + } + _readChunk(lineLeftovers) { + let totalBytesRead = 0; + let bytesRead; + const buffers = []; + do { + const readBuffer = Buffer.alloc(this.options.readChunk); + bytesRead = fs7.readSync(this.fd, readBuffer, 0, this.options.readChunk, this.fdPosition); + totalBytesRead = totalBytesRead + bytesRead; + this.fdPosition = this.fdPosition + bytesRead; + buffers.push(readBuffer); + } while (bytesRead && this._searchInBuffer(buffers[buffers.length - 1], this.options.newLineCharacter) === -1); + let bufferData = Buffer.concat(buffers); + if (bytesRead < this.options.readChunk) { + this.eofReached = true; + bufferData = bufferData.slice(0, totalBytesRead); } - parseTimeZoneHour() { - if (isDigit(this.char)) { - this.consume(); - if (/\d\d$/.test(this.state.buf)) - return this.next(this.parseTimeZoneSep); - } else { - throw this.error(new TomlError("Unexpected character in datetime, expected digit")); + if (totalBytesRead) { + this.linesCache = this._extractLines(bufferData); + if (lineLeftovers) { + this.linesCache[0] = Buffer.concat([lineLeftovers, this.linesCache[0]]); } } - parseTimeZoneSep() { - if (this.char === CHAR_COLON) { - this.consume(); - this.next(this.parseTimeZoneMin); - } else { - throw this.error(new TomlError("Unexpected character in datetime, expected colon")); - } + return totalBytesRead; + } + next() { + if (!this.fd) return false; + let line3 = false; + if (this.eofReached && this.linesCache.length === 0) { + return line3; } - parseTimeZoneMin() { - if (isDigit(this.char)) { - this.consume(); - if (/\d\d$/.test(this.state.buf)) - return this.return(createDateTime(this.state.result + this.state.buf)); - } else { - throw this.error(new TomlError("Unexpected character in datetime, expected digit")); - } + let bytesRead; + if (!this.linesCache.length) { + bytesRead = this._readChunk(); } - /* BOOLEAN */ - parseBoolean() { - if (this.char === CHAR_t) { - this.consume(); - return this.next(this.parseTrue_r); - } else if (this.char === CHAR_f) { - this.consume(); - return this.next(this.parseFalse_a); + if (this.linesCache.length) { + line3 = this.linesCache.shift(); + const lastLineCharacter = line3[line3.length - 1]; + if (lastLineCharacter !== this.newLineCharacter) { + bytesRead = this._readChunk(line3); + if (bytesRead) { + line3 = this.linesCache.shift(); + } } } - parseTrue_r() { - if (this.char === CHAR_r) { - this.consume(); - return this.next(this.parseTrue_u); - } else { - throw this.error(new TomlError("Invalid boolean, expected true or false")); - } + if (this.eofReached && this.linesCache.length === 0) { + this.close(); + } + if (line3 && line3[line3.length - 1] === this.newLineCharacter) { + line3 = line3.slice(0, line3.length - 1); + } + return line3; + } + }; + module.exports = LineByLine; + } +}); + +// src/index.js +var src_exports = {}; +__export(src_exports, { + __debug: () => debugApis, + __internal: () => sharedWithCli, + check: () => check, + clearConfigCache: () => clearCache3, + doc: () => doc, + format: () => format2, + formatWithCursor: () => formatWithCursor2, + getFileInfo: () => getFileInfo2, + getSupportInfo: () => getSupportInfo2, + resolveConfig: () => resolveConfig, + resolveConfigFile: () => resolveConfigFile, + util: () => public_exports, + version: () => version_evaluate_default +}); + +// node_modules/diff/lib/index.mjs +function Diff() { +} +Diff.prototype = { + diff: function diff(oldString, newString) { + var _options$timeout; + var options8 = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {}; + var callback = options8.callback; + if (typeof options8 === "function") { + callback = options8; + options8 = {}; + } + this.options = options8; + var self = this; + function done(value) { + if (callback) { + setTimeout(function() { + callback(void 0, value); + }, 0); + return true; + } else { + return value; + } + } + oldString = this.castInput(oldString); + newString = this.castInput(newString); + oldString = this.removeEmpty(this.tokenize(oldString)); + newString = this.removeEmpty(this.tokenize(newString)); + var newLen = newString.length, oldLen = oldString.length; + var editLength = 1; + var maxEditLength = newLen + oldLen; + if (options8.maxEditLength) { + maxEditLength = Math.min(maxEditLength, options8.maxEditLength); + } + var maxExecutionTime = (_options$timeout = options8.timeout) !== null && _options$timeout !== void 0 ? _options$timeout : Infinity; + var abortAfterTimestamp = Date.now() + maxExecutionTime; + var bestPath = [{ + oldPos: -1, + lastComponent: void 0 + }]; + var newPos = this.extractCommon(bestPath[0], newString, oldString, 0); + if (bestPath[0].oldPos + 1 >= oldLen && newPos + 1 >= newLen) { + return done([{ + value: this.join(newString), + count: newString.length + }]); + } + var minDiagonalToConsider = -Infinity, maxDiagonalToConsider = Infinity; + function execEditLength() { + for (var diagonalPath = Math.max(minDiagonalToConsider, -editLength); diagonalPath <= Math.min(maxDiagonalToConsider, editLength); diagonalPath += 2) { + var basePath = void 0; + var removePath = bestPath[diagonalPath - 1], addPath = bestPath[diagonalPath + 1]; + if (removePath) { + bestPath[diagonalPath - 1] = void 0; + } + var canAdd = false; + if (addPath) { + var addPathNewPos = addPath.oldPos - diagonalPath; + canAdd = addPath && 0 <= addPathNewPos && addPathNewPos < newLen; + } + var canRemove = removePath && removePath.oldPos + 1 < oldLen; + if (!canAdd && !canRemove) { + bestPath[diagonalPath] = void 0; + continue; } - parseTrue_u() { - if (this.char === CHAR_u) { - this.consume(); - return this.next(this.parseTrue_e); - } else { - throw this.error(new TomlError("Invalid boolean, expected true or false")); - } + if (!canRemove || canAdd && removePath.oldPos + 1 < addPath.oldPos) { + basePath = self.addToPath(addPath, true, void 0, 0); + } else { + basePath = self.addToPath(removePath, void 0, true, 1); } - parseTrue_e() { - if (this.char === CHAR_e) { - return this.return(true); - } else { - throw this.error(new TomlError("Invalid boolean, expected true or false")); + newPos = self.extractCommon(basePath, newString, oldString, diagonalPath); + if (basePath.oldPos + 1 >= oldLen && newPos + 1 >= newLen) { + return done(buildValues(self, basePath.lastComponent, newString, oldString, self.useLongestToken)); + } else { + bestPath[diagonalPath] = basePath; + if (basePath.oldPos + 1 >= oldLen) { + maxDiagonalToConsider = Math.min(maxDiagonalToConsider, diagonalPath - 1); } - } - parseFalse_a() { - if (this.char === CHAR_a) { - this.consume(); - return this.next(this.parseFalse_l); - } else { - throw this.error(new TomlError("Invalid boolean, expected true or false")); + if (newPos + 1 >= newLen) { + minDiagonalToConsider = Math.max(minDiagonalToConsider, diagonalPath + 1); } } - parseFalse_l() { - if (this.char === CHAR_l) { - this.consume(); - return this.next(this.parseFalse_s); - } else { - throw this.error(new TomlError("Invalid boolean, expected true or false")); + } + editLength++; + } + if (callback) { + (function exec() { + setTimeout(function() { + if (editLength > maxEditLength || Date.now() > abortAfterTimestamp) { + return callback(); } - } - parseFalse_s() { - if (this.char === CHAR_s) { - this.consume(); - return this.next(this.parseFalse_e); - } else { - throw this.error(new TomlError("Invalid boolean, expected true or false")); + if (!execEditLength()) { + exec(); } + }, 0); + })(); + } else { + while (editLength <= maxEditLength && Date.now() <= abortAfterTimestamp) { + var ret = execEditLength(); + if (ret) { + return ret; } - parseFalse_e() { - if (this.char === CHAR_e) { - return this.return(false); - } else { - throw this.error(new TomlError("Invalid boolean, expected true or false")); - } + } + } + }, + addToPath: function addToPath(path13, added, removed, oldPosInc) { + var last = path13.lastComponent; + if (last && last.added === added && last.removed === removed) { + return { + oldPos: path13.oldPos + oldPosInc, + lastComponent: { + count: last.count + 1, + added, + removed, + previousComponent: last.previousComponent } - /* INLINE LISTS */ - parseInlineList() { - if (this.char === CHAR_SP || this.char === CTRL_I || this.char === CTRL_M || this.char === CTRL_J) { - return null; - } else if (this.char === Parser.END) { - throw this.error(new TomlError("Unterminated inline array")); - } else if (this.char === CHAR_NUM) { - return this.call(this.parseComment); - } else if (this.char === CHAR_RSQB) { - return this.return(this.state.resultArr || InlineList()); - } else { - return this.callNow(this.parseValue, this.recordInlineListValue); - } + }; + } else { + return { + oldPos: path13.oldPos + oldPosInc, + lastComponent: { + count: 1, + added, + removed, + previousComponent: last } - recordInlineListValue(value) { - if (this.state.resultArr) { - const listType = this.state.resultArr[_contentType]; - const valueType = tomlType(value); - if (listType !== valueType) { - throw this.error(new TomlError(`Inline lists must be a single type, not a mix of ${listType} and ${valueType}`)); + }; + } + }, + extractCommon: function extractCommon(basePath, newString, oldString, diagonalPath) { + var newLen = newString.length, oldLen = oldString.length, oldPos = basePath.oldPos, newPos = oldPos - diagonalPath, commonCount = 0; + while (newPos + 1 < newLen && oldPos + 1 < oldLen && this.equals(newString[newPos + 1], oldString[oldPos + 1])) { + newPos++; + oldPos++; + commonCount++; + } + if (commonCount) { + basePath.lastComponent = { + count: commonCount, + previousComponent: basePath.lastComponent + }; + } + basePath.oldPos = oldPos; + return newPos; + }, + equals: function equals(left, right) { + if (this.options.comparator) { + return this.options.comparator(left, right); + } else { + return left === right || this.options.ignoreCase && left.toLowerCase() === right.toLowerCase(); + } + }, + removeEmpty: function removeEmpty(array2) { + var ret = []; + for (var i = 0; i < array2.length; i++) { + if (array2[i]) { + ret.push(array2[i]); + } + } + return ret; + }, + castInput: function castInput(value) { + return value; + }, + tokenize: function tokenize(value) { + return value.split(""); + }, + join: function join(chars) { + return chars.join(""); + } +}; +function buildValues(diff2, lastComponent, newString, oldString, useLongestToken) { + var components = []; + var nextComponent; + while (lastComponent) { + components.push(lastComponent); + nextComponent = lastComponent.previousComponent; + delete lastComponent.previousComponent; + lastComponent = nextComponent; + } + components.reverse(); + var componentPos = 0, componentLen = components.length, newPos = 0, oldPos = 0; + for (; componentPos < componentLen; componentPos++) { + var component = components[componentPos]; + if (!component.removed) { + if (!component.added && useLongestToken) { + var value = newString.slice(newPos, newPos + component.count); + value = value.map(function(value2, i) { + var oldValue = oldString[oldPos + i]; + return oldValue.length > value2.length ? oldValue : value2; + }); + component.value = diff2.join(value); + } else { + component.value = diff2.join(newString.slice(newPos, newPos + component.count)); + } + newPos += component.count; + if (!component.added) { + oldPos += component.count; + } + } else { + component.value = diff2.join(oldString.slice(oldPos, oldPos + component.count)); + oldPos += component.count; + if (componentPos && components[componentPos - 1].added) { + var tmp = components[componentPos - 1]; + components[componentPos - 1] = components[componentPos]; + components[componentPos] = tmp; + } + } + } + var finalComponent = components[componentLen - 1]; + if (componentLen > 1 && typeof finalComponent.value === "string" && (finalComponent.added || finalComponent.removed) && diff2.equals("", finalComponent.value)) { + components[componentLen - 2].value += finalComponent.value; + components.pop(); + } + return components; +} +var characterDiff = new Diff(); +var extendedWordChars = /^[A-Za-z\xC0-\u02C6\u02C8-\u02D7\u02DE-\u02FF\u1E00-\u1EFF]+$/; +var reWhitespace = /\S/; +var wordDiff = new Diff(); +wordDiff.equals = function(left, right) { + if (this.options.ignoreCase) { + left = left.toLowerCase(); + right = right.toLowerCase(); + } + return left === right || this.options.ignoreWhitespace && !reWhitespace.test(left) && !reWhitespace.test(right); +}; +wordDiff.tokenize = function(value) { + var tokens = value.split(/([^\S\r\n]+|[()[\]{}'"\r\n]|\b)/); + for (var i = 0; i < tokens.length - 1; i++) { + if (!tokens[i + 1] && tokens[i + 2] && extendedWordChars.test(tokens[i]) && extendedWordChars.test(tokens[i + 2])) { + tokens[i] += tokens[i + 2]; + tokens.splice(i + 1, 2); + i--; + } + } + return tokens; +}; +var lineDiff = new Diff(); +lineDiff.tokenize = function(value) { + if (this.options.stripTrailingCr) { + value = value.replace(/\r\n/g, "\n"); + } + var retLines = [], linesAndNewlines = value.split(/(\n|\r\n)/); + if (!linesAndNewlines[linesAndNewlines.length - 1]) { + linesAndNewlines.pop(); + } + for (var i = 0; i < linesAndNewlines.length; i++) { + var line3 = linesAndNewlines[i]; + if (i % 2 && !this.options.newlineIsToken) { + retLines[retLines.length - 1] += line3; + } else { + if (this.options.ignoreWhitespace) { + line3 = line3.trim(); + } + retLines.push(line3); + } + } + return retLines; +}; +function diffLines(oldStr, newStr, callback) { + return lineDiff.diff(oldStr, newStr, callback); +} +var sentenceDiff = new Diff(); +sentenceDiff.tokenize = function(value) { + return value.split(/(\S.+?[.!?])(?=\s+|$)/); +}; +var cssDiff = new Diff(); +cssDiff.tokenize = function(value) { + return value.split(/([{}:;,]|\s+)/); +}; +function _typeof(obj) { + "@babel/helpers - typeof"; + if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { + _typeof = function(obj2) { + return typeof obj2; + }; + } else { + _typeof = function(obj2) { + return obj2 && typeof Symbol === "function" && obj2.constructor === Symbol && obj2 !== Symbol.prototype ? "symbol" : typeof obj2; + }; + } + return _typeof(obj); +} +function _toConsumableArray(arr) { + return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread(); +} +function _arrayWithoutHoles(arr) { + if (Array.isArray(arr)) return _arrayLikeToArray(arr); +} +function _iterableToArray(iter) { + if (typeof Symbol !== "undefined" && Symbol.iterator in Object(iter)) return Array.from(iter); +} +function _unsupportedIterableToArray(o, minLen) { + if (!o) return; + if (typeof o === "string") return _arrayLikeToArray(o, minLen); + var n = Object.prototype.toString.call(o).slice(8, -1); + if (n === "Object" && o.constructor) n = o.constructor.name; + if (n === "Map" || n === "Set") return Array.from(o); + if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); +} +function _arrayLikeToArray(arr, len) { + if (len == null || len > arr.length) len = arr.length; + for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; + return arr2; +} +function _nonIterableSpread() { + throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); +} +var objectPrototypeToString = Object.prototype.toString; +var jsonDiff = new Diff(); +jsonDiff.useLongestToken = true; +jsonDiff.tokenize = lineDiff.tokenize; +jsonDiff.castInput = function(value) { + var _this$options = this.options, undefinedReplacement = _this$options.undefinedReplacement, _this$options$stringi = _this$options.stringifyReplacer, stringifyReplacer = _this$options$stringi === void 0 ? function(k, v) { + return typeof v === "undefined" ? undefinedReplacement : v; + } : _this$options$stringi; + return typeof value === "string" ? value : JSON.stringify(canonicalize(value, null, null, stringifyReplacer), stringifyReplacer, " "); +}; +jsonDiff.equals = function(left, right) { + return Diff.prototype.equals.call(jsonDiff, left.replace(/,([\r\n])/g, "$1"), right.replace(/,([\r\n])/g, "$1")); +}; +function canonicalize(obj, stack2, replacementStack, replacer, key2) { + stack2 = stack2 || []; + replacementStack = replacementStack || []; + if (replacer) { + obj = replacer(key2, obj); + } + var i; + for (i = 0; i < stack2.length; i += 1) { + if (stack2[i] === obj) { + return replacementStack[i]; + } + } + var canonicalizedObj; + if ("[object Array]" === objectPrototypeToString.call(obj)) { + stack2.push(obj); + canonicalizedObj = new Array(obj.length); + replacementStack.push(canonicalizedObj); + for (i = 0; i < obj.length; i += 1) { + canonicalizedObj[i] = canonicalize(obj[i], stack2, replacementStack, replacer, key2); + } + stack2.pop(); + replacementStack.pop(); + return canonicalizedObj; + } + if (obj && obj.toJSON) { + obj = obj.toJSON(); + } + if (_typeof(obj) === "object" && obj !== null) { + stack2.push(obj); + canonicalizedObj = {}; + replacementStack.push(canonicalizedObj); + var sortedKeys = [], _key; + for (_key in obj) { + if (obj.hasOwnProperty(_key)) { + sortedKeys.push(_key); + } + } + sortedKeys.sort(); + for (i = 0; i < sortedKeys.length; i += 1) { + _key = sortedKeys[i]; + canonicalizedObj[_key] = canonicalize(obj[_key], stack2, replacementStack, replacer, _key); + } + stack2.pop(); + replacementStack.pop(); + } else { + canonicalizedObj = obj; + } + return canonicalizedObj; +} +var arrayDiff = new Diff(); +arrayDiff.tokenize = function(value) { + return value.slice(); +}; +arrayDiff.join = arrayDiff.removeEmpty = function(value) { + return value; +}; +function diffArrays(oldArr, newArr, callback) { + return arrayDiff.diff(oldArr, newArr, callback); +} +function structuredPatch(oldFileName, newFileName, oldStr, newStr, oldHeader, newHeader, options8) { + if (!options8) { + options8 = {}; + } + if (typeof options8.context === "undefined") { + options8.context = 4; + } + var diff2 = diffLines(oldStr, newStr, options8); + if (!diff2) { + return; + } + diff2.push({ + value: "", + lines: [] + }); + function contextLines(lines) { + return lines.map(function(entry) { + return " " + entry; + }); + } + var hunks = []; + var oldRangeStart = 0, newRangeStart = 0, curRange = [], oldLine = 1, newLine = 1; + var _loop = function _loop2(i2) { + var current = diff2[i2], lines = current.lines || current.value.replace(/\n$/, "").split("\n"); + current.lines = lines; + if (current.added || current.removed) { + var _curRange; + if (!oldRangeStart) { + var prev = diff2[i2 - 1]; + oldRangeStart = oldLine; + newRangeStart = newLine; + if (prev) { + curRange = options8.context > 0 ? contextLines(prev.lines.slice(-options8.context)) : []; + oldRangeStart -= curRange.length; + newRangeStart -= curRange.length; + } + } + (_curRange = curRange).push.apply(_curRange, _toConsumableArray(lines.map(function(entry) { + return (current.added ? "+" : "-") + entry; + }))); + if (current.added) { + newLine += lines.length; + } else { + oldLine += lines.length; + } + } else { + if (oldRangeStart) { + if (lines.length <= options8.context * 2 && i2 < diff2.length - 2) { + var _curRange2; + (_curRange2 = curRange).push.apply(_curRange2, _toConsumableArray(contextLines(lines))); + } else { + var _curRange3; + var contextSize = Math.min(lines.length, options8.context); + (_curRange3 = curRange).push.apply(_curRange3, _toConsumableArray(contextLines(lines.slice(0, contextSize)))); + var hunk = { + oldStart: oldRangeStart, + oldLines: oldLine - oldRangeStart + contextSize, + newStart: newRangeStart, + newLines: newLine - newRangeStart + contextSize, + lines: curRange + }; + if (i2 >= diff2.length - 2 && lines.length <= options8.context) { + var oldEOFNewline = /\n$/.test(oldStr); + var newEOFNewline = /\n$/.test(newStr); + var noNlBeforeAdds = lines.length == 0 && curRange.length > hunk.oldLines; + if (!oldEOFNewline && noNlBeforeAdds && oldStr.length > 0) { + curRange.splice(hunk.oldLines, 0, "\\ No newline at end of file"); + } + if (!oldEOFNewline && !noNlBeforeAdds || !newEOFNewline) { + curRange.push("\\ No newline at end of file"); } - } else { - this.state.resultArr = InlineList(tomlType(value)); - } - if (isFloat(value) || isInteger(value)) { - this.state.resultArr.push(value.valueOf()); - } else { - this.state.resultArr.push(value); } - return this.goto(this.parseInlineListNext); + hunks.push(hunk); + oldRangeStart = 0; + newRangeStart = 0; + curRange = []; } - parseInlineListNext() { - if (this.char === CHAR_SP || this.char === CTRL_I || this.char === CTRL_M || this.char === CTRL_J) { - return null; - } else if (this.char === CHAR_NUM) { - return this.call(this.parseComment); - } else if (this.char === CHAR_COMMA) { - return this.next(this.parseInlineList); - } else if (this.char === CHAR_RSQB) { - return this.goto(this.parseInlineList); - } else { - throw this.error(new TomlError("Invalid character, expected whitespace, comma (,) or close bracket (])")); - } + } + oldLine += lines.length; + newLine += lines.length; + } + }; + for (var i = 0; i < diff2.length; i++) { + _loop(i); + } + return { + oldFileName, + newFileName, + oldHeader, + newHeader, + hunks + }; +} +function formatPatch(diff2) { + if (Array.isArray(diff2)) { + return diff2.map(formatPatch).join("\n"); + } + var ret = []; + if (diff2.oldFileName == diff2.newFileName) { + ret.push("Index: " + diff2.oldFileName); + } + ret.push("==================================================================="); + ret.push("--- " + diff2.oldFileName + (typeof diff2.oldHeader === "undefined" ? "" : " " + diff2.oldHeader)); + ret.push("+++ " + diff2.newFileName + (typeof diff2.newHeader === "undefined" ? "" : " " + diff2.newHeader)); + for (var i = 0; i < diff2.hunks.length; i++) { + var hunk = diff2.hunks[i]; + if (hunk.oldLines === 0) { + hunk.oldStart -= 1; + } + if (hunk.newLines === 0) { + hunk.newStart -= 1; + } + ret.push("@@ -" + hunk.oldStart + "," + hunk.oldLines + " +" + hunk.newStart + "," + hunk.newLines + " @@"); + ret.push.apply(ret, hunk.lines); + } + return ret.join("\n") + "\n"; +} +function createTwoFilesPatch(oldFileName, newFileName, oldStr, newStr, oldHeader, newHeader, options8) { + return formatPatch(structuredPatch(oldFileName, newFileName, oldStr, newStr, oldHeader, newHeader, options8)); +} + +// src/index.js +var import_fast_glob = __toESM(require_out4(), 1); + +// node_modules/vnopts/lib/descriptors/api.js +var apiDescriptor = { + key: (key2) => /^[$_a-zA-Z][$_a-zA-Z0-9]*$/.test(key2) ? key2 : JSON.stringify(key2), + value(value) { + if (value === null || typeof value !== "object") { + return JSON.stringify(value); + } + if (Array.isArray(value)) { + return `[${value.map((subValue) => apiDescriptor.value(subValue)).join(", ")}]`; + } + const keys = Object.keys(value); + return keys.length === 0 ? "{}" : `{ ${keys.map((key2) => `${apiDescriptor.key(key2)}: ${apiDescriptor.value(value[key2])}`).join(", ")} }`; + }, + pair: ({ key: key2, value }) => apiDescriptor.value({ [key2]: value }) +}; + +// node_modules/vnopts/lib/handlers/deprecated/common.js +init_source(); +var commonDeprecatedHandler = (keyOrPair, redirectTo, { descriptor }) => { + const messages2 = [ + `${source_default.yellow(typeof keyOrPair === "string" ? descriptor.key(keyOrPair) : descriptor.pair(keyOrPair))} is deprecated` + ]; + if (redirectTo) { + messages2.push(`we now treat it as ${source_default.blue(typeof redirectTo === "string" ? descriptor.key(redirectTo) : descriptor.pair(redirectTo))}`); + } + return messages2.join("; ") + "."; +}; + +// node_modules/vnopts/lib/handlers/invalid/common.js +init_source(); + +// node_modules/vnopts/lib/constants.js +var VALUE_NOT_EXIST = Symbol.for("vnopts.VALUE_NOT_EXIST"); +var VALUE_UNCHANGED = Symbol.for("vnopts.VALUE_UNCHANGED"); + +// node_modules/vnopts/lib/handlers/invalid/common.js +var INDENTATION = " ".repeat(2); +var commonInvalidHandler = (key2, value, utils) => { + const { text, list } = utils.normalizeExpectedResult(utils.schemas[key2].expected(utils)); + const descriptions = []; + if (text) { + descriptions.push(getDescription(key2, value, text, utils.descriptor)); + } + if (list) { + descriptions.push([getDescription(key2, value, list.title, utils.descriptor)].concat(list.values.map((valueDescription) => getListDescription(valueDescription, utils.loggerPrintWidth))).join("\n")); + } + return chooseDescription(descriptions, utils.loggerPrintWidth); +}; +function getDescription(key2, value, expected, descriptor) { + return [ + `Invalid ${source_default.red(descriptor.key(key2))} value.`, + `Expected ${source_default.blue(expected)},`, + `but received ${value === VALUE_NOT_EXIST ? source_default.gray("nothing") : source_default.red(descriptor.value(value))}.` + ].join(" "); +} +function getListDescription({ text, list }, printWidth) { + const descriptions = []; + if (text) { + descriptions.push(`- ${source_default.blue(text)}`); + } + if (list) { + descriptions.push([`- ${source_default.blue(list.title)}:`].concat(list.values.map((valueDescription) => getListDescription(valueDescription, printWidth - INDENTATION.length).replace(/^|\n/g, `$&${INDENTATION}`))).join("\n")); + } + return chooseDescription(descriptions, printWidth); +} +function chooseDescription(descriptions, printWidth) { + if (descriptions.length === 1) { + return descriptions[0]; + } + const [firstDescription, secondDescription] = descriptions; + const [firstWidth, secondWidth] = descriptions.map((description) => description.split("\n", 1)[0].length); + return firstWidth > printWidth && firstWidth > secondWidth ? secondDescription : firstDescription; +} + +// node_modules/vnopts/lib/handlers/unknown/leven.js +init_source(); + +// node_modules/leven/index.js +var array = []; +var characterCodeCache = []; +function leven(first, second) { + if (first === second) { + return 0; + } + const swap = first; + if (first.length > second.length) { + first = second; + second = swap; + } + let firstLength = first.length; + let secondLength = second.length; + while (firstLength > 0 && first.charCodeAt(~-firstLength) === second.charCodeAt(~-secondLength)) { + firstLength--; + secondLength--; + } + let start = 0; + while (start < firstLength && first.charCodeAt(start) === second.charCodeAt(start)) { + start++; + } + firstLength -= start; + secondLength -= start; + if (firstLength === 0) { + return secondLength; + } + let bCharacterCode; + let result; + let temporary; + let temporary2; + let index = 0; + let index2 = 0; + while (index < firstLength) { + characterCodeCache[index] = first.charCodeAt(start + index); + array[index] = ++index; + } + while (index2 < secondLength) { + bCharacterCode = second.charCodeAt(start + index2); + temporary = index2++; + result = index2; + for (index = 0; index < firstLength; index++) { + temporary2 = bCharacterCode === characterCodeCache[index] ? temporary : temporary + 1; + temporary = array[index]; + result = array[index] = temporary > result ? temporary2 > result ? result + 1 : temporary2 : temporary2 > temporary ? temporary + 1 : temporary2; + } + } + return result; +} + +// node_modules/vnopts/lib/handlers/unknown/leven.js +var levenUnknownHandler = (key2, value, { descriptor, logger, schemas }) => { + const messages2 = [ + `Ignored unknown option ${source_default.yellow(descriptor.pair({ key: key2, value }))}.` + ]; + const suggestion = Object.keys(schemas).sort().find((knownKey) => leven(key2, knownKey) < 3); + if (suggestion) { + messages2.push(`Did you mean ${source_default.blue(descriptor.key(suggestion))}?`); + } + logger.warn(messages2.join(" ")); +}; + +// node_modules/vnopts/lib/schema.js +var HANDLER_KEYS = [ + "default", + "expected", + "validate", + "deprecated", + "forward", + "redirect", + "overlap", + "preprocess", + "postprocess" +]; +function createSchema(SchemaConstructor, parameters) { + const schema2 = new SchemaConstructor(parameters); + const subSchema = Object.create(schema2); + for (const handlerKey of HANDLER_KEYS) { + if (handlerKey in parameters) { + subSchema[handlerKey] = normalizeHandler(parameters[handlerKey], schema2, Schema.prototype[handlerKey].length); + } + } + return subSchema; +} +var Schema = class { + static create(parameters) { + return createSchema(this, parameters); + } + constructor(parameters) { + this.name = parameters.name; + } + default(_utils) { + return void 0; + } + // this is actually an abstract method but we need a placeholder to get `function.length` + /* c8 ignore start */ + expected(_utils) { + return "nothing"; + } + /* c8 ignore stop */ + // this is actually an abstract method but we need a placeholder to get `function.length` + /* c8 ignore start */ + validate(_value, _utils) { + return false; + } + /* c8 ignore stop */ + deprecated(_value, _utils) { + return false; + } + forward(_value, _utils) { + return void 0; + } + redirect(_value, _utils) { + return void 0; + } + overlap(currentValue, _newValue, _utils) { + return currentValue; + } + preprocess(value, _utils) { + return value; + } + postprocess(_value, _utils) { + return VALUE_UNCHANGED; + } +}; +function normalizeHandler(handler, superSchema, handlerArgumentsLength) { + return typeof handler === "function" ? (...args) => handler(...args.slice(0, handlerArgumentsLength - 1), superSchema, ...args.slice(handlerArgumentsLength - 1)) : () => handler; +} + +// node_modules/vnopts/lib/schemas/alias.js +var AliasSchema = class extends Schema { + constructor(parameters) { + super(parameters); + this._sourceName = parameters.sourceName; + } + expected(utils) { + return utils.schemas[this._sourceName].expected(utils); + } + validate(value, utils) { + return utils.schemas[this._sourceName].validate(value, utils); + } + redirect(_value, _utils) { + return this._sourceName; + } +}; + +// node_modules/vnopts/lib/schemas/any.js +var AnySchema = class extends Schema { + expected() { + return "anything"; + } + validate() { + return true; + } +}; + +// node_modules/vnopts/lib/schemas/array.js +var ArraySchema = class extends Schema { + constructor({ valueSchema, name = valueSchema.name, ...handlers }) { + super({ ...handlers, name }); + this._valueSchema = valueSchema; + } + expected(utils) { + const { text, list } = utils.normalizeExpectedResult(this._valueSchema.expected(utils)); + return { + text: text && `an array of ${text}`, + list: list && { + title: `an array of the following values`, + values: [{ list }] + } + }; + } + validate(value, utils) { + if (!Array.isArray(value)) { + return false; + } + const invalidValues = []; + for (const subValue of value) { + const subValidateResult = utils.normalizeValidateResult(this._valueSchema.validate(subValue, utils), subValue); + if (subValidateResult !== true) { + invalidValues.push(subValidateResult.value); + } + } + return invalidValues.length === 0 ? true : { value: invalidValues }; + } + deprecated(value, utils) { + const deprecatedResult = []; + for (const subValue of value) { + const subDeprecatedResult = utils.normalizeDeprecatedResult(this._valueSchema.deprecated(subValue, utils), subValue); + if (subDeprecatedResult !== false) { + deprecatedResult.push(...subDeprecatedResult.map(({ value: deprecatedValue }) => ({ + value: [deprecatedValue] + }))); + } + } + return deprecatedResult; + } + forward(value, utils) { + const forwardResult = []; + for (const subValue of value) { + const subForwardResult = utils.normalizeForwardResult(this._valueSchema.forward(subValue, utils), subValue); + forwardResult.push(...subForwardResult.map(wrapTransferResult)); + } + return forwardResult; + } + redirect(value, utils) { + const remain = []; + const redirect = []; + for (const subValue of value) { + const subRedirectResult = utils.normalizeRedirectResult(this._valueSchema.redirect(subValue, utils), subValue); + if ("remain" in subRedirectResult) { + remain.push(subRedirectResult.remain); + } + redirect.push(...subRedirectResult.redirect.map(wrapTransferResult)); + } + return remain.length === 0 ? { redirect } : { redirect, remain }; + } + overlap(currentValue, newValue) { + return currentValue.concat(newValue); + } +}; +function wrapTransferResult({ from, to }) { + return { from: [from], to }; +} + +// node_modules/vnopts/lib/schemas/boolean.js +var BooleanSchema = class extends Schema { + expected() { + return "true or false"; + } + validate(value) { + return typeof value === "boolean"; + } +}; + +// node_modules/vnopts/lib/utils.js +function recordFromArray(array2, mainKey) { + const record = /* @__PURE__ */ Object.create(null); + for (const value of array2) { + const key2 = value[mainKey]; + if (record[key2]) { + throw new Error(`Duplicate ${mainKey} ${JSON.stringify(key2)}`); + } + record[key2] = value; + } + return record; +} +function mapFromArray(array2, mainKey) { + const map2 = /* @__PURE__ */ new Map(); + for (const value of array2) { + const key2 = value[mainKey]; + if (map2.has(key2)) { + throw new Error(`Duplicate ${mainKey} ${JSON.stringify(key2)}`); + } + map2.set(key2, value); + } + return map2; +} +function createAutoChecklist() { + const map2 = /* @__PURE__ */ Object.create(null); + return (id) => { + const idString = JSON.stringify(id); + if (map2[idString]) { + return true; + } + map2[idString] = true; + return false; + }; +} +function partition(array2, predicate) { + const trueArray = []; + const falseArray = []; + for (const value of array2) { + if (predicate(value)) { + trueArray.push(value); + } else { + falseArray.push(value); + } + } + return [trueArray, falseArray]; +} +function isInt(value) { + return value === Math.floor(value); +} +function comparePrimitive(a, b) { + if (a === b) { + return 0; + } + const typeofA = typeof a; + const typeofB = typeof b; + const orders = [ + "undefined", + "object", + "boolean", + "number", + "string" + ]; + if (typeofA !== typeofB) { + return orders.indexOf(typeofA) - orders.indexOf(typeofB); + } + if (typeofA !== "string") { + return Number(a) - Number(b); + } + return a.localeCompare(b); +} +function normalizeInvalidHandler(invalidHandler) { + return (...args) => { + const errorMessageOrError = invalidHandler(...args); + return typeof errorMessageOrError === "string" ? new Error(errorMessageOrError) : errorMessageOrError; + }; +} +function normalizeDefaultResult(result) { + return result === void 0 ? {} : result; +} +function normalizeExpectedResult(result) { + if (typeof result === "string") { + return { text: result }; + } + const { text, list } = result; + assert((text || list) !== void 0, "Unexpected `expected` result, there should be at least one field."); + if (!list) { + return { text }; + } + return { + text, + list: { + title: list.title, + values: list.values.map(normalizeExpectedResult) + } + }; +} +function normalizeValidateResult(result, value) { + return result === true ? true : result === false ? { value } : result; +} +function normalizeDeprecatedResult(result, value, doNotNormalizeTrue = false) { + return result === false ? false : result === true ? doNotNormalizeTrue ? true : [{ value }] : "value" in result ? [result] : result.length === 0 ? false : result; +} +function normalizeTransferResult(result, value) { + return typeof result === "string" || "key" in result ? { from: value, to: result } : "from" in result ? { from: result.from, to: result.to } : { from: value, to: result.to }; +} +function normalizeForwardResult(result, value) { + return result === void 0 ? [] : Array.isArray(result) ? result.map((transferResult) => normalizeTransferResult(transferResult, value)) : [normalizeTransferResult(result, value)]; +} +function normalizeRedirectResult(result, value) { + const redirect = normalizeForwardResult(typeof result === "object" && "redirect" in result ? result.redirect : result, value); + return redirect.length === 0 ? { remain: value, redirect } : typeof result === "object" && "remain" in result ? { remain: result.remain, redirect } : { redirect }; +} +function assert(isValid, message) { + if (!isValid) { + throw new Error(message); + } +} + +// node_modules/vnopts/lib/schemas/choice.js +var ChoiceSchema = class extends Schema { + constructor(parameters) { + super(parameters); + this._choices = mapFromArray(parameters.choices.map((choice) => choice && typeof choice === "object" ? choice : { value: choice }), "value"); + } + expected({ descriptor }) { + const choiceDescriptions = Array.from(this._choices.keys()).map((value) => this._choices.get(value)).filter(({ hidden }) => !hidden).map((choiceInfo) => choiceInfo.value).sort(comparePrimitive).map(descriptor.value); + const head = choiceDescriptions.slice(0, -2); + const tail = choiceDescriptions.slice(-2); + const message = head.concat(tail.join(" or ")).join(", "); + return { + text: message, + list: { + title: "one of the following values", + values: choiceDescriptions + } + }; + } + validate(value) { + return this._choices.has(value); + } + deprecated(value) { + const choiceInfo = this._choices.get(value); + return choiceInfo && choiceInfo.deprecated ? { value } : false; + } + forward(value) { + const choiceInfo = this._choices.get(value); + return choiceInfo ? choiceInfo.forward : void 0; + } + redirect(value) { + const choiceInfo = this._choices.get(value); + return choiceInfo ? choiceInfo.redirect : void 0; + } +}; + +// node_modules/vnopts/lib/schemas/number.js +var NumberSchema = class extends Schema { + expected() { + return "a number"; + } + validate(value, _utils) { + return typeof value === "number"; + } +}; + +// node_modules/vnopts/lib/schemas/integer.js +var IntegerSchema = class extends NumberSchema { + expected() { + return "an integer"; + } + validate(value, utils) { + return utils.normalizeValidateResult(super.validate(value, utils), value) === true && isInt(value); + } +}; + +// node_modules/vnopts/lib/schemas/string.js +var StringSchema = class extends Schema { + expected() { + return "a string"; + } + validate(value) { + return typeof value === "string"; + } +}; + +// node_modules/vnopts/lib/defaults.js +var defaultDescriptor = apiDescriptor; +var defaultUnknownHandler = levenUnknownHandler; +var defaultInvalidHandler = commonInvalidHandler; +var defaultDeprecatedHandler = commonDeprecatedHandler; + +// node_modules/vnopts/lib/normalize.js +var Normalizer = class { + constructor(schemas, opts) { + const { logger = console, loggerPrintWidth = 80, descriptor = defaultDescriptor, unknown = defaultUnknownHandler, invalid = defaultInvalidHandler, deprecated = defaultDeprecatedHandler, missing = () => false, required = () => false, preprocess = (x) => x, postprocess = () => VALUE_UNCHANGED } = opts || {}; + this._utils = { + descriptor, + logger: ( + /* c8 ignore next */ + logger || { warn: () => { + } } + ), + loggerPrintWidth, + schemas: recordFromArray(schemas, "name"), + normalizeDefaultResult, + normalizeExpectedResult, + normalizeDeprecatedResult, + normalizeForwardResult, + normalizeRedirectResult, + normalizeValidateResult + }; + this._unknownHandler = unknown; + this._invalidHandler = normalizeInvalidHandler(invalid); + this._deprecatedHandler = deprecated; + this._identifyMissing = (k, o) => !(k in o) || missing(k, o); + this._identifyRequired = required; + this._preprocess = preprocess; + this._postprocess = postprocess; + this.cleanHistory(); + } + cleanHistory() { + this._hasDeprecationWarned = createAutoChecklist(); + } + normalize(options8) { + const newOptions = {}; + const preprocessed = this._preprocess(options8, this._utils); + const restOptionsArray = [preprocessed]; + const applyNormalization = () => { + while (restOptionsArray.length !== 0) { + const currentOptions = restOptionsArray.shift(); + const transferredOptionsArray = this._applyNormalization(currentOptions, newOptions); + restOptionsArray.push(...transferredOptionsArray); + } + }; + applyNormalization(); + for (const key2 of Object.keys(this._utils.schemas)) { + const schema2 = this._utils.schemas[key2]; + if (!(key2 in newOptions)) { + const defaultResult = normalizeDefaultResult(schema2.default(this._utils)); + if ("value" in defaultResult) { + restOptionsArray.push({ [key2]: defaultResult.value }); + } + } + } + applyNormalization(); + for (const key2 of Object.keys(this._utils.schemas)) { + if (!(key2 in newOptions)) { + continue; + } + const schema2 = this._utils.schemas[key2]; + const value = newOptions[key2]; + const newValue = schema2.postprocess(value, this._utils); + if (newValue === VALUE_UNCHANGED) { + continue; + } + this._applyValidation(newValue, key2, schema2); + newOptions[key2] = newValue; + } + this._applyPostprocess(newOptions); + this._applyRequiredCheck(newOptions); + return newOptions; + } + _applyNormalization(options8, newOptions) { + const transferredOptionsArray = []; + const { knownKeys, unknownKeys } = this._partitionOptionKeys(options8); + for (const key2 of knownKeys) { + const schema2 = this._utils.schemas[key2]; + const value = schema2.preprocess(options8[key2], this._utils); + this._applyValidation(value, key2, schema2); + const appendTransferredOptions = ({ from, to }) => { + transferredOptionsArray.push(typeof to === "string" ? { [to]: from } : { [to.key]: to.value }); + }; + const warnDeprecated = ({ value: currentValue, redirectTo }) => { + const deprecatedResult = normalizeDeprecatedResult( + schema2.deprecated(currentValue, this._utils), + value, + /* doNotNormalizeTrue */ + true + ); + if (deprecatedResult === false) { + return; } - /* INLINE TABLE */ - parseInlineTable() { - if (this.char === CHAR_SP || this.char === CTRL_I) { - return null; - } else if (this.char === Parser.END || this.char === CHAR_NUM || this.char === CTRL_J || this.char === CTRL_M) { - throw this.error(new TomlError("Unterminated inline array")); - } else if (this.char === CHAR_RCUB) { - return this.return(this.state.resultTable || InlineTable()); - } else { - if (!this.state.resultTable) - this.state.resultTable = InlineTable(); - return this.callNow(this.parseAssign, this.recordInlineTableValue); + if (deprecatedResult === true) { + if (!this._hasDeprecationWarned(key2)) { + this._utils.logger.warn(this._deprecatedHandler(key2, redirectTo, this._utils)); } - } - recordInlineTableValue(kv) { - let target = this.state.resultTable; - let finalKey = kv.key.pop(); - for (let kw of kv.key) { - if (hasKey(target, kw) && (!isTable(target[kw]) || target[kw][_declared])) { - throw this.error(new TomlError("Can't redefine existing key")); + } else { + for (const { value: deprecatedValue } of deprecatedResult) { + const pair = { key: key2, value: deprecatedValue }; + if (!this._hasDeprecationWarned(pair)) { + const redirectToPair = typeof redirectTo === "string" ? { key: redirectTo, value: deprecatedValue } : redirectTo; + this._utils.logger.warn(this._deprecatedHandler(pair, redirectToPair, this._utils)); } - target = target[kw] = target[kw] || Table(); - } - if (hasKey(target, finalKey)) { - throw this.error(new TomlError("Can't redefine existing key")); - } - if (isInteger(kv.value) || isFloat(kv.value)) { - target[finalKey] = kv.value.valueOf(); - } else { - target[finalKey] = kv.value; } - return this.goto(this.parseInlineTableNext); } - parseInlineTableNext() { - if (this.char === CHAR_SP || this.char === CTRL_I) { - return null; - } else if (this.char === Parser.END || this.char === CHAR_NUM || this.char === CTRL_J || this.char === CTRL_M) { - throw this.error(new TomlError("Unterminated inline array")); - } else if (this.char === CHAR_COMMA) { - return this.next(this.parseInlineTable); - } else if (this.char === CHAR_RCUB) { - return this.goto(this.parseInlineTable); - } else { - throw this.error(new TomlError("Invalid character, expected whitespace, comma (,) or close bracket (])")); - } + }; + const forwardResult = normalizeForwardResult(schema2.forward(value, this._utils), value); + forwardResult.forEach(appendTransferredOptions); + const redirectResult = normalizeRedirectResult(schema2.redirect(value, this._utils), value); + redirectResult.redirect.forEach(appendTransferredOptions); + if ("remain" in redirectResult) { + const remainingValue = redirectResult.remain; + newOptions[key2] = key2 in newOptions ? schema2.overlap(newOptions[key2], remainingValue, this._utils) : remainingValue; + warnDeprecated({ value: remainingValue }); + } + for (const { from, to } of redirectResult.redirect) { + warnDeprecated({ value: from, redirectTo: to }); + } + } + for (const key2 of unknownKeys) { + const value = options8[key2]; + this._applyUnknownHandler(key2, value, newOptions, (knownResultKey, knownResultValue) => { + transferredOptionsArray.push({ [knownResultKey]: knownResultValue }); + }); + } + return transferredOptionsArray; + } + _applyRequiredCheck(options8) { + for (const key2 of Object.keys(this._utils.schemas)) { + if (this._identifyMissing(key2, options8)) { + if (this._identifyRequired(key2)) { + throw this._invalidHandler(key2, VALUE_NOT_EXIST, this._utils); } } - return TOMLParser; } } -}); + _partitionOptionKeys(options8) { + const [knownKeys, unknownKeys] = partition(Object.keys(options8).filter((key2) => !this._identifyMissing(key2, options8)), (key2) => key2 in this._utils.schemas); + return { knownKeys, unknownKeys }; + } + _applyValidation(value, key2, schema2) { + const validateResult = normalizeValidateResult(schema2.validate(value, this._utils), value); + if (validateResult !== true) { + throw this._invalidHandler(key2, validateResult.value, this._utils); + } + } + _applyUnknownHandler(key2, value, newOptions, knownResultHandler) { + const unknownResult = this._unknownHandler(key2, value, this._utils); + if (!unknownResult) { + return; + } + for (const resultKey of Object.keys(unknownResult)) { + if (this._identifyMissing(resultKey, unknownResult)) { + continue; + } + const resultValue = unknownResult[resultKey]; + if (resultKey in this._utils.schemas) { + knownResultHandler(resultKey, resultValue); + } else { + newOptions[resultKey] = resultValue; + } + } + } + _applyPostprocess(options8) { + const postprocessed = this._postprocess(options8, this._utils); + if (postprocessed === VALUE_UNCHANGED) { + return; + } + if (postprocessed.delete) { + for (const deleteKey of postprocessed.delete) { + delete options8[deleteKey]; + } + } + if (postprocessed.override) { + const { knownKeys, unknownKeys } = this._partitionOptionKeys(postprocessed.override); + for (const key2 of knownKeys) { + const value = postprocessed.override[key2]; + this._applyValidation(value, key2, this._utils.schemas[key2]); + options8[key2] = value; + } + for (const key2 of unknownKeys) { + const value = postprocessed.override[key2]; + this._applyUnknownHandler(key2, value, options8, (knownResultKey, knownResultValue) => { + const schema2 = this._utils.schemas[knownResultKey]; + this._applyValidation(knownResultValue, knownResultKey, schema2); + options8[knownResultKey] = knownResultValue; + }); + } + } + } +}; + +// src/common/errors.js +var errors_exports = {}; +__export(errors_exports, { + ArgExpansionBailout: () => ArgExpansionBailout, + ConfigError: () => ConfigError, + UndefinedParserError: () => UndefinedParserError +}); +var ConfigError = class extends Error { + name = "ConfigError"; +}; +var UndefinedParserError = class extends Error { + name = "UndefinedParserError"; +}; +var ArgExpansionBailout = class extends Error { + name = "ArgExpansionBailout"; +}; + +// src/config/resolve-config.js +var import_micromatch = __toESM(require_micromatch(), 1); +import path9 from "path"; + +// node_modules/url-or-path/index.js +import { fileURLToPath, pathToFileURL } from "url"; +var isUrlInstance = (value) => value instanceof URL; +var isUrlString = (value) => typeof value === "string" && value.startsWith("file://"); +var isUrl = (urlOrPath) => isUrlInstance(urlOrPath) || isUrlString(urlOrPath); +var toPath = (urlOrPath) => isUrl(urlOrPath) ? fileURLToPath(urlOrPath) : urlOrPath; + +// src/utils/partition.js +function partition2(array2, predicate) { + const result = [[], []]; + for (const value of array2) { + result[predicate(value) ? 0 : 1].push(value); + } + return result; +} +var partition_default = partition2; + +// src/config/editorconfig/index.js +var import_editorconfig = __toESM(require_src(), 1); +import path4 from "path"; + +// src/config/find-project-root.js +import * as path3 from "path"; + +// src/utils/is-directory.js +import fs from "fs/promises"; +async function isDirectory(directory, options8) { + const allowSymlinks = (options8 == null ? void 0 : options8.allowSymlinks) ?? true; + let stats; + try { + stats = await (allowSymlinks ? fs.stat : fs.lstat)(toPath(directory)); + } catch { + return false; + } + return stats.isDirectory(); +} +var is_directory_default = isDirectory; + +// src/config/searcher.js +import path2 from "path"; + +// node_modules/iterate-directory-up/index.js +import * as path from "path"; +var toAbsolutePath = (value) => path.resolve(toPath(value)); +function* iterateDirectoryUp(from, to) { + from = toAbsolutePath(from); + const { root: root2 } = path.parse(from); + to = to ? toAbsolutePath(to) : root2; + if (from !== to && !from.startsWith(to)) { + return; + } + for (let directory = from; directory !== to; directory = path.dirname(directory)) { + yield directory; + } + yield to; +} +var iterate_directory_up_default = iterateDirectoryUp; + +// src/config/searcher.js +var _names, _filter, _stopDirectory, _cache, _Searcher_instances, searchInDirectory_fn; +var Searcher = class { + /** + * @param {{ + * names: string[], + * filter: (fileOrDirectory: {name: string, path: string}) => Promise, + * stopDirectory?: string, + * }} param0 + */ + constructor({ names, filter: filter2, stopDirectory }) { + __privateAdd(this, _Searcher_instances); + __privateAdd(this, _names); + __privateAdd(this, _filter); + __privateAdd(this, _stopDirectory); + __privateAdd(this, _cache, /* @__PURE__ */ new Map()); + __privateSet(this, _names, names); + __privateSet(this, _filter, filter2); + __privateSet(this, _stopDirectory, stopDirectory); + } + async search(startDirectory, { shouldCache }) { + const cache3 = __privateGet(this, _cache); + if (shouldCache && cache3.has(startDirectory)) { + return cache3.get(startDirectory); + } + const searchedDirectories = []; + let result; + for (const directory of iterate_directory_up_default( + startDirectory, + __privateGet(this, _stopDirectory) + )) { + searchedDirectories.push(directory); + result = await __privateMethod(this, _Searcher_instances, searchInDirectory_fn).call(this, directory, shouldCache); + if (result) { + break; + } + } + for (const directory of searchedDirectories) { + cache3.set(directory, result); + } + return result; + } + clearCache() { + __privateGet(this, _cache).clear(); + } +}; +_names = new WeakMap(); +_filter = new WeakMap(); +_stopDirectory = new WeakMap(); +_cache = new WeakMap(); +_Searcher_instances = new WeakSet(); +searchInDirectory_fn = async function(directory, shouldCache) { + const cache3 = __privateGet(this, _cache); + if (shouldCache && cache3.has(directory)) { + return cache3.get(directory); + } + for (const name of __privateGet(this, _names)) { + const fileOrDirectory = path2.join(directory, name); + if (await __privateGet(this, _filter).call(this, { name, path: fileOrDirectory })) { + return fileOrDirectory; + } + } +}; +var searcher_default = Searcher; -// node_modules/@iarna/toml/parse-pretty-error.js -var require_parse_pretty_error = __commonJS({ - "node_modules/@iarna/toml/parse-pretty-error.js"(exports, module) { - "use strict"; - module.exports = prettyError; - function prettyError(err, buf) { - if (err.pos == null || err.line == null) - return err; - let msg = err.message; - msg += ` at row ${err.line + 1}, col ${err.col + 1}, pos ${err.pos}: -`; - if (buf && buf.split) { - const lines = buf.split(/\n/); - const lineNumWidth = String(Math.min(lines.length, err.line + 3)).length; - let linePadding = " "; - while (linePadding.length < lineNumWidth) - linePadding += " "; - for (let ii = Math.max(0, err.line - 1); ii < Math.min(lines.length, err.line + 2); ++ii) { - let lineNum = String(ii + 1); - if (lineNum.length < lineNumWidth) - lineNum = " " + lineNum; - if (err.line === ii) { - msg += lineNum + "> " + lines[ii] + "\n"; - msg += linePadding + " "; - for (let hh = 0; hh < err.col; ++hh) { - msg += " "; - } - msg += "^\n"; - } else { - msg += lineNum + ": " + lines[ii] + "\n"; - } - } +// src/config/find-project-root.js +var MARKERS = [".git", ".hg"]; +var searcher; +var searchOptions = { + names: MARKERS, + filter: ({ path: directory }) => is_directory_default(directory, { allowSymlinks: false }) +}; +async function findProjectRoot(startDirectory, options8) { + searcher ?? (searcher = new searcher_default(searchOptions)); + const mark = await searcher.search(startDirectory, options8); + return mark ? path3.dirname(mark) : void 0; +} +function clearFindProjectRootCache() { + searcher == null ? void 0 : searcher.clearCache(); +} + +// src/config/editorconfig/editorconfig-to-prettier.js +function removeUnset(editorConfig) { + const result = {}; + const keys = Object.keys(editorConfig); + for (let i = 0; i < keys.length; i++) { + const key2 = keys[i]; + if (editorConfig[key2] === "unset") { + continue; + } + result[key2] = editorConfig[key2]; + } + return result; +} +function editorConfigToPrettier(editorConfig) { + if (!editorConfig) { + return null; + } + editorConfig = removeUnset(editorConfig); + if (Object.keys(editorConfig).length === 0) { + return null; + } + const result = {}; + if (editorConfig.indent_style) { + result.useTabs = editorConfig.indent_style === "tab"; + } + if (editorConfig.indent_size === "tab") { + result.useTabs = true; + } + if (result.useTabs && editorConfig.tab_width) { + result.tabWidth = editorConfig.tab_width; + } else if (editorConfig.indent_style === "space" && editorConfig.indent_size && editorConfig.indent_size !== "tab") { + result.tabWidth = editorConfig.indent_size; + } else if (editorConfig.tab_width !== void 0) { + result.tabWidth = editorConfig.tab_width; + } + if (editorConfig.max_line_length) { + if (editorConfig.max_line_length === "off") { + result.printWidth = Number.POSITIVE_INFINITY; + } else { + result.printWidth = editorConfig.max_line_length; + } + } + if (editorConfig.quote_type === "single") { + result.singleQuote = true; + } else if (editorConfig.quote_type === "double") { + result.singleQuote = false; + } + if (["cr", "crlf", "lf"].includes(editorConfig.end_of_line)) { + result.endOfLine = editorConfig.end_of_line; + } + return result; +} +var editorconfig_to_prettier_default = editorConfigToPrettier; + +// src/config/editorconfig/index.js +var editorconfigCache = /* @__PURE__ */ new Map(); +function clearEditorconfigCache() { + clearFindProjectRootCache(); + editorconfigCache.clear(); +} +async function loadEditorconfigInternal(file, { shouldCache }) { + const directory = path4.dirname(file); + const root2 = await findProjectRoot(directory, { shouldCache }); + const editorConfig = await import_editorconfig.default.parse(file, { root: root2 }); + const config = editorconfig_to_prettier_default(editorConfig); + return config; +} +function loadEditorconfig(file, { shouldCache }) { + file = path4.resolve(file); + if (!shouldCache || !editorconfigCache.has(file)) { + editorconfigCache.set( + file, + loadEditorconfigInternal(file, { shouldCache }) + ); + } + return editorconfigCache.get(file); +} + +// src/config/prettier-config/index.js +import path8 from "path"; + +// src/common/mockable.js +var import_ci_info = __toESM(require_ci_info(), 1); +import fs2 from "fs/promises"; + +// node_modules/get-stdin/index.js +var { stdin } = process; +async function getStdin() { + let result = ""; + if (stdin.isTTY) { + return result; + } + stdin.setEncoding("utf8"); + for await (const chunk of stdin) { + result += chunk; + } + return result; +} +getStdin.buffer = async () => { + const result = []; + let length = 0; + if (stdin.isTTY) { + return Buffer.concat([]); + } + for await (const chunk of stdin) { + result.push(chunk); + length += chunk.length; + } + return Buffer.concat(result, length); +}; + +// src/common/mockable.js +function writeFormattedFile(file, data) { + return fs2.writeFile(file, data); +} +var mockable = { + getPrettierConfigSearchStopDirectory: () => void 0, + getStdin, + isCI: () => import_ci_info.isCI, + writeFormattedFile +}; +var mockable_default = mockable; + +// src/utils/is-file.js +import fs3 from "fs/promises"; +async function isFile(file, options8) { + const allowSymlinks = (options8 == null ? void 0 : options8.allowSymlinks) ?? true; + let stats; + try { + stats = await (allowSymlinks ? fs3.stat : fs3.lstat)(toPath(file)); + } catch { + return false; + } + return stats.isFile(); +} +var is_file_default = isFile; + +// src/config/prettier-config/loaders.js +var import_parse_async = __toESM(require_parse_async(), 1); +import { pathToFileURL as pathToFileURL2 } from "url"; + +// node_modules/js-yaml/dist/js-yaml.mjs +function isNothing(subject) { + return typeof subject === "undefined" || subject === null; +} +function isObject(subject) { + return typeof subject === "object" && subject !== null; +} +function toArray(sequence) { + if (Array.isArray(sequence)) return sequence; + else if (isNothing(sequence)) return []; + return [sequence]; +} +function extend(target, source2) { + var index, length, key2, sourceKeys; + if (source2) { + sourceKeys = Object.keys(source2); + for (index = 0, length = sourceKeys.length; index < length; index += 1) { + key2 = sourceKeys[index]; + target[key2] = source2[key2]; + } + } + return target; +} +function repeat(string, count) { + var result = "", cycle; + for (cycle = 0; cycle < count; cycle += 1) { + result += string; + } + return result; +} +function isNegativeZero(number) { + return number === 0 && Number.NEGATIVE_INFINITY === 1 / number; +} +var isNothing_1 = isNothing; +var isObject_1 = isObject; +var toArray_1 = toArray; +var repeat_1 = repeat; +var isNegativeZero_1 = isNegativeZero; +var extend_1 = extend; +var common = { + isNothing: isNothing_1, + isObject: isObject_1, + toArray: toArray_1, + repeat: repeat_1, + isNegativeZero: isNegativeZero_1, + extend: extend_1 +}; +function formatError(exception2, compact) { + var where = "", message = exception2.reason || "(unknown reason)"; + if (!exception2.mark) return message; + if (exception2.mark.name) { + where += 'in "' + exception2.mark.name + '" '; + } + where += "(" + (exception2.mark.line + 1) + ":" + (exception2.mark.column + 1) + ")"; + if (!compact && exception2.mark.snippet) { + where += "\n\n" + exception2.mark.snippet; + } + return message + " " + where; +} +function YAMLException$1(reason, mark) { + Error.call(this); + this.name = "YAMLException"; + this.reason = reason; + this.mark = mark; + this.message = formatError(this, false); + if (Error.captureStackTrace) { + Error.captureStackTrace(this, this.constructor); + } else { + this.stack = new Error().stack || ""; + } +} +YAMLException$1.prototype = Object.create(Error.prototype); +YAMLException$1.prototype.constructor = YAMLException$1; +YAMLException$1.prototype.toString = function toString(compact) { + return this.name + ": " + formatError(this, compact); +}; +var exception = YAMLException$1; +function getLine(buffer2, lineStart, lineEnd, position, maxLineLength) { + var head = ""; + var tail = ""; + var maxHalfLength = Math.floor(maxLineLength / 2) - 1; + if (position - lineStart > maxHalfLength) { + head = " ... "; + lineStart = position - maxHalfLength + head.length; + } + if (lineEnd - position > maxHalfLength) { + tail = " ..."; + lineEnd = position + maxHalfLength - tail.length; + } + return { + str: head + buffer2.slice(lineStart, lineEnd).replace(/\t/g, "\u2192") + tail, + pos: position - lineStart + head.length + // relative position + }; +} +function padStart(string, max) { + return common.repeat(" ", max - string.length) + string; +} +function makeSnippet(mark, options8) { + options8 = Object.create(options8 || null); + if (!mark.buffer) return null; + if (!options8.maxLength) options8.maxLength = 79; + if (typeof options8.indent !== "number") options8.indent = 1; + if (typeof options8.linesBefore !== "number") options8.linesBefore = 3; + if (typeof options8.linesAfter !== "number") options8.linesAfter = 2; + var re = /\r?\n|\r|\0/g; + var lineStarts = [0]; + var lineEnds = []; + var match; + var foundLineNo = -1; + while (match = re.exec(mark.buffer)) { + lineEnds.push(match.index); + lineStarts.push(match.index + match[0].length); + if (mark.position <= match.index && foundLineNo < 0) { + foundLineNo = lineStarts.length - 2; + } + } + if (foundLineNo < 0) foundLineNo = lineStarts.length - 1; + var result = "", i, line3; + var lineNoLength = Math.min(mark.line + options8.linesAfter, lineEnds.length).toString().length; + var maxLineLength = options8.maxLength - (options8.indent + lineNoLength + 3); + for (i = 1; i <= options8.linesBefore; i++) { + if (foundLineNo - i < 0) break; + line3 = getLine( + mark.buffer, + lineStarts[foundLineNo - i], + lineEnds[foundLineNo - i], + mark.position - (lineStarts[foundLineNo] - lineStarts[foundLineNo - i]), + maxLineLength + ); + result = common.repeat(" ", options8.indent) + padStart((mark.line - i + 1).toString(), lineNoLength) + " | " + line3.str + "\n" + result; + } + line3 = getLine(mark.buffer, lineStarts[foundLineNo], lineEnds[foundLineNo], mark.position, maxLineLength); + result += common.repeat(" ", options8.indent) + padStart((mark.line + 1).toString(), lineNoLength) + " | " + line3.str + "\n"; + result += common.repeat("-", options8.indent + lineNoLength + 3 + line3.pos) + "^\n"; + for (i = 1; i <= options8.linesAfter; i++) { + if (foundLineNo + i >= lineEnds.length) break; + line3 = getLine( + mark.buffer, + lineStarts[foundLineNo + i], + lineEnds[foundLineNo + i], + mark.position - (lineStarts[foundLineNo] - lineStarts[foundLineNo + i]), + maxLineLength + ); + result += common.repeat(" ", options8.indent) + padStart((mark.line + i + 1).toString(), lineNoLength) + " | " + line3.str + "\n"; + } + return result.replace(/\n$/, ""); +} +var snippet = makeSnippet; +var TYPE_CONSTRUCTOR_OPTIONS = [ + "kind", + "multi", + "resolve", + "construct", + "instanceOf", + "predicate", + "represent", + "representName", + "defaultStyle", + "styleAliases" +]; +var YAML_NODE_KINDS = [ + "scalar", + "sequence", + "mapping" +]; +function compileStyleAliases(map2) { + var result = {}; + if (map2 !== null) { + Object.keys(map2).forEach(function(style) { + map2[style].forEach(function(alias) { + result[String(alias)] = style; + }); + }); + } + return result; +} +function Type$1(tag, options8) { + options8 = options8 || {}; + Object.keys(options8).forEach(function(name) { + if (TYPE_CONSTRUCTOR_OPTIONS.indexOf(name) === -1) { + throw new exception('Unknown option "' + name + '" is met in definition of "' + tag + '" YAML type.'); + } + }); + this.options = options8; + this.tag = tag; + this.kind = options8["kind"] || null; + this.resolve = options8["resolve"] || function() { + return true; + }; + this.construct = options8["construct"] || function(data) { + return data; + }; + this.instanceOf = options8["instanceOf"] || null; + this.predicate = options8["predicate"] || null; + this.represent = options8["represent"] || null; + this.representName = options8["representName"] || null; + this.defaultStyle = options8["defaultStyle"] || null; + this.multi = options8["multi"] || false; + this.styleAliases = compileStyleAliases(options8["styleAliases"] || null); + if (YAML_NODE_KINDS.indexOf(this.kind) === -1) { + throw new exception('Unknown kind "' + this.kind + '" is specified for "' + tag + '" YAML type.'); + } +} +var type = Type$1; +function compileList(schema2, name) { + var result = []; + schema2[name].forEach(function(currentType) { + var newIndex = result.length; + result.forEach(function(previousType, previousIndex) { + if (previousType.tag === currentType.tag && previousType.kind === currentType.kind && previousType.multi === currentType.multi) { + newIndex = previousIndex; } - err.message = msg + "\n"; - return err; + }); + result[newIndex] = currentType; + }); + return result; +} +function compileMap() { + var result = { + scalar: {}, + sequence: {}, + mapping: {}, + fallback: {}, + multi: { + scalar: [], + sequence: [], + mapping: [], + fallback: [] + } + }, index, length; + function collectType(type2) { + if (type2.multi) { + result.multi[type2.kind].push(type2); + result.multi["fallback"].push(type2); + } else { + result[type2.kind][type2.tag] = result["fallback"][type2.tag] = type2; + } + } + for (index = 0, length = arguments.length; index < length; index += 1) { + arguments[index].forEach(collectType); + } + return result; +} +function Schema$1(definition) { + return this.extend(definition); +} +Schema$1.prototype.extend = function extend2(definition) { + var implicit = []; + var explicit = []; + if (definition instanceof type) { + explicit.push(definition); + } else if (Array.isArray(definition)) { + explicit = explicit.concat(definition); + } else if (definition && (Array.isArray(definition.implicit) || Array.isArray(definition.explicit))) { + if (definition.implicit) implicit = implicit.concat(definition.implicit); + if (definition.explicit) explicit = explicit.concat(definition.explicit); + } else { + throw new exception("Schema.extend argument should be a Type, [ Type ], or a schema definition ({ implicit: [...], explicit: [...] })"); + } + implicit.forEach(function(type$1) { + if (!(type$1 instanceof type)) { + throw new exception("Specified list of YAML types (or a single Type object) contains a non-Type object."); + } + if (type$1.loadKind && type$1.loadKind !== "scalar") { + throw new exception("There is a non-scalar type in the implicit list of a schema. Implicit resolving of such types is not supported."); + } + if (type$1.multi) { + throw new exception("There is a multi type in the implicit list of a schema. Multi tags can only be listed as explicit."); + } + }); + explicit.forEach(function(type$1) { + if (!(type$1 instanceof type)) { + throw new exception("Specified list of YAML types (or a single Type object) contains a non-Type object."); + } + }); + var result = Object.create(Schema$1.prototype); + result.implicit = (this.implicit || []).concat(implicit); + result.explicit = (this.explicit || []).concat(explicit); + result.compiledImplicit = compileList(result, "implicit"); + result.compiledExplicit = compileList(result, "explicit"); + result.compiledTypeMap = compileMap(result.compiledImplicit, result.compiledExplicit); + return result; +}; +var schema = Schema$1; +var str = new type("tag:yaml.org,2002:str", { + kind: "scalar", + construct: function(data) { + return data !== null ? data : ""; + } +}); +var seq = new type("tag:yaml.org,2002:seq", { + kind: "sequence", + construct: function(data) { + return data !== null ? data : []; + } +}); +var map = new type("tag:yaml.org,2002:map", { + kind: "mapping", + construct: function(data) { + return data !== null ? data : {}; + } +}); +var failsafe = new schema({ + explicit: [ + str, + seq, + map + ] +}); +function resolveYamlNull(data) { + if (data === null) return true; + var max = data.length; + return max === 1 && data === "~" || max === 4 && (data === "null" || data === "Null" || data === "NULL"); +} +function constructYamlNull() { + return null; +} +function isNull(object) { + return object === null; +} +var _null = new type("tag:yaml.org,2002:null", { + kind: "scalar", + resolve: resolveYamlNull, + construct: constructYamlNull, + predicate: isNull, + represent: { + canonical: function() { + return "~"; + }, + lowercase: function() { + return "null"; + }, + uppercase: function() { + return "NULL"; + }, + camelcase: function() { + return "Null"; + }, + empty: function() { + return ""; + } + }, + defaultStyle: "lowercase" +}); +function resolveYamlBoolean(data) { + if (data === null) return false; + var max = data.length; + return max === 4 && (data === "true" || data === "True" || data === "TRUE") || max === 5 && (data === "false" || data === "False" || data === "FALSE"); +} +function constructYamlBoolean(data) { + return data === "true" || data === "True" || data === "TRUE"; +} +function isBoolean(object) { + return Object.prototype.toString.call(object) === "[object Boolean]"; +} +var bool = new type("tag:yaml.org,2002:bool", { + kind: "scalar", + resolve: resolveYamlBoolean, + construct: constructYamlBoolean, + predicate: isBoolean, + represent: { + lowercase: function(object) { + return object ? "true" : "false"; + }, + uppercase: function(object) { + return object ? "TRUE" : "FALSE"; + }, + camelcase: function(object) { + return object ? "True" : "False"; + } + }, + defaultStyle: "lowercase" +}); +function isHexCode(c2) { + return 48 <= c2 && c2 <= 57 || 65 <= c2 && c2 <= 70 || 97 <= c2 && c2 <= 102; +} +function isOctCode(c2) { + return 48 <= c2 && c2 <= 55; +} +function isDecCode(c2) { + return 48 <= c2 && c2 <= 57; +} +function resolveYamlInteger(data) { + if (data === null) return false; + var max = data.length, index = 0, hasDigits = false, ch; + if (!max) return false; + ch = data[index]; + if (ch === "-" || ch === "+") { + ch = data[++index]; + } + if (ch === "0") { + if (index + 1 === max) return true; + ch = data[++index]; + if (ch === "b") { + index++; + for (; index < max; index++) { + ch = data[index]; + if (ch === "_") continue; + if (ch !== "0" && ch !== "1") return false; + hasDigits = true; + } + return hasDigits && ch !== "_"; + } + if (ch === "x") { + index++; + for (; index < max; index++) { + ch = data[index]; + if (ch === "_") continue; + if (!isHexCode(data.charCodeAt(index))) return false; + hasDigits = true; + } + return hasDigits && ch !== "_"; + } + if (ch === "o") { + index++; + for (; index < max; index++) { + ch = data[index]; + if (ch === "_") continue; + if (!isOctCode(data.charCodeAt(index))) return false; + hasDigits = true; + } + return hasDigits && ch !== "_"; + } + } + if (ch === "_") return false; + for (; index < max; index++) { + ch = data[index]; + if (ch === "_") continue; + if (!isDecCode(data.charCodeAt(index))) { + return false; + } + hasDigits = true; + } + if (!hasDigits || ch === "_") return false; + return true; +} +function constructYamlInteger(data) { + var value = data, sign2 = 1, ch; + if (value.indexOf("_") !== -1) { + value = value.replace(/_/g, ""); + } + ch = value[0]; + if (ch === "-" || ch === "+") { + if (ch === "-") sign2 = -1; + value = value.slice(1); + ch = value[0]; + } + if (value === "0") return 0; + if (ch === "0") { + if (value[1] === "b") return sign2 * parseInt(value.slice(2), 2); + if (value[1] === "x") return sign2 * parseInt(value.slice(2), 16); + if (value[1] === "o") return sign2 * parseInt(value.slice(2), 8); + } + return sign2 * parseInt(value, 10); +} +function isInteger(object) { + return Object.prototype.toString.call(object) === "[object Number]" && (object % 1 === 0 && !common.isNegativeZero(object)); +} +var int = new type("tag:yaml.org,2002:int", { + kind: "scalar", + resolve: resolveYamlInteger, + construct: constructYamlInteger, + predicate: isInteger, + represent: { + binary: function(obj) { + return obj >= 0 ? "0b" + obj.toString(2) : "-0b" + obj.toString(2).slice(1); + }, + octal: function(obj) { + return obj >= 0 ? "0o" + obj.toString(8) : "-0o" + obj.toString(8).slice(1); + }, + decimal: function(obj) { + return obj.toString(10); + }, + /* eslint-disable max-len */ + hexadecimal: function(obj) { + return obj >= 0 ? "0x" + obj.toString(16).toUpperCase() : "-0x" + obj.toString(16).toUpperCase().slice(1); + } + }, + defaultStyle: "decimal", + styleAliases: { + binary: [2, "bin"], + octal: [8, "oct"], + decimal: [10, "dec"], + hexadecimal: [16, "hex"] + } +}); +var YAML_FLOAT_PATTERN = new RegExp( + // 2.5e4, 2.5 and integers + "^(?:[-+]?(?:[0-9][0-9_]*)(?:\\.[0-9_]*)?(?:[eE][-+]?[0-9]+)?|\\.[0-9_]+(?:[eE][-+]?[0-9]+)?|[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$" +); +function resolveYamlFloat(data) { + if (data === null) return false; + if (!YAML_FLOAT_PATTERN.test(data) || // Quick hack to not allow integers end with `_` + // Probably should update regexp & check speed + data[data.length - 1] === "_") { + return false; + } + return true; +} +function constructYamlFloat(data) { + var value, sign2; + value = data.replace(/_/g, "").toLowerCase(); + sign2 = value[0] === "-" ? -1 : 1; + if ("+-".indexOf(value[0]) >= 0) { + value = value.slice(1); + } + if (value === ".inf") { + return sign2 === 1 ? Number.POSITIVE_INFINITY : Number.NEGATIVE_INFINITY; + } else if (value === ".nan") { + return NaN; + } + return sign2 * parseFloat(value, 10); +} +var SCIENTIFIC_WITHOUT_DOT = /^[-+]?[0-9]+e/; +function representYamlFloat(object, style) { + var res; + if (isNaN(object)) { + switch (style) { + case "lowercase": + return ".nan"; + case "uppercase": + return ".NAN"; + case "camelcase": + return ".NaN"; + } + } else if (Number.POSITIVE_INFINITY === object) { + switch (style) { + case "lowercase": + return ".inf"; + case "uppercase": + return ".INF"; + case "camelcase": + return ".Inf"; + } + } else if (Number.NEGATIVE_INFINITY === object) { + switch (style) { + case "lowercase": + return "-.inf"; + case "uppercase": + return "-.INF"; + case "camelcase": + return "-.Inf"; + } + } else if (common.isNegativeZero(object)) { + return "-0.0"; + } + res = object.toString(10); + return SCIENTIFIC_WITHOUT_DOT.test(res) ? res.replace("e", ".e") : res; +} +function isFloat(object) { + return Object.prototype.toString.call(object) === "[object Number]" && (object % 1 !== 0 || common.isNegativeZero(object)); +} +var float = new type("tag:yaml.org,2002:float", { + kind: "scalar", + resolve: resolveYamlFloat, + construct: constructYamlFloat, + predicate: isFloat, + represent: representYamlFloat, + defaultStyle: "lowercase" +}); +var json = failsafe.extend({ + implicit: [ + _null, + bool, + int, + float + ] +}); +var core = json; +var YAML_DATE_REGEXP = new RegExp( + "^([0-9][0-9][0-9][0-9])-([0-9][0-9])-([0-9][0-9])$" +); +var YAML_TIMESTAMP_REGEXP = 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 resolveYamlTimestamp(data) { + if (data === null) return false; + if (YAML_DATE_REGEXP.exec(data) !== null) return true; + if (YAML_TIMESTAMP_REGEXP.exec(data) !== null) return true; + return false; +} +function constructYamlTimestamp(data) { + var match, year, month, day, hour, minute, second, fraction = 0, delta = null, tz_hour, tz_minute, date; + match = YAML_DATE_REGEXP.exec(data); + if (match === null) match = YAML_TIMESTAMP_REGEXP.exec(data); + if (match === null) throw new Error("Date resolve error"); + year = +match[1]; + month = +match[2] - 1; + day = +match[3]; + if (!match[4]) { + return new Date(Date.UTC(year, month, day)); + } + hour = +match[4]; + minute = +match[5]; + second = +match[6]; + if (match[7]) { + fraction = match[7].slice(0, 3); + while (fraction.length < 3) { + fraction += "0"; + } + fraction = +fraction; + } + if (match[9]) { + tz_hour = +match[10]; + tz_minute = +(match[11] || 0); + delta = (tz_hour * 60 + tz_minute) * 6e4; + if (match[9] === "-") delta = -delta; + } + date = new Date(Date.UTC(year, month, day, hour, minute, second, fraction)); + if (delta) date.setTime(date.getTime() - delta); + return date; +} +function representYamlTimestamp(object) { + return object.toISOString(); +} +var timestamp = new type("tag:yaml.org,2002:timestamp", { + kind: "scalar", + resolve: resolveYamlTimestamp, + construct: constructYamlTimestamp, + instanceOf: Date, + represent: representYamlTimestamp +}); +function resolveYamlMerge(data) { + return data === "<<" || data === null; +} +var merge = new type("tag:yaml.org,2002:merge", { + kind: "scalar", + resolve: resolveYamlMerge +}); +var BASE64_MAP = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=\n\r"; +function resolveYamlBinary(data) { + if (data === null) return false; + var code, idx, bitlen = 0, max = data.length, map2 = BASE64_MAP; + for (idx = 0; idx < max; idx++) { + code = map2.indexOf(data.charAt(idx)); + if (code > 64) continue; + if (code < 0) return false; + bitlen += 6; + } + return bitlen % 8 === 0; +} +function constructYamlBinary(data) { + var idx, tailbits, input = data.replace(/[\r\n=]/g, ""), max = input.length, map2 = BASE64_MAP, bits = 0, result = []; + for (idx = 0; idx < max; idx++) { + if (idx % 4 === 0 && idx) { + result.push(bits >> 16 & 255); + result.push(bits >> 8 & 255); + result.push(bits & 255); + } + bits = bits << 6 | map2.indexOf(input.charAt(idx)); + } + tailbits = max % 4 * 6; + if (tailbits === 0) { + result.push(bits >> 16 & 255); + result.push(bits >> 8 & 255); + result.push(bits & 255); + } else if (tailbits === 18) { + result.push(bits >> 10 & 255); + result.push(bits >> 2 & 255); + } else if (tailbits === 12) { + result.push(bits >> 4 & 255); + } + return new Uint8Array(result); +} +function representYamlBinary(object) { + var result = "", bits = 0, idx, tail, max = object.length, map2 = BASE64_MAP; + for (idx = 0; idx < max; idx++) { + if (idx % 3 === 0 && idx) { + result += map2[bits >> 18 & 63]; + result += map2[bits >> 12 & 63]; + result += map2[bits >> 6 & 63]; + result += map2[bits & 63]; + } + bits = (bits << 8) + object[idx]; + } + tail = max % 3; + if (tail === 0) { + result += map2[bits >> 18 & 63]; + result += map2[bits >> 12 & 63]; + result += map2[bits >> 6 & 63]; + result += map2[bits & 63]; + } else if (tail === 2) { + result += map2[bits >> 10 & 63]; + result += map2[bits >> 4 & 63]; + result += map2[bits << 2 & 63]; + result += map2[64]; + } else if (tail === 1) { + result += map2[bits >> 2 & 63]; + result += map2[bits << 4 & 63]; + result += map2[64]; + result += map2[64]; + } + return result; +} +function isBinary(obj) { + return Object.prototype.toString.call(obj) === "[object Uint8Array]"; +} +var binary = new type("tag:yaml.org,2002:binary", { + kind: "scalar", + resolve: resolveYamlBinary, + construct: constructYamlBinary, + predicate: isBinary, + represent: representYamlBinary +}); +var _hasOwnProperty$3 = Object.prototype.hasOwnProperty; +var _toString$2 = Object.prototype.toString; +function resolveYamlOmap(data) { + if (data === null) return true; + var objectKeys = [], index, length, pair, pairKey, pairHasKey, object = data; + for (index = 0, length = object.length; index < length; index += 1) { + pair = object[index]; + pairHasKey = false; + if (_toString$2.call(pair) !== "[object Object]") return false; + for (pairKey in pair) { + if (_hasOwnProperty$3.call(pair, pairKey)) { + if (!pairHasKey) pairHasKey = true; + else return false; + } + } + if (!pairHasKey) return false; + if (objectKeys.indexOf(pairKey) === -1) objectKeys.push(pairKey); + else return false; + } + return true; +} +function constructYamlOmap(data) { + return data !== null ? data : []; +} +var omap = new type("tag:yaml.org,2002:omap", { + kind: "sequence", + resolve: resolveYamlOmap, + construct: constructYamlOmap +}); +var _toString$1 = Object.prototype.toString; +function resolveYamlPairs(data) { + if (data === null) return true; + var index, length, pair, keys, result, object = data; + result = new Array(object.length); + for (index = 0, length = object.length; index < length; index += 1) { + pair = object[index]; + if (_toString$1.call(pair) !== "[object Object]") return false; + keys = Object.keys(pair); + if (keys.length !== 1) return false; + result[index] = [keys[0], pair[keys[0]]]; + } + return true; +} +function constructYamlPairs(data) { + if (data === null) return []; + var index, length, pair, keys, result, object = data; + result = new Array(object.length); + for (index = 0, length = object.length; index < length; index += 1) { + pair = object[index]; + keys = Object.keys(pair); + result[index] = [keys[0], pair[keys[0]]]; + } + return result; +} +var pairs = new type("tag:yaml.org,2002:pairs", { + kind: "sequence", + resolve: resolveYamlPairs, + construct: constructYamlPairs +}); +var _hasOwnProperty$2 = Object.prototype.hasOwnProperty; +function resolveYamlSet(data) { + if (data === null) return true; + var key2, object = data; + for (key2 in object) { + if (_hasOwnProperty$2.call(object, key2)) { + if (object[key2] !== null) return false; + } + } + return true; +} +function constructYamlSet(data) { + return data !== null ? data : {}; +} +var set = new type("tag:yaml.org,2002:set", { + kind: "mapping", + resolve: resolveYamlSet, + construct: constructYamlSet +}); +var _default = core.extend({ + implicit: [ + timestamp, + merge + ], + explicit: [ + binary, + omap, + pairs, + set + ] +}); +var _hasOwnProperty$1 = Object.prototype.hasOwnProperty; +var CONTEXT_FLOW_IN = 1; +var CONTEXT_FLOW_OUT = 2; +var CONTEXT_BLOCK_IN = 3; +var CONTEXT_BLOCK_OUT = 4; +var CHOMPING_CLIP = 1; +var CHOMPING_STRIP = 2; +var CHOMPING_KEEP = 3; +var PATTERN_NON_PRINTABLE = /[\x00-\x08\x0B\x0C\x0E-\x1F\x7F-\x84\x86-\x9F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/; +var PATTERN_NON_ASCII_LINE_BREAKS = /[\x85\u2028\u2029]/; +var PATTERN_FLOW_INDICATORS = /[,\[\]\{\}]/; +var PATTERN_TAG_HANDLE = /^(?:!|!!|![a-z\-]+!)$/i; +var PATTERN_TAG_URI = /^(?:!|[^,\[\]\{\}])(?:%[0-9a-f]{2}|[0-9a-z\-#;\/\?:@&=\+\$,_\.!~\*'\(\)\[\]])*$/i; +function _class(obj) { + return Object.prototype.toString.call(obj); +} +function is_EOL(c2) { + return c2 === 10 || c2 === 13; +} +function is_WHITE_SPACE(c2) { + return c2 === 9 || c2 === 32; +} +function is_WS_OR_EOL(c2) { + return c2 === 9 || c2 === 32 || c2 === 10 || c2 === 13; +} +function is_FLOW_INDICATOR(c2) { + return c2 === 44 || c2 === 91 || c2 === 93 || c2 === 123 || c2 === 125; +} +function fromHexCode(c2) { + var lc; + if (48 <= c2 && c2 <= 57) { + return c2 - 48; + } + lc = c2 | 32; + if (97 <= lc && lc <= 102) { + return lc - 97 + 10; + } + return -1; +} +function escapedHexLen(c2) { + if (c2 === 120) { + return 2; + } + if (c2 === 117) { + return 4; + } + if (c2 === 85) { + return 8; + } + return 0; +} +function fromDecimalCode(c2) { + if (48 <= c2 && c2 <= 57) { + return c2 - 48; + } + return -1; +} +function simpleEscapeSequence(c2) { + return c2 === 48 ? "\0" : c2 === 97 ? "\x07" : c2 === 98 ? "\b" : c2 === 116 ? " " : c2 === 9 ? " " : c2 === 110 ? "\n" : c2 === 118 ? "\v" : c2 === 102 ? "\f" : c2 === 114 ? "\r" : c2 === 101 ? "\x1B" : c2 === 32 ? " " : c2 === 34 ? '"' : c2 === 47 ? "/" : c2 === 92 ? "\\" : c2 === 78 ? "\x85" : c2 === 95 ? "\xA0" : c2 === 76 ? "\u2028" : c2 === 80 ? "\u2029" : ""; +} +function charFromCodepoint(c2) { + if (c2 <= 65535) { + return String.fromCharCode(c2); + } + return String.fromCharCode( + (c2 - 65536 >> 10) + 55296, + (c2 - 65536 & 1023) + 56320 + ); +} +var simpleEscapeCheck = new Array(256); +var simpleEscapeMap = new Array(256); +for (i = 0; i < 256; i++) { + simpleEscapeCheck[i] = simpleEscapeSequence(i) ? 1 : 0; + simpleEscapeMap[i] = simpleEscapeSequence(i); +} +var i; +function State$1(input, options8) { + this.input = input; + this.filename = options8["filename"] || null; + this.schema = options8["schema"] || _default; + this.onWarning = options8["onWarning"] || null; + this.legacy = options8["legacy"] || false; + this.json = options8["json"] || false; + this.listener = options8["listener"] || null; + this.implicitTypes = this.schema.compiledImplicit; + this.typeMap = this.schema.compiledTypeMap; + this.length = input.length; + this.position = 0; + this.line = 0; + this.lineStart = 0; + this.lineIndent = 0; + this.firstTabInLine = -1; + this.documents = []; +} +function generateError(state, message) { + var mark = { + name: state.filename, + buffer: state.input.slice(0, -1), + // omit trailing \0 + position: state.position, + line: state.line, + column: state.position - state.lineStart + }; + mark.snippet = snippet(mark); + return new exception(message, mark); +} +function throwError(state, message) { + throw generateError(state, message); +} +function throwWarning(state, message) { + if (state.onWarning) { + state.onWarning.call(null, generateError(state, message)); + } +} +var directiveHandlers = { + YAML: function handleYamlDirective(state, name, args) { + var match, major, minor; + if (state.version !== null) { + throwError(state, "duplication of %YAML directive"); + } + if (args.length !== 1) { + throwError(state, "YAML directive accepts exactly one argument"); + } + match = /^([0-9]+)\.([0-9]+)$/.exec(args[0]); + if (match === null) { + throwError(state, "ill-formed argument of the YAML directive"); } + major = parseInt(match[1], 10); + minor = parseInt(match[2], 10); + if (major !== 1) { + throwError(state, "unacceptable YAML version of the document"); + } + state.version = args[0]; + state.checkLineBreaks = minor < 2; + if (minor !== 1 && minor !== 2) { + throwWarning(state, "unsupported YAML version of the document"); + } + }, + TAG: function handleTagDirective(state, name, args) { + var handle, prefix; + if (args.length !== 2) { + throwError(state, "TAG directive accepts exactly two arguments"); + } + handle = args[0]; + prefix = args[1]; + if (!PATTERN_TAG_HANDLE.test(handle)) { + throwError(state, "ill-formed tag handle (first argument) of the TAG directive"); + } + if (_hasOwnProperty$1.call(state.tagMap, handle)) { + throwError(state, 'there is a previously declared suffix for "' + handle + '" tag handle'); + } + if (!PATTERN_TAG_URI.test(prefix)) { + throwError(state, "ill-formed tag prefix (second argument) of the TAG directive"); + } + try { + prefix = decodeURIComponent(prefix); + } catch (err) { + throwError(state, "tag prefix is malformed: " + prefix); + } + state.tagMap[handle] = prefix; } -}); - -// node_modules/@iarna/toml/parse-async.js -var require_parse_async = __commonJS({ - "node_modules/@iarna/toml/parse-async.js"(exports, module) { - "use strict"; - module.exports = parseAsync; - var TOMLParser = require_toml_parser(); - var prettyError = require_parse_pretty_error(); - function parseAsync(str, opts) { - if (!opts) - opts = {}; - const index = 0; - const blocksize = opts.blocksize || 40960; - const parser = new TOMLParser(); - return new Promise((resolve2, reject) => { - setImmediate(parseAsyncNext, index, blocksize, resolve2, reject); - }); - function parseAsyncNext(index2, blocksize2, resolve2, reject) { - if (index2 >= str.length) { - try { - return resolve2(parser.finish()); - } catch (err) { - return reject(prettyError(err, str)); - } - } - try { - parser.parse(str.slice(index2, index2 + blocksize2)); - setImmediate(parseAsyncNext, index2 + blocksize2, blocksize2, resolve2, reject); - } catch (err) { - reject(prettyError(err, str)); +}; +function captureSegment(state, start, end, checkJson) { + var _position, _length, _character, _result; + if (start < end) { + _result = state.input.slice(start, end); + if (checkJson) { + for (_position = 0, _length = _result.length; _position < _length; _position += 1) { + _character = _result.charCodeAt(_position); + if (!(_character === 9 || 32 <= _character && _character <= 1114111)) { + throwError(state, "expected valid JSON character"); } } + } else if (PATTERN_NON_PRINTABLE.test(_result)) { + throwError(state, "the stream contains non-printable characters"); } + state.result += _result; } -}); - -// node_modules/json5/lib/unicode.js -var require_unicode = __commonJS({ - "node_modules/json5/lib/unicode.js"(exports, module) { - module.exports.Space_Separator = /[\u1680\u2000-\u200A\u202F\u205F\u3000]/; - module.exports.ID_Start = /[\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\u0860-\u086A\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\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\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-\u312E\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FEA\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\uDF2D-\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\uDE00\uDE0B-\uDE32\uDE3A\uDE50\uDE5C-\uDE83\uDE86-\uDE89\uDEC0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC2E\uDC40\uDC72-\uDC8F\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD30\uDD46]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD81C-\uD820\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879][\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\uDFE1]|\uD821[\uDC00-\uDFEC]|\uD822[\uDC00-\uDEF2]|\uD82C[\uDC00-\uDD1E\uDD70-\uDEFB]|\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\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0]|\uD87E[\uDC00-\uDE1D]/; - module.exports.ID_Continue = /[\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\u0860-\u086A\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\u09FC\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-\u0AFF\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\u0D00-\u0D03\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\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-\u1CF9\u1D00-\u1DF9\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\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-\u312E\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FEA\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\uDF2D-\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\uDE00-\uDE3E\uDE47\uDE50-\uDE83\uDE86-\uDE99\uDEC0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC36\uDC38-\uDC40\uDC50-\uDC59\uDC72-\uDC8F\uDC92-\uDCA7\uDCA9-\uDCB6\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD36\uDD3A\uDD3C\uDD3D\uDD3F-\uDD47\uDD50-\uDD59]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD81C-\uD820\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879][\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\uDFE1]|\uD821[\uDC00-\uDFEC]|\uD822[\uDC00-\uDEF2]|\uD82C[\uDC00-\uDD1E\uDD70-\uDEFB]|\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\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0]|\uD87E[\uDC00-\uDE1D]|\uDB40[\uDD00-\uDDEF]/; +} +function mergeMappings(state, destination, source2, overridableKeys) { + var sourceKeys, key2, index, quantity; + if (!common.isObject(source2)) { + throwError(state, "cannot merge mappings; the provided source object is unacceptable"); } -}); - -// node_modules/json5/lib/util.js -var require_util = __commonJS({ - "node_modules/json5/lib/util.js"(exports, module) { - var unicode = require_unicode(); - module.exports = { - isSpaceSeparator(c) { - return typeof c === "string" && unicode.Space_Separator.test(c); - }, - isIdStartChar(c) { - return typeof c === "string" && (c >= "a" && c <= "z" || c >= "A" && c <= "Z" || c === "$" || c === "_" || unicode.ID_Start.test(c)); - }, - isIdContinueChar(c) { - return typeof c === "string" && (c >= "a" && c <= "z" || c >= "A" && c <= "Z" || c >= "0" && c <= "9" || c === "$" || c === "_" || c === "\u200C" || c === "\u200D" || unicode.ID_Continue.test(c)); - }, - isDigit(c) { - return typeof c === "string" && /[0-9]/.test(c); - }, - isHexDigit(c) { - return typeof c === "string" && /[0-9A-Fa-f]/.test(c); - } - }; + sourceKeys = Object.keys(source2); + for (index = 0, quantity = sourceKeys.length; index < quantity; index += 1) { + key2 = sourceKeys[index]; + if (!_hasOwnProperty$1.call(destination, key2)) { + destination[key2] = source2[key2]; + overridableKeys[key2] = true; + } } -}); - -// node_modules/json5/lib/parse.js -var require_parse3 = __commonJS({ - "node_modules/json5/lib/parse.js"(exports, module) { - var util = require_util(); - var source; - var parseState; - var stack; - var pos; - var line2; - var column; - var token; - var key; - var root; - module.exports = function parse3(text, reviver) { - source = String(text); - parseState = "start"; - stack = []; - pos = 0; - line2 = 1; - column = 0; - token = void 0; - key = void 0; - root = void 0; - do { - token = lex(); - parseStates[parseState](); - } while (token.type !== "eof"); - if (typeof reviver === "function") { - return internalize({ "": root }, "", reviver); +} +function storeMappingPair(state, _result, overridableKeys, keyTag, keyNode, valueNode, startLine, startLineStart, startPos) { + var index, quantity; + if (Array.isArray(keyNode)) { + keyNode = Array.prototype.slice.call(keyNode); + for (index = 0, quantity = keyNode.length; index < quantity; index += 1) { + if (Array.isArray(keyNode[index])) { + throwError(state, "nested arrays are not supported inside keys"); } - return root; - }; - function internalize(holder, name, reviver) { - const value = holder[name]; - if (value != null && typeof value === "object") { - if (Array.isArray(value)) { - for (let i = 0; i < value.length; i++) { - const key2 = String(i); - const replacement = internalize(value, key2, reviver); - if (replacement === void 0) { - delete value[key2]; - } else { - Object.defineProperty(value, key2, { - value: replacement, - writable: true, - enumerable: true, - configurable: true - }); - } - } - } else { - for (const key2 in value) { - const replacement = internalize(value, key2, reviver); - if (replacement === void 0) { - delete value[key2]; - } else { - Object.defineProperty(value, key2, { - value: replacement, - writable: true, - enumerable: true, - configurable: true - }); - } - } - } + if (typeof keyNode === "object" && _class(keyNode[index]) === "[object Object]") { + keyNode[index] = "[object Object]"; } - return reviver.call(holder, name, value); } - var lexState; - var buffer; - var doubleQuote; - var sign; - var c; - function lex() { - lexState = "default"; - buffer = ""; - doubleQuote = false; - sign = 1; - for (; ; ) { - c = peek(); - const token2 = lexStates[lexState](); - if (token2) { - return token2; - } + } + if (typeof keyNode === "object" && _class(keyNode) === "[object Object]") { + keyNode = "[object Object]"; + } + keyNode = String(keyNode); + if (_result === null) { + _result = {}; + } + if (keyTag === "tag:yaml.org,2002:merge") { + if (Array.isArray(valueNode)) { + for (index = 0, quantity = valueNode.length; index < quantity; index += 1) { + mergeMappings(state, _result, valueNode[index], overridableKeys); } + } else { + mergeMappings(state, _result, valueNode, overridableKeys); } - function peek() { - if (source[pos]) { - return String.fromCodePoint(source.codePointAt(pos)); - } + } else { + if (!state.json && !_hasOwnProperty$1.call(overridableKeys, keyNode) && _hasOwnProperty$1.call(_result, keyNode)) { + state.line = startLine || state.line; + state.lineStart = startLineStart || state.lineStart; + state.position = startPos || state.position; + throwError(state, "duplicated mapping key"); + } + if (keyNode === "__proto__") { + Object.defineProperty(_result, keyNode, { + configurable: true, + enumerable: true, + writable: true, + value: valueNode + }); + } else { + _result[keyNode] = valueNode; } - function read2() { - const c2 = peek(); - if (c2 === "\n") { - line2++; - column = 0; - } else if (c2) { - column += c2.length; - } else { - column++; - } - if (c2) { - pos += c2.length; - } - return c2; - } - var lexStates = { - default() { - switch (c) { - case " ": - case "\v": - case "\f": - case " ": - case "\xA0": - case "\uFEFF": - case "\n": - case "\r": - case "\u2028": - case "\u2029": - read2(); - return; - case "/": - read2(); - lexState = "comment"; - return; - case void 0: - read2(); - return newToken("eof"); - } - if (util.isSpaceSeparator(c)) { - read2(); - return; - } - return lexStates[parseState](); - }, - comment() { - switch (c) { - case "*": - read2(); - lexState = "multiLineComment"; - return; - case "/": - read2(); - lexState = "singleLineComment"; - return; - } - throw invalidChar(read2()); - }, - multiLineComment() { - switch (c) { - case "*": - read2(); - lexState = "multiLineCommentAsterisk"; - return; - case void 0: - throw invalidChar(read2()); - } - read2(); - }, - multiLineCommentAsterisk() { - switch (c) { - case "*": - read2(); - return; - case "/": - read2(); - lexState = "default"; - return; - case void 0: - throw invalidChar(read2()); - } - read2(); - lexState = "multiLineComment"; - }, - singleLineComment() { - switch (c) { - case "\n": - case "\r": - case "\u2028": - case "\u2029": - read2(); - lexState = "default"; - return; - case void 0: - read2(); - return newToken("eof"); - } - read2(); - }, - value() { - switch (c) { - case "{": - case "[": - return newToken("punctuator", read2()); - case "n": - read2(); - literal("ull"); - return newToken("null", null); - case "t": - read2(); - literal("rue"); - return newToken("boolean", true); - case "f": - read2(); - literal("alse"); - return newToken("boolean", false); - case "-": - case "+": - if (read2() === "-") { - sign = -1; - } - lexState = "sign"; - return; - case ".": - buffer = read2(); - lexState = "decimalPointLeading"; - return; - case "0": - buffer = read2(); - lexState = "zero"; - return; - case "1": - case "2": - case "3": - case "4": - case "5": - case "6": - case "7": - case "8": - case "9": - buffer = read2(); - lexState = "decimalInteger"; - return; - case "I": - read2(); - literal("nfinity"); - return newToken("numeric", Infinity); - case "N": - read2(); - literal("aN"); - return newToken("numeric", NaN); - case '"': - case "'": - doubleQuote = read2() === '"'; - buffer = ""; - lexState = "string"; - return; - } - throw invalidChar(read2()); - }, - identifierNameStartEscape() { - if (c !== "u") { - throw invalidChar(read2()); - } - read2(); - const u = unicodeEscape(); - switch (u) { - case "$": - case "_": - break; - default: - if (!util.isIdStartChar(u)) { - throw invalidIdentifier(); - } - break; - } - buffer += u; - lexState = "identifierName"; - }, - identifierName() { - switch (c) { - case "$": - case "_": - case "\u200C": - case "\u200D": - buffer += read2(); - return; - case "\\": - read2(); - lexState = "identifierNameEscape"; - return; - } - if (util.isIdContinueChar(c)) { - buffer += read2(); - return; - } - return newToken("identifier", buffer); - }, - identifierNameEscape() { - if (c !== "u") { - throw invalidChar(read2()); - } - read2(); - const u = unicodeEscape(); - switch (u) { - case "$": - case "_": - case "\u200C": - case "\u200D": - break; - default: - if (!util.isIdContinueChar(u)) { - throw invalidIdentifier(); - } - break; - } - buffer += u; - lexState = "identifierName"; - }, - sign() { - switch (c) { - case ".": - buffer = read2(); - lexState = "decimalPointLeading"; - return; - case "0": - buffer = read2(); - lexState = "zero"; - return; - case "1": - case "2": - case "3": - case "4": - case "5": - case "6": - case "7": - case "8": - case "9": - buffer = read2(); - lexState = "decimalInteger"; - return; - case "I": - read2(); - literal("nfinity"); - return newToken("numeric", sign * Infinity); - case "N": - read2(); - literal("aN"); - return newToken("numeric", NaN); - } - throw invalidChar(read2()); - }, - zero() { - switch (c) { - case ".": - buffer += read2(); - lexState = "decimalPoint"; - return; - case "e": - case "E": - buffer += read2(); - lexState = "decimalExponent"; - return; - case "x": - case "X": - buffer += read2(); - lexState = "hexadecimal"; - return; - } - return newToken("numeric", sign * 0); - }, - decimalInteger() { - switch (c) { - case ".": - buffer += read2(); - lexState = "decimalPoint"; - return; - case "e": - case "E": - buffer += read2(); - lexState = "decimalExponent"; - return; - } - if (util.isDigit(c)) { - buffer += read2(); - return; - } - return newToken("numeric", sign * Number(buffer)); - }, - decimalPointLeading() { - if (util.isDigit(c)) { - buffer += read2(); - lexState = "decimalFraction"; - return; - } - throw invalidChar(read2()); - }, - decimalPoint() { - switch (c) { - case "e": - case "E": - buffer += read2(); - lexState = "decimalExponent"; - return; - } - if (util.isDigit(c)) { - buffer += read2(); - lexState = "decimalFraction"; - return; - } - return newToken("numeric", sign * Number(buffer)); - }, - decimalFraction() { - switch (c) { - case "e": - case "E": - buffer += read2(); - lexState = "decimalExponent"; - return; - } - if (util.isDigit(c)) { - buffer += read2(); - return; - } - return newToken("numeric", sign * Number(buffer)); - }, - decimalExponent() { - switch (c) { - case "+": - case "-": - buffer += read2(); - lexState = "decimalExponentSign"; - return; - } - if (util.isDigit(c)) { - buffer += read2(); - lexState = "decimalExponentInteger"; - return; - } - throw invalidChar(read2()); - }, - decimalExponentSign() { - if (util.isDigit(c)) { - buffer += read2(); - lexState = "decimalExponentInteger"; - return; - } - throw invalidChar(read2()); - }, - decimalExponentInteger() { - if (util.isDigit(c)) { - buffer += read2(); - return; - } - return newToken("numeric", sign * Number(buffer)); - }, - hexadecimal() { - if (util.isHexDigit(c)) { - buffer += read2(); - lexState = "hexadecimalInteger"; - return; - } - throw invalidChar(read2()); - }, - hexadecimalInteger() { - if (util.isHexDigit(c)) { - buffer += read2(); - return; - } - return newToken("numeric", sign * Number(buffer)); - }, - string() { - switch (c) { - case "\\": - read2(); - buffer += escape(); - return; - case '"': - if (doubleQuote) { - read2(); - return newToken("string", buffer); - } - buffer += read2(); - return; - case "'": - if (!doubleQuote) { - read2(); - return newToken("string", buffer); - } - buffer += read2(); - return; - case "\n": - case "\r": - throw invalidChar(read2()); - case "\u2028": - case "\u2029": - separatorChar(c); - break; - case void 0: - throw invalidChar(read2()); - } - buffer += read2(); - }, - start() { - switch (c) { - case "{": - case "[": - return newToken("punctuator", read2()); - } - lexState = "value"; - }, - beforePropertyName() { - switch (c) { - case "$": - case "_": - buffer = read2(); - lexState = "identifierName"; - return; - case "\\": - read2(); - lexState = "identifierNameStartEscape"; - return; - case "}": - return newToken("punctuator", read2()); - case '"': - case "'": - doubleQuote = read2() === '"'; - lexState = "string"; - return; - } - if (util.isIdStartChar(c)) { - buffer += read2(); - lexState = "identifierName"; - return; - } - throw invalidChar(read2()); - }, - afterPropertyName() { - if (c === ":") { - return newToken("punctuator", read2()); - } - throw invalidChar(read2()); - }, - beforePropertyValue() { - lexState = "value"; - }, - afterPropertyValue() { - switch (c) { - case ",": - case "}": - return newToken("punctuator", read2()); - } - throw invalidChar(read2()); - }, - beforeArrayValue() { - if (c === "]") { - return newToken("punctuator", read2()); - } - lexState = "value"; - }, - afterArrayValue() { - switch (c) { - case ",": - case "]": - return newToken("punctuator", read2()); - } - throw invalidChar(read2()); - }, - end() { - throw invalidChar(read2()); - } - }; - function newToken(type, value) { - return { - type, - value, - line: line2, - column - }; + delete overridableKeys[keyNode]; + } + return _result; +} +function readLineBreak(state) { + var ch; + ch = state.input.charCodeAt(state.position); + if (ch === 10) { + state.position++; + } else if (ch === 13) { + state.position++; + if (state.input.charCodeAt(state.position) === 10) { + state.position++; } - function literal(s) { - for (const c2 of s) { - const p = peek(); - if (p !== c2) { - throw invalidChar(read2()); - } - read2(); - } - } - function escape() { - const c2 = peek(); - switch (c2) { - case "b": - read2(); - return "\b"; - case "f": - read2(); - return "\f"; - case "n": - read2(); - return "\n"; - case "r": - read2(); - return "\r"; - case "t": - read2(); - return " "; - case "v": - read2(); - return "\v"; - case "0": - read2(); - if (util.isDigit(peek())) { - throw invalidChar(read2()); - } - return "\0"; - case "x": - read2(); - return hexEscape(); - case "u": - read2(); - return unicodeEscape(); - case "\n": - case "\u2028": - case "\u2029": - read2(); - return ""; - case "\r": - read2(); - if (peek() === "\n") { - read2(); - } - return ""; - case "1": - case "2": - case "3": - case "4": - case "5": - case "6": - case "7": - case "8": - case "9": - throw invalidChar(read2()); - case void 0: - throw invalidChar(read2()); - } - return read2(); - } - function hexEscape() { - let buffer2 = ""; - let c2 = peek(); - if (!util.isHexDigit(c2)) { - throw invalidChar(read2()); - } - buffer2 += read2(); - c2 = peek(); - if (!util.isHexDigit(c2)) { - throw invalidChar(read2()); - } - buffer2 += read2(); - return String.fromCodePoint(parseInt(buffer2, 16)); - } - function unicodeEscape() { - let buffer2 = ""; - let count = 4; - while (count-- > 0) { - const c2 = peek(); - if (!util.isHexDigit(c2)) { - throw invalidChar(read2()); - } - buffer2 += read2(); - } - return String.fromCodePoint(parseInt(buffer2, 16)); - } - var parseStates = { - start() { - if (token.type === "eof") { - throw invalidEOF(); - } - push(); - }, - beforePropertyName() { - switch (token.type) { - case "identifier": - case "string": - key = token.value; - parseState = "afterPropertyName"; - return; - case "punctuator": - pop(); - return; - case "eof": - throw invalidEOF(); - } - }, - afterPropertyName() { - if (token.type === "eof") { - throw invalidEOF(); - } - parseState = "beforePropertyValue"; - }, - beforePropertyValue() { - if (token.type === "eof") { - throw invalidEOF(); - } - push(); - }, - beforeArrayValue() { - if (token.type === "eof") { - throw invalidEOF(); - } - if (token.type === "punctuator" && token.value === "]") { - pop(); - return; - } - push(); - }, - afterPropertyValue() { - if (token.type === "eof") { - throw invalidEOF(); - } - switch (token.value) { - case ",": - parseState = "beforePropertyName"; - return; - case "}": - pop(); - } - }, - afterArrayValue() { - if (token.type === "eof") { - throw invalidEOF(); - } - switch (token.value) { - case ",": - parseState = "beforeArrayValue"; - return; - case "]": - pop(); - } - }, - end() { + } else { + throwError(state, "a line break is expected"); + } + state.line += 1; + state.lineStart = state.position; + state.firstTabInLine = -1; +} +function skipSeparationSpace(state, allowComments, checkIndent) { + var lineBreaks = 0, ch = state.input.charCodeAt(state.position); + while (ch !== 0) { + while (is_WHITE_SPACE(ch)) { + if (ch === 9 && state.firstTabInLine === -1) { + state.firstTabInLine = state.position; + } + ch = state.input.charCodeAt(++state.position); + } + if (allowComments && ch === 35) { + do { + ch = state.input.charCodeAt(++state.position); + } while (ch !== 10 && ch !== 13 && ch !== 0); + } + if (is_EOL(ch)) { + readLineBreak(state); + ch = state.input.charCodeAt(state.position); + lineBreaks++; + state.lineIndent = 0; + while (ch === 32) { + state.lineIndent++; + ch = state.input.charCodeAt(++state.position); } - }; - function push() { - let value; - switch (token.type) { - case "punctuator": - switch (token.value) { - case "{": - value = {}; - break; - case "[": - value = []; - break; - } - break; - case "null": - case "boolean": - case "numeric": - case "string": - value = token.value; - break; + } else { + break; + } + } + if (checkIndent !== -1 && lineBreaks !== 0 && state.lineIndent < checkIndent) { + throwWarning(state, "deficient indentation"); + } + return lineBreaks; +} +function testDocumentSeparator(state) { + var _position = state.position, ch; + ch = state.input.charCodeAt(_position); + if ((ch === 45 || ch === 46) && ch === state.input.charCodeAt(_position + 1) && ch === state.input.charCodeAt(_position + 2)) { + _position += 3; + ch = state.input.charCodeAt(_position); + if (ch === 0 || is_WS_OR_EOL(ch)) { + return true; + } + } + return false; +} +function writeFoldedLines(state, count) { + if (count === 1) { + state.result += " "; + } else if (count > 1) { + state.result += common.repeat("\n", count - 1); + } +} +function readPlainScalar(state, nodeIndent, withinFlowCollection) { + var preceding, following, captureStart, captureEnd, hasPendingContent, _line, _lineStart, _lineIndent, _kind = state.kind, _result = state.result, ch; + ch = state.input.charCodeAt(state.position); + if (is_WS_OR_EOL(ch) || is_FLOW_INDICATOR(ch) || ch === 35 || ch === 38 || ch === 42 || ch === 33 || ch === 124 || ch === 62 || ch === 39 || ch === 34 || ch === 37 || ch === 64 || ch === 96) { + return false; + } + if (ch === 63 || ch === 45) { + following = state.input.charCodeAt(state.position + 1); + if (is_WS_OR_EOL(following) || withinFlowCollection && is_FLOW_INDICATOR(following)) { + return false; + } + } + state.kind = "scalar"; + state.result = ""; + captureStart = captureEnd = state.position; + hasPendingContent = false; + while (ch !== 0) { + if (ch === 58) { + following = state.input.charCodeAt(state.position + 1); + if (is_WS_OR_EOL(following) || withinFlowCollection && is_FLOW_INDICATOR(following)) { + break; } - if (root === void 0) { - root = value; - } else { - const parent = stack[stack.length - 1]; - if (Array.isArray(parent)) { - parent.push(value); - } else { - Object.defineProperty(parent, key, { - value, - writable: true, - enumerable: true, - configurable: true - }); - } + } else if (ch === 35) { + preceding = state.input.charCodeAt(state.position - 1); + if (is_WS_OR_EOL(preceding)) { + break; } - if (value !== null && typeof value === "object") { - stack.push(value); - if (Array.isArray(value)) { - parseState = "beforeArrayValue"; - } else { - parseState = "beforePropertyName"; - } + } else if (state.position === state.lineStart && testDocumentSeparator(state) || withinFlowCollection && is_FLOW_INDICATOR(ch)) { + break; + } else if (is_EOL(ch)) { + _line = state.line; + _lineStart = state.lineStart; + _lineIndent = state.lineIndent; + skipSeparationSpace(state, false, -1); + if (state.lineIndent >= nodeIndent) { + hasPendingContent = true; + ch = state.input.charCodeAt(state.position); + continue; } else { - const current = stack[stack.length - 1]; - if (current == null) { - parseState = "end"; - } else if (Array.isArray(current)) { - parseState = "afterArrayValue"; - } else { - parseState = "afterPropertyValue"; - } + state.position = captureEnd; + state.line = _line; + state.lineStart = _lineStart; + state.lineIndent = _lineIndent; + break; } } - function pop() { - stack.pop(); - const current = stack[stack.length - 1]; - if (current == null) { - parseState = "end"; - } else if (Array.isArray(current)) { - parseState = "afterArrayValue"; + if (hasPendingContent) { + captureSegment(state, captureStart, captureEnd, false); + writeFoldedLines(state, state.line - _line); + captureStart = captureEnd = state.position; + hasPendingContent = false; + } + if (!is_WHITE_SPACE(ch)) { + captureEnd = state.position + 1; + } + ch = state.input.charCodeAt(++state.position); + } + captureSegment(state, captureStart, captureEnd, false); + if (state.result) { + return true; + } + state.kind = _kind; + state.result = _result; + return false; +} +function readSingleQuotedScalar(state, nodeIndent) { + var ch, captureStart, captureEnd; + ch = state.input.charCodeAt(state.position); + if (ch !== 39) { + return false; + } + state.kind = "scalar"; + state.result = ""; + state.position++; + captureStart = captureEnd = state.position; + while ((ch = state.input.charCodeAt(state.position)) !== 0) { + if (ch === 39) { + captureSegment(state, captureStart, state.position, true); + ch = state.input.charCodeAt(++state.position); + if (ch === 39) { + captureStart = state.position; + state.position++; + captureEnd = state.position; } else { - parseState = "afterPropertyValue"; - } - } - function invalidChar(c2) { - if (c2 === void 0) { - return syntaxError(`JSON5: invalid end of input at ${line2}:${column}`); - } - return syntaxError(`JSON5: invalid character '${formatChar(c2)}' at ${line2}:${column}`); - } - function invalidEOF() { - return syntaxError(`JSON5: invalid end of input at ${line2}:${column}`); - } - function invalidIdentifier() { - column -= 5; - return syntaxError(`JSON5: invalid identifier character at ${line2}:${column}`); - } - function separatorChar(c2) { - console.warn(`JSON5: '${formatChar(c2)}' in strings is not valid ECMAScript; consider escaping`); - } - function formatChar(c2) { - const replacements = { - "'": "\\'", - '"': '\\"', - "\\": "\\\\", - "\b": "\\b", - "\f": "\\f", - "\n": "\\n", - "\r": "\\r", - " ": "\\t", - "\v": "\\v", - "\0": "\\0", - "\u2028": "\\u2028", - "\u2029": "\\u2029" - }; - if (replacements[c2]) { - return replacements[c2]; - } - if (c2 < " ") { - const hexString = c2.charCodeAt(0).toString(16); - return "\\x" + ("00" + hexString).substring(hexString.length); + return true; } - return c2; + } else if (is_EOL(ch)) { + captureSegment(state, captureStart, captureEnd, true); + writeFoldedLines(state, skipSeparationSpace(state, false, nodeIndent)); + captureStart = captureEnd = state.position; + } else if (state.position === state.lineStart && testDocumentSeparator(state)) { + throwError(state, "unexpected end of the document within a single quoted scalar"); + } else { + state.position++; + captureEnd = state.position; } - function syntaxError(message) { - const err = new SyntaxError(message); - err.lineNumber = line2; - err.columnNumber = column; - return err; + } + throwError(state, "unexpected end of the stream within a single quoted scalar"); +} +function readDoubleQuotedScalar(state, nodeIndent) { + var captureStart, captureEnd, hexLength, hexResult, tmp, ch; + ch = state.input.charCodeAt(state.position); + if (ch !== 34) { + return false; + } + state.kind = "scalar"; + state.result = ""; + state.position++; + captureStart = captureEnd = state.position; + while ((ch = state.input.charCodeAt(state.position)) !== 0) { + if (ch === 34) { + captureSegment(state, captureStart, state.position, true); + state.position++; + return true; + } else if (ch === 92) { + captureSegment(state, captureStart, state.position, true); + ch = state.input.charCodeAt(++state.position); + if (is_EOL(ch)) { + skipSeparationSpace(state, false, nodeIndent); + } else if (ch < 256 && simpleEscapeCheck[ch]) { + state.result += simpleEscapeMap[ch]; + state.position++; + } else if ((tmp = escapedHexLen(ch)) > 0) { + hexLength = tmp; + hexResult = 0; + for (; hexLength > 0; hexLength--) { + ch = state.input.charCodeAt(++state.position); + if ((tmp = fromHexCode(ch)) >= 0) { + hexResult = (hexResult << 4) + tmp; + } else { + throwError(state, "expected hexadecimal character"); + } + } + state.result += charFromCodepoint(hexResult); + state.position++; + } else { + throwError(state, "unknown escape sequence"); + } + captureStart = captureEnd = state.position; + } else if (is_EOL(ch)) { + captureSegment(state, captureStart, captureEnd, true); + writeFoldedLines(state, skipSeparationSpace(state, false, nodeIndent)); + captureStart = captureEnd = state.position; + } else if (state.position === state.lineStart && testDocumentSeparator(state)) { + throwError(state, "unexpected end of the document within a double quoted scalar"); + } else { + state.position++; + captureEnd = state.position; } } -}); - -// node_modules/ignore/index.js -var require_ignore = __commonJS({ - "node_modules/ignore/index.js"(exports, module) { - function makeArray(subject) { - return Array.isArray(subject) ? subject : [subject]; + throwError(state, "unexpected end of the stream within a double quoted scalar"); +} +function readFlowCollection(state, nodeIndent) { + var readNext = true, _line, _lineStart, _pos, _tag = state.tag, _result, _anchor = state.anchor, following, terminator, isPair, isExplicitPair, isMapping, overridableKeys = /* @__PURE__ */ Object.create(null), keyNode, keyTag, valueNode, ch; + ch = state.input.charCodeAt(state.position); + if (ch === 91) { + terminator = 93; + isMapping = false; + _result = []; + } else if (ch === 123) { + terminator = 125; + isMapping = true; + _result = {}; + } else { + return false; + } + if (state.anchor !== null) { + state.anchorMap[state.anchor] = _result; + } + ch = state.input.charCodeAt(++state.position); + while (ch !== 0) { + skipSeparationSpace(state, true, nodeIndent); + ch = state.input.charCodeAt(state.position); + if (ch === terminator) { + state.position++; + state.tag = _tag; + state.anchor = _anchor; + state.kind = isMapping ? "mapping" : "sequence"; + state.result = _result; + return true; + } else if (!readNext) { + throwError(state, "missed comma between flow collection entries"); + } else if (ch === 44) { + throwError(state, "expected the node content, but found ','"); + } + keyTag = keyNode = valueNode = null; + isPair = isExplicitPair = false; + if (ch === 63) { + following = state.input.charCodeAt(state.position + 1); + if (is_WS_OR_EOL(following)) { + isPair = isExplicitPair = true; + state.position++; + skipSeparationSpace(state, true, nodeIndent); + } + } + _line = state.line; + _lineStart = state.lineStart; + _pos = state.position; + composeNode(state, nodeIndent, CONTEXT_FLOW_IN, false, true); + keyTag = state.tag; + keyNode = state.result; + skipSeparationSpace(state, true, nodeIndent); + ch = state.input.charCodeAt(state.position); + if ((isExplicitPair || state.line === _line) && ch === 58) { + isPair = true; + ch = state.input.charCodeAt(++state.position); + skipSeparationSpace(state, true, nodeIndent); + composeNode(state, nodeIndent, CONTEXT_FLOW_IN, false, true); + valueNode = state.result; + } + if (isMapping) { + storeMappingPair(state, _result, overridableKeys, keyTag, keyNode, valueNode, _line, _lineStart, _pos); + } else if (isPair) { + _result.push(storeMappingPair(state, null, overridableKeys, keyTag, keyNode, valueNode, _line, _lineStart, _pos)); + } else { + _result.push(keyNode); } - var EMPTY = ""; - var SPACE = " "; - var ESCAPE = "\\"; - var REGEX_TEST_BLANK_LINE = /^\s+$/; - var REGEX_INVALID_TRAILING_BACKSLASH = /(?:[^\\]|^)\\$/; - var REGEX_REPLACE_LEADING_EXCAPED_EXCLAMATION = /^\\!/; - var REGEX_REPLACE_LEADING_EXCAPED_HASH = /^\\#/; - var REGEX_SPLITALL_CRLF = /\r?\n/g; - var REGEX_TEST_INVALID_PATH = /^\.*\/|^\.+$/; - var SLASH = "/"; - var TMP_KEY_IGNORE = "node-ignore"; - if (typeof Symbol !== "undefined") { - TMP_KEY_IGNORE = Symbol.for("node-ignore"); + skipSeparationSpace(state, true, nodeIndent); + ch = state.input.charCodeAt(state.position); + if (ch === 44) { + readNext = true; + ch = state.input.charCodeAt(++state.position); + } else { + readNext = false; } - var KEY_IGNORE = TMP_KEY_IGNORE; - var define = (object, key, value) => Object.defineProperty(object, key, { value }); - var REGEX_REGEXP_RANGE = /([0-z])-([0-z])/g; - var RETURN_FALSE = () => false; - var sanitizeRange = (range) => range.replace( - REGEX_REGEXP_RANGE, - (match, from, to) => from.charCodeAt(0) <= to.charCodeAt(0) ? match : EMPTY - ); - var cleanRangeBackSlash = (slashes) => { - const { length } = slashes; - return slashes.slice(0, length - length % 2); - }; - var REPLACERS = [ - // > Trailing spaces are ignored unless they are quoted with backslash ("\") - [ - // (a\ ) -> (a ) - // (a ) -> (a) - // (a \ ) -> (a ) - /\\?\s+$/, - (match) => match.indexOf("\\") === 0 ? SPACE : EMPTY - ], - // replace (\ ) with ' ' - [ - /\\\s/g, - () => SPACE - ], - // Escape metacharacters - // which is written down by users but means special for regular expressions. - // > There are 12 characters with special meanings: - // > - the backslash \, - // > - the caret ^, - // > - the dollar sign $, - // > - the period or dot ., - // > - the vertical bar or pipe symbol |, - // > - the question mark ?, - // > - the asterisk or star *, - // > - the plus sign +, - // > - the opening parenthesis (, - // > - the closing parenthesis ), - // > - and the opening square bracket [, - // > - the opening curly brace {, - // > These special characters are often called "metacharacters". - [ - /[\\$.|*+(){^]/g, - (match) => `\\${match}` - ], - [ - // > a question mark (?) matches a single character - /(?!\\)\?/g, - () => "[^/]" - ], - // leading slash - [ - // > A leading slash matches the beginning of the pathname. - // > For example, "/*.c" matches "cat-file.c" but not "mozilla-sha1/sha1.c". - // A leading slash matches the beginning of the pathname - /^\//, - () => "^" - ], - // replace special metacharacter slash after the leading slash - [ - /\//g, - () => "\\/" - ], - [ - // > A leading "**" followed by a slash means match in all directories. - // > For example, "**/foo" matches file or directory "foo" anywhere, - // > the same as pattern "foo". - // > "**/foo/bar" matches file or directory "bar" anywhere that is directly - // > under directory "foo". - // Notice that the '*'s have been replaced as '\\*' - /^\^*\\\*\\\*\\\//, - // '**/foo' <-> 'foo' - () => "^(?:.*\\/)?" - ], - // starting - [ - // there will be no leading '/' - // (which has been replaced by section "leading slash") - // If starts with '**', adding a '^' to the regular expression also works - /^(?=[^^])/, - function startingReplacer() { - return !/\/(?!$)/.test(this) ? "(?:^|\\/)" : "^"; - } - ], - // two globstars - [ - // Use lookahead assertions so that we could match more than one `'/**'` - /\\\/\\\*\\\*(?=\\\/|$)/g, - // Zero, one or several directories - // should not use '*', or it will be replaced by the next replacer - // Check if it is not the last `'/**'` - (_, index, str) => index + 6 < str.length ? "(?:\\/[^\\/]+)*" : "\\/.+" - ], - // normal intermediate wildcards - [ - // Never replace escaped '*' - // ignore rule '\*' will match the path '*' - // 'abc.*/' -> go - // 'abc.*' -> skip this rule, - // coz trailing single wildcard will be handed by [trailing wildcard] - /(^|[^\\]+)(\\\*)+(?=.+)/g, - // '*.js' matches '.js' - // '*.js' doesn't match 'abc' - (_, p1, p2) => { - const unescaped = p2.replace(/\\\*/g, "[^\\/]*"); - return p1 + unescaped; - } - ], - [ - // unescape, revert step 3 except for back slash - // For example, if a user escape a '\\*', - // after step 3, the result will be '\\\\\\*' - /\\\\\\(?=[$.|*+(){^])/g, - () => ESCAPE - ], - [ - // '\\\\' -> '\\' - /\\\\/g, - () => ESCAPE - ], - [ - // > The range notation, e.g. [a-zA-Z], - // > can be used to match one of the characters in a range. - // `\` is escaped by step 3 - /(\\)?\[([^\]/]*?)(\\*)($|\])/g, - (match, leadEscape, range, endEscape, close) => leadEscape === ESCAPE ? `\\[${range}${cleanRangeBackSlash(endEscape)}${close}` : close === "]" ? endEscape.length % 2 === 0 ? `[${sanitizeRange(range)}${endEscape}]` : "[]" : "[]" - ], - // ending - [ - // 'js' will not match 'js.' - // 'ab' will not match 'abc' - /(?:[^*])$/, - // WTF! - // https://git-scm.com/docs/gitignore - // changes in [2.22.1](https://git-scm.com/docs/gitignore/2.22.1) - // which re-fixes #24, #38 - // > If there is a separator at the end of the pattern then the pattern - // > will only match directories, otherwise the pattern can match both - // > files and directories. - // 'js*' will not match 'a.js' - // 'js/' will not match 'a.js' - // 'js' will match 'a.js' and 'a.js/' - (match) => /\/$/.test(match) ? `${match}$` : `${match}(?=$|\\/$)` - ], - // trailing wildcard - [ - /(\^|\\\/)?\\\*$/, - (_, p1) => { - const prefix = p1 ? `${p1}[^/]+` : "[^/]*"; - return `${prefix}(?=$|\\/$)`; - } - ] - ]; - var regexCache = /* @__PURE__ */ Object.create(null); - var makeRegex = (pattern, ignoreCase) => { - let source = regexCache[pattern]; - if (!source) { - source = REPLACERS.reduce( - (prev, current) => prev.replace(current[0], current[1].bind(pattern)), - pattern - ); - regexCache[pattern] = source; + } + throwError(state, "unexpected end of the stream within a flow collection"); +} +function readBlockScalar(state, nodeIndent) { + var captureStart, folding, chomping = CHOMPING_CLIP, didReadContent = false, detectedIndent = false, textIndent = nodeIndent, emptyLines = 0, atMoreIndented = false, tmp, ch; + ch = state.input.charCodeAt(state.position); + if (ch === 124) { + folding = false; + } else if (ch === 62) { + folding = true; + } else { + return false; + } + state.kind = "scalar"; + state.result = ""; + while (ch !== 0) { + ch = state.input.charCodeAt(++state.position); + if (ch === 43 || ch === 45) { + if (CHOMPING_CLIP === chomping) { + chomping = ch === 43 ? CHOMPING_KEEP : CHOMPING_STRIP; + } else { + throwError(state, "repeat of a chomping mode identifier"); + } + } else if ((tmp = fromDecimalCode(ch)) >= 0) { + if (tmp === 0) { + throwError(state, "bad explicit indentation width of a block scalar; it cannot be less than one"); + } else if (!detectedIndent) { + textIndent = nodeIndent + tmp - 1; + detectedIndent = true; + } else { + throwError(state, "repeat of an indentation width identifier"); } - return ignoreCase ? new RegExp(source, "i") : new RegExp(source); - }; - var isString = (subject) => typeof subject === "string"; - var checkPattern = (pattern) => pattern && isString(pattern) && !REGEX_TEST_BLANK_LINE.test(pattern) && !REGEX_INVALID_TRAILING_BACKSLASH.test(pattern) && pattern.indexOf("#") !== 0; - var splitPattern = (pattern) => pattern.split(REGEX_SPLITALL_CRLF); - var IgnoreRule = class { - constructor(origin, pattern, negative, regex) { - this.origin = origin; - this.pattern = pattern; - this.negative = negative; - this.regex = regex; + } else { + break; + } + } + if (is_WHITE_SPACE(ch)) { + do { + ch = state.input.charCodeAt(++state.position); + } while (is_WHITE_SPACE(ch)); + if (ch === 35) { + do { + ch = state.input.charCodeAt(++state.position); + } while (!is_EOL(ch) && ch !== 0); + } + } + while (ch !== 0) { + readLineBreak(state); + state.lineIndent = 0; + ch = state.input.charCodeAt(state.position); + while ((!detectedIndent || state.lineIndent < textIndent) && ch === 32) { + state.lineIndent++; + ch = state.input.charCodeAt(++state.position); + } + if (!detectedIndent && state.lineIndent > textIndent) { + textIndent = state.lineIndent; + } + if (is_EOL(ch)) { + emptyLines++; + continue; + } + if (state.lineIndent < textIndent) { + if (chomping === CHOMPING_KEEP) { + state.result += common.repeat("\n", didReadContent ? 1 + emptyLines : emptyLines); + } else if (chomping === CHOMPING_CLIP) { + if (didReadContent) { + state.result += "\n"; + } } - }; - var createRule = (pattern, ignoreCase) => { - const origin = pattern; - let negative = false; - if (pattern.indexOf("!") === 0) { - negative = true; - pattern = pattern.substr(1); + break; + } + if (folding) { + if (is_WHITE_SPACE(ch)) { + atMoreIndented = true; + state.result += common.repeat("\n", didReadContent ? 1 + emptyLines : emptyLines); + } else if (atMoreIndented) { + atMoreIndented = false; + state.result += common.repeat("\n", emptyLines + 1); + } else if (emptyLines === 0) { + if (didReadContent) { + state.result += " "; + } + } else { + state.result += common.repeat("\n", emptyLines); } - pattern = pattern.replace(REGEX_REPLACE_LEADING_EXCAPED_EXCLAMATION, "!").replace(REGEX_REPLACE_LEADING_EXCAPED_HASH, "#"); - const regex = makeRegex(pattern, ignoreCase); - return new IgnoreRule( - origin, - pattern, - negative, - regex - ); - }; - var throwError = (message, Ctor) => { - throw new Ctor(message); - }; - var checkPath = (path9, originalPath, doThrow) => { - if (!isString(path9)) { - return doThrow( - `path must be a string, but got \`${originalPath}\``, - TypeError - ); + } else { + state.result += common.repeat("\n", didReadContent ? 1 + emptyLines : emptyLines); + } + didReadContent = true; + detectedIndent = true; + emptyLines = 0; + captureStart = state.position; + while (!is_EOL(ch) && ch !== 0) { + ch = state.input.charCodeAt(++state.position); + } + captureSegment(state, captureStart, state.position, false); + } + return true; +} +function readBlockSequence(state, nodeIndent) { + var _line, _tag = state.tag, _anchor = state.anchor, _result = [], following, detected = false, ch; + if (state.firstTabInLine !== -1) return false; + if (state.anchor !== null) { + state.anchorMap[state.anchor] = _result; + } + ch = state.input.charCodeAt(state.position); + while (ch !== 0) { + if (state.firstTabInLine !== -1) { + state.position = state.firstTabInLine; + throwError(state, "tab characters must not be used in indentation"); + } + if (ch !== 45) { + break; + } + following = state.input.charCodeAt(state.position + 1); + if (!is_WS_OR_EOL(following)) { + break; + } + detected = true; + state.position++; + if (skipSeparationSpace(state, true, -1)) { + if (state.lineIndent <= nodeIndent) { + _result.push(null); + ch = state.input.charCodeAt(state.position); + continue; } - if (!path9) { - return doThrow(`path must not be empty`, TypeError); + } + _line = state.line; + composeNode(state, nodeIndent, CONTEXT_BLOCK_IN, false, true); + _result.push(state.result); + skipSeparationSpace(state, true, -1); + ch = state.input.charCodeAt(state.position); + if ((state.line === _line || state.lineIndent > nodeIndent) && ch !== 0) { + throwError(state, "bad indentation of a sequence entry"); + } else if (state.lineIndent < nodeIndent) { + break; + } + } + if (detected) { + state.tag = _tag; + state.anchor = _anchor; + state.kind = "sequence"; + state.result = _result; + return true; + } + return false; +} +function readBlockMapping(state, nodeIndent, flowIndent) { + var following, allowCompact, _line, _keyLine, _keyLineStart, _keyPos, _tag = state.tag, _anchor = state.anchor, _result = {}, overridableKeys = /* @__PURE__ */ Object.create(null), keyTag = null, keyNode = null, valueNode = null, atExplicitKey = false, detected = false, ch; + if (state.firstTabInLine !== -1) return false; + if (state.anchor !== null) { + state.anchorMap[state.anchor] = _result; + } + ch = state.input.charCodeAt(state.position); + while (ch !== 0) { + if (!atExplicitKey && state.firstTabInLine !== -1) { + state.position = state.firstTabInLine; + throwError(state, "tab characters must not be used in indentation"); + } + following = state.input.charCodeAt(state.position + 1); + _line = state.line; + if ((ch === 63 || ch === 58) && is_WS_OR_EOL(following)) { + if (ch === 63) { + if (atExplicitKey) { + storeMappingPair(state, _result, overridableKeys, keyTag, keyNode, null, _keyLine, _keyLineStart, _keyPos); + keyTag = keyNode = valueNode = null; + } + detected = true; + atExplicitKey = true; + allowCompact = true; + } else if (atExplicitKey) { + atExplicitKey = false; + allowCompact = true; + } else { + throwError(state, "incomplete explicit mapping pair; a key node is missed; or followed by a non-tabulated empty line"); } - if (checkPath.isNotRelative(path9)) { - const r = "`path.relative()`d"; - return doThrow( - `path should be a ${r} string, but got "${originalPath}"`, - RangeError - ); + state.position += 1; + ch = following; + } else { + _keyLine = state.line; + _keyLineStart = state.lineStart; + _keyPos = state.position; + if (!composeNode(state, flowIndent, CONTEXT_FLOW_OUT, false, true)) { + break; } - return true; - }; - var isNotRelative = (path9) => REGEX_TEST_INVALID_PATH.test(path9); - checkPath.isNotRelative = isNotRelative; - checkPath.convert = (p) => p; - var Ignore = class { - constructor({ - ignorecase = true, - ignoreCase = ignorecase, - allowRelativePaths = false - } = {}) { - define(this, KEY_IGNORE, true); - this._rules = []; - this._ignoreCase = ignoreCase; - this._allowRelativePaths = allowRelativePaths; - this._initCache(); + if (state.line === _line) { + ch = state.input.charCodeAt(state.position); + while (is_WHITE_SPACE(ch)) { + ch = state.input.charCodeAt(++state.position); + } + if (ch === 58) { + ch = state.input.charCodeAt(++state.position); + if (!is_WS_OR_EOL(ch)) { + throwError(state, "a whitespace character is expected after the key-value separator within a block mapping"); + } + if (atExplicitKey) { + storeMappingPair(state, _result, overridableKeys, keyTag, keyNode, null, _keyLine, _keyLineStart, _keyPos); + keyTag = keyNode = valueNode = null; + } + detected = true; + atExplicitKey = false; + allowCompact = false; + keyTag = state.tag; + keyNode = state.result; + } else if (detected) { + throwError(state, "can not read an implicit mapping pair; a colon is missed"); + } else { + state.tag = _tag; + state.anchor = _anchor; + return true; + } + } else if (detected) { + throwError(state, "can not read a block mapping entry; a multiline key may not be an implicit key"); + } else { + state.tag = _tag; + state.anchor = _anchor; + return true; } - _initCache() { - this._ignoreCache = /* @__PURE__ */ Object.create(null); - this._testCache = /* @__PURE__ */ Object.create(null); + } + if (state.line === _line || state.lineIndent > nodeIndent) { + if (atExplicitKey) { + _keyLine = state.line; + _keyLineStart = state.lineStart; + _keyPos = state.position; } - _addPattern(pattern) { - if (pattern && pattern[KEY_IGNORE]) { - this._rules = this._rules.concat(pattern._rules); - this._added = true; - return; - } - if (checkPattern(pattern)) { - const rule = createRule(pattern, this._ignoreCase); - this._added = true; - this._rules.push(rule); + if (composeNode(state, nodeIndent, CONTEXT_BLOCK_OUT, true, allowCompact)) { + if (atExplicitKey) { + keyNode = state.result; + } else { + valueNode = state.result; } } - // @param {Array | string | Ignore} pattern - add(pattern) { - this._added = false; - makeArray( - isString(pattern) ? splitPattern(pattern) : pattern - ).forEach(this._addPattern, this); - if (this._added) { - this._initCache(); + if (!atExplicitKey) { + storeMappingPair(state, _result, overridableKeys, keyTag, keyNode, valueNode, _keyLine, _keyLineStart, _keyPos); + keyTag = keyNode = valueNode = null; + } + skipSeparationSpace(state, true, -1); + ch = state.input.charCodeAt(state.position); + } + if ((state.line === _line || state.lineIndent > nodeIndent) && ch !== 0) { + throwError(state, "bad indentation of a mapping entry"); + } else if (state.lineIndent < nodeIndent) { + break; + } + } + if (atExplicitKey) { + storeMappingPair(state, _result, overridableKeys, keyTag, keyNode, null, _keyLine, _keyLineStart, _keyPos); + } + if (detected) { + state.tag = _tag; + state.anchor = _anchor; + state.kind = "mapping"; + state.result = _result; + } + return detected; +} +function readTagProperty(state) { + var _position, isVerbatim = false, isNamed = false, tagHandle, tagName, ch; + ch = state.input.charCodeAt(state.position); + if (ch !== 33) return false; + if (state.tag !== null) { + throwError(state, "duplication of a tag property"); + } + ch = state.input.charCodeAt(++state.position); + if (ch === 60) { + isVerbatim = true; + ch = state.input.charCodeAt(++state.position); + } else if (ch === 33) { + isNamed = true; + tagHandle = "!!"; + ch = state.input.charCodeAt(++state.position); + } else { + tagHandle = "!"; + } + _position = state.position; + if (isVerbatim) { + do { + ch = state.input.charCodeAt(++state.position); + } while (ch !== 0 && ch !== 62); + if (state.position < state.length) { + tagName = state.input.slice(_position, state.position); + ch = state.input.charCodeAt(++state.position); + } else { + throwError(state, "unexpected end of the stream within a verbatim tag"); + } + } else { + while (ch !== 0 && !is_WS_OR_EOL(ch)) { + if (ch === 33) { + if (!isNamed) { + tagHandle = state.input.slice(_position - 1, state.position + 1); + if (!PATTERN_TAG_HANDLE.test(tagHandle)) { + throwError(state, "named tag handle cannot contain such characters"); + } + isNamed = true; + _position = state.position + 1; + } else { + throwError(state, "tag suffix cannot contain exclamation marks"); } - return this; } - // legacy - addPattern(pattern) { - return this.add(pattern); + ch = state.input.charCodeAt(++state.position); + } + tagName = state.input.slice(_position, state.position); + if (PATTERN_FLOW_INDICATORS.test(tagName)) { + throwError(state, "tag suffix cannot contain flow indicator characters"); + } + } + if (tagName && !PATTERN_TAG_URI.test(tagName)) { + throwError(state, "tag name cannot contain such characters: " + tagName); + } + try { + tagName = decodeURIComponent(tagName); + } catch (err) { + throwError(state, "tag name is malformed: " + tagName); + } + if (isVerbatim) { + state.tag = tagName; + } else if (_hasOwnProperty$1.call(state.tagMap, tagHandle)) { + state.tag = state.tagMap[tagHandle] + tagName; + } else if (tagHandle === "!") { + state.tag = "!" + tagName; + } else if (tagHandle === "!!") { + state.tag = "tag:yaml.org,2002:" + tagName; + } else { + throwError(state, 'undeclared tag handle "' + tagHandle + '"'); + } + return true; +} +function readAnchorProperty(state) { + var _position, ch; + ch = state.input.charCodeAt(state.position); + if (ch !== 38) return false; + if (state.anchor !== null) { + throwError(state, "duplication of an anchor property"); + } + ch = state.input.charCodeAt(++state.position); + _position = state.position; + while (ch !== 0 && !is_WS_OR_EOL(ch) && !is_FLOW_INDICATOR(ch)) { + ch = state.input.charCodeAt(++state.position); + } + if (state.position === _position) { + throwError(state, "name of an anchor node must contain at least one character"); + } + state.anchor = state.input.slice(_position, state.position); + return true; +} +function readAlias(state) { + var _position, alias, ch; + ch = state.input.charCodeAt(state.position); + if (ch !== 42) return false; + ch = state.input.charCodeAt(++state.position); + _position = state.position; + while (ch !== 0 && !is_WS_OR_EOL(ch) && !is_FLOW_INDICATOR(ch)) { + ch = state.input.charCodeAt(++state.position); + } + if (state.position === _position) { + throwError(state, "name of an alias node must contain at least one character"); + } + alias = state.input.slice(_position, state.position); + if (!_hasOwnProperty$1.call(state.anchorMap, alias)) { + throwError(state, 'unidentified alias "' + alias + '"'); + } + state.result = state.anchorMap[alias]; + skipSeparationSpace(state, true, -1); + return true; +} +function composeNode(state, parentIndent, nodeContext, allowToSeek, allowCompact) { + var allowBlockStyles, allowBlockScalars, allowBlockCollections, indentStatus = 1, atNewLine = false, hasContent = false, typeIndex, typeQuantity, typeList, type2, flowIndent, blockIndent; + if (state.listener !== null) { + state.listener("open", state); + } + state.tag = null; + state.anchor = null; + state.kind = null; + state.result = null; + allowBlockStyles = allowBlockScalars = allowBlockCollections = CONTEXT_BLOCK_OUT === nodeContext || CONTEXT_BLOCK_IN === nodeContext; + if (allowToSeek) { + if (skipSeparationSpace(state, true, -1)) { + atNewLine = true; + if (state.lineIndent > parentIndent) { + indentStatus = 1; + } else if (state.lineIndent === parentIndent) { + indentStatus = 0; + } else if (state.lineIndent < parentIndent) { + indentStatus = -1; + } + } + } + if (indentStatus === 1) { + while (readTagProperty(state) || readAnchorProperty(state)) { + if (skipSeparationSpace(state, true, -1)) { + atNewLine = true; + allowBlockCollections = allowBlockStyles; + if (state.lineIndent > parentIndent) { + indentStatus = 1; + } else if (state.lineIndent === parentIndent) { + indentStatus = 0; + } else if (state.lineIndent < parentIndent) { + indentStatus = -1; + } + } else { + allowBlockCollections = false; } - // | ignored : unignored - // negative | 0:0 | 0:1 | 1:0 | 1:1 - // -------- | ------- | ------- | ------- | -------- - // 0 | TEST | TEST | SKIP | X - // 1 | TESTIF | SKIP | TEST | X - // - SKIP: always skip - // - TEST: always test - // - TESTIF: only test if checkUnignored - // - X: that never happen - // @param {boolean} whether should check if the path is unignored, - // setting `checkUnignored` to `false` could reduce additional - // path matching. - // @returns {TestResult} true if a file is ignored - _testOne(path9, checkUnignored) { - let ignored = false; - let unignored = false; - this._rules.forEach((rule) => { - const { negative } = rule; - if (unignored === negative && ignored !== unignored || negative && !ignored && !unignored && !checkUnignored) { - return; + } + } + if (allowBlockCollections) { + allowBlockCollections = atNewLine || allowCompact; + } + if (indentStatus === 1 || CONTEXT_BLOCK_OUT === nodeContext) { + if (CONTEXT_FLOW_IN === nodeContext || CONTEXT_FLOW_OUT === nodeContext) { + flowIndent = parentIndent; + } else { + flowIndent = parentIndent + 1; + } + blockIndent = state.position - state.lineStart; + if (indentStatus === 1) { + if (allowBlockCollections && (readBlockSequence(state, blockIndent) || readBlockMapping(state, blockIndent, flowIndent)) || readFlowCollection(state, flowIndent)) { + hasContent = true; + } else { + if (allowBlockScalars && readBlockScalar(state, flowIndent) || readSingleQuotedScalar(state, flowIndent) || readDoubleQuotedScalar(state, flowIndent)) { + hasContent = true; + } else if (readAlias(state)) { + hasContent = true; + if (state.tag !== null || state.anchor !== null) { + throwError(state, "alias node should not have any properties"); } - const matched = rule.regex.test(path9); - if (matched) { - ignored = !negative; - unignored = negative; + } else if (readPlainScalar(state, flowIndent, CONTEXT_FLOW_IN === nodeContext)) { + hasContent = true; + if (state.tag === null) { + state.tag = "?"; } - }); - return { - ignored, - unignored - }; - } - // @returns {TestResult} - _test(originalPath, cache, checkUnignored, slices) { - const path9 = originalPath && checkPath.convert(originalPath); - checkPath( - path9, - originalPath, - this._allowRelativePaths ? RETURN_FALSE : throwError - ); - return this._t(path9, cache, checkUnignored, slices); - } - _t(path9, cache, checkUnignored, slices) { - if (path9 in cache) { - return cache[path9]; - } - if (!slices) { - slices = path9.split(SLASH); } - slices.pop(); - if (!slices.length) { - return cache[path9] = this._testOne(path9, checkUnignored); + if (state.anchor !== null) { + state.anchorMap[state.anchor] = state.result; } - const parent = this._t( - slices.join(SLASH) + SLASH, - cache, - checkUnignored, - slices - ); - return cache[path9] = parent.ignored ? parent : this._testOne(path9, checkUnignored); } - ignores(path9) { - return this._test(path9, this._ignoreCache, false).ignored; - } - createFilter() { - return (path9) => !this.ignores(path9); - } - filter(paths) { - return makeArray(paths).filter(this.createFilter()); + } else if (indentStatus === 0) { + hasContent = allowBlockCollections && readBlockSequence(state, blockIndent); + } + } + if (state.tag === null) { + if (state.anchor !== null) { + state.anchorMap[state.anchor] = state.result; + } + } else if (state.tag === "?") { + if (state.result !== null && state.kind !== "scalar") { + throwError(state, 'unacceptable node kind for ! tag; it should be "scalar", not "' + state.kind + '"'); + } + for (typeIndex = 0, typeQuantity = state.implicitTypes.length; typeIndex < typeQuantity; typeIndex += 1) { + type2 = state.implicitTypes[typeIndex]; + if (type2.resolve(state.result)) { + state.result = type2.construct(state.result); + state.tag = type2.tag; + if (state.anchor !== null) { + state.anchorMap[state.anchor] = state.result; + } + break; } - // @returns {TestResult} - test(path9) { - return this._test(path9, this._testCache, true); + } + } else if (state.tag !== "!") { + if (_hasOwnProperty$1.call(state.typeMap[state.kind || "fallback"], state.tag)) { + type2 = state.typeMap[state.kind || "fallback"][state.tag]; + } else { + type2 = null; + typeList = state.typeMap.multi[state.kind || "fallback"]; + for (typeIndex = 0, typeQuantity = typeList.length; typeIndex < typeQuantity; typeIndex += 1) { + if (state.tag.slice(0, typeList[typeIndex].tag.length) === typeList[typeIndex].tag) { + type2 = typeList[typeIndex]; + break; + } + } + } + if (!type2) { + throwError(state, "unknown tag !<" + state.tag + ">"); + } + if (state.result !== null && type2.kind !== state.kind) { + throwError(state, "unacceptable node kind for !<" + state.tag + '> tag; it should be "' + type2.kind + '", not "' + state.kind + '"'); + } + if (!type2.resolve(state.result, state.tag)) { + throwError(state, "cannot resolve a node with !<" + state.tag + "> explicit tag"); + } else { + state.result = type2.construct(state.result, state.tag); + if (state.anchor !== null) { + state.anchorMap[state.anchor] = state.result; } - }; - var factory = (options8) => new Ignore(options8); - var isPathValid = (path9) => checkPath(path9 && checkPath.convert(path9), path9, RETURN_FALSE); - factory.isPathValid = isPathValid; - factory.default = factory; - module.exports = factory; - if ( - // Detect `process` so that it can run in browsers. - typeof process !== "undefined" && (process.env && process.env.IGNORE_TEST_WIN32 || process.platform === "win32") - ) { - const makePosix = (str) => /^\\\\\?\\/.test(str) || /["<>|\u0000-\u001F]+/u.test(str) ? str : str.replace(/\\/g, "/"); - checkPath.convert = makePosix; - const REGIX_IS_WINDOWS_PATH_ABSOLUTE = /^[a-z]:\//i; - checkPath.isNotRelative = (path9) => REGIX_IS_WINDOWS_PATH_ABSOLUTE.test(path9) || isNotRelative(path9); } } -}); - -// src/index.js -var src_exports = {}; -__export(src_exports, { - __debug: () => debugApis, - __internal: () => sharedWithCli, - check: () => check, - clearConfigCache: () => clearCache3, - doc: () => doc, - format: () => format2, - formatWithCursor: () => formatWithCursor2, - getFileInfo: () => getFileInfo2, - getSupportInfo: () => getSupportInfo2, - resolveConfig: () => resolveConfig, - resolveConfigFile: () => resolveConfigFile, - util: () => public_exports, - version: () => version_evaluate_default -}); -var import_vnopts2 = __toESM(require_lib(), 1); -var import_fast_glob = __toESM(require_out4(), 1); - -// scripts/build/shims/string-replace-all.js -var stringReplaceAll = (isOptionalObject, original, pattern, replacement) => { - if (isOptionalObject && (original === void 0 || original === null)) { - return; - } - if (original.replaceAll) { - return original.replaceAll(pattern, replacement); + if (state.listener !== null) { + state.listener("close", state); } - if (pattern.global) { - return original.replace(pattern, replacement); + return state.tag !== null || state.anchor !== null || hasContent; +} +function readDocument(state) { + var documentStart = state.position, _position, directiveName, directiveArgs, hasDirectives = false, ch; + state.version = null; + state.checkLineBreaks = state.legacy; + state.tagMap = /* @__PURE__ */ Object.create(null); + state.anchorMap = /* @__PURE__ */ Object.create(null); + while ((ch = state.input.charCodeAt(state.position)) !== 0) { + skipSeparationSpace(state, true, -1); + ch = state.input.charCodeAt(state.position); + if (state.lineIndent > 0 || ch !== 37) { + break; + } + hasDirectives = true; + ch = state.input.charCodeAt(++state.position); + _position = state.position; + while (ch !== 0 && !is_WS_OR_EOL(ch)) { + ch = state.input.charCodeAt(++state.position); + } + directiveName = state.input.slice(_position, state.position); + directiveArgs = []; + if (directiveName.length < 1) { + throwError(state, "directive name must not be less than one character in length"); + } + while (ch !== 0) { + while (is_WHITE_SPACE(ch)) { + ch = state.input.charCodeAt(++state.position); + } + if (ch === 35) { + do { + ch = state.input.charCodeAt(++state.position); + } while (ch !== 0 && !is_EOL(ch)); + break; + } + if (is_EOL(ch)) break; + _position = state.position; + while (ch !== 0 && !is_WS_OR_EOL(ch)) { + ch = state.input.charCodeAt(++state.position); + } + directiveArgs.push(state.input.slice(_position, state.position)); + } + if (ch !== 0) readLineBreak(state); + if (_hasOwnProperty$1.call(directiveHandlers, directiveName)) { + directiveHandlers[directiveName](state, directiveName, directiveArgs); + } else { + throwWarning(state, 'unknown document directive "' + directiveName + '"'); + } } - return original.split(pattern).join(replacement); -}; -var string_replace_all_default = stringReplaceAll; - -// src/main/core.js -var import_diff = __toESM(require_array3(), 1); - -// src/document/constants.js -var DOC_TYPE_STRING = "string"; -var DOC_TYPE_ARRAY = "array"; -var DOC_TYPE_CURSOR = "cursor"; -var DOC_TYPE_INDENT = "indent"; -var DOC_TYPE_ALIGN = "align"; -var DOC_TYPE_TRIM = "trim"; -var DOC_TYPE_GROUP = "group"; -var DOC_TYPE_FILL = "fill"; -var DOC_TYPE_IF_BREAK = "if-break"; -var DOC_TYPE_INDENT_IF_BREAK = "indent-if-break"; -var DOC_TYPE_LINE_SUFFIX = "line-suffix"; -var DOC_TYPE_LINE_SUFFIX_BOUNDARY = "line-suffix-boundary"; -var DOC_TYPE_LINE = "line"; -var DOC_TYPE_LABEL = "label"; -var DOC_TYPE_BREAK_PARENT = "break-parent"; -var VALID_OBJECT_DOC_TYPES = /* @__PURE__ */ new Set([ - DOC_TYPE_CURSOR, - DOC_TYPE_INDENT, - DOC_TYPE_ALIGN, - DOC_TYPE_TRIM, - DOC_TYPE_GROUP, - DOC_TYPE_FILL, - DOC_TYPE_IF_BREAK, - DOC_TYPE_INDENT_IF_BREAK, - DOC_TYPE_LINE_SUFFIX, - DOC_TYPE_LINE_SUFFIX_BOUNDARY, - DOC_TYPE_LINE, - DOC_TYPE_LABEL, - DOC_TYPE_BREAK_PARENT -]); - -// src/document/utils/get-doc-type.js -function getDocType(doc2) { - if (typeof doc2 === "string") { - return DOC_TYPE_STRING; + skipSeparationSpace(state, true, -1); + if (state.lineIndent === 0 && state.input.charCodeAt(state.position) === 45 && state.input.charCodeAt(state.position + 1) === 45 && state.input.charCodeAt(state.position + 2) === 45) { + state.position += 3; + skipSeparationSpace(state, true, -1); + } else if (hasDirectives) { + throwError(state, "directives end mark is expected"); } - if (Array.isArray(doc2)) { - return DOC_TYPE_ARRAY; + composeNode(state, state.lineIndent - 1, CONTEXT_BLOCK_OUT, false, true); + skipSeparationSpace(state, true, -1); + if (state.checkLineBreaks && PATTERN_NON_ASCII_LINE_BREAKS.test(state.input.slice(documentStart, state.position))) { + throwWarning(state, "non-ASCII line breaks are interpreted as content"); } - if (!doc2) { + state.documents.push(state.result); + if (state.position === state.lineStart && testDocumentSeparator(state)) { + if (state.input.charCodeAt(state.position) === 46) { + state.position += 3; + skipSeparationSpace(state, true, -1); + } + return; + } + if (state.position < state.length - 1) { + throwError(state, "end of the stream or a document separator is expected"); + } else { return; } - const { type } = doc2; - if (VALID_OBJECT_DOC_TYPES.has(type)) { - return type; +} +function loadDocuments(input, options8) { + input = String(input); + options8 = options8 || {}; + if (input.length !== 0) { + if (input.charCodeAt(input.length - 1) !== 10 && input.charCodeAt(input.length - 1) !== 13) { + input += "\n"; + } + if (input.charCodeAt(0) === 65279) { + input = input.slice(1); + } + } + var state = new State$1(input, options8); + var nullpos = input.indexOf("\0"); + if (nullpos !== -1) { + state.position = nullpos; + throwError(state, "null byte is not allowed in input"); + } + state.input += "\0"; + while (state.input.charCodeAt(state.position) === 32) { + state.lineIndent += 1; + state.position += 1; + } + while (state.position < state.length - 1) { + readDocument(state); } + return state.documents; } -var get_doc_type_default = getDocType; - -// src/document/invalid-doc-error.js -var disjunctionListFormat = (list) => new Intl.ListFormat("en-US", { type: "disjunction" }).format(list); -function getDocErrorMessage(doc2) { - const type = doc2 === null ? "null" : typeof doc2; - if (type !== "string" && type !== "object") { - return `Unexpected doc '${type}', -Expected it to be 'string' or 'object'.`; +function loadAll$1(input, iterator, options8) { + if (iterator !== null && typeof iterator === "object" && typeof options8 === "undefined") { + options8 = iterator; + iterator = null; } - if (get_doc_type_default(doc2)) { - throw new Error("doc is valid."); + var documents = loadDocuments(input, options8); + if (typeof iterator !== "function") { + return documents; } - const objectType = Object.prototype.toString.call(doc2); - if (objectType !== "[object Object]") { - return `Unexpected doc '${objectType}'.`; + for (var index = 0, length = documents.length; index < length; index += 1) { + iterator(documents[index]); } - const EXPECTED_TYPE_VALUES = disjunctionListFormat( - [...VALID_OBJECT_DOC_TYPES].map((type2) => `'${type2}'`) - ); - return `Unexpected doc.type '${doc2.type}'. -Expected it to be ${EXPECTED_TYPE_VALUES}.`; } -var InvalidDocError = class extends Error { - name = "InvalidDocError"; - constructor(doc2) { - super(getDocErrorMessage(doc2)); - this.doc = doc2; +function load$1(input, options8) { + var documents = loadDocuments(input, options8); + if (documents.length === 0) { + return void 0; + } else if (documents.length === 1) { + return documents[0]; } + throw new exception("expected a single document in the stream, but found more"); +} +var loadAll_1 = loadAll$1; +var load_1 = load$1; +var loader = { + loadAll: loadAll_1, + load: load_1 }; -var invalid_doc_error_default = InvalidDocError; - -// src/document/utils/traverse-doc.js -var traverseDocOnExitStackMarker = {}; -function traverseDoc(doc2, onEnter, onExit, shouldTraverseConditionalGroups) { - const docsStack = [doc2]; - while (docsStack.length > 0) { - const doc3 = docsStack.pop(); - if (doc3 === traverseDocOnExitStackMarker) { - onExit(docsStack.pop()); - continue; +var ESCAPE_SEQUENCES = {}; +ESCAPE_SEQUENCES[0] = "\\0"; +ESCAPE_SEQUENCES[7] = "\\a"; +ESCAPE_SEQUENCES[8] = "\\b"; +ESCAPE_SEQUENCES[9] = "\\t"; +ESCAPE_SEQUENCES[10] = "\\n"; +ESCAPE_SEQUENCES[11] = "\\v"; +ESCAPE_SEQUENCES[12] = "\\f"; +ESCAPE_SEQUENCES[13] = "\\r"; +ESCAPE_SEQUENCES[27] = "\\e"; +ESCAPE_SEQUENCES[34] = '\\"'; +ESCAPE_SEQUENCES[92] = "\\\\"; +ESCAPE_SEQUENCES[133] = "\\N"; +ESCAPE_SEQUENCES[160] = "\\_"; +ESCAPE_SEQUENCES[8232] = "\\L"; +ESCAPE_SEQUENCES[8233] = "\\P"; +function renamed(from, to) { + return function() { + throw new Error("Function yaml." + from + " is removed in js-yaml 4. Use yaml." + to + " instead, which is now safe by default."); + }; +} +var load = loader.load; +var loadAll = loader.loadAll; +var safeLoad = renamed("safeLoad", "load"); +var safeLoadAll = renamed("safeLoadAll", "loadAll"); +var safeDump = renamed("safeDump", "dump"); + +// node_modules/json5/dist/index.mjs +var Space_Separator = /[\u1680\u2000-\u200A\u202F\u205F\u3000]/; +var ID_Start = /[\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\u0860-\u086A\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\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\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-\u312E\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FEA\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\uDF2D-\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\uDE00\uDE0B-\uDE32\uDE3A\uDE50\uDE5C-\uDE83\uDE86-\uDE89\uDEC0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC2E\uDC40\uDC72-\uDC8F\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD30\uDD46]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD81C-\uD820\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879][\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\uDFE1]|\uD821[\uDC00-\uDFEC]|\uD822[\uDC00-\uDEF2]|\uD82C[\uDC00-\uDD1E\uDD70-\uDEFB]|\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\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0]|\uD87E[\uDC00-\uDE1D]/; +var ID_Continue = /[\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\u0860-\u086A\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\u09FC\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-\u0AFF\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\u0D00-\u0D03\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\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-\u1CF9\u1D00-\u1DF9\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\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-\u312E\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FEA\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\uDF2D-\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\uDE00-\uDE3E\uDE47\uDE50-\uDE83\uDE86-\uDE99\uDEC0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC36\uDC38-\uDC40\uDC50-\uDC59\uDC72-\uDC8F\uDC92-\uDCA7\uDCA9-\uDCB6\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD36\uDD3A\uDD3C\uDD3D\uDD3F-\uDD47\uDD50-\uDD59]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD81C-\uD820\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879][\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\uDFE1]|\uD821[\uDC00-\uDFEC]|\uD822[\uDC00-\uDEF2]|\uD82C[\uDC00-\uDD1E\uDD70-\uDEFB]|\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\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0]|\uD87E[\uDC00-\uDE1D]|\uDB40[\uDD00-\uDDEF]/; +var unicode = { + Space_Separator, + ID_Start, + ID_Continue +}; +var util = { + isSpaceSeparator(c2) { + return typeof c2 === "string" && unicode.Space_Separator.test(c2); + }, + isIdStartChar(c2) { + return typeof c2 === "string" && (c2 >= "a" && c2 <= "z" || c2 >= "A" && c2 <= "Z" || c2 === "$" || c2 === "_" || unicode.ID_Start.test(c2)); + }, + isIdContinueChar(c2) { + return typeof c2 === "string" && (c2 >= "a" && c2 <= "z" || c2 >= "A" && c2 <= "Z" || c2 >= "0" && c2 <= "9" || c2 === "$" || c2 === "_" || c2 === "\u200C" || c2 === "\u200D" || unicode.ID_Continue.test(c2)); + }, + isDigit(c2) { + return typeof c2 === "string" && /[0-9]/.test(c2); + }, + isHexDigit(c2) { + return typeof c2 === "string" && /[0-9A-Fa-f]/.test(c2); + } +}; +var source; +var parseState; +var stack; +var pos; +var line; +var column; +var token; +var key; +var root; +var parse2 = function parse3(text, reviver) { + source = String(text); + parseState = "start"; + stack = []; + pos = 0; + line = 1; + column = 0; + token = void 0; + key = void 0; + root = void 0; + do { + token = lex(); + parseStates[parseState](); + } while (token.type !== "eof"); + if (typeof reviver === "function") { + return internalize({ "": root }, "", reviver); + } + return root; +}; +function internalize(holder, name, reviver) { + const value = holder[name]; + if (value != null && typeof value === "object") { + if (Array.isArray(value)) { + for (let i = 0; i < value.length; i++) { + const key2 = String(i); + const replacement = internalize(value, key2, reviver); + if (replacement === void 0) { + delete value[key2]; + } else { + Object.defineProperty(value, key2, { + value: replacement, + writable: true, + enumerable: true, + configurable: true + }); + } + } + } else { + for (const key2 in value) { + const replacement = internalize(value, key2, reviver); + if (replacement === void 0) { + delete value[key2]; + } else { + Object.defineProperty(value, key2, { + value: replacement, + writable: true, + enumerable: true, + configurable: true + }); + } + } + } + } + return reviver.call(holder, name, value); +} +var lexState; +var buffer; +var doubleQuote; +var sign; +var c; +function lex() { + lexState = "default"; + buffer = ""; + doubleQuote = false; + sign = 1; + for (; ; ) { + c = peek(); + const token2 = lexStates[lexState](); + if (token2) { + return token2; + } + } +} +function peek() { + if (source[pos]) { + return String.fromCodePoint(source.codePointAt(pos)); + } +} +function read() { + const c2 = peek(); + if (c2 === "\n") { + line++; + column = 0; + } else if (c2) { + column += c2.length; + } else { + column++; + } + if (c2) { + pos += c2.length; + } + return c2; +} +var lexStates = { + default() { + switch (c) { + case " ": + case "\v": + case "\f": + case " ": + case "\xA0": + case "\uFEFF": + case "\n": + case "\r": + case "\u2028": + case "\u2029": + read(); + return; + case "/": + read(); + lexState = "comment"; + return; + case void 0: + read(); + return newToken("eof"); + } + if (util.isSpaceSeparator(c)) { + read(); + return; + } + return lexStates[parseState](); + }, + comment() { + switch (c) { + case "*": + read(); + lexState = "multiLineComment"; + return; + case "/": + read(); + lexState = "singleLineComment"; + return; + } + throw invalidChar(read()); + }, + multiLineComment() { + switch (c) { + case "*": + read(); + lexState = "multiLineCommentAsterisk"; + return; + case void 0: + throw invalidChar(read()); + } + read(); + }, + multiLineCommentAsterisk() { + switch (c) { + case "*": + read(); + return; + case "/": + read(); + lexState = "default"; + return; + case void 0: + throw invalidChar(read()); + } + read(); + lexState = "multiLineComment"; + }, + singleLineComment() { + switch (c) { + case "\n": + case "\r": + case "\u2028": + case "\u2029": + read(); + lexState = "default"; + return; + case void 0: + read(); + return newToken("eof"); + } + read(); + }, + value() { + switch (c) { + case "{": + case "[": + return newToken("punctuator", read()); + case "n": + read(); + literal("ull"); + return newToken("null", null); + case "t": + read(); + literal("rue"); + return newToken("boolean", true); + case "f": + read(); + literal("alse"); + return newToken("boolean", false); + case "-": + case "+": + if (read() === "-") { + sign = -1; + } + lexState = "sign"; + return; + case ".": + buffer = read(); + lexState = "decimalPointLeading"; + return; + case "0": + buffer = read(); + lexState = "zero"; + return; + case "1": + case "2": + case "3": + case "4": + case "5": + case "6": + case "7": + case "8": + case "9": + buffer = read(); + lexState = "decimalInteger"; + return; + case "I": + read(); + literal("nfinity"); + return newToken("numeric", Infinity); + case "N": + read(); + literal("aN"); + return newToken("numeric", NaN); + case '"': + case "'": + doubleQuote = read() === '"'; + buffer = ""; + lexState = "string"; + return; + } + throw invalidChar(read()); + }, + identifierNameStartEscape() { + if (c !== "u") { + throw invalidChar(read()); + } + read(); + const u = unicodeEscape(); + switch (u) { + case "$": + case "_": + break; + default: + if (!util.isIdStartChar(u)) { + throw invalidIdentifier(); + } + break; + } + buffer += u; + lexState = "identifierName"; + }, + identifierName() { + switch (c) { + case "$": + case "_": + case "\u200C": + case "\u200D": + buffer += read(); + return; + case "\\": + read(); + lexState = "identifierNameEscape"; + return; + } + if (util.isIdContinueChar(c)) { + buffer += read(); + return; + } + return newToken("identifier", buffer); + }, + identifierNameEscape() { + if (c !== "u") { + throw invalidChar(read()); + } + read(); + const u = unicodeEscape(); + switch (u) { + case "$": + case "_": + case "\u200C": + case "\u200D": + break; + default: + if (!util.isIdContinueChar(u)) { + throw invalidIdentifier(); + } + break; + } + buffer += u; + lexState = "identifierName"; + }, + sign() { + switch (c) { + case ".": + buffer = read(); + lexState = "decimalPointLeading"; + return; + case "0": + buffer = read(); + lexState = "zero"; + return; + case "1": + case "2": + case "3": + case "4": + case "5": + case "6": + case "7": + case "8": + case "9": + buffer = read(); + lexState = "decimalInteger"; + return; + case "I": + read(); + literal("nfinity"); + return newToken("numeric", sign * Infinity); + case "N": + read(); + literal("aN"); + return newToken("numeric", NaN); + } + throw invalidChar(read()); + }, + zero() { + switch (c) { + case ".": + buffer += read(); + lexState = "decimalPoint"; + return; + case "e": + case "E": + buffer += read(); + lexState = "decimalExponent"; + return; + case "x": + case "X": + buffer += read(); + lexState = "hexadecimal"; + return; + } + return newToken("numeric", sign * 0); + }, + decimalInteger() { + switch (c) { + case ".": + buffer += read(); + lexState = "decimalPoint"; + return; + case "e": + case "E": + buffer += read(); + lexState = "decimalExponent"; + return; + } + if (util.isDigit(c)) { + buffer += read(); + return; + } + return newToken("numeric", sign * Number(buffer)); + }, + decimalPointLeading() { + if (util.isDigit(c)) { + buffer += read(); + lexState = "decimalFraction"; + return; + } + throw invalidChar(read()); + }, + decimalPoint() { + switch (c) { + case "e": + case "E": + buffer += read(); + lexState = "decimalExponent"; + return; + } + if (util.isDigit(c)) { + buffer += read(); + lexState = "decimalFraction"; + return; + } + return newToken("numeric", sign * Number(buffer)); + }, + decimalFraction() { + switch (c) { + case "e": + case "E": + buffer += read(); + lexState = "decimalExponent"; + return; + } + if (util.isDigit(c)) { + buffer += read(); + return; + } + return newToken("numeric", sign * Number(buffer)); + }, + decimalExponent() { + switch (c) { + case "+": + case "-": + buffer += read(); + lexState = "decimalExponentSign"; + return; + } + if (util.isDigit(c)) { + buffer += read(); + lexState = "decimalExponentInteger"; + return; + } + throw invalidChar(read()); + }, + decimalExponentSign() { + if (util.isDigit(c)) { + buffer += read(); + lexState = "decimalExponentInteger"; + return; + } + throw invalidChar(read()); + }, + decimalExponentInteger() { + if (util.isDigit(c)) { + buffer += read(); + return; + } + return newToken("numeric", sign * Number(buffer)); + }, + hexadecimal() { + if (util.isHexDigit(c)) { + buffer += read(); + lexState = "hexadecimalInteger"; + return; + } + throw invalidChar(read()); + }, + hexadecimalInteger() { + if (util.isHexDigit(c)) { + buffer += read(); + return; + } + return newToken("numeric", sign * Number(buffer)); + }, + string() { + switch (c) { + case "\\": + read(); + buffer += escape(); + return; + case '"': + if (doubleQuote) { + read(); + return newToken("string", buffer); + } + buffer += read(); + return; + case "'": + if (!doubleQuote) { + read(); + return newToken("string", buffer); + } + buffer += read(); + return; + case "\n": + case "\r": + throw invalidChar(read()); + case "\u2028": + case "\u2029": + separatorChar(c); + break; + case void 0: + throw invalidChar(read()); + } + buffer += read(); + }, + start() { + switch (c) { + case "{": + case "[": + return newToken("punctuator", read()); + } + lexState = "value"; + }, + beforePropertyName() { + switch (c) { + case "$": + case "_": + buffer = read(); + lexState = "identifierName"; + return; + case "\\": + read(); + lexState = "identifierNameStartEscape"; + return; + case "}": + return newToken("punctuator", read()); + case '"': + case "'": + doubleQuote = read() === '"'; + lexState = "string"; + return; + } + if (util.isIdStartChar(c)) { + buffer += read(); + lexState = "identifierName"; + return; + } + throw invalidChar(read()); + }, + afterPropertyName() { + if (c === ":") { + return newToken("punctuator", read()); + } + throw invalidChar(read()); + }, + beforePropertyValue() { + lexState = "value"; + }, + afterPropertyValue() { + switch (c) { + case ",": + case "}": + return newToken("punctuator", read()); } - if (onExit) { - docsStack.push(doc3, traverseDocOnExitStackMarker); + throw invalidChar(read()); + }, + beforeArrayValue() { + if (c === "]") { + return newToken("punctuator", read()); } - const docType = get_doc_type_default(doc3); - if (!docType) { - throw new invalid_doc_error_default(doc3); + lexState = "value"; + }, + afterArrayValue() { + switch (c) { + case ",": + case "]": + return newToken("punctuator", read()); } - if ((onEnter == null ? void 0 : onEnter(doc3)) === false) { - continue; + throw invalidChar(read()); + }, + end() { + throw invalidChar(read()); + } +}; +function newToken(type2, value) { + return { + type: type2, + value, + line, + column + }; +} +function literal(s) { + for (const c2 of s) { + const p = peek(); + if (p !== c2) { + throw invalidChar(read()); } - switch (docType) { - case DOC_TYPE_ARRAY: - case DOC_TYPE_FILL: { - const parts = docType === DOC_TYPE_ARRAY ? doc3 : doc3.parts; - for (let ic = parts.length, i = ic - 1; i >= 0; --i) { - docsStack.push(parts[i]); - } - break; + read(); + } +} +function escape() { + const c2 = peek(); + switch (c2) { + case "b": + read(); + return "\b"; + case "f": + read(); + return "\f"; + case "n": + read(); + return "\n"; + case "r": + read(); + return "\r"; + case "t": + read(); + return " "; + case "v": + read(); + return "\v"; + case "0": + read(); + if (util.isDigit(peek())) { + throw invalidChar(read()); + } + return "\0"; + case "x": + read(); + return hexEscape(); + case "u": + read(); + return unicodeEscape(); + case "\n": + case "\u2028": + case "\u2029": + read(); + return ""; + case "\r": + read(); + if (peek() === "\n") { + read(); } - case DOC_TYPE_IF_BREAK: - docsStack.push(doc3.flatContents, doc3.breakContents); - break; - case DOC_TYPE_GROUP: - if (shouldTraverseConditionalGroups && doc3.expandedStates) { - for (let ic = doc3.expandedStates.length, i = ic - 1; i >= 0; --i) { - docsStack.push(doc3.expandedStates[i]); - } - } else { - docsStack.push(doc3.contents); - } - break; - case DOC_TYPE_ALIGN: - case DOC_TYPE_INDENT: - case DOC_TYPE_INDENT_IF_BREAK: - case DOC_TYPE_LABEL: - case DOC_TYPE_LINE_SUFFIX: - docsStack.push(doc3.contents); - break; - case DOC_TYPE_STRING: - case DOC_TYPE_CURSOR: - case DOC_TYPE_TRIM: - case DOC_TYPE_LINE_SUFFIX_BOUNDARY: - case DOC_TYPE_LINE: - case DOC_TYPE_BREAK_PARENT: - break; - default: - throw new invalid_doc_error_default(doc3); + return ""; + case "1": + case "2": + case "3": + case "4": + case "5": + case "6": + case "7": + case "8": + case "9": + throw invalidChar(read()); + case void 0: + throw invalidChar(read()); + } + return read(); +} +function hexEscape() { + let buffer2 = ""; + let c2 = peek(); + if (!util.isHexDigit(c2)) { + throw invalidChar(read()); + } + buffer2 += read(); + c2 = peek(); + if (!util.isHexDigit(c2)) { + throw invalidChar(read()); + } + buffer2 += read(); + return String.fromCodePoint(parseInt(buffer2, 16)); +} +function unicodeEscape() { + let buffer2 = ""; + let count = 4; + while (count-- > 0) { + const c2 = peek(); + if (!util.isHexDigit(c2)) { + throw invalidChar(read()); } + buffer2 += read(); } + return String.fromCodePoint(parseInt(buffer2, 16)); } -var traverse_doc_default = traverseDoc; - -// src/document/utils/assert-doc.js -var noop = () => { -}; -var assertDoc = true ? noop : function(doc2) { - traverse_doc_default(doc2, (doc3) => { - if (checked.has(doc3)) { - return false; +var parseStates = { + start() { + if (token.type === "eof") { + throw invalidEOF(); } - if (typeof doc3 !== "string") { - checked.add(doc3); + push(); + }, + beforePropertyName() { + switch (token.type) { + case "identifier": + case "string": + key = token.value; + parseState = "afterPropertyName"; + return; + case "punctuator": + pop(); + return; + case "eof": + throw invalidEOF(); } - }); + }, + afterPropertyName() { + if (token.type === "eof") { + throw invalidEOF(); + } + parseState = "beforePropertyValue"; + }, + beforePropertyValue() { + if (token.type === "eof") { + throw invalidEOF(); + } + push(); + }, + beforeArrayValue() { + if (token.type === "eof") { + throw invalidEOF(); + } + if (token.type === "punctuator" && token.value === "]") { + pop(); + return; + } + push(); + }, + afterPropertyValue() { + if (token.type === "eof") { + throw invalidEOF(); + } + switch (token.value) { + case ",": + parseState = "beforePropertyName"; + return; + case "}": + pop(); + } + }, + afterArrayValue() { + if (token.type === "eof") { + throw invalidEOF(); + } + switch (token.value) { + case ",": + parseState = "beforeArrayValue"; + return; + case "]": + pop(); + } + }, + end() { + } }; -var assertDocArray = true ? noop : function(docs, optional = false) { - if (optional && !docs) { - return; +function push() { + let value; + switch (token.type) { + case "punctuator": + switch (token.value) { + case "{": + value = {}; + break; + case "[": + value = []; + break; + } + break; + case "null": + case "boolean": + case "numeric": + case "string": + value = token.value; + break; } - if (!Array.isArray(docs)) { - throw new TypeError("Unexpected doc array."); + if (root === void 0) { + root = value; + } else { + const parent = stack[stack.length - 1]; + if (Array.isArray(parent)) { + parent.push(value); + } else { + Object.defineProperty(parent, key, { + value, + writable: true, + enumerable: true, + configurable: true + }); + } } - for (const doc2 of docs) { - assertDoc(doc2); + if (value !== null && typeof value === "object") { + stack.push(value); + if (Array.isArray(value)) { + parseState = "beforeArrayValue"; + } else { + parseState = "beforePropertyName"; + } + } else { + const current = stack[stack.length - 1]; + if (current == null) { + parseState = "end"; + } else if (Array.isArray(current)) { + parseState = "afterArrayValue"; + } else { + parseState = "afterPropertyValue"; + } } -}; - -// src/document/builders.js -function indent(contents) { - assertDoc(contents); - return { type: DOC_TYPE_INDENT, contents }; } -function align(widthOrString, contents) { - assertDoc(contents); - return { type: DOC_TYPE_ALIGN, contents, n: widthOrString }; +function pop() { + stack.pop(); + const current = stack[stack.length - 1]; + if (current == null) { + parseState = "end"; + } else if (Array.isArray(current)) { + parseState = "afterArrayValue"; + } else { + parseState = "afterPropertyValue"; + } } -function fill(parts) { - assertDocArray(parts); - return { type: DOC_TYPE_FILL, parts }; +function invalidChar(c2) { + if (c2 === void 0) { + return syntaxError(`JSON5: invalid end of input at ${line}:${column}`); + } + return syntaxError(`JSON5: invalid character '${formatChar(c2)}' at ${line}:${column}`); } -function lineSuffix(contents) { - assertDoc(contents); - return { type: DOC_TYPE_LINE_SUFFIX, contents }; +function invalidEOF() { + return syntaxError(`JSON5: invalid end of input at ${line}:${column}`); } -var breakParent = { type: DOC_TYPE_BREAK_PARENT }; -var hardlineWithoutBreakParent = { type: DOC_TYPE_LINE, hard: true }; -var line = { type: DOC_TYPE_LINE }; -var hardline = [hardlineWithoutBreakParent, breakParent]; -var cursor = { type: DOC_TYPE_CURSOR }; -function addAlignmentToDoc(doc2, size, tabWidth) { - assertDoc(doc2); - let aligned = doc2; - if (size > 0) { - for (let i = 0; i < Math.floor(size / tabWidth); ++i) { - aligned = indent(aligned); - } - aligned = align(size % tabWidth, aligned); - aligned = align(Number.NEGATIVE_INFINITY, aligned); +function invalidIdentifier() { + column -= 5; + return syntaxError(`JSON5: invalid identifier character at ${line}:${column}`); +} +function separatorChar(c2) { + console.warn(`JSON5: '${formatChar(c2)}' in strings is not valid ECMAScript; consider escaping`); +} +function formatChar(c2) { + const replacements = { + "'": "\\'", + '"': '\\"', + "\\": "\\\\", + "\b": "\\b", + "\f": "\\f", + "\n": "\\n", + "\r": "\\r", + " ": "\\t", + "\v": "\\v", + "\0": "\\0", + "\u2028": "\\u2028", + "\u2029": "\\u2029" + }; + if (replacements[c2]) { + return replacements[c2]; } - return aligned; + if (c2 < " ") { + const hexString = c2.charCodeAt(0).toString(16); + return "\\x" + ("00" + hexString).substring(hexString.length); + } + return c2; } +function syntaxError(message) { + const err = new SyntaxError(message); + err.lineNumber = line; + err.columnNumber = column; + return err; +} +var dist_default = { parse: parse2 }; -// scripts/build/shims/at.js -var at = (isOptionalObject, object, index) => { - if (isOptionalObject && (object === void 0 || object === null)) { +// node_modules/parse-json/index.js +var import_code_frame = __toESM(require_lib3(), 1); + +// node_modules/index-to-position/index.js +var safeLastIndexOf = (string, searchString, index) => index < 0 ? -1 : string.lastIndexOf(searchString, index); +function getPosition(text, textIndex) { + const lineBreakBefore = safeLastIndexOf(text, "\n", textIndex - 1); + const column2 = textIndex - lineBreakBefore - 1; + let line3 = 0; + for (let index = lineBreakBefore; index >= 0; index = safeLastIndexOf(text, "\n", index - 1)) { + line3++; + } + return { line: line3, column: column2 }; +} +function indexToLineColumn(text, textIndex, { oneBased = false } = {}) { + if (textIndex < 0 || textIndex >= text.length && text.length > 0) { + throw new RangeError("Index out of bounds"); + } + const position = getPosition(text, textIndex); + return oneBased ? { line: position.line + 1, column: position.column + 1 } : position; +} + +// node_modules/parse-json/index.js +var getCodePoint = (character) => `\\u{${character.codePointAt(0).toString(16)}}`; +var _message; +var _JSONError = class _JSONError extends Error { + constructor(message) { + var _a; + super(); + __publicField(this, "name", "JSONError"); + __publicField(this, "fileName"); + __publicField(this, "codeFrame"); + __publicField(this, "rawCodeFrame"); + __privateAdd(this, _message); + __privateSet(this, _message, message); + (_a = Error.captureStackTrace) == null ? void 0 : _a.call(Error, this, _JSONError); + } + get message() { + const { fileName, codeFrame } = this; + return `${__privateGet(this, _message)}${fileName ? ` in ${fileName}` : ""}${codeFrame ? ` + +${codeFrame} +` : ""}`; + } + set message(message) { + __privateSet(this, _message, message); + } +}; +_message = new WeakMap(); +var JSONError = _JSONError; +var generateCodeFrame = (string, location, highlightCode = true) => (0, import_code_frame.codeFrameColumns)(string, { start: location }, { highlightCode }); +var getErrorLocation = (string, message) => { + const match = message.match(/in JSON at position (?\d+)(?: \(line (?\d+) column (?\d+)\))?$/); + if (!match) { return; } - if (Array.isArray(object) || typeof object === "string") { - return object[index < 0 ? object.length + index : index]; + let { index, line: line3, column: column2 } = match.groups; + if (line3 && column2) { + return { line: Number(line3), column: Number(column2) }; } - return object.at(index); + index = Number(index); + if (index === string.length) { + const { line: line4, column: column3 } = indexToLineColumn(string, string.length - 1, { oneBased: true }); + return { line: line4, column: column3 + 1 }; + } + return indexToLineColumn(string, index, { oneBased: true }); }; -var at_default = at; +var addCodePointToUnexpectedToken = (message) => message.replace( + // TODO[engine:node@>=20]: The token always quoted after Node.js 20 + /(?<=^Unexpected token )(?')?(.)\k/, + (_, _quote, token2) => `"${token2}"(${getCodePoint(token2)})` +); +function parseJson(string, reviver, fileName) { + if (typeof reviver === "string") { + fileName = reviver; + reviver = void 0; + } + let message; + try { + return JSON.parse(string, reviver); + } catch (error) { + message = error.message; + } + let location; + if (string) { + location = getErrorLocation(string, message); + message = addCodePointToUnexpectedToken(message); + } else { + message += " while parsing empty string"; + } + const jsonError = new JSONError(message); + jsonError.fileName = fileName; + if (location) { + jsonError.codeFrame = generateCodeFrame(string, location); + jsonError.rawCodeFrame = generateCodeFrame( + string, + location, + /* highlightCode */ + false + ); + } + throw jsonError; +} -// src/common/end-of-line.js -function guessEndOfLine(text) { - const index = text.indexOf("\r"); - if (index >= 0) { - return text.charAt(index + 1) === "\n" ? "crlf" : "cr"; +// src/utils/read-file.js +import fs4 from "fs/promises"; +async function readFile(file) { + if (isUrlString(file)) { + file = new URL(file); + } + try { + return await fs4.readFile(file, "utf8"); + } catch (error) { + if (error.code === "ENOENT") { + return; + } + throw new Error(`Unable to read '${file}': ${error.message}`); } - return "lf"; } -function convertEndOfLineToChars(value) { - switch (value) { - case "cr": - return "\r"; - case "crlf": - return "\r\n"; - default: - return "\n"; +var read_file_default = readFile; + +// src/config/prettier-config/loaders.js +async function readJson(file) { + const content = await read_file_default(file); + try { + return parseJson(content); + } catch (error) { + error.message = `JSON Error in ${file}: +${error.message}`; + throw error; + } +} +async function loadJs(file) { + const module = await import(pathToFileURL2(file).href); + return module.default; +} +async function loadConfigFromPackageJson(file) { + const { prettier } = await readJson(file); + return prettier; +} +async function loadConfigFromPackageYaml(file) { + const { prettier } = await loadYaml(file); + return prettier; +} +async function loadYaml(file) { + const content = await read_file_default(file); + try { + return load(content); + } catch (error) { + error.message = `YAML Error in ${file}: +${error.message}`; + throw error; + } +} +var loaders = { + async ".toml"(file) { + const content = await read_file_default(file); + try { + return await (0, import_parse_async.default)(content); + } catch (error) { + error.message = `TOML Error in ${file}: +${error.message}`; + throw error; + } + }, + async ".json5"(file) { + const content = await read_file_default(file); + try { + return dist_default.parse(content); + } catch (error) { + error.message = `JSON5 Error in ${file}: +${error.message}`; + throw error; + } + }, + ".json": readJson, + ".js": loadJs, + ".mjs": loadJs, + ".cjs": loadJs, + ".yaml": loadYaml, + ".yml": loadYaml, + // No extension + "": loadYaml +}; +var loaders_default = loaders; + +// src/config/prettier-config/config-searcher.js +var CONFIG_FILE_NAMES = [ + "package.json", + "package.yaml", + ".prettierrc", + ".prettierrc.json", + ".prettierrc.yaml", + ".prettierrc.yml", + ".prettierrc.json5", + ".prettierrc.js", + ".prettierrc.mjs", + ".prettierrc.cjs", + "prettier.config.js", + "prettier.config.mjs", + "prettier.config.cjs", + ".prettierrc.toml" +]; +async function filter({ name, path: file }) { + if (!await is_file_default(file)) { + return false; } -} -function countEndOfLineChars(text, eol) { - let regex; - switch (eol) { - case "\n": - regex = /\n/g; - break; - case "\r": - regex = /\r/g; - break; - case "\r\n": - regex = /\r\n/g; - break; - default: - throw new Error(`Unexpected "eol" ${JSON.stringify(eol)}.`); + if (name === "package.json") { + try { + return Boolean(await loadConfigFromPackageJson(file)); + } catch { + return false; + } } - const endOfLines = text.match(regex); - return endOfLines ? endOfLines.length : 0; + if (name === "package.yaml") { + try { + return Boolean(await loadConfigFromPackageYaml(file)); + } catch { + return false; + } + } + return true; } -function normalizeEndOfLine(text) { - return string_replace_all_default( - /* isOptionalObject*/ - false, - text, - /\r\n?/g, - "\n" - ); +function getSearcher(stopDirectory) { + return new searcher_default({ names: CONFIG_FILE_NAMES, filter, stopDirectory }); } +var config_searcher_default = getSearcher; -// node_modules/emoji-regex/index.mjs -var emoji_regex_default = () => { - return /[#*0-9]\uFE0F?\u20E3|[\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u231A\u231B\u2328\u23CF\u23ED-\u23EF\u23F1\u23F2\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB\u25FC\u25FE\u2600-\u2604\u260E\u2611\u2614\u2615\u2618\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638-\u263A\u2640\u2642\u2648-\u2653\u265F\u2660\u2663\u2665\u2666\u2668\u267B\u267E\u267F\u2692\u2694-\u2697\u2699\u269B\u269C\u26A0\u26A7\u26AA\u26B0\u26B1\u26BD\u26BE\u26C4\u26C8\u26CF\u26D1\u26D3\u26E9\u26F0-\u26F5\u26F7\u26F8\u26FA\u2702\u2708\u2709\u270F\u2712\u2714\u2716\u271D\u2721\u2733\u2734\u2744\u2747\u2757\u2763\u27A1\u2934\u2935\u2B05-\u2B07\u2B1B\u2B1C\u2B55\u3030\u303D\u3297\u3299]\uFE0F?|[\u261D\u270C\u270D](?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?|[\u270A\u270B](?:\uD83C[\uDFFB-\uDFFF])?|[\u23E9-\u23EC\u23F0\u23F3\u25FD\u2693\u26A1\u26AB\u26C5\u26CE\u26D4\u26EA\u26FD\u2705\u2728\u274C\u274E\u2753-\u2755\u2795-\u2797\u27B0\u27BF\u2B50]|\u26F9(?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|\u2764\uFE0F?(?:\u200D(?:\uD83D\uDD25|\uD83E\uDE79))?|\uD83C(?:[\uDC04\uDD70\uDD71\uDD7E\uDD7F\uDE02\uDE37\uDF21\uDF24-\uDF2C\uDF36\uDF7D\uDF96\uDF97\uDF99-\uDF9B\uDF9E\uDF9F\uDFCD\uDFCE\uDFD4-\uDFDF\uDFF5\uDFF7]\uFE0F?|[\uDF85\uDFC2\uDFC7](?:\uD83C[\uDFFB-\uDFFF])?|[\uDFC3\uDFC4\uDFCA](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDFCB\uDFCC](?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\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]|\uDDE6\uD83C[\uDDE8-\uDDEC\uDDEE\uDDF1\uDDF2\uDDF4\uDDF6-\uDDFA\uDDFC\uDDFD\uDDFF]|\uDDE7\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEF\uDDF1-\uDDF4\uDDF6-\uDDF9\uDDFB\uDDFC\uDDFE\uDDFF]|\uDDE8\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDEE\uDDF0-\uDDF5\uDDF7\uDDFA-\uDDFF]|\uDDE9\uD83C[\uDDEA\uDDEC\uDDEF\uDDF0\uDDF2\uDDF4\uDDFF]|\uDDEA\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDED\uDDF7-\uDDFA]|\uDDEB\uD83C[\uDDEE-\uDDF0\uDDF2\uDDF4\uDDF7]|\uDDEC\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEE\uDDF1-\uDDF3\uDDF5-\uDDFA\uDDFC\uDDFE]|\uDDED\uD83C[\uDDF0\uDDF2\uDDF3\uDDF7\uDDF9\uDDFA]|\uDDEE\uD83C[\uDDE8-\uDDEA\uDDF1-\uDDF4\uDDF6-\uDDF9]|\uDDEF\uD83C[\uDDEA\uDDF2\uDDF4\uDDF5]|\uDDF0\uD83C[\uDDEA\uDDEC-\uDDEE\uDDF2\uDDF3\uDDF5\uDDF7\uDDFC\uDDFE\uDDFF]|\uDDF1\uD83C[\uDDE6-\uDDE8\uDDEE\uDDF0\uDDF7-\uDDFB\uDDFE]|\uDDF2\uD83C[\uDDE6\uDDE8-\uDDED\uDDF0-\uDDFF]|\uDDF3\uD83C[\uDDE6\uDDE8\uDDEA-\uDDEC\uDDEE\uDDF1\uDDF4\uDDF5\uDDF7\uDDFA\uDDFF]|\uDDF4\uD83C\uDDF2|\uDDF5\uD83C[\uDDE6\uDDEA-\uDDED\uDDF0-\uDDF3\uDDF7-\uDDF9\uDDFC\uDDFE]|\uDDF6\uD83C\uDDE6|\uDDF7\uD83C[\uDDEA\uDDF4\uDDF8\uDDFA\uDDFC]|\uDDF8\uD83C[\uDDE6-\uDDEA\uDDEC-\uDDF4\uDDF7-\uDDF9\uDDFB\uDDFD-\uDDFF]|\uDDF9\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDED\uDDEF-\uDDF4\uDDF7\uDDF9\uDDFB\uDDFC\uDDFF]|\uDDFA\uD83C[\uDDE6\uDDEC\uDDF2\uDDF3\uDDF8\uDDFE\uDDFF]|\uDDFB\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDEE\uDDF3\uDDFA]|\uDDFC\uD83C[\uDDEB\uDDF8]|\uDDFD\uD83C\uDDF0|\uDDFE\uD83C[\uDDEA\uDDF9]|\uDDFF\uD83C[\uDDE6\uDDF2\uDDFC]|\uDFF3\uFE0F?(?:\u200D(?:\u26A7\uFE0F?|\uD83C\uDF08))?|\uDFF4(?:\u200D\u2620\uFE0F?|\uDB40\uDC67\uDB40\uDC62\uDB40(?:\uDC65\uDB40\uDC6E\uDB40\uDC67|\uDC73\uDB40\uDC63\uDB40\uDC74|\uDC77\uDB40\uDC6C\uDB40\uDC73)\uDB40\uDC7F)?)|\uD83D(?:[\uDC08\uDC26](?:\u200D\u2B1B)?|[\uDC3F\uDCFD\uDD49\uDD4A\uDD6F\uDD70\uDD73\uDD76-\uDD79\uDD87\uDD8A-\uDD8D\uDDA5\uDDA8\uDDB1\uDDB2\uDDBC\uDDC2-\uDDC4\uDDD1-\uDDD3\uDDDC-\uDDDE\uDDE1\uDDE3\uDDE8\uDDEF\uDDF3\uDDFA\uDECB\uDECD-\uDECF\uDEE0-\uDEE5\uDEE9\uDEF0\uDEF3]\uFE0F?|[\uDC42\uDC43\uDC46-\uDC50\uDC66\uDC67\uDC6B-\uDC6D\uDC72\uDC74-\uDC76\uDC78\uDC7C\uDC83\uDC85\uDC8F\uDC91\uDCAA\uDD7A\uDD95\uDD96\uDE4C\uDE4F\uDEC0\uDECC](?:\uD83C[\uDFFB-\uDFFF])?|[\uDC6E\uDC70\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDD74\uDD90](?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?|[\uDC00-\uDC07\uDC09-\uDC14\uDC16-\uDC25\uDC27-\uDC3A\uDC3C-\uDC3E\uDC40\uDC44\uDC45\uDC51-\uDC65\uDC6A\uDC79-\uDC7B\uDC7D-\uDC80\uDC84\uDC88-\uDC8E\uDC90\uDC92-\uDCA9\uDCAB-\uDCFC\uDCFF-\uDD3D\uDD4B-\uDD4E\uDD50-\uDD67\uDDA4\uDDFB-\uDE2D\uDE2F-\uDE34\uDE37-\uDE44\uDE48-\uDE4A\uDE80-\uDEA2\uDEA4-\uDEB3\uDEB7-\uDEBF\uDEC1-\uDEC5\uDED0-\uDED2\uDED5-\uDED7\uDEDC-\uDEDF\uDEEB\uDEEC\uDEF4-\uDEFC\uDFE0-\uDFEB\uDFF0]|\uDC15(?:\u200D\uD83E\uDDBA)?|\uDC3B(?:\u200D\u2744\uFE0F?)?|\uDC41\uFE0F?(?:\u200D\uD83D\uDDE8\uFE0F?)?|\uDC68(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDC68\uDC69]\u200D\uD83D(?:\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?)|[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?)|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFC-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFD-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFD\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFE])))?))?|\uDC69(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?[\uDC68\uDC69]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?|\uDC69\u200D\uD83D(?:\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?))|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFC-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB\uDFFD-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB-\uDFFD\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB-\uDFFE])))?))?|\uDC6F(?:\u200D[\u2640\u2642]\uFE0F?)?|\uDD75(?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|\uDE2E(?:\u200D\uD83D\uDCA8)?|\uDE35(?:\u200D\uD83D\uDCAB)?|\uDE36(?:\u200D\uD83C\uDF2B\uFE0F?)?)|\uD83E(?:[\uDD0C\uDD0F\uDD18-\uDD1F\uDD30-\uDD34\uDD36\uDD77\uDDB5\uDDB6\uDDBB\uDDD2\uDDD3\uDDD5\uDEC3-\uDEC5\uDEF0\uDEF2-\uDEF8](?:\uD83C[\uDFFB-\uDFFF])?|[\uDD26\uDD35\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD-\uDDCF\uDDD4\uDDD6-\uDDDD](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDDDE\uDDDF](?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDD0D\uDD0E\uDD10-\uDD17\uDD20-\uDD25\uDD27-\uDD2F\uDD3A\uDD3F-\uDD45\uDD47-\uDD76\uDD78-\uDDB4\uDDB7\uDDBA\uDDBC-\uDDCC\uDDD0\uDDE0-\uDDFF\uDE70-\uDE7C\uDE80-\uDE88\uDE90-\uDEBD\uDEBF-\uDEC2\uDECE-\uDEDB\uDEE0-\uDEE8]|\uDD3C(?:\u200D[\u2640\u2642]\uFE0F?|\uD83C[\uDFFB-\uDFFF])?|\uDDD1(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83E\uDDD1))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFC-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB\uDFFD-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB-\uDFFD\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB-\uDFFE]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?))?|\uDEF1(?:\uD83C(?:\uDFFB(?:\u200D\uD83E\uDEF2\uD83C[\uDFFC-\uDFFF])?|\uDFFC(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB\uDFFD-\uDFFF])?|\uDFFD(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])?|\uDFFE(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB-\uDFFD\uDFFF])?|\uDFFF(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB-\uDFFE])?))?)/g; -}; +// src/config/prettier-config/load-config.js +import path7 from "path"; + +// src/utils/import-from-file.js +import { pathToFileURL as pathToFileURL4 } from "url"; + +// node_modules/import-meta-resolve/lib/resolve.js +import assert3 from "assert"; +import { statSync, realpathSync } from "fs"; +import process3 from "process"; +import { URL as URL2, fileURLToPath as fileURLToPath4, pathToFileURL as pathToFileURL3 } from "url"; +import path6 from "path"; +import { builtinModules } from "module"; + +// node_modules/import-meta-resolve/lib/get-format.js +import { fileURLToPath as fileURLToPath3 } from "url"; + +// node_modules/import-meta-resolve/lib/package-json-reader.js +import fs5 from "fs"; +import path5 from "path"; +import { fileURLToPath as fileURLToPath2 } from "url"; -// node_modules/eastasianwidth/eastasianwidth.js -var eastasianwidth_default = { - eastAsianWidth(character) { - var x = character.charCodeAt(0); - var y = character.length == 2 ? character.charCodeAt(1) : 0; - var codePoint = x; - if (55296 <= x && x <= 56319 && 56320 <= y && y <= 57343) { - x &= 1023; - y &= 1023; - codePoint = x << 10 | y; - codePoint += 65536; +// node_modules/import-meta-resolve/lib/errors.js +import v8 from "v8"; +import assert2 from "assert"; +import { format, inspect } from "util"; +var own = {}.hasOwnProperty; +var classRegExp = /^([A-Z][a-z\d]*)+$/; +var kTypes = /* @__PURE__ */ new Set([ + "string", + "function", + "number", + "object", + // Accept 'Function' and 'Object' as alternative to the lower cased version. + "Function", + "Object", + "boolean", + "bigint", + "symbol" +]); +var codes = {}; +function formatList(array2, type2 = "and") { + return array2.length < 3 ? array2.join(` ${type2} `) : `${array2.slice(0, -1).join(", ")}, ${type2} ${array2[array2.length - 1]}`; +} +var messages = /* @__PURE__ */ new Map(); +var nodeInternalPrefix = "__node_internal_"; +var userStackTraceLimit; +codes.ERR_INVALID_ARG_TYPE = createError( + "ERR_INVALID_ARG_TYPE", + /** + * @param {string} name + * @param {Array | string} expected + * @param {unknown} actual + */ + (name, expected, actual) => { + assert2(typeof name === "string", "'name' must be a string"); + if (!Array.isArray(expected)) { + expected = [expected]; + } + let message = "The "; + if (name.endsWith(" argument")) { + message += `${name} `; + } else { + const type2 = name.includes(".") ? "property" : "argument"; + message += `"${name}" ${type2} `; + } + message += "must be "; + const types = []; + const instances = []; + const other = []; + for (const value of expected) { + assert2( + typeof value === "string", + "All expected entries have to be of type string" + ); + if (kTypes.has(value)) { + types.push(value.toLowerCase()); + } else if (classRegExp.exec(value) === null) { + assert2( + value !== "object", + 'The value "object" should be written as "Object"' + ); + other.push(value); + } else { + instances.push(value); + } + } + if (instances.length > 0) { + const pos2 = types.indexOf("object"); + if (pos2 !== -1) { + types.slice(pos2, 1); + instances.push("Object"); + } + } + if (types.length > 0) { + message += `${types.length > 1 ? "one of type" : "of type"} ${formatList( + types, + "or" + )}`; + if (instances.length > 0 || other.length > 0) message += " or "; + } + if (instances.length > 0) { + message += `an instance of ${formatList(instances, "or")}`; + if (other.length > 0) message += " or "; + } + if (other.length > 0) { + if (other.length > 1) { + message += `one of ${formatList(other, "or")}`; + } else { + if (other[0].toLowerCase() !== other[0]) message += "an "; + message += `${other[0]}`; + } } - if (12288 == codePoint || 65281 <= codePoint && codePoint <= 65376 || 65504 <= codePoint && codePoint <= 65510) { - return "F"; + message += `. Received ${determineSpecificType(actual)}`; + return message; + }, + TypeError +); +codes.ERR_INVALID_MODULE_SPECIFIER = createError( + "ERR_INVALID_MODULE_SPECIFIER", + /** + * @param {string} request + * @param {string} reason + * @param {string} [base] + */ + (request, reason, base = void 0) => { + return `Invalid module "${request}" ${reason}${base ? ` imported from ${base}` : ""}`; + }, + TypeError +); +codes.ERR_INVALID_PACKAGE_CONFIG = createError( + "ERR_INVALID_PACKAGE_CONFIG", + /** + * @param {string} path + * @param {string} [base] + * @param {string} [message] + */ + (path13, base, message) => { + return `Invalid package config ${path13}${base ? ` while importing ${base}` : ""}${message ? `. ${message}` : ""}`; + }, + Error +); +codes.ERR_INVALID_PACKAGE_TARGET = createError( + "ERR_INVALID_PACKAGE_TARGET", + /** + * @param {string} packagePath + * @param {string} key + * @param {unknown} target + * @param {boolean} [isImport=false] + * @param {string} [base] + */ + (packagePath, key2, target, isImport = false, base = void 0) => { + const relatedError = typeof target === "string" && !isImport && target.length > 0 && !target.startsWith("./"); + if (key2 === ".") { + assert2(isImport === false); + return `Invalid "exports" main target ${JSON.stringify(target)} defined in the package config ${packagePath}package.json${base ? ` imported from ${base}` : ""}${relatedError ? '; targets must start with "./"' : ""}`; } - if (4352 <= codePoint && codePoint <= 4447 || 4515 <= codePoint && codePoint <= 4519 || 4602 <= codePoint && codePoint <= 4607 || 9001 <= codePoint && codePoint <= 9002 || 11904 <= codePoint && codePoint <= 11929 || 11931 <= codePoint && codePoint <= 12019 || 12032 <= codePoint && codePoint <= 12245 || 12272 <= codePoint && codePoint <= 12283 || 12289 <= codePoint && codePoint <= 12350 || 12353 <= codePoint && codePoint <= 12438 || 12441 <= codePoint && codePoint <= 12543 || 12549 <= codePoint && codePoint <= 12589 || 12593 <= codePoint && codePoint <= 12686 || 12688 <= codePoint && codePoint <= 12730 || 12736 <= codePoint && codePoint <= 12771 || 12784 <= codePoint && codePoint <= 12830 || 12832 <= codePoint && codePoint <= 12871 || 12880 <= codePoint && codePoint <= 13054 || 13056 <= codePoint && codePoint <= 19903 || 19968 <= codePoint && codePoint <= 42124 || 42128 <= codePoint && codePoint <= 42182 || 43360 <= codePoint && codePoint <= 43388 || 44032 <= codePoint && codePoint <= 55203 || 55216 <= codePoint && codePoint <= 55238 || 55243 <= codePoint && codePoint <= 55291 || 63744 <= codePoint && codePoint <= 64255 || 65040 <= codePoint && codePoint <= 65049 || 65072 <= codePoint && codePoint <= 65106 || 65108 <= codePoint && codePoint <= 65126 || 65128 <= codePoint && codePoint <= 65131 || 110592 <= codePoint && codePoint <= 110593 || 127488 <= codePoint && codePoint <= 127490 || 127504 <= codePoint && codePoint <= 127546 || 127552 <= codePoint && codePoint <= 127560 || 127568 <= codePoint && codePoint <= 127569 || 131072 <= codePoint && codePoint <= 194367 || 177984 <= codePoint && codePoint <= 196605 || 196608 <= codePoint && codePoint <= 262141) { - return "W"; + return `Invalid "${isImport ? "imports" : "exports"}" target ${JSON.stringify( + target + )} defined for '${key2}' in the package config ${packagePath}package.json${base ? ` imported from ${base}` : ""}${relatedError ? '; targets must start with "./"' : ""}`; + }, + Error +); +codes.ERR_MODULE_NOT_FOUND = createError( + "ERR_MODULE_NOT_FOUND", + /** + * @param {string} path + * @param {string} base + * @param {boolean} [exactUrl] + */ + (path13, base, exactUrl = false) => { + return `Cannot find ${exactUrl ? "module" : "package"} '${path13}' imported from ${base}`; + }, + Error +); +codes.ERR_NETWORK_IMPORT_DISALLOWED = createError( + "ERR_NETWORK_IMPORT_DISALLOWED", + "import of '%s' by %s is not supported: %s", + Error +); +codes.ERR_PACKAGE_IMPORT_NOT_DEFINED = createError( + "ERR_PACKAGE_IMPORT_NOT_DEFINED", + /** + * @param {string} specifier + * @param {string} packagePath + * @param {string} base + */ + (specifier, packagePath, base) => { + return `Package import specifier "${specifier}" is not defined${packagePath ? ` in package ${packagePath}package.json` : ""} imported from ${base}`; + }, + TypeError +); +codes.ERR_PACKAGE_PATH_NOT_EXPORTED = createError( + "ERR_PACKAGE_PATH_NOT_EXPORTED", + /** + * @param {string} packagePath + * @param {string} subpath + * @param {string} [base] + */ + (packagePath, subpath, base = void 0) => { + if (subpath === ".") + return `No "exports" main defined in ${packagePath}package.json${base ? ` imported from ${base}` : ""}`; + return `Package subpath '${subpath}' is not defined by "exports" in ${packagePath}package.json${base ? ` imported from ${base}` : ""}`; + }, + Error +); +codes.ERR_UNSUPPORTED_DIR_IMPORT = createError( + "ERR_UNSUPPORTED_DIR_IMPORT", + "Directory import '%s' is not supported resolving ES modules imported from %s", + Error +); +codes.ERR_UNSUPPORTED_RESOLVE_REQUEST = createError( + "ERR_UNSUPPORTED_RESOLVE_REQUEST", + 'Failed to resolve module specifier "%s" from "%s": Invalid relative URL or base scheme is not hierarchical.', + TypeError +); +codes.ERR_UNKNOWN_FILE_EXTENSION = createError( + "ERR_UNKNOWN_FILE_EXTENSION", + /** + * @param {string} extension + * @param {string} path + */ + (extension, path13) => { + return `Unknown file extension "${extension}" for ${path13}`; + }, + TypeError +); +codes.ERR_INVALID_ARG_VALUE = createError( + "ERR_INVALID_ARG_VALUE", + /** + * @param {string} name + * @param {unknown} value + * @param {string} [reason='is invalid'] + */ + (name, value, reason = "is invalid") => { + let inspected = inspect(value); + if (inspected.length > 128) { + inspected = `${inspected.slice(0, 128)}...`; } - return "N"; + const type2 = name.includes(".") ? "property" : "argument"; + return `The ${type2} '${name}' ${reason}. Received ${inspected}`; + }, + TypeError + // Note: extra classes have been shaken out. + // , RangeError +); +function createError(sym, value, constructor) { + messages.set(sym, value); + return makeNodeErrorWithCode(constructor, sym); +} +function makeNodeErrorWithCode(Base, key2) { + return NodeError; + function NodeError(...parameters) { + const limit = Error.stackTraceLimit; + if (isErrorStackTraceLimitWritable()) Error.stackTraceLimit = 0; + const error = new Base(); + if (isErrorStackTraceLimitWritable()) Error.stackTraceLimit = limit; + const message = getMessage(key2, parameters, error); + Object.defineProperties(error, { + // Note: no need to implement `kIsNodeError` symbol, would be hard, + // probably. + message: { + value: message, + enumerable: false, + writable: true, + configurable: true + }, + toString: { + /** @this {Error} */ + value() { + return `${this.name} [${key2}]: ${this.message}`; + }, + enumerable: false, + writable: true, + configurable: true + } + }); + captureLargerStackTrace(error); + error.code = key2; + return error; } -}; - -// src/utils/get-string-width.js -var notAsciiRegex = /[^\x20-\x7F]/; -function getStringWidth(text) { - if (!text) { - return 0; +} +function isErrorStackTraceLimitWritable() { + try { + if (v8.startupSnapshot.isBuildingSnapshot()) { + return false; + } + } catch { } - if (!notAsciiRegex.test(text)) { - return text.length; + const desc = Object.getOwnPropertyDescriptor(Error, "stackTraceLimit"); + if (desc === void 0) { + return Object.isExtensible(Error); } - text = text.replace(emoji_regex_default(), " "); - let width = 0; - for (const character of text) { - const codePoint = character.codePointAt(0); - if (codePoint <= 31 || codePoint >= 127 && codePoint <= 159) { - continue; - } - if (codePoint >= 768 && codePoint <= 879) { - continue; + return own.call(desc, "writable") && desc.writable !== void 0 ? desc.writable : desc.set !== void 0; +} +function hideStackFrames(wrappedFunction) { + const hidden = nodeInternalPrefix + wrappedFunction.name; + Object.defineProperty(wrappedFunction, "name", { value: hidden }); + return wrappedFunction; +} +var captureLargerStackTrace = hideStackFrames( + /** + * @param {Error} error + * @returns {Error} + */ + // @ts-expect-error: fine + function(error) { + const stackTraceLimitIsWritable = isErrorStackTraceLimitWritable(); + if (stackTraceLimitIsWritable) { + userStackTraceLimit = Error.stackTraceLimit; + Error.stackTraceLimit = Number.POSITIVE_INFINITY; } - const code = eastasianwidth_default.eastAsianWidth(character); - width += code === "F" || code === "W" ? 2 : 1; + Error.captureStackTrace(error); + if (stackTraceLimitIsWritable) Error.stackTraceLimit = userStackTraceLimit; + return error; } - return width; -} -var get_string_width_default = getStringWidth; - -// src/document/utils.js -var getDocParts = (doc2) => { - if (Array.isArray(doc2)) { - return doc2; +); +function getMessage(key2, parameters, self) { + const message = messages.get(key2); + assert2(message !== void 0, "expected `message` to be found"); + if (typeof message === "function") { + assert2( + message.length <= parameters.length, + // Default options do not count. + `Code: ${key2}; The provided arguments length (${parameters.length}) does not match the required ones (${message.length}).` + ); + return Reflect.apply(message, self, parameters); } - if (doc2.type !== DOC_TYPE_FILL) { - throw new Error(`Expect doc to be 'array' or '${DOC_TYPE_FILL}'.`); + const regex = /%[dfijoOs]/g; + let expectedLength = 0; + while (regex.exec(message) !== null) expectedLength++; + assert2( + expectedLength === parameters.length, + `Code: ${key2}; The provided arguments length (${parameters.length}) does not match the required ones (${expectedLength}).` + ); + if (parameters.length === 0) return message; + parameters.unshift(message); + return Reflect.apply(format, null, parameters); +} +function determineSpecificType(value) { + if (value === null || value === void 0) { + return String(value); } - return doc2.parts; -}; -function mapDoc(doc2, cb) { - if (typeof doc2 === "string") { - return cb(doc2); + if (typeof value === "function" && value.name) { + return `function ${value.name}`; } - const mapped = /* @__PURE__ */ new Map(); - return rec(doc2); - function rec(doc3) { - if (mapped.has(doc3)) { - return mapped.get(doc3); + if (typeof value === "object") { + if (value.constructor && value.constructor.name) { + return `an instance of ${value.constructor.name}`; } - const result = process4(doc3); - mapped.set(doc3, result); - return result; + return `${inspect(value, { depth: -1 })}`; } - function process4(doc3) { - switch (get_doc_type_default(doc3)) { - case DOC_TYPE_ARRAY: - return cb(doc3.map(rec)); - case DOC_TYPE_FILL: - return cb({ - ...doc3, - parts: doc3.parts.map(rec) - }); - case DOC_TYPE_IF_BREAK: - return cb({ - ...doc3, - breakContents: rec(doc3.breakContents), - flatContents: rec(doc3.flatContents) - }); - case DOC_TYPE_GROUP: { - let { - expandedStates, - contents - } = doc3; - if (expandedStates) { - expandedStates = expandedStates.map(rec); - contents = expandedStates[0]; - } else { - contents = rec(contents); - } - return cb({ - ...doc3, - contents, - expandedStates - }); - } - case DOC_TYPE_ALIGN: - case DOC_TYPE_INDENT: - case DOC_TYPE_INDENT_IF_BREAK: - case DOC_TYPE_LABEL: - case DOC_TYPE_LINE_SUFFIX: - return cb({ - ...doc3, - contents: rec(doc3.contents) - }); - case DOC_TYPE_STRING: - case DOC_TYPE_CURSOR: - case DOC_TYPE_TRIM: - case DOC_TYPE_LINE_SUFFIX_BOUNDARY: - case DOC_TYPE_LINE: - case DOC_TYPE_BREAK_PARENT: - return cb(doc3); - default: - throw new invalid_doc_error_default(doc3); - } + let inspected = inspect(value, { colors: false }); + if (inspected.length > 28) { + inspected = `${inspected.slice(0, 25)}...`; } + return `type ${typeof value} (${inspected})`; } -function breakParentGroup(groupStack) { - if (groupStack.length > 0) { - const parentGroup = at_default( - /* isOptionalObject*/ - false, - groupStack, - -1 + +// node_modules/import-meta-resolve/lib/package-json-reader.js +var hasOwnProperty = {}.hasOwnProperty; +var { ERR_INVALID_PACKAGE_CONFIG } = codes; +var cache = /* @__PURE__ */ new Map(); +function read2(jsonPath, { base, specifier }) { + const existing = cache.get(jsonPath); + if (existing) { + return existing; + } + let string; + try { + string = fs5.readFileSync(path5.toNamespacedPath(jsonPath), "utf8"); + } catch (error) { + const exception2 = ( + /** @type {ErrnoException} */ + error ); - if (!parentGroup.expandedStates && !parentGroup.break) { - parentGroup.break = "propagated"; + if (exception2.code !== "ENOENT") { + throw exception2; } } - return null; -} -function propagateBreaks(doc2) { - const alreadyVisitedSet = /* @__PURE__ */ new Set(); - const groupStack = []; - function propagateBreaksOnEnterFn(doc3) { - if (doc3.type === DOC_TYPE_BREAK_PARENT) { - breakParentGroup(groupStack); - } - if (doc3.type === DOC_TYPE_GROUP) { - groupStack.push(doc3); - if (alreadyVisitedSet.has(doc3)) { - return false; - } - alreadyVisitedSet.add(doc3); + const result = { + exists: false, + pjsonPath: jsonPath, + main: void 0, + name: void 0, + type: "none", + // Ignore unknown types for forwards compatibility + exports: void 0, + imports: void 0 + }; + if (string !== void 0) { + let parsed; + try { + parsed = JSON.parse(string); + } catch (error_) { + const cause = ( + /** @type {ErrnoException} */ + error_ + ); + const error = new ERR_INVALID_PACKAGE_CONFIG( + jsonPath, + (base ? `"${specifier}" from ` : "") + fileURLToPath2(base || specifier), + cause.message + ); + error.cause = cause; + throw error; } - } - function propagateBreaksOnExitFn(doc3) { - if (doc3.type === DOC_TYPE_GROUP) { - const group = groupStack.pop(); - if (group.break) { - breakParentGroup(groupStack); - } + result.exists = true; + if (hasOwnProperty.call(parsed, "name") && typeof parsed.name === "string") { + result.name = parsed.name; } - } - traverse_doc_default( - doc2, - propagateBreaksOnEnterFn, - propagateBreaksOnExitFn, - /* shouldTraverseConditionalGroups */ - true - ); -} -function stripTrailingHardlineFromParts(parts) { - parts = [...parts]; - while (parts.length >= 2 && at_default( - /* isOptionalObject*/ - false, - parts, - -2 - ).type === DOC_TYPE_LINE && at_default( - /* isOptionalObject*/ - false, - parts, - -1 - ).type === DOC_TYPE_BREAK_PARENT) { - parts.length -= 2; - } - if (parts.length > 0) { - const lastPart = stripTrailingHardlineFromDoc(at_default( - /* isOptionalObject*/ - false, - parts, - -1 - )); - parts[parts.length - 1] = lastPart; - } - return parts; -} -function stripTrailingHardlineFromDoc(doc2) { - switch (get_doc_type_default(doc2)) { - case DOC_TYPE_ALIGN: - case DOC_TYPE_INDENT: - case DOC_TYPE_INDENT_IF_BREAK: - case DOC_TYPE_GROUP: - case DOC_TYPE_LINE_SUFFIX: - case DOC_TYPE_LABEL: { - const contents = stripTrailingHardlineFromDoc(doc2.contents); - return { - ...doc2, - contents - }; + if (hasOwnProperty.call(parsed, "main") && typeof parsed.main === "string") { + result.main = parsed.main; + } + if (hasOwnProperty.call(parsed, "exports")) { + result.exports = parsed.exports; + } + if (hasOwnProperty.call(parsed, "imports")) { + result.imports = parsed.imports; + } + if (hasOwnProperty.call(parsed, "type") && (parsed.type === "commonjs" || parsed.type === "module")) { + result.type = parsed.type; } - case DOC_TYPE_IF_BREAK: - return { - ...doc2, - breakContents: stripTrailingHardlineFromDoc(doc2.breakContents), - flatContents: stripTrailingHardlineFromDoc(doc2.flatContents) - }; - case DOC_TYPE_FILL: - return { - ...doc2, - parts: stripTrailingHardlineFromParts(doc2.parts) - }; - case DOC_TYPE_ARRAY: - return stripTrailingHardlineFromParts(doc2); - case DOC_TYPE_STRING: - return doc2.replace(/[\n\r]*$/, ""); - case DOC_TYPE_CURSOR: - case DOC_TYPE_TRIM: - case DOC_TYPE_LINE_SUFFIX_BOUNDARY: - case DOC_TYPE_LINE: - case DOC_TYPE_BREAK_PARENT: - break; - default: - throw new invalid_doc_error_default(doc2); } - return doc2; -} -function stripTrailingHardline(doc2) { - return stripTrailingHardlineFromDoc(cleanDoc(doc2)); + cache.set(jsonPath, result); + return result; } -function cleanDocFn(doc2) { - switch (get_doc_type_default(doc2)) { - case DOC_TYPE_FILL: - if (doc2.parts.every((part) => part === "")) { - return ""; - } - break; - case DOC_TYPE_GROUP: - if (!doc2.contents && !doc2.id && !doc2.break && !doc2.expandedStates) { - return ""; - } - if (doc2.contents.type === DOC_TYPE_GROUP && doc2.contents.id === doc2.id && doc2.contents.break === doc2.break && doc2.contents.expandedStates === doc2.expandedStates) { - return doc2.contents; - } - break; - case DOC_TYPE_ALIGN: - case DOC_TYPE_INDENT: - case DOC_TYPE_INDENT_IF_BREAK: - case DOC_TYPE_LINE_SUFFIX: - if (!doc2.contents) { - return ""; - } - break; - case DOC_TYPE_IF_BREAK: - if (!doc2.flatContents && !doc2.breakContents) { - return ""; - } +function getPackageScopeConfig(resolved) { + let packageJSONUrl = new URL("package.json", resolved); + while (true) { + const packageJSONPath2 = packageJSONUrl.pathname; + if (packageJSONPath2.endsWith("node_modules/package.json")) { break; - case DOC_TYPE_ARRAY: { - const parts = []; - for (const part of doc2) { - if (!part) { - continue; - } - const [currentPart, ...restParts] = Array.isArray(part) ? part : [part]; - if (typeof currentPart === "string" && typeof at_default( - /* isOptionalObject*/ - false, - parts, - -1 - ) === "string") { - parts[parts.length - 1] += currentPart; - } else { - parts.push(currentPart); - } - parts.push(...restParts); - } - if (parts.length === 0) { - return ""; - } - if (parts.length === 1) { - return parts[0]; - } - return parts; } - case DOC_TYPE_STRING: - case DOC_TYPE_CURSOR: - case DOC_TYPE_TRIM: - case DOC_TYPE_LINE_SUFFIX_BOUNDARY: - case DOC_TYPE_LINE: - case DOC_TYPE_LABEL: - case DOC_TYPE_BREAK_PARENT: + const packageConfig = read2(fileURLToPath2(packageJSONUrl), { + specifier: resolved + }); + if (packageConfig.exists) { + return packageConfig; + } + const lastPackageJSONUrl = packageJSONUrl; + packageJSONUrl = new URL("../package.json", packageJSONUrl); + if (packageJSONUrl.pathname === lastPackageJSONUrl.pathname) { break; - default: - throw new invalid_doc_error_default(doc2); + } } - return doc2; -} -function cleanDoc(doc2) { - return mapDoc(doc2, (currentDoc) => cleanDocFn(currentDoc)); + const packageJSONPath = fileURLToPath2(packageJSONUrl); + return { + pjsonPath: packageJSONPath, + exists: false, + type: "none" + }; } -function inheritLabel(doc2, fn) { - return doc2.type === DOC_TYPE_LABEL ? { - ...doc2, - contents: fn(doc2.contents) - } : fn(doc2); +function getPackageType(url2) { + return getPackageScopeConfig(url2).type; } -// src/document/printer.js -var MODE_BREAK = Symbol("MODE_BREAK"); -var MODE_FLAT = Symbol("MODE_FLAT"); -var CURSOR_PLACEHOLDER = Symbol("cursor"); -function rootIndent() { - return { - value: "", - length: 0, - queue: [] - }; +// node_modules/import-meta-resolve/lib/get-format.js +var { ERR_UNKNOWN_FILE_EXTENSION } = codes; +var hasOwnProperty2 = {}.hasOwnProperty; +var extensionFormatMap = { + // @ts-expect-error: hush. + __proto__: null, + ".cjs": "commonjs", + ".js": "module", + ".json": "json", + ".mjs": "module" +}; +function mimeToFormat(mime) { + if (mime && /\s*(text|application)\/javascript\s*(;\s*charset=utf-?8\s*)?/i.test(mime)) + return "module"; + if (mime === "application/json") return "json"; + return null; } -function makeIndent(ind, options8) { - return generateInd(ind, { - type: "indent" - }, options8); +var protocolHandlers = { + // @ts-expect-error: hush. + __proto__: null, + "data:": getDataProtocolModuleFormat, + "file:": getFileProtocolModuleFormat, + "http:": getHttpProtocolModuleFormat, + "https:": getHttpProtocolModuleFormat, + "node:"() { + return "builtin"; + } +}; +function getDataProtocolModuleFormat(parsed) { + const { 1: mime } = /^([^/]+\/[^;,]+)[^,]*?(;base64)?,/.exec( + parsed.pathname + ) || [null, null, null]; + return mimeToFormat(mime); } -function makeAlign(indent2, widthOrDoc, options8) { - if (widthOrDoc === Number.NEGATIVE_INFINITY) { - return indent2.root || rootIndent(); +function extname(url2) { + const pathname = url2.pathname; + let index = pathname.length; + while (index--) { + const code = pathname.codePointAt(index); + if (code === 47) { + return ""; + } + if (code === 46) { + return pathname.codePointAt(index - 1) === 47 ? "" : pathname.slice(index); + } } - if (widthOrDoc < 0) { - return generateInd(indent2, { - type: "dedent" - }, options8); + return ""; +} +function getFileProtocolModuleFormat(url2, _context, ignoreErrors) { + const value = extname(url2); + if (value === ".js") { + const packageType = getPackageType(url2); + if (packageType !== "none") { + return packageType; + } + return "commonjs"; } - if (!widthOrDoc) { - return indent2; + if (value === "") { + const packageType = getPackageType(url2); + if (packageType === "none" || packageType === "commonjs") { + return "commonjs"; + } + return "module"; } - if (widthOrDoc.type === "root") { - return { - ...indent2, - root: indent2 - }; + const format3 = extensionFormatMap[value]; + if (format3) return format3; + if (ignoreErrors) { + return void 0; } - const alignType = typeof widthOrDoc === "string" ? "stringAlign" : "numberAlign"; - return generateInd(indent2, { - type: alignType, - n: widthOrDoc - }, options8); + const filepath = fileURLToPath3(url2); + throw new ERR_UNKNOWN_FILE_EXTENSION(value, filepath); } -function generateInd(ind, newPart, options8) { - const queue = newPart.type === "dedent" ? ind.queue.slice(0, -1) : [...ind.queue, newPart]; - let value = ""; - let length = 0; - let lastTabs = 0; - let lastSpaces = 0; - for (const part of queue) { - switch (part.type) { - case "indent": - flush(); - if (options8.useTabs) { - addTabs(1); - } else { - addSpaces(options8.tabWidth); - } - break; - case "stringAlign": - flush(); - value += part.n; - length += part.n.length; - break; - case "numberAlign": - lastTabs += 1; - lastSpaces += part.n; - break; - default: - throw new Error(`Unexpected type '${part.type}'`); +function getHttpProtocolModuleFormat() { +} +function defaultGetFormatWithoutErrors(url2, context) { + const protocol = url2.protocol; + if (!hasOwnProperty2.call(protocolHandlers, protocol)) { + return null; + } + return protocolHandlers[protocol](url2, context, true) || null; +} + +// node_modules/import-meta-resolve/lib/utils.js +var { ERR_INVALID_ARG_VALUE } = codes; +var DEFAULT_CONDITIONS = Object.freeze(["node", "import"]); +var DEFAULT_CONDITIONS_SET = new Set(DEFAULT_CONDITIONS); +function getDefaultConditions() { + return DEFAULT_CONDITIONS; +} +function getDefaultConditionsSet() { + return DEFAULT_CONDITIONS_SET; +} +function getConditionsSet(conditions) { + if (conditions !== void 0 && conditions !== getDefaultConditions()) { + if (!Array.isArray(conditions)) { + throw new ERR_INVALID_ARG_VALUE( + "conditions", + conditions, + "expected an array" + ); + } + return new Set(conditions); + } + return getDefaultConditionsSet(); +} + +// node_modules/import-meta-resolve/lib/resolve.js +var RegExpPrototypeSymbolReplace = RegExp.prototype[Symbol.replace]; +var { + ERR_NETWORK_IMPORT_DISALLOWED, + ERR_INVALID_MODULE_SPECIFIER, + ERR_INVALID_PACKAGE_CONFIG: ERR_INVALID_PACKAGE_CONFIG2, + ERR_INVALID_PACKAGE_TARGET, + ERR_MODULE_NOT_FOUND, + ERR_PACKAGE_IMPORT_NOT_DEFINED, + ERR_PACKAGE_PATH_NOT_EXPORTED, + ERR_UNSUPPORTED_DIR_IMPORT, + ERR_UNSUPPORTED_RESOLVE_REQUEST +} = codes; +var own2 = {}.hasOwnProperty; +var invalidSegmentRegEx = /(^|\\|\/)((\.|%2e)(\.|%2e)?|(n|%6e|%4e)(o|%6f|%4f)(d|%64|%44)(e|%65|%45)(_|%5f)(m|%6d|%4d)(o|%6f|%4f)(d|%64|%44)(u|%75|%55)(l|%6c|%4c)(e|%65|%45)(s|%73|%53))?(\\|\/|$)/i; +var deprecatedInvalidSegmentRegEx = /(^|\\|\/)((\.|%2e)(\.|%2e)?|(n|%6e|%4e)(o|%6f|%4f)(d|%64|%44)(e|%65|%45)(_|%5f)(m|%6d|%4d)(o|%6f|%4f)(d|%64|%44)(u|%75|%55)(l|%6c|%4c)(e|%65|%45)(s|%73|%53))(\\|\/|$)/i; +var invalidPackageNameRegEx = /^\.|%|\\/; +var patternRegEx = /\*/g; +var encodedSeparatorRegEx = /%2f|%5c/i; +var emittedPackageWarnings = /* @__PURE__ */ new Set(); +var doubleSlashRegEx = /[/\\]{2}/; +function emitInvalidSegmentDeprecation(target, request, match, packageJsonUrl, internal, base, isTarget) { + if (process3.noDeprecation) { + return; + } + const pjsonPath = fileURLToPath4(packageJsonUrl); + const double = doubleSlashRegEx.exec(isTarget ? target : request) !== null; + process3.emitWarning( + `Use of deprecated ${double ? "double slash" : "leading or trailing slash matching"} resolving "${target}" for module request "${request}" ${request === match ? "" : `matched to "${match}" `}in the "${internal ? "imports" : "exports"}" field module resolution of the package at ${pjsonPath}${base ? ` imported from ${fileURLToPath4(base)}` : ""}.`, + "DeprecationWarning", + "DEP0166" + ); +} +function emitLegacyIndexDeprecation(url2, packageJsonUrl, base, main) { + if (process3.noDeprecation) { + return; + } + const format3 = defaultGetFormatWithoutErrors(url2, { parentURL: base.href }); + if (format3 !== "module") return; + const urlPath = fileURLToPath4(url2.href); + const packagePath = fileURLToPath4(new URL2(".", packageJsonUrl)); + const basePath = fileURLToPath4(base); + if (!main) { + process3.emitWarning( + `No "main" or "exports" field defined in the package.json for ${packagePath} resolving the main entry point "${urlPath.slice( + packagePath.length + )}", imported from ${basePath}. +Default "index" lookups for the main are deprecated for ES modules.`, + "DeprecationWarning", + "DEP0151" + ); + } else if (path6.resolve(packagePath, main) !== urlPath) { + process3.emitWarning( + `Package ${packagePath} has a "main" field set to "${main}", excluding the full filename and extension to the resolved file at "${urlPath.slice( + packagePath.length + )}", imported from ${basePath}. + Automatic extension resolution of the "main" field is deprecated for ES modules.`, + "DeprecationWarning", + "DEP0151" + ); + } +} +function tryStatSync(path13) { + try { + return statSync(path13); + } catch { + } +} +function fileExists(url2) { + const stats = statSync(url2, { throwIfNoEntry: false }); + const isFile2 = stats ? stats.isFile() : void 0; + return isFile2 === null || isFile2 === void 0 ? false : isFile2; +} +function legacyMainResolve(packageJsonUrl, packageConfig, base) { + let guess; + if (packageConfig.main !== void 0) { + guess = new URL2(packageConfig.main, packageJsonUrl); + if (fileExists(guess)) return guess; + const tries2 = [ + `./${packageConfig.main}.js`, + `./${packageConfig.main}.json`, + `./${packageConfig.main}.node`, + `./${packageConfig.main}/index.js`, + `./${packageConfig.main}/index.json`, + `./${packageConfig.main}/index.node` + ]; + let i2 = -1; + while (++i2 < tries2.length) { + guess = new URL2(tries2[i2], packageJsonUrl); + if (fileExists(guess)) break; + guess = void 0; + } + if (guess) { + emitLegacyIndexDeprecation( + guess, + packageJsonUrl, + base, + packageConfig.main + ); + return guess; } } - flushSpaces(); - return { - ...ind, - value, - length, - queue - }; - function addTabs(count) { - value += " ".repeat(count); - length += options8.tabWidth * count; + const tries = ["./index.js", "./index.json", "./index.node"]; + let i = -1; + while (++i < tries.length) { + guess = new URL2(tries[i], packageJsonUrl); + if (fileExists(guess)) break; + guess = void 0; } - function addSpaces(count) { - value += " ".repeat(count); - length += count; + if (guess) { + emitLegacyIndexDeprecation(guess, packageJsonUrl, base, packageConfig.main); + return guess; } - function flush() { - if (options8.useTabs) { - flushTabs(); - } else { - flushSpaces(); - } + throw new ERR_MODULE_NOT_FOUND( + fileURLToPath4(new URL2(".", packageJsonUrl)), + fileURLToPath4(base) + ); +} +function finalizeResolution(resolved, base, preserveSymlinks) { + if (encodedSeparatorRegEx.exec(resolved.pathname) !== null) { + throw new ERR_INVALID_MODULE_SPECIFIER( + resolved.pathname, + 'must not include encoded "/" or "\\" characters', + fileURLToPath4(base) + ); } - function flushTabs() { - if (lastTabs > 0) { - addTabs(lastTabs); - } - resetLast(); + let filePath; + try { + filePath = fileURLToPath4(resolved); + } catch (error) { + const cause = ( + /** @type {ErrnoException} */ + error + ); + Object.defineProperty(cause, "input", { value: String(resolved) }); + Object.defineProperty(cause, "module", { value: String(base) }); + throw cause; } - function flushSpaces() { - if (lastSpaces > 0) { - addSpaces(lastSpaces); - } - resetLast(); + const stats = tryStatSync( + filePath.endsWith("/") ? filePath.slice(-1) : filePath + ); + if (stats && stats.isDirectory()) { + const error = new ERR_UNSUPPORTED_DIR_IMPORT(filePath, fileURLToPath4(base)); + error.url = String(resolved); + throw error; } - function resetLast() { - lastTabs = 0; - lastSpaces = 0; + if (!stats || !stats.isFile()) { + const error = new ERR_MODULE_NOT_FOUND( + filePath || resolved.pathname, + base && fileURLToPath4(base), + true + ); + error.url = String(resolved); + throw error; + } + if (!preserveSymlinks) { + const real = realpathSync(filePath); + const { search, hash } = resolved; + resolved = pathToFileURL3(real + (filePath.endsWith(path6.sep) ? "/" : "")); + resolved.search = search; + resolved.hash = hash; } + return resolved; } -function trim(out) { - let trimCount = 0; - let cursorCount = 0; - let outIndex = out.length; - outer: - while (outIndex--) { - const last = out[outIndex]; - if (last === CURSOR_PLACEHOLDER) { - cursorCount++; - continue; - } - if (false) { - throw new Error(`Unexpected value in trim: '${typeof last}'`); +function importNotDefined(specifier, packageJsonUrl, base) { + return new ERR_PACKAGE_IMPORT_NOT_DEFINED( + specifier, + packageJsonUrl && fileURLToPath4(new URL2(".", packageJsonUrl)), + fileURLToPath4(base) + ); +} +function exportsNotFound(subpath, packageJsonUrl, base) { + return new ERR_PACKAGE_PATH_NOT_EXPORTED( + fileURLToPath4(new URL2(".", packageJsonUrl)), + subpath, + base && fileURLToPath4(base) + ); +} +function throwInvalidSubpath(request, match, packageJsonUrl, internal, base) { + const reason = `request is not a valid match in pattern "${match}" for the "${internal ? "imports" : "exports"}" resolution of ${fileURLToPath4(packageJsonUrl)}`; + throw new ERR_INVALID_MODULE_SPECIFIER( + request, + reason, + base && fileURLToPath4(base) + ); +} +function invalidPackageTarget(subpath, target, packageJsonUrl, internal, base) { + target = typeof target === "object" && target !== null ? JSON.stringify(target, null, "") : `${target}`; + return new ERR_INVALID_PACKAGE_TARGET( + fileURLToPath4(new URL2(".", packageJsonUrl)), + subpath, + target, + internal, + base && fileURLToPath4(base) + ); +} +function resolvePackageTargetString(target, subpath, match, packageJsonUrl, base, pattern, internal, isPathMap, conditions) { + if (subpath !== "" && !pattern && target[target.length - 1] !== "/") + throw invalidPackageTarget(match, target, packageJsonUrl, internal, base); + if (!target.startsWith("./")) { + if (internal && !target.startsWith("../") && !target.startsWith("/")) { + let isURL2 = false; + try { + new URL2(target); + isURL2 = true; + } catch { } - for (let charIndex = last.length - 1; charIndex >= 0; charIndex--) { - const char = last[charIndex]; - if (char === " " || char === " ") { - trimCount++; - } else { - out[outIndex] = last.slice(0, charIndex + 1); - break outer; - } + if (!isURL2) { + const exportTarget = pattern ? RegExpPrototypeSymbolReplace.call( + patternRegEx, + target, + () => subpath + ) : target + subpath; + return packageResolve(exportTarget, packageJsonUrl, conditions); } } - if (trimCount > 0 || cursorCount > 0) { - out.length = outIndex + 1; - while (cursorCount-- > 0) { - out.push(CURSOR_PLACEHOLDER); - } - } - return trimCount; -} -function fits(next, restCommands, width, hasLineSuffix, groupModeMap, mustBeFlat) { - if (width === Number.POSITIVE_INFINITY) { - return true; + throw invalidPackageTarget(match, target, packageJsonUrl, internal, base); } - let restIdx = restCommands.length; - const cmds = [next]; - const out = []; - while (width >= 0) { - if (cmds.length === 0) { - if (restIdx === 0) { - return true; + if (invalidSegmentRegEx.exec(target.slice(2)) !== null) { + if (deprecatedInvalidSegmentRegEx.exec(target.slice(2)) === null) { + if (!isPathMap) { + const request = pattern ? match.replace("*", () => subpath) : match + subpath; + const resolvedTarget = pattern ? RegExpPrototypeSymbolReplace.call( + patternRegEx, + target, + () => subpath + ) : target; + emitInvalidSegmentDeprecation( + resolvedTarget, + request, + match, + packageJsonUrl, + internal, + base, + true + ); } - cmds.push(restCommands[--restIdx]); - continue; + } else { + throw invalidPackageTarget(match, target, packageJsonUrl, internal, base); } - const { - mode, - doc: doc2 - } = cmds.pop(); - switch (get_doc_type_default(doc2)) { - case DOC_TYPE_STRING: - out.push(doc2); - width -= get_string_width_default(doc2); - break; - case DOC_TYPE_ARRAY: - case DOC_TYPE_FILL: { - const parts = getDocParts(doc2); - for (let i = parts.length - 1; i >= 0; i--) { - cmds.push({ - mode, - doc: parts[i] - }); - } - break; - } - case DOC_TYPE_INDENT: - case DOC_TYPE_ALIGN: - case DOC_TYPE_INDENT_IF_BREAK: - case DOC_TYPE_LABEL: - cmds.push({ - mode, - doc: doc2.contents - }); - break; - case DOC_TYPE_TRIM: - width += trim(out); - break; - case DOC_TYPE_GROUP: { - if (mustBeFlat && doc2.break) { - return false; - } - const groupMode = doc2.break ? MODE_BREAK : mode; - const contents = doc2.expandedStates && groupMode === MODE_BREAK ? at_default( - /* isOptionalObject*/ - false, - doc2.expandedStates, - -1 - ) : doc2.contents; - cmds.push({ - mode: groupMode, - doc: contents - }); - break; - } - case DOC_TYPE_IF_BREAK: { - const groupMode = doc2.groupId ? groupModeMap[doc2.groupId] || MODE_FLAT : mode; - const contents = groupMode === MODE_BREAK ? doc2.breakContents : doc2.flatContents; - if (contents) { - cmds.push({ - mode, - doc: contents - }); - } - break; + } + const resolved = new URL2(target, packageJsonUrl); + const resolvedPath = resolved.pathname; + const packagePath = new URL2(".", packageJsonUrl).pathname; + if (!resolvedPath.startsWith(packagePath)) + throw invalidPackageTarget(match, target, packageJsonUrl, internal, base); + if (subpath === "") return resolved; + if (invalidSegmentRegEx.exec(subpath) !== null) { + const request = pattern ? match.replace("*", () => subpath) : match + subpath; + if (deprecatedInvalidSegmentRegEx.exec(subpath) === null) { + if (!isPathMap) { + const resolvedTarget = pattern ? RegExpPrototypeSymbolReplace.call( + patternRegEx, + target, + () => subpath + ) : target; + emitInvalidSegmentDeprecation( + resolvedTarget, + request, + match, + packageJsonUrl, + internal, + base, + false + ); } - case DOC_TYPE_LINE: - if (mode === MODE_BREAK || doc2.hard) { - return true; - } - if (!doc2.soft) { - out.push(" "); - width--; - } - break; - case DOC_TYPE_LINE_SUFFIX: - hasLineSuffix = true; - break; - case DOC_TYPE_LINE_SUFFIX_BOUNDARY: - if (hasLineSuffix) { - return false; - } - break; + } else { + throwInvalidSubpath(request, match, packageJsonUrl, internal, base); } } - return false; + if (pattern) { + return new URL2( + RegExpPrototypeSymbolReplace.call( + patternRegEx, + resolved.href, + () => subpath + ) + ); + } + return new URL2(subpath, resolved); } -function printDocToString(doc2, options8) { - const groupModeMap = {}; - const width = options8.printWidth; - const newLine = convertEndOfLineToChars(options8.endOfLine); - let pos = 0; - const cmds = [{ - ind: rootIndent(), - mode: MODE_BREAK, - doc: doc2 - }]; - const out = []; - let shouldRemeasure = false; - const lineSuffix2 = []; - let printedCursorCount = 0; - propagateBreaks(doc2); - while (cmds.length > 0) { - const { - ind, - mode, - doc: doc3 - } = cmds.pop(); - switch (get_doc_type_default(doc3)) { - case DOC_TYPE_STRING: { - const formatted = newLine !== "\n" ? string_replace_all_default( - /* isOptionalObject*/ - false, - doc3, - "\n", - newLine - ) : doc3; - out.push(formatted); - if (cmds.length > 0) { - pos += get_string_width_default(formatted); - } - break; - } - case DOC_TYPE_ARRAY: - for (let i = doc3.length - 1; i >= 0; i--) { - cmds.push({ - ind, - mode, - doc: doc3[i] - }); - } - break; - case DOC_TYPE_CURSOR: - if (printedCursorCount >= 2) { - throw new Error("There are too many 'cursor' in doc."); - } - out.push(CURSOR_PLACEHOLDER); - printedCursorCount++; - break; - case DOC_TYPE_INDENT: - cmds.push({ - ind: makeIndent(ind, options8), - mode, - doc: doc3.contents - }); - break; - case DOC_TYPE_ALIGN: - cmds.push({ - ind: makeAlign(ind, doc3.n, options8), - mode, - doc: doc3.contents - }); - break; - case DOC_TYPE_TRIM: - pos -= trim(out); - break; - case DOC_TYPE_GROUP: - switch (mode) { - case MODE_FLAT: - if (!shouldRemeasure) { - cmds.push({ - ind, - mode: doc3.break ? MODE_BREAK : MODE_FLAT, - doc: doc3.contents - }); - break; - } - case MODE_BREAK: { - shouldRemeasure = false; - const next = { - ind, - mode: MODE_FLAT, - doc: doc3.contents - }; - const rem = width - pos; - const hasLineSuffix = lineSuffix2.length > 0; - if (!doc3.break && fits(next, cmds, rem, hasLineSuffix, groupModeMap)) { - cmds.push(next); - } else { - if (doc3.expandedStates) { - const mostExpanded = at_default( - /* isOptionalObject*/ - false, - doc3.expandedStates, - -1 - ); - if (doc3.break) { - cmds.push({ - ind, - mode: MODE_BREAK, - doc: mostExpanded - }); - break; - } else { - for (let i = 1; i < doc3.expandedStates.length + 1; i++) { - if (i >= doc3.expandedStates.length) { - cmds.push({ - ind, - mode: MODE_BREAK, - doc: mostExpanded - }); - break; - } else { - const state = doc3.expandedStates[i]; - const cmd = { - ind, - mode: MODE_FLAT, - doc: state - }; - if (fits(cmd, cmds, rem, hasLineSuffix, groupModeMap)) { - cmds.push(cmd); - break; - } - } - } - } - } else { - cmds.push({ - ind, - mode: MODE_BREAK, - doc: doc3.contents - }); - } - } - break; - } - } - if (doc3.id) { - groupModeMap[doc3.id] = at_default( - /* isOptionalObject*/ - false, - cmds, - -1 - ).mode; - } - break; - case DOC_TYPE_FILL: { - const rem = width - pos; - const { - parts - } = doc3; - if (parts.length === 0) { - break; - } - const [content, whitespace] = parts; - const contentFlatCmd = { - ind, - mode: MODE_FLAT, - doc: content - }; - const contentBreakCmd = { - ind, - mode: MODE_BREAK, - doc: content - }; - const contentFits = fits(contentFlatCmd, [], rem, lineSuffix2.length > 0, groupModeMap, true); - if (parts.length === 1) { - if (contentFits) { - cmds.push(contentFlatCmd); - } else { - cmds.push(contentBreakCmd); - } - break; - } - const whitespaceFlatCmd = { - ind, - mode: MODE_FLAT, - doc: whitespace - }; - const whitespaceBreakCmd = { - ind, - mode: MODE_BREAK, - doc: whitespace - }; - if (parts.length === 2) { - if (contentFits) { - cmds.push(whitespaceFlatCmd, contentFlatCmd); - } else { - cmds.push(whitespaceBreakCmd, contentBreakCmd); - } - break; - } - parts.splice(0, 2); - const remainingCmd = { - ind, - mode, - doc: fill(parts) - }; - const secondContent = parts[0]; - const firstAndSecondContentFlatCmd = { - ind, - mode: MODE_FLAT, - doc: [content, whitespace, secondContent] - }; - const firstAndSecondContentFits = fits(firstAndSecondContentFlatCmd, [], rem, lineSuffix2.length > 0, groupModeMap, true); - if (firstAndSecondContentFits) { - cmds.push(remainingCmd, whitespaceFlatCmd, contentFlatCmd); - } else if (contentFits) { - cmds.push(remainingCmd, whitespaceBreakCmd, contentFlatCmd); - } else { - cmds.push(remainingCmd, whitespaceBreakCmd, contentBreakCmd); - } - break; +function isArrayIndex(key2) { + const keyNumber = Number(key2); + if (`${keyNumber}` !== key2) return false; + return keyNumber >= 0 && keyNumber < 4294967295; +} +function resolvePackageTarget(packageJsonUrl, target, subpath, packageSubpath, base, pattern, internal, isPathMap, conditions) { + if (typeof target === "string") { + return resolvePackageTargetString( + target, + subpath, + packageSubpath, + packageJsonUrl, + base, + pattern, + internal, + isPathMap, + conditions + ); + } + if (Array.isArray(target)) { + const targetList = target; + if (targetList.length === 0) return null; + let lastException; + let i = -1; + while (++i < targetList.length) { + const targetItem = targetList[i]; + let resolveResult; + try { + resolveResult = resolvePackageTarget( + packageJsonUrl, + targetItem, + subpath, + packageSubpath, + base, + pattern, + internal, + isPathMap, + conditions + ); + } catch (error) { + const exception2 = ( + /** @type {ErrnoException} */ + error + ); + lastException = exception2; + if (exception2.code === "ERR_INVALID_PACKAGE_TARGET") continue; + throw error; } - case DOC_TYPE_IF_BREAK: - case DOC_TYPE_INDENT_IF_BREAK: { - const groupMode = doc3.groupId ? groupModeMap[doc3.groupId] : mode; - if (groupMode === MODE_BREAK) { - const breakContents = doc3.type === DOC_TYPE_IF_BREAK ? doc3.breakContents : doc3.negate ? doc3.contents : indent(doc3.contents); - if (breakContents) { - cmds.push({ - ind, - mode, - doc: breakContents - }); - } - } - if (groupMode === MODE_FLAT) { - const flatContents = doc3.type === DOC_TYPE_IF_BREAK ? doc3.flatContents : doc3.negate ? indent(doc3.contents) : doc3.contents; - if (flatContents) { - cmds.push({ - ind, - mode, - doc: flatContents - }); - } - } - break; + if (resolveResult === void 0) continue; + if (resolveResult === null) { + lastException = null; + continue; } - case DOC_TYPE_LINE_SUFFIX: - lineSuffix2.push({ - ind, - mode, - doc: doc3.contents - }); - break; - case DOC_TYPE_LINE_SUFFIX_BOUNDARY: - if (lineSuffix2.length > 0) { - cmds.push({ - ind, - mode, - doc: hardlineWithoutBreakParent - }); - } - break; - case DOC_TYPE_LINE: - switch (mode) { - case MODE_FLAT: - if (!doc3.hard) { - if (!doc3.soft) { - out.push(" "); - pos += 1; - } - break; - } else { - shouldRemeasure = true; - } - case MODE_BREAK: - if (lineSuffix2.length > 0) { - cmds.push({ - ind, - mode, - doc: doc3 - }, ...lineSuffix2.reverse()); - lineSuffix2.length = 0; - break; - } - if (doc3.literal) { - if (ind.root) { - out.push(newLine, ind.root.value); - pos = ind.root.length; - } else { - out.push(newLine); - pos = 0; - } - } else { - pos -= trim(out); - out.push(newLine + ind.value); - pos = ind.length; - } - break; - } - break; - case DOC_TYPE_LABEL: - cmds.push({ - ind, - mode, - doc: doc3.contents - }); - break; - case DOC_TYPE_BREAK_PARENT: - break; - default: - throw new invalid_doc_error_default(doc3); + return resolveResult; } - if (cmds.length === 0 && lineSuffix2.length > 0) { - cmds.push(...lineSuffix2.reverse()); - lineSuffix2.length = 0; + if (lastException === void 0 || lastException === null) { + return null; + } + throw lastException; + } + if (typeof target === "object" && target !== null) { + const keys = Object.getOwnPropertyNames(target); + let i = -1; + while (++i < keys.length) { + const key2 = keys[i]; + if (isArrayIndex(key2)) { + throw new ERR_INVALID_PACKAGE_CONFIG2( + fileURLToPath4(packageJsonUrl), + base, + '"exports" cannot contain numeric property keys.' + ); + } + } + i = -1; + while (++i < keys.length) { + const key2 = keys[i]; + if (key2 === "default" || conditions && conditions.has(key2)) { + const conditionalTarget = ( + /** @type {unknown} */ + target[key2] + ); + const resolveResult = resolvePackageTarget( + packageJsonUrl, + conditionalTarget, + subpath, + packageSubpath, + base, + pattern, + internal, + isPathMap, + conditions + ); + if (resolveResult === void 0) continue; + return resolveResult; + } + } + return null; + } + if (target === null) { + return null; + } + throw invalidPackageTarget( + packageSubpath, + target, + packageJsonUrl, + internal, + base + ); +} +function isConditionalExportsMainSugar(exports, packageJsonUrl, base) { + if (typeof exports === "string" || Array.isArray(exports)) return true; + if (typeof exports !== "object" || exports === null) return false; + const keys = Object.getOwnPropertyNames(exports); + let isConditionalSugar = false; + let i = 0; + let keyIndex = -1; + while (++keyIndex < keys.length) { + const key2 = keys[keyIndex]; + const currentIsConditionalSugar = key2 === "" || key2[0] !== "."; + if (i++ === 0) { + isConditionalSugar = currentIsConditionalSugar; + } else if (isConditionalSugar !== currentIsConditionalSugar) { + throw new ERR_INVALID_PACKAGE_CONFIG2( + fileURLToPath4(packageJsonUrl), + base, + `"exports" cannot contain some keys starting with '.' and some not. The exports object must either be an object of package subpath keys or an object of main entry condition name keys only.` + ); + } + } + return isConditionalSugar; +} +function emitTrailingSlashPatternDeprecation(match, pjsonUrl, base) { + if (process3.noDeprecation) { + return; + } + const pjsonPath = fileURLToPath4(pjsonUrl); + if (emittedPackageWarnings.has(pjsonPath + "|" + match)) return; + emittedPackageWarnings.add(pjsonPath + "|" + match); + process3.emitWarning( + `Use of deprecated trailing slash pattern mapping "${match}" in the "exports" field module resolution of the package at ${pjsonPath}${base ? ` imported from ${fileURLToPath4(base)}` : ""}. Mapping specifiers ending in "/" is no longer supported.`, + "DeprecationWarning", + "DEP0155" + ); +} +function packageExportsResolve(packageJsonUrl, packageSubpath, packageConfig, base, conditions) { + let exports = packageConfig.exports; + if (isConditionalExportsMainSugar(exports, packageJsonUrl, base)) { + exports = { ".": exports }; + } + if (own2.call(exports, packageSubpath) && !packageSubpath.includes("*") && !packageSubpath.endsWith("/")) { + const target = exports[packageSubpath]; + const resolveResult = resolvePackageTarget( + packageJsonUrl, + target, + "", + packageSubpath, + base, + false, + false, + false, + conditions + ); + if (resolveResult === null || resolveResult === void 0) { + throw exportsNotFound(packageSubpath, packageJsonUrl, base); + } + return resolveResult; + } + let bestMatch = ""; + let bestMatchSubpath = ""; + const keys = Object.getOwnPropertyNames(exports); + let i = -1; + while (++i < keys.length) { + const key2 = keys[i]; + const patternIndex = key2.indexOf("*"); + if (patternIndex !== -1 && packageSubpath.startsWith(key2.slice(0, patternIndex))) { + if (packageSubpath.endsWith("/")) { + emitTrailingSlashPatternDeprecation( + packageSubpath, + packageJsonUrl, + base + ); + } + const patternTrailer = key2.slice(patternIndex + 1); + if (packageSubpath.length >= key2.length && packageSubpath.endsWith(patternTrailer) && patternKeyCompare(bestMatch, key2) === 1 && key2.lastIndexOf("*") === patternIndex) { + bestMatch = key2; + bestMatchSubpath = packageSubpath.slice( + patternIndex, + packageSubpath.length - patternTrailer.length + ); + } + } + } + if (bestMatch) { + const target = ( + /** @type {unknown} */ + exports[bestMatch] + ); + const resolveResult = resolvePackageTarget( + packageJsonUrl, + target, + bestMatchSubpath, + bestMatch, + base, + true, + false, + packageSubpath.endsWith("/"), + conditions + ); + if (resolveResult === null || resolveResult === void 0) { + throw exportsNotFound(packageSubpath, packageJsonUrl, base); } + return resolveResult; } - const cursorPlaceholderIndex = out.indexOf(CURSOR_PLACEHOLDER); - if (cursorPlaceholderIndex !== -1) { - const otherCursorPlaceholderIndex = out.indexOf(CURSOR_PLACEHOLDER, cursorPlaceholderIndex + 1); - const beforeCursor = out.slice(0, cursorPlaceholderIndex).join(""); - const aroundCursor = out.slice(cursorPlaceholderIndex + 1, otherCursorPlaceholderIndex).join(""); - const afterCursor = out.slice(otherCursorPlaceholderIndex + 1).join(""); - return { - formatted: beforeCursor + aroundCursor + afterCursor, - cursorNodeStart: beforeCursor.length, - cursorNodeText: aroundCursor - }; - } - return { - formatted: out.join("") - }; + throw exportsNotFound(packageSubpath, packageJsonUrl, base); } - -// src/document/debug.js -function flattenDoc(doc2) { - var _a; - if (!doc2) { - return ""; +function patternKeyCompare(a, b) { + const aPatternIndex = a.indexOf("*"); + const bPatternIndex = b.indexOf("*"); + const baseLengthA = aPatternIndex === -1 ? a.length : aPatternIndex + 1; + const baseLengthB = bPatternIndex === -1 ? b.length : bPatternIndex + 1; + if (baseLengthA > baseLengthB) return -1; + if (baseLengthB > baseLengthA) return 1; + if (aPatternIndex === -1) return 1; + if (bPatternIndex === -1) return -1; + if (a.length > b.length) return -1; + if (b.length > a.length) return 1; + return 0; +} +function packageImportsResolve(name, base, conditions) { + if (name === "#" || name.startsWith("#/") || name.endsWith("/")) { + const reason = "is not a valid internal imports specifier name"; + throw new ERR_INVALID_MODULE_SPECIFIER(name, reason, fileURLToPath4(base)); } - if (Array.isArray(doc2)) { - const res = []; - for (const part of doc2) { - if (Array.isArray(part)) { - res.push(...flattenDoc(part)); + let packageJsonUrl; + const packageConfig = getPackageScopeConfig(base); + if (packageConfig.exists) { + packageJsonUrl = pathToFileURL3(packageConfig.pjsonPath); + const imports = packageConfig.imports; + if (imports) { + if (own2.call(imports, name) && !name.includes("*")) { + const resolveResult = resolvePackageTarget( + packageJsonUrl, + imports[name], + "", + name, + base, + false, + true, + false, + conditions + ); + if (resolveResult !== null && resolveResult !== void 0) { + return resolveResult; + } } else { - const flattened = flattenDoc(part); - if (flattened !== "") { - res.push(flattened); + let bestMatch = ""; + let bestMatchSubpath = ""; + const keys = Object.getOwnPropertyNames(imports); + let i = -1; + while (++i < keys.length) { + const key2 = keys[i]; + const patternIndex = key2.indexOf("*"); + if (patternIndex !== -1 && name.startsWith(key2.slice(0, -1))) { + const patternTrailer = key2.slice(patternIndex + 1); + if (name.length >= key2.length && name.endsWith(patternTrailer) && patternKeyCompare(bestMatch, key2) === 1 && key2.lastIndexOf("*") === patternIndex) { + bestMatch = key2; + bestMatchSubpath = name.slice( + patternIndex, + name.length - patternTrailer.length + ); + } + } + } + if (bestMatch) { + const target = imports[bestMatch]; + const resolveResult = resolvePackageTarget( + packageJsonUrl, + target, + bestMatchSubpath, + bestMatch, + base, + true, + true, + false, + conditions + ); + if (resolveResult !== null && resolveResult !== void 0) { + return resolveResult; + } } } } - return res; - } - if (doc2.type === DOC_TYPE_IF_BREAK) { - return { - ...doc2, - breakContents: flattenDoc(doc2.breakContents), - flatContents: flattenDoc(doc2.flatContents) - }; } - if (doc2.type === DOC_TYPE_GROUP) { - return { - ...doc2, - contents: flattenDoc(doc2.contents), - expandedStates: (_a = doc2.expandedStates) == null ? void 0 : _a.map(flattenDoc) - }; + throw importNotDefined(name, packageJsonUrl, base); +} +function parsePackageName(specifier, base) { + let separatorIndex = specifier.indexOf("/"); + let validPackageName = true; + let isScoped = false; + if (specifier[0] === "@") { + isScoped = true; + if (separatorIndex === -1 || specifier.length === 0) { + validPackageName = false; + } else { + separatorIndex = specifier.indexOf("/", separatorIndex + 1); + } } - if (doc2.type === DOC_TYPE_FILL) { - return { type: "fill", parts: doc2.parts.map(flattenDoc) }; + const packageName = separatorIndex === -1 ? specifier : specifier.slice(0, separatorIndex); + if (invalidPackageNameRegEx.exec(packageName) !== null) { + validPackageName = false; } - if (doc2.contents) { - return { ...doc2, contents: flattenDoc(doc2.contents) }; + if (!validPackageName) { + throw new ERR_INVALID_MODULE_SPECIFIER( + specifier, + "is not a valid package name", + fileURLToPath4(base) + ); } - return doc2; + const packageSubpath = "." + (separatorIndex === -1 ? "" : specifier.slice(separatorIndex)); + return { packageName, packageSubpath, isScoped }; } -function printDocToDebug(doc2) { - const printedSymbols = /* @__PURE__ */ Object.create(null); - const usedKeysForSymbols = /* @__PURE__ */ new Set(); - return printDoc(flattenDoc(doc2)); - function printDoc(doc3, index, parentParts) { - var _a, _b; - if (typeof doc3 === "string") { - return JSON.stringify(doc3); - } - if (Array.isArray(doc3)) { - const printed = doc3.map(printDoc).filter(Boolean); - return printed.length === 1 ? printed[0] : `[${printed.join(", ")}]`; - } - if (doc3.type === DOC_TYPE_LINE) { - const withBreakParent = ((_a = parentParts == null ? void 0 : parentParts[index + 1]) == null ? void 0 : _a.type) === DOC_TYPE_BREAK_PARENT; - if (doc3.literal) { - return withBreakParent ? "literalline" : "literallineWithoutBreakParent"; - } - if (doc3.hard) { - return withBreakParent ? "hardline" : "hardlineWithoutBreakParent"; - } - if (doc3.soft) { - return "softline"; - } - return "line"; - } - if (doc3.type === DOC_TYPE_BREAK_PARENT) { - const afterHardline = ((_b = parentParts == null ? void 0 : parentParts[index - 1]) == null ? void 0 : _b.type) === DOC_TYPE_LINE && parentParts[index - 1].hard; - return afterHardline ? void 0 : "breakParent"; - } - if (doc3.type === DOC_TYPE_TRIM) { - return "trim"; - } - if (doc3.type === DOC_TYPE_INDENT) { - return "indent(" + printDoc(doc3.contents) + ")"; - } - if (doc3.type === DOC_TYPE_ALIGN) { - return doc3.n === Number.NEGATIVE_INFINITY ? "dedentToRoot(" + printDoc(doc3.contents) + ")" : doc3.n < 0 ? "dedent(" + printDoc(doc3.contents) + ")" : doc3.n.type === "root" ? "markAsRoot(" + printDoc(doc3.contents) + ")" : "align(" + JSON.stringify(doc3.n) + ", " + printDoc(doc3.contents) + ")"; - } - if (doc3.type === DOC_TYPE_IF_BREAK) { - return "ifBreak(" + printDoc(doc3.breakContents) + (doc3.flatContents ? ", " + printDoc(doc3.flatContents) : "") + (doc3.groupId ? (!doc3.flatContents ? ', ""' : "") + `, { groupId: ${printGroupId(doc3.groupId)} }` : "") + ")"; - } - if (doc3.type === DOC_TYPE_INDENT_IF_BREAK) { - const optionsParts = []; - if (doc3.negate) { - optionsParts.push("negate: true"); - } - if (doc3.groupId) { - optionsParts.push(`groupId: ${printGroupId(doc3.groupId)}`); - } - const options8 = optionsParts.length > 0 ? `, { ${optionsParts.join(", ")} }` : ""; - return `indentIfBreak(${printDoc(doc3.contents)}${options8})`; - } - if (doc3.type === DOC_TYPE_GROUP) { - const optionsParts = []; - if (doc3.break && doc3.break !== "propagated") { - optionsParts.push("shouldBreak: true"); - } - if (doc3.id) { - optionsParts.push(`id: ${printGroupId(doc3.id)}`); - } - const options8 = optionsParts.length > 0 ? `, { ${optionsParts.join(", ")} }` : ""; - if (doc3.expandedStates) { - return `conditionalGroup([${doc3.expandedStates.map((part) => printDoc(part)).join(",")}]${options8})`; - } - return `group(${printDoc(doc3.contents)}${options8})`; - } - if (doc3.type === DOC_TYPE_FILL) { - return `fill([${doc3.parts.map((part) => printDoc(part)).join(", ")}])`; - } - if (doc3.type === DOC_TYPE_LINE_SUFFIX) { - return "lineSuffix(" + printDoc(doc3.contents) + ")"; - } - if (doc3.type === DOC_TYPE_LINE_SUFFIX_BOUNDARY) { - return "lineSuffixBoundary"; - } - if (doc3.type === DOC_TYPE_LABEL) { - return `label(${JSON.stringify(doc3.label)}, ${printDoc(doc3.contents)})`; +function packageResolve(specifier, base, conditions) { + if (builtinModules.includes(specifier)) { + return new URL2("node:" + specifier); + } + const { packageName, packageSubpath, isScoped } = parsePackageName( + specifier, + base + ); + const packageConfig = getPackageScopeConfig(base); + if (packageConfig.exists) { + const packageJsonUrl2 = pathToFileURL3(packageConfig.pjsonPath); + if (packageConfig.name === packageName && packageConfig.exports !== void 0 && packageConfig.exports !== null) { + return packageExportsResolve( + packageJsonUrl2, + packageSubpath, + packageConfig, + base, + conditions + ); } - throw new Error("Unknown doc type " + doc3.type); } - function printGroupId(id) { - if (typeof id !== "symbol") { - return JSON.stringify(String(id)); + let packageJsonUrl = new URL2( + "./node_modules/" + packageName + "/package.json", + base + ); + let packageJsonPath = fileURLToPath4(packageJsonUrl); + let lastPath; + do { + const stat = tryStatSync(packageJsonPath.slice(0, -13)); + if (!stat || !stat.isDirectory()) { + lastPath = packageJsonPath; + packageJsonUrl = new URL2( + (isScoped ? "../../../../node_modules/" : "../../../node_modules/") + packageName + "/package.json", + packageJsonUrl + ); + packageJsonPath = fileURLToPath4(packageJsonUrl); + continue; } - if (id in printedSymbols) { - return printedSymbols[id]; + const packageConfig2 = read2(packageJsonPath, { base, specifier }); + if (packageConfig2.exports !== void 0 && packageConfig2.exports !== null) { + return packageExportsResolve( + packageJsonUrl, + packageSubpath, + packageConfig2, + base, + conditions + ); } - const prefix = id.description || "symbol"; - for (let counter = 0; ; counter++) { - const key = prefix + (counter > 0 ? ` #${counter}` : ""); - if (!usedKeysForSymbols.has(key)) { - usedKeysForSymbols.add(key); - return printedSymbols[id] = `Symbol.for(${JSON.stringify(key)})`; - } + if (packageSubpath === ".") { + return legacyMainResolve(packageJsonUrl, packageConfig2, base); } - } + return new URL2(packageSubpath, packageJsonUrl); + } while (packageJsonPath.length !== lastPath.length); + throw new ERR_MODULE_NOT_FOUND(packageName, fileURLToPath4(base), false); } - -// src/utils/get-alignment-size.js -function getAlignmentSize(text, tabWidth, startIndex = 0) { - let size = 0; - for (let i = startIndex; i < text.length; ++i) { - if (text[i] === " ") { - size = size + tabWidth - size % tabWidth; - } else { - size++; +function isRelativeSpecifier(specifier) { + if (specifier[0] === ".") { + if (specifier.length === 1 || specifier[1] === "/") return true; + if (specifier[1] === "." && (specifier.length === 2 || specifier[2] === "/")) { + return true; } } - return size; + return false; } -var get_alignment_size_default = getAlignmentSize; - -// src/common/errors.js -var errors_exports = {}; -__export(errors_exports, { - ArgExpansionBailout: () => ArgExpansionBailout, - ConfigError: () => ConfigError, - UndefinedParserError: () => UndefinedParserError -}); -var ConfigError = class extends Error { - name = "ConfigError"; -}; -var UndefinedParserError = class extends Error { - name = "UndefinedParserError"; -}; -var ArgExpansionBailout = class extends Error { - name = "ArgExpansionBailout"; -}; - -// src/main/core-options.evaluate.js -var core_options_evaluate_default = { - "cursorOffset": { - "category": "Special", - "type": "int", - "default": -1, - "range": { - "start": -1, - "end": Infinity, - "step": 1 - }, - "description": "Print (to stderr) where a cursor at the given position would move to after formatting.\nThis option cannot be used with --range-start and --range-end.", - "cliCategory": "Editor" - }, - "endOfLine": { - "category": "Global", - "type": "choice", - "default": "lf", - "description": "Which end of line characters to apply.", - "choices": [ - { - "value": "lf", - "description": "Line Feed only (\\n), common on Linux and macOS as well as inside git repos" - }, - { - "value": "crlf", - "description": "Carriage Return + Line Feed characters (\\r\\n), common on Windows" - }, - { - "value": "cr", - "description": "Carriage Return character only (\\r), used very rarely" - }, - { - "value": "auto", - "description": "Maintain existing\n(mixed values within one file are normalised by looking at what's used after the first line)" - } - ] - }, - "filepath": { - "category": "Special", - "type": "path", - "description": "Specify the input filepath. This will be used to do parser inference.", - "cliName": "stdin-filepath", - "cliCategory": "Other", - "cliDescription": "Path to the file to pretend that stdin comes from." - }, - "insertPragma": { - "category": "Special", - "type": "boolean", - "default": false, - "description": "Insert @format pragma into file's first docblock comment.", - "cliCategory": "Other" - }, - "parser": { - "category": "Global", - "type": "choice", - "default": void 0, - "description": "Which parser to use.", - "exception": (value) => typeof value === "string" || typeof value === "function", - "choices": [ - { - "value": "flow", - "description": "Flow" - }, - { - "value": "babel", - "description": "JavaScript" - }, - { - "value": "babel-flow", - "description": "Flow" - }, - { - "value": "babel-ts", - "description": "TypeScript" - }, - { - "value": "typescript", - "description": "TypeScript" - }, - { - "value": "acorn", - "description": "JavaScript" - }, - { - "value": "espree", - "description": "JavaScript" - }, - { - "value": "meriyah", - "description": "JavaScript" - }, - { - "value": "css", - "description": "CSS" - }, - { - "value": "less", - "description": "Less" - }, - { - "value": "scss", - "description": "SCSS" - }, - { - "value": "json", - "description": "JSON" - }, - { - "value": "json5", - "description": "JSON5" - }, - { - "value": "json-stringify", - "description": "JSON.stringify" - }, - { - "value": "graphql", - "description": "GraphQL" - }, - { - "value": "markdown", - "description": "Markdown" - }, - { - "value": "mdx", - "description": "MDX" - }, - { - "value": "vue", - "description": "Vue" - }, - { - "value": "yaml", - "description": "YAML" - }, - { - "value": "glimmer", - "description": "Ember / Handlebars" - }, - { - "value": "html", - "description": "HTML" - }, - { - "value": "angular", - "description": "Angular" - }, - { - "value": "lwc", - "description": "Lightning Web Components" - } - ] - }, - "plugins": { - "type": "path", - "array": true, - "default": [ - { - "value": [] - } - ], - "category": "Global", - "description": "Add a plugin. Multiple plugins can be passed as separate `--plugin`s.", - "exception": (value) => typeof value === "string" || typeof value === "object", - "cliName": "plugin", - "cliCategory": "Config" - }, - "printWidth": { - "category": "Global", - "type": "int", - "default": 80, - "description": "The line length where Prettier will try wrap.", - "range": { - "start": 0, - "end": Infinity, - "step": 1 - } - }, - "rangeEnd": { - "category": "Special", - "type": "int", - "default": Infinity, - "range": { - "start": 0, - "end": Infinity, - "step": 1 - }, - "description": "Format code ending at a given character offset (exclusive).\nThe range will extend forwards to the end of the selected statement.\nThis option cannot be used with --cursor-offset.", - "cliCategory": "Editor" - }, - "rangeStart": { - "category": "Special", - "type": "int", - "default": 0, - "range": { - "start": 0, - "end": Infinity, - "step": 1 - }, - "description": "Format code starting at a given character offset.\nThe range will extend backwards to the start of the first line containing the selected statement.\nThis option cannot be used with --cursor-offset.", - "cliCategory": "Editor" - }, - "requirePragma": { - "category": "Special", - "type": "boolean", - "default": false, - "description": "Require either '@prettier' or '@format' to be present in the file's first docblock comment\nin order for it to be formatted.", - "cliCategory": "Other" - }, - "tabWidth": { - "type": "int", - "category": "Global", - "default": 2, - "description": "Number of spaces per indentation level.", - "range": { - "start": 0, - "end": Infinity, - "step": 1 +function shouldBeTreatedAsRelativeOrAbsolutePath(specifier) { + if (specifier === "") return false; + if (specifier[0] === "/") return true; + return isRelativeSpecifier(specifier); +} +function moduleResolve(specifier, base, conditions, preserveSymlinks) { + const protocol = base.protocol; + const isData = protocol === "data:"; + const isRemote = isData || protocol === "http:" || protocol === "https:"; + let resolved; + if (shouldBeTreatedAsRelativeOrAbsolutePath(specifier)) { + try { + resolved = new URL2(specifier, base); + } catch (error_) { + const error = new ERR_UNSUPPORTED_RESOLVE_REQUEST(specifier, base); + error.cause = error_; + throw error; } - }, - "useTabs": { - "category": "Global", - "type": "boolean", - "default": false, - "description": "Indent with tabs instead of spaces." - }, - "embeddedLanguageFormatting": { - "category": "Global", - "type": "choice", - "default": "auto", - "description": "Control how Prettier formats quoted code embedded in the file.", - "choices": [ - { - "value": "auto", - "description": "Format embedded code if Prettier can automatically identify it." - }, - { - "value": "off", - "description": "Never automatically format embedded code." + } else if (protocol === "file:" && specifier[0] === "#") { + resolved = packageImportsResolve(specifier, base, conditions); + } else { + try { + resolved = new URL2(specifier); + } catch (error_) { + if (isRemote && !builtinModules.includes(specifier)) { + const error = new ERR_UNSUPPORTED_RESOLVE_REQUEST(specifier, base); + error.cause = error_; + throw error; } - ] + resolved = packageResolve(specifier, base, conditions); + } } -}; + assert3(resolved !== void 0, "expected to be defined"); + if (resolved.protocol !== "file:") { + return resolved; + } + return finalizeResolution(resolved, base, preserveSymlinks); +} +function checkIfDisallowedImport(specifier, parsed, parsedParentURL) { + if (parsedParentURL) { + const parentProtocol = parsedParentURL.protocol; + if (parentProtocol === "http:" || parentProtocol === "https:") { + if (shouldBeTreatedAsRelativeOrAbsolutePath(specifier)) { + const parsedProtocol = parsed == null ? void 0 : parsed.protocol; + if (parsedProtocol && parsedProtocol !== "https:" && parsedProtocol !== "http:") { + throw new ERR_NETWORK_IMPORT_DISALLOWED( + specifier, + parsedParentURL, + "remote imports cannot import from a local location." + ); + } + return { url: (parsed == null ? void 0 : parsed.href) || "" }; + } + if (builtinModules.includes(specifier)) { + throw new ERR_NETWORK_IMPORT_DISALLOWED( + specifier, + parsedParentURL, + "remote imports cannot import from a local location." + ); + } + throw new ERR_NETWORK_IMPORT_DISALLOWED( + specifier, + parsedParentURL, + "only relative and absolute specifiers are supported." + ); + } + } +} +function isURL(self) { + return Boolean( + self && typeof self === "object" && "href" in self && typeof self.href === "string" && "protocol" in self && typeof self.protocol === "string" && self.href && self.protocol + ); +} +function throwIfInvalidParentURL(parentURL) { + if (parentURL === void 0) { + return; + } + if (typeof parentURL !== "string" && !isURL(parentURL)) { + throw new codes.ERR_INVALID_ARG_TYPE( + "parentURL", + ["string", "URL"], + parentURL + ); + } +} +function defaultResolve(specifier, context = {}) { + const { parentURL } = context; + assert3(parentURL !== void 0, "expected `parentURL` to be defined"); + throwIfInvalidParentURL(parentURL); + let parsedParentURL; + if (parentURL) { + try { + parsedParentURL = new URL2(parentURL); + } catch { + } + } + let parsed; + let protocol; + try { + parsed = shouldBeTreatedAsRelativeOrAbsolutePath(specifier) ? new URL2(specifier, parsedParentURL) : new URL2(specifier); + protocol = parsed.protocol; + if (protocol === "data:") { + return { url: parsed.href, format: null }; + } + } catch { + } + const maybeReturn = checkIfDisallowedImport( + specifier, + parsed, + parsedParentURL + ); + if (maybeReturn) return maybeReturn; + if (protocol === void 0 && parsed) { + protocol = parsed.protocol; + } + if (protocol === "node:") { + return { url: specifier }; + } + if (parsed && parsed.protocol === "node:") return { url: specifier }; + const conditions = getConditionsSet(context.conditions); + const url2 = moduleResolve(specifier, new URL2(parentURL), conditions, false); + return { + // Do NOT cast `url` to a string: that will work even when there are real + // problems, silencing them + url: url2.href, + format: defaultGetFormatWithoutErrors(url2, { parentURL }) + }; +} -// src/main/support.js -function getSupportInfo({ - plugins = [], - showDeprecated = false -} = {}) { - const languages2 = plugins.flatMap((plugin) => plugin.languages ?? []); - const options8 = []; - for (const option of normalizeOptionSettings(Object.assign({}, ...plugins.map(({ - options: options9 - }) => options9), core_options_evaluate_default))) { - if (!showDeprecated && option.deprecated) { - continue; +// node_modules/import-meta-resolve/index.js +function resolve2(specifier, parent) { + if (!parent) { + throw new Error( + "Please pass `parent`: `import-meta-resolve` cannot ponyfill that" + ); + } + try { + return defaultResolve(specifier, { parentURL: parent }).url; + } catch (error) { + const exception2 = ( + /** @type {ErrnoException} */ + error + ); + if ((exception2.code === "ERR_UNSUPPORTED_DIR_IMPORT" || exception2.code === "ERR_MODULE_NOT_FOUND") && typeof exception2.url === "string") { + return exception2.url; } - if (Array.isArray(option.choices)) { - if (!showDeprecated) { - option.choices = option.choices.filter((choice) => !choice.deprecated); - } - if (option.name === "parser") { - option.choices = [...option.choices, ...collectParsersFromLanguages(option.choices, languages2, plugins)]; + throw error; + } +} + +// src/utils/import-from-file.js +function importFromFile(specifier, parent) { + const url2 = resolve2(specifier, pathToFileURL4(parent).href); + return import(url2); +} +var import_from_file_default = importFromFile; + +// src/utils/require-from-file.js +import { createRequire } from "module"; +function requireFromFile(id, parent) { + const require2 = createRequire(parent); + return require2(id); +} +var require_from_file_default = requireFromFile; + +// src/config/prettier-config/load-external-config.js +var requireErrorCodesShouldBeIgnored = /* @__PURE__ */ new Set([ + "MODULE_NOT_FOUND", + "ERR_REQUIRE_ESM", + "ERR_PACKAGE_PATH_NOT_EXPORTED" +]); +async function loadExternalConfig(externalConfig, configFile) { + try { + return require_from_file_default(externalConfig, configFile); + } catch (error) { + if (!requireErrorCodesShouldBeIgnored.has(error == null ? void 0 : error.code)) { + throw error; + } + } + const module = await import_from_file_default(externalConfig, configFile); + return module.default; +} +var load_external_config_default = loadExternalConfig; + +// src/config/prettier-config/load-config.js +async function loadConfig(configFile) { + const { base: fileName, ext: extension } = path7.parse(configFile); + const load2 = fileName === "package.json" ? loadConfigFromPackageJson : fileName === "package.yaml" ? loadConfigFromPackageYaml : loaders_default[extension]; + if (!load2) { + throw new Error( + `No loader specified for extension "${extension || "noExt"}"` + ); + } + let config = await load2(configFile); + if (!config) { + return; + } + if (typeof config === "string") { + config = await load_external_config_default(config, configFile); + } + if (typeof config !== "object") { + throw new TypeError( + `Config is only allowed to be an object, but received ${typeof config} in "${configFile}"` + ); + } + delete config.$schema; + return config; +} +var load_config_default = loadConfig; + +// src/config/prettier-config/index.js +var loadCache = /* @__PURE__ */ new Map(); +var searchCache = /* @__PURE__ */ new Map(); +function clearPrettierConfigCache() { + loadCache.clear(); + searchCache.clear(); +} +function loadPrettierConfig(configFile, { shouldCache }) { + configFile = path8.resolve(configFile); + if (!shouldCache || !loadCache.has(configFile)) { + loadCache.set(configFile, load_config_default(configFile)); + } + return loadCache.get(configFile); +} +function getSearchFunction(stopDirectory) { + stopDirectory = stopDirectory ? path8.resolve(stopDirectory) : void 0; + if (!searchCache.has(stopDirectory)) { + const searcher2 = config_searcher_default(stopDirectory); + const searchFunction = searcher2.search.bind(searcher2); + searchCache.set(stopDirectory, searchFunction); + } + return searchCache.get(stopDirectory); +} +function searchPrettierConfig(startDirectory, options8 = {}) { + startDirectory = startDirectory ? path8.resolve(startDirectory) : process.cwd(); + const stopDirectory = mockable_default.getPrettierConfigSearchStopDirectory(); + const search = getSearchFunction(stopDirectory); + return search(startDirectory, { shouldCache: options8.shouldCache }); +} + +// src/config/resolve-config.js +function clearCache() { + clearPrettierConfigCache(); + clearEditorconfigCache(); +} +function loadEditorconfig2(file, options8) { + if (!file || !options8.editorconfig) { + return; + } + const shouldCache = options8.useCache; + return loadEditorconfig(file, { shouldCache }); +} +async function loadPrettierConfig2(file, options8) { + const shouldCache = options8.useCache; + let configFile = options8.config; + if (!configFile) { + const directory = file ? path9.dirname(path9.resolve(file)) : void 0; + configFile = await searchPrettierConfig(directory, { shouldCache }); + } + if (!configFile) { + return; + } + const config = await loadPrettierConfig(configFile, { shouldCache }); + return { config, configFile }; +} +async function resolveConfig(fileUrlOrPath, options8) { + options8 = { useCache: true, ...options8 }; + const filePath = toPath(fileUrlOrPath); + const [result, editorConfigured] = await Promise.all([ + loadPrettierConfig2(filePath, options8), + loadEditorconfig2(filePath, options8) + ]); + if (!result && !editorConfigured) { + return null; + } + const merged = { + ...editorConfigured, + ...mergeOverrides(result, filePath) + }; + if (Array.isArray(merged.plugins)) { + merged.plugins = merged.plugins.map( + (value) => typeof value === "string" && value.startsWith(".") ? path9.resolve(path9.dirname(result.configFile), value) : value + ); + } + return merged; +} +async function resolveConfigFile(fileUrlOrPath) { + const directory = fileUrlOrPath ? path9.dirname(path9.resolve(toPath(fileUrlOrPath))) : void 0; + const result = await searchPrettierConfig(directory, { shouldCache: false }); + return result ?? null; +} +function mergeOverrides(configResult, filePath) { + const { config, configFile } = configResult || {}; + const { overrides, ...options8 } = config || {}; + if (filePath && overrides) { + const relativeFilePath = path9.relative(path9.dirname(configFile), filePath); + for (const override of overrides) { + if (pathMatchesGlobs( + relativeFilePath, + override.files, + override.excludeFiles + )) { + Object.assign(options8, override.options); } } - option.pluginDefaults = Object.fromEntries(plugins.filter((plugin) => { - var _a; - return ((_a = plugin.defaultOptions) == null ? void 0 : _a[option.name]) !== void 0; - }).map((plugin) => [plugin.name, plugin.defaultOptions[option.name]])); - options8.push(option); } - return { - languages: languages2, - options: options8 - }; + return options8; +} +function pathMatchesGlobs(filePath, patterns, excludedPatterns) { + const patternList = Array.isArray(patterns) ? patterns : [patterns]; + const [withSlashes, withoutSlashes] = partition_default( + patternList, + (pattern) => pattern.includes("/") + ); + return import_micromatch.default.isMatch(filePath, withoutSlashes, { + ignore: excludedPatterns, + basename: true, + dot: true + }) || import_micromatch.default.isMatch(filePath, withSlashes, { + ignore: excludedPatterns, + basename: false, + dot: true + }); +} + +// scripts/build/shims/string-replace-all.js +var stringReplaceAll2 = (isOptionalObject, original, pattern, replacement) => { + if (isOptionalObject && (original === void 0 || original === null)) { + return; + } + if (original.replaceAll) { + return original.replaceAll(pattern, replacement); + } + if (pattern.global) { + return original.replace(pattern, replacement); + } + return original.split(pattern).join(replacement); +}; +var string_replace_all_default = stringReplaceAll2; + +// src/utils/ignore.js +var import_ignore = __toESM(require_ignore(), 1); +import path10 from "path"; +import url from "url"; +var createIgnore = import_ignore.default.default; +var slash = path10.sep === "\\" ? (filePath) => string_replace_all_default( + /* isOptionalObject */ + false, + filePath, + "\\", + "/" +) : (filePath) => filePath; +function getRelativePath(file, ignoreFile) { + const ignoreFilePath = toPath(ignoreFile); + const filePath = isUrl(file) ? url.fileURLToPath(file) : path10.resolve(file); + return path10.relative( + // If there's an ignore-path set, the filename must be relative to the + // ignore path, not the current working directory. + ignoreFilePath ? path10.dirname(ignoreFilePath) : process.cwd(), + filePath + ); } -function* collectParsersFromLanguages(parserChoices, languages2, plugins) { - const existingParsers = new Set(parserChoices.map((choice) => choice.value)); - for (const language of languages2) { - if (language.parsers) { - for (const parserName of language.parsers) { - if (!existingParsers.has(parserName)) { - existingParsers.add(parserName); - const plugin = plugins.find((plugin2) => plugin2.parsers && Object.prototype.hasOwnProperty.call(plugin2.parsers, parserName)); - let description = language.name; - if (plugin == null ? void 0 : plugin.name) { - description += ` (plugin: ${plugin.name})`; - } - yield { - value: parserName, - description - }; - } - } - } +async function createSingleIsIgnoredFunction(ignoreFile, withNodeModules) { + let content = ""; + if (ignoreFile) { + content += await read_file_default(ignoreFile) ?? ""; + } + if (!withNodeModules) { + content += "\nnode_modules"; + } + if (!content) { + return; } + const ignore = createIgnore({ + allowRelativePaths: true + }).add(content); + return (file) => ignore.ignores(slash(getRelativePath(file, ignoreFile))); } -function normalizeOptionSettings(settings) { - const options8 = []; - for (const [name, originalOption] of Object.entries(settings)) { - const option = { - name, - ...originalOption - }; - if (Array.isArray(option.default)) { - option.default = at_default( - /* isOptionalObject*/ - false, - option.default, - -1 - ).value; - } - options8.push(option); +async function createIsIgnoredFunction(ignoreFiles, withNodeModules) { + if (ignoreFiles.length === 0 && !withNodeModules) { + ignoreFiles = [void 0]; } - return options8; + const isIgnoredFunctions = (await Promise.all(ignoreFiles.map((ignoreFile) => createSingleIsIgnoredFunction(ignoreFile, withNodeModules)))).filter(Boolean); + return (file) => isIgnoredFunctions.some((isIgnored2) => isIgnored2(file)); +} +async function isIgnored(file, options8) { + const { + ignorePath: ignoreFiles, + withNodeModules + } = options8; + const isIgnored2 = await createIsIgnoredFunction(ignoreFiles, withNodeModules); + return isIgnored2(file); } // src/utils/get-interpreter.js var import_n_readlines = __toESM(require_readlines(), 1); -import fs from "fs"; -function getInterpreter(filepath) { - if (typeof filepath !== "string") { - return ""; - } +import fs6 from "fs"; +function getInterpreter(file) { let fd; try { - fd = fs.openSync(filepath, "r"); + fd = fs6.openSync(file, "r"); } catch { - return ""; + return; } try { const liner = new import_n_readlines.default(fd); const firstLine = liner.next().toString("utf8"); - const m1 = firstLine.match(/^#!\/(?:usr\/)?bin\/env\s+(\S+)/); + const m1 = firstLine.match(/^#!\/(?:usr\/)?bin\/env\s+(\S+)/u); if (m1) { return m1[1]; } - const m2 = firstLine.match(/^#!\/(?:usr\/(?:local\/)?)?bin\/(\S+)/); + const m2 = firstLine.match(/^#!\/(?:usr\/(?:local\/)?)?bin\/(\S+)/u); if (m2) { return m2[1]; } - return ""; - } catch { - return ""; } finally { try { - fs.closeSync(fd); + fs6.closeSync(fd); } catch { } } @@ -16682,20 +17799,19 @@ function getInterpreter(filepath) { var get_interpreter_default = getInterpreter; // src/utils/infer-parser.js -var getFileBasename = (file) => file.split(/[/\\]/).pop(); -function getLanguageByFilename(languages2, filename) { - if (!filename) { +var getFileBasename = (file) => String(file).split(/[/\\]/u).pop(); +function getLanguageByFileName(languages2, file) { + if (!file) { return; } - const basename = getFileBasename(filename).toLowerCase(); + const basename = getFileBasename(file).toLowerCase(); return languages2.find( - (language) => { - var _a, _b; - return ((_a = language.extensions) == null ? void 0 : _a.some((extension) => basename.endsWith(extension))) || ((_b = language.filenames) == null ? void 0 : _b.some((name) => name.toLowerCase() === basename)); - } + ({ filenames }) => filenames == null ? void 0 : filenames.some((name) => name.toLowerCase() === basename) + ) ?? languages2.find( + ({ extensions }) => extensions == null ? void 0 : extensions.some((extension) => basename.endsWith(extension)) ); } -function getLanguageByName(languages2, languageName) { +function getLanguageByLanguageName(languages2, languageName) { if (!languageName) { return; } @@ -16710,10 +17826,7 @@ function getLanguageByInterpreter(languages2, file) { return; } return languages2.find( - (language) => { - var _a; - return (_a = language.interpreters) == null ? void 0 : _a.includes(interpreter); - } + ({ interpreters }) => interpreters == null ? void 0 : interpreters.includes(interpreter) ); } function inferParser(options8, fileInfo) { @@ -16723,3780 +17836,3585 @@ function inferParser(options8, fileInfo) { plugin.languages ?? [] ) ); - const language = getLanguageByName(languages2, fileInfo.language) ?? getLanguageByFilename(languages2, fileInfo.physicalFile) ?? getLanguageByFilename(languages2, fileInfo.file) ?? getLanguageByInterpreter(languages2, fileInfo.physicalFile); + const language = getLanguageByLanguageName(languages2, fileInfo.language) ?? getLanguageByFileName(languages2, fileInfo.physicalFile) ?? getLanguageByFileName(languages2, fileInfo.file) ?? getLanguageByInterpreter(languages2, fileInfo.physicalFile); return language == null ? void 0 : language.parsers[0]; } var infer_parser_default = inferParser; -// src/main/normalize-options.js -var import_vnopts = __toESM(require_lib(), 1); -var hasDeprecationWarned; -function normalizeOptions(options8, optionInfos, { - logger = false, - isCLI = false, - passThrough = false, - FlagSchema, - descriptor -} = {}) { - if (isCLI) { - if (!FlagSchema) { - throw new Error("'FlagSchema' option is required."); - } - if (!descriptor) { - throw new Error("'descriptor' option is required."); - } - } else { - descriptor = import_vnopts.default.apiDescriptor; - } - const unknown = !passThrough ? (key, value, options9) => { - const { - _, - ...schemas2 - } = options9.schemas; - return import_vnopts.default.levenUnknownHandler(key, value, { - ...options9, - schemas: schemas2 - }); - } : Array.isArray(passThrough) ? (key, value) => !passThrough.includes(key) ? void 0 : { - [key]: value - } : (key, value) => ({ - [key]: value - }); - const schemas = optionInfosToSchemas(optionInfos, { - isCLI, - FlagSchema - }); - const normalizer = new import_vnopts.default.Normalizer(schemas, { - logger, - unknown, - descriptor - }); - const shouldSuppressDuplicateDeprecationWarnings = logger !== false; - if (shouldSuppressDuplicateDeprecationWarnings && hasDeprecationWarned) { - normalizer._hasDeprecationWarned = hasDeprecationWarned; - } - const normalized = normalizer.normalize(options8); - if (shouldSuppressDuplicateDeprecationWarnings) { - hasDeprecationWarned = normalizer._hasDeprecationWarned; +// src/common/get-file-info.js +async function getFileInfo(file, options8) { + if (typeof file !== "string" && !(file instanceof URL)) { + throw new TypeError( + `expect \`file\` to be a string or URL, got \`${typeof file}\`` + ); } - return normalized; -} -function optionInfosToSchemas(optionInfos, { - isCLI, - FlagSchema -}) { - const schemas = []; - if (isCLI) { - schemas.push(import_vnopts.default.AnySchema.create({ - name: "_" - })); + let { ignorePath, withNodeModules } = options8; + if (!Array.isArray(ignorePath)) { + ignorePath = [ignorePath]; } - for (const optionInfo of optionInfos) { - schemas.push(optionInfoToSchema(optionInfo, { - isCLI, - optionInfos, - FlagSchema - })); - if (optionInfo.alias && isCLI) { - schemas.push(import_vnopts.default.AliasSchema.create({ - // @ts-expect-error - name: optionInfo.alias, - sourceName: optionInfo.name - })); - } + const ignored = await isIgnored(file, { ignorePath, withNodeModules }); + let inferredParser; + if (!ignored) { + inferredParser = await getParser(file, options8); } - return schemas; -} -function optionInfoToSchema(optionInfo, { - isCLI, - optionInfos, - FlagSchema -}) { - const { - name - } = optionInfo; - const parameters = { - name + return { + ignored, + inferredParser: inferredParser ?? null }; - let SchemaConstructor; - const handlers = {}; - switch (optionInfo.type) { - case "int": - SchemaConstructor = import_vnopts.default.IntegerSchema; - if (isCLI) { - parameters.preprocess = Number; - } - break; - case "string": - SchemaConstructor = import_vnopts.default.StringSchema; - break; - case "choice": - SchemaConstructor = import_vnopts.default.ChoiceSchema; - parameters.choices = optionInfo.choices.map((choiceInfo) => (choiceInfo == null ? void 0 : choiceInfo.redirect) ? { - ...choiceInfo, - redirect: { - to: { - key: optionInfo.name, - value: choiceInfo.redirect - } - } - } : choiceInfo); - break; - case "boolean": - SchemaConstructor = import_vnopts.default.BooleanSchema; - break; - case "flag": - SchemaConstructor = FlagSchema; - parameters.flags = optionInfos.flatMap((optionInfo2) => [optionInfo2.alias, optionInfo2.description && optionInfo2.name, optionInfo2.oppositeDescription && `no-${optionInfo2.name}`].filter(Boolean)); - break; - case "path": - SchemaConstructor = import_vnopts.default.StringSchema; - break; - default: - throw new Error(`Unexpected type ${optionInfo.type}`); - } - if (optionInfo.exception) { - parameters.validate = (value, schema, utils) => optionInfo.exception(value) || schema.validate(value, utils); - } else { - parameters.validate = (value, schema, utils) => value === void 0 || schema.validate(value, utils); - } - if (optionInfo.redirect) { - handlers.redirect = (value) => !value ? void 0 : { - to: { - key: optionInfo.redirect.option, - value: optionInfo.redirect.value - } - }; - } - if (optionInfo.deprecated) { - handlers.deprecated = true; - } - if (isCLI && !optionInfo.array) { - const originalPreprocess = parameters.preprocess || ((x) => x); - parameters.preprocess = (value, schema, utils) => schema.preprocess(originalPreprocess(Array.isArray(value) ? at_default( - /* isOptionalObject*/ - false, - value, - -1 - ) : value), utils); - } - return optionInfo.array ? import_vnopts.default.ArraySchema.create({ - ...isCLI ? { - preprocess: (v) => Array.isArray(v) ? v : [v] - } : {}, - ...handlers, - // @ts-expect-error - valueSchema: SchemaConstructor.create(parameters) - }) : SchemaConstructor.create({ - ...parameters, - ...handlers - }); } -var normalize_options_default = normalizeOptions; - -// src/main/parser-and-printer.js -function getParserPluginByParserName(plugins, parserName) { - if (!parserName) { - throw new Error("parserName is required."); - } - for (let index = plugins.length - 1; index >= 0; index--) { - const plugin = plugins[index]; - if (plugin.parsers && Object.prototype.hasOwnProperty.call(plugin.parsers, parserName)) { - return plugin; - } - } - let message = `Couldn't resolve parser "${parserName}".`; - if (false) { - message += " Plugins must be explicitly added to the standalone bundle."; +async function getParser(file, options8) { + let config; + if (options8.resolveConfig !== false) { + config = await resolveConfig(file); } - throw new ConfigError(message); + return (config == null ? void 0 : config.parser) ?? infer_parser_default(options8, { physicalFile: file }); } -function getPrinterPluginByAstFormat(plugins, astFormat) { - if (!astFormat) { - throw new Error("astFormat is required."); - } - for (let index = plugins.length - 1; index >= 0; index--) { - const plugin = plugins[index]; - if (plugin.printers && Object.prototype.hasOwnProperty.call(plugin.printers, astFormat)) { - return plugin; - } - } - let message = `Couldn't find plugin for AST format "${astFormat}".`; - if (false) { - message += " Plugins must be explicitly added to the standalone bundle."; +var get_file_info_default = getFileInfo; + +// src/common/end-of-line.js +function guessEndOfLine(text) { + const index = text.indexOf("\r"); + if (index >= 0) { + return text.charAt(index + 1) === "\n" ? "crlf" : "cr"; } - throw new ConfigError(message); + return "lf"; } -function resolveParser({ - plugins, - parser -}) { - const plugin = getParserPluginByParserName(plugins, parser); - return initParser(plugin, parser); +function convertEndOfLineToChars(value) { + switch (value) { + case "cr": + return "\r"; + case "crlf": + return "\r\n"; + default: + return "\n"; + } } -function initParser(plugin, parserName) { - const parserOrParserInitFunction = plugin.parsers[parserName]; - return typeof parserOrParserInitFunction === "function" ? parserOrParserInitFunction() : parserOrParserInitFunction; +function countEndOfLineChars(text, eol) { + let regex; + switch (eol) { + case "\n": + regex = /\n/gu; + break; + case "\r": + regex = /\r/gu; + break; + case "\r\n": + regex = /\r\n/gu; + break; + default: + throw new Error(`Unexpected "eol" ${JSON.stringify(eol)}.`); + } + const endOfLines = text.match(regex); + return endOfLines ? endOfLines.length : 0; } -function initPrinter(plugin, astFormat) { - const printerOrPrinterInitFunction = plugin.printers[astFormat]; - return typeof printerOrPrinterInitFunction === "function" ? printerOrPrinterInitFunction() : printerOrPrinterInitFunction; +function normalizeEndOfLine(text) { + return string_replace_all_default( + /* isOptionalObject */ + false, + text, + /\r\n?/gu, + "\n" + ); } -// src/main/normalize-format-options.js -var formatOptionsHiddenDefaults = { - astFormat: "estree", - printer: {}, - originalText: void 0, - locStart: null, - locEnd: null -}; -async function normalizeFormatOptions(options8, opts = {}) { - var _a; - const rawOptions = { ...options8 }; - if (!rawOptions.parser) { - if (!rawOptions.filepath) { - throw new UndefinedParserError( - "No parser and no file path given, couldn't infer a parser." - ); - } else { - rawOptions.parser = infer_parser_default(rawOptions, { - physicalFile: rawOptions.filepath - }); - if (!rawOptions.parser) { - throw new UndefinedParserError( - `No parser could be inferred for file "${rawOptions.filepath}".` - ); - } - } +// src/document/constants.js +var DOC_TYPE_STRING = "string"; +var DOC_TYPE_ARRAY = "array"; +var DOC_TYPE_CURSOR = "cursor"; +var DOC_TYPE_INDENT = "indent"; +var DOC_TYPE_ALIGN = "align"; +var DOC_TYPE_TRIM = "trim"; +var DOC_TYPE_GROUP = "group"; +var DOC_TYPE_FILL = "fill"; +var DOC_TYPE_IF_BREAK = "if-break"; +var DOC_TYPE_INDENT_IF_BREAK = "indent-if-break"; +var DOC_TYPE_LINE_SUFFIX = "line-suffix"; +var DOC_TYPE_LINE_SUFFIX_BOUNDARY = "line-suffix-boundary"; +var DOC_TYPE_LINE = "line"; +var DOC_TYPE_LABEL = "label"; +var DOC_TYPE_BREAK_PARENT = "break-parent"; +var VALID_OBJECT_DOC_TYPES = /* @__PURE__ */ new Set([ + DOC_TYPE_CURSOR, + DOC_TYPE_INDENT, + DOC_TYPE_ALIGN, + DOC_TYPE_TRIM, + DOC_TYPE_GROUP, + DOC_TYPE_FILL, + DOC_TYPE_IF_BREAK, + DOC_TYPE_INDENT_IF_BREAK, + DOC_TYPE_LINE_SUFFIX, + DOC_TYPE_LINE_SUFFIX_BOUNDARY, + DOC_TYPE_LINE, + DOC_TYPE_LABEL, + DOC_TYPE_BREAK_PARENT +]); + +// src/document/utils/get-doc-type.js +function getDocType(doc2) { + if (typeof doc2 === "string") { + return DOC_TYPE_STRING; } - const supportOptions = getSupportInfo({ - plugins: options8.plugins, - showDeprecated: true - }).options; - const defaults = { - ...formatOptionsHiddenDefaults, - ...Object.fromEntries( - supportOptions.filter((optionInfo) => optionInfo.default !== void 0).map((option) => [option.name, option.default]) - ) - }; - const parserPlugin = getParserPluginByParserName( - rawOptions.plugins, - rawOptions.parser - ); - const parser = await initParser(parserPlugin, rawOptions.parser); - rawOptions.astFormat = parser.astFormat; - rawOptions.locEnd = parser.locEnd; - rawOptions.locStart = parser.locStart; - const printerPlugin = ((_a = parserPlugin.printers) == null ? void 0 : _a[parser.astFormat]) ? parserPlugin : getPrinterPluginByAstFormat(rawOptions.plugins, parser.astFormat); - const printer = await initPrinter(printerPlugin, parser.astFormat); - rawOptions.printer = printer; - const pluginDefaults = printerPlugin.defaultOptions ? Object.fromEntries( - Object.entries(printerPlugin.defaultOptions).filter( - ([, value]) => value !== void 0 - ) - ) : {}; - const mixedDefaults = { ...defaults, ...pluginDefaults }; - for (const [k, value] of Object.entries(mixedDefaults)) { - if (rawOptions[k] === null || rawOptions[k] === void 0) { - rawOptions[k] = value; - } + if (Array.isArray(doc2)) { + return DOC_TYPE_ARRAY; } - if (rawOptions.parser === "json") { - rawOptions.trailingComma = "none"; + if (!doc2) { + return; + } + const { type: type2 } = doc2; + if (VALID_OBJECT_DOC_TYPES.has(type2)) { + return type2; } - return normalize_options_default(rawOptions, supportOptions, { - passThrough: Object.keys(formatOptionsHiddenDefaults), - ...opts - }); } -var normalize_format_options_default = normalizeFormatOptions; +var get_doc_type_default = getDocType; -// src/main/create-get-visitor-keys-function.js -var nonTraversableKeys = /* @__PURE__ */ new Set([ - "tokens", - "comments", - "parent", - "enclosingNode", - "precedingNode", - "followingNode" -]); -var defaultGetVisitorKeys = (node) => Object.keys(node).filter((key) => !nonTraversableKeys.has(key)); -function createGetVisitorKeysFunction(printerGetVisitorKeys) { - return printerGetVisitorKeys ? (node) => printerGetVisitorKeys(node, nonTraversableKeys) : defaultGetVisitorKeys; +// src/document/invalid-doc-error.js +var disjunctionListFormat = (list) => new Intl.ListFormat("en-US", { type: "disjunction" }).format(list); +function getDocErrorMessage(doc2) { + const type2 = doc2 === null ? "null" : typeof doc2; + if (type2 !== "string" && type2 !== "object") { + return `Unexpected doc '${type2}', +Expected it to be 'string' or 'object'.`; + } + if (get_doc_type_default(doc2)) { + throw new Error("doc is valid."); + } + const objectType = Object.prototype.toString.call(doc2); + if (objectType !== "[object Object]") { + return `Unexpected doc '${objectType}'.`; + } + const EXPECTED_TYPE_VALUES = disjunctionListFormat( + [...VALID_OBJECT_DOC_TYPES].map((type3) => `'${type3}'`) + ); + return `Unexpected doc.type '${doc2.type}'. +Expected it to be ${EXPECTED_TYPE_VALUES}.`; } -var create_get_visitor_keys_function_default = createGetVisitorKeysFunction; +var InvalidDocError = class extends Error { + name = "InvalidDocError"; + constructor(doc2) { + super(getDocErrorMessage(doc2)); + this.doc = doc2; + } +}; +var invalid_doc_error_default = InvalidDocError; -// src/main/massage-ast.js -function massageAst(ast, options8) { - const { - printer: { - massageAstNode: cleanFunction, - getVisitorKeys: printerGetVisitorKeys +// src/document/utils/traverse-doc.js +var traverseDocOnExitStackMarker = {}; +function traverseDoc(doc2, onEnter, onExit, shouldTraverseConditionalGroups) { + const docsStack = [doc2]; + while (docsStack.length > 0) { + const doc3 = docsStack.pop(); + if (doc3 === traverseDocOnExitStackMarker) { + onExit(docsStack.pop()); + continue; } - } = options8; - if (!cleanFunction) { - return ast; - } - const getVisitorKeys = create_get_visitor_keys_function_default(printerGetVisitorKeys); - const ignoredProperties = cleanFunction.ignoredProperties ?? /* @__PURE__ */ new Set(); - return recurse(ast); - function recurse(node, parent) { - if (!(node !== null && typeof node === "object")) { - return node; + if (onExit) { + docsStack.push(doc3, traverseDocOnExitStackMarker); } - if (Array.isArray(node)) { - return node.map((child) => recurse(child, parent)).filter(Boolean); + const docType = get_doc_type_default(doc3); + if (!docType) { + throw new invalid_doc_error_default(doc3); } - const newObj = {}; - const childrenKeys = new Set(getVisitorKeys(node)); - for (const key in node) { - if (!Object.prototype.hasOwnProperty.call(node, key) || ignoredProperties.has(key)) { - continue; - } - if (childrenKeys.has(key)) { - newObj[key] = recurse(node[key], node); - } else { - newObj[key] = node[key]; - } + if ((onEnter == null ? void 0 : onEnter(doc3)) === false) { + continue; } - const result = cleanFunction(node, newObj, parent); - if (result === null) { - return; + switch (docType) { + case DOC_TYPE_ARRAY: + case DOC_TYPE_FILL: { + const parts = docType === DOC_TYPE_ARRAY ? doc3 : doc3.parts; + for (let ic = parts.length, i = ic - 1; i >= 0; --i) { + docsStack.push(parts[i]); + } + break; + } + case DOC_TYPE_IF_BREAK: + docsStack.push(doc3.flatContents, doc3.breakContents); + break; + case DOC_TYPE_GROUP: + if (shouldTraverseConditionalGroups && doc3.expandedStates) { + for (let ic = doc3.expandedStates.length, i = ic - 1; i >= 0; --i) { + docsStack.push(doc3.expandedStates[i]); + } + } else { + docsStack.push(doc3.contents); + } + break; + case DOC_TYPE_ALIGN: + case DOC_TYPE_INDENT: + case DOC_TYPE_INDENT_IF_BREAK: + case DOC_TYPE_LABEL: + case DOC_TYPE_LINE_SUFFIX: + docsStack.push(doc3.contents); + break; + case DOC_TYPE_STRING: + case DOC_TYPE_CURSOR: + case DOC_TYPE_TRIM: + case DOC_TYPE_LINE_SUFFIX_BOUNDARY: + case DOC_TYPE_LINE: + case DOC_TYPE_BREAK_PARENT: + break; + default: + throw new invalid_doc_error_default(doc3); } - return result ?? newObj; } } -var massage_ast_default = massageAst; +var traverse_doc_default = traverseDoc; -// src/main/parse.js -var import_code_frame = __toESM(require_lib4(), 1); -async function parse(originalText, options8) { - const parser = await resolveParser(options8); - const text = parser.preprocess ? parser.preprocess(originalText, options8) : originalText; - options8.originalText = text; - let ast; - try { - ast = await parser.parse( - text, - options8, - // TODO: remove the third argument in v4 - // The duplicated argument is passed as intended, see #10156 - options8 - ); - } catch (error) { - handleParseError(error, originalText); +// src/document/utils/assert-doc.js +var noop = () => { +}; +var assertDoc = true ? noop : function(doc2) { + traverse_doc_default(doc2, (doc3) => { + if (checked.has(doc3)) { + return false; + } + if (typeof doc3 !== "string") { + checked.add(doc3); + } + }); +}; +var assertDocArray = true ? noop : function(docs, optional = false) { + if (optional && !docs) { + return; } - return { text, ast }; + if (!Array.isArray(docs)) { + throw new TypeError("Unexpected doc array."); + } + for (const doc2 of docs) { + assertDoc(doc2); + } +}; + +// src/document/builders.js +function indent(contents) { + assertDoc(contents); + return { type: DOC_TYPE_INDENT, contents }; } -function handleParseError(error, text) { - const { loc } = error; - if (loc) { - const codeFrame = (0, import_code_frame.codeFrameColumns)(text, loc, { highlightCode: true }); - error.message += "\n" + codeFrame; - error.codeFrame = codeFrame; - throw error; +function align(widthOrString, contents) { + assertDoc(contents); + return { type: DOC_TYPE_ALIGN, contents, n: widthOrString }; +} +function fill(parts) { + assertDocArray(parts); + return { type: DOC_TYPE_FILL, parts }; +} +function lineSuffix(contents) { + assertDoc(contents); + return { type: DOC_TYPE_LINE_SUFFIX, contents }; +} +var breakParent = { type: DOC_TYPE_BREAK_PARENT }; +var hardlineWithoutBreakParent = { type: DOC_TYPE_LINE, hard: true }; +var line2 = { type: DOC_TYPE_LINE }; +var hardline = [hardlineWithoutBreakParent, breakParent]; +var cursor = { type: DOC_TYPE_CURSOR }; +function addAlignmentToDoc(doc2, size, tabWidth) { + assertDoc(doc2); + let aligned = doc2; + if (size > 0) { + for (let i = 0; i < Math.floor(size / tabWidth); ++i) { + aligned = indent(aligned); + } + aligned = align(size % tabWidth, aligned); + aligned = align(Number.NEGATIVE_INFINITY, aligned); } - throw error; + return aligned; } -var parse_default = parse; -// src/common/ast-path.js -var _getNodeStackIndex, getNodeStackIndex_fn, _getAncestors, getAncestors_fn; -var AstPath = class { - constructor(value) { - __privateAdd(this, _getNodeStackIndex); - __privateAdd(this, _getAncestors); - this.stack = [value]; - } - /** @type {string | null} */ - get key() { - const { - stack, - siblings - } = this; - return at_default( - /* isOptionalObject*/ - false, - stack, - siblings === null ? -2 : -4 - ) ?? null; - } - /** @type {number | null} */ - get index() { - return this.siblings === null ? null : at_default( - /* isOptionalObject*/ - false, - this.stack, - -2 - ); - } - /** @type {object} */ - get node() { - return at_default( - /* isOptionalObject*/ - false, - this.stack, - -1 - ); - } - /** @type {object | null} */ - get parent() { - return this.getNode(1); - } - /** @type {object | null} */ - get grandparent() { - return this.getNode(2); - } - /** @type {boolean} */ - get isInArray() { - return this.siblings !== null; - } - /** @type {object[] | null} */ - get siblings() { - const { - stack - } = this; - const maybeArray = at_default( - /* isOptionalObject*/ - false, - stack, - -3 - ); - return Array.isArray(maybeArray) ? maybeArray : null; - } - /** @type {object | null} */ - get next() { - const { - siblings - } = this; - return siblings === null ? null : siblings[this.index + 1]; - } - /** @type {object | null} */ - get previous() { - const { - siblings - } = this; - return siblings === null ? null : siblings[this.index - 1]; - } - /** @type {boolean} */ - get isFirst() { - return this.index === 0; - } - /** @type {boolean} */ - get isLast() { - const { - siblings, - index - } = this; - return siblings !== null && index === siblings.length - 1; - } - /** @type {boolean} */ - get isRoot() { - return this.stack.length === 1; - } - /** @type {object} */ - get root() { - return this.stack[0]; - } - /** @type {object[]} */ - get ancestors() { - return [...__privateMethod(this, _getAncestors, getAncestors_fn).call(this)]; +// src/document/debug.js +function flattenDoc(doc2) { + var _a; + if (!doc2) { + return ""; } - // The name of the current property is always the penultimate element of - // this.stack, and always a string/number/symbol. - getName() { - const { - stack - } = this; - const { - length - } = stack; - if (length > 1) { - return at_default( - /* isOptionalObject*/ - false, - stack, - -2 - ); + if (Array.isArray(doc2)) { + const res = []; + for (const part of doc2) { + if (Array.isArray(part)) { + res.push(...flattenDoc(part)); + } else { + const flattened = flattenDoc(part); + if (flattened !== "") { + res.push(flattened); + } + } } - return null; + return res; } - // The value of the current property is always the final element of - // this.stack. - getValue() { - return at_default( - /* isOptionalObject*/ - false, - this.stack, - -1 - ); + if (doc2.type === DOC_TYPE_IF_BREAK) { + return { + ...doc2, + breakContents: flattenDoc(doc2.breakContents), + flatContents: flattenDoc(doc2.flatContents) + }; } - getNode(count = 0) { - const stackIndex = __privateMethod(this, _getNodeStackIndex, getNodeStackIndex_fn).call(this, count); - return stackIndex === -1 ? null : this.stack[stackIndex]; + if (doc2.type === DOC_TYPE_GROUP) { + return { + ...doc2, + contents: flattenDoc(doc2.contents), + expandedStates: (_a = doc2.expandedStates) == null ? void 0 : _a.map(flattenDoc) + }; } - getParentNode(count = 0) { - return this.getNode(count + 1); + if (doc2.type === DOC_TYPE_FILL) { + return { type: "fill", parts: doc2.parts.map(flattenDoc) }; } - // Temporarily push properties named by string arguments given after the - // callback function onto this.stack, then call the callback with a - // reference to this (modified) AstPath object. Note that the stack will - // be restored to its original state after the callback is finished, so it - // is probably a mistake to retain a reference to the path. - call(callback, ...names) { - const { - stack - } = this; - const { - length - } = stack; - let value = at_default( - /* isOptionalObject*/ - false, - stack, - -1 - ); - for (const name of names) { - value = value[name]; - stack.push(name, value); + if (doc2.contents) { + return { ...doc2, contents: flattenDoc(doc2.contents) }; + } + return doc2; +} +function printDocToDebug(doc2) { + const printedSymbols = /* @__PURE__ */ Object.create(null); + const usedKeysForSymbols = /* @__PURE__ */ new Set(); + return printDoc(flattenDoc(doc2)); + function printDoc(doc3, index, parentParts) { + var _a, _b; + if (typeof doc3 === "string") { + return JSON.stringify(doc3); } - try { - return callback(this); - } finally { - stack.length = length; + if (Array.isArray(doc3)) { + const printed = doc3.map(printDoc).filter(Boolean); + return printed.length === 1 ? printed[0] : `[${printed.join(", ")}]`; } - } - callParent(callback, count = 0) { - const stackIndex = __privateMethod(this, _getNodeStackIndex, getNodeStackIndex_fn).call(this, count + 1); - const parentValues = this.stack.splice(stackIndex + 1); - try { - return callback(this); - } finally { - this.stack.push(...parentValues); + if (doc3.type === DOC_TYPE_LINE) { + const withBreakParent = ((_a = parentParts == null ? void 0 : parentParts[index + 1]) == null ? void 0 : _a.type) === DOC_TYPE_BREAK_PARENT; + if (doc3.literal) { + return withBreakParent ? "literalline" : "literallineWithoutBreakParent"; + } + if (doc3.hard) { + return withBreakParent ? "hardline" : "hardlineWithoutBreakParent"; + } + if (doc3.soft) { + return "softline"; + } + return "line"; } - } - // Similar to AstPath.prototype.call, except that the value obtained by - // accessing this.getValue()[name1][name2]... should be array. The - // callback will be called with a reference to this path object for each - // element of the array. - each(callback, ...names) { - const { - stack - } = this; - const { - length - } = stack; - let value = at_default( - /* isOptionalObject*/ - false, - stack, - -1 - ); - for (const name of names) { - value = value[name]; - stack.push(name, value); + if (doc3.type === DOC_TYPE_BREAK_PARENT) { + const afterHardline = ((_b = parentParts == null ? void 0 : parentParts[index - 1]) == null ? void 0 : _b.type) === DOC_TYPE_LINE && parentParts[index - 1].hard; + return afterHardline ? void 0 : "breakParent"; } - try { - for (let i = 0; i < value.length; ++i) { - stack.push(i, value[i]); - callback(this, i, value); - stack.length -= 2; + if (doc3.type === DOC_TYPE_TRIM) { + return "trim"; + } + if (doc3.type === DOC_TYPE_INDENT) { + return "indent(" + printDoc(doc3.contents) + ")"; + } + if (doc3.type === DOC_TYPE_ALIGN) { + return doc3.n === Number.NEGATIVE_INFINITY ? "dedentToRoot(" + printDoc(doc3.contents) + ")" : doc3.n < 0 ? "dedent(" + printDoc(doc3.contents) + ")" : doc3.n.type === "root" ? "markAsRoot(" + printDoc(doc3.contents) + ")" : "align(" + JSON.stringify(doc3.n) + ", " + printDoc(doc3.contents) + ")"; + } + if (doc3.type === DOC_TYPE_IF_BREAK) { + return "ifBreak(" + printDoc(doc3.breakContents) + (doc3.flatContents ? ", " + printDoc(doc3.flatContents) : "") + (doc3.groupId ? (!doc3.flatContents ? ', ""' : "") + `, { groupId: ${printGroupId(doc3.groupId)} }` : "") + ")"; + } + if (doc3.type === DOC_TYPE_INDENT_IF_BREAK) { + const optionsParts = []; + if (doc3.negate) { + optionsParts.push("negate: true"); } - } finally { - stack.length = length; + if (doc3.groupId) { + optionsParts.push(`groupId: ${printGroupId(doc3.groupId)}`); + } + const options8 = optionsParts.length > 0 ? `, { ${optionsParts.join(", ")} }` : ""; + return `indentIfBreak(${printDoc(doc3.contents)}${options8})`; } - } - // Similar to AstPath.prototype.each, except that the results of the - // callback function invocations are stored in an array and returned at - // the end of the iteration. - map(callback, ...names) { - const result = []; - this.each((path9, index, value) => { - result[index] = callback(path9, index, value); - }, ...names); - return result; - } - /** - * @param {...( - * | ((node: any, name: string | null, number: number | null) => boolean) - * | undefined - * )} predicates - */ - match(...predicates) { - let stackPointer = this.stack.length - 1; - let name = null; - let node = this.stack[stackPointer--]; - for (const predicate of predicates) { - if (node === void 0) { - return false; + if (doc3.type === DOC_TYPE_GROUP) { + const optionsParts = []; + if (doc3.break && doc3.break !== "propagated") { + optionsParts.push("shouldBreak: true"); } - let number = null; - if (typeof name === "number") { - number = name; - name = this.stack[stackPointer--]; - node = this.stack[stackPointer--]; + if (doc3.id) { + optionsParts.push(`id: ${printGroupId(doc3.id)}`); } - if (predicate && !predicate(node, name, number)) { - return false; + const options8 = optionsParts.length > 0 ? `, { ${optionsParts.join(", ")} }` : ""; + if (doc3.expandedStates) { + return `conditionalGroup([${doc3.expandedStates.map((part) => printDoc(part)).join(",")}]${options8})`; } - name = this.stack[stackPointer--]; - node = this.stack[stackPointer--]; + return `group(${printDoc(doc3.contents)}${options8})`; } - return true; - } - /** - * Traverses the ancestors of the current node heading toward the tree root - * until it finds a node that matches the provided predicate function. Will - * return the first matching ancestor. If no such node exists, returns undefined. - * @param {(node: any) => boolean} predicate - * @internal Unstable API. Don't use in plugins for now. - */ - findAncestor(predicate) { - for (const node of __privateMethod(this, _getAncestors, getAncestors_fn).call(this)) { - if (predicate(node)) { - return node; - } + if (doc3.type === DOC_TYPE_FILL) { + return `fill([${doc3.parts.map((part) => printDoc(part)).join(", ")}])`; + } + if (doc3.type === DOC_TYPE_LINE_SUFFIX) { + return "lineSuffix(" + printDoc(doc3.contents) + ")"; } + if (doc3.type === DOC_TYPE_LINE_SUFFIX_BOUNDARY) { + return "lineSuffixBoundary"; + } + if (doc3.type === DOC_TYPE_LABEL) { + return `label(${JSON.stringify(doc3.label)}, ${printDoc(doc3.contents)})`; + } + throw new Error("Unknown doc type " + doc3.type); } - /** - * Traverses the ancestors of the current node heading toward the tree root - * until it finds a node that matches the provided predicate function. - * returns true if matched node found. - * @param {(node: any) => boolean} predicate - * @returns {boolean} - * @internal Unstable API. Don't use in plugins for now. - */ - hasAncestor(predicate) { - for (const node of __privateMethod(this, _getAncestors, getAncestors_fn).call(this)) { - if (predicate(node)) { - return true; + function printGroupId(id) { + if (typeof id !== "symbol") { + return JSON.stringify(String(id)); + } + if (id in printedSymbols) { + return printedSymbols[id]; + } + const prefix = id.description || "symbol"; + for (let counter = 0; ; counter++) { + const key2 = prefix + (counter > 0 ? ` #${counter}` : ""); + if (!usedKeysForSymbols.has(key2)) { + usedKeysForSymbols.add(key2); + return printedSymbols[id] = `Symbol.for(${JSON.stringify(key2)})`; } } - return false; } +} + +// scripts/build/shims/at.js +var at = (isOptionalObject, object, index) => { + if (isOptionalObject && (object === void 0 || object === null)) { + return; + } + if (Array.isArray(object) || typeof object === "string") { + return object[index < 0 ? object.length + index : index]; + } + return object.at(index); }; -_getNodeStackIndex = new WeakSet(); -getNodeStackIndex_fn = function(count) { - const { - stack - } = this; - for (let i = stack.length - 1; i >= 0; i -= 2) { - if (!Array.isArray(stack[i]) && --count < 0) { - return i; +var at_default = at; + +// node_modules/emoji-regex/index.mjs +var emoji_regex_default = () => { + return /[#*0-9]\uFE0F?\u20E3|[\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u231A\u231B\u2328\u23CF\u23ED-\u23EF\u23F1\u23F2\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB\u25FC\u25FE\u2600-\u2604\u260E\u2611\u2614\u2615\u2618\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638-\u263A\u2640\u2642\u2648-\u2653\u265F\u2660\u2663\u2665\u2666\u2668\u267B\u267E\u267F\u2692\u2694-\u2697\u2699\u269B\u269C\u26A0\u26A7\u26AA\u26B0\u26B1\u26BD\u26BE\u26C4\u26C8\u26CF\u26D1\u26E9\u26F0-\u26F5\u26F7\u26F8\u26FA\u2702\u2708\u2709\u270F\u2712\u2714\u2716\u271D\u2721\u2733\u2734\u2744\u2747\u2757\u2763\u27A1\u2934\u2935\u2B05-\u2B07\u2B1B\u2B1C\u2B55\u3030\u303D\u3297\u3299]\uFE0F?|[\u261D\u270C\u270D](?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?|[\u270A\u270B](?:\uD83C[\uDFFB-\uDFFF])?|[\u23E9-\u23EC\u23F0\u23F3\u25FD\u2693\u26A1\u26AB\u26C5\u26CE\u26D4\u26EA\u26FD\u2705\u2728\u274C\u274E\u2753-\u2755\u2795-\u2797\u27B0\u27BF\u2B50]|\u26D3\uFE0F?(?:\u200D\uD83D\uDCA5)?|\u26F9(?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|\u2764\uFE0F?(?:\u200D(?:\uD83D\uDD25|\uD83E\uDE79))?|\uD83C(?:[\uDC04\uDD70\uDD71\uDD7E\uDD7F\uDE02\uDE37\uDF21\uDF24-\uDF2C\uDF36\uDF7D\uDF96\uDF97\uDF99-\uDF9B\uDF9E\uDF9F\uDFCD\uDFCE\uDFD4-\uDFDF\uDFF5\uDFF7]\uFE0F?|[\uDF85\uDFC2\uDFC7](?:\uD83C[\uDFFB-\uDFFF])?|[\uDFC4\uDFCA](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDFCB\uDFCC](?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDCCF\uDD8E\uDD91-\uDD9A\uDE01\uDE1A\uDE2F\uDE32-\uDE36\uDE38-\uDE3A\uDE50\uDE51\uDF00-\uDF20\uDF2D-\uDF35\uDF37-\uDF43\uDF45-\uDF4A\uDF4C-\uDF7C\uDF7E-\uDF84\uDF86-\uDF93\uDFA0-\uDFC1\uDFC5\uDFC6\uDFC8\uDFC9\uDFCF-\uDFD3\uDFE0-\uDFF0\uDFF8-\uDFFF]|\uDDE6\uD83C[\uDDE8-\uDDEC\uDDEE\uDDF1\uDDF2\uDDF4\uDDF6-\uDDFA\uDDFC\uDDFD\uDDFF]|\uDDE7\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEF\uDDF1-\uDDF4\uDDF6-\uDDF9\uDDFB\uDDFC\uDDFE\uDDFF]|\uDDE8\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDEE\uDDF0-\uDDF5\uDDF7\uDDFA-\uDDFF]|\uDDE9\uD83C[\uDDEA\uDDEC\uDDEF\uDDF0\uDDF2\uDDF4\uDDFF]|\uDDEA\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDED\uDDF7-\uDDFA]|\uDDEB\uD83C[\uDDEE-\uDDF0\uDDF2\uDDF4\uDDF7]|\uDDEC\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEE\uDDF1-\uDDF3\uDDF5-\uDDFA\uDDFC\uDDFE]|\uDDED\uD83C[\uDDF0\uDDF2\uDDF3\uDDF7\uDDF9\uDDFA]|\uDDEE\uD83C[\uDDE8-\uDDEA\uDDF1-\uDDF4\uDDF6-\uDDF9]|\uDDEF\uD83C[\uDDEA\uDDF2\uDDF4\uDDF5]|\uDDF0\uD83C[\uDDEA\uDDEC-\uDDEE\uDDF2\uDDF3\uDDF5\uDDF7\uDDFC\uDDFE\uDDFF]|\uDDF1\uD83C[\uDDE6-\uDDE8\uDDEE\uDDF0\uDDF7-\uDDFB\uDDFE]|\uDDF2\uD83C[\uDDE6\uDDE8-\uDDED\uDDF0-\uDDFF]|\uDDF3\uD83C[\uDDE6\uDDE8\uDDEA-\uDDEC\uDDEE\uDDF1\uDDF4\uDDF5\uDDF7\uDDFA\uDDFF]|\uDDF4\uD83C\uDDF2|\uDDF5\uD83C[\uDDE6\uDDEA-\uDDED\uDDF0-\uDDF3\uDDF7-\uDDF9\uDDFC\uDDFE]|\uDDF6\uD83C\uDDE6|\uDDF7\uD83C[\uDDEA\uDDF4\uDDF8\uDDFA\uDDFC]|\uDDF8\uD83C[\uDDE6-\uDDEA\uDDEC-\uDDF4\uDDF7-\uDDF9\uDDFB\uDDFD-\uDDFF]|\uDDF9\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDED\uDDEF-\uDDF4\uDDF7\uDDF9\uDDFB\uDDFC\uDDFF]|\uDDFA\uD83C[\uDDE6\uDDEC\uDDF2\uDDF3\uDDF8\uDDFE\uDDFF]|\uDDFB\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDEE\uDDF3\uDDFA]|\uDDFC\uD83C[\uDDEB\uDDF8]|\uDDFD\uD83C\uDDF0|\uDDFE\uD83C[\uDDEA\uDDF9]|\uDDFF\uD83C[\uDDE6\uDDF2\uDDFC]|\uDF44(?:\u200D\uD83D\uDFEB)?|\uDF4B(?:\u200D\uD83D\uDFE9)?|\uDFC3(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?|\uDFF3\uFE0F?(?:\u200D(?:\u26A7\uFE0F?|\uD83C\uDF08))?|\uDFF4(?:\u200D\u2620\uFE0F?|\uDB40\uDC67\uDB40\uDC62\uDB40(?:\uDC65\uDB40\uDC6E\uDB40\uDC67|\uDC73\uDB40\uDC63\uDB40\uDC74|\uDC77\uDB40\uDC6C\uDB40\uDC73)\uDB40\uDC7F)?)|\uD83D(?:[\uDC3F\uDCFD\uDD49\uDD4A\uDD6F\uDD70\uDD73\uDD76-\uDD79\uDD87\uDD8A-\uDD8D\uDDA5\uDDA8\uDDB1\uDDB2\uDDBC\uDDC2-\uDDC4\uDDD1-\uDDD3\uDDDC-\uDDDE\uDDE1\uDDE3\uDDE8\uDDEF\uDDF3\uDDFA\uDECB\uDECD-\uDECF\uDEE0-\uDEE5\uDEE9\uDEF0\uDEF3]\uFE0F?|[\uDC42\uDC43\uDC46-\uDC50\uDC66\uDC67\uDC6B-\uDC6D\uDC72\uDC74-\uDC76\uDC78\uDC7C\uDC83\uDC85\uDC8F\uDC91\uDCAA\uDD7A\uDD95\uDD96\uDE4C\uDE4F\uDEC0\uDECC](?:\uD83C[\uDFFB-\uDFFF])?|[\uDC6E\uDC70\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4\uDEB5](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDD74\uDD90](?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?|[\uDC00-\uDC07\uDC09-\uDC14\uDC16-\uDC25\uDC27-\uDC3A\uDC3C-\uDC3E\uDC40\uDC44\uDC45\uDC51-\uDC65\uDC6A\uDC79-\uDC7B\uDC7D-\uDC80\uDC84\uDC88-\uDC8E\uDC90\uDC92-\uDCA9\uDCAB-\uDCFC\uDCFF-\uDD3D\uDD4B-\uDD4E\uDD50-\uDD67\uDDA4\uDDFB-\uDE2D\uDE2F-\uDE34\uDE37-\uDE41\uDE43\uDE44\uDE48-\uDE4A\uDE80-\uDEA2\uDEA4-\uDEB3\uDEB7-\uDEBF\uDEC1-\uDEC5\uDED0-\uDED2\uDED5-\uDED7\uDEDC-\uDEDF\uDEEB\uDEEC\uDEF4-\uDEFC\uDFE0-\uDFEB\uDFF0]|\uDC08(?:\u200D\u2B1B)?|\uDC15(?:\u200D\uD83E\uDDBA)?|\uDC26(?:\u200D(?:\u2B1B|\uD83D\uDD25))?|\uDC3B(?:\u200D\u2744\uFE0F?)?|\uDC41\uFE0F?(?:\u200D\uD83D\uDDE8\uFE0F?)?|\uDC68(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDC68\uDC69]\u200D\uD83D(?:\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?)|[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?)|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFC-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFD-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFD\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFE])))?))?|\uDC69(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?[\uDC68\uDC69]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?|\uDC69\u200D\uD83D(?:\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?))|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFC-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB\uDFFD-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB-\uDFFD\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB-\uDFFE])))?))?|\uDC6F(?:\u200D[\u2640\u2642]\uFE0F?)?|\uDD75(?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|\uDE2E(?:\u200D\uD83D\uDCA8)?|\uDE35(?:\u200D\uD83D\uDCAB)?|\uDE36(?:\u200D\uD83C\uDF2B\uFE0F?)?|\uDE42(?:\u200D[\u2194\u2195]\uFE0F?)?|\uDEB6(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?)|\uD83E(?:[\uDD0C\uDD0F\uDD18-\uDD1F\uDD30-\uDD34\uDD36\uDD77\uDDB5\uDDB6\uDDBB\uDDD2\uDDD3\uDDD5\uDEC3-\uDEC5\uDEF0\uDEF2-\uDEF8](?:\uD83C[\uDFFB-\uDFFF])?|[\uDD26\uDD35\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD\uDDCF\uDDD4\uDDD6-\uDDDD](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDDDE\uDDDF](?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDD0D\uDD0E\uDD10-\uDD17\uDD20-\uDD25\uDD27-\uDD2F\uDD3A\uDD3F-\uDD45\uDD47-\uDD76\uDD78-\uDDB4\uDDB7\uDDBA\uDDBC-\uDDCC\uDDD0\uDDE0-\uDDFF\uDE70-\uDE7C\uDE80-\uDE88\uDE90-\uDEBD\uDEBF-\uDEC2\uDECE-\uDEDB\uDEE0-\uDEE8]|\uDD3C(?:\u200D[\u2640\u2642]\uFE0F?|\uD83C[\uDFFB-\uDFFF])?|\uDDCE(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?|\uDDD1(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1|\uDDD1\u200D\uD83E\uDDD2(?:\u200D\uD83E\uDDD2)?|\uDDD2(?:\u200D\uD83E\uDDD2)?))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFC-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB\uDFFD-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB-\uDFFD\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB-\uDFFE]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?))?|\uDEF1(?:\uD83C(?:\uDFFB(?:\u200D\uD83E\uDEF2\uD83C[\uDFFC-\uDFFF])?|\uDFFC(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB\uDFFD-\uDFFF])?|\uDFFD(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])?|\uDFFE(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB-\uDFFD\uDFFF])?|\uDFFF(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB-\uDFFE])?))?)/g; +}; + +// node_modules/get-east-asian-width/lookup.js +function isFullWidth(x) { + return x === 12288 || x >= 65281 && x <= 65376 || x >= 65504 && x <= 65510; +} +function isWide(x) { + return x >= 4352 && x <= 4447 || x === 8986 || x === 8987 || x === 9001 || x === 9002 || x >= 9193 && x <= 9196 || x === 9200 || x === 9203 || x === 9725 || x === 9726 || x === 9748 || x === 9749 || x >= 9800 && x <= 9811 || x === 9855 || x === 9875 || x === 9889 || x === 9898 || x === 9899 || x === 9917 || x === 9918 || x === 9924 || x === 9925 || x === 9934 || x === 9940 || x === 9962 || x === 9970 || x === 9971 || x === 9973 || x === 9978 || x === 9981 || x === 9989 || x === 9994 || x === 9995 || x === 10024 || x === 10060 || x === 10062 || x >= 10067 && x <= 10069 || x === 10071 || x >= 10133 && x <= 10135 || x === 10160 || x === 10175 || x === 11035 || x === 11036 || x === 11088 || x === 11093 || x >= 11904 && x <= 11929 || x >= 11931 && x <= 12019 || x >= 12032 && x <= 12245 || x >= 12272 && x <= 12287 || x >= 12289 && x <= 12350 || x >= 12353 && x <= 12438 || x >= 12441 && x <= 12543 || x >= 12549 && x <= 12591 || x >= 12593 && x <= 12686 || x >= 12688 && x <= 12771 || x >= 12783 && x <= 12830 || x >= 12832 && x <= 12871 || x >= 12880 && x <= 19903 || x >= 19968 && x <= 42124 || x >= 42128 && x <= 42182 || x >= 43360 && x <= 43388 || x >= 44032 && x <= 55203 || x >= 63744 && x <= 64255 || x >= 65040 && x <= 65049 || x >= 65072 && x <= 65106 || x >= 65108 && x <= 65126 || x >= 65128 && x <= 65131 || x >= 94176 && x <= 94180 || x === 94192 || x === 94193 || x >= 94208 && x <= 100343 || x >= 100352 && x <= 101589 || x >= 101632 && x <= 101640 || x >= 110576 && x <= 110579 || x >= 110581 && x <= 110587 || x === 110589 || x === 110590 || x >= 110592 && x <= 110882 || x === 110898 || x >= 110928 && x <= 110930 || x === 110933 || x >= 110948 && x <= 110951 || x >= 110960 && x <= 111355 || x === 126980 || x === 127183 || x === 127374 || x >= 127377 && x <= 127386 || x >= 127488 && x <= 127490 || x >= 127504 && x <= 127547 || x >= 127552 && x <= 127560 || x === 127568 || x === 127569 || x >= 127584 && x <= 127589 || x >= 127744 && x <= 127776 || x >= 127789 && x <= 127797 || x >= 127799 && x <= 127868 || x >= 127870 && x <= 127891 || x >= 127904 && x <= 127946 || x >= 127951 && x <= 127955 || x >= 127968 && x <= 127984 || x === 127988 || x >= 127992 && x <= 128062 || x === 128064 || x >= 128066 && x <= 128252 || x >= 128255 && x <= 128317 || x >= 128331 && x <= 128334 || x >= 128336 && x <= 128359 || x === 128378 || x === 128405 || x === 128406 || x === 128420 || x >= 128507 && x <= 128591 || x >= 128640 && x <= 128709 || x === 128716 || x >= 128720 && x <= 128722 || x >= 128725 && x <= 128727 || x >= 128732 && x <= 128735 || x === 128747 || x === 128748 || x >= 128756 && x <= 128764 || x >= 128992 && x <= 129003 || x === 129008 || x >= 129292 && x <= 129338 || x >= 129340 && x <= 129349 || x >= 129351 && x <= 129535 || x >= 129648 && x <= 129660 || x >= 129664 && x <= 129672 || x >= 129680 && x <= 129725 || x >= 129727 && x <= 129733 || x >= 129742 && x <= 129755 || x >= 129760 && x <= 129768 || x >= 129776 && x <= 129784 || x >= 131072 && x <= 196605 || x >= 196608 && x <= 262141; +} + +// node_modules/get-east-asian-width/index.js +var _isNarrowWidth = (codePoint) => !(isFullWidth(codePoint) || isWide(codePoint)); + +// src/utils/get-string-width.js +var notAsciiRegex = /[^\x20-\x7F]/u; +function getStringWidth(text) { + if (!text) { + return 0; + } + if (!notAsciiRegex.test(text)) { + return text.length; + } + text = text.replace(emoji_regex_default(), " "); + let width = 0; + for (const character of text) { + const codePoint = character.codePointAt(0); + if (codePoint <= 31 || codePoint >= 127 && codePoint <= 159) { + continue; + } + if (codePoint >= 768 && codePoint <= 879) { + continue; + } + width += _isNarrowWidth(codePoint) ? 1 : 2; + } + return width; +} +var get_string_width_default = getStringWidth; + +// src/document/utils.js +function mapDoc(doc2, cb) { + if (typeof doc2 === "string") { + return cb(doc2); + } + const mapped = /* @__PURE__ */ new Map(); + return rec(doc2); + function rec(doc3) { + if (mapped.has(doc3)) { + return mapped.get(doc3); + } + const result = process4(doc3); + mapped.set(doc3, result); + return result; + } + function process4(doc3) { + switch (get_doc_type_default(doc3)) { + case DOC_TYPE_ARRAY: + return cb(doc3.map(rec)); + case DOC_TYPE_FILL: + return cb({ + ...doc3, + parts: doc3.parts.map(rec) + }); + case DOC_TYPE_IF_BREAK: + return cb({ + ...doc3, + breakContents: rec(doc3.breakContents), + flatContents: rec(doc3.flatContents) + }); + case DOC_TYPE_GROUP: { + let { + expandedStates, + contents + } = doc3; + if (expandedStates) { + expandedStates = expandedStates.map(rec); + contents = expandedStates[0]; + } else { + contents = rec(contents); + } + return cb({ + ...doc3, + contents, + expandedStates + }); + } + case DOC_TYPE_ALIGN: + case DOC_TYPE_INDENT: + case DOC_TYPE_INDENT_IF_BREAK: + case DOC_TYPE_LABEL: + case DOC_TYPE_LINE_SUFFIX: + return cb({ + ...doc3, + contents: rec(doc3.contents) + }); + case DOC_TYPE_STRING: + case DOC_TYPE_CURSOR: + case DOC_TYPE_TRIM: + case DOC_TYPE_LINE_SUFFIX_BOUNDARY: + case DOC_TYPE_LINE: + case DOC_TYPE_BREAK_PARENT: + return cb(doc3); + default: + throw new invalid_doc_error_default(doc3); } } - return -1; -}; -_getAncestors = new WeakSet(); -getAncestors_fn = function* () { - const { - stack - } = this; - for (let index = stack.length - 3; index >= 0; index -= 2) { - const value = stack[index]; - if (!Array.isArray(value)) { - yield value; +} +function breakParentGroup(groupStack) { + if (groupStack.length > 0) { + const parentGroup = at_default( + /* isOptionalObject */ + false, + groupStack, + -1 + ); + if (!parentGroup.expandedStates && !parentGroup.break) { + parentGroup.break = "propagated"; } } -}; -var ast_path_default = AstPath; - -// src/main/comments/attach.js -import assert from "assert"; - -// src/utils/skip.js -function skip(characters) { - return (text, startIndex, options8) => { - const backwards = Boolean(options8 == null ? void 0 : options8.backwards); - if (startIndex === false) { - return false; + return null; +} +function propagateBreaks(doc2) { + const alreadyVisitedSet = /* @__PURE__ */ new Set(); + const groupStack = []; + function propagateBreaksOnEnterFn(doc3) { + if (doc3.type === DOC_TYPE_BREAK_PARENT) { + breakParentGroup(groupStack); } - const { length } = text; - let cursor2 = startIndex; - while (cursor2 >= 0 && cursor2 < length) { - const character = text.charAt(cursor2); - if (characters instanceof RegExp) { - if (!characters.test(character)) { - return cursor2; - } - } else if (!characters.includes(character)) { - return cursor2; + if (doc3.type === DOC_TYPE_GROUP) { + groupStack.push(doc3); + if (alreadyVisitedSet.has(doc3)) { + return false; } - backwards ? cursor2-- : cursor2++; - } - if (cursor2 === -1 || cursor2 === length) { - return cursor2; + alreadyVisitedSet.add(doc3); } - return false; - }; -} -var skipWhitespace = skip(/\s/); -var skipSpaces = skip(" "); -var skipToLineEnd = skip(",; "); -var skipEverythingButNewLine = skip(/[^\n\r]/); - -// src/utils/skip-newline.js -function skipNewline(text, startIndex, options8) { - const backwards = Boolean(options8 == null ? void 0 : options8.backwards); - if (startIndex === false) { - return false; } - const character = text.charAt(startIndex); - if (backwards) { - if (text.charAt(startIndex - 1) === "\r" && character === "\n") { - return startIndex - 2; - } - if (character === "\n" || character === "\r" || character === "\u2028" || character === "\u2029") { - return startIndex - 1; - } - } else { - if (character === "\r" && text.charAt(startIndex + 1) === "\n") { - return startIndex + 2; - } - if (character === "\n" || character === "\r" || character === "\u2028" || character === "\u2029") { - return startIndex + 1; + function propagateBreaksOnExitFn(doc3) { + if (doc3.type === DOC_TYPE_GROUP) { + const group = groupStack.pop(); + if (group.break) { + breakParentGroup(groupStack); + } } } - return startIndex; -} -var skip_newline_default = skipNewline; - -// src/utils/has-newline.js -function hasNewline(text, startIndex, options8 = {}) { - const idx = skipSpaces( - text, - options8.backwards ? startIndex - 1 : startIndex, - options8 + traverse_doc_default( + doc2, + propagateBreaksOnEnterFn, + propagateBreaksOnExitFn, + /* shouldTraverseConditionalGroups */ + true ); - const idx2 = skip_newline_default(text, idx, options8); - return idx !== idx2; -} -var has_newline_default = hasNewline; - -// src/utils/is-non-empty-array.js -function isNonEmptyArray(object) { - return Array.isArray(object) && object.length > 0; } -var is_non_empty_array_default = isNonEmptyArray; - -// src/utils/is-object.js -function isObject(object) { - return object !== null && typeof object === "object"; +function stripTrailingHardlineFromParts(parts) { + parts = [...parts]; + while (parts.length >= 2 && at_default( + /* isOptionalObject */ + false, + parts, + -2 + ).type === DOC_TYPE_LINE && at_default( + /* isOptionalObject */ + false, + parts, + -1 + ).type === DOC_TYPE_BREAK_PARENT) { + parts.length -= 2; + } + if (parts.length > 0) { + const lastPart = stripTrailingHardlineFromDoc(at_default( + /* isOptionalObject */ + false, + parts, + -1 + )); + parts[parts.length - 1] = lastPart; + } + return parts; } -var is_object_default = isObject; - -// src/utils/ast-utils.js -function* getChildren(node, options8) { - const { getVisitorKeys, filter = () => true } = options8; - const isMatchedNode = (node2) => is_object_default(node2) && filter(node2); - for (const key of getVisitorKeys(node)) { - const value = node[key]; - if (Array.isArray(value)) { - for (const child of value) { - if (isMatchedNode(child)) { - yield child; - } - } - } else if (isMatchedNode(value)) { - yield value; +function stripTrailingHardlineFromDoc(doc2) { + switch (get_doc_type_default(doc2)) { + case DOC_TYPE_INDENT: + case DOC_TYPE_INDENT_IF_BREAK: + case DOC_TYPE_GROUP: + case DOC_TYPE_LINE_SUFFIX: + case DOC_TYPE_LABEL: { + const contents = stripTrailingHardlineFromDoc(doc2.contents); + return { + ...doc2, + contents + }; } + case DOC_TYPE_IF_BREAK: + return { + ...doc2, + breakContents: stripTrailingHardlineFromDoc(doc2.breakContents), + flatContents: stripTrailingHardlineFromDoc(doc2.flatContents) + }; + case DOC_TYPE_FILL: + return { + ...doc2, + parts: stripTrailingHardlineFromParts(doc2.parts) + }; + case DOC_TYPE_ARRAY: + return stripTrailingHardlineFromParts(doc2); + case DOC_TYPE_STRING: + return doc2.replace(/[\n\r]*$/u, ""); + case DOC_TYPE_ALIGN: + case DOC_TYPE_CURSOR: + case DOC_TYPE_TRIM: + case DOC_TYPE_LINE_SUFFIX_BOUNDARY: + case DOC_TYPE_LINE: + case DOC_TYPE_BREAK_PARENT: + break; + default: + throw new invalid_doc_error_default(doc2); } + return doc2; } -function* getDescendants(node, options8) { - const queue = [node]; - for (let index = 0; index < queue.length; index++) { - const node2 = queue[index]; - for (const child of getChildren(node2, options8)) { - yield child; - queue.push(child); +function stripTrailingHardline(doc2) { + return stripTrailingHardlineFromDoc(cleanDoc(doc2)); +} +function cleanDocFn(doc2) { + switch (get_doc_type_default(doc2)) { + case DOC_TYPE_FILL: + if (doc2.parts.every((part) => part === "")) { + return ""; + } + break; + case DOC_TYPE_GROUP: + if (!doc2.contents && !doc2.id && !doc2.break && !doc2.expandedStates) { + return ""; + } + if (doc2.contents.type === DOC_TYPE_GROUP && doc2.contents.id === doc2.id && doc2.contents.break === doc2.break && doc2.contents.expandedStates === doc2.expandedStates) { + return doc2.contents; + } + break; + case DOC_TYPE_ALIGN: + case DOC_TYPE_INDENT: + case DOC_TYPE_INDENT_IF_BREAK: + case DOC_TYPE_LINE_SUFFIX: + if (!doc2.contents) { + return ""; + } + break; + case DOC_TYPE_IF_BREAK: + if (!doc2.flatContents && !doc2.breakContents) { + return ""; + } + break; + case DOC_TYPE_ARRAY: { + const parts = []; + for (const part of doc2) { + if (!part) { + continue; + } + const [currentPart, ...restParts] = Array.isArray(part) ? part : [part]; + if (typeof currentPart === "string" && typeof at_default( + /* isOptionalObject */ + false, + parts, + -1 + ) === "string") { + parts[parts.length - 1] += currentPart; + } else { + parts.push(currentPart); + } + parts.push(...restParts); + } + if (parts.length === 0) { + return ""; + } + if (parts.length === 1) { + return parts[0]; + } + return parts; } + case DOC_TYPE_STRING: + case DOC_TYPE_CURSOR: + case DOC_TYPE_TRIM: + case DOC_TYPE_LINE_SUFFIX_BOUNDARY: + case DOC_TYPE_LINE: + case DOC_TYPE_LABEL: + case DOC_TYPE_BREAK_PARENT: + break; + default: + throw new invalid_doc_error_default(doc2); } + return doc2; } - -// src/main/comments/utils.js -function describeNodeForDebugging(node) { - const nodeType = node.type || node.kind || "(unknown type)"; - let nodeName = String( - node.name || node.id && (typeof node.id === "object" ? node.id.name : node.id) || node.key && (typeof node.key === "object" ? node.key.name : node.key) || node.value && (typeof node.value === "object" ? "" : String(node.value)) || node.operator || "" - ); - if (nodeName.length > 20) { - nodeName = nodeName.slice(0, 19) + "\u2026"; - } - return nodeType + (nodeName ? " " + nodeName : ""); -} -function addCommentHelper(node, comment) { - const comments = node.comments ?? (node.comments = []); - comments.push(comment); - comment.printed = false; - comment.nodeDescription = describeNodeForDebugging(node); +function cleanDoc(doc2) { + return mapDoc(doc2, (currentDoc) => cleanDocFn(currentDoc)); } -function addLeadingComment(node, comment) { - comment.leading = true; - comment.trailing = false; - addCommentHelper(node, comment); +function inheritLabel(doc2, fn) { + return doc2.type === DOC_TYPE_LABEL ? { + ...doc2, + contents: fn(doc2.contents) + } : fn(doc2); } -function addDanglingComment(node, comment, marker) { - comment.leading = false; - comment.trailing = false; - if (marker) { - comment.marker = marker; - } - addCommentHelper(node, comment); + +// src/document/printer.js +var MODE_BREAK = Symbol("MODE_BREAK"); +var MODE_FLAT = Symbol("MODE_FLAT"); +var CURSOR_PLACEHOLDER = Symbol("cursor"); +function rootIndent() { + return { + value: "", + length: 0, + queue: [] + }; } -function addTrailingComment(node, comment) { - comment.leading = false; - comment.trailing = true; - addCommentHelper(node, comment); +function makeIndent(ind, options8) { + return generateInd(ind, { + type: "indent" + }, options8); } - -// src/main/comments/attach.js -var childNodesCache = /* @__PURE__ */ new WeakMap(); -function getSortedChildNodes(node, options8) { - if (childNodesCache.has(node)) { - return childNodesCache.get(node); +function makeAlign(indent2, widthOrDoc, options8) { + if (widthOrDoc === Number.NEGATIVE_INFINITY) { + return indent2.root || rootIndent(); } - const { - printer: { - getCommentChildNodes, - canAttachComment, - getVisitorKeys: printerGetVisitorKeys - }, - locStart, - locEnd - } = options8; - if (!canAttachComment) { - return []; + if (widthOrDoc < 0) { + return generateInd(indent2, { + type: "dedent" + }, options8); } - const childNodes = ((getCommentChildNodes == null ? void 0 : getCommentChildNodes(node, options8)) ?? [ - ...getChildren(node, { - getVisitorKeys: create_get_visitor_keys_function_default(printerGetVisitorKeys) - }) - ]).flatMap( - (node2) => canAttachComment(node2) ? [node2] : getSortedChildNodes(node2, options8) - ); - childNodes.sort( - (nodeA, nodeB) => locStart(nodeA) - locStart(nodeB) || locEnd(nodeA) - locEnd(nodeB) - ); - childNodesCache.set(node, childNodes); - return childNodes; + if (!widthOrDoc) { + return indent2; + } + if (widthOrDoc.type === "root") { + return { + ...indent2, + root: indent2 + }; + } + const alignType = typeof widthOrDoc === "string" ? "stringAlign" : "numberAlign"; + return generateInd(indent2, { + type: alignType, + n: widthOrDoc + }, options8); } -function decorateComment(node, comment, options8, enclosingNode) { - const { locStart, locEnd } = options8; - const commentStart = locStart(comment); - const commentEnd = locEnd(comment); - const childNodes = getSortedChildNodes(node, options8); - let precedingNode; - let followingNode; - let left = 0; - let right = childNodes.length; - while (left < right) { - const middle = left + right >> 1; - const child = childNodes[middle]; - const start = locStart(child); - const end = locEnd(child); - if (start <= commentStart && commentEnd <= end) { - return decorateComment(child, comment, options8, child); - } - if (end <= commentStart) { - precedingNode = child; - left = middle + 1; - continue; - } - if (commentEnd <= start) { - followingNode = child; - right = middle; - continue; +function generateInd(ind, newPart, options8) { + const queue = newPart.type === "dedent" ? ind.queue.slice(0, -1) : [...ind.queue, newPart]; + let value = ""; + let length = 0; + let lastTabs = 0; + let lastSpaces = 0; + for (const part of queue) { + switch (part.type) { + case "indent": + flush(); + if (options8.useTabs) { + addTabs(1); + } else { + addSpaces(options8.tabWidth); + } + break; + case "stringAlign": + flush(); + value += part.n; + length += part.n.length; + break; + case "numberAlign": + lastTabs += 1; + lastSpaces += part.n; + break; + default: + throw new Error(`Unexpected type '${part.type}'`); } - throw new Error("Comment location overlaps with node location"); } - if ((enclosingNode == null ? void 0 : enclosingNode.type) === "TemplateLiteral") { - const { quasis } = enclosingNode; - const commentIndex = findExpressionIndexForComment( - quasis, - comment, - options8 - ); - if (precedingNode && findExpressionIndexForComment(quasis, precedingNode, options8) !== commentIndex) { - precedingNode = null; - } - if (followingNode && findExpressionIndexForComment(quasis, followingNode, options8) !== commentIndex) { - followingNode = null; - } + flushSpaces(); + return { + ...ind, + value, + length, + queue + }; + function addTabs(count) { + value += " ".repeat(count); + length += options8.tabWidth * count; } - return { enclosingNode, precedingNode, followingNode }; -} -var returnFalse = () => false; -function attachComments(ast, options8) { - const { comments } = ast; - delete ast.comments; - if (!is_non_empty_array_default(comments) || !options8.printer.canAttachComment) { - return; + function addSpaces(count) { + value += " ".repeat(count); + length += count; } - const tiesToBreak = []; - const { - locStart, - locEnd, - printer: { - experimentalFeatures: { - // TODO: Make this as default behavior - avoidAstMutation = false - } = {}, - handleComments = {} - }, - originalText: text - } = options8; - const { - ownLine: handleOwnLineComment = returnFalse, - endOfLine: handleEndOfLineComment = returnFalse, - remaining: handleRemainingComment = returnFalse - } = handleComments; - const decoratedComments = comments.map((comment, index) => ({ - ...decorateComment(ast, comment, options8), - comment, - text, - options: options8, - ast, - isLastComment: comments.length - 1 === index - })); - for (const [index, context] of decoratedComments.entries()) { - const { - comment, - precedingNode, - enclosingNode, - followingNode, - text: text2, - options: options9, - ast: ast2, - isLastComment - } = context; - if (options9.parser === "json" || options9.parser === "json5" || options9.parser === "__js_expression" || options9.parser === "__ts_expression" || options9.parser === "__vue_expression" || options9.parser === "__vue_ts_expression") { - if (locStart(comment) - locStart(ast2) <= 0) { - addLeadingComment(ast2, comment); - continue; - } - if (locEnd(comment) - locEnd(ast2) >= 0) { - addTrailingComment(ast2, comment); - continue; - } - } - let args; - if (avoidAstMutation) { - args = [context]; + function flush() { + if (options8.useTabs) { + flushTabs(); } else { - comment.enclosingNode = enclosingNode; - comment.precedingNode = precedingNode; - comment.followingNode = followingNode; - args = [comment, text2, options9, ast2, isLastComment]; + flushSpaces(); } - if (isOwnLineComment(text2, options9, decoratedComments, index)) { - comment.placement = "ownLine"; - if (handleOwnLineComment(...args)) { - } else if (followingNode) { - addLeadingComment(followingNode, comment); - } else if (precedingNode) { - addTrailingComment(precedingNode, comment); - } else if (enclosingNode) { - addDanglingComment(enclosingNode, comment); + } + function flushTabs() { + if (lastTabs > 0) { + addTabs(lastTabs); + } + resetLast(); + } + function flushSpaces() { + if (lastSpaces > 0) { + addSpaces(lastSpaces); + } + resetLast(); + } + function resetLast() { + lastTabs = 0; + lastSpaces = 0; + } +} +function trim(out) { + let trimCount = 0; + let cursorCount = 0; + let outIndex = out.length; + outer: while (outIndex--) { + const last = out[outIndex]; + if (last === CURSOR_PLACEHOLDER) { + cursorCount++; + continue; + } + if (false) { + throw new Error(`Unexpected value in trim: '${typeof last}'`); + } + for (let charIndex = last.length - 1; charIndex >= 0; charIndex--) { + const char = last[charIndex]; + if (char === " " || char === " ") { + trimCount++; } else { - addDanglingComment(ast2, comment); + out[outIndex] = last.slice(0, charIndex + 1); + break outer; } - } else if (isEndOfLineComment(text2, options9, decoratedComments, index)) { - comment.placement = "endOfLine"; - if (handleEndOfLineComment(...args)) { - } else if (precedingNode) { - addTrailingComment(precedingNode, comment); - } else if (followingNode) { - addLeadingComment(followingNode, comment); - } else if (enclosingNode) { - addDanglingComment(enclosingNode, comment); - } else { - addDanglingComment(ast2, comment); + } + } + if (trimCount > 0 || cursorCount > 0) { + out.length = outIndex + 1; + while (cursorCount-- > 0) { + out.push(CURSOR_PLACEHOLDER); + } + } + return trimCount; +} +function fits(next, restCommands, width, hasLineSuffix, groupModeMap, mustBeFlat) { + if (width === Number.POSITIVE_INFINITY) { + return true; + } + let restIdx = restCommands.length; + const cmds = [next]; + const out = []; + while (width >= 0) { + if (cmds.length === 0) { + if (restIdx === 0) { + return true; } - } else { - comment.placement = "remaining"; - if (handleRemainingComment(...args)) { - } else if (precedingNode && followingNode) { - const tieCount = tiesToBreak.length; - if (tieCount > 0) { - const lastTie = tiesToBreak[tieCount - 1]; - if (lastTie.followingNode !== followingNode) { - breakTies(tiesToBreak, options9); + cmds.push(restCommands[--restIdx]); + continue; + } + const { + mode, + doc: doc2 + } = cmds.pop(); + const docType = get_doc_type_default(doc2); + switch (docType) { + case DOC_TYPE_STRING: + out.push(doc2); + width -= get_string_width_default(doc2); + break; + case DOC_TYPE_ARRAY: + case DOC_TYPE_FILL: { + const parts = docType === DOC_TYPE_ARRAY ? doc2 : doc2.parts; + for (let i = parts.length - 1; i >= 0; i--) { + cmds.push({ + mode, + doc: parts[i] + }); + } + break; + } + case DOC_TYPE_INDENT: + case DOC_TYPE_ALIGN: + case DOC_TYPE_INDENT_IF_BREAK: + case DOC_TYPE_LABEL: + cmds.push({ + mode, + doc: doc2.contents + }); + break; + case DOC_TYPE_TRIM: + width += trim(out); + break; + case DOC_TYPE_GROUP: { + if (mustBeFlat && doc2.break) { + return false; + } + const groupMode = doc2.break ? MODE_BREAK : mode; + const contents = doc2.expandedStates && groupMode === MODE_BREAK ? at_default( + /* isOptionalObject */ + false, + doc2.expandedStates, + -1 + ) : doc2.contents; + cmds.push({ + mode: groupMode, + doc: contents + }); + break; + } + case DOC_TYPE_IF_BREAK: { + const groupMode = doc2.groupId ? groupModeMap[doc2.groupId] || MODE_FLAT : mode; + const contents = groupMode === MODE_BREAK ? doc2.breakContents : doc2.flatContents; + if (contents) { + cmds.push({ + mode, + doc: contents + }); + } + break; + } + case DOC_TYPE_LINE: + if (mode === MODE_BREAK || doc2.hard) { + return true; + } + if (!doc2.soft) { + out.push(" "); + width--; + } + break; + case DOC_TYPE_LINE_SUFFIX: + hasLineSuffix = true; + break; + case DOC_TYPE_LINE_SUFFIX_BOUNDARY: + if (hasLineSuffix) { + return false; + } + break; + } + } + return false; +} +function printDocToString(doc2, options8) { + const groupModeMap = {}; + const width = options8.printWidth; + const newLine = convertEndOfLineToChars(options8.endOfLine); + let pos2 = 0; + const cmds = [{ + ind: rootIndent(), + mode: MODE_BREAK, + doc: doc2 + }]; + const out = []; + let shouldRemeasure = false; + const lineSuffix2 = []; + let printedCursorCount = 0; + propagateBreaks(doc2); + while (cmds.length > 0) { + const { + ind, + mode, + doc: doc3 + } = cmds.pop(); + switch (get_doc_type_default(doc3)) { + case DOC_TYPE_STRING: { + const formatted = newLine !== "\n" ? string_replace_all_default( + /* isOptionalObject */ + false, + doc3, + "\n", + newLine + ) : doc3; + out.push(formatted); + if (cmds.length > 0) { + pos2 += get_string_width_default(formatted); + } + break; + } + case DOC_TYPE_ARRAY: + for (let i = doc3.length - 1; i >= 0; i--) { + cmds.push({ + ind, + mode, + doc: doc3[i] + }); + } + break; + case DOC_TYPE_CURSOR: + if (printedCursorCount >= 2) { + throw new Error("There are too many 'cursor' in doc."); + } + out.push(CURSOR_PLACEHOLDER); + printedCursorCount++; + break; + case DOC_TYPE_INDENT: + cmds.push({ + ind: makeIndent(ind, options8), + mode, + doc: doc3.contents + }); + break; + case DOC_TYPE_ALIGN: + cmds.push({ + ind: makeAlign(ind, doc3.n, options8), + mode, + doc: doc3.contents + }); + break; + case DOC_TYPE_TRIM: + pos2 -= trim(out); + break; + case DOC_TYPE_GROUP: + switch (mode) { + case MODE_FLAT: + if (!shouldRemeasure) { + cmds.push({ + ind, + mode: doc3.break ? MODE_BREAK : MODE_FLAT, + doc: doc3.contents + }); + break; + } + case MODE_BREAK: { + shouldRemeasure = false; + const next = { + ind, + mode: MODE_FLAT, + doc: doc3.contents + }; + const rem = width - pos2; + const hasLineSuffix = lineSuffix2.length > 0; + if (!doc3.break && fits(next, cmds, rem, hasLineSuffix, groupModeMap)) { + cmds.push(next); + } else { + if (doc3.expandedStates) { + const mostExpanded = at_default( + /* isOptionalObject */ + false, + doc3.expandedStates, + -1 + ); + if (doc3.break) { + cmds.push({ + ind, + mode: MODE_BREAK, + doc: mostExpanded + }); + break; + } else { + for (let i = 1; i < doc3.expandedStates.length + 1; i++) { + if (i >= doc3.expandedStates.length) { + cmds.push({ + ind, + mode: MODE_BREAK, + doc: mostExpanded + }); + break; + } else { + const state = doc3.expandedStates[i]; + const cmd = { + ind, + mode: MODE_FLAT, + doc: state + }; + if (fits(cmd, cmds, rem, hasLineSuffix, groupModeMap)) { + cmds.push(cmd); + break; + } + } + } + } + } else { + cmds.push({ + ind, + mode: MODE_BREAK, + doc: doc3.contents + }); + } + } + break; } } - tiesToBreak.push(context); - } else if (precedingNode) { - addTrailingComment(precedingNode, comment); - } else if (followingNode) { - addLeadingComment(followingNode, comment); - } else if (enclosingNode) { - addDanglingComment(enclosingNode, comment); - } else { - addDanglingComment(ast2, comment); - } - } - } - breakTies(tiesToBreak, options8); - if (!avoidAstMutation) { - for (const comment of comments) { - delete comment.precedingNode; - delete comment.enclosingNode; - delete comment.followingNode; - } - } -} -var isAllEmptyAndNoLineBreak = (text) => !/[\S\n\u2028\u2029]/.test(text); -function isOwnLineComment(text, options8, decoratedComments, commentIndex) { - const { comment, precedingNode } = decoratedComments[commentIndex]; - const { locStart, locEnd } = options8; - let start = locStart(comment); - if (precedingNode) { - for (let index = commentIndex - 1; index >= 0; index--) { - const { comment: comment2, precedingNode: currentCommentPrecedingNode } = decoratedComments[index]; - if (currentCommentPrecedingNode !== precedingNode || !isAllEmptyAndNoLineBreak(text.slice(locEnd(comment2), start))) { + if (doc3.id) { + groupModeMap[doc3.id] = at_default( + /* isOptionalObject */ + false, + cmds, + -1 + ).mode; + } + break; + case DOC_TYPE_FILL: { + const rem = width - pos2; + const { + parts + } = doc3; + if (parts.length === 0) { + break; + } + const [content, whitespace] = parts; + const contentFlatCmd = { + ind, + mode: MODE_FLAT, + doc: content + }; + const contentBreakCmd = { + ind, + mode: MODE_BREAK, + doc: content + }; + const contentFits = fits(contentFlatCmd, [], rem, lineSuffix2.length > 0, groupModeMap, true); + if (parts.length === 1) { + if (contentFits) { + cmds.push(contentFlatCmd); + } else { + cmds.push(contentBreakCmd); + } + break; + } + const whitespaceFlatCmd = { + ind, + mode: MODE_FLAT, + doc: whitespace + }; + const whitespaceBreakCmd = { + ind, + mode: MODE_BREAK, + doc: whitespace + }; + if (parts.length === 2) { + if (contentFits) { + cmds.push(whitespaceFlatCmd, contentFlatCmd); + } else { + cmds.push(whitespaceBreakCmd, contentBreakCmd); + } + break; + } + parts.splice(0, 2); + const remainingCmd = { + ind, + mode, + doc: fill(parts) + }; + const secondContent = parts[0]; + const firstAndSecondContentFlatCmd = { + ind, + mode: MODE_FLAT, + doc: [content, whitespace, secondContent] + }; + const firstAndSecondContentFits = fits(firstAndSecondContentFlatCmd, [], rem, lineSuffix2.length > 0, groupModeMap, true); + if (firstAndSecondContentFits) { + cmds.push(remainingCmd, whitespaceFlatCmd, contentFlatCmd); + } else if (contentFits) { + cmds.push(remainingCmd, whitespaceBreakCmd, contentFlatCmd); + } else { + cmds.push(remainingCmd, whitespaceBreakCmd, contentBreakCmd); + } break; } - start = locStart(comment2); - } - } - return has_newline_default(text, start, { backwards: true }); -} -function isEndOfLineComment(text, options8, decoratedComments, commentIndex) { - const { comment, followingNode } = decoratedComments[commentIndex]; - const { locStart, locEnd } = options8; - let end = locEnd(comment); - if (followingNode) { - for (let index = commentIndex + 1; index < decoratedComments.length; index++) { - const { comment: comment2, followingNode: currentCommentFollowingNode } = decoratedComments[index]; - if (currentCommentFollowingNode !== followingNode || !isAllEmptyAndNoLineBreak(text.slice(end, locStart(comment2)))) { + case DOC_TYPE_IF_BREAK: + case DOC_TYPE_INDENT_IF_BREAK: { + const groupMode = doc3.groupId ? groupModeMap[doc3.groupId] : mode; + if (groupMode === MODE_BREAK) { + const breakContents = doc3.type === DOC_TYPE_IF_BREAK ? doc3.breakContents : doc3.negate ? doc3.contents : indent(doc3.contents); + if (breakContents) { + cmds.push({ + ind, + mode, + doc: breakContents + }); + } + } + if (groupMode === MODE_FLAT) { + const flatContents = doc3.type === DOC_TYPE_IF_BREAK ? doc3.flatContents : doc3.negate ? indent(doc3.contents) : doc3.contents; + if (flatContents) { + cmds.push({ + ind, + mode, + doc: flatContents + }); + } + } break; } - end = locEnd(comment2); - } - } - return has_newline_default(text, end); -} -function breakTies(tiesToBreak, options8) { - var _a, _b; - const tieCount = tiesToBreak.length; - if (tieCount === 0) { - return; - } - const { precedingNode, followingNode } = tiesToBreak[0]; - let gapEndPos = options8.locStart(followingNode); - let indexOfFirstLeadingComment; - for (indexOfFirstLeadingComment = tieCount; indexOfFirstLeadingComment > 0; --indexOfFirstLeadingComment) { - const { - comment, - precedingNode: currentCommentPrecedingNode, - followingNode: currentCommentFollowingNode - } = tiesToBreak[indexOfFirstLeadingComment - 1]; - assert.strictEqual(currentCommentPrecedingNode, precedingNode); - assert.strictEqual(currentCommentFollowingNode, followingNode); - const gap = options8.originalText.slice(options8.locEnd(comment), gapEndPos); - if (((_b = (_a = options8.printer).isGap) == null ? void 0 : _b.call(_a, gap, options8)) ?? /^[\s(]*$/.test(gap)) { - gapEndPos = options8.locStart(comment); - } else { - break; + case DOC_TYPE_LINE_SUFFIX: + lineSuffix2.push({ + ind, + mode, + doc: doc3.contents + }); + break; + case DOC_TYPE_LINE_SUFFIX_BOUNDARY: + if (lineSuffix2.length > 0) { + cmds.push({ + ind, + mode, + doc: hardlineWithoutBreakParent + }); + } + break; + case DOC_TYPE_LINE: + switch (mode) { + case MODE_FLAT: + if (!doc3.hard) { + if (!doc3.soft) { + out.push(" "); + pos2 += 1; + } + break; + } else { + shouldRemeasure = true; + } + case MODE_BREAK: + if (lineSuffix2.length > 0) { + cmds.push({ + ind, + mode, + doc: doc3 + }, ...lineSuffix2.reverse()); + lineSuffix2.length = 0; + break; + } + if (doc3.literal) { + if (ind.root) { + out.push(newLine, ind.root.value); + pos2 = ind.root.length; + } else { + out.push(newLine); + pos2 = 0; + } + } else { + pos2 -= trim(out); + out.push(newLine + ind.value); + pos2 = ind.length; + } + break; + } + break; + case DOC_TYPE_LABEL: + cmds.push({ + ind, + mode, + doc: doc3.contents + }); + break; + case DOC_TYPE_BREAK_PARENT: + break; + default: + throw new invalid_doc_error_default(doc3); } - } - for (const [i, { comment }] of tiesToBreak.entries()) { - if (i < indexOfFirstLeadingComment) { - addTrailingComment(precedingNode, comment); - } else { - addLeadingComment(followingNode, comment); + if (cmds.length === 0 && lineSuffix2.length > 0) { + cmds.push(...lineSuffix2.reverse()); + lineSuffix2.length = 0; } } - for (const node of [precedingNode, followingNode]) { - if (node.comments && node.comments.length > 1) { - node.comments.sort((a, b) => options8.locStart(a) - options8.locStart(b)); - } + const cursorPlaceholderIndex = out.indexOf(CURSOR_PLACEHOLDER); + if (cursorPlaceholderIndex !== -1) { + const otherCursorPlaceholderIndex = out.indexOf(CURSOR_PLACEHOLDER, cursorPlaceholderIndex + 1); + const beforeCursor = out.slice(0, cursorPlaceholderIndex).join(""); + const aroundCursor = out.slice(cursorPlaceholderIndex + 1, otherCursorPlaceholderIndex).join(""); + const afterCursor = out.slice(otherCursorPlaceholderIndex + 1).join(""); + return { + formatted: beforeCursor + aroundCursor + afterCursor, + cursorNodeStart: beforeCursor.length, + cursorNodeText: aroundCursor + }; } - tiesToBreak.length = 0; + return { + formatted: out.join("") + }; } -function findExpressionIndexForComment(quasis, comment, options8) { - const startPos = options8.locStart(comment) - 1; - for (let i = 1; i < quasis.length; ++i) { - if (startPos < options8.locStart(quasis[i])) { - return i - 1; + +// src/utils/get-alignment-size.js +function getAlignmentSize(text, tabWidth, startIndex = 0) { + let size = 0; + for (let i = startIndex; i < text.length; ++i) { + if (text[i] === " ") { + size = size + tabWidth - size % tabWidth; + } else { + size++; } } - return 0; -} - -// src/utils/is-previous-line-empty.js -function isPreviousLineEmpty(text, startIndex) { - let idx = startIndex - 1; - idx = skipSpaces(text, idx, { backwards: true }); - idx = skip_newline_default(text, idx, { backwards: true }); - idx = skipSpaces(text, idx, { backwards: true }); - const idx2 = skip_newline_default(text, idx, { backwards: true }); - return idx !== idx2; + return size; } -var is_previous_line_empty_default = isPreviousLineEmpty; +var get_alignment_size_default = getAlignmentSize; -// src/main/comments/print.js -function printComment(path9, options8) { - const comment = path9.node; - comment.printed = true; - return options8.printer.printComment(path9, options8); -} -function printLeadingComment(path9, options8) { - var _a; - const comment = path9.node; - const parts = [printComment(path9, options8)]; - const { printer, originalText, locStart, locEnd } = options8; - const isBlock = (_a = printer.isBlockComment) == null ? void 0 : _a.call(printer, comment); - if (isBlock) { - const lineBreak = has_newline_default(originalText, locEnd(comment)) ? has_newline_default(originalText, locStart(comment), { - backwards: true - }) ? hardline : line : " "; - parts.push(lineBreak); - } else { - parts.push(hardline); +// src/common/ast-path.js +var _AstPath_instances, getNodeStackIndex_fn, getAncestors_fn; +var AstPath = class { + constructor(value) { + __privateAdd(this, _AstPath_instances); + this.stack = [value]; } - const index = skip_newline_default( - originalText, - skipSpaces(originalText, locEnd(comment)) - ); - if (index !== false && has_newline_default(originalText, index)) { - parts.push(hardline); + /** @type {string | null} */ + get key() { + const { + stack: stack2, + siblings + } = this; + return at_default( + /* isOptionalObject */ + false, + stack2, + siblings === null ? -2 : -4 + ) ?? null; } - return parts; -} -function printTrailingComment(path9, options8, previousComment) { - var _a; - const comment = path9.node; - const printed = printComment(path9, options8); - const { printer, originalText, locStart } = options8; - const isBlock = (_a = printer.isBlockComment) == null ? void 0 : _a.call(printer, comment); - if ((previousComment == null ? void 0 : previousComment.hasLineSuffix) && !(previousComment == null ? void 0 : previousComment.isBlock) || has_newline_default(originalText, locStart(comment), { backwards: true })) { - const isLineBeforeEmpty = is_previous_line_empty_default( - originalText, - locStart(comment) + /** @type {number | null} */ + get index() { + return this.siblings === null ? null : at_default( + /* isOptionalObject */ + false, + this.stack, + -2 ); - return { - doc: lineSuffix([hardline, isLineBeforeEmpty ? hardline : "", printed]), - isBlock, - hasLineSuffix: true - }; } - if (!isBlock || (previousComment == null ? void 0 : previousComment.hasLineSuffix)) { - return { - doc: [lineSuffix([" ", printed]), breakParent], - isBlock, - hasLineSuffix: true - }; + /** @type {object} */ + get node() { + return at_default( + /* isOptionalObject */ + false, + this.stack, + -1 + ); } - return { doc: [" ", printed], isBlock, hasLineSuffix: false }; -} -function printCommentsSeparately(path9, options8) { - const value = path9.node; - if (!value) { - return {}; + /** @type {object | null} */ + get parent() { + return this.getNode(1); } - const ignored = options8[Symbol.for("printedComments")]; - const comments = (value.comments || []).filter( - (comment) => !ignored.has(comment) - ); - if (comments.length === 0) { - return { leading: "", trailing: "" }; + /** @type {object | null} */ + get grandparent() { + return this.getNode(2); } - const leadingParts = []; - const trailingParts = []; - let printedTrailingComment; - path9.each(() => { - const comment = path9.node; - if (ignored == null ? void 0 : ignored.has(comment)) { - return; - } - const { leading, trailing } = comment; - if (leading) { - leadingParts.push(printLeadingComment(path9, options8)); - } else if (trailing) { - printedTrailingComment = printTrailingComment( - path9, - options8, - printedTrailingComment + /** @type {boolean} */ + get isInArray() { + return this.siblings !== null; + } + /** @type {object[] | null} */ + get siblings() { + const { + stack: stack2 + } = this; + const maybeArray = at_default( + /* isOptionalObject */ + false, + stack2, + -3 + ); + return Array.isArray(maybeArray) ? maybeArray : null; + } + /** @type {object | null} */ + get next() { + const { + siblings + } = this; + return siblings === null ? null : siblings[this.index + 1]; + } + /** @type {object | null} */ + get previous() { + const { + siblings + } = this; + return siblings === null ? null : siblings[this.index - 1]; + } + /** @type {boolean} */ + get isFirst() { + return this.index === 0; + } + /** @type {boolean} */ + get isLast() { + const { + siblings, + index + } = this; + return siblings !== null && index === siblings.length - 1; + } + /** @type {boolean} */ + get isRoot() { + return this.stack.length === 1; + } + /** @type {object} */ + get root() { + return this.stack[0]; + } + /** @type {object[]} */ + get ancestors() { + return [...__privateMethod(this, _AstPath_instances, getAncestors_fn).call(this)]; + } + // The name of the current property is always the penultimate element of + // this.stack, and always a string/number/symbol. + getName() { + const { + stack: stack2 + } = this; + const { + length + } = stack2; + if (length > 1) { + return at_default( + /* isOptionalObject */ + false, + stack2, + -2 ); - trailingParts.push(printedTrailingComment.doc); } - }, "comments"); - return { leading: leadingParts, trailing: trailingParts }; -} -function printComments(path9, doc2, options8) { - const { leading, trailing } = printCommentsSeparately(path9, options8); - if (!leading && !trailing) { - return doc2; + return null; } - return inheritLabel(doc2, (doc3) => [leading, doc3, trailing]); -} -function ensureAllCommentsPrinted(options8) { - const { - [Symbol.for("comments")]: comments, - [Symbol.for("printedComments")]: printedComments - } = options8; - for (const comment of comments) { - if (!comment.printed && !printedComments.has(comment)) { - throw new Error( - 'Comment "' + comment.value.trim() + '" was not printed. Please report this error!' - ); + // The value of the current property is always the final element of + // this.stack. + getValue() { + return at_default( + /* isOptionalObject */ + false, + this.stack, + -1 + ); + } + getNode(count = 0) { + const stackIndex = __privateMethod(this, _AstPath_instances, getNodeStackIndex_fn).call(this, count); + return stackIndex === -1 ? null : this.stack[stackIndex]; + } + getParentNode(count = 0) { + return this.getNode(count + 1); + } + // Temporarily push properties named by string arguments given after the + // callback function onto this.stack, then call the callback with a + // reference to this (modified) AstPath object. Note that the stack will + // be restored to its original state after the callback is finished, so it + // is probably a mistake to retain a reference to the path. + call(callback, ...names) { + const { + stack: stack2 + } = this; + const { + length + } = stack2; + let value = at_default( + /* isOptionalObject */ + false, + stack2, + -1 + ); + for (const name of names) { + value = value[name]; + stack2.push(name, value); + } + try { + return callback(this); + } finally { + stack2.length = length; } - delete comment.printed; } -} - -// src/main/multiparser.js -async function printEmbeddedLanguages(path9, genericPrint, options8, printAstToDoc2, embeds) { - const { - embeddedLanguageFormatting, - printer: { - embed, - hasPrettierIgnore = () => false, - getVisitorKeys: printerGetVisitorKeys + /** + * @template {(path: AstPath) => any} T + * @param {T} callback + * @param {number} [count=0] + * @returns {ReturnType} + */ + callParent(callback, count = 0) { + const stackIndex = __privateMethod(this, _AstPath_instances, getNodeStackIndex_fn).call(this, count + 1); + const parentValues = this.stack.splice(stackIndex + 1); + try { + return callback(this); + } finally { + this.stack.push(...parentValues); } - } = options8; - if (!embed || embeddedLanguageFormatting !== "auto") { - return; } - if (embed.length > 2) { - throw new Error( - "printer.embed has too many parameters. The API changed in Prettier v3. Please update your plugin. See https://prettier.io/docs/en/plugins.html#optional-embed" + // Similar to AstPath.prototype.call, except that the value obtained by + // accessing this.getValue()[name1][name2]... should be array. The + // callback will be called with a reference to this path object for each + // element of the array. + each(callback, ...names) { + const { + stack: stack2 + } = this; + const { + length + } = stack2; + let value = at_default( + /* isOptionalObject */ + false, + stack2, + -1 ); - } - const getVisitorKeys = create_get_visitor_keys_function_default( - embed.getVisitorKeys ?? printerGetVisitorKeys - ); - const embedCallResults = []; - recurse(); - const originalPathStack = path9.stack; - for (const { print, node, pathStack } of embedCallResults) { + for (const name of names) { + value = value[name]; + stack2.push(name, value); + } try { - path9.stack = pathStack; - const doc2 = await print(textToDocForEmbed, genericPrint, path9, options8); - if (doc2) { - embeds.set(node, doc2); - } - } catch (error) { - if (process.env.PRETTIER_DEBUG) { - throw error; + for (let i = 0; i < value.length; ++i) { + stack2.push(i, value[i]); + callback(this, i, value); + stack2.length -= 2; } + } finally { + stack2.length = length; } } - path9.stack = originalPathStack; - function textToDocForEmbed(text, partialNextOptions) { - return textToDoc(text, partialNextOptions, options8, printAstToDoc2); + // Similar to AstPath.prototype.each, except that the results of the + // callback function invocations are stored in an array and returned at + // the end of the iteration. + map(callback, ...names) { + const result = []; + this.each((path13, index, value) => { + result[index] = callback(path13, index, value); + }, ...names); + return result; } - function recurse() { - const { node } = path9; - if (node === null || typeof node !== "object" || hasPrettierIgnore(path9)) { - return; - } - for (const key of getVisitorKeys(node)) { - if (Array.isArray(node[key])) { - path9.each(recurse, key); - } else { - path9.call(recurse, key); + /** + * @param {...( + * | ((node: any, name: string | null, number: number | null) => boolean) + * | undefined + * )} predicates + */ + match(...predicates) { + let stackPointer = this.stack.length - 1; + let name = null; + let node = this.stack[stackPointer--]; + for (const predicate of predicates) { + if (node === void 0) { + return false; } + let number = null; + if (typeof name === "number") { + number = name; + name = this.stack[stackPointer--]; + node = this.stack[stackPointer--]; + } + if (predicate && !predicate(node, name, number)) { + return false; + } + name = this.stack[stackPointer--]; + node = this.stack[stackPointer--]; } - const result = embed(path9, options8); - if (!result) { - return; - } - if (typeof result === "function") { - embedCallResults.push({ - print: result, - node, - pathStack: [...path9.stack] - }); - return; - } - if (false) { - throw new Error( - "`embed` should return an async function instead of Promise." - ); - } - embeds.set(node, result); - } -} -async function textToDoc(text, partialNextOptions, parentOptions, printAstToDoc2) { - const options8 = await normalize_format_options_default( - { - ...parentOptions, - ...partialNextOptions, - parentParser: parentOptions.parser, - originalText: text - }, - { passThrough: true } - ); - const { ast } = await parse_default(text, options8); - const doc2 = await printAstToDoc2(ast, options8); - return stripTrailingHardline(doc2); -} - -// src/main/create-print-pre-check-function.js -function createPrintPreCheckFunction(options8) { - if (true) { - return () => { - }; + return true; } - const getVisitorKeys = create_get_visitor_keys_function_default( - options8.printer.getVisitorKeys - ); - return function(path9) { - if (path9.isRoot) { - return; - } - const { key, parent } = path9; - const visitorKeys = getVisitorKeys(parent); - if (visitorKeys.includes(key)) { - return; - } - throw Object.assign(new Error("Calling `print()` on non-node object."), { - parentNode: parent, - allowedProperties: visitorKeys, - printingProperty: key, - printingValue: path9.node, - pathStack: path9.stack.length > 5 ? ["...", ...path9.stack.slice(-5)] : [...path9.stack] - }); - }; -} -var create_print_pre_check_function_default = createPrintPreCheckFunction; - -// src/main/print-ignored.js -function printIgnored(path9, options8) { - const { - originalText, - [Symbol.for("comments")]: comments, - locStart, - locEnd, - [Symbol.for("printedComments")]: printedComments - } = options8; - const { node } = path9; - const start = locStart(node); - const end = locEnd(node); - for (const comment of comments) { - if (locStart(comment) >= start && locEnd(comment) <= end) { - printedComments.add(comment); + /** + * Traverses the ancestors of the current node heading toward the tree root + * until it finds a node that matches the provided predicate function. Will + * return the first matching ancestor. If no such node exists, returns undefined. + * @param {(node: any) => boolean} predicate + * @internal Unstable API. Don't use in plugins for now. + */ + findAncestor(predicate) { + for (const node of __privateMethod(this, _AstPath_instances, getAncestors_fn).call(this)) { + if (predicate(node)) { + return node; + } } } - return originalText.slice(start, end); -} -var print_ignored_default = printIgnored; - -// src/main/ast-to-doc.js -async function printAstToDoc(ast, options8) { - ({ ast } = await prepareToPrint(ast, options8)); - const cache = /* @__PURE__ */ new Map(); - const path9 = new ast_path_default(ast); - const ensurePrintingNode = create_print_pre_check_function_default(options8); - const embeds = /* @__PURE__ */ new Map(); - await printEmbeddedLanguages(path9, mainPrint, options8, printAstToDoc, embeds); - const doc2 = await callPluginPrintFunction( - path9, - options8, - mainPrint, - void 0, - embeds - ); - ensureAllCommentsPrinted(options8); - return doc2; - function mainPrint(selector, args) { - if (selector === void 0 || selector === path9) { - return mainPrintInternal(args); - } - if (Array.isArray(selector)) { - return path9.call(() => mainPrintInternal(args), ...selector); + /** + * Traverses the ancestors of the current node heading toward the tree root + * until it finds a node that matches the provided predicate function. + * returns true if matched node found. + * @param {(node: any) => boolean} predicate + * @returns {boolean} + * @internal Unstable API. Don't use in plugins for now. + */ + hasAncestor(predicate) { + for (const node of __privateMethod(this, _AstPath_instances, getAncestors_fn).call(this)) { + if (predicate(node)) { + return true; + } } - return path9.call(() => mainPrintInternal(args), selector); + return false; } - function mainPrintInternal(args) { - ensurePrintingNode(path9); - const value = path9.node; - if (value === void 0 || value === null) { - return ""; - } - const shouldCache = value && typeof value === "object" && args === void 0; - if (shouldCache && cache.has(value)) { - return cache.get(value); - } - const doc3 = callPluginPrintFunction(path9, options8, mainPrint, args, embeds); - if (shouldCache) { - cache.set(value, doc3); +}; +_AstPath_instances = new WeakSet(); +getNodeStackIndex_fn = function(count) { + const { + stack: stack2 + } = this; + for (let i = stack2.length - 1; i >= 0; i -= 2) { + if (!Array.isArray(stack2[i]) && --count < 0) { + return i; } - return doc3; - } -} -function callPluginPrintFunction(path9, options8, printPath, args, embeds) { - var _a; - const { node } = path9; - const { printer } = options8; - let doc2; - if ((_a = printer.hasPrettierIgnore) == null ? void 0 : _a.call(printer, path9)) { - doc2 = print_ignored_default(path9, options8); - } else if (embeds.has(node)) { - doc2 = embeds.get(node); - } else { - doc2 = printer.print(path9, options8, printPath, args); - } - if (printer.printComment && (!printer.willPrintOwnComments || !printer.willPrintOwnComments(path9, options8))) { - doc2 = printComments(path9, doc2, options8); - } - if (node === options8.cursorNode) { - doc2 = inheritLabel(doc2, (doc3) => [cursor, doc3, cursor]); } - return doc2; -} -async function prepareToPrint(ast, options8) { - const comments = ast.comments ?? []; - options8[Symbol.for("comments")] = comments; - options8[Symbol.for("tokens")] = ast.tokens ?? []; - options8[Symbol.for("printedComments")] = /* @__PURE__ */ new Set(); - attachComments(ast, options8); + return -1; +}; +getAncestors_fn = function* () { const { - printer: { preprocess } - } = options8; - ast = preprocess ? await preprocess(ast, options8) : ast; - return { ast, comments }; -} + stack: stack2 + } = this; + for (let index = stack2.length - 3; index >= 0; index -= 2) { + const value = stack2[index]; + if (!Array.isArray(value)) { + yield value; + } + } +}; +var ast_path_default = AstPath; -// src/main/range-util.js -import assert2 from "assert"; -var isJsonParser = ({ parser }) => parser === "json" || parser === "json5" || parser === "json-stringify"; -function findCommonAncestor(startNodeAndParents, endNodeAndParents) { - const startNodeAndAncestors = [ - startNodeAndParents.node, - ...startNodeAndParents.parentNodes - ]; - const endNodeAndAncestors = /* @__PURE__ */ new Set([ - endNodeAndParents.node, - ...endNodeAndParents.parentNodes - ]); - return startNodeAndAncestors.find( - (node) => jsonSourceElements.has(node.type) && endNodeAndAncestors.has(node) - ); +// src/main/comments/attach.js +import assert4 from "assert"; + +// src/utils/is-object.js +function isObject2(object) { + return object !== null && typeof object === "object"; } -function dropRootParents(parents) { - let lastParentIndex = parents.length - 1; - for (; ; ) { - const parent = parents[lastParentIndex]; - if ((parent == null ? void 0 : parent.type) === "Program" || (parent == null ? void 0 : parent.type) === "File") { - lastParentIndex--; - } else { - break; +var is_object_default = isObject2; + +// src/utils/ast-utils.js +function* getChildren(node, options8) { + const { getVisitorKeys, filter: filter2 = () => true } = options8; + const isMatchedNode = (node2) => is_object_default(node2) && filter2(node2); + for (const key2 of getVisitorKeys(node)) { + const value = node[key2]; + if (Array.isArray(value)) { + for (const child of value) { + if (isMatchedNode(child)) { + yield child; + } + } + } else if (isMatchedNode(value)) { + yield value; } } - return parents.slice(0, lastParentIndex + 1); } -function findSiblingAncestors(startNodeAndParents, endNodeAndParents, { locStart, locEnd }) { - let resultStartNode = startNodeAndParents.node; - let resultEndNode = endNodeAndParents.node; - if (resultStartNode === resultEndNode) { - return { - startNode: resultStartNode, - endNode: resultEndNode - }; - } - const startNodeStart = locStart(startNodeAndParents.node); - for (const endParent of dropRootParents(endNodeAndParents.parentNodes)) { - if (locStart(endParent) >= startNodeStart) { - resultEndNode = endParent; - } else { - break; +function* getDescendants(node, options8) { + const queue = [node]; + for (let index = 0; index < queue.length; index++) { + const node2 = queue[index]; + for (const child of getChildren(node2, options8)) { + yield child; + queue.push(child); } } - const endNodeEnd = locEnd(endNodeAndParents.node); - for (const startParent of dropRootParents(startNodeAndParents.parentNodes)) { - if (locEnd(startParent) <= endNodeEnd) { - resultStartNode = startParent; - } else { - break; +} + +// src/utils/skip.js +function skip(characters) { + return (text, startIndex, options8) => { + const backwards = Boolean(options8 == null ? void 0 : options8.backwards); + if (startIndex === false) { + return false; } - if (resultStartNode === resultEndNode) { - break; + const { length } = text; + let cursor2 = startIndex; + while (cursor2 >= 0 && cursor2 < length) { + const character = text.charAt(cursor2); + if (characters instanceof RegExp) { + if (!characters.test(character)) { + return cursor2; + } + } else if (!characters.includes(character)) { + return cursor2; + } + backwards ? cursor2-- : cursor2++; } - } - return { - startNode: resultStartNode, - endNode: resultEndNode + if (cursor2 === -1 || cursor2 === length) { + return cursor2; + } + return false; }; } -function findNodeAtOffset(node, offset, options8, predicate, parentNodes = [], type) { - const { locStart, locEnd } = options8; - const start = locStart(node); - const end = locEnd(node); - if (offset > end || offset < start || type === "rangeEnd" && offset === start || type === "rangeStart" && offset === end) { - return; +var skipWhitespace = skip(/\s/u); +var skipSpaces = skip(" "); +var skipToLineEnd = skip(",; "); +var skipEverythingButNewLine = skip(/[^\n\r]/u); + +// src/utils/skip-newline.js +function skipNewline(text, startIndex, options8) { + const backwards = Boolean(options8 == null ? void 0 : options8.backwards); + if (startIndex === false) { + return false; } - for (const childNode of getSortedChildNodes(node, options8)) { - const childResult = findNodeAtOffset( - childNode, - offset, - options8, - predicate, - [node, ...parentNodes], - type - ); - if (childResult) { - return childResult; + const character = text.charAt(startIndex); + if (backwards) { + if (text.charAt(startIndex - 1) === "\r" && character === "\n") { + return startIndex - 2; + } + if (character === "\n" || character === "\r" || character === "\u2028" || character === "\u2029") { + return startIndex - 1; + } + } else { + if (character === "\r" && text.charAt(startIndex + 1) === "\n") { + return startIndex + 2; + } + if (character === "\n" || character === "\r" || character === "\u2028" || character === "\u2029") { + return startIndex + 1; } } - if (!predicate || predicate(node, parentNodes[0])) { - return { - node, - parentNodes - }; - } + return startIndex; +} +var skip_newline_default = skipNewline; + +// src/utils/has-newline.js +function hasNewline(text, startIndex, options8 = {}) { + const idx = skipSpaces( + text, + options8.backwards ? startIndex - 1 : startIndex, + options8 + ); + const idx2 = skip_newline_default(text, idx, options8); + return idx !== idx2; } -function isJsSourceElement(type, parentType) { - return parentType !== "DeclareExportDeclaration" && type !== "TypeParameterDeclaration" && (type === "Directive" || type === "TypeAlias" || type === "TSExportAssignment" || type.startsWith("Declare") || type.startsWith("TSDeclare") || type.endsWith("Statement") || type.endsWith("Declaration")); +var has_newline_default = hasNewline; + +// src/utils/is-non-empty-array.js +function isNonEmptyArray(object) { + return Array.isArray(object) && object.length > 0; } -var jsonSourceElements = /* @__PURE__ */ new Set([ - "JsonRoot", - "ObjectExpression", - "ArrayExpression", - "StringLiteral", - "NumericLiteral", - "BooleanLiteral", - "NullLiteral", - "UnaryExpression", - "TemplateLiteral" -]); -var graphqlSourceElements = /* @__PURE__ */ new Set([ - "OperationDefinition", - "FragmentDefinition", - "VariableDefinition", - "TypeExtensionDefinition", - "ObjectTypeDefinition", - "FieldDefinition", - "DirectiveDefinition", - "EnumTypeDefinition", - "EnumValueDefinition", - "InputValueDefinition", - "InputObjectTypeDefinition", - "SchemaDefinition", - "OperationTypeDefinition", - "InterfaceTypeDefinition", - "UnionTypeDefinition", - "ScalarTypeDefinition" +var is_non_empty_array_default = isNonEmptyArray; + +// src/main/create-get-visitor-keys-function.js +var nonTraversableKeys = /* @__PURE__ */ new Set([ + "tokens", + "comments", + "parent", + "enclosingNode", + "precedingNode", + "followingNode" ]); -function isSourceElement(opts, node, parentNode) { - if (!node) { - return false; - } - switch (opts.parser) { - case "flow": - case "babel": - case "babel-flow": - case "babel-ts": - case "typescript": - case "acorn": - case "espree": - case "meriyah": - case "__babel_estree": - return isJsSourceElement(node.type, parentNode == null ? void 0 : parentNode.type); - case "json": - case "json5": - case "json-stringify": - return jsonSourceElements.has(node.type); - case "graphql": - return graphqlSourceElements.has(node.kind); - case "vue": - return node.tag !== "root"; - } - return false; +var defaultGetVisitorKeys = (node) => Object.keys(node).filter((key2) => !nonTraversableKeys.has(key2)); +function createGetVisitorKeysFunction(printerGetVisitorKeys) { + return printerGetVisitorKeys ? (node) => printerGetVisitorKeys(node, nonTraversableKeys) : defaultGetVisitorKeys; } -function calculateRange(text, opts, ast) { - let { rangeStart: start, rangeEnd: end, locStart, locEnd } = opts; - assert2.ok(end > start); - const firstNonWhitespaceCharacterIndex = text.slice(start, end).search(/\S/); - const isAllWhitespace = firstNonWhitespaceCharacterIndex === -1; - if (!isAllWhitespace) { - start += firstNonWhitespaceCharacterIndex; - for (; end > start; --end) { - if (/\S/.test(text[end - 1])) { - break; - } - } - } - const startNodeAndParents = findNodeAtOffset( - ast, - start, - opts, - (node, parentNode) => isSourceElement(opts, node, parentNode), - [], - "rangeStart" - ); - const endNodeAndParents = ( - // No need find Node at `end`, it will be the same as `startNodeAndParents` - isAllWhitespace ? startNodeAndParents : findNodeAtOffset( - ast, - end, - opts, - (node) => isSourceElement(opts, node), - [], - "rangeEnd" - ) +var create_get_visitor_keys_function_default = createGetVisitorKeysFunction; + +// src/main/comments/utils.js +function describeNodeForDebugging(node) { + const nodeType = node.type || node.kind || "(unknown type)"; + let nodeName = String( + node.name || node.id && (typeof node.id === "object" ? node.id.name : node.id) || node.key && (typeof node.key === "object" ? node.key.name : node.key) || node.value && (typeof node.value === "object" ? "" : String(node.value)) || node.operator || "" ); - if (!startNodeAndParents || !endNodeAndParents) { - return { - rangeStart: 0, - rangeEnd: 0 - }; - } - let startNode; - let endNode; - if (isJsonParser(opts)) { - const commonAncestor = findCommonAncestor( - startNodeAndParents, - endNodeAndParents - ); - startNode = commonAncestor; - endNode = commonAncestor; - } else { - ({ startNode, endNode } = findSiblingAncestors( - startNodeAndParents, - endNodeAndParents, - opts - )); + if (nodeName.length > 20) { + nodeName = nodeName.slice(0, 19) + "\u2026"; } - return { - rangeStart: Math.min(locStart(startNode), locStart(endNode)), - rangeEnd: Math.max(locEnd(startNode), locEnd(endNode)) - }; + return nodeType + (nodeName ? " " + nodeName : ""); } - -// src/main/get-cursor-node.js -function getCursorNode(ast, options8) { - const { cursorOffset, locStart, locEnd } = options8; - const getVisitorKeys = create_get_visitor_keys_function_default( - options8.printer.getVisitorKeys - ); - const nodeContainsCursor = (node) => locStart(node) <= cursorOffset && locEnd(node) >= cursorOffset; - let cursorNode = ast; - for (const node of getDescendants(ast, { - getVisitorKeys, - filter: nodeContainsCursor - })) { - cursorNode = node; +function addCommentHelper(node, comment) { + const comments = node.comments ?? (node.comments = []); + comments.push(comment); + comment.printed = false; + comment.nodeDescription = describeNodeForDebugging(node); +} +function addLeadingComment(node, comment) { + comment.leading = true; + comment.trailing = false; + addCommentHelper(node, comment); +} +function addDanglingComment(node, comment, marker) { + comment.leading = false; + comment.trailing = false; + if (marker) { + comment.marker = marker; } - return cursorNode; + addCommentHelper(node, comment); +} +function addTrailingComment(node, comment) { + comment.leading = false; + comment.trailing = true; + addCommentHelper(node, comment); } -var get_cursor_node_default = getCursorNode; -// src/main/core.js -var BOM = "\uFEFF"; -var CURSOR = Symbol("cursor"); -async function coreFormat(originalText, opts, addAlignmentSize = 0) { - if (!originalText || originalText.trim().length === 0) { - return { - formatted: "", - cursorOffset: -1, - comments: [] - }; +// src/main/comments/attach.js +var childNodesCache = /* @__PURE__ */ new WeakMap(); +function getSortedChildNodes(node, options8) { + if (childNodesCache.has(node)) { + return childNodesCache.get(node); } const { - ast, - text - } = await parse_default(originalText, opts); - if (opts.cursorOffset >= 0) { - opts.cursorNode = get_cursor_node_default(ast, opts); - } - let doc2 = await printAstToDoc(ast, opts, addAlignmentSize); - if (addAlignmentSize > 0) { - doc2 = addAlignmentToDoc([hardline, doc2], addAlignmentSize, opts.tabWidth); + printer: { + getCommentChildNodes, + canAttachComment, + getVisitorKeys: printerGetVisitorKeys + }, + locStart, + locEnd + } = options8; + if (!canAttachComment) { + return []; } - const result = printDocToString(doc2, opts); - if (addAlignmentSize > 0) { - const trimmed = result.formatted.trim(); - if (result.cursorNodeStart !== void 0) { - result.cursorNodeStart -= result.formatted.indexOf(trimmed); + const childNodes = ((getCommentChildNodes == null ? void 0 : getCommentChildNodes(node, options8)) ?? [ + ...getChildren(node, { + getVisitorKeys: create_get_visitor_keys_function_default(printerGetVisitorKeys) + }) + ]).flatMap( + (node2) => canAttachComment(node2) ? [node2] : getSortedChildNodes(node2, options8) + ); + childNodes.sort( + (nodeA, nodeB) => locStart(nodeA) - locStart(nodeB) || locEnd(nodeA) - locEnd(nodeB) + ); + childNodesCache.set(node, childNodes); + return childNodes; +} +function decorateComment(node, comment, options8, enclosingNode) { + const { locStart, locEnd } = options8; + const commentStart = locStart(comment); + const commentEnd = locEnd(comment); + const childNodes = getSortedChildNodes(node, options8); + let precedingNode; + let followingNode; + let left = 0; + let right = childNodes.length; + while (left < right) { + const middle = left + right >> 1; + const child = childNodes[middle]; + const start = locStart(child); + const end = locEnd(child); + if (start <= commentStart && commentEnd <= end) { + return decorateComment(child, comment, options8, child); } - result.formatted = trimmed + convertEndOfLineToChars(opts.endOfLine); - } - const comments = opts[Symbol.for("comments")]; - if (opts.cursorOffset >= 0) { - let oldCursorNodeStart; - let oldCursorNodeText; - let cursorOffsetRelativeToOldCursorNode; - let newCursorNodeStart; - let newCursorNodeText; - if (opts.cursorNode && result.cursorNodeText) { - oldCursorNodeStart = opts.locStart(opts.cursorNode); - oldCursorNodeText = text.slice(oldCursorNodeStart, opts.locEnd(opts.cursorNode)); - cursorOffsetRelativeToOldCursorNode = opts.cursorOffset - oldCursorNodeStart; - newCursorNodeStart = result.cursorNodeStart; - newCursorNodeText = result.cursorNodeText; - } else { - oldCursorNodeStart = 0; - oldCursorNodeText = text; - cursorOffsetRelativeToOldCursorNode = opts.cursorOffset; - newCursorNodeStart = 0; - newCursorNodeText = result.formatted; + if (end <= commentStart) { + precedingNode = child; + left = middle + 1; + continue; } - if (oldCursorNodeText === newCursorNodeText) { - return { - formatted: result.formatted, - cursorOffset: newCursorNodeStart + cursorOffsetRelativeToOldCursorNode, - comments - }; + if (commentEnd <= start) { + followingNode = child; + right = middle; + continue; } - const oldCursorNodeCharArray = oldCursorNodeText.split(""); - oldCursorNodeCharArray.splice(cursorOffsetRelativeToOldCursorNode, 0, CURSOR); - const newCursorNodeCharArray = newCursorNodeText.split(""); - const cursorNodeDiff = (0, import_diff.diffArrays)(oldCursorNodeCharArray, newCursorNodeCharArray); - let cursorOffset = newCursorNodeStart; - for (const entry of cursorNodeDiff) { - if (entry.removed) { - if (entry.value.includes(CURSOR)) { - break; - } - } else { - cursorOffset += entry.count; - } + throw new Error("Comment location overlaps with node location"); + } + if ((enclosingNode == null ? void 0 : enclosingNode.type) === "TemplateLiteral") { + const { quasis } = enclosingNode; + const commentIndex = findExpressionIndexForComment( + quasis, + comment, + options8 + ); + if (precedingNode && findExpressionIndexForComment(quasis, precedingNode, options8) !== commentIndex) { + precedingNode = null; + } + if (followingNode && findExpressionIndexForComment(quasis, followingNode, options8) !== commentIndex) { + followingNode = null; } - return { - formatted: result.formatted, - cursorOffset, - comments - }; } - return { - formatted: result.formatted, - cursorOffset: -1, - comments - }; + return { enclosingNode, precedingNode, followingNode }; } -async function formatRange(originalText, opts) { +var returnFalse = () => false; +function attachComments(ast, options8) { + const { comments } = ast; + delete ast.comments; + if (!is_non_empty_array_default(comments) || !options8.printer.canAttachComment) { + return; + } + const tiesToBreak = []; const { - ast, - text - } = await parse_default(originalText, opts); + locStart, + locEnd, + printer: { + experimentalFeatures: { + // TODO: Make this as default behavior + avoidAstMutation = false + } = {}, + handleComments = {} + }, + originalText: text + } = options8; const { - rangeStart, - rangeEnd - } = calculateRange(text, opts, ast); - const rangeString = text.slice(rangeStart, rangeEnd); - const rangeStart2 = Math.min(rangeStart, text.lastIndexOf("\n", rangeStart) + 1); - const indentString = text.slice(rangeStart2, rangeStart).match(/^\s*/)[0]; - const alignmentSize = get_alignment_size_default(indentString, opts.tabWidth); - const rangeResult = await coreFormat(rangeString, { - ...opts, - rangeStart: 0, - rangeEnd: Number.POSITIVE_INFINITY, - // Track the cursor offset only if it's within our range - cursorOffset: opts.cursorOffset > rangeStart && opts.cursorOffset <= rangeEnd ? opts.cursorOffset - rangeStart : -1, - // Always use `lf` to format, we'll replace it later - endOfLine: "lf" - }, alignmentSize); - const rangeTrimmed = rangeResult.formatted.trimEnd(); - let { - cursorOffset - } = opts; - if (cursorOffset > rangeEnd) { - cursorOffset += rangeTrimmed.length - rangeString.length; - } else if (rangeResult.cursorOffset >= 0) { - cursorOffset = rangeResult.cursorOffset + rangeStart; + ownLine: handleOwnLineComment = returnFalse, + endOfLine: handleEndOfLineComment = returnFalse, + remaining: handleRemainingComment = returnFalse + } = handleComments; + const decoratedComments = comments.map((comment, index) => ({ + ...decorateComment(ast, comment, options8), + comment, + text, + options: options8, + ast, + isLastComment: comments.length - 1 === index + })); + for (const [index, context] of decoratedComments.entries()) { + const { + comment, + precedingNode, + enclosingNode, + followingNode, + text: text2, + options: options9, + ast: ast2, + isLastComment + } = context; + if (options9.parser === "json" || options9.parser === "json5" || options9.parser === "jsonc" || options9.parser === "__js_expression" || options9.parser === "__ts_expression" || options9.parser === "__vue_expression" || options9.parser === "__vue_ts_expression") { + if (locStart(comment) - locStart(ast2) <= 0) { + addLeadingComment(ast2, comment); + continue; + } + if (locEnd(comment) - locEnd(ast2) >= 0) { + addTrailingComment(ast2, comment); + continue; + } + } + let args; + if (avoidAstMutation) { + args = [context]; + } else { + comment.enclosingNode = enclosingNode; + comment.precedingNode = precedingNode; + comment.followingNode = followingNode; + args = [comment, text2, options9, ast2, isLastComment]; + } + if (isOwnLineComment(text2, options9, decoratedComments, index)) { + comment.placement = "ownLine"; + if (handleOwnLineComment(...args)) { + } else if (followingNode) { + addLeadingComment(followingNode, comment); + } else if (precedingNode) { + addTrailingComment(precedingNode, comment); + } else if (enclosingNode) { + addDanglingComment(enclosingNode, comment); + } else { + addDanglingComment(ast2, comment); + } + } else if (isEndOfLineComment(text2, options9, decoratedComments, index)) { + comment.placement = "endOfLine"; + if (handleEndOfLineComment(...args)) { + } else if (precedingNode) { + addTrailingComment(precedingNode, comment); + } else if (followingNode) { + addLeadingComment(followingNode, comment); + } else if (enclosingNode) { + addDanglingComment(enclosingNode, comment); + } else { + addDanglingComment(ast2, comment); + } + } else { + comment.placement = "remaining"; + if (handleRemainingComment(...args)) { + } else if (precedingNode && followingNode) { + const tieCount = tiesToBreak.length; + if (tieCount > 0) { + const lastTie = tiesToBreak[tieCount - 1]; + if (lastTie.followingNode !== followingNode) { + breakTies(tiesToBreak, options9); + } + } + tiesToBreak.push(context); + } else if (precedingNode) { + addTrailingComment(precedingNode, comment); + } else if (followingNode) { + addLeadingComment(followingNode, comment); + } else if (enclosingNode) { + addDanglingComment(enclosingNode, comment); + } else { + addDanglingComment(ast2, comment); + } + } } - let formatted = text.slice(0, rangeStart) + rangeTrimmed + text.slice(rangeEnd); - if (opts.endOfLine !== "lf") { - const eol = convertEndOfLineToChars(opts.endOfLine); - if (cursorOffset >= 0 && eol === "\r\n") { - cursorOffset += countEndOfLineChars(formatted.slice(0, cursorOffset), "\n"); + breakTies(tiesToBreak, options8); + if (!avoidAstMutation) { + for (const comment of comments) { + delete comment.precedingNode; + delete comment.enclosingNode; + delete comment.followingNode; } - formatted = string_replace_all_default( - /* isOptionalObject*/ - false, - formatted, - "\n", - eol - ); } - return { - formatted, - cursorOffset, - comments: rangeResult.comments - }; } -function ensureIndexInText(text, index, defaultValue) { - if (typeof index !== "number" || Number.isNaN(index) || index < 0 || index > text.length) { - return defaultValue; +var isAllEmptyAndNoLineBreak = (text) => !/[\S\n\u2028\u2029]/u.test(text); +function isOwnLineComment(text, options8, decoratedComments, commentIndex) { + const { comment, precedingNode } = decoratedComments[commentIndex]; + const { locStart, locEnd } = options8; + let start = locStart(comment); + if (precedingNode) { + for (let index = commentIndex - 1; index >= 0; index--) { + const { comment: comment2, precedingNode: currentCommentPrecedingNode } = decoratedComments[index]; + if (currentCommentPrecedingNode !== precedingNode || !isAllEmptyAndNoLineBreak(text.slice(locEnd(comment2), start))) { + break; + } + start = locStart(comment2); + } } - return index; -} -function normalizeIndexes(text, options8) { - let { - cursorOffset, - rangeStart, - rangeEnd - } = options8; - cursorOffset = ensureIndexInText(text, cursorOffset, -1); - rangeStart = ensureIndexInText(text, rangeStart, 0); - rangeEnd = ensureIndexInText(text, rangeEnd, text.length); - return { - ...options8, - cursorOffset, - rangeStart, - rangeEnd - }; + return has_newline_default(text, start, { backwards: true }); } -function normalizeInputAndOptions(text, options8) { - let { - cursorOffset, - rangeStart, - rangeEnd, - endOfLine - } = normalizeIndexes(text, options8); - const hasBOM = text.charAt(0) === BOM; - if (hasBOM) { - text = text.slice(1); - cursorOffset--; - rangeStart--; - rangeEnd--; - } - if (endOfLine === "auto") { - endOfLine = guessEndOfLine(text); - } - if (text.includes("\r")) { - const countCrlfBefore = (index) => countEndOfLineChars(text.slice(0, Math.max(index, 0)), "\r\n"); - cursorOffset -= countCrlfBefore(cursorOffset); - rangeStart -= countCrlfBefore(rangeStart); - rangeEnd -= countCrlfBefore(rangeEnd); - text = normalizeEndOfLine(text); +function isEndOfLineComment(text, options8, decoratedComments, commentIndex) { + const { comment, followingNode } = decoratedComments[commentIndex]; + const { locStart, locEnd } = options8; + let end = locEnd(comment); + if (followingNode) { + for (let index = commentIndex + 1; index < decoratedComments.length; index++) { + const { comment: comment2, followingNode: currentCommentFollowingNode } = decoratedComments[index]; + if (currentCommentFollowingNode !== followingNode || !isAllEmptyAndNoLineBreak(text.slice(end, locStart(comment2)))) { + break; + } + end = locEnd(comment2); + } } - return { - hasBOM, - text, - options: normalizeIndexes(text, { - ...options8, - cursorOffset, - rangeStart, - rangeEnd, - endOfLine - }) - }; -} -async function hasPragma(text, options8) { - const selectedParser = await resolveParser(options8); - return !selectedParser.hasPragma || selectedParser.hasPragma(text); + return has_newline_default(text, end); } -async function formatWithCursor(originalText, originalOptions) { - let { - hasBOM, - text, - options: options8 - } = normalizeInputAndOptions(originalText, await normalize_format_options_default(originalOptions)); - if (options8.rangeStart >= options8.rangeEnd && text !== "" || options8.requirePragma && !await hasPragma(text, options8)) { - return { - formatted: originalText, - cursorOffset: originalOptions.cursorOffset, - comments: [] - }; +function breakTies(tiesToBreak, options8) { + var _a, _b; + const tieCount = tiesToBreak.length; + if (tieCount === 0) { + return; } - let result; - if (options8.rangeStart > 0 || options8.rangeEnd < text.length) { - result = await formatRange(text, options8); - } else { - if (!options8.requirePragma && options8.insertPragma && options8.printer.insertPragma && !await hasPragma(text, options8)) { - text = options8.printer.insertPragma(text); + const { precedingNode, followingNode } = tiesToBreak[0]; + let gapEndPos = options8.locStart(followingNode); + let indexOfFirstLeadingComment; + for (indexOfFirstLeadingComment = tieCount; indexOfFirstLeadingComment > 0; --indexOfFirstLeadingComment) { + const { + comment, + precedingNode: currentCommentPrecedingNode, + followingNode: currentCommentFollowingNode + } = tiesToBreak[indexOfFirstLeadingComment - 1]; + assert4.strictEqual(currentCommentPrecedingNode, precedingNode); + assert4.strictEqual(currentCommentFollowingNode, followingNode); + const gap = options8.originalText.slice(options8.locEnd(comment), gapEndPos); + if (((_b = (_a = options8.printer).isGap) == null ? void 0 : _b.call(_a, gap, options8)) ?? /^[\s(]*$/u.test(gap)) { + gapEndPos = options8.locStart(comment); + } else { + break; } - result = await coreFormat(text, options8); } - if (hasBOM) { - result.formatted = BOM + result.formatted; - if (result.cursorOffset >= 0) { - result.cursorOffset++; + for (const [i, { comment }] of tiesToBreak.entries()) { + if (i < indexOfFirstLeadingComment) { + addTrailingComment(precedingNode, comment); + } else { + addLeadingComment(followingNode, comment); } } - return result; -} -async function parse2(originalText, originalOptions, devOptions) { - const { - text, - options: options8 - } = normalizeInputAndOptions(originalText, await normalize_format_options_default(originalOptions)); - const parsed = await parse_default(text, options8); - if (devOptions) { - if (devOptions.preprocessForPrint) { - parsed.ast = await prepareToPrint(parsed.ast, options8); - } - if (devOptions.massage) { - parsed.ast = massage_ast_default(parsed.ast, options8); + for (const node of [precedingNode, followingNode]) { + if (node.comments && node.comments.length > 1) { + node.comments.sort((a, b) => options8.locStart(a) - options8.locStart(b)); } } - return parsed; -} -async function formatAst(ast, options8) { - options8 = await normalize_format_options_default(options8); - const doc2 = await printAstToDoc(ast, options8); - return printDocToString(doc2, options8); -} -async function formatDoc(doc2, options8) { - const text = printDocToDebug(doc2); - const { - formatted - } = await formatWithCursor(text, { - ...options8, - parser: "__js_expression" - }); - return formatted; -} -async function printToDoc(originalText, options8) { - options8 = await normalize_format_options_default(options8); - const { - ast - } = await parse_default(originalText, options8); - return printAstToDoc(ast, options8); + tiesToBreak.length = 0; } -async function printDocToString2(doc2, options8) { - return printDocToString(doc2, await normalize_format_options_default(options8)); +function findExpressionIndexForComment(quasis, comment, options8) { + const startPos = options8.locStart(comment) - 1; + for (let i = 1; i < quasis.length; ++i) { + if (startPos < options8.locStart(quasis[i])) { + return i - 1; + } + } + return 0; } -// src/config/resolve-config.js -var import_micromatch = __toESM(require_micromatch(), 1); -import path5 from "path"; +// src/utils/is-previous-line-empty.js +function isPreviousLineEmpty(text, startIndex) { + let idx = startIndex - 1; + idx = skipSpaces(text, idx, { backwards: true }); + idx = skip_newline_default(text, idx, { backwards: true }); + idx = skipSpaces(text, idx, { backwards: true }); + const idx2 = skip_newline_default(text, idx, { backwards: true }); + return idx !== idx2; +} +var is_previous_line_empty_default = isPreviousLineEmpty; -// node_modules/mimic-fn/index.js -var copyProperty = (to, from, property, ignoreNonConfigurable) => { - if (property === "length" || property === "prototype") { - return; - } - if (property === "arguments" || property === "caller") { - return; - } - const toDescriptor = Object.getOwnPropertyDescriptor(to, property); - const fromDescriptor = Object.getOwnPropertyDescriptor(from, property); - if (!canCopyProperty(toDescriptor, fromDescriptor) && ignoreNonConfigurable) { - return; - } - Object.defineProperty(to, property, fromDescriptor); -}; -var canCopyProperty = function(toDescriptor, fromDescriptor) { - return toDescriptor === void 0 || toDescriptor.configurable || toDescriptor.writable === fromDescriptor.writable && toDescriptor.enumerable === fromDescriptor.enumerable && toDescriptor.configurable === fromDescriptor.configurable && (toDescriptor.writable || toDescriptor.value === fromDescriptor.value); -}; -var changePrototype = (to, from) => { - const fromPrototype = Object.getPrototypeOf(from); - if (fromPrototype === Object.getPrototypeOf(to)) { - return; +// src/main/comments/print.js +function printComment(path13, options8) { + const comment = path13.node; + comment.printed = true; + return options8.printer.printComment(path13, options8); +} +function printLeadingComment(path13, options8) { + var _a; + const comment = path13.node; + const parts = [printComment(path13, options8)]; + const { printer, originalText, locStart, locEnd } = options8; + const isBlock = (_a = printer.isBlockComment) == null ? void 0 : _a.call(printer, comment); + if (isBlock) { + const lineBreak = has_newline_default(originalText, locEnd(comment)) ? has_newline_default(originalText, locStart(comment), { + backwards: true + }) ? hardline : line2 : " "; + parts.push(lineBreak); + } else { + parts.push(hardline); } - Object.setPrototypeOf(to, fromPrototype); -}; -var wrappedToString = (withName, fromBody) => `/* Wrapped ${withName}*/ -${fromBody}`; -var toStringDescriptor = Object.getOwnPropertyDescriptor(Function.prototype, "toString"); -var toStringName = Object.getOwnPropertyDescriptor(Function.prototype.toString, "name"); -var changeToString = (to, from, name) => { - const withName = name === "" ? "" : `with ${name.trim()}() `; - const newToString = wrappedToString.bind(null, withName, from.toString()); - Object.defineProperty(newToString, "name", toStringName); - Object.defineProperty(to, "toString", { ...toStringDescriptor, value: newToString }); -}; -function mimicFunction(to, from, { ignoreNonConfigurable = false } = {}) { - const { name } = to; - for (const property of Reflect.ownKeys(from)) { - copyProperty(to, from, property, ignoreNonConfigurable); + const index = skip_newline_default( + originalText, + skipSpaces(originalText, locEnd(comment)) + ); + if (index !== false && has_newline_default(originalText, index)) { + parts.push(hardline); } - changePrototype(to, from); - changeToString(to, from, name); - return to; + return parts; } - -// node_modules/mem/dist/index.js -var import_map_age_cleaner = __toESM(require_dist(), 1); -var cacheStore = /* @__PURE__ */ new WeakMap(); -function mem(fn, { cacheKey, cache = /* @__PURE__ */ new Map(), maxAge } = {}) { - if (typeof maxAge === "number") { - (0, import_map_age_cleaner.default)(cache); +function printTrailingComment(path13, options8, previousComment) { + var _a; + const comment = path13.node; + const printed = printComment(path13, options8); + const { printer, originalText, locStart } = options8; + const isBlock = (_a = printer.isBlockComment) == null ? void 0 : _a.call(printer, comment); + if ((previousComment == null ? void 0 : previousComment.hasLineSuffix) && !(previousComment == null ? void 0 : previousComment.isBlock) || has_newline_default(originalText, locStart(comment), { backwards: true })) { + const isLineBeforeEmpty = is_previous_line_empty_default( + originalText, + locStart(comment) + ); + return { + doc: lineSuffix([hardline, isLineBeforeEmpty ? hardline : "", printed]), + isBlock, + hasLineSuffix: true + }; } - const memoized = function(...arguments_) { - const key = cacheKey ? cacheKey(arguments_) : arguments_[0]; - const cacheItem = cache.get(key); - if (cacheItem) { - return cacheItem.data; - } - const result = fn.apply(this, arguments_); - cache.set(key, { - data: result, - maxAge: maxAge ? Date.now() + maxAge : Number.POSITIVE_INFINITY - }); - return result; - }; - mimicFunction(memoized, fn, { - ignoreNonConfigurable: true - }); - cacheStore.set(memoized, cache); - return memoized; + if (!isBlock || (previousComment == null ? void 0 : previousComment.hasLineSuffix)) { + return { + doc: [lineSuffix([" ", printed]), breakParent], + isBlock, + hasLineSuffix: true + }; + } + return { doc: [" ", printed], isBlock, hasLineSuffix: false }; } -function memClear(fn) { - const cache = cacheStore.get(fn); - if (!cache) { - throw new TypeError("Can't clear a function that was not memoized!"); +function printCommentsSeparately(path13, options8) { + const value = path13.node; + if (!value) { + return {}; } - if (typeof cache.clear !== "function") { - throw new TypeError("The cache Map can't be cleared!"); + const ignored = options8[Symbol.for("printedComments")]; + const comments = (value.comments || []).filter( + (comment) => !ignored.has(comment) + ); + if (comments.length === 0) { + return { leading: "", trailing: "" }; } - cache.clear(); + const leadingParts = []; + const trailingParts = []; + let printedTrailingComment; + path13.each(() => { + const comment = path13.node; + if (ignored == null ? void 0 : ignored.has(comment)) { + return; + } + const { leading, trailing } = comment; + if (leading) { + leadingParts.push(printLeadingComment(path13, options8)); + } else if (trailing) { + printedTrailingComment = printTrailingComment( + path13, + options8, + printedTrailingComment + ); + trailingParts.push(printedTrailingComment.doc); + } + }, "comments"); + return { leading: leadingParts, trailing: trailingParts }; } - -// src/utils/partition.js -function partition(array, predicate) { - const result = [[], []]; - for (const value of array) { - result[predicate(value) ? 0 : 1].push(value); +function printComments(path13, doc2, options8) { + const { leading, trailing } = printCommentsSeparately(path13, options8); + if (!leading && !trailing) { + return doc2; } - return result; + return inheritLabel(doc2, (doc3) => [leading, doc3, trailing]); } -var partition_default = partition; - -// src/config/resolve-editorconfig.js -var import_editorconfig = __toESM(require_src(), 1); -var import_editorconfig_to_prettier = __toESM(require_editorconfig_to_prettier(), 1); -import path2 from "path"; - -// src/config/find-project-root.js -import fs2 from "fs"; -import path from "path"; -var MARKERS = [".git", ".hg"]; -var markerExists = (directory) => MARKERS.some((mark) => fs2.existsSync(path.join(directory, mark))); -function findProjectRoot(directory) { - while (!markerExists(directory)) { - const parentDirectory = path.resolve(directory, ".."); - if (parentDirectory === directory) { - break; +function ensureAllCommentsPrinted(options8) { + const { + [Symbol.for("comments")]: comments, + [Symbol.for("printedComments")]: printedComments + } = options8; + for (const comment of comments) { + if (!comment.printed && !printedComments.has(comment)) { + throw new Error( + 'Comment "' + comment.value.trim() + '" was not printed. Please report this error!' + ); } - directory = parentDirectory; + delete comment.printed; } - return directory; } -var find_project_root_default = findProjectRoot; -// src/config/resolve-editorconfig.js -async function loadEditorConfig(filePath) { - const editorConfig = await import_editorconfig.default.parse(filePath, { - root: find_project_root_default(path2.dirname(path2.resolve(filePath))) - }); - const config = (0, import_editorconfig_to_prettier.default)(editorConfig); - if (config) { - delete config.insertFinalNewline; +// src/main/create-print-pre-check-function.js +function createPrintPreCheckFunction(options8) { + if (true) { + return () => { + }; } - return config; -} -var resolve_editorconfig_default = loadEditorConfig; - -// src/config/get-prettier-config-explorer.js -var import_parse_async = __toESM(require_parse_async(), 1); -var import_parse3 = __toESM(require_parse3(), 1); -import mockable from "./internal/internal.mjs"; - -// src/utils/require-from-file.js -import { createRequire } from "module"; -function requireFromFile(id, parent) { - const require2 = createRequire(parent); - return require2(id); -} -var require_from_file_default = requireFromFile; - -// src/utils/import-from-file.js -import { pathToFileURL as pathToFileURL2 } from "url"; - -// node_modules/import-meta-resolve/lib/resolve.js -import assert4 from "assert"; -import { Stats, statSync, realpathSync } from "fs"; -import process3 from "process"; -import { URL as URL3, fileURLToPath as fileURLToPath3, pathToFileURL } from "url"; -import path4 from "path"; -import { builtinModules } from "module"; - -// node_modules/import-meta-resolve/lib/get-format.js -import { URL as URL2, fileURLToPath as fileURLToPath2 } from "url"; - -// node_modules/import-meta-resolve/lib/package-config.js -import { URL, fileURLToPath } from "url"; - -// node_modules/import-meta-resolve/lib/errors.js -import v8 from "v8"; -import process2 from "process"; -import assert3 from "assert"; -import { format, inspect } from "util"; -var isWindows = process2.platform === "win32"; -var own = {}.hasOwnProperty; -var classRegExp = /^([A-Z][a-z\d]*)+$/; -var kTypes = /* @__PURE__ */ new Set([ - "string", - "function", - "number", - "object", - // Accept 'Function' and 'Object' as alternative to the lower cased version. - "Function", - "Object", - "boolean", - "bigint", - "symbol" -]); -var codes = {}; -function formatList(array, type = "and") { - return array.length < 3 ? array.join(` ${type} `) : `${array.slice(0, -1).join(", ")}, ${type} ${array[array.length - 1]}`; -} -var messages = /* @__PURE__ */ new Map(); -var nodeInternalPrefix = "__node_internal_"; -var userStackTraceLimit; -codes.ERR_INVALID_ARG_TYPE = createError( - "ERR_INVALID_ARG_TYPE", - /** - * @param {string} name - * @param {Array | string} expected - * @param {unknown} actual - */ - (name, expected, actual) => { - assert3(typeof name === "string", "'name' must be a string"); - if (!Array.isArray(expected)) { - expected = [expected]; - } - let message = "The "; - if (name.endsWith(" argument")) { - message += `${name} `; - } else { - const type = name.includes(".") ? "property" : "argument"; - message += `"${name}" ${type} `; - } - message += "must be "; - const types = []; - const instances = []; - const other = []; - for (const value of expected) { - assert3( - typeof value === "string", - "All expected entries have to be of type string" - ); - if (kTypes.has(value)) { - types.push(value.toLowerCase()); - } else if (classRegExp.exec(value) === null) { - assert3( - value !== "object", - 'The value "object" should be written as "Object"' - ); - other.push(value); - } else { - instances.push(value); - } - } - if (instances.length > 0) { - const pos = types.indexOf("object"); - if (pos !== -1) { - types.slice(pos, 1); - instances.push("Object"); - } - } - if (types.length > 0) { - message += `${types.length > 1 ? "one of type" : "of type"} ${formatList( - types, - "or" - )}`; - if (instances.length > 0 || other.length > 0) - message += " or "; - } - if (instances.length > 0) { - message += `an instance of ${formatList(instances, "or")}`; - if (other.length > 0) - message += " or "; + const getVisitorKeys = create_get_visitor_keys_function_default( + options8.printer.getVisitorKeys + ); + return function(path13) { + if (path13.isRoot) { + return; } - if (other.length > 0) { - if (other.length > 1) { - message += `one of ${formatList(other, "or")}`; - } else { - if (other[0].toLowerCase() !== other[0]) - message += "an "; - message += `${other[0]}`; - } + const { key: key2, parent } = path13; + const visitorKeys = getVisitorKeys(parent); + if (visitorKeys.includes(key2)) { + return; } - message += `. Received ${determineSpecificType(actual)}`; - return message; + throw Object.assign(new Error("Calling `print()` on non-node object."), { + parentNode: parent, + allowedProperties: visitorKeys, + printingProperty: key2, + printingValue: path13.node, + pathStack: path13.stack.length > 5 ? ["...", ...path13.stack.slice(-5)] : [...path13.stack] + }); + }; +} +var create_print_pre_check_function_default = createPrintPreCheckFunction; + +// src/main/core-options.evaluate.js +var core_options_evaluate_default = { + "cursorOffset": { + "category": "Special", + "type": "int", + "default": -1, + "range": { + "start": -1, + "end": Infinity, + "step": 1 + }, + "description": "Print (to stderr) where a cursor at the given position would move to after formatting.", + "cliCategory": "Editor" + }, + "endOfLine": { + "category": "Global", + "type": "choice", + "default": "lf", + "description": "Which end of line characters to apply.", + "choices": [ + { + "value": "lf", + "description": "Line Feed only (\\n), common on Linux and macOS as well as inside git repos" + }, + { + "value": "crlf", + "description": "Carriage Return + Line Feed characters (\\r\\n), common on Windows" + }, + { + "value": "cr", + "description": "Carriage Return character only (\\r), used very rarely" + }, + { + "value": "auto", + "description": "Maintain existing\n(mixed values within one file are normalised by looking at what's used after the first line)" + } + ] }, - TypeError -); -codes.ERR_INVALID_MODULE_SPECIFIER = createError( - "ERR_INVALID_MODULE_SPECIFIER", - /** - * @param {string} request - * @param {string} reason - * @param {string} [base] - */ - (request, reason, base = void 0) => { - return `Invalid module "${request}" ${reason}${base ? ` imported from ${base}` : ""}`; + "filepath": { + "category": "Special", + "type": "path", + "description": "Specify the input filepath. This will be used to do parser inference.", + "cliName": "stdin-filepath", + "cliCategory": "Other", + "cliDescription": "Path to the file to pretend that stdin comes from." }, - TypeError -); -codes.ERR_INVALID_PACKAGE_CONFIG = createError( - "ERR_INVALID_PACKAGE_CONFIG", - /** - * @param {string} path - * @param {string} [base] - * @param {string} [message] - */ - (path9, base, message) => { - return `Invalid package config ${path9}${base ? ` while importing ${base}` : ""}${message ? `. ${message}` : ""}`; + "insertPragma": { + "category": "Special", + "type": "boolean", + "default": false, + "description": "Insert @format pragma into file's first docblock comment.", + "cliCategory": "Other" }, - Error -); -codes.ERR_INVALID_PACKAGE_TARGET = createError( - "ERR_INVALID_PACKAGE_TARGET", - /** - * @param {string} pkgPath - * @param {string} key - * @param {unknown} target - * @param {boolean} [isImport=false] - * @param {string} [base] - */ - (pkgPath, key, target, isImport = false, base = void 0) => { - const relError = typeof target === "string" && !isImport && target.length > 0 && !target.startsWith("./"); - if (key === ".") { - assert3(isImport === false); - return `Invalid "exports" main target ${JSON.stringify(target)} defined in the package config ${pkgPath}package.json${base ? ` imported from ${base}` : ""}${relError ? '; targets must start with "./"' : ""}`; - } - return `Invalid "${isImport ? "imports" : "exports"}" target ${JSON.stringify( - target - )} defined for '${key}' in the package config ${pkgPath}package.json${base ? ` imported from ${base}` : ""}${relError ? '; targets must start with "./"' : ""}`; + "parser": { + "category": "Global", + "type": "choice", + "default": void 0, + "description": "Which parser to use.", + "exception": (value) => typeof value === "string" || typeof value === "function", + "choices": [ + { + "value": "flow", + "description": "Flow" + }, + { + "value": "babel", + "description": "JavaScript" + }, + { + "value": "babel-flow", + "description": "Flow" + }, + { + "value": "babel-ts", + "description": "TypeScript" + }, + { + "value": "typescript", + "description": "TypeScript" + }, + { + "value": "acorn", + "description": "JavaScript" + }, + { + "value": "espree", + "description": "JavaScript" + }, + { + "value": "meriyah", + "description": "JavaScript" + }, + { + "value": "css", + "description": "CSS" + }, + { + "value": "less", + "description": "Less" + }, + { + "value": "scss", + "description": "SCSS" + }, + { + "value": "json", + "description": "JSON" + }, + { + "value": "json5", + "description": "JSON5" + }, + { + "value": "jsonc", + "description": "JSON with Comments" + }, + { + "value": "json-stringify", + "description": "JSON.stringify" + }, + { + "value": "graphql", + "description": "GraphQL" + }, + { + "value": "markdown", + "description": "Markdown" + }, + { + "value": "mdx", + "description": "MDX" + }, + { + "value": "vue", + "description": "Vue" + }, + { + "value": "yaml", + "description": "YAML" + }, + { + "value": "glimmer", + "description": "Ember / Handlebars" + }, + { + "value": "html", + "description": "HTML" + }, + { + "value": "angular", + "description": "Angular" + }, + { + "value": "lwc", + "description": "Lightning Web Components" + } + ] }, - Error -); -codes.ERR_MODULE_NOT_FOUND = createError( - "ERR_MODULE_NOT_FOUND", - /** - * @param {string} path - * @param {string} base - * @param {string} [type] - */ - (path9, base, type = "package") => { - return `Cannot find ${type} '${path9}' imported from ${base}`; + "plugins": { + "type": "path", + "array": true, + "default": [ + { + "value": [] + } + ], + "category": "Global", + "description": "Add a plugin. Multiple plugins can be passed as separate `--plugin`s.", + "exception": (value) => typeof value === "string" || typeof value === "object", + "cliName": "plugin", + "cliCategory": "Config" }, - Error -); -codes.ERR_NETWORK_IMPORT_DISALLOWED = createError( - "ERR_NETWORK_IMPORT_DISALLOWED", - "import of '%s' by %s is not supported: %s", - Error -); -codes.ERR_PACKAGE_IMPORT_NOT_DEFINED = createError( - "ERR_PACKAGE_IMPORT_NOT_DEFINED", - /** - * @param {string} specifier - * @param {string} packagePath - * @param {string} base - */ - (specifier, packagePath, base) => { - return `Package import specifier "${specifier}" is not defined${packagePath ? ` in package ${packagePath}package.json` : ""} imported from ${base}`; + "printWidth": { + "category": "Global", + "type": "int", + "default": 80, + "description": "The line length where Prettier will try wrap.", + "range": { + "start": 0, + "end": Infinity, + "step": 1 + } }, - TypeError -); -codes.ERR_PACKAGE_PATH_NOT_EXPORTED = createError( - "ERR_PACKAGE_PATH_NOT_EXPORTED", - /** - * @param {string} pkgPath - * @param {string} subpath - * @param {string} [base] - */ - (pkgPath, subpath, base = void 0) => { - if (subpath === ".") - return `No "exports" main defined in ${pkgPath}package.json${base ? ` imported from ${base}` : ""}`; - return `Package subpath '${subpath}' is not defined by "exports" in ${pkgPath}package.json${base ? ` imported from ${base}` : ""}`; + "rangeEnd": { + "category": "Special", + "type": "int", + "default": Infinity, + "range": { + "start": 0, + "end": Infinity, + "step": 1 + }, + "description": "Format code ending at a given character offset (exclusive).\nThe range will extend forwards to the end of the selected statement.", + "cliCategory": "Editor" }, - Error -); -codes.ERR_UNSUPPORTED_DIR_IMPORT = createError( - "ERR_UNSUPPORTED_DIR_IMPORT", - "Directory import '%s' is not supported resolving ES modules imported from %s", - Error -); -codes.ERR_UNKNOWN_FILE_EXTENSION = createError( - "ERR_UNKNOWN_FILE_EXTENSION", - /** - * @param {string} ext - * @param {string} path - */ - (ext, path9) => { - return `Unknown file extension "${ext}" for ${path9}`; + "rangeStart": { + "category": "Special", + "type": "int", + "default": 0, + "range": { + "start": 0, + "end": Infinity, + "step": 1 + }, + "description": "Format code starting at a given character offset.\nThe range will extend backwards to the start of the first line containing the selected statement.", + "cliCategory": "Editor" }, - TypeError -); -codes.ERR_INVALID_ARG_VALUE = createError( - "ERR_INVALID_ARG_VALUE", - /** - * @param {string} name - * @param {unknown} value - * @param {string} [reason='is invalid'] - */ - (name, value, reason = "is invalid") => { - let inspected = inspect(value); - if (inspected.length > 128) { - inspected = `${inspected.slice(0, 128)}...`; + "requirePragma": { + "category": "Special", + "type": "boolean", + "default": false, + "description": "Require either '@prettier' or '@format' to be present in the file's first docblock comment\nin order for it to be formatted.", + "cliCategory": "Other" + }, + "tabWidth": { + "type": "int", + "category": "Global", + "default": 2, + "description": "Number of spaces per indentation level.", + "range": { + "start": 0, + "end": Infinity, + "step": 1 } - const type = name.includes(".") ? "property" : "argument"; - return `The ${type} '${name}' ${reason}. Received ${inspected}`; }, - TypeError - // Note: extra classes have been shaken out. - // , RangeError -); -codes.ERR_UNSUPPORTED_ESM_URL_SCHEME = createError( - "ERR_UNSUPPORTED_ESM_URL_SCHEME", - /** - * @param {URL} url - * @param {Array} supported - */ - (url, supported) => { - let message = `Only URLs with a scheme in: ${formatList( - supported - )} are supported by the default ESM loader`; - if (isWindows && url.protocol.length === 2) { - message += ". On Windows, absolute paths must be valid file:// URLs"; - } - message += `. Received protocol '${url.protocol}'`; - return message; + "useTabs": { + "category": "Global", + "type": "boolean", + "default": false, + "description": "Indent with tabs instead of spaces." }, - Error -); -function createError(sym, value, def) { - messages.set(sym, value); - return makeNodeErrorWithCode(def, sym); -} -function makeNodeErrorWithCode(Base, key) { - return NodeError; - function NodeError(...args) { - const limit = Error.stackTraceLimit; - if (isErrorStackTraceLimitWritable()) - Error.stackTraceLimit = 0; - const error = new Base(); - if (isErrorStackTraceLimitWritable()) - Error.stackTraceLimit = limit; - const message = getMessage(key, args, error); - Object.defineProperties(error, { - // Note: no need to implement `kIsNodeError` symbol, would be hard, - // probably. - message: { - value: message, - enumerable: false, - writable: true, - configurable: true + "embeddedLanguageFormatting": { + "category": "Global", + "type": "choice", + "default": "auto", + "description": "Control how Prettier formats quoted code embedded in the file.", + "choices": [ + { + "value": "auto", + "description": "Format embedded code if Prettier can automatically identify it." }, - toString: { - /** @this {Error} */ - value() { - return `${this.name} [${key}]: ${this.message}`; - }, - enumerable: false, - writable: true, - configurable: true + { + "value": "off", + "description": "Never automatically format embedded code." } - }); - captureLargerStackTrace(error); - error.code = key; - return error; - } -} -function isErrorStackTraceLimitWritable() { - try { - if (v8.startupSnapshot.isBuildingSnapshot()) { - return false; - } - } catch { - } - const desc = Object.getOwnPropertyDescriptor(Error, "stackTraceLimit"); - if (desc === void 0) { - return Object.isExtensible(Error); + ] } - return own.call(desc, "writable") && desc.writable !== void 0 ? desc.writable : desc.set !== void 0; -} -function hideStackFrames(fn) { - const hidden = nodeInternalPrefix + fn.name; - Object.defineProperty(fn, "name", { value: hidden }); - return fn; -} -var captureLargerStackTrace = hideStackFrames( - /** - * @param {Error} error - * @returns {Error} - */ - // @ts-expect-error: fine - function(error) { - const stackTraceLimitIsWritable = isErrorStackTraceLimitWritable(); - if (stackTraceLimitIsWritable) { - userStackTraceLimit = Error.stackTraceLimit; - Error.stackTraceLimit = Number.POSITIVE_INFINITY; +}; + +// src/main/support.js +function getSupportInfo({ + plugins = [], + showDeprecated = false +} = {}) { + const languages2 = plugins.flatMap((plugin) => plugin.languages ?? []); + const options8 = []; + for (const option of normalizeOptionSettings(Object.assign({}, ...plugins.map(({ + options: options9 + }) => options9), core_options_evaluate_default))) { + if (!showDeprecated && option.deprecated) { + continue; } - Error.captureStackTrace(error); - if (stackTraceLimitIsWritable) - Error.stackTraceLimit = userStackTraceLimit; - return error; - } -); -function getMessage(key, args, self) { - const message = messages.get(key); - assert3(message !== void 0, "expected `message` to be found"); - if (typeof message === "function") { - assert3( - message.length <= args.length, - // Default options do not count. - `Code: ${key}; The provided arguments length (${args.length}) does not match the required ones (${message.length}).` - ); - return Reflect.apply(message, self, args); - } - const regex = /%[dfijoOs]/g; - let expectedLength = 0; - while (regex.exec(message) !== null) - expectedLength++; - assert3( - expectedLength === args.length, - `Code: ${key}; The provided arguments length (${args.length}) does not match the required ones (${expectedLength}).` - ); - if (args.length === 0) - return message; - args.unshift(message); - return Reflect.apply(format, null, args); -} -function determineSpecificType(value) { - if (value === null || value === void 0) { - return String(value); - } - if (typeof value === "function" && value.name) { - return `function ${value.name}`; - } - if (typeof value === "object") { - if (value.constructor && value.constructor.name) { - return `an instance of ${value.constructor.name}`; + if (Array.isArray(option.choices)) { + if (!showDeprecated) { + option.choices = option.choices.filter((choice) => !choice.deprecated); + } + if (option.name === "parser") { + option.choices = [...option.choices, ...collectParsersFromLanguages(option.choices, languages2, plugins)]; + } } - return `${inspect(value, { depth: -1 })}`; - } - let inspected = inspect(value, { colors: false }); - if (inspected.length > 28) { - inspected = `${inspected.slice(0, 25)}...`; + option.pluginDefaults = Object.fromEntries(plugins.filter((plugin) => { + var _a; + return ((_a = plugin.defaultOptions) == null ? void 0 : _a[option.name]) !== void 0; + }).map((plugin) => [plugin.name, plugin.defaultOptions[option.name]])); + options8.push(option); } - return `type ${typeof value} (${inspected})`; + return { + languages: languages2, + options: options8 + }; } - -// node_modules/import-meta-resolve/lib/package-json-reader.js -import fs3 from "fs"; -import path3 from "path"; -var reader = { read }; -var package_json_reader_default = reader; -function read(jsonPath) { - try { - const string = fs3.readFileSync( - path3.toNamespacedPath(path3.join(path3.dirname(jsonPath), "package.json")), - "utf8" - ); - return { string }; - } catch (error) { - const exception = ( - /** @type {ErrnoException} */ - error - ); - if (exception.code === "ENOENT") { - return { string: void 0 }; +function* collectParsersFromLanguages(parserChoices, languages2, plugins) { + const existingParsers = new Set(parserChoices.map((choice) => choice.value)); + for (const language of languages2) { + if (language.parsers) { + for (const parserName of language.parsers) { + if (!existingParsers.has(parserName)) { + existingParsers.add(parserName); + const plugin = plugins.find((plugin2) => plugin2.parsers && Object.prototype.hasOwnProperty.call(plugin2.parsers, parserName)); + let description = language.name; + if (plugin == null ? void 0 : plugin.name) { + description += ` (plugin: ${plugin.name})`; + } + yield { + value: parserName, + description + }; + } + } } - throw exception; } } - -// node_modules/import-meta-resolve/lib/package-config.js -var { ERR_INVALID_PACKAGE_CONFIG } = codes; -var packageJsonCache = /* @__PURE__ */ new Map(); -function getPackageConfig(path9, specifier, base) { - const existing = packageJsonCache.get(path9); - if (existing !== void 0) { - return existing; - } - const source = package_json_reader_default.read(path9).string; - if (source === void 0) { - const packageConfig2 = { - pjsonPath: path9, - exists: false, - main: void 0, - name: void 0, - type: "none", - exports: void 0, - imports: void 0 +function normalizeOptionSettings(settings) { + const options8 = []; + for (const [name, originalOption] of Object.entries(settings)) { + const option = { + name, + ...originalOption }; - packageJsonCache.set(path9, packageConfig2); - return packageConfig2; - } - let packageJson; - try { - packageJson = JSON.parse(source); - } catch (error) { - const exception = ( - /** @type {ErrnoException} */ - error - ); - throw new ERR_INVALID_PACKAGE_CONFIG( - path9, - (base ? `"${specifier}" from ` : "") + fileURLToPath(base || specifier), - exception.message - ); - } - const { exports, imports, main, name, type } = packageJson; - const packageConfig = { - pjsonPath: path9, - exists: true, - main: typeof main === "string" ? main : void 0, - name: typeof name === "string" ? name : void 0, - type: type === "module" || type === "commonjs" ? type : "none", - // @ts-expect-error Assume `Record`. - exports, - // @ts-expect-error Assume `Record`. - imports: imports && typeof imports === "object" ? imports : void 0 - }; - packageJsonCache.set(path9, packageConfig); - return packageConfig; -} -function getPackageScopeConfig(resolved) { - let packageJsonUrl = new URL("package.json", resolved); - while (true) { - const packageJsonPath2 = packageJsonUrl.pathname; - if (packageJsonPath2.endsWith("node_modules/package.json")) - break; - const packageConfig2 = getPackageConfig( - fileURLToPath(packageJsonUrl), - resolved - ); - if (packageConfig2.exists) - return packageConfig2; - const lastPackageJsonUrl = packageJsonUrl; - packageJsonUrl = new URL("../package.json", packageJsonUrl); - if (packageJsonUrl.pathname === lastPackageJsonUrl.pathname) - break; - } - const packageJsonPath = fileURLToPath(packageJsonUrl); - const packageConfig = { - pjsonPath: packageJsonPath, - exists: false, - main: void 0, - name: void 0, - type: "none", - exports: void 0, - imports: void 0 - }; - packageJsonCache.set(packageJsonPath, packageConfig); - return packageConfig; -} - -// node_modules/import-meta-resolve/lib/resolve-get-package-type.js -function getPackageType(url) { - const packageConfig = getPackageScopeConfig(url); - return packageConfig.type; -} - -// node_modules/import-meta-resolve/lib/get-format.js -var { ERR_UNKNOWN_FILE_EXTENSION } = codes; -var hasOwnProperty = {}.hasOwnProperty; -var extensionFormatMap = { - // @ts-expect-error: hush. - __proto__: null, - ".cjs": "commonjs", - ".js": "module", - ".json": "json", - ".mjs": "module" -}; -function mimeToFormat(mime) { - if (mime && /\s*(text|application)\/javascript\s*(;\s*charset=utf-?8\s*)?/i.test(mime)) - return "module"; - if (mime === "application/json") - return "json"; - return null; -} -var protocolHandlers = { - // @ts-expect-error: hush. - __proto__: null, - "data:": getDataProtocolModuleFormat, - "file:": getFileProtocolModuleFormat, - "http:": getHttpProtocolModuleFormat, - "https:": getHttpProtocolModuleFormat, - "node:"() { - return "builtin"; - } -}; -function getDataProtocolModuleFormat(parsed) { - const { 1: mime } = /^([^/]+\/[^;,]+)[^,]*?(;base64)?,/.exec( - parsed.pathname - ) || [null, null, null]; - return mimeToFormat(mime); -} -function extname(url) { - const pathname = url.pathname; - let index = pathname.length; - while (index--) { - const code = pathname.codePointAt(index); - if (code === 47) { - return ""; - } - if (code === 46) { - return pathname.codePointAt(index - 1) === 47 ? "" : pathname.slice(index); + if (Array.isArray(option.default)) { + option.default = at_default( + /* isOptionalObject */ + false, + option.default, + -1 + ).value; } + options8.push(option); } - return ""; + return options8; } -function getFileProtocolModuleFormat(url, _context, ignoreErrors) { - const ext = extname(url); - if (ext === ".js") { - return getPackageType(url) === "module" ? "module" : "commonjs"; + +// src/main/normalize-options.js +var hasDeprecationWarned; +function normalizeOptions(options8, optionInfos, { + logger = false, + isCLI = false, + passThrough = false, + FlagSchema, + descriptor +} = {}) { + if (isCLI) { + if (!FlagSchema) { + throw new Error("'FlagSchema' option is required."); + } + if (!descriptor) { + throw new Error("'descriptor' option is required."); + } + } else { + descriptor = apiDescriptor; } - const format3 = extensionFormatMap[ext]; - if (format3) - return format3; - if (ignoreErrors) { - return void 0; + const unknown = !passThrough ? (key2, value, options9) => { + const { + _, + ...schemas2 + } = options9.schemas; + return levenUnknownHandler(key2, value, { + ...options9, + schemas: schemas2 + }); + } : Array.isArray(passThrough) ? (key2, value) => !passThrough.includes(key2) ? void 0 : { + [key2]: value + } : (key2, value) => ({ + [key2]: value + }); + const schemas = optionInfosToSchemas(optionInfos, { + isCLI, + FlagSchema + }); + const normalizer = new Normalizer(schemas, { + logger, + unknown, + descriptor + }); + const shouldSuppressDuplicateDeprecationWarnings = logger !== false; + if (shouldSuppressDuplicateDeprecationWarnings && hasDeprecationWarned) { + normalizer._hasDeprecationWarned = hasDeprecationWarned; } - const filepath = fileURLToPath2(url); - throw new ERR_UNKNOWN_FILE_EXTENSION(ext, filepath); -} -function getHttpProtocolModuleFormat() { -} -function defaultGetFormatWithoutErrors(url, context) { - if (!hasOwnProperty.call(protocolHandlers, url.protocol)) { - return null; + const normalized = normalizer.normalize(options8); + if (shouldSuppressDuplicateDeprecationWarnings) { + hasDeprecationWarned = normalizer._hasDeprecationWarned; } - return protocolHandlers[url.protocol](url, context, true) || null; -} - -// node_modules/import-meta-resolve/lib/utils.js -var { ERR_INVALID_ARG_VALUE } = codes; -var DEFAULT_CONDITIONS = Object.freeze(["node", "import"]); -var DEFAULT_CONDITIONS_SET = new Set(DEFAULT_CONDITIONS); -function getDefaultConditions() { - return DEFAULT_CONDITIONS; -} -function getDefaultConditionsSet() { - return DEFAULT_CONDITIONS_SET; + return normalized; } -function getConditionsSet(conditions) { - if (conditions !== void 0 && conditions !== getDefaultConditions()) { - if (!Array.isArray(conditions)) { - throw new ERR_INVALID_ARG_VALUE( - "conditions", - conditions, - "expected an array" - ); +function optionInfosToSchemas(optionInfos, { + isCLI, + FlagSchema +}) { + const schemas = []; + if (isCLI) { + schemas.push(AnySchema.create({ + name: "_" + })); + } + for (const optionInfo of optionInfos) { + schemas.push(optionInfoToSchema(optionInfo, { + isCLI, + optionInfos, + FlagSchema + })); + if (optionInfo.alias && isCLI) { + schemas.push(AliasSchema.create({ + // @ts-expect-error + name: optionInfo.alias, + sourceName: optionInfo.name + })); } - return new Set(conditions); } - return getDefaultConditionsSet(); -} - -// node_modules/import-meta-resolve/lib/resolve.js -var RegExpPrototypeSymbolReplace = RegExp.prototype[Symbol.replace]; -var experimentalNetworkImports = false; -var { - ERR_NETWORK_IMPORT_DISALLOWED, - ERR_INVALID_MODULE_SPECIFIER, - ERR_INVALID_PACKAGE_CONFIG: ERR_INVALID_PACKAGE_CONFIG2, - ERR_INVALID_PACKAGE_TARGET, - ERR_MODULE_NOT_FOUND, - ERR_PACKAGE_IMPORT_NOT_DEFINED, - ERR_PACKAGE_PATH_NOT_EXPORTED, - ERR_UNSUPPORTED_DIR_IMPORT, - ERR_UNSUPPORTED_ESM_URL_SCHEME -} = codes; -var own2 = {}.hasOwnProperty; -var invalidSegmentRegEx = /(^|\\|\/)((\.|%2e)(\.|%2e)?|(n|%6e|%4e)(o|%6f|%4f)(d|%64|%44)(e|%65|%45)(_|%5f)(m|%6d|%4d)(o|%6f|%4f)(d|%64|%44)(u|%75|%55)(l|%6c|%4c)(e|%65|%45)(s|%73|%53))?(\\|\/|$)/i; -var deprecatedInvalidSegmentRegEx = /(^|\\|\/)((\.|%2e)(\.|%2e)?|(n|%6e|%4e)(o|%6f|%4f)(d|%64|%44)(e|%65|%45)(_|%5f)(m|%6d|%4d)(o|%6f|%4f)(d|%64|%44)(u|%75|%55)(l|%6c|%4c)(e|%65|%45)(s|%73|%53))(\\|\/|$)/i; -var invalidPackageNameRegEx = /^\.|%|\\/; -var patternRegEx = /\*/g; -var encodedSepRegEx = /%2f|%5c/i; -var emittedPackageWarnings = /* @__PURE__ */ new Set(); -var doubleSlashRegEx = /[/\\]{2}/; -function emitInvalidSegmentDeprecation(target, request, match, packageJsonUrl, internal, base, isTarget) { - const pjsonPath = fileURLToPath3(packageJsonUrl); - const double = doubleSlashRegEx.exec(isTarget ? target : request) !== null; - process3.emitWarning( - `Use of deprecated ${double ? "double slash" : "leading or trailing slash matching"} resolving "${target}" for module request "${request}" ${request === match ? "" : `matched to "${match}" `}in the "${internal ? "imports" : "exports"}" field module resolution of the package at ${pjsonPath}${base ? ` imported from ${fileURLToPath3(base)}` : ""}.`, - "DeprecationWarning", - "DEP0166" - ); -} -function emitLegacyIndexDeprecation(url, packageJsonUrl, base, main) { - const format3 = defaultGetFormatWithoutErrors(url, { parentURL: base.href }); - if (format3 !== "module") - return; - const path9 = fileURLToPath3(url.href); - const pkgPath = fileURLToPath3(new URL3(".", packageJsonUrl)); - const basePath = fileURLToPath3(base); - if (main) - process3.emitWarning( - `Package ${pkgPath} has a "main" field set to ${JSON.stringify(main)}, excluding the full filename and extension to the resolved file at "${path9.slice( - pkgPath.length - )}", imported from ${basePath}. - Automatic extension resolution of the "main" field isdeprecated for ES modules.`, - "DeprecationWarning", - "DEP0151" - ); - else - process3.emitWarning( - `No "main" or "exports" field defined in the package.json for ${pkgPath} resolving the main entry point "${path9.slice( - pkgPath.length - )}", imported from ${basePath}. -Default "index" lookups for the main are deprecated for ES modules.`, - "DeprecationWarning", - "DEP0151" - ); + return schemas; } -function tryStatSync(path9) { - try { - return statSync(path9); - } catch { - return new Stats(); +function optionInfoToSchema(optionInfo, { + isCLI, + optionInfos, + FlagSchema +}) { + const { + name + } = optionInfo; + const parameters = { + name + }; + let SchemaConstructor; + const handlers = {}; + switch (optionInfo.type) { + case "int": + SchemaConstructor = IntegerSchema; + if (isCLI) { + parameters.preprocess = Number; + } + break; + case "string": + SchemaConstructor = StringSchema; + break; + case "choice": + SchemaConstructor = ChoiceSchema; + parameters.choices = optionInfo.choices.map((choiceInfo) => (choiceInfo == null ? void 0 : choiceInfo.redirect) ? { + ...choiceInfo, + redirect: { + to: { + key: optionInfo.name, + value: choiceInfo.redirect + } + } + } : choiceInfo); + break; + case "boolean": + SchemaConstructor = BooleanSchema; + break; + case "flag": + SchemaConstructor = FlagSchema; + parameters.flags = optionInfos.flatMap((optionInfo2) => [optionInfo2.alias, optionInfo2.description && optionInfo2.name, optionInfo2.oppositeDescription && `no-${optionInfo2.name}`].filter(Boolean)); + break; + case "path": + SchemaConstructor = StringSchema; + break; + default: + throw new Error(`Unexpected type ${optionInfo.type}`); } -} -function fileExists(url) { - const stats = statSync(url, { throwIfNoEntry: false }); - const isFile = stats ? stats.isFile() : void 0; - return isFile === null || isFile === void 0 ? false : isFile; -} -function legacyMainResolve(packageJsonUrl, packageConfig, base) { - let guess; - if (packageConfig.main !== void 0) { - guess = new URL3(packageConfig.main, packageJsonUrl); - if (fileExists(guess)) - return guess; - const tries2 = [ - `./${packageConfig.main}.js`, - `./${packageConfig.main}.json`, - `./${packageConfig.main}.node`, - `./${packageConfig.main}/index.js`, - `./${packageConfig.main}/index.json`, - `./${packageConfig.main}/index.node` - ]; - let i2 = -1; - while (++i2 < tries2.length) { - guess = new URL3(tries2[i2], packageJsonUrl); - if (fileExists(guess)) - break; - guess = void 0; - } - if (guess) { - emitLegacyIndexDeprecation( - guess, - packageJsonUrl, - base, - packageConfig.main - ); - return guess; - } + if (optionInfo.exception) { + parameters.validate = (value, schema2, utils) => optionInfo.exception(value) || schema2.validate(value, utils); + } else { + parameters.validate = (value, schema2, utils) => value === void 0 || schema2.validate(value, utils); } - const tries = ["./index.js", "./index.json", "./index.node"]; - let i = -1; - while (++i < tries.length) { - guess = new URL3(tries[i], packageJsonUrl); - if (fileExists(guess)) - break; - guess = void 0; + if (optionInfo.redirect) { + handlers.redirect = (value) => !value ? void 0 : { + to: typeof optionInfo.redirect === "string" ? optionInfo.redirect : { + key: optionInfo.redirect.option, + value: optionInfo.redirect.value + } + }; } - if (guess) { - emitLegacyIndexDeprecation(guess, packageJsonUrl, base, packageConfig.main); - return guess; + if (optionInfo.deprecated) { + handlers.deprecated = true; } - throw new ERR_MODULE_NOT_FOUND( - fileURLToPath3(new URL3(".", packageJsonUrl)), - fileURLToPath3(base) - ); + if (isCLI && !optionInfo.array) { + const originalPreprocess = parameters.preprocess || ((x) => x); + parameters.preprocess = (value, schema2, utils) => schema2.preprocess(originalPreprocess(Array.isArray(value) ? at_default( + /* isOptionalObject */ + false, + value, + -1 + ) : value), utils); + } + return optionInfo.array ? ArraySchema.create({ + ...isCLI ? { + preprocess: (v) => Array.isArray(v) ? v : [v] + } : {}, + ...handlers, + // @ts-expect-error + valueSchema: SchemaConstructor.create(parameters) + }) : SchemaConstructor.create({ + ...parameters, + ...handlers + }); } -function finalizeResolution(resolved, base, preserveSymlinks) { - if (encodedSepRegEx.exec(resolved.pathname) !== null) - throw new ERR_INVALID_MODULE_SPECIFIER( - resolved.pathname, - 'must not include encoded "/" or "\\" characters', - fileURLToPath3(base) - ); - const filePath = fileURLToPath3(resolved); - const stats = tryStatSync( - filePath.endsWith("/") ? filePath.slice(-1) : filePath - ); - if (stats.isDirectory()) { - const error = new ERR_UNSUPPORTED_DIR_IMPORT(filePath, fileURLToPath3(base)); - error.url = String(resolved); - throw error; +var normalize_options_default = normalizeOptions; + +// scripts/build/shims/array-find-last.js +var arrayFindLast = (isOptionalObject, array2, callback) => { + if (isOptionalObject && (array2 === void 0 || array2 === null)) { + return; + } + if (array2.findLast) { + return array2.findLast(callback); + } + for (let index = array2.length - 1; index >= 0; index--) { + const element = array2[index]; + if (callback(element, index, array2)) { + return element; + } } - if (!stats.isFile()) { - throw new ERR_MODULE_NOT_FOUND( - filePath || resolved.pathname, - base && fileURLToPath3(base), - "module" - ); +}; +var array_find_last_default = arrayFindLast; + +// src/main/parser-and-printer.js +function getParserPluginByParserName(plugins, parserName) { + if (!parserName) { + throw new Error("parserName is required."); } - if (!preserveSymlinks) { - const real = realpathSync(filePath); - const { search, hash } = resolved; - resolved = pathToFileURL(real + (filePath.endsWith(path4.sep) ? "/" : "")); - resolved.search = search; - resolved.hash = hash; + const plugin = array_find_last_default( + /* isOptionalObject */ + false, + plugins, + (plugin2) => plugin2.parsers && Object.prototype.hasOwnProperty.call(plugin2.parsers, parserName) + ); + if (plugin) { + return plugin; } - return resolved; + let message = `Couldn't resolve parser "${parserName}".`; + if (false) { + message += " Plugins must be explicitly added to the standalone bundle."; + } + throw new ConfigError(message); } -function importNotDefined(specifier, packageJsonUrl, base) { - return new ERR_PACKAGE_IMPORT_NOT_DEFINED( - specifier, - packageJsonUrl && fileURLToPath3(new URL3(".", packageJsonUrl)), - fileURLToPath3(base) +function getPrinterPluginByAstFormat(plugins, astFormat) { + if (!astFormat) { + throw new Error("astFormat is required."); + } + const plugin = array_find_last_default( + /* isOptionalObject */ + false, + plugins, + (plugin2) => plugin2.printers && Object.prototype.hasOwnProperty.call(plugin2.printers, astFormat) ); + if (plugin) { + return plugin; + } + let message = `Couldn't find plugin for AST format "${astFormat}".`; + if (false) { + message += " Plugins must be explicitly added to the standalone bundle."; + } + throw new ConfigError(message); } -function exportsNotFound(subpath, packageJsonUrl, base) { - return new ERR_PACKAGE_PATH_NOT_EXPORTED( - fileURLToPath3(new URL3(".", packageJsonUrl)), - subpath, - base && fileURLToPath3(base) - ); +function resolveParser({ + plugins, + parser +}) { + const plugin = getParserPluginByParserName(plugins, parser); + return initParser(plugin, parser); } -function throwInvalidSubpath(request, match, packageJsonUrl, internal, base) { - const reason = `request is not a valid match in pattern "${match}" for the "${internal ? "imports" : "exports"}" resolution of ${fileURLToPath3(packageJsonUrl)}`; - throw new ERR_INVALID_MODULE_SPECIFIER( - request, - reason, - base && fileURLToPath3(base) - ); +function initParser(plugin, parserName) { + const parserOrParserInitFunction = plugin.parsers[parserName]; + return typeof parserOrParserInitFunction === "function" ? parserOrParserInitFunction() : parserOrParserInitFunction; } -function invalidPackageTarget(subpath, target, packageJsonUrl, internal, base) { - target = typeof target === "object" && target !== null ? JSON.stringify(target, null, "") : `${target}`; - return new ERR_INVALID_PACKAGE_TARGET( - fileURLToPath3(new URL3(".", packageJsonUrl)), - subpath, - target, - internal, - base && fileURLToPath3(base) - ); +function initPrinter(plugin, astFormat) { + const printerOrPrinterInitFunction = plugin.printers[astFormat]; + return typeof printerOrPrinterInitFunction === "function" ? printerOrPrinterInitFunction() : printerOrPrinterInitFunction; } -function resolvePackageTargetString(target, subpath, match, packageJsonUrl, base, pattern, internal, isPathMap, conditions) { - if (subpath !== "" && !pattern && target[target.length - 1] !== "/") - throw invalidPackageTarget(match, target, packageJsonUrl, internal, base); - if (!target.startsWith("./")) { - if (internal && !target.startsWith("../") && !target.startsWith("/")) { - let isURL2 = false; - try { - new URL3(target); - isURL2 = true; - } catch { - } - if (!isURL2) { - const exportTarget = pattern ? RegExpPrototypeSymbolReplace.call( - patternRegEx, - target, - () => subpath - ) : target + subpath; - return packageResolve(exportTarget, packageJsonUrl, conditions); - } - } - throw invalidPackageTarget(match, target, packageJsonUrl, internal, base); - } - if (invalidSegmentRegEx.exec(target.slice(2)) !== null) { - if (deprecatedInvalidSegmentRegEx.exec(target.slice(2)) === null) { - if (!isPathMap) { - const request = pattern ? match.replace("*", () => subpath) : match + subpath; - const resolvedTarget = pattern ? RegExpPrototypeSymbolReplace.call( - patternRegEx, - target, - () => subpath - ) : target; - emitInvalidSegmentDeprecation( - resolvedTarget, - request, - match, - packageJsonUrl, - internal, - base, - true - ); - } - } else { - throw invalidPackageTarget(match, target, packageJsonUrl, internal, base); - } - } - const resolved = new URL3(target, packageJsonUrl); - const resolvedPath = resolved.pathname; - const packagePath = new URL3(".", packageJsonUrl).pathname; - if (!resolvedPath.startsWith(packagePath)) - throw invalidPackageTarget(match, target, packageJsonUrl, internal, base); - if (subpath === "") - return resolved; - if (invalidSegmentRegEx.exec(subpath) !== null) { - const request = pattern ? match.replace("*", () => subpath) : match + subpath; - if (deprecatedInvalidSegmentRegEx.exec(subpath) === null) { - if (!isPathMap) { - const resolvedTarget = pattern ? RegExpPrototypeSymbolReplace.call( - patternRegEx, - target, - () => subpath - ) : target; - emitInvalidSegmentDeprecation( - resolvedTarget, - request, - match, - packageJsonUrl, - internal, - base, - false - ); - } + +// src/main/normalize-format-options.js +var formatOptionsHiddenDefaults = { + astFormat: "estree", + printer: {}, + originalText: void 0, + locStart: null, + locEnd: null +}; +async function normalizeFormatOptions(options8, opts = {}) { + var _a; + const rawOptions = { ...options8 }; + if (!rawOptions.parser) { + if (!rawOptions.filepath) { + throw new UndefinedParserError( + "No parser and no file path given, couldn't infer a parser." + ); } else { - throwInvalidSubpath(request, match, packageJsonUrl, internal, base); - } - } - if (pattern) { - return new URL3( - RegExpPrototypeSymbolReplace.call( - patternRegEx, - resolved.href, - () => subpath - ) - ); - } - return new URL3(subpath, resolved); -} -function isArrayIndex(key) { - const keyNumber = Number(key); - if (`${keyNumber}` !== key) - return false; - return keyNumber >= 0 && keyNumber < 4294967295; -} -function resolvePackageTarget(packageJsonUrl, target, subpath, packageSubpath, base, pattern, internal, isPathMap, conditions) { - if (typeof target === "string") { - return resolvePackageTargetString( - target, - subpath, - packageSubpath, - packageJsonUrl, - base, - pattern, - internal, - isPathMap, - conditions - ); - } - if (Array.isArray(target)) { - const targetList = target; - if (targetList.length === 0) - return null; - let lastException; - let i = -1; - while (++i < targetList.length) { - const targetItem = targetList[i]; - let resolveResult; - try { - resolveResult = resolvePackageTarget( - packageJsonUrl, - targetItem, - subpath, - packageSubpath, - base, - pattern, - internal, - isPathMap, - conditions - ); - } catch (error) { - const exception = ( - /** @type {ErrnoException} */ - error + rawOptions.parser = infer_parser_default(rawOptions, { + physicalFile: rawOptions.filepath + }); + if (!rawOptions.parser) { + throw new UndefinedParserError( + `No parser could be inferred for file "${rawOptions.filepath}".` ); - lastException = exception; - if (exception.code === "ERR_INVALID_PACKAGE_TARGET") - continue; - throw error; } - if (resolveResult === void 0) - continue; - if (resolveResult === null) { - lastException = null; - continue; - } - return resolveResult; - } - if (lastException === void 0 || lastException === null) { - return null; } - throw lastException; } - if (typeof target === "object" && target !== null) { - const keys = Object.getOwnPropertyNames(target); - let i = -1; - while (++i < keys.length) { - const key = keys[i]; - if (isArrayIndex(key)) { - throw new ERR_INVALID_PACKAGE_CONFIG2( - fileURLToPath3(packageJsonUrl), - base, - '"exports" cannot contain numeric property keys.' - ); - } - } - i = -1; - while (++i < keys.length) { - const key = keys[i]; - if (key === "default" || conditions && conditions.has(key)) { - const conditionalTarget = ( - /** @type {unknown} */ - target[key] - ); - const resolveResult = resolvePackageTarget( - packageJsonUrl, - conditionalTarget, - subpath, - packageSubpath, - base, - pattern, - internal, - isPathMap, - conditions - ); - if (resolveResult === void 0) - continue; - return resolveResult; - } + const supportOptions = getSupportInfo({ + plugins: options8.plugins, + showDeprecated: true + }).options; + const defaults = { + ...formatOptionsHiddenDefaults, + ...Object.fromEntries( + supportOptions.filter((optionInfo) => optionInfo.default !== void 0).map((option) => [option.name, option.default]) + ) + }; + const parserPlugin = getParserPluginByParserName( + rawOptions.plugins, + rawOptions.parser + ); + const parser = await initParser(parserPlugin, rawOptions.parser); + rawOptions.astFormat = parser.astFormat; + rawOptions.locEnd = parser.locEnd; + rawOptions.locStart = parser.locStart; + const printerPlugin = ((_a = parserPlugin.printers) == null ? void 0 : _a[parser.astFormat]) ? parserPlugin : getPrinterPluginByAstFormat(rawOptions.plugins, parser.astFormat); + const printer = await initPrinter(printerPlugin, parser.astFormat); + rawOptions.printer = printer; + const pluginDefaults = printerPlugin.defaultOptions ? Object.fromEntries( + Object.entries(printerPlugin.defaultOptions).filter( + ([, value]) => value !== void 0 + ) + ) : {}; + const mixedDefaults = { ...defaults, ...pluginDefaults }; + for (const [k, value] of Object.entries(mixedDefaults)) { + if (rawOptions[k] === null || rawOptions[k] === void 0) { + rawOptions[k] = value; } - return null; } - if (target === null) { - return null; + if (rawOptions.parser === "json") { + rawOptions.trailingComma = "none"; } - throw invalidPackageTarget( - packageSubpath, - target, - packageJsonUrl, - internal, - base - ); + return normalize_options_default(rawOptions, supportOptions, { + passThrough: Object.keys(formatOptionsHiddenDefaults), + ...opts + }); } -function isConditionalExportsMainSugar(exports, packageJsonUrl, base) { - if (typeof exports === "string" || Array.isArray(exports)) - return true; - if (typeof exports !== "object" || exports === null) - return false; - const keys = Object.getOwnPropertyNames(exports); - let isConditionalSugar = false; - let i = 0; - let j = -1; - while (++j < keys.length) { - const key = keys[j]; - const curIsConditionalSugar = key === "" || key[0] !== "."; - if (i++ === 0) { - isConditionalSugar = curIsConditionalSugar; - } else if (isConditionalSugar !== curIsConditionalSugar) { - throw new ERR_INVALID_PACKAGE_CONFIG2( - fileURLToPath3(packageJsonUrl), - base, - `"exports" cannot contain some keys starting with '.' and some not. The exports object must either be an object of package subpath keys or an object of main entry condition name keys only.` - ); - } +var normalize_format_options_default = normalizeFormatOptions; + +// src/main/parse.js +var import_code_frame2 = __toESM(require_lib3(), 1); +async function parse4(originalText, options8) { + const parser = await resolveParser(options8); + const text = parser.preprocess ? parser.preprocess(originalText, options8) : originalText; + options8.originalText = text; + let ast; + try { + ast = await parser.parse( + text, + options8, + // TODO: remove the third argument in v4 + // The duplicated argument is passed as intended, see #10156 + options8 + ); + } catch (error) { + handleParseError(error, originalText); } - return isConditionalSugar; + return { text, ast }; } -function emitTrailingSlashPatternDeprecation(match, pjsonUrl, base) { - const pjsonPath = fileURLToPath3(pjsonUrl); - if (emittedPackageWarnings.has(pjsonPath + "|" + match)) - return; - emittedPackageWarnings.add(pjsonPath + "|" + match); - process3.emitWarning( - `Use of deprecated trailing slash pattern mapping "${match}" in the "exports" field module resolution of the package at ${pjsonPath}${base ? ` imported from ${fileURLToPath3(base)}` : ""}. Mapping specifiers ending in "/" is no longer supported.`, - "DeprecationWarning", - "DEP0155" - ); +function handleParseError(error, text) { + const { loc } = error; + if (loc) { + const codeFrame = (0, import_code_frame2.codeFrameColumns)(text, loc, { highlightCode: true }); + error.message += "\n" + codeFrame; + error.codeFrame = codeFrame; + throw error; + } + throw error; } -function packageExportsResolve(packageJsonUrl, packageSubpath, packageConfig, base, conditions) { - let exports = packageConfig.exports; - if (isConditionalExportsMainSugar(exports, packageJsonUrl, base)) { - exports = { ".": exports }; +var parse_default = parse4; + +// src/main/multiparser.js +async function printEmbeddedLanguages(path13, genericPrint, options8, printAstToDoc2, embeds) { + const { + embeddedLanguageFormatting, + printer: { + embed, + hasPrettierIgnore = () => false, + getVisitorKeys: printerGetVisitorKeys + } + } = options8; + if (!embed || embeddedLanguageFormatting !== "auto") { + return; } - if (own2.call(exports, packageSubpath) && !packageSubpath.includes("*") && !packageSubpath.endsWith("/")) { - const target = exports[packageSubpath]; - const resolveResult = resolvePackageTarget( - packageJsonUrl, - target, - "", - packageSubpath, - base, - false, - false, - false, - conditions + if (embed.length > 2) { + throw new Error( + "printer.embed has too many parameters. The API changed in Prettier v3. Please update your plugin. See https://prettier.io/docs/en/plugins.html#optional-embed" ); - if (resolveResult === null || resolveResult === void 0) { - throw exportsNotFound(packageSubpath, packageJsonUrl, base); - } - return resolveResult; } - let bestMatch = ""; - let bestMatchSubpath = ""; - const keys = Object.getOwnPropertyNames(exports); - let i = -1; - while (++i < keys.length) { - const key = keys[i]; - const patternIndex = key.indexOf("*"); - if (patternIndex !== -1 && packageSubpath.startsWith(key.slice(0, patternIndex))) { - if (packageSubpath.endsWith("/")) { - emitTrailingSlashPatternDeprecation( - packageSubpath, - packageJsonUrl, - base - ); + const getVisitorKeys = create_get_visitor_keys_function_default( + embed.getVisitorKeys ?? printerGetVisitorKeys + ); + const embedCallResults = []; + recurse(); + const originalPathStack = path13.stack; + for (const { print, node, pathStack } of embedCallResults) { + try { + path13.stack = pathStack; + const doc2 = await print(textToDocForEmbed, genericPrint, path13, options8); + if (doc2) { + embeds.set(node, doc2); } - const patternTrailer = key.slice(patternIndex + 1); - if (packageSubpath.length >= key.length && packageSubpath.endsWith(patternTrailer) && patternKeyCompare(bestMatch, key) === 1 && key.lastIndexOf("*") === patternIndex) { - bestMatch = key; - bestMatchSubpath = packageSubpath.slice( - patternIndex, - packageSubpath.length - patternTrailer.length - ); + } catch (error) { + if (process.env.PRETTIER_DEBUG) { + throw error; } } } - if (bestMatch) { - const target = ( - /** @type {unknown} */ - exports[bestMatch] - ); - const resolveResult = resolvePackageTarget( - packageJsonUrl, - target, - bestMatchSubpath, - bestMatch, - base, - true, - false, - packageSubpath.endsWith("/"), - conditions - ); - if (resolveResult === null || resolveResult === void 0) { - throw exportsNotFound(packageSubpath, packageJsonUrl, base); - } - return resolveResult; - } - throw exportsNotFound(packageSubpath, packageJsonUrl, base); -} -function patternKeyCompare(a, b) { - const aPatternIndex = a.indexOf("*"); - const bPatternIndex = b.indexOf("*"); - const baseLengthA = aPatternIndex === -1 ? a.length : aPatternIndex + 1; - const baseLengthB = bPatternIndex === -1 ? b.length : bPatternIndex + 1; - if (baseLengthA > baseLengthB) - return -1; - if (baseLengthB > baseLengthA) - return 1; - if (aPatternIndex === -1) - return 1; - if (bPatternIndex === -1) - return -1; - if (a.length > b.length) - return -1; - if (b.length > a.length) - return 1; - return 0; -} -function packageImportsResolve(name, base, conditions) { - if (name === "#" || name.startsWith("#/") || name.endsWith("/")) { - const reason = "is not a valid internal imports specifier name"; - throw new ERR_INVALID_MODULE_SPECIFIER(name, reason, fileURLToPath3(base)); + path13.stack = originalPathStack; + function textToDocForEmbed(text, partialNextOptions) { + return textToDoc(text, partialNextOptions, options8, printAstToDoc2); } - let packageJsonUrl; - const packageConfig = getPackageScopeConfig(base); - if (packageConfig.exists) { - packageJsonUrl = pathToFileURL(packageConfig.pjsonPath); - const imports = packageConfig.imports; - if (imports) { - if (own2.call(imports, name) && !name.includes("*")) { - const resolveResult = resolvePackageTarget( - packageJsonUrl, - imports[name], - "", - name, - base, - false, - true, - false, - conditions - ); - if (resolveResult !== null && resolveResult !== void 0) { - return resolveResult; - } + function recurse() { + const { node } = path13; + if (node === null || typeof node !== "object" || hasPrettierIgnore(path13)) { + return; + } + for (const key2 of getVisitorKeys(node)) { + if (Array.isArray(node[key2])) { + path13.each(recurse, key2); } else { - let bestMatch = ""; - let bestMatchSubpath = ""; - const keys = Object.getOwnPropertyNames(imports); - let i = -1; - while (++i < keys.length) { - const key = keys[i]; - const patternIndex = key.indexOf("*"); - if (patternIndex !== -1 && name.startsWith(key.slice(0, -1))) { - const patternTrailer = key.slice(patternIndex + 1); - if (name.length >= key.length && name.endsWith(patternTrailer) && patternKeyCompare(bestMatch, key) === 1 && key.lastIndexOf("*") === patternIndex) { - bestMatch = key; - bestMatchSubpath = name.slice( - patternIndex, - name.length - patternTrailer.length - ); - } - } - } - if (bestMatch) { - const target = imports[bestMatch]; - const resolveResult = resolvePackageTarget( - packageJsonUrl, - target, - bestMatchSubpath, - bestMatch, - base, - true, - true, - false, - conditions - ); - if (resolveResult !== null && resolveResult !== void 0) { - return resolveResult; - } - } + path13.call(recurse, key2); } } + const result = embed(path13, options8); + if (!result) { + return; + } + if (typeof result === "function") { + embedCallResults.push({ + print: result, + node, + pathStack: [...path13.stack] + }); + return; + } + if (false) { + throw new Error( + "`embed` should return an async function instead of Promise." + ); + } + embeds.set(node, result); + } +} +async function textToDoc(text, partialNextOptions, parentOptions, printAstToDoc2) { + const options8 = await normalize_format_options_default( + { + ...parentOptions, + ...partialNextOptions, + parentParser: parentOptions.parser, + originalText: text + }, + { passThrough: true } + ); + const { ast } = await parse_default(text, options8); + const doc2 = await printAstToDoc2(ast, options8); + return stripTrailingHardline(doc2); +} + +// src/main/print-ignored.js +function printIgnored(path13, options8) { + const { + originalText, + [Symbol.for("comments")]: comments, + locStart, + locEnd, + [Symbol.for("printedComments")]: printedComments + } = options8; + const { node } = path13; + const start = locStart(node); + const end = locEnd(node); + for (const comment of comments) { + if (locStart(comment) >= start && locEnd(comment) <= end) { + printedComments.add(comment); + } } - throw importNotDefined(name, packageJsonUrl, base); + return originalText.slice(start, end); } -function parsePackageName(specifier, base) { - let separatorIndex = specifier.indexOf("/"); - let validPackageName = true; - let isScoped = false; - if (specifier[0] === "@") { - isScoped = true; - if (separatorIndex === -1 || specifier.length === 0) { - validPackageName = false; - } else { - separatorIndex = specifier.indexOf("/", separatorIndex + 1); +var print_ignored_default = printIgnored; + +// src/main/ast-to-doc.js +async function printAstToDoc(ast, options8) { + ({ ast } = await prepareToPrint(ast, options8)); + const cache3 = /* @__PURE__ */ new Map(); + const path13 = new ast_path_default(ast); + const ensurePrintingNode = create_print_pre_check_function_default(options8); + const embeds = /* @__PURE__ */ new Map(); + await printEmbeddedLanguages(path13, mainPrint, options8, printAstToDoc, embeds); + const doc2 = await callPluginPrintFunction( + path13, + options8, + mainPrint, + void 0, + embeds + ); + ensureAllCommentsPrinted(options8); + return doc2; + function mainPrint(selector, args) { + if (selector === void 0 || selector === path13) { + return mainPrintInternal(args); } + if (Array.isArray(selector)) { + return path13.call(() => mainPrintInternal(args), ...selector); + } + return path13.call(() => mainPrintInternal(args), selector); } - const packageName = separatorIndex === -1 ? specifier : specifier.slice(0, separatorIndex); - if (invalidPackageNameRegEx.exec(packageName) !== null) { - validPackageName = false; - } - if (!validPackageName) { - throw new ERR_INVALID_MODULE_SPECIFIER( - specifier, - "is not a valid package name", - fileURLToPath3(base) - ); + function mainPrintInternal(args) { + ensurePrintingNode(path13); + const value = path13.node; + if (value === void 0 || value === null) { + return ""; + } + const shouldCache = value && typeof value === "object" && args === void 0; + if (shouldCache && cache3.has(value)) { + return cache3.get(value); + } + const doc3 = callPluginPrintFunction(path13, options8, mainPrint, args, embeds); + if (shouldCache) { + cache3.set(value, doc3); + } + return doc3; } - const packageSubpath = "." + (separatorIndex === -1 ? "" : specifier.slice(separatorIndex)); - return { packageName, packageSubpath, isScoped }; } -function packageResolve(specifier, base, conditions) { - if (builtinModules.includes(specifier)) { - return new URL3("node:" + specifier); +function callPluginPrintFunction(path13, options8, printPath, args, embeds) { + var _a; + const { node } = path13; + const { printer } = options8; + let doc2; + if ((_a = printer.hasPrettierIgnore) == null ? void 0 : _a.call(printer, path13)) { + doc2 = print_ignored_default(path13, options8); + } else if (embeds.has(node)) { + doc2 = embeds.get(node); + } else { + doc2 = printer.print(path13, options8, printPath, args); } - const { packageName, packageSubpath, isScoped } = parsePackageName( - specifier, - base + if (node === options8.cursorNode) { + doc2 = inheritLabel(doc2, (doc3) => [cursor, doc3, cursor]); + } + if (printer.printComment && (!printer.willPrintOwnComments || !printer.willPrintOwnComments(path13, options8))) { + doc2 = printComments(path13, doc2, options8); + } + return doc2; +} +async function prepareToPrint(ast, options8) { + const comments = ast.comments ?? []; + options8[Symbol.for("comments")] = comments; + options8[Symbol.for("tokens")] = ast.tokens ?? []; + options8[Symbol.for("printedComments")] = /* @__PURE__ */ new Set(); + attachComments(ast, options8); + const { + printer: { preprocess } + } = options8; + ast = preprocess ? await preprocess(ast, options8) : ast; + return { ast, comments }; +} + +// src/main/get-cursor-node.js +function getCursorNode(ast, options8) { + const { cursorOffset, locStart, locEnd } = options8; + const getVisitorKeys = create_get_visitor_keys_function_default( + options8.printer.getVisitorKeys ); - const packageConfig = getPackageScopeConfig(base); - if (packageConfig.exists) { - const packageJsonUrl2 = pathToFileURL(packageConfig.pjsonPath); - if (packageConfig.name === packageName && packageConfig.exports !== void 0 && packageConfig.exports !== null) { - return packageExportsResolve( - packageJsonUrl2, - packageSubpath, - packageConfig, - base, - conditions - ); + const nodeContainsCursor = (node) => locStart(node) <= cursorOffset && locEnd(node) >= cursorOffset; + let cursorNode = ast; + for (const node of getDescendants(ast, { + getVisitorKeys, + filter: nodeContainsCursor + })) { + cursorNode = node; + } + return cursorNode; +} +var get_cursor_node_default = getCursorNode; + +// src/main/massage-ast.js +function massageAst(ast, options8) { + const { + printer: { + massageAstNode: cleanFunction, + getVisitorKeys: printerGetVisitorKeys } + } = options8; + if (!cleanFunction) { + return ast; } - let packageJsonUrl = new URL3( - "./node_modules/" + packageName + "/package.json", - base - ); - let packageJsonPath = fileURLToPath3(packageJsonUrl); - let lastPath; - do { - const stat = tryStatSync(packageJsonPath.slice(0, -13)); - if (!stat.isDirectory()) { - lastPath = packageJsonPath; - packageJsonUrl = new URL3( - (isScoped ? "../../../../node_modules/" : "../../../node_modules/") + packageName + "/package.json", - packageJsonUrl - ); - packageJsonPath = fileURLToPath3(packageJsonUrl); - continue; + const getVisitorKeys = create_get_visitor_keys_function_default(printerGetVisitorKeys); + const ignoredProperties = cleanFunction.ignoredProperties ?? /* @__PURE__ */ new Set(); + return recurse(ast); + function recurse(original, parent) { + if (!(original !== null && typeof original === "object")) { + return original; } - const packageConfig2 = getPackageConfig(packageJsonPath, specifier, base); - if (packageConfig2.exports !== void 0 && packageConfig2.exports !== null) { - return packageExportsResolve( - packageJsonUrl, - packageSubpath, - packageConfig2, - base, - conditions - ); + if (Array.isArray(original)) { + return original.map((child) => recurse(child, parent)).filter(Boolean); } - if (packageSubpath === ".") { - return legacyMainResolve(packageJsonUrl, packageConfig2, base); + const cloned = {}; + const childrenKeys = new Set(getVisitorKeys(original)); + for (const key2 in original) { + if (!Object.prototype.hasOwnProperty.call(original, key2) || ignoredProperties.has(key2)) { + continue; + } + if (childrenKeys.has(key2)) { + cloned[key2] = recurse(original[key2], original); + } else { + cloned[key2] = original[key2]; + } } - return new URL3(packageSubpath, packageJsonUrl); - } while (packageJsonPath.length !== lastPath.length); - throw new ERR_MODULE_NOT_FOUND(packageName, fileURLToPath3(base)); -} -function isRelativeSpecifier(specifier) { - if (specifier[0] === ".") { - if (specifier.length === 1 || specifier[1] === "/") - return true; - if (specifier[1] === "." && (specifier.length === 2 || specifier[2] === "/")) { - return true; + const result = cleanFunction(original, cloned, parent); + if (result === null) { + return; } + return result ?? cloned; } - return false; -} -function shouldBeTreatedAsRelativeOrAbsolutePath(specifier) { - if (specifier === "") - return false; - if (specifier[0] === "/") - return true; - return isRelativeSpecifier(specifier); } -function moduleResolve(specifier, base, conditions, preserveSymlinks) { - const protocol = base.protocol; - const isRemote = protocol === "http:" || protocol === "https:"; - let resolved; - if (shouldBeTreatedAsRelativeOrAbsolutePath(specifier)) { - resolved = new URL3(specifier, base); - } else if (!isRemote && specifier[0] === "#") { - resolved = packageImportsResolve(specifier, base, conditions); - } else { - try { - resolved = new URL3(specifier); - } catch { - if (!isRemote) { - resolved = packageResolve(specifier, base, conditions); - } +var massage_ast_default = massageAst; + +// scripts/build/shims/array-find-last-index.js +var arrayFindLastIndex = (isOptionalObject, array2, callback) => { + if (isOptionalObject && (array2 === void 0 || array2 === null)) { + return; + } + if (array2.findLastIndex) { + return array2.findLastIndex(callback); + } + for (let index = array2.length - 1; index >= 0; index--) { + const element = array2[index]; + if (callback(element, index, array2)) { + return index; } } - assert4(resolved !== void 0, "expected to be defined"); - if (resolved.protocol !== "file:") { - return resolved; + return -1; +}; +var array_find_last_index_default = arrayFindLastIndex; + +// src/main/range-util.js +import assert5 from "assert"; +var isJsonParser = ({ + parser +}) => parser === "json" || parser === "json5" || parser === "jsonc" || parser === "json-stringify"; +function findCommonAncestor(startNodeAndParents, endNodeAndParents) { + const startNodeAndAncestors = [startNodeAndParents.node, ...startNodeAndParents.parentNodes]; + const endNodeAndAncestors = /* @__PURE__ */ new Set([endNodeAndParents.node, ...endNodeAndParents.parentNodes]); + return startNodeAndAncestors.find((node) => jsonSourceElements.has(node.type) && endNodeAndAncestors.has(node)); +} +function dropRootParents(parents) { + const index = array_find_last_index_default( + /* isOptionalObject */ + false, + parents, + (node) => node.type !== "Program" && node.type !== "File" + ); + if (index === -1) { + return parents; } - return finalizeResolution(resolved, base, preserveSymlinks); + return parents.slice(0, index + 1); } -function checkIfDisallowedImport(specifier, parsed, parsedParentURL) { - if (parsedParentURL) { - const parentProtocol = parsedParentURL.protocol; - if (parentProtocol === "http:" || parentProtocol === "https:") { - if (shouldBeTreatedAsRelativeOrAbsolutePath(specifier)) { - const parsedProtocol = parsed == null ? void 0 : parsed.protocol; - if (parsedProtocol && parsedProtocol !== "https:" && parsedProtocol !== "http:") { - throw new ERR_NETWORK_IMPORT_DISALLOWED( - specifier, - parsedParentURL, - "remote imports cannot import from a local location." - ); - } - return { url: (parsed == null ? void 0 : parsed.href) || "" }; - } - if (builtinModules.includes(specifier)) { - throw new ERR_NETWORK_IMPORT_DISALLOWED( - specifier, - parsedParentURL, - "remote imports cannot import from a local location." - ); - } - throw new ERR_NETWORK_IMPORT_DISALLOWED( - specifier, - parsedParentURL, - "only relative and absolute specifiers are supported." - ); +function findSiblingAncestors(startNodeAndParents, endNodeAndParents, { + locStart, + locEnd +}) { + let resultStartNode = startNodeAndParents.node; + let resultEndNode = endNodeAndParents.node; + if (resultStartNode === resultEndNode) { + return { + startNode: resultStartNode, + endNode: resultEndNode + }; + } + const startNodeStart = locStart(startNodeAndParents.node); + for (const endParent of dropRootParents(endNodeAndParents.parentNodes)) { + if (locStart(endParent) >= startNodeStart) { + resultEndNode = endParent; + } else { + break; + } + } + const endNodeEnd = locEnd(endNodeAndParents.node); + for (const startParent of dropRootParents(startNodeAndParents.parentNodes)) { + if (locEnd(startParent) <= endNodeEnd) { + resultStartNode = startParent; + } else { + break; + } + if (resultStartNode === resultEndNode) { + break; } } + return { + startNode: resultStartNode, + endNode: resultEndNode + }; } -function isURL(self) { - return Boolean( - self && typeof self === "object" && "href" in self && typeof self.href === "string" && "protocol" in self && typeof self.protocol === "string" && self.href && self.protocol - ); -} -function throwIfInvalidParentURL(parentURL) { - if (parentURL === void 0) { +function findNodeAtOffset(node, offset, options8, predicate, parentNodes = [], type2) { + const { + locStart, + locEnd + } = options8; + const start = locStart(node); + const end = locEnd(node); + if (offset > end || offset < start || type2 === "rangeEnd" && offset === start || type2 === "rangeStart" && offset === end) { return; } - if (typeof parentURL !== "string" && !isURL(parentURL)) { - throw new codes.ERR_INVALID_ARG_TYPE( - "parentURL", - ["string", "URL"], - parentURL - ); + for (const childNode of getSortedChildNodes(node, options8)) { + const childResult = findNodeAtOffset(childNode, offset, options8, predicate, [node, ...parentNodes], type2); + if (childResult) { + return childResult; + } } -} -function throwIfUnsupportedURLProtocol(url) { - const protocol = url.protocol; - if (protocol !== "file:" && protocol !== "data:" && protocol !== "node:") { - throw new ERR_UNSUPPORTED_ESM_URL_SCHEME(url); + if (!predicate || predicate(node, parentNodes[0])) { + return { + node, + parentNodes + }; } } -function throwIfUnsupportedURLScheme(parsed, experimentalNetworkImports2) { - const protocol = parsed == null ? void 0 : parsed.protocol; - if (protocol && protocol !== "file:" && protocol !== "data:" && (!experimentalNetworkImports2 || protocol !== "https:" && protocol !== "http:")) { - throw new ERR_UNSUPPORTED_ESM_URL_SCHEME( - parsed, - ["file", "data"].concat( - experimentalNetworkImports2 ? ["https", "http"] : [] - ) - ); - } +function isJsSourceElement(type2, parentType) { + return parentType !== "DeclareExportDeclaration" && type2 !== "TypeParameterDeclaration" && (type2 === "Directive" || type2 === "TypeAlias" || type2 === "TSExportAssignment" || type2.startsWith("Declare") || type2.startsWith("TSDeclare") || type2.endsWith("Statement") || type2.endsWith("Declaration")); } -function defaultResolve(specifier, context = {}) { - const { parentURL } = context; - assert4(parentURL !== void 0, "expected `parentURL` to be defined"); - throwIfInvalidParentURL(parentURL); - let parsedParentURL; - if (parentURL) { - try { - parsedParentURL = new URL3(parentURL); - } catch { - } +var jsonSourceElements = /* @__PURE__ */ new Set(["JsonRoot", "ObjectExpression", "ArrayExpression", "StringLiteral", "NumericLiteral", "BooleanLiteral", "NullLiteral", "UnaryExpression", "TemplateLiteral"]); +var graphqlSourceElements = /* @__PURE__ */ new Set(["OperationDefinition", "FragmentDefinition", "VariableDefinition", "TypeExtensionDefinition", "ObjectTypeDefinition", "FieldDefinition", "DirectiveDefinition", "EnumTypeDefinition", "EnumValueDefinition", "InputValueDefinition", "InputObjectTypeDefinition", "SchemaDefinition", "OperationTypeDefinition", "InterfaceTypeDefinition", "UnionTypeDefinition", "ScalarTypeDefinition"]); +function isSourceElement(opts, node, parentNode) { + if (!node) { + return false; } - let parsed; - try { - parsed = shouldBeTreatedAsRelativeOrAbsolutePath(specifier) ? new URL3(specifier, parsedParentURL) : new URL3(specifier); - const protocol = parsed.protocol; - if (protocol === "data:" || experimentalNetworkImports && (protocol === "https:" || protocol === "http:")) { - return { url: parsed.href, format: null }; + switch (opts.parser) { + case "flow": + case "babel": + case "babel-flow": + case "babel-ts": + case "typescript": + case "acorn": + case "espree": + case "meriyah": + case "__babel_estree": + return isJsSourceElement(node.type, parentNode == null ? void 0 : parentNode.type); + case "json": + case "json5": + case "jsonc": + case "json-stringify": + return jsonSourceElements.has(node.type); + case "graphql": + return graphqlSourceElements.has(node.kind); + case "vue": + return node.tag !== "root"; + } + return false; +} +function calculateRange(text, opts, ast) { + let { + rangeStart: start, + rangeEnd: end, + locStart, + locEnd + } = opts; + assert5.ok(end > start); + const firstNonWhitespaceCharacterIndex = text.slice(start, end).search(/\S/u); + const isAllWhitespace = firstNonWhitespaceCharacterIndex === -1; + if (!isAllWhitespace) { + start += firstNonWhitespaceCharacterIndex; + for (; end > start; --end) { + if (/\S/u.test(text[end - 1])) { + break; + } } - } catch { } - const maybeReturn = checkIfDisallowedImport( - specifier, - parsed, - parsedParentURL + const startNodeAndParents = findNodeAtOffset(ast, start, opts, (node, parentNode) => isSourceElement(opts, node, parentNode), [], "rangeStart"); + const endNodeAndParents = ( + // No need find Node at `end`, it will be the same as `startNodeAndParents` + isAllWhitespace ? startNodeAndParents : findNodeAtOffset(ast, end, opts, (node) => isSourceElement(opts, node), [], "rangeEnd") ); - if (maybeReturn) - return maybeReturn; - if (parsed && parsed.protocol === "node:") - return { url: specifier }; - throwIfUnsupportedURLScheme(parsed, experimentalNetworkImports); - const conditions = getConditionsSet(context.conditions); - const url = moduleResolve(specifier, new URL3(parentURL), conditions, false); - throwIfUnsupportedURLProtocol(url); + if (!startNodeAndParents || !endNodeAndParents) { + return { + rangeStart: 0, + rangeEnd: 0 + }; + } + let startNode; + let endNode; + if (isJsonParser(opts)) { + const commonAncestor = findCommonAncestor(startNodeAndParents, endNodeAndParents); + startNode = commonAncestor; + endNode = commonAncestor; + } else { + ({ + startNode, + endNode + } = findSiblingAncestors(startNodeAndParents, endNodeAndParents, opts)); + } return { - // Do NOT cast `url` to a string: that will work even when there are real - // problems, silencing them - url: url.href, - format: defaultGetFormatWithoutErrors(url, { parentURL }) + rangeStart: Math.min(locStart(startNode), locStart(endNode)), + rangeEnd: Math.max(locEnd(startNode), locEnd(endNode)) }; } -// node_modules/import-meta-resolve/index.js -function resolve(specifier, parent) { - if (!parent) { - throw new Error( - "Please pass `parent`: `import-meta-resolve` cannot ponyfill that" - ); +// src/main/core.js +var BOM = "\uFEFF"; +var CURSOR = Symbol("cursor"); +async function coreFormat(originalText, opts, addAlignmentSize = 0) { + if (!originalText || originalText.trim().length === 0) { + return { + formatted: "", + cursorOffset: -1, + comments: [] + }; } - try { - return defaultResolve(specifier, { parentURL: parent }).url; - } catch (error) { - const exception = ( - /** @type {ErrnoException} */ - error - ); - if (exception.code === "ERR_UNSUPPORTED_DIR_IMPORT" && typeof exception.url === "string") { - return exception.url; - } - throw error; + const { + ast, + text + } = await parse_default(originalText, opts); + if (opts.cursorOffset >= 0) { + opts.cursorNode = get_cursor_node_default(ast, opts); } -} - -// src/utils/import-from-file.js -function importFromFile(specifier, parent) { - const url = resolve(specifier, pathToFileURL2(parent).href); - return import(url); -} -var import_from_file_default = importFromFile; - -// src/config/load-external-config.js -async function loadExternalConfig(config, filepath) { - try { - return require_from_file_default(config, filepath); - } catch (error) { - if ((error == null ? void 0 : error.code) !== "MODULE_NOT_FOUND" && (error == null ? void 0 : error.code) !== "ERR_REQUIRE_ESM") { - throw error; + let doc2 = await printAstToDoc(ast, opts, addAlignmentSize); + if (addAlignmentSize > 0) { + doc2 = addAlignmentToDoc([hardline, doc2], addAlignmentSize, opts.tabWidth); + } + const result = printDocToString(doc2, opts); + if (addAlignmentSize > 0) { + const trimmed = result.formatted.trim(); + if (result.cursorNodeStart !== void 0) { + result.cursorNodeStart -= result.formatted.indexOf(trimmed); } + result.formatted = trimmed + convertEndOfLineToChars(opts.endOfLine); } - const module = await import_from_file_default(config, filepath); - return module.default; -} -var load_external_config_default = loadExternalConfig; - -// src/config/get-prettier-config-explorer.js -var { cosmiconfig } = mockable; -var searchPlaces = [ - "package.json", - ".prettierrc", - ".prettierrc.json", - ".prettierrc.yaml", - ".prettierrc.yml", - ".prettierrc.json5", - ".prettierrc.js", - ".prettierrc.mjs", - ".prettierrc.cjs", - "prettier.config.js", - "prettier.config.mjs", - "prettier.config.cjs", - ".prettierrc.toml" -]; -var loaders = { - async ".toml"(filePath, content) { - try { - return await (0, import_parse_async.default)(content); - } catch (error) { - error.message = `TOML Error in ${filePath}: -${error.message}`; - throw error; + const comments = opts[Symbol.for("comments")]; + if (opts.cursorOffset >= 0) { + let oldCursorNodeStart; + let oldCursorNodeText; + let cursorOffsetRelativeToOldCursorNode; + let newCursorNodeStart; + let newCursorNodeText; + if (opts.cursorNode && result.cursorNodeText) { + oldCursorNodeStart = opts.locStart(opts.cursorNode); + oldCursorNodeText = text.slice(oldCursorNodeStart, opts.locEnd(opts.cursorNode)); + cursorOffsetRelativeToOldCursorNode = opts.cursorOffset - oldCursorNodeStart; + newCursorNodeStart = result.cursorNodeStart; + newCursorNodeText = result.cursorNodeText; + } else { + oldCursorNodeStart = 0; + oldCursorNodeText = text; + cursorOffsetRelativeToOldCursorNode = opts.cursorOffset; + newCursorNodeStart = 0; + newCursorNodeText = result.formatted; } - }, - ".json5"(filePath, content) { - try { - return (0, import_parse3.default)(content); - } catch (error) { - error.message = `JSON5 Error in ${filePath}: -${error.message}`; - throw error; + if (oldCursorNodeText === newCursorNodeText) { + return { + formatted: result.formatted, + cursorOffset: newCursorNodeStart + cursorOffsetRelativeToOldCursorNode, + comments + }; } + const oldCursorNodeCharArray = oldCursorNodeText.split(""); + oldCursorNodeCharArray.splice(cursorOffsetRelativeToOldCursorNode, 0, CURSOR); + const newCursorNodeCharArray = newCursorNodeText.split(""); + const cursorNodeDiff = diffArrays(oldCursorNodeCharArray, newCursorNodeCharArray); + let cursorOffset = newCursorNodeStart; + for (const entry of cursorNodeDiff) { + if (entry.removed) { + if (entry.value.includes(CURSOR)) { + break; + } + } else { + cursorOffset += entry.count; + } + } + return { + formatted: result.formatted, + cursorOffset, + comments + }; } -}; -async function transform(result) { - if (!(result == null ? void 0 : result.config)) { - return result; - } - let { config, filepath } = result; - if (typeof config === "string") { - config = await load_external_config_default(config, filepath); - result.config = config; + return { + formatted: result.formatted, + cursorOffset: -1, + comments + }; +} +async function formatRange(originalText, opts) { + const { + ast, + text + } = await parse_default(originalText, opts); + const { + rangeStart, + rangeEnd + } = calculateRange(text, opts, ast); + const rangeString = text.slice(rangeStart, rangeEnd); + const rangeStart2 = Math.min(rangeStart, text.lastIndexOf("\n", rangeStart) + 1); + const indentString = text.slice(rangeStart2, rangeStart).match(/^\s*/u)[0]; + const alignmentSize = get_alignment_size_default(indentString, opts.tabWidth); + const rangeResult = await coreFormat(rangeString, { + ...opts, + rangeStart: 0, + rangeEnd: Number.POSITIVE_INFINITY, + // Track the cursor offset only if it's within our range + cursorOffset: opts.cursorOffset > rangeStart && opts.cursorOffset <= rangeEnd ? opts.cursorOffset - rangeStart : -1, + // Always use `lf` to format, we'll replace it later + endOfLine: "lf" + }, alignmentSize); + const rangeTrimmed = rangeResult.formatted.trimEnd(); + let { + cursorOffset + } = opts; + if (cursorOffset > rangeEnd) { + cursorOffset += rangeTrimmed.length - rangeString.length; + } else if (rangeResult.cursorOffset >= 0) { + cursorOffset = rangeResult.cursorOffset + rangeStart; } - if (typeof config !== "object") { - throw new TypeError( - `Config is only allowed to be an object, but received ${typeof config} in "${filepath}"` + let formatted = text.slice(0, rangeStart) + rangeTrimmed + text.slice(rangeEnd); + if (opts.endOfLine !== "lf") { + const eol = convertEndOfLineToChars(opts.endOfLine); + if (cursorOffset >= 0 && eol === "\r\n") { + cursorOffset += countEndOfLineChars(formatted.slice(0, cursorOffset), "\n"); + } + formatted = string_replace_all_default( + /* isOptionalObject */ + false, + formatted, + "\n", + eol ); } - delete config.$schema; - return result; -} -function getExplorer(options8) { - return cosmiconfig("prettier", { - cache: options8.cache, - transform, - searchPlaces, - loaders - }); -} -var get_prettier_config_explorer_default = getExplorer; - -// src/config/resolve-config.js -var getPrettierConfigExplorer = mem(get_prettier_config_explorer_default, { - cacheKey: ([options8]) => options8.cache -}); -var memoizedLoadEditorConfig = mem(resolve_editorconfig_default); -function clearCache() { - memClear(getPrettierConfigExplorer); - memClear(memoizedLoadEditorConfig); + return { + formatted, + cursorOffset, + comments: rangeResult.comments + }; } -function loadEditorConfig2(filePath, options8) { - if (!filePath || !options8.editorconfig) { - return; +function ensureIndexInText(text, index, defaultValue) { + if (typeof index !== "number" || Number.isNaN(index) || index < 0 || index > text.length) { + return defaultValue; } - return (options8.useCache ? memoizedLoadEditorConfig : resolve_editorconfig_default)(filePath); + return index; } -function loadPrettierConfig(filePath, options8) { - const { useCache, config: configPath } = options8; - const { load, search } = getPrettierConfigExplorer({ - cache: Boolean(useCache) - }); - return configPath ? load(configPath) : search(filePath); +function normalizeIndexes(text, options8) { + let { + cursorOffset, + rangeStart, + rangeEnd + } = options8; + cursorOffset = ensureIndexInText(text, cursorOffset, -1); + rangeStart = ensureIndexInText(text, rangeStart, 0); + rangeEnd = ensureIndexInText(text, rangeEnd, text.length); + return { + ...options8, + cursorOffset, + rangeStart, + rangeEnd + }; } -async function resolveConfig(filePath, options8) { - options8 = { useCache: true, ...options8 }; - const [result, editorConfigured] = await Promise.all([ - loadPrettierConfig(filePath, options8), - loadEditorConfig2(filePath, options8) - ]); - if (!result && !editorConfigured) { - return null; +function normalizeInputAndOptions(text, options8) { + let { + cursorOffset, + rangeStart, + rangeEnd, + endOfLine + } = normalizeIndexes(text, options8); + const hasBOM = text.charAt(0) === BOM; + if (hasBOM) { + text = text.slice(1); + cursorOffset--; + rangeStart--; + rangeEnd--; } - const merged = { - ...editorConfigured, - ...mergeOverrides(result, filePath) - }; - if (Array.isArray(merged.plugins)) { - merged.plugins = merged.plugins.map( - (value) => typeof value === "string" && value.startsWith(".") ? path5.resolve(path5.dirname(result.filepath), value) : value - ); + if (endOfLine === "auto") { + endOfLine = guessEndOfLine(text); } - return merged; + if (text.includes("\r")) { + const countCrlfBefore = (index) => countEndOfLineChars(text.slice(0, Math.max(index, 0)), "\r\n"); + cursorOffset -= countCrlfBefore(cursorOffset); + rangeStart -= countCrlfBefore(rangeStart); + rangeEnd -= countCrlfBefore(rangeEnd); + text = normalizeEndOfLine(text); + } + return { + hasBOM, + text, + options: normalizeIndexes(text, { + ...options8, + cursorOffset, + rangeStart, + rangeEnd, + endOfLine + }) + }; } -async function resolveConfigFile(filePath) { - const { search } = getPrettierConfigExplorer({ cache: false }); - const result = await search(filePath); - return result ? result.filepath : null; +async function hasPragma(text, options8) { + const selectedParser = await resolveParser(options8); + return !selectedParser.hasPragma || selectedParser.hasPragma(text); } -function mergeOverrides(configResult, filePath) { - const { config, filepath: configPath } = configResult || {}; - const { overrides, ...options8 } = config || {}; - if (filePath && overrides) { - const relativeFilePath = path5.relative(path5.dirname(configPath), filePath); - for (const override of overrides) { - if (pathMatchesGlobs( - relativeFilePath, - override.files, - override.excludeFiles - )) { - Object.assign(options8, override.options); - } +async function formatWithCursor(originalText, originalOptions) { + let { + hasBOM, + text, + options: options8 + } = normalizeInputAndOptions(originalText, await normalize_format_options_default(originalOptions)); + if (options8.rangeStart >= options8.rangeEnd && text !== "" || options8.requirePragma && !await hasPragma(text, options8)) { + return { + formatted: originalText, + cursorOffset: originalOptions.cursorOffset, + comments: [] + }; + } + let result; + if (options8.rangeStart > 0 || options8.rangeEnd < text.length) { + result = await formatRange(text, options8); + } else { + if (!options8.requirePragma && options8.insertPragma && options8.printer.insertPragma && !await hasPragma(text, options8)) { + text = options8.printer.insertPragma(text); } + result = await coreFormat(text, options8); } - return options8; -} -function pathMatchesGlobs(filePath, patterns, excludedPatterns) { - const patternList = Array.isArray(patterns) ? patterns : [patterns]; - const [withSlashes, withoutSlashes] = partition_default( - patternList, - (pattern) => pattern.includes("/") - ); - return import_micromatch.default.isMatch(filePath, withoutSlashes, { - ignore: excludedPatterns, - basename: true, - dot: true - }) || import_micromatch.default.isMatch(filePath, withSlashes, { - ignore: excludedPatterns, - basename: false, - dot: true - }); -} - -// src/utils/ignore.js -var import_ignore = __toESM(require_ignore(), 1); -import path6 from "path"; - -// src/utils/read-file.js -import fs4 from "fs/promises"; -async function readFile(filename) { - try { - return await fs4.readFile(filename, "utf8"); - } catch (error) { - if (error.code === "ENOENT") { - return; + if (hasBOM) { + result.formatted = BOM + result.formatted; + if (result.cursorOffset >= 0) { + result.cursorOffset++; } - throw new Error(`Unable to read '${filename}': ${error.message}`); } + return result; } -var read_file_default = readFile; - -// src/utils/ignore.js -var createIgnore = import_ignore.default.default; -var slash = path6.sep === "\\" ? (filepath) => string_replace_all_default( - /* isOptionalObject*/ - false, - filepath, - "\\", - "/" -) : (filepath) => filepath; -async function createSingleIsIgnoredFunction(ignoreFilePath, withNodeModules) { - let content = ""; - if (ignoreFilePath) { - content += await read_file_default(ignoreFilePath) ?? ""; - } - if (!withNodeModules) { - content += "\nnode_modules"; - } - if (!content) { - return; +async function parse5(originalText, originalOptions, devOptions) { + const { + text, + options: options8 + } = normalizeInputAndOptions(originalText, await normalize_format_options_default(originalOptions)); + const parsed = await parse_default(text, options8); + if (devOptions) { + if (devOptions.preprocessForPrint) { + parsed.ast = await prepareToPrint(parsed.ast, options8); + } + if (devOptions.massage) { + parsed.ast = massage_ast_default(parsed.ast, options8); + } } - const ignore = createIgnore({ - allowRelativePaths: true - }).add(content); - return (filepath) => { - filepath = path6.resolve(filepath); - const relativePath = ignoreFilePath ? path6.relative(path6.dirname(ignoreFilePath), filepath) : path6.relative(process.cwd(), filepath); - return ignore.ignores(slash(relativePath)); - }; + return parsed; } -async function createIsIgnoredFunction(ignoreFilePaths, withNodeModules) { - if (ignoreFilePaths.length === 0 && !withNodeModules) { - ignoreFilePaths = [void 0]; - } - const isIgnoredFunctions = (await Promise.all(ignoreFilePaths.map((ignoreFilePath) => createSingleIsIgnoredFunction(ignoreFilePath, withNodeModules)))).filter(Boolean); - return (filepath) => isIgnoredFunctions.some((isIgnored2) => isIgnored2(filepath)); +async function formatAst(ast, options8) { + options8 = await normalize_format_options_default(options8); + const doc2 = await printAstToDoc(ast, options8); + return printDocToString(doc2, options8); } -async function isIgnored(filepath, options8) { +async function formatDoc(doc2, options8) { + const text = printDocToDebug(doc2); const { - ignorePath, - withNodeModules - } = options8; - const isIgnored2 = await createIsIgnoredFunction(ignorePath, withNodeModules); - return isIgnored2(filepath); -} - -// src/common/get-file-info.js -async function getFileInfo(filePath, options8) { - if (typeof filePath !== "string") { - throw new TypeError( - `expect \`filePath\` to be a string, got \`${typeof filePath}\`` - ); - } - let { ignorePath, withNodeModules } = options8; - if (!Array.isArray(ignorePath)) { - ignorePath = [ignorePath]; - } - const ignored = await isIgnored(filePath, { ignorePath, withNodeModules }); - let inferredParser; - if (!ignored) { - inferredParser = await getParser(filePath, options8); - } - return { - ignored, - inferredParser: inferredParser ?? null - }; + formatted + } = await formatWithCursor(text, { + ...options8, + parser: "__js_expression" + }); + return formatted; } -async function getParser(filePath, options8) { - let config; - if (options8.resolveConfig !== false) { - config = await resolveConfig(filePath); - } - return (config == null ? void 0 : config.parser) ?? infer_parser_default(options8, { physicalFile: filePath }); +async function printToDoc(originalText, options8) { + options8 = await normalize_format_options_default(options8); + const { + ast + } = await parse_default(originalText, options8); + return printAstToDoc(ast, options8); } -var get_file_info_default = getFileInfo; - -// src/main/plugins/load-plugin.js -import { pathToFileURL as pathToFileURL3 } from "url"; -import path8 from "path"; - -// src/utils/import-from-directory.js -import path7 from "path"; -function importFromDirectory(specifier, directory) { - return import_from_file_default(specifier, path7.join(directory, "noop.js")); +async function printDocToString2(doc2, options8) { + return printDocToString(doc2, await normalize_format_options_default(options8)); } -var import_from_directory_default = importFromDirectory; -// src/main/plugins/load-plugin.js -function normalizePlugin(pluginInstanceOfPluginModule, name) { - const plugin = pluginInstanceOfPluginModule.default ?? pluginInstanceOfPluginModule; - return { name, ...plugin }; -} -var loadPluginFromDirectory = mem( - async (name, directory) => normalizePlugin(await import_from_directory_default(name, directory), name), - { cacheKey: JSON.stringify } -); -var importPlugin = mem(async (name) => { - try { - return await import(pathToFileURL3(path8.resolve(name)).href); - } catch { - return import_from_directory_default(name, process.cwd()); - } +// src/main/option-categories.js +var option_categories_exports = {}; +__export(option_categories_exports, { + CATEGORY_CONFIG: () => CATEGORY_CONFIG, + CATEGORY_EDITOR: () => CATEGORY_EDITOR, + CATEGORY_FORMAT: () => CATEGORY_FORMAT, + CATEGORY_GLOBAL: () => CATEGORY_GLOBAL, + CATEGORY_OTHER: () => CATEGORY_OTHER, + CATEGORY_OUTPUT: () => CATEGORY_OUTPUT, + CATEGORY_SPECIAL: () => CATEGORY_SPECIAL }); -async function loadPlugin(plugin) { - if (typeof plugin === "string") { - return normalizePlugin(await importPlugin(plugin), plugin); - } - return plugin; -} -function clearCache2() { - memClear(loadPluginFromDirectory); - memClear(importPlugin); -} +var CATEGORY_CONFIG = "Config"; +var CATEGORY_EDITOR = "Editor"; +var CATEGORY_FORMAT = "Format"; +var CATEGORY_OTHER = "Other"; +var CATEGORY_OUTPUT = "Output"; +var CATEGORY_GLOBAL = "Global"; +var CATEGORY_SPECIAL = "Special"; // src/plugins/builtin-plugins-proxy.js var builtin_plugins_proxy_exports = {}; @@ -20507,61 +21425,6 @@ __export(builtin_plugins_proxy_exports, { printers: () => printers }); -// src/common/common-options.evaluate.js -var common_options_evaluate_default = { - "bracketSpacing": { - "category": "Common", - "type": "boolean", - "default": true, - "description": "Print spaces between brackets.", - "oppositeDescription": "Do not print spaces between brackets." - }, - "singleQuote": { - "category": "Common", - "type": "boolean", - "default": false, - "description": "Use single quotes instead of double quotes." - }, - "proseWrap": { - "category": "Common", - "type": "choice", - "default": "preserve", - "description": "How to wrap prose.", - "choices": [ - { - "value": "always", - "description": "Wrap prose if it exceeds the print width." - }, - { - "value": "never", - "description": "Do not wrap prose." - }, - { - "value": "preserve", - "description": "Wrap prose as-is." - } - ] - }, - "bracketSameLine": { - "category": "Common", - "type": "boolean", - "default": false, - "description": "Put > of opening tags on the last line instead of on a new line." - }, - "singleAttributePerLine": { - "category": "Common", - "type": "boolean", - "default": false, - "description": "Enforce single attribute per line in HTML, Vue and JSX." - } -}; - -// src/language-css/options.js -var options = { - singleQuote: common_options_evaluate_default.singleQuote -}; -var options_default = options; - // src/language-css/languages.evaluate.js var languages_evaluate_default = [ { @@ -20646,11 +21509,60 @@ var languages_evaluate_default = [ } ]; -// src/language-graphql/options.js -var options2 = { - bracketSpacing: common_options_evaluate_default.bracketSpacing +// src/common/common-options.evaluate.js +var common_options_evaluate_default = { + "bracketSpacing": { + "category": "Common", + "type": "boolean", + "default": true, + "description": "Print spaces between brackets.", + "oppositeDescription": "Do not print spaces between brackets." + }, + "singleQuote": { + "category": "Common", + "type": "boolean", + "default": false, + "description": "Use single quotes instead of double quotes." + }, + "proseWrap": { + "category": "Common", + "type": "choice", + "default": "preserve", + "description": "How to wrap prose.", + "choices": [ + { + "value": "always", + "description": "Wrap prose if it exceeds the print width." + }, + { + "value": "never", + "description": "Do not wrap prose." + }, + { + "value": "preserve", + "description": "Wrap prose as-is." + } + ] + }, + "bracketSameLine": { + "category": "Common", + "type": "boolean", + "default": false, + "description": "Put > of opening tags on the last line instead of on a new line." + }, + "singleAttributePerLine": { + "category": "Common", + "type": "boolean", + "default": false, + "description": "Enforce single attribute per line in HTML, Vue and JSX." + } }; -var options_default2 = options2; + +// src/language-css/options.js +var options = { + singleQuote: common_options_evaluate_default.singleQuote +}; +var options_default = options; // src/language-graphql/languages.evaluate.js var languages_evaluate_default2 = [ @@ -20675,6 +21587,12 @@ var languages_evaluate_default2 = [ } ]; +// src/language-graphql/options.js +var options2 = { + bracketSpacing: common_options_evaluate_default.bracketSpacing +}; +var options_default2 = options2; + // src/language-handlebars/languages.evaluate.js var languages_evaluate_default3 = [ { @@ -20701,40 +21619,6 @@ var languages_evaluate_default3 = [ } ]; -// src/language-html/options.js -var CATEGORY_HTML = "HTML"; -var options3 = { - bracketSameLine: common_options_evaluate_default.bracketSameLine, - htmlWhitespaceSensitivity: { - category: CATEGORY_HTML, - 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: common_options_evaluate_default.singleAttributePerLine, - vueIndentScriptAndStyle: { - category: CATEGORY_HTML, - type: "boolean", - default: false, - description: "Indent script and style tags in Vue files." - } -}; -var options_default3 = options3; - // src/language-html/languages.evaluate.js var languages_evaluate_default4 = [ { @@ -20823,93 +21707,45 @@ var languages_evaluate_default4 = [ "parsers": [ "vue" ], - "vscodeLanguageIds": [ - "vue" - ] - } -]; - -// src/language-js/options.js -var CATEGORY_JAVASCRIPT = "JavaScript"; -var options4 = { - arrowParens: { - category: CATEGORY_JAVASCRIPT, - type: "choice", - default: "always", - description: "Include parentheses around a sole arrow function parameter.", - choices: [ - { - value: "always", - description: "Always include parens. Example: `(x) => x`" - }, - { - value: "avoid", - description: "Omit parens when possible. Example: `x => x`" - } - ] - }, - bracketSameLine: common_options_evaluate_default.bracketSameLine, - bracketSpacing: common_options_evaluate_default.bracketSpacing, - jsxBracketSameLine: { - category: CATEGORY_JAVASCRIPT, - type: "boolean", - description: "Put > on the last line instead of at a new line.", - deprecated: "2.4.0" - }, - semi: { - category: CATEGORY_JAVASCRIPT, - type: "boolean", - default: true, - description: "Print semicolons.", - oppositeDescription: "Do not print semicolons, except at the beginning of lines which may need them." - }, - singleQuote: common_options_evaluate_default.singleQuote, - jsxSingleQuote: { - category: CATEGORY_JAVASCRIPT, - type: "boolean", - default: false, - description: "Use single quotes in JSX." - }, - quoteProps: { - category: CATEGORY_JAVASCRIPT, - 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." - } + "vscodeLanguageIds": [ + "vue" ] - }, - trailingComma: { - category: CATEGORY_JAVASCRIPT, + } +]; + +// src/language-html/options.js +var CATEGORY_HTML = "HTML"; +var options3 = { + bracketSameLine: common_options_evaluate_default.bracketSameLine, + htmlWhitespaceSensitivity: { + category: CATEGORY_HTML, type: "choice", - default: "all", - description: "Print trailing commas wherever possible when multi-line.", + default: "css", + description: "How to handle whitespaces in HTML.", choices: [ { - value: "all", - description: "Trailing commas wherever possible (including function arguments)." + value: "css", + description: "Respect the default value of CSS display property." }, { - value: "es5", - description: "Trailing commas where valid in ES5 (objects, arrays, etc.)" + value: "strict", + description: "Whitespaces are considered sensitive." }, - { value: "none", description: "No trailing commas." } + { + value: "ignore", + description: "Whitespaces are considered insensitive." + } ] }, - singleAttributePerLine: common_options_evaluate_default.singleAttributePerLine + singleAttributePerLine: common_options_evaluate_default.singleAttributePerLine, + vueIndentScriptAndStyle: { + category: CATEGORY_HTML, + type: "boolean", + default: false, + description: "Indent script and style tags in Vue files." + } }; -var options_default4 = options4; +var options_default3 = options3; // src/language-js/languages.evaluate.js var languages_evaluate_default5 = [ @@ -21099,6 +21935,95 @@ var languages_evaluate_default5 = [ } ]; +// src/language-js/options.js +var CATEGORY_JAVASCRIPT = "JavaScript"; +var options4 = { + arrowParens: { + category: CATEGORY_JAVASCRIPT, + type: "choice", + default: "always", + description: "Include parentheses around a sole arrow function parameter.", + choices: [ + { + value: "always", + description: "Always include parens. Example: `(x) => x`" + }, + { + value: "avoid", + description: "Omit parens when possible. Example: `x => x`" + } + ] + }, + bracketSameLine: common_options_evaluate_default.bracketSameLine, + bracketSpacing: common_options_evaluate_default.bracketSpacing, + jsxBracketSameLine: { + category: CATEGORY_JAVASCRIPT, + type: "boolean", + description: "Put > on the last line instead of at a new line.", + deprecated: "2.4.0" + }, + semi: { + category: CATEGORY_JAVASCRIPT, + type: "boolean", + default: true, + description: "Print semicolons.", + oppositeDescription: "Do not print semicolons, except at the beginning of lines which may need them." + }, + experimentalTernaries: { + category: CATEGORY_JAVASCRIPT, + type: "boolean", + default: false, + description: "Use curious ternaries, with the question mark after the condition.", + oppositeDescription: "Default behavior of ternaries; keep question marks on the same line as the consequent." + }, + singleQuote: common_options_evaluate_default.singleQuote, + jsxSingleQuote: { + category: CATEGORY_JAVASCRIPT, + type: "boolean", + default: false, + description: "Use single quotes in JSX." + }, + quoteProps: { + category: CATEGORY_JAVASCRIPT, + type: "choice", + default: "as-needed", + description: "Change when properties in objects are quoted.", + choices: [ + { + value: "as-needed", + description: "Only add quotes around object properties where required." + }, + { + value: "consistent", + description: "If at least one property in an object requires quotes, quote all properties." + }, + { + value: "preserve", + description: "Respect the input use of quotes in object properties." + } + ] + }, + trailingComma: { + category: CATEGORY_JAVASCRIPT, + type: "choice", + default: "all", + description: "Print trailing commas wherever possible when multi-line.", + choices: [ + { + value: "all", + description: "Trailing commas wherever possible (including function arguments)." + }, + { + value: "es5", + description: "Trailing commas where valid in ES5 (objects, arrays, etc.)" + }, + { value: "none", description: "No trailing commas." } + ] + }, + singleAttributePerLine: common_options_evaluate_default.singleAttributePerLine +}; +var options_default4 = options4; + // src/language-json/languages.evaluate.js var languages_evaluate_default6 = [ { @@ -21164,6 +22089,7 @@ var languages_evaluate_default6 = [ ".yyp" ], "filenames": [ + ".all-contributorsrc", ".arcconfig", ".auto-changelog", ".c8rc", @@ -21175,7 +22101,13 @@ var languages_evaluate_default6 = [ ".watchmanconfig", "Pipfile.lock", "composer.lock", - "mcmod.info" + "flake.lock", + "mcmod.info", + ".babelrc", + ".jscsrc", + ".jshintrc", + ".jslintrc", + ".swcrc" ], "parsers": [ "json" @@ -21200,6 +22132,7 @@ var languages_evaluate_default6 = [ "extensions": [ ".jsonc", ".code-snippets", + ".code-workspace", ".sublime-build", ".sublime-commands", ".sublime-completions", @@ -21214,24 +22147,9 @@ var languages_evaluate_default6 = [ ".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", - ".eslintrc", - ".swcrc" - ], + "filenames": [], "parsers": [ - "json" + "jsonc" ], "vscodeLanguageIds": [ "jsonc" @@ -21258,13 +22176,6 @@ var languages_evaluate_default6 = [ } ]; -// src/language-markdown/options.js -var options5 = { - proseWrap: common_options_evaluate_default.proseWrap, - singleQuote: common_options_evaluate_default.singleQuote -}; -var options_default5 = options5; - // src/language-markdown/languages.evaluate.js var languages_evaluate_default7 = [ { @@ -21273,6 +22184,7 @@ var languages_evaluate_default7 = [ "type": "prose", "color": "#083fa1", "aliases": [ + "md", "pandoc" ], "aceMode": "markdown", @@ -21296,7 +22208,7 @@ var languages_evaluate_default7 = [ "contents.lr", "README" ], - "tmScope": "source.gfm", + "tmScope": "text.md", "parsers": [ "markdown" ], @@ -21310,6 +22222,7 @@ var languages_evaluate_default7 = [ "type": "prose", "color": "#083fa1", "aliases": [ + "md", "pandoc" ], "aceMode": "markdown", @@ -21320,7 +22233,7 @@ var languages_evaluate_default7 = [ ".mdx" ], "filenames": [], - "tmScope": "source.gfm", + "tmScope": "text.md", "parsers": [ "mdx" ], @@ -21330,13 +22243,12 @@ var languages_evaluate_default7 = [ } ]; -// src/language-yaml/options.js -var options6 = { - bracketSpacing: common_options_evaluate_default.bracketSpacing, - singleQuote: common_options_evaluate_default.singleQuote, - proseWrap: common_options_evaluate_default.proseWrap +// src/language-markdown/options.js +var options5 = { + proseWrap: common_options_evaluate_default.proseWrap, + singleQuote: common_options_evaluate_default.singleQuote }; -var options_default6 = options6; +var options_default5 = options5; // src/language-yaml/languages.evaluate.js var languages_evaluate_default8 = [ @@ -21385,6 +22297,14 @@ var languages_evaluate_default8 = [ } ]; +// src/language-yaml/options.js +var options6 = { + bracketSpacing: common_options_evaluate_default.bracketSpacing, + singleQuote: common_options_evaluate_default.singleQuote, + proseWrap: common_options_evaluate_default.proseWrap +}; +var options_default6 = options6; + // src/plugins/builtin-plugins-proxy.js function createParsersAndPrinters(modules) { const parsers2 = /* @__PURE__ */ Object.create(null); @@ -21456,6 +22376,7 @@ var { parsers, printers } = createParsersAndPrinters([ "__babel_estree", "json", "json5", + "jsonc", "json-stringify" ] }, @@ -21513,40 +22434,69 @@ function loadBuiltinPlugins() { } var load_builtin_plugins_default = loadBuiltinPlugins; +// src/main/plugins/load-plugin.js +import path12 from "path"; +import { pathToFileURL as pathToFileURL5 } from "url"; + +// src/utils/import-from-directory.js +import path11 from "path"; +function importFromDirectory(specifier, directory) { + return import_from_file_default(specifier, path11.join(directory, "noop.js")); +} +var import_from_directory_default = importFromDirectory; + +// src/main/plugins/load-plugin.js +async function importPlugin(name, cwd) { + if (path12.isAbsolute(name)) { + return import(pathToFileURL5(name).href); + } + try { + return await import(pathToFileURL5(path12.resolve(name)).href); + } catch { + return import_from_directory_default(name, cwd); + } +} +async function loadPluginWithoutCache(plugin, cwd) { + const module = await importPlugin(plugin, cwd); + return { name: plugin, ...module.default ?? module }; +} +var cache2 = /* @__PURE__ */ new Map(); +function loadPlugin(plugin) { + if (typeof plugin !== "string") { + return plugin; + } + const cwd = process.cwd(); + const cacheKey = JSON.stringify({ name: plugin, cwd }); + if (!cache2.has(cacheKey)) { + cache2.set(cacheKey, loadPluginWithoutCache(plugin, cwd)); + } + return cache2.get(cacheKey); +} +function clearCache2() { + cache2.clear(); +} + // src/main/plugins/load-plugins.js function loadPlugins(plugins = []) { return Promise.all(plugins.map((plugin) => loadPlugin(plugin))); } var load_plugins_default = loadPlugins; -// src/main/option-categories.js -var option_categories_exports = {}; -__export(option_categories_exports, { - CATEGORY_CONFIG: () => CATEGORY_CONFIG, - CATEGORY_EDITOR: () => CATEGORY_EDITOR, - CATEGORY_FORMAT: () => CATEGORY_FORMAT, - CATEGORY_GLOBAL: () => CATEGORY_GLOBAL, - CATEGORY_OTHER: () => CATEGORY_OTHER, - CATEGORY_OUTPUT: () => CATEGORY_OUTPUT, - CATEGORY_SPECIAL: () => CATEGORY_SPECIAL -}); -var CATEGORY_CONFIG = "Config"; -var CATEGORY_EDITOR = "Editor"; -var CATEGORY_FORMAT = "Format"; -var CATEGORY_OTHER = "Other"; -var CATEGORY_OUTPUT = "Output"; -var CATEGORY_GLOBAL = "Global"; -var CATEGORY_SPECIAL = "Special"; - // src/utils/object-omit.js function omit(object, keys) { keys = new Set(keys); return Object.fromEntries( - Object.entries(object).filter(([key]) => !keys.has(key)) + Object.entries(object).filter(([key2]) => !keys.has(key2)) ); } var object_omit_default = omit; +// src/index.js +import * as doc from "./doc.mjs"; + +// src/main/version.evaluate.cjs +var version_evaluate_default = "3.3.3"; + // src/utils/public.js var public_exports = {}; __export(public_exports, { @@ -21635,6 +22585,20 @@ function isNextLineEmpty(text, startIndex) { } var is_next_line_empty_default = isNextLineEmpty; +// src/utils/get-indent-size.js +function getIndentSize(value, tabWidth) { + const lastNewlineIndex = value.lastIndexOf("\n"); + if (lastNewlineIndex === -1) { + return 0; + } + return get_alignment_size_default( + // All the leading whitespaces + value.slice(lastNewlineIndex + 1).match(/^[\t ]*/u)[0], + tabWidth + ); +} +var get_indent_size_default = getIndentSize; + // node_modules/escape-string-regexp/index.js function escapeStringRegexp(string) { if (typeof string !== "string") { @@ -21646,7 +22610,7 @@ function escapeStringRegexp(string) { // src/utils/get-max-continuous-count.js function getMaxContinuousCount(text, searchString) { const results = text.match( - new RegExp(`(${escapeStringRegexp(searchString)})+`, "g") + new RegExp(`(${escapeStringRegexp(searchString)})+`, "gu") ); if (results === null) { return 0; @@ -21658,19 +22622,12 @@ function getMaxContinuousCount(text, searchString) { } var get_max_continuous_count_default = getMaxContinuousCount; -// src/utils/get-indent-size.js -function getIndentSize(value, tabWidth) { - const lastNewlineIndex = value.lastIndexOf("\n"); - if (lastNewlineIndex === -1) { - return 0; - } - return get_alignment_size_default( - // All the leading whitespaces - value.slice(lastNewlineIndex + 1).match(/^[\t ]*/)[0], - tabWidth - ); +// src/utils/get-next-non-space-non-comment-character.js +function getNextNonSpaceNonCommentCharacter(text, startIndex) { + const index = get_next_non_space_non_comment_character_index_default(text, startIndex); + return index === false ? "" : text.charAt(index); } -var get_indent_size_default = getIndentSize; +var get_next_non_space_non_comment_character_default = getNextNonSpaceNonCommentCharacter; // src/utils/has-newline-in-range.js function hasNewlineInRange(text, startIndex, endIndex) { @@ -21694,19 +22651,12 @@ function hasSpaces(text, startIndex, options8 = {}) { } var has_spaces_default = hasSpaces; -// src/utils/get-next-non-space-non-comment-character.js -function getNextNonSpaceNonCommentCharacter(text, startIndex) { - const index = get_next_non_space_non_comment_character_index_default(text, startIndex); - return index === false ? "" : text.charAt(index); -} -var get_next_non_space_non_comment_character_default = getNextNonSpaceNonCommentCharacter; - // src/utils/make-string.js function makeString(rawText, enclosingQuote, unescapeUnnecessaryEscapes) { const otherQuote = enclosingQuote === '"' ? "'" : '"'; - const regex = /\\(.)|(["'])/gs; + const regex = /\\(.)|(["'])/gsu; const raw = string_replace_all_default( - /* isOptionalObject*/ + /* isOptionalObject */ false, rawText, regex, @@ -21720,7 +22670,7 @@ function makeString(rawText, enclosingQuote, unescapeUnnecessaryEscapes) { if (quote) { return quote; } - return unescapeUnnecessaryEscapes && /^[^\n\r"'0-7\\bfnrt-vx\u2028\u2029]$/.test(escaped) ? escaped : "\\" + escaped; + return unescapeUnnecessaryEscapes && /^[^\n\r"'0-7\\bfnrt-vx\u2028\u2029]$/u.test(escaped) ? escaped : "\\" + escaped; } ); return enclosingQuote + raw + enclosingQuote; @@ -21762,12 +22712,6 @@ function isNextLineEmpty2(text, startIndex) { ); } -// src/index.js -import * as doc from "./doc.mjs"; - -// src/main/version.evaluate.cjs -var version_evaluate_default = "3.0.0"; - // src/index.js function withPlugins(fn, optionsArgumentIndex = 1) { return async (...args) => { @@ -21809,20 +22753,26 @@ var sharedWithCli = { normalizeOptions: normalize_options_default, getSupportInfoWithoutPlugins: getSupportInfo, normalizeOptionSettings, - vnopts: import_vnopts2.default, + vnopts: { + ChoiceSchema, + apiDescriptor + }, fastGlob: import_fast_glob.default, + createTwoFilesPatch, utils: { isNonEmptyArray: is_non_empty_array_default, partition: partition_default, omit: object_omit_default - } + }, + mockable: mockable_default }; var debugApis = { - parse: withPlugins(parse2), + parse: withPlugins(parse5), formatAST: withPlugins(formatAst), formatDoc: withPlugins(formatDoc), printToDoc: withPlugins(printToDoc), - printDocToString: withPlugins(printDocToString2) + printDocToString: withPlugins(printDocToString2), + mockable: mockable_default }; // with-default-export:src/index.js diff --git a/node_modules/prettier/internal/cli.mjs b/node_modules/prettier/internal/cli.mjs index a78a01aefd..3b5e153c12 100644 --- a/node_modules/prettier/internal/cli.mjs +++ b/node_modules/prettier/internal/cli.mjs @@ -11,11 +11,13 @@ var __getOwnPropDesc = Object.getOwnPropertyDescriptor; var __getOwnPropNames = Object.getOwnPropertyNames; var __getProtoOf = Object.getPrototypeOf; var __hasOwnProp = Object.prototype.hasOwnProperty; +var __typeError = (msg) => { + throw TypeError(msg); +}; var __require = /* @__PURE__ */ ((x) => typeof require !== "undefined" ? require : typeof Proxy !== "undefined" ? new Proxy(x, { get: (a, b) => (typeof require !== "undefined" ? require : a)[b] }) : x)(function(x) { - if (typeof require !== "undefined") - return require.apply(this, arguments); + if (typeof require !== "undefined") return require.apply(this, arguments); throw Error('Dynamic require of "' + x + '" is not supported'); }); var __commonJS = (cb, mod) => function __require2() { @@ -37,398 +39,17 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target, mod )); -var __accessCheck = (obj, member, msg) => { - if (!member.has(obj)) - throw TypeError("Cannot " + msg); -}; -var __privateGet = (obj, member, getter) => { - __accessCheck(obj, member, "read from private field"); - return getter ? getter.call(obj) : member.get(obj); -}; -var __privateAdd = (obj, member, value) => { - if (member.has(obj)) - throw TypeError("Cannot add the same private member more than once"); - member instanceof WeakSet ? member.add(obj) : member.set(obj, value); -}; -var __privateSet = (obj, member, value, setter) => { - __accessCheck(obj, member, "write to private field"); - setter ? setter.call(obj, value) : member.set(obj, value); - return value; -}; -var __privateWrapper = (obj, member, setter, getter) => ({ - set _(value) { - __privateSet(obj, member, value, setter); - }, - get _() { - return __privateGet(obj, member, getter); - } -}); - -// node_modules/clone/clone.js -var require_clone = __commonJS({ - "node_modules/clone/clone.js"(exports, module) { - var clone = function() { - "use strict"; - function clone2(parent, circular, depth, prototype) { - var filter; - if (typeof circular === "object") { - depth = circular.depth; - prototype = circular.prototype; - filter = circular.filter; - circular = circular.circular; - } - var allParents = []; - var allChildren = []; - var useBuffer = typeof Buffer != "undefined"; - if (typeof circular == "undefined") - circular = true; - if (typeof depth == "undefined") - depth = Infinity; - function _clone(parent2, depth2) { - if (parent2 === null) - return null; - if (depth2 == 0) - return parent2; - var child; - var proto2; - if (typeof parent2 != "object") { - return parent2; - } - if (clone2.__isArray(parent2)) { - child = []; - } else if (clone2.__isRegExp(parent2)) { - child = new RegExp(parent2.source, __getRegExpFlags(parent2)); - if (parent2.lastIndex) - child.lastIndex = parent2.lastIndex; - } else if (clone2.__isDate(parent2)) { - child = new Date(parent2.getTime()); - } else if (useBuffer && Buffer.isBuffer(parent2)) { - if (Buffer.allocUnsafe) { - child = Buffer.allocUnsafe(parent2.length); - } else { - child = new Buffer(parent2.length); - } - parent2.copy(child); - return child; - } else { - if (typeof prototype == "undefined") { - proto2 = Object.getPrototypeOf(parent2); - child = Object.create(proto2); - } else { - child = Object.create(prototype); - proto2 = prototype; - } - } - if (circular) { - var index = allParents.indexOf(parent2); - if (index != -1) { - return allChildren[index]; - } - allParents.push(parent2); - allChildren.push(child); - } - for (var i in parent2) { - var attrs; - if (proto2) { - attrs = Object.getOwnPropertyDescriptor(proto2, i); - } - if (attrs && attrs.set == null) { - continue; - } - child[i] = _clone(parent2[i], depth2 - 1); - } - return child; - } - return _clone(parent, depth); - } - clone2.clonePrototype = function clonePrototype(parent) { - if (parent === null) - return null; - var c = function() { - }; - c.prototype = parent; - return new c(); - }; - function __objToStr(o) { - return Object.prototype.toString.call(o); - } - ; - clone2.__objToStr = __objToStr; - function __isDate(o) { - return typeof o === "object" && __objToStr(o) === "[object Date]"; - } - ; - clone2.__isDate = __isDate; - function __isArray(o) { - return typeof o === "object" && __objToStr(o) === "[object Array]"; - } - ; - clone2.__isArray = __isArray; - function __isRegExp(o) { - return typeof o === "object" && __objToStr(o) === "[object RegExp]"; - } - ; - clone2.__isRegExp = __isRegExp; - function __getRegExpFlags(re) { - var flags = ""; - if (re.global) - flags += "g"; - if (re.ignoreCase) - flags += "i"; - if (re.multiline) - flags += "m"; - return flags; - } - ; - clone2.__getRegExpFlags = __getRegExpFlags; - return clone2; - }(); - if (typeof module === "object" && module.exports) { - module.exports = clone; - } - } -}); - -// node_modules/defaults/index.js -var require_defaults = __commonJS({ - "node_modules/defaults/index.js"(exports, module) { - var clone = require_clone(); - module.exports = function(options, defaults) { - options = options || {}; - Object.keys(defaults).forEach(function(key) { - if (typeof options[key] === "undefined") { - options[key] = clone(defaults[key]); - } - }); - return options; - }; - } -}); - -// node_modules/wcwidth/combining.js -var require_combining = __commonJS({ - "node_modules/wcwidth/combining.js"(exports, module) { - module.exports = [ - [768, 879], - [1155, 1158], - [1160, 1161], - [1425, 1469], - [1471, 1471], - [1473, 1474], - [1476, 1477], - [1479, 1479], - [1536, 1539], - [1552, 1557], - [1611, 1630], - [1648, 1648], - [1750, 1764], - [1767, 1768], - [1770, 1773], - [1807, 1807], - [1809, 1809], - [1840, 1866], - [1958, 1968], - [2027, 2035], - [2305, 2306], - [2364, 2364], - [2369, 2376], - [2381, 2381], - [2385, 2388], - [2402, 2403], - [2433, 2433], - [2492, 2492], - [2497, 2500], - [2509, 2509], - [2530, 2531], - [2561, 2562], - [2620, 2620], - [2625, 2626], - [2631, 2632], - [2635, 2637], - [2672, 2673], - [2689, 2690], - [2748, 2748], - [2753, 2757], - [2759, 2760], - [2765, 2765], - [2786, 2787], - [2817, 2817], - [2876, 2876], - [2879, 2879], - [2881, 2883], - [2893, 2893], - [2902, 2902], - [2946, 2946], - [3008, 3008], - [3021, 3021], - [3134, 3136], - [3142, 3144], - [3146, 3149], - [3157, 3158], - [3260, 3260], - [3263, 3263], - [3270, 3270], - [3276, 3277], - [3298, 3299], - [3393, 3395], - [3405, 3405], - [3530, 3530], - [3538, 3540], - [3542, 3542], - [3633, 3633], - [3636, 3642], - [3655, 3662], - [3761, 3761], - [3764, 3769], - [3771, 3772], - [3784, 3789], - [3864, 3865], - [3893, 3893], - [3895, 3895], - [3897, 3897], - [3953, 3966], - [3968, 3972], - [3974, 3975], - [3984, 3991], - [3993, 4028], - [4038, 4038], - [4141, 4144], - [4146, 4146], - [4150, 4151], - [4153, 4153], - [4184, 4185], - [4448, 4607], - [4959, 4959], - [5906, 5908], - [5938, 5940], - [5970, 5971], - [6002, 6003], - [6068, 6069], - [6071, 6077], - [6086, 6086], - [6089, 6099], - [6109, 6109], - [6155, 6157], - [6313, 6313], - [6432, 6434], - [6439, 6440], - [6450, 6450], - [6457, 6459], - [6679, 6680], - [6912, 6915], - [6964, 6964], - [6966, 6970], - [6972, 6972], - [6978, 6978], - [7019, 7027], - [7616, 7626], - [7678, 7679], - [8203, 8207], - [8234, 8238], - [8288, 8291], - [8298, 8303], - [8400, 8431], - [12330, 12335], - [12441, 12442], - [43014, 43014], - [43019, 43019], - [43045, 43046], - [64286, 64286], - [65024, 65039], - [65056, 65059], - [65279, 65279], - [65529, 65531], - [68097, 68099], - [68101, 68102], - [68108, 68111], - [68152, 68154], - [68159, 68159], - [119143, 119145], - [119155, 119170], - [119173, 119179], - [119210, 119213], - [119362, 119364], - [917505, 917505], - [917536, 917631], - [917760, 917999] - ]; - } -}); - -// node_modules/wcwidth/index.js -var require_wcwidth = __commonJS({ - "node_modules/wcwidth/index.js"(exports, module) { - "use strict"; - var defaults = require_defaults(); - var combining = require_combining(); - var DEFAULTS = { - nul: 0, - control: 0 - }; - module.exports = function wcwidth3(str) { - return wcswidth(str, DEFAULTS); - }; - module.exports.config = function(opts) { - opts = defaults(opts || {}, DEFAULTS); - return function wcwidth3(str) { - return wcswidth(str, opts); - }; - }; - function wcswidth(str, opts) { - if (typeof str !== "string") - return wcwidth2(str, opts); - var s = 0; - for (var i = 0; i < str.length; i++) { - var n = wcwidth2(str.charCodeAt(i), opts); - if (n < 0) - return -1; - s += n; - } - return s; - } - function wcwidth2(ucs, opts) { - if (ucs === 0) - return opts.nul; - if (ucs < 32 || ucs >= 127 && ucs < 160) - return opts.control; - if (bisearch(ucs)) - return 0; - return 1 + (ucs >= 4352 && (ucs <= 4447 || // Hangul Jamo init. consonants - ucs == 9001 || ucs == 9002 || ucs >= 11904 && ucs <= 42191 && ucs != 12351 || // CJK ... Yi - ucs >= 44032 && ucs <= 55203 || // Hangul Syllables - ucs >= 63744 && ucs <= 64255 || // CJK Compatibility Ideographs - ucs >= 65040 && ucs <= 65049 || // Vertical forms - ucs >= 65072 && ucs <= 65135 || // CJK Compatibility Forms - ucs >= 65280 && ucs <= 65376 || // Fullwidth Forms - ucs >= 65504 && ucs <= 65510 || ucs >= 131072 && ucs <= 196605 || ucs >= 196608 && ucs <= 262141)); - } - function bisearch(ucs) { - var min = 0; - var max = combining.length - 1; - var mid; - if (ucs < combining[0][0] || ucs > combining[max][1]) - return false; - while (max >= min) { - mid = Math.floor((min + max) / 2); - if (ucs > combining[mid][1]) - min = mid + 1; - else if (ucs < combining[mid][0]) - max = mid - 1; - else - return true; - } - return false; - } - } -}); +var __accessCheck = (obj, member, msg) => member.has(obj) || __typeError("Cannot " + msg); +var __privateGet = (obj, member, getter) => (__accessCheck(obj, member, "read from private field"), getter ? getter.call(obj) : member.get(obj)); +var __privateAdd = (obj, member, value) => member.has(obj) ? __typeError("Cannot add the same private member more than once") : member instanceof WeakSet ? member.add(obj) : member.set(obj, value); +var __privateSet = (obj, member, value, setter) => (__accessCheck(obj, member, "write to private field"), setter ? setter.call(obj, value) : member.set(obj, value), value); // node_modules/dashify/index.js var require_dashify = __commonJS({ "node_modules/dashify/index.js"(exports, module) { "use strict"; module.exports = (str, options) => { - if (typeof str !== "string") - throw new TypeError("expected a string"); + if (typeof str !== "string") throw new TypeError("expected a string"); return str.trim().replace(/([a-z])([A-Z])/g, "$1-$2").replace(/\W/g, (m) => /[À-ž]/.test(m) ? m : "-").replace(/^-+|-+$/g, "").replace(/-{2,}/g, (m) => options && options.condense ? "-" : m).toLowerCase(); }; } @@ -656,544 +277,344 @@ var require_minimist = __commonJS({ } }); -// node_modules/diff/lib/diff/base.js -var require_base = __commonJS({ - "node_modules/diff/lib/diff/base.js"(exports) { +// node_modules/fast-json-stable-stringify/index.js +var require_fast_json_stable_stringify = __commonJS({ + "node_modules/fast-json-stable-stringify/index.js"(exports, module) { "use strict"; - Object.defineProperty(exports, "__esModule", { - value: true - }); - exports["default"] = Diff; - function Diff() { - } - Diff.prototype = { - /*istanbul ignore start*/ - /*istanbul ignore end*/ - diff: function diff2(oldString, newString) { - var options = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {}; - var callback = options.callback; - if (typeof options === "function") { - callback = options; - options = {}; + module.exports = function(data, opts) { + if (!opts) opts = {}; + if (typeof opts === "function") opts = { cmp: opts }; + var cycles = typeof opts.cycles === "boolean" ? opts.cycles : false; + var cmp = opts.cmp && /* @__PURE__ */ function(f) { + return function(node) { + return function(a, b) { + var aobj = { key: a, value: node[a] }; + var bobj = { key: b, value: node[b] }; + return f(aobj, bobj); + }; + }; + }(opts.cmp); + var seen = []; + return function stringify4(node) { + if (node && node.toJSON && typeof node.toJSON === "function") { + node = node.toJSON(); } - this.options = options; - var self = this; - function done(value) { - if (callback) { - setTimeout(function() { - callback(void 0, value); - }, 0); - return true; - } else { - return value; + if (node === void 0) return; + if (typeof node == "number") return isFinite(node) ? "" + node : "null"; + if (typeof node !== "object") return JSON.stringify(node); + var i, out; + if (Array.isArray(node)) { + out = "["; + for (i = 0; i < node.length; i++) { + if (i) out += ","; + out += stringify4(node[i]) || "null"; } + return out + "]"; } - oldString = this.castInput(oldString); - newString = this.castInput(newString); - oldString = this.removeEmpty(this.tokenize(oldString)); - newString = this.removeEmpty(this.tokenize(newString)); - var newLen = newString.length, oldLen = oldString.length; - var editLength = 1; - var maxEditLength = newLen + oldLen; - if (options.maxEditLength) { - maxEditLength = Math.min(maxEditLength, options.maxEditLength); - } - var bestPath = [{ - newPos: -1, - components: [] - }]; - var oldPos = this.extractCommon(bestPath[0], newString, oldString, 0); - if (bestPath[0].newPos + 1 >= newLen && oldPos + 1 >= oldLen) { - return done([{ - value: this.join(newString), - count: newString.length - }]); + if (node === null) return "null"; + if (seen.indexOf(node) !== -1) { + if (cycles) return JSON.stringify("__cycle__"); + throw new TypeError("Converting circular structure to JSON"); } - function execEditLength() { - for (var diagonalPath = -1 * editLength; diagonalPath <= editLength; diagonalPath += 2) { - var basePath = ( - /*istanbul ignore start*/ - void 0 - ); - var addPath = bestPath[diagonalPath - 1], removePath = bestPath[diagonalPath + 1], _oldPos = (removePath ? removePath.newPos : 0) - diagonalPath; - if (addPath) { - bestPath[diagonalPath - 1] = void 0; - } - var canAdd = addPath && addPath.newPos + 1 < newLen, canRemove = removePath && 0 <= _oldPos && _oldPos < oldLen; - if (!canAdd && !canRemove) { - bestPath[diagonalPath] = void 0; - continue; - } - if (!canAdd || canRemove && addPath.newPos < removePath.newPos) { - basePath = clonePath(removePath); - self.pushComponent(basePath.components, void 0, true); - } else { - basePath = addPath; - basePath.newPos++; - self.pushComponent(basePath.components, true, void 0); - } - _oldPos = self.extractCommon(basePath, newString, oldString, diagonalPath); - if (basePath.newPos + 1 >= newLen && _oldPos + 1 >= oldLen) { - return done(buildValues(self, basePath.components, newString, oldString, self.useLongestToken)); - } else { - bestPath[diagonalPath] = basePath; - } - } - editLength++; - } - if (callback) { - (function exec() { - setTimeout(function() { - if (editLength > maxEditLength) { - return callback(); - } - if (!execEditLength()) { - exec(); - } - }, 0); - })(); - } else { - while (editLength <= maxEditLength) { - var ret = execEditLength(); - if (ret) { - return ret; - } - } - } - }, - /*istanbul ignore start*/ - /*istanbul ignore end*/ - pushComponent: function pushComponent(components, added, removed) { - var last = components[components.length - 1]; - if (last && last.added === added && last.removed === removed) { - components[components.length - 1] = { - count: last.count + 1, - added, - removed - }; - } else { - components.push({ - count: 1, - added, - removed - }); - } - }, - /*istanbul ignore start*/ - /*istanbul ignore end*/ - extractCommon: function extractCommon(basePath, newString, oldString, diagonalPath) { - var newLen = newString.length, oldLen = oldString.length, newPos = basePath.newPos, oldPos = newPos - diagonalPath, commonCount = 0; - while (newPos + 1 < newLen && oldPos + 1 < oldLen && this.equals(newString[newPos + 1], oldString[oldPos + 1])) { - newPos++; - oldPos++; - commonCount++; - } - if (commonCount) { - basePath.components.push({ - count: commonCount - }); - } - basePath.newPos = newPos; - return oldPos; - }, - /*istanbul ignore start*/ - /*istanbul ignore end*/ - equals: function equals(left, right) { - if (this.options.comparator) { - return this.options.comparator(left, right); - } else { - return left === right || this.options.ignoreCase && left.toLowerCase() === right.toLowerCase(); - } - }, - /*istanbul ignore start*/ - /*istanbul ignore end*/ - removeEmpty: function removeEmpty(array2) { - var ret = []; - for (var i = 0; i < array2.length; i++) { - if (array2[i]) { - ret.push(array2[i]); - } + var seenIndex = seen.push(node) - 1; + var keys = Object.keys(node).sort(cmp && cmp(node)); + out = ""; + for (i = 0; i < keys.length; i++) { + var key = keys[i]; + var value = stringify4(node[key]); + if (!value) continue; + if (out) out += ","; + out += JSON.stringify(key) + ":" + value; } - return ret; - }, - /*istanbul ignore start*/ - /*istanbul ignore end*/ - castInput: function castInput(value) { - return value; - }, - /*istanbul ignore start*/ - /*istanbul ignore end*/ - tokenize: function tokenize(value) { - return value.split(""); - }, - /*istanbul ignore start*/ - /*istanbul ignore end*/ - join: function join(chars) { - return chars.join(""); - } + seen.splice(seenIndex, 1); + return "{" + out + "}"; + }(data); }; - function buildValues(diff2, components, newString, oldString, useLongestToken) { - var componentPos = 0, componentLen = components.length, newPos = 0, oldPos = 0; - for (; componentPos < componentLen; componentPos++) { - var component = components[componentPos]; - if (!component.removed) { - if (!component.added && useLongestToken) { - var value = newString.slice(newPos, newPos + component.count); - value = value.map(function(value2, i) { - var oldValue = oldString[oldPos + i]; - return oldValue.length > value2.length ? oldValue : value2; - }); - component.value = diff2.join(value); - } else { - component.value = diff2.join(newString.slice(newPos, newPos + component.count)); - } - newPos += component.count; - if (!component.added) { - oldPos += component.count; - } - } else { - component.value = diff2.join(oldString.slice(oldPos, oldPos + component.count)); - oldPos += component.count; - if (componentPos && components[componentPos - 1].added) { - var tmp = components[componentPos - 1]; - components[componentPos - 1] = components[componentPos]; - components[componentPos] = tmp; - } - } - } - var lastComponent = components[componentLen - 1]; - if (componentLen > 1 && typeof lastComponent.value === "string" && (lastComponent.added || lastComponent.removed) && diff2.equals("", lastComponent.value)) { - components[componentLen - 2].value += lastComponent.value; - components.pop(); - } - return components; - } - function clonePath(path10) { - return { - newPos: path10.newPos, - components: path10.components.slice(0) - }; - } } }); -// node_modules/diff/lib/util/params.js -var require_params = __commonJS({ - "node_modules/diff/lib/util/params.js"(exports) { +// node_modules/common-path-prefix/index.js +var require_common_path_prefix = __commonJS({ + "node_modules/common-path-prefix/index.js"(exports, module) { "use strict"; - Object.defineProperty(exports, "__esModule", { - value: true - }); - exports.generateOptions = generateOptions; - function generateOptions(options, defaults) { - if (typeof options === "function") { - defaults.callback = options; - } else if (options) { - for (var name in options) { - if (options.hasOwnProperty(name)) { - defaults[name] = options[name]; + var { sep: DEFAULT_SEPARATOR } = __require("path"); + var determineSeparator = (paths) => { + for (const path10 of paths) { + const match = /(\/|\\)/.exec(path10); + if (match !== null) return match[0]; + } + return DEFAULT_SEPARATOR; + }; + module.exports = function commonPathPrefix2(paths, sep = determineSeparator(paths)) { + const [first = "", ...remaining] = paths; + if (first === "" || remaining.length === 0) return ""; + const parts = first.split(sep); + let endOfPrefix = parts.length; + for (const path10 of remaining) { + const compare = path10.split(sep); + for (let i = 0; i < endOfPrefix; i++) { + if (compare[i] !== parts[i]) { + endOfPrefix = i; } } + if (endOfPrefix === 0) return ""; } - return defaults; - } + const prefix = parts.slice(0, endOfPrefix).join(sep); + return prefix.endsWith(sep) ? prefix : prefix + sep; + }; } }); -// node_modules/diff/lib/diff/line.js -var require_line = __commonJS({ - "node_modules/diff/lib/diff/line.js"(exports) { - "use strict"; - Object.defineProperty(exports, "__esModule", { - value: true - }); - exports.diffLines = diffLines; - exports.diffTrimmedLines = diffTrimmedLines; - exports.lineDiff = void 0; - var _base = _interopRequireDefault(require_base()); - var _params = require_params(); - function _interopRequireDefault(obj) { - return obj && obj.__esModule ? obj : { "default": obj }; - } - var lineDiff = new /*istanbul ignore start*/ - _base[ - /*istanbul ignore start*/ - "default" - /*istanbul ignore end*/ - ](); - exports.lineDiff = lineDiff; - lineDiff.tokenize = function(value) { - var retLines = [], linesAndNewlines = value.split(/(\n|\r\n)/); - if (!linesAndNewlines[linesAndNewlines.length - 1]) { - linesAndNewlines.pop(); - } - for (var i = 0; i < linesAndNewlines.length; i++) { - var line = linesAndNewlines[i]; - if (i % 2 && !this.options.newlineIsToken) { - retLines[retLines.length - 1] += line; - } else { - if (this.options.ignoreWhitespace) { - line = line.trim(); +// node_modules/json-buffer/index.js +var require_json_buffer = __commonJS({ + "node_modules/json-buffer/index.js"(exports) { + exports.stringify = function stringify4(o) { + if ("undefined" == typeof o) return o; + if (o && Buffer.isBuffer(o)) + return JSON.stringify(":base64:" + o.toString("base64")); + if (o && o.toJSON) + o = o.toJSON(); + if (o && "object" === typeof o) { + var s = ""; + var array2 = Array.isArray(o); + s = array2 ? "[" : "{"; + var first = true; + for (var k in o) { + var ignore = "function" == typeof o[k] || !array2 && "undefined" === typeof o[k]; + if (Object.hasOwnProperty.call(o, k) && !ignore) { + if (!first) + s += ","; + first = false; + if (array2) { + if (o[k] == void 0) + s += "null"; + else + s += stringify4(o[k]); + } else if (o[k] !== void 0) { + s += stringify4(k) + ":" + stringify4(o[k]); + } } - retLines.push(line); } - } - return retLines; + s += array2 ? "]" : "}"; + return s; + } else if ("string" === typeof o) { + return JSON.stringify(/^:/.test(o) ? ":" + o : o); + } else if ("undefined" === typeof o) { + return "null"; + } else + return JSON.stringify(o); + }; + exports.parse = function(s) { + return JSON.parse(s, function(key, value) { + if ("string" === typeof value) { + if (/^:base64:/.test(value)) + return Buffer.from(value.substring(8), "base64"); + else + return /^:/.test(value) ? value.substring(1) : value; + } + return value; + }); }; - function diffLines(oldStr, newStr, callback) { - return lineDiff.diff(oldStr, newStr, callback); - } - function diffTrimmedLines(oldStr, newStr, callback) { - var options = ( - /*istanbul ignore start*/ - (0, /*istanbul ignore end*/ - /*istanbul ignore start*/ - _params.generateOptions)(callback, { - ignoreWhitespace: true - }) - ); - return lineDiff.diff(oldStr, newStr, options); - } } }); -// node_modules/diff/lib/patch/create.js -var require_create = __commonJS({ - "node_modules/diff/lib/patch/create.js"(exports) { +// node_modules/keyv/src/index.js +var require_src = __commonJS({ + "node_modules/keyv/src/index.js"(exports, module) { "use strict"; - Object.defineProperty(exports, "__esModule", { - value: true - }); - exports.structuredPatch = structuredPatch; - exports.formatPatch = formatPatch; - exports.createTwoFilesPatch = createTwoFilesPatch2; - exports.createPatch = createPatch; - var _line = require_line(); - function _toConsumableArray(arr) { - return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread(); - } - function _nonIterableSpread() { - throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); - } - function _unsupportedIterableToArray(o, minLen) { - if (!o) - return; - if (typeof o === "string") - return _arrayLikeToArray(o, minLen); - var n = Object.prototype.toString.call(o).slice(8, -1); - if (n === "Object" && o.constructor) - n = o.constructor.name; - if (n === "Map" || n === "Set") - return Array.from(o); - if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) - return _arrayLikeToArray(o, minLen); - } - function _iterableToArray(iter) { - if (typeof Symbol !== "undefined" && Symbol.iterator in Object(iter)) - return Array.from(iter); - } - function _arrayWithoutHoles(arr) { - if (Array.isArray(arr)) - return _arrayLikeToArray(arr); - } - function _arrayLikeToArray(arr, len) { - if (len == null || len > arr.length) - len = arr.length; - for (var i = 0, arr2 = new Array(len); i < len; i++) { - arr2[i] = arr[i]; - } - return arr2; - } - function structuredPatch(oldFileName, newFileName, oldStr, newStr, oldHeader, newHeader, options) { - if (!options) { - options = {}; - } - if (typeof options.context === "undefined") { - options.context = 4; - } - var diff2 = ( - /*istanbul ignore start*/ - (0, /*istanbul ignore end*/ - /*istanbul ignore start*/ - _line.diffLines)(oldStr, newStr, options) - ); - if (!diff2) { - return; - } - diff2.push({ - value: "", - lines: [] - }); - function contextLines(lines) { - return lines.map(function(entry) { - return " " + entry; - }); - } - var hunks = []; - var oldRangeStart = 0, newRangeStart = 0, curRange = [], oldLine = 1, newLine = 1; - var _loop = function _loop2(i2) { - var current = diff2[i2], lines = current.lines || current.value.replace(/\n$/, "").split("\n"); - current.lines = lines; - if (current.added || current.removed) { - var _curRange; - if (!oldRangeStart) { - var prev = diff2[i2 - 1]; - oldRangeStart = oldLine; - newRangeStart = newLine; - if (prev) { - curRange = options.context > 0 ? contextLines(prev.lines.slice(-options.context)) : []; - oldRangeStart -= curRange.length; - newRangeStart -= curRange.length; + var EventEmitter = __require("events"); + var JSONB = require_json_buffer(); + var loadStore = (options) => { + const adapters = { + redis: "@keyv/redis", + rediss: "@keyv/redis", + mongodb: "@keyv/mongo", + mongo: "@keyv/mongo", + sqlite: "@keyv/sqlite", + postgresql: "@keyv/postgres", + postgres: "@keyv/postgres", + mysql: "@keyv/mysql", + etcd: "@keyv/etcd", + offline: "@keyv/offline", + tiered: "@keyv/tiered" + }; + if (options.adapter || options.uri) { + const adapter = options.adapter || /^[^:+]*/.exec(options.uri)[0]; + return new (__require(adapters[adapter]))(options); + } + return /* @__PURE__ */ new Map(); + }; + var iterableAdapters = [ + "sqlite", + "postgres", + "mysql", + "mongo", + "redis", + "tiered" + ]; + var Keyv = class extends EventEmitter { + constructor(uri, { emitErrors = true, ...options } = {}) { + super(); + this.opts = { + namespace: "keyv", + serialize: JSONB.stringify, + deserialize: JSONB.parse, + ...typeof uri === "string" ? { uri } : uri, + ...options + }; + if (!this.opts.store) { + const adapterOptions = { ...this.opts }; + this.opts.store = loadStore(adapterOptions); + } + if (this.opts.compression) { + const compression = this.opts.compression; + this.opts.serialize = compression.serialize.bind(compression); + this.opts.deserialize = compression.deserialize.bind(compression); + } + if (typeof this.opts.store.on === "function" && emitErrors) { + this.opts.store.on("error", (error) => this.emit("error", error)); + } + this.opts.store.namespace = this.opts.namespace; + const generateIterator = (iterator) => async function* () { + for await (const [key, raw] of typeof iterator === "function" ? iterator(this.opts.store.namespace) : iterator) { + const data = await this.opts.deserialize(raw); + if (this.opts.store.namespace && !key.includes(this.opts.store.namespace)) { + continue; } + if (typeof data.expires === "number" && Date.now() > data.expires) { + this.delete(key); + continue; + } + yield [this._getKeyUnprefix(key), data.value]; } - (_curRange = /*istanbul ignore end*/ - curRange).push.apply( - /*istanbul ignore start*/ - _curRange, - /*istanbul ignore start*/ - _toConsumableArray( - /*istanbul ignore end*/ - lines.map(function(entry) { - return (current.added ? "+" : "-") + entry; - }) - ) - ); - if (current.added) { - newLine += lines.length; - } else { - oldLine += lines.length; - } - } else { - if (oldRangeStart) { - if (lines.length <= options.context * 2 && i2 < diff2.length - 2) { - var _curRange2; - (_curRange2 = /*istanbul ignore end*/ - curRange).push.apply( - /*istanbul ignore start*/ - _curRange2, - /*istanbul ignore start*/ - _toConsumableArray( - /*istanbul ignore end*/ - contextLines(lines) - ) - ); - } else { - var _curRange3; - var contextSize = Math.min(lines.length, options.context); - (_curRange3 = /*istanbul ignore end*/ - curRange).push.apply( - /*istanbul ignore start*/ - _curRange3, - /*istanbul ignore start*/ - _toConsumableArray( - /*istanbul ignore end*/ - contextLines(lines.slice(0, contextSize)) - ) - ); - var hunk = { - oldStart: oldRangeStart, - oldLines: oldLine - oldRangeStart + contextSize, - newStart: newRangeStart, - newLines: newLine - newRangeStart + contextSize, - lines: curRange - }; - if (i2 >= diff2.length - 2 && lines.length <= options.context) { - var oldEOFNewline = /\n$/.test(oldStr); - var newEOFNewline = /\n$/.test(newStr); - var noNlBeforeAdds = lines.length == 0 && curRange.length > hunk.oldLines; - if (!oldEOFNewline && noNlBeforeAdds && oldStr.length > 0) { - curRange.splice(hunk.oldLines, 0, "\\ No newline at end of file"); + }; + if (typeof this.opts.store[Symbol.iterator] === "function" && this.opts.store instanceof Map) { + this.iterator = generateIterator(this.opts.store); + } else if (typeof this.opts.store.iterator === "function" && this.opts.store.opts && this._checkIterableAdaptar()) { + this.iterator = generateIterator(this.opts.store.iterator.bind(this.opts.store)); + } + } + _checkIterableAdaptar() { + return iterableAdapters.includes(this.opts.store.opts.dialect) || iterableAdapters.findIndex((element) => this.opts.store.opts.url.includes(element)) >= 0; + } + _getKeyPrefix(key) { + return `${this.opts.namespace}:${key}`; + } + _getKeyPrefixArray(keys) { + return keys.map((key) => `${this.opts.namespace}:${key}`); + } + _getKeyUnprefix(key) { + return key.split(":").splice(1).join(":"); + } + get(key, options) { + const { store } = this.opts; + const isArray = Array.isArray(key); + const keyPrefixed = isArray ? this._getKeyPrefixArray(key) : this._getKeyPrefix(key); + if (isArray && store.getMany === void 0) { + const promises = []; + for (const key2 of keyPrefixed) { + promises.push( + Promise.resolve().then(() => store.get(key2)).then((data) => typeof data === "string" ? this.opts.deserialize(data) : this.opts.compression ? this.opts.deserialize(data) : data).then((data) => { + if (data === void 0 || data === null) { + return void 0; } - if (!oldEOFNewline && !noNlBeforeAdds || !newEOFNewline) { - curRange.push("\\ No newline at end of file"); + if (typeof data.expires === "number" && Date.now() > data.expires) { + return this.delete(key2).then(() => void 0); } - } - hunks.push(hunk); - oldRangeStart = 0; - newRangeStart = 0; - curRange = []; - } + return options && options.raw ? data : data.value; + }) + ); } - oldLine += lines.length; - newLine += lines.length; + return Promise.allSettled(promises).then((values) => { + const data = []; + for (const value of values) { + data.push(value.value); + } + return data; + }); } - }; - for (var i = 0; i < diff2.length; i++) { - _loop( - /*istanbul ignore end*/ - i - ); - } - return { - oldFileName, - newFileName, - oldHeader, - newHeader, - hunks - }; - } - function formatPatch(diff2) { - var ret = []; - if (diff2.oldFileName == diff2.newFileName) { - ret.push("Index: " + diff2.oldFileName); + return Promise.resolve().then(() => isArray ? store.getMany(keyPrefixed) : store.get(keyPrefixed)).then((data) => typeof data === "string" ? this.opts.deserialize(data) : this.opts.compression ? this.opts.deserialize(data) : data).then((data) => { + if (data === void 0 || data === null) { + return void 0; + } + if (isArray) { + return data.map((row, index) => { + if (typeof row === "string") { + row = this.opts.deserialize(row); + } + if (row === void 0 || row === null) { + return void 0; + } + if (typeof row.expires === "number" && Date.now() > row.expires) { + this.delete(key[index]).then(() => void 0); + return void 0; + } + return options && options.raw ? row : row.value; + }); + } + if (typeof data.expires === "number" && Date.now() > data.expires) { + return this.delete(key).then(() => void 0); + } + return options && options.raw ? data : data.value; + }); } - ret.push("==================================================================="); - ret.push("--- " + diff2.oldFileName + (typeof diff2.oldHeader === "undefined" ? "" : " " + diff2.oldHeader)); - ret.push("+++ " + diff2.newFileName + (typeof diff2.newHeader === "undefined" ? "" : " " + diff2.newHeader)); - for (var i = 0; i < diff2.hunks.length; i++) { - var hunk = diff2.hunks[i]; - if (hunk.oldLines === 0) { - hunk.oldStart -= 1; - } - if (hunk.newLines === 0) { - hunk.newStart -= 1; + set(key, value, ttl) { + const keyPrefixed = this._getKeyPrefix(key); + if (typeof ttl === "undefined") { + ttl = this.opts.ttl; + } + if (ttl === 0) { + ttl = void 0; + } + const { store } = this.opts; + return Promise.resolve().then(() => { + const expires = typeof ttl === "number" ? Date.now() + ttl : null; + if (typeof value === "symbol") { + this.emit("error", "symbol cannot be serialized"); + } + value = { value, expires }; + return this.opts.serialize(value); + }).then((value2) => store.set(keyPrefixed, value2, ttl)).then(() => true); + } + delete(key) { + const { store } = this.opts; + if (Array.isArray(key)) { + const keyPrefixed2 = this._getKeyPrefixArray(key); + if (store.deleteMany === void 0) { + const promises = []; + for (const key2 of keyPrefixed2) { + promises.push(store.delete(key2)); + } + return Promise.allSettled(promises).then((values) => values.every((x) => x.value === true)); + } + return Promise.resolve().then(() => store.deleteMany(keyPrefixed2)); } - ret.push("@@ -" + hunk.oldStart + "," + hunk.oldLines + " +" + hunk.newStart + "," + hunk.newLines + " @@"); - ret.push.apply(ret, hunk.lines); + const keyPrefixed = this._getKeyPrefix(key); + return Promise.resolve().then(() => store.delete(keyPrefixed)); } - return ret.join("\n") + "\n"; - } - function createTwoFilesPatch2(oldFileName, newFileName, oldStr, newStr, oldHeader, newHeader, options) { - return formatPatch(structuredPatch(oldFileName, newFileName, oldStr, newStr, oldHeader, newHeader, options)); - } - function createPatch(fileName, oldStr, newStr, oldHeader, newHeader, options) { - return createTwoFilesPatch2(fileName, fileName, oldStr, newStr, oldHeader, newHeader, options); - } - } -}); - -// node_modules/common-path-prefix/index.js -var require_common_path_prefix = __commonJS({ - "node_modules/common-path-prefix/index.js"(exports, module) { - "use strict"; - var { sep: DEFAULT_SEPARATOR } = __require("path"); - var determineSeparator = (paths) => { - for (const path10 of paths) { - const match = /(\/|\\)/.exec(path10); - if (match !== null) - return match[0]; + clear() { + const { store } = this.opts; + return Promise.resolve().then(() => store.clear()); } - return DEFAULT_SEPARATOR; - }; - module.exports = function commonPathPrefix2(paths, sep = determineSeparator(paths)) { - const [first = "", ...remaining] = paths; - if (first === "" || remaining.length === 0) - return ""; - const parts = first.split(sep); - let endOfPrefix = parts.length; - for (const path10 of remaining) { - const compare = path10.split(sep); - for (let i = 0; i < endOfPrefix; i++) { - if (compare[i] !== parts[i]) { - endOfPrefix = i; + has(key) { + const keyPrefixed = this._getKeyPrefix(key); + const { store } = this.opts; + return Promise.resolve().then(async () => { + if (typeof store.has === "function") { + return store.has(keyPrefixed); } + const value = await store.get(keyPrefixed); + return value !== void 0; + }); + } + disconnect() { + const { store } = this.opts; + if (typeof store.disconnect === "function") { + return store.disconnect(); } - if (endOfPrefix === 0) - return ""; } - const prefix = parts.slice(0, endOfPrefix).join(sep); - return prefix.endsWith(sep) ? prefix : prefix + sep; }; + module.exports = Keyv; } }); @@ -1265,8 +686,7 @@ var require_cjs = __commonJS({ const after = $.call(this, key, value2); switch (typeof after) { case object: - if (after === null) - return after; + if (after === null) return after; case primitive: return known.get(after) || set(known, input, after); } @@ -1274,4297 +694,1718 @@ var require_cjs = __commonJS({ } }; exports.stringify = stringify4; - var toJSON = (any) => $parse(stringify4(any)); + var toJSON = (value) => $parse(stringify4(value)); exports.toJSON = toJSON; - var fromJSON = (any) => parse($stringify(any)); + var fromJSON = (value) => parse($stringify(value)); exports.fromJSON = fromJSON; } }); -// node_modules/flat-cache/src/utils.js +// node_modules/file-entry-cache/node_modules/flat-cache/src/utils.js var require_utils = __commonJS({ - "node_modules/flat-cache/src/utils.js"(exports, module) { + "node_modules/file-entry-cache/node_modules/flat-cache/src/utils.js"(exports, module) { var fs6 = __require("fs"); var path10 = __require("path"); var flatted = require_cjs(); - module.exports = { - tryParse: function(filePath, defaultValue) { - var result; - try { - result = this.readJSON(filePath); - } catch (ex) { - result = defaultValue; - } - return result; - }, - /** - * Read json file synchronously using flatted - * - * @method readJSON - * @param {String} filePath Json filepath - * @returns {*} parse result - */ - readJSON: function(filePath) { - return flatted.parse( - fs6.readFileSync(filePath, { - encoding: "utf8" - }) - ); - }, - /** - * Write json file synchronously using circular-json - * - * @method writeJSON - * @param {String} filePath Json filepath - * @param {*} data Object to serialize - */ - writeJSON: function(filePath, data) { - fs6.mkdirSync(path10.dirname(filePath), { - recursive: true - }); - fs6.writeFileSync(filePath, flatted.stringify(data)); - } - }; - } -}); - -// node_modules/fs.realpath/old.js -var require_old = __commonJS({ - "node_modules/fs.realpath/old.js"(exports) { - var pathModule = __require("path"); - var isWindows = process.platform === "win32"; - var fs6 = __require("fs"); - var DEBUG = process.env.NODE_DEBUG && /fs/.test(process.env.NODE_DEBUG); - function rethrow() { - var callback; - if (DEBUG) { - var backtrace = new Error(); - callback = debugCallback; - } else - callback = missingCallback; - return callback; - function debugCallback(err) { - if (err) { - backtrace.message = err.message; - err = backtrace; - missingCallback(err); - } - } - function missingCallback(err) { - if (err) { - if (process.throwDeprecation) - throw err; - else if (!process.noDeprecation) { - var msg = "fs: missing callback " + (err.stack || err.message); - if (process.traceDeprecation) - console.trace(msg); - else - console.error(msg); - } - } + function tryParse(filePath, defaultValue) { + let result; + try { + result = readJSON(filePath); + } catch { + result = defaultValue; } + return result; } - function maybeCallback(cb) { - return typeof cb === "function" ? cb : rethrow(); - } - var normalize = pathModule.normalize; - if (isWindows) { - nextPartRe = /(.*?)(?:[\/\\]+|$)/g; - } else { - nextPartRe = /(.*?)(?:[\/]+|$)/g; + function readJSON(filePath) { + return flatted.parse( + fs6.readFileSync(filePath, { + encoding: "utf8" + }) + ); } - var nextPartRe; - if (isWindows) { - splitRootRe = /^(?:[a-zA-Z]:|[\\\/]{2}[^\\\/]+[\\\/][^\\\/]+)?[\\\/]*/; - } else { - splitRootRe = /^[\/]*/; + function writeJSON(filePath, data) { + fs6.mkdirSync(path10.dirname(filePath), { + recursive: true + }); + fs6.writeFileSync(filePath, flatted.stringify(data)); } - var splitRootRe; - exports.realpathSync = function realpathSync(p, cache) { - p = pathModule.resolve(p); - if (cache && Object.prototype.hasOwnProperty.call(cache, p)) { - return cache[p]; - } - var original = p, seenLinks = {}, knownHard = {}; - var pos; - var current; - var base; - var previous; - start(); - function start() { - var m = splitRootRe.exec(p); - pos = m[0].length; - current = m[0]; - base = m[0]; - previous = ""; - if (isWindows && !knownHard[base]) { - fs6.lstatSync(base); - knownHard[base] = true; - } - } - while (pos < p.length) { - nextPartRe.lastIndex = pos; - var result = nextPartRe.exec(p); - previous = current; - current += result[0]; - base = previous + result[1]; - pos = nextPartRe.lastIndex; - if (knownHard[base] || cache && cache[base] === base) { - continue; - } - var resolvedLink; - if (cache && Object.prototype.hasOwnProperty.call(cache, base)) { - resolvedLink = cache[base]; - } else { - var stat = fs6.lstatSync(base); - if (!stat.isSymbolicLink()) { - knownHard[base] = true; - if (cache) - cache[base] = base; - continue; - } - var linkTarget = null; - if (!isWindows) { - var id = stat.dev.toString(32) + ":" + stat.ino.toString(32); - if (seenLinks.hasOwnProperty(id)) { - linkTarget = seenLinks[id]; - } - } - if (linkTarget === null) { - fs6.statSync(base); - linkTarget = fs6.readlinkSync(base); - } - resolvedLink = pathModule.resolve(previous, linkTarget); - if (cache) - cache[base] = resolvedLink; - if (!isWindows) - seenLinks[id] = linkTarget; - } - p = pathModule.resolve(resolvedLink, p.slice(pos)); - start(); - } - if (cache) - cache[original] = p; - return p; - }; - exports.realpath = function realpath(p, cache, cb) { - if (typeof cb !== "function") { - cb = maybeCallback(cache); - cache = null; - } - p = pathModule.resolve(p); - if (cache && Object.prototype.hasOwnProperty.call(cache, p)) { - return process.nextTick(cb.bind(null, null, cache[p])); - } - var original = p, seenLinks = {}, knownHard = {}; - var pos; - var current; - var base; - var previous; - start(); - function start() { - var m = splitRootRe.exec(p); - pos = m[0].length; - current = m[0]; - base = m[0]; - previous = ""; - if (isWindows && !knownHard[base]) { - fs6.lstat(base, function(err) { - if (err) - return cb(err); - knownHard[base] = true; - LOOP(); - }); - } else { - process.nextTick(LOOP); - } - } - function LOOP() { - if (pos >= p.length) { - if (cache) - cache[original] = p; - return cb(null, p); - } - nextPartRe.lastIndex = pos; - var result = nextPartRe.exec(p); - previous = current; - current += result[0]; - base = previous + result[1]; - pos = nextPartRe.lastIndex; - if (knownHard[base] || cache && cache[base] === base) { - return process.nextTick(LOOP); - } - if (cache && Object.prototype.hasOwnProperty.call(cache, base)) { - return gotResolvedLink(cache[base]); - } - return fs6.lstat(base, gotStat); - } - function gotStat(err, stat) { - if (err) - return cb(err); - if (!stat.isSymbolicLink()) { - knownHard[base] = true; - if (cache) - cache[base] = base; - return process.nextTick(LOOP); - } - if (!isWindows) { - var id = stat.dev.toString(32) + ":" + stat.ino.toString(32); - if (seenLinks.hasOwnProperty(id)) { - return gotTarget(null, seenLinks[id], base); - } - } - fs6.stat(base, function(err2) { - if (err2) - return cb(err2); - fs6.readlink(base, function(err3, target) { - if (!isWindows) - seenLinks[id] = target; - gotTarget(err3, target); - }); - }); - } - function gotTarget(err, target, base2) { - if (err) - return cb(err); - var resolvedLink = pathModule.resolve(previous, target); - if (cache) - cache[base2] = resolvedLink; - gotResolvedLink(resolvedLink); - } - function gotResolvedLink(resolvedLink) { - p = pathModule.resolve(resolvedLink, p.slice(pos)); - start(); - } - }; + module.exports = { tryParse, readJSON, writeJSON }; } }); -// node_modules/fs.realpath/index.js -var require_fs = __commonJS({ - "node_modules/fs.realpath/index.js"(exports, module) { - module.exports = realpath; - realpath.realpath = realpath; - realpath.sync = realpathSync; - realpath.realpathSync = realpathSync; - realpath.monkeypatch = monkeypatch; - realpath.unmonkeypatch = unmonkeypatch; +// node_modules/file-entry-cache/node_modules/flat-cache/src/del.js +var require_del = __commonJS({ + "node_modules/file-entry-cache/node_modules/flat-cache/src/del.js"(exports, module) { var fs6 = __require("fs"); - var origRealpath = fs6.realpath; - var origRealpathSync = fs6.realpathSync; - var version2 = process.version; - var ok = /^v[0-5]\./.test(version2); - var old = require_old(); - function newError(er) { - return er && er.syscall === "realpath" && (er.code === "ELOOP" || er.code === "ENOMEM" || er.code === "ENAMETOOLONG"); - } - function realpath(p, cache, cb) { - if (ok) { - return origRealpath(p, cache, cb); - } - if (typeof cache === "function") { - cb = cache; - cache = null; - } - origRealpath(p, cache, function(er, result) { - if (newError(er)) { - old.realpath(p, cache, cb); - } else { - cb(er, result); - } - }); - } - function realpathSync(p, cache) { - if (ok) { - return origRealpathSync(p, cache); + var path10 = __require("path"); + function del(targetPath) { + if (!fs6.existsSync(targetPath)) { + return false; } try { - return origRealpathSync(p, cache); - } catch (er) { - if (newError(er)) { - return old.realpathSync(p, cache); + if (fs6.statSync(targetPath).isDirectory()) { + for (const file of fs6.readdirSync(targetPath)) { + const currentPath = path10.join(targetPath, file); + if (fs6.statSync(currentPath).isFile()) { + fs6.unlinkSync(currentPath); + } + } + fs6.rmdirSync(targetPath); } else { - throw er; + fs6.unlinkSync(targetPath); } + return true; + } catch (error) { + console.error(`Error while deleting ${targetPath}: ${error.message}`); } } - function monkeypatch() { - fs6.realpath = realpath; - fs6.realpathSync = realpathSync; - } - function unmonkeypatch() { - fs6.realpath = origRealpath; - fs6.realpathSync = origRealpathSync; - } + module.exports = { del }; } }); -// node_modules/concat-map/index.js -var require_concat_map = __commonJS({ - "node_modules/concat-map/index.js"(exports, module) { - module.exports = function(xs, fn) { - var res = []; - for (var i = 0; i < xs.length; i++) { - var x = fn(xs[i], i); - if (isArray(x)) - res.push.apply(res, x); - else - res.push(x); - } - return res; - }; - var isArray = Array.isArray || function(xs) { - return Object.prototype.toString.call(xs) === "[object Array]"; - }; - } -}); - -// node_modules/balanced-match/index.js -var require_balanced_match = __commonJS({ - "node_modules/balanced-match/index.js"(exports, module) { - "use strict"; - module.exports = balanced; - function balanced(a, b, str) { - if (a instanceof RegExp) - a = maybeMatch(a, str); - if (b instanceof RegExp) - b = maybeMatch(b, str); - var r = range(a, b, str); - return r && { - start: r[0], - end: r[1], - pre: str.slice(0, r[0]), - body: str.slice(r[0] + a.length, r[1]), - post: str.slice(r[1] + b.length) - }; - } - function maybeMatch(reg, str) { - var m = str.match(reg); - return m ? m[0] : null; - } - balanced.range = range; - function range(a, b, str) { - var begs, beg, left, right, result; - var ai = str.indexOf(a); - var bi = str.indexOf(b, ai + 1); - var i = ai; - if (ai >= 0 && bi > 0) { - if (a === b) { - return [ai, bi]; +// node_modules/file-entry-cache/node_modules/flat-cache/src/cache.js +var require_cache = __commonJS({ + "node_modules/file-entry-cache/node_modules/flat-cache/src/cache.js"(exports, module) { + var path10 = __require("path"); + var fs6 = __require("fs"); + var Keyv = require_src(); + var { writeJSON, tryParse } = require_utils(); + var { del } = require_del(); + var cache = { + /** + * Load a cache identified by the given Id. If the element does not exists, then initialize an empty + * cache storage. If specified `cacheDir` will be used as the directory to persist the data to. If omitted + * then the cache module directory `./cache` will be used instead + * + * @method load + * @param docId {String} the id of the cache, would also be used as the name of the file cache + * @param [cacheDir] {String} directory for the cache entry + */ + load(documentId, cacheDir) { + const me = this; + me.keyv = new Keyv(); + me.__visited = {}; + me.__persisted = {}; + me._pathToFile = cacheDir ? path10.resolve(cacheDir, documentId) : path10.resolve(__dirname, "../.cache/", documentId); + if (fs6.existsSync(me._pathToFile)) { + me._persisted = tryParse(me._pathToFile, {}); } - begs = []; - left = str.length; - while (i >= 0 && !result) { - if (i == ai) { - begs.push(i); - ai = str.indexOf(a, i + 1); - } else if (begs.length == 1) { - result = [begs.pop(), bi]; - } else { - beg = begs.pop(); - if (beg < left) { - left = beg; - right = bi; - } - bi = str.indexOf(b, i + 1); - } - i = ai < bi && ai >= 0 ? ai : bi; + }, + get _persisted() { + return this.__persisted; + }, + set _persisted(value) { + this.__persisted = value; + }, + get _visited() { + return this.__visited; + }, + set _visited(value) { + this.__visited = value; + }, + /** + * Load the cache from the provided file + * @method loadFile + * @param {String} pathToFile the path to the file containing the info for the cache + */ + loadFile(pathToFile) { + const me = this; + const dir = path10.dirname(pathToFile); + const fName = path10.basename(pathToFile); + me.load(fName, dir); + }, + /** + * Returns the entire persisted object + * @method all + * @returns {*} + */ + all() { + return this._persisted; + }, + keys() { + return Object.keys(this._persisted); + }, + /** + * Sets a key to a given value + * @method setKey + * @param key {string} the key to set + * @param value {object} the value of the key. Could be any object that can be serialized with JSON.stringify + */ + setKey(key, value) { + this._visited[key] = true; + this._persisted[key] = value; + }, + /** + * Remove a given key from the cache + * @method removeKey + * @param key {String} the key to remove from the object + */ + removeKey(key) { + delete this._visited[key]; + delete this._persisted[key]; + }, + /** + * Return the value of the provided key + * @method getKey + * @param key {String} the name of the key to retrieve + * @returns {*} the value from the key + */ + getKey(key) { + this._visited[key] = true; + return this._persisted[key]; + }, + /** + * Remove keys that were not accessed/set since the + * last time the `prune` method was called. + * @method _prune + * @private + */ + _prune() { + const me = this; + const object = {}; + const keys = Object.keys(me._visited); + if (keys.length === 0) { + return; } - if (begs.length) { - result = [left, right]; + for (const key of keys) { + object[key] = me._persisted[key]; } + me._visited = {}; + me._persisted = object; + }, + /** + * Save the state of the cache identified by the docId to disk + * as a JSON structure + * @param [noPrune=false] {Boolean} whether to remove from cache the non visited files + * @method save + */ + save(noPrune) { + const me = this; + !noPrune && me._prune(); + writeJSON(me._pathToFile, me._persisted); + }, + /** + * Remove the file where the cache is persisted + * @method removeCacheFile + * @return {Boolean} true or false if the file was successfully deleted + */ + removeCacheFile() { + return del(this._pathToFile); + }, + /** + * Destroy the file cache and cache content. + * @method destroy + */ + destroy() { + const me = this; + me._visited = {}; + me._persisted = {}; + me.removeCacheFile(); } - return result; - } + }; + module.exports = { + /** + * Alias for create. Should be considered depreacted. Will be removed in next releases + * + * @method load + * @param docId {String} the id of the cache, would also be used as the name of the file cache + * @param [cacheDir] {String} directory for the cache entry + * @returns {cache} cache instance + */ + load(documentId, cacheDir) { + return this.create(documentId, cacheDir); + }, + /** + * Load a cache identified by the given Id. If the element does not exists, then initialize an empty + * cache storage. + * + * @method create + * @param docId {String} the id of the cache, would also be used as the name of the file cache + * @param [cacheDir] {String} directory for the cache entry + * @returns {cache} cache instance + */ + create(documentId, cacheDir) { + const object = Object.create(cache); + object.load(documentId, cacheDir); + return object; + }, + createFromFile(filePath) { + const object = Object.create(cache); + object.loadFile(filePath); + return object; + }, + /** + * Clear the cache identified by the given id. Caches stored in a different cache directory can be deleted directly + * + * @method clearCache + * @param docId {String} the id of the cache, would also be used as the name of the file cache + * @param cacheDir {String} the directory where the cache file was written + * @returns {Boolean} true if the cache folder was deleted. False otherwise + */ + clearCacheById(documentId, cacheDir) { + const filePath = cacheDir ? path10.resolve(cacheDir, documentId) : path10.resolve(__dirname, "../.cache/", documentId); + return del(filePath); + }, + /** + * Remove all cache stored in the cache directory + * @method clearAll + * @returns {Boolean} true if the cache folder was deleted. False otherwise + */ + clearAll(cacheDir) { + const filePath = cacheDir ? path10.resolve(cacheDir) : path10.resolve(__dirname, "../.cache/"); + return del(filePath); + } + }; } }); -// node_modules/brace-expansion/index.js -var require_brace_expansion = __commonJS({ - "node_modules/brace-expansion/index.js"(exports, module) { - var concatMap = require_concat_map(); - var balanced = require_balanced_match(); - module.exports = expandTop; - var escSlash = "\0SLASH" + Math.random() + "\0"; - var escOpen = "\0OPEN" + Math.random() + "\0"; - var escClose = "\0CLOSE" + Math.random() + "\0"; - var escComma = "\0COMMA" + Math.random() + "\0"; - var escPeriod = "\0PERIOD" + Math.random() + "\0"; - function numeric(str) { - return parseInt(str, 10) == str ? parseInt(str, 10) : str.charCodeAt(0); - } - function escapeBraces(str) { - return str.split("\\\\").join(escSlash).split("\\{").join(escOpen).split("\\}").join(escClose).split("\\,").join(escComma).split("\\.").join(escPeriod); - } - function unescapeBraces(str) { - return str.split(escSlash).join("\\").split(escOpen).join("{").split(escClose).join("}").split(escComma).join(",").split(escPeriod).join("."); - } - function parseCommaParts(str) { - if (!str) - return [""]; - var parts = []; - var m = balanced("{", "}", str); - if (!m) - return str.split(","); - var pre = m.pre; - var body = m.body; - var post = m.post; - var p = pre.split(","); - p[p.length - 1] += "{" + body + "}"; - var postParts = parseCommaParts(post); - if (post.length) { - p[p.length - 1] += postParts.shift(); - p.push.apply(p, postParts); - } - parts.push.apply(parts, p); - return parts; - } - function expandTop(str) { - if (!str) - return []; - if (str.substr(0, 2) === "{}") { - str = "\\{\\}" + str.substr(2); - } - return expand(escapeBraces(str), true).map(unescapeBraces); - } - function embrace(str) { - return "{" + str + "}"; - } - function isPadded(el) { - return /^-?0\d/.test(el); - } - function lte(i, y) { - return i <= y; - } - function gte(i, y) { - return i >= y; - } - function expand(str, isTop) { - var expansions = []; - var m = balanced("{", "}", str); - if (!m || /\$$/.test(m.pre)) - return [str]; - var isNumericSequence = /^-?\d+\.\.-?\d+(?:\.\.-?\d+)?$/.test(m.body); - var isAlphaSequence = /^[a-zA-Z]\.\.[a-zA-Z](?:\.\.-?\d+)?$/.test(m.body); - var isSequence = isNumericSequence || isAlphaSequence; - var isOptions = m.body.indexOf(",") >= 0; - if (!isSequence && !isOptions) { - if (m.post.match(/,.*\}/)) { - str = m.pre + "{" + m.body + escClose + m.post; - return expand(str); - } - return [str]; - } - var n; - if (isSequence) { - n = m.body.split(/\.\./); - } else { - n = parseCommaParts(m.body); - if (n.length === 1) { - n = expand(n[0], false).map(embrace); - if (n.length === 1) { - var post = m.post.length ? expand(m.post, false) : [""]; - return post.map(function(p) { - return m.pre + n[0] + p; - }); - } - } - } - var pre = m.pre; - var post = m.post.length ? expand(m.post, false) : [""]; - var N; - if (isSequence) { - var x = numeric(n[0]); - var y = numeric(n[1]); - var width = Math.max(n[0].length, n[1].length); - var incr = n.length == 3 ? Math.abs(numeric(n[2])) : 1; - var test = lte; - var reverse = y < x; - if (reverse) { - incr *= -1; - test = gte; - } - var pad = n.some(isPadded); - N = []; - for (var i = x; test(i, y); i += incr) { - var c; - if (isAlphaSequence) { - c = String.fromCharCode(i); - if (c === "\\") - c = ""; - } else { - c = String(i); - if (pad) { - var need = width - c.length; - if (need > 0) { - var z = new Array(need + 1).join("0"); - if (i < 0) - c = "-" + z + c.slice(1); - else - c = z + c; +// node_modules/file-entry-cache/cache.js +var require_cache2 = __commonJS({ + "node_modules/file-entry-cache/cache.js"(exports, module) { + var path10 = __require("path"); + var process5 = __require("process"); + var crypto = __require("crypto"); + module.exports = { + createFromFile(filePath, useChecksum) { + const fname = path10.basename(filePath); + const dir = path10.dirname(filePath); + return this.create(fname, dir, useChecksum); + }, + create(cacheId, _path, useChecksum) { + const fs6 = __require("fs"); + const flatCache = require_cache(); + const cache = flatCache.load(cacheId, _path); + let normalizedEntries = {}; + const removeNotFoundFiles = function removeNotFoundFiles2() { + const cachedEntries = cache.keys(); + for (const fPath of cachedEntries) { + try { + fs6.statSync(fPath); + } catch (error) { + if (error.code === "ENOENT") { + cache.removeKey(fPath); } } } - N.push(c); - } - } else { - N = concatMap(n, function(el) { - return expand(el, false); - }); - } - for (var j = 0; j < N.length; j++) { - for (var k = 0; k < post.length; k++) { - var expansion = pre + N[j] + post[k]; - if (!isTop || isSequence || expansion) - expansions.push(expansion); - } - } - return expansions; - } - } -}); - -// node_modules/minimatch/minimatch.js -var require_minimatch = __commonJS({ - "node_modules/minimatch/minimatch.js"(exports, module) { - module.exports = minimatch; - minimatch.Minimatch = Minimatch; - var path10 = function() { - try { - return __require("path"); - } catch (e) { - } - }() || { - sep: "/" - }; - minimatch.sep = path10.sep; - var GLOBSTAR = minimatch.GLOBSTAR = Minimatch.GLOBSTAR = {}; - var expand = require_brace_expansion(); - var plTypes = { - "!": { open: "(?:(?!(?:", close: "))[^/]*?)" }, - "?": { open: "(?:", close: ")?" }, - "+": { open: "(?:", close: ")+" }, - "*": { open: "(?:", close: ")*" }, - "@": { open: "(?:", close: ")" } - }; - var qmark = "[^/]"; - var star = qmark + "*?"; - var twoStarDot = "(?:(?!(?:\\/|^)(?:\\.{1,2})($|\\/)).)*?"; - var twoStarNoDot = "(?:(?!(?:\\/|^)\\.).)*?"; - var reSpecials = charSet("().*{}+?[]^$\\!"); - function charSet(s) { - return s.split("").reduce(function(set, c) { - set[c] = true; - return set; - }, {}); - } - var slashSplit = /\/+/; - minimatch.filter = filter; - function filter(pattern, options) { - options = options || {}; - return function(p, i, list) { - return minimatch(p, pattern, options); - }; - } - function ext(a, b) { - b = b || {}; - var t = {}; - Object.keys(a).forEach(function(k) { - t[k] = a[k]; - }); - Object.keys(b).forEach(function(k) { - t[k] = b[k]; - }); - return t; - } - minimatch.defaults = function(def) { - if (!def || typeof def !== "object" || !Object.keys(def).length) { - return minimatch; - } - var orig = minimatch; - var m = function minimatch2(p, pattern, options) { - return orig(p, pattern, ext(def, options)); - }; - m.Minimatch = function Minimatch2(pattern, options) { - return new orig.Minimatch(pattern, ext(def, options)); - }; - m.Minimatch.defaults = function defaults(options) { - return orig.defaults(ext(def, options)).Minimatch; - }; - m.filter = function filter2(pattern, options) { - return orig.filter(pattern, ext(def, options)); - }; - m.defaults = function defaults(options) { - return orig.defaults(ext(def, options)); - }; - m.makeRe = function makeRe2(pattern, options) { - return orig.makeRe(pattern, ext(def, options)); - }; - m.braceExpand = function braceExpand2(pattern, options) { - return orig.braceExpand(pattern, ext(def, options)); - }; - m.match = function(list, pattern, options) { - return orig.match(list, pattern, ext(def, options)); - }; - return m; - }; - Minimatch.defaults = function(def) { - return minimatch.defaults(def).Minimatch; - }; - function minimatch(p, pattern, options) { - assertValidPattern(pattern); - if (!options) - options = {}; - if (!options.nocomment && pattern.charAt(0) === "#") { - return false; - } - return new Minimatch(pattern, options).match(p); - } - function Minimatch(pattern, options) { - if (!(this instanceof Minimatch)) { - return new Minimatch(pattern, options); - } - assertValidPattern(pattern); - if (!options) - options = {}; - pattern = pattern.trim(); - if (!options.allowWindowsEscape && path10.sep !== "/") { - pattern = pattern.split(path10.sep).join("/"); - } - this.options = options; - this.set = []; - this.pattern = pattern; - this.regexp = null; - this.negate = false; - this.comment = false; - this.empty = false; - this.partial = !!options.partial; - this.make(); - } - Minimatch.prototype.debug = function() { - }; - Minimatch.prototype.make = make; - function make() { - var pattern = this.pattern; - var options = this.options; - if (!options.nocomment && pattern.charAt(0) === "#") { - this.comment = true; - return; - } - if (!pattern) { - this.empty = true; - return; - } - this.parseNegate(); - var set = this.globSet = this.braceExpand(); - if (options.debug) - this.debug = function debug() { - console.error.apply(console, arguments); }; - this.debug(this.pattern, set); - set = this.globParts = set.map(function(s) { - return s.split(slashSplit); - }); - this.debug(this.pattern, set); - set = set.map(function(s, si, set2) { - return s.map(this.parse, this); - }, this); - this.debug(this.pattern, set); - set = set.filter(function(s) { - return s.indexOf(false) === -1; - }); - this.debug(this.pattern, set); - this.set = set; - } - Minimatch.prototype.parseNegate = parseNegate; - function parseNegate() { - var pattern = this.pattern; - var negate = false; - var options = this.options; - var negateOffset = 0; - if (options.nonegate) - return; - for (var i = 0, l = pattern.length; i < l && pattern.charAt(i) === "!"; i++) { - negate = !negate; - negateOffset++; - } - if (negateOffset) - this.pattern = pattern.substr(negateOffset); - this.negate = negate; - } - minimatch.braceExpand = function(pattern, options) { - return braceExpand(pattern, options); - }; - Minimatch.prototype.braceExpand = braceExpand; - function braceExpand(pattern, options) { - if (!options) { - if (this instanceof Minimatch) { - options = this.options; - } else { - options = {}; - } - } - pattern = typeof pattern === "undefined" ? this.pattern : pattern; - assertValidPattern(pattern); - if (options.nobrace || !/\{(?:(?!\{).)*\}/.test(pattern)) { - return [pattern]; - } - return expand(pattern); - } - var MAX_PATTERN_LENGTH = 1024 * 64; - var assertValidPattern = function(pattern) { - if (typeof pattern !== "string") { - throw new TypeError("invalid pattern"); - } - if (pattern.length > MAX_PATTERN_LENGTH) { - throw new TypeError("pattern is too long"); - } - }; - Minimatch.prototype.parse = parse; - var SUBPARSE = {}; - function parse(pattern, isSub) { - assertValidPattern(pattern); - var options = this.options; - if (pattern === "**") { - if (!options.noglobstar) - return GLOBSTAR; - else - pattern = "*"; - } - if (pattern === "") - return ""; - var re = ""; - var hasMagic = !!options.nocase; - var escaping = false; - var patternListStack = []; - var negativeLists = []; - var stateChar; - var inClass = false; - var reClassStart = -1; - var classStart = -1; - var patternStart = pattern.charAt(0) === "." ? "" : options.dot ? "(?!(?:^|\\/)\\.{1,2}(?:$|\\/))" : "(?!\\.)"; - var self = this; - function clearStateChar() { - if (stateChar) { - switch (stateChar) { - case "*": - re += star; - hasMagic = true; - break; - case "?": - re += qmark; - hasMagic = true; - break; - default: - re += "\\" + stateChar; - break; - } - self.debug("clearStateChar %j %j", stateChar, re); - stateChar = false; - } - } - for (var i = 0, len = pattern.length, c; i < len && (c = pattern.charAt(i)); i++) { - this.debug("%s %s %s %j", pattern, i, re, c); - if (escaping && reSpecials[c]) { - re += "\\" + c; - escaping = false; - continue; - } - switch (c) { - case "/": { - return false; - } - case "\\": - clearStateChar(); - escaping = true; - continue; - case "?": - case "*": - case "+": - case "@": - case "!": - this.debug("%s %s %s %j <-- stateChar", pattern, i, re, c); - if (inClass) { - this.debug(" in class"); - if (c === "!" && i === classStart + 1) - c = "^"; - re += c; - continue; - } - self.debug("call clearStateChar %j", stateChar); - clearStateChar(); - stateChar = c; - if (options.noext) - clearStateChar(); - continue; - case "(": - if (inClass) { - re += "("; - continue; - } - if (!stateChar) { - re += "\\("; - continue; - } - patternListStack.push({ - type: stateChar, - start: i - 1, - reStart: re.length, - open: plTypes[stateChar].open, - close: plTypes[stateChar].close - }); - re += stateChar === "!" ? "(?:(?!(?:" : "(?:"; - this.debug("plType %j %j", stateChar, re); - stateChar = false; - continue; - case ")": - if (inClass || !patternListStack.length) { - re += "\\)"; - continue; - } - clearStateChar(); - hasMagic = true; - var pl = patternListStack.pop(); - re += pl.close; - if (pl.type === "!") { - negativeLists.push(pl); + removeNotFoundFiles(); + return { + /** + * The flat cache storage used to persist the metadata of the `files + * @type {Object} + */ + cache, + /** + * Given a buffer, calculate md5 hash of its content. + * @method getHash + * @param {Buffer} buffer buffer to calculate hash on + * @return {String} content hash digest + */ + getHash(buffer) { + return crypto.createHash("md5").update(buffer).digest("hex"); + }, + /** + * Return whether or not a file has changed since last time reconcile was called. + * @method hasFileChanged + * @param {String} file the filepath to check + * @return {Boolean} wheter or not the file has changed + */ + hasFileChanged(file) { + return this.getFileDescriptor(file).changed; + }, + /** + * Given an array of file paths it return and object with three arrays: + * - changedFiles: Files that changed since previous run + * - notChangedFiles: Files that haven't change + * - notFoundFiles: Files that were not found, probably deleted + * + * @param {Array} files the files to analyze and compare to the previous seen files + * @return {[type]} [description] + */ + analyzeFiles(files) { + const me = this; + files || (files = []); + const res = { + changedFiles: [], + notFoundFiles: [], + notChangedFiles: [] + }; + for (const entry of me.normalizeEntries(files)) { + if (entry.changed) { + res.changedFiles.push(entry.key); + continue; + } + if (entry.notFound) { + res.notFoundFiles.push(entry.key); + continue; + } + res.notChangedFiles.push(entry.key); } - pl.reEnd = re.length; - continue; - case "|": - if (inClass || !patternListStack.length || escaping) { - re += "\\|"; - escaping = false; - continue; + return res; + }, + getFileDescriptor(file) { + let fstat; + try { + if (!path10.isAbsolute(file)) { + file = path10.resolve(process5.cwd(), file); + } + fstat = fs6.statSync(file); + } catch (error) { + this.removeEntry(file); + return { key: file, notFound: true, err: error }; } - clearStateChar(); - re += "|"; - continue; - case "[": - clearStateChar(); - if (inClass) { - re += "\\" + c; - continue; + if (useChecksum) { + return this._getFileDescriptorUsingChecksum(file); } - inClass = true; - classStart = i; - reClassStart = re.length; - re += c; - continue; - case "]": - if (i === classStart + 1 || !inClass) { - re += "\\" + c; - escaping = false; - continue; + return this._getFileDescriptorUsingMtimeAndSize(file, fstat); + }, + _getFileDescriptorUsingMtimeAndSize(file, fstat) { + let meta = cache.getKey(file); + const cacheExists = Boolean(meta); + const cSize = fstat.size; + const cTime = fstat.mtime.getTime(); + let isDifferentDate; + let isDifferentSize; + if (meta) { + isDifferentDate = cTime !== meta.mtime; + isDifferentSize = cSize !== meta.size; + } else { + meta = { size: cSize, mtime: cTime }; } - var cs = pattern.substring(classStart + 1, i); + const nEntry = normalizedEntries[file] = { + key: file, + changed: !cacheExists || isDifferentDate || isDifferentSize, + meta + }; + return nEntry; + }, + _getFileDescriptorUsingChecksum(file) { + let meta = cache.getKey(file); + const cacheExists = Boolean(meta); + let contentBuffer; try { - RegExp("[" + cs + "]"); - } catch (er) { - var sp = this.parse(cs, SUBPARSE); - re = re.substr(0, reClassStart) + "\\[" + sp[0] + "\\]"; - hasMagic = hasMagic || sp[1]; - inClass = false; - continue; + contentBuffer = fs6.readFileSync(file); + } catch { + contentBuffer = ""; } - hasMagic = true; - inClass = false; - re += c; - continue; - default: - clearStateChar(); - if (escaping) { - escaping = false; - } else if (reSpecials[c] && !(c === "^" && inClass)) { - re += "\\"; + let isDifferent = true; + const hash = this.getHash(contentBuffer); + if (meta) { + isDifferent = hash !== meta.hash; + } else { + meta = { hash }; } - re += c; - } - } - if (inClass) { - cs = pattern.substr(classStart + 1); - sp = this.parse(cs, SUBPARSE); - re = re.substr(0, reClassStart) + "\\[" + sp[0]; - hasMagic = hasMagic || sp[1]; - } - for (pl = patternListStack.pop(); pl; pl = patternListStack.pop()) { - var tail = re.slice(pl.reStart + pl.open.length); - this.debug("setting tail", re, pl); - tail = tail.replace(/((?:\\{2}){0,64})(\\?)\|/g, function(_, $1, $2) { - if (!$2) { - $2 = "\\"; - } - return $1 + $1 + $2 + "|"; - }); - this.debug("tail=%j\n %s", tail, tail, pl, re); - var t = pl.type === "*" ? star : pl.type === "?" ? qmark : "\\" + pl.type; - hasMagic = true; - re = re.slice(0, pl.reStart) + t + "\\(" + tail; - } - clearStateChar(); - if (escaping) { - re += "\\\\"; - } - var addPatternStart = false; - switch (re.charAt(0)) { - case "[": - case ".": - case "(": - addPatternStart = true; - } - for (var n = negativeLists.length - 1; n > -1; n--) { - var nl = negativeLists[n]; - var nlBefore = re.slice(0, nl.reStart); - var nlFirst = re.slice(nl.reStart, nl.reEnd - 8); - var nlLast = re.slice(nl.reEnd - 8, nl.reEnd); - var nlAfter = re.slice(nl.reEnd); - nlLast += nlAfter; - var openParensBefore = nlBefore.split("(").length - 1; - var cleanAfter = nlAfter; - for (i = 0; i < openParensBefore; i++) { - cleanAfter = cleanAfter.replace(/\)[+*?]?/, ""); - } - nlAfter = cleanAfter; - var dollar = ""; - if (nlAfter === "" && isSub !== SUBPARSE) { - dollar = "$"; - } - var newRe = nlBefore + nlFirst + nlAfter + dollar + nlLast; - re = newRe; - } - if (re !== "" && hasMagic) { - re = "(?=.)" + re; - } - if (addPatternStart) { - re = patternStart + re; - } - if (isSub === SUBPARSE) { - return [re, hasMagic]; - } - if (!hasMagic) { - return globUnescape(pattern); - } - var flags = options.nocase ? "i" : ""; - try { - var regExp = new RegExp("^" + re + "$", flags); - } catch (er) { - return new RegExp("$."); - } - regExp._glob = pattern; - regExp._src = re; - return regExp; - } - minimatch.makeRe = function(pattern, options) { - return new Minimatch(pattern, options || {}).makeRe(); - }; - Minimatch.prototype.makeRe = makeRe; - function makeRe() { - if (this.regexp || this.regexp === false) - return this.regexp; - var set = this.set; - if (!set.length) { - this.regexp = false; - return this.regexp; - } - var options = this.options; - var twoStar = options.noglobstar ? star : options.dot ? twoStarDot : twoStarNoDot; - var flags = options.nocase ? "i" : ""; - var re = set.map(function(pattern) { - return pattern.map(function(p) { - return p === GLOBSTAR ? twoStar : typeof p === "string" ? regExpEscape(p) : p._src; - }).join("\\/"); - }).join("|"); - re = "^(?:" + re + ")$"; - if (this.negate) - re = "^(?!" + re + ").*$"; - try { - this.regexp = new RegExp(re, flags); - } catch (ex) { - this.regexp = false; - } - return this.regexp; - } - minimatch.match = function(list, pattern, options) { - options = options || {}; - var mm = new Minimatch(pattern, options); - list = list.filter(function(f) { - return mm.match(f); - }); - if (mm.options.nonull && !list.length) { - list.push(pattern); - } - return list; - }; - Minimatch.prototype.match = function match(f, partial) { - if (typeof partial === "undefined") - partial = this.partial; - this.debug("match", f, this.pattern); - if (this.comment) - return false; - if (this.empty) - return f === ""; - if (f === "/" && partial) - return true; - var options = this.options; - if (path10.sep !== "/") { - f = f.split(path10.sep).join("/"); - } - f = f.split(slashSplit); - this.debug(this.pattern, "split", f); - var set = this.set; - this.debug(this.pattern, "set", set); - var filename; - var i; - for (i = f.length - 1; i >= 0; i--) { - filename = f[i]; - if (filename) - break; - } - for (i = 0; i < set.length; i++) { - var pattern = set[i]; - var file = f; - if (options.matchBase && pattern.length === 1) { - file = [filename]; - } - var hit = this.matchOne(file, pattern, partial); - if (hit) { - if (options.flipNegate) - return true; - return !this.negate; - } - } - if (options.flipNegate) - return false; - return this.negate; - }; - Minimatch.prototype.matchOne = function(file, pattern, partial) { - var options = this.options; - this.debug( - "matchOne", - { "this": this, file, pattern } - ); - this.debug("matchOne", file.length, pattern.length); - for (var fi = 0, pi = 0, fl = file.length, pl = pattern.length; fi < fl && pi < pl; fi++, pi++) { - this.debug("matchOne loop"); - var p = pattern[pi]; - var f = file[fi]; - this.debug(pattern, p, f); - if (p === false) - return false; - if (p === GLOBSTAR) { - this.debug("GLOBSTAR", [pattern, p, f]); - var fr = fi; - var pr = pi + 1; - if (pr === pl) { - this.debug("** at the end"); - for (; fi < fl; fi++) { - if (file[fi] === "." || file[fi] === ".." || !options.dot && file[fi].charAt(0) === ".") - return false; + const nEntry = normalizedEntries[file] = { + key: file, + changed: !cacheExists || isDifferent, + meta + }; + return nEntry; + }, + /** + * Return the list o the files that changed compared + * against the ones stored in the cache + * + * @method getUpdated + * @param files {Array} the array of files to compare against the ones in the cache + * @returns {Array} + */ + getUpdatedFiles(files) { + const me = this; + files || (files = []); + return me.normalizeEntries(files).filter((entry) => entry.changed).map((entry) => entry.key); + }, + /** + * Return the list of files + * @method normalizeEntries + * @param files + * @returns {*} + */ + normalizeEntries(files) { + files || (files = []); + const me = this; + const nEntries = files.map((file) => me.getFileDescriptor(file)); + return nEntries; + }, + /** + * Remove an entry from the file-entry-cache. Useful to force the file to still be considered + * modified the next time the process is run + * + * @method removeEntry + * @param entryName + */ + removeEntry(entryName) { + if (!path10.isAbsolute(entryName)) { + entryName = path10.resolve(process5.cwd(), entryName); } - return true; - } - while (fr < fl) { - var swallowee = file[fr]; - this.debug("\nglobstar while", file, fr, pattern, pr, swallowee); - if (this.matchOne(file.slice(fr), pattern.slice(pr), partial)) { - this.debug("globstar found match!", fr, fl, swallowee); - return true; - } else { - if (swallowee === "." || swallowee === ".." || !options.dot && swallowee.charAt(0) === ".") { - this.debug("dot detected!", file, fr, pattern, pr); - break; + delete normalizedEntries[entryName]; + cache.removeKey(entryName); + }, + /** + * Delete the cache file from the disk + * @method deleteCacheFile + */ + deleteCacheFile() { + cache.removeCacheFile(); + }, + /** + * Remove the cache from the file and clear the memory cache + */ + destroy() { + normalizedEntries = {}; + cache.destroy(); + }, + _getMetaForFileUsingCheckSum(cacheEntry) { + const contentBuffer = fs6.readFileSync(cacheEntry.key); + const hash = this.getHash(contentBuffer); + const meta = Object.assign(cacheEntry.meta, { hash }); + delete meta.size; + delete meta.mtime; + return meta; + }, + _getMetaForFileUsingMtimeAndSize(cacheEntry) { + const stat = fs6.statSync(cacheEntry.key); + const meta = Object.assign(cacheEntry.meta, { + size: stat.size, + mtime: stat.mtime.getTime() + }); + delete meta.hash; + return meta; + }, + /** + * Sync the files and persist them to the cache + * @method reconcile + */ + reconcile(noPrune) { + removeNotFoundFiles(); + noPrune = noPrune === void 0 ? true : noPrune; + const entries = normalizedEntries; + const keys = Object.keys(entries); + if (keys.length === 0) { + return; + } + const me = this; + for (const entryName of keys) { + const cacheEntry = entries[entryName]; + try { + const meta = useChecksum ? me._getMetaForFileUsingCheckSum(cacheEntry) : me._getMetaForFileUsingMtimeAndSize(cacheEntry); + cache.setKey(entryName, meta); + } catch (error) { + if (error.code !== "ENOENT") { + throw error; + } } - this.debug("globstar swallow a segment, and continue"); - fr++; } + cache.save(noPrune); } - if (partial) { - this.debug("\n>>> no match, partial?", file, fr, pattern, pr); - if (fr === fl) - return true; - } - return false; - } - var hit; - if (typeof p === "string") { - hit = f === p; - this.debug("string match", p, f, hit); - } else { - hit = f.match(p); - this.debug("pattern match", p, f, hit); - } - if (!hit) - return false; - } - if (fi === fl && pi === pl) { - return true; - } else if (fi === fl) { - return partial; - } else if (pi === pl) { - return fi === fl - 1 && file[fi] === ""; + }; } - throw new Error("wtf?"); }; - function globUnescape(s) { - return s.replace(/\\(.)/g, "$1"); - } - function regExpEscape(s) { - return s.replace(/[-[\]{}()*+?.,\\^$|#\s]/g, "\\$&"); - } } }); -// node_modules/inherits/inherits_browser.js -var require_inherits_browser = __commonJS({ - "node_modules/inherits/inherits_browser.js"(exports, module) { - if (typeof Object.create === "function") { - module.exports = function inherits(ctor, superCtor) { - if (superCtor) { - ctor.super_ = superCtor; - ctor.prototype = Object.create(superCtor.prototype, { - constructor: { - value: ctor, - enumerable: false, - writable: true, - configurable: true - } - }); - } - }; - } else { - module.exports = function inherits(ctor, superCtor) { - if (superCtor) { - ctor.super_ = superCtor; - var TempCtor = function() { - }; - TempCtor.prototype = superCtor.prototype; - ctor.prototype = new TempCtor(); - ctor.prototype.constructor = ctor; - } - }; - } +// node_modules/wcwidth.js/combining.js +var require_combining = __commonJS({ + "node_modules/wcwidth.js/combining.js"(exports, module) { + module.exports = [ + [768, 879], + [1155, 1158], + [1160, 1161], + [1425, 1469], + [1471, 1471], + [1473, 1474], + [1476, 1477], + [1479, 1479], + [1536, 1539], + [1552, 1557], + [1611, 1630], + [1648, 1648], + [1750, 1764], + [1767, 1768], + [1770, 1773], + [1807, 1807], + [1809, 1809], + [1840, 1866], + [1958, 1968], + [2027, 2035], + [2305, 2306], + [2364, 2364], + [2369, 2376], + [2381, 2381], + [2385, 2388], + [2402, 2403], + [2433, 2433], + [2492, 2492], + [2497, 2500], + [2509, 2509], + [2530, 2531], + [2561, 2562], + [2620, 2620], + [2625, 2626], + [2631, 2632], + [2635, 2637], + [2672, 2673], + [2689, 2690], + [2748, 2748], + [2753, 2757], + [2759, 2760], + [2765, 2765], + [2786, 2787], + [2817, 2817], + [2876, 2876], + [2879, 2879], + [2881, 2883], + [2893, 2893], + [2902, 2902], + [2946, 2946], + [3008, 3008], + [3021, 3021], + [3134, 3136], + [3142, 3144], + [3146, 3149], + [3157, 3158], + [3260, 3260], + [3263, 3263], + [3270, 3270], + [3276, 3277], + [3298, 3299], + [3393, 3395], + [3405, 3405], + [3530, 3530], + [3538, 3540], + [3542, 3542], + [3633, 3633], + [3636, 3642], + [3655, 3662], + [3761, 3761], + [3764, 3769], + [3771, 3772], + [3784, 3789], + [3864, 3865], + [3893, 3893], + [3895, 3895], + [3897, 3897], + [3953, 3966], + [3968, 3972], + [3974, 3975], + [3984, 3991], + [3993, 4028], + [4038, 4038], + [4141, 4144], + [4146, 4146], + [4150, 4151], + [4153, 4153], + [4184, 4185], + [4448, 4607], + [4959, 4959], + [5906, 5908], + [5938, 5940], + [5970, 5971], + [6002, 6003], + [6068, 6069], + [6071, 6077], + [6086, 6086], + [6089, 6099], + [6109, 6109], + [6155, 6157], + [6313, 6313], + [6432, 6434], + [6439, 6440], + [6450, 6450], + [6457, 6459], + [6679, 6680], + [6912, 6915], + [6964, 6964], + [6966, 6970], + [6972, 6972], + [6978, 6978], + [7019, 7027], + [7616, 7626], + [7678, 7679], + [8203, 8207], + [8234, 8238], + [8288, 8291], + [8298, 8303], + [8400, 8431], + [12330, 12335], + [12441, 12442], + [43014, 43014], + [43019, 43019], + [43045, 43046], + [64286, 64286], + [65024, 65039], + [65056, 65059], + [65279, 65279], + [65529, 65531], + [68097, 68099], + [68101, 68102], + [68108, 68111], + [68152, 68154], + [68159, 68159], + [119143, 119145], + [119155, 119170], + [119173, 119179], + [119210, 119213], + [119362, 119364], + [917505, 917505], + [917536, 917631], + [917760, 917999] + ]; } }); -// node_modules/inherits/inherits.js -var require_inherits = __commonJS({ - "node_modules/inherits/inherits.js"(exports, module) { - try { - util = __require("util"); - if (typeof util.inherits !== "function") - throw ""; - module.exports = util.inherits; - } catch (e) { - module.exports = require_inherits_browser(); +// node_modules/wcwidth.js/index.js +var require_wcwidth = __commonJS({ + "node_modules/wcwidth.js/index.js"(exports, module) { + var combining = require_combining(); + var DEFAULTS = { + nul: 0, + control: 0 + }; + function bisearch(ucs) { + let min = 0; + let max = combining.length - 1; + let mid; + if (ucs < combining[0][0] || ucs > combining[max][1]) return false; + while (max >= min) { + mid = Math.floor((min + max) / 2); + if (ucs > combining[mid][1]) min = mid + 1; + else if (ucs < combining[mid][0]) max = mid - 1; + else return true; + } + return false; } - var util; - } -}); - -// node_modules/path-is-absolute/index.js -var require_path_is_absolute = __commonJS({ - "node_modules/path-is-absolute/index.js"(exports, module) { - "use strict"; - function posix(path10) { - return path10.charAt(0) === "/"; + function wcwidth2(ucs, opts) { + if (ucs === 0) return opts.nul; + if (ucs < 32 || ucs >= 127 && ucs < 160) return opts.control; + if (bisearch(ucs)) return 0; + return 1 + (ucs >= 4352 && (ucs <= 4447 || // Hangul Jamo init. consonants + ucs == 9001 || ucs == 9002 || ucs >= 11904 && ucs <= 42191 && ucs != 12351 || // CJK ... Yi + ucs >= 44032 && ucs <= 55203 || // Hangul Syllables + ucs >= 63744 && ucs <= 64255 || // CJK Compatibility Ideographs + ucs >= 65040 && ucs <= 65049 || // Vertical forms + ucs >= 65072 && ucs <= 65135 || // CJK Compatibility Forms + ucs >= 65280 && ucs <= 65376 || // Fullwidth Forms + ucs >= 65504 && ucs <= 65510 || ucs >= 131072 && ucs <= 196605 || ucs >= 196608 && ucs <= 262141)); } - function win32(path10) { - var splitDeviceRe = /^([a-zA-Z]:|[\\\/]{2}[^\\\/]+[\\\/]+[^\\\/]+)?([\\\/])?([\s\S]*?)$/; - var result = splitDeviceRe.exec(path10); - var device = result[1] || ""; - var isUnc = Boolean(device && device.charAt(1) !== ":"); - return Boolean(result[2] || isUnc); + function wcswidth(str, opts) { + let h; + let l; + let s = 0; + let n; + if (typeof str !== "string") return wcwidth2(str, opts); + for (let i = 0; i < str.length; i++) { + h = str.charCodeAt(i); + if (h >= 55296 && h <= 56319) { + l = str.charCodeAt(++i); + if (l >= 56320 && l <= 57343) { + h = (h - 55296) * 1024 + (l - 56320) + 65536; + } else { + i--; + } + } + n = wcwidth2(h, opts); + if (n < 0) return -1; + s += n; + } + return s; } - module.exports = process.platform === "win32" ? win32 : posix; - module.exports.posix = posix; - module.exports.win32 = win32; + module.exports = (str) => wcswidth(str, DEFAULTS); + module.exports.config = (opts = {}) => { + opts = { + ...DEFAULTS, + ...opts + }; + return (str) => wcswidth(str, opts); + }; } }); -// node_modules/glob/common.js -var require_common = __commonJS({ - "node_modules/glob/common.js"(exports) { - exports.setopts = setopts; - exports.ownProp = ownProp; - exports.makeAbs = makeAbs; - exports.finish = finish; - exports.mark = mark; - exports.isIgnored = isIgnored; - exports.childrenIgnored = childrenIgnored; - function ownProp(obj, field) { - return Object.prototype.hasOwnProperty.call(obj, field); - } - var fs6 = __require("fs"); - var path10 = __require("path"); - var minimatch = require_minimatch(); - var isAbsolute = require_path_is_absolute(); - var Minimatch = minimatch.Minimatch; - function alphasort(a, b) { - return a.localeCompare(b, "en"); - } - function setupIgnores(self, options) { - self.ignore = options.ignore || []; - if (!Array.isArray(self.ignore)) - self.ignore = [self.ignore]; - if (self.ignore.length) { - self.ignore = self.ignore.map(ignoreMap); - } - } - function ignoreMap(pattern) { - var gmatcher = null; - if (pattern.slice(-3) === "/**") { - var gpattern = pattern.replace(/(\/\*\*)+$/, ""); - gmatcher = new Minimatch(gpattern, { dot: true }); - } - return { - matcher: new Minimatch(pattern, { dot: true }), - gmatcher - }; - } - function setopts(self, pattern, options) { - if (!options) - options = {}; - if (options.matchBase && -1 === pattern.indexOf("/")) { - if (options.noglobstar) { - throw new Error("base matching requires globstar"); - } - pattern = "**/" + pattern; - } - self.silent = !!options.silent; - self.pattern = pattern; - self.strict = options.strict !== false; - self.realpath = !!options.realpath; - self.realpathCache = options.realpathCache || /* @__PURE__ */ Object.create(null); - self.follow = !!options.follow; - self.dot = !!options.dot; - self.mark = !!options.mark; - self.nodir = !!options.nodir; - if (self.nodir) - self.mark = true; - self.sync = !!options.sync; - self.nounique = !!options.nounique; - self.nonull = !!options.nonull; - self.nosort = !!options.nosort; - self.nocase = !!options.nocase; - self.stat = !!options.stat; - self.noprocess = !!options.noprocess; - self.absolute = !!options.absolute; - self.fs = options.fs || fs6; - self.maxLength = options.maxLength || Infinity; - self.cache = options.cache || /* @__PURE__ */ Object.create(null); - self.statCache = options.statCache || /* @__PURE__ */ Object.create(null); - self.symlinks = options.symlinks || /* @__PURE__ */ Object.create(null); - setupIgnores(self, options); - self.changedCwd = false; - var cwd2 = process.cwd(); - if (!ownProp(options, "cwd")) - self.cwd = cwd2; - else { - self.cwd = path10.resolve(options.cwd); - self.changedCwd = self.cwd !== cwd2; - } - self.root = options.root || path10.resolve(self.cwd, "/"); - self.root = path10.resolve(self.root); - if (process.platform === "win32") - self.root = self.root.replace(/\\/g, "/"); - self.cwdAbs = isAbsolute(self.cwd) ? self.cwd : makeAbs(self, self.cwd); - if (process.platform === "win32") - self.cwdAbs = self.cwdAbs.replace(/\\/g, "/"); - self.nomount = !!options.nomount; - options.nonegate = true; - options.nocomment = true; - options.allowWindowsEscape = false; - self.minimatch = new Minimatch(pattern, options); - self.options = self.minimatch.options; - } - function finish(self) { - var nou = self.nounique; - var all = nou ? [] : /* @__PURE__ */ Object.create(null); - for (var i = 0, l = self.matches.length; i < l; i++) { - var matches = self.matches[i]; - if (!matches || Object.keys(matches).length === 0) { - if (self.nonull) { - var literal = self.minimatch.globSet[i]; - if (nou) - all.push(literal); - else - all[literal] = true; - } - } else { - var m = Object.keys(matches); - if (nou) - all.push.apply(all, m); - else - m.forEach(function(m2) { - all[m2] = true; - }); - } - } - if (!nou) - all = Object.keys(all); - if (!self.nosort) - all = all.sort(alphasort); - if (self.mark) { - for (var i = 0; i < all.length; i++) { - all[i] = self._mark(all[i]); - } - if (self.nodir) { - all = all.filter(function(e) { - var notDir = !/\/$/.test(e); - var c = self.cache[e] || self.cache[makeAbs(self, e)]; - if (notDir && c) - notDir = c !== "DIR" && !Array.isArray(c); - return notDir; - }); - } - } - if (self.ignore.length) - all = all.filter(function(m2) { - return !isIgnored(self, m2); - }); - self.found = all; - } - function mark(self, p) { - var abs = makeAbs(self, p); - var c = self.cache[abs]; - var m = p; - if (c) { - var isDir = c === "DIR" || Array.isArray(c); - var slash = p.slice(-1) === "/"; - if (isDir && !slash) - m += "/"; - else if (!isDir && slash) - m = m.slice(0, -1); - if (m !== p) { - var mabs = makeAbs(self, m); - self.statCache[mabs] = self.statCache[abs]; - self.cache[mabs] = self.cache[abs]; - } - } - return m; - } - function makeAbs(self, f) { - var abs = f; - if (f.charAt(0) === "/") { - abs = path10.join(self.root, f); - } else if (isAbsolute(f) || f === "") { - abs = f; - } else if (self.changedCwd) { - abs = path10.resolve(self.cwd, f); - } else { - abs = path10.resolve(f); - } - if (process.platform === "win32") - abs = abs.replace(/\\/g, "/"); - return abs; - } - function isIgnored(self, path11) { - if (!self.ignore.length) - return false; - return self.ignore.some(function(item) { - return item.matcher.match(path11) || !!(item.gmatcher && item.gmatcher.match(path11)); - }); - } - function childrenIgnored(self, path11) { - if (!self.ignore.length) - return false; - return self.ignore.some(function(item) { - return !!(item.gmatcher && item.gmatcher.match(path11)); - }); - } - } -}); - -// node_modules/glob/sync.js -var require_sync = __commonJS({ - "node_modules/glob/sync.js"(exports, module) { - module.exports = globSync; - globSync.GlobSync = GlobSync; - var rp = require_fs(); - var minimatch = require_minimatch(); - var Minimatch = minimatch.Minimatch; - var Glob = require_glob().Glob; - var util = __require("util"); - var path10 = __require("path"); - var assert = __require("assert"); - var isAbsolute = require_path_is_absolute(); - var common = require_common(); - var setopts = common.setopts; - var ownProp = common.ownProp; - var childrenIgnored = common.childrenIgnored; - var isIgnored = common.isIgnored; - function globSync(pattern, options) { - if (typeof options === "function" || arguments.length === 3) - throw new TypeError("callback provided to sync glob\nSee: https://github.com/isaacs/node-glob/issues/167"); - return new GlobSync(pattern, options).found; - } - function GlobSync(pattern, options) { - if (!pattern) - throw new Error("must provide pattern"); - if (typeof options === "function" || arguments.length === 3) - throw new TypeError("callback provided to sync glob\nSee: https://github.com/isaacs/node-glob/issues/167"); - if (!(this instanceof GlobSync)) - return new GlobSync(pattern, options); - setopts(this, pattern, options); - if (this.noprocess) - return this; - var n = this.minimatch.set.length; - this.matches = new Array(n); - for (var i = 0; i < n; i++) { - this._process(this.minimatch.set[i], i, false); - } - this._finish(); - } - GlobSync.prototype._finish = function() { - assert.ok(this instanceof GlobSync); - if (this.realpath) { - var self = this; - this.matches.forEach(function(matchset, index) { - var set = self.matches[index] = /* @__PURE__ */ Object.create(null); - for (var p in matchset) { - try { - p = self._makeAbs(p); - var real = rp.realpathSync(p, self.realpathCache); - set[real] = true; - } catch (er) { - if (er.syscall === "stat") - set[self._makeAbs(p)] = true; - else - throw er; - } - } - }); - } - common.finish(this); - }; - GlobSync.prototype._process = function(pattern, index, inGlobStar) { - assert.ok(this instanceof GlobSync); - var n = 0; - while (typeof pattern[n] === "string") { - n++; - } - var prefix; - switch (n) { - case pattern.length: - this._processSimple(pattern.join("/"), index); - return; - case 0: - prefix = null; - break; - default: - prefix = pattern.slice(0, n).join("/"); - break; - } - var remain = pattern.slice(n); - var read; - if (prefix === null) - read = "."; - else if (isAbsolute(prefix) || isAbsolute(pattern.map(function(p) { - return typeof p === "string" ? p : "[*]"; - }).join("/"))) { - if (!prefix || !isAbsolute(prefix)) - prefix = "/" + prefix; - read = prefix; - } else - read = prefix; - var abs = this._makeAbs(read); - if (childrenIgnored(this, read)) - return; - var isGlobStar = remain[0] === minimatch.GLOBSTAR; - if (isGlobStar) - this._processGlobStar(prefix, read, abs, remain, index, inGlobStar); - else - this._processReaddir(prefix, read, abs, remain, index, inGlobStar); - }; - GlobSync.prototype._processReaddir = function(prefix, read, abs, remain, index, inGlobStar) { - var entries = this._readdir(abs, inGlobStar); - if (!entries) - return; - var pn = remain[0]; - var negate = !!this.minimatch.negate; - var rawGlob = pn._glob; - var dotOk = this.dot || rawGlob.charAt(0) === "."; - var matchedEntries = []; - for (var i = 0; i < entries.length; i++) { - var e = entries[i]; - if (e.charAt(0) !== "." || dotOk) { - var m; - if (negate && !prefix) { - m = !e.match(pn); - } else { - m = e.match(pn); - } - if (m) - matchedEntries.push(e); - } - } - var len = matchedEntries.length; - if (len === 0) - return; - if (remain.length === 1 && !this.mark && !this.stat) { - if (!this.matches[index]) - this.matches[index] = /* @__PURE__ */ Object.create(null); - for (var i = 0; i < len; i++) { - var e = matchedEntries[i]; - if (prefix) { - if (prefix.slice(-1) !== "/") - e = prefix + "/" + e; - else - e = prefix + e; - } - if (e.charAt(0) === "/" && !this.nomount) { - e = path10.join(this.root, e); - } - this._emitMatch(index, e); - } - return; - } - remain.shift(); - for (var i = 0; i < len; i++) { - var e = matchedEntries[i]; - var newPattern; - if (prefix) - newPattern = [prefix, e]; - else - newPattern = [e]; - this._process(newPattern.concat(remain), index, inGlobStar); - } - }; - GlobSync.prototype._emitMatch = function(index, e) { - if (isIgnored(this, e)) - return; - var abs = this._makeAbs(e); - if (this.mark) - e = this._mark(e); - if (this.absolute) { - e = abs; - } - if (this.matches[index][e]) - return; - if (this.nodir) { - var c = this.cache[abs]; - if (c === "DIR" || Array.isArray(c)) - return; - } - this.matches[index][e] = true; - if (this.stat) - this._stat(e); - }; - GlobSync.prototype._readdirInGlobStar = function(abs) { - if (this.follow) - return this._readdir(abs, false); - var entries; - var lstat; - var stat; - try { - lstat = this.fs.lstatSync(abs); - } catch (er) { - if (er.code === "ENOENT") { - return null; - } - } - var isSym = lstat && lstat.isSymbolicLink(); - this.symlinks[abs] = isSym; - if (!isSym && lstat && !lstat.isDirectory()) - this.cache[abs] = "FILE"; - else - entries = this._readdir(abs, false); - return entries; - }; - GlobSync.prototype._readdir = function(abs, inGlobStar) { - var entries; - if (inGlobStar && !ownProp(this.symlinks, abs)) - return this._readdirInGlobStar(abs); - if (ownProp(this.cache, abs)) { - var c = this.cache[abs]; - if (!c || c === "FILE") - return null; - if (Array.isArray(c)) - return c; - } - try { - return this._readdirEntries(abs, this.fs.readdirSync(abs)); - } catch (er) { - this._readdirError(abs, er); - return null; - } - }; - GlobSync.prototype._readdirEntries = function(abs, entries) { - if (!this.mark && !this.stat) { - for (var i = 0; i < entries.length; i++) { - var e = entries[i]; - if (abs === "/") - e = abs + e; - else - e = abs + "/" + e; - this.cache[e] = true; - } - } - this.cache[abs] = entries; - return entries; - }; - GlobSync.prototype._readdirError = function(f, er) { - switch (er.code) { - case "ENOTSUP": - case "ENOTDIR": - var abs = this._makeAbs(f); - this.cache[abs] = "FILE"; - if (abs === this.cwdAbs) { - var error = new Error(er.code + " invalid cwd " + this.cwd); - error.path = this.cwd; - error.code = er.code; - throw error; - } - break; - case "ENOENT": - case "ELOOP": - case "ENAMETOOLONG": - case "UNKNOWN": - this.cache[this._makeAbs(f)] = false; - break; - default: - this.cache[this._makeAbs(f)] = false; - if (this.strict) - throw er; - if (!this.silent) - console.error("glob error", er); - break; - } - }; - GlobSync.prototype._processGlobStar = function(prefix, read, abs, remain, index, inGlobStar) { - var entries = this._readdir(abs, inGlobStar); - if (!entries) - return; - var remainWithoutGlobStar = remain.slice(1); - var gspref = prefix ? [prefix] : []; - var noGlobStar = gspref.concat(remainWithoutGlobStar); - this._process(noGlobStar, index, false); - var len = entries.length; - var isSym = this.symlinks[abs]; - if (isSym && inGlobStar) - return; - for (var i = 0; i < len; i++) { - var e = entries[i]; - if (e.charAt(0) === "." && !this.dot) - continue; - var instead = gspref.concat(entries[i], remainWithoutGlobStar); - this._process(instead, index, true); - var below = gspref.concat(entries[i], remain); - this._process(below, index, true); - } - }; - GlobSync.prototype._processSimple = function(prefix, index) { - var exists = this._stat(prefix); - if (!this.matches[index]) - this.matches[index] = /* @__PURE__ */ Object.create(null); - if (!exists) - return; - if (prefix && isAbsolute(prefix) && !this.nomount) { - var trail = /[\/\\]$/.test(prefix); - if (prefix.charAt(0) === "/") { - prefix = path10.join(this.root, prefix); - } else { - prefix = path10.resolve(this.root, prefix); - if (trail) - prefix += "/"; - } - } - if (process.platform === "win32") - prefix = prefix.replace(/\\/g, "/"); - this._emitMatch(index, prefix); - }; - GlobSync.prototype._stat = function(f) { - var abs = this._makeAbs(f); - var needDir = f.slice(-1) === "/"; - if (f.length > this.maxLength) - return false; - if (!this.stat && ownProp(this.cache, abs)) { - var c = this.cache[abs]; - if (Array.isArray(c)) - c = "DIR"; - if (!needDir || c === "DIR") - return c; - if (needDir && c === "FILE") - return false; - } - var exists; - var stat = this.statCache[abs]; - if (!stat) { - var lstat; - try { - lstat = this.fs.lstatSync(abs); - } catch (er) { - if (er && (er.code === "ENOENT" || er.code === "ENOTDIR")) { - this.statCache[abs] = false; - return false; - } - } - if (lstat && lstat.isSymbolicLink()) { - try { - stat = this.fs.statSync(abs); - } catch (er) { - stat = lstat; - } - } else { - stat = lstat; - } - } - this.statCache[abs] = stat; - var c = true; - if (stat) - c = stat.isDirectory() ? "DIR" : "FILE"; - this.cache[abs] = this.cache[abs] || c; - if (needDir && c === "FILE") - return false; - return c; - }; - GlobSync.prototype._mark = function(p) { - return common.mark(this, p); - }; - GlobSync.prototype._makeAbs = function(f) { - return common.makeAbs(this, f); - }; - } -}); +// src/cli/index.js +import * as prettier2 from "../index.mjs"; -// node_modules/wrappy/wrappy.js -var require_wrappy = __commonJS({ - "node_modules/wrappy/wrappy.js"(exports, module) { - module.exports = wrappy; - function wrappy(fn, cb) { - if (fn && cb) - return wrappy(fn)(cb); - if (typeof fn !== "function") - throw new TypeError("need wrapper function"); - Object.keys(fn).forEach(function(k) { - wrapper[k] = fn[k]; - }); - return wrapper; - function wrapper() { - var args = new Array(arguments.length); - for (var i = 0; i < args.length; i++) { - args[i] = arguments[i]; - } - var ret = fn.apply(this, args); - var cb2 = args[args.length - 1]; - if (typeof ret === "function" && ret !== cb2) { - Object.keys(cb2).forEach(function(k) { - ret[k] = cb2[k]; - }); - } - return ret; - } - } +// scripts/build/shims/at.js +var at = (isOptionalObject, object, index) => { + if (isOptionalObject && (object === void 0 || object === null)) { + return; } -}); - -// node_modules/once/once.js -var require_once = __commonJS({ - "node_modules/once/once.js"(exports, module) { - var wrappy = require_wrappy(); - module.exports = wrappy(once); - module.exports.strict = wrappy(onceStrict); - once.proto = once(function() { - Object.defineProperty(Function.prototype, "once", { - value: function() { - return once(this); - }, - configurable: true - }); - Object.defineProperty(Function.prototype, "onceStrict", { - value: function() { - return onceStrict(this); - }, - configurable: true - }); - }); - function once(fn) { - var f = function() { - if (f.called) - return f.value; - f.called = true; - return f.value = fn.apply(this, arguments); - }; - f.called = false; - return f; - } - function onceStrict(fn) { - var f = function() { - if (f.called) - throw new Error(f.onceError); - f.called = true; - return f.value = fn.apply(this, arguments); - }; - var name = fn.name || "Function wrapped with `once`"; - f.onceError = name + " shouldn't be called more than once"; - f.called = false; - return f; - } + if (Array.isArray(object) || typeof object === "string") { + return object[index < 0 ? object.length + index : index]; } -}); + return object.at(index); +}; +var at_default = at; -// node_modules/inflight/inflight.js -var require_inflight = __commonJS({ - "node_modules/inflight/inflight.js"(exports, module) { - var wrappy = require_wrappy(); - var reqs = /* @__PURE__ */ Object.create(null); - var once = require_once(); - module.exports = wrappy(inflight); - function inflight(key, cb) { - if (reqs[key]) { - reqs[key].push(cb); - return null; - } else { - reqs[key] = [cb]; - return makeres(key); - } - } - function makeres(key) { - return once(function RES() { - var cbs = reqs[key]; - var len = cbs.length; - var args = slice(arguments); - try { - for (var i = 0; i < len; i++) { - cbs[i].apply(null, args); - } - } finally { - if (cbs.length > len) { - cbs.splice(0, len); - process.nextTick(function() { - RES.apply(null, args); - }); - } else { - delete reqs[key]; - } - } - }); - } - function slice(args) { - var length = args.length; - var array2 = []; - for (var i = 0; i < length; i++) - array2[i] = args[i]; - return array2; - } - } -}); +// src/cli/options/get-context-options.js +var import_dashify = __toESM(require_dashify(), 1); +import { getSupportInfo } from "../index.mjs"; -// node_modules/glob/glob.js -var require_glob = __commonJS({ - "node_modules/glob/glob.js"(exports, module) { - module.exports = glob; - var rp = require_fs(); - var minimatch = require_minimatch(); - var Minimatch = minimatch.Minimatch; - var inherits = require_inherits(); - var EE = __require("events").EventEmitter; - var path10 = __require("path"); - var assert = __require("assert"); - var isAbsolute = require_path_is_absolute(); - var globSync = require_sync(); - var common = require_common(); - var setopts = common.setopts; - var ownProp = common.ownProp; - var inflight = require_inflight(); - var util = __require("util"); - var childrenIgnored = common.childrenIgnored; - var isIgnored = common.isIgnored; - var once = require_once(); - function glob(pattern, options, cb) { - if (typeof options === "function") - cb = options, options = {}; - if (!options) - options = {}; - if (options.sync) { - if (cb) - throw new TypeError("callback provided to sync glob"); - return globSync(pattern, options); - } - return new Glob(pattern, options, cb); - } - glob.sync = globSync; - var GlobSync = glob.GlobSync = globSync.GlobSync; - glob.glob = glob; - function extend(origin, add) { - if (add === null || typeof add !== "object") { - return origin; - } - var keys = Object.keys(add); - var i = keys.length; - while (i--) { - origin[keys[i]] = add[keys[i]]; - } - return origin; - } - glob.hasMagic = function(pattern, options_) { - var options = extend({}, options_); - options.noprocess = true; - var g = new Glob(pattern, options); - var set = g.minimatch.set; - if (!pattern) - return false; - if (set.length > 1) - return true; - for (var j = 0; j < set[0].length; j++) { - if (typeof set[0][j] !== "string") - return true; - } - return false; - }; - glob.Glob = Glob; - inherits(Glob, EE); - function Glob(pattern, options, cb) { - if (typeof options === "function") { - cb = options; - options = null; - } - if (options && options.sync) { - if (cb) - throw new TypeError("callback provided to sync glob"); - return new GlobSync(pattern, options); - } - if (!(this instanceof Glob)) - return new Glob(pattern, options, cb); - setopts(this, pattern, options); - this._didRealPath = false; - var n = this.minimatch.set.length; - this.matches = new Array(n); - if (typeof cb === "function") { - cb = once(cb); - this.on("error", cb); - this.on("end", function(matches) { - cb(null, matches); - }); - } - var self = this; - this._processing = 0; - this._emitQueue = []; - this._processQueue = []; - this.paused = false; - if (this.noprocess) - return this; - if (n === 0) - return done(); - var sync = true; - for (var i = 0; i < n; i++) { - this._process(this.minimatch.set[i], i, false, done); - } - sync = false; - function done() { - --self._processing; - if (self._processing <= 0) { - if (sync) { - process.nextTick(function() { - self._finish(); - }); - } else { - self._finish(); - } - } - } - } - Glob.prototype._finish = function() { - assert(this instanceof Glob); - if (this.aborted) - return; - if (this.realpath && !this._didRealpath) - return this._realpath(); - common.finish(this); - this.emit("end", this.found); - }; - Glob.prototype._realpath = function() { - if (this._didRealpath) - return; - this._didRealpath = true; - var n = this.matches.length; - if (n === 0) - return this._finish(); - var self = this; - for (var i = 0; i < this.matches.length; i++) - this._realpathSet(i, next); - function next() { - if (--n === 0) - self._finish(); - } - }; - Glob.prototype._realpathSet = function(index, cb) { - var matchset = this.matches[index]; - if (!matchset) - return cb(); - var found = Object.keys(matchset); - var self = this; - var n = found.length; - if (n === 0) - return cb(); - var set = this.matches[index] = /* @__PURE__ */ Object.create(null); - found.forEach(function(p, i) { - p = self._makeAbs(p); - rp.realpath(p, self.realpathCache, function(er, real) { - if (!er) - set[real] = true; - else if (er.syscall === "stat") - set[p] = true; - else - self.emit("error", er); - if (--n === 0) { - self.matches[index] = set; - cb(); - } - }); - }); - }; - Glob.prototype._mark = function(p) { - return common.mark(this, p); - }; - Glob.prototype._makeAbs = function(f) { - return common.makeAbs(this, f); - }; - Glob.prototype.abort = function() { - this.aborted = true; - this.emit("abort"); - }; - Glob.prototype.pause = function() { - if (!this.paused) { - this.paused = true; - this.emit("pause"); - } - }; - Glob.prototype.resume = function() { - if (this.paused) { - this.emit("resume"); - this.paused = false; - if (this._emitQueue.length) { - var eq = this._emitQueue.slice(0); - this._emitQueue.length = 0; - for (var i = 0; i < eq.length; i++) { - var e = eq[i]; - this._emitMatch(e[0], e[1]); - } - } - if (this._processQueue.length) { - var pq = this._processQueue.slice(0); - this._processQueue.length = 0; - for (var i = 0; i < pq.length; i++) { - var p = pq[i]; - this._processing--; - this._process(p[0], p[1], p[2], p[3]); - } - } - } - }; - Glob.prototype._process = function(pattern, index, inGlobStar, cb) { - assert(this instanceof Glob); - assert(typeof cb === "function"); - if (this.aborted) - return; - this._processing++; - if (this.paused) { - this._processQueue.push([pattern, index, inGlobStar, cb]); - return; - } - var n = 0; - while (typeof pattern[n] === "string") { - n++; - } - var prefix; - switch (n) { - case pattern.length: - this._processSimple(pattern.join("/"), index, cb); - return; - case 0: - prefix = null; - break; - default: - prefix = pattern.slice(0, n).join("/"); - break; +// src/cli/cli-options.evaluate.js +var cli_options_evaluate_default = { + "cache": { + "default": false, + "description": "Only format changed files. Cannot use with --stdin-filepath.", + "type": "boolean" + }, + "cacheLocation": { + "description": "Path to the cache file.", + "type": "path" + }, + "cacheStrategy": { + "choices": [ + { + "description": "Use the file metadata such as timestamps as cache keys", + "value": "metadata" + }, + { + "description": "Use the file content as cache keys", + "value": "content" } - var remain = pattern.slice(n); - var read; - if (prefix === null) - read = "."; - else if (isAbsolute(prefix) || isAbsolute(pattern.map(function(p) { - return typeof p === "string" ? p : "[*]"; - }).join("/"))) { - if (!prefix || !isAbsolute(prefix)) - prefix = "/" + prefix; - read = prefix; - } else - read = prefix; - var abs = this._makeAbs(read); - if (childrenIgnored(this, read)) - return cb(); - var isGlobStar = remain[0] === minimatch.GLOBSTAR; - if (isGlobStar) - this._processGlobStar(prefix, read, abs, remain, index, inGlobStar, cb); - else - this._processReaddir(prefix, read, abs, remain, index, inGlobStar, cb); - }; - Glob.prototype._processReaddir = function(prefix, read, abs, remain, index, inGlobStar, cb) { - var self = this; - this._readdir(abs, inGlobStar, function(er, entries) { - return self._processReaddir2(prefix, read, abs, remain, index, inGlobStar, entries, cb); - }); - }; - Glob.prototype._processReaddir2 = function(prefix, read, abs, remain, index, inGlobStar, entries, cb) { - if (!entries) - return cb(); - var pn = remain[0]; - var negate = !!this.minimatch.negate; - var rawGlob = pn._glob; - var dotOk = this.dot || rawGlob.charAt(0) === "."; - var matchedEntries = []; - for (var i = 0; i < entries.length; i++) { - var e = entries[i]; - if (e.charAt(0) !== "." || dotOk) { - var m; - if (negate && !prefix) { - m = !e.match(pn); - } else { - m = e.match(pn); - } - if (m) - matchedEntries.push(e); - } + ], + "description": "Strategy for the cache to use for detecting changed files.", + "type": "choice" + }, + "check": { + "alias": "c", + "category": "Output", + "description": "Check if the given files are formatted, print a human-friendly summary\nmessage and paths to unformatted files (see also --list-different).", + "type": "boolean" + }, + "color": { + "default": true, + "description": "Colorize error messages.", + "oppositeDescription": "Do not colorize error messages.", + "type": "boolean" + }, + "config": { + "category": "Config", + "description": "Path to a Prettier configuration file (.prettierrc, package.json, prettier.config.js).", + "exception": (value) => value === false, + "oppositeDescription": "Do not look for a configuration file.", + "type": "path" + }, + "configPrecedence": { + "category": "Config", + "choices": [ + { + "description": "CLI options take precedence over config file", + "value": "cli-override" + }, + { + "description": "Config file take precedence over CLI options", + "value": "file-override" + }, + { + "description": "If a config file is found will evaluate it and ignore other CLI options.\nIf no config file is found CLI options will evaluate as normal.", + "value": "prefer-file" } - var len = matchedEntries.length; - if (len === 0) - return cb(); - if (remain.length === 1 && !this.mark && !this.stat) { - if (!this.matches[index]) - this.matches[index] = /* @__PURE__ */ Object.create(null); - for (var i = 0; i < len; i++) { - var e = matchedEntries[i]; - if (prefix) { - if (prefix !== "/") - e = prefix + "/" + e; - else - e = prefix + e; - } - if (e.charAt(0) === "/" && !this.nomount) { - e = path10.join(this.root, e); - } - this._emitMatch(index, e); - } - return cb(); - } - remain.shift(); - for (var i = 0; i < len; i++) { - var e = matchedEntries[i]; - var newPattern; - if (prefix) { - if (prefix !== "/") - e = prefix + "/" + e; - else - e = prefix + e; - } - this._process([e].concat(remain), index, inGlobStar, cb); - } - cb(); - }; - Glob.prototype._emitMatch = function(index, e) { - if (this.aborted) - return; - if (isIgnored(this, e)) - return; - if (this.paused) { - this._emitQueue.push([index, e]); - return; - } - var abs = isAbsolute(e) ? e : this._makeAbs(e); - if (this.mark) - e = this._mark(e); - if (this.absolute) - e = abs; - if (this.matches[index][e]) - return; - if (this.nodir) { - var c = this.cache[abs]; - if (c === "DIR" || Array.isArray(c)) - return; - } - this.matches[index][e] = true; - var st = this.statCache[abs]; - if (st) - this.emit("stat", e, st); - this.emit("match", e); - }; - Glob.prototype._readdirInGlobStar = function(abs, cb) { - if (this.aborted) - return; - if (this.follow) - return this._readdir(abs, false, cb); - var lstatkey = "lstat\0" + abs; - var self = this; - var lstatcb = inflight(lstatkey, lstatcb_); - if (lstatcb) - self.fs.lstat(abs, lstatcb); - function lstatcb_(er, lstat) { - if (er && er.code === "ENOENT") - return cb(); - var isSym = lstat && lstat.isSymbolicLink(); - self.symlinks[abs] = isSym; - if (!isSym && lstat && !lstat.isDirectory()) { - self.cache[abs] = "FILE"; - cb(); - } else - self._readdir(abs, false, cb); - } - }; - Glob.prototype._readdir = function(abs, inGlobStar, cb) { - if (this.aborted) - return; - cb = inflight("readdir\0" + abs + "\0" + inGlobStar, cb); - if (!cb) - return; - if (inGlobStar && !ownProp(this.symlinks, abs)) - return this._readdirInGlobStar(abs, cb); - if (ownProp(this.cache, abs)) { - var c = this.cache[abs]; - if (!c || c === "FILE") - return cb(); - if (Array.isArray(c)) - return cb(null, c); - } - var self = this; - self.fs.readdir(abs, readdirCb(this, abs, cb)); - }; - function readdirCb(self, abs, cb) { - return function(er, entries) { - if (er) - self._readdirError(abs, er, cb); - else - self._readdirEntries(abs, entries, cb); - }; - } - Glob.prototype._readdirEntries = function(abs, entries, cb) { - if (this.aborted) - return; - if (!this.mark && !this.stat) { - for (var i = 0; i < entries.length; i++) { - var e = entries[i]; - if (abs === "/") - e = abs + e; - else - e = abs + "/" + e; - this.cache[e] = true; - } - } - this.cache[abs] = entries; - return cb(null, entries); - }; - Glob.prototype._readdirError = function(f, er, cb) { - if (this.aborted) - return; - switch (er.code) { - case "ENOTSUP": - case "ENOTDIR": - var abs = this._makeAbs(f); - this.cache[abs] = "FILE"; - if (abs === this.cwdAbs) { - var error = new Error(er.code + " invalid cwd " + this.cwd); - error.path = this.cwd; - error.code = er.code; - this.emit("error", error); - this.abort(); - } - break; - case "ENOENT": - case "ELOOP": - case "ENAMETOOLONG": - case "UNKNOWN": - this.cache[this._makeAbs(f)] = false; - break; - default: - this.cache[this._makeAbs(f)] = false; - if (this.strict) { - this.emit("error", er); - this.abort(); - } - if (!this.silent) - console.error("glob error", er); - break; - } - return cb(); - }; - Glob.prototype._processGlobStar = function(prefix, read, abs, remain, index, inGlobStar, cb) { - var self = this; - this._readdir(abs, inGlobStar, function(er, entries) { - self._processGlobStar2(prefix, read, abs, remain, index, inGlobStar, entries, cb); - }); - }; - Glob.prototype._processGlobStar2 = function(prefix, read, abs, remain, index, inGlobStar, entries, cb) { - if (!entries) - return cb(); - var remainWithoutGlobStar = remain.slice(1); - var gspref = prefix ? [prefix] : []; - var noGlobStar = gspref.concat(remainWithoutGlobStar); - this._process(noGlobStar, index, false, cb); - var isSym = this.symlinks[abs]; - var len = entries.length; - if (isSym && inGlobStar) - return cb(); - for (var i = 0; i < len; i++) { - var e = entries[i]; - if (e.charAt(0) === "." && !this.dot) - continue; - var instead = gspref.concat(entries[i], remainWithoutGlobStar); - this._process(instead, index, true, cb); - var below = gspref.concat(entries[i], remain); - this._process(below, index, true, cb); - } - cb(); - }; - Glob.prototype._processSimple = function(prefix, index, cb) { - var self = this; - this._stat(prefix, function(er, exists) { - self._processSimple2(prefix, index, er, exists, cb); - }); - }; - Glob.prototype._processSimple2 = function(prefix, index, er, exists, cb) { - if (!this.matches[index]) - this.matches[index] = /* @__PURE__ */ Object.create(null); - if (!exists) - return cb(); - if (prefix && isAbsolute(prefix) && !this.nomount) { - var trail = /[\/\\]$/.test(prefix); - if (prefix.charAt(0) === "/") { - prefix = path10.join(this.root, prefix); - } else { - prefix = path10.resolve(this.root, prefix); - if (trail) - prefix += "/"; - } - } - if (process.platform === "win32") - prefix = prefix.replace(/\\/g, "/"); - this._emitMatch(index, prefix); - cb(); - }; - Glob.prototype._stat = function(f, cb) { - var abs = this._makeAbs(f); - var needDir = f.slice(-1) === "/"; - if (f.length > this.maxLength) - return cb(); - if (!this.stat && ownProp(this.cache, abs)) { - var c = this.cache[abs]; - if (Array.isArray(c)) - c = "DIR"; - if (!needDir || c === "DIR") - return cb(null, c); - if (needDir && c === "FILE") - return cb(); - } - var exists; - var stat = this.statCache[abs]; - if (stat !== void 0) { - if (stat === false) - return cb(null, stat); - else { - var type = stat.isDirectory() ? "DIR" : "FILE"; - if (needDir && type === "FILE") - return cb(); - else - return cb(null, type, stat); - } - } - var self = this; - var statcb = inflight("stat\0" + abs, lstatcb_); - if (statcb) - self.fs.lstat(abs, statcb); - function lstatcb_(er, lstat) { - if (lstat && lstat.isSymbolicLink()) { - return self.fs.stat(abs, function(er2, stat2) { - if (er2) - self._stat2(f, abs, null, lstat, cb); - else - self._stat2(f, abs, er2, stat2, cb); - }); - } else { - self._stat2(f, abs, er, lstat, cb); - } - } - }; - Glob.prototype._stat2 = function(f, abs, er, stat, cb) { - if (er && (er.code === "ENOENT" || er.code === "ENOTDIR")) { - this.statCache[abs] = false; - return cb(); - } - var needDir = f.slice(-1) === "/"; - this.statCache[abs] = stat; - if (abs.slice(-1) === "/" && stat && !stat.isDirectory()) - return cb(null, false, stat); - var c = true; - if (stat) - c = stat.isDirectory() ? "DIR" : "FILE"; - this.cache[abs] = this.cache[abs] || c; - if (needDir && c === "FILE") - return cb(); - return cb(null, c, stat); - }; - } -}); - -// node_modules/rimraf/rimraf.js -var require_rimraf = __commonJS({ - "node_modules/rimraf/rimraf.js"(exports, module) { - var assert = __require("assert"); - var path10 = __require("path"); - var fs6 = __require("fs"); - var glob = void 0; - try { - glob = require_glob(); - } catch (_err) { - } - var defaultGlobOpts = { - nosort: true, - silent: true - }; - var timeout = 0; - var isWindows = process.platform === "win32"; - var defaults = (options) => { - const methods = [ - "unlink", - "chmod", - "stat", - "lstat", - "rmdir", - "readdir" - ]; - methods.forEach((m) => { - options[m] = options[m] || fs6[m]; - m = m + "Sync"; - options[m] = options[m] || fs6[m]; - }); - options.maxBusyTries = options.maxBusyTries || 3; - options.emfileWait = options.emfileWait || 1e3; - if (options.glob === false) { - options.disableGlob = true; - } - if (options.disableGlob !== true && glob === void 0) { - throw Error("glob dependency not found, set `options.disableGlob = true` if intentional"); - } - options.disableGlob = options.disableGlob || false; - options.glob = options.glob || defaultGlobOpts; - }; - var rimraf = (p, options, cb) => { - if (typeof options === "function") { - cb = options; - options = {}; - } - assert(p, "rimraf: missing path"); - assert.equal(typeof p, "string", "rimraf: path should be a string"); - assert.equal(typeof cb, "function", "rimraf: callback function required"); - assert(options, "rimraf: invalid options argument provided"); - assert.equal(typeof options, "object", "rimraf: options should be object"); - defaults(options); - let busyTries = 0; - let errState = null; - let n = 0; - const next = (er) => { - errState = errState || er; - if (--n === 0) - cb(errState); - }; - const afterGlob = (er, results) => { - if (er) - return cb(er); - n = results.length; - if (n === 0) - return cb(); - results.forEach((p2) => { - const CB = (er2) => { - if (er2) { - if ((er2.code === "EBUSY" || er2.code === "ENOTEMPTY" || er2.code === "EPERM") && busyTries < options.maxBusyTries) { - busyTries++; - return setTimeout(() => rimraf_(p2, options, CB), busyTries * 100); - } - if (er2.code === "EMFILE" && timeout < options.emfileWait) { - return setTimeout(() => rimraf_(p2, options, CB), timeout++); - } - if (er2.code === "ENOENT") - er2 = null; - } - timeout = 0; - next(er2); - }; - rimraf_(p2, options, CB); - }); - }; - if (options.disableGlob || !glob.hasMagic(p)) - return afterGlob(null, [p]); - options.lstat(p, (er, stat) => { - if (!er) - return afterGlob(null, [p]); - glob(p, options.glob, afterGlob); - }); - }; - var rimraf_ = (p, options, cb) => { - assert(p); - assert(options); - assert(typeof cb === "function"); - options.lstat(p, (er, st) => { - if (er && er.code === "ENOENT") - return cb(null); - if (er && er.code === "EPERM" && isWindows) - fixWinEPERM(p, options, er, cb); - if (st && st.isDirectory()) - return rmdir(p, options, er, cb); - options.unlink(p, (er2) => { - if (er2) { - if (er2.code === "ENOENT") - return cb(null); - if (er2.code === "EPERM") - return isWindows ? fixWinEPERM(p, options, er2, cb) : rmdir(p, options, er2, cb); - if (er2.code === "EISDIR") - return rmdir(p, options, er2, cb); - } - return cb(er2); - }); - }); - }; - var fixWinEPERM = (p, options, er, cb) => { - assert(p); - assert(options); - assert(typeof cb === "function"); - options.chmod(p, 438, (er2) => { - if (er2) - cb(er2.code === "ENOENT" ? null : er); - else - options.stat(p, (er3, stats) => { - if (er3) - cb(er3.code === "ENOENT" ? null : er); - else if (stats.isDirectory()) - rmdir(p, options, er, cb); - else - options.unlink(p, cb); - }); - }); - }; - var fixWinEPERMSync = (p, options, er) => { - assert(p); - assert(options); - try { - options.chmodSync(p, 438); - } catch (er2) { - if (er2.code === "ENOENT") - return; - else - throw er; - } - let stats; - try { - stats = options.statSync(p); - } catch (er3) { - if (er3.code === "ENOENT") - return; - else - throw er; - } - if (stats.isDirectory()) - rmdirSync(p, options, er); - else - options.unlinkSync(p); - }; - var rmdir = (p, options, originalEr, cb) => { - assert(p); - assert(options); - assert(typeof cb === "function"); - options.rmdir(p, (er) => { - if (er && (er.code === "ENOTEMPTY" || er.code === "EEXIST" || er.code === "EPERM")) - rmkids(p, options, cb); - else if (er && er.code === "ENOTDIR") - cb(originalEr); - else - cb(er); - }); - }; - var rmkids = (p, options, cb) => { - assert(p); - assert(options); - assert(typeof cb === "function"); - options.readdir(p, (er, files) => { - if (er) - return cb(er); - let n = files.length; - if (n === 0) - return options.rmdir(p, cb); - let errState; - files.forEach((f) => { - rimraf(path10.join(p, f), options, (er2) => { - if (errState) - return; - if (er2) - return cb(errState = er2); - if (--n === 0) - options.rmdir(p, cb); - }); - }); - }); - }; - var rimrafSync = (p, options) => { - options = options || {}; - defaults(options); - assert(p, "rimraf: missing path"); - assert.equal(typeof p, "string", "rimraf: path should be a string"); - assert(options, "rimraf: missing options"); - assert.equal(typeof options, "object", "rimraf: options should be object"); - let results; - if (options.disableGlob || !glob.hasMagic(p)) { - results = [p]; - } else { - try { - options.lstatSync(p); - results = [p]; - } catch (er) { - results = glob.sync(p, options.glob); - } - } - if (!results.length) - return; - for (let i = 0; i < results.length; i++) { - const p2 = results[i]; - let st; - try { - st = options.lstatSync(p2); - } catch (er) { - if (er.code === "ENOENT") - return; - if (er.code === "EPERM" && isWindows) - fixWinEPERMSync(p2, options, er); - } - try { - if (st && st.isDirectory()) - rmdirSync(p2, options, null); - else - options.unlinkSync(p2); - } catch (er) { - if (er.code === "ENOENT") - return; - if (er.code === "EPERM") - return isWindows ? fixWinEPERMSync(p2, options, er) : rmdirSync(p2, options, er); - if (er.code !== "EISDIR") - throw er; - rmdirSync(p2, options, er); - } - } - }; - var rmdirSync = (p, options, originalEr) => { - assert(p); - assert(options); - try { - options.rmdirSync(p); - } catch (er) { - if (er.code === "ENOENT") - return; - if (er.code === "ENOTDIR") - throw originalEr; - if (er.code === "ENOTEMPTY" || er.code === "EEXIST" || er.code === "EPERM") - rmkidsSync(p, options); - } - }; - var rmkidsSync = (p, options) => { - assert(p); - assert(options); - options.readdirSync(p).forEach((f) => rimrafSync(path10.join(p, f), options)); - const retries = isWindows ? 100 : 1; - let i = 0; - do { - let threw = true; - try { - const ret = options.rmdirSync(p, options); - threw = false; - return ret; - } finally { - if (++i < retries && threw) - continue; - } - } while (true); - }; - module.exports = rimraf; - rimraf.sync = rimrafSync; - } -}); - -// node_modules/flat-cache/src/del.js -var require_del = __commonJS({ - "node_modules/flat-cache/src/del.js"(exports, module) { - var rimraf = require_rimraf().sync; - var fs6 = __require("fs"); - module.exports = function del(file) { - if (fs6.existsSync(file)) { - rimraf(file, { - glob: false - }); - return true; - } - return false; - }; - } -}); - -// node_modules/flat-cache/src/cache.js -var require_cache = __commonJS({ - "node_modules/flat-cache/src/cache.js"(exports, module) { - var path10 = __require("path"); - var fs6 = __require("fs"); - var utils = require_utils(); - var del = require_del(); - var writeJSON = utils.writeJSON; - var cache = { - /** - * Load a cache identified by the given Id. If the element does not exists, then initialize an empty - * cache storage. If specified `cacheDir` will be used as the directory to persist the data to. If omitted - * then the cache module directory `./cache` will be used instead - * - * @method load - * @param docId {String} the id of the cache, would also be used as the name of the file cache - * @param [cacheDir] {String} directory for the cache entry - */ - load: function(docId, cacheDir) { - var me = this; - me._visited = {}; - me._persisted = {}; - me._pathToFile = cacheDir ? path10.resolve(cacheDir, docId) : path10.resolve(__dirname, "../.cache/", docId); - if (fs6.existsSync(me._pathToFile)) { - me._persisted = utils.tryParse(me._pathToFile, {}); - } - }, - /** - * Load the cache from the provided file - * @method loadFile - * @param {String} pathToFile the path to the file containing the info for the cache - */ - loadFile: function(pathToFile) { - var me = this; - var dir = path10.dirname(pathToFile); - var fName = path10.basename(pathToFile); - me.load(fName, dir); - }, - /** - * Returns the entire persisted object - * @method all - * @returns {*} - */ - all: function() { - return this._persisted; - }, - keys: function() { - return Object.keys(this._persisted); - }, - /** - * sets a key to a given value - * @method setKey - * @param key {string} the key to set - * @param value {object} the value of the key. Could be any object that can be serialized with JSON.stringify - */ - setKey: function(key, value) { - this._visited[key] = true; - this._persisted[key] = value; - }, - /** - * remove a given key from the cache - * @method removeKey - * @param key {String} the key to remove from the object - */ - removeKey: function(key) { - delete this._visited[key]; - delete this._persisted[key]; - }, - /** - * Return the value of the provided key - * @method getKey - * @param key {String} the name of the key to retrieve - * @returns {*} the value from the key - */ - getKey: function(key) { - this._visited[key] = true; - return this._persisted[key]; - }, - /** - * Remove keys that were not accessed/set since the - * last time the `prune` method was called. - * @method _prune - * @private - */ - _prune: function() { - var me = this; - var obj = {}; - var keys = Object.keys(me._visited); - if (keys.length === 0) { - return; - } - keys.forEach(function(key) { - obj[key] = me._persisted[key]; - }); - me._visited = {}; - me._persisted = obj; - }, - /** - * Save the state of the cache identified by the docId to disk - * as a JSON structure - * @param [noPrune=false] {Boolean} whether to remove from cache the non visited files - * @method save - */ - save: function(noPrune) { - var me = this; - !noPrune && me._prune(); - writeJSON(me._pathToFile, me._persisted); - }, - /** - * remove the file where the cache is persisted - * @method removeCacheFile - * @return {Boolean} true or false if the file was successfully deleted - */ - removeCacheFile: function() { - return del(this._pathToFile); - }, - /** - * Destroy the file cache and cache content. - * @method destroy - */ - destroy: function() { - var me = this; - me._visited = {}; - me._persisted = {}; - me.removeCacheFile(); - } - }; - module.exports = { - /** - * Alias for create. Should be considered depreacted. Will be removed in next releases - * - * @method load - * @param docId {String} the id of the cache, would also be used as the name of the file cache - * @param [cacheDir] {String} directory for the cache entry - * @returns {cache} cache instance - */ - load: function(docId, cacheDir) { - return this.create(docId, cacheDir); - }, - /** - * Load a cache identified by the given Id. If the element does not exists, then initialize an empty - * cache storage. - * - * @method create - * @param docId {String} the id of the cache, would also be used as the name of the file cache - * @param [cacheDir] {String} directory for the cache entry - * @returns {cache} cache instance - */ - create: function(docId, cacheDir) { - var obj = Object.create(cache); - obj.load(docId, cacheDir); - return obj; - }, - createFromFile: function(filePath) { - var obj = Object.create(cache); - obj.loadFile(filePath); - return obj; - }, - /** - * Clear the cache identified by the given id. Caches stored in a different cache directory can be deleted directly - * - * @method clearCache - * @param docId {String} the id of the cache, would also be used as the name of the file cache - * @param cacheDir {String} the directory where the cache file was written - * @returns {Boolean} true if the cache folder was deleted. False otherwise - */ - clearCacheById: function(docId, cacheDir) { - var filePath = cacheDir ? path10.resolve(cacheDir, docId) : path10.resolve(__dirname, "../.cache/", docId); - return del(filePath); - }, - /** - * Remove all cache stored in the cache directory - * @method clearAll - * @returns {Boolean} true if the cache folder was deleted. False otherwise - */ - clearAll: function(cacheDir) { - var filePath = cacheDir ? path10.resolve(cacheDir) : path10.resolve(__dirname, "../.cache/"); - return del(filePath); - } - }; - } -}); - -// node_modules/file-entry-cache/cache.js -var require_cache2 = __commonJS({ - "node_modules/file-entry-cache/cache.js"(exports, module) { - var path10 = __require("path"); - var crypto = __require("crypto"); - module.exports = { - createFromFile: function(filePath, useChecksum) { - var fname = path10.basename(filePath); - var dir = path10.dirname(filePath); - return this.create(fname, dir, useChecksum); - }, - create: function(cacheId, _path, useChecksum) { - var fs6 = __require("fs"); - var flatCache = require_cache(); - var cache = flatCache.load(cacheId, _path); - var normalizedEntries = {}; - var removeNotFoundFiles = function removeNotFoundFiles2() { - const cachedEntries = cache.keys(); - cachedEntries.forEach(function remover(fPath) { - try { - fs6.statSync(fPath); - } catch (err) { - if (err.code === "ENOENT") { - cache.removeKey(fPath); - } - } - }); - }; - removeNotFoundFiles(); - return { - /** - * the flat cache storage used to persist the metadata of the `files - * @type {Object} - */ - cache, - /** - * Given a buffer, calculate md5 hash of its content. - * @method getHash - * @param {Buffer} buffer buffer to calculate hash on - * @return {String} content hash digest - */ - getHash: function(buffer) { - return crypto.createHash("md5").update(buffer).digest("hex"); - }, - /** - * Return whether or not a file has changed since last time reconcile was called. - * @method hasFileChanged - * @param {String} file the filepath to check - * @return {Boolean} wheter or not the file has changed - */ - hasFileChanged: function(file) { - return this.getFileDescriptor(file).changed; - }, - /** - * given an array of file paths it return and object with three arrays: - * - changedFiles: Files that changed since previous run - * - notChangedFiles: Files that haven't change - * - notFoundFiles: Files that were not found, probably deleted - * - * @param {Array} files the files to analyze and compare to the previous seen files - * @return {[type]} [description] - */ - analyzeFiles: function(files) { - var me = this; - files = files || []; - var res = { - changedFiles: [], - notFoundFiles: [], - notChangedFiles: [] - }; - me.normalizeEntries(files).forEach(function(entry) { - if (entry.changed) { - res.changedFiles.push(entry.key); - return; - } - if (entry.notFound) { - res.notFoundFiles.push(entry.key); - return; - } - res.notChangedFiles.push(entry.key); - }); - return res; - }, - getFileDescriptor: function(file) { - var fstat; - try { - fstat = fs6.statSync(file); - } catch (ex) { - this.removeEntry(file); - return { key: file, notFound: true, err: ex }; - } - if (useChecksum) { - return this._getFileDescriptorUsingChecksum(file); - } - return this._getFileDescriptorUsingMtimeAndSize(file, fstat); - }, - _getFileDescriptorUsingMtimeAndSize: function(file, fstat) { - var meta = cache.getKey(file); - var cacheExists = !!meta; - var cSize = fstat.size; - var cTime = fstat.mtime.getTime(); - var isDifferentDate; - var isDifferentSize; - if (!meta) { - meta = { size: cSize, mtime: cTime }; - } else { - isDifferentDate = cTime !== meta.mtime; - isDifferentSize = cSize !== meta.size; - } - var nEntry = normalizedEntries[file] = { - key: file, - changed: !cacheExists || isDifferentDate || isDifferentSize, - meta - }; - return nEntry; - }, - _getFileDescriptorUsingChecksum: function(file) { - var meta = cache.getKey(file); - var cacheExists = !!meta; - var contentBuffer; - try { - contentBuffer = fs6.readFileSync(file); - } catch (ex) { - contentBuffer = ""; - } - var isDifferent = true; - var hash = this.getHash(contentBuffer); - if (!meta) { - meta = { hash }; - } else { - isDifferent = hash !== meta.hash; - } - var nEntry = normalizedEntries[file] = { - key: file, - changed: !cacheExists || isDifferent, - meta - }; - return nEntry; - }, - /** - * Return the list o the files that changed compared - * against the ones stored in the cache - * - * @method getUpdated - * @param files {Array} the array of files to compare against the ones in the cache - * @returns {Array} - */ - getUpdatedFiles: function(files) { - var me = this; - files = files || []; - return me.normalizeEntries(files).filter(function(entry) { - return entry.changed; - }).map(function(entry) { - return entry.key; - }); - }, - /** - * return the list of files - * @method normalizeEntries - * @param files - * @returns {*} - */ - normalizeEntries: function(files) { - files = files || []; - var me = this; - var nEntries = files.map(function(file) { - return me.getFileDescriptor(file); - }); - return nEntries; - }, - /** - * Remove an entry from the file-entry-cache. Useful to force the file to still be considered - * modified the next time the process is run - * - * @method removeEntry - * @param entryName - */ - removeEntry: function(entryName) { - delete normalizedEntries[entryName]; - cache.removeKey(entryName); - }, - /** - * Delete the cache file from the disk - * @method deleteCacheFile - */ - deleteCacheFile: function() { - cache.removeCacheFile(); - }, - /** - * remove the cache from the file and clear the memory cache - */ - destroy: function() { - normalizedEntries = {}; - cache.destroy(); - }, - _getMetaForFileUsingCheckSum: function(cacheEntry) { - var contentBuffer = fs6.readFileSync(cacheEntry.key); - var hash = this.getHash(contentBuffer); - var meta = Object.assign(cacheEntry.meta, { hash }); - delete meta.size; - delete meta.mtime; - return meta; - }, - _getMetaForFileUsingMtimeAndSize: function(cacheEntry) { - var stat = fs6.statSync(cacheEntry.key); - var meta = Object.assign(cacheEntry.meta, { - size: stat.size, - mtime: stat.mtime.getTime() - }); - delete meta.hash; - return meta; - }, - /** - * Sync the files and persist them to the cache - * @method reconcile - */ - reconcile: function(noPrune) { - removeNotFoundFiles(); - noPrune = typeof noPrune === "undefined" ? true : noPrune; - var entries = normalizedEntries; - var keys = Object.keys(entries); - if (keys.length === 0) { - return; - } - var me = this; - keys.forEach(function(entryName) { - var cacheEntry = entries[entryName]; - try { - var meta = useChecksum ? me._getMetaForFileUsingCheckSum(cacheEntry) : me._getMetaForFileUsingMtimeAndSize(cacheEntry); - cache.setKey(entryName, meta); - } catch (err) { - if (err.code !== "ENOENT") { - throw err; - } - } - }); - cache.save(noPrune); - } - }; - } - }; - } -}); - -// node_modules/fast-json-stable-stringify/index.js -var require_fast_json_stable_stringify = __commonJS({ - "node_modules/fast-json-stable-stringify/index.js"(exports, module) { - "use strict"; - module.exports = function(data, opts) { - if (!opts) - opts = {}; - if (typeof opts === "function") - opts = { cmp: opts }; - var cycles = typeof opts.cycles === "boolean" ? opts.cycles : false; - var cmp = opts.cmp && function(f) { - return function(node) { - return function(a, b) { - var aobj = { key: a, value: node[a] }; - var bobj = { key: b, value: node[b] }; - return f(aobj, bobj); - }; - }; - }(opts.cmp); - var seen = []; - return function stringify4(node) { - if (node && node.toJSON && typeof node.toJSON === "function") { - node = node.toJSON(); - } - if (node === void 0) - return; - if (typeof node == "number") - return isFinite(node) ? "" + node : "null"; - if (typeof node !== "object") - return JSON.stringify(node); - var i, out; - if (Array.isArray(node)) { - out = "["; - for (i = 0; i < node.length; i++) { - if (i) - out += ","; - out += stringify4(node[i]) || "null"; - } - return out + "]"; - } - if (node === null) - return "null"; - if (seen.indexOf(node) !== -1) { - if (cycles) - return JSON.stringify("__cycle__"); - throw new TypeError("Converting circular structure to JSON"); - } - var seenIndex = seen.push(node) - 1; - var keys = Object.keys(node).sort(cmp && cmp(node)); - out = ""; - for (i = 0; i < keys.length; i++) { - var key = keys[i]; - var value = stringify4(node[key]); - if (!value) - continue; - if (out) - out += ","; - out += JSON.stringify(key) + ":" + value; - } - seen.splice(seenIndex, 1); - return "{" + out + "}"; - }(data); - }; - } -}); - -// src/cli/index.js -import * as prettier2 from "../index.mjs"; - -// scripts/build/shims/string-replace-all.js -var stringReplaceAll = (isOptionalObject, original, pattern, replacement) => { - if (isOptionalObject && (original === void 0 || original === null)) { - return; - } - if (original.replaceAll) { - return original.replaceAll(pattern, replacement); - } - if (pattern.global) { - return original.replace(pattern, replacement); - } - return original.split(pattern).join(replacement); -}; -var string_replace_all_default = stringReplaceAll; - -// src/cli/logger.js -import readline from "readline"; - -// node_modules/chalk/source/vendor/ansi-styles/index.js -var ANSI_BACKGROUND_OFFSET = 10; -var wrapAnsi16 = (offset = 0) => (code) => `\x1B[${code + offset}m`; -var wrapAnsi256 = (offset = 0) => (code) => `\x1B[${38 + offset};5;${code}m`; -var wrapAnsi16m = (offset = 0) => (red, green, blue) => `\x1B[${38 + offset};2;${red};${green};${blue}m`; -var styles = { - modifier: { - reset: [0, 0], - // 21 isn't widely supported and 22 does the same thing - bold: [1, 22], - dim: [2, 22], - italic: [3, 23], - underline: [4, 24], - overline: [53, 55], - inverse: [7, 27], - hidden: [8, 28], - strikethrough: [9, 29] + ], + "default": "cli-override", + "description": "Define in which order config files and CLI options should be evaluated.", + "type": "choice" + }, + "debugBenchmark": { + "type": "boolean" + }, + "debugCheck": { + "type": "boolean" + }, + "debugPrintAst": { + "type": "boolean" + }, + "debugPrintComments": { + "type": "boolean" + }, + "debugPrintDoc": { + "type": "boolean" + }, + "debugRepeat": { + "default": 0, + "type": "int" + }, + "editorconfig": { + "category": "Config", + "default": true, + "description": "Take .editorconfig into account when parsing configuration.", + "oppositeDescription": "Don't take .editorconfig into account when parsing configuration.", + "type": "boolean" + }, + "errorOnUnmatchedPattern": { + "oppositeDescription": "Prevent errors when pattern is unmatched.", + "type": "boolean" + }, + "fileInfo": { + "description": "Extract the following info (as JSON) for a given file path. Reported fields:\n* ignored (boolean) - true if file path is filtered by --ignore-path\n* inferredParser (string | null) - name of parser inferred from file path", + "type": "path" }, - color: { - black: [30, 39], - red: [31, 39], - green: [32, 39], - yellow: [33, 39], - blue: [34, 39], - magenta: [35, 39], - cyan: [36, 39], - white: [37, 39], - // Bright color - blackBright: [90, 39], - gray: [90, 39], - // Alias of `blackBright` - grey: [90, 39], - // Alias of `blackBright` - redBright: [91, 39], - greenBright: [92, 39], - yellowBright: [93, 39], - blueBright: [94, 39], - magentaBright: [95, 39], - cyanBright: [96, 39], - whiteBright: [97, 39] + "findConfigPath": { + "category": "Config", + "description": "Find and print the path to a configuration file for the given input file.", + "type": "path" }, - bgColor: { - bgBlack: [40, 49], - bgRed: [41, 49], - bgGreen: [42, 49], - bgYellow: [43, 49], - bgBlue: [44, 49], - bgMagenta: [45, 49], - bgCyan: [46, 49], - bgWhite: [47, 49], - // Bright color - bgBlackBright: [100, 49], - bgGray: [100, 49], - // Alias of `bgBlackBright` - bgGrey: [100, 49], - // Alias of `bgBlackBright` - bgRedBright: [101, 49], - bgGreenBright: [102, 49], - bgYellowBright: [103, 49], - bgBlueBright: [104, 49], - bgMagentaBright: [105, 49], - bgCyanBright: [106, 49], - bgWhiteBright: [107, 49] + "help": { + "alias": "h", + "description": "Show CLI usage, or details about the given flag.\nExample: --help write", + "exception": (value) => value === "", + "type": "flag" + }, + "ignorePath": { + "array": true, + "category": "Config", + "default": [ + { + "value": [ + ".gitignore", + ".prettierignore" + ] + } + ], + "description": "Path to a file with patterns describing files to ignore.\nMultiple values are accepted.", + "type": "path" + }, + "ignoreUnknown": { + "alias": "u", + "description": "Ignore unknown files.", + "type": "boolean" + }, + "listDifferent": { + "alias": "l", + "category": "Output", + "description": "Print the names of files that are different from Prettier's formatting (see also --check).", + "type": "boolean" + }, + "logLevel": { + "choices": [ + "silent", + "error", + "warn", + "log", + "debug" + ], + "default": "log", + "description": "What level of logs to report.", + "type": "choice" + }, + "supportInfo": { + "description": "Print support information as JSON.", + "type": "boolean" + }, + "version": { + "alias": "v", + "description": "Print Prettier version.", + "type": "boolean" + }, + "withNodeModules": { + "category": "Config", + "description": "Process files inside 'node_modules' directory.", + "type": "boolean" + }, + "write": { + "alias": "w", + "category": "Output", + "description": "Edit files in-place. (Beware!)", + "type": "boolean" } }; -var modifierNames = Object.keys(styles.modifier); -var foregroundColorNames = Object.keys(styles.color); -var backgroundColorNames = Object.keys(styles.bgColor); -var colorNames = [...foregroundColorNames, ...backgroundColorNames]; -function assembleStyles() { - const codes = /* @__PURE__ */ new Map(); - for (const [groupName, group] of Object.entries(styles)) { - for (const [styleName, style] of Object.entries(group)) { - styles[styleName] = { - open: `\x1B[${style[0]}m`, - close: `\x1B[${style[1]}m` - }; - group[styleName] = styles[styleName]; - codes.set(style[0], style[1]); - } - Object.defineProperty(styles, groupName, { - value: group, - enumerable: false - }); - } - Object.defineProperty(styles, "codes", { - value: codes, - enumerable: false - }); - styles.color.close = "\x1B[39m"; - styles.bgColor.close = "\x1B[49m"; - styles.color.ansi = wrapAnsi16(); - styles.color.ansi256 = wrapAnsi256(); - styles.color.ansi16m = wrapAnsi16m(); - styles.bgColor.ansi = wrapAnsi16(ANSI_BACKGROUND_OFFSET); - styles.bgColor.ansi256 = wrapAnsi256(ANSI_BACKGROUND_OFFSET); - styles.bgColor.ansi16m = wrapAnsi16m(ANSI_BACKGROUND_OFFSET); - Object.defineProperties(styles, { - rgbToAnsi256: { - value(red, green, blue) { - if (red === green && green === blue) { - if (red < 8) { - return 16; - } - if (red > 248) { - return 231; - } - return Math.round((red - 8) / 247 * 24) + 232; - } - return 16 + 36 * Math.round(red / 255 * 5) + 6 * Math.round(green / 255 * 5) + Math.round(blue / 255 * 5); - }, - enumerable: false - }, - hexToRgb: { - value(hex) { - const matches = /[a-f\d]{6}|[a-f\d]{3}/i.exec(hex.toString(16)); - if (!matches) { - return [0, 0, 0]; - } - let [colorString] = matches; - if (colorString.length === 3) { - colorString = [...colorString].map((character) => character + character).join(""); - } - const integer = Number.parseInt(colorString, 16); - return [ - /* eslint-disable no-bitwise */ - integer >> 16 & 255, - integer >> 8 & 255, - integer & 255 - /* eslint-enable no-bitwise */ - ]; - }, - enumerable: false - }, - hexToAnsi256: { - value: (hex) => styles.rgbToAnsi256(...styles.hexToRgb(hex)), - enumerable: false - }, - ansi256ToAnsi: { - value(code) { - if (code < 8) { - return 30 + code; - } - if (code < 16) { - return 90 + (code - 8); - } - let red; - let green; - let blue; - if (code >= 232) { - red = ((code - 232) * 10 + 8) / 255; - green = red; - blue = red; - } else { - code -= 16; - const remainder = code % 36; - red = Math.floor(code / 36) / 5; - green = Math.floor(remainder / 6) / 5; - blue = remainder % 6 / 5; - } - const value = Math.max(red, green, blue) * 2; - if (value === 0) { - return 30; - } - let result = 30 + (Math.round(blue) << 2 | Math.round(green) << 1 | Math.round(red)); - if (value === 2) { - result += 60; - } - return result; - }, - enumerable: false - }, - rgbToAnsi: { - value: (red, green, blue) => styles.ansi256ToAnsi(styles.rgbToAnsi256(red, green, blue)), - enumerable: false - }, - hexToAnsi: { - value: (hex) => styles.ansi256ToAnsi(styles.hexToAnsi256(hex)), - enumerable: false - } - }); - return styles; -} -var ansiStyles = assembleStyles(); -var ansi_styles_default = ansiStyles; -// node_modules/chalk/source/vendor/supports-color/index.js -import process2 from "process"; -import os from "os"; -import tty from "tty"; -function hasFlag(flag, argv = globalThis.Deno ? globalThis.Deno.args : process2.argv) { - const prefix = flag.startsWith("-") ? "" : flag.length === 1 ? "-" : "--"; - const position = argv.indexOf(prefix + flag); - const terminatorPosition = argv.indexOf("--"); - return position !== -1 && (terminatorPosition === -1 || position < terminatorPosition); -} -var { env } = process2; -var flagForceColor; -if (hasFlag("no-color") || hasFlag("no-colors") || hasFlag("color=false") || hasFlag("color=never")) { - flagForceColor = 0; -} else if (hasFlag("color") || hasFlag("colors") || hasFlag("color=true") || hasFlag("color=always")) { - flagForceColor = 1; -} -function envForceColor() { - if ("FORCE_COLOR" in env) { - if (env.FORCE_COLOR === "true") { - return 1; - } - if (env.FORCE_COLOR === "false") { - return 0; - } - return env.FORCE_COLOR.length === 0 ? 1 : Math.min(Number.parseInt(env.FORCE_COLOR, 10), 3); +// src/cli/prettier-internal.js +import { __internal as sharedWithCli } from "../index.mjs"; +var { + errors, + optionCategories, + createIsIgnoredFunction, + formatOptionsHiddenDefaults, + normalizeOptions, + getSupportInfoWithoutPlugins, + normalizeOptionSettings, + vnopts, + fastGlob, + createTwoFilesPatch, + mockable +} = sharedWithCli; + +// src/cli/options/get-context-options.js +var detailedCliOptions = normalizeOptionSettings(cli_options_evaluate_default).map( + (option) => normalizeDetailedOption(option) +); +function apiOptionToCliOption(apiOption) { + const cliOption = { + ...apiOption, + description: apiOption.cliDescription ?? apiOption.description, + category: apiOption.cliCategory ?? optionCategories.CATEGORY_FORMAT, + forwardToApi: apiOption.name + }; + if (apiOption.deprecated) { + delete cliOption.forwardToApi; + delete cliOption.description; + delete cliOption.oppositeDescription; + cliOption.deprecated = true; } + return normalizeDetailedOption(cliOption); } -function translateLevel(level) { - if (level === 0) { - return false; - } +function normalizeDetailedOption(option) { + var _a; return { - level, - hasBasic: true, - has256: level >= 2, - has16m: level >= 3 + category: optionCategories.CATEGORY_OTHER, + ...option, + name: option.cliName ?? (0, import_dashify.default)(option.name), + choices: (_a = option.choices) == null ? void 0 : _a.map((choice) => { + const newChoice = { + description: "", + deprecated: false, + ...typeof choice === "object" ? choice : { value: choice } + }; + if (newChoice.value === true) { + newChoice.value = ""; + } + return newChoice; + }) }; } -function _supportsColor(haveStream, { streamIsTTY, sniffFlags = true } = {}) { - const noFlagForceColor = envForceColor(); - if (noFlagForceColor !== void 0) { - flagForceColor = noFlagForceColor; - } - const forceColor = sniffFlags ? flagForceColor : noFlagForceColor; - if (forceColor === 0) { - return 0; - } - if (sniffFlags) { - if (hasFlag("color=16m") || hasFlag("color=full") || hasFlag("color=truecolor")) { - return 3; - } - if (hasFlag("color=256")) { - return 2; - } - } - if ("TF_BUILD" in env && "AGENT_NAME" in env) { - return 1; - } - if (haveStream && !streamIsTTY && forceColor === void 0) { - return 0; - } - const min = forceColor || 0; - if (env.TERM === "dumb") { - return min; - } - if (process2.platform === "win32") { - const osRelease = os.release().split("."); - if (Number(osRelease[0]) >= 10 && Number(osRelease[2]) >= 10586) { - return Number(osRelease[2]) >= 14931 ? 3 : 2; - } - return 1; - } - if ("CI" in env) { - if ("GITHUB_ACTIONS" in env) { - return 3; - } - if (["TRAVIS", "CIRCLECI", "APPVEYOR", "GITLAB_CI", "BUILDKITE", "DRONE"].some((sign) => sign in env) || env.CI_NAME === "codeship") { - return 1; - } - return min; - } - if ("TEAMCITY_VERSION" in env) { - return /^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(env.TEAMCITY_VERSION) ? 1 : 0; - } - if (env.COLORTERM === "truecolor") { - return 3; - } - if (env.TERM === "xterm-kitty") { - return 3; - } - if ("TERM_PROGRAM" in env) { - const version2 = Number.parseInt((env.TERM_PROGRAM_VERSION || "").split(".")[0], 10); - switch (env.TERM_PROGRAM) { - case "iTerm.app": { - return version2 >= 3 ? 3 : 2; - } - case "Apple_Terminal": { - return 2; - } - } - } - if (/-256(color)?$/i.test(env.TERM)) { - return 2; - } - if (/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(env.TERM)) { - return 1; - } - if ("COLORTERM" in env) { - return 1; - } - return min; +function supportInfoToContextOptions({ options: supportOptions, languages }) { + const detailedOptions = [ + ...detailedCliOptions, + ...supportOptions.map((apiOption) => apiOptionToCliOption(apiOption)) + ]; + return { + supportOptions, + languages, + detailedOptions + }; } -function createSupportsColor(stream, options = {}) { - const level = _supportsColor(stream, { - streamIsTTY: stream && stream.isTTY, - ...options +async function getContextOptions(plugins) { + const supportInfo = await getSupportInfo({ + showDeprecated: true, + plugins }); - return translateLevel(level); -} -var supportsColor = { - stdout: createSupportsColor({ isTTY: tty.isatty(1) }), - stderr: createSupportsColor({ isTTY: tty.isatty(2) }) -}; -var supports_color_default = supportsColor; - -// node_modules/chalk/source/utilities.js -function stringReplaceAll2(string, substring, replacer) { - let index = string.indexOf(substring); - if (index === -1) { - return string; - } - const substringLength = substring.length; - let endIndex = 0; - let returnValue = ""; - do { - returnValue += string.slice(endIndex, index) + substring + replacer; - endIndex = index + substringLength; - index = string.indexOf(substring, endIndex); - } while (index !== -1); - returnValue += string.slice(endIndex); - return returnValue; + return supportInfoToContextOptions(supportInfo); } -function stringEncaseCRLFWithFirstIndex(string, prefix, postfix, index) { - let endIndex = 0; - let returnValue = ""; - do { - const gotCR = string[index - 1] === "\r"; - returnValue += string.slice(endIndex, gotCR ? index - 1 : index) + prefix + (gotCR ? "\r\n" : "\n") + postfix; - endIndex = index + 1; - index = string.indexOf("\n", endIndex); - } while (index !== -1); - returnValue += string.slice(endIndex); - return returnValue; +function getContextOptionsWithoutPlugins() { + const supportInfo = getSupportInfoWithoutPlugins(); + return supportInfoToContextOptions(supportInfo); } -// node_modules/chalk/source/index.js -var { stdout: stdoutColor, stderr: stderrColor } = supports_color_default; -var GENERATOR = Symbol("GENERATOR"); -var STYLER = Symbol("STYLER"); -var IS_EMPTY = Symbol("IS_EMPTY"); -var levelMapping = [ - "ansi", - "ansi", - "ansi256", - "ansi16m" -]; -var styles2 = /* @__PURE__ */ Object.create(null); -var applyOptions = (object, options = {}) => { - if (options.level && !(Number.isInteger(options.level) && options.level >= 0 && options.level <= 3)) { - throw new Error("The `level` option should be an integer from 0 to 3"); +// scripts/build/shims/string-replace-all.js +var stringReplaceAll = (isOptionalObject, original, pattern, replacement) => { + if (isOptionalObject && (original === void 0 || original === null)) { + return; } - const colorLevel = stdoutColor ? stdoutColor.level : 0; - object.level = options.level === void 0 ? colorLevel : options.level; -}; -var chalkFactory = (options) => { - const chalk2 = (...strings) => strings.join(" "); - applyOptions(chalk2, options); - Object.setPrototypeOf(chalk2, createChalk.prototype); - return chalk2; + if (original.replaceAll) { + return original.replaceAll(pattern, replacement); + } + if (pattern.global) { + return original.replace(pattern, replacement); + } + return original.split(pattern).join(replacement); }; -function createChalk(options) { - return chalkFactory(options); -} -Object.setPrototypeOf(createChalk.prototype, Function.prototype); -for (const [styleName, style] of Object.entries(ansi_styles_default)) { - styles2[styleName] = { - get() { - const builder = createBuilder(this, createStyler(style.open, style.close, this[STYLER]), this[IS_EMPTY]); - Object.defineProperty(this, styleName, { value: builder }); - return builder; +var string_replace_all_default = stringReplaceAll; + +// node_modules/camelcase/index.js +var UPPERCASE = /[\p{Lu}]/u; +var LOWERCASE = /[\p{Ll}]/u; +var LEADING_CAPITAL = /^[\p{Lu}](?![\p{Lu}])/gu; +var IDENTIFIER = /([\p{Alpha}\p{N}_]|$)/u; +var SEPARATORS = /[_.\- ]+/; +var LEADING_SEPARATORS = new RegExp("^" + SEPARATORS.source); +var SEPARATORS_AND_IDENTIFIER = new RegExp(SEPARATORS.source + IDENTIFIER.source, "gu"); +var NUMBERS_AND_IDENTIFIER = new RegExp("\\d+" + IDENTIFIER.source, "gu"); +var preserveCamelCase = (string, toLowerCase, toUpperCase, preserveConsecutiveUppercase2) => { + let isLastCharLower = false; + let isLastCharUpper = false; + let isLastLastCharUpper = false; + let isLastLastCharPreserved = false; + for (let index = 0; index < string.length; index++) { + const character = string[index]; + isLastLastCharPreserved = index > 2 ? string[index - 3] === "-" : true; + if (isLastCharLower && UPPERCASE.test(character)) { + string = string.slice(0, index) + "-" + string.slice(index); + isLastCharLower = false; + isLastLastCharUpper = isLastCharUpper; + isLastCharUpper = true; + index++; + } else if (isLastCharUpper && isLastLastCharUpper && LOWERCASE.test(character) && (!isLastLastCharPreserved || preserveConsecutiveUppercase2)) { + string = string.slice(0, index - 1) + "-" + string.slice(index - 1); + isLastLastCharUpper = isLastCharUpper; + isLastCharUpper = false; + isLastCharLower = true; + } else { + isLastCharLower = toLowerCase(character) === character && toUpperCase(character) !== character; + isLastLastCharUpper = isLastCharUpper; + isLastCharUpper = toUpperCase(character) === character && toLowerCase(character) !== character; } - }; -} -styles2.visible = { - get() { - const builder = createBuilder(this, this[STYLER], true); - Object.defineProperty(this, "visible", { value: builder }); - return builder; } + return string; }; -var getModelAnsi = (model, level, type, ...arguments_) => { - if (model === "rgb") { - if (level === "ansi16m") { - return ansi_styles_default[type].ansi16m(...arguments_); - } - if (level === "ansi256") { - return ansi_styles_default[type].ansi256(ansi_styles_default.rgbToAnsi256(...arguments_)); - } - return ansi_styles_default[type].ansi(ansi_styles_default.rgbToAnsi(...arguments_)); - } - if (model === "hex") { - return getModelAnsi("rgb", level, type, ...ansi_styles_default.hexToRgb(...arguments_)); - } - return ansi_styles_default[type][model](...arguments_); +var preserveConsecutiveUppercase = (input, toLowerCase) => { + LEADING_CAPITAL.lastIndex = 0; + return string_replace_all_default( + /* isOptionalObject */ + false, + input, + LEADING_CAPITAL, + (match) => toLowerCase(match) + ); }; -var usedModels = ["rgb", "hex", "ansi256"]; -for (const model of usedModels) { - styles2[model] = { - get() { - const { level } = this; - return function(...arguments_) { - const styler = createStyler(getModelAnsi(model, levelMapping[level], "color", ...arguments_), ansi_styles_default.color.close, this[STYLER]); - return createBuilder(this, styler, this[IS_EMPTY]); - }; - } - }; - const bgModel = "bg" + model[0].toUpperCase() + model.slice(1); - styles2[bgModel] = { - get() { - const { level } = this; - return function(...arguments_) { - const styler = createStyler(getModelAnsi(model, levelMapping[level], "bgColor", ...arguments_), ansi_styles_default.bgColor.close, this[STYLER]); - return createBuilder(this, styler, this[IS_EMPTY]); - }; - } - }; -} -var proto = Object.defineProperties(() => { -}, { - ...styles2, - level: { - enumerable: true, - get() { - return this[GENERATOR].level; - }, - set(level) { - this[GENERATOR].level = level; - } - } -}); -var createStyler = (open, close, parent) => { - let openAll; - let closeAll; - if (parent === void 0) { - openAll = open; - closeAll = close; - } else { - openAll = parent.openAll + open; - closeAll = close + parent.closeAll; +var postProcess = (input, toUpperCase) => { + SEPARATORS_AND_IDENTIFIER.lastIndex = 0; + NUMBERS_AND_IDENTIFIER.lastIndex = 0; + return string_replace_all_default( + /* isOptionalObject */ + false, + string_replace_all_default( + /* isOptionalObject */ + false, + input, + NUMBERS_AND_IDENTIFIER, + (match, pattern, offset) => ["_", "-"].includes(input.charAt(offset + match.length)) ? match : toUpperCase(match) + ), + SEPARATORS_AND_IDENTIFIER, + (_, identifier) => toUpperCase(identifier) + ); +}; +function camelCase(input, options) { + if (!(typeof input === "string" || Array.isArray(input))) { + throw new TypeError("Expected the input to be `string | string[]`"); } - return { - open, - close, - openAll, - closeAll, - parent + options = { + pascalCase: false, + preserveConsecutiveUppercase: false, + ...options }; -}; -var createBuilder = (self, _styler, _isEmpty) => { - const builder = (...arguments_) => applyStyle(builder, arguments_.length === 1 ? "" + arguments_[0] : arguments_.join(" ")); - Object.setPrototypeOf(builder, proto); - builder[GENERATOR] = self; - builder[STYLER] = _styler; - builder[IS_EMPTY] = _isEmpty; - return builder; -}; -var applyStyle = (self, string) => { - if (self.level <= 0 || !string) { - return self[IS_EMPTY] ? "" : string; + if (Array.isArray(input)) { + input = input.map((x) => x.trim()).filter((x) => x.length).join("-"); + } else { + input = input.trim(); } - let styler = self[STYLER]; - if (styler === void 0) { - return string; + if (input.length === 0) { + return ""; } - const { openAll, closeAll } = styler; - if (string.includes("\x1B")) { - while (styler !== void 0) { - string = stringReplaceAll2(string, styler.close, styler.open); - styler = styler.parent; + const toLowerCase = options.locale === false ? (string) => string.toLowerCase() : (string) => string.toLocaleLowerCase(options.locale); + const toUpperCase = options.locale === false ? (string) => string.toUpperCase() : (string) => string.toLocaleUpperCase(options.locale); + if (input.length === 1) { + if (SEPARATORS.test(input)) { + return ""; } + return options.pascalCase ? toUpperCase(input) : toLowerCase(input); } - const lfIndex = string.indexOf("\n"); - if (lfIndex !== -1) { - string = stringEncaseCRLFWithFirstIndex(string, closeAll, openAll, lfIndex); + const hasUpperCase = input !== toLowerCase(input); + if (hasUpperCase) { + input = preserveCamelCase(input, toLowerCase, toUpperCase, options.preserveConsecutiveUppercase); } - return openAll + string + closeAll; -}; -Object.defineProperties(createChalk.prototype, styles2); -var chalk = createChalk(); -var chalkStderr = createChalk({ level: stderrColor ? stderrColor.level : 0 }); -var source_default = chalk; - -// node_modules/strip-ansi/node_modules/ansi-regex/index.js -function ansiRegex({ onlyFirst = false } = {}) { - const pattern = [ - "[\\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(pattern, onlyFirst ? void 0 : "g"); + input = input.replace(LEADING_SEPARATORS, ""); + input = options.preserveConsecutiveUppercase ? preserveConsecutiveUppercase(input, toLowerCase) : toLowerCase(input); + if (options.pascalCase) { + input = toUpperCase(input.charAt(0)) + input.slice(1); + } + return postProcess(input, toUpperCase); } -// node_modules/strip-ansi/index.js -var regex = ansiRegex(); -function stripAnsi(string) { - if (typeof string !== "string") { - throw new TypeError(`Expected a \`string\`, got \`${typeof string}\``); +// src/cli/utils.js +import fs from "fs/promises"; +import path from "path"; + +// node_modules/sdbm/index.js +function sdbm(string) { + let hash = 0; + for (let i = 0; i < string.length; i++) { + hash = string.charCodeAt(i) + (hash << 6) + (hash << 16) - hash; } - return string.replace(regex, ""); + return hash >>> 0; } -// src/cli/logger.js -var import_wcwidth = __toESM(require_wcwidth(), 1); -var countLines = (stream, text) => { - const columns = stream.columns || 80; - let lineCount = 0; - for (const line of stripAnsi(text).split("\n")) { - lineCount += Math.max(1, Math.ceil((0, import_wcwidth.default)(line) / columns)); - } - return lineCount; -}; -var clear = (stream, text) => () => { - const lineCount = countLines(stream, text); - for (let line = 0; line < lineCount; line++) { - if (line > 0) { - readline.moveCursor(stream, 0, -1); - } - readline.clearLine(stream, 0); - readline.cursorTo(stream, 0); - } -}; -var emptyLogResult = { - clear() { - } -}; -function createLogger(logLevel = "log") { - return { - logLevel, - warn: createLogFunc("warn", "yellow"), - error: createLogFunc("error", "red"), - debug: createLogFunc("debug", "blue"), - log: createLogFunc("log") - }; - function createLogFunc(loggerName, color) { - if (!shouldLog(loggerName)) { - return () => emptyLogResult; - } - const stream = process[loggerName === "log" ? "stdout" : "stderr"]; - const chalkInstance = loggerName === "log" ? source_default : chalkStderr; - const prefix = color ? `[${chalkInstance[color](loggerName)}] ` : ""; - return (message, options) => { - options = { - newline: true, - clearable: false, - ...options - }; - message = string_replace_all_default( - /* isOptionalObject*/ - false, - message, - /^/gm, - prefix - ) + (options.newline ? "\n" : ""); - stream.write(message); - if (options.clearable) { - return { - clear: clear(stream, message) - }; - } - }; - } - function shouldLog(loggerName) { - switch (logLevel) { - case "silent": - return false; - case "debug": - if (loggerName === "debug") { - return true; - } - case "log": - if (loggerName === "log") { - return true; - } - case "warn": - if (loggerName === "warn") { - return true; - } - case "error": - return loggerName === "error"; +// src/cli/utils.js +import { __internal as sharedWithCli2 } from "../index.mjs"; +var printToScreen = console.log.bind(console); +function groupBy(array2, iteratee) { + const result = /* @__PURE__ */ Object.create(null); + for (const value of array2) { + const key = iteratee(value); + if (Array.isArray(result[key])) { + result[key].push(value); + } else { + result[key] = [value]; } } + return result; } -var logger_default = createLogger; - -// scripts/build/shims/at.js -var at = (isOptionalObject, object, index) => { - if (isOptionalObject && (object === void 0 || object === null)) { - return; +function pick(object, keys) { + const entries = keys.map((key) => [key, object[key]]); + return Object.fromEntries(entries); +} +function createHash(source) { + return String(sdbm(source)); +} +async function statSafe(filePath) { + try { + return await fs.stat(filePath); + } catch (error) { + if (error.code !== "ENOENT") { + throw error; + } } - if (Array.isArray(object) || typeof object === "string") { - return object[index < 0 ? object.length + index : index]; +} +async function lstatSafe(filePath) { + try { + return await fs.lstat(filePath); + } catch (error) { + if (error.code !== "ENOENT") { + throw error; + } } - return object.at(index); -}; -var at_default = at; - -// src/cli/options/get-context-options.js -var import_dashify = __toESM(require_dashify(), 1); -import { getSupportInfo } from "../index.mjs"; - -// src/cli/prettier-internal.js -import { __internal as sharedWithCli } from "../index.mjs"; +} +function isJson(value) { + try { + JSON.parse(value); + return true; + } catch { + return false; + } +} +var normalizeToPosix = path.sep === "\\" ? (filepath) => string_replace_all_default( + /* isOptionalObject */ + false, + filepath, + "\\", + "/" +) : (filepath) => filepath; var { - errors, - optionCategories, - createIsIgnoredFunction, - formatOptionsHiddenDefaults, - normalizeOptions, - getSupportInfoWithoutPlugins, - normalizeOptionSettings, - vnopts, - fastGlob -} = sharedWithCli; + isNonEmptyArray, + partition, + omit +} = sharedWithCli2.utils; -// src/cli/cli-options.evaluate.js -var cli_options_evaluate_default = { - "cache": { - "default": false, - "description": "Only format changed files. Cannot use with --stdin-filepath.", - "type": "boolean" - }, - "cacheLocation": { - "description": "Path to the cache file.", - "type": "path" - }, - "cacheStrategy": { - "choices": [ - { - "description": "Use the file metadata such as timestamps as cache keys", - "value": "metadata" - }, - { - "description": "Use the file content as cache keys", - "value": "content" - } - ], - "description": "Strategy for the cache to use for detecting changed files.", - "type": "choice" - }, - "check": { - "alias": "c", - "category": "Output", - "description": "Check if the given files are formatted, print a human-friendly summary\nmessage and paths to unformatted files (see also --list-different).", - "type": "boolean" - }, - "color": { - "default": true, - "description": "Colorize error messages.", - "oppositeDescription": "Do not colorize error messages.", - "type": "boolean" - }, - "config": { - "category": "Config", - "description": "Path to a Prettier configuration file (.prettierrc, package.json, prettier.config.js).", - "exception": (value) => value === false, - "oppositeDescription": "Do not look for a configuration file.", - "type": "path" - }, - "configPrecedence": { - "category": "Config", - "choices": [ - { - "description": "CLI options take precedence over config file", - "value": "cli-override" - }, - { - "description": "Config file take precedence over CLI options", - "value": "file-override" - }, - { - "description": "If a config file is found will evaluate it and ignore other CLI options.\nIf no config file is found CLI options will evaluate as normal.", - "value": "prefer-file" - } - ], - "default": "cli-override", - "description": "Define in which order config files and CLI options should be evaluated.", - "type": "choice" - }, - "debugBenchmark": { - "type": "boolean" - }, - "debugCheck": { - "type": "boolean" - }, - "debugPrintAst": { - "type": "boolean" - }, - "debugPrintComments": { - "type": "boolean" - }, - "debugPrintDoc": { - "type": "boolean" - }, - "debugRepeat": { - "default": 0, - "type": "int" - }, - "editorconfig": { - "category": "Config", - "default": true, - "description": "Take .editorconfig into account when parsing configuration.", - "oppositeDescription": "Don't take .editorconfig into account when parsing configuration.", - "type": "boolean" - }, - "errorOnUnmatchedPattern": { - "oppositeDescription": "Prevent errors when pattern is unmatched.", - "type": "boolean" - }, - "fileInfo": { - "description": "Extract the following info (as JSON) for a given file path. Reported fields:\n* ignored (boolean) - true if file path is filtered by --ignore-path\n* inferredParser (string | null) - name of parser inferred from file path", - "type": "path" - }, - "findConfigPath": { - "category": "Config", - "description": "Find and print the path to a configuration file for the given input file.", - "type": "path" - }, - "help": { - "alias": "h", - "description": "Show CLI usage, or details about the given flag.\nExample: --help write", - "exception": (value) => value === "", - "type": "flag" - }, - "ignorePath": { - "array": true, - "category": "Config", - "default": [ - { - "value": [ - ".gitignore", - ".prettierignore" - ] - } - ], - "description": "Path to a file with patterns describing files to ignore.\nMultiple values are accepted.", - "type": "path" - }, - "ignoreUnknown": { - "alias": "u", - "description": "Ignore unknown files.", - "type": "boolean" - }, - "listDifferent": { - "alias": "l", - "category": "Output", - "description": "Print the names of files that are different from Prettier's formatting (see also --check).", - "type": "boolean" - }, - "logLevel": { - "choices": [ - "silent", - "error", - "warn", - "log", - "debug" - ], - "default": "log", - "description": "What level of logs to report.", - "type": "choice" - }, - "supportInfo": { - "description": "Print support information as JSON.", - "type": "boolean" - }, - "version": { - "alias": "v", - "description": "Print Prettier version.", - "type": "boolean" +// src/cli/options/create-minimist-options.js +function createMinimistOptions(detailedOptions) { + const booleanNames = []; + const stringNames = []; + const defaultValues = {}; + for (const option of detailedOptions) { + const { name, alias, type } = option; + const names = type === "boolean" ? booleanNames : stringNames; + names.push(name); + if (alias) { + names.push(alias); + } + if (!option.deprecated && (!option.forwardToApi || name === "plugin") && option.default !== void 0) { + defaultValues[option.name] = option.default; + } + } + return { + // we use vnopts' AliasSchema to handle aliases for better error messages + alias: {}, + boolean: booleanNames, + string: stringNames, + default: defaultValues + }; +} + +// src/cli/options/minimist.js +var import_minimist = __toESM(require_minimist(), 1); +var PLACEHOLDER = null; +function minimistParse(args, options) { + const boolean = options.boolean ?? []; + const defaults = options.default ?? {}; + const booleanWithoutDefault = boolean.filter((key) => !(key in defaults)); + const newDefaults = { + ...defaults, + ...Object.fromEntries( + booleanWithoutDefault.map((key) => [key, PLACEHOLDER]) + ) + }; + const parsed = (0, import_minimist.default)(args, { ...options, default: newDefaults }); + return Object.fromEntries( + Object.entries(parsed).filter(([, value]) => value !== PLACEHOLDER) + ); +} + +// node_modules/chalk/source/vendor/ansi-styles/index.js +var ANSI_BACKGROUND_OFFSET = 10; +var wrapAnsi16 = (offset = 0) => (code) => `\x1B[${code + offset}m`; +var wrapAnsi256 = (offset = 0) => (code) => `\x1B[${38 + offset};5;${code}m`; +var wrapAnsi16m = (offset = 0) => (red, green, blue) => `\x1B[${38 + offset};2;${red};${green};${blue}m`; +var styles = { + modifier: { + reset: [0, 0], + // 21 isn't widely supported and 22 does the same thing + bold: [1, 22], + dim: [2, 22], + italic: [3, 23], + underline: [4, 24], + overline: [53, 55], + inverse: [7, 27], + hidden: [8, 28], + strikethrough: [9, 29] }, - "withNodeModules": { - "category": "Config", - "description": "Process files inside 'node_modules' directory.", - "type": "boolean" + color: { + black: [30, 39], + red: [31, 39], + green: [32, 39], + yellow: [33, 39], + blue: [34, 39], + magenta: [35, 39], + cyan: [36, 39], + white: [37, 39], + // Bright color + blackBright: [90, 39], + gray: [90, 39], + // Alias of `blackBright` + grey: [90, 39], + // Alias of `blackBright` + redBright: [91, 39], + greenBright: [92, 39], + yellowBright: [93, 39], + blueBright: [94, 39], + magentaBright: [95, 39], + cyanBright: [96, 39], + whiteBright: [97, 39] }, - "write": { - "alias": "w", - "category": "Output", - "description": "Edit files in-place. (Beware!)", - "type": "boolean" + bgColor: { + bgBlack: [40, 49], + bgRed: [41, 49], + bgGreen: [42, 49], + bgYellow: [43, 49], + bgBlue: [44, 49], + bgMagenta: [45, 49], + bgCyan: [46, 49], + bgWhite: [47, 49], + // Bright color + bgBlackBright: [100, 49], + bgGray: [100, 49], + // Alias of `bgBlackBright` + bgGrey: [100, 49], + // Alias of `bgBlackBright` + bgRedBright: [101, 49], + bgGreenBright: [102, 49], + bgYellowBright: [103, 49], + bgBlueBright: [104, 49], + bgMagentaBright: [105, 49], + bgCyanBright: [106, 49], + bgWhiteBright: [107, 49] } }; - -// src/cli/options/get-context-options.js -var detailedCliOptions = normalizeOptionSettings(cli_options_evaluate_default).map( - (option) => normalizeDetailedOption(option) -); -function apiOptionToCliOption(apiOption) { - const cliOption = { - ...apiOption, - description: apiOption.cliDescription ?? apiOption.description, - category: apiOption.cliCategory ?? optionCategories.CATEGORY_FORMAT, - forwardToApi: apiOption.name - }; - if (apiOption.deprecated) { - delete cliOption.forwardToApi; - delete cliOption.description; - delete cliOption.oppositeDescription; - cliOption.deprecated = true; +var modifierNames = Object.keys(styles.modifier); +var foregroundColorNames = Object.keys(styles.color); +var backgroundColorNames = Object.keys(styles.bgColor); +var colorNames = [...foregroundColorNames, ...backgroundColorNames]; +function assembleStyles() { + const codes = /* @__PURE__ */ new Map(); + for (const [groupName, group] of Object.entries(styles)) { + for (const [styleName, style] of Object.entries(group)) { + styles[styleName] = { + open: `\x1B[${style[0]}m`, + close: `\x1B[${style[1]}m` + }; + group[styleName] = styles[styleName]; + codes.set(style[0], style[1]); + } + Object.defineProperty(styles, groupName, { + value: group, + enumerable: false + }); } - return normalizeDetailedOption(cliOption); + Object.defineProperty(styles, "codes", { + value: codes, + enumerable: false + }); + styles.color.close = "\x1B[39m"; + styles.bgColor.close = "\x1B[49m"; + styles.color.ansi = wrapAnsi16(); + styles.color.ansi256 = wrapAnsi256(); + styles.color.ansi16m = wrapAnsi16m(); + styles.bgColor.ansi = wrapAnsi16(ANSI_BACKGROUND_OFFSET); + styles.bgColor.ansi256 = wrapAnsi256(ANSI_BACKGROUND_OFFSET); + styles.bgColor.ansi16m = wrapAnsi16m(ANSI_BACKGROUND_OFFSET); + Object.defineProperties(styles, { + rgbToAnsi256: { + value(red, green, blue) { + if (red === green && green === blue) { + if (red < 8) { + return 16; + } + if (red > 248) { + return 231; + } + return Math.round((red - 8) / 247 * 24) + 232; + } + return 16 + 36 * Math.round(red / 255 * 5) + 6 * Math.round(green / 255 * 5) + Math.round(blue / 255 * 5); + }, + enumerable: false + }, + hexToRgb: { + value(hex) { + const matches = /[a-f\d]{6}|[a-f\d]{3}/i.exec(hex.toString(16)); + if (!matches) { + return [0, 0, 0]; + } + let [colorString] = matches; + if (colorString.length === 3) { + colorString = [...colorString].map((character) => character + character).join(""); + } + const integer = Number.parseInt(colorString, 16); + return [ + /* eslint-disable no-bitwise */ + integer >> 16 & 255, + integer >> 8 & 255, + integer & 255 + /* eslint-enable no-bitwise */ + ]; + }, + enumerable: false + }, + hexToAnsi256: { + value: (hex) => styles.rgbToAnsi256(...styles.hexToRgb(hex)), + enumerable: false + }, + ansi256ToAnsi: { + value(code) { + if (code < 8) { + return 30 + code; + } + if (code < 16) { + return 90 + (code - 8); + } + let red; + let green; + let blue; + if (code >= 232) { + red = ((code - 232) * 10 + 8) / 255; + green = red; + blue = red; + } else { + code -= 16; + const remainder = code % 36; + red = Math.floor(code / 36) / 5; + green = Math.floor(remainder / 6) / 5; + blue = remainder % 6 / 5; + } + const value = Math.max(red, green, blue) * 2; + if (value === 0) { + return 30; + } + let result = 30 + (Math.round(blue) << 2 | Math.round(green) << 1 | Math.round(red)); + if (value === 2) { + result += 60; + } + return result; + }, + enumerable: false + }, + rgbToAnsi: { + value: (red, green, blue) => styles.ansi256ToAnsi(styles.rgbToAnsi256(red, green, blue)), + enumerable: false + }, + hexToAnsi: { + value: (hex) => styles.ansi256ToAnsi(styles.hexToAnsi256(hex)), + enumerable: false + } + }); + return styles; } -function normalizeDetailedOption(option) { - var _a; - return { - category: optionCategories.CATEGORY_OTHER, - ...option, - name: option.cliName ?? (0, import_dashify.default)(option.name), - choices: (_a = option.choices) == null ? void 0 : _a.map((choice) => { - const newChoice = { - description: "", - deprecated: false, - ...typeof choice === "object" ? choice : { value: choice } - }; - if (newChoice.value === true) { - newChoice.value = ""; - } - return newChoice; - }) - }; +var ansiStyles = assembleStyles(); +var ansi_styles_default = ansiStyles; + +// node_modules/chalk/source/vendor/supports-color/index.js +import process2 from "process"; +import os from "os"; +import tty from "tty"; +function hasFlag(flag, argv = globalThis.Deno ? globalThis.Deno.args : process2.argv) { + const prefix = flag.startsWith("-") ? "" : flag.length === 1 ? "-" : "--"; + const position = argv.indexOf(prefix + flag); + const terminatorPosition = argv.indexOf("--"); + return position !== -1 && (terminatorPosition === -1 || position < terminatorPosition); +} +var { env } = process2; +var flagForceColor; +if (hasFlag("no-color") || hasFlag("no-colors") || hasFlag("color=false") || hasFlag("color=never")) { + flagForceColor = 0; +} else if (hasFlag("color") || hasFlag("colors") || hasFlag("color=true") || hasFlag("color=always")) { + flagForceColor = 1; +} +function envForceColor() { + if ("FORCE_COLOR" in env) { + if (env.FORCE_COLOR === "true") { + return 1; + } + if (env.FORCE_COLOR === "false") { + return 0; + } + return env.FORCE_COLOR.length === 0 ? 1 : Math.min(Number.parseInt(env.FORCE_COLOR, 10), 3); + } } -function supportInfoToContextOptions({ options: supportOptions, languages }) { - const detailedOptions = [ - ...detailedCliOptions, - ...supportOptions.map((apiOption) => apiOptionToCliOption(apiOption)) - ]; +function translateLevel(level) { + if (level === 0) { + return false; + } return { - supportOptions, - languages, - detailedOptions + level, + hasBasic: true, + has256: level >= 2, + has16m: level >= 3 }; } -async function getContextOptions(plugins) { - const supportInfo = await getSupportInfo({ - showDeprecated: true, - plugins - }); - return supportInfoToContextOptions(supportInfo); -} -function getContextOptionsWithoutPlugins() { - const supportInfo = getSupportInfoWithoutPlugins(); - return supportInfoToContextOptions(supportInfo); -} - -// node_modules/camelcase/index.js -var UPPERCASE = /[\p{Lu}]/u; -var LOWERCASE = /[\p{Ll}]/u; -var LEADING_CAPITAL = /^[\p{Lu}](?![\p{Lu}])/gu; -var IDENTIFIER = /([\p{Alpha}\p{N}_]|$)/u; -var SEPARATORS = /[_.\- ]+/; -var LEADING_SEPARATORS = new RegExp("^" + SEPARATORS.source); -var SEPARATORS_AND_IDENTIFIER = new RegExp(SEPARATORS.source + IDENTIFIER.source, "gu"); -var NUMBERS_AND_IDENTIFIER = new RegExp("\\d+" + IDENTIFIER.source, "gu"); -var preserveCamelCase = (string, toLowerCase, toUpperCase, preserveConsecutiveUppercase2) => { - let isLastCharLower = false; - let isLastCharUpper = false; - let isLastLastCharUpper = false; - let isLastLastCharPreserved = false; - for (let index = 0; index < string.length; index++) { - const character = string[index]; - isLastLastCharPreserved = index > 2 ? string[index - 3] === "-" : true; - if (isLastCharLower && UPPERCASE.test(character)) { - string = string.slice(0, index) + "-" + string.slice(index); - isLastCharLower = false; - isLastLastCharUpper = isLastCharUpper; - isLastCharUpper = true; - index++; - } else if (isLastCharUpper && isLastLastCharUpper && LOWERCASE.test(character) && (!isLastLastCharPreserved || preserveConsecutiveUppercase2)) { - string = string.slice(0, index - 1) + "-" + string.slice(index - 1); - isLastLastCharUpper = isLastCharUpper; - isLastCharUpper = false; - isLastCharLower = true; - } else { - isLastCharLower = toLowerCase(character) === character && toUpperCase(character) !== character; - isLastLastCharUpper = isLastCharUpper; - isLastCharUpper = toUpperCase(character) === character && toLowerCase(character) !== character; +function _supportsColor(haveStream, { streamIsTTY, sniffFlags = true } = {}) { + const noFlagForceColor = envForceColor(); + if (noFlagForceColor !== void 0) { + flagForceColor = noFlagForceColor; + } + const forceColor = sniffFlags ? flagForceColor : noFlagForceColor; + if (forceColor === 0) { + return 0; + } + if (sniffFlags) { + if (hasFlag("color=16m") || hasFlag("color=full") || hasFlag("color=truecolor")) { + return 3; + } + if (hasFlag("color=256")) { + return 2; } } - return string; -}; -var preserveConsecutiveUppercase = (input, toLowerCase) => { - LEADING_CAPITAL.lastIndex = 0; - return input.replace(LEADING_CAPITAL, (m1) => toLowerCase(m1)); -}; -var postProcess = (input, toUpperCase) => { - SEPARATORS_AND_IDENTIFIER.lastIndex = 0; - NUMBERS_AND_IDENTIFIER.lastIndex = 0; - return input.replace(SEPARATORS_AND_IDENTIFIER, (_, identifier) => toUpperCase(identifier)).replace(NUMBERS_AND_IDENTIFIER, (m) => toUpperCase(m)); -}; -function camelCase(input, options) { - if (!(typeof input === "string" || Array.isArray(input))) { - throw new TypeError("Expected the input to be `string | string[]`"); + if ("TF_BUILD" in env && "AGENT_NAME" in env) { + return 1; } - options = { - pascalCase: false, - preserveConsecutiveUppercase: false, - ...options - }; - if (Array.isArray(input)) { - input = input.map((x) => x.trim()).filter((x) => x.length).join("-"); - } else { - input = input.trim(); + if (haveStream && !streamIsTTY && forceColor === void 0) { + return 0; } - if (input.length === 0) { - return ""; + const min = forceColor || 0; + if (env.TERM === "dumb") { + return min; } - const toLowerCase = options.locale === false ? (string) => string.toLowerCase() : (string) => string.toLocaleLowerCase(options.locale); - const toUpperCase = options.locale === false ? (string) => string.toUpperCase() : (string) => string.toLocaleUpperCase(options.locale); - if (input.length === 1) { - if (SEPARATORS.test(input)) { - return ""; + if (process2.platform === "win32") { + const osRelease = os.release().split("."); + if (Number(osRelease[0]) >= 10 && Number(osRelease[2]) >= 10586) { + return Number(osRelease[2]) >= 14931 ? 3 : 2; } - return options.pascalCase ? toUpperCase(input) : toLowerCase(input); + return 1; } - const hasUpperCase = input !== toLowerCase(input); - if (hasUpperCase) { - input = preserveCamelCase(input, toLowerCase, toUpperCase, options.preserveConsecutiveUppercase); + if ("CI" in env) { + if ("GITHUB_ACTIONS" in env || "GITEA_ACTIONS" in env) { + return 3; + } + if (["TRAVIS", "CIRCLECI", "APPVEYOR", "GITLAB_CI", "BUILDKITE", "DRONE"].some((sign) => sign in env) || env.CI_NAME === "codeship") { + return 1; + } + return min; } - input = input.replace(LEADING_SEPARATORS, ""); - input = options.preserveConsecutiveUppercase ? preserveConsecutiveUppercase(input, toLowerCase) : toLowerCase(input); - if (options.pascalCase) { - input = toUpperCase(input.charAt(0)) + input.slice(1); + if ("TEAMCITY_VERSION" in env) { + return /^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(env.TEAMCITY_VERSION) ? 1 : 0; } - return postProcess(input, toUpperCase); -} - -// src/cli/utils.js -import fs from "fs/promises"; -import path from "path"; - -// node_modules/sdbm/index.js -function sdbm(string) { - let hash = 0; - for (let i = 0; i < string.length; i++) { - hash = string.charCodeAt(i) + (hash << 6) + (hash << 16) - hash; + if (env.COLORTERM === "truecolor") { + return 3; } - return hash >>> 0; + if (env.TERM === "xterm-kitty") { + return 3; + } + if ("TERM_PROGRAM" in env) { + const version2 = Number.parseInt((env.TERM_PROGRAM_VERSION || "").split(".")[0], 10); + switch (env.TERM_PROGRAM) { + case "iTerm.app": { + return version2 >= 3 ? 3 : 2; + } + case "Apple_Terminal": { + return 2; + } + } + } + if (/-256(color)?$/i.test(env.TERM)) { + return 2; + } + if (/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(env.TERM)) { + return 1; + } + if ("COLORTERM" in env) { + return 1; + } + return min; +} +function createSupportsColor(stream, options = {}) { + const level = _supportsColor(stream, { + streamIsTTY: stream && stream.isTTY, + ...options + }); + return translateLevel(level); } +var supportsColor = { + stdout: createSupportsColor({ isTTY: tty.isatty(1) }), + stderr: createSupportsColor({ isTTY: tty.isatty(2) }) +}; +var supports_color_default = supportsColor; -// src/cli/utils.js -import { __internal as sharedWithCli2 } from "../index.mjs"; -var printToScreen = console.log.bind(console); -function groupBy(array2, iteratee) { - const result = /* @__PURE__ */ Object.create(null); - for (const value of array2) { - const key = iteratee(value); - if (Array.isArray(result[key])) { - result[key].push(value); - } else { - result[key] = [value]; - } +// node_modules/chalk/source/utilities.js +function stringReplaceAll2(string, substring, replacer) { + let index = string.indexOf(substring); + if (index === -1) { + return string; } - return result; + const substringLength = substring.length; + let endIndex = 0; + let returnValue = ""; + do { + returnValue += string.slice(endIndex, index) + substring + replacer; + endIndex = index + substringLength; + index = string.indexOf(substring, endIndex); + } while (index !== -1); + returnValue += string.slice(endIndex); + return returnValue; } -function pick(object, keys) { - const entries = keys.map((key) => [key, object[key]]); - return Object.fromEntries(entries); +function stringEncaseCRLFWithFirstIndex(string, prefix, postfix, index) { + let endIndex = 0; + let returnValue = ""; + do { + const gotCR = string[index - 1] === "\r"; + returnValue += string.slice(endIndex, gotCR ? index - 1 : index) + prefix + (gotCR ? "\r\n" : "\n") + postfix; + endIndex = index + 1; + index = string.indexOf("\n", endIndex); + } while (index !== -1); + returnValue += string.slice(endIndex); + return returnValue; } -function createHash(source) { - return String(sdbm(source)); + +// node_modules/chalk/source/index.js +var { stdout: stdoutColor, stderr: stderrColor } = supports_color_default; +var GENERATOR = Symbol("GENERATOR"); +var STYLER = Symbol("STYLER"); +var IS_EMPTY = Symbol("IS_EMPTY"); +var levelMapping = [ + "ansi", + "ansi", + "ansi256", + "ansi16m" +]; +var styles2 = /* @__PURE__ */ Object.create(null); +var applyOptions = (object, options = {}) => { + if (options.level && !(Number.isInteger(options.level) && options.level >= 0 && options.level <= 3)) { + throw new Error("The `level` option should be an integer from 0 to 3"); + } + const colorLevel = stdoutColor ? stdoutColor.level : 0; + object.level = options.level === void 0 ? colorLevel : options.level; +}; +var chalkFactory = (options) => { + const chalk2 = (...strings) => strings.join(" "); + applyOptions(chalk2, options); + Object.setPrototypeOf(chalk2, createChalk.prototype); + return chalk2; +}; +function createChalk(options) { + return chalkFactory(options); } -async function statSafe(filePath) { - try { - return await fs.stat(filePath); - } catch (error) { - if (error.code !== "ENOENT") { - throw error; +Object.setPrototypeOf(createChalk.prototype, Function.prototype); +for (const [styleName, style] of Object.entries(ansi_styles_default)) { + styles2[styleName] = { + get() { + const builder = createBuilder(this, createStyler(style.open, style.close, this[STYLER]), this[IS_EMPTY]); + Object.defineProperty(this, styleName, { value: builder }); + return builder; } - } + }; } -async function lstatSafe(filePath) { - try { - return await fs.lstat(filePath); - } catch (error) { - if (error.code !== "ENOENT") { - throw error; +styles2.visible = { + get() { + const builder = createBuilder(this, this[STYLER], true); + Object.defineProperty(this, "visible", { value: builder }); + return builder; + } +}; +var getModelAnsi = (model, level, type, ...arguments_) => { + if (model === "rgb") { + if (level === "ansi16m") { + return ansi_styles_default[type].ansi16m(...arguments_); + } + if (level === "ansi256") { + return ansi_styles_default[type].ansi256(ansi_styles_default.rgbToAnsi256(...arguments_)); } + return ansi_styles_default[type].ansi(ansi_styles_default.rgbToAnsi(...arguments_)); } -} -function isJson(value) { - try { - JSON.parse(value); - return true; - } catch { - return false; + if (model === "hex") { + return getModelAnsi("rgb", level, type, ...ansi_styles_default.hexToRgb(...arguments_)); } -} -var normalizeToPosix = path.sep === "\\" ? (filepath) => string_replace_all_default( - /* isOptionalObject*/ - false, - filepath, - "\\", - "/" -) : (filepath) => filepath; -var { - isNonEmptyArray, - partition, - omit -} = sharedWithCli2.utils; - -// src/cli/options/minimist.js -var import_minimist = __toESM(require_minimist(), 1); -var PLACEHOLDER = null; -function minimistParse(args, options) { - const boolean = options.boolean ?? []; - const defaults = options.default ?? {}; - const booleanWithoutDefault = boolean.filter((key) => !(key in defaults)); - const newDefaults = { - ...defaults, - ...Object.fromEntries( - booleanWithoutDefault.map((key) => [key, PLACEHOLDER]) - ) + return ansi_styles_default[type][model](...arguments_); +}; +var usedModels = ["rgb", "hex", "ansi256"]; +for (const model of usedModels) { + styles2[model] = { + get() { + const { level } = this; + return function(...arguments_) { + const styler = createStyler(getModelAnsi(model, levelMapping[level], "color", ...arguments_), ansi_styles_default.color.close, this[STYLER]); + return createBuilder(this, styler, this[IS_EMPTY]); + }; + } }; - const parsed = (0, import_minimist.default)(args, { ...options, default: newDefaults }); - return Object.fromEntries( - Object.entries(parsed).filter(([, value]) => value !== PLACEHOLDER) - ); -} - -// src/cli/options/create-minimist-options.js -function createMinimistOptions(detailedOptions) { - const booleanNames = []; - const stringNames = []; - const defaultValues = {}; - for (const option of detailedOptions) { - const { name, alias, type } = option; - const names = type === "boolean" ? booleanNames : stringNames; - names.push(name); - if (alias) { - names.push(alias); + const bgModel = "bg" + model[0].toUpperCase() + model.slice(1); + styles2[bgModel] = { + get() { + const { level } = this; + return function(...arguments_) { + const styler = createStyler(getModelAnsi(model, levelMapping[level], "bgColor", ...arguments_), ansi_styles_default.bgColor.close, this[STYLER]); + return createBuilder(this, styler, this[IS_EMPTY]); + }; } - if (!option.deprecated && (!option.forwardToApi || name === "plugin") && option.default !== void 0) { - defaultValues[option.name] = option.default; + }; +} +var proto = Object.defineProperties(() => { +}, { + ...styles2, + level: { + enumerable: true, + get() { + return this[GENERATOR].level; + }, + set(level) { + this[GENERATOR].level = level; } } +}); +var createStyler = (open, close, parent) => { + let openAll; + let closeAll; + if (parent === void 0) { + openAll = open; + closeAll = close; + } else { + openAll = parent.openAll + open; + closeAll = close + parent.closeAll; + } return { - // we use vnopts' AliasSchema to handle aliases for better error messages - alias: {}, - boolean: booleanNames, - string: stringNames, - default: defaultValues + open, + close, + openAll, + closeAll, + parent }; -} +}; +var createBuilder = (self, _styler, _isEmpty) => { + const builder = (...arguments_) => applyStyle(builder, arguments_.length === 1 ? "" + arguments_[0] : arguments_.join(" ")); + Object.setPrototypeOf(builder, proto); + builder[GENERATOR] = self; + builder[STYLER] = _styler; + builder[IS_EMPTY] = _isEmpty; + return builder; +}; +var applyStyle = (self, string) => { + if (self.level <= 0 || !string) { + return self[IS_EMPTY] ? "" : string; + } + let styler = self[STYLER]; + if (styler === void 0) { + return string; + } + const { openAll, closeAll } = styler; + if (string.includes("\x1B")) { + while (styler !== void 0) { + string = stringReplaceAll2(string, styler.close, styler.open); + styler = styler.parent; + } + } + const lfIndex = string.indexOf("\n"); + if (lfIndex !== -1) { + string = stringEncaseCRLFWithFirstIndex(string, closeAll, openAll, lfIndex); + } + return openAll + string + closeAll; +}; +Object.defineProperties(createChalk.prototype, styles2); +var chalk = createChalk(); +var chalkStderr = createChalk({ level: stderrColor ? stderrColor.level : 0 }); +var source_default = chalk; // node_modules/leven/index.js var array = []; @@ -5729,7 +2570,7 @@ var Context = class { popContextPlugins() { __privateGet(this, _stack).pop(); Object.assign(this, at_default( - /* isOptionalObject*/ + /* isOptionalObject */ false, __privateGet(this, _stack), -1 @@ -5756,174 +2597,83 @@ var Context = class { const { PRETTIER_PERF_REPEAT } = process.env; - if (PRETTIER_PERF_REPEAT && /^\d+$/.test(PRETTIER_PERF_REPEAT)) { + if (PRETTIER_PERF_REPEAT && /^\d+$/u.test(PRETTIER_PERF_REPEAT)) { return { - name: "PRETTIER_PERF_REPEAT (environment variable)", - debugRepeat: Number(PRETTIER_PERF_REPEAT) - }; - } - } -}; -_stack = new WeakMap(); -var context_default = Context; - -// src/cli/constants.evaluate.js -var categoryOrder = [ - "Output", - "Format", - "Config", - "Editor", - "Other" -]; -var usageSummary = "Usage: prettier [options] [file/dir/glob ...]\n\nBy default, output is written to stdout.\nStdin is read if it is piped to Prettier and no files are given."; - -// src/cli/usage.js -var OPTION_USAGE_THRESHOLD = 25; -var CHOICE_USAGE_MARGIN = 3; -var CHOICE_USAGE_INDENTATION = 2; -function indent(str, spaces) { - return string_replace_all_default( - /* isOptionalObject*/ - false, - str, - /^/gm, - " ".repeat(spaces) - ); -} -function createDefaultValueDisplay(value) { - return Array.isArray(value) ? `[${value.map(createDefaultValueDisplay).join(", ")}]` : value; -} -function getOptionDefaultValue(context, optionName) { - var _a; - const option = context.detailedOptions.find(({ - name - }) => name === optionName); - if ((option == null ? void 0 : option.default) !== void 0) { - return option.default; - } - const optionCamelName = camelCase(optionName); - return formatOptionsHiddenDefaults[optionCamelName] ?? ((_a = context.supportOptions.find((option2) => !option2.deprecated && option2.name === optionCamelName)) == null ? void 0 : _a.default); -} -function createOptionUsageHeader(option) { - const name = `--${option.name}`; - const alias = option.alias ? `-${option.alias},` : null; - const type = createOptionUsageType(option); - return [alias, name, type].filter(Boolean).join(" "); -} -function createOptionUsageRow(header, content, threshold) { - const separator = header.length >= threshold ? ` -${" ".repeat(threshold)}` : " ".repeat(threshold - header.length); - const description = string_replace_all_default( - /* isOptionalObject*/ - false, - content, - "\n", - ` -${" ".repeat(threshold)}` - ); - return `${header}${separator}${description}`; -} -function createOptionUsageType(option) { - switch (option.type) { - case "boolean": - return null; - case "choice": - return `<${option.choices.filter((choice) => !choice.deprecated).map((choice) => choice.value).join("|")}>`; - default: - return `<${option.type}>`; + name: "PRETTIER_PERF_REPEAT (environment variable)", + debugRepeat: Number(PRETTIER_PERF_REPEAT) + }; + } } -} -function createChoiceUsages(choices, margin, indentation) { - const activeChoices = choices.filter((choice) => !choice.deprecated); - const threshold = Math.max(0, ...activeChoices.map((choice) => choice.value.length)) + margin; - return activeChoices.map((choice) => indent(createOptionUsageRow(choice.value, choice.description, threshold), indentation)); -} -function createOptionUsage(context, option, threshold) { - const header = createOptionUsageHeader(option); - const optionDefaultValue = getOptionDefaultValue(context, option.name); - return createOptionUsageRow(header, `${option.description}${optionDefaultValue === void 0 ? "" : ` -Defaults to ${createDefaultValueDisplay(optionDefaultValue)}.`}`, threshold); -} -function getOptionsWithOpposites(options) { - const optionsWithOpposites = options.map((option) => [option.description ? option : null, option.oppositeDescription ? { - ...option, - name: `no-${option.name}`, - type: "boolean", - description: option.oppositeDescription - } : null]); - return optionsWithOpposites.flat().filter(Boolean); -} -function createUsage(context) { - const sortedOptions = context.detailedOptions.sort((optionA, optionB) => optionA.name.localeCompare(optionB.name)); - const options = getOptionsWithOpposites(sortedOptions).filter( - // remove unnecessary option (e.g. `semi`, `color`, etc.), which is only used for --help - (option) => !(option.type === "boolean" && option.oppositeDescription && !option.name.startsWith("no-")) - ); - const groupedOptions = groupBy(options, (option) => option.category); - const firstCategories = categoryOrder.slice(0, -1); - const lastCategories = categoryOrder.slice(-1); - const restCategories = Object.keys(groupedOptions).filter((category) => !categoryOrder.includes(category)); - const allCategories = [...firstCategories, ...restCategories, ...lastCategories]; - const optionsUsage = allCategories.map((category) => { - const categoryOptions = groupedOptions[category].map((option) => createOptionUsage(context, option, OPTION_USAGE_THRESHOLD)).join("\n"); - return `${category} options: +}; +_stack = new WeakMap(); +var context_default = Context; -${indent(categoryOptions, 2)}`; +// src/cli/file-info.js +var import_fast_json_stable_stringify = __toESM(require_fast_json_stable_stringify(), 1); +import { format, getFileInfo } from "../index.mjs"; +async function logFileInfoOrDie(context) { + const { + fileInfo: file, + ignorePath, + withNodeModules, + plugins, + config + } = context.argv; + const fileInfo = await getFileInfo(file, { + ignorePath, + withNodeModules, + plugins, + resolveConfig: config !== false }); - return [usageSummary, ...optionsUsage, ""].join("\n\n"); -} -function createPluginDefaults(pluginDefaults) { - if (!pluginDefaults || Object.keys(pluginDefaults).length === 0) { - return ""; - } - const defaults = Object.entries(pluginDefaults).sort(([pluginNameA], [pluginNameB]) => pluginNameA.localeCompare(pluginNameB)).map(([plugin, value]) => `* ${plugin}: ${createDefaultValueDisplay(value)}`).join("\n"); - return ` -Plugin defaults: -${defaults}`; + printToScreen(await format((0, import_fast_json_stable_stringify.default)(fileInfo), { parser: "json" })); } -function createDetailedUsage(context, flag) { - const option = getOptionsWithOpposites(context.detailedOptions).find((option2) => option2.name === flag || option2.alias === flag); - const header = createOptionUsageHeader(option); - const description = ` - -${indent(option.description, 2)}`; - const choices = option.type !== "choice" ? "" : ` - -Valid options: - -${createChoiceUsages(option.choices, CHOICE_USAGE_MARGIN, CHOICE_USAGE_INDENTATION).join("\n")}`; - const optionDefaultValue = getOptionDefaultValue(context, option.name); - const defaults = optionDefaultValue !== void 0 ? ` +var file_info_default = logFileInfoOrDie; -Default: ${createDefaultValueDisplay(optionDefaultValue)}` : ""; - const pluginDefaults = createPluginDefaults(option.pluginDefaults); - return `${header}${description}${choices}${defaults}${pluginDefaults}`; +// src/cli/find-config-path.js +import path2 from "path"; +import { resolveConfigFile } from "../index.mjs"; +async function logResolvedConfigPathOrDie(context) { + const file = context.argv.findConfigPath; + const configFile = await resolveConfigFile(file); + if (configFile) { + printToScreen(normalizeToPosix(path2.relative(process.cwd(), configFile))); + } else { + throw new Error(`Can not find configure file for "${file}".`); + } } +var find_config_path_default = logResolvedConfigPathOrDie; // src/cli/format.js import fs5 from "fs/promises"; -import path8 from "path"; -var import_diff = __toESM(require_create(), 1); +import path9 from "path"; import * as prettier from "../index.mjs"; -import mockable2 from "./internal.mjs"; // src/cli/expand-patterns.js -import path2 from "path"; +import path3 from "path"; async function* expandPatterns(context) { const seen = /* @__PURE__ */ new Set(); let noResults = true; - for await (const pathOrError of expandPatternsInternal(context)) { + for await (const { + filePath, + ignoreUnknown, + error + } of expandPatternsInternal(context)) { noResults = false; - if (typeof pathOrError !== "string") { - yield pathOrError; + if (error) { + yield { + error + }; continue; } - const fileName = path2.resolve(pathOrError); - if (seen.has(fileName)) { + const filename = path3.resolve(filePath); + if (seen.has(filename)) { continue; } - seen.add(fileName); - yield fileName; + seen.add(filename); + yield { + filename, + ignoreUnknown + }; } if (noResults && context.argv.errorOnUnmatchedPattern !== false) { yield { @@ -5941,20 +2691,23 @@ async function* expandPatternsInternal(context) { ignore: silentlyIgnoredDirs.map((dir) => "**/" + dir), followSymbolicLinks: false }; - let supportedFilesGlob; const cwd2 = process.cwd(); const entries = []; for (const pattern of context.filePatterns) { - const absolutePath = path2.resolve(cwd2, pattern); + const absolutePath = path3.resolve(cwd2, pattern); if (containsIgnoredPathSegment(absolutePath, cwd2, silentlyIgnoredDirs)) { continue; } const stat = await lstatSafe(absolutePath); if (stat) { if (stat.isSymbolicLink()) { - yield { - error: `Explicitly specified pattern "${pattern}" is a symbolic link.` - }; + if (context.argv.errorOnUnmatchedPattern !== false) { + yield { + error: `Explicitly specified pattern "${pattern}" is a symbolic link.` + }; + } else { + context.logger.debug(`Skipping pattern "${pattern}", as it is a symbolic link.`); + } } else if (stat.isFile()) { entries.push({ type: "file", @@ -5962,11 +2715,13 @@ async function* expandPatternsInternal(context) { input: pattern }); } else if (stat.isDirectory()) { - const relativePath = path2.relative(cwd2, absolutePath) || "."; + const relativePath = path3.relative(cwd2, absolutePath) || "."; + const prefix = escapePathForGlob(fixWindowsSlashes(relativePath)); entries.push({ type: "dir", - glob: escapePathForGlob(fixWindowsSlashes(relativePath)) + "/" + getSupportedFilesGlob(), - input: pattern + glob: `${prefix}/**/*`, + input: pattern, + ignoreUnknown: true }); } } else if (pattern[0] === "!") { @@ -5982,7 +2737,8 @@ async function* expandPatternsInternal(context) { for (const { type, glob, - input + input, + ignoreUnknown } of entries) { let result; try { @@ -6002,257 +2758,81 @@ ${message}` error: `${errorMessages.emptyResults[type]}: "${input}".` }; } - } else { - yield* sortPaths(result); - } - } - function getSupportedFilesGlob() { - if (!supportedFilesGlob) { - const extensions = context.languages.flatMap((lang) => lang.extensions || []); - const filenames = context.languages.flatMap((lang) => lang.filenames || []); - supportedFilesGlob = `**/{${[...extensions.map((ext) => "*" + (ext[0] === "." ? ext : "." + ext)), ...filenames]}}`; - } - return supportedFilesGlob; - } -} -var errorMessages = { - globError: { - file: "Unable to resolve file", - dir: "Unable to expand directory", - glob: "Unable to expand glob pattern" - }, - emptyResults: { - file: "Explicitly specified file was ignored due to negative glob patterns", - dir: "No supported files were found in the directory", - glob: "No files matching the pattern were found" - } -}; -function containsIgnoredPathSegment(absolutePath, cwd2, ignoredDirectories) { - return path2.relative(cwd2, absolutePath).split(path2.sep).some((dir) => ignoredDirectories.includes(dir)); -} -function sortPaths(paths) { - return paths.sort((a, b) => a.localeCompare(b)); -} -function escapePathForGlob(path10) { - return string_replace_all_default( - /* isOptionalObject*/ - false, - string_replace_all_default( - /* isOptionalObject*/ - false, - fastGlob.escapePath( - string_replace_all_default( - /* isOptionalObject*/ - false, - path10, - "\\", - "\0" - ) - // Workaround for fast-glob#262 (part 1) - ), - "\\!", - "@(!)" - ), - "\0", - "@(\\\\)" - ); -} -var fixWindowsSlashes = normalizeToPosix; - -// src/cli/options/get-options-for-file.js -var import_dashify2 = __toESM(require_dashify(), 1); -import { resolveConfig } from "../index.mjs"; -function getOptions(argv, detailedOptions) { - return Object.fromEntries( - detailedOptions.filter(({ forwardToApi }) => forwardToApi).map(({ forwardToApi, name }) => [forwardToApi, argv[name]]) - ); -} -function cliifyOptions(object, apiDetailedOptionMap) { - return Object.fromEntries( - Object.entries(object || {}).map(([key, value]) => { - const apiOption = apiDetailedOptionMap[key]; - const cliKey = apiOption ? apiOption.name : key; - return [(0, import_dashify2.default)(cliKey), value]; - }) - ); -} -function createApiDetailedOptionMap(detailedOptions) { - return Object.fromEntries( - detailedOptions.filter( - (option) => option.forwardToApi && option.forwardToApi !== option.name - ).map((option) => [option.forwardToApi, option]) - ); -} -function parseArgsToOptions(context, overrideDefaults) { - const minimistOptions = createMinimistOptions(context.detailedOptions); - const apiDetailedOptionMap = createApiDetailedOptionMap( - context.detailedOptions - ); - return getOptions( - normalize_cli_options_default( - minimistParse(context.rawArguments, { - string: minimistOptions.string, - boolean: minimistOptions.boolean, - default: cliifyOptions(overrideDefaults, apiDetailedOptionMap) - }), - context.detailedOptions, - { logger: false } - ), - context.detailedOptions - ); -} -async function getOptionsOrDie(context, filePath) { - try { - if (context.argv.config === false) { - context.logger.debug( - "'--no-config' option found, skip loading config file." - ); - return null; - } - context.logger.debug( - context.argv.config ? `load config file from '${context.argv.config}'` : `resolve config from '${filePath}'` - ); - const options = await resolveConfig(filePath, { - editorconfig: context.argv.editorconfig, - config: context.argv.config - }); - context.logger.debug("loaded options `" + JSON.stringify(options) + "`"); - return options; - } catch (error) { - context.logger.error( - `Invalid configuration for file "${filePath}": -` + error.message - ); - process.exit(2); - } -} -function applyConfigPrecedence(context, options) { - try { - switch (context.argv.configPrecedence) { - case "cli-override": - return parseArgsToOptions(context, options); - case "file-override": - return { ...parseArgsToOptions(context), ...options }; - case "prefer-file": - return options || parseArgsToOptions(context); - } - } catch (error) { - context.logger.error(error.toString()); - process.exit(2); - } -} -async function getOptionsForFile(context, filepath) { - const options = await getOptionsOrDie(context, filepath); - const hasPlugins = options == null ? void 0 : options.plugins; - if (hasPlugins) { - await context.pushContextPlugins(options.plugins); - } - const appliedOptions = { - filepath, - ...applyConfigPrecedence( - context, - options && normalizeOptions(options, context.supportOptions, { - logger: context.logger - }) - ) - }; - context.logger.debug( - `applied config-precedence (${context.argv.configPrecedence}): ${JSON.stringify(appliedOptions)}` - ); - if (hasPlugins) { - context.popContextPlugins(); + } else { + yield* sortPaths(result).map((filePath) => ({ + filePath, + ignoreUnknown + })); + } } - return appliedOptions; } -var get_options_for_file_default = getOptionsForFile; - -// src/cli/is-tty.js -import mockable from "./internal.mjs"; -function isTTY() { - return process.stdout.isTTY && !mockable.isCI(); +var errorMessages = { + globError: { + file: "Unable to resolve file", + dir: "Unable to expand directory", + glob: "Unable to expand glob pattern" + }, + emptyResults: { + file: "Explicitly specified file was ignored due to negative glob patterns", + dir: "No supported files were found in the directory", + glob: "No files matching the pattern were found" + } +}; +function containsIgnoredPathSegment(absolutePath, cwd2, ignoredDirectories) { + return path3.relative(cwd2, absolutePath).split(path3.sep).some((dir) => ignoredDirectories.includes(dir)); +} +function sortPaths(paths) { + return paths.sort((a, b) => a.localeCompare(b)); +} +function escapePathForGlob(path10) { + return string_replace_all_default( + /* isOptionalObject */ + false, + string_replace_all_default( + /* isOptionalObject */ + false, + fastGlob.escapePath( + string_replace_all_default( + /* isOptionalObject */ + false, + path10, + "\\", + "\0" + ) + // Workaround for fast-glob#262 (part 1) + ), + String.raw`\!`, + "@(!)" + ), + "\0", + String.raw`@(\\)` + ); } +var fixWindowsSlashes = normalizeToPosix; // src/cli/find-cache-file.js import fs4 from "fs/promises"; import os2 from "os"; -import path7 from "path"; +import path8 from "path"; // node_modules/find-cache-dir/index.js var import_common_path_prefix = __toESM(require_common_path_prefix(), 1); import process4 from "process"; -import path6 from "path"; +import path7 from "path"; import fs3 from "fs"; // node_modules/pkg-dir/index.js -import path5 from "path"; +import path6 from "path"; // node_modules/pkg-dir/node_modules/find-up/index.js -import path4 from "path"; +import path5 from "path"; import { fileURLToPath as fileURLToPath2 } from "url"; // node_modules/pkg-dir/node_modules/locate-path/index.js import process3 from "process"; -import path3 from "path"; +import path4 from "path"; import fs2, { promises as fsPromises } from "fs"; import { fileURLToPath } from "url"; - -// node_modules/pkg-dir/node_modules/yocto-queue/index.js -var Node = class { - value; - next; - constructor(value) { - this.value = value; - } -}; -var _head, _tail, _size; -var Queue = class { - constructor() { - __privateAdd(this, _head, void 0); - __privateAdd(this, _tail, void 0); - __privateAdd(this, _size, void 0); - this.clear(); - } - enqueue(value) { - const node = new Node(value); - if (__privateGet(this, _head)) { - __privateGet(this, _tail).next = node; - __privateSet(this, _tail, node); - } else { - __privateSet(this, _head, node); - __privateSet(this, _tail, node); - } - __privateWrapper(this, _size)._++; - } - dequeue() { - const current = __privateGet(this, _head); - if (!current) { - return; - } - __privateSet(this, _head, __privateGet(this, _head).next); - __privateWrapper(this, _size)._--; - return current.value; - } - clear() { - __privateSet(this, _head, void 0); - __privateSet(this, _tail, void 0); - __privateSet(this, _size, 0); - } - get size() { - return __privateGet(this, _size); - } - *[Symbol.iterator]() { - let current = __privateGet(this, _head); - while (current) { - yield current.value; - current = current.next; - } - } -}; -_head = new WeakMap(); -_tail = new WeakMap(); -_size = new WeakMap(); - -// node_modules/pkg-dir/node_modules/locate-path/index.js var typeMappings = { directory: "isDirectory", file: "isFile" @@ -6275,7 +2855,7 @@ function locatePathSync(paths, { const statFunction = allowSymlinks ? fs2.statSync : fs2.lstatSync; for (const path_ of paths) { try { - const stat = statFunction(path3.resolve(cwd2, path_), { + const stat = statFunction(path4.resolve(cwd2, path_), { throwIfNoEntry: false }); if (!stat) { @@ -6293,8 +2873,8 @@ function locatePathSync(paths, { var toPath2 = (urlOrPath) => urlOrPath instanceof URL ? fileURLToPath2(urlOrPath) : urlOrPath; var findUpStop = Symbol("findUpStop"); function findUpMultipleSync(name, options = {}) { - let directory = path4.resolve(toPath2(options.cwd) || ""); - const { root } = path4.parse(directory); + let directory = path5.resolve(toPath2(options.cwd) || ""); + const { root } = path5.parse(directory); const stopAt = options.stopAt || root; const limit = options.limit || Number.POSITIVE_INFINITY; const paths = [name].flat(); @@ -6315,12 +2895,12 @@ function findUpMultipleSync(name, options = {}) { break; } if (foundPath) { - matches.push(path4.resolve(directory, foundPath)); + matches.push(path5.resolve(directory, foundPath)); } if (directory === stopAt || matches.length >= limit) { break; } - directory = path4.dirname(directory); + directory = path5.dirname(directory); } return matches; } @@ -6332,7 +2912,7 @@ function findUpSync(name, options = {}) { // node_modules/pkg-dir/index.js function packageDirectorySync({ cwd: cwd2 } = {}) { const filePath = findUpSync("package.json", { cwd: cwd2 }); - return filePath && path5.dirname(filePath); + return filePath && path6.dirname(filePath); } // node_modules/find-cache-dir/index.js @@ -6349,25 +2929,25 @@ function useDirectory(directory, options) { if (options.create) { fs3.mkdirSync(directory, { recursive: true }); } - if (options.thunk) { - return (...arguments_) => path6.join(directory, ...arguments_); - } return directory; } function getNodeModuleDirectory(directory) { - const nodeModules = path6.join(directory, "node_modules"); - if (!isWritable(nodeModules) && (fs3.existsSync(nodeModules) || !isWritable(path6.join(directory)))) { + const nodeModules = path7.join(directory, "node_modules"); + if (!isWritable(nodeModules) && (fs3.existsSync(nodeModules) || !isWritable(path7.join(directory)))) { return; } return nodeModules; } function findCacheDirectory(options = {}) { if (env2.CACHE_DIR && !["true", "false", "1", "0"].includes(env2.CACHE_DIR)) { - return useDirectory(path6.join(env2.CACHE_DIR, options.name), options); + return useDirectory(path7.join(env2.CACHE_DIR, options.name), options); } - let { cwd: directory = cwd() } = options; - if (options.files) { - directory = (0, import_common_path_prefix.default)(options.files.map((file) => path6.resolve(directory, file))); + let { cwd: directory = cwd(), files } = options; + if (files) { + if (!Array.isArray(files)) { + throw new TypeError(`Expected \`files\` option to be an array, got \`${typeof files}\`.`); + } + directory = (0, import_common_path_prefix.default)(files.map((file) => path7.resolve(directory, file))); } directory = packageDirectorySync({ cwd: directory }); if (!directory) { @@ -6377,17 +2957,17 @@ function findCacheDirectory(options = {}) { if (!nodeModules) { return; } - return useDirectory(path6.join(directory, "node_modules", ".cache", options.name), options); + return useDirectory(path7.join(directory, "node_modules", ".cache", options.name), options); } // src/cli/find-cache-file.js function findDefaultCacheFile() { const cacheDir = findCacheDirectory({ name: "prettier", create: true }) || os2.tmpdir(); - const cacheFilePath = path7.join(cacheDir, ".prettier-cache"); + const cacheFilePath = path8.join(cacheDir, ".prettier-cache"); return cacheFilePath; } async function findCacheFileFromOption(cacheLocation) { - const cacheFile = path7.resolve(cacheLocation); + const cacheFile = path8.resolve(cacheLocation); const stat = await statSafe(cacheFile); if (stat) { if (stat.isDirectory()) { @@ -6412,8 +2992,8 @@ async function findCacheFile(cacheLocation) { var find_cache_file_default = findCacheFile; // src/cli/format-results-cache.js +var import_fast_json_stable_stringify2 = __toESM(require_fast_json_stable_stringify(), 1); var import_file_entry_cache = __toESM(require_cache2(), 1); -var import_fast_json_stable_stringify = __toESM(require_fast_json_stable_stringify(), 1); import { version as prettierVersion } from "../index.mjs"; var optionsHashCache = /* @__PURE__ */ new WeakMap(); var nodeVersion = process.version; @@ -6422,7 +3002,7 @@ function getHashOfOptions(options) { return optionsHashCache.get(options); } const hash = createHash( - `${prettierVersion}_${nodeVersion}_${(0, import_fast_json_stable_stringify.default)(options)}` + `${prettierVersion}_${nodeVersion}_${(0, import_fast_json_stable_stringify2.default)(options)}` ); optionsHashCache.set(options, hash); return hash; @@ -6437,7 +3017,7 @@ var FormatResultsCache = class { * @param {string} cacheStrategy */ constructor(cacheFileLocation, cacheStrategy) { - __privateAdd(this, _fileEntryCache, void 0); + __privateAdd(this, _fileEntryCache); const useChecksum = cacheStrategy === "content"; __privateSet(this, _fileEntryCache, import_file_entry_cache.default.create( /* cacheId */ @@ -6485,25 +3065,138 @@ var FormatResultsCache = class { _fileEntryCache = new WeakMap(); var format_results_cache_default = FormatResultsCache; +// src/cli/is-tty.js +function isTTY() { + return process.stdout.isTTY && !mockable.isCI(); +} + +// src/cli/options/get-options-for-file.js +var import_dashify2 = __toESM(require_dashify(), 1); +import { resolveConfig } from "../index.mjs"; +function getOptions(argv, detailedOptions) { + return Object.fromEntries( + detailedOptions.filter(({ forwardToApi }) => forwardToApi).map(({ forwardToApi, name }) => [forwardToApi, argv[name]]) + ); +} +function cliifyOptions(object, apiDetailedOptionMap) { + return Object.fromEntries( + Object.entries(object || {}).map(([key, value]) => { + const apiOption = apiDetailedOptionMap[key]; + const cliKey = apiOption ? apiOption.name : key; + return [(0, import_dashify2.default)(cliKey), value]; + }) + ); +} +function createApiDetailedOptionMap(detailedOptions) { + return Object.fromEntries( + detailedOptions.filter( + (option) => option.forwardToApi && option.forwardToApi !== option.name + ).map((option) => [option.forwardToApi, option]) + ); +} +function parseArgsToOptions(context, overrideDefaults) { + const minimistOptions = createMinimistOptions(context.detailedOptions); + const apiDetailedOptionMap = createApiDetailedOptionMap( + context.detailedOptions + ); + return getOptions( + normalize_cli_options_default( + minimistParse(context.rawArguments, { + string: minimistOptions.string, + boolean: minimistOptions.boolean, + default: cliifyOptions(overrideDefaults, apiDetailedOptionMap) + }), + context.detailedOptions, + { logger: false } + ), + context.detailedOptions + ); +} +async function getOptionsOrDie(context, filePath) { + try { + if (context.argv.config === false) { + context.logger.debug( + "'--no-config' option found, skip loading config file." + ); + return null; + } + context.logger.debug( + context.argv.config ? `load config file from '${context.argv.config}'` : `resolve config from '${filePath}'` + ); + const options = await resolveConfig(filePath, { + editorconfig: context.argv.editorconfig, + config: context.argv.config + }); + context.logger.debug("loaded options `" + JSON.stringify(options) + "`"); + return options; + } catch (error) { + context.logger.error( + `Invalid configuration${filePath ? ` for file "${filePath}"` : ""}: +` + error.message + ); + process.exit(2); + } +} +function applyConfigPrecedence(context, options) { + try { + switch (context.argv.configPrecedence) { + case "cli-override": + return parseArgsToOptions(context, options); + case "file-override": + return { ...parseArgsToOptions(context), ...options }; + case "prefer-file": + return options || parseArgsToOptions(context); + } + } catch (error) { + context.logger.error(error.toString()); + process.exit(2); + } +} +async function getOptionsForFile(context, filepath) { + const options = await getOptionsOrDie(context, filepath); + const hasPlugins = options == null ? void 0 : options.plugins; + if (hasPlugins) { + await context.pushContextPlugins(options.plugins); + } + const appliedOptions = { + filepath, + ...applyConfigPrecedence( + context, + options && normalizeOptions(options, context.supportOptions, { + logger: context.logger + }) + ) + }; + context.logger.debug( + `applied config-precedence (${context.argv.configPrecedence}): ${JSON.stringify(appliedOptions)}` + ); + if (hasPlugins) { + context.popContextPlugins(); + } + return appliedOptions; +} +var get_options_for_file_default = getOptionsForFile; + // src/cli/format.js -var { getStdin, writeFormattedFile } = mockable2; +var { getStdin, writeFormattedFile } = mockable; function diff(a, b) { - return (0, import_diff.createTwoFilesPatch)("", "", a, b, "", "", { context: 2 }); + return createTwoFilesPatch("", "", a, b, "", "", { context: 2 }); } var DebugError = class extends Error { name = "DebugError"; }; -function handleError(context, filename, error, printedFilename) { +function handleError(context, filename, error, printedFilename, ignoreUnknown) { + ignoreUnknown || (ignoreUnknown = context.argv.ignoreUnknown); const errorIsUndefinedParseError = error instanceof errors.UndefinedParserError; if (printedFilename) { - if ((context.argv.write || context.argv.ignoreUnknown) && errorIsUndefinedParseError) { + if ((context.argv.write || ignoreUnknown) && errorIsUndefinedParseError) { printedFilename.clear(); } else { process.stdout.write("\n"); } } if (errorIsUndefinedParseError) { - if (context.argv.ignoreUnknown) { + if (ignoreUnknown) { return; } if (!context.argv.check && !context.argv.listDifferent) { @@ -6513,7 +3206,7 @@ function handleError(context, filename, error, printedFilename) { return; } const isParseError = Boolean(error == null ? void 0 : error.loc); - const isValidationError = /^Invalid \S+ value\./.test(error == null ? void 0 : error.message); + const isValidationError = /^Invalid \S+ value\./u.test(error == null ? void 0 : error.message); if (isParseError) { context.logger.error(`${filename}: ${String(error)}`); } else if (isValidationError || error instanceof errors.ConfigError) { @@ -6548,7 +3241,7 @@ async function listDifferent(context, input, options, filename) { } return true; } -async function format2(context, input, opt) { +async function format3(context, input, opt) { if (context.argv.debugPrintDoc) { const doc = await prettier.__debug.printToDoc(input, opt); return { formatted: await prettier.__debug.formatDoc(doc) + "\n" }; @@ -6646,7 +3339,11 @@ async function format2(context, input, opt) { ms: averageMs }; context.logger.debug( - `'${performanceTestFlag.name}' measurements for formatWithCursor: ${JSON.stringify(results, null, 2)}` + `'${performanceTestFlag.name}' measurements for formatWithCursor: ${JSON.stringify( + results, + null, + 2 + )}` ); } return prettier.formatWithCursor(input, opt); @@ -6677,12 +3374,12 @@ async function formatStdin(context) { } const options = await get_options_for_file_default( context, - filepath ? path8.resolve(process.cwd(), filepath) : process.cwd() + filepath ? path9.resolve(filepath) : void 0 ); if (await listDifferent(context, input, options, "(stdin)")) { return; } - const formatted = await format2(context, input, options); + const formatted = await format3(context, input, options); const { performanceTestFlag } = context; if (performanceTestFlag) { context.logger.log( @@ -6710,27 +3407,20 @@ async function formatFiles(context) { cacheFilePath, context.argv.cacheStrategy || "content" ); - } else { - if (context.argv.cacheStrategy) { - context.logger.error( - "`--cache-strategy` cannot be used without `--cache`." - ); - process.exit(2); - } - if (!context.argv.cacheLocation) { - const stat = await statSafe(cacheFilePath); - if (stat) { - await fs5.unlink(cacheFilePath); - } + } else if (!context.argv.cacheLocation) { + const stat = await statSafe(cacheFilePath); + if (stat) { + await fs5.unlink(cacheFilePath); } } - for await (const pathOrError of expandPatterns(context)) { - if (typeof pathOrError === "object") { - context.logger.error(pathOrError.error); + for await (const { error, filename, ignoreUnknown } of expandPatterns( + context + )) { + if (error) { + context.logger.error(error); process.exitCode = 2; continue; } - const filename = pathOrError; const isFileIgnored = isIgnored(filename); if (isFileIgnored && (context.argv.debugCheck || context.argv.write || context.argv.check || context.argv.listDifferent)) { continue; @@ -6739,7 +3429,7 @@ async function formatFiles(context) { ...await get_options_for_file_default(context, filename), filepath: filename }; - const fileNameToDisplay = normalizeToPosix(path8.relative(cwd2, filename)); + const fileNameToDisplay = normalizeToPosix(path9.relative(cwd2, filename)); let printedFilename; if (isTTY()) { printedFilename = context.logger.log(fileNameToDisplay, { @@ -6750,11 +3440,11 @@ async function formatFiles(context) { let input; try { input = await fs5.readFile(filename, "utf8"); - } catch (error) { + } catch (error2) { context.logger.log(""); context.logger.error( `Unable to read file "${fileNameToDisplay}": -${error.message}` +${error2.message}` ); process.exitCode = 2; continue; @@ -6775,11 +3465,17 @@ ${error.message}` if (isCacheExists) { result = { formatted: input }; } else { - result = await format2(context, input, options); + result = await format3(context, input, options); } output = result.formatted; - } catch (error) { - handleError(context, fileNameToDisplay, error, printedFilename); + } catch (error2) { + handleError( + context, + fileNameToDisplay, + error2, + printedFilename, + ignoreUnknown + ); continue; } const isDifferent = output !== input; @@ -6799,15 +3495,15 @@ ${error.message}` try { await writeFormattedFile(filename, output); shouldSetCache = true; - } catch (error) { + } catch (error2) { context.logger.error( `Unable to write file "${fileNameToDisplay}": -${error.message}` +${error2.message}` ); process.exitCode = 2; } } else if (!context.argv.check && !context.argv.listDifferent) { - const message = `${source_default.grey(fileNameToDisplay)} ${Date.now() - start}ms`; + const message = `${source_default.grey(fileNameToDisplay)} ${Date.now() - start}ms (unchanged)`; if (isCacheExists) { context.logger.log(`${message} (cached)`); } else { @@ -6823,74 +3519,143 @@ ${error.message}` } else if (!context.argv.check && !context.argv.listDifferent) { writeOutput(context, result, options); } - if (shouldSetCache) { - formatResultsCache == null ? void 0 : formatResultsCache.setFormatResultsCache(filename, options); - } else { - formatResultsCache == null ? void 0 : formatResultsCache.removeFormatResultsCache(filename); + if (shouldSetCache) { + formatResultsCache == null ? void 0 : formatResultsCache.setFormatResultsCache(filename, options); + } else { + formatResultsCache == null ? void 0 : formatResultsCache.removeFormatResultsCache(filename); + } + if (isDifferent) { + if (context.argv.check) { + context.logger.warn(fileNameToDisplay); + } else if (context.argv.listDifferent) { + context.logger.log(fileNameToDisplay); + } + numberOfUnformattedFilesFound += 1; + } + } + formatResultsCache == null ? void 0 : formatResultsCache.reconcile(); + if (context.argv.check) { + if (numberOfUnformattedFilesFound === 0) { + context.logger.log("All matched files use Prettier code style!"); + } else { + const files = numberOfUnformattedFilesFound === 1 ? "the above file" : `${numberOfUnformattedFilesFound} files`; + context.logger.warn( + context.argv.write ? `Code style issues fixed in ${files}.` : `Code style issues found in ${files}. Run Prettier with --write to fix.` + ); + } + } + if ((context.argv.check || context.argv.listDifferent) && numberOfUnformattedFilesFound > 0 && !process.exitCode && !context.argv.write) { + process.exitCode = 1; + } +} + +// src/cli/logger.js +import readline from "readline"; + +// node_modules/ansi-regex/index.js +function ansiRegex({ onlyFirst = false } = {}) { + const pattern = [ + "[\\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(pattern, onlyFirst ? void 0 : "g"); +} + +// node_modules/strip-ansi/index.js +var regex = ansiRegex(); +function stripAnsi(string) { + if (typeof string !== "string") { + throw new TypeError(`Expected a \`string\`, got \`${typeof string}\``); + } + return string.replace(regex, ""); +} + +// src/cli/logger.js +var import_wcwidth = __toESM(require_wcwidth(), 1); +var countLines = (stream, text) => { + const columns = stream.columns || 80; + let lineCount = 0; + for (const line of stripAnsi(text).split("\n")) { + lineCount += Math.max(1, Math.ceil((0, import_wcwidth.default)(line) / columns)); + } + return lineCount; +}; +var clear = (stream, text) => () => { + const lineCount = countLines(stream, text); + for (let line = 0; line < lineCount; line++) { + if (line > 0) { + readline.moveCursor(stream, 0, -1); + } + readline.clearLine(stream, 0); + readline.cursorTo(stream, 0); + } +}; +var emptyLogResult = { + clear() { + } +}; +function createLogger(logLevel = "log") { + return { + logLevel, + warn: createLogFunc("warn", "yellow"), + error: createLogFunc("error", "red"), + debug: createLogFunc("debug", "blue"), + log: createLogFunc("log") + }; + function createLogFunc(loggerName, color) { + if (!shouldLog(loggerName)) { + return () => emptyLogResult; } - if (isDifferent) { - if (context.argv.check) { - context.logger.warn(fileNameToDisplay); - } else if (context.argv.listDifferent) { - context.logger.log(fileNameToDisplay); + const stream = process[loggerName === "log" ? "stdout" : "stderr"]; + const chalkInstance = loggerName === "log" ? source_default : chalkStderr; + const prefix = color ? `[${chalkInstance[color](loggerName)}] ` : ""; + return (message, options) => { + options = { + newline: true, + clearable: false, + ...options + }; + message = string_replace_all_default( + /* isOptionalObject */ + false, + message, + /^/gmu, + prefix + ) + (options.newline ? "\n" : ""); + stream.write(message); + if (options.clearable) { + return { + clear: clear(stream, message) + }; } - numberOfUnformattedFilesFound += 1; - } + }; } - formatResultsCache == null ? void 0 : formatResultsCache.reconcile(); - if (context.argv.check) { - if (numberOfUnformattedFilesFound === 0) { - context.logger.log("All matched files use Prettier code style!"); - } else { - const files = numberOfUnformattedFilesFound === 1 ? "the above file" : `${numberOfUnformattedFilesFound} files`; - context.logger.warn( - context.argv.write ? `Code style issues fixed in ${files}.` : `Code style issues found in ${files}. Run Prettier to fix.` - ); + function shouldLog(loggerName) { + switch (logLevel) { + case "silent": + return false; + case "debug": + if (loggerName === "debug") { + return true; + } + case "log": + if (loggerName === "log") { + return true; + } + case "warn": + if (loggerName === "warn") { + return true; + } + case "error": + return loggerName === "error"; } } - if ((context.argv.check || context.argv.listDifferent) && numberOfUnformattedFilesFound > 0 && !process.exitCode && !context.argv.write) { - process.exitCode = 1; - } -} - -// src/cli/file-info.js -var import_fast_json_stable_stringify2 = __toESM(require_fast_json_stable_stringify(), 1); -import { format as format3, getFileInfo } from "../index.mjs"; -async function logFileInfoOrDie(context) { - const { - fileInfo: file, - ignorePath, - withNodeModules, - plugins, - config - } = context.argv; - const fileInfo = await getFileInfo(file, { - ignorePath, - withNodeModules, - plugins, - resolveConfig: config !== false - }); - printToScreen(await format3((0, import_fast_json_stable_stringify2.default)(fileInfo), { parser: "json" })); -} -var file_info_default = logFileInfoOrDie; - -// src/cli/find-config-path.js -import path9 from "path"; -import { resolveConfigFile } from "../index.mjs"; -async function logResolvedConfigPathOrDie(context) { - const file = context.argv.findConfigPath; - const configFile = await resolveConfigFile(file); - if (configFile) { - printToScreen(normalizeToPosix(path9.relative(process.cwd(), configFile))); - } else { - throw new Error(`Can not find configure file for "${file}".`); - } } -var find_config_path_default = logResolvedConfigPathOrDie; +var logger_default = createLogger; // src/cli/print-support-info.js var import_fast_json_stable_stringify3 = __toESM(require_fast_json_stable_stringify(), 1); -import { getSupportInfo as getSupportInfo2, format as format4 } from "../index.mjs"; +import { format as format4, getSupportInfo as getSupportInfo2 } from "../index.mjs"; var sortByName = (array2) => array2.sort((a, b) => a.name.localeCompare(b.name)); async function printSupportInfo() { const { languages, options } = await getSupportInfo2(); @@ -6904,8 +3669,141 @@ async function printSupportInfo() { } var print_support_info_default = printSupportInfo; +// src/cli/constants.evaluate.js +var categoryOrder = [ + "Output", + "Format", + "Config", + "Editor", + "Other" +]; +var usageSummary = "Usage: prettier [options] [file/dir/glob ...]\n\nBy default, output is written to stdout.\nStdin is read if it is piped to Prettier and no files are given."; + +// src/cli/usage.js +var OPTION_USAGE_THRESHOLD = 25; +var CHOICE_USAGE_MARGIN = 3; +var CHOICE_USAGE_INDENTATION = 2; +function indent(str, spaces) { + return string_replace_all_default( + /* isOptionalObject */ + false, + str, + /^/gmu, + " ".repeat(spaces) + ); +} +function createDefaultValueDisplay(value) { + return Array.isArray(value) ? `[${value.map(createDefaultValueDisplay).join(", ")}]` : value; +} +function getOptionDefaultValue(context, optionName) { + var _a; + const option = context.detailedOptions.find(({ + name + }) => name === optionName); + if ((option == null ? void 0 : option.default) !== void 0) { + return option.default; + } + const optionCamelName = camelCase(optionName); + return formatOptionsHiddenDefaults[optionCamelName] ?? ((_a = context.supportOptions.find((option2) => !option2.deprecated && option2.name === optionCamelName)) == null ? void 0 : _a.default); +} +function createOptionUsageHeader(option) { + const name = `--${option.name}`; + const alias = option.alias ? `-${option.alias},` : null; + const type = createOptionUsageType(option); + return [alias, name, type].filter(Boolean).join(" "); +} +function createOptionUsageRow(header, content, threshold) { + const separator = header.length >= threshold ? ` +${" ".repeat(threshold)}` : " ".repeat(threshold - header.length); + const description = string_replace_all_default( + /* isOptionalObject */ + false, + content, + "\n", + ` +${" ".repeat(threshold)}` + ); + return `${header}${separator}${description}`; +} +function createOptionUsageType(option) { + switch (option.type) { + case "boolean": + return null; + case "choice": + return `<${option.choices.filter((choice) => !choice.deprecated).map((choice) => choice.value).join("|")}>`; + default: + return `<${option.type}>`; + } +} +function createChoiceUsages(choices, margin, indentation) { + const activeChoices = choices.filter((choice) => !choice.deprecated); + const threshold = Math.max(0, ...activeChoices.map((choice) => choice.value.length)) + margin; + return activeChoices.map((choice) => indent(createOptionUsageRow(choice.value, choice.description, threshold), indentation)); +} +function createOptionUsage(context, option, threshold) { + const header = createOptionUsageHeader(option); + const optionDefaultValue = getOptionDefaultValue(context, option.name); + return createOptionUsageRow(header, `${option.description}${optionDefaultValue === void 0 ? "" : ` +Defaults to ${createDefaultValueDisplay(optionDefaultValue)}.`}`, threshold); +} +function getOptionsWithOpposites(options) { + const optionsWithOpposites = options.map((option) => [option.description ? option : null, option.oppositeDescription ? { + ...option, + name: `no-${option.name}`, + type: "boolean", + description: option.oppositeDescription + } : null]); + return optionsWithOpposites.flat().filter(Boolean); +} +function createUsage(context) { + const sortedOptions = context.detailedOptions.sort((optionA, optionB) => optionA.name.localeCompare(optionB.name)); + const options = getOptionsWithOpposites(sortedOptions).filter( + // remove unnecessary option (e.g. `semi`, `color`, etc.), which is only used for --help + (option) => !(option.type === "boolean" && option.oppositeDescription && !option.name.startsWith("no-")) + ); + const groupedOptions = groupBy(options, (option) => option.category); + const firstCategories = categoryOrder.slice(0, -1); + const lastCategories = categoryOrder.slice(-1); + const restCategories = Object.keys(groupedOptions).filter((category) => !categoryOrder.includes(category)); + const allCategories = [...firstCategories, ...restCategories, ...lastCategories]; + const optionsUsage = allCategories.map((category) => { + const categoryOptions = groupedOptions[category].map((option) => createOptionUsage(context, option, OPTION_USAGE_THRESHOLD)).join("\n"); + return `${category} options: + +${indent(categoryOptions, 2)}`; + }); + return [usageSummary, ...optionsUsage, ""].join("\n\n"); +} +function createPluginDefaults(pluginDefaults) { + if (!pluginDefaults || Object.keys(pluginDefaults).length === 0) { + return ""; + } + const defaults = Object.entries(pluginDefaults).sort(([pluginNameA], [pluginNameB]) => pluginNameA.localeCompare(pluginNameB)).map(([plugin, value]) => `* ${plugin}: ${createDefaultValueDisplay(value)}`).join("\n"); + return ` +Plugin defaults: +${defaults}`; +} +function createDetailedUsage(context, flag) { + const option = getOptionsWithOpposites(context.detailedOptions).find((option2) => option2.name === flag || option2.alias === flag); + const header = createOptionUsageHeader(option); + const description = ` + +${indent(option.description, 2)}`; + const choices = option.type !== "choice" ? "" : ` + +Valid options: + +${createChoiceUsages(option.choices, CHOICE_USAGE_MARGIN, CHOICE_USAGE_INDENTATION).join("\n")}`; + const optionDefaultValue = getOptionDefaultValue(context, option.name); + const defaults = optionDefaultValue !== void 0 ? ` + +Default: ${createDefaultValueDisplay(optionDefaultValue)}` : ""; + const pluginDefaults = createPluginDefaults(option.pluginDefaults); + return `${header}${description}${choices}${defaults}${pluginDefaults}`; +} + // src/cli/index.js -async function run(rawArguments) { +async function run(rawArguments = process.argv.slice(2)) { let logger = logger_default(); try { const { logLevel } = parseArgvWithoutPlugins( @@ -6941,6 +3839,9 @@ async function main(context) { if (context.argv.fileInfo && context.filePatterns.length > 0) { throw new Error("Cannot use --file-info with multiple files"); } + if (!context.argv.cache && context.argv.cacheStrategy) { + throw new Error("`--cache-strategy` cannot be used without `--cache`."); + } if (context.argv.version) { printToScreen(prettier2.version); return; @@ -6954,24 +3855,29 @@ async function main(context) { if (context.argv.supportInfo) { return print_support_info_default(); } - const hasFilePatterns = context.filePatterns.length > 0; - const useStdin = !hasFilePatterns && (!process.stdin.isTTY || context.argv.filePath); if (context.argv.findConfigPath) { await find_config_path_default(context); - } else if (context.argv.fileInfo) { + return; + } + if (context.argv.fileInfo) { await file_info_default(context); - } else if (useStdin) { + return; + } + const hasFilePatterns = context.filePatterns.length > 0; + const useStdin = !hasFilePatterns && (!process.stdin.isTTY || context.argv.filepath); + if (useStdin) { if (context.argv.cache) { - context.logger.error("`--cache` cannot be used with stdin."); - process.exit(2); + throw new Error("`--cache` cannot be used when formatting stdin."); } await formatStdin(context); - } else if (hasFilePatterns) { + return; + } + if (hasFilePatterns) { await formatFiles(context); - } else { - process.exitCode = 1; - printToScreen(createUsage(context)); + return; } + process.exitCode = 1; + printToScreen(createUsage(context)); } export { run diff --git a/node_modules/prettier/internal/internal.mjs b/node_modules/prettier/internal/internal.mjs deleted file mode 100644 index 21d430d718..0000000000 --- a/node_modules/prettier/internal/internal.mjs +++ /dev/null @@ -1,6531 +0,0 @@ -import { createRequire as __prettierCreateRequire } from "module"; -import { fileURLToPath as __prettierFileUrlToPath } from "url"; -import { dirname as __prettierDirname } from "path"; -const require = __prettierCreateRequire(import.meta.url); -const __filename = __prettierFileUrlToPath(import.meta.url); -const __dirname = __prettierDirname(__filename); - -var __create = Object.create; -var __defProp = Object.defineProperty; -var __getOwnPropDesc = Object.getOwnPropertyDescriptor; -var __getOwnPropNames = Object.getOwnPropertyNames; -var __getProtoOf = Object.getPrototypeOf; -var __hasOwnProp = Object.prototype.hasOwnProperty; -var __require = /* @__PURE__ */ ((x) => typeof require !== "undefined" ? require : typeof Proxy !== "undefined" ? new Proxy(x, { - get: (a, b) => (typeof require !== "undefined" ? require : a)[b] -}) : x)(function(x) { - if (typeof require !== "undefined") - return require.apply(this, arguments); - throw Error('Dynamic require of "' + x + '" is not supported'); -}); -var __commonJS = (cb, mod) => function __require2() { - return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports; -}; -var __copyProps = (to, from, except, desc) => { - if (from && typeof from === "object" || typeof from === "function") { - for (let key of __getOwnPropNames(from)) - if (!__hasOwnProp.call(to, key) && key !== except) - __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable }); - } - return to; -}; -var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps( - // If the importer is in node compatibility mode or this is not an ESM - // file that has been converted to a CommonJS file using a Babel- - // compatible transform (i.e. "__esModule" has not been set), then set - // "default" to the CommonJS "module.exports" for node compatibility. - isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target, - mod -)); - -// node_modules/cosmiconfig/dist/cacheWrapper.js -var require_cacheWrapper = __commonJS({ - "node_modules/cosmiconfig/dist/cacheWrapper.js"(exports) { - "use strict"; - Object.defineProperty(exports, "__esModule", { - value: true - }); - exports.cacheWrapper = cacheWrapper; - exports.cacheWrapperSync = cacheWrapperSync; - async function cacheWrapper(cache, key, fn) { - const cached = cache.get(key); - if (cached !== void 0) { - return cached; - } - const result = await fn(); - cache.set(key, result); - return result; - } - function cacheWrapperSync(cache, key, fn) { - const cached = cache.get(key); - if (cached !== void 0) { - return cached; - } - const result = fn(); - cache.set(key, result); - return result; - } - } -}); - -// node_modules/cosmiconfig/dist/getPropertyByPath.js -var require_getPropertyByPath = __commonJS({ - "node_modules/cosmiconfig/dist/getPropertyByPath.js"(exports) { - "use strict"; - Object.defineProperty(exports, "__esModule", { - value: true - }); - exports.getPropertyByPath = getPropertyByPath; - function getPropertyByPath(source, path) { - if (typeof path === "string" && Object.prototype.hasOwnProperty.call(source, path)) { - return source[path]; - } - const parsedPath = typeof path === "string" ? path.split(".") : path; - return parsedPath.reduce((previous, key) => { - if (previous === void 0) { - return previous; - } - return previous[key]; - }, source); - } - } -}); - -// node_modules/import-fresh/node_modules/resolve-from/index.js -var require_resolve_from = __commonJS({ - "node_modules/import-fresh/node_modules/resolve-from/index.js"(exports, module) { - "use strict"; - var path = __require("path"); - var Module = __require("module"); - var fs2 = __require("fs"); - var resolveFrom = (fromDir, moduleId, silent) => { - if (typeof fromDir !== "string") { - throw new TypeError(`Expected \`fromDir\` to be of type \`string\`, got \`${typeof fromDir}\``); - } - if (typeof moduleId !== "string") { - throw new TypeError(`Expected \`moduleId\` to be of type \`string\`, got \`${typeof moduleId}\``); - } - try { - fromDir = fs2.realpathSync(fromDir); - } catch (err) { - if (err.code === "ENOENT") { - fromDir = path.resolve(fromDir); - } else if (silent) { - return null; - } else { - throw err; - } - } - const fromFile = path.join(fromDir, "noop.js"); - const resolveFileName = () => Module._resolveFilename(moduleId, { - id: fromFile, - filename: fromFile, - paths: Module._nodeModulePaths(fromDir) - }); - if (silent) { - try { - return resolveFileName(); - } catch (err) { - return null; - } - } - return resolveFileName(); - }; - module.exports = (fromDir, moduleId) => resolveFrom(fromDir, moduleId); - module.exports.silent = (fromDir, moduleId) => resolveFrom(fromDir, moduleId, true); - } -}); - -// scripts/build/shims/parent-module.cjs -var require_parent_module = __commonJS({ - "scripts/build/shims/parent-module.cjs"(exports, module) { - "use strict"; - var parentModule = (file) => file; - module.exports = parentModule; - } -}); - -// node_modules/import-fresh/index.js -var require_import_fresh = __commonJS({ - "node_modules/import-fresh/index.js"(exports, module) { - "use strict"; - var path = __require("path"); - var resolveFrom = require_resolve_from(); - var parentModule = require_parent_module(); - module.exports = (moduleId) => { - if (typeof moduleId !== "string") { - throw new TypeError("Expected a string"); - } - const parentPath = parentModule(__filename); - const cwd = parentPath ? path.dirname(parentPath) : __dirname; - const filePath = resolveFrom(cwd, moduleId); - const oldModule = __require.cache[filePath]; - if (oldModule && oldModule.parent) { - let i = oldModule.parent.children.length; - while (i--) { - if (oldModule.parent.children[i].id === filePath) { - oldModule.parent.children.splice(i, 1); - } - } - } - delete __require.cache[filePath]; - const parent = __require.cache[parentPath]; - return parent === void 0 ? __require(filePath) : parent.require(filePath); - }; - } -}); - -// node_modules/is-arrayish/index.js -var require_is_arrayish = __commonJS({ - "node_modules/is-arrayish/index.js"(exports, module) { - "use strict"; - module.exports = function isArrayish(obj) { - if (!obj) { - return false; - } - return obj instanceof Array || Array.isArray(obj) || obj.length >= 0 && obj.splice instanceof Function; - }; - } -}); - -// node_modules/error-ex/index.js -var require_error_ex = __commonJS({ - "node_modules/error-ex/index.js"(exports, module) { - "use strict"; - var util = __require("util"); - var isArrayish = require_is_arrayish(); - var errorEx = function errorEx2(name, properties) { - if (!name || name.constructor !== String) { - properties = name || {}; - name = Error.name; - } - var errorExError = function ErrorEXError(message) { - if (!this) { - return new ErrorEXError(message); - } - message = message instanceof Error ? message.message : message || this.message; - Error.call(this, message); - Error.captureStackTrace(this, errorExError); - this.name = name; - Object.defineProperty(this, "message", { - configurable: true, - enumerable: false, - get: function() { - var newMessage = message.split(/\r?\n/g); - for (var key in properties) { - if (!properties.hasOwnProperty(key)) { - continue; - } - var modifier = properties[key]; - if ("message" in modifier) { - newMessage = modifier.message(this[key], newMessage) || newMessage; - if (!isArrayish(newMessage)) { - newMessage = [newMessage]; - } - } - } - return newMessage.join("\n"); - }, - set: function(v) { - message = v; - } - }); - var overwrittenStack = null; - var stackDescriptor = Object.getOwnPropertyDescriptor(this, "stack"); - var stackGetter = stackDescriptor.get; - var stackValue = stackDescriptor.value; - delete stackDescriptor.value; - delete stackDescriptor.writable; - stackDescriptor.set = function(newstack) { - overwrittenStack = newstack; - }; - stackDescriptor.get = function() { - var stack = (overwrittenStack || (stackGetter ? stackGetter.call(this) : stackValue)).split(/\r?\n+/g); - if (!overwrittenStack) { - stack[0] = this.name + ": " + this.message; - } - var lineCount = 1; - for (var key in properties) { - if (!properties.hasOwnProperty(key)) { - continue; - } - var modifier = properties[key]; - if ("line" in modifier) { - var line = modifier.line(this[key]); - if (line) { - stack.splice(lineCount++, 0, " " + line); - } - } - if ("stack" in modifier) { - modifier.stack(this[key], stack); - } - } - return stack.join("\n"); - }; - Object.defineProperty(this, "stack", stackDescriptor); - }; - if (Object.setPrototypeOf) { - Object.setPrototypeOf(errorExError.prototype, Error.prototype); - Object.setPrototypeOf(errorExError, Error); - } else { - util.inherits(errorExError, Error); - } - return errorExError; - }; - errorEx.append = function(str, def) { - return { - message: function(v, message) { - v = v || def; - if (v) { - message[0] += " " + str.replace("%s", v.toString()); - } - return message; - } - }; - }; - errorEx.line = function(str, def) { - return { - line: function(v) { - v = v || def; - if (v) { - return str.replace("%s", v.toString()); - } - return null; - } - }; - }; - module.exports = errorEx; - } -}); - -// node_modules/json-parse-even-better-errors/index.js -var require_json_parse_even_better_errors = __commonJS({ - "node_modules/json-parse-even-better-errors/index.js"(exports, module) { - "use strict"; - var hexify = (char) => { - const h = char.charCodeAt(0).toString(16).toUpperCase(); - return "0x" + (h.length % 2 ? "0" : "") + h; - }; - var parseError = (e, txt, context) => { - if (!txt) { - return { - message: e.message + " while parsing empty string", - position: 0 - }; - } - const badToken = e.message.match(/^Unexpected token (.) .*position\s+(\d+)/i); - const errIdx = badToken ? +badToken[2] : e.message.match(/^Unexpected end of JSON.*/i) ? txt.length - 1 : null; - const msg = badToken ? e.message.replace(/^Unexpected token ./, `Unexpected token ${JSON.stringify(badToken[1])} (${hexify(badToken[1])})`) : e.message; - if (errIdx !== null && errIdx !== void 0) { - const start = errIdx <= context ? 0 : errIdx - context; - const end = errIdx + context >= txt.length ? txt.length : errIdx + context; - const slice = (start === 0 ? "" : "...") + txt.slice(start, end) + (end === txt.length ? "" : "..."); - const near = txt === slice ? "" : "near "; - return { - message: msg + ` while parsing ${near}${JSON.stringify(slice)}`, - position: errIdx - }; - } else { - return { - message: msg + ` while parsing '${txt.slice(0, context * 2)}'`, - position: 0 - }; - } - }; - var JSONParseError = class extends SyntaxError { - constructor(er, txt, context, caller) { - context = context || 20; - const metadata = parseError(er, txt, context); - super(metadata.message); - Object.assign(this, metadata); - this.code = "EJSONPARSE"; - this.systemError = er; - Error.captureStackTrace(this, caller || this.constructor); - } - get name() { - return this.constructor.name; - } - set name(n) { - } - get [Symbol.toStringTag]() { - return this.constructor.name; - } - }; - var kIndent = Symbol.for("indent"); - var kNewline = Symbol.for("newline"); - var formatRE = /^\s*[{\[]((?:\r?\n)+)([\s\t]*)/; - var emptyRE = /^(?:\{\}|\[\])((?:\r?\n)+)?$/; - var parseJson = (txt, reviver, context) => { - const parseText = stripBOM(txt); - context = context || 20; - try { - const [, newline = "\n", indent = " "] = parseText.match(emptyRE) || parseText.match(formatRE) || [, "", ""]; - const result = JSON.parse(parseText, reviver); - if (result && typeof result === "object") { - result[kNewline] = newline; - result[kIndent] = indent; - } - return result; - } catch (e) { - if (typeof txt !== "string" && !Buffer.isBuffer(txt)) { - const isEmptyArray = Array.isArray(txt) && txt.length === 0; - throw Object.assign(new TypeError( - `Cannot parse ${isEmptyArray ? "an empty array" : String(txt)}` - ), { - code: "EJSONPARSE", - systemError: e - }); - } - throw new JSONParseError(e, parseText, context, parseJson); - } - }; - var stripBOM = (txt) => String(txt).replace(/^\uFEFF/, ""); - module.exports = parseJson; - parseJson.JSONParseError = JSONParseError; - parseJson.noExceptions = (txt, reviver) => { - try { - return JSON.parse(stripBOM(txt), reviver); - } catch (e) { - } - }; - } -}); - -// node_modules/parse-json/node_modules/lines-and-columns/build/index.js -var require_build = __commonJS({ - "node_modules/parse-json/node_modules/lines-and-columns/build/index.js"(exports) { - "use strict"; - exports.__esModule = true; - exports.LinesAndColumns = void 0; - var LF = "\n"; - var CR = "\r"; - var LinesAndColumns = ( - /** @class */ - function() { - function LinesAndColumns2(string) { - this.string = string; - var offsets = [0]; - for (var offset = 0; offset < string.length; ) { - switch (string[offset]) { - case LF: - offset += LF.length; - offsets.push(offset); - break; - case CR: - offset += CR.length; - if (string[offset] === LF) { - offset += LF.length; - } - offsets.push(offset); - break; - default: - offset++; - break; - } - } - this.offsets = offsets; - } - LinesAndColumns2.prototype.locationForIndex = function(index) { - if (index < 0 || index > this.string.length) { - return null; - } - var line = 0; - var offsets = this.offsets; - while (offsets[line + 1] <= index) { - line++; - } - var column = index - offsets[line]; - return { line, column }; - }; - LinesAndColumns2.prototype.indexForLocation = function(location) { - var line = location.line, column = location.column; - if (line < 0 || line >= this.offsets.length) { - return null; - } - if (column < 0 || column > this.lengthOfLine(line)) { - return null; - } - return this.offsets[line] + column; - }; - LinesAndColumns2.prototype.lengthOfLine = function(line) { - var offset = this.offsets[line]; - var nextOffset = line === this.offsets.length - 1 ? this.string.length : this.offsets[line + 1]; - return nextOffset - offset; - }; - return LinesAndColumns2; - }() - ); - exports.LinesAndColumns = LinesAndColumns; - exports["default"] = LinesAndColumns; - } -}); - -// node_modules/js-tokens/index.js -var require_js_tokens = __commonJS({ - "node_modules/js-tokens/index.js"(exports) { - Object.defineProperty(exports, "__esModule", { - value: true - }); - exports.default = /((['"])(?:(?!\2|\\).|\\(?:\r\n|[\s\S]))*(\2)?|`(?:[^`\\$]|\\[\s\S]|\$(?!\{)|\$\{(?:[^{}]|\{[^}]*\}?)*\}?)*(`)?)|(\/\/.*)|(\/\*(?:[^*]|\*(?!\/))*(\*\/)?)|(\/(?!\*)(?:\[(?:(?![\]\\]).|\\.)*\]|(?![\/\]\\]).|\\.)+\/(?:(?!\s*(?:\b|[\u0080-\uFFFF$\\'"~({]|[+\-!](?!=)|\.?\d))|[gmiyus]{1,6}\b(?![\u0080-\uFFFF$\\]|\s*(?:[+\-*%&|^<>!=?({]|\/(?![\/*])))))|(0[xX][\da-fA-F]+|0[oO][0-7]+|0[bB][01]+|(?:\d*\.\d+|\d+\.?)(?:[eE][+-]?\d+)?)|((?!\d)(?:(?!\s)[$\w\u0080-\uFFFF]|\\u[\da-fA-F]{4}|\\u\{[\da-fA-F]+\})+)|(--|\+\+|&&|\|\||=>|\.{3}|(?:[+\-\/%&|^]|\*{1,2}|<{1,2}|>{1,3}|!=?|={1,2})=?|[?~.,:;[\](){}])|(\s+)|(^$|[\s\S])/g; - exports.matchToToken = function(match) { - var token = { type: "invalid", value: match[0], closed: void 0 }; - if (match[1]) - token.type = "string", token.closed = !!(match[3] || match[4]); - else if (match[5]) - token.type = "comment"; - else if (match[6]) - token.type = "comment", token.closed = !!match[7]; - else if (match[8]) - token.type = "regex"; - else if (match[9]) - token.type = "number"; - else if (match[10]) - token.type = "name"; - else if (match[11]) - token.type = "punctuator"; - else if (match[12]) - token.type = "whitespace"; - return token; - }; - } -}); - -// node_modules/@babel/helper-validator-identifier/lib/identifier.js -var require_identifier = __commonJS({ - "node_modules/@babel/helper-validator-identifier/lib/identifier.js"(exports) { - "use strict"; - Object.defineProperty(exports, "__esModule", { - value: true - }); - exports.isIdentifierChar = isIdentifierChar; - exports.isIdentifierName = isIdentifierName; - exports.isIdentifierStart = isIdentifierStart; - var nonASCIIidentifierStartChars = "\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0560-\u0588\u05D0-\u05EA\u05EF-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u0870-\u0887\u0889-\u088E\u08A0-\u08C9\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C5D\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D04-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E86-\u0E8A\u0E8C-\u0EA3\u0EA5\u0EA7-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u1711\u171F-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1878\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4C\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\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\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2118-\u211D\u2124\u2126\u2128\u212A-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309B-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312F\u3131-\u318E\u31A0-\u31BF\u31F0-\u31FF\u3400-\u4DBF\u4E00-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7CA\uA7D0\uA7D1\uA7D3\uA7D5-\uA7D9\uA7F2-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA8FE\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB69\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC"; - var nonASCIIidentifierChars = "\u200C\u200D\xB7\u0300-\u036F\u0387\u0483-\u0487\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u0610-\u061A\u064B-\u0669\u0670\u06D6-\u06DC\u06DF-\u06E4\u06E7\u06E8\u06EA-\u06ED\u06F0-\u06F9\u0711\u0730-\u074A\u07A6-\u07B0\u07C0-\u07C9\u07EB-\u07F3\u07FD\u0816-\u0819\u081B-\u0823\u0825-\u0827\u0829-\u082D\u0859-\u085B\u0898-\u089F\u08CA-\u08E1\u08E3-\u0903\u093A-\u093C\u093E-\u094F\u0951-\u0957\u0962\u0963\u0966-\u096F\u0981-\u0983\u09BC\u09BE-\u09C4\u09C7\u09C8\u09CB-\u09CD\u09D7\u09E2\u09E3\u09E6-\u09EF\u09FE\u0A01-\u0A03\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A66-\u0A71\u0A75\u0A81-\u0A83\u0ABC\u0ABE-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AE2\u0AE3\u0AE6-\u0AEF\u0AFA-\u0AFF\u0B01-\u0B03\u0B3C\u0B3E-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B55-\u0B57\u0B62\u0B63\u0B66-\u0B6F\u0B82\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD7\u0BE6-\u0BEF\u0C00-\u0C04\u0C3C\u0C3E-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C62\u0C63\u0C66-\u0C6F\u0C81-\u0C83\u0CBC\u0CBE-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CE2\u0CE3\u0CE6-\u0CEF\u0CF3\u0D00-\u0D03\u0D3B\u0D3C\u0D3E-\u0D44\u0D46-\u0D48\u0D4A-\u0D4D\u0D57\u0D62\u0D63\u0D66-\u0D6F\u0D81-\u0D83\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E31\u0E34-\u0E3A\u0E47-\u0E4E\u0E50-\u0E59\u0EB1\u0EB4-\u0EBC\u0EC8-\u0ECE\u0ED0-\u0ED9\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E\u0F3F\u0F71-\u0F84\u0F86\u0F87\u0F8D-\u0F97\u0F99-\u0FBC\u0FC6\u102B-\u103E\u1040-\u1049\u1056-\u1059\u105E-\u1060\u1062-\u1064\u1067-\u106D\u1071-\u1074\u1082-\u108D\u108F-\u109D\u135D-\u135F\u1369-\u1371\u1712-\u1715\u1732-\u1734\u1752\u1753\u1772\u1773\u17B4-\u17D3\u17DD\u17E0-\u17E9\u180B-\u180D\u180F-\u1819\u18A9\u1920-\u192B\u1930-\u193B\u1946-\u194F\u19D0-\u19DA\u1A17-\u1A1B\u1A55-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AB0-\u1ABD\u1ABF-\u1ACE\u1B00-\u1B04\u1B34-\u1B44\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1B82\u1BA1-\u1BAD\u1BB0-\u1BB9\u1BE6-\u1BF3\u1C24-\u1C37\u1C40-\u1C49\u1C50-\u1C59\u1CD0-\u1CD2\u1CD4-\u1CE8\u1CED\u1CF4\u1CF7-\u1CF9\u1DC0-\u1DFF\u203F\u2040\u2054\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2CEF-\u2CF1\u2D7F\u2DE0-\u2DFF\u302A-\u302F\u3099\u309A\uA620-\uA629\uA66F\uA674-\uA67D\uA69E\uA69F\uA6F0\uA6F1\uA802\uA806\uA80B\uA823-\uA827\uA82C\uA880\uA881\uA8B4-\uA8C5\uA8D0-\uA8D9\uA8E0-\uA8F1\uA8FF-\uA909\uA926-\uA92D\uA947-\uA953\uA980-\uA983\uA9B3-\uA9C0\uA9D0-\uA9D9\uA9E5\uA9F0-\uA9F9\uAA29-\uAA36\uAA43\uAA4C\uAA4D\uAA50-\uAA59\uAA7B-\uAA7D\uAAB0\uAAB2-\uAAB4\uAAB7\uAAB8\uAABE\uAABF\uAAC1\uAAEB-\uAAEF\uAAF5\uAAF6\uABE3-\uABEA\uABEC\uABED\uABF0-\uABF9\uFB1E\uFE00-\uFE0F\uFE20-\uFE2F\uFE33\uFE34\uFE4D-\uFE4F\uFF10-\uFF19\uFF3F"; - var nonASCIIidentifierStart = new RegExp("[" + nonASCIIidentifierStartChars + "]"); - var nonASCIIidentifier = new RegExp("[" + nonASCIIidentifierStartChars + nonASCIIidentifierChars + "]"); - nonASCIIidentifierStartChars = nonASCIIidentifierChars = null; - var astralIdentifierStartCodes = [0, 11, 2, 25, 2, 18, 2, 1, 2, 14, 3, 13, 35, 122, 70, 52, 268, 28, 4, 48, 48, 31, 14, 29, 6, 37, 11, 29, 3, 35, 5, 7, 2, 4, 43, 157, 19, 35, 5, 35, 5, 39, 9, 51, 13, 10, 2, 14, 2, 6, 2, 1, 2, 10, 2, 14, 2, 6, 2, 1, 68, 310, 10, 21, 11, 7, 25, 5, 2, 41, 2, 8, 70, 5, 3, 0, 2, 43, 2, 1, 4, 0, 3, 22, 11, 22, 10, 30, 66, 18, 2, 1, 11, 21, 11, 25, 71, 55, 7, 1, 65, 0, 16, 3, 2, 2, 2, 28, 43, 28, 4, 28, 36, 7, 2, 27, 28, 53, 11, 21, 11, 18, 14, 17, 111, 72, 56, 50, 14, 50, 14, 35, 349, 41, 7, 1, 79, 28, 11, 0, 9, 21, 43, 17, 47, 20, 28, 22, 13, 52, 58, 1, 3, 0, 14, 44, 33, 24, 27, 35, 30, 0, 3, 0, 9, 34, 4, 0, 13, 47, 15, 3, 22, 0, 2, 0, 36, 17, 2, 24, 20, 1, 64, 6, 2, 0, 2, 3, 2, 14, 2, 9, 8, 46, 39, 7, 3, 1, 3, 21, 2, 6, 2, 1, 2, 4, 4, 0, 19, 0, 13, 4, 159, 52, 19, 3, 21, 2, 31, 47, 21, 1, 2, 0, 185, 46, 42, 3, 37, 47, 21, 0, 60, 42, 14, 0, 72, 26, 38, 6, 186, 43, 117, 63, 32, 7, 3, 0, 3, 7, 2, 1, 2, 23, 16, 0, 2, 0, 95, 7, 3, 38, 17, 0, 2, 0, 29, 0, 11, 39, 8, 0, 22, 0, 12, 45, 20, 0, 19, 72, 264, 8, 2, 36, 18, 0, 50, 29, 113, 6, 2, 1, 2, 37, 22, 0, 26, 5, 2, 1, 2, 31, 15, 0, 328, 18, 16, 0, 2, 12, 2, 33, 125, 0, 80, 921, 103, 110, 18, 195, 2637, 96, 16, 1071, 18, 5, 4026, 582, 8634, 568, 8, 30, 18, 78, 18, 29, 19, 47, 17, 3, 32, 20, 6, 18, 689, 63, 129, 74, 6, 0, 67, 12, 65, 1, 2, 0, 29, 6135, 9, 1237, 43, 8, 8936, 3, 2, 6, 2, 1, 2, 290, 16, 0, 30, 2, 3, 0, 15, 3, 9, 395, 2309, 106, 6, 12, 4, 8, 8, 9, 5991, 84, 2, 70, 2, 1, 3, 0, 3, 1, 3, 3, 2, 11, 2, 0, 2, 6, 2, 64, 2, 3, 3, 7, 2, 6, 2, 27, 2, 3, 2, 4, 2, 0, 4, 6, 2, 339, 3, 24, 2, 24, 2, 30, 2, 24, 2, 30, 2, 24, 2, 30, 2, 24, 2, 30, 2, 24, 2, 7, 1845, 30, 7, 5, 262, 61, 147, 44, 11, 6, 17, 0, 322, 29, 19, 43, 485, 27, 757, 6, 2, 3, 2, 1, 2, 14, 2, 196, 60, 67, 8, 0, 1205, 3, 2, 26, 2, 1, 2, 0, 3, 0, 2, 9, 2, 3, 2, 0, 2, 0, 7, 0, 5, 0, 2, 0, 2, 0, 2, 2, 2, 1, 2, 0, 3, 0, 2, 0, 2, 0, 2, 0, 2, 0, 2, 1, 2, 0, 3, 3, 2, 6, 2, 3, 2, 3, 2, 0, 2, 9, 2, 16, 6, 2, 2, 4, 2, 16, 4421, 42719, 33, 4153, 7, 221, 3, 5761, 15, 7472, 3104, 541, 1507, 4938, 6, 4191]; - var astralIdentifierCodes = [509, 0, 227, 0, 150, 4, 294, 9, 1368, 2, 2, 1, 6, 3, 41, 2, 5, 0, 166, 1, 574, 3, 9, 9, 370, 1, 81, 2, 71, 10, 50, 3, 123, 2, 54, 14, 32, 10, 3, 1, 11, 3, 46, 10, 8, 0, 46, 9, 7, 2, 37, 13, 2, 9, 6, 1, 45, 0, 13, 2, 49, 13, 9, 3, 2, 11, 83, 11, 7, 0, 3, 0, 158, 11, 6, 9, 7, 3, 56, 1, 2, 6, 3, 1, 3, 2, 10, 0, 11, 1, 3, 6, 4, 4, 193, 17, 10, 9, 5, 0, 82, 19, 13, 9, 214, 6, 3, 8, 28, 1, 83, 16, 16, 9, 82, 12, 9, 9, 84, 14, 5, 9, 243, 14, 166, 9, 71, 5, 2, 1, 3, 3, 2, 0, 2, 1, 13, 9, 120, 6, 3, 6, 4, 0, 29, 9, 41, 6, 2, 3, 9, 0, 10, 10, 47, 15, 406, 7, 2, 7, 17, 9, 57, 21, 2, 13, 123, 5, 4, 0, 2, 1, 2, 6, 2, 0, 9, 9, 49, 4, 2, 1, 2, 4, 9, 9, 330, 3, 10, 1, 2, 0, 49, 6, 4, 4, 14, 9, 5351, 0, 7, 14, 13835, 9, 87, 9, 39, 4, 60, 6, 26, 9, 1014, 0, 2, 54, 8, 3, 82, 0, 12, 1, 19628, 1, 4706, 45, 3, 22, 543, 4, 4, 5, 9, 7, 3, 6, 31, 3, 149, 2, 1418, 49, 513, 54, 5, 49, 9, 0, 15, 0, 23, 4, 2, 14, 1361, 6, 2, 16, 3, 6, 2, 1, 2, 4, 101, 0, 161, 6, 10, 9, 357, 0, 62, 13, 499, 13, 983, 6, 110, 6, 6, 9, 4759, 9, 787719, 239]; - function isInAstralSet(code, set) { - let pos = 65536; - for (let i = 0, length = set.length; i < length; i += 2) { - pos += set[i]; - if (pos > code) - return false; - pos += set[i + 1]; - if (pos >= code) - return true; - } - return false; - } - function isIdentifierStart(code) { - if (code < 65) - return code === 36; - if (code <= 90) - return true; - if (code < 97) - return code === 95; - if (code <= 122) - return true; - if (code <= 65535) { - return code >= 170 && nonASCIIidentifierStart.test(String.fromCharCode(code)); - } - return isInAstralSet(code, astralIdentifierStartCodes); - } - function isIdentifierChar(code) { - if (code < 48) - return code === 36; - if (code < 58) - return true; - if (code < 65) - return false; - if (code <= 90) - return true; - if (code < 97) - return code === 95; - if (code <= 122) - return true; - if (code <= 65535) { - return code >= 170 && nonASCIIidentifier.test(String.fromCharCode(code)); - } - return isInAstralSet(code, astralIdentifierStartCodes) || isInAstralSet(code, astralIdentifierCodes); - } - function isIdentifierName(name) { - let isFirst = true; - for (let i = 0; i < name.length; i++) { - let cp = name.charCodeAt(i); - if ((cp & 64512) === 55296 && i + 1 < name.length) { - const trail = name.charCodeAt(++i); - if ((trail & 64512) === 56320) { - cp = 65536 + ((cp & 1023) << 10) + (trail & 1023); - } - } - if (isFirst) { - isFirst = false; - if (!isIdentifierStart(cp)) { - return false; - } - } else if (!isIdentifierChar(cp)) { - return false; - } - } - return !isFirst; - } - } -}); - -// node_modules/@babel/helper-validator-identifier/lib/keyword.js -var require_keyword = __commonJS({ - "node_modules/@babel/helper-validator-identifier/lib/keyword.js"(exports) { - "use strict"; - Object.defineProperty(exports, "__esModule", { - value: true - }); - exports.isKeyword = isKeyword; - exports.isReservedWord = isReservedWord; - exports.isStrictBindOnlyReservedWord = isStrictBindOnlyReservedWord; - exports.isStrictBindReservedWord = isStrictBindReservedWord; - exports.isStrictReservedWord = isStrictReservedWord; - var reservedWords = { - keyword: ["break", "case", "catch", "continue", "debugger", "default", "do", "else", "finally", "for", "function", "if", "return", "switch", "throw", "try", "var", "const", "while", "with", "new", "this", "super", "class", "extends", "export", "import", "null", "true", "false", "in", "instanceof", "typeof", "void", "delete"], - strict: ["implements", "interface", "let", "package", "private", "protected", "public", "static", "yield"], - strictBind: ["eval", "arguments"] - }; - var keywords = new Set(reservedWords.keyword); - var reservedWordsStrictSet = new Set(reservedWords.strict); - var reservedWordsStrictBindSet = new Set(reservedWords.strictBind); - function isReservedWord(word, inModule) { - return inModule && word === "await" || word === "enum"; - } - function isStrictReservedWord(word, inModule) { - return isReservedWord(word, inModule) || reservedWordsStrictSet.has(word); - } - function isStrictBindOnlyReservedWord(word) { - return reservedWordsStrictBindSet.has(word); - } - function isStrictBindReservedWord(word, inModule) { - return isStrictReservedWord(word, inModule) || isStrictBindOnlyReservedWord(word); - } - function isKeyword(word) { - return keywords.has(word); - } - } -}); - -// node_modules/@babel/helper-validator-identifier/lib/index.js -var require_lib = __commonJS({ - "node_modules/@babel/helper-validator-identifier/lib/index.js"(exports) { - "use strict"; - Object.defineProperty(exports, "__esModule", { - value: true - }); - Object.defineProperty(exports, "isIdentifierChar", { - enumerable: true, - get: function() { - return _identifier.isIdentifierChar; - } - }); - Object.defineProperty(exports, "isIdentifierName", { - enumerable: true, - get: function() { - return _identifier.isIdentifierName; - } - }); - Object.defineProperty(exports, "isIdentifierStart", { - enumerable: true, - get: function() { - return _identifier.isIdentifierStart; - } - }); - Object.defineProperty(exports, "isKeyword", { - enumerable: true, - get: function() { - return _keyword.isKeyword; - } - }); - Object.defineProperty(exports, "isReservedWord", { - enumerable: true, - get: function() { - return _keyword.isReservedWord; - } - }); - Object.defineProperty(exports, "isStrictBindOnlyReservedWord", { - enumerable: true, - get: function() { - return _keyword.isStrictBindOnlyReservedWord; - } - }); - Object.defineProperty(exports, "isStrictBindReservedWord", { - enumerable: true, - get: function() { - return _keyword.isStrictBindReservedWord; - } - }); - Object.defineProperty(exports, "isStrictReservedWord", { - enumerable: true, - get: function() { - return _keyword.isStrictReservedWord; - } - }); - var _identifier = require_identifier(); - var _keyword = require_keyword(); - } -}); - -// node_modules/@babel/highlight/node_modules/escape-string-regexp/index.js -var require_escape_string_regexp = __commonJS({ - "node_modules/@babel/highlight/node_modules/escape-string-regexp/index.js"(exports, module) { - "use strict"; - var matchOperatorsRe = /[|\\{}()[\]^$+*?.]/g; - module.exports = function(str) { - if (typeof str !== "string") { - throw new TypeError("Expected a string"); - } - return str.replace(matchOperatorsRe, "\\$&"); - }; - } -}); - -// node_modules/color-name/index.js -var require_color_name = __commonJS({ - "node_modules/color-name/index.js"(exports, module) { - "use strict"; - module.exports = { - "aliceblue": [240, 248, 255], - "antiquewhite": [250, 235, 215], - "aqua": [0, 255, 255], - "aquamarine": [127, 255, 212], - "azure": [240, 255, 255], - "beige": [245, 245, 220], - "bisque": [255, 228, 196], - "black": [0, 0, 0], - "blanchedalmond": [255, 235, 205], - "blue": [0, 0, 255], - "blueviolet": [138, 43, 226], - "brown": [165, 42, 42], - "burlywood": [222, 184, 135], - "cadetblue": [95, 158, 160], - "chartreuse": [127, 255, 0], - "chocolate": [210, 105, 30], - "coral": [255, 127, 80], - "cornflowerblue": [100, 149, 237], - "cornsilk": [255, 248, 220], - "crimson": [220, 20, 60], - "cyan": [0, 255, 255], - "darkblue": [0, 0, 139], - "darkcyan": [0, 139, 139], - "darkgoldenrod": [184, 134, 11], - "darkgray": [169, 169, 169], - "darkgreen": [0, 100, 0], - "darkgrey": [169, 169, 169], - "darkkhaki": [189, 183, 107], - "darkmagenta": [139, 0, 139], - "darkolivegreen": [85, 107, 47], - "darkorange": [255, 140, 0], - "darkorchid": [153, 50, 204], - "darkred": [139, 0, 0], - "darksalmon": [233, 150, 122], - "darkseagreen": [143, 188, 143], - "darkslateblue": [72, 61, 139], - "darkslategray": [47, 79, 79], - "darkslategrey": [47, 79, 79], - "darkturquoise": [0, 206, 209], - "darkviolet": [148, 0, 211], - "deeppink": [255, 20, 147], - "deepskyblue": [0, 191, 255], - "dimgray": [105, 105, 105], - "dimgrey": [105, 105, 105], - "dodgerblue": [30, 144, 255], - "firebrick": [178, 34, 34], - "floralwhite": [255, 250, 240], - "forestgreen": [34, 139, 34], - "fuchsia": [255, 0, 255], - "gainsboro": [220, 220, 220], - "ghostwhite": [248, 248, 255], - "gold": [255, 215, 0], - "goldenrod": [218, 165, 32], - "gray": [128, 128, 128], - "green": [0, 128, 0], - "greenyellow": [173, 255, 47], - "grey": [128, 128, 128], - "honeydew": [240, 255, 240], - "hotpink": [255, 105, 180], - "indianred": [205, 92, 92], - "indigo": [75, 0, 130], - "ivory": [255, 255, 240], - "khaki": [240, 230, 140], - "lavender": [230, 230, 250], - "lavenderblush": [255, 240, 245], - "lawngreen": [124, 252, 0], - "lemonchiffon": [255, 250, 205], - "lightblue": [173, 216, 230], - "lightcoral": [240, 128, 128], - "lightcyan": [224, 255, 255], - "lightgoldenrodyellow": [250, 250, 210], - "lightgray": [211, 211, 211], - "lightgreen": [144, 238, 144], - "lightgrey": [211, 211, 211], - "lightpink": [255, 182, 193], - "lightsalmon": [255, 160, 122], - "lightseagreen": [32, 178, 170], - "lightskyblue": [135, 206, 250], - "lightslategray": [119, 136, 153], - "lightslategrey": [119, 136, 153], - "lightsteelblue": [176, 196, 222], - "lightyellow": [255, 255, 224], - "lime": [0, 255, 0], - "limegreen": [50, 205, 50], - "linen": [250, 240, 230], - "magenta": [255, 0, 255], - "maroon": [128, 0, 0], - "mediumaquamarine": [102, 205, 170], - "mediumblue": [0, 0, 205], - "mediumorchid": [186, 85, 211], - "mediumpurple": [147, 112, 219], - "mediumseagreen": [60, 179, 113], - "mediumslateblue": [123, 104, 238], - "mediumspringgreen": [0, 250, 154], - "mediumturquoise": [72, 209, 204], - "mediumvioletred": [199, 21, 133], - "midnightblue": [25, 25, 112], - "mintcream": [245, 255, 250], - "mistyrose": [255, 228, 225], - "moccasin": [255, 228, 181], - "navajowhite": [255, 222, 173], - "navy": [0, 0, 128], - "oldlace": [253, 245, 230], - "olive": [128, 128, 0], - "olivedrab": [107, 142, 35], - "orange": [255, 165, 0], - "orangered": [255, 69, 0], - "orchid": [218, 112, 214], - "palegoldenrod": [238, 232, 170], - "palegreen": [152, 251, 152], - "paleturquoise": [175, 238, 238], - "palevioletred": [219, 112, 147], - "papayawhip": [255, 239, 213], - "peachpuff": [255, 218, 185], - "peru": [205, 133, 63], - "pink": [255, 192, 203], - "plum": [221, 160, 221], - "powderblue": [176, 224, 230], - "purple": [128, 0, 128], - "rebeccapurple": [102, 51, 153], - "red": [255, 0, 0], - "rosybrown": [188, 143, 143], - "royalblue": [65, 105, 225], - "saddlebrown": [139, 69, 19], - "salmon": [250, 128, 114], - "sandybrown": [244, 164, 96], - "seagreen": [46, 139, 87], - "seashell": [255, 245, 238], - "sienna": [160, 82, 45], - "silver": [192, 192, 192], - "skyblue": [135, 206, 235], - "slateblue": [106, 90, 205], - "slategray": [112, 128, 144], - "slategrey": [112, 128, 144], - "snow": [255, 250, 250], - "springgreen": [0, 255, 127], - "steelblue": [70, 130, 180], - "tan": [210, 180, 140], - "teal": [0, 128, 128], - "thistle": [216, 191, 216], - "tomato": [255, 99, 71], - "turquoise": [64, 224, 208], - "violet": [238, 130, 238], - "wheat": [245, 222, 179], - "white": [255, 255, 255], - "whitesmoke": [245, 245, 245], - "yellow": [255, 255, 0], - "yellowgreen": [154, 205, 50] - }; - } -}); - -// node_modules/color-convert/conversions.js -var require_conversions = __commonJS({ - "node_modules/color-convert/conversions.js"(exports, module) { - var cssKeywords = require_color_name(); - var reverseKeywords = {}; - for (key in cssKeywords) { - if (cssKeywords.hasOwnProperty(key)) { - reverseKeywords[cssKeywords[key]] = key; - } - } - var key; - var convert = module.exports = { - rgb: { channels: 3, labels: "rgb" }, - hsl: { channels: 3, labels: "hsl" }, - hsv: { channels: 3, labels: "hsv" }, - hwb: { channels: 3, labels: "hwb" }, - cmyk: { channels: 4, labels: "cmyk" }, - xyz: { channels: 3, labels: "xyz" }, - lab: { channels: 3, labels: "lab" }, - lch: { channels: 3, labels: "lch" }, - hex: { channels: 1, labels: ["hex"] }, - keyword: { channels: 1, labels: ["keyword"] }, - ansi16: { channels: 1, labels: ["ansi16"] }, - ansi256: { channels: 1, labels: ["ansi256"] }, - hcg: { channels: 3, labels: ["h", "c", "g"] }, - apple: { channels: 3, labels: ["r16", "g16", "b16"] }, - gray: { channels: 1, labels: ["gray"] } - }; - for (model in convert) { - if (convert.hasOwnProperty(model)) { - if (!("channels" in convert[model])) { - throw new Error("missing channels property: " + model); - } - if (!("labels" in convert[model])) { - throw new Error("missing channel labels property: " + model); - } - if (convert[model].labels.length !== convert[model].channels) { - throw new Error("channel and label counts mismatch: " + model); - } - channels = convert[model].channels; - labels = convert[model].labels; - delete convert[model].channels; - delete convert[model].labels; - Object.defineProperty(convert[model], "channels", { value: channels }); - Object.defineProperty(convert[model], "labels", { value: labels }); - } - } - var channels; - var labels; - var model; - convert.rgb.hsl = function(rgb) { - var r = rgb[0] / 255; - var g = rgb[1] / 255; - var b = rgb[2] / 255; - var min = Math.min(r, g, b); - var max = Math.max(r, g, b); - var delta = max - min; - var h; - var s; - var l; - if (max === min) { - h = 0; - } else if (r === max) { - h = (g - b) / delta; - } else if (g === max) { - h = 2 + (b - r) / delta; - } else if (b === max) { - h = 4 + (r - g) / delta; - } - h = Math.min(h * 60, 360); - if (h < 0) { - h += 360; - } - l = (min + max) / 2; - if (max === min) { - s = 0; - } else if (l <= 0.5) { - s = delta / (max + min); - } else { - s = delta / (2 - max - min); - } - return [h, s * 100, l * 100]; - }; - convert.rgb.hsv = function(rgb) { - var rdif; - var gdif; - var bdif; - var h; - var s; - var r = rgb[0] / 255; - var g = rgb[1] / 255; - var b = rgb[2] / 255; - var v = Math.max(r, g, b); - var diff = v - Math.min(r, g, b); - var diffc = function(c) { - return (v - c) / 6 / diff + 1 / 2; - }; - if (diff === 0) { - h = s = 0; - } else { - s = diff / v; - rdif = diffc(r); - gdif = diffc(g); - bdif = diffc(b); - if (r === v) { - h = bdif - gdif; - } else if (g === v) { - h = 1 / 3 + rdif - bdif; - } else if (b === v) { - h = 2 / 3 + gdif - rdif; - } - if (h < 0) { - h += 1; - } else if (h > 1) { - h -= 1; - } - } - return [ - h * 360, - s * 100, - v * 100 - ]; - }; - convert.rgb.hwb = function(rgb) { - var r = rgb[0]; - var g = rgb[1]; - var b = rgb[2]; - var h = convert.rgb.hsl(rgb)[0]; - var w = 1 / 255 * Math.min(r, Math.min(g, b)); - b = 1 - 1 / 255 * Math.max(r, Math.max(g, b)); - return [h, w * 100, b * 100]; - }; - convert.rgb.cmyk = function(rgb) { - var r = rgb[0] / 255; - var g = rgb[1] / 255; - var b = rgb[2] / 255; - var c; - var m; - var y; - var k; - k = Math.min(1 - r, 1 - g, 1 - b); - c = (1 - r - k) / (1 - k) || 0; - m = (1 - g - k) / (1 - k) || 0; - y = (1 - b - k) / (1 - k) || 0; - return [c * 100, m * 100, y * 100, k * 100]; - }; - function comparativeDistance(x, y) { - return Math.pow(x[0] - y[0], 2) + Math.pow(x[1] - y[1], 2) + Math.pow(x[2] - y[2], 2); - } - convert.rgb.keyword = function(rgb) { - var reversed = reverseKeywords[rgb]; - if (reversed) { - return reversed; - } - var currentClosestDistance = Infinity; - var currentClosestKeyword; - for (var keyword in cssKeywords) { - if (cssKeywords.hasOwnProperty(keyword)) { - var value = cssKeywords[keyword]; - var distance = comparativeDistance(rgb, value); - if (distance < currentClosestDistance) { - currentClosestDistance = distance; - currentClosestKeyword = keyword; - } - } - } - return currentClosestKeyword; - }; - convert.keyword.rgb = function(keyword) { - return cssKeywords[keyword]; - }; - convert.rgb.xyz = function(rgb) { - var r = rgb[0] / 255; - var g = rgb[1] / 255; - var b = rgb[2] / 255; - r = r > 0.04045 ? Math.pow((r + 0.055) / 1.055, 2.4) : r / 12.92; - g = g > 0.04045 ? Math.pow((g + 0.055) / 1.055, 2.4) : g / 12.92; - b = b > 0.04045 ? Math.pow((b + 0.055) / 1.055, 2.4) : b / 12.92; - var x = r * 0.4124 + g * 0.3576 + b * 0.1805; - var y = r * 0.2126 + g * 0.7152 + b * 0.0722; - var z = r * 0.0193 + g * 0.1192 + b * 0.9505; - return [x * 100, y * 100, z * 100]; - }; - convert.rgb.lab = function(rgb) { - var xyz = convert.rgb.xyz(rgb); - var x = xyz[0]; - var y = xyz[1]; - var z = xyz[2]; - var l; - var a; - var b; - x /= 95.047; - y /= 100; - z /= 108.883; - x = x > 8856e-6 ? Math.pow(x, 1 / 3) : 7.787 * x + 16 / 116; - y = y > 8856e-6 ? Math.pow(y, 1 / 3) : 7.787 * y + 16 / 116; - z = z > 8856e-6 ? Math.pow(z, 1 / 3) : 7.787 * z + 16 / 116; - l = 116 * y - 16; - a = 500 * (x - y); - b = 200 * (y - z); - return [l, a, b]; - }; - convert.hsl.rgb = function(hsl) { - var h = hsl[0] / 360; - var s = hsl[1] / 100; - var l = hsl[2] / 100; - var t1; - var t2; - var t3; - var rgb; - var val; - if (s === 0) { - val = l * 255; - return [val, val, val]; - } - if (l < 0.5) { - t2 = l * (1 + s); - } else { - t2 = l + s - l * s; - } - t1 = 2 * l - t2; - rgb = [0, 0, 0]; - for (var i = 0; i < 3; i++) { - t3 = h + 1 / 3 * -(i - 1); - if (t3 < 0) { - t3++; - } - if (t3 > 1) { - t3--; - } - if (6 * t3 < 1) { - val = t1 + (t2 - t1) * 6 * t3; - } else if (2 * t3 < 1) { - val = t2; - } else if (3 * t3 < 2) { - val = t1 + (t2 - t1) * (2 / 3 - t3) * 6; - } else { - val = t1; - } - rgb[i] = val * 255; - } - return rgb; - }; - convert.hsl.hsv = function(hsl) { - var h = hsl[0]; - var s = hsl[1] / 100; - var l = hsl[2] / 100; - var smin = s; - var lmin = Math.max(l, 0.01); - var sv; - var v; - l *= 2; - s *= l <= 1 ? l : 2 - l; - smin *= lmin <= 1 ? lmin : 2 - lmin; - v = (l + s) / 2; - sv = l === 0 ? 2 * smin / (lmin + smin) : 2 * s / (l + s); - return [h, sv * 100, v * 100]; - }; - convert.hsv.rgb = function(hsv) { - var h = hsv[0] / 60; - var s = hsv[1] / 100; - var v = hsv[2] / 100; - var hi = Math.floor(h) % 6; - var f = h - Math.floor(h); - var p = 255 * v * (1 - s); - var q = 255 * v * (1 - s * f); - var t = 255 * v * (1 - s * (1 - f)); - v *= 255; - switch (hi) { - case 0: - return [v, t, p]; - case 1: - return [q, v, p]; - case 2: - return [p, v, t]; - case 3: - return [p, q, v]; - case 4: - return [t, p, v]; - case 5: - return [v, p, q]; - } - }; - convert.hsv.hsl = function(hsv) { - var h = hsv[0]; - var s = hsv[1] / 100; - var v = hsv[2] / 100; - var vmin = Math.max(v, 0.01); - var lmin; - var sl; - var l; - l = (2 - s) * v; - lmin = (2 - s) * vmin; - sl = s * vmin; - sl /= lmin <= 1 ? lmin : 2 - lmin; - sl = sl || 0; - l /= 2; - return [h, sl * 100, l * 100]; - }; - convert.hwb.rgb = function(hwb) { - var h = hwb[0] / 360; - var wh = hwb[1] / 100; - var bl = hwb[2] / 100; - var ratio = wh + bl; - var i; - var v; - var f; - var n; - if (ratio > 1) { - wh /= ratio; - bl /= ratio; - } - i = Math.floor(6 * h); - v = 1 - bl; - f = 6 * h - i; - if ((i & 1) !== 0) { - f = 1 - f; - } - n = wh + f * (v - wh); - var r; - var g; - var b; - switch (i) { - default: - case 6: - case 0: - r = v; - g = n; - b = wh; - break; - case 1: - r = n; - g = v; - b = wh; - break; - case 2: - r = wh; - g = v; - b = n; - break; - case 3: - r = wh; - g = n; - b = v; - break; - case 4: - r = n; - g = wh; - b = v; - break; - case 5: - r = v; - g = wh; - b = n; - break; - } - return [r * 255, g * 255, b * 255]; - }; - convert.cmyk.rgb = function(cmyk) { - var c = cmyk[0] / 100; - var m = cmyk[1] / 100; - var y = cmyk[2] / 100; - var k = cmyk[3] / 100; - var r; - var g; - var b; - r = 1 - Math.min(1, c * (1 - k) + k); - g = 1 - Math.min(1, m * (1 - k) + k); - b = 1 - Math.min(1, y * (1 - k) + k); - return [r * 255, g * 255, b * 255]; - }; - convert.xyz.rgb = function(xyz) { - var x = xyz[0] / 100; - var y = xyz[1] / 100; - var z = xyz[2] / 100; - var r; - var g; - var b; - r = x * 3.2406 + y * -1.5372 + z * -0.4986; - g = x * -0.9689 + y * 1.8758 + z * 0.0415; - b = x * 0.0557 + y * -0.204 + z * 1.057; - r = r > 31308e-7 ? 1.055 * Math.pow(r, 1 / 2.4) - 0.055 : r * 12.92; - g = g > 31308e-7 ? 1.055 * Math.pow(g, 1 / 2.4) - 0.055 : g * 12.92; - b = b > 31308e-7 ? 1.055 * Math.pow(b, 1 / 2.4) - 0.055 : b * 12.92; - r = Math.min(Math.max(0, r), 1); - g = Math.min(Math.max(0, g), 1); - b = Math.min(Math.max(0, b), 1); - return [r * 255, g * 255, b * 255]; - }; - convert.xyz.lab = function(xyz) { - var x = xyz[0]; - var y = xyz[1]; - var z = xyz[2]; - var l; - var a; - var b; - x /= 95.047; - y /= 100; - z /= 108.883; - x = x > 8856e-6 ? Math.pow(x, 1 / 3) : 7.787 * x + 16 / 116; - y = y > 8856e-6 ? Math.pow(y, 1 / 3) : 7.787 * y + 16 / 116; - z = z > 8856e-6 ? Math.pow(z, 1 / 3) : 7.787 * z + 16 / 116; - l = 116 * y - 16; - a = 500 * (x - y); - b = 200 * (y - z); - return [l, a, b]; - }; - convert.lab.xyz = function(lab) { - var l = lab[0]; - var a = lab[1]; - var b = lab[2]; - var x; - var y; - var z; - y = (l + 16) / 116; - x = a / 500 + y; - z = y - b / 200; - var y2 = Math.pow(y, 3); - var x2 = Math.pow(x, 3); - var z2 = Math.pow(z, 3); - y = y2 > 8856e-6 ? y2 : (y - 16 / 116) / 7.787; - x = x2 > 8856e-6 ? x2 : (x - 16 / 116) / 7.787; - z = z2 > 8856e-6 ? z2 : (z - 16 / 116) / 7.787; - x *= 95.047; - y *= 100; - z *= 108.883; - return [x, y, z]; - }; - convert.lab.lch = function(lab) { - var l = lab[0]; - var a = lab[1]; - var b = lab[2]; - var hr; - var h; - var c; - hr = Math.atan2(b, a); - h = hr * 360 / 2 / Math.PI; - if (h < 0) { - h += 360; - } - c = Math.sqrt(a * a + b * b); - return [l, c, h]; - }; - convert.lch.lab = function(lch) { - var l = lch[0]; - var c = lch[1]; - var h = lch[2]; - var a; - var b; - var hr; - hr = h / 360 * 2 * Math.PI; - a = c * Math.cos(hr); - b = c * Math.sin(hr); - return [l, a, b]; - }; - convert.rgb.ansi16 = function(args) { - var r = args[0]; - var g = args[1]; - var b = args[2]; - var value = 1 in arguments ? arguments[1] : convert.rgb.hsv(args)[2]; - value = Math.round(value / 50); - if (value === 0) { - return 30; - } - var ansi = 30 + (Math.round(b / 255) << 2 | Math.round(g / 255) << 1 | Math.round(r / 255)); - if (value === 2) { - ansi += 60; - } - return ansi; - }; - convert.hsv.ansi16 = function(args) { - return convert.rgb.ansi16(convert.hsv.rgb(args), args[2]); - }; - convert.rgb.ansi256 = function(args) { - var r = args[0]; - var g = args[1]; - var b = args[2]; - if (r === g && g === b) { - if (r < 8) { - return 16; - } - if (r > 248) { - return 231; - } - return Math.round((r - 8) / 247 * 24) + 232; - } - var ansi = 16 + 36 * Math.round(r / 255 * 5) + 6 * Math.round(g / 255 * 5) + Math.round(b / 255 * 5); - return ansi; - }; - convert.ansi16.rgb = function(args) { - var color = args % 10; - if (color === 0 || color === 7) { - if (args > 50) { - color += 3.5; - } - color = color / 10.5 * 255; - return [color, color, color]; - } - var mult = (~~(args > 50) + 1) * 0.5; - var r = (color & 1) * mult * 255; - var g = (color >> 1 & 1) * mult * 255; - var b = (color >> 2 & 1) * mult * 255; - return [r, g, b]; - }; - convert.ansi256.rgb = function(args) { - if (args >= 232) { - var c = (args - 232) * 10 + 8; - return [c, c, c]; - } - args -= 16; - var rem; - var r = Math.floor(args / 36) / 5 * 255; - var g = Math.floor((rem = args % 36) / 6) / 5 * 255; - var b = rem % 6 / 5 * 255; - return [r, g, b]; - }; - convert.rgb.hex = function(args) { - var integer = ((Math.round(args[0]) & 255) << 16) + ((Math.round(args[1]) & 255) << 8) + (Math.round(args[2]) & 255); - var string = integer.toString(16).toUpperCase(); - return "000000".substring(string.length) + string; - }; - convert.hex.rgb = function(args) { - var match = args.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i); - if (!match) { - return [0, 0, 0]; - } - var colorString = match[0]; - if (match[0].length === 3) { - colorString = colorString.split("").map(function(char) { - return char + char; - }).join(""); - } - var integer = parseInt(colorString, 16); - var r = integer >> 16 & 255; - var g = integer >> 8 & 255; - var b = integer & 255; - return [r, g, b]; - }; - convert.rgb.hcg = function(rgb) { - var r = rgb[0] / 255; - var g = rgb[1] / 255; - var b = rgb[2] / 255; - var max = Math.max(Math.max(r, g), b); - var min = Math.min(Math.min(r, g), b); - var chroma = max - min; - var grayscale; - var hue; - if (chroma < 1) { - grayscale = min / (1 - chroma); - } else { - grayscale = 0; - } - if (chroma <= 0) { - hue = 0; - } else if (max === r) { - hue = (g - b) / chroma % 6; - } else if (max === g) { - hue = 2 + (b - r) / chroma; - } else { - hue = 4 + (r - g) / chroma + 4; - } - hue /= 6; - hue %= 1; - return [hue * 360, chroma * 100, grayscale * 100]; - }; - convert.hsl.hcg = function(hsl) { - var s = hsl[1] / 100; - var l = hsl[2] / 100; - var c = 1; - var f = 0; - if (l < 0.5) { - c = 2 * s * l; - } else { - c = 2 * s * (1 - l); - } - if (c < 1) { - f = (l - 0.5 * c) / (1 - c); - } - return [hsl[0], c * 100, f * 100]; - }; - convert.hsv.hcg = function(hsv) { - var s = hsv[1] / 100; - var v = hsv[2] / 100; - var c = s * v; - var f = 0; - if (c < 1) { - f = (v - c) / (1 - c); - } - return [hsv[0], c * 100, f * 100]; - }; - convert.hcg.rgb = function(hcg) { - var h = hcg[0] / 360; - var c = hcg[1] / 100; - var g = hcg[2] / 100; - if (c === 0) { - return [g * 255, g * 255, g * 255]; - } - var pure = [0, 0, 0]; - var hi = h % 1 * 6; - var v = hi % 1; - var w = 1 - v; - var mg = 0; - switch (Math.floor(hi)) { - case 0: - pure[0] = 1; - pure[1] = v; - pure[2] = 0; - break; - case 1: - pure[0] = w; - pure[1] = 1; - pure[2] = 0; - break; - case 2: - pure[0] = 0; - pure[1] = 1; - pure[2] = v; - break; - case 3: - pure[0] = 0; - pure[1] = w; - pure[2] = 1; - break; - case 4: - pure[0] = v; - pure[1] = 0; - pure[2] = 1; - break; - default: - pure[0] = 1; - pure[1] = 0; - pure[2] = w; - } - mg = (1 - c) * g; - return [ - (c * pure[0] + mg) * 255, - (c * pure[1] + mg) * 255, - (c * pure[2] + mg) * 255 - ]; - }; - convert.hcg.hsv = function(hcg) { - var c = hcg[1] / 100; - var g = hcg[2] / 100; - var v = c + g * (1 - c); - var f = 0; - if (v > 0) { - f = c / v; - } - return [hcg[0], f * 100, v * 100]; - }; - convert.hcg.hsl = function(hcg) { - var c = hcg[1] / 100; - var g = hcg[2] / 100; - var l = g * (1 - c) + 0.5 * c; - var s = 0; - if (l > 0 && l < 0.5) { - s = c / (2 * l); - } else if (l >= 0.5 && l < 1) { - s = c / (2 * (1 - l)); - } - return [hcg[0], s * 100, l * 100]; - }; - convert.hcg.hwb = function(hcg) { - var c = hcg[1] / 100; - var g = hcg[2] / 100; - var v = c + g * (1 - c); - return [hcg[0], (v - c) * 100, (1 - v) * 100]; - }; - convert.hwb.hcg = function(hwb) { - var w = hwb[1] / 100; - var b = hwb[2] / 100; - var v = 1 - b; - var c = v - w; - var g = 0; - if (c < 1) { - g = (v - c) / (1 - c); - } - return [hwb[0], c * 100, g * 100]; - }; - convert.apple.rgb = function(apple) { - return [apple[0] / 65535 * 255, apple[1] / 65535 * 255, apple[2] / 65535 * 255]; - }; - convert.rgb.apple = function(rgb) { - return [rgb[0] / 255 * 65535, rgb[1] / 255 * 65535, rgb[2] / 255 * 65535]; - }; - convert.gray.rgb = function(args) { - return [args[0] / 100 * 255, args[0] / 100 * 255, args[0] / 100 * 255]; - }; - convert.gray.hsl = convert.gray.hsv = function(args) { - return [0, 0, args[0]]; - }; - convert.gray.hwb = function(gray) { - return [0, 100, gray[0]]; - }; - convert.gray.cmyk = function(gray) { - return [0, 0, 0, gray[0]]; - }; - convert.gray.lab = function(gray) { - return [gray[0], 0, 0]; - }; - convert.gray.hex = function(gray) { - var val = Math.round(gray[0] / 100 * 255) & 255; - var integer = (val << 16) + (val << 8) + val; - var string = integer.toString(16).toUpperCase(); - return "000000".substring(string.length) + string; - }; - convert.rgb.gray = function(rgb) { - var val = (rgb[0] + rgb[1] + rgb[2]) / 3; - return [val / 255 * 100]; - }; - } -}); - -// node_modules/color-convert/route.js -var require_route = __commonJS({ - "node_modules/color-convert/route.js"(exports, module) { - var conversions = require_conversions(); - function buildGraph() { - var graph = {}; - var models = Object.keys(conversions); - for (var len = models.length, i = 0; i < len; i++) { - graph[models[i]] = { - // http://jsperf.com/1-vs-infinity - // micro-opt, but this is simple. - distance: -1, - parent: null - }; - } - return graph; - } - function deriveBFS(fromModel) { - var graph = buildGraph(); - var queue = [fromModel]; - graph[fromModel].distance = 0; - while (queue.length) { - var current = queue.pop(); - var adjacents = Object.keys(conversions[current]); - for (var len = adjacents.length, i = 0; i < len; i++) { - var adjacent = adjacents[i]; - var node = graph[adjacent]; - if (node.distance === -1) { - node.distance = graph[current].distance + 1; - node.parent = current; - queue.unshift(adjacent); - } - } - } - return graph; - } - function link(from, to) { - return function(args) { - return to(from(args)); - }; - } - function wrapConversion(toModel, graph) { - var path = [graph[toModel].parent, toModel]; - var fn = conversions[graph[toModel].parent][toModel]; - var cur = graph[toModel].parent; - while (graph[cur].parent) { - path.unshift(graph[cur].parent); - fn = link(conversions[graph[cur].parent][cur], fn); - cur = graph[cur].parent; - } - fn.conversion = path; - return fn; - } - module.exports = function(fromModel) { - var graph = deriveBFS(fromModel); - var conversion = {}; - var models = Object.keys(graph); - for (var len = models.length, i = 0; i < len; i++) { - var toModel = models[i]; - var node = graph[toModel]; - if (node.parent === null) { - continue; - } - conversion[toModel] = wrapConversion(toModel, graph); - } - return conversion; - }; - } -}); - -// node_modules/color-convert/index.js -var require_color_convert = __commonJS({ - "node_modules/color-convert/index.js"(exports, module) { - var conversions = require_conversions(); - var route = require_route(); - var convert = {}; - var models = Object.keys(conversions); - function wrapRaw(fn) { - var wrappedFn = function(args) { - if (args === void 0 || args === null) { - return args; - } - if (arguments.length > 1) { - args = Array.prototype.slice.call(arguments); - } - return fn(args); - }; - if ("conversion" in fn) { - wrappedFn.conversion = fn.conversion; - } - return wrappedFn; - } - function wrapRounded(fn) { - var wrappedFn = function(args) { - if (args === void 0 || args === null) { - return args; - } - if (arguments.length > 1) { - args = Array.prototype.slice.call(arguments); - } - var result = fn(args); - if (typeof result === "object") { - for (var len = result.length, i = 0; i < len; i++) { - result[i] = Math.round(result[i]); - } - } - return result; - }; - if ("conversion" in fn) { - wrappedFn.conversion = fn.conversion; - } - return wrappedFn; - } - models.forEach(function(fromModel) { - convert[fromModel] = {}; - Object.defineProperty(convert[fromModel], "channels", { value: conversions[fromModel].channels }); - Object.defineProperty(convert[fromModel], "labels", { value: conversions[fromModel].labels }); - var routes = route(fromModel); - var routeModels = Object.keys(routes); - routeModels.forEach(function(toModel) { - var fn = routes[toModel]; - convert[fromModel][toModel] = wrapRounded(fn); - convert[fromModel][toModel].raw = wrapRaw(fn); - }); - }); - module.exports = convert; - } -}); - -// node_modules/ansi-styles/index.js -var require_ansi_styles = __commonJS({ - "node_modules/ansi-styles/index.js"(exports, module) { - "use strict"; - var colorConvert = require_color_convert(); - var wrapAnsi16 = (fn, offset) => function() { - const code = fn.apply(colorConvert, arguments); - return `\x1B[${code + offset}m`; - }; - var wrapAnsi256 = (fn, offset) => function() { - const code = fn.apply(colorConvert, arguments); - return `\x1B[${38 + offset};5;${code}m`; - }; - var wrapAnsi16m = (fn, offset) => function() { - const rgb = fn.apply(colorConvert, arguments); - return `\x1B[${38 + offset};2;${rgb[0]};${rgb[1]};${rgb[2]}m`; - }; - function assembleStyles() { - const codes = /* @__PURE__ */ new Map(); - const styles = { - modifier: { - reset: [0, 0], - // 21 isn't widely supported and 22 does the same thing - bold: [1, 22], - dim: [2, 22], - italic: [3, 23], - underline: [4, 24], - inverse: [7, 27], - hidden: [8, 28], - strikethrough: [9, 29] - }, - color: { - black: [30, 39], - red: [31, 39], - green: [32, 39], - yellow: [33, 39], - blue: [34, 39], - magenta: [35, 39], - cyan: [36, 39], - white: [37, 39], - gray: [90, 39], - // Bright color - redBright: [91, 39], - greenBright: [92, 39], - yellowBright: [93, 39], - blueBright: [94, 39], - magentaBright: [95, 39], - cyanBright: [96, 39], - whiteBright: [97, 39] - }, - bgColor: { - bgBlack: [40, 49], - bgRed: [41, 49], - bgGreen: [42, 49], - bgYellow: [43, 49], - bgBlue: [44, 49], - bgMagenta: [45, 49], - bgCyan: [46, 49], - bgWhite: [47, 49], - // Bright color - bgBlackBright: [100, 49], - bgRedBright: [101, 49], - bgGreenBright: [102, 49], - bgYellowBright: [103, 49], - bgBlueBright: [104, 49], - bgMagentaBright: [105, 49], - bgCyanBright: [106, 49], - bgWhiteBright: [107, 49] - } - }; - styles.color.grey = styles.color.gray; - for (const groupName of Object.keys(styles)) { - const group = styles[groupName]; - for (const styleName of Object.keys(group)) { - const style = group[styleName]; - styles[styleName] = { - open: `\x1B[${style[0]}m`, - close: `\x1B[${style[1]}m` - }; - group[styleName] = styles[styleName]; - codes.set(style[0], style[1]); - } - Object.defineProperty(styles, groupName, { - value: group, - enumerable: false - }); - Object.defineProperty(styles, "codes", { - value: codes, - enumerable: false - }); - } - const ansi2ansi = (n) => n; - const rgb2rgb = (r, g, b) => [r, g, b]; - styles.color.close = "\x1B[39m"; - styles.bgColor.close = "\x1B[49m"; - styles.color.ansi = { - ansi: wrapAnsi16(ansi2ansi, 0) - }; - styles.color.ansi256 = { - ansi256: wrapAnsi256(ansi2ansi, 0) - }; - styles.color.ansi16m = { - rgb: wrapAnsi16m(rgb2rgb, 0) - }; - styles.bgColor.ansi = { - ansi: wrapAnsi16(ansi2ansi, 10) - }; - styles.bgColor.ansi256 = { - ansi256: wrapAnsi256(ansi2ansi, 10) - }; - styles.bgColor.ansi16m = { - rgb: wrapAnsi16m(rgb2rgb, 10) - }; - for (let key of Object.keys(colorConvert)) { - if (typeof colorConvert[key] !== "object") { - continue; - } - const suite = colorConvert[key]; - if (key === "ansi16") { - key = "ansi"; - } - if ("ansi16" in suite) { - styles.color.ansi[key] = wrapAnsi16(suite.ansi16, 0); - styles.bgColor.ansi[key] = wrapAnsi16(suite.ansi16, 10); - } - if ("ansi256" in suite) { - styles.color.ansi256[key] = wrapAnsi256(suite.ansi256, 0); - styles.bgColor.ansi256[key] = wrapAnsi256(suite.ansi256, 10); - } - if ("rgb" in suite) { - styles.color.ansi16m[key] = wrapAnsi16m(suite.rgb, 0); - styles.bgColor.ansi16m[key] = wrapAnsi16m(suite.rgb, 10); - } - } - return styles; - } - Object.defineProperty(module, "exports", { - enumerable: true, - get: assembleStyles - }); - } -}); - -// node_modules/@babel/highlight/node_modules/has-flag/index.js -var require_has_flag = __commonJS({ - "node_modules/@babel/highlight/node_modules/has-flag/index.js"(exports, module) { - "use strict"; - module.exports = (flag, argv) => { - argv = argv || process.argv; - const prefix = flag.startsWith("-") ? "" : flag.length === 1 ? "-" : "--"; - const pos = argv.indexOf(prefix + flag); - const terminatorPos = argv.indexOf("--"); - return pos !== -1 && (terminatorPos === -1 ? true : pos < terminatorPos); - }; - } -}); - -// node_modules/@babel/highlight/node_modules/supports-color/index.js -var require_supports_color = __commonJS({ - "node_modules/@babel/highlight/node_modules/supports-color/index.js"(exports, module) { - "use strict"; - var os = __require("os"); - var hasFlag = require_has_flag(); - var env = process.env; - var forceColor; - if (hasFlag("no-color") || hasFlag("no-colors") || hasFlag("color=false")) { - forceColor = false; - } else if (hasFlag("color") || hasFlag("colors") || hasFlag("color=true") || hasFlag("color=always")) { - forceColor = true; - } - if ("FORCE_COLOR" in env) { - forceColor = env.FORCE_COLOR.length === 0 || parseInt(env.FORCE_COLOR, 10) !== 0; - } - function translateLevel(level) { - if (level === 0) { - return false; - } - return { - level, - hasBasic: true, - has256: level >= 2, - has16m: level >= 3 - }; - } - function supportsColor(stream) { - if (forceColor === false) { - return 0; - } - if (hasFlag("color=16m") || hasFlag("color=full") || hasFlag("color=truecolor")) { - return 3; - } - if (hasFlag("color=256")) { - return 2; - } - if (stream && !stream.isTTY && forceColor !== true) { - return 0; - } - const min = forceColor ? 1 : 0; - if (process.platform === "win32") { - const osRelease = os.release().split("."); - if (Number(process.versions.node.split(".")[0]) >= 8 && Number(osRelease[0]) >= 10 && Number(osRelease[2]) >= 10586) { - return Number(osRelease[2]) >= 14931 ? 3 : 2; - } - return 1; - } - if ("CI" in env) { - if (["TRAVIS", "CIRCLECI", "APPVEYOR", "GITLAB_CI"].some((sign) => sign in env) || env.CI_NAME === "codeship") { - return 1; - } - return min; - } - if ("TEAMCITY_VERSION" in env) { - return /^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(env.TEAMCITY_VERSION) ? 1 : 0; - } - if (env.COLORTERM === "truecolor") { - return 3; - } - if ("TERM_PROGRAM" in env) { - const version = parseInt((env.TERM_PROGRAM_VERSION || "").split(".")[0], 10); - switch (env.TERM_PROGRAM) { - case "iTerm.app": - return version >= 3 ? 3 : 2; - case "Apple_Terminal": - return 2; - } - } - if (/-256(color)?$/i.test(env.TERM)) { - return 2; - } - if (/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(env.TERM)) { - return 1; - } - if ("COLORTERM" in env) { - return 1; - } - if (env.TERM === "dumb") { - return min; - } - return min; - } - function getSupportLevel(stream) { - const level = supportsColor(stream); - return translateLevel(level); - } - module.exports = { - supportsColor: getSupportLevel, - stdout: getSupportLevel(process.stdout), - stderr: getSupportLevel(process.stderr) - }; - } -}); - -// node_modules/@babel/highlight/node_modules/chalk/templates.js -var require_templates = __commonJS({ - "node_modules/@babel/highlight/node_modules/chalk/templates.js"(exports, module) { - "use strict"; - var TEMPLATE_REGEX = /(?:\\(u[a-f\d]{4}|x[a-f\d]{2}|.))|(?:\{(~)?(\w+(?:\([^)]*\))?(?:\.\w+(?:\([^)]*\))?)*)(?:[ \t]|(?=\r?\n)))|(\})|((?:.|[\r\n\f])+?)/gi; - var STYLE_REGEX = /(?:^|\.)(\w+)(?:\(([^)]*)\))?/g; - var STRING_REGEX = /^(['"])((?:\\.|(?!\1)[^\\])*)\1$/; - var ESCAPE_REGEX = /\\(u[a-f\d]{4}|x[a-f\d]{2}|.)|([^\\])/gi; - var ESCAPES = /* @__PURE__ */ new Map([ - ["n", "\n"], - ["r", "\r"], - ["t", " "], - ["b", "\b"], - ["f", "\f"], - ["v", "\v"], - ["0", "\0"], - ["\\", "\\"], - ["e", "\x1B"], - ["a", "\x07"] - ]); - function unescape(c) { - if (c[0] === "u" && c.length === 5 || c[0] === "x" && c.length === 3) { - return String.fromCharCode(parseInt(c.slice(1), 16)); - } - return ESCAPES.get(c) || c; - } - function parseArguments(name, args) { - const results = []; - const chunks = args.trim().split(/\s*,\s*/g); - let matches; - for (const chunk of chunks) { - if (!isNaN(chunk)) { - results.push(Number(chunk)); - } else if (matches = chunk.match(STRING_REGEX)) { - results.push(matches[2].replace(ESCAPE_REGEX, (m, escape, chr) => escape ? unescape(escape) : chr)); - } else { - throw new Error(`Invalid Chalk template style argument: ${chunk} (in style '${name}')`); - } - } - return results; - } - function parseStyle(style) { - STYLE_REGEX.lastIndex = 0; - const results = []; - let matches; - while ((matches = STYLE_REGEX.exec(style)) !== null) { - const name = matches[1]; - if (matches[2]) { - const args = parseArguments(name, matches[2]); - results.push([name].concat(args)); - } else { - results.push([name]); - } - } - return results; - } - function buildStyle(chalk, styles) { - const enabled = {}; - for (const layer of styles) { - for (const style of layer.styles) { - enabled[style[0]] = layer.inverse ? null : style.slice(1); - } - } - let current = chalk; - for (const styleName of Object.keys(enabled)) { - if (Array.isArray(enabled[styleName])) { - if (!(styleName in current)) { - throw new Error(`Unknown Chalk style: ${styleName}`); - } - if (enabled[styleName].length > 0) { - current = current[styleName].apply(current, enabled[styleName]); - } else { - current = current[styleName]; - } - } - } - return current; - } - module.exports = (chalk, tmp) => { - const styles = []; - const chunks = []; - let chunk = []; - tmp.replace(TEMPLATE_REGEX, (m, escapeChar, inverse, style, close, chr) => { - if (escapeChar) { - chunk.push(unescape(escapeChar)); - } else if (style) { - const str = chunk.join(""); - chunk = []; - chunks.push(styles.length === 0 ? str : buildStyle(chalk, styles)(str)); - styles.push({ inverse, styles: parseStyle(style) }); - } else if (close) { - if (styles.length === 0) { - throw new Error("Found extraneous } in Chalk template literal"); - } - chunks.push(buildStyle(chalk, styles)(chunk.join(""))); - chunk = []; - styles.pop(); - } else { - chunk.push(chr); - } - }); - chunks.push(chunk.join("")); - if (styles.length > 0) { - const errMsg = `Chalk template literal is missing ${styles.length} closing bracket${styles.length === 1 ? "" : "s"} (\`}\`)`; - throw new Error(errMsg); - } - return chunks.join(""); - }; - } -}); - -// node_modules/@babel/highlight/node_modules/chalk/index.js -var require_chalk = __commonJS({ - "node_modules/@babel/highlight/node_modules/chalk/index.js"(exports, module) { - "use strict"; - var escapeStringRegexp = require_escape_string_regexp(); - var ansiStyles = require_ansi_styles(); - var stdoutColor = require_supports_color().stdout; - var template = require_templates(); - var isSimpleWindowsTerm = process.platform === "win32" && !(process.env.TERM || "").toLowerCase().startsWith("xterm"); - var levelMapping = ["ansi", "ansi", "ansi256", "ansi16m"]; - var skipModels = /* @__PURE__ */ new Set(["gray"]); - var styles = /* @__PURE__ */ Object.create(null); - function applyOptions(obj, options) { - options = options || {}; - const scLevel = stdoutColor ? stdoutColor.level : 0; - obj.level = options.level === void 0 ? scLevel : options.level; - obj.enabled = "enabled" in options ? options.enabled : obj.level > 0; - } - function Chalk(options) { - if (!this || !(this instanceof Chalk) || this.template) { - const chalk = {}; - applyOptions(chalk, options); - chalk.template = function() { - const args = [].slice.call(arguments); - return chalkTag.apply(null, [chalk.template].concat(args)); - }; - Object.setPrototypeOf(chalk, Chalk.prototype); - Object.setPrototypeOf(chalk.template, chalk); - chalk.template.constructor = Chalk; - return chalk.template; - } - applyOptions(this, options); - } - if (isSimpleWindowsTerm) { - ansiStyles.blue.open = "\x1B[94m"; - } - for (const key of Object.keys(ansiStyles)) { - ansiStyles[key].closeRe = new RegExp(escapeStringRegexp(ansiStyles[key].close), "g"); - styles[key] = { - get() { - const codes = ansiStyles[key]; - return build.call(this, this._styles ? this._styles.concat(codes) : [codes], this._empty, key); - } - }; - } - styles.visible = { - get() { - return build.call(this, this._styles || [], true, "visible"); - } - }; - ansiStyles.color.closeRe = new RegExp(escapeStringRegexp(ansiStyles.color.close), "g"); - for (const model of Object.keys(ansiStyles.color.ansi)) { - if (skipModels.has(model)) { - continue; - } - styles[model] = { - get() { - const level = this.level; - return function() { - const open = ansiStyles.color[levelMapping[level]][model].apply(null, arguments); - const codes = { - open, - close: ansiStyles.color.close, - closeRe: ansiStyles.color.closeRe - }; - return build.call(this, this._styles ? this._styles.concat(codes) : [codes], this._empty, model); - }; - } - }; - } - ansiStyles.bgColor.closeRe = new RegExp(escapeStringRegexp(ansiStyles.bgColor.close), "g"); - for (const model of Object.keys(ansiStyles.bgColor.ansi)) { - if (skipModels.has(model)) { - continue; - } - const bgModel = "bg" + model[0].toUpperCase() + model.slice(1); - styles[bgModel] = { - get() { - const level = this.level; - return function() { - const open = ansiStyles.bgColor[levelMapping[level]][model].apply(null, arguments); - const codes = { - open, - close: ansiStyles.bgColor.close, - closeRe: ansiStyles.bgColor.closeRe - }; - return build.call(this, this._styles ? this._styles.concat(codes) : [codes], this._empty, model); - }; - } - }; - } - var proto = Object.defineProperties(() => { - }, styles); - function build(_styles, _empty, key) { - const builder = function() { - return applyStyle.apply(builder, arguments); - }; - builder._styles = _styles; - builder._empty = _empty; - const self = this; - Object.defineProperty(builder, "level", { - enumerable: true, - get() { - return self.level; - }, - set(level) { - self.level = level; - } - }); - Object.defineProperty(builder, "enabled", { - enumerable: true, - get() { - return self.enabled; - }, - set(enabled) { - self.enabled = enabled; - } - }); - builder.hasGrey = this.hasGrey || key === "gray" || key === "grey"; - builder.__proto__ = proto; - return builder; - } - function applyStyle() { - const args = arguments; - const argsLen = args.length; - let str = String(arguments[0]); - if (argsLen === 0) { - return ""; - } - if (argsLen > 1) { - for (let a = 1; a < argsLen; a++) { - str += " " + args[a]; - } - } - if (!this.enabled || this.level <= 0 || !str) { - return this._empty ? "" : str; - } - const originalDim = ansiStyles.dim.open; - if (isSimpleWindowsTerm && this.hasGrey) { - ansiStyles.dim.open = ""; - } - for (const code of this._styles.slice().reverse()) { - str = code.open + str.replace(code.closeRe, code.open) + code.close; - str = str.replace(/\r?\n/g, `${code.close}$&${code.open}`); - } - ansiStyles.dim.open = originalDim; - return str; - } - function chalkTag(chalk, strings) { - if (!Array.isArray(strings)) { - return [].slice.call(arguments, 1).join(" "); - } - const args = [].slice.call(arguments, 2); - const parts = [strings.raw[0]]; - for (let i = 1; i < strings.length; i++) { - parts.push(String(args[i - 1]).replace(/[{}\\]/g, "\\$&")); - parts.push(String(strings.raw[i])); - } - return template(chalk, parts.join("")); - } - Object.defineProperties(Chalk.prototype, styles); - module.exports = Chalk(); - module.exports.supportsColor = stdoutColor; - module.exports.default = module.exports; - } -}); - -// node_modules/@babel/highlight/lib/index.js -var require_lib2 = __commonJS({ - "node_modules/@babel/highlight/lib/index.js"(exports) { - "use strict"; - Object.defineProperty(exports, "__esModule", { - value: true - }); - exports.default = highlight; - exports.getChalk = getChalk; - exports.shouldHighlight = shouldHighlight; - var _jsTokens = require_js_tokens(); - var _helperValidatorIdentifier = require_lib(); - var _chalk = require_chalk(); - var sometimesKeywords = /* @__PURE__ */ new Set(["as", "async", "from", "get", "of", "set"]); - function getDefs(chalk) { - return { - keyword: chalk.cyan, - capitalized: chalk.yellow, - jsxIdentifier: chalk.yellow, - punctuator: chalk.yellow, - number: chalk.magenta, - string: chalk.green, - regex: chalk.magenta, - comment: chalk.grey, - invalid: chalk.white.bgRed.bold - }; - } - var NEWLINE = /\r\n|[\n\r\u2028\u2029]/; - var BRACKET = /^[()[\]{}]$/; - var tokenize; - { - const JSX_TAG = /^[a-z][\w-]*$/i; - const getTokenType = function(token, offset, text) { - if (token.type === "name") { - if ((0, _helperValidatorIdentifier.isKeyword)(token.value) || (0, _helperValidatorIdentifier.isStrictReservedWord)(token.value, true) || sometimesKeywords.has(token.value)) { - return "keyword"; - } - if (JSX_TAG.test(token.value) && (text[offset - 1] === "<" || text.slice(offset - 2, offset) == " colorize(str)).join("\n"); - } else { - highlighted += value; - } - } - return highlighted; - } - function shouldHighlight(options) { - return !!_chalk.supportsColor || options.forceColor; - } - function getChalk(options) { - return options.forceColor ? new _chalk.constructor({ - enabled: true, - level: 1 - }) : _chalk; - } - function highlight(code, options = {}) { - if (code !== "" && shouldHighlight(options)) { - const chalk = getChalk(options); - const defs = getDefs(chalk); - return highlightTokens(defs, code); - } else { - return code; - } - } - } -}); - -// node_modules/@babel/code-frame/lib/index.js -var require_lib3 = __commonJS({ - "node_modules/@babel/code-frame/lib/index.js"(exports) { - "use strict"; - Object.defineProperty(exports, "__esModule", { - value: true - }); - exports.codeFrameColumns = codeFrameColumns; - exports.default = _default; - var _highlight = require_lib2(); - var deprecationWarningShown = false; - function getDefs(chalk) { - return { - gutter: chalk.grey, - marker: chalk.red.bold, - message: chalk.red.bold - }; - } - var NEWLINE = /\r\n|[\n\r\u2028\u2029]/; - function getMarkerLines(loc, source, opts) { - const startLoc = Object.assign({ - column: 0, - line: -1 - }, loc.start); - const endLoc = Object.assign({}, startLoc, loc.end); - const { - linesAbove = 2, - linesBelow = 3 - } = opts || {}; - const startLine = startLoc.line; - const startColumn = startLoc.column; - const endLine = endLoc.line; - const endColumn = endLoc.column; - let start = Math.max(startLine - (linesAbove + 1), 0); - let end = Math.min(source.length, endLine + linesBelow); - if (startLine === -1) { - start = 0; - } - if (endLine === -1) { - end = source.length; - } - const lineDiff = endLine - startLine; - const markerLines = {}; - if (lineDiff) { - for (let i = 0; i <= lineDiff; i++) { - const lineNumber = i + startLine; - if (!startColumn) { - markerLines[lineNumber] = true; - } else if (i === 0) { - const sourceLength = source[lineNumber - 1].length; - markerLines[lineNumber] = [startColumn, sourceLength - startColumn + 1]; - } else if (i === lineDiff) { - markerLines[lineNumber] = [0, endColumn]; - } else { - const sourceLength = source[lineNumber - i].length; - markerLines[lineNumber] = [0, sourceLength]; - } - } - } else { - if (startColumn === endColumn) { - if (startColumn) { - markerLines[startLine] = [startColumn, 0]; - } else { - markerLines[startLine] = true; - } - } else { - markerLines[startLine] = [startColumn, endColumn - startColumn]; - } - } - return { - start, - end, - markerLines - }; - } - function codeFrameColumns(rawLines, loc, opts = {}) { - const highlighted = (opts.highlightCode || opts.forceColor) && (0, _highlight.shouldHighlight)(opts); - const chalk = (0, _highlight.getChalk)(opts); - const defs = getDefs(chalk); - const maybeHighlight = (chalkFn, string) => { - return highlighted ? chalkFn(string) : string; - }; - const lines = rawLines.split(NEWLINE); - const { - start, - end, - markerLines - } = getMarkerLines(loc, lines, opts); - const hasColumns = loc.start && typeof loc.start.column === "number"; - const numberMaxWidth = String(end).length; - const highlightedLines = highlighted ? (0, _highlight.default)(rawLines, opts) : rawLines; - let frame = highlightedLines.split(NEWLINE, end).slice(start, end).map((line, index) => { - const number = start + 1 + index; - const paddedNumber = ` ${number}`.slice(-numberMaxWidth); - const gutter = ` ${paddedNumber} |`; - const hasMarker = markerLines[number]; - const lastMarkerLine = !markerLines[number + 1]; - if (hasMarker) { - let markerLine = ""; - if (Array.isArray(hasMarker)) { - const markerSpacing = line.slice(0, Math.max(hasMarker[0] - 1, 0)).replace(/[^\t]/g, " "); - const numberOfMarkers = hasMarker[1] || 1; - markerLine = ["\n ", maybeHighlight(defs.gutter, gutter.replace(/\d/g, " ")), " ", markerSpacing, maybeHighlight(defs.marker, "^").repeat(numberOfMarkers)].join(""); - if (lastMarkerLine && opts.message) { - markerLine += " " + maybeHighlight(defs.message, opts.message); - } - } - return [maybeHighlight(defs.marker, ">"), maybeHighlight(defs.gutter, gutter), line.length > 0 ? ` ${line}` : "", markerLine].join(""); - } else { - return ` ${maybeHighlight(defs.gutter, gutter)}${line.length > 0 ? ` ${line}` : ""}`; - } - }).join("\n"); - if (opts.message && !hasColumns) { - frame = `${" ".repeat(numberMaxWidth + 1)}${opts.message} -${frame}`; - } - if (highlighted) { - return chalk.reset(frame); - } else { - return frame; - } - } - function _default(rawLines, lineNumber, colNumber, opts = {}) { - if (!deprecationWarningShown) { - deprecationWarningShown = true; - const message = "Passing lineNumber and colNumber is deprecated to @babel/code-frame. Please use `codeFrameColumns`."; - if (process.emitWarning) { - process.emitWarning(message, "DeprecationWarning"); - } else { - const deprecationError = new Error(message); - deprecationError.name = "DeprecationWarning"; - console.warn(new Error(message)); - } - } - colNumber = Math.max(colNumber, 0); - const location = { - start: { - column: colNumber, - line: lineNumber - } - }; - return codeFrameColumns(rawLines, location, opts); - } - } -}); - -// node_modules/parse-json/index.js -var require_parse_json = __commonJS({ - "node_modules/parse-json/index.js"(exports, module) { - "use strict"; - var errorEx = require_error_ex(); - var fallback = require_json_parse_even_better_errors(); - var { default: LinesAndColumns } = require_build(); - var { codeFrameColumns } = require_lib3(); - var JSONError = errorEx("JSONError", { - fileName: errorEx.append("in %s"), - codeFrame: errorEx.append("\n\n%s\n") - }); - var parseJson = (string, reviver, filename) => { - if (typeof reviver === "string") { - filename = reviver; - reviver = null; - } - try { - try { - return JSON.parse(string, reviver); - } catch (error) { - fallback(string, reviver); - throw error; - } - } catch (error) { - error.message = error.message.replace(/\n/g, ""); - const indexMatch = error.message.match(/in JSON at position (\d+) while parsing/); - const jsonError = new JSONError(error); - if (filename) { - jsonError.fileName = filename; - } - if (indexMatch && indexMatch.length > 0) { - const lines = new LinesAndColumns(string); - const index = Number(indexMatch[1]); - const location = lines.locationForIndex(index); - const codeFrame = codeFrameColumns( - string, - { start: { line: location.line + 1, column: location.column + 1 } }, - { highlightCode: true } - ); - jsonError.codeFrame = codeFrame; - } - throw jsonError; - } - }; - parseJson.JSONError = JSONError; - module.exports = parseJson; - } -}); - -// node_modules/js-yaml/lib/common.js -var require_common = __commonJS({ - "node_modules/js-yaml/lib/common.js"(exports, module) { - "use strict"; - function isNothing(subject) { - return typeof subject === "undefined" || subject === null; - } - function isObject(subject) { - return typeof subject === "object" && subject !== null; - } - function toArray(sequence) { - if (Array.isArray(sequence)) - return sequence; - else if (isNothing(sequence)) - return []; - return [sequence]; - } - function extend(target, source) { - var index, length, key, sourceKeys; - if (source) { - sourceKeys = Object.keys(source); - for (index = 0, length = sourceKeys.length; index < length; index += 1) { - key = sourceKeys[index]; - target[key] = source[key]; - } - } - return target; - } - function repeat(string, count) { - var result = "", cycle; - for (cycle = 0; cycle < count; cycle += 1) { - result += string; - } - return result; - } - function isNegativeZero(number) { - return number === 0 && Number.NEGATIVE_INFINITY === 1 / number; - } - module.exports.isNothing = isNothing; - module.exports.isObject = isObject; - module.exports.toArray = toArray; - module.exports.repeat = repeat; - module.exports.isNegativeZero = isNegativeZero; - module.exports.extend = extend; - } -}); - -// node_modules/js-yaml/lib/exception.js -var require_exception = __commonJS({ - "node_modules/js-yaml/lib/exception.js"(exports, module) { - "use strict"; - function formatError(exception, compact) { - var where = "", message = exception.reason || "(unknown reason)"; - if (!exception.mark) - return message; - if (exception.mark.name) { - where += 'in "' + exception.mark.name + '" '; - } - where += "(" + (exception.mark.line + 1) + ":" + (exception.mark.column + 1) + ")"; - if (!compact && exception.mark.snippet) { - where += "\n\n" + exception.mark.snippet; - } - return message + " " + where; - } - function YAMLException(reason, mark) { - Error.call(this); - this.name = "YAMLException"; - this.reason = reason; - this.mark = mark; - this.message = formatError(this, false); - if (Error.captureStackTrace) { - Error.captureStackTrace(this, this.constructor); - } else { - this.stack = new Error().stack || ""; - } - } - YAMLException.prototype = Object.create(Error.prototype); - YAMLException.prototype.constructor = YAMLException; - YAMLException.prototype.toString = function toString(compact) { - return this.name + ": " + formatError(this, compact); - }; - module.exports = YAMLException; - } -}); - -// node_modules/js-yaml/lib/snippet.js -var require_snippet = __commonJS({ - "node_modules/js-yaml/lib/snippet.js"(exports, module) { - "use strict"; - var common = require_common(); - function getLine(buffer, lineStart, lineEnd, position, maxLineLength) { - var head = ""; - var tail = ""; - var maxHalfLength = Math.floor(maxLineLength / 2) - 1; - if (position - lineStart > maxHalfLength) { - head = " ... "; - lineStart = position - maxHalfLength + head.length; - } - if (lineEnd - position > maxHalfLength) { - tail = " ..."; - lineEnd = position + maxHalfLength - tail.length; - } - return { - str: head + buffer.slice(lineStart, lineEnd).replace(/\t/g, "\u2192") + tail, - pos: position - lineStart + head.length - // relative position - }; - } - function padStart(string, max) { - return common.repeat(" ", max - string.length) + string; - } - function makeSnippet(mark, options) { - options = Object.create(options || null); - if (!mark.buffer) - return null; - if (!options.maxLength) - options.maxLength = 79; - if (typeof options.indent !== "number") - options.indent = 1; - if (typeof options.linesBefore !== "number") - options.linesBefore = 3; - if (typeof options.linesAfter !== "number") - options.linesAfter = 2; - var re = /\r?\n|\r|\0/g; - var lineStarts = [0]; - var lineEnds = []; - var match; - var foundLineNo = -1; - while (match = re.exec(mark.buffer)) { - lineEnds.push(match.index); - lineStarts.push(match.index + match[0].length); - if (mark.position <= match.index && foundLineNo < 0) { - foundLineNo = lineStarts.length - 2; - } - } - if (foundLineNo < 0) - foundLineNo = lineStarts.length - 1; - var result = "", i, line; - var lineNoLength = Math.min(mark.line + options.linesAfter, lineEnds.length).toString().length; - var maxLineLength = options.maxLength - (options.indent + lineNoLength + 3); - for (i = 1; i <= options.linesBefore; i++) { - if (foundLineNo - i < 0) - break; - line = getLine( - mark.buffer, - lineStarts[foundLineNo - i], - lineEnds[foundLineNo - i], - mark.position - (lineStarts[foundLineNo] - lineStarts[foundLineNo - i]), - maxLineLength - ); - result = common.repeat(" ", options.indent) + padStart((mark.line - i + 1).toString(), lineNoLength) + " | " + line.str + "\n" + result; - } - line = getLine(mark.buffer, lineStarts[foundLineNo], lineEnds[foundLineNo], mark.position, maxLineLength); - result += common.repeat(" ", options.indent) + padStart((mark.line + 1).toString(), lineNoLength) + " | " + line.str + "\n"; - result += common.repeat("-", options.indent + lineNoLength + 3 + line.pos) + "^\n"; - for (i = 1; i <= options.linesAfter; i++) { - if (foundLineNo + i >= lineEnds.length) - break; - line = getLine( - mark.buffer, - lineStarts[foundLineNo + i], - lineEnds[foundLineNo + i], - mark.position - (lineStarts[foundLineNo] - lineStarts[foundLineNo + i]), - maxLineLength - ); - result += common.repeat(" ", options.indent) + padStart((mark.line + i + 1).toString(), lineNoLength) + " | " + line.str + "\n"; - } - return result.replace(/\n$/, ""); - } - module.exports = makeSnippet; - } -}); - -// node_modules/js-yaml/lib/type.js -var require_type = __commonJS({ - "node_modules/js-yaml/lib/type.js"(exports, module) { - "use strict"; - var YAMLException = require_exception(); - var TYPE_CONSTRUCTOR_OPTIONS = [ - "kind", - "multi", - "resolve", - "construct", - "instanceOf", - "predicate", - "represent", - "representName", - "defaultStyle", - "styleAliases" - ]; - var YAML_NODE_KINDS = [ - "scalar", - "sequence", - "mapping" - ]; - function compileStyleAliases(map) { - var result = {}; - if (map !== null) { - Object.keys(map).forEach(function(style) { - map[style].forEach(function(alias) { - result[String(alias)] = style; - }); - }); - } - return result; - } - function Type(tag, options) { - options = options || {}; - Object.keys(options).forEach(function(name) { - if (TYPE_CONSTRUCTOR_OPTIONS.indexOf(name) === -1) { - throw new YAMLException('Unknown option "' + name + '" is met in definition of "' + tag + '" YAML type.'); - } - }); - this.options = options; - this.tag = tag; - this.kind = options["kind"] || null; - this.resolve = options["resolve"] || function() { - return true; - }; - this.construct = options["construct"] || function(data) { - return data; - }; - this.instanceOf = options["instanceOf"] || null; - this.predicate = options["predicate"] || null; - this.represent = options["represent"] || null; - this.representName = options["representName"] || null; - this.defaultStyle = options["defaultStyle"] || null; - this.multi = options["multi"] || false; - this.styleAliases = compileStyleAliases(options["styleAliases"] || null); - if (YAML_NODE_KINDS.indexOf(this.kind) === -1) { - throw new YAMLException('Unknown kind "' + this.kind + '" is specified for "' + tag + '" YAML type.'); - } - } - module.exports = Type; - } -}); - -// node_modules/js-yaml/lib/schema.js -var require_schema = __commonJS({ - "node_modules/js-yaml/lib/schema.js"(exports, module) { - "use strict"; - var YAMLException = require_exception(); - var Type = require_type(); - function compileList(schema, name) { - var result = []; - schema[name].forEach(function(currentType) { - var newIndex = result.length; - result.forEach(function(previousType, previousIndex) { - if (previousType.tag === currentType.tag && previousType.kind === currentType.kind && previousType.multi === currentType.multi) { - newIndex = previousIndex; - } - }); - result[newIndex] = currentType; - }); - return result; - } - function compileMap() { - var result = { - scalar: {}, - sequence: {}, - mapping: {}, - fallback: {}, - multi: { - scalar: [], - sequence: [], - mapping: [], - fallback: [] - } - }, index, length; - function collectType(type) { - if (type.multi) { - result.multi[type.kind].push(type); - result.multi["fallback"].push(type); - } else { - result[type.kind][type.tag] = result["fallback"][type.tag] = type; - } - } - for (index = 0, length = arguments.length; index < length; index += 1) { - arguments[index].forEach(collectType); - } - return result; - } - function Schema(definition) { - return this.extend(definition); - } - Schema.prototype.extend = function extend(definition) { - var implicit = []; - var explicit = []; - if (definition instanceof Type) { - explicit.push(definition); - } else if (Array.isArray(definition)) { - explicit = explicit.concat(definition); - } else if (definition && (Array.isArray(definition.implicit) || Array.isArray(definition.explicit))) { - if (definition.implicit) - implicit = implicit.concat(definition.implicit); - if (definition.explicit) - explicit = explicit.concat(definition.explicit); - } else { - throw new YAMLException("Schema.extend argument should be a Type, [ Type ], or a schema definition ({ implicit: [...], explicit: [...] })"); - } - implicit.forEach(function(type) { - if (!(type instanceof Type)) { - throw new YAMLException("Specified list of YAML types (or a single Type object) contains a non-Type object."); - } - if (type.loadKind && type.loadKind !== "scalar") { - throw new YAMLException("There is a non-scalar type in the implicit list of a schema. Implicit resolving of such types is not supported."); - } - if (type.multi) { - throw new YAMLException("There is a multi type in the implicit list of a schema. Multi tags can only be listed as explicit."); - } - }); - explicit.forEach(function(type) { - if (!(type instanceof Type)) { - throw new YAMLException("Specified list of YAML types (or a single Type object) contains a non-Type object."); - } - }); - var result = Object.create(Schema.prototype); - result.implicit = (this.implicit || []).concat(implicit); - result.explicit = (this.explicit || []).concat(explicit); - result.compiledImplicit = compileList(result, "implicit"); - result.compiledExplicit = compileList(result, "explicit"); - result.compiledTypeMap = compileMap(result.compiledImplicit, result.compiledExplicit); - return result; - }; - module.exports = Schema; - } -}); - -// node_modules/js-yaml/lib/type/str.js -var require_str = __commonJS({ - "node_modules/js-yaml/lib/type/str.js"(exports, module) { - "use strict"; - var Type = require_type(); - module.exports = new Type("tag:yaml.org,2002:str", { - kind: "scalar", - construct: function(data) { - return data !== null ? data : ""; - } - }); - } -}); - -// node_modules/js-yaml/lib/type/seq.js -var require_seq = __commonJS({ - "node_modules/js-yaml/lib/type/seq.js"(exports, module) { - "use strict"; - var Type = require_type(); - module.exports = new Type("tag:yaml.org,2002:seq", { - kind: "sequence", - construct: function(data) { - return data !== null ? data : []; - } - }); - } -}); - -// node_modules/js-yaml/lib/type/map.js -var require_map = __commonJS({ - "node_modules/js-yaml/lib/type/map.js"(exports, module) { - "use strict"; - var Type = require_type(); - module.exports = new Type("tag:yaml.org,2002:map", { - kind: "mapping", - construct: function(data) { - return data !== null ? data : {}; - } - }); - } -}); - -// node_modules/js-yaml/lib/schema/failsafe.js -var require_failsafe = __commonJS({ - "node_modules/js-yaml/lib/schema/failsafe.js"(exports, module) { - "use strict"; - var Schema = require_schema(); - module.exports = new Schema({ - explicit: [ - require_str(), - require_seq(), - require_map() - ] - }); - } -}); - -// node_modules/js-yaml/lib/type/null.js -var require_null = __commonJS({ - "node_modules/js-yaml/lib/type/null.js"(exports, module) { - "use strict"; - var Type = require_type(); - function resolveYamlNull(data) { - if (data === null) - return true; - var max = data.length; - return max === 1 && data === "~" || max === 4 && (data === "null" || data === "Null" || data === "NULL"); - } - function constructYamlNull() { - return null; - } - function isNull(object) { - return object === null; - } - module.exports = new Type("tag:yaml.org,2002:null", { - kind: "scalar", - resolve: resolveYamlNull, - construct: constructYamlNull, - predicate: isNull, - represent: { - canonical: function() { - return "~"; - }, - lowercase: function() { - return "null"; - }, - uppercase: function() { - return "NULL"; - }, - camelcase: function() { - return "Null"; - }, - empty: function() { - return ""; - } - }, - defaultStyle: "lowercase" - }); - } -}); - -// node_modules/js-yaml/lib/type/bool.js -var require_bool = __commonJS({ - "node_modules/js-yaml/lib/type/bool.js"(exports, module) { - "use strict"; - var Type = require_type(); - function resolveYamlBoolean(data) { - if (data === null) - return false; - var max = data.length; - return max === 4 && (data === "true" || data === "True" || data === "TRUE") || max === 5 && (data === "false" || data === "False" || data === "FALSE"); - } - function constructYamlBoolean(data) { - return data === "true" || data === "True" || data === "TRUE"; - } - function isBoolean(object) { - return Object.prototype.toString.call(object) === "[object Boolean]"; - } - module.exports = new Type("tag:yaml.org,2002:bool", { - kind: "scalar", - resolve: resolveYamlBoolean, - construct: constructYamlBoolean, - predicate: isBoolean, - represent: { - lowercase: function(object) { - return object ? "true" : "false"; - }, - uppercase: function(object) { - return object ? "TRUE" : "FALSE"; - }, - camelcase: function(object) { - return object ? "True" : "False"; - } - }, - defaultStyle: "lowercase" - }); - } -}); - -// node_modules/js-yaml/lib/type/int.js -var require_int = __commonJS({ - "node_modules/js-yaml/lib/type/int.js"(exports, module) { - "use strict"; - var common = require_common(); - var Type = require_type(); - function isHexCode(c) { - return 48 <= c && c <= 57 || 65 <= c && c <= 70 || 97 <= c && c <= 102; - } - function isOctCode(c) { - return 48 <= c && c <= 55; - } - function isDecCode(c) { - return 48 <= c && c <= 57; - } - function resolveYamlInteger(data) { - if (data === null) - return false; - var max = data.length, index = 0, hasDigits = false, ch; - if (!max) - return false; - ch = data[index]; - if (ch === "-" || ch === "+") { - ch = data[++index]; - } - if (ch === "0") { - if (index + 1 === max) - return true; - ch = data[++index]; - if (ch === "b") { - index++; - for (; index < max; index++) { - ch = data[index]; - if (ch === "_") - continue; - if (ch !== "0" && ch !== "1") - return false; - hasDigits = true; - } - return hasDigits && ch !== "_"; - } - if (ch === "x") { - index++; - for (; index < max; index++) { - ch = data[index]; - if (ch === "_") - continue; - if (!isHexCode(data.charCodeAt(index))) - return false; - hasDigits = true; - } - return hasDigits && ch !== "_"; - } - if (ch === "o") { - index++; - for (; index < max; index++) { - ch = data[index]; - if (ch === "_") - continue; - if (!isOctCode(data.charCodeAt(index))) - return false; - hasDigits = true; - } - return hasDigits && ch !== "_"; - } - } - if (ch === "_") - return false; - for (; index < max; index++) { - ch = data[index]; - if (ch === "_") - continue; - if (!isDecCode(data.charCodeAt(index))) { - return false; - } - hasDigits = true; - } - if (!hasDigits || ch === "_") - return false; - return true; - } - function constructYamlInteger(data) { - var value = data, sign = 1, ch; - if (value.indexOf("_") !== -1) { - value = value.replace(/_/g, ""); - } - ch = value[0]; - if (ch === "-" || ch === "+") { - if (ch === "-") - sign = -1; - value = value.slice(1); - ch = value[0]; - } - if (value === "0") - return 0; - if (ch === "0") { - if (value[1] === "b") - return sign * parseInt(value.slice(2), 2); - if (value[1] === "x") - return sign * parseInt(value.slice(2), 16); - if (value[1] === "o") - return sign * parseInt(value.slice(2), 8); - } - return sign * parseInt(value, 10); - } - function isInteger(object) { - return Object.prototype.toString.call(object) === "[object Number]" && (object % 1 === 0 && !common.isNegativeZero(object)); - } - module.exports = new Type("tag:yaml.org,2002:int", { - kind: "scalar", - resolve: resolveYamlInteger, - construct: constructYamlInteger, - predicate: isInteger, - represent: { - binary: function(obj) { - return obj >= 0 ? "0b" + obj.toString(2) : "-0b" + obj.toString(2).slice(1); - }, - octal: function(obj) { - return obj >= 0 ? "0o" + obj.toString(8) : "-0o" + obj.toString(8).slice(1); - }, - decimal: function(obj) { - return obj.toString(10); - }, - /* eslint-disable max-len */ - hexadecimal: function(obj) { - return obj >= 0 ? "0x" + obj.toString(16).toUpperCase() : "-0x" + obj.toString(16).toUpperCase().slice(1); - } - }, - defaultStyle: "decimal", - styleAliases: { - binary: [2, "bin"], - octal: [8, "oct"], - decimal: [10, "dec"], - hexadecimal: [16, "hex"] - } - }); - } -}); - -// node_modules/js-yaml/lib/type/float.js -var require_float = __commonJS({ - "node_modules/js-yaml/lib/type/float.js"(exports, module) { - "use strict"; - var common = require_common(); - var Type = require_type(); - var YAML_FLOAT_PATTERN = new RegExp( - // 2.5e4, 2.5 and integers - "^(?:[-+]?(?:[0-9][0-9_]*)(?:\\.[0-9_]*)?(?:[eE][-+]?[0-9]+)?|\\.[0-9_]+(?:[eE][-+]?[0-9]+)?|[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$" - ); - function resolveYamlFloat(data) { - if (data === null) - return false; - if (!YAML_FLOAT_PATTERN.test(data) || // Quick hack to not allow integers end with `_` - // Probably should update regexp & check speed - data[data.length - 1] === "_") { - return false; - } - return true; - } - function constructYamlFloat(data) { - var value, sign; - value = data.replace(/_/g, "").toLowerCase(); - sign = value[0] === "-" ? -1 : 1; - if ("+-".indexOf(value[0]) >= 0) { - value = value.slice(1); - } - if (value === ".inf") { - return sign === 1 ? Number.POSITIVE_INFINITY : Number.NEGATIVE_INFINITY; - } else if (value === ".nan") { - return NaN; - } - return sign * parseFloat(value, 10); - } - var SCIENTIFIC_WITHOUT_DOT = /^[-+]?[0-9]+e/; - function representYamlFloat(object, style) { - var res; - if (isNaN(object)) { - switch (style) { - case "lowercase": - return ".nan"; - case "uppercase": - return ".NAN"; - case "camelcase": - return ".NaN"; - } - } else if (Number.POSITIVE_INFINITY === object) { - switch (style) { - case "lowercase": - return ".inf"; - case "uppercase": - return ".INF"; - case "camelcase": - return ".Inf"; - } - } else if (Number.NEGATIVE_INFINITY === object) { - switch (style) { - case "lowercase": - return "-.inf"; - case "uppercase": - return "-.INF"; - case "camelcase": - return "-.Inf"; - } - } else if (common.isNegativeZero(object)) { - return "-0.0"; - } - res = object.toString(10); - return SCIENTIFIC_WITHOUT_DOT.test(res) ? res.replace("e", ".e") : res; - } - function isFloat(object) { - return Object.prototype.toString.call(object) === "[object Number]" && (object % 1 !== 0 || common.isNegativeZero(object)); - } - module.exports = new Type("tag:yaml.org,2002:float", { - kind: "scalar", - resolve: resolveYamlFloat, - construct: constructYamlFloat, - predicate: isFloat, - represent: representYamlFloat, - defaultStyle: "lowercase" - }); - } -}); - -// node_modules/js-yaml/lib/schema/json.js -var require_json = __commonJS({ - "node_modules/js-yaml/lib/schema/json.js"(exports, module) { - "use strict"; - module.exports = require_failsafe().extend({ - implicit: [ - require_null(), - require_bool(), - require_int(), - require_float() - ] - }); - } -}); - -// node_modules/js-yaml/lib/schema/core.js -var require_core = __commonJS({ - "node_modules/js-yaml/lib/schema/core.js"(exports, module) { - "use strict"; - module.exports = require_json(); - } -}); - -// node_modules/js-yaml/lib/type/timestamp.js -var require_timestamp = __commonJS({ - "node_modules/js-yaml/lib/type/timestamp.js"(exports, module) { - "use strict"; - var Type = require_type(); - var YAML_DATE_REGEXP = new RegExp( - "^([0-9][0-9][0-9][0-9])-([0-9][0-9])-([0-9][0-9])$" - ); - var YAML_TIMESTAMP_REGEXP = 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 resolveYamlTimestamp(data) { - if (data === null) - return false; - if (YAML_DATE_REGEXP.exec(data) !== null) - return true; - if (YAML_TIMESTAMP_REGEXP.exec(data) !== null) - return true; - return false; - } - function constructYamlTimestamp(data) { - var match, year, month, day, hour, minute, second, fraction = 0, delta = null, tz_hour, tz_minute, date; - match = YAML_DATE_REGEXP.exec(data); - if (match === null) - match = YAML_TIMESTAMP_REGEXP.exec(data); - if (match === null) - throw new Error("Date resolve error"); - year = +match[1]; - month = +match[2] - 1; - day = +match[3]; - if (!match[4]) { - return new Date(Date.UTC(year, month, day)); - } - hour = +match[4]; - minute = +match[5]; - second = +match[6]; - if (match[7]) { - fraction = match[7].slice(0, 3); - while (fraction.length < 3) { - fraction += "0"; - } - fraction = +fraction; - } - if (match[9]) { - tz_hour = +match[10]; - tz_minute = +(match[11] || 0); - delta = (tz_hour * 60 + tz_minute) * 6e4; - if (match[9] === "-") - delta = -delta; - } - date = new Date(Date.UTC(year, month, day, hour, minute, second, fraction)); - if (delta) - date.setTime(date.getTime() - delta); - return date; - } - function representYamlTimestamp(object) { - return object.toISOString(); - } - module.exports = new Type("tag:yaml.org,2002:timestamp", { - kind: "scalar", - resolve: resolveYamlTimestamp, - construct: constructYamlTimestamp, - instanceOf: Date, - represent: representYamlTimestamp - }); - } -}); - -// node_modules/js-yaml/lib/type/merge.js -var require_merge = __commonJS({ - "node_modules/js-yaml/lib/type/merge.js"(exports, module) { - "use strict"; - var Type = require_type(); - function resolveYamlMerge(data) { - return data === "<<" || data === null; - } - module.exports = new Type("tag:yaml.org,2002:merge", { - kind: "scalar", - resolve: resolveYamlMerge - }); - } -}); - -// node_modules/js-yaml/lib/type/binary.js -var require_binary = __commonJS({ - "node_modules/js-yaml/lib/type/binary.js"(exports, module) { - "use strict"; - var Type = require_type(); - var BASE64_MAP = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=\n\r"; - function resolveYamlBinary(data) { - if (data === null) - return false; - var code, idx, bitlen = 0, max = data.length, map = BASE64_MAP; - for (idx = 0; idx < max; idx++) { - code = map.indexOf(data.charAt(idx)); - if (code > 64) - continue; - if (code < 0) - return false; - bitlen += 6; - } - return bitlen % 8 === 0; - } - function constructYamlBinary(data) { - var idx, tailbits, input = data.replace(/[\r\n=]/g, ""), max = input.length, map = BASE64_MAP, bits = 0, result = []; - for (idx = 0; idx < max; idx++) { - if (idx % 4 === 0 && idx) { - result.push(bits >> 16 & 255); - result.push(bits >> 8 & 255); - result.push(bits & 255); - } - bits = bits << 6 | map.indexOf(input.charAt(idx)); - } - tailbits = max % 4 * 6; - if (tailbits === 0) { - result.push(bits >> 16 & 255); - result.push(bits >> 8 & 255); - result.push(bits & 255); - } else if (tailbits === 18) { - result.push(bits >> 10 & 255); - result.push(bits >> 2 & 255); - } else if (tailbits === 12) { - result.push(bits >> 4 & 255); - } - return new Uint8Array(result); - } - function representYamlBinary(object) { - var result = "", bits = 0, idx, tail, max = object.length, map = BASE64_MAP; - for (idx = 0; idx < max; idx++) { - if (idx % 3 === 0 && idx) { - result += map[bits >> 18 & 63]; - result += map[bits >> 12 & 63]; - result += map[bits >> 6 & 63]; - result += map[bits & 63]; - } - bits = (bits << 8) + object[idx]; - } - tail = max % 3; - if (tail === 0) { - result += map[bits >> 18 & 63]; - result += map[bits >> 12 & 63]; - result += map[bits >> 6 & 63]; - result += map[bits & 63]; - } else if (tail === 2) { - result += map[bits >> 10 & 63]; - result += map[bits >> 4 & 63]; - result += map[bits << 2 & 63]; - result += map[64]; - } else if (tail === 1) { - result += map[bits >> 2 & 63]; - result += map[bits << 4 & 63]; - result += map[64]; - result += map[64]; - } - return result; - } - function isBinary(obj) { - return Object.prototype.toString.call(obj) === "[object Uint8Array]"; - } - module.exports = new Type("tag:yaml.org,2002:binary", { - kind: "scalar", - resolve: resolveYamlBinary, - construct: constructYamlBinary, - predicate: isBinary, - represent: representYamlBinary - }); - } -}); - -// node_modules/js-yaml/lib/type/omap.js -var require_omap = __commonJS({ - "node_modules/js-yaml/lib/type/omap.js"(exports, module) { - "use strict"; - var Type = require_type(); - var _hasOwnProperty = Object.prototype.hasOwnProperty; - var _toString = Object.prototype.toString; - function resolveYamlOmap(data) { - if (data === null) - return true; - var objectKeys = [], index, length, pair, pairKey, pairHasKey, object = data; - for (index = 0, length = object.length; index < length; index += 1) { - pair = object[index]; - pairHasKey = false; - if (_toString.call(pair) !== "[object Object]") - return false; - for (pairKey in pair) { - if (_hasOwnProperty.call(pair, pairKey)) { - if (!pairHasKey) - pairHasKey = true; - else - return false; - } - } - if (!pairHasKey) - return false; - if (objectKeys.indexOf(pairKey) === -1) - objectKeys.push(pairKey); - else - return false; - } - return true; - } - function constructYamlOmap(data) { - return data !== null ? data : []; - } - module.exports = new Type("tag:yaml.org,2002:omap", { - kind: "sequence", - resolve: resolveYamlOmap, - construct: constructYamlOmap - }); - } -}); - -// node_modules/js-yaml/lib/type/pairs.js -var require_pairs = __commonJS({ - "node_modules/js-yaml/lib/type/pairs.js"(exports, module) { - "use strict"; - var Type = require_type(); - var _toString = Object.prototype.toString; - function resolveYamlPairs(data) { - if (data === null) - return true; - var index, length, pair, keys, result, object = data; - result = new Array(object.length); - for (index = 0, length = object.length; index < length; index += 1) { - pair = object[index]; - if (_toString.call(pair) !== "[object Object]") - return false; - keys = Object.keys(pair); - if (keys.length !== 1) - return false; - result[index] = [keys[0], pair[keys[0]]]; - } - return true; - } - function constructYamlPairs(data) { - if (data === null) - return []; - var index, length, pair, keys, result, object = data; - result = new Array(object.length); - for (index = 0, length = object.length; index < length; index += 1) { - pair = object[index]; - keys = Object.keys(pair); - result[index] = [keys[0], pair[keys[0]]]; - } - return result; - } - module.exports = new Type("tag:yaml.org,2002:pairs", { - kind: "sequence", - resolve: resolveYamlPairs, - construct: constructYamlPairs - }); - } -}); - -// node_modules/js-yaml/lib/type/set.js -var require_set = __commonJS({ - "node_modules/js-yaml/lib/type/set.js"(exports, module) { - "use strict"; - var Type = require_type(); - var _hasOwnProperty = Object.prototype.hasOwnProperty; - function resolveYamlSet(data) { - if (data === null) - return true; - var key, object = data; - for (key in object) { - if (_hasOwnProperty.call(object, key)) { - if (object[key] !== null) - return false; - } - } - return true; - } - function constructYamlSet(data) { - return data !== null ? data : {}; - } - module.exports = new Type("tag:yaml.org,2002:set", { - kind: "mapping", - resolve: resolveYamlSet, - construct: constructYamlSet - }); - } -}); - -// node_modules/js-yaml/lib/schema/default.js -var require_default = __commonJS({ - "node_modules/js-yaml/lib/schema/default.js"(exports, module) { - "use strict"; - module.exports = require_core().extend({ - implicit: [ - require_timestamp(), - require_merge() - ], - explicit: [ - require_binary(), - require_omap(), - require_pairs(), - require_set() - ] - }); - } -}); - -// node_modules/js-yaml/lib/loader.js -var require_loader = __commonJS({ - "node_modules/js-yaml/lib/loader.js"(exports, module) { - "use strict"; - var common = require_common(); - var YAMLException = require_exception(); - var makeSnippet = require_snippet(); - var DEFAULT_SCHEMA = require_default(); - var _hasOwnProperty = Object.prototype.hasOwnProperty; - var CONTEXT_FLOW_IN = 1; - var CONTEXT_FLOW_OUT = 2; - var CONTEXT_BLOCK_IN = 3; - var CONTEXT_BLOCK_OUT = 4; - var CHOMPING_CLIP = 1; - var CHOMPING_STRIP = 2; - var CHOMPING_KEEP = 3; - var PATTERN_NON_PRINTABLE = /[\x00-\x08\x0B\x0C\x0E-\x1F\x7F-\x84\x86-\x9F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/; - var PATTERN_NON_ASCII_LINE_BREAKS = /[\x85\u2028\u2029]/; - var PATTERN_FLOW_INDICATORS = /[,\[\]\{\}]/; - var PATTERN_TAG_HANDLE = /^(?:!|!!|![a-z\-]+!)$/i; - var PATTERN_TAG_URI = /^(?:!|[^,\[\]\{\}])(?:%[0-9a-f]{2}|[0-9a-z\-#;\/\?:@&=\+\$,_\.!~\*'\(\)\[\]])*$/i; - function _class(obj) { - return Object.prototype.toString.call(obj); - } - function is_EOL(c) { - return c === 10 || c === 13; - } - function is_WHITE_SPACE(c) { - return c === 9 || c === 32; - } - function is_WS_OR_EOL(c) { - return c === 9 || c === 32 || c === 10 || c === 13; - } - function is_FLOW_INDICATOR(c) { - return c === 44 || c === 91 || c === 93 || c === 123 || c === 125; - } - function fromHexCode(c) { - var lc; - if (48 <= c && c <= 57) { - return c - 48; - } - lc = c | 32; - if (97 <= lc && lc <= 102) { - return lc - 97 + 10; - } - return -1; - } - function escapedHexLen(c) { - if (c === 120) { - return 2; - } - if (c === 117) { - return 4; - } - if (c === 85) { - return 8; - } - return 0; - } - function fromDecimalCode(c) { - if (48 <= c && c <= 57) { - return c - 48; - } - return -1; - } - function simpleEscapeSequence(c) { - return c === 48 ? "\0" : c === 97 ? "\x07" : c === 98 ? "\b" : c === 116 ? " " : c === 9 ? " " : c === 110 ? "\n" : c === 118 ? "\v" : c === 102 ? "\f" : c === 114 ? "\r" : c === 101 ? "\x1B" : c === 32 ? " " : c === 34 ? '"' : c === 47 ? "/" : c === 92 ? "\\" : c === 78 ? "\x85" : c === 95 ? "\xA0" : c === 76 ? "\u2028" : c === 80 ? "\u2029" : ""; - } - function charFromCodepoint(c) { - if (c <= 65535) { - return String.fromCharCode(c); - } - return String.fromCharCode( - (c - 65536 >> 10) + 55296, - (c - 65536 & 1023) + 56320 - ); - } - var simpleEscapeCheck = new Array(256); - var simpleEscapeMap = new Array(256); - for (i = 0; i < 256; i++) { - simpleEscapeCheck[i] = simpleEscapeSequence(i) ? 1 : 0; - simpleEscapeMap[i] = simpleEscapeSequence(i); - } - var i; - function State(input, options) { - this.input = input; - this.filename = options["filename"] || null; - this.schema = options["schema"] || DEFAULT_SCHEMA; - this.onWarning = options["onWarning"] || null; - this.legacy = options["legacy"] || false; - this.json = options["json"] || false; - this.listener = options["listener"] || null; - this.implicitTypes = this.schema.compiledImplicit; - this.typeMap = this.schema.compiledTypeMap; - this.length = input.length; - this.position = 0; - this.line = 0; - this.lineStart = 0; - this.lineIndent = 0; - this.firstTabInLine = -1; - this.documents = []; - } - function generateError(state, message) { - var mark = { - name: state.filename, - buffer: state.input.slice(0, -1), - // omit trailing \0 - position: state.position, - line: state.line, - column: state.position - state.lineStart - }; - mark.snippet = makeSnippet(mark); - return new YAMLException(message, mark); - } - function throwError(state, message) { - throw generateError(state, message); - } - function throwWarning(state, message) { - if (state.onWarning) { - state.onWarning.call(null, generateError(state, message)); - } - } - var directiveHandlers = { - YAML: function handleYamlDirective(state, name, args) { - var match, major, minor; - if (state.version !== null) { - throwError(state, "duplication of %YAML directive"); - } - if (args.length !== 1) { - throwError(state, "YAML directive accepts exactly one argument"); - } - match = /^([0-9]+)\.([0-9]+)$/.exec(args[0]); - if (match === null) { - throwError(state, "ill-formed argument of the YAML directive"); - } - major = parseInt(match[1], 10); - minor = parseInt(match[2], 10); - if (major !== 1) { - throwError(state, "unacceptable YAML version of the document"); - } - state.version = args[0]; - state.checkLineBreaks = minor < 2; - if (minor !== 1 && minor !== 2) { - throwWarning(state, "unsupported YAML version of the document"); - } - }, - TAG: function handleTagDirective(state, name, args) { - var handle, prefix; - if (args.length !== 2) { - throwError(state, "TAG directive accepts exactly two arguments"); - } - handle = args[0]; - prefix = args[1]; - if (!PATTERN_TAG_HANDLE.test(handle)) { - throwError(state, "ill-formed tag handle (first argument) of the TAG directive"); - } - if (_hasOwnProperty.call(state.tagMap, handle)) { - throwError(state, 'there is a previously declared suffix for "' + handle + '" tag handle'); - } - if (!PATTERN_TAG_URI.test(prefix)) { - throwError(state, "ill-formed tag prefix (second argument) of the TAG directive"); - } - try { - prefix = decodeURIComponent(prefix); - } catch (err) { - throwError(state, "tag prefix is malformed: " + prefix); - } - state.tagMap[handle] = prefix; - } - }; - function captureSegment(state, start, end, checkJson) { - var _position, _length, _character, _result; - if (start < end) { - _result = state.input.slice(start, end); - if (checkJson) { - for (_position = 0, _length = _result.length; _position < _length; _position += 1) { - _character = _result.charCodeAt(_position); - if (!(_character === 9 || 32 <= _character && _character <= 1114111)) { - throwError(state, "expected valid JSON character"); - } - } - } else if (PATTERN_NON_PRINTABLE.test(_result)) { - throwError(state, "the stream contains non-printable characters"); - } - state.result += _result; - } - } - function mergeMappings(state, destination, source, overridableKeys) { - var sourceKeys, key, index, quantity; - if (!common.isObject(source)) { - throwError(state, "cannot merge mappings; the provided source object is unacceptable"); - } - sourceKeys = Object.keys(source); - for (index = 0, quantity = sourceKeys.length; index < quantity; index += 1) { - key = sourceKeys[index]; - if (!_hasOwnProperty.call(destination, key)) { - destination[key] = source[key]; - overridableKeys[key] = true; - } - } - } - function storeMappingPair(state, _result, overridableKeys, keyTag, keyNode, valueNode, startLine, startLineStart, startPos) { - var index, quantity; - if (Array.isArray(keyNode)) { - keyNode = Array.prototype.slice.call(keyNode); - for (index = 0, quantity = keyNode.length; index < quantity; index += 1) { - if (Array.isArray(keyNode[index])) { - throwError(state, "nested arrays are not supported inside keys"); - } - if (typeof keyNode === "object" && _class(keyNode[index]) === "[object Object]") { - keyNode[index] = "[object Object]"; - } - } - } - if (typeof keyNode === "object" && _class(keyNode) === "[object Object]") { - keyNode = "[object Object]"; - } - keyNode = String(keyNode); - if (_result === null) { - _result = {}; - } - if (keyTag === "tag:yaml.org,2002:merge") { - if (Array.isArray(valueNode)) { - for (index = 0, quantity = valueNode.length; index < quantity; index += 1) { - mergeMappings(state, _result, valueNode[index], overridableKeys); - } - } else { - mergeMappings(state, _result, valueNode, overridableKeys); - } - } else { - if (!state.json && !_hasOwnProperty.call(overridableKeys, keyNode) && _hasOwnProperty.call(_result, keyNode)) { - state.line = startLine || state.line; - state.lineStart = startLineStart || state.lineStart; - state.position = startPos || state.position; - throwError(state, "duplicated mapping key"); - } - if (keyNode === "__proto__") { - Object.defineProperty(_result, keyNode, { - configurable: true, - enumerable: true, - writable: true, - value: valueNode - }); - } else { - _result[keyNode] = valueNode; - } - delete overridableKeys[keyNode]; - } - return _result; - } - function readLineBreak(state) { - var ch; - ch = state.input.charCodeAt(state.position); - if (ch === 10) { - state.position++; - } else if (ch === 13) { - state.position++; - if (state.input.charCodeAt(state.position) === 10) { - state.position++; - } - } else { - throwError(state, "a line break is expected"); - } - state.line += 1; - state.lineStart = state.position; - state.firstTabInLine = -1; - } - function skipSeparationSpace(state, allowComments, checkIndent) { - var lineBreaks = 0, ch = state.input.charCodeAt(state.position); - while (ch !== 0) { - while (is_WHITE_SPACE(ch)) { - if (ch === 9 && state.firstTabInLine === -1) { - state.firstTabInLine = state.position; - } - ch = state.input.charCodeAt(++state.position); - } - if (allowComments && ch === 35) { - do { - ch = state.input.charCodeAt(++state.position); - } while (ch !== 10 && ch !== 13 && ch !== 0); - } - if (is_EOL(ch)) { - readLineBreak(state); - ch = state.input.charCodeAt(state.position); - lineBreaks++; - state.lineIndent = 0; - while (ch === 32) { - state.lineIndent++; - ch = state.input.charCodeAt(++state.position); - } - } else { - break; - } - } - if (checkIndent !== -1 && lineBreaks !== 0 && state.lineIndent < checkIndent) { - throwWarning(state, "deficient indentation"); - } - return lineBreaks; - } - function testDocumentSeparator(state) { - var _position = state.position, ch; - ch = state.input.charCodeAt(_position); - if ((ch === 45 || ch === 46) && ch === state.input.charCodeAt(_position + 1) && ch === state.input.charCodeAt(_position + 2)) { - _position += 3; - ch = state.input.charCodeAt(_position); - if (ch === 0 || is_WS_OR_EOL(ch)) { - return true; - } - } - return false; - } - function writeFoldedLines(state, count) { - if (count === 1) { - state.result += " "; - } else if (count > 1) { - state.result += common.repeat("\n", count - 1); - } - } - function readPlainScalar(state, nodeIndent, withinFlowCollection) { - var preceding, following, captureStart, captureEnd, hasPendingContent, _line, _lineStart, _lineIndent, _kind = state.kind, _result = state.result, ch; - ch = state.input.charCodeAt(state.position); - if (is_WS_OR_EOL(ch) || is_FLOW_INDICATOR(ch) || ch === 35 || ch === 38 || ch === 42 || ch === 33 || ch === 124 || ch === 62 || ch === 39 || ch === 34 || ch === 37 || ch === 64 || ch === 96) { - return false; - } - if (ch === 63 || ch === 45) { - following = state.input.charCodeAt(state.position + 1); - if (is_WS_OR_EOL(following) || withinFlowCollection && is_FLOW_INDICATOR(following)) { - return false; - } - } - state.kind = "scalar"; - state.result = ""; - captureStart = captureEnd = state.position; - hasPendingContent = false; - while (ch !== 0) { - if (ch === 58) { - following = state.input.charCodeAt(state.position + 1); - if (is_WS_OR_EOL(following) || withinFlowCollection && is_FLOW_INDICATOR(following)) { - break; - } - } else if (ch === 35) { - preceding = state.input.charCodeAt(state.position - 1); - if (is_WS_OR_EOL(preceding)) { - break; - } - } else if (state.position === state.lineStart && testDocumentSeparator(state) || withinFlowCollection && is_FLOW_INDICATOR(ch)) { - break; - } else if (is_EOL(ch)) { - _line = state.line; - _lineStart = state.lineStart; - _lineIndent = state.lineIndent; - skipSeparationSpace(state, false, -1); - if (state.lineIndent >= nodeIndent) { - hasPendingContent = true; - ch = state.input.charCodeAt(state.position); - continue; - } else { - state.position = captureEnd; - state.line = _line; - state.lineStart = _lineStart; - state.lineIndent = _lineIndent; - break; - } - } - if (hasPendingContent) { - captureSegment(state, captureStart, captureEnd, false); - writeFoldedLines(state, state.line - _line); - captureStart = captureEnd = state.position; - hasPendingContent = false; - } - if (!is_WHITE_SPACE(ch)) { - captureEnd = state.position + 1; - } - ch = state.input.charCodeAt(++state.position); - } - captureSegment(state, captureStart, captureEnd, false); - if (state.result) { - return true; - } - state.kind = _kind; - state.result = _result; - return false; - } - function readSingleQuotedScalar(state, nodeIndent) { - var ch, captureStart, captureEnd; - ch = state.input.charCodeAt(state.position); - if (ch !== 39) { - return false; - } - state.kind = "scalar"; - state.result = ""; - state.position++; - captureStart = captureEnd = state.position; - while ((ch = state.input.charCodeAt(state.position)) !== 0) { - if (ch === 39) { - captureSegment(state, captureStart, state.position, true); - ch = state.input.charCodeAt(++state.position); - if (ch === 39) { - captureStart = state.position; - state.position++; - captureEnd = state.position; - } else { - return true; - } - } else if (is_EOL(ch)) { - captureSegment(state, captureStart, captureEnd, true); - writeFoldedLines(state, skipSeparationSpace(state, false, nodeIndent)); - captureStart = captureEnd = state.position; - } else if (state.position === state.lineStart && testDocumentSeparator(state)) { - throwError(state, "unexpected end of the document within a single quoted scalar"); - } else { - state.position++; - captureEnd = state.position; - } - } - throwError(state, "unexpected end of the stream within a single quoted scalar"); - } - function readDoubleQuotedScalar(state, nodeIndent) { - var captureStart, captureEnd, hexLength, hexResult, tmp, ch; - ch = state.input.charCodeAt(state.position); - if (ch !== 34) { - return false; - } - state.kind = "scalar"; - state.result = ""; - state.position++; - captureStart = captureEnd = state.position; - while ((ch = state.input.charCodeAt(state.position)) !== 0) { - if (ch === 34) { - captureSegment(state, captureStart, state.position, true); - state.position++; - return true; - } else if (ch === 92) { - captureSegment(state, captureStart, state.position, true); - ch = state.input.charCodeAt(++state.position); - if (is_EOL(ch)) { - skipSeparationSpace(state, false, nodeIndent); - } else if (ch < 256 && simpleEscapeCheck[ch]) { - state.result += simpleEscapeMap[ch]; - state.position++; - } else if ((tmp = escapedHexLen(ch)) > 0) { - hexLength = tmp; - hexResult = 0; - for (; hexLength > 0; hexLength--) { - ch = state.input.charCodeAt(++state.position); - if ((tmp = fromHexCode(ch)) >= 0) { - hexResult = (hexResult << 4) + tmp; - } else { - throwError(state, "expected hexadecimal character"); - } - } - state.result += charFromCodepoint(hexResult); - state.position++; - } else { - throwError(state, "unknown escape sequence"); - } - captureStart = captureEnd = state.position; - } else if (is_EOL(ch)) { - captureSegment(state, captureStart, captureEnd, true); - writeFoldedLines(state, skipSeparationSpace(state, false, nodeIndent)); - captureStart = captureEnd = state.position; - } else if (state.position === state.lineStart && testDocumentSeparator(state)) { - throwError(state, "unexpected end of the document within a double quoted scalar"); - } else { - state.position++; - captureEnd = state.position; - } - } - throwError(state, "unexpected end of the stream within a double quoted scalar"); - } - function readFlowCollection(state, nodeIndent) { - var readNext = true, _line, _lineStart, _pos, _tag = state.tag, _result, _anchor = state.anchor, following, terminator, isPair, isExplicitPair, isMapping, overridableKeys = /* @__PURE__ */ Object.create(null), keyNode, keyTag, valueNode, ch; - ch = state.input.charCodeAt(state.position); - if (ch === 91) { - terminator = 93; - isMapping = false; - _result = []; - } else if (ch === 123) { - terminator = 125; - isMapping = true; - _result = {}; - } else { - return false; - } - if (state.anchor !== null) { - state.anchorMap[state.anchor] = _result; - } - ch = state.input.charCodeAt(++state.position); - while (ch !== 0) { - skipSeparationSpace(state, true, nodeIndent); - ch = state.input.charCodeAt(state.position); - if (ch === terminator) { - state.position++; - state.tag = _tag; - state.anchor = _anchor; - state.kind = isMapping ? "mapping" : "sequence"; - state.result = _result; - return true; - } else if (!readNext) { - throwError(state, "missed comma between flow collection entries"); - } else if (ch === 44) { - throwError(state, "expected the node content, but found ','"); - } - keyTag = keyNode = valueNode = null; - isPair = isExplicitPair = false; - if (ch === 63) { - following = state.input.charCodeAt(state.position + 1); - if (is_WS_OR_EOL(following)) { - isPair = isExplicitPair = true; - state.position++; - skipSeparationSpace(state, true, nodeIndent); - } - } - _line = state.line; - _lineStart = state.lineStart; - _pos = state.position; - composeNode(state, nodeIndent, CONTEXT_FLOW_IN, false, true); - keyTag = state.tag; - keyNode = state.result; - skipSeparationSpace(state, true, nodeIndent); - ch = state.input.charCodeAt(state.position); - if ((isExplicitPair || state.line === _line) && ch === 58) { - isPair = true; - ch = state.input.charCodeAt(++state.position); - skipSeparationSpace(state, true, nodeIndent); - composeNode(state, nodeIndent, CONTEXT_FLOW_IN, false, true); - valueNode = state.result; - } - if (isMapping) { - storeMappingPair(state, _result, overridableKeys, keyTag, keyNode, valueNode, _line, _lineStart, _pos); - } else if (isPair) { - _result.push(storeMappingPair(state, null, overridableKeys, keyTag, keyNode, valueNode, _line, _lineStart, _pos)); - } else { - _result.push(keyNode); - } - skipSeparationSpace(state, true, nodeIndent); - ch = state.input.charCodeAt(state.position); - if (ch === 44) { - readNext = true; - ch = state.input.charCodeAt(++state.position); - } else { - readNext = false; - } - } - throwError(state, "unexpected end of the stream within a flow collection"); - } - function readBlockScalar(state, nodeIndent) { - var captureStart, folding, chomping = CHOMPING_CLIP, didReadContent = false, detectedIndent = false, textIndent = nodeIndent, emptyLines = 0, atMoreIndented = false, tmp, ch; - ch = state.input.charCodeAt(state.position); - if (ch === 124) { - folding = false; - } else if (ch === 62) { - folding = true; - } else { - return false; - } - state.kind = "scalar"; - state.result = ""; - while (ch !== 0) { - ch = state.input.charCodeAt(++state.position); - if (ch === 43 || ch === 45) { - if (CHOMPING_CLIP === chomping) { - chomping = ch === 43 ? CHOMPING_KEEP : CHOMPING_STRIP; - } else { - throwError(state, "repeat of a chomping mode identifier"); - } - } else if ((tmp = fromDecimalCode(ch)) >= 0) { - if (tmp === 0) { - throwError(state, "bad explicit indentation width of a block scalar; it cannot be less than one"); - } else if (!detectedIndent) { - textIndent = nodeIndent + tmp - 1; - detectedIndent = true; - } else { - throwError(state, "repeat of an indentation width identifier"); - } - } else { - break; - } - } - if (is_WHITE_SPACE(ch)) { - do { - ch = state.input.charCodeAt(++state.position); - } while (is_WHITE_SPACE(ch)); - if (ch === 35) { - do { - ch = state.input.charCodeAt(++state.position); - } while (!is_EOL(ch) && ch !== 0); - } - } - while (ch !== 0) { - readLineBreak(state); - state.lineIndent = 0; - ch = state.input.charCodeAt(state.position); - while ((!detectedIndent || state.lineIndent < textIndent) && ch === 32) { - state.lineIndent++; - ch = state.input.charCodeAt(++state.position); - } - if (!detectedIndent && state.lineIndent > textIndent) { - textIndent = state.lineIndent; - } - if (is_EOL(ch)) { - emptyLines++; - continue; - } - if (state.lineIndent < textIndent) { - if (chomping === CHOMPING_KEEP) { - state.result += common.repeat("\n", didReadContent ? 1 + emptyLines : emptyLines); - } else if (chomping === CHOMPING_CLIP) { - if (didReadContent) { - state.result += "\n"; - } - } - break; - } - if (folding) { - if (is_WHITE_SPACE(ch)) { - atMoreIndented = true; - state.result += common.repeat("\n", didReadContent ? 1 + emptyLines : emptyLines); - } else if (atMoreIndented) { - atMoreIndented = false; - state.result += common.repeat("\n", emptyLines + 1); - } else if (emptyLines === 0) { - if (didReadContent) { - state.result += " "; - } - } else { - state.result += common.repeat("\n", emptyLines); - } - } else { - state.result += common.repeat("\n", didReadContent ? 1 + emptyLines : emptyLines); - } - didReadContent = true; - detectedIndent = true; - emptyLines = 0; - captureStart = state.position; - while (!is_EOL(ch) && ch !== 0) { - ch = state.input.charCodeAt(++state.position); - } - captureSegment(state, captureStart, state.position, false); - } - return true; - } - function readBlockSequence(state, nodeIndent) { - var _line, _tag = state.tag, _anchor = state.anchor, _result = [], following, detected = false, ch; - if (state.firstTabInLine !== -1) - return false; - if (state.anchor !== null) { - state.anchorMap[state.anchor] = _result; - } - ch = state.input.charCodeAt(state.position); - while (ch !== 0) { - if (state.firstTabInLine !== -1) { - state.position = state.firstTabInLine; - throwError(state, "tab characters must not be used in indentation"); - } - if (ch !== 45) { - break; - } - following = state.input.charCodeAt(state.position + 1); - if (!is_WS_OR_EOL(following)) { - break; - } - detected = true; - state.position++; - if (skipSeparationSpace(state, true, -1)) { - if (state.lineIndent <= nodeIndent) { - _result.push(null); - ch = state.input.charCodeAt(state.position); - continue; - } - } - _line = state.line; - composeNode(state, nodeIndent, CONTEXT_BLOCK_IN, false, true); - _result.push(state.result); - skipSeparationSpace(state, true, -1); - ch = state.input.charCodeAt(state.position); - if ((state.line === _line || state.lineIndent > nodeIndent) && ch !== 0) { - throwError(state, "bad indentation of a sequence entry"); - } else if (state.lineIndent < nodeIndent) { - break; - } - } - if (detected) { - state.tag = _tag; - state.anchor = _anchor; - state.kind = "sequence"; - state.result = _result; - return true; - } - return false; - } - function readBlockMapping(state, nodeIndent, flowIndent) { - var following, allowCompact, _line, _keyLine, _keyLineStart, _keyPos, _tag = state.tag, _anchor = state.anchor, _result = {}, overridableKeys = /* @__PURE__ */ Object.create(null), keyTag = null, keyNode = null, valueNode = null, atExplicitKey = false, detected = false, ch; - if (state.firstTabInLine !== -1) - return false; - if (state.anchor !== null) { - state.anchorMap[state.anchor] = _result; - } - ch = state.input.charCodeAt(state.position); - while (ch !== 0) { - if (!atExplicitKey && state.firstTabInLine !== -1) { - state.position = state.firstTabInLine; - throwError(state, "tab characters must not be used in indentation"); - } - following = state.input.charCodeAt(state.position + 1); - _line = state.line; - if ((ch === 63 || ch === 58) && is_WS_OR_EOL(following)) { - if (ch === 63) { - if (atExplicitKey) { - storeMappingPair(state, _result, overridableKeys, keyTag, keyNode, null, _keyLine, _keyLineStart, _keyPos); - keyTag = keyNode = valueNode = null; - } - detected = true; - atExplicitKey = true; - allowCompact = true; - } else if (atExplicitKey) { - atExplicitKey = false; - allowCompact = true; - } else { - throwError(state, "incomplete explicit mapping pair; a key node is missed; or followed by a non-tabulated empty line"); - } - state.position += 1; - ch = following; - } else { - _keyLine = state.line; - _keyLineStart = state.lineStart; - _keyPos = state.position; - if (!composeNode(state, flowIndent, CONTEXT_FLOW_OUT, false, true)) { - break; - } - if (state.line === _line) { - ch = state.input.charCodeAt(state.position); - while (is_WHITE_SPACE(ch)) { - ch = state.input.charCodeAt(++state.position); - } - if (ch === 58) { - ch = state.input.charCodeAt(++state.position); - if (!is_WS_OR_EOL(ch)) { - throwError(state, "a whitespace character is expected after the key-value separator within a block mapping"); - } - if (atExplicitKey) { - storeMappingPair(state, _result, overridableKeys, keyTag, keyNode, null, _keyLine, _keyLineStart, _keyPos); - keyTag = keyNode = valueNode = null; - } - detected = true; - atExplicitKey = false; - allowCompact = false; - keyTag = state.tag; - keyNode = state.result; - } else if (detected) { - throwError(state, "can not read an implicit mapping pair; a colon is missed"); - } else { - state.tag = _tag; - state.anchor = _anchor; - return true; - } - } else if (detected) { - throwError(state, "can not read a block mapping entry; a multiline key may not be an implicit key"); - } else { - state.tag = _tag; - state.anchor = _anchor; - return true; - } - } - if (state.line === _line || state.lineIndent > nodeIndent) { - if (atExplicitKey) { - _keyLine = state.line; - _keyLineStart = state.lineStart; - _keyPos = state.position; - } - if (composeNode(state, nodeIndent, CONTEXT_BLOCK_OUT, true, allowCompact)) { - if (atExplicitKey) { - keyNode = state.result; - } else { - valueNode = state.result; - } - } - if (!atExplicitKey) { - storeMappingPair(state, _result, overridableKeys, keyTag, keyNode, valueNode, _keyLine, _keyLineStart, _keyPos); - keyTag = keyNode = valueNode = null; - } - skipSeparationSpace(state, true, -1); - ch = state.input.charCodeAt(state.position); - } - if ((state.line === _line || state.lineIndent > nodeIndent) && ch !== 0) { - throwError(state, "bad indentation of a mapping entry"); - } else if (state.lineIndent < nodeIndent) { - break; - } - } - if (atExplicitKey) { - storeMappingPair(state, _result, overridableKeys, keyTag, keyNode, null, _keyLine, _keyLineStart, _keyPos); - } - if (detected) { - state.tag = _tag; - state.anchor = _anchor; - state.kind = "mapping"; - state.result = _result; - } - return detected; - } - function readTagProperty(state) { - var _position, isVerbatim = false, isNamed = false, tagHandle, tagName, ch; - ch = state.input.charCodeAt(state.position); - if (ch !== 33) - return false; - if (state.tag !== null) { - throwError(state, "duplication of a tag property"); - } - ch = state.input.charCodeAt(++state.position); - if (ch === 60) { - isVerbatim = true; - ch = state.input.charCodeAt(++state.position); - } else if (ch === 33) { - isNamed = true; - tagHandle = "!!"; - ch = state.input.charCodeAt(++state.position); - } else { - tagHandle = "!"; - } - _position = state.position; - if (isVerbatim) { - do { - ch = state.input.charCodeAt(++state.position); - } while (ch !== 0 && ch !== 62); - if (state.position < state.length) { - tagName = state.input.slice(_position, state.position); - ch = state.input.charCodeAt(++state.position); - } else { - throwError(state, "unexpected end of the stream within a verbatim tag"); - } - } else { - while (ch !== 0 && !is_WS_OR_EOL(ch)) { - if (ch === 33) { - if (!isNamed) { - tagHandle = state.input.slice(_position - 1, state.position + 1); - if (!PATTERN_TAG_HANDLE.test(tagHandle)) { - throwError(state, "named tag handle cannot contain such characters"); - } - isNamed = true; - _position = state.position + 1; - } else { - throwError(state, "tag suffix cannot contain exclamation marks"); - } - } - ch = state.input.charCodeAt(++state.position); - } - tagName = state.input.slice(_position, state.position); - if (PATTERN_FLOW_INDICATORS.test(tagName)) { - throwError(state, "tag suffix cannot contain flow indicator characters"); - } - } - if (tagName && !PATTERN_TAG_URI.test(tagName)) { - throwError(state, "tag name cannot contain such characters: " + tagName); - } - try { - tagName = decodeURIComponent(tagName); - } catch (err) { - throwError(state, "tag name is malformed: " + tagName); - } - if (isVerbatim) { - state.tag = tagName; - } else if (_hasOwnProperty.call(state.tagMap, tagHandle)) { - state.tag = state.tagMap[tagHandle] + tagName; - } else if (tagHandle === "!") { - state.tag = "!" + tagName; - } else if (tagHandle === "!!") { - state.tag = "tag:yaml.org,2002:" + tagName; - } else { - throwError(state, 'undeclared tag handle "' + tagHandle + '"'); - } - return true; - } - function readAnchorProperty(state) { - var _position, ch; - ch = state.input.charCodeAt(state.position); - if (ch !== 38) - return false; - if (state.anchor !== null) { - throwError(state, "duplication of an anchor property"); - } - ch = state.input.charCodeAt(++state.position); - _position = state.position; - while (ch !== 0 && !is_WS_OR_EOL(ch) && !is_FLOW_INDICATOR(ch)) { - ch = state.input.charCodeAt(++state.position); - } - if (state.position === _position) { - throwError(state, "name of an anchor node must contain at least one character"); - } - state.anchor = state.input.slice(_position, state.position); - return true; - } - function readAlias(state) { - var _position, alias, ch; - ch = state.input.charCodeAt(state.position); - if (ch !== 42) - return false; - ch = state.input.charCodeAt(++state.position); - _position = state.position; - while (ch !== 0 && !is_WS_OR_EOL(ch) && !is_FLOW_INDICATOR(ch)) { - ch = state.input.charCodeAt(++state.position); - } - if (state.position === _position) { - throwError(state, "name of an alias node must contain at least one character"); - } - alias = state.input.slice(_position, state.position); - if (!_hasOwnProperty.call(state.anchorMap, alias)) { - throwError(state, 'unidentified alias "' + alias + '"'); - } - state.result = state.anchorMap[alias]; - skipSeparationSpace(state, true, -1); - return true; - } - function composeNode(state, parentIndent, nodeContext, allowToSeek, allowCompact) { - var allowBlockStyles, allowBlockScalars, allowBlockCollections, indentStatus = 1, atNewLine = false, hasContent = false, typeIndex, typeQuantity, typeList, type, flowIndent, blockIndent; - if (state.listener !== null) { - state.listener("open", state); - } - state.tag = null; - state.anchor = null; - state.kind = null; - state.result = null; - allowBlockStyles = allowBlockScalars = allowBlockCollections = CONTEXT_BLOCK_OUT === nodeContext || CONTEXT_BLOCK_IN === nodeContext; - if (allowToSeek) { - if (skipSeparationSpace(state, true, -1)) { - atNewLine = true; - if (state.lineIndent > parentIndent) { - indentStatus = 1; - } else if (state.lineIndent === parentIndent) { - indentStatus = 0; - } else if (state.lineIndent < parentIndent) { - indentStatus = -1; - } - } - } - if (indentStatus === 1) { - while (readTagProperty(state) || readAnchorProperty(state)) { - if (skipSeparationSpace(state, true, -1)) { - atNewLine = true; - allowBlockCollections = allowBlockStyles; - if (state.lineIndent > parentIndent) { - indentStatus = 1; - } else if (state.lineIndent === parentIndent) { - indentStatus = 0; - } else if (state.lineIndent < parentIndent) { - indentStatus = -1; - } - } else { - allowBlockCollections = false; - } - } - } - if (allowBlockCollections) { - allowBlockCollections = atNewLine || allowCompact; - } - if (indentStatus === 1 || CONTEXT_BLOCK_OUT === nodeContext) { - if (CONTEXT_FLOW_IN === nodeContext || CONTEXT_FLOW_OUT === nodeContext) { - flowIndent = parentIndent; - } else { - flowIndent = parentIndent + 1; - } - blockIndent = state.position - state.lineStart; - if (indentStatus === 1) { - if (allowBlockCollections && (readBlockSequence(state, blockIndent) || readBlockMapping(state, blockIndent, flowIndent)) || readFlowCollection(state, flowIndent)) { - hasContent = true; - } else { - if (allowBlockScalars && readBlockScalar(state, flowIndent) || readSingleQuotedScalar(state, flowIndent) || readDoubleQuotedScalar(state, flowIndent)) { - hasContent = true; - } else if (readAlias(state)) { - hasContent = true; - if (state.tag !== null || state.anchor !== null) { - throwError(state, "alias node should not have any properties"); - } - } else if (readPlainScalar(state, flowIndent, CONTEXT_FLOW_IN === nodeContext)) { - hasContent = true; - if (state.tag === null) { - state.tag = "?"; - } - } - if (state.anchor !== null) { - state.anchorMap[state.anchor] = state.result; - } - } - } else if (indentStatus === 0) { - hasContent = allowBlockCollections && readBlockSequence(state, blockIndent); - } - } - if (state.tag === null) { - if (state.anchor !== null) { - state.anchorMap[state.anchor] = state.result; - } - } else if (state.tag === "?") { - if (state.result !== null && state.kind !== "scalar") { - throwError(state, 'unacceptable node kind for ! tag; it should be "scalar", not "' + state.kind + '"'); - } - for (typeIndex = 0, typeQuantity = state.implicitTypes.length; typeIndex < typeQuantity; typeIndex += 1) { - type = state.implicitTypes[typeIndex]; - if (type.resolve(state.result)) { - state.result = type.construct(state.result); - state.tag = type.tag; - if (state.anchor !== null) { - state.anchorMap[state.anchor] = state.result; - } - break; - } - } - } else if (state.tag !== "!") { - if (_hasOwnProperty.call(state.typeMap[state.kind || "fallback"], state.tag)) { - type = state.typeMap[state.kind || "fallback"][state.tag]; - } else { - type = null; - typeList = state.typeMap.multi[state.kind || "fallback"]; - for (typeIndex = 0, typeQuantity = typeList.length; typeIndex < typeQuantity; typeIndex += 1) { - if (state.tag.slice(0, typeList[typeIndex].tag.length) === typeList[typeIndex].tag) { - type = typeList[typeIndex]; - break; - } - } - } - if (!type) { - throwError(state, "unknown tag !<" + state.tag + ">"); - } - if (state.result !== null && type.kind !== state.kind) { - throwError(state, "unacceptable node kind for !<" + state.tag + '> tag; it should be "' + type.kind + '", not "' + state.kind + '"'); - } - if (!type.resolve(state.result, state.tag)) { - throwError(state, "cannot resolve a node with !<" + state.tag + "> explicit tag"); - } else { - state.result = type.construct(state.result, state.tag); - if (state.anchor !== null) { - state.anchorMap[state.anchor] = state.result; - } - } - } - if (state.listener !== null) { - state.listener("close", state); - } - return state.tag !== null || state.anchor !== null || hasContent; - } - function readDocument(state) { - var documentStart = state.position, _position, directiveName, directiveArgs, hasDirectives = false, ch; - state.version = null; - state.checkLineBreaks = state.legacy; - state.tagMap = /* @__PURE__ */ Object.create(null); - state.anchorMap = /* @__PURE__ */ Object.create(null); - while ((ch = state.input.charCodeAt(state.position)) !== 0) { - skipSeparationSpace(state, true, -1); - ch = state.input.charCodeAt(state.position); - if (state.lineIndent > 0 || ch !== 37) { - break; - } - hasDirectives = true; - ch = state.input.charCodeAt(++state.position); - _position = state.position; - while (ch !== 0 && !is_WS_OR_EOL(ch)) { - ch = state.input.charCodeAt(++state.position); - } - directiveName = state.input.slice(_position, state.position); - directiveArgs = []; - if (directiveName.length < 1) { - throwError(state, "directive name must not be less than one character in length"); - } - while (ch !== 0) { - while (is_WHITE_SPACE(ch)) { - ch = state.input.charCodeAt(++state.position); - } - if (ch === 35) { - do { - ch = state.input.charCodeAt(++state.position); - } while (ch !== 0 && !is_EOL(ch)); - break; - } - if (is_EOL(ch)) - break; - _position = state.position; - while (ch !== 0 && !is_WS_OR_EOL(ch)) { - ch = state.input.charCodeAt(++state.position); - } - directiveArgs.push(state.input.slice(_position, state.position)); - } - if (ch !== 0) - readLineBreak(state); - if (_hasOwnProperty.call(directiveHandlers, directiveName)) { - directiveHandlers[directiveName](state, directiveName, directiveArgs); - } else { - throwWarning(state, 'unknown document directive "' + directiveName + '"'); - } - } - skipSeparationSpace(state, true, -1); - if (state.lineIndent === 0 && state.input.charCodeAt(state.position) === 45 && state.input.charCodeAt(state.position + 1) === 45 && state.input.charCodeAt(state.position + 2) === 45) { - state.position += 3; - skipSeparationSpace(state, true, -1); - } else if (hasDirectives) { - throwError(state, "directives end mark is expected"); - } - composeNode(state, state.lineIndent - 1, CONTEXT_BLOCK_OUT, false, true); - skipSeparationSpace(state, true, -1); - if (state.checkLineBreaks && PATTERN_NON_ASCII_LINE_BREAKS.test(state.input.slice(documentStart, state.position))) { - throwWarning(state, "non-ASCII line breaks are interpreted as content"); - } - state.documents.push(state.result); - if (state.position === state.lineStart && testDocumentSeparator(state)) { - if (state.input.charCodeAt(state.position) === 46) { - state.position += 3; - skipSeparationSpace(state, true, -1); - } - return; - } - if (state.position < state.length - 1) { - throwError(state, "end of the stream or a document separator is expected"); - } else { - return; - } - } - function loadDocuments(input, options) { - input = String(input); - options = options || {}; - if (input.length !== 0) { - if (input.charCodeAt(input.length - 1) !== 10 && input.charCodeAt(input.length - 1) !== 13) { - input += "\n"; - } - if (input.charCodeAt(0) === 65279) { - input = input.slice(1); - } - } - var state = new State(input, options); - var nullpos = input.indexOf("\0"); - if (nullpos !== -1) { - state.position = nullpos; - throwError(state, "null byte is not allowed in input"); - } - state.input += "\0"; - while (state.input.charCodeAt(state.position) === 32) { - state.lineIndent += 1; - state.position += 1; - } - while (state.position < state.length - 1) { - readDocument(state); - } - return state.documents; - } - function loadAll(input, iterator, options) { - if (iterator !== null && typeof iterator === "object" && typeof options === "undefined") { - options = iterator; - iterator = null; - } - var documents = loadDocuments(input, options); - if (typeof iterator !== "function") { - return documents; - } - for (var index = 0, length = documents.length; index < length; index += 1) { - iterator(documents[index]); - } - } - function load(input, options) { - var documents = loadDocuments(input, options); - if (documents.length === 0) { - return void 0; - } else if (documents.length === 1) { - return documents[0]; - } - throw new YAMLException("expected a single document in the stream, but found more"); - } - module.exports.loadAll = loadAll; - module.exports.load = load; - } -}); - -// node_modules/js-yaml/lib/dumper.js -var require_dumper = __commonJS({ - "node_modules/js-yaml/lib/dumper.js"(exports, module) { - "use strict"; - var common = require_common(); - var YAMLException = require_exception(); - var DEFAULT_SCHEMA = require_default(); - var _toString = Object.prototype.toString; - var _hasOwnProperty = Object.prototype.hasOwnProperty; - var CHAR_BOM = 65279; - var CHAR_TAB = 9; - var CHAR_LINE_FEED = 10; - var CHAR_CARRIAGE_RETURN = 13; - var CHAR_SPACE = 32; - var CHAR_EXCLAMATION = 33; - var CHAR_DOUBLE_QUOTE = 34; - var CHAR_SHARP = 35; - var CHAR_PERCENT = 37; - var CHAR_AMPERSAND = 38; - var CHAR_SINGLE_QUOTE = 39; - var CHAR_ASTERISK = 42; - var CHAR_COMMA = 44; - var CHAR_MINUS = 45; - var CHAR_COLON = 58; - var CHAR_EQUALS = 61; - var CHAR_GREATER_THAN = 62; - var CHAR_QUESTION = 63; - var CHAR_COMMERCIAL_AT = 64; - var CHAR_LEFT_SQUARE_BRACKET = 91; - var CHAR_RIGHT_SQUARE_BRACKET = 93; - var CHAR_GRAVE_ACCENT = 96; - var CHAR_LEFT_CURLY_BRACKET = 123; - var CHAR_VERTICAL_LINE = 124; - var CHAR_RIGHT_CURLY_BRACKET = 125; - var ESCAPE_SEQUENCES = {}; - ESCAPE_SEQUENCES[0] = "\\0"; - ESCAPE_SEQUENCES[7] = "\\a"; - ESCAPE_SEQUENCES[8] = "\\b"; - ESCAPE_SEQUENCES[9] = "\\t"; - ESCAPE_SEQUENCES[10] = "\\n"; - ESCAPE_SEQUENCES[11] = "\\v"; - ESCAPE_SEQUENCES[12] = "\\f"; - ESCAPE_SEQUENCES[13] = "\\r"; - ESCAPE_SEQUENCES[27] = "\\e"; - ESCAPE_SEQUENCES[34] = '\\"'; - ESCAPE_SEQUENCES[92] = "\\\\"; - ESCAPE_SEQUENCES[133] = "\\N"; - ESCAPE_SEQUENCES[160] = "\\_"; - ESCAPE_SEQUENCES[8232] = "\\L"; - ESCAPE_SEQUENCES[8233] = "\\P"; - var DEPRECATED_BOOLEANS_SYNTAX = [ - "y", - "Y", - "yes", - "Yes", - "YES", - "on", - "On", - "ON", - "n", - "N", - "no", - "No", - "NO", - "off", - "Off", - "OFF" - ]; - var DEPRECATED_BASE60_SYNTAX = /^[-+]?[0-9_]+(?::[0-9_]+)+(?:\.[0-9_]*)?$/; - function compileStyleMap(schema, map) { - var result, keys, index, length, tag, style, type; - if (map === null) - return {}; - result = {}; - keys = Object.keys(map); - for (index = 0, length = keys.length; index < length; index += 1) { - tag = keys[index]; - style = String(map[tag]); - if (tag.slice(0, 2) === "!!") { - tag = "tag:yaml.org,2002:" + tag.slice(2); - } - type = schema.compiledTypeMap["fallback"][tag]; - if (type && _hasOwnProperty.call(type.styleAliases, style)) { - style = type.styleAliases[style]; - } - result[tag] = style; - } - return result; - } - function encodeHex(character) { - var string, handle, length; - string = character.toString(16).toUpperCase(); - if (character <= 255) { - handle = "x"; - length = 2; - } else if (character <= 65535) { - handle = "u"; - length = 4; - } else if (character <= 4294967295) { - handle = "U"; - length = 8; - } else { - throw new YAMLException("code point within a string may not be greater than 0xFFFFFFFF"); - } - return "\\" + handle + common.repeat("0", length - string.length) + string; - } - var QUOTING_TYPE_SINGLE = 1; - var QUOTING_TYPE_DOUBLE = 2; - function State(options) { - this.schema = options["schema"] || DEFAULT_SCHEMA; - this.indent = Math.max(1, options["indent"] || 2); - this.noArrayIndent = options["noArrayIndent"] || false; - this.skipInvalid = options["skipInvalid"] || false; - this.flowLevel = common.isNothing(options["flowLevel"]) ? -1 : options["flowLevel"]; - this.styleMap = compileStyleMap(this.schema, options["styles"] || null); - this.sortKeys = options["sortKeys"] || false; - this.lineWidth = options["lineWidth"] || 80; - this.noRefs = options["noRefs"] || false; - this.noCompatMode = options["noCompatMode"] || false; - this.condenseFlow = options["condenseFlow"] || false; - this.quotingType = options["quotingType"] === '"' ? QUOTING_TYPE_DOUBLE : QUOTING_TYPE_SINGLE; - this.forceQuotes = options["forceQuotes"] || false; - this.replacer = typeof options["replacer"] === "function" ? options["replacer"] : null; - this.implicitTypes = this.schema.compiledImplicit; - this.explicitTypes = this.schema.compiledExplicit; - this.tag = null; - this.result = ""; - this.duplicates = []; - this.usedDuplicates = null; - } - function indentString(string, spaces) { - var ind = common.repeat(" ", spaces), position = 0, next = -1, result = "", line, length = string.length; - while (position < length) { - next = string.indexOf("\n", position); - if (next === -1) { - line = string.slice(position); - position = length; - } else { - line = string.slice(position, next + 1); - position = next + 1; - } - if (line.length && line !== "\n") - result += ind; - result += line; - } - return result; - } - function generateNextLine(state, level) { - return "\n" + common.repeat(" ", state.indent * level); - } - function testImplicitResolving(state, str) { - var index, length, type; - for (index = 0, length = state.implicitTypes.length; index < length; index += 1) { - type = state.implicitTypes[index]; - if (type.resolve(str)) { - return true; - } - } - return false; - } - function isWhitespace(c) { - return c === CHAR_SPACE || c === CHAR_TAB; - } - function isPrintable(c) { - return 32 <= c && c <= 126 || 161 <= c && c <= 55295 && c !== 8232 && c !== 8233 || 57344 <= c && c <= 65533 && c !== CHAR_BOM || 65536 <= c && c <= 1114111; - } - function isNsCharOrWhitespace(c) { - return isPrintable(c) && c !== CHAR_BOM && c !== CHAR_CARRIAGE_RETURN && c !== CHAR_LINE_FEED; - } - function isPlainSafe(c, prev, inblock) { - var cIsNsCharOrWhitespace = isNsCharOrWhitespace(c); - var cIsNsChar = cIsNsCharOrWhitespace && !isWhitespace(c); - return ( - // ns-plain-safe - (inblock ? ( - // c = flow-in - cIsNsCharOrWhitespace - ) : cIsNsCharOrWhitespace && c !== CHAR_COMMA && c !== CHAR_LEFT_SQUARE_BRACKET && c !== CHAR_RIGHT_SQUARE_BRACKET && c !== CHAR_LEFT_CURLY_BRACKET && c !== CHAR_RIGHT_CURLY_BRACKET) && c !== CHAR_SHARP && !(prev === CHAR_COLON && !cIsNsChar) || isNsCharOrWhitespace(prev) && !isWhitespace(prev) && c === CHAR_SHARP || prev === CHAR_COLON && cIsNsChar - ); - } - function isPlainSafeFirst(c) { - return isPrintable(c) && c !== CHAR_BOM && !isWhitespace(c) && c !== CHAR_MINUS && c !== CHAR_QUESTION && c !== CHAR_COLON && c !== CHAR_COMMA && c !== CHAR_LEFT_SQUARE_BRACKET && c !== CHAR_RIGHT_SQUARE_BRACKET && c !== CHAR_LEFT_CURLY_BRACKET && c !== CHAR_RIGHT_CURLY_BRACKET && c !== CHAR_SHARP && c !== CHAR_AMPERSAND && c !== CHAR_ASTERISK && c !== CHAR_EXCLAMATION && c !== CHAR_VERTICAL_LINE && c !== CHAR_EQUALS && c !== CHAR_GREATER_THAN && c !== CHAR_SINGLE_QUOTE && c !== CHAR_DOUBLE_QUOTE && c !== CHAR_PERCENT && c !== CHAR_COMMERCIAL_AT && c !== CHAR_GRAVE_ACCENT; - } - function isPlainSafeLast(c) { - return !isWhitespace(c) && c !== CHAR_COLON; - } - function codePointAt(string, pos) { - var first = string.charCodeAt(pos), second; - if (first >= 55296 && first <= 56319 && pos + 1 < string.length) { - second = string.charCodeAt(pos + 1); - if (second >= 56320 && second <= 57343) { - return (first - 55296) * 1024 + second - 56320 + 65536; - } - } - return first; - } - function needIndentIndicator(string) { - var leadingSpaceRe = /^\n* /; - return leadingSpaceRe.test(string); - } - var STYLE_PLAIN = 1; - var STYLE_SINGLE = 2; - var STYLE_LITERAL = 3; - var STYLE_FOLDED = 4; - var STYLE_DOUBLE = 5; - function chooseScalarStyle(string, singleLineOnly, indentPerLevel, lineWidth, testAmbiguousType, quotingType, forceQuotes, inblock) { - var i; - var char = 0; - var prevChar = null; - var hasLineBreak = false; - var hasFoldableLine = false; - var shouldTrackWidth = lineWidth !== -1; - var previousLineBreak = -1; - var plain = isPlainSafeFirst(codePointAt(string, 0)) && isPlainSafeLast(codePointAt(string, string.length - 1)); - if (singleLineOnly || forceQuotes) { - for (i = 0; i < string.length; char >= 65536 ? i += 2 : i++) { - char = codePointAt(string, i); - if (!isPrintable(char)) { - return STYLE_DOUBLE; - } - plain = plain && isPlainSafe(char, prevChar, inblock); - prevChar = char; - } - } else { - for (i = 0; i < string.length; char >= 65536 ? i += 2 : i++) { - char = codePointAt(string, i); - if (char === CHAR_LINE_FEED) { - hasLineBreak = true; - if (shouldTrackWidth) { - hasFoldableLine = hasFoldableLine || // Foldable line = too long, and not more-indented. - i - previousLineBreak - 1 > lineWidth && string[previousLineBreak + 1] !== " "; - previousLineBreak = i; - } - } else if (!isPrintable(char)) { - return STYLE_DOUBLE; - } - plain = plain && isPlainSafe(char, prevChar, inblock); - prevChar = char; - } - hasFoldableLine = hasFoldableLine || shouldTrackWidth && (i - previousLineBreak - 1 > lineWidth && string[previousLineBreak + 1] !== " "); - } - if (!hasLineBreak && !hasFoldableLine) { - if (plain && !forceQuotes && !testAmbiguousType(string)) { - return STYLE_PLAIN; - } - return quotingType === QUOTING_TYPE_DOUBLE ? STYLE_DOUBLE : STYLE_SINGLE; - } - if (indentPerLevel > 9 && needIndentIndicator(string)) { - return STYLE_DOUBLE; - } - if (!forceQuotes) { - return hasFoldableLine ? STYLE_FOLDED : STYLE_LITERAL; - } - return quotingType === QUOTING_TYPE_DOUBLE ? STYLE_DOUBLE : STYLE_SINGLE; - } - function writeScalar(state, string, level, iskey, inblock) { - state.dump = function() { - if (string.length === 0) { - return state.quotingType === QUOTING_TYPE_DOUBLE ? '""' : "''"; - } - if (!state.noCompatMode) { - if (DEPRECATED_BOOLEANS_SYNTAX.indexOf(string) !== -1 || DEPRECATED_BASE60_SYNTAX.test(string)) { - return state.quotingType === QUOTING_TYPE_DOUBLE ? '"' + string + '"' : "'" + string + "'"; - } - } - var indent = state.indent * Math.max(1, level); - var lineWidth = state.lineWidth === -1 ? -1 : Math.max(Math.min(state.lineWidth, 40), state.lineWidth - indent); - var singleLineOnly = iskey || state.flowLevel > -1 && level >= state.flowLevel; - function testAmbiguity(string2) { - return testImplicitResolving(state, string2); - } - switch (chooseScalarStyle( - string, - singleLineOnly, - state.indent, - lineWidth, - testAmbiguity, - state.quotingType, - state.forceQuotes && !iskey, - inblock - )) { - case STYLE_PLAIN: - return string; - case STYLE_SINGLE: - return "'" + string.replace(/'/g, "''") + "'"; - case STYLE_LITERAL: - return "|" + blockHeader(string, state.indent) + dropEndingNewline(indentString(string, indent)); - case STYLE_FOLDED: - return ">" + blockHeader(string, state.indent) + dropEndingNewline(indentString(foldString(string, lineWidth), indent)); - case STYLE_DOUBLE: - return '"' + escapeString(string, lineWidth) + '"'; - default: - throw new YAMLException("impossible error: invalid scalar style"); - } - }(); - } - function blockHeader(string, indentPerLevel) { - var indentIndicator = needIndentIndicator(string) ? String(indentPerLevel) : ""; - var clip = string[string.length - 1] === "\n"; - var keep = clip && (string[string.length - 2] === "\n" || string === "\n"); - var chomp = keep ? "+" : clip ? "" : "-"; - return indentIndicator + chomp + "\n"; - } - function dropEndingNewline(string) { - return string[string.length - 1] === "\n" ? string.slice(0, -1) : string; - } - function foldString(string, width) { - var lineRe = /(\n+)([^\n]*)/g; - var result = function() { - var nextLF = string.indexOf("\n"); - nextLF = nextLF !== -1 ? nextLF : string.length; - lineRe.lastIndex = nextLF; - return foldLine(string.slice(0, nextLF), width); - }(); - var prevMoreIndented = string[0] === "\n" || string[0] === " "; - var moreIndented; - var match; - while (match = lineRe.exec(string)) { - var prefix = match[1], line = match[2]; - moreIndented = line[0] === " "; - result += prefix + (!prevMoreIndented && !moreIndented && line !== "" ? "\n" : "") + foldLine(line, width); - prevMoreIndented = moreIndented; - } - return result; - } - function foldLine(line, width) { - if (line === "" || line[0] === " ") - return line; - var breakRe = / [^ ]/g; - var match; - var start = 0, end, curr = 0, next = 0; - var result = ""; - while (match = breakRe.exec(line)) { - next = match.index; - if (next - start > width) { - end = curr > start ? curr : next; - result += "\n" + line.slice(start, end); - start = end + 1; - } - curr = next; - } - result += "\n"; - if (line.length - start > width && curr > start) { - result += line.slice(start, curr) + "\n" + line.slice(curr + 1); - } else { - result += line.slice(start); - } - return result.slice(1); - } - function escapeString(string) { - var result = ""; - var char = 0; - var escapeSeq; - for (var i = 0; i < string.length; char >= 65536 ? i += 2 : i++) { - char = codePointAt(string, i); - escapeSeq = ESCAPE_SEQUENCES[char]; - if (!escapeSeq && isPrintable(char)) { - result += string[i]; - if (char >= 65536) - result += string[i + 1]; - } else { - result += escapeSeq || encodeHex(char); - } - } - return result; - } - function writeFlowSequence(state, level, object) { - var _result = "", _tag = state.tag, index, length, value; - for (index = 0, length = object.length; index < length; index += 1) { - value = object[index]; - if (state.replacer) { - value = state.replacer.call(object, String(index), value); - } - if (writeNode(state, level, value, false, false) || typeof value === "undefined" && writeNode(state, level, null, false, false)) { - if (_result !== "") - _result += "," + (!state.condenseFlow ? " " : ""); - _result += state.dump; - } - } - state.tag = _tag; - state.dump = "[" + _result + "]"; - } - function writeBlockSequence(state, level, object, compact) { - var _result = "", _tag = state.tag, index, length, value; - for (index = 0, length = object.length; index < length; index += 1) { - value = object[index]; - if (state.replacer) { - value = state.replacer.call(object, String(index), value); - } - if (writeNode(state, level + 1, value, true, true, false, true) || typeof value === "undefined" && writeNode(state, level + 1, null, true, true, false, true)) { - if (!compact || _result !== "") { - _result += generateNextLine(state, level); - } - if (state.dump && CHAR_LINE_FEED === state.dump.charCodeAt(0)) { - _result += "-"; - } else { - _result += "- "; - } - _result += state.dump; - } - } - state.tag = _tag; - state.dump = _result || "[]"; - } - function writeFlowMapping(state, level, object) { - var _result = "", _tag = state.tag, objectKeyList = Object.keys(object), index, length, objectKey, objectValue, pairBuffer; - for (index = 0, length = objectKeyList.length; index < length; index += 1) { - pairBuffer = ""; - if (_result !== "") - pairBuffer += ", "; - if (state.condenseFlow) - pairBuffer += '"'; - objectKey = objectKeyList[index]; - objectValue = object[objectKey]; - if (state.replacer) { - objectValue = state.replacer.call(object, objectKey, objectValue); - } - if (!writeNode(state, level, objectKey, false, false)) { - continue; - } - if (state.dump.length > 1024) - pairBuffer += "? "; - pairBuffer += state.dump + (state.condenseFlow ? '"' : "") + ":" + (state.condenseFlow ? "" : " "); - if (!writeNode(state, level, objectValue, false, false)) { - continue; - } - pairBuffer += state.dump; - _result += pairBuffer; - } - state.tag = _tag; - state.dump = "{" + _result + "}"; - } - function writeBlockMapping(state, level, object, compact) { - var _result = "", _tag = state.tag, objectKeyList = Object.keys(object), index, length, objectKey, objectValue, explicitPair, pairBuffer; - if (state.sortKeys === true) { - objectKeyList.sort(); - } else if (typeof state.sortKeys === "function") { - objectKeyList.sort(state.sortKeys); - } else if (state.sortKeys) { - throw new YAMLException("sortKeys must be a boolean or a function"); - } - for (index = 0, length = objectKeyList.length; index < length; index += 1) { - pairBuffer = ""; - if (!compact || _result !== "") { - pairBuffer += generateNextLine(state, level); - } - objectKey = objectKeyList[index]; - objectValue = object[objectKey]; - if (state.replacer) { - objectValue = state.replacer.call(object, objectKey, objectValue); - } - if (!writeNode(state, level + 1, objectKey, true, true, true)) { - continue; - } - explicitPair = state.tag !== null && state.tag !== "?" || state.dump && state.dump.length > 1024; - if (explicitPair) { - if (state.dump && CHAR_LINE_FEED === state.dump.charCodeAt(0)) { - pairBuffer += "?"; - } else { - pairBuffer += "? "; - } - } - pairBuffer += state.dump; - if (explicitPair) { - pairBuffer += generateNextLine(state, level); - } - if (!writeNode(state, level + 1, objectValue, true, explicitPair)) { - continue; - } - if (state.dump && CHAR_LINE_FEED === state.dump.charCodeAt(0)) { - pairBuffer += ":"; - } else { - pairBuffer += ": "; - } - pairBuffer += state.dump; - _result += pairBuffer; - } - state.tag = _tag; - state.dump = _result || "{}"; - } - function detectType(state, object, explicit) { - var _result, typeList, index, length, type, style; - typeList = explicit ? state.explicitTypes : state.implicitTypes; - for (index = 0, length = typeList.length; index < length; index += 1) { - type = typeList[index]; - if ((type.instanceOf || type.predicate) && (!type.instanceOf || typeof object === "object" && object instanceof type.instanceOf) && (!type.predicate || type.predicate(object))) { - if (explicit) { - if (type.multi && type.representName) { - state.tag = type.representName(object); - } else { - state.tag = type.tag; - } - } else { - state.tag = "?"; - } - if (type.represent) { - style = state.styleMap[type.tag] || type.defaultStyle; - if (_toString.call(type.represent) === "[object Function]") { - _result = type.represent(object, style); - } else if (_hasOwnProperty.call(type.represent, style)) { - _result = type.represent[style](object, style); - } else { - throw new YAMLException("!<" + type.tag + '> tag resolver accepts not "' + style + '" style'); - } - state.dump = _result; - } - return true; - } - } - return false; - } - function writeNode(state, level, object, block, compact, iskey, isblockseq) { - state.tag = null; - state.dump = object; - if (!detectType(state, object, false)) { - detectType(state, object, true); - } - var type = _toString.call(state.dump); - var inblock = block; - var tagStr; - if (block) { - block = state.flowLevel < 0 || state.flowLevel > level; - } - var objectOrArray = type === "[object Object]" || type === "[object Array]", duplicateIndex, duplicate; - if (objectOrArray) { - duplicateIndex = state.duplicates.indexOf(object); - duplicate = duplicateIndex !== -1; - } - if (state.tag !== null && state.tag !== "?" || duplicate || state.indent !== 2 && level > 0) { - compact = false; - } - if (duplicate && state.usedDuplicates[duplicateIndex]) { - state.dump = "*ref_" + duplicateIndex; - } else { - if (objectOrArray && duplicate && !state.usedDuplicates[duplicateIndex]) { - state.usedDuplicates[duplicateIndex] = true; - } - if (type === "[object Object]") { - if (block && Object.keys(state.dump).length !== 0) { - writeBlockMapping(state, level, state.dump, compact); - if (duplicate) { - state.dump = "&ref_" + duplicateIndex + state.dump; - } - } else { - writeFlowMapping(state, level, state.dump); - if (duplicate) { - state.dump = "&ref_" + duplicateIndex + " " + state.dump; - } - } - } else if (type === "[object Array]") { - if (block && state.dump.length !== 0) { - if (state.noArrayIndent && !isblockseq && level > 0) { - writeBlockSequence(state, level - 1, state.dump, compact); - } else { - writeBlockSequence(state, level, state.dump, compact); - } - if (duplicate) { - state.dump = "&ref_" + duplicateIndex + state.dump; - } - } else { - writeFlowSequence(state, level, state.dump); - if (duplicate) { - state.dump = "&ref_" + duplicateIndex + " " + state.dump; - } - } - } else if (type === "[object String]") { - if (state.tag !== "?") { - writeScalar(state, state.dump, level, iskey, inblock); - } - } else if (type === "[object Undefined]") { - return false; - } else { - if (state.skipInvalid) - return false; - throw new YAMLException("unacceptable kind of an object to dump " + type); - } - if (state.tag !== null && state.tag !== "?") { - tagStr = encodeURI( - state.tag[0] === "!" ? state.tag.slice(1) : state.tag - ).replace(/!/g, "%21"); - if (state.tag[0] === "!") { - tagStr = "!" + tagStr; - } else if (tagStr.slice(0, 18) === "tag:yaml.org,2002:") { - tagStr = "!!" + tagStr.slice(18); - } else { - tagStr = "!<" + tagStr + ">"; - } - state.dump = tagStr + " " + state.dump; - } - } - return true; - } - function getDuplicateReferences(object, state) { - var objects = [], duplicatesIndexes = [], index, length; - inspectNode(object, objects, duplicatesIndexes); - for (index = 0, length = duplicatesIndexes.length; index < length; index += 1) { - state.duplicates.push(objects[duplicatesIndexes[index]]); - } - state.usedDuplicates = new Array(length); - } - function inspectNode(object, objects, duplicatesIndexes) { - var objectKeyList, index, length; - if (object !== null && typeof object === "object") { - index = objects.indexOf(object); - if (index !== -1) { - if (duplicatesIndexes.indexOf(index) === -1) { - duplicatesIndexes.push(index); - } - } else { - objects.push(object); - if (Array.isArray(object)) { - for (index = 0, length = object.length; index < length; index += 1) { - inspectNode(object[index], objects, duplicatesIndexes); - } - } else { - objectKeyList = Object.keys(object); - for (index = 0, length = objectKeyList.length; index < length; index += 1) { - inspectNode(object[objectKeyList[index]], objects, duplicatesIndexes); - } - } - } - } - } - function dump(input, options) { - options = options || {}; - var state = new State(options); - if (!state.noRefs) - getDuplicateReferences(input, state); - var value = input; - if (state.replacer) { - value = state.replacer.call({ "": value }, "", value); - } - if (writeNode(state, 0, value, true, true)) - return state.dump + "\n"; - return ""; - } - module.exports.dump = dump; - } -}); - -// node_modules/js-yaml/index.js -var require_js_yaml = __commonJS({ - "node_modules/js-yaml/index.js"(exports, module) { - "use strict"; - var loader = require_loader(); - var dumper = require_dumper(); - function renamed(from, to) { - return function() { - throw new Error("Function yaml." + from + " is removed in js-yaml 4. Use yaml." + to + " instead, which is now safe by default."); - }; - } - module.exports.Type = require_type(); - module.exports.Schema = require_schema(); - module.exports.FAILSAFE_SCHEMA = require_failsafe(); - module.exports.JSON_SCHEMA = require_json(); - module.exports.CORE_SCHEMA = require_core(); - module.exports.DEFAULT_SCHEMA = require_default(); - module.exports.load = loader.load; - module.exports.loadAll = loader.loadAll; - module.exports.dump = dumper.dump; - module.exports.YAMLException = require_exception(); - module.exports.types = { - binary: require_binary(), - float: require_float(), - map: require_map(), - null: require_null(), - pairs: require_pairs(), - set: require_set(), - timestamp: require_timestamp(), - bool: require_bool(), - int: require_int(), - merge: require_merge(), - omap: require_omap(), - seq: require_seq(), - str: require_str() - }; - module.exports.safeLoad = renamed("safeLoad", "load"); - module.exports.safeLoadAll = renamed("safeLoadAll", "loadAll"); - module.exports.safeDump = renamed("safeDump", "dump"); - } -}); - -// node_modules/cosmiconfig/dist/loaders.js -var require_loaders = __commonJS({ - "node_modules/cosmiconfig/dist/loaders.js"(exports) { - "use strict"; - Object.defineProperty(exports, "__esModule", { - value: true - }); - exports.loaders = void 0; - var _url = __require("url"); - var importFresh; - var loadJsSync = function loadJsSync2(filepath) { - if (importFresh === void 0) { - importFresh = require_import_fresh(); - } - const result = importFresh(filepath); - return result; - }; - var loadJs = async function loadJs2(filepath) { - try { - const { - href - } = (0, _url.pathToFileURL)(filepath); - return (await import(href)).default; - } catch (error) { - return loadJsSync(filepath, ""); - } - }; - var parseJson; - var loadJson = function loadJson2(filepath, content) { - if (parseJson === void 0) { - parseJson = require_parse_json(); - } - try { - const result = parseJson(content); - return result; - } catch (error) { - error.message = `JSON Error in ${filepath}: -${error.message}`; - throw error; - } - }; - var yaml; - var loadYaml = function loadYaml2(filepath, content) { - if (yaml === void 0) { - yaml = require_js_yaml(); - } - try { - const result = yaml.load(content); - return result; - } catch (error) { - error.message = `YAML Error in ${filepath}: -${error.message}`; - throw error; - } - }; - var loaders = { - loadJs, - loadJsSync, - loadJson, - loadYaml - }; - exports.loaders = loaders; - } -}); - -// node_modules/cosmiconfig/dist/ExplorerBase.js -var require_ExplorerBase = __commonJS({ - "node_modules/cosmiconfig/dist/ExplorerBase.js"(exports) { - "use strict"; - Object.defineProperty(exports, "__esModule", { - value: true - }); - exports.ExplorerBase = void 0; - exports.getExtensionDescription = getExtensionDescription; - var _path = _interopRequireDefault(__require("path")); - var _getPropertyByPath = require_getPropertyByPath(); - var _loaders = require_loaders(); - function _interopRequireDefault(obj) { - return obj && obj.__esModule ? obj : { default: obj }; - } - var ExplorerBase = class { - constructor(options) { - if (options.cache) { - this.loadCache = /* @__PURE__ */ new Map(); - this.searchCache = /* @__PURE__ */ new Map(); - } - this.config = options; - this.validateConfig(); - } - clearLoadCache() { - if (this.loadCache) { - this.loadCache.clear(); - } - } - clearSearchCache() { - if (this.searchCache) { - this.searchCache.clear(); - } - } - clearCaches() { - this.clearLoadCache(); - this.clearSearchCache(); - } - validateConfig() { - const config = this.config; - config.searchPlaces.forEach((place) => { - const loaderKey = _path.default.extname(place) || "noExt"; - const loader = config.loaders[loaderKey]; - if (!loader) { - throw new Error(`No loader specified for ${getExtensionDescription(place)}, so searchPlaces item "${place}" is invalid`); - } - if (typeof loader !== "function") { - throw new Error(`loader for ${getExtensionDescription(place)} is not a function (type provided: "${typeof loader}"), so searchPlaces item "${place}" is invalid`); - } - }); - } - shouldSearchStopWithResult(result) { - if (result === null) - return false; - return !(result.isEmpty && this.config.ignoreEmptySearchPlaces); - } - nextDirectoryToSearch(currentDir, currentResult) { - if (this.shouldSearchStopWithResult(currentResult)) { - return null; - } - const nextDir = nextDirUp(currentDir); - if (nextDir === currentDir || currentDir === this.config.stopDir) { - return null; - } - return nextDir; - } - loadPackageProp(filepath, content) { - const parsedContent = _loaders.loaders.loadJson(filepath, content); - const packagePropValue = (0, _getPropertyByPath.getPropertyByPath)(parsedContent, this.config.packageProp); - return packagePropValue || null; - } - getLoaderEntryForFile(filepath) { - if (_path.default.basename(filepath) === "package.json") { - return this.loadPackageProp.bind(this); - } - const loaderKey = _path.default.extname(filepath) || "noExt"; - const loader = this.config.loaders[loaderKey]; - if (!loader) { - throw new Error(`No loader specified for ${getExtensionDescription(filepath)}`); - } - return loader; - } - loadedContentToCosmiconfigResult(filepath, loadedContent, forceProp) { - if (loadedContent === null) { - return null; - } - if (loadedContent === void 0) { - return { - filepath, - config: void 0, - isEmpty: true - }; - } - if (this.config.usePackagePropInConfigFiles || forceProp) { - loadedContent = (0, _getPropertyByPath.getPropertyByPath)(loadedContent, this.config.packageProp); - } - if (loadedContent === void 0) { - return { - filepath, - config: void 0, - isEmpty: true - }; - } - return { - config: loadedContent, - filepath - }; - } - validateFilePath(filepath) { - if (!filepath) { - throw new Error("load must pass a non-empty string"); - } - } - }; - exports.ExplorerBase = ExplorerBase; - function nextDirUp(dir) { - return _path.default.dirname(dir); - } - function getExtensionDescription(filepath) { - const ext = _path.default.extname(filepath); - return ext ? `extension "${ext}"` : "files without extensions"; - } - } -}); - -// node_modules/path-type/index.js -var require_path_type = __commonJS({ - "node_modules/path-type/index.js"(exports) { - "use strict"; - var { promisify } = __require("util"); - var fs2 = __require("fs"); - async function isType(fsStatType, statsMethodName, filePath) { - if (typeof filePath !== "string") { - throw new TypeError(`Expected a string, got ${typeof filePath}`); - } - try { - const stats = await promisify(fs2[fsStatType])(filePath); - return stats[statsMethodName](); - } catch (error) { - if (error.code === "ENOENT") { - return false; - } - throw error; - } - } - function isTypeSync(fsStatType, statsMethodName, filePath) { - if (typeof filePath !== "string") { - throw new TypeError(`Expected a string, got ${typeof filePath}`); - } - try { - return fs2[fsStatType](filePath)[statsMethodName](); - } catch (error) { - if (error.code === "ENOENT") { - return false; - } - throw error; - } - } - exports.isFile = isType.bind(null, "stat", "isFile"); - exports.isDirectory = isType.bind(null, "stat", "isDirectory"); - exports.isSymlink = isType.bind(null, "lstat", "isSymbolicLink"); - exports.isFileSync = isTypeSync.bind(null, "statSync", "isFile"); - exports.isDirectorySync = isTypeSync.bind(null, "statSync", "isDirectory"); - exports.isSymlinkSync = isTypeSync.bind(null, "lstatSync", "isSymbolicLink"); - } -}); - -// node_modules/cosmiconfig/dist/getDirectory.js -var require_getDirectory = __commonJS({ - "node_modules/cosmiconfig/dist/getDirectory.js"(exports) { - "use strict"; - Object.defineProperty(exports, "__esModule", { - value: true - }); - exports.getDirectory = getDirectory; - exports.getDirectorySync = getDirectorySync; - var _path = _interopRequireDefault(__require("path")); - var _pathType = require_path_type(); - function _interopRequireDefault(obj) { - return obj && obj.__esModule ? obj : { default: obj }; - } - async function getDirectory(filepath) { - const filePathIsDirectory = await (0, _pathType.isDirectory)(filepath); - if (filePathIsDirectory === true) { - return filepath; - } - const directory = _path.default.dirname(filepath); - return directory; - } - function getDirectorySync(filepath) { - const filePathIsDirectory = (0, _pathType.isDirectorySync)(filepath); - if (filePathIsDirectory === true) { - return filepath; - } - const directory = _path.default.dirname(filepath); - return directory; - } - } -}); - -// node_modules/cosmiconfig/dist/readFile.js -var require_readFile = __commonJS({ - "node_modules/cosmiconfig/dist/readFile.js"(exports) { - "use strict"; - Object.defineProperty(exports, "__esModule", { - value: true - }); - exports.readFile = readFile; - exports.readFileSync = readFileSync; - var _fs = _interopRequireDefault(__require("fs")); - function _interopRequireDefault(obj) { - return obj && obj.__esModule ? obj : { default: obj }; - } - async function fsReadFileAsync(pathname, encoding) { - return new Promise((resolve, reject) => { - _fs.default.readFile(pathname, encoding, (error, contents) => { - if (error) { - reject(error); - return; - } - resolve(contents); - }); - }); - } - async function readFile(filepath, options = {}) { - const throwNotFound = options.throwNotFound === true; - try { - const content = await fsReadFileAsync(filepath, "utf8"); - return content; - } catch (error) { - if (throwNotFound === false && (error.code === "ENOENT" || error.code === "EISDIR")) { - return null; - } - throw error; - } - } - function readFileSync(filepath, options = {}) { - const throwNotFound = options.throwNotFound === true; - try { - const content = _fs.default.readFileSync(filepath, "utf8"); - return content; - } catch (error) { - if (throwNotFound === false && (error.code === "ENOENT" || error.code === "EISDIR")) { - return null; - } - throw error; - } - } - } -}); - -// node_modules/cosmiconfig/dist/Explorer.js -var require_Explorer = __commonJS({ - "node_modules/cosmiconfig/dist/Explorer.js"(exports) { - "use strict"; - Object.defineProperty(exports, "__esModule", { - value: true - }); - exports.Explorer = void 0; - var _path = _interopRequireDefault(__require("path")); - var _cacheWrapper = require_cacheWrapper(); - var _ExplorerBase = require_ExplorerBase(); - var _getDirectory = require_getDirectory(); - var _readFile = require_readFile(); - function _interopRequireDefault(obj) { - return obj && obj.__esModule ? obj : { default: obj }; - } - var Explorer = class extends _ExplorerBase.ExplorerBase { - constructor(options) { - super(options); - } - async search(searchFrom = process.cwd()) { - if (this.config.metaConfigFilePath) { - const config = await this._loadFile(this.config.metaConfigFilePath, true); - if (config && !config.isEmpty) { - return config; - } - } - return await this.searchFromDirectory(await (0, _getDirectory.getDirectory)(searchFrom)); - } - async searchFromDirectory(dir) { - const absoluteDir = _path.default.resolve(process.cwd(), dir); - const run = async () => { - const result = await this.searchDirectory(absoluteDir); - const nextDir = this.nextDirectoryToSearch(absoluteDir, result); - if (nextDir) { - return this.searchFromDirectory(nextDir); - } - return await this.config.transform(result); - }; - if (this.searchCache) { - return (0, _cacheWrapper.cacheWrapper)(this.searchCache, absoluteDir, run); - } - return run(); - } - async searchDirectory(dir) { - for await (const place of this.config.searchPlaces) { - const placeResult = await this.loadSearchPlace(dir, place); - if (this.shouldSearchStopWithResult(placeResult)) { - return placeResult; - } - } - return null; - } - async loadSearchPlace(dir, place) { - const filepath = _path.default.join(dir, place); - const fileContents = await (0, _readFile.readFile)(filepath); - return await this.createCosmiconfigResult(filepath, fileContents, false); - } - async loadFileContent(filepath, content) { - if (content === null) { - return null; - } - if (content.trim() === "") { - return void 0; - } - const loader = this.getLoaderEntryForFile(filepath); - try { - return await loader(filepath, content); - } catch (e) { - e.filepath = filepath; - throw e; - } - } - async createCosmiconfigResult(filepath, content, forceProp) { - const fileContent = await this.loadFileContent(filepath, content); - return this.loadedContentToCosmiconfigResult(filepath, fileContent, forceProp); - } - async load(filepath) { - return this._loadFile(filepath, false); - } - async _loadFile(filepath, forceProp) { - this.validateFilePath(filepath); - const absoluteFilePath = _path.default.resolve(process.cwd(), filepath); - const runLoad = async () => { - const fileContents = await (0, _readFile.readFile)(absoluteFilePath, { - throwNotFound: true - }); - const result = await this.createCosmiconfigResult(absoluteFilePath, fileContents, forceProp); - return await this.config.transform(result); - }; - if (this.loadCache) { - return (0, _cacheWrapper.cacheWrapper)(this.loadCache, absoluteFilePath, runLoad); - } - return runLoad(); - } - }; - exports.Explorer = Explorer; - } -}); - -// node_modules/cosmiconfig/dist/ExplorerSync.js -var require_ExplorerSync = __commonJS({ - "node_modules/cosmiconfig/dist/ExplorerSync.js"(exports) { - "use strict"; - Object.defineProperty(exports, "__esModule", { - value: true - }); - exports.ExplorerSync = void 0; - var _path = _interopRequireDefault(__require("path")); - var _cacheWrapper = require_cacheWrapper(); - var _ExplorerBase = require_ExplorerBase(); - var _getDirectory = require_getDirectory(); - var _readFile = require_readFile(); - function _interopRequireDefault(obj) { - return obj && obj.__esModule ? obj : { default: obj }; - } - var ExplorerSync = class extends _ExplorerBase.ExplorerBase { - constructor(options) { - super(options); - } - searchSync(searchFrom = process.cwd()) { - if (this.config.metaConfigFilePath) { - const config = this._loadFileSync(this.config.metaConfigFilePath, true); - if (config && !config.isEmpty) { - return config; - } - } - return this.searchFromDirectorySync((0, _getDirectory.getDirectorySync)(searchFrom)); - } - searchFromDirectorySync(dir) { - const absoluteDir = _path.default.resolve(process.cwd(), dir); - const run = () => { - const result = this.searchDirectorySync(absoluteDir); - const nextDir = this.nextDirectoryToSearch(absoluteDir, result); - if (nextDir) { - return this.searchFromDirectorySync(nextDir); - } - return this.config.transform(result); - }; - if (this.searchCache) { - return (0, _cacheWrapper.cacheWrapperSync)(this.searchCache, absoluteDir, run); - } - return run(); - } - searchDirectorySync(dir) { - for (const place of this.config.searchPlaces) { - const placeResult = this.loadSearchPlaceSync(dir, place); - if (this.shouldSearchStopWithResult(placeResult)) { - return placeResult; - } - } - return null; - } - loadSearchPlaceSync(dir, place) { - const filepath = _path.default.join(dir, place); - const content = (0, _readFile.readFileSync)(filepath); - return this.createCosmiconfigResultSync(filepath, content, false); - } - loadFileContentSync(filepath, content) { - if (content === null) { - return null; - } - if (content.trim() === "") { - return void 0; - } - const loader = this.getLoaderEntryForFile(filepath); - try { - return loader(filepath, content); - } catch (e) { - e.filepath = filepath; - throw e; - } - } - createCosmiconfigResultSync(filepath, content, forceProp) { - const fileContent = this.loadFileContentSync(filepath, content); - return this.loadedContentToCosmiconfigResult(filepath, fileContent, forceProp); - } - loadSync(filepath) { - return this._loadFileSync(filepath, false); - } - _loadFileSync(filepath, forceProp) { - this.validateFilePath(filepath); - const absoluteFilePath = _path.default.resolve(process.cwd(), filepath); - const runLoadSync = () => { - const content = (0, _readFile.readFileSync)(absoluteFilePath, { - throwNotFound: true - }); - const cosmiconfigResult = this.createCosmiconfigResultSync(absoluteFilePath, content, forceProp); - return this.config.transform(cosmiconfigResult); - }; - if (this.loadCache) { - return (0, _cacheWrapper.cacheWrapperSync)(this.loadCache, absoluteFilePath, runLoadSync); - } - return runLoadSync(); - } - }; - exports.ExplorerSync = ExplorerSync; - } -}); - -// node_modules/cosmiconfig/dist/types.js -var require_types = __commonJS({ - "node_modules/cosmiconfig/dist/types.js"(exports) { - "use strict"; - Object.defineProperty(exports, "__esModule", { - value: true - }); - } -}); - -// node_modules/cosmiconfig/dist/index.js -var require_dist = __commonJS({ - "node_modules/cosmiconfig/dist/index.js"(exports) { - "use strict"; - Object.defineProperty(exports, "__esModule", { - value: true - }); - exports.cosmiconfig = cosmiconfig2; - exports.cosmiconfigSync = cosmiconfigSync; - exports.metaSearchPlaces = exports.defaultLoadersSync = exports.defaultLoaders = void 0; - var _os = _interopRequireDefault(__require("os")); - var _Explorer = require_Explorer(); - var _ExplorerSync = require_ExplorerSync(); - var _loaders = require_loaders(); - var _types = require_types(); - function _interopRequireDefault(obj) { - return obj && obj.__esModule ? obj : { default: obj }; - } - var metaSearchPlaces = ["package.json", ".config.json", ".config.yaml", ".config.yml", ".config.js", ".config.cjs", ".config.mjs"]; - exports.metaSearchPlaces = metaSearchPlaces; - var defaultLoaders = Object.freeze({ - ".mjs": _loaders.loaders.loadJs, - ".cjs": _loaders.loaders.loadJs, - ".js": _loaders.loaders.loadJs, - ".json": _loaders.loaders.loadJson, - ".yaml": _loaders.loaders.loadYaml, - ".yml": _loaders.loaders.loadYaml, - noExt: _loaders.loaders.loadYaml - }); - exports.defaultLoaders = defaultLoaders; - var defaultLoadersSync = Object.freeze({ - ".cjs": _loaders.loaders.loadJsSync, - ".js": _loaders.loaders.loadJsSync, - ".json": _loaders.loaders.loadJson, - ".yaml": _loaders.loaders.loadYaml, - ".yml": _loaders.loaders.loadYaml, - noExt: _loaders.loaders.loadYaml - }); - exports.defaultLoadersSync = defaultLoadersSync; - var identity = function identity2(x) { - return x; - }; - function replaceMetaPlaceholders(paths, moduleName) { - return paths.map((path) => path.replace("{name}", moduleName)); - } - function getExplorerOptions(moduleName, options) { - var _metaConfig$config; - const metaExplorer = new _ExplorerSync.ExplorerSync({ - packageProp: "cosmiconfig", - stopDir: process.cwd(), - searchPlaces: metaSearchPlaces, - ignoreEmptySearchPlaces: false, - usePackagePropInConfigFiles: true, - loaders: defaultLoaders, - transform: identity, - cache: true, - metaConfigFilePath: null - }); - const metaConfig = metaExplorer.searchSync(); - if (!metaConfig) { - return options; - } - if ((_metaConfig$config = metaConfig.config) !== null && _metaConfig$config !== void 0 && _metaConfig$config.loaders) { - throw new Error("Can not specify loaders in meta config file"); - } - const overrideOptions = metaConfig.config ?? {}; - if (overrideOptions.searchPlaces) { - overrideOptions.searchPlaces = replaceMetaPlaceholders(overrideOptions.searchPlaces, moduleName); - } - overrideOptions.metaConfigFilePath = metaConfig.filepath; - return { - ...options, - ...overrideOptions - }; - } - function cosmiconfig2(moduleName, options = {}) { - const explorerOptions = getExplorerOptions(moduleName, options); - const normalizedOptions = normalizeOptions(moduleName, explorerOptions); - const explorer = new _Explorer.Explorer(normalizedOptions); - return { - search: explorer.search.bind(explorer), - load: explorer.load.bind(explorer), - clearLoadCache: explorer.clearLoadCache.bind(explorer), - clearSearchCache: explorer.clearSearchCache.bind(explorer), - clearCaches: explorer.clearCaches.bind(explorer) - }; - } - function cosmiconfigSync(moduleName, options = {}) { - const explorerOptions = getExplorerOptions(moduleName, options); - const normalizedOptions = normalizeOptionsSync(moduleName, explorerOptions); - const explorerSync = new _ExplorerSync.ExplorerSync(normalizedOptions); - return { - search: explorerSync.searchSync.bind(explorerSync), - load: explorerSync.loadSync.bind(explorerSync), - clearLoadCache: explorerSync.clearLoadCache.bind(explorerSync), - clearSearchCache: explorerSync.clearSearchCache.bind(explorerSync), - clearCaches: explorerSync.clearCaches.bind(explorerSync) - }; - } - function normalizeOptions(moduleName, options) { - const defaults = { - packageProp: moduleName, - searchPlaces: ["package.json", `.${moduleName}rc`, `.${moduleName}rc.json`, `.${moduleName}rc.yaml`, `.${moduleName}rc.yml`, `.${moduleName}rc.js`, `.${moduleName}rc.cjs`, `.${moduleName}rc.mjs`, `.config/${moduleName}rc`, `.config/${moduleName}rc.json`, `.config/${moduleName}rc.yaml`, `.config/${moduleName}rc.yml`, `.config/${moduleName}rc.js`, `.config/${moduleName}rc.cjs`, `.config/${moduleName}rc.mjs`, `${moduleName}.config.js`, `${moduleName}.config.cjs`, `${moduleName}.config.mjs`].filter(Boolean), - ignoreEmptySearchPlaces: true, - stopDir: _os.default.homedir(), - cache: true, - transform: identity, - loaders: defaultLoaders, - metaConfigFilePath: null - }; - const normalizedOptions = { - ...defaults, - ...options, - loaders: { - ...defaults.loaders, - ...options.loaders - } - }; - return normalizedOptions; - } - function normalizeOptionsSync(moduleName, options) { - const defaults = { - packageProp: moduleName, - searchPlaces: ["package.json", `.${moduleName}rc`, `.${moduleName}rc.json`, `.${moduleName}rc.yaml`, `.${moduleName}rc.yml`, `.${moduleName}rc.js`, `.${moduleName}rc.cjs`, `.config/${moduleName}rc`, `.config/${moduleName}rc.json`, `.config/${moduleName}rc.yaml`, `.config/${moduleName}rc.yml`, `.config/${moduleName}rc.js`, `.config/${moduleName}rc.cjs`, `${moduleName}.config.js`, `${moduleName}.config.cjs`], - ignoreEmptySearchPlaces: true, - stopDir: _os.default.homedir(), - cache: true, - transform: identity, - loaders: defaultLoadersSync, - metaConfigFilePath: null - }; - const normalizedOptions = { - ...defaults, - ...options, - loaders: { - ...defaults.loaders, - ...options.loaders - } - }; - return normalizedOptions; - } - } -}); - -// node_modules/find-parent-dir/index.js -var require_find_parent_dir = __commonJS({ - "node_modules/find-parent-dir/index.js"(exports, module) { - "use strict"; - var path = __require("path"); - var fs2 = __require("fs"); - var exists = fs2.exists || path.exists; - var existsSync = fs2.existsSync || path.existsSync; - function splitPath(path2) { - var parts = path2.split(/(\/|\\)/); - if (!parts.length) - return parts; - return !parts[0].length ? parts.slice(1) : parts; - } - exports = module.exports = function(currentFullPath, clue, cb) { - function testDir(parts) { - if (parts.length === 0) - return cb(null, null); - var p = parts.join(""); - exists(path.join(p, clue), function(itdoes) { - if (itdoes) - return cb(null, p); - testDir(parts.slice(0, -1)); - }); - } - testDir(splitPath(currentFullPath)); - }; - exports.sync = function(currentFullPath, clue) { - function testDir(parts) { - if (parts.length === 0) - return null; - var p = parts.join(""); - var itdoes = existsSync(path.join(p, clue)); - return itdoes ? p : testDir(parts.slice(0, -1)); - } - return testDir(splitPath(currentFullPath)); - }; - } -}); - -// node_modules/ci-info/vendors.json -var require_vendors = __commonJS({ - "node_modules/ci-info/vendors.json"(exports, module) { - module.exports = [ - { - name: "Appcircle", - constant: "APPCIRCLE", - env: "AC_APPCIRCLE" - }, - { - name: "AppVeyor", - constant: "APPVEYOR", - env: "APPVEYOR", - pr: "APPVEYOR_PULL_REQUEST_NUMBER" - }, - { - name: "AWS CodeBuild", - constant: "CODEBUILD", - env: "CODEBUILD_BUILD_ARN" - }, - { - name: "Azure Pipelines", - constant: "AZURE_PIPELINES", - env: "SYSTEM_TEAMFOUNDATIONCOLLECTIONURI", - pr: "SYSTEM_PULLREQUEST_PULLREQUESTID" - }, - { - name: "Bamboo", - constant: "BAMBOO", - env: "bamboo_planKey" - }, - { - name: "Bitbucket Pipelines", - constant: "BITBUCKET", - env: "BITBUCKET_COMMIT", - pr: "BITBUCKET_PR_ID" - }, - { - name: "Bitrise", - constant: "BITRISE", - env: "BITRISE_IO", - pr: "BITRISE_PULL_REQUEST" - }, - { - name: "Buddy", - constant: "BUDDY", - env: "BUDDY_WORKSPACE_ID", - pr: "BUDDY_EXECUTION_PULL_REQUEST_ID" - }, - { - name: "Buildkite", - constant: "BUILDKITE", - env: "BUILDKITE", - pr: { - env: "BUILDKITE_PULL_REQUEST", - ne: "false" - } - }, - { - name: "CircleCI", - constant: "CIRCLE", - env: "CIRCLECI", - pr: "CIRCLE_PULL_REQUEST" - }, - { - name: "Cirrus CI", - constant: "CIRRUS", - env: "CIRRUS_CI", - pr: "CIRRUS_PR" - }, - { - name: "Codefresh", - constant: "CODEFRESH", - env: "CF_BUILD_ID", - pr: { - any: [ - "CF_PULL_REQUEST_NUMBER", - "CF_PULL_REQUEST_ID" - ] - } - }, - { - name: "Codemagic", - constant: "CODEMAGIC", - env: "CM_BUILD_ID", - pr: "CM_PULL_REQUEST" - }, - { - name: "Codeship", - constant: "CODESHIP", - env: { - CI_NAME: "codeship" - } - }, - { - name: "Drone", - constant: "DRONE", - env: "DRONE", - pr: { - DRONE_BUILD_EVENT: "pull_request" - } - }, - { - name: "dsari", - constant: "DSARI", - env: "DSARI" - }, - { - name: "Expo Application Services", - constant: "EAS", - env: "EAS_BUILD" - }, - { - name: "Gerrit", - constant: "GERRIT", - env: "GERRIT_PROJECT" - }, - { - name: "GitHub Actions", - constant: "GITHUB_ACTIONS", - env: "GITHUB_ACTIONS", - pr: { - GITHUB_EVENT_NAME: "pull_request" - } - }, - { - name: "GitLab CI", - constant: "GITLAB", - env: "GITLAB_CI", - pr: "CI_MERGE_REQUEST_ID" - }, - { - name: "GoCD", - constant: "GOCD", - env: "GO_PIPELINE_LABEL" - }, - { - name: "Google Cloud Build", - constant: "GOOGLE_CLOUD_BUILD", - env: "BUILDER_OUTPUT" - }, - { - name: "Harness CI", - constant: "HARNESS", - env: "HARNESS_BUILD_ID" - }, - { - name: "Heroku", - constant: "HEROKU", - env: { - env: "NODE", - includes: "/app/.heroku/node/bin/node" - } - }, - { - name: "Hudson", - constant: "HUDSON", - env: "HUDSON_URL" - }, - { - name: "Jenkins", - constant: "JENKINS", - env: [ - "JENKINS_URL", - "BUILD_ID" - ], - pr: { - any: [ - "ghprbPullId", - "CHANGE_ID" - ] - } - }, - { - name: "LayerCI", - constant: "LAYERCI", - env: "LAYERCI", - pr: "LAYERCI_PULL_REQUEST" - }, - { - name: "Magnum CI", - constant: "MAGNUM", - env: "MAGNUM" - }, - { - name: "Netlify CI", - constant: "NETLIFY", - env: "NETLIFY", - pr: { - env: "PULL_REQUEST", - ne: "false" - } - }, - { - name: "Nevercode", - constant: "NEVERCODE", - env: "NEVERCODE", - pr: { - env: "NEVERCODE_PULL_REQUEST", - ne: "false" - } - }, - { - name: "ReleaseHub", - constant: "RELEASEHUB", - env: "RELEASE_BUILD_ID" - }, - { - name: "Render", - constant: "RENDER", - env: "RENDER", - pr: { - IS_PULL_REQUEST: "true" - } - }, - { - name: "Sail CI", - constant: "SAIL", - env: "SAILCI", - pr: "SAIL_PULL_REQUEST_NUMBER" - }, - { - name: "Screwdriver", - constant: "SCREWDRIVER", - env: "SCREWDRIVER", - pr: { - env: "SD_PULL_REQUEST", - ne: "false" - } - }, - { - name: "Semaphore", - constant: "SEMAPHORE", - env: "SEMAPHORE", - pr: "PULL_REQUEST_NUMBER" - }, - { - name: "Shippable", - constant: "SHIPPABLE", - env: "SHIPPABLE", - pr: { - IS_PULL_REQUEST: "true" - } - }, - { - name: "Solano CI", - constant: "SOLANO", - env: "TDDIUM", - pr: "TDDIUM_PR_ID" - }, - { - name: "Sourcehut", - constant: "SOURCEHUT", - env: { - CI_NAME: "sourcehut" - } - }, - { - name: "Strider CD", - constant: "STRIDER", - env: "STRIDER" - }, - { - name: "TaskCluster", - constant: "TASKCLUSTER", - env: [ - "TASK_ID", - "RUN_ID" - ] - }, - { - name: "TeamCity", - constant: "TEAMCITY", - env: "TEAMCITY_VERSION" - }, - { - name: "Travis CI", - constant: "TRAVIS", - env: "TRAVIS", - pr: { - env: "TRAVIS_PULL_REQUEST", - ne: "false" - } - }, - { - name: "Vercel", - constant: "VERCEL", - env: { - any: [ - "NOW_BUILDER", - "VERCEL" - ] - } - }, - { - name: "Visual Studio App Center", - constant: "APPCENTER", - env: "APPCENTER_BUILD_ID" - }, - { - name: "Woodpecker", - constant: "WOODPECKER", - env: { - CI: "woodpecker" - }, - pr: { - CI_BUILD_EVENT: "pull_request" - } - }, - { - name: "Xcode Cloud", - constant: "XCODE_CLOUD", - env: "CI_XCODE_PROJECT", - pr: "CI_PULL_REQUEST_NUMBER" - }, - { - name: "Xcode Server", - constant: "XCODE_SERVER", - env: "XCS" - } - ]; - } -}); - -// node_modules/ci-info/index.js -var require_ci_info = __commonJS({ - "node_modules/ci-info/index.js"(exports) { - "use strict"; - var vendors = require_vendors(); - var env = process.env; - Object.defineProperty(exports, "_vendors", { - value: vendors.map(function(v) { - return v.constant; - }) - }); - exports.name = null; - exports.isPR = null; - vendors.forEach(function(vendor) { - const envs = Array.isArray(vendor.env) ? vendor.env : [vendor.env]; - const isCI2 = envs.every(function(obj) { - return checkEnv(obj); - }); - exports[vendor.constant] = isCI2; - if (!isCI2) { - return; - } - exports.name = vendor.name; - switch (typeof vendor.pr) { - case "string": - exports.isPR = !!env[vendor.pr]; - break; - case "object": - if ("env" in vendor.pr) { - exports.isPR = vendor.pr.env in env && env[vendor.pr.env] !== vendor.pr.ne; - } else if ("any" in vendor.pr) { - exports.isPR = vendor.pr.any.some(function(key) { - return !!env[key]; - }); - } else { - exports.isPR = checkEnv(vendor.pr); - } - break; - default: - exports.isPR = null; - } - }); - exports.isCI = !!(env.CI !== "false" && // Bypass all checks if CI env is explicitly set to 'false' - (env.BUILD_ID || // Jenkins, Cloudbees - env.BUILD_NUMBER || // Jenkins, TeamCity - env.CI || // Travis CI, CircleCI, Cirrus CI, Gitlab CI, Appveyor, CodeShip, dsari - env.CI_APP_ID || // Appflow - env.CI_BUILD_ID || // Appflow - env.CI_BUILD_NUMBER || // Appflow - env.CI_NAME || // Codeship and others - env.CONTINUOUS_INTEGRATION || // Travis CI, Cirrus CI - env.RUN_ID || // TaskCluster, dsari - exports.name || false)); - function checkEnv(obj) { - if (typeof obj === "string") - return !!env[obj]; - if ("env" in obj) { - return env[obj.env] && env[obj.env].includes(obj.includes); - } - if ("any" in obj) { - return obj.any.some(function(k) { - return !!env[k]; - }); - } - return Object.keys(obj).every(function(k) { - return env[k] === obj[k]; - }); - } - } -}); - -// src/common/mockable.js -var import_cosmiconfig = __toESM(require_dist(), 1); -var import_find_parent_dir = __toESM(require_find_parent_dir(), 1); -import fs from "fs/promises"; - -// node_modules/get-stdin/index.js -var { stdin } = process; -async function getStdin() { - let result = ""; - if (stdin.isTTY) { - return result; - } - stdin.setEncoding("utf8"); - for await (const chunk of stdin) { - result += chunk; - } - return result; -} -getStdin.buffer = async () => { - const result = []; - let length = 0; - if (stdin.isTTY) { - return Buffer.concat([]); - } - for await (const chunk of stdin) { - result.push(chunk); - length += chunk.length; - } - return Buffer.concat(result, length); -}; - -// src/common/mockable.js -var import_ci_info = __toESM(require_ci_info(), 1); -function writeFormattedFile(file, data) { - return fs.writeFile(file, data); -} -var mockable = { - cosmiconfig: import_cosmiconfig.cosmiconfig, - findParentDir: import_find_parent_dir.sync, - getStdin, - isCI: () => import_ci_info.isCI, - writeFormattedFile -}; -var mockable_default = mockable; -export { - mockable_default as default -}; diff --git a/node_modules/prettier/package.json b/node_modules/prettier/package.json index 21ed6b523d..5e41d42e8a 100644 --- a/node_modules/prettier/package.json +++ b/node_modules/prettier/package.json @@ -1,6 +1,6 @@ { "name": "prettier", - "version": "3.0.0", + "version": "3.3.3", "description": "Prettier is an opinionated code formatter", "bin": "./bin/prettier.cjs", "repository": "prettier/prettier", @@ -15,6 +15,10 @@ ".": { "types": "./index.d.ts", "require": "./index.cjs", + "browser": { + "import": "./standalone.mjs", + "default": "./standalone.js" + }, "default": "./index.mjs" }, "./*": "./*", @@ -146,7 +150,6 @@ "index.d.ts", "index.mjs", "internal/cli.mjs", - "internal/internal.mjs", "package.json", "plugins/acorn.d.ts", "plugins/acorn.js", @@ -190,5 +193,6 @@ "standalone.d.ts", "standalone.js", "standalone.mjs" - ] + ], + "preferUnplugged": true } \ No newline at end of file diff --git a/node_modules/prettier/plugins/acorn.js b/node_modules/prettier/plugins/acorn.js index 333221aa42..a8b26ec6da 100644 --- a/node_modules/prettier/plugins/acorn.js +++ b/node_modules/prettier/plugins/acorn.js @@ -1,13 +1,15 @@ -(function(n){function e(){var i=n();return i.default||i}if(typeof exports=="object"&&typeof module=="object")module.exports=e();else if(typeof define=="function"&&define.amd)define(e);else{var t=typeof globalThis<"u"?globalThis:typeof global<"u"?global:typeof self<"u"?self:this||{};t.prettierPlugins=t.prettierPlugins||{},t.prettierPlugins.acorn=e()}})(function(){"use strict";var Zi=Object.create;var Be=Object.defineProperty;var es=Object.getOwnPropertyDescriptor;var ts=Object.getOwnPropertyNames;var is=Object.getPrototypeOf,ss=Object.prototype.hasOwnProperty;var Se=(a,u)=>()=>(u||a((u={exports:{}}).exports,u),u.exports),rs=(a,u)=>{for(var c in u)Be(a,c,{get:u[c],enumerable:!0})},Qt=(a,u,c,h)=>{if(u&&typeof u=="object"||typeof u=="function")for(let l of ts(u))!ss.call(a,l)&&l!==c&&Be(a,l,{get:()=>u[l],enumerable:!(h=es(u,l))||h.enumerable});return a};var as=(a,u,c)=>(c=a!=null?Zi(is(a)):{},Qt(u||!a||!a.__esModule?Be(c,"default",{value:a,enumerable:!0}):c,a)),ns=a=>Qt(Be({},"__esModule",{value:!0}),a);var si=Se(se=>{"use strict";Object.defineProperty(se,"__esModule",{value:!0});se.extract=ds;se.parse=xs;se.parseWithComments=ii;se.print=ys;se.strip=ms;var hs=/\*\/$/,ps=/^\/\*\*?/,ei=/^\s*(\/\*\*?(.|\r?\n)*?\*\/)/,cs=/(^|\s+)\/\/([^\r\n]*)/g,Yt=/^(\r?\n)+/,ls=/(?:^|\r?\n) *(@[^\r\n]*?) *\r?\n *(?![^@\r\n]*\/\/[^]*)([^@\r\n\s][^@\r\n]+?) *\r?\n/g,$t=/(?:^|\r?\n) *@(\S+) *([^\r\n]*)/g,fs=/(\r?\n|^) *\* ?/g,ti=[];function ds(a){let u=a.match(ei);return u?u[0].trimLeft():""}function ms(a){let u=a.match(ei);return u&&u[0]?a.substring(u[0].length):a}function xs(a){return ii(a).pragmas}function ii(a){let u=` -`;a=a.replace(ps,"").replace(hs,"").replace(fs,"$1");let c="";for(;c!==a;)c=a,a=a.replace(ls,`${u}$1 $2${u}`);a=a.replace(Yt,"").trimRight();let h=Object.create(null),l=a.replace($t,"").replace(Yt,"").trimRight(),f;for(;f=$t.exec(a);){let m=f[2].replace(cs,"");typeof h[f[1]]=="string"||Array.isArray(h[f[1]])?h[f[1]]=ti.concat(h[f[1]],m):h[f[1]]=m}return{comments:l,pragmas:h}}function ys({comments:a="",pragmas:u={}}){let c=` -`,h="/**",l=" *",f=" */",m=Object.keys(u),_=m.map(P=>Zt(P,u[P])).reduce((P,D)=>P.concat(D),[]).map(P=>`${l} ${P}${c}`).join("");if(!a){if(m.length===0)return"";if(m.length===1&&!Array.isArray(u[m[0]])){let P=u[m[0]];return`${h} ${Zt(m[0],P)[0]}${f}`}}let L=a.split(c).map(P=>`${l} ${P}`).join(c)+c;return h+c+(a?L:"")+(a&&m.length?l+c:"")+_+f}function Zt(a,u){return ti.concat(u).map(c=>`@${a} ${c}`.trim())}});var Ee=Se((Ke,li)=>{(function(a,u){typeof Ke=="object"&&typeof li<"u"?u(Ke):typeof define=="function"&&define.amd?define(["exports"],u):(a=typeof globalThis<"u"?globalThis:a||self,u(a.acorn={}))})(Ke,function(a){"use strict";var u=[509,0,227,0,150,4,294,9,1368,2,2,1,6,3,41,2,5,0,166,1,574,3,9,9,370,1,81,2,71,10,50,3,123,2,54,14,32,10,3,1,11,3,46,10,8,0,46,9,7,2,37,13,2,9,6,1,45,0,13,2,49,13,9,3,2,11,83,11,7,0,3,0,158,11,6,9,7,3,56,1,2,6,3,1,3,2,10,0,11,1,3,6,4,4,193,17,10,9,5,0,82,19,13,9,214,6,3,8,28,1,83,16,16,9,82,12,9,9,84,14,5,9,243,14,166,9,71,5,2,1,3,3,2,0,2,1,13,9,120,6,3,6,4,0,29,9,41,6,2,3,9,0,10,10,47,15,406,7,2,7,17,9,57,21,2,13,123,5,4,0,2,1,2,6,2,0,9,9,49,4,2,1,2,4,9,9,330,3,10,1,2,0,49,6,4,4,14,9,5351,0,7,14,13835,9,87,9,39,4,60,6,26,9,1014,0,2,54,8,3,82,0,12,1,19628,1,4706,45,3,22,543,4,4,5,9,7,3,6,31,3,149,2,1418,49,513,54,5,49,9,0,15,0,23,4,2,14,1361,6,2,16,3,6,2,1,2,4,101,0,161,6,10,9,357,0,62,13,499,13,983,6,110,6,6,9,4759,9,787719,239],c=[0,11,2,25,2,18,2,1,2,14,3,13,35,122,70,52,268,28,4,48,48,31,14,29,6,37,11,29,3,35,5,7,2,4,43,157,19,35,5,35,5,39,9,51,13,10,2,14,2,6,2,1,2,10,2,14,2,6,2,1,68,310,10,21,11,7,25,5,2,41,2,8,70,5,3,0,2,43,2,1,4,0,3,22,11,22,10,30,66,18,2,1,11,21,11,25,71,55,7,1,65,0,16,3,2,2,2,28,43,28,4,28,36,7,2,27,28,53,11,21,11,18,14,17,111,72,56,50,14,50,14,35,349,41,7,1,79,28,11,0,9,21,43,17,47,20,28,22,13,52,58,1,3,0,14,44,33,24,27,35,30,0,3,0,9,34,4,0,13,47,15,3,22,0,2,0,36,17,2,24,20,1,64,6,2,0,2,3,2,14,2,9,8,46,39,7,3,1,3,21,2,6,2,1,2,4,4,0,19,0,13,4,159,52,19,3,21,2,31,47,21,1,2,0,185,46,42,3,37,47,21,0,60,42,14,0,72,26,38,6,186,43,117,63,32,7,3,0,3,7,2,1,2,23,16,0,2,0,95,7,3,38,17,0,2,0,29,0,11,39,8,0,22,0,12,45,20,0,19,72,264,8,2,36,18,0,50,29,113,6,2,1,2,37,22,0,26,5,2,1,2,31,15,0,328,18,16,0,2,12,2,33,125,0,80,921,103,110,18,195,2637,96,16,1071,18,5,4026,582,8634,568,8,30,18,78,18,29,19,47,17,3,32,20,6,18,689,63,129,74,6,0,67,12,65,1,2,0,29,6135,9,1237,43,8,8936,3,2,6,2,1,2,290,16,0,30,2,3,0,15,3,9,395,2309,106,6,12,4,8,8,9,5991,84,2,70,2,1,3,0,3,1,3,3,2,11,2,0,2,6,2,64,2,3,3,7,2,6,2,27,2,3,2,4,2,0,4,6,2,339,3,24,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,7,1845,30,7,5,262,61,147,44,11,6,17,0,322,29,19,43,485,27,757,6,2,3,2,1,2,14,2,196,60,67,8,0,1205,3,2,26,2,1,2,0,3,0,2,9,2,3,2,0,2,0,7,0,5,0,2,0,2,0,2,2,2,1,2,0,3,0,2,0,2,0,2,0,2,0,2,1,2,0,3,3,2,6,2,3,2,3,2,0,2,9,2,16,6,2,2,4,2,16,4421,42719,33,4153,7,221,3,5761,15,7472,3104,541,1507,4938,6,4191],h="\u200C\u200D\xB7\u0300-\u036F\u0387\u0483-\u0487\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u0610-\u061A\u064B-\u0669\u0670\u06D6-\u06DC\u06DF-\u06E4\u06E7\u06E8\u06EA-\u06ED\u06F0-\u06F9\u0711\u0730-\u074A\u07A6-\u07B0\u07C0-\u07C9\u07EB-\u07F3\u07FD\u0816-\u0819\u081B-\u0823\u0825-\u0827\u0829-\u082D\u0859-\u085B\u0898-\u089F\u08CA-\u08E1\u08E3-\u0903\u093A-\u093C\u093E-\u094F\u0951-\u0957\u0962\u0963\u0966-\u096F\u0981-\u0983\u09BC\u09BE-\u09C4\u09C7\u09C8\u09CB-\u09CD\u09D7\u09E2\u09E3\u09E6-\u09EF\u09FE\u0A01-\u0A03\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A66-\u0A71\u0A75\u0A81-\u0A83\u0ABC\u0ABE-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AE2\u0AE3\u0AE6-\u0AEF\u0AFA-\u0AFF\u0B01-\u0B03\u0B3C\u0B3E-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B55-\u0B57\u0B62\u0B63\u0B66-\u0B6F\u0B82\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD7\u0BE6-\u0BEF\u0C00-\u0C04\u0C3C\u0C3E-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C62\u0C63\u0C66-\u0C6F\u0C81-\u0C83\u0CBC\u0CBE-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CE2\u0CE3\u0CE6-\u0CEF\u0CF3\u0D00-\u0D03\u0D3B\u0D3C\u0D3E-\u0D44\u0D46-\u0D48\u0D4A-\u0D4D\u0D57\u0D62\u0D63\u0D66-\u0D6F\u0D81-\u0D83\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E31\u0E34-\u0E3A\u0E47-\u0E4E\u0E50-\u0E59\u0EB1\u0EB4-\u0EBC\u0EC8-\u0ECE\u0ED0-\u0ED9\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E\u0F3F\u0F71-\u0F84\u0F86\u0F87\u0F8D-\u0F97\u0F99-\u0FBC\u0FC6\u102B-\u103E\u1040-\u1049\u1056-\u1059\u105E-\u1060\u1062-\u1064\u1067-\u106D\u1071-\u1074\u1082-\u108D\u108F-\u109D\u135D-\u135F\u1369-\u1371\u1712-\u1715\u1732-\u1734\u1752\u1753\u1772\u1773\u17B4-\u17D3\u17DD\u17E0-\u17E9\u180B-\u180D\u180F-\u1819\u18A9\u1920-\u192B\u1930-\u193B\u1946-\u194F\u19D0-\u19DA\u1A17-\u1A1B\u1A55-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AB0-\u1ABD\u1ABF-\u1ACE\u1B00-\u1B04\u1B34-\u1B44\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1B82\u1BA1-\u1BAD\u1BB0-\u1BB9\u1BE6-\u1BF3\u1C24-\u1C37\u1C40-\u1C49\u1C50-\u1C59\u1CD0-\u1CD2\u1CD4-\u1CE8\u1CED\u1CF4\u1CF7-\u1CF9\u1DC0-\u1DFF\u203F\u2040\u2054\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2CEF-\u2CF1\u2D7F\u2DE0-\u2DFF\u302A-\u302F\u3099\u309A\uA620-\uA629\uA66F\uA674-\uA67D\uA69E\uA69F\uA6F0\uA6F1\uA802\uA806\uA80B\uA823-\uA827\uA82C\uA880\uA881\uA8B4-\uA8C5\uA8D0-\uA8D9\uA8E0-\uA8F1\uA8FF-\uA909\uA926-\uA92D\uA947-\uA953\uA980-\uA983\uA9B3-\uA9C0\uA9D0-\uA9D9\uA9E5\uA9F0-\uA9F9\uAA29-\uAA36\uAA43\uAA4C\uAA4D\uAA50-\uAA59\uAA7B-\uAA7D\uAAB0\uAAB2-\uAAB4\uAAB7\uAAB8\uAABE\uAABF\uAAC1\uAAEB-\uAAEF\uAAF5\uAAF6\uABE3-\uABEA\uABEC\uABED\uABF0-\uABF9\uFB1E\uFE00-\uFE0F\uFE20-\uFE2F\uFE33\uFE34\uFE4D-\uFE4F\uFF10-\uFF19\uFF3F",l="\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0560-\u0588\u05D0-\u05EA\u05EF-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u0870-\u0887\u0889-\u088E\u08A0-\u08C9\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C5D\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D04-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E86-\u0E8A\u0E8C-\u0EA3\u0EA5\u0EA7-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u1711\u171F-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1878\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4C\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\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\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2118-\u211D\u2124\u2126\u2128\u212A-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309B-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312F\u3131-\u318E\u31A0-\u31BF\u31F0-\u31FF\u3400-\u4DBF\u4E00-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7CA\uA7D0\uA7D1\uA7D3\uA7D5-\uA7D9\uA7F2-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA8FE\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB69\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC",f={3:"abstract boolean byte char class double enum export extends final float goto implements import int interface long native package private protected public short static super synchronized throws transient volatile",5:"class enum extends super const export import",6:"enum",strict:"implements interface let package private protected public static yield",strictBind:"eval arguments"},m="break case catch continue debugger default do else finally for function if return switch throw try var while with null true false instanceof typeof void delete new in this",_={5:m,"5module":m+" export import",6:m+" const class extends export import super"},L=/^in(stanceof)?$/,P=new RegExp("["+l+"]"),D=new RegExp("["+l+h+"]");function G(e,t){for(var i=65536,s=0;se)return!1;if(i+=t[s+1],i>=e)return!0}return!1}function F(e,t){return e<65?e===36:e<91?!0:e<97?e===95:e<123?!0:e<=65535?e>=170&&P.test(String.fromCharCode(e)):t===!1?!1:G(e,c)}function d(e,t){return e<48?e===36:e<58?!0:e<65?!1:e<91?!0:e<97?e===95:e<123?!0:e<=65535?e>=170&&D.test(String.fromCharCode(e)):t===!1?!1:G(e,c)||G(e,u)}var y=function(t,i){i===void 0&&(i={}),this.label=t,this.keyword=i.keyword,this.beforeExpr=!!i.beforeExpr,this.startsExpr=!!i.startsExpr,this.isLoop=!!i.isLoop,this.isAssign=!!i.isAssign,this.prefix=!!i.prefix,this.postfix=!!i.postfix,this.binop=i.binop||null,this.updateContext=null};function b(e,t){return new y(e,{beforeExpr:!0,binop:t})}var k={beforeExpr:!0},N={startsExpr:!0},H={};function E(e,t){return t===void 0&&(t={}),t.keyword=e,H[e]=new y(e,t)}var r={num:new y("num",N),regexp:new y("regexp",N),string:new y("string",N),name:new y("name",N),privateId:new y("privateId",N),eof:new y("eof"),bracketL:new y("[",{beforeExpr:!0,startsExpr:!0}),bracketR:new y("]"),braceL:new y("{",{beforeExpr:!0,startsExpr:!0}),braceR:new y("}"),parenL:new y("(",{beforeExpr:!0,startsExpr:!0}),parenR:new y(")"),comma:new y(",",k),semi:new y(";",k),colon:new y(":",k),dot:new y("."),question:new y("?",k),questionDot:new y("?."),arrow:new y("=>",k),template:new y("template"),invalidTemplate:new y("invalidTemplate"),ellipsis:new y("...",k),backQuote:new y("`",N),dollarBraceL:new y("${",{beforeExpr:!0,startsExpr:!0}),eq:new y("=",{beforeExpr:!0,isAssign:!0}),assign:new y("_=",{beforeExpr:!0,isAssign:!0}),incDec:new y("++/--",{prefix:!0,postfix:!0,startsExpr:!0}),prefix:new y("!/~",{beforeExpr:!0,prefix:!0,startsExpr:!0}),logicalOR:b("||",1),logicalAND:b("&&",2),bitwiseOR:b("|",3),bitwiseXOR:b("^",4),bitwiseAND:b("&",5),equality:b("==/!=/===/!==",6),relational:b("/<=/>=",7),bitShift:b("<>/>>>",8),plusMin:new y("+/-",{beforeExpr:!0,binop:9,prefix:!0,startsExpr:!0}),modulo:b("%",10),star:b("*",10),slash:b("/",10),starstar:new y("**",{beforeExpr:!0}),coalesce:b("??",1),_break:E("break"),_case:E("case",k),_catch:E("catch"),_continue:E("continue"),_debugger:E("debugger"),_default:E("default",k),_do:E("do",{isLoop:!0,beforeExpr:!0}),_else:E("else",k),_finally:E("finally"),_for:E("for",{isLoop:!0}),_function:E("function",N),_if:E("if"),_return:E("return",k),_switch:E("switch"),_throw:E("throw",k),_try:E("try"),_var:E("var"),_const:E("const"),_while:E("while",{isLoop:!0}),_with:E("with"),_new:E("new",{beforeExpr:!0,startsExpr:!0}),_this:E("this",N),_super:E("super",N),_class:E("class",N),_extends:E("extends",k),_export:E("export"),_import:E("import",N),_null:E("null",N),_true:E("true",N),_false:E("false",N),_in:E("in",{beforeExpr:!0,binop:7}),_instanceof:E("instanceof",{beforeExpr:!0,binop:7}),_typeof:E("typeof",{beforeExpr:!0,prefix:!0,startsExpr:!0}),_void:E("void",{beforeExpr:!0,prefix:!0,startsExpr:!0}),_delete:E("delete",{beforeExpr:!0,prefix:!0,startsExpr:!0})},j=/\r\n?|\n|\u2028|\u2029/,lt=new RegExp(j.source,"g");function te(e){return e===10||e===13||e===8232||e===8233}function ft(e,t,i){i===void 0&&(i=e.length);for(var s=t;s>10)+55296,(e&1023)+56320))}var ki=/(?:[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])/,ae=function(t,i){this.line=t,this.column=i};ae.prototype.offset=function(t){return new ae(this.line,this.column+t)};var de=function(t,i,s){this.start=i,this.end=s,t.sourceFile!==null&&(this.source=t.sourceFile)};function ze(e,t){for(var i=1,s=0;;){var n=ft(e,s,t);if(n<0)return new ae(i,t-s);++i,s=n}}var Ae={ecmaVersion:null,sourceType:"script",onInsertedSemicolon:null,onTrailingComma:null,allowReserved:null,allowReturnOutsideFunction:!1,allowImportExportEverywhere:!1,allowAwaitOutsideFunction:null,allowSuperOutsideMethod:null,allowHashBang:!1,locations:!1,onToken:null,onComment:null,ranges:!1,program:null,sourceFile:null,directSourceFile:null,preserveParens:!1},xt=!1;function Ti(e){var t={};for(var i in Ae)t[i]=e&&fe(e,i)?e[i]:Ae[i];if(t.ecmaVersion==="latest"?t.ecmaVersion=1e8:t.ecmaVersion==null?(!xt&&typeof console=="object"&&console.warn&&(xt=!0,console.warn(`Since Acorn 8.0.0, options.ecmaVersion is required. -Defaulting to 2020, but this will stop working in the future.`)),t.ecmaVersion=11):t.ecmaVersion>=2015&&(t.ecmaVersion-=2009),t.allowReserved==null&&(t.allowReserved=t.ecmaVersion<5),(!e||e.allowHashBang==null)&&(t.allowHashBang=t.ecmaVersion>=14),mt(t.onToken)){var s=t.onToken;t.onToken=function(n){return s.push(n)}}return mt(t.onComment)&&(t.onComment=Ei(t,t.onComment)),t}function Ei(e,t){return function(i,s,n,o,p,x){var g={type:i?"Block":"Line",value:s,start:n,end:o};e.locations&&(g.loc=new de(this,p,x)),e.ranges&&(g.range=[n,o]),t.push(g)}}var me=1,ne=2,We=4,yt=8,gt=16,vt=32,Xe=64,bt=128,xe=256,He=me|ne|xe;function Qe(e,t){return ne|(e?We:0)|(t?yt:0)}var Pe=0,Ye=1,Q=2,St=3,_t=4,Ct=5,V=function(t,i,s){this.options=t=Ti(t),this.sourceFile=t.sourceFile,this.keywords=$(_[t.ecmaVersion>=6?6:t.sourceType==="module"?"5module":5]);var n="";t.allowReserved!==!0&&(n=f[t.ecmaVersion>=6?6:t.ecmaVersion===5?5:3],t.sourceType==="module"&&(n+=" await")),this.reservedWords=$(n);var o=(n?n+" ":"")+f.strict;this.reservedWordsStrict=$(o),this.reservedWordsStrictBind=$(o+" "+f.strictBind),this.input=String(i),this.containsEsc=!1,s?(this.pos=s,this.lineStart=this.input.lastIndexOf(` -`,s-1)+1,this.curLine=this.input.slice(0,this.lineStart).split(j).length):(this.pos=this.lineStart=0,this.curLine=1),this.type=r.eof,this.value=null,this.start=this.end=this.pos,this.startLoc=this.endLoc=this.curPosition(),this.lastTokEndLoc=this.lastTokStartLoc=null,this.lastTokStart=this.lastTokEnd=this.pos,this.context=this.initialContext(),this.exprAllowed=!0,this.inModule=t.sourceType==="module",this.strict=this.inModule||this.strictDirective(this.pos),this.potentialArrowAt=-1,this.potentialArrowInForAwait=!1,this.yieldPos=this.awaitPos=this.awaitIdentPos=0,this.labels=[],this.undefinedExports=Object.create(null),this.pos===0&&t.allowHashBang&&this.input.slice(0,2)==="#!"&&this.skipLineComment(2),this.scopeStack=[],this.enterScope(me),this.regexpState=null,this.privateNameStack=[]},z={inFunction:{configurable:!0},inGenerator:{configurable:!0},inAsync:{configurable:!0},canAwait:{configurable:!0},allowSuper:{configurable:!0},allowDirectSuper:{configurable:!0},treatFunctionsAsVar:{configurable:!0},allowNewDotTarget:{configurable:!0},inClassStaticBlock:{configurable:!0}};V.prototype.parse=function(){var t=this.options.program||this.startNode();return this.nextToken(),this.parseTopLevel(t)},z.inFunction.get=function(){return(this.currentVarScope().flags&ne)>0},z.inGenerator.get=function(){return(this.currentVarScope().flags&yt)>0&&!this.currentVarScope().inClassFieldInit},z.inAsync.get=function(){return(this.currentVarScope().flags&We)>0&&!this.currentVarScope().inClassFieldInit},z.canAwait.get=function(){for(var e=this.scopeStack.length-1;e>=0;e--){var t=this.scopeStack[e];if(t.inClassFieldInit||t.flags&xe)return!1;if(t.flags&ne)return(t.flags&We)>0}return this.inModule&&this.options.ecmaVersion>=13||this.options.allowAwaitOutsideFunction},z.allowSuper.get=function(){var e=this.currentThisScope(),t=e.flags,i=e.inClassFieldInit;return(t&Xe)>0||i||this.options.allowSuperOutsideMethod},z.allowDirectSuper.get=function(){return(this.currentThisScope().flags&bt)>0},z.treatFunctionsAsVar.get=function(){return this.treatFunctionsAsVarInScope(this.currentScope())},z.allowNewDotTarget.get=function(){var e=this.currentThisScope(),t=e.flags,i=e.inClassFieldInit;return(t&(ne|xe))>0||i},z.inClassStaticBlock.get=function(){return(this.currentVarScope().flags&xe)>0},V.extend=function(){for(var t=[],i=arguments.length;i--;)t[i]=arguments[i];for(var s=this,n=0;n=,?^&]/.test(n)||n==="!"&&this.input.charAt(s+1)==="=")}e+=t[0].length,U.lastIndex=e,e+=U.exec(this.input)[0].length,this.input[e]===";"&&e++}},O.eat=function(e){return this.type===e?(this.next(),!0):!1},O.isContextual=function(e){return this.type===r.name&&this.value===e&&!this.containsEsc},O.eatContextual=function(e){return this.isContextual(e)?(this.next(),!0):!1},O.expectContextual=function(e){this.eatContextual(e)||this.unexpected()},O.canInsertSemicolon=function(){return this.type===r.eof||this.type===r.braceR||j.test(this.input.slice(this.lastTokEnd,this.start))},O.insertSemicolon=function(){if(this.canInsertSemicolon())return this.options.onInsertedSemicolon&&this.options.onInsertedSemicolon(this.lastTokEnd,this.lastTokEndLoc),!0},O.semicolon=function(){!this.eat(r.semi)&&!this.insertSemicolon()&&this.unexpected()},O.afterTrailingComma=function(e,t){if(this.type===e)return this.options.onTrailingComma&&this.options.onTrailingComma(this.lastTokStart,this.lastTokStartLoc),t||this.next(),!0},O.expect=function(e){this.eat(e)||this.unexpected()},O.unexpected=function(e){this.raise(e??this.start,"Unexpected token")};var Ie=function(){this.shorthandAssign=this.trailingComma=this.parenthesizedAssign=this.parenthesizedBind=this.doubleProto=-1};O.checkPatternErrors=function(e,t){if(e){e.trailingComma>-1&&this.raiseRecoverable(e.trailingComma,"Comma is not permitted after the rest element");var i=t?e.parenthesizedAssign:e.parenthesizedBind;i>-1&&this.raiseRecoverable(i,t?"Assigning to rvalue":"Parenthesized pattern")}},O.checkExpressionErrors=function(e,t){if(!e)return!1;var i=e.shorthandAssign,s=e.doubleProto;if(!t)return i>=0||s>=0;i>=0&&this.raise(i,"Shorthand property assignments are valid only in destructuring patterns"),s>=0&&this.raiseRecoverable(s,"Redefinition of __proto__ property")},O.checkYieldAwaitInDefaultParams=function(){this.yieldPos&&(!this.awaitPos||this.yieldPos55295&&s<56320)return!0;if(F(s,!0)){for(var n=i+1;d(s=this.input.charCodeAt(n),!0);)++n;if(s===92||s>55295&&s<56320)return!0;var o=this.input.slice(i,n);if(!L.test(o))return!0}return!1},S.isAsyncFunction=function(){if(this.options.ecmaVersion<8||!this.isContextual("async"))return!1;U.lastIndex=this.pos;var e=U.exec(this.input),t=this.pos+e[0].length,i;return!j.test(this.input.slice(this.pos,t))&&this.input.slice(t,t+8)==="function"&&(t+8===this.input.length||!(d(i=this.input.charCodeAt(t+8))||i>55295&&i<56320))},S.parseStatement=function(e,t,i){var s=this.type,n=this.startNode(),o;switch(this.isLet(e)&&(s=r._var,o="let"),s){case r._break:case r._continue:return this.parseBreakContinueStatement(n,s.keyword);case r._debugger:return this.parseDebuggerStatement(n);case r._do:return this.parseDoStatement(n);case r._for:return this.parseForStatement(n);case r._function:return e&&(this.strict||e!=="if"&&e!=="label")&&this.options.ecmaVersion>=6&&this.unexpected(),this.parseFunctionStatement(n,!1,!e);case r._class:return e&&this.unexpected(),this.parseClass(n,!0);case r._if:return this.parseIfStatement(n);case r._return:return this.parseReturnStatement(n);case r._switch:return this.parseSwitchStatement(n);case r._throw:return this.parseThrowStatement(n);case r._try:return this.parseTryStatement(n);case r._const:case r._var:return o=o||this.value,e&&o!=="var"&&this.unexpected(),this.parseVarStatement(n,o);case r._while:return this.parseWhileStatement(n);case r._with:return this.parseWithStatement(n);case r.braceL:return this.parseBlock(!0,n);case r.semi:return this.parseEmptyStatement(n);case r._export:case r._import:if(this.options.ecmaVersion>10&&s===r._import){U.lastIndex=this.pos;var p=U.exec(this.input),x=this.pos+p[0].length,g=this.input.charCodeAt(x);if(g===40||g===46)return this.parseExpressionStatement(n,this.parseExpression())}return this.options.allowImportExportEverywhere||(t||this.raise(this.start,"'import' and 'export' may only appear at the top level"),this.inModule||this.raise(this.start,"'import' and 'export' may appear only with 'sourceType: module'")),s===r._import?this.parseImport(n):this.parseExport(n,i);default:if(this.isAsyncFunction())return e&&this.unexpected(),this.next(),this.parseFunctionStatement(n,!0,!e);var T=this.value,w=this.parseExpression();return s===r.name&&w.type==="Identifier"&&this.eat(r.colon)?this.parseLabeledStatement(n,T,w,e):this.parseExpressionStatement(n,w)}},S.parseBreakContinueStatement=function(e,t){var i=t==="break";this.next(),this.eat(r.semi)||this.insertSemicolon()?e.label=null:this.type!==r.name?this.unexpected():(e.label=this.parseIdent(),this.semicolon());for(var s=0;s=6?this.eat(r.semi):this.semicolon(),this.finishNode(e,"DoWhileStatement")},S.parseForStatement=function(e){this.next();var t=this.options.ecmaVersion>=9&&this.canAwait&&this.eatContextual("await")?this.lastTokStart:-1;if(this.labels.push($e),this.enterScope(0),this.expect(r.parenL),this.type===r.semi)return t>-1&&this.unexpected(t),this.parseFor(e,null);var i=this.isLet();if(this.type===r._var||this.type===r._const||i){var s=this.startNode(),n=i?"let":this.value;return this.next(),this.parseVar(s,!0,n),this.finishNode(s,"VariableDeclaration"),(this.type===r._in||this.options.ecmaVersion>=6&&this.isContextual("of"))&&s.declarations.length===1?(this.options.ecmaVersion>=9&&(this.type===r._in?t>-1&&this.unexpected(t):e.await=t>-1),this.parseForIn(e,s)):(t>-1&&this.unexpected(t),this.parseFor(e,s))}var o=this.isContextual("let"),p=!1,x=new Ie,g=this.parseExpression(t>-1?"await":!0,x);return this.type===r._in||(p=this.options.ecmaVersion>=6&&this.isContextual("of"))?(this.options.ecmaVersion>=9&&(this.type===r._in?t>-1&&this.unexpected(t):e.await=t>-1),o&&p&&this.raise(g.start,"The left-hand side of a for-of loop may not start with 'let'."),this.toAssignable(g,!1,x),this.checkLValPattern(g),this.parseForIn(e,g)):(this.checkExpressionErrors(x,!0),t>-1&&this.unexpected(t),this.parseFor(e,g))},S.parseFunctionStatement=function(e,t,i){return this.next(),this.parseFunction(e,ye|(i?0:Ze),!1,t)},S.parseIfStatement=function(e){return this.next(),e.test=this.parseParenExpression(),e.consequent=this.parseStatement("if"),e.alternate=this.eat(r._else)?this.parseStatement("if"):null,this.finishNode(e,"IfStatement")},S.parseReturnStatement=function(e){return!this.inFunction&&!this.options.allowReturnOutsideFunction&&this.raise(this.start,"'return' outside of function"),this.next(),this.eat(r.semi)||this.insertSemicolon()?e.argument=null:(e.argument=this.parseExpression(),this.semicolon()),this.finishNode(e,"ReturnStatement")},S.parseSwitchStatement=function(e){this.next(),e.discriminant=this.parseParenExpression(),e.cases=[],this.expect(r.braceL),this.labels.push(Ai),this.enterScope(0);for(var t,i=!1;this.type!==r.braceR;)if(this.type===r._case||this.type===r._default){var s=this.type===r._case;t&&this.finishNode(t,"SwitchCase"),e.cases.push(t=this.startNode()),t.consequent=[],this.next(),s?t.test=this.parseExpression():(i&&this.raiseRecoverable(this.lastTokStart,"Multiple default clauses"),i=!0,t.test=null),this.expect(r.colon)}else t||this.unexpected(),t.consequent.push(this.parseStatement(null));return this.exitScope(),t&&this.finishNode(t,"SwitchCase"),this.next(),this.labels.pop(),this.finishNode(e,"SwitchStatement")},S.parseThrowStatement=function(e){return this.next(),j.test(this.input.slice(this.lastTokEnd,this.start))&&this.raise(this.lastTokEnd,"Illegal newline after throw"),e.argument=this.parseExpression(),this.semicolon(),this.finishNode(e,"ThrowStatement")};var Pi=[];S.parseCatchClauseParam=function(){var e=this.parseBindingAtom(),t=e.type==="Identifier";return this.enterScope(t?vt:0),this.checkLValPattern(e,t?_t:Q),this.expect(r.parenR),e},S.parseTryStatement=function(e){if(this.next(),e.block=this.parseBlock(),e.handler=null,this.type===r._catch){var t=this.startNode();this.next(),this.eat(r.parenL)?t.param=this.parseCatchClauseParam():(this.options.ecmaVersion<10&&this.unexpected(),t.param=null,this.enterScope(0)),t.body=this.parseBlock(!1),this.exitScope(),e.handler=this.finishNode(t,"CatchClause")}return e.finalizer=this.eat(r._finally)?this.parseBlock():null,!e.handler&&!e.finalizer&&this.raise(e.start,"Missing catch or finally clause"),this.finishNode(e,"TryStatement")},S.parseVarStatement=function(e,t,i){return this.next(),this.parseVar(e,!1,t,i),this.semicolon(),this.finishNode(e,"VariableDeclaration")},S.parseWhileStatement=function(e){return this.next(),e.test=this.parseParenExpression(),this.labels.push($e),e.body=this.parseStatement("while"),this.labels.pop(),this.finishNode(e,"WhileStatement")},S.parseWithStatement=function(e){return this.strict&&this.raise(this.start,"'with' in strict mode"),this.next(),e.object=this.parseParenExpression(),e.body=this.parseStatement("with"),this.finishNode(e,"WithStatement")},S.parseEmptyStatement=function(e){return this.next(),this.finishNode(e,"EmptyStatement")},S.parseLabeledStatement=function(e,t,i,s){for(var n=0,o=this.labels;n=0;g--){var T=this.labels[g];if(T.statementStart===e.start)T.statementStart=this.start,T.kind=x;else break}return this.labels.push({name:t,kind:x,statementStart:this.start}),e.body=this.parseStatement(s?s.indexOf("label")===-1?s+"label":s:"label"),this.labels.pop(),e.label=i,this.finishNode(e,"LabeledStatement")},S.parseExpressionStatement=function(e,t){return e.expression=t,this.semicolon(),this.finishNode(e,"ExpressionStatement")},S.parseBlock=function(e,t,i){for(e===void 0&&(e=!0),t===void 0&&(t=this.startNode()),t.body=[],this.expect(r.braceL),e&&this.enterScope(0);this.type!==r.braceR;){var s=this.parseStatement(null);t.body.push(s)}return i&&(this.strict=!1),this.next(),e&&this.exitScope(),this.finishNode(t,"BlockStatement")},S.parseFor=function(e,t){return e.init=t,this.expect(r.semi),e.test=this.type===r.semi?null:this.parseExpression(),this.expect(r.semi),e.update=this.type===r.parenR?null:this.parseExpression(),this.expect(r.parenR),e.body=this.parseStatement("for"),this.exitScope(),this.labels.pop(),this.finishNode(e,"ForStatement")},S.parseForIn=function(e,t){var i=this.type===r._in;return this.next(),t.type==="VariableDeclaration"&&t.declarations[0].init!=null&&(!i||this.options.ecmaVersion<8||this.strict||t.kind!=="var"||t.declarations[0].id.type!=="Identifier")&&this.raise(t.start,(i?"for-in":"for-of")+" loop variable declaration may not have an initializer"),e.left=t,e.right=i?this.parseExpression():this.parseMaybeAssign(),this.expect(r.parenR),e.body=this.parseStatement("for"),this.exitScope(),this.labels.pop(),this.finishNode(e,i?"ForInStatement":"ForOfStatement")},S.parseVar=function(e,t,i,s){for(e.declarations=[],e.kind=i;;){var n=this.startNode();if(this.parseVarId(n,i),this.eat(r.eq)?n.init=this.parseMaybeAssign(t):!s&&i==="const"&&!(this.type===r._in||this.options.ecmaVersion>=6&&this.isContextual("of"))?this.unexpected():!s&&n.id.type!=="Identifier"&&!(t&&(this.type===r._in||this.isContextual("of")))?this.raise(this.lastTokEnd,"Complex binding patterns require an initialization value"):n.init=null,e.declarations.push(this.finishNode(n,"VariableDeclarator")),!this.eat(r.comma))break}return e},S.parseVarId=function(e,t){e.id=this.parseBindingAtom(),this.checkLValPattern(e.id,t==="var"?Ye:Q,!1)};var ye=1,Ze=2,kt=4;S.parseFunction=function(e,t,i,s,n){this.initFunction(e),(this.options.ecmaVersion>=9||this.options.ecmaVersion>=6&&!s)&&(this.type===r.star&&t&Ze&&this.unexpected(),e.generator=this.eat(r.star)),this.options.ecmaVersion>=8&&(e.async=!!s),t&ye&&(e.id=t&kt&&this.type!==r.name?null:this.parseIdent(),e.id&&!(t&Ze)&&this.checkLValSimple(e.id,this.strict||e.generator||e.async?this.treatFunctionsAsVar?Ye:Q:St));var o=this.yieldPos,p=this.awaitPos,x=this.awaitIdentPos;return this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0,this.enterScope(Qe(e.async,e.generator)),t&ye||(e.id=this.type===r.name?this.parseIdent():null),this.parseFunctionParams(e),this.parseFunctionBody(e,i,!1,n),this.yieldPos=o,this.awaitPos=p,this.awaitIdentPos=x,this.finishNode(e,t&ye?"FunctionDeclaration":"FunctionExpression")},S.parseFunctionParams=function(e){this.expect(r.parenL),e.params=this.parseBindingList(r.parenR,!1,this.options.ecmaVersion>=8),this.checkYieldAwaitInDefaultParams()},S.parseClass=function(e,t){this.next();var i=this.strict;this.strict=!0,this.parseClassId(e,t),this.parseClassSuper(e);var s=this.enterClassBody(),n=this.startNode(),o=!1;for(n.body=[],this.expect(r.braceL);this.type!==r.braceR;){var p=this.parseClassElement(e.superClass!==null);p&&(n.body.push(p),p.type==="MethodDefinition"&&p.kind==="constructor"?(o&&this.raiseRecoverable(p.start,"Duplicate constructor in the same class"),o=!0):p.key&&p.key.type==="PrivateIdentifier"&&Ii(s,p)&&this.raiseRecoverable(p.key.start,"Identifier '#"+p.key.name+"' has already been declared"))}return this.strict=i,this.next(),e.body=this.finishNode(n,"ClassBody"),this.exitClassBody(),this.finishNode(e,t?"ClassDeclaration":"ClassExpression")},S.parseClassElement=function(e){if(this.eat(r.semi))return null;var t=this.options.ecmaVersion,i=this.startNode(),s="",n=!1,o=!1,p="method",x=!1;if(this.eatContextual("static")){if(t>=13&&this.eat(r.braceL))return this.parseClassStaticBlock(i),i;this.isClassElementNameStart()||this.type===r.star?x=!0:s="static"}if(i.static=x,!s&&t>=8&&this.eatContextual("async")&&((this.isClassElementNameStart()||this.type===r.star)&&!this.canInsertSemicolon()?o=!0:s="async"),!s&&(t>=9||!o)&&this.eat(r.star)&&(n=!0),!s&&!o&&!n){var g=this.value;(this.eatContextual("get")||this.eatContextual("set"))&&(this.isClassElementNameStart()?p=g:s=g)}if(s?(i.computed=!1,i.key=this.startNodeAt(this.lastTokStart,this.lastTokStartLoc),i.key.name=s,this.finishNode(i.key,"Identifier")):this.parseClassElementName(i),t<13||this.type===r.parenL||p!=="method"||n||o){var T=!i.static&&Ne(i,"constructor"),w=T&&e;T&&p!=="method"&&this.raise(i.key.start,"Constructor can't have get/set modifier"),i.kind=T?"constructor":p,this.parseClassMethod(i,n,o,w)}else this.parseClassField(i);return i},S.isClassElementNameStart=function(){return this.type===r.name||this.type===r.privateId||this.type===r.num||this.type===r.string||this.type===r.bracketL||this.type.keyword},S.parseClassElementName=function(e){this.type===r.privateId?(this.value==="constructor"&&this.raise(this.start,"Classes can't have an element named '#constructor'"),e.computed=!1,e.key=this.parsePrivateIdent()):this.parsePropertyName(e)},S.parseClassMethod=function(e,t,i,s){var n=e.key;e.kind==="constructor"?(t&&this.raise(n.start,"Constructor can't be a generator"),i&&this.raise(n.start,"Constructor can't be an async method")):e.static&&Ne(e,"prototype")&&this.raise(n.start,"Classes may not have a static property named prototype");var o=e.value=this.parseMethod(t,i,s);return e.kind==="get"&&o.params.length!==0&&this.raiseRecoverable(o.start,"getter should have no params"),e.kind==="set"&&o.params.length!==1&&this.raiseRecoverable(o.start,"setter should have exactly one param"),e.kind==="set"&&o.params[0].type==="RestElement"&&this.raiseRecoverable(o.params[0].start,"Setter cannot use rest params"),this.finishNode(e,"MethodDefinition")},S.parseClassField=function(e){if(Ne(e,"constructor")?this.raise(e.key.start,"Classes can't have a field named 'constructor'"):e.static&&Ne(e,"prototype")&&this.raise(e.key.start,"Classes can't have a static field named 'prototype'"),this.eat(r.eq)){var t=this.currentThisScope(),i=t.inClassFieldInit;t.inClassFieldInit=!0,e.value=this.parseMaybeAssign(),t.inClassFieldInit=i}else e.value=null;return this.semicolon(),this.finishNode(e,"PropertyDefinition")},S.parseClassStaticBlock=function(e){e.body=[];var t=this.labels;for(this.labels=[],this.enterScope(xe|Xe);this.type!==r.braceR;){var i=this.parseStatement(null);e.body.push(i)}return this.next(),this.exitScope(),this.labels=t,this.finishNode(e,"StaticBlock")},S.parseClassId=function(e,t){this.type===r.name?(e.id=this.parseIdent(),t&&this.checkLValSimple(e.id,Q,!1)):(t===!0&&this.unexpected(),e.id=null)},S.parseClassSuper=function(e){e.superClass=this.eat(r._extends)?this.parseExprSubscripts(null,!1):null},S.enterClassBody=function(){var e={declared:Object.create(null),used:[]};return this.privateNameStack.push(e),e.declared},S.exitClassBody=function(){for(var e=this.privateNameStack.pop(),t=e.declared,i=e.used,s=this.privateNameStack.length,n=s===0?null:this.privateNameStack[s-1],o=0;o=11&&(this.eatContextual("as")?(e.exported=this.parseModuleExportName(),this.checkExport(t,e.exported,this.lastTokStart)):e.exported=null),this.expectContextual("from"),this.type!==r.string&&this.unexpected(),e.source=this.parseExprAtom(),this.semicolon(),this.finishNode(e,"ExportAllDeclaration")},S.parseExport=function(e,t){if(this.next(),this.eat(r.star))return this.parseExportAllDeclaration(e,t);if(this.eat(r._default))return this.checkExport(t,"default",this.lastTokStart),e.declaration=this.parseExportDefaultDeclaration(),this.finishNode(e,"ExportDefaultDeclaration");if(this.shouldParseExportStatement())e.declaration=this.parseExportDeclaration(e),e.declaration.type==="VariableDeclaration"?this.checkVariableExport(t,e.declaration.declarations):this.checkExport(t,e.declaration.id,e.declaration.id.start),e.specifiers=[],e.source=null;else{if(e.declaration=null,e.specifiers=this.parseExportSpecifiers(t),this.eatContextual("from"))this.type!==r.string&&this.unexpected(),e.source=this.parseExprAtom();else{for(var i=0,s=e.specifiers;i=13&&this.type===r.string){var e=this.parseLiteral(this.value);return ki.test(e.value)&&this.raise(e.start,"An export name cannot include a lone surrogate."),e}return this.parseIdent(!0)},S.adaptDirectivePrologue=function(e){for(var t=0;t=5&&e.type==="ExpressionStatement"&&e.expression.type==="Literal"&&typeof e.expression.value=="string"&&(this.input[e.start]==='"'||this.input[e.start]==="'")};var q=V.prototype;q.toAssignable=function(e,t,i){if(this.options.ecmaVersion>=6&&e)switch(e.type){case"Identifier":this.inAsync&&e.name==="await"&&this.raise(e.start,"Cannot use 'await' as identifier inside an async function");break;case"ObjectPattern":case"ArrayPattern":case"AssignmentPattern":case"RestElement":break;case"ObjectExpression":e.type="ObjectPattern",i&&this.checkPatternErrors(i,!0);for(var s=0,n=e.properties;s=8&&!x&&g.name==="async"&&!this.canInsertSemicolon()&&this.eat(r._function))return this.overrideContext(I.f_expr),this.parseFunction(this.startNodeAt(o,p),0,!1,!0,t);if(n&&!this.canInsertSemicolon()){if(this.eat(r.arrow))return this.parseArrowExpression(this.startNodeAt(o,p),[g],!1,t);if(this.options.ecmaVersion>=8&&g.name==="async"&&this.type===r.name&&!x&&(!this.potentialArrowInForAwait||this.value!=="of"||this.containsEsc))return g=this.parseIdent(!1),(this.canInsertSemicolon()||!this.eat(r.arrow))&&this.unexpected(),this.parseArrowExpression(this.startNodeAt(o,p),[g],!0,t)}return g;case r.regexp:var T=this.value;return s=this.parseLiteral(T.value),s.regex={pattern:T.pattern,flags:T.flags},s;case r.num:case r.string:return this.parseLiteral(this.value);case r._null:case r._true:case r._false:return s=this.startNode(),s.value=this.type===r._null?null:this.type===r._true,s.raw=this.type.keyword,this.next(),this.finishNode(s,"Literal");case r.parenL:var w=this.start,R=this.parseParenAndDistinguishExpression(n,t);return e&&(e.parenthesizedAssign<0&&!this.isSimpleAssignTarget(R)&&(e.parenthesizedAssign=w),e.parenthesizedBind<0&&(e.parenthesizedBind=w)),R;case r.bracketL:return s=this.startNode(),this.next(),s.elements=this.parseExprList(r.bracketR,!0,!0,e),this.finishNode(s,"ArrayExpression");case r.braceL:return this.overrideContext(I.b_expr),this.parseObj(!1,e);case r._function:return s=this.startNode(),this.next(),this.parseFunction(s,0);case r._class:return this.parseClass(this.startNode(),!1);case r._new:return this.parseNew();case r.backQuote:return this.parseTemplate();case r._import:return this.options.ecmaVersion>=11?this.parseExprImport(i):this.unexpected();default:return this.parseExprAtomDefault()}},C.parseExprAtomDefault=function(){this.unexpected()},C.parseExprImport=function(e){var t=this.startNode();this.containsEsc&&this.raiseRecoverable(this.start,"Escape sequence in keyword import");var i=this.parseIdent(!0);if(this.type===r.parenL&&!e)return this.parseDynamicImport(t);if(this.type===r.dot)return t.meta=i,this.parseImportMeta(t);this.unexpected()},C.parseDynamicImport=function(e){if(this.next(),e.source=this.parseMaybeAssign(),!this.eat(r.parenR)){var t=this.start;this.eat(r.comma)&&this.eat(r.parenR)?this.raiseRecoverable(t,"Trailing comma is not allowed in import()"):this.unexpected(t)}return this.finishNode(e,"ImportExpression")},C.parseImportMeta=function(e){this.next();var t=this.containsEsc;return e.property=this.parseIdent(!0),e.property.name!=="meta"&&this.raiseRecoverable(e.property.start,"The only valid meta property for import is 'import.meta'"),t&&this.raiseRecoverable(e.start,"'import.meta' must not contain escaped characters"),this.options.sourceType!=="module"&&!this.options.allowImportExportEverywhere&&this.raiseRecoverable(e.start,"Cannot use 'import.meta' outside a module"),this.finishNode(e,"MetaProperty")},C.parseLiteral=function(e){var t=this.startNode();return t.value=e,t.raw=this.input.slice(this.start,this.end),t.raw.charCodeAt(t.raw.length-1)===110&&(t.bigint=t.raw.slice(0,-1).replace(/_/g,"")),this.next(),this.finishNode(t,"Literal")},C.parseParenExpression=function(){this.expect(r.parenL);var e=this.parseExpression();return this.expect(r.parenR),e},C.shouldParseArrow=function(e){return!this.canInsertSemicolon()},C.parseParenAndDistinguishExpression=function(e,t){var i=this.start,s=this.startLoc,n,o=this.options.ecmaVersion>=8;if(this.options.ecmaVersion>=6){this.next();var p=this.start,x=this.startLoc,g=[],T=!0,w=!1,R=new Ie,ie=this.yieldPos,be=this.awaitPos,ue;for(this.yieldPos=0,this.awaitPos=0;this.type!==r.parenR;)if(T?T=!1:this.expect(r.comma),o&&this.afterTrailingComma(r.parenR,!0)){w=!0;break}else if(this.type===r.ellipsis){ue=this.start,g.push(this.parseParenItem(this.parseRestBinding())),this.type===r.comma&&this.raiseRecoverable(this.start,"Comma is not permitted after the rest element");break}else g.push(this.parseMaybeAssign(!1,R,this.parseParenItem));var Oe=this.lastTokEnd,he=this.lastTokEndLoc;if(this.expect(r.parenR),e&&this.shouldParseArrow(g)&&this.eat(r.arrow))return this.checkPatternErrors(R,!1),this.checkYieldAwaitInDefaultParams(),this.yieldPos=ie,this.awaitPos=be,this.parseParenArrowList(i,s,g,t);(!g.length||w)&&this.unexpected(this.lastTokStart),ue&&this.unexpected(ue),this.checkExpressionErrors(R,!0),this.yieldPos=ie||this.yieldPos,this.awaitPos=be||this.awaitPos,g.length>1?(n=this.startNodeAt(p,x),n.expressions=g,this.finishNodeAt(n,"SequenceExpression",Oe,he)):n=g[0]}else n=this.parseParenExpression();if(this.options.preserveParens){var pe=this.startNodeAt(i,s);return pe.expression=n,this.finishNode(pe,"ParenthesizedExpression")}else return n},C.parseParenItem=function(e){return e},C.parseParenArrowList=function(e,t,i,s){return this.parseArrowExpression(this.startNodeAt(e,t),i,!1,s)};var Ni=[];C.parseNew=function(){this.containsEsc&&this.raiseRecoverable(this.start,"Escape sequence in keyword new");var e=this.startNode(),t=this.parseIdent(!0);if(this.options.ecmaVersion>=6&&this.eat(r.dot)){e.meta=t;var i=this.containsEsc;return e.property=this.parseIdent(!0),e.property.name!=="target"&&this.raiseRecoverable(e.property.start,"The only valid meta property for new is 'new.target'"),i&&this.raiseRecoverable(e.start,"'new.target' must not contain escaped characters"),this.allowNewDotTarget||this.raiseRecoverable(e.start,"'new.target' can only be used in functions and class static block"),this.finishNode(e,"MetaProperty")}var s=this.start,n=this.startLoc;return e.callee=this.parseSubscripts(this.parseExprAtom(null,!1,!0),s,n,!0,!1),this.eat(r.parenL)?e.arguments=this.parseExprList(r.parenR,this.options.ecmaVersion>=8,!1):e.arguments=Ni,this.finishNode(e,"NewExpression")},C.parseTemplateElement=function(e){var t=e.isTagged,i=this.startNode();return this.type===r.invalidTemplate?(t||this.raiseRecoverable(this.start,"Bad escape sequence in untagged template literal"),i.value={raw:this.value,cooked:null}):i.value={raw:this.input.slice(this.start,this.end).replace(/\r\n?/g,` -`),cooked:this.value},this.next(),i.tail=this.type===r.backQuote,this.finishNode(i,"TemplateElement")},C.parseTemplate=function(e){e===void 0&&(e={});var t=e.isTagged;t===void 0&&(t=!1);var i=this.startNode();this.next(),i.expressions=[];var s=this.parseTemplateElement({isTagged:t});for(i.quasis=[s];!s.tail;)this.type===r.eof&&this.raise(this.pos,"Unterminated template literal"),this.expect(r.dollarBraceL),i.expressions.push(this.parseExpression()),this.expect(r.braceR),i.quasis.push(s=this.parseTemplateElement({isTagged:t}));return this.next(),this.finishNode(i,"TemplateLiteral")},C.isAsyncProp=function(e){return!e.computed&&e.key.type==="Identifier"&&e.key.name==="async"&&(this.type===r.name||this.type===r.num||this.type===r.string||this.type===r.bracketL||this.type.keyword||this.options.ecmaVersion>=9&&this.type===r.star)&&!j.test(this.input.slice(this.lastTokEnd,this.start))},C.parseObj=function(e,t){var i=this.startNode(),s=!0,n={};for(i.properties=[],this.next();!this.eat(r.braceR);){if(s)s=!1;else if(this.expect(r.comma),this.options.ecmaVersion>=5&&this.afterTrailingComma(r.braceR))break;var o=this.parseProperty(e,t);e||this.checkPropClash(o,n,t),i.properties.push(o)}return this.finishNode(i,e?"ObjectPattern":"ObjectExpression")},C.parseProperty=function(e,t){var i=this.startNode(),s,n,o,p;if(this.options.ecmaVersion>=9&&this.eat(r.ellipsis))return e?(i.argument=this.parseIdent(!1),this.type===r.comma&&this.raiseRecoverable(this.start,"Comma is not permitted after the rest element"),this.finishNode(i,"RestElement")):(i.argument=this.parseMaybeAssign(!1,t),this.type===r.comma&&t&&t.trailingComma<0&&(t.trailingComma=this.start),this.finishNode(i,"SpreadElement"));this.options.ecmaVersion>=6&&(i.method=!1,i.shorthand=!1,(e||t)&&(o=this.start,p=this.startLoc),e||(s=this.eat(r.star)));var x=this.containsEsc;return this.parsePropertyName(i),!e&&!x&&this.options.ecmaVersion>=8&&!s&&this.isAsyncProp(i)?(n=!0,s=this.options.ecmaVersion>=9&&this.eat(r.star),this.parsePropertyName(i)):n=!1,this.parsePropertyValue(i,e,s,n,o,p,t,x),this.finishNode(i,"Property")},C.parseGetterSetter=function(e){e.kind=e.key.name,this.parsePropertyName(e),e.value=this.parseMethod(!1);var t=e.kind==="get"?0:1;if(e.value.params.length!==t){var i=e.value.start;e.kind==="get"?this.raiseRecoverable(i,"getter should have no params"):this.raiseRecoverable(i,"setter should have exactly one param")}else e.kind==="set"&&e.value.params[0].type==="RestElement"&&this.raiseRecoverable(e.value.params[0].start,"Setter cannot use rest params")},C.parsePropertyValue=function(e,t,i,s,n,o,p,x){(i||s)&&this.type===r.colon&&this.unexpected(),this.eat(r.colon)?(e.value=t?this.parseMaybeDefault(this.start,this.startLoc):this.parseMaybeAssign(!1,p),e.kind="init"):this.options.ecmaVersion>=6&&this.type===r.parenL?(t&&this.unexpected(),e.kind="init",e.method=!0,e.value=this.parseMethod(i,s)):!t&&!x&&this.options.ecmaVersion>=5&&!e.computed&&e.key.type==="Identifier"&&(e.key.name==="get"||e.key.name==="set")&&this.type!==r.comma&&this.type!==r.braceR&&this.type!==r.eq?((i||s)&&this.unexpected(),this.parseGetterSetter(e)):this.options.ecmaVersion>=6&&!e.computed&&e.key.type==="Identifier"?((i||s)&&this.unexpected(),this.checkUnreserved(e.key),e.key.name==="await"&&!this.awaitIdentPos&&(this.awaitIdentPos=n),e.kind="init",t?e.value=this.parseMaybeDefault(n,o,this.copyNode(e.key)):this.type===r.eq&&p?(p.shorthandAssign<0&&(p.shorthandAssign=this.start),e.value=this.parseMaybeDefault(n,o,this.copyNode(e.key))):e.value=this.copyNode(e.key),e.shorthand=!0):this.unexpected()},C.parsePropertyName=function(e){if(this.options.ecmaVersion>=6){if(this.eat(r.bracketL))return e.computed=!0,e.key=this.parseMaybeAssign(),this.expect(r.bracketR),e.key;e.computed=!1}return e.key=this.type===r.num||this.type===r.string?this.parseExprAtom():this.parseIdent(this.options.allowReserved!=="never")},C.initFunction=function(e){e.id=null,this.options.ecmaVersion>=6&&(e.generator=e.expression=!1),this.options.ecmaVersion>=8&&(e.async=!1)},C.parseMethod=function(e,t,i){var s=this.startNode(),n=this.yieldPos,o=this.awaitPos,p=this.awaitIdentPos;return this.initFunction(s),this.options.ecmaVersion>=6&&(s.generator=e),this.options.ecmaVersion>=8&&(s.async=!!t),this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0,this.enterScope(Qe(t,s.generator)|Xe|(i?bt:0)),this.expect(r.parenL),s.params=this.parseBindingList(r.parenR,!1,this.options.ecmaVersion>=8),this.checkYieldAwaitInDefaultParams(),this.parseFunctionBody(s,!1,!0,!1),this.yieldPos=n,this.awaitPos=o,this.awaitIdentPos=p,this.finishNode(s,"FunctionExpression")},C.parseArrowExpression=function(e,t,i,s){var n=this.yieldPos,o=this.awaitPos,p=this.awaitIdentPos;return this.enterScope(Qe(i,!1)|gt),this.initFunction(e),this.options.ecmaVersion>=8&&(e.async=!!i),this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0,e.params=this.toAssignableList(t,!0),this.parseFunctionBody(e,!0,!1,s),this.yieldPos=n,this.awaitPos=o,this.awaitIdentPos=p,this.finishNode(e,"ArrowFunctionExpression")},C.parseFunctionBody=function(e,t,i,s){var n=t&&this.type!==r.braceL,o=this.strict,p=!1;if(n)e.body=this.parseMaybeAssign(s),e.expression=!0,this.checkParams(e,!1);else{var x=this.options.ecmaVersion>=7&&!this.isSimpleParamList(e.params);(!o||x)&&(p=this.strictDirective(this.end),p&&x&&this.raiseRecoverable(e.start,"Illegal 'use strict' directive in function with non-simple parameter list"));var g=this.labels;this.labels=[],p&&(this.strict=!0),this.checkParams(e,!o&&!p&&!t&&!i&&this.isSimpleParamList(e.params)),this.strict&&e.id&&this.checkLValSimple(e.id,Ct),e.body=this.parseBlock(!1,void 0,p&&!o),e.expression=!1,this.adaptDirectivePrologue(e.body.body),this.labels=g}this.exitScope()},C.isSimpleParamList=function(e){for(var t=0,i=e;t-1||n.functions.indexOf(e)>-1||n.var.indexOf(e)>-1,n.lexical.push(e),this.inModule&&n.flags&me&&delete this.undefinedExports[e]}else if(t===_t){var o=this.currentScope();o.lexical.push(e)}else if(t===St){var p=this.currentScope();this.treatFunctionsAsVar?s=p.lexical.indexOf(e)>-1:s=p.lexical.indexOf(e)>-1||p.var.indexOf(e)>-1,p.functions.push(e)}else for(var x=this.scopeStack.length-1;x>=0;--x){var g=this.scopeStack[x];if(g.lexical.indexOf(e)>-1&&!(g.flags&vt&&g.lexical[0]===e)||!this.treatFunctionsAsVarInScope(g)&&g.functions.indexOf(e)>-1){s=!0;break}if(g.var.push(e),this.inModule&&g.flags&me&&delete this.undefinedExports[e],g.flags&He)break}s&&this.raiseRecoverable(i,"Identifier '"+e+"' has already been declared")},ee.checkLocalExport=function(e){this.scopeStack[0].lexical.indexOf(e.name)===-1&&this.scopeStack[0].var.indexOf(e.name)===-1&&(this.undefinedExports[e.name]=e)},ee.currentScope=function(){return this.scopeStack[this.scopeStack.length-1]},ee.currentVarScope=function(){for(var e=this.scopeStack.length-1;;e--){var t=this.scopeStack[e];if(t.flags&He)return t}},ee.currentThisScope=function(){for(var e=this.scopeStack.length-1;;e--){var t=this.scopeStack[e];if(t.flags&He&&!(t.flags>))return t}};var ge=function(t,i,s){this.type="",this.start=i,this.end=0,t.options.locations&&(this.loc=new de(t,s)),t.options.directSourceFile&&(this.sourceFile=t.options.directSourceFile),t.options.ranges&&(this.range=[i,0])},ve=V.prototype;ve.startNode=function(){return new ge(this,this.start,this.startLoc)},ve.startNodeAt=function(e,t){return new ge(this,e,t)};function Et(e,t,i,s){return e.type=t,e.end=i,this.options.locations&&(e.loc.end=s),this.options.ranges&&(e.range[1]=i),e}ve.finishNode=function(e,t){return Et.call(this,e,t,this.lastTokEnd,this.lastTokEndLoc)},ve.finishNodeAt=function(e,t,i,s){return Et.call(this,e,t,i,s)},ve.copyNode=function(e){var t=new ge(this,e.start,this.startLoc);for(var i in e)t[i]=e[i];return t};var wt="ASCII ASCII_Hex_Digit AHex Alphabetic Alpha Any Assigned Bidi_Control Bidi_C Bidi_Mirrored Bidi_M Case_Ignorable CI Cased Changes_When_Casefolded CWCF Changes_When_Casemapped CWCM Changes_When_Lowercased CWL Changes_When_NFKC_Casefolded CWKCF Changes_When_Titlecased CWT Changes_When_Uppercased CWU Dash Default_Ignorable_Code_Point DI Deprecated Dep Diacritic Dia Emoji Emoji_Component Emoji_Modifier Emoji_Modifier_Base Emoji_Presentation Extender Ext Grapheme_Base Gr_Base Grapheme_Extend Gr_Ext Hex_Digit Hex IDS_Binary_Operator IDSB IDS_Trinary_Operator IDST ID_Continue IDC ID_Start IDS Ideographic Ideo Join_Control Join_C Logical_Order_Exception LOE Lowercase Lower Math Noncharacter_Code_Point NChar Pattern_Syntax Pat_Syn Pattern_White_Space Pat_WS Quotation_Mark QMark Radical Regional_Indicator RI Sentence_Terminal STerm Soft_Dotted SD Terminal_Punctuation Term Unified_Ideograph UIdeo Uppercase Upper Variation_Selector VS White_Space space XID_Continue XIDC XID_Start XIDS",At=wt+" Extended_Pictographic",Pt=At,It=Pt+" EBase EComp EMod EPres ExtPict",Nt=It,Li=Nt,Ri={9:wt,10:At,11:Pt,12:It,13:Nt,14:Li},Oi="Basic_Emoji Emoji_Keycap_Sequence RGI_Emoji_Modifier_Sequence RGI_Emoji_Flag_Sequence RGI_Emoji_Tag_Sequence RGI_Emoji_ZWJ_Sequence RGI_Emoji",Bi={9:"",10:"",11:"",12:"",13:"",14:Oi},Vt="Cased_Letter LC Close_Punctuation Pe Connector_Punctuation Pc Control Cc cntrl Currency_Symbol Sc Dash_Punctuation Pd Decimal_Number Nd digit Enclosing_Mark Me Final_Punctuation Pf Format Cf Initial_Punctuation Pi Letter L Letter_Number Nl Line_Separator Zl Lowercase_Letter Ll Mark M Combining_Mark Math_Symbol Sm Modifier_Letter Lm Modifier_Symbol Sk Nonspacing_Mark Mn Number N Open_Punctuation Ps Other C Other_Letter Lo Other_Number No Other_Punctuation Po Other_Symbol So Paragraph_Separator Zp Private_Use Co Punctuation P punct Separator Z Space_Separator Zs Spacing_Mark Mc Surrogate Cs Symbol S Titlecase_Letter Lt Unassigned Cn Uppercase_Letter Lu",Lt="Adlam Adlm Ahom Anatolian_Hieroglyphs Hluw Arabic Arab Armenian Armn Avestan Avst Balinese Bali Bamum Bamu Bassa_Vah Bass Batak Batk Bengali Beng Bhaiksuki Bhks Bopomofo Bopo Brahmi Brah Braille Brai Buginese Bugi Buhid Buhd Canadian_Aboriginal Cans Carian Cari Caucasian_Albanian Aghb Chakma Cakm Cham Cham Cherokee Cher Common Zyyy Coptic Copt Qaac Cuneiform Xsux Cypriot Cprt Cyrillic Cyrl Deseret Dsrt Devanagari Deva Duployan Dupl Egyptian_Hieroglyphs Egyp Elbasan Elba Ethiopic Ethi Georgian Geor Glagolitic Glag Gothic Goth Grantha Gran Greek Grek Gujarati Gujr Gurmukhi Guru Han Hani Hangul Hang Hanunoo Hano Hatran Hatr Hebrew Hebr Hiragana Hira Imperial_Aramaic Armi Inherited Zinh Qaai Inscriptional_Pahlavi Phli Inscriptional_Parthian Prti Javanese Java Kaithi Kthi Kannada Knda Katakana Kana Kayah_Li Kali Kharoshthi Khar Khmer Khmr Khojki Khoj Khudawadi Sind Lao Laoo Latin Latn Lepcha Lepc Limbu Limb Linear_A Lina Linear_B Linb Lisu Lisu Lycian Lyci Lydian Lydi Mahajani Mahj Malayalam Mlym Mandaic Mand Manichaean Mani Marchen Marc Masaram_Gondi Gonm Meetei_Mayek Mtei Mende_Kikakui Mend Meroitic_Cursive Merc Meroitic_Hieroglyphs Mero Miao Plrd Modi Mongolian Mong Mro Mroo Multani Mult Myanmar Mymr Nabataean Nbat New_Tai_Lue Talu Newa Newa Nko Nkoo Nushu Nshu Ogham Ogam Ol_Chiki Olck Old_Hungarian Hung Old_Italic Ital Old_North_Arabian Narb Old_Permic Perm Old_Persian Xpeo Old_South_Arabian Sarb Old_Turkic Orkh Oriya Orya Osage Osge Osmanya Osma Pahawh_Hmong Hmng Palmyrene Palm Pau_Cin_Hau Pauc Phags_Pa Phag Phoenician Phnx Psalter_Pahlavi Phlp Rejang Rjng Runic Runr Samaritan Samr Saurashtra Saur Sharada Shrd Shavian Shaw Siddham Sidd SignWriting Sgnw Sinhala Sinh Sora_Sompeng Sora Soyombo Soyo Sundanese Sund Syloti_Nagri Sylo Syriac Syrc Tagalog Tglg Tagbanwa Tagb Tai_Le Tale Tai_Tham Lana Tai_Viet Tavt Takri Takr Tamil Taml Tangut Tang Telugu Telu Thaana Thaa Thai Thai Tibetan Tibt Tifinagh Tfng Tirhuta Tirh Ugaritic Ugar Vai Vaii Warang_Citi Wara Yi Yiii Zanabazar_Square Zanb",Rt=Lt+" Dogra Dogr Gunjala_Gondi Gong Hanifi_Rohingya Rohg Makasar Maka Medefaidrin Medf Old_Sogdian Sogo Sogdian Sogd",Ot=Rt+" Elymaic Elym Nandinagari Nand Nyiakeng_Puachue_Hmong Hmnp Wancho Wcho",Bt=Ot+" Chorasmian Chrs Diak Dives_Akuru Khitan_Small_Script Kits Yezi Yezidi",Dt=Bt+" Cypro_Minoan Cpmn Old_Uyghur Ougr Tangsa Tnsa Toto Vithkuqi Vith",Di=Dt+" Hrkt Katakana_Or_Hiragana Kawi Nag_Mundari Nagm Unknown Zzzz",Fi={9:Lt,10:Rt,11:Ot,12:Bt,13:Dt,14:Di},Ft={};function ji(e){var t=Ft[e]={binary:$(Ri[e]+" "+Vt),binaryOfStrings:$(Bi[e]),nonBinary:{General_Category:$(Vt),Script:$(Fi[e])}};t.nonBinary.Script_Extensions=t.nonBinary.Script,t.nonBinary.gc=t.nonBinary.General_Category,t.nonBinary.sc=t.nonBinary.Script,t.nonBinary.scx=t.nonBinary.Script_Extensions}for(var et=0,jt=[9,10,11,12,13,14];et=6?"uy":"")+(t.options.ecmaVersion>=9?"s":"")+(t.options.ecmaVersion>=13?"d":"")+(t.options.ecmaVersion>=15?"v":""),this.unicodeProperties=Ft[t.options.ecmaVersion>=14?14:t.options.ecmaVersion],this.source="",this.flags="",this.start=0,this.switchU=!1,this.switchV=!1,this.switchN=!1,this.pos=0,this.lastIntValue=0,this.lastStringValue="",this.lastAssertionIsQuantifiable=!1,this.numCapturingParens=0,this.maxBackReference=0,this.groupNames=[],this.backReferenceNames=[]};W.prototype.reset=function(t,i,s){var n=s.indexOf("v")!==-1,o=s.indexOf("u")!==-1;this.start=t|0,this.source=i+"",this.flags=s,n&&this.parser.options.ecmaVersion>=15?(this.switchU=!0,this.switchV=!0,this.switchN=!0):(this.switchU=o&&this.parser.options.ecmaVersion>=6,this.switchV=!1,this.switchN=o&&this.parser.options.ecmaVersion>=9)},W.prototype.raise=function(t){this.parser.raiseRecoverable(this.start,"Invalid regular expression: /"+this.source+"/: "+t)},W.prototype.at=function(t,i){i===void 0&&(i=!1);var s=this.source,n=s.length;if(t>=n)return-1;var o=s.charCodeAt(t);if(!(i||this.switchU)||o<=55295||o>=57344||t+1>=n)return o;var p=s.charCodeAt(t+1);return p>=56320&&p<=57343?(o<<10)+p-56613888:o},W.prototype.nextIndex=function(t,i){i===void 0&&(i=!1);var s=this.source,n=s.length;if(t>=n)return n;var o=s.charCodeAt(t),p;return!(i||this.switchU)||o<=55295||o>=57344||t+1>=n||(p=s.charCodeAt(t+1))<56320||p>57343?t+1:t+2},W.prototype.current=function(t){return t===void 0&&(t=!1),this.at(this.pos,t)},W.prototype.lookahead=function(t){return t===void 0&&(t=!1),this.at(this.nextIndex(this.pos,t),t)},W.prototype.advance=function(t){t===void 0&&(t=!1),this.pos=this.nextIndex(this.pos,t)},W.prototype.eat=function(t,i){return i===void 0&&(i=!1),this.current(i)===t?(this.advance(i),!0):!1},W.prototype.eatChars=function(t,i){i===void 0&&(i=!1);for(var s=this.pos,n=0,o=t;n-1&&this.raise(e.start,"Duplicate regular expression flag"),p==="u"&&(s=!0),p==="v"&&(n=!0)}this.options.ecmaVersion>=15&&s&&n&&this.raise(e.start,"Invalid regular expression flag")},v.validateRegExpPattern=function(e){this.regexp_pattern(e),!e.switchN&&this.options.ecmaVersion>=9&&e.groupNames.length>0&&(e.switchN=!0,this.regexp_pattern(e))},v.regexp_pattern=function(e){e.pos=0,e.lastIntValue=0,e.lastStringValue="",e.lastAssertionIsQuantifiable=!1,e.numCapturingParens=0,e.maxBackReference=0,e.groupNames.length=0,e.backReferenceNames.length=0,this.regexp_disjunction(e),e.pos!==e.source.length&&(e.eat(41)&&e.raise("Unmatched ')'"),(e.eat(93)||e.eat(125))&&e.raise("Lone quantifier brackets")),e.maxBackReference>e.numCapturingParens&&e.raise("Invalid escape");for(var t=0,i=e.backReferenceNames;t=9&&(i=e.eat(60)),e.eat(61)||e.eat(33))return this.regexp_disjunction(e),e.eat(41)||e.raise("Unterminated group"),e.lastAssertionIsQuantifiable=!i,!0}return e.pos=t,!1},v.regexp_eatQuantifier=function(e,t){return t===void 0&&(t=!1),this.regexp_eatQuantifierPrefix(e,t)?(e.eat(63),!0):!1},v.regexp_eatQuantifierPrefix=function(e,t){return e.eat(42)||e.eat(43)||e.eat(63)||this.regexp_eatBracedQuantifier(e,t)},v.regexp_eatBracedQuantifier=function(e,t){var i=e.pos;if(e.eat(123)){var s=0,n=-1;if(this.regexp_eatDecimalDigits(e)&&(s=e.lastIntValue,e.eat(44)&&this.regexp_eatDecimalDigits(e)&&(n=e.lastIntValue),e.eat(125)))return n!==-1&&n=9?this.regexp_groupSpecifier(e):e.current()===63&&e.raise("Invalid group"),this.regexp_disjunction(e),e.eat(41))return e.numCapturingParens+=1,!0;e.raise("Unterminated group")}return!1},v.regexp_eatExtendedAtom=function(e){return e.eat(46)||this.regexp_eatReverseSolidusAtomEscape(e)||this.regexp_eatCharacterClass(e)||this.regexp_eatUncapturingGroup(e)||this.regexp_eatCapturingGroup(e)||this.regexp_eatInvalidBracedQuantifier(e)||this.regexp_eatExtendedPatternCharacter(e)},v.regexp_eatInvalidBracedQuantifier=function(e){return this.regexp_eatBracedQuantifier(e,!0)&&e.raise("Nothing to repeat"),!1},v.regexp_eatSyntaxCharacter=function(e){var t=e.current();return Mt(t)?(e.lastIntValue=t,e.advance(),!0):!1};function Mt(e){return e===36||e>=40&&e<=43||e===46||e===63||e>=91&&e<=94||e>=123&&e<=125}v.regexp_eatPatternCharacters=function(e){for(var t=e.pos,i=0;(i=e.current())!==-1&&!Mt(i);)e.advance();return e.pos!==t},v.regexp_eatExtendedPatternCharacter=function(e){var t=e.current();return t!==-1&&t!==36&&!(t>=40&&t<=43)&&t!==46&&t!==63&&t!==91&&t!==94&&t!==124?(e.advance(),!0):!1},v.regexp_groupSpecifier=function(e){if(e.eat(63)){if(this.regexp_eatGroupName(e)){e.groupNames.indexOf(e.lastStringValue)!==-1&&e.raise("Duplicate capture group name"),e.groupNames.push(e.lastStringValue);return}e.raise("Invalid group")}},v.regexp_eatGroupName=function(e){if(e.lastStringValue="",e.eat(60)){if(this.regexp_eatRegExpIdentifierName(e)&&e.eat(62))return!0;e.raise("Invalid capture group name")}return!1},v.regexp_eatRegExpIdentifierName=function(e){if(e.lastStringValue="",this.regexp_eatRegExpIdentifierStart(e)){for(e.lastStringValue+=Z(e.lastIntValue);this.regexp_eatRegExpIdentifierPart(e);)e.lastStringValue+=Z(e.lastIntValue);return!0}return!1},v.regexp_eatRegExpIdentifierStart=function(e){var t=e.pos,i=this.options.ecmaVersion>=11,s=e.current(i);return e.advance(i),s===92&&this.regexp_eatRegExpUnicodeEscapeSequence(e,i)&&(s=e.lastIntValue),Ui(s)?(e.lastIntValue=s,!0):(e.pos=t,!1)};function Ui(e){return F(e,!0)||e===36||e===95}v.regexp_eatRegExpIdentifierPart=function(e){var t=e.pos,i=this.options.ecmaVersion>=11,s=e.current(i);return e.advance(i),s===92&&this.regexp_eatRegExpUnicodeEscapeSequence(e,i)&&(s=e.lastIntValue),qi(s)?(e.lastIntValue=s,!0):(e.pos=t,!1)};function qi(e){return d(e,!0)||e===36||e===95||e===8204||e===8205}v.regexp_eatAtomEscape=function(e){return this.regexp_eatBackReference(e)||this.regexp_eatCharacterClassEscape(e)||this.regexp_eatCharacterEscape(e)||e.switchN&&this.regexp_eatKGroupName(e)?!0:(e.switchU&&(e.current()===99&&e.raise("Invalid unicode escape"),e.raise("Invalid escape")),!1)},v.regexp_eatBackReference=function(e){var t=e.pos;if(this.regexp_eatDecimalEscape(e)){var i=e.lastIntValue;if(e.switchU)return i>e.maxBackReference&&(e.maxBackReference=i),!0;if(i<=e.numCapturingParens)return!0;e.pos=t}return!1},v.regexp_eatKGroupName=function(e){if(e.eat(107)){if(this.regexp_eatGroupName(e))return e.backReferenceNames.push(e.lastStringValue),!0;e.raise("Invalid named reference")}return!1},v.regexp_eatCharacterEscape=function(e){return this.regexp_eatControlEscape(e)||this.regexp_eatCControlLetter(e)||this.regexp_eatZero(e)||this.regexp_eatHexEscapeSequence(e)||this.regexp_eatRegExpUnicodeEscapeSequence(e,!1)||!e.switchU&&this.regexp_eatLegacyOctalEscapeSequence(e)||this.regexp_eatIdentityEscape(e)},v.regexp_eatCControlLetter=function(e){var t=e.pos;if(e.eat(99)){if(this.regexp_eatControlLetter(e))return!0;e.pos=t}return!1},v.regexp_eatZero=function(e){return e.current()===48&&!Le(e.lookahead())?(e.lastIntValue=0,e.advance(),!0):!1},v.regexp_eatControlEscape=function(e){var t=e.current();return t===116?(e.lastIntValue=9,e.advance(),!0):t===110?(e.lastIntValue=10,e.advance(),!0):t===118?(e.lastIntValue=11,e.advance(),!0):t===102?(e.lastIntValue=12,e.advance(),!0):t===114?(e.lastIntValue=13,e.advance(),!0):!1},v.regexp_eatControlLetter=function(e){var t=e.current();return Ut(t)?(e.lastIntValue=t%32,e.advance(),!0):!1};function Ut(e){return e>=65&&e<=90||e>=97&&e<=122}v.regexp_eatRegExpUnicodeEscapeSequence=function(e,t){t===void 0&&(t=!1);var i=e.pos,s=t||e.switchU;if(e.eat(117)){if(this.regexp_eatFixedHexDigits(e,4)){var n=e.lastIntValue;if(s&&n>=55296&&n<=56319){var o=e.pos;if(e.eat(92)&&e.eat(117)&&this.regexp_eatFixedHexDigits(e,4)){var p=e.lastIntValue;if(p>=56320&&p<=57343)return e.lastIntValue=(n-55296)*1024+(p-56320)+65536,!0}e.pos=o,e.lastIntValue=n}return!0}if(s&&e.eat(123)&&this.regexp_eatHexDigits(e)&&e.eat(125)&&Ki(e.lastIntValue))return!0;s&&e.raise("Invalid unicode escape"),e.pos=i}return!1};function Ki(e){return e>=0&&e<=1114111}v.regexp_eatIdentityEscape=function(e){if(e.switchU)return this.regexp_eatSyntaxCharacter(e)?!0:e.eat(47)?(e.lastIntValue=47,!0):!1;var t=e.current();return t!==99&&(!e.switchN||t!==107)?(e.lastIntValue=t,e.advance(),!0):!1},v.regexp_eatDecimalEscape=function(e){e.lastIntValue=0;var t=e.current();if(t>=49&&t<=57){do e.lastIntValue=10*e.lastIntValue+(t-48),e.advance();while((t=e.current())>=48&&t<=57);return!0}return!1};var qt=0,Y=1,J=2;v.regexp_eatCharacterClassEscape=function(e){var t=e.current();if(Ji(t))return e.lastIntValue=-1,e.advance(),Y;var i=!1;if(e.switchU&&this.options.ecmaVersion>=9&&((i=t===80)||t===112)){e.lastIntValue=-1,e.advance();var s;if(e.eat(123)&&(s=this.regexp_eatUnicodePropertyValueExpression(e))&&e.eat(125))return i&&s===J&&e.raise("Invalid property name"),s;e.raise("Invalid property name")}return qt};function Ji(e){return e===100||e===68||e===115||e===83||e===119||e===87}v.regexp_eatUnicodePropertyValueExpression=function(e){var t=e.pos;if(this.regexp_eatUnicodePropertyName(e)&&e.eat(61)){var i=e.lastStringValue;if(this.regexp_eatUnicodePropertyValue(e)){var s=e.lastStringValue;return this.regexp_validateUnicodePropertyNameAndValue(e,i,s),Y}}if(e.pos=t,this.regexp_eatLoneUnicodePropertyNameOrValue(e)){var n=e.lastStringValue;return this.regexp_validateUnicodePropertyNameOrValue(e,n)}return qt},v.regexp_validateUnicodePropertyNameAndValue=function(e,t,i){fe(e.unicodeProperties.nonBinary,t)||e.raise("Invalid property name"),e.unicodeProperties.nonBinary[t].test(i)||e.raise("Invalid property value")},v.regexp_validateUnicodePropertyNameOrValue=function(e,t){if(e.unicodeProperties.binary.test(t))return Y;if(e.switchV&&e.unicodeProperties.binaryOfStrings.test(t))return J;e.raise("Invalid property name")},v.regexp_eatUnicodePropertyName=function(e){var t=0;for(e.lastStringValue="";Kt(t=e.current());)e.lastStringValue+=Z(t),e.advance();return e.lastStringValue!==""};function Kt(e){return Ut(e)||e===95}v.regexp_eatUnicodePropertyValue=function(e){var t=0;for(e.lastStringValue="";Gi(t=e.current());)e.lastStringValue+=Z(t),e.advance();return e.lastStringValue!==""};function Gi(e){return Kt(e)||Le(e)}v.regexp_eatLoneUnicodePropertyNameOrValue=function(e){return this.regexp_eatUnicodePropertyValue(e)},v.regexp_eatCharacterClass=function(e){if(e.eat(91)){var t=e.eat(94),i=this.regexp_classContents(e);return e.eat(93)||e.raise("Unterminated character class"),t&&i===J&&e.raise("Negated character class may contain strings"),!0}return!1},v.regexp_classContents=function(e){return e.current()===93?Y:e.switchV?this.regexp_classSetExpression(e):(this.regexp_nonEmptyClassRanges(e),Y)},v.regexp_nonEmptyClassRanges=function(e){for(;this.regexp_eatClassAtom(e);){var t=e.lastIntValue;if(e.eat(45)&&this.regexp_eatClassAtom(e)){var i=e.lastIntValue;e.switchU&&(t===-1||i===-1)&&e.raise("Invalid character class"),t!==-1&&i!==-1&&t>i&&e.raise("Range out of order in character class")}}},v.regexp_eatClassAtom=function(e){var t=e.pos;if(e.eat(92)){if(this.regexp_eatClassEscape(e))return!0;if(e.switchU){var i=e.current();(i===99||zt(i))&&e.raise("Invalid class escape"),e.raise("Invalid escape")}e.pos=t}var s=e.current();return s!==93?(e.lastIntValue=s,e.advance(),!0):!1},v.regexp_eatClassEscape=function(e){var t=e.pos;if(e.eat(98))return e.lastIntValue=8,!0;if(e.switchU&&e.eat(45))return e.lastIntValue=45,!0;if(!e.switchU&&e.eat(99)){if(this.regexp_eatClassControlLetter(e))return!0;e.pos=t}return this.regexp_eatCharacterClassEscape(e)||this.regexp_eatCharacterEscape(e)},v.regexp_classSetExpression=function(e){var t=Y,i;if(!this.regexp_eatClassSetRange(e))if(i=this.regexp_eatClassSetOperand(e)){i===J&&(t=J);for(var s=e.pos;e.eatChars([38,38]);){if(e.current()!==38&&(i=this.regexp_eatClassSetOperand(e))){i!==J&&(t=Y);continue}e.raise("Invalid character in character class")}if(s!==e.pos)return t;for(;e.eatChars([45,45]);)this.regexp_eatClassSetOperand(e)||e.raise("Invalid character in character class");if(s!==e.pos)return t}else e.raise("Invalid character in character class");for(;;)if(!this.regexp_eatClassSetRange(e)){if(i=this.regexp_eatClassSetOperand(e),!i)return t;i===J&&(t=J)}},v.regexp_eatClassSetRange=function(e){var t=e.pos;if(this.regexp_eatClassSetCharacter(e)){var i=e.lastIntValue;if(e.eat(45)&&this.regexp_eatClassSetCharacter(e)){var s=e.lastIntValue;return i!==-1&&s!==-1&&i>s&&e.raise("Range out of order in character class"),!0}e.pos=t}return!1},v.regexp_eatClassSetOperand=function(e){return this.regexp_eatClassSetCharacter(e)?Y:this.regexp_eatClassStringDisjunction(e)||this.regexp_eatNestedClass(e)},v.regexp_eatNestedClass=function(e){var t=e.pos;if(e.eat(91)){var i=e.eat(94),s=this.regexp_classContents(e);if(e.eat(93))return i&&s===J&&e.raise("Negated character class may contain strings"),s;e.pos=t}if(e.eat(92)){var n=this.regexp_eatCharacterClassEscape(e);if(n)return n;e.pos=t}return null},v.regexp_eatClassStringDisjunction=function(e){var t=e.pos;if(e.eatChars([92,113])){if(e.eat(123)){var i=this.regexp_classStringDisjunctionContents(e);if(e.eat(125))return i}else e.raise("Invalid escape");e.pos=t}return null},v.regexp_classStringDisjunctionContents=function(e){for(var t=this.regexp_classString(e);e.eat(124);)this.regexp_classString(e)===J&&(t=J);return t},v.regexp_classString=function(e){for(var t=0;this.regexp_eatClassSetCharacter(e);)t++;return t===1?Y:J},v.regexp_eatClassSetCharacter=function(e){var t=e.pos;if(e.eat(92))return this.regexp_eatCharacterEscape(e)||this.regexp_eatClassSetReservedPunctuator(e)?!0:e.eat(98)?(e.lastIntValue=8,!0):(e.pos=t,!1);var i=e.current();return i<0||i===e.lookahead()&&zi(i)||Wi(i)?!1:(e.advance(),e.lastIntValue=i,!0)};function zi(e){return e===33||e>=35&&e<=38||e>=42&&e<=44||e===46||e>=58&&e<=64||e===94||e===96||e===126}function Wi(e){return e===40||e===41||e===45||e===47||e>=91&&e<=93||e>=123&&e<=125}v.regexp_eatClassSetReservedPunctuator=function(e){var t=e.current();return Xi(t)?(e.lastIntValue=t,e.advance(),!0):!1};function Xi(e){return e===33||e===35||e===37||e===38||e===44||e===45||e>=58&&e<=62||e===64||e===96||e===126}v.regexp_eatClassControlLetter=function(e){var t=e.current();return Le(t)||t===95?(e.lastIntValue=t%32,e.advance(),!0):!1},v.regexp_eatHexEscapeSequence=function(e){var t=e.pos;if(e.eat(120)){if(this.regexp_eatFixedHexDigits(e,2))return!0;e.switchU&&e.raise("Invalid escape"),e.pos=t}return!1},v.regexp_eatDecimalDigits=function(e){var t=e.pos,i=0;for(e.lastIntValue=0;Le(i=e.current());)e.lastIntValue=10*e.lastIntValue+(i-48),e.advance();return e.pos!==t};function Le(e){return e>=48&&e<=57}v.regexp_eatHexDigits=function(e){var t=e.pos,i=0;for(e.lastIntValue=0;Jt(i=e.current());)e.lastIntValue=16*e.lastIntValue+Gt(i),e.advance();return e.pos!==t};function Jt(e){return e>=48&&e<=57||e>=65&&e<=70||e>=97&&e<=102}function Gt(e){return e>=65&&e<=70?10+(e-65):e>=97&&e<=102?10+(e-97):e-48}v.regexp_eatLegacyOctalEscapeSequence=function(e){if(this.regexp_eatOctalDigit(e)){var t=e.lastIntValue;if(this.regexp_eatOctalDigit(e)){var i=e.lastIntValue;t<=3&&this.regexp_eatOctalDigit(e)?e.lastIntValue=t*64+i*8+e.lastIntValue:e.lastIntValue=t*8+i}else e.lastIntValue=t;return!0}return!1},v.regexp_eatOctalDigit=function(e){var t=e.current();return zt(t)?(e.lastIntValue=t-48,e.advance(),!0):(e.lastIntValue=0,!1)};function zt(e){return e>=48&&e<=55}v.regexp_eatFixedHexDigits=function(e,t){var i=e.pos;e.lastIntValue=0;for(var s=0;s=this.input.length)return this.finishToken(r.eof);if(e.override)return e.override(this);this.readToken(this.fullCharCodeAtPos())},A.readToken=function(e){return F(e,this.options.ecmaVersion>=6)||e===92?this.readWord():this.getTokenFromCode(e)},A.fullCharCodeAtPos=function(){var e=this.input.charCodeAt(this.pos);if(e<=55295||e>=56320)return e;var t=this.input.charCodeAt(this.pos+1);return t<=56319||t>=57344?e:(e<<10)+t-56613888},A.skipBlockComment=function(){var e=this.options.onComment&&this.curPosition(),t=this.pos,i=this.input.indexOf("*/",this.pos+=2);if(i===-1&&this.raise(this.pos-2,"Unterminated comment"),this.pos=i+2,this.options.locations)for(var s=void 0,n=t;(s=ft(this.input,n,this.pos))>-1;)++this.curLine,n=this.lineStart=s;this.options.onComment&&this.options.onComment(!0,this.input.slice(t+2,i),t,this.pos,e,this.curPosition())},A.skipLineComment=function(e){for(var t=this.pos,i=this.options.onComment&&this.curPosition(),s=this.input.charCodeAt(this.pos+=e);this.pos8&&e<14||e>=5760&&Ge.test(String.fromCharCode(e)))++this.pos;else break e}}},A.finishToken=function(e,t){this.end=this.pos,this.options.locations&&(this.endLoc=this.curPosition());var i=this.type;this.type=e,this.value=t,this.updateContext(i)},A.readToken_dot=function(){var e=this.input.charCodeAt(this.pos+1);if(e>=48&&e<=57)return this.readNumber(!0);var t=this.input.charCodeAt(this.pos+2);return this.options.ecmaVersion>=6&&e===46&&t===46?(this.pos+=3,this.finishToken(r.ellipsis)):(++this.pos,this.finishToken(r.dot))},A.readToken_slash=function(){var e=this.input.charCodeAt(this.pos+1);return this.exprAllowed?(++this.pos,this.readRegexp()):e===61?this.finishOp(r.assign,2):this.finishOp(r.slash,1)},A.readToken_mult_modulo_exp=function(e){var t=this.input.charCodeAt(this.pos+1),i=1,s=e===42?r.star:r.modulo;return this.options.ecmaVersion>=7&&e===42&&t===42&&(++i,s=r.starstar,t=this.input.charCodeAt(this.pos+2)),t===61?this.finishOp(r.assign,i+1):this.finishOp(s,i)},A.readToken_pipe_amp=function(e){var t=this.input.charCodeAt(this.pos+1);if(t===e){if(this.options.ecmaVersion>=12){var i=this.input.charCodeAt(this.pos+2);if(i===61)return this.finishOp(r.assign,3)}return this.finishOp(e===124?r.logicalOR:r.logicalAND,2)}return t===61?this.finishOp(r.assign,2):this.finishOp(e===124?r.bitwiseOR:r.bitwiseAND,1)},A.readToken_caret=function(){var e=this.input.charCodeAt(this.pos+1);return e===61?this.finishOp(r.assign,2):this.finishOp(r.bitwiseXOR,1)},A.readToken_plus_min=function(e){var t=this.input.charCodeAt(this.pos+1);return t===e?t===45&&!this.inModule&&this.input.charCodeAt(this.pos+2)===62&&(this.lastTokEnd===0||j.test(this.input.slice(this.lastTokEnd,this.pos)))?(this.skipLineComment(3),this.skipSpace(),this.nextToken()):this.finishOp(r.incDec,2):t===61?this.finishOp(r.assign,2):this.finishOp(r.plusMin,1)},A.readToken_lt_gt=function(e){var t=this.input.charCodeAt(this.pos+1),i=1;return t===e?(i=e===62&&this.input.charCodeAt(this.pos+2)===62?3:2,this.input.charCodeAt(this.pos+i)===61?this.finishOp(r.assign,i+1):this.finishOp(r.bitShift,i)):t===33&&e===60&&!this.inModule&&this.input.charCodeAt(this.pos+2)===45&&this.input.charCodeAt(this.pos+3)===45?(this.skipLineComment(4),this.skipSpace(),this.nextToken()):(t===61&&(i=2),this.finishOp(r.relational,i))},A.readToken_eq_excl=function(e){var t=this.input.charCodeAt(this.pos+1);return t===61?this.finishOp(r.equality,this.input.charCodeAt(this.pos+2)===61?3:2):e===61&&t===62&&this.options.ecmaVersion>=6?(this.pos+=2,this.finishToken(r.arrow)):this.finishOp(e===61?r.eq:r.prefix,1)},A.readToken_question=function(){var e=this.options.ecmaVersion;if(e>=11){var t=this.input.charCodeAt(this.pos+1);if(t===46){var i=this.input.charCodeAt(this.pos+2);if(i<48||i>57)return this.finishOp(r.questionDot,2)}if(t===63){if(e>=12){var s=this.input.charCodeAt(this.pos+2);if(s===61)return this.finishOp(r.assign,3)}return this.finishOp(r.coalesce,2)}}return this.finishOp(r.question,1)},A.readToken_numberSign=function(){var e=this.options.ecmaVersion,t=35;if(e>=13&&(++this.pos,t=this.fullCharCodeAtPos(),F(t,!0)||t===92))return this.finishToken(r.privateId,this.readWord1());this.raise(this.pos,"Unexpected character '"+Z(t)+"'")},A.getTokenFromCode=function(e){switch(e){case 46:return this.readToken_dot();case 40:return++this.pos,this.finishToken(r.parenL);case 41:return++this.pos,this.finishToken(r.parenR);case 59:return++this.pos,this.finishToken(r.semi);case 44:return++this.pos,this.finishToken(r.comma);case 91:return++this.pos,this.finishToken(r.bracketL);case 93:return++this.pos,this.finishToken(r.bracketR);case 123:return++this.pos,this.finishToken(r.braceL);case 125:return++this.pos,this.finishToken(r.braceR);case 58:return++this.pos,this.finishToken(r.colon);case 96:if(this.options.ecmaVersion<6)break;return++this.pos,this.finishToken(r.backQuote);case 48:var t=this.input.charCodeAt(this.pos+1);if(t===120||t===88)return this.readRadixNumber(16);if(this.options.ecmaVersion>=6){if(t===111||t===79)return this.readRadixNumber(8);if(t===98||t===66)return this.readRadixNumber(2)}case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:return this.readNumber(!1);case 34:case 39:return this.readString(e);case 47:return this.readToken_slash();case 37:case 42:return this.readToken_mult_modulo_exp(e);case 124:case 38:return this.readToken_pipe_amp(e);case 94:return this.readToken_caret();case 43:case 45:return this.readToken_plus_min(e);case 60:case 62:return this.readToken_lt_gt(e);case 61:case 33:return this.readToken_eq_excl(e);case 63:return this.readToken_question();case 126:return this.finishOp(r.prefix,1);case 35:return this.readToken_numberSign()}this.raise(this.pos,"Unexpected character '"+Z(e)+"'")},A.finishOp=function(e,t){var i=this.input.slice(this.pos,this.pos+t);return this.pos+=t,this.finishToken(e,i)},A.readRegexp=function(){for(var e,t,i=this.pos;;){this.pos>=this.input.length&&this.raise(i,"Unterminated regular expression");var s=this.input.charAt(this.pos);if(j.test(s)&&this.raise(i,"Unterminated regular expression"),e)e=!1;else{if(s==="[")t=!0;else if(s==="]"&&t)t=!1;else if(s==="/"&&!t)break;e=s==="\\"}++this.pos}var n=this.input.slice(i,this.pos);++this.pos;var o=this.pos,p=this.readWord1();this.containsEsc&&this.unexpected(o);var x=this.regexpState||(this.regexpState=new W(this));x.reset(i,n,p),this.validateRegExpFlags(x),this.validateRegExpPattern(x);var g=null;try{g=new RegExp(n,p)}catch{}return this.finishToken(r.regexp,{pattern:n,flags:p,value:g})},A.readInt=function(e,t,i){for(var s=this.options.ecmaVersion>=12&&t===void 0,n=i&&this.input.charCodeAt(this.pos)===48,o=this.pos,p=0,x=0,g=0,T=t??1/0;g=97?R=w-97+10:w>=65?R=w-65+10:w>=48&&w<=57?R=w-48:R=1/0,R>=e)break;x=w,p=p*e+R}return s&&x===95&&this.raiseRecoverable(this.pos-1,"Numeric separator is not allowed at the last of digits"),this.pos===o||t!=null&&this.pos-o!==t?null:p};function Hi(e,t){return t?parseInt(e,8):parseFloat(e.replace(/_/g,""))}function Wt(e){return typeof BigInt!="function"?null:BigInt(e.replace(/_/g,""))}A.readRadixNumber=function(e){var t=this.pos;this.pos+=2;var i=this.readInt(e);return i==null&&this.raise(this.start+2,"Expected number in radix "+e),this.options.ecmaVersion>=11&&this.input.charCodeAt(this.pos)===110?(i=Wt(this.input.slice(t,this.pos)),++this.pos):F(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number"),this.finishToken(r.num,i)},A.readNumber=function(e){var t=this.pos;!e&&this.readInt(10,void 0,!0)===null&&this.raise(t,"Invalid number");var i=this.pos-t>=2&&this.input.charCodeAt(t)===48;i&&this.strict&&this.raise(t,"Invalid number");var s=this.input.charCodeAt(this.pos);if(!i&&!e&&this.options.ecmaVersion>=11&&s===110){var n=Wt(this.input.slice(t,this.pos));return++this.pos,F(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number"),this.finishToken(r.num,n)}i&&/[89]/.test(this.input.slice(t,this.pos))&&(i=!1),s===46&&!i&&(++this.pos,this.readInt(10),s=this.input.charCodeAt(this.pos)),(s===69||s===101)&&!i&&(s=this.input.charCodeAt(++this.pos),(s===43||s===45)&&++this.pos,this.readInt(10)===null&&this.raise(t,"Invalid number")),F(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number");var o=Hi(this.input.slice(t,this.pos),i);return this.finishToken(r.num,o)},A.readCodePoint=function(){var e=this.input.charCodeAt(this.pos),t;if(e===123){this.options.ecmaVersion<6&&this.unexpected();var i=++this.pos;t=this.readHexChar(this.input.indexOf("}",this.pos)-this.pos),++this.pos,t>1114111&&this.invalidStringToken(i,"Code point out of bounds")}else t=this.readHexChar(4);return t},A.readString=function(e){for(var t="",i=++this.pos;;){this.pos>=this.input.length&&this.raise(this.start,"Unterminated string constant");var s=this.input.charCodeAt(this.pos);if(s===e)break;s===92?(t+=this.input.slice(i,this.pos),t+=this.readEscapedChar(!1),i=this.pos):s===8232||s===8233?(this.options.ecmaVersion<10&&this.raise(this.start,"Unterminated string constant"),++this.pos,this.options.locations&&(this.curLine++,this.lineStart=this.pos)):(te(s)&&this.raise(this.start,"Unterminated string constant"),++this.pos)}return t+=this.input.slice(i,this.pos++),this.finishToken(r.string,t)};var Xt={};A.tryReadTemplateToken=function(){this.inTemplateElement=!0;try{this.readTmplToken()}catch(e){if(e===Xt)this.readInvalidTemplateToken();else throw e}this.inTemplateElement=!1},A.invalidStringToken=function(e,t){if(this.inTemplateElement&&this.options.ecmaVersion>=9)throw Xt;this.raise(e,t)},A.readTmplToken=function(){for(var e="",t=this.pos;;){this.pos>=this.input.length&&this.raise(this.start,"Unterminated template");var i=this.input.charCodeAt(this.pos);if(i===96||i===36&&this.input.charCodeAt(this.pos+1)===123)return this.pos===this.start&&(this.type===r.template||this.type===r.invalidTemplate)?i===36?(this.pos+=2,this.finishToken(r.dollarBraceL)):(++this.pos,this.finishToken(r.backQuote)):(e+=this.input.slice(t,this.pos),this.finishToken(r.template,e));if(i===92)e+=this.input.slice(t,this.pos),e+=this.readEscapedChar(!0),t=this.pos;else if(te(i)){switch(e+=this.input.slice(t,this.pos),++this.pos,i){case 13:this.input.charCodeAt(this.pos)===10&&++this.pos;case 10:e+=` -`;break;default:e+=String.fromCharCode(i);break}this.options.locations&&(++this.curLine,this.lineStart=this.pos),t=this.pos}else++this.pos}},A.readInvalidTemplateToken=function(){for(;this.pos=48&&t<=55){var s=this.input.substr(this.pos-1,3).match(/^[0-7]+/)[0],n=parseInt(s,8);return n>255&&(s=s.slice(0,-1),n=parseInt(s,8)),this.pos+=s.length-1,t=this.input.charCodeAt(this.pos),(s!=="0"||t===56||t===57)&&(this.strict||e)&&this.invalidStringToken(this.pos-1-s.length,e?"Octal literal in template string":"Octal literal in strict mode"),String.fromCharCode(n)}return te(t)?"":String.fromCharCode(t)}},A.readHexChar=function(e){var t=this.pos,i=this.readInt(16,e);return i===null&&this.invalidStringToken(t,"Bad character escape sequence"),i},A.readWord1=function(){this.containsEsc=!1;for(var e="",t=!0,i=this.pos,s=this.options.ecmaVersion>=6;this.pos{fi.exports={}});var ot=Se((ta,nt)=>{"use strict";var Ls=di(),Rs=/^[\da-fA-F]+$/,Os=/^\d+$/,mi=new WeakMap;function xi(a){a=a.Parser.acorn||a;let u=mi.get(a);if(!u){let c=a.tokTypes,h=a.TokContext,l=a.TokenType,f=new h("...",!0,!0),L={tc_oTag:f,tc_cTag:m,tc_expr:_},P={jsxName:new l("jsxName"),jsxText:new l("jsxText",{beforeExpr:!0}),jsxTagStart:new l("jsxTagStart",{startsExpr:!0}),jsxTagEnd:new l("jsxTagEnd")};P.jsxTagStart.updateContext=function(){this.context.push(_),this.context.push(f),this.exprAllowed=!1},P.jsxTagEnd.updateContext=function(D){let G=this.context.pop();G===f&&D===c.slash||G===m?(this.context.pop(),this.exprAllowed=this.curContext()===_):this.exprAllowed=!0},u={tokContexts:L,tokTypes:P},mi.set(a,u)}return u}function we(a){if(!a)return a;if(a.type==="JSXIdentifier")return a.name;if(a.type==="JSXNamespacedName")return a.namespace.name+":"+a.name.name;if(a.type==="JSXMemberExpression")return we(a.object)+"."+we(a.property)}nt.exports=function(a){return a=a||{},function(u){return Bs({allowNamespaces:a.allowNamespaces!==!1,allowNamespacedObjects:!!a.allowNamespacedObjects},u)}};Object.defineProperty(nt.exports,"tokTypes",{get:function(){return xi(Ee()).tokTypes},configurable:!0,enumerable:!0});function Bs(a,u){let c=u.acorn||Ee(),h=xi(c),l=c.tokTypes,f=h.tokTypes,m=c.tokContexts,_=h.tokContexts.tc_oTag,L=h.tokContexts.tc_cTag,P=h.tokContexts.tc_expr,D=c.isNewLine,G=c.isIdentifierStart,F=c.isIdentifierChar;return class extends u{static get acornJsx(){return h}jsx_readToken(){let d="",y=this.pos;for(;;){this.pos>=this.input.length&&this.raise(this.start,"Unterminated JSX contents");let b=this.input.charCodeAt(this.pos);switch(b){case 60:case 123:return this.pos===this.start?b===60&&this.exprAllowed?(++this.pos,this.finishToken(f.jsxTagStart)):this.getTokenFromCode(b):(d+=this.input.slice(y,this.pos),this.finishToken(f.jsxText,d));case 38:d+=this.input.slice(y,this.pos),d+=this.jsx_readEntity(),y=this.pos;break;case 62:case 125:this.raise(this.pos,"Unexpected token `"+this.input[this.pos]+"`. Did you mean `"+(b===62?">":"}")+'` or `{"'+this.input[this.pos]+'"}`?');default:D(b)?(d+=this.input.slice(y,this.pos),d+=this.jsx_readNewLine(!0),y=this.pos):++this.pos}}}jsx_readNewLine(d){let y=this.input.charCodeAt(this.pos),b;return++this.pos,y===13&&this.input.charCodeAt(this.pos)===10?(++this.pos,b=d?` +(function(n){function e(){var i=n();return i.default||i}if(typeof exports=="object"&&typeof module=="object")module.exports=e();else if(typeof define=="function"&&define.amd)define(e);else{var t=typeof globalThis<"u"?globalThis:typeof global<"u"?global:typeof self<"u"?self:this||{};t.prettierPlugins=t.prettierPlugins||{},t.prettierPlugins.acorn=e()}})(function(){"use strict";var di=Object.create;var ce=Object.defineProperty;var mi=Object.getOwnPropertyDescriptor;var xi=Object.getOwnPropertyNames;var yi=Object.getPrototypeOf,gi=Object.prototype.hasOwnProperty;var $e=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),vi=(e,t)=>{for(var i in t)ce(e,i,{get:t[i],enumerable:!0})},Ze=(e,t,i,s)=>{if(t&&typeof t=="object"||typeof t=="function")for(let r of xi(t))!gi.call(e,r)&&r!==i&&ce(e,r,{get:()=>t[r],enumerable:!(s=mi(t,r))||s.enumerable});return e};var et=(e,t,i)=>(i=e!=null?di(yi(e)):{},Ze(t||!e||!e.__esModule?ce(i,"default",{value:e,enumerable:!0}):i,e)),bi=e=>Ze(ce({},"__esModule",{value:!0}),e);var Jt=$e((zs,qt)=>{qt.exports={}});var Ge=$e((Qs,Je)=>{"use strict";var rs=Jt(),as=/^[\da-fA-F]+$/,ns=/^\d+$/,Gt=new WeakMap;function Kt(e){e=e.Parser.acorn||e;let t=Gt.get(e);if(!t){let i=e.tokTypes,s=e.TokContext,r=e.TokenType,n=new s("...",!0,!0),p={tc_oTag:n,tc_cTag:o,tc_expr:u},d={jsxName:new r("jsxName"),jsxText:new r("jsxText",{beforeExpr:!0}),jsxTagStart:new r("jsxTagStart",{startsExpr:!0}),jsxTagEnd:new r("jsxTagEnd")};d.jsxTagStart.updateContext=function(){this.context.push(u),this.context.push(n),this.exprAllowed=!1},d.jsxTagEnd.updateContext=function(l){let C=this.context.pop();C===n&&l===i.slash||C===o?(this.context.pop(),this.exprAllowed=this.curContext()===u):this.exprAllowed=!0},t={tokContexts:p,tokTypes:d},Gt.set(e,t)}return t}function ne(e){if(!e)return e;if(e.type==="JSXIdentifier")return e.name;if(e.type==="JSXNamespacedName")return e.namespace.name+":"+e.name.name;if(e.type==="JSXMemberExpression")return ne(e.object)+"."+ne(e.property)}Je.exports=function(e){return e=e||{},function(t){return os({allowNamespaces:e.allowNamespaces!==!1,allowNamespacedObjects:!!e.allowNamespacedObjects},t)}};Object.defineProperty(Je.exports,"tokTypes",{get:function(){return Kt(void 0).tokTypes},configurable:!0,enumerable:!0});function os(e,t){let i=t.acorn||void 0,s=Kt(i),r=i.tokTypes,n=s.tokTypes,o=i.tokContexts,u=s.tokContexts.tc_oTag,p=s.tokContexts.tc_cTag,d=s.tokContexts.tc_expr,l=i.isNewLine,C=i.isIdentifierStart,B=i.isIdentifierChar;return class extends t{static get acornJsx(){return s}jsx_readToken(){let h="",m=this.pos;for(;;){this.pos>=this.input.length&&this.raise(this.start,"Unterminated JSX contents");let x=this.input.charCodeAt(this.pos);switch(x){case 60:case 123:return this.pos===this.start?x===60&&this.exprAllowed?(++this.pos,this.finishToken(n.jsxTagStart)):this.getTokenFromCode(x):(h+=this.input.slice(m,this.pos),this.finishToken(n.jsxText,h));case 38:h+=this.input.slice(m,this.pos),h+=this.jsx_readEntity(),m=this.pos;break;case 62:case 125:this.raise(this.pos,"Unexpected token `"+this.input[this.pos]+"`. Did you mean `"+(x===62?">":"}")+'` or `{"'+this.input[this.pos]+'"}`?');default:l(x)?(h+=this.input.slice(m,this.pos),h+=this.jsx_readNewLine(!0),m=this.pos):++this.pos}}}jsx_readNewLine(h){let m=this.input.charCodeAt(this.pos),x;return++this.pos,m===13&&this.input.charCodeAt(this.pos)===10?(++this.pos,x=h?` `:`\r -`):b=String.fromCharCode(y),this.options.locations&&(++this.curLine,this.lineStart=this.pos),b}jsx_readString(d){let y="",b=++this.pos;for(;;){this.pos>=this.input.length&&this.raise(this.start,"Unterminated string constant");let k=this.input.charCodeAt(this.pos);if(k===d)break;k===38?(y+=this.input.slice(b,this.pos),y+=this.jsx_readEntity(),b=this.pos):D(k)?(y+=this.input.slice(b,this.pos),y+=this.jsx_readNewLine(!1),b=this.pos):++this.pos}return y+=this.input.slice(b,this.pos++),this.finishToken(l.string,y)}jsx_readEntity(){let d="",y=0,b,k=this.input[this.pos];k!=="&"&&this.raise(this.pos,"Entity must start with an ampersand");let N=++this.pos;for(;this.pos")}let E=N.name?"Element":"Fragment";return b["opening"+E]=N,b["closing"+E]=H,b.children=k,this.type===l.relational&&this.value==="<"&&this.raise(this.start,"Adjacent JSX elements must be wrapped in an enclosing tag"),this.finishNode(b,"JSX"+E)}jsx_parseText(){let d=this.parseLiteral(this.value);return d.type="JSXText",d}jsx_parseElement(){let d=this.start,y=this.startLoc;return this.next(),this.jsx_parseElementAt(d,y)}parseExprAtom(d){return this.type===f.jsxText?this.jsx_parseText():this.type===f.jsxTagStart?this.jsx_parseElement():super.parseExprAtom(d)}readToken(d){let y=this.curContext();if(y===P)return this.jsx_readToken();if(y===_||y===L){if(G(d))return this.jsx_readWord();if(d==62)return++this.pos,this.finishToken(f.jsxTagEnd);if((d===34||d===39)&&y==_)return this.jsx_readString(d)}return d===60&&this.exprAllowed&&this.input.charCodeAt(this.pos+1)!==33?(++this.pos,this.finishToken(f.jsxTagStart)):super.readToken(d)}updateContext(d){if(this.type==l.braceL){var y=this.curContext();y==_?this.context.push(m.b_expr):y==P?this.context.push(m.b_tmpl):super.updateContext(d),this.exprAllowed=!0}else if(this.type===l.slash&&d===f.jsxTagStart)this.context.length-=2,this.context.push(L),this.exprAllowed=!1;else return super.updateContext(d)}}}});var bi=Se(Je=>{"use strict";Object.defineProperty(Je,"__esModule",{value:!0});var qs=Ee(),Ks=ot();function Js(a){return a&&typeof a=="object"&&"default"in a?a:{default:a}}function Gs(a){if(a&&a.__esModule)return a;var u=Object.create(null);return a&&Object.keys(a).forEach(function(c){if(c!=="default"){var h=Object.getOwnPropertyDescriptor(a,c);Object.defineProperty(u,c,h.get?h:{enumerable:!0,get:function(){return a[c]}})}}),u.default=a,Object.freeze(u)}var gi=Gs(qs),zs=Js(Ks),B={Boolean:"Boolean",EOF:"",Identifier:"Identifier",PrivateIdentifier:"PrivateIdentifier",Keyword:"Keyword",Null:"Null",Numeric:"Numeric",Punctuator:"Punctuator",String:"String",RegularExpression:"RegularExpression",Template:"Template",JSXIdentifier:"JSXIdentifier",JSXText:"JSXText"};function Ws(a,u){let c=a[0],h=a[a.length-1],l={type:B.Template,value:u.slice(c.start,h.end)};return c.loc&&(l.loc={start:c.loc.start,end:h.loc.end}),c.range&&(l.start=c.range[0],l.end=h.range[1],l.range=[l.start,l.end]),l}function pt(a,u){this._acornTokTypes=a,this._tokens=[],this._curlyBrace=null,this._code=u}pt.prototype={constructor:pt,translate(a,u){let c=a.type,h=this._acornTokTypes;if(c===h.name)a.type=B.Identifier,a.value==="static"&&(a.type=B.Keyword),u.ecmaVersion>5&&(a.value==="yield"||a.value==="let")&&(a.type=B.Keyword);else if(c===h.privateId)a.type=B.PrivateIdentifier;else if(c===h.semi||c===h.comma||c===h.parenL||c===h.parenR||c===h.braceL||c===h.braceR||c===h.dot||c===h.bracketL||c===h.colon||c===h.question||c===h.bracketR||c===h.ellipsis||c===h.arrow||c===h.jsxTagStart||c===h.incDec||c===h.starstar||c===h.jsxTagEnd||c===h.prefix||c===h.questionDot||c.binop&&!c.keyword||c.isAssign)a.type=B.Punctuator,a.value=this._code.slice(a.start,a.end);else if(c===h.jsxName)a.type=B.JSXIdentifier;else if(c.label==="jsxText"||c===h.jsxAttrValueToken)a.type=B.JSXText;else if(c.keyword)c.keyword==="true"||c.keyword==="false"?a.type=B.Boolean:c.keyword==="null"?a.type=B.Null:a.type=B.Keyword;else if(c===h.num)a.type=B.Numeric,a.value=this._code.slice(a.start,a.end);else if(c===h.string)u.jsxAttrValueToken?(u.jsxAttrValueToken=!1,a.type=B.JSXText):a.type=B.String,a.value=this._code.slice(a.start,a.end);else if(c===h.regexp){a.type=B.RegularExpression;let l=a.value;a.regex={flags:l.flags,pattern:l.pattern},a.value=`/${l.pattern}/${l.flags}`}return a},onToken(a,u){let c=this,h=this._acornTokTypes,l=u.tokens,f=this._tokens;function m(){l.push(Ws(c._tokens,c._code)),c._tokens=[]}if(a.type===h.eof){this._curlyBrace&&l.push(this.translate(this._curlyBrace,u));return}if(a.type===h.backQuote){this._curlyBrace&&(l.push(this.translate(this._curlyBrace,u)),this._curlyBrace=null),f.push(a),f.length>1&&m();return}if(a.type===h.dollarBraceL){f.push(a),m();return}if(a.type===h.braceR){this._curlyBrace&&l.push(this.translate(this._curlyBrace,u)),this._curlyBrace=a;return}if(a.type===h.template||a.type===h.invalidTemplate){this._curlyBrace&&(f.push(this._curlyBrace),this._curlyBrace=null),f.push(a);return}this._curlyBrace&&(l.push(this.translate(this._curlyBrace,u)),this._curlyBrace=null),l.push(this.translate(a,u))}};var ct=[3,5,6,7,8,9,10,11,12,13,14,15];function Xs(){return ct[ct.length-1]}function Hs(a=5){let u=a==="latest"?Xs():a;if(typeof u!="number")throw new Error(`ecmaVersion must be a number or "latest". Received value of type ${typeof a} instead.`);if(u>=2015&&(u-=2009),!ct.includes(u))throw new Error("Invalid ecmaVersion.");return u}function Qs(a="script"){if(a==="script"||a==="module")return a;if(a==="commonjs")return"script";throw new Error("Invalid sourceType.")}function Ys(a){let u=Hs(a.ecmaVersion),c=Qs(a.sourceType),h=a.range===!0,l=a.loc===!0;if(u!==3&&a.allowReserved)throw new Error("`allowReserved` is only supported when ecmaVersion is 3");if(typeof a.allowReserved<"u"&&typeof a.allowReserved!="boolean")throw new Error("`allowReserved`, when present, must be `true` or `false`");let f=u===3?a.allowReserved||"never":!1,m=a.ecmaFeatures||{},_=a.sourceType==="commonjs"||!!m.globalReturn;if(c==="module"&&u<6)throw new Error("sourceType 'module' is not supported when ecmaVersion < 2015. Consider adding `{ ecmaVersion: 2015 }` to the parser options.");return Object.assign({},a,{ecmaVersion:u,sourceType:c,ranges:h,locations:l,allowReserved:f,allowReturnOutsideFunction:_})}var re=Symbol("espree's internal state"),ht=Symbol("espree's esprimaFinishNode");function $s(a,u,c,h,l,f,m){let _;a?_="Block":m.slice(c,c+2)==="#!"?_="Hashbang":_="Line";let L={type:_,value:u};return typeof c=="number"&&(L.start=c,L.end=h,L.range=[c,h]),typeof l=="object"&&(L.loc={start:l,end:f}),L}var vi=()=>a=>{let u=Object.assign({},a.acorn.tokTypes);return a.acornJsx&&Object.assign(u,a.acornJsx.tokTypes),class extends a{constructor(h,l){(typeof h!="object"||h===null)&&(h={}),typeof l!="string"&&!(l instanceof String)&&(l=String(l));let f=h.sourceType,m=Ys(h),_=m.ecmaFeatures||{},L=m.tokens===!0?new pt(u,l):null,P={originalSourceType:f||m.sourceType,tokens:L?[]:null,comments:m.comment===!0?[]:null,impliedStrict:_.impliedStrict===!0&&m.ecmaVersion>=5,ecmaVersion:m.ecmaVersion,jsxAttrValueToken:!1,lastToken:null,templateElements:[]};super({ecmaVersion:m.ecmaVersion,sourceType:m.sourceType,ranges:m.ranges,locations:m.locations,allowReserved:m.allowReserved,allowReturnOutsideFunction:m.allowReturnOutsideFunction,onToken:D=>{L&&L.onToken(D,P),D.type!==u.eof&&(P.lastToken=D)},onComment:(D,G,F,d,y,b)=>{if(P.comments){let k=$s(D,G,F,d,y,b,l);P.comments.push(k)}}},l),this[re]=P}tokenize(){do this.next();while(this.type!==u.eof);this.next();let h=this[re],l=h.tokens;return h.comments&&(l.comments=h.comments),l}finishNode(...h){let l=super.finishNode(...h);return this[ht](l)}finishNodeAt(...h){let l=super.finishNodeAt(...h);return this[ht](l)}parse(){let h=this[re],l=super.parse();if(l.sourceType=h.originalSourceType,h.comments&&(l.comments=h.comments),h.tokens&&(l.tokens=h.tokens),l.body.length){let[f]=l.body;l.range&&(l.range[0]=f.range[0]),l.loc&&(l.loc.start=f.loc.start),l.start=f.start}return h.lastToken&&(l.range&&(l.range[1]=h.lastToken.range[1]),l.loc&&(l.loc.end=h.lastToken.loc.end),l.end=h.lastToken.end),this[re].templateElements.forEach(f=>{let _=f.tail?1:2;f.start+=-1,f.end+=_,f.range&&(f.range[0]+=-1,f.range[1]+=_),f.loc&&(f.loc.start.column+=-1,f.loc.end.column+=_)}),l}parseTopLevel(h){return this[re].impliedStrict&&(this.strict=!0),super.parseTopLevel(h)}raise(h,l){let f=a.acorn.getLineInfo(this.input,h),m=new SyntaxError(l);throw m.index=h,m.lineNumber=f.line,m.column=f.column+1,m}raiseRecoverable(h,l){this.raise(h,l)}unexpected(h){let l="Unexpected token";if(h!=null){if(this.pos=h,this.options.locations)for(;this.posthis.start&&(l+=` ${this.input.slice(this.start,this.end)}`),this.raise(this.start,l)}jsx_readString(h){let l=super.jsx_readString(h);return this.type===u.string&&(this[re].jsxAttrValueToken=!0),l}[ht](h){return h.type==="TemplateElement"&&this[re].templateElements.push(h),h.type.includes("Function")&&!h.generator&&(h.generator=!1),h}}},Zs={_regular:null,_jsx:null,get regular(){return this._regular===null&&(this._regular=gi.Parser.extend(vi())),this._regular},get jsx(){return this._jsx===null&&(this._jsx=gi.Parser.extend(zs.default(),vi())),this._jsx},get(a){return!!(a&&a.ecmaFeatures&&a.ecmaFeatures.jsx)?this.jsx:this.regular}};function er(a,u){let c=Zs.get(u);return new c(u,a).parse()}var tr="espree";Je.name=tr;Je.parse=er});var nr={};rs(nr,{parsers:()=>ar});function os(a,u){let c=new SyntaxError(a+" ("+u.loc.start.line+":"+u.loc.start.column+")");return Object.assign(c,u)}var ce=os;function us(a){let u=[];for(let c of a)try{return c()}catch(h){u.push(h)}throw Object.assign(new Error("All combinations failed"),{errors:u})}var De=us;var le=as(si(),1);function gs(a){if(!a.startsWith("#!"))return"";let u=a.indexOf(` -`);return u===-1?a:a.slice(0,u)}var ri=gs;function vs(a){let u=ri(a);u&&(a=a.slice(u.length+1));let c=(0,le.extract)(a),{pragmas:h,comments:l}=(0,le.parseWithComments)(c);return{shebang:u,text:a,pragmas:h,comments:l}}function ai(a){let{pragmas:u}=vs(a);return Object.prototype.hasOwnProperty.call(u,"prettier")||Object.prototype.hasOwnProperty.call(u,"format")}function bs(a){return Array.isArray(a)&&a.length>0}var _e=bs;function M(a){var h;let u=a.range?a.range[0]:a.start,c=((h=a.declaration)==null?void 0:h.decorators)??a.decorators;return _e(c)?Math.min(M(c[0]),u):u}function X(a){return a.range?a.range[1]:a.end}function Ss(a){return a=typeof a=="function"?{parse:a}:a,{astFormat:"estree",hasPragma:ai,locStart:M,locEnd:X,...a}}var Fe=Ss;var _s=(a,u,c)=>{if(!(a&&u==null))return Array.isArray(u)||typeof u=="string"?u[c<0?u.length+c:c]:u.at(c)},tt=_s;function Cs(a){return a=new Set(a),u=>a.has(u==null?void 0:u.type)}var ni=Cs;var ks=ni(["Block","CommentBlock","MultiLine"]),Ce=ks;function Ts(a){return Ce(a)&&a.value[0]==="*"&&/@(?:type|satisfies)\b/.test(a.value)}var oi=Ts;function Es(a){let u=`*${a.value}*`.split(` -`);return u.length>1&&u.every(c=>c.trimStart()[0]==="*")}var it=Es;var ke=null;function Te(a){if(ke!==null&&typeof ke.property){let u=ke;return ke=Te.prototype=null,u}return ke=Te.prototype=a??Object.create(null),new Te}var ws=10;for(let a=0;a<=ws;a++)Te();function st(a){return Te(a)}function As(a,u="type"){st(a);function c(h){let l=h[u],f=a[l];if(!Array.isArray(f))throw Object.assign(new Error(`Missing visitor keys for '${l}'.`),{node:h});return f}return c}var ui=As;var hi={ArrayExpression:["elements"],AssignmentExpression:["left","right"],BinaryExpression:["left","right"],InterpreterDirective:[],Directive:["value"],DirectiveLiteral:[],BlockStatement:["directives","body"],BreakStatement:["label"],CallExpression:["callee","arguments","typeParameters","typeArguments"],CatchClause:["param","body"],ConditionalExpression:["test","consequent","alternate"],ContinueStatement:["label"],DebuggerStatement:[],DoWhileStatement:["test","body"],EmptyStatement:[],ExpressionStatement:["expression"],File:["program"],ForInStatement:["left","right","body"],ForStatement:["init","test","update","body"],FunctionDeclaration:["id","params","body","returnType","typeParameters","predicate"],FunctionExpression:["id","params","body","returnType","typeParameters"],Identifier:["typeAnnotation","decorators"],IfStatement:["test","consequent","alternate"],LabeledStatement:["label","body"],StringLiteral:[],NumericLiteral:[],NullLiteral:[],BooleanLiteral:[],RegExpLiteral:[],LogicalExpression:["left","right"],MemberExpression:["object","property"],NewExpression:["callee","arguments","typeParameters","typeArguments"],Program:["directives","body"],ObjectExpression:["properties"],ObjectMethod:["key","params","body","decorators","returnType","typeParameters"],ObjectProperty:["key","value","decorators"],RestElement:["argument","typeAnnotation","decorators"],ReturnStatement:["argument"],SequenceExpression:["expressions"],ParenthesizedExpression:["expression"],SwitchCase:["test","consequent"],SwitchStatement:["discriminant","cases"],ThisExpression:[],ThrowStatement:["argument"],TryStatement:["block","handler","finalizer"],UnaryExpression:["argument"],UpdateExpression:["argument"],VariableDeclaration:["declarations"],VariableDeclarator:["id","init"],WhileStatement:["test","body"],WithStatement:["object","body"],AssignmentPattern:["left","right","decorators","typeAnnotation"],ArrayPattern:["elements","typeAnnotation","decorators"],ArrowFunctionExpression:["params","body","returnType","typeParameters","predicate"],ClassBody:["body"],ClassExpression:["id","body","superClass","mixins","typeParameters","superTypeParameters","implements","decorators"],ClassDeclaration:["id","body","superClass","mixins","typeParameters","superTypeParameters","implements","decorators"],ExportAllDeclaration:["source","attributes","assertions","exported"],ExportDefaultDeclaration:["declaration"],ExportNamedDeclaration:["declaration","specifiers","source","attributes","assertions"],ExportSpecifier:["local","exported"],ForOfStatement:["left","right","body"],ImportDeclaration:["specifiers","source","attributes","assertions"],ImportDefaultSpecifier:["local"],ImportNamespaceSpecifier:["local"],ImportSpecifier:["local","imported"],MetaProperty:["meta","property"],ClassMethod:["key","params","body","decorators","returnType","typeParameters"],ObjectPattern:["properties","typeAnnotation","decorators"],SpreadElement:["argument"],Super:[],TaggedTemplateExpression:["tag","quasi","typeParameters"],TemplateElement:[],TemplateLiteral:["quasis","expressions"],YieldExpression:["argument"],AwaitExpression:["argument"],Import:[],BigIntLiteral:[],ExportNamespaceSpecifier:["exported"],OptionalMemberExpression:["object","property"],OptionalCallExpression:["callee","arguments","typeParameters","typeArguments"],ClassProperty:["key","value","typeAnnotation","decorators","variance"],ClassAccessorProperty:["key","value","typeAnnotation","decorators"],ClassPrivateProperty:["key","value","decorators","typeAnnotation","variance"],ClassPrivateMethod:["key","params","body","decorators","returnType","typeParameters"],PrivateName:["id"],StaticBlock:["body"],AnyTypeAnnotation:[],ArrayTypeAnnotation:["elementType"],BooleanTypeAnnotation:[],BooleanLiteralTypeAnnotation:[],NullLiteralTypeAnnotation:[],ClassImplements:["id","typeParameters"],DeclareClass:["id","typeParameters","extends","mixins","implements","body"],DeclareFunction:["id","predicate"],DeclareInterface:["id","typeParameters","extends","body"],DeclareModule:["id","body"],DeclareModuleExports:["typeAnnotation"],DeclareTypeAlias:["id","typeParameters","right"],DeclareOpaqueType:["id","typeParameters","supertype"],DeclareVariable:["id"],DeclareExportDeclaration:["declaration","specifiers","source"],DeclareExportAllDeclaration:["source"],DeclaredPredicate:["value"],ExistsTypeAnnotation:[],FunctionTypeAnnotation:["typeParameters","params","rest","returnType","this"],FunctionTypeParam:["name","typeAnnotation"],GenericTypeAnnotation:["id","typeParameters"],InferredPredicate:[],InterfaceExtends:["id","typeParameters"],InterfaceDeclaration:["id","typeParameters","extends","body"],InterfaceTypeAnnotation:["extends","body"],IntersectionTypeAnnotation:["types"],MixedTypeAnnotation:[],EmptyTypeAnnotation:[],NullableTypeAnnotation:["typeAnnotation"],NumberLiteralTypeAnnotation:[],NumberTypeAnnotation:[],ObjectTypeAnnotation:["properties","indexers","callProperties","internalSlots"],ObjectTypeInternalSlot:["id","value","optional","static","method"],ObjectTypeCallProperty:["value"],ObjectTypeIndexer:["id","key","value","variance"],ObjectTypeProperty:["key","value","variance"],ObjectTypeSpreadProperty:["argument"],OpaqueType:["id","typeParameters","supertype","impltype"],QualifiedTypeIdentifier:["id","qualification"],StringLiteralTypeAnnotation:[],StringTypeAnnotation:[],SymbolTypeAnnotation:[],ThisTypeAnnotation:[],TupleTypeAnnotation:["types","elementTypes"],TypeofTypeAnnotation:["argument"],TypeAlias:["id","typeParameters","right"],TypeAnnotation:["typeAnnotation"],TypeCastExpression:["expression","typeAnnotation"],TypeParameter:["bound","default","variance"],TypeParameterDeclaration:["params"],TypeParameterInstantiation:["params"],UnionTypeAnnotation:["types"],Variance:[],VoidTypeAnnotation:[],EnumDeclaration:["id","body"],EnumBooleanBody:["members"],EnumNumberBody:["members"],EnumStringBody:["members"],EnumSymbolBody:["members"],EnumBooleanMember:["id","init"],EnumNumberMember:["id","init"],EnumStringMember:["id","init"],EnumDefaultedMember:["id"],IndexedAccessType:["objectType","indexType"],OptionalIndexedAccessType:["objectType","indexType"],JSXAttribute:["name","value"],JSXClosingElement:["name"],JSXElement:["openingElement","children","closingElement"],JSXEmptyExpression:[],JSXExpressionContainer:["expression"],JSXSpreadChild:["expression"],JSXIdentifier:[],JSXMemberExpression:["object","property"],JSXNamespacedName:["namespace","name"],JSXOpeningElement:["name","attributes","typeParameters"],JSXSpreadAttribute:["argument"],JSXText:[],JSXFragment:["openingFragment","children","closingFragment"],JSXOpeningFragment:[],JSXClosingFragment:[],Noop:[],Placeholder:[],V8IntrinsicIdentifier:[],ArgumentPlaceholder:[],BindExpression:["object","callee"],ImportAttribute:["key","value"],Decorator:["expression"],DoExpression:["body"],ExportDefaultSpecifier:["exported"],RecordExpression:["properties"],TupleExpression:["elements"],DecimalLiteral:[],ModuleExpression:["body"],TopicReference:[],PipelineTopicExpression:["expression"],PipelineBareFunction:["callee"],PipelinePrimaryTopicReference:[],TSParameterProperty:["parameter","decorators"],TSDeclareFunction:["id","typeParameters","params","returnType","body"],TSDeclareMethod:["decorators","key","typeParameters","params","returnType"],TSQualifiedName:["left","right"],TSCallSignatureDeclaration:["typeParameters","parameters","typeAnnotation","params","returnType"],TSConstructSignatureDeclaration:["typeParameters","parameters","typeAnnotation","params","returnType"],TSPropertySignature:["key","typeAnnotation"],TSMethodSignature:["key","typeParameters","parameters","typeAnnotation","params","returnType"],TSIndexSignature:["parameters","typeAnnotation"],TSAnyKeyword:[],TSBooleanKeyword:[],TSBigIntKeyword:[],TSIntrinsicKeyword:[],TSNeverKeyword:[],TSNullKeyword:[],TSNumberKeyword:[],TSObjectKeyword:[],TSStringKeyword:[],TSSymbolKeyword:[],TSUndefinedKeyword:[],TSUnknownKeyword:[],TSVoidKeyword:[],TSThisType:[],TSFunctionType:["typeParameters","parameters","typeAnnotation","params","returnType"],TSConstructorType:["typeParameters","parameters","typeAnnotation","params","returnType"],TSTypeReference:["typeName","typeParameters"],TSTypePredicate:["parameterName","typeAnnotation"],TSTypeQuery:["exprName","typeParameters"],TSTypeLiteral:["members"],TSArrayType:["elementType"],TSTupleType:["elementTypes"],TSOptionalType:["typeAnnotation"],TSRestType:["typeAnnotation"],TSNamedTupleMember:["label","elementType"],TSUnionType:["types"],TSIntersectionType:["types"],TSConditionalType:["checkType","extendsType","trueType","falseType"],TSInferType:["typeParameter"],TSParenthesizedType:["typeAnnotation"],TSTypeOperator:["typeAnnotation"],TSIndexedAccessType:["objectType","indexType"],TSMappedType:["typeParameter","typeAnnotation","nameType"],TSLiteralType:["literal"],TSExpressionWithTypeArguments:["expression","typeParameters"],TSInterfaceDeclaration:["id","typeParameters","extends","body"],TSInterfaceBody:["body"],TSTypeAliasDeclaration:["id","typeParameters","typeAnnotation"],TSInstantiationExpression:["expression","typeParameters"],TSAsExpression:["expression","typeAnnotation"],TSSatisfiesExpression:["expression","typeAnnotation"],TSTypeAssertion:["typeAnnotation","expression"],TSEnumDeclaration:["id","members"],TSEnumMember:["id","initializer"],TSModuleDeclaration:["id","body"],TSModuleBlock:["body"],TSImportType:["argument","qualifier","typeParameters","parameter"],TSImportEqualsDeclaration:["id","moduleReference"],TSExternalModuleReference:["expression"],TSNonNullExpression:["expression"],TSExportAssignment:["expression"],TSNamespaceExportDeclaration:["id"],TSTypeAnnotation:["typeAnnotation"],TSTypeParameterInstantiation:["params"],TSTypeParameterDeclaration:["params"],TSTypeParameter:["constraint","default","name"],ChainExpression:["expression"],ExperimentalRestProperty:["argument"],ExperimentalSpreadProperty:["argument"],ImportExpression:["source","attributes"],Literal:[],MethodDefinition:["decorators","key","value"],PrivateIdentifier:[],Property:["key","value"],PropertyDefinition:["decorators","key","typeAnnotation","value","variance"],AccessorProperty:["decorators","key","typeAnnotation","value"],TSAbstractAccessorProperty:["decorators","key","typeAnnotation"],TSAbstractKeyword:[],TSAbstractMethodDefinition:["key","value"],TSAbstractPropertyDefinition:["decorators","key","typeAnnotation"],TSAsyncKeyword:[],TSClassImplements:["expression","typeParameters"],TSDeclareKeyword:[],TSEmptyBodyFunctionExpression:["id","typeParameters","params","returnType"],TSExportKeyword:[],TSInterfaceHeritage:["expression","typeParameters"],TSPrivateKeyword:[],TSProtectedKeyword:[],TSPublicKeyword:[],TSReadonlyKeyword:[],TSStaticKeyword:[],TSTemplateLiteralType:["quasis","types"],BigIntLiteralTypeAnnotation:[],BigIntTypeAnnotation:[],ConditionalTypeAnnotation:["checkType","extendsType","trueType","falseType"],DeclareEnum:["id","body"],InferTypeAnnotation:["typeParameter"],KeyofTypeAnnotation:["argument"],ObjectTypeMappedTypeProperty:["keyTparam","propType","sourceType","variance"],QualifiedTypeofIdentifier:["qualification","id"],TupleTypeLabeledElement:["label","elementType","variance"],TupleTypeSpreadElement:["label","typeAnnotation"],TypePredicate:["parameterName","typeAnnotation","asserts"],NGRoot:["node"],NGPipeExpression:["left","right","arguments"],NGChainedExpression:["expressions"],NGEmptyExpression:[],NGMicrosyntax:["body"],NGMicrosyntaxKey:[],NGMicrosyntaxExpression:["expression","alias"],NGMicrosyntaxKeyedExpression:["key","expression"],NGMicrosyntaxLet:["key","value"],NGMicrosyntaxAs:["key","alias"],JsExpressionRoot:["node"],JsonRoot:["node"],TSJSDocAllType:[],TSJSDocUnknownType:[],TSJSDocNullableType:["typeAnnotation"],TSJSDocNonNullableType:["typeAnnotation"],NeverTypeAnnotation:[],UndefinedTypeAnnotation:[],UnknownTypeAnnotation:[]};var Ps=ui(hi),pi=Ps;function rt(a,u){if(!(a!==null&&typeof a=="object"))return a;if(Array.isArray(a)){for(let h=0;h{var _;(_=m.leadingComments)!=null&&_.some(oi)&&f.add(M(m))}),a=je(a,m=>{if(m.type==="ParenthesizedExpression"){let{expression:_}=m;if(_.type==="TypeCastExpression")return _.range=m.range,_;let L=M(m);if(!f.has(L))return _.extra={..._.extra,parenthesized:!0},_}})}if(a=je(a,f=>{switch(f.type){case"LogicalExpression":if(ci(f))return at(f);break;case"VariableDeclaration":{let m=tt(!1,f.declarations,-1);m!=null&&m.init&&l(f,m);break}case"TSParenthesizedType":return f.typeAnnotation;case"TSTypeParameter":if(typeof f.name=="string"){let m=M(f);f.name={type:"Identifier",name:f.name,range:[m,m+f.name.length]}}break;case"ObjectExpression":if(c==="typescript"){let m=f.properties.find(_=>_.type==="Property"&&_.value.type==="TSEmptyBodyFunctionExpression");m&&Me(m.value,"Unexpected token.")}break;case"TSInterfaceDeclaration":_e(f.implements)&&Me(f.implements[0],"Interface declaration cannot have 'implements' clause.");break;case"TSPropertySignature":f.initializer&&Me(f.initializer,"An interface property cannot have an initializer.");break;case"TopicReference":a.extra={...a.extra,__isUsingHackPipeline:!0};break;case"ExportAllDeclaration":{let{exported:m}=f;if(c==="meriyah"&&(m==null?void 0:m.type)==="Identifier"){let _=h.slice(M(m),X(m));(_.startsWith('"')||_.startsWith("'"))&&(f.exported={...f.exported,type:"Literal",value:f.exported.name,raw:_})}break}case"TSUnionType":case"TSIntersectionType":if(f.types.length===1)return f.types[0];break}}),_e(a.comments)){let f=tt(!1,a.comments,-1);for(let m=a.comments.length-2;m>=0;m--){let _=a.comments[m];X(_)===M(f)&&Ce(_)&&Ce(f)&&it(_)&&it(f)&&(a.comments.splice(m+1,1),_.value+="*//*"+f.value,_.range=[M(_),X(f)]),f=_}}return a.type==="Program"&&(a.range=[0,h.length]),a;function l(f,m){h[X(m)]!==";"&&(f.range=[M(f),X(m)])}}function ci(a){return a.type==="LogicalExpression"&&a.right.type==="LogicalExpression"&&a.operator===a.right.operator}function at(a){return ci(a)?at({type:"LogicalExpression",operator:a.operator,left:at({type:"LogicalExpression",operator:a.operator,left:a.left,right:a.right.left,range:[M(a.left),X(a.right.left)]}),right:a.right.right,range:[M(a),X(a)]}):a}var Ue=Ns;function Vs(a){let{filepath:u}=a;if(u){if(u=u.toLowerCase(),u.endsWith(".cjs"))return"script";if(u.endsWith(".mjs"))return"module"}}var qe=Vs;var Ds={ecmaVersion:"latest",allowReturnOutsideFunction:!0,allowSuperOutsideMethod:!0,locations:!0,ranges:!0};function Fs(a){let{message:u,loc:c}=a;if(!c)return a;let{line:h,column:l}=c;return ce(u.replace(/ \(\d+:\d+\)$/,""),{loc:{start:{line:h,column:l+1}},cause:a})}var ut,js=()=>{if(!ut){let{Parser:a}=Ee(),u=ot();ut=a.extend(u())}return ut};function Ms(a,u){let c=js(),h=[],l=[],f=c.parse(a,{...Ds,sourceType:u,allowImportExportEverywhere:u==="module",onComment:h,onToken:l});return f.comments=h,f.tokens=l,f}function Us(a,u={}){let c=qe(u),h=(c?[c]:["module","script"]).map(f=>()=>Ms(a,f)),l;try{l=De(h)}catch({errors:[f]}){throw Fs(f)}return Ue(l,{text:a})}var yi=Fe(Us);var ir={ecmaVersion:"latest",range:!0,loc:!0,comment:!0,tokens:!0,sourceType:"module",ecmaFeatures:{jsx:!0,globalReturn:!0,impliedStrict:!1}};function sr(a){let{message:u,lineNumber:c,column:h}=a;return typeof c!="number"?a:ce(u,{loc:{start:{line:c,column:h}},cause:a})}function rr(a,u={}){let{parse:c}=bi(),h=qe(u),l=(h?[h]:["module","script"]).map(m=>()=>c(a,{...ir,sourceType:m})),f;try{f=De(l)}catch({errors:[m]}){throw sr(m)}return Ue(f,{text:a})}var Si=Fe(rr);var ar={acorn:yi,espree:Si};return ns(nr);}); \ No newline at end of file +`):x=String.fromCharCode(m),this.options.locations&&(++this.curLine,this.lineStart=this.pos),x}jsx_readString(h){let m="",x=++this.pos;for(;;){this.pos>=this.input.length&&this.raise(this.start,"Unterminated string constant");let g=this.input.charCodeAt(this.pos);if(g===h)break;g===38?(m+=this.input.slice(x,this.pos),m+=this.jsx_readEntity(),x=this.pos):l(g)?(m+=this.input.slice(x,this.pos),m+=this.jsx_readNewLine(!1),x=this.pos):++this.pos}return m+=this.input.slice(x,this.pos++),this.finishToken(r.string,m)}jsx_readEntity(){let h="",m=0,x,g=this.input[this.pos];g!=="&"&&this.raise(this.pos,"Entity must start with an ampersand");let w=++this.pos;for(;this.pos")}let we=w.name?"Element":"Fragment";return x["opening"+we]=w,x["closing"+we]=he,x.children=g,this.type===r.relational&&this.value==="<"&&this.raise(this.start,"Adjacent JSX elements must be wrapped in an enclosing tag"),this.finishNode(x,"JSX"+we)}jsx_parseText(){let h=this.parseLiteral(this.value);return h.type="JSXText",h}jsx_parseElement(){let h=this.start,m=this.startLoc;return this.next(),this.jsx_parseElementAt(h,m)}parseExprAtom(h){return this.type===n.jsxText?this.jsx_parseText():this.type===n.jsxTagStart?this.jsx_parseElement():super.parseExprAtom(h)}readToken(h){let m=this.curContext();if(m===d)return this.jsx_readToken();if(m===u||m===p){if(C(h))return this.jsx_readWord();if(h==62)return++this.pos,this.finishToken(n.jsxTagEnd);if((h===34||h===39)&&m==u)return this.jsx_readString(h)}return h===60&&this.exprAllowed&&this.input.charCodeAt(this.pos+1)!==33?(++this.pos,this.finishToken(n.jsxTagStart)):super.readToken(h)}updateContext(h){if(this.type==r.braceL){var m=this.curContext();m==u?this.context.push(o.b_expr):m==d?this.context.push(o.b_tmpl):super.updateContext(h),this.exprAllowed=!0}else if(this.type===r.slash&&h===n.jsxTagStart)this.context.length-=2,this.context.push(p),this.exprAllowed=!1;else return super.updateContext(h)}}}});var Ws={};vi(Ws,{parsers:()=>Xs});var Si=[509,0,227,0,150,4,294,9,1368,2,2,1,6,3,41,2,5,0,166,1,574,3,9,9,370,1,81,2,71,10,50,3,123,2,54,14,32,10,3,1,11,3,46,10,8,0,46,9,7,2,37,13,2,9,6,1,45,0,13,2,49,13,9,3,2,11,83,11,7,0,3,0,158,11,6,9,7,3,56,1,2,6,3,1,3,2,10,0,11,1,3,6,4,4,193,17,10,9,5,0,82,19,13,9,214,6,3,8,28,1,83,16,16,9,82,12,9,9,84,14,5,9,243,14,166,9,71,5,2,1,3,3,2,0,2,1,13,9,120,6,3,6,4,0,29,9,41,6,2,3,9,0,10,10,47,15,406,7,2,7,17,9,57,21,2,13,123,5,4,0,2,1,2,6,2,0,9,9,49,4,2,1,2,4,9,9,330,3,10,1,2,0,49,6,4,4,14,9,5351,0,7,14,13835,9,87,9,39,4,60,6,26,9,1014,0,2,54,8,3,82,0,12,1,19628,1,4706,45,3,22,543,4,4,5,9,7,3,6,31,3,149,2,1418,49,513,54,5,49,9,0,15,0,23,4,2,14,1361,6,2,16,3,6,2,1,2,4,101,0,161,6,10,9,357,0,62,13,499,13,983,6,110,6,6,9,4759,9,787719,239],nt=[0,11,2,25,2,18,2,1,2,14,3,13,35,122,70,52,268,28,4,48,48,31,14,29,6,37,11,29,3,35,5,7,2,4,43,157,19,35,5,35,5,39,9,51,13,10,2,14,2,6,2,1,2,10,2,14,2,6,2,1,68,310,10,21,11,7,25,5,2,41,2,8,70,5,3,0,2,43,2,1,4,0,3,22,11,22,10,30,66,18,2,1,11,21,11,25,71,55,7,1,65,0,16,3,2,2,2,28,43,28,4,28,36,7,2,27,28,53,11,21,11,18,14,17,111,72,56,50,14,50,14,35,349,41,7,1,79,28,11,0,9,21,43,17,47,20,28,22,13,52,58,1,3,0,14,44,33,24,27,35,30,0,3,0,9,34,4,0,13,47,15,3,22,0,2,0,36,17,2,24,20,1,64,6,2,0,2,3,2,14,2,9,8,46,39,7,3,1,3,21,2,6,2,1,2,4,4,0,19,0,13,4,159,52,19,3,21,2,31,47,21,1,2,0,185,46,42,3,37,47,21,0,60,42,14,0,72,26,38,6,186,43,117,63,32,7,3,0,3,7,2,1,2,23,16,0,2,0,95,7,3,38,17,0,2,0,29,0,11,39,8,0,22,0,12,45,20,0,19,72,264,8,2,36,18,0,50,29,113,6,2,1,2,37,22,0,26,5,2,1,2,31,15,0,328,18,16,0,2,12,2,33,125,0,80,921,103,110,18,195,2637,96,16,1071,18,5,4026,582,8634,568,8,30,18,78,18,29,19,47,17,3,32,20,6,18,689,63,129,74,6,0,67,12,65,1,2,0,29,6135,9,1237,43,8,8936,3,2,6,2,1,2,290,16,0,30,2,3,0,15,3,9,395,2309,106,6,12,4,8,8,9,5991,84,2,70,2,1,3,0,3,1,3,3,2,11,2,0,2,6,2,64,2,3,3,7,2,6,2,27,2,3,2,4,2,0,4,6,2,339,3,24,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,7,1845,30,7,5,262,61,147,44,11,6,17,0,322,29,19,43,485,27,757,6,2,3,2,1,2,14,2,196,60,67,8,0,1205,3,2,26,2,1,2,0,3,0,2,9,2,3,2,0,2,0,7,0,5,0,2,0,2,0,2,2,2,1,2,0,3,0,2,0,2,0,2,0,2,0,2,1,2,0,3,3,2,6,2,3,2,3,2,0,2,9,2,16,6,2,2,4,2,16,4421,42719,33,4153,7,221,3,5761,15,7472,16,621,2467,541,1507,4938,6,4191],Ci="\u200C\u200D\xB7\u0300-\u036F\u0387\u0483-\u0487\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u0610-\u061A\u064B-\u0669\u0670\u06D6-\u06DC\u06DF-\u06E4\u06E7\u06E8\u06EA-\u06ED\u06F0-\u06F9\u0711\u0730-\u074A\u07A6-\u07B0\u07C0-\u07C9\u07EB-\u07F3\u07FD\u0816-\u0819\u081B-\u0823\u0825-\u0827\u0829-\u082D\u0859-\u085B\u0898-\u089F\u08CA-\u08E1\u08E3-\u0903\u093A-\u093C\u093E-\u094F\u0951-\u0957\u0962\u0963\u0966-\u096F\u0981-\u0983\u09BC\u09BE-\u09C4\u09C7\u09C8\u09CB-\u09CD\u09D7\u09E2\u09E3\u09E6-\u09EF\u09FE\u0A01-\u0A03\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A66-\u0A71\u0A75\u0A81-\u0A83\u0ABC\u0ABE-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AE2\u0AE3\u0AE6-\u0AEF\u0AFA-\u0AFF\u0B01-\u0B03\u0B3C\u0B3E-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B55-\u0B57\u0B62\u0B63\u0B66-\u0B6F\u0B82\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD7\u0BE6-\u0BEF\u0C00-\u0C04\u0C3C\u0C3E-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C62\u0C63\u0C66-\u0C6F\u0C81-\u0C83\u0CBC\u0CBE-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CE2\u0CE3\u0CE6-\u0CEF\u0CF3\u0D00-\u0D03\u0D3B\u0D3C\u0D3E-\u0D44\u0D46-\u0D48\u0D4A-\u0D4D\u0D57\u0D62\u0D63\u0D66-\u0D6F\u0D81-\u0D83\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E31\u0E34-\u0E3A\u0E47-\u0E4E\u0E50-\u0E59\u0EB1\u0EB4-\u0EBC\u0EC8-\u0ECE\u0ED0-\u0ED9\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E\u0F3F\u0F71-\u0F84\u0F86\u0F87\u0F8D-\u0F97\u0F99-\u0FBC\u0FC6\u102B-\u103E\u1040-\u1049\u1056-\u1059\u105E-\u1060\u1062-\u1064\u1067-\u106D\u1071-\u1074\u1082-\u108D\u108F-\u109D\u135D-\u135F\u1369-\u1371\u1712-\u1715\u1732-\u1734\u1752\u1753\u1772\u1773\u17B4-\u17D3\u17DD\u17E0-\u17E9\u180B-\u180D\u180F-\u1819\u18A9\u1920-\u192B\u1930-\u193B\u1946-\u194F\u19D0-\u19DA\u1A17-\u1A1B\u1A55-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AB0-\u1ABD\u1ABF-\u1ACE\u1B00-\u1B04\u1B34-\u1B44\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1B82\u1BA1-\u1BAD\u1BB0-\u1BB9\u1BE6-\u1BF3\u1C24-\u1C37\u1C40-\u1C49\u1C50-\u1C59\u1CD0-\u1CD2\u1CD4-\u1CE8\u1CED\u1CF4\u1CF7-\u1CF9\u1DC0-\u1DFF\u200C\u200D\u203F\u2040\u2054\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2CEF-\u2CF1\u2D7F\u2DE0-\u2DFF\u302A-\u302F\u3099\u309A\u30FB\uA620-\uA629\uA66F\uA674-\uA67D\uA69E\uA69F\uA6F0\uA6F1\uA802\uA806\uA80B\uA823-\uA827\uA82C\uA880\uA881\uA8B4-\uA8C5\uA8D0-\uA8D9\uA8E0-\uA8F1\uA8FF-\uA909\uA926-\uA92D\uA947-\uA953\uA980-\uA983\uA9B3-\uA9C0\uA9D0-\uA9D9\uA9E5\uA9F0-\uA9F9\uAA29-\uAA36\uAA43\uAA4C\uAA4D\uAA50-\uAA59\uAA7B-\uAA7D\uAAB0\uAAB2-\uAAB4\uAAB7\uAAB8\uAABE\uAABF\uAAC1\uAAEB-\uAAEF\uAAF5\uAAF6\uABE3-\uABEA\uABEC\uABED\uABF0-\uABF9\uFB1E\uFE00-\uFE0F\uFE20-\uFE2F\uFE33\uFE34\uFE4D-\uFE4F\uFF10-\uFF19\uFF3F\uFF65",ot="\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0560-\u0588\u05D0-\u05EA\u05EF-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u0870-\u0887\u0889-\u088E\u08A0-\u08C9\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C5D\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D04-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E86-\u0E8A\u0E8C-\u0EA3\u0EA5\u0EA7-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u1711\u171F-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1878\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4C\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\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\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2118-\u211D\u2124\u2126\u2128\u212A-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309B-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312F\u3131-\u318E\u31A0-\u31BF\u31F0-\u31FF\u3400-\u4DBF\u4E00-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7CA\uA7D0\uA7D1\uA7D3\uA7D5-\uA7D9\uA7F2-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA8FE\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB69\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC",Ae={3:"abstract boolean byte char class double enum export extends final float goto implements import int interface long native package private protected public short static super synchronized throws transient volatile",5:"class enum extends super const export import",6:"enum",strict:"implements interface let package private protected public static yield",strictBind:"eval arguments"},Pe="break case catch continue debugger default do else finally for function if return switch throw try var while with null true false instanceof typeof void delete new in this",_i={5:Pe,"5module":Pe+" export import",6:Pe+" const class extends export import super"},Ti=/^in(stanceof)?$/,ki=new RegExp("["+ot+"]"),Ei=new RegExp("["+ot+Ci+"]");function Ne(e,t){for(var i=65536,s=0;se)return!1;if(i+=t[s+1],i>=e)return!0}return!1}function U(e,t){return e<65?e===36:e<91?!0:e<97?e===95:e<123?!0:e<=65535?e>=170&&ki.test(String.fromCharCode(e)):t===!1?!1:Ne(e,nt)}function z(e,t){return e<48?e===36:e<58?!0:e<65?!1:e<91?!0:e<97?e===95:e<123?!0:e<=65535?e>=170&&Ei.test(String.fromCharCode(e)):t===!1?!1:Ne(e,nt)||Ne(e,Si)}var S=function(t,i){i===void 0&&(i={}),this.label=t,this.keyword=i.keyword,this.beforeExpr=!!i.beforeExpr,this.startsExpr=!!i.startsExpr,this.isLoop=!!i.isLoop,this.isAssign=!!i.isAssign,this.prefix=!!i.prefix,this.postfix=!!i.postfix,this.binop=i.binop||null,this.updateContext=null};function I(e,t){return new S(e,{beforeExpr:!0,binop:t})}var N={beforeExpr:!0},A={startsExpr:!0},Oe={};function b(e,t){return t===void 0&&(t={}),t.keyword=e,Oe[e]=new S(e,t)}var a={num:new S("num",A),regexp:new S("regexp",A),string:new S("string",A),name:new S("name",A),privateId:new S("privateId",A),eof:new S("eof"),bracketL:new S("[",{beforeExpr:!0,startsExpr:!0}),bracketR:new S("]"),braceL:new S("{",{beforeExpr:!0,startsExpr:!0}),braceR:new S("}"),parenL:new S("(",{beforeExpr:!0,startsExpr:!0}),parenR:new S(")"),comma:new S(",",N),semi:new S(";",N),colon:new S(":",N),dot:new S("."),question:new S("?",N),questionDot:new S("?."),arrow:new S("=>",N),template:new S("template"),invalidTemplate:new S("invalidTemplate"),ellipsis:new S("...",N),backQuote:new S("`",A),dollarBraceL:new S("${",{beforeExpr:!0,startsExpr:!0}),eq:new S("=",{beforeExpr:!0,isAssign:!0}),assign:new S("_=",{beforeExpr:!0,isAssign:!0}),incDec:new S("++/--",{prefix:!0,postfix:!0,startsExpr:!0}),prefix:new S("!/~",{beforeExpr:!0,prefix:!0,startsExpr:!0}),logicalOR:I("||",1),logicalAND:I("&&",2),bitwiseOR:I("|",3),bitwiseXOR:I("^",4),bitwiseAND:I("&",5),equality:I("==/!=/===/!==",6),relational:I("/<=/>=",7),bitShift:I("<>/>>>",8),plusMin:new S("+/-",{beforeExpr:!0,binop:9,prefix:!0,startsExpr:!0}),modulo:I("%",10),star:I("*",10),slash:I("/",10),starstar:new S("**",{beforeExpr:!0}),coalesce:I("??",1),_break:b("break"),_case:b("case",N),_catch:b("catch"),_continue:b("continue"),_debugger:b("debugger"),_default:b("default",N),_do:b("do",{isLoop:!0,beforeExpr:!0}),_else:b("else",N),_finally:b("finally"),_for:b("for",{isLoop:!0}),_function:b("function",A),_if:b("if"),_return:b("return",N),_switch:b("switch"),_throw:b("throw",N),_try:b("try"),_var:b("var"),_const:b("const"),_while:b("while",{isLoop:!0}),_with:b("with"),_new:b("new",{beforeExpr:!0,startsExpr:!0}),_this:b("this",A),_super:b("super",A),_class:b("class",A),_extends:b("extends",N),_export:b("export"),_import:b("import",A),_null:b("null",A),_true:b("true",A),_false:b("false",A),_in:b("in",{beforeExpr:!0,binop:7}),_instanceof:b("instanceof",{beforeExpr:!0,binop:7}),_typeof:b("typeof",{beforeExpr:!0,prefix:!0,startsExpr:!0}),_void:b("void",{beforeExpr:!0,prefix:!0,startsExpr:!0}),_delete:b("delete",{beforeExpr:!0,prefix:!0,startsExpr:!0})},R=/\r\n?|\n|\u2028|\u2029/,wi=new RegExp(R.source,"g");function Q(e){return e===10||e===13||e===8232||e===8233}function ut(e,t,i){i===void 0&&(i=e.length);for(var s=t;s>10)+55296,(e&1023)+56320))}var Ii=/(?:[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])/,te=function(t,i){this.line=t,this.column=i};te.prototype.offset=function(t){return new te(this.line,this.column+t)};var ye=function(t,i,s){this.start=i,this.end=s,t.sourceFile!==null&&(this.source=t.sourceFile)};function ct(e,t){for(var i=1,s=0;;){var r=ut(e,s,t);if(r<0)return new te(i,t-s);++i,s=r}}var Ve={ecmaVersion:null,sourceType:"script",onInsertedSemicolon:null,onTrailingComma:null,allowReserved:null,allowReturnOutsideFunction:!1,allowImportExportEverywhere:!1,allowAwaitOutsideFunction:null,allowSuperOutsideMethod:null,allowHashBang:!1,checkPrivateFields:!0,locations:!1,onToken:null,onComment:null,ranges:!1,program:null,sourceFile:null,directSourceFile:null,preserveParens:!1},st=!1;function Ni(e){var t={};for(var i in Ve)t[i]=e&&se(e,i)?e[i]:Ve[i];if(t.ecmaVersion==="latest"?t.ecmaVersion=1e8:t.ecmaVersion==null?(!st&&typeof console=="object"&&console.warn&&(st=!0,console.warn(`Since Acorn 8.0.0, options.ecmaVersion is required. +Defaulting to 2020, but this will stop working in the future.`)),t.ecmaVersion=11):t.ecmaVersion>=2015&&(t.ecmaVersion-=2009),t.allowReserved==null&&(t.allowReserved=t.ecmaVersion<5),(!e||e.allowHashBang==null)&&(t.allowHashBang=t.ecmaVersion>=14),tt(t.onToken)){var s=t.onToken;t.onToken=function(r){return s.push(r)}}return tt(t.onComment)&&(t.onComment=Vi(t,t.onComment)),t}function Vi(e,t){return function(i,s,r,n,o,u){var p={type:i?"Block":"Line",value:s,start:r,end:n};e.locations&&(p.loc=new ye(this,o,u)),e.ranges&&(p.range=[r,n]),t.push(p)}}var ie=1,Y=2,Be=4,lt=8,ft=16,dt=32,De=64,mt=128,re=256,Fe=ie|Y|re;function Me(e,t){return Y|(e?Be:0)|(t?lt:0)}var fe=0,je=1,J=2,xt=3,yt=4,gt=5,T=function(t,i,s){this.options=t=Ni(t),this.sourceFile=t.sourceFile,this.keywords=G(_i[t.ecmaVersion>=6?6:t.sourceType==="module"?"5module":5]);var r="";t.allowReserved!==!0&&(r=Ae[t.ecmaVersion>=6?6:t.ecmaVersion===5?5:3],t.sourceType==="module"&&(r+=" await")),this.reservedWords=G(r);var n=(r?r+" ":"")+Ae.strict;this.reservedWordsStrict=G(n),this.reservedWordsStrictBind=G(n+" "+Ae.strictBind),this.input=String(i),this.containsEsc=!1,s?(this.pos=s,this.lineStart=this.input.lastIndexOf(` +`,s-1)+1,this.curLine=this.input.slice(0,this.lineStart).split(R).length):(this.pos=this.lineStart=0,this.curLine=1),this.type=a.eof,this.value=null,this.start=this.end=this.pos,this.startLoc=this.endLoc=this.curPosition(),this.lastTokEndLoc=this.lastTokStartLoc=null,this.lastTokStart=this.lastTokEnd=this.pos,this.context=this.initialContext(),this.exprAllowed=!0,this.inModule=t.sourceType==="module",this.strict=this.inModule||this.strictDirective(this.pos),this.potentialArrowAt=-1,this.potentialArrowInForAwait=!1,this.yieldPos=this.awaitPos=this.awaitIdentPos=0,this.labels=[],this.undefinedExports=Object.create(null),this.pos===0&&t.allowHashBang&&this.input.slice(0,2)==="#!"&&this.skipLineComment(2),this.scopeStack=[],this.enterScope(ie),this.regexpState=null,this.privateNameStack=[]},F={inFunction:{configurable:!0},inGenerator:{configurable:!0},inAsync:{configurable:!0},canAwait:{configurable:!0},allowSuper:{configurable:!0},allowDirectSuper:{configurable:!0},treatFunctionsAsVar:{configurable:!0},allowNewDotTarget:{configurable:!0},inClassStaticBlock:{configurable:!0}};T.prototype.parse=function(){var t=this.options.program||this.startNode();return this.nextToken(),this.parseTopLevel(t)};F.inFunction.get=function(){return(this.currentVarScope().flags&Y)>0};F.inGenerator.get=function(){return(this.currentVarScope().flags<)>0&&!this.currentVarScope().inClassFieldInit};F.inAsync.get=function(){return(this.currentVarScope().flags&Be)>0&&!this.currentVarScope().inClassFieldInit};F.canAwait.get=function(){for(var e=this.scopeStack.length-1;e>=0;e--){var t=this.scopeStack[e];if(t.inClassFieldInit||t.flags&re)return!1;if(t.flags&Y)return(t.flags&Be)>0}return this.inModule&&this.options.ecmaVersion>=13||this.options.allowAwaitOutsideFunction};F.allowSuper.get=function(){var e=this.currentThisScope(),t=e.flags,i=e.inClassFieldInit;return(t&De)>0||i||this.options.allowSuperOutsideMethod};F.allowDirectSuper.get=function(){return(this.currentThisScope().flags&mt)>0};F.treatFunctionsAsVar.get=function(){return this.treatFunctionsAsVarInScope(this.currentScope())};F.allowNewDotTarget.get=function(){var e=this.currentThisScope(),t=e.flags,i=e.inClassFieldInit;return(t&(Y|re))>0||i};F.inClassStaticBlock.get=function(){return(this.currentVarScope().flags&re)>0};T.extend=function(){for(var t=[],i=arguments.length;i--;)t[i]=arguments[i];for(var s=this,r=0;r=,?^&]/.test(r)||r==="!"&&this.input.charAt(s+1)==="=")}e+=t[0].length,V.lastIndex=e,e+=V.exec(this.input)[0].length,this.input[e]===";"&&e++}};k.eat=function(e){return this.type===e?(this.next(),!0):!1};k.isContextual=function(e){return this.type===a.name&&this.value===e&&!this.containsEsc};k.eatContextual=function(e){return this.isContextual(e)?(this.next(),!0):!1};k.expectContextual=function(e){this.eatContextual(e)||this.unexpected()};k.canInsertSemicolon=function(){return this.type===a.eof||this.type===a.braceR||R.test(this.input.slice(this.lastTokEnd,this.start))};k.insertSemicolon=function(){if(this.canInsertSemicolon())return this.options.onInsertedSemicolon&&this.options.onInsertedSemicolon(this.lastTokEnd,this.lastTokEndLoc),!0};k.semicolon=function(){!this.eat(a.semi)&&!this.insertSemicolon()&&this.unexpected()};k.afterTrailingComma=function(e,t){if(this.type===e)return this.options.onTrailingComma&&this.options.onTrailingComma(this.lastTokStart,this.lastTokStartLoc),t||this.next(),!0};k.expect=function(e){this.eat(e)||this.unexpected()};k.unexpected=function(e){this.raise(e??this.start,"Unexpected token")};var ge=function(){this.shorthandAssign=this.trailingComma=this.parenthesizedAssign=this.parenthesizedBind=this.doubleProto=-1};k.checkPatternErrors=function(e,t){if(e){e.trailingComma>-1&&this.raiseRecoverable(e.trailingComma,"Comma is not permitted after the rest element");var i=t?e.parenthesizedAssign:e.parenthesizedBind;i>-1&&this.raiseRecoverable(i,t?"Assigning to rvalue":"Parenthesized pattern")}};k.checkExpressionErrors=function(e,t){if(!e)return!1;var i=e.shorthandAssign,s=e.doubleProto;if(!t)return i>=0||s>=0;i>=0&&this.raise(i,"Shorthand property assignments are valid only in destructuring patterns"),s>=0&&this.raiseRecoverable(s,"Redefinition of __proto__ property")};k.checkYieldAwaitInDefaultParams=function(){this.yieldPos&&(!this.awaitPos||this.yieldPos55295&&s<56320)return!0;if(U(s,!0)){for(var r=i+1;z(s=this.input.charCodeAt(r),!0);)++r;if(s===92||s>55295&&s<56320)return!0;var n=this.input.slice(i,r);if(!Ti.test(n))return!0}return!1};f.isAsyncFunction=function(){if(this.options.ecmaVersion<8||!this.isContextual("async"))return!1;V.lastIndex=this.pos;var e=V.exec(this.input),t=this.pos+e[0].length,i;return!R.test(this.input.slice(this.pos,t))&&this.input.slice(t,t+8)==="function"&&(t+8===this.input.length||!(z(i=this.input.charCodeAt(t+8))||i>55295&&i<56320))};f.parseStatement=function(e,t,i){var s=this.type,r=this.startNode(),n;switch(this.isLet(e)&&(s=a._var,n="let"),s){case a._break:case a._continue:return this.parseBreakContinueStatement(r,s.keyword);case a._debugger:return this.parseDebuggerStatement(r);case a._do:return this.parseDoStatement(r);case a._for:return this.parseForStatement(r);case a._function:return e&&(this.strict||e!=="if"&&e!=="label")&&this.options.ecmaVersion>=6&&this.unexpected(),this.parseFunctionStatement(r,!1,!e);case a._class:return e&&this.unexpected(),this.parseClass(r,!0);case a._if:return this.parseIfStatement(r);case a._return:return this.parseReturnStatement(r);case a._switch:return this.parseSwitchStatement(r);case a._throw:return this.parseThrowStatement(r);case a._try:return this.parseTryStatement(r);case a._const:case a._var:return n=n||this.value,e&&n!=="var"&&this.unexpected(),this.parseVarStatement(r,n);case a._while:return this.parseWhileStatement(r);case a._with:return this.parseWithStatement(r);case a.braceL:return this.parseBlock(!0,r);case a.semi:return this.parseEmptyStatement(r);case a._export:case a._import:if(this.options.ecmaVersion>10&&s===a._import){V.lastIndex=this.pos;var o=V.exec(this.input),u=this.pos+o[0].length,p=this.input.charCodeAt(u);if(p===40||p===46)return this.parseExpressionStatement(r,this.parseExpression())}return this.options.allowImportExportEverywhere||(t||this.raise(this.start,"'import' and 'export' may only appear at the top level"),this.inModule||this.raise(this.start,"'import' and 'export' may appear only with 'sourceType: module'")),s===a._import?this.parseImport(r):this.parseExport(r,i);default:if(this.isAsyncFunction())return e&&this.unexpected(),this.next(),this.parseFunctionStatement(r,!0,!e);var d=this.value,l=this.parseExpression();return s===a.name&&l.type==="Identifier"&&this.eat(a.colon)?this.parseLabeledStatement(r,d,l,e):this.parseExpressionStatement(r,l)}};f.parseBreakContinueStatement=function(e,t){var i=t==="break";this.next(),this.eat(a.semi)||this.insertSemicolon()?e.label=null:this.type!==a.name?this.unexpected():(e.label=this.parseIdent(),this.semicolon());for(var s=0;s=6?this.eat(a.semi):this.semicolon(),this.finishNode(e,"DoWhileStatement")};f.parseForStatement=function(e){this.next();var t=this.options.ecmaVersion>=9&&this.canAwait&&this.eatContextual("await")?this.lastTokStart:-1;if(this.labels.push(Ue),this.enterScope(0),this.expect(a.parenL),this.type===a.semi)return t>-1&&this.unexpected(t),this.parseFor(e,null);var i=this.isLet();if(this.type===a._var||this.type===a._const||i){var s=this.startNode(),r=i?"let":this.value;return this.next(),this.parseVar(s,!0,r),this.finishNode(s,"VariableDeclaration"),(this.type===a._in||this.options.ecmaVersion>=6&&this.isContextual("of"))&&s.declarations.length===1?(this.options.ecmaVersion>=9&&(this.type===a._in?t>-1&&this.unexpected(t):e.await=t>-1),this.parseForIn(e,s)):(t>-1&&this.unexpected(t),this.parseFor(e,s))}var n=this.isContextual("let"),o=!1,u=this.containsEsc,p=new ge,d=this.start,l=t>-1?this.parseExprSubscripts(p,"await"):this.parseExpression(!0,p);return this.type===a._in||(o=this.options.ecmaVersion>=6&&this.isContextual("of"))?(t>-1?(this.type===a._in&&this.unexpected(t),e.await=!0):o&&this.options.ecmaVersion>=8&&(l.start===d&&!u&&l.type==="Identifier"&&l.name==="async"?this.unexpected():this.options.ecmaVersion>=9&&(e.await=!1)),n&&o&&this.raise(l.start,"The left-hand side of a for-of loop may not start with 'let'."),this.toAssignable(l,!1,p),this.checkLValPattern(l),this.parseForIn(e,l)):(this.checkExpressionErrors(p,!0),t>-1&&this.unexpected(t),this.parseFor(e,l))};f.parseFunctionStatement=function(e,t,i){return this.next(),this.parseFunction(e,ee|(i?0:Le),!1,t)};f.parseIfStatement=function(e){return this.next(),e.test=this.parseParenExpression(),e.consequent=this.parseStatement("if"),e.alternate=this.eat(a._else)?this.parseStatement("if"):null,this.finishNode(e,"IfStatement")};f.parseReturnStatement=function(e){return!this.inFunction&&!this.options.allowReturnOutsideFunction&&this.raise(this.start,"'return' outside of function"),this.next(),this.eat(a.semi)||this.insertSemicolon()?e.argument=null:(e.argument=this.parseExpression(),this.semicolon()),this.finishNode(e,"ReturnStatement")};f.parseSwitchStatement=function(e){this.next(),e.discriminant=this.parseParenExpression(),e.cases=[],this.expect(a.braceL),this.labels.push(Ri),this.enterScope(0);for(var t,i=!1;this.type!==a.braceR;)if(this.type===a._case||this.type===a._default){var s=this.type===a._case;t&&this.finishNode(t,"SwitchCase"),e.cases.push(t=this.startNode()),t.consequent=[],this.next(),s?t.test=this.parseExpression():(i&&this.raiseRecoverable(this.lastTokStart,"Multiple default clauses"),i=!0,t.test=null),this.expect(a.colon)}else t||this.unexpected(),t.consequent.push(this.parseStatement(null));return this.exitScope(),t&&this.finishNode(t,"SwitchCase"),this.next(),this.labels.pop(),this.finishNode(e,"SwitchStatement")};f.parseThrowStatement=function(e){return this.next(),R.test(this.input.slice(this.lastTokEnd,this.start))&&this.raise(this.lastTokEnd,"Illegal newline after throw"),e.argument=this.parseExpression(),this.semicolon(),this.finishNode(e,"ThrowStatement")};var Oi=[];f.parseCatchClauseParam=function(){var e=this.parseBindingAtom(),t=e.type==="Identifier";return this.enterScope(t?dt:0),this.checkLValPattern(e,t?yt:J),this.expect(a.parenR),e};f.parseTryStatement=function(e){if(this.next(),e.block=this.parseBlock(),e.handler=null,this.type===a._catch){var t=this.startNode();this.next(),this.eat(a.parenL)?t.param=this.parseCatchClauseParam():(this.options.ecmaVersion<10&&this.unexpected(),t.param=null,this.enterScope(0)),t.body=this.parseBlock(!1),this.exitScope(),e.handler=this.finishNode(t,"CatchClause")}return e.finalizer=this.eat(a._finally)?this.parseBlock():null,!e.handler&&!e.finalizer&&this.raise(e.start,"Missing catch or finally clause"),this.finishNode(e,"TryStatement")};f.parseVarStatement=function(e,t,i){return this.next(),this.parseVar(e,!1,t,i),this.semicolon(),this.finishNode(e,"VariableDeclaration")};f.parseWhileStatement=function(e){return this.next(),e.test=this.parseParenExpression(),this.labels.push(Ue),e.body=this.parseStatement("while"),this.labels.pop(),this.finishNode(e,"WhileStatement")};f.parseWithStatement=function(e){return this.strict&&this.raise(this.start,"'with' in strict mode"),this.next(),e.object=this.parseParenExpression(),e.body=this.parseStatement("with"),this.finishNode(e,"WithStatement")};f.parseEmptyStatement=function(e){return this.next(),this.finishNode(e,"EmptyStatement")};f.parseLabeledStatement=function(e,t,i,s){for(var r=0,n=this.labels;r=0;p--){var d=this.labels[p];if(d.statementStart===e.start)d.statementStart=this.start,d.kind=u;else break}return this.labels.push({name:t,kind:u,statementStart:this.start}),e.body=this.parseStatement(s?s.indexOf("label")===-1?s+"label":s:"label"),this.labels.pop(),e.label=i,this.finishNode(e,"LabeledStatement")};f.parseExpressionStatement=function(e,t){return e.expression=t,this.semicolon(),this.finishNode(e,"ExpressionStatement")};f.parseBlock=function(e,t,i){for(e===void 0&&(e=!0),t===void 0&&(t=this.startNode()),t.body=[],this.expect(a.braceL),e&&this.enterScope(0);this.type!==a.braceR;){var s=this.parseStatement(null);t.body.push(s)}return i&&(this.strict=!1),this.next(),e&&this.exitScope(),this.finishNode(t,"BlockStatement")};f.parseFor=function(e,t){return e.init=t,this.expect(a.semi),e.test=this.type===a.semi?null:this.parseExpression(),this.expect(a.semi),e.update=this.type===a.parenR?null:this.parseExpression(),this.expect(a.parenR),e.body=this.parseStatement("for"),this.exitScope(),this.labels.pop(),this.finishNode(e,"ForStatement")};f.parseForIn=function(e,t){var i=this.type===a._in;return this.next(),t.type==="VariableDeclaration"&&t.declarations[0].init!=null&&(!i||this.options.ecmaVersion<8||this.strict||t.kind!=="var"||t.declarations[0].id.type!=="Identifier")&&this.raise(t.start,(i?"for-in":"for-of")+" loop variable declaration may not have an initializer"),e.left=t,e.right=i?this.parseExpression():this.parseMaybeAssign(),this.expect(a.parenR),e.body=this.parseStatement("for"),this.exitScope(),this.labels.pop(),this.finishNode(e,i?"ForInStatement":"ForOfStatement")};f.parseVar=function(e,t,i,s){for(e.declarations=[],e.kind=i;;){var r=this.startNode();if(this.parseVarId(r,i),this.eat(a.eq)?r.init=this.parseMaybeAssign(t):!s&&i==="const"&&!(this.type===a._in||this.options.ecmaVersion>=6&&this.isContextual("of"))?this.unexpected():!s&&r.id.type!=="Identifier"&&!(t&&(this.type===a._in||this.isContextual("of")))?this.raise(this.lastTokEnd,"Complex binding patterns require an initialization value"):r.init=null,e.declarations.push(this.finishNode(r,"VariableDeclarator")),!this.eat(a.comma))break}return e};f.parseVarId=function(e,t){e.id=this.parseBindingAtom(),this.checkLValPattern(e.id,t==="var"?je:J,!1)};var ee=1,Le=2,vt=4;f.parseFunction=function(e,t,i,s,r){this.initFunction(e),(this.options.ecmaVersion>=9||this.options.ecmaVersion>=6&&!s)&&(this.type===a.star&&t&Le&&this.unexpected(),e.generator=this.eat(a.star)),this.options.ecmaVersion>=8&&(e.async=!!s),t&ee&&(e.id=t&vt&&this.type!==a.name?null:this.parseIdent(),e.id&&!(t&Le)&&this.checkLValSimple(e.id,this.strict||e.generator||e.async?this.treatFunctionsAsVar?je:J:xt));var n=this.yieldPos,o=this.awaitPos,u=this.awaitIdentPos;return this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0,this.enterScope(Me(e.async,e.generator)),t&ee||(e.id=this.type===a.name?this.parseIdent():null),this.parseFunctionParams(e),this.parseFunctionBody(e,i,!1,r),this.yieldPos=n,this.awaitPos=o,this.awaitIdentPos=u,this.finishNode(e,t&ee?"FunctionDeclaration":"FunctionExpression")};f.parseFunctionParams=function(e){this.expect(a.parenL),e.params=this.parseBindingList(a.parenR,!1,this.options.ecmaVersion>=8),this.checkYieldAwaitInDefaultParams()};f.parseClass=function(e,t){this.next();var i=this.strict;this.strict=!0,this.parseClassId(e,t),this.parseClassSuper(e);var s=this.enterClassBody(),r=this.startNode(),n=!1;for(r.body=[],this.expect(a.braceL);this.type!==a.braceR;){var o=this.parseClassElement(e.superClass!==null);o&&(r.body.push(o),o.type==="MethodDefinition"&&o.kind==="constructor"?(n&&this.raiseRecoverable(o.start,"Duplicate constructor in the same class"),n=!0):o.key&&o.key.type==="PrivateIdentifier"&&Bi(s,o)&&this.raiseRecoverable(o.key.start,"Identifier '#"+o.key.name+"' has already been declared"))}return this.strict=i,this.next(),e.body=this.finishNode(r,"ClassBody"),this.exitClassBody(),this.finishNode(e,t?"ClassDeclaration":"ClassExpression")};f.parseClassElement=function(e){if(this.eat(a.semi))return null;var t=this.options.ecmaVersion,i=this.startNode(),s="",r=!1,n=!1,o="method",u=!1;if(this.eatContextual("static")){if(t>=13&&this.eat(a.braceL))return this.parseClassStaticBlock(i),i;this.isClassElementNameStart()||this.type===a.star?u=!0:s="static"}if(i.static=u,!s&&t>=8&&this.eatContextual("async")&&((this.isClassElementNameStart()||this.type===a.star)&&!this.canInsertSemicolon()?n=!0:s="async"),!s&&(t>=9||!n)&&this.eat(a.star)&&(r=!0),!s&&!n&&!r){var p=this.value;(this.eatContextual("get")||this.eatContextual("set"))&&(this.isClassElementNameStart()?o=p:s=p)}if(s?(i.computed=!1,i.key=this.startNodeAt(this.lastTokStart,this.lastTokStartLoc),i.key.name=s,this.finishNode(i.key,"Identifier")):this.parseClassElementName(i),t<13||this.type===a.parenL||o!=="method"||r||n){var d=!i.static&&de(i,"constructor"),l=d&&e;d&&o!=="method"&&this.raise(i.key.start,"Constructor can't have get/set modifier"),i.kind=d?"constructor":o,this.parseClassMethod(i,r,n,l)}else this.parseClassField(i);return i};f.isClassElementNameStart=function(){return this.type===a.name||this.type===a.privateId||this.type===a.num||this.type===a.string||this.type===a.bracketL||this.type.keyword};f.parseClassElementName=function(e){this.type===a.privateId?(this.value==="constructor"&&this.raise(this.start,"Classes can't have an element named '#constructor'"),e.computed=!1,e.key=this.parsePrivateIdent()):this.parsePropertyName(e)};f.parseClassMethod=function(e,t,i,s){var r=e.key;e.kind==="constructor"?(t&&this.raise(r.start,"Constructor can't be a generator"),i&&this.raise(r.start,"Constructor can't be an async method")):e.static&&de(e,"prototype")&&this.raise(r.start,"Classes may not have a static property named prototype");var n=e.value=this.parseMethod(t,i,s);return e.kind==="get"&&n.params.length!==0&&this.raiseRecoverable(n.start,"getter should have no params"),e.kind==="set"&&n.params.length!==1&&this.raiseRecoverable(n.start,"setter should have exactly one param"),e.kind==="set"&&n.params[0].type==="RestElement"&&this.raiseRecoverable(n.params[0].start,"Setter cannot use rest params"),this.finishNode(e,"MethodDefinition")};f.parseClassField=function(e){if(de(e,"constructor")?this.raise(e.key.start,"Classes can't have a field named 'constructor'"):e.static&&de(e,"prototype")&&this.raise(e.key.start,"Classes can't have a static field named 'prototype'"),this.eat(a.eq)){var t=this.currentThisScope(),i=t.inClassFieldInit;t.inClassFieldInit=!0,e.value=this.parseMaybeAssign(),t.inClassFieldInit=i}else e.value=null;return this.semicolon(),this.finishNode(e,"PropertyDefinition")};f.parseClassStaticBlock=function(e){e.body=[];var t=this.labels;for(this.labels=[],this.enterScope(re|De);this.type!==a.braceR;){var i=this.parseStatement(null);e.body.push(i)}return this.next(),this.exitScope(),this.labels=t,this.finishNode(e,"StaticBlock")};f.parseClassId=function(e,t){this.type===a.name?(e.id=this.parseIdent(),t&&this.checkLValSimple(e.id,J,!1)):(t===!0&&this.unexpected(),e.id=null)};f.parseClassSuper=function(e){e.superClass=this.eat(a._extends)?this.parseExprSubscripts(null,!1):null};f.enterClassBody=function(){var e={declared:Object.create(null),used:[]};return this.privateNameStack.push(e),e.declared};f.exitClassBody=function(){var e=this.privateNameStack.pop(),t=e.declared,i=e.used;if(this.options.checkPrivateFields)for(var s=this.privateNameStack.length,r=s===0?null:this.privateNameStack[s-1],n=0;n=11&&(this.eatContextual("as")?(e.exported=this.parseModuleExportName(),this.checkExport(t,e.exported,this.lastTokStart)):e.exported=null),this.expectContextual("from"),this.type!==a.string&&this.unexpected(),e.source=this.parseExprAtom(),this.semicolon(),this.finishNode(e,"ExportAllDeclaration")};f.parseExport=function(e,t){if(this.next(),this.eat(a.star))return this.parseExportAllDeclaration(e,t);if(this.eat(a._default))return this.checkExport(t,"default",this.lastTokStart),e.declaration=this.parseExportDefaultDeclaration(),this.finishNode(e,"ExportDefaultDeclaration");if(this.shouldParseExportStatement())e.declaration=this.parseExportDeclaration(e),e.declaration.type==="VariableDeclaration"?this.checkVariableExport(t,e.declaration.declarations):this.checkExport(t,e.declaration.id,e.declaration.id.start),e.specifiers=[],e.source=null;else{if(e.declaration=null,e.specifiers=this.parseExportSpecifiers(t),this.eatContextual("from"))this.type!==a.string&&this.unexpected(),e.source=this.parseExprAtom();else{for(var i=0,s=e.specifiers;i=13&&this.type===a.string){var e=this.parseLiteral(this.value);return Ii.test(e.value)&&this.raise(e.start,"An export name cannot include a lone surrogate."),e}return this.parseIdent(!0)};f.adaptDirectivePrologue=function(e){for(var t=0;t=5&&e.type==="ExpressionStatement"&&e.expression.type==="Literal"&&typeof e.expression.value=="string"&&(this.input[e.start]==='"'||this.input[e.start]==="'")};var O=T.prototype;O.toAssignable=function(e,t,i){if(this.options.ecmaVersion>=6&&e)switch(e.type){case"Identifier":this.inAsync&&e.name==="await"&&this.raise(e.start,"Cannot use 'await' as identifier inside an async function");break;case"ObjectPattern":case"ArrayPattern":case"AssignmentPattern":case"RestElement":break;case"ObjectExpression":e.type="ObjectPattern",i&&this.checkPatternErrors(i,!0);for(var s=0,r=e.properties;s=8&&!u&&p.name==="async"&&!this.canInsertSemicolon()&&this.eat(a._function))return this.overrideContext(_.f_expr),this.parseFunction(this.startNodeAt(n,o),0,!1,!0,t);if(r&&!this.canInsertSemicolon()){if(this.eat(a.arrow))return this.parseArrowExpression(this.startNodeAt(n,o),[p],!1,t);if(this.options.ecmaVersion>=8&&p.name==="async"&&this.type===a.name&&!u&&(!this.potentialArrowInForAwait||this.value!=="of"||this.containsEsc))return p=this.parseIdent(!1),(this.canInsertSemicolon()||!this.eat(a.arrow))&&this.unexpected(),this.parseArrowExpression(this.startNodeAt(n,o),[p],!0,t)}return p;case a.regexp:var d=this.value;return s=this.parseLiteral(d.value),s.regex={pattern:d.pattern,flags:d.flags},s;case a.num:case a.string:return this.parseLiteral(this.value);case a._null:case a._true:case a._false:return s=this.startNode(),s.value=this.type===a._null?null:this.type===a._true,s.raw=this.type.keyword,this.next(),this.finishNode(s,"Literal");case a.parenL:var l=this.start,C=this.parseParenAndDistinguishExpression(r,t);return e&&(e.parenthesizedAssign<0&&!this.isSimpleAssignTarget(C)&&(e.parenthesizedAssign=l),e.parenthesizedBind<0&&(e.parenthesizedBind=l)),C;case a.bracketL:return s=this.startNode(),this.next(),s.elements=this.parseExprList(a.bracketR,!0,!0,e),this.finishNode(s,"ArrayExpression");case a.braceL:return this.overrideContext(_.b_expr),this.parseObj(!1,e);case a._function:return s=this.startNode(),this.next(),this.parseFunction(s,0);case a._class:return this.parseClass(this.startNode(),!1);case a._new:return this.parseNew();case a.backQuote:return this.parseTemplate();case a._import:return this.options.ecmaVersion>=11?this.parseExprImport(i):this.unexpected();default:return this.parseExprAtomDefault()}};y.parseExprAtomDefault=function(){this.unexpected()};y.parseExprImport=function(e){var t=this.startNode();if(this.containsEsc&&this.raiseRecoverable(this.start,"Escape sequence in keyword import"),this.next(),this.type===a.parenL&&!e)return this.parseDynamicImport(t);if(this.type===a.dot){var i=this.startNodeAt(t.start,t.loc&&t.loc.start);return i.name="import",t.meta=this.finishNode(i,"Identifier"),this.parseImportMeta(t)}else this.unexpected()};y.parseDynamicImport=function(e){if(this.next(),e.source=this.parseMaybeAssign(),!this.eat(a.parenR)){var t=this.start;this.eat(a.comma)&&this.eat(a.parenR)?this.raiseRecoverable(t,"Trailing comma is not allowed in import()"):this.unexpected(t)}return this.finishNode(e,"ImportExpression")};y.parseImportMeta=function(e){this.next();var t=this.containsEsc;return e.property=this.parseIdent(!0),e.property.name!=="meta"&&this.raiseRecoverable(e.property.start,"The only valid meta property for import is 'import.meta'"),t&&this.raiseRecoverable(e.start,"'import.meta' must not contain escaped characters"),this.options.sourceType!=="module"&&!this.options.allowImportExportEverywhere&&this.raiseRecoverable(e.start,"Cannot use 'import.meta' outside a module"),this.finishNode(e,"MetaProperty")};y.parseLiteral=function(e){var t=this.startNode();return t.value=e,t.raw=this.input.slice(this.start,this.end),t.raw.charCodeAt(t.raw.length-1)===110&&(t.bigint=t.raw.slice(0,-1).replace(/_/g,"")),this.next(),this.finishNode(t,"Literal")};y.parseParenExpression=function(){this.expect(a.parenL);var e=this.parseExpression();return this.expect(a.parenR),e};y.shouldParseArrow=function(e){return!this.canInsertSemicolon()};y.parseParenAndDistinguishExpression=function(e,t){var i=this.start,s=this.startLoc,r,n=this.options.ecmaVersion>=8;if(this.options.ecmaVersion>=6){this.next();var o=this.start,u=this.startLoc,p=[],d=!0,l=!1,C=new ge,B=this.yieldPos,h=this.awaitPos,m;for(this.yieldPos=0,this.awaitPos=0;this.type!==a.parenR;)if(d?d=!1:this.expect(a.comma),n&&this.afterTrailingComma(a.parenR,!0)){l=!0;break}else if(this.type===a.ellipsis){m=this.start,p.push(this.parseParenItem(this.parseRestBinding())),this.type===a.comma&&this.raiseRecoverable(this.start,"Comma is not permitted after the rest element");break}else p.push(this.parseMaybeAssign(!1,C,this.parseParenItem));var x=this.lastTokEnd,g=this.lastTokEndLoc;if(this.expect(a.parenR),e&&this.shouldParseArrow(p)&&this.eat(a.arrow))return this.checkPatternErrors(C,!1),this.checkYieldAwaitInDefaultParams(),this.yieldPos=B,this.awaitPos=h,this.parseParenArrowList(i,s,p,t);(!p.length||l)&&this.unexpected(this.lastTokStart),m&&this.unexpected(m),this.checkExpressionErrors(C,!0),this.yieldPos=B||this.yieldPos,this.awaitPos=h||this.awaitPos,p.length>1?(r=this.startNodeAt(o,u),r.expressions=p,this.finishNodeAt(r,"SequenceExpression",x,g)):r=p[0]}else r=this.parseParenExpression();if(this.options.preserveParens){var w=this.startNodeAt(i,s);return w.expression=r,this.finishNode(w,"ParenthesizedExpression")}else return r};y.parseParenItem=function(e){return e};y.parseParenArrowList=function(e,t,i,s){return this.parseArrowExpression(this.startNodeAt(e,t),i,!1,s)};var Di=[];y.parseNew=function(){this.containsEsc&&this.raiseRecoverable(this.start,"Escape sequence in keyword new");var e=this.startNode();if(this.next(),this.options.ecmaVersion>=6&&this.type===a.dot){var t=this.startNodeAt(e.start,e.loc&&e.loc.start);t.name="new",e.meta=this.finishNode(t,"Identifier"),this.next();var i=this.containsEsc;return e.property=this.parseIdent(!0),e.property.name!=="target"&&this.raiseRecoverable(e.property.start,"The only valid meta property for new is 'new.target'"),i&&this.raiseRecoverable(e.start,"'new.target' must not contain escaped characters"),this.allowNewDotTarget||this.raiseRecoverable(e.start,"'new.target' can only be used in functions and class static block"),this.finishNode(e,"MetaProperty")}var s=this.start,r=this.startLoc;return e.callee=this.parseSubscripts(this.parseExprAtom(null,!1,!0),s,r,!0,!1),this.eat(a.parenL)?e.arguments=this.parseExprList(a.parenR,this.options.ecmaVersion>=8,!1):e.arguments=Di,this.finishNode(e,"NewExpression")};y.parseTemplateElement=function(e){var t=e.isTagged,i=this.startNode();return this.type===a.invalidTemplate?(t||this.raiseRecoverable(this.start,"Bad escape sequence in untagged template literal"),i.value={raw:this.value.replace(/\r\n?/g,` +`),cooked:null}):i.value={raw:this.input.slice(this.start,this.end).replace(/\r\n?/g,` +`),cooked:this.value},this.next(),i.tail=this.type===a.backQuote,this.finishNode(i,"TemplateElement")};y.parseTemplate=function(e){e===void 0&&(e={});var t=e.isTagged;t===void 0&&(t=!1);var i=this.startNode();this.next(),i.expressions=[];var s=this.parseTemplateElement({isTagged:t});for(i.quasis=[s];!s.tail;)this.type===a.eof&&this.raise(this.pos,"Unterminated template literal"),this.expect(a.dollarBraceL),i.expressions.push(this.parseExpression()),this.expect(a.braceR),i.quasis.push(s=this.parseTemplateElement({isTagged:t}));return this.next(),this.finishNode(i,"TemplateLiteral")};y.isAsyncProp=function(e){return!e.computed&&e.key.type==="Identifier"&&e.key.name==="async"&&(this.type===a.name||this.type===a.num||this.type===a.string||this.type===a.bracketL||this.type.keyword||this.options.ecmaVersion>=9&&this.type===a.star)&&!R.test(this.input.slice(this.lastTokEnd,this.start))};y.parseObj=function(e,t){var i=this.startNode(),s=!0,r={};for(i.properties=[],this.next();!this.eat(a.braceR);){if(s)s=!1;else if(this.expect(a.comma),this.options.ecmaVersion>=5&&this.afterTrailingComma(a.braceR))break;var n=this.parseProperty(e,t);e||this.checkPropClash(n,r,t),i.properties.push(n)}return this.finishNode(i,e?"ObjectPattern":"ObjectExpression")};y.parseProperty=function(e,t){var i=this.startNode(),s,r,n,o;if(this.options.ecmaVersion>=9&&this.eat(a.ellipsis))return e?(i.argument=this.parseIdent(!1),this.type===a.comma&&this.raiseRecoverable(this.start,"Comma is not permitted after the rest element"),this.finishNode(i,"RestElement")):(i.argument=this.parseMaybeAssign(!1,t),this.type===a.comma&&t&&t.trailingComma<0&&(t.trailingComma=this.start),this.finishNode(i,"SpreadElement"));this.options.ecmaVersion>=6&&(i.method=!1,i.shorthand=!1,(e||t)&&(n=this.start,o=this.startLoc),e||(s=this.eat(a.star)));var u=this.containsEsc;return this.parsePropertyName(i),!e&&!u&&this.options.ecmaVersion>=8&&!s&&this.isAsyncProp(i)?(r=!0,s=this.options.ecmaVersion>=9&&this.eat(a.star),this.parsePropertyName(i)):r=!1,this.parsePropertyValue(i,e,s,r,n,o,t,u),this.finishNode(i,"Property")};y.parseGetterSetter=function(e){e.kind=e.key.name,this.parsePropertyName(e),e.value=this.parseMethod(!1);var t=e.kind==="get"?0:1;if(e.value.params.length!==t){var i=e.value.start;e.kind==="get"?this.raiseRecoverable(i,"getter should have no params"):this.raiseRecoverable(i,"setter should have exactly one param")}else e.kind==="set"&&e.value.params[0].type==="RestElement"&&this.raiseRecoverable(e.value.params[0].start,"Setter cannot use rest params")};y.parsePropertyValue=function(e,t,i,s,r,n,o,u){(i||s)&&this.type===a.colon&&this.unexpected(),this.eat(a.colon)?(e.value=t?this.parseMaybeDefault(this.start,this.startLoc):this.parseMaybeAssign(!1,o),e.kind="init"):this.options.ecmaVersion>=6&&this.type===a.parenL?(t&&this.unexpected(),e.kind="init",e.method=!0,e.value=this.parseMethod(i,s)):!t&&!u&&this.options.ecmaVersion>=5&&!e.computed&&e.key.type==="Identifier"&&(e.key.name==="get"||e.key.name==="set")&&this.type!==a.comma&&this.type!==a.braceR&&this.type!==a.eq?((i||s)&&this.unexpected(),this.parseGetterSetter(e)):this.options.ecmaVersion>=6&&!e.computed&&e.key.type==="Identifier"?((i||s)&&this.unexpected(),this.checkUnreserved(e.key),e.key.name==="await"&&!this.awaitIdentPos&&(this.awaitIdentPos=r),e.kind="init",t?e.value=this.parseMaybeDefault(r,n,this.copyNode(e.key)):this.type===a.eq&&o?(o.shorthandAssign<0&&(o.shorthandAssign=this.start),e.value=this.parseMaybeDefault(r,n,this.copyNode(e.key))):e.value=this.copyNode(e.key),e.shorthand=!0):this.unexpected()};y.parsePropertyName=function(e){if(this.options.ecmaVersion>=6){if(this.eat(a.bracketL))return e.computed=!0,e.key=this.parseMaybeAssign(),this.expect(a.bracketR),e.key;e.computed=!1}return e.key=this.type===a.num||this.type===a.string?this.parseExprAtom():this.parseIdent(this.options.allowReserved!=="never")};y.initFunction=function(e){e.id=null,this.options.ecmaVersion>=6&&(e.generator=e.expression=!1),this.options.ecmaVersion>=8&&(e.async=!1)};y.parseMethod=function(e,t,i){var s=this.startNode(),r=this.yieldPos,n=this.awaitPos,o=this.awaitIdentPos;return this.initFunction(s),this.options.ecmaVersion>=6&&(s.generator=e),this.options.ecmaVersion>=8&&(s.async=!!t),this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0,this.enterScope(Me(t,s.generator)|De|(i?mt:0)),this.expect(a.parenL),s.params=this.parseBindingList(a.parenR,!1,this.options.ecmaVersion>=8),this.checkYieldAwaitInDefaultParams(),this.parseFunctionBody(s,!1,!0,!1),this.yieldPos=r,this.awaitPos=n,this.awaitIdentPos=o,this.finishNode(s,"FunctionExpression")};y.parseArrowExpression=function(e,t,i,s){var r=this.yieldPos,n=this.awaitPos,o=this.awaitIdentPos;return this.enterScope(Me(i,!1)|ft),this.initFunction(e),this.options.ecmaVersion>=8&&(e.async=!!i),this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0,e.params=this.toAssignableList(t,!0),this.parseFunctionBody(e,!0,!1,s),this.yieldPos=r,this.awaitPos=n,this.awaitIdentPos=o,this.finishNode(e,"ArrowFunctionExpression")};y.parseFunctionBody=function(e,t,i,s){var r=t&&this.type!==a.braceL,n=this.strict,o=!1;if(r)e.body=this.parseMaybeAssign(s),e.expression=!0,this.checkParams(e,!1);else{var u=this.options.ecmaVersion>=7&&!this.isSimpleParamList(e.params);(!n||u)&&(o=this.strictDirective(this.end),o&&u&&this.raiseRecoverable(e.start,"Illegal 'use strict' directive in function with non-simple parameter list"));var p=this.labels;this.labels=[],o&&(this.strict=!0),this.checkParams(e,!n&&!o&&!t&&!i&&this.isSimpleParamList(e.params)),this.strict&&e.id&&this.checkLValSimple(e.id,gt),e.body=this.parseBlock(!1,void 0,o&&!n),e.expression=!1,this.adaptDirectivePrologue(e.body.body),this.labels=p}this.exitScope()};y.isSimpleParamList=function(e){for(var t=0,i=e;t-1||r.functions.indexOf(e)>-1||r.var.indexOf(e)>-1,r.lexical.push(e),this.inModule&&r.flags&ie&&delete this.undefinedExports[e]}else if(t===yt){var n=this.currentScope();n.lexical.push(e)}else if(t===xt){var o=this.currentScope();this.treatFunctionsAsVar?s=o.lexical.indexOf(e)>-1:s=o.lexical.indexOf(e)>-1||o.var.indexOf(e)>-1,o.functions.push(e)}else for(var u=this.scopeStack.length-1;u>=0;--u){var p=this.scopeStack[u];if(p.lexical.indexOf(e)>-1&&!(p.flags&dt&&p.lexical[0]===e)||!this.treatFunctionsAsVarInScope(p)&&p.functions.indexOf(e)>-1){s=!0;break}if(p.var.push(e),this.inModule&&p.flags&ie&&delete this.undefinedExports[e],p.flags&Fe)break}s&&this.raiseRecoverable(i,"Identifier '"+e+"' has already been declared")};X.checkLocalExport=function(e){this.scopeStack[0].lexical.indexOf(e.name)===-1&&this.scopeStack[0].var.indexOf(e.name)===-1&&(this.undefinedExports[e.name]=e)};X.currentScope=function(){return this.scopeStack[this.scopeStack.length-1]};X.currentVarScope=function(){for(var e=this.scopeStack.length-1;;e--){var t=this.scopeStack[e];if(t.flags&Fe)return t}};X.currentThisScope=function(){for(var e=this.scopeStack.length-1;;e--){var t=this.scopeStack[e];if(t.flags&Fe&&!(t.flags&ft))return t}};var ve=function(t,i,s){this.type="",this.start=i,this.end=0,t.options.locations&&(this.loc=new ye(t,s)),t.options.directSourceFile&&(this.sourceFile=t.options.directSourceFile),t.options.ranges&&(this.range=[i,0])},ae=T.prototype;ae.startNode=function(){return new ve(this,this.start,this.startLoc)};ae.startNodeAt=function(e,t){return new ve(this,e,t)};function St(e,t,i,s){return e.type=t,e.end=i,this.options.locations&&(e.loc.end=s),this.options.ranges&&(e.range[1]=i),e}ae.finishNode=function(e,t){return St.call(this,e,t,this.lastTokEnd,this.lastTokEndLoc)};ae.finishNodeAt=function(e,t,i,s){return St.call(this,e,t,i,s)};ae.copyNode=function(e){var t=new ve(this,e.start,this.startLoc);for(var i in e)t[i]=e[i];return t};var Ct="ASCII ASCII_Hex_Digit AHex Alphabetic Alpha Any Assigned Bidi_Control Bidi_C Bidi_Mirrored Bidi_M Case_Ignorable CI Cased Changes_When_Casefolded CWCF Changes_When_Casemapped CWCM Changes_When_Lowercased CWL Changes_When_NFKC_Casefolded CWKCF Changes_When_Titlecased CWT Changes_When_Uppercased CWU Dash Default_Ignorable_Code_Point DI Deprecated Dep Diacritic Dia Emoji Emoji_Component Emoji_Modifier Emoji_Modifier_Base Emoji_Presentation Extender Ext Grapheme_Base Gr_Base Grapheme_Extend Gr_Ext Hex_Digit Hex IDS_Binary_Operator IDSB IDS_Trinary_Operator IDST ID_Continue IDC ID_Start IDS Ideographic Ideo Join_Control Join_C Logical_Order_Exception LOE Lowercase Lower Math Noncharacter_Code_Point NChar Pattern_Syntax Pat_Syn Pattern_White_Space Pat_WS Quotation_Mark QMark Radical Regional_Indicator RI Sentence_Terminal STerm Soft_Dotted SD Terminal_Punctuation Term Unified_Ideograph UIdeo Uppercase Upper Variation_Selector VS White_Space space XID_Continue XIDC XID_Start XIDS",_t=Ct+" Extended_Pictographic",Tt=_t,kt=Tt+" EBase EComp EMod EPres ExtPict",Et=kt,Mi=Et,ji={9:Ct,10:_t,11:Tt,12:kt,13:Et,14:Mi},Ui="Basic_Emoji Emoji_Keycap_Sequence RGI_Emoji_Modifier_Sequence RGI_Emoji_Flag_Sequence RGI_Emoji_Tag_Sequence RGI_Emoji_ZWJ_Sequence RGI_Emoji",qi={9:"",10:"",11:"",12:"",13:"",14:Ui},rt="Cased_Letter LC Close_Punctuation Pe Connector_Punctuation Pc Control Cc cntrl Currency_Symbol Sc Dash_Punctuation Pd Decimal_Number Nd digit Enclosing_Mark Me Final_Punctuation Pf Format Cf Initial_Punctuation Pi Letter L Letter_Number Nl Line_Separator Zl Lowercase_Letter Ll Mark M Combining_Mark Math_Symbol Sm Modifier_Letter Lm Modifier_Symbol Sk Nonspacing_Mark Mn Number N Open_Punctuation Ps Other C Other_Letter Lo Other_Number No Other_Punctuation Po Other_Symbol So Paragraph_Separator Zp Private_Use Co Punctuation P punct Separator Z Space_Separator Zs Spacing_Mark Mc Surrogate Cs Symbol S Titlecase_Letter Lt Unassigned Cn Uppercase_Letter Lu",wt="Adlam Adlm Ahom Anatolian_Hieroglyphs Hluw Arabic Arab Armenian Armn Avestan Avst Balinese Bali Bamum Bamu Bassa_Vah Bass Batak Batk Bengali Beng Bhaiksuki Bhks Bopomofo Bopo Brahmi Brah Braille Brai Buginese Bugi Buhid Buhd Canadian_Aboriginal Cans Carian Cari Caucasian_Albanian Aghb Chakma Cakm Cham Cham Cherokee Cher Common Zyyy Coptic Copt Qaac Cuneiform Xsux Cypriot Cprt Cyrillic Cyrl Deseret Dsrt Devanagari Deva Duployan Dupl Egyptian_Hieroglyphs Egyp Elbasan Elba Ethiopic Ethi Georgian Geor Glagolitic Glag Gothic Goth Grantha Gran Greek Grek Gujarati Gujr Gurmukhi Guru Han Hani Hangul Hang Hanunoo Hano Hatran Hatr Hebrew Hebr Hiragana Hira Imperial_Aramaic Armi Inherited Zinh Qaai Inscriptional_Pahlavi Phli Inscriptional_Parthian Prti Javanese Java Kaithi Kthi Kannada Knda Katakana Kana Kayah_Li Kali Kharoshthi Khar Khmer Khmr Khojki Khoj Khudawadi Sind Lao Laoo Latin Latn Lepcha Lepc Limbu Limb Linear_A Lina Linear_B Linb Lisu Lisu Lycian Lyci Lydian Lydi Mahajani Mahj Malayalam Mlym Mandaic Mand Manichaean Mani Marchen Marc Masaram_Gondi Gonm Meetei_Mayek Mtei Mende_Kikakui Mend Meroitic_Cursive Merc Meroitic_Hieroglyphs Mero Miao Plrd Modi Mongolian Mong Mro Mroo Multani Mult Myanmar Mymr Nabataean Nbat New_Tai_Lue Talu Newa Newa Nko Nkoo Nushu Nshu Ogham Ogam Ol_Chiki Olck Old_Hungarian Hung Old_Italic Ital Old_North_Arabian Narb Old_Permic Perm Old_Persian Xpeo Old_South_Arabian Sarb Old_Turkic Orkh Oriya Orya Osage Osge Osmanya Osma Pahawh_Hmong Hmng Palmyrene Palm Pau_Cin_Hau Pauc Phags_Pa Phag Phoenician Phnx Psalter_Pahlavi Phlp Rejang Rjng Runic Runr Samaritan Samr Saurashtra Saur Sharada Shrd Shavian Shaw Siddham Sidd SignWriting Sgnw Sinhala Sinh Sora_Sompeng Sora Soyombo Soyo Sundanese Sund Syloti_Nagri Sylo Syriac Syrc Tagalog Tglg Tagbanwa Tagb Tai_Le Tale Tai_Tham Lana Tai_Viet Tavt Takri Takr Tamil Taml Tangut Tang Telugu Telu Thaana Thaa Thai Thai Tibetan Tibt Tifinagh Tfng Tirhuta Tirh Ugaritic Ugar Vai Vaii Warang_Citi Wara Yi Yiii Zanabazar_Square Zanb",At=wt+" Dogra Dogr Gunjala_Gondi Gong Hanifi_Rohingya Rohg Makasar Maka Medefaidrin Medf Old_Sogdian Sogo Sogdian Sogd",Pt=At+" Elymaic Elym Nandinagari Nand Nyiakeng_Puachue_Hmong Hmnp Wancho Wcho",It=Pt+" Chorasmian Chrs Diak Dives_Akuru Khitan_Small_Script Kits Yezi Yezidi",Nt=It+" Cypro_Minoan Cpmn Old_Uyghur Ougr Tangsa Tnsa Toto Vithkuqi Vith",Ji=Nt+" Hrkt Katakana_Or_Hiragana Kawi Nag_Mundari Nagm Unknown Zzzz",Gi={9:wt,10:At,11:Pt,12:It,13:Nt,14:Ji},Vt={};function Ki(e){var t=Vt[e]={binary:G(ji[e]+" "+rt),binaryOfStrings:G(qi[e]),nonBinary:{General_Category:G(rt),Script:G(Gi[e])}};t.nonBinary.Script_Extensions=t.nonBinary.Script,t.nonBinary.gc=t.nonBinary.General_Category,t.nonBinary.sc=t.nonBinary.Script,t.nonBinary.scx=t.nonBinary.Script_Extensions}for(le=0,Ie=[9,10,11,12,13,14];le=6?"uy":"")+(t.options.ecmaVersion>=9?"s":"")+(t.options.ecmaVersion>=13?"d":"")+(t.options.ecmaVersion>=15?"v":""),this.unicodeProperties=Vt[t.options.ecmaVersion>=14?14:t.options.ecmaVersion],this.source="",this.flags="",this.start=0,this.switchU=!1,this.switchV=!1,this.switchN=!1,this.pos=0,this.lastIntValue=0,this.lastStringValue="",this.lastAssertionIsQuantifiable=!1,this.numCapturingParens=0,this.maxBackReference=0,this.groupNames=Object.create(null),this.backReferenceNames=[],this.branchID=null};M.prototype.reset=function(t,i,s){var r=s.indexOf("v")!==-1,n=s.indexOf("u")!==-1;this.start=t|0,this.source=i+"",this.flags=s,r&&this.parser.options.ecmaVersion>=15?(this.switchU=!0,this.switchV=!0,this.switchN=!0):(this.switchU=n&&this.parser.options.ecmaVersion>=6,this.switchV=!1,this.switchN=n&&this.parser.options.ecmaVersion>=9)};M.prototype.raise=function(t){this.parser.raiseRecoverable(this.start,"Invalid regular expression: /"+this.source+"/: "+t)};M.prototype.at=function(t,i){i===void 0&&(i=!1);var s=this.source,r=s.length;if(t>=r)return-1;var n=s.charCodeAt(t);if(!(i||this.switchU)||n<=55295||n>=57344||t+1>=r)return n;var o=s.charCodeAt(t+1);return o>=56320&&o<=57343?(n<<10)+o-56613888:n};M.prototype.nextIndex=function(t,i){i===void 0&&(i=!1);var s=this.source,r=s.length;if(t>=r)return r;var n=s.charCodeAt(t),o;return!(i||this.switchU)||n<=55295||n>=57344||t+1>=r||(o=s.charCodeAt(t+1))<56320||o>57343?t+1:t+2};M.prototype.current=function(t){return t===void 0&&(t=!1),this.at(this.pos,t)};M.prototype.lookahead=function(t){return t===void 0&&(t=!1),this.at(this.nextIndex(this.pos,t),t)};M.prototype.advance=function(t){t===void 0&&(t=!1),this.pos=this.nextIndex(this.pos,t)};M.prototype.eat=function(t,i){return i===void 0&&(i=!1),this.current(i)===t?(this.advance(i),!0):!1};M.prototype.eatChars=function(t,i){i===void 0&&(i=!1);for(var s=this.pos,r=0,n=t;r-1&&this.raise(e.start,"Duplicate regular expression flag"),o==="u"&&(s=!0),o==="v"&&(r=!0)}this.options.ecmaVersion>=15&&s&&r&&this.raise(e.start,"Invalid regular expression flag")};function Xi(e){for(var t in e)return!0;return!1}c.validateRegExpPattern=function(e){this.regexp_pattern(e),!e.switchN&&this.options.ecmaVersion>=9&&Xi(e.groupNames)&&(e.switchN=!0,this.regexp_pattern(e))};c.regexp_pattern=function(e){e.pos=0,e.lastIntValue=0,e.lastStringValue="",e.lastAssertionIsQuantifiable=!1,e.numCapturingParens=0,e.maxBackReference=0,e.groupNames=Object.create(null),e.backReferenceNames.length=0,e.branchID=null,this.regexp_disjunction(e),e.pos!==e.source.length&&(e.eat(41)&&e.raise("Unmatched ')'"),(e.eat(93)||e.eat(125))&&e.raise("Lone quantifier brackets")),e.maxBackReference>e.numCapturingParens&&e.raise("Invalid escape");for(var t=0,i=e.backReferenceNames;t=16;for(t&&(e.branchID=new xe(e.branchID,null)),this.regexp_alternative(e);e.eat(124);)t&&(e.branchID=e.branchID.sibling()),this.regexp_alternative(e);t&&(e.branchID=e.branchID.parent),this.regexp_eatQuantifier(e,!0)&&e.raise("Nothing to repeat"),e.eat(123)&&e.raise("Lone quantifier brackets")};c.regexp_alternative=function(e){for(;e.pos=9&&(i=e.eat(60)),e.eat(61)||e.eat(33))return this.regexp_disjunction(e),e.eat(41)||e.raise("Unterminated group"),e.lastAssertionIsQuantifiable=!i,!0}return e.pos=t,!1};c.regexp_eatQuantifier=function(e,t){return t===void 0&&(t=!1),this.regexp_eatQuantifierPrefix(e,t)?(e.eat(63),!0):!1};c.regexp_eatQuantifierPrefix=function(e,t){return e.eat(42)||e.eat(43)||e.eat(63)||this.regexp_eatBracedQuantifier(e,t)};c.regexp_eatBracedQuantifier=function(e,t){var i=e.pos;if(e.eat(123)){var s=0,r=-1;if(this.regexp_eatDecimalDigits(e)&&(s=e.lastIntValue,e.eat(44)&&this.regexp_eatDecimalDigits(e)&&(r=e.lastIntValue),e.eat(125)))return r!==-1&&r=9?this.regexp_groupSpecifier(e):e.current()===63&&e.raise("Invalid group"),this.regexp_disjunction(e),e.eat(41))return e.numCapturingParens+=1,!0;e.raise("Unterminated group")}return!1};c.regexp_eatExtendedAtom=function(e){return e.eat(46)||this.regexp_eatReverseSolidusAtomEscape(e)||this.regexp_eatCharacterClass(e)||this.regexp_eatUncapturingGroup(e)||this.regexp_eatCapturingGroup(e)||this.regexp_eatInvalidBracedQuantifier(e)||this.regexp_eatExtendedPatternCharacter(e)};c.regexp_eatInvalidBracedQuantifier=function(e){return this.regexp_eatBracedQuantifier(e,!0)&&e.raise("Nothing to repeat"),!1};c.regexp_eatSyntaxCharacter=function(e){var t=e.current();return Lt(t)?(e.lastIntValue=t,e.advance(),!0):!1};function Lt(e){return e===36||e>=40&&e<=43||e===46||e===63||e>=91&&e<=94||e>=123&&e<=125}c.regexp_eatPatternCharacters=function(e){for(var t=e.pos,i=0;(i=e.current())!==-1&&!Lt(i);)e.advance();return e.pos!==t};c.regexp_eatExtendedPatternCharacter=function(e){var t=e.current();return t!==-1&&t!==36&&!(t>=40&&t<=43)&&t!==46&&t!==63&&t!==91&&t!==94&&t!==124?(e.advance(),!0):!1};c.regexp_groupSpecifier=function(e){if(e.eat(63)){this.regexp_eatGroupName(e)||e.raise("Invalid group");var t=this.options.ecmaVersion>=16,i=e.groupNames[e.lastStringValue];if(i)if(t)for(var s=0,r=i;s=11,s=e.current(i);return e.advance(i),s===92&&this.regexp_eatRegExpUnicodeEscapeSequence(e,i)&&(s=e.lastIntValue),Wi(s)?(e.lastIntValue=s,!0):(e.pos=t,!1)};function Wi(e){return U(e,!0)||e===36||e===95}c.regexp_eatRegExpIdentifierPart=function(e){var t=e.pos,i=this.options.ecmaVersion>=11,s=e.current(i);return e.advance(i),s===92&&this.regexp_eatRegExpUnicodeEscapeSequence(e,i)&&(s=e.lastIntValue),Hi(s)?(e.lastIntValue=s,!0):(e.pos=t,!1)};function Hi(e){return z(e,!0)||e===36||e===95||e===8204||e===8205}c.regexp_eatAtomEscape=function(e){return this.regexp_eatBackReference(e)||this.regexp_eatCharacterClassEscape(e)||this.regexp_eatCharacterEscape(e)||e.switchN&&this.regexp_eatKGroupName(e)?!0:(e.switchU&&(e.current()===99&&e.raise("Invalid unicode escape"),e.raise("Invalid escape")),!1)};c.regexp_eatBackReference=function(e){var t=e.pos;if(this.regexp_eatDecimalEscape(e)){var i=e.lastIntValue;if(e.switchU)return i>e.maxBackReference&&(e.maxBackReference=i),!0;if(i<=e.numCapturingParens)return!0;e.pos=t}return!1};c.regexp_eatKGroupName=function(e){if(e.eat(107)){if(this.regexp_eatGroupName(e))return e.backReferenceNames.push(e.lastStringValue),!0;e.raise("Invalid named reference")}return!1};c.regexp_eatCharacterEscape=function(e){return this.regexp_eatControlEscape(e)||this.regexp_eatCControlLetter(e)||this.regexp_eatZero(e)||this.regexp_eatHexEscapeSequence(e)||this.regexp_eatRegExpUnicodeEscapeSequence(e,!1)||!e.switchU&&this.regexp_eatLegacyOctalEscapeSequence(e)||this.regexp_eatIdentityEscape(e)};c.regexp_eatCControlLetter=function(e){var t=e.pos;if(e.eat(99)){if(this.regexp_eatControlLetter(e))return!0;e.pos=t}return!1};c.regexp_eatZero=function(e){return e.current()===48&&!be(e.lookahead())?(e.lastIntValue=0,e.advance(),!0):!1};c.regexp_eatControlEscape=function(e){var t=e.current();return t===116?(e.lastIntValue=9,e.advance(),!0):t===110?(e.lastIntValue=10,e.advance(),!0):t===118?(e.lastIntValue=11,e.advance(),!0):t===102?(e.lastIntValue=12,e.advance(),!0):t===114?(e.lastIntValue=13,e.advance(),!0):!1};c.regexp_eatControlLetter=function(e){var t=e.current();return Rt(t)?(e.lastIntValue=t%32,e.advance(),!0):!1};function Rt(e){return e>=65&&e<=90||e>=97&&e<=122}c.regexp_eatRegExpUnicodeEscapeSequence=function(e,t){t===void 0&&(t=!1);var i=e.pos,s=t||e.switchU;if(e.eat(117)){if(this.regexp_eatFixedHexDigits(e,4)){var r=e.lastIntValue;if(s&&r>=55296&&r<=56319){var n=e.pos;if(e.eat(92)&&e.eat(117)&&this.regexp_eatFixedHexDigits(e,4)){var o=e.lastIntValue;if(o>=56320&&o<=57343)return e.lastIntValue=(r-55296)*1024+(o-56320)+65536,!0}e.pos=n,e.lastIntValue=r}return!0}if(s&&e.eat(123)&&this.regexp_eatHexDigits(e)&&e.eat(125)&&zi(e.lastIntValue))return!0;s&&e.raise("Invalid unicode escape"),e.pos=i}return!1};function zi(e){return e>=0&&e<=1114111}c.regexp_eatIdentityEscape=function(e){if(e.switchU)return this.regexp_eatSyntaxCharacter(e)?!0:e.eat(47)?(e.lastIntValue=47,!0):!1;var t=e.current();return t!==99&&(!e.switchN||t!==107)?(e.lastIntValue=t,e.advance(),!0):!1};c.regexp_eatDecimalEscape=function(e){e.lastIntValue=0;var t=e.current();if(t>=49&&t<=57){do e.lastIntValue=10*e.lastIntValue+(t-48),e.advance();while((t=e.current())>=48&&t<=57);return!0}return!1};var Ot=0,q=1,L=2;c.regexp_eatCharacterClassEscape=function(e){var t=e.current();if(Qi(t))return e.lastIntValue=-1,e.advance(),q;var i=!1;if(e.switchU&&this.options.ecmaVersion>=9&&((i=t===80)||t===112)){e.lastIntValue=-1,e.advance();var s;if(e.eat(123)&&(s=this.regexp_eatUnicodePropertyValueExpression(e))&&e.eat(125))return i&&s===L&&e.raise("Invalid property name"),s;e.raise("Invalid property name")}return Ot};function Qi(e){return e===100||e===68||e===115||e===83||e===119||e===87}c.regexp_eatUnicodePropertyValueExpression=function(e){var t=e.pos;if(this.regexp_eatUnicodePropertyName(e)&&e.eat(61)){var i=e.lastStringValue;if(this.regexp_eatUnicodePropertyValue(e)){var s=e.lastStringValue;return this.regexp_validateUnicodePropertyNameAndValue(e,i,s),q}}if(e.pos=t,this.regexp_eatLoneUnicodePropertyNameOrValue(e)){var r=e.lastStringValue;return this.regexp_validateUnicodePropertyNameOrValue(e,r)}return Ot};c.regexp_validateUnicodePropertyNameAndValue=function(e,t,i){se(e.unicodeProperties.nonBinary,t)||e.raise("Invalid property name"),e.unicodeProperties.nonBinary[t].test(i)||e.raise("Invalid property value")};c.regexp_validateUnicodePropertyNameOrValue=function(e,t){if(e.unicodeProperties.binary.test(t))return q;if(e.switchV&&e.unicodeProperties.binaryOfStrings.test(t))return L;e.raise("Invalid property name")};c.regexp_eatUnicodePropertyName=function(e){var t=0;for(e.lastStringValue="";Bt(t=e.current());)e.lastStringValue+=K(t),e.advance();return e.lastStringValue!==""};function Bt(e){return Rt(e)||e===95}c.regexp_eatUnicodePropertyValue=function(e){var t=0;for(e.lastStringValue="";Yi(t=e.current());)e.lastStringValue+=K(t),e.advance();return e.lastStringValue!==""};function Yi(e){return Bt(e)||be(e)}c.regexp_eatLoneUnicodePropertyNameOrValue=function(e){return this.regexp_eatUnicodePropertyValue(e)};c.regexp_eatCharacterClass=function(e){if(e.eat(91)){var t=e.eat(94),i=this.regexp_classContents(e);return e.eat(93)||e.raise("Unterminated character class"),t&&i===L&&e.raise("Negated character class may contain strings"),!0}return!1};c.regexp_classContents=function(e){return e.current()===93?q:e.switchV?this.regexp_classSetExpression(e):(this.regexp_nonEmptyClassRanges(e),q)};c.regexp_nonEmptyClassRanges=function(e){for(;this.regexp_eatClassAtom(e);){var t=e.lastIntValue;if(e.eat(45)&&this.regexp_eatClassAtom(e)){var i=e.lastIntValue;e.switchU&&(t===-1||i===-1)&&e.raise("Invalid character class"),t!==-1&&i!==-1&&t>i&&e.raise("Range out of order in character class")}}};c.regexp_eatClassAtom=function(e){var t=e.pos;if(e.eat(92)){if(this.regexp_eatClassEscape(e))return!0;if(e.switchU){var i=e.current();(i===99||Mt(i))&&e.raise("Invalid class escape"),e.raise("Invalid escape")}e.pos=t}var s=e.current();return s!==93?(e.lastIntValue=s,e.advance(),!0):!1};c.regexp_eatClassEscape=function(e){var t=e.pos;if(e.eat(98))return e.lastIntValue=8,!0;if(e.switchU&&e.eat(45))return e.lastIntValue=45,!0;if(!e.switchU&&e.eat(99)){if(this.regexp_eatClassControlLetter(e))return!0;e.pos=t}return this.regexp_eatCharacterClassEscape(e)||this.regexp_eatCharacterEscape(e)};c.regexp_classSetExpression=function(e){var t=q,i;if(!this.regexp_eatClassSetRange(e))if(i=this.regexp_eatClassSetOperand(e)){i===L&&(t=L);for(var s=e.pos;e.eatChars([38,38]);){if(e.current()!==38&&(i=this.regexp_eatClassSetOperand(e))){i!==L&&(t=q);continue}e.raise("Invalid character in character class")}if(s!==e.pos)return t;for(;e.eatChars([45,45]);)this.regexp_eatClassSetOperand(e)||e.raise("Invalid character in character class");if(s!==e.pos)return t}else e.raise("Invalid character in character class");for(;;)if(!this.regexp_eatClassSetRange(e)){if(i=this.regexp_eatClassSetOperand(e),!i)return t;i===L&&(t=L)}};c.regexp_eatClassSetRange=function(e){var t=e.pos;if(this.regexp_eatClassSetCharacter(e)){var i=e.lastIntValue;if(e.eat(45)&&this.regexp_eatClassSetCharacter(e)){var s=e.lastIntValue;return i!==-1&&s!==-1&&i>s&&e.raise("Range out of order in character class"),!0}e.pos=t}return!1};c.regexp_eatClassSetOperand=function(e){return this.regexp_eatClassSetCharacter(e)?q:this.regexp_eatClassStringDisjunction(e)||this.regexp_eatNestedClass(e)};c.regexp_eatNestedClass=function(e){var t=e.pos;if(e.eat(91)){var i=e.eat(94),s=this.regexp_classContents(e);if(e.eat(93))return i&&s===L&&e.raise("Negated character class may contain strings"),s;e.pos=t}if(e.eat(92)){var r=this.regexp_eatCharacterClassEscape(e);if(r)return r;e.pos=t}return null};c.regexp_eatClassStringDisjunction=function(e){var t=e.pos;if(e.eatChars([92,113])){if(e.eat(123)){var i=this.regexp_classStringDisjunctionContents(e);if(e.eat(125))return i}else e.raise("Invalid escape");e.pos=t}return null};c.regexp_classStringDisjunctionContents=function(e){for(var t=this.regexp_classString(e);e.eat(124);)this.regexp_classString(e)===L&&(t=L);return t};c.regexp_classString=function(e){for(var t=0;this.regexp_eatClassSetCharacter(e);)t++;return t===1?q:L};c.regexp_eatClassSetCharacter=function(e){var t=e.pos;if(e.eat(92))return this.regexp_eatCharacterEscape(e)||this.regexp_eatClassSetReservedPunctuator(e)?!0:e.eat(98)?(e.lastIntValue=8,!0):(e.pos=t,!1);var i=e.current();return i<0||i===e.lookahead()&&$i(i)||Zi(i)?!1:(e.advance(),e.lastIntValue=i,!0)};function $i(e){return e===33||e>=35&&e<=38||e>=42&&e<=44||e===46||e>=58&&e<=64||e===94||e===96||e===126}function Zi(e){return e===40||e===41||e===45||e===47||e>=91&&e<=93||e>=123&&e<=125}c.regexp_eatClassSetReservedPunctuator=function(e){var t=e.current();return es(t)?(e.lastIntValue=t,e.advance(),!0):!1};function es(e){return e===33||e===35||e===37||e===38||e===44||e===45||e>=58&&e<=62||e===64||e===96||e===126}c.regexp_eatClassControlLetter=function(e){var t=e.current();return be(t)||t===95?(e.lastIntValue=t%32,e.advance(),!0):!1};c.regexp_eatHexEscapeSequence=function(e){var t=e.pos;if(e.eat(120)){if(this.regexp_eatFixedHexDigits(e,2))return!0;e.switchU&&e.raise("Invalid escape"),e.pos=t}return!1};c.regexp_eatDecimalDigits=function(e){var t=e.pos,i=0;for(e.lastIntValue=0;be(i=e.current());)e.lastIntValue=10*e.lastIntValue+(i-48),e.advance();return e.pos!==t};function be(e){return e>=48&&e<=57}c.regexp_eatHexDigits=function(e){var t=e.pos,i=0;for(e.lastIntValue=0;Dt(i=e.current());)e.lastIntValue=16*e.lastIntValue+Ft(i),e.advance();return e.pos!==t};function Dt(e){return e>=48&&e<=57||e>=65&&e<=70||e>=97&&e<=102}function Ft(e){return e>=65&&e<=70?10+(e-65):e>=97&&e<=102?10+(e-97):e-48}c.regexp_eatLegacyOctalEscapeSequence=function(e){if(this.regexp_eatOctalDigit(e)){var t=e.lastIntValue;if(this.regexp_eatOctalDigit(e)){var i=e.lastIntValue;t<=3&&this.regexp_eatOctalDigit(e)?e.lastIntValue=t*64+i*8+e.lastIntValue:e.lastIntValue=t*8+i}else e.lastIntValue=t;return!0}return!1};c.regexp_eatOctalDigit=function(e){var t=e.current();return Mt(t)?(e.lastIntValue=t-48,e.advance(),!0):(e.lastIntValue=0,!1)};function Mt(e){return e>=48&&e<=55}c.regexp_eatFixedHexDigits=function(e,t){var i=e.pos;e.lastIntValue=0;for(var s=0;s=this.input.length)return this.finishToken(a.eof);if(e.override)return e.override(this);this.readToken(this.fullCharCodeAtPos())};v.readToken=function(e){return U(e,this.options.ecmaVersion>=6)||e===92?this.readWord():this.getTokenFromCode(e)};v.fullCharCodeAtPos=function(){var e=this.input.charCodeAt(this.pos);if(e<=55295||e>=56320)return e;var t=this.input.charCodeAt(this.pos+1);return t<=56319||t>=57344?e:(e<<10)+t-56613888};v.skipBlockComment=function(){var e=this.options.onComment&&this.curPosition(),t=this.pos,i=this.input.indexOf("*/",this.pos+=2);if(i===-1&&this.raise(this.pos-2,"Unterminated comment"),this.pos=i+2,this.options.locations)for(var s=void 0,r=t;(s=ut(this.input,r,this.pos))>-1;)++this.curLine,r=this.lineStart=s;this.options.onComment&&this.options.onComment(!0,this.input.slice(t+2,i),t,this.pos,e,this.curPosition())};v.skipLineComment=function(e){for(var t=this.pos,i=this.options.onComment&&this.curPosition(),s=this.input.charCodeAt(this.pos+=e);this.pos8&&e<14||e>=5760&&pt.test(String.fromCharCode(e)))++this.pos;else break e}}};v.finishToken=function(e,t){this.end=this.pos,this.options.locations&&(this.endLoc=this.curPosition());var i=this.type;this.type=e,this.value=t,this.updateContext(i)};v.readToken_dot=function(){var e=this.input.charCodeAt(this.pos+1);if(e>=48&&e<=57)return this.readNumber(!0);var t=this.input.charCodeAt(this.pos+2);return this.options.ecmaVersion>=6&&e===46&&t===46?(this.pos+=3,this.finishToken(a.ellipsis)):(++this.pos,this.finishToken(a.dot))};v.readToken_slash=function(){var e=this.input.charCodeAt(this.pos+1);return this.exprAllowed?(++this.pos,this.readRegexp()):e===61?this.finishOp(a.assign,2):this.finishOp(a.slash,1)};v.readToken_mult_modulo_exp=function(e){var t=this.input.charCodeAt(this.pos+1),i=1,s=e===42?a.star:a.modulo;return this.options.ecmaVersion>=7&&e===42&&t===42&&(++i,s=a.starstar,t=this.input.charCodeAt(this.pos+2)),t===61?this.finishOp(a.assign,i+1):this.finishOp(s,i)};v.readToken_pipe_amp=function(e){var t=this.input.charCodeAt(this.pos+1);if(t===e){if(this.options.ecmaVersion>=12){var i=this.input.charCodeAt(this.pos+2);if(i===61)return this.finishOp(a.assign,3)}return this.finishOp(e===124?a.logicalOR:a.logicalAND,2)}return t===61?this.finishOp(a.assign,2):this.finishOp(e===124?a.bitwiseOR:a.bitwiseAND,1)};v.readToken_caret=function(){var e=this.input.charCodeAt(this.pos+1);return e===61?this.finishOp(a.assign,2):this.finishOp(a.bitwiseXOR,1)};v.readToken_plus_min=function(e){var t=this.input.charCodeAt(this.pos+1);return t===e?t===45&&!this.inModule&&this.input.charCodeAt(this.pos+2)===62&&(this.lastTokEnd===0||R.test(this.input.slice(this.lastTokEnd,this.pos)))?(this.skipLineComment(3),this.skipSpace(),this.nextToken()):this.finishOp(a.incDec,2):t===61?this.finishOp(a.assign,2):this.finishOp(a.plusMin,1)};v.readToken_lt_gt=function(e){var t=this.input.charCodeAt(this.pos+1),i=1;return t===e?(i=e===62&&this.input.charCodeAt(this.pos+2)===62?3:2,this.input.charCodeAt(this.pos+i)===61?this.finishOp(a.assign,i+1):this.finishOp(a.bitShift,i)):t===33&&e===60&&!this.inModule&&this.input.charCodeAt(this.pos+2)===45&&this.input.charCodeAt(this.pos+3)===45?(this.skipLineComment(4),this.skipSpace(),this.nextToken()):(t===61&&(i=2),this.finishOp(a.relational,i))};v.readToken_eq_excl=function(e){var t=this.input.charCodeAt(this.pos+1);return t===61?this.finishOp(a.equality,this.input.charCodeAt(this.pos+2)===61?3:2):e===61&&t===62&&this.options.ecmaVersion>=6?(this.pos+=2,this.finishToken(a.arrow)):this.finishOp(e===61?a.eq:a.prefix,1)};v.readToken_question=function(){var e=this.options.ecmaVersion;if(e>=11){var t=this.input.charCodeAt(this.pos+1);if(t===46){var i=this.input.charCodeAt(this.pos+2);if(i<48||i>57)return this.finishOp(a.questionDot,2)}if(t===63){if(e>=12){var s=this.input.charCodeAt(this.pos+2);if(s===61)return this.finishOp(a.assign,3)}return this.finishOp(a.coalesce,2)}}return this.finishOp(a.question,1)};v.readToken_numberSign=function(){var e=this.options.ecmaVersion,t=35;if(e>=13&&(++this.pos,t=this.fullCharCodeAtPos(),U(t,!0)||t===92))return this.finishToken(a.privateId,this.readWord1());this.raise(this.pos,"Unexpected character '"+K(t)+"'")};v.getTokenFromCode=function(e){switch(e){case 46:return this.readToken_dot();case 40:return++this.pos,this.finishToken(a.parenL);case 41:return++this.pos,this.finishToken(a.parenR);case 59:return++this.pos,this.finishToken(a.semi);case 44:return++this.pos,this.finishToken(a.comma);case 91:return++this.pos,this.finishToken(a.bracketL);case 93:return++this.pos,this.finishToken(a.bracketR);case 123:return++this.pos,this.finishToken(a.braceL);case 125:return++this.pos,this.finishToken(a.braceR);case 58:return++this.pos,this.finishToken(a.colon);case 96:if(this.options.ecmaVersion<6)break;return++this.pos,this.finishToken(a.backQuote);case 48:var t=this.input.charCodeAt(this.pos+1);if(t===120||t===88)return this.readRadixNumber(16);if(this.options.ecmaVersion>=6){if(t===111||t===79)return this.readRadixNumber(8);if(t===98||t===66)return this.readRadixNumber(2)}case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:return this.readNumber(!1);case 34:case 39:return this.readString(e);case 47:return this.readToken_slash();case 37:case 42:return this.readToken_mult_modulo_exp(e);case 124:case 38:return this.readToken_pipe_amp(e);case 94:return this.readToken_caret();case 43:case 45:return this.readToken_plus_min(e);case 60:case 62:return this.readToken_lt_gt(e);case 61:case 33:return this.readToken_eq_excl(e);case 63:return this.readToken_question();case 126:return this.finishOp(a.prefix,1);case 35:return this.readToken_numberSign()}this.raise(this.pos,"Unexpected character '"+K(e)+"'")};v.finishOp=function(e,t){var i=this.input.slice(this.pos,this.pos+t);return this.pos+=t,this.finishToken(e,i)};v.readRegexp=function(){for(var e,t,i=this.pos;;){this.pos>=this.input.length&&this.raise(i,"Unterminated regular expression");var s=this.input.charAt(this.pos);if(R.test(s)&&this.raise(i,"Unterminated regular expression"),e)e=!1;else{if(s==="[")t=!0;else if(s==="]"&&t)t=!1;else if(s==="/"&&!t)break;e=s==="\\"}++this.pos}var r=this.input.slice(i,this.pos);++this.pos;var n=this.pos,o=this.readWord1();this.containsEsc&&this.unexpected(n);var u=this.regexpState||(this.regexpState=new M(this));u.reset(i,r,o),this.validateRegExpFlags(u),this.validateRegExpPattern(u);var p=null;try{p=new RegExp(r,o)}catch{}return this.finishToken(a.regexp,{pattern:r,flags:o,value:p})};v.readInt=function(e,t,i){for(var s=this.options.ecmaVersion>=12&&t===void 0,r=i&&this.input.charCodeAt(this.pos)===48,n=this.pos,o=0,u=0,p=0,d=t??1/0;p=97?C=l-97+10:l>=65?C=l-65+10:l>=48&&l<=57?C=l-48:C=1/0,C>=e)break;u=l,o=o*e+C}return s&&u===95&&this.raiseRecoverable(this.pos-1,"Numeric separator is not allowed at the last of digits"),this.pos===n||t!=null&&this.pos-n!==t?null:o};function ts(e,t){return t?parseInt(e,8):parseFloat(e.replace(/_/g,""))}function jt(e){return typeof BigInt!="function"?null:BigInt(e.replace(/_/g,""))}v.readRadixNumber=function(e){var t=this.pos;this.pos+=2;var i=this.readInt(e);return i==null&&this.raise(this.start+2,"Expected number in radix "+e),this.options.ecmaVersion>=11&&this.input.charCodeAt(this.pos)===110?(i=jt(this.input.slice(t,this.pos)),++this.pos):U(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number"),this.finishToken(a.num,i)};v.readNumber=function(e){var t=this.pos;!e&&this.readInt(10,void 0,!0)===null&&this.raise(t,"Invalid number");var i=this.pos-t>=2&&this.input.charCodeAt(t)===48;i&&this.strict&&this.raise(t,"Invalid number");var s=this.input.charCodeAt(this.pos);if(!i&&!e&&this.options.ecmaVersion>=11&&s===110){var r=jt(this.input.slice(t,this.pos));return++this.pos,U(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number"),this.finishToken(a.num,r)}i&&/[89]/.test(this.input.slice(t,this.pos))&&(i=!1),s===46&&!i&&(++this.pos,this.readInt(10),s=this.input.charCodeAt(this.pos)),(s===69||s===101)&&!i&&(s=this.input.charCodeAt(++this.pos),(s===43||s===45)&&++this.pos,this.readInt(10)===null&&this.raise(t,"Invalid number")),U(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number");var n=ts(this.input.slice(t,this.pos),i);return this.finishToken(a.num,n)};v.readCodePoint=function(){var e=this.input.charCodeAt(this.pos),t;if(e===123){this.options.ecmaVersion<6&&this.unexpected();var i=++this.pos;t=this.readHexChar(this.input.indexOf("}",this.pos)-this.pos),++this.pos,t>1114111&&this.invalidStringToken(i,"Code point out of bounds")}else t=this.readHexChar(4);return t};v.readString=function(e){for(var t="",i=++this.pos;;){this.pos>=this.input.length&&this.raise(this.start,"Unterminated string constant");var s=this.input.charCodeAt(this.pos);if(s===e)break;s===92?(t+=this.input.slice(i,this.pos),t+=this.readEscapedChar(!1),i=this.pos):s===8232||s===8233?(this.options.ecmaVersion<10&&this.raise(this.start,"Unterminated string constant"),++this.pos,this.options.locations&&(this.curLine++,this.lineStart=this.pos)):(Q(s)&&this.raise(this.start,"Unterminated string constant"),++this.pos)}return t+=this.input.slice(i,this.pos++),this.finishToken(a.string,t)};var Ut={};v.tryReadTemplateToken=function(){this.inTemplateElement=!0;try{this.readTmplToken()}catch(e){if(e===Ut)this.readInvalidTemplateToken();else throw e}this.inTemplateElement=!1};v.invalidStringToken=function(e,t){if(this.inTemplateElement&&this.options.ecmaVersion>=9)throw Ut;this.raise(e,t)};v.readTmplToken=function(){for(var e="",t=this.pos;;){this.pos>=this.input.length&&this.raise(this.start,"Unterminated template");var i=this.input.charCodeAt(this.pos);if(i===96||i===36&&this.input.charCodeAt(this.pos+1)===123)return this.pos===this.start&&(this.type===a.template||this.type===a.invalidTemplate)?i===36?(this.pos+=2,this.finishToken(a.dollarBraceL)):(++this.pos,this.finishToken(a.backQuote)):(e+=this.input.slice(t,this.pos),this.finishToken(a.template,e));if(i===92)e+=this.input.slice(t,this.pos),e+=this.readEscapedChar(!0),t=this.pos;else if(Q(i)){switch(e+=this.input.slice(t,this.pos),++this.pos,i){case 13:this.input.charCodeAt(this.pos)===10&&++this.pos;case 10:e+=` +`;break;default:e+=String.fromCharCode(i);break}this.options.locations&&(++this.curLine,this.lineStart=this.pos),t=this.pos}else++this.pos}};v.readInvalidTemplateToken=function(){for(;this.pos=48&&t<=55){var s=this.input.substr(this.pos-1,3).match(/^[0-7]+/)[0],r=parseInt(s,8);return r>255&&(s=s.slice(0,-1),r=parseInt(s,8)),this.pos+=s.length-1,t=this.input.charCodeAt(this.pos),(s!=="0"||t===56||t===57)&&(this.strict||e)&&this.invalidStringToken(this.pos-1-s.length,e?"Octal literal in template string":"Octal literal in strict mode"),String.fromCharCode(r)}return Q(t)?(this.options.locations&&(this.lineStart=this.pos,++this.curLine),""):String.fromCharCode(t)}};v.readHexChar=function(e){var t=this.pos,i=this.readInt(16,e);return i===null&&this.invalidStringToken(t,"Bad character escape sequence"),i};v.readWord1=function(){this.containsEsc=!1;for(var e="",t=!0,i=this.pos,s=this.options.ecmaVersion>=6;this.pos{if(!(e&&t==null))return Array.isArray(t)||typeof t=="string"?t[i<0?t.length+i:i]:t.at(i)},W=hs;function cs(e){return Array.isArray(e)&&e.length>0}var Xt=cs;function P(e){var s,r,n;let t=((s=e.range)==null?void 0:s[0])??e.start,i=(n=((r=e.declaration)==null?void 0:r.decorators)??e.decorators)==null?void 0:n[0];return i?Math.min(P(i),t):t}function j(e){var t;return((t=e.range)==null?void 0:t[1])??e.end}function ls(e){let t=new Set(e);return i=>t.has(i==null?void 0:i.type)}var Wt=ls;var fs=Wt(["Block","CommentBlock","MultiLine"]),oe=fs;function ds(e){let t=`*${e.value}*`.split(` +`);return t.length>1&&t.every(i=>i.trimStart()[0]==="*")}var Ke=ds;function ms(e){return oe(e)&&e.value[0]==="*"&&/@(?:type|satisfies)\b/u.test(e.value)}var Ht=ms;var ue=null;function pe(e){if(ue!==null&&typeof ue.property){let t=ue;return ue=pe.prototype=null,t}return ue=pe.prototype=e??Object.create(null),new pe}var xs=10;for(let e=0;e<=xs;e++)pe();function Xe(e){return pe(e)}function ys(e,t="type"){Xe(e);function i(s){let r=s[t],n=e[r];if(!Array.isArray(n))throw Object.assign(new Error(`Missing visitor keys for '${r}'.`),{node:s});return n}return i}var zt=ys;var Qt={ArrayExpression:["elements"],AssignmentExpression:["left","right"],BinaryExpression:["left","right"],InterpreterDirective:[],Directive:["value"],DirectiveLiteral:[],BlockStatement:["directives","body"],BreakStatement:["label"],CallExpression:["callee","arguments","typeParameters","typeArguments"],CatchClause:["param","body"],ConditionalExpression:["test","consequent","alternate"],ContinueStatement:["label"],DebuggerStatement:[],DoWhileStatement:["test","body"],EmptyStatement:[],ExpressionStatement:["expression"],File:["program"],ForInStatement:["left","right","body"],ForStatement:["init","test","update","body"],FunctionDeclaration:["id","params","body","returnType","typeParameters","predicate"],FunctionExpression:["id","params","body","returnType","typeParameters"],Identifier:["typeAnnotation","decorators"],IfStatement:["test","consequent","alternate"],LabeledStatement:["label","body"],StringLiteral:[],NumericLiteral:[],NullLiteral:[],BooleanLiteral:[],RegExpLiteral:[],LogicalExpression:["left","right"],MemberExpression:["object","property"],NewExpression:["callee","arguments","typeParameters","typeArguments"],Program:["directives","body"],ObjectExpression:["properties"],ObjectMethod:["key","params","body","decorators","returnType","typeParameters"],ObjectProperty:["key","value","decorators"],RestElement:["argument","typeAnnotation","decorators"],ReturnStatement:["argument"],SequenceExpression:["expressions"],ParenthesizedExpression:["expression"],SwitchCase:["test","consequent"],SwitchStatement:["discriminant","cases"],ThisExpression:[],ThrowStatement:["argument"],TryStatement:["block","handler","finalizer"],UnaryExpression:["argument"],UpdateExpression:["argument"],VariableDeclaration:["declarations"],VariableDeclarator:["id","init"],WhileStatement:["test","body"],WithStatement:["object","body"],AssignmentPattern:["left","right","decorators","typeAnnotation"],ArrayPattern:["elements","typeAnnotation","decorators"],ArrowFunctionExpression:["params","body","returnType","typeParameters","predicate"],ClassBody:["body"],ClassExpression:["id","body","superClass","mixins","typeParameters","superTypeParameters","implements","decorators","superTypeArguments"],ClassDeclaration:["id","body","superClass","mixins","typeParameters","superTypeParameters","implements","decorators","superTypeArguments"],ExportAllDeclaration:["source","attributes","exported"],ExportDefaultDeclaration:["declaration"],ExportNamedDeclaration:["declaration","specifiers","source","attributes"],ExportSpecifier:["local","exported"],ForOfStatement:["left","right","body"],ImportDeclaration:["specifiers","source","attributes"],ImportDefaultSpecifier:["local"],ImportNamespaceSpecifier:["local"],ImportSpecifier:["local","imported"],ImportExpression:["source","options","attributes"],MetaProperty:["meta","property"],ClassMethod:["key","params","body","decorators","returnType","typeParameters"],ObjectPattern:["properties","typeAnnotation","decorators"],SpreadElement:["argument"],Super:[],TaggedTemplateExpression:["tag","quasi","typeParameters","typeArguments"],TemplateElement:[],TemplateLiteral:["quasis","expressions"],YieldExpression:["argument"],AwaitExpression:["argument"],Import:[],BigIntLiteral:[],ExportNamespaceSpecifier:["exported"],OptionalMemberExpression:["object","property"],OptionalCallExpression:["callee","arguments","typeParameters","typeArguments"],ClassProperty:["key","value","typeAnnotation","decorators","variance"],ClassAccessorProperty:["key","value","typeAnnotation","decorators"],ClassPrivateProperty:["key","value","decorators","typeAnnotation","variance"],ClassPrivateMethod:["key","params","body","decorators","returnType","typeParameters"],PrivateName:["id"],StaticBlock:["body"],AnyTypeAnnotation:[],ArrayTypeAnnotation:["elementType"],BooleanTypeAnnotation:[],BooleanLiteralTypeAnnotation:[],NullLiteralTypeAnnotation:[],ClassImplements:["id","typeParameters"],DeclareClass:["id","typeParameters","extends","mixins","implements","body"],DeclareFunction:["id","predicate"],DeclareInterface:["id","typeParameters","extends","body"],DeclareModule:["id","body"],DeclareModuleExports:["typeAnnotation"],DeclareTypeAlias:["id","typeParameters","right"],DeclareOpaqueType:["id","typeParameters","supertype"],DeclareVariable:["id"],DeclareExportDeclaration:["declaration","specifiers","source"],DeclareExportAllDeclaration:["source"],DeclaredPredicate:["value"],ExistsTypeAnnotation:[],FunctionTypeAnnotation:["typeParameters","params","rest","returnType","this"],FunctionTypeParam:["name","typeAnnotation"],GenericTypeAnnotation:["id","typeParameters"],InferredPredicate:[],InterfaceExtends:["id","typeParameters"],InterfaceDeclaration:["id","typeParameters","extends","body"],InterfaceTypeAnnotation:["extends","body"],IntersectionTypeAnnotation:["types"],MixedTypeAnnotation:[],EmptyTypeAnnotation:[],NullableTypeAnnotation:["typeAnnotation"],NumberLiteralTypeAnnotation:[],NumberTypeAnnotation:[],ObjectTypeAnnotation:["properties","indexers","callProperties","internalSlots"],ObjectTypeInternalSlot:["id","value"],ObjectTypeCallProperty:["value"],ObjectTypeIndexer:["id","key","value","variance"],ObjectTypeProperty:["key","value","variance"],ObjectTypeSpreadProperty:["argument"],OpaqueType:["id","typeParameters","supertype","impltype"],QualifiedTypeIdentifier:["id","qualification"],StringLiteralTypeAnnotation:[],StringTypeAnnotation:[],SymbolTypeAnnotation:[],ThisTypeAnnotation:[],TupleTypeAnnotation:["types","elementTypes"],TypeofTypeAnnotation:["argument","typeArguments"],TypeAlias:["id","typeParameters","right"],TypeAnnotation:["typeAnnotation"],TypeCastExpression:["expression","typeAnnotation"],TypeParameter:["bound","default","variance"],TypeParameterDeclaration:["params"],TypeParameterInstantiation:["params"],UnionTypeAnnotation:["types"],Variance:[],VoidTypeAnnotation:[],EnumDeclaration:["id","body"],EnumBooleanBody:["members"],EnumNumberBody:["members"],EnumStringBody:["members"],EnumSymbolBody:["members"],EnumBooleanMember:["id","init"],EnumNumberMember:["id","init"],EnumStringMember:["id","init"],EnumDefaultedMember:["id"],IndexedAccessType:["objectType","indexType"],OptionalIndexedAccessType:["objectType","indexType"],JSXAttribute:["name","value"],JSXClosingElement:["name"],JSXElement:["openingElement","children","closingElement"],JSXEmptyExpression:[],JSXExpressionContainer:["expression"],JSXSpreadChild:["expression"],JSXIdentifier:[],JSXMemberExpression:["object","property"],JSXNamespacedName:["namespace","name"],JSXOpeningElement:["name","attributes","typeArguments","typeParameters"],JSXSpreadAttribute:["argument"],JSXText:[],JSXFragment:["openingFragment","children","closingFragment"],JSXOpeningFragment:[],JSXClosingFragment:[],Noop:[],Placeholder:[],V8IntrinsicIdentifier:[],ArgumentPlaceholder:[],BindExpression:["object","callee"],ImportAttribute:["key","value"],Decorator:["expression"],DoExpression:["body"],ExportDefaultSpecifier:["exported"],RecordExpression:["properties"],TupleExpression:["elements"],DecimalLiteral:[],ModuleExpression:["body"],TopicReference:[],PipelineTopicExpression:["expression"],PipelineBareFunction:["callee"],PipelinePrimaryTopicReference:[],TSParameterProperty:["parameter","decorators"],TSDeclareFunction:["id","typeParameters","params","returnType","body"],TSDeclareMethod:["decorators","key","typeParameters","params","returnType"],TSQualifiedName:["left","right"],TSCallSignatureDeclaration:["typeParameters","parameters","typeAnnotation","params","returnType"],TSConstructSignatureDeclaration:["typeParameters","parameters","typeAnnotation","params","returnType"],TSPropertySignature:["key","typeAnnotation"],TSMethodSignature:["key","typeParameters","parameters","typeAnnotation","params","returnType"],TSIndexSignature:["parameters","typeAnnotation"],TSAnyKeyword:[],TSBooleanKeyword:[],TSBigIntKeyword:[],TSIntrinsicKeyword:[],TSNeverKeyword:[],TSNullKeyword:[],TSNumberKeyword:[],TSObjectKeyword:[],TSStringKeyword:[],TSSymbolKeyword:[],TSUndefinedKeyword:[],TSUnknownKeyword:[],TSVoidKeyword:[],TSThisType:[],TSFunctionType:["typeParameters","parameters","typeAnnotation","params","returnType"],TSConstructorType:["typeParameters","parameters","typeAnnotation","params","returnType"],TSTypeReference:["typeName","typeParameters","typeArguments"],TSTypePredicate:["parameterName","typeAnnotation"],TSTypeQuery:["exprName","typeParameters","typeArguments"],TSTypeLiteral:["members"],TSArrayType:["elementType"],TSTupleType:["elementTypes"],TSOptionalType:["typeAnnotation"],TSRestType:["typeAnnotation"],TSNamedTupleMember:["label","elementType"],TSUnionType:["types"],TSIntersectionType:["types"],TSConditionalType:["checkType","extendsType","trueType","falseType"],TSInferType:["typeParameter"],TSParenthesizedType:["typeAnnotation"],TSTypeOperator:["typeAnnotation"],TSIndexedAccessType:["objectType","indexType"],TSMappedType:["typeParameter","typeAnnotation","nameType"],TSLiteralType:["literal"],TSExpressionWithTypeArguments:["expression","typeParameters"],TSInterfaceDeclaration:["id","typeParameters","extends","body"],TSInterfaceBody:["body"],TSTypeAliasDeclaration:["id","typeParameters","typeAnnotation"],TSInstantiationExpression:["expression","typeParameters","typeArguments"],TSAsExpression:["expression","typeAnnotation"],TSSatisfiesExpression:["expression","typeAnnotation"],TSTypeAssertion:["typeAnnotation","expression"],TSEnumDeclaration:["id","members"],TSEnumMember:["id","initializer"],TSModuleDeclaration:["id","body"],TSModuleBlock:["body"],TSImportType:["argument","qualifier","typeParameters","typeArguments"],TSImportEqualsDeclaration:["id","moduleReference"],TSExternalModuleReference:["expression"],TSNonNullExpression:["expression"],TSExportAssignment:["expression"],TSNamespaceExportDeclaration:["id"],TSTypeAnnotation:["typeAnnotation"],TSTypeParameterInstantiation:["params"],TSTypeParameterDeclaration:["params"],TSTypeParameter:["constraint","default","name"],ChainExpression:["expression"],ExperimentalRestProperty:["argument"],ExperimentalSpreadProperty:["argument"],Literal:[],MethodDefinition:["decorators","key","value"],PrivateIdentifier:[],Property:["key","value"],PropertyDefinition:["decorators","key","typeAnnotation","value","variance"],AccessorProperty:["decorators","key","typeAnnotation","value"],TSAbstractAccessorProperty:["decorators","key","typeAnnotation"],TSAbstractKeyword:[],TSAbstractMethodDefinition:["key","value"],TSAbstractPropertyDefinition:["decorators","key","typeAnnotation"],TSAsyncKeyword:[],TSClassImplements:["expression","typeArguments","typeParameters"],TSDeclareKeyword:[],TSEmptyBodyFunctionExpression:["id","typeParameters","params","returnType"],TSEnumBody:["members"],TSExportKeyword:[],TSInterfaceHeritage:["expression","typeArguments","typeParameters"],TSPrivateKeyword:[],TSProtectedKeyword:[],TSPublicKeyword:[],TSReadonlyKeyword:[],TSStaticKeyword:[],TSTemplateLiteralType:["quasis","types"],AsConstExpression:["expression"],AsExpression:["expression","typeAnnotation"],BigIntLiteralTypeAnnotation:[],BigIntTypeAnnotation:[],ComponentDeclaration:["id","params","body","typeParameters","rendersType"],ComponentParameter:["name","local"],ComponentTypeAnnotation:["params","rest","typeParameters","rendersType"],ComponentTypeParameter:["name","typeAnnotation"],ConditionalTypeAnnotation:["checkType","extendsType","trueType","falseType"],DeclareComponent:["id","params","rest","typeParameters","rendersType"],DeclareEnum:["id","body"],DeclareHook:["id"],DeclareNamespace:["id","body"],EnumBigIntBody:["members"],EnumBigIntMember:["id","init"],HookDeclaration:["id","params","body","typeParameters","returnType"],HookTypeAnnotation:["params","returnType","rest","typeParameters"],InferTypeAnnotation:["typeParameter"],KeyofTypeAnnotation:["argument"],ObjectTypeMappedTypeProperty:["keyTparam","propType","sourceType","variance"],QualifiedTypeofIdentifier:["qualification","id"],TupleTypeLabeledElement:["label","elementType","variance"],TupleTypeSpreadElement:["label","typeAnnotation"],TypeOperator:["typeAnnotation"],TypePredicate:["parameterName","typeAnnotation","asserts"],NGRoot:["node"],NGPipeExpression:["left","right","arguments"],NGChainedExpression:["expressions"],NGEmptyExpression:[],NGMicrosyntax:["body"],NGMicrosyntaxKey:[],NGMicrosyntaxExpression:["expression","alias"],NGMicrosyntaxKeyedExpression:["key","expression"],NGMicrosyntaxLet:["key","value"],NGMicrosyntaxAs:["key","alias"],JsExpressionRoot:["node"],JsonRoot:["node"],TSJSDocAllType:[],TSJSDocUnknownType:[],TSJSDocNullableType:["typeAnnotation"],TSJSDocNonNullableType:["typeAnnotation"],NeverTypeAnnotation:[],UndefinedTypeAnnotation:[],UnknownTypeAnnotation:[],SatisfiesExpression:["expression","typeAnnotation"]};var gs=zt(Qt),Yt=gs;function We(e,t){if(!(e!==null&&typeof e=="object"))return e;if(Array.isArray(e)){for(let s=0;s{var o;(o=n.leadingComments)!=null&&o.some(Ht)&&r.add(P(n))}),e=_e(e,n=>{if(n.type==="ParenthesizedExpression"){let{expression:o}=n;if(o.type==="TypeCastExpression")return o.range=[...n.range],o;let u=P(n);if(!r.has(u))return o.extra={...o.extra,parenthesized:!0},o}})}if(e=_e(e,r=>{var n;switch(r.type){case"LogicalExpression":if($t(r))return He(r);break;case"VariableDeclaration":{let o=W(!1,r.declarations,-1);o!=null&&o.init&&s[j(o)]!==";"&&(r.range=[P(r),j(o)]);break}case"TSParenthesizedType":return r.typeAnnotation;case"TSTypeParameter":if(typeof r.name=="string"){let o=P(r);r.name={type:"Identifier",name:r.name,range:[o,o+r.name.length]}}break;case"TopicReference":e.extra={...e.extra,__isUsingHackPipeline:!0};break;case"ExportAllDeclaration":if(i==="meriyah"&&((n=r.exported)==null?void 0:n.type)==="Identifier"){let{exported:o}=r,u=s.slice(P(o),j(o));(u.startsWith('"')||u.startsWith("'"))&&(r.exported={...r.exported,type:"Literal",value:r.exported.name,raw:u})}break;case"TSUnionType":case"TSIntersectionType":if(r.types.length===1)return r.types[0];break}}),Xt(e.comments)){let r=W(!1,e.comments,-1);for(let n=e.comments.length-2;n>=0;n--){let o=e.comments[n];j(o)===P(r)&&oe(o)&&oe(r)&&Ke(o)&&Ke(r)&&(e.comments.splice(n+1,1),o.value+="*//*"+r.value,o.range=[P(o),j(r)]),r=o}}return e.type==="Program"&&(e.range=[0,s.length]),e}function $t(e){return e.type==="LogicalExpression"&&e.right.type==="LogicalExpression"&&e.operator===e.right.operator}function He(e){return $t(e)?He({type:"LogicalExpression",operator:e.operator,left:He({type:"LogicalExpression",operator:e.operator,left:e.left,right:e.right.left,range:[P(e.left),j(e.right.left)]}),right:e.right.right,range:[P(e),j(e)]}):e}var Te=vs;var bs=(e,t,i,s)=>{if(!(e&&t==null))return t.replaceAll?t.replaceAll(i,s):i.global?t.replace(i,s):t.split(i).join(s)},Z=bs;var Ss=/\*\/$/,Cs=/^\/\*\*?/,_s=/^\s*(\/\*\*?(.|\r?\n)*?\*\/)/,Ts=/(^|\s+)\/\/([^\n\r]*)/g,Zt=/^(\r?\n)+/,ks=/(?:^|\r?\n) *(@[^\n\r]*?) *\r?\n *(?![^\n\r@]*\/\/[^]*)([^\s@][^\n\r@]+?) *\r?\n/g,ei=/(?:^|\r?\n) *@(\S+) *([^\n\r]*)/g,Es=/(\r?\n|^) *\* ?/g,ws=[];function ti(e){let t=e.match(_s);return t?t[0].trimStart():""}function ii(e){let t=` +`;e=Z(!1,e.replace(Cs,"").replace(Ss,""),Es,"$1");let i="";for(;i!==e;)i=e,e=Z(!1,e,ks,`${t}$1 $2${t}`);e=e.replace(Zt,"").trimEnd();let s=Object.create(null),r=Z(!1,e,ei,"").replace(Zt,"").trimEnd(),n;for(;n=ei.exec(e);){let o=Z(!1,n[2],Ts,"");if(typeof s[n[1]]=="string"||Array.isArray(s[n[1]])){let u=s[n[1]];s[n[1]]=[...ws,...Array.isArray(u)?u:[u],o]}else s[n[1]]=o}return{comments:r,pragmas:s}}function As(e){if(!e.startsWith("#!"))return"";let t=e.indexOf(` +`);return t===-1?e:e.slice(0,t)}var si=As;function Ps(e){let t=si(e);t&&(e=e.slice(t.length+1));let i=ti(e),{pragmas:s,comments:r}=ii(i);return{shebang:t,text:e,pragmas:s,comments:r}}function ri(e){let{pragmas:t}=Ps(e);return Object.prototype.hasOwnProperty.call(t,"prettier")||Object.prototype.hasOwnProperty.call(t,"format")}function Is(e){return e=typeof e=="function"?{parse:e}:e,{astFormat:"estree",hasPragma:ri,locStart:P,locEnd:j,...e}}var ke=Is;function Ns(e){let{filepath:t}=e;if(t){if(t=t.toLowerCase(),t.endsWith(".cjs"))return"script";if(t.endsWith(".mjs"))return"module"}}var Ee=Ns;var Vs={ecmaVersion:"latest",allowReturnOutsideFunction:!0,allowSuperOutsideMethod:!0,locations:!0,ranges:!0};function Ls(e){let{message:t,loc:i}=e;if(!i)return e;let{line:s,column:r}=i;return Se(t.replace(/ \(\d+:\d+\)$/u,""),{loc:{start:{line:s,column:r+1}},cause:e})}var ai,Rs=()=>(ai??(ai=T.extend((0,ni.default)())),ai);function Os(e,t){let i=Rs(),s=[],r=[],n=i.parse(e,{...Vs,sourceType:t,allowImportExportEverywhere:t==="module",onComment:s,onToken:r});return n.comments=s,n.tokens=r,n}function Bs(e,t={}){let i=Ee(t),s=(i?[i]:["module","script"]).map(n=>()=>Os(e,n)),r;try{r=Ce(s)}catch({errors:[n]}){throw Ls(n)}return Te(r,{text:e})}var oi=ke(Bs);var ci=et(Ge(),1);var E={Boolean:"Boolean",EOF:"",Identifier:"Identifier",PrivateIdentifier:"PrivateIdentifier",Keyword:"Keyword",Null:"Null",Numeric:"Numeric",Punctuator:"Punctuator",String:"String",RegularExpression:"RegularExpression",Template:"Template",JSXIdentifier:"JSXIdentifier",JSXText:"JSXText"};function Ds(e,t){let i=e[0],s=W(!1,e,-1),r={type:E.Template,value:t.slice(i.start,s.end)};return i.loc&&(r.loc={start:i.loc.start,end:s.loc.end}),i.range&&(r.start=i.range[0],r.end=s.range[1],r.range=[r.start,r.end]),r}function ze(e,t){this._acornTokTypes=e,this._tokens=[],this._curlyBrace=null,this._code=t}ze.prototype={constructor:ze,translate(e,t){let i=e.type,s=this._acornTokTypes;if(i===s.name)e.type=E.Identifier,e.value==="static"&&(e.type=E.Keyword),t.ecmaVersion>5&&(e.value==="yield"||e.value==="let")&&(e.type=E.Keyword);else if(i===s.privateId)e.type=E.PrivateIdentifier;else if(i===s.semi||i===s.comma||i===s.parenL||i===s.parenR||i===s.braceL||i===s.braceR||i===s.dot||i===s.bracketL||i===s.colon||i===s.question||i===s.bracketR||i===s.ellipsis||i===s.arrow||i===s.jsxTagStart||i===s.incDec||i===s.starstar||i===s.jsxTagEnd||i===s.prefix||i===s.questionDot||i.binop&&!i.keyword||i.isAssign)e.type=E.Punctuator,e.value=this._code.slice(e.start,e.end);else if(i===s.jsxName)e.type=E.JSXIdentifier;else if(i.label==="jsxText"||i===s.jsxAttrValueToken)e.type=E.JSXText;else if(i.keyword)i.keyword==="true"||i.keyword==="false"?e.type=E.Boolean:i.keyword==="null"?e.type=E.Null:e.type=E.Keyword;else if(i===s.num)e.type=E.Numeric,e.value=this._code.slice(e.start,e.end);else if(i===s.string)t.jsxAttrValueToken?(t.jsxAttrValueToken=!1,e.type=E.JSXText):e.type=E.String,e.value=this._code.slice(e.start,e.end);else if(i===s.regexp){e.type=E.RegularExpression;let r=e.value;e.regex={flags:r.flags,pattern:r.pattern},e.value=`/${r.pattern}/${r.flags}`}return e},onToken(e,t){let i=this._acornTokTypes,s=t.tokens,r=this._tokens,n=()=>{s.push(Ds(this._tokens,this._code)),this._tokens=[]};if(e.type===i.eof){this._curlyBrace&&s.push(this.translate(this._curlyBrace,t));return}if(e.type===i.backQuote){this._curlyBrace&&(s.push(this.translate(this._curlyBrace,t)),this._curlyBrace=null),r.push(e),r.length>1&&n();return}if(e.type===i.dollarBraceL){r.push(e),n();return}if(e.type===i.braceR){this._curlyBrace&&s.push(this.translate(this._curlyBrace,t)),this._curlyBrace=e;return}if(e.type===i.template||e.type===i.invalidTemplate){this._curlyBrace&&(r.push(this._curlyBrace),this._curlyBrace=null),r.push(e);return}this._curlyBrace&&(s.push(this.translate(this._curlyBrace,t)),this._curlyBrace=null),s.push(this.translate(e,t))}};var ui=ze;var pi=[3,5,6,7,8,9,10,11,12,13,14,15,16];function Fs(){return W(!1,pi,-1)}function Ms(e=5){let t=e==="latest"?Fs():e;if(typeof t!="number")throw new Error(`ecmaVersion must be a number or "latest". Received value of type ${typeof e} instead.`);if(t>=2015&&(t-=2009),!pi.includes(t))throw new Error("Invalid ecmaVersion.");return t}function js(e="script"){if(e==="script"||e==="module")return e;if(e==="commonjs")return"script";throw new Error("Invalid sourceType.")}function hi(e){let t=Ms(e.ecmaVersion),i=js(e.sourceType),s=e.range===!0,r=e.loc===!0;if(t!==3&&e.allowReserved)throw new Error("`allowReserved` is only supported when ecmaVersion is 3");if(typeof e.allowReserved<"u"&&typeof e.allowReserved!="boolean")throw new Error("`allowReserved`, when present, must be `true` or `false`");let n=t===3?e.allowReserved||"never":!1,o=e.ecmaFeatures||{},u=e.sourceType==="commonjs"||!!o.globalReturn;if(i==="module"&&t<6)throw new Error("sourceType 'module' is not supported when ecmaVersion < 2015. Consider adding `{ ecmaVersion: 2015 }` to the parser options.");return Object.assign({},e,{ecmaVersion:t,sourceType:i,ranges:s,locations:r,allowReserved:n,allowReturnOutsideFunction:u})}var H=Symbol("espree's internal state"),Qe=Symbol("espree's esprimaFinishNode");function Us(e,t,i,s,r,n,o){let u;e?u="Block":o.slice(i,i+2)==="#!"?u="Hashbang":u="Line";let p={type:u,value:t};return typeof i=="number"&&(p.start=i,p.end=s,p.range=[i,s]),typeof r=="object"&&(p.loc={start:r,end:n}),p}var Ye=()=>e=>{let t=Object.assign({},e.acorn.tokTypes);return e.acornJsx&&Object.assign(t,e.acornJsx.tokTypes),class extends e{constructor(s,r){(typeof s!="object"||s===null)&&(s={}),typeof r!="string"&&!(r instanceof String)&&(r=String(r));let n=s.sourceType,o=hi(s),u=o.ecmaFeatures||{},p=o.tokens===!0?new ui(t,r):null,d={originalSourceType:n||o.sourceType,tokens:p?[]:null,comments:o.comment===!0?[]:null,impliedStrict:u.impliedStrict===!0&&o.ecmaVersion>=5,ecmaVersion:o.ecmaVersion,jsxAttrValueToken:!1,lastToken:null,templateElements:[]};super({ecmaVersion:o.ecmaVersion,sourceType:o.sourceType,ranges:o.ranges,locations:o.locations,allowReserved:o.allowReserved,allowReturnOutsideFunction:o.allowReturnOutsideFunction,onToken(l){p&&p.onToken(l,d),l.type!==t.eof&&(d.lastToken=l)},onComment(l,C,B,h,m,x){if(d.comments){let g=Us(l,C,B,h,m,x,r);d.comments.push(g)}}},r),this[H]=d}tokenize(){do this.next();while(this.type!==t.eof);this.next();let s=this[H],r=s.tokens;return s.comments&&(r.comments=s.comments),r}finishNode(...s){let r=super.finishNode(...s);return this[Qe](r)}finishNodeAt(...s){let r=super.finishNodeAt(...s);return this[Qe](r)}parse(){let s=this[H],r=super.parse();if(r.sourceType=s.originalSourceType,s.comments&&(r.comments=s.comments),s.tokens&&(r.tokens=s.tokens),r.body.length){let[n]=r.body;r.range&&(r.range[0]=n.range[0]),r.loc&&(r.loc.start=n.loc.start),r.start=n.start}return s.lastToken&&(r.range&&(r.range[1]=s.lastToken.range[1]),r.loc&&(r.loc.end=s.lastToken.loc.end),r.end=s.lastToken.end),this[H].templateElements.forEach(n=>{let u=n.tail?1:2;n.start+=-1,n.end+=u,n.range&&(n.range[0]+=-1,n.range[1]+=u),n.loc&&(n.loc.start.column+=-1,n.loc.end.column+=u)}),r}parseTopLevel(s){return this[H].impliedStrict&&(this.strict=!0),super.parseTopLevel(s)}raise(s,r){let n=e.acorn.getLineInfo(this.input,s),o=new SyntaxError(r);throw o.index=s,o.lineNumber=n.line,o.column=n.column+1,o}raiseRecoverable(s,r){this.raise(s,r)}unexpected(s){let r="Unexpected token";if(s!=null){if(this.pos=s,this.options.locations)for(;this.posthis.start&&(r+=` ${this.input.slice(this.start,this.end)}`),this.raise(this.start,r)}jsx_readString(s){let r=super.jsx_readString(s);return this.type===t.string&&(this[H].jsxAttrValueToken=!0),r}[Qe](s){return s.type==="TemplateElement"&&this[H].templateElements.push(s),s.type.includes("Function")&&!s.generator&&(s.generator=!1),s}}};var qs={_regular:null,_jsx:null,get regular(){return this._regular===null&&(this._regular=T.extend(Ye())),this._regular},get jsx(){return this._jsx===null&&(this._jsx=T.extend((0,ci.default)(),Ye())),this._jsx},get(e){return!!(e&&e.ecmaFeatures&&e.ecmaFeatures.jsx)?this.jsx:this.regular}};function li(e,t){let i=qs.get(t);return new i(t,e).parse()}var Js={ecmaVersion:"latest",range:!0,loc:!0,comment:!0,tokens:!0,sourceType:"module",ecmaFeatures:{jsx:!0,globalReturn:!0,impliedStrict:!1}};function Gs(e){let{message:t,lineNumber:i,column:s}=e;return typeof i!="number"?e:Se(t,{loc:{start:{line:i,column:s}},cause:e})}function Ks(e,t={}){let i=Ee(t),s=(i?[i]:["module","script"]).map(n=>()=>li(e,{...Js,sourceType:n})),r;try{r=Ce(s)}catch({errors:[n]}){throw Gs(n)}return Te(r,{text:e})}var fi=ke(Ks);var Xs={acorn:oi,espree:fi};return bi(Ws);}); \ No newline at end of file diff --git a/node_modules/prettier/plugins/acorn.mjs b/node_modules/prettier/plugins/acorn.mjs index 56e4bcc023..660b1d24ed 100644 --- a/node_modules/prettier/plugins/acorn.mjs +++ b/node_modules/prettier/plugins/acorn.mjs @@ -1,13 +1,15 @@ -var Zi=Object.create;var et=Object.defineProperty;var es=Object.getOwnPropertyDescriptor;var ts=Object.getOwnPropertyNames;var is=Object.getPrototypeOf,ss=Object.prototype.hasOwnProperty;var Se=(a,u)=>()=>(u||a((u={exports:{}}).exports,u),u.exports),rs=(a,u)=>{for(var c in u)et(a,c,{get:u[c],enumerable:!0})},as=(a,u,c,h)=>{if(u&&typeof u=="object"||typeof u=="function")for(let l of ts(u))!ss.call(a,l)&&l!==c&&et(a,l,{get:()=>u[l],enumerable:!(h=es(u,l))||h.enumerable});return a};var ns=(a,u,c)=>(c=a!=null?Zi(is(a)):{},as(u||!a||!a.__esModule?et(c,"default",{value:a,enumerable:!0}):c,a));var si=Se(se=>{"use strict";Object.defineProperty(se,"__esModule",{value:!0});se.extract=ds;se.parse=xs;se.parseWithComments=ii;se.print=ys;se.strip=ms;var hs=/\*\/$/,ps=/^\/\*\*?/,ei=/^\s*(\/\*\*?(.|\r?\n)*?\*\/)/,cs=/(^|\s+)\/\/([^\r\n]*)/g,Yt=/^(\r?\n)+/,ls=/(?:^|\r?\n) *(@[^\r\n]*?) *\r?\n *(?![^@\r\n]*\/\/[^]*)([^@\r\n\s][^@\r\n]+?) *\r?\n/g,$t=/(?:^|\r?\n) *@(\S+) *([^\r\n]*)/g,fs=/(\r?\n|^) *\* ?/g,ti=[];function ds(a){let u=a.match(ei);return u?u[0].trimLeft():""}function ms(a){let u=a.match(ei);return u&&u[0]?a.substring(u[0].length):a}function xs(a){return ii(a).pragmas}function ii(a){let u=` -`;a=a.replace(ps,"").replace(hs,"").replace(fs,"$1");let c="";for(;c!==a;)c=a,a=a.replace(ls,`${u}$1 $2${u}`);a=a.replace(Yt,"").trimRight();let h=Object.create(null),l=a.replace($t,"").replace(Yt,"").trimRight(),f;for(;f=$t.exec(a);){let m=f[2].replace(cs,"");typeof h[f[1]]=="string"||Array.isArray(h[f[1]])?h[f[1]]=ti.concat(h[f[1]],m):h[f[1]]=m}return{comments:l,pragmas:h}}function ys({comments:a="",pragmas:u={}}){let c=` -`,h="/**",l=" *",f=" */",m=Object.keys(u),_=m.map(P=>Zt(P,u[P])).reduce((P,D)=>P.concat(D),[]).map(P=>`${l} ${P}${c}`).join("");if(!a){if(m.length===0)return"";if(m.length===1&&!Array.isArray(u[m[0]])){let P=u[m[0]];return`${h} ${Zt(m[0],P)[0]}${f}`}}let L=a.split(c).map(P=>`${l} ${P}`).join(c)+c;return h+c+(a?L:"")+(a&&m.length?l+c:"")+_+f}function Zt(a,u){return ti.concat(u).map(c=>`@${a} ${c}`.trim())}});var Ee=Se((qe,li)=>{(function(a,u){typeof qe=="object"&&typeof li<"u"?u(qe):typeof define=="function"&&define.amd?define(["exports"],u):(a=typeof globalThis<"u"?globalThis:a||self,u(a.acorn={}))})(qe,function(a){"use strict";var u=[509,0,227,0,150,4,294,9,1368,2,2,1,6,3,41,2,5,0,166,1,574,3,9,9,370,1,81,2,71,10,50,3,123,2,54,14,32,10,3,1,11,3,46,10,8,0,46,9,7,2,37,13,2,9,6,1,45,0,13,2,49,13,9,3,2,11,83,11,7,0,3,0,158,11,6,9,7,3,56,1,2,6,3,1,3,2,10,0,11,1,3,6,4,4,193,17,10,9,5,0,82,19,13,9,214,6,3,8,28,1,83,16,16,9,82,12,9,9,84,14,5,9,243,14,166,9,71,5,2,1,3,3,2,0,2,1,13,9,120,6,3,6,4,0,29,9,41,6,2,3,9,0,10,10,47,15,406,7,2,7,17,9,57,21,2,13,123,5,4,0,2,1,2,6,2,0,9,9,49,4,2,1,2,4,9,9,330,3,10,1,2,0,49,6,4,4,14,9,5351,0,7,14,13835,9,87,9,39,4,60,6,26,9,1014,0,2,54,8,3,82,0,12,1,19628,1,4706,45,3,22,543,4,4,5,9,7,3,6,31,3,149,2,1418,49,513,54,5,49,9,0,15,0,23,4,2,14,1361,6,2,16,3,6,2,1,2,4,101,0,161,6,10,9,357,0,62,13,499,13,983,6,110,6,6,9,4759,9,787719,239],c=[0,11,2,25,2,18,2,1,2,14,3,13,35,122,70,52,268,28,4,48,48,31,14,29,6,37,11,29,3,35,5,7,2,4,43,157,19,35,5,35,5,39,9,51,13,10,2,14,2,6,2,1,2,10,2,14,2,6,2,1,68,310,10,21,11,7,25,5,2,41,2,8,70,5,3,0,2,43,2,1,4,0,3,22,11,22,10,30,66,18,2,1,11,21,11,25,71,55,7,1,65,0,16,3,2,2,2,28,43,28,4,28,36,7,2,27,28,53,11,21,11,18,14,17,111,72,56,50,14,50,14,35,349,41,7,1,79,28,11,0,9,21,43,17,47,20,28,22,13,52,58,1,3,0,14,44,33,24,27,35,30,0,3,0,9,34,4,0,13,47,15,3,22,0,2,0,36,17,2,24,20,1,64,6,2,0,2,3,2,14,2,9,8,46,39,7,3,1,3,21,2,6,2,1,2,4,4,0,19,0,13,4,159,52,19,3,21,2,31,47,21,1,2,0,185,46,42,3,37,47,21,0,60,42,14,0,72,26,38,6,186,43,117,63,32,7,3,0,3,7,2,1,2,23,16,0,2,0,95,7,3,38,17,0,2,0,29,0,11,39,8,0,22,0,12,45,20,0,19,72,264,8,2,36,18,0,50,29,113,6,2,1,2,37,22,0,26,5,2,1,2,31,15,0,328,18,16,0,2,12,2,33,125,0,80,921,103,110,18,195,2637,96,16,1071,18,5,4026,582,8634,568,8,30,18,78,18,29,19,47,17,3,32,20,6,18,689,63,129,74,6,0,67,12,65,1,2,0,29,6135,9,1237,43,8,8936,3,2,6,2,1,2,290,16,0,30,2,3,0,15,3,9,395,2309,106,6,12,4,8,8,9,5991,84,2,70,2,1,3,0,3,1,3,3,2,11,2,0,2,6,2,64,2,3,3,7,2,6,2,27,2,3,2,4,2,0,4,6,2,339,3,24,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,7,1845,30,7,5,262,61,147,44,11,6,17,0,322,29,19,43,485,27,757,6,2,3,2,1,2,14,2,196,60,67,8,0,1205,3,2,26,2,1,2,0,3,0,2,9,2,3,2,0,2,0,7,0,5,0,2,0,2,0,2,2,2,1,2,0,3,0,2,0,2,0,2,0,2,0,2,1,2,0,3,3,2,6,2,3,2,3,2,0,2,9,2,16,6,2,2,4,2,16,4421,42719,33,4153,7,221,3,5761,15,7472,3104,541,1507,4938,6,4191],h="\u200C\u200D\xB7\u0300-\u036F\u0387\u0483-\u0487\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u0610-\u061A\u064B-\u0669\u0670\u06D6-\u06DC\u06DF-\u06E4\u06E7\u06E8\u06EA-\u06ED\u06F0-\u06F9\u0711\u0730-\u074A\u07A6-\u07B0\u07C0-\u07C9\u07EB-\u07F3\u07FD\u0816-\u0819\u081B-\u0823\u0825-\u0827\u0829-\u082D\u0859-\u085B\u0898-\u089F\u08CA-\u08E1\u08E3-\u0903\u093A-\u093C\u093E-\u094F\u0951-\u0957\u0962\u0963\u0966-\u096F\u0981-\u0983\u09BC\u09BE-\u09C4\u09C7\u09C8\u09CB-\u09CD\u09D7\u09E2\u09E3\u09E6-\u09EF\u09FE\u0A01-\u0A03\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A66-\u0A71\u0A75\u0A81-\u0A83\u0ABC\u0ABE-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AE2\u0AE3\u0AE6-\u0AEF\u0AFA-\u0AFF\u0B01-\u0B03\u0B3C\u0B3E-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B55-\u0B57\u0B62\u0B63\u0B66-\u0B6F\u0B82\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD7\u0BE6-\u0BEF\u0C00-\u0C04\u0C3C\u0C3E-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C62\u0C63\u0C66-\u0C6F\u0C81-\u0C83\u0CBC\u0CBE-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CE2\u0CE3\u0CE6-\u0CEF\u0CF3\u0D00-\u0D03\u0D3B\u0D3C\u0D3E-\u0D44\u0D46-\u0D48\u0D4A-\u0D4D\u0D57\u0D62\u0D63\u0D66-\u0D6F\u0D81-\u0D83\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E31\u0E34-\u0E3A\u0E47-\u0E4E\u0E50-\u0E59\u0EB1\u0EB4-\u0EBC\u0EC8-\u0ECE\u0ED0-\u0ED9\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E\u0F3F\u0F71-\u0F84\u0F86\u0F87\u0F8D-\u0F97\u0F99-\u0FBC\u0FC6\u102B-\u103E\u1040-\u1049\u1056-\u1059\u105E-\u1060\u1062-\u1064\u1067-\u106D\u1071-\u1074\u1082-\u108D\u108F-\u109D\u135D-\u135F\u1369-\u1371\u1712-\u1715\u1732-\u1734\u1752\u1753\u1772\u1773\u17B4-\u17D3\u17DD\u17E0-\u17E9\u180B-\u180D\u180F-\u1819\u18A9\u1920-\u192B\u1930-\u193B\u1946-\u194F\u19D0-\u19DA\u1A17-\u1A1B\u1A55-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AB0-\u1ABD\u1ABF-\u1ACE\u1B00-\u1B04\u1B34-\u1B44\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1B82\u1BA1-\u1BAD\u1BB0-\u1BB9\u1BE6-\u1BF3\u1C24-\u1C37\u1C40-\u1C49\u1C50-\u1C59\u1CD0-\u1CD2\u1CD4-\u1CE8\u1CED\u1CF4\u1CF7-\u1CF9\u1DC0-\u1DFF\u203F\u2040\u2054\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2CEF-\u2CF1\u2D7F\u2DE0-\u2DFF\u302A-\u302F\u3099\u309A\uA620-\uA629\uA66F\uA674-\uA67D\uA69E\uA69F\uA6F0\uA6F1\uA802\uA806\uA80B\uA823-\uA827\uA82C\uA880\uA881\uA8B4-\uA8C5\uA8D0-\uA8D9\uA8E0-\uA8F1\uA8FF-\uA909\uA926-\uA92D\uA947-\uA953\uA980-\uA983\uA9B3-\uA9C0\uA9D0-\uA9D9\uA9E5\uA9F0-\uA9F9\uAA29-\uAA36\uAA43\uAA4C\uAA4D\uAA50-\uAA59\uAA7B-\uAA7D\uAAB0\uAAB2-\uAAB4\uAAB7\uAAB8\uAABE\uAABF\uAAC1\uAAEB-\uAAEF\uAAF5\uAAF6\uABE3-\uABEA\uABEC\uABED\uABF0-\uABF9\uFB1E\uFE00-\uFE0F\uFE20-\uFE2F\uFE33\uFE34\uFE4D-\uFE4F\uFF10-\uFF19\uFF3F",l="\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0560-\u0588\u05D0-\u05EA\u05EF-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u0870-\u0887\u0889-\u088E\u08A0-\u08C9\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C5D\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D04-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E86-\u0E8A\u0E8C-\u0EA3\u0EA5\u0EA7-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u1711\u171F-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1878\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4C\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\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\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2118-\u211D\u2124\u2126\u2128\u212A-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309B-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312F\u3131-\u318E\u31A0-\u31BF\u31F0-\u31FF\u3400-\u4DBF\u4E00-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7CA\uA7D0\uA7D1\uA7D3\uA7D5-\uA7D9\uA7F2-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA8FE\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB69\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC",f={3:"abstract boolean byte char class double enum export extends final float goto implements import int interface long native package private protected public short static super synchronized throws transient volatile",5:"class enum extends super const export import",6:"enum",strict:"implements interface let package private protected public static yield",strictBind:"eval arguments"},m="break case catch continue debugger default do else finally for function if return switch throw try var while with null true false instanceof typeof void delete new in this",_={5:m,"5module":m+" export import",6:m+" const class extends export import super"},L=/^in(stanceof)?$/,P=new RegExp("["+l+"]"),D=new RegExp("["+l+h+"]");function G(e,t){for(var i=65536,s=0;se)return!1;if(i+=t[s+1],i>=e)return!0}return!1}function F(e,t){return e<65?e===36:e<91?!0:e<97?e===95:e<123?!0:e<=65535?e>=170&&P.test(String.fromCharCode(e)):t===!1?!1:G(e,c)}function d(e,t){return e<48?e===36:e<58?!0:e<65?!1:e<91?!0:e<97?e===95:e<123?!0:e<=65535?e>=170&&D.test(String.fromCharCode(e)):t===!1?!1:G(e,c)||G(e,u)}var y=function(t,i){i===void 0&&(i={}),this.label=t,this.keyword=i.keyword,this.beforeExpr=!!i.beforeExpr,this.startsExpr=!!i.startsExpr,this.isLoop=!!i.isLoop,this.isAssign=!!i.isAssign,this.prefix=!!i.prefix,this.postfix=!!i.postfix,this.binop=i.binop||null,this.updateContext=null};function b(e,t){return new y(e,{beforeExpr:!0,binop:t})}var k={beforeExpr:!0},N={startsExpr:!0},H={};function E(e,t){return t===void 0&&(t={}),t.keyword=e,H[e]=new y(e,t)}var r={num:new y("num",N),regexp:new y("regexp",N),string:new y("string",N),name:new y("name",N),privateId:new y("privateId",N),eof:new y("eof"),bracketL:new y("[",{beforeExpr:!0,startsExpr:!0}),bracketR:new y("]"),braceL:new y("{",{beforeExpr:!0,startsExpr:!0}),braceR:new y("}"),parenL:new y("(",{beforeExpr:!0,startsExpr:!0}),parenR:new y(")"),comma:new y(",",k),semi:new y(";",k),colon:new y(":",k),dot:new y("."),question:new y("?",k),questionDot:new y("?."),arrow:new y("=>",k),template:new y("template"),invalidTemplate:new y("invalidTemplate"),ellipsis:new y("...",k),backQuote:new y("`",N),dollarBraceL:new y("${",{beforeExpr:!0,startsExpr:!0}),eq:new y("=",{beforeExpr:!0,isAssign:!0}),assign:new y("_=",{beforeExpr:!0,isAssign:!0}),incDec:new y("++/--",{prefix:!0,postfix:!0,startsExpr:!0}),prefix:new y("!/~",{beforeExpr:!0,prefix:!0,startsExpr:!0}),logicalOR:b("||",1),logicalAND:b("&&",2),bitwiseOR:b("|",3),bitwiseXOR:b("^",4),bitwiseAND:b("&",5),equality:b("==/!=/===/!==",6),relational:b("/<=/>=",7),bitShift:b("<>/>>>",8),plusMin:new y("+/-",{beforeExpr:!0,binop:9,prefix:!0,startsExpr:!0}),modulo:b("%",10),star:b("*",10),slash:b("/",10),starstar:new y("**",{beforeExpr:!0}),coalesce:b("??",1),_break:E("break"),_case:E("case",k),_catch:E("catch"),_continue:E("continue"),_debugger:E("debugger"),_default:E("default",k),_do:E("do",{isLoop:!0,beforeExpr:!0}),_else:E("else",k),_finally:E("finally"),_for:E("for",{isLoop:!0}),_function:E("function",N),_if:E("if"),_return:E("return",k),_switch:E("switch"),_throw:E("throw",k),_try:E("try"),_var:E("var"),_const:E("const"),_while:E("while",{isLoop:!0}),_with:E("with"),_new:E("new",{beforeExpr:!0,startsExpr:!0}),_this:E("this",N),_super:E("super",N),_class:E("class",N),_extends:E("extends",k),_export:E("export"),_import:E("import",N),_null:E("null",N),_true:E("true",N),_false:E("false",N),_in:E("in",{beforeExpr:!0,binop:7}),_instanceof:E("instanceof",{beforeExpr:!0,binop:7}),_typeof:E("typeof",{beforeExpr:!0,prefix:!0,startsExpr:!0}),_void:E("void",{beforeExpr:!0,prefix:!0,startsExpr:!0}),_delete:E("delete",{beforeExpr:!0,prefix:!0,startsExpr:!0})},j=/\r\n?|\n|\u2028|\u2029/,ft=new RegExp(j.source,"g");function te(e){return e===10||e===13||e===8232||e===8233}function dt(e,t,i){i===void 0&&(i=e.length);for(var s=t;s>10)+55296,(e&1023)+56320))}var ki=/(?:[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])/,ae=function(t,i){this.line=t,this.column=i};ae.prototype.offset=function(t){return new ae(this.line,this.column+t)};var de=function(t,i,s){this.start=i,this.end=s,t.sourceFile!==null&&(this.source=t.sourceFile)};function Ge(e,t){for(var i=1,s=0;;){var n=dt(e,s,t);if(n<0)return new ae(i,t-s);++i,s=n}}var Ae={ecmaVersion:null,sourceType:"script",onInsertedSemicolon:null,onTrailingComma:null,allowReserved:null,allowReturnOutsideFunction:!1,allowImportExportEverywhere:!1,allowAwaitOutsideFunction:null,allowSuperOutsideMethod:null,allowHashBang:!1,locations:!1,onToken:null,onComment:null,ranges:!1,program:null,sourceFile:null,directSourceFile:null,preserveParens:!1},yt=!1;function Ti(e){var t={};for(var i in Ae)t[i]=e&&fe(e,i)?e[i]:Ae[i];if(t.ecmaVersion==="latest"?t.ecmaVersion=1e8:t.ecmaVersion==null?(!yt&&typeof console=="object"&&console.warn&&(yt=!0,console.warn(`Since Acorn 8.0.0, options.ecmaVersion is required. -Defaulting to 2020, but this will stop working in the future.`)),t.ecmaVersion=11):t.ecmaVersion>=2015&&(t.ecmaVersion-=2009),t.allowReserved==null&&(t.allowReserved=t.ecmaVersion<5),(!e||e.allowHashBang==null)&&(t.allowHashBang=t.ecmaVersion>=14),xt(t.onToken)){var s=t.onToken;t.onToken=function(n){return s.push(n)}}return xt(t.onComment)&&(t.onComment=Ei(t,t.onComment)),t}function Ei(e,t){return function(i,s,n,o,p,x){var g={type:i?"Block":"Line",value:s,start:n,end:o};e.locations&&(g.loc=new de(this,p,x)),e.ranges&&(g.range=[n,o]),t.push(g)}}var me=1,ne=2,ze=4,gt=8,vt=16,bt=32,We=64,St=128,xe=256,Xe=me|ne|xe;function He(e,t){return ne|(e?ze:0)|(t?gt:0)}var Pe=0,Qe=1,Q=2,_t=3,Ct=4,kt=5,V=function(t,i,s){this.options=t=Ti(t),this.sourceFile=t.sourceFile,this.keywords=$(_[t.ecmaVersion>=6?6:t.sourceType==="module"?"5module":5]);var n="";t.allowReserved!==!0&&(n=f[t.ecmaVersion>=6?6:t.ecmaVersion===5?5:3],t.sourceType==="module"&&(n+=" await")),this.reservedWords=$(n);var o=(n?n+" ":"")+f.strict;this.reservedWordsStrict=$(o),this.reservedWordsStrictBind=$(o+" "+f.strictBind),this.input=String(i),this.containsEsc=!1,s?(this.pos=s,this.lineStart=this.input.lastIndexOf(` -`,s-1)+1,this.curLine=this.input.slice(0,this.lineStart).split(j).length):(this.pos=this.lineStart=0,this.curLine=1),this.type=r.eof,this.value=null,this.start=this.end=this.pos,this.startLoc=this.endLoc=this.curPosition(),this.lastTokEndLoc=this.lastTokStartLoc=null,this.lastTokStart=this.lastTokEnd=this.pos,this.context=this.initialContext(),this.exprAllowed=!0,this.inModule=t.sourceType==="module",this.strict=this.inModule||this.strictDirective(this.pos),this.potentialArrowAt=-1,this.potentialArrowInForAwait=!1,this.yieldPos=this.awaitPos=this.awaitIdentPos=0,this.labels=[],this.undefinedExports=Object.create(null),this.pos===0&&t.allowHashBang&&this.input.slice(0,2)==="#!"&&this.skipLineComment(2),this.scopeStack=[],this.enterScope(me),this.regexpState=null,this.privateNameStack=[]},z={inFunction:{configurable:!0},inGenerator:{configurable:!0},inAsync:{configurable:!0},canAwait:{configurable:!0},allowSuper:{configurable:!0},allowDirectSuper:{configurable:!0},treatFunctionsAsVar:{configurable:!0},allowNewDotTarget:{configurable:!0},inClassStaticBlock:{configurable:!0}};V.prototype.parse=function(){var t=this.options.program||this.startNode();return this.nextToken(),this.parseTopLevel(t)},z.inFunction.get=function(){return(this.currentVarScope().flags&ne)>0},z.inGenerator.get=function(){return(this.currentVarScope().flags>)>0&&!this.currentVarScope().inClassFieldInit},z.inAsync.get=function(){return(this.currentVarScope().flags&ze)>0&&!this.currentVarScope().inClassFieldInit},z.canAwait.get=function(){for(var e=this.scopeStack.length-1;e>=0;e--){var t=this.scopeStack[e];if(t.inClassFieldInit||t.flags&xe)return!1;if(t.flags&ne)return(t.flags&ze)>0}return this.inModule&&this.options.ecmaVersion>=13||this.options.allowAwaitOutsideFunction},z.allowSuper.get=function(){var e=this.currentThisScope(),t=e.flags,i=e.inClassFieldInit;return(t&We)>0||i||this.options.allowSuperOutsideMethod},z.allowDirectSuper.get=function(){return(this.currentThisScope().flags&St)>0},z.treatFunctionsAsVar.get=function(){return this.treatFunctionsAsVarInScope(this.currentScope())},z.allowNewDotTarget.get=function(){var e=this.currentThisScope(),t=e.flags,i=e.inClassFieldInit;return(t&(ne|xe))>0||i},z.inClassStaticBlock.get=function(){return(this.currentVarScope().flags&xe)>0},V.extend=function(){for(var t=[],i=arguments.length;i--;)t[i]=arguments[i];for(var s=this,n=0;n=,?^&]/.test(n)||n==="!"&&this.input.charAt(s+1)==="=")}e+=t[0].length,U.lastIndex=e,e+=U.exec(this.input)[0].length,this.input[e]===";"&&e++}},O.eat=function(e){return this.type===e?(this.next(),!0):!1},O.isContextual=function(e){return this.type===r.name&&this.value===e&&!this.containsEsc},O.eatContextual=function(e){return this.isContextual(e)?(this.next(),!0):!1},O.expectContextual=function(e){this.eatContextual(e)||this.unexpected()},O.canInsertSemicolon=function(){return this.type===r.eof||this.type===r.braceR||j.test(this.input.slice(this.lastTokEnd,this.start))},O.insertSemicolon=function(){if(this.canInsertSemicolon())return this.options.onInsertedSemicolon&&this.options.onInsertedSemicolon(this.lastTokEnd,this.lastTokEndLoc),!0},O.semicolon=function(){!this.eat(r.semi)&&!this.insertSemicolon()&&this.unexpected()},O.afterTrailingComma=function(e,t){if(this.type===e)return this.options.onTrailingComma&&this.options.onTrailingComma(this.lastTokStart,this.lastTokStartLoc),t||this.next(),!0},O.expect=function(e){this.eat(e)||this.unexpected()},O.unexpected=function(e){this.raise(e??this.start,"Unexpected token")};var Ie=function(){this.shorthandAssign=this.trailingComma=this.parenthesizedAssign=this.parenthesizedBind=this.doubleProto=-1};O.checkPatternErrors=function(e,t){if(e){e.trailingComma>-1&&this.raiseRecoverable(e.trailingComma,"Comma is not permitted after the rest element");var i=t?e.parenthesizedAssign:e.parenthesizedBind;i>-1&&this.raiseRecoverable(i,t?"Assigning to rvalue":"Parenthesized pattern")}},O.checkExpressionErrors=function(e,t){if(!e)return!1;var i=e.shorthandAssign,s=e.doubleProto;if(!t)return i>=0||s>=0;i>=0&&this.raise(i,"Shorthand property assignments are valid only in destructuring patterns"),s>=0&&this.raiseRecoverable(s,"Redefinition of __proto__ property")},O.checkYieldAwaitInDefaultParams=function(){this.yieldPos&&(!this.awaitPos||this.yieldPos55295&&s<56320)return!0;if(F(s,!0)){for(var n=i+1;d(s=this.input.charCodeAt(n),!0);)++n;if(s===92||s>55295&&s<56320)return!0;var o=this.input.slice(i,n);if(!L.test(o))return!0}return!1},S.isAsyncFunction=function(){if(this.options.ecmaVersion<8||!this.isContextual("async"))return!1;U.lastIndex=this.pos;var e=U.exec(this.input),t=this.pos+e[0].length,i;return!j.test(this.input.slice(this.pos,t))&&this.input.slice(t,t+8)==="function"&&(t+8===this.input.length||!(d(i=this.input.charCodeAt(t+8))||i>55295&&i<56320))},S.parseStatement=function(e,t,i){var s=this.type,n=this.startNode(),o;switch(this.isLet(e)&&(s=r._var,o="let"),s){case r._break:case r._continue:return this.parseBreakContinueStatement(n,s.keyword);case r._debugger:return this.parseDebuggerStatement(n);case r._do:return this.parseDoStatement(n);case r._for:return this.parseForStatement(n);case r._function:return e&&(this.strict||e!=="if"&&e!=="label")&&this.options.ecmaVersion>=6&&this.unexpected(),this.parseFunctionStatement(n,!1,!e);case r._class:return e&&this.unexpected(),this.parseClass(n,!0);case r._if:return this.parseIfStatement(n);case r._return:return this.parseReturnStatement(n);case r._switch:return this.parseSwitchStatement(n);case r._throw:return this.parseThrowStatement(n);case r._try:return this.parseTryStatement(n);case r._const:case r._var:return o=o||this.value,e&&o!=="var"&&this.unexpected(),this.parseVarStatement(n,o);case r._while:return this.parseWhileStatement(n);case r._with:return this.parseWithStatement(n);case r.braceL:return this.parseBlock(!0,n);case r.semi:return this.parseEmptyStatement(n);case r._export:case r._import:if(this.options.ecmaVersion>10&&s===r._import){U.lastIndex=this.pos;var p=U.exec(this.input),x=this.pos+p[0].length,g=this.input.charCodeAt(x);if(g===40||g===46)return this.parseExpressionStatement(n,this.parseExpression())}return this.options.allowImportExportEverywhere||(t||this.raise(this.start,"'import' and 'export' may only appear at the top level"),this.inModule||this.raise(this.start,"'import' and 'export' may appear only with 'sourceType: module'")),s===r._import?this.parseImport(n):this.parseExport(n,i);default:if(this.isAsyncFunction())return e&&this.unexpected(),this.next(),this.parseFunctionStatement(n,!0,!e);var T=this.value,w=this.parseExpression();return s===r.name&&w.type==="Identifier"&&this.eat(r.colon)?this.parseLabeledStatement(n,T,w,e):this.parseExpressionStatement(n,w)}},S.parseBreakContinueStatement=function(e,t){var i=t==="break";this.next(),this.eat(r.semi)||this.insertSemicolon()?e.label=null:this.type!==r.name?this.unexpected():(e.label=this.parseIdent(),this.semicolon());for(var s=0;s=6?this.eat(r.semi):this.semicolon(),this.finishNode(e,"DoWhileStatement")},S.parseForStatement=function(e){this.next();var t=this.options.ecmaVersion>=9&&this.canAwait&&this.eatContextual("await")?this.lastTokStart:-1;if(this.labels.push(Ye),this.enterScope(0),this.expect(r.parenL),this.type===r.semi)return t>-1&&this.unexpected(t),this.parseFor(e,null);var i=this.isLet();if(this.type===r._var||this.type===r._const||i){var s=this.startNode(),n=i?"let":this.value;return this.next(),this.parseVar(s,!0,n),this.finishNode(s,"VariableDeclaration"),(this.type===r._in||this.options.ecmaVersion>=6&&this.isContextual("of"))&&s.declarations.length===1?(this.options.ecmaVersion>=9&&(this.type===r._in?t>-1&&this.unexpected(t):e.await=t>-1),this.parseForIn(e,s)):(t>-1&&this.unexpected(t),this.parseFor(e,s))}var o=this.isContextual("let"),p=!1,x=new Ie,g=this.parseExpression(t>-1?"await":!0,x);return this.type===r._in||(p=this.options.ecmaVersion>=6&&this.isContextual("of"))?(this.options.ecmaVersion>=9&&(this.type===r._in?t>-1&&this.unexpected(t):e.await=t>-1),o&&p&&this.raise(g.start,"The left-hand side of a for-of loop may not start with 'let'."),this.toAssignable(g,!1,x),this.checkLValPattern(g),this.parseForIn(e,g)):(this.checkExpressionErrors(x,!0),t>-1&&this.unexpected(t),this.parseFor(e,g))},S.parseFunctionStatement=function(e,t,i){return this.next(),this.parseFunction(e,ye|(i?0:$e),!1,t)},S.parseIfStatement=function(e){return this.next(),e.test=this.parseParenExpression(),e.consequent=this.parseStatement("if"),e.alternate=this.eat(r._else)?this.parseStatement("if"):null,this.finishNode(e,"IfStatement")},S.parseReturnStatement=function(e){return!this.inFunction&&!this.options.allowReturnOutsideFunction&&this.raise(this.start,"'return' outside of function"),this.next(),this.eat(r.semi)||this.insertSemicolon()?e.argument=null:(e.argument=this.parseExpression(),this.semicolon()),this.finishNode(e,"ReturnStatement")},S.parseSwitchStatement=function(e){this.next(),e.discriminant=this.parseParenExpression(),e.cases=[],this.expect(r.braceL),this.labels.push(Ai),this.enterScope(0);for(var t,i=!1;this.type!==r.braceR;)if(this.type===r._case||this.type===r._default){var s=this.type===r._case;t&&this.finishNode(t,"SwitchCase"),e.cases.push(t=this.startNode()),t.consequent=[],this.next(),s?t.test=this.parseExpression():(i&&this.raiseRecoverable(this.lastTokStart,"Multiple default clauses"),i=!0,t.test=null),this.expect(r.colon)}else t||this.unexpected(),t.consequent.push(this.parseStatement(null));return this.exitScope(),t&&this.finishNode(t,"SwitchCase"),this.next(),this.labels.pop(),this.finishNode(e,"SwitchStatement")},S.parseThrowStatement=function(e){return this.next(),j.test(this.input.slice(this.lastTokEnd,this.start))&&this.raise(this.lastTokEnd,"Illegal newline after throw"),e.argument=this.parseExpression(),this.semicolon(),this.finishNode(e,"ThrowStatement")};var Pi=[];S.parseCatchClauseParam=function(){var e=this.parseBindingAtom(),t=e.type==="Identifier";return this.enterScope(t?bt:0),this.checkLValPattern(e,t?Ct:Q),this.expect(r.parenR),e},S.parseTryStatement=function(e){if(this.next(),e.block=this.parseBlock(),e.handler=null,this.type===r._catch){var t=this.startNode();this.next(),this.eat(r.parenL)?t.param=this.parseCatchClauseParam():(this.options.ecmaVersion<10&&this.unexpected(),t.param=null,this.enterScope(0)),t.body=this.parseBlock(!1),this.exitScope(),e.handler=this.finishNode(t,"CatchClause")}return e.finalizer=this.eat(r._finally)?this.parseBlock():null,!e.handler&&!e.finalizer&&this.raise(e.start,"Missing catch or finally clause"),this.finishNode(e,"TryStatement")},S.parseVarStatement=function(e,t,i){return this.next(),this.parseVar(e,!1,t,i),this.semicolon(),this.finishNode(e,"VariableDeclaration")},S.parseWhileStatement=function(e){return this.next(),e.test=this.parseParenExpression(),this.labels.push(Ye),e.body=this.parseStatement("while"),this.labels.pop(),this.finishNode(e,"WhileStatement")},S.parseWithStatement=function(e){return this.strict&&this.raise(this.start,"'with' in strict mode"),this.next(),e.object=this.parseParenExpression(),e.body=this.parseStatement("with"),this.finishNode(e,"WithStatement")},S.parseEmptyStatement=function(e){return this.next(),this.finishNode(e,"EmptyStatement")},S.parseLabeledStatement=function(e,t,i,s){for(var n=0,o=this.labels;n=0;g--){var T=this.labels[g];if(T.statementStart===e.start)T.statementStart=this.start,T.kind=x;else break}return this.labels.push({name:t,kind:x,statementStart:this.start}),e.body=this.parseStatement(s?s.indexOf("label")===-1?s+"label":s:"label"),this.labels.pop(),e.label=i,this.finishNode(e,"LabeledStatement")},S.parseExpressionStatement=function(e,t){return e.expression=t,this.semicolon(),this.finishNode(e,"ExpressionStatement")},S.parseBlock=function(e,t,i){for(e===void 0&&(e=!0),t===void 0&&(t=this.startNode()),t.body=[],this.expect(r.braceL),e&&this.enterScope(0);this.type!==r.braceR;){var s=this.parseStatement(null);t.body.push(s)}return i&&(this.strict=!1),this.next(),e&&this.exitScope(),this.finishNode(t,"BlockStatement")},S.parseFor=function(e,t){return e.init=t,this.expect(r.semi),e.test=this.type===r.semi?null:this.parseExpression(),this.expect(r.semi),e.update=this.type===r.parenR?null:this.parseExpression(),this.expect(r.parenR),e.body=this.parseStatement("for"),this.exitScope(),this.labels.pop(),this.finishNode(e,"ForStatement")},S.parseForIn=function(e,t){var i=this.type===r._in;return this.next(),t.type==="VariableDeclaration"&&t.declarations[0].init!=null&&(!i||this.options.ecmaVersion<8||this.strict||t.kind!=="var"||t.declarations[0].id.type!=="Identifier")&&this.raise(t.start,(i?"for-in":"for-of")+" loop variable declaration may not have an initializer"),e.left=t,e.right=i?this.parseExpression():this.parseMaybeAssign(),this.expect(r.parenR),e.body=this.parseStatement("for"),this.exitScope(),this.labels.pop(),this.finishNode(e,i?"ForInStatement":"ForOfStatement")},S.parseVar=function(e,t,i,s){for(e.declarations=[],e.kind=i;;){var n=this.startNode();if(this.parseVarId(n,i),this.eat(r.eq)?n.init=this.parseMaybeAssign(t):!s&&i==="const"&&!(this.type===r._in||this.options.ecmaVersion>=6&&this.isContextual("of"))?this.unexpected():!s&&n.id.type!=="Identifier"&&!(t&&(this.type===r._in||this.isContextual("of")))?this.raise(this.lastTokEnd,"Complex binding patterns require an initialization value"):n.init=null,e.declarations.push(this.finishNode(n,"VariableDeclarator")),!this.eat(r.comma))break}return e},S.parseVarId=function(e,t){e.id=this.parseBindingAtom(),this.checkLValPattern(e.id,t==="var"?Qe:Q,!1)};var ye=1,$e=2,Tt=4;S.parseFunction=function(e,t,i,s,n){this.initFunction(e),(this.options.ecmaVersion>=9||this.options.ecmaVersion>=6&&!s)&&(this.type===r.star&&t&$e&&this.unexpected(),e.generator=this.eat(r.star)),this.options.ecmaVersion>=8&&(e.async=!!s),t&ye&&(e.id=t&Tt&&this.type!==r.name?null:this.parseIdent(),e.id&&!(t&$e)&&this.checkLValSimple(e.id,this.strict||e.generator||e.async?this.treatFunctionsAsVar?Qe:Q:_t));var o=this.yieldPos,p=this.awaitPos,x=this.awaitIdentPos;return this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0,this.enterScope(He(e.async,e.generator)),t&ye||(e.id=this.type===r.name?this.parseIdent():null),this.parseFunctionParams(e),this.parseFunctionBody(e,i,!1,n),this.yieldPos=o,this.awaitPos=p,this.awaitIdentPos=x,this.finishNode(e,t&ye?"FunctionDeclaration":"FunctionExpression")},S.parseFunctionParams=function(e){this.expect(r.parenL),e.params=this.parseBindingList(r.parenR,!1,this.options.ecmaVersion>=8),this.checkYieldAwaitInDefaultParams()},S.parseClass=function(e,t){this.next();var i=this.strict;this.strict=!0,this.parseClassId(e,t),this.parseClassSuper(e);var s=this.enterClassBody(),n=this.startNode(),o=!1;for(n.body=[],this.expect(r.braceL);this.type!==r.braceR;){var p=this.parseClassElement(e.superClass!==null);p&&(n.body.push(p),p.type==="MethodDefinition"&&p.kind==="constructor"?(o&&this.raiseRecoverable(p.start,"Duplicate constructor in the same class"),o=!0):p.key&&p.key.type==="PrivateIdentifier"&&Ii(s,p)&&this.raiseRecoverable(p.key.start,"Identifier '#"+p.key.name+"' has already been declared"))}return this.strict=i,this.next(),e.body=this.finishNode(n,"ClassBody"),this.exitClassBody(),this.finishNode(e,t?"ClassDeclaration":"ClassExpression")},S.parseClassElement=function(e){if(this.eat(r.semi))return null;var t=this.options.ecmaVersion,i=this.startNode(),s="",n=!1,o=!1,p="method",x=!1;if(this.eatContextual("static")){if(t>=13&&this.eat(r.braceL))return this.parseClassStaticBlock(i),i;this.isClassElementNameStart()||this.type===r.star?x=!0:s="static"}if(i.static=x,!s&&t>=8&&this.eatContextual("async")&&((this.isClassElementNameStart()||this.type===r.star)&&!this.canInsertSemicolon()?o=!0:s="async"),!s&&(t>=9||!o)&&this.eat(r.star)&&(n=!0),!s&&!o&&!n){var g=this.value;(this.eatContextual("get")||this.eatContextual("set"))&&(this.isClassElementNameStart()?p=g:s=g)}if(s?(i.computed=!1,i.key=this.startNodeAt(this.lastTokStart,this.lastTokStartLoc),i.key.name=s,this.finishNode(i.key,"Identifier")):this.parseClassElementName(i),t<13||this.type===r.parenL||p!=="method"||n||o){var T=!i.static&&Ne(i,"constructor"),w=T&&e;T&&p!=="method"&&this.raise(i.key.start,"Constructor can't have get/set modifier"),i.kind=T?"constructor":p,this.parseClassMethod(i,n,o,w)}else this.parseClassField(i);return i},S.isClassElementNameStart=function(){return this.type===r.name||this.type===r.privateId||this.type===r.num||this.type===r.string||this.type===r.bracketL||this.type.keyword},S.parseClassElementName=function(e){this.type===r.privateId?(this.value==="constructor"&&this.raise(this.start,"Classes can't have an element named '#constructor'"),e.computed=!1,e.key=this.parsePrivateIdent()):this.parsePropertyName(e)},S.parseClassMethod=function(e,t,i,s){var n=e.key;e.kind==="constructor"?(t&&this.raise(n.start,"Constructor can't be a generator"),i&&this.raise(n.start,"Constructor can't be an async method")):e.static&&Ne(e,"prototype")&&this.raise(n.start,"Classes may not have a static property named prototype");var o=e.value=this.parseMethod(t,i,s);return e.kind==="get"&&o.params.length!==0&&this.raiseRecoverable(o.start,"getter should have no params"),e.kind==="set"&&o.params.length!==1&&this.raiseRecoverable(o.start,"setter should have exactly one param"),e.kind==="set"&&o.params[0].type==="RestElement"&&this.raiseRecoverable(o.params[0].start,"Setter cannot use rest params"),this.finishNode(e,"MethodDefinition")},S.parseClassField=function(e){if(Ne(e,"constructor")?this.raise(e.key.start,"Classes can't have a field named 'constructor'"):e.static&&Ne(e,"prototype")&&this.raise(e.key.start,"Classes can't have a static field named 'prototype'"),this.eat(r.eq)){var t=this.currentThisScope(),i=t.inClassFieldInit;t.inClassFieldInit=!0,e.value=this.parseMaybeAssign(),t.inClassFieldInit=i}else e.value=null;return this.semicolon(),this.finishNode(e,"PropertyDefinition")},S.parseClassStaticBlock=function(e){e.body=[];var t=this.labels;for(this.labels=[],this.enterScope(xe|We);this.type!==r.braceR;){var i=this.parseStatement(null);e.body.push(i)}return this.next(),this.exitScope(),this.labels=t,this.finishNode(e,"StaticBlock")},S.parseClassId=function(e,t){this.type===r.name?(e.id=this.parseIdent(),t&&this.checkLValSimple(e.id,Q,!1)):(t===!0&&this.unexpected(),e.id=null)},S.parseClassSuper=function(e){e.superClass=this.eat(r._extends)?this.parseExprSubscripts(null,!1):null},S.enterClassBody=function(){var e={declared:Object.create(null),used:[]};return this.privateNameStack.push(e),e.declared},S.exitClassBody=function(){for(var e=this.privateNameStack.pop(),t=e.declared,i=e.used,s=this.privateNameStack.length,n=s===0?null:this.privateNameStack[s-1],o=0;o=11&&(this.eatContextual("as")?(e.exported=this.parseModuleExportName(),this.checkExport(t,e.exported,this.lastTokStart)):e.exported=null),this.expectContextual("from"),this.type!==r.string&&this.unexpected(),e.source=this.parseExprAtom(),this.semicolon(),this.finishNode(e,"ExportAllDeclaration")},S.parseExport=function(e,t){if(this.next(),this.eat(r.star))return this.parseExportAllDeclaration(e,t);if(this.eat(r._default))return this.checkExport(t,"default",this.lastTokStart),e.declaration=this.parseExportDefaultDeclaration(),this.finishNode(e,"ExportDefaultDeclaration");if(this.shouldParseExportStatement())e.declaration=this.parseExportDeclaration(e),e.declaration.type==="VariableDeclaration"?this.checkVariableExport(t,e.declaration.declarations):this.checkExport(t,e.declaration.id,e.declaration.id.start),e.specifiers=[],e.source=null;else{if(e.declaration=null,e.specifiers=this.parseExportSpecifiers(t),this.eatContextual("from"))this.type!==r.string&&this.unexpected(),e.source=this.parseExprAtom();else{for(var i=0,s=e.specifiers;i=13&&this.type===r.string){var e=this.parseLiteral(this.value);return ki.test(e.value)&&this.raise(e.start,"An export name cannot include a lone surrogate."),e}return this.parseIdent(!0)},S.adaptDirectivePrologue=function(e){for(var t=0;t=5&&e.type==="ExpressionStatement"&&e.expression.type==="Literal"&&typeof e.expression.value=="string"&&(this.input[e.start]==='"'||this.input[e.start]==="'")};var q=V.prototype;q.toAssignable=function(e,t,i){if(this.options.ecmaVersion>=6&&e)switch(e.type){case"Identifier":this.inAsync&&e.name==="await"&&this.raise(e.start,"Cannot use 'await' as identifier inside an async function");break;case"ObjectPattern":case"ArrayPattern":case"AssignmentPattern":case"RestElement":break;case"ObjectExpression":e.type="ObjectPattern",i&&this.checkPatternErrors(i,!0);for(var s=0,n=e.properties;s=8&&!x&&g.name==="async"&&!this.canInsertSemicolon()&&this.eat(r._function))return this.overrideContext(I.f_expr),this.parseFunction(this.startNodeAt(o,p),0,!1,!0,t);if(n&&!this.canInsertSemicolon()){if(this.eat(r.arrow))return this.parseArrowExpression(this.startNodeAt(o,p),[g],!1,t);if(this.options.ecmaVersion>=8&&g.name==="async"&&this.type===r.name&&!x&&(!this.potentialArrowInForAwait||this.value!=="of"||this.containsEsc))return g=this.parseIdent(!1),(this.canInsertSemicolon()||!this.eat(r.arrow))&&this.unexpected(),this.parseArrowExpression(this.startNodeAt(o,p),[g],!0,t)}return g;case r.regexp:var T=this.value;return s=this.parseLiteral(T.value),s.regex={pattern:T.pattern,flags:T.flags},s;case r.num:case r.string:return this.parseLiteral(this.value);case r._null:case r._true:case r._false:return s=this.startNode(),s.value=this.type===r._null?null:this.type===r._true,s.raw=this.type.keyword,this.next(),this.finishNode(s,"Literal");case r.parenL:var w=this.start,R=this.parseParenAndDistinguishExpression(n,t);return e&&(e.parenthesizedAssign<0&&!this.isSimpleAssignTarget(R)&&(e.parenthesizedAssign=w),e.parenthesizedBind<0&&(e.parenthesizedBind=w)),R;case r.bracketL:return s=this.startNode(),this.next(),s.elements=this.parseExprList(r.bracketR,!0,!0,e),this.finishNode(s,"ArrayExpression");case r.braceL:return this.overrideContext(I.b_expr),this.parseObj(!1,e);case r._function:return s=this.startNode(),this.next(),this.parseFunction(s,0);case r._class:return this.parseClass(this.startNode(),!1);case r._new:return this.parseNew();case r.backQuote:return this.parseTemplate();case r._import:return this.options.ecmaVersion>=11?this.parseExprImport(i):this.unexpected();default:return this.parseExprAtomDefault()}},C.parseExprAtomDefault=function(){this.unexpected()},C.parseExprImport=function(e){var t=this.startNode();this.containsEsc&&this.raiseRecoverable(this.start,"Escape sequence in keyword import");var i=this.parseIdent(!0);if(this.type===r.parenL&&!e)return this.parseDynamicImport(t);if(this.type===r.dot)return t.meta=i,this.parseImportMeta(t);this.unexpected()},C.parseDynamicImport=function(e){if(this.next(),e.source=this.parseMaybeAssign(),!this.eat(r.parenR)){var t=this.start;this.eat(r.comma)&&this.eat(r.parenR)?this.raiseRecoverable(t,"Trailing comma is not allowed in import()"):this.unexpected(t)}return this.finishNode(e,"ImportExpression")},C.parseImportMeta=function(e){this.next();var t=this.containsEsc;return e.property=this.parseIdent(!0),e.property.name!=="meta"&&this.raiseRecoverable(e.property.start,"The only valid meta property for import is 'import.meta'"),t&&this.raiseRecoverable(e.start,"'import.meta' must not contain escaped characters"),this.options.sourceType!=="module"&&!this.options.allowImportExportEverywhere&&this.raiseRecoverable(e.start,"Cannot use 'import.meta' outside a module"),this.finishNode(e,"MetaProperty")},C.parseLiteral=function(e){var t=this.startNode();return t.value=e,t.raw=this.input.slice(this.start,this.end),t.raw.charCodeAt(t.raw.length-1)===110&&(t.bigint=t.raw.slice(0,-1).replace(/_/g,"")),this.next(),this.finishNode(t,"Literal")},C.parseParenExpression=function(){this.expect(r.parenL);var e=this.parseExpression();return this.expect(r.parenR),e},C.shouldParseArrow=function(e){return!this.canInsertSemicolon()},C.parseParenAndDistinguishExpression=function(e,t){var i=this.start,s=this.startLoc,n,o=this.options.ecmaVersion>=8;if(this.options.ecmaVersion>=6){this.next();var p=this.start,x=this.startLoc,g=[],T=!0,w=!1,R=new Ie,ie=this.yieldPos,be=this.awaitPos,ue;for(this.yieldPos=0,this.awaitPos=0;this.type!==r.parenR;)if(T?T=!1:this.expect(r.comma),o&&this.afterTrailingComma(r.parenR,!0)){w=!0;break}else if(this.type===r.ellipsis){ue=this.start,g.push(this.parseParenItem(this.parseRestBinding())),this.type===r.comma&&this.raiseRecoverable(this.start,"Comma is not permitted after the rest element");break}else g.push(this.parseMaybeAssign(!1,R,this.parseParenItem));var Oe=this.lastTokEnd,he=this.lastTokEndLoc;if(this.expect(r.parenR),e&&this.shouldParseArrow(g)&&this.eat(r.arrow))return this.checkPatternErrors(R,!1),this.checkYieldAwaitInDefaultParams(),this.yieldPos=ie,this.awaitPos=be,this.parseParenArrowList(i,s,g,t);(!g.length||w)&&this.unexpected(this.lastTokStart),ue&&this.unexpected(ue),this.checkExpressionErrors(R,!0),this.yieldPos=ie||this.yieldPos,this.awaitPos=be||this.awaitPos,g.length>1?(n=this.startNodeAt(p,x),n.expressions=g,this.finishNodeAt(n,"SequenceExpression",Oe,he)):n=g[0]}else n=this.parseParenExpression();if(this.options.preserveParens){var pe=this.startNodeAt(i,s);return pe.expression=n,this.finishNode(pe,"ParenthesizedExpression")}else return n},C.parseParenItem=function(e){return e},C.parseParenArrowList=function(e,t,i,s){return this.parseArrowExpression(this.startNodeAt(e,t),i,!1,s)};var Ni=[];C.parseNew=function(){this.containsEsc&&this.raiseRecoverable(this.start,"Escape sequence in keyword new");var e=this.startNode(),t=this.parseIdent(!0);if(this.options.ecmaVersion>=6&&this.eat(r.dot)){e.meta=t;var i=this.containsEsc;return e.property=this.parseIdent(!0),e.property.name!=="target"&&this.raiseRecoverable(e.property.start,"The only valid meta property for new is 'new.target'"),i&&this.raiseRecoverable(e.start,"'new.target' must not contain escaped characters"),this.allowNewDotTarget||this.raiseRecoverable(e.start,"'new.target' can only be used in functions and class static block"),this.finishNode(e,"MetaProperty")}var s=this.start,n=this.startLoc;return e.callee=this.parseSubscripts(this.parseExprAtom(null,!1,!0),s,n,!0,!1),this.eat(r.parenL)?e.arguments=this.parseExprList(r.parenR,this.options.ecmaVersion>=8,!1):e.arguments=Ni,this.finishNode(e,"NewExpression")},C.parseTemplateElement=function(e){var t=e.isTagged,i=this.startNode();return this.type===r.invalidTemplate?(t||this.raiseRecoverable(this.start,"Bad escape sequence in untagged template literal"),i.value={raw:this.value,cooked:null}):i.value={raw:this.input.slice(this.start,this.end).replace(/\r\n?/g,` -`),cooked:this.value},this.next(),i.tail=this.type===r.backQuote,this.finishNode(i,"TemplateElement")},C.parseTemplate=function(e){e===void 0&&(e={});var t=e.isTagged;t===void 0&&(t=!1);var i=this.startNode();this.next(),i.expressions=[];var s=this.parseTemplateElement({isTagged:t});for(i.quasis=[s];!s.tail;)this.type===r.eof&&this.raise(this.pos,"Unterminated template literal"),this.expect(r.dollarBraceL),i.expressions.push(this.parseExpression()),this.expect(r.braceR),i.quasis.push(s=this.parseTemplateElement({isTagged:t}));return this.next(),this.finishNode(i,"TemplateLiteral")},C.isAsyncProp=function(e){return!e.computed&&e.key.type==="Identifier"&&e.key.name==="async"&&(this.type===r.name||this.type===r.num||this.type===r.string||this.type===r.bracketL||this.type.keyword||this.options.ecmaVersion>=9&&this.type===r.star)&&!j.test(this.input.slice(this.lastTokEnd,this.start))},C.parseObj=function(e,t){var i=this.startNode(),s=!0,n={};for(i.properties=[],this.next();!this.eat(r.braceR);){if(s)s=!1;else if(this.expect(r.comma),this.options.ecmaVersion>=5&&this.afterTrailingComma(r.braceR))break;var o=this.parseProperty(e,t);e||this.checkPropClash(o,n,t),i.properties.push(o)}return this.finishNode(i,e?"ObjectPattern":"ObjectExpression")},C.parseProperty=function(e,t){var i=this.startNode(),s,n,o,p;if(this.options.ecmaVersion>=9&&this.eat(r.ellipsis))return e?(i.argument=this.parseIdent(!1),this.type===r.comma&&this.raiseRecoverable(this.start,"Comma is not permitted after the rest element"),this.finishNode(i,"RestElement")):(i.argument=this.parseMaybeAssign(!1,t),this.type===r.comma&&t&&t.trailingComma<0&&(t.trailingComma=this.start),this.finishNode(i,"SpreadElement"));this.options.ecmaVersion>=6&&(i.method=!1,i.shorthand=!1,(e||t)&&(o=this.start,p=this.startLoc),e||(s=this.eat(r.star)));var x=this.containsEsc;return this.parsePropertyName(i),!e&&!x&&this.options.ecmaVersion>=8&&!s&&this.isAsyncProp(i)?(n=!0,s=this.options.ecmaVersion>=9&&this.eat(r.star),this.parsePropertyName(i)):n=!1,this.parsePropertyValue(i,e,s,n,o,p,t,x),this.finishNode(i,"Property")},C.parseGetterSetter=function(e){e.kind=e.key.name,this.parsePropertyName(e),e.value=this.parseMethod(!1);var t=e.kind==="get"?0:1;if(e.value.params.length!==t){var i=e.value.start;e.kind==="get"?this.raiseRecoverable(i,"getter should have no params"):this.raiseRecoverable(i,"setter should have exactly one param")}else e.kind==="set"&&e.value.params[0].type==="RestElement"&&this.raiseRecoverable(e.value.params[0].start,"Setter cannot use rest params")},C.parsePropertyValue=function(e,t,i,s,n,o,p,x){(i||s)&&this.type===r.colon&&this.unexpected(),this.eat(r.colon)?(e.value=t?this.parseMaybeDefault(this.start,this.startLoc):this.parseMaybeAssign(!1,p),e.kind="init"):this.options.ecmaVersion>=6&&this.type===r.parenL?(t&&this.unexpected(),e.kind="init",e.method=!0,e.value=this.parseMethod(i,s)):!t&&!x&&this.options.ecmaVersion>=5&&!e.computed&&e.key.type==="Identifier"&&(e.key.name==="get"||e.key.name==="set")&&this.type!==r.comma&&this.type!==r.braceR&&this.type!==r.eq?((i||s)&&this.unexpected(),this.parseGetterSetter(e)):this.options.ecmaVersion>=6&&!e.computed&&e.key.type==="Identifier"?((i||s)&&this.unexpected(),this.checkUnreserved(e.key),e.key.name==="await"&&!this.awaitIdentPos&&(this.awaitIdentPos=n),e.kind="init",t?e.value=this.parseMaybeDefault(n,o,this.copyNode(e.key)):this.type===r.eq&&p?(p.shorthandAssign<0&&(p.shorthandAssign=this.start),e.value=this.parseMaybeDefault(n,o,this.copyNode(e.key))):e.value=this.copyNode(e.key),e.shorthand=!0):this.unexpected()},C.parsePropertyName=function(e){if(this.options.ecmaVersion>=6){if(this.eat(r.bracketL))return e.computed=!0,e.key=this.parseMaybeAssign(),this.expect(r.bracketR),e.key;e.computed=!1}return e.key=this.type===r.num||this.type===r.string?this.parseExprAtom():this.parseIdent(this.options.allowReserved!=="never")},C.initFunction=function(e){e.id=null,this.options.ecmaVersion>=6&&(e.generator=e.expression=!1),this.options.ecmaVersion>=8&&(e.async=!1)},C.parseMethod=function(e,t,i){var s=this.startNode(),n=this.yieldPos,o=this.awaitPos,p=this.awaitIdentPos;return this.initFunction(s),this.options.ecmaVersion>=6&&(s.generator=e),this.options.ecmaVersion>=8&&(s.async=!!t),this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0,this.enterScope(He(t,s.generator)|We|(i?St:0)),this.expect(r.parenL),s.params=this.parseBindingList(r.parenR,!1,this.options.ecmaVersion>=8),this.checkYieldAwaitInDefaultParams(),this.parseFunctionBody(s,!1,!0,!1),this.yieldPos=n,this.awaitPos=o,this.awaitIdentPos=p,this.finishNode(s,"FunctionExpression")},C.parseArrowExpression=function(e,t,i,s){var n=this.yieldPos,o=this.awaitPos,p=this.awaitIdentPos;return this.enterScope(He(i,!1)|vt),this.initFunction(e),this.options.ecmaVersion>=8&&(e.async=!!i),this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0,e.params=this.toAssignableList(t,!0),this.parseFunctionBody(e,!0,!1,s),this.yieldPos=n,this.awaitPos=o,this.awaitIdentPos=p,this.finishNode(e,"ArrowFunctionExpression")},C.parseFunctionBody=function(e,t,i,s){var n=t&&this.type!==r.braceL,o=this.strict,p=!1;if(n)e.body=this.parseMaybeAssign(s),e.expression=!0,this.checkParams(e,!1);else{var x=this.options.ecmaVersion>=7&&!this.isSimpleParamList(e.params);(!o||x)&&(p=this.strictDirective(this.end),p&&x&&this.raiseRecoverable(e.start,"Illegal 'use strict' directive in function with non-simple parameter list"));var g=this.labels;this.labels=[],p&&(this.strict=!0),this.checkParams(e,!o&&!p&&!t&&!i&&this.isSimpleParamList(e.params)),this.strict&&e.id&&this.checkLValSimple(e.id,kt),e.body=this.parseBlock(!1,void 0,p&&!o),e.expression=!1,this.adaptDirectivePrologue(e.body.body),this.labels=g}this.exitScope()},C.isSimpleParamList=function(e){for(var t=0,i=e;t-1||n.functions.indexOf(e)>-1||n.var.indexOf(e)>-1,n.lexical.push(e),this.inModule&&n.flags&me&&delete this.undefinedExports[e]}else if(t===Ct){var o=this.currentScope();o.lexical.push(e)}else if(t===_t){var p=this.currentScope();this.treatFunctionsAsVar?s=p.lexical.indexOf(e)>-1:s=p.lexical.indexOf(e)>-1||p.var.indexOf(e)>-1,p.functions.push(e)}else for(var x=this.scopeStack.length-1;x>=0;--x){var g=this.scopeStack[x];if(g.lexical.indexOf(e)>-1&&!(g.flags&bt&&g.lexical[0]===e)||!this.treatFunctionsAsVarInScope(g)&&g.functions.indexOf(e)>-1){s=!0;break}if(g.var.push(e),this.inModule&&g.flags&me&&delete this.undefinedExports[e],g.flags&Xe)break}s&&this.raiseRecoverable(i,"Identifier '"+e+"' has already been declared")},ee.checkLocalExport=function(e){this.scopeStack[0].lexical.indexOf(e.name)===-1&&this.scopeStack[0].var.indexOf(e.name)===-1&&(this.undefinedExports[e.name]=e)},ee.currentScope=function(){return this.scopeStack[this.scopeStack.length-1]},ee.currentVarScope=function(){for(var e=this.scopeStack.length-1;;e--){var t=this.scopeStack[e];if(t.flags&Xe)return t}},ee.currentThisScope=function(){for(var e=this.scopeStack.length-1;;e--){var t=this.scopeStack[e];if(t.flags&Xe&&!(t.flags&vt))return t}};var ge=function(t,i,s){this.type="",this.start=i,this.end=0,t.options.locations&&(this.loc=new de(t,s)),t.options.directSourceFile&&(this.sourceFile=t.options.directSourceFile),t.options.ranges&&(this.range=[i,0])},ve=V.prototype;ve.startNode=function(){return new ge(this,this.start,this.startLoc)},ve.startNodeAt=function(e,t){return new ge(this,e,t)};function wt(e,t,i,s){return e.type=t,e.end=i,this.options.locations&&(e.loc.end=s),this.options.ranges&&(e.range[1]=i),e}ve.finishNode=function(e,t){return wt.call(this,e,t,this.lastTokEnd,this.lastTokEndLoc)},ve.finishNodeAt=function(e,t,i,s){return wt.call(this,e,t,i,s)},ve.copyNode=function(e){var t=new ge(this,e.start,this.startLoc);for(var i in e)t[i]=e[i];return t};var At="ASCII ASCII_Hex_Digit AHex Alphabetic Alpha Any Assigned Bidi_Control Bidi_C Bidi_Mirrored Bidi_M Case_Ignorable CI Cased Changes_When_Casefolded CWCF Changes_When_Casemapped CWCM Changes_When_Lowercased CWL Changes_When_NFKC_Casefolded CWKCF Changes_When_Titlecased CWT Changes_When_Uppercased CWU Dash Default_Ignorable_Code_Point DI Deprecated Dep Diacritic Dia Emoji Emoji_Component Emoji_Modifier Emoji_Modifier_Base Emoji_Presentation Extender Ext Grapheme_Base Gr_Base Grapheme_Extend Gr_Ext Hex_Digit Hex IDS_Binary_Operator IDSB IDS_Trinary_Operator IDST ID_Continue IDC ID_Start IDS Ideographic Ideo Join_Control Join_C Logical_Order_Exception LOE Lowercase Lower Math Noncharacter_Code_Point NChar Pattern_Syntax Pat_Syn Pattern_White_Space Pat_WS Quotation_Mark QMark Radical Regional_Indicator RI Sentence_Terminal STerm Soft_Dotted SD Terminal_Punctuation Term Unified_Ideograph UIdeo Uppercase Upper Variation_Selector VS White_Space space XID_Continue XIDC XID_Start XIDS",Pt=At+" Extended_Pictographic",It=Pt,Nt=It+" EBase EComp EMod EPres ExtPict",Vt=Nt,Li=Vt,Ri={9:At,10:Pt,11:It,12:Nt,13:Vt,14:Li},Oi="Basic_Emoji Emoji_Keycap_Sequence RGI_Emoji_Modifier_Sequence RGI_Emoji_Flag_Sequence RGI_Emoji_Tag_Sequence RGI_Emoji_ZWJ_Sequence RGI_Emoji",Bi={9:"",10:"",11:"",12:"",13:"",14:Oi},Lt="Cased_Letter LC Close_Punctuation Pe Connector_Punctuation Pc Control Cc cntrl Currency_Symbol Sc Dash_Punctuation Pd Decimal_Number Nd digit Enclosing_Mark Me Final_Punctuation Pf Format Cf Initial_Punctuation Pi Letter L Letter_Number Nl Line_Separator Zl Lowercase_Letter Ll Mark M Combining_Mark Math_Symbol Sm Modifier_Letter Lm Modifier_Symbol Sk Nonspacing_Mark Mn Number N Open_Punctuation Ps Other C Other_Letter Lo Other_Number No Other_Punctuation Po Other_Symbol So Paragraph_Separator Zp Private_Use Co Punctuation P punct Separator Z Space_Separator Zs Spacing_Mark Mc Surrogate Cs Symbol S Titlecase_Letter Lt Unassigned Cn Uppercase_Letter Lu",Rt="Adlam Adlm Ahom Anatolian_Hieroglyphs Hluw Arabic Arab Armenian Armn Avestan Avst Balinese Bali Bamum Bamu Bassa_Vah Bass Batak Batk Bengali Beng Bhaiksuki Bhks Bopomofo Bopo Brahmi Brah Braille Brai Buginese Bugi Buhid Buhd Canadian_Aboriginal Cans Carian Cari Caucasian_Albanian Aghb Chakma Cakm Cham Cham Cherokee Cher Common Zyyy Coptic Copt Qaac Cuneiform Xsux Cypriot Cprt Cyrillic Cyrl Deseret Dsrt Devanagari Deva Duployan Dupl Egyptian_Hieroglyphs Egyp Elbasan Elba Ethiopic Ethi Georgian Geor Glagolitic Glag Gothic Goth Grantha Gran Greek Grek Gujarati Gujr Gurmukhi Guru Han Hani Hangul Hang Hanunoo Hano Hatran Hatr Hebrew Hebr Hiragana Hira Imperial_Aramaic Armi Inherited Zinh Qaai Inscriptional_Pahlavi Phli Inscriptional_Parthian Prti Javanese Java Kaithi Kthi Kannada Knda Katakana Kana Kayah_Li Kali Kharoshthi Khar Khmer Khmr Khojki Khoj Khudawadi Sind Lao Laoo Latin Latn Lepcha Lepc Limbu Limb Linear_A Lina Linear_B Linb Lisu Lisu Lycian Lyci Lydian Lydi Mahajani Mahj Malayalam Mlym Mandaic Mand Manichaean Mani Marchen Marc Masaram_Gondi Gonm Meetei_Mayek Mtei Mende_Kikakui Mend Meroitic_Cursive Merc Meroitic_Hieroglyphs Mero Miao Plrd Modi Mongolian Mong Mro Mroo Multani Mult Myanmar Mymr Nabataean Nbat New_Tai_Lue Talu Newa Newa Nko Nkoo Nushu Nshu Ogham Ogam Ol_Chiki Olck Old_Hungarian Hung Old_Italic Ital Old_North_Arabian Narb Old_Permic Perm Old_Persian Xpeo Old_South_Arabian Sarb Old_Turkic Orkh Oriya Orya Osage Osge Osmanya Osma Pahawh_Hmong Hmng Palmyrene Palm Pau_Cin_Hau Pauc Phags_Pa Phag Phoenician Phnx Psalter_Pahlavi Phlp Rejang Rjng Runic Runr Samaritan Samr Saurashtra Saur Sharada Shrd Shavian Shaw Siddham Sidd SignWriting Sgnw Sinhala Sinh Sora_Sompeng Sora Soyombo Soyo Sundanese Sund Syloti_Nagri Sylo Syriac Syrc Tagalog Tglg Tagbanwa Tagb Tai_Le Tale Tai_Tham Lana Tai_Viet Tavt Takri Takr Tamil Taml Tangut Tang Telugu Telu Thaana Thaa Thai Thai Tibetan Tibt Tifinagh Tfng Tirhuta Tirh Ugaritic Ugar Vai Vaii Warang_Citi Wara Yi Yiii Zanabazar_Square Zanb",Ot=Rt+" Dogra Dogr Gunjala_Gondi Gong Hanifi_Rohingya Rohg Makasar Maka Medefaidrin Medf Old_Sogdian Sogo Sogdian Sogd",Bt=Ot+" Elymaic Elym Nandinagari Nand Nyiakeng_Puachue_Hmong Hmnp Wancho Wcho",Dt=Bt+" Chorasmian Chrs Diak Dives_Akuru Khitan_Small_Script Kits Yezi Yezidi",Ft=Dt+" Cypro_Minoan Cpmn Old_Uyghur Ougr Tangsa Tnsa Toto Vithkuqi Vith",Di=Ft+" Hrkt Katakana_Or_Hiragana Kawi Nag_Mundari Nagm Unknown Zzzz",Fi={9:Rt,10:Ot,11:Bt,12:Dt,13:Ft,14:Di},jt={};function ji(e){var t=jt[e]={binary:$(Ri[e]+" "+Lt),binaryOfStrings:$(Bi[e]),nonBinary:{General_Category:$(Lt),Script:$(Fi[e])}};t.nonBinary.Script_Extensions=t.nonBinary.Script,t.nonBinary.gc=t.nonBinary.General_Category,t.nonBinary.sc=t.nonBinary.Script,t.nonBinary.scx=t.nonBinary.Script_Extensions}for(var Ze=0,Mt=[9,10,11,12,13,14];Ze=6?"uy":"")+(t.options.ecmaVersion>=9?"s":"")+(t.options.ecmaVersion>=13?"d":"")+(t.options.ecmaVersion>=15?"v":""),this.unicodeProperties=jt[t.options.ecmaVersion>=14?14:t.options.ecmaVersion],this.source="",this.flags="",this.start=0,this.switchU=!1,this.switchV=!1,this.switchN=!1,this.pos=0,this.lastIntValue=0,this.lastStringValue="",this.lastAssertionIsQuantifiable=!1,this.numCapturingParens=0,this.maxBackReference=0,this.groupNames=[],this.backReferenceNames=[]};W.prototype.reset=function(t,i,s){var n=s.indexOf("v")!==-1,o=s.indexOf("u")!==-1;this.start=t|0,this.source=i+"",this.flags=s,n&&this.parser.options.ecmaVersion>=15?(this.switchU=!0,this.switchV=!0,this.switchN=!0):(this.switchU=o&&this.parser.options.ecmaVersion>=6,this.switchV=!1,this.switchN=o&&this.parser.options.ecmaVersion>=9)},W.prototype.raise=function(t){this.parser.raiseRecoverable(this.start,"Invalid regular expression: /"+this.source+"/: "+t)},W.prototype.at=function(t,i){i===void 0&&(i=!1);var s=this.source,n=s.length;if(t>=n)return-1;var o=s.charCodeAt(t);if(!(i||this.switchU)||o<=55295||o>=57344||t+1>=n)return o;var p=s.charCodeAt(t+1);return p>=56320&&p<=57343?(o<<10)+p-56613888:o},W.prototype.nextIndex=function(t,i){i===void 0&&(i=!1);var s=this.source,n=s.length;if(t>=n)return n;var o=s.charCodeAt(t),p;return!(i||this.switchU)||o<=55295||o>=57344||t+1>=n||(p=s.charCodeAt(t+1))<56320||p>57343?t+1:t+2},W.prototype.current=function(t){return t===void 0&&(t=!1),this.at(this.pos,t)},W.prototype.lookahead=function(t){return t===void 0&&(t=!1),this.at(this.nextIndex(this.pos,t),t)},W.prototype.advance=function(t){t===void 0&&(t=!1),this.pos=this.nextIndex(this.pos,t)},W.prototype.eat=function(t,i){return i===void 0&&(i=!1),this.current(i)===t?(this.advance(i),!0):!1},W.prototype.eatChars=function(t,i){i===void 0&&(i=!1);for(var s=this.pos,n=0,o=t;n-1&&this.raise(e.start,"Duplicate regular expression flag"),p==="u"&&(s=!0),p==="v"&&(n=!0)}this.options.ecmaVersion>=15&&s&&n&&this.raise(e.start,"Invalid regular expression flag")},v.validateRegExpPattern=function(e){this.regexp_pattern(e),!e.switchN&&this.options.ecmaVersion>=9&&e.groupNames.length>0&&(e.switchN=!0,this.regexp_pattern(e))},v.regexp_pattern=function(e){e.pos=0,e.lastIntValue=0,e.lastStringValue="",e.lastAssertionIsQuantifiable=!1,e.numCapturingParens=0,e.maxBackReference=0,e.groupNames.length=0,e.backReferenceNames.length=0,this.regexp_disjunction(e),e.pos!==e.source.length&&(e.eat(41)&&e.raise("Unmatched ')'"),(e.eat(93)||e.eat(125))&&e.raise("Lone quantifier brackets")),e.maxBackReference>e.numCapturingParens&&e.raise("Invalid escape");for(var t=0,i=e.backReferenceNames;t=9&&(i=e.eat(60)),e.eat(61)||e.eat(33))return this.regexp_disjunction(e),e.eat(41)||e.raise("Unterminated group"),e.lastAssertionIsQuantifiable=!i,!0}return e.pos=t,!1},v.regexp_eatQuantifier=function(e,t){return t===void 0&&(t=!1),this.regexp_eatQuantifierPrefix(e,t)?(e.eat(63),!0):!1},v.regexp_eatQuantifierPrefix=function(e,t){return e.eat(42)||e.eat(43)||e.eat(63)||this.regexp_eatBracedQuantifier(e,t)},v.regexp_eatBracedQuantifier=function(e,t){var i=e.pos;if(e.eat(123)){var s=0,n=-1;if(this.regexp_eatDecimalDigits(e)&&(s=e.lastIntValue,e.eat(44)&&this.regexp_eatDecimalDigits(e)&&(n=e.lastIntValue),e.eat(125)))return n!==-1&&n=9?this.regexp_groupSpecifier(e):e.current()===63&&e.raise("Invalid group"),this.regexp_disjunction(e),e.eat(41))return e.numCapturingParens+=1,!0;e.raise("Unterminated group")}return!1},v.regexp_eatExtendedAtom=function(e){return e.eat(46)||this.regexp_eatReverseSolidusAtomEscape(e)||this.regexp_eatCharacterClass(e)||this.regexp_eatUncapturingGroup(e)||this.regexp_eatCapturingGroup(e)||this.regexp_eatInvalidBracedQuantifier(e)||this.regexp_eatExtendedPatternCharacter(e)},v.regexp_eatInvalidBracedQuantifier=function(e){return this.regexp_eatBracedQuantifier(e,!0)&&e.raise("Nothing to repeat"),!1},v.regexp_eatSyntaxCharacter=function(e){var t=e.current();return Ut(t)?(e.lastIntValue=t,e.advance(),!0):!1};function Ut(e){return e===36||e>=40&&e<=43||e===46||e===63||e>=91&&e<=94||e>=123&&e<=125}v.regexp_eatPatternCharacters=function(e){for(var t=e.pos,i=0;(i=e.current())!==-1&&!Ut(i);)e.advance();return e.pos!==t},v.regexp_eatExtendedPatternCharacter=function(e){var t=e.current();return t!==-1&&t!==36&&!(t>=40&&t<=43)&&t!==46&&t!==63&&t!==91&&t!==94&&t!==124?(e.advance(),!0):!1},v.regexp_groupSpecifier=function(e){if(e.eat(63)){if(this.regexp_eatGroupName(e)){e.groupNames.indexOf(e.lastStringValue)!==-1&&e.raise("Duplicate capture group name"),e.groupNames.push(e.lastStringValue);return}e.raise("Invalid group")}},v.regexp_eatGroupName=function(e){if(e.lastStringValue="",e.eat(60)){if(this.regexp_eatRegExpIdentifierName(e)&&e.eat(62))return!0;e.raise("Invalid capture group name")}return!1},v.regexp_eatRegExpIdentifierName=function(e){if(e.lastStringValue="",this.regexp_eatRegExpIdentifierStart(e)){for(e.lastStringValue+=Z(e.lastIntValue);this.regexp_eatRegExpIdentifierPart(e);)e.lastStringValue+=Z(e.lastIntValue);return!0}return!1},v.regexp_eatRegExpIdentifierStart=function(e){var t=e.pos,i=this.options.ecmaVersion>=11,s=e.current(i);return e.advance(i),s===92&&this.regexp_eatRegExpUnicodeEscapeSequence(e,i)&&(s=e.lastIntValue),Ui(s)?(e.lastIntValue=s,!0):(e.pos=t,!1)};function Ui(e){return F(e,!0)||e===36||e===95}v.regexp_eatRegExpIdentifierPart=function(e){var t=e.pos,i=this.options.ecmaVersion>=11,s=e.current(i);return e.advance(i),s===92&&this.regexp_eatRegExpUnicodeEscapeSequence(e,i)&&(s=e.lastIntValue),qi(s)?(e.lastIntValue=s,!0):(e.pos=t,!1)};function qi(e){return d(e,!0)||e===36||e===95||e===8204||e===8205}v.regexp_eatAtomEscape=function(e){return this.regexp_eatBackReference(e)||this.regexp_eatCharacterClassEscape(e)||this.regexp_eatCharacterEscape(e)||e.switchN&&this.regexp_eatKGroupName(e)?!0:(e.switchU&&(e.current()===99&&e.raise("Invalid unicode escape"),e.raise("Invalid escape")),!1)},v.regexp_eatBackReference=function(e){var t=e.pos;if(this.regexp_eatDecimalEscape(e)){var i=e.lastIntValue;if(e.switchU)return i>e.maxBackReference&&(e.maxBackReference=i),!0;if(i<=e.numCapturingParens)return!0;e.pos=t}return!1},v.regexp_eatKGroupName=function(e){if(e.eat(107)){if(this.regexp_eatGroupName(e))return e.backReferenceNames.push(e.lastStringValue),!0;e.raise("Invalid named reference")}return!1},v.regexp_eatCharacterEscape=function(e){return this.regexp_eatControlEscape(e)||this.regexp_eatCControlLetter(e)||this.regexp_eatZero(e)||this.regexp_eatHexEscapeSequence(e)||this.regexp_eatRegExpUnicodeEscapeSequence(e,!1)||!e.switchU&&this.regexp_eatLegacyOctalEscapeSequence(e)||this.regexp_eatIdentityEscape(e)},v.regexp_eatCControlLetter=function(e){var t=e.pos;if(e.eat(99)){if(this.regexp_eatControlLetter(e))return!0;e.pos=t}return!1},v.regexp_eatZero=function(e){return e.current()===48&&!Le(e.lookahead())?(e.lastIntValue=0,e.advance(),!0):!1},v.regexp_eatControlEscape=function(e){var t=e.current();return t===116?(e.lastIntValue=9,e.advance(),!0):t===110?(e.lastIntValue=10,e.advance(),!0):t===118?(e.lastIntValue=11,e.advance(),!0):t===102?(e.lastIntValue=12,e.advance(),!0):t===114?(e.lastIntValue=13,e.advance(),!0):!1},v.regexp_eatControlLetter=function(e){var t=e.current();return qt(t)?(e.lastIntValue=t%32,e.advance(),!0):!1};function qt(e){return e>=65&&e<=90||e>=97&&e<=122}v.regexp_eatRegExpUnicodeEscapeSequence=function(e,t){t===void 0&&(t=!1);var i=e.pos,s=t||e.switchU;if(e.eat(117)){if(this.regexp_eatFixedHexDigits(e,4)){var n=e.lastIntValue;if(s&&n>=55296&&n<=56319){var o=e.pos;if(e.eat(92)&&e.eat(117)&&this.regexp_eatFixedHexDigits(e,4)){var p=e.lastIntValue;if(p>=56320&&p<=57343)return e.lastIntValue=(n-55296)*1024+(p-56320)+65536,!0}e.pos=o,e.lastIntValue=n}return!0}if(s&&e.eat(123)&&this.regexp_eatHexDigits(e)&&e.eat(125)&&Ki(e.lastIntValue))return!0;s&&e.raise("Invalid unicode escape"),e.pos=i}return!1};function Ki(e){return e>=0&&e<=1114111}v.regexp_eatIdentityEscape=function(e){if(e.switchU)return this.regexp_eatSyntaxCharacter(e)?!0:e.eat(47)?(e.lastIntValue=47,!0):!1;var t=e.current();return t!==99&&(!e.switchN||t!==107)?(e.lastIntValue=t,e.advance(),!0):!1},v.regexp_eatDecimalEscape=function(e){e.lastIntValue=0;var t=e.current();if(t>=49&&t<=57){do e.lastIntValue=10*e.lastIntValue+(t-48),e.advance();while((t=e.current())>=48&&t<=57);return!0}return!1};var Kt=0,Y=1,J=2;v.regexp_eatCharacterClassEscape=function(e){var t=e.current();if(Ji(t))return e.lastIntValue=-1,e.advance(),Y;var i=!1;if(e.switchU&&this.options.ecmaVersion>=9&&((i=t===80)||t===112)){e.lastIntValue=-1,e.advance();var s;if(e.eat(123)&&(s=this.regexp_eatUnicodePropertyValueExpression(e))&&e.eat(125))return i&&s===J&&e.raise("Invalid property name"),s;e.raise("Invalid property name")}return Kt};function Ji(e){return e===100||e===68||e===115||e===83||e===119||e===87}v.regexp_eatUnicodePropertyValueExpression=function(e){var t=e.pos;if(this.regexp_eatUnicodePropertyName(e)&&e.eat(61)){var i=e.lastStringValue;if(this.regexp_eatUnicodePropertyValue(e)){var s=e.lastStringValue;return this.regexp_validateUnicodePropertyNameAndValue(e,i,s),Y}}if(e.pos=t,this.regexp_eatLoneUnicodePropertyNameOrValue(e)){var n=e.lastStringValue;return this.regexp_validateUnicodePropertyNameOrValue(e,n)}return Kt},v.regexp_validateUnicodePropertyNameAndValue=function(e,t,i){fe(e.unicodeProperties.nonBinary,t)||e.raise("Invalid property name"),e.unicodeProperties.nonBinary[t].test(i)||e.raise("Invalid property value")},v.regexp_validateUnicodePropertyNameOrValue=function(e,t){if(e.unicodeProperties.binary.test(t))return Y;if(e.switchV&&e.unicodeProperties.binaryOfStrings.test(t))return J;e.raise("Invalid property name")},v.regexp_eatUnicodePropertyName=function(e){var t=0;for(e.lastStringValue="";Jt(t=e.current());)e.lastStringValue+=Z(t),e.advance();return e.lastStringValue!==""};function Jt(e){return qt(e)||e===95}v.regexp_eatUnicodePropertyValue=function(e){var t=0;for(e.lastStringValue="";Gi(t=e.current());)e.lastStringValue+=Z(t),e.advance();return e.lastStringValue!==""};function Gi(e){return Jt(e)||Le(e)}v.regexp_eatLoneUnicodePropertyNameOrValue=function(e){return this.regexp_eatUnicodePropertyValue(e)},v.regexp_eatCharacterClass=function(e){if(e.eat(91)){var t=e.eat(94),i=this.regexp_classContents(e);return e.eat(93)||e.raise("Unterminated character class"),t&&i===J&&e.raise("Negated character class may contain strings"),!0}return!1},v.regexp_classContents=function(e){return e.current()===93?Y:e.switchV?this.regexp_classSetExpression(e):(this.regexp_nonEmptyClassRanges(e),Y)},v.regexp_nonEmptyClassRanges=function(e){for(;this.regexp_eatClassAtom(e);){var t=e.lastIntValue;if(e.eat(45)&&this.regexp_eatClassAtom(e)){var i=e.lastIntValue;e.switchU&&(t===-1||i===-1)&&e.raise("Invalid character class"),t!==-1&&i!==-1&&t>i&&e.raise("Range out of order in character class")}}},v.regexp_eatClassAtom=function(e){var t=e.pos;if(e.eat(92)){if(this.regexp_eatClassEscape(e))return!0;if(e.switchU){var i=e.current();(i===99||Wt(i))&&e.raise("Invalid class escape"),e.raise("Invalid escape")}e.pos=t}var s=e.current();return s!==93?(e.lastIntValue=s,e.advance(),!0):!1},v.regexp_eatClassEscape=function(e){var t=e.pos;if(e.eat(98))return e.lastIntValue=8,!0;if(e.switchU&&e.eat(45))return e.lastIntValue=45,!0;if(!e.switchU&&e.eat(99)){if(this.regexp_eatClassControlLetter(e))return!0;e.pos=t}return this.regexp_eatCharacterClassEscape(e)||this.regexp_eatCharacterEscape(e)},v.regexp_classSetExpression=function(e){var t=Y,i;if(!this.regexp_eatClassSetRange(e))if(i=this.regexp_eatClassSetOperand(e)){i===J&&(t=J);for(var s=e.pos;e.eatChars([38,38]);){if(e.current()!==38&&(i=this.regexp_eatClassSetOperand(e))){i!==J&&(t=Y);continue}e.raise("Invalid character in character class")}if(s!==e.pos)return t;for(;e.eatChars([45,45]);)this.regexp_eatClassSetOperand(e)||e.raise("Invalid character in character class");if(s!==e.pos)return t}else e.raise("Invalid character in character class");for(;;)if(!this.regexp_eatClassSetRange(e)){if(i=this.regexp_eatClassSetOperand(e),!i)return t;i===J&&(t=J)}},v.regexp_eatClassSetRange=function(e){var t=e.pos;if(this.regexp_eatClassSetCharacter(e)){var i=e.lastIntValue;if(e.eat(45)&&this.regexp_eatClassSetCharacter(e)){var s=e.lastIntValue;return i!==-1&&s!==-1&&i>s&&e.raise("Range out of order in character class"),!0}e.pos=t}return!1},v.regexp_eatClassSetOperand=function(e){return this.regexp_eatClassSetCharacter(e)?Y:this.regexp_eatClassStringDisjunction(e)||this.regexp_eatNestedClass(e)},v.regexp_eatNestedClass=function(e){var t=e.pos;if(e.eat(91)){var i=e.eat(94),s=this.regexp_classContents(e);if(e.eat(93))return i&&s===J&&e.raise("Negated character class may contain strings"),s;e.pos=t}if(e.eat(92)){var n=this.regexp_eatCharacterClassEscape(e);if(n)return n;e.pos=t}return null},v.regexp_eatClassStringDisjunction=function(e){var t=e.pos;if(e.eatChars([92,113])){if(e.eat(123)){var i=this.regexp_classStringDisjunctionContents(e);if(e.eat(125))return i}else e.raise("Invalid escape");e.pos=t}return null},v.regexp_classStringDisjunctionContents=function(e){for(var t=this.regexp_classString(e);e.eat(124);)this.regexp_classString(e)===J&&(t=J);return t},v.regexp_classString=function(e){for(var t=0;this.regexp_eatClassSetCharacter(e);)t++;return t===1?Y:J},v.regexp_eatClassSetCharacter=function(e){var t=e.pos;if(e.eat(92))return this.regexp_eatCharacterEscape(e)||this.regexp_eatClassSetReservedPunctuator(e)?!0:e.eat(98)?(e.lastIntValue=8,!0):(e.pos=t,!1);var i=e.current();return i<0||i===e.lookahead()&&zi(i)||Wi(i)?!1:(e.advance(),e.lastIntValue=i,!0)};function zi(e){return e===33||e>=35&&e<=38||e>=42&&e<=44||e===46||e>=58&&e<=64||e===94||e===96||e===126}function Wi(e){return e===40||e===41||e===45||e===47||e>=91&&e<=93||e>=123&&e<=125}v.regexp_eatClassSetReservedPunctuator=function(e){var t=e.current();return Xi(t)?(e.lastIntValue=t,e.advance(),!0):!1};function Xi(e){return e===33||e===35||e===37||e===38||e===44||e===45||e>=58&&e<=62||e===64||e===96||e===126}v.regexp_eatClassControlLetter=function(e){var t=e.current();return Le(t)||t===95?(e.lastIntValue=t%32,e.advance(),!0):!1},v.regexp_eatHexEscapeSequence=function(e){var t=e.pos;if(e.eat(120)){if(this.regexp_eatFixedHexDigits(e,2))return!0;e.switchU&&e.raise("Invalid escape"),e.pos=t}return!1},v.regexp_eatDecimalDigits=function(e){var t=e.pos,i=0;for(e.lastIntValue=0;Le(i=e.current());)e.lastIntValue=10*e.lastIntValue+(i-48),e.advance();return e.pos!==t};function Le(e){return e>=48&&e<=57}v.regexp_eatHexDigits=function(e){var t=e.pos,i=0;for(e.lastIntValue=0;Gt(i=e.current());)e.lastIntValue=16*e.lastIntValue+zt(i),e.advance();return e.pos!==t};function Gt(e){return e>=48&&e<=57||e>=65&&e<=70||e>=97&&e<=102}function zt(e){return e>=65&&e<=70?10+(e-65):e>=97&&e<=102?10+(e-97):e-48}v.regexp_eatLegacyOctalEscapeSequence=function(e){if(this.regexp_eatOctalDigit(e)){var t=e.lastIntValue;if(this.regexp_eatOctalDigit(e)){var i=e.lastIntValue;t<=3&&this.regexp_eatOctalDigit(e)?e.lastIntValue=t*64+i*8+e.lastIntValue:e.lastIntValue=t*8+i}else e.lastIntValue=t;return!0}return!1},v.regexp_eatOctalDigit=function(e){var t=e.current();return Wt(t)?(e.lastIntValue=t-48,e.advance(),!0):(e.lastIntValue=0,!1)};function Wt(e){return e>=48&&e<=55}v.regexp_eatFixedHexDigits=function(e,t){var i=e.pos;e.lastIntValue=0;for(var s=0;s=this.input.length)return this.finishToken(r.eof);if(e.override)return e.override(this);this.readToken(this.fullCharCodeAtPos())},A.readToken=function(e){return F(e,this.options.ecmaVersion>=6)||e===92?this.readWord():this.getTokenFromCode(e)},A.fullCharCodeAtPos=function(){var e=this.input.charCodeAt(this.pos);if(e<=55295||e>=56320)return e;var t=this.input.charCodeAt(this.pos+1);return t<=56319||t>=57344?e:(e<<10)+t-56613888},A.skipBlockComment=function(){var e=this.options.onComment&&this.curPosition(),t=this.pos,i=this.input.indexOf("*/",this.pos+=2);if(i===-1&&this.raise(this.pos-2,"Unterminated comment"),this.pos=i+2,this.options.locations)for(var s=void 0,n=t;(s=dt(this.input,n,this.pos))>-1;)++this.curLine,n=this.lineStart=s;this.options.onComment&&this.options.onComment(!0,this.input.slice(t+2,i),t,this.pos,e,this.curPosition())},A.skipLineComment=function(e){for(var t=this.pos,i=this.options.onComment&&this.curPosition(),s=this.input.charCodeAt(this.pos+=e);this.pos8&&e<14||e>=5760&&Je.test(String.fromCharCode(e)))++this.pos;else break e}}},A.finishToken=function(e,t){this.end=this.pos,this.options.locations&&(this.endLoc=this.curPosition());var i=this.type;this.type=e,this.value=t,this.updateContext(i)},A.readToken_dot=function(){var e=this.input.charCodeAt(this.pos+1);if(e>=48&&e<=57)return this.readNumber(!0);var t=this.input.charCodeAt(this.pos+2);return this.options.ecmaVersion>=6&&e===46&&t===46?(this.pos+=3,this.finishToken(r.ellipsis)):(++this.pos,this.finishToken(r.dot))},A.readToken_slash=function(){var e=this.input.charCodeAt(this.pos+1);return this.exprAllowed?(++this.pos,this.readRegexp()):e===61?this.finishOp(r.assign,2):this.finishOp(r.slash,1)},A.readToken_mult_modulo_exp=function(e){var t=this.input.charCodeAt(this.pos+1),i=1,s=e===42?r.star:r.modulo;return this.options.ecmaVersion>=7&&e===42&&t===42&&(++i,s=r.starstar,t=this.input.charCodeAt(this.pos+2)),t===61?this.finishOp(r.assign,i+1):this.finishOp(s,i)},A.readToken_pipe_amp=function(e){var t=this.input.charCodeAt(this.pos+1);if(t===e){if(this.options.ecmaVersion>=12){var i=this.input.charCodeAt(this.pos+2);if(i===61)return this.finishOp(r.assign,3)}return this.finishOp(e===124?r.logicalOR:r.logicalAND,2)}return t===61?this.finishOp(r.assign,2):this.finishOp(e===124?r.bitwiseOR:r.bitwiseAND,1)},A.readToken_caret=function(){var e=this.input.charCodeAt(this.pos+1);return e===61?this.finishOp(r.assign,2):this.finishOp(r.bitwiseXOR,1)},A.readToken_plus_min=function(e){var t=this.input.charCodeAt(this.pos+1);return t===e?t===45&&!this.inModule&&this.input.charCodeAt(this.pos+2)===62&&(this.lastTokEnd===0||j.test(this.input.slice(this.lastTokEnd,this.pos)))?(this.skipLineComment(3),this.skipSpace(),this.nextToken()):this.finishOp(r.incDec,2):t===61?this.finishOp(r.assign,2):this.finishOp(r.plusMin,1)},A.readToken_lt_gt=function(e){var t=this.input.charCodeAt(this.pos+1),i=1;return t===e?(i=e===62&&this.input.charCodeAt(this.pos+2)===62?3:2,this.input.charCodeAt(this.pos+i)===61?this.finishOp(r.assign,i+1):this.finishOp(r.bitShift,i)):t===33&&e===60&&!this.inModule&&this.input.charCodeAt(this.pos+2)===45&&this.input.charCodeAt(this.pos+3)===45?(this.skipLineComment(4),this.skipSpace(),this.nextToken()):(t===61&&(i=2),this.finishOp(r.relational,i))},A.readToken_eq_excl=function(e){var t=this.input.charCodeAt(this.pos+1);return t===61?this.finishOp(r.equality,this.input.charCodeAt(this.pos+2)===61?3:2):e===61&&t===62&&this.options.ecmaVersion>=6?(this.pos+=2,this.finishToken(r.arrow)):this.finishOp(e===61?r.eq:r.prefix,1)},A.readToken_question=function(){var e=this.options.ecmaVersion;if(e>=11){var t=this.input.charCodeAt(this.pos+1);if(t===46){var i=this.input.charCodeAt(this.pos+2);if(i<48||i>57)return this.finishOp(r.questionDot,2)}if(t===63){if(e>=12){var s=this.input.charCodeAt(this.pos+2);if(s===61)return this.finishOp(r.assign,3)}return this.finishOp(r.coalesce,2)}}return this.finishOp(r.question,1)},A.readToken_numberSign=function(){var e=this.options.ecmaVersion,t=35;if(e>=13&&(++this.pos,t=this.fullCharCodeAtPos(),F(t,!0)||t===92))return this.finishToken(r.privateId,this.readWord1());this.raise(this.pos,"Unexpected character '"+Z(t)+"'")},A.getTokenFromCode=function(e){switch(e){case 46:return this.readToken_dot();case 40:return++this.pos,this.finishToken(r.parenL);case 41:return++this.pos,this.finishToken(r.parenR);case 59:return++this.pos,this.finishToken(r.semi);case 44:return++this.pos,this.finishToken(r.comma);case 91:return++this.pos,this.finishToken(r.bracketL);case 93:return++this.pos,this.finishToken(r.bracketR);case 123:return++this.pos,this.finishToken(r.braceL);case 125:return++this.pos,this.finishToken(r.braceR);case 58:return++this.pos,this.finishToken(r.colon);case 96:if(this.options.ecmaVersion<6)break;return++this.pos,this.finishToken(r.backQuote);case 48:var t=this.input.charCodeAt(this.pos+1);if(t===120||t===88)return this.readRadixNumber(16);if(this.options.ecmaVersion>=6){if(t===111||t===79)return this.readRadixNumber(8);if(t===98||t===66)return this.readRadixNumber(2)}case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:return this.readNumber(!1);case 34:case 39:return this.readString(e);case 47:return this.readToken_slash();case 37:case 42:return this.readToken_mult_modulo_exp(e);case 124:case 38:return this.readToken_pipe_amp(e);case 94:return this.readToken_caret();case 43:case 45:return this.readToken_plus_min(e);case 60:case 62:return this.readToken_lt_gt(e);case 61:case 33:return this.readToken_eq_excl(e);case 63:return this.readToken_question();case 126:return this.finishOp(r.prefix,1);case 35:return this.readToken_numberSign()}this.raise(this.pos,"Unexpected character '"+Z(e)+"'")},A.finishOp=function(e,t){var i=this.input.slice(this.pos,this.pos+t);return this.pos+=t,this.finishToken(e,i)},A.readRegexp=function(){for(var e,t,i=this.pos;;){this.pos>=this.input.length&&this.raise(i,"Unterminated regular expression");var s=this.input.charAt(this.pos);if(j.test(s)&&this.raise(i,"Unterminated regular expression"),e)e=!1;else{if(s==="[")t=!0;else if(s==="]"&&t)t=!1;else if(s==="/"&&!t)break;e=s==="\\"}++this.pos}var n=this.input.slice(i,this.pos);++this.pos;var o=this.pos,p=this.readWord1();this.containsEsc&&this.unexpected(o);var x=this.regexpState||(this.regexpState=new W(this));x.reset(i,n,p),this.validateRegExpFlags(x),this.validateRegExpPattern(x);var g=null;try{g=new RegExp(n,p)}catch{}return this.finishToken(r.regexp,{pattern:n,flags:p,value:g})},A.readInt=function(e,t,i){for(var s=this.options.ecmaVersion>=12&&t===void 0,n=i&&this.input.charCodeAt(this.pos)===48,o=this.pos,p=0,x=0,g=0,T=t??1/0;g=97?R=w-97+10:w>=65?R=w-65+10:w>=48&&w<=57?R=w-48:R=1/0,R>=e)break;x=w,p=p*e+R}return s&&x===95&&this.raiseRecoverable(this.pos-1,"Numeric separator is not allowed at the last of digits"),this.pos===o||t!=null&&this.pos-o!==t?null:p};function Hi(e,t){return t?parseInt(e,8):parseFloat(e.replace(/_/g,""))}function Xt(e){return typeof BigInt!="function"?null:BigInt(e.replace(/_/g,""))}A.readRadixNumber=function(e){var t=this.pos;this.pos+=2;var i=this.readInt(e);return i==null&&this.raise(this.start+2,"Expected number in radix "+e),this.options.ecmaVersion>=11&&this.input.charCodeAt(this.pos)===110?(i=Xt(this.input.slice(t,this.pos)),++this.pos):F(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number"),this.finishToken(r.num,i)},A.readNumber=function(e){var t=this.pos;!e&&this.readInt(10,void 0,!0)===null&&this.raise(t,"Invalid number");var i=this.pos-t>=2&&this.input.charCodeAt(t)===48;i&&this.strict&&this.raise(t,"Invalid number");var s=this.input.charCodeAt(this.pos);if(!i&&!e&&this.options.ecmaVersion>=11&&s===110){var n=Xt(this.input.slice(t,this.pos));return++this.pos,F(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number"),this.finishToken(r.num,n)}i&&/[89]/.test(this.input.slice(t,this.pos))&&(i=!1),s===46&&!i&&(++this.pos,this.readInt(10),s=this.input.charCodeAt(this.pos)),(s===69||s===101)&&!i&&(s=this.input.charCodeAt(++this.pos),(s===43||s===45)&&++this.pos,this.readInt(10)===null&&this.raise(t,"Invalid number")),F(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number");var o=Hi(this.input.slice(t,this.pos),i);return this.finishToken(r.num,o)},A.readCodePoint=function(){var e=this.input.charCodeAt(this.pos),t;if(e===123){this.options.ecmaVersion<6&&this.unexpected();var i=++this.pos;t=this.readHexChar(this.input.indexOf("}",this.pos)-this.pos),++this.pos,t>1114111&&this.invalidStringToken(i,"Code point out of bounds")}else t=this.readHexChar(4);return t},A.readString=function(e){for(var t="",i=++this.pos;;){this.pos>=this.input.length&&this.raise(this.start,"Unterminated string constant");var s=this.input.charCodeAt(this.pos);if(s===e)break;s===92?(t+=this.input.slice(i,this.pos),t+=this.readEscapedChar(!1),i=this.pos):s===8232||s===8233?(this.options.ecmaVersion<10&&this.raise(this.start,"Unterminated string constant"),++this.pos,this.options.locations&&(this.curLine++,this.lineStart=this.pos)):(te(s)&&this.raise(this.start,"Unterminated string constant"),++this.pos)}return t+=this.input.slice(i,this.pos++),this.finishToken(r.string,t)};var Ht={};A.tryReadTemplateToken=function(){this.inTemplateElement=!0;try{this.readTmplToken()}catch(e){if(e===Ht)this.readInvalidTemplateToken();else throw e}this.inTemplateElement=!1},A.invalidStringToken=function(e,t){if(this.inTemplateElement&&this.options.ecmaVersion>=9)throw Ht;this.raise(e,t)},A.readTmplToken=function(){for(var e="",t=this.pos;;){this.pos>=this.input.length&&this.raise(this.start,"Unterminated template");var i=this.input.charCodeAt(this.pos);if(i===96||i===36&&this.input.charCodeAt(this.pos+1)===123)return this.pos===this.start&&(this.type===r.template||this.type===r.invalidTemplate)?i===36?(this.pos+=2,this.finishToken(r.dollarBraceL)):(++this.pos,this.finishToken(r.backQuote)):(e+=this.input.slice(t,this.pos),this.finishToken(r.template,e));if(i===92)e+=this.input.slice(t,this.pos),e+=this.readEscapedChar(!0),t=this.pos;else if(te(i)){switch(e+=this.input.slice(t,this.pos),++this.pos,i){case 13:this.input.charCodeAt(this.pos)===10&&++this.pos;case 10:e+=` -`;break;default:e+=String.fromCharCode(i);break}this.options.locations&&(++this.curLine,this.lineStart=this.pos),t=this.pos}else++this.pos}},A.readInvalidTemplateToken=function(){for(;this.pos=48&&t<=55){var s=this.input.substr(this.pos-1,3).match(/^[0-7]+/)[0],n=parseInt(s,8);return n>255&&(s=s.slice(0,-1),n=parseInt(s,8)),this.pos+=s.length-1,t=this.input.charCodeAt(this.pos),(s!=="0"||t===56||t===57)&&(this.strict||e)&&this.invalidStringToken(this.pos-1-s.length,e?"Octal literal in template string":"Octal literal in strict mode"),String.fromCharCode(n)}return te(t)?"":String.fromCharCode(t)}},A.readHexChar=function(e){var t=this.pos,i=this.readInt(16,e);return i===null&&this.invalidStringToken(t,"Bad character escape sequence"),i},A.readWord1=function(){this.containsEsc=!1;for(var e="",t=!0,i=this.pos,s=this.options.ecmaVersion>=6;this.pos{fi.exports={}});var ot=Se((ea,nt)=>{"use strict";var Ls=di(),Rs=/^[\da-fA-F]+$/,Os=/^\d+$/,mi=new WeakMap;function xi(a){a=a.Parser.acorn||a;let u=mi.get(a);if(!u){let c=a.tokTypes,h=a.TokContext,l=a.TokenType,f=new h("...",!0,!0),L={tc_oTag:f,tc_cTag:m,tc_expr:_},P={jsxName:new l("jsxName"),jsxText:new l("jsxText",{beforeExpr:!0}),jsxTagStart:new l("jsxTagStart",{startsExpr:!0}),jsxTagEnd:new l("jsxTagEnd")};P.jsxTagStart.updateContext=function(){this.context.push(_),this.context.push(f),this.exprAllowed=!1},P.jsxTagEnd.updateContext=function(D){let G=this.context.pop();G===f&&D===c.slash||G===m?(this.context.pop(),this.exprAllowed=this.curContext()===_):this.exprAllowed=!0},u={tokContexts:L,tokTypes:P},mi.set(a,u)}return u}function we(a){if(!a)return a;if(a.type==="JSXIdentifier")return a.name;if(a.type==="JSXNamespacedName")return a.namespace.name+":"+a.name.name;if(a.type==="JSXMemberExpression")return we(a.object)+"."+we(a.property)}nt.exports=function(a){return a=a||{},function(u){return Bs({allowNamespaces:a.allowNamespaces!==!1,allowNamespacedObjects:!!a.allowNamespacedObjects},u)}};Object.defineProperty(nt.exports,"tokTypes",{get:function(){return xi(Ee()).tokTypes},configurable:!0,enumerable:!0});function Bs(a,u){let c=u.acorn||Ee(),h=xi(c),l=c.tokTypes,f=h.tokTypes,m=c.tokContexts,_=h.tokContexts.tc_oTag,L=h.tokContexts.tc_cTag,P=h.tokContexts.tc_expr,D=c.isNewLine,G=c.isIdentifierStart,F=c.isIdentifierChar;return class extends u{static get acornJsx(){return h}jsx_readToken(){let d="",y=this.pos;for(;;){this.pos>=this.input.length&&this.raise(this.start,"Unterminated JSX contents");let b=this.input.charCodeAt(this.pos);switch(b){case 60:case 123:return this.pos===this.start?b===60&&this.exprAllowed?(++this.pos,this.finishToken(f.jsxTagStart)):this.getTokenFromCode(b):(d+=this.input.slice(y,this.pos),this.finishToken(f.jsxText,d));case 38:d+=this.input.slice(y,this.pos),d+=this.jsx_readEntity(),y=this.pos;break;case 62:case 125:this.raise(this.pos,"Unexpected token `"+this.input[this.pos]+"`. Did you mean `"+(b===62?">":"}")+'` or `{"'+this.input[this.pos]+'"}`?');default:D(b)?(d+=this.input.slice(y,this.pos),d+=this.jsx_readNewLine(!0),y=this.pos):++this.pos}}}jsx_readNewLine(d){let y=this.input.charCodeAt(this.pos),b;return++this.pos,y===13&&this.input.charCodeAt(this.pos)===10?(++this.pos,b=d?` +var di=Object.create;var we=Object.defineProperty;var mi=Object.getOwnPropertyDescriptor;var xi=Object.getOwnPropertyNames;var yi=Object.getPrototypeOf,gi=Object.prototype.hasOwnProperty;var Ze=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),vi=(e,t)=>{for(var i in t)we(e,i,{get:t[i],enumerable:!0})},bi=(e,t,i,s)=>{if(t&&typeof t=="object"||typeof t=="function")for(let r of xi(t))!gi.call(e,r)&&r!==i&&we(e,r,{get:()=>t[r],enumerable:!(s=mi(t,r))||s.enumerable});return e};var et=(e,t,i)=>(i=e!=null?di(yi(e)):{},bi(t||!e||!e.__esModule?we(i,"default",{value:e,enumerable:!0}):i,e));var Jt=Ze((Hs,qt)=>{qt.exports={}});var Ge=Ze((zs,Je)=>{"use strict";var rs=Jt(),as=/^[\da-fA-F]+$/,ns=/^\d+$/,Gt=new WeakMap;function Kt(e){e=e.Parser.acorn||e;let t=Gt.get(e);if(!t){let i=e.tokTypes,s=e.TokContext,r=e.TokenType,n=new s("...",!0,!0),p={tc_oTag:n,tc_cTag:o,tc_expr:u},d={jsxName:new r("jsxName"),jsxText:new r("jsxText",{beforeExpr:!0}),jsxTagStart:new r("jsxTagStart",{startsExpr:!0}),jsxTagEnd:new r("jsxTagEnd")};d.jsxTagStart.updateContext=function(){this.context.push(u),this.context.push(n),this.exprAllowed=!1},d.jsxTagEnd.updateContext=function(l){let C=this.context.pop();C===n&&l===i.slash||C===o?(this.context.pop(),this.exprAllowed=this.curContext()===u):this.exprAllowed=!0},t={tokContexts:p,tokTypes:d},Gt.set(e,t)}return t}function ne(e){if(!e)return e;if(e.type==="JSXIdentifier")return e.name;if(e.type==="JSXNamespacedName")return e.namespace.name+":"+e.name.name;if(e.type==="JSXMemberExpression")return ne(e.object)+"."+ne(e.property)}Je.exports=function(e){return e=e||{},function(t){return os({allowNamespaces:e.allowNamespaces!==!1,allowNamespacedObjects:!!e.allowNamespacedObjects},t)}};Object.defineProperty(Je.exports,"tokTypes",{get:function(){return Kt(void 0).tokTypes},configurable:!0,enumerable:!0});function os(e,t){let i=t.acorn||void 0,s=Kt(i),r=i.tokTypes,n=s.tokTypes,o=i.tokContexts,u=s.tokContexts.tc_oTag,p=s.tokContexts.tc_cTag,d=s.tokContexts.tc_expr,l=i.isNewLine,C=i.isIdentifierStart,B=i.isIdentifierChar;return class extends t{static get acornJsx(){return s}jsx_readToken(){let h="",m=this.pos;for(;;){this.pos>=this.input.length&&this.raise(this.start,"Unterminated JSX contents");let x=this.input.charCodeAt(this.pos);switch(x){case 60:case 123:return this.pos===this.start?x===60&&this.exprAllowed?(++this.pos,this.finishToken(n.jsxTagStart)):this.getTokenFromCode(x):(h+=this.input.slice(m,this.pos),this.finishToken(n.jsxText,h));case 38:h+=this.input.slice(m,this.pos),h+=this.jsx_readEntity(),m=this.pos;break;case 62:case 125:this.raise(this.pos,"Unexpected token `"+this.input[this.pos]+"`. Did you mean `"+(x===62?">":"}")+'` or `{"'+this.input[this.pos]+'"}`?');default:l(x)?(h+=this.input.slice(m,this.pos),h+=this.jsx_readNewLine(!0),m=this.pos):++this.pos}}}jsx_readNewLine(h){let m=this.input.charCodeAt(this.pos),x;return++this.pos,m===13&&this.input.charCodeAt(this.pos)===10?(++this.pos,x=h?` `:`\r -`):b=String.fromCharCode(y),this.options.locations&&(++this.curLine,this.lineStart=this.pos),b}jsx_readString(d){let y="",b=++this.pos;for(;;){this.pos>=this.input.length&&this.raise(this.start,"Unterminated string constant");let k=this.input.charCodeAt(this.pos);if(k===d)break;k===38?(y+=this.input.slice(b,this.pos),y+=this.jsx_readEntity(),b=this.pos):D(k)?(y+=this.input.slice(b,this.pos),y+=this.jsx_readNewLine(!1),b=this.pos):++this.pos}return y+=this.input.slice(b,this.pos++),this.finishToken(l.string,y)}jsx_readEntity(){let d="",y=0,b,k=this.input[this.pos];k!=="&"&&this.raise(this.pos,"Entity must start with an ampersand");let N=++this.pos;for(;this.pos")}let E=N.name?"Element":"Fragment";return b["opening"+E]=N,b["closing"+E]=H,b.children=k,this.type===l.relational&&this.value==="<"&&this.raise(this.start,"Adjacent JSX elements must be wrapped in an enclosing tag"),this.finishNode(b,"JSX"+E)}jsx_parseText(){let d=this.parseLiteral(this.value);return d.type="JSXText",d}jsx_parseElement(){let d=this.start,y=this.startLoc;return this.next(),this.jsx_parseElementAt(d,y)}parseExprAtom(d){return this.type===f.jsxText?this.jsx_parseText():this.type===f.jsxTagStart?this.jsx_parseElement():super.parseExprAtom(d)}readToken(d){let y=this.curContext();if(y===P)return this.jsx_readToken();if(y===_||y===L){if(G(d))return this.jsx_readWord();if(d==62)return++this.pos,this.finishToken(f.jsxTagEnd);if((d===34||d===39)&&y==_)return this.jsx_readString(d)}return d===60&&this.exprAllowed&&this.input.charCodeAt(this.pos+1)!==33?(++this.pos,this.finishToken(f.jsxTagStart)):super.readToken(d)}updateContext(d){if(this.type==l.braceL){var y=this.curContext();y==_?this.context.push(m.b_expr):y==P?this.context.push(m.b_tmpl):super.updateContext(d),this.exprAllowed=!0}else if(this.type===l.slash&&d===f.jsxTagStart)this.context.length-=2,this.context.push(L),this.exprAllowed=!1;else return super.updateContext(d)}}}});var bi=Se(Ke=>{"use strict";Object.defineProperty(Ke,"__esModule",{value:!0});var qs=Ee(),Ks=ot();function Js(a){return a&&typeof a=="object"&&"default"in a?a:{default:a}}function Gs(a){if(a&&a.__esModule)return a;var u=Object.create(null);return a&&Object.keys(a).forEach(function(c){if(c!=="default"){var h=Object.getOwnPropertyDescriptor(a,c);Object.defineProperty(u,c,h.get?h:{enumerable:!0,get:function(){return a[c]}})}}),u.default=a,Object.freeze(u)}var gi=Gs(qs),zs=Js(Ks),B={Boolean:"Boolean",EOF:"",Identifier:"Identifier",PrivateIdentifier:"PrivateIdentifier",Keyword:"Keyword",Null:"Null",Numeric:"Numeric",Punctuator:"Punctuator",String:"String",RegularExpression:"RegularExpression",Template:"Template",JSXIdentifier:"JSXIdentifier",JSXText:"JSXText"};function Ws(a,u){let c=a[0],h=a[a.length-1],l={type:B.Template,value:u.slice(c.start,h.end)};return c.loc&&(l.loc={start:c.loc.start,end:h.loc.end}),c.range&&(l.start=c.range[0],l.end=h.range[1],l.range=[l.start,l.end]),l}function pt(a,u){this._acornTokTypes=a,this._tokens=[],this._curlyBrace=null,this._code=u}pt.prototype={constructor:pt,translate(a,u){let c=a.type,h=this._acornTokTypes;if(c===h.name)a.type=B.Identifier,a.value==="static"&&(a.type=B.Keyword),u.ecmaVersion>5&&(a.value==="yield"||a.value==="let")&&(a.type=B.Keyword);else if(c===h.privateId)a.type=B.PrivateIdentifier;else if(c===h.semi||c===h.comma||c===h.parenL||c===h.parenR||c===h.braceL||c===h.braceR||c===h.dot||c===h.bracketL||c===h.colon||c===h.question||c===h.bracketR||c===h.ellipsis||c===h.arrow||c===h.jsxTagStart||c===h.incDec||c===h.starstar||c===h.jsxTagEnd||c===h.prefix||c===h.questionDot||c.binop&&!c.keyword||c.isAssign)a.type=B.Punctuator,a.value=this._code.slice(a.start,a.end);else if(c===h.jsxName)a.type=B.JSXIdentifier;else if(c.label==="jsxText"||c===h.jsxAttrValueToken)a.type=B.JSXText;else if(c.keyword)c.keyword==="true"||c.keyword==="false"?a.type=B.Boolean:c.keyword==="null"?a.type=B.Null:a.type=B.Keyword;else if(c===h.num)a.type=B.Numeric,a.value=this._code.slice(a.start,a.end);else if(c===h.string)u.jsxAttrValueToken?(u.jsxAttrValueToken=!1,a.type=B.JSXText):a.type=B.String,a.value=this._code.slice(a.start,a.end);else if(c===h.regexp){a.type=B.RegularExpression;let l=a.value;a.regex={flags:l.flags,pattern:l.pattern},a.value=`/${l.pattern}/${l.flags}`}return a},onToken(a,u){let c=this,h=this._acornTokTypes,l=u.tokens,f=this._tokens;function m(){l.push(Ws(c._tokens,c._code)),c._tokens=[]}if(a.type===h.eof){this._curlyBrace&&l.push(this.translate(this._curlyBrace,u));return}if(a.type===h.backQuote){this._curlyBrace&&(l.push(this.translate(this._curlyBrace,u)),this._curlyBrace=null),f.push(a),f.length>1&&m();return}if(a.type===h.dollarBraceL){f.push(a),m();return}if(a.type===h.braceR){this._curlyBrace&&l.push(this.translate(this._curlyBrace,u)),this._curlyBrace=a;return}if(a.type===h.template||a.type===h.invalidTemplate){this._curlyBrace&&(f.push(this._curlyBrace),this._curlyBrace=null),f.push(a);return}this._curlyBrace&&(l.push(this.translate(this._curlyBrace,u)),this._curlyBrace=null),l.push(this.translate(a,u))}};var ct=[3,5,6,7,8,9,10,11,12,13,14,15];function Xs(){return ct[ct.length-1]}function Hs(a=5){let u=a==="latest"?Xs():a;if(typeof u!="number")throw new Error(`ecmaVersion must be a number or "latest". Received value of type ${typeof a} instead.`);if(u>=2015&&(u-=2009),!ct.includes(u))throw new Error("Invalid ecmaVersion.");return u}function Qs(a="script"){if(a==="script"||a==="module")return a;if(a==="commonjs")return"script";throw new Error("Invalid sourceType.")}function Ys(a){let u=Hs(a.ecmaVersion),c=Qs(a.sourceType),h=a.range===!0,l=a.loc===!0;if(u!==3&&a.allowReserved)throw new Error("`allowReserved` is only supported when ecmaVersion is 3");if(typeof a.allowReserved<"u"&&typeof a.allowReserved!="boolean")throw new Error("`allowReserved`, when present, must be `true` or `false`");let f=u===3?a.allowReserved||"never":!1,m=a.ecmaFeatures||{},_=a.sourceType==="commonjs"||!!m.globalReturn;if(c==="module"&&u<6)throw new Error("sourceType 'module' is not supported when ecmaVersion < 2015. Consider adding `{ ecmaVersion: 2015 }` to the parser options.");return Object.assign({},a,{ecmaVersion:u,sourceType:c,ranges:h,locations:l,allowReserved:f,allowReturnOutsideFunction:_})}var re=Symbol("espree's internal state"),ht=Symbol("espree's esprimaFinishNode");function $s(a,u,c,h,l,f,m){let _;a?_="Block":m.slice(c,c+2)==="#!"?_="Hashbang":_="Line";let L={type:_,value:u};return typeof c=="number"&&(L.start=c,L.end=h,L.range=[c,h]),typeof l=="object"&&(L.loc={start:l,end:f}),L}var vi=()=>a=>{let u=Object.assign({},a.acorn.tokTypes);return a.acornJsx&&Object.assign(u,a.acornJsx.tokTypes),class extends a{constructor(h,l){(typeof h!="object"||h===null)&&(h={}),typeof l!="string"&&!(l instanceof String)&&(l=String(l));let f=h.sourceType,m=Ys(h),_=m.ecmaFeatures||{},L=m.tokens===!0?new pt(u,l):null,P={originalSourceType:f||m.sourceType,tokens:L?[]:null,comments:m.comment===!0?[]:null,impliedStrict:_.impliedStrict===!0&&m.ecmaVersion>=5,ecmaVersion:m.ecmaVersion,jsxAttrValueToken:!1,lastToken:null,templateElements:[]};super({ecmaVersion:m.ecmaVersion,sourceType:m.sourceType,ranges:m.ranges,locations:m.locations,allowReserved:m.allowReserved,allowReturnOutsideFunction:m.allowReturnOutsideFunction,onToken:D=>{L&&L.onToken(D,P),D.type!==u.eof&&(P.lastToken=D)},onComment:(D,G,F,d,y,b)=>{if(P.comments){let k=$s(D,G,F,d,y,b,l);P.comments.push(k)}}},l),this[re]=P}tokenize(){do this.next();while(this.type!==u.eof);this.next();let h=this[re],l=h.tokens;return h.comments&&(l.comments=h.comments),l}finishNode(...h){let l=super.finishNode(...h);return this[ht](l)}finishNodeAt(...h){let l=super.finishNodeAt(...h);return this[ht](l)}parse(){let h=this[re],l=super.parse();if(l.sourceType=h.originalSourceType,h.comments&&(l.comments=h.comments),h.tokens&&(l.tokens=h.tokens),l.body.length){let[f]=l.body;l.range&&(l.range[0]=f.range[0]),l.loc&&(l.loc.start=f.loc.start),l.start=f.start}return h.lastToken&&(l.range&&(l.range[1]=h.lastToken.range[1]),l.loc&&(l.loc.end=h.lastToken.loc.end),l.end=h.lastToken.end),this[re].templateElements.forEach(f=>{let _=f.tail?1:2;f.start+=-1,f.end+=_,f.range&&(f.range[0]+=-1,f.range[1]+=_),f.loc&&(f.loc.start.column+=-1,f.loc.end.column+=_)}),l}parseTopLevel(h){return this[re].impliedStrict&&(this.strict=!0),super.parseTopLevel(h)}raise(h,l){let f=a.acorn.getLineInfo(this.input,h),m=new SyntaxError(l);throw m.index=h,m.lineNumber=f.line,m.column=f.column+1,m}raiseRecoverable(h,l){this.raise(h,l)}unexpected(h){let l="Unexpected token";if(h!=null){if(this.pos=h,this.options.locations)for(;this.posthis.start&&(l+=` ${this.input.slice(this.start,this.end)}`),this.raise(this.start,l)}jsx_readString(h){let l=super.jsx_readString(h);return this.type===u.string&&(this[re].jsxAttrValueToken=!0),l}[ht](h){return h.type==="TemplateElement"&&this[re].templateElements.push(h),h.type.includes("Function")&&!h.generator&&(h.generator=!1),h}}},Zs={_regular:null,_jsx:null,get regular(){return this._regular===null&&(this._regular=gi.Parser.extend(vi())),this._regular},get jsx(){return this._jsx===null&&(this._jsx=gi.Parser.extend(zs.default(),vi())),this._jsx},get(a){return!!(a&&a.ecmaFeatures&&a.ecmaFeatures.jsx)?this.jsx:this.regular}};function er(a,u){let c=Zs.get(u);return new c(u,a).parse()}var tr="espree";Ke.name=tr;Ke.parse=er});var lt={};rs(lt,{parsers:()=>ar});function os(a,u){let c=new SyntaxError(a+" ("+u.loc.start.line+":"+u.loc.start.column+")");return Object.assign(c,u)}var ce=os;function us(a){let u=[];for(let c of a)try{return c()}catch(h){u.push(h)}throw Object.assign(new Error("All combinations failed"),{errors:u})}var Be=us;var le=ns(si(),1);function gs(a){if(!a.startsWith("#!"))return"";let u=a.indexOf(` -`);return u===-1?a:a.slice(0,u)}var ri=gs;function vs(a){let u=ri(a);u&&(a=a.slice(u.length+1));let c=(0,le.extract)(a),{pragmas:h,comments:l}=(0,le.parseWithComments)(c);return{shebang:u,text:a,pragmas:h,comments:l}}function ai(a){let{pragmas:u}=vs(a);return Object.prototype.hasOwnProperty.call(u,"prettier")||Object.prototype.hasOwnProperty.call(u,"format")}function bs(a){return Array.isArray(a)&&a.length>0}var _e=bs;function M(a){var h;let u=a.range?a.range[0]:a.start,c=((h=a.declaration)==null?void 0:h.decorators)??a.decorators;return _e(c)?Math.min(M(c[0]),u):u}function X(a){return a.range?a.range[1]:a.end}function Ss(a){return a=typeof a=="function"?{parse:a}:a,{astFormat:"estree",hasPragma:ai,locStart:M,locEnd:X,...a}}var De=Ss;var _s=(a,u,c)=>{if(!(a&&u==null))return Array.isArray(u)||typeof u=="string"?u[c<0?u.length+c:c]:u.at(c)},tt=_s;function Cs(a){return a=new Set(a),u=>a.has(u==null?void 0:u.type)}var ni=Cs;var ks=ni(["Block","CommentBlock","MultiLine"]),Ce=ks;function Ts(a){return Ce(a)&&a.value[0]==="*"&&/@(?:type|satisfies)\b/.test(a.value)}var oi=Ts;function Es(a){let u=`*${a.value}*`.split(` -`);return u.length>1&&u.every(c=>c.trimStart()[0]==="*")}var it=Es;var ke=null;function Te(a){if(ke!==null&&typeof ke.property){let u=ke;return ke=Te.prototype=null,u}return ke=Te.prototype=a??Object.create(null),new Te}var ws=10;for(let a=0;a<=ws;a++)Te();function st(a){return Te(a)}function As(a,u="type"){st(a);function c(h){let l=h[u],f=a[l];if(!Array.isArray(f))throw Object.assign(new Error(`Missing visitor keys for '${l}'.`),{node:h});return f}return c}var ui=As;var hi={ArrayExpression:["elements"],AssignmentExpression:["left","right"],BinaryExpression:["left","right"],InterpreterDirective:[],Directive:["value"],DirectiveLiteral:[],BlockStatement:["directives","body"],BreakStatement:["label"],CallExpression:["callee","arguments","typeParameters","typeArguments"],CatchClause:["param","body"],ConditionalExpression:["test","consequent","alternate"],ContinueStatement:["label"],DebuggerStatement:[],DoWhileStatement:["test","body"],EmptyStatement:[],ExpressionStatement:["expression"],File:["program"],ForInStatement:["left","right","body"],ForStatement:["init","test","update","body"],FunctionDeclaration:["id","params","body","returnType","typeParameters","predicate"],FunctionExpression:["id","params","body","returnType","typeParameters"],Identifier:["typeAnnotation","decorators"],IfStatement:["test","consequent","alternate"],LabeledStatement:["label","body"],StringLiteral:[],NumericLiteral:[],NullLiteral:[],BooleanLiteral:[],RegExpLiteral:[],LogicalExpression:["left","right"],MemberExpression:["object","property"],NewExpression:["callee","arguments","typeParameters","typeArguments"],Program:["directives","body"],ObjectExpression:["properties"],ObjectMethod:["key","params","body","decorators","returnType","typeParameters"],ObjectProperty:["key","value","decorators"],RestElement:["argument","typeAnnotation","decorators"],ReturnStatement:["argument"],SequenceExpression:["expressions"],ParenthesizedExpression:["expression"],SwitchCase:["test","consequent"],SwitchStatement:["discriminant","cases"],ThisExpression:[],ThrowStatement:["argument"],TryStatement:["block","handler","finalizer"],UnaryExpression:["argument"],UpdateExpression:["argument"],VariableDeclaration:["declarations"],VariableDeclarator:["id","init"],WhileStatement:["test","body"],WithStatement:["object","body"],AssignmentPattern:["left","right","decorators","typeAnnotation"],ArrayPattern:["elements","typeAnnotation","decorators"],ArrowFunctionExpression:["params","body","returnType","typeParameters","predicate"],ClassBody:["body"],ClassExpression:["id","body","superClass","mixins","typeParameters","superTypeParameters","implements","decorators"],ClassDeclaration:["id","body","superClass","mixins","typeParameters","superTypeParameters","implements","decorators"],ExportAllDeclaration:["source","attributes","assertions","exported"],ExportDefaultDeclaration:["declaration"],ExportNamedDeclaration:["declaration","specifiers","source","attributes","assertions"],ExportSpecifier:["local","exported"],ForOfStatement:["left","right","body"],ImportDeclaration:["specifiers","source","attributes","assertions"],ImportDefaultSpecifier:["local"],ImportNamespaceSpecifier:["local"],ImportSpecifier:["local","imported"],MetaProperty:["meta","property"],ClassMethod:["key","params","body","decorators","returnType","typeParameters"],ObjectPattern:["properties","typeAnnotation","decorators"],SpreadElement:["argument"],Super:[],TaggedTemplateExpression:["tag","quasi","typeParameters"],TemplateElement:[],TemplateLiteral:["quasis","expressions"],YieldExpression:["argument"],AwaitExpression:["argument"],Import:[],BigIntLiteral:[],ExportNamespaceSpecifier:["exported"],OptionalMemberExpression:["object","property"],OptionalCallExpression:["callee","arguments","typeParameters","typeArguments"],ClassProperty:["key","value","typeAnnotation","decorators","variance"],ClassAccessorProperty:["key","value","typeAnnotation","decorators"],ClassPrivateProperty:["key","value","decorators","typeAnnotation","variance"],ClassPrivateMethod:["key","params","body","decorators","returnType","typeParameters"],PrivateName:["id"],StaticBlock:["body"],AnyTypeAnnotation:[],ArrayTypeAnnotation:["elementType"],BooleanTypeAnnotation:[],BooleanLiteralTypeAnnotation:[],NullLiteralTypeAnnotation:[],ClassImplements:["id","typeParameters"],DeclareClass:["id","typeParameters","extends","mixins","implements","body"],DeclareFunction:["id","predicate"],DeclareInterface:["id","typeParameters","extends","body"],DeclareModule:["id","body"],DeclareModuleExports:["typeAnnotation"],DeclareTypeAlias:["id","typeParameters","right"],DeclareOpaqueType:["id","typeParameters","supertype"],DeclareVariable:["id"],DeclareExportDeclaration:["declaration","specifiers","source"],DeclareExportAllDeclaration:["source"],DeclaredPredicate:["value"],ExistsTypeAnnotation:[],FunctionTypeAnnotation:["typeParameters","params","rest","returnType","this"],FunctionTypeParam:["name","typeAnnotation"],GenericTypeAnnotation:["id","typeParameters"],InferredPredicate:[],InterfaceExtends:["id","typeParameters"],InterfaceDeclaration:["id","typeParameters","extends","body"],InterfaceTypeAnnotation:["extends","body"],IntersectionTypeAnnotation:["types"],MixedTypeAnnotation:[],EmptyTypeAnnotation:[],NullableTypeAnnotation:["typeAnnotation"],NumberLiteralTypeAnnotation:[],NumberTypeAnnotation:[],ObjectTypeAnnotation:["properties","indexers","callProperties","internalSlots"],ObjectTypeInternalSlot:["id","value","optional","static","method"],ObjectTypeCallProperty:["value"],ObjectTypeIndexer:["id","key","value","variance"],ObjectTypeProperty:["key","value","variance"],ObjectTypeSpreadProperty:["argument"],OpaqueType:["id","typeParameters","supertype","impltype"],QualifiedTypeIdentifier:["id","qualification"],StringLiteralTypeAnnotation:[],StringTypeAnnotation:[],SymbolTypeAnnotation:[],ThisTypeAnnotation:[],TupleTypeAnnotation:["types","elementTypes"],TypeofTypeAnnotation:["argument"],TypeAlias:["id","typeParameters","right"],TypeAnnotation:["typeAnnotation"],TypeCastExpression:["expression","typeAnnotation"],TypeParameter:["bound","default","variance"],TypeParameterDeclaration:["params"],TypeParameterInstantiation:["params"],UnionTypeAnnotation:["types"],Variance:[],VoidTypeAnnotation:[],EnumDeclaration:["id","body"],EnumBooleanBody:["members"],EnumNumberBody:["members"],EnumStringBody:["members"],EnumSymbolBody:["members"],EnumBooleanMember:["id","init"],EnumNumberMember:["id","init"],EnumStringMember:["id","init"],EnumDefaultedMember:["id"],IndexedAccessType:["objectType","indexType"],OptionalIndexedAccessType:["objectType","indexType"],JSXAttribute:["name","value"],JSXClosingElement:["name"],JSXElement:["openingElement","children","closingElement"],JSXEmptyExpression:[],JSXExpressionContainer:["expression"],JSXSpreadChild:["expression"],JSXIdentifier:[],JSXMemberExpression:["object","property"],JSXNamespacedName:["namespace","name"],JSXOpeningElement:["name","attributes","typeParameters"],JSXSpreadAttribute:["argument"],JSXText:[],JSXFragment:["openingFragment","children","closingFragment"],JSXOpeningFragment:[],JSXClosingFragment:[],Noop:[],Placeholder:[],V8IntrinsicIdentifier:[],ArgumentPlaceholder:[],BindExpression:["object","callee"],ImportAttribute:["key","value"],Decorator:["expression"],DoExpression:["body"],ExportDefaultSpecifier:["exported"],RecordExpression:["properties"],TupleExpression:["elements"],DecimalLiteral:[],ModuleExpression:["body"],TopicReference:[],PipelineTopicExpression:["expression"],PipelineBareFunction:["callee"],PipelinePrimaryTopicReference:[],TSParameterProperty:["parameter","decorators"],TSDeclareFunction:["id","typeParameters","params","returnType","body"],TSDeclareMethod:["decorators","key","typeParameters","params","returnType"],TSQualifiedName:["left","right"],TSCallSignatureDeclaration:["typeParameters","parameters","typeAnnotation","params","returnType"],TSConstructSignatureDeclaration:["typeParameters","parameters","typeAnnotation","params","returnType"],TSPropertySignature:["key","typeAnnotation"],TSMethodSignature:["key","typeParameters","parameters","typeAnnotation","params","returnType"],TSIndexSignature:["parameters","typeAnnotation"],TSAnyKeyword:[],TSBooleanKeyword:[],TSBigIntKeyword:[],TSIntrinsicKeyword:[],TSNeverKeyword:[],TSNullKeyword:[],TSNumberKeyword:[],TSObjectKeyword:[],TSStringKeyword:[],TSSymbolKeyword:[],TSUndefinedKeyword:[],TSUnknownKeyword:[],TSVoidKeyword:[],TSThisType:[],TSFunctionType:["typeParameters","parameters","typeAnnotation","params","returnType"],TSConstructorType:["typeParameters","parameters","typeAnnotation","params","returnType"],TSTypeReference:["typeName","typeParameters"],TSTypePredicate:["parameterName","typeAnnotation"],TSTypeQuery:["exprName","typeParameters"],TSTypeLiteral:["members"],TSArrayType:["elementType"],TSTupleType:["elementTypes"],TSOptionalType:["typeAnnotation"],TSRestType:["typeAnnotation"],TSNamedTupleMember:["label","elementType"],TSUnionType:["types"],TSIntersectionType:["types"],TSConditionalType:["checkType","extendsType","trueType","falseType"],TSInferType:["typeParameter"],TSParenthesizedType:["typeAnnotation"],TSTypeOperator:["typeAnnotation"],TSIndexedAccessType:["objectType","indexType"],TSMappedType:["typeParameter","typeAnnotation","nameType"],TSLiteralType:["literal"],TSExpressionWithTypeArguments:["expression","typeParameters"],TSInterfaceDeclaration:["id","typeParameters","extends","body"],TSInterfaceBody:["body"],TSTypeAliasDeclaration:["id","typeParameters","typeAnnotation"],TSInstantiationExpression:["expression","typeParameters"],TSAsExpression:["expression","typeAnnotation"],TSSatisfiesExpression:["expression","typeAnnotation"],TSTypeAssertion:["typeAnnotation","expression"],TSEnumDeclaration:["id","members"],TSEnumMember:["id","initializer"],TSModuleDeclaration:["id","body"],TSModuleBlock:["body"],TSImportType:["argument","qualifier","typeParameters","parameter"],TSImportEqualsDeclaration:["id","moduleReference"],TSExternalModuleReference:["expression"],TSNonNullExpression:["expression"],TSExportAssignment:["expression"],TSNamespaceExportDeclaration:["id"],TSTypeAnnotation:["typeAnnotation"],TSTypeParameterInstantiation:["params"],TSTypeParameterDeclaration:["params"],TSTypeParameter:["constraint","default","name"],ChainExpression:["expression"],ExperimentalRestProperty:["argument"],ExperimentalSpreadProperty:["argument"],ImportExpression:["source","attributes"],Literal:[],MethodDefinition:["decorators","key","value"],PrivateIdentifier:[],Property:["key","value"],PropertyDefinition:["decorators","key","typeAnnotation","value","variance"],AccessorProperty:["decorators","key","typeAnnotation","value"],TSAbstractAccessorProperty:["decorators","key","typeAnnotation"],TSAbstractKeyword:[],TSAbstractMethodDefinition:["key","value"],TSAbstractPropertyDefinition:["decorators","key","typeAnnotation"],TSAsyncKeyword:[],TSClassImplements:["expression","typeParameters"],TSDeclareKeyword:[],TSEmptyBodyFunctionExpression:["id","typeParameters","params","returnType"],TSExportKeyword:[],TSInterfaceHeritage:["expression","typeParameters"],TSPrivateKeyword:[],TSProtectedKeyword:[],TSPublicKeyword:[],TSReadonlyKeyword:[],TSStaticKeyword:[],TSTemplateLiteralType:["quasis","types"],BigIntLiteralTypeAnnotation:[],BigIntTypeAnnotation:[],ConditionalTypeAnnotation:["checkType","extendsType","trueType","falseType"],DeclareEnum:["id","body"],InferTypeAnnotation:["typeParameter"],KeyofTypeAnnotation:["argument"],ObjectTypeMappedTypeProperty:["keyTparam","propType","sourceType","variance"],QualifiedTypeofIdentifier:["qualification","id"],TupleTypeLabeledElement:["label","elementType","variance"],TupleTypeSpreadElement:["label","typeAnnotation"],TypePredicate:["parameterName","typeAnnotation","asserts"],NGRoot:["node"],NGPipeExpression:["left","right","arguments"],NGChainedExpression:["expressions"],NGEmptyExpression:[],NGMicrosyntax:["body"],NGMicrosyntaxKey:[],NGMicrosyntaxExpression:["expression","alias"],NGMicrosyntaxKeyedExpression:["key","expression"],NGMicrosyntaxLet:["key","value"],NGMicrosyntaxAs:["key","alias"],JsExpressionRoot:["node"],JsonRoot:["node"],TSJSDocAllType:[],TSJSDocUnknownType:[],TSJSDocNullableType:["typeAnnotation"],TSJSDocNonNullableType:["typeAnnotation"],NeverTypeAnnotation:[],UndefinedTypeAnnotation:[],UnknownTypeAnnotation:[]};var Ps=ui(hi),pi=Ps;function rt(a,u){if(!(a!==null&&typeof a=="object"))return a;if(Array.isArray(a)){for(let h=0;h{var _;(_=m.leadingComments)!=null&&_.some(oi)&&f.add(M(m))}),a=Fe(a,m=>{if(m.type==="ParenthesizedExpression"){let{expression:_}=m;if(_.type==="TypeCastExpression")return _.range=m.range,_;let L=M(m);if(!f.has(L))return _.extra={..._.extra,parenthesized:!0},_}})}if(a=Fe(a,f=>{switch(f.type){case"LogicalExpression":if(ci(f))return at(f);break;case"VariableDeclaration":{let m=tt(!1,f.declarations,-1);m!=null&&m.init&&l(f,m);break}case"TSParenthesizedType":return f.typeAnnotation;case"TSTypeParameter":if(typeof f.name=="string"){let m=M(f);f.name={type:"Identifier",name:f.name,range:[m,m+f.name.length]}}break;case"ObjectExpression":if(c==="typescript"){let m=f.properties.find(_=>_.type==="Property"&&_.value.type==="TSEmptyBodyFunctionExpression");m&&je(m.value,"Unexpected token.")}break;case"TSInterfaceDeclaration":_e(f.implements)&&je(f.implements[0],"Interface declaration cannot have 'implements' clause.");break;case"TSPropertySignature":f.initializer&&je(f.initializer,"An interface property cannot have an initializer.");break;case"TopicReference":a.extra={...a.extra,__isUsingHackPipeline:!0};break;case"ExportAllDeclaration":{let{exported:m}=f;if(c==="meriyah"&&(m==null?void 0:m.type)==="Identifier"){let _=h.slice(M(m),X(m));(_.startsWith('"')||_.startsWith("'"))&&(f.exported={...f.exported,type:"Literal",value:f.exported.name,raw:_})}break}case"TSUnionType":case"TSIntersectionType":if(f.types.length===1)return f.types[0];break}}),_e(a.comments)){let f=tt(!1,a.comments,-1);for(let m=a.comments.length-2;m>=0;m--){let _=a.comments[m];X(_)===M(f)&&Ce(_)&&Ce(f)&&it(_)&&it(f)&&(a.comments.splice(m+1,1),_.value+="*//*"+f.value,_.range=[M(_),X(f)]),f=_}}return a.type==="Program"&&(a.range=[0,h.length]),a;function l(f,m){h[X(m)]!==";"&&(f.range=[M(f),X(m)])}}function ci(a){return a.type==="LogicalExpression"&&a.right.type==="LogicalExpression"&&a.operator===a.right.operator}function at(a){return ci(a)?at({type:"LogicalExpression",operator:a.operator,left:at({type:"LogicalExpression",operator:a.operator,left:a.left,right:a.right.left,range:[M(a.left),X(a.right.left)]}),right:a.right.right,range:[M(a),X(a)]}):a}var Me=Ns;function Vs(a){let{filepath:u}=a;if(u){if(u=u.toLowerCase(),u.endsWith(".cjs"))return"script";if(u.endsWith(".mjs"))return"module"}}var Ue=Vs;var Ds={ecmaVersion:"latest",allowReturnOutsideFunction:!0,allowSuperOutsideMethod:!0,locations:!0,ranges:!0};function Fs(a){let{message:u,loc:c}=a;if(!c)return a;let{line:h,column:l}=c;return ce(u.replace(/ \(\d+:\d+\)$/,""),{loc:{start:{line:h,column:l+1}},cause:a})}var ut,js=()=>{if(!ut){let{Parser:a}=Ee(),u=ot();ut=a.extend(u())}return ut};function Ms(a,u){let c=js(),h=[],l=[],f=c.parse(a,{...Ds,sourceType:u,allowImportExportEverywhere:u==="module",onComment:h,onToken:l});return f.comments=h,f.tokens=l,f}function Us(a,u={}){let c=Ue(u),h=(c?[c]:["module","script"]).map(f=>()=>Ms(a,f)),l;try{l=Be(h)}catch({errors:[f]}){throw Fs(f)}return Me(l,{text:a})}var yi=De(Us);var ir={ecmaVersion:"latest",range:!0,loc:!0,comment:!0,tokens:!0,sourceType:"module",ecmaFeatures:{jsx:!0,globalReturn:!0,impliedStrict:!1}};function sr(a){let{message:u,lineNumber:c,column:h}=a;return typeof c!="number"?a:ce(u,{loc:{start:{line:c,column:h}},cause:a})}function rr(a,u={}){let{parse:c}=bi(),h=Ue(u),l=(h?[h]:["module","script"]).map(m=>()=>c(a,{...ir,sourceType:m})),f;try{f=Be(l)}catch({errors:[m]}){throw sr(m)}return Me(f,{text:a})}var Si=De(rr);var ar={acorn:yi,espree:Si};var ga=lt;export{ga as default,ar as parsers}; +`):x=String.fromCharCode(m),this.options.locations&&(++this.curLine,this.lineStart=this.pos),x}jsx_readString(h){let m="",x=++this.pos;for(;;){this.pos>=this.input.length&&this.raise(this.start,"Unterminated string constant");let g=this.input.charCodeAt(this.pos);if(g===h)break;g===38?(m+=this.input.slice(x,this.pos),m+=this.jsx_readEntity(),x=this.pos):l(g)?(m+=this.input.slice(x,this.pos),m+=this.jsx_readNewLine(!1),x=this.pos):++this.pos}return m+=this.input.slice(x,this.pos++),this.finishToken(r.string,m)}jsx_readEntity(){let h="",m=0,x,g=this.input[this.pos];g!=="&"&&this.raise(this.pos,"Entity must start with an ampersand");let w=++this.pos;for(;this.pos")}let Ee=w.name?"Element":"Fragment";return x["opening"+Ee]=w,x["closing"+Ee]=he,x.children=g,this.type===r.relational&&this.value==="<"&&this.raise(this.start,"Adjacent JSX elements must be wrapped in an enclosing tag"),this.finishNode(x,"JSX"+Ee)}jsx_parseText(){let h=this.parseLiteral(this.value);return h.type="JSXText",h}jsx_parseElement(){let h=this.start,m=this.startLoc;return this.next(),this.jsx_parseElementAt(h,m)}parseExprAtom(h){return this.type===n.jsxText?this.jsx_parseText():this.type===n.jsxTagStart?this.jsx_parseElement():super.parseExprAtom(h)}readToken(h){let m=this.curContext();if(m===d)return this.jsx_readToken();if(m===u||m===p){if(C(h))return this.jsx_readWord();if(h==62)return++this.pos,this.finishToken(n.jsxTagEnd);if((h===34||h===39)&&m==u)return this.jsx_readString(h)}return h===60&&this.exprAllowed&&this.input.charCodeAt(this.pos+1)!==33?(++this.pos,this.finishToken(n.jsxTagStart)):super.readToken(h)}updateContext(h){if(this.type==r.braceL){var m=this.curContext();m==u?this.context.push(o.b_expr):m==d?this.context.push(o.b_tmpl):super.updateContext(h),this.exprAllowed=!0}else if(this.type===r.slash&&h===n.jsxTagStart)this.context.length-=2,this.context.push(p),this.exprAllowed=!1;else return super.updateContext(h)}}}});var $e={};vi($e,{parsers:()=>Xs});var Si=[509,0,227,0,150,4,294,9,1368,2,2,1,6,3,41,2,5,0,166,1,574,3,9,9,370,1,81,2,71,10,50,3,123,2,54,14,32,10,3,1,11,3,46,10,8,0,46,9,7,2,37,13,2,9,6,1,45,0,13,2,49,13,9,3,2,11,83,11,7,0,3,0,158,11,6,9,7,3,56,1,2,6,3,1,3,2,10,0,11,1,3,6,4,4,193,17,10,9,5,0,82,19,13,9,214,6,3,8,28,1,83,16,16,9,82,12,9,9,84,14,5,9,243,14,166,9,71,5,2,1,3,3,2,0,2,1,13,9,120,6,3,6,4,0,29,9,41,6,2,3,9,0,10,10,47,15,406,7,2,7,17,9,57,21,2,13,123,5,4,0,2,1,2,6,2,0,9,9,49,4,2,1,2,4,9,9,330,3,10,1,2,0,49,6,4,4,14,9,5351,0,7,14,13835,9,87,9,39,4,60,6,26,9,1014,0,2,54,8,3,82,0,12,1,19628,1,4706,45,3,22,543,4,4,5,9,7,3,6,31,3,149,2,1418,49,513,54,5,49,9,0,15,0,23,4,2,14,1361,6,2,16,3,6,2,1,2,4,101,0,161,6,10,9,357,0,62,13,499,13,983,6,110,6,6,9,4759,9,787719,239],nt=[0,11,2,25,2,18,2,1,2,14,3,13,35,122,70,52,268,28,4,48,48,31,14,29,6,37,11,29,3,35,5,7,2,4,43,157,19,35,5,35,5,39,9,51,13,10,2,14,2,6,2,1,2,10,2,14,2,6,2,1,68,310,10,21,11,7,25,5,2,41,2,8,70,5,3,0,2,43,2,1,4,0,3,22,11,22,10,30,66,18,2,1,11,21,11,25,71,55,7,1,65,0,16,3,2,2,2,28,43,28,4,28,36,7,2,27,28,53,11,21,11,18,14,17,111,72,56,50,14,50,14,35,349,41,7,1,79,28,11,0,9,21,43,17,47,20,28,22,13,52,58,1,3,0,14,44,33,24,27,35,30,0,3,0,9,34,4,0,13,47,15,3,22,0,2,0,36,17,2,24,20,1,64,6,2,0,2,3,2,14,2,9,8,46,39,7,3,1,3,21,2,6,2,1,2,4,4,0,19,0,13,4,159,52,19,3,21,2,31,47,21,1,2,0,185,46,42,3,37,47,21,0,60,42,14,0,72,26,38,6,186,43,117,63,32,7,3,0,3,7,2,1,2,23,16,0,2,0,95,7,3,38,17,0,2,0,29,0,11,39,8,0,22,0,12,45,20,0,19,72,264,8,2,36,18,0,50,29,113,6,2,1,2,37,22,0,26,5,2,1,2,31,15,0,328,18,16,0,2,12,2,33,125,0,80,921,103,110,18,195,2637,96,16,1071,18,5,4026,582,8634,568,8,30,18,78,18,29,19,47,17,3,32,20,6,18,689,63,129,74,6,0,67,12,65,1,2,0,29,6135,9,1237,43,8,8936,3,2,6,2,1,2,290,16,0,30,2,3,0,15,3,9,395,2309,106,6,12,4,8,8,9,5991,84,2,70,2,1,3,0,3,1,3,3,2,11,2,0,2,6,2,64,2,3,3,7,2,6,2,27,2,3,2,4,2,0,4,6,2,339,3,24,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,7,1845,30,7,5,262,61,147,44,11,6,17,0,322,29,19,43,485,27,757,6,2,3,2,1,2,14,2,196,60,67,8,0,1205,3,2,26,2,1,2,0,3,0,2,9,2,3,2,0,2,0,7,0,5,0,2,0,2,0,2,2,2,1,2,0,3,0,2,0,2,0,2,0,2,0,2,1,2,0,3,3,2,6,2,3,2,3,2,0,2,9,2,16,6,2,2,4,2,16,4421,42719,33,4153,7,221,3,5761,15,7472,16,621,2467,541,1507,4938,6,4191],Ci="\u200C\u200D\xB7\u0300-\u036F\u0387\u0483-\u0487\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u0610-\u061A\u064B-\u0669\u0670\u06D6-\u06DC\u06DF-\u06E4\u06E7\u06E8\u06EA-\u06ED\u06F0-\u06F9\u0711\u0730-\u074A\u07A6-\u07B0\u07C0-\u07C9\u07EB-\u07F3\u07FD\u0816-\u0819\u081B-\u0823\u0825-\u0827\u0829-\u082D\u0859-\u085B\u0898-\u089F\u08CA-\u08E1\u08E3-\u0903\u093A-\u093C\u093E-\u094F\u0951-\u0957\u0962\u0963\u0966-\u096F\u0981-\u0983\u09BC\u09BE-\u09C4\u09C7\u09C8\u09CB-\u09CD\u09D7\u09E2\u09E3\u09E6-\u09EF\u09FE\u0A01-\u0A03\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A66-\u0A71\u0A75\u0A81-\u0A83\u0ABC\u0ABE-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AE2\u0AE3\u0AE6-\u0AEF\u0AFA-\u0AFF\u0B01-\u0B03\u0B3C\u0B3E-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B55-\u0B57\u0B62\u0B63\u0B66-\u0B6F\u0B82\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD7\u0BE6-\u0BEF\u0C00-\u0C04\u0C3C\u0C3E-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C62\u0C63\u0C66-\u0C6F\u0C81-\u0C83\u0CBC\u0CBE-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CE2\u0CE3\u0CE6-\u0CEF\u0CF3\u0D00-\u0D03\u0D3B\u0D3C\u0D3E-\u0D44\u0D46-\u0D48\u0D4A-\u0D4D\u0D57\u0D62\u0D63\u0D66-\u0D6F\u0D81-\u0D83\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E31\u0E34-\u0E3A\u0E47-\u0E4E\u0E50-\u0E59\u0EB1\u0EB4-\u0EBC\u0EC8-\u0ECE\u0ED0-\u0ED9\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E\u0F3F\u0F71-\u0F84\u0F86\u0F87\u0F8D-\u0F97\u0F99-\u0FBC\u0FC6\u102B-\u103E\u1040-\u1049\u1056-\u1059\u105E-\u1060\u1062-\u1064\u1067-\u106D\u1071-\u1074\u1082-\u108D\u108F-\u109D\u135D-\u135F\u1369-\u1371\u1712-\u1715\u1732-\u1734\u1752\u1753\u1772\u1773\u17B4-\u17D3\u17DD\u17E0-\u17E9\u180B-\u180D\u180F-\u1819\u18A9\u1920-\u192B\u1930-\u193B\u1946-\u194F\u19D0-\u19DA\u1A17-\u1A1B\u1A55-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AB0-\u1ABD\u1ABF-\u1ACE\u1B00-\u1B04\u1B34-\u1B44\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1B82\u1BA1-\u1BAD\u1BB0-\u1BB9\u1BE6-\u1BF3\u1C24-\u1C37\u1C40-\u1C49\u1C50-\u1C59\u1CD0-\u1CD2\u1CD4-\u1CE8\u1CED\u1CF4\u1CF7-\u1CF9\u1DC0-\u1DFF\u200C\u200D\u203F\u2040\u2054\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2CEF-\u2CF1\u2D7F\u2DE0-\u2DFF\u302A-\u302F\u3099\u309A\u30FB\uA620-\uA629\uA66F\uA674-\uA67D\uA69E\uA69F\uA6F0\uA6F1\uA802\uA806\uA80B\uA823-\uA827\uA82C\uA880\uA881\uA8B4-\uA8C5\uA8D0-\uA8D9\uA8E0-\uA8F1\uA8FF-\uA909\uA926-\uA92D\uA947-\uA953\uA980-\uA983\uA9B3-\uA9C0\uA9D0-\uA9D9\uA9E5\uA9F0-\uA9F9\uAA29-\uAA36\uAA43\uAA4C\uAA4D\uAA50-\uAA59\uAA7B-\uAA7D\uAAB0\uAAB2-\uAAB4\uAAB7\uAAB8\uAABE\uAABF\uAAC1\uAAEB-\uAAEF\uAAF5\uAAF6\uABE3-\uABEA\uABEC\uABED\uABF0-\uABF9\uFB1E\uFE00-\uFE0F\uFE20-\uFE2F\uFE33\uFE34\uFE4D-\uFE4F\uFF10-\uFF19\uFF3F\uFF65",ot="\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0560-\u0588\u05D0-\u05EA\u05EF-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u0870-\u0887\u0889-\u088E\u08A0-\u08C9\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C5D\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D04-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E86-\u0E8A\u0E8C-\u0EA3\u0EA5\u0EA7-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u1711\u171F-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1878\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4C\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\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\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2118-\u211D\u2124\u2126\u2128\u212A-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309B-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312F\u3131-\u318E\u31A0-\u31BF\u31F0-\u31FF\u3400-\u4DBF\u4E00-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7CA\uA7D0\uA7D1\uA7D3\uA7D5-\uA7D9\uA7F2-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA8FE\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB69\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC",Ae={3:"abstract boolean byte char class double enum export extends final float goto implements import int interface long native package private protected public short static super synchronized throws transient volatile",5:"class enum extends super const export import",6:"enum",strict:"implements interface let package private protected public static yield",strictBind:"eval arguments"},Pe="break case catch continue debugger default do else finally for function if return switch throw try var while with null true false instanceof typeof void delete new in this",_i={5:Pe,"5module":Pe+" export import",6:Pe+" const class extends export import super"},Ti=/^in(stanceof)?$/,ki=new RegExp("["+ot+"]"),Ei=new RegExp("["+ot+Ci+"]");function Ne(e,t){for(var i=65536,s=0;se)return!1;if(i+=t[s+1],i>=e)return!0}return!1}function U(e,t){return e<65?e===36:e<91?!0:e<97?e===95:e<123?!0:e<=65535?e>=170&&ki.test(String.fromCharCode(e)):t===!1?!1:Ne(e,nt)}function z(e,t){return e<48?e===36:e<58?!0:e<65?!1:e<91?!0:e<97?e===95:e<123?!0:e<=65535?e>=170&&Ei.test(String.fromCharCode(e)):t===!1?!1:Ne(e,nt)||Ne(e,Si)}var S=function(t,i){i===void 0&&(i={}),this.label=t,this.keyword=i.keyword,this.beforeExpr=!!i.beforeExpr,this.startsExpr=!!i.startsExpr,this.isLoop=!!i.isLoop,this.isAssign=!!i.isAssign,this.prefix=!!i.prefix,this.postfix=!!i.postfix,this.binop=i.binop||null,this.updateContext=null};function I(e,t){return new S(e,{beforeExpr:!0,binop:t})}var N={beforeExpr:!0},A={startsExpr:!0},Oe={};function b(e,t){return t===void 0&&(t={}),t.keyword=e,Oe[e]=new S(e,t)}var a={num:new S("num",A),regexp:new S("regexp",A),string:new S("string",A),name:new S("name",A),privateId:new S("privateId",A),eof:new S("eof"),bracketL:new S("[",{beforeExpr:!0,startsExpr:!0}),bracketR:new S("]"),braceL:new S("{",{beforeExpr:!0,startsExpr:!0}),braceR:new S("}"),parenL:new S("(",{beforeExpr:!0,startsExpr:!0}),parenR:new S(")"),comma:new S(",",N),semi:new S(";",N),colon:new S(":",N),dot:new S("."),question:new S("?",N),questionDot:new S("?."),arrow:new S("=>",N),template:new S("template"),invalidTemplate:new S("invalidTemplate"),ellipsis:new S("...",N),backQuote:new S("`",A),dollarBraceL:new S("${",{beforeExpr:!0,startsExpr:!0}),eq:new S("=",{beforeExpr:!0,isAssign:!0}),assign:new S("_=",{beforeExpr:!0,isAssign:!0}),incDec:new S("++/--",{prefix:!0,postfix:!0,startsExpr:!0}),prefix:new S("!/~",{beforeExpr:!0,prefix:!0,startsExpr:!0}),logicalOR:I("||",1),logicalAND:I("&&",2),bitwiseOR:I("|",3),bitwiseXOR:I("^",4),bitwiseAND:I("&",5),equality:I("==/!=/===/!==",6),relational:I("/<=/>=",7),bitShift:I("<>/>>>",8),plusMin:new S("+/-",{beforeExpr:!0,binop:9,prefix:!0,startsExpr:!0}),modulo:I("%",10),star:I("*",10),slash:I("/",10),starstar:new S("**",{beforeExpr:!0}),coalesce:I("??",1),_break:b("break"),_case:b("case",N),_catch:b("catch"),_continue:b("continue"),_debugger:b("debugger"),_default:b("default",N),_do:b("do",{isLoop:!0,beforeExpr:!0}),_else:b("else",N),_finally:b("finally"),_for:b("for",{isLoop:!0}),_function:b("function",A),_if:b("if"),_return:b("return",N),_switch:b("switch"),_throw:b("throw",N),_try:b("try"),_var:b("var"),_const:b("const"),_while:b("while",{isLoop:!0}),_with:b("with"),_new:b("new",{beforeExpr:!0,startsExpr:!0}),_this:b("this",A),_super:b("super",A),_class:b("class",A),_extends:b("extends",N),_export:b("export"),_import:b("import",A),_null:b("null",A),_true:b("true",A),_false:b("false",A),_in:b("in",{beforeExpr:!0,binop:7}),_instanceof:b("instanceof",{beforeExpr:!0,binop:7}),_typeof:b("typeof",{beforeExpr:!0,prefix:!0,startsExpr:!0}),_void:b("void",{beforeExpr:!0,prefix:!0,startsExpr:!0}),_delete:b("delete",{beforeExpr:!0,prefix:!0,startsExpr:!0})},R=/\r\n?|\n|\u2028|\u2029/,wi=new RegExp(R.source,"g");function Q(e){return e===10||e===13||e===8232||e===8233}function ut(e,t,i){i===void 0&&(i=e.length);for(var s=t;s>10)+55296,(e&1023)+56320))}var Ii=/(?:[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])/,te=function(t,i){this.line=t,this.column=i};te.prototype.offset=function(t){return new te(this.line,this.column+t)};var xe=function(t,i,s){this.start=i,this.end=s,t.sourceFile!==null&&(this.source=t.sourceFile)};function ct(e,t){for(var i=1,s=0;;){var r=ut(e,s,t);if(r<0)return new te(i,t-s);++i,s=r}}var Ve={ecmaVersion:null,sourceType:"script",onInsertedSemicolon:null,onTrailingComma:null,allowReserved:null,allowReturnOutsideFunction:!1,allowImportExportEverywhere:!1,allowAwaitOutsideFunction:null,allowSuperOutsideMethod:null,allowHashBang:!1,checkPrivateFields:!0,locations:!1,onToken:null,onComment:null,ranges:!1,program:null,sourceFile:null,directSourceFile:null,preserveParens:!1},st=!1;function Ni(e){var t={};for(var i in Ve)t[i]=e&&se(e,i)?e[i]:Ve[i];if(t.ecmaVersion==="latest"?t.ecmaVersion=1e8:t.ecmaVersion==null?(!st&&typeof console=="object"&&console.warn&&(st=!0,console.warn(`Since Acorn 8.0.0, options.ecmaVersion is required. +Defaulting to 2020, but this will stop working in the future.`)),t.ecmaVersion=11):t.ecmaVersion>=2015&&(t.ecmaVersion-=2009),t.allowReserved==null&&(t.allowReserved=t.ecmaVersion<5),(!e||e.allowHashBang==null)&&(t.allowHashBang=t.ecmaVersion>=14),tt(t.onToken)){var s=t.onToken;t.onToken=function(r){return s.push(r)}}return tt(t.onComment)&&(t.onComment=Vi(t,t.onComment)),t}function Vi(e,t){return function(i,s,r,n,o,u){var p={type:i?"Block":"Line",value:s,start:r,end:n};e.locations&&(p.loc=new xe(this,o,u)),e.ranges&&(p.range=[r,n]),t.push(p)}}var ie=1,Y=2,Be=4,lt=8,ft=16,dt=32,De=64,mt=128,re=256,Fe=ie|Y|re;function Me(e,t){return Y|(e?Be:0)|(t?lt:0)}var le=0,je=1,J=2,xt=3,yt=4,gt=5,T=function(t,i,s){this.options=t=Ni(t),this.sourceFile=t.sourceFile,this.keywords=G(_i[t.ecmaVersion>=6?6:t.sourceType==="module"?"5module":5]);var r="";t.allowReserved!==!0&&(r=Ae[t.ecmaVersion>=6?6:t.ecmaVersion===5?5:3],t.sourceType==="module"&&(r+=" await")),this.reservedWords=G(r);var n=(r?r+" ":"")+Ae.strict;this.reservedWordsStrict=G(n),this.reservedWordsStrictBind=G(n+" "+Ae.strictBind),this.input=String(i),this.containsEsc=!1,s?(this.pos=s,this.lineStart=this.input.lastIndexOf(` +`,s-1)+1,this.curLine=this.input.slice(0,this.lineStart).split(R).length):(this.pos=this.lineStart=0,this.curLine=1),this.type=a.eof,this.value=null,this.start=this.end=this.pos,this.startLoc=this.endLoc=this.curPosition(),this.lastTokEndLoc=this.lastTokStartLoc=null,this.lastTokStart=this.lastTokEnd=this.pos,this.context=this.initialContext(),this.exprAllowed=!0,this.inModule=t.sourceType==="module",this.strict=this.inModule||this.strictDirective(this.pos),this.potentialArrowAt=-1,this.potentialArrowInForAwait=!1,this.yieldPos=this.awaitPos=this.awaitIdentPos=0,this.labels=[],this.undefinedExports=Object.create(null),this.pos===0&&t.allowHashBang&&this.input.slice(0,2)==="#!"&&this.skipLineComment(2),this.scopeStack=[],this.enterScope(ie),this.regexpState=null,this.privateNameStack=[]},F={inFunction:{configurable:!0},inGenerator:{configurable:!0},inAsync:{configurable:!0},canAwait:{configurable:!0},allowSuper:{configurable:!0},allowDirectSuper:{configurable:!0},treatFunctionsAsVar:{configurable:!0},allowNewDotTarget:{configurable:!0},inClassStaticBlock:{configurable:!0}};T.prototype.parse=function(){var t=this.options.program||this.startNode();return this.nextToken(),this.parseTopLevel(t)};F.inFunction.get=function(){return(this.currentVarScope().flags&Y)>0};F.inGenerator.get=function(){return(this.currentVarScope().flags<)>0&&!this.currentVarScope().inClassFieldInit};F.inAsync.get=function(){return(this.currentVarScope().flags&Be)>0&&!this.currentVarScope().inClassFieldInit};F.canAwait.get=function(){for(var e=this.scopeStack.length-1;e>=0;e--){var t=this.scopeStack[e];if(t.inClassFieldInit||t.flags&re)return!1;if(t.flags&Y)return(t.flags&Be)>0}return this.inModule&&this.options.ecmaVersion>=13||this.options.allowAwaitOutsideFunction};F.allowSuper.get=function(){var e=this.currentThisScope(),t=e.flags,i=e.inClassFieldInit;return(t&De)>0||i||this.options.allowSuperOutsideMethod};F.allowDirectSuper.get=function(){return(this.currentThisScope().flags&mt)>0};F.treatFunctionsAsVar.get=function(){return this.treatFunctionsAsVarInScope(this.currentScope())};F.allowNewDotTarget.get=function(){var e=this.currentThisScope(),t=e.flags,i=e.inClassFieldInit;return(t&(Y|re))>0||i};F.inClassStaticBlock.get=function(){return(this.currentVarScope().flags&re)>0};T.extend=function(){for(var t=[],i=arguments.length;i--;)t[i]=arguments[i];for(var s=this,r=0;r=,?^&]/.test(r)||r==="!"&&this.input.charAt(s+1)==="=")}e+=t[0].length,V.lastIndex=e,e+=V.exec(this.input)[0].length,this.input[e]===";"&&e++}};k.eat=function(e){return this.type===e?(this.next(),!0):!1};k.isContextual=function(e){return this.type===a.name&&this.value===e&&!this.containsEsc};k.eatContextual=function(e){return this.isContextual(e)?(this.next(),!0):!1};k.expectContextual=function(e){this.eatContextual(e)||this.unexpected()};k.canInsertSemicolon=function(){return this.type===a.eof||this.type===a.braceR||R.test(this.input.slice(this.lastTokEnd,this.start))};k.insertSemicolon=function(){if(this.canInsertSemicolon())return this.options.onInsertedSemicolon&&this.options.onInsertedSemicolon(this.lastTokEnd,this.lastTokEndLoc),!0};k.semicolon=function(){!this.eat(a.semi)&&!this.insertSemicolon()&&this.unexpected()};k.afterTrailingComma=function(e,t){if(this.type===e)return this.options.onTrailingComma&&this.options.onTrailingComma(this.lastTokStart,this.lastTokStartLoc),t||this.next(),!0};k.expect=function(e){this.eat(e)||this.unexpected()};k.unexpected=function(e){this.raise(e??this.start,"Unexpected token")};var ye=function(){this.shorthandAssign=this.trailingComma=this.parenthesizedAssign=this.parenthesizedBind=this.doubleProto=-1};k.checkPatternErrors=function(e,t){if(e){e.trailingComma>-1&&this.raiseRecoverable(e.trailingComma,"Comma is not permitted after the rest element");var i=t?e.parenthesizedAssign:e.parenthesizedBind;i>-1&&this.raiseRecoverable(i,t?"Assigning to rvalue":"Parenthesized pattern")}};k.checkExpressionErrors=function(e,t){if(!e)return!1;var i=e.shorthandAssign,s=e.doubleProto;if(!t)return i>=0||s>=0;i>=0&&this.raise(i,"Shorthand property assignments are valid only in destructuring patterns"),s>=0&&this.raiseRecoverable(s,"Redefinition of __proto__ property")};k.checkYieldAwaitInDefaultParams=function(){this.yieldPos&&(!this.awaitPos||this.yieldPos55295&&s<56320)return!0;if(U(s,!0)){for(var r=i+1;z(s=this.input.charCodeAt(r),!0);)++r;if(s===92||s>55295&&s<56320)return!0;var n=this.input.slice(i,r);if(!Ti.test(n))return!0}return!1};f.isAsyncFunction=function(){if(this.options.ecmaVersion<8||!this.isContextual("async"))return!1;V.lastIndex=this.pos;var e=V.exec(this.input),t=this.pos+e[0].length,i;return!R.test(this.input.slice(this.pos,t))&&this.input.slice(t,t+8)==="function"&&(t+8===this.input.length||!(z(i=this.input.charCodeAt(t+8))||i>55295&&i<56320))};f.parseStatement=function(e,t,i){var s=this.type,r=this.startNode(),n;switch(this.isLet(e)&&(s=a._var,n="let"),s){case a._break:case a._continue:return this.parseBreakContinueStatement(r,s.keyword);case a._debugger:return this.parseDebuggerStatement(r);case a._do:return this.parseDoStatement(r);case a._for:return this.parseForStatement(r);case a._function:return e&&(this.strict||e!=="if"&&e!=="label")&&this.options.ecmaVersion>=6&&this.unexpected(),this.parseFunctionStatement(r,!1,!e);case a._class:return e&&this.unexpected(),this.parseClass(r,!0);case a._if:return this.parseIfStatement(r);case a._return:return this.parseReturnStatement(r);case a._switch:return this.parseSwitchStatement(r);case a._throw:return this.parseThrowStatement(r);case a._try:return this.parseTryStatement(r);case a._const:case a._var:return n=n||this.value,e&&n!=="var"&&this.unexpected(),this.parseVarStatement(r,n);case a._while:return this.parseWhileStatement(r);case a._with:return this.parseWithStatement(r);case a.braceL:return this.parseBlock(!0,r);case a.semi:return this.parseEmptyStatement(r);case a._export:case a._import:if(this.options.ecmaVersion>10&&s===a._import){V.lastIndex=this.pos;var o=V.exec(this.input),u=this.pos+o[0].length,p=this.input.charCodeAt(u);if(p===40||p===46)return this.parseExpressionStatement(r,this.parseExpression())}return this.options.allowImportExportEverywhere||(t||this.raise(this.start,"'import' and 'export' may only appear at the top level"),this.inModule||this.raise(this.start,"'import' and 'export' may appear only with 'sourceType: module'")),s===a._import?this.parseImport(r):this.parseExport(r,i);default:if(this.isAsyncFunction())return e&&this.unexpected(),this.next(),this.parseFunctionStatement(r,!0,!e);var d=this.value,l=this.parseExpression();return s===a.name&&l.type==="Identifier"&&this.eat(a.colon)?this.parseLabeledStatement(r,d,l,e):this.parseExpressionStatement(r,l)}};f.parseBreakContinueStatement=function(e,t){var i=t==="break";this.next(),this.eat(a.semi)||this.insertSemicolon()?e.label=null:this.type!==a.name?this.unexpected():(e.label=this.parseIdent(),this.semicolon());for(var s=0;s=6?this.eat(a.semi):this.semicolon(),this.finishNode(e,"DoWhileStatement")};f.parseForStatement=function(e){this.next();var t=this.options.ecmaVersion>=9&&this.canAwait&&this.eatContextual("await")?this.lastTokStart:-1;if(this.labels.push(Ue),this.enterScope(0),this.expect(a.parenL),this.type===a.semi)return t>-1&&this.unexpected(t),this.parseFor(e,null);var i=this.isLet();if(this.type===a._var||this.type===a._const||i){var s=this.startNode(),r=i?"let":this.value;return this.next(),this.parseVar(s,!0,r),this.finishNode(s,"VariableDeclaration"),(this.type===a._in||this.options.ecmaVersion>=6&&this.isContextual("of"))&&s.declarations.length===1?(this.options.ecmaVersion>=9&&(this.type===a._in?t>-1&&this.unexpected(t):e.await=t>-1),this.parseForIn(e,s)):(t>-1&&this.unexpected(t),this.parseFor(e,s))}var n=this.isContextual("let"),o=!1,u=this.containsEsc,p=new ye,d=this.start,l=t>-1?this.parseExprSubscripts(p,"await"):this.parseExpression(!0,p);return this.type===a._in||(o=this.options.ecmaVersion>=6&&this.isContextual("of"))?(t>-1?(this.type===a._in&&this.unexpected(t),e.await=!0):o&&this.options.ecmaVersion>=8&&(l.start===d&&!u&&l.type==="Identifier"&&l.name==="async"?this.unexpected():this.options.ecmaVersion>=9&&(e.await=!1)),n&&o&&this.raise(l.start,"The left-hand side of a for-of loop may not start with 'let'."),this.toAssignable(l,!1,p),this.checkLValPattern(l),this.parseForIn(e,l)):(this.checkExpressionErrors(p,!0),t>-1&&this.unexpected(t),this.parseFor(e,l))};f.parseFunctionStatement=function(e,t,i){return this.next(),this.parseFunction(e,ee|(i?0:Le),!1,t)};f.parseIfStatement=function(e){return this.next(),e.test=this.parseParenExpression(),e.consequent=this.parseStatement("if"),e.alternate=this.eat(a._else)?this.parseStatement("if"):null,this.finishNode(e,"IfStatement")};f.parseReturnStatement=function(e){return!this.inFunction&&!this.options.allowReturnOutsideFunction&&this.raise(this.start,"'return' outside of function"),this.next(),this.eat(a.semi)||this.insertSemicolon()?e.argument=null:(e.argument=this.parseExpression(),this.semicolon()),this.finishNode(e,"ReturnStatement")};f.parseSwitchStatement=function(e){this.next(),e.discriminant=this.parseParenExpression(),e.cases=[],this.expect(a.braceL),this.labels.push(Ri),this.enterScope(0);for(var t,i=!1;this.type!==a.braceR;)if(this.type===a._case||this.type===a._default){var s=this.type===a._case;t&&this.finishNode(t,"SwitchCase"),e.cases.push(t=this.startNode()),t.consequent=[],this.next(),s?t.test=this.parseExpression():(i&&this.raiseRecoverable(this.lastTokStart,"Multiple default clauses"),i=!0,t.test=null),this.expect(a.colon)}else t||this.unexpected(),t.consequent.push(this.parseStatement(null));return this.exitScope(),t&&this.finishNode(t,"SwitchCase"),this.next(),this.labels.pop(),this.finishNode(e,"SwitchStatement")};f.parseThrowStatement=function(e){return this.next(),R.test(this.input.slice(this.lastTokEnd,this.start))&&this.raise(this.lastTokEnd,"Illegal newline after throw"),e.argument=this.parseExpression(),this.semicolon(),this.finishNode(e,"ThrowStatement")};var Oi=[];f.parseCatchClauseParam=function(){var e=this.parseBindingAtom(),t=e.type==="Identifier";return this.enterScope(t?dt:0),this.checkLValPattern(e,t?yt:J),this.expect(a.parenR),e};f.parseTryStatement=function(e){if(this.next(),e.block=this.parseBlock(),e.handler=null,this.type===a._catch){var t=this.startNode();this.next(),this.eat(a.parenL)?t.param=this.parseCatchClauseParam():(this.options.ecmaVersion<10&&this.unexpected(),t.param=null,this.enterScope(0)),t.body=this.parseBlock(!1),this.exitScope(),e.handler=this.finishNode(t,"CatchClause")}return e.finalizer=this.eat(a._finally)?this.parseBlock():null,!e.handler&&!e.finalizer&&this.raise(e.start,"Missing catch or finally clause"),this.finishNode(e,"TryStatement")};f.parseVarStatement=function(e,t,i){return this.next(),this.parseVar(e,!1,t,i),this.semicolon(),this.finishNode(e,"VariableDeclaration")};f.parseWhileStatement=function(e){return this.next(),e.test=this.parseParenExpression(),this.labels.push(Ue),e.body=this.parseStatement("while"),this.labels.pop(),this.finishNode(e,"WhileStatement")};f.parseWithStatement=function(e){return this.strict&&this.raise(this.start,"'with' in strict mode"),this.next(),e.object=this.parseParenExpression(),e.body=this.parseStatement("with"),this.finishNode(e,"WithStatement")};f.parseEmptyStatement=function(e){return this.next(),this.finishNode(e,"EmptyStatement")};f.parseLabeledStatement=function(e,t,i,s){for(var r=0,n=this.labels;r=0;p--){var d=this.labels[p];if(d.statementStart===e.start)d.statementStart=this.start,d.kind=u;else break}return this.labels.push({name:t,kind:u,statementStart:this.start}),e.body=this.parseStatement(s?s.indexOf("label")===-1?s+"label":s:"label"),this.labels.pop(),e.label=i,this.finishNode(e,"LabeledStatement")};f.parseExpressionStatement=function(e,t){return e.expression=t,this.semicolon(),this.finishNode(e,"ExpressionStatement")};f.parseBlock=function(e,t,i){for(e===void 0&&(e=!0),t===void 0&&(t=this.startNode()),t.body=[],this.expect(a.braceL),e&&this.enterScope(0);this.type!==a.braceR;){var s=this.parseStatement(null);t.body.push(s)}return i&&(this.strict=!1),this.next(),e&&this.exitScope(),this.finishNode(t,"BlockStatement")};f.parseFor=function(e,t){return e.init=t,this.expect(a.semi),e.test=this.type===a.semi?null:this.parseExpression(),this.expect(a.semi),e.update=this.type===a.parenR?null:this.parseExpression(),this.expect(a.parenR),e.body=this.parseStatement("for"),this.exitScope(),this.labels.pop(),this.finishNode(e,"ForStatement")};f.parseForIn=function(e,t){var i=this.type===a._in;return this.next(),t.type==="VariableDeclaration"&&t.declarations[0].init!=null&&(!i||this.options.ecmaVersion<8||this.strict||t.kind!=="var"||t.declarations[0].id.type!=="Identifier")&&this.raise(t.start,(i?"for-in":"for-of")+" loop variable declaration may not have an initializer"),e.left=t,e.right=i?this.parseExpression():this.parseMaybeAssign(),this.expect(a.parenR),e.body=this.parseStatement("for"),this.exitScope(),this.labels.pop(),this.finishNode(e,i?"ForInStatement":"ForOfStatement")};f.parseVar=function(e,t,i,s){for(e.declarations=[],e.kind=i;;){var r=this.startNode();if(this.parseVarId(r,i),this.eat(a.eq)?r.init=this.parseMaybeAssign(t):!s&&i==="const"&&!(this.type===a._in||this.options.ecmaVersion>=6&&this.isContextual("of"))?this.unexpected():!s&&r.id.type!=="Identifier"&&!(t&&(this.type===a._in||this.isContextual("of")))?this.raise(this.lastTokEnd,"Complex binding patterns require an initialization value"):r.init=null,e.declarations.push(this.finishNode(r,"VariableDeclarator")),!this.eat(a.comma))break}return e};f.parseVarId=function(e,t){e.id=this.parseBindingAtom(),this.checkLValPattern(e.id,t==="var"?je:J,!1)};var ee=1,Le=2,vt=4;f.parseFunction=function(e,t,i,s,r){this.initFunction(e),(this.options.ecmaVersion>=9||this.options.ecmaVersion>=6&&!s)&&(this.type===a.star&&t&Le&&this.unexpected(),e.generator=this.eat(a.star)),this.options.ecmaVersion>=8&&(e.async=!!s),t&ee&&(e.id=t&vt&&this.type!==a.name?null:this.parseIdent(),e.id&&!(t&Le)&&this.checkLValSimple(e.id,this.strict||e.generator||e.async?this.treatFunctionsAsVar?je:J:xt));var n=this.yieldPos,o=this.awaitPos,u=this.awaitIdentPos;return this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0,this.enterScope(Me(e.async,e.generator)),t&ee||(e.id=this.type===a.name?this.parseIdent():null),this.parseFunctionParams(e),this.parseFunctionBody(e,i,!1,r),this.yieldPos=n,this.awaitPos=o,this.awaitIdentPos=u,this.finishNode(e,t&ee?"FunctionDeclaration":"FunctionExpression")};f.parseFunctionParams=function(e){this.expect(a.parenL),e.params=this.parseBindingList(a.parenR,!1,this.options.ecmaVersion>=8),this.checkYieldAwaitInDefaultParams()};f.parseClass=function(e,t){this.next();var i=this.strict;this.strict=!0,this.parseClassId(e,t),this.parseClassSuper(e);var s=this.enterClassBody(),r=this.startNode(),n=!1;for(r.body=[],this.expect(a.braceL);this.type!==a.braceR;){var o=this.parseClassElement(e.superClass!==null);o&&(r.body.push(o),o.type==="MethodDefinition"&&o.kind==="constructor"?(n&&this.raiseRecoverable(o.start,"Duplicate constructor in the same class"),n=!0):o.key&&o.key.type==="PrivateIdentifier"&&Bi(s,o)&&this.raiseRecoverable(o.key.start,"Identifier '#"+o.key.name+"' has already been declared"))}return this.strict=i,this.next(),e.body=this.finishNode(r,"ClassBody"),this.exitClassBody(),this.finishNode(e,t?"ClassDeclaration":"ClassExpression")};f.parseClassElement=function(e){if(this.eat(a.semi))return null;var t=this.options.ecmaVersion,i=this.startNode(),s="",r=!1,n=!1,o="method",u=!1;if(this.eatContextual("static")){if(t>=13&&this.eat(a.braceL))return this.parseClassStaticBlock(i),i;this.isClassElementNameStart()||this.type===a.star?u=!0:s="static"}if(i.static=u,!s&&t>=8&&this.eatContextual("async")&&((this.isClassElementNameStart()||this.type===a.star)&&!this.canInsertSemicolon()?n=!0:s="async"),!s&&(t>=9||!n)&&this.eat(a.star)&&(r=!0),!s&&!n&&!r){var p=this.value;(this.eatContextual("get")||this.eatContextual("set"))&&(this.isClassElementNameStart()?o=p:s=p)}if(s?(i.computed=!1,i.key=this.startNodeAt(this.lastTokStart,this.lastTokStartLoc),i.key.name=s,this.finishNode(i.key,"Identifier")):this.parseClassElementName(i),t<13||this.type===a.parenL||o!=="method"||r||n){var d=!i.static&&fe(i,"constructor"),l=d&&e;d&&o!=="method"&&this.raise(i.key.start,"Constructor can't have get/set modifier"),i.kind=d?"constructor":o,this.parseClassMethod(i,r,n,l)}else this.parseClassField(i);return i};f.isClassElementNameStart=function(){return this.type===a.name||this.type===a.privateId||this.type===a.num||this.type===a.string||this.type===a.bracketL||this.type.keyword};f.parseClassElementName=function(e){this.type===a.privateId?(this.value==="constructor"&&this.raise(this.start,"Classes can't have an element named '#constructor'"),e.computed=!1,e.key=this.parsePrivateIdent()):this.parsePropertyName(e)};f.parseClassMethod=function(e,t,i,s){var r=e.key;e.kind==="constructor"?(t&&this.raise(r.start,"Constructor can't be a generator"),i&&this.raise(r.start,"Constructor can't be an async method")):e.static&&fe(e,"prototype")&&this.raise(r.start,"Classes may not have a static property named prototype");var n=e.value=this.parseMethod(t,i,s);return e.kind==="get"&&n.params.length!==0&&this.raiseRecoverable(n.start,"getter should have no params"),e.kind==="set"&&n.params.length!==1&&this.raiseRecoverable(n.start,"setter should have exactly one param"),e.kind==="set"&&n.params[0].type==="RestElement"&&this.raiseRecoverable(n.params[0].start,"Setter cannot use rest params"),this.finishNode(e,"MethodDefinition")};f.parseClassField=function(e){if(fe(e,"constructor")?this.raise(e.key.start,"Classes can't have a field named 'constructor'"):e.static&&fe(e,"prototype")&&this.raise(e.key.start,"Classes can't have a static field named 'prototype'"),this.eat(a.eq)){var t=this.currentThisScope(),i=t.inClassFieldInit;t.inClassFieldInit=!0,e.value=this.parseMaybeAssign(),t.inClassFieldInit=i}else e.value=null;return this.semicolon(),this.finishNode(e,"PropertyDefinition")};f.parseClassStaticBlock=function(e){e.body=[];var t=this.labels;for(this.labels=[],this.enterScope(re|De);this.type!==a.braceR;){var i=this.parseStatement(null);e.body.push(i)}return this.next(),this.exitScope(),this.labels=t,this.finishNode(e,"StaticBlock")};f.parseClassId=function(e,t){this.type===a.name?(e.id=this.parseIdent(),t&&this.checkLValSimple(e.id,J,!1)):(t===!0&&this.unexpected(),e.id=null)};f.parseClassSuper=function(e){e.superClass=this.eat(a._extends)?this.parseExprSubscripts(null,!1):null};f.enterClassBody=function(){var e={declared:Object.create(null),used:[]};return this.privateNameStack.push(e),e.declared};f.exitClassBody=function(){var e=this.privateNameStack.pop(),t=e.declared,i=e.used;if(this.options.checkPrivateFields)for(var s=this.privateNameStack.length,r=s===0?null:this.privateNameStack[s-1],n=0;n=11&&(this.eatContextual("as")?(e.exported=this.parseModuleExportName(),this.checkExport(t,e.exported,this.lastTokStart)):e.exported=null),this.expectContextual("from"),this.type!==a.string&&this.unexpected(),e.source=this.parseExprAtom(),this.semicolon(),this.finishNode(e,"ExportAllDeclaration")};f.parseExport=function(e,t){if(this.next(),this.eat(a.star))return this.parseExportAllDeclaration(e,t);if(this.eat(a._default))return this.checkExport(t,"default",this.lastTokStart),e.declaration=this.parseExportDefaultDeclaration(),this.finishNode(e,"ExportDefaultDeclaration");if(this.shouldParseExportStatement())e.declaration=this.parseExportDeclaration(e),e.declaration.type==="VariableDeclaration"?this.checkVariableExport(t,e.declaration.declarations):this.checkExport(t,e.declaration.id,e.declaration.id.start),e.specifiers=[],e.source=null;else{if(e.declaration=null,e.specifiers=this.parseExportSpecifiers(t),this.eatContextual("from"))this.type!==a.string&&this.unexpected(),e.source=this.parseExprAtom();else{for(var i=0,s=e.specifiers;i=13&&this.type===a.string){var e=this.parseLiteral(this.value);return Ii.test(e.value)&&this.raise(e.start,"An export name cannot include a lone surrogate."),e}return this.parseIdent(!0)};f.adaptDirectivePrologue=function(e){for(var t=0;t=5&&e.type==="ExpressionStatement"&&e.expression.type==="Literal"&&typeof e.expression.value=="string"&&(this.input[e.start]==='"'||this.input[e.start]==="'")};var O=T.prototype;O.toAssignable=function(e,t,i){if(this.options.ecmaVersion>=6&&e)switch(e.type){case"Identifier":this.inAsync&&e.name==="await"&&this.raise(e.start,"Cannot use 'await' as identifier inside an async function");break;case"ObjectPattern":case"ArrayPattern":case"AssignmentPattern":case"RestElement":break;case"ObjectExpression":e.type="ObjectPattern",i&&this.checkPatternErrors(i,!0);for(var s=0,r=e.properties;s=8&&!u&&p.name==="async"&&!this.canInsertSemicolon()&&this.eat(a._function))return this.overrideContext(_.f_expr),this.parseFunction(this.startNodeAt(n,o),0,!1,!0,t);if(r&&!this.canInsertSemicolon()){if(this.eat(a.arrow))return this.parseArrowExpression(this.startNodeAt(n,o),[p],!1,t);if(this.options.ecmaVersion>=8&&p.name==="async"&&this.type===a.name&&!u&&(!this.potentialArrowInForAwait||this.value!=="of"||this.containsEsc))return p=this.parseIdent(!1),(this.canInsertSemicolon()||!this.eat(a.arrow))&&this.unexpected(),this.parseArrowExpression(this.startNodeAt(n,o),[p],!0,t)}return p;case a.regexp:var d=this.value;return s=this.parseLiteral(d.value),s.regex={pattern:d.pattern,flags:d.flags},s;case a.num:case a.string:return this.parseLiteral(this.value);case a._null:case a._true:case a._false:return s=this.startNode(),s.value=this.type===a._null?null:this.type===a._true,s.raw=this.type.keyword,this.next(),this.finishNode(s,"Literal");case a.parenL:var l=this.start,C=this.parseParenAndDistinguishExpression(r,t);return e&&(e.parenthesizedAssign<0&&!this.isSimpleAssignTarget(C)&&(e.parenthesizedAssign=l),e.parenthesizedBind<0&&(e.parenthesizedBind=l)),C;case a.bracketL:return s=this.startNode(),this.next(),s.elements=this.parseExprList(a.bracketR,!0,!0,e),this.finishNode(s,"ArrayExpression");case a.braceL:return this.overrideContext(_.b_expr),this.parseObj(!1,e);case a._function:return s=this.startNode(),this.next(),this.parseFunction(s,0);case a._class:return this.parseClass(this.startNode(),!1);case a._new:return this.parseNew();case a.backQuote:return this.parseTemplate();case a._import:return this.options.ecmaVersion>=11?this.parseExprImport(i):this.unexpected();default:return this.parseExprAtomDefault()}};y.parseExprAtomDefault=function(){this.unexpected()};y.parseExprImport=function(e){var t=this.startNode();if(this.containsEsc&&this.raiseRecoverable(this.start,"Escape sequence in keyword import"),this.next(),this.type===a.parenL&&!e)return this.parseDynamicImport(t);if(this.type===a.dot){var i=this.startNodeAt(t.start,t.loc&&t.loc.start);return i.name="import",t.meta=this.finishNode(i,"Identifier"),this.parseImportMeta(t)}else this.unexpected()};y.parseDynamicImport=function(e){if(this.next(),e.source=this.parseMaybeAssign(),!this.eat(a.parenR)){var t=this.start;this.eat(a.comma)&&this.eat(a.parenR)?this.raiseRecoverable(t,"Trailing comma is not allowed in import()"):this.unexpected(t)}return this.finishNode(e,"ImportExpression")};y.parseImportMeta=function(e){this.next();var t=this.containsEsc;return e.property=this.parseIdent(!0),e.property.name!=="meta"&&this.raiseRecoverable(e.property.start,"The only valid meta property for import is 'import.meta'"),t&&this.raiseRecoverable(e.start,"'import.meta' must not contain escaped characters"),this.options.sourceType!=="module"&&!this.options.allowImportExportEverywhere&&this.raiseRecoverable(e.start,"Cannot use 'import.meta' outside a module"),this.finishNode(e,"MetaProperty")};y.parseLiteral=function(e){var t=this.startNode();return t.value=e,t.raw=this.input.slice(this.start,this.end),t.raw.charCodeAt(t.raw.length-1)===110&&(t.bigint=t.raw.slice(0,-1).replace(/_/g,"")),this.next(),this.finishNode(t,"Literal")};y.parseParenExpression=function(){this.expect(a.parenL);var e=this.parseExpression();return this.expect(a.parenR),e};y.shouldParseArrow=function(e){return!this.canInsertSemicolon()};y.parseParenAndDistinguishExpression=function(e,t){var i=this.start,s=this.startLoc,r,n=this.options.ecmaVersion>=8;if(this.options.ecmaVersion>=6){this.next();var o=this.start,u=this.startLoc,p=[],d=!0,l=!1,C=new ye,B=this.yieldPos,h=this.awaitPos,m;for(this.yieldPos=0,this.awaitPos=0;this.type!==a.parenR;)if(d?d=!1:this.expect(a.comma),n&&this.afterTrailingComma(a.parenR,!0)){l=!0;break}else if(this.type===a.ellipsis){m=this.start,p.push(this.parseParenItem(this.parseRestBinding())),this.type===a.comma&&this.raiseRecoverable(this.start,"Comma is not permitted after the rest element");break}else p.push(this.parseMaybeAssign(!1,C,this.parseParenItem));var x=this.lastTokEnd,g=this.lastTokEndLoc;if(this.expect(a.parenR),e&&this.shouldParseArrow(p)&&this.eat(a.arrow))return this.checkPatternErrors(C,!1),this.checkYieldAwaitInDefaultParams(),this.yieldPos=B,this.awaitPos=h,this.parseParenArrowList(i,s,p,t);(!p.length||l)&&this.unexpected(this.lastTokStart),m&&this.unexpected(m),this.checkExpressionErrors(C,!0),this.yieldPos=B||this.yieldPos,this.awaitPos=h||this.awaitPos,p.length>1?(r=this.startNodeAt(o,u),r.expressions=p,this.finishNodeAt(r,"SequenceExpression",x,g)):r=p[0]}else r=this.parseParenExpression();if(this.options.preserveParens){var w=this.startNodeAt(i,s);return w.expression=r,this.finishNode(w,"ParenthesizedExpression")}else return r};y.parseParenItem=function(e){return e};y.parseParenArrowList=function(e,t,i,s){return this.parseArrowExpression(this.startNodeAt(e,t),i,!1,s)};var Di=[];y.parseNew=function(){this.containsEsc&&this.raiseRecoverable(this.start,"Escape sequence in keyword new");var e=this.startNode();if(this.next(),this.options.ecmaVersion>=6&&this.type===a.dot){var t=this.startNodeAt(e.start,e.loc&&e.loc.start);t.name="new",e.meta=this.finishNode(t,"Identifier"),this.next();var i=this.containsEsc;return e.property=this.parseIdent(!0),e.property.name!=="target"&&this.raiseRecoverable(e.property.start,"The only valid meta property for new is 'new.target'"),i&&this.raiseRecoverable(e.start,"'new.target' must not contain escaped characters"),this.allowNewDotTarget||this.raiseRecoverable(e.start,"'new.target' can only be used in functions and class static block"),this.finishNode(e,"MetaProperty")}var s=this.start,r=this.startLoc;return e.callee=this.parseSubscripts(this.parseExprAtom(null,!1,!0),s,r,!0,!1),this.eat(a.parenL)?e.arguments=this.parseExprList(a.parenR,this.options.ecmaVersion>=8,!1):e.arguments=Di,this.finishNode(e,"NewExpression")};y.parseTemplateElement=function(e){var t=e.isTagged,i=this.startNode();return this.type===a.invalidTemplate?(t||this.raiseRecoverable(this.start,"Bad escape sequence in untagged template literal"),i.value={raw:this.value.replace(/\r\n?/g,` +`),cooked:null}):i.value={raw:this.input.slice(this.start,this.end).replace(/\r\n?/g,` +`),cooked:this.value},this.next(),i.tail=this.type===a.backQuote,this.finishNode(i,"TemplateElement")};y.parseTemplate=function(e){e===void 0&&(e={});var t=e.isTagged;t===void 0&&(t=!1);var i=this.startNode();this.next(),i.expressions=[];var s=this.parseTemplateElement({isTagged:t});for(i.quasis=[s];!s.tail;)this.type===a.eof&&this.raise(this.pos,"Unterminated template literal"),this.expect(a.dollarBraceL),i.expressions.push(this.parseExpression()),this.expect(a.braceR),i.quasis.push(s=this.parseTemplateElement({isTagged:t}));return this.next(),this.finishNode(i,"TemplateLiteral")};y.isAsyncProp=function(e){return!e.computed&&e.key.type==="Identifier"&&e.key.name==="async"&&(this.type===a.name||this.type===a.num||this.type===a.string||this.type===a.bracketL||this.type.keyword||this.options.ecmaVersion>=9&&this.type===a.star)&&!R.test(this.input.slice(this.lastTokEnd,this.start))};y.parseObj=function(e,t){var i=this.startNode(),s=!0,r={};for(i.properties=[],this.next();!this.eat(a.braceR);){if(s)s=!1;else if(this.expect(a.comma),this.options.ecmaVersion>=5&&this.afterTrailingComma(a.braceR))break;var n=this.parseProperty(e,t);e||this.checkPropClash(n,r,t),i.properties.push(n)}return this.finishNode(i,e?"ObjectPattern":"ObjectExpression")};y.parseProperty=function(e,t){var i=this.startNode(),s,r,n,o;if(this.options.ecmaVersion>=9&&this.eat(a.ellipsis))return e?(i.argument=this.parseIdent(!1),this.type===a.comma&&this.raiseRecoverable(this.start,"Comma is not permitted after the rest element"),this.finishNode(i,"RestElement")):(i.argument=this.parseMaybeAssign(!1,t),this.type===a.comma&&t&&t.trailingComma<0&&(t.trailingComma=this.start),this.finishNode(i,"SpreadElement"));this.options.ecmaVersion>=6&&(i.method=!1,i.shorthand=!1,(e||t)&&(n=this.start,o=this.startLoc),e||(s=this.eat(a.star)));var u=this.containsEsc;return this.parsePropertyName(i),!e&&!u&&this.options.ecmaVersion>=8&&!s&&this.isAsyncProp(i)?(r=!0,s=this.options.ecmaVersion>=9&&this.eat(a.star),this.parsePropertyName(i)):r=!1,this.parsePropertyValue(i,e,s,r,n,o,t,u),this.finishNode(i,"Property")};y.parseGetterSetter=function(e){e.kind=e.key.name,this.parsePropertyName(e),e.value=this.parseMethod(!1);var t=e.kind==="get"?0:1;if(e.value.params.length!==t){var i=e.value.start;e.kind==="get"?this.raiseRecoverable(i,"getter should have no params"):this.raiseRecoverable(i,"setter should have exactly one param")}else e.kind==="set"&&e.value.params[0].type==="RestElement"&&this.raiseRecoverable(e.value.params[0].start,"Setter cannot use rest params")};y.parsePropertyValue=function(e,t,i,s,r,n,o,u){(i||s)&&this.type===a.colon&&this.unexpected(),this.eat(a.colon)?(e.value=t?this.parseMaybeDefault(this.start,this.startLoc):this.parseMaybeAssign(!1,o),e.kind="init"):this.options.ecmaVersion>=6&&this.type===a.parenL?(t&&this.unexpected(),e.kind="init",e.method=!0,e.value=this.parseMethod(i,s)):!t&&!u&&this.options.ecmaVersion>=5&&!e.computed&&e.key.type==="Identifier"&&(e.key.name==="get"||e.key.name==="set")&&this.type!==a.comma&&this.type!==a.braceR&&this.type!==a.eq?((i||s)&&this.unexpected(),this.parseGetterSetter(e)):this.options.ecmaVersion>=6&&!e.computed&&e.key.type==="Identifier"?((i||s)&&this.unexpected(),this.checkUnreserved(e.key),e.key.name==="await"&&!this.awaitIdentPos&&(this.awaitIdentPos=r),e.kind="init",t?e.value=this.parseMaybeDefault(r,n,this.copyNode(e.key)):this.type===a.eq&&o?(o.shorthandAssign<0&&(o.shorthandAssign=this.start),e.value=this.parseMaybeDefault(r,n,this.copyNode(e.key))):e.value=this.copyNode(e.key),e.shorthand=!0):this.unexpected()};y.parsePropertyName=function(e){if(this.options.ecmaVersion>=6){if(this.eat(a.bracketL))return e.computed=!0,e.key=this.parseMaybeAssign(),this.expect(a.bracketR),e.key;e.computed=!1}return e.key=this.type===a.num||this.type===a.string?this.parseExprAtom():this.parseIdent(this.options.allowReserved!=="never")};y.initFunction=function(e){e.id=null,this.options.ecmaVersion>=6&&(e.generator=e.expression=!1),this.options.ecmaVersion>=8&&(e.async=!1)};y.parseMethod=function(e,t,i){var s=this.startNode(),r=this.yieldPos,n=this.awaitPos,o=this.awaitIdentPos;return this.initFunction(s),this.options.ecmaVersion>=6&&(s.generator=e),this.options.ecmaVersion>=8&&(s.async=!!t),this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0,this.enterScope(Me(t,s.generator)|De|(i?mt:0)),this.expect(a.parenL),s.params=this.parseBindingList(a.parenR,!1,this.options.ecmaVersion>=8),this.checkYieldAwaitInDefaultParams(),this.parseFunctionBody(s,!1,!0,!1),this.yieldPos=r,this.awaitPos=n,this.awaitIdentPos=o,this.finishNode(s,"FunctionExpression")};y.parseArrowExpression=function(e,t,i,s){var r=this.yieldPos,n=this.awaitPos,o=this.awaitIdentPos;return this.enterScope(Me(i,!1)|ft),this.initFunction(e),this.options.ecmaVersion>=8&&(e.async=!!i),this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0,e.params=this.toAssignableList(t,!0),this.parseFunctionBody(e,!0,!1,s),this.yieldPos=r,this.awaitPos=n,this.awaitIdentPos=o,this.finishNode(e,"ArrowFunctionExpression")};y.parseFunctionBody=function(e,t,i,s){var r=t&&this.type!==a.braceL,n=this.strict,o=!1;if(r)e.body=this.parseMaybeAssign(s),e.expression=!0,this.checkParams(e,!1);else{var u=this.options.ecmaVersion>=7&&!this.isSimpleParamList(e.params);(!n||u)&&(o=this.strictDirective(this.end),o&&u&&this.raiseRecoverable(e.start,"Illegal 'use strict' directive in function with non-simple parameter list"));var p=this.labels;this.labels=[],o&&(this.strict=!0),this.checkParams(e,!n&&!o&&!t&&!i&&this.isSimpleParamList(e.params)),this.strict&&e.id&&this.checkLValSimple(e.id,gt),e.body=this.parseBlock(!1,void 0,o&&!n),e.expression=!1,this.adaptDirectivePrologue(e.body.body),this.labels=p}this.exitScope()};y.isSimpleParamList=function(e){for(var t=0,i=e;t-1||r.functions.indexOf(e)>-1||r.var.indexOf(e)>-1,r.lexical.push(e),this.inModule&&r.flags&ie&&delete this.undefinedExports[e]}else if(t===yt){var n=this.currentScope();n.lexical.push(e)}else if(t===xt){var o=this.currentScope();this.treatFunctionsAsVar?s=o.lexical.indexOf(e)>-1:s=o.lexical.indexOf(e)>-1||o.var.indexOf(e)>-1,o.functions.push(e)}else for(var u=this.scopeStack.length-1;u>=0;--u){var p=this.scopeStack[u];if(p.lexical.indexOf(e)>-1&&!(p.flags&dt&&p.lexical[0]===e)||!this.treatFunctionsAsVarInScope(p)&&p.functions.indexOf(e)>-1){s=!0;break}if(p.var.push(e),this.inModule&&p.flags&ie&&delete this.undefinedExports[e],p.flags&Fe)break}s&&this.raiseRecoverable(i,"Identifier '"+e+"' has already been declared")};X.checkLocalExport=function(e){this.scopeStack[0].lexical.indexOf(e.name)===-1&&this.scopeStack[0].var.indexOf(e.name)===-1&&(this.undefinedExports[e.name]=e)};X.currentScope=function(){return this.scopeStack[this.scopeStack.length-1]};X.currentVarScope=function(){for(var e=this.scopeStack.length-1;;e--){var t=this.scopeStack[e];if(t.flags&Fe)return t}};X.currentThisScope=function(){for(var e=this.scopeStack.length-1;;e--){var t=this.scopeStack[e];if(t.flags&Fe&&!(t.flags&ft))return t}};var ge=function(t,i,s){this.type="",this.start=i,this.end=0,t.options.locations&&(this.loc=new xe(t,s)),t.options.directSourceFile&&(this.sourceFile=t.options.directSourceFile),t.options.ranges&&(this.range=[i,0])},ae=T.prototype;ae.startNode=function(){return new ge(this,this.start,this.startLoc)};ae.startNodeAt=function(e,t){return new ge(this,e,t)};function St(e,t,i,s){return e.type=t,e.end=i,this.options.locations&&(e.loc.end=s),this.options.ranges&&(e.range[1]=i),e}ae.finishNode=function(e,t){return St.call(this,e,t,this.lastTokEnd,this.lastTokEndLoc)};ae.finishNodeAt=function(e,t,i,s){return St.call(this,e,t,i,s)};ae.copyNode=function(e){var t=new ge(this,e.start,this.startLoc);for(var i in e)t[i]=e[i];return t};var Ct="ASCII ASCII_Hex_Digit AHex Alphabetic Alpha Any Assigned Bidi_Control Bidi_C Bidi_Mirrored Bidi_M Case_Ignorable CI Cased Changes_When_Casefolded CWCF Changes_When_Casemapped CWCM Changes_When_Lowercased CWL Changes_When_NFKC_Casefolded CWKCF Changes_When_Titlecased CWT Changes_When_Uppercased CWU Dash Default_Ignorable_Code_Point DI Deprecated Dep Diacritic Dia Emoji Emoji_Component Emoji_Modifier Emoji_Modifier_Base Emoji_Presentation Extender Ext Grapheme_Base Gr_Base Grapheme_Extend Gr_Ext Hex_Digit Hex IDS_Binary_Operator IDSB IDS_Trinary_Operator IDST ID_Continue IDC ID_Start IDS Ideographic Ideo Join_Control Join_C Logical_Order_Exception LOE Lowercase Lower Math Noncharacter_Code_Point NChar Pattern_Syntax Pat_Syn Pattern_White_Space Pat_WS Quotation_Mark QMark Radical Regional_Indicator RI Sentence_Terminal STerm Soft_Dotted SD Terminal_Punctuation Term Unified_Ideograph UIdeo Uppercase Upper Variation_Selector VS White_Space space XID_Continue XIDC XID_Start XIDS",_t=Ct+" Extended_Pictographic",Tt=_t,kt=Tt+" EBase EComp EMod EPres ExtPict",Et=kt,Mi=Et,ji={9:Ct,10:_t,11:Tt,12:kt,13:Et,14:Mi},Ui="Basic_Emoji Emoji_Keycap_Sequence RGI_Emoji_Modifier_Sequence RGI_Emoji_Flag_Sequence RGI_Emoji_Tag_Sequence RGI_Emoji_ZWJ_Sequence RGI_Emoji",qi={9:"",10:"",11:"",12:"",13:"",14:Ui},rt="Cased_Letter LC Close_Punctuation Pe Connector_Punctuation Pc Control Cc cntrl Currency_Symbol Sc Dash_Punctuation Pd Decimal_Number Nd digit Enclosing_Mark Me Final_Punctuation Pf Format Cf Initial_Punctuation Pi Letter L Letter_Number Nl Line_Separator Zl Lowercase_Letter Ll Mark M Combining_Mark Math_Symbol Sm Modifier_Letter Lm Modifier_Symbol Sk Nonspacing_Mark Mn Number N Open_Punctuation Ps Other C Other_Letter Lo Other_Number No Other_Punctuation Po Other_Symbol So Paragraph_Separator Zp Private_Use Co Punctuation P punct Separator Z Space_Separator Zs Spacing_Mark Mc Surrogate Cs Symbol S Titlecase_Letter Lt Unassigned Cn Uppercase_Letter Lu",wt="Adlam Adlm Ahom Anatolian_Hieroglyphs Hluw Arabic Arab Armenian Armn Avestan Avst Balinese Bali Bamum Bamu Bassa_Vah Bass Batak Batk Bengali Beng Bhaiksuki Bhks Bopomofo Bopo Brahmi Brah Braille Brai Buginese Bugi Buhid Buhd Canadian_Aboriginal Cans Carian Cari Caucasian_Albanian Aghb Chakma Cakm Cham Cham Cherokee Cher Common Zyyy Coptic Copt Qaac Cuneiform Xsux Cypriot Cprt Cyrillic Cyrl Deseret Dsrt Devanagari Deva Duployan Dupl Egyptian_Hieroglyphs Egyp Elbasan Elba Ethiopic Ethi Georgian Geor Glagolitic Glag Gothic Goth Grantha Gran Greek Grek Gujarati Gujr Gurmukhi Guru Han Hani Hangul Hang Hanunoo Hano Hatran Hatr Hebrew Hebr Hiragana Hira Imperial_Aramaic Armi Inherited Zinh Qaai Inscriptional_Pahlavi Phli Inscriptional_Parthian Prti Javanese Java Kaithi Kthi Kannada Knda Katakana Kana Kayah_Li Kali Kharoshthi Khar Khmer Khmr Khojki Khoj Khudawadi Sind Lao Laoo Latin Latn Lepcha Lepc Limbu Limb Linear_A Lina Linear_B Linb Lisu Lisu Lycian Lyci Lydian Lydi Mahajani Mahj Malayalam Mlym Mandaic Mand Manichaean Mani Marchen Marc Masaram_Gondi Gonm Meetei_Mayek Mtei Mende_Kikakui Mend Meroitic_Cursive Merc Meroitic_Hieroglyphs Mero Miao Plrd Modi Mongolian Mong Mro Mroo Multani Mult Myanmar Mymr Nabataean Nbat New_Tai_Lue Talu Newa Newa Nko Nkoo Nushu Nshu Ogham Ogam Ol_Chiki Olck Old_Hungarian Hung Old_Italic Ital Old_North_Arabian Narb Old_Permic Perm Old_Persian Xpeo Old_South_Arabian Sarb Old_Turkic Orkh Oriya Orya Osage Osge Osmanya Osma Pahawh_Hmong Hmng Palmyrene Palm Pau_Cin_Hau Pauc Phags_Pa Phag Phoenician Phnx Psalter_Pahlavi Phlp Rejang Rjng Runic Runr Samaritan Samr Saurashtra Saur Sharada Shrd Shavian Shaw Siddham Sidd SignWriting Sgnw Sinhala Sinh Sora_Sompeng Sora Soyombo Soyo Sundanese Sund Syloti_Nagri Sylo Syriac Syrc Tagalog Tglg Tagbanwa Tagb Tai_Le Tale Tai_Tham Lana Tai_Viet Tavt Takri Takr Tamil Taml Tangut Tang Telugu Telu Thaana Thaa Thai Thai Tibetan Tibt Tifinagh Tfng Tirhuta Tirh Ugaritic Ugar Vai Vaii Warang_Citi Wara Yi Yiii Zanabazar_Square Zanb",At=wt+" Dogra Dogr Gunjala_Gondi Gong Hanifi_Rohingya Rohg Makasar Maka Medefaidrin Medf Old_Sogdian Sogo Sogdian Sogd",Pt=At+" Elymaic Elym Nandinagari Nand Nyiakeng_Puachue_Hmong Hmnp Wancho Wcho",It=Pt+" Chorasmian Chrs Diak Dives_Akuru Khitan_Small_Script Kits Yezi Yezidi",Nt=It+" Cypro_Minoan Cpmn Old_Uyghur Ougr Tangsa Tnsa Toto Vithkuqi Vith",Ji=Nt+" Hrkt Katakana_Or_Hiragana Kawi Nag_Mundari Nagm Unknown Zzzz",Gi={9:wt,10:At,11:Pt,12:It,13:Nt,14:Ji},Vt={};function Ki(e){var t=Vt[e]={binary:G(ji[e]+" "+rt),binaryOfStrings:G(qi[e]),nonBinary:{General_Category:G(rt),Script:G(Gi[e])}};t.nonBinary.Script_Extensions=t.nonBinary.Script,t.nonBinary.gc=t.nonBinary.General_Category,t.nonBinary.sc=t.nonBinary.Script,t.nonBinary.scx=t.nonBinary.Script_Extensions}for(ce=0,Ie=[9,10,11,12,13,14];ce=6?"uy":"")+(t.options.ecmaVersion>=9?"s":"")+(t.options.ecmaVersion>=13?"d":"")+(t.options.ecmaVersion>=15?"v":""),this.unicodeProperties=Vt[t.options.ecmaVersion>=14?14:t.options.ecmaVersion],this.source="",this.flags="",this.start=0,this.switchU=!1,this.switchV=!1,this.switchN=!1,this.pos=0,this.lastIntValue=0,this.lastStringValue="",this.lastAssertionIsQuantifiable=!1,this.numCapturingParens=0,this.maxBackReference=0,this.groupNames=Object.create(null),this.backReferenceNames=[],this.branchID=null};M.prototype.reset=function(t,i,s){var r=s.indexOf("v")!==-1,n=s.indexOf("u")!==-1;this.start=t|0,this.source=i+"",this.flags=s,r&&this.parser.options.ecmaVersion>=15?(this.switchU=!0,this.switchV=!0,this.switchN=!0):(this.switchU=n&&this.parser.options.ecmaVersion>=6,this.switchV=!1,this.switchN=n&&this.parser.options.ecmaVersion>=9)};M.prototype.raise=function(t){this.parser.raiseRecoverable(this.start,"Invalid regular expression: /"+this.source+"/: "+t)};M.prototype.at=function(t,i){i===void 0&&(i=!1);var s=this.source,r=s.length;if(t>=r)return-1;var n=s.charCodeAt(t);if(!(i||this.switchU)||n<=55295||n>=57344||t+1>=r)return n;var o=s.charCodeAt(t+1);return o>=56320&&o<=57343?(n<<10)+o-56613888:n};M.prototype.nextIndex=function(t,i){i===void 0&&(i=!1);var s=this.source,r=s.length;if(t>=r)return r;var n=s.charCodeAt(t),o;return!(i||this.switchU)||n<=55295||n>=57344||t+1>=r||(o=s.charCodeAt(t+1))<56320||o>57343?t+1:t+2};M.prototype.current=function(t){return t===void 0&&(t=!1),this.at(this.pos,t)};M.prototype.lookahead=function(t){return t===void 0&&(t=!1),this.at(this.nextIndex(this.pos,t),t)};M.prototype.advance=function(t){t===void 0&&(t=!1),this.pos=this.nextIndex(this.pos,t)};M.prototype.eat=function(t,i){return i===void 0&&(i=!1),this.current(i)===t?(this.advance(i),!0):!1};M.prototype.eatChars=function(t,i){i===void 0&&(i=!1);for(var s=this.pos,r=0,n=t;r-1&&this.raise(e.start,"Duplicate regular expression flag"),o==="u"&&(s=!0),o==="v"&&(r=!0)}this.options.ecmaVersion>=15&&s&&r&&this.raise(e.start,"Invalid regular expression flag")};function Xi(e){for(var t in e)return!0;return!1}c.validateRegExpPattern=function(e){this.regexp_pattern(e),!e.switchN&&this.options.ecmaVersion>=9&&Xi(e.groupNames)&&(e.switchN=!0,this.regexp_pattern(e))};c.regexp_pattern=function(e){e.pos=0,e.lastIntValue=0,e.lastStringValue="",e.lastAssertionIsQuantifiable=!1,e.numCapturingParens=0,e.maxBackReference=0,e.groupNames=Object.create(null),e.backReferenceNames.length=0,e.branchID=null,this.regexp_disjunction(e),e.pos!==e.source.length&&(e.eat(41)&&e.raise("Unmatched ')'"),(e.eat(93)||e.eat(125))&&e.raise("Lone quantifier brackets")),e.maxBackReference>e.numCapturingParens&&e.raise("Invalid escape");for(var t=0,i=e.backReferenceNames;t=16;for(t&&(e.branchID=new me(e.branchID,null)),this.regexp_alternative(e);e.eat(124);)t&&(e.branchID=e.branchID.sibling()),this.regexp_alternative(e);t&&(e.branchID=e.branchID.parent),this.regexp_eatQuantifier(e,!0)&&e.raise("Nothing to repeat"),e.eat(123)&&e.raise("Lone quantifier brackets")};c.regexp_alternative=function(e){for(;e.pos=9&&(i=e.eat(60)),e.eat(61)||e.eat(33))return this.regexp_disjunction(e),e.eat(41)||e.raise("Unterminated group"),e.lastAssertionIsQuantifiable=!i,!0}return e.pos=t,!1};c.regexp_eatQuantifier=function(e,t){return t===void 0&&(t=!1),this.regexp_eatQuantifierPrefix(e,t)?(e.eat(63),!0):!1};c.regexp_eatQuantifierPrefix=function(e,t){return e.eat(42)||e.eat(43)||e.eat(63)||this.regexp_eatBracedQuantifier(e,t)};c.regexp_eatBracedQuantifier=function(e,t){var i=e.pos;if(e.eat(123)){var s=0,r=-1;if(this.regexp_eatDecimalDigits(e)&&(s=e.lastIntValue,e.eat(44)&&this.regexp_eatDecimalDigits(e)&&(r=e.lastIntValue),e.eat(125)))return r!==-1&&r=9?this.regexp_groupSpecifier(e):e.current()===63&&e.raise("Invalid group"),this.regexp_disjunction(e),e.eat(41))return e.numCapturingParens+=1,!0;e.raise("Unterminated group")}return!1};c.regexp_eatExtendedAtom=function(e){return e.eat(46)||this.regexp_eatReverseSolidusAtomEscape(e)||this.regexp_eatCharacterClass(e)||this.regexp_eatUncapturingGroup(e)||this.regexp_eatCapturingGroup(e)||this.regexp_eatInvalidBracedQuantifier(e)||this.regexp_eatExtendedPatternCharacter(e)};c.regexp_eatInvalidBracedQuantifier=function(e){return this.regexp_eatBracedQuantifier(e,!0)&&e.raise("Nothing to repeat"),!1};c.regexp_eatSyntaxCharacter=function(e){var t=e.current();return Lt(t)?(e.lastIntValue=t,e.advance(),!0):!1};function Lt(e){return e===36||e>=40&&e<=43||e===46||e===63||e>=91&&e<=94||e>=123&&e<=125}c.regexp_eatPatternCharacters=function(e){for(var t=e.pos,i=0;(i=e.current())!==-1&&!Lt(i);)e.advance();return e.pos!==t};c.regexp_eatExtendedPatternCharacter=function(e){var t=e.current();return t!==-1&&t!==36&&!(t>=40&&t<=43)&&t!==46&&t!==63&&t!==91&&t!==94&&t!==124?(e.advance(),!0):!1};c.regexp_groupSpecifier=function(e){if(e.eat(63)){this.regexp_eatGroupName(e)||e.raise("Invalid group");var t=this.options.ecmaVersion>=16,i=e.groupNames[e.lastStringValue];if(i)if(t)for(var s=0,r=i;s=11,s=e.current(i);return e.advance(i),s===92&&this.regexp_eatRegExpUnicodeEscapeSequence(e,i)&&(s=e.lastIntValue),Wi(s)?(e.lastIntValue=s,!0):(e.pos=t,!1)};function Wi(e){return U(e,!0)||e===36||e===95}c.regexp_eatRegExpIdentifierPart=function(e){var t=e.pos,i=this.options.ecmaVersion>=11,s=e.current(i);return e.advance(i),s===92&&this.regexp_eatRegExpUnicodeEscapeSequence(e,i)&&(s=e.lastIntValue),Hi(s)?(e.lastIntValue=s,!0):(e.pos=t,!1)};function Hi(e){return z(e,!0)||e===36||e===95||e===8204||e===8205}c.regexp_eatAtomEscape=function(e){return this.regexp_eatBackReference(e)||this.regexp_eatCharacterClassEscape(e)||this.regexp_eatCharacterEscape(e)||e.switchN&&this.regexp_eatKGroupName(e)?!0:(e.switchU&&(e.current()===99&&e.raise("Invalid unicode escape"),e.raise("Invalid escape")),!1)};c.regexp_eatBackReference=function(e){var t=e.pos;if(this.regexp_eatDecimalEscape(e)){var i=e.lastIntValue;if(e.switchU)return i>e.maxBackReference&&(e.maxBackReference=i),!0;if(i<=e.numCapturingParens)return!0;e.pos=t}return!1};c.regexp_eatKGroupName=function(e){if(e.eat(107)){if(this.regexp_eatGroupName(e))return e.backReferenceNames.push(e.lastStringValue),!0;e.raise("Invalid named reference")}return!1};c.regexp_eatCharacterEscape=function(e){return this.regexp_eatControlEscape(e)||this.regexp_eatCControlLetter(e)||this.regexp_eatZero(e)||this.regexp_eatHexEscapeSequence(e)||this.regexp_eatRegExpUnicodeEscapeSequence(e,!1)||!e.switchU&&this.regexp_eatLegacyOctalEscapeSequence(e)||this.regexp_eatIdentityEscape(e)};c.regexp_eatCControlLetter=function(e){var t=e.pos;if(e.eat(99)){if(this.regexp_eatControlLetter(e))return!0;e.pos=t}return!1};c.regexp_eatZero=function(e){return e.current()===48&&!ve(e.lookahead())?(e.lastIntValue=0,e.advance(),!0):!1};c.regexp_eatControlEscape=function(e){var t=e.current();return t===116?(e.lastIntValue=9,e.advance(),!0):t===110?(e.lastIntValue=10,e.advance(),!0):t===118?(e.lastIntValue=11,e.advance(),!0):t===102?(e.lastIntValue=12,e.advance(),!0):t===114?(e.lastIntValue=13,e.advance(),!0):!1};c.regexp_eatControlLetter=function(e){var t=e.current();return Rt(t)?(e.lastIntValue=t%32,e.advance(),!0):!1};function Rt(e){return e>=65&&e<=90||e>=97&&e<=122}c.regexp_eatRegExpUnicodeEscapeSequence=function(e,t){t===void 0&&(t=!1);var i=e.pos,s=t||e.switchU;if(e.eat(117)){if(this.regexp_eatFixedHexDigits(e,4)){var r=e.lastIntValue;if(s&&r>=55296&&r<=56319){var n=e.pos;if(e.eat(92)&&e.eat(117)&&this.regexp_eatFixedHexDigits(e,4)){var o=e.lastIntValue;if(o>=56320&&o<=57343)return e.lastIntValue=(r-55296)*1024+(o-56320)+65536,!0}e.pos=n,e.lastIntValue=r}return!0}if(s&&e.eat(123)&&this.regexp_eatHexDigits(e)&&e.eat(125)&&zi(e.lastIntValue))return!0;s&&e.raise("Invalid unicode escape"),e.pos=i}return!1};function zi(e){return e>=0&&e<=1114111}c.regexp_eatIdentityEscape=function(e){if(e.switchU)return this.regexp_eatSyntaxCharacter(e)?!0:e.eat(47)?(e.lastIntValue=47,!0):!1;var t=e.current();return t!==99&&(!e.switchN||t!==107)?(e.lastIntValue=t,e.advance(),!0):!1};c.regexp_eatDecimalEscape=function(e){e.lastIntValue=0;var t=e.current();if(t>=49&&t<=57){do e.lastIntValue=10*e.lastIntValue+(t-48),e.advance();while((t=e.current())>=48&&t<=57);return!0}return!1};var Ot=0,q=1,L=2;c.regexp_eatCharacterClassEscape=function(e){var t=e.current();if(Qi(t))return e.lastIntValue=-1,e.advance(),q;var i=!1;if(e.switchU&&this.options.ecmaVersion>=9&&((i=t===80)||t===112)){e.lastIntValue=-1,e.advance();var s;if(e.eat(123)&&(s=this.regexp_eatUnicodePropertyValueExpression(e))&&e.eat(125))return i&&s===L&&e.raise("Invalid property name"),s;e.raise("Invalid property name")}return Ot};function Qi(e){return e===100||e===68||e===115||e===83||e===119||e===87}c.regexp_eatUnicodePropertyValueExpression=function(e){var t=e.pos;if(this.regexp_eatUnicodePropertyName(e)&&e.eat(61)){var i=e.lastStringValue;if(this.regexp_eatUnicodePropertyValue(e)){var s=e.lastStringValue;return this.regexp_validateUnicodePropertyNameAndValue(e,i,s),q}}if(e.pos=t,this.regexp_eatLoneUnicodePropertyNameOrValue(e)){var r=e.lastStringValue;return this.regexp_validateUnicodePropertyNameOrValue(e,r)}return Ot};c.regexp_validateUnicodePropertyNameAndValue=function(e,t,i){se(e.unicodeProperties.nonBinary,t)||e.raise("Invalid property name"),e.unicodeProperties.nonBinary[t].test(i)||e.raise("Invalid property value")};c.regexp_validateUnicodePropertyNameOrValue=function(e,t){if(e.unicodeProperties.binary.test(t))return q;if(e.switchV&&e.unicodeProperties.binaryOfStrings.test(t))return L;e.raise("Invalid property name")};c.regexp_eatUnicodePropertyName=function(e){var t=0;for(e.lastStringValue="";Bt(t=e.current());)e.lastStringValue+=K(t),e.advance();return e.lastStringValue!==""};function Bt(e){return Rt(e)||e===95}c.regexp_eatUnicodePropertyValue=function(e){var t=0;for(e.lastStringValue="";Yi(t=e.current());)e.lastStringValue+=K(t),e.advance();return e.lastStringValue!==""};function Yi(e){return Bt(e)||ve(e)}c.regexp_eatLoneUnicodePropertyNameOrValue=function(e){return this.regexp_eatUnicodePropertyValue(e)};c.regexp_eatCharacterClass=function(e){if(e.eat(91)){var t=e.eat(94),i=this.regexp_classContents(e);return e.eat(93)||e.raise("Unterminated character class"),t&&i===L&&e.raise("Negated character class may contain strings"),!0}return!1};c.regexp_classContents=function(e){return e.current()===93?q:e.switchV?this.regexp_classSetExpression(e):(this.regexp_nonEmptyClassRanges(e),q)};c.regexp_nonEmptyClassRanges=function(e){for(;this.regexp_eatClassAtom(e);){var t=e.lastIntValue;if(e.eat(45)&&this.regexp_eatClassAtom(e)){var i=e.lastIntValue;e.switchU&&(t===-1||i===-1)&&e.raise("Invalid character class"),t!==-1&&i!==-1&&t>i&&e.raise("Range out of order in character class")}}};c.regexp_eatClassAtom=function(e){var t=e.pos;if(e.eat(92)){if(this.regexp_eatClassEscape(e))return!0;if(e.switchU){var i=e.current();(i===99||Mt(i))&&e.raise("Invalid class escape"),e.raise("Invalid escape")}e.pos=t}var s=e.current();return s!==93?(e.lastIntValue=s,e.advance(),!0):!1};c.regexp_eatClassEscape=function(e){var t=e.pos;if(e.eat(98))return e.lastIntValue=8,!0;if(e.switchU&&e.eat(45))return e.lastIntValue=45,!0;if(!e.switchU&&e.eat(99)){if(this.regexp_eatClassControlLetter(e))return!0;e.pos=t}return this.regexp_eatCharacterClassEscape(e)||this.regexp_eatCharacterEscape(e)};c.regexp_classSetExpression=function(e){var t=q,i;if(!this.regexp_eatClassSetRange(e))if(i=this.regexp_eatClassSetOperand(e)){i===L&&(t=L);for(var s=e.pos;e.eatChars([38,38]);){if(e.current()!==38&&(i=this.regexp_eatClassSetOperand(e))){i!==L&&(t=q);continue}e.raise("Invalid character in character class")}if(s!==e.pos)return t;for(;e.eatChars([45,45]);)this.regexp_eatClassSetOperand(e)||e.raise("Invalid character in character class");if(s!==e.pos)return t}else e.raise("Invalid character in character class");for(;;)if(!this.regexp_eatClassSetRange(e)){if(i=this.regexp_eatClassSetOperand(e),!i)return t;i===L&&(t=L)}};c.regexp_eatClassSetRange=function(e){var t=e.pos;if(this.regexp_eatClassSetCharacter(e)){var i=e.lastIntValue;if(e.eat(45)&&this.regexp_eatClassSetCharacter(e)){var s=e.lastIntValue;return i!==-1&&s!==-1&&i>s&&e.raise("Range out of order in character class"),!0}e.pos=t}return!1};c.regexp_eatClassSetOperand=function(e){return this.regexp_eatClassSetCharacter(e)?q:this.regexp_eatClassStringDisjunction(e)||this.regexp_eatNestedClass(e)};c.regexp_eatNestedClass=function(e){var t=e.pos;if(e.eat(91)){var i=e.eat(94),s=this.regexp_classContents(e);if(e.eat(93))return i&&s===L&&e.raise("Negated character class may contain strings"),s;e.pos=t}if(e.eat(92)){var r=this.regexp_eatCharacterClassEscape(e);if(r)return r;e.pos=t}return null};c.regexp_eatClassStringDisjunction=function(e){var t=e.pos;if(e.eatChars([92,113])){if(e.eat(123)){var i=this.regexp_classStringDisjunctionContents(e);if(e.eat(125))return i}else e.raise("Invalid escape");e.pos=t}return null};c.regexp_classStringDisjunctionContents=function(e){for(var t=this.regexp_classString(e);e.eat(124);)this.regexp_classString(e)===L&&(t=L);return t};c.regexp_classString=function(e){for(var t=0;this.regexp_eatClassSetCharacter(e);)t++;return t===1?q:L};c.regexp_eatClassSetCharacter=function(e){var t=e.pos;if(e.eat(92))return this.regexp_eatCharacterEscape(e)||this.regexp_eatClassSetReservedPunctuator(e)?!0:e.eat(98)?(e.lastIntValue=8,!0):(e.pos=t,!1);var i=e.current();return i<0||i===e.lookahead()&&$i(i)||Zi(i)?!1:(e.advance(),e.lastIntValue=i,!0)};function $i(e){return e===33||e>=35&&e<=38||e>=42&&e<=44||e===46||e>=58&&e<=64||e===94||e===96||e===126}function Zi(e){return e===40||e===41||e===45||e===47||e>=91&&e<=93||e>=123&&e<=125}c.regexp_eatClassSetReservedPunctuator=function(e){var t=e.current();return es(t)?(e.lastIntValue=t,e.advance(),!0):!1};function es(e){return e===33||e===35||e===37||e===38||e===44||e===45||e>=58&&e<=62||e===64||e===96||e===126}c.regexp_eatClassControlLetter=function(e){var t=e.current();return ve(t)||t===95?(e.lastIntValue=t%32,e.advance(),!0):!1};c.regexp_eatHexEscapeSequence=function(e){var t=e.pos;if(e.eat(120)){if(this.regexp_eatFixedHexDigits(e,2))return!0;e.switchU&&e.raise("Invalid escape"),e.pos=t}return!1};c.regexp_eatDecimalDigits=function(e){var t=e.pos,i=0;for(e.lastIntValue=0;ve(i=e.current());)e.lastIntValue=10*e.lastIntValue+(i-48),e.advance();return e.pos!==t};function ve(e){return e>=48&&e<=57}c.regexp_eatHexDigits=function(e){var t=e.pos,i=0;for(e.lastIntValue=0;Dt(i=e.current());)e.lastIntValue=16*e.lastIntValue+Ft(i),e.advance();return e.pos!==t};function Dt(e){return e>=48&&e<=57||e>=65&&e<=70||e>=97&&e<=102}function Ft(e){return e>=65&&e<=70?10+(e-65):e>=97&&e<=102?10+(e-97):e-48}c.regexp_eatLegacyOctalEscapeSequence=function(e){if(this.regexp_eatOctalDigit(e)){var t=e.lastIntValue;if(this.regexp_eatOctalDigit(e)){var i=e.lastIntValue;t<=3&&this.regexp_eatOctalDigit(e)?e.lastIntValue=t*64+i*8+e.lastIntValue:e.lastIntValue=t*8+i}else e.lastIntValue=t;return!0}return!1};c.regexp_eatOctalDigit=function(e){var t=e.current();return Mt(t)?(e.lastIntValue=t-48,e.advance(),!0):(e.lastIntValue=0,!1)};function Mt(e){return e>=48&&e<=55}c.regexp_eatFixedHexDigits=function(e,t){var i=e.pos;e.lastIntValue=0;for(var s=0;s=this.input.length)return this.finishToken(a.eof);if(e.override)return e.override(this);this.readToken(this.fullCharCodeAtPos())};v.readToken=function(e){return U(e,this.options.ecmaVersion>=6)||e===92?this.readWord():this.getTokenFromCode(e)};v.fullCharCodeAtPos=function(){var e=this.input.charCodeAt(this.pos);if(e<=55295||e>=56320)return e;var t=this.input.charCodeAt(this.pos+1);return t<=56319||t>=57344?e:(e<<10)+t-56613888};v.skipBlockComment=function(){var e=this.options.onComment&&this.curPosition(),t=this.pos,i=this.input.indexOf("*/",this.pos+=2);if(i===-1&&this.raise(this.pos-2,"Unterminated comment"),this.pos=i+2,this.options.locations)for(var s=void 0,r=t;(s=ut(this.input,r,this.pos))>-1;)++this.curLine,r=this.lineStart=s;this.options.onComment&&this.options.onComment(!0,this.input.slice(t+2,i),t,this.pos,e,this.curPosition())};v.skipLineComment=function(e){for(var t=this.pos,i=this.options.onComment&&this.curPosition(),s=this.input.charCodeAt(this.pos+=e);this.pos8&&e<14||e>=5760&&pt.test(String.fromCharCode(e)))++this.pos;else break e}}};v.finishToken=function(e,t){this.end=this.pos,this.options.locations&&(this.endLoc=this.curPosition());var i=this.type;this.type=e,this.value=t,this.updateContext(i)};v.readToken_dot=function(){var e=this.input.charCodeAt(this.pos+1);if(e>=48&&e<=57)return this.readNumber(!0);var t=this.input.charCodeAt(this.pos+2);return this.options.ecmaVersion>=6&&e===46&&t===46?(this.pos+=3,this.finishToken(a.ellipsis)):(++this.pos,this.finishToken(a.dot))};v.readToken_slash=function(){var e=this.input.charCodeAt(this.pos+1);return this.exprAllowed?(++this.pos,this.readRegexp()):e===61?this.finishOp(a.assign,2):this.finishOp(a.slash,1)};v.readToken_mult_modulo_exp=function(e){var t=this.input.charCodeAt(this.pos+1),i=1,s=e===42?a.star:a.modulo;return this.options.ecmaVersion>=7&&e===42&&t===42&&(++i,s=a.starstar,t=this.input.charCodeAt(this.pos+2)),t===61?this.finishOp(a.assign,i+1):this.finishOp(s,i)};v.readToken_pipe_amp=function(e){var t=this.input.charCodeAt(this.pos+1);if(t===e){if(this.options.ecmaVersion>=12){var i=this.input.charCodeAt(this.pos+2);if(i===61)return this.finishOp(a.assign,3)}return this.finishOp(e===124?a.logicalOR:a.logicalAND,2)}return t===61?this.finishOp(a.assign,2):this.finishOp(e===124?a.bitwiseOR:a.bitwiseAND,1)};v.readToken_caret=function(){var e=this.input.charCodeAt(this.pos+1);return e===61?this.finishOp(a.assign,2):this.finishOp(a.bitwiseXOR,1)};v.readToken_plus_min=function(e){var t=this.input.charCodeAt(this.pos+1);return t===e?t===45&&!this.inModule&&this.input.charCodeAt(this.pos+2)===62&&(this.lastTokEnd===0||R.test(this.input.slice(this.lastTokEnd,this.pos)))?(this.skipLineComment(3),this.skipSpace(),this.nextToken()):this.finishOp(a.incDec,2):t===61?this.finishOp(a.assign,2):this.finishOp(a.plusMin,1)};v.readToken_lt_gt=function(e){var t=this.input.charCodeAt(this.pos+1),i=1;return t===e?(i=e===62&&this.input.charCodeAt(this.pos+2)===62?3:2,this.input.charCodeAt(this.pos+i)===61?this.finishOp(a.assign,i+1):this.finishOp(a.bitShift,i)):t===33&&e===60&&!this.inModule&&this.input.charCodeAt(this.pos+2)===45&&this.input.charCodeAt(this.pos+3)===45?(this.skipLineComment(4),this.skipSpace(),this.nextToken()):(t===61&&(i=2),this.finishOp(a.relational,i))};v.readToken_eq_excl=function(e){var t=this.input.charCodeAt(this.pos+1);return t===61?this.finishOp(a.equality,this.input.charCodeAt(this.pos+2)===61?3:2):e===61&&t===62&&this.options.ecmaVersion>=6?(this.pos+=2,this.finishToken(a.arrow)):this.finishOp(e===61?a.eq:a.prefix,1)};v.readToken_question=function(){var e=this.options.ecmaVersion;if(e>=11){var t=this.input.charCodeAt(this.pos+1);if(t===46){var i=this.input.charCodeAt(this.pos+2);if(i<48||i>57)return this.finishOp(a.questionDot,2)}if(t===63){if(e>=12){var s=this.input.charCodeAt(this.pos+2);if(s===61)return this.finishOp(a.assign,3)}return this.finishOp(a.coalesce,2)}}return this.finishOp(a.question,1)};v.readToken_numberSign=function(){var e=this.options.ecmaVersion,t=35;if(e>=13&&(++this.pos,t=this.fullCharCodeAtPos(),U(t,!0)||t===92))return this.finishToken(a.privateId,this.readWord1());this.raise(this.pos,"Unexpected character '"+K(t)+"'")};v.getTokenFromCode=function(e){switch(e){case 46:return this.readToken_dot();case 40:return++this.pos,this.finishToken(a.parenL);case 41:return++this.pos,this.finishToken(a.parenR);case 59:return++this.pos,this.finishToken(a.semi);case 44:return++this.pos,this.finishToken(a.comma);case 91:return++this.pos,this.finishToken(a.bracketL);case 93:return++this.pos,this.finishToken(a.bracketR);case 123:return++this.pos,this.finishToken(a.braceL);case 125:return++this.pos,this.finishToken(a.braceR);case 58:return++this.pos,this.finishToken(a.colon);case 96:if(this.options.ecmaVersion<6)break;return++this.pos,this.finishToken(a.backQuote);case 48:var t=this.input.charCodeAt(this.pos+1);if(t===120||t===88)return this.readRadixNumber(16);if(this.options.ecmaVersion>=6){if(t===111||t===79)return this.readRadixNumber(8);if(t===98||t===66)return this.readRadixNumber(2)}case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:return this.readNumber(!1);case 34:case 39:return this.readString(e);case 47:return this.readToken_slash();case 37:case 42:return this.readToken_mult_modulo_exp(e);case 124:case 38:return this.readToken_pipe_amp(e);case 94:return this.readToken_caret();case 43:case 45:return this.readToken_plus_min(e);case 60:case 62:return this.readToken_lt_gt(e);case 61:case 33:return this.readToken_eq_excl(e);case 63:return this.readToken_question();case 126:return this.finishOp(a.prefix,1);case 35:return this.readToken_numberSign()}this.raise(this.pos,"Unexpected character '"+K(e)+"'")};v.finishOp=function(e,t){var i=this.input.slice(this.pos,this.pos+t);return this.pos+=t,this.finishToken(e,i)};v.readRegexp=function(){for(var e,t,i=this.pos;;){this.pos>=this.input.length&&this.raise(i,"Unterminated regular expression");var s=this.input.charAt(this.pos);if(R.test(s)&&this.raise(i,"Unterminated regular expression"),e)e=!1;else{if(s==="[")t=!0;else if(s==="]"&&t)t=!1;else if(s==="/"&&!t)break;e=s==="\\"}++this.pos}var r=this.input.slice(i,this.pos);++this.pos;var n=this.pos,o=this.readWord1();this.containsEsc&&this.unexpected(n);var u=this.regexpState||(this.regexpState=new M(this));u.reset(i,r,o),this.validateRegExpFlags(u),this.validateRegExpPattern(u);var p=null;try{p=new RegExp(r,o)}catch{}return this.finishToken(a.regexp,{pattern:r,flags:o,value:p})};v.readInt=function(e,t,i){for(var s=this.options.ecmaVersion>=12&&t===void 0,r=i&&this.input.charCodeAt(this.pos)===48,n=this.pos,o=0,u=0,p=0,d=t??1/0;p=97?C=l-97+10:l>=65?C=l-65+10:l>=48&&l<=57?C=l-48:C=1/0,C>=e)break;u=l,o=o*e+C}return s&&u===95&&this.raiseRecoverable(this.pos-1,"Numeric separator is not allowed at the last of digits"),this.pos===n||t!=null&&this.pos-n!==t?null:o};function ts(e,t){return t?parseInt(e,8):parseFloat(e.replace(/_/g,""))}function jt(e){return typeof BigInt!="function"?null:BigInt(e.replace(/_/g,""))}v.readRadixNumber=function(e){var t=this.pos;this.pos+=2;var i=this.readInt(e);return i==null&&this.raise(this.start+2,"Expected number in radix "+e),this.options.ecmaVersion>=11&&this.input.charCodeAt(this.pos)===110?(i=jt(this.input.slice(t,this.pos)),++this.pos):U(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number"),this.finishToken(a.num,i)};v.readNumber=function(e){var t=this.pos;!e&&this.readInt(10,void 0,!0)===null&&this.raise(t,"Invalid number");var i=this.pos-t>=2&&this.input.charCodeAt(t)===48;i&&this.strict&&this.raise(t,"Invalid number");var s=this.input.charCodeAt(this.pos);if(!i&&!e&&this.options.ecmaVersion>=11&&s===110){var r=jt(this.input.slice(t,this.pos));return++this.pos,U(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number"),this.finishToken(a.num,r)}i&&/[89]/.test(this.input.slice(t,this.pos))&&(i=!1),s===46&&!i&&(++this.pos,this.readInt(10),s=this.input.charCodeAt(this.pos)),(s===69||s===101)&&!i&&(s=this.input.charCodeAt(++this.pos),(s===43||s===45)&&++this.pos,this.readInt(10)===null&&this.raise(t,"Invalid number")),U(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number");var n=ts(this.input.slice(t,this.pos),i);return this.finishToken(a.num,n)};v.readCodePoint=function(){var e=this.input.charCodeAt(this.pos),t;if(e===123){this.options.ecmaVersion<6&&this.unexpected();var i=++this.pos;t=this.readHexChar(this.input.indexOf("}",this.pos)-this.pos),++this.pos,t>1114111&&this.invalidStringToken(i,"Code point out of bounds")}else t=this.readHexChar(4);return t};v.readString=function(e){for(var t="",i=++this.pos;;){this.pos>=this.input.length&&this.raise(this.start,"Unterminated string constant");var s=this.input.charCodeAt(this.pos);if(s===e)break;s===92?(t+=this.input.slice(i,this.pos),t+=this.readEscapedChar(!1),i=this.pos):s===8232||s===8233?(this.options.ecmaVersion<10&&this.raise(this.start,"Unterminated string constant"),++this.pos,this.options.locations&&(this.curLine++,this.lineStart=this.pos)):(Q(s)&&this.raise(this.start,"Unterminated string constant"),++this.pos)}return t+=this.input.slice(i,this.pos++),this.finishToken(a.string,t)};var Ut={};v.tryReadTemplateToken=function(){this.inTemplateElement=!0;try{this.readTmplToken()}catch(e){if(e===Ut)this.readInvalidTemplateToken();else throw e}this.inTemplateElement=!1};v.invalidStringToken=function(e,t){if(this.inTemplateElement&&this.options.ecmaVersion>=9)throw Ut;this.raise(e,t)};v.readTmplToken=function(){for(var e="",t=this.pos;;){this.pos>=this.input.length&&this.raise(this.start,"Unterminated template");var i=this.input.charCodeAt(this.pos);if(i===96||i===36&&this.input.charCodeAt(this.pos+1)===123)return this.pos===this.start&&(this.type===a.template||this.type===a.invalidTemplate)?i===36?(this.pos+=2,this.finishToken(a.dollarBraceL)):(++this.pos,this.finishToken(a.backQuote)):(e+=this.input.slice(t,this.pos),this.finishToken(a.template,e));if(i===92)e+=this.input.slice(t,this.pos),e+=this.readEscapedChar(!0),t=this.pos;else if(Q(i)){switch(e+=this.input.slice(t,this.pos),++this.pos,i){case 13:this.input.charCodeAt(this.pos)===10&&++this.pos;case 10:e+=` +`;break;default:e+=String.fromCharCode(i);break}this.options.locations&&(++this.curLine,this.lineStart=this.pos),t=this.pos}else++this.pos}};v.readInvalidTemplateToken=function(){for(;this.pos=48&&t<=55){var s=this.input.substr(this.pos-1,3).match(/^[0-7]+/)[0],r=parseInt(s,8);return r>255&&(s=s.slice(0,-1),r=parseInt(s,8)),this.pos+=s.length-1,t=this.input.charCodeAt(this.pos),(s!=="0"||t===56||t===57)&&(this.strict||e)&&this.invalidStringToken(this.pos-1-s.length,e?"Octal literal in template string":"Octal literal in strict mode"),String.fromCharCode(r)}return Q(t)?(this.options.locations&&(this.lineStart=this.pos,++this.curLine),""):String.fromCharCode(t)}};v.readHexChar=function(e){var t=this.pos,i=this.readInt(16,e);return i===null&&this.invalidStringToken(t,"Bad character escape sequence"),i};v.readWord1=function(){this.containsEsc=!1;for(var e="",t=!0,i=this.pos,s=this.options.ecmaVersion>=6;this.pos{if(!(e&&t==null))return Array.isArray(t)||typeof t=="string"?t[i<0?t.length+i:i]:t.at(i)},W=hs;function cs(e){return Array.isArray(e)&&e.length>0}var Xt=cs;function P(e){var s,r,n;let t=((s=e.range)==null?void 0:s[0])??e.start,i=(n=((r=e.declaration)==null?void 0:r.decorators)??e.decorators)==null?void 0:n[0];return i?Math.min(P(i),t):t}function j(e){var t;return((t=e.range)==null?void 0:t[1])??e.end}function ls(e){let t=new Set(e);return i=>t.has(i==null?void 0:i.type)}var Wt=ls;var fs=Wt(["Block","CommentBlock","MultiLine"]),oe=fs;function ds(e){let t=`*${e.value}*`.split(` +`);return t.length>1&&t.every(i=>i.trimStart()[0]==="*")}var Ke=ds;function ms(e){return oe(e)&&e.value[0]==="*"&&/@(?:type|satisfies)\b/u.test(e.value)}var Ht=ms;var ue=null;function pe(e){if(ue!==null&&typeof ue.property){let t=ue;return ue=pe.prototype=null,t}return ue=pe.prototype=e??Object.create(null),new pe}var xs=10;for(let e=0;e<=xs;e++)pe();function Xe(e){return pe(e)}function ys(e,t="type"){Xe(e);function i(s){let r=s[t],n=e[r];if(!Array.isArray(n))throw Object.assign(new Error(`Missing visitor keys for '${r}'.`),{node:s});return n}return i}var zt=ys;var Qt={ArrayExpression:["elements"],AssignmentExpression:["left","right"],BinaryExpression:["left","right"],InterpreterDirective:[],Directive:["value"],DirectiveLiteral:[],BlockStatement:["directives","body"],BreakStatement:["label"],CallExpression:["callee","arguments","typeParameters","typeArguments"],CatchClause:["param","body"],ConditionalExpression:["test","consequent","alternate"],ContinueStatement:["label"],DebuggerStatement:[],DoWhileStatement:["test","body"],EmptyStatement:[],ExpressionStatement:["expression"],File:["program"],ForInStatement:["left","right","body"],ForStatement:["init","test","update","body"],FunctionDeclaration:["id","params","body","returnType","typeParameters","predicate"],FunctionExpression:["id","params","body","returnType","typeParameters"],Identifier:["typeAnnotation","decorators"],IfStatement:["test","consequent","alternate"],LabeledStatement:["label","body"],StringLiteral:[],NumericLiteral:[],NullLiteral:[],BooleanLiteral:[],RegExpLiteral:[],LogicalExpression:["left","right"],MemberExpression:["object","property"],NewExpression:["callee","arguments","typeParameters","typeArguments"],Program:["directives","body"],ObjectExpression:["properties"],ObjectMethod:["key","params","body","decorators","returnType","typeParameters"],ObjectProperty:["key","value","decorators"],RestElement:["argument","typeAnnotation","decorators"],ReturnStatement:["argument"],SequenceExpression:["expressions"],ParenthesizedExpression:["expression"],SwitchCase:["test","consequent"],SwitchStatement:["discriminant","cases"],ThisExpression:[],ThrowStatement:["argument"],TryStatement:["block","handler","finalizer"],UnaryExpression:["argument"],UpdateExpression:["argument"],VariableDeclaration:["declarations"],VariableDeclarator:["id","init"],WhileStatement:["test","body"],WithStatement:["object","body"],AssignmentPattern:["left","right","decorators","typeAnnotation"],ArrayPattern:["elements","typeAnnotation","decorators"],ArrowFunctionExpression:["params","body","returnType","typeParameters","predicate"],ClassBody:["body"],ClassExpression:["id","body","superClass","mixins","typeParameters","superTypeParameters","implements","decorators","superTypeArguments"],ClassDeclaration:["id","body","superClass","mixins","typeParameters","superTypeParameters","implements","decorators","superTypeArguments"],ExportAllDeclaration:["source","attributes","exported"],ExportDefaultDeclaration:["declaration"],ExportNamedDeclaration:["declaration","specifiers","source","attributes"],ExportSpecifier:["local","exported"],ForOfStatement:["left","right","body"],ImportDeclaration:["specifiers","source","attributes"],ImportDefaultSpecifier:["local"],ImportNamespaceSpecifier:["local"],ImportSpecifier:["local","imported"],ImportExpression:["source","options","attributes"],MetaProperty:["meta","property"],ClassMethod:["key","params","body","decorators","returnType","typeParameters"],ObjectPattern:["properties","typeAnnotation","decorators"],SpreadElement:["argument"],Super:[],TaggedTemplateExpression:["tag","quasi","typeParameters","typeArguments"],TemplateElement:[],TemplateLiteral:["quasis","expressions"],YieldExpression:["argument"],AwaitExpression:["argument"],Import:[],BigIntLiteral:[],ExportNamespaceSpecifier:["exported"],OptionalMemberExpression:["object","property"],OptionalCallExpression:["callee","arguments","typeParameters","typeArguments"],ClassProperty:["key","value","typeAnnotation","decorators","variance"],ClassAccessorProperty:["key","value","typeAnnotation","decorators"],ClassPrivateProperty:["key","value","decorators","typeAnnotation","variance"],ClassPrivateMethod:["key","params","body","decorators","returnType","typeParameters"],PrivateName:["id"],StaticBlock:["body"],AnyTypeAnnotation:[],ArrayTypeAnnotation:["elementType"],BooleanTypeAnnotation:[],BooleanLiteralTypeAnnotation:[],NullLiteralTypeAnnotation:[],ClassImplements:["id","typeParameters"],DeclareClass:["id","typeParameters","extends","mixins","implements","body"],DeclareFunction:["id","predicate"],DeclareInterface:["id","typeParameters","extends","body"],DeclareModule:["id","body"],DeclareModuleExports:["typeAnnotation"],DeclareTypeAlias:["id","typeParameters","right"],DeclareOpaqueType:["id","typeParameters","supertype"],DeclareVariable:["id"],DeclareExportDeclaration:["declaration","specifiers","source"],DeclareExportAllDeclaration:["source"],DeclaredPredicate:["value"],ExistsTypeAnnotation:[],FunctionTypeAnnotation:["typeParameters","params","rest","returnType","this"],FunctionTypeParam:["name","typeAnnotation"],GenericTypeAnnotation:["id","typeParameters"],InferredPredicate:[],InterfaceExtends:["id","typeParameters"],InterfaceDeclaration:["id","typeParameters","extends","body"],InterfaceTypeAnnotation:["extends","body"],IntersectionTypeAnnotation:["types"],MixedTypeAnnotation:[],EmptyTypeAnnotation:[],NullableTypeAnnotation:["typeAnnotation"],NumberLiteralTypeAnnotation:[],NumberTypeAnnotation:[],ObjectTypeAnnotation:["properties","indexers","callProperties","internalSlots"],ObjectTypeInternalSlot:["id","value"],ObjectTypeCallProperty:["value"],ObjectTypeIndexer:["id","key","value","variance"],ObjectTypeProperty:["key","value","variance"],ObjectTypeSpreadProperty:["argument"],OpaqueType:["id","typeParameters","supertype","impltype"],QualifiedTypeIdentifier:["id","qualification"],StringLiteralTypeAnnotation:[],StringTypeAnnotation:[],SymbolTypeAnnotation:[],ThisTypeAnnotation:[],TupleTypeAnnotation:["types","elementTypes"],TypeofTypeAnnotation:["argument","typeArguments"],TypeAlias:["id","typeParameters","right"],TypeAnnotation:["typeAnnotation"],TypeCastExpression:["expression","typeAnnotation"],TypeParameter:["bound","default","variance"],TypeParameterDeclaration:["params"],TypeParameterInstantiation:["params"],UnionTypeAnnotation:["types"],Variance:[],VoidTypeAnnotation:[],EnumDeclaration:["id","body"],EnumBooleanBody:["members"],EnumNumberBody:["members"],EnumStringBody:["members"],EnumSymbolBody:["members"],EnumBooleanMember:["id","init"],EnumNumberMember:["id","init"],EnumStringMember:["id","init"],EnumDefaultedMember:["id"],IndexedAccessType:["objectType","indexType"],OptionalIndexedAccessType:["objectType","indexType"],JSXAttribute:["name","value"],JSXClosingElement:["name"],JSXElement:["openingElement","children","closingElement"],JSXEmptyExpression:[],JSXExpressionContainer:["expression"],JSXSpreadChild:["expression"],JSXIdentifier:[],JSXMemberExpression:["object","property"],JSXNamespacedName:["namespace","name"],JSXOpeningElement:["name","attributes","typeArguments","typeParameters"],JSXSpreadAttribute:["argument"],JSXText:[],JSXFragment:["openingFragment","children","closingFragment"],JSXOpeningFragment:[],JSXClosingFragment:[],Noop:[],Placeholder:[],V8IntrinsicIdentifier:[],ArgumentPlaceholder:[],BindExpression:["object","callee"],ImportAttribute:["key","value"],Decorator:["expression"],DoExpression:["body"],ExportDefaultSpecifier:["exported"],RecordExpression:["properties"],TupleExpression:["elements"],DecimalLiteral:[],ModuleExpression:["body"],TopicReference:[],PipelineTopicExpression:["expression"],PipelineBareFunction:["callee"],PipelinePrimaryTopicReference:[],TSParameterProperty:["parameter","decorators"],TSDeclareFunction:["id","typeParameters","params","returnType","body"],TSDeclareMethod:["decorators","key","typeParameters","params","returnType"],TSQualifiedName:["left","right"],TSCallSignatureDeclaration:["typeParameters","parameters","typeAnnotation","params","returnType"],TSConstructSignatureDeclaration:["typeParameters","parameters","typeAnnotation","params","returnType"],TSPropertySignature:["key","typeAnnotation"],TSMethodSignature:["key","typeParameters","parameters","typeAnnotation","params","returnType"],TSIndexSignature:["parameters","typeAnnotation"],TSAnyKeyword:[],TSBooleanKeyword:[],TSBigIntKeyword:[],TSIntrinsicKeyword:[],TSNeverKeyword:[],TSNullKeyword:[],TSNumberKeyword:[],TSObjectKeyword:[],TSStringKeyword:[],TSSymbolKeyword:[],TSUndefinedKeyword:[],TSUnknownKeyword:[],TSVoidKeyword:[],TSThisType:[],TSFunctionType:["typeParameters","parameters","typeAnnotation","params","returnType"],TSConstructorType:["typeParameters","parameters","typeAnnotation","params","returnType"],TSTypeReference:["typeName","typeParameters","typeArguments"],TSTypePredicate:["parameterName","typeAnnotation"],TSTypeQuery:["exprName","typeParameters","typeArguments"],TSTypeLiteral:["members"],TSArrayType:["elementType"],TSTupleType:["elementTypes"],TSOptionalType:["typeAnnotation"],TSRestType:["typeAnnotation"],TSNamedTupleMember:["label","elementType"],TSUnionType:["types"],TSIntersectionType:["types"],TSConditionalType:["checkType","extendsType","trueType","falseType"],TSInferType:["typeParameter"],TSParenthesizedType:["typeAnnotation"],TSTypeOperator:["typeAnnotation"],TSIndexedAccessType:["objectType","indexType"],TSMappedType:["typeParameter","typeAnnotation","nameType"],TSLiteralType:["literal"],TSExpressionWithTypeArguments:["expression","typeParameters"],TSInterfaceDeclaration:["id","typeParameters","extends","body"],TSInterfaceBody:["body"],TSTypeAliasDeclaration:["id","typeParameters","typeAnnotation"],TSInstantiationExpression:["expression","typeParameters","typeArguments"],TSAsExpression:["expression","typeAnnotation"],TSSatisfiesExpression:["expression","typeAnnotation"],TSTypeAssertion:["typeAnnotation","expression"],TSEnumDeclaration:["id","members"],TSEnumMember:["id","initializer"],TSModuleDeclaration:["id","body"],TSModuleBlock:["body"],TSImportType:["argument","qualifier","typeParameters","typeArguments"],TSImportEqualsDeclaration:["id","moduleReference"],TSExternalModuleReference:["expression"],TSNonNullExpression:["expression"],TSExportAssignment:["expression"],TSNamespaceExportDeclaration:["id"],TSTypeAnnotation:["typeAnnotation"],TSTypeParameterInstantiation:["params"],TSTypeParameterDeclaration:["params"],TSTypeParameter:["constraint","default","name"],ChainExpression:["expression"],ExperimentalRestProperty:["argument"],ExperimentalSpreadProperty:["argument"],Literal:[],MethodDefinition:["decorators","key","value"],PrivateIdentifier:[],Property:["key","value"],PropertyDefinition:["decorators","key","typeAnnotation","value","variance"],AccessorProperty:["decorators","key","typeAnnotation","value"],TSAbstractAccessorProperty:["decorators","key","typeAnnotation"],TSAbstractKeyword:[],TSAbstractMethodDefinition:["key","value"],TSAbstractPropertyDefinition:["decorators","key","typeAnnotation"],TSAsyncKeyword:[],TSClassImplements:["expression","typeArguments","typeParameters"],TSDeclareKeyword:[],TSEmptyBodyFunctionExpression:["id","typeParameters","params","returnType"],TSEnumBody:["members"],TSExportKeyword:[],TSInterfaceHeritage:["expression","typeArguments","typeParameters"],TSPrivateKeyword:[],TSProtectedKeyword:[],TSPublicKeyword:[],TSReadonlyKeyword:[],TSStaticKeyword:[],TSTemplateLiteralType:["quasis","types"],AsConstExpression:["expression"],AsExpression:["expression","typeAnnotation"],BigIntLiteralTypeAnnotation:[],BigIntTypeAnnotation:[],ComponentDeclaration:["id","params","body","typeParameters","rendersType"],ComponentParameter:["name","local"],ComponentTypeAnnotation:["params","rest","typeParameters","rendersType"],ComponentTypeParameter:["name","typeAnnotation"],ConditionalTypeAnnotation:["checkType","extendsType","trueType","falseType"],DeclareComponent:["id","params","rest","typeParameters","rendersType"],DeclareEnum:["id","body"],DeclareHook:["id"],DeclareNamespace:["id","body"],EnumBigIntBody:["members"],EnumBigIntMember:["id","init"],HookDeclaration:["id","params","body","typeParameters","returnType"],HookTypeAnnotation:["params","returnType","rest","typeParameters"],InferTypeAnnotation:["typeParameter"],KeyofTypeAnnotation:["argument"],ObjectTypeMappedTypeProperty:["keyTparam","propType","sourceType","variance"],QualifiedTypeofIdentifier:["qualification","id"],TupleTypeLabeledElement:["label","elementType","variance"],TupleTypeSpreadElement:["label","typeAnnotation"],TypeOperator:["typeAnnotation"],TypePredicate:["parameterName","typeAnnotation","asserts"],NGRoot:["node"],NGPipeExpression:["left","right","arguments"],NGChainedExpression:["expressions"],NGEmptyExpression:[],NGMicrosyntax:["body"],NGMicrosyntaxKey:[],NGMicrosyntaxExpression:["expression","alias"],NGMicrosyntaxKeyedExpression:["key","expression"],NGMicrosyntaxLet:["key","value"],NGMicrosyntaxAs:["key","alias"],JsExpressionRoot:["node"],JsonRoot:["node"],TSJSDocAllType:[],TSJSDocUnknownType:[],TSJSDocNullableType:["typeAnnotation"],TSJSDocNonNullableType:["typeAnnotation"],NeverTypeAnnotation:[],UndefinedTypeAnnotation:[],UnknownTypeAnnotation:[],SatisfiesExpression:["expression","typeAnnotation"]};var gs=zt(Qt),Yt=gs;function We(e,t){if(!(e!==null&&typeof e=="object"))return e;if(Array.isArray(e)){for(let s=0;s{var o;(o=n.leadingComments)!=null&&o.some(Ht)&&r.add(P(n))}),e=Ce(e,n=>{if(n.type==="ParenthesizedExpression"){let{expression:o}=n;if(o.type==="TypeCastExpression")return o.range=[...n.range],o;let u=P(n);if(!r.has(u))return o.extra={...o.extra,parenthesized:!0},o}})}if(e=Ce(e,r=>{var n;switch(r.type){case"LogicalExpression":if($t(r))return He(r);break;case"VariableDeclaration":{let o=W(!1,r.declarations,-1);o!=null&&o.init&&s[j(o)]!==";"&&(r.range=[P(r),j(o)]);break}case"TSParenthesizedType":return r.typeAnnotation;case"TSTypeParameter":if(typeof r.name=="string"){let o=P(r);r.name={type:"Identifier",name:r.name,range:[o,o+r.name.length]}}break;case"TopicReference":e.extra={...e.extra,__isUsingHackPipeline:!0};break;case"ExportAllDeclaration":if(i==="meriyah"&&((n=r.exported)==null?void 0:n.type)==="Identifier"){let{exported:o}=r,u=s.slice(P(o),j(o));(u.startsWith('"')||u.startsWith("'"))&&(r.exported={...r.exported,type:"Literal",value:r.exported.name,raw:u})}break;case"TSUnionType":case"TSIntersectionType":if(r.types.length===1)return r.types[0];break}}),Xt(e.comments)){let r=W(!1,e.comments,-1);for(let n=e.comments.length-2;n>=0;n--){let o=e.comments[n];j(o)===P(r)&&oe(o)&&oe(r)&&Ke(o)&&Ke(r)&&(e.comments.splice(n+1,1),o.value+="*//*"+r.value,o.range=[P(o),j(r)]),r=o}}return e.type==="Program"&&(e.range=[0,s.length]),e}function $t(e){return e.type==="LogicalExpression"&&e.right.type==="LogicalExpression"&&e.operator===e.right.operator}function He(e){return $t(e)?He({type:"LogicalExpression",operator:e.operator,left:He({type:"LogicalExpression",operator:e.operator,left:e.left,right:e.right.left,range:[P(e.left),j(e.right.left)]}),right:e.right.right,range:[P(e),j(e)]}):e}var _e=vs;var bs=(e,t,i,s)=>{if(!(e&&t==null))return t.replaceAll?t.replaceAll(i,s):i.global?t.replace(i,s):t.split(i).join(s)},Z=bs;var Ss=/\*\/$/,Cs=/^\/\*\*?/,_s=/^\s*(\/\*\*?(.|\r?\n)*?\*\/)/,Ts=/(^|\s+)\/\/([^\n\r]*)/g,Zt=/^(\r?\n)+/,ks=/(?:^|\r?\n) *(@[^\n\r]*?) *\r?\n *(?![^\n\r@]*\/\/[^]*)([^\s@][^\n\r@]+?) *\r?\n/g,ei=/(?:^|\r?\n) *@(\S+) *([^\n\r]*)/g,Es=/(\r?\n|^) *\* ?/g,ws=[];function ti(e){let t=e.match(_s);return t?t[0].trimStart():""}function ii(e){let t=` +`;e=Z(!1,e.replace(Cs,"").replace(Ss,""),Es,"$1");let i="";for(;i!==e;)i=e,e=Z(!1,e,ks,`${t}$1 $2${t}`);e=e.replace(Zt,"").trimEnd();let s=Object.create(null),r=Z(!1,e,ei,"").replace(Zt,"").trimEnd(),n;for(;n=ei.exec(e);){let o=Z(!1,n[2],Ts,"");if(typeof s[n[1]]=="string"||Array.isArray(s[n[1]])){let u=s[n[1]];s[n[1]]=[...ws,...Array.isArray(u)?u:[u],o]}else s[n[1]]=o}return{comments:r,pragmas:s}}function As(e){if(!e.startsWith("#!"))return"";let t=e.indexOf(` +`);return t===-1?e:e.slice(0,t)}var si=As;function Ps(e){let t=si(e);t&&(e=e.slice(t.length+1));let i=ti(e),{pragmas:s,comments:r}=ii(i);return{shebang:t,text:e,pragmas:s,comments:r}}function ri(e){let{pragmas:t}=Ps(e);return Object.prototype.hasOwnProperty.call(t,"prettier")||Object.prototype.hasOwnProperty.call(t,"format")}function Is(e){return e=typeof e=="function"?{parse:e}:e,{astFormat:"estree",hasPragma:ri,locStart:P,locEnd:j,...e}}var Te=Is;function Ns(e){let{filepath:t}=e;if(t){if(t=t.toLowerCase(),t.endsWith(".cjs"))return"script";if(t.endsWith(".mjs"))return"module"}}var ke=Ns;var Vs={ecmaVersion:"latest",allowReturnOutsideFunction:!0,allowSuperOutsideMethod:!0,locations:!0,ranges:!0};function Ls(e){let{message:t,loc:i}=e;if(!i)return e;let{line:s,column:r}=i;return be(t.replace(/ \(\d+:\d+\)$/u,""),{loc:{start:{line:s,column:r+1}},cause:e})}var ai,Rs=()=>(ai??(ai=T.extend((0,ni.default)())),ai);function Os(e,t){let i=Rs(),s=[],r=[],n=i.parse(e,{...Vs,sourceType:t,allowImportExportEverywhere:t==="module",onComment:s,onToken:r});return n.comments=s,n.tokens=r,n}function Bs(e,t={}){let i=ke(t),s=(i?[i]:["module","script"]).map(n=>()=>Os(e,n)),r;try{r=Se(s)}catch({errors:[n]}){throw Ls(n)}return _e(r,{text:e})}var oi=Te(Bs);var ci=et(Ge(),1);var E={Boolean:"Boolean",EOF:"",Identifier:"Identifier",PrivateIdentifier:"PrivateIdentifier",Keyword:"Keyword",Null:"Null",Numeric:"Numeric",Punctuator:"Punctuator",String:"String",RegularExpression:"RegularExpression",Template:"Template",JSXIdentifier:"JSXIdentifier",JSXText:"JSXText"};function Ds(e,t){let i=e[0],s=W(!1,e,-1),r={type:E.Template,value:t.slice(i.start,s.end)};return i.loc&&(r.loc={start:i.loc.start,end:s.loc.end}),i.range&&(r.start=i.range[0],r.end=s.range[1],r.range=[r.start,r.end]),r}function ze(e,t){this._acornTokTypes=e,this._tokens=[],this._curlyBrace=null,this._code=t}ze.prototype={constructor:ze,translate(e,t){let i=e.type,s=this._acornTokTypes;if(i===s.name)e.type=E.Identifier,e.value==="static"&&(e.type=E.Keyword),t.ecmaVersion>5&&(e.value==="yield"||e.value==="let")&&(e.type=E.Keyword);else if(i===s.privateId)e.type=E.PrivateIdentifier;else if(i===s.semi||i===s.comma||i===s.parenL||i===s.parenR||i===s.braceL||i===s.braceR||i===s.dot||i===s.bracketL||i===s.colon||i===s.question||i===s.bracketR||i===s.ellipsis||i===s.arrow||i===s.jsxTagStart||i===s.incDec||i===s.starstar||i===s.jsxTagEnd||i===s.prefix||i===s.questionDot||i.binop&&!i.keyword||i.isAssign)e.type=E.Punctuator,e.value=this._code.slice(e.start,e.end);else if(i===s.jsxName)e.type=E.JSXIdentifier;else if(i.label==="jsxText"||i===s.jsxAttrValueToken)e.type=E.JSXText;else if(i.keyword)i.keyword==="true"||i.keyword==="false"?e.type=E.Boolean:i.keyword==="null"?e.type=E.Null:e.type=E.Keyword;else if(i===s.num)e.type=E.Numeric,e.value=this._code.slice(e.start,e.end);else if(i===s.string)t.jsxAttrValueToken?(t.jsxAttrValueToken=!1,e.type=E.JSXText):e.type=E.String,e.value=this._code.slice(e.start,e.end);else if(i===s.regexp){e.type=E.RegularExpression;let r=e.value;e.regex={flags:r.flags,pattern:r.pattern},e.value=`/${r.pattern}/${r.flags}`}return e},onToken(e,t){let i=this._acornTokTypes,s=t.tokens,r=this._tokens,n=()=>{s.push(Ds(this._tokens,this._code)),this._tokens=[]};if(e.type===i.eof){this._curlyBrace&&s.push(this.translate(this._curlyBrace,t));return}if(e.type===i.backQuote){this._curlyBrace&&(s.push(this.translate(this._curlyBrace,t)),this._curlyBrace=null),r.push(e),r.length>1&&n();return}if(e.type===i.dollarBraceL){r.push(e),n();return}if(e.type===i.braceR){this._curlyBrace&&s.push(this.translate(this._curlyBrace,t)),this._curlyBrace=e;return}if(e.type===i.template||e.type===i.invalidTemplate){this._curlyBrace&&(r.push(this._curlyBrace),this._curlyBrace=null),r.push(e);return}this._curlyBrace&&(s.push(this.translate(this._curlyBrace,t)),this._curlyBrace=null),s.push(this.translate(e,t))}};var ui=ze;var pi=[3,5,6,7,8,9,10,11,12,13,14,15,16];function Fs(){return W(!1,pi,-1)}function Ms(e=5){let t=e==="latest"?Fs():e;if(typeof t!="number")throw new Error(`ecmaVersion must be a number or "latest". Received value of type ${typeof e} instead.`);if(t>=2015&&(t-=2009),!pi.includes(t))throw new Error("Invalid ecmaVersion.");return t}function js(e="script"){if(e==="script"||e==="module")return e;if(e==="commonjs")return"script";throw new Error("Invalid sourceType.")}function hi(e){let t=Ms(e.ecmaVersion),i=js(e.sourceType),s=e.range===!0,r=e.loc===!0;if(t!==3&&e.allowReserved)throw new Error("`allowReserved` is only supported when ecmaVersion is 3");if(typeof e.allowReserved<"u"&&typeof e.allowReserved!="boolean")throw new Error("`allowReserved`, when present, must be `true` or `false`");let n=t===3?e.allowReserved||"never":!1,o=e.ecmaFeatures||{},u=e.sourceType==="commonjs"||!!o.globalReturn;if(i==="module"&&t<6)throw new Error("sourceType 'module' is not supported when ecmaVersion < 2015. Consider adding `{ ecmaVersion: 2015 }` to the parser options.");return Object.assign({},e,{ecmaVersion:t,sourceType:i,ranges:s,locations:r,allowReserved:n,allowReturnOutsideFunction:u})}var H=Symbol("espree's internal state"),Qe=Symbol("espree's esprimaFinishNode");function Us(e,t,i,s,r,n,o){let u;e?u="Block":o.slice(i,i+2)==="#!"?u="Hashbang":u="Line";let p={type:u,value:t};return typeof i=="number"&&(p.start=i,p.end=s,p.range=[i,s]),typeof r=="object"&&(p.loc={start:r,end:n}),p}var Ye=()=>e=>{let t=Object.assign({},e.acorn.tokTypes);return e.acornJsx&&Object.assign(t,e.acornJsx.tokTypes),class extends e{constructor(s,r){(typeof s!="object"||s===null)&&(s={}),typeof r!="string"&&!(r instanceof String)&&(r=String(r));let n=s.sourceType,o=hi(s),u=o.ecmaFeatures||{},p=o.tokens===!0?new ui(t,r):null,d={originalSourceType:n||o.sourceType,tokens:p?[]:null,comments:o.comment===!0?[]:null,impliedStrict:u.impliedStrict===!0&&o.ecmaVersion>=5,ecmaVersion:o.ecmaVersion,jsxAttrValueToken:!1,lastToken:null,templateElements:[]};super({ecmaVersion:o.ecmaVersion,sourceType:o.sourceType,ranges:o.ranges,locations:o.locations,allowReserved:o.allowReserved,allowReturnOutsideFunction:o.allowReturnOutsideFunction,onToken(l){p&&p.onToken(l,d),l.type!==t.eof&&(d.lastToken=l)},onComment(l,C,B,h,m,x){if(d.comments){let g=Us(l,C,B,h,m,x,r);d.comments.push(g)}}},r),this[H]=d}tokenize(){do this.next();while(this.type!==t.eof);this.next();let s=this[H],r=s.tokens;return s.comments&&(r.comments=s.comments),r}finishNode(...s){let r=super.finishNode(...s);return this[Qe](r)}finishNodeAt(...s){let r=super.finishNodeAt(...s);return this[Qe](r)}parse(){let s=this[H],r=super.parse();if(r.sourceType=s.originalSourceType,s.comments&&(r.comments=s.comments),s.tokens&&(r.tokens=s.tokens),r.body.length){let[n]=r.body;r.range&&(r.range[0]=n.range[0]),r.loc&&(r.loc.start=n.loc.start),r.start=n.start}return s.lastToken&&(r.range&&(r.range[1]=s.lastToken.range[1]),r.loc&&(r.loc.end=s.lastToken.loc.end),r.end=s.lastToken.end),this[H].templateElements.forEach(n=>{let u=n.tail?1:2;n.start+=-1,n.end+=u,n.range&&(n.range[0]+=-1,n.range[1]+=u),n.loc&&(n.loc.start.column+=-1,n.loc.end.column+=u)}),r}parseTopLevel(s){return this[H].impliedStrict&&(this.strict=!0),super.parseTopLevel(s)}raise(s,r){let n=e.acorn.getLineInfo(this.input,s),o=new SyntaxError(r);throw o.index=s,o.lineNumber=n.line,o.column=n.column+1,o}raiseRecoverable(s,r){this.raise(s,r)}unexpected(s){let r="Unexpected token";if(s!=null){if(this.pos=s,this.options.locations)for(;this.posthis.start&&(r+=` ${this.input.slice(this.start,this.end)}`),this.raise(this.start,r)}jsx_readString(s){let r=super.jsx_readString(s);return this.type===t.string&&(this[H].jsxAttrValueToken=!0),r}[Qe](s){return s.type==="TemplateElement"&&this[H].templateElements.push(s),s.type.includes("Function")&&!s.generator&&(s.generator=!1),s}}};var qs={_regular:null,_jsx:null,get regular(){return this._regular===null&&(this._regular=T.extend(Ye())),this._regular},get jsx(){return this._jsx===null&&(this._jsx=T.extend((0,ci.default)(),Ye())),this._jsx},get(e){return!!(e&&e.ecmaFeatures&&e.ecmaFeatures.jsx)?this.jsx:this.regular}};function li(e,t){let i=qs.get(t);return new i(t,e).parse()}var Js={ecmaVersion:"latest",range:!0,loc:!0,comment:!0,tokens:!0,sourceType:"module",ecmaFeatures:{jsx:!0,globalReturn:!0,impliedStrict:!1}};function Gs(e){let{message:t,lineNumber:i,column:s}=e;return typeof i!="number"?e:be(t,{loc:{start:{line:i,column:s}},cause:e})}function Ks(e,t={}){let i=ke(t),s=(i?[i]:["module","script"]).map(n=>()=>li(e,{...Js,sourceType:n})),r;try{r=Se(s)}catch({errors:[n]}){throw Gs(n)}return _e(r,{text:e})}var fi=Te(Ks);var Xs={acorn:oi,espree:fi};var ba=$e;export{ba as default,Xs as parsers}; diff --git a/node_modules/prettier/plugins/angular.js b/node_modules/prettier/plugins/angular.js index 7f3b22f6af..f47e5fbac6 100644 --- a/node_modules/prettier/plugins/angular.js +++ b/node_modules/prettier/plugins/angular.js @@ -1,2 +1 @@ -(function(n){function e(){var i=n();return i.default||i}if(typeof exports=="object"&&typeof module=="object")module.exports=e();else if(typeof define=="function"&&define.amd)define(e);else{var t=typeof globalThis<"u"?globalThis:typeof global<"u"?global:typeof self<"u"?self:this||{};t.prettierPlugins=t.prettierPlugins||{},t.prettierPlugins.angular=e()}})(function(){"use strict";var Pe=Object.defineProperty;var Kt=Object.getOwnPropertyDescriptor;var Tt=Object.getOwnPropertyNames;var _t=Object.prototype.hasOwnProperty;var Ze=(r,e)=>{for(var t in e)Pe(r,t,{get:e[t],enumerable:!0})},Mt=(r,e,t,s)=>{if(e&&typeof e=="object"||typeof e=="function")for(let n of Tt(e))!_t.call(r,n)&&n!==t&&Pe(r,n,{get:()=>e[n],enumerable:!(s=Kt(e,n))||s.enumerable});return r};var Ft=r=>Mt(Pe({},"__esModule",{value:!0}),r);var _r={};Ze(_r,{parsers:()=>Ie});var Ie={};Ze(Ie,{__ng_action:()=>br,__ng_binding:()=>Br,__ng_directive:()=>Tr,__ng_interpolation:()=>Kr});var me=` -`,Je="\r",Ye=function(){function r(e){this.length=e.length;for(var t=[0],s=0;sthis.length)return null;for(var t=0,s=this.offsets;s[t+1]<=e;)t++;var n=e-s[t];return{line:t,column:n}},r.prototype.indexForLocation=function(e){var t=e.line,s=e.column;return t<0||t>=this.offsets.length||s<0||s>this.lengthOfLine(t)?null:this.offsets[t]+s},r.prototype.lengthOfLine=function(e){var t=this.offsets[e],s=e===this.offsets.length-1?this.length:this.offsets[e+1];return s-t},r}();var le=class{text;locator;constructor(e){this.text=e,this.locator=new Le(this.text)}},Le=class{_linesAndColumns;constructor(e){this._linesAndColumns=new Ye(e)}locationForIndex(e){let{line:t,column:s}=this._linesAndColumns.locationForIndex(e);return{line:t+1,column:s,index:e}}};var G=class{constructor(e,t,s,n){this.input=t,this.errLocation=s,this.ctxLocation=n,this.message=`Parser Error: ${e} ${s} [${t}] in ${n}`}},P=class{constructor(e,t){this.start=e,this.end=t}toAbsolute(e){return new I(e+this.start,e+this.end)}},S=class{constructor(e,t){this.span=e,this.sourceSpan=t}toString(){return"AST"}},D=class extends S{constructor(e,t,s){super(e,t),this.nameSpan=s}},E=class extends S{visit(e,t=null){}},L=class extends S{visit(e,t=null){return e.visitImplicitReceiver(this,t)}},Se=class extends L{visit(e,t=null){var s;return(s=e.visitThisReceiver)==null?void 0:s.call(e,this,t)}},V=class extends S{constructor(e,t,s){super(e,t),this.expressions=s}visit(e,t=null){return e.visitChain(this,t)}},W=class extends S{constructor(e,t,s,n,i){super(e,t),this.condition=s,this.trueExp=n,this.falseExp=i}visit(e,t=null){return e.visitConditional(this,t)}},B=class extends D{constructor(e,t,s,n,i){super(e,t,s),this.receiver=n,this.name=i}visit(e,t=null){return e.visitPropertyRead(this,t)}},Q=class extends D{constructor(e,t,s,n,i,a){super(e,t,s),this.receiver=n,this.name=i,this.value=a}visit(e,t=null){return e.visitPropertyWrite(this,t)}},H=class extends D{constructor(e,t,s,n,i){super(e,t,s),this.receiver=n,this.name=i}visit(e,t=null){return e.visitSafePropertyRead(this,t)}},j=class extends S{constructor(e,t,s,n){super(e,t),this.receiver=s,this.key=n}visit(e,t=null){return e.visitKeyedRead(this,t)}},z=class extends S{constructor(e,t,s,n){super(e,t),this.receiver=s,this.key=n}visit(e,t=null){return e.visitSafeKeyedRead(this,t)}},q=class extends S{constructor(e,t,s,n,i){super(e,t),this.receiver=s,this.key=n,this.value=i}visit(e,t=null){return e.visitKeyedWrite(this,t)}},X=class extends D{constructor(e,t,s,n,i,a){super(e,t,a),this.exp=s,this.name=n,this.args=i}visit(e,t=null){return e.visitPipe(this,t)}},A=class extends S{constructor(e,t,s){super(e,t),this.value=s}visit(e,t=null){return e.visitLiteralPrimitive(this,t)}},Z=class extends S{constructor(e,t,s){super(e,t),this.expressions=s}visit(e,t=null){return e.visitLiteralArray(this,t)}},J=class extends S{constructor(e,t,s,n){super(e,t),this.keys=s,this.values=n}visit(e,t=null){return e.visitLiteralMap(this,t)}},we=class extends S{constructor(e,t,s,n){super(e,t),this.strings=s,this.expressions=n}visit(e,t=null){return e.visitInterpolation(this,t)}},$=class extends S{constructor(e,t,s,n,i){super(e,t),this.operation=s,this.left=n,this.right=i}visit(e,t=null){return e.visitBinary(this,t)}},K=class r extends ${static createMinus(e,t,s){return new r(e,t,"-",s,"-",new A(e,t,0),s)}static createPlus(e,t,s){return new r(e,t,"+",s,"-",s,new A(e,t,0))}constructor(e,t,s,n,i,a,h){super(e,t,i,a,h),this.operator=s,this.expr=n,this.left=null,this.right=null,this.operation=null}visit(e,t=null){return e.visitUnary!==void 0?e.visitUnary(this,t):e.visitBinary(this,t)}},Y=class extends S{constructor(e,t,s){super(e,t),this.expression=s}visit(e,t=null){return e.visitPrefixNot(this,t)}},ee=class extends S{constructor(e,t,s){super(e,t),this.expression=s}visit(e,t=null){return e.visitNonNullAssert(this,t)}},te=class extends S{constructor(e,t,s,n,i){super(e,t),this.receiver=s,this.args=n,this.argumentSpan=i}visit(e,t=null){return e.visitCall(this,t)}},re=class extends S{constructor(e,t,s,n,i){super(e,t),this.receiver=s,this.args=n,this.argumentSpan=i}visit(e,t=null){return e.visitSafeCall(this,t)}},I=class{constructor(e,t){this.start=e,this.end=t}},R=class extends S{constructor(e,t,s,n,i){super(new P(0,t===null?0:t.length),new I(n,t===null?n:n+t.length)),this.ast=e,this.source=t,this.location=s,this.errors=i}visit(e,t=null){return e.visitASTWithSource?e.visitASTWithSource(this,t):this.ast.visit(e,t)}toString(){return`${this.source} in ${this.location}`}},T=class{constructor(e,t,s){this.sourceSpan=e,this.key=t,this.value=s}},se=class{constructor(e,t,s){this.sourceSpan=e,this.key=t,this.value=s}},ye=class{visit(e,t){e.visit(this,t)}visitUnary(e,t){this.visit(e.expr,t)}visitBinary(e,t){this.visit(e.left,t),this.visit(e.right,t)}visitChain(e,t){this.visitAll(e.expressions,t)}visitConditional(e,t){this.visit(e.condition,t),this.visit(e.trueExp,t),this.visit(e.falseExp,t)}visitPipe(e,t){this.visit(e.exp,t),this.visitAll(e.args,t)}visitImplicitReceiver(e,t){}visitThisReceiver(e,t){}visitInterpolation(e,t){this.visitAll(e.expressions,t)}visitKeyedRead(e,t){this.visit(e.receiver,t),this.visit(e.key,t)}visitKeyedWrite(e,t){this.visit(e.receiver,t),this.visit(e.key,t),this.visit(e.value,t)}visitLiteralArray(e,t){this.visitAll(e.expressions,t)}visitLiteralMap(e,t){this.visitAll(e.values,t)}visitLiteralPrimitive(e,t){}visitPrefixNot(e,t){this.visit(e.expression,t)}visitNonNullAssert(e,t){this.visit(e.expression,t)}visitPropertyRead(e,t){this.visit(e.receiver,t)}visitPropertyWrite(e,t){this.visit(e.receiver,t),this.visit(e.value,t)}visitSafePropertyRead(e,t){this.visit(e.receiver,t)}visitSafeKeyedRead(e,t){this.visit(e.receiver,t),this.visit(e.key,t)}visitCall(e,t){this.visit(e.receiver,t),this.visitAll(e.args,t)}visitSafeCall(e,t){this.visit(e.receiver,t),this.visitAll(e.args,t)}visitAll(e,t){for(let s of e)this.visit(s,t)}};var et;(function(r){r[r.DEFAULT=0]="DEFAULT",r[r.LITERAL_ATTR=1]="LITERAL_ATTR",r[r.ANIMATION=2]="ANIMATION"})(et||(et={}));function tt(r){return r>=9&&r<=32||r==160}function b(r){return 48<=r&&r<=57}function rt(r){return r>=97&&r<=122||r>=65&&r<=90}function be(r){return r===39||r===34||r===96}var d;(function(r){r[r.Character=0]="Character",r[r.Identifier=1]="Identifier",r[r.PrivateIdentifier=2]="PrivateIdentifier",r[r.Keyword=3]="Keyword",r[r.String=4]="String",r[r.Operator=5]="Operator",r[r.Number=6]="Number",r[r.Error=7]="Error"})(d||(d={}));var dr=["var","let","as","null","undefined","true","false","if","else","this"],xe=class{tokenize(e){let t=new Te(e),s=[],n=t.scanToken();for(;n!=null;)s.push(n),n=t.scanToken();return s}},N=class{constructor(e,t,s,n,i){this.index=e,this.end=t,this.type=s,this.numValue=n,this.strValue=i}isCharacter(e){return this.type==d.Character&&this.numValue==e}isNumber(){return this.type==d.Number}isString(){return this.type==d.String}isOperator(e){return this.type==d.Operator&&this.strValue==e}isIdentifier(){return this.type==d.Identifier}isPrivateIdentifier(){return this.type==d.PrivateIdentifier}isKeyword(){return this.type==d.Keyword}isKeywordLet(){return this.type==d.Keyword&&this.strValue=="let"}isKeywordAs(){return this.type==d.Keyword&&this.strValue=="as"}isKeywordNull(){return this.type==d.Keyword&&this.strValue=="null"}isKeywordUndefined(){return this.type==d.Keyword&&this.strValue=="undefined"}isKeywordTrue(){return this.type==d.Keyword&&this.strValue=="true"}isKeywordFalse(){return this.type==d.Keyword&&this.strValue=="false"}isKeywordThis(){return this.type==d.Keyword&&this.strValue=="this"}isError(){return this.type==d.Error}toNumber(){return this.type==d.Number?this.numValue:-1}toString(){switch(this.type){case d.Character:case d.Identifier:case d.Keyword:case d.Operator:case d.PrivateIdentifier:case d.String:case d.Error:return this.strValue;case d.Number:return this.numValue.toString();default:return null}}};function ot(r,e,t){return new N(r,e,d.Character,t,String.fromCharCode(t))}function vr(r,e,t){return new N(r,e,d.Identifier,0,t)}function gr(r,e,t){return new N(r,e,d.PrivateIdentifier,0,t)}function mr(r,e,t){return new N(r,e,d.Keyword,0,t)}function Ke(r,e,t){return new N(r,e,d.Operator,0,t)}function Sr(r,e,t){return new N(r,e,d.String,0,t)}function wr(r,e,t){return new N(r,e,d.Number,t,"")}function yr(r,e,t){return new N(r,e,d.Error,0,t)}var Ce=new N(-1,-1,d.Character,0,""),Te=class{constructor(e){this.input=e,this.peek=0,this.index=-1,this.length=e.length,this.advance()}advance(){this.peek=++this.index>=this.length?0:this.input.charCodeAt(this.index)}scanToken(){let e=this.input,t=this.length,s=this.peek,n=this.index;for(;s<=32;)if(++n>=t){s=0;break}else s=e.charCodeAt(n);if(this.peek=s,this.index=n,n>=t)return null;if(ct(s))return this.scanIdentifier();if(b(s))return this.scanNumber(n);let i=n;switch(s){case 46:return this.advance(),b(this.peek)?this.scanNumber(i):ot(i,this.index,46);case 40:case 41:case 123:case 125:case 91:case 93:case 44:case 58:case 59:return this.scanCharacter(i,s);case 39:case 34:return this.scanString();case 35:return this.scanPrivateIdentifier();case 43:case 45:case 42:case 47:case 37:case 94:return this.scanOperator(i,String.fromCharCode(s));case 63:return this.scanQuestion(i);case 60:case 62:return this.scanComplexOperator(i,String.fromCharCode(s),61,"=");case 33:case 61:return this.scanComplexOperator(i,String.fromCharCode(s),61,"=",61,"=");case 38:return this.scanComplexOperator(i,"&",38,"&");case 124:return this.scanComplexOperator(i,"|",124,"|");case 160:for(;tt(this.peek);)this.advance();return this.scanToken()}return this.advance(),this.error(`Unexpected character [${String.fromCharCode(s)}]`,0)}scanCharacter(e,t){return this.advance(),ot(e,this.index,t)}scanOperator(e,t){return this.advance(),Ke(e,this.index,t)}scanComplexOperator(e,t,s,n,i,a){this.advance();let h=t;return this.peek==s&&(this.advance(),h+=n),i!=null&&this.peek==i&&(this.advance(),h+=a),Ke(e,this.index,h)}scanIdentifier(){let e=this.index;for(this.advance();ht(this.peek);)this.advance();let t=this.input.substring(e,this.index);return dr.indexOf(t)>-1?mr(e,this.index,t):vr(e,this.index,t)}scanPrivateIdentifier(){let e=this.index;if(this.advance(),!ct(this.peek))return this.error("Invalid character [#]",-1);for(;ht(this.peek);)this.advance();let t=this.input.substring(e,this.index);return gr(e,this.index,t)}scanNumber(e){let t=this.index===e,s=!1;for(this.advance();;){if(!b(this.peek))if(this.peek===95){if(!b(this.input.charCodeAt(this.index-1))||!b(this.input.charCodeAt(this.index+1)))return this.error("Invalid numeric separator",0);s=!0}else if(this.peek===46)t=!1;else if(Er(this.peek)){if(this.advance(),Ar(this.peek)&&this.advance(),!b(this.peek))return this.error("Invalid exponent",-1);t=!1}else break;this.advance()}let n=this.input.substring(e,this.index);s&&(n=n.replace(/_/g,""));let i=t?Cr(n):parseFloat(n);return wr(e,this.index,i)}scanString(){let e=this.index,t=this.peek;this.advance();let s="",n=this.index,i=this.input;for(;this.peek!=t;)if(this.peek==92){s+=i.substring(n,this.index);let h;if(this.advance(),this.peek==117){let v=i.substring(this.index+1,this.index+5);if(/^[0-9a-f]+$/i.test(v))h=parseInt(v,16);else return this.error(`Invalid unicode escape [\\u${v}]`,0);for(let f=0;f<5;f++)this.advance()}else h=$r(this.peek),this.advance();s+=String.fromCharCode(h),n=this.index}else{if(this.peek==0)return this.error("Unterminated quote",0);this.advance()}let a=i.substring(n,this.index);return this.advance(),Sr(e,this.index,s+a)}scanQuestion(e){this.advance();let t="?";return(this.peek===63||this.peek===46)&&(t+=this.peek===46?".":"?",this.advance()),Ke(e,this.index,t)}error(e,t){let s=this.index+t;return yr(s,this.index,`Lexer Error: ${e} at column ${s} in expression [${this.input}]`)}};function ct(r){return 97<=r&&r<=122||65<=r&&r<=90||r==95||r==36}function ht(r){return rt(r)||b(r)||r==95||r==36}function Er(r){return r==101||r==69}function Ar(r){return r==45||r==43}function $r(r){switch(r){case 110:return 10;case 102:return 12;case 114:return 13;case 116:return 9;case 118:return 11;default:return r}}function Cr(r){let e=parseInt(r);if(isNaN(e))throw new Error("Invalid integer literal when parsing "+r);return e}var Or=[/^\s*$/,/[<>]/,/^[{}]$/,/&(#|[a-z])/i,/^\/\//];function xt(r,e){if(e!=null&&!(Array.isArray(e)&&e.length==2))throw new Error(`Expected '${r}' to be an array, [start, end].`);if(e!=null){let t=e[0],s=e[1];Or.forEach(n=>{if(n.test(t)||n.test(s))throw new Error(`['${t}', '${s}'] contains unusable interpolation symbol.`)})}}var Me=class r{static fromArray(e){return e?(xt("interpolation",e),new r(e[0],e[1])):F}constructor(e,t){this.start=e,this.end=t}},F=new Me("{{","}}");var Fe=class{constructor(e,t,s){this.strings=e,this.expressions=t,this.offsets=s}},Ue=class{constructor(e,t,s){this.templateBindings=e,this.warnings=t,this.errors=s}},ve=class{constructor(e){this._lexer=e,this.errors=[]}parseAction(e,t,s,n,i=F){this._checkNoInterpolation(e,s,i);let a=this._stripComments(e),h=this._lexer.tokenize(a),v=1;t&&(v|=2);let f=new U(e,s,n,h,v,this.errors,0).parseChain();return new R(f,e,s,n,this.errors)}parseBinding(e,t,s,n=F){let i=this._parseBindingAst(e,t,s,n);return new R(i,e,t,s,this.errors)}checkSimpleExpression(e){let t=new Ge;return e.visit(t),t.errors}parseSimpleBinding(e,t,s,n=F){let i=this._parseBindingAst(e,t,s,n),a=this.checkSimpleExpression(i);return a.length>0&&this._reportError(`Host binding expression cannot contain ${a.join(" ")}`,e,t),new R(i,e,t,s,this.errors)}_reportError(e,t,s,n){this.errors.push(new G(e,t,s,n))}_parseBindingAst(e,t,s,n){this._checkNoInterpolation(e,t,n);let i=this._stripComments(e),a=this._lexer.tokenize(i);return new U(e,t,s,a,0,this.errors,0).parseChain()}parseTemplateBindings(e,t,s,n,i){let a=this._lexer.tokenize(t);return new U(t,s,i,a,0,this.errors,0).parseTemplateBindings({source:e,span:new I(n,n+e.length)})}parseInterpolation(e,t,s,n,i=F){let{strings:a,expressions:h,offsets:v}=this.splitInterpolation(e,t,n,i);if(h.length===0)return null;let f=[];for(let w=0;ww.text),f,e,t,s)}parseInterpolationExpression(e,t,s){let n=this._stripComments(e),i=this._lexer.tokenize(n),a=new U(e,t,s,i,0,this.errors,0).parseChain(),h=["",""];return this.createInterpolationAst(h,[a],e,t,s)}createInterpolationAst(e,t,s,n,i){let a=new P(0,s.length),h=new we(a,a.toAbsolute(i),e,t);return new R(h,s,n,i,this.errors)}splitInterpolation(e,t,s,n=F){let i=[],a=[],h=[],v=s?Nr(s):null,f=0,w=!1,k=!1,{start:C,end:y}=n;for(;f-1)break;i>-1&&a>-1&&this._reportError(`Got interpolation (${s}${n}) where expression was expected`,e,`at column ${i} in`,t)}_getInterpolationEndIndex(e,t,s){for(let n of this._forEachUnquotedChar(e,s)){if(e.startsWith(t,n))return n;if(e.startsWith("//",n))return e.indexOf(t,n)}return-1}*_forEachUnquotedChar(e,t){let s=null,n=0;for(let i=t;i=this.tokens.length}get inputIndex(){return this.atEOF?this.currentEndIndex:this.next.index+this.offset}get currentEndIndex(){return this.index>0?this.peek(-1).end+this.offset:this.tokens.length===0?this.input.length+this.offset:this.next.index+this.offset}get currentAbsoluteOffset(){return this.absoluteOffset+this.inputIndex}span(e,t){let s=this.currentEndIndex;if(t!==void 0&&t>this.currentEndIndex&&(s=t),e>s){let n=s;s=e,e=n}return new P(e,s)}sourceSpan(e,t){let s=`${e}@${this.inputIndex}:${t}`;return this.sourceSpanCache.has(s)||this.sourceSpanCache.set(s,this.span(e,t).toAbsolute(this.absoluteOffset)),this.sourceSpanCache.get(s)}advance(){this.index++}withContext(e,t){this.context|=e;let s=t();return this.context^=e,s}consumeOptionalCharacter(e){return this.next.isCharacter(e)?(this.advance(),!0):!1}peekKeywordLet(){return this.next.isKeywordLet()}peekKeywordAs(){return this.next.isKeywordAs()}expectCharacter(e){this.consumeOptionalCharacter(e)||this.error(`Missing expected ${String.fromCharCode(e)}`)}consumeOptionalOperator(e){return this.next.isOperator(e)?(this.advance(),!0):!1}expectOperator(e){this.consumeOptionalOperator(e)||this.error(`Missing expected operator ${e}`)}prettyPrintToken(e){return e===Ce?"end of input":`token ${e}`}expectIdentifierOrKeyword(){let e=this.next;return!e.isIdentifier()&&!e.isKeyword()?(e.isPrivateIdentifier()?this._reportErrorForPrivateIdentifier(e,"expected identifier or keyword"):this.error(`Unexpected ${this.prettyPrintToken(e)}, expected identifier or keyword`),null):(this.advance(),e.toString())}expectIdentifierOrKeywordOrString(){let e=this.next;return!e.isIdentifier()&&!e.isKeyword()&&!e.isString()?(e.isPrivateIdentifier()?this._reportErrorForPrivateIdentifier(e,"expected identifier, keyword or string"):this.error(`Unexpected ${this.prettyPrintToken(e)}, expected identifier, keyword, or string`),""):(this.advance(),e.toString())}parseChain(){let e=[],t=this.inputIndex;for(;this.index":case"<=":case">=":this.advance();let n=this.parseAdditive();t=new $(this.span(e),this.sourceSpan(e),s,t,n);continue}break}return t}parseAdditive(){let e=this.inputIndex,t=this.parseMultiplicative();for(;this.next.type==d.Operator;){let s=this.next.strValue;switch(s){case"+":case"-":this.advance();let n=this.parseMultiplicative();t=new $(this.span(e),this.sourceSpan(e),s,t,n);continue}break}return t}parseMultiplicative(){let e=this.inputIndex,t=this.parsePrefix();for(;this.next.type==d.Operator;){let s=this.next.strValue;switch(s){case"*":case"%":case"/":this.advance();let n=this.parsePrefix();t=new $(this.span(e),this.sourceSpan(e),s,t,n);continue}break}return t}parsePrefix(){if(this.next.type==d.Operator){let e=this.inputIndex,t=this.next.strValue,s;switch(t){case"+":return this.advance(),s=this.parsePrefix(),K.createPlus(this.span(e),this.sourceSpan(e),s);case"-":return this.advance(),s=this.parsePrefix(),K.createMinus(this.span(e),this.sourceSpan(e),s);case"!":return this.advance(),s=this.parsePrefix(),new Y(this.span(e),this.sourceSpan(e),s)}}return this.parseCallChain()}parseCallChain(){let e=this.inputIndex,t=this.parsePrimary();for(;;)if(this.consumeOptionalCharacter(46))t=this.parseAccessMember(t,e,!1);else if(this.consumeOptionalOperator("?."))this.consumeOptionalCharacter(40)?t=this.parseCall(t,e,!0):t=this.consumeOptionalCharacter(91)?this.parseKeyedReadOrWrite(t,e,!0):this.parseAccessMember(t,e,!0);else if(this.consumeOptionalCharacter(91))t=this.parseKeyedReadOrWrite(t,e,!1);else if(this.consumeOptionalCharacter(40))t=this.parseCall(t,e,!1);else if(this.consumeOptionalOperator("!"))t=new ee(this.span(e),this.sourceSpan(e),t);else return t}parsePrimary(){let e=this.inputIndex;if(this.consumeOptionalCharacter(40)){this.rparensExpected++;let t=this.parsePipe();return this.rparensExpected--,this.expectCharacter(41),t}else{if(this.next.isKeywordNull())return this.advance(),new A(this.span(e),this.sourceSpan(e),null);if(this.next.isKeywordUndefined())return this.advance(),new A(this.span(e),this.sourceSpan(e),void 0);if(this.next.isKeywordTrue())return this.advance(),new A(this.span(e),this.sourceSpan(e),!0);if(this.next.isKeywordFalse())return this.advance(),new A(this.span(e),this.sourceSpan(e),!1);if(this.next.isKeywordThis())return this.advance(),new Se(this.span(e),this.sourceSpan(e));if(this.consumeOptionalCharacter(91)){this.rbracketsExpected++;let t=this.parseExpressionList(93);return this.rbracketsExpected--,this.expectCharacter(93),new Z(this.span(e),this.sourceSpan(e),t)}else{if(this.next.isCharacter(123))return this.parseLiteralMap();if(this.next.isIdentifier())return this.parseAccessMember(new L(this.span(e),this.sourceSpan(e)),e,!1);if(this.next.isNumber()){let t=this.next.toNumber();return this.advance(),new A(this.span(e),this.sourceSpan(e),t)}else if(this.next.isString()){let t=this.next.toString();return this.advance(),new A(this.span(e),this.sourceSpan(e),t)}else return this.next.isPrivateIdentifier()?(this._reportErrorForPrivateIdentifier(this.next,null),new E(this.span(e),this.sourceSpan(e))):this.index>=this.tokens.length?(this.error(`Unexpected end of expression: ${this.input}`),new E(this.span(e),this.sourceSpan(e))):(this.error(`Unexpected token ${this.next}`),new E(this.span(e),this.sourceSpan(e)))}}}parseExpressionList(e){let t=[];do if(!this.next.isCharacter(e))t.push(this.parsePipe());else break;while(this.consumeOptionalCharacter(44));return t}parseLiteralMap(){let e=[],t=[],s=this.inputIndex;if(this.expectCharacter(123),!this.consumeOptionalCharacter(125)){this.rbracesExpected++;do{let n=this.inputIndex,i=this.next.isString(),a=this.expectIdentifierOrKeywordOrString();if(e.push({key:a,quoted:i}),i)this.expectCharacter(58),t.push(this.parsePipe());else if(this.consumeOptionalCharacter(58))t.push(this.parsePipe());else{let h=this.span(n),v=this.sourceSpan(n);t.push(new B(h,v,v,new L(h,v),a))}}while(this.consumeOptionalCharacter(44)&&!this.next.isCharacter(125));this.rbracesExpected--,this.expectCharacter(125)}return new J(this.span(s),this.sourceSpan(s),e,t)}parseAccessMember(e,t,s){let n=this.inputIndex,i=this.withContext(he.Writable,()=>{let v=this.expectIdentifierOrKeyword()??"";return v.length===0&&this.error("Expected identifier for property access",e.span.end),v}),a=this.sourceSpan(n),h;if(s)this.consumeOptionalAssignment()?(this.error("The '?.' operator cannot be used in the assignment"),h=new E(this.span(t),this.sourceSpan(t))):h=new H(this.span(t),this.sourceSpan(t),a,e,i);else if(this.consumeOptionalAssignment()){if(!(this.parseFlags&1))return this.error("Bindings cannot contain assignments"),new E(this.span(t),this.sourceSpan(t));let v=this.parseConditional();h=new Q(this.span(t),this.sourceSpan(t),a,e,i,v)}else h=new B(this.span(t),this.sourceSpan(t),a,e,i);return h}parseCall(e,t,s){let n=this.inputIndex;this.rparensExpected++;let i=this.parseCallArguments(),a=this.span(n,this.inputIndex).toAbsolute(this.absoluteOffset);this.expectCharacter(41),this.rparensExpected--;let h=this.span(t),v=this.sourceSpan(t);return s?new re(h,v,e,i,a):new te(h,v,e,i,a)}consumeOptionalAssignment(){return this.parseFlags&2&&this.next.isOperator("!")&&this.peek(1).isOperator("=")?(this.advance(),this.advance(),!0):this.consumeOptionalOperator("=")}parseCallArguments(){if(this.next.isCharacter(41))return[];let e=[];do e.push(this.parsePipe());while(this.consumeOptionalCharacter(44));return e}expectTemplateBindingKey(){let e="",t=!1,s=this.currentAbsoluteOffset;do e+=this.expectIdentifierOrKeywordOrString(),t=this.consumeOptionalOperator("-"),t&&(e+="-");while(t);return{source:e,span:new I(s,s+e.length)}}parseTemplateBindings(e){let t=[];for(t.push(...this.parseDirectiveKeywordBindings(e));this.index{this.rbracketsExpected++;let n=this.parsePipe();if(n instanceof E&&this.error("Key access cannot be empty"),this.rbracketsExpected--,this.expectCharacter(93),this.consumeOptionalOperator("="))if(s)this.error("The '?.' operator cannot be used in the assignment");else{let i=this.parseConditional();return new q(this.span(t),this.sourceSpan(t),e,n,i)}else return s?new z(this.span(t),this.sourceSpan(t),e,n):new j(this.span(t),this.sourceSpan(t),e,n);return new E(this.span(t),this.sourceSpan(t))})}parseDirectiveKeywordBindings(e){let t=[];this.consumeOptionalCharacter(58);let s=this.getDirectiveBoundTarget(),n=this.currentAbsoluteOffset,i=this.parseAsBinding(e);i||(this.consumeStatementTerminator(),n=this.currentAbsoluteOffset);let a=new I(e.span.start,n);return t.push(new se(a,e,s)),i&&t.push(i),t}getDirectiveBoundTarget(){if(this.next===Ce||this.peekKeywordAs()||this.peekKeywordLet())return null;let e=this.parsePipe(),{start:t,end:s}=e.span,n=this.input.substring(t,s);return new R(e,n,this.location,this.absoluteOffset+t,this.errors)}parseAsBinding(e){if(!this.peekKeywordAs())return null;this.advance();let t=this.expectTemplateBindingKey();this.consumeStatementTerminator();let s=new I(e.span.start,this.currentAbsoluteOffset);return new T(s,t,e)}parseLetBinding(){if(!this.peekKeywordLet())return null;let e=this.currentAbsoluteOffset;this.advance();let t=this.expectTemplateBindingKey(),s=null;this.consumeOptionalOperator("=")&&(s=this.expectTemplateBindingKey()),this.consumeStatementTerminator();let n=new I(e,this.currentAbsoluteOffset);return new T(n,t,s)}consumeStatementTerminator(){this.consumeOptionalCharacter(59)||this.consumeOptionalCharacter(44)}error(e,t=null){this.errors.push(new G(e,this.input,this.locationText(t),this.location)),this.skip()}locationText(e=null){return e==null&&(e=this.index),eh+v.length,0);s+=a,t+=a}e.set(s,t),n++}return e}var dt="angular-estree-parser",Ve="NgEstreeParser",De=0,We=[dt,De];function vt(){return new ve(new xe)}function Qe(r,e){let t=vt(),{astInput:s,comments:n}=Ir(r,t),{ast:i,errors:a}=e(s,t);return yt(a),{ast:i,comments:n}}function gt(r){return Qe(r,(e,t)=>t.parseBinding(e,...We))}function mt(r){return Qe(r,(e,t)=>t.parseAction(e,!1,...We))}function St(r){return Qe(r,(e,t)=>{let s=t.parseInterpolationExpression(e,...We);return s.ast=s.ast.expressions[0],s})}function wt(r){let e=vt(),{templateBindings:t,errors:s}=e.parseTemplateBindings(Ve,r,dt,De,De);return yt(s),t}function yt(r){if(r.length!==0){let[{message:e}]=r;throw new SyntaxError(e.replace(/^Parser Error: | at column \d+ in [^]*$/g,""))}}function Ir(r,e){let t=e._commentStart(r);return t===null?{astInput:r,comments:[]}:{astInput:r.slice(0,t),comments:[{type:"Comment",value:r.slice(t+2),sourceSpan:{start:t,end:r.length}}]}}function Et(r){return r instanceof K?"Unary":r instanceof $?"Binary":r instanceof X?"BindingPipe":r instanceof te?"Call":r instanceof V?"Chain":r instanceof W?"Conditional":r instanceof E?"EmptyExpr":r instanceof L?"ImplicitReceiver":r instanceof j?"KeyedRead":r instanceof z?"SafeKeyedRead":r instanceof q?"KeyedWrite":r instanceof Z?"LiteralArray":r instanceof J?"LiteralMap":r instanceof A?"LiteralPrimitive":r instanceof ee?"NonNullAssert":r instanceof Y?"PrefixNot":r instanceof B?"PropertyRead":r instanceof Q?"PropertyWrite":r instanceof re?"SafeCall":r instanceof H?"SafePropertyRead":r.type}function ft({start:r,end:e},t){let s=r,n=e;for(;n!==s&&/\s/.test(t[n-1]);)n--;for(;s!==n&&/\s/.test(t[s]);)s++;return{start:s,end:n}}function Rr({start:r,end:e},t){let s=r,n=e;for(;n!==t.length&&/\s/.test(t[n]);)n++;for(;s!==0&&/\s/.test(t[s-1]);)s--;return{start:s,end:n}}function Pr(r,e){return e[r.start-1]==="("&&e[r.end]===")"?{start:r.start-1,end:r.end+1}:r}function At(r,e,t){let s=0,n={start:r.start,end:r.end};for(;;){let i=Rr(n,e),a=Pr(i,e);if(i.start===a.start&&i.end===a.end)break;n.start=a.start,n.end=a.end,s++}return{hasParens:(t?s-1:s)!==0,outerSpan:ft(t?{start:n.start+1,end:n.end-1}:n,e),innerSpan:ft(r,e)}}function $t(r,e,t){let s=e;for(;!r.test(t[s]);)if(--s<0)throw new Error(`Cannot find front char ${r} from index ${e} in ${JSON.stringify(t)}`);return s}function Oe(r,e,t){let s=e;for(;!r.test(t[s]);)if(++s>=t.length)throw new Error(`Cannot find back char ${r} from index ${e} in ${JSON.stringify(t)}`);return s}function Ct(r){return r.slice(0,1).toLowerCase()+r.slice(1)}function Ot(r){return r.length===0?void 0:r[r.length-1]}var pe=(r,e,t=!1)=>{let s=Et(r);switch(s){case"Unary":{let{operator:c,expr:o}=r,x=n(o);return a("UnaryExpression",{prefix:!0,argument:x,operator:c},r.sourceSpan,{hasParentParens:t})}case"Binary":{let{left:c,operation:o,right:x}=r,p=n(c),u=n(x);return a(o==="&&"||o==="||"||o==="??"?"LogicalExpression":"BinaryExpression",{left:p,right:u,operator:o},{start:y(p),end:m(u)},{hasParentParens:t})}case"BindingPipe":{let{exp:c,name:o,args:x}=r,p=n(c),u=f(/\S/,f(/\|/,m(p))+1),g=a("Identifier",{name:o},{start:u,end:u+o.length}),l=x.map(n);return a("NGPipeExpression",{left:p,right:g,arguments:l},{start:y(p),end:m(l.length===0?g:Ot(l))},{hasParentParens:t})}case"Chain":{let{expressions:c}=r;return a("NGChainedExpression",{expressions:c.map(n)},r.sourceSpan,{hasParentParens:t})}case"Comment":{let{value:c}=r;return a("CommentLine",{value:c},r.sourceSpan,{processSpan:!1})}case"Conditional":{let{condition:c,trueExp:o,falseExp:x}=r,p=n(c),u=n(o),g=n(x);return a("ConditionalExpression",{test:p,consequent:u,alternate:g},{start:y(p),end:m(g)},{hasParentParens:t})}case"EmptyExpr":return a("NGEmptyExpression",{},r.sourceSpan,{hasParentParens:t});case"ImplicitReceiver":return a("ThisExpression",{},r.sourceSpan,{hasParentParens:t});case"KeyedRead":case"SafeKeyedRead":{let c=s==="SafeKeyedRead",{key:o}=r,x=Object.prototype.hasOwnProperty.call(r,"receiver")?r.receiver:r.obj,p=n(o);return h(x,p,{computed:!0,optional:c},{end:r.sourceSpan.end,hasParentParens:t})}case"LiteralArray":{let{expressions:c}=r;return a("ArrayExpression",{elements:c.map(n)},r.sourceSpan,{hasParentParens:t})}case"LiteralMap":{let{keys:c,values:o}=r,x=o.map(u=>n(u)),p=c.map(({key:u,quoted:g},l)=>{let O=x[l],ue=y(O),qe=m(O),Re=f(/\S/,l===0?r.sourceSpan.start+1:f(/,/,m(x[l-1]))+1),bt=ue===Re?qe:v(/\S/,v(/:/,ue-1)-1)+1,Xe={start:Re,end:bt},ge=g?a("StringLiteral",{value:u},Xe):a("Identifier",{name:u},Xe),Bt=ge.end=c.sourceSpan.end||/^\s+$/.test(e.text.slice(c.sourceSpan.start,c.sourceSpan.end))}function k(c){return(c.type==="OptionalCallExpression"||c.type==="OptionalMemberExpression")&&!C(c)}function C(c){return c.extra&&c.extra.parenthesized}function y(c){return C(c)?c.extra.parenStart:c.start}function m(c){return C(c)?c.extra.parenEnd:c.end}};function Ne(r,e,t=!1,s=!1){if(!t){let{start:h,end:v}=r;return{start:h,end:v,loc:{start:e.locator.locationForIndex(h),end:e.locator.locationForIndex(v)}}}let{outerSpan:n,innerSpan:i,hasParens:a}=At(r,e.text,s);return{start:i.start,end:i.end,loc:{start:e.locator.locationForIndex(i.start),end:e.locator.locationForIndex(i.end)},...a&&{extra:{parenthesized:!0,parenStart:n.start,parenEnd:n.end}}}}function Nt(r,e){r.forEach(y);let[t]=r,{key:s}=t,n=e.text.slice(t.sourceSpan.start,t.sourceSpan.end).trim().length===0?r.slice(1):r,i=[],a=null;for(let o=0;o({...O,...Ne({start:O.start,end:ue},e)}),g=O=>({...u(O,p.end),alias:p}),l=i.pop();if(l.type==="NGMicrosyntaxExpression")i.push(g(l));else if(l.type==="NGMicrosyntaxKeyedExpression"){let O=g(l.expression);i.push(u({...l,expression:O},O.end))}else throw new Error(`Unexpected type ${l.type}`)}else i.push(h(x,o));a=x}return f("NGMicrosyntax",{body:i},i.length===0?r[0].sourceSpan:{start:i[0].start,end:i[i.length-1].end});function h(o,x){if(k(o)){let{key:p,value:u}=o;return u?x===0?f("NGMicrosyntaxExpression",{expression:v(u.ast),alias:null},u.sourceSpan):f("NGMicrosyntaxKeyedExpression",{key:f("NGMicrosyntaxKey",{name:w(p.source)},p.span),expression:f("NGMicrosyntaxExpression",{expression:v(u.ast),alias:null},u.sourceSpan)},{start:p.span.start,end:u.sourceSpan.end}):f("NGMicrosyntaxKey",{name:w(p.source)},p.span)}else{let{key:p,sourceSpan:u}=o;if(/^let\s$/.test(e.text.slice(u.start,u.start+4))){let{value:l}=o;return f("NGMicrosyntaxLet",{key:f("NGMicrosyntaxKey",{name:p.source},p.span),value:l?f("NGMicrosyntaxKey",{name:l.source},l.span):null},{start:u.start,end:l?l.span.end:p.span.end})}else{let l=c(o);return f("NGMicrosyntaxAs",{key:f("NGMicrosyntaxKey",{name:l.source},l.span),alias:f("NGMicrosyntaxKey",{name:p.source},p.span)},{start:l.span.start,end:p.span.end})}}}function v(o){return pe(o,e)}function f(o,x,p,u=!0){return{type:o,...Ne(p,e,u),...x}}function w(o){return Ct(o.slice(s.source.length))}function k(o){return o instanceof se}function C(o){return o instanceof T}function y(o){m(o.key.span),C(o)&&o.value&&m(o.value.span)}function m(o){if(e.text[o.start]!=='"'&&e.text[o.start]!=="'")return;let x=e.text[o.start],p=!1;for(let u=o.start+1;upe(h,n),a=i(t);return a.comments=s.map(h=>i(h)),a}function kt(r){return He(r,gt)}function It(r){return He(r,St)}function je(r){return He(r,mt)}function Rt(r){return Nt(wt(r),new le(r))}function Lr(r){return Array.isArray(r)&&r.length>0}var Pt=Lr;function ze(r){var s;let e=r.range?r.range[0]:r.start,t=((s=r.declaration)==null?void 0:s.decorators)??r.decorators;return Pt(t)?Math.min(ze(t[0]),e):e}function Lt(r){return r.range?r.range[1]:r.end}function ke(r){return{astFormat:"estree",parse(e){let t=r(e);return{type:"NGRoot",node:r===je&&t.type!=="NGChainedExpression"?{...t,type:"NGChainedExpression",expressions:[t]}:t}},locStart:ze,locEnd:Lt}}var br=ke(je),Br=ke(kt),Kr=ke(It),Tr=ke(Rt);return Ft(_r);}); \ No newline at end of file +(function(n){function e(){var i=n();return i.default||i}if(typeof exports=="object"&&typeof module=="object")module.exports=e();else if(typeof define=="function"&&define.amd)define(e);else{var t=typeof globalThis<"u"?globalThis:typeof global<"u"?global:typeof self<"u"?self:this||{};t.prettierPlugins=t.prettierPlugins||{},t.prettierPlugins.angular=e()}})(function(){"use strict";var Ut=Object.defineProperty;var Je=Object.getOwnPropertyDescriptor;var Xe=Object.getOwnPropertyNames;var ts=Object.prototype.hasOwnProperty;var ae=r=>{throw TypeError(r)};var oe=(r,t)=>{for(var e in t)Ut(r,e,{get:t[e],enumerable:!0})},es=(r,t,e,s)=>{if(t&&typeof t=="object"||typeof t=="function")for(let i of Xe(t))!ts.call(r,i)&&i!==e&&Ut(r,i,{get:()=>t[i],enumerable:!(s=Je(t,i))||s.enumerable});return r};var ss=r=>es(Ut({},"__esModule",{value:!0}),r);var Ft=(r,t,e)=>t.has(r)||ae("Cannot "+e);var O=(r,t,e)=>(Ft(r,t,"read from private field"),e?e.call(r):t.get(r)),P=(r,t,e)=>t.has(r)?ae("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(r):t.set(r,e),Y=(r,t,e,s)=>(Ft(r,t,"write to private field"),s?s.call(r,e):t.set(r,e),e),c=(r,t,e)=>(Ft(r,t,"access private method"),e);var rr={};oe(rr,{parsers:()=>ne});var ne={};oe(ne,{__ng_action:()=>Xs,__ng_binding:()=>tr,__ng_directive:()=>sr,__ng_interpolation:()=>er});var Z=class{constructor(t,e,s,i){this.input=e,this.errLocation=s,this.ctxLocation=i,this.message=`Parser Error: ${t} ${s} [${e}] in ${i}`}},b=class{constructor(t,e){this.start=t,this.end=e}toAbsolute(t){return new L(t+this.start,t+this.end)}},m=class{constructor(t,e){this.span=t,this.sourceSpan=e}toString(){return"AST"}},J=class extends m{constructor(t,e,s){super(t,e),this.nameSpan=s}},$=class extends m{visit(t,e=null){}},K=class extends m{visit(t,e=null){return t.visitImplicitReceiver(this,e)}},Lt=class extends K{visit(t,e=null){var s;return(s=t.visitThisReceiver)==null?void 0:s.call(t,this,e)}},X=class extends m{constructor(t,e,s){super(t,e),this.expressions=s}visit(t,e=null){return t.visitChain(this,e)}},tt=class extends m{constructor(t,e,s,i,n){super(t,e),this.condition=s,this.trueExp=i,this.falseExp=n}visit(t,e=null){return t.visitConditional(this,e)}},M=class extends J{constructor(t,e,s,i,n){super(t,e,s),this.receiver=i,this.name=n}visit(t,e=null){return t.visitPropertyRead(this,e)}},et=class extends J{constructor(t,e,s,i,n,a){super(t,e,s),this.receiver=i,this.name=n,this.value=a}visit(t,e=null){return t.visitPropertyWrite(this,e)}},_=class extends J{constructor(t,e,s,i,n){super(t,e,s),this.receiver=i,this.name=n}visit(t,e=null){return t.visitSafePropertyRead(this,e)}},st=class extends m{constructor(t,e,s,i){super(t,e),this.receiver=s,this.key=i}visit(t,e=null){return t.visitKeyedRead(this,e)}},U=class extends m{constructor(t,e,s,i){super(t,e),this.receiver=s,this.key=i}visit(t,e=null){return t.visitSafeKeyedRead(this,e)}},rt=class extends m{constructor(t,e,s,i,n){super(t,e),this.receiver=s,this.key=i,this.value=n}visit(t,e=null){return t.visitKeyedWrite(this,e)}},it=class extends J{constructor(t,e,s,i,n,a){super(t,e,a),this.exp=s,this.name=i,this.args=n}visit(t,e=null){return t.visitPipe(this,e)}},E=class extends m{constructor(t,e,s){super(t,e),this.value=s}visit(t,e=null){return t.visitLiteralPrimitive(this,e)}},nt=class extends m{constructor(t,e,s){super(t,e),this.expressions=s}visit(t,e=null){return t.visitLiteralArray(this,e)}},at=class extends m{constructor(t,e,s,i){super(t,e),this.keys=s,this.values=i}visit(t,e=null){return t.visitLiteralMap(this,e)}},ot=class extends m{constructor(t,e,s,i){super(t,e),this.strings=s,this.expressions=i}visit(t,e=null){return t.visitInterpolation(this,e)}},A=class extends m{constructor(t,e,s,i,n){super(t,e),this.operation=s,this.left=i,this.right=n}visit(t,e=null){return t.visitBinary(this,e)}},F=class r extends A{static createMinus(t,e,s){return new r(t,e,"-",s,"-",new E(t,e,0),s)}static createPlus(t,e,s){return new r(t,e,"+",s,"-",s,new E(t,e,0))}constructor(t,e,s,i,n,a,o){super(t,e,n,a,o),this.operator=s,this.expr=i,this.left=null,this.right=null,this.operation=null}visit(t,e=null){return t.visitUnary!==void 0?t.visitUnary(this,e):t.visitBinary(this,e)}},ct=class extends m{constructor(t,e,s){super(t,e),this.expression=s}visit(t,e=null){return t.visitPrefixNot(this,e)}},ht=class extends m{constructor(t,e,s){super(t,e),this.expression=s}visit(t,e=null){return t.visitNonNullAssert(this,e)}},pt=class extends m{constructor(t,e,s,i,n){super(t,e),this.receiver=s,this.args=i,this.argumentSpan=n}visit(t,e=null){return t.visitCall(this,e)}},D=class extends m{constructor(t,e,s,i,n){super(t,e),this.receiver=s,this.args=i,this.argumentSpan=n}visit(t,e=null){return t.visitSafeCall(this,e)}},L=class{constructor(t,e){this.start=t,this.end=e}},R=class extends m{constructor(t,e,s,i,n){super(new b(0,e===null?0:e.length),new L(i,e===null?i:i+e.length)),this.ast=t,this.source=e,this.location=s,this.errors=n}visit(t,e=null){return t.visitASTWithSource?t.visitASTWithSource(this,e):this.ast.visit(t,e)}toString(){return`${this.source} in ${this.location}`}},W=class{constructor(t,e,s){this.sourceSpan=t,this.key=e,this.value=s}},ut=class{constructor(t,e,s){this.sourceSpan=t,this.key=e,this.value=s}},Rt=class{visit(t,e){t.visit(this,e)}visitUnary(t,e){this.visit(t.expr,e)}visitBinary(t,e){this.visit(t.left,e),this.visit(t.right,e)}visitChain(t,e){this.visitAll(t.expressions,e)}visitConditional(t,e){this.visit(t.condition,e),this.visit(t.trueExp,e),this.visit(t.falseExp,e)}visitPipe(t,e){this.visit(t.exp,e),this.visitAll(t.args,e)}visitImplicitReceiver(t,e){}visitThisReceiver(t,e){}visitInterpolation(t,e){this.visitAll(t.expressions,e)}visitKeyedRead(t,e){this.visit(t.receiver,e),this.visit(t.key,e)}visitKeyedWrite(t,e){this.visit(t.receiver,e),this.visit(t.key,e),this.visit(t.value,e)}visitLiteralArray(t,e){this.visitAll(t.expressions,e)}visitLiteralMap(t,e){this.visitAll(t.values,e)}visitLiteralPrimitive(t,e){}visitPrefixNot(t,e){this.visit(t.expression,e)}visitNonNullAssert(t,e){this.visit(t.expression,e)}visitPropertyRead(t,e){this.visit(t.receiver,e)}visitPropertyWrite(t,e){this.visit(t.receiver,e),this.visit(t.value,e)}visitSafePropertyRead(t,e){this.visit(t.receiver,e)}visitSafeKeyedRead(t,e){this.visit(t.receiver,e),this.visit(t.key,e)}visitCall(t,e){this.visit(t.receiver,e),this.visitAll(t.args,e)}visitSafeCall(t,e){this.visit(t.receiver,e),this.visitAll(t.args,e)}visitAll(t,e){for(let s of t)this.visit(s,e)}};var ce;(function(r){r[r.DEFAULT=0]="DEFAULT",r[r.LITERAL_ATTR=1]="LITERAL_ATTR",r[r.ANIMATION=2]="ANIMATION",r[r.TWO_WAY=3]="TWO_WAY"})(ce||(ce={}));var he;(function(r){r[r.Regular=0]="Regular",r[r.Animation=1]="Animation",r[r.TwoWay=2]="TwoWay"})(he||(he={}));var pe;(function(r){r[r.Property=0]="Property",r[r.Attribute=1]="Attribute",r[r.Class=2]="Class",r[r.Style=3]="Style",r[r.Animation=4]="Animation",r[r.TwoWay=5]="TwoWay"})(pe||(pe={}));function ue(r){return r>=9&&r<=32||r==160}function B(r){return 48<=r&&r<=57}function le(r){return r>=97&&r<=122||r>=65&&r<=90}function Dt(r){return r===39||r===34||r===96}var l;(function(r){r[r.Character=0]="Character",r[r.Identifier=1]="Identifier",r[r.PrivateIdentifier=2]="PrivateIdentifier",r[r.Keyword=3]="Keyword",r[r.String=4]="String",r[r.Operator=5]="Operator",r[r.Number=6]="Number",r[r.Error=7]="Error"})(l||(l={}));var Ps=["var","let","as","null","undefined","true","false","if","else","this"],yt=class{tokenize(t){let e=new Vt(t),s=[],i=e.scanToken();for(;i!=null;)s.push(i),i=e.scanToken();return s}},I=class{constructor(t,e,s,i,n){this.index=t,this.end=e,this.type=s,this.numValue=i,this.strValue=n}isCharacter(t){return this.type==l.Character&&this.numValue==t}isNumber(){return this.type==l.Number}isString(){return this.type==l.String}isOperator(t){return this.type==l.Operator&&this.strValue==t}isIdentifier(){return this.type==l.Identifier}isPrivateIdentifier(){return this.type==l.PrivateIdentifier}isKeyword(){return this.type==l.Keyword}isKeywordLet(){return this.type==l.Keyword&&this.strValue=="let"}isKeywordAs(){return this.type==l.Keyword&&this.strValue=="as"}isKeywordNull(){return this.type==l.Keyword&&this.strValue=="null"}isKeywordUndefined(){return this.type==l.Keyword&&this.strValue=="undefined"}isKeywordTrue(){return this.type==l.Keyword&&this.strValue=="true"}isKeywordFalse(){return this.type==l.Keyword&&this.strValue=="false"}isKeywordThis(){return this.type==l.Keyword&&this.strValue=="this"}isError(){return this.type==l.Error}toNumber(){return this.type==l.Number?this.numValue:-1}toString(){switch(this.type){case l.Character:case l.Identifier:case l.Keyword:case l.Operator:case l.PrivateIdentifier:case l.String:case l.Error:return this.strValue;case l.Number:return this.numValue.toString();default:return null}}};function ge(r,t,e){return new I(r,t,l.Character,e,String.fromCharCode(e))}function bs(r,t,e){return new I(r,t,l.Identifier,0,e)}function Ks(r,t,e){return new I(r,t,l.PrivateIdentifier,0,e)}function Bs(r,t,e){return new I(r,t,l.Keyword,0,e)}function Gt(r,t,e){return new I(r,t,l.Operator,0,e)}function Ts(r,t,e){return new I(r,t,l.String,0,e)}function Ms(r,t,e){return new I(r,t,l.Number,e,"")}function _s(r,t,e){return new I(r,t,l.Error,0,e)}var Bt=new I(-1,-1,l.Character,0,""),Vt=class{constructor(t){this.input=t,this.peek=0,this.index=-1,this.length=t.length,this.advance()}advance(){this.peek=++this.index>=this.length?0:this.input.charCodeAt(this.index)}scanToken(){let t=this.input,e=this.length,s=this.peek,i=this.index;for(;s<=32;)if(++i>=e){s=0;break}else s=t.charCodeAt(i);if(this.peek=s,this.index=i,i>=e)return null;if(me(s))return this.scanIdentifier();if(B(s))return this.scanNumber(i);let n=i;switch(s){case 46:return this.advance(),B(this.peek)?this.scanNumber(n):ge(n,this.index,46);case 40:case 41:case 123:case 125:case 91:case 93:case 44:case 58:case 59:return this.scanCharacter(n,s);case 39:case 34:return this.scanString();case 35:return this.scanPrivateIdentifier();case 43:case 45:case 42:case 47:case 37:case 94:return this.scanOperator(n,String.fromCharCode(s));case 63:return this.scanQuestion(n);case 60:case 62:return this.scanComplexOperator(n,String.fromCharCode(s),61,"=");case 33:case 61:return this.scanComplexOperator(n,String.fromCharCode(s),61,"=",61,"=");case 38:return this.scanComplexOperator(n,"&",38,"&");case 124:return this.scanComplexOperator(n,"|",124,"|");case 160:for(;ue(this.peek);)this.advance();return this.scanToken()}return this.advance(),this.error(`Unexpected character [${String.fromCharCode(s)}]`,0)}scanCharacter(t,e){return this.advance(),ge(t,this.index,e)}scanOperator(t,e){return this.advance(),Gt(t,this.index,e)}scanComplexOperator(t,e,s,i,n,a){this.advance();let o=e;return this.peek==s&&(this.advance(),o+=i),n!=null&&this.peek==n&&(this.advance(),o+=a),Gt(t,this.index,o)}scanIdentifier(){let t=this.index;for(this.advance();Se(this.peek);)this.advance();let e=this.input.substring(t,this.index);return Ps.indexOf(e)>-1?Bs(t,this.index,e):bs(t,this.index,e)}scanPrivateIdentifier(){let t=this.index;if(this.advance(),!me(this.peek))return this.error("Invalid character [#]",-1);for(;Se(this.peek);)this.advance();let e=this.input.substring(t,this.index);return Ks(t,this.index,e)}scanNumber(t){let e=this.index===t,s=!1;for(this.advance();;){if(!B(this.peek))if(this.peek===95){if(!B(this.input.charCodeAt(this.index-1))||!B(this.input.charCodeAt(this.index+1)))return this.error("Invalid numeric separator",0);s=!0}else if(this.peek===46)e=!1;else if(Us(this.peek)){if(this.advance(),Fs(this.peek)&&this.advance(),!B(this.peek))return this.error("Invalid exponent",-1);e=!1}else break;this.advance()}let i=this.input.substring(t,this.index);s&&(i=i.replace(/_/g,""));let n=e?Ws(i):parseFloat(i);return Ms(t,this.index,n)}scanString(){let t=this.index,e=this.peek;this.advance();let s="",i=this.index,n=this.input;for(;this.peek!=e;)if(this.peek==92){s+=n.substring(i,this.index);let o;if(this.advance(),this.peek==117){let p=n.substring(this.index+1,this.index+5);if(/^[0-9a-f]+$/i.test(p))o=parseInt(p,16);else return this.error(`Invalid unicode escape [\\u${p}]`,0);for(let u=0;u<5;u++)this.advance()}else o=Ds(this.peek),this.advance();s+=String.fromCharCode(o),i=this.index}else{if(this.peek==0)return this.error("Unterminated quote",0);this.advance()}let a=n.substring(i,this.index);return this.advance(),Ts(t,this.index,s+a)}scanQuestion(t){this.advance();let e="?";return(this.peek===63||this.peek===46)&&(e+=this.peek===46?".":"?",this.advance()),Gt(t,this.index,e)}error(t,e){let s=this.index+e;return _s(s,this.index,`Lexer Error: ${t} at column ${s} in expression [${this.input}]`)}};function me(r){return 97<=r&&r<=122||65<=r&&r<=90||r==95||r==36}function Se(r){return le(r)||B(r)||r==95||r==36}function Us(r){return r==101||r==69}function Fs(r){return r==45||r==43}function Ds(r){switch(r){case 110:return 10;case 102:return 12;case 114:return 13;case 116:return 9;case 118:return 11;default:return r}}function Ws(r){let t=parseInt(r);if(isNaN(t))throw new Error("Invalid integer literal when parsing "+r);return t}var Gs=[/@/,/^\s*$/,/[<>]/,/^[{}]$/,/&(#|[a-z])/i,/^\/\//];function Ee(r,t){if(t!=null&&!(Array.isArray(t)&&t.length==2))throw new Error(`Expected '${r}' to be an array, [start, end].`);if(t!=null){let e=t[0],s=t[1];Gs.forEach(i=>{if(i.test(e)||i.test(s))throw new Error(`['${e}', '${s}'] contains unusable interpolation symbol.`)})}}var zt=class r{static fromArray(t){return t?(Ee("interpolation",t),new r(t[0],t[1])):Q}constructor(t,e){this.start=t,this.end=e}},Q=new zt("{{","}}");var qt=class{constructor(t,e,s){this.strings=t,this.expressions=e,this.offsets=s}},Ht=class{constructor(t,e,s){this.templateBindings=t,this.warnings=e,this.errors=s}},mt=class{constructor(t){this._lexer=t,this.errors=[]}parseAction(t,e,s,i=Q){this._checkNoInterpolation(t,e,i);let n=this._stripComments(t),a=this._lexer.tokenize(n),o=new z(t,e,s,a,1,this.errors,0).parseChain();return new R(o,t,e,s,this.errors)}parseBinding(t,e,s,i=Q){let n=this._parseBindingAst(t,e,s,i);return new R(n,t,e,s,this.errors)}checkSimpleExpression(t){let e=new jt;return t.visit(e),e.errors}parseSimpleBinding(t,e,s,i=Q){let n=this._parseBindingAst(t,e,s,i),a=this.checkSimpleExpression(n);return a.length>0&&this._reportError(`Host binding expression cannot contain ${a.join(" ")}`,t,e),new R(n,t,e,s,this.errors)}_reportError(t,e,s,i){this.errors.push(new Z(t,e,s,i))}_parseBindingAst(t,e,s,i){this._checkNoInterpolation(t,e,i);let n=this._stripComments(t),a=this._lexer.tokenize(n);return new z(t,e,s,a,0,this.errors,0).parseChain()}parseTemplateBindings(t,e,s,i,n){let a=this._lexer.tokenize(e);return new z(e,s,n,a,0,this.errors,0).parseTemplateBindings({source:t,span:new L(i,i+t.length)})}parseInterpolation(t,e,s,i,n=Q){let{strings:a,expressions:o,offsets:p}=this.splitInterpolation(t,e,i,n);if(o.length===0)return null;let u=[];for(let f=0;ff.text),u,t,e,s)}parseInterpolationExpression(t,e,s){let i=this._stripComments(t),n=this._lexer.tokenize(i),a=new z(t,e,s,n,0,this.errors,0).parseChain(),o=["",""];return this.createInterpolationAst(o,[a],t,e,s)}createInterpolationAst(t,e,s,i,n){let a=new b(0,s.length),o=new ot(a,a.toAbsolute(n),t,e);return new R(o,s,i,n,this.errors)}splitInterpolation(t,e,s,i=Q){let n=[],a=[],o=[],p=s?Vs(s):null,u=0,f=!1,S=!1,{start:g,end:y}=i;for(;u-1)break;n>-1&&a>-1&&this._reportError(`Got interpolation (${s}${i}) where expression was expected`,t,`at column ${n} in`,e)}_getInterpolationEndIndex(t,e,s){for(let i of this._forEachUnquotedChar(t,s)){if(t.startsWith(e,i))return i;if(t.startsWith("//",i))return t.indexOf(e,i)}return-1}*_forEachUnquotedChar(t,e){let s=null,i=0;for(let n=e;n=this.tokens.length}get inputIndex(){return this.atEOF?this.currentEndIndex:this.next.index+this.offset}get currentEndIndex(){return this.index>0?this.peek(-1).end+this.offset:this.tokens.length===0?this.input.length+this.offset:this.next.index+this.offset}get currentAbsoluteOffset(){return this.absoluteOffset+this.inputIndex}span(t,e){let s=this.currentEndIndex;if(e!==void 0&&e>this.currentEndIndex&&(s=e),t>s){let i=s;s=t,t=i}return new b(t,s)}sourceSpan(t,e){let s=`${t}@${this.inputIndex}:${e}`;return this.sourceSpanCache.has(s)||this.sourceSpanCache.set(s,this.span(t,e).toAbsolute(this.absoluteOffset)),this.sourceSpanCache.get(s)}advance(){this.index++}withContext(t,e){this.context|=t;let s=e();return this.context^=t,s}consumeOptionalCharacter(t){return this.next.isCharacter(t)?(this.advance(),!0):!1}peekKeywordLet(){return this.next.isKeywordLet()}peekKeywordAs(){return this.next.isKeywordAs()}expectCharacter(t){this.consumeOptionalCharacter(t)||this.error(`Missing expected ${String.fromCharCode(t)}`)}consumeOptionalOperator(t){return this.next.isOperator(t)?(this.advance(),!0):!1}expectOperator(t){this.consumeOptionalOperator(t)||this.error(`Missing expected operator ${t}`)}prettyPrintToken(t){return t===Bt?"end of input":`token ${t}`}expectIdentifierOrKeyword(){let t=this.next;return!t.isIdentifier()&&!t.isKeyword()?(t.isPrivateIdentifier()?this._reportErrorForPrivateIdentifier(t,"expected identifier or keyword"):this.error(`Unexpected ${this.prettyPrintToken(t)}, expected identifier or keyword`),null):(this.advance(),t.toString())}expectIdentifierOrKeywordOrString(){let t=this.next;return!t.isIdentifier()&&!t.isKeyword()&&!t.isString()?(t.isPrivateIdentifier()?this._reportErrorForPrivateIdentifier(t,"expected identifier, keyword or string"):this.error(`Unexpected ${this.prettyPrintToken(t)}, expected identifier, keyword, or string`),""):(this.advance(),t.toString())}parseChain(){let t=[],e=this.inputIndex;for(;this.index":case"<=":case">=":this.advance();let i=this.parseAdditive();e=new A(this.span(t),this.sourceSpan(t),s,e,i);continue}break}return e}parseAdditive(){let t=this.inputIndex,e=this.parseMultiplicative();for(;this.next.type==l.Operator;){let s=this.next.strValue;switch(s){case"+":case"-":this.advance();let i=this.parseMultiplicative();e=new A(this.span(t),this.sourceSpan(t),s,e,i);continue}break}return e}parseMultiplicative(){let t=this.inputIndex,e=this.parsePrefix();for(;this.next.type==l.Operator;){let s=this.next.strValue;switch(s){case"*":case"%":case"/":this.advance();let i=this.parsePrefix();e=new A(this.span(t),this.sourceSpan(t),s,e,i);continue}break}return e}parsePrefix(){if(this.next.type==l.Operator){let t=this.inputIndex,e=this.next.strValue,s;switch(e){case"+":return this.advance(),s=this.parsePrefix(),F.createPlus(this.span(t),this.sourceSpan(t),s);case"-":return this.advance(),s=this.parsePrefix(),F.createMinus(this.span(t),this.sourceSpan(t),s);case"!":return this.advance(),s=this.parsePrefix(),new ct(this.span(t),this.sourceSpan(t),s)}}return this.parseCallChain()}parseCallChain(){let t=this.inputIndex,e=this.parsePrimary();for(;;)if(this.consumeOptionalCharacter(46))e=this.parseAccessMember(e,t,!1);else if(this.consumeOptionalOperator("?."))this.consumeOptionalCharacter(40)?e=this.parseCall(e,t,!0):e=this.consumeOptionalCharacter(91)?this.parseKeyedReadOrWrite(e,t,!0):this.parseAccessMember(e,t,!0);else if(this.consumeOptionalCharacter(91))e=this.parseKeyedReadOrWrite(e,t,!1);else if(this.consumeOptionalCharacter(40))e=this.parseCall(e,t,!1);else if(this.consumeOptionalOperator("!"))e=new ht(this.span(t),this.sourceSpan(t),e);else return e}parsePrimary(){let t=this.inputIndex;if(this.consumeOptionalCharacter(40)){this.rparensExpected++;let e=this.parsePipe();return this.rparensExpected--,this.expectCharacter(41),e}else{if(this.next.isKeywordNull())return this.advance(),new E(this.span(t),this.sourceSpan(t),null);if(this.next.isKeywordUndefined())return this.advance(),new E(this.span(t),this.sourceSpan(t),void 0);if(this.next.isKeywordTrue())return this.advance(),new E(this.span(t),this.sourceSpan(t),!0);if(this.next.isKeywordFalse())return this.advance(),new E(this.span(t),this.sourceSpan(t),!1);if(this.next.isKeywordThis())return this.advance(),new Lt(this.span(t),this.sourceSpan(t));if(this.consumeOptionalCharacter(91)){this.rbracketsExpected++;let e=this.parseExpressionList(93);return this.rbracketsExpected--,this.expectCharacter(93),new nt(this.span(t),this.sourceSpan(t),e)}else{if(this.next.isCharacter(123))return this.parseLiteralMap();if(this.next.isIdentifier())return this.parseAccessMember(new K(this.span(t),this.sourceSpan(t)),t,!1);if(this.next.isNumber()){let e=this.next.toNumber();return this.advance(),new E(this.span(t),this.sourceSpan(t),e)}else if(this.next.isString()){let e=this.next.toString();return this.advance(),new E(this.span(t),this.sourceSpan(t),e)}else return this.next.isPrivateIdentifier()?(this._reportErrorForPrivateIdentifier(this.next,null),new $(this.span(t),this.sourceSpan(t))):this.index>=this.tokens.length?(this.error(`Unexpected end of expression: ${this.input}`),new $(this.span(t),this.sourceSpan(t))):(this.error(`Unexpected token ${this.next}`),new $(this.span(t),this.sourceSpan(t)))}}}parseExpressionList(t){let e=[];do if(!this.next.isCharacter(t))e.push(this.parsePipe());else break;while(this.consumeOptionalCharacter(44));return e}parseLiteralMap(){let t=[],e=[],s=this.inputIndex;if(this.expectCharacter(123),!this.consumeOptionalCharacter(125)){this.rbracesExpected++;do{let i=this.inputIndex,n=this.next.isString(),a=this.expectIdentifierOrKeywordOrString(),o={key:a,quoted:n};if(t.push(o),n)this.expectCharacter(58),e.push(this.parsePipe());else if(this.consumeOptionalCharacter(58))e.push(this.parsePipe());else{o.isShorthandInitialized=!0;let p=this.span(i),u=this.sourceSpan(i);e.push(new M(p,u,u,new K(p,u),a))}}while(this.consumeOptionalCharacter(44)&&!this.next.isCharacter(125));this.rbracesExpected--,this.expectCharacter(125)}return new at(this.span(s),this.sourceSpan(s),t,e)}parseAccessMember(t,e,s){let i=this.inputIndex,n=this.withContext(gt.Writable,()=>{let p=this.expectIdentifierOrKeyword()??"";return p.length===0&&this.error("Expected identifier for property access",t.span.end),p}),a=this.sourceSpan(i),o;if(s)this.consumeOptionalOperator("=")?(this.error("The '?.' operator cannot be used in the assignment"),o=new $(this.span(e),this.sourceSpan(e))):o=new _(this.span(e),this.sourceSpan(e),a,t,n);else if(this.consumeOptionalOperator("=")){if(!(this.parseFlags&1))return this.error("Bindings cannot contain assignments"),new $(this.span(e),this.sourceSpan(e));let p=this.parseConditional();o=new et(this.span(e),this.sourceSpan(e),a,t,n,p)}else o=new M(this.span(e),this.sourceSpan(e),a,t,n);return o}parseCall(t,e,s){let i=this.inputIndex;this.rparensExpected++;let n=this.parseCallArguments(),a=this.span(i,this.inputIndex).toAbsolute(this.absoluteOffset);this.expectCharacter(41),this.rparensExpected--;let o=this.span(e),p=this.sourceSpan(e);return s?new D(o,p,t,n,a):new pt(o,p,t,n,a)}parseCallArguments(){if(this.next.isCharacter(41))return[];let t=[];do t.push(this.parsePipe());while(this.consumeOptionalCharacter(44));return t}expectTemplateBindingKey(){let t="",e=!1,s=this.currentAbsoluteOffset;do t+=this.expectIdentifierOrKeywordOrString(),e=this.consumeOptionalOperator("-"),e&&(t+="-");while(e);return{source:t,span:new L(s,s+t.length)}}parseTemplateBindings(t){let e=[];for(e.push(...this.parseDirectiveKeywordBindings(t));this.index{this.rbracketsExpected++;let i=this.parsePipe();if(i instanceof $&&this.error("Key access cannot be empty"),this.rbracketsExpected--,this.expectCharacter(93),this.consumeOptionalOperator("="))if(s)this.error("The '?.' operator cannot be used in the assignment");else{let n=this.parseConditional();return new rt(this.span(e),this.sourceSpan(e),t,i,n)}else return s?new U(this.span(e),this.sourceSpan(e),t,i):new st(this.span(e),this.sourceSpan(e),t,i);return new $(this.span(e),this.sourceSpan(e))})}parseDirectiveKeywordBindings(t){let e=[];this.consumeOptionalCharacter(58);let s=this.getDirectiveBoundTarget(),i=this.currentAbsoluteOffset,n=this.parseAsBinding(t);n||(this.consumeStatementTerminator(),i=this.currentAbsoluteOffset);let a=new L(t.span.start,i);return e.push(new ut(a,t,s)),n&&e.push(n),e}getDirectiveBoundTarget(){if(this.next===Bt||this.peekKeywordAs()||this.peekKeywordLet())return null;let t=this.parsePipe(),{start:e,end:s}=t.span,i=this.input.substring(e,s);return new R(t,i,this.location,this.absoluteOffset+e,this.errors)}parseAsBinding(t){if(!this.peekKeywordAs())return null;this.advance();let e=this.expectTemplateBindingKey();this.consumeStatementTerminator();let s=new L(t.span.start,this.currentAbsoluteOffset);return new W(s,e,t)}parseLetBinding(){if(!this.peekKeywordLet())return null;let t=this.currentAbsoluteOffset;this.advance();let e=this.expectTemplateBindingKey(),s=null;this.consumeOptionalOperator("=")&&(s=this.expectTemplateBindingKey()),this.consumeStatementTerminator();let i=new L(t,this.currentAbsoluteOffset);return new W(i,e,s)}consumeStatementTerminator(){this.consumeOptionalCharacter(59)||this.consumeOptionalCharacter(44)}error(t,e=null){this.errors.push(new Z(t,this.input,this.locationText(e),this.location)),this.skip()}locationText(t=null){return t==null&&(t=this.index),to+p.length,0);s+=a,e+=a}t.set(s,e),i++}return t}function Ce({start:r,end:t},e){let s=r,i=t;for(;i!==s&&/\s/.test(e[i-1]);)i--;for(;s!==i&&/\s/.test(e[s]);)s++;return{start:s,end:i}}function zs({start:r,end:t},e){let s=r,i=t;for(;i!==e.length&&/\s/.test(e[i]);)i++;for(;s!==0&&/\s/.test(e[s-1]);)s--;return{start:s,end:i}}function qs(r,t){return t[r.start-1]==="("&&t[r.end]===")"?{start:r.start-1,end:r.end+1}:r}function Ae(r,t,e){let s=0,i={start:r.start,end:r.end};for(;;){let n=zs(i,t),a=qs(n,t);if(n.start===a.start&&n.end===a.end)break;i.start=a.start,i.end=a.end,s++}return{hasParens:(e?s-1:s)!==0,outerSpan:Ce(e?{start:i.start+1,end:i.end-1}:i,t),innerSpan:Ce(r,t)}}function Oe(r){return typeof r=="string"?t=>t===r:t=>r.test(t)}function Ie(r,t,e){let s=Oe(t);for(let i=e;i>=0;i--){let n=r[i];if(s(n))return i}throw new Error(`Cannot find front char ${t} from index ${e} in ${JSON.stringify(r)}`)}function ke(r,t,e){let s=Oe(t);for(let i=e;imt.prototype._commentStart(r);function js(r,t){let e=t?Hs(r):null;if(e===null)return{text:r,comments:[]};let s={type:"CommentLine",value:r.slice(e+2),...Ct({start:e,end:r.length})};return{text:r.slice(0,e),comments:[s]}}function At(r,t=!0){return e=>{let s=new yt,i=new mt(s),{text:n,comments:a}=js(e,t),o=r(n,i);if(o.errors.length!==0){let[{message:p}]=o.errors;throw new SyntaxError(p.replace(/^Parser Error: | at column \d+ in [^]*$/g,""))}return{result:o,comments:a,text:n}}}var Le=At((r,t)=>t.parseBinding(r,"",0)),Ys=At((r,t)=>t.parseSimpleBinding(r,"",0)),Re=At((r,t)=>t.parseAction(r,"",0)),Pe=At((r,t)=>t.parseInterpolationExpression(r,"",0)),be=At((r,t)=>t.parseTemplateBindings("",r,"",0,0),!1);var Js=(r,t,e)=>{if(!(r&&t==null))return Array.isArray(t)||typeof t=="string"?t[e<0?t.length+e:e]:t.at(e)},Tt=Js;var Yt=class{text;constructor(t){this.text=t}getCharacterIndex(t,e){return ke(this.text,t,e)}getCharacterLastIndex(t,e){return Ie(this.text,t,e)}transformSpan(t,{stripSpaces:e=!1,hasParentParens:s=!1}={}){if(!e)return Ct(t);let{outerSpan:i,innerSpan:n,hasParens:a}=Ae(t,this.text,s),o=Ct(n);return a&&(o.extra={parenthesized:!0,parenStart:i.start,parenEnd:i.end}),o}createNode(t,{stripSpaces:e=!0,hasParentParens:s=!1}={}){let{type:i,start:n,end:a}=t,o={...t,...this.transformSpan({start:n,end:a},{stripSpaces:e,hasParentParens:s})};switch(i){case"NumericLiteral":case"StringLiteral":{let p=this.text.slice(o.start,o.end),{value:u}=o;o.extra={...o.extra,raw:p,rawValue:u};break}case"ObjectProperty":{let{shorthand:p}=o;p&&(o.extra={...o.extra,shorthand:p});break}}return o}},Ke=Yt;function Jt(r){var t;return!!((t=r.extra)!=null&&t.parenthesized)}function k(r){return Jt(r)?r.extra.parenStart:r.start}function N(r){return Jt(r)?r.extra.parenEnd:r.end}function Be(r){return(r.type==="OptionalCallExpression"||r.type==="OptionalMemberExpression")&&!Jt(r)}function Te(r,t){let{start:e,end:s}=r.sourceSpan;return e>=s||/^\s+$/.test(t.slice(e,s))}var kt,St,h,d,Ot,v,Zt,It=class extends Ke{constructor(e,s){super(s);P(this,h);P(this,kt);P(this,St);Y(this,kt,e),Y(this,St,s)}get node(){return c(this,h,v).call(this,O(this,kt))}transformNode(e){return c(this,h,Zt).call(this,e)}};kt=new WeakMap,St=new WeakMap,h=new WeakSet,d=function(e,{stripSpaces:s=!0,hasParentParens:i=!1}={}){return this.createNode(e,{stripSpaces:s,hasParentParens:i})},Ot=function(e,s,{computed:i,optional:n,end:a=N(s),hasParentParens:o=!1}){if(Te(e,O(this,St))||e.sourceSpan.start===s.start)return s;let p=c(this,h,v).call(this,e),u=Be(p);return c(this,h,d).call(this,{type:n||u?"OptionalMemberExpression":"MemberExpression",object:p,property:s,computed:i,...n?{optional:!0}:u?{optional:!1}:void 0,start:k(p),end:a},{hasParentParens:o})},v=function(e,s=!1){return c(this,h,Zt).call(this,e,s)},Zt=function(e,s=!1){if(e instanceof ot){let{expressions:i}=e;if(i.length!==1)throw new Error("Unexpected 'Interpolation'");return c(this,h,v).call(this,i[0])}if(e instanceof F)return c(this,h,d).call(this,{type:"UnaryExpression",prefix:!0,argument:c(this,h,v).call(this,e.expr),operator:e.operator,...e.sourceSpan},{hasParentParens:s});if(e instanceof A){let{left:i,operation:n,right:a}=e,o=c(this,h,v).call(this,i),p=c(this,h,v).call(this,a),u=k(o),f=N(p),S={left:o,right:p,start:u,end:f};return n==="&&"||n==="||"||n==="??"?c(this,h,d).call(this,{...S,type:"LogicalExpression",operator:n},{hasParentParens:s}):c(this,h,d).call(this,{...S,type:"BinaryExpression",operator:n},{hasParentParens:s})}if(e instanceof it){let{exp:i,name:n,args:a}=e,o=c(this,h,v).call(this,i),p=k(o),u=N(o),f=this.getCharacterIndex(/\S/,this.getCharacterIndex("|",u)+1),S=c(this,h,d).call(this,{type:"Identifier",name:n,start:f,end:f+n.length}),g=a.map(y=>c(this,h,v).call(this,y));return c(this,h,d).call(this,{type:"NGPipeExpression",left:o,right:S,arguments:g,start:p,end:N(g.length===0?S:Tt(!1,g,-1))},{hasParentParens:s})}if(e instanceof X)return c(this,h,d).call(this,{type:"NGChainedExpression",expressions:e.expressions.map(i=>c(this,h,v).call(this,i)),...e.sourceSpan},{hasParentParens:s});if(e instanceof tt){let{condition:i,trueExp:n,falseExp:a}=e,o=c(this,h,v).call(this,i),p=c(this,h,v).call(this,n),u=c(this,h,v).call(this,a);return c(this,h,d).call(this,{type:"ConditionalExpression",test:o,consequent:p,alternate:u,start:k(o),end:N(u)},{hasParentParens:s})}if(e instanceof $)return c(this,h,d).call(this,{type:"NGEmptyExpression",...e.sourceSpan},{hasParentParens:s});if(e instanceof K)return c(this,h,d).call(this,{type:"ThisExpression",...e.sourceSpan},{hasParentParens:s});if(e instanceof st||e instanceof U)return c(this,h,Ot).call(this,e.receiver,c(this,h,v).call(this,e.key),{computed:!0,optional:e instanceof U,end:e.sourceSpan.end,hasParentParens:s});if(e instanceof nt)return c(this,h,d).call(this,{type:"ArrayExpression",elements:e.expressions.map(i=>c(this,h,v).call(this,i)),...e.sourceSpan},{hasParentParens:s});if(e instanceof at){let{keys:i,values:n}=e,a=n.map(p=>c(this,h,v).call(this,p)),o=i.map(({key:p,quoted:u},f)=>{let S=a[f],g=k(S),y=N(S),w=this.getCharacterIndex(/\S/,f===0?e.sourceSpan.start+1:this.getCharacterIndex(",",N(a[f-1]))+1),H=g===w?y:this.getCharacterLastIndex(/\S/,this.getCharacterLastIndex(":",g-1)-1)+1,j={start:w,end:H},T=u?c(this,h,d).call(this,{type:"StringLiteral",value:p,...j}):c(this,h,d).call(this,{type:"Identifier",name:p,...j}),Nt=T.endc(this,h,v).call(this,S)),p=c(this,h,v).call(this,n),u=Be(p),f=i||u?"OptionalCallExpression":"CallExpression";return c(this,h,d).call(this,{type:f,callee:p,arguments:o,optional:f==="OptionalCallExpression"?i:void 0,start:k(p),end:e.sourceSpan.end},{hasParentParens:s})}if(e instanceof ht){let i=c(this,h,v).call(this,e.expression);return c(this,h,d).call(this,{type:"TSNonNullExpression",expression:i,start:k(i),end:e.sourceSpan.end},{hasParentParens:s})}if(e instanceof ct){let i=c(this,h,v).call(this,e.expression);return c(this,h,d).call(this,{type:"UnaryExpression",prefix:!0,operator:"!",argument:i,start:e.sourceSpan.start,end:N(i)},{hasParentParens:s})}if(e instanceof M||e instanceof _){let{receiver:i,name:n}=e,a=this.getCharacterLastIndex(/\S/,e.sourceSpan.end-1)+1,o=c(this,h,d).call(this,{type:"Identifier",name:n,start:a-n.length,end:a},Te(i,O(this,St))?{hasParentParens:s}:{});return c(this,h,Ot).call(this,i,o,{computed:!1,optional:e instanceof _,hasParentParens:s})}if(e instanceof rt){let i=c(this,h,v).call(this,e.key),n=c(this,h,v).call(this,e.value),a=c(this,h,Ot).call(this,e.receiver,i,{computed:!0,optional:!1,end:this.getCharacterIndex("]",N(i))+1});return c(this,h,d).call(this,{type:"AssignmentExpression",left:a,operator:"=",right:n,start:k(a),end:N(n)},{hasParentParens:s})}if(e instanceof et){let{receiver:i,name:n,value:a}=e,o=c(this,h,v).call(this,a),p=this.getCharacterLastIndex(/\S/,this.getCharacterLastIndex("=",k(o)-1)-1)+1,u=c(this,h,d).call(this,{type:"Identifier",name:n,start:p-n.length,end:p}),f=c(this,h,Ot).call(this,i,u,{computed:!1,optional:!1});return c(this,h,d).call(this,{type:"AssignmentExpression",left:f,operator:"=",right:o,start:k(f),end:N(o)},{hasParentParens:s})}throw Object.assign(new Error("Unexpected node"),{node:e})};function Me(r,t){return new It(r,t).node}function _e(r){return r instanceof ut}function Ue(r){return r instanceof W}var wt,q,x,Fe,C,te,ee,se,De,We,Ge,Ve,Xt=class extends It{constructor(e,s){super(void 0,s);P(this,x);P(this,wt);P(this,q);Y(this,wt,e),Y(this,q,s);for(let i of e)c(this,x,De).call(this,i)}get expressions(){return c(this,x,Ge).call(this)}};wt=new WeakMap,q=new WeakMap,x=new WeakSet,Fe=function(){return O(this,wt)[0].key},C=function(e,{stripSpaces:s=!0}={}){return this.createNode(e,{stripSpaces:s})},te=function(e){return this.transformNode(e)},ee=function(e){return Ne(e.slice(O(this,x,Fe).source.length))},se=function(e){let s=O(this,q);if(s[e.start]!=='"'&&s[e.start]!=="'")return;let i=s[e.start],n=!1;for(let a=e.start+1;a({...y,...this.transformSpan({start:y.start,end:w})}),S=y=>({...f(y,u.end),alias:u}),g=n.pop();if(g.type==="NGMicrosyntaxExpression")n.push(S(g));else if(g.type==="NGMicrosyntaxKeyedExpression"){let y=S(g.expression);n.push(f({...g,expression:y},y.end))}else throw new Error(`Unexpected type ${g.type}`)}else n.push(c(this,x,Ve).call(this,p,o));a=p}return c(this,x,C).call(this,{type:"NGMicrosyntax",body:n,...n.length===0?e[0].sourceSpan:{start:n[0].start,end:Tt(!1,n,-1).end}})},Ve=function(e,s){if(_e(e)){let{key:i,value:n}=e;return n?s===0?c(this,x,C).call(this,{type:"NGMicrosyntaxExpression",expression:c(this,x,te).call(this,n.ast),alias:null,...n.sourceSpan}):c(this,x,C).call(this,{type:"NGMicrosyntaxKeyedExpression",key:c(this,x,C).call(this,{type:"NGMicrosyntaxKey",name:c(this,x,ee).call(this,i.source),...i.span}),expression:c(this,x,C).call(this,{type:"NGMicrosyntaxExpression",expression:c(this,x,te).call(this,n.ast),alias:null,...n.sourceSpan}),start:i.span.start,end:n.sourceSpan.end}):c(this,x,C).call(this,{type:"NGMicrosyntaxKey",name:c(this,x,ee).call(this,i.source),...i.span})}else{let{key:i,sourceSpan:n}=e;if(/^let\s$/.test(O(this,q).slice(n.start,n.start+4))){let{value:o}=e;return c(this,x,C).call(this,{type:"NGMicrosyntaxLet",key:c(this,x,C).call(this,{type:"NGMicrosyntaxKey",name:i.source,...i.span}),value:o?c(this,x,C).call(this,{type:"NGMicrosyntaxKey",name:o.source,...o.span}):null,start:n.start,end:o?o.span.end:i.span.end})}else{let o=c(this,x,We).call(this,e);return c(this,x,C).call(this,{type:"NGMicrosyntaxAs",key:c(this,x,C).call(this,{type:"NGMicrosyntaxKey",name:o.source,...o.span}),alias:c(this,x,C).call(this,{type:"NGMicrosyntaxKey",name:i.source,...i.span}),start:o.span.start,end:i.span.end})}}};function Qe(r,t){return new Xt(r,t).expressions}function Mt({result:{ast:r},text:t,comments:e}){return Object.assign(Me(r,t),{comments:e})}function ze({result:{templateBindings:r},text:t}){return Qe(r,t)}var qe=r=>Mt(Le(r));var He=r=>Mt(Pe(r)),re=r=>Mt(Re(r)),je=r=>ze(be(r));function ie(r){var s,i,n;let t=((s=r.range)==null?void 0:s[0])??r.start,e=(n=((i=r.declaration)==null?void 0:i.decorators)??r.decorators)==null?void 0:n[0];return e?Math.min(ie(e),t):t}function Ye(r){var t;return((t=r.range)==null?void 0:t[1])??r.end}function _t(r){return{astFormat:"estree",parse(t){let e=r(t);return{type:"NGRoot",node:r===re&&e.type!=="NGChainedExpression"?{...e,type:"NGChainedExpression",expressions:[e]}:e}},locStart:ie,locEnd:Ye}}var Xs=_t(re),tr=_t(qe),er=_t(He),sr=_t(je);return ss(rr);}); \ No newline at end of file diff --git a/node_modules/prettier/plugins/angular.mjs b/node_modules/prettier/plugins/angular.mjs index 91fae530f9..a647029d5d 100644 --- a/node_modules/prettier/plugins/angular.mjs +++ b/node_modules/prettier/plugins/angular.mjs @@ -1,2 +1 @@ -var Kt=Object.defineProperty;var Ze=(s,e)=>{for(var t in e)Kt(s,t,{get:e[t],enumerable:!0})};var ze={};Ze(ze,{parsers:()=>Ie});var Ie={};Ze(Ie,{__ng_action:()=>Ir,__ng_binding:()=>Rr,__ng_directive:()=>Lr,__ng_interpolation:()=>Pr});var me=` -`,Je="\r",Ye=function(){function s(e){this.length=e.length;for(var t=[0],r=0;rthis.length)return null;for(var t=0,r=this.offsets;r[t+1]<=e;)t++;var n=e-r[t];return{line:t,column:n}},s.prototype.indexForLocation=function(e){var t=e.line,r=e.column;return t<0||t>=this.offsets.length||r<0||r>this.lengthOfLine(t)?null:this.offsets[t]+r},s.prototype.lengthOfLine=function(e){var t=this.offsets[e],r=e===this.offsets.length-1?this.length:this.offsets[e+1];return r-t},s}();var le=class{text;locator;constructor(e){this.text=e,this.locator=new Pe(this.text)}},Pe=class{_linesAndColumns;constructor(e){this._linesAndColumns=new Ye(e)}locationForIndex(e){let{line:t,column:r}=this._linesAndColumns.locationForIndex(e);return{line:t+1,column:r,index:e}}};var G=class{constructor(e,t,r,n){this.input=t,this.errLocation=r,this.ctxLocation=n,this.message=`Parser Error: ${e} ${r} [${t}] in ${n}`}},P=class{constructor(e,t){this.start=e,this.end=t}toAbsolute(e){return new I(e+this.start,e+this.end)}},S=class{constructor(e,t){this.span=e,this.sourceSpan=t}toString(){return"AST"}},D=class extends S{constructor(e,t,r){super(e,t),this.nameSpan=r}},E=class extends S{visit(e,t=null){}},L=class extends S{visit(e,t=null){return e.visitImplicitReceiver(this,t)}},Se=class extends L{visit(e,t=null){var r;return(r=e.visitThisReceiver)==null?void 0:r.call(e,this,t)}},V=class extends S{constructor(e,t,r){super(e,t),this.expressions=r}visit(e,t=null){return e.visitChain(this,t)}},W=class extends S{constructor(e,t,r,n,i){super(e,t),this.condition=r,this.trueExp=n,this.falseExp=i}visit(e,t=null){return e.visitConditional(this,t)}},B=class extends D{constructor(e,t,r,n,i){super(e,t,r),this.receiver=n,this.name=i}visit(e,t=null){return e.visitPropertyRead(this,t)}},Q=class extends D{constructor(e,t,r,n,i,a){super(e,t,r),this.receiver=n,this.name=i,this.value=a}visit(e,t=null){return e.visitPropertyWrite(this,t)}},H=class extends D{constructor(e,t,r,n,i){super(e,t,r),this.receiver=n,this.name=i}visit(e,t=null){return e.visitSafePropertyRead(this,t)}},j=class extends S{constructor(e,t,r,n){super(e,t),this.receiver=r,this.key=n}visit(e,t=null){return e.visitKeyedRead(this,t)}},z=class extends S{constructor(e,t,r,n){super(e,t),this.receiver=r,this.key=n}visit(e,t=null){return e.visitSafeKeyedRead(this,t)}},q=class extends S{constructor(e,t,r,n,i){super(e,t),this.receiver=r,this.key=n,this.value=i}visit(e,t=null){return e.visitKeyedWrite(this,t)}},X=class extends D{constructor(e,t,r,n,i,a){super(e,t,a),this.exp=r,this.name=n,this.args=i}visit(e,t=null){return e.visitPipe(this,t)}},A=class extends S{constructor(e,t,r){super(e,t),this.value=r}visit(e,t=null){return e.visitLiteralPrimitive(this,t)}},Z=class extends S{constructor(e,t,r){super(e,t),this.expressions=r}visit(e,t=null){return e.visitLiteralArray(this,t)}},J=class extends S{constructor(e,t,r,n){super(e,t),this.keys=r,this.values=n}visit(e,t=null){return e.visitLiteralMap(this,t)}},we=class extends S{constructor(e,t,r,n){super(e,t),this.strings=r,this.expressions=n}visit(e,t=null){return e.visitInterpolation(this,t)}},$=class extends S{constructor(e,t,r,n,i){super(e,t),this.operation=r,this.left=n,this.right=i}visit(e,t=null){return e.visitBinary(this,t)}},K=class s extends ${static createMinus(e,t,r){return new s(e,t,"-",r,"-",new A(e,t,0),r)}static createPlus(e,t,r){return new s(e,t,"+",r,"-",r,new A(e,t,0))}constructor(e,t,r,n,i,a,h){super(e,t,i,a,h),this.operator=r,this.expr=n,this.left=null,this.right=null,this.operation=null}visit(e,t=null){return e.visitUnary!==void 0?e.visitUnary(this,t):e.visitBinary(this,t)}},Y=class extends S{constructor(e,t,r){super(e,t),this.expression=r}visit(e,t=null){return e.visitPrefixNot(this,t)}},ee=class extends S{constructor(e,t,r){super(e,t),this.expression=r}visit(e,t=null){return e.visitNonNullAssert(this,t)}},te=class extends S{constructor(e,t,r,n,i){super(e,t),this.receiver=r,this.args=n,this.argumentSpan=i}visit(e,t=null){return e.visitCall(this,t)}},re=class extends S{constructor(e,t,r,n,i){super(e,t),this.receiver=r,this.args=n,this.argumentSpan=i}visit(e,t=null){return e.visitSafeCall(this,t)}},I=class{constructor(e,t){this.start=e,this.end=t}},R=class extends S{constructor(e,t,r,n,i){super(new P(0,t===null?0:t.length),new I(n,t===null?n:n+t.length)),this.ast=e,this.source=t,this.location=r,this.errors=i}visit(e,t=null){return e.visitASTWithSource?e.visitASTWithSource(this,t):this.ast.visit(e,t)}toString(){return`${this.source} in ${this.location}`}},T=class{constructor(e,t,r){this.sourceSpan=e,this.key=t,this.value=r}},se=class{constructor(e,t,r){this.sourceSpan=e,this.key=t,this.value=r}},ye=class{visit(e,t){e.visit(this,t)}visitUnary(e,t){this.visit(e.expr,t)}visitBinary(e,t){this.visit(e.left,t),this.visit(e.right,t)}visitChain(e,t){this.visitAll(e.expressions,t)}visitConditional(e,t){this.visit(e.condition,t),this.visit(e.trueExp,t),this.visit(e.falseExp,t)}visitPipe(e,t){this.visit(e.exp,t),this.visitAll(e.args,t)}visitImplicitReceiver(e,t){}visitThisReceiver(e,t){}visitInterpolation(e,t){this.visitAll(e.expressions,t)}visitKeyedRead(e,t){this.visit(e.receiver,t),this.visit(e.key,t)}visitKeyedWrite(e,t){this.visit(e.receiver,t),this.visit(e.key,t),this.visit(e.value,t)}visitLiteralArray(e,t){this.visitAll(e.expressions,t)}visitLiteralMap(e,t){this.visitAll(e.values,t)}visitLiteralPrimitive(e,t){}visitPrefixNot(e,t){this.visit(e.expression,t)}visitNonNullAssert(e,t){this.visit(e.expression,t)}visitPropertyRead(e,t){this.visit(e.receiver,t)}visitPropertyWrite(e,t){this.visit(e.receiver,t),this.visit(e.value,t)}visitSafePropertyRead(e,t){this.visit(e.receiver,t)}visitSafeKeyedRead(e,t){this.visit(e.receiver,t),this.visit(e.key,t)}visitCall(e,t){this.visit(e.receiver,t),this.visitAll(e.args,t)}visitSafeCall(e,t){this.visit(e.receiver,t),this.visitAll(e.args,t)}visitAll(e,t){for(let r of e)this.visit(r,t)}};var et;(function(s){s[s.DEFAULT=0]="DEFAULT",s[s.LITERAL_ATTR=1]="LITERAL_ATTR",s[s.ANIMATION=2]="ANIMATION"})(et||(et={}));function tt(s){return s>=9&&s<=32||s==160}function b(s){return 48<=s&&s<=57}function rt(s){return s>=97&&s<=122||s>=65&&s<=90}function Le(s){return s===39||s===34||s===96}var d;(function(s){s[s.Character=0]="Character",s[s.Identifier=1]="Identifier",s[s.PrivateIdentifier=2]="PrivateIdentifier",s[s.Keyword=3]="Keyword",s[s.String=4]="String",s[s.Operator=5]="Operator",s[s.Number=6]="Number",s[s.Error=7]="Error"})(d||(d={}));var ur=["var","let","as","null","undefined","true","false","if","else","this"],xe=class{tokenize(e){let t=new Ke(e),r=[],n=t.scanToken();for(;n!=null;)r.push(n),n=t.scanToken();return r}},N=class{constructor(e,t,r,n,i){this.index=e,this.end=t,this.type=r,this.numValue=n,this.strValue=i}isCharacter(e){return this.type==d.Character&&this.numValue==e}isNumber(){return this.type==d.Number}isString(){return this.type==d.String}isOperator(e){return this.type==d.Operator&&this.strValue==e}isIdentifier(){return this.type==d.Identifier}isPrivateIdentifier(){return this.type==d.PrivateIdentifier}isKeyword(){return this.type==d.Keyword}isKeywordLet(){return this.type==d.Keyword&&this.strValue=="let"}isKeywordAs(){return this.type==d.Keyword&&this.strValue=="as"}isKeywordNull(){return this.type==d.Keyword&&this.strValue=="null"}isKeywordUndefined(){return this.type==d.Keyword&&this.strValue=="undefined"}isKeywordTrue(){return this.type==d.Keyword&&this.strValue=="true"}isKeywordFalse(){return this.type==d.Keyword&&this.strValue=="false"}isKeywordThis(){return this.type==d.Keyword&&this.strValue=="this"}isError(){return this.type==d.Error}toNumber(){return this.type==d.Number?this.numValue:-1}toString(){switch(this.type){case d.Character:case d.Identifier:case d.Keyword:case d.Operator:case d.PrivateIdentifier:case d.String:case d.Error:return this.strValue;case d.Number:return this.numValue.toString();default:return null}}};function ot(s,e,t){return new N(s,e,d.Character,t,String.fromCharCode(t))}function lr(s,e,t){return new N(s,e,d.Identifier,0,t)}function xr(s,e,t){return new N(s,e,d.PrivateIdentifier,0,t)}function fr(s,e,t){return new N(s,e,d.Keyword,0,t)}function Be(s,e,t){return new N(s,e,d.Operator,0,t)}function dr(s,e,t){return new N(s,e,d.String,0,t)}function vr(s,e,t){return new N(s,e,d.Number,t,"")}function gr(s,e,t){return new N(s,e,d.Error,0,t)}var Ce=new N(-1,-1,d.Character,0,""),Ke=class{constructor(e){this.input=e,this.peek=0,this.index=-1,this.length=e.length,this.advance()}advance(){this.peek=++this.index>=this.length?0:this.input.charCodeAt(this.index)}scanToken(){let e=this.input,t=this.length,r=this.peek,n=this.index;for(;r<=32;)if(++n>=t){r=0;break}else r=e.charCodeAt(n);if(this.peek=r,this.index=n,n>=t)return null;if(ct(r))return this.scanIdentifier();if(b(r))return this.scanNumber(n);let i=n;switch(r){case 46:return this.advance(),b(this.peek)?this.scanNumber(i):ot(i,this.index,46);case 40:case 41:case 123:case 125:case 91:case 93:case 44:case 58:case 59:return this.scanCharacter(i,r);case 39:case 34:return this.scanString();case 35:return this.scanPrivateIdentifier();case 43:case 45:case 42:case 47:case 37:case 94:return this.scanOperator(i,String.fromCharCode(r));case 63:return this.scanQuestion(i);case 60:case 62:return this.scanComplexOperator(i,String.fromCharCode(r),61,"=");case 33:case 61:return this.scanComplexOperator(i,String.fromCharCode(r),61,"=",61,"=");case 38:return this.scanComplexOperator(i,"&",38,"&");case 124:return this.scanComplexOperator(i,"|",124,"|");case 160:for(;tt(this.peek);)this.advance();return this.scanToken()}return this.advance(),this.error(`Unexpected character [${String.fromCharCode(r)}]`,0)}scanCharacter(e,t){return this.advance(),ot(e,this.index,t)}scanOperator(e,t){return this.advance(),Be(e,this.index,t)}scanComplexOperator(e,t,r,n,i,a){this.advance();let h=t;return this.peek==r&&(this.advance(),h+=n),i!=null&&this.peek==i&&(this.advance(),h+=a),Be(e,this.index,h)}scanIdentifier(){let e=this.index;for(this.advance();ht(this.peek);)this.advance();let t=this.input.substring(e,this.index);return ur.indexOf(t)>-1?fr(e,this.index,t):lr(e,this.index,t)}scanPrivateIdentifier(){let e=this.index;if(this.advance(),!ct(this.peek))return this.error("Invalid character [#]",-1);for(;ht(this.peek);)this.advance();let t=this.input.substring(e,this.index);return xr(e,this.index,t)}scanNumber(e){let t=this.index===e,r=!1;for(this.advance();;){if(!b(this.peek))if(this.peek===95){if(!b(this.input.charCodeAt(this.index-1))||!b(this.input.charCodeAt(this.index+1)))return this.error("Invalid numeric separator",0);r=!0}else if(this.peek===46)t=!1;else if(mr(this.peek)){if(this.advance(),Sr(this.peek)&&this.advance(),!b(this.peek))return this.error("Invalid exponent",-1);t=!1}else break;this.advance()}let n=this.input.substring(e,this.index);r&&(n=n.replace(/_/g,""));let i=t?yr(n):parseFloat(n);return vr(e,this.index,i)}scanString(){let e=this.index,t=this.peek;this.advance();let r="",n=this.index,i=this.input;for(;this.peek!=t;)if(this.peek==92){r+=i.substring(n,this.index);let h;if(this.advance(),this.peek==117){let v=i.substring(this.index+1,this.index+5);if(/^[0-9a-f]+$/i.test(v))h=parseInt(v,16);else return this.error(`Invalid unicode escape [\\u${v}]`,0);for(let f=0;f<5;f++)this.advance()}else h=wr(this.peek),this.advance();r+=String.fromCharCode(h),n=this.index}else{if(this.peek==0)return this.error("Unterminated quote",0);this.advance()}let a=i.substring(n,this.index);return this.advance(),dr(e,this.index,r+a)}scanQuestion(e){this.advance();let t="?";return(this.peek===63||this.peek===46)&&(t+=this.peek===46?".":"?",this.advance()),Be(e,this.index,t)}error(e,t){let r=this.index+t;return gr(r,this.index,`Lexer Error: ${e} at column ${r} in expression [${this.input}]`)}};function ct(s){return 97<=s&&s<=122||65<=s&&s<=90||s==95||s==36}function ht(s){return rt(s)||b(s)||s==95||s==36}function mr(s){return s==101||s==69}function Sr(s){return s==45||s==43}function wr(s){switch(s){case 110:return 10;case 102:return 12;case 114:return 13;case 116:return 9;case 118:return 11;default:return s}}function yr(s){let e=parseInt(s);if(isNaN(e))throw new Error("Invalid integer literal when parsing "+s);return e}var Er=[/^\s*$/,/[<>]/,/^[{}]$/,/&(#|[a-z])/i,/^\/\//];function xt(s,e){if(e!=null&&!(Array.isArray(e)&&e.length==2))throw new Error(`Expected '${s}' to be an array, [start, end].`);if(e!=null){let t=e[0],r=e[1];Er.forEach(n=>{if(n.test(t)||n.test(r))throw new Error(`['${t}', '${r}'] contains unusable interpolation symbol.`)})}}var _e=class s{static fromArray(e){return e?(xt("interpolation",e),new s(e[0],e[1])):F}constructor(e,t){this.start=e,this.end=t}},F=new _e("{{","}}");var Me=class{constructor(e,t,r){this.strings=e,this.expressions=t,this.offsets=r}},Fe=class{constructor(e,t,r){this.templateBindings=e,this.warnings=t,this.errors=r}},ve=class{constructor(e){this._lexer=e,this.errors=[]}parseAction(e,t,r,n,i=F){this._checkNoInterpolation(e,r,i);let a=this._stripComments(e),h=this._lexer.tokenize(a),v=1;t&&(v|=2);let f=new U(e,r,n,h,v,this.errors,0).parseChain();return new R(f,e,r,n,this.errors)}parseBinding(e,t,r,n=F){let i=this._parseBindingAst(e,t,r,n);return new R(i,e,t,r,this.errors)}checkSimpleExpression(e){let t=new Ue;return e.visit(t),t.errors}parseSimpleBinding(e,t,r,n=F){let i=this._parseBindingAst(e,t,r,n),a=this.checkSimpleExpression(i);return a.length>0&&this._reportError(`Host binding expression cannot contain ${a.join(" ")}`,e,t),new R(i,e,t,r,this.errors)}_reportError(e,t,r,n){this.errors.push(new G(e,t,r,n))}_parseBindingAst(e,t,r,n){this._checkNoInterpolation(e,t,n);let i=this._stripComments(e),a=this._lexer.tokenize(i);return new U(e,t,r,a,0,this.errors,0).parseChain()}parseTemplateBindings(e,t,r,n,i){let a=this._lexer.tokenize(t);return new U(t,r,i,a,0,this.errors,0).parseTemplateBindings({source:e,span:new I(n,n+e.length)})}parseInterpolation(e,t,r,n,i=F){let{strings:a,expressions:h,offsets:v}=this.splitInterpolation(e,t,n,i);if(h.length===0)return null;let f=[];for(let w=0;ww.text),f,e,t,r)}parseInterpolationExpression(e,t,r){let n=this._stripComments(e),i=this._lexer.tokenize(n),a=new U(e,t,r,i,0,this.errors,0).parseChain(),h=["",""];return this.createInterpolationAst(h,[a],e,t,r)}createInterpolationAst(e,t,r,n,i){let a=new P(0,r.length),h=new we(a,a.toAbsolute(i),e,t);return new R(h,r,n,i,this.errors)}splitInterpolation(e,t,r,n=F){let i=[],a=[],h=[],v=r?Ar(r):null,f=0,w=!1,k=!1,{start:C,end:y}=n;for(;f-1)break;i>-1&&a>-1&&this._reportError(`Got interpolation (${r}${n}) where expression was expected`,e,`at column ${i} in`,t)}_getInterpolationEndIndex(e,t,r){for(let n of this._forEachUnquotedChar(e,r)){if(e.startsWith(t,n))return n;if(e.startsWith("//",n))return e.indexOf(t,n)}return-1}*_forEachUnquotedChar(e,t){let r=null,n=0;for(let i=t;i=this.tokens.length}get inputIndex(){return this.atEOF?this.currentEndIndex:this.next.index+this.offset}get currentEndIndex(){return this.index>0?this.peek(-1).end+this.offset:this.tokens.length===0?this.input.length+this.offset:this.next.index+this.offset}get currentAbsoluteOffset(){return this.absoluteOffset+this.inputIndex}span(e,t){let r=this.currentEndIndex;if(t!==void 0&&t>this.currentEndIndex&&(r=t),e>r){let n=r;r=e,e=n}return new P(e,r)}sourceSpan(e,t){let r=`${e}@${this.inputIndex}:${t}`;return this.sourceSpanCache.has(r)||this.sourceSpanCache.set(r,this.span(e,t).toAbsolute(this.absoluteOffset)),this.sourceSpanCache.get(r)}advance(){this.index++}withContext(e,t){this.context|=e;let r=t();return this.context^=e,r}consumeOptionalCharacter(e){return this.next.isCharacter(e)?(this.advance(),!0):!1}peekKeywordLet(){return this.next.isKeywordLet()}peekKeywordAs(){return this.next.isKeywordAs()}expectCharacter(e){this.consumeOptionalCharacter(e)||this.error(`Missing expected ${String.fromCharCode(e)}`)}consumeOptionalOperator(e){return this.next.isOperator(e)?(this.advance(),!0):!1}expectOperator(e){this.consumeOptionalOperator(e)||this.error(`Missing expected operator ${e}`)}prettyPrintToken(e){return e===Ce?"end of input":`token ${e}`}expectIdentifierOrKeyword(){let e=this.next;return!e.isIdentifier()&&!e.isKeyword()?(e.isPrivateIdentifier()?this._reportErrorForPrivateIdentifier(e,"expected identifier or keyword"):this.error(`Unexpected ${this.prettyPrintToken(e)}, expected identifier or keyword`),null):(this.advance(),e.toString())}expectIdentifierOrKeywordOrString(){let e=this.next;return!e.isIdentifier()&&!e.isKeyword()&&!e.isString()?(e.isPrivateIdentifier()?this._reportErrorForPrivateIdentifier(e,"expected identifier, keyword or string"):this.error(`Unexpected ${this.prettyPrintToken(e)}, expected identifier, keyword, or string`),""):(this.advance(),e.toString())}parseChain(){let e=[],t=this.inputIndex;for(;this.index":case"<=":case">=":this.advance();let n=this.parseAdditive();t=new $(this.span(e),this.sourceSpan(e),r,t,n);continue}break}return t}parseAdditive(){let e=this.inputIndex,t=this.parseMultiplicative();for(;this.next.type==d.Operator;){let r=this.next.strValue;switch(r){case"+":case"-":this.advance();let n=this.parseMultiplicative();t=new $(this.span(e),this.sourceSpan(e),r,t,n);continue}break}return t}parseMultiplicative(){let e=this.inputIndex,t=this.parsePrefix();for(;this.next.type==d.Operator;){let r=this.next.strValue;switch(r){case"*":case"%":case"/":this.advance();let n=this.parsePrefix();t=new $(this.span(e),this.sourceSpan(e),r,t,n);continue}break}return t}parsePrefix(){if(this.next.type==d.Operator){let e=this.inputIndex,t=this.next.strValue,r;switch(t){case"+":return this.advance(),r=this.parsePrefix(),K.createPlus(this.span(e),this.sourceSpan(e),r);case"-":return this.advance(),r=this.parsePrefix(),K.createMinus(this.span(e),this.sourceSpan(e),r);case"!":return this.advance(),r=this.parsePrefix(),new Y(this.span(e),this.sourceSpan(e),r)}}return this.parseCallChain()}parseCallChain(){let e=this.inputIndex,t=this.parsePrimary();for(;;)if(this.consumeOptionalCharacter(46))t=this.parseAccessMember(t,e,!1);else if(this.consumeOptionalOperator("?."))this.consumeOptionalCharacter(40)?t=this.parseCall(t,e,!0):t=this.consumeOptionalCharacter(91)?this.parseKeyedReadOrWrite(t,e,!0):this.parseAccessMember(t,e,!0);else if(this.consumeOptionalCharacter(91))t=this.parseKeyedReadOrWrite(t,e,!1);else if(this.consumeOptionalCharacter(40))t=this.parseCall(t,e,!1);else if(this.consumeOptionalOperator("!"))t=new ee(this.span(e),this.sourceSpan(e),t);else return t}parsePrimary(){let e=this.inputIndex;if(this.consumeOptionalCharacter(40)){this.rparensExpected++;let t=this.parsePipe();return this.rparensExpected--,this.expectCharacter(41),t}else{if(this.next.isKeywordNull())return this.advance(),new A(this.span(e),this.sourceSpan(e),null);if(this.next.isKeywordUndefined())return this.advance(),new A(this.span(e),this.sourceSpan(e),void 0);if(this.next.isKeywordTrue())return this.advance(),new A(this.span(e),this.sourceSpan(e),!0);if(this.next.isKeywordFalse())return this.advance(),new A(this.span(e),this.sourceSpan(e),!1);if(this.next.isKeywordThis())return this.advance(),new Se(this.span(e),this.sourceSpan(e));if(this.consumeOptionalCharacter(91)){this.rbracketsExpected++;let t=this.parseExpressionList(93);return this.rbracketsExpected--,this.expectCharacter(93),new Z(this.span(e),this.sourceSpan(e),t)}else{if(this.next.isCharacter(123))return this.parseLiteralMap();if(this.next.isIdentifier())return this.parseAccessMember(new L(this.span(e),this.sourceSpan(e)),e,!1);if(this.next.isNumber()){let t=this.next.toNumber();return this.advance(),new A(this.span(e),this.sourceSpan(e),t)}else if(this.next.isString()){let t=this.next.toString();return this.advance(),new A(this.span(e),this.sourceSpan(e),t)}else return this.next.isPrivateIdentifier()?(this._reportErrorForPrivateIdentifier(this.next,null),new E(this.span(e),this.sourceSpan(e))):this.index>=this.tokens.length?(this.error(`Unexpected end of expression: ${this.input}`),new E(this.span(e),this.sourceSpan(e))):(this.error(`Unexpected token ${this.next}`),new E(this.span(e),this.sourceSpan(e)))}}}parseExpressionList(e){let t=[];do if(!this.next.isCharacter(e))t.push(this.parsePipe());else break;while(this.consumeOptionalCharacter(44));return t}parseLiteralMap(){let e=[],t=[],r=this.inputIndex;if(this.expectCharacter(123),!this.consumeOptionalCharacter(125)){this.rbracesExpected++;do{let n=this.inputIndex,i=this.next.isString(),a=this.expectIdentifierOrKeywordOrString();if(e.push({key:a,quoted:i}),i)this.expectCharacter(58),t.push(this.parsePipe());else if(this.consumeOptionalCharacter(58))t.push(this.parsePipe());else{let h=this.span(n),v=this.sourceSpan(n);t.push(new B(h,v,v,new L(h,v),a))}}while(this.consumeOptionalCharacter(44)&&!this.next.isCharacter(125));this.rbracesExpected--,this.expectCharacter(125)}return new J(this.span(r),this.sourceSpan(r),e,t)}parseAccessMember(e,t,r){let n=this.inputIndex,i=this.withContext(he.Writable,()=>{let v=this.expectIdentifierOrKeyword()??"";return v.length===0&&this.error("Expected identifier for property access",e.span.end),v}),a=this.sourceSpan(n),h;if(r)this.consumeOptionalAssignment()?(this.error("The '?.' operator cannot be used in the assignment"),h=new E(this.span(t),this.sourceSpan(t))):h=new H(this.span(t),this.sourceSpan(t),a,e,i);else if(this.consumeOptionalAssignment()){if(!(this.parseFlags&1))return this.error("Bindings cannot contain assignments"),new E(this.span(t),this.sourceSpan(t));let v=this.parseConditional();h=new Q(this.span(t),this.sourceSpan(t),a,e,i,v)}else h=new B(this.span(t),this.sourceSpan(t),a,e,i);return h}parseCall(e,t,r){let n=this.inputIndex;this.rparensExpected++;let i=this.parseCallArguments(),a=this.span(n,this.inputIndex).toAbsolute(this.absoluteOffset);this.expectCharacter(41),this.rparensExpected--;let h=this.span(t),v=this.sourceSpan(t);return r?new re(h,v,e,i,a):new te(h,v,e,i,a)}consumeOptionalAssignment(){return this.parseFlags&2&&this.next.isOperator("!")&&this.peek(1).isOperator("=")?(this.advance(),this.advance(),!0):this.consumeOptionalOperator("=")}parseCallArguments(){if(this.next.isCharacter(41))return[];let e=[];do e.push(this.parsePipe());while(this.consumeOptionalCharacter(44));return e}expectTemplateBindingKey(){let e="",t=!1,r=this.currentAbsoluteOffset;do e+=this.expectIdentifierOrKeywordOrString(),t=this.consumeOptionalOperator("-"),t&&(e+="-");while(t);return{source:e,span:new I(r,r+e.length)}}parseTemplateBindings(e){let t=[];for(t.push(...this.parseDirectiveKeywordBindings(e));this.index{this.rbracketsExpected++;let n=this.parsePipe();if(n instanceof E&&this.error("Key access cannot be empty"),this.rbracketsExpected--,this.expectCharacter(93),this.consumeOptionalOperator("="))if(r)this.error("The '?.' operator cannot be used in the assignment");else{let i=this.parseConditional();return new q(this.span(t),this.sourceSpan(t),e,n,i)}else return r?new z(this.span(t),this.sourceSpan(t),e,n):new j(this.span(t),this.sourceSpan(t),e,n);return new E(this.span(t),this.sourceSpan(t))})}parseDirectiveKeywordBindings(e){let t=[];this.consumeOptionalCharacter(58);let r=this.getDirectiveBoundTarget(),n=this.currentAbsoluteOffset,i=this.parseAsBinding(e);i||(this.consumeStatementTerminator(),n=this.currentAbsoluteOffset);let a=new I(e.span.start,n);return t.push(new se(a,e,r)),i&&t.push(i),t}getDirectiveBoundTarget(){if(this.next===Ce||this.peekKeywordAs()||this.peekKeywordLet())return null;let e=this.parsePipe(),{start:t,end:r}=e.span,n=this.input.substring(t,r);return new R(e,n,this.location,this.absoluteOffset+t,this.errors)}parseAsBinding(e){if(!this.peekKeywordAs())return null;this.advance();let t=this.expectTemplateBindingKey();this.consumeStatementTerminator();let r=new I(e.span.start,this.currentAbsoluteOffset);return new T(r,t,e)}parseLetBinding(){if(!this.peekKeywordLet())return null;let e=this.currentAbsoluteOffset;this.advance();let t=this.expectTemplateBindingKey(),r=null;this.consumeOptionalOperator("=")&&(r=this.expectTemplateBindingKey()),this.consumeStatementTerminator();let n=new I(e,this.currentAbsoluteOffset);return new T(n,t,r)}consumeStatementTerminator(){this.consumeOptionalCharacter(59)||this.consumeOptionalCharacter(44)}error(e,t=null){this.errors.push(new G(e,this.input,this.locationText(t),this.location)),this.skip()}locationText(e=null){return e==null&&(e=this.index),eh+v.length,0);r+=a,t+=a}e.set(r,t),n++}return e}var dt="angular-estree-parser",De="NgEstreeParser",Ge=0,Ve=[dt,Ge];function vt(){return new ve(new xe)}function We(s,e){let t=vt(),{astInput:r,comments:n}=Cr(s,t),{ast:i,errors:a}=e(r,t);return yt(a),{ast:i,comments:n}}function gt(s){return We(s,(e,t)=>t.parseBinding(e,...Ve))}function mt(s){return We(s,(e,t)=>t.parseAction(e,!1,...Ve))}function St(s){return We(s,(e,t)=>{let r=t.parseInterpolationExpression(e,...Ve);return r.ast=r.ast.expressions[0],r})}function wt(s){let e=vt(),{templateBindings:t,errors:r}=e.parseTemplateBindings(De,s,dt,Ge,Ge);return yt(r),t}function yt(s){if(s.length!==0){let[{message:e}]=s;throw new SyntaxError(e.replace(/^Parser Error: | at column \d+ in [^]*$/g,""))}}function Cr(s,e){let t=e._commentStart(s);return t===null?{astInput:s,comments:[]}:{astInput:s.slice(0,t),comments:[{type:"Comment",value:s.slice(t+2),sourceSpan:{start:t,end:s.length}}]}}function Et(s){return s instanceof K?"Unary":s instanceof $?"Binary":s instanceof X?"BindingPipe":s instanceof te?"Call":s instanceof V?"Chain":s instanceof W?"Conditional":s instanceof E?"EmptyExpr":s instanceof L?"ImplicitReceiver":s instanceof j?"KeyedRead":s instanceof z?"SafeKeyedRead":s instanceof q?"KeyedWrite":s instanceof Z?"LiteralArray":s instanceof J?"LiteralMap":s instanceof A?"LiteralPrimitive":s instanceof ee?"NonNullAssert":s instanceof Y?"PrefixNot":s instanceof B?"PropertyRead":s instanceof Q?"PropertyWrite":s instanceof re?"SafeCall":s instanceof H?"SafePropertyRead":s.type}function ft({start:s,end:e},t){let r=s,n=e;for(;n!==r&&/\s/.test(t[n-1]);)n--;for(;r!==n&&/\s/.test(t[r]);)r++;return{start:r,end:n}}function Or({start:s,end:e},t){let r=s,n=e;for(;n!==t.length&&/\s/.test(t[n]);)n++;for(;r!==0&&/\s/.test(t[r-1]);)r--;return{start:r,end:n}}function Nr(s,e){return e[s.start-1]==="("&&e[s.end]===")"?{start:s.start-1,end:s.end+1}:s}function At(s,e,t){let r=0,n={start:s.start,end:s.end};for(;;){let i=Or(n,e),a=Nr(i,e);if(i.start===a.start&&i.end===a.end)break;n.start=a.start,n.end=a.end,r++}return{hasParens:(t?r-1:r)!==0,outerSpan:ft(t?{start:n.start+1,end:n.end-1}:n,e),innerSpan:ft(s,e)}}function $t(s,e,t){let r=e;for(;!s.test(t[r]);)if(--r<0)throw new Error(`Cannot find front char ${s} from index ${e} in ${JSON.stringify(t)}`);return r}function Oe(s,e,t){let r=e;for(;!s.test(t[r]);)if(++r>=t.length)throw new Error(`Cannot find back char ${s} from index ${e} in ${JSON.stringify(t)}`);return r}function Ct(s){return s.slice(0,1).toLowerCase()+s.slice(1)}function Ot(s){return s.length===0?void 0:s[s.length-1]}var pe=(s,e,t=!1)=>{let r=Et(s);switch(r){case"Unary":{let{operator:c,expr:o}=s,x=n(o);return a("UnaryExpression",{prefix:!0,argument:x,operator:c},s.sourceSpan,{hasParentParens:t})}case"Binary":{let{left:c,operation:o,right:x}=s,p=n(c),u=n(x);return a(o==="&&"||o==="||"||o==="??"?"LogicalExpression":"BinaryExpression",{left:p,right:u,operator:o},{start:y(p),end:m(u)},{hasParentParens:t})}case"BindingPipe":{let{exp:c,name:o,args:x}=s,p=n(c),u=f(/\S/,f(/\|/,m(p))+1),g=a("Identifier",{name:o},{start:u,end:u+o.length}),l=x.map(n);return a("NGPipeExpression",{left:p,right:g,arguments:l},{start:y(p),end:m(l.length===0?g:Ot(l))},{hasParentParens:t})}case"Chain":{let{expressions:c}=s;return a("NGChainedExpression",{expressions:c.map(n)},s.sourceSpan,{hasParentParens:t})}case"Comment":{let{value:c}=s;return a("CommentLine",{value:c},s.sourceSpan,{processSpan:!1})}case"Conditional":{let{condition:c,trueExp:o,falseExp:x}=s,p=n(c),u=n(o),g=n(x);return a("ConditionalExpression",{test:p,consequent:u,alternate:g},{start:y(p),end:m(g)},{hasParentParens:t})}case"EmptyExpr":return a("NGEmptyExpression",{},s.sourceSpan,{hasParentParens:t});case"ImplicitReceiver":return a("ThisExpression",{},s.sourceSpan,{hasParentParens:t});case"KeyedRead":case"SafeKeyedRead":{let c=r==="SafeKeyedRead",{key:o}=s,x=Object.prototype.hasOwnProperty.call(s,"receiver")?s.receiver:s.obj,p=n(o);return h(x,p,{computed:!0,optional:c},{end:s.sourceSpan.end,hasParentParens:t})}case"LiteralArray":{let{expressions:c}=s;return a("ArrayExpression",{elements:c.map(n)},s.sourceSpan,{hasParentParens:t})}case"LiteralMap":{let{keys:c,values:o}=s,x=o.map(u=>n(u)),p=c.map(({key:u,quoted:g},l)=>{let O=x[l],ue=y(O),qe=m(O),Re=f(/\S/,l===0?s.sourceSpan.start+1:f(/,/,m(x[l-1]))+1),bt=ue===Re?qe:v(/\S/,v(/:/,ue-1)-1)+1,Xe={start:Re,end:bt},ge=g?a("StringLiteral",{value:u},Xe):a("Identifier",{name:u},Xe),Bt=ge.end=c.sourceSpan.end||/^\s+$/.test(e.text.slice(c.sourceSpan.start,c.sourceSpan.end))}function k(c){return(c.type==="OptionalCallExpression"||c.type==="OptionalMemberExpression")&&!C(c)}function C(c){return c.extra&&c.extra.parenthesized}function y(c){return C(c)?c.extra.parenStart:c.start}function m(c){return C(c)?c.extra.parenEnd:c.end}};function Ne(s,e,t=!1,r=!1){if(!t){let{start:h,end:v}=s;return{start:h,end:v,loc:{start:e.locator.locationForIndex(h),end:e.locator.locationForIndex(v)}}}let{outerSpan:n,innerSpan:i,hasParens:a}=At(s,e.text,r);return{start:i.start,end:i.end,loc:{start:e.locator.locationForIndex(i.start),end:e.locator.locationForIndex(i.end)},...a&&{extra:{parenthesized:!0,parenStart:n.start,parenEnd:n.end}}}}function Nt(s,e){s.forEach(y);let[t]=s,{key:r}=t,n=e.text.slice(t.sourceSpan.start,t.sourceSpan.end).trim().length===0?s.slice(1):s,i=[],a=null;for(let o=0;o({...O,...Ne({start:O.start,end:ue},e)}),g=O=>({...u(O,p.end),alias:p}),l=i.pop();if(l.type==="NGMicrosyntaxExpression")i.push(g(l));else if(l.type==="NGMicrosyntaxKeyedExpression"){let O=g(l.expression);i.push(u({...l,expression:O},O.end))}else throw new Error(`Unexpected type ${l.type}`)}else i.push(h(x,o));a=x}return f("NGMicrosyntax",{body:i},i.length===0?s[0].sourceSpan:{start:i[0].start,end:i[i.length-1].end});function h(o,x){if(k(o)){let{key:p,value:u}=o;return u?x===0?f("NGMicrosyntaxExpression",{expression:v(u.ast),alias:null},u.sourceSpan):f("NGMicrosyntaxKeyedExpression",{key:f("NGMicrosyntaxKey",{name:w(p.source)},p.span),expression:f("NGMicrosyntaxExpression",{expression:v(u.ast),alias:null},u.sourceSpan)},{start:p.span.start,end:u.sourceSpan.end}):f("NGMicrosyntaxKey",{name:w(p.source)},p.span)}else{let{key:p,sourceSpan:u}=o;if(/^let\s$/.test(e.text.slice(u.start,u.start+4))){let{value:l}=o;return f("NGMicrosyntaxLet",{key:f("NGMicrosyntaxKey",{name:p.source},p.span),value:l?f("NGMicrosyntaxKey",{name:l.source},l.span):null},{start:u.start,end:l?l.span.end:p.span.end})}else{let l=c(o);return f("NGMicrosyntaxAs",{key:f("NGMicrosyntaxKey",{name:l.source},l.span),alias:f("NGMicrosyntaxKey",{name:p.source},p.span)},{start:l.span.start,end:p.span.end})}}}function v(o){return pe(o,e)}function f(o,x,p,u=!0){return{type:o,...Ne(p,e,u),...x}}function w(o){return Ct(o.slice(r.source.length))}function k(o){return o instanceof se}function C(o){return o instanceof T}function y(o){m(o.key.span),C(o)&&o.value&&m(o.value.span)}function m(o){if(e.text[o.start]!=='"'&&e.text[o.start]!=="'")return;let x=e.text[o.start],p=!1;for(let u=o.start+1;upe(h,n),a=i(t);return a.comments=r.map(h=>i(h)),a}function kt(s){return Qe(s,gt)}function It(s){return Qe(s,St)}function He(s){return Qe(s,mt)}function Rt(s){return Nt(wt(s),new le(s))}function kr(s){return Array.isArray(s)&&s.length>0}var Pt=kr;function je(s){var r;let e=s.range?s.range[0]:s.start,t=((r=s.declaration)==null?void 0:r.decorators)??s.decorators;return Pt(t)?Math.min(je(t[0]),e):e}function Lt(s){return s.range?s.range[1]:s.end}function ke(s){return{astFormat:"estree",parse(e){let t=s(e);return{type:"NGRoot",node:s===He&&t.type!=="NGChainedExpression"?{...t,type:"NGChainedExpression",expressions:[t]}:t}},locStart:je,locEnd:Lt}}var Ir=ke(He),Rr=ke(kt),Pr=ke(It),Lr=ke(Rt);var fs=ze;export{fs as default,Ie as parsers}; +var Je=Object.defineProperty;var ae=r=>{throw TypeError(r)};var oe=(r,t)=>{for(var e in t)Je(r,e,{get:t[e],enumerable:!0})};var Ut=(r,t,e)=>t.has(r)||ae("Cannot "+e);var O=(r,t,e)=>(Ut(r,t,"read from private field"),e?e.call(r):t.get(r)),P=(r,t,e)=>t.has(r)?ae("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(r):t.set(r,e),Y=(r,t,e,s)=>(Ut(r,t,"write to private field"),s?s.call(r,e):t.set(r,e),e),c=(r,t,e)=>(Ut(r,t,"access private method"),e);var ne={};oe(ne,{parsers:()=>ie});var ie={};oe(ie,{__ng_action:()=>js,__ng_binding:()=>Ys,__ng_directive:()=>Js,__ng_interpolation:()=>Zs});var Z=class{constructor(t,e,s,i){this.input=e,this.errLocation=s,this.ctxLocation=i,this.message=`Parser Error: ${t} ${s} [${e}] in ${i}`}},b=class{constructor(t,e){this.start=t,this.end=e}toAbsolute(t){return new L(t+this.start,t+this.end)}},m=class{constructor(t,e){this.span=t,this.sourceSpan=e}toString(){return"AST"}},J=class extends m{constructor(t,e,s){super(t,e),this.nameSpan=s}},$=class extends m{visit(t,e=null){}},K=class extends m{visit(t,e=null){return t.visitImplicitReceiver(this,e)}},Lt=class extends K{visit(t,e=null){var s;return(s=t.visitThisReceiver)==null?void 0:s.call(t,this,e)}},X=class extends m{constructor(t,e,s){super(t,e),this.expressions=s}visit(t,e=null){return t.visitChain(this,e)}},tt=class extends m{constructor(t,e,s,i,n){super(t,e),this.condition=s,this.trueExp=i,this.falseExp=n}visit(t,e=null){return t.visitConditional(this,e)}},M=class extends J{constructor(t,e,s,i,n){super(t,e,s),this.receiver=i,this.name=n}visit(t,e=null){return t.visitPropertyRead(this,e)}},et=class extends J{constructor(t,e,s,i,n,a){super(t,e,s),this.receiver=i,this.name=n,this.value=a}visit(t,e=null){return t.visitPropertyWrite(this,e)}},_=class extends J{constructor(t,e,s,i,n){super(t,e,s),this.receiver=i,this.name=n}visit(t,e=null){return t.visitSafePropertyRead(this,e)}},st=class extends m{constructor(t,e,s,i){super(t,e),this.receiver=s,this.key=i}visit(t,e=null){return t.visitKeyedRead(this,e)}},U=class extends m{constructor(t,e,s,i){super(t,e),this.receiver=s,this.key=i}visit(t,e=null){return t.visitSafeKeyedRead(this,e)}},rt=class extends m{constructor(t,e,s,i,n){super(t,e),this.receiver=s,this.key=i,this.value=n}visit(t,e=null){return t.visitKeyedWrite(this,e)}},it=class extends J{constructor(t,e,s,i,n,a){super(t,e,a),this.exp=s,this.name=i,this.args=n}visit(t,e=null){return t.visitPipe(this,e)}},E=class extends m{constructor(t,e,s){super(t,e),this.value=s}visit(t,e=null){return t.visitLiteralPrimitive(this,e)}},nt=class extends m{constructor(t,e,s){super(t,e),this.expressions=s}visit(t,e=null){return t.visitLiteralArray(this,e)}},at=class extends m{constructor(t,e,s,i){super(t,e),this.keys=s,this.values=i}visit(t,e=null){return t.visitLiteralMap(this,e)}},ot=class extends m{constructor(t,e,s,i){super(t,e),this.strings=s,this.expressions=i}visit(t,e=null){return t.visitInterpolation(this,e)}},A=class extends m{constructor(t,e,s,i,n){super(t,e),this.operation=s,this.left=i,this.right=n}visit(t,e=null){return t.visitBinary(this,e)}},F=class r extends A{static createMinus(t,e,s){return new r(t,e,"-",s,"-",new E(t,e,0),s)}static createPlus(t,e,s){return new r(t,e,"+",s,"-",s,new E(t,e,0))}constructor(t,e,s,i,n,a,o){super(t,e,n,a,o),this.operator=s,this.expr=i,this.left=null,this.right=null,this.operation=null}visit(t,e=null){return t.visitUnary!==void 0?t.visitUnary(this,e):t.visitBinary(this,e)}},ct=class extends m{constructor(t,e,s){super(t,e),this.expression=s}visit(t,e=null){return t.visitPrefixNot(this,e)}},ht=class extends m{constructor(t,e,s){super(t,e),this.expression=s}visit(t,e=null){return t.visitNonNullAssert(this,e)}},pt=class extends m{constructor(t,e,s,i,n){super(t,e),this.receiver=s,this.args=i,this.argumentSpan=n}visit(t,e=null){return t.visitCall(this,e)}},D=class extends m{constructor(t,e,s,i,n){super(t,e),this.receiver=s,this.args=i,this.argumentSpan=n}visit(t,e=null){return t.visitSafeCall(this,e)}},L=class{constructor(t,e){this.start=t,this.end=e}},R=class extends m{constructor(t,e,s,i,n){super(new b(0,e===null?0:e.length),new L(i,e===null?i:i+e.length)),this.ast=t,this.source=e,this.location=s,this.errors=n}visit(t,e=null){return t.visitASTWithSource?t.visitASTWithSource(this,e):this.ast.visit(t,e)}toString(){return`${this.source} in ${this.location}`}},W=class{constructor(t,e,s){this.sourceSpan=t,this.key=e,this.value=s}},ut=class{constructor(t,e,s){this.sourceSpan=t,this.key=e,this.value=s}},Rt=class{visit(t,e){t.visit(this,e)}visitUnary(t,e){this.visit(t.expr,e)}visitBinary(t,e){this.visit(t.left,e),this.visit(t.right,e)}visitChain(t,e){this.visitAll(t.expressions,e)}visitConditional(t,e){this.visit(t.condition,e),this.visit(t.trueExp,e),this.visit(t.falseExp,e)}visitPipe(t,e){this.visit(t.exp,e),this.visitAll(t.args,e)}visitImplicitReceiver(t,e){}visitThisReceiver(t,e){}visitInterpolation(t,e){this.visitAll(t.expressions,e)}visitKeyedRead(t,e){this.visit(t.receiver,e),this.visit(t.key,e)}visitKeyedWrite(t,e){this.visit(t.receiver,e),this.visit(t.key,e),this.visit(t.value,e)}visitLiteralArray(t,e){this.visitAll(t.expressions,e)}visitLiteralMap(t,e){this.visitAll(t.values,e)}visitLiteralPrimitive(t,e){}visitPrefixNot(t,e){this.visit(t.expression,e)}visitNonNullAssert(t,e){this.visit(t.expression,e)}visitPropertyRead(t,e){this.visit(t.receiver,e)}visitPropertyWrite(t,e){this.visit(t.receiver,e),this.visit(t.value,e)}visitSafePropertyRead(t,e){this.visit(t.receiver,e)}visitSafeKeyedRead(t,e){this.visit(t.receiver,e),this.visit(t.key,e)}visitCall(t,e){this.visit(t.receiver,e),this.visitAll(t.args,e)}visitSafeCall(t,e){this.visit(t.receiver,e),this.visitAll(t.args,e)}visitAll(t,e){for(let s of t)this.visit(s,e)}};var ce;(function(r){r[r.DEFAULT=0]="DEFAULT",r[r.LITERAL_ATTR=1]="LITERAL_ATTR",r[r.ANIMATION=2]="ANIMATION",r[r.TWO_WAY=3]="TWO_WAY"})(ce||(ce={}));var he;(function(r){r[r.Regular=0]="Regular",r[r.Animation=1]="Animation",r[r.TwoWay=2]="TwoWay"})(he||(he={}));var pe;(function(r){r[r.Property=0]="Property",r[r.Attribute=1]="Attribute",r[r.Class=2]="Class",r[r.Style=3]="Style",r[r.Animation=4]="Animation",r[r.TwoWay=5]="TwoWay"})(pe||(pe={}));function ue(r){return r>=9&&r<=32||r==160}function B(r){return 48<=r&&r<=57}function le(r){return r>=97&&r<=122||r>=65&&r<=90}function Ft(r){return r===39||r===34||r===96}var l;(function(r){r[r.Character=0]="Character",r[r.Identifier=1]="Identifier",r[r.PrivateIdentifier=2]="PrivateIdentifier",r[r.Keyword=3]="Keyword",r[r.String=4]="String",r[r.Operator=5]="Operator",r[r.Number=6]="Number",r[r.Error=7]="Error"})(l||(l={}));var ks=["var","let","as","null","undefined","true","false","if","else","this"],yt=class{tokenize(t){let e=new Gt(t),s=[],i=e.scanToken();for(;i!=null;)s.push(i),i=e.scanToken();return s}},I=class{constructor(t,e,s,i,n){this.index=t,this.end=e,this.type=s,this.numValue=i,this.strValue=n}isCharacter(t){return this.type==l.Character&&this.numValue==t}isNumber(){return this.type==l.Number}isString(){return this.type==l.String}isOperator(t){return this.type==l.Operator&&this.strValue==t}isIdentifier(){return this.type==l.Identifier}isPrivateIdentifier(){return this.type==l.PrivateIdentifier}isKeyword(){return this.type==l.Keyword}isKeywordLet(){return this.type==l.Keyword&&this.strValue=="let"}isKeywordAs(){return this.type==l.Keyword&&this.strValue=="as"}isKeywordNull(){return this.type==l.Keyword&&this.strValue=="null"}isKeywordUndefined(){return this.type==l.Keyword&&this.strValue=="undefined"}isKeywordTrue(){return this.type==l.Keyword&&this.strValue=="true"}isKeywordFalse(){return this.type==l.Keyword&&this.strValue=="false"}isKeywordThis(){return this.type==l.Keyword&&this.strValue=="this"}isError(){return this.type==l.Error}toNumber(){return this.type==l.Number?this.numValue:-1}toString(){switch(this.type){case l.Character:case l.Identifier:case l.Keyword:case l.Operator:case l.PrivateIdentifier:case l.String:case l.Error:return this.strValue;case l.Number:return this.numValue.toString();default:return null}}};function ge(r,t,e){return new I(r,t,l.Character,e,String.fromCharCode(e))}function Ns(r,t,e){return new I(r,t,l.Identifier,0,e)}function Ls(r,t,e){return new I(r,t,l.PrivateIdentifier,0,e)}function Rs(r,t,e){return new I(r,t,l.Keyword,0,e)}function Wt(r,t,e){return new I(r,t,l.Operator,0,e)}function Ps(r,t,e){return new I(r,t,l.String,0,e)}function bs(r,t,e){return new I(r,t,l.Number,e,"")}function Ks(r,t,e){return new I(r,t,l.Error,0,e)}var Bt=new I(-1,-1,l.Character,0,""),Gt=class{constructor(t){this.input=t,this.peek=0,this.index=-1,this.length=t.length,this.advance()}advance(){this.peek=++this.index>=this.length?0:this.input.charCodeAt(this.index)}scanToken(){let t=this.input,e=this.length,s=this.peek,i=this.index;for(;s<=32;)if(++i>=e){s=0;break}else s=t.charCodeAt(i);if(this.peek=s,this.index=i,i>=e)return null;if(me(s))return this.scanIdentifier();if(B(s))return this.scanNumber(i);let n=i;switch(s){case 46:return this.advance(),B(this.peek)?this.scanNumber(n):ge(n,this.index,46);case 40:case 41:case 123:case 125:case 91:case 93:case 44:case 58:case 59:return this.scanCharacter(n,s);case 39:case 34:return this.scanString();case 35:return this.scanPrivateIdentifier();case 43:case 45:case 42:case 47:case 37:case 94:return this.scanOperator(n,String.fromCharCode(s));case 63:return this.scanQuestion(n);case 60:case 62:return this.scanComplexOperator(n,String.fromCharCode(s),61,"=");case 33:case 61:return this.scanComplexOperator(n,String.fromCharCode(s),61,"=",61,"=");case 38:return this.scanComplexOperator(n,"&",38,"&");case 124:return this.scanComplexOperator(n,"|",124,"|");case 160:for(;ue(this.peek);)this.advance();return this.scanToken()}return this.advance(),this.error(`Unexpected character [${String.fromCharCode(s)}]`,0)}scanCharacter(t,e){return this.advance(),ge(t,this.index,e)}scanOperator(t,e){return this.advance(),Wt(t,this.index,e)}scanComplexOperator(t,e,s,i,n,a){this.advance();let o=e;return this.peek==s&&(this.advance(),o+=i),n!=null&&this.peek==n&&(this.advance(),o+=a),Wt(t,this.index,o)}scanIdentifier(){let t=this.index;for(this.advance();Se(this.peek);)this.advance();let e=this.input.substring(t,this.index);return ks.indexOf(e)>-1?Rs(t,this.index,e):Ns(t,this.index,e)}scanPrivateIdentifier(){let t=this.index;if(this.advance(),!me(this.peek))return this.error("Invalid character [#]",-1);for(;Se(this.peek);)this.advance();let e=this.input.substring(t,this.index);return Ls(t,this.index,e)}scanNumber(t){let e=this.index===t,s=!1;for(this.advance();;){if(!B(this.peek))if(this.peek===95){if(!B(this.input.charCodeAt(this.index-1))||!B(this.input.charCodeAt(this.index+1)))return this.error("Invalid numeric separator",0);s=!0}else if(this.peek===46)e=!1;else if(Bs(this.peek)){if(this.advance(),Ts(this.peek)&&this.advance(),!B(this.peek))return this.error("Invalid exponent",-1);e=!1}else break;this.advance()}let i=this.input.substring(t,this.index);s&&(i=i.replace(/_/g,""));let n=e?_s(i):parseFloat(i);return bs(t,this.index,n)}scanString(){let t=this.index,e=this.peek;this.advance();let s="",i=this.index,n=this.input;for(;this.peek!=e;)if(this.peek==92){s+=n.substring(i,this.index);let o;if(this.advance(),this.peek==117){let p=n.substring(this.index+1,this.index+5);if(/^[0-9a-f]+$/i.test(p))o=parseInt(p,16);else return this.error(`Invalid unicode escape [\\u${p}]`,0);for(let u=0;u<5;u++)this.advance()}else o=Ms(this.peek),this.advance();s+=String.fromCharCode(o),i=this.index}else{if(this.peek==0)return this.error("Unterminated quote",0);this.advance()}let a=n.substring(i,this.index);return this.advance(),Ps(t,this.index,s+a)}scanQuestion(t){this.advance();let e="?";return(this.peek===63||this.peek===46)&&(e+=this.peek===46?".":"?",this.advance()),Wt(t,this.index,e)}error(t,e){let s=this.index+e;return Ks(s,this.index,`Lexer Error: ${t} at column ${s} in expression [${this.input}]`)}};function me(r){return 97<=r&&r<=122||65<=r&&r<=90||r==95||r==36}function Se(r){return le(r)||B(r)||r==95||r==36}function Bs(r){return r==101||r==69}function Ts(r){return r==45||r==43}function Ms(r){switch(r){case 110:return 10;case 102:return 12;case 114:return 13;case 116:return 9;case 118:return 11;default:return r}}function _s(r){let t=parseInt(r);if(isNaN(t))throw new Error("Invalid integer literal when parsing "+r);return t}var Us=[/@/,/^\s*$/,/[<>]/,/^[{}]$/,/&(#|[a-z])/i,/^\/\//];function Ee(r,t){if(t!=null&&!(Array.isArray(t)&&t.length==2))throw new Error(`Expected '${r}' to be an array, [start, end].`);if(t!=null){let e=t[0],s=t[1];Us.forEach(i=>{if(i.test(e)||i.test(s))throw new Error(`['${e}', '${s}'] contains unusable interpolation symbol.`)})}}var Qt=class r{static fromArray(t){return t?(Ee("interpolation",t),new r(t[0],t[1])):Q}constructor(t,e){this.start=t,this.end=e}},Q=new Qt("{{","}}");var zt=class{constructor(t,e,s){this.strings=t,this.expressions=e,this.offsets=s}},qt=class{constructor(t,e,s){this.templateBindings=t,this.warnings=e,this.errors=s}},mt=class{constructor(t){this._lexer=t,this.errors=[]}parseAction(t,e,s,i=Q){this._checkNoInterpolation(t,e,i);let n=this._stripComments(t),a=this._lexer.tokenize(n),o=new z(t,e,s,a,1,this.errors,0).parseChain();return new R(o,t,e,s,this.errors)}parseBinding(t,e,s,i=Q){let n=this._parseBindingAst(t,e,s,i);return new R(n,t,e,s,this.errors)}checkSimpleExpression(t){let e=new Ht;return t.visit(e),e.errors}parseSimpleBinding(t,e,s,i=Q){let n=this._parseBindingAst(t,e,s,i),a=this.checkSimpleExpression(n);return a.length>0&&this._reportError(`Host binding expression cannot contain ${a.join(" ")}`,t,e),new R(n,t,e,s,this.errors)}_reportError(t,e,s,i){this.errors.push(new Z(t,e,s,i))}_parseBindingAst(t,e,s,i){this._checkNoInterpolation(t,e,i);let n=this._stripComments(t),a=this._lexer.tokenize(n);return new z(t,e,s,a,0,this.errors,0).parseChain()}parseTemplateBindings(t,e,s,i,n){let a=this._lexer.tokenize(e);return new z(e,s,n,a,0,this.errors,0).parseTemplateBindings({source:t,span:new L(i,i+t.length)})}parseInterpolation(t,e,s,i,n=Q){let{strings:a,expressions:o,offsets:p}=this.splitInterpolation(t,e,i,n);if(o.length===0)return null;let u=[];for(let f=0;ff.text),u,t,e,s)}parseInterpolationExpression(t,e,s){let i=this._stripComments(t),n=this._lexer.tokenize(i),a=new z(t,e,s,n,0,this.errors,0).parseChain(),o=["",""];return this.createInterpolationAst(o,[a],t,e,s)}createInterpolationAst(t,e,s,i,n){let a=new b(0,s.length),o=new ot(a,a.toAbsolute(n),t,e);return new R(o,s,i,n,this.errors)}splitInterpolation(t,e,s,i=Q){let n=[],a=[],o=[],p=s?Fs(s):null,u=0,f=!1,S=!1,{start:g,end:y}=i;for(;u-1)break;n>-1&&a>-1&&this._reportError(`Got interpolation (${s}${i}) where expression was expected`,t,`at column ${n} in`,e)}_getInterpolationEndIndex(t,e,s){for(let i of this._forEachUnquotedChar(t,s)){if(t.startsWith(e,i))return i;if(t.startsWith("//",i))return t.indexOf(e,i)}return-1}*_forEachUnquotedChar(t,e){let s=null,i=0;for(let n=e;n=this.tokens.length}get inputIndex(){return this.atEOF?this.currentEndIndex:this.next.index+this.offset}get currentEndIndex(){return this.index>0?this.peek(-1).end+this.offset:this.tokens.length===0?this.input.length+this.offset:this.next.index+this.offset}get currentAbsoluteOffset(){return this.absoluteOffset+this.inputIndex}span(t,e){let s=this.currentEndIndex;if(e!==void 0&&e>this.currentEndIndex&&(s=e),t>s){let i=s;s=t,t=i}return new b(t,s)}sourceSpan(t,e){let s=`${t}@${this.inputIndex}:${e}`;return this.sourceSpanCache.has(s)||this.sourceSpanCache.set(s,this.span(t,e).toAbsolute(this.absoluteOffset)),this.sourceSpanCache.get(s)}advance(){this.index++}withContext(t,e){this.context|=t;let s=e();return this.context^=t,s}consumeOptionalCharacter(t){return this.next.isCharacter(t)?(this.advance(),!0):!1}peekKeywordLet(){return this.next.isKeywordLet()}peekKeywordAs(){return this.next.isKeywordAs()}expectCharacter(t){this.consumeOptionalCharacter(t)||this.error(`Missing expected ${String.fromCharCode(t)}`)}consumeOptionalOperator(t){return this.next.isOperator(t)?(this.advance(),!0):!1}expectOperator(t){this.consumeOptionalOperator(t)||this.error(`Missing expected operator ${t}`)}prettyPrintToken(t){return t===Bt?"end of input":`token ${t}`}expectIdentifierOrKeyword(){let t=this.next;return!t.isIdentifier()&&!t.isKeyword()?(t.isPrivateIdentifier()?this._reportErrorForPrivateIdentifier(t,"expected identifier or keyword"):this.error(`Unexpected ${this.prettyPrintToken(t)}, expected identifier or keyword`),null):(this.advance(),t.toString())}expectIdentifierOrKeywordOrString(){let t=this.next;return!t.isIdentifier()&&!t.isKeyword()&&!t.isString()?(t.isPrivateIdentifier()?this._reportErrorForPrivateIdentifier(t,"expected identifier, keyword or string"):this.error(`Unexpected ${this.prettyPrintToken(t)}, expected identifier, keyword, or string`),""):(this.advance(),t.toString())}parseChain(){let t=[],e=this.inputIndex;for(;this.index":case"<=":case">=":this.advance();let i=this.parseAdditive();e=new A(this.span(t),this.sourceSpan(t),s,e,i);continue}break}return e}parseAdditive(){let t=this.inputIndex,e=this.parseMultiplicative();for(;this.next.type==l.Operator;){let s=this.next.strValue;switch(s){case"+":case"-":this.advance();let i=this.parseMultiplicative();e=new A(this.span(t),this.sourceSpan(t),s,e,i);continue}break}return e}parseMultiplicative(){let t=this.inputIndex,e=this.parsePrefix();for(;this.next.type==l.Operator;){let s=this.next.strValue;switch(s){case"*":case"%":case"/":this.advance();let i=this.parsePrefix();e=new A(this.span(t),this.sourceSpan(t),s,e,i);continue}break}return e}parsePrefix(){if(this.next.type==l.Operator){let t=this.inputIndex,e=this.next.strValue,s;switch(e){case"+":return this.advance(),s=this.parsePrefix(),F.createPlus(this.span(t),this.sourceSpan(t),s);case"-":return this.advance(),s=this.parsePrefix(),F.createMinus(this.span(t),this.sourceSpan(t),s);case"!":return this.advance(),s=this.parsePrefix(),new ct(this.span(t),this.sourceSpan(t),s)}}return this.parseCallChain()}parseCallChain(){let t=this.inputIndex,e=this.parsePrimary();for(;;)if(this.consumeOptionalCharacter(46))e=this.parseAccessMember(e,t,!1);else if(this.consumeOptionalOperator("?."))this.consumeOptionalCharacter(40)?e=this.parseCall(e,t,!0):e=this.consumeOptionalCharacter(91)?this.parseKeyedReadOrWrite(e,t,!0):this.parseAccessMember(e,t,!0);else if(this.consumeOptionalCharacter(91))e=this.parseKeyedReadOrWrite(e,t,!1);else if(this.consumeOptionalCharacter(40))e=this.parseCall(e,t,!1);else if(this.consumeOptionalOperator("!"))e=new ht(this.span(t),this.sourceSpan(t),e);else return e}parsePrimary(){let t=this.inputIndex;if(this.consumeOptionalCharacter(40)){this.rparensExpected++;let e=this.parsePipe();return this.rparensExpected--,this.expectCharacter(41),e}else{if(this.next.isKeywordNull())return this.advance(),new E(this.span(t),this.sourceSpan(t),null);if(this.next.isKeywordUndefined())return this.advance(),new E(this.span(t),this.sourceSpan(t),void 0);if(this.next.isKeywordTrue())return this.advance(),new E(this.span(t),this.sourceSpan(t),!0);if(this.next.isKeywordFalse())return this.advance(),new E(this.span(t),this.sourceSpan(t),!1);if(this.next.isKeywordThis())return this.advance(),new Lt(this.span(t),this.sourceSpan(t));if(this.consumeOptionalCharacter(91)){this.rbracketsExpected++;let e=this.parseExpressionList(93);return this.rbracketsExpected--,this.expectCharacter(93),new nt(this.span(t),this.sourceSpan(t),e)}else{if(this.next.isCharacter(123))return this.parseLiteralMap();if(this.next.isIdentifier())return this.parseAccessMember(new K(this.span(t),this.sourceSpan(t)),t,!1);if(this.next.isNumber()){let e=this.next.toNumber();return this.advance(),new E(this.span(t),this.sourceSpan(t),e)}else if(this.next.isString()){let e=this.next.toString();return this.advance(),new E(this.span(t),this.sourceSpan(t),e)}else return this.next.isPrivateIdentifier()?(this._reportErrorForPrivateIdentifier(this.next,null),new $(this.span(t),this.sourceSpan(t))):this.index>=this.tokens.length?(this.error(`Unexpected end of expression: ${this.input}`),new $(this.span(t),this.sourceSpan(t))):(this.error(`Unexpected token ${this.next}`),new $(this.span(t),this.sourceSpan(t)))}}}parseExpressionList(t){let e=[];do if(!this.next.isCharacter(t))e.push(this.parsePipe());else break;while(this.consumeOptionalCharacter(44));return e}parseLiteralMap(){let t=[],e=[],s=this.inputIndex;if(this.expectCharacter(123),!this.consumeOptionalCharacter(125)){this.rbracesExpected++;do{let i=this.inputIndex,n=this.next.isString(),a=this.expectIdentifierOrKeywordOrString(),o={key:a,quoted:n};if(t.push(o),n)this.expectCharacter(58),e.push(this.parsePipe());else if(this.consumeOptionalCharacter(58))e.push(this.parsePipe());else{o.isShorthandInitialized=!0;let p=this.span(i),u=this.sourceSpan(i);e.push(new M(p,u,u,new K(p,u),a))}}while(this.consumeOptionalCharacter(44)&&!this.next.isCharacter(125));this.rbracesExpected--,this.expectCharacter(125)}return new at(this.span(s),this.sourceSpan(s),t,e)}parseAccessMember(t,e,s){let i=this.inputIndex,n=this.withContext(gt.Writable,()=>{let p=this.expectIdentifierOrKeyword()??"";return p.length===0&&this.error("Expected identifier for property access",t.span.end),p}),a=this.sourceSpan(i),o;if(s)this.consumeOptionalOperator("=")?(this.error("The '?.' operator cannot be used in the assignment"),o=new $(this.span(e),this.sourceSpan(e))):o=new _(this.span(e),this.sourceSpan(e),a,t,n);else if(this.consumeOptionalOperator("=")){if(!(this.parseFlags&1))return this.error("Bindings cannot contain assignments"),new $(this.span(e),this.sourceSpan(e));let p=this.parseConditional();o=new et(this.span(e),this.sourceSpan(e),a,t,n,p)}else o=new M(this.span(e),this.sourceSpan(e),a,t,n);return o}parseCall(t,e,s){let i=this.inputIndex;this.rparensExpected++;let n=this.parseCallArguments(),a=this.span(i,this.inputIndex).toAbsolute(this.absoluteOffset);this.expectCharacter(41),this.rparensExpected--;let o=this.span(e),p=this.sourceSpan(e);return s?new D(o,p,t,n,a):new pt(o,p,t,n,a)}parseCallArguments(){if(this.next.isCharacter(41))return[];let t=[];do t.push(this.parsePipe());while(this.consumeOptionalCharacter(44));return t}expectTemplateBindingKey(){let t="",e=!1,s=this.currentAbsoluteOffset;do t+=this.expectIdentifierOrKeywordOrString(),e=this.consumeOptionalOperator("-"),e&&(t+="-");while(e);return{source:t,span:new L(s,s+t.length)}}parseTemplateBindings(t){let e=[];for(e.push(...this.parseDirectiveKeywordBindings(t));this.index{this.rbracketsExpected++;let i=this.parsePipe();if(i instanceof $&&this.error("Key access cannot be empty"),this.rbracketsExpected--,this.expectCharacter(93),this.consumeOptionalOperator("="))if(s)this.error("The '?.' operator cannot be used in the assignment");else{let n=this.parseConditional();return new rt(this.span(e),this.sourceSpan(e),t,i,n)}else return s?new U(this.span(e),this.sourceSpan(e),t,i):new st(this.span(e),this.sourceSpan(e),t,i);return new $(this.span(e),this.sourceSpan(e))})}parseDirectiveKeywordBindings(t){let e=[];this.consumeOptionalCharacter(58);let s=this.getDirectiveBoundTarget(),i=this.currentAbsoluteOffset,n=this.parseAsBinding(t);n||(this.consumeStatementTerminator(),i=this.currentAbsoluteOffset);let a=new L(t.span.start,i);return e.push(new ut(a,t,s)),n&&e.push(n),e}getDirectiveBoundTarget(){if(this.next===Bt||this.peekKeywordAs()||this.peekKeywordLet())return null;let t=this.parsePipe(),{start:e,end:s}=t.span,i=this.input.substring(e,s);return new R(t,i,this.location,this.absoluteOffset+e,this.errors)}parseAsBinding(t){if(!this.peekKeywordAs())return null;this.advance();let e=this.expectTemplateBindingKey();this.consumeStatementTerminator();let s=new L(t.span.start,this.currentAbsoluteOffset);return new W(s,e,t)}parseLetBinding(){if(!this.peekKeywordLet())return null;let t=this.currentAbsoluteOffset;this.advance();let e=this.expectTemplateBindingKey(),s=null;this.consumeOptionalOperator("=")&&(s=this.expectTemplateBindingKey()),this.consumeStatementTerminator();let i=new L(t,this.currentAbsoluteOffset);return new W(i,e,s)}consumeStatementTerminator(){this.consumeOptionalCharacter(59)||this.consumeOptionalCharacter(44)}error(t,e=null){this.errors.push(new Z(t,this.input,this.locationText(e),this.location)),this.skip()}locationText(t=null){return t==null&&(t=this.index),to+p.length,0);s+=a,e+=a}t.set(s,e),i++}return t}function Ce({start:r,end:t},e){let s=r,i=t;for(;i!==s&&/\s/.test(e[i-1]);)i--;for(;s!==i&&/\s/.test(e[s]);)s++;return{start:s,end:i}}function Ws({start:r,end:t},e){let s=r,i=t;for(;i!==e.length&&/\s/.test(e[i]);)i++;for(;s!==0&&/\s/.test(e[s-1]);)s--;return{start:s,end:i}}function Gs(r,t){return t[r.start-1]==="("&&t[r.end]===")"?{start:r.start-1,end:r.end+1}:r}function Ae(r,t,e){let s=0,i={start:r.start,end:r.end};for(;;){let n=Ws(i,t),a=Gs(n,t);if(n.start===a.start&&n.end===a.end)break;i.start=a.start,i.end=a.end,s++}return{hasParens:(e?s-1:s)!==0,outerSpan:Ce(e?{start:i.start+1,end:i.end-1}:i,t),innerSpan:Ce(r,t)}}function Oe(r){return typeof r=="string"?t=>t===r:t=>r.test(t)}function Ie(r,t,e){let s=Oe(t);for(let i=e;i>=0;i--){let n=r[i];if(s(n))return i}throw new Error(`Cannot find front char ${t} from index ${e} in ${JSON.stringify(r)}`)}function ke(r,t,e){let s=Oe(t);for(let i=e;imt.prototype._commentStart(r);function Qs(r,t){let e=t?Vs(r):null;if(e===null)return{text:r,comments:[]};let s={type:"CommentLine",value:r.slice(e+2),...Ct({start:e,end:r.length})};return{text:r.slice(0,e),comments:[s]}}function At(r,t=!0){return e=>{let s=new yt,i=new mt(s),{text:n,comments:a}=Qs(e,t),o=r(n,i);if(o.errors.length!==0){let[{message:p}]=o.errors;throw new SyntaxError(p.replace(/^Parser Error: | at column \d+ in [^]*$/g,""))}return{result:o,comments:a,text:n}}}var Le=At((r,t)=>t.parseBinding(r,"",0)),zs=At((r,t)=>t.parseSimpleBinding(r,"",0)),Re=At((r,t)=>t.parseAction(r,"",0)),Pe=At((r,t)=>t.parseInterpolationExpression(r,"",0)),be=At((r,t)=>t.parseTemplateBindings("",r,"",0,0),!1);var Hs=(r,t,e)=>{if(!(r&&t==null))return Array.isArray(t)||typeof t=="string"?t[e<0?t.length+e:e]:t.at(e)},Tt=Hs;var jt=class{text;constructor(t){this.text=t}getCharacterIndex(t,e){return ke(this.text,t,e)}getCharacterLastIndex(t,e){return Ie(this.text,t,e)}transformSpan(t,{stripSpaces:e=!1,hasParentParens:s=!1}={}){if(!e)return Ct(t);let{outerSpan:i,innerSpan:n,hasParens:a}=Ae(t,this.text,s),o=Ct(n);return a&&(o.extra={parenthesized:!0,parenStart:i.start,parenEnd:i.end}),o}createNode(t,{stripSpaces:e=!0,hasParentParens:s=!1}={}){let{type:i,start:n,end:a}=t,o={...t,...this.transformSpan({start:n,end:a},{stripSpaces:e,hasParentParens:s})};switch(i){case"NumericLiteral":case"StringLiteral":{let p=this.text.slice(o.start,o.end),{value:u}=o;o.extra={...o.extra,raw:p,rawValue:u};break}case"ObjectProperty":{let{shorthand:p}=o;p&&(o.extra={...o.extra,shorthand:p});break}}return o}},Ke=jt;function Zt(r){var t;return!!((t=r.extra)!=null&&t.parenthesized)}function k(r){return Zt(r)?r.extra.parenStart:r.start}function N(r){return Zt(r)?r.extra.parenEnd:r.end}function Be(r){return(r.type==="OptionalCallExpression"||r.type==="OptionalMemberExpression")&&!Zt(r)}function Te(r,t){let{start:e,end:s}=r.sourceSpan;return e>=s||/^\s+$/.test(t.slice(e,s))}var kt,St,h,d,Ot,v,Yt,It=class extends Ke{constructor(e,s){super(s);P(this,h);P(this,kt);P(this,St);Y(this,kt,e),Y(this,St,s)}get node(){return c(this,h,v).call(this,O(this,kt))}transformNode(e){return c(this,h,Yt).call(this,e)}};kt=new WeakMap,St=new WeakMap,h=new WeakSet,d=function(e,{stripSpaces:s=!0,hasParentParens:i=!1}={}){return this.createNode(e,{stripSpaces:s,hasParentParens:i})},Ot=function(e,s,{computed:i,optional:n,end:a=N(s),hasParentParens:o=!1}){if(Te(e,O(this,St))||e.sourceSpan.start===s.start)return s;let p=c(this,h,v).call(this,e),u=Be(p);return c(this,h,d).call(this,{type:n||u?"OptionalMemberExpression":"MemberExpression",object:p,property:s,computed:i,...n?{optional:!0}:u?{optional:!1}:void 0,start:k(p),end:a},{hasParentParens:o})},v=function(e,s=!1){return c(this,h,Yt).call(this,e,s)},Yt=function(e,s=!1){if(e instanceof ot){let{expressions:i}=e;if(i.length!==1)throw new Error("Unexpected 'Interpolation'");return c(this,h,v).call(this,i[0])}if(e instanceof F)return c(this,h,d).call(this,{type:"UnaryExpression",prefix:!0,argument:c(this,h,v).call(this,e.expr),operator:e.operator,...e.sourceSpan},{hasParentParens:s});if(e instanceof A){let{left:i,operation:n,right:a}=e,o=c(this,h,v).call(this,i),p=c(this,h,v).call(this,a),u=k(o),f=N(p),S={left:o,right:p,start:u,end:f};return n==="&&"||n==="||"||n==="??"?c(this,h,d).call(this,{...S,type:"LogicalExpression",operator:n},{hasParentParens:s}):c(this,h,d).call(this,{...S,type:"BinaryExpression",operator:n},{hasParentParens:s})}if(e instanceof it){let{exp:i,name:n,args:a}=e,o=c(this,h,v).call(this,i),p=k(o),u=N(o),f=this.getCharacterIndex(/\S/,this.getCharacterIndex("|",u)+1),S=c(this,h,d).call(this,{type:"Identifier",name:n,start:f,end:f+n.length}),g=a.map(y=>c(this,h,v).call(this,y));return c(this,h,d).call(this,{type:"NGPipeExpression",left:o,right:S,arguments:g,start:p,end:N(g.length===0?S:Tt(!1,g,-1))},{hasParentParens:s})}if(e instanceof X)return c(this,h,d).call(this,{type:"NGChainedExpression",expressions:e.expressions.map(i=>c(this,h,v).call(this,i)),...e.sourceSpan},{hasParentParens:s});if(e instanceof tt){let{condition:i,trueExp:n,falseExp:a}=e,o=c(this,h,v).call(this,i),p=c(this,h,v).call(this,n),u=c(this,h,v).call(this,a);return c(this,h,d).call(this,{type:"ConditionalExpression",test:o,consequent:p,alternate:u,start:k(o),end:N(u)},{hasParentParens:s})}if(e instanceof $)return c(this,h,d).call(this,{type:"NGEmptyExpression",...e.sourceSpan},{hasParentParens:s});if(e instanceof K)return c(this,h,d).call(this,{type:"ThisExpression",...e.sourceSpan},{hasParentParens:s});if(e instanceof st||e instanceof U)return c(this,h,Ot).call(this,e.receiver,c(this,h,v).call(this,e.key),{computed:!0,optional:e instanceof U,end:e.sourceSpan.end,hasParentParens:s});if(e instanceof nt)return c(this,h,d).call(this,{type:"ArrayExpression",elements:e.expressions.map(i=>c(this,h,v).call(this,i)),...e.sourceSpan},{hasParentParens:s});if(e instanceof at){let{keys:i,values:n}=e,a=n.map(p=>c(this,h,v).call(this,p)),o=i.map(({key:p,quoted:u},f)=>{let S=a[f],g=k(S),y=N(S),w=this.getCharacterIndex(/\S/,f===0?e.sourceSpan.start+1:this.getCharacterIndex(",",N(a[f-1]))+1),H=g===w?y:this.getCharacterLastIndex(/\S/,this.getCharacterLastIndex(":",g-1)-1)+1,j={start:w,end:H},T=u?c(this,h,d).call(this,{type:"StringLiteral",value:p,...j}):c(this,h,d).call(this,{type:"Identifier",name:p,...j}),Nt=T.endc(this,h,v).call(this,S)),p=c(this,h,v).call(this,n),u=Be(p),f=i||u?"OptionalCallExpression":"CallExpression";return c(this,h,d).call(this,{type:f,callee:p,arguments:o,optional:f==="OptionalCallExpression"?i:void 0,start:k(p),end:e.sourceSpan.end},{hasParentParens:s})}if(e instanceof ht){let i=c(this,h,v).call(this,e.expression);return c(this,h,d).call(this,{type:"TSNonNullExpression",expression:i,start:k(i),end:e.sourceSpan.end},{hasParentParens:s})}if(e instanceof ct){let i=c(this,h,v).call(this,e.expression);return c(this,h,d).call(this,{type:"UnaryExpression",prefix:!0,operator:"!",argument:i,start:e.sourceSpan.start,end:N(i)},{hasParentParens:s})}if(e instanceof M||e instanceof _){let{receiver:i,name:n}=e,a=this.getCharacterLastIndex(/\S/,e.sourceSpan.end-1)+1,o=c(this,h,d).call(this,{type:"Identifier",name:n,start:a-n.length,end:a},Te(i,O(this,St))?{hasParentParens:s}:{});return c(this,h,Ot).call(this,i,o,{computed:!1,optional:e instanceof _,hasParentParens:s})}if(e instanceof rt){let i=c(this,h,v).call(this,e.key),n=c(this,h,v).call(this,e.value),a=c(this,h,Ot).call(this,e.receiver,i,{computed:!0,optional:!1,end:this.getCharacterIndex("]",N(i))+1});return c(this,h,d).call(this,{type:"AssignmentExpression",left:a,operator:"=",right:n,start:k(a),end:N(n)},{hasParentParens:s})}if(e instanceof et){let{receiver:i,name:n,value:a}=e,o=c(this,h,v).call(this,a),p=this.getCharacterLastIndex(/\S/,this.getCharacterLastIndex("=",k(o)-1)-1)+1,u=c(this,h,d).call(this,{type:"Identifier",name:n,start:p-n.length,end:p}),f=c(this,h,Ot).call(this,i,u,{computed:!1,optional:!1});return c(this,h,d).call(this,{type:"AssignmentExpression",left:f,operator:"=",right:o,start:k(f),end:N(o)},{hasParentParens:s})}throw Object.assign(new Error("Unexpected node"),{node:e})};function Me(r,t){return new It(r,t).node}function _e(r){return r instanceof ut}function Ue(r){return r instanceof W}var wt,q,x,Fe,C,Xt,te,ee,De,We,Ge,Ve,Jt=class extends It{constructor(e,s){super(void 0,s);P(this,x);P(this,wt);P(this,q);Y(this,wt,e),Y(this,q,s);for(let i of e)c(this,x,De).call(this,i)}get expressions(){return c(this,x,Ge).call(this)}};wt=new WeakMap,q=new WeakMap,x=new WeakSet,Fe=function(){return O(this,wt)[0].key},C=function(e,{stripSpaces:s=!0}={}){return this.createNode(e,{stripSpaces:s})},Xt=function(e){return this.transformNode(e)},te=function(e){return Ne(e.slice(O(this,x,Fe).source.length))},ee=function(e){let s=O(this,q);if(s[e.start]!=='"'&&s[e.start]!=="'")return;let i=s[e.start],n=!1;for(let a=e.start+1;a({...y,...this.transformSpan({start:y.start,end:w})}),S=y=>({...f(y,u.end),alias:u}),g=n.pop();if(g.type==="NGMicrosyntaxExpression")n.push(S(g));else if(g.type==="NGMicrosyntaxKeyedExpression"){let y=S(g.expression);n.push(f({...g,expression:y},y.end))}else throw new Error(`Unexpected type ${g.type}`)}else n.push(c(this,x,Ve).call(this,p,o));a=p}return c(this,x,C).call(this,{type:"NGMicrosyntax",body:n,...n.length===0?e[0].sourceSpan:{start:n[0].start,end:Tt(!1,n,-1).end}})},Ve=function(e,s){if(_e(e)){let{key:i,value:n}=e;return n?s===0?c(this,x,C).call(this,{type:"NGMicrosyntaxExpression",expression:c(this,x,Xt).call(this,n.ast),alias:null,...n.sourceSpan}):c(this,x,C).call(this,{type:"NGMicrosyntaxKeyedExpression",key:c(this,x,C).call(this,{type:"NGMicrosyntaxKey",name:c(this,x,te).call(this,i.source),...i.span}),expression:c(this,x,C).call(this,{type:"NGMicrosyntaxExpression",expression:c(this,x,Xt).call(this,n.ast),alias:null,...n.sourceSpan}),start:i.span.start,end:n.sourceSpan.end}):c(this,x,C).call(this,{type:"NGMicrosyntaxKey",name:c(this,x,te).call(this,i.source),...i.span})}else{let{key:i,sourceSpan:n}=e;if(/^let\s$/.test(O(this,q).slice(n.start,n.start+4))){let{value:o}=e;return c(this,x,C).call(this,{type:"NGMicrosyntaxLet",key:c(this,x,C).call(this,{type:"NGMicrosyntaxKey",name:i.source,...i.span}),value:o?c(this,x,C).call(this,{type:"NGMicrosyntaxKey",name:o.source,...o.span}):null,start:n.start,end:o?o.span.end:i.span.end})}else{let o=c(this,x,We).call(this,e);return c(this,x,C).call(this,{type:"NGMicrosyntaxAs",key:c(this,x,C).call(this,{type:"NGMicrosyntaxKey",name:o.source,...o.span}),alias:c(this,x,C).call(this,{type:"NGMicrosyntaxKey",name:i.source,...i.span}),start:o.span.start,end:i.span.end})}}};function Qe(r,t){return new Jt(r,t).expressions}function Mt({result:{ast:r},text:t,comments:e}){return Object.assign(Me(r,t),{comments:e})}function ze({result:{templateBindings:r},text:t}){return Qe(r,t)}var qe=r=>Mt(Le(r));var He=r=>Mt(Pe(r)),se=r=>Mt(Re(r)),je=r=>ze(be(r));function re(r){var s,i,n;let t=((s=r.range)==null?void 0:s[0])??r.start,e=(n=((i=r.declaration)==null?void 0:i.decorators)??r.decorators)==null?void 0:n[0];return e?Math.min(re(e),t):t}function Ye(r){var t;return((t=r.range)==null?void 0:t[1])??r.end}function _t(r){return{astFormat:"estree",parse(t){let e=r(t);return{type:"NGRoot",node:r===se&&e.type!=="NGChainedExpression"?{...e,type:"NGChainedExpression",expressions:[e]}:e}},locStart:re,locEnd:Ye}}var js=_t(se),Ys=_t(qe),Zs=_t(He),Js=_t(je);var Ur=ne;export{Ur as default,ie as parsers}; diff --git a/node_modules/prettier/plugins/babel.d.ts b/node_modules/prettier/plugins/babel.d.ts index d9f4d10549..349d5622a7 100644 --- a/node_modules/prettier/plugins/babel.d.ts +++ b/node_modules/prettier/plugins/babel.d.ts @@ -13,5 +13,6 @@ export declare const parsers: { __babel_estree: Parser; json: Parser; json5: Parser; + jsonc: Parser; "json-stringify": Parser; }; diff --git a/node_modules/prettier/plugins/babel.js b/node_modules/prettier/plugins/babel.js index faefe7fba9..c8dff027c3 100644 --- a/node_modules/prettier/plugins/babel.js +++ b/node_modules/prettier/plugins/babel.js @@ -1,16 +1,15 @@ -(function(f){function e(){var i=f();return i.default||i}if(typeof exports=="object"&&typeof module=="object")module.exports=e();else if(typeof define=="function"&&define.amd)define(e);else{var t=typeof globalThis<"u"?globalThis:typeof global<"u"?global:typeof self<"u"?self:this||{};t.prettierPlugins=t.prettierPlugins||{},t.prettierPlugins.babel=e()}})(function(){"use strict";var Ri=Object.create;var Ue=Object.defineProperty;var Ui=Object.getOwnPropertyDescriptor;var ji=Object.getOwnPropertyNames;var $i=Object.getPrototypeOf,Vi=Object.prototype.hasOwnProperty;var cs=(a,t)=>()=>(t||a((t={exports:{}}).exports,t),t.exports),zi=(a,t)=>{for(var e in t)Ue(a,e,{get:t[e],enumerable:!0})},ps=(a,t,e,s)=>{if(t&&typeof t=="object"||typeof t=="function")for(let i of ji(t))!Vi.call(a,i)&&i!==e&&Ue(a,i,{get:()=>t[i],enumerable:!(s=Ui(t,i))||s.enumerable});return a};var pt=(a,t,e)=>(e=a!=null?Ri($i(a)):{},ps(t||!a||!a.__esModule?Ue(e,"default",{value:a,enumerable:!0}):e,a)),Ki=a=>ps(Ue({},"__esModule",{value:!0}),a);var rs=cs(Me=>{"use strict";Object.defineProperty(Me,"__esModule",{value:!0});function We(a,t){if(a==null)return{};var e={},s=Object.keys(a),i,r;for(r=0;r=0)&&(e[i]=a[i]);return e}var B=class{constructor(t,e,s){this.line=void 0,this.column=void 0,this.index=void 0,this.line=t,this.column=e,this.index=s}},fe=class{constructor(t,e){this.start=void 0,this.end=void 0,this.filename=void 0,this.identifierName=void 0,this.start=t,this.end=e}};function L(a,t){let{line:e,column:s,index:i}=a;return new B(e,s+t,i+t)}var Pt={SyntaxError:"BABEL_PARSER_SYNTAX_ERROR",SourceTypeModuleError:"BABEL_PARSER_SOURCETYPE_MODULE_REQUIRED"},qi=(a,t=a.length-1)=>({get(){return a.reduce((e,s)=>e[s],this)},set(e){a.reduce((s,i,r)=>r===t?s[i]=e:s[i],this)}}),Hi=(a,t,e)=>Object.keys(e).map(s=>[s,e[s]]).filter(([,s])=>!!s).map(([s,i])=>[s,typeof i=="function"?{value:i,enumerable:!1}:typeof i.reflect=="string"?Object.assign({},i,qi(i.reflect.split("."))):i]).reduce((s,[i,r])=>Object.defineProperty(s,i,Object.assign({configurable:!0},r)),Object.assign(new a,t)),Wi={ImportMetaOutsideModule:{message:`import.meta may appear only with 'sourceType: "module"'`,code:Pt.SourceTypeModuleError},ImportOutsideModule:{message:`'import' and 'export' may appear only with 'sourceType: "module"'`,code:Pt.SourceTypeModuleError}},us={ArrayPattern:"array destructuring pattern",AssignmentExpression:"assignment expression",AssignmentPattern:"assignment expression",ArrowFunctionExpression:"arrow function expression",ConditionalExpression:"conditional expression",CatchClause:"catch clause",ForOfStatement:"for-of statement",ForInStatement:"for-in statement",ForStatement:"for-loop",FormalParameters:"function parameter list",Identifier:"identifier",ImportSpecifier:"import specifier",ImportDefaultSpecifier:"import default specifier",ImportNamespaceSpecifier:"import namespace specifier",ObjectPattern:"object destructuring pattern",ParenthesizedExpression:"parenthesized expression",RestElement:"rest element",UpdateExpression:{true:"prefix operation",false:"postfix operation"},VariableDeclarator:"variable declaration",YieldExpression:"yield expression"},Tt=({type:a,prefix:t})=>a==="UpdateExpression"?us.UpdateExpression[String(t)]:us[a],Ji={AccessorIsGenerator:({kind:a})=>`A ${a}ter cannot be a generator.`,ArgumentsInClass:"'arguments' is only allowed in functions and class methods.",AsyncFunctionInSingleStatementContext:"Async functions can only be declared at the top level or inside a block.",AwaitBindingIdentifier:"Can not use 'await' as identifier inside an async function.",AwaitBindingIdentifierInStaticBlock:"Can not use 'await' as identifier inside a static block.",AwaitExpressionFormalParameter:"'await' is not allowed in async function parameters.",AwaitUsingNotInAsyncContext:"'await using' is only allowed within async functions and at the top levels of modules.",AwaitNotInAsyncContext:"'await' is only allowed within async functions and at the top levels of modules.",AwaitNotInAsyncFunction:"'await' is only allowed within async functions.",BadGetterArity:"A 'get' accessor must not have any formal parameters.",BadSetterArity:"A 'set' accessor must have exactly one formal parameter.",BadSetterRestParameter:"A 'set' accessor function argument must not be a rest parameter.",ConstructorClassField:"Classes may not have a field named 'constructor'.",ConstructorClassPrivateField:"Classes may not have a private field named '#constructor'.",ConstructorIsAccessor:"Class constructor may not be an accessor.",ConstructorIsAsync:"Constructor can't be an async function.",ConstructorIsGenerator:"Constructor can't be a generator.",DeclarationMissingInitializer:({kind:a})=>`Missing initializer in ${a} declaration.`,DecoratorArgumentsOutsideParentheses:"Decorator arguments must be moved inside parentheses: use '@(decorator(args))' instead of '@(decorator)(args)'.",DecoratorBeforeExport:"Decorators must be placed *before* the 'export' keyword. Remove the 'decoratorsBeforeExport: true' option to use the 'export @decorator class {}' syntax.",DecoratorsBeforeAfterExport:"Decorators can be placed *either* before or after the 'export' keyword, but not in both locations at the same time.",DecoratorConstructor:"Decorators can't be used with a constructor. Did you mean '@dec class { ... }'?",DecoratorExportClass:"Decorators must be placed *after* the 'export' keyword. Remove the 'decoratorsBeforeExport: false' option to use the '@decorator export class {}' syntax.",DecoratorSemicolon:"Decorators must not be followed by a semicolon.",DecoratorStaticBlock:"Decorators can't be used with a static block.",DeletePrivateField:"Deleting a private field is not allowed.",DestructureNamedImport:"ES2015 named imports do not destructure. Use another statement for destructuring after the import.",DuplicateConstructor:"Duplicate constructor in the same class.",DuplicateDefaultExport:"Only one default export allowed per module.",DuplicateExport:({exportName:a})=>`\`${a}\` has already been exported. Exported identifiers must be unique.`,DuplicateProto:"Redefinition of __proto__ property.",DuplicateRegExpFlags:"Duplicate regular expression flag.",ElementAfterRest:"Rest element must be last element.",EscapedCharNotAnIdentifier:"Invalid Unicode escape.",ExportBindingIsString:({localName:a,exportName:t})=>`A string literal cannot be used as an exported binding without \`from\`. +(function(f){function e(){var i=f();return i.default||i}if(typeof exports=="object"&&typeof module=="object")module.exports=e();else if(typeof define=="function"&&define.amd)define(e);else{var t=typeof globalThis<"u"?globalThis:typeof global<"u"?global:typeof self<"u"?self:this||{};t.prettierPlugins=t.prettierPlugins||{},t.prettierPlugins.babel=e()}})(function(){"use strict";var $s=Object.create;var Se=Object.defineProperty;var Vs=Object.getOwnPropertyDescriptor;var qs=Object.getOwnPropertyNames;var zs=Object.getPrototypeOf,Ks=Object.prototype.hasOwnProperty;var Hs=(a,t)=>()=>(t||a((t={exports:{}}).exports,t),t.exports),Ws=(a,t)=>{for(var e in t)Se(a,e,{get:t[e],enumerable:!0})},kt=(a,t,e,s)=>{if(t&&typeof t=="object"||typeof t=="function")for(let i of qs(t))!Ks.call(a,i)&&i!==e&&Se(a,i,{get:()=>t[i],enumerable:!(s=Vs(t,i))||s.enumerable});return a};var vt=(a,t,e)=>(e=a!=null?$s(zs(a)):{},kt(t||!a||!a.__esModule?Se(e,"default",{value:a,enumerable:!0}):e,a)),Js=a=>kt(Se({},"__esModule",{value:!0}),a);var At=Hs(xe=>{"use strict";Object.defineProperty(xe,"__esModule",{value:!0});function Ht(a,t){if(a==null)return{};var e={},s=Object.keys(a),i,r;for(r=0;r=0)&&(e[i]=a[i]);return e}var F=class{constructor(t,e,s){this.line=void 0,this.column=void 0,this.index=void 0,this.line=t,this.column=e,this.index=s}},ee=class{constructor(t,e){this.start=void 0,this.end=void 0,this.filename=void 0,this.identifierName=void 0,this.start=t,this.end=e}};function v(a,t){let{line:e,column:s,index:i}=a;return new F(e,s+t,i+t)}var Lt="BABEL_PARSER_SOURCETYPE_MODULE_REQUIRED",Xs={ImportMetaOutsideModule:{message:`import.meta may appear only with 'sourceType: "module"'`,code:Lt},ImportOutsideModule:{message:`'import' and 'export' may appear only with 'sourceType: "module"'`,code:Lt}},Dt={ArrayPattern:"array destructuring pattern",AssignmentExpression:"assignment expression",AssignmentPattern:"assignment expression",ArrowFunctionExpression:"arrow function expression",ConditionalExpression:"conditional expression",CatchClause:"catch clause",ForOfStatement:"for-of statement",ForInStatement:"for-in statement",ForStatement:"for-loop",FormalParameters:"function parameter list",Identifier:"identifier",ImportSpecifier:"import specifier",ImportDefaultSpecifier:"import default specifier",ImportNamespaceSpecifier:"import namespace specifier",ObjectPattern:"object destructuring pattern",ParenthesizedExpression:"parenthesized expression",RestElement:"rest element",UpdateExpression:{true:"prefix operation",false:"postfix operation"},VariableDeclarator:"variable declaration",YieldExpression:"yield expression"},Ee=a=>a.type==="UpdateExpression"?Dt.UpdateExpression[`${a.prefix}`]:Dt[a.type],Gs={AccessorIsGenerator:({kind:a})=>`A ${a}ter cannot be a generator.`,ArgumentsInClass:"'arguments' is only allowed in functions and class methods.",AsyncFunctionInSingleStatementContext:"Async functions can only be declared at the top level or inside a block.",AwaitBindingIdentifier:"Can not use 'await' as identifier inside an async function.",AwaitBindingIdentifierInStaticBlock:"Can not use 'await' as identifier inside a static block.",AwaitExpressionFormalParameter:"'await' is not allowed in async function parameters.",AwaitUsingNotInAsyncContext:"'await using' is only allowed within async functions and at the top levels of modules.",AwaitNotInAsyncContext:"'await' is only allowed within async functions and at the top levels of modules.",AwaitNotInAsyncFunction:"'await' is only allowed within async functions.",BadGetterArity:"A 'get' accessor must not have any formal parameters.",BadSetterArity:"A 'set' accessor must have exactly one formal parameter.",BadSetterRestParameter:"A 'set' accessor function argument must not be a rest parameter.",ConstructorClassField:"Classes may not have a field named 'constructor'.",ConstructorClassPrivateField:"Classes may not have a private field named '#constructor'.",ConstructorIsAccessor:"Class constructor may not be an accessor.",ConstructorIsAsync:"Constructor can't be an async function.",ConstructorIsGenerator:"Constructor can't be a generator.",DeclarationMissingInitializer:({kind:a})=>`Missing initializer in ${a} declaration.`,DecoratorArgumentsOutsideParentheses:"Decorator arguments must be moved inside parentheses: use '@(decorator(args))' instead of '@(decorator)(args)'.",DecoratorBeforeExport:"Decorators must be placed *before* the 'export' keyword. Remove the 'decoratorsBeforeExport: true' option to use the 'export @decorator class {}' syntax.",DecoratorsBeforeAfterExport:"Decorators can be placed *either* before or after the 'export' keyword, but not in both locations at the same time.",DecoratorConstructor:"Decorators can't be used with a constructor. Did you mean '@dec class { ... }'?",DecoratorExportClass:"Decorators must be placed *after* the 'export' keyword. Remove the 'decoratorsBeforeExport: false' option to use the '@decorator export class {}' syntax.",DecoratorSemicolon:"Decorators must not be followed by a semicolon.",DecoratorStaticBlock:"Decorators can't be used with a static block.",DeferImportRequiresNamespace:'Only `import defer * as x from "./module"` is valid.',DeletePrivateField:"Deleting a private field is not allowed.",DestructureNamedImport:"ES2015 named imports do not destructure. Use another statement for destructuring after the import.",DuplicateConstructor:"Duplicate constructor in the same class.",DuplicateDefaultExport:"Only one default export allowed per module.",DuplicateExport:({exportName:a})=>`\`${a}\` has already been exported. Exported identifiers must be unique.`,DuplicateProto:"Redefinition of __proto__ property.",DuplicateRegExpFlags:"Duplicate regular expression flag.",DynamicImportPhaseRequiresImportExpressions:({phase:a})=>`'import.${a}(...)' can only be parsed when using the 'createImportExpressions' option.`,ElementAfterRest:"Rest element must be last element.",EscapedCharNotAnIdentifier:"Invalid Unicode escape.",ExportBindingIsString:({localName:a,exportName:t})=>`A string literal cannot be used as an exported binding without \`from\`. - Did you mean \`export { '${a}' as '${t}' } from 'some-module'\`?`,ExportDefaultFromAsIdentifier:"'from' is not allowed as an identifier after 'export default'.",ForInOfLoopInitializer:({type:a})=>`'${a==="ForInStatement"?"for-in":"for-of"}' loop variable declaration may not have an initializer.`,ForInUsing:"For-in loop may not start with 'using' declaration.",ForOfAsync:"The left-hand side of a for-of loop may not be 'async'.",ForOfLet:"The left-hand side of a for-of loop may not start with 'let'.",GeneratorInSingleStatementContext:"Generators can only be declared at the top level or inside a block.",IllegalBreakContinue:({type:a})=>`Unsyntactic ${a==="BreakStatement"?"break":"continue"}.`,IllegalLanguageModeDirective:"Illegal 'use strict' directive in function with non-simple parameter list.",IllegalReturn:"'return' outside of function.",ImportAttributesUseAssert:"The `assert` keyword in import attributes is deprecated and it has been replaced by the `with` keyword. You can enable the `deprecatedAssertSyntax: true` option in the import attributes plugin to suppress this error.",ImportBindingIsString:({importName:a})=>`A string literal cannot be used as an imported binding. -- Did you mean \`import { "${a}" as foo }\`?`,ImportCallArgumentTrailingComma:"Trailing comma is disallowed inside import(...) arguments.",ImportCallArity:({maxArgumentCount:a})=>`\`import()\` requires exactly ${a===1?"one argument":"one or two arguments"}.`,ImportCallNotNewExpression:"Cannot use new with import(...).",ImportCallSpreadArgument:"`...` is not allowed in `import()`.",ImportJSONBindingNotDefault:"A JSON module can only be imported with `default`.",ImportReflectionHasAssertion:"`import module x` cannot have assertions.",ImportReflectionNotBinding:'Only `import module x from "./module"` is valid.',IncompatibleRegExpUVFlags:"The 'u' and 'v' regular expression flags cannot be enabled at the same time.",InvalidBigIntLiteral:"Invalid BigIntLiteral.",InvalidCodePoint:"Code point out of bounds.",InvalidCoverInitializedName:"Invalid shorthand property initializer.",InvalidDecimal:"Invalid decimal.",InvalidDigit:({radix:a})=>`Expected number in radix ${a}.`,InvalidEscapeSequence:"Bad character escape sequence.",InvalidEscapeSequenceTemplate:"Invalid escape sequence in template.",InvalidEscapedReservedWord:({reservedWord:a})=>`Escape sequence in keyword ${a}.`,InvalidIdentifier:({identifierName:a})=>`Invalid identifier ${a}.`,InvalidLhs:({ancestor:a})=>`Invalid left-hand side in ${Tt(a)}.`,InvalidLhsBinding:({ancestor:a})=>`Binding invalid left-hand side in ${Tt(a)}.`,InvalidNumber:"Invalid number.",InvalidOrMissingExponent:"Floating-point numbers require a valid exponent after the 'e'.",InvalidOrUnexpectedToken:({unexpected:a})=>`Unexpected character '${a}'.`,InvalidParenthesizedAssignment:"Invalid parenthesized assignment pattern.",InvalidPrivateFieldResolution:({identifierName:a})=>`Private name #${a} is not defined.`,InvalidPropertyBindingPattern:"Binding member expression.",InvalidRecordProperty:"Only properties and spread elements are allowed in record definitions.",InvalidRestAssignmentPattern:"Invalid rest operator's argument.",LabelRedeclaration:({labelName:a})=>`Label '${a}' is already declared.`,LetInLexicalBinding:"'let' is not allowed to be used as a name in 'let' or 'const' declarations.",LineTerminatorBeforeArrow:"No line break is allowed before '=>'.",MalformedRegExpFlags:"Invalid regular expression flag.",MissingClassName:"A class name is required.",MissingEqInAssignment:"Only '=' operator can be used for specifying default value.",MissingSemicolon:"Missing semicolon.",MissingPlugin:({missingPlugin:a})=>`This experimental syntax requires enabling the parser plugin: ${a.map(t=>JSON.stringify(t)).join(", ")}.`,MissingOneOfPlugins:({missingPlugin:a})=>`This experimental syntax requires enabling one of the following parser plugin(s): ${a.map(t=>JSON.stringify(t)).join(", ")}.`,MissingUnicodeEscape:"Expecting Unicode escape sequence \\uXXXX.",MixingCoalesceWithLogical:"Nullish coalescing operator(??) requires parens when mixing with logical operators.",ModuleAttributeDifferentFromType:"The only accepted module attribute is `type`.",ModuleAttributeInvalidValue:"Only string literals are allowed as module attribute values.",ModuleAttributesWithDuplicateKeys:({key:a})=>`Duplicate key "${a}" is not allowed in module attributes.`,ModuleExportNameHasLoneSurrogate:({surrogateCharCode:a})=>`An export name cannot include a lone surrogate, found '\\u${a.toString(16)}'.`,ModuleExportUndefined:({localName:a})=>`Export '${a}' is not defined.`,MultipleDefaultsInSwitch:"Multiple default clauses.",NewlineAfterThrow:"Illegal newline after throw.",NoCatchOrFinally:"Missing catch or finally clause.",NumberIdentifier:"Identifier directly after number.",NumericSeparatorInEscapeSequence:"Numeric separators are not allowed inside unicode escape sequences or hex escape sequences.",ObsoleteAwaitStar:"'await*' has been removed from the async functions proposal. Use Promise.all() instead.",OptionalChainingNoNew:"Constructors in/after an Optional Chain are not allowed.",OptionalChainingNoTemplate:"Tagged Template Literals are not allowed in optionalChain.",OverrideOnConstructor:"'override' modifier cannot appear on a constructor declaration.",ParamDupe:"Argument name clash.",PatternHasAccessor:"Object pattern can't contain getter or setter.",PatternHasMethod:"Object pattern can't contain methods.",PrivateInExpectedIn:({identifierName:a})=>`Private names are only allowed in property accesses (\`obj.#${a}\`) or in \`in\` expressions (\`#${a} in obj\`).`,PrivateNameRedeclaration:({identifierName:a})=>`Duplicate private name #${a}.`,RecordExpressionBarIncorrectEndSyntaxType:"Record expressions ending with '|}' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'bar'.",RecordExpressionBarIncorrectStartSyntaxType:"Record expressions starting with '{|' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'bar'.",RecordExpressionHashIncorrectStartSyntaxType:"Record expressions starting with '#{' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'hash'.",RecordNoProto:"'__proto__' is not allowed in Record expressions.",RestTrailingComma:"Unexpected trailing comma after rest element.",SloppyFunction:"In non-strict mode code, functions can only be declared at top level or inside a block.",SloppyFunctionAnnexB:"In non-strict mode code, functions can only be declared at top level, inside a block, or as the body of an if statement.",StaticPrototype:"Classes may not have static property named prototype.",SuperNotAllowed:"`super()` is only valid inside a class constructor of a subclass. Maybe a typo in the method name ('constructor') or not extending another class?",SuperPrivateField:"Private fields can't be accessed on super.",TrailingDecorator:"Decorators must be attached to a class element.",TupleExpressionBarIncorrectEndSyntaxType:"Tuple expressions ending with '|]' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'bar'.",TupleExpressionBarIncorrectStartSyntaxType:"Tuple expressions starting with '[|' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'bar'.",TupleExpressionHashIncorrectStartSyntaxType:"Tuple expressions starting with '#[' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'hash'.",UnexpectedArgumentPlaceholder:"Unexpected argument placeholder.",UnexpectedAwaitAfterPipelineBody:'Unexpected "await" after pipeline body; await must have parentheses in minimal proposal.',UnexpectedDigitAfterHash:"Unexpected digit after hash token.",UnexpectedImportExport:"'import' and 'export' may only appear at the top level.",UnexpectedKeyword:({keyword:a})=>`Unexpected keyword '${a}'.`,UnexpectedLeadingDecorator:"Leading decorators must be attached to a class declaration.",UnexpectedLexicalDeclaration:"Lexical declaration cannot appear in a single-statement context.",UnexpectedNewTarget:"`new.target` can only be used in functions or class properties.",UnexpectedNumericSeparator:"A numeric separator is only allowed between two digits.",UnexpectedPrivateField:"Unexpected private name.",UnexpectedReservedWord:({reservedWord:a})=>`Unexpected reserved word '${a}'.`,UnexpectedSuper:"'super' is only allowed in object methods and classes.",UnexpectedToken:({expected:a,unexpected:t})=>`Unexpected token${t?` '${t}'.`:""}${a?`, expected "${a}"`:""}`,UnexpectedTokenUnaryExponentiation:"Illegal expression. Wrap left hand side or entire exponentiation in parentheses.",UnexpectedUsingDeclaration:"Using declaration cannot appear in the top level when source type is `script`.",UnsupportedBind:"Binding should be performed on object property.",UnsupportedDecoratorExport:"A decorated export must export a class declaration.",UnsupportedDefaultExport:"Only expressions, functions or classes are allowed as the `default` export.",UnsupportedImport:"`import` can only be used in `import()` or `import.meta`.",UnsupportedMetaProperty:({target:a,onlyValidPropertyName:t})=>`The only valid meta property for ${a} is ${a}.${t}.`,UnsupportedParameterDecorator:"Decorators cannot be used to decorate parameters.",UnsupportedPropertyDecorator:"Decorators cannot be used to decorate object literal properties.",UnsupportedSuper:"'super' can only be used with function calls (i.e. super()) or in property accesses (i.e. super.prop or super[prop]).",UnterminatedComment:"Unterminated comment.",UnterminatedRegExp:"Unterminated regular expression.",UnterminatedString:"Unterminated string constant.",UnterminatedTemplate:"Unterminated template.",UsingDeclarationHasBindingPattern:"Using declaration cannot have destructuring patterns.",VarRedeclaration:({identifierName:a})=>`Identifier '${a}' has already been declared.`,YieldBindingIdentifier:"Can not use 'yield' as identifier inside a generator.",YieldInParameter:"Yield expression is not allowed in formal parameters.",ZeroDigitNumericSeparator:"Numeric separator can not be used after leading 0."},Xi={StrictDelete:"Deleting local variable in strict mode.",StrictEvalArguments:({referenceName:a})=>`Assigning to '${a}' in strict mode.`,StrictEvalArgumentsBinding:({bindingName:a})=>`Binding '${a}' in strict mode.`,StrictFunction:"In strict mode code, functions can only be declared at top level or inside a block.",StrictNumericEscape:"The only valid numeric escape in strict mode is '\\0'.",StrictOctalLiteral:"Legacy octal literals are not allowed in strict mode.",StrictWith:"'with' in strict mode."},Gi=new Set(["ArrowFunctionExpression","AssignmentExpression","ConditionalExpression","YieldExpression"]),Yi={PipeBodyIsTighter:"Unexpected yield after pipeline body; any yield expression acting as Hack-style pipe body must be parenthesized due to its loose operator precedence.",PipeTopicRequiresHackPipes:'Topic reference is used, but the pipelineOperator plugin was not passed a "proposal": "hack" or "smart" option.',PipeTopicUnbound:"Topic reference is unbound; it must be inside a pipe body.",PipeTopicUnconfiguredToken:({token:a})=>`Invalid topic token ${a}. In order to use ${a} as a topic reference, the pipelineOperator plugin must be configured with { "proposal": "hack", "topicToken": "${a}" }.`,PipeTopicUnused:"Hack-style pipe body does not contain a topic reference; Hack-style pipes must use topic at least once.",PipeUnparenthesizedBody:({type:a})=>`Hack-style pipe body cannot be an unparenthesized ${Tt({type:a})}; please wrap it in parentheses.`,PipelineBodyNoArrow:'Unexpected arrow "=>" after pipeline body; arrow function in pipeline body must be parenthesized.',PipelineBodySequenceExpression:"Pipeline body may not be a comma-separated sequence expression.",PipelineHeadSequenceExpression:"Pipeline head should not be a comma-separated sequence expression.",PipelineTopicUnused:"Pipeline is in topic style but does not use topic reference.",PrimaryTopicNotAllowed:"Topic reference was used in a lexical context without topic binding.",PrimaryTopicRequiresSmartPipeline:'Topic reference is used, but the pipelineOperator plugin was not passed a "proposal": "hack" or "smart" option.'},Qi=["toMessage"],Zi=["message"];function er(a){let{toMessage:t}=a,e=We(a,Qi);return function s({loc:i,details:r}){return Hi(SyntaxError,Object.assign({},e,{loc:i}),{clone(n={}){let o=n.loc||{};return s({loc:new B("line"in o?o.line:this.loc.line,"column"in o?o.column:this.loc.column,"index"in o?o.index:this.loc.index),details:Object.assign({},this.details,n.details)})},details:{value:r,enumerable:!1},message:{get(){return`${t(this.details)} (${this.loc.line}:${this.loc.column})`},set(n){Object.defineProperty(this,"message",{value:n})}},pos:{reflect:"loc.index",enumerable:!0},missingPlugin:"missingPlugin"in r&&{reflect:"details.missingPlugin",enumerable:!0}})}}function V(a,t){if(Array.isArray(a))return s=>V(s,a[0]);let e={};for(let s of Object.keys(a)){let i=a[s],r=typeof i=="string"?{message:()=>i}:typeof i=="function"?{message:i}:i,{message:n}=r,o=We(r,Zi),h=typeof n=="string"?()=>n:n;e[s]=er(Object.assign({code:Pt.SyntaxError,reasonCode:s,toMessage:h},t?{syntaxPlugin:t}:{},o))}return e}var p=Object.assign({},V(Wi),V(Ji),V(Xi),V`pipelineOperator`(Yi)),{defineProperty:tr}=Object,fs=(a,t)=>tr(a,t,{enumerable:!1,value:a[t]});function Ae(a){return a.loc.start&&fs(a.loc.start,"index"),a.loc.end&&fs(a.loc.end,"index"),a}var sr=a=>class extends a{parse(){let e=Ae(super.parse());return this.options.tokens&&(e.tokens=e.tokens.map(Ae)),e}parseRegExpLiteral({pattern:e,flags:s}){let i=null;try{i=new RegExp(e,s)}catch{}let r=this.estreeParseLiteral(i);return r.regex={pattern:e,flags:s},r}parseBigIntLiteral(e){let s;try{s=BigInt(e)}catch{s=null}let i=this.estreeParseLiteral(s);return i.bigint=String(i.value||e),i}parseDecimalLiteral(e){let i=this.estreeParseLiteral(null);return i.decimal=String(i.value||e),i}estreeParseLiteral(e){return this.parseLiteral(e,"Literal")}parseStringLiteral(e){return this.estreeParseLiteral(e)}parseNumericLiteral(e){return this.estreeParseLiteral(e)}parseNullLiteral(){return this.estreeParseLiteral(null)}parseBooleanLiteral(e){return this.estreeParseLiteral(e)}directiveToStmt(e){let s=e.value;delete e.value,s.type="Literal",s.raw=s.extra.raw,s.value=s.extra.expressionValue;let i=e;return i.type="ExpressionStatement",i.expression=s,i.directive=s.extra.rawValue,delete s.extra,i}initFunction(e,s){super.initFunction(e,s),e.expression=!1}checkDeclaration(e){e!=null&&this.isObjectProperty(e)?this.checkDeclaration(e.value):super.checkDeclaration(e)}getObjectOrClassMethodParams(e){return e.value.params}isValidDirective(e){var s;return e.type==="ExpressionStatement"&&e.expression.type==="Literal"&&typeof e.expression.value=="string"&&!((s=e.expression.extra)!=null&&s.parenthesized)}parseBlockBody(e,s,i,r,n){super.parseBlockBody(e,s,i,r,n);let o=e.directives.map(h=>this.directiveToStmt(h));e.body=o.concat(e.body),delete e.directives}pushClassMethod(e,s,i,r,n,o){this.parseMethod(s,i,r,n,o,"ClassMethod",!0),s.typeParameters&&(s.value.typeParameters=s.typeParameters,delete s.typeParameters),e.body.push(s)}parsePrivateName(){let e=super.parsePrivateName();return this.getPluginOption("estree","classFeatures")?this.convertPrivateNameToPrivateIdentifier(e):e}convertPrivateNameToPrivateIdentifier(e){let s=super.getPrivateNameSV(e);return e=e,delete e.id,e.name=s,e.type="PrivateIdentifier",e}isPrivateName(e){return this.getPluginOption("estree","classFeatures")?e.type==="PrivateIdentifier":super.isPrivateName(e)}getPrivateNameSV(e){return this.getPluginOption("estree","classFeatures")?e.name:super.getPrivateNameSV(e)}parseLiteral(e,s){let i=super.parseLiteral(e,s);return i.raw=i.extra.raw,delete i.extra,i}parseFunctionBody(e,s,i=!1){super.parseFunctionBody(e,s,i),e.expression=e.body.type!=="BlockStatement"}parseMethod(e,s,i,r,n,o,h=!1){let l=this.startNode();return l.kind=e.kind,l=super.parseMethod(l,s,i,r,n,o,h),l.type="FunctionExpression",delete l.kind,e.value=l,o==="ClassPrivateMethod"&&(e.computed=!1),this.finishNode(e,"MethodDefinition")}parseClassProperty(...e){let s=super.parseClassProperty(...e);return this.getPluginOption("estree","classFeatures")&&(s.type="PropertyDefinition"),s}parseClassPrivateProperty(...e){let s=super.parseClassPrivateProperty(...e);return this.getPluginOption("estree","classFeatures")&&(s.type="PropertyDefinition",s.computed=!1),s}parseObjectMethod(e,s,i,r,n){let o=super.parseObjectMethod(e,s,i,r,n);return o&&(o.type="Property",o.kind==="method"&&(o.kind="init"),o.shorthand=!1),o}parseObjectProperty(e,s,i,r){let n=super.parseObjectProperty(e,s,i,r);return n&&(n.kind="init",n.type="Property"),n}isValidLVal(e,s,i){return e==="Property"?"value":super.isValidLVal(e,s,i)}isAssignable(e,s){return e!=null&&this.isObjectProperty(e)?this.isAssignable(e.value,s):super.isAssignable(e,s)}toAssignable(e,s=!1){if(e!=null&&this.isObjectProperty(e)){let{key:i,value:r}=e;this.isPrivateName(i)&&this.classScope.usePrivateName(this.getPrivateNameSV(i),i.loc.start),this.toAssignable(r,s)}else super.toAssignable(e,s)}toAssignableObjectExpressionProp(e,s,i){e.kind==="get"||e.kind==="set"?this.raise(p.PatternHasAccessor,{at:e.key}):e.method?this.raise(p.PatternHasMethod,{at:e.key}):super.toAssignableObjectExpressionProp(e,s,i)}finishCallExpression(e,s){let i=super.finishCallExpression(e,s);if(i.callee.type==="Import"){if(i.type="ImportExpression",i.source=i.arguments[0],this.hasPlugin("importAttributes")||this.hasPlugin("importAssertions")){var r;i.attributes=(r=i.arguments[1])!=null?r:null}delete i.arguments,delete i.callee}return i}toReferencedArguments(e){e.type!=="ImportExpression"&&super.toReferencedArguments(e)}parseExport(e,s){let i=this.state.lastTokStartLoc,r=super.parseExport(e,s);switch(r.type){case"ExportAllDeclaration":r.exported=null;break;case"ExportNamedDeclaration":r.specifiers.length===1&&r.specifiers[0].type==="ExportNamespaceSpecifier"&&(r.type="ExportAllDeclaration",r.exported=r.specifiers[0].exported,delete r.specifiers);case"ExportDefaultDeclaration":{var n;let{declaration:o}=r;(o==null?void 0:o.type)==="ClassDeclaration"&&((n=o.decorators)==null?void 0:n.length)>0&&o.start===r.start&&this.resetStartLocation(r,i)}break}return r}parseSubscript(e,s,i,r){let n=super.parseSubscript(e,s,i,r);if(r.optionalChainMember){if((n.type==="OptionalMemberExpression"||n.type==="OptionalCallExpression")&&(n.type=n.type.substring(8)),r.stop){let o=this.startNodeAtNode(n);return o.expression=n,this.finishNode(o,"ChainExpression")}}else(n.type==="MemberExpression"||n.type==="CallExpression")&&(n.optional=!1);return n}hasPropertyAsPrivateName(e){return e.type==="ChainExpression"&&(e=e.expression),super.hasPropertyAsPrivateName(e)}isObjectProperty(e){return e.type==="Property"&&e.kind==="init"&&!e.method}isObjectMethod(e){return e.method||e.kind==="get"||e.kind==="set"}finishNodeAt(e,s,i){return Ae(super.finishNodeAt(e,s,i))}resetStartLocation(e,s){super.resetStartLocation(e,s),Ae(e)}resetEndLocation(e,s=this.state.lastTokEndLoc){super.resetEndLocation(e,s),Ae(e)}},Z=class{constructor(t,e){this.token=void 0,this.preserveSpace=void 0,this.token=t,this.preserveSpace=!!e}},E={brace:new Z("{"),j_oTag:new Z("...",!0)};E.template=new Z("`",!0);var g=!0,m=!0,ut=!0,Se=!0,q=!0,ir=!0,Je=class{constructor(t,e={}){this.label=void 0,this.keyword=void 0,this.beforeExpr=void 0,this.startsExpr=void 0,this.rightAssociative=void 0,this.isLoop=void 0,this.isAssign=void 0,this.prefix=void 0,this.postfix=void 0,this.binop=void 0,this.label=t,this.keyword=e.keyword,this.beforeExpr=!!e.beforeExpr,this.startsExpr=!!e.startsExpr,this.rightAssociative=!!e.rightAssociative,this.isLoop=!!e.isLoop,this.isAssign=!!e.isAssign,this.prefix=!!e.prefix,this.postfix=!!e.postfix,this.binop=e.binop!=null?e.binop:null,this.updateContext=null}},zt=new Map;function A(a,t={}){t.keyword=a;let e=P(a,t);return zt.set(a,e),e}function v(a,t){return P(a,{beforeExpr:g,binop:t})}var Ie=-1,j=[],Kt=[],qt=[],Ht=[],Wt=[],Jt=[];function P(a,t={}){var e,s,i,r;return++Ie,Kt.push(a),qt.push((e=t.binop)!=null?e:-1),Ht.push((s=t.beforeExpr)!=null?s:!1),Wt.push((i=t.startsExpr)!=null?i:!1),Jt.push((r=t.prefix)!=null?r:!1),j.push(new Je(a,t)),Ie}function b(a,t={}){var e,s,i,r;return++Ie,zt.set(a,Ie),Kt.push(a),qt.push((e=t.binop)!=null?e:-1),Ht.push((s=t.beforeExpr)!=null?s:!1),Wt.push((i=t.startsExpr)!=null?i:!1),Jt.push((r=t.prefix)!=null?r:!1),j.push(new Je("name",t)),Ie}var rr={bracketL:P("[",{beforeExpr:g,startsExpr:m}),bracketHashL:P("#[",{beforeExpr:g,startsExpr:m}),bracketBarL:P("[|",{beforeExpr:g,startsExpr:m}),bracketR:P("]"),bracketBarR:P("|]"),braceL:P("{",{beforeExpr:g,startsExpr:m}),braceBarL:P("{|",{beforeExpr:g,startsExpr:m}),braceHashL:P("#{",{beforeExpr:g,startsExpr:m}),braceR:P("}"),braceBarR:P("|}"),parenL:P("(",{beforeExpr:g,startsExpr:m}),parenR:P(")"),comma:P(",",{beforeExpr:g}),semi:P(";",{beforeExpr:g}),colon:P(":",{beforeExpr:g}),doubleColon:P("::",{beforeExpr:g}),dot:P("."),question:P("?",{beforeExpr:g}),questionDot:P("?."),arrow:P("=>",{beforeExpr:g}),template:P("template"),ellipsis:P("...",{beforeExpr:g}),backQuote:P("`",{startsExpr:m}),dollarBraceL:P("${",{beforeExpr:g,startsExpr:m}),templateTail:P("...`",{startsExpr:m}),templateNonTail:P("...${",{beforeExpr:g,startsExpr:m}),at:P("@"),hash:P("#",{startsExpr:m}),interpreterDirective:P("#!..."),eq:P("=",{beforeExpr:g,isAssign:Se}),assign:P("_=",{beforeExpr:g,isAssign:Se}),slashAssign:P("_=",{beforeExpr:g,isAssign:Se}),xorAssign:P("_=",{beforeExpr:g,isAssign:Se}),moduloAssign:P("_=",{beforeExpr:g,isAssign:Se}),incDec:P("++/--",{prefix:q,postfix:ir,startsExpr:m}),bang:P("!",{beforeExpr:g,prefix:q,startsExpr:m}),tilde:P("~",{beforeExpr:g,prefix:q,startsExpr:m}),doubleCaret:P("^^",{startsExpr:m}),doubleAt:P("@@",{startsExpr:m}),pipeline:v("|>",0),nullishCoalescing:v("??",1),logicalOR:v("||",1),logicalAND:v("&&",2),bitwiseOR:v("|",3),bitwiseXOR:v("^",4),bitwiseAND:v("&",5),equality:v("==/!=/===/!==",6),lt:v("/<=/>=",7),gt:v("/<=/>=",7),relational:v("/<=/>=",7),bitShift:v("<>/>>>",8),bitShiftL:v("<>/>>>",8),bitShiftR:v("<>/>>>",8),plusMin:P("+/-",{beforeExpr:g,binop:9,prefix:q,startsExpr:m}),modulo:P("%",{binop:10,startsExpr:m}),star:P("*",{binop:10}),slash:v("/",10),exponent:P("**",{beforeExpr:g,binop:11,rightAssociative:!0}),_in:A("in",{beforeExpr:g,binop:7}),_instanceof:A("instanceof",{beforeExpr:g,binop:7}),_break:A("break"),_case:A("case",{beforeExpr:g}),_catch:A("catch"),_continue:A("continue"),_debugger:A("debugger"),_default:A("default",{beforeExpr:g}),_else:A("else",{beforeExpr:g}),_finally:A("finally"),_function:A("function",{startsExpr:m}),_if:A("if"),_return:A("return",{beforeExpr:g}),_switch:A("switch"),_throw:A("throw",{beforeExpr:g,prefix:q,startsExpr:m}),_try:A("try"),_var:A("var"),_const:A("const"),_with:A("with"),_new:A("new",{beforeExpr:g,startsExpr:m}),_this:A("this",{startsExpr:m}),_super:A("super",{startsExpr:m}),_class:A("class",{startsExpr:m}),_extends:A("extends",{beforeExpr:g}),_export:A("export"),_import:A("import",{startsExpr:m}),_null:A("null",{startsExpr:m}),_true:A("true",{startsExpr:m}),_false:A("false",{startsExpr:m}),_typeof:A("typeof",{beforeExpr:g,prefix:q,startsExpr:m}),_void:A("void",{beforeExpr:g,prefix:q,startsExpr:m}),_delete:A("delete",{beforeExpr:g,prefix:q,startsExpr:m}),_do:A("do",{isLoop:ut,beforeExpr:g}),_for:A("for",{isLoop:ut}),_while:A("while",{isLoop:ut}),_as:b("as",{startsExpr:m}),_assert:b("assert",{startsExpr:m}),_async:b("async",{startsExpr:m}),_await:b("await",{startsExpr:m}),_from:b("from",{startsExpr:m}),_get:b("get",{startsExpr:m}),_let:b("let",{startsExpr:m}),_meta:b("meta",{startsExpr:m}),_of:b("of",{startsExpr:m}),_sent:b("sent",{startsExpr:m}),_set:b("set",{startsExpr:m}),_static:b("static",{startsExpr:m}),_using:b("using",{startsExpr:m}),_yield:b("yield",{startsExpr:m}),_asserts:b("asserts",{startsExpr:m}),_checks:b("checks",{startsExpr:m}),_exports:b("exports",{startsExpr:m}),_global:b("global",{startsExpr:m}),_implements:b("implements",{startsExpr:m}),_intrinsic:b("intrinsic",{startsExpr:m}),_infer:b("infer",{startsExpr:m}),_is:b("is",{startsExpr:m}),_mixins:b("mixins",{startsExpr:m}),_proto:b("proto",{startsExpr:m}),_require:b("require",{startsExpr:m}),_satisfies:b("satisfies",{startsExpr:m}),_keyof:b("keyof",{startsExpr:m}),_readonly:b("readonly",{startsExpr:m}),_unique:b("unique",{startsExpr:m}),_abstract:b("abstract",{startsExpr:m}),_declare:b("declare",{startsExpr:m}),_enum:b("enum",{startsExpr:m}),_module:b("module",{startsExpr:m}),_namespace:b("namespace",{startsExpr:m}),_interface:b("interface",{startsExpr:m}),_type:b("type",{startsExpr:m}),_opaque:b("opaque",{startsExpr:m}),name:P("name",{startsExpr:m}),string:P("string",{startsExpr:m}),num:P("num",{startsExpr:m}),bigint:P("bigint",{startsExpr:m}),decimal:P("decimal",{startsExpr:m}),regexp:P("regexp",{startsExpr:m}),privateName:P("#name",{startsExpr:m}),eof:P("eof"),jsxName:P("jsxName"),jsxText:P("jsxText",{beforeExpr:!0}),jsxTagStart:P("jsxTagStart",{startsExpr:!0}),jsxTagEnd:P("jsxTagEnd"),placeholder:P("%%",{startsExpr:!0})};function S(a){return a>=93&&a<=130}function ar(a){return a<=92}function M(a){return a>=58&&a<=130}function ks(a){return a>=58&&a<=134}function nr(a){return Ht[a]}function gt(a){return Wt[a]}function or(a){return a>=29&&a<=33}function ds(a){return a>=127&&a<=129}function hr(a){return a>=90&&a<=92}function Xt(a){return a>=58&&a<=92}function lr(a){return a>=39&&a<=59}function cr(a){return a===34}function pr(a){return Jt[a]}function ur(a){return a>=119&&a<=121}function fr(a){return a>=122&&a<=128}function J(a){return Kt[a]}function ze(a){return qt[a]}function dr(a){return a===57}function Xe(a){return a>=24&&a<=25}function U(a){return j[a]}j[8].updateContext=a=>{a.pop()},j[5].updateContext=j[7].updateContext=j[23].updateContext=a=>{a.push(E.brace)},j[22].updateContext=a=>{a[a.length-1]===E.template?a.pop():a.push(E.template)},j[140].updateContext=a=>{a.push(E.j_expr,E.j_oTag)};var Gt="\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0560-\u0588\u05D0-\u05EA\u05EF-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u0870-\u0887\u0889-\u088E\u08A0-\u08C9\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C5D\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D04-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E86-\u0E8A\u0E8C-\u0EA3\u0EA5\u0EA7-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u1711\u171F-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1878\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4C\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\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\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2118-\u211D\u2124\u2126\u2128\u212A-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309B-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312F\u3131-\u318E\u31A0-\u31BF\u31F0-\u31FF\u3400-\u4DBF\u4E00-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7CA\uA7D0\uA7D1\uA7D3\uA7D5-\uA7D9\uA7F2-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA8FE\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB69\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC",vs="\u200C\u200D\xB7\u0300-\u036F\u0387\u0483-\u0487\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u0610-\u061A\u064B-\u0669\u0670\u06D6-\u06DC\u06DF-\u06E4\u06E7\u06E8\u06EA-\u06ED\u06F0-\u06F9\u0711\u0730-\u074A\u07A6-\u07B0\u07C0-\u07C9\u07EB-\u07F3\u07FD\u0816-\u0819\u081B-\u0823\u0825-\u0827\u0829-\u082D\u0859-\u085B\u0898-\u089F\u08CA-\u08E1\u08E3-\u0903\u093A-\u093C\u093E-\u094F\u0951-\u0957\u0962\u0963\u0966-\u096F\u0981-\u0983\u09BC\u09BE-\u09C4\u09C7\u09C8\u09CB-\u09CD\u09D7\u09E2\u09E3\u09E6-\u09EF\u09FE\u0A01-\u0A03\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A66-\u0A71\u0A75\u0A81-\u0A83\u0ABC\u0ABE-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AE2\u0AE3\u0AE6-\u0AEF\u0AFA-\u0AFF\u0B01-\u0B03\u0B3C\u0B3E-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B55-\u0B57\u0B62\u0B63\u0B66-\u0B6F\u0B82\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD7\u0BE6-\u0BEF\u0C00-\u0C04\u0C3C\u0C3E-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C62\u0C63\u0C66-\u0C6F\u0C81-\u0C83\u0CBC\u0CBE-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CE2\u0CE3\u0CE6-\u0CEF\u0CF3\u0D00-\u0D03\u0D3B\u0D3C\u0D3E-\u0D44\u0D46-\u0D48\u0D4A-\u0D4D\u0D57\u0D62\u0D63\u0D66-\u0D6F\u0D81-\u0D83\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E31\u0E34-\u0E3A\u0E47-\u0E4E\u0E50-\u0E59\u0EB1\u0EB4-\u0EBC\u0EC8-\u0ECE\u0ED0-\u0ED9\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E\u0F3F\u0F71-\u0F84\u0F86\u0F87\u0F8D-\u0F97\u0F99-\u0FBC\u0FC6\u102B-\u103E\u1040-\u1049\u1056-\u1059\u105E-\u1060\u1062-\u1064\u1067-\u106D\u1071-\u1074\u1082-\u108D\u108F-\u109D\u135D-\u135F\u1369-\u1371\u1712-\u1715\u1732-\u1734\u1752\u1753\u1772\u1773\u17B4-\u17D3\u17DD\u17E0-\u17E9\u180B-\u180D\u180F-\u1819\u18A9\u1920-\u192B\u1930-\u193B\u1946-\u194F\u19D0-\u19DA\u1A17-\u1A1B\u1A55-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AB0-\u1ABD\u1ABF-\u1ACE\u1B00-\u1B04\u1B34-\u1B44\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1B82\u1BA1-\u1BAD\u1BB0-\u1BB9\u1BE6-\u1BF3\u1C24-\u1C37\u1C40-\u1C49\u1C50-\u1C59\u1CD0-\u1CD2\u1CD4-\u1CE8\u1CED\u1CF4\u1CF7-\u1CF9\u1DC0-\u1DFF\u203F\u2040\u2054\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2CEF-\u2CF1\u2D7F\u2DE0-\u2DFF\u302A-\u302F\u3099\u309A\uA620-\uA629\uA66F\uA674-\uA67D\uA69E\uA69F\uA6F0\uA6F1\uA802\uA806\uA80B\uA823-\uA827\uA82C\uA880\uA881\uA8B4-\uA8C5\uA8D0-\uA8D9\uA8E0-\uA8F1\uA8FF-\uA909\uA926-\uA92D\uA947-\uA953\uA980-\uA983\uA9B3-\uA9C0\uA9D0-\uA9D9\uA9E5\uA9F0-\uA9F9\uAA29-\uAA36\uAA43\uAA4C\uAA4D\uAA50-\uAA59\uAA7B-\uAA7D\uAAB0\uAAB2-\uAAB4\uAAB7\uAAB8\uAABE\uAABF\uAAC1\uAAEB-\uAAEF\uAAF5\uAAF6\uABE3-\uABEA\uABEC\uABED\uABF0-\uABF9\uFB1E\uFE00-\uFE0F\uFE20-\uFE2F\uFE33\uFE34\uFE4D-\uFE4F\uFF10-\uFF19\uFF3F",mr=new RegExp("["+Gt+"]"),yr=new RegExp("["+Gt+vs+"]");Gt=vs=null;var Ls=[0,11,2,25,2,18,2,1,2,14,3,13,35,122,70,52,268,28,4,48,48,31,14,29,6,37,11,29,3,35,5,7,2,4,43,157,19,35,5,35,5,39,9,51,13,10,2,14,2,6,2,1,2,10,2,14,2,6,2,1,68,310,10,21,11,7,25,5,2,41,2,8,70,5,3,0,2,43,2,1,4,0,3,22,11,22,10,30,66,18,2,1,11,21,11,25,71,55,7,1,65,0,16,3,2,2,2,28,43,28,4,28,36,7,2,27,28,53,11,21,11,18,14,17,111,72,56,50,14,50,14,35,349,41,7,1,79,28,11,0,9,21,43,17,47,20,28,22,13,52,58,1,3,0,14,44,33,24,27,35,30,0,3,0,9,34,4,0,13,47,15,3,22,0,2,0,36,17,2,24,20,1,64,6,2,0,2,3,2,14,2,9,8,46,39,7,3,1,3,21,2,6,2,1,2,4,4,0,19,0,13,4,159,52,19,3,21,2,31,47,21,1,2,0,185,46,42,3,37,47,21,0,60,42,14,0,72,26,38,6,186,43,117,63,32,7,3,0,3,7,2,1,2,23,16,0,2,0,95,7,3,38,17,0,2,0,29,0,11,39,8,0,22,0,12,45,20,0,19,72,264,8,2,36,18,0,50,29,113,6,2,1,2,37,22,0,26,5,2,1,2,31,15,0,328,18,16,0,2,12,2,33,125,0,80,921,103,110,18,195,2637,96,16,1071,18,5,4026,582,8634,568,8,30,18,78,18,29,19,47,17,3,32,20,6,18,689,63,129,74,6,0,67,12,65,1,2,0,29,6135,9,1237,43,8,8936,3,2,6,2,1,2,290,16,0,30,2,3,0,15,3,9,395,2309,106,6,12,4,8,8,9,5991,84,2,70,2,1,3,0,3,1,3,3,2,11,2,0,2,6,2,64,2,3,3,7,2,6,2,27,2,3,2,4,2,0,4,6,2,339,3,24,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,7,1845,30,7,5,262,61,147,44,11,6,17,0,322,29,19,43,485,27,757,6,2,3,2,1,2,14,2,196,60,67,8,0,1205,3,2,26,2,1,2,0,3,0,2,9,2,3,2,0,2,0,7,0,5,0,2,0,2,0,2,2,2,1,2,0,3,0,2,0,2,0,2,0,2,0,2,1,2,0,3,3,2,6,2,3,2,3,2,0,2,9,2,16,6,2,2,4,2,16,4421,42719,33,4153,7,221,3,5761,15,7472,3104,541,1507,4938,6,4191],xr=[509,0,227,0,150,4,294,9,1368,2,2,1,6,3,41,2,5,0,166,1,574,3,9,9,370,1,81,2,71,10,50,3,123,2,54,14,32,10,3,1,11,3,46,10,8,0,46,9,7,2,37,13,2,9,6,1,45,0,13,2,49,13,9,3,2,11,83,11,7,0,3,0,158,11,6,9,7,3,56,1,2,6,3,1,3,2,10,0,11,1,3,6,4,4,193,17,10,9,5,0,82,19,13,9,214,6,3,8,28,1,83,16,16,9,82,12,9,9,84,14,5,9,243,14,166,9,71,5,2,1,3,3,2,0,2,1,13,9,120,6,3,6,4,0,29,9,41,6,2,3,9,0,10,10,47,15,406,7,2,7,17,9,57,21,2,13,123,5,4,0,2,1,2,6,2,0,9,9,49,4,2,1,2,4,9,9,330,3,10,1,2,0,49,6,4,4,14,9,5351,0,7,14,13835,9,87,9,39,4,60,6,26,9,1014,0,2,54,8,3,82,0,12,1,19628,1,4706,45,3,22,543,4,4,5,9,7,3,6,31,3,149,2,1418,49,513,54,5,49,9,0,15,0,23,4,2,14,1361,6,2,16,3,6,2,1,2,4,101,0,161,6,10,9,357,0,62,13,499,13,983,6,110,6,6,9,4759,9,787719,239];function bt(a,t){let e=65536;for(let s=0,i=t.length;sa)return!1;if(e+=t[s+1],e>=a)return!0}return!1}function $(a){return a<65?a===36:a<=90?!0:a<97?a===95:a<=122?!0:a<=65535?a>=170&&mr.test(String.fromCharCode(a)):bt(a,Ls)}function he(a){return a<48?a===36:a<58?!0:a<65?!1:a<=90?!0:a<97?a===95:a<=122?!0:a<=65535?a>=170&&yr.test(String.fromCharCode(a)):bt(a,Ls)||bt(a,xr)}var Yt={keyword:["break","case","catch","continue","debugger","default","do","else","finally","for","function","if","return","switch","throw","try","var","const","while","with","new","this","super","class","extends","export","import","null","true","false","in","instanceof","typeof","void","delete"],strict:["implements","interface","let","package","private","protected","public","static","yield"],strictBind:["eval","arguments"]},Pr=new Set(Yt.keyword),Tr=new Set(Yt.strict),gr=new Set(Yt.strictBind);function Ds(a,t){return t&&a==="await"||a==="enum"}function Ms(a,t){return Ds(a,t)||Tr.has(a)}function Os(a){return gr.has(a)}function Bs(a,t){return Ms(a,t)||Os(a)}function br(a){return Pr.has(a)}function Ar(a,t,e){return a===64&&t===64&&$(e)}var Sr=new Set(["break","case","catch","continue","debugger","default","do","else","finally","for","function","if","return","switch","throw","try","var","const","while","with","new","this","super","class","extends","export","import","null","true","false","in","instanceof","typeof","void","delete","implements","interface","let","package","private","protected","public","static","yield","eval","arguments","enum","await"]);function Er(a){return Sr.has(a)}var ae=0,ne=1,z=2,Qt=4,Fs=8,Ge=16,_s=32,ee=64,Ye=128,le=256,je=ne|z|Ye|le,F=1,se=2,Rs=4,te=8,Ke=16,Us=64,Qe=128,At=256,St=512,Zt=1024,Et=2048,Ne=4096,it=8192,js=F|se|te|Qe|it,ce=F|0|te|it,Cr=F|0|te|0,Ze=F|0|Rs|0,$s=F|0|Ke|0,wr=0|se|0|Qe,Ir=0|se|0|0,Vs=F|se|te|At|it,ms=0|Zt,W=0|Us,Nr=F|0|0|Us,kr=Vs|St,vr=0|Zt,ys=0|se|0|Ne,Lr=Et,et=4,es=2,ts=1,ft=es|ts,Dr=es|et,Mr=ts|et,Or=es,Br=ts,dt=0,ve=class{constructor(t){this.var=new Set,this.lexical=new Set,this.functions=new Set,this.flags=t}},Le=class{constructor(t,e){this.parser=void 0,this.scopeStack=[],this.inModule=void 0,this.undefinedExports=new Map,this.parser=t,this.inModule=e}get inTopLevel(){return(this.currentScope().flags&ne)>0}get inFunction(){return(this.currentVarScopeFlags()&z)>0}get allowSuper(){return(this.currentThisScopeFlags()&Ge)>0}get allowDirectSuper(){return(this.currentThisScopeFlags()&_s)>0}get inClass(){return(this.currentThisScopeFlags()&ee)>0}get inClassAndNotInNonArrowFunction(){let t=this.currentThisScopeFlags();return(t&ee)>0&&(t&z)===0}get inStaticBlock(){for(let t=this.scopeStack.length-1;;t--){let{flags:e}=this.scopeStack[t];if(e&Ye)return!0;if(e&(je|ee))return!1}}get inNonArrowFunction(){return(this.currentThisScopeFlags()&z)>0}get treatFunctionsAsVar(){return this.treatFunctionsAsVarInScope(this.currentScope())}createScope(t){return new ve(t)}enter(t){this.scopeStack.push(this.createScope(t))}exit(){return this.scopeStack.pop().flags}treatFunctionsAsVarInScope(t){return!!(t.flags&(z|Ye)||!this.parser.inModule&&t.flags&ne)}declareName(t,e,s){let i=this.currentScope();if(e&te||e&Ke)this.checkRedeclarationInScope(i,t,e,s),e&Ke?i.functions.add(t):i.lexical.add(t),e&te&&this.maybeExportDefined(i,t);else if(e&Rs)for(let r=this.scopeStack.length-1;r>=0&&(i=this.scopeStack[r],this.checkRedeclarationInScope(i,t,e,s),i.var.add(t),this.maybeExportDefined(i,t),!(i.flags&je));--r);this.parser.inModule&&i.flags&ne&&this.undefinedExports.delete(t)}maybeExportDefined(t,e){this.parser.inModule&&t.flags&ne&&this.undefinedExports.delete(e)}checkRedeclarationInScope(t,e,s,i){this.isRedeclaredInScope(t,e,s)&&this.parser.raise(p.VarRedeclaration,{at:i,identifierName:e})}isRedeclaredInScope(t,e,s){return s&F?s&te?t.lexical.has(e)||t.functions.has(e)||t.var.has(e):s&Ke?t.lexical.has(e)||!this.treatFunctionsAsVarInScope(t)&&t.var.has(e):t.lexical.has(e)&&!(t.flags&Fs&&t.lexical.values().next().value===e)||!this.treatFunctionsAsVarInScope(t)&&t.functions.has(e):!1}checkLocalExport(t){let{name:e}=t,s=this.scopeStack[0];!s.lexical.has(e)&&!s.var.has(e)&&!s.functions.has(e)&&this.undefinedExports.set(e,t.loc.start)}currentScope(){return this.scopeStack[this.scopeStack.length-1]}currentVarScopeFlags(){for(let t=this.scopeStack.length-1;;t--){let{flags:e}=this.scopeStack[t];if(e&je)return e}}currentThisScopeFlags(){for(let t=this.scopeStack.length-1;;t--){let{flags:e}=this.scopeStack[t];if(e&(je|ee)&&!(e&Qt))return e}}},Ct=class extends ve{constructor(...t){super(...t),this.declareFunctions=new Set}},wt=class extends Le{createScope(t){return new Ct(t)}declareName(t,e,s){let i=this.currentScope();if(e&Et){this.checkRedeclarationInScope(i,t,e,s),this.maybeExportDefined(i,t),i.declareFunctions.add(t);return}super.declareName(t,e,s)}isRedeclaredInScope(t,e,s){return super.isRedeclaredInScope(t,e,s)?!0:s&Et?!t.declareFunctions.has(e)&&(t.lexical.has(e)||t.functions.has(e)):!1}checkLocalExport(t){this.scopeStack[0].declareFunctions.has(t.name)||super.checkLocalExport(t)}},It=class{constructor(){this.sawUnambiguousESM=!1,this.ambiguousScriptDifferentAst=!1}hasPlugin(t){if(typeof t=="string")return this.plugins.has(t);{let[e,s]=t;if(!this.hasPlugin(e))return!1;let i=this.plugins.get(e);for(let r of Object.keys(s))if((i==null?void 0:i[r])!==s[r])return!1;return!0}}getPluginOption(t,e){var s;return(s=this.plugins.get(t))==null?void 0:s[e]}};function zs(a,t){a.trailingComments===void 0?a.trailingComments=t:a.trailingComments.unshift(...t)}function Fr(a,t){a.leadingComments===void 0?a.leadingComments=t:a.leadingComments.unshift(...t)}function De(a,t){a.innerComments===void 0?a.innerComments=t:a.innerComments.unshift(...t)}function Ee(a,t,e){let s=null,i=t.length;for(;s===null&&i>0;)s=t[--i];s===null||s.start>e.start?De(a,e.comments):zs(s,e.comments)}var Nt=class extends It{addComment(t){this.filename&&(t.loc.filename=this.filename),this.state.comments.push(t)}processComment(t){let{commentStack:e}=this.state,s=e.length;if(s===0)return;let i=s-1,r=e[i];r.start===t.end&&(r.leadingNode=t,i--);let{start:n}=t;for(;i>=0;i--){let o=e[i],h=o.end;if(h>n)o.containingNode=t,this.finalizeComment(o),e.splice(i,1);else{h===n&&(o.trailingNode=t);break}}}finalizeComment(t){let{comments:e}=t;if(t.leadingNode!==null||t.trailingNode!==null)t.leadingNode!==null&&zs(t.leadingNode,e),t.trailingNode!==null&&Fr(t.trailingNode,e);else{let{containingNode:s,start:i}=t;if(this.input.charCodeAt(i-1)===44)switch(s.type){case"ObjectExpression":case"ObjectPattern":case"RecordExpression":Ee(s,s.properties,t);break;case"CallExpression":case"OptionalCallExpression":Ee(s,s.arguments,t);break;case"FunctionDeclaration":case"FunctionExpression":case"ArrowFunctionExpression":case"ObjectMethod":case"ClassMethod":case"ClassPrivateMethod":Ee(s,s.params,t);break;case"ArrayExpression":case"ArrayPattern":case"TupleExpression":Ee(s,s.elements,t);break;case"ExportNamedDeclaration":case"ImportDeclaration":Ee(s,s.specifiers,t);break;default:De(s,e)}else De(s,e)}}finalizeRemainingComments(){let{commentStack:t}=this.state;for(let e=t.length-1;e>=0;e--)this.finalizeComment(t[e]);this.state.commentStack=[]}resetPreviousNodeTrailingComments(t){let{commentStack:e}=this.state,{length:s}=e;if(s===0)return;let i=e[s-1];i.leadingNode===t&&(i.leadingNode=null)}resetPreviousIdentifierLeadingComments(t){let{commentStack:e}=this.state,{length:s}=e;s!==0&&(e[s-1].trailingNode===t?e[s-1].trailingNode=null:s>=2&&e[s-2].trailingNode===t&&(e[s-2].trailingNode=null))}takeSurroundingComments(t,e,s){let{commentStack:i}=this.state,r=i.length;if(r===0)return;let n=r-1;for(;n>=0;n--){let o=i[n],h=o.end;if(o.start===s)o.leadingNode=t;else if(h===e)o.trailingNode=t;else if(h=48&&t<=57},Ps={decBinOct:new Set([46,66,69,79,95,98,101,111]),hex:new Set([46,88,95,120])},Ve={bin:a=>a===48||a===49,oct:a=>a>=48&&a<=55,dec:a=>a>=48&&a<=57,hex:a=>a>=48&&a<=57||a>=65&&a<=70||a>=97&&a<=102};function Ts(a,t,e,s,i,r){let n=e,o=s,h=i,l="",c=null,u=e,{length:d}=t;for(;;){if(e>=d){r.unterminated(n,o,h),l+=t.slice(u,e);break}let f=t.charCodeAt(e);if(Ur(a,f,t,e)){l+=t.slice(u,e);break}if(f===92){l+=t.slice(u,e);let x=jr(t,e,s,i,a==="template",r);x.ch===null&&!c?c={pos:e,lineStart:s,curLine:i}:l+=x.ch,{pos:e,lineStart:s,curLine:i}=x,u=e}else f===8232||f===8233?(++e,++i,s=e):f===10||f===13?a==="template"?(l+=t.slice(u,e)+` -`,++e,f===13&&t.charCodeAt(e)===10&&++e,++i,u=s=e):r.unterminated(n,o,h):++e}return{pos:e,str:l,firstInvalidLoc:c,lineStart:s,curLine:i,containsInvalid:!!c}}function Ur(a,t,e,s){return a==="template"?t===96||t===36&&e.charCodeAt(s+1)===123:t===(a==="double"?34:39)}function jr(a,t,e,s,i,r){let n=!i;t++;let o=l=>({pos:t,ch:l,lineStart:e,curLine:s}),h=a.charCodeAt(t++);switch(h){case 110:return o(` -`);case 114:return o("\r");case 120:{let l;return{code:l,pos:t}=vt(a,t,e,s,2,!1,n,r),o(l===null?null:String.fromCharCode(l))}case 117:{let l;return{code:l,pos:t}=Hs(a,t,e,s,n,r),o(l===null?null:String.fromCodePoint(l))}case 116:return o(" ");case 98:return o("\b");case 118:return o("\v");case 102:return o("\f");case 13:a.charCodeAt(t)===10&&++t;case 10:e=t,++s;case 8232:case 8233:return o("");case 56:case 57:if(i)return o(null);r.strictNumericEscape(t-1,e,s);default:if(h>=48&&h<=55){let l=t-1,u=a.slice(l,t+2).match(/^[0-7]+/)[0],d=parseInt(u,8);d>255&&(u=u.slice(0,-1),d=parseInt(u,8)),t+=u.length-1;let f=a.charCodeAt(t);if(u!=="0"||f===56||f===57){if(i)return o(null);r.strictNumericEscape(l,e,s)}return o(String.fromCharCode(d))}return o(String.fromCharCode(h))}}function vt(a,t,e,s,i,r,n,o){let h=t,l;return{n:l,pos:t}=qs(a,t,e,s,16,i,r,!1,o,!n),l===null&&(n?o.invalidEscapeSequence(h,e,s):t=h-1),{code:l,pos:t}}function qs(a,t,e,s,i,r,n,o,h,l){let c=t,u=i===16?Ps.hex:Ps.decBinOct,d=i===16?Ve.hex:i===10?Ve.dec:i===8?Ve.oct:Ve.bin,f=!1,x=0;for(let I=0,C=r??1/0;I=97?N=w-97+10:w>=65?N=w-65+10:Rr(w)?N=w-48:N=1/0,N>=i){if(N<=9&&l)return{n:null,pos:t};if(N<=9&&h.invalidDigit(t,e,s,i))N=0;else if(n)N=0,f=!0;else break}++t,x=x*i+N}return t===c||r!=null&&t-c!==r||f?{n:null,pos:t}:{n:x,pos:t}}function Hs(a,t,e,s,i,r){let n=a.charCodeAt(t),o;if(n===123){if(++t,{code:o,pos:t}=vt(a,t,e,s,a.indexOf("}",t)-t,!0,i,r),++t,o!==null&&o>1114111)if(i)r.invalidCodePoint(t,e,s);else return{code:null,pos:t}}else({code:o,pos:t}=vt(a,t,e,s,4,!1,i,r));return{code:o,pos:t}}var $r=["at"],Vr=["at"];function Ce(a,t,e){return new B(e,a-t,a)}var zr=new Set([103,109,115,105,121,117,100,118]),O=class{constructor(t){this.type=t.type,this.value=t.value,this.start=t.start,this.end=t.end,this.loc=new fe(t.startLoc,t.endLoc)}},Lt=class extends Nt{constructor(t,e){super(),this.isLookahead=void 0,this.tokens=[],this.errorHandlers_readInt={invalidDigit:(s,i,r,n)=>this.options.errorRecovery?(this.raise(p.InvalidDigit,{at:Ce(s,i,r),radix:n}),!0):!1,numericSeparatorInEscapeSequence:this.errorBuilder(p.NumericSeparatorInEscapeSequence),unexpectedNumericSeparator:this.errorBuilder(p.UnexpectedNumericSeparator)},this.errorHandlers_readCodePoint=Object.assign({},this.errorHandlers_readInt,{invalidEscapeSequence:this.errorBuilder(p.InvalidEscapeSequence),invalidCodePoint:this.errorBuilder(p.InvalidCodePoint)}),this.errorHandlers_readStringContents_string=Object.assign({},this.errorHandlers_readCodePoint,{strictNumericEscape:(s,i,r)=>{this.recordStrictModeErrors(p.StrictNumericEscape,{at:Ce(s,i,r)})},unterminated:(s,i,r)=>{throw this.raise(p.UnterminatedString,{at:Ce(s-1,i,r)})}}),this.errorHandlers_readStringContents_template=Object.assign({},this.errorHandlers_readCodePoint,{strictNumericEscape:this.errorBuilder(p.StrictNumericEscape),unterminated:(s,i,r)=>{throw this.raise(p.UnterminatedTemplate,{at:Ce(s,i,r)})}}),this.state=new kt,this.state.init(t),this.input=e,this.length=e.length,this.isLookahead=!1}pushToken(t){this.tokens.length=this.state.tokensLength,this.tokens.push(t),++this.state.tokensLength}next(){this.checkKeywordEscapes(),this.options.tokens&&this.pushToken(new O(this.state)),this.state.lastTokStart=this.state.start,this.state.lastTokEndLoc=this.state.endLoc,this.state.lastTokStartLoc=this.state.startLoc,this.nextToken()}eat(t){return this.match(t)?(this.next(),!0):!1}match(t){return this.state.type===t}createLookaheadState(t){return{pos:t.pos,value:null,type:t.type,start:t.start,end:t.end,context:[this.curContext()],inType:t.inType,startLoc:t.startLoc,lastTokEndLoc:t.lastTokEndLoc,curLine:t.curLine,lineStart:t.lineStart,curPosition:t.curPosition}}lookahead(){let t=this.state;this.state=this.createLookaheadState(t),this.isLookahead=!0,this.nextToken(),this.isLookahead=!1;let e=this.state;return this.state=t,e}nextTokenStart(){return this.nextTokenStartSince(this.state.pos)}nextTokenStartSince(t){return mt.lastIndex=t,mt.test(this.input)?mt.lastIndex:t}lookaheadCharCode(){return this.input.charCodeAt(this.nextTokenStart())}nextTokenInLineStart(){return this.nextTokenInLineStartSince(this.state.pos)}nextTokenInLineStartSince(t){return qe.lastIndex=t,qe.test(this.input)?qe.lastIndex:t}lookaheadInLineCharCode(){return this.input.charCodeAt(this.nextTokenInLineStart())}codePointAtPos(t){let e=this.input.charCodeAt(t);if((e&64512)===55296&&++tthis.raise(e,{at:s})),this.state.strictErrors.clear())}curContext(){return this.state.context[this.state.context.length-1]}nextToken(){if(this.skipSpace(),this.state.start=this.state.pos,this.isLookahead||(this.state.startLoc=this.state.curPosition()),this.state.pos>=this.length){this.finishToken(137);return}this.getTokenFromCode(this.codePointAtPos(this.state.pos))}skipBlockComment(t){let e;this.isLookahead||(e=this.state.curPosition());let s=this.state.pos,i=this.input.indexOf(t,s+2);if(i===-1)throw this.raise(p.UnterminatedComment,{at:this.state.curPosition()});for(this.state.pos=i+t.length,$e.lastIndex=s+2;$e.test(this.input)&&$e.lastIndex<=i;)++this.state.curLine,this.state.lineStart=$e.lastIndex;if(this.isLookahead)return;let r={type:"CommentBlock",value:this.input.slice(s+2,i),start:s,end:i+t.length,loc:new fe(e,this.state.curPosition())};return this.options.tokens&&this.pushToken(r),r}skipLineComment(t){let e=this.state.pos,s;this.isLookahead||(s=this.state.curPosition());let i=this.input.charCodeAt(this.state.pos+=t);if(this.state.post)){let r=this.skipLineComment(3);r!==void 0&&(this.addComment(r),this.options.attachComment&&e.push(r))}else break e}else if(s===60&&!this.inModule&&this.options.annexB){let i=this.state.pos;if(this.input.charCodeAt(i+1)===33&&this.input.charCodeAt(i+2)===45&&this.input.charCodeAt(i+3)===45){let r=this.skipLineComment(4);r!==void 0&&(this.addComment(r),this.options.attachComment&&e.push(r))}else break e}else break e}}if(e.length>0){let s=this.state.pos,i={start:t,end:s,comments:e,leadingNode:null,trailingNode:null,containingNode:null};this.state.commentStack.push(i)}}finishToken(t,e){this.state.end=this.state.pos,this.state.endLoc=this.state.curPosition();let s=this.state.type;this.state.type=t,this.state.value=e,this.isLookahead||this.updateContext(s)}replaceToken(t){this.state.type=t,this.updateContext()}readToken_numberSign(){if(this.state.pos===0&&this.readToken_interpreter())return;let t=this.state.pos+1,e=this.codePointAtPos(t);if(e>=48&&e<=57)throw this.raise(p.UnexpectedDigitAfterHash,{at:this.state.curPosition()});if(e===123||e===91&&this.hasPlugin("recordAndTuple")){if(this.expectPlugin("recordAndTuple"),this.getPluginOption("recordAndTuple","syntaxType")==="bar")throw this.raise(e===123?p.RecordExpressionHashIncorrectStartSyntaxType:p.TupleExpressionHashIncorrectStartSyntaxType,{at:this.state.curPosition()});this.state.pos+=2,e===123?this.finishToken(7):this.finishToken(1)}else $(e)?(++this.state.pos,this.finishToken(136,this.readWord1(e))):e===92?(++this.state.pos,this.finishToken(136,this.readWord1())):this.finishOp(27,1)}readToken_dot(){let t=this.input.charCodeAt(this.state.pos+1);if(t>=48&&t<=57){this.readNumber(!0);return}t===46&&this.input.charCodeAt(this.state.pos+2)===46?(this.state.pos+=3,this.finishToken(21)):(++this.state.pos,this.finishToken(16))}readToken_slash(){this.input.charCodeAt(this.state.pos+1)===61?this.finishOp(31,2):this.finishOp(56,1)}readToken_interpreter(){if(this.state.pos!==0||this.length<2)return!1;let t=this.input.charCodeAt(this.state.pos+1);if(t!==33)return!1;let e=this.state.pos;for(this.state.pos+=1;!ke(t)&&++this.state.pos=48&&e<=57)?(this.state.pos+=2,this.finishToken(18)):(++this.state.pos,this.finishToken(17))}getTokenFromCode(t){switch(t){case 46:this.readToken_dot();return;case 40:++this.state.pos,this.finishToken(10);return;case 41:++this.state.pos,this.finishToken(11);return;case 59:++this.state.pos,this.finishToken(13);return;case 44:++this.state.pos,this.finishToken(12);return;case 91:if(this.hasPlugin("recordAndTuple")&&this.input.charCodeAt(this.state.pos+1)===124){if(this.getPluginOption("recordAndTuple","syntaxType")!=="bar")throw this.raise(p.TupleExpressionBarIncorrectStartSyntaxType,{at:this.state.curPosition()});this.state.pos+=2,this.finishToken(2)}else++this.state.pos,this.finishToken(0);return;case 93:++this.state.pos,this.finishToken(3);return;case 123:if(this.hasPlugin("recordAndTuple")&&this.input.charCodeAt(this.state.pos+1)===124){if(this.getPluginOption("recordAndTuple","syntaxType")!=="bar")throw this.raise(p.RecordExpressionBarIncorrectStartSyntaxType,{at:this.state.curPosition()});this.state.pos+=2,this.finishToken(6)}else++this.state.pos,this.finishToken(5);return;case 125:++this.state.pos,this.finishToken(8);return;case 58:this.hasPlugin("functionBind")&&this.input.charCodeAt(this.state.pos+1)===58?this.finishOp(15,2):(++this.state.pos,this.finishToken(14));return;case 63:this.readToken_question();return;case 96:this.readTemplateToken();return;case 48:{let e=this.input.charCodeAt(this.state.pos+1);if(e===120||e===88){this.readRadixNumber(16);return}if(e===111||e===79){this.readRadixNumber(8);return}if(e===98||e===66){this.readRadixNumber(2);return}}case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:this.readNumber(!1);return;case 34:case 39:this.readString(t);return;case 47:this.readToken_slash();return;case 37:case 42:this.readToken_mult_modulo(t);return;case 124:case 38:this.readToken_pipe_amp(t);return;case 94:this.readToken_caret();return;case 43:case 45:this.readToken_plus_min(t);return;case 60:this.readToken_lt();return;case 62:this.readToken_gt();return;case 61:case 33:this.readToken_eq_excl(t);return;case 126:this.finishOp(36,1);return;case 64:this.readToken_atSign();return;case 35:this.readToken_numberSign();return;case 92:this.readWord();return;default:if($(t)){this.readWord(t);return}}throw this.raise(p.InvalidOrUnexpectedToken,{at:this.state.curPosition(),unexpected:String.fromCodePoint(t)})}finishOp(t,e){let s=this.input.slice(this.state.pos,this.state.pos+e);this.state.pos+=e,this.finishToken(t,s)}readRegexp(){let t=this.state.startLoc,e=this.state.start+1,s,i,{pos:r}=this.state;for(;;++r){if(r>=this.length)throw this.raise(p.UnterminatedRegExp,{at:L(t,1)});let l=this.input.charCodeAt(r);if(ke(l))throw this.raise(p.UnterminatedRegExp,{at:L(t,1)});if(s)s=!1;else{if(l===91)i=!0;else if(l===93&&i)i=!1;else if(l===47&&!i)break;s=l===92}}let n=this.input.slice(e,r);++r;let o="",h=()=>L(t,r+2-e);for(;r=2&&this.input.charCodeAt(e)===48;if(l){let f=this.input.slice(e,this.state.pos);if(this.recordStrictModeErrors(p.StrictOctalLiteral,{at:s}),!this.state.strict){let x=f.indexOf("_");x>0&&this.raise(p.ZeroDigitNumericSeparator,{at:L(s,x)})}h=l&&!/[89]/.test(f)}let c=this.input.charCodeAt(this.state.pos);if(c===46&&!h&&(++this.state.pos,this.readInt(10),i=!0,c=this.input.charCodeAt(this.state.pos)),(c===69||c===101)&&!h&&(c=this.input.charCodeAt(++this.state.pos),(c===43||c===45)&&++this.state.pos,this.readInt(10)===null&&this.raise(p.InvalidOrMissingExponent,{at:s}),i=!0,o=!0,c=this.input.charCodeAt(this.state.pos)),c===110&&((i||l)&&this.raise(p.InvalidBigIntLiteral,{at:s}),++this.state.pos,r=!0),c===109&&(this.expectPlugin("decimal",this.state.curPosition()),(o||l)&&this.raise(p.InvalidDecimal,{at:s}),++this.state.pos,n=!0),$(this.codePointAtPos(this.state.pos)))throw this.raise(p.NumberIdentifier,{at:this.state.curPosition()});let u=this.input.slice(e,this.state.pos).replace(/[_mn]/g,"");if(r){this.finishToken(133,u);return}if(n){this.finishToken(134,u);return}let d=h?parseInt(u,8):parseFloat(u);this.finishToken(132,d)}readCodePoint(t){let{code:e,pos:s}=Hs(this.input,this.state.pos,this.state.lineStart,this.state.curLine,t,this.errorHandlers_readCodePoint);return this.state.pos=s,e}readString(t){let{str:e,pos:s,curLine:i,lineStart:r}=Ts(t===34?"double":"single",this.input,this.state.pos+1,this.state.lineStart,this.state.curLine,this.errorHandlers_readStringContents_string);this.state.pos=s+1,this.state.lineStart=r,this.state.curLine=i,this.finishToken(131,e)}readTemplateContinuation(){this.match(8)||this.unexpected(null,8),this.state.pos--,this.readTemplateToken()}readTemplateToken(){let t=this.input[this.state.pos],{str:e,firstInvalidLoc:s,pos:i,curLine:r,lineStart:n}=Ts("template",this.input,this.state.pos+1,this.state.lineStart,this.state.curLine,this.errorHandlers_readStringContents_template);this.state.pos=i+1,this.state.lineStart=n,this.state.curLine=r,s&&(this.state.firstInvalidTemplateEscapePos=new B(s.curLine,s.pos-s.lineStart,s.pos)),this.input.codePointAt(i)===96?this.finishToken(24,s?null:t+e+"`"):(this.state.pos++,this.finishToken(25,s?null:t+e+"${"))}recordStrictModeErrors(t,{at:e}){let s=e.index;this.state.strict&&!this.state.strictErrors.has(s)?this.raise(t,{at:e}):this.state.strictErrors.set(s,[t,e])}readWord1(t){this.state.containsEsc=!1;let e="",s=this.state.pos,i=this.state.pos;for(t!==void 0&&(this.state.pos+=t<=65535?1:2);this.state.pos=0;h--){let l=o[h];if(l.loc.index===n)return o[h]=t({loc:r,details:i});if(l.loc.indexthis.hasPlugin(e)))throw this.raise(p.MissingOneOfPlugins,{at:this.state.startLoc,missingPlugin:t})}errorBuilder(t){return(e,s,i)=>{this.raise(t,{at:Ce(e,s,i)})}}},Dt=class{constructor(){this.privateNames=new Set,this.loneAccessors=new Map,this.undefinedPrivateNames=new Map}},Mt=class{constructor(t){this.parser=void 0,this.stack=[],this.undefinedPrivateNames=new Map,this.parser=t}current(){return this.stack[this.stack.length-1]}enter(){this.stack.push(new Dt)}exit(){let t=this.stack.pop(),e=this.current();for(let[s,i]of Array.from(t.undefinedPrivateNames))e?e.undefinedPrivateNames.has(s)||e.undefinedPrivateNames.set(s,i):this.parser.raise(p.InvalidPrivateFieldResolution,{at:i,identifierName:s})}declarePrivateName(t,e,s){let{privateNames:i,loneAccessors:r,undefinedPrivateNames:n}=this.current(),o=i.has(t);if(e&ft){let h=o&&r.get(t);if(h){let l=h&et,c=e&et,u=h&ft,d=e&ft;o=u===d||l!==c,o||r.delete(t)}else o||r.set(t,e)}o&&this.parser.raise(p.PrivateNameRedeclaration,{at:s,identifierName:t}),i.add(t),n.delete(t)}usePrivateName(t,e){let s;for(s of this.stack)if(s.privateNames.has(t))return;s?s.undefinedPrivateNames.set(t,e):this.parser.raise(p.InvalidPrivateFieldResolution,{at:e,identifierName:t})}},Kr=0,Ws=1,ss=2,Js=3,de=class{constructor(t=Kr){this.type=void 0,this.type=t}canBeArrowParameterDeclaration(){return this.type===ss||this.type===Ws}isCertainlyParameterDeclaration(){return this.type===Js}},tt=class extends de{constructor(t){super(t),this.declarationErrors=new Map}recordDeclarationError(t,{at:e}){let s=e.index;this.declarationErrors.set(s,[t,e])}clearDeclarationError(t){this.declarationErrors.delete(t)}iterateErrors(t){this.declarationErrors.forEach(t)}},Ot=class{constructor(t){this.parser=void 0,this.stack=[new de],this.parser=t}enter(t){this.stack.push(t)}exit(){this.stack.pop()}recordParameterInitializerError(t,{at:e}){let s={at:e.loc.start},{stack:i}=this,r=i.length-1,n=i[r];for(;!n.isCertainlyParameterDeclaration();){if(n.canBeArrowParameterDeclaration())n.recordDeclarationError(t,s);else return;n=i[--r]}this.parser.raise(t,s)}recordArrowParameterBindingError(t,{at:e}){let{stack:s}=this,i=s[s.length-1],r={at:e.loc.start};if(i.isCertainlyParameterDeclaration())this.parser.raise(t,r);else if(i.canBeArrowParameterDeclaration())i.recordDeclarationError(t,r);else return}recordAsyncArrowParametersError({at:t}){let{stack:e}=this,s=e.length-1,i=e[s];for(;i.canBeArrowParameterDeclaration();)i.type===ss&&i.recordDeclarationError(p.AwaitBindingIdentifier,{at:t}),i=e[--s]}validateAsPattern(){let{stack:t}=this,e=t[t.length-1];e.canBeArrowParameterDeclaration()&&e.iterateErrors(([s,i])=>{this.parser.raise(s,{at:i});let r=t.length-2,n=t[r];for(;n.canBeArrowParameterDeclaration();)n.clearDeclarationError(i.index),n=t[--r]})}};function qr(){return new de(Js)}function Hr(){return new tt(Ws)}function Wr(){return new tt(ss)}function Xs(){return new de}var pe=0,Gs=1,rt=2,Ys=4,re=8,Bt=class{constructor(){this.stacks=[]}enter(t){this.stacks.push(t)}exit(){this.stacks.pop()}currentFlags(){return this.stacks[this.stacks.length-1]}get hasAwait(){return(this.currentFlags()&rt)>0}get hasYield(){return(this.currentFlags()&Gs)>0}get hasReturn(){return(this.currentFlags()&Ys)>0}get hasIn(){return(this.currentFlags()&re)>0}};function He(a,t){return(a?rt:0)|(t?Gs:0)}var Ft=class extends Lt{addExtra(t,e,s,i=!0){if(!t)return;let r=t.extra=t.extra||{};i?r[e]=s:Object.defineProperty(r,e,{enumerable:i,value:s})}isContextual(t){return this.state.type===t&&!this.state.containsEsc}isUnparsedContextual(t,e){let s=t+e.length;if(this.input.slice(t,s)===e){let i=this.input.charCodeAt(s);return!(he(i)||(i&64512)===55296)}return!1}isLookaheadContextual(t){let e=this.nextTokenStart();return this.isUnparsedContextual(e,t)}eatContextual(t){return this.isContextual(t)?(this.next(),!0):!1}expectContextual(t,e){if(!this.eatContextual(t)){if(e!=null)throw this.raise(e,{at:this.state.startLoc});this.unexpected(null,t)}}canInsertSemicolon(){return this.match(137)||this.match(8)||this.hasPrecedingLineBreak()}hasPrecedingLineBreak(){return Ks.test(this.input.slice(this.state.lastTokEndLoc.index,this.state.start))}hasFollowingLineBreak(){return xs.lastIndex=this.state.end,xs.test(this.input)}isLineTerminator(){return this.eat(13)||this.canInsertSemicolon()}semicolon(t=!0){(t?this.isLineTerminator():this.eat(13))||this.raise(p.MissingSemicolon,{at:this.state.lastTokEndLoc})}expect(t,e){this.eat(t)||this.unexpected(e,t)}tryParse(t,e=this.state.clone()){let s={node:null};try{let i=t((r=null)=>{throw s.node=r,s});if(this.state.errors.length>e.errors.length){let r=this.state;return this.state=e,this.state.tokensLength=r.tokensLength,{node:i,error:r.errors[e.errors.length],thrown:!1,aborted:!1,failState:r}}return{node:i,error:null,thrown:!1,aborted:!1,failState:null}}catch(i){let r=this.state;if(this.state=e,i instanceof SyntaxError)return{node:null,error:i,thrown:!0,aborted:!1,failState:r};if(i===s)return{node:s.node,error:null,thrown:!1,aborted:!0,failState:r};throw i}}checkExpressionErrors(t,e){if(!t)return!1;let{shorthandAssignLoc:s,doubleProtoLoc:i,privateKeyLoc:r,optionalParametersLoc:n}=t,o=!!s||!!i||!!n||!!r;if(!e)return o;s!=null&&this.raise(p.InvalidCoverInitializedName,{at:s}),i!=null&&this.raise(p.DuplicateProto,{at:i}),r!=null&&this.raise(p.UnexpectedPrivateField,{at:r}),n!=null&&this.unexpected(n)}isLiteralPropertyName(){return ks(this.state.type)}isPrivateName(t){return t.type==="PrivateName"}getPrivateNameSV(t){return t.id.name}hasPropertyAsPrivateName(t){return(t.type==="MemberExpression"||t.type==="OptionalMemberExpression")&&this.isPrivateName(t.property)}isObjectProperty(t){return t.type==="ObjectProperty"}isObjectMethod(t){return t.type==="ObjectMethod"}initializeScopes(t=this.options.sourceType==="module"){let e=this.state.labels;this.state.labels=[];let s=this.exportedIdentifiers;this.exportedIdentifiers=new Set;let i=this.inModule;this.inModule=t;let r=this.scope,n=this.getScopeHandler();this.scope=new n(this,t);let o=this.prodParam;this.prodParam=new Bt;let h=this.classScope;this.classScope=new Mt(this);let l=this.expressionScope;return this.expressionScope=new Ot(this),()=>{this.state.labels=e,this.exportedIdentifiers=s,this.inModule=i,this.scope=r,this.prodParam=o,this.classScope=h,this.expressionScope=l}}enterInitialScopes(){let t=pe;this.inModule&&(t|=rt),this.scope.enter(ne),this.prodParam.enter(t)}checkDestructuringPrivate(t){let{privateKeyLoc:e}=t;e!==null&&this.expectPlugin("destructuringPrivate",e)}},ue=class{constructor(){this.shorthandAssignLoc=null,this.doubleProtoLoc=null,this.privateKeyLoc=null,this.optionalParametersLoc=null}},me=class{constructor(t,e,s){this.type="",this.start=e,this.end=0,this.loc=new fe(s),t!=null&&t.options.ranges&&(this.range=[e,0]),t!=null&&t.filename&&(this.loc.filename=t.filename)}},is=me.prototype;is.__clone=function(){let a=new me(void 0,this.start,this.loc.start),t=Object.keys(this);for(let e=0,s=t.length;e`Cannot overwrite reserved type ${a}.`,DeclareClassElement:"The `declare` modifier can only appear on class fields.",DeclareClassFieldInitializer:"Initializers are not allowed in fields with the `declare` modifier.",DuplicateDeclareModuleExports:"Duplicate `declare module.exports` statement.",EnumBooleanMemberNotInitialized:({memberName:a,enumName:t})=>`Boolean enum members need to be initialized. Use either \`${a} = true,\` or \`${a} = false,\` in enum \`${t}\`.`,EnumDuplicateMemberName:({memberName:a,enumName:t})=>`Enum member names need to be unique, but the name \`${a}\` has already been used before in enum \`${t}\`.`,EnumInconsistentMemberValues:({enumName:a})=>`Enum \`${a}\` has inconsistent member initializers. Either use no initializers, or consistently use literals (either booleans, numbers, or strings) for all member initializers.`,EnumInvalidExplicitType:({invalidEnumType:a,enumName:t})=>`Enum type \`${a}\` is not valid. Use one of \`boolean\`, \`number\`, \`string\`, or \`symbol\` in enum \`${t}\`.`,EnumInvalidExplicitTypeUnknownSupplied:({enumName:a})=>`Supplied enum type is not valid. Use one of \`boolean\`, \`number\`, \`string\`, or \`symbol\` in enum \`${a}\`.`,EnumInvalidMemberInitializerPrimaryType:({enumName:a,memberName:t,explicitType:e})=>`Enum \`${a}\` has type \`${e}\`, so the initializer of \`${t}\` needs to be a ${e} literal.`,EnumInvalidMemberInitializerSymbolType:({enumName:a,memberName:t})=>`Symbol enum members cannot be initialized. Use \`${t},\` in enum \`${a}\`.`,EnumInvalidMemberInitializerUnknownType:({enumName:a,memberName:t})=>`The enum member initializer for \`${t}\` needs to be a literal (either a boolean, number, or string) in enum \`${a}\`.`,EnumInvalidMemberName:({enumName:a,memberName:t,suggestion:e})=>`Enum member names cannot start with lowercase 'a' through 'z'. Instead of using \`${t}\`, consider using \`${e}\`, in enum \`${a}\`.`,EnumNumberMemberNotInitialized:({enumName:a,memberName:t})=>`Number enum members need to be initialized, e.g. \`${t} = 1\` in enum \`${a}\`.`,EnumStringMemberInconsistentlyInitailized:({enumName:a})=>`String enum members need to consistently either all use initializers, or use no initializers, in enum \`${a}\`.`,GetterMayNotHaveThisParam:"A getter cannot have a `this` parameter.",ImportReflectionHasImportType:"An `import module` declaration can not use `type` or `typeof` keyword.",ImportTypeShorthandOnlyInPureImport:"The `type` and `typeof` keywords on named imports can only be used on regular `import` statements. It cannot be used with `import type` or `import typeof` statements.",InexactInsideExact:"Explicit inexact syntax cannot appear inside an explicit exact object type.",InexactInsideNonObject:"Explicit inexact syntax cannot appear in class or interface definitions.",InexactVariance:"Explicit inexact syntax cannot have variance.",InvalidNonTypeImportInDeclareModule:"Imports within a `declare module` body must always be `import type` or `import typeof`.",MissingTypeParamDefault:"Type parameter declaration needs a default, since a preceding type parameter declaration has a default.",NestedDeclareModule:"`declare module` cannot be used inside another `declare module`.",NestedFlowComment:"Cannot have a flow comment inside another flow comment.",PatternIsOptional:Object.assign({message:"A binding pattern parameter cannot be optional in an implementation signature."},{reasonCode:"OptionalBindingPattern"}),SetterMayNotHaveThisParam:"A setter cannot have a `this` parameter.",SpreadVariance:"Spread properties cannot have variance.",ThisParamAnnotationRequired:"A type annotation is required for the `this` parameter.",ThisParamBannedInConstructor:"Constructors cannot have a `this` parameter; constructors don't bind `this` like other functions.",ThisParamMayNotBeOptional:"The `this` parameter cannot be optional.",ThisParamMustBeFirst:"The `this` parameter must be the first function parameter.",ThisParamNoDefault:"The `this` parameter may not have a default value.",TypeBeforeInitializer:"Type annotations must come before default assignments, e.g. instead of `age = 25: number` use `age: number = 25`.",TypeCastInPattern:"The type cast expression is expected to be wrapped with parenthesis.",UnexpectedExplicitInexactInObject:"Explicit inexact syntax must appear at the end of an inexact object.",UnexpectedReservedType:({reservedType:a})=>`Unexpected reserved type ${a}.`,UnexpectedReservedUnderscore:"`_` is only allowed as a type argument to call or new.",UnexpectedSpaceBetweenModuloChecks:"Spaces between `%` and `checks` are not allowed here.",UnexpectedSpreadType:"Spread operator cannot appear in class or interface definitions.",UnexpectedSubtractionOperand:'Unexpected token, expected "number" or "bigint".',UnexpectedTokenAfterTypeParameter:"Expected an arrow function after this type parameter declaration.",UnexpectedTypeParameterBeforeAsyncArrowFunction:"Type parameters must come after the async keyword, e.g. instead of ` async () => {}`, use `async () => {}`.",UnsupportedDeclareExportKind:({unsupportedExportKind:a,suggestion:t})=>`\`declare export ${a}\` is not supported. Use \`${t}\` instead.`,UnsupportedStatementInDeclareModule:"Only declares and type imports are allowed inside declare module.",UnterminatedFlowComment:"Unterminated flow-comment."});function Yr(a){return a.type==="DeclareExportAllDeclaration"||a.type==="DeclareExportDeclaration"&&(!a.declaration||a.declaration.type!=="TypeAlias"&&a.declaration.type!=="InterfaceDeclaration")}function gs(a){return a.importKind==="type"||a.importKind==="typeof"}var Qr={const:"declare export var",let:"declare export var",type:"export type",interface:"export interface"};function Zr(a,t){let e=[],s=[];for(let i=0;iclass extends a{constructor(...e){super(...e),this.flowPragma=void 0}getScopeHandler(){return wt}shouldParseTypes(){return this.getPluginOption("flow","all")||this.flowPragma==="flow"}shouldParseEnums(){return!!this.getPluginOption("flow","enums")}finishToken(e,s){e!==131&&e!==13&&e!==28&&this.flowPragma===void 0&&(this.flowPragma=null),super.finishToken(e,s)}addComment(e){if(this.flowPragma===void 0){let s=ea.exec(e.value);if(s)if(s[1]==="flow")this.flowPragma="flow";else if(s[1]==="noflow")this.flowPragma="noflow";else throw new Error("Unexpected flow pragma")}super.addComment(e)}flowParseTypeInitialiser(e){let s=this.state.inType;this.state.inType=!0,this.expect(e||14);let i=this.flowParseType();return this.state.inType=s,i}flowParsePredicate(){let e=this.startNode(),s=this.state.startLoc;return this.next(),this.expectContextual(108),this.state.lastTokStart>s.index+1&&this.raise(T.UnexpectedSpaceBetweenModuloChecks,{at:s}),this.eat(10)?(e.value=super.parseExpression(),this.expect(11),this.finishNode(e,"DeclaredPredicate")):this.finishNode(e,"InferredPredicate")}flowParseTypeAndPredicateInitialiser(){let e=this.state.inType;this.state.inType=!0,this.expect(14);let s=null,i=null;return this.match(54)?(this.state.inType=e,i=this.flowParsePredicate()):(s=this.flowParseType(),this.state.inType=e,this.match(54)&&(i=this.flowParsePredicate())),[s,i]}flowParseDeclareClass(e){return this.next(),this.flowParseInterfaceish(e,!0),this.finishNode(e,"DeclareClass")}flowParseDeclareFunction(e){this.next();let s=e.id=this.parseIdentifier(),i=this.startNode(),r=this.startNode();this.match(47)?i.typeParameters=this.flowParseTypeParameterDeclaration():i.typeParameters=null,this.expect(10);let n=this.flowParseFunctionTypeParams();return i.params=n.params,i.rest=n.rest,i.this=n._this,this.expect(11),[i.returnType,e.predicate]=this.flowParseTypeAndPredicateInitialiser(),r.typeAnnotation=this.finishNode(i,"FunctionTypeAnnotation"),s.typeAnnotation=this.finishNode(r,"TypeAnnotation"),this.resetEndLocation(s),this.semicolon(),this.scope.declareName(e.id.name,Lr,e.id.loc.start),this.finishNode(e,"DeclareFunction")}flowParseDeclare(e,s){if(this.match(80))return this.flowParseDeclareClass(e);if(this.match(68))return this.flowParseDeclareFunction(e);if(this.match(74))return this.flowParseDeclareVariable(e);if(this.eatContextual(125))return this.match(16)?this.flowParseDeclareModuleExports(e):(s&&this.raise(T.NestedDeclareModule,{at:this.state.lastTokStartLoc}),this.flowParseDeclareModule(e));if(this.isContextual(128))return this.flowParseDeclareTypeAlias(e);if(this.isContextual(129))return this.flowParseDeclareOpaqueType(e);if(this.isContextual(127))return this.flowParseDeclareInterface(e);if(this.match(82))return this.flowParseDeclareExportDeclaration(e,s);this.unexpected()}flowParseDeclareVariable(e){return this.next(),e.id=this.flowParseTypeAnnotatableIdentifier(!0),this.scope.declareName(e.id.name,Ze,e.id.loc.start),this.semicolon(),this.finishNode(e,"DeclareVariable")}flowParseDeclareModule(e){this.scope.enter(ae),this.match(131)?e.id=super.parseExprAtom():e.id=this.parseIdentifier();let s=e.body=this.startNode(),i=s.body=[];for(this.expect(5);!this.match(8);){let o=this.startNode();this.match(83)?(this.next(),!this.isContextual(128)&&!this.match(87)&&this.raise(T.InvalidNonTypeImportInDeclareModule,{at:this.state.lastTokStartLoc}),super.parseImport(o)):(this.expectContextual(123,T.UnsupportedStatementInDeclareModule),o=this.flowParseDeclare(o,!0)),i.push(o)}this.scope.exit(),this.expect(8),this.finishNode(s,"BlockStatement");let r=null,n=!1;return i.forEach(o=>{Yr(o)?(r==="CommonJS"&&this.raise(T.AmbiguousDeclareModuleKind,{at:o}),r="ES"):o.type==="DeclareModuleExports"&&(n&&this.raise(T.DuplicateDeclareModuleExports,{at:o}),r==="ES"&&this.raise(T.AmbiguousDeclareModuleKind,{at:o}),r="CommonJS",n=!0)}),e.kind=r||"CommonJS",this.finishNode(e,"DeclareModule")}flowParseDeclareExportDeclaration(e,s){if(this.expect(82),this.eat(65))return this.match(68)||this.match(80)?e.declaration=this.flowParseDeclare(this.startNode()):(e.declaration=this.flowParseType(),this.semicolon()),e.default=!0,this.finishNode(e,"DeclareExportDeclaration");if(this.match(75)||this.isLet()||(this.isContextual(128)||this.isContextual(127))&&!s){let i=this.state.value;throw this.raise(T.UnsupportedDeclareExportKind,{at:this.state.startLoc,unsupportedExportKind:i,suggestion:Qr[i]})}if(this.match(74)||this.match(68)||this.match(80)||this.isContextual(129))return e.declaration=this.flowParseDeclare(this.startNode()),e.default=!1,this.finishNode(e,"DeclareExportDeclaration");if(this.match(55)||this.match(5)||this.isContextual(127)||this.isContextual(128)||this.isContextual(129))return e=this.parseExport(e,null),e.type==="ExportNamedDeclaration"&&(e.type="ExportDeclaration",e.default=!1,delete e.exportKind),e.type="Declare"+e.type,e;this.unexpected()}flowParseDeclareModuleExports(e){return this.next(),this.expectContextual(109),e.typeAnnotation=this.flowParseTypeAnnotation(),this.semicolon(),this.finishNode(e,"DeclareModuleExports")}flowParseDeclareTypeAlias(e){this.next();let s=this.flowParseTypeAlias(e);return s.type="DeclareTypeAlias",s}flowParseDeclareOpaqueType(e){this.next();let s=this.flowParseOpaqueType(e,!0);return s.type="DeclareOpaqueType",s}flowParseDeclareInterface(e){return this.next(),this.flowParseInterfaceish(e,!1),this.finishNode(e,"DeclareInterface")}flowParseInterfaceish(e,s){if(e.id=this.flowParseRestrictedIdentifier(!s,!0),this.scope.declareName(e.id.name,s?$s:ce,e.id.loc.start),this.match(47)?e.typeParameters=this.flowParseTypeParameterDeclaration():e.typeParameters=null,e.extends=[],this.eat(81))do e.extends.push(this.flowParseInterfaceExtends());while(!s&&this.eat(12));if(s){if(e.implements=[],e.mixins=[],this.eatContextual(115))do e.mixins.push(this.flowParseInterfaceExtends());while(this.eat(12));if(this.eatContextual(111))do e.implements.push(this.flowParseInterfaceExtends());while(this.eat(12))}e.body=this.flowParseObjectType({allowStatic:s,allowExact:!1,allowSpread:!1,allowProto:s,allowInexact:!1})}flowParseInterfaceExtends(){let e=this.startNode();return e.id=this.flowParseQualifiedTypeIdentifier(),this.match(47)?e.typeParameters=this.flowParseTypeParameterInstantiation():e.typeParameters=null,this.finishNode(e,"InterfaceExtends")}flowParseInterface(e){return this.flowParseInterfaceish(e,!1),this.finishNode(e,"InterfaceDeclaration")}checkNotUnderscore(e){e==="_"&&this.raise(T.UnexpectedReservedUnderscore,{at:this.state.startLoc})}checkReservedType(e,s,i){Gr.has(e)&&this.raise(i?T.AssignReservedType:T.UnexpectedReservedType,{at:s,reservedType:e})}flowParseRestrictedIdentifier(e,s){return this.checkReservedType(this.state.value,this.state.startLoc,s),this.parseIdentifier(e)}flowParseTypeAlias(e){return e.id=this.flowParseRestrictedIdentifier(!1,!0),this.scope.declareName(e.id.name,ce,e.id.loc.start),this.match(47)?e.typeParameters=this.flowParseTypeParameterDeclaration():e.typeParameters=null,e.right=this.flowParseTypeInitialiser(29),this.semicolon(),this.finishNode(e,"TypeAlias")}flowParseOpaqueType(e,s){return this.expectContextual(128),e.id=this.flowParseRestrictedIdentifier(!0,!0),this.scope.declareName(e.id.name,ce,e.id.loc.start),this.match(47)?e.typeParameters=this.flowParseTypeParameterDeclaration():e.typeParameters=null,e.supertype=null,this.match(14)&&(e.supertype=this.flowParseTypeInitialiser(14)),e.impltype=null,s||(e.impltype=this.flowParseTypeInitialiser(29)),this.semicolon(),this.finishNode(e,"OpaqueType")}flowParseTypeParameter(e=!1){let s=this.state.startLoc,i=this.startNode(),r=this.flowParseVariance(),n=this.flowParseTypeAnnotatableIdentifier();return i.name=n.name,i.variance=r,i.bound=n.typeAnnotation,this.match(29)?(this.eat(29),i.default=this.flowParseType()):e&&this.raise(T.MissingTypeParamDefault,{at:s}),this.finishNode(i,"TypeParameter")}flowParseTypeParameterDeclaration(){let e=this.state.inType,s=this.startNode();s.params=[],this.state.inType=!0,this.match(47)||this.match(140)?this.next():this.unexpected();let i=!1;do{let r=this.flowParseTypeParameter(i);s.params.push(r),r.default&&(i=!0),this.match(48)||this.expect(12)}while(!this.match(48));return this.expect(48),this.state.inType=e,this.finishNode(s,"TypeParameterDeclaration")}flowParseTypeParameterInstantiation(){let e=this.startNode(),s=this.state.inType;e.params=[],this.state.inType=!0,this.expect(47);let i=this.state.noAnonFunctionType;for(this.state.noAnonFunctionType=!1;!this.match(48);)e.params.push(this.flowParseType()),this.match(48)||this.expect(12);return this.state.noAnonFunctionType=i,this.expect(48),this.state.inType=s,this.finishNode(e,"TypeParameterInstantiation")}flowParseTypeParameterInstantiationCallOrNew(){let e=this.startNode(),s=this.state.inType;for(e.params=[],this.state.inType=!0,this.expect(47);!this.match(48);)e.params.push(this.flowParseTypeOrImplicitInstantiation()),this.match(48)||this.expect(12);return this.expect(48),this.state.inType=s,this.finishNode(e,"TypeParameterInstantiation")}flowParseInterfaceType(){let e=this.startNode();if(this.expectContextual(127),e.extends=[],this.eat(81))do e.extends.push(this.flowParseInterfaceExtends());while(this.eat(12));return e.body=this.flowParseObjectType({allowStatic:!1,allowExact:!1,allowSpread:!1,allowProto:!1,allowInexact:!1}),this.finishNode(e,"InterfaceTypeAnnotation")}flowParseObjectPropertyKey(){return this.match(132)||this.match(131)?super.parseExprAtom():this.parseIdentifier(!0)}flowParseObjectTypeIndexer(e,s,i){return e.static=s,this.lookahead().type===14?(e.id=this.flowParseObjectPropertyKey(),e.key=this.flowParseTypeInitialiser()):(e.id=null,e.key=this.flowParseType()),this.expect(3),e.value=this.flowParseTypeInitialiser(),e.variance=i,this.finishNode(e,"ObjectTypeIndexer")}flowParseObjectTypeInternalSlot(e,s){return e.static=s,e.id=this.flowParseObjectPropertyKey(),this.expect(3),this.expect(3),this.match(47)||this.match(10)?(e.method=!0,e.optional=!1,e.value=this.flowParseObjectTypeMethodish(this.startNodeAt(e.loc.start))):(e.method=!1,this.eat(17)&&(e.optional=!0),e.value=this.flowParseTypeInitialiser()),this.finishNode(e,"ObjectTypeInternalSlot")}flowParseObjectTypeMethodish(e){for(e.params=[],e.rest=null,e.typeParameters=null,e.this=null,this.match(47)&&(e.typeParameters=this.flowParseTypeParameterDeclaration()),this.expect(10),this.match(78)&&(e.this=this.flowParseFunctionTypeParam(!0),e.this.name=null,this.match(11)||this.expect(12));!this.match(11)&&!this.match(21);)e.params.push(this.flowParseFunctionTypeParam(!1)),this.match(11)||this.expect(12);return this.eat(21)&&(e.rest=this.flowParseFunctionTypeParam(!1)),this.expect(11),e.returnType=this.flowParseTypeInitialiser(),this.finishNode(e,"FunctionTypeAnnotation")}flowParseObjectTypeCallProperty(e,s){let i=this.startNode();return e.static=s,e.value=this.flowParseObjectTypeMethodish(i),this.finishNode(e,"ObjectTypeCallProperty")}flowParseObjectType({allowStatic:e,allowExact:s,allowSpread:i,allowProto:r,allowInexact:n}){let o=this.state.inType;this.state.inType=!0;let h=this.startNode();h.callProperties=[],h.properties=[],h.indexers=[],h.internalSlots=[];let l,c,u=!1;for(s&&this.match(6)?(this.expect(6),l=9,c=!0):(this.expect(5),l=8,c=!1),h.exact=c;!this.match(l);){let f=!1,x=null,I=null,C=this.startNode();if(r&&this.isContextual(116)){let N=this.lookahead();N.type!==14&&N.type!==17&&(this.next(),x=this.state.startLoc,e=!1)}if(e&&this.isContextual(104)){let N=this.lookahead();N.type!==14&&N.type!==17&&(this.next(),f=!0)}let w=this.flowParseVariance();if(this.eat(0))x!=null&&this.unexpected(x),this.eat(0)?(w&&this.unexpected(w.loc.start),h.internalSlots.push(this.flowParseObjectTypeInternalSlot(C,f))):h.indexers.push(this.flowParseObjectTypeIndexer(C,f,w));else if(this.match(10)||this.match(47))x!=null&&this.unexpected(x),w&&this.unexpected(w.loc.start),h.callProperties.push(this.flowParseObjectTypeCallProperty(C,f));else{let N="init";if(this.isContextual(98)||this.isContextual(103)){let be=this.lookahead();ks(be.type)&&(N=this.state.value,this.next())}let Re=this.flowParseObjectTypeProperty(C,f,x,w,N,i,n??!c);Re===null?(u=!0,I=this.state.lastTokStartLoc):h.properties.push(Re)}this.flowObjectTypeSemicolon(),I&&!this.match(8)&&!this.match(9)&&this.raise(T.UnexpectedExplicitInexactInObject,{at:I})}this.expect(l),i&&(h.inexact=u);let d=this.finishNode(h,"ObjectTypeAnnotation");return this.state.inType=o,d}flowParseObjectTypeProperty(e,s,i,r,n,o,h){if(this.eat(21))return this.match(12)||this.match(13)||this.match(8)||this.match(9)?(o?h||this.raise(T.InexactInsideExact,{at:this.state.lastTokStartLoc}):this.raise(T.InexactInsideNonObject,{at:this.state.lastTokStartLoc}),r&&this.raise(T.InexactVariance,{at:r}),null):(o||this.raise(T.UnexpectedSpreadType,{at:this.state.lastTokStartLoc}),i!=null&&this.unexpected(i),r&&this.raise(T.SpreadVariance,{at:r}),e.argument=this.flowParseType(),this.finishNode(e,"ObjectTypeSpreadProperty"));{e.key=this.flowParseObjectPropertyKey(),e.static=s,e.proto=i!=null,e.kind=n;let l=!1;return this.match(47)||this.match(10)?(e.method=!0,i!=null&&this.unexpected(i),r&&this.unexpected(r.loc.start),e.value=this.flowParseObjectTypeMethodish(this.startNodeAt(e.loc.start)),(n==="get"||n==="set")&&this.flowCheckGetterSetterParams(e),!o&&e.key.name==="constructor"&&e.value.this&&this.raise(T.ThisParamBannedInConstructor,{at:e.value.this})):(n!=="init"&&this.unexpected(),e.method=!1,this.eat(17)&&(l=!0),e.value=this.flowParseTypeInitialiser(),e.variance=r),e.optional=l,this.finishNode(e,"ObjectTypeProperty")}}flowCheckGetterSetterParams(e){let s=e.kind==="get"?0:1,i=e.value.params.length+(e.value.rest?1:0);e.value.this&&this.raise(e.kind==="get"?T.GetterMayNotHaveThisParam:T.SetterMayNotHaveThisParam,{at:e.value.this}),i!==s&&this.raise(e.kind==="get"?p.BadGetterArity:p.BadSetterArity,{at:e}),e.kind==="set"&&e.value.rest&&this.raise(p.BadSetterRestParameter,{at:e})}flowObjectTypeSemicolon(){!this.eat(13)&&!this.eat(12)&&!this.match(8)&&!this.match(9)&&this.unexpected()}flowParseQualifiedTypeIdentifier(e,s){var i;(i=e)!=null||(e=this.state.startLoc);let r=s||this.flowParseRestrictedIdentifier(!0);for(;this.eat(16);){let n=this.startNodeAt(e);n.qualification=r,n.id=this.flowParseRestrictedIdentifier(!0),r=this.finishNode(n,"QualifiedTypeIdentifier")}return r}flowParseGenericType(e,s){let i=this.startNodeAt(e);return i.typeParameters=null,i.id=this.flowParseQualifiedTypeIdentifier(e,s),this.match(47)&&(i.typeParameters=this.flowParseTypeParameterInstantiation()),this.finishNode(i,"GenericTypeAnnotation")}flowParseTypeofType(){let e=this.startNode();return this.expect(87),e.argument=this.flowParsePrimaryType(),this.finishNode(e,"TypeofTypeAnnotation")}flowParseTupleType(){let e=this.startNode();for(e.types=[],this.expect(0);this.state.possuper.parseFunctionBody(e,!0,i));return}super.parseFunctionBody(e,!1,i)}parseFunctionBodyAndFinish(e,s,i=!1){if(this.match(14)){let r=this.startNode();[r.typeAnnotation,e.predicate]=this.flowParseTypeAndPredicateInitialiser(),e.returnType=r.typeAnnotation?this.finishNode(r,"TypeAnnotation"):null}return super.parseFunctionBodyAndFinish(e,s,i)}parseStatementLike(e){if(this.state.strict&&this.isContextual(127)){let i=this.lookahead();if(M(i.type)){let r=this.startNode();return this.next(),this.flowParseInterface(r)}}else if(this.shouldParseEnums()&&this.isContextual(124)){let i=this.startNode();return this.next(),this.flowParseEnumDeclaration(i)}let s=super.parseStatementLike(e);return this.flowPragma===void 0&&!this.isValidDirective(s)&&(this.flowPragma=null),s}parseExpressionStatement(e,s,i){if(s.type==="Identifier"){if(s.name==="declare"){if(this.match(80)||S(this.state.type)||this.match(68)||this.match(74)||this.match(82))return this.flowParseDeclare(e)}else if(S(this.state.type)){if(s.name==="interface")return this.flowParseInterface(e);if(s.name==="type")return this.flowParseTypeAlias(e);if(s.name==="opaque")return this.flowParseOpaqueType(e,!1)}}return super.parseExpressionStatement(e,s,i)}shouldParseExportDeclaration(){let{type:e}=this.state;return ds(e)||this.shouldParseEnums()&&e===124?!this.state.containsEsc:super.shouldParseExportDeclaration()}isExportDefaultSpecifier(){let{type:e}=this.state;return ds(e)||this.shouldParseEnums()&&e===124?this.state.containsEsc:super.isExportDefaultSpecifier()}parseExportDefaultExpression(){if(this.shouldParseEnums()&&this.isContextual(124)){let e=this.startNode();return this.next(),this.flowParseEnumDeclaration(e)}return super.parseExportDefaultExpression()}parseConditional(e,s,i){if(!this.match(17))return e;if(this.state.maybeInArrowParameters){let d=this.lookaheadCharCode();if(d===44||d===61||d===58||d===41)return this.setOptionalParametersError(i),e}this.expect(17);let r=this.state.clone(),n=this.state.noArrowAt,o=this.startNodeAt(s),{consequent:h,failed:l}=this.tryParseConditionalConsequent(),[c,u]=this.getArrowLikeExpressions(h);if(l||u.length>0){let d=[...n];if(u.length>0){this.state=r,this.state.noArrowAt=d;for(let f=0;f1&&this.raise(T.AmbiguousConditionalArrow,{at:r.startLoc}),l&&c.length===1&&(this.state=r,d.push(c[0].start),this.state.noArrowAt=d,{consequent:h,failed:l}=this.tryParseConditionalConsequent())}return this.getArrowLikeExpressions(h,!0),this.state.noArrowAt=n,this.expect(14),o.test=e,o.consequent=h,o.alternate=this.forwardNoArrowParamsConversionAt(o,()=>this.parseMaybeAssign(void 0,void 0)),this.finishNode(o,"ConditionalExpression")}tryParseConditionalConsequent(){this.state.noArrowParamsConversionAt.push(this.state.start);let e=this.parseMaybeAssignAllowIn(),s=!this.match(14);return this.state.noArrowParamsConversionAt.pop(),{consequent:e,failed:s}}getArrowLikeExpressions(e,s){let i=[e],r=[];for(;i.length!==0;){let n=i.pop();n.type==="ArrowFunctionExpression"?(n.typeParameters||!n.returnType?this.finishArrowValidation(n):r.push(n),i.push(n.body)):n.type==="ConditionalExpression"&&(i.push(n.consequent),i.push(n.alternate))}return s?(r.forEach(n=>this.finishArrowValidation(n)),[r,[]]):Zr(r,n=>n.params.every(o=>this.isAssignable(o,!0)))}finishArrowValidation(e){var s;this.toAssignableList(e.params,(s=e.extra)==null?void 0:s.trailingCommaLoc,!1),this.scope.enter(z|Qt),super.checkParams(e,!1,!0),this.scope.exit()}forwardNoArrowParamsConversionAt(e,s){let i;return this.state.noArrowParamsConversionAt.indexOf(e.start)!==-1?(this.state.noArrowParamsConversionAt.push(this.state.start),i=s(),this.state.noArrowParamsConversionAt.pop()):i=s(),i}parseParenItem(e,s){if(e=super.parseParenItem(e,s),this.eat(17)&&(e.optional=!0,this.resetEndLocation(e)),this.match(14)){let i=this.startNodeAt(s);return i.expression=e,i.typeAnnotation=this.flowParseTypeAnnotation(),this.finishNode(i,"TypeCastExpression")}return e}assertModuleNodeAllowed(e){e.type==="ImportDeclaration"&&(e.importKind==="type"||e.importKind==="typeof")||e.type==="ExportNamedDeclaration"&&e.exportKind==="type"||e.type==="ExportAllDeclaration"&&e.exportKind==="type"||super.assertModuleNodeAllowed(e)}parseExportDeclaration(e){if(this.isContextual(128)){e.exportKind="type";let s=this.startNode();return this.next(),this.match(5)?(e.specifiers=this.parseExportSpecifiers(!0),super.parseExportFrom(e),null):this.flowParseTypeAlias(s)}else if(this.isContextual(129)){e.exportKind="type";let s=this.startNode();return this.next(),this.flowParseOpaqueType(s,!1)}else if(this.isContextual(127)){e.exportKind="type";let s=this.startNode();return this.next(),this.flowParseInterface(s)}else if(this.shouldParseEnums()&&this.isContextual(124)){e.exportKind="value";let s=this.startNode();return this.next(),this.flowParseEnumDeclaration(s)}else return super.parseExportDeclaration(e)}eatExportStar(e){return super.eatExportStar(e)?!0:this.isContextual(128)&&this.lookahead().type===55?(e.exportKind="type",this.next(),this.next(),!0):!1}maybeParseExportNamespaceSpecifier(e){let{startLoc:s}=this.state,i=super.maybeParseExportNamespaceSpecifier(e);return i&&e.exportKind==="type"&&this.unexpected(s),i}parseClassId(e,s,i){super.parseClassId(e,s,i),this.match(47)&&(e.typeParameters=this.flowParseTypeParameterDeclaration())}parseClassMember(e,s,i){let{startLoc:r}=this.state;if(this.isContextual(123)){if(super.parseClassMemberFromModifier(e,s))return;s.declare=!0}super.parseClassMember(e,s,i),s.declare&&(s.type!=="ClassProperty"&&s.type!=="ClassPrivateProperty"&&s.type!=="PropertyDefinition"?this.raise(T.DeclareClassElement,{at:r}):s.value&&this.raise(T.DeclareClassFieldInitializer,{at:s.value}))}isIterator(e){return e==="iterator"||e==="asyncIterator"}readIterator(){let e=super.readWord1(),s="@@"+e;(!this.isIterator(e)||!this.state.inType)&&this.raise(p.InvalidIdentifier,{at:this.state.curPosition(),identifierName:s}),this.finishToken(130,s)}getTokenFromCode(e){let s=this.input.charCodeAt(this.state.pos+1);e===123&&s===124?this.finishOp(6,2):this.state.inType&&(e===62||e===60)?this.finishOp(e===62?48:47,1):this.state.inType&&e===63?s===46?this.finishOp(18,2):this.finishOp(17,1):Ar(e,s,this.input.charCodeAt(this.state.pos+2))?(this.state.pos+=2,this.readIterator()):super.getTokenFromCode(e)}isAssignable(e,s){return e.type==="TypeCastExpression"?this.isAssignable(e.expression,s):super.isAssignable(e,s)}toAssignable(e,s=!1){!s&&e.type==="AssignmentExpression"&&e.left.type==="TypeCastExpression"&&(e.left=this.typeCastToParameter(e.left)),super.toAssignable(e,s)}toAssignableList(e,s,i){for(let r=0;r1||!s)&&this.raise(T.TypeCastInPattern,{at:n.typeAnnotation})}return e}parseArrayLike(e,s,i,r){let n=super.parseArrayLike(e,s,i,r);return s&&!this.state.maybeInArrowParameters&&this.toReferencedList(n.elements),n}isValidLVal(e,s,i){return e==="TypeCastExpression"||super.isValidLVal(e,s,i)}parseClassProperty(e){return this.match(14)&&(e.typeAnnotation=this.flowParseTypeAnnotation()),super.parseClassProperty(e)}parseClassPrivateProperty(e){return this.match(14)&&(e.typeAnnotation=this.flowParseTypeAnnotation()),super.parseClassPrivateProperty(e)}isClassMethod(){return this.match(47)||super.isClassMethod()}isClassProperty(){return this.match(14)||super.isClassProperty()}isNonstaticConstructor(e){return!this.match(14)&&super.isNonstaticConstructor(e)}pushClassMethod(e,s,i,r,n,o){if(s.variance&&this.unexpected(s.variance.loc.start),delete s.variance,this.match(47)&&(s.typeParameters=this.flowParseTypeParameterDeclaration()),super.pushClassMethod(e,s,i,r,n,o),s.params&&n){let h=s.params;h.length>0&&this.isThisParam(h[0])&&this.raise(T.ThisParamBannedInConstructor,{at:s})}else if(s.type==="MethodDefinition"&&n&&s.value.params){let h=s.value.params;h.length>0&&this.isThisParam(h[0])&&this.raise(T.ThisParamBannedInConstructor,{at:s})}}pushClassPrivateMethod(e,s,i,r){s.variance&&this.unexpected(s.variance.loc.start),delete s.variance,this.match(47)&&(s.typeParameters=this.flowParseTypeParameterDeclaration()),super.pushClassPrivateMethod(e,s,i,r)}parseClassSuper(e){if(super.parseClassSuper(e),e.superClass&&this.match(47)&&(e.superTypeParameters=this.flowParseTypeParameterInstantiation()),this.isContextual(111)){this.next();let s=e.implements=[];do{let i=this.startNode();i.id=this.flowParseRestrictedIdentifier(!0),this.match(47)?i.typeParameters=this.flowParseTypeParameterInstantiation():i.typeParameters=null,s.push(this.finishNode(i,"ClassImplements"))}while(this.eat(12))}}checkGetterSetterParams(e){super.checkGetterSetterParams(e);let s=this.getObjectOrClassMethodParams(e);if(s.length>0){let i=s[0];this.isThisParam(i)&&e.kind==="get"?this.raise(T.GetterMayNotHaveThisParam,{at:i}):this.isThisParam(i)&&this.raise(T.SetterMayNotHaveThisParam,{at:i})}}parsePropertyNamePrefixOperator(e){e.variance=this.flowParseVariance()}parseObjPropValue(e,s,i,r,n,o,h){e.variance&&this.unexpected(e.variance.loc.start),delete e.variance;let l;this.match(47)&&!o&&(l=this.flowParseTypeParameterDeclaration(),this.match(10)||this.unexpected());let c=super.parseObjPropValue(e,s,i,r,n,o,h);return l&&((c.value||c).typeParameters=l),c}parseAssignableListItemTypes(e){return this.eat(17)&&(e.type!=="Identifier"&&this.raise(T.PatternIsOptional,{at:e}),this.isThisParam(e)&&this.raise(T.ThisParamMayNotBeOptional,{at:e}),e.optional=!0),this.match(14)?e.typeAnnotation=this.flowParseTypeAnnotation():this.isThisParam(e)&&this.raise(T.ThisParamAnnotationRequired,{at:e}),this.match(29)&&this.isThisParam(e)&&this.raise(T.ThisParamNoDefault,{at:e}),this.resetEndLocation(e),e}parseMaybeDefault(e,s){let i=super.parseMaybeDefault(e,s);return i.type==="AssignmentPattern"&&i.typeAnnotation&&i.right.startsuper.parseMaybeAssign(e,s),r),!n.error)return n.node;let{context:l}=this.state,c=l[l.length-1];(c===E.j_oTag||c===E.j_expr)&&l.pop()}if((i=n)!=null&&i.error||this.match(47)){var o,h;r=r||this.state.clone();let l,c=this.tryParse(d=>{var f;l=this.flowParseTypeParameterDeclaration();let x=this.forwardNoArrowParamsConversionAt(l,()=>{let C=super.parseMaybeAssign(e,s);return this.resetStartLocationFromNode(C,l),C});(f=x.extra)!=null&&f.parenthesized&&d();let I=this.maybeUnwrapTypeCastExpression(x);return I.type!=="ArrowFunctionExpression"&&d(),I.typeParameters=l,this.resetStartLocationFromNode(I,l),x},r),u=null;if(c.node&&this.maybeUnwrapTypeCastExpression(c.node).type==="ArrowFunctionExpression"){if(!c.error&&!c.aborted)return c.node.async&&this.raise(T.UnexpectedTypeParameterBeforeAsyncArrowFunction,{at:l}),c.node;u=c.node}if((o=n)!=null&&o.node)return this.state=n.failState,n.node;if(u)return this.state=c.failState,u;throw(h=n)!=null&&h.thrown?n.error:c.thrown?c.error:this.raise(T.UnexpectedTokenAfterTypeParameter,{at:l})}return super.parseMaybeAssign(e,s)}parseArrow(e){if(this.match(14)){let s=this.tryParse(()=>{let i=this.state.noAnonFunctionType;this.state.noAnonFunctionType=!0;let r=this.startNode();return[r.typeAnnotation,e.predicate]=this.flowParseTypeAndPredicateInitialiser(),this.state.noAnonFunctionType=i,this.canInsertSemicolon()&&this.unexpected(),this.match(19)||this.unexpected(),r});if(s.thrown)return null;s.error&&(this.state=s.failState),e.returnType=s.node.typeAnnotation?this.finishNode(s.node,"TypeAnnotation"):null}return super.parseArrow(e)}shouldParseArrow(e){return this.match(14)||super.shouldParseArrow(e)}setArrowFunctionParameters(e,s){this.state.noArrowParamsConversionAt.indexOf(e.start)!==-1?e.params=s:super.setArrowFunctionParameters(e,s)}checkParams(e,s,i,r=!0){if(!(i&&this.state.noArrowParamsConversionAt.indexOf(e.start)!==-1)){for(let n=0;n0&&this.raise(T.ThisParamMustBeFirst,{at:e.params[n]});super.checkParams(e,s,i,r)}}parseParenAndDistinguishExpression(e){return super.parseParenAndDistinguishExpression(e&&this.state.noArrowAt.indexOf(this.state.start)===-1)}parseSubscripts(e,s,i){if(e.type==="Identifier"&&e.name==="async"&&this.state.noArrowAt.indexOf(s.index)!==-1){this.next();let r=this.startNodeAt(s);r.callee=e,r.arguments=super.parseCallExpressionArguments(11,!1),e=this.finishNode(r,"CallExpression")}else if(e.type==="Identifier"&&e.name==="async"&&this.match(47)){let r=this.state.clone(),n=this.tryParse(h=>this.parseAsyncArrowWithTypeParameters(s)||h(),r);if(!n.error&&!n.aborted)return n.node;let o=this.tryParse(()=>super.parseSubscripts(e,s,i),r);if(o.node&&!o.error)return o.node;if(n.node)return this.state=n.failState,n.node;if(o.node)return this.state=o.failState,o.node;throw n.error||o.error}return super.parseSubscripts(e,s,i)}parseSubscript(e,s,i,r){if(this.match(18)&&this.isLookaheadToken_lt()){if(r.optionalChainMember=!0,i)return r.stop=!0,e;this.next();let n=this.startNodeAt(s);return n.callee=e,n.typeArguments=this.flowParseTypeParameterInstantiation(),this.expect(10),n.arguments=this.parseCallExpressionArguments(11,!1),n.optional=!0,this.finishCallExpression(n,!0)}else if(!i&&this.shouldParseTypes()&&this.match(47)){let n=this.startNodeAt(s);n.callee=e;let o=this.tryParse(()=>(n.typeArguments=this.flowParseTypeParameterInstantiationCallOrNew(),this.expect(10),n.arguments=super.parseCallExpressionArguments(11,!1),r.optionalChainMember&&(n.optional=!1),this.finishCallExpression(n,r.optionalChainMember)));if(o.node)return o.error&&(this.state=o.failState),o.node}return super.parseSubscript(e,s,i,r)}parseNewCallee(e){super.parseNewCallee(e);let s=null;this.shouldParseTypes()&&this.match(47)&&(s=this.tryParse(()=>this.flowParseTypeParameterInstantiationCallOrNew()).node),e.typeArguments=s}parseAsyncArrowWithTypeParameters(e){let s=this.startNodeAt(e);if(this.parseFunctionParams(s,!1),!!this.parseArrow(s))return super.parseArrowExpression(s,void 0,!0)}readToken_mult_modulo(e){let s=this.input.charCodeAt(this.state.pos+1);if(e===42&&s===47&&this.state.hasFlowComment){this.state.hasFlowComment=!1,this.state.pos+=2,this.nextToken();return}super.readToken_mult_modulo(e)}readToken_pipe_amp(e){let s=this.input.charCodeAt(this.state.pos+1);if(e===124&&s===125){this.finishOp(9,2);return}super.readToken_pipe_amp(e)}parseTopLevel(e,s){let i=super.parseTopLevel(e,s);return this.state.hasFlowComment&&this.raise(T.UnterminatedFlowComment,{at:this.state.curPosition()}),i}skipBlockComment(){if(this.hasPlugin("flowComments")&&this.skipFlowComment()){if(this.state.hasFlowComment)throw this.raise(T.NestedFlowComment,{at:this.state.startLoc});this.hasFlowCommentCompletion();let e=this.skipFlowComment();e&&(this.state.pos+=e,this.state.hasFlowComment=!0);return}return super.skipBlockComment(this.state.hasFlowComment?"*-/":"*/")}skipFlowComment(){let{pos:e}=this.state,s=2;for(;[32,9].includes(this.input.charCodeAt(e+s));)s++;let i=this.input.charCodeAt(s+e),r=this.input.charCodeAt(s+e+1);return i===58&&r===58?s+2:this.input.slice(s+e,s+e+12)==="flow-include"?s+12:i===58&&r!==58?s:!1}hasFlowCommentCompletion(){if(this.input.indexOf("*/",this.state.pos)===-1)throw this.raise(p.UnterminatedComment,{at:this.state.curPosition()})}flowEnumErrorBooleanMemberNotInitialized(e,{enumName:s,memberName:i}){this.raise(T.EnumBooleanMemberNotInitialized,{at:e,memberName:i,enumName:s})}flowEnumErrorInvalidMemberInitializer(e,s){return this.raise(s.explicitType?s.explicitType==="symbol"?T.EnumInvalidMemberInitializerSymbolType:T.EnumInvalidMemberInitializerPrimaryType:T.EnumInvalidMemberInitializerUnknownType,Object.assign({at:e},s))}flowEnumErrorNumberMemberNotInitialized(e,{enumName:s,memberName:i}){this.raise(T.EnumNumberMemberNotInitialized,{at:e,enumName:s,memberName:i})}flowEnumErrorStringMemberInconsistentlyInitailized(e,{enumName:s}){this.raise(T.EnumStringMemberInconsistentlyInitailized,{at:e,enumName:s})}flowEnumMemberInit(){let e=this.state.startLoc,s=()=>this.match(12)||this.match(8);switch(this.state.type){case 132:{let i=this.parseNumericLiteral(this.state.value);return s()?{type:"number",loc:i.loc.start,value:i}:{type:"invalid",loc:e}}case 131:{let i=this.parseStringLiteral(this.state.value);return s()?{type:"string",loc:i.loc.start,value:i}:{type:"invalid",loc:e}}case 85:case 86:{let i=this.parseBooleanLiteral(this.match(85));return s()?{type:"boolean",loc:i.loc.start,value:i}:{type:"invalid",loc:e}}default:return{type:"invalid",loc:e}}}flowEnumMemberRaw(){let e=this.state.startLoc,s=this.parseIdentifier(!0),i=this.eat(29)?this.flowEnumMemberInit():{type:"none",loc:e};return{id:s,init:i}}flowEnumCheckExplicitTypeMismatch(e,s,i){let{explicitType:r}=s;r!==null&&r!==i&&this.flowEnumErrorInvalidMemberInitializer(e,s)}flowEnumMembers({enumName:e,explicitType:s}){let i=new Set,r={booleanMembers:[],numberMembers:[],stringMembers:[],defaultedMembers:[]},n=!1;for(;!this.match(8);){if(this.eat(21)){n=!0;break}let o=this.startNode(),{id:h,init:l}=this.flowEnumMemberRaw(),c=h.name;if(c==="")continue;/^[a-z]/.test(c)&&this.raise(T.EnumInvalidMemberName,{at:h,memberName:c,suggestion:c[0].toUpperCase()+c.slice(1),enumName:e}),i.has(c)&&this.raise(T.EnumDuplicateMemberName,{at:h,memberName:c,enumName:e}),i.add(c);let u={enumName:e,explicitType:s,memberName:c};switch(o.id=h,l.type){case"boolean":{this.flowEnumCheckExplicitTypeMismatch(l.loc,u,"boolean"),o.init=l.value,r.booleanMembers.push(this.finishNode(o,"EnumBooleanMember"));break}case"number":{this.flowEnumCheckExplicitTypeMismatch(l.loc,u,"number"),o.init=l.value,r.numberMembers.push(this.finishNode(o,"EnumNumberMember"));break}case"string":{this.flowEnumCheckExplicitTypeMismatch(l.loc,u,"string"),o.init=l.value,r.stringMembers.push(this.finishNode(o,"EnumStringMember"));break}case"invalid":throw this.flowEnumErrorInvalidMemberInitializer(l.loc,u);case"none":switch(s){case"boolean":this.flowEnumErrorBooleanMemberNotInitialized(l.loc,u);break;case"number":this.flowEnumErrorNumberMemberNotInitialized(l.loc,u);break;default:r.defaultedMembers.push(this.finishNode(o,"EnumDefaultedMember"))}}this.match(8)||this.expect(12)}return{members:r,hasUnknownMembers:n}}flowEnumStringMembers(e,s,{enumName:i}){if(e.length===0)return s;if(s.length===0)return e;if(s.length>e.length){for(let r of e)this.flowEnumErrorStringMemberInconsistentlyInitailized(r,{enumName:i});return s}else{for(let r of s)this.flowEnumErrorStringMemberInconsistentlyInitailized(r,{enumName:i});return e}}flowEnumParseExplicitType({enumName:e}){if(!this.eatContextual(101))return null;if(!S(this.state.type))throw this.raise(T.EnumInvalidExplicitTypeUnknownSupplied,{at:this.state.startLoc,enumName:e});let{value:s}=this.state;return this.next(),s!=="boolean"&&s!=="number"&&s!=="string"&&s!=="symbol"&&this.raise(T.EnumInvalidExplicitType,{at:this.state.startLoc,enumName:e,invalidEnumType:s}),s}flowEnumBody(e,s){let i=s.name,r=s.loc.start,n=this.flowEnumParseExplicitType({enumName:i});this.expect(5);let{members:o,hasUnknownMembers:h}=this.flowEnumMembers({enumName:i,explicitType:n});switch(e.hasUnknownMembers=h,n){case"boolean":return e.explicitType=!0,e.members=o.booleanMembers,this.expect(8),this.finishNode(e,"EnumBooleanBody");case"number":return e.explicitType=!0,e.members=o.numberMembers,this.expect(8),this.finishNode(e,"EnumNumberBody");case"string":return e.explicitType=!0,e.members=this.flowEnumStringMembers(o.stringMembers,o.defaultedMembers,{enumName:i}),this.expect(8),this.finishNode(e,"EnumStringBody");case"symbol":return e.members=o.defaultedMembers,this.expect(8),this.finishNode(e,"EnumSymbolBody");default:{let l=()=>(e.members=[],this.expect(8),this.finishNode(e,"EnumStringBody"));e.explicitType=!1;let c=o.booleanMembers.length,u=o.numberMembers.length,d=o.stringMembers.length,f=o.defaultedMembers.length;if(!c&&!u&&!d&&!f)return l();if(!c&&!u)return e.members=this.flowEnumStringMembers(o.stringMembers,o.defaultedMembers,{enumName:i}),this.expect(8),this.finishNode(e,"EnumStringBody");if(!u&&!d&&c>=f){for(let x of o.defaultedMembers)this.flowEnumErrorBooleanMemberNotInitialized(x.loc.start,{enumName:i,memberName:x.id.name});return e.members=o.booleanMembers,this.expect(8),this.finishNode(e,"EnumBooleanBody")}else if(!c&&!d&&u>=f){for(let x of o.defaultedMembers)this.flowEnumErrorNumberMemberNotInitialized(x.loc.start,{enumName:i,memberName:x.id.name});return e.members=o.numberMembers,this.expect(8),this.finishNode(e,"EnumNumberBody")}else return this.raise(T.EnumInconsistentMemberValues,{at:r,enumName:i}),l()}}}flowParseEnumDeclaration(e){let s=this.parseIdentifier();return e.id=s,e.body=this.flowEnumBody(this.startNode(),s),this.finishNode(e,"EnumDeclaration")}isLookaheadToken_lt(){let e=this.nextTokenStart();if(this.input.charCodeAt(e)===60){let s=this.input.charCodeAt(e+1);return s!==60&&s!==61}return!1}maybeUnwrapTypeCastExpression(e){return e.type==="TypeCastExpression"?e.expression:e}},Y=V`jsx`({AttributeIsEmpty:"JSX attributes must only be assigned a non-empty expression.",MissingClosingTagElement:({openingTagName:a})=>`Expected corresponding JSX closing tag for <${a}>.`,MissingClosingTagFragment:"Expected corresponding JSX closing tag for <>.",UnexpectedSequenceExpression:"Sequence expressions cannot be directly nested inside JSX. Did you mean to wrap it in parentheses (...)?",UnexpectedToken:({unexpected:a,HTMLEntity:t})=>`Unexpected token \`${a}\`. Did you mean \`${t}\` or \`{'${a}'}\`?`,UnsupportedJsxValue:"JSX value should be either an expression or a quoted JSX text.",UnterminatedJsxContent:"Unterminated JSX contents.",UnwrappedAdjacentJSXElements:"Adjacent JSX elements must be wrapped in an enclosing tag. Did you want a JSX fragment <>...?"});function H(a){return a?a.type==="JSXOpeningFragment"||a.type==="JSXClosingFragment":!1}function oe(a){if(a.type==="JSXIdentifier")return a.name;if(a.type==="JSXNamespacedName")return a.namespace.name+":"+a.name.name;if(a.type==="JSXMemberExpression")return oe(a.object)+"."+oe(a.property);throw new Error("Node had unexpected type: "+a.type)}var sa=a=>class extends a{jsxReadToken(){let e="",s=this.state.pos;for(;;){if(this.state.pos>=this.length)throw this.raise(Y.UnterminatedJsxContent,{at:this.state.startLoc});let i=this.input.charCodeAt(this.state.pos);switch(i){case 60:case 123:if(this.state.pos===this.state.start){i===60&&this.state.canStartJSXElement?(++this.state.pos,this.finishToken(140)):super.getTokenFromCode(i);return}e+=this.input.slice(s,this.state.pos),this.finishToken(139,e);return;case 38:e+=this.input.slice(s,this.state.pos),e+=this.jsxReadEntity(),s=this.state.pos;break;case 62:case 125:default:ke(i)?(e+=this.input.slice(s,this.state.pos),e+=this.jsxReadNewLine(!0),s=this.state.pos):++this.state.pos}}}jsxReadNewLine(e){let s=this.input.charCodeAt(this.state.pos),i;return++this.state.pos,s===13&&this.input.charCodeAt(this.state.pos)===10?(++this.state.pos,i=e?` +- Did you mean \`import { "${a}" as foo }\`?`,ImportCallArgumentTrailingComma:"Trailing comma is disallowed inside import(...) arguments.",ImportCallArity:({maxArgumentCount:a})=>`\`import()\` requires exactly ${a===1?"one argument":"one or two arguments"}.`,ImportCallNotNewExpression:"Cannot use new with import(...).",ImportCallSpreadArgument:"`...` is not allowed in `import()`.",ImportJSONBindingNotDefault:"A JSON module can only be imported with `default`.",ImportReflectionHasAssertion:"`import module x` cannot have assertions.",ImportReflectionNotBinding:'Only `import module x from "./module"` is valid.',IncompatibleRegExpUVFlags:"The 'u' and 'v' regular expression flags cannot be enabled at the same time.",InvalidBigIntLiteral:"Invalid BigIntLiteral.",InvalidCodePoint:"Code point out of bounds.",InvalidCoverInitializedName:"Invalid shorthand property initializer.",InvalidDecimal:"Invalid decimal.",InvalidDigit:({radix:a})=>`Expected number in radix ${a}.`,InvalidEscapeSequence:"Bad character escape sequence.",InvalidEscapeSequenceTemplate:"Invalid escape sequence in template.",InvalidEscapedReservedWord:({reservedWord:a})=>`Escape sequence in keyword ${a}.`,InvalidIdentifier:({identifierName:a})=>`Invalid identifier ${a}.`,InvalidLhs:({ancestor:a})=>`Invalid left-hand side in ${Ee(a)}.`,InvalidLhsBinding:({ancestor:a})=>`Binding invalid left-hand side in ${Ee(a)}.`,InvalidLhsOptionalChaining:({ancestor:a})=>`Invalid optional chaining in the left-hand side of ${Ee(a)}.`,InvalidNumber:"Invalid number.",InvalidOrMissingExponent:"Floating-point numbers require a valid exponent after the 'e'.",InvalidOrUnexpectedToken:({unexpected:a})=>`Unexpected character '${a}'.`,InvalidParenthesizedAssignment:"Invalid parenthesized assignment pattern.",InvalidPrivateFieldResolution:({identifierName:a})=>`Private name #${a} is not defined.`,InvalidPropertyBindingPattern:"Binding member expression.",InvalidRecordProperty:"Only properties and spread elements are allowed in record definitions.",InvalidRestAssignmentPattern:"Invalid rest operator's argument.",LabelRedeclaration:({labelName:a})=>`Label '${a}' is already declared.`,LetInLexicalBinding:"'let' is disallowed as a lexically bound name.",LineTerminatorBeforeArrow:"No line break is allowed before '=>'.",MalformedRegExpFlags:"Invalid regular expression flag.",MissingClassName:"A class name is required.",MissingEqInAssignment:"Only '=' operator can be used for specifying default value.",MissingSemicolon:"Missing semicolon.",MissingPlugin:({missingPlugin:a})=>`This experimental syntax requires enabling the parser plugin: ${a.map(t=>JSON.stringify(t)).join(", ")}.`,MissingOneOfPlugins:({missingPlugin:a})=>`This experimental syntax requires enabling one of the following parser plugin(s): ${a.map(t=>JSON.stringify(t)).join(", ")}.`,MissingUnicodeEscape:"Expecting Unicode escape sequence \\uXXXX.",MixingCoalesceWithLogical:"Nullish coalescing operator(??) requires parens when mixing with logical operators.",ModuleAttributeDifferentFromType:"The only accepted module attribute is `type`.",ModuleAttributeInvalidValue:"Only string literals are allowed as module attribute values.",ModuleAttributesWithDuplicateKeys:({key:a})=>`Duplicate key "${a}" is not allowed in module attributes.`,ModuleExportNameHasLoneSurrogate:({surrogateCharCode:a})=>`An export name cannot include a lone surrogate, found '\\u${a.toString(16)}'.`,ModuleExportUndefined:({localName:a})=>`Export '${a}' is not defined.`,MultipleDefaultsInSwitch:"Multiple default clauses.",NewlineAfterThrow:"Illegal newline after throw.",NoCatchOrFinally:"Missing catch or finally clause.",NumberIdentifier:"Identifier directly after number.",NumericSeparatorInEscapeSequence:"Numeric separators are not allowed inside unicode escape sequences or hex escape sequences.",ObsoleteAwaitStar:"'await*' has been removed from the async functions proposal. Use Promise.all() instead.",OptionalChainingNoNew:"Constructors in/after an Optional Chain are not allowed.",OptionalChainingNoTemplate:"Tagged Template Literals are not allowed in optionalChain.",OverrideOnConstructor:"'override' modifier cannot appear on a constructor declaration.",ParamDupe:"Argument name clash.",PatternHasAccessor:"Object pattern can't contain getter or setter.",PatternHasMethod:"Object pattern can't contain methods.",PrivateInExpectedIn:({identifierName:a})=>`Private names are only allowed in property accesses (\`obj.#${a}\`) or in \`in\` expressions (\`#${a} in obj\`).`,PrivateNameRedeclaration:({identifierName:a})=>`Duplicate private name #${a}.`,RecordExpressionBarIncorrectEndSyntaxType:"Record expressions ending with '|}' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'bar'.",RecordExpressionBarIncorrectStartSyntaxType:"Record expressions starting with '{|' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'bar'.",RecordExpressionHashIncorrectStartSyntaxType:"Record expressions starting with '#{' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'hash'.",RecordNoProto:"'__proto__' is not allowed in Record expressions.",RestTrailingComma:"Unexpected trailing comma after rest element.",SloppyFunction:"In non-strict mode code, functions can only be declared at top level or inside a block.",SloppyFunctionAnnexB:"In non-strict mode code, functions can only be declared at top level, inside a block, or as the body of an if statement.",SourcePhaseImportRequiresDefault:'Only `import source x from "./module"` is valid.',StaticPrototype:"Classes may not have static property named prototype.",SuperNotAllowed:"`super()` is only valid inside a class constructor of a subclass. Maybe a typo in the method name ('constructor') or not extending another class?",SuperPrivateField:"Private fields can't be accessed on super.",TrailingDecorator:"Decorators must be attached to a class element.",TupleExpressionBarIncorrectEndSyntaxType:"Tuple expressions ending with '|]' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'bar'.",TupleExpressionBarIncorrectStartSyntaxType:"Tuple expressions starting with '[|' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'bar'.",TupleExpressionHashIncorrectStartSyntaxType:"Tuple expressions starting with '#[' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'hash'.",UnexpectedArgumentPlaceholder:"Unexpected argument placeholder.",UnexpectedAwaitAfterPipelineBody:'Unexpected "await" after pipeline body; await must have parentheses in minimal proposal.',UnexpectedDigitAfterHash:"Unexpected digit after hash token.",UnexpectedImportExport:"'import' and 'export' may only appear at the top level.",UnexpectedKeyword:({keyword:a})=>`Unexpected keyword '${a}'.`,UnexpectedLeadingDecorator:"Leading decorators must be attached to a class declaration.",UnexpectedLexicalDeclaration:"Lexical declaration cannot appear in a single-statement context.",UnexpectedNewTarget:"`new.target` can only be used in functions or class properties.",UnexpectedNumericSeparator:"A numeric separator is only allowed between two digits.",UnexpectedPrivateField:"Unexpected private name.",UnexpectedReservedWord:({reservedWord:a})=>`Unexpected reserved word '${a}'.`,UnexpectedSuper:"'super' is only allowed in object methods and classes.",UnexpectedToken:({expected:a,unexpected:t})=>`Unexpected token${t?` '${t}'.`:""}${a?`, expected "${a}"`:""}`,UnexpectedTokenUnaryExponentiation:"Illegal expression. Wrap left hand side or entire exponentiation in parentheses.",UnexpectedUsingDeclaration:"Using declaration cannot appear in the top level when source type is `script`.",UnsupportedBind:"Binding should be performed on object property.",UnsupportedDecoratorExport:"A decorated export must export a class declaration.",UnsupportedDefaultExport:"Only expressions, functions or classes are allowed as the `default` export.",UnsupportedImport:"`import` can only be used in `import()` or `import.meta`.",UnsupportedMetaProperty:({target:a,onlyValidPropertyName:t})=>`The only valid meta property for ${a} is ${a}.${t}.`,UnsupportedParameterDecorator:"Decorators cannot be used to decorate parameters.",UnsupportedPropertyDecorator:"Decorators cannot be used to decorate object literal properties.",UnsupportedSuper:"'super' can only be used with function calls (i.e. super()) or in property accesses (i.e. super.prop or super[prop]).",UnterminatedComment:"Unterminated comment.",UnterminatedRegExp:"Unterminated regular expression.",UnterminatedString:"Unterminated string constant.",UnterminatedTemplate:"Unterminated template.",UsingDeclarationExport:"Using declaration cannot be exported.",UsingDeclarationHasBindingPattern:"Using declaration cannot have destructuring patterns.",VarRedeclaration:({identifierName:a})=>`Identifier '${a}' has already been declared.`,YieldBindingIdentifier:"Can not use 'yield' as identifier inside a generator.",YieldInParameter:"Yield expression is not allowed in formal parameters.",ZeroDigitNumericSeparator:"Numeric separator can not be used after leading 0."},Ys={StrictDelete:"Deleting local variable in strict mode.",StrictEvalArguments:({referenceName:a})=>`Assigning to '${a}' in strict mode.`,StrictEvalArgumentsBinding:({bindingName:a})=>`Binding '${a}' in strict mode.`,StrictFunction:"In strict mode code, functions can only be declared at top level or inside a block.",StrictNumericEscape:"The only valid numeric escape in strict mode is '\\0'.",StrictOctalLiteral:"Legacy octal literals are not allowed in strict mode.",StrictWith:"'with' in strict mode."},Qs=new Set(["ArrowFunctionExpression","AssignmentExpression","ConditionalExpression","YieldExpression"]),Zs={PipeBodyIsTighter:"Unexpected yield after pipeline body; any yield expression acting as Hack-style pipe body must be parenthesized due to its loose operator precedence.",PipeTopicRequiresHackPipes:'Topic reference is used, but the pipelineOperator plugin was not passed a "proposal": "hack" or "smart" option.',PipeTopicUnbound:"Topic reference is unbound; it must be inside a pipe body.",PipeTopicUnconfiguredToken:({token:a})=>`Invalid topic token ${a}. In order to use ${a} as a topic reference, the pipelineOperator plugin must be configured with { "proposal": "hack", "topicToken": "${a}" }.`,PipeTopicUnused:"Hack-style pipe body does not contain a topic reference; Hack-style pipes must use topic at least once.",PipeUnparenthesizedBody:({type:a})=>`Hack-style pipe body cannot be an unparenthesized ${Ee({type:a})}; please wrap it in parentheses.`,PipelineBodyNoArrow:'Unexpected arrow "=>" after pipeline body; arrow function in pipeline body must be parenthesized.',PipelineBodySequenceExpression:"Pipeline body may not be a comma-separated sequence expression.",PipelineHeadSequenceExpression:"Pipeline head should not be a comma-separated sequence expression.",PipelineTopicUnused:"Pipeline is in topic style but does not use topic reference.",PrimaryTopicNotAllowed:"Topic reference was used in a lexical context without topic binding.",PrimaryTopicRequiresSmartPipeline:'Topic reference is used, but the pipelineOperator plugin was not passed a "proposal": "hack" or "smart" option.'},ei=["toMessage"],ti=["message"];function Mt(a,t,e){Object.defineProperty(a,t,{enumerable:!1,configurable:!0,value:e})}function si(a){let{toMessage:t}=a,e=Ht(a,ei);return function s(i,r){let n=new SyntaxError;return Object.assign(n,e,{loc:i,pos:i.index}),"missingPlugin"in r&&Object.assign(n,{missingPlugin:r.missingPlugin}),Mt(n,"clone",function(h={}){var c;let{line:l,column:u,index:f}=(c=h.loc)!=null?c:i;return s(new F(l,u,f),Object.assign({},r,h.details))}),Mt(n,"details",r),Object.defineProperty(n,"message",{configurable:!0,get(){let o=`${t(r)} (${i.line}:${i.column})`;return this.message=o,o},set(o){Object.defineProperty(this,"message",{value:o,writable:!0})}}),n}}function j(a,t){if(Array.isArray(a))return s=>j(s,a[0]);let e={};for(let s of Object.keys(a)){let i=a[s],r=typeof i=="string"?{message:()=>i}:typeof i=="function"?{message:i}:i,{message:n}=r,o=Ht(r,ti),h=typeof n=="string"?()=>n:n;e[s]=si(Object.assign({code:"BABEL_PARSER_SYNTAX_ERROR",reasonCode:s,toMessage:h},t?{syntaxPlugin:t}:{},o))}return e}var p=Object.assign({},j(Xs),j(Gs),j(Ys),j`pipelineOperator`(Zs)),{defineProperty:ii}=Object,Ot=(a,t)=>{a&&ii(a,t,{enumerable:!1,value:a[t]})};function oe(a){return Ot(a.loc.start,"index"),Ot(a.loc.end,"index"),a}var ri=a=>class extends a{parse(){let e=oe(super.parse());return this.options.tokens&&(e.tokens=e.tokens.map(oe)),e}parseRegExpLiteral({pattern:e,flags:s}){let i=null;try{i=new RegExp(e,s)}catch{}let r=this.estreeParseLiteral(i);return r.regex={pattern:e,flags:s},r}parseBigIntLiteral(e){let s;try{s=BigInt(e)}catch{s=null}let i=this.estreeParseLiteral(s);return i.bigint=String(i.value||e),i}parseDecimalLiteral(e){let i=this.estreeParseLiteral(null);return i.decimal=String(i.value||e),i}estreeParseLiteral(e){return this.parseLiteral(e,"Literal")}parseStringLiteral(e){return this.estreeParseLiteral(e)}parseNumericLiteral(e){return this.estreeParseLiteral(e)}parseNullLiteral(){return this.estreeParseLiteral(null)}parseBooleanLiteral(e){return this.estreeParseLiteral(e)}directiveToStmt(e){let s=e.value;delete e.value,s.type="Literal",s.raw=s.extra.raw,s.value=s.extra.expressionValue;let i=e;return i.type="ExpressionStatement",i.expression=s,i.directive=s.extra.rawValue,delete s.extra,i}initFunction(e,s){super.initFunction(e,s),e.expression=!1}checkDeclaration(e){e!=null&&this.isObjectProperty(e)?this.checkDeclaration(e.value):super.checkDeclaration(e)}getObjectOrClassMethodParams(e){return e.value.params}isValidDirective(e){var s;return e.type==="ExpressionStatement"&&e.expression.type==="Literal"&&typeof e.expression.value=="string"&&!((s=e.expression.extra)!=null&&s.parenthesized)}parseBlockBody(e,s,i,r,n){super.parseBlockBody(e,s,i,r,n);let o=e.directives.map(h=>this.directiveToStmt(h));e.body=o.concat(e.body),delete e.directives}pushClassMethod(e,s,i,r,n,o){this.parseMethod(s,i,r,n,o,"ClassMethod",!0),s.typeParameters&&(s.value.typeParameters=s.typeParameters,delete s.typeParameters),e.body.push(s)}parsePrivateName(){let e=super.parsePrivateName();return this.getPluginOption("estree","classFeatures")?this.convertPrivateNameToPrivateIdentifier(e):e}convertPrivateNameToPrivateIdentifier(e){let s=super.getPrivateNameSV(e);return e=e,delete e.id,e.name=s,e.type="PrivateIdentifier",e}isPrivateName(e){return this.getPluginOption("estree","classFeatures")?e.type==="PrivateIdentifier":super.isPrivateName(e)}getPrivateNameSV(e){return this.getPluginOption("estree","classFeatures")?e.name:super.getPrivateNameSV(e)}parseLiteral(e,s){let i=super.parseLiteral(e,s);return i.raw=i.extra.raw,delete i.extra,i}parseFunctionBody(e,s,i=!1){super.parseFunctionBody(e,s,i),e.expression=e.body.type!=="BlockStatement"}parseMethod(e,s,i,r,n,o,h=!1){let c=this.startNode();return c.kind=e.kind,c=super.parseMethod(c,s,i,r,n,o,h),c.type="FunctionExpression",delete c.kind,e.value=c,o==="ClassPrivateMethod"&&(e.computed=!1),this.finishNode(e,"MethodDefinition")}nameIsConstructor(e){return e.type==="Literal"?e.value==="constructor":super.nameIsConstructor(e)}parseClassProperty(...e){let s=super.parseClassProperty(...e);return this.getPluginOption("estree","classFeatures")&&(s.type="PropertyDefinition"),s}parseClassPrivateProperty(...e){let s=super.parseClassPrivateProperty(...e);return this.getPluginOption("estree","classFeatures")&&(s.type="PropertyDefinition",s.computed=!1),s}parseObjectMethod(e,s,i,r,n){let o=super.parseObjectMethod(e,s,i,r,n);return o&&(o.type="Property",o.kind==="method"&&(o.kind="init"),o.shorthand=!1),o}parseObjectProperty(e,s,i,r){let n=super.parseObjectProperty(e,s,i,r);return n&&(n.kind="init",n.type="Property"),n}isValidLVal(e,s,i){return e==="Property"?"value":super.isValidLVal(e,s,i)}isAssignable(e,s){return e!=null&&this.isObjectProperty(e)?this.isAssignable(e.value,s):super.isAssignable(e,s)}toAssignable(e,s=!1){if(e!=null&&this.isObjectProperty(e)){let{key:i,value:r}=e;this.isPrivateName(i)&&this.classScope.usePrivateName(this.getPrivateNameSV(i),i.loc.start),this.toAssignable(r,s)}else super.toAssignable(e,s)}toAssignableObjectExpressionProp(e,s,i){e.type==="Property"&&(e.kind==="get"||e.kind==="set")?this.raise(p.PatternHasAccessor,e.key):e.type==="Property"&&e.method?this.raise(p.PatternHasMethod,e.key):super.toAssignableObjectExpressionProp(e,s,i)}finishCallExpression(e,s){let i=super.finishCallExpression(e,s);if(i.callee.type==="Import"){if(i.type="ImportExpression",i.source=i.arguments[0],this.hasPlugin("importAttributes")||this.hasPlugin("importAssertions")){var r,n;i.options=(r=i.arguments[1])!=null?r:null,i.attributes=(n=i.arguments[1])!=null?n:null}delete i.arguments,delete i.callee}return i}toReferencedArguments(e){e.type!=="ImportExpression"&&super.toReferencedArguments(e)}parseExport(e,s){let i=this.state.lastTokStartLoc,r=super.parseExport(e,s);switch(r.type){case"ExportAllDeclaration":r.exported=null;break;case"ExportNamedDeclaration":r.specifiers.length===1&&r.specifiers[0].type==="ExportNamespaceSpecifier"&&(r.type="ExportAllDeclaration",r.exported=r.specifiers[0].exported,delete r.specifiers);case"ExportDefaultDeclaration":{var n;let{declaration:o}=r;(o==null?void 0:o.type)==="ClassDeclaration"&&((n=o.decorators)==null?void 0:n.length)>0&&o.start===r.start&&this.resetStartLocation(r,i)}break}return r}parseSubscript(e,s,i,r){let n=super.parseSubscript(e,s,i,r);if(r.optionalChainMember){if((n.type==="OptionalMemberExpression"||n.type==="OptionalCallExpression")&&(n.type=n.type.substring(8)),r.stop){let o=this.startNodeAtNode(n);return o.expression=n,this.finishNode(o,"ChainExpression")}}else(n.type==="MemberExpression"||n.type==="CallExpression")&&(n.optional=!1);return n}isOptionalMemberExpression(e){return e.type==="ChainExpression"?e.expression.type==="MemberExpression":super.isOptionalMemberExpression(e)}hasPropertyAsPrivateName(e){return e.type==="ChainExpression"&&(e=e.expression),super.hasPropertyAsPrivateName(e)}isObjectProperty(e){return e.type==="Property"&&e.kind==="init"&&!e.method}isObjectMethod(e){return e.type==="Property"&&(e.method||e.kind==="get"||e.kind==="set")}finishNodeAt(e,s,i){return oe(super.finishNodeAt(e,s,i))}resetStartLocation(e,s){super.resetStartLocation(e,s),oe(e)}resetEndLocation(e,s=this.state.lastTokEndLoc){super.resetEndLocation(e,s),oe(e)}},X=class{constructor(t,e){this.token=void 0,this.preserveSpace=void 0,this.token=t,this.preserveSpace=!!e}},C={brace:new X("{"),j_oTag:new X("...",!0)};C.template=new X("`",!0);var b=!0,m=!0,$e=!0,he=!0,q=!0,ai=!0,ve=class{constructor(t,e={}){this.label=void 0,this.keyword=void 0,this.beforeExpr=void 0,this.startsExpr=void 0,this.rightAssociative=void 0,this.isLoop=void 0,this.isAssign=void 0,this.prefix=void 0,this.postfix=void 0,this.binop=void 0,this.label=t,this.keyword=e.keyword,this.beforeExpr=!!e.beforeExpr,this.startsExpr=!!e.startsExpr,this.rightAssociative=!!e.rightAssociative,this.isLoop=!!e.isLoop,this.isAssign=!!e.isAssign,this.prefix=!!e.prefix,this.postfix=!!e.postfix,this.binop=e.binop!=null?e.binop:null,this.updateContext=null}},ut=new Map;function A(a,t={}){t.keyword=a;let e=P(a,t);return ut.set(a,e),e}function k(a,t){return P(a,{beforeExpr:b,binop:t})}var ue=-1,U=[],ft=[],dt=[],mt=[],yt=[],xt=[];function P(a,t={}){var e,s,i,r;return++ue,ft.push(a),dt.push((e=t.binop)!=null?e:-1),mt.push((s=t.beforeExpr)!=null?s:!1),yt.push((i=t.startsExpr)!=null?i:!1),xt.push((r=t.prefix)!=null?r:!1),U.push(new ve(a,t)),ue}function T(a,t={}){var e,s,i,r;return++ue,ut.set(a,ue),ft.push(a),dt.push((e=t.binop)!=null?e:-1),mt.push((s=t.beforeExpr)!=null?s:!1),yt.push((i=t.startsExpr)!=null?i:!1),xt.push((r=t.prefix)!=null?r:!1),U.push(new ve("name",t)),ue}var ni={bracketL:P("[",{beforeExpr:b,startsExpr:m}),bracketHashL:P("#[",{beforeExpr:b,startsExpr:m}),bracketBarL:P("[|",{beforeExpr:b,startsExpr:m}),bracketR:P("]"),bracketBarR:P("|]"),braceL:P("{",{beforeExpr:b,startsExpr:m}),braceBarL:P("{|",{beforeExpr:b,startsExpr:m}),braceHashL:P("#{",{beforeExpr:b,startsExpr:m}),braceR:P("}"),braceBarR:P("|}"),parenL:P("(",{beforeExpr:b,startsExpr:m}),parenR:P(")"),comma:P(",",{beforeExpr:b}),semi:P(";",{beforeExpr:b}),colon:P(":",{beforeExpr:b}),doubleColon:P("::",{beforeExpr:b}),dot:P("."),question:P("?",{beforeExpr:b}),questionDot:P("?."),arrow:P("=>",{beforeExpr:b}),template:P("template"),ellipsis:P("...",{beforeExpr:b}),backQuote:P("`",{startsExpr:m}),dollarBraceL:P("${",{beforeExpr:b,startsExpr:m}),templateTail:P("...`",{startsExpr:m}),templateNonTail:P("...${",{beforeExpr:b,startsExpr:m}),at:P("@"),hash:P("#",{startsExpr:m}),interpreterDirective:P("#!..."),eq:P("=",{beforeExpr:b,isAssign:he}),assign:P("_=",{beforeExpr:b,isAssign:he}),slashAssign:P("_=",{beforeExpr:b,isAssign:he}),xorAssign:P("_=",{beforeExpr:b,isAssign:he}),moduloAssign:P("_=",{beforeExpr:b,isAssign:he}),incDec:P("++/--",{prefix:q,postfix:ai,startsExpr:m}),bang:P("!",{beforeExpr:b,prefix:q,startsExpr:m}),tilde:P("~",{beforeExpr:b,prefix:q,startsExpr:m}),doubleCaret:P("^^",{startsExpr:m}),doubleAt:P("@@",{startsExpr:m}),pipeline:k("|>",0),nullishCoalescing:k("??",1),logicalOR:k("||",1),logicalAND:k("&&",2),bitwiseOR:k("|",3),bitwiseXOR:k("^",4),bitwiseAND:k("&",5),equality:k("==/!=/===/!==",6),lt:k("/<=/>=",7),gt:k("/<=/>=",7),relational:k("/<=/>=",7),bitShift:k("<>/>>>",8),bitShiftL:k("<>/>>>",8),bitShiftR:k("<>/>>>",8),plusMin:P("+/-",{beforeExpr:b,binop:9,prefix:q,startsExpr:m}),modulo:P("%",{binop:10,startsExpr:m}),star:P("*",{binop:10}),slash:k("/",10),exponent:P("**",{beforeExpr:b,binop:11,rightAssociative:!0}),_in:A("in",{beforeExpr:b,binop:7}),_instanceof:A("instanceof",{beforeExpr:b,binop:7}),_break:A("break"),_case:A("case",{beforeExpr:b}),_catch:A("catch"),_continue:A("continue"),_debugger:A("debugger"),_default:A("default",{beforeExpr:b}),_else:A("else",{beforeExpr:b}),_finally:A("finally"),_function:A("function",{startsExpr:m}),_if:A("if"),_return:A("return",{beforeExpr:b}),_switch:A("switch"),_throw:A("throw",{beforeExpr:b,prefix:q,startsExpr:m}),_try:A("try"),_var:A("var"),_const:A("const"),_with:A("with"),_new:A("new",{beforeExpr:b,startsExpr:m}),_this:A("this",{startsExpr:m}),_super:A("super",{startsExpr:m}),_class:A("class",{startsExpr:m}),_extends:A("extends",{beforeExpr:b}),_export:A("export"),_import:A("import",{startsExpr:m}),_null:A("null",{startsExpr:m}),_true:A("true",{startsExpr:m}),_false:A("false",{startsExpr:m}),_typeof:A("typeof",{beforeExpr:b,prefix:q,startsExpr:m}),_void:A("void",{beforeExpr:b,prefix:q,startsExpr:m}),_delete:A("delete",{beforeExpr:b,prefix:q,startsExpr:m}),_do:A("do",{isLoop:$e,beforeExpr:b}),_for:A("for",{isLoop:$e}),_while:A("while",{isLoop:$e}),_as:T("as",{startsExpr:m}),_assert:T("assert",{startsExpr:m}),_async:T("async",{startsExpr:m}),_await:T("await",{startsExpr:m}),_defer:T("defer",{startsExpr:m}),_from:T("from",{startsExpr:m}),_get:T("get",{startsExpr:m}),_let:T("let",{startsExpr:m}),_meta:T("meta",{startsExpr:m}),_of:T("of",{startsExpr:m}),_sent:T("sent",{startsExpr:m}),_set:T("set",{startsExpr:m}),_source:T("source",{startsExpr:m}),_static:T("static",{startsExpr:m}),_using:T("using",{startsExpr:m}),_yield:T("yield",{startsExpr:m}),_asserts:T("asserts",{startsExpr:m}),_checks:T("checks",{startsExpr:m}),_exports:T("exports",{startsExpr:m}),_global:T("global",{startsExpr:m}),_implements:T("implements",{startsExpr:m}),_intrinsic:T("intrinsic",{startsExpr:m}),_infer:T("infer",{startsExpr:m}),_is:T("is",{startsExpr:m}),_mixins:T("mixins",{startsExpr:m}),_proto:T("proto",{startsExpr:m}),_require:T("require",{startsExpr:m}),_satisfies:T("satisfies",{startsExpr:m}),_keyof:T("keyof",{startsExpr:m}),_readonly:T("readonly",{startsExpr:m}),_unique:T("unique",{startsExpr:m}),_abstract:T("abstract",{startsExpr:m}),_declare:T("declare",{startsExpr:m}),_enum:T("enum",{startsExpr:m}),_module:T("module",{startsExpr:m}),_namespace:T("namespace",{startsExpr:m}),_interface:T("interface",{startsExpr:m}),_type:T("type",{startsExpr:m}),_opaque:T("opaque",{startsExpr:m}),name:P("name",{startsExpr:m}),string:P("string",{startsExpr:m}),num:P("num",{startsExpr:m}),bigint:P("bigint",{startsExpr:m}),decimal:P("decimal",{startsExpr:m}),regexp:P("regexp",{startsExpr:m}),privateName:P("#name",{startsExpr:m}),eof:P("eof"),jsxName:P("jsxName"),jsxText:P("jsxText",{beforeExpr:!0}),jsxTagStart:P("jsxTagStart",{startsExpr:!0}),jsxTagEnd:P("jsxTagEnd"),placeholder:P("%%",{startsExpr:!0})};function w(a){return a>=93&&a<=132}function oi(a){return a<=92}function M(a){return a>=58&&a<=132}function Wt(a){return a>=58&&a<=136}function hi(a){return mt[a]}function He(a){return yt[a]}function li(a){return a>=29&&a<=33}function Ft(a){return a>=129&&a<=131}function ci(a){return a>=90&&a<=92}function Pt(a){return a>=58&&a<=92}function pi(a){return a>=39&&a<=59}function ui(a){return a===34}function fi(a){return xt[a]}function di(a){return a>=121&&a<=123}function mi(a){return a>=124&&a<=130}function K(a){return ft[a]}function Ie(a){return dt[a]}function yi(a){return a===57}function Le(a){return a>=24&&a<=25}function R(a){return U[a]}U[8].updateContext=a=>{a.pop()},U[5].updateContext=U[7].updateContext=U[23].updateContext=a=>{a.push(C.brace)},U[22].updateContext=a=>{a[a.length-1]===C.template?a.pop():a.push(C.template)},U[142].updateContext=a=>{a.push(C.j_expr,C.j_oTag)};var gt="\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0560-\u0588\u05D0-\u05EA\u05EF-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u0870-\u0887\u0889-\u088E\u08A0-\u08C9\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C5D\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D04-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E86-\u0E8A\u0E8C-\u0EA3\u0EA5\u0EA7-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u1711\u171F-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1878\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4C\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\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\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2118-\u211D\u2124\u2126\u2128\u212A-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309B-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312F\u3131-\u318E\u31A0-\u31BF\u31F0-\u31FF\u3400-\u4DBF\u4E00-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7CA\uA7D0\uA7D1\uA7D3\uA7D5-\uA7D9\uA7F2-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA8FE\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB69\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC",Jt="\u200C\u200D\xB7\u0300-\u036F\u0387\u0483-\u0487\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u0610-\u061A\u064B-\u0669\u0670\u06D6-\u06DC\u06DF-\u06E4\u06E7\u06E8\u06EA-\u06ED\u06F0-\u06F9\u0711\u0730-\u074A\u07A6-\u07B0\u07C0-\u07C9\u07EB-\u07F3\u07FD\u0816-\u0819\u081B-\u0823\u0825-\u0827\u0829-\u082D\u0859-\u085B\u0898-\u089F\u08CA-\u08E1\u08E3-\u0903\u093A-\u093C\u093E-\u094F\u0951-\u0957\u0962\u0963\u0966-\u096F\u0981-\u0983\u09BC\u09BE-\u09C4\u09C7\u09C8\u09CB-\u09CD\u09D7\u09E2\u09E3\u09E6-\u09EF\u09FE\u0A01-\u0A03\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A66-\u0A71\u0A75\u0A81-\u0A83\u0ABC\u0ABE-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AE2\u0AE3\u0AE6-\u0AEF\u0AFA-\u0AFF\u0B01-\u0B03\u0B3C\u0B3E-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B55-\u0B57\u0B62\u0B63\u0B66-\u0B6F\u0B82\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD7\u0BE6-\u0BEF\u0C00-\u0C04\u0C3C\u0C3E-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C62\u0C63\u0C66-\u0C6F\u0C81-\u0C83\u0CBC\u0CBE-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CE2\u0CE3\u0CE6-\u0CEF\u0CF3\u0D00-\u0D03\u0D3B\u0D3C\u0D3E-\u0D44\u0D46-\u0D48\u0D4A-\u0D4D\u0D57\u0D62\u0D63\u0D66-\u0D6F\u0D81-\u0D83\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E31\u0E34-\u0E3A\u0E47-\u0E4E\u0E50-\u0E59\u0EB1\u0EB4-\u0EBC\u0EC8-\u0ECE\u0ED0-\u0ED9\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E\u0F3F\u0F71-\u0F84\u0F86\u0F87\u0F8D-\u0F97\u0F99-\u0FBC\u0FC6\u102B-\u103E\u1040-\u1049\u1056-\u1059\u105E-\u1060\u1062-\u1064\u1067-\u106D\u1071-\u1074\u1082-\u108D\u108F-\u109D\u135D-\u135F\u1369-\u1371\u1712-\u1715\u1732-\u1734\u1752\u1753\u1772\u1773\u17B4-\u17D3\u17DD\u17E0-\u17E9\u180B-\u180D\u180F-\u1819\u18A9\u1920-\u192B\u1930-\u193B\u1946-\u194F\u19D0-\u19DA\u1A17-\u1A1B\u1A55-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AB0-\u1ABD\u1ABF-\u1ACE\u1B00-\u1B04\u1B34-\u1B44\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1B82\u1BA1-\u1BAD\u1BB0-\u1BB9\u1BE6-\u1BF3\u1C24-\u1C37\u1C40-\u1C49\u1C50-\u1C59\u1CD0-\u1CD2\u1CD4-\u1CE8\u1CED\u1CF4\u1CF7-\u1CF9\u1DC0-\u1DFF\u200C\u200D\u203F\u2040\u2054\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2CEF-\u2CF1\u2D7F\u2DE0-\u2DFF\u302A-\u302F\u3099\u309A\u30FB\uA620-\uA629\uA66F\uA674-\uA67D\uA69E\uA69F\uA6F0\uA6F1\uA802\uA806\uA80B\uA823-\uA827\uA82C\uA880\uA881\uA8B4-\uA8C5\uA8D0-\uA8D9\uA8E0-\uA8F1\uA8FF-\uA909\uA926-\uA92D\uA947-\uA953\uA980-\uA983\uA9B3-\uA9C0\uA9D0-\uA9D9\uA9E5\uA9F0-\uA9F9\uAA29-\uAA36\uAA43\uAA4C\uAA4D\uAA50-\uAA59\uAA7B-\uAA7D\uAAB0\uAAB2-\uAAB4\uAAB7\uAAB8\uAABE\uAABF\uAAC1\uAAEB-\uAAEF\uAAF5\uAAF6\uABE3-\uABEA\uABEC\uABED\uABF0-\uABF9\uFB1E\uFE00-\uFE0F\uFE20-\uFE2F\uFE33\uFE34\uFE4D-\uFE4F\uFF10-\uFF19\uFF3F\uFF65",xi=new RegExp("["+gt+"]"),Pi=new RegExp("["+gt+Jt+"]");gt=Jt=null;var Xt=[0,11,2,25,2,18,2,1,2,14,3,13,35,122,70,52,268,28,4,48,48,31,14,29,6,37,11,29,3,35,5,7,2,4,43,157,19,35,5,35,5,39,9,51,13,10,2,14,2,6,2,1,2,10,2,14,2,6,2,1,68,310,10,21,11,7,25,5,2,41,2,8,70,5,3,0,2,43,2,1,4,0,3,22,11,22,10,30,66,18,2,1,11,21,11,25,71,55,7,1,65,0,16,3,2,2,2,28,43,28,4,28,36,7,2,27,28,53,11,21,11,18,14,17,111,72,56,50,14,50,14,35,349,41,7,1,79,28,11,0,9,21,43,17,47,20,28,22,13,52,58,1,3,0,14,44,33,24,27,35,30,0,3,0,9,34,4,0,13,47,15,3,22,0,2,0,36,17,2,24,20,1,64,6,2,0,2,3,2,14,2,9,8,46,39,7,3,1,3,21,2,6,2,1,2,4,4,0,19,0,13,4,159,52,19,3,21,2,31,47,21,1,2,0,185,46,42,3,37,47,21,0,60,42,14,0,72,26,38,6,186,43,117,63,32,7,3,0,3,7,2,1,2,23,16,0,2,0,95,7,3,38,17,0,2,0,29,0,11,39,8,0,22,0,12,45,20,0,19,72,264,8,2,36,18,0,50,29,113,6,2,1,2,37,22,0,26,5,2,1,2,31,15,0,328,18,16,0,2,12,2,33,125,0,80,921,103,110,18,195,2637,96,16,1071,18,5,4026,582,8634,568,8,30,18,78,18,29,19,47,17,3,32,20,6,18,689,63,129,74,6,0,67,12,65,1,2,0,29,6135,9,1237,43,8,8936,3,2,6,2,1,2,290,16,0,30,2,3,0,15,3,9,395,2309,106,6,12,4,8,8,9,5991,84,2,70,2,1,3,0,3,1,3,3,2,11,2,0,2,6,2,64,2,3,3,7,2,6,2,27,2,3,2,4,2,0,4,6,2,339,3,24,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,7,1845,30,7,5,262,61,147,44,11,6,17,0,322,29,19,43,485,27,757,6,2,3,2,1,2,14,2,196,60,67,8,0,1205,3,2,26,2,1,2,0,3,0,2,9,2,3,2,0,2,0,7,0,5,0,2,0,2,0,2,2,2,1,2,0,3,0,2,0,2,0,2,0,2,0,2,1,2,0,3,3,2,6,2,3,2,3,2,0,2,9,2,16,6,2,2,4,2,16,4421,42719,33,4153,7,221,3,5761,15,7472,16,621,2467,541,1507,4938,6,4191],gi=[509,0,227,0,150,4,294,9,1368,2,2,1,6,3,41,2,5,0,166,1,574,3,9,9,370,1,81,2,71,10,50,3,123,2,54,14,32,10,3,1,11,3,46,10,8,0,46,9,7,2,37,13,2,9,6,1,45,0,13,2,49,13,9,3,2,11,83,11,7,0,3,0,158,11,6,9,7,3,56,1,2,6,3,1,3,2,10,0,11,1,3,6,4,4,193,17,10,9,5,0,82,19,13,9,214,6,3,8,28,1,83,16,16,9,82,12,9,9,84,14,5,9,243,14,166,9,71,5,2,1,3,3,2,0,2,1,13,9,120,6,3,6,4,0,29,9,41,6,2,3,9,0,10,10,47,15,406,7,2,7,17,9,57,21,2,13,123,5,4,0,2,1,2,6,2,0,9,9,49,4,2,1,2,4,9,9,330,3,10,1,2,0,49,6,4,4,14,9,5351,0,7,14,13835,9,87,9,39,4,60,6,26,9,1014,0,2,54,8,3,82,0,12,1,19628,1,4706,45,3,22,543,4,4,5,9,7,3,6,31,3,149,2,1418,49,513,54,5,49,9,0,15,0,23,4,2,14,1361,6,2,16,3,6,2,1,2,4,101,0,161,6,10,9,357,0,62,13,499,13,983,6,110,6,6,9,4759,9,787719,239];function We(a,t){let e=65536;for(let s=0,i=t.length;sa)return!1;if(e+=t[s+1],e>=a)return!0}return!1}function _(a){return a<65?a===36:a<=90?!0:a<97?a===95:a<=122?!0:a<=65535?a>=170&&xi.test(String.fromCharCode(a)):We(a,Xt)}function Q(a){return a<48?a===36:a<58?!0:a<65?!1:a<=90?!0:a<97?a===95:a<=122?!0:a<=65535?a>=170&&Pi.test(String.fromCharCode(a)):We(a,Xt)||We(a,gi)}var Tt={keyword:["break","case","catch","continue","debugger","default","do","else","finally","for","function","if","return","switch","throw","try","var","const","while","with","new","this","super","class","extends","export","import","null","true","false","in","instanceof","typeof","void","delete"],strict:["implements","interface","let","package","private","protected","public","static","yield"],strictBind:["eval","arguments"]},Ti=new Set(Tt.keyword),bi=new Set(Tt.strict),Ai=new Set(Tt.strictBind);function Gt(a,t){return t&&a==="await"||a==="enum"}function Yt(a,t){return Gt(a,t)||bi.has(a)}function Qt(a){return Ai.has(a)}function Zt(a,t){return Yt(a,t)||Qt(a)}function Si(a){return Ti.has(a)}function wi(a,t,e){return a===64&&t===64&&_(e)}var Ci=new Set(["break","case","catch","continue","debugger","default","do","else","finally","for","function","if","return","switch","throw","try","var","const","while","with","new","this","super","class","extends","export","import","null","true","false","in","instanceof","typeof","void","delete","implements","interface","let","package","private","protected","public","static","yield","eval","arguments","enum","await"]);function Ei(a){return Ci.has(a)}var de=class{constructor(t){this.flags=0,this.names=new Map,this.firstLexicalName="",this.flags=t}},me=class{constructor(t,e){this.parser=void 0,this.scopeStack=[],this.inModule=void 0,this.undefinedExports=new Map,this.parser=t,this.inModule=e}get inTopLevel(){return(this.currentScope().flags&1)>0}get inFunction(){return(this.currentVarScopeFlags()&2)>0}get allowSuper(){return(this.currentThisScopeFlags()&16)>0}get allowDirectSuper(){return(this.currentThisScopeFlags()&32)>0}get inClass(){return(this.currentThisScopeFlags()&64)>0}get inClassAndNotInNonArrowFunction(){let t=this.currentThisScopeFlags();return(t&64)>0&&(t&2)===0}get inStaticBlock(){for(let t=this.scopeStack.length-1;;t--){let{flags:e}=this.scopeStack[t];if(e&128)return!0;if(e&451)return!1}}get inNonArrowFunction(){return(this.currentThisScopeFlags()&2)>0}get treatFunctionsAsVar(){return this.treatFunctionsAsVarInScope(this.currentScope())}createScope(t){return new de(t)}enter(t){this.scopeStack.push(this.createScope(t))}exit(){return this.scopeStack.pop().flags}treatFunctionsAsVarInScope(t){return!!(t.flags&130||!this.parser.inModule&&t.flags&1)}declareName(t,e,s){let i=this.currentScope();if(e&8||e&16){this.checkRedeclarationInScope(i,t,e,s);let r=i.names.get(t)||0;e&16?r=r|4:(i.firstLexicalName||(i.firstLexicalName=t),r=r|2),i.names.set(t,r),e&8&&this.maybeExportDefined(i,t)}else if(e&4)for(let r=this.scopeStack.length-1;r>=0&&(i=this.scopeStack[r],this.checkRedeclarationInScope(i,t,e,s),i.names.set(t,(i.names.get(t)||0)|1),this.maybeExportDefined(i,t),!(i.flags&387));--r);this.parser.inModule&&i.flags&1&&this.undefinedExports.delete(t)}maybeExportDefined(t,e){this.parser.inModule&&t.flags&1&&this.undefinedExports.delete(e)}checkRedeclarationInScope(t,e,s,i){this.isRedeclaredInScope(t,e,s)&&this.parser.raise(p.VarRedeclaration,i,{identifierName:e})}isRedeclaredInScope(t,e,s){if(!(s&1))return!1;if(s&8)return t.names.has(e);let i=t.names.get(e);return s&16?(i&2)>0||!this.treatFunctionsAsVarInScope(t)&&(i&1)>0:(i&2)>0&&!(t.flags&8&&t.firstLexicalName===e)||!this.treatFunctionsAsVarInScope(t)&&(i&4)>0}checkLocalExport(t){let{name:e}=t;this.scopeStack[0].names.has(e)||this.undefinedExports.set(e,t.loc.start)}currentScope(){return this.scopeStack[this.scopeStack.length-1]}currentVarScopeFlags(){for(let t=this.scopeStack.length-1;;t--){let{flags:e}=this.scopeStack[t];if(e&387)return e}}currentThisScopeFlags(){for(let t=this.scopeStack.length-1;;t--){let{flags:e}=this.scopeStack[t];if(e&451&&!(e&4))return e}}},Je=class extends de{constructor(...t){super(...t),this.declareFunctions=new Set}},Xe=class extends me{createScope(t){return new Je(t)}declareName(t,e,s){let i=this.currentScope();if(e&2048){this.checkRedeclarationInScope(i,t,e,s),this.maybeExportDefined(i,t),i.declareFunctions.add(t);return}super.declareName(t,e,s)}isRedeclaredInScope(t,e,s){if(super.isRedeclaredInScope(t,e,s))return!0;if(s&2048&&!t.declareFunctions.has(e)){let i=t.names.get(e);return(i&4)>0||(i&2)>0}return!1}checkLocalExport(t){this.scopeStack[0].declareFunctions.has(t.name)||super.checkLocalExport(t)}},Ge=class{constructor(){this.sawUnambiguousESM=!1,this.ambiguousScriptDifferentAst=!1}hasPlugin(t){if(typeof t=="string")return this.plugins.has(t);{let[e,s]=t;if(!this.hasPlugin(e))return!1;let i=this.plugins.get(e);for(let r of Object.keys(s))if((i==null?void 0:i[r])!==s[r])return!1;return!0}}getPluginOption(t,e){var s;return(s=this.plugins.get(t))==null?void 0:s[e]}};function es(a,t){a.trailingComments===void 0?a.trailingComments=t:a.trailingComments.unshift(...t)}function Ii(a,t){a.leadingComments===void 0?a.leadingComments=t:a.leadingComments.unshift(...t)}function ye(a,t){a.innerComments===void 0?a.innerComments=t:a.innerComments.unshift(...t)}function le(a,t,e){let s=null,i=t.length;for(;s===null&&i>0;)s=t[--i];s===null||s.start>e.start?ye(a,e.comments):es(s,e.comments)}var Ye=class extends Ge{addComment(t){this.filename&&(t.loc.filename=this.filename);let{commentsLen:e}=this.state;this.comments.length!==e&&(this.comments.length=e),this.comments.push(t),this.state.commentsLen++}processComment(t){let{commentStack:e}=this.state,s=e.length;if(s===0)return;let i=s-1,r=e[i];r.start===t.end&&(r.leadingNode=t,i--);let{start:n}=t;for(;i>=0;i--){let o=e[i],h=o.end;if(h>n)o.containingNode=t,this.finalizeComment(o),e.splice(i,1);else{h===n&&(o.trailingNode=t);break}}}finalizeComment(t){let{comments:e}=t;if(t.leadingNode!==null||t.trailingNode!==null)t.leadingNode!==null&&es(t.leadingNode,e),t.trailingNode!==null&&Ii(t.trailingNode,e);else{let{containingNode:s,start:i}=t;if(this.input.charCodeAt(i-1)===44)switch(s.type){case"ObjectExpression":case"ObjectPattern":case"RecordExpression":le(s,s.properties,t);break;case"CallExpression":case"OptionalCallExpression":le(s,s.arguments,t);break;case"FunctionDeclaration":case"FunctionExpression":case"ArrowFunctionExpression":case"ObjectMethod":case"ClassMethod":case"ClassPrivateMethod":le(s,s.params,t);break;case"ArrayExpression":case"ArrayPattern":case"TupleExpression":le(s,s.elements,t);break;case"ExportNamedDeclaration":case"ImportDeclaration":le(s,s.specifiers,t);break;default:ye(s,e)}else ye(s,e)}}finalizeRemainingComments(){let{commentStack:t}=this.state;for(let e=t.length-1;e>=0;e--)this.finalizeComment(t[e]);this.state.commentStack=[]}resetPreviousNodeTrailingComments(t){let{commentStack:e}=this.state,{length:s}=e;if(s===0)return;let i=e[s-1];i.leadingNode===t&&(i.leadingNode=null)}resetPreviousIdentifierLeadingComments(t){let{commentStack:e}=this.state,{length:s}=e;s!==0&&(e[s-1].trailingNode===t?e[s-1].trailingNode=null:s>=2&&e[s-2].trailingNode===t&&(e[s-2].trailingNode=null))}takeSurroundingComments(t,e,s){let{commentStack:i}=this.state,r=i.length;if(r===0)return;let n=r-1;for(;n>=0;n--){let o=i[n],h=o.end;if(o.start===s)o.leadingNode=t;else if(h===e)o.trailingNode=t;else if(h0}set strict(t){t?this.flags|=1:this.flags&=-2}init({strictMode:t,sourceType:e,startLine:s,startColumn:i}){this.strict=t===!1?!1:t===!0?!0:e==="module",this.curLine=s,this.lineStart=-i,this.startLoc=this.endLoc=new F(s,i,0)}get maybeInArrowParameters(){return(this.flags&2)>0}set maybeInArrowParameters(t){t?this.flags|=2:this.flags&=-3}get inType(){return(this.flags&4)>0}set inType(t){t?this.flags|=4:this.flags&=-5}get noAnonFunctionType(){return(this.flags&8)>0}set noAnonFunctionType(t){t?this.flags|=8:this.flags&=-9}get hasFlowComment(){return(this.flags&16)>0}set hasFlowComment(t){t?this.flags|=16:this.flags&=-17}get isAmbientContext(){return(this.flags&32)>0}set isAmbientContext(t){t?this.flags|=32:this.flags&=-33}get inAbstractClass(){return(this.flags&64)>0}set inAbstractClass(t){t?this.flags|=64:this.flags&=-65}get inDisallowConditionalTypesContext(){return(this.flags&128)>0}set inDisallowConditionalTypesContext(t){t?this.flags|=128:this.flags&=-129}get soloAwait(){return(this.flags&256)>0}set soloAwait(t){t?this.flags|=256:this.flags&=-257}get inFSharpPipelineDirectBody(){return(this.flags&512)>0}set inFSharpPipelineDirectBody(t){t?this.flags|=512:this.flags&=-513}get canStartJSXElement(){return(this.flags&1024)>0}set canStartJSXElement(t){t?this.flags|=1024:this.flags&=-1025}get containsEsc(){return(this.flags&2048)>0}set containsEsc(t){t?this.flags|=2048:this.flags&=-2049}curPosition(){return new F(this.curLine,this.pos-this.lineStart,this.pos)}clone(){let t=new a;return t.flags=this.flags,t.curLine=this.curLine,t.lineStart=this.lineStart,t.startLoc=this.startLoc,t.endLoc=this.endLoc,t.errors=this.errors.slice(),t.potentialArrowAt=this.potentialArrowAt,t.noArrowAt=this.noArrowAt.slice(),t.noArrowParamsConversionAt=this.noArrowParamsConversionAt.slice(),t.topicContext=this.topicContext,t.labels=this.labels.slice(),t.commentsLen=this.commentsLen,t.commentStack=this.commentStack.slice(),t.pos=this.pos,t.type=this.type,t.value=this.value,t.start=this.start,t.end=this.end,t.lastTokEndLoc=this.lastTokEndLoc,t.lastTokStartLoc=this.lastTokStartLoc,t.context=this.context.slice(),t.firstInvalidTemplateEscapePos=this.firstInvalidTemplateEscapePos,t.strictErrors=this.strictErrors,t.tokensLength=this.tokensLength,t}},ki=function(t){return t>=48&&t<=57},Rt={decBinOct:new Set([46,66,69,79,95,98,101,111]),hex:new Set([46,88,95,120])},Ce={bin:a=>a===48||a===49,oct:a=>a>=48&&a<=55,dec:a=>a>=48&&a<=57,hex:a=>a>=48&&a<=57||a>=65&&a<=70||a>=97&&a<=102};function Ut(a,t,e,s,i,r){let n=e,o=s,h=i,c="",l=null,u=e,{length:f}=t;for(;;){if(e>=f){r.unterminated(n,o,h),c+=t.slice(u,e);break}let d=t.charCodeAt(e);if(vi(a,d,t,e)){c+=t.slice(u,e);break}if(d===92){c+=t.slice(u,e);let y=Li(t,e,s,i,a==="template",r);y.ch===null&&!l?l={pos:e,lineStart:s,curLine:i}:c+=y.ch,{pos:e,lineStart:s,curLine:i}=y,u=e}else d===8232||d===8233?(++e,++i,s=e):d===10||d===13?a==="template"?(c+=t.slice(u,e)+` +`,++e,d===13&&t.charCodeAt(e)===10&&++e,++i,u=s=e):r.unterminated(n,o,h):++e}return{pos:e,str:c,firstInvalidLoc:l,lineStart:s,curLine:i,containsInvalid:!!l}}function vi(a,t,e,s){return a==="template"?t===96||t===36&&e.charCodeAt(s+1)===123:t===(a==="double"?34:39)}function Li(a,t,e,s,i,r){let n=!i;t++;let o=c=>({pos:t,ch:c,lineStart:e,curLine:s}),h=a.charCodeAt(t++);switch(h){case 110:return o(` +`);case 114:return o("\r");case 120:{let c;return{code:c,pos:t}=Ze(a,t,e,s,2,!1,n,r),o(c===null?null:String.fromCharCode(c))}case 117:{let c;return{code:c,pos:t}=is(a,t,e,s,n,r),o(c===null?null:String.fromCodePoint(c))}case 116:return o(" ");case 98:return o("\b");case 118:return o("\v");case 102:return o("\f");case 13:a.charCodeAt(t)===10&&++t;case 10:e=t,++s;case 8232:case 8233:return o("");case 56:case 57:if(i)return o(null);r.strictNumericEscape(t-1,e,s);default:if(h>=48&&h<=55){let c=t-1,u=/^[0-7]+/.exec(a.slice(c,t+2))[0],f=parseInt(u,8);f>255&&(u=u.slice(0,-1),f=parseInt(u,8)),t+=u.length-1;let d=a.charCodeAt(t);if(u!=="0"||d===56||d===57){if(i)return o(null);r.strictNumericEscape(c,e,s)}return o(String.fromCharCode(f))}return o(String.fromCharCode(h))}}function Ze(a,t,e,s,i,r,n,o){let h=t,c;return{n:c,pos:t}=ss(a,t,e,s,16,i,r,!1,o,!n),c===null&&(n?o.invalidEscapeSequence(h,e,s):t=h-1),{code:c,pos:t}}function ss(a,t,e,s,i,r,n,o,h,c){let l=t,u=i===16?Rt.hex:Rt.decBinOct,f=i===16?Ce.hex:i===10?Ce.dec:i===8?Ce.oct:Ce.bin,d=!1,y=0;for(let E=0,L=r??1/0;E=97?I=S-97+10:S>=65?I=S-65+10:ki(S)?I=S-48:I=1/0,I>=i){if(I<=9&&c)return{n:null,pos:t};if(I<=9&&h.invalidDigit(t,e,s,i))I=0;else if(n)I=0,d=!0;else break}++t,y=y*i+I}return t===l||r!=null&&t-l!==r||d?{n:null,pos:t}:{n:y,pos:t}}function is(a,t,e,s,i,r){let n=a.charCodeAt(t),o;if(n===123){if(++t,{code:o,pos:t}=Ze(a,t,e,s,a.indexOf("}",t)-t,!0,i,r),++t,o!==null&&o>1114111)if(i)r.invalidCodePoint(t,e,s);else return{code:null,pos:t}}else({code:o,pos:t}=Ze(a,t,e,s,4,!1,i,r));return{code:o,pos:t}}function ce(a,t,e){return new F(e,a-t,a)}var Di=new Set([103,109,115,105,121,117,100,118]),O=class{constructor(t){this.type=t.type,this.value=t.value,this.start=t.start,this.end=t.end,this.loc=new ee(t.startLoc,t.endLoc)}},et=class extends Ye{constructor(t,e){super(),this.isLookahead=void 0,this.tokens=[],this.errorHandlers_readInt={invalidDigit:(s,i,r,n)=>this.options.errorRecovery?(this.raise(p.InvalidDigit,ce(s,i,r),{radix:n}),!0):!1,numericSeparatorInEscapeSequence:this.errorBuilder(p.NumericSeparatorInEscapeSequence),unexpectedNumericSeparator:this.errorBuilder(p.UnexpectedNumericSeparator)},this.errorHandlers_readCodePoint=Object.assign({},this.errorHandlers_readInt,{invalidEscapeSequence:this.errorBuilder(p.InvalidEscapeSequence),invalidCodePoint:this.errorBuilder(p.InvalidCodePoint)}),this.errorHandlers_readStringContents_string=Object.assign({},this.errorHandlers_readCodePoint,{strictNumericEscape:(s,i,r)=>{this.recordStrictModeErrors(p.StrictNumericEscape,ce(s,i,r))},unterminated:(s,i,r)=>{throw this.raise(p.UnterminatedString,ce(s-1,i,r))}}),this.errorHandlers_readStringContents_template=Object.assign({},this.errorHandlers_readCodePoint,{strictNumericEscape:this.errorBuilder(p.StrictNumericEscape),unterminated:(s,i,r)=>{throw this.raise(p.UnterminatedTemplate,ce(s,i,r))}}),this.state=new Qe,this.state.init(t),this.input=e,this.length=e.length,this.comments=[],this.isLookahead=!1}pushToken(t){this.tokens.length=this.state.tokensLength,this.tokens.push(t),++this.state.tokensLength}next(){this.checkKeywordEscapes(),this.options.tokens&&this.pushToken(new O(this.state)),this.state.lastTokEndLoc=this.state.endLoc,this.state.lastTokStartLoc=this.state.startLoc,this.nextToken()}eat(t){return this.match(t)?(this.next(),!0):!1}match(t){return this.state.type===t}createLookaheadState(t){return{pos:t.pos,value:null,type:t.type,start:t.start,end:t.end,context:[this.curContext()],inType:t.inType,startLoc:t.startLoc,lastTokEndLoc:t.lastTokEndLoc,curLine:t.curLine,lineStart:t.lineStart,curPosition:t.curPosition}}lookahead(){let t=this.state;this.state=this.createLookaheadState(t),this.isLookahead=!0,this.nextToken(),this.isLookahead=!1;let e=this.state;return this.state=t,e}nextTokenStart(){return this.nextTokenStartSince(this.state.pos)}nextTokenStartSince(t){return Ve.lastIndex=t,Ve.test(this.input)?Ve.lastIndex:t}lookaheadCharCode(){return this.input.charCodeAt(this.nextTokenStart())}nextTokenInLineStart(){return this.nextTokenInLineStartSince(this.state.pos)}nextTokenInLineStartSince(t){return Ne.lastIndex=t,Ne.test(this.input)?Ne.lastIndex:t}lookaheadInLineCharCode(){return this.input.charCodeAt(this.nextTokenInLineStart())}codePointAtPos(t){let e=this.input.charCodeAt(t);if((e&64512)===55296&&++tthis.raise(e,s)),this.state.strictErrors.clear())}curContext(){return this.state.context[this.state.context.length-1]}nextToken(){if(this.skipSpace(),this.state.start=this.state.pos,this.isLookahead||(this.state.startLoc=this.state.curPosition()),this.state.pos>=this.length){this.finishToken(139);return}this.getTokenFromCode(this.codePointAtPos(this.state.pos))}skipBlockComment(t){let e;this.isLookahead||(e=this.state.curPosition());let s=this.state.pos,i=this.input.indexOf(t,s+2);if(i===-1)throw this.raise(p.UnterminatedComment,this.state.curPosition());for(this.state.pos=i+t.length,we.lastIndex=s+2;we.test(this.input)&&we.lastIndex<=i;)++this.state.curLine,this.state.lineStart=we.lastIndex;if(this.isLookahead)return;let r={type:"CommentBlock",value:this.input.slice(s+2,i),start:s,end:i+t.length,loc:new ee(e,this.state.curPosition())};return this.options.tokens&&this.pushToken(r),r}skipLineComment(t){let e=this.state.pos,s;this.isLookahead||(s=this.state.curPosition());let i=this.input.charCodeAt(this.state.pos+=t);if(this.state.post)){let r=this.skipLineComment(3);r!==void 0&&(this.addComment(r),this.options.attachComment&&e.push(r))}else break e}else if(s===60&&!this.inModule&&this.options.annexB){let i=this.state.pos;if(this.input.charCodeAt(i+1)===33&&this.input.charCodeAt(i+2)===45&&this.input.charCodeAt(i+3)===45){let r=this.skipLineComment(4);r!==void 0&&(this.addComment(r),this.options.attachComment&&e.push(r))}else break e}else break e}}if(e.length>0){let s=this.state.pos,i={start:t,end:s,comments:e,leadingNode:null,trailingNode:null,containingNode:null};this.state.commentStack.push(i)}}finishToken(t,e){this.state.end=this.state.pos,this.state.endLoc=this.state.curPosition();let s=this.state.type;this.state.type=t,this.state.value=e,this.isLookahead||this.updateContext(s)}replaceToken(t){this.state.type=t,this.updateContext()}readToken_numberSign(){if(this.state.pos===0&&this.readToken_interpreter())return;let t=this.state.pos+1,e=this.codePointAtPos(t);if(e>=48&&e<=57)throw this.raise(p.UnexpectedDigitAfterHash,this.state.curPosition());if(e===123||e===91&&this.hasPlugin("recordAndTuple")){if(this.expectPlugin("recordAndTuple"),this.getPluginOption("recordAndTuple","syntaxType")==="bar")throw this.raise(e===123?p.RecordExpressionHashIncorrectStartSyntaxType:p.TupleExpressionHashIncorrectStartSyntaxType,this.state.curPosition());this.state.pos+=2,e===123?this.finishToken(7):this.finishToken(1)}else _(e)?(++this.state.pos,this.finishToken(138,this.readWord1(e))):e===92?(++this.state.pos,this.finishToken(138,this.readWord1())):this.finishOp(27,1)}readToken_dot(){let t=this.input.charCodeAt(this.state.pos+1);if(t>=48&&t<=57){this.readNumber(!0);return}t===46&&this.input.charCodeAt(this.state.pos+2)===46?(this.state.pos+=3,this.finishToken(21)):(++this.state.pos,this.finishToken(16))}readToken_slash(){this.input.charCodeAt(this.state.pos+1)===61?this.finishOp(31,2):this.finishOp(56,1)}readToken_interpreter(){if(this.state.pos!==0||this.length<2)return!1;let t=this.input.charCodeAt(this.state.pos+1);if(t!==33)return!1;let e=this.state.pos;for(this.state.pos+=1;!fe(t)&&++this.state.pos=48&&e<=57)?(this.state.pos+=2,this.finishToken(18)):(++this.state.pos,this.finishToken(17))}getTokenFromCode(t){switch(t){case 46:this.readToken_dot();return;case 40:++this.state.pos,this.finishToken(10);return;case 41:++this.state.pos,this.finishToken(11);return;case 59:++this.state.pos,this.finishToken(13);return;case 44:++this.state.pos,this.finishToken(12);return;case 91:if(this.hasPlugin("recordAndTuple")&&this.input.charCodeAt(this.state.pos+1)===124){if(this.getPluginOption("recordAndTuple","syntaxType")!=="bar")throw this.raise(p.TupleExpressionBarIncorrectStartSyntaxType,this.state.curPosition());this.state.pos+=2,this.finishToken(2)}else++this.state.pos,this.finishToken(0);return;case 93:++this.state.pos,this.finishToken(3);return;case 123:if(this.hasPlugin("recordAndTuple")&&this.input.charCodeAt(this.state.pos+1)===124){if(this.getPluginOption("recordAndTuple","syntaxType")!=="bar")throw this.raise(p.RecordExpressionBarIncorrectStartSyntaxType,this.state.curPosition());this.state.pos+=2,this.finishToken(6)}else++this.state.pos,this.finishToken(5);return;case 125:++this.state.pos,this.finishToken(8);return;case 58:this.hasPlugin("functionBind")&&this.input.charCodeAt(this.state.pos+1)===58?this.finishOp(15,2):(++this.state.pos,this.finishToken(14));return;case 63:this.readToken_question();return;case 96:this.readTemplateToken();return;case 48:{let e=this.input.charCodeAt(this.state.pos+1);if(e===120||e===88){this.readRadixNumber(16);return}if(e===111||e===79){this.readRadixNumber(8);return}if(e===98||e===66){this.readRadixNumber(2);return}}case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:this.readNumber(!1);return;case 34:case 39:this.readString(t);return;case 47:this.readToken_slash();return;case 37:case 42:this.readToken_mult_modulo(t);return;case 124:case 38:this.readToken_pipe_amp(t);return;case 94:this.readToken_caret();return;case 43:case 45:this.readToken_plus_min(t);return;case 60:this.readToken_lt();return;case 62:this.readToken_gt();return;case 61:case 33:this.readToken_eq_excl(t);return;case 126:this.finishOp(36,1);return;case 64:this.readToken_atSign();return;case 35:this.readToken_numberSign();return;case 92:this.readWord();return;default:if(_(t)){this.readWord(t);return}}throw this.raise(p.InvalidOrUnexpectedToken,this.state.curPosition(),{unexpected:String.fromCodePoint(t)})}finishOp(t,e){let s=this.input.slice(this.state.pos,this.state.pos+e);this.state.pos+=e,this.finishToken(t,s)}readRegexp(){let t=this.state.startLoc,e=this.state.start+1,s,i,{pos:r}=this.state;for(;;++r){if(r>=this.length)throw this.raise(p.UnterminatedRegExp,v(t,1));let c=this.input.charCodeAt(r);if(fe(c))throw this.raise(p.UnterminatedRegExp,v(t,1));if(s)s=!1;else{if(c===91)i=!0;else if(c===93&&i)i=!1;else if(c===47&&!i)break;s=c===92}}let n=this.input.slice(e,r);++r;let o="",h=()=>v(t,r+2-e);for(;r=2&&this.input.charCodeAt(e)===48;if(c){let d=this.input.slice(e,this.state.pos);if(this.recordStrictModeErrors(p.StrictOctalLiteral,s),!this.state.strict){let y=d.indexOf("_");y>0&&this.raise(p.ZeroDigitNumericSeparator,v(s,y))}h=c&&!/[89]/.test(d)}let l=this.input.charCodeAt(this.state.pos);if(l===46&&!h&&(++this.state.pos,this.readInt(10),i=!0,l=this.input.charCodeAt(this.state.pos)),(l===69||l===101)&&!h&&(l=this.input.charCodeAt(++this.state.pos),(l===43||l===45)&&++this.state.pos,this.readInt(10)===null&&this.raise(p.InvalidOrMissingExponent,s),i=!0,o=!0,l=this.input.charCodeAt(this.state.pos)),l===110&&((i||c)&&this.raise(p.InvalidBigIntLiteral,s),++this.state.pos,r=!0),l===109&&(this.expectPlugin("decimal",this.state.curPosition()),(o||c)&&this.raise(p.InvalidDecimal,s),++this.state.pos,n=!0),_(this.codePointAtPos(this.state.pos)))throw this.raise(p.NumberIdentifier,this.state.curPosition());let u=this.input.slice(e,this.state.pos).replace(/[_mn]/g,"");if(r){this.finishToken(135,u);return}if(n){this.finishToken(136,u);return}let f=h?parseInt(u,8):parseFloat(u);this.finishToken(134,f)}readCodePoint(t){let{code:e,pos:s}=is(this.input,this.state.pos,this.state.lineStart,this.state.curLine,t,this.errorHandlers_readCodePoint);return this.state.pos=s,e}readString(t){let{str:e,pos:s,curLine:i,lineStart:r}=Ut(t===34?"double":"single",this.input,this.state.pos+1,this.state.lineStart,this.state.curLine,this.errorHandlers_readStringContents_string);this.state.pos=s+1,this.state.lineStart=r,this.state.curLine=i,this.finishToken(133,e)}readTemplateContinuation(){this.match(8)||this.unexpected(null,8),this.state.pos--,this.readTemplateToken()}readTemplateToken(){let t=this.input[this.state.pos],{str:e,firstInvalidLoc:s,pos:i,curLine:r,lineStart:n}=Ut("template",this.input,this.state.pos+1,this.state.lineStart,this.state.curLine,this.errorHandlers_readStringContents_template);this.state.pos=i+1,this.state.lineStart=n,this.state.curLine=r,s&&(this.state.firstInvalidTemplateEscapePos=new F(s.curLine,s.pos-s.lineStart,s.pos)),this.input.codePointAt(i)===96?this.finishToken(24,s?null:t+e+"`"):(this.state.pos++,this.finishToken(25,s?null:t+e+"${"))}recordStrictModeErrors(t,e){let s=e.index;this.state.strict&&!this.state.strictErrors.has(s)?this.raise(t,e):this.state.strictErrors.set(s,[t,e])}readWord1(t){this.state.containsEsc=!1;let e="",s=this.state.pos,i=this.state.pos;for(t!==void 0&&(this.state.pos+=t<=65535?1:2);this.state.pos=0;o--){let h=n[o];if(h.loc.index===r)return n[o]=t(i,s);if(h.loc.indexthis.hasPlugin(e)))throw this.raise(p.MissingOneOfPlugins,this.state.startLoc,{missingPlugin:t})}errorBuilder(t){return(e,s,i)=>{this.raise(t,ce(e,s,i))}}},tt=class{constructor(){this.privateNames=new Set,this.loneAccessors=new Map,this.undefinedPrivateNames=new Map}},st=class{constructor(t){this.parser=void 0,this.stack=[],this.undefinedPrivateNames=new Map,this.parser=t}current(){return this.stack[this.stack.length-1]}enter(){this.stack.push(new tt)}exit(){let t=this.stack.pop(),e=this.current();for(let[s,i]of Array.from(t.undefinedPrivateNames))e?e.undefinedPrivateNames.has(s)||e.undefinedPrivateNames.set(s,i):this.parser.raise(p.InvalidPrivateFieldResolution,i,{identifierName:s})}declarePrivateName(t,e,s){let{privateNames:i,loneAccessors:r,undefinedPrivateNames:n}=this.current(),o=i.has(t);if(e&3){let h=o&&r.get(t);if(h){let c=h&4,l=e&4,u=h&3,f=e&3;o=u===f||c!==l,o||r.delete(t)}else o||r.set(t,e)}o&&this.parser.raise(p.PrivateNameRedeclaration,s,{identifierName:t}),i.add(t),n.delete(t)}usePrivateName(t,e){let s;for(s of this.stack)if(s.privateNames.has(t))return;s?s.undefinedPrivateNames.set(t,e):this.parser.raise(p.InvalidPrivateFieldResolution,e,{identifierName:t})}},te=class{constructor(t=0){this.type=t}canBeArrowParameterDeclaration(){return this.type===2||this.type===1}isCertainlyParameterDeclaration(){return this.type===3}},De=class extends te{constructor(t){super(t),this.declarationErrors=new Map}recordDeclarationError(t,e){let s=e.index;this.declarationErrors.set(s,[t,e])}clearDeclarationError(t){this.declarationErrors.delete(t)}iterateErrors(t){this.declarationErrors.forEach(t)}},it=class{constructor(t){this.parser=void 0,this.stack=[new te],this.parser=t}enter(t){this.stack.push(t)}exit(){this.stack.pop()}recordParameterInitializerError(t,e){let s=e.loc.start,{stack:i}=this,r=i.length-1,n=i[r];for(;!n.isCertainlyParameterDeclaration();){if(n.canBeArrowParameterDeclaration())n.recordDeclarationError(t,s);else return;n=i[--r]}this.parser.raise(t,s)}recordArrowParameterBindingError(t,e){let{stack:s}=this,i=s[s.length-1],r=e.loc.start;if(i.isCertainlyParameterDeclaration())this.parser.raise(t,r);else if(i.canBeArrowParameterDeclaration())i.recordDeclarationError(t,r);else return}recordAsyncArrowParametersError(t){let{stack:e}=this,s=e.length-1,i=e[s];for(;i.canBeArrowParameterDeclaration();)i.type===2&&i.recordDeclarationError(p.AwaitBindingIdentifier,t),i=e[--s]}validateAsPattern(){let{stack:t}=this,e=t[t.length-1];e.canBeArrowParameterDeclaration()&&e.iterateErrors(([s,i])=>{this.parser.raise(s,i);let r=t.length-2,n=t[r];for(;n.canBeArrowParameterDeclaration();)n.clearDeclarationError(i.index),n=t[--r]})}};function Mi(){return new te(3)}function Oi(){return new De(1)}function Fi(){return new De(2)}function rs(){return new te}var rt=class{constructor(){this.stacks=[]}enter(t){this.stacks.push(t)}exit(){this.stacks.pop()}currentFlags(){return this.stacks[this.stacks.length-1]}get hasAwait(){return(this.currentFlags()&2)>0}get hasYield(){return(this.currentFlags()&1)>0}get hasReturn(){return(this.currentFlags()&4)>0}get hasIn(){return(this.currentFlags()&8)>0}};function ke(a,t){return(a?2:0)|(t?1:0)}var at=class extends et{addExtra(t,e,s,i=!0){if(!t)return;let r=t.extra=t.extra||{};i?r[e]=s:Object.defineProperty(r,e,{enumerable:i,value:s})}isContextual(t){return this.state.type===t&&!this.state.containsEsc}isUnparsedContextual(t,e){let s=t+e.length;if(this.input.slice(t,s)===e){let i=this.input.charCodeAt(s);return!(Q(i)||(i&64512)===55296)}return!1}isLookaheadContextual(t){let e=this.nextTokenStart();return this.isUnparsedContextual(e,t)}eatContextual(t){return this.isContextual(t)?(this.next(),!0):!1}expectContextual(t,e){if(!this.eatContextual(t)){if(e!=null)throw this.raise(e,this.state.startLoc);this.unexpected(null,t)}}canInsertSemicolon(){return this.match(139)||this.match(8)||this.hasPrecedingLineBreak()}hasPrecedingLineBreak(){return ts.test(this.input.slice(this.state.lastTokEndLoc.index,this.state.start))}hasFollowingLineBreak(){return Bt.lastIndex=this.state.end,Bt.test(this.input)}isLineTerminator(){return this.eat(13)||this.canInsertSemicolon()}semicolon(t=!0){(t?this.isLineTerminator():this.eat(13))||this.raise(p.MissingSemicolon,this.state.lastTokEndLoc)}expect(t,e){this.eat(t)||this.unexpected(e,t)}tryParse(t,e=this.state.clone()){let s={node:null};try{let i=t((r=null)=>{throw s.node=r,s});if(this.state.errors.length>e.errors.length){let r=this.state;return this.state=e,this.state.tokensLength=r.tokensLength,{node:i,error:r.errors[e.errors.length],thrown:!1,aborted:!1,failState:r}}return{node:i,error:null,thrown:!1,aborted:!1,failState:null}}catch(i){let r=this.state;if(this.state=e,i instanceof SyntaxError)return{node:null,error:i,thrown:!0,aborted:!1,failState:r};if(i===s)return{node:s.node,error:null,thrown:!1,aborted:!0,failState:r};throw i}}checkExpressionErrors(t,e){if(!t)return!1;let{shorthandAssignLoc:s,doubleProtoLoc:i,privateKeyLoc:r,optionalParametersLoc:n}=t,o=!!s||!!i||!!n||!!r;if(!e)return o;s!=null&&this.raise(p.InvalidCoverInitializedName,s),i!=null&&this.raise(p.DuplicateProto,i),r!=null&&this.raise(p.UnexpectedPrivateField,r),n!=null&&this.unexpected(n)}isLiteralPropertyName(){return Wt(this.state.type)}isPrivateName(t){return t.type==="PrivateName"}getPrivateNameSV(t){return t.id.name}hasPropertyAsPrivateName(t){return(t.type==="MemberExpression"||t.type==="OptionalMemberExpression")&&this.isPrivateName(t.property)}isObjectProperty(t){return t.type==="ObjectProperty"}isObjectMethod(t){return t.type==="ObjectMethod"}initializeScopes(t=this.options.sourceType==="module"){let e=this.state.labels;this.state.labels=[];let s=this.exportedIdentifiers;this.exportedIdentifiers=new Set;let i=this.inModule;this.inModule=t;let r=this.scope,n=this.getScopeHandler();this.scope=new n(this,t);let o=this.prodParam;this.prodParam=new rt;let h=this.classScope;this.classScope=new st(this);let c=this.expressionScope;return this.expressionScope=new it(this),()=>{this.state.labels=e,this.exportedIdentifiers=s,this.inModule=i,this.scope=r,this.prodParam=o,this.classScope=h,this.expressionScope=c}}enterInitialScopes(){let t=0;this.inModule&&(t|=2),this.scope.enter(1),this.prodParam.enter(t)}checkDestructuringPrivate(t){let{privateKeyLoc:e}=t;e!==null&&this.expectPlugin("destructuringPrivate",e)}},Z=class{constructor(){this.shorthandAssignLoc=null,this.doubleProtoLoc=null,this.privateKeyLoc=null,this.optionalParametersLoc=null}},se=class{constructor(t,e,s){this.type="",this.start=e,this.end=0,this.loc=new ee(s),t!=null&&t.options.ranges&&(this.range=[e,0]),t!=null&&t.filename&&(this.loc.filename=t.filename)}},bt=se.prototype;bt.__clone=function(){let a=new se(void 0,this.start,this.loc.start),t=Object.keys(this);for(let e=0,s=t.length;e`Cannot overwrite reserved type ${a}.`,DeclareClassElement:"The `declare` modifier can only appear on class fields.",DeclareClassFieldInitializer:"Initializers are not allowed in fields with the `declare` modifier.",DuplicateDeclareModuleExports:"Duplicate `declare module.exports` statement.",EnumBooleanMemberNotInitialized:({memberName:a,enumName:t})=>`Boolean enum members need to be initialized. Use either \`${a} = true,\` or \`${a} = false,\` in enum \`${t}\`.`,EnumDuplicateMemberName:({memberName:a,enumName:t})=>`Enum member names need to be unique, but the name \`${a}\` has already been used before in enum \`${t}\`.`,EnumInconsistentMemberValues:({enumName:a})=>`Enum \`${a}\` has inconsistent member initializers. Either use no initializers, or consistently use literals (either booleans, numbers, or strings) for all member initializers.`,EnumInvalidExplicitType:({invalidEnumType:a,enumName:t})=>`Enum type \`${a}\` is not valid. Use one of \`boolean\`, \`number\`, \`string\`, or \`symbol\` in enum \`${t}\`.`,EnumInvalidExplicitTypeUnknownSupplied:({enumName:a})=>`Supplied enum type is not valid. Use one of \`boolean\`, \`number\`, \`string\`, or \`symbol\` in enum \`${a}\`.`,EnumInvalidMemberInitializerPrimaryType:({enumName:a,memberName:t,explicitType:e})=>`Enum \`${a}\` has type \`${e}\`, so the initializer of \`${t}\` needs to be a ${e} literal.`,EnumInvalidMemberInitializerSymbolType:({enumName:a,memberName:t})=>`Symbol enum members cannot be initialized. Use \`${t},\` in enum \`${a}\`.`,EnumInvalidMemberInitializerUnknownType:({enumName:a,memberName:t})=>`The enum member initializer for \`${t}\` needs to be a literal (either a boolean, number, or string) in enum \`${a}\`.`,EnumInvalidMemberName:({enumName:a,memberName:t,suggestion:e})=>`Enum member names cannot start with lowercase 'a' through 'z'. Instead of using \`${t}\`, consider using \`${e}\`, in enum \`${a}\`.`,EnumNumberMemberNotInitialized:({enumName:a,memberName:t})=>`Number enum members need to be initialized, e.g. \`${t} = 1\` in enum \`${a}\`.`,EnumStringMemberInconsistentlyInitialized:({enumName:a})=>`String enum members need to consistently either all use initializers, or use no initializers, in enum \`${a}\`.`,GetterMayNotHaveThisParam:"A getter cannot have a `this` parameter.",ImportReflectionHasImportType:"An `import module` declaration can not use `type` or `typeof` keyword.",ImportTypeShorthandOnlyInPureImport:"The `type` and `typeof` keywords on named imports can only be used on regular `import` statements. It cannot be used with `import type` or `import typeof` statements.",InexactInsideExact:"Explicit inexact syntax cannot appear inside an explicit exact object type.",InexactInsideNonObject:"Explicit inexact syntax cannot appear in class or interface definitions.",InexactVariance:"Explicit inexact syntax cannot have variance.",InvalidNonTypeImportInDeclareModule:"Imports within a `declare module` body must always be `import type` or `import typeof`.",MissingTypeParamDefault:"Type parameter declaration needs a default, since a preceding type parameter declaration has a default.",NestedDeclareModule:"`declare module` cannot be used inside another `declare module`.",NestedFlowComment:"Cannot have a flow comment inside another flow comment.",PatternIsOptional:Object.assign({message:"A binding pattern parameter cannot be optional in an implementation signature."},{reasonCode:"OptionalBindingPattern"}),SetterMayNotHaveThisParam:"A setter cannot have a `this` parameter.",SpreadVariance:"Spread properties cannot have variance.",ThisParamAnnotationRequired:"A type annotation is required for the `this` parameter.",ThisParamBannedInConstructor:"Constructors cannot have a `this` parameter; constructors don't bind `this` like other functions.",ThisParamMayNotBeOptional:"The `this` parameter cannot be optional.",ThisParamMustBeFirst:"The `this` parameter must be the first function parameter.",ThisParamNoDefault:"The `this` parameter may not have a default value.",TypeBeforeInitializer:"Type annotations must come before default assignments, e.g. instead of `age = 25: number` use `age: number = 25`.",TypeCastInPattern:"The type cast expression is expected to be wrapped with parenthesis.",UnexpectedExplicitInexactInObject:"Explicit inexact syntax must appear at the end of an inexact object.",UnexpectedReservedType:({reservedType:a})=>`Unexpected reserved type ${a}.`,UnexpectedReservedUnderscore:"`_` is only allowed as a type argument to call or new.",UnexpectedSpaceBetweenModuloChecks:"Spaces between `%` and `checks` are not allowed here.",UnexpectedSpreadType:"Spread operator cannot appear in class or interface definitions.",UnexpectedSubtractionOperand:'Unexpected token, expected "number" or "bigint".',UnexpectedTokenAfterTypeParameter:"Expected an arrow function after this type parameter declaration.",UnexpectedTypeParameterBeforeAsyncArrowFunction:"Type parameters must come after the async keyword, e.g. instead of ` async () => {}`, use `async () => {}`.",UnsupportedDeclareExportKind:({unsupportedExportKind:a,suggestion:t})=>`\`declare export ${a}\` is not supported. Use \`${t}\` instead.`,UnsupportedStatementInDeclareModule:"Only declares and type imports are allowed inside declare module.",UnterminatedFlowComment:"Unterminated flow-comment."});function _i(a){return a.type==="DeclareExportAllDeclaration"||a.type==="DeclareExportDeclaration"&&(!a.declaration||a.declaration.type!=="TypeAlias"&&a.declaration.type!=="InterfaceDeclaration")}function _t(a){return a.importKind==="type"||a.importKind==="typeof"}var ji={const:"declare export var",let:"declare export var",type:"export type",interface:"export interface"};function $i(a,t){let e=[],s=[];for(let i=0;iclass extends a{constructor(...e){super(...e),this.flowPragma=void 0}getScopeHandler(){return Xe}shouldParseTypes(){return this.getPluginOption("flow","all")||this.flowPragma==="flow"}shouldParseEnums(){return!!this.getPluginOption("flow","enums")}finishToken(e,s){e!==133&&e!==13&&e!==28&&this.flowPragma===void 0&&(this.flowPragma=null),super.finishToken(e,s)}addComment(e){if(this.flowPragma===void 0){let s=Vi.exec(e.value);if(s)if(s[1]==="flow")this.flowPragma="flow";else if(s[1]==="noflow")this.flowPragma="noflow";else throw new Error("Unexpected flow pragma")}super.addComment(e)}flowParseTypeInitialiser(e){let s=this.state.inType;this.state.inType=!0,this.expect(e||14);let i=this.flowParseType();return this.state.inType=s,i}flowParsePredicate(){let e=this.startNode(),s=this.state.startLoc;return this.next(),this.expectContextual(110),this.state.lastTokStartLoc.index>s.index+1&&this.raise(g.UnexpectedSpaceBetweenModuloChecks,s),this.eat(10)?(e.value=super.parseExpression(),this.expect(11),this.finishNode(e,"DeclaredPredicate")):this.finishNode(e,"InferredPredicate")}flowParseTypeAndPredicateInitialiser(){let e=this.state.inType;this.state.inType=!0,this.expect(14);let s=null,i=null;return this.match(54)?(this.state.inType=e,i=this.flowParsePredicate()):(s=this.flowParseType(),this.state.inType=e,this.match(54)&&(i=this.flowParsePredicate())),[s,i]}flowParseDeclareClass(e){return this.next(),this.flowParseInterfaceish(e,!0),this.finishNode(e,"DeclareClass")}flowParseDeclareFunction(e){this.next();let s=e.id=this.parseIdentifier(),i=this.startNode(),r=this.startNode();this.match(47)?i.typeParameters=this.flowParseTypeParameterDeclaration():i.typeParameters=null,this.expect(10);let n=this.flowParseFunctionTypeParams();return i.params=n.params,i.rest=n.rest,i.this=n._this,this.expect(11),[i.returnType,e.predicate]=this.flowParseTypeAndPredicateInitialiser(),r.typeAnnotation=this.finishNode(i,"FunctionTypeAnnotation"),s.typeAnnotation=this.finishNode(r,"TypeAnnotation"),this.resetEndLocation(s),this.semicolon(),this.scope.declareName(e.id.name,2048,e.id.loc.start),this.finishNode(e,"DeclareFunction")}flowParseDeclare(e,s){if(this.match(80))return this.flowParseDeclareClass(e);if(this.match(68))return this.flowParseDeclareFunction(e);if(this.match(74))return this.flowParseDeclareVariable(e);if(this.eatContextual(127))return this.match(16)?this.flowParseDeclareModuleExports(e):(s&&this.raise(g.NestedDeclareModule,this.state.lastTokStartLoc),this.flowParseDeclareModule(e));if(this.isContextual(130))return this.flowParseDeclareTypeAlias(e);if(this.isContextual(131))return this.flowParseDeclareOpaqueType(e);if(this.isContextual(129))return this.flowParseDeclareInterface(e);if(this.match(82))return this.flowParseDeclareExportDeclaration(e,s);this.unexpected()}flowParseDeclareVariable(e){return this.next(),e.id=this.flowParseTypeAnnotatableIdentifier(!0),this.scope.declareName(e.id.name,5,e.id.loc.start),this.semicolon(),this.finishNode(e,"DeclareVariable")}flowParseDeclareModule(e){this.scope.enter(0),this.match(133)?e.id=super.parseExprAtom():e.id=this.parseIdentifier();let s=e.body=this.startNode(),i=s.body=[];for(this.expect(5);!this.match(8);){let o=this.startNode();this.match(83)?(this.next(),!this.isContextual(130)&&!this.match(87)&&this.raise(g.InvalidNonTypeImportInDeclareModule,this.state.lastTokStartLoc),super.parseImport(o)):(this.expectContextual(125,g.UnsupportedStatementInDeclareModule),o=this.flowParseDeclare(o,!0)),i.push(o)}this.scope.exit(),this.expect(8),this.finishNode(s,"BlockStatement");let r=null,n=!1;return i.forEach(o=>{_i(o)?(r==="CommonJS"&&this.raise(g.AmbiguousDeclareModuleKind,o),r="ES"):o.type==="DeclareModuleExports"&&(n&&this.raise(g.DuplicateDeclareModuleExports,o),r==="ES"&&this.raise(g.AmbiguousDeclareModuleKind,o),r="CommonJS",n=!0)}),e.kind=r||"CommonJS",this.finishNode(e,"DeclareModule")}flowParseDeclareExportDeclaration(e,s){if(this.expect(82),this.eat(65))return this.match(68)||this.match(80)?e.declaration=this.flowParseDeclare(this.startNode()):(e.declaration=this.flowParseType(),this.semicolon()),e.default=!0,this.finishNode(e,"DeclareExportDeclaration");if(this.match(75)||this.isLet()||(this.isContextual(130)||this.isContextual(129))&&!s){let i=this.state.value;throw this.raise(g.UnsupportedDeclareExportKind,this.state.startLoc,{unsupportedExportKind:i,suggestion:ji[i]})}if(this.match(74)||this.match(68)||this.match(80)||this.isContextual(131))return e.declaration=this.flowParseDeclare(this.startNode()),e.default=!1,this.finishNode(e,"DeclareExportDeclaration");if(this.match(55)||this.match(5)||this.isContextual(129)||this.isContextual(130)||this.isContextual(131))return e=this.parseExport(e,null),e.type==="ExportNamedDeclaration"&&(e.type="ExportDeclaration",e.default=!1,delete e.exportKind),e.type="Declare"+e.type,e;this.unexpected()}flowParseDeclareModuleExports(e){return this.next(),this.expectContextual(111),e.typeAnnotation=this.flowParseTypeAnnotation(),this.semicolon(),this.finishNode(e,"DeclareModuleExports")}flowParseDeclareTypeAlias(e){this.next();let s=this.flowParseTypeAlias(e);return s.type="DeclareTypeAlias",s}flowParseDeclareOpaqueType(e){this.next();let s=this.flowParseOpaqueType(e,!0);return s.type="DeclareOpaqueType",s}flowParseDeclareInterface(e){return this.next(),this.flowParseInterfaceish(e,!1),this.finishNode(e,"DeclareInterface")}flowParseInterfaceish(e,s){if(e.id=this.flowParseRestrictedIdentifier(!s,!0),this.scope.declareName(e.id.name,s?17:8201,e.id.loc.start),this.match(47)?e.typeParameters=this.flowParseTypeParameterDeclaration():e.typeParameters=null,e.extends=[],this.eat(81))do e.extends.push(this.flowParseInterfaceExtends());while(!s&&this.eat(12));if(s){if(e.implements=[],e.mixins=[],this.eatContextual(117))do e.mixins.push(this.flowParseInterfaceExtends());while(this.eat(12));if(this.eatContextual(113))do e.implements.push(this.flowParseInterfaceExtends());while(this.eat(12))}e.body=this.flowParseObjectType({allowStatic:s,allowExact:!1,allowSpread:!1,allowProto:s,allowInexact:!1})}flowParseInterfaceExtends(){let e=this.startNode();return e.id=this.flowParseQualifiedTypeIdentifier(),this.match(47)?e.typeParameters=this.flowParseTypeParameterInstantiation():e.typeParameters=null,this.finishNode(e,"InterfaceExtends")}flowParseInterface(e){return this.flowParseInterfaceish(e,!1),this.finishNode(e,"InterfaceDeclaration")}checkNotUnderscore(e){e==="_"&&this.raise(g.UnexpectedReservedUnderscore,this.state.startLoc)}checkReservedType(e,s,i){Ui.has(e)&&this.raise(i?g.AssignReservedType:g.UnexpectedReservedType,s,{reservedType:e})}flowParseRestrictedIdentifier(e,s){return this.checkReservedType(this.state.value,this.state.startLoc,s),this.parseIdentifier(e)}flowParseTypeAlias(e){return e.id=this.flowParseRestrictedIdentifier(!1,!0),this.scope.declareName(e.id.name,8201,e.id.loc.start),this.match(47)?e.typeParameters=this.flowParseTypeParameterDeclaration():e.typeParameters=null,e.right=this.flowParseTypeInitialiser(29),this.semicolon(),this.finishNode(e,"TypeAlias")}flowParseOpaqueType(e,s){return this.expectContextual(130),e.id=this.flowParseRestrictedIdentifier(!0,!0),this.scope.declareName(e.id.name,8201,e.id.loc.start),this.match(47)?e.typeParameters=this.flowParseTypeParameterDeclaration():e.typeParameters=null,e.supertype=null,this.match(14)&&(e.supertype=this.flowParseTypeInitialiser(14)),e.impltype=null,s||(e.impltype=this.flowParseTypeInitialiser(29)),this.semicolon(),this.finishNode(e,"OpaqueType")}flowParseTypeParameter(e=!1){let s=this.state.startLoc,i=this.startNode(),r=this.flowParseVariance(),n=this.flowParseTypeAnnotatableIdentifier();return i.name=n.name,i.variance=r,i.bound=n.typeAnnotation,this.match(29)?(this.eat(29),i.default=this.flowParseType()):e&&this.raise(g.MissingTypeParamDefault,s),this.finishNode(i,"TypeParameter")}flowParseTypeParameterDeclaration(){let e=this.state.inType,s=this.startNode();s.params=[],this.state.inType=!0,this.match(47)||this.match(142)?this.next():this.unexpected();let i=!1;do{let r=this.flowParseTypeParameter(i);s.params.push(r),r.default&&(i=!0),this.match(48)||this.expect(12)}while(!this.match(48));return this.expect(48),this.state.inType=e,this.finishNode(s,"TypeParameterDeclaration")}flowParseTypeParameterInstantiation(){let e=this.startNode(),s=this.state.inType;e.params=[],this.state.inType=!0,this.expect(47);let i=this.state.noAnonFunctionType;for(this.state.noAnonFunctionType=!1;!this.match(48);)e.params.push(this.flowParseType()),this.match(48)||this.expect(12);return this.state.noAnonFunctionType=i,this.expect(48),this.state.inType=s,this.finishNode(e,"TypeParameterInstantiation")}flowParseTypeParameterInstantiationCallOrNew(){let e=this.startNode(),s=this.state.inType;for(e.params=[],this.state.inType=!0,this.expect(47);!this.match(48);)e.params.push(this.flowParseTypeOrImplicitInstantiation()),this.match(48)||this.expect(12);return this.expect(48),this.state.inType=s,this.finishNode(e,"TypeParameterInstantiation")}flowParseInterfaceType(){let e=this.startNode();if(this.expectContextual(129),e.extends=[],this.eat(81))do e.extends.push(this.flowParseInterfaceExtends());while(this.eat(12));return e.body=this.flowParseObjectType({allowStatic:!1,allowExact:!1,allowSpread:!1,allowProto:!1,allowInexact:!1}),this.finishNode(e,"InterfaceTypeAnnotation")}flowParseObjectPropertyKey(){return this.match(134)||this.match(133)?super.parseExprAtom():this.parseIdentifier(!0)}flowParseObjectTypeIndexer(e,s,i){return e.static=s,this.lookahead().type===14?(e.id=this.flowParseObjectPropertyKey(),e.key=this.flowParseTypeInitialiser()):(e.id=null,e.key=this.flowParseType()),this.expect(3),e.value=this.flowParseTypeInitialiser(),e.variance=i,this.finishNode(e,"ObjectTypeIndexer")}flowParseObjectTypeInternalSlot(e,s){return e.static=s,e.id=this.flowParseObjectPropertyKey(),this.expect(3),this.expect(3),this.match(47)||this.match(10)?(e.method=!0,e.optional=!1,e.value=this.flowParseObjectTypeMethodish(this.startNodeAt(e.loc.start))):(e.method=!1,this.eat(17)&&(e.optional=!0),e.value=this.flowParseTypeInitialiser()),this.finishNode(e,"ObjectTypeInternalSlot")}flowParseObjectTypeMethodish(e){for(e.params=[],e.rest=null,e.typeParameters=null,e.this=null,this.match(47)&&(e.typeParameters=this.flowParseTypeParameterDeclaration()),this.expect(10),this.match(78)&&(e.this=this.flowParseFunctionTypeParam(!0),e.this.name=null,this.match(11)||this.expect(12));!this.match(11)&&!this.match(21);)e.params.push(this.flowParseFunctionTypeParam(!1)),this.match(11)||this.expect(12);return this.eat(21)&&(e.rest=this.flowParseFunctionTypeParam(!1)),this.expect(11),e.returnType=this.flowParseTypeInitialiser(),this.finishNode(e,"FunctionTypeAnnotation")}flowParseObjectTypeCallProperty(e,s){let i=this.startNode();return e.static=s,e.value=this.flowParseObjectTypeMethodish(i),this.finishNode(e,"ObjectTypeCallProperty")}flowParseObjectType({allowStatic:e,allowExact:s,allowSpread:i,allowProto:r,allowInexact:n}){let o=this.state.inType;this.state.inType=!0;let h=this.startNode();h.callProperties=[],h.properties=[],h.indexers=[],h.internalSlots=[];let c,l,u=!1;for(s&&this.match(6)?(this.expect(6),c=9,l=!0):(this.expect(5),c=8,l=!1),h.exact=l;!this.match(c);){let d=!1,y=null,E=null,L=this.startNode();if(r&&this.isContextual(118)){let I=this.lookahead();I.type!==14&&I.type!==17&&(this.next(),y=this.state.startLoc,e=!1)}if(e&&this.isContextual(106)){let I=this.lookahead();I.type!==14&&I.type!==17&&(this.next(),d=!0)}let S=this.flowParseVariance();if(this.eat(0))y!=null&&this.unexpected(y),this.eat(0)?(S&&this.unexpected(S.loc.start),h.internalSlots.push(this.flowParseObjectTypeInternalSlot(L,d))):h.indexers.push(this.flowParseObjectTypeIndexer(L,d,S));else if(this.match(10)||this.match(47))y!=null&&this.unexpected(y),S&&this.unexpected(S.loc.start),h.callProperties.push(this.flowParseObjectTypeCallProperty(L,d));else{let I="init";if(this.isContextual(99)||this.isContextual(104)){let ne=this.lookahead();Wt(ne.type)&&(I=this.state.value,this.next())}let Ae=this.flowParseObjectTypeProperty(L,d,y,S,I,i,n??!l);Ae===null?(u=!0,E=this.state.lastTokStartLoc):h.properties.push(Ae)}this.flowObjectTypeSemicolon(),E&&!this.match(8)&&!this.match(9)&&this.raise(g.UnexpectedExplicitInexactInObject,E)}this.expect(c),i&&(h.inexact=u);let f=this.finishNode(h,"ObjectTypeAnnotation");return this.state.inType=o,f}flowParseObjectTypeProperty(e,s,i,r,n,o,h){if(this.eat(21))return this.match(12)||this.match(13)||this.match(8)||this.match(9)?(o?h||this.raise(g.InexactInsideExact,this.state.lastTokStartLoc):this.raise(g.InexactInsideNonObject,this.state.lastTokStartLoc),r&&this.raise(g.InexactVariance,r),null):(o||this.raise(g.UnexpectedSpreadType,this.state.lastTokStartLoc),i!=null&&this.unexpected(i),r&&this.raise(g.SpreadVariance,r),e.argument=this.flowParseType(),this.finishNode(e,"ObjectTypeSpreadProperty"));{e.key=this.flowParseObjectPropertyKey(),e.static=s,e.proto=i!=null,e.kind=n;let c=!1;return this.match(47)||this.match(10)?(e.method=!0,i!=null&&this.unexpected(i),r&&this.unexpected(r.loc.start),e.value=this.flowParseObjectTypeMethodish(this.startNodeAt(e.loc.start)),(n==="get"||n==="set")&&this.flowCheckGetterSetterParams(e),!o&&e.key.name==="constructor"&&e.value.this&&this.raise(g.ThisParamBannedInConstructor,e.value.this)):(n!=="init"&&this.unexpected(),e.method=!1,this.eat(17)&&(c=!0),e.value=this.flowParseTypeInitialiser(),e.variance=r),e.optional=c,this.finishNode(e,"ObjectTypeProperty")}}flowCheckGetterSetterParams(e){let s=e.kind==="get"?0:1,i=e.value.params.length+(e.value.rest?1:0);e.value.this&&this.raise(e.kind==="get"?g.GetterMayNotHaveThisParam:g.SetterMayNotHaveThisParam,e.value.this),i!==s&&this.raise(e.kind==="get"?p.BadGetterArity:p.BadSetterArity,e),e.kind==="set"&&e.value.rest&&this.raise(p.BadSetterRestParameter,e)}flowObjectTypeSemicolon(){!this.eat(13)&&!this.eat(12)&&!this.match(8)&&!this.match(9)&&this.unexpected()}flowParseQualifiedTypeIdentifier(e,s){var i;(i=e)!=null||(e=this.state.startLoc);let r=s||this.flowParseRestrictedIdentifier(!0);for(;this.eat(16);){let n=this.startNodeAt(e);n.qualification=r,n.id=this.flowParseRestrictedIdentifier(!0),r=this.finishNode(n,"QualifiedTypeIdentifier")}return r}flowParseGenericType(e,s){let i=this.startNodeAt(e);return i.typeParameters=null,i.id=this.flowParseQualifiedTypeIdentifier(e,s),this.match(47)&&(i.typeParameters=this.flowParseTypeParameterInstantiation()),this.finishNode(i,"GenericTypeAnnotation")}flowParseTypeofType(){let e=this.startNode();return this.expect(87),e.argument=this.flowParsePrimaryType(),this.finishNode(e,"TypeofTypeAnnotation")}flowParseTupleType(){let e=this.startNode();for(e.types=[],this.expect(0);this.state.possuper.parseFunctionBody(e,!0,i));return}super.parseFunctionBody(e,!1,i)}parseFunctionBodyAndFinish(e,s,i=!1){if(this.match(14)){let r=this.startNode();[r.typeAnnotation,e.predicate]=this.flowParseTypeAndPredicateInitialiser(),e.returnType=r.typeAnnotation?this.finishNode(r,"TypeAnnotation"):null}return super.parseFunctionBodyAndFinish(e,s,i)}parseStatementLike(e){if(this.state.strict&&this.isContextual(129)){let i=this.lookahead();if(M(i.type)){let r=this.startNode();return this.next(),this.flowParseInterface(r)}}else if(this.shouldParseEnums()&&this.isContextual(126)){let i=this.startNode();return this.next(),this.flowParseEnumDeclaration(i)}let s=super.parseStatementLike(e);return this.flowPragma===void 0&&!this.isValidDirective(s)&&(this.flowPragma=null),s}parseExpressionStatement(e,s,i){if(s.type==="Identifier"){if(s.name==="declare"){if(this.match(80)||w(this.state.type)||this.match(68)||this.match(74)||this.match(82))return this.flowParseDeclare(e)}else if(w(this.state.type)){if(s.name==="interface")return this.flowParseInterface(e);if(s.name==="type")return this.flowParseTypeAlias(e);if(s.name==="opaque")return this.flowParseOpaqueType(e,!1)}}return super.parseExpressionStatement(e,s,i)}shouldParseExportDeclaration(){let{type:e}=this.state;return Ft(e)||this.shouldParseEnums()&&e===126?!this.state.containsEsc:super.shouldParseExportDeclaration()}isExportDefaultSpecifier(){let{type:e}=this.state;return Ft(e)||this.shouldParseEnums()&&e===126?this.state.containsEsc:super.isExportDefaultSpecifier()}parseExportDefaultExpression(){if(this.shouldParseEnums()&&this.isContextual(126)){let e=this.startNode();return this.next(),this.flowParseEnumDeclaration(e)}return super.parseExportDefaultExpression()}parseConditional(e,s,i){if(!this.match(17))return e;if(this.state.maybeInArrowParameters){let f=this.lookaheadCharCode();if(f===44||f===61||f===58||f===41)return this.setOptionalParametersError(i),e}this.expect(17);let r=this.state.clone(),n=this.state.noArrowAt,o=this.startNodeAt(s),{consequent:h,failed:c}=this.tryParseConditionalConsequent(),[l,u]=this.getArrowLikeExpressions(h);if(c||u.length>0){let f=[...n];if(u.length>0){this.state=r,this.state.noArrowAt=f;for(let d=0;d1&&this.raise(g.AmbiguousConditionalArrow,r.startLoc),c&&l.length===1&&(this.state=r,f.push(l[0].start),this.state.noArrowAt=f,{consequent:h,failed:c}=this.tryParseConditionalConsequent())}return this.getArrowLikeExpressions(h,!0),this.state.noArrowAt=n,this.expect(14),o.test=e,o.consequent=h,o.alternate=this.forwardNoArrowParamsConversionAt(o,()=>this.parseMaybeAssign(void 0,void 0)),this.finishNode(o,"ConditionalExpression")}tryParseConditionalConsequent(){this.state.noArrowParamsConversionAt.push(this.state.start);let e=this.parseMaybeAssignAllowIn(),s=!this.match(14);return this.state.noArrowParamsConversionAt.pop(),{consequent:e,failed:s}}getArrowLikeExpressions(e,s){let i=[e],r=[];for(;i.length!==0;){let n=i.pop();n.type==="ArrowFunctionExpression"&&n.body.type!=="BlockStatement"?(n.typeParameters||!n.returnType?this.finishArrowValidation(n):r.push(n),i.push(n.body)):n.type==="ConditionalExpression"&&(i.push(n.consequent),i.push(n.alternate))}return s?(r.forEach(n=>this.finishArrowValidation(n)),[r,[]]):$i(r,n=>n.params.every(o=>this.isAssignable(o,!0)))}finishArrowValidation(e){var s;this.toAssignableList(e.params,(s=e.extra)==null?void 0:s.trailingCommaLoc,!1),this.scope.enter(6),super.checkParams(e,!1,!0),this.scope.exit()}forwardNoArrowParamsConversionAt(e,s){let i;return this.state.noArrowParamsConversionAt.includes(e.start)?(this.state.noArrowParamsConversionAt.push(this.state.start),i=s(),this.state.noArrowParamsConversionAt.pop()):i=s(),i}parseParenItem(e,s){let i=super.parseParenItem(e,s);if(this.eat(17)&&(i.optional=!0,this.resetEndLocation(e)),this.match(14)){let r=this.startNodeAt(s);return r.expression=i,r.typeAnnotation=this.flowParseTypeAnnotation(),this.finishNode(r,"TypeCastExpression")}return i}assertModuleNodeAllowed(e){e.type==="ImportDeclaration"&&(e.importKind==="type"||e.importKind==="typeof")||e.type==="ExportNamedDeclaration"&&e.exportKind==="type"||e.type==="ExportAllDeclaration"&&e.exportKind==="type"||super.assertModuleNodeAllowed(e)}parseExportDeclaration(e){if(this.isContextual(130)){e.exportKind="type";let s=this.startNode();return this.next(),this.match(5)?(e.specifiers=this.parseExportSpecifiers(!0),super.parseExportFrom(e),null):this.flowParseTypeAlias(s)}else if(this.isContextual(131)){e.exportKind="type";let s=this.startNode();return this.next(),this.flowParseOpaqueType(s,!1)}else if(this.isContextual(129)){e.exportKind="type";let s=this.startNode();return this.next(),this.flowParseInterface(s)}else if(this.shouldParseEnums()&&this.isContextual(126)){e.exportKind="value";let s=this.startNode();return this.next(),this.flowParseEnumDeclaration(s)}else return super.parseExportDeclaration(e)}eatExportStar(e){return super.eatExportStar(e)?!0:this.isContextual(130)&&this.lookahead().type===55?(e.exportKind="type",this.next(),this.next(),!0):!1}maybeParseExportNamespaceSpecifier(e){let{startLoc:s}=this.state,i=super.maybeParseExportNamespaceSpecifier(e);return i&&e.exportKind==="type"&&this.unexpected(s),i}parseClassId(e,s,i){super.parseClassId(e,s,i),this.match(47)&&(e.typeParameters=this.flowParseTypeParameterDeclaration())}parseClassMember(e,s,i){let{startLoc:r}=this.state;if(this.isContextual(125)){if(super.parseClassMemberFromModifier(e,s))return;s.declare=!0}super.parseClassMember(e,s,i),s.declare&&(s.type!=="ClassProperty"&&s.type!=="ClassPrivateProperty"&&s.type!=="PropertyDefinition"?this.raise(g.DeclareClassElement,r):s.value&&this.raise(g.DeclareClassFieldInitializer,s.value))}isIterator(e){return e==="iterator"||e==="asyncIterator"}readIterator(){let e=super.readWord1(),s="@@"+e;(!this.isIterator(e)||!this.state.inType)&&this.raise(p.InvalidIdentifier,this.state.curPosition(),{identifierName:s}),this.finishToken(132,s)}getTokenFromCode(e){let s=this.input.charCodeAt(this.state.pos+1);e===123&&s===124?this.finishOp(6,2):this.state.inType&&(e===62||e===60)?this.finishOp(e===62?48:47,1):this.state.inType&&e===63?s===46?this.finishOp(18,2):this.finishOp(17,1):wi(e,s,this.input.charCodeAt(this.state.pos+2))?(this.state.pos+=2,this.readIterator()):super.getTokenFromCode(e)}isAssignable(e,s){return e.type==="TypeCastExpression"?this.isAssignable(e.expression,s):super.isAssignable(e,s)}toAssignable(e,s=!1){!s&&e.type==="AssignmentExpression"&&e.left.type==="TypeCastExpression"&&(e.left=this.typeCastToParameter(e.left)),super.toAssignable(e,s)}toAssignableList(e,s,i){for(let r=0;r1||!s)&&this.raise(g.TypeCastInPattern,n.typeAnnotation)}return e}parseArrayLike(e,s,i,r){let n=super.parseArrayLike(e,s,i,r);return s&&!this.state.maybeInArrowParameters&&this.toReferencedList(n.elements),n}isValidLVal(e,s,i){return e==="TypeCastExpression"||super.isValidLVal(e,s,i)}parseClassProperty(e){return this.match(14)&&(e.typeAnnotation=this.flowParseTypeAnnotation()),super.parseClassProperty(e)}parseClassPrivateProperty(e){return this.match(14)&&(e.typeAnnotation=this.flowParseTypeAnnotation()),super.parseClassPrivateProperty(e)}isClassMethod(){return this.match(47)||super.isClassMethod()}isClassProperty(){return this.match(14)||super.isClassProperty()}isNonstaticConstructor(e){return!this.match(14)&&super.isNonstaticConstructor(e)}pushClassMethod(e,s,i,r,n,o){if(s.variance&&this.unexpected(s.variance.loc.start),delete s.variance,this.match(47)&&(s.typeParameters=this.flowParseTypeParameterDeclaration()),super.pushClassMethod(e,s,i,r,n,o),s.params&&n){let h=s.params;h.length>0&&this.isThisParam(h[0])&&this.raise(g.ThisParamBannedInConstructor,s)}else if(s.type==="MethodDefinition"&&n&&s.value.params){let h=s.value.params;h.length>0&&this.isThisParam(h[0])&&this.raise(g.ThisParamBannedInConstructor,s)}}pushClassPrivateMethod(e,s,i,r){s.variance&&this.unexpected(s.variance.loc.start),delete s.variance,this.match(47)&&(s.typeParameters=this.flowParseTypeParameterDeclaration()),super.pushClassPrivateMethod(e,s,i,r)}parseClassSuper(e){if(super.parseClassSuper(e),e.superClass&&this.match(47)&&(e.superTypeParameters=this.flowParseTypeParameterInstantiation()),this.isContextual(113)){this.next();let s=e.implements=[];do{let i=this.startNode();i.id=this.flowParseRestrictedIdentifier(!0),this.match(47)?i.typeParameters=this.flowParseTypeParameterInstantiation():i.typeParameters=null,s.push(this.finishNode(i,"ClassImplements"))}while(this.eat(12))}}checkGetterSetterParams(e){super.checkGetterSetterParams(e);let s=this.getObjectOrClassMethodParams(e);if(s.length>0){let i=s[0];this.isThisParam(i)&&e.kind==="get"?this.raise(g.GetterMayNotHaveThisParam,i):this.isThisParam(i)&&this.raise(g.SetterMayNotHaveThisParam,i)}}parsePropertyNamePrefixOperator(e){e.variance=this.flowParseVariance()}parseObjPropValue(e,s,i,r,n,o,h){e.variance&&this.unexpected(e.variance.loc.start),delete e.variance;let c;this.match(47)&&!o&&(c=this.flowParseTypeParameterDeclaration(),this.match(10)||this.unexpected());let l=super.parseObjPropValue(e,s,i,r,n,o,h);return c&&((l.value||l).typeParameters=c),l}parseAssignableListItemTypes(e){return this.eat(17)&&(e.type!=="Identifier"&&this.raise(g.PatternIsOptional,e),this.isThisParam(e)&&this.raise(g.ThisParamMayNotBeOptional,e),e.optional=!0),this.match(14)?e.typeAnnotation=this.flowParseTypeAnnotation():this.isThisParam(e)&&this.raise(g.ThisParamAnnotationRequired,e),this.match(29)&&this.isThisParam(e)&&this.raise(g.ThisParamNoDefault,e),this.resetEndLocation(e),e}parseMaybeDefault(e,s){let i=super.parseMaybeDefault(e,s);return i.type==="AssignmentPattern"&&i.typeAnnotation&&i.right.startsuper.parseMaybeAssign(e,s),r),!n.error)return n.node;let{context:c}=this.state,l=c[c.length-1];(l===C.j_oTag||l===C.j_expr)&&c.pop()}if((i=n)!=null&&i.error||this.match(47)){var o,h;r=r||this.state.clone();let c,l=this.tryParse(f=>{var d;c=this.flowParseTypeParameterDeclaration();let y=this.forwardNoArrowParamsConversionAt(c,()=>{let L=super.parseMaybeAssign(e,s);return this.resetStartLocationFromNode(L,c),L});(d=y.extra)!=null&&d.parenthesized&&f();let E=this.maybeUnwrapTypeCastExpression(y);return E.type!=="ArrowFunctionExpression"&&f(),E.typeParameters=c,this.resetStartLocationFromNode(E,c),y},r),u=null;if(l.node&&this.maybeUnwrapTypeCastExpression(l.node).type==="ArrowFunctionExpression"){if(!l.error&&!l.aborted)return l.node.async&&this.raise(g.UnexpectedTypeParameterBeforeAsyncArrowFunction,c),l.node;u=l.node}if((o=n)!=null&&o.node)return this.state=n.failState,n.node;if(u)return this.state=l.failState,u;throw(h=n)!=null&&h.thrown?n.error:l.thrown?l.error:this.raise(g.UnexpectedTokenAfterTypeParameter,c)}return super.parseMaybeAssign(e,s)}parseArrow(e){if(this.match(14)){let s=this.tryParse(()=>{let i=this.state.noAnonFunctionType;this.state.noAnonFunctionType=!0;let r=this.startNode();return[r.typeAnnotation,e.predicate]=this.flowParseTypeAndPredicateInitialiser(),this.state.noAnonFunctionType=i,this.canInsertSemicolon()&&this.unexpected(),this.match(19)||this.unexpected(),r});if(s.thrown)return null;s.error&&(this.state=s.failState),e.returnType=s.node.typeAnnotation?this.finishNode(s.node,"TypeAnnotation"):null}return super.parseArrow(e)}shouldParseArrow(e){return this.match(14)||super.shouldParseArrow(e)}setArrowFunctionParameters(e,s){this.state.noArrowParamsConversionAt.includes(e.start)?e.params=s:super.setArrowFunctionParameters(e,s)}checkParams(e,s,i,r=!0){if(!(i&&this.state.noArrowParamsConversionAt.includes(e.start))){for(let n=0;n0&&this.raise(g.ThisParamMustBeFirst,e.params[n]);super.checkParams(e,s,i,r)}}parseParenAndDistinguishExpression(e){return super.parseParenAndDistinguishExpression(e&&!this.state.noArrowAt.includes(this.state.start))}parseSubscripts(e,s,i){if(e.type==="Identifier"&&e.name==="async"&&this.state.noArrowAt.includes(s.index)){this.next();let r=this.startNodeAt(s);r.callee=e,r.arguments=super.parseCallExpressionArguments(11,!1),e=this.finishNode(r,"CallExpression")}else if(e.type==="Identifier"&&e.name==="async"&&this.match(47)){let r=this.state.clone(),n=this.tryParse(h=>this.parseAsyncArrowWithTypeParameters(s)||h(),r);if(!n.error&&!n.aborted)return n.node;let o=this.tryParse(()=>super.parseSubscripts(e,s,i),r);if(o.node&&!o.error)return o.node;if(n.node)return this.state=n.failState,n.node;if(o.node)return this.state=o.failState,o.node;throw n.error||o.error}return super.parseSubscripts(e,s,i)}parseSubscript(e,s,i,r){if(this.match(18)&&this.isLookaheadToken_lt()){if(r.optionalChainMember=!0,i)return r.stop=!0,e;this.next();let n=this.startNodeAt(s);return n.callee=e,n.typeArguments=this.flowParseTypeParameterInstantiation(),this.expect(10),n.arguments=this.parseCallExpressionArguments(11,!1),n.optional=!0,this.finishCallExpression(n,!0)}else if(!i&&this.shouldParseTypes()&&this.match(47)){let n=this.startNodeAt(s);n.callee=e;let o=this.tryParse(()=>(n.typeArguments=this.flowParseTypeParameterInstantiationCallOrNew(),this.expect(10),n.arguments=super.parseCallExpressionArguments(11,!1),r.optionalChainMember&&(n.optional=!1),this.finishCallExpression(n,r.optionalChainMember)));if(o.node)return o.error&&(this.state=o.failState),o.node}return super.parseSubscript(e,s,i,r)}parseNewCallee(e){super.parseNewCallee(e);let s=null;this.shouldParseTypes()&&this.match(47)&&(s=this.tryParse(()=>this.flowParseTypeParameterInstantiationCallOrNew()).node),e.typeArguments=s}parseAsyncArrowWithTypeParameters(e){let s=this.startNodeAt(e);if(this.parseFunctionParams(s,!1),!!this.parseArrow(s))return super.parseArrowExpression(s,void 0,!0)}readToken_mult_modulo(e){let s=this.input.charCodeAt(this.state.pos+1);if(e===42&&s===47&&this.state.hasFlowComment){this.state.hasFlowComment=!1,this.state.pos+=2,this.nextToken();return}super.readToken_mult_modulo(e)}readToken_pipe_amp(e){let s=this.input.charCodeAt(this.state.pos+1);if(e===124&&s===125){this.finishOp(9,2);return}super.readToken_pipe_amp(e)}parseTopLevel(e,s){let i=super.parseTopLevel(e,s);return this.state.hasFlowComment&&this.raise(g.UnterminatedFlowComment,this.state.curPosition()),i}skipBlockComment(){if(this.hasPlugin("flowComments")&&this.skipFlowComment()){if(this.state.hasFlowComment)throw this.raise(g.NestedFlowComment,this.state.startLoc);this.hasFlowCommentCompletion();let e=this.skipFlowComment();e&&(this.state.pos+=e,this.state.hasFlowComment=!0);return}return super.skipBlockComment(this.state.hasFlowComment?"*-/":"*/")}skipFlowComment(){let{pos:e}=this.state,s=2;for(;[32,9].includes(this.input.charCodeAt(e+s));)s++;let i=this.input.charCodeAt(s+e),r=this.input.charCodeAt(s+e+1);return i===58&&r===58?s+2:this.input.slice(s+e,s+e+12)==="flow-include"?s+12:i===58&&r!==58?s:!1}hasFlowCommentCompletion(){if(this.input.indexOf("*/",this.state.pos)===-1)throw this.raise(p.UnterminatedComment,this.state.curPosition())}flowEnumErrorBooleanMemberNotInitialized(e,{enumName:s,memberName:i}){this.raise(g.EnumBooleanMemberNotInitialized,e,{memberName:i,enumName:s})}flowEnumErrorInvalidMemberInitializer(e,s){return this.raise(s.explicitType?s.explicitType==="symbol"?g.EnumInvalidMemberInitializerSymbolType:g.EnumInvalidMemberInitializerPrimaryType:g.EnumInvalidMemberInitializerUnknownType,e,s)}flowEnumErrorNumberMemberNotInitialized(e,s){this.raise(g.EnumNumberMemberNotInitialized,e,s)}flowEnumErrorStringMemberInconsistentlyInitialized(e,s){this.raise(g.EnumStringMemberInconsistentlyInitialized,e,s)}flowEnumMemberInit(){let e=this.state.startLoc,s=()=>this.match(12)||this.match(8);switch(this.state.type){case 134:{let i=this.parseNumericLiteral(this.state.value);return s()?{type:"number",loc:i.loc.start,value:i}:{type:"invalid",loc:e}}case 133:{let i=this.parseStringLiteral(this.state.value);return s()?{type:"string",loc:i.loc.start,value:i}:{type:"invalid",loc:e}}case 85:case 86:{let i=this.parseBooleanLiteral(this.match(85));return s()?{type:"boolean",loc:i.loc.start,value:i}:{type:"invalid",loc:e}}default:return{type:"invalid",loc:e}}}flowEnumMemberRaw(){let e=this.state.startLoc,s=this.parseIdentifier(!0),i=this.eat(29)?this.flowEnumMemberInit():{type:"none",loc:e};return{id:s,init:i}}flowEnumCheckExplicitTypeMismatch(e,s,i){let{explicitType:r}=s;r!==null&&r!==i&&this.flowEnumErrorInvalidMemberInitializer(e,s)}flowEnumMembers({enumName:e,explicitType:s}){let i=new Set,r={booleanMembers:[],numberMembers:[],stringMembers:[],defaultedMembers:[]},n=!1;for(;!this.match(8);){if(this.eat(21)){n=!0;break}let o=this.startNode(),{id:h,init:c}=this.flowEnumMemberRaw(),l=h.name;if(l==="")continue;/^[a-z]/.test(l)&&this.raise(g.EnumInvalidMemberName,h,{memberName:l,suggestion:l[0].toUpperCase()+l.slice(1),enumName:e}),i.has(l)&&this.raise(g.EnumDuplicateMemberName,h,{memberName:l,enumName:e}),i.add(l);let u={enumName:e,explicitType:s,memberName:l};switch(o.id=h,c.type){case"boolean":{this.flowEnumCheckExplicitTypeMismatch(c.loc,u,"boolean"),o.init=c.value,r.booleanMembers.push(this.finishNode(o,"EnumBooleanMember"));break}case"number":{this.flowEnumCheckExplicitTypeMismatch(c.loc,u,"number"),o.init=c.value,r.numberMembers.push(this.finishNode(o,"EnumNumberMember"));break}case"string":{this.flowEnumCheckExplicitTypeMismatch(c.loc,u,"string"),o.init=c.value,r.stringMembers.push(this.finishNode(o,"EnumStringMember"));break}case"invalid":throw this.flowEnumErrorInvalidMemberInitializer(c.loc,u);case"none":switch(s){case"boolean":this.flowEnumErrorBooleanMemberNotInitialized(c.loc,u);break;case"number":this.flowEnumErrorNumberMemberNotInitialized(c.loc,u);break;default:r.defaultedMembers.push(this.finishNode(o,"EnumDefaultedMember"))}}this.match(8)||this.expect(12)}return{members:r,hasUnknownMembers:n}}flowEnumStringMembers(e,s,{enumName:i}){if(e.length===0)return s;if(s.length===0)return e;if(s.length>e.length){for(let r of e)this.flowEnumErrorStringMemberInconsistentlyInitialized(r,{enumName:i});return s}else{for(let r of s)this.flowEnumErrorStringMemberInconsistentlyInitialized(r,{enumName:i});return e}}flowEnumParseExplicitType({enumName:e}){if(!this.eatContextual(102))return null;if(!w(this.state.type))throw this.raise(g.EnumInvalidExplicitTypeUnknownSupplied,this.state.startLoc,{enumName:e});let{value:s}=this.state;return this.next(),s!=="boolean"&&s!=="number"&&s!=="string"&&s!=="symbol"&&this.raise(g.EnumInvalidExplicitType,this.state.startLoc,{enumName:e,invalidEnumType:s}),s}flowEnumBody(e,s){let i=s.name,r=s.loc.start,n=this.flowEnumParseExplicitType({enumName:i});this.expect(5);let{members:o,hasUnknownMembers:h}=this.flowEnumMembers({enumName:i,explicitType:n});switch(e.hasUnknownMembers=h,n){case"boolean":return e.explicitType=!0,e.members=o.booleanMembers,this.expect(8),this.finishNode(e,"EnumBooleanBody");case"number":return e.explicitType=!0,e.members=o.numberMembers,this.expect(8),this.finishNode(e,"EnumNumberBody");case"string":return e.explicitType=!0,e.members=this.flowEnumStringMembers(o.stringMembers,o.defaultedMembers,{enumName:i}),this.expect(8),this.finishNode(e,"EnumStringBody");case"symbol":return e.members=o.defaultedMembers,this.expect(8),this.finishNode(e,"EnumSymbolBody");default:{let c=()=>(e.members=[],this.expect(8),this.finishNode(e,"EnumStringBody"));e.explicitType=!1;let l=o.booleanMembers.length,u=o.numberMembers.length,f=o.stringMembers.length,d=o.defaultedMembers.length;if(!l&&!u&&!f&&!d)return c();if(!l&&!u)return e.members=this.flowEnumStringMembers(o.stringMembers,o.defaultedMembers,{enumName:i}),this.expect(8),this.finishNode(e,"EnumStringBody");if(!u&&!f&&l>=d){for(let y of o.defaultedMembers)this.flowEnumErrorBooleanMemberNotInitialized(y.loc.start,{enumName:i,memberName:y.id.name});return e.members=o.booleanMembers,this.expect(8),this.finishNode(e,"EnumBooleanBody")}else if(!l&&!f&&u>=d){for(let y of o.defaultedMembers)this.flowEnumErrorNumberMemberNotInitialized(y.loc.start,{enumName:i,memberName:y.id.name});return e.members=o.numberMembers,this.expect(8),this.finishNode(e,"EnumNumberBody")}else return this.raise(g.EnumInconsistentMemberValues,r,{enumName:i}),c()}}}flowParseEnumDeclaration(e){let s=this.parseIdentifier();return e.id=s,e.body=this.flowEnumBody(this.startNode(),s),this.finishNode(e,"EnumDeclaration")}isLookaheadToken_lt(){let e=this.nextTokenStart();if(this.input.charCodeAt(e)===60){let s=this.input.charCodeAt(e+1);return s!==60&&s!==61}return!1}maybeUnwrapTypeCastExpression(e){return e.type==="TypeCastExpression"?e.expression:e}},W=j`jsx`({AttributeIsEmpty:"JSX attributes must only be assigned a non-empty expression.",MissingClosingTagElement:({openingTagName:a})=>`Expected corresponding JSX closing tag for <${a}>.`,MissingClosingTagFragment:"Expected corresponding JSX closing tag for <>.",UnexpectedSequenceExpression:"Sequence expressions cannot be directly nested inside JSX. Did you mean to wrap it in parentheses (...)?",UnexpectedToken:({unexpected:a,HTMLEntity:t})=>`Unexpected token \`${a}\`. Did you mean \`${t}\` or \`{'${a}'}\`?`,UnsupportedJsxValue:"JSX value should be either an expression or a quoted JSX text.",UnterminatedJsxContent:"Unterminated JSX contents.",UnwrappedAdjacentJSXElements:"Adjacent JSX elements must be wrapped in an enclosing tag. Did you want a JSX fragment <>...?"});function z(a){return a?a.type==="JSXOpeningFragment"||a.type==="JSXClosingFragment":!1}function Y(a){if(a.type==="JSXIdentifier")return a.name;if(a.type==="JSXNamespacedName")return a.namespace.name+":"+a.name.name;if(a.type==="JSXMemberExpression")return Y(a.object)+"."+Y(a.property);throw new Error("Node had unexpected type: "+a.type)}var zi=a=>class extends a{jsxReadToken(){let e="",s=this.state.pos;for(;;){if(this.state.pos>=this.length)throw this.raise(W.UnterminatedJsxContent,this.state.startLoc);let i=this.input.charCodeAt(this.state.pos);switch(i){case 60:case 123:if(this.state.pos===this.state.start){i===60&&this.state.canStartJSXElement?(++this.state.pos,this.finishToken(142)):super.getTokenFromCode(i);return}e+=this.input.slice(s,this.state.pos),this.finishToken(141,e);return;case 38:e+=this.input.slice(s,this.state.pos),e+=this.jsxReadEntity(),s=this.state.pos;break;case 62:case 125:default:fe(i)?(e+=this.input.slice(s,this.state.pos),e+=this.jsxReadNewLine(!0),s=this.state.pos):++this.state.pos}}}jsxReadNewLine(e){let s=this.input.charCodeAt(this.state.pos),i;return++this.state.pos,s===13&&this.input.charCodeAt(this.state.pos)===10?(++this.state.pos,i=e?` `:`\r -`):i=String.fromCharCode(s),++this.state.curLine,this.state.lineStart=this.state.pos,i}jsxReadString(e){let s="",i=++this.state.pos;for(;;){if(this.state.pos>=this.length)throw this.raise(p.UnterminatedString,{at:this.state.startLoc});let r=this.input.charCodeAt(this.state.pos);if(r===e)break;r===38?(s+=this.input.slice(i,this.state.pos),s+=this.jsxReadEntity(),i=this.state.pos):ke(r)?(s+=this.input.slice(i,this.state.pos),s+=this.jsxReadNewLine(!1),i=this.state.pos):++this.state.pos}s+=this.input.slice(i,this.state.pos++),this.finishToken(131,s)}jsxReadEntity(){let e=++this.state.pos;if(this.codePointAtPos(this.state.pos)===35){++this.state.pos;let s=10;this.codePointAtPos(this.state.pos)===120&&(s=16,++this.state.pos);let i=this.readInt(s,void 0,!1,"bail");if(i!==null&&this.codePointAtPos(this.state.pos)===59)return++this.state.pos,String.fromCodePoint(i)}else{let s=0,i=!1;for(;s++<10&&this.state.pos1){for(let i=0;i=0;i--){let r=this.scopeStack[i];if(r.types.has(e)||r.exportOnlyBindings.has(e))return}super.checkLocalExport(t)}},ia=(a,t)=>Object.hasOwnProperty.call(a,t)&&a[t],Qs=a=>a.type==="ParenthesizedExpression"?Qs(a.expression):a,jt=class extends _t{toAssignable(t,e=!1){var s,i;let r;switch((t.type==="ParenthesizedExpression"||(s=t.extra)!=null&&s.parenthesized)&&(r=Qs(t),e?r.type==="Identifier"?this.expressionScope.recordArrowParameterBindingError(p.InvalidParenthesizedAssignment,{at:t}):r.type!=="MemberExpression"&&this.raise(p.InvalidParenthesizedAssignment,{at:t}):this.raise(p.InvalidParenthesizedAssignment,{at:t})),t.type){case"Identifier":case"ObjectPattern":case"ArrayPattern":case"AssignmentPattern":case"RestElement":break;case"ObjectExpression":t.type="ObjectPattern";for(let o=0,h=t.properties.length,l=h-1;oi.type!=="ObjectMethod"&&(r===s||i.type!=="SpreadElement")&&this.isAssignable(i))}case"ObjectProperty":return this.isAssignable(t.value);case"SpreadElement":return this.isAssignable(t.argument);case"ArrayExpression":return t.elements.every(s=>s===null||this.isAssignable(s));case"AssignmentExpression":return t.operator==="=";case"ParenthesizedExpression":return this.isAssignable(t.expression);case"MemberExpression":case"OptionalMemberExpression":return!e;default:return!1}}toReferencedList(t,e){return t}toReferencedListDeep(t,e){this.toReferencedList(t,e);for(let s of t)(s==null?void 0:s.type)==="ArrayExpression"&&this.toReferencedListDeep(s.elements)}parseSpread(t){let e=this.startNode();return this.next(),e.argument=this.parseMaybeAssignAllowIn(t,void 0),this.finishNode(e,"SpreadElement")}parseRestBinding(){let t=this.startNode();return this.next(),t.argument=this.parseBindingAtom(),this.finishNode(t,"RestElement")}parseBindingAtom(){switch(this.state.type){case 0:{let t=this.startNode();return this.next(),t.elements=this.parseBindingList(3,93,1),this.finishNode(t,"ArrayPattern")}case 5:return this.parseObjectLike(8,!0)}return this.parseIdentifier()}parseBindingList(t,e,s){let i=s&1,r=[],n=!0;for(;!this.eat(t);)if(n?n=!1:this.expect(12),i&&this.match(12))r.push(null);else{if(this.eat(t))break;if(this.match(21)){if(r.push(this.parseAssignableListItemTypes(this.parseRestBinding(),s)),!this.checkCommaAfterRest(e)){this.expect(t);break}}else{let o=[];for(this.match(26)&&this.hasPlugin("decorators")&&this.raise(p.UnsupportedParameterDecorator,{at:this.state.startLoc});this.match(26);)o.push(this.parseDecorator());r.push(this.parseAssignableListItem(s,o))}}return r}parseBindingRestProperty(t){return this.next(),t.argument=this.parseIdentifier(),this.checkCommaAfterRest(125),this.finishNode(t,"RestElement")}parseBindingProperty(){let t=this.startNode(),{type:e,startLoc:s}=this.state;return e===21?this.parseBindingRestProperty(t):(e===136?(this.expectPlugin("destructuringPrivate",s),this.classScope.usePrivateName(this.state.value,s),t.key=this.parsePrivateName()):this.parsePropertyName(t),t.method=!1,this.parseObjPropValue(t,s,!1,!1,!0,!1))}parseAssignableListItem(t,e){let s=this.parseMaybeDefault();this.parseAssignableListItemTypes(s,t);let i=this.parseMaybeDefault(s.loc.start,s);return e.length&&(s.decorators=e),i}parseAssignableListItemTypes(t,e){return t}parseMaybeDefault(t,e){var s,i;if((s=t)!=null||(t=this.state.startLoc),e=(i=e)!=null?i:this.parseBindingAtom(),!this.eat(29))return e;let r=this.startNodeAt(t);return r.left=e,r.right=this.parseMaybeAssignAllowIn(),this.finishNode(r,"AssignmentPattern")}isValidLVal(t,e,s){return ia({AssignmentPattern:"left",RestElement:"argument",ObjectProperty:"value",ParenthesizedExpression:"expression",ArrayPattern:"elements",ObjectPattern:"properties"},t)}checkLVal(t,{in:e,binding:s=W,checkClashes:i=!1,strictModeChanged:r=!1,hasParenthesizedAncestor:n=!1}){var o;let h=t.type;if(this.isObjectMethod(t))return;if(h==="MemberExpression"){s!==W&&this.raise(p.InvalidPropertyBindingPattern,{at:t});return}if(h==="Identifier"){this.checkIdentifier(t,s,r);let{name:f}=t;i&&(i.has(f)?this.raise(p.ParamDupe,{at:t}):i.add(f));return}let l=this.isValidLVal(h,!(n||(o=t.extra)!=null&&o.parenthesized)&&e.type==="AssignmentExpression",s);if(l===!0)return;if(l===!1){let f=s===W?p.InvalidLhs:p.InvalidLhsBinding;this.raise(f,{at:t,ancestor:e});return}let[c,u]=Array.isArray(l)?l:[l,h==="ParenthesizedExpression"],d=h==="ArrayPattern"||h==="ObjectPattern"||h==="ParenthesizedExpression"?{type:h}:e;for(let f of[].concat(t[c]))f&&this.checkLVal(f,{in:d,binding:s,checkClashes:i,strictModeChanged:r,hasParenthesizedAncestor:u})}checkIdentifier(t,e,s=!1){this.state.strict&&(s?Bs(t.name,this.inModule):Os(t.name))&&(e===W?this.raise(p.StrictEvalArguments,{at:t,referenceName:t.name}):this.raise(p.StrictEvalArgumentsBinding,{at:t,bindingName:t.name})),e&it&&t.name==="let"&&this.raise(p.LetInLexicalBinding,{at:t}),e&W||this.declareNameFromIdentifier(t,e)}declareNameFromIdentifier(t,e){this.scope.declareName(t.name,e,t.loc.start)}checkToRestConversion(t,e){switch(t.type){case"ParenthesizedExpression":this.checkToRestConversion(t.expression,e);break;case"Identifier":case"MemberExpression":break;case"ArrayExpression":case"ObjectExpression":if(e)break;default:this.raise(p.InvalidRestAssignmentPattern,{at:t})}}checkCommaAfterRest(t){return this.match(12)?(this.raise(this.lookaheadCharCode()===t?p.RestTrailingComma:p.ElementAfterRest,{at:this.state.startLoc}),!0):!1}},ra=(a,t)=>Object.hasOwnProperty.call(a,t)&&a[t];function aa(a){if(a==null)throw new Error(`Unexpected ${a} value.`);return a}function bs(a){if(!a)throw new Error("Assert fail")}var y=V`typescript`({AbstractMethodHasImplementation:({methodName:a})=>`Method '${a}' cannot have an implementation because it is marked abstract.`,AbstractPropertyHasInitializer:({propertyName:a})=>`Property '${a}' cannot have an initializer because it is marked abstract.`,AccesorCannotDeclareThisParameter:"'get' and 'set' accessors cannot declare 'this' parameters.",AccesorCannotHaveTypeParameters:"An accessor cannot have type parameters.",AccessorCannotBeOptional:"An 'accessor' property cannot be declared optional.",ClassMethodHasDeclare:"Class methods cannot have the 'declare' modifier.",ClassMethodHasReadonly:"Class methods cannot have the 'readonly' modifier.",ConstInitiailizerMustBeStringOrNumericLiteralOrLiteralEnumReference:"A 'const' initializer in an ambient context must be a string or numeric literal or literal enum reference.",ConstructorHasTypeParameters:"Type parameters cannot appear on a constructor declaration.",DeclareAccessor:({kind:a})=>`'declare' is not allowed in ${a}ters.`,DeclareClassFieldHasInitializer:"Initializers are not allowed in ambient contexts.",DeclareFunctionHasImplementation:"An implementation cannot be declared in ambient contexts.",DuplicateAccessibilityModifier:({modifier:a})=>"Accessibility modifier already seen.",DuplicateModifier:({modifier:a})=>`Duplicate modifier: '${a}'.`,EmptyHeritageClauseType:({token:a})=>`'${a}' list cannot be empty.`,EmptyTypeArguments:"Type argument list cannot be empty.",EmptyTypeParameters:"Type parameter list cannot be empty.",ExpectedAmbientAfterExportDeclare:"'export declare' must be followed by an ambient declaration.",ImportAliasHasImportType:"An import alias can not use 'import type'.",ImportReflectionHasImportType:"An `import module` declaration can not use `type` modifier",IncompatibleModifiers:({modifiers:a})=>`'${a[0]}' modifier cannot be used with '${a[1]}' modifier.`,IndexSignatureHasAbstract:"Index signatures cannot have the 'abstract' modifier.",IndexSignatureHasAccessibility:({modifier:a})=>`Index signatures cannot have an accessibility modifier ('${a}').`,IndexSignatureHasDeclare:"Index signatures cannot have the 'declare' modifier.",IndexSignatureHasOverride:"'override' modifier cannot appear on an index signature.",IndexSignatureHasStatic:"Index signatures cannot have the 'static' modifier.",InitializerNotAllowedInAmbientContext:"Initializers are not allowed in ambient contexts.",InvalidModifierOnTypeMember:({modifier:a})=>`'${a}' modifier cannot appear on a type member.`,InvalidModifierOnTypeParameter:({modifier:a})=>`'${a}' modifier cannot appear on a type parameter.`,InvalidModifierOnTypeParameterPositions:({modifier:a})=>`'${a}' modifier can only appear on a type parameter of a class, interface or type alias.`,InvalidModifiersOrder:({orderedModifiers:a})=>`'${a[0]}' modifier must precede '${a[1]}' modifier.`,InvalidPropertyAccessAfterInstantiationExpression:"Invalid property access after an instantiation expression. You can either wrap the instantiation expression in parentheses, or delete the type arguments.",InvalidTupleMemberLabel:"Tuple members must be labeled with a simple identifier.",MissingInterfaceName:"'interface' declarations must be followed by an identifier.",MixedLabeledAndUnlabeledElements:"Tuple members must all have names or all not have names.",NonAbstractClassHasAbstractMethod:"Abstract methods can only appear within an abstract class.",NonClassMethodPropertyHasAbstractModifer:"'abstract' modifier can only appear on a class, method, or property declaration.",OptionalTypeBeforeRequired:"A required element cannot follow an optional element.",OverrideNotInSubClass:"This member cannot have an 'override' modifier because its containing class does not extend another class.",PatternIsOptional:"A binding pattern parameter cannot be optional in an implementation signature.",PrivateElementHasAbstract:"Private elements cannot have the 'abstract' modifier.",PrivateElementHasAccessibility:({modifier:a})=>`Private elements cannot have an accessibility modifier ('${a}').`,ReadonlyForMethodSignature:"'readonly' modifier can only appear on a property declaration or index signature.",ReservedArrowTypeParam:"This syntax is reserved in files with the .mts or .cts extension. Add a trailing comma, as in `() => ...`.",ReservedTypeAssertion:"This syntax is reserved in files with the .mts or .cts extension. Use an `as` expression instead.",SetAccesorCannotHaveOptionalParameter:"A 'set' accessor cannot have an optional parameter.",SetAccesorCannotHaveRestParameter:"A 'set' accessor cannot have rest parameter.",SetAccesorCannotHaveReturnType:"A 'set' accessor cannot have a return type annotation.",SingleTypeParameterWithoutTrailingComma:({typeParameterName:a})=>`Single type parameter ${a} should have a trailing comma. Example usage: <${a},>.`,StaticBlockCannotHaveModifier:"Static class blocks cannot have any modifier.",TupleOptionalAfterType:"A labeled tuple optional element must be declared using a question mark after the name and before the colon (`name?: type`), rather than after the type (`name: type?`).",TypeAnnotationAfterAssign:"Type annotations must come before default assignments, e.g. instead of `age = 25: number` use `age: number = 25`.",TypeImportCannotSpecifyDefaultAndNamed:"A type-only import can specify a default import or named bindings, but not both.",TypeModifierIsUsedInTypeExports:"The 'type' modifier cannot be used on a named export when 'export type' is used on its export statement.",TypeModifierIsUsedInTypeImports:"The 'type' modifier cannot be used on a named import when 'import type' is used on its import statement.",UnexpectedParameterModifier:"A parameter property is only allowed in a constructor implementation.",UnexpectedReadonly:"'readonly' type modifier is only permitted on array and tuple literal types.",UnexpectedTypeAnnotation:"Did not expect a type annotation here.",UnexpectedTypeCastInParameter:"Unexpected type cast in parameter position.",UnsupportedImportTypeArgument:"Argument in a type import must be a string literal.",UnsupportedParameterPropertyKind:"A parameter property may not be declared using a binding pattern.",UnsupportedSignatureParameterKind:({type:a})=>`Name in a signature must be an Identifier, ObjectPattern or ArrayPattern, instead got ${a}.`});function na(a){switch(a){case"any":return"TSAnyKeyword";case"boolean":return"TSBooleanKeyword";case"bigint":return"TSBigIntKeyword";case"never":return"TSNeverKeyword";case"number":return"TSNumberKeyword";case"object":return"TSObjectKeyword";case"string":return"TSStringKeyword";case"symbol":return"TSSymbolKeyword";case"undefined":return"TSUndefinedKeyword";case"unknown":return"TSUnknownKeyword";default:return}}function As(a){return a==="private"||a==="public"||a==="protected"}function oa(a){return a==="in"||a==="out"}var ha=a=>class extends a{constructor(...e){super(...e),this.tsParseInOutModifiers=this.tsParseModifiers.bind(this,{allowedModifiers:["in","out"],disallowedModifiers:["const","public","private","protected","readonly","declare","abstract","override"],errorTemplate:y.InvalidModifierOnTypeParameter}),this.tsParseConstModifier=this.tsParseModifiers.bind(this,{allowedModifiers:["const"],disallowedModifiers:["in","out"],errorTemplate:y.InvalidModifierOnTypeParameterPositions}),this.tsParseInOutConstModifiers=this.tsParseModifiers.bind(this,{allowedModifiers:["in","out","const"],disallowedModifiers:["public","private","protected","readonly","declare","abstract","override"],errorTemplate:y.InvalidModifierOnTypeParameter})}getScopeHandler(){return Ut}tsIsIdentifier(){return S(this.state.type)}tsTokenCanFollowModifier(){return(this.match(0)||this.match(5)||this.match(55)||this.match(21)||this.match(136)||this.isLiteralPropertyName())&&!this.hasPrecedingLineBreak()}tsNextTokenCanFollowModifier(){return this.next(),this.tsTokenCanFollowModifier()}tsParseModifier(e,s){if(!S(this.state.type)&&this.state.type!==58&&this.state.type!==75)return;let i=this.state.value;if(e.indexOf(i)!==-1){if(s&&this.tsIsStartOfStaticBlocks())return;if(this.tsTryParse(this.tsNextTokenCanFollowModifier.bind(this)))return i}}tsParseModifiers({allowedModifiers:e,disallowedModifiers:s,stopOnStartOfClassStaticBlock:i,errorTemplate:r=y.InvalidModifierOnTypeMember},n){let o=(l,c,u,d)=>{c===u&&n[d]&&this.raise(y.InvalidModifiersOrder,{at:l,orderedModifiers:[u,d]})},h=(l,c,u,d)=>{(n[u]&&c===d||n[d]&&c===u)&&this.raise(y.IncompatibleModifiers,{at:l,modifiers:[u,d]})};for(;;){let{startLoc:l}=this.state,c=this.tsParseModifier(e.concat(s??[]),i);if(!c)break;As(c)?n.accessibility?this.raise(y.DuplicateAccessibilityModifier,{at:l,modifier:c}):(o(l,c,c,"override"),o(l,c,c,"static"),o(l,c,c,"readonly"),n.accessibility=c):oa(c)?(n[c]&&this.raise(y.DuplicateModifier,{at:l,modifier:c}),n[c]=!0,o(l,c,"in","out")):(Object.hasOwnProperty.call(n,c)?this.raise(y.DuplicateModifier,{at:l,modifier:c}):(o(l,c,"static","readonly"),o(l,c,"static","override"),o(l,c,"override","readonly"),o(l,c,"abstract","override"),h(l,c,"declare","override"),h(l,c,"static","abstract")),n[c]=!0),s!=null&&s.includes(c)&&this.raise(r,{at:l,modifier:c})}}tsIsListTerminator(e){switch(e){case"EnumMembers":case"TypeMembers":return this.match(8);case"HeritageClauseElement":return this.match(5);case"TupleElementTypes":return this.match(3);case"TypeParametersOrArguments":return this.match(48)}}tsParseList(e,s){let i=[];for(;!this.tsIsListTerminator(e);)i.push(s());return i}tsParseDelimitedList(e,s,i){return aa(this.tsParseDelimitedListWorker(e,s,!0,i))}tsParseDelimitedListWorker(e,s,i,r){let n=[],o=-1;for(;!this.tsIsListTerminator(e);){o=-1;let h=s();if(h==null)return;if(n.push(h),this.eat(12)){o=this.state.lastTokStart;continue}if(this.tsIsListTerminator(e))break;i&&this.expect(12);return}return r&&(r.value=o),n}tsParseBracketedList(e,s,i,r,n){r||(i?this.expect(0):this.expect(47));let o=this.tsParseDelimitedList(e,s,n);return i?this.expect(3):this.expect(48),o}tsParseImportType(){let e=this.startNode();return this.expect(83),this.expect(10),this.match(131)||this.raise(y.UnsupportedImportTypeArgument,{at:this.state.startLoc}),e.argument=super.parseExprAtom(),this.expect(11),this.eat(16)&&(e.qualifier=this.tsParseEntityName()),this.match(47)&&(e.typeParameters=this.tsParseTypeArguments()),this.finishNode(e,"TSImportType")}tsParseEntityName(e=!0){let s=this.parseIdentifier(e);for(;this.eat(16);){let i=this.startNodeAtNode(s);i.left=s,i.right=this.parseIdentifier(e),s=this.finishNode(i,"TSQualifiedName")}return s}tsParseTypeReference(){let e=this.startNode();return e.typeName=this.tsParseEntityName(),!this.hasPrecedingLineBreak()&&this.match(47)&&(e.typeParameters=this.tsParseTypeArguments()),this.finishNode(e,"TSTypeReference")}tsParseThisTypePredicate(e){this.next();let s=this.startNodeAtNode(e);return s.parameterName=e,s.typeAnnotation=this.tsParseTypeAnnotation(!1),s.asserts=!1,this.finishNode(s,"TSTypePredicate")}tsParseThisTypeNode(){let e=this.startNode();return this.next(),this.finishNode(e,"TSThisType")}tsParseTypeQuery(){let e=this.startNode();return this.expect(87),this.match(83)?e.exprName=this.tsParseImportType():e.exprName=this.tsParseEntityName(),!this.hasPrecedingLineBreak()&&this.match(47)&&(e.typeParameters=this.tsParseTypeArguments()),this.finishNode(e,"TSTypeQuery")}tsParseTypeParameter(e){let s=this.startNode();return e(s),s.name=this.tsParseTypeParameterName(),s.constraint=this.tsEatThenParseType(81),s.default=this.tsEatThenParseType(29),this.finishNode(s,"TSTypeParameter")}tsTryParseTypeParameters(e){if(this.match(47))return this.tsParseTypeParameters(e)}tsParseTypeParameters(e){let s=this.startNode();this.match(47)||this.match(140)?this.next():this.unexpected();let i={value:-1};return s.params=this.tsParseBracketedList("TypeParametersOrArguments",this.tsParseTypeParameter.bind(this,e),!1,!0,i),s.params.length===0&&this.raise(y.EmptyTypeParameters,{at:s}),i.value!==-1&&this.addExtra(s,"trailingComma",i.value),this.finishNode(s,"TSTypeParameterDeclaration")}tsFillSignature(e,s){let i=e===19,r="parameters",n="typeAnnotation";s.typeParameters=this.tsTryParseTypeParameters(this.tsParseConstModifier),this.expect(10),s[r]=this.tsParseBindingListForSignature(),i?s[n]=this.tsParseTypeOrTypePredicateAnnotation(e):this.match(e)&&(s[n]=this.tsParseTypeOrTypePredicateAnnotation(e))}tsParseBindingListForSignature(){let e=super.parseBindingList(11,41,2);for(let s of e){let{type:i}=s;(i==="AssignmentPattern"||i==="TSParameterProperty")&&this.raise(y.UnsupportedSignatureParameterKind,{at:s,type:i})}return e}tsParseTypeMemberSemicolon(){!this.eat(12)&&!this.isLineTerminator()&&this.expect(13)}tsParseSignatureMember(e,s){return this.tsFillSignature(14,s),this.tsParseTypeMemberSemicolon(),this.finishNode(s,e)}tsIsUnambiguouslyIndexSignature(){return this.next(),S(this.state.type)?(this.next(),this.match(14)):!1}tsTryParseIndexSignature(e){if(!(this.match(0)&&this.tsLookAhead(this.tsIsUnambiguouslyIndexSignature.bind(this))))return;this.expect(0);let s=this.parseIdentifier();s.typeAnnotation=this.tsParseTypeAnnotation(),this.resetEndLocation(s),this.expect(3),e.parameters=[s];let i=this.tsTryParseTypeAnnotation();return i&&(e.typeAnnotation=i),this.tsParseTypeMemberSemicolon(),this.finishNode(e,"TSIndexSignature")}tsParsePropertyOrMethodSignature(e,s){this.eat(17)&&(e.optional=!0);let i=e;if(this.match(10)||this.match(47)){s&&this.raise(y.ReadonlyForMethodSignature,{at:e});let r=i;r.kind&&this.match(47)&&this.raise(y.AccesorCannotHaveTypeParameters,{at:this.state.curPosition()}),this.tsFillSignature(14,r),this.tsParseTypeMemberSemicolon();let n="parameters",o="typeAnnotation";if(r.kind==="get")r[n].length>0&&(this.raise(p.BadGetterArity,{at:this.state.curPosition()}),this.isThisParam(r[n][0])&&this.raise(y.AccesorCannotDeclareThisParameter,{at:this.state.curPosition()}));else if(r.kind==="set"){if(r[n].length!==1)this.raise(p.BadSetterArity,{at:this.state.curPosition()});else{let h=r[n][0];this.isThisParam(h)&&this.raise(y.AccesorCannotDeclareThisParameter,{at:this.state.curPosition()}),h.type==="Identifier"&&h.optional&&this.raise(y.SetAccesorCannotHaveOptionalParameter,{at:this.state.curPosition()}),h.type==="RestElement"&&this.raise(y.SetAccesorCannotHaveRestParameter,{at:this.state.curPosition()})}r[o]&&this.raise(y.SetAccesorCannotHaveReturnType,{at:r[o]})}else r.kind="method";return this.finishNode(r,"TSMethodSignature")}else{let r=i;s&&(r.readonly=!0);let n=this.tsTryParseTypeAnnotation();return n&&(r.typeAnnotation=n),this.tsParseTypeMemberSemicolon(),this.finishNode(r,"TSPropertySignature")}}tsParseTypeMember(){let e=this.startNode();if(this.match(10)||this.match(47))return this.tsParseSignatureMember("TSCallSignatureDeclaration",e);if(this.match(77)){let i=this.startNode();return this.next(),this.match(10)||this.match(47)?this.tsParseSignatureMember("TSConstructSignatureDeclaration",e):(e.key=this.createIdentifier(i,"new"),this.tsParsePropertyOrMethodSignature(e,!1))}this.tsParseModifiers({allowedModifiers:["readonly"],disallowedModifiers:["declare","abstract","private","protected","public","static","override"]},e);let s=this.tsTryParseIndexSignature(e);return s||(super.parsePropertyName(e),!e.computed&&e.key.type==="Identifier"&&(e.key.name==="get"||e.key.name==="set")&&this.tsTokenCanFollowModifier()&&(e.kind=e.key.name,super.parsePropertyName(e)),this.tsParsePropertyOrMethodSignature(e,!!e.readonly))}tsParseTypeLiteral(){let e=this.startNode();return e.members=this.tsParseObjectTypeMembers(),this.finishNode(e,"TSTypeLiteral")}tsParseObjectTypeMembers(){this.expect(5);let e=this.tsParseList("TypeMembers",this.tsParseTypeMember.bind(this));return this.expect(8),e}tsIsStartOfMappedType(){return this.next(),this.eat(53)?this.isContextual(120):(this.isContextual(120)&&this.next(),!this.match(0)||(this.next(),!this.tsIsIdentifier())?!1:(this.next(),this.match(58)))}tsParseMappedTypeParameter(){let e=this.startNode();return e.name=this.tsParseTypeParameterName(),e.constraint=this.tsExpectThenParseType(58),this.finishNode(e,"TSTypeParameter")}tsParseMappedType(){let e=this.startNode();return this.expect(5),this.match(53)?(e.readonly=this.state.value,this.next(),this.expectContextual(120)):this.eatContextual(120)&&(e.readonly=!0),this.expect(0),e.typeParameter=this.tsParseMappedTypeParameter(),e.nameType=this.eatContextual(93)?this.tsParseType():null,this.expect(3),this.match(53)?(e.optional=this.state.value,this.next(),this.expect(17)):this.eat(17)&&(e.optional=!0),e.typeAnnotation=this.tsTryParseType(),this.semicolon(),this.expect(8),this.finishNode(e,"TSMappedType")}tsParseTupleType(){let e=this.startNode();e.elementTypes=this.tsParseBracketedList("TupleElementTypes",this.tsParseTupleElementType.bind(this),!0,!1);let s=!1,i=null;return e.elementTypes.forEach(r=>{var n;let{type:o}=r;s&&o!=="TSRestType"&&o!=="TSOptionalType"&&!(o==="TSNamedTupleMember"&&r.optional)&&this.raise(y.OptionalTypeBeforeRequired,{at:r}),s||(s=o==="TSNamedTupleMember"&&r.optional||o==="TSOptionalType");let h=o;o==="TSRestType"&&(r=r.typeAnnotation,h=r.type);let l=h==="TSNamedTupleMember";(n=i)!=null||(i=l),i!==l&&this.raise(y.MixedLabeledAndUnlabeledElements,{at:r})}),this.finishNode(e,"TSTupleType")}tsParseTupleElementType(){let{startLoc:e}=this.state,s=this.eat(21),i,r,n,o,l=M(this.state.type)?this.lookaheadCharCode():null;if(l===58)i=!0,n=!1,r=this.parseIdentifier(!0),this.expect(14),o=this.tsParseType();else if(l===63){n=!0;let c=this.state.startLoc,u=this.state.value,d=this.tsParseNonArrayType();this.lookaheadCharCode()===58?(i=!0,r=this.createIdentifier(this.startNodeAt(c),u),this.expect(17),this.expect(14),o=this.tsParseType()):(i=!1,o=d,this.expect(17))}else o=this.tsParseType(),n=this.eat(17),i=this.eat(14);if(i){let c;r?(c=this.startNodeAtNode(r),c.optional=n,c.label=r,c.elementType=o,this.eat(17)&&(c.optional=!0,this.raise(y.TupleOptionalAfterType,{at:this.state.lastTokStartLoc}))):(c=this.startNodeAtNode(o),c.optional=n,this.raise(y.InvalidTupleMemberLabel,{at:o}),c.label=o,c.elementType=this.tsParseType()),o=this.finishNode(c,"TSNamedTupleMember")}else if(n){let c=this.startNodeAtNode(o);c.typeAnnotation=o,o=this.finishNode(c,"TSOptionalType")}if(s){let c=this.startNodeAt(e);c.typeAnnotation=o,o=this.finishNode(c,"TSRestType")}return o}tsParseParenthesizedType(){let e=this.startNode();return this.expect(10),e.typeAnnotation=this.tsParseType(),this.expect(11),this.finishNode(e,"TSParenthesizedType")}tsParseFunctionOrConstructorType(e,s){let i=this.startNode();return e==="TSConstructorType"&&(i.abstract=!!s,s&&this.next(),this.next()),this.tsInAllowConditionalTypesContext(()=>this.tsFillSignature(19,i)),this.finishNode(i,e)}tsParseLiteralTypeNode(){let e=this.startNode();switch(this.state.type){case 132:case 133:case 131:case 85:case 86:e.literal=super.parseExprAtom();break;default:this.unexpected()}return this.finishNode(e,"TSLiteralType")}tsParseTemplateLiteralType(){let e=this.startNode();return e.literal=super.parseTemplate(!1),this.finishNode(e,"TSLiteralType")}parseTemplateSubstitution(){return this.state.inType?this.tsParseType():super.parseTemplateSubstitution()}tsParseThisTypeOrThisTypePredicate(){let e=this.tsParseThisTypeNode();return this.isContextual(114)&&!this.hasPrecedingLineBreak()?this.tsParseThisTypePredicate(e):e}tsParseNonArrayType(){switch(this.state.type){case 131:case 132:case 133:case 85:case 86:return this.tsParseLiteralTypeNode();case 53:if(this.state.value==="-"){let e=this.startNode(),s=this.lookahead();return s.type!==132&&s.type!==133&&this.unexpected(),e.literal=this.parseMaybeUnary(),this.finishNode(e,"TSLiteralType")}break;case 78:return this.tsParseThisTypeOrThisTypePredicate();case 87:return this.tsParseTypeQuery();case 83:return this.tsParseImportType();case 5:return this.tsLookAhead(this.tsIsStartOfMappedType.bind(this))?this.tsParseMappedType():this.tsParseTypeLiteral();case 0:return this.tsParseTupleType();case 10:return this.tsParseParenthesizedType();case 25:case 24:return this.tsParseTemplateLiteralType();default:{let{type:e}=this.state;if(S(e)||e===88||e===84){let s=e===88?"TSVoidKeyword":e===84?"TSNullKeyword":na(this.state.value);if(s!==void 0&&this.lookaheadCharCode()!==46){let i=this.startNode();return this.next(),this.finishNode(i,s)}return this.tsParseTypeReference()}}}this.unexpected()}tsParseArrayTypeOrHigher(){let e=this.tsParseNonArrayType();for(;!this.hasPrecedingLineBreak()&&this.eat(0);)if(this.match(3)){let s=this.startNodeAtNode(e);s.elementType=e,this.expect(3),e=this.finishNode(s,"TSArrayType")}else{let s=this.startNodeAtNode(e);s.objectType=e,s.indexType=this.tsParseType(),this.expect(3),e=this.finishNode(s,"TSIndexedAccessType")}return e}tsParseTypeOperator(){let e=this.startNode(),s=this.state.value;return this.next(),e.operator=s,e.typeAnnotation=this.tsParseTypeOperatorOrHigher(),s==="readonly"&&this.tsCheckTypeAnnotationForReadOnly(e),this.finishNode(e,"TSTypeOperator")}tsCheckTypeAnnotationForReadOnly(e){switch(e.typeAnnotation.type){case"TSTupleType":case"TSArrayType":return;default:this.raise(y.UnexpectedReadonly,{at:e})}}tsParseInferType(){let e=this.startNode();this.expectContextual(113);let s=this.startNode();return s.name=this.tsParseTypeParameterName(),s.constraint=this.tsTryParse(()=>this.tsParseConstraintForInferType()),e.typeParameter=this.finishNode(s,"TSTypeParameter"),this.finishNode(e,"TSInferType")}tsParseConstraintForInferType(){if(this.eat(81)){let e=this.tsInDisallowConditionalTypesContext(()=>this.tsParseType());if(this.state.inDisallowConditionalTypesContext||!this.match(17))return e}}tsParseTypeOperatorOrHigher(){return ur(this.state.type)&&!this.state.containsEsc?this.tsParseTypeOperator():this.isContextual(113)?this.tsParseInferType():this.tsInAllowConditionalTypesContext(()=>this.tsParseArrayTypeOrHigher())}tsParseUnionOrIntersectionType(e,s,i){let r=this.startNode(),n=this.eat(i),o=[];do o.push(s());while(this.eat(i));return o.length===1&&!n?o[0]:(r.types=o,this.finishNode(r,e))}tsParseIntersectionTypeOrHigher(){return this.tsParseUnionOrIntersectionType("TSIntersectionType",this.tsParseTypeOperatorOrHigher.bind(this),45)}tsParseUnionTypeOrHigher(){return this.tsParseUnionOrIntersectionType("TSUnionType",this.tsParseIntersectionTypeOrHigher.bind(this),43)}tsIsStartOfFunctionType(){return this.match(47)?!0:this.match(10)&&this.tsLookAhead(this.tsIsUnambiguouslyStartOfFunctionType.bind(this))}tsSkipParameterStart(){if(S(this.state.type)||this.match(78))return this.next(),!0;if(this.match(5)){let{errors:e}=this.state,s=e.length;try{return this.parseObjectLike(8,!0),e.length===s}catch{return!1}}if(this.match(0)){this.next();let{errors:e}=this.state,s=e.length;try{return super.parseBindingList(3,93,1),e.length===s}catch{return!1}}return!1}tsIsUnambiguouslyStartOfFunctionType(){return this.next(),!!(this.match(11)||this.match(21)||this.tsSkipParameterStart()&&(this.match(14)||this.match(12)||this.match(17)||this.match(29)||this.match(11)&&(this.next(),this.match(19))))}tsParseTypeOrTypePredicateAnnotation(e){return this.tsInType(()=>{let s=this.startNode();this.expect(e);let i=this.startNode(),r=!!this.tsTryParse(this.tsParseTypePredicateAsserts.bind(this));if(r&&this.match(78)){let h=this.tsParseThisTypeOrThisTypePredicate();return h.type==="TSThisType"?(i.parameterName=h,i.asserts=!0,i.typeAnnotation=null,h=this.finishNode(i,"TSTypePredicate")):(this.resetStartLocationFromNode(h,i),h.asserts=!0),s.typeAnnotation=h,this.finishNode(s,"TSTypeAnnotation")}let n=this.tsIsIdentifier()&&this.tsTryParse(this.tsParseTypePredicatePrefix.bind(this));if(!n)return r?(i.parameterName=this.parseIdentifier(),i.asserts=r,i.typeAnnotation=null,s.typeAnnotation=this.finishNode(i,"TSTypePredicate"),this.finishNode(s,"TSTypeAnnotation")):this.tsParseTypeAnnotation(!1,s);let o=this.tsParseTypeAnnotation(!1);return i.parameterName=n,i.typeAnnotation=o,i.asserts=r,s.typeAnnotation=this.finishNode(i,"TSTypePredicate"),this.finishNode(s,"TSTypeAnnotation")})}tsTryParseTypeOrTypePredicateAnnotation(){if(this.match(14))return this.tsParseTypeOrTypePredicateAnnotation(14)}tsTryParseTypeAnnotation(){if(this.match(14))return this.tsParseTypeAnnotation()}tsTryParseType(){return this.tsEatThenParseType(14)}tsParseTypePredicatePrefix(){let e=this.parseIdentifier();if(this.isContextual(114)&&!this.hasPrecedingLineBreak())return this.next(),e}tsParseTypePredicateAsserts(){if(this.state.type!==107)return!1;let e=this.state.containsEsc;return this.next(),!S(this.state.type)&&!this.match(78)?!1:(e&&this.raise(p.InvalidEscapedReservedWord,{at:this.state.lastTokStartLoc,reservedWord:"asserts"}),!0)}tsParseTypeAnnotation(e=!0,s=this.startNode()){return this.tsInType(()=>{e&&this.expect(14),s.typeAnnotation=this.tsParseType()}),this.finishNode(s,"TSTypeAnnotation")}tsParseType(){bs(this.state.inType);let e=this.tsParseNonConditionalType();if(this.state.inDisallowConditionalTypesContext||this.hasPrecedingLineBreak()||!this.eat(81))return e;let s=this.startNodeAtNode(e);return s.checkType=e,s.extendsType=this.tsInDisallowConditionalTypesContext(()=>this.tsParseNonConditionalType()),this.expect(17),s.trueType=this.tsInAllowConditionalTypesContext(()=>this.tsParseType()),this.expect(14),s.falseType=this.tsInAllowConditionalTypesContext(()=>this.tsParseType()),this.finishNode(s,"TSConditionalType")}isAbstractConstructorSignature(){return this.isContextual(122)&&this.lookahead().type===77}tsParseNonConditionalType(){return this.tsIsStartOfFunctionType()?this.tsParseFunctionOrConstructorType("TSFunctionType"):this.match(77)?this.tsParseFunctionOrConstructorType("TSConstructorType"):this.isAbstractConstructorSignature()?this.tsParseFunctionOrConstructorType("TSConstructorType",!0):this.tsParseUnionTypeOrHigher()}tsParseTypeAssertion(){this.getPluginOption("typescript","disallowAmbiguousJSXLike")&&this.raise(y.ReservedTypeAssertion,{at:this.state.startLoc});let e=this.startNode();return e.typeAnnotation=this.tsInType(()=>(this.next(),this.match(75)?this.tsParseTypeReference():this.tsParseType())),this.expect(48),e.expression=this.parseMaybeUnary(),this.finishNode(e,"TSTypeAssertion")}tsParseHeritageClause(e){let s=this.state.startLoc,i=this.tsParseDelimitedList("HeritageClauseElement",()=>{let r=this.startNode();return r.expression=this.tsParseEntityName(),this.match(47)&&(r.typeParameters=this.tsParseTypeArguments()),this.finishNode(r,"TSExpressionWithTypeArguments")});return i.length||this.raise(y.EmptyHeritageClauseType,{at:s,token:e}),i}tsParseInterfaceDeclaration(e,s={}){if(this.hasFollowingLineBreak())return null;this.expectContextual(127),s.declare&&(e.declare=!0),S(this.state.type)?(e.id=this.parseIdentifier(),this.checkIdentifier(e.id,wr)):(e.id=null,this.raise(y.MissingInterfaceName,{at:this.state.startLoc})),e.typeParameters=this.tsTryParseTypeParameters(this.tsParseInOutConstModifiers),this.eat(81)&&(e.extends=this.tsParseHeritageClause("extends"));let i=this.startNode();return i.body=this.tsInType(this.tsParseObjectTypeMembers.bind(this)),e.body=this.finishNode(i,"TSInterfaceBody"),this.finishNode(e,"TSInterfaceDeclaration")}tsParseTypeAliasDeclaration(e){return e.id=this.parseIdentifier(),this.checkIdentifier(e.id,Ir),e.typeAnnotation=this.tsInType(()=>{if(e.typeParameters=this.tsTryParseTypeParameters(this.tsParseInOutModifiers),this.expect(29),this.isContextual(112)&&this.lookahead().type!==16){let s=this.startNode();return this.next(),this.finishNode(s,"TSIntrinsicKeyword")}return this.tsParseType()}),this.semicolon(),this.finishNode(e,"TSTypeAliasDeclaration")}tsInNoContext(e){let s=this.state.context;this.state.context=[s[0]];try{return e()}finally{this.state.context=s}}tsInType(e){let s=this.state.inType;this.state.inType=!0;try{return e()}finally{this.state.inType=s}}tsInDisallowConditionalTypesContext(e){let s=this.state.inDisallowConditionalTypesContext;this.state.inDisallowConditionalTypesContext=!0;try{return e()}finally{this.state.inDisallowConditionalTypesContext=s}}tsInAllowConditionalTypesContext(e){let s=this.state.inDisallowConditionalTypesContext;this.state.inDisallowConditionalTypesContext=!1;try{return e()}finally{this.state.inDisallowConditionalTypesContext=s}}tsEatThenParseType(e){if(this.match(e))return this.tsNextThenParseType()}tsExpectThenParseType(e){return this.tsInType(()=>(this.expect(e),this.tsParseType()))}tsNextThenParseType(){return this.tsInType(()=>(this.next(),this.tsParseType()))}tsParseEnumMember(){let e=this.startNode();return e.id=this.match(131)?super.parseStringLiteral(this.state.value):this.parseIdentifier(!0),this.eat(29)&&(e.initializer=super.parseMaybeAssignAllowIn()),this.finishNode(e,"TSEnumMember")}tsParseEnumDeclaration(e,s={}){return s.const&&(e.const=!0),s.declare&&(e.declare=!0),this.expectContextual(124),e.id=this.parseIdentifier(),this.checkIdentifier(e.id,e.const?kr:Vs),this.expect(5),e.members=this.tsParseDelimitedList("EnumMembers",this.tsParseEnumMember.bind(this)),this.expect(8),this.finishNode(e,"TSEnumDeclaration")}tsParseModuleBlock(){let e=this.startNode();return this.scope.enter(ae),this.expect(5),super.parseBlockOrModuleBlockBody(e.body=[],void 0,!0,8),this.scope.exit(),this.finishNode(e,"TSModuleBlock")}tsParseModuleOrNamespaceDeclaration(e,s=!1){if(e.id=this.parseIdentifier(),s||this.checkIdentifier(e.id,vr),this.eat(16)){let i=this.startNode();this.tsParseModuleOrNamespaceDeclaration(i,!0),e.body=i}else this.scope.enter(le),this.prodParam.enter(pe),e.body=this.tsParseModuleBlock(),this.prodParam.exit(),this.scope.exit();return this.finishNode(e,"TSModuleDeclaration")}tsParseAmbientExternalModuleDeclaration(e){return this.isContextual(110)?(e.global=!0,e.id=this.parseIdentifier()):this.match(131)?e.id=super.parseStringLiteral(this.state.value):this.unexpected(),this.match(5)?(this.scope.enter(le),this.prodParam.enter(pe),e.body=this.tsParseModuleBlock(),this.prodParam.exit(),this.scope.exit()):this.semicolon(),this.finishNode(e,"TSModuleDeclaration")}tsParseImportEqualsDeclaration(e,s,i){e.isExport=i||!1,e.id=s||this.parseIdentifier(),this.checkIdentifier(e.id,Ne),this.expect(29);let r=this.tsParseModuleReference();return e.importKind==="type"&&r.type!=="TSExternalModuleReference"&&this.raise(y.ImportAliasHasImportType,{at:r}),e.moduleReference=r,this.semicolon(),this.finishNode(e,"TSImportEqualsDeclaration")}tsIsExternalModuleReference(){return this.isContextual(117)&&this.lookaheadCharCode()===40}tsParseModuleReference(){return this.tsIsExternalModuleReference()?this.tsParseExternalModuleReference():this.tsParseEntityName(!1)}tsParseExternalModuleReference(){let e=this.startNode();return this.expectContextual(117),this.expect(10),this.match(131)||this.unexpected(),e.expression=super.parseExprAtom(),this.expect(11),this.sawUnambiguousESM=!0,this.finishNode(e,"TSExternalModuleReference")}tsLookAhead(e){let s=this.state.clone(),i=e();return this.state=s,i}tsTryParseAndCatch(e){let s=this.tryParse(i=>e()||i());if(!(s.aborted||!s.node))return s.error&&(this.state=s.failState),s.node}tsTryParse(e){let s=this.state.clone(),i=e();if(i!==void 0&&i!==!1)return i;this.state=s}tsTryParseDeclare(e){if(this.isLineTerminator())return;let s=this.state.type,i;return this.isContextual(99)&&(s=74,i="let"),this.tsInAmbientContext(()=>{switch(s){case 68:return e.declare=!0,super.parseFunctionStatement(e,!1,!1);case 80:return e.declare=!0,this.parseClass(e,!0,!1);case 124:return this.tsParseEnumDeclaration(e,{declare:!0});case 110:return this.tsParseAmbientExternalModuleDeclaration(e);case 75:case 74:return!this.match(75)||!this.isLookaheadContextual("enum")?(e.declare=!0,this.parseVarStatement(e,i||this.state.value,!0)):(this.expect(75),this.tsParseEnumDeclaration(e,{const:!0,declare:!0}));case 127:{let r=this.tsParseInterfaceDeclaration(e,{declare:!0});if(r)return r}default:if(S(s))return this.tsParseDeclaration(e,this.state.value,!0,null)}})}tsTryParseExportDeclaration(){return this.tsParseDeclaration(this.startNode(),this.state.value,!0,null)}tsParseExpressionStatement(e,s,i){switch(s.name){case"declare":{let r=this.tsTryParseDeclare(e);return r&&(r.declare=!0),r}case"global":if(this.match(5)){this.scope.enter(le),this.prodParam.enter(pe);let r=e;return r.global=!0,r.id=s,r.body=this.tsParseModuleBlock(),this.scope.exit(),this.prodParam.exit(),this.finishNode(r,"TSModuleDeclaration")}break;default:return this.tsParseDeclaration(e,s.name,!1,i)}}tsParseDeclaration(e,s,i,r){switch(s){case"abstract":if(this.tsCheckLineTerminator(i)&&(this.match(80)||S(this.state.type)))return this.tsParseAbstractDeclaration(e,r);break;case"module":if(this.tsCheckLineTerminator(i)){if(this.match(131))return this.tsParseAmbientExternalModuleDeclaration(e);if(S(this.state.type))return this.tsParseModuleOrNamespaceDeclaration(e)}break;case"namespace":if(this.tsCheckLineTerminator(i)&&S(this.state.type))return this.tsParseModuleOrNamespaceDeclaration(e);break;case"type":if(this.tsCheckLineTerminator(i)&&S(this.state.type))return this.tsParseTypeAliasDeclaration(e);break}}tsCheckLineTerminator(e){return e?this.hasFollowingLineBreak()?!1:(this.next(),!0):!this.isLineTerminator()}tsTryParseGenericAsyncArrowFunction(e){if(!this.match(47))return;let s=this.state.maybeInArrowParameters;this.state.maybeInArrowParameters=!0;let i=this.tsTryParseAndCatch(()=>{let r=this.startNodeAt(e);return r.typeParameters=this.tsParseTypeParameters(this.tsParseConstModifier),super.parseFunctionParams(r),r.returnType=this.tsTryParseTypeOrTypePredicateAnnotation(),this.expect(19),r});if(this.state.maybeInArrowParameters=s,!!i)return super.parseArrowExpression(i,null,!0)}tsParseTypeArgumentsInExpression(){if(this.reScan_lt()===47)return this.tsParseTypeArguments()}tsParseTypeArguments(){let e=this.startNode();return e.params=this.tsInType(()=>this.tsInNoContext(()=>(this.expect(47),this.tsParseDelimitedList("TypeParametersOrArguments",this.tsParseType.bind(this))))),e.params.length===0?this.raise(y.EmptyTypeArguments,{at:e}):!this.state.inType&&this.curContext()===E.brace&&this.reScan_lt_gt(),this.expect(48),this.finishNode(e,"TSTypeParameterInstantiation")}tsIsDeclarationStart(){return fr(this.state.type)}isExportDefaultSpecifier(){return this.tsIsDeclarationStart()?!1:super.isExportDefaultSpecifier()}parseAssignableListItem(e,s){let i=this.state.startLoc,r={};this.tsParseModifiers({allowedModifiers:["public","private","protected","override","readonly"]},r);let n=r.accessibility,o=r.override,h=r.readonly;!(e&4)&&(n||h||o)&&this.raise(y.UnexpectedParameterModifier,{at:i});let l=this.parseMaybeDefault();this.parseAssignableListItemTypes(l,e);let c=this.parseMaybeDefault(l.loc.start,l);if(n||h||o){let u=this.startNodeAt(i);return s.length&&(u.decorators=s),n&&(u.accessibility=n),h&&(u.readonly=h),o&&(u.override=o),c.type!=="Identifier"&&c.type!=="AssignmentPattern"&&this.raise(y.UnsupportedParameterPropertyKind,{at:u}),u.parameter=c,this.finishNode(u,"TSParameterProperty")}return s.length&&(l.decorators=s),c}isSimpleParameter(e){return e.type==="TSParameterProperty"&&super.isSimpleParameter(e.parameter)||super.isSimpleParameter(e)}tsDisallowOptionalPattern(e){for(let s of e.params)s.type!=="Identifier"&&s.optional&&!this.state.isAmbientContext&&this.raise(y.PatternIsOptional,{at:s})}setArrowFunctionParameters(e,s,i){super.setArrowFunctionParameters(e,s,i),this.tsDisallowOptionalPattern(e)}parseFunctionBodyAndFinish(e,s,i=!1){this.match(14)&&(e.returnType=this.tsParseTypeOrTypePredicateAnnotation(14));let r=s==="FunctionDeclaration"?"TSDeclareFunction":s==="ClassMethod"||s==="ClassPrivateMethod"?"TSDeclareMethod":void 0;return r&&!this.match(5)&&this.isLineTerminator()?this.finishNode(e,r):r==="TSDeclareFunction"&&this.state.isAmbientContext&&(this.raise(y.DeclareFunctionHasImplementation,{at:e}),e.declare)?super.parseFunctionBodyAndFinish(e,r,i):(this.tsDisallowOptionalPattern(e),super.parseFunctionBodyAndFinish(e,s,i))}registerFunctionStatementId(e){!e.body&&e.id?this.checkIdentifier(e.id,ms):super.registerFunctionStatementId(e)}tsCheckForInvalidTypeCasts(e){e.forEach(s=>{(s==null?void 0:s.type)==="TSTypeCastExpression"&&this.raise(y.UnexpectedTypeAnnotation,{at:s.typeAnnotation})})}toReferencedList(e,s){return this.tsCheckForInvalidTypeCasts(e),e}parseArrayLike(e,s,i,r){let n=super.parseArrayLike(e,s,i,r);return n.type==="ArrayExpression"&&this.tsCheckForInvalidTypeCasts(n.elements),n}parseSubscript(e,s,i,r){if(!this.hasPrecedingLineBreak()&&this.match(35)){this.state.canStartJSXElement=!1,this.next();let o=this.startNodeAt(s);return o.expression=e,this.finishNode(o,"TSNonNullExpression")}let n=!1;if(this.match(18)&&this.lookaheadCharCode()===60){if(i)return r.stop=!0,e;r.optionalChainMember=n=!0,this.next()}if(this.match(47)||this.match(51)){let o,h=this.tsTryParseAndCatch(()=>{if(!i&&this.atPossibleAsyncArrow(e)){let d=this.tsTryParseGenericAsyncArrowFunction(s);if(d)return d}let l=this.tsParseTypeArgumentsInExpression();if(!l)return;if(n&&!this.match(10)){o=this.state.curPosition();return}if(Xe(this.state.type)){let d=super.parseTaggedTemplateExpression(e,s,r);return d.typeParameters=l,d}if(!i&&this.eat(10)){let d=this.startNodeAt(s);return d.callee=e,d.arguments=this.parseCallExpressionArguments(11,!1),this.tsCheckForInvalidTypeCasts(d.arguments),d.typeParameters=l,r.optionalChainMember&&(d.optional=n),this.finishCallExpression(d,r.optionalChainMember)}let c=this.state.type;if(c===48||c===52||c!==10&>(c)&&!this.hasPrecedingLineBreak())return;let u=this.startNodeAt(s);return u.expression=e,u.typeParameters=l,this.finishNode(u,"TSInstantiationExpression")});if(o&&this.unexpected(o,10),h)return h.type==="TSInstantiationExpression"&&(this.match(16)||this.match(18)&&this.lookaheadCharCode()!==40)&&this.raise(y.InvalidPropertyAccessAfterInstantiationExpression,{at:this.state.startLoc}),h}return super.parseSubscript(e,s,i,r)}parseNewCallee(e){var s;super.parseNewCallee(e);let{callee:i}=e;i.type==="TSInstantiationExpression"&&!((s=i.extra)!=null&&s.parenthesized)&&(e.typeParameters=i.typeParameters,e.callee=i.expression)}parseExprOp(e,s,i){let r;if(ze(58)>i&&!this.hasPrecedingLineBreak()&&(this.isContextual(93)||(r=this.isContextual(118)))){let n=this.startNodeAt(s);return n.expression=e,n.typeAnnotation=this.tsInType(()=>(this.next(),this.match(75)?(r&&this.raise(p.UnexpectedKeyword,{at:this.state.startLoc,keyword:"const"}),this.tsParseTypeReference()):this.tsParseType())),this.finishNode(n,r?"TSSatisfiesExpression":"TSAsExpression"),this.reScan_lt_gt(),this.parseExprOp(n,s,i)}return super.parseExprOp(e,s,i)}checkReservedWord(e,s,i,r){this.state.isAmbientContext||super.checkReservedWord(e,s,i,r)}checkImportReflection(e){super.checkImportReflection(e),e.module&&e.importKind!=="value"&&this.raise(y.ImportReflectionHasImportType,{at:e.specifiers[0].loc.start})}checkDuplicateExports(){}isPotentialImportPhase(e){if(super.isPotentialImportPhase(e))return!0;if(this.isContextual(128)){let s=this.lookaheadCharCode();return e?s===123||s===42:s!==61}return!e&&this.isContextual(87)}applyImportPhase(e,s,i,r){super.applyImportPhase(e,s,i,r),s?e.exportKind=i==="type"?"type":"value":e.importKind=i==="type"||i==="typeof"?i:"value"}parseImport(e){if(this.match(131))return e.importKind="value",super.parseImport(e);let s;if(S(this.state.type)&&this.lookaheadCharCode()===61)return e.importKind="value",this.tsParseImportEqualsDeclaration(e);if(this.isContextual(128)){let i=this.parseMaybeImportPhase(e,!1);if(this.lookaheadCharCode()===61)return this.tsParseImportEqualsDeclaration(e,i);s=super.parseImportSpecifiersAndAfter(e,i)}else s=super.parseImport(e);return s.importKind==="type"&&s.specifiers.length>1&&s.specifiers[0].type==="ImportDefaultSpecifier"&&this.raise(y.TypeImportCannotSpecifyDefaultAndNamed,{at:s}),s}parseExport(e,s){if(this.match(83)){this.next();let i=null;return this.isContextual(128)&&this.isPotentialImportPhase(!1)?i=this.parseMaybeImportPhase(e,!1):e.importKind="value",this.tsParseImportEqualsDeclaration(e,i,!0)}else if(this.eat(29)){let i=e;return i.expression=super.parseExpression(),this.semicolon(),this.sawUnambiguousESM=!0,this.finishNode(i,"TSExportAssignment")}else if(this.eatContextual(93)){let i=e;return this.expectContextual(126),i.id=this.parseIdentifier(),this.semicolon(),this.finishNode(i,"TSNamespaceExportDeclaration")}else return super.parseExport(e,s)}isAbstractClass(){return this.isContextual(122)&&this.lookahead().type===80}parseExportDefaultExpression(){if(this.isAbstractClass()){let e=this.startNode();return this.next(),e.abstract=!0,this.parseClass(e,!0,!0)}if(this.match(127)){let e=this.tsParseInterfaceDeclaration(this.startNode());if(e)return e}return super.parseExportDefaultExpression()}parseVarStatement(e,s,i=!1){let{isAmbientContext:r}=this.state,n=super.parseVarStatement(e,s,i||r);if(!r)return n;for(let{id:o,init:h}of n.declarations)h&&(s!=="const"||o.typeAnnotation?this.raise(y.InitializerNotAllowedInAmbientContext,{at:h}):ca(h,this.hasPlugin("estree"))||this.raise(y.ConstInitiailizerMustBeStringOrNumericLiteralOrLiteralEnumReference,{at:h}));return n}parseStatementContent(e,s){if(this.match(75)&&this.isLookaheadContextual("enum")){let i=this.startNode();return this.expect(75),this.tsParseEnumDeclaration(i,{const:!0})}if(this.isContextual(124))return this.tsParseEnumDeclaration(this.startNode());if(this.isContextual(127)){let i=this.tsParseInterfaceDeclaration(this.startNode());if(i)return i}return super.parseStatementContent(e,s)}parseAccessModifier(){return this.tsParseModifier(["public","protected","private"])}tsHasSomeModifiers(e,s){return s.some(i=>As(i)?e.accessibility===i:!!e[i])}tsIsStartOfStaticBlocks(){return this.isContextual(104)&&this.lookaheadCharCode()===123}parseClassMember(e,s,i){let r=["declare","private","public","protected","override","abstract","readonly","static"];this.tsParseModifiers({allowedModifiers:r,disallowedModifiers:["in","out"],stopOnStartOfClassStaticBlock:!0,errorTemplate:y.InvalidModifierOnTypeParameterPositions},s);let n=()=>{this.tsIsStartOfStaticBlocks()?(this.next(),this.next(),this.tsHasSomeModifiers(s,r)&&this.raise(y.StaticBlockCannotHaveModifier,{at:this.state.curPosition()}),super.parseClassStaticBlock(e,s)):this.parseClassMemberWithIsStatic(e,s,i,!!s.static)};s.declare?this.tsInAmbientContext(n):n()}parseClassMemberWithIsStatic(e,s,i,r){let n=this.tsTryParseIndexSignature(s);if(n){e.body.push(n),s.abstract&&this.raise(y.IndexSignatureHasAbstract,{at:s}),s.accessibility&&this.raise(y.IndexSignatureHasAccessibility,{at:s,modifier:s.accessibility}),s.declare&&this.raise(y.IndexSignatureHasDeclare,{at:s}),s.override&&this.raise(y.IndexSignatureHasOverride,{at:s});return}!this.state.inAbstractClass&&s.abstract&&this.raise(y.NonAbstractClassHasAbstractMethod,{at:s}),s.override&&(i.hadSuperClass||this.raise(y.OverrideNotInSubClass,{at:s})),super.parseClassMemberWithIsStatic(e,s,i,r)}parsePostMemberNameModifiers(e){this.eat(17)&&(e.optional=!0),e.readonly&&this.match(10)&&this.raise(y.ClassMethodHasReadonly,{at:e}),e.declare&&this.match(10)&&this.raise(y.ClassMethodHasDeclare,{at:e})}parseExpressionStatement(e,s,i){return(s.type==="Identifier"?this.tsParseExpressionStatement(e,s,i):void 0)||super.parseExpressionStatement(e,s,i)}shouldParseExportDeclaration(){return this.tsIsDeclarationStart()?!0:super.shouldParseExportDeclaration()}parseConditional(e,s,i){if(!this.state.maybeInArrowParameters||!this.match(17))return super.parseConditional(e,s,i);let r=this.tryParse(()=>super.parseConditional(e,s));return r.node?(r.error&&(this.state=r.failState),r.node):(r.error&&super.setOptionalParametersError(i,r.error),e)}parseParenItem(e,s){if(e=super.parseParenItem(e,s),this.eat(17)&&(e.optional=!0,this.resetEndLocation(e)),this.match(14)){let i=this.startNodeAt(s);return i.expression=e,i.typeAnnotation=this.tsParseTypeAnnotation(),this.finishNode(i,"TSTypeCastExpression")}return e}parseExportDeclaration(e){if(!this.state.isAmbientContext&&this.isContextual(123))return this.tsInAmbientContext(()=>this.parseExportDeclaration(e));let s=this.state.startLoc,i=this.eatContextual(123);if(i&&(this.isContextual(123)||!this.shouldParseExportDeclaration()))throw this.raise(y.ExpectedAmbientAfterExportDeclare,{at:this.state.startLoc});let n=S(this.state.type)&&this.tsTryParseExportDeclaration()||super.parseExportDeclaration(e);return n?((n.type==="TSInterfaceDeclaration"||n.type==="TSTypeAliasDeclaration"||i)&&(e.exportKind="type"),i&&(this.resetStartLocation(n,s),n.declare=!0),n):null}parseClassId(e,s,i,r){if((!s||i)&&this.isContextual(111))return;super.parseClassId(e,s,i,e.declare?ms:js);let n=this.tsTryParseTypeParameters(this.tsParseInOutConstModifiers);n&&(e.typeParameters=n)}parseClassPropertyAnnotation(e){e.optional||(this.eat(35)?e.definite=!0:this.eat(17)&&(e.optional=!0));let s=this.tsTryParseTypeAnnotation();s&&(e.typeAnnotation=s)}parseClassProperty(e){if(this.parseClassPropertyAnnotation(e),this.state.isAmbientContext&&!(e.readonly&&!e.typeAnnotation)&&this.match(29)&&this.raise(y.DeclareClassFieldHasInitializer,{at:this.state.startLoc}),e.abstract&&this.match(29)){let{key:s}=e;this.raise(y.AbstractPropertyHasInitializer,{at:this.state.startLoc,propertyName:s.type==="Identifier"&&!e.computed?s.name:`[${this.input.slice(s.start,s.end)}]`})}return super.parseClassProperty(e)}parseClassPrivateProperty(e){return e.abstract&&this.raise(y.PrivateElementHasAbstract,{at:e}),e.accessibility&&this.raise(y.PrivateElementHasAccessibility,{at:e,modifier:e.accessibility}),this.parseClassPropertyAnnotation(e),super.parseClassPrivateProperty(e)}parseClassAccessorProperty(e){return this.parseClassPropertyAnnotation(e),e.optional&&this.raise(y.AccessorCannotBeOptional,{at:e}),super.parseClassAccessorProperty(e)}pushClassMethod(e,s,i,r,n,o){let h=this.tsTryParseTypeParameters(this.tsParseConstModifier);h&&n&&this.raise(y.ConstructorHasTypeParameters,{at:h});let{declare:l=!1,kind:c}=s;l&&(c==="get"||c==="set")&&this.raise(y.DeclareAccessor,{at:s,kind:c}),h&&(s.typeParameters=h),super.pushClassMethod(e,s,i,r,n,o)}pushClassPrivateMethod(e,s,i,r){let n=this.tsTryParseTypeParameters(this.tsParseConstModifier);n&&(s.typeParameters=n),super.pushClassPrivateMethod(e,s,i,r)}declareClassPrivateMethodInScope(e,s){e.type!=="TSDeclareMethod"&&(e.type==="MethodDefinition"&&!e.value.body||super.declareClassPrivateMethodInScope(e,s))}parseClassSuper(e){super.parseClassSuper(e),e.superClass&&(this.match(47)||this.match(51))&&(e.superTypeParameters=this.tsParseTypeArgumentsInExpression()),this.eatContextual(111)&&(e.implements=this.tsParseHeritageClause("implements"))}parseObjPropValue(e,s,i,r,n,o,h){let l=this.tsTryParseTypeParameters(this.tsParseConstModifier);return l&&(e.typeParameters=l),super.parseObjPropValue(e,s,i,r,n,o,h)}parseFunctionParams(e,s){let i=this.tsTryParseTypeParameters(this.tsParseConstModifier);i&&(e.typeParameters=i),super.parseFunctionParams(e,s)}parseVarId(e,s){super.parseVarId(e,s),e.id.type==="Identifier"&&!this.hasPrecedingLineBreak()&&this.eat(35)&&(e.definite=!0);let i=this.tsTryParseTypeAnnotation();i&&(e.id.typeAnnotation=i,this.resetEndLocation(e.id))}parseAsyncArrowFromCallExpression(e,s){return this.match(14)&&(e.returnType=this.tsParseTypeAnnotation()),super.parseAsyncArrowFromCallExpression(e,s)}parseMaybeAssign(e,s){var i,r,n,o,h;let l,c,u;if(this.hasPlugin("jsx")&&(this.match(140)||this.match(47))){if(l=this.state.clone(),c=this.tryParse(()=>super.parseMaybeAssign(e,s),l),!c.error)return c.node;let{context:x}=this.state,I=x[x.length-1];(I===E.j_oTag||I===E.j_expr)&&x.pop()}if(!((i=c)!=null&&i.error)&&!this.match(47))return super.parseMaybeAssign(e,s);(!l||l===this.state)&&(l=this.state.clone());let d,f=this.tryParse(x=>{var I,C;d=this.tsParseTypeParameters(this.tsParseConstModifier);let w=super.parseMaybeAssign(e,s);return(w.type!=="ArrowFunctionExpression"||(I=w.extra)!=null&&I.parenthesized)&&x(),((C=d)==null?void 0:C.params.length)!==0&&this.resetStartLocationFromNode(w,d),w.typeParameters=d,w},l);if(!f.error&&!f.aborted)return d&&this.reportReservedArrowTypeParam(d),f.node;if(!c&&(bs(!this.hasPlugin("jsx")),u=this.tryParse(()=>super.parseMaybeAssign(e,s),l),!u.error))return u.node;if((r=c)!=null&&r.node)return this.state=c.failState,c.node;if(f.node)return this.state=f.failState,d&&this.reportReservedArrowTypeParam(d),f.node;if((n=u)!=null&&n.node)return this.state=u.failState,u.node;throw((o=c)==null?void 0:o.error)||f.error||((h=u)==null?void 0:h.error)}reportReservedArrowTypeParam(e){var s;e.params.length===1&&!e.params[0].constraint&&!((s=e.extra)!=null&&s.trailingComma)&&this.getPluginOption("typescript","disallowAmbiguousJSXLike")&&this.raise(y.ReservedArrowTypeParam,{at:e})}parseMaybeUnary(e,s){return!this.hasPlugin("jsx")&&this.match(47)?this.tsParseTypeAssertion():super.parseMaybeUnary(e,s)}parseArrow(e){if(this.match(14)){let s=this.tryParse(i=>{let r=this.tsParseTypeOrTypePredicateAnnotation(14);return(this.canInsertSemicolon()||!this.match(19))&&i(),r});if(s.aborted)return;s.thrown||(s.error&&(this.state=s.failState),e.returnType=s.node)}return super.parseArrow(e)}parseAssignableListItemTypes(e,s){if(!(s&2))return e;this.eat(17)&&(e.optional=!0);let i=this.tsTryParseTypeAnnotation();return i&&(e.typeAnnotation=i),this.resetEndLocation(e),e}isAssignable(e,s){switch(e.type){case"TSTypeCastExpression":return this.isAssignable(e.expression,s);case"TSParameterProperty":return!0;default:return super.isAssignable(e,s)}}toAssignable(e,s=!1){switch(e.type){case"ParenthesizedExpression":this.toAssignableParenthesizedExpression(e,s);break;case"TSAsExpression":case"TSSatisfiesExpression":case"TSNonNullExpression":case"TSTypeAssertion":s?this.expressionScope.recordArrowParameterBindingError(y.UnexpectedTypeCastInParameter,{at:e}):this.raise(y.UnexpectedTypeCastInParameter,{at:e}),this.toAssignable(e.expression,s);break;case"AssignmentExpression":!s&&e.left.type==="TSTypeCastExpression"&&(e.left=this.typeCastToParameter(e.left));default:super.toAssignable(e,s)}}toAssignableParenthesizedExpression(e,s){switch(e.expression.type){case"TSAsExpression":case"TSSatisfiesExpression":case"TSNonNullExpression":case"TSTypeAssertion":case"ParenthesizedExpression":this.toAssignable(e.expression,s);break;default:super.toAssignable(e,s)}}checkToRestConversion(e,s){switch(e.type){case"TSAsExpression":case"TSSatisfiesExpression":case"TSTypeAssertion":case"TSNonNullExpression":this.checkToRestConversion(e.expression,!1);break;default:super.checkToRestConversion(e,s)}}isValidLVal(e,s,i){return ra({TSTypeCastExpression:!0,TSParameterProperty:"parameter",TSNonNullExpression:"expression",TSAsExpression:(i!==W||!s)&&["expression",!0],TSSatisfiesExpression:(i!==W||!s)&&["expression",!0],TSTypeAssertion:(i!==W||!s)&&["expression",!0]},e)||super.isValidLVal(e,s,i)}parseBindingAtom(){return this.state.type===78?this.parseIdentifier(!0):super.parseBindingAtom()}parseMaybeDecoratorArguments(e){if(this.match(47)||this.match(51)){let s=this.tsParseTypeArgumentsInExpression();if(this.match(10)){let i=super.parseMaybeDecoratorArguments(e);return i.typeParameters=s,i}this.unexpected(null,10)}return super.parseMaybeDecoratorArguments(e)}checkCommaAfterRest(e){return this.state.isAmbientContext&&this.match(12)&&this.lookaheadCharCode()===e?(this.next(),!1):super.checkCommaAfterRest(e)}isClassMethod(){return this.match(47)||super.isClassMethod()}isClassProperty(){return this.match(35)||this.match(14)||super.isClassProperty()}parseMaybeDefault(e,s){let i=super.parseMaybeDefault(e,s);return i.type==="AssignmentPattern"&&i.typeAnnotation&&i.right.startthis.isAssignable(s,!0)):super.shouldParseArrow(e)}shouldParseAsyncArrow(){return this.match(14)||super.shouldParseAsyncArrow()}canHaveLeadingDecorator(){return super.canHaveLeadingDecorator()||this.isAbstractClass()}jsxParseOpeningElementAfterName(e){if(this.match(47)||this.match(51)){let s=this.tsTryParseAndCatch(()=>this.tsParseTypeArgumentsInExpression());s&&(e.typeParameters=s)}return super.jsxParseOpeningElementAfterName(e)}getGetterSetterExpectedParamCount(e){let s=super.getGetterSetterExpectedParamCount(e),r=this.getObjectOrClassMethodParams(e)[0];return r&&this.isThisParam(r)?s+1:s}parseCatchClauseParam(){let e=super.parseCatchClauseParam(),s=this.tsTryParseTypeAnnotation();return s&&(e.typeAnnotation=s,this.resetEndLocation(e)),e}tsInAmbientContext(e){let s=this.state.isAmbientContext;this.state.isAmbientContext=!0;try{return e()}finally{this.state.isAmbientContext=s}}parseClass(e,s,i){let r=this.state.inAbstractClass;this.state.inAbstractClass=!!e.abstract;try{return super.parseClass(e,s,i)}finally{this.state.inAbstractClass=r}}tsParseAbstractDeclaration(e,s){if(this.match(80))return e.abstract=!0,this.maybeTakeDecorators(s,this.parseClass(e,!0,!1));if(this.isContextual(127)){if(!this.hasFollowingLineBreak())return e.abstract=!0,this.raise(y.NonClassMethodPropertyHasAbstractModifer,{at:e}),this.tsParseInterfaceDeclaration(e)}else this.unexpected(null,80)}parseMethod(e,s,i,r,n,o,h){let l=super.parseMethod(e,s,i,r,n,o,h);if(l.abstract&&(this.hasPlugin("estree")?!!l.value.body:!!l.body)){let{key:u}=l;this.raise(y.AbstractMethodHasImplementation,{at:l,methodName:u.type==="Identifier"&&!l.computed?u.name:`[${this.input.slice(u.start,u.end)}]`})}return l}tsParseTypeParameterName(){return this.parseIdentifier().name}shouldParseAsAmbientContext(){return!!this.getPluginOption("typescript","dts")}parse(){return this.shouldParseAsAmbientContext()&&(this.state.isAmbientContext=!0),super.parse()}getExpression(){return this.shouldParseAsAmbientContext()&&(this.state.isAmbientContext=!0),super.getExpression()}parseExportSpecifier(e,s,i,r){return!s&&r?(this.parseTypeOnlyImportExportSpecifier(e,!1,i),this.finishNode(e,"ExportSpecifier")):(e.exportKind="value",super.parseExportSpecifier(e,s,i,r))}parseImportSpecifier(e,s,i,r,n){return!s&&r?(this.parseTypeOnlyImportExportSpecifier(e,!0,i),this.finishNode(e,"ImportSpecifier")):(e.importKind="value",super.parseImportSpecifier(e,s,i,r,i?ys:Ne))}parseTypeOnlyImportExportSpecifier(e,s,i){let r=s?"imported":"local",n=s?"local":"exported",o=e[r],h,l=!1,c=!0,u=o.loc.start;if(this.isContextual(93)){let f=this.parseIdentifier();if(this.isContextual(93)){let x=this.parseIdentifier();M(this.state.type)?(l=!0,o=f,h=s?this.parseIdentifier():this.parseModuleExportName(),c=!1):(h=x,c=!1)}else M(this.state.type)?(c=!1,h=s?this.parseIdentifier():this.parseModuleExportName()):(l=!0,o=f)}else M(this.state.type)&&(l=!0,s?(o=this.parseIdentifier(!0),this.isContextual(93)||this.checkReservedWord(o.name,o.loc.start,!0,!0)):o=this.parseModuleExportName());l&&i&&this.raise(s?y.TypeModifierIsUsedInTypeImports:y.TypeModifierIsUsedInTypeExports,{at:u}),e[r]=o,e[n]=h;let d=s?"importKind":"exportKind";e[d]=l?"type":"value",c&&this.eatContextual(93)&&(e[n]=s?this.parseIdentifier():this.parseModuleExportName()),e[n]||(e[n]=K(e[r])),s&&this.checkIdentifier(e[n],l?ys:Ne)}};function la(a){if(a.type!=="MemberExpression")return!1;let{computed:t,property:e}=a;return t&&e.type!=="StringLiteral"&&(e.type!=="TemplateLiteral"||e.expressions.length>0)?!1:ei(a.object)}function ca(a,t){var e;let{type:s}=a;if((e=a.extra)!=null&&e.parenthesized)return!1;if(t){if(s==="Literal"){let{value:i}=a;if(typeof i=="string"||typeof i=="boolean")return!0}}else if(s==="StringLiteral"||s==="BooleanLiteral")return!0;return!!(Zs(a,t)||pa(a,t)||s==="TemplateLiteral"&&a.expressions.length===0||la(a))}function Zs(a,t){return t?a.type==="Literal"&&(typeof a.value=="number"||"bigint"in a):a.type==="NumericLiteral"||a.type==="BigIntLiteral"}function pa(a,t){if(a.type==="UnaryExpression"){let{operator:e,argument:s}=a;if(e==="-"&&Zs(s,t))return!0}return!1}function ei(a){return a.type==="Identifier"?!0:a.type!=="MemberExpression"||a.computed?!1:ei(a.object)}var Ss=V`placeholders`({ClassNameIsRequired:"A class name is required.",UnexpectedSpace:"Unexpected space in placeholder."}),ua=a=>class extends a{parsePlaceholder(e){if(this.match(142)){let s=this.startNode();return this.next(),this.assertNoSpace(),s.name=super.parseIdentifier(!0),this.assertNoSpace(),this.expect(142),this.finishPlaceholder(s,e)}}finishPlaceholder(e,s){let i=!!(e.expectedNode&&e.type==="Placeholder");return e.expectedNode=s,i?e:this.finishNode(e,"Placeholder")}getTokenFromCode(e){e===37&&this.input.charCodeAt(this.state.pos+1)===37?this.finishOp(142,2):super.getTokenFromCode(e)}parseExprAtom(e){return this.parsePlaceholder("Expression")||super.parseExprAtom(e)}parseIdentifier(e){return this.parsePlaceholder("Identifier")||super.parseIdentifier(e)}checkReservedWord(e,s,i,r){e!==void 0&&super.checkReservedWord(e,s,i,r)}parseBindingAtom(){return this.parsePlaceholder("Pattern")||super.parseBindingAtom()}isValidLVal(e,s,i){return e==="Placeholder"||super.isValidLVal(e,s,i)}toAssignable(e,s){e&&e.type==="Placeholder"&&e.expectedNode==="Expression"?e.expectedNode="Pattern":super.toAssignable(e,s)}chStartsBindingIdentifier(e,s){return!!(super.chStartsBindingIdentifier(e,s)||this.lookahead().type===142)}verifyBreakContinue(e,s){e.label&&e.label.type==="Placeholder"||super.verifyBreakContinue(e,s)}parseExpressionStatement(e,s){if(s.type!=="Placeholder"||s.extra&&s.extra.parenthesized)return super.parseExpressionStatement(e,s);if(this.match(14)){let i=e;return i.label=this.finishPlaceholder(s,"Identifier"),this.next(),i.body=super.parseStatementOrSloppyAnnexBFunctionDeclaration(),this.finishNode(i,"LabeledStatement")}return this.semicolon(),e.name=s.name,this.finishPlaceholder(e,"Statement")}parseBlock(e,s,i){return this.parsePlaceholder("BlockStatement")||super.parseBlock(e,s,i)}parseFunctionId(e){return this.parsePlaceholder("Identifier")||super.parseFunctionId(e)}parseClass(e,s,i){let r=s?"ClassDeclaration":"ClassExpression";this.next();let n=this.state.strict,o=this.parsePlaceholder("Identifier");if(o)if(this.match(81)||this.match(142)||this.match(5))e.id=o;else{if(i||!s)return e.id=null,e.body=this.finishPlaceholder(o,"ClassBody"),this.finishNode(e,r);throw this.raise(Ss.ClassNameIsRequired,{at:this.state.startLoc})}else this.parseClassId(e,s,i);return super.parseClassSuper(e),e.body=this.parsePlaceholder("ClassBody")||super.parseClassBody(!!e.superClass,n),this.finishNode(e,r)}parseExport(e,s){let i=this.parsePlaceholder("Identifier");if(!i)return super.parseExport(e,s);if(!this.isContextual(97)&&!this.match(12))return e.specifiers=[],e.source=null,e.declaration=this.finishPlaceholder(i,"Declaration"),this.finishNode(e,"ExportNamedDeclaration");this.expectPlugin("exportDefaultFrom");let r=this.startNode();return r.exported=i,e.specifiers=[this.finishNode(r,"ExportDefaultSpecifier")],super.parseExport(e,s)}isExportDefaultSpecifier(){if(this.match(65)){let e=this.nextTokenStart();if(this.isUnparsedContextual(e,"from")&&this.input.startsWith(J(142),this.nextTokenStartSince(e+4)))return!0}return super.isExportDefaultSpecifier()}maybeParseExportDefaultSpecifier(e,s){var i;return(i=e.specifiers)!=null&&i.length?!0:super.maybeParseExportDefaultSpecifier(e,s)}checkExport(e){let{specifiers:s}=e;s!=null&&s.length&&(e.specifiers=s.filter(i=>i.exported.type==="Placeholder")),super.checkExport(e),e.specifiers=s}parseImport(e){let s=this.parsePlaceholder("Identifier");if(!s)return super.parseImport(e);if(e.specifiers=[],!this.isContextual(97)&&!this.match(12))return e.source=this.finishPlaceholder(s,"StringLiteral"),this.semicolon(),this.finishNode(e,"ImportDeclaration");let i=this.startNodeAtNode(s);return i.local=s,e.specifiers.push(this.finishNode(i,"ImportDefaultSpecifier")),this.eat(12)&&(this.maybeParseStarImportSpecifier(e)||this.parseNamedImportSpecifiers(e)),this.expectContextual(97),e.source=this.parseImportSource(),this.semicolon(),this.finishNode(e,"ImportDeclaration")}parseImportSource(){return this.parsePlaceholder("StringLiteral")||super.parseImportSource()}assertNoSpace(){this.state.start>this.state.lastTokEndLoc.index&&this.raise(Ss.UnexpectedSpace,{at:this.state.lastTokEndLoc})}},fa=a=>class extends a{parseV8Intrinsic(){if(this.match(54)){let e=this.state.startLoc,s=this.startNode();if(this.next(),S(this.state.type)){let i=this.parseIdentifierName(),r=this.createIdentifier(s,i);if(r.type="V8IntrinsicIdentifier",this.match(10))return r}this.unexpected(e)}}parseExprAtom(e){return this.parseV8Intrinsic()||super.parseExprAtom(e)}};function k(a,t){let[e,s]=typeof t=="string"?[t,{}]:t,i=Object.keys(s),r=i.length===0;return a.some(n=>{if(typeof n=="string")return r&&n===e;{let[o,h]=n;if(o!==e)return!1;for(let l of i)if(h[l]!==s[l])return!1;return!0}})}function Q(a,t,e){let s=a.find(i=>Array.isArray(i)?i[0]===t:i===t);return s&&Array.isArray(s)&&s.length>1?s[1][e]:null}var Es=["minimal","fsharp","hack","smart"],Cs=["^^","@@","^","%","#"],ws=["hash","bar"];function da(a){if(k(a,"decorators")){if(k(a,"decorators-legacy"))throw new Error("Cannot use the decorators and decorators-legacy plugin together");let t=Q(a,"decorators","decoratorsBeforeExport");if(t!=null&&typeof t!="boolean")throw new Error("'decoratorsBeforeExport' must be a boolean, if specified.");let e=Q(a,"decorators","allowCallParenthesized");if(e!=null&&typeof e!="boolean")throw new Error("'allowCallParenthesized' must be a boolean.")}if(k(a,"flow")&&k(a,"typescript"))throw new Error("Cannot combine flow and typescript plugins.");if(k(a,"placeholders")&&k(a,"v8intrinsic"))throw new Error("Cannot combine placeholders and v8intrinsic plugins.");if(k(a,"pipelineOperator")){let t=Q(a,"pipelineOperator","proposal");if(!Es.includes(t)){let s=Es.map(i=>`"${i}"`).join(", ");throw new Error(`"pipelineOperator" requires "proposal" option whose value must be one of: ${s}.`)}let e=k(a,["recordAndTuple",{syntaxType:"hash"}]);if(t==="hack"){if(k(a,"placeholders"))throw new Error("Cannot combine placeholders plugin and Hack-style pipes.");if(k(a,"v8intrinsic"))throw new Error("Cannot combine v8intrinsic plugin and Hack-style pipes.");let s=Q(a,"pipelineOperator","topicToken");if(!Cs.includes(s)){let i=Cs.map(r=>`"${r}"`).join(", ");throw new Error(`"pipelineOperator" in "proposal": "hack" mode also requires a "topicToken" option whose value must be one of: ${i}.`)}if(s==="#"&&e)throw new Error('Plugin conflict between `["pipelineOperator", { proposal: "hack", topicToken: "#" }]` and `["recordAndtuple", { syntaxType: "hash"}]`.')}else if(t==="smart"&&e)throw new Error('Plugin conflict between `["pipelineOperator", { proposal: "smart" }]` and `["recordAndtuple", { syntaxType: "hash"}]`.')}if(k(a,"moduleAttributes")){if(k(a,"importAssertions")||k(a,"importAttributes"))throw new Error("Cannot combine importAssertions, importAttributes and moduleAttributes plugins.");if(Q(a,"moduleAttributes","version")!=="may-2020")throw new Error("The 'moduleAttributes' plugin requires a 'version' option, representing the last proposal update. Currently, the only supported value is 'may-2020'.")}if(k(a,"importAssertions")&&k(a,"importAttributes"))throw new Error("Cannot combine importAssertions and importAttributes plugins.");if(k(a,"recordAndTuple")&&Q(a,"recordAndTuple","syntaxType")!=null&&!ws.includes(Q(a,"recordAndTuple","syntaxType")))throw new Error("The 'syntaxType' option of the 'recordAndTuple' plugin must be one of: "+ws.map(t=>`'${t}'`).join(", "));if(k(a,"asyncDoExpressions")&&!k(a,"doExpressions")){let t=new Error("'asyncDoExpressions' requires 'doExpressions', please add 'doExpressions' to parser plugins.");throw t.missingPlugins="doExpressions",t}}var ti={estree:sr,jsx:sa,flow:ta,typescript:ha,v8intrinsic:fa,placeholders:ua},ma=Object.keys(ti),Is={sourceType:"script",sourceFilename:void 0,startColumn:0,startLine:1,allowAwaitOutsideFunction:!1,allowReturnOutsideFunction:!1,allowNewTargetOutsideFunction:!1,allowImportExportEverywhere:!1,allowSuperOutsideMethod:!1,allowUndeclaredExports:!1,plugins:[],strictMode:null,ranges:!1,tokens:!1,createParenthesizedExpressions:!1,errorRecovery:!1,attachComment:!0,annexB:!0};function ya(a){if(a&&a.annexB!=null&&a.annexB!==!1)throw new Error("The `annexB` option can only be set to `false`.");let t={};for(let e of Object.keys(Is))t[e]=a&&a[e]!=null?a[e]:Is[e];return t}var $t=class extends jt{checkProto(t,e,s,i){if(t.type==="SpreadElement"||this.isObjectMethod(t)||t.computed||t.shorthand)return;let r=t.key;if((r.type==="Identifier"?r.name:r.value)==="__proto__"){if(e){this.raise(p.RecordNoProto,{at:r});return}s.used&&(i?i.doubleProtoLoc===null&&(i.doubleProtoLoc=r.loc.start):this.raise(p.DuplicateProto,{at:r})),s.used=!0}}shouldExitDescending(t,e){return t.type==="ArrowFunctionExpression"&&t.start===e}getExpression(){this.enterInitialScopes(),this.nextToken();let t=this.parseExpression();return this.match(137)||this.unexpected(),this.finalizeRemainingComments(),t.comments=this.state.comments,t.errors=this.state.errors,this.options.tokens&&(t.tokens=this.tokens),t}parseExpression(t,e){return t?this.disallowInAnd(()=>this.parseExpressionBase(e)):this.allowInAnd(()=>this.parseExpressionBase(e))}parseExpressionBase(t){let e=this.state.startLoc,s=this.parseMaybeAssign(t);if(this.match(12)){let i=this.startNodeAt(e);for(i.expressions=[s];this.eat(12);)i.expressions.push(this.parseMaybeAssign(t));return this.toReferencedList(i.expressions),this.finishNode(i,"SequenceExpression")}return s}parseMaybeAssignDisallowIn(t,e){return this.disallowInAnd(()=>this.parseMaybeAssign(t,e))}parseMaybeAssignAllowIn(t,e){return this.allowInAnd(()=>this.parseMaybeAssign(t,e))}setOptionalParametersError(t,e){var s;t.optionalParametersLoc=(s=e==null?void 0:e.loc)!=null?s:this.state.startLoc}parseMaybeAssign(t,e){let s=this.state.startLoc;if(this.isContextual(106)&&this.prodParam.hasYield){let o=this.parseYield();return e&&(o=e.call(this,o,s)),o}let i;t?i=!1:(t=new ue,i=!0);let{type:r}=this.state;(r===10||S(r))&&(this.state.potentialArrowAt=this.state.start);let n=this.parseMaybeConditional(t);if(e&&(n=e.call(this,n,s)),or(this.state.type)){let o=this.startNodeAt(s),h=this.state.value;if(o.operator=h,this.match(29)){this.toAssignable(n,!0),o.left=n;let l=s.index;t.doubleProtoLoc!=null&&t.doubleProtoLoc.index>=l&&(t.doubleProtoLoc=null),t.shorthandAssignLoc!=null&&t.shorthandAssignLoc.index>=l&&(t.shorthandAssignLoc=null),t.privateKeyLoc!=null&&t.privateKeyLoc.index>=l&&(this.checkDestructuringPrivate(t),t.privateKeyLoc=null)}else o.left=n;return this.next(),o.right=this.parseMaybeAssign(),this.checkLVal(n,{in:this.finishNode(o,"AssignmentExpression")}),o}else i&&this.checkExpressionErrors(t,!0);return n}parseMaybeConditional(t){let e=this.state.startLoc,s=this.state.potentialArrowAt,i=this.parseExprOps(t);return this.shouldExitDescending(i,s)?i:this.parseConditional(i,e,t)}parseConditional(t,e,s){if(this.eat(17)){let i=this.startNodeAt(e);return i.test=t,i.consequent=this.parseMaybeAssignAllowIn(),this.expect(14),i.alternate=this.parseMaybeAssign(),this.finishNode(i,"ConditionalExpression")}return t}parseMaybeUnaryOrPrivate(t){return this.match(136)?this.parsePrivateName():this.parseMaybeUnary(t)}parseExprOps(t){let e=this.state.startLoc,s=this.state.potentialArrowAt,i=this.parseMaybeUnaryOrPrivate(t);return this.shouldExitDescending(i,s)?i:this.parseExprOp(i,e,-1)}parseExprOp(t,e,s){if(this.isPrivateName(t)){let r=this.getPrivateNameSV(t);(s>=ze(58)||!this.prodParam.hasIn||!this.match(58))&&this.raise(p.PrivateInExpectedIn,{at:t,identifierName:r}),this.classScope.usePrivateName(r,t.loc.start)}let i=this.state.type;if(lr(i)&&(this.prodParam.hasIn||!this.match(58))){let r=ze(i);if(r>s){if(i===39){if(this.expectPlugin("pipelineOperator"),this.state.inFSharpPipelineDirectBody)return t;this.checkPipelineAtInfixOperator(t,e)}let n=this.startNodeAt(e);n.left=t,n.operator=this.state.value;let o=i===41||i===42,h=i===40;if(h&&(r=ze(42)),this.next(),i===39&&this.hasPlugin(["pipelineOperator",{proposal:"minimal"}])&&this.state.type===96&&this.prodParam.hasAwait)throw this.raise(p.UnexpectedAwaitAfterPipelineBody,{at:this.state.startLoc});n.right=this.parseExprOpRightExpr(i,r);let l=this.finishNode(n,o||h?"LogicalExpression":"BinaryExpression"),c=this.state.type;if(h&&(c===41||c===42)||o&&c===40)throw this.raise(p.MixingCoalesceWithLogical,{at:this.state.startLoc});return this.parseExprOp(l,e,s)}}return t}parseExprOpRightExpr(t,e){let s=this.state.startLoc;switch(t){case 39:switch(this.getPluginOption("pipelineOperator","proposal")){case"hack":return this.withTopicBindingContext(()=>this.parseHackPipeBody());case"smart":return this.withTopicBindingContext(()=>{if(this.prodParam.hasYield&&this.isContextual(106))throw this.raise(p.PipeBodyIsTighter,{at:this.state.startLoc});return this.parseSmartPipelineBodyInStyle(this.parseExprOpBaseRightExpr(t,e),s)});case"fsharp":return this.withSoloAwaitPermittingContext(()=>this.parseFSharpPipelineBody(e))}default:return this.parseExprOpBaseRightExpr(t,e)}}parseExprOpBaseRightExpr(t,e){let s=this.state.startLoc;return this.parseExprOp(this.parseMaybeUnaryOrPrivate(),s,dr(t)?e-1:e)}parseHackPipeBody(){var t;let{startLoc:e}=this.state,s=this.parseMaybeAssign();return Gi.has(s.type)&&!((t=s.extra)!=null&&t.parenthesized)&&this.raise(p.PipeUnparenthesizedBody,{at:e,type:s.type}),this.topicReferenceWasUsedInCurrentContext()||this.raise(p.PipeTopicUnused,{at:e}),s}checkExponentialAfterUnary(t){this.match(57)&&this.raise(p.UnexpectedTokenUnaryExponentiation,{at:t.argument})}parseMaybeUnary(t,e){let s=this.state.startLoc,i=this.isContextual(96);if(i&&this.isAwaitAllowed()){this.next();let h=this.parseAwait(s);return e||this.checkExponentialAfterUnary(h),h}let r=this.match(34),n=this.startNode();if(pr(this.state.type)){n.operator=this.state.value,n.prefix=!0,this.match(72)&&this.expectPlugin("throwExpressions");let h=this.match(89);if(this.next(),n.argument=this.parseMaybeUnary(null,!0),this.checkExpressionErrors(t,!0),this.state.strict&&h){let l=n.argument;l.type==="Identifier"?this.raise(p.StrictDelete,{at:n}):this.hasPropertyAsPrivateName(l)&&this.raise(p.DeletePrivateField,{at:n})}if(!r)return e||this.checkExponentialAfterUnary(n),this.finishNode(n,"UnaryExpression")}let o=this.parseUpdate(n,r,t);if(i){let{type:h}=this.state;if((this.hasPlugin("v8intrinsic")?gt(h):gt(h)&&!this.match(54))&&!this.isAmbiguousAwait())return this.raiseOverwrite(p.AwaitNotInAsyncContext,{at:s}),this.parseAwait(s)}return o}parseUpdate(t,e,s){if(e){let n=t;return this.checkLVal(n.argument,{in:this.finishNode(n,"UpdateExpression")}),t}let i=this.state.startLoc,r=this.parseExprSubscripts(s);if(this.checkExpressionErrors(s,!1))return r;for(;cr(this.state.type)&&!this.canInsertSemicolon();){let n=this.startNodeAt(i);n.operator=this.state.value,n.prefix=!1,n.argument=r,this.next(),this.checkLVal(r,{in:r=this.finishNode(n,"UpdateExpression")})}return r}parseExprSubscripts(t){let e=this.state.startLoc,s=this.state.potentialArrowAt,i=this.parseExprAtom(t);return this.shouldExitDescending(i,s)?i:this.parseSubscripts(i,e)}parseSubscripts(t,e,s){let i={optionalChainMember:!1,maybeAsyncArrow:this.atPossibleAsyncArrow(t),stop:!1};do t=this.parseSubscript(t,e,s,i),i.maybeAsyncArrow=!1;while(!i.stop);return t}parseSubscript(t,e,s,i){let{type:r}=this.state;if(!s&&r===15)return this.parseBind(t,e,s,i);if(Xe(r))return this.parseTaggedTemplateExpression(t,e,i);let n=!1;if(r===18){if(s&&(this.raise(p.OptionalChainingNoNew,{at:this.state.startLoc}),this.lookaheadCharCode()===40))return i.stop=!0,t;i.optionalChainMember=n=!0,this.next()}if(!s&&this.match(10))return this.parseCoverCallAndAsyncArrowHead(t,e,i,n);{let o=this.eat(0);return o||n||this.eat(16)?this.parseMember(t,e,i,o,n):(i.stop=!0,t)}}parseMember(t,e,s,i,r){let n=this.startNodeAt(e);return n.object=t,n.computed=i,i?(n.property=this.parseExpression(),this.expect(3)):this.match(136)?(t.type==="Super"&&this.raise(p.SuperPrivateField,{at:e}),this.classScope.usePrivateName(this.state.value,this.state.startLoc),n.property=this.parsePrivateName()):n.property=this.parseIdentifier(!0),s.optionalChainMember?(n.optional=r,this.finishNode(n,"OptionalMemberExpression")):this.finishNode(n,"MemberExpression")}parseBind(t,e,s,i){let r=this.startNodeAt(e);return r.object=t,this.next(),r.callee=this.parseNoCallExpr(),i.stop=!0,this.parseSubscripts(this.finishNode(r,"BindExpression"),e,s)}parseCoverCallAndAsyncArrowHead(t,e,s,i){let r=this.state.maybeInArrowParameters,n=null;this.state.maybeInArrowParameters=!0,this.next();let o=this.startNodeAt(e);o.callee=t;let{maybeAsyncArrow:h,optionalChainMember:l}=s;h&&(this.expressionScope.enter(Wr()),n=new ue),l&&(o.optional=i),i?o.arguments=this.parseCallExpressionArguments(11):o.arguments=this.parseCallExpressionArguments(11,t.type==="Import",t.type!=="Super",o,n);let c=this.finishCallExpression(o,l);return h&&this.shouldParseAsyncArrow()&&!i?(s.stop=!0,this.checkDestructuringPrivate(n),this.expressionScope.validateAsPattern(),this.expressionScope.exit(),c=this.parseAsyncArrowFromCallExpression(this.startNodeAt(e),c)):(h&&(this.checkExpressionErrors(n,!0),this.expressionScope.exit()),this.toReferencedArguments(c)),this.state.maybeInArrowParameters=r,c}toReferencedArguments(t,e){this.toReferencedListDeep(t.arguments,e)}parseTaggedTemplateExpression(t,e,s){let i=this.startNodeAt(e);return i.tag=t,i.quasi=this.parseTemplate(!0),s.optionalChainMember&&this.raise(p.OptionalChainingNoTemplate,{at:e}),this.finishNode(i,"TaggedTemplateExpression")}atPossibleAsyncArrow(t){return t.type==="Identifier"&&t.name==="async"&&this.state.lastTokEndLoc.index===t.end&&!this.canInsertSemicolon()&&t.end-t.start===5&&t.start===this.state.potentialArrowAt}expectImportAttributesPlugin(){this.hasPlugin("importAssertions")||this.expectPlugin("importAttributes")}finishCallExpression(t,e){if(t.callee.type==="Import")if(t.arguments.length===2&&(this.hasPlugin("moduleAttributes")||this.expectImportAttributesPlugin()),t.arguments.length===0||t.arguments.length>2)this.raise(p.ImportCallArity,{at:t,maxArgumentCount:this.hasPlugin("importAttributes")||this.hasPlugin("importAssertions")||this.hasPlugin("moduleAttributes")?2:1});else for(let s of t.arguments)s.type==="SpreadElement"&&this.raise(p.ImportCallSpreadArgument,{at:s});return this.finishNode(t,e?"OptionalCallExpression":"CallExpression")}parseCallExpressionArguments(t,e,s,i,r){let n=[],o=!0,h=this.state.inFSharpPipelineDirectBody;for(this.state.inFSharpPipelineDirectBody=!1;!this.eat(t);){if(o)o=!1;else if(this.expect(12),this.match(t)){e&&!this.hasPlugin("importAttributes")&&!this.hasPlugin("importAssertions")&&!this.hasPlugin("moduleAttributes")&&this.raise(p.ImportCallArgumentTrailingComma,{at:this.state.lastTokStartLoc}),i&&this.addTrailingCommaExtraToNode(i),this.next();break}n.push(this.parseExprListItem(!1,r,s))}return this.state.inFSharpPipelineDirectBody=h,n}shouldParseAsyncArrow(){return this.match(19)&&!this.canInsertSemicolon()}parseAsyncArrowFromCallExpression(t,e){var s;return this.resetPreviousNodeTrailingComments(e),this.expect(19),this.parseArrowExpression(t,e.arguments,!0,(s=e.extra)==null?void 0:s.trailingCommaLoc),e.innerComments&&De(t,e.innerComments),e.callee.trailingComments&&De(t,e.callee.trailingComments),t}parseNoCallExpr(){let t=this.state.startLoc;return this.parseSubscripts(this.parseExprAtom(),t,!0)}parseExprAtom(t){let e,s=null,{type:i}=this.state;switch(i){case 79:return this.parseSuper();case 83:return e=this.startNode(),this.next(),this.match(16)?this.parseImportMetaProperty(e):(this.match(10)||this.raise(p.UnsupportedImport,{at:this.state.lastTokStartLoc}),this.finishNode(e,"Import"));case 78:return e=this.startNode(),this.next(),this.finishNode(e,"ThisExpression");case 90:return this.parseDo(this.startNode(),!1);case 56:case 31:return this.readRegexp(),this.parseRegExpLiteral(this.state.value);case 132:return this.parseNumericLiteral(this.state.value);case 133:return this.parseBigIntLiteral(this.state.value);case 134:return this.parseDecimalLiteral(this.state.value);case 131:return this.parseStringLiteral(this.state.value);case 84:return this.parseNullLiteral();case 85:return this.parseBooleanLiteral(!0);case 86:return this.parseBooleanLiteral(!1);case 10:{let r=this.state.potentialArrowAt===this.state.start;return this.parseParenAndDistinguishExpression(r)}case 2:case 1:return this.parseArrayLike(this.state.type===2?4:3,!1,!0);case 0:return this.parseArrayLike(3,!0,!1,t);case 6:case 7:return this.parseObjectLike(this.state.type===6?9:8,!1,!0);case 5:return this.parseObjectLike(8,!1,!1,t);case 68:return this.parseFunctionOrFunctionSent();case 26:s=this.parseDecorators();case 80:return this.parseClass(this.maybeTakeDecorators(s,this.startNode()),!1);case 77:return this.parseNewOrNewTarget();case 25:case 24:return this.parseTemplate(!1);case 15:{e=this.startNode(),this.next(),e.object=null;let r=e.callee=this.parseNoCallExpr();if(r.type==="MemberExpression")return this.finishNode(e,"BindExpression");throw this.raise(p.UnsupportedBind,{at:r})}case 136:return this.raise(p.PrivateInExpectedIn,{at:this.state.startLoc,identifierName:this.state.value}),this.parsePrivateName();case 33:return this.parseTopicReferenceThenEqualsSign(54,"%");case 32:return this.parseTopicReferenceThenEqualsSign(44,"^");case 37:case 38:return this.parseTopicReference("hack");case 44:case 54:case 27:{let r=this.getPluginOption("pipelineOperator","proposal");if(r)return this.parseTopicReference(r);this.unexpected();break}case 47:{let r=this.input.codePointAt(this.nextTokenStart());$(r)||r===62?this.expectOnePlugin(["jsx","flow","typescript"]):this.unexpected();break}default:if(S(i)){if(this.isContextual(125)&&this.lookaheadInLineCharCode()===123)return this.parseModuleExpression();let r=this.state.potentialArrowAt===this.state.start,n=this.state.containsEsc,o=this.parseIdentifier();if(!n&&o.name==="async"&&!this.canInsertSemicolon()){let{type:h}=this.state;if(h===68)return this.resetPreviousNodeTrailingComments(o),this.next(),this.parseAsyncFunctionExpression(this.startNodeAtNode(o));if(S(h))return this.lookaheadCharCode()===61?this.parseAsyncArrowUnaryFunction(this.startNodeAtNode(o)):o;if(h===90)return this.resetPreviousNodeTrailingComments(o),this.parseDo(this.startNodeAtNode(o),!0)}return r&&this.match(19)&&!this.canInsertSemicolon()?(this.next(),this.parseArrowExpression(this.startNodeAtNode(o),[o],!1)):o}else this.unexpected()}}parseTopicReferenceThenEqualsSign(t,e){let s=this.getPluginOption("pipelineOperator","proposal");if(s)return this.state.type=t,this.state.value=e,this.state.pos--,this.state.end--,this.state.endLoc=L(this.state.endLoc,-1),this.parseTopicReference(s);this.unexpected()}parseTopicReference(t){let e=this.startNode(),s=this.state.startLoc,i=this.state.type;return this.next(),this.finishTopicReference(e,s,t,i)}finishTopicReference(t,e,s,i){if(this.testTopicReferenceConfiguration(s,e,i)){let r=s==="smart"?"PipelinePrimaryTopicReference":"TopicReference";return this.topicReferenceIsAllowedInCurrentContext()||this.raise(s==="smart"?p.PrimaryTopicNotAllowed:p.PipeTopicUnbound,{at:e}),this.registerTopicReference(),this.finishNode(t,r)}else throw this.raise(p.PipeTopicUnconfiguredToken,{at:e,token:J(i)})}testTopicReferenceConfiguration(t,e,s){switch(t){case"hack":return this.hasPlugin(["pipelineOperator",{topicToken:J(s)}]);case"smart":return s===27;default:throw this.raise(p.PipeTopicRequiresHackPipes,{at:e})}}parseAsyncArrowUnaryFunction(t){this.prodParam.enter(He(!0,this.prodParam.hasYield));let e=[this.parseIdentifier()];return this.prodParam.exit(),this.hasPrecedingLineBreak()&&this.raise(p.LineTerminatorBeforeArrow,{at:this.state.curPosition()}),this.expect(19),this.parseArrowExpression(t,e,!0)}parseDo(t,e){this.expectPlugin("doExpressions"),e&&this.expectPlugin("asyncDoExpressions"),t.async=e,this.next();let s=this.state.labels;return this.state.labels=[],e?(this.prodParam.enter(rt),t.body=this.parseBlock(),this.prodParam.exit()):t.body=this.parseBlock(),this.state.labels=s,this.finishNode(t,"DoExpression")}parseSuper(){let t=this.startNode();return this.next(),this.match(10)&&!this.scope.allowDirectSuper&&!this.options.allowSuperOutsideMethod?this.raise(p.SuperNotAllowed,{at:t}):!this.scope.allowSuper&&!this.options.allowSuperOutsideMethod&&this.raise(p.UnexpectedSuper,{at:t}),!this.match(10)&&!this.match(0)&&!this.match(16)&&this.raise(p.UnsupportedSuper,{at:t}),this.finishNode(t,"Super")}parsePrivateName(){let t=this.startNode(),e=this.startNodeAt(L(this.state.startLoc,1)),s=this.state.value;return this.next(),t.id=this.createIdentifier(e,s),this.finishNode(t,"PrivateName")}parseFunctionOrFunctionSent(){let t=this.startNode();if(this.next(),this.prodParam.hasYield&&this.match(16)){let e=this.createIdentifier(this.startNodeAtNode(t),"function");return this.next(),this.match(102)?this.expectPlugin("functionSent"):this.hasPlugin("functionSent")||this.unexpected(),this.parseMetaProperty(t,e,"sent")}return this.parseFunction(t)}parseMetaProperty(t,e,s){t.meta=e;let i=this.state.containsEsc;return t.property=this.parseIdentifier(!0),(t.property.name!==s||i)&&this.raise(p.UnsupportedMetaProperty,{at:t.property,target:e.name,onlyValidPropertyName:s}),this.finishNode(t,"MetaProperty")}parseImportMetaProperty(t){let e=this.createIdentifier(this.startNodeAtNode(t),"import");return this.next(),this.isContextual(100)&&(this.inModule||this.raise(p.ImportMetaOutsideModule,{at:e}),this.sawUnambiguousESM=!0),this.parseMetaProperty(t,e,"meta")}parseLiteralAtNode(t,e,s){return this.addExtra(s,"rawValue",t),this.addExtra(s,"raw",this.input.slice(s.start,this.state.end)),s.value=t,this.next(),this.finishNode(s,e)}parseLiteral(t,e){let s=this.startNode();return this.parseLiteralAtNode(t,e,s)}parseStringLiteral(t){return this.parseLiteral(t,"StringLiteral")}parseNumericLiteral(t){return this.parseLiteral(t,"NumericLiteral")}parseBigIntLiteral(t){return this.parseLiteral(t,"BigIntLiteral")}parseDecimalLiteral(t){return this.parseLiteral(t,"DecimalLiteral")}parseRegExpLiteral(t){let e=this.parseLiteral(t.value,"RegExpLiteral");return e.pattern=t.pattern,e.flags=t.flags,e}parseBooleanLiteral(t){let e=this.startNode();return e.value=t,this.next(),this.finishNode(e,"BooleanLiteral")}parseNullLiteral(){let t=this.startNode();return this.next(),this.finishNode(t,"NullLiteral")}parseParenAndDistinguishExpression(t){let e=this.state.startLoc,s;this.next(),this.expressionScope.enter(Hr());let i=this.state.maybeInArrowParameters,r=this.state.inFSharpPipelineDirectBody;this.state.maybeInArrowParameters=!0,this.state.inFSharpPipelineDirectBody=!1;let n=this.state.startLoc,o=[],h=new ue,l=!0,c,u;for(;!this.match(11);){if(l)l=!1;else if(this.expect(12,h.optionalParametersLoc===null?null:h.optionalParametersLoc),this.match(11)){u=this.state.startLoc;break}if(this.match(21)){let x=this.state.startLoc;if(c=this.state.startLoc,o.push(this.parseParenItem(this.parseRestBinding(),x)),!this.checkCommaAfterRest(41))break}else o.push(this.parseMaybeAssignAllowIn(h,this.parseParenItem))}let d=this.state.lastTokEndLoc;this.expect(11),this.state.maybeInArrowParameters=i,this.state.inFSharpPipelineDirectBody=r;let f=this.startNodeAt(e);return t&&this.shouldParseArrow(o)&&(f=this.parseArrow(f))?(this.checkDestructuringPrivate(h),this.expressionScope.validateAsPattern(),this.expressionScope.exit(),this.parseArrowExpression(f,o,!1),f):(this.expressionScope.exit(),o.length||this.unexpected(this.state.lastTokStartLoc),u&&this.unexpected(u),c&&this.unexpected(c),this.checkExpressionErrors(h,!0),this.toReferencedListDeep(o,!0),o.length>1?(s=this.startNodeAt(n),s.expressions=o,this.finishNode(s,"SequenceExpression"),this.resetEndLocation(s,d)):s=o[0],this.wrapParenthesis(e,s))}wrapParenthesis(t,e){if(!this.options.createParenthesizedExpressions)return this.addExtra(e,"parenthesized",!0),this.addExtra(e,"parenStart",t.index),this.takeSurroundingComments(e,t.index,this.state.lastTokEndLoc.index),e;let s=this.startNodeAt(t);return s.expression=e,this.finishNode(s,"ParenthesizedExpression")}shouldParseArrow(t){return!this.canInsertSemicolon()}parseArrow(t){if(this.eat(19))return t}parseParenItem(t,e){return t}parseNewOrNewTarget(){let t=this.startNode();if(this.next(),this.match(16)){let e=this.createIdentifier(this.startNodeAtNode(t),"new");this.next();let s=this.parseMetaProperty(t,e,"target");return!this.scope.inNonArrowFunction&&!this.scope.inClass&&!this.options.allowNewTargetOutsideFunction&&this.raise(p.UnexpectedNewTarget,{at:s}),s}return this.parseNew(t)}parseNew(t){if(this.parseNewCallee(t),this.eat(10)){let e=this.parseExprList(11);this.toReferencedList(e),t.arguments=e}else t.arguments=[];return this.finishNode(t,"NewExpression")}parseNewCallee(t){t.callee=this.parseNoCallExpr(),t.callee.type==="Import"&&this.raise(p.ImportCallNotNewExpression,{at:t.callee})}parseTemplateElement(t){let{start:e,startLoc:s,end:i,value:r}=this.state,n=e+1,o=this.startNodeAt(L(s,1));r===null&&(t||this.raise(p.InvalidEscapeSequenceTemplate,{at:L(this.state.firstInvalidTemplateEscapePos,1)}));let h=this.match(24),l=h?-1:-2,c=i+l;o.value={raw:this.input.slice(n,c).replace(/\r\n?/g,` -`),cooked:r===null?null:r.slice(1,l)},o.tail=h,this.next();let u=this.finishNode(o,"TemplateElement");return this.resetEndLocation(u,L(this.state.lastTokEndLoc,l)),u}parseTemplate(t){let e=this.startNode();e.expressions=[];let s=this.parseTemplateElement(t);for(e.quasis=[s];!s.tail;)e.expressions.push(this.parseTemplateSubstitution()),this.readTemplateContinuation(),e.quasis.push(s=this.parseTemplateElement(t));return this.finishNode(e,"TemplateLiteral")}parseTemplateSubstitution(){return this.parseExpression()}parseObjectLike(t,e,s,i){s&&this.expectPlugin("recordAndTuple");let r=this.state.inFSharpPipelineDirectBody;this.state.inFSharpPipelineDirectBody=!1;let n=Object.create(null),o=!0,h=this.startNode();for(h.properties=[],this.next();!this.match(t);){if(o)o=!1;else if(this.expect(12),this.match(t)){this.addTrailingCommaExtraToNode(h);break}let c;e?c=this.parseBindingProperty():(c=this.parsePropertyDefinition(i),this.checkProto(c,s,n,i)),s&&!this.isObjectProperty(c)&&c.type!=="SpreadElement"&&this.raise(p.InvalidRecordProperty,{at:c}),c.shorthand&&this.addExtra(c,"shorthand",!0),h.properties.push(c)}this.next(),this.state.inFSharpPipelineDirectBody=r;let l="ObjectExpression";return e?l="ObjectPattern":s&&(l="RecordExpression"),this.finishNode(h,l)}addTrailingCommaExtraToNode(t){this.addExtra(t,"trailingComma",this.state.lastTokStart),this.addExtra(t,"trailingCommaLoc",this.state.lastTokStartLoc,!1)}maybeAsyncOrAccessorProp(t){return!t.computed&&t.key.type==="Identifier"&&(this.isLiteralPropertyName()||this.match(0)||this.match(55))}parsePropertyDefinition(t){let e=[];if(this.match(26))for(this.hasPlugin("decorators")&&this.raise(p.UnsupportedPropertyDecorator,{at:this.state.startLoc});this.match(26);)e.push(this.parseDecorator());let s=this.startNode(),i=!1,r=!1,n;if(this.match(21))return e.length&&this.unexpected(),this.parseSpread();e.length&&(s.decorators=e,e=[]),s.method=!1,t&&(n=this.state.startLoc);let o=this.eat(55);this.parsePropertyNamePrefixOperator(s);let h=this.state.containsEsc,l=this.parsePropertyName(s,t);if(!o&&!h&&this.maybeAsyncOrAccessorProp(s)){let c=l.name;c==="async"&&!this.hasPrecedingLineBreak()&&(i=!0,this.resetPreviousNodeTrailingComments(l),o=this.eat(55),this.parsePropertyName(s)),(c==="get"||c==="set")&&(r=!0,this.resetPreviousNodeTrailingComments(l),s.kind=c,this.match(55)&&(o=!0,this.raise(p.AccessorIsGenerator,{at:this.state.curPosition(),kind:c}),this.next()),this.parsePropertyName(s))}return this.parseObjPropValue(s,n,o,i,!1,r,t)}getGetterSetterExpectedParamCount(t){return t.kind==="get"?0:1}getObjectOrClassMethodParams(t){return t.params}checkGetterSetterParams(t){var e;let s=this.getGetterSetterExpectedParamCount(t),i=this.getObjectOrClassMethodParams(t);i.length!==s&&this.raise(t.kind==="get"?p.BadGetterArity:p.BadSetterArity,{at:t}),t.kind==="set"&&((e=i[i.length-1])==null?void 0:e.type)==="RestElement"&&this.raise(p.BadSetterRestParameter,{at:t})}parseObjectMethod(t,e,s,i,r){if(r){let n=this.parseMethod(t,e,!1,!1,!1,"ObjectMethod");return this.checkGetterSetterParams(n),n}if(s||e||this.match(10))return i&&this.unexpected(),t.kind="method",t.method=!0,this.parseMethod(t,e,s,!1,!1,"ObjectMethod")}parseObjectProperty(t,e,s,i){if(t.shorthand=!1,this.eat(14))return t.value=s?this.parseMaybeDefault(this.state.startLoc):this.parseMaybeAssignAllowIn(i),this.finishNode(t,"ObjectProperty");if(!t.computed&&t.key.type==="Identifier"){if(this.checkReservedWord(t.key.name,t.key.loc.start,!0,!1),s)t.value=this.parseMaybeDefault(e,K(t.key));else if(this.match(29)){let r=this.state.startLoc;i!=null?i.shorthandAssignLoc===null&&(i.shorthandAssignLoc=r):this.raise(p.InvalidCoverInitializedName,{at:r}),t.value=this.parseMaybeDefault(e,K(t.key))}else t.value=K(t.key);return t.shorthand=!0,this.finishNode(t,"ObjectProperty")}}parseObjPropValue(t,e,s,i,r,n,o){let h=this.parseObjectMethod(t,s,i,r,n)||this.parseObjectProperty(t,e,r,o);return h||this.unexpected(),h}parsePropertyName(t,e){if(this.eat(0))t.computed=!0,t.key=this.parseMaybeAssignAllowIn(),this.expect(3);else{let{type:s,value:i}=this.state,r;if(M(s))r=this.parseIdentifier(!0);else switch(s){case 132:r=this.parseNumericLiteral(i);break;case 131:r=this.parseStringLiteral(i);break;case 133:r=this.parseBigIntLiteral(i);break;case 134:r=this.parseDecimalLiteral(i);break;case 136:{let n=this.state.startLoc;e!=null?e.privateKeyLoc===null&&(e.privateKeyLoc=n):this.raise(p.UnexpectedPrivateField,{at:n}),r=this.parsePrivateName();break}default:this.unexpected()}t.key=r,s!==136&&(t.computed=!1)}return t.key}initFunction(t,e){t.id=null,t.generator=!1,t.async=e}parseMethod(t,e,s,i,r,n,o=!1){this.initFunction(t,s),t.generator=e,this.scope.enter(z|Ge|(o?ee:0)|(r?_s:0)),this.prodParam.enter(He(s,t.generator)),this.parseFunctionParams(t,i);let h=this.parseFunctionBodyAndFinish(t,n,!0);return this.prodParam.exit(),this.scope.exit(),h}parseArrayLike(t,e,s,i){s&&this.expectPlugin("recordAndTuple");let r=this.state.inFSharpPipelineDirectBody;this.state.inFSharpPipelineDirectBody=!1;let n=this.startNode();return this.next(),n.elements=this.parseExprList(t,!s,i,n),this.state.inFSharpPipelineDirectBody=r,this.finishNode(n,s?"TupleExpression":"ArrayExpression")}parseArrowExpression(t,e,s,i){this.scope.enter(z|Qt);let r=He(s,!1);!this.match(5)&&this.prodParam.hasIn&&(r|=re),this.prodParam.enter(r),this.initFunction(t,s);let n=this.state.maybeInArrowParameters;return e&&(this.state.maybeInArrowParameters=!0,this.setArrowFunctionParameters(t,e,i)),this.state.maybeInArrowParameters=!1,this.parseFunctionBody(t,!0),this.prodParam.exit(),this.scope.exit(),this.state.maybeInArrowParameters=n,this.finishNode(t,"ArrowFunctionExpression")}setArrowFunctionParameters(t,e,s){this.toAssignableList(e,s,!1),t.params=e}parseFunctionBodyAndFinish(t,e,s=!1){return this.parseFunctionBody(t,!1,s),this.finishNode(t,e)}parseFunctionBody(t,e,s=!1){let i=e&&!this.match(5);if(this.expressionScope.enter(Xs()),i)t.body=this.parseMaybeAssign(),this.checkParams(t,!1,e,!1);else{let r=this.state.strict,n=this.state.labels;this.state.labels=[],this.prodParam.enter(this.prodParam.currentFlags()|Ys),t.body=this.parseBlock(!0,!1,o=>{let h=!this.isSimpleParamList(t.params);o&&h&&this.raise(p.IllegalLanguageModeDirective,{at:(t.kind==="method"||t.kind==="constructor")&&t.key?t.key.loc.end:t});let l=!r&&this.state.strict;this.checkParams(t,!this.state.strict&&!e&&!s&&!h,e,l),this.state.strict&&t.id&&this.checkIdentifier(t.id,Nr,l)}),this.prodParam.exit(),this.state.labels=n}this.expressionScope.exit()}isSimpleParameter(t){return t.type==="Identifier"}isSimpleParamList(t){for(let e=0,s=t.length;e10||!Er(t))return;if(s&&br(t)){this.raise(p.UnexpectedKeyword,{at:e,keyword:t});return}if((this.state.strict?i?Bs:Ms:Ds)(t,this.inModule)){this.raise(p.UnexpectedReservedWord,{at:e,reservedWord:t});return}else if(t==="yield"){if(this.prodParam.hasYield){this.raise(p.YieldBindingIdentifier,{at:e});return}}else if(t==="await"){if(this.prodParam.hasAwait){this.raise(p.AwaitBindingIdentifier,{at:e});return}if(this.scope.inStaticBlock){this.raise(p.AwaitBindingIdentifierInStaticBlock,{at:e});return}this.expressionScope.recordAsyncArrowParametersError({at:e})}else if(t==="arguments"&&this.scope.inClassAndNotInNonArrowFunction){this.raise(p.ArgumentsInClass,{at:e});return}}isAwaitAllowed(){return!!(this.prodParam.hasAwait||this.options.allowAwaitOutsideFunction&&!this.scope.inFunction)}parseAwait(t){let e=this.startNodeAt(t);return this.expressionScope.recordParameterInitializerError(p.AwaitExpressionFormalParameter,{at:e}),this.eat(55)&&this.raise(p.ObsoleteAwaitStar,{at:e}),!this.scope.inFunction&&!this.options.allowAwaitOutsideFunction&&(this.isAmbiguousAwait()?this.ambiguousScriptDifferentAst=!0:this.sawUnambiguousESM=!0),this.state.soloAwait||(e.argument=this.parseMaybeUnary(null,!0)),this.finishNode(e,"AwaitExpression")}isAmbiguousAwait(){if(this.hasPrecedingLineBreak())return!0;let{type:t}=this.state;return t===53||t===10||t===0||Xe(t)||t===101&&!this.state.containsEsc||t===135||t===56||this.hasPlugin("v8intrinsic")&&t===54}parseYield(){let t=this.startNode();this.expressionScope.recordParameterInitializerError(p.YieldInParameter,{at:t}),this.next();let e=!1,s=null;if(!this.hasPrecedingLineBreak())switch(e=this.eat(55),this.state.type){case 13:case 137:case 8:case 11:case 3:case 9:case 14:case 12:if(!e)break;default:s=this.parseMaybeAssign()}return t.delegate=e,t.argument=s,this.finishNode(t,"YieldExpression")}checkPipelineAtInfixOperator(t,e){this.hasPlugin(["pipelineOperator",{proposal:"smart"}])&&t.type==="SequenceExpression"&&this.raise(p.PipelineHeadSequenceExpression,{at:e})}parseSmartPipelineBodyInStyle(t,e){if(this.isSimpleReference(t)){let s=this.startNodeAt(e);return s.callee=t,this.finishNode(s,"PipelineBareFunction")}else{let s=this.startNodeAt(e);return this.checkSmartPipeTopicBodyEarlyErrors(e),s.expression=t,this.finishNode(s,"PipelineTopicExpression")}}isSimpleReference(t){switch(t.type){case"MemberExpression":return!t.computed&&this.isSimpleReference(t.object);case"Identifier":return!0;default:return!1}}checkSmartPipeTopicBodyEarlyErrors(t){if(this.match(19))throw this.raise(p.PipelineBodyNoArrow,{at:this.state.startLoc});this.topicReferenceWasUsedInCurrentContext()||this.raise(p.PipelineTopicUnused,{at:t})}withTopicBindingContext(t){let e=this.state.topicContext;this.state.topicContext={maxNumOfResolvableTopics:1,maxTopicIndex:null};try{return t()}finally{this.state.topicContext=e}}withSmartMixTopicForbiddingContext(t){if(this.hasPlugin(["pipelineOperator",{proposal:"smart"}])){let e=this.state.topicContext;this.state.topicContext={maxNumOfResolvableTopics:0,maxTopicIndex:null};try{return t()}finally{this.state.topicContext=e}}else return t()}withSoloAwaitPermittingContext(t){let e=this.state.soloAwait;this.state.soloAwait=!0;try{return t()}finally{this.state.soloAwait=e}}allowInAnd(t){let e=this.prodParam.currentFlags();if(re&~e){this.prodParam.enter(e|re);try{return t()}finally{this.prodParam.exit()}}return t()}disallowInAnd(t){let e=this.prodParam.currentFlags();if(re&e){this.prodParam.enter(e&~re);try{return t()}finally{this.prodParam.exit()}}return t()}registerTopicReference(){this.state.topicContext.maxTopicIndex=0}topicReferenceIsAllowedInCurrentContext(){return this.state.topicContext.maxNumOfResolvableTopics>=1}topicReferenceWasUsedInCurrentContext(){return this.state.topicContext.maxTopicIndex!=null&&this.state.topicContext.maxTopicIndex>=0}parseFSharpPipelineBody(t){let e=this.state.startLoc;this.state.potentialArrowAt=this.state.start;let s=this.state.inFSharpPipelineDirectBody;this.state.inFSharpPipelineDirectBody=!0;let i=this.parseExprOp(this.parseMaybeUnaryOrPrivate(),e,t);return this.state.inFSharpPipelineDirectBody=s,i}parseModuleExpression(){this.expectPlugin("moduleBlocks");let t=this.startNode();this.next(),this.match(5)||this.unexpected(null,5);let e=this.startNodeAt(this.state.endLoc);this.next();let s=this.initializeScopes(!0);this.enterInitialScopes();try{t.body=this.parseProgram(e,8,"module")}finally{s()}return this.finishNode(t,"ModuleExpression")}parsePropertyNamePrefixOperator(t){}},yt={kind:"loop"},xa={kind:"switch"},Pa=/[\uD800-\uDFFF]/u,xt=/in(?:stanceof)?/y;function Ta(a,t){for(let e=0;e0)for(let[r,n]of Array.from(this.scope.undefinedExports))this.raise(p.ModuleExportUndefined,{at:n,localName:r});let i;return e===137?i=this.finishNode(t,"Program"):i=this.finishNodeAt(t,"Program",L(this.state.startLoc,-1)),i}stmtToDirective(t){let e=t;e.type="Directive",e.value=e.expression,delete e.expression;let s=e.value,i=s.value,r=this.input.slice(s.start,s.end),n=s.value=r.slice(1,-1);return this.addExtra(s,"raw",r),this.addExtra(s,"rawValue",n),this.addExtra(s,"expressionValue",i),s.type="DirectiveLiteral",e}parseInterpreterDirective(){if(!this.match(28))return null;let t=this.startNode();return t.value=this.state.value,this.next(),this.finishNode(t,"InterpreterDirective")}isLet(){return this.isContextual(99)?this.hasFollowingBindingAtom():!1}chStartsBindingIdentifier(t,e){if($(t)){if(xt.lastIndex=e,xt.test(this.input)){let s=this.codePointAtPos(xt.lastIndex);if(!he(s)&&s!==92)return!1}return!0}else return t===92}chStartsBindingPattern(t){return t===91||t===123}hasFollowingBindingAtom(){let t=this.nextTokenStart(),e=this.codePointAtPos(t);return this.chStartsBindingPattern(e)||this.chStartsBindingIdentifier(e,t)}hasInLineFollowingBindingIdentifier(){let t=this.nextTokenInLineStart(),e=this.codePointAtPos(t);return this.chStartsBindingIdentifier(e,t)}startsUsingForOf(){let{type:t,containsEsc:e}=this.lookahead();if(t===101&&!e)return!1;if(S(t)&&!this.hasFollowingLineBreak())return this.expectPlugin("explicitResourceManagement"),!0}startsAwaitUsing(){let t=this.nextTokenInLineStart();if(this.isUnparsedContextual(t,"using")){t=this.nextTokenInLineStartSince(t+5);let e=this.codePointAtPos(t);if(this.chStartsBindingIdentifier(e,t))return this.expectPlugin("explicitResourceManagement"),!0}return!1}parseModuleItem(){return this.parseStatementLike(15)}parseStatementListItem(){return this.parseStatementLike(6|(!this.options.annexB||this.state.strict?0:8))}parseStatementOrSloppyAnnexBFunctionDeclaration(t=!1){let e=0;return this.options.annexB&&!this.state.strict&&(e|=4,t&&(e|=8)),this.parseStatementLike(e)}parseStatement(){return this.parseStatementLike(0)}parseStatementLike(t){let e=null;return this.match(26)&&(e=this.parseDecorators(!0)),this.parseStatementContent(t,e)}parseStatementContent(t,e){let s=this.state.type,i=this.startNode(),r=!!(t&2),n=!!(t&4),o=t&1;switch(s){case 60:return this.parseBreakContinueStatement(i,!0);case 63:return this.parseBreakContinueStatement(i,!1);case 64:return this.parseDebuggerStatement(i);case 90:return this.parseDoWhileStatement(i);case 91:return this.parseForStatement(i);case 68:if(this.lookaheadCharCode()===46)break;return n||this.raise(this.state.strict?p.StrictFunction:this.options.annexB?p.SloppyFunctionAnnexB:p.SloppyFunction,{at:this.state.startLoc}),this.parseFunctionStatement(i,!1,!r&&n);case 80:return r||this.unexpected(),this.parseClass(this.maybeTakeDecorators(e,i),!0);case 69:return this.parseIfStatement(i);case 70:return this.parseReturnStatement(i);case 71:return this.parseSwitchStatement(i);case 72:return this.parseThrowStatement(i);case 73:return this.parseTryStatement(i);case 96:if(!this.state.containsEsc&&this.startsAwaitUsing())return this.isAwaitAllowed()?r||this.raise(p.UnexpectedLexicalDeclaration,{at:i}):this.raise(p.AwaitUsingNotInAsyncContext,{at:i}),this.next(),this.parseVarStatement(i,"await using");break;case 105:if(this.state.containsEsc||!this.hasInLineFollowingBindingIdentifier())break;return this.expectPlugin("explicitResourceManagement"),!this.scope.inModule&&this.scope.inTopLevel?this.raise(p.UnexpectedUsingDeclaration,{at:this.state.startLoc}):r||this.raise(p.UnexpectedLexicalDeclaration,{at:this.state.startLoc}),this.parseVarStatement(i,"using");case 99:{if(this.state.containsEsc)break;let c=this.nextTokenStart(),u=this.codePointAtPos(c);if(u!==91&&(!r&&this.hasFollowingLineBreak()||!this.chStartsBindingIdentifier(u,c)&&u!==123))break}case 75:r||this.raise(p.UnexpectedLexicalDeclaration,{at:this.state.startLoc});case 74:{let c=this.state.value;return this.parseVarStatement(i,c)}case 92:return this.parseWhileStatement(i);case 76:return this.parseWithStatement(i);case 5:return this.parseBlock();case 13:return this.parseEmptyStatement(i);case 83:{let c=this.lookaheadCharCode();if(c===40||c===46)break}case 82:{!this.options.allowImportExportEverywhere&&!o&&this.raise(p.UnexpectedImportExport,{at:this.state.startLoc}),this.next();let c;return s===83?(c=this.parseImport(i),c.type==="ImportDeclaration"&&(!c.importKind||c.importKind==="value")&&(this.sawUnambiguousESM=!0)):(c=this.parseExport(i,e),(c.type==="ExportNamedDeclaration"&&(!c.exportKind||c.exportKind==="value")||c.type==="ExportAllDeclaration"&&(!c.exportKind||c.exportKind==="value")||c.type==="ExportDefaultDeclaration")&&(this.sawUnambiguousESM=!0)),this.assertModuleNodeAllowed(c),c}default:if(this.isAsyncFunction())return r||this.raise(p.AsyncFunctionInSingleStatementContext,{at:this.state.startLoc}),this.next(),this.parseFunctionStatement(i,!0,!r&&n)}let h=this.state.value,l=this.parseExpression();return S(s)&&l.type==="Identifier"&&this.eat(14)?this.parseLabeledStatement(i,h,l,t):this.parseExpressionStatement(i,l,e)}assertModuleNodeAllowed(t){!this.options.allowImportExportEverywhere&&!this.inModule&&this.raise(p.ImportOutsideModule,{at:t})}decoratorsEnabledBeforeExport(){return this.hasPlugin("decorators-legacy")?!0:this.hasPlugin("decorators")&&this.getPluginOption("decorators","decoratorsBeforeExport")!==!1}maybeTakeDecorators(t,e,s){return t&&(e.decorators&&e.decorators.length>0?(typeof this.getPluginOption("decorators","decoratorsBeforeExport")!="boolean"&&this.raise(p.DecoratorsBeforeAfterExport,{at:e.decorators[0]}),e.decorators.unshift(...t)):e.decorators=t,this.resetStartLocationFromNode(e,t[0]),s&&this.resetStartLocationFromNode(s,e)),e}canHaveLeadingDecorator(){return this.match(80)}parseDecorators(t){let e=[];do e.push(this.parseDecorator());while(this.match(26));if(this.match(82))t||this.unexpected(),this.decoratorsEnabledBeforeExport()||this.raise(p.DecoratorExportClass,{at:this.state.startLoc});else if(!this.canHaveLeadingDecorator())throw this.raise(p.UnexpectedLeadingDecorator,{at:this.state.startLoc});return e}parseDecorator(){this.expectOnePlugin(["decorators","decorators-legacy"]);let t=this.startNode();if(this.next(),this.hasPlugin("decorators")){let e=this.state.startLoc,s;if(this.match(10)){let i=this.state.startLoc;this.next(),s=this.parseExpression(),this.expect(11),s=this.wrapParenthesis(i,s);let r=this.state.startLoc;t.expression=this.parseMaybeDecoratorArguments(s),this.getPluginOption("decorators","allowCallParenthesized")===!1&&t.expression!==s&&this.raise(p.DecoratorArgumentsOutsideParentheses,{at:r})}else{for(s=this.parseIdentifier(!1);this.eat(16);){let i=this.startNodeAt(e);i.object=s,this.match(136)?(this.classScope.usePrivateName(this.state.value,this.state.startLoc),i.property=this.parsePrivateName()):i.property=this.parseIdentifier(!0),i.computed=!1,s=this.finishNode(i,"MemberExpression")}t.expression=this.parseMaybeDecoratorArguments(s)}}else t.expression=this.parseExprSubscripts();return this.finishNode(t,"Decorator")}parseMaybeDecoratorArguments(t){if(this.eat(10)){let e=this.startNodeAtNode(t);return e.callee=t,e.arguments=this.parseCallExpressionArguments(11,!1),this.toReferencedList(e.arguments),this.finishNode(e,"CallExpression")}return t}parseBreakContinueStatement(t,e){return this.next(),this.isLineTerminator()?t.label=null:(t.label=this.parseIdentifier(),this.semicolon()),this.verifyBreakContinue(t,e),this.finishNode(t,e?"BreakStatement":"ContinueStatement")}verifyBreakContinue(t,e){let s;for(s=0;sthis.parseStatement()),this.state.labels.pop(),this.expect(92),t.test=this.parseHeaderExpression(),this.eat(13),this.finishNode(t,"DoWhileStatement")}parseForStatement(t){this.next(),this.state.labels.push(yt);let e=null;if(this.isAwaitAllowed()&&this.eatContextual(96)&&(e=this.state.lastTokStartLoc),this.scope.enter(ae),this.expect(10),this.match(13))return e!==null&&this.unexpected(e),this.parseFor(t,null);let s=this.isContextual(99);{let h=this.isContextual(96)&&this.startsAwaitUsing(),l=h||this.isContextual(105)&&this.startsUsingForOf(),c=s&&this.hasFollowingBindingAtom()||l;if(this.match(74)||this.match(75)||c){let u=this.startNode(),d;h?(d="await using",this.isAwaitAllowed()||this.raise(p.AwaitUsingNotInAsyncContext,{at:this.state.startLoc}),this.next()):d=this.state.value,this.next(),this.parseVar(u,!0,d);let f=this.finishNode(u,"VariableDeclaration"),x=this.match(58);return x&&l&&this.raise(p.ForInUsing,{at:f}),(x||this.isContextual(101))&&f.declarations.length===1?this.parseForIn(t,f,e):(e!==null&&this.unexpected(e),this.parseFor(t,f))}}let i=this.isContextual(95),r=new ue,n=this.parseExpression(!0,r),o=this.isContextual(101);if(o&&(s&&this.raise(p.ForOfLet,{at:n}),e===null&&i&&n.type==="Identifier"&&this.raise(p.ForOfAsync,{at:n})),o||this.match(58)){this.checkDestructuringPrivate(r),this.toAssignable(n,!0);let h=o?"ForOfStatement":"ForInStatement";return this.checkLVal(n,{in:{type:h}}),this.parseForIn(t,n,e)}else this.checkExpressionErrors(r,!0);return e!==null&&this.unexpected(e),this.parseFor(t,n)}parseFunctionStatement(t,e,s){return this.next(),this.parseFunction(t,1|(s?2:0)|(e?8:0))}parseIfStatement(t){return this.next(),t.test=this.parseHeaderExpression(),t.consequent=this.parseStatementOrSloppyAnnexBFunctionDeclaration(),t.alternate=this.eat(66)?this.parseStatementOrSloppyAnnexBFunctionDeclaration():null,this.finishNode(t,"IfStatement")}parseReturnStatement(t){return!this.prodParam.hasReturn&&!this.options.allowReturnOutsideFunction&&this.raise(p.IllegalReturn,{at:this.state.startLoc}),this.next(),this.isLineTerminator()?t.argument=null:(t.argument=this.parseExpression(),this.semicolon()),this.finishNode(t,"ReturnStatement")}parseSwitchStatement(t){this.next(),t.discriminant=this.parseHeaderExpression();let e=t.cases=[];this.expect(5),this.state.labels.push(xa),this.scope.enter(ae);let s;for(let i;!this.match(8);)if(this.match(61)||this.match(65)){let r=this.match(61);s&&this.finishNode(s,"SwitchCase"),e.push(s=this.startNode()),s.consequent=[],this.next(),r?s.test=this.parseExpression():(i&&this.raise(p.MultipleDefaultsInSwitch,{at:this.state.lastTokStartLoc}),i=!0,s.test=null),this.expect(14)}else s?s.consequent.push(this.parseStatementListItem()):this.unexpected();return this.scope.exit(),s&&this.finishNode(s,"SwitchCase"),this.next(),this.state.labels.pop(),this.finishNode(t,"SwitchStatement")}parseThrowStatement(t){return this.next(),this.hasPrecedingLineBreak()&&this.raise(p.NewlineAfterThrow,{at:this.state.lastTokEndLoc}),t.argument=this.parseExpression(),this.semicolon(),this.finishNode(t,"ThrowStatement")}parseCatchClauseParam(){let t=this.parseBindingAtom();return this.scope.enter(this.options.annexB&&t.type==="Identifier"?Fs:0),this.checkLVal(t,{in:{type:"CatchClause"},binding:Cr}),t}parseTryStatement(t){if(this.next(),t.block=this.parseBlock(),t.handler=null,this.match(62)){let e=this.startNode();this.next(),this.match(10)?(this.expect(10),e.param=this.parseCatchClauseParam(),this.expect(11)):(e.param=null,this.scope.enter(ae)),e.body=this.withSmartMixTopicForbiddingContext(()=>this.parseBlock(!1,!1)),this.scope.exit(),t.handler=this.finishNode(e,"CatchClause")}return t.finalizer=this.eat(67)?this.parseBlock():null,!t.handler&&!t.finalizer&&this.raise(p.NoCatchOrFinally,{at:t}),this.finishNode(t,"TryStatement")}parseVarStatement(t,e,s=!1){return this.next(),this.parseVar(t,!1,e,s),this.semicolon(),this.finishNode(t,"VariableDeclaration")}parseWhileStatement(t){return this.next(),t.test=this.parseHeaderExpression(),this.state.labels.push(yt),t.body=this.withSmartMixTopicForbiddingContext(()=>this.parseStatement()),this.state.labels.pop(),this.finishNode(t,"WhileStatement")}parseWithStatement(t){return this.state.strict&&this.raise(p.StrictWith,{at:this.state.startLoc}),this.next(),t.object=this.parseHeaderExpression(),t.body=this.withSmartMixTopicForbiddingContext(()=>this.parseStatement()),this.finishNode(t,"WithStatement")}parseEmptyStatement(t){return this.next(),this.finishNode(t,"EmptyStatement")}parseLabeledStatement(t,e,s,i){for(let n of this.state.labels)n.name===e&&this.raise(p.LabelRedeclaration,{at:s,labelName:e});let r=hr(this.state.type)?"loop":this.match(71)?"switch":null;for(let n=this.state.labels.length-1;n>=0;n--){let o=this.state.labels[n];if(o.statementStart===t.start)o.statementStart=this.state.start,o.kind=r;else break}return this.state.labels.push({name:e,kind:r,statementStart:this.state.start}),t.body=i&8?this.parseStatementOrSloppyAnnexBFunctionDeclaration(!0):this.parseStatement(),this.state.labels.pop(),t.label=s,this.finishNode(t,"LabeledStatement")}parseExpressionStatement(t,e,s){return t.expression=e,this.semicolon(),this.finishNode(t,"ExpressionStatement")}parseBlock(t=!1,e=!0,s){let i=this.startNode();return t&&this.state.strictErrors.clear(),this.expect(5),e&&this.scope.enter(ae),this.parseBlockBody(i,t,!1,8,s),e&&this.scope.exit(),this.finishNode(i,"BlockStatement")}isValidDirective(t){return t.type==="ExpressionStatement"&&t.expression.type==="StringLiteral"&&!t.expression.extra.parenthesized}parseBlockBody(t,e,s,i,r){let n=t.body=[],o=t.directives=[];this.parseBlockOrModuleBlockBody(n,e?o:void 0,s,i,r)}parseBlockOrModuleBlockBody(t,e,s,i,r){let n=this.state.strict,o=!1,h=!1;for(;!this.match(i);){let l=s?this.parseModuleItem():this.parseStatementListItem();if(e&&!h){if(this.isValidDirective(l)){let c=this.stmtToDirective(l);e.push(c),!o&&c.value.value==="use strict"&&(o=!0,this.setStrict(!0));continue}h=!0,this.state.strictErrors.clear()}t.push(l)}r&&r.call(this,o),n||this.setStrict(!1),this.next()}parseFor(t,e){return t.init=e,this.semicolon(!1),t.test=this.match(13)?null:this.parseExpression(),this.semicolon(!1),t.update=this.match(11)?null:this.parseExpression(),this.expect(11),t.body=this.withSmartMixTopicForbiddingContext(()=>this.parseStatement()),this.scope.exit(),this.state.labels.pop(),this.finishNode(t,"ForStatement")}parseForIn(t,e,s){let i=this.match(58);return this.next(),i?s!==null&&this.unexpected(s):t.await=s!==null,e.type==="VariableDeclaration"&&e.declarations[0].init!=null&&(!i||!this.options.annexB||this.state.strict||e.kind!=="var"||e.declarations[0].id.type!=="Identifier")&&this.raise(p.ForInOfLoopInitializer,{at:e,type:i?"ForInStatement":"ForOfStatement"}),e.type==="AssignmentPattern"&&this.raise(p.InvalidLhs,{at:e,ancestor:{type:"ForStatement"}}),t.left=e,t.right=i?this.parseExpression():this.parseMaybeAssignAllowIn(),this.expect(11),t.body=this.withSmartMixTopicForbiddingContext(()=>this.parseStatement()),this.scope.exit(),this.state.labels.pop(),this.finishNode(t,i?"ForInStatement":"ForOfStatement")}parseVar(t,e,s,i=!1){let r=t.declarations=[];for(t.kind=s;;){let n=this.startNode();if(this.parseVarId(n,s),n.init=this.eat(29)?e?this.parseMaybeAssignDisallowIn():this.parseMaybeAssignAllowIn():null,n.init===null&&!i&&(n.id.type!=="Identifier"&&!(e&&(this.match(58)||this.isContextual(101)))?this.raise(p.DeclarationMissingInitializer,{at:this.state.lastTokEndLoc,kind:"destructuring"}):s==="const"&&!(this.match(58)||this.isContextual(101))&&this.raise(p.DeclarationMissingInitializer,{at:this.state.lastTokEndLoc,kind:"const"})),r.push(this.finishNode(n,"VariableDeclarator")),!this.eat(12))break}return t}parseVarId(t,e){let s=this.parseBindingAtom();this.checkLVal(s,{in:{type:"VariableDeclarator"},binding:e==="var"?Ze:ce}),t.id=s}parseAsyncFunctionExpression(t){return this.parseFunction(t,8)}parseFunction(t,e=0){let s=e&2,i=!!(e&1),r=i&&!(e&4),n=!!(e&8);this.initFunction(t,n),this.match(55)&&(s&&this.raise(p.GeneratorInSingleStatementContext,{at:this.state.startLoc}),this.next(),t.generator=!0),i&&(t.id=this.parseFunctionId(r));let o=this.state.maybeInArrowParameters;return this.state.maybeInArrowParameters=!1,this.scope.enter(z),this.prodParam.enter(He(n,t.generator)),i||(t.id=this.parseFunctionId()),this.parseFunctionParams(t,!1),this.withSmartMixTopicForbiddingContext(()=>{this.parseFunctionBodyAndFinish(t,i?"FunctionDeclaration":"FunctionExpression")}),this.prodParam.exit(),this.scope.exit(),i&&!s&&this.registerFunctionStatementId(t),this.state.maybeInArrowParameters=o,t}parseFunctionId(t){return t||S(this.state.type)?this.parseIdentifier():null}parseFunctionParams(t,e){this.expect(10),this.expressionScope.enter(qr()),t.params=this.parseBindingList(11,41,2|(e?4:0)),this.expressionScope.exit()}registerFunctionStatementId(t){t.id&&this.scope.declareName(t.id.name,!this.options.annexB||this.state.strict||t.generator||t.async?this.scope.treatFunctionsAsVar?Ze:ce:$s,t.id.loc.start)}parseClass(t,e,s){this.next();let i=this.state.strict;return this.state.strict=!0,this.parseClassId(t,e,s),this.parseClassSuper(t),t.body=this.parseClassBody(!!t.superClass,i),this.finishNode(t,e?"ClassDeclaration":"ClassExpression")}isClassProperty(){return this.match(29)||this.match(13)||this.match(8)}isClassMethod(){return this.match(10)}isNonstaticConstructor(t){return!t.computed&&!t.static&&(t.key.name==="constructor"||t.key.value==="constructor")}parseClassBody(t,e){this.classScope.enter();let s={hadConstructor:!1,hadSuperClass:t},i=[],r=this.startNode();if(r.body=[],this.expect(5),this.withSmartMixTopicForbiddingContext(()=>{for(;!this.match(8);){if(this.eat(13)){if(i.length>0)throw this.raise(p.DecoratorSemicolon,{at:this.state.lastTokEndLoc});continue}if(this.match(26)){i.push(this.parseDecorator());continue}let n=this.startNode();i.length&&(n.decorators=i,this.resetStartLocationFromNode(n,i[0]),i=[]),this.parseClassMember(r,n,s),n.kind==="constructor"&&n.decorators&&n.decorators.length>0&&this.raise(p.DecoratorConstructor,{at:n})}}),this.state.strict=e,this.next(),i.length)throw this.raise(p.TrailingDecorator,{at:this.state.startLoc});return this.classScope.exit(),this.finishNode(r,"ClassBody")}parseClassMemberFromModifier(t,e){let s=this.parseIdentifier(!0);if(this.isClassMethod()){let i=e;return i.kind="method",i.computed=!1,i.key=s,i.static=!1,this.pushClassMethod(t,i,!1,!1,!1,!1),!0}else if(this.isClassProperty()){let i=e;return i.computed=!1,i.key=s,i.static=!1,t.body.push(this.parseClassProperty(i)),!0}return this.resetPreviousNodeTrailingComments(s),!1}parseClassMember(t,e,s){let i=this.isContextual(104);if(i){if(this.parseClassMemberFromModifier(t,e))return;if(this.eat(5)){this.parseClassStaticBlock(t,e);return}}this.parseClassMemberWithIsStatic(t,e,s,i)}parseClassMemberWithIsStatic(t,e,s,i){let r=e,n=e,o=e,h=e,l=e,c=r,u=r;if(e.static=i,this.parsePropertyNamePrefixOperator(e),this.eat(55)){c.kind="method";let C=this.match(136);if(this.parseClassElementName(c),C){this.pushClassPrivateMethod(t,n,!0,!1);return}this.isNonstaticConstructor(r)&&this.raise(p.ConstructorIsGenerator,{at:r.key}),this.pushClassMethod(t,r,!0,!1,!1,!1);return}let d=S(this.state.type)&&!this.state.containsEsc,f=this.match(136),x=this.parseClassElementName(e),I=this.state.startLoc;if(this.parsePostMemberNameModifiers(u),this.isClassMethod()){if(c.kind="method",f){this.pushClassPrivateMethod(t,n,!1,!1);return}let C=this.isNonstaticConstructor(r),w=!1;C&&(r.kind="constructor",s.hadConstructor&&!this.hasPlugin("typescript")&&this.raise(p.DuplicateConstructor,{at:x}),C&&this.hasPlugin("typescript")&&e.override&&this.raise(p.OverrideOnConstructor,{at:x}),s.hadConstructor=!0,w=s.hadSuperClass),this.pushClassMethod(t,r,!1,!1,C,w)}else if(this.isClassProperty())f?this.pushClassPrivateProperty(t,h):this.pushClassProperty(t,o);else if(d&&x.name==="async"&&!this.isLineTerminator()){this.resetPreviousNodeTrailingComments(x);let C=this.eat(55);u.optional&&this.unexpected(I),c.kind="method";let w=this.match(136);this.parseClassElementName(c),this.parsePostMemberNameModifiers(u),w?this.pushClassPrivateMethod(t,n,C,!0):(this.isNonstaticConstructor(r)&&this.raise(p.ConstructorIsAsync,{at:r.key}),this.pushClassMethod(t,r,C,!0,!1,!1))}else if(d&&(x.name==="get"||x.name==="set")&&!(this.match(55)&&this.isLineTerminator())){this.resetPreviousNodeTrailingComments(x),c.kind=x.name;let C=this.match(136);this.parseClassElementName(r),C?this.pushClassPrivateMethod(t,n,!1,!1):(this.isNonstaticConstructor(r)&&this.raise(p.ConstructorIsAccessor,{at:r.key}),this.pushClassMethod(t,r,!1,!1,!1,!1)),this.checkGetterSetterParams(r)}else if(d&&x.name==="accessor"&&!this.isLineTerminator()){this.expectPlugin("decoratorAutoAccessors"),this.resetPreviousNodeTrailingComments(x);let C=this.match(136);this.parseClassElementName(o),this.pushClassAccessorProperty(t,l,C)}else this.isLineTerminator()?f?this.pushClassPrivateProperty(t,h):this.pushClassProperty(t,o):this.unexpected()}parseClassElementName(t){let{type:e,value:s}=this.state;if((e===130||e===131)&&t.static&&s==="prototype"&&this.raise(p.StaticPrototype,{at:this.state.startLoc}),e===136){s==="constructor"&&this.raise(p.ConstructorClassPrivateField,{at:this.state.startLoc});let i=this.parsePrivateName();return t.key=i,i}return this.parsePropertyName(t)}parseClassStaticBlock(t,e){var s;this.scope.enter(ee|Ye|Ge);let i=this.state.labels;this.state.labels=[],this.prodParam.enter(pe);let r=e.body=[];this.parseBlockOrModuleBlockBody(r,void 0,!1,8),this.prodParam.exit(),this.scope.exit(),this.state.labels=i,t.body.push(this.finishNode(e,"StaticBlock")),(s=e.decorators)!=null&&s.length&&this.raise(p.DecoratorStaticBlock,{at:e})}pushClassProperty(t,e){!e.computed&&(e.key.name==="constructor"||e.key.value==="constructor")&&this.raise(p.ConstructorClassField,{at:e.key}),t.body.push(this.parseClassProperty(e))}pushClassPrivateProperty(t,e){let s=this.parseClassPrivateProperty(e);t.body.push(s),this.classScope.declarePrivateName(this.getPrivateNameSV(s.key),dt,s.key.loc.start)}pushClassAccessorProperty(t,e,s){if(!s&&!e.computed){let r=e.key;(r.name==="constructor"||r.value==="constructor")&&this.raise(p.ConstructorClassField,{at:r})}let i=this.parseClassAccessorProperty(e);t.body.push(i),s&&this.classScope.declarePrivateName(this.getPrivateNameSV(i.key),dt,i.key.loc.start)}pushClassMethod(t,e,s,i,r,n){t.body.push(this.parseMethod(e,s,i,r,n,"ClassMethod",!0))}pushClassPrivateMethod(t,e,s,i){let r=this.parseMethod(e,s,i,!1,!1,"ClassPrivateMethod",!0);t.body.push(r);let n=r.kind==="get"?r.static?Dr:Or:r.kind==="set"?r.static?Mr:Br:dt;this.declareClassPrivateMethodInScope(r,n)}declareClassPrivateMethodInScope(t,e){this.classScope.declarePrivateName(this.getPrivateNameSV(t.key),e,t.key.loc.start)}parsePostMemberNameModifiers(t){}parseClassPrivateProperty(t){return this.parseInitializer(t),this.semicolon(),this.finishNode(t,"ClassPrivateProperty")}parseClassProperty(t){return this.parseInitializer(t),this.semicolon(),this.finishNode(t,"ClassProperty")}parseClassAccessorProperty(t){return this.parseInitializer(t),this.semicolon(),this.finishNode(t,"ClassAccessorProperty")}parseInitializer(t){this.scope.enter(ee|Ge),this.expressionScope.enter(Xs()),this.prodParam.enter(pe),t.value=this.eat(29)?this.parseMaybeAssignAllowIn():null,this.expressionScope.exit(),this.prodParam.exit(),this.scope.exit()}parseClassId(t,e,s,i=js){if(S(this.state.type))t.id=this.parseIdentifier(),e&&this.declareNameFromIdentifier(t.id,i);else if(s||!e)t.id=null;else throw this.raise(p.MissingClassName,{at:this.state.startLoc})}parseClassSuper(t){t.superClass=this.eat(81)?this.parseExprSubscripts():null}parseExport(t,e){let s=this.parseMaybeImportPhase(t,!0),i=this.maybeParseExportDefaultSpecifier(t,s),r=!i||this.eat(12),n=r&&this.eatExportStar(t),o=n&&this.maybeParseExportNamespaceSpecifier(t),h=r&&(!o||this.eat(12)),l=i||n;if(n&&!o){if(i&&this.unexpected(),e)throw this.raise(p.UnsupportedDecoratorExport,{at:t});return this.parseExportFrom(t,!0),this.finishNode(t,"ExportAllDeclaration")}let c=this.maybeParseExportNamedSpecifiers(t);i&&r&&!n&&!c&&this.unexpected(null,5),o&&h&&this.unexpected(null,97);let u;if(l||c){if(u=!1,e)throw this.raise(p.UnsupportedDecoratorExport,{at:t});this.parseExportFrom(t,l)}else u=this.maybeParseExportDeclaration(t);if(l||c||u){var d;let f=t;if(this.checkExport(f,!0,!1,!!f.source),((d=f.declaration)==null?void 0:d.type)==="ClassDeclaration")this.maybeTakeDecorators(e,f.declaration,f);else if(e)throw this.raise(p.UnsupportedDecoratorExport,{at:t});return this.finishNode(f,"ExportNamedDeclaration")}if(this.eat(65)){let f=t,x=this.parseExportDefaultExpression();if(f.declaration=x,x.type==="ClassDeclaration")this.maybeTakeDecorators(e,x,f);else if(e)throw this.raise(p.UnsupportedDecoratorExport,{at:t});return this.checkExport(f,!0,!0),this.finishNode(f,"ExportDefaultDeclaration")}this.unexpected(null,5)}eatExportStar(t){return this.eat(55)}maybeParseExportDefaultSpecifier(t,e){if(e||this.isExportDefaultSpecifier()){this.expectPlugin("exportDefaultFrom",e==null?void 0:e.loc.start);let s=e||this.parseIdentifier(!0),i=this.startNodeAtNode(s);return i.exported=s,t.specifiers=[this.finishNode(i,"ExportDefaultSpecifier")],!0}return!1}maybeParseExportNamespaceSpecifier(t){if(this.isContextual(93)){t.specifiers||(t.specifiers=[]);let e=this.startNodeAt(this.state.lastTokStartLoc);return this.next(),e.exported=this.parseModuleExportName(),t.specifiers.push(this.finishNode(e,"ExportNamespaceSpecifier")),!0}return!1}maybeParseExportNamedSpecifiers(t){if(this.match(5)){t.specifiers||(t.specifiers=[]);let e=t.exportKind==="type";return t.specifiers.push(...this.parseExportSpecifiers(e)),t.source=null,t.declaration=null,this.hasPlugin("importAssertions")&&(t.assertions=[]),!0}return!1}maybeParseExportDeclaration(t){return this.shouldParseExportDeclaration()?(t.specifiers=[],t.source=null,this.hasPlugin("importAssertions")&&(t.assertions=[]),t.declaration=this.parseExportDeclaration(t),!0):!1}isAsyncFunction(){if(!this.isContextual(95))return!1;let t=this.nextTokenInLineStart();return this.isUnparsedContextual(t,"function")}parseExportDefaultExpression(){let t=this.startNode();if(this.match(68))return this.next(),this.parseFunction(t,5);if(this.isAsyncFunction())return this.next(),this.next(),this.parseFunction(t,13);if(this.match(80))return this.parseClass(t,!0,!0);if(this.match(26))return this.hasPlugin("decorators")&&this.getPluginOption("decorators","decoratorsBeforeExport")===!0&&this.raise(p.DecoratorBeforeExport,{at:this.state.startLoc}),this.parseClass(this.maybeTakeDecorators(this.parseDecorators(!1),this.startNode()),!0,!0);if(this.match(75)||this.match(74)||this.isLet())throw this.raise(p.UnsupportedDefaultExport,{at:this.state.startLoc});let e=this.parseMaybeAssignAllowIn();return this.semicolon(),e}parseExportDeclaration(t){return this.match(80)?this.parseClass(this.startNode(),!0,!1):this.parseStatementListItem()}isExportDefaultSpecifier(){let{type:t}=this.state;if(S(t)){if(t===95&&!this.state.containsEsc||t===99)return!1;if((t===128||t===127)&&!this.state.containsEsc){let{type:i}=this.lookahead();if(S(i)&&i!==97||i===5)return this.expectOnePlugin(["flow","typescript"]),!1}}else if(!this.match(65))return!1;let e=this.nextTokenStart(),s=this.isUnparsedContextual(e,"from");if(this.input.charCodeAt(e)===44||S(this.state.type)&&s)return!0;if(this.match(65)&&s){let i=this.input.charCodeAt(this.nextTokenStartSince(e+4));return i===34||i===39}return!1}parseExportFrom(t,e){this.eatContextual(97)?(t.source=this.parseImportSource(),this.checkExport(t),this.maybeParseImportAttributes(t),this.checkJSONModuleImport(t)):e&&this.unexpected(),this.semicolon()}shouldParseExportDeclaration(){let{type:t}=this.state;return t===26&&(this.expectOnePlugin(["decorators","decorators-legacy"]),this.hasPlugin("decorators"))?(this.getPluginOption("decorators","decoratorsBeforeExport")===!0&&this.raise(p.DecoratorBeforeExport,{at:this.state.startLoc}),!0):t===74||t===75||t===68||t===80||this.isLet()||this.isAsyncFunction()}checkExport(t,e,s,i){if(e){if(s){if(this.checkDuplicateExports(t,"default"),this.hasPlugin("exportDefaultFrom")){var r;let n=t.declaration;n.type==="Identifier"&&n.name==="from"&&n.end-n.start===4&&!((r=n.extra)!=null&&r.parenthesized)&&this.raise(p.ExportDefaultFromAsIdentifier,{at:n})}}else if(t.specifiers&&t.specifiers.length)for(let n of t.specifiers){let{exported:o}=n,h=o.type==="Identifier"?o.name:o.value;if(this.checkDuplicateExports(n,h),!i&&n.local){let{local:l}=n;l.type!=="Identifier"?this.raise(p.ExportBindingIsString,{at:n,localName:l.value,exportName:h}):(this.checkReservedWord(l.name,l.loc.start,!0,!1),this.scope.checkLocalExport(l))}}else if(t.declaration){if(t.declaration.type==="FunctionDeclaration"||t.declaration.type==="ClassDeclaration"){let n=t.declaration.id;if(!n)throw new Error("Assertion failure");this.checkDuplicateExports(t,n.name)}else if(t.declaration.type==="VariableDeclaration")for(let n of t.declaration.declarations)this.checkDeclaration(n.id)}}}checkDeclaration(t){if(t.type==="Identifier")this.checkDuplicateExports(t,t.name);else if(t.type==="ObjectPattern")for(let e of t.properties)this.checkDeclaration(e);else if(t.type==="ArrayPattern")for(let e of t.elements)e&&this.checkDeclaration(e);else t.type==="ObjectProperty"?this.checkDeclaration(t.value):t.type==="RestElement"?this.checkDeclaration(t.argument):t.type==="AssignmentPattern"&&this.checkDeclaration(t.left)}checkDuplicateExports(t,e){this.exportedIdentifiers.has(e)&&(e==="default"?this.raise(p.DuplicateDefaultExport,{at:t}):this.raise(p.DuplicateExport,{at:t,exportName:e})),this.exportedIdentifiers.add(e)}parseExportSpecifiers(t){let e=[],s=!0;for(this.expect(5);!this.eat(8);){if(s)s=!1;else if(this.expect(12),this.eat(8))break;let i=this.isContextual(128),r=this.match(131),n=this.startNode();n.local=this.parseModuleExportName(),e.push(this.parseExportSpecifier(n,r,t,i))}return e}parseExportSpecifier(t,e,s,i){return this.eatContextual(93)?t.exported=this.parseModuleExportName():e?t.exported=Xr(t.local):t.exported||(t.exported=K(t.local)),this.finishNode(t,"ExportSpecifier")}parseModuleExportName(){if(this.match(131)){let t=this.parseStringLiteral(this.state.value),e=t.value.match(Pa);return e&&this.raise(p.ModuleExportNameHasLoneSurrogate,{at:t,surrogateCharCode:e[0].charCodeAt(0)}),t}return this.parseIdentifier(!0)}isJSONModuleImport(t){return t.assertions!=null?t.assertions.some(({key:e,value:s})=>s.value==="json"&&(e.type==="Identifier"?e.name==="type":e.value==="type")):!1}checkImportReflection(t){if(t.module){var e;(t.specifiers.length!==1||t.specifiers[0].type!=="ImportDefaultSpecifier")&&this.raise(p.ImportReflectionNotBinding,{at:t.specifiers[0].loc.start}),((e=t.assertions)==null?void 0:e.length)>0&&this.raise(p.ImportReflectionHasAssertion,{at:t.specifiers[0].loc.start})}}checkJSONModuleImport(t){if(this.isJSONModuleImport(t)&&t.type!=="ExportAllDeclaration"){let{specifiers:e}=t;if(e!=null){let s=e.find(i=>{let r;if(i.type==="ExportSpecifier"?r=i.local:i.type==="ImportSpecifier"&&(r=i.imported),r!==void 0)return r.type==="Identifier"?r.name!=="default":r.value!=="default"});s!==void 0&&this.raise(p.ImportJSONBindingNotDefault,{at:s.loc.start})}}}isPotentialImportPhase(t){return!t&&this.isContextual(125)}applyImportPhase(t,e,s,i){e||(s==="module"?(this.expectPlugin("importReflection",i),t.module=!0):this.hasPlugin("importReflection")&&(t.module=!1))}parseMaybeImportPhase(t,e){if(!this.isPotentialImportPhase(e))return this.applyImportPhase(t,e,null),null;let s=this.parseIdentifier(!0),{type:i}=this.state;return(M(i)?i!==97||this.lookaheadCharCode()===102:i!==12)?(this.resetPreviousIdentifierLeadingComments(s),this.applyImportPhase(t,e,s.name,s.loc.start),null):(this.applyImportPhase(t,e,null),s)}isPrecedingIdImportPhase(t){let{type:e}=this.state;return S(e)?e!==97||this.lookaheadCharCode()===102:e!==12}parseImport(t){return this.match(131)?this.parseImportSourceAndAttributes(t):this.parseImportSpecifiersAndAfter(t,this.parseMaybeImportPhase(t,!1))}parseImportSpecifiersAndAfter(t,e){t.specifiers=[];let i=!this.maybeParseDefaultImportSpecifier(t,e)||this.eat(12),r=i&&this.maybeParseStarImportSpecifier(t);return i&&!r&&this.parseNamedImportSpecifiers(t),this.expectContextual(97),this.parseImportSourceAndAttributes(t)}parseImportSourceAndAttributes(t){var e;return(e=t.specifiers)!=null||(t.specifiers=[]),t.source=this.parseImportSource(),this.maybeParseImportAttributes(t),this.checkImportReflection(t),this.checkJSONModuleImport(t),this.semicolon(),this.finishNode(t,"ImportDeclaration")}parseImportSource(){return this.match(131)||this.unexpected(),this.parseExprAtom()}parseImportSpecifierLocal(t,e,s){e.local=this.parseIdentifier(),t.specifiers.push(this.finishImportSpecifier(e,s))}finishImportSpecifier(t,e,s=ce){return this.checkLVal(t.local,{in:{type:e},binding:s}),this.finishNode(t,e)}parseImportAttributes(){this.expect(5);let t=[],e=new Set;do{if(this.match(8))break;let s=this.startNode(),i=this.state.value;if(e.has(i)&&this.raise(p.ModuleAttributesWithDuplicateKeys,{at:this.state.startLoc,key:i}),e.add(i),this.match(131)?s.key=this.parseStringLiteral(i):s.key=this.parseIdentifier(!0),this.expect(14),!this.match(131))throw this.raise(p.ModuleAttributeInvalidValue,{at:this.state.startLoc});s.value=this.parseStringLiteral(this.state.value),t.push(this.finishNode(s,"ImportAttribute"))}while(this.eat(12));return this.expect(8),t}parseModuleAttributes(){let t=[],e=new Set;do{let s=this.startNode();if(s.key=this.parseIdentifier(!0),s.key.name!=="type"&&this.raise(p.ModuleAttributeDifferentFromType,{at:s.key}),e.has(s.key.name)&&this.raise(p.ModuleAttributesWithDuplicateKeys,{at:s.key,key:s.key.name}),e.add(s.key.name),this.expect(14),!this.match(131))throw this.raise(p.ModuleAttributeInvalidValue,{at:this.state.startLoc});s.value=this.parseStringLiteral(this.state.value),t.push(this.finishNode(s,"ImportAttribute"))}while(this.eat(12));return t}maybeParseImportAttributes(t){let e,s=!1;if(this.match(76)){if(this.hasPrecedingLineBreak()&&this.lookaheadCharCode()===40)return;this.next(),this.hasPlugin("moduleAttributes")?e=this.parseModuleAttributes():(this.expectImportAttributesPlugin(),e=this.parseImportAttributes()),s=!0}else if(this.isContextual(94)&&!this.hasPrecedingLineBreak())this.hasPlugin("importAttributes")?(this.getPluginOption("importAttributes","deprecatedAssertSyntax")!==!0&&this.raise(p.ImportAttributesUseAssert,{at:this.state.startLoc}),this.addExtra(t,"deprecatedAssertSyntax",!0)):this.expectOnePlugin(["importAttributes","importAssertions"]),this.next(),e=this.parseImportAttributes();else if(this.hasPlugin("importAttributes")||this.hasPlugin("importAssertions"))e=[];else if(this.hasPlugin("moduleAttributes"))e=[];else return;!s&&this.hasPlugin("importAssertions")?t.assertions=e:t.attributes=e}maybeParseDefaultImportSpecifier(t,e){if(e){let s=this.startNodeAtNode(e);return s.local=e,t.specifiers.push(this.finishImportSpecifier(s,"ImportDefaultSpecifier")),!0}else if(M(this.state.type))return this.parseImportSpecifierLocal(t,this.startNode(),"ImportDefaultSpecifier"),!0;return!1}maybeParseStarImportSpecifier(t){if(this.match(55)){let e=this.startNode();return this.next(),this.expectContextual(93),this.parseImportSpecifierLocal(t,e,"ImportNamespaceSpecifier"),!0}return!1}parseNamedImportSpecifiers(t){let e=!0;for(this.expect(5);!this.eat(8);){if(e)e=!1;else{if(this.eat(14))throw this.raise(p.DestructureNamedImport,{at:this.state.startLoc});if(this.expect(12),this.eat(8))break}let s=this.startNode(),i=this.match(131),r=this.isContextual(128);s.imported=this.parseModuleExportName();let n=this.parseImportSpecifier(s,i,t.importKind==="type"||t.importKind==="typeof",r,void 0);t.specifiers.push(n)}}parseImportSpecifier(t,e,s,i,r){if(this.eatContextual(93))t.local=this.parseIdentifier();else{let{imported:n}=t;if(e)throw this.raise(p.ImportBindingIsString,{at:t,importName:n.value});this.checkReservedWord(n.name,t.loc.start,!0,!0),t.local||(t.local=K(n))}return this.finishImportSpecifier(t,"ImportSpecifier",r)}isThisParam(t){return t.type==="Identifier"&&t.name==="this"}},st=class extends Vt{constructor(t,e){t=ya(t),super(t,e),this.options=t,this.initializeScopes(),this.plugins=ga(this.options.plugins),this.filename=t.sourceFilename}getScopeHandler(){return Le}parse(){this.enterInitialScopes();let t=this.startNode(),e=this.startNode();return this.nextToken(),t.errors=null,this.parseTopLevel(t,e),t.errors=this.state.errors,t}};function ga(a){let t=new Map;for(let e of a){let[s,i]=Array.isArray(e)?e:[e,{}];t.has(s)||t.set(s,i||{})}return t}function ba(a,t){var e;if(((e=t)==null?void 0:e.sourceType)==="unambiguous"){t=Object.assign({},t);try{t.sourceType="module";let s=we(t,a),i=s.parse();if(s.sawUnambiguousESM)return i;if(s.ambiguousScriptDifferentAst)try{return t.sourceType="script",we(t,a).parse()}catch{}else i.program.sourceType="script";return i}catch(s){try{return t.sourceType="script",we(t,a).parse()}catch{}throw s}}else return we(t,a).parse()}function Aa(a,t){let e=we(t,a);return e.options.strictMode&&(e.state.strict=!0),e.getExpression()}function Sa(a){let t={};for(let e of Object.keys(a))t[e]=U(a[e]);return t}var Ea=Sa(rr);function we(a,t){let e=st;return a!=null&&a.plugins&&(da(a.plugins),e=Ca(a.plugins)),new e(a,t)}var Ns={};function Ca(a){let t=ma.filter(i=>k(a,i)),e=t.join("/"),s=Ns[e];if(!s){s=st;for(let i of t)s=ti[i](s);Ns[e]=s}return s}Me.parse=ba;Me.parseExpression=Aa;Me.tokTypes=Ea});var mi=cs(ie=>{"use strict";Object.defineProperty(ie,"__esModule",{value:!0});ie.extract=_a;ie.parse=Ua;ie.parseWithComments=di;ie.print=ja;ie.strip=Ra;var Da=/\*\/$/,Ma=/^\/\*\*?/,ui=/^\s*(\/\*\*?(.|\r?\n)*?\*\/)/,Oa=/(^|\s+)\/\/([^\r\n]*)/g,li=/^(\r?\n)+/,Ba=/(?:^|\r?\n) *(@[^\r\n]*?) *\r?\n *(?![^@\r\n]*\/\/[^]*)([^@\r\n\s][^@\r\n]+?) *\r?\n/g,ci=/(?:^|\r?\n) *@(\S+) *([^\r\n]*)/g,Fa=/(\r?\n|^) *\* ?/g,fi=[];function _a(a){let t=a.match(ui);return t?t[0].trimLeft():""}function Ra(a){let t=a.match(ui);return t&&t[0]?a.substring(t[0].length):a}function Ua(a){return di(a).pragmas}function di(a){let t=` -`;a=a.replace(Ma,"").replace(Da,"").replace(Fa,"$1");let e="";for(;e!==a;)e=a,a=a.replace(Ba,`${t}$1 $2${t}`);a=a.replace(li,"").trimRight();let s=Object.create(null),i=a.replace(ci,"").replace(li,"").trimRight(),r;for(;r=ci.exec(a);){let n=r[2].replace(Oa,"");typeof s[r[1]]=="string"||Array.isArray(s[r[1]])?s[r[1]]=fi.concat(s[r[1]],n):s[r[1]]=n}return{comments:i,pragmas:s}}function ja({comments:a="",pragmas:t={}}){let e=` -`,s="/**",i=" *",r=" */",n=Object.keys(t),o=n.map(l=>pi(l,t[l])).reduce((l,c)=>l.concat(c),[]).map(l=>`${i} ${l}${e}`).join("");if(!a){if(n.length===0)return"";if(n.length===1&&!Array.isArray(t[n[0]])){let l=t[n[0]];return`${s} ${pi(n[0],l)[0]}${r}`}}let h=a.split(e).map(l=>`${i} ${l}`).join(e)+e;return s+e+(a?h:"")+(a&&n.length?i+e:"")+o+r}function pi(a,t){return fi.concat(t).map(e=>`@${a} ${e}`.trim())}});var mn={};zi(mn,{parsers:()=>dn});var ct=pt(rs(),1);function wa(a){let t=[];for(let e of a)try{return e()}catch(s){t.push(s)}throw Object.assign(new Error("All combinations failed"),{errors:t})}var si=wa;function Ia(a){if(!a.startsWith("#!"))return"";let t=a.indexOf(` -`);return t===-1?a:a.slice(0,t)}var at=Ia;function Na(a,t){if(t===!1)return!1;if(a.charAt(t)==="/"&&a.charAt(t+1)==="*"){for(let e=t+2;e=this.length)throw this.raise(p.UnterminatedString,this.state.startLoc);let r=this.input.charCodeAt(this.state.pos);if(r===e)break;r===38?(s+=this.input.slice(i,this.state.pos),s+=this.jsxReadEntity(),i=this.state.pos):fe(r)?(s+=this.input.slice(i,this.state.pos),s+=this.jsxReadNewLine(!1),i=this.state.pos):++this.state.pos}s+=this.input.slice(i,this.state.pos++),this.finishToken(133,s)}jsxReadEntity(){let e=++this.state.pos;if(this.codePointAtPos(this.state.pos)===35){++this.state.pos;let s=10;this.codePointAtPos(this.state.pos)===120&&(s=16,++this.state.pos);let i=this.readInt(s,void 0,!1,"bail");if(i!==null&&this.codePointAtPos(this.state.pos)===59)return++this.state.pos,String.fromCodePoint(i)}else{let s=0,i=!1;for(;s++<10&&this.state.pos1){for(let i=0;i0){if(s&256){let r=!!(s&512),n=(i&4)>0;return r!==n}return!0}return s&128&&(i&8)>0?t.names.get(e)&2?!!(s&1):!1:s&2&&(i&1)>0?!0:super.isRedeclaredInScope(t,e,s)}checkLocalExport(t){let{name:e}=t;if(this.hasImport(e))return;let s=this.scopeStack.length;for(let i=s-1;i>=0;i--){let n=this.scopeStack[i].tsNames.get(e);if((n&1)>0||(n&16)>0)return}super.checkLocalExport(t)}},Ki=(a,t)=>hasOwnProperty.call(a,t)&&a[t],as=a=>a.type==="ParenthesizedExpression"?as(a.expression):a,lt=class extends nt{toAssignable(t,e=!1){var s,i;let r;switch((t.type==="ParenthesizedExpression"||(s=t.extra)!=null&&s.parenthesized)&&(r=as(t),e?r.type==="Identifier"?this.expressionScope.recordArrowParameterBindingError(p.InvalidParenthesizedAssignment,t):r.type!=="MemberExpression"&&!this.isOptionalMemberExpression(r)&&this.raise(p.InvalidParenthesizedAssignment,t):this.raise(p.InvalidParenthesizedAssignment,t)),t.type){case"Identifier":case"ObjectPattern":case"ArrayPattern":case"AssignmentPattern":case"RestElement":break;case"ObjectExpression":t.type="ObjectPattern";for(let o=0,h=t.properties.length,c=h-1;oi.type!=="ObjectMethod"&&(r===s||i.type!=="SpreadElement")&&this.isAssignable(i))}case"ObjectProperty":return this.isAssignable(t.value);case"SpreadElement":return this.isAssignable(t.argument);case"ArrayExpression":return t.elements.every(s=>s===null||this.isAssignable(s));case"AssignmentExpression":return t.operator==="=";case"ParenthesizedExpression":return this.isAssignable(t.expression);case"MemberExpression":case"OptionalMemberExpression":return!e;default:return!1}}toReferencedList(t,e){return t}toReferencedListDeep(t,e){this.toReferencedList(t,e);for(let s of t)(s==null?void 0:s.type)==="ArrayExpression"&&this.toReferencedListDeep(s.elements)}parseSpread(t){let e=this.startNode();return this.next(),e.argument=this.parseMaybeAssignAllowIn(t,void 0),this.finishNode(e,"SpreadElement")}parseRestBinding(){let t=this.startNode();return this.next(),t.argument=this.parseBindingAtom(),this.finishNode(t,"RestElement")}parseBindingAtom(){switch(this.state.type){case 0:{let t=this.startNode();return this.next(),t.elements=this.parseBindingList(3,93,1),this.finishNode(t,"ArrayPattern")}case 5:return this.parseObjectLike(8,!0)}return this.parseIdentifier()}parseBindingList(t,e,s){let i=s&1,r=[],n=!0;for(;!this.eat(t);)if(n?n=!1:this.expect(12),i&&this.match(12))r.push(null);else{if(this.eat(t))break;if(this.match(21)){if(r.push(this.parseAssignableListItemTypes(this.parseRestBinding(),s)),!this.checkCommaAfterRest(e)){this.expect(t);break}}else{let o=[];for(this.match(26)&&this.hasPlugin("decorators")&&this.raise(p.UnsupportedParameterDecorator,this.state.startLoc);this.match(26);)o.push(this.parseDecorator());r.push(this.parseAssignableListItem(s,o))}}return r}parseBindingRestProperty(t){return this.next(),t.argument=this.parseIdentifier(),this.checkCommaAfterRest(125),this.finishNode(t,"RestElement")}parseBindingProperty(){let{type:t,startLoc:e}=this.state;if(t===21)return this.parseBindingRestProperty(this.startNode());let s=this.startNode();return t===138?(this.expectPlugin("destructuringPrivate",e),this.classScope.usePrivateName(this.state.value,e),s.key=this.parsePrivateName()):this.parsePropertyName(s),s.method=!1,this.parseObjPropValue(s,e,!1,!1,!0,!1)}parseAssignableListItem(t,e){let s=this.parseMaybeDefault();this.parseAssignableListItemTypes(s,t);let i=this.parseMaybeDefault(s.loc.start,s);return e.length&&(s.decorators=e),i}parseAssignableListItemTypes(t,e){return t}parseMaybeDefault(t,e){var s,i;if((s=t)!=null||(t=this.state.startLoc),e=(i=e)!=null?i:this.parseBindingAtom(),!this.eat(29))return e;let r=this.startNodeAt(t);return r.left=e,r.right=this.parseMaybeAssignAllowIn(),this.finishNode(r,"AssignmentPattern")}isValidLVal(t,e,s){return Ki({AssignmentPattern:"left",RestElement:"argument",ObjectProperty:"value",ParenthesizedExpression:"expression",ArrayPattern:"elements",ObjectPattern:"properties"},t)}isOptionalMemberExpression(t){return t.type==="OptionalMemberExpression"}checkLVal(t,{in:e,binding:s=64,checkClashes:i=!1,strictModeChanged:r=!1,hasParenthesizedAncestor:n=!1}){var o;let h=t.type;if(this.isObjectMethod(t))return;let c=this.isOptionalMemberExpression(t);if(c||h==="MemberExpression"){c&&(this.expectPlugin("optionalChainingAssign",t.loc.start),e.type!=="AssignmentExpression"&&this.raise(p.InvalidLhsOptionalChaining,t,{ancestor:e})),s!==64&&this.raise(p.InvalidPropertyBindingPattern,t);return}if(h==="Identifier"){this.checkIdentifier(t,s,r);let{name:y}=t;i&&(i.has(y)?this.raise(p.ParamDupe,t):i.add(y));return}let l=this.isValidLVal(h,!(n||(o=t.extra)!=null&&o.parenthesized)&&e.type==="AssignmentExpression",s);if(l===!0)return;if(l===!1){let y=s===64?p.InvalidLhs:p.InvalidLhsBinding;this.raise(y,t,{ancestor:e});return}let[u,f]=Array.isArray(l)?l:[l,h==="ParenthesizedExpression"],d=h==="ArrayPattern"||h==="ObjectPattern"?{type:h}:e;for(let y of[].concat(t[u]))y&&this.checkLVal(y,{in:d,binding:s,checkClashes:i,strictModeChanged:r,hasParenthesizedAncestor:f})}checkIdentifier(t,e,s=!1){this.state.strict&&(s?Zt(t.name,this.inModule):Qt(t.name))&&(e===64?this.raise(p.StrictEvalArguments,t,{referenceName:t.name}):this.raise(p.StrictEvalArgumentsBinding,t,{bindingName:t.name})),e&8192&&t.name==="let"&&this.raise(p.LetInLexicalBinding,t),e&64||this.declareNameFromIdentifier(t,e)}declareNameFromIdentifier(t,e){this.scope.declareName(t.name,e,t.loc.start)}checkToRestConversion(t,e){switch(t.type){case"ParenthesizedExpression":this.checkToRestConversion(t.expression,e);break;case"Identifier":case"MemberExpression":break;case"ArrayExpression":case"ObjectExpression":if(e)break;default:this.raise(p.InvalidRestAssignmentPattern,t)}}checkCommaAfterRest(t){return this.match(12)?(this.raise(this.lookaheadCharCode()===t?p.RestTrailingComma:p.ElementAfterRest,this.state.startLoc),!0):!1}},Hi=(a,t)=>hasOwnProperty.call(a,t)&&a[t];function Wi(a){if(a==null)throw new Error(`Unexpected ${a} value.`);return a}function jt(a){if(!a)throw new Error("Assert fail")}var x=j`typescript`({AbstractMethodHasImplementation:({methodName:a})=>`Method '${a}' cannot have an implementation because it is marked abstract.`,AbstractPropertyHasInitializer:({propertyName:a})=>`Property '${a}' cannot have an initializer because it is marked abstract.`,AccesorCannotDeclareThisParameter:"'get' and 'set' accessors cannot declare 'this' parameters.",AccesorCannotHaveTypeParameters:"An accessor cannot have type parameters.",AccessorCannotBeOptional:"An 'accessor' property cannot be declared optional.",ClassMethodHasDeclare:"Class methods cannot have the 'declare' modifier.",ClassMethodHasReadonly:"Class methods cannot have the 'readonly' modifier.",ConstInitiailizerMustBeStringOrNumericLiteralOrLiteralEnumReference:"A 'const' initializer in an ambient context must be a string or numeric literal or literal enum reference.",ConstructorHasTypeParameters:"Type parameters cannot appear on a constructor declaration.",DeclareAccessor:({kind:a})=>`'declare' is not allowed in ${a}ters.`,DeclareClassFieldHasInitializer:"Initializers are not allowed in ambient contexts.",DeclareFunctionHasImplementation:"An implementation cannot be declared in ambient contexts.",DuplicateAccessibilityModifier:({modifier:a})=>"Accessibility modifier already seen.",DuplicateModifier:({modifier:a})=>`Duplicate modifier: '${a}'.`,EmptyHeritageClauseType:({token:a})=>`'${a}' list cannot be empty.`,EmptyTypeArguments:"Type argument list cannot be empty.",EmptyTypeParameters:"Type parameter list cannot be empty.",ExpectedAmbientAfterExportDeclare:"'export declare' must be followed by an ambient declaration.",ImportAliasHasImportType:"An import alias can not use 'import type'.",ImportReflectionHasImportType:"An `import module` declaration can not use `type` modifier",IncompatibleModifiers:({modifiers:a})=>`'${a[0]}' modifier cannot be used with '${a[1]}' modifier.`,IndexSignatureHasAbstract:"Index signatures cannot have the 'abstract' modifier.",IndexSignatureHasAccessibility:({modifier:a})=>`Index signatures cannot have an accessibility modifier ('${a}').`,IndexSignatureHasDeclare:"Index signatures cannot have the 'declare' modifier.",IndexSignatureHasOverride:"'override' modifier cannot appear on an index signature.",IndexSignatureHasStatic:"Index signatures cannot have the 'static' modifier.",InitializerNotAllowedInAmbientContext:"Initializers are not allowed in ambient contexts.",InvalidModifierOnTypeMember:({modifier:a})=>`'${a}' modifier cannot appear on a type member.`,InvalidModifierOnTypeParameter:({modifier:a})=>`'${a}' modifier cannot appear on a type parameter.`,InvalidModifierOnTypeParameterPositions:({modifier:a})=>`'${a}' modifier can only appear on a type parameter of a class, interface or type alias.`,InvalidModifiersOrder:({orderedModifiers:a})=>`'${a[0]}' modifier must precede '${a[1]}' modifier.`,InvalidPropertyAccessAfterInstantiationExpression:"Invalid property access after an instantiation expression. You can either wrap the instantiation expression in parentheses, or delete the type arguments.",InvalidTupleMemberLabel:"Tuple members must be labeled with a simple identifier.",MissingInterfaceName:"'interface' declarations must be followed by an identifier.",NonAbstractClassHasAbstractMethod:"Abstract methods can only appear within an abstract class.",NonClassMethodPropertyHasAbstractModifer:"'abstract' modifier can only appear on a class, method, or property declaration.",OptionalTypeBeforeRequired:"A required element cannot follow an optional element.",OverrideNotInSubClass:"This member cannot have an 'override' modifier because its containing class does not extend another class.",PatternIsOptional:"A binding pattern parameter cannot be optional in an implementation signature.",PrivateElementHasAbstract:"Private elements cannot have the 'abstract' modifier.",PrivateElementHasAccessibility:({modifier:a})=>`Private elements cannot have an accessibility modifier ('${a}').`,ReadonlyForMethodSignature:"'readonly' modifier can only appear on a property declaration or index signature.",ReservedArrowTypeParam:"This syntax is reserved in files with the .mts or .cts extension. Add a trailing comma, as in `() => ...`.",ReservedTypeAssertion:"This syntax is reserved in files with the .mts or .cts extension. Use an `as` expression instead.",SetAccesorCannotHaveOptionalParameter:"A 'set' accessor cannot have an optional parameter.",SetAccesorCannotHaveRestParameter:"A 'set' accessor cannot have rest parameter.",SetAccesorCannotHaveReturnType:"A 'set' accessor cannot have a return type annotation.",SingleTypeParameterWithoutTrailingComma:({typeParameterName:a})=>`Single type parameter ${a} should have a trailing comma. Example usage: <${a},>.`,StaticBlockCannotHaveModifier:"Static class blocks cannot have any modifier.",TupleOptionalAfterType:"A labeled tuple optional element must be declared using a question mark after the name and before the colon (`name?: type`), rather than after the type (`name: type?`).",TypeAnnotationAfterAssign:"Type annotations must come before default assignments, e.g. instead of `age = 25: number` use `age: number = 25`.",TypeImportCannotSpecifyDefaultAndNamed:"A type-only import can specify a default import or named bindings, but not both.",TypeModifierIsUsedInTypeExports:"The 'type' modifier cannot be used on a named export when 'export type' is used on its export statement.",TypeModifierIsUsedInTypeImports:"The 'type' modifier cannot be used on a named import when 'import type' is used on its import statement.",UnexpectedParameterModifier:"A parameter property is only allowed in a constructor implementation.",UnexpectedReadonly:"'readonly' type modifier is only permitted on array and tuple literal types.",UnexpectedTypeAnnotation:"Did not expect a type annotation here.",UnexpectedTypeCastInParameter:"Unexpected type cast in parameter position.",UnsupportedImportTypeArgument:"Argument in a type import must be a string literal.",UnsupportedParameterPropertyKind:"A parameter property may not be declared using a binding pattern.",UnsupportedSignatureParameterKind:({type:a})=>`Name in a signature must be an Identifier, ObjectPattern or ArrayPattern, instead got ${a}.`});function Ji(a){switch(a){case"any":return"TSAnyKeyword";case"boolean":return"TSBooleanKeyword";case"bigint":return"TSBigIntKeyword";case"never":return"TSNeverKeyword";case"number":return"TSNumberKeyword";case"object":return"TSObjectKeyword";case"string":return"TSStringKeyword";case"symbol":return"TSSymbolKeyword";case"undefined":return"TSUndefinedKeyword";case"unknown":return"TSUnknownKeyword";default:return}}function $t(a){return a==="private"||a==="public"||a==="protected"}function Xi(a){return a==="in"||a==="out"}var Gi=a=>class extends a{constructor(...e){super(...e),this.tsParseInOutModifiers=this.tsParseModifiers.bind(this,{allowedModifiers:["in","out"],disallowedModifiers:["const","public","private","protected","readonly","declare","abstract","override"],errorTemplate:x.InvalidModifierOnTypeParameter}),this.tsParseConstModifier=this.tsParseModifiers.bind(this,{allowedModifiers:["const"],disallowedModifiers:["in","out"],errorTemplate:x.InvalidModifierOnTypeParameterPositions}),this.tsParseInOutConstModifiers=this.tsParseModifiers.bind(this,{allowedModifiers:["in","out","const"],disallowedModifiers:["public","private","protected","readonly","declare","abstract","override"],errorTemplate:x.InvalidModifierOnTypeParameter})}getScopeHandler(){return ht}tsIsIdentifier(){return w(this.state.type)}tsTokenCanFollowModifier(){return(this.match(0)||this.match(5)||this.match(55)||this.match(21)||this.match(138)||this.isLiteralPropertyName())&&!this.hasPrecedingLineBreak()}tsNextTokenCanFollowModifier(){return this.next(),this.tsTokenCanFollowModifier()}tsParseModifier(e,s){if(!w(this.state.type)&&this.state.type!==58&&this.state.type!==75)return;let i=this.state.value;if(e.includes(i)){if(s&&this.tsIsStartOfStaticBlocks())return;if(this.tsTryParse(this.tsNextTokenCanFollowModifier.bind(this)))return i}}tsParseModifiers({allowedModifiers:e,disallowedModifiers:s,stopOnStartOfClassStaticBlock:i,errorTemplate:r=x.InvalidModifierOnTypeMember},n){let o=(c,l,u,f)=>{l===u&&n[f]&&this.raise(x.InvalidModifiersOrder,c,{orderedModifiers:[u,f]})},h=(c,l,u,f)=>{(n[u]&&l===f||n[f]&&l===u)&&this.raise(x.IncompatibleModifiers,c,{modifiers:[u,f]})};for(;;){let{startLoc:c}=this.state,l=this.tsParseModifier(e.concat(s??[]),i);if(!l)break;$t(l)?n.accessibility?this.raise(x.DuplicateAccessibilityModifier,c,{modifier:l}):(o(c,l,l,"override"),o(c,l,l,"static"),o(c,l,l,"readonly"),n.accessibility=l):Xi(l)?(n[l]&&this.raise(x.DuplicateModifier,c,{modifier:l}),n[l]=!0,o(c,l,"in","out")):(hasOwnProperty.call(n,l)?this.raise(x.DuplicateModifier,c,{modifier:l}):(o(c,l,"static","readonly"),o(c,l,"static","override"),o(c,l,"override","readonly"),o(c,l,"abstract","override"),h(c,l,"declare","override"),h(c,l,"static","abstract")),n[l]=!0),s!=null&&s.includes(l)&&this.raise(r,c,{modifier:l})}}tsIsListTerminator(e){switch(e){case"EnumMembers":case"TypeMembers":return this.match(8);case"HeritageClauseElement":return this.match(5);case"TupleElementTypes":return this.match(3);case"TypeParametersOrArguments":return this.match(48)}}tsParseList(e,s){let i=[];for(;!this.tsIsListTerminator(e);)i.push(s());return i}tsParseDelimitedList(e,s,i){return Wi(this.tsParseDelimitedListWorker(e,s,!0,i))}tsParseDelimitedListWorker(e,s,i,r){let n=[],o=-1;for(;!this.tsIsListTerminator(e);){o=-1;let h=s();if(h==null)return;if(n.push(h),this.eat(12)){o=this.state.lastTokStartLoc.index;continue}if(this.tsIsListTerminator(e))break;i&&this.expect(12);return}return r&&(r.value=o),n}tsParseBracketedList(e,s,i,r,n){r||(i?this.expect(0):this.expect(47));let o=this.tsParseDelimitedList(e,s,n);return i?this.expect(3):this.expect(48),o}tsParseImportType(){let e=this.startNode();return this.expect(83),this.expect(10),this.match(133)||this.raise(x.UnsupportedImportTypeArgument,this.state.startLoc),e.argument=super.parseExprAtom(),(this.hasPlugin("importAttributes")||this.hasPlugin("importAssertions"))&&(e.options=null),this.eat(12)&&(this.expectImportAttributesPlugin(),this.match(11)||(e.options=super.parseMaybeAssignAllowIn(),this.eat(12))),this.expect(11),this.eat(16)&&(e.qualifier=this.tsParseEntityName()),this.match(47)&&(e.typeParameters=this.tsParseTypeArguments()),this.finishNode(e,"TSImportType")}tsParseEntityName(e=!0){let s=this.parseIdentifier(e);for(;this.eat(16);){let i=this.startNodeAtNode(s);i.left=s,i.right=this.parseIdentifier(e),s=this.finishNode(i,"TSQualifiedName")}return s}tsParseTypeReference(){let e=this.startNode();return e.typeName=this.tsParseEntityName(),!this.hasPrecedingLineBreak()&&this.match(47)&&(e.typeParameters=this.tsParseTypeArguments()),this.finishNode(e,"TSTypeReference")}tsParseThisTypePredicate(e){this.next();let s=this.startNodeAtNode(e);return s.parameterName=e,s.typeAnnotation=this.tsParseTypeAnnotation(!1),s.asserts=!1,this.finishNode(s,"TSTypePredicate")}tsParseThisTypeNode(){let e=this.startNode();return this.next(),this.finishNode(e,"TSThisType")}tsParseTypeQuery(){let e=this.startNode();return this.expect(87),this.match(83)?e.exprName=this.tsParseImportType():e.exprName=this.tsParseEntityName(),!this.hasPrecedingLineBreak()&&this.match(47)&&(e.typeParameters=this.tsParseTypeArguments()),this.finishNode(e,"TSTypeQuery")}tsParseTypeParameter(e){let s=this.startNode();return e(s),s.name=this.tsParseTypeParameterName(),s.constraint=this.tsEatThenParseType(81),s.default=this.tsEatThenParseType(29),this.finishNode(s,"TSTypeParameter")}tsTryParseTypeParameters(e){if(this.match(47))return this.tsParseTypeParameters(e)}tsParseTypeParameters(e){let s=this.startNode();this.match(47)||this.match(142)?this.next():this.unexpected();let i={value:-1};return s.params=this.tsParseBracketedList("TypeParametersOrArguments",this.tsParseTypeParameter.bind(this,e),!1,!0,i),s.params.length===0&&this.raise(x.EmptyTypeParameters,s),i.value!==-1&&this.addExtra(s,"trailingComma",i.value),this.finishNode(s,"TSTypeParameterDeclaration")}tsFillSignature(e,s){let i=e===19,r="parameters",n="typeAnnotation";s.typeParameters=this.tsTryParseTypeParameters(this.tsParseConstModifier),this.expect(10),s[r]=this.tsParseBindingListForSignature(),i?s[n]=this.tsParseTypeOrTypePredicateAnnotation(e):this.match(e)&&(s[n]=this.tsParseTypeOrTypePredicateAnnotation(e))}tsParseBindingListForSignature(){let e=super.parseBindingList(11,41,2);for(let s of e){let{type:i}=s;(i==="AssignmentPattern"||i==="TSParameterProperty")&&this.raise(x.UnsupportedSignatureParameterKind,s,{type:i})}return e}tsParseTypeMemberSemicolon(){!this.eat(12)&&!this.isLineTerminator()&&this.expect(13)}tsParseSignatureMember(e,s){return this.tsFillSignature(14,s),this.tsParseTypeMemberSemicolon(),this.finishNode(s,e)}tsIsUnambiguouslyIndexSignature(){return this.next(),w(this.state.type)?(this.next(),this.match(14)):!1}tsTryParseIndexSignature(e){if(!(this.match(0)&&this.tsLookAhead(this.tsIsUnambiguouslyIndexSignature.bind(this))))return;this.expect(0);let s=this.parseIdentifier();s.typeAnnotation=this.tsParseTypeAnnotation(),this.resetEndLocation(s),this.expect(3),e.parameters=[s];let i=this.tsTryParseTypeAnnotation();return i&&(e.typeAnnotation=i),this.tsParseTypeMemberSemicolon(),this.finishNode(e,"TSIndexSignature")}tsParsePropertyOrMethodSignature(e,s){this.eat(17)&&(e.optional=!0);let i=e;if(this.match(10)||this.match(47)){s&&this.raise(x.ReadonlyForMethodSignature,e);let r=i;r.kind&&this.match(47)&&this.raise(x.AccesorCannotHaveTypeParameters,this.state.curPosition()),this.tsFillSignature(14,r),this.tsParseTypeMemberSemicolon();let n="parameters",o="typeAnnotation";if(r.kind==="get")r[n].length>0&&(this.raise(p.BadGetterArity,this.state.curPosition()),this.isThisParam(r[n][0])&&this.raise(x.AccesorCannotDeclareThisParameter,this.state.curPosition()));else if(r.kind==="set"){if(r[n].length!==1)this.raise(p.BadSetterArity,this.state.curPosition());else{let h=r[n][0];this.isThisParam(h)&&this.raise(x.AccesorCannotDeclareThisParameter,this.state.curPosition()),h.type==="Identifier"&&h.optional&&this.raise(x.SetAccesorCannotHaveOptionalParameter,this.state.curPosition()),h.type==="RestElement"&&this.raise(x.SetAccesorCannotHaveRestParameter,this.state.curPosition())}r[o]&&this.raise(x.SetAccesorCannotHaveReturnType,r[o])}else r.kind="method";return this.finishNode(r,"TSMethodSignature")}else{let r=i;s&&(r.readonly=!0);let n=this.tsTryParseTypeAnnotation();return n&&(r.typeAnnotation=n),this.tsParseTypeMemberSemicolon(),this.finishNode(r,"TSPropertySignature")}}tsParseTypeMember(){let e=this.startNode();if(this.match(10)||this.match(47))return this.tsParseSignatureMember("TSCallSignatureDeclaration",e);if(this.match(77)){let i=this.startNode();return this.next(),this.match(10)||this.match(47)?this.tsParseSignatureMember("TSConstructSignatureDeclaration",e):(e.key=this.createIdentifier(i,"new"),this.tsParsePropertyOrMethodSignature(e,!1))}this.tsParseModifiers({allowedModifiers:["readonly"],disallowedModifiers:["declare","abstract","private","protected","public","static","override"]},e);let s=this.tsTryParseIndexSignature(e);return s||(super.parsePropertyName(e),!e.computed&&e.key.type==="Identifier"&&(e.key.name==="get"||e.key.name==="set")&&this.tsTokenCanFollowModifier()&&(e.kind=e.key.name,super.parsePropertyName(e)),this.tsParsePropertyOrMethodSignature(e,!!e.readonly))}tsParseTypeLiteral(){let e=this.startNode();return e.members=this.tsParseObjectTypeMembers(),this.finishNode(e,"TSTypeLiteral")}tsParseObjectTypeMembers(){this.expect(5);let e=this.tsParseList("TypeMembers",this.tsParseTypeMember.bind(this));return this.expect(8),e}tsIsStartOfMappedType(){return this.next(),this.eat(53)?this.isContextual(122):(this.isContextual(122)&&this.next(),!this.match(0)||(this.next(),!this.tsIsIdentifier())?!1:(this.next(),this.match(58)))}tsParseMappedTypeParameter(){let e=this.startNode();return e.name=this.tsParseTypeParameterName(),e.constraint=this.tsExpectThenParseType(58),this.finishNode(e,"TSTypeParameter")}tsParseMappedType(){let e=this.startNode();return this.expect(5),this.match(53)?(e.readonly=this.state.value,this.next(),this.expectContextual(122)):this.eatContextual(122)&&(e.readonly=!0),this.expect(0),e.typeParameter=this.tsParseMappedTypeParameter(),e.nameType=this.eatContextual(93)?this.tsParseType():null,this.expect(3),this.match(53)?(e.optional=this.state.value,this.next(),this.expect(17)):this.eat(17)&&(e.optional=!0),e.typeAnnotation=this.tsTryParseType(),this.semicolon(),this.expect(8),this.finishNode(e,"TSMappedType")}tsParseTupleType(){let e=this.startNode();e.elementTypes=this.tsParseBracketedList("TupleElementTypes",this.tsParseTupleElementType.bind(this),!0,!1);let s=!1;return e.elementTypes.forEach(i=>{let{type:r}=i;s&&r!=="TSRestType"&&r!=="TSOptionalType"&&!(r==="TSNamedTupleMember"&&i.optional)&&this.raise(x.OptionalTypeBeforeRequired,i),s||(s=r==="TSNamedTupleMember"&&i.optional||r==="TSOptionalType")}),this.finishNode(e,"TSTupleType")}tsParseTupleElementType(){let{startLoc:e}=this.state,s=this.eat(21),i,r,n,o,c=M(this.state.type)?this.lookaheadCharCode():null;if(c===58)i=!0,n=!1,r=this.parseIdentifier(!0),this.expect(14),o=this.tsParseType();else if(c===63){n=!0;let l=this.state.startLoc,u=this.state.value,f=this.tsParseNonArrayType();this.lookaheadCharCode()===58?(i=!0,r=this.createIdentifier(this.startNodeAt(l),u),this.expect(17),this.expect(14),o=this.tsParseType()):(i=!1,o=f,this.expect(17))}else o=this.tsParseType(),n=this.eat(17),i=this.eat(14);if(i){let l;r?(l=this.startNodeAtNode(r),l.optional=n,l.label=r,l.elementType=o,this.eat(17)&&(l.optional=!0,this.raise(x.TupleOptionalAfterType,this.state.lastTokStartLoc))):(l=this.startNodeAtNode(o),l.optional=n,this.raise(x.InvalidTupleMemberLabel,o),l.label=o,l.elementType=this.tsParseType()),o=this.finishNode(l,"TSNamedTupleMember")}else if(n){let l=this.startNodeAtNode(o);l.typeAnnotation=o,o=this.finishNode(l,"TSOptionalType")}if(s){let l=this.startNodeAt(e);l.typeAnnotation=o,o=this.finishNode(l,"TSRestType")}return o}tsParseParenthesizedType(){let e=this.startNode();return this.expect(10),e.typeAnnotation=this.tsParseType(),this.expect(11),this.finishNode(e,"TSParenthesizedType")}tsParseFunctionOrConstructorType(e,s){let i=this.startNode();return e==="TSConstructorType"&&(i.abstract=!!s,s&&this.next(),this.next()),this.tsInAllowConditionalTypesContext(()=>this.tsFillSignature(19,i)),this.finishNode(i,e)}tsParseLiteralTypeNode(){let e=this.startNode();switch(this.state.type){case 134:case 135:case 133:case 85:case 86:e.literal=super.parseExprAtom();break;default:this.unexpected()}return this.finishNode(e,"TSLiteralType")}tsParseTemplateLiteralType(){let e=this.startNode();return e.literal=super.parseTemplate(!1),this.finishNode(e,"TSLiteralType")}parseTemplateSubstitution(){return this.state.inType?this.tsParseType():super.parseTemplateSubstitution()}tsParseThisTypeOrThisTypePredicate(){let e=this.tsParseThisTypeNode();return this.isContextual(116)&&!this.hasPrecedingLineBreak()?this.tsParseThisTypePredicate(e):e}tsParseNonArrayType(){switch(this.state.type){case 133:case 134:case 135:case 85:case 86:return this.tsParseLiteralTypeNode();case 53:if(this.state.value==="-"){let e=this.startNode(),s=this.lookahead();return s.type!==134&&s.type!==135&&this.unexpected(),e.literal=this.parseMaybeUnary(),this.finishNode(e,"TSLiteralType")}break;case 78:return this.tsParseThisTypeOrThisTypePredicate();case 87:return this.tsParseTypeQuery();case 83:return this.tsParseImportType();case 5:return this.tsLookAhead(this.tsIsStartOfMappedType.bind(this))?this.tsParseMappedType():this.tsParseTypeLiteral();case 0:return this.tsParseTupleType();case 10:return this.tsParseParenthesizedType();case 25:case 24:return this.tsParseTemplateLiteralType();default:{let{type:e}=this.state;if(w(e)||e===88||e===84){let s=e===88?"TSVoidKeyword":e===84?"TSNullKeyword":Ji(this.state.value);if(s!==void 0&&this.lookaheadCharCode()!==46){let i=this.startNode();return this.next(),this.finishNode(i,s)}return this.tsParseTypeReference()}}}this.unexpected()}tsParseArrayTypeOrHigher(){let e=this.tsParseNonArrayType();for(;!this.hasPrecedingLineBreak()&&this.eat(0);)if(this.match(3)){let s=this.startNodeAtNode(e);s.elementType=e,this.expect(3),e=this.finishNode(s,"TSArrayType")}else{let s=this.startNodeAtNode(e);s.objectType=e,s.indexType=this.tsParseType(),this.expect(3),e=this.finishNode(s,"TSIndexedAccessType")}return e}tsParseTypeOperator(){let e=this.startNode(),s=this.state.value;return this.next(),e.operator=s,e.typeAnnotation=this.tsParseTypeOperatorOrHigher(),s==="readonly"&&this.tsCheckTypeAnnotationForReadOnly(e),this.finishNode(e,"TSTypeOperator")}tsCheckTypeAnnotationForReadOnly(e){switch(e.typeAnnotation.type){case"TSTupleType":case"TSArrayType":return;default:this.raise(x.UnexpectedReadonly,e)}}tsParseInferType(){let e=this.startNode();this.expectContextual(115);let s=this.startNode();return s.name=this.tsParseTypeParameterName(),s.constraint=this.tsTryParse(()=>this.tsParseConstraintForInferType()),e.typeParameter=this.finishNode(s,"TSTypeParameter"),this.finishNode(e,"TSInferType")}tsParseConstraintForInferType(){if(this.eat(81)){let e=this.tsInDisallowConditionalTypesContext(()=>this.tsParseType());if(this.state.inDisallowConditionalTypesContext||!this.match(17))return e}}tsParseTypeOperatorOrHigher(){return di(this.state.type)&&!this.state.containsEsc?this.tsParseTypeOperator():this.isContextual(115)?this.tsParseInferType():this.tsInAllowConditionalTypesContext(()=>this.tsParseArrayTypeOrHigher())}tsParseUnionOrIntersectionType(e,s,i){let r=this.startNode(),n=this.eat(i),o=[];do o.push(s());while(this.eat(i));return o.length===1&&!n?o[0]:(r.types=o,this.finishNode(r,e))}tsParseIntersectionTypeOrHigher(){return this.tsParseUnionOrIntersectionType("TSIntersectionType",this.tsParseTypeOperatorOrHigher.bind(this),45)}tsParseUnionTypeOrHigher(){return this.tsParseUnionOrIntersectionType("TSUnionType",this.tsParseIntersectionTypeOrHigher.bind(this),43)}tsIsStartOfFunctionType(){return this.match(47)?!0:this.match(10)&&this.tsLookAhead(this.tsIsUnambiguouslyStartOfFunctionType.bind(this))}tsSkipParameterStart(){if(w(this.state.type)||this.match(78))return this.next(),!0;if(this.match(5)){let{errors:e}=this.state,s=e.length;try{return this.parseObjectLike(8,!0),e.length===s}catch{return!1}}if(this.match(0)){this.next();let{errors:e}=this.state,s=e.length;try{return super.parseBindingList(3,93,1),e.length===s}catch{return!1}}return!1}tsIsUnambiguouslyStartOfFunctionType(){return this.next(),!!(this.match(11)||this.match(21)||this.tsSkipParameterStart()&&(this.match(14)||this.match(12)||this.match(17)||this.match(29)||this.match(11)&&(this.next(),this.match(19))))}tsParseTypeOrTypePredicateAnnotation(e){return this.tsInType(()=>{let s=this.startNode();this.expect(e);let i=this.startNode(),r=!!this.tsTryParse(this.tsParseTypePredicateAsserts.bind(this));if(r&&this.match(78)){let h=this.tsParseThisTypeOrThisTypePredicate();return h.type==="TSThisType"?(i.parameterName=h,i.asserts=!0,i.typeAnnotation=null,h=this.finishNode(i,"TSTypePredicate")):(this.resetStartLocationFromNode(h,i),h.asserts=!0),s.typeAnnotation=h,this.finishNode(s,"TSTypeAnnotation")}let n=this.tsIsIdentifier()&&this.tsTryParse(this.tsParseTypePredicatePrefix.bind(this));if(!n)return r?(i.parameterName=this.parseIdentifier(),i.asserts=r,i.typeAnnotation=null,s.typeAnnotation=this.finishNode(i,"TSTypePredicate"),this.finishNode(s,"TSTypeAnnotation")):this.tsParseTypeAnnotation(!1,s);let o=this.tsParseTypeAnnotation(!1);return i.parameterName=n,i.typeAnnotation=o,i.asserts=r,s.typeAnnotation=this.finishNode(i,"TSTypePredicate"),this.finishNode(s,"TSTypeAnnotation")})}tsTryParseTypeOrTypePredicateAnnotation(){if(this.match(14))return this.tsParseTypeOrTypePredicateAnnotation(14)}tsTryParseTypeAnnotation(){if(this.match(14))return this.tsParseTypeAnnotation()}tsTryParseType(){return this.tsEatThenParseType(14)}tsParseTypePredicatePrefix(){let e=this.parseIdentifier();if(this.isContextual(116)&&!this.hasPrecedingLineBreak())return this.next(),e}tsParseTypePredicateAsserts(){if(this.state.type!==109)return!1;let e=this.state.containsEsc;return this.next(),!w(this.state.type)&&!this.match(78)?!1:(e&&this.raise(p.InvalidEscapedReservedWord,this.state.lastTokStartLoc,{reservedWord:"asserts"}),!0)}tsParseTypeAnnotation(e=!0,s=this.startNode()){return this.tsInType(()=>{e&&this.expect(14),s.typeAnnotation=this.tsParseType()}),this.finishNode(s,"TSTypeAnnotation")}tsParseType(){jt(this.state.inType);let e=this.tsParseNonConditionalType();if(this.state.inDisallowConditionalTypesContext||this.hasPrecedingLineBreak()||!this.eat(81))return e;let s=this.startNodeAtNode(e);return s.checkType=e,s.extendsType=this.tsInDisallowConditionalTypesContext(()=>this.tsParseNonConditionalType()),this.expect(17),s.trueType=this.tsInAllowConditionalTypesContext(()=>this.tsParseType()),this.expect(14),s.falseType=this.tsInAllowConditionalTypesContext(()=>this.tsParseType()),this.finishNode(s,"TSConditionalType")}isAbstractConstructorSignature(){return this.isContextual(124)&&this.lookahead().type===77}tsParseNonConditionalType(){return this.tsIsStartOfFunctionType()?this.tsParseFunctionOrConstructorType("TSFunctionType"):this.match(77)?this.tsParseFunctionOrConstructorType("TSConstructorType"):this.isAbstractConstructorSignature()?this.tsParseFunctionOrConstructorType("TSConstructorType",!0):this.tsParseUnionTypeOrHigher()}tsParseTypeAssertion(){this.getPluginOption("typescript","disallowAmbiguousJSXLike")&&this.raise(x.ReservedTypeAssertion,this.state.startLoc);let e=this.startNode();return e.typeAnnotation=this.tsInType(()=>(this.next(),this.match(75)?this.tsParseTypeReference():this.tsParseType())),this.expect(48),e.expression=this.parseMaybeUnary(),this.finishNode(e,"TSTypeAssertion")}tsParseHeritageClause(e){let s=this.state.startLoc,i=this.tsParseDelimitedList("HeritageClauseElement",()=>{let r=this.startNode();return r.expression=this.tsParseEntityName(),this.match(47)&&(r.typeParameters=this.tsParseTypeArguments()),this.finishNode(r,"TSExpressionWithTypeArguments")});return i.length||this.raise(x.EmptyHeritageClauseType,s,{token:e}),i}tsParseInterfaceDeclaration(e,s={}){if(this.hasFollowingLineBreak())return null;this.expectContextual(129),s.declare&&(e.declare=!0),w(this.state.type)?(e.id=this.parseIdentifier(),this.checkIdentifier(e.id,130)):(e.id=null,this.raise(x.MissingInterfaceName,this.state.startLoc)),e.typeParameters=this.tsTryParseTypeParameters(this.tsParseInOutConstModifiers),this.eat(81)&&(e.extends=this.tsParseHeritageClause("extends"));let i=this.startNode();return i.body=this.tsInType(this.tsParseObjectTypeMembers.bind(this)),e.body=this.finishNode(i,"TSInterfaceBody"),this.finishNode(e,"TSInterfaceDeclaration")}tsParseTypeAliasDeclaration(e){return e.id=this.parseIdentifier(),this.checkIdentifier(e.id,2),e.typeAnnotation=this.tsInType(()=>{if(e.typeParameters=this.tsTryParseTypeParameters(this.tsParseInOutModifiers),this.expect(29),this.isContextual(114)&&this.lookahead().type!==16){let s=this.startNode();return this.next(),this.finishNode(s,"TSIntrinsicKeyword")}return this.tsParseType()}),this.semicolon(),this.finishNode(e,"TSTypeAliasDeclaration")}tsInNoContext(e){let s=this.state.context;this.state.context=[s[0]];try{return e()}finally{this.state.context=s}}tsInType(e){let s=this.state.inType;this.state.inType=!0;try{return e()}finally{this.state.inType=s}}tsInDisallowConditionalTypesContext(e){let s=this.state.inDisallowConditionalTypesContext;this.state.inDisallowConditionalTypesContext=!0;try{return e()}finally{this.state.inDisallowConditionalTypesContext=s}}tsInAllowConditionalTypesContext(e){let s=this.state.inDisallowConditionalTypesContext;this.state.inDisallowConditionalTypesContext=!1;try{return e()}finally{this.state.inDisallowConditionalTypesContext=s}}tsEatThenParseType(e){if(this.match(e))return this.tsNextThenParseType()}tsExpectThenParseType(e){return this.tsInType(()=>(this.expect(e),this.tsParseType()))}tsNextThenParseType(){return this.tsInType(()=>(this.next(),this.tsParseType()))}tsParseEnumMember(){let e=this.startNode();return e.id=this.match(133)?super.parseStringLiteral(this.state.value):this.parseIdentifier(!0),this.eat(29)&&(e.initializer=super.parseMaybeAssignAllowIn()),this.finishNode(e,"TSEnumMember")}tsParseEnumDeclaration(e,s={}){return s.const&&(e.const=!0),s.declare&&(e.declare=!0),this.expectContextual(126),e.id=this.parseIdentifier(),this.checkIdentifier(e.id,e.const?8971:8459),this.expect(5),e.members=this.tsParseDelimitedList("EnumMembers",this.tsParseEnumMember.bind(this)),this.expect(8),this.finishNode(e,"TSEnumDeclaration")}tsParseModuleBlock(){let e=this.startNode();return this.scope.enter(0),this.expect(5),super.parseBlockOrModuleBlockBody(e.body=[],void 0,!0,8),this.scope.exit(),this.finishNode(e,"TSModuleBlock")}tsParseModuleOrNamespaceDeclaration(e,s=!1){if(e.id=this.parseIdentifier(),s||this.checkIdentifier(e.id,1024),this.eat(16)){let i=this.startNode();this.tsParseModuleOrNamespaceDeclaration(i,!0),e.body=i}else this.scope.enter(256),this.prodParam.enter(0),e.body=this.tsParseModuleBlock(),this.prodParam.exit(),this.scope.exit();return this.finishNode(e,"TSModuleDeclaration")}tsParseAmbientExternalModuleDeclaration(e){return this.isContextual(112)?(e.global=!0,e.id=this.parseIdentifier()):this.match(133)?e.id=super.parseStringLiteral(this.state.value):this.unexpected(),this.match(5)?(this.scope.enter(256),this.prodParam.enter(0),e.body=this.tsParseModuleBlock(),this.prodParam.exit(),this.scope.exit()):this.semicolon(),this.finishNode(e,"TSModuleDeclaration")}tsParseImportEqualsDeclaration(e,s,i){e.isExport=i||!1,e.id=s||this.parseIdentifier(),this.checkIdentifier(e.id,4096),this.expect(29);let r=this.tsParseModuleReference();return e.importKind==="type"&&r.type!=="TSExternalModuleReference"&&this.raise(x.ImportAliasHasImportType,r),e.moduleReference=r,this.semicolon(),this.finishNode(e,"TSImportEqualsDeclaration")}tsIsExternalModuleReference(){return this.isContextual(119)&&this.lookaheadCharCode()===40}tsParseModuleReference(){return this.tsIsExternalModuleReference()?this.tsParseExternalModuleReference():this.tsParseEntityName(!1)}tsParseExternalModuleReference(){let e=this.startNode();return this.expectContextual(119),this.expect(10),this.match(133)||this.unexpected(),e.expression=super.parseExprAtom(),this.expect(11),this.sawUnambiguousESM=!0,this.finishNode(e,"TSExternalModuleReference")}tsLookAhead(e){let s=this.state.clone(),i=e();return this.state=s,i}tsTryParseAndCatch(e){let s=this.tryParse(i=>e()||i());if(!(s.aborted||!s.node))return s.error&&(this.state=s.failState),s.node}tsTryParse(e){let s=this.state.clone(),i=e();if(i!==void 0&&i!==!1)return i;this.state=s}tsTryParseDeclare(e){if(this.isLineTerminator())return;let s=this.state.type,i;return this.isContextual(100)&&(s=74,i="let"),this.tsInAmbientContext(()=>{switch(s){case 68:return e.declare=!0,super.parseFunctionStatement(e,!1,!1);case 80:return e.declare=!0,this.parseClass(e,!0,!1);case 126:return this.tsParseEnumDeclaration(e,{declare:!0});case 112:return this.tsParseAmbientExternalModuleDeclaration(e);case 75:case 74:return!this.match(75)||!this.isLookaheadContextual("enum")?(e.declare=!0,this.parseVarStatement(e,i||this.state.value,!0)):(this.expect(75),this.tsParseEnumDeclaration(e,{const:!0,declare:!0}));case 129:{let r=this.tsParseInterfaceDeclaration(e,{declare:!0});if(r)return r}default:if(w(s))return this.tsParseDeclaration(e,this.state.value,!0,null)}})}tsTryParseExportDeclaration(){return this.tsParseDeclaration(this.startNode(),this.state.value,!0,null)}tsParseExpressionStatement(e,s,i){switch(s.name){case"declare":{let r=this.tsTryParseDeclare(e);return r&&(r.declare=!0),r}case"global":if(this.match(5)){this.scope.enter(256),this.prodParam.enter(0);let r=e;return r.global=!0,r.id=s,r.body=this.tsParseModuleBlock(),this.scope.exit(),this.prodParam.exit(),this.finishNode(r,"TSModuleDeclaration")}break;default:return this.tsParseDeclaration(e,s.name,!1,i)}}tsParseDeclaration(e,s,i,r){switch(s){case"abstract":if(this.tsCheckLineTerminator(i)&&(this.match(80)||w(this.state.type)))return this.tsParseAbstractDeclaration(e,r);break;case"module":if(this.tsCheckLineTerminator(i)){if(this.match(133))return this.tsParseAmbientExternalModuleDeclaration(e);if(w(this.state.type))return this.tsParseModuleOrNamespaceDeclaration(e)}break;case"namespace":if(this.tsCheckLineTerminator(i)&&w(this.state.type))return this.tsParseModuleOrNamespaceDeclaration(e);break;case"type":if(this.tsCheckLineTerminator(i)&&w(this.state.type))return this.tsParseTypeAliasDeclaration(e);break}}tsCheckLineTerminator(e){return e?this.hasFollowingLineBreak()?!1:(this.next(),!0):!this.isLineTerminator()}tsTryParseGenericAsyncArrowFunction(e){if(!this.match(47))return;let s=this.state.maybeInArrowParameters;this.state.maybeInArrowParameters=!0;let i=this.tsTryParseAndCatch(()=>{let r=this.startNodeAt(e);return r.typeParameters=this.tsParseTypeParameters(this.tsParseConstModifier),super.parseFunctionParams(r),r.returnType=this.tsTryParseTypeOrTypePredicateAnnotation(),this.expect(19),r});if(this.state.maybeInArrowParameters=s,!!i)return super.parseArrowExpression(i,null,!0)}tsParseTypeArgumentsInExpression(){if(this.reScan_lt()===47)return this.tsParseTypeArguments()}tsParseTypeArguments(){let e=this.startNode();return e.params=this.tsInType(()=>this.tsInNoContext(()=>(this.expect(47),this.tsParseDelimitedList("TypeParametersOrArguments",this.tsParseType.bind(this))))),e.params.length===0?this.raise(x.EmptyTypeArguments,e):!this.state.inType&&this.curContext()===C.brace&&this.reScan_lt_gt(),this.expect(48),this.finishNode(e,"TSTypeParameterInstantiation")}tsIsDeclarationStart(){return mi(this.state.type)}isExportDefaultSpecifier(){return this.tsIsDeclarationStart()?!1:super.isExportDefaultSpecifier()}parseAssignableListItem(e,s){let i=this.state.startLoc,r={};this.tsParseModifiers({allowedModifiers:["public","private","protected","override","readonly"]},r);let n=r.accessibility,o=r.override,h=r.readonly;!(e&4)&&(n||h||o)&&this.raise(x.UnexpectedParameterModifier,i);let c=this.parseMaybeDefault();this.parseAssignableListItemTypes(c,e);let l=this.parseMaybeDefault(c.loc.start,c);if(n||h||o){let u=this.startNodeAt(i);return s.length&&(u.decorators=s),n&&(u.accessibility=n),h&&(u.readonly=h),o&&(u.override=o),l.type!=="Identifier"&&l.type!=="AssignmentPattern"&&this.raise(x.UnsupportedParameterPropertyKind,u),u.parameter=l,this.finishNode(u,"TSParameterProperty")}return s.length&&(c.decorators=s),l}isSimpleParameter(e){return e.type==="TSParameterProperty"&&super.isSimpleParameter(e.parameter)||super.isSimpleParameter(e)}tsDisallowOptionalPattern(e){for(let s of e.params)s.type!=="Identifier"&&s.optional&&!this.state.isAmbientContext&&this.raise(x.PatternIsOptional,s)}setArrowFunctionParameters(e,s,i){super.setArrowFunctionParameters(e,s,i),this.tsDisallowOptionalPattern(e)}parseFunctionBodyAndFinish(e,s,i=!1){this.match(14)&&(e.returnType=this.tsParseTypeOrTypePredicateAnnotation(14));let r=s==="FunctionDeclaration"?"TSDeclareFunction":s==="ClassMethod"||s==="ClassPrivateMethod"?"TSDeclareMethod":void 0;return r&&!this.match(5)&&this.isLineTerminator()?this.finishNode(e,r):r==="TSDeclareFunction"&&this.state.isAmbientContext&&(this.raise(x.DeclareFunctionHasImplementation,e),e.declare)?super.parseFunctionBodyAndFinish(e,r,i):(this.tsDisallowOptionalPattern(e),super.parseFunctionBodyAndFinish(e,s,i))}registerFunctionStatementId(e){!e.body&&e.id?this.checkIdentifier(e.id,1024):super.registerFunctionStatementId(e)}tsCheckForInvalidTypeCasts(e){e.forEach(s=>{(s==null?void 0:s.type)==="TSTypeCastExpression"&&this.raise(x.UnexpectedTypeAnnotation,s.typeAnnotation)})}toReferencedList(e,s){return this.tsCheckForInvalidTypeCasts(e),e}parseArrayLike(e,s,i,r){let n=super.parseArrayLike(e,s,i,r);return n.type==="ArrayExpression"&&this.tsCheckForInvalidTypeCasts(n.elements),n}parseSubscript(e,s,i,r){if(!this.hasPrecedingLineBreak()&&this.match(35)){this.state.canStartJSXElement=!1,this.next();let o=this.startNodeAt(s);return o.expression=e,this.finishNode(o,"TSNonNullExpression")}let n=!1;if(this.match(18)&&this.lookaheadCharCode()===60){if(i)return r.stop=!0,e;r.optionalChainMember=n=!0,this.next()}if(this.match(47)||this.match(51)){let o,h=this.tsTryParseAndCatch(()=>{if(!i&&this.atPossibleAsyncArrow(e)){let f=this.tsTryParseGenericAsyncArrowFunction(s);if(f)return f}let c=this.tsParseTypeArgumentsInExpression();if(!c)return;if(n&&!this.match(10)){o=this.state.curPosition();return}if(Le(this.state.type)){let f=super.parseTaggedTemplateExpression(e,s,r);return f.typeParameters=c,f}if(!i&&this.eat(10)){let f=this.startNodeAt(s);return f.callee=e,f.arguments=this.parseCallExpressionArguments(11,!1),this.tsCheckForInvalidTypeCasts(f.arguments),f.typeParameters=c,r.optionalChainMember&&(f.optional=n),this.finishCallExpression(f,r.optionalChainMember)}let l=this.state.type;if(l===48||l===52||l!==10&&He(l)&&!this.hasPrecedingLineBreak())return;let u=this.startNodeAt(s);return u.expression=e,u.typeParameters=c,this.finishNode(u,"TSInstantiationExpression")});if(o&&this.unexpected(o,10),h)return h.type==="TSInstantiationExpression"&&(this.match(16)||this.match(18)&&this.lookaheadCharCode()!==40)&&this.raise(x.InvalidPropertyAccessAfterInstantiationExpression,this.state.startLoc),h}return super.parseSubscript(e,s,i,r)}parseNewCallee(e){var s;super.parseNewCallee(e);let{callee:i}=e;i.type==="TSInstantiationExpression"&&!((s=i.extra)!=null&&s.parenthesized)&&(e.typeParameters=i.typeParameters,e.callee=i.expression)}parseExprOp(e,s,i){let r;if(Ie(58)>i&&!this.hasPrecedingLineBreak()&&(this.isContextual(93)||(r=this.isContextual(120)))){let n=this.startNodeAt(s);return n.expression=e,n.typeAnnotation=this.tsInType(()=>(this.next(),this.match(75)?(r&&this.raise(p.UnexpectedKeyword,this.state.startLoc,{keyword:"const"}),this.tsParseTypeReference()):this.tsParseType())),this.finishNode(n,r?"TSSatisfiesExpression":"TSAsExpression"),this.reScan_lt_gt(),this.parseExprOp(n,s,i)}return super.parseExprOp(e,s,i)}checkReservedWord(e,s,i,r){this.state.isAmbientContext||super.checkReservedWord(e,s,i,r)}checkImportReflection(e){super.checkImportReflection(e),e.module&&e.importKind!=="value"&&this.raise(x.ImportReflectionHasImportType,e.specifiers[0].loc.start)}checkDuplicateExports(){}isPotentialImportPhase(e){if(super.isPotentialImportPhase(e))return!0;if(this.isContextual(130)){let s=this.lookaheadCharCode();return e?s===123||s===42:s!==61}return!e&&this.isContextual(87)}applyImportPhase(e,s,i,r){super.applyImportPhase(e,s,i,r),s?e.exportKind=i==="type"?"type":"value":e.importKind=i==="type"||i==="typeof"?i:"value"}parseImport(e){if(this.match(133))return e.importKind="value",super.parseImport(e);let s;if(w(this.state.type)&&this.lookaheadCharCode()===61)return e.importKind="value",this.tsParseImportEqualsDeclaration(e);if(this.isContextual(130)){let i=this.parseMaybeImportPhase(e,!1);if(this.lookaheadCharCode()===61)return this.tsParseImportEqualsDeclaration(e,i);s=super.parseImportSpecifiersAndAfter(e,i)}else s=super.parseImport(e);return s.importKind==="type"&&s.specifiers.length>1&&s.specifiers[0].type==="ImportDefaultSpecifier"&&this.raise(x.TypeImportCannotSpecifyDefaultAndNamed,s),s}parseExport(e,s){if(this.match(83)){this.next();let i=e,r=null;return this.isContextual(130)&&this.isPotentialImportPhase(!1)?r=this.parseMaybeImportPhase(i,!1):i.importKind="value",this.tsParseImportEqualsDeclaration(i,r,!0)}else if(this.eat(29)){let i=e;return i.expression=super.parseExpression(),this.semicolon(),this.sawUnambiguousESM=!0,this.finishNode(i,"TSExportAssignment")}else if(this.eatContextual(93)){let i=e;return this.expectContextual(128),i.id=this.parseIdentifier(),this.semicolon(),this.finishNode(i,"TSNamespaceExportDeclaration")}else return super.parseExport(e,s)}isAbstractClass(){return this.isContextual(124)&&this.lookahead().type===80}parseExportDefaultExpression(){if(this.isAbstractClass()){let e=this.startNode();return this.next(),e.abstract=!0,this.parseClass(e,!0,!0)}if(this.match(129)){let e=this.tsParseInterfaceDeclaration(this.startNode());if(e)return e}return super.parseExportDefaultExpression()}parseVarStatement(e,s,i=!1){let{isAmbientContext:r}=this.state,n=super.parseVarStatement(e,s,i||r);if(!r)return n;for(let{id:o,init:h}of n.declarations)h&&(s!=="const"||o.typeAnnotation?this.raise(x.InitializerNotAllowedInAmbientContext,h):Qi(h,this.hasPlugin("estree"))||this.raise(x.ConstInitiailizerMustBeStringOrNumericLiteralOrLiteralEnumReference,h));return n}parseStatementContent(e,s){if(this.match(75)&&this.isLookaheadContextual("enum")){let i=this.startNode();return this.expect(75),this.tsParseEnumDeclaration(i,{const:!0})}if(this.isContextual(126))return this.tsParseEnumDeclaration(this.startNode());if(this.isContextual(129)){let i=this.tsParseInterfaceDeclaration(this.startNode());if(i)return i}return super.parseStatementContent(e,s)}parseAccessModifier(){return this.tsParseModifier(["public","protected","private"])}tsHasSomeModifiers(e,s){return s.some(i=>$t(i)?e.accessibility===i:!!e[i])}tsIsStartOfStaticBlocks(){return this.isContextual(106)&&this.lookaheadCharCode()===123}parseClassMember(e,s,i){let r=["declare","private","public","protected","override","abstract","readonly","static"];this.tsParseModifiers({allowedModifiers:r,disallowedModifiers:["in","out"],stopOnStartOfClassStaticBlock:!0,errorTemplate:x.InvalidModifierOnTypeParameterPositions},s);let n=()=>{this.tsIsStartOfStaticBlocks()?(this.next(),this.next(),this.tsHasSomeModifiers(s,r)&&this.raise(x.StaticBlockCannotHaveModifier,this.state.curPosition()),super.parseClassStaticBlock(e,s)):this.parseClassMemberWithIsStatic(e,s,i,!!s.static)};s.declare?this.tsInAmbientContext(n):n()}parseClassMemberWithIsStatic(e,s,i,r){let n=this.tsTryParseIndexSignature(s);if(n){e.body.push(n),s.abstract&&this.raise(x.IndexSignatureHasAbstract,s),s.accessibility&&this.raise(x.IndexSignatureHasAccessibility,s,{modifier:s.accessibility}),s.declare&&this.raise(x.IndexSignatureHasDeclare,s),s.override&&this.raise(x.IndexSignatureHasOverride,s);return}!this.state.inAbstractClass&&s.abstract&&this.raise(x.NonAbstractClassHasAbstractMethod,s),s.override&&(i.hadSuperClass||this.raise(x.OverrideNotInSubClass,s)),super.parseClassMemberWithIsStatic(e,s,i,r)}parsePostMemberNameModifiers(e){this.eat(17)&&(e.optional=!0),e.readonly&&this.match(10)&&this.raise(x.ClassMethodHasReadonly,e),e.declare&&this.match(10)&&this.raise(x.ClassMethodHasDeclare,e)}parseExpressionStatement(e,s,i){return(s.type==="Identifier"?this.tsParseExpressionStatement(e,s,i):void 0)||super.parseExpressionStatement(e,s,i)}shouldParseExportDeclaration(){return this.tsIsDeclarationStart()?!0:super.shouldParseExportDeclaration()}parseConditional(e,s,i){if(!this.state.maybeInArrowParameters||!this.match(17))return super.parseConditional(e,s,i);let r=this.tryParse(()=>super.parseConditional(e,s));return r.node?(r.error&&(this.state=r.failState),r.node):(r.error&&super.setOptionalParametersError(i,r.error),e)}parseParenItem(e,s){let i=super.parseParenItem(e,s);if(this.eat(17)&&(i.optional=!0,this.resetEndLocation(e)),this.match(14)){let r=this.startNodeAt(s);return r.expression=e,r.typeAnnotation=this.tsParseTypeAnnotation(),this.finishNode(r,"TSTypeCastExpression")}return e}parseExportDeclaration(e){if(!this.state.isAmbientContext&&this.isContextual(125))return this.tsInAmbientContext(()=>this.parseExportDeclaration(e));let s=this.state.startLoc,i=this.eatContextual(125);if(i&&(this.isContextual(125)||!this.shouldParseExportDeclaration()))throw this.raise(x.ExpectedAmbientAfterExportDeclare,this.state.startLoc);let n=w(this.state.type)&&this.tsTryParseExportDeclaration()||super.parseExportDeclaration(e);return n?((n.type==="TSInterfaceDeclaration"||n.type==="TSTypeAliasDeclaration"||i)&&(e.exportKind="type"),i&&(this.resetStartLocation(n,s),n.declare=!0),n):null}parseClassId(e,s,i,r){if((!s||i)&&this.isContextual(113))return;super.parseClassId(e,s,i,e.declare?1024:8331);let n=this.tsTryParseTypeParameters(this.tsParseInOutConstModifiers);n&&(e.typeParameters=n)}parseClassPropertyAnnotation(e){e.optional||(this.eat(35)?e.definite=!0:this.eat(17)&&(e.optional=!0));let s=this.tsTryParseTypeAnnotation();s&&(e.typeAnnotation=s)}parseClassProperty(e){if(this.parseClassPropertyAnnotation(e),this.state.isAmbientContext&&!(e.readonly&&!e.typeAnnotation)&&this.match(29)&&this.raise(x.DeclareClassFieldHasInitializer,this.state.startLoc),e.abstract&&this.match(29)){let{key:s}=e;this.raise(x.AbstractPropertyHasInitializer,this.state.startLoc,{propertyName:s.type==="Identifier"&&!e.computed?s.name:`[${this.input.slice(s.start,s.end)}]`})}return super.parseClassProperty(e)}parseClassPrivateProperty(e){return e.abstract&&this.raise(x.PrivateElementHasAbstract,e),e.accessibility&&this.raise(x.PrivateElementHasAccessibility,e,{modifier:e.accessibility}),this.parseClassPropertyAnnotation(e),super.parseClassPrivateProperty(e)}parseClassAccessorProperty(e){return this.parseClassPropertyAnnotation(e),e.optional&&this.raise(x.AccessorCannotBeOptional,e),super.parseClassAccessorProperty(e)}pushClassMethod(e,s,i,r,n,o){let h=this.tsTryParseTypeParameters(this.tsParseConstModifier);h&&n&&this.raise(x.ConstructorHasTypeParameters,h);let{declare:c=!1,kind:l}=s;c&&(l==="get"||l==="set")&&this.raise(x.DeclareAccessor,s,{kind:l}),h&&(s.typeParameters=h),super.pushClassMethod(e,s,i,r,n,o)}pushClassPrivateMethod(e,s,i,r){let n=this.tsTryParseTypeParameters(this.tsParseConstModifier);n&&(s.typeParameters=n),super.pushClassPrivateMethod(e,s,i,r)}declareClassPrivateMethodInScope(e,s){e.type!=="TSDeclareMethod"&&(e.type==="MethodDefinition"&&!hasOwnProperty.call(e.value,"body")||super.declareClassPrivateMethodInScope(e,s))}parseClassSuper(e){super.parseClassSuper(e),e.superClass&&(this.match(47)||this.match(51))&&(e.superTypeParameters=this.tsParseTypeArgumentsInExpression()),this.eatContextual(113)&&(e.implements=this.tsParseHeritageClause("implements"))}parseObjPropValue(e,s,i,r,n,o,h){let c=this.tsTryParseTypeParameters(this.tsParseConstModifier);return c&&(e.typeParameters=c),super.parseObjPropValue(e,s,i,r,n,o,h)}parseFunctionParams(e,s){let i=this.tsTryParseTypeParameters(this.tsParseConstModifier);i&&(e.typeParameters=i),super.parseFunctionParams(e,s)}parseVarId(e,s){super.parseVarId(e,s),e.id.type==="Identifier"&&!this.hasPrecedingLineBreak()&&this.eat(35)&&(e.definite=!0);let i=this.tsTryParseTypeAnnotation();i&&(e.id.typeAnnotation=i,this.resetEndLocation(e.id))}parseAsyncArrowFromCallExpression(e,s){return this.match(14)&&(e.returnType=this.tsParseTypeAnnotation()),super.parseAsyncArrowFromCallExpression(e,s)}parseMaybeAssign(e,s){var i,r,n,o,h;let c,l,u;if(this.hasPlugin("jsx")&&(this.match(142)||this.match(47))){if(c=this.state.clone(),l=this.tryParse(()=>super.parseMaybeAssign(e,s),c),!l.error)return l.node;let{context:y}=this.state,E=y[y.length-1];(E===C.j_oTag||E===C.j_expr)&&y.pop()}if(!((i=l)!=null&&i.error)&&!this.match(47))return super.parseMaybeAssign(e,s);(!c||c===this.state)&&(c=this.state.clone());let f,d=this.tryParse(y=>{var E,L;f=this.tsParseTypeParameters(this.tsParseConstModifier);let S=super.parseMaybeAssign(e,s);return(S.type!=="ArrowFunctionExpression"||(E=S.extra)!=null&&E.parenthesized)&&y(),((L=f)==null?void 0:L.params.length)!==0&&this.resetStartLocationFromNode(S,f),S.typeParameters=f,S},c);if(!d.error&&!d.aborted)return f&&this.reportReservedArrowTypeParam(f),d.node;if(!l&&(jt(!this.hasPlugin("jsx")),u=this.tryParse(()=>super.parseMaybeAssign(e,s),c),!u.error))return u.node;if((r=l)!=null&&r.node)return this.state=l.failState,l.node;if(d.node)return this.state=d.failState,f&&this.reportReservedArrowTypeParam(f),d.node;if((n=u)!=null&&n.node)return this.state=u.failState,u.node;throw((o=l)==null?void 0:o.error)||d.error||((h=u)==null?void 0:h.error)}reportReservedArrowTypeParam(e){var s;e.params.length===1&&!e.params[0].constraint&&!((s=e.extra)!=null&&s.trailingComma)&&this.getPluginOption("typescript","disallowAmbiguousJSXLike")&&this.raise(x.ReservedArrowTypeParam,e)}parseMaybeUnary(e,s){return!this.hasPlugin("jsx")&&this.match(47)?this.tsParseTypeAssertion():super.parseMaybeUnary(e,s)}parseArrow(e){if(this.match(14)){let s=this.tryParse(i=>{let r=this.tsParseTypeOrTypePredicateAnnotation(14);return(this.canInsertSemicolon()||!this.match(19))&&i(),r});if(s.aborted)return;s.thrown||(s.error&&(this.state=s.failState),e.returnType=s.node)}return super.parseArrow(e)}parseAssignableListItemTypes(e,s){if(!(s&2))return e;this.eat(17)&&(e.optional=!0);let i=this.tsTryParseTypeAnnotation();return i&&(e.typeAnnotation=i),this.resetEndLocation(e),e}isAssignable(e,s){switch(e.type){case"TSTypeCastExpression":return this.isAssignable(e.expression,s);case"TSParameterProperty":return!0;default:return super.isAssignable(e,s)}}toAssignable(e,s=!1){switch(e.type){case"ParenthesizedExpression":this.toAssignableParenthesizedExpression(e,s);break;case"TSAsExpression":case"TSSatisfiesExpression":case"TSNonNullExpression":case"TSTypeAssertion":s?this.expressionScope.recordArrowParameterBindingError(x.UnexpectedTypeCastInParameter,e):this.raise(x.UnexpectedTypeCastInParameter,e),this.toAssignable(e.expression,s);break;case"AssignmentExpression":!s&&e.left.type==="TSTypeCastExpression"&&(e.left=this.typeCastToParameter(e.left));default:super.toAssignable(e,s)}}toAssignableParenthesizedExpression(e,s){switch(e.expression.type){case"TSAsExpression":case"TSSatisfiesExpression":case"TSNonNullExpression":case"TSTypeAssertion":case"ParenthesizedExpression":this.toAssignable(e.expression,s);break;default:super.toAssignable(e,s)}}checkToRestConversion(e,s){switch(e.type){case"TSAsExpression":case"TSSatisfiesExpression":case"TSTypeAssertion":case"TSNonNullExpression":this.checkToRestConversion(e.expression,!1);break;default:super.checkToRestConversion(e,s)}}isValidLVal(e,s,i){return Hi({TSTypeCastExpression:!0,TSParameterProperty:"parameter",TSNonNullExpression:"expression",TSInstantiationExpression:"expression",TSAsExpression:(i!==64||!s)&&["expression",!0],TSSatisfiesExpression:(i!==64||!s)&&["expression",!0],TSTypeAssertion:(i!==64||!s)&&["expression",!0]},e)||super.isValidLVal(e,s,i)}parseBindingAtom(){return this.state.type===78?this.parseIdentifier(!0):super.parseBindingAtom()}parseMaybeDecoratorArguments(e){if(this.match(47)||this.match(51)){let s=this.tsParseTypeArgumentsInExpression();if(this.match(10)){let i=super.parseMaybeDecoratorArguments(e);return i.typeParameters=s,i}this.unexpected(null,10)}return super.parseMaybeDecoratorArguments(e)}checkCommaAfterRest(e){return this.state.isAmbientContext&&this.match(12)&&this.lookaheadCharCode()===e?(this.next(),!1):super.checkCommaAfterRest(e)}isClassMethod(){return this.match(47)||super.isClassMethod()}isClassProperty(){return this.match(35)||this.match(14)||super.isClassProperty()}parseMaybeDefault(e,s){let i=super.parseMaybeDefault(e,s);return i.type==="AssignmentPattern"&&i.typeAnnotation&&i.right.startthis.isAssignable(s,!0)):super.shouldParseArrow(e)}shouldParseAsyncArrow(){return this.match(14)||super.shouldParseAsyncArrow()}canHaveLeadingDecorator(){return super.canHaveLeadingDecorator()||this.isAbstractClass()}jsxParseOpeningElementAfterName(e){if(this.match(47)||this.match(51)){let s=this.tsTryParseAndCatch(()=>this.tsParseTypeArgumentsInExpression());s&&(e.typeParameters=s)}return super.jsxParseOpeningElementAfterName(e)}getGetterSetterExpectedParamCount(e){let s=super.getGetterSetterExpectedParamCount(e),r=this.getObjectOrClassMethodParams(e)[0];return r&&this.isThisParam(r)?s+1:s}parseCatchClauseParam(){let e=super.parseCatchClauseParam(),s=this.tsTryParseTypeAnnotation();return s&&(e.typeAnnotation=s,this.resetEndLocation(e)),e}tsInAmbientContext(e){let{isAmbientContext:s,strict:i}=this.state;this.state.isAmbientContext=!0,this.state.strict=!1;try{return e()}finally{this.state.isAmbientContext=s,this.state.strict=i}}parseClass(e,s,i){let r=this.state.inAbstractClass;this.state.inAbstractClass=!!e.abstract;try{return super.parseClass(e,s,i)}finally{this.state.inAbstractClass=r}}tsParseAbstractDeclaration(e,s){if(this.match(80))return e.abstract=!0,this.maybeTakeDecorators(s,this.parseClass(e,!0,!1));if(this.isContextual(129)){if(!this.hasFollowingLineBreak())return e.abstract=!0,this.raise(x.NonClassMethodPropertyHasAbstractModifer,e),this.tsParseInterfaceDeclaration(e)}else this.unexpected(null,80)}parseMethod(e,s,i,r,n,o,h){let c=super.parseMethod(e,s,i,r,n,o,h);if(c.abstract&&(this.hasPlugin("estree")?!!c.value.body:!!c.body)){let{key:u}=c;this.raise(x.AbstractMethodHasImplementation,c,{methodName:u.type==="Identifier"&&!c.computed?u.name:`[${this.input.slice(u.start,u.end)}]`})}return c}tsParseTypeParameterName(){return this.parseIdentifier().name}shouldParseAsAmbientContext(){return!!this.getPluginOption("typescript","dts")}parse(){return this.shouldParseAsAmbientContext()&&(this.state.isAmbientContext=!0),super.parse()}getExpression(){return this.shouldParseAsAmbientContext()&&(this.state.isAmbientContext=!0),super.getExpression()}parseExportSpecifier(e,s,i,r){return!s&&r?(this.parseTypeOnlyImportExportSpecifier(e,!1,i),this.finishNode(e,"ExportSpecifier")):(e.exportKind="value",super.parseExportSpecifier(e,s,i,r))}parseImportSpecifier(e,s,i,r,n){return!s&&r?(this.parseTypeOnlyImportExportSpecifier(e,!0,i),this.finishNode(e,"ImportSpecifier")):(e.importKind="value",super.parseImportSpecifier(e,s,i,r,i?4098:4096))}parseTypeOnlyImportExportSpecifier(e,s,i){let r=s?"imported":"local",n=s?"local":"exported",o=e[r],h,c=!1,l=!0,u=o.loc.start;if(this.isContextual(93)){let d=this.parseIdentifier();if(this.isContextual(93)){let y=this.parseIdentifier();M(this.state.type)?(c=!0,o=d,h=s?this.parseIdentifier():this.parseModuleExportName(),l=!1):(h=y,l=!1)}else M(this.state.type)?(l=!1,h=s?this.parseIdentifier():this.parseModuleExportName()):(c=!0,o=d)}else M(this.state.type)&&(c=!0,s?(o=this.parseIdentifier(!0),this.isContextual(93)||this.checkReservedWord(o.name,o.loc.start,!0,!0)):o=this.parseModuleExportName());c&&i&&this.raise(s?x.TypeModifierIsUsedInTypeImports:x.TypeModifierIsUsedInTypeExports,u),e[r]=o,e[n]=h;let f=s?"importKind":"exportKind";e[f]=c?"type":"value",l&&this.eatContextual(93)&&(e[n]=s?this.parseIdentifier():this.parseModuleExportName()),e[n]||(e[n]=$(e[r])),s&&this.checkIdentifier(e[n],c?4098:4096)}};function Yi(a){if(a.type!=="MemberExpression")return!1;let{computed:t,property:e}=a;return t&&e.type!=="StringLiteral"&&(e.type!=="TemplateLiteral"||e.expressions.length>0)?!1:os(a.object)}function Qi(a,t){var e;let{type:s}=a;if((e=a.extra)!=null&&e.parenthesized)return!1;if(t){if(s==="Literal"){let{value:i}=a;if(typeof i=="string"||typeof i=="boolean")return!0}}else if(s==="StringLiteral"||s==="BooleanLiteral")return!0;return!!(ns(a,t)||Zi(a,t)||s==="TemplateLiteral"&&a.expressions.length===0||Yi(a))}function ns(a,t){return t?a.type==="Literal"&&(typeof a.value=="number"||"bigint"in a):a.type==="NumericLiteral"||a.type==="BigIntLiteral"}function Zi(a,t){if(a.type==="UnaryExpression"){let{operator:e,argument:s}=a;if(e==="-"&&ns(s,t))return!0}return!1}function os(a){return a.type==="Identifier"?!0:a.type!=="MemberExpression"||a.computed?!1:os(a.object)}var Vt=j`placeholders`({ClassNameIsRequired:"A class name is required.",UnexpectedSpace:"Unexpected space in placeholder."}),er=a=>class extends a{parsePlaceholder(e){if(this.match(144)){let s=this.startNode();return this.next(),this.assertNoSpace(),s.name=super.parseIdentifier(!0),this.assertNoSpace(),this.expect(144),this.finishPlaceholder(s,e)}}finishPlaceholder(e,s){let i=e;return(!i.expectedNode||!i.type)&&(i=this.finishNode(i,"Placeholder")),i.expectedNode=s,i}getTokenFromCode(e){e===37&&this.input.charCodeAt(this.state.pos+1)===37?this.finishOp(144,2):super.getTokenFromCode(e)}parseExprAtom(e){return this.parsePlaceholder("Expression")||super.parseExprAtom(e)}parseIdentifier(e){return this.parsePlaceholder("Identifier")||super.parseIdentifier(e)}checkReservedWord(e,s,i,r){e!==void 0&&super.checkReservedWord(e,s,i,r)}parseBindingAtom(){return this.parsePlaceholder("Pattern")||super.parseBindingAtom()}isValidLVal(e,s,i){return e==="Placeholder"||super.isValidLVal(e,s,i)}toAssignable(e,s){e&&e.type==="Placeholder"&&e.expectedNode==="Expression"?e.expectedNode="Pattern":super.toAssignable(e,s)}chStartsBindingIdentifier(e,s){return!!(super.chStartsBindingIdentifier(e,s)||this.lookahead().type===144)}verifyBreakContinue(e,s){e.label&&e.label.type==="Placeholder"||super.verifyBreakContinue(e,s)}parseExpressionStatement(e,s){var i;if(s.type!=="Placeholder"||(i=s.extra)!=null&&i.parenthesized)return super.parseExpressionStatement(e,s);if(this.match(14)){let n=e;return n.label=this.finishPlaceholder(s,"Identifier"),this.next(),n.body=super.parseStatementOrSloppyAnnexBFunctionDeclaration(),this.finishNode(n,"LabeledStatement")}this.semicolon();let r=e;return r.name=s.name,this.finishPlaceholder(r,"Statement")}parseBlock(e,s,i){return this.parsePlaceholder("BlockStatement")||super.parseBlock(e,s,i)}parseFunctionId(e){return this.parsePlaceholder("Identifier")||super.parseFunctionId(e)}parseClass(e,s,i){let r=s?"ClassDeclaration":"ClassExpression";this.next();let n=this.state.strict,o=this.parsePlaceholder("Identifier");if(o)if(this.match(81)||this.match(144)||this.match(5))e.id=o;else{if(i||!s)return e.id=null,e.body=this.finishPlaceholder(o,"ClassBody"),this.finishNode(e,r);throw this.raise(Vt.ClassNameIsRequired,this.state.startLoc)}else this.parseClassId(e,s,i);return super.parseClassSuper(e),e.body=this.parsePlaceholder("ClassBody")||super.parseClassBody(!!e.superClass,n),this.finishNode(e,r)}parseExport(e,s){let i=this.parsePlaceholder("Identifier");if(!i)return super.parseExport(e,s);let r=e;if(!this.isContextual(98)&&!this.match(12))return r.specifiers=[],r.source=null,r.declaration=this.finishPlaceholder(i,"Declaration"),this.finishNode(r,"ExportNamedDeclaration");this.expectPlugin("exportDefaultFrom");let n=this.startNode();return n.exported=i,r.specifiers=[this.finishNode(n,"ExportDefaultSpecifier")],super.parseExport(r,s)}isExportDefaultSpecifier(){if(this.match(65)){let e=this.nextTokenStart();if(this.isUnparsedContextual(e,"from")&&this.input.startsWith(K(144),this.nextTokenStartSince(e+4)))return!0}return super.isExportDefaultSpecifier()}maybeParseExportDefaultSpecifier(e,s){var i;return(i=e.specifiers)!=null&&i.length?!0:super.maybeParseExportDefaultSpecifier(e,s)}checkExport(e){let{specifiers:s}=e;s!=null&&s.length&&(e.specifiers=s.filter(i=>i.exported.type==="Placeholder")),super.checkExport(e),e.specifiers=s}parseImport(e){let s=this.parsePlaceholder("Identifier");if(!s)return super.parseImport(e);if(e.specifiers=[],!this.isContextual(98)&&!this.match(12))return e.source=this.finishPlaceholder(s,"StringLiteral"),this.semicolon(),this.finishNode(e,"ImportDeclaration");let i=this.startNodeAtNode(s);return i.local=s,e.specifiers.push(this.finishNode(i,"ImportDefaultSpecifier")),this.eat(12)&&(this.maybeParseStarImportSpecifier(e)||this.parseNamedImportSpecifiers(e)),this.expectContextual(98),e.source=this.parseImportSource(),this.semicolon(),this.finishNode(e,"ImportDeclaration")}parseImportSource(){return this.parsePlaceholder("StringLiteral")||super.parseImportSource()}assertNoSpace(){this.state.start>this.state.lastTokEndLoc.index&&this.raise(Vt.UnexpectedSpace,this.state.lastTokEndLoc)}},tr=a=>class extends a{parseV8Intrinsic(){if(this.match(54)){let e=this.state.startLoc,s=this.startNode();if(this.next(),w(this.state.type)){let i=this.parseIdentifierName(),r=this.createIdentifier(s,i);if(r.type="V8IntrinsicIdentifier",this.match(10))return r}this.unexpected(e)}}parseExprAtom(e){return this.parseV8Intrinsic()||super.parseExprAtom(e)}};function N(a,t){let[e,s]=typeof t=="string"?[t,{}]:t,i=Object.keys(s),r=i.length===0;return a.some(n=>{if(typeof n=="string")return r&&n===e;{let[o,h]=n;if(o!==e)return!1;for(let c of i)if(h[c]!==s[c])return!1;return!0}})}function J(a,t,e){let s=a.find(i=>Array.isArray(i)?i[0]===t:i===t);return s&&Array.isArray(s)&&s.length>1?s[1][e]:null}var qt=["minimal","fsharp","hack","smart"],zt=["^^","@@","^","%","#"];function sr(a){if(N(a,"decorators")){if(N(a,"decorators-legacy"))throw new Error("Cannot use the decorators and decorators-legacy plugin together");let t=J(a,"decorators","decoratorsBeforeExport");if(t!=null&&typeof t!="boolean")throw new Error("'decoratorsBeforeExport' must be a boolean, if specified.");let e=J(a,"decorators","allowCallParenthesized");if(e!=null&&typeof e!="boolean")throw new Error("'allowCallParenthesized' must be a boolean.")}if(N(a,"flow")&&N(a,"typescript"))throw new Error("Cannot combine flow and typescript plugins.");if(N(a,"placeholders")&&N(a,"v8intrinsic"))throw new Error("Cannot combine placeholders and v8intrinsic plugins.");if(N(a,"pipelineOperator")){let t=J(a,"pipelineOperator","proposal");if(!qt.includes(t)){let i=qt.map(r=>`"${r}"`).join(", ");throw new Error(`"pipelineOperator" requires "proposal" option whose value must be one of: ${i}.`)}let e=["recordAndTuple",{syntaxType:"hash"}],s=N(a,e);if(t==="hack"){if(N(a,"placeholders"))throw new Error("Cannot combine placeholders plugin and Hack-style pipes.");if(N(a,"v8intrinsic"))throw new Error("Cannot combine v8intrinsic plugin and Hack-style pipes.");let i=J(a,"pipelineOperator","topicToken");if(!zt.includes(i)){let r=zt.map(n=>`"${n}"`).join(", ");throw new Error(`"pipelineOperator" in "proposal": "hack" mode also requires a "topicToken" option whose value must be one of: ${r}.`)}if(i==="#"&&s)throw new Error(`Plugin conflict between \`["pipelineOperator", { proposal: "hack", topicToken: "#" }]\` and \`${JSON.stringify(e)}\`.`)}else if(t==="smart"&&s)throw new Error(`Plugin conflict between \`["pipelineOperator", { proposal: "smart" }]\` and \`${JSON.stringify(e)}\`.`)}if(N(a,"moduleAttributes")){if(N(a,"importAssertions")||N(a,"importAttributes"))throw new Error("Cannot combine importAssertions, importAttributes and moduleAttributes plugins.");if(J(a,"moduleAttributes","version")!=="may-2020")throw new Error("The 'moduleAttributes' plugin requires a 'version' option, representing the last proposal update. Currently, the only supported value is 'may-2020'.")}if(N(a,"importAssertions")&&N(a,"importAttributes"))throw new Error("Cannot combine importAssertions and importAttributes plugins.");if(N(a,"recordAndTuple")){let t=J(a,"recordAndTuple","syntaxType");if(t!=null){let e=["hash","bar"];if(!e.includes(t))throw new Error("The 'syntaxType' option of the 'recordAndTuple' plugin must be one of: "+e.map(s=>`'${s}'`).join(", "))}}if(N(a,"asyncDoExpressions")&&!N(a,"doExpressions")){let t=new Error("'asyncDoExpressions' requires 'doExpressions', please add 'doExpressions' to parser plugins.");throw t.missingPlugins="doExpressions",t}if(N(a,"optionalChainingAssign")&&J(a,"optionalChainingAssign","version")!=="2023-07")throw new Error("The 'optionalChainingAssign' plugin requires a 'version' option, representing the last proposal update. Currently, the only supported value is '2023-07'.")}var hs={estree:ri,jsx:zi,flow:qi,typescript:Gi,v8intrinsic:tr,placeholders:er},ir=Object.keys(hs),qe={sourceType:"script",sourceFilename:void 0,startColumn:0,startLine:1,allowAwaitOutsideFunction:!1,allowReturnOutsideFunction:!1,allowNewTargetOutsideFunction:!1,allowImportExportEverywhere:!1,allowSuperOutsideMethod:!1,allowUndeclaredExports:!1,plugins:[],strictMode:null,ranges:!1,tokens:!1,createImportExpressions:!1,createParenthesizedExpressions:!1,errorRecovery:!1,attachComment:!0,annexB:!0};function rr(a){if(a==null)return Object.assign({},qe);if(a.annexB!=null&&a.annexB!==!1)throw new Error("The `annexB` option can only be set to `false`.");let t={};for(let s of Object.keys(qe)){var e;t[s]=(e=a[s])!=null?e:qe[s]}return t}var ct=class extends lt{checkProto(t,e,s,i){if(t.type==="SpreadElement"||this.isObjectMethod(t)||t.computed||t.shorthand)return;let r=t.key;if((r.type==="Identifier"?r.name:r.value)==="__proto__"){if(e){this.raise(p.RecordNoProto,r);return}s.used&&(i?i.doubleProtoLoc===null&&(i.doubleProtoLoc=r.loc.start):this.raise(p.DuplicateProto,r)),s.used=!0}}shouldExitDescending(t,e){return t.type==="ArrowFunctionExpression"&&t.start===e}getExpression(){this.enterInitialScopes(),this.nextToken();let t=this.parseExpression();return this.match(139)||this.unexpected(),this.finalizeRemainingComments(),t.comments=this.comments,t.errors=this.state.errors,this.options.tokens&&(t.tokens=this.tokens),t}parseExpression(t,e){return t?this.disallowInAnd(()=>this.parseExpressionBase(e)):this.allowInAnd(()=>this.parseExpressionBase(e))}parseExpressionBase(t){let e=this.state.startLoc,s=this.parseMaybeAssign(t);if(this.match(12)){let i=this.startNodeAt(e);for(i.expressions=[s];this.eat(12);)i.expressions.push(this.parseMaybeAssign(t));return this.toReferencedList(i.expressions),this.finishNode(i,"SequenceExpression")}return s}parseMaybeAssignDisallowIn(t,e){return this.disallowInAnd(()=>this.parseMaybeAssign(t,e))}parseMaybeAssignAllowIn(t,e){return this.allowInAnd(()=>this.parseMaybeAssign(t,e))}setOptionalParametersError(t,e){var s;t.optionalParametersLoc=(s=e==null?void 0:e.loc)!=null?s:this.state.startLoc}parseMaybeAssign(t,e){let s=this.state.startLoc;if(this.isContextual(108)&&this.prodParam.hasYield){let o=this.parseYield();return e&&(o=e.call(this,o,s)),o}let i;t?i=!1:(t=new Z,i=!0);let{type:r}=this.state;(r===10||w(r))&&(this.state.potentialArrowAt=this.state.start);let n=this.parseMaybeConditional(t);if(e&&(n=e.call(this,n,s)),li(this.state.type)){let o=this.startNodeAt(s),h=this.state.value;if(o.operator=h,this.match(29)){this.toAssignable(n,!0),o.left=n;let c=s.index;t.doubleProtoLoc!=null&&t.doubleProtoLoc.index>=c&&(t.doubleProtoLoc=null),t.shorthandAssignLoc!=null&&t.shorthandAssignLoc.index>=c&&(t.shorthandAssignLoc=null),t.privateKeyLoc!=null&&t.privateKeyLoc.index>=c&&(this.checkDestructuringPrivate(t),t.privateKeyLoc=null)}else o.left=n;return this.next(),o.right=this.parseMaybeAssign(),this.checkLVal(n,{in:this.finishNode(o,"AssignmentExpression")}),o}else i&&this.checkExpressionErrors(t,!0);return n}parseMaybeConditional(t){let e=this.state.startLoc,s=this.state.potentialArrowAt,i=this.parseExprOps(t);return this.shouldExitDescending(i,s)?i:this.parseConditional(i,e,t)}parseConditional(t,e,s){if(this.eat(17)){let i=this.startNodeAt(e);return i.test=t,i.consequent=this.parseMaybeAssignAllowIn(),this.expect(14),i.alternate=this.parseMaybeAssign(),this.finishNode(i,"ConditionalExpression")}return t}parseMaybeUnaryOrPrivate(t){return this.match(138)?this.parsePrivateName():this.parseMaybeUnary(t)}parseExprOps(t){let e=this.state.startLoc,s=this.state.potentialArrowAt,i=this.parseMaybeUnaryOrPrivate(t);return this.shouldExitDescending(i,s)?i:this.parseExprOp(i,e,-1)}parseExprOp(t,e,s){if(this.isPrivateName(t)){let r=this.getPrivateNameSV(t);(s>=Ie(58)||!this.prodParam.hasIn||!this.match(58))&&this.raise(p.PrivateInExpectedIn,t,{identifierName:r}),this.classScope.usePrivateName(r,t.loc.start)}let i=this.state.type;if(pi(i)&&(this.prodParam.hasIn||!this.match(58))){let r=Ie(i);if(r>s){if(i===39){if(this.expectPlugin("pipelineOperator"),this.state.inFSharpPipelineDirectBody)return t;this.checkPipelineAtInfixOperator(t,e)}let n=this.startNodeAt(e);n.left=t,n.operator=this.state.value;let o=i===41||i===42,h=i===40;if(h&&(r=Ie(42)),this.next(),i===39&&this.hasPlugin(["pipelineOperator",{proposal:"minimal"}])&&this.state.type===96&&this.prodParam.hasAwait)throw this.raise(p.UnexpectedAwaitAfterPipelineBody,this.state.startLoc);n.right=this.parseExprOpRightExpr(i,r);let c=this.finishNode(n,o||h?"LogicalExpression":"BinaryExpression"),l=this.state.type;if(h&&(l===41||l===42)||o&&l===40)throw this.raise(p.MixingCoalesceWithLogical,this.state.startLoc);return this.parseExprOp(c,e,s)}}return t}parseExprOpRightExpr(t,e){let s=this.state.startLoc;switch(t){case 39:switch(this.getPluginOption("pipelineOperator","proposal")){case"hack":return this.withTopicBindingContext(()=>this.parseHackPipeBody());case"smart":return this.withTopicBindingContext(()=>{if(this.prodParam.hasYield&&this.isContextual(108))throw this.raise(p.PipeBodyIsTighter,this.state.startLoc);return this.parseSmartPipelineBodyInStyle(this.parseExprOpBaseRightExpr(t,e),s)});case"fsharp":return this.withSoloAwaitPermittingContext(()=>this.parseFSharpPipelineBody(e))}default:return this.parseExprOpBaseRightExpr(t,e)}}parseExprOpBaseRightExpr(t,e){let s=this.state.startLoc;return this.parseExprOp(this.parseMaybeUnaryOrPrivate(),s,yi(t)?e-1:e)}parseHackPipeBody(){var t;let{startLoc:e}=this.state,s=this.parseMaybeAssign();return Qs.has(s.type)&&!((t=s.extra)!=null&&t.parenthesized)&&this.raise(p.PipeUnparenthesizedBody,e,{type:s.type}),this.topicReferenceWasUsedInCurrentContext()||this.raise(p.PipeTopicUnused,e),s}checkExponentialAfterUnary(t){this.match(57)&&this.raise(p.UnexpectedTokenUnaryExponentiation,t.argument)}parseMaybeUnary(t,e){let s=this.state.startLoc,i=this.isContextual(96);if(i&&this.isAwaitAllowed()){this.next();let h=this.parseAwait(s);return e||this.checkExponentialAfterUnary(h),h}let r=this.match(34),n=this.startNode();if(fi(this.state.type)){n.operator=this.state.value,n.prefix=!0,this.match(72)&&this.expectPlugin("throwExpressions");let h=this.match(89);if(this.next(),n.argument=this.parseMaybeUnary(null,!0),this.checkExpressionErrors(t,!0),this.state.strict&&h){let c=n.argument;c.type==="Identifier"?this.raise(p.StrictDelete,n):this.hasPropertyAsPrivateName(c)&&this.raise(p.DeletePrivateField,n)}if(!r)return e||this.checkExponentialAfterUnary(n),this.finishNode(n,"UnaryExpression")}let o=this.parseUpdate(n,r,t);if(i){let{type:h}=this.state;if((this.hasPlugin("v8intrinsic")?He(h):He(h)&&!this.match(54))&&!this.isAmbiguousAwait())return this.raiseOverwrite(p.AwaitNotInAsyncContext,s),this.parseAwait(s)}return o}parseUpdate(t,e,s){if(e){let n=t;return this.checkLVal(n.argument,{in:this.finishNode(n,"UpdateExpression")}),t}let i=this.state.startLoc,r=this.parseExprSubscripts(s);if(this.checkExpressionErrors(s,!1))return r;for(;ui(this.state.type)&&!this.canInsertSemicolon();){let n=this.startNodeAt(i);n.operator=this.state.value,n.prefix=!1,n.argument=r,this.next(),this.checkLVal(r,{in:r=this.finishNode(n,"UpdateExpression")})}return r}parseExprSubscripts(t){let e=this.state.startLoc,s=this.state.potentialArrowAt,i=this.parseExprAtom(t);return this.shouldExitDescending(i,s)?i:this.parseSubscripts(i,e)}parseSubscripts(t,e,s){let i={optionalChainMember:!1,maybeAsyncArrow:this.atPossibleAsyncArrow(t),stop:!1};do t=this.parseSubscript(t,e,s,i),i.maybeAsyncArrow=!1;while(!i.stop);return t}parseSubscript(t,e,s,i){let{type:r}=this.state;if(!s&&r===15)return this.parseBind(t,e,s,i);if(Le(r))return this.parseTaggedTemplateExpression(t,e,i);let n=!1;if(r===18){if(s&&(this.raise(p.OptionalChainingNoNew,this.state.startLoc),this.lookaheadCharCode()===40))return i.stop=!0,t;i.optionalChainMember=n=!0,this.next()}if(!s&&this.match(10))return this.parseCoverCallAndAsyncArrowHead(t,e,i,n);{let o=this.eat(0);return o||n||this.eat(16)?this.parseMember(t,e,i,o,n):(i.stop=!0,t)}}parseMember(t,e,s,i,r){let n=this.startNodeAt(e);return n.object=t,n.computed=i,i?(n.property=this.parseExpression(),this.expect(3)):this.match(138)?(t.type==="Super"&&this.raise(p.SuperPrivateField,e),this.classScope.usePrivateName(this.state.value,this.state.startLoc),n.property=this.parsePrivateName()):n.property=this.parseIdentifier(!0),s.optionalChainMember?(n.optional=r,this.finishNode(n,"OptionalMemberExpression")):this.finishNode(n,"MemberExpression")}parseBind(t,e,s,i){let r=this.startNodeAt(e);return r.object=t,this.next(),r.callee=this.parseNoCallExpr(),i.stop=!0,this.parseSubscripts(this.finishNode(r,"BindExpression"),e,s)}parseCoverCallAndAsyncArrowHead(t,e,s,i){let r=this.state.maybeInArrowParameters,n=null;this.state.maybeInArrowParameters=!0,this.next();let o=this.startNodeAt(e);o.callee=t;let{maybeAsyncArrow:h,optionalChainMember:c}=s;h&&(this.expressionScope.enter(Fi()),n=new Z),c&&(o.optional=i),i?o.arguments=this.parseCallExpressionArguments(11):o.arguments=this.parseCallExpressionArguments(11,t.type==="Import",t.type!=="Super",o,n);let l=this.finishCallExpression(o,c);return h&&this.shouldParseAsyncArrow()&&!i?(s.stop=!0,this.checkDestructuringPrivate(n),this.expressionScope.validateAsPattern(),this.expressionScope.exit(),l=this.parseAsyncArrowFromCallExpression(this.startNodeAt(e),l)):(h&&(this.checkExpressionErrors(n,!0),this.expressionScope.exit()),this.toReferencedArguments(l)),this.state.maybeInArrowParameters=r,l}toReferencedArguments(t,e){this.toReferencedListDeep(t.arguments,e)}parseTaggedTemplateExpression(t,e,s){let i=this.startNodeAt(e);return i.tag=t,i.quasi=this.parseTemplate(!0),s.optionalChainMember&&this.raise(p.OptionalChainingNoTemplate,e),this.finishNode(i,"TaggedTemplateExpression")}atPossibleAsyncArrow(t){return t.type==="Identifier"&&t.name==="async"&&this.state.lastTokEndLoc.index===t.end&&!this.canInsertSemicolon()&&t.end-t.start===5&&t.start===this.state.potentialArrowAt}expectImportAttributesPlugin(){this.hasPlugin("importAssertions")||this.expectPlugin("importAttributes")}finishCallExpression(t,e){if(t.callee.type==="Import")if(t.arguments.length===2&&(this.hasPlugin("moduleAttributes")||this.expectImportAttributesPlugin()),t.arguments.length===0||t.arguments.length>2)this.raise(p.ImportCallArity,t,{maxArgumentCount:this.hasPlugin("importAttributes")||this.hasPlugin("importAssertions")||this.hasPlugin("moduleAttributes")?2:1});else for(let s of t.arguments)s.type==="SpreadElement"&&this.raise(p.ImportCallSpreadArgument,s);return this.finishNode(t,e?"OptionalCallExpression":"CallExpression")}parseCallExpressionArguments(t,e,s,i,r){let n=[],o=!0,h=this.state.inFSharpPipelineDirectBody;for(this.state.inFSharpPipelineDirectBody=!1;!this.eat(t);){if(o)o=!1;else if(this.expect(12),this.match(t)){e&&!this.hasPlugin("importAttributes")&&!this.hasPlugin("importAssertions")&&!this.hasPlugin("moduleAttributes")&&this.raise(p.ImportCallArgumentTrailingComma,this.state.lastTokStartLoc),i&&this.addTrailingCommaExtraToNode(i),this.next();break}n.push(this.parseExprListItem(!1,r,s))}return this.state.inFSharpPipelineDirectBody=h,n}shouldParseAsyncArrow(){return this.match(19)&&!this.canInsertSemicolon()}parseAsyncArrowFromCallExpression(t,e){var s;return this.resetPreviousNodeTrailingComments(e),this.expect(19),this.parseArrowExpression(t,e.arguments,!0,(s=e.extra)==null?void 0:s.trailingCommaLoc),e.innerComments&&ye(t,e.innerComments),e.callee.trailingComments&&ye(t,e.callee.trailingComments),t}parseNoCallExpr(){let t=this.state.startLoc;return this.parseSubscripts(this.parseExprAtom(),t,!0)}parseExprAtom(t){let e,s=null,{type:i}=this.state;switch(i){case 79:return this.parseSuper();case 83:return e=this.startNode(),this.next(),this.match(16)?this.parseImportMetaProperty(e):this.match(10)?this.options.createImportExpressions?this.parseImportCall(e):this.finishNode(e,"Import"):(this.raise(p.UnsupportedImport,this.state.lastTokStartLoc),this.finishNode(e,"Import"));case 78:return e=this.startNode(),this.next(),this.finishNode(e,"ThisExpression");case 90:return this.parseDo(this.startNode(),!1);case 56:case 31:return this.readRegexp(),this.parseRegExpLiteral(this.state.value);case 134:return this.parseNumericLiteral(this.state.value);case 135:return this.parseBigIntLiteral(this.state.value);case 136:return this.parseDecimalLiteral(this.state.value);case 133:return this.parseStringLiteral(this.state.value);case 84:return this.parseNullLiteral();case 85:return this.parseBooleanLiteral(!0);case 86:return this.parseBooleanLiteral(!1);case 10:{let r=this.state.potentialArrowAt===this.state.start;return this.parseParenAndDistinguishExpression(r)}case 2:case 1:return this.parseArrayLike(this.state.type===2?4:3,!1,!0);case 0:return this.parseArrayLike(3,!0,!1,t);case 6:case 7:return this.parseObjectLike(this.state.type===6?9:8,!1,!0);case 5:return this.parseObjectLike(8,!1,!1,t);case 68:return this.parseFunctionOrFunctionSent();case 26:s=this.parseDecorators();case 80:return this.parseClass(this.maybeTakeDecorators(s,this.startNode()),!1);case 77:return this.parseNewOrNewTarget();case 25:case 24:return this.parseTemplate(!1);case 15:{e=this.startNode(),this.next(),e.object=null;let r=e.callee=this.parseNoCallExpr();if(r.type==="MemberExpression")return this.finishNode(e,"BindExpression");throw this.raise(p.UnsupportedBind,r)}case 138:return this.raise(p.PrivateInExpectedIn,this.state.startLoc,{identifierName:this.state.value}),this.parsePrivateName();case 33:return this.parseTopicReferenceThenEqualsSign(54,"%");case 32:return this.parseTopicReferenceThenEqualsSign(44,"^");case 37:case 38:return this.parseTopicReference("hack");case 44:case 54:case 27:{let r=this.getPluginOption("pipelineOperator","proposal");if(r)return this.parseTopicReference(r);this.unexpected();break}case 47:{let r=this.input.codePointAt(this.nextTokenStart());_(r)||r===62?this.expectOnePlugin(["jsx","flow","typescript"]):this.unexpected();break}default:if(w(i)){if(this.isContextual(127)&&this.lookaheadInLineCharCode()===123)return this.parseModuleExpression();let r=this.state.potentialArrowAt===this.state.start,n=this.state.containsEsc,o=this.parseIdentifier();if(!n&&o.name==="async"&&!this.canInsertSemicolon()){let{type:h}=this.state;if(h===68)return this.resetPreviousNodeTrailingComments(o),this.next(),this.parseAsyncFunctionExpression(this.startNodeAtNode(o));if(w(h))return this.lookaheadCharCode()===61?this.parseAsyncArrowUnaryFunction(this.startNodeAtNode(o)):o;if(h===90)return this.resetPreviousNodeTrailingComments(o),this.parseDo(this.startNodeAtNode(o),!0)}return r&&this.match(19)&&!this.canInsertSemicolon()?(this.next(),this.parseArrowExpression(this.startNodeAtNode(o),[o],!1)):o}else this.unexpected()}}parseTopicReferenceThenEqualsSign(t,e){let s=this.getPluginOption("pipelineOperator","proposal");if(s)return this.state.type=t,this.state.value=e,this.state.pos--,this.state.end--,this.state.endLoc=v(this.state.endLoc,-1),this.parseTopicReference(s);this.unexpected()}parseTopicReference(t){let e=this.startNode(),s=this.state.startLoc,i=this.state.type;return this.next(),this.finishTopicReference(e,s,t,i)}finishTopicReference(t,e,s,i){if(this.testTopicReferenceConfiguration(s,e,i)){let r=s==="smart"?"PipelinePrimaryTopicReference":"TopicReference";return this.topicReferenceIsAllowedInCurrentContext()||this.raise(s==="smart"?p.PrimaryTopicNotAllowed:p.PipeTopicUnbound,e),this.registerTopicReference(),this.finishNode(t,r)}else throw this.raise(p.PipeTopicUnconfiguredToken,e,{token:K(i)})}testTopicReferenceConfiguration(t,e,s){switch(t){case"hack":return this.hasPlugin(["pipelineOperator",{topicToken:K(s)}]);case"smart":return s===27;default:throw this.raise(p.PipeTopicRequiresHackPipes,e)}}parseAsyncArrowUnaryFunction(t){this.prodParam.enter(ke(!0,this.prodParam.hasYield));let e=[this.parseIdentifier()];return this.prodParam.exit(),this.hasPrecedingLineBreak()&&this.raise(p.LineTerminatorBeforeArrow,this.state.curPosition()),this.expect(19),this.parseArrowExpression(t,e,!0)}parseDo(t,e){this.expectPlugin("doExpressions"),e&&this.expectPlugin("asyncDoExpressions"),t.async=e,this.next();let s=this.state.labels;return this.state.labels=[],e?(this.prodParam.enter(2),t.body=this.parseBlock(),this.prodParam.exit()):t.body=this.parseBlock(),this.state.labels=s,this.finishNode(t,"DoExpression")}parseSuper(){let t=this.startNode();return this.next(),this.match(10)&&!this.scope.allowDirectSuper&&!this.options.allowSuperOutsideMethod?this.raise(p.SuperNotAllowed,t):!this.scope.allowSuper&&!this.options.allowSuperOutsideMethod&&this.raise(p.UnexpectedSuper,t),!this.match(10)&&!this.match(0)&&!this.match(16)&&this.raise(p.UnsupportedSuper,t),this.finishNode(t,"Super")}parsePrivateName(){let t=this.startNode(),e=this.startNodeAt(v(this.state.startLoc,1)),s=this.state.value;return this.next(),t.id=this.createIdentifier(e,s),this.finishNode(t,"PrivateName")}parseFunctionOrFunctionSent(){let t=this.startNode();if(this.next(),this.prodParam.hasYield&&this.match(16)){let e=this.createIdentifier(this.startNodeAtNode(t),"function");return this.next(),this.match(103)?this.expectPlugin("functionSent"):this.hasPlugin("functionSent")||this.unexpected(),this.parseMetaProperty(t,e,"sent")}return this.parseFunction(t)}parseMetaProperty(t,e,s){t.meta=e;let i=this.state.containsEsc;return t.property=this.parseIdentifier(!0),(t.property.name!==s||i)&&this.raise(p.UnsupportedMetaProperty,t.property,{target:e.name,onlyValidPropertyName:s}),this.finishNode(t,"MetaProperty")}parseImportMetaProperty(t){let e=this.createIdentifier(this.startNodeAtNode(t),"import");if(this.next(),this.isContextual(101))this.inModule||this.raise(p.ImportMetaOutsideModule,e),this.sawUnambiguousESM=!0;else if(this.isContextual(105)||this.isContextual(97)){let s=this.isContextual(105);if(s||this.unexpected(),this.expectPlugin(s?"sourcePhaseImports":"deferredImportEvaluation"),!this.options.createImportExpressions)throw this.raise(p.DynamicImportPhaseRequiresImportExpressions,this.state.startLoc,{phase:this.state.value});return this.next(),t.phase=s?"source":"defer",this.parseImportCall(t)}return this.parseMetaProperty(t,e,"meta")}parseLiteralAtNode(t,e,s){return this.addExtra(s,"rawValue",t),this.addExtra(s,"raw",this.input.slice(s.start,this.state.end)),s.value=t,this.next(),this.finishNode(s,e)}parseLiteral(t,e){let s=this.startNode();return this.parseLiteralAtNode(t,e,s)}parseStringLiteral(t){return this.parseLiteral(t,"StringLiteral")}parseNumericLiteral(t){return this.parseLiteral(t,"NumericLiteral")}parseBigIntLiteral(t){return this.parseLiteral(t,"BigIntLiteral")}parseDecimalLiteral(t){return this.parseLiteral(t,"DecimalLiteral")}parseRegExpLiteral(t){let e=this.startNode();return this.addExtra(e,"raw",this.input.slice(e.start,this.state.end)),e.pattern=t.pattern,e.flags=t.flags,this.next(),this.finishNode(e,"RegExpLiteral")}parseBooleanLiteral(t){let e=this.startNode();return e.value=t,this.next(),this.finishNode(e,"BooleanLiteral")}parseNullLiteral(){let t=this.startNode();return this.next(),this.finishNode(t,"NullLiteral")}parseParenAndDistinguishExpression(t){let e=this.state.startLoc,s;this.next(),this.expressionScope.enter(Oi());let i=this.state.maybeInArrowParameters,r=this.state.inFSharpPipelineDirectBody;this.state.maybeInArrowParameters=!0,this.state.inFSharpPipelineDirectBody=!1;let n=this.state.startLoc,o=[],h=new Z,c=!0,l,u;for(;!this.match(11);){if(c)c=!1;else if(this.expect(12,h.optionalParametersLoc===null?null:h.optionalParametersLoc),this.match(11)){u=this.state.startLoc;break}if(this.match(21)){let y=this.state.startLoc;if(l=this.state.startLoc,o.push(this.parseParenItem(this.parseRestBinding(),y)),!this.checkCommaAfterRest(41))break}else o.push(this.parseMaybeAssignAllowIn(h,this.parseParenItem))}let f=this.state.lastTokEndLoc;this.expect(11),this.state.maybeInArrowParameters=i,this.state.inFSharpPipelineDirectBody=r;let d=this.startNodeAt(e);return t&&this.shouldParseArrow(o)&&(d=this.parseArrow(d))?(this.checkDestructuringPrivate(h),this.expressionScope.validateAsPattern(),this.expressionScope.exit(),this.parseArrowExpression(d,o,!1),d):(this.expressionScope.exit(),o.length||this.unexpected(this.state.lastTokStartLoc),u&&this.unexpected(u),l&&this.unexpected(l),this.checkExpressionErrors(h,!0),this.toReferencedListDeep(o,!0),o.length>1?(s=this.startNodeAt(n),s.expressions=o,this.finishNode(s,"SequenceExpression"),this.resetEndLocation(s,f)):s=o[0],this.wrapParenthesis(e,s))}wrapParenthesis(t,e){if(!this.options.createParenthesizedExpressions)return this.addExtra(e,"parenthesized",!0),this.addExtra(e,"parenStart",t.index),this.takeSurroundingComments(e,t.index,this.state.lastTokEndLoc.index),e;let s=this.startNodeAt(t);return s.expression=e,this.finishNode(s,"ParenthesizedExpression")}shouldParseArrow(t){return!this.canInsertSemicolon()}parseArrow(t){if(this.eat(19))return t}parseParenItem(t,e){return t}parseNewOrNewTarget(){let t=this.startNode();if(this.next(),this.match(16)){let e=this.createIdentifier(this.startNodeAtNode(t),"new");this.next();let s=this.parseMetaProperty(t,e,"target");return!this.scope.inNonArrowFunction&&!this.scope.inClass&&!this.options.allowNewTargetOutsideFunction&&this.raise(p.UnexpectedNewTarget,s),s}return this.parseNew(t)}parseNew(t){if(this.parseNewCallee(t),this.eat(10)){let e=this.parseExprList(11);this.toReferencedList(e),t.arguments=e}else t.arguments=[];return this.finishNode(t,"NewExpression")}parseNewCallee(t){let e=this.match(83),s=this.parseNoCallExpr();t.callee=s,e&&(s.type==="Import"||s.type==="ImportExpression")&&this.raise(p.ImportCallNotNewExpression,s)}parseTemplateElement(t){let{start:e,startLoc:s,end:i,value:r}=this.state,n=e+1,o=this.startNodeAt(v(s,1));r===null&&(t||this.raise(p.InvalidEscapeSequenceTemplate,v(this.state.firstInvalidTemplateEscapePos,1)));let h=this.match(24),c=h?-1:-2,l=i+c;o.value={raw:this.input.slice(n,l).replace(/\r\n?/g,` +`),cooked:r===null?null:r.slice(1,c)},o.tail=h,this.next();let u=this.finishNode(o,"TemplateElement");return this.resetEndLocation(u,v(this.state.lastTokEndLoc,c)),u}parseTemplate(t){let e=this.startNode(),s=this.parseTemplateElement(t),i=[s],r=[];for(;!s.tail;)r.push(this.parseTemplateSubstitution()),this.readTemplateContinuation(),i.push(s=this.parseTemplateElement(t));return e.expressions=r,e.quasis=i,this.finishNode(e,"TemplateLiteral")}parseTemplateSubstitution(){return this.parseExpression()}parseObjectLike(t,e,s,i){s&&this.expectPlugin("recordAndTuple");let r=this.state.inFSharpPipelineDirectBody;this.state.inFSharpPipelineDirectBody=!1;let n=Object.create(null),o=!0,h=this.startNode();for(h.properties=[],this.next();!this.match(t);){if(o)o=!1;else if(this.expect(12),this.match(t)){this.addTrailingCommaExtraToNode(h);break}let l;e?l=this.parseBindingProperty():(l=this.parsePropertyDefinition(i),this.checkProto(l,s,n,i)),s&&!this.isObjectProperty(l)&&l.type!=="SpreadElement"&&this.raise(p.InvalidRecordProperty,l),l.shorthand&&this.addExtra(l,"shorthand",!0),h.properties.push(l)}this.next(),this.state.inFSharpPipelineDirectBody=r;let c="ObjectExpression";return e?c="ObjectPattern":s&&(c="RecordExpression"),this.finishNode(h,c)}addTrailingCommaExtraToNode(t){this.addExtra(t,"trailingComma",this.state.lastTokStartLoc.index),this.addExtra(t,"trailingCommaLoc",this.state.lastTokStartLoc,!1)}maybeAsyncOrAccessorProp(t){return!t.computed&&t.key.type==="Identifier"&&(this.isLiteralPropertyName()||this.match(0)||this.match(55))}parsePropertyDefinition(t){let e=[];if(this.match(26))for(this.hasPlugin("decorators")&&this.raise(p.UnsupportedPropertyDecorator,this.state.startLoc);this.match(26);)e.push(this.parseDecorator());let s=this.startNode(),i=!1,r=!1,n;if(this.match(21))return e.length&&this.unexpected(),this.parseSpread();e.length&&(s.decorators=e,e=[]),s.method=!1,t&&(n=this.state.startLoc);let o=this.eat(55);this.parsePropertyNamePrefixOperator(s);let h=this.state.containsEsc;if(this.parsePropertyName(s,t),!o&&!h&&this.maybeAsyncOrAccessorProp(s)){let{key:c}=s,l=c.name;l==="async"&&!this.hasPrecedingLineBreak()&&(i=!0,this.resetPreviousNodeTrailingComments(c),o=this.eat(55),this.parsePropertyName(s)),(l==="get"||l==="set")&&(r=!0,this.resetPreviousNodeTrailingComments(c),s.kind=l,this.match(55)&&(o=!0,this.raise(p.AccessorIsGenerator,this.state.curPosition(),{kind:l}),this.next()),this.parsePropertyName(s))}return this.parseObjPropValue(s,n,o,i,!1,r,t)}getGetterSetterExpectedParamCount(t){return t.kind==="get"?0:1}getObjectOrClassMethodParams(t){return t.params}checkGetterSetterParams(t){var e;let s=this.getGetterSetterExpectedParamCount(t),i=this.getObjectOrClassMethodParams(t);i.length!==s&&this.raise(t.kind==="get"?p.BadGetterArity:p.BadSetterArity,t),t.kind==="set"&&((e=i[i.length-1])==null?void 0:e.type)==="RestElement"&&this.raise(p.BadSetterRestParameter,t)}parseObjectMethod(t,e,s,i,r){if(r){let n=this.parseMethod(t,e,!1,!1,!1,"ObjectMethod");return this.checkGetterSetterParams(n),n}if(s||e||this.match(10))return i&&this.unexpected(),t.kind="method",t.method=!0,this.parseMethod(t,e,s,!1,!1,"ObjectMethod")}parseObjectProperty(t,e,s,i){if(t.shorthand=!1,this.eat(14))return t.value=s?this.parseMaybeDefault(this.state.startLoc):this.parseMaybeAssignAllowIn(i),this.finishNode(t,"ObjectProperty");if(!t.computed&&t.key.type==="Identifier"){if(this.checkReservedWord(t.key.name,t.key.loc.start,!0,!1),s)t.value=this.parseMaybeDefault(e,$(t.key));else if(this.match(29)){let r=this.state.startLoc;i!=null?i.shorthandAssignLoc===null&&(i.shorthandAssignLoc=r):this.raise(p.InvalidCoverInitializedName,r),t.value=this.parseMaybeDefault(e,$(t.key))}else t.value=$(t.key);return t.shorthand=!0,this.finishNode(t,"ObjectProperty")}}parseObjPropValue(t,e,s,i,r,n,o){let h=this.parseObjectMethod(t,s,i,r,n)||this.parseObjectProperty(t,e,r,o);return h||this.unexpected(),h}parsePropertyName(t,e){if(this.eat(0))t.computed=!0,t.key=this.parseMaybeAssignAllowIn(),this.expect(3);else{let{type:s,value:i}=this.state,r;if(M(s))r=this.parseIdentifier(!0);else switch(s){case 134:r=this.parseNumericLiteral(i);break;case 133:r=this.parseStringLiteral(i);break;case 135:r=this.parseBigIntLiteral(i);break;case 136:r=this.parseDecimalLiteral(i);break;case 138:{let n=this.state.startLoc;e!=null?e.privateKeyLoc===null&&(e.privateKeyLoc=n):this.raise(p.UnexpectedPrivateField,n),r=this.parsePrivateName();break}default:this.unexpected()}t.key=r,s!==138&&(t.computed=!1)}}initFunction(t,e){t.id=null,t.generator=!1,t.async=e}parseMethod(t,e,s,i,r,n,o=!1){this.initFunction(t,s),t.generator=e,this.scope.enter(18|(o?64:0)|(r?32:0)),this.prodParam.enter(ke(s,t.generator)),this.parseFunctionParams(t,i);let h=this.parseFunctionBodyAndFinish(t,n,!0);return this.prodParam.exit(),this.scope.exit(),h}parseArrayLike(t,e,s,i){s&&this.expectPlugin("recordAndTuple");let r=this.state.inFSharpPipelineDirectBody;this.state.inFSharpPipelineDirectBody=!1;let n=this.startNode();return this.next(),n.elements=this.parseExprList(t,!s,i,n),this.state.inFSharpPipelineDirectBody=r,this.finishNode(n,s?"TupleExpression":"ArrayExpression")}parseArrowExpression(t,e,s,i){this.scope.enter(6);let r=ke(s,!1);!this.match(5)&&this.prodParam.hasIn&&(r|=8),this.prodParam.enter(r),this.initFunction(t,s);let n=this.state.maybeInArrowParameters;return e&&(this.state.maybeInArrowParameters=!0,this.setArrowFunctionParameters(t,e,i)),this.state.maybeInArrowParameters=!1,this.parseFunctionBody(t,!0),this.prodParam.exit(),this.scope.exit(),this.state.maybeInArrowParameters=n,this.finishNode(t,"ArrowFunctionExpression")}setArrowFunctionParameters(t,e,s){this.toAssignableList(e,s,!1),t.params=e}parseFunctionBodyAndFinish(t,e,s=!1){return this.parseFunctionBody(t,!1,s),this.finishNode(t,e)}parseFunctionBody(t,e,s=!1){let i=e&&!this.match(5);if(this.expressionScope.enter(rs()),i)t.body=this.parseMaybeAssign(),this.checkParams(t,!1,e,!1);else{let r=this.state.strict,n=this.state.labels;this.state.labels=[],this.prodParam.enter(this.prodParam.currentFlags()|4),t.body=this.parseBlock(!0,!1,o=>{let h=!this.isSimpleParamList(t.params);o&&h&&this.raise(p.IllegalLanguageModeDirective,(t.kind==="method"||t.kind==="constructor")&&t.key?t.key.loc.end:t);let c=!r&&this.state.strict;this.checkParams(t,!this.state.strict&&!e&&!s&&!h,e,c),this.state.strict&&t.id&&this.checkIdentifier(t.id,65,c)}),this.prodParam.exit(),this.state.labels=n}this.expressionScope.exit()}isSimpleParameter(t){return t.type==="Identifier"}isSimpleParamList(t){for(let e=0,s=t.length;e10||!Ei(t))return;if(s&&Si(t)){this.raise(p.UnexpectedKeyword,e,{keyword:t});return}if((this.state.strict?i?Zt:Yt:Gt)(t,this.inModule)){this.raise(p.UnexpectedReservedWord,e,{reservedWord:t});return}else if(t==="yield"){if(this.prodParam.hasYield){this.raise(p.YieldBindingIdentifier,e);return}}else if(t==="await"){if(this.prodParam.hasAwait){this.raise(p.AwaitBindingIdentifier,e);return}if(this.scope.inStaticBlock){this.raise(p.AwaitBindingIdentifierInStaticBlock,e);return}this.expressionScope.recordAsyncArrowParametersError(e)}else if(t==="arguments"&&this.scope.inClassAndNotInNonArrowFunction){this.raise(p.ArgumentsInClass,e);return}}isAwaitAllowed(){return!!(this.prodParam.hasAwait||this.options.allowAwaitOutsideFunction&&!this.scope.inFunction)}parseAwait(t){let e=this.startNodeAt(t);return this.expressionScope.recordParameterInitializerError(p.AwaitExpressionFormalParameter,e),this.eat(55)&&this.raise(p.ObsoleteAwaitStar,e),!this.scope.inFunction&&!this.options.allowAwaitOutsideFunction&&(this.isAmbiguousAwait()?this.ambiguousScriptDifferentAst=!0:this.sawUnambiguousESM=!0),this.state.soloAwait||(e.argument=this.parseMaybeUnary(null,!0)),this.finishNode(e,"AwaitExpression")}isAmbiguousAwait(){if(this.hasPrecedingLineBreak())return!0;let{type:t}=this.state;return t===53||t===10||t===0||Le(t)||t===102&&!this.state.containsEsc||t===137||t===56||this.hasPlugin("v8intrinsic")&&t===54}parseYield(){let t=this.startNode();this.expressionScope.recordParameterInitializerError(p.YieldInParameter,t),this.next();let e=!1,s=null;if(!this.hasPrecedingLineBreak())switch(e=this.eat(55),this.state.type){case 13:case 139:case 8:case 11:case 3:case 9:case 14:case 12:if(!e)break;default:s=this.parseMaybeAssign()}return t.delegate=e,t.argument=s,this.finishNode(t,"YieldExpression")}parseImportCall(t){return this.next(),t.source=this.parseMaybeAssignAllowIn(),(this.hasPlugin("importAttributes")||this.hasPlugin("importAssertions"))&&(t.options=null),this.eat(12)&&(this.expectImportAttributesPlugin(),this.match(11)||(t.options=this.parseMaybeAssignAllowIn(),this.eat(12))),this.expect(11),this.finishNode(t,"ImportExpression")}checkPipelineAtInfixOperator(t,e){this.hasPlugin(["pipelineOperator",{proposal:"smart"}])&&t.type==="SequenceExpression"&&this.raise(p.PipelineHeadSequenceExpression,e)}parseSmartPipelineBodyInStyle(t,e){if(this.isSimpleReference(t)){let s=this.startNodeAt(e);return s.callee=t,this.finishNode(s,"PipelineBareFunction")}else{let s=this.startNodeAt(e);return this.checkSmartPipeTopicBodyEarlyErrors(e),s.expression=t,this.finishNode(s,"PipelineTopicExpression")}}isSimpleReference(t){switch(t.type){case"MemberExpression":return!t.computed&&this.isSimpleReference(t.object);case"Identifier":return!0;default:return!1}}checkSmartPipeTopicBodyEarlyErrors(t){if(this.match(19))throw this.raise(p.PipelineBodyNoArrow,this.state.startLoc);this.topicReferenceWasUsedInCurrentContext()||this.raise(p.PipelineTopicUnused,t)}withTopicBindingContext(t){let e=this.state.topicContext;this.state.topicContext={maxNumOfResolvableTopics:1,maxTopicIndex:null};try{return t()}finally{this.state.topicContext=e}}withSmartMixTopicForbiddingContext(t){if(this.hasPlugin(["pipelineOperator",{proposal:"smart"}])){let e=this.state.topicContext;this.state.topicContext={maxNumOfResolvableTopics:0,maxTopicIndex:null};try{return t()}finally{this.state.topicContext=e}}else return t()}withSoloAwaitPermittingContext(t){let e=this.state.soloAwait;this.state.soloAwait=!0;try{return t()}finally{this.state.soloAwait=e}}allowInAnd(t){let e=this.prodParam.currentFlags();if(8&~e){this.prodParam.enter(e|8);try{return t()}finally{this.prodParam.exit()}}return t()}disallowInAnd(t){let e=this.prodParam.currentFlags();if(8&e){this.prodParam.enter(e&-9);try{return t()}finally{this.prodParam.exit()}}return t()}registerTopicReference(){this.state.topicContext.maxTopicIndex=0}topicReferenceIsAllowedInCurrentContext(){return this.state.topicContext.maxNumOfResolvableTopics>=1}topicReferenceWasUsedInCurrentContext(){return this.state.topicContext.maxTopicIndex!=null&&this.state.topicContext.maxTopicIndex>=0}parseFSharpPipelineBody(t){let e=this.state.startLoc;this.state.potentialArrowAt=this.state.start;let s=this.state.inFSharpPipelineDirectBody;this.state.inFSharpPipelineDirectBody=!0;let i=this.parseExprOp(this.parseMaybeUnaryOrPrivate(),e,t);return this.state.inFSharpPipelineDirectBody=s,i}parseModuleExpression(){this.expectPlugin("moduleBlocks");let t=this.startNode();this.next(),this.match(5)||this.unexpected(null,5);let e=this.startNodeAt(this.state.endLoc);this.next();let s=this.initializeScopes(!0);this.enterInitialScopes();try{t.body=this.parseProgram(e,8,"module")}finally{s()}return this.finishNode(t,"ModuleExpression")}parsePropertyNamePrefixOperator(t){}},ze={kind:1},ar={kind:2},nr=/[\uD800-\uDFFF]/u,Ke=/in(?:stanceof)?/y;function or(a,t){for(let e=0;e0)for(let[r,n]of Array.from(this.scope.undefinedExports))this.raise(p.ModuleExportUndefined,n,{localName:r});let i;return e===139?i=this.finishNode(t,"Program"):i=this.finishNodeAt(t,"Program",v(this.state.startLoc,-1)),i}stmtToDirective(t){let e=t;e.type="Directive",e.value=e.expression,delete e.expression;let s=e.value,i=s.value,r=this.input.slice(s.start,s.end),n=s.value=r.slice(1,-1);return this.addExtra(s,"raw",r),this.addExtra(s,"rawValue",n),this.addExtra(s,"expressionValue",i),s.type="DirectiveLiteral",e}parseInterpreterDirective(){if(!this.match(28))return null;let t=this.startNode();return t.value=this.state.value,this.next(),this.finishNode(t,"InterpreterDirective")}isLet(){return this.isContextual(100)?this.hasFollowingBindingAtom():!1}chStartsBindingIdentifier(t,e){if(_(t)){if(Ke.lastIndex=e,Ke.test(this.input)){let s=this.codePointAtPos(Ke.lastIndex);if(!Q(s)&&s!==92)return!1}return!0}else return t===92}chStartsBindingPattern(t){return t===91||t===123}hasFollowingBindingAtom(){let t=this.nextTokenStart(),e=this.codePointAtPos(t);return this.chStartsBindingPattern(e)||this.chStartsBindingIdentifier(e,t)}hasInLineFollowingBindingIdentifierOrBrace(){let t=this.nextTokenInLineStart(),e=this.codePointAtPos(t);return e===123||this.chStartsBindingIdentifier(e,t)}startsUsingForOf(){let{type:t,containsEsc:e}=this.lookahead();if(t===102&&!e)return!1;if(w(t)&&!this.hasFollowingLineBreak())return this.expectPlugin("explicitResourceManagement"),!0}startsAwaitUsing(){let t=this.nextTokenInLineStart();if(this.isUnparsedContextual(t,"using")){t=this.nextTokenInLineStartSince(t+5);let e=this.codePointAtPos(t);if(this.chStartsBindingIdentifier(e,t))return this.expectPlugin("explicitResourceManagement"),!0}return!1}parseModuleItem(){return this.parseStatementLike(15)}parseStatementListItem(){return this.parseStatementLike(6|(!this.options.annexB||this.state.strict?0:8))}parseStatementOrSloppyAnnexBFunctionDeclaration(t=!1){let e=0;return this.options.annexB&&!this.state.strict&&(e|=4,t&&(e|=8)),this.parseStatementLike(e)}parseStatement(){return this.parseStatementLike(0)}parseStatementLike(t){let e=null;return this.match(26)&&(e=this.parseDecorators(!0)),this.parseStatementContent(t,e)}parseStatementContent(t,e){let s=this.state.type,i=this.startNode(),r=!!(t&2),n=!!(t&4),o=t&1;switch(s){case 60:return this.parseBreakContinueStatement(i,!0);case 63:return this.parseBreakContinueStatement(i,!1);case 64:return this.parseDebuggerStatement(i);case 90:return this.parseDoWhileStatement(i);case 91:return this.parseForStatement(i);case 68:if(this.lookaheadCharCode()===46)break;return n||this.raise(this.state.strict?p.StrictFunction:this.options.annexB?p.SloppyFunctionAnnexB:p.SloppyFunction,this.state.startLoc),this.parseFunctionStatement(i,!1,!r&&n);case 80:return r||this.unexpected(),this.parseClass(this.maybeTakeDecorators(e,i),!0);case 69:return this.parseIfStatement(i);case 70:return this.parseReturnStatement(i);case 71:return this.parseSwitchStatement(i);case 72:return this.parseThrowStatement(i);case 73:return this.parseTryStatement(i);case 96:if(!this.state.containsEsc&&this.startsAwaitUsing())return this.isAwaitAllowed()?r||this.raise(p.UnexpectedLexicalDeclaration,i):this.raise(p.AwaitUsingNotInAsyncContext,i),this.next(),this.parseVarStatement(i,"await using");break;case 107:if(this.state.containsEsc||!this.hasInLineFollowingBindingIdentifierOrBrace())break;return this.expectPlugin("explicitResourceManagement"),!this.scope.inModule&&this.scope.inTopLevel?this.raise(p.UnexpectedUsingDeclaration,this.state.startLoc):r||this.raise(p.UnexpectedLexicalDeclaration,this.state.startLoc),this.parseVarStatement(i,"using");case 100:{if(this.state.containsEsc)break;let l=this.nextTokenStart(),u=this.codePointAtPos(l);if(u!==91&&(!r&&this.hasFollowingLineBreak()||!this.chStartsBindingIdentifier(u,l)&&u!==123))break}case 75:r||this.raise(p.UnexpectedLexicalDeclaration,this.state.startLoc);case 74:{let l=this.state.value;return this.parseVarStatement(i,l)}case 92:return this.parseWhileStatement(i);case 76:return this.parseWithStatement(i);case 5:return this.parseBlock();case 13:return this.parseEmptyStatement(i);case 83:{let l=this.lookaheadCharCode();if(l===40||l===46)break}case 82:{!this.options.allowImportExportEverywhere&&!o&&this.raise(p.UnexpectedImportExport,this.state.startLoc),this.next();let l;return s===83?(l=this.parseImport(i),l.type==="ImportDeclaration"&&(!l.importKind||l.importKind==="value")&&(this.sawUnambiguousESM=!0)):(l=this.parseExport(i,e),(l.type==="ExportNamedDeclaration"&&(!l.exportKind||l.exportKind==="value")||l.type==="ExportAllDeclaration"&&(!l.exportKind||l.exportKind==="value")||l.type==="ExportDefaultDeclaration")&&(this.sawUnambiguousESM=!0)),this.assertModuleNodeAllowed(l),l}default:if(this.isAsyncFunction())return r||this.raise(p.AsyncFunctionInSingleStatementContext,this.state.startLoc),this.next(),this.parseFunctionStatement(i,!0,!r&&n)}let h=this.state.value,c=this.parseExpression();return w(s)&&c.type==="Identifier"&&this.eat(14)?this.parseLabeledStatement(i,h,c,t):this.parseExpressionStatement(i,c,e)}assertModuleNodeAllowed(t){!this.options.allowImportExportEverywhere&&!this.inModule&&this.raise(p.ImportOutsideModule,t)}decoratorsEnabledBeforeExport(){return this.hasPlugin("decorators-legacy")?!0:this.hasPlugin("decorators")&&this.getPluginOption("decorators","decoratorsBeforeExport")!==!1}maybeTakeDecorators(t,e,s){return t&&(e.decorators&&e.decorators.length>0?(typeof this.getPluginOption("decorators","decoratorsBeforeExport")!="boolean"&&this.raise(p.DecoratorsBeforeAfterExport,e.decorators[0]),e.decorators.unshift(...t)):e.decorators=t,this.resetStartLocationFromNode(e,t[0]),s&&this.resetStartLocationFromNode(s,e)),e}canHaveLeadingDecorator(){return this.match(80)}parseDecorators(t){let e=[];do e.push(this.parseDecorator());while(this.match(26));if(this.match(82))t||this.unexpected(),this.decoratorsEnabledBeforeExport()||this.raise(p.DecoratorExportClass,this.state.startLoc);else if(!this.canHaveLeadingDecorator())throw this.raise(p.UnexpectedLeadingDecorator,this.state.startLoc);return e}parseDecorator(){this.expectOnePlugin(["decorators","decorators-legacy"]);let t=this.startNode();if(this.next(),this.hasPlugin("decorators")){let e=this.state.startLoc,s;if(this.match(10)){let i=this.state.startLoc;this.next(),s=this.parseExpression(),this.expect(11),s=this.wrapParenthesis(i,s);let r=this.state.startLoc;t.expression=this.parseMaybeDecoratorArguments(s),this.getPluginOption("decorators","allowCallParenthesized")===!1&&t.expression!==s&&this.raise(p.DecoratorArgumentsOutsideParentheses,r)}else{for(s=this.parseIdentifier(!1);this.eat(16);){let i=this.startNodeAt(e);i.object=s,this.match(138)?(this.classScope.usePrivateName(this.state.value,this.state.startLoc),i.property=this.parsePrivateName()):i.property=this.parseIdentifier(!0),i.computed=!1,s=this.finishNode(i,"MemberExpression")}t.expression=this.parseMaybeDecoratorArguments(s)}}else t.expression=this.parseExprSubscripts();return this.finishNode(t,"Decorator")}parseMaybeDecoratorArguments(t){if(this.eat(10)){let e=this.startNodeAtNode(t);return e.callee=t,e.arguments=this.parseCallExpressionArguments(11,!1),this.toReferencedList(e.arguments),this.finishNode(e,"CallExpression")}return t}parseBreakContinueStatement(t,e){return this.next(),this.isLineTerminator()?t.label=null:(t.label=this.parseIdentifier(),this.semicolon()),this.verifyBreakContinue(t,e),this.finishNode(t,e?"BreakStatement":"ContinueStatement")}verifyBreakContinue(t,e){let s;for(s=0;sthis.parseStatement()),this.state.labels.pop(),this.expect(92),t.test=this.parseHeaderExpression(),this.eat(13),this.finishNode(t,"DoWhileStatement")}parseForStatement(t){this.next(),this.state.labels.push(ze);let e=null;if(this.isAwaitAllowed()&&this.eatContextual(96)&&(e=this.state.lastTokStartLoc),this.scope.enter(0),this.expect(10),this.match(13))return e!==null&&this.unexpected(e),this.parseFor(t,null);let s=this.isContextual(100);{let h=this.isContextual(96)&&this.startsAwaitUsing(),c=h||this.isContextual(107)&&this.startsUsingForOf(),l=s&&this.hasFollowingBindingAtom()||c;if(this.match(74)||this.match(75)||l){let u=this.startNode(),f;h?(f="await using",this.isAwaitAllowed()||this.raise(p.AwaitUsingNotInAsyncContext,this.state.startLoc),this.next()):f=this.state.value,this.next(),this.parseVar(u,!0,f);let d=this.finishNode(u,"VariableDeclaration"),y=this.match(58);return y&&c&&this.raise(p.ForInUsing,d),(y||this.isContextual(102))&&d.declarations.length===1?this.parseForIn(t,d,e):(e!==null&&this.unexpected(e),this.parseFor(t,d))}}let i=this.isContextual(95),r=new Z,n=this.parseExpression(!0,r),o=this.isContextual(102);if(o&&(s&&this.raise(p.ForOfLet,n),e===null&&i&&n.type==="Identifier"&&this.raise(p.ForOfAsync,n)),o||this.match(58)){this.checkDestructuringPrivate(r),this.toAssignable(n,!0);let h=o?"ForOfStatement":"ForInStatement";return this.checkLVal(n,{in:{type:h}}),this.parseForIn(t,n,e)}else this.checkExpressionErrors(r,!0);return e!==null&&this.unexpected(e),this.parseFor(t,n)}parseFunctionStatement(t,e,s){return this.next(),this.parseFunction(t,1|(s?2:0)|(e?8:0))}parseIfStatement(t){return this.next(),t.test=this.parseHeaderExpression(),t.consequent=this.parseStatementOrSloppyAnnexBFunctionDeclaration(),t.alternate=this.eat(66)?this.parseStatementOrSloppyAnnexBFunctionDeclaration():null,this.finishNode(t,"IfStatement")}parseReturnStatement(t){return!this.prodParam.hasReturn&&!this.options.allowReturnOutsideFunction&&this.raise(p.IllegalReturn,this.state.startLoc),this.next(),this.isLineTerminator()?t.argument=null:(t.argument=this.parseExpression(),this.semicolon()),this.finishNode(t,"ReturnStatement")}parseSwitchStatement(t){this.next(),t.discriminant=this.parseHeaderExpression();let e=t.cases=[];this.expect(5),this.state.labels.push(ar),this.scope.enter(0);let s;for(let i;!this.match(8);)if(this.match(61)||this.match(65)){let r=this.match(61);s&&this.finishNode(s,"SwitchCase"),e.push(s=this.startNode()),s.consequent=[],this.next(),r?s.test=this.parseExpression():(i&&this.raise(p.MultipleDefaultsInSwitch,this.state.lastTokStartLoc),i=!0,s.test=null),this.expect(14)}else s?s.consequent.push(this.parseStatementListItem()):this.unexpected();return this.scope.exit(),s&&this.finishNode(s,"SwitchCase"),this.next(),this.state.labels.pop(),this.finishNode(t,"SwitchStatement")}parseThrowStatement(t){return this.next(),this.hasPrecedingLineBreak()&&this.raise(p.NewlineAfterThrow,this.state.lastTokEndLoc),t.argument=this.parseExpression(),this.semicolon(),this.finishNode(t,"ThrowStatement")}parseCatchClauseParam(){let t=this.parseBindingAtom();return this.scope.enter(this.options.annexB&&t.type==="Identifier"?8:0),this.checkLVal(t,{in:{type:"CatchClause"},binding:9}),t}parseTryStatement(t){if(this.next(),t.block=this.parseBlock(),t.handler=null,this.match(62)){let e=this.startNode();this.next(),this.match(10)?(this.expect(10),e.param=this.parseCatchClauseParam(),this.expect(11)):(e.param=null,this.scope.enter(0)),e.body=this.withSmartMixTopicForbiddingContext(()=>this.parseBlock(!1,!1)),this.scope.exit(),t.handler=this.finishNode(e,"CatchClause")}return t.finalizer=this.eat(67)?this.parseBlock():null,!t.handler&&!t.finalizer&&this.raise(p.NoCatchOrFinally,t),this.finishNode(t,"TryStatement")}parseVarStatement(t,e,s=!1){return this.next(),this.parseVar(t,!1,e,s),this.semicolon(),this.finishNode(t,"VariableDeclaration")}parseWhileStatement(t){return this.next(),t.test=this.parseHeaderExpression(),this.state.labels.push(ze),t.body=this.withSmartMixTopicForbiddingContext(()=>this.parseStatement()),this.state.labels.pop(),this.finishNode(t,"WhileStatement")}parseWithStatement(t){return this.state.strict&&this.raise(p.StrictWith,this.state.startLoc),this.next(),t.object=this.parseHeaderExpression(),t.body=this.withSmartMixTopicForbiddingContext(()=>this.parseStatement()),this.finishNode(t,"WithStatement")}parseEmptyStatement(t){return this.next(),this.finishNode(t,"EmptyStatement")}parseLabeledStatement(t,e,s,i){for(let n of this.state.labels)n.name===e&&this.raise(p.LabelRedeclaration,s,{labelName:e});let r=ci(this.state.type)?1:this.match(71)?2:null;for(let n=this.state.labels.length-1;n>=0;n--){let o=this.state.labels[n];if(o.statementStart===t.start)o.statementStart=this.state.start,o.kind=r;else break}return this.state.labels.push({name:e,kind:r,statementStart:this.state.start}),t.body=i&8?this.parseStatementOrSloppyAnnexBFunctionDeclaration(!0):this.parseStatement(),this.state.labels.pop(),t.label=s,this.finishNode(t,"LabeledStatement")}parseExpressionStatement(t,e,s){return t.expression=e,this.semicolon(),this.finishNode(t,"ExpressionStatement")}parseBlock(t=!1,e=!0,s){let i=this.startNode();return t&&this.state.strictErrors.clear(),this.expect(5),e&&this.scope.enter(0),this.parseBlockBody(i,t,!1,8,s),e&&this.scope.exit(),this.finishNode(i,"BlockStatement")}isValidDirective(t){return t.type==="ExpressionStatement"&&t.expression.type==="StringLiteral"&&!t.expression.extra.parenthesized}parseBlockBody(t,e,s,i,r){let n=t.body=[],o=t.directives=[];this.parseBlockOrModuleBlockBody(n,e?o:void 0,s,i,r)}parseBlockOrModuleBlockBody(t,e,s,i,r){let n=this.state.strict,o=!1,h=!1;for(;!this.match(i);){let c=s?this.parseModuleItem():this.parseStatementListItem();if(e&&!h){if(this.isValidDirective(c)){let l=this.stmtToDirective(c);e.push(l),!o&&l.value.value==="use strict"&&(o=!0,this.setStrict(!0));continue}h=!0,this.state.strictErrors.clear()}t.push(c)}r==null||r.call(this,o),n||this.setStrict(!1),this.next()}parseFor(t,e){return t.init=e,this.semicolon(!1),t.test=this.match(13)?null:this.parseExpression(),this.semicolon(!1),t.update=this.match(11)?null:this.parseExpression(),this.expect(11),t.body=this.withSmartMixTopicForbiddingContext(()=>this.parseStatement()),this.scope.exit(),this.state.labels.pop(),this.finishNode(t,"ForStatement")}parseForIn(t,e,s){let i=this.match(58);return this.next(),i?s!==null&&this.unexpected(s):t.await=s!==null,e.type==="VariableDeclaration"&&e.declarations[0].init!=null&&(!i||!this.options.annexB||this.state.strict||e.kind!=="var"||e.declarations[0].id.type!=="Identifier")&&this.raise(p.ForInOfLoopInitializer,e,{type:i?"ForInStatement":"ForOfStatement"}),e.type==="AssignmentPattern"&&this.raise(p.InvalidLhs,e,{ancestor:{type:"ForStatement"}}),t.left=e,t.right=i?this.parseExpression():this.parseMaybeAssignAllowIn(),this.expect(11),t.body=this.withSmartMixTopicForbiddingContext(()=>this.parseStatement()),this.scope.exit(),this.state.labels.pop(),this.finishNode(t,i?"ForInStatement":"ForOfStatement")}parseVar(t,e,s,i=!1){let r=t.declarations=[];for(t.kind=s;;){let n=this.startNode();if(this.parseVarId(n,s),n.init=this.eat(29)?e?this.parseMaybeAssignDisallowIn():this.parseMaybeAssignAllowIn():null,n.init===null&&!i&&(n.id.type!=="Identifier"&&!(e&&(this.match(58)||this.isContextual(102)))?this.raise(p.DeclarationMissingInitializer,this.state.lastTokEndLoc,{kind:"destructuring"}):(s==="const"||s==="using"||s==="await using")&&!(this.match(58)||this.isContextual(102))&&this.raise(p.DeclarationMissingInitializer,this.state.lastTokEndLoc,{kind:s})),r.push(this.finishNode(n,"VariableDeclarator")),!this.eat(12))break}return t}parseVarId(t,e){let s=this.parseBindingAtom();(e==="using"||e==="await using")&&(s.type==="ArrayPattern"||s.type==="ObjectPattern")&&this.raise(p.UsingDeclarationHasBindingPattern,s.loc.start),this.checkLVal(s,{in:{type:"VariableDeclarator"},binding:e==="var"?5:8201}),t.id=s}parseAsyncFunctionExpression(t){return this.parseFunction(t,8)}parseFunction(t,e=0){let s=e&2,i=!!(e&1),r=i&&!(e&4),n=!!(e&8);this.initFunction(t,n),this.match(55)&&(s&&this.raise(p.GeneratorInSingleStatementContext,this.state.startLoc),this.next(),t.generator=!0),i&&(t.id=this.parseFunctionId(r));let o=this.state.maybeInArrowParameters;return this.state.maybeInArrowParameters=!1,this.scope.enter(2),this.prodParam.enter(ke(n,t.generator)),i||(t.id=this.parseFunctionId()),this.parseFunctionParams(t,!1),this.withSmartMixTopicForbiddingContext(()=>{this.parseFunctionBodyAndFinish(t,i?"FunctionDeclaration":"FunctionExpression")}),this.prodParam.exit(),this.scope.exit(),i&&!s&&this.registerFunctionStatementId(t),this.state.maybeInArrowParameters=o,t}parseFunctionId(t){return t||w(this.state.type)?this.parseIdentifier():null}parseFunctionParams(t,e){this.expect(10),this.expressionScope.enter(Mi()),t.params=this.parseBindingList(11,41,2|(e?4:0)),this.expressionScope.exit()}registerFunctionStatementId(t){t.id&&this.scope.declareName(t.id.name,!this.options.annexB||this.state.strict||t.generator||t.async?this.scope.treatFunctionsAsVar?5:8201:17,t.id.loc.start)}parseClass(t,e,s){this.next();let i=this.state.strict;return this.state.strict=!0,this.parseClassId(t,e,s),this.parseClassSuper(t),t.body=this.parseClassBody(!!t.superClass,i),this.finishNode(t,e?"ClassDeclaration":"ClassExpression")}isClassProperty(){return this.match(29)||this.match(13)||this.match(8)}isClassMethod(){return this.match(10)}nameIsConstructor(t){return t.type==="Identifier"&&t.name==="constructor"||t.type==="StringLiteral"&&t.value==="constructor"}isNonstaticConstructor(t){return!t.computed&&!t.static&&this.nameIsConstructor(t.key)}parseClassBody(t,e){this.classScope.enter();let s={hadConstructor:!1,hadSuperClass:t},i=[],r=this.startNode();if(r.body=[],this.expect(5),this.withSmartMixTopicForbiddingContext(()=>{for(;!this.match(8);){if(this.eat(13)){if(i.length>0)throw this.raise(p.DecoratorSemicolon,this.state.lastTokEndLoc);continue}if(this.match(26)){i.push(this.parseDecorator());continue}let n=this.startNode();i.length&&(n.decorators=i,this.resetStartLocationFromNode(n,i[0]),i=[]),this.parseClassMember(r,n,s),n.kind==="constructor"&&n.decorators&&n.decorators.length>0&&this.raise(p.DecoratorConstructor,n)}}),this.state.strict=e,this.next(),i.length)throw this.raise(p.TrailingDecorator,this.state.startLoc);return this.classScope.exit(),this.finishNode(r,"ClassBody")}parseClassMemberFromModifier(t,e){let s=this.parseIdentifier(!0);if(this.isClassMethod()){let i=e;return i.kind="method",i.computed=!1,i.key=s,i.static=!1,this.pushClassMethod(t,i,!1,!1,!1,!1),!0}else if(this.isClassProperty()){let i=e;return i.computed=!1,i.key=s,i.static=!1,t.body.push(this.parseClassProperty(i)),!0}return this.resetPreviousNodeTrailingComments(s),!1}parseClassMember(t,e,s){let i=this.isContextual(106);if(i){if(this.parseClassMemberFromModifier(t,e))return;if(this.eat(5)){this.parseClassStaticBlock(t,e);return}}this.parseClassMemberWithIsStatic(t,e,s,i)}parseClassMemberWithIsStatic(t,e,s,i){let r=e,n=e,o=e,h=e,c=e,l=r,u=r;if(e.static=i,this.parsePropertyNamePrefixOperator(e),this.eat(55)){l.kind="method";let S=this.match(138);if(this.parseClassElementName(l),S){this.pushClassPrivateMethod(t,n,!0,!1);return}this.isNonstaticConstructor(r)&&this.raise(p.ConstructorIsGenerator,r.key),this.pushClassMethod(t,r,!0,!1,!1,!1);return}let f=!this.state.containsEsc&&w(this.state.type),d=this.parseClassElementName(e),y=f?d.name:null,E=this.isPrivateName(d),L=this.state.startLoc;if(this.parsePostMemberNameModifiers(u),this.isClassMethod()){if(l.kind="method",E){this.pushClassPrivateMethod(t,n,!1,!1);return}let S=this.isNonstaticConstructor(r),I=!1;S&&(r.kind="constructor",s.hadConstructor&&!this.hasPlugin("typescript")&&this.raise(p.DuplicateConstructor,d),S&&this.hasPlugin("typescript")&&e.override&&this.raise(p.OverrideOnConstructor,d),s.hadConstructor=!0,I=s.hadSuperClass),this.pushClassMethod(t,r,!1,!1,S,I)}else if(this.isClassProperty())E?this.pushClassPrivateProperty(t,h):this.pushClassProperty(t,o);else if(y==="async"&&!this.isLineTerminator()){this.resetPreviousNodeTrailingComments(d);let S=this.eat(55);u.optional&&this.unexpected(L),l.kind="method";let I=this.match(138);this.parseClassElementName(l),this.parsePostMemberNameModifiers(u),I?this.pushClassPrivateMethod(t,n,S,!0):(this.isNonstaticConstructor(r)&&this.raise(p.ConstructorIsAsync,r.key),this.pushClassMethod(t,r,S,!0,!1,!1))}else if((y==="get"||y==="set")&&!(this.match(55)&&this.isLineTerminator())){this.resetPreviousNodeTrailingComments(d),l.kind=y;let S=this.match(138);this.parseClassElementName(r),S?this.pushClassPrivateMethod(t,n,!1,!1):(this.isNonstaticConstructor(r)&&this.raise(p.ConstructorIsAccessor,r.key),this.pushClassMethod(t,r,!1,!1,!1,!1)),this.checkGetterSetterParams(r)}else if(y==="accessor"&&!this.isLineTerminator()){this.expectPlugin("decoratorAutoAccessors"),this.resetPreviousNodeTrailingComments(d);let S=this.match(138);this.parseClassElementName(o),this.pushClassAccessorProperty(t,c,S)}else this.isLineTerminator()?E?this.pushClassPrivateProperty(t,h):this.pushClassProperty(t,o):this.unexpected()}parseClassElementName(t){let{type:e,value:s}=this.state;if((e===132||e===133)&&t.static&&s==="prototype"&&this.raise(p.StaticPrototype,this.state.startLoc),e===138){s==="constructor"&&this.raise(p.ConstructorClassPrivateField,this.state.startLoc);let i=this.parsePrivateName();return t.key=i,i}return this.parsePropertyName(t),t.key}parseClassStaticBlock(t,e){var s;this.scope.enter(208);let i=this.state.labels;this.state.labels=[],this.prodParam.enter(0);let r=e.body=[];this.parseBlockOrModuleBlockBody(r,void 0,!1,8),this.prodParam.exit(),this.scope.exit(),this.state.labels=i,t.body.push(this.finishNode(e,"StaticBlock")),(s=e.decorators)!=null&&s.length&&this.raise(p.DecoratorStaticBlock,e)}pushClassProperty(t,e){!e.computed&&this.nameIsConstructor(e.key)&&this.raise(p.ConstructorClassField,e.key),t.body.push(this.parseClassProperty(e))}pushClassPrivateProperty(t,e){let s=this.parseClassPrivateProperty(e);t.body.push(s),this.classScope.declarePrivateName(this.getPrivateNameSV(s.key),0,s.key.loc.start)}pushClassAccessorProperty(t,e,s){!s&&!e.computed&&this.nameIsConstructor(e.key)&&this.raise(p.ConstructorClassField,e.key);let i=this.parseClassAccessorProperty(e);t.body.push(i),s&&this.classScope.declarePrivateName(this.getPrivateNameSV(i.key),0,i.key.loc.start)}pushClassMethod(t,e,s,i,r,n){t.body.push(this.parseMethod(e,s,i,r,n,"ClassMethod",!0))}pushClassPrivateMethod(t,e,s,i){let r=this.parseMethod(e,s,i,!1,!1,"ClassPrivateMethod",!0);t.body.push(r);let n=r.kind==="get"?r.static?6:2:r.kind==="set"?r.static?5:1:0;this.declareClassPrivateMethodInScope(r,n)}declareClassPrivateMethodInScope(t,e){this.classScope.declarePrivateName(this.getPrivateNameSV(t.key),e,t.key.loc.start)}parsePostMemberNameModifiers(t){}parseClassPrivateProperty(t){return this.parseInitializer(t),this.semicolon(),this.finishNode(t,"ClassPrivateProperty")}parseClassProperty(t){return this.parseInitializer(t),this.semicolon(),this.finishNode(t,"ClassProperty")}parseClassAccessorProperty(t){return this.parseInitializer(t),this.semicolon(),this.finishNode(t,"ClassAccessorProperty")}parseInitializer(t){this.scope.enter(80),this.expressionScope.enter(rs()),this.prodParam.enter(0),t.value=this.eat(29)?this.parseMaybeAssignAllowIn():null,this.expressionScope.exit(),this.prodParam.exit(),this.scope.exit()}parseClassId(t,e,s,i=8331){if(w(this.state.type))t.id=this.parseIdentifier(),e&&this.declareNameFromIdentifier(t.id,i);else if(s||!e)t.id=null;else throw this.raise(p.MissingClassName,this.state.startLoc)}parseClassSuper(t){t.superClass=this.eat(81)?this.parseExprSubscripts():null}parseExport(t,e){let s=this.parseMaybeImportPhase(t,!0),i=this.maybeParseExportDefaultSpecifier(t,s),r=!i||this.eat(12),n=r&&this.eatExportStar(t),o=n&&this.maybeParseExportNamespaceSpecifier(t),h=r&&(!o||this.eat(12)),c=i||n;if(n&&!o){if(i&&this.unexpected(),e)throw this.raise(p.UnsupportedDecoratorExport,t);return this.parseExportFrom(t,!0),this.finishNode(t,"ExportAllDeclaration")}let l=this.maybeParseExportNamedSpecifiers(t);i&&r&&!n&&!l&&this.unexpected(null,5),o&&h&&this.unexpected(null,98);let u;if(c||l){if(u=!1,e)throw this.raise(p.UnsupportedDecoratorExport,t);this.parseExportFrom(t,c)}else u=this.maybeParseExportDeclaration(t);if(c||l||u){var f;let d=t;if(this.checkExport(d,!0,!1,!!d.source),((f=d.declaration)==null?void 0:f.type)==="ClassDeclaration")this.maybeTakeDecorators(e,d.declaration,d);else if(e)throw this.raise(p.UnsupportedDecoratorExport,t);return this.finishNode(d,"ExportNamedDeclaration")}if(this.eat(65)){let d=t,y=this.parseExportDefaultExpression();if(d.declaration=y,y.type==="ClassDeclaration")this.maybeTakeDecorators(e,y,d);else if(e)throw this.raise(p.UnsupportedDecoratorExport,t);return this.checkExport(d,!0,!0),this.finishNode(d,"ExportDefaultDeclaration")}this.unexpected(null,5)}eatExportStar(t){return this.eat(55)}maybeParseExportDefaultSpecifier(t,e){if(e||this.isExportDefaultSpecifier()){this.expectPlugin("exportDefaultFrom",e==null?void 0:e.loc.start);let s=e||this.parseIdentifier(!0),i=this.startNodeAtNode(s);return i.exported=s,t.specifiers=[this.finishNode(i,"ExportDefaultSpecifier")],!0}return!1}maybeParseExportNamespaceSpecifier(t){if(this.isContextual(93)){var e,s;(s=(e=t).specifiers)!=null||(e.specifiers=[]);let i=this.startNodeAt(this.state.lastTokStartLoc);return this.next(),i.exported=this.parseModuleExportName(),t.specifiers.push(this.finishNode(i,"ExportNamespaceSpecifier")),!0}return!1}maybeParseExportNamedSpecifiers(t){if(this.match(5)){let e=t;e.specifiers||(e.specifiers=[]);let s=e.exportKind==="type";return e.specifiers.push(...this.parseExportSpecifiers(s)),e.source=null,e.declaration=null,this.hasPlugin("importAssertions")&&(e.assertions=[]),!0}return!1}maybeParseExportDeclaration(t){return this.shouldParseExportDeclaration()?(t.specifiers=[],t.source=null,this.hasPlugin("importAssertions")&&(t.assertions=[]),t.declaration=this.parseExportDeclaration(t),!0):!1}isAsyncFunction(){if(!this.isContextual(95))return!1;let t=this.nextTokenInLineStart();return this.isUnparsedContextual(t,"function")}parseExportDefaultExpression(){let t=this.startNode();if(this.match(68))return this.next(),this.parseFunction(t,5);if(this.isAsyncFunction())return this.next(),this.next(),this.parseFunction(t,13);if(this.match(80))return this.parseClass(t,!0,!0);if(this.match(26))return this.hasPlugin("decorators")&&this.getPluginOption("decorators","decoratorsBeforeExport")===!0&&this.raise(p.DecoratorBeforeExport,this.state.startLoc),this.parseClass(this.maybeTakeDecorators(this.parseDecorators(!1),this.startNode()),!0,!0);if(this.match(75)||this.match(74)||this.isLet())throw this.raise(p.UnsupportedDefaultExport,this.state.startLoc);let e=this.parseMaybeAssignAllowIn();return this.semicolon(),e}parseExportDeclaration(t){return this.match(80)?this.parseClass(this.startNode(),!0,!1):this.parseStatementListItem()}isExportDefaultSpecifier(){let{type:t}=this.state;if(w(t)){if(t===95&&!this.state.containsEsc||t===100)return!1;if((t===130||t===129)&&!this.state.containsEsc){let{type:i}=this.lookahead();if(w(i)&&i!==98||i===5)return this.expectOnePlugin(["flow","typescript"]),!1}}else if(!this.match(65))return!1;let e=this.nextTokenStart(),s=this.isUnparsedContextual(e,"from");if(this.input.charCodeAt(e)===44||w(this.state.type)&&s)return!0;if(this.match(65)&&s){let i=this.input.charCodeAt(this.nextTokenStartSince(e+4));return i===34||i===39}return!1}parseExportFrom(t,e){this.eatContextual(98)?(t.source=this.parseImportSource(),this.checkExport(t),this.maybeParseImportAttributes(t),this.checkJSONModuleImport(t)):e&&this.unexpected(),this.semicolon()}shouldParseExportDeclaration(){let{type:t}=this.state;return t===26&&(this.expectOnePlugin(["decorators","decorators-legacy"]),this.hasPlugin("decorators"))?(this.getPluginOption("decorators","decoratorsBeforeExport")===!0&&this.raise(p.DecoratorBeforeExport,this.state.startLoc),!0):this.isContextual(107)?(this.raise(p.UsingDeclarationExport,this.state.startLoc),!0):this.isContextual(96)&&this.startsAwaitUsing()?(this.raise(p.UsingDeclarationExport,this.state.startLoc),!0):t===74||t===75||t===68||t===80||this.isLet()||this.isAsyncFunction()}checkExport(t,e,s,i){if(e){var r;if(s){if(this.checkDuplicateExports(t,"default"),this.hasPlugin("exportDefaultFrom")){var n;let o=t.declaration;o.type==="Identifier"&&o.name==="from"&&o.end-o.start===4&&!((n=o.extra)!=null&&n.parenthesized)&&this.raise(p.ExportDefaultFromAsIdentifier,o)}}else if((r=t.specifiers)!=null&&r.length)for(let o of t.specifiers){let{exported:h}=o,c=h.type==="Identifier"?h.name:h.value;if(this.checkDuplicateExports(o,c),!i&&o.local){let{local:l}=o;l.type!=="Identifier"?this.raise(p.ExportBindingIsString,o,{localName:l.value,exportName:c}):(this.checkReservedWord(l.name,l.loc.start,!0,!1),this.scope.checkLocalExport(l))}}else if(t.declaration){let o=t.declaration;if(o.type==="FunctionDeclaration"||o.type==="ClassDeclaration"){let{id:h}=o;if(!h)throw new Error("Assertion failure");this.checkDuplicateExports(t,h.name)}else if(o.type==="VariableDeclaration")for(let h of o.declarations)this.checkDeclaration(h.id)}}}checkDeclaration(t){if(t.type==="Identifier")this.checkDuplicateExports(t,t.name);else if(t.type==="ObjectPattern")for(let e of t.properties)this.checkDeclaration(e);else if(t.type==="ArrayPattern")for(let e of t.elements)e&&this.checkDeclaration(e);else t.type==="ObjectProperty"?this.checkDeclaration(t.value):t.type==="RestElement"?this.checkDeclaration(t.argument):t.type==="AssignmentPattern"&&this.checkDeclaration(t.left)}checkDuplicateExports(t,e){this.exportedIdentifiers.has(e)&&(e==="default"?this.raise(p.DuplicateDefaultExport,t):this.raise(p.DuplicateExport,t,{exportName:e})),this.exportedIdentifiers.add(e)}parseExportSpecifiers(t){let e=[],s=!0;for(this.expect(5);!this.eat(8);){if(s)s=!1;else if(this.expect(12),this.eat(8))break;let i=this.isContextual(130),r=this.match(133),n=this.startNode();n.local=this.parseModuleExportName(),e.push(this.parseExportSpecifier(n,r,t,i))}return e}parseExportSpecifier(t,e,s,i){return this.eatContextual(93)?t.exported=this.parseModuleExportName():e?t.exported=Ri(t.local):t.exported||(t.exported=$(t.local)),this.finishNode(t,"ExportSpecifier")}parseModuleExportName(){if(this.match(133)){let t=this.parseStringLiteral(this.state.value),e=nr.exec(t.value);return e&&this.raise(p.ModuleExportNameHasLoneSurrogate,t,{surrogateCharCode:e[0].charCodeAt(0)}),t}return this.parseIdentifier(!0)}isJSONModuleImport(t){return t.assertions!=null?t.assertions.some(({key:e,value:s})=>s.value==="json"&&(e.type==="Identifier"?e.name==="type":e.value==="type")):!1}checkImportReflection(t){let{specifiers:e}=t,s=e.length===1?e[0].type:null;if(t.phase==="source")s!=="ImportDefaultSpecifier"&&this.raise(p.SourcePhaseImportRequiresDefault,e[0].loc.start);else if(t.phase==="defer")s!=="ImportNamespaceSpecifier"&&this.raise(p.DeferImportRequiresNamespace,e[0].loc.start);else if(t.module){var i;s!=="ImportDefaultSpecifier"&&this.raise(p.ImportReflectionNotBinding,e[0].loc.start),((i=t.assertions)==null?void 0:i.length)>0&&this.raise(p.ImportReflectionHasAssertion,e[0].loc.start)}}checkJSONModuleImport(t){if(this.isJSONModuleImport(t)&&t.type!=="ExportAllDeclaration"){let{specifiers:e}=t;if(e!=null){let s=e.find(i=>{let r;if(i.type==="ExportSpecifier"?r=i.local:i.type==="ImportSpecifier"&&(r=i.imported),r!==void 0)return r.type==="Identifier"?r.name!=="default":r.value!=="default"});s!==void 0&&this.raise(p.ImportJSONBindingNotDefault,s.loc.start)}}}isPotentialImportPhase(t){return t?!1:this.isContextual(105)||this.isContextual(97)||this.isContextual(127)}applyImportPhase(t,e,s,i){e||(s==="module"?(this.expectPlugin("importReflection",i),t.module=!0):this.hasPlugin("importReflection")&&(t.module=!1),s==="source"?(this.expectPlugin("sourcePhaseImports",i),t.phase="source"):s==="defer"?(this.expectPlugin("deferredImportEvaluation",i),t.phase="defer"):this.hasPlugin("sourcePhaseImports")&&(t.phase=null))}parseMaybeImportPhase(t,e){if(!this.isPotentialImportPhase(e))return this.applyImportPhase(t,e,null),null;let s=this.parseIdentifier(!0),{type:i}=this.state;return(M(i)?i!==98||this.lookaheadCharCode()===102:i!==12)?(this.resetPreviousIdentifierLeadingComments(s),this.applyImportPhase(t,e,s.name,s.loc.start),null):(this.applyImportPhase(t,e,null),s)}isPrecedingIdImportPhase(t){let{type:e}=this.state;return w(e)?e!==98||this.lookaheadCharCode()===102:e!==12}parseImport(t){return this.match(133)?this.parseImportSourceAndAttributes(t):this.parseImportSpecifiersAndAfter(t,this.parseMaybeImportPhase(t,!1))}parseImportSpecifiersAndAfter(t,e){t.specifiers=[];let i=!this.maybeParseDefaultImportSpecifier(t,e)||this.eat(12),r=i&&this.maybeParseStarImportSpecifier(t);return i&&!r&&this.parseNamedImportSpecifiers(t),this.expectContextual(98),this.parseImportSourceAndAttributes(t)}parseImportSourceAndAttributes(t){var e;return(e=t.specifiers)!=null||(t.specifiers=[]),t.source=this.parseImportSource(),this.maybeParseImportAttributes(t),this.checkImportReflection(t),this.checkJSONModuleImport(t),this.semicolon(),this.finishNode(t,"ImportDeclaration")}parseImportSource(){return this.match(133)||this.unexpected(),this.parseExprAtom()}parseImportSpecifierLocal(t,e,s){e.local=this.parseIdentifier(),t.specifiers.push(this.finishImportSpecifier(e,s))}finishImportSpecifier(t,e,s=8201){return this.checkLVal(t.local,{in:{type:e},binding:s}),this.finishNode(t,e)}parseImportAttributes(){this.expect(5);let t=[],e=new Set;do{if(this.match(8))break;let s=this.startNode(),i=this.state.value;if(e.has(i)&&this.raise(p.ModuleAttributesWithDuplicateKeys,this.state.startLoc,{key:i}),e.add(i),this.match(133)?s.key=this.parseStringLiteral(i):s.key=this.parseIdentifier(!0),this.expect(14),!this.match(133))throw this.raise(p.ModuleAttributeInvalidValue,this.state.startLoc);s.value=this.parseStringLiteral(this.state.value),t.push(this.finishNode(s,"ImportAttribute"))}while(this.eat(12));return this.expect(8),t}parseModuleAttributes(){let t=[],e=new Set;do{let s=this.startNode();if(s.key=this.parseIdentifier(!0),s.key.name!=="type"&&this.raise(p.ModuleAttributeDifferentFromType,s.key),e.has(s.key.name)&&this.raise(p.ModuleAttributesWithDuplicateKeys,s.key,{key:s.key.name}),e.add(s.key.name),this.expect(14),!this.match(133))throw this.raise(p.ModuleAttributeInvalidValue,this.state.startLoc);s.value=this.parseStringLiteral(this.state.value),t.push(this.finishNode(s,"ImportAttribute"))}while(this.eat(12));return t}maybeParseImportAttributes(t){let e,s=!1;if(this.match(76)){if(this.hasPrecedingLineBreak()&&this.lookaheadCharCode()===40)return;this.next(),this.hasPlugin("moduleAttributes")?e=this.parseModuleAttributes():(this.expectImportAttributesPlugin(),e=this.parseImportAttributes()),s=!0}else if(this.isContextual(94)&&!this.hasPrecedingLineBreak())this.hasPlugin("importAttributes")?(this.getPluginOption("importAttributes","deprecatedAssertSyntax")!==!0&&this.raise(p.ImportAttributesUseAssert,this.state.startLoc),this.addExtra(t,"deprecatedAssertSyntax",!0)):this.expectOnePlugin(["importAttributes","importAssertions"]),this.next(),e=this.parseImportAttributes();else if(this.hasPlugin("importAttributes")||this.hasPlugin("importAssertions"))e=[];else if(this.hasPlugin("moduleAttributes"))e=[];else return;!s&&this.hasPlugin("importAssertions")?t.assertions=e:t.attributes=e}maybeParseDefaultImportSpecifier(t,e){if(e){let s=this.startNodeAtNode(e);return s.local=e,t.specifiers.push(this.finishImportSpecifier(s,"ImportDefaultSpecifier")),!0}else if(M(this.state.type))return this.parseImportSpecifierLocal(t,this.startNode(),"ImportDefaultSpecifier"),!0;return!1}maybeParseStarImportSpecifier(t){if(this.match(55)){let e=this.startNode();return this.next(),this.expectContextual(93),this.parseImportSpecifierLocal(t,e,"ImportNamespaceSpecifier"),!0}return!1}parseNamedImportSpecifiers(t){let e=!0;for(this.expect(5);!this.eat(8);){if(e)e=!1;else{if(this.eat(14))throw this.raise(p.DestructureNamedImport,this.state.startLoc);if(this.expect(12),this.eat(8))break}let s=this.startNode(),i=this.match(133),r=this.isContextual(130);s.imported=this.parseModuleExportName();let n=this.parseImportSpecifier(s,i,t.importKind==="type"||t.importKind==="typeof",r,void 0);t.specifiers.push(n)}}parseImportSpecifier(t,e,s,i,r){if(this.eatContextual(93))t.local=this.parseIdentifier();else{let{imported:n}=t;if(e)throw this.raise(p.ImportBindingIsString,t,{importName:n.value});this.checkReservedWord(n.name,t.loc.start,!0,!0),t.local||(t.local=$(n))}return this.finishImportSpecifier(t,"ImportSpecifier",r)}isThisParam(t){return t.type==="Identifier"&&t.name==="this"}},Me=class extends pt{constructor(t,e){t=rr(t),super(t,e),this.options=t,this.initializeScopes(),this.plugins=hr(this.options.plugins),this.filename=t.sourceFilename}getScopeHandler(){return me}parse(){this.enterInitialScopes();let t=this.startNode(),e=this.startNode();return this.nextToken(),t.errors=null,this.parseTopLevel(t,e),t.errors=this.state.errors,t.comments.length=this.state.commentsLen,t}};function hr(a){let t=new Map;for(let e of a){let[s,i]=Array.isArray(e)?e:[e,{}];t.has(s)||t.set(s,i||{})}return t}function lr(a,t){var e;if(((e=t)==null?void 0:e.sourceType)==="unambiguous"){t=Object.assign({},t);try{t.sourceType="module";let s=pe(t,a),i=s.parse();if(s.sawUnambiguousESM)return i;if(s.ambiguousScriptDifferentAst)try{return t.sourceType="script",pe(t,a).parse()}catch{}else i.program.sourceType="script";return i}catch(s){try{return t.sourceType="script",pe(t,a).parse()}catch{}throw s}}else return pe(t,a).parse()}function cr(a,t){let e=pe(t,a);return e.options.strictMode&&(e.state.strict=!0),e.getExpression()}function pr(a){let t={};for(let e of Object.keys(a))t[e]=R(a[e]);return t}var ur=pr(ni);function pe(a,t){let e=Me;return a!=null&&a.plugins&&(sr(a.plugins),e=fr(a.plugins)),new e(a,t)}var Kt={};function fr(a){let t=ir.filter(i=>N(a,i)),e=t.join("/"),s=Kt[e];if(!s){s=Me;for(let i of t)s=hs[i](s);Kt[e]=s}return s}xe.parse=lr;xe.parseExpression=cr;xe.tokTypes=ur});var Zr={};Ws(Zr,{parsers:()=>Qr});var je=vt(At(),1);function Oe(a){return(t,e,s)=>{let i=!!(s!=null&&s.backwards);if(e===!1)return!1;let{length:r}=t,n=e;for(;n>=0&&n{let i=!!(s!=null&&s.backwards);if(e===!1)return!1;let{length:r}=t,n=e;for(;n>=0&&n0}var X=Va;function D(a){var s;let t=a.range?a.range[0]:a.start,e=((s=a.declaration)==null?void 0:s.decorators)??a.decorators;return X(e)?Math.min(D(e[0]),t):t}function _(a){return a.range?a.range[1]:a.end}function za(a){return a=typeof a=="function"?{parse:a}:a,{astFormat:"estree",hasPragma:yi,locStart:D,locEnd:_,...a}}var xe=za;function Ka(a,t){let e=new SyntaxError(a+" ("+t.loc.start.line+":"+t.loc.start.column+")");return Object.assign(e,t)}var Pe=Ka;function qa(a){let{message:t,loc:e}=a;return Pe(t.replace(/ \(.*\)$/,""),{loc:{start:{line:e?e.line:0,column:e?e.column+1:0}},cause:a})}var Oe=qa;var Ha=(a,t,e)=>{if(!(a&&t==null))return Array.isArray(t)||typeof t=="string"?t[e<0?t.length+e:e]:t.at(e)},as=Ha;function Wa(a){return a=new Set(a),t=>a.has(t==null?void 0:t.type)}var xi=Wa;var Ja=xi(["Block","CommentBlock","MultiLine"]),Be=Ja;function Xa(a){return Be(a)&&a.value[0]==="*"&&/@(?:type|satisfies)\b/.test(a.value)}var Pi=Xa;function Ga(a){let t=`*${a.value}*`.split(` -`);return t.length>1&&t.every(e=>e.trimStart()[0]==="*")}var ns=Ga;var Fe=null;function _e(a){if(Fe!==null&&typeof Fe.property){let t=Fe;return Fe=_e.prototype=null,t}return Fe=_e.prototype=a??Object.create(null),new _e}var Ya=10;for(let a=0;a<=Ya;a++)_e();function os(a){return _e(a)}function Qa(a,t="type"){os(a);function e(s){let i=s[t],r=a[i];if(!Array.isArray(r))throw Object.assign(new Error(`Missing visitor keys for '${i}'.`),{node:s});return r}return e}var Ti=Qa;var gi={ArrayExpression:["elements"],AssignmentExpression:["left","right"],BinaryExpression:["left","right"],InterpreterDirective:[],Directive:["value"],DirectiveLiteral:[],BlockStatement:["directives","body"],BreakStatement:["label"],CallExpression:["callee","arguments","typeParameters","typeArguments"],CatchClause:["param","body"],ConditionalExpression:["test","consequent","alternate"],ContinueStatement:["label"],DebuggerStatement:[],DoWhileStatement:["test","body"],EmptyStatement:[],ExpressionStatement:["expression"],File:["program"],ForInStatement:["left","right","body"],ForStatement:["init","test","update","body"],FunctionDeclaration:["id","params","body","returnType","typeParameters","predicate"],FunctionExpression:["id","params","body","returnType","typeParameters"],Identifier:["typeAnnotation","decorators"],IfStatement:["test","consequent","alternate"],LabeledStatement:["label","body"],StringLiteral:[],NumericLiteral:[],NullLiteral:[],BooleanLiteral:[],RegExpLiteral:[],LogicalExpression:["left","right"],MemberExpression:["object","property"],NewExpression:["callee","arguments","typeParameters","typeArguments"],Program:["directives","body"],ObjectExpression:["properties"],ObjectMethod:["key","params","body","decorators","returnType","typeParameters"],ObjectProperty:["key","value","decorators"],RestElement:["argument","typeAnnotation","decorators"],ReturnStatement:["argument"],SequenceExpression:["expressions"],ParenthesizedExpression:["expression"],SwitchCase:["test","consequent"],SwitchStatement:["discriminant","cases"],ThisExpression:[],ThrowStatement:["argument"],TryStatement:["block","handler","finalizer"],UnaryExpression:["argument"],UpdateExpression:["argument"],VariableDeclaration:["declarations"],VariableDeclarator:["id","init"],WhileStatement:["test","body"],WithStatement:["object","body"],AssignmentPattern:["left","right","decorators","typeAnnotation"],ArrayPattern:["elements","typeAnnotation","decorators"],ArrowFunctionExpression:["params","body","returnType","typeParameters","predicate"],ClassBody:["body"],ClassExpression:["id","body","superClass","mixins","typeParameters","superTypeParameters","implements","decorators"],ClassDeclaration:["id","body","superClass","mixins","typeParameters","superTypeParameters","implements","decorators"],ExportAllDeclaration:["source","attributes","assertions","exported"],ExportDefaultDeclaration:["declaration"],ExportNamedDeclaration:["declaration","specifiers","source","attributes","assertions"],ExportSpecifier:["local","exported"],ForOfStatement:["left","right","body"],ImportDeclaration:["specifiers","source","attributes","assertions"],ImportDefaultSpecifier:["local"],ImportNamespaceSpecifier:["local"],ImportSpecifier:["local","imported"],MetaProperty:["meta","property"],ClassMethod:["key","params","body","decorators","returnType","typeParameters"],ObjectPattern:["properties","typeAnnotation","decorators"],SpreadElement:["argument"],Super:[],TaggedTemplateExpression:["tag","quasi","typeParameters"],TemplateElement:[],TemplateLiteral:["quasis","expressions"],YieldExpression:["argument"],AwaitExpression:["argument"],Import:[],BigIntLiteral:[],ExportNamespaceSpecifier:["exported"],OptionalMemberExpression:["object","property"],OptionalCallExpression:["callee","arguments","typeParameters","typeArguments"],ClassProperty:["key","value","typeAnnotation","decorators","variance"],ClassAccessorProperty:["key","value","typeAnnotation","decorators"],ClassPrivateProperty:["key","value","decorators","typeAnnotation","variance"],ClassPrivateMethod:["key","params","body","decorators","returnType","typeParameters"],PrivateName:["id"],StaticBlock:["body"],AnyTypeAnnotation:[],ArrayTypeAnnotation:["elementType"],BooleanTypeAnnotation:[],BooleanLiteralTypeAnnotation:[],NullLiteralTypeAnnotation:[],ClassImplements:["id","typeParameters"],DeclareClass:["id","typeParameters","extends","mixins","implements","body"],DeclareFunction:["id","predicate"],DeclareInterface:["id","typeParameters","extends","body"],DeclareModule:["id","body"],DeclareModuleExports:["typeAnnotation"],DeclareTypeAlias:["id","typeParameters","right"],DeclareOpaqueType:["id","typeParameters","supertype"],DeclareVariable:["id"],DeclareExportDeclaration:["declaration","specifiers","source"],DeclareExportAllDeclaration:["source"],DeclaredPredicate:["value"],ExistsTypeAnnotation:[],FunctionTypeAnnotation:["typeParameters","params","rest","returnType","this"],FunctionTypeParam:["name","typeAnnotation"],GenericTypeAnnotation:["id","typeParameters"],InferredPredicate:[],InterfaceExtends:["id","typeParameters"],InterfaceDeclaration:["id","typeParameters","extends","body"],InterfaceTypeAnnotation:["extends","body"],IntersectionTypeAnnotation:["types"],MixedTypeAnnotation:[],EmptyTypeAnnotation:[],NullableTypeAnnotation:["typeAnnotation"],NumberLiteralTypeAnnotation:[],NumberTypeAnnotation:[],ObjectTypeAnnotation:["properties","indexers","callProperties","internalSlots"],ObjectTypeInternalSlot:["id","value","optional","static","method"],ObjectTypeCallProperty:["value"],ObjectTypeIndexer:["id","key","value","variance"],ObjectTypeProperty:["key","value","variance"],ObjectTypeSpreadProperty:["argument"],OpaqueType:["id","typeParameters","supertype","impltype"],QualifiedTypeIdentifier:["id","qualification"],StringLiteralTypeAnnotation:[],StringTypeAnnotation:[],SymbolTypeAnnotation:[],ThisTypeAnnotation:[],TupleTypeAnnotation:["types","elementTypes"],TypeofTypeAnnotation:["argument"],TypeAlias:["id","typeParameters","right"],TypeAnnotation:["typeAnnotation"],TypeCastExpression:["expression","typeAnnotation"],TypeParameter:["bound","default","variance"],TypeParameterDeclaration:["params"],TypeParameterInstantiation:["params"],UnionTypeAnnotation:["types"],Variance:[],VoidTypeAnnotation:[],EnumDeclaration:["id","body"],EnumBooleanBody:["members"],EnumNumberBody:["members"],EnumStringBody:["members"],EnumSymbolBody:["members"],EnumBooleanMember:["id","init"],EnumNumberMember:["id","init"],EnumStringMember:["id","init"],EnumDefaultedMember:["id"],IndexedAccessType:["objectType","indexType"],OptionalIndexedAccessType:["objectType","indexType"],JSXAttribute:["name","value"],JSXClosingElement:["name"],JSXElement:["openingElement","children","closingElement"],JSXEmptyExpression:[],JSXExpressionContainer:["expression"],JSXSpreadChild:["expression"],JSXIdentifier:[],JSXMemberExpression:["object","property"],JSXNamespacedName:["namespace","name"],JSXOpeningElement:["name","attributes","typeParameters"],JSXSpreadAttribute:["argument"],JSXText:[],JSXFragment:["openingFragment","children","closingFragment"],JSXOpeningFragment:[],JSXClosingFragment:[],Noop:[],Placeholder:[],V8IntrinsicIdentifier:[],ArgumentPlaceholder:[],BindExpression:["object","callee"],ImportAttribute:["key","value"],Decorator:["expression"],DoExpression:["body"],ExportDefaultSpecifier:["exported"],RecordExpression:["properties"],TupleExpression:["elements"],DecimalLiteral:[],ModuleExpression:["body"],TopicReference:[],PipelineTopicExpression:["expression"],PipelineBareFunction:["callee"],PipelinePrimaryTopicReference:[],TSParameterProperty:["parameter","decorators"],TSDeclareFunction:["id","typeParameters","params","returnType","body"],TSDeclareMethod:["decorators","key","typeParameters","params","returnType"],TSQualifiedName:["left","right"],TSCallSignatureDeclaration:["typeParameters","parameters","typeAnnotation","params","returnType"],TSConstructSignatureDeclaration:["typeParameters","parameters","typeAnnotation","params","returnType"],TSPropertySignature:["key","typeAnnotation"],TSMethodSignature:["key","typeParameters","parameters","typeAnnotation","params","returnType"],TSIndexSignature:["parameters","typeAnnotation"],TSAnyKeyword:[],TSBooleanKeyword:[],TSBigIntKeyword:[],TSIntrinsicKeyword:[],TSNeverKeyword:[],TSNullKeyword:[],TSNumberKeyword:[],TSObjectKeyword:[],TSStringKeyword:[],TSSymbolKeyword:[],TSUndefinedKeyword:[],TSUnknownKeyword:[],TSVoidKeyword:[],TSThisType:[],TSFunctionType:["typeParameters","parameters","typeAnnotation","params","returnType"],TSConstructorType:["typeParameters","parameters","typeAnnotation","params","returnType"],TSTypeReference:["typeName","typeParameters"],TSTypePredicate:["parameterName","typeAnnotation"],TSTypeQuery:["exprName","typeParameters"],TSTypeLiteral:["members"],TSArrayType:["elementType"],TSTupleType:["elementTypes"],TSOptionalType:["typeAnnotation"],TSRestType:["typeAnnotation"],TSNamedTupleMember:["label","elementType"],TSUnionType:["types"],TSIntersectionType:["types"],TSConditionalType:["checkType","extendsType","trueType","falseType"],TSInferType:["typeParameter"],TSParenthesizedType:["typeAnnotation"],TSTypeOperator:["typeAnnotation"],TSIndexedAccessType:["objectType","indexType"],TSMappedType:["typeParameter","typeAnnotation","nameType"],TSLiteralType:["literal"],TSExpressionWithTypeArguments:["expression","typeParameters"],TSInterfaceDeclaration:["id","typeParameters","extends","body"],TSInterfaceBody:["body"],TSTypeAliasDeclaration:["id","typeParameters","typeAnnotation"],TSInstantiationExpression:["expression","typeParameters"],TSAsExpression:["expression","typeAnnotation"],TSSatisfiesExpression:["expression","typeAnnotation"],TSTypeAssertion:["typeAnnotation","expression"],TSEnumDeclaration:["id","members"],TSEnumMember:["id","initializer"],TSModuleDeclaration:["id","body"],TSModuleBlock:["body"],TSImportType:["argument","qualifier","typeParameters","parameter"],TSImportEqualsDeclaration:["id","moduleReference"],TSExternalModuleReference:["expression"],TSNonNullExpression:["expression"],TSExportAssignment:["expression"],TSNamespaceExportDeclaration:["id"],TSTypeAnnotation:["typeAnnotation"],TSTypeParameterInstantiation:["params"],TSTypeParameterDeclaration:["params"],TSTypeParameter:["constraint","default","name"],ChainExpression:["expression"],ExperimentalRestProperty:["argument"],ExperimentalSpreadProperty:["argument"],ImportExpression:["source","attributes"],Literal:[],MethodDefinition:["decorators","key","value"],PrivateIdentifier:[],Property:["key","value"],PropertyDefinition:["decorators","key","typeAnnotation","value","variance"],AccessorProperty:["decorators","key","typeAnnotation","value"],TSAbstractAccessorProperty:["decorators","key","typeAnnotation"],TSAbstractKeyword:[],TSAbstractMethodDefinition:["key","value"],TSAbstractPropertyDefinition:["decorators","key","typeAnnotation"],TSAsyncKeyword:[],TSClassImplements:["expression","typeParameters"],TSDeclareKeyword:[],TSEmptyBodyFunctionExpression:["id","typeParameters","params","returnType"],TSExportKeyword:[],TSInterfaceHeritage:["expression","typeParameters"],TSPrivateKeyword:[],TSProtectedKeyword:[],TSPublicKeyword:[],TSReadonlyKeyword:[],TSStaticKeyword:[],TSTemplateLiteralType:["quasis","types"],BigIntLiteralTypeAnnotation:[],BigIntTypeAnnotation:[],ConditionalTypeAnnotation:["checkType","extendsType","trueType","falseType"],DeclareEnum:["id","body"],InferTypeAnnotation:["typeParameter"],KeyofTypeAnnotation:["argument"],ObjectTypeMappedTypeProperty:["keyTparam","propType","sourceType","variance"],QualifiedTypeofIdentifier:["qualification","id"],TupleTypeLabeledElement:["label","elementType","variance"],TupleTypeSpreadElement:["label","typeAnnotation"],TypePredicate:["parameterName","typeAnnotation","asserts"],NGRoot:["node"],NGPipeExpression:["left","right","arguments"],NGChainedExpression:["expressions"],NGEmptyExpression:[],NGMicrosyntax:["body"],NGMicrosyntaxKey:[],NGMicrosyntaxExpression:["expression","alias"],NGMicrosyntaxKeyedExpression:["key","expression"],NGMicrosyntaxLet:["key","value"],NGMicrosyntaxAs:["key","alias"],JsExpressionRoot:["node"],JsonRoot:["node"],TSJSDocAllType:[],TSJSDocUnknownType:[],TSJSDocNullableType:["typeAnnotation"],TSJSDocNonNullableType:["typeAnnotation"],NeverTypeAnnotation:[],UndefinedTypeAnnotation:[],UnknownTypeAnnotation:[]};var Za=Ti(gi),bi=Za;function hs(a,t){if(!(a!==null&&typeof a=="object"))return a;if(Array.isArray(a)){for(let s=0;s{var o;(o=n.leadingComments)!=null&&o.some(Pi)&&r.add(D(n))}),a=ot(a,n=>{if(n.type==="ParenthesizedExpression"){let{expression:o}=n;if(o.type==="TypeCastExpression")return o.range=n.range,o;let h=D(n);if(!r.has(h))return o.extra={...o.extra,parenthesized:!0},o}})}if(a=ot(a,r=>{switch(r.type){case"LogicalExpression":if(Ai(r))return ls(r);break;case"VariableDeclaration":{let n=as(!1,r.declarations,-1);n!=null&&n.init&&i(r,n);break}case"TSParenthesizedType":return r.typeAnnotation;case"TSTypeParameter":if(typeof r.name=="string"){let n=D(r);r.name={type:"Identifier",name:r.name,range:[n,n+r.name.length]}}break;case"ObjectExpression":if(e==="typescript"){let n=r.properties.find(o=>o.type==="Property"&&o.value.type==="TSEmptyBodyFunctionExpression");n&&ht(n.value,"Unexpected token.")}break;case"TSInterfaceDeclaration":X(r.implements)&&ht(r.implements[0],"Interface declaration cannot have 'implements' clause.");break;case"TSPropertySignature":r.initializer&&ht(r.initializer,"An interface property cannot have an initializer.");break;case"TopicReference":a.extra={...a.extra,__isUsingHackPipeline:!0};break;case"ExportAllDeclaration":{let{exported:n}=r;if(e==="meriyah"&&(n==null?void 0:n.type)==="Identifier"){let o=s.slice(D(n),_(n));(o.startsWith('"')||o.startsWith("'"))&&(r.exported={...r.exported,type:"Literal",value:r.exported.name,raw:o})}break}case"TSUnionType":case"TSIntersectionType":if(r.types.length===1)return r.types[0];break}}),X(a.comments)){let r=as(!1,a.comments,-1);for(let n=a.comments.length-2;n>=0;n--){let o=a.comments[n];_(o)===D(r)&&Be(o)&&Be(r)&&ns(o)&&ns(r)&&(a.comments.splice(n+1,1),o.value+="*//*"+r.value,o.range=[D(o),_(r)]),r=o}}return a.type==="Program"&&(a.range=[0,s.length]),a;function i(r,n){s[_(n)]!==";"&&(r.range=[D(r),_(n)])}}function Ai(a){return a.type==="LogicalExpression"&&a.right.type==="LogicalExpression"&&a.operator===a.right.operator}function ls(a){return Ai(a)?ls({type:"LogicalExpression",operator:a.operator,left:ls({type:"LogicalExpression",operator:a.operator,left:a.left,right:a.right.left,range:[D(a.left),_(a.right.left)]}),right:a.right.right,range:[D(a),_(a)]}):a}var Si=tn;function sn(a){let{filepath:t}=a;if(t){if(t=t.toLowerCase(),t.endsWith(".cjs"))return"script";if(t.endsWith(".mjs"))return"module"}}var Ei=sn;function rn(a,t){let{type:e="JsExpressionRoot",rootMarker:s,text:i}=t,{tokens:r,comments:n}=a;return delete a.tokens,delete a.comments,{tokens:r,comments:n,type:e,node:a,range:[0,i.length],rootMarker:s}}var lt=rn;var Te=a=>xe(cn(a)),an={sourceType:"module",allowImportExportEverywhere:!0,allowReturnOutsideFunction:!0,allowNewTargetOutsideFunction:!0,allowSuperOutsideMethod:!0,allowUndeclaredExports:!0,errorRecovery:!0,createParenthesizedExpressions:!0,plugins:["doExpressions","exportDefaultFrom","functionBind","functionSent","throwExpressions","partialApplication","decorators","decimal","moduleBlocks","asyncDoExpressions","regexpUnicodeSets","destructuringPrivate","decoratorAutoAccessors","importReflection","explicitResourceManagement",["importAttributes",{deprecatedAssertSyntax:!0}]],tokens:!0,ranges:!0},nn=["recordAndTuple",{syntaxType:"hash"}],Ci="v8intrinsic",wi=[["pipelineOperator",{proposal:"hack",topicToken:"%"}],["pipelineOperator",{proposal:"minimal"}],["pipelineOperator",{proposal:"fsharp"}]],R=(a,t=an)=>({...t,plugins:[...t.plugins,...a]}),on=/@(?:no)?flow\b/;function hn(a,t){var i;if((i=t.filepath)!=null&&i.endsWith(".js.flow"))return!0;let e=at(a);e&&(a=a.slice(e.length));let s=hi(a,0);return s!==!1&&(a=a.slice(0,s)),on.test(a)}function ln(a,t,e){let s=a(t,e),i=s.errors.find(r=>!pn.has(r.reasonCode));if(i)throw i;return s}function cn({isExpression:a=!1,optionsCombinations:t}){return(e,s={})=>{if((s.parser==="babel"||s.parser==="__babel_estree")&&hn(e,s))return s.parser="babel-flow",Di.parse(e,s);let i=t;(s.__babelSourceType??Ei(s))==="script"&&(i=i.map(l=>({...l,sourceType:"script"}))),/#[[{]/.test(e)&&(i=i.map(l=>R([nn],l)));let n=/%[A-Z]/.test(e);e.includes("|>")?i=(n?[...wi,Ci]:wi).flatMap(c=>i.map(u=>R([c],u))):n&&(i=i.map(l=>R([Ci],l)));let o=a?ct.parseExpression:ct.parse,h;try{h=si(i.map(l=>()=>ln(o,e,l)))}catch({errors:[l]}){throw Oe(l)}return a&&(h=lt(h,{text:e,rootMarker:s.rootMarker})),Si(h,{parser:"babel",text:e})}}var pn=new Set(["StrictNumericEscape","StrictWith","StrictOctalLiteral","StrictDelete","StrictEvalArguments","StrictEvalArgumentsBinding","StrictFunction","EmptyTypeArguments","EmptyTypeParameters","ConstructorHasTypeParameters","UnsupportedParameterPropertyKind","MixedLabeledAndUnlabeledElements","DuplicateAccessibilityModifier","DecoratorExportClass","ParamDupe","InvalidDecimal","RestTrailingComma","UnsupportedParameterDecorator","UnterminatedJsxContent","UnexpectedReservedWord","ModuleAttributesWithDuplicateKeys","LineTerminatorBeforeArrow","InvalidEscapeSequenceTemplate","NonAbstractClassHasAbstractMethod","OptionalTypeBeforeRequired","PatternIsOptional","OptionalBindingPattern","DeclareClassFieldHasInitializer","TypeImportCannotSpecifyDefaultAndNamed","DeclareFunctionHasImplementation","ConstructorClassField","VarRedeclaration","InvalidPrivateFieldResolution","DuplicateExport"]),Li=[R(["jsx"])],Ii=Te({optionsCombinations:Li}),Ni=Te({optionsCombinations:[R(["jsx","typescript"]),R(["typescript"])]}),ki=Te({isExpression:!0,optionsCombinations:[R(["jsx"])]}),vi=Te({isExpression:!0,optionsCombinations:[R(["typescript"])]}),Di=Te({optionsCombinations:[R(["jsx",["flow",{all:!0,enums:!0}],"flowComments"])]}),un=Te({optionsCombinations:Li.map(a=>R(["estree"],a))}),Mi={babel:Ii,"babel-flow":Di,"babel-ts":Ni,__js_expression:ki,__ts_expression:vi,__vue_expression:ki,__vue_ts_expression:vi,__vue_event_binding:Ii,__vue_ts_event_binding:Ni,__babel_estree:un};var Bi=pt(rs(),1);function Fi(a={}){let{allowComments:t=!0}=a;return function(s){let i;try{i=(0,Bi.parseExpression)(s,{tokens:!0,ranges:!0})}catch(r){throw(r==null?void 0:r.reasonCode)==="MissingPlugin"||(r==null?void 0:r.reasonCode)==="MissingOneOfPlugins"?Oe({message:"Unexpected token",loc:r.loc}):Oe(r)}if(!t&&X(i.comments))throw G(i.comments[0],"Comment");return ge(i),lt(i,{type:"JsonRoot",text:s})}}function G(a,t){let[e,s]=[a.loc.start,a.loc.end].map(({line:i,column:r})=>({line:i,column:r+1}));return Pe(`${t} is not allowed in JSON.`,{loc:{start:e,end:s}})}function ge(a){switch(a.type){case"ArrayExpression":for(let t of a.elements)t!==null&&ge(t);return;case"ObjectExpression":for(let t of a.properties)ge(t);return;case"ObjectProperty":if(a.computed)throw G(a.key,"Computed key");if(a.shorthand)throw G(a.key,"Shorthand property");a.key.type!=="Identifier"&&ge(a.key),ge(a.value);return;case"UnaryExpression":{let{operator:t,argument:e}=a;if(t!=="+"&&t!=="-")throw G(a,`Operator '${a.operator}'`);if(e.type==="NumericLiteral"||e.type==="Identifier"&&(e.name==="Infinity"||e.name==="NaN"))return;throw G(e,`Operator '${t}' before '${e.type}'`)}case"Identifier":if(a.name!=="Infinity"&&a.name!=="NaN"&&a.name!=="undefined")throw G(a,`Identifier '${a.name}'`);return;case"TemplateLiteral":if(X(a.expressions))throw G(a.expressions[0],"'TemplateLiteral' with expression");for(let t of a.quasis)ge(t);return;case"NullLiteral":case"BooleanLiteral":case"NumericLiteral":case"StringLiteral":case"TemplateElement":return;default:throw G(a,`'${a.type}'`)}}var Oi=Fi(),fn={json:xe({parse:Oi,hasPragma(){return!0}}),json5:xe(Oi),"json-stringify":xe({parse:Fi({allowComments:!1}),astFormat:"estree-json"})},_i=fn;var dn={...Mi,..._i};return Ki(mn);}); \ No newline at end of file +`||i==="\r"||i==="\u2028"||i==="\u2029")return t+1}return t}var us=mr;function yr(a,t){return t===!1?!1:a.charAt(t)==="/"&&a.charAt(t+1)==="/"?cs(a,t):t}var fs=yr;function xr(a,t){let e=null,s=t;for(;s!==e;)e=s,s=ls(a,s),s=ps(a,s),s=fs(a,s),s=us(a,s);return s}var ds=xr;function Pr(a){let t=[];for(let e of a)try{return e()}catch(s){t.push(s)}throw Object.assign(new Error("All combinations failed"),{errors:t})}var ms=Pr;function gr(a){if(!a.startsWith("#!"))return"";let t=a.indexOf(` +`);return t===-1?a:a.slice(0,t)}var Fe=gr;var Tr=(a,t,e)=>{if(!(a&&t==null))return Array.isArray(t)||typeof t=="string"?t[e<0?t.length+e:e]:t.at(e)},St=Tr;function br(a){return Array.isArray(a)&&a.length>0}var Pe=br;function D(a){var s,i,r;let t=((s=a.range)==null?void 0:s[0])??a.start,e=(r=((i=a.declaration)==null?void 0:i.decorators)??a.decorators)==null?void 0:r[0];return e?Math.min(D(e),t):t}function B(a){var t;return((t=a.range)==null?void 0:t[1])??a.end}function Ar(a){let t=new Set(a);return e=>t.has(e==null?void 0:e.type)}var ys=Ar;var Sr=ys(["Block","CommentBlock","MultiLine"]),ge=Sr;function wr(a){let t=`*${a.value}*`.split(` +`);return t.length>1&&t.every(e=>e.trimStart()[0]==="*")}var wt=wr;function Cr(a){return ge(a)&&a.value[0]==="*"&&/@(?:type|satisfies)\b/u.test(a.value)}var xs=Cr;var Te=null;function be(a){if(Te!==null&&typeof Te.property){let t=Te;return Te=be.prototype=null,t}return Te=be.prototype=a??Object.create(null),new be}var Er=10;for(let a=0;a<=Er;a++)be();function Ct(a){return be(a)}function Ir(a,t="type"){Ct(a);function e(s){let i=s[t],r=a[i];if(!Array.isArray(r))throw Object.assign(new Error(`Missing visitor keys for '${i}'.`),{node:s});return r}return e}var Ps=Ir;var gs={ArrayExpression:["elements"],AssignmentExpression:["left","right"],BinaryExpression:["left","right"],InterpreterDirective:[],Directive:["value"],DirectiveLiteral:[],BlockStatement:["directives","body"],BreakStatement:["label"],CallExpression:["callee","arguments","typeParameters","typeArguments"],CatchClause:["param","body"],ConditionalExpression:["test","consequent","alternate"],ContinueStatement:["label"],DebuggerStatement:[],DoWhileStatement:["test","body"],EmptyStatement:[],ExpressionStatement:["expression"],File:["program"],ForInStatement:["left","right","body"],ForStatement:["init","test","update","body"],FunctionDeclaration:["id","params","body","returnType","typeParameters","predicate"],FunctionExpression:["id","params","body","returnType","typeParameters"],Identifier:["typeAnnotation","decorators"],IfStatement:["test","consequent","alternate"],LabeledStatement:["label","body"],StringLiteral:[],NumericLiteral:[],NullLiteral:[],BooleanLiteral:[],RegExpLiteral:[],LogicalExpression:["left","right"],MemberExpression:["object","property"],NewExpression:["callee","arguments","typeParameters","typeArguments"],Program:["directives","body"],ObjectExpression:["properties"],ObjectMethod:["key","params","body","decorators","returnType","typeParameters"],ObjectProperty:["key","value","decorators"],RestElement:["argument","typeAnnotation","decorators"],ReturnStatement:["argument"],SequenceExpression:["expressions"],ParenthesizedExpression:["expression"],SwitchCase:["test","consequent"],SwitchStatement:["discriminant","cases"],ThisExpression:[],ThrowStatement:["argument"],TryStatement:["block","handler","finalizer"],UnaryExpression:["argument"],UpdateExpression:["argument"],VariableDeclaration:["declarations"],VariableDeclarator:["id","init"],WhileStatement:["test","body"],WithStatement:["object","body"],AssignmentPattern:["left","right","decorators","typeAnnotation"],ArrayPattern:["elements","typeAnnotation","decorators"],ArrowFunctionExpression:["params","body","returnType","typeParameters","predicate"],ClassBody:["body"],ClassExpression:["id","body","superClass","mixins","typeParameters","superTypeParameters","implements","decorators","superTypeArguments"],ClassDeclaration:["id","body","superClass","mixins","typeParameters","superTypeParameters","implements","decorators","superTypeArguments"],ExportAllDeclaration:["source","attributes","exported"],ExportDefaultDeclaration:["declaration"],ExportNamedDeclaration:["declaration","specifiers","source","attributes"],ExportSpecifier:["local","exported"],ForOfStatement:["left","right","body"],ImportDeclaration:["specifiers","source","attributes"],ImportDefaultSpecifier:["local"],ImportNamespaceSpecifier:["local"],ImportSpecifier:["local","imported"],ImportExpression:["source","options","attributes"],MetaProperty:["meta","property"],ClassMethod:["key","params","body","decorators","returnType","typeParameters"],ObjectPattern:["properties","typeAnnotation","decorators"],SpreadElement:["argument"],Super:[],TaggedTemplateExpression:["tag","quasi","typeParameters","typeArguments"],TemplateElement:[],TemplateLiteral:["quasis","expressions"],YieldExpression:["argument"],AwaitExpression:["argument"],Import:[],BigIntLiteral:[],ExportNamespaceSpecifier:["exported"],OptionalMemberExpression:["object","property"],OptionalCallExpression:["callee","arguments","typeParameters","typeArguments"],ClassProperty:["key","value","typeAnnotation","decorators","variance"],ClassAccessorProperty:["key","value","typeAnnotation","decorators"],ClassPrivateProperty:["key","value","decorators","typeAnnotation","variance"],ClassPrivateMethod:["key","params","body","decorators","returnType","typeParameters"],PrivateName:["id"],StaticBlock:["body"],AnyTypeAnnotation:[],ArrayTypeAnnotation:["elementType"],BooleanTypeAnnotation:[],BooleanLiteralTypeAnnotation:[],NullLiteralTypeAnnotation:[],ClassImplements:["id","typeParameters"],DeclareClass:["id","typeParameters","extends","mixins","implements","body"],DeclareFunction:["id","predicate"],DeclareInterface:["id","typeParameters","extends","body"],DeclareModule:["id","body"],DeclareModuleExports:["typeAnnotation"],DeclareTypeAlias:["id","typeParameters","right"],DeclareOpaqueType:["id","typeParameters","supertype"],DeclareVariable:["id"],DeclareExportDeclaration:["declaration","specifiers","source"],DeclareExportAllDeclaration:["source"],DeclaredPredicate:["value"],ExistsTypeAnnotation:[],FunctionTypeAnnotation:["typeParameters","params","rest","returnType","this"],FunctionTypeParam:["name","typeAnnotation"],GenericTypeAnnotation:["id","typeParameters"],InferredPredicate:[],InterfaceExtends:["id","typeParameters"],InterfaceDeclaration:["id","typeParameters","extends","body"],InterfaceTypeAnnotation:["extends","body"],IntersectionTypeAnnotation:["types"],MixedTypeAnnotation:[],EmptyTypeAnnotation:[],NullableTypeAnnotation:["typeAnnotation"],NumberLiteralTypeAnnotation:[],NumberTypeAnnotation:[],ObjectTypeAnnotation:["properties","indexers","callProperties","internalSlots"],ObjectTypeInternalSlot:["id","value"],ObjectTypeCallProperty:["value"],ObjectTypeIndexer:["id","key","value","variance"],ObjectTypeProperty:["key","value","variance"],ObjectTypeSpreadProperty:["argument"],OpaqueType:["id","typeParameters","supertype","impltype"],QualifiedTypeIdentifier:["id","qualification"],StringLiteralTypeAnnotation:[],StringTypeAnnotation:[],SymbolTypeAnnotation:[],ThisTypeAnnotation:[],TupleTypeAnnotation:["types","elementTypes"],TypeofTypeAnnotation:["argument","typeArguments"],TypeAlias:["id","typeParameters","right"],TypeAnnotation:["typeAnnotation"],TypeCastExpression:["expression","typeAnnotation"],TypeParameter:["bound","default","variance"],TypeParameterDeclaration:["params"],TypeParameterInstantiation:["params"],UnionTypeAnnotation:["types"],Variance:[],VoidTypeAnnotation:[],EnumDeclaration:["id","body"],EnumBooleanBody:["members"],EnumNumberBody:["members"],EnumStringBody:["members"],EnumSymbolBody:["members"],EnumBooleanMember:["id","init"],EnumNumberMember:["id","init"],EnumStringMember:["id","init"],EnumDefaultedMember:["id"],IndexedAccessType:["objectType","indexType"],OptionalIndexedAccessType:["objectType","indexType"],JSXAttribute:["name","value"],JSXClosingElement:["name"],JSXElement:["openingElement","children","closingElement"],JSXEmptyExpression:[],JSXExpressionContainer:["expression"],JSXSpreadChild:["expression"],JSXIdentifier:[],JSXMemberExpression:["object","property"],JSXNamespacedName:["namespace","name"],JSXOpeningElement:["name","attributes","typeArguments","typeParameters"],JSXSpreadAttribute:["argument"],JSXText:[],JSXFragment:["openingFragment","children","closingFragment"],JSXOpeningFragment:[],JSXClosingFragment:[],Noop:[],Placeholder:[],V8IntrinsicIdentifier:[],ArgumentPlaceholder:[],BindExpression:["object","callee"],ImportAttribute:["key","value"],Decorator:["expression"],DoExpression:["body"],ExportDefaultSpecifier:["exported"],RecordExpression:["properties"],TupleExpression:["elements"],DecimalLiteral:[],ModuleExpression:["body"],TopicReference:[],PipelineTopicExpression:["expression"],PipelineBareFunction:["callee"],PipelinePrimaryTopicReference:[],TSParameterProperty:["parameter","decorators"],TSDeclareFunction:["id","typeParameters","params","returnType","body"],TSDeclareMethod:["decorators","key","typeParameters","params","returnType"],TSQualifiedName:["left","right"],TSCallSignatureDeclaration:["typeParameters","parameters","typeAnnotation","params","returnType"],TSConstructSignatureDeclaration:["typeParameters","parameters","typeAnnotation","params","returnType"],TSPropertySignature:["key","typeAnnotation"],TSMethodSignature:["key","typeParameters","parameters","typeAnnotation","params","returnType"],TSIndexSignature:["parameters","typeAnnotation"],TSAnyKeyword:[],TSBooleanKeyword:[],TSBigIntKeyword:[],TSIntrinsicKeyword:[],TSNeverKeyword:[],TSNullKeyword:[],TSNumberKeyword:[],TSObjectKeyword:[],TSStringKeyword:[],TSSymbolKeyword:[],TSUndefinedKeyword:[],TSUnknownKeyword:[],TSVoidKeyword:[],TSThisType:[],TSFunctionType:["typeParameters","parameters","typeAnnotation","params","returnType"],TSConstructorType:["typeParameters","parameters","typeAnnotation","params","returnType"],TSTypeReference:["typeName","typeParameters","typeArguments"],TSTypePredicate:["parameterName","typeAnnotation"],TSTypeQuery:["exprName","typeParameters","typeArguments"],TSTypeLiteral:["members"],TSArrayType:["elementType"],TSTupleType:["elementTypes"],TSOptionalType:["typeAnnotation"],TSRestType:["typeAnnotation"],TSNamedTupleMember:["label","elementType"],TSUnionType:["types"],TSIntersectionType:["types"],TSConditionalType:["checkType","extendsType","trueType","falseType"],TSInferType:["typeParameter"],TSParenthesizedType:["typeAnnotation"],TSTypeOperator:["typeAnnotation"],TSIndexedAccessType:["objectType","indexType"],TSMappedType:["typeParameter","typeAnnotation","nameType"],TSLiteralType:["literal"],TSExpressionWithTypeArguments:["expression","typeParameters"],TSInterfaceDeclaration:["id","typeParameters","extends","body"],TSInterfaceBody:["body"],TSTypeAliasDeclaration:["id","typeParameters","typeAnnotation"],TSInstantiationExpression:["expression","typeParameters","typeArguments"],TSAsExpression:["expression","typeAnnotation"],TSSatisfiesExpression:["expression","typeAnnotation"],TSTypeAssertion:["typeAnnotation","expression"],TSEnumDeclaration:["id","members"],TSEnumMember:["id","initializer"],TSModuleDeclaration:["id","body"],TSModuleBlock:["body"],TSImportType:["argument","qualifier","typeParameters","typeArguments"],TSImportEqualsDeclaration:["id","moduleReference"],TSExternalModuleReference:["expression"],TSNonNullExpression:["expression"],TSExportAssignment:["expression"],TSNamespaceExportDeclaration:["id"],TSTypeAnnotation:["typeAnnotation"],TSTypeParameterInstantiation:["params"],TSTypeParameterDeclaration:["params"],TSTypeParameter:["constraint","default","name"],ChainExpression:["expression"],ExperimentalRestProperty:["argument"],ExperimentalSpreadProperty:["argument"],Literal:[],MethodDefinition:["decorators","key","value"],PrivateIdentifier:[],Property:["key","value"],PropertyDefinition:["decorators","key","typeAnnotation","value","variance"],AccessorProperty:["decorators","key","typeAnnotation","value"],TSAbstractAccessorProperty:["decorators","key","typeAnnotation"],TSAbstractKeyword:[],TSAbstractMethodDefinition:["key","value"],TSAbstractPropertyDefinition:["decorators","key","typeAnnotation"],TSAsyncKeyword:[],TSClassImplements:["expression","typeArguments","typeParameters"],TSDeclareKeyword:[],TSEmptyBodyFunctionExpression:["id","typeParameters","params","returnType"],TSEnumBody:["members"],TSExportKeyword:[],TSInterfaceHeritage:["expression","typeArguments","typeParameters"],TSPrivateKeyword:[],TSProtectedKeyword:[],TSPublicKeyword:[],TSReadonlyKeyword:[],TSStaticKeyword:[],TSTemplateLiteralType:["quasis","types"],AsConstExpression:["expression"],AsExpression:["expression","typeAnnotation"],BigIntLiteralTypeAnnotation:[],BigIntTypeAnnotation:[],ComponentDeclaration:["id","params","body","typeParameters","rendersType"],ComponentParameter:["name","local"],ComponentTypeAnnotation:["params","rest","typeParameters","rendersType"],ComponentTypeParameter:["name","typeAnnotation"],ConditionalTypeAnnotation:["checkType","extendsType","trueType","falseType"],DeclareComponent:["id","params","rest","typeParameters","rendersType"],DeclareEnum:["id","body"],DeclareHook:["id"],DeclareNamespace:["id","body"],EnumBigIntBody:["members"],EnumBigIntMember:["id","init"],HookDeclaration:["id","params","body","typeParameters","returnType"],HookTypeAnnotation:["params","returnType","rest","typeParameters"],InferTypeAnnotation:["typeParameter"],KeyofTypeAnnotation:["argument"],ObjectTypeMappedTypeProperty:["keyTparam","propType","sourceType","variance"],QualifiedTypeofIdentifier:["qualification","id"],TupleTypeLabeledElement:["label","elementType","variance"],TupleTypeSpreadElement:["label","typeAnnotation"],TypeOperator:["typeAnnotation"],TypePredicate:["parameterName","typeAnnotation","asserts"],NGRoot:["node"],NGPipeExpression:["left","right","arguments"],NGChainedExpression:["expressions"],NGEmptyExpression:[],NGMicrosyntax:["body"],NGMicrosyntaxKey:[],NGMicrosyntaxExpression:["expression","alias"],NGMicrosyntaxKeyedExpression:["key","expression"],NGMicrosyntaxLet:["key","value"],NGMicrosyntaxAs:["key","alias"],JsExpressionRoot:["node"],JsonRoot:["node"],TSJSDocAllType:[],TSJSDocUnknownType:[],TSJSDocNullableType:["typeAnnotation"],TSJSDocNonNullableType:["typeAnnotation"],NeverTypeAnnotation:[],UndefinedTypeAnnotation:[],UnknownTypeAnnotation:[],SatisfiesExpression:["expression","typeAnnotation"]};var Nr=Ps(gs),Ts=Nr;function Et(a,t){if(!(a!==null&&typeof a=="object"))return a;if(Array.isArray(a)){for(let s=0;s{var n;(n=r.leadingComments)!=null&&n.some(xs)&&i.add(D(r))}),a=Be(a,r=>{if(r.type==="ParenthesizedExpression"){let{expression:n}=r;if(n.type==="TypeCastExpression")return n.range=[...r.range],n;let o=D(r);if(!i.has(o))return n.extra={...n.extra,parenthesized:!0},n}})}if(a=Be(a,i=>{var r;switch(i.type){case"LogicalExpression":if(bs(i))return It(i);break;case"VariableDeclaration":{let n=St(!1,i.declarations,-1);n!=null&&n.init&&s[B(n)]!==";"&&(i.range=[D(i),B(n)]);break}case"TSParenthesizedType":return i.typeAnnotation;case"TSTypeParameter":if(typeof i.name=="string"){let n=D(i);i.name={type:"Identifier",name:i.name,range:[n,n+i.name.length]}}break;case"TopicReference":a.extra={...a.extra,__isUsingHackPipeline:!0};break;case"ExportAllDeclaration":if(e==="meriyah"&&((r=i.exported)==null?void 0:r.type)==="Identifier"){let{exported:n}=i,o=s.slice(D(n),B(n));(o.startsWith('"')||o.startsWith("'"))&&(i.exported={...i.exported,type:"Literal",value:i.exported.name,raw:o})}break;case"TSUnionType":case"TSIntersectionType":if(i.types.length===1)return i.types[0];break}}),Pe(a.comments)){let i=St(!1,a.comments,-1);for(let r=a.comments.length-2;r>=0;r--){let n=a.comments[r];B(n)===D(i)&&ge(n)&&ge(i)&&wt(n)&&wt(i)&&(a.comments.splice(r+1,1),n.value+="*//*"+i.value,n.range=[D(n),B(i)]),i=n}}return a.type==="Program"&&(a.range=[0,s.length]),a}function bs(a){return a.type==="LogicalExpression"&&a.right.type==="LogicalExpression"&&a.operator===a.right.operator}function It(a){return bs(a)?It({type:"LogicalExpression",operator:a.operator,left:It({type:"LogicalExpression",operator:a.operator,left:a.left,right:a.right.left,range:[D(a.left),B(a.right.left)]}),right:a.right.right,range:[D(a),B(a)]}):a}var As=kr;function vr(a,t){let e=new SyntaxError(a+" ("+t.loc.start.line+":"+t.loc.start.column+")");return Object.assign(e,t)}var Re=vr;function Lr(a){let{message:t,loc:{line:e,column:s},reasonCode:i}=a,r=a;(i==="MissingPlugin"||i==="MissingOneOfPlugins")&&(t="Unexpected token.",r=void 0);let n=` (${e}:${s})`;return t.endsWith(n)&&(t=t.slice(0,-n.length)),Re(t,{loc:{start:{line:e,column:s+1}},cause:r})}var Ue=Lr;var Dr=(a,t,e,s)=>{if(!(a&&t==null))return t.replaceAll?t.replaceAll(e,s):e.global?t.replace(e,s):t.split(e).join(s)},ie=Dr;var Mr=/\*\/$/,Or=/^\/\*\*?/,Fr=/^\s*(\/\*\*?(.|\r?\n)*?\*\/)/,Br=/(^|\s+)\/\/([^\n\r]*)/g,Ss=/^(\r?\n)+/,Rr=/(?:^|\r?\n) *(@[^\n\r]*?) *\r?\n *(?![^\n\r@]*\/\/[^]*)([^\s@][^\n\r@]+?) *\r?\n/g,ws=/(?:^|\r?\n) *@(\S+) *([^\n\r]*)/g,Ur=/(\r?\n|^) *\* ?/g,_r=[];function Cs(a){let t=a.match(Fr);return t?t[0].trimStart():""}function Es(a){let t=` +`;a=ie(!1,a.replace(Or,"").replace(Mr,""),Ur,"$1");let e="";for(;e!==a;)e=a,a=ie(!1,a,Rr,`${t}$1 $2${t}`);a=a.replace(Ss,"").trimEnd();let s=Object.create(null),i=ie(!1,a,ws,"").replace(Ss,"").trimEnd(),r;for(;r=ws.exec(a);){let n=ie(!1,r[2],Br,"");if(typeof s[r[1]]=="string"||Array.isArray(s[r[1]])){let o=s[r[1]];s[r[1]]=[..._r,...Array.isArray(o)?o:[o],n]}else s[r[1]]=n}return{comments:i,pragmas:s}}function jr(a){let t=Fe(a);t&&(a=a.slice(t.length+1));let e=Cs(a),{pragmas:s,comments:i}=Es(e);return{shebang:t,text:a,pragmas:s,comments:i}}function Is(a){let{pragmas:t}=jr(a);return Object.prototype.hasOwnProperty.call(t,"prettier")||Object.prototype.hasOwnProperty.call(t,"format")}function $r(a){return a=typeof a=="function"?{parse:a}:a,{astFormat:"estree",hasPragma:Is,locStart:D,locEnd:B,...a}}var G=$r;function Vr(a){let{filepath:t}=a;if(t){if(t=t.toLowerCase(),t.endsWith(".cjs"))return"script";if(t.endsWith(".mjs"))return"module"}}var Ns=Vr;function qr(a,t){let{type:e="JsExpressionRoot",rootMarker:s,text:i}=t,{tokens:r,comments:n}=a;return delete a.tokens,delete a.comments,{tokens:r,comments:n,type:e,node:a,range:[0,i.length],rootMarker:s}}var _e=qr;var re=a=>G(Jr(a)),zr={sourceType:"module",allowImportExportEverywhere:!0,allowReturnOutsideFunction:!0,allowNewTargetOutsideFunction:!0,allowSuperOutsideMethod:!0,allowUndeclaredExports:!0,errorRecovery:!0,createParenthesizedExpressions:!0,createImportExpressions:!0,plugins:["doExpressions","exportDefaultFrom","functionBind","functionSent","throwExpressions","partialApplication","decorators","decimal","moduleBlocks","asyncDoExpressions","destructuringPrivate","decoratorAutoAccessors","importReflection","explicitResourceManagement",["importAttributes",{deprecatedAssertSyntax:!0}],"sourcePhaseImports","deferredImportEvaluation",["optionalChainingAssign",{version:"2023-07"}],"recordAndTuple"],tokens:!0,ranges:!0},ks="v8intrinsic",vs=[["pipelineOperator",{proposal:"hack",topicToken:"%"}],["pipelineOperator",{proposal:"minimal"}],["pipelineOperator",{proposal:"fsharp"}]],V=(a,t=zr)=>({...t,plugins:[...t.plugins,...a]}),Kr=/@(?:no)?flow\b/u;function Hr(a,t){var i;if((i=t.filepath)!=null&&i.endsWith(".js.flow"))return!0;let e=Fe(a);e&&(a=a.slice(e.length));let s=ds(a,0);return s!==!1&&(a=a.slice(0,s)),Kr.test(a)}function Wr(a,t,e){let s=a(t,e),i=s.errors.find(r=>!Xr.has(r.reasonCode));if(i)throw i;return s}function Jr({isExpression:a=!1,optionsCombinations:t}){return(e,s={})=>{if((s.parser==="babel"||s.parser==="__babel_estree")&&Hr(e,s))return s.parser="babel-flow",Bs.parse(e,s);let i=t;(s.__babelSourceType??Ns(s))==="script"&&(i=i.map(c=>({...c,sourceType:"script"})));let n=/%[A-Z]/u.test(e);e.includes("|>")?i=(n?[...vs,ks]:vs).flatMap(l=>i.map(u=>V([l],u))):n&&(i=i.map(c=>V([ks],c)));let o=a?je.parseExpression:je.parse,h;try{h=ms(i.map(c=>()=>Wr(o,e,c)))}catch({errors:[c]}){throw Ue(c)}return a&&(h=_e(h,{text:e,rootMarker:s.rootMarker})),As(h,{parser:"babel",text:e})}}var Xr=new Set(["StrictNumericEscape","StrictWith","StrictOctalLiteral","StrictDelete","StrictEvalArguments","StrictEvalArgumentsBinding","StrictFunction","ForInOfLoopInitializer","EmptyTypeArguments","EmptyTypeParameters","ConstructorHasTypeParameters","UnsupportedParameterPropertyKind","DecoratorExportClass","ParamDupe","InvalidDecimal","RestTrailingComma","UnsupportedParameterDecorator","UnterminatedJsxContent","UnexpectedReservedWord","ModuleAttributesWithDuplicateKeys","LineTerminatorBeforeArrow","InvalidEscapeSequenceTemplate","NonAbstractClassHasAbstractMethod","OptionalTypeBeforeRequired","PatternIsOptional","OptionalBindingPattern","DeclareClassFieldHasInitializer","TypeImportCannotSpecifyDefaultAndNamed","ConstructorClassField","VarRedeclaration","InvalidPrivateFieldResolution","DuplicateExport"]),Fs=[V(["jsx"])],Ls=re({optionsCombinations:Fs}),Ds=re({optionsCombinations:[V(["jsx","typescript"]),V(["typescript"])]}),Ms=re({isExpression:!0,optionsCombinations:[V(["jsx"])]}),Os=re({isExpression:!0,optionsCombinations:[V(["typescript"])]}),Bs=re({optionsCombinations:[V(["jsx",["flow",{all:!0,enums:!0}],"flowComments"])]}),Gr=re({optionsCombinations:Fs.map(a=>V(["estree"],a))}),Rs={babel:Ls,"babel-flow":Bs,"babel-ts":Ds,__js_expression:Ms,__ts_expression:Os,__vue_expression:Ms,__vue_ts_expression:Os,__vue_event_binding:Ls,__vue_ts_event_binding:Ds,__babel_estree:Gr};var Us=vt(At(),1);function _s(a={}){let{allowComments:t=!0}=a;return function(s){let i;try{i=(0,Us.parseExpression)(s,{tokens:!0,ranges:!0,attachComment:!1})}catch(r){throw Ue(r)}if(!t&&Pe(i.comments))throw H(i.comments[0],"Comment");return ae(i),_e(i,{type:"JsonRoot",text:s})}}function H(a,t){let[e,s]=[a.loc.start,a.loc.end].map(({line:i,column:r})=>({line:i,column:r+1}));return Re(`${t} is not allowed in JSON.`,{loc:{start:e,end:s}})}function ae(a){switch(a.type){case"ArrayExpression":for(let t of a.elements)t!==null&&ae(t);return;case"ObjectExpression":for(let t of a.properties)ae(t);return;case"ObjectProperty":if(a.computed)throw H(a.key,"Computed key");if(a.shorthand)throw H(a.key,"Shorthand property");a.key.type!=="Identifier"&&ae(a.key),ae(a.value);return;case"UnaryExpression":{let{operator:t,argument:e}=a;if(t!=="+"&&t!=="-")throw H(a,`Operator '${a.operator}'`);if(e.type==="NumericLiteral"||e.type==="Identifier"&&(e.name==="Infinity"||e.name==="NaN"))return;throw H(e,`Operator '${t}' before '${e.type}'`)}case"Identifier":if(a.name!=="Infinity"&&a.name!=="NaN"&&a.name!=="undefined")throw H(a,`Identifier '${a.name}'`);return;case"TemplateLiteral":if(Pe(a.expressions))throw H(a.expressions[0],"'TemplateLiteral' with expression");for(let t of a.quasis)ae(t);return;case"NullLiteral":case"BooleanLiteral":case"NumericLiteral":case"StringLiteral":case"TemplateElement":return;default:throw H(a,`'${a.type}'`)}}var Nt=_s(),Yr={json:G({parse:Nt,hasPragma(){return!0}}),json5:G(Nt),jsonc:G(Nt),"json-stringify":G({parse:_s({allowComments:!1}),astFormat:"estree-json"})},js=Yr;var Qr={...Rs,...js};return Js(Zr);}); \ No newline at end of file diff --git a/node_modules/prettier/plugins/babel.mjs b/node_modules/prettier/plugins/babel.mjs index 4e3114c9c9..34e9747e2e 100644 --- a/node_modules/prettier/plugins/babel.mjs +++ b/node_modules/prettier/plugins/babel.mjs @@ -1,16 +1,15 @@ -var Ri=Object.create;var ct=Object.defineProperty;var Ui=Object.getOwnPropertyDescriptor;var ji=Object.getOwnPropertyNames;var $i=Object.getPrototypeOf,Vi=Object.prototype.hasOwnProperty;var ps=(a,t)=>()=>(t||a((t={exports:{}}).exports,t),t.exports),zi=(a,t)=>{for(var e in t)ct(a,e,{get:t[e],enumerable:!0})},Ki=(a,t,e,s)=>{if(t&&typeof t=="object"||typeof t=="function")for(let i of ji(t))!Vi.call(a,i)&&i!==e&&ct(a,i,{get:()=>t[i],enumerable:!(s=Ui(t,i))||s.enumerable});return a};var pt=(a,t,e)=>(e=a!=null?Ri($i(a)):{},Ki(t||!a||!a.__esModule?ct(e,"default",{value:a,enumerable:!0}):e,a));var rs=ps(Me=>{"use strict";Object.defineProperty(Me,"__esModule",{value:!0});function He(a,t){if(a==null)return{};var e={},s=Object.keys(a),i,r;for(r=0;r=0)&&(e[i]=a[i]);return e}var B=class{constructor(t,e,s){this.line=void 0,this.column=void 0,this.index=void 0,this.line=t,this.column=e,this.index=s}},fe=class{constructor(t,e){this.start=void 0,this.end=void 0,this.filename=void 0,this.identifierName=void 0,this.start=t,this.end=e}};function L(a,t){let{line:e,column:s,index:i}=a;return new B(e,s+t,i+t)}var Pt={SyntaxError:"BABEL_PARSER_SYNTAX_ERROR",SourceTypeModuleError:"BABEL_PARSER_SOURCETYPE_MODULE_REQUIRED"},qi=(a,t=a.length-1)=>({get(){return a.reduce((e,s)=>e[s],this)},set(e){a.reduce((s,i,r)=>r===t?s[i]=e:s[i],this)}}),Hi=(a,t,e)=>Object.keys(e).map(s=>[s,e[s]]).filter(([,s])=>!!s).map(([s,i])=>[s,typeof i=="function"?{value:i,enumerable:!1}:typeof i.reflect=="string"?Object.assign({},i,qi(i.reflect.split("."))):i]).reduce((s,[i,r])=>Object.defineProperty(s,i,Object.assign({configurable:!0},r)),Object.assign(new a,t)),Wi={ImportMetaOutsideModule:{message:`import.meta may appear only with 'sourceType: "module"'`,code:Pt.SourceTypeModuleError},ImportOutsideModule:{message:`'import' and 'export' may appear only with 'sourceType: "module"'`,code:Pt.SourceTypeModuleError}},us={ArrayPattern:"array destructuring pattern",AssignmentExpression:"assignment expression",AssignmentPattern:"assignment expression",ArrowFunctionExpression:"arrow function expression",ConditionalExpression:"conditional expression",CatchClause:"catch clause",ForOfStatement:"for-of statement",ForInStatement:"for-in statement",ForStatement:"for-loop",FormalParameters:"function parameter list",Identifier:"identifier",ImportSpecifier:"import specifier",ImportDefaultSpecifier:"import default specifier",ImportNamespaceSpecifier:"import namespace specifier",ObjectPattern:"object destructuring pattern",ParenthesizedExpression:"parenthesized expression",RestElement:"rest element",UpdateExpression:{true:"prefix operation",false:"postfix operation"},VariableDeclarator:"variable declaration",YieldExpression:"yield expression"},Tt=({type:a,prefix:t})=>a==="UpdateExpression"?us.UpdateExpression[String(t)]:us[a],Ji={AccessorIsGenerator:({kind:a})=>`A ${a}ter cannot be a generator.`,ArgumentsInClass:"'arguments' is only allowed in functions and class methods.",AsyncFunctionInSingleStatementContext:"Async functions can only be declared at the top level or inside a block.",AwaitBindingIdentifier:"Can not use 'await' as identifier inside an async function.",AwaitBindingIdentifierInStaticBlock:"Can not use 'await' as identifier inside a static block.",AwaitExpressionFormalParameter:"'await' is not allowed in async function parameters.",AwaitUsingNotInAsyncContext:"'await using' is only allowed within async functions and at the top levels of modules.",AwaitNotInAsyncContext:"'await' is only allowed within async functions and at the top levels of modules.",AwaitNotInAsyncFunction:"'await' is only allowed within async functions.",BadGetterArity:"A 'get' accessor must not have any formal parameters.",BadSetterArity:"A 'set' accessor must have exactly one formal parameter.",BadSetterRestParameter:"A 'set' accessor function argument must not be a rest parameter.",ConstructorClassField:"Classes may not have a field named 'constructor'.",ConstructorClassPrivateField:"Classes may not have a private field named '#constructor'.",ConstructorIsAccessor:"Class constructor may not be an accessor.",ConstructorIsAsync:"Constructor can't be an async function.",ConstructorIsGenerator:"Constructor can't be a generator.",DeclarationMissingInitializer:({kind:a})=>`Missing initializer in ${a} declaration.`,DecoratorArgumentsOutsideParentheses:"Decorator arguments must be moved inside parentheses: use '@(decorator(args))' instead of '@(decorator)(args)'.",DecoratorBeforeExport:"Decorators must be placed *before* the 'export' keyword. Remove the 'decoratorsBeforeExport: true' option to use the 'export @decorator class {}' syntax.",DecoratorsBeforeAfterExport:"Decorators can be placed *either* before or after the 'export' keyword, but not in both locations at the same time.",DecoratorConstructor:"Decorators can't be used with a constructor. Did you mean '@dec class { ... }'?",DecoratorExportClass:"Decorators must be placed *after* the 'export' keyword. Remove the 'decoratorsBeforeExport: false' option to use the '@decorator export class {}' syntax.",DecoratorSemicolon:"Decorators must not be followed by a semicolon.",DecoratorStaticBlock:"Decorators can't be used with a static block.",DeletePrivateField:"Deleting a private field is not allowed.",DestructureNamedImport:"ES2015 named imports do not destructure. Use another statement for destructuring after the import.",DuplicateConstructor:"Duplicate constructor in the same class.",DuplicateDefaultExport:"Only one default export allowed per module.",DuplicateExport:({exportName:a})=>`\`${a}\` has already been exported. Exported identifiers must be unique.`,DuplicateProto:"Redefinition of __proto__ property.",DuplicateRegExpFlags:"Duplicate regular expression flag.",ElementAfterRest:"Rest element must be last element.",EscapedCharNotAnIdentifier:"Invalid Unicode escape.",ExportBindingIsString:({localName:a,exportName:t})=>`A string literal cannot be used as an exported binding without \`from\`. +var $s=Object.create;var je=Object.defineProperty;var Vs=Object.getOwnPropertyDescriptor;var qs=Object.getOwnPropertyNames;var zs=Object.getPrototypeOf,Ks=Object.prototype.hasOwnProperty;var Hs=(a,t)=>()=>(t||a((t={exports:{}}).exports,t),t.exports),Ws=(a,t)=>{for(var e in t)je(a,e,{get:t[e],enumerable:!0})},Js=(a,t,e,s)=>{if(t&&typeof t=="object"||typeof t=="function")for(let i of qs(t))!Ks.call(a,i)&&i!==e&&je(a,i,{get:()=>t[i],enumerable:!(s=Vs(t,i))||s.enumerable});return a};var vt=(a,t,e)=>(e=a!=null?$s(zs(a)):{},Js(t||!a||!a.__esModule?je(e,"default",{value:a,enumerable:!0}):e,a));var At=Hs(xe=>{"use strict";Object.defineProperty(xe,"__esModule",{value:!0});function Ht(a,t){if(a==null)return{};var e={},s=Object.keys(a),i,r;for(r=0;r=0)&&(e[i]=a[i]);return e}var F=class{constructor(t,e,s){this.line=void 0,this.column=void 0,this.index=void 0,this.line=t,this.column=e,this.index=s}},ee=class{constructor(t,e){this.start=void 0,this.end=void 0,this.filename=void 0,this.identifierName=void 0,this.start=t,this.end=e}};function v(a,t){let{line:e,column:s,index:i}=a;return new F(e,s+t,i+t)}var Lt="BABEL_PARSER_SOURCETYPE_MODULE_REQUIRED",Xs={ImportMetaOutsideModule:{message:`import.meta may appear only with 'sourceType: "module"'`,code:Lt},ImportOutsideModule:{message:`'import' and 'export' may appear only with 'sourceType: "module"'`,code:Lt}},Dt={ArrayPattern:"array destructuring pattern",AssignmentExpression:"assignment expression",AssignmentPattern:"assignment expression",ArrowFunctionExpression:"arrow function expression",ConditionalExpression:"conditional expression",CatchClause:"catch clause",ForOfStatement:"for-of statement",ForInStatement:"for-in statement",ForStatement:"for-loop",FormalParameters:"function parameter list",Identifier:"identifier",ImportSpecifier:"import specifier",ImportDefaultSpecifier:"import default specifier",ImportNamespaceSpecifier:"import namespace specifier",ObjectPattern:"object destructuring pattern",ParenthesizedExpression:"parenthesized expression",RestElement:"rest element",UpdateExpression:{true:"prefix operation",false:"postfix operation"},VariableDeclarator:"variable declaration",YieldExpression:"yield expression"},Ce=a=>a.type==="UpdateExpression"?Dt.UpdateExpression[`${a.prefix}`]:Dt[a.type],Gs={AccessorIsGenerator:({kind:a})=>`A ${a}ter cannot be a generator.`,ArgumentsInClass:"'arguments' is only allowed in functions and class methods.",AsyncFunctionInSingleStatementContext:"Async functions can only be declared at the top level or inside a block.",AwaitBindingIdentifier:"Can not use 'await' as identifier inside an async function.",AwaitBindingIdentifierInStaticBlock:"Can not use 'await' as identifier inside a static block.",AwaitExpressionFormalParameter:"'await' is not allowed in async function parameters.",AwaitUsingNotInAsyncContext:"'await using' is only allowed within async functions and at the top levels of modules.",AwaitNotInAsyncContext:"'await' is only allowed within async functions and at the top levels of modules.",AwaitNotInAsyncFunction:"'await' is only allowed within async functions.",BadGetterArity:"A 'get' accessor must not have any formal parameters.",BadSetterArity:"A 'set' accessor must have exactly one formal parameter.",BadSetterRestParameter:"A 'set' accessor function argument must not be a rest parameter.",ConstructorClassField:"Classes may not have a field named 'constructor'.",ConstructorClassPrivateField:"Classes may not have a private field named '#constructor'.",ConstructorIsAccessor:"Class constructor may not be an accessor.",ConstructorIsAsync:"Constructor can't be an async function.",ConstructorIsGenerator:"Constructor can't be a generator.",DeclarationMissingInitializer:({kind:a})=>`Missing initializer in ${a} declaration.`,DecoratorArgumentsOutsideParentheses:"Decorator arguments must be moved inside parentheses: use '@(decorator(args))' instead of '@(decorator)(args)'.",DecoratorBeforeExport:"Decorators must be placed *before* the 'export' keyword. Remove the 'decoratorsBeforeExport: true' option to use the 'export @decorator class {}' syntax.",DecoratorsBeforeAfterExport:"Decorators can be placed *either* before or after the 'export' keyword, but not in both locations at the same time.",DecoratorConstructor:"Decorators can't be used with a constructor. Did you mean '@dec class { ... }'?",DecoratorExportClass:"Decorators must be placed *after* the 'export' keyword. Remove the 'decoratorsBeforeExport: false' option to use the '@decorator export class {}' syntax.",DecoratorSemicolon:"Decorators must not be followed by a semicolon.",DecoratorStaticBlock:"Decorators can't be used with a static block.",DeferImportRequiresNamespace:'Only `import defer * as x from "./module"` is valid.',DeletePrivateField:"Deleting a private field is not allowed.",DestructureNamedImport:"ES2015 named imports do not destructure. Use another statement for destructuring after the import.",DuplicateConstructor:"Duplicate constructor in the same class.",DuplicateDefaultExport:"Only one default export allowed per module.",DuplicateExport:({exportName:a})=>`\`${a}\` has already been exported. Exported identifiers must be unique.`,DuplicateProto:"Redefinition of __proto__ property.",DuplicateRegExpFlags:"Duplicate regular expression flag.",DynamicImportPhaseRequiresImportExpressions:({phase:a})=>`'import.${a}(...)' can only be parsed when using the 'createImportExpressions' option.`,ElementAfterRest:"Rest element must be last element.",EscapedCharNotAnIdentifier:"Invalid Unicode escape.",ExportBindingIsString:({localName:a,exportName:t})=>`A string literal cannot be used as an exported binding without \`from\`. - Did you mean \`export { '${a}' as '${t}' } from 'some-module'\`?`,ExportDefaultFromAsIdentifier:"'from' is not allowed as an identifier after 'export default'.",ForInOfLoopInitializer:({type:a})=>`'${a==="ForInStatement"?"for-in":"for-of"}' loop variable declaration may not have an initializer.`,ForInUsing:"For-in loop may not start with 'using' declaration.",ForOfAsync:"The left-hand side of a for-of loop may not be 'async'.",ForOfLet:"The left-hand side of a for-of loop may not start with 'let'.",GeneratorInSingleStatementContext:"Generators can only be declared at the top level or inside a block.",IllegalBreakContinue:({type:a})=>`Unsyntactic ${a==="BreakStatement"?"break":"continue"}.`,IllegalLanguageModeDirective:"Illegal 'use strict' directive in function with non-simple parameter list.",IllegalReturn:"'return' outside of function.",ImportAttributesUseAssert:"The `assert` keyword in import attributes is deprecated and it has been replaced by the `with` keyword. You can enable the `deprecatedAssertSyntax: true` option in the import attributes plugin to suppress this error.",ImportBindingIsString:({importName:a})=>`A string literal cannot be used as an imported binding. -- Did you mean \`import { "${a}" as foo }\`?`,ImportCallArgumentTrailingComma:"Trailing comma is disallowed inside import(...) arguments.",ImportCallArity:({maxArgumentCount:a})=>`\`import()\` requires exactly ${a===1?"one argument":"one or two arguments"}.`,ImportCallNotNewExpression:"Cannot use new with import(...).",ImportCallSpreadArgument:"`...` is not allowed in `import()`.",ImportJSONBindingNotDefault:"A JSON module can only be imported with `default`.",ImportReflectionHasAssertion:"`import module x` cannot have assertions.",ImportReflectionNotBinding:'Only `import module x from "./module"` is valid.',IncompatibleRegExpUVFlags:"The 'u' and 'v' regular expression flags cannot be enabled at the same time.",InvalidBigIntLiteral:"Invalid BigIntLiteral.",InvalidCodePoint:"Code point out of bounds.",InvalidCoverInitializedName:"Invalid shorthand property initializer.",InvalidDecimal:"Invalid decimal.",InvalidDigit:({radix:a})=>`Expected number in radix ${a}.`,InvalidEscapeSequence:"Bad character escape sequence.",InvalidEscapeSequenceTemplate:"Invalid escape sequence in template.",InvalidEscapedReservedWord:({reservedWord:a})=>`Escape sequence in keyword ${a}.`,InvalidIdentifier:({identifierName:a})=>`Invalid identifier ${a}.`,InvalidLhs:({ancestor:a})=>`Invalid left-hand side in ${Tt(a)}.`,InvalidLhsBinding:({ancestor:a})=>`Binding invalid left-hand side in ${Tt(a)}.`,InvalidNumber:"Invalid number.",InvalidOrMissingExponent:"Floating-point numbers require a valid exponent after the 'e'.",InvalidOrUnexpectedToken:({unexpected:a})=>`Unexpected character '${a}'.`,InvalidParenthesizedAssignment:"Invalid parenthesized assignment pattern.",InvalidPrivateFieldResolution:({identifierName:a})=>`Private name #${a} is not defined.`,InvalidPropertyBindingPattern:"Binding member expression.",InvalidRecordProperty:"Only properties and spread elements are allowed in record definitions.",InvalidRestAssignmentPattern:"Invalid rest operator's argument.",LabelRedeclaration:({labelName:a})=>`Label '${a}' is already declared.`,LetInLexicalBinding:"'let' is not allowed to be used as a name in 'let' or 'const' declarations.",LineTerminatorBeforeArrow:"No line break is allowed before '=>'.",MalformedRegExpFlags:"Invalid regular expression flag.",MissingClassName:"A class name is required.",MissingEqInAssignment:"Only '=' operator can be used for specifying default value.",MissingSemicolon:"Missing semicolon.",MissingPlugin:({missingPlugin:a})=>`This experimental syntax requires enabling the parser plugin: ${a.map(t=>JSON.stringify(t)).join(", ")}.`,MissingOneOfPlugins:({missingPlugin:a})=>`This experimental syntax requires enabling one of the following parser plugin(s): ${a.map(t=>JSON.stringify(t)).join(", ")}.`,MissingUnicodeEscape:"Expecting Unicode escape sequence \\uXXXX.",MixingCoalesceWithLogical:"Nullish coalescing operator(??) requires parens when mixing with logical operators.",ModuleAttributeDifferentFromType:"The only accepted module attribute is `type`.",ModuleAttributeInvalidValue:"Only string literals are allowed as module attribute values.",ModuleAttributesWithDuplicateKeys:({key:a})=>`Duplicate key "${a}" is not allowed in module attributes.`,ModuleExportNameHasLoneSurrogate:({surrogateCharCode:a})=>`An export name cannot include a lone surrogate, found '\\u${a.toString(16)}'.`,ModuleExportUndefined:({localName:a})=>`Export '${a}' is not defined.`,MultipleDefaultsInSwitch:"Multiple default clauses.",NewlineAfterThrow:"Illegal newline after throw.",NoCatchOrFinally:"Missing catch or finally clause.",NumberIdentifier:"Identifier directly after number.",NumericSeparatorInEscapeSequence:"Numeric separators are not allowed inside unicode escape sequences or hex escape sequences.",ObsoleteAwaitStar:"'await*' has been removed from the async functions proposal. Use Promise.all() instead.",OptionalChainingNoNew:"Constructors in/after an Optional Chain are not allowed.",OptionalChainingNoTemplate:"Tagged Template Literals are not allowed in optionalChain.",OverrideOnConstructor:"'override' modifier cannot appear on a constructor declaration.",ParamDupe:"Argument name clash.",PatternHasAccessor:"Object pattern can't contain getter or setter.",PatternHasMethod:"Object pattern can't contain methods.",PrivateInExpectedIn:({identifierName:a})=>`Private names are only allowed in property accesses (\`obj.#${a}\`) or in \`in\` expressions (\`#${a} in obj\`).`,PrivateNameRedeclaration:({identifierName:a})=>`Duplicate private name #${a}.`,RecordExpressionBarIncorrectEndSyntaxType:"Record expressions ending with '|}' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'bar'.",RecordExpressionBarIncorrectStartSyntaxType:"Record expressions starting with '{|' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'bar'.",RecordExpressionHashIncorrectStartSyntaxType:"Record expressions starting with '#{' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'hash'.",RecordNoProto:"'__proto__' is not allowed in Record expressions.",RestTrailingComma:"Unexpected trailing comma after rest element.",SloppyFunction:"In non-strict mode code, functions can only be declared at top level or inside a block.",SloppyFunctionAnnexB:"In non-strict mode code, functions can only be declared at top level, inside a block, or as the body of an if statement.",StaticPrototype:"Classes may not have static property named prototype.",SuperNotAllowed:"`super()` is only valid inside a class constructor of a subclass. Maybe a typo in the method name ('constructor') or not extending another class?",SuperPrivateField:"Private fields can't be accessed on super.",TrailingDecorator:"Decorators must be attached to a class element.",TupleExpressionBarIncorrectEndSyntaxType:"Tuple expressions ending with '|]' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'bar'.",TupleExpressionBarIncorrectStartSyntaxType:"Tuple expressions starting with '[|' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'bar'.",TupleExpressionHashIncorrectStartSyntaxType:"Tuple expressions starting with '#[' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'hash'.",UnexpectedArgumentPlaceholder:"Unexpected argument placeholder.",UnexpectedAwaitAfterPipelineBody:'Unexpected "await" after pipeline body; await must have parentheses in minimal proposal.',UnexpectedDigitAfterHash:"Unexpected digit after hash token.",UnexpectedImportExport:"'import' and 'export' may only appear at the top level.",UnexpectedKeyword:({keyword:a})=>`Unexpected keyword '${a}'.`,UnexpectedLeadingDecorator:"Leading decorators must be attached to a class declaration.",UnexpectedLexicalDeclaration:"Lexical declaration cannot appear in a single-statement context.",UnexpectedNewTarget:"`new.target` can only be used in functions or class properties.",UnexpectedNumericSeparator:"A numeric separator is only allowed between two digits.",UnexpectedPrivateField:"Unexpected private name.",UnexpectedReservedWord:({reservedWord:a})=>`Unexpected reserved word '${a}'.`,UnexpectedSuper:"'super' is only allowed in object methods and classes.",UnexpectedToken:({expected:a,unexpected:t})=>`Unexpected token${t?` '${t}'.`:""}${a?`, expected "${a}"`:""}`,UnexpectedTokenUnaryExponentiation:"Illegal expression. Wrap left hand side or entire exponentiation in parentheses.",UnexpectedUsingDeclaration:"Using declaration cannot appear in the top level when source type is `script`.",UnsupportedBind:"Binding should be performed on object property.",UnsupportedDecoratorExport:"A decorated export must export a class declaration.",UnsupportedDefaultExport:"Only expressions, functions or classes are allowed as the `default` export.",UnsupportedImport:"`import` can only be used in `import()` or `import.meta`.",UnsupportedMetaProperty:({target:a,onlyValidPropertyName:t})=>`The only valid meta property for ${a} is ${a}.${t}.`,UnsupportedParameterDecorator:"Decorators cannot be used to decorate parameters.",UnsupportedPropertyDecorator:"Decorators cannot be used to decorate object literal properties.",UnsupportedSuper:"'super' can only be used with function calls (i.e. super()) or in property accesses (i.e. super.prop or super[prop]).",UnterminatedComment:"Unterminated comment.",UnterminatedRegExp:"Unterminated regular expression.",UnterminatedString:"Unterminated string constant.",UnterminatedTemplate:"Unterminated template.",UsingDeclarationHasBindingPattern:"Using declaration cannot have destructuring patterns.",VarRedeclaration:({identifierName:a})=>`Identifier '${a}' has already been declared.`,YieldBindingIdentifier:"Can not use 'yield' as identifier inside a generator.",YieldInParameter:"Yield expression is not allowed in formal parameters.",ZeroDigitNumericSeparator:"Numeric separator can not be used after leading 0."},Xi={StrictDelete:"Deleting local variable in strict mode.",StrictEvalArguments:({referenceName:a})=>`Assigning to '${a}' in strict mode.`,StrictEvalArgumentsBinding:({bindingName:a})=>`Binding '${a}' in strict mode.`,StrictFunction:"In strict mode code, functions can only be declared at top level or inside a block.",StrictNumericEscape:"The only valid numeric escape in strict mode is '\\0'.",StrictOctalLiteral:"Legacy octal literals are not allowed in strict mode.",StrictWith:"'with' in strict mode."},Gi=new Set(["ArrowFunctionExpression","AssignmentExpression","ConditionalExpression","YieldExpression"]),Yi={PipeBodyIsTighter:"Unexpected yield after pipeline body; any yield expression acting as Hack-style pipe body must be parenthesized due to its loose operator precedence.",PipeTopicRequiresHackPipes:'Topic reference is used, but the pipelineOperator plugin was not passed a "proposal": "hack" or "smart" option.',PipeTopicUnbound:"Topic reference is unbound; it must be inside a pipe body.",PipeTopicUnconfiguredToken:({token:a})=>`Invalid topic token ${a}. In order to use ${a} as a topic reference, the pipelineOperator plugin must be configured with { "proposal": "hack", "topicToken": "${a}" }.`,PipeTopicUnused:"Hack-style pipe body does not contain a topic reference; Hack-style pipes must use topic at least once.",PipeUnparenthesizedBody:({type:a})=>`Hack-style pipe body cannot be an unparenthesized ${Tt({type:a})}; please wrap it in parentheses.`,PipelineBodyNoArrow:'Unexpected arrow "=>" after pipeline body; arrow function in pipeline body must be parenthesized.',PipelineBodySequenceExpression:"Pipeline body may not be a comma-separated sequence expression.",PipelineHeadSequenceExpression:"Pipeline head should not be a comma-separated sequence expression.",PipelineTopicUnused:"Pipeline is in topic style but does not use topic reference.",PrimaryTopicNotAllowed:"Topic reference was used in a lexical context without topic binding.",PrimaryTopicRequiresSmartPipeline:'Topic reference is used, but the pipelineOperator plugin was not passed a "proposal": "hack" or "smart" option.'},Qi=["toMessage"],Zi=["message"];function er(a){let{toMessage:t}=a,e=He(a,Qi);return function s({loc:i,details:r}){return Hi(SyntaxError,Object.assign({},e,{loc:i}),{clone(n={}){let o=n.loc||{};return s({loc:new B("line"in o?o.line:this.loc.line,"column"in o?o.column:this.loc.column,"index"in o?o.index:this.loc.index),details:Object.assign({},this.details,n.details)})},details:{value:r,enumerable:!1},message:{get(){return`${t(this.details)} (${this.loc.line}:${this.loc.column})`},set(n){Object.defineProperty(this,"message",{value:n})}},pos:{reflect:"loc.index",enumerable:!0},missingPlugin:"missingPlugin"in r&&{reflect:"details.missingPlugin",enumerable:!0}})}}function V(a,t){if(Array.isArray(a))return s=>V(s,a[0]);let e={};for(let s of Object.keys(a)){let i=a[s],r=typeof i=="string"?{message:()=>i}:typeof i=="function"?{message:i}:i,{message:n}=r,o=He(r,Zi),h=typeof n=="string"?()=>n:n;e[s]=er(Object.assign({code:Pt.SyntaxError,reasonCode:s,toMessage:h},t?{syntaxPlugin:t}:{},o))}return e}var p=Object.assign({},V(Wi),V(Ji),V(Xi),V`pipelineOperator`(Yi)),{defineProperty:tr}=Object,fs=(a,t)=>tr(a,t,{enumerable:!1,value:a[t]});function Ae(a){return a.loc.start&&fs(a.loc.start,"index"),a.loc.end&&fs(a.loc.end,"index"),a}var sr=a=>class extends a{parse(){let e=Ae(super.parse());return this.options.tokens&&(e.tokens=e.tokens.map(Ae)),e}parseRegExpLiteral({pattern:e,flags:s}){let i=null;try{i=new RegExp(e,s)}catch{}let r=this.estreeParseLiteral(i);return r.regex={pattern:e,flags:s},r}parseBigIntLiteral(e){let s;try{s=BigInt(e)}catch{s=null}let i=this.estreeParseLiteral(s);return i.bigint=String(i.value||e),i}parseDecimalLiteral(e){let i=this.estreeParseLiteral(null);return i.decimal=String(i.value||e),i}estreeParseLiteral(e){return this.parseLiteral(e,"Literal")}parseStringLiteral(e){return this.estreeParseLiteral(e)}parseNumericLiteral(e){return this.estreeParseLiteral(e)}parseNullLiteral(){return this.estreeParseLiteral(null)}parseBooleanLiteral(e){return this.estreeParseLiteral(e)}directiveToStmt(e){let s=e.value;delete e.value,s.type="Literal",s.raw=s.extra.raw,s.value=s.extra.expressionValue;let i=e;return i.type="ExpressionStatement",i.expression=s,i.directive=s.extra.rawValue,delete s.extra,i}initFunction(e,s){super.initFunction(e,s),e.expression=!1}checkDeclaration(e){e!=null&&this.isObjectProperty(e)?this.checkDeclaration(e.value):super.checkDeclaration(e)}getObjectOrClassMethodParams(e){return e.value.params}isValidDirective(e){var s;return e.type==="ExpressionStatement"&&e.expression.type==="Literal"&&typeof e.expression.value=="string"&&!((s=e.expression.extra)!=null&&s.parenthesized)}parseBlockBody(e,s,i,r,n){super.parseBlockBody(e,s,i,r,n);let o=e.directives.map(h=>this.directiveToStmt(h));e.body=o.concat(e.body),delete e.directives}pushClassMethod(e,s,i,r,n,o){this.parseMethod(s,i,r,n,o,"ClassMethod",!0),s.typeParameters&&(s.value.typeParameters=s.typeParameters,delete s.typeParameters),e.body.push(s)}parsePrivateName(){let e=super.parsePrivateName();return this.getPluginOption("estree","classFeatures")?this.convertPrivateNameToPrivateIdentifier(e):e}convertPrivateNameToPrivateIdentifier(e){let s=super.getPrivateNameSV(e);return e=e,delete e.id,e.name=s,e.type="PrivateIdentifier",e}isPrivateName(e){return this.getPluginOption("estree","classFeatures")?e.type==="PrivateIdentifier":super.isPrivateName(e)}getPrivateNameSV(e){return this.getPluginOption("estree","classFeatures")?e.name:super.getPrivateNameSV(e)}parseLiteral(e,s){let i=super.parseLiteral(e,s);return i.raw=i.extra.raw,delete i.extra,i}parseFunctionBody(e,s,i=!1){super.parseFunctionBody(e,s,i),e.expression=e.body.type!=="BlockStatement"}parseMethod(e,s,i,r,n,o,h=!1){let l=this.startNode();return l.kind=e.kind,l=super.parseMethod(l,s,i,r,n,o,h),l.type="FunctionExpression",delete l.kind,e.value=l,o==="ClassPrivateMethod"&&(e.computed=!1),this.finishNode(e,"MethodDefinition")}parseClassProperty(...e){let s=super.parseClassProperty(...e);return this.getPluginOption("estree","classFeatures")&&(s.type="PropertyDefinition"),s}parseClassPrivateProperty(...e){let s=super.parseClassPrivateProperty(...e);return this.getPluginOption("estree","classFeatures")&&(s.type="PropertyDefinition",s.computed=!1),s}parseObjectMethod(e,s,i,r,n){let o=super.parseObjectMethod(e,s,i,r,n);return o&&(o.type="Property",o.kind==="method"&&(o.kind="init"),o.shorthand=!1),o}parseObjectProperty(e,s,i,r){let n=super.parseObjectProperty(e,s,i,r);return n&&(n.kind="init",n.type="Property"),n}isValidLVal(e,s,i){return e==="Property"?"value":super.isValidLVal(e,s,i)}isAssignable(e,s){return e!=null&&this.isObjectProperty(e)?this.isAssignable(e.value,s):super.isAssignable(e,s)}toAssignable(e,s=!1){if(e!=null&&this.isObjectProperty(e)){let{key:i,value:r}=e;this.isPrivateName(i)&&this.classScope.usePrivateName(this.getPrivateNameSV(i),i.loc.start),this.toAssignable(r,s)}else super.toAssignable(e,s)}toAssignableObjectExpressionProp(e,s,i){e.kind==="get"||e.kind==="set"?this.raise(p.PatternHasAccessor,{at:e.key}):e.method?this.raise(p.PatternHasMethod,{at:e.key}):super.toAssignableObjectExpressionProp(e,s,i)}finishCallExpression(e,s){let i=super.finishCallExpression(e,s);if(i.callee.type==="Import"){if(i.type="ImportExpression",i.source=i.arguments[0],this.hasPlugin("importAttributes")||this.hasPlugin("importAssertions")){var r;i.attributes=(r=i.arguments[1])!=null?r:null}delete i.arguments,delete i.callee}return i}toReferencedArguments(e){e.type!=="ImportExpression"&&super.toReferencedArguments(e)}parseExport(e,s){let i=this.state.lastTokStartLoc,r=super.parseExport(e,s);switch(r.type){case"ExportAllDeclaration":r.exported=null;break;case"ExportNamedDeclaration":r.specifiers.length===1&&r.specifiers[0].type==="ExportNamespaceSpecifier"&&(r.type="ExportAllDeclaration",r.exported=r.specifiers[0].exported,delete r.specifiers);case"ExportDefaultDeclaration":{var n;let{declaration:o}=r;(o==null?void 0:o.type)==="ClassDeclaration"&&((n=o.decorators)==null?void 0:n.length)>0&&o.start===r.start&&this.resetStartLocation(r,i)}break}return r}parseSubscript(e,s,i,r){let n=super.parseSubscript(e,s,i,r);if(r.optionalChainMember){if((n.type==="OptionalMemberExpression"||n.type==="OptionalCallExpression")&&(n.type=n.type.substring(8)),r.stop){let o=this.startNodeAtNode(n);return o.expression=n,this.finishNode(o,"ChainExpression")}}else(n.type==="MemberExpression"||n.type==="CallExpression")&&(n.optional=!1);return n}hasPropertyAsPrivateName(e){return e.type==="ChainExpression"&&(e=e.expression),super.hasPropertyAsPrivateName(e)}isObjectProperty(e){return e.type==="Property"&&e.kind==="init"&&!e.method}isObjectMethod(e){return e.method||e.kind==="get"||e.kind==="set"}finishNodeAt(e,s,i){return Ae(super.finishNodeAt(e,s,i))}resetStartLocation(e,s){super.resetStartLocation(e,s),Ae(e)}resetEndLocation(e,s=this.state.lastTokEndLoc){super.resetEndLocation(e,s),Ae(e)}},Z=class{constructor(t,e){this.token=void 0,this.preserveSpace=void 0,this.token=t,this.preserveSpace=!!e}},E={brace:new Z("{"),j_oTag:new Z("...",!0)};E.template=new Z("`",!0);var g=!0,m=!0,ut=!0,Se=!0,q=!0,ir=!0,We=class{constructor(t,e={}){this.label=void 0,this.keyword=void 0,this.beforeExpr=void 0,this.startsExpr=void 0,this.rightAssociative=void 0,this.isLoop=void 0,this.isAssign=void 0,this.prefix=void 0,this.postfix=void 0,this.binop=void 0,this.label=t,this.keyword=e.keyword,this.beforeExpr=!!e.beforeExpr,this.startsExpr=!!e.startsExpr,this.rightAssociative=!!e.rightAssociative,this.isLoop=!!e.isLoop,this.isAssign=!!e.isAssign,this.prefix=!!e.prefix,this.postfix=!!e.postfix,this.binop=e.binop!=null?e.binop:null,this.updateContext=null}},zt=new Map;function A(a,t={}){t.keyword=a;let e=P(a,t);return zt.set(a,e),e}function v(a,t){return P(a,{beforeExpr:g,binop:t})}var Ie=-1,j=[],Kt=[],qt=[],Ht=[],Wt=[],Jt=[];function P(a,t={}){var e,s,i,r;return++Ie,Kt.push(a),qt.push((e=t.binop)!=null?e:-1),Ht.push((s=t.beforeExpr)!=null?s:!1),Wt.push((i=t.startsExpr)!=null?i:!1),Jt.push((r=t.prefix)!=null?r:!1),j.push(new We(a,t)),Ie}function b(a,t={}){var e,s,i,r;return++Ie,zt.set(a,Ie),Kt.push(a),qt.push((e=t.binop)!=null?e:-1),Ht.push((s=t.beforeExpr)!=null?s:!1),Wt.push((i=t.startsExpr)!=null?i:!1),Jt.push((r=t.prefix)!=null?r:!1),j.push(new We("name",t)),Ie}var rr={bracketL:P("[",{beforeExpr:g,startsExpr:m}),bracketHashL:P("#[",{beforeExpr:g,startsExpr:m}),bracketBarL:P("[|",{beforeExpr:g,startsExpr:m}),bracketR:P("]"),bracketBarR:P("|]"),braceL:P("{",{beforeExpr:g,startsExpr:m}),braceBarL:P("{|",{beforeExpr:g,startsExpr:m}),braceHashL:P("#{",{beforeExpr:g,startsExpr:m}),braceR:P("}"),braceBarR:P("|}"),parenL:P("(",{beforeExpr:g,startsExpr:m}),parenR:P(")"),comma:P(",",{beforeExpr:g}),semi:P(";",{beforeExpr:g}),colon:P(":",{beforeExpr:g}),doubleColon:P("::",{beforeExpr:g}),dot:P("."),question:P("?",{beforeExpr:g}),questionDot:P("?."),arrow:P("=>",{beforeExpr:g}),template:P("template"),ellipsis:P("...",{beforeExpr:g}),backQuote:P("`",{startsExpr:m}),dollarBraceL:P("${",{beforeExpr:g,startsExpr:m}),templateTail:P("...`",{startsExpr:m}),templateNonTail:P("...${",{beforeExpr:g,startsExpr:m}),at:P("@"),hash:P("#",{startsExpr:m}),interpreterDirective:P("#!..."),eq:P("=",{beforeExpr:g,isAssign:Se}),assign:P("_=",{beforeExpr:g,isAssign:Se}),slashAssign:P("_=",{beforeExpr:g,isAssign:Se}),xorAssign:P("_=",{beforeExpr:g,isAssign:Se}),moduloAssign:P("_=",{beforeExpr:g,isAssign:Se}),incDec:P("++/--",{prefix:q,postfix:ir,startsExpr:m}),bang:P("!",{beforeExpr:g,prefix:q,startsExpr:m}),tilde:P("~",{beforeExpr:g,prefix:q,startsExpr:m}),doubleCaret:P("^^",{startsExpr:m}),doubleAt:P("@@",{startsExpr:m}),pipeline:v("|>",0),nullishCoalescing:v("??",1),logicalOR:v("||",1),logicalAND:v("&&",2),bitwiseOR:v("|",3),bitwiseXOR:v("^",4),bitwiseAND:v("&",5),equality:v("==/!=/===/!==",6),lt:v("/<=/>=",7),gt:v("/<=/>=",7),relational:v("/<=/>=",7),bitShift:v("<>/>>>",8),bitShiftL:v("<>/>>>",8),bitShiftR:v("<>/>>>",8),plusMin:P("+/-",{beforeExpr:g,binop:9,prefix:q,startsExpr:m}),modulo:P("%",{binop:10,startsExpr:m}),star:P("*",{binop:10}),slash:v("/",10),exponent:P("**",{beforeExpr:g,binop:11,rightAssociative:!0}),_in:A("in",{beforeExpr:g,binop:7}),_instanceof:A("instanceof",{beforeExpr:g,binop:7}),_break:A("break"),_case:A("case",{beforeExpr:g}),_catch:A("catch"),_continue:A("continue"),_debugger:A("debugger"),_default:A("default",{beforeExpr:g}),_else:A("else",{beforeExpr:g}),_finally:A("finally"),_function:A("function",{startsExpr:m}),_if:A("if"),_return:A("return",{beforeExpr:g}),_switch:A("switch"),_throw:A("throw",{beforeExpr:g,prefix:q,startsExpr:m}),_try:A("try"),_var:A("var"),_const:A("const"),_with:A("with"),_new:A("new",{beforeExpr:g,startsExpr:m}),_this:A("this",{startsExpr:m}),_super:A("super",{startsExpr:m}),_class:A("class",{startsExpr:m}),_extends:A("extends",{beforeExpr:g}),_export:A("export"),_import:A("import",{startsExpr:m}),_null:A("null",{startsExpr:m}),_true:A("true",{startsExpr:m}),_false:A("false",{startsExpr:m}),_typeof:A("typeof",{beforeExpr:g,prefix:q,startsExpr:m}),_void:A("void",{beforeExpr:g,prefix:q,startsExpr:m}),_delete:A("delete",{beforeExpr:g,prefix:q,startsExpr:m}),_do:A("do",{isLoop:ut,beforeExpr:g}),_for:A("for",{isLoop:ut}),_while:A("while",{isLoop:ut}),_as:b("as",{startsExpr:m}),_assert:b("assert",{startsExpr:m}),_async:b("async",{startsExpr:m}),_await:b("await",{startsExpr:m}),_from:b("from",{startsExpr:m}),_get:b("get",{startsExpr:m}),_let:b("let",{startsExpr:m}),_meta:b("meta",{startsExpr:m}),_of:b("of",{startsExpr:m}),_sent:b("sent",{startsExpr:m}),_set:b("set",{startsExpr:m}),_static:b("static",{startsExpr:m}),_using:b("using",{startsExpr:m}),_yield:b("yield",{startsExpr:m}),_asserts:b("asserts",{startsExpr:m}),_checks:b("checks",{startsExpr:m}),_exports:b("exports",{startsExpr:m}),_global:b("global",{startsExpr:m}),_implements:b("implements",{startsExpr:m}),_intrinsic:b("intrinsic",{startsExpr:m}),_infer:b("infer",{startsExpr:m}),_is:b("is",{startsExpr:m}),_mixins:b("mixins",{startsExpr:m}),_proto:b("proto",{startsExpr:m}),_require:b("require",{startsExpr:m}),_satisfies:b("satisfies",{startsExpr:m}),_keyof:b("keyof",{startsExpr:m}),_readonly:b("readonly",{startsExpr:m}),_unique:b("unique",{startsExpr:m}),_abstract:b("abstract",{startsExpr:m}),_declare:b("declare",{startsExpr:m}),_enum:b("enum",{startsExpr:m}),_module:b("module",{startsExpr:m}),_namespace:b("namespace",{startsExpr:m}),_interface:b("interface",{startsExpr:m}),_type:b("type",{startsExpr:m}),_opaque:b("opaque",{startsExpr:m}),name:P("name",{startsExpr:m}),string:P("string",{startsExpr:m}),num:P("num",{startsExpr:m}),bigint:P("bigint",{startsExpr:m}),decimal:P("decimal",{startsExpr:m}),regexp:P("regexp",{startsExpr:m}),privateName:P("#name",{startsExpr:m}),eof:P("eof"),jsxName:P("jsxName"),jsxText:P("jsxText",{beforeExpr:!0}),jsxTagStart:P("jsxTagStart",{startsExpr:!0}),jsxTagEnd:P("jsxTagEnd"),placeholder:P("%%",{startsExpr:!0})};function S(a){return a>=93&&a<=130}function ar(a){return a<=92}function M(a){return a>=58&&a<=130}function ks(a){return a>=58&&a<=134}function nr(a){return Ht[a]}function gt(a){return Wt[a]}function or(a){return a>=29&&a<=33}function ds(a){return a>=127&&a<=129}function hr(a){return a>=90&&a<=92}function Xt(a){return a>=58&&a<=92}function lr(a){return a>=39&&a<=59}function cr(a){return a===34}function pr(a){return Jt[a]}function ur(a){return a>=119&&a<=121}function fr(a){return a>=122&&a<=128}function J(a){return Kt[a]}function Ve(a){return qt[a]}function dr(a){return a===57}function Je(a){return a>=24&&a<=25}function U(a){return j[a]}j[8].updateContext=a=>{a.pop()},j[5].updateContext=j[7].updateContext=j[23].updateContext=a=>{a.push(E.brace)},j[22].updateContext=a=>{a[a.length-1]===E.template?a.pop():a.push(E.template)},j[140].updateContext=a=>{a.push(E.j_expr,E.j_oTag)};var Gt="\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0560-\u0588\u05D0-\u05EA\u05EF-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u0870-\u0887\u0889-\u088E\u08A0-\u08C9\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C5D\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D04-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E86-\u0E8A\u0E8C-\u0EA3\u0EA5\u0EA7-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u1711\u171F-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1878\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4C\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\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\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2118-\u211D\u2124\u2126\u2128\u212A-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309B-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312F\u3131-\u318E\u31A0-\u31BF\u31F0-\u31FF\u3400-\u4DBF\u4E00-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7CA\uA7D0\uA7D1\uA7D3\uA7D5-\uA7D9\uA7F2-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA8FE\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB69\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC",vs="\u200C\u200D\xB7\u0300-\u036F\u0387\u0483-\u0487\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u0610-\u061A\u064B-\u0669\u0670\u06D6-\u06DC\u06DF-\u06E4\u06E7\u06E8\u06EA-\u06ED\u06F0-\u06F9\u0711\u0730-\u074A\u07A6-\u07B0\u07C0-\u07C9\u07EB-\u07F3\u07FD\u0816-\u0819\u081B-\u0823\u0825-\u0827\u0829-\u082D\u0859-\u085B\u0898-\u089F\u08CA-\u08E1\u08E3-\u0903\u093A-\u093C\u093E-\u094F\u0951-\u0957\u0962\u0963\u0966-\u096F\u0981-\u0983\u09BC\u09BE-\u09C4\u09C7\u09C8\u09CB-\u09CD\u09D7\u09E2\u09E3\u09E6-\u09EF\u09FE\u0A01-\u0A03\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A66-\u0A71\u0A75\u0A81-\u0A83\u0ABC\u0ABE-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AE2\u0AE3\u0AE6-\u0AEF\u0AFA-\u0AFF\u0B01-\u0B03\u0B3C\u0B3E-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B55-\u0B57\u0B62\u0B63\u0B66-\u0B6F\u0B82\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD7\u0BE6-\u0BEF\u0C00-\u0C04\u0C3C\u0C3E-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C62\u0C63\u0C66-\u0C6F\u0C81-\u0C83\u0CBC\u0CBE-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CE2\u0CE3\u0CE6-\u0CEF\u0CF3\u0D00-\u0D03\u0D3B\u0D3C\u0D3E-\u0D44\u0D46-\u0D48\u0D4A-\u0D4D\u0D57\u0D62\u0D63\u0D66-\u0D6F\u0D81-\u0D83\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E31\u0E34-\u0E3A\u0E47-\u0E4E\u0E50-\u0E59\u0EB1\u0EB4-\u0EBC\u0EC8-\u0ECE\u0ED0-\u0ED9\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E\u0F3F\u0F71-\u0F84\u0F86\u0F87\u0F8D-\u0F97\u0F99-\u0FBC\u0FC6\u102B-\u103E\u1040-\u1049\u1056-\u1059\u105E-\u1060\u1062-\u1064\u1067-\u106D\u1071-\u1074\u1082-\u108D\u108F-\u109D\u135D-\u135F\u1369-\u1371\u1712-\u1715\u1732-\u1734\u1752\u1753\u1772\u1773\u17B4-\u17D3\u17DD\u17E0-\u17E9\u180B-\u180D\u180F-\u1819\u18A9\u1920-\u192B\u1930-\u193B\u1946-\u194F\u19D0-\u19DA\u1A17-\u1A1B\u1A55-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AB0-\u1ABD\u1ABF-\u1ACE\u1B00-\u1B04\u1B34-\u1B44\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1B82\u1BA1-\u1BAD\u1BB0-\u1BB9\u1BE6-\u1BF3\u1C24-\u1C37\u1C40-\u1C49\u1C50-\u1C59\u1CD0-\u1CD2\u1CD4-\u1CE8\u1CED\u1CF4\u1CF7-\u1CF9\u1DC0-\u1DFF\u203F\u2040\u2054\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2CEF-\u2CF1\u2D7F\u2DE0-\u2DFF\u302A-\u302F\u3099\u309A\uA620-\uA629\uA66F\uA674-\uA67D\uA69E\uA69F\uA6F0\uA6F1\uA802\uA806\uA80B\uA823-\uA827\uA82C\uA880\uA881\uA8B4-\uA8C5\uA8D0-\uA8D9\uA8E0-\uA8F1\uA8FF-\uA909\uA926-\uA92D\uA947-\uA953\uA980-\uA983\uA9B3-\uA9C0\uA9D0-\uA9D9\uA9E5\uA9F0-\uA9F9\uAA29-\uAA36\uAA43\uAA4C\uAA4D\uAA50-\uAA59\uAA7B-\uAA7D\uAAB0\uAAB2-\uAAB4\uAAB7\uAAB8\uAABE\uAABF\uAAC1\uAAEB-\uAAEF\uAAF5\uAAF6\uABE3-\uABEA\uABEC\uABED\uABF0-\uABF9\uFB1E\uFE00-\uFE0F\uFE20-\uFE2F\uFE33\uFE34\uFE4D-\uFE4F\uFF10-\uFF19\uFF3F",mr=new RegExp("["+Gt+"]"),yr=new RegExp("["+Gt+vs+"]");Gt=vs=null;var Ls=[0,11,2,25,2,18,2,1,2,14,3,13,35,122,70,52,268,28,4,48,48,31,14,29,6,37,11,29,3,35,5,7,2,4,43,157,19,35,5,35,5,39,9,51,13,10,2,14,2,6,2,1,2,10,2,14,2,6,2,1,68,310,10,21,11,7,25,5,2,41,2,8,70,5,3,0,2,43,2,1,4,0,3,22,11,22,10,30,66,18,2,1,11,21,11,25,71,55,7,1,65,0,16,3,2,2,2,28,43,28,4,28,36,7,2,27,28,53,11,21,11,18,14,17,111,72,56,50,14,50,14,35,349,41,7,1,79,28,11,0,9,21,43,17,47,20,28,22,13,52,58,1,3,0,14,44,33,24,27,35,30,0,3,0,9,34,4,0,13,47,15,3,22,0,2,0,36,17,2,24,20,1,64,6,2,0,2,3,2,14,2,9,8,46,39,7,3,1,3,21,2,6,2,1,2,4,4,0,19,0,13,4,159,52,19,3,21,2,31,47,21,1,2,0,185,46,42,3,37,47,21,0,60,42,14,0,72,26,38,6,186,43,117,63,32,7,3,0,3,7,2,1,2,23,16,0,2,0,95,7,3,38,17,0,2,0,29,0,11,39,8,0,22,0,12,45,20,0,19,72,264,8,2,36,18,0,50,29,113,6,2,1,2,37,22,0,26,5,2,1,2,31,15,0,328,18,16,0,2,12,2,33,125,0,80,921,103,110,18,195,2637,96,16,1071,18,5,4026,582,8634,568,8,30,18,78,18,29,19,47,17,3,32,20,6,18,689,63,129,74,6,0,67,12,65,1,2,0,29,6135,9,1237,43,8,8936,3,2,6,2,1,2,290,16,0,30,2,3,0,15,3,9,395,2309,106,6,12,4,8,8,9,5991,84,2,70,2,1,3,0,3,1,3,3,2,11,2,0,2,6,2,64,2,3,3,7,2,6,2,27,2,3,2,4,2,0,4,6,2,339,3,24,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,7,1845,30,7,5,262,61,147,44,11,6,17,0,322,29,19,43,485,27,757,6,2,3,2,1,2,14,2,196,60,67,8,0,1205,3,2,26,2,1,2,0,3,0,2,9,2,3,2,0,2,0,7,0,5,0,2,0,2,0,2,2,2,1,2,0,3,0,2,0,2,0,2,0,2,0,2,1,2,0,3,3,2,6,2,3,2,3,2,0,2,9,2,16,6,2,2,4,2,16,4421,42719,33,4153,7,221,3,5761,15,7472,3104,541,1507,4938,6,4191],xr=[509,0,227,0,150,4,294,9,1368,2,2,1,6,3,41,2,5,0,166,1,574,3,9,9,370,1,81,2,71,10,50,3,123,2,54,14,32,10,3,1,11,3,46,10,8,0,46,9,7,2,37,13,2,9,6,1,45,0,13,2,49,13,9,3,2,11,83,11,7,0,3,0,158,11,6,9,7,3,56,1,2,6,3,1,3,2,10,0,11,1,3,6,4,4,193,17,10,9,5,0,82,19,13,9,214,6,3,8,28,1,83,16,16,9,82,12,9,9,84,14,5,9,243,14,166,9,71,5,2,1,3,3,2,0,2,1,13,9,120,6,3,6,4,0,29,9,41,6,2,3,9,0,10,10,47,15,406,7,2,7,17,9,57,21,2,13,123,5,4,0,2,1,2,6,2,0,9,9,49,4,2,1,2,4,9,9,330,3,10,1,2,0,49,6,4,4,14,9,5351,0,7,14,13835,9,87,9,39,4,60,6,26,9,1014,0,2,54,8,3,82,0,12,1,19628,1,4706,45,3,22,543,4,4,5,9,7,3,6,31,3,149,2,1418,49,513,54,5,49,9,0,15,0,23,4,2,14,1361,6,2,16,3,6,2,1,2,4,101,0,161,6,10,9,357,0,62,13,499,13,983,6,110,6,6,9,4759,9,787719,239];function bt(a,t){let e=65536;for(let s=0,i=t.length;sa)return!1;if(e+=t[s+1],e>=a)return!0}return!1}function $(a){return a<65?a===36:a<=90?!0:a<97?a===95:a<=122?!0:a<=65535?a>=170&&mr.test(String.fromCharCode(a)):bt(a,Ls)}function he(a){return a<48?a===36:a<58?!0:a<65?!1:a<=90?!0:a<97?a===95:a<=122?!0:a<=65535?a>=170&&yr.test(String.fromCharCode(a)):bt(a,Ls)||bt(a,xr)}var Yt={keyword:["break","case","catch","continue","debugger","default","do","else","finally","for","function","if","return","switch","throw","try","var","const","while","with","new","this","super","class","extends","export","import","null","true","false","in","instanceof","typeof","void","delete"],strict:["implements","interface","let","package","private","protected","public","static","yield"],strictBind:["eval","arguments"]},Pr=new Set(Yt.keyword),Tr=new Set(Yt.strict),gr=new Set(Yt.strictBind);function Ds(a,t){return t&&a==="await"||a==="enum"}function Ms(a,t){return Ds(a,t)||Tr.has(a)}function Os(a){return gr.has(a)}function Bs(a,t){return Ms(a,t)||Os(a)}function br(a){return Pr.has(a)}function Ar(a,t,e){return a===64&&t===64&&$(e)}var Sr=new Set(["break","case","catch","continue","debugger","default","do","else","finally","for","function","if","return","switch","throw","try","var","const","while","with","new","this","super","class","extends","export","import","null","true","false","in","instanceof","typeof","void","delete","implements","interface","let","package","private","protected","public","static","yield","eval","arguments","enum","await"]);function Er(a){return Sr.has(a)}var ae=0,ne=1,z=2,Qt=4,Fs=8,Xe=16,_s=32,ee=64,Ge=128,le=256,Ue=ne|z|Ge|le,F=1,se=2,Rs=4,te=8,ze=16,Us=64,Ye=128,At=256,St=512,Zt=1024,Et=2048,Ne=4096,st=8192,js=F|se|te|Ye|st,ce=F|0|te|st,Cr=F|0|te|0,Qe=F|0|Rs|0,$s=F|0|ze|0,wr=0|se|0|Ye,Ir=0|se|0|0,Vs=F|se|te|At|st,ms=0|Zt,W=0|Us,Nr=F|0|0|Us,kr=Vs|St,vr=0|Zt,ys=0|se|0|Ne,Lr=Et,Ze=4,es=2,ts=1,ft=es|ts,Dr=es|Ze,Mr=ts|Ze,Or=es,Br=ts,dt=0,ve=class{constructor(t){this.var=new Set,this.lexical=new Set,this.functions=new Set,this.flags=t}},Le=class{constructor(t,e){this.parser=void 0,this.scopeStack=[],this.inModule=void 0,this.undefinedExports=new Map,this.parser=t,this.inModule=e}get inTopLevel(){return(this.currentScope().flags&ne)>0}get inFunction(){return(this.currentVarScopeFlags()&z)>0}get allowSuper(){return(this.currentThisScopeFlags()&Xe)>0}get allowDirectSuper(){return(this.currentThisScopeFlags()&_s)>0}get inClass(){return(this.currentThisScopeFlags()&ee)>0}get inClassAndNotInNonArrowFunction(){let t=this.currentThisScopeFlags();return(t&ee)>0&&(t&z)===0}get inStaticBlock(){for(let t=this.scopeStack.length-1;;t--){let{flags:e}=this.scopeStack[t];if(e&Ge)return!0;if(e&(Ue|ee))return!1}}get inNonArrowFunction(){return(this.currentThisScopeFlags()&z)>0}get treatFunctionsAsVar(){return this.treatFunctionsAsVarInScope(this.currentScope())}createScope(t){return new ve(t)}enter(t){this.scopeStack.push(this.createScope(t))}exit(){return this.scopeStack.pop().flags}treatFunctionsAsVarInScope(t){return!!(t.flags&(z|Ge)||!this.parser.inModule&&t.flags&ne)}declareName(t,e,s){let i=this.currentScope();if(e&te||e&ze)this.checkRedeclarationInScope(i,t,e,s),e&ze?i.functions.add(t):i.lexical.add(t),e&te&&this.maybeExportDefined(i,t);else if(e&Rs)for(let r=this.scopeStack.length-1;r>=0&&(i=this.scopeStack[r],this.checkRedeclarationInScope(i,t,e,s),i.var.add(t),this.maybeExportDefined(i,t),!(i.flags&Ue));--r);this.parser.inModule&&i.flags&ne&&this.undefinedExports.delete(t)}maybeExportDefined(t,e){this.parser.inModule&&t.flags&ne&&this.undefinedExports.delete(e)}checkRedeclarationInScope(t,e,s,i){this.isRedeclaredInScope(t,e,s)&&this.parser.raise(p.VarRedeclaration,{at:i,identifierName:e})}isRedeclaredInScope(t,e,s){return s&F?s&te?t.lexical.has(e)||t.functions.has(e)||t.var.has(e):s&ze?t.lexical.has(e)||!this.treatFunctionsAsVarInScope(t)&&t.var.has(e):t.lexical.has(e)&&!(t.flags&Fs&&t.lexical.values().next().value===e)||!this.treatFunctionsAsVarInScope(t)&&t.functions.has(e):!1}checkLocalExport(t){let{name:e}=t,s=this.scopeStack[0];!s.lexical.has(e)&&!s.var.has(e)&&!s.functions.has(e)&&this.undefinedExports.set(e,t.loc.start)}currentScope(){return this.scopeStack[this.scopeStack.length-1]}currentVarScopeFlags(){for(let t=this.scopeStack.length-1;;t--){let{flags:e}=this.scopeStack[t];if(e&Ue)return e}}currentThisScopeFlags(){for(let t=this.scopeStack.length-1;;t--){let{flags:e}=this.scopeStack[t];if(e&(Ue|ee)&&!(e&Qt))return e}}},Ct=class extends ve{constructor(...t){super(...t),this.declareFunctions=new Set}},wt=class extends Le{createScope(t){return new Ct(t)}declareName(t,e,s){let i=this.currentScope();if(e&Et){this.checkRedeclarationInScope(i,t,e,s),this.maybeExportDefined(i,t),i.declareFunctions.add(t);return}super.declareName(t,e,s)}isRedeclaredInScope(t,e,s){return super.isRedeclaredInScope(t,e,s)?!0:s&Et?!t.declareFunctions.has(e)&&(t.lexical.has(e)||t.functions.has(e)):!1}checkLocalExport(t){this.scopeStack[0].declareFunctions.has(t.name)||super.checkLocalExport(t)}},It=class{constructor(){this.sawUnambiguousESM=!1,this.ambiguousScriptDifferentAst=!1}hasPlugin(t){if(typeof t=="string")return this.plugins.has(t);{let[e,s]=t;if(!this.hasPlugin(e))return!1;let i=this.plugins.get(e);for(let r of Object.keys(s))if((i==null?void 0:i[r])!==s[r])return!1;return!0}}getPluginOption(t,e){var s;return(s=this.plugins.get(t))==null?void 0:s[e]}};function zs(a,t){a.trailingComments===void 0?a.trailingComments=t:a.trailingComments.unshift(...t)}function Fr(a,t){a.leadingComments===void 0?a.leadingComments=t:a.leadingComments.unshift(...t)}function De(a,t){a.innerComments===void 0?a.innerComments=t:a.innerComments.unshift(...t)}function Ee(a,t,e){let s=null,i=t.length;for(;s===null&&i>0;)s=t[--i];s===null||s.start>e.start?De(a,e.comments):zs(s,e.comments)}var Nt=class extends It{addComment(t){this.filename&&(t.loc.filename=this.filename),this.state.comments.push(t)}processComment(t){let{commentStack:e}=this.state,s=e.length;if(s===0)return;let i=s-1,r=e[i];r.start===t.end&&(r.leadingNode=t,i--);let{start:n}=t;for(;i>=0;i--){let o=e[i],h=o.end;if(h>n)o.containingNode=t,this.finalizeComment(o),e.splice(i,1);else{h===n&&(o.trailingNode=t);break}}}finalizeComment(t){let{comments:e}=t;if(t.leadingNode!==null||t.trailingNode!==null)t.leadingNode!==null&&zs(t.leadingNode,e),t.trailingNode!==null&&Fr(t.trailingNode,e);else{let{containingNode:s,start:i}=t;if(this.input.charCodeAt(i-1)===44)switch(s.type){case"ObjectExpression":case"ObjectPattern":case"RecordExpression":Ee(s,s.properties,t);break;case"CallExpression":case"OptionalCallExpression":Ee(s,s.arguments,t);break;case"FunctionDeclaration":case"FunctionExpression":case"ArrowFunctionExpression":case"ObjectMethod":case"ClassMethod":case"ClassPrivateMethod":Ee(s,s.params,t);break;case"ArrayExpression":case"ArrayPattern":case"TupleExpression":Ee(s,s.elements,t);break;case"ExportNamedDeclaration":case"ImportDeclaration":Ee(s,s.specifiers,t);break;default:De(s,e)}else De(s,e)}}finalizeRemainingComments(){let{commentStack:t}=this.state;for(let e=t.length-1;e>=0;e--)this.finalizeComment(t[e]);this.state.commentStack=[]}resetPreviousNodeTrailingComments(t){let{commentStack:e}=this.state,{length:s}=e;if(s===0)return;let i=e[s-1];i.leadingNode===t&&(i.leadingNode=null)}resetPreviousIdentifierLeadingComments(t){let{commentStack:e}=this.state,{length:s}=e;s!==0&&(e[s-1].trailingNode===t?e[s-1].trailingNode=null:s>=2&&e[s-2].trailingNode===t&&(e[s-2].trailingNode=null))}takeSurroundingComments(t,e,s){let{commentStack:i}=this.state,r=i.length;if(r===0)return;let n=r-1;for(;n>=0;n--){let o=i[n],h=o.end;if(o.start===s)o.leadingNode=t;else if(h===e)o.trailingNode=t;else if(h=48&&t<=57},Ps={decBinOct:new Set([46,66,69,79,95,98,101,111]),hex:new Set([46,88,95,120])},$e={bin:a=>a===48||a===49,oct:a=>a>=48&&a<=55,dec:a=>a>=48&&a<=57,hex:a=>a>=48&&a<=57||a>=65&&a<=70||a>=97&&a<=102};function Ts(a,t,e,s,i,r){let n=e,o=s,h=i,l="",c=null,u=e,{length:d}=t;for(;;){if(e>=d){r.unterminated(n,o,h),l+=t.slice(u,e);break}let f=t.charCodeAt(e);if(Ur(a,f,t,e)){l+=t.slice(u,e);break}if(f===92){l+=t.slice(u,e);let x=jr(t,e,s,i,a==="template",r);x.ch===null&&!c?c={pos:e,lineStart:s,curLine:i}:l+=x.ch,{pos:e,lineStart:s,curLine:i}=x,u=e}else f===8232||f===8233?(++e,++i,s=e):f===10||f===13?a==="template"?(l+=t.slice(u,e)+` -`,++e,f===13&&t.charCodeAt(e)===10&&++e,++i,u=s=e):r.unterminated(n,o,h):++e}return{pos:e,str:l,firstInvalidLoc:c,lineStart:s,curLine:i,containsInvalid:!!c}}function Ur(a,t,e,s){return a==="template"?t===96||t===36&&e.charCodeAt(s+1)===123:t===(a==="double"?34:39)}function jr(a,t,e,s,i,r){let n=!i;t++;let o=l=>({pos:t,ch:l,lineStart:e,curLine:s}),h=a.charCodeAt(t++);switch(h){case 110:return o(` -`);case 114:return o("\r");case 120:{let l;return{code:l,pos:t}=vt(a,t,e,s,2,!1,n,r),o(l===null?null:String.fromCharCode(l))}case 117:{let l;return{code:l,pos:t}=Hs(a,t,e,s,n,r),o(l===null?null:String.fromCodePoint(l))}case 116:return o(" ");case 98:return o("\b");case 118:return o("\v");case 102:return o("\f");case 13:a.charCodeAt(t)===10&&++t;case 10:e=t,++s;case 8232:case 8233:return o("");case 56:case 57:if(i)return o(null);r.strictNumericEscape(t-1,e,s);default:if(h>=48&&h<=55){let l=t-1,u=a.slice(l,t+2).match(/^[0-7]+/)[0],d=parseInt(u,8);d>255&&(u=u.slice(0,-1),d=parseInt(u,8)),t+=u.length-1;let f=a.charCodeAt(t);if(u!=="0"||f===56||f===57){if(i)return o(null);r.strictNumericEscape(l,e,s)}return o(String.fromCharCode(d))}return o(String.fromCharCode(h))}}function vt(a,t,e,s,i,r,n,o){let h=t,l;return{n:l,pos:t}=qs(a,t,e,s,16,i,r,!1,o,!n),l===null&&(n?o.invalidEscapeSequence(h,e,s):t=h-1),{code:l,pos:t}}function qs(a,t,e,s,i,r,n,o,h,l){let c=t,u=i===16?Ps.hex:Ps.decBinOct,d=i===16?$e.hex:i===10?$e.dec:i===8?$e.oct:$e.bin,f=!1,x=0;for(let I=0,C=r??1/0;I=97?N=w-97+10:w>=65?N=w-65+10:Rr(w)?N=w-48:N=1/0,N>=i){if(N<=9&&l)return{n:null,pos:t};if(N<=9&&h.invalidDigit(t,e,s,i))N=0;else if(n)N=0,f=!0;else break}++t,x=x*i+N}return t===c||r!=null&&t-c!==r||f?{n:null,pos:t}:{n:x,pos:t}}function Hs(a,t,e,s,i,r){let n=a.charCodeAt(t),o;if(n===123){if(++t,{code:o,pos:t}=vt(a,t,e,s,a.indexOf("}",t)-t,!0,i,r),++t,o!==null&&o>1114111)if(i)r.invalidCodePoint(t,e,s);else return{code:null,pos:t}}else({code:o,pos:t}=vt(a,t,e,s,4,!1,i,r));return{code:o,pos:t}}var $r=["at"],Vr=["at"];function Ce(a,t,e){return new B(e,a-t,a)}var zr=new Set([103,109,115,105,121,117,100,118]),O=class{constructor(t){this.type=t.type,this.value=t.value,this.start=t.start,this.end=t.end,this.loc=new fe(t.startLoc,t.endLoc)}},Lt=class extends Nt{constructor(t,e){super(),this.isLookahead=void 0,this.tokens=[],this.errorHandlers_readInt={invalidDigit:(s,i,r,n)=>this.options.errorRecovery?(this.raise(p.InvalidDigit,{at:Ce(s,i,r),radix:n}),!0):!1,numericSeparatorInEscapeSequence:this.errorBuilder(p.NumericSeparatorInEscapeSequence),unexpectedNumericSeparator:this.errorBuilder(p.UnexpectedNumericSeparator)},this.errorHandlers_readCodePoint=Object.assign({},this.errorHandlers_readInt,{invalidEscapeSequence:this.errorBuilder(p.InvalidEscapeSequence),invalidCodePoint:this.errorBuilder(p.InvalidCodePoint)}),this.errorHandlers_readStringContents_string=Object.assign({},this.errorHandlers_readCodePoint,{strictNumericEscape:(s,i,r)=>{this.recordStrictModeErrors(p.StrictNumericEscape,{at:Ce(s,i,r)})},unterminated:(s,i,r)=>{throw this.raise(p.UnterminatedString,{at:Ce(s-1,i,r)})}}),this.errorHandlers_readStringContents_template=Object.assign({},this.errorHandlers_readCodePoint,{strictNumericEscape:this.errorBuilder(p.StrictNumericEscape),unterminated:(s,i,r)=>{throw this.raise(p.UnterminatedTemplate,{at:Ce(s,i,r)})}}),this.state=new kt,this.state.init(t),this.input=e,this.length=e.length,this.isLookahead=!1}pushToken(t){this.tokens.length=this.state.tokensLength,this.tokens.push(t),++this.state.tokensLength}next(){this.checkKeywordEscapes(),this.options.tokens&&this.pushToken(new O(this.state)),this.state.lastTokStart=this.state.start,this.state.lastTokEndLoc=this.state.endLoc,this.state.lastTokStartLoc=this.state.startLoc,this.nextToken()}eat(t){return this.match(t)?(this.next(),!0):!1}match(t){return this.state.type===t}createLookaheadState(t){return{pos:t.pos,value:null,type:t.type,start:t.start,end:t.end,context:[this.curContext()],inType:t.inType,startLoc:t.startLoc,lastTokEndLoc:t.lastTokEndLoc,curLine:t.curLine,lineStart:t.lineStart,curPosition:t.curPosition}}lookahead(){let t=this.state;this.state=this.createLookaheadState(t),this.isLookahead=!0,this.nextToken(),this.isLookahead=!1;let e=this.state;return this.state=t,e}nextTokenStart(){return this.nextTokenStartSince(this.state.pos)}nextTokenStartSince(t){return mt.lastIndex=t,mt.test(this.input)?mt.lastIndex:t}lookaheadCharCode(){return this.input.charCodeAt(this.nextTokenStart())}nextTokenInLineStart(){return this.nextTokenInLineStartSince(this.state.pos)}nextTokenInLineStartSince(t){return Ke.lastIndex=t,Ke.test(this.input)?Ke.lastIndex:t}lookaheadInLineCharCode(){return this.input.charCodeAt(this.nextTokenInLineStart())}codePointAtPos(t){let e=this.input.charCodeAt(t);if((e&64512)===55296&&++tthis.raise(e,{at:s})),this.state.strictErrors.clear())}curContext(){return this.state.context[this.state.context.length-1]}nextToken(){if(this.skipSpace(),this.state.start=this.state.pos,this.isLookahead||(this.state.startLoc=this.state.curPosition()),this.state.pos>=this.length){this.finishToken(137);return}this.getTokenFromCode(this.codePointAtPos(this.state.pos))}skipBlockComment(t){let e;this.isLookahead||(e=this.state.curPosition());let s=this.state.pos,i=this.input.indexOf(t,s+2);if(i===-1)throw this.raise(p.UnterminatedComment,{at:this.state.curPosition()});for(this.state.pos=i+t.length,je.lastIndex=s+2;je.test(this.input)&&je.lastIndex<=i;)++this.state.curLine,this.state.lineStart=je.lastIndex;if(this.isLookahead)return;let r={type:"CommentBlock",value:this.input.slice(s+2,i),start:s,end:i+t.length,loc:new fe(e,this.state.curPosition())};return this.options.tokens&&this.pushToken(r),r}skipLineComment(t){let e=this.state.pos,s;this.isLookahead||(s=this.state.curPosition());let i=this.input.charCodeAt(this.state.pos+=t);if(this.state.post)){let r=this.skipLineComment(3);r!==void 0&&(this.addComment(r),this.options.attachComment&&e.push(r))}else break e}else if(s===60&&!this.inModule&&this.options.annexB){let i=this.state.pos;if(this.input.charCodeAt(i+1)===33&&this.input.charCodeAt(i+2)===45&&this.input.charCodeAt(i+3)===45){let r=this.skipLineComment(4);r!==void 0&&(this.addComment(r),this.options.attachComment&&e.push(r))}else break e}else break e}}if(e.length>0){let s=this.state.pos,i={start:t,end:s,comments:e,leadingNode:null,trailingNode:null,containingNode:null};this.state.commentStack.push(i)}}finishToken(t,e){this.state.end=this.state.pos,this.state.endLoc=this.state.curPosition();let s=this.state.type;this.state.type=t,this.state.value=e,this.isLookahead||this.updateContext(s)}replaceToken(t){this.state.type=t,this.updateContext()}readToken_numberSign(){if(this.state.pos===0&&this.readToken_interpreter())return;let t=this.state.pos+1,e=this.codePointAtPos(t);if(e>=48&&e<=57)throw this.raise(p.UnexpectedDigitAfterHash,{at:this.state.curPosition()});if(e===123||e===91&&this.hasPlugin("recordAndTuple")){if(this.expectPlugin("recordAndTuple"),this.getPluginOption("recordAndTuple","syntaxType")==="bar")throw this.raise(e===123?p.RecordExpressionHashIncorrectStartSyntaxType:p.TupleExpressionHashIncorrectStartSyntaxType,{at:this.state.curPosition()});this.state.pos+=2,e===123?this.finishToken(7):this.finishToken(1)}else $(e)?(++this.state.pos,this.finishToken(136,this.readWord1(e))):e===92?(++this.state.pos,this.finishToken(136,this.readWord1())):this.finishOp(27,1)}readToken_dot(){let t=this.input.charCodeAt(this.state.pos+1);if(t>=48&&t<=57){this.readNumber(!0);return}t===46&&this.input.charCodeAt(this.state.pos+2)===46?(this.state.pos+=3,this.finishToken(21)):(++this.state.pos,this.finishToken(16))}readToken_slash(){this.input.charCodeAt(this.state.pos+1)===61?this.finishOp(31,2):this.finishOp(56,1)}readToken_interpreter(){if(this.state.pos!==0||this.length<2)return!1;let t=this.input.charCodeAt(this.state.pos+1);if(t!==33)return!1;let e=this.state.pos;for(this.state.pos+=1;!ke(t)&&++this.state.pos=48&&e<=57)?(this.state.pos+=2,this.finishToken(18)):(++this.state.pos,this.finishToken(17))}getTokenFromCode(t){switch(t){case 46:this.readToken_dot();return;case 40:++this.state.pos,this.finishToken(10);return;case 41:++this.state.pos,this.finishToken(11);return;case 59:++this.state.pos,this.finishToken(13);return;case 44:++this.state.pos,this.finishToken(12);return;case 91:if(this.hasPlugin("recordAndTuple")&&this.input.charCodeAt(this.state.pos+1)===124){if(this.getPluginOption("recordAndTuple","syntaxType")!=="bar")throw this.raise(p.TupleExpressionBarIncorrectStartSyntaxType,{at:this.state.curPosition()});this.state.pos+=2,this.finishToken(2)}else++this.state.pos,this.finishToken(0);return;case 93:++this.state.pos,this.finishToken(3);return;case 123:if(this.hasPlugin("recordAndTuple")&&this.input.charCodeAt(this.state.pos+1)===124){if(this.getPluginOption("recordAndTuple","syntaxType")!=="bar")throw this.raise(p.RecordExpressionBarIncorrectStartSyntaxType,{at:this.state.curPosition()});this.state.pos+=2,this.finishToken(6)}else++this.state.pos,this.finishToken(5);return;case 125:++this.state.pos,this.finishToken(8);return;case 58:this.hasPlugin("functionBind")&&this.input.charCodeAt(this.state.pos+1)===58?this.finishOp(15,2):(++this.state.pos,this.finishToken(14));return;case 63:this.readToken_question();return;case 96:this.readTemplateToken();return;case 48:{let e=this.input.charCodeAt(this.state.pos+1);if(e===120||e===88){this.readRadixNumber(16);return}if(e===111||e===79){this.readRadixNumber(8);return}if(e===98||e===66){this.readRadixNumber(2);return}}case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:this.readNumber(!1);return;case 34:case 39:this.readString(t);return;case 47:this.readToken_slash();return;case 37:case 42:this.readToken_mult_modulo(t);return;case 124:case 38:this.readToken_pipe_amp(t);return;case 94:this.readToken_caret();return;case 43:case 45:this.readToken_plus_min(t);return;case 60:this.readToken_lt();return;case 62:this.readToken_gt();return;case 61:case 33:this.readToken_eq_excl(t);return;case 126:this.finishOp(36,1);return;case 64:this.readToken_atSign();return;case 35:this.readToken_numberSign();return;case 92:this.readWord();return;default:if($(t)){this.readWord(t);return}}throw this.raise(p.InvalidOrUnexpectedToken,{at:this.state.curPosition(),unexpected:String.fromCodePoint(t)})}finishOp(t,e){let s=this.input.slice(this.state.pos,this.state.pos+e);this.state.pos+=e,this.finishToken(t,s)}readRegexp(){let t=this.state.startLoc,e=this.state.start+1,s,i,{pos:r}=this.state;for(;;++r){if(r>=this.length)throw this.raise(p.UnterminatedRegExp,{at:L(t,1)});let l=this.input.charCodeAt(r);if(ke(l))throw this.raise(p.UnterminatedRegExp,{at:L(t,1)});if(s)s=!1;else{if(l===91)i=!0;else if(l===93&&i)i=!1;else if(l===47&&!i)break;s=l===92}}let n=this.input.slice(e,r);++r;let o="",h=()=>L(t,r+2-e);for(;r=2&&this.input.charCodeAt(e)===48;if(l){let f=this.input.slice(e,this.state.pos);if(this.recordStrictModeErrors(p.StrictOctalLiteral,{at:s}),!this.state.strict){let x=f.indexOf("_");x>0&&this.raise(p.ZeroDigitNumericSeparator,{at:L(s,x)})}h=l&&!/[89]/.test(f)}let c=this.input.charCodeAt(this.state.pos);if(c===46&&!h&&(++this.state.pos,this.readInt(10),i=!0,c=this.input.charCodeAt(this.state.pos)),(c===69||c===101)&&!h&&(c=this.input.charCodeAt(++this.state.pos),(c===43||c===45)&&++this.state.pos,this.readInt(10)===null&&this.raise(p.InvalidOrMissingExponent,{at:s}),i=!0,o=!0,c=this.input.charCodeAt(this.state.pos)),c===110&&((i||l)&&this.raise(p.InvalidBigIntLiteral,{at:s}),++this.state.pos,r=!0),c===109&&(this.expectPlugin("decimal",this.state.curPosition()),(o||l)&&this.raise(p.InvalidDecimal,{at:s}),++this.state.pos,n=!0),$(this.codePointAtPos(this.state.pos)))throw this.raise(p.NumberIdentifier,{at:this.state.curPosition()});let u=this.input.slice(e,this.state.pos).replace(/[_mn]/g,"");if(r){this.finishToken(133,u);return}if(n){this.finishToken(134,u);return}let d=h?parseInt(u,8):parseFloat(u);this.finishToken(132,d)}readCodePoint(t){let{code:e,pos:s}=Hs(this.input,this.state.pos,this.state.lineStart,this.state.curLine,t,this.errorHandlers_readCodePoint);return this.state.pos=s,e}readString(t){let{str:e,pos:s,curLine:i,lineStart:r}=Ts(t===34?"double":"single",this.input,this.state.pos+1,this.state.lineStart,this.state.curLine,this.errorHandlers_readStringContents_string);this.state.pos=s+1,this.state.lineStart=r,this.state.curLine=i,this.finishToken(131,e)}readTemplateContinuation(){this.match(8)||this.unexpected(null,8),this.state.pos--,this.readTemplateToken()}readTemplateToken(){let t=this.input[this.state.pos],{str:e,firstInvalidLoc:s,pos:i,curLine:r,lineStart:n}=Ts("template",this.input,this.state.pos+1,this.state.lineStart,this.state.curLine,this.errorHandlers_readStringContents_template);this.state.pos=i+1,this.state.lineStart=n,this.state.curLine=r,s&&(this.state.firstInvalidTemplateEscapePos=new B(s.curLine,s.pos-s.lineStart,s.pos)),this.input.codePointAt(i)===96?this.finishToken(24,s?null:t+e+"`"):(this.state.pos++,this.finishToken(25,s?null:t+e+"${"))}recordStrictModeErrors(t,{at:e}){let s=e.index;this.state.strict&&!this.state.strictErrors.has(s)?this.raise(t,{at:e}):this.state.strictErrors.set(s,[t,e])}readWord1(t){this.state.containsEsc=!1;let e="",s=this.state.pos,i=this.state.pos;for(t!==void 0&&(this.state.pos+=t<=65535?1:2);this.state.pos=0;h--){let l=o[h];if(l.loc.index===n)return o[h]=t({loc:r,details:i});if(l.loc.indexthis.hasPlugin(e)))throw this.raise(p.MissingOneOfPlugins,{at:this.state.startLoc,missingPlugin:t})}errorBuilder(t){return(e,s,i)=>{this.raise(t,{at:Ce(e,s,i)})}}},Dt=class{constructor(){this.privateNames=new Set,this.loneAccessors=new Map,this.undefinedPrivateNames=new Map}},Mt=class{constructor(t){this.parser=void 0,this.stack=[],this.undefinedPrivateNames=new Map,this.parser=t}current(){return this.stack[this.stack.length-1]}enter(){this.stack.push(new Dt)}exit(){let t=this.stack.pop(),e=this.current();for(let[s,i]of Array.from(t.undefinedPrivateNames))e?e.undefinedPrivateNames.has(s)||e.undefinedPrivateNames.set(s,i):this.parser.raise(p.InvalidPrivateFieldResolution,{at:i,identifierName:s})}declarePrivateName(t,e,s){let{privateNames:i,loneAccessors:r,undefinedPrivateNames:n}=this.current(),o=i.has(t);if(e&ft){let h=o&&r.get(t);if(h){let l=h&Ze,c=e&Ze,u=h&ft,d=e&ft;o=u===d||l!==c,o||r.delete(t)}else o||r.set(t,e)}o&&this.parser.raise(p.PrivateNameRedeclaration,{at:s,identifierName:t}),i.add(t),n.delete(t)}usePrivateName(t,e){let s;for(s of this.stack)if(s.privateNames.has(t))return;s?s.undefinedPrivateNames.set(t,e):this.parser.raise(p.InvalidPrivateFieldResolution,{at:e,identifierName:t})}},Kr=0,Ws=1,ss=2,Js=3,de=class{constructor(t=Kr){this.type=void 0,this.type=t}canBeArrowParameterDeclaration(){return this.type===ss||this.type===Ws}isCertainlyParameterDeclaration(){return this.type===Js}},et=class extends de{constructor(t){super(t),this.declarationErrors=new Map}recordDeclarationError(t,{at:e}){let s=e.index;this.declarationErrors.set(s,[t,e])}clearDeclarationError(t){this.declarationErrors.delete(t)}iterateErrors(t){this.declarationErrors.forEach(t)}},Ot=class{constructor(t){this.parser=void 0,this.stack=[new de],this.parser=t}enter(t){this.stack.push(t)}exit(){this.stack.pop()}recordParameterInitializerError(t,{at:e}){let s={at:e.loc.start},{stack:i}=this,r=i.length-1,n=i[r];for(;!n.isCertainlyParameterDeclaration();){if(n.canBeArrowParameterDeclaration())n.recordDeclarationError(t,s);else return;n=i[--r]}this.parser.raise(t,s)}recordArrowParameterBindingError(t,{at:e}){let{stack:s}=this,i=s[s.length-1],r={at:e.loc.start};if(i.isCertainlyParameterDeclaration())this.parser.raise(t,r);else if(i.canBeArrowParameterDeclaration())i.recordDeclarationError(t,r);else return}recordAsyncArrowParametersError({at:t}){let{stack:e}=this,s=e.length-1,i=e[s];for(;i.canBeArrowParameterDeclaration();)i.type===ss&&i.recordDeclarationError(p.AwaitBindingIdentifier,{at:t}),i=e[--s]}validateAsPattern(){let{stack:t}=this,e=t[t.length-1];e.canBeArrowParameterDeclaration()&&e.iterateErrors(([s,i])=>{this.parser.raise(s,{at:i});let r=t.length-2,n=t[r];for(;n.canBeArrowParameterDeclaration();)n.clearDeclarationError(i.index),n=t[--r]})}};function qr(){return new de(Js)}function Hr(){return new et(Ws)}function Wr(){return new et(ss)}function Xs(){return new de}var pe=0,Gs=1,it=2,Ys=4,re=8,Bt=class{constructor(){this.stacks=[]}enter(t){this.stacks.push(t)}exit(){this.stacks.pop()}currentFlags(){return this.stacks[this.stacks.length-1]}get hasAwait(){return(this.currentFlags()&it)>0}get hasYield(){return(this.currentFlags()&Gs)>0}get hasReturn(){return(this.currentFlags()&Ys)>0}get hasIn(){return(this.currentFlags()&re)>0}};function qe(a,t){return(a?it:0)|(t?Gs:0)}var Ft=class extends Lt{addExtra(t,e,s,i=!0){if(!t)return;let r=t.extra=t.extra||{};i?r[e]=s:Object.defineProperty(r,e,{enumerable:i,value:s})}isContextual(t){return this.state.type===t&&!this.state.containsEsc}isUnparsedContextual(t,e){let s=t+e.length;if(this.input.slice(t,s)===e){let i=this.input.charCodeAt(s);return!(he(i)||(i&64512)===55296)}return!1}isLookaheadContextual(t){let e=this.nextTokenStart();return this.isUnparsedContextual(e,t)}eatContextual(t){return this.isContextual(t)?(this.next(),!0):!1}expectContextual(t,e){if(!this.eatContextual(t)){if(e!=null)throw this.raise(e,{at:this.state.startLoc});this.unexpected(null,t)}}canInsertSemicolon(){return this.match(137)||this.match(8)||this.hasPrecedingLineBreak()}hasPrecedingLineBreak(){return Ks.test(this.input.slice(this.state.lastTokEndLoc.index,this.state.start))}hasFollowingLineBreak(){return xs.lastIndex=this.state.end,xs.test(this.input)}isLineTerminator(){return this.eat(13)||this.canInsertSemicolon()}semicolon(t=!0){(t?this.isLineTerminator():this.eat(13))||this.raise(p.MissingSemicolon,{at:this.state.lastTokEndLoc})}expect(t,e){this.eat(t)||this.unexpected(e,t)}tryParse(t,e=this.state.clone()){let s={node:null};try{let i=t((r=null)=>{throw s.node=r,s});if(this.state.errors.length>e.errors.length){let r=this.state;return this.state=e,this.state.tokensLength=r.tokensLength,{node:i,error:r.errors[e.errors.length],thrown:!1,aborted:!1,failState:r}}return{node:i,error:null,thrown:!1,aborted:!1,failState:null}}catch(i){let r=this.state;if(this.state=e,i instanceof SyntaxError)return{node:null,error:i,thrown:!0,aborted:!1,failState:r};if(i===s)return{node:s.node,error:null,thrown:!1,aborted:!0,failState:r};throw i}}checkExpressionErrors(t,e){if(!t)return!1;let{shorthandAssignLoc:s,doubleProtoLoc:i,privateKeyLoc:r,optionalParametersLoc:n}=t,o=!!s||!!i||!!n||!!r;if(!e)return o;s!=null&&this.raise(p.InvalidCoverInitializedName,{at:s}),i!=null&&this.raise(p.DuplicateProto,{at:i}),r!=null&&this.raise(p.UnexpectedPrivateField,{at:r}),n!=null&&this.unexpected(n)}isLiteralPropertyName(){return ks(this.state.type)}isPrivateName(t){return t.type==="PrivateName"}getPrivateNameSV(t){return t.id.name}hasPropertyAsPrivateName(t){return(t.type==="MemberExpression"||t.type==="OptionalMemberExpression")&&this.isPrivateName(t.property)}isObjectProperty(t){return t.type==="ObjectProperty"}isObjectMethod(t){return t.type==="ObjectMethod"}initializeScopes(t=this.options.sourceType==="module"){let e=this.state.labels;this.state.labels=[];let s=this.exportedIdentifiers;this.exportedIdentifiers=new Set;let i=this.inModule;this.inModule=t;let r=this.scope,n=this.getScopeHandler();this.scope=new n(this,t);let o=this.prodParam;this.prodParam=new Bt;let h=this.classScope;this.classScope=new Mt(this);let l=this.expressionScope;return this.expressionScope=new Ot(this),()=>{this.state.labels=e,this.exportedIdentifiers=s,this.inModule=i,this.scope=r,this.prodParam=o,this.classScope=h,this.expressionScope=l}}enterInitialScopes(){let t=pe;this.inModule&&(t|=it),this.scope.enter(ne),this.prodParam.enter(t)}checkDestructuringPrivate(t){let{privateKeyLoc:e}=t;e!==null&&this.expectPlugin("destructuringPrivate",e)}},ue=class{constructor(){this.shorthandAssignLoc=null,this.doubleProtoLoc=null,this.privateKeyLoc=null,this.optionalParametersLoc=null}},me=class{constructor(t,e,s){this.type="",this.start=e,this.end=0,this.loc=new fe(s),t!=null&&t.options.ranges&&(this.range=[e,0]),t!=null&&t.filename&&(this.loc.filename=t.filename)}},is=me.prototype;is.__clone=function(){let a=new me(void 0,this.start,this.loc.start),t=Object.keys(this);for(let e=0,s=t.length;e`Cannot overwrite reserved type ${a}.`,DeclareClassElement:"The `declare` modifier can only appear on class fields.",DeclareClassFieldInitializer:"Initializers are not allowed in fields with the `declare` modifier.",DuplicateDeclareModuleExports:"Duplicate `declare module.exports` statement.",EnumBooleanMemberNotInitialized:({memberName:a,enumName:t})=>`Boolean enum members need to be initialized. Use either \`${a} = true,\` or \`${a} = false,\` in enum \`${t}\`.`,EnumDuplicateMemberName:({memberName:a,enumName:t})=>`Enum member names need to be unique, but the name \`${a}\` has already been used before in enum \`${t}\`.`,EnumInconsistentMemberValues:({enumName:a})=>`Enum \`${a}\` has inconsistent member initializers. Either use no initializers, or consistently use literals (either booleans, numbers, or strings) for all member initializers.`,EnumInvalidExplicitType:({invalidEnumType:a,enumName:t})=>`Enum type \`${a}\` is not valid. Use one of \`boolean\`, \`number\`, \`string\`, or \`symbol\` in enum \`${t}\`.`,EnumInvalidExplicitTypeUnknownSupplied:({enumName:a})=>`Supplied enum type is not valid. Use one of \`boolean\`, \`number\`, \`string\`, or \`symbol\` in enum \`${a}\`.`,EnumInvalidMemberInitializerPrimaryType:({enumName:a,memberName:t,explicitType:e})=>`Enum \`${a}\` has type \`${e}\`, so the initializer of \`${t}\` needs to be a ${e} literal.`,EnumInvalidMemberInitializerSymbolType:({enumName:a,memberName:t})=>`Symbol enum members cannot be initialized. Use \`${t},\` in enum \`${a}\`.`,EnumInvalidMemberInitializerUnknownType:({enumName:a,memberName:t})=>`The enum member initializer for \`${t}\` needs to be a literal (either a boolean, number, or string) in enum \`${a}\`.`,EnumInvalidMemberName:({enumName:a,memberName:t,suggestion:e})=>`Enum member names cannot start with lowercase 'a' through 'z'. Instead of using \`${t}\`, consider using \`${e}\`, in enum \`${a}\`.`,EnumNumberMemberNotInitialized:({enumName:a,memberName:t})=>`Number enum members need to be initialized, e.g. \`${t} = 1\` in enum \`${a}\`.`,EnumStringMemberInconsistentlyInitailized:({enumName:a})=>`String enum members need to consistently either all use initializers, or use no initializers, in enum \`${a}\`.`,GetterMayNotHaveThisParam:"A getter cannot have a `this` parameter.",ImportReflectionHasImportType:"An `import module` declaration can not use `type` or `typeof` keyword.",ImportTypeShorthandOnlyInPureImport:"The `type` and `typeof` keywords on named imports can only be used on regular `import` statements. It cannot be used with `import type` or `import typeof` statements.",InexactInsideExact:"Explicit inexact syntax cannot appear inside an explicit exact object type.",InexactInsideNonObject:"Explicit inexact syntax cannot appear in class or interface definitions.",InexactVariance:"Explicit inexact syntax cannot have variance.",InvalidNonTypeImportInDeclareModule:"Imports within a `declare module` body must always be `import type` or `import typeof`.",MissingTypeParamDefault:"Type parameter declaration needs a default, since a preceding type parameter declaration has a default.",NestedDeclareModule:"`declare module` cannot be used inside another `declare module`.",NestedFlowComment:"Cannot have a flow comment inside another flow comment.",PatternIsOptional:Object.assign({message:"A binding pattern parameter cannot be optional in an implementation signature."},{reasonCode:"OptionalBindingPattern"}),SetterMayNotHaveThisParam:"A setter cannot have a `this` parameter.",SpreadVariance:"Spread properties cannot have variance.",ThisParamAnnotationRequired:"A type annotation is required for the `this` parameter.",ThisParamBannedInConstructor:"Constructors cannot have a `this` parameter; constructors don't bind `this` like other functions.",ThisParamMayNotBeOptional:"The `this` parameter cannot be optional.",ThisParamMustBeFirst:"The `this` parameter must be the first function parameter.",ThisParamNoDefault:"The `this` parameter may not have a default value.",TypeBeforeInitializer:"Type annotations must come before default assignments, e.g. instead of `age = 25: number` use `age: number = 25`.",TypeCastInPattern:"The type cast expression is expected to be wrapped with parenthesis.",UnexpectedExplicitInexactInObject:"Explicit inexact syntax must appear at the end of an inexact object.",UnexpectedReservedType:({reservedType:a})=>`Unexpected reserved type ${a}.`,UnexpectedReservedUnderscore:"`_` is only allowed as a type argument to call or new.",UnexpectedSpaceBetweenModuloChecks:"Spaces between `%` and `checks` are not allowed here.",UnexpectedSpreadType:"Spread operator cannot appear in class or interface definitions.",UnexpectedSubtractionOperand:'Unexpected token, expected "number" or "bigint".',UnexpectedTokenAfterTypeParameter:"Expected an arrow function after this type parameter declaration.",UnexpectedTypeParameterBeforeAsyncArrowFunction:"Type parameters must come after the async keyword, e.g. instead of ` async () => {}`, use `async () => {}`.",UnsupportedDeclareExportKind:({unsupportedExportKind:a,suggestion:t})=>`\`declare export ${a}\` is not supported. Use \`${t}\` instead.`,UnsupportedStatementInDeclareModule:"Only declares and type imports are allowed inside declare module.",UnterminatedFlowComment:"Unterminated flow-comment."});function Yr(a){return a.type==="DeclareExportAllDeclaration"||a.type==="DeclareExportDeclaration"&&(!a.declaration||a.declaration.type!=="TypeAlias"&&a.declaration.type!=="InterfaceDeclaration")}function gs(a){return a.importKind==="type"||a.importKind==="typeof"}var Qr={const:"declare export var",let:"declare export var",type:"export type",interface:"export interface"};function Zr(a,t){let e=[],s=[];for(let i=0;iclass extends a{constructor(...e){super(...e),this.flowPragma=void 0}getScopeHandler(){return wt}shouldParseTypes(){return this.getPluginOption("flow","all")||this.flowPragma==="flow"}shouldParseEnums(){return!!this.getPluginOption("flow","enums")}finishToken(e,s){e!==131&&e!==13&&e!==28&&this.flowPragma===void 0&&(this.flowPragma=null),super.finishToken(e,s)}addComment(e){if(this.flowPragma===void 0){let s=ea.exec(e.value);if(s)if(s[1]==="flow")this.flowPragma="flow";else if(s[1]==="noflow")this.flowPragma="noflow";else throw new Error("Unexpected flow pragma")}super.addComment(e)}flowParseTypeInitialiser(e){let s=this.state.inType;this.state.inType=!0,this.expect(e||14);let i=this.flowParseType();return this.state.inType=s,i}flowParsePredicate(){let e=this.startNode(),s=this.state.startLoc;return this.next(),this.expectContextual(108),this.state.lastTokStart>s.index+1&&this.raise(T.UnexpectedSpaceBetweenModuloChecks,{at:s}),this.eat(10)?(e.value=super.parseExpression(),this.expect(11),this.finishNode(e,"DeclaredPredicate")):this.finishNode(e,"InferredPredicate")}flowParseTypeAndPredicateInitialiser(){let e=this.state.inType;this.state.inType=!0,this.expect(14);let s=null,i=null;return this.match(54)?(this.state.inType=e,i=this.flowParsePredicate()):(s=this.flowParseType(),this.state.inType=e,this.match(54)&&(i=this.flowParsePredicate())),[s,i]}flowParseDeclareClass(e){return this.next(),this.flowParseInterfaceish(e,!0),this.finishNode(e,"DeclareClass")}flowParseDeclareFunction(e){this.next();let s=e.id=this.parseIdentifier(),i=this.startNode(),r=this.startNode();this.match(47)?i.typeParameters=this.flowParseTypeParameterDeclaration():i.typeParameters=null,this.expect(10);let n=this.flowParseFunctionTypeParams();return i.params=n.params,i.rest=n.rest,i.this=n._this,this.expect(11),[i.returnType,e.predicate]=this.flowParseTypeAndPredicateInitialiser(),r.typeAnnotation=this.finishNode(i,"FunctionTypeAnnotation"),s.typeAnnotation=this.finishNode(r,"TypeAnnotation"),this.resetEndLocation(s),this.semicolon(),this.scope.declareName(e.id.name,Lr,e.id.loc.start),this.finishNode(e,"DeclareFunction")}flowParseDeclare(e,s){if(this.match(80))return this.flowParseDeclareClass(e);if(this.match(68))return this.flowParseDeclareFunction(e);if(this.match(74))return this.flowParseDeclareVariable(e);if(this.eatContextual(125))return this.match(16)?this.flowParseDeclareModuleExports(e):(s&&this.raise(T.NestedDeclareModule,{at:this.state.lastTokStartLoc}),this.flowParseDeclareModule(e));if(this.isContextual(128))return this.flowParseDeclareTypeAlias(e);if(this.isContextual(129))return this.flowParseDeclareOpaqueType(e);if(this.isContextual(127))return this.flowParseDeclareInterface(e);if(this.match(82))return this.flowParseDeclareExportDeclaration(e,s);this.unexpected()}flowParseDeclareVariable(e){return this.next(),e.id=this.flowParseTypeAnnotatableIdentifier(!0),this.scope.declareName(e.id.name,Qe,e.id.loc.start),this.semicolon(),this.finishNode(e,"DeclareVariable")}flowParseDeclareModule(e){this.scope.enter(ae),this.match(131)?e.id=super.parseExprAtom():e.id=this.parseIdentifier();let s=e.body=this.startNode(),i=s.body=[];for(this.expect(5);!this.match(8);){let o=this.startNode();this.match(83)?(this.next(),!this.isContextual(128)&&!this.match(87)&&this.raise(T.InvalidNonTypeImportInDeclareModule,{at:this.state.lastTokStartLoc}),super.parseImport(o)):(this.expectContextual(123,T.UnsupportedStatementInDeclareModule),o=this.flowParseDeclare(o,!0)),i.push(o)}this.scope.exit(),this.expect(8),this.finishNode(s,"BlockStatement");let r=null,n=!1;return i.forEach(o=>{Yr(o)?(r==="CommonJS"&&this.raise(T.AmbiguousDeclareModuleKind,{at:o}),r="ES"):o.type==="DeclareModuleExports"&&(n&&this.raise(T.DuplicateDeclareModuleExports,{at:o}),r==="ES"&&this.raise(T.AmbiguousDeclareModuleKind,{at:o}),r="CommonJS",n=!0)}),e.kind=r||"CommonJS",this.finishNode(e,"DeclareModule")}flowParseDeclareExportDeclaration(e,s){if(this.expect(82),this.eat(65))return this.match(68)||this.match(80)?e.declaration=this.flowParseDeclare(this.startNode()):(e.declaration=this.flowParseType(),this.semicolon()),e.default=!0,this.finishNode(e,"DeclareExportDeclaration");if(this.match(75)||this.isLet()||(this.isContextual(128)||this.isContextual(127))&&!s){let i=this.state.value;throw this.raise(T.UnsupportedDeclareExportKind,{at:this.state.startLoc,unsupportedExportKind:i,suggestion:Qr[i]})}if(this.match(74)||this.match(68)||this.match(80)||this.isContextual(129))return e.declaration=this.flowParseDeclare(this.startNode()),e.default=!1,this.finishNode(e,"DeclareExportDeclaration");if(this.match(55)||this.match(5)||this.isContextual(127)||this.isContextual(128)||this.isContextual(129))return e=this.parseExport(e,null),e.type==="ExportNamedDeclaration"&&(e.type="ExportDeclaration",e.default=!1,delete e.exportKind),e.type="Declare"+e.type,e;this.unexpected()}flowParseDeclareModuleExports(e){return this.next(),this.expectContextual(109),e.typeAnnotation=this.flowParseTypeAnnotation(),this.semicolon(),this.finishNode(e,"DeclareModuleExports")}flowParseDeclareTypeAlias(e){this.next();let s=this.flowParseTypeAlias(e);return s.type="DeclareTypeAlias",s}flowParseDeclareOpaqueType(e){this.next();let s=this.flowParseOpaqueType(e,!0);return s.type="DeclareOpaqueType",s}flowParseDeclareInterface(e){return this.next(),this.flowParseInterfaceish(e,!1),this.finishNode(e,"DeclareInterface")}flowParseInterfaceish(e,s){if(e.id=this.flowParseRestrictedIdentifier(!s,!0),this.scope.declareName(e.id.name,s?$s:ce,e.id.loc.start),this.match(47)?e.typeParameters=this.flowParseTypeParameterDeclaration():e.typeParameters=null,e.extends=[],this.eat(81))do e.extends.push(this.flowParseInterfaceExtends());while(!s&&this.eat(12));if(s){if(e.implements=[],e.mixins=[],this.eatContextual(115))do e.mixins.push(this.flowParseInterfaceExtends());while(this.eat(12));if(this.eatContextual(111))do e.implements.push(this.flowParseInterfaceExtends());while(this.eat(12))}e.body=this.flowParseObjectType({allowStatic:s,allowExact:!1,allowSpread:!1,allowProto:s,allowInexact:!1})}flowParseInterfaceExtends(){let e=this.startNode();return e.id=this.flowParseQualifiedTypeIdentifier(),this.match(47)?e.typeParameters=this.flowParseTypeParameterInstantiation():e.typeParameters=null,this.finishNode(e,"InterfaceExtends")}flowParseInterface(e){return this.flowParseInterfaceish(e,!1),this.finishNode(e,"InterfaceDeclaration")}checkNotUnderscore(e){e==="_"&&this.raise(T.UnexpectedReservedUnderscore,{at:this.state.startLoc})}checkReservedType(e,s,i){Gr.has(e)&&this.raise(i?T.AssignReservedType:T.UnexpectedReservedType,{at:s,reservedType:e})}flowParseRestrictedIdentifier(e,s){return this.checkReservedType(this.state.value,this.state.startLoc,s),this.parseIdentifier(e)}flowParseTypeAlias(e){return e.id=this.flowParseRestrictedIdentifier(!1,!0),this.scope.declareName(e.id.name,ce,e.id.loc.start),this.match(47)?e.typeParameters=this.flowParseTypeParameterDeclaration():e.typeParameters=null,e.right=this.flowParseTypeInitialiser(29),this.semicolon(),this.finishNode(e,"TypeAlias")}flowParseOpaqueType(e,s){return this.expectContextual(128),e.id=this.flowParseRestrictedIdentifier(!0,!0),this.scope.declareName(e.id.name,ce,e.id.loc.start),this.match(47)?e.typeParameters=this.flowParseTypeParameterDeclaration():e.typeParameters=null,e.supertype=null,this.match(14)&&(e.supertype=this.flowParseTypeInitialiser(14)),e.impltype=null,s||(e.impltype=this.flowParseTypeInitialiser(29)),this.semicolon(),this.finishNode(e,"OpaqueType")}flowParseTypeParameter(e=!1){let s=this.state.startLoc,i=this.startNode(),r=this.flowParseVariance(),n=this.flowParseTypeAnnotatableIdentifier();return i.name=n.name,i.variance=r,i.bound=n.typeAnnotation,this.match(29)?(this.eat(29),i.default=this.flowParseType()):e&&this.raise(T.MissingTypeParamDefault,{at:s}),this.finishNode(i,"TypeParameter")}flowParseTypeParameterDeclaration(){let e=this.state.inType,s=this.startNode();s.params=[],this.state.inType=!0,this.match(47)||this.match(140)?this.next():this.unexpected();let i=!1;do{let r=this.flowParseTypeParameter(i);s.params.push(r),r.default&&(i=!0),this.match(48)||this.expect(12)}while(!this.match(48));return this.expect(48),this.state.inType=e,this.finishNode(s,"TypeParameterDeclaration")}flowParseTypeParameterInstantiation(){let e=this.startNode(),s=this.state.inType;e.params=[],this.state.inType=!0,this.expect(47);let i=this.state.noAnonFunctionType;for(this.state.noAnonFunctionType=!1;!this.match(48);)e.params.push(this.flowParseType()),this.match(48)||this.expect(12);return this.state.noAnonFunctionType=i,this.expect(48),this.state.inType=s,this.finishNode(e,"TypeParameterInstantiation")}flowParseTypeParameterInstantiationCallOrNew(){let e=this.startNode(),s=this.state.inType;for(e.params=[],this.state.inType=!0,this.expect(47);!this.match(48);)e.params.push(this.flowParseTypeOrImplicitInstantiation()),this.match(48)||this.expect(12);return this.expect(48),this.state.inType=s,this.finishNode(e,"TypeParameterInstantiation")}flowParseInterfaceType(){let e=this.startNode();if(this.expectContextual(127),e.extends=[],this.eat(81))do e.extends.push(this.flowParseInterfaceExtends());while(this.eat(12));return e.body=this.flowParseObjectType({allowStatic:!1,allowExact:!1,allowSpread:!1,allowProto:!1,allowInexact:!1}),this.finishNode(e,"InterfaceTypeAnnotation")}flowParseObjectPropertyKey(){return this.match(132)||this.match(131)?super.parseExprAtom():this.parseIdentifier(!0)}flowParseObjectTypeIndexer(e,s,i){return e.static=s,this.lookahead().type===14?(e.id=this.flowParseObjectPropertyKey(),e.key=this.flowParseTypeInitialiser()):(e.id=null,e.key=this.flowParseType()),this.expect(3),e.value=this.flowParseTypeInitialiser(),e.variance=i,this.finishNode(e,"ObjectTypeIndexer")}flowParseObjectTypeInternalSlot(e,s){return e.static=s,e.id=this.flowParseObjectPropertyKey(),this.expect(3),this.expect(3),this.match(47)||this.match(10)?(e.method=!0,e.optional=!1,e.value=this.flowParseObjectTypeMethodish(this.startNodeAt(e.loc.start))):(e.method=!1,this.eat(17)&&(e.optional=!0),e.value=this.flowParseTypeInitialiser()),this.finishNode(e,"ObjectTypeInternalSlot")}flowParseObjectTypeMethodish(e){for(e.params=[],e.rest=null,e.typeParameters=null,e.this=null,this.match(47)&&(e.typeParameters=this.flowParseTypeParameterDeclaration()),this.expect(10),this.match(78)&&(e.this=this.flowParseFunctionTypeParam(!0),e.this.name=null,this.match(11)||this.expect(12));!this.match(11)&&!this.match(21);)e.params.push(this.flowParseFunctionTypeParam(!1)),this.match(11)||this.expect(12);return this.eat(21)&&(e.rest=this.flowParseFunctionTypeParam(!1)),this.expect(11),e.returnType=this.flowParseTypeInitialiser(),this.finishNode(e,"FunctionTypeAnnotation")}flowParseObjectTypeCallProperty(e,s){let i=this.startNode();return e.static=s,e.value=this.flowParseObjectTypeMethodish(i),this.finishNode(e,"ObjectTypeCallProperty")}flowParseObjectType({allowStatic:e,allowExact:s,allowSpread:i,allowProto:r,allowInexact:n}){let o=this.state.inType;this.state.inType=!0;let h=this.startNode();h.callProperties=[],h.properties=[],h.indexers=[],h.internalSlots=[];let l,c,u=!1;for(s&&this.match(6)?(this.expect(6),l=9,c=!0):(this.expect(5),l=8,c=!1),h.exact=c;!this.match(l);){let f=!1,x=null,I=null,C=this.startNode();if(r&&this.isContextual(116)){let N=this.lookahead();N.type!==14&&N.type!==17&&(this.next(),x=this.state.startLoc,e=!1)}if(e&&this.isContextual(104)){let N=this.lookahead();N.type!==14&&N.type!==17&&(this.next(),f=!0)}let w=this.flowParseVariance();if(this.eat(0))x!=null&&this.unexpected(x),this.eat(0)?(w&&this.unexpected(w.loc.start),h.internalSlots.push(this.flowParseObjectTypeInternalSlot(C,f))):h.indexers.push(this.flowParseObjectTypeIndexer(C,f,w));else if(this.match(10)||this.match(47))x!=null&&this.unexpected(x),w&&this.unexpected(w.loc.start),h.callProperties.push(this.flowParseObjectTypeCallProperty(C,f));else{let N="init";if(this.isContextual(98)||this.isContextual(103)){let be=this.lookahead();ks(be.type)&&(N=this.state.value,this.next())}let Re=this.flowParseObjectTypeProperty(C,f,x,w,N,i,n??!c);Re===null?(u=!0,I=this.state.lastTokStartLoc):h.properties.push(Re)}this.flowObjectTypeSemicolon(),I&&!this.match(8)&&!this.match(9)&&this.raise(T.UnexpectedExplicitInexactInObject,{at:I})}this.expect(l),i&&(h.inexact=u);let d=this.finishNode(h,"ObjectTypeAnnotation");return this.state.inType=o,d}flowParseObjectTypeProperty(e,s,i,r,n,o,h){if(this.eat(21))return this.match(12)||this.match(13)||this.match(8)||this.match(9)?(o?h||this.raise(T.InexactInsideExact,{at:this.state.lastTokStartLoc}):this.raise(T.InexactInsideNonObject,{at:this.state.lastTokStartLoc}),r&&this.raise(T.InexactVariance,{at:r}),null):(o||this.raise(T.UnexpectedSpreadType,{at:this.state.lastTokStartLoc}),i!=null&&this.unexpected(i),r&&this.raise(T.SpreadVariance,{at:r}),e.argument=this.flowParseType(),this.finishNode(e,"ObjectTypeSpreadProperty"));{e.key=this.flowParseObjectPropertyKey(),e.static=s,e.proto=i!=null,e.kind=n;let l=!1;return this.match(47)||this.match(10)?(e.method=!0,i!=null&&this.unexpected(i),r&&this.unexpected(r.loc.start),e.value=this.flowParseObjectTypeMethodish(this.startNodeAt(e.loc.start)),(n==="get"||n==="set")&&this.flowCheckGetterSetterParams(e),!o&&e.key.name==="constructor"&&e.value.this&&this.raise(T.ThisParamBannedInConstructor,{at:e.value.this})):(n!=="init"&&this.unexpected(),e.method=!1,this.eat(17)&&(l=!0),e.value=this.flowParseTypeInitialiser(),e.variance=r),e.optional=l,this.finishNode(e,"ObjectTypeProperty")}}flowCheckGetterSetterParams(e){let s=e.kind==="get"?0:1,i=e.value.params.length+(e.value.rest?1:0);e.value.this&&this.raise(e.kind==="get"?T.GetterMayNotHaveThisParam:T.SetterMayNotHaveThisParam,{at:e.value.this}),i!==s&&this.raise(e.kind==="get"?p.BadGetterArity:p.BadSetterArity,{at:e}),e.kind==="set"&&e.value.rest&&this.raise(p.BadSetterRestParameter,{at:e})}flowObjectTypeSemicolon(){!this.eat(13)&&!this.eat(12)&&!this.match(8)&&!this.match(9)&&this.unexpected()}flowParseQualifiedTypeIdentifier(e,s){var i;(i=e)!=null||(e=this.state.startLoc);let r=s||this.flowParseRestrictedIdentifier(!0);for(;this.eat(16);){let n=this.startNodeAt(e);n.qualification=r,n.id=this.flowParseRestrictedIdentifier(!0),r=this.finishNode(n,"QualifiedTypeIdentifier")}return r}flowParseGenericType(e,s){let i=this.startNodeAt(e);return i.typeParameters=null,i.id=this.flowParseQualifiedTypeIdentifier(e,s),this.match(47)&&(i.typeParameters=this.flowParseTypeParameterInstantiation()),this.finishNode(i,"GenericTypeAnnotation")}flowParseTypeofType(){let e=this.startNode();return this.expect(87),e.argument=this.flowParsePrimaryType(),this.finishNode(e,"TypeofTypeAnnotation")}flowParseTupleType(){let e=this.startNode();for(e.types=[],this.expect(0);this.state.possuper.parseFunctionBody(e,!0,i));return}super.parseFunctionBody(e,!1,i)}parseFunctionBodyAndFinish(e,s,i=!1){if(this.match(14)){let r=this.startNode();[r.typeAnnotation,e.predicate]=this.flowParseTypeAndPredicateInitialiser(),e.returnType=r.typeAnnotation?this.finishNode(r,"TypeAnnotation"):null}return super.parseFunctionBodyAndFinish(e,s,i)}parseStatementLike(e){if(this.state.strict&&this.isContextual(127)){let i=this.lookahead();if(M(i.type)){let r=this.startNode();return this.next(),this.flowParseInterface(r)}}else if(this.shouldParseEnums()&&this.isContextual(124)){let i=this.startNode();return this.next(),this.flowParseEnumDeclaration(i)}let s=super.parseStatementLike(e);return this.flowPragma===void 0&&!this.isValidDirective(s)&&(this.flowPragma=null),s}parseExpressionStatement(e,s,i){if(s.type==="Identifier"){if(s.name==="declare"){if(this.match(80)||S(this.state.type)||this.match(68)||this.match(74)||this.match(82))return this.flowParseDeclare(e)}else if(S(this.state.type)){if(s.name==="interface")return this.flowParseInterface(e);if(s.name==="type")return this.flowParseTypeAlias(e);if(s.name==="opaque")return this.flowParseOpaqueType(e,!1)}}return super.parseExpressionStatement(e,s,i)}shouldParseExportDeclaration(){let{type:e}=this.state;return ds(e)||this.shouldParseEnums()&&e===124?!this.state.containsEsc:super.shouldParseExportDeclaration()}isExportDefaultSpecifier(){let{type:e}=this.state;return ds(e)||this.shouldParseEnums()&&e===124?this.state.containsEsc:super.isExportDefaultSpecifier()}parseExportDefaultExpression(){if(this.shouldParseEnums()&&this.isContextual(124)){let e=this.startNode();return this.next(),this.flowParseEnumDeclaration(e)}return super.parseExportDefaultExpression()}parseConditional(e,s,i){if(!this.match(17))return e;if(this.state.maybeInArrowParameters){let d=this.lookaheadCharCode();if(d===44||d===61||d===58||d===41)return this.setOptionalParametersError(i),e}this.expect(17);let r=this.state.clone(),n=this.state.noArrowAt,o=this.startNodeAt(s),{consequent:h,failed:l}=this.tryParseConditionalConsequent(),[c,u]=this.getArrowLikeExpressions(h);if(l||u.length>0){let d=[...n];if(u.length>0){this.state=r,this.state.noArrowAt=d;for(let f=0;f1&&this.raise(T.AmbiguousConditionalArrow,{at:r.startLoc}),l&&c.length===1&&(this.state=r,d.push(c[0].start),this.state.noArrowAt=d,{consequent:h,failed:l}=this.tryParseConditionalConsequent())}return this.getArrowLikeExpressions(h,!0),this.state.noArrowAt=n,this.expect(14),o.test=e,o.consequent=h,o.alternate=this.forwardNoArrowParamsConversionAt(o,()=>this.parseMaybeAssign(void 0,void 0)),this.finishNode(o,"ConditionalExpression")}tryParseConditionalConsequent(){this.state.noArrowParamsConversionAt.push(this.state.start);let e=this.parseMaybeAssignAllowIn(),s=!this.match(14);return this.state.noArrowParamsConversionAt.pop(),{consequent:e,failed:s}}getArrowLikeExpressions(e,s){let i=[e],r=[];for(;i.length!==0;){let n=i.pop();n.type==="ArrowFunctionExpression"?(n.typeParameters||!n.returnType?this.finishArrowValidation(n):r.push(n),i.push(n.body)):n.type==="ConditionalExpression"&&(i.push(n.consequent),i.push(n.alternate))}return s?(r.forEach(n=>this.finishArrowValidation(n)),[r,[]]):Zr(r,n=>n.params.every(o=>this.isAssignable(o,!0)))}finishArrowValidation(e){var s;this.toAssignableList(e.params,(s=e.extra)==null?void 0:s.trailingCommaLoc,!1),this.scope.enter(z|Qt),super.checkParams(e,!1,!0),this.scope.exit()}forwardNoArrowParamsConversionAt(e,s){let i;return this.state.noArrowParamsConversionAt.indexOf(e.start)!==-1?(this.state.noArrowParamsConversionAt.push(this.state.start),i=s(),this.state.noArrowParamsConversionAt.pop()):i=s(),i}parseParenItem(e,s){if(e=super.parseParenItem(e,s),this.eat(17)&&(e.optional=!0,this.resetEndLocation(e)),this.match(14)){let i=this.startNodeAt(s);return i.expression=e,i.typeAnnotation=this.flowParseTypeAnnotation(),this.finishNode(i,"TypeCastExpression")}return e}assertModuleNodeAllowed(e){e.type==="ImportDeclaration"&&(e.importKind==="type"||e.importKind==="typeof")||e.type==="ExportNamedDeclaration"&&e.exportKind==="type"||e.type==="ExportAllDeclaration"&&e.exportKind==="type"||super.assertModuleNodeAllowed(e)}parseExportDeclaration(e){if(this.isContextual(128)){e.exportKind="type";let s=this.startNode();return this.next(),this.match(5)?(e.specifiers=this.parseExportSpecifiers(!0),super.parseExportFrom(e),null):this.flowParseTypeAlias(s)}else if(this.isContextual(129)){e.exportKind="type";let s=this.startNode();return this.next(),this.flowParseOpaqueType(s,!1)}else if(this.isContextual(127)){e.exportKind="type";let s=this.startNode();return this.next(),this.flowParseInterface(s)}else if(this.shouldParseEnums()&&this.isContextual(124)){e.exportKind="value";let s=this.startNode();return this.next(),this.flowParseEnumDeclaration(s)}else return super.parseExportDeclaration(e)}eatExportStar(e){return super.eatExportStar(e)?!0:this.isContextual(128)&&this.lookahead().type===55?(e.exportKind="type",this.next(),this.next(),!0):!1}maybeParseExportNamespaceSpecifier(e){let{startLoc:s}=this.state,i=super.maybeParseExportNamespaceSpecifier(e);return i&&e.exportKind==="type"&&this.unexpected(s),i}parseClassId(e,s,i){super.parseClassId(e,s,i),this.match(47)&&(e.typeParameters=this.flowParseTypeParameterDeclaration())}parseClassMember(e,s,i){let{startLoc:r}=this.state;if(this.isContextual(123)){if(super.parseClassMemberFromModifier(e,s))return;s.declare=!0}super.parseClassMember(e,s,i),s.declare&&(s.type!=="ClassProperty"&&s.type!=="ClassPrivateProperty"&&s.type!=="PropertyDefinition"?this.raise(T.DeclareClassElement,{at:r}):s.value&&this.raise(T.DeclareClassFieldInitializer,{at:s.value}))}isIterator(e){return e==="iterator"||e==="asyncIterator"}readIterator(){let e=super.readWord1(),s="@@"+e;(!this.isIterator(e)||!this.state.inType)&&this.raise(p.InvalidIdentifier,{at:this.state.curPosition(),identifierName:s}),this.finishToken(130,s)}getTokenFromCode(e){let s=this.input.charCodeAt(this.state.pos+1);e===123&&s===124?this.finishOp(6,2):this.state.inType&&(e===62||e===60)?this.finishOp(e===62?48:47,1):this.state.inType&&e===63?s===46?this.finishOp(18,2):this.finishOp(17,1):Ar(e,s,this.input.charCodeAt(this.state.pos+2))?(this.state.pos+=2,this.readIterator()):super.getTokenFromCode(e)}isAssignable(e,s){return e.type==="TypeCastExpression"?this.isAssignable(e.expression,s):super.isAssignable(e,s)}toAssignable(e,s=!1){!s&&e.type==="AssignmentExpression"&&e.left.type==="TypeCastExpression"&&(e.left=this.typeCastToParameter(e.left)),super.toAssignable(e,s)}toAssignableList(e,s,i){for(let r=0;r1||!s)&&this.raise(T.TypeCastInPattern,{at:n.typeAnnotation})}return e}parseArrayLike(e,s,i,r){let n=super.parseArrayLike(e,s,i,r);return s&&!this.state.maybeInArrowParameters&&this.toReferencedList(n.elements),n}isValidLVal(e,s,i){return e==="TypeCastExpression"||super.isValidLVal(e,s,i)}parseClassProperty(e){return this.match(14)&&(e.typeAnnotation=this.flowParseTypeAnnotation()),super.parseClassProperty(e)}parseClassPrivateProperty(e){return this.match(14)&&(e.typeAnnotation=this.flowParseTypeAnnotation()),super.parseClassPrivateProperty(e)}isClassMethod(){return this.match(47)||super.isClassMethod()}isClassProperty(){return this.match(14)||super.isClassProperty()}isNonstaticConstructor(e){return!this.match(14)&&super.isNonstaticConstructor(e)}pushClassMethod(e,s,i,r,n,o){if(s.variance&&this.unexpected(s.variance.loc.start),delete s.variance,this.match(47)&&(s.typeParameters=this.flowParseTypeParameterDeclaration()),super.pushClassMethod(e,s,i,r,n,o),s.params&&n){let h=s.params;h.length>0&&this.isThisParam(h[0])&&this.raise(T.ThisParamBannedInConstructor,{at:s})}else if(s.type==="MethodDefinition"&&n&&s.value.params){let h=s.value.params;h.length>0&&this.isThisParam(h[0])&&this.raise(T.ThisParamBannedInConstructor,{at:s})}}pushClassPrivateMethod(e,s,i,r){s.variance&&this.unexpected(s.variance.loc.start),delete s.variance,this.match(47)&&(s.typeParameters=this.flowParseTypeParameterDeclaration()),super.pushClassPrivateMethod(e,s,i,r)}parseClassSuper(e){if(super.parseClassSuper(e),e.superClass&&this.match(47)&&(e.superTypeParameters=this.flowParseTypeParameterInstantiation()),this.isContextual(111)){this.next();let s=e.implements=[];do{let i=this.startNode();i.id=this.flowParseRestrictedIdentifier(!0),this.match(47)?i.typeParameters=this.flowParseTypeParameterInstantiation():i.typeParameters=null,s.push(this.finishNode(i,"ClassImplements"))}while(this.eat(12))}}checkGetterSetterParams(e){super.checkGetterSetterParams(e);let s=this.getObjectOrClassMethodParams(e);if(s.length>0){let i=s[0];this.isThisParam(i)&&e.kind==="get"?this.raise(T.GetterMayNotHaveThisParam,{at:i}):this.isThisParam(i)&&this.raise(T.SetterMayNotHaveThisParam,{at:i})}}parsePropertyNamePrefixOperator(e){e.variance=this.flowParseVariance()}parseObjPropValue(e,s,i,r,n,o,h){e.variance&&this.unexpected(e.variance.loc.start),delete e.variance;let l;this.match(47)&&!o&&(l=this.flowParseTypeParameterDeclaration(),this.match(10)||this.unexpected());let c=super.parseObjPropValue(e,s,i,r,n,o,h);return l&&((c.value||c).typeParameters=l),c}parseAssignableListItemTypes(e){return this.eat(17)&&(e.type!=="Identifier"&&this.raise(T.PatternIsOptional,{at:e}),this.isThisParam(e)&&this.raise(T.ThisParamMayNotBeOptional,{at:e}),e.optional=!0),this.match(14)?e.typeAnnotation=this.flowParseTypeAnnotation():this.isThisParam(e)&&this.raise(T.ThisParamAnnotationRequired,{at:e}),this.match(29)&&this.isThisParam(e)&&this.raise(T.ThisParamNoDefault,{at:e}),this.resetEndLocation(e),e}parseMaybeDefault(e,s){let i=super.parseMaybeDefault(e,s);return i.type==="AssignmentPattern"&&i.typeAnnotation&&i.right.startsuper.parseMaybeAssign(e,s),r),!n.error)return n.node;let{context:l}=this.state,c=l[l.length-1];(c===E.j_oTag||c===E.j_expr)&&l.pop()}if((i=n)!=null&&i.error||this.match(47)){var o,h;r=r||this.state.clone();let l,c=this.tryParse(d=>{var f;l=this.flowParseTypeParameterDeclaration();let x=this.forwardNoArrowParamsConversionAt(l,()=>{let C=super.parseMaybeAssign(e,s);return this.resetStartLocationFromNode(C,l),C});(f=x.extra)!=null&&f.parenthesized&&d();let I=this.maybeUnwrapTypeCastExpression(x);return I.type!=="ArrowFunctionExpression"&&d(),I.typeParameters=l,this.resetStartLocationFromNode(I,l),x},r),u=null;if(c.node&&this.maybeUnwrapTypeCastExpression(c.node).type==="ArrowFunctionExpression"){if(!c.error&&!c.aborted)return c.node.async&&this.raise(T.UnexpectedTypeParameterBeforeAsyncArrowFunction,{at:l}),c.node;u=c.node}if((o=n)!=null&&o.node)return this.state=n.failState,n.node;if(u)return this.state=c.failState,u;throw(h=n)!=null&&h.thrown?n.error:c.thrown?c.error:this.raise(T.UnexpectedTokenAfterTypeParameter,{at:l})}return super.parseMaybeAssign(e,s)}parseArrow(e){if(this.match(14)){let s=this.tryParse(()=>{let i=this.state.noAnonFunctionType;this.state.noAnonFunctionType=!0;let r=this.startNode();return[r.typeAnnotation,e.predicate]=this.flowParseTypeAndPredicateInitialiser(),this.state.noAnonFunctionType=i,this.canInsertSemicolon()&&this.unexpected(),this.match(19)||this.unexpected(),r});if(s.thrown)return null;s.error&&(this.state=s.failState),e.returnType=s.node.typeAnnotation?this.finishNode(s.node,"TypeAnnotation"):null}return super.parseArrow(e)}shouldParseArrow(e){return this.match(14)||super.shouldParseArrow(e)}setArrowFunctionParameters(e,s){this.state.noArrowParamsConversionAt.indexOf(e.start)!==-1?e.params=s:super.setArrowFunctionParameters(e,s)}checkParams(e,s,i,r=!0){if(!(i&&this.state.noArrowParamsConversionAt.indexOf(e.start)!==-1)){for(let n=0;n0&&this.raise(T.ThisParamMustBeFirst,{at:e.params[n]});super.checkParams(e,s,i,r)}}parseParenAndDistinguishExpression(e){return super.parseParenAndDistinguishExpression(e&&this.state.noArrowAt.indexOf(this.state.start)===-1)}parseSubscripts(e,s,i){if(e.type==="Identifier"&&e.name==="async"&&this.state.noArrowAt.indexOf(s.index)!==-1){this.next();let r=this.startNodeAt(s);r.callee=e,r.arguments=super.parseCallExpressionArguments(11,!1),e=this.finishNode(r,"CallExpression")}else if(e.type==="Identifier"&&e.name==="async"&&this.match(47)){let r=this.state.clone(),n=this.tryParse(h=>this.parseAsyncArrowWithTypeParameters(s)||h(),r);if(!n.error&&!n.aborted)return n.node;let o=this.tryParse(()=>super.parseSubscripts(e,s,i),r);if(o.node&&!o.error)return o.node;if(n.node)return this.state=n.failState,n.node;if(o.node)return this.state=o.failState,o.node;throw n.error||o.error}return super.parseSubscripts(e,s,i)}parseSubscript(e,s,i,r){if(this.match(18)&&this.isLookaheadToken_lt()){if(r.optionalChainMember=!0,i)return r.stop=!0,e;this.next();let n=this.startNodeAt(s);return n.callee=e,n.typeArguments=this.flowParseTypeParameterInstantiation(),this.expect(10),n.arguments=this.parseCallExpressionArguments(11,!1),n.optional=!0,this.finishCallExpression(n,!0)}else if(!i&&this.shouldParseTypes()&&this.match(47)){let n=this.startNodeAt(s);n.callee=e;let o=this.tryParse(()=>(n.typeArguments=this.flowParseTypeParameterInstantiationCallOrNew(),this.expect(10),n.arguments=super.parseCallExpressionArguments(11,!1),r.optionalChainMember&&(n.optional=!1),this.finishCallExpression(n,r.optionalChainMember)));if(o.node)return o.error&&(this.state=o.failState),o.node}return super.parseSubscript(e,s,i,r)}parseNewCallee(e){super.parseNewCallee(e);let s=null;this.shouldParseTypes()&&this.match(47)&&(s=this.tryParse(()=>this.flowParseTypeParameterInstantiationCallOrNew()).node),e.typeArguments=s}parseAsyncArrowWithTypeParameters(e){let s=this.startNodeAt(e);if(this.parseFunctionParams(s,!1),!!this.parseArrow(s))return super.parseArrowExpression(s,void 0,!0)}readToken_mult_modulo(e){let s=this.input.charCodeAt(this.state.pos+1);if(e===42&&s===47&&this.state.hasFlowComment){this.state.hasFlowComment=!1,this.state.pos+=2,this.nextToken();return}super.readToken_mult_modulo(e)}readToken_pipe_amp(e){let s=this.input.charCodeAt(this.state.pos+1);if(e===124&&s===125){this.finishOp(9,2);return}super.readToken_pipe_amp(e)}parseTopLevel(e,s){let i=super.parseTopLevel(e,s);return this.state.hasFlowComment&&this.raise(T.UnterminatedFlowComment,{at:this.state.curPosition()}),i}skipBlockComment(){if(this.hasPlugin("flowComments")&&this.skipFlowComment()){if(this.state.hasFlowComment)throw this.raise(T.NestedFlowComment,{at:this.state.startLoc});this.hasFlowCommentCompletion();let e=this.skipFlowComment();e&&(this.state.pos+=e,this.state.hasFlowComment=!0);return}return super.skipBlockComment(this.state.hasFlowComment?"*-/":"*/")}skipFlowComment(){let{pos:e}=this.state,s=2;for(;[32,9].includes(this.input.charCodeAt(e+s));)s++;let i=this.input.charCodeAt(s+e),r=this.input.charCodeAt(s+e+1);return i===58&&r===58?s+2:this.input.slice(s+e,s+e+12)==="flow-include"?s+12:i===58&&r!==58?s:!1}hasFlowCommentCompletion(){if(this.input.indexOf("*/",this.state.pos)===-1)throw this.raise(p.UnterminatedComment,{at:this.state.curPosition()})}flowEnumErrorBooleanMemberNotInitialized(e,{enumName:s,memberName:i}){this.raise(T.EnumBooleanMemberNotInitialized,{at:e,memberName:i,enumName:s})}flowEnumErrorInvalidMemberInitializer(e,s){return this.raise(s.explicitType?s.explicitType==="symbol"?T.EnumInvalidMemberInitializerSymbolType:T.EnumInvalidMemberInitializerPrimaryType:T.EnumInvalidMemberInitializerUnknownType,Object.assign({at:e},s))}flowEnumErrorNumberMemberNotInitialized(e,{enumName:s,memberName:i}){this.raise(T.EnumNumberMemberNotInitialized,{at:e,enumName:s,memberName:i})}flowEnumErrorStringMemberInconsistentlyInitailized(e,{enumName:s}){this.raise(T.EnumStringMemberInconsistentlyInitailized,{at:e,enumName:s})}flowEnumMemberInit(){let e=this.state.startLoc,s=()=>this.match(12)||this.match(8);switch(this.state.type){case 132:{let i=this.parseNumericLiteral(this.state.value);return s()?{type:"number",loc:i.loc.start,value:i}:{type:"invalid",loc:e}}case 131:{let i=this.parseStringLiteral(this.state.value);return s()?{type:"string",loc:i.loc.start,value:i}:{type:"invalid",loc:e}}case 85:case 86:{let i=this.parseBooleanLiteral(this.match(85));return s()?{type:"boolean",loc:i.loc.start,value:i}:{type:"invalid",loc:e}}default:return{type:"invalid",loc:e}}}flowEnumMemberRaw(){let e=this.state.startLoc,s=this.parseIdentifier(!0),i=this.eat(29)?this.flowEnumMemberInit():{type:"none",loc:e};return{id:s,init:i}}flowEnumCheckExplicitTypeMismatch(e,s,i){let{explicitType:r}=s;r!==null&&r!==i&&this.flowEnumErrorInvalidMemberInitializer(e,s)}flowEnumMembers({enumName:e,explicitType:s}){let i=new Set,r={booleanMembers:[],numberMembers:[],stringMembers:[],defaultedMembers:[]},n=!1;for(;!this.match(8);){if(this.eat(21)){n=!0;break}let o=this.startNode(),{id:h,init:l}=this.flowEnumMemberRaw(),c=h.name;if(c==="")continue;/^[a-z]/.test(c)&&this.raise(T.EnumInvalidMemberName,{at:h,memberName:c,suggestion:c[0].toUpperCase()+c.slice(1),enumName:e}),i.has(c)&&this.raise(T.EnumDuplicateMemberName,{at:h,memberName:c,enumName:e}),i.add(c);let u={enumName:e,explicitType:s,memberName:c};switch(o.id=h,l.type){case"boolean":{this.flowEnumCheckExplicitTypeMismatch(l.loc,u,"boolean"),o.init=l.value,r.booleanMembers.push(this.finishNode(o,"EnumBooleanMember"));break}case"number":{this.flowEnumCheckExplicitTypeMismatch(l.loc,u,"number"),o.init=l.value,r.numberMembers.push(this.finishNode(o,"EnumNumberMember"));break}case"string":{this.flowEnumCheckExplicitTypeMismatch(l.loc,u,"string"),o.init=l.value,r.stringMembers.push(this.finishNode(o,"EnumStringMember"));break}case"invalid":throw this.flowEnumErrorInvalidMemberInitializer(l.loc,u);case"none":switch(s){case"boolean":this.flowEnumErrorBooleanMemberNotInitialized(l.loc,u);break;case"number":this.flowEnumErrorNumberMemberNotInitialized(l.loc,u);break;default:r.defaultedMembers.push(this.finishNode(o,"EnumDefaultedMember"))}}this.match(8)||this.expect(12)}return{members:r,hasUnknownMembers:n}}flowEnumStringMembers(e,s,{enumName:i}){if(e.length===0)return s;if(s.length===0)return e;if(s.length>e.length){for(let r of e)this.flowEnumErrorStringMemberInconsistentlyInitailized(r,{enumName:i});return s}else{for(let r of s)this.flowEnumErrorStringMemberInconsistentlyInitailized(r,{enumName:i});return e}}flowEnumParseExplicitType({enumName:e}){if(!this.eatContextual(101))return null;if(!S(this.state.type))throw this.raise(T.EnumInvalidExplicitTypeUnknownSupplied,{at:this.state.startLoc,enumName:e});let{value:s}=this.state;return this.next(),s!=="boolean"&&s!=="number"&&s!=="string"&&s!=="symbol"&&this.raise(T.EnumInvalidExplicitType,{at:this.state.startLoc,enumName:e,invalidEnumType:s}),s}flowEnumBody(e,s){let i=s.name,r=s.loc.start,n=this.flowEnumParseExplicitType({enumName:i});this.expect(5);let{members:o,hasUnknownMembers:h}=this.flowEnumMembers({enumName:i,explicitType:n});switch(e.hasUnknownMembers=h,n){case"boolean":return e.explicitType=!0,e.members=o.booleanMembers,this.expect(8),this.finishNode(e,"EnumBooleanBody");case"number":return e.explicitType=!0,e.members=o.numberMembers,this.expect(8),this.finishNode(e,"EnumNumberBody");case"string":return e.explicitType=!0,e.members=this.flowEnumStringMembers(o.stringMembers,o.defaultedMembers,{enumName:i}),this.expect(8),this.finishNode(e,"EnumStringBody");case"symbol":return e.members=o.defaultedMembers,this.expect(8),this.finishNode(e,"EnumSymbolBody");default:{let l=()=>(e.members=[],this.expect(8),this.finishNode(e,"EnumStringBody"));e.explicitType=!1;let c=o.booleanMembers.length,u=o.numberMembers.length,d=o.stringMembers.length,f=o.defaultedMembers.length;if(!c&&!u&&!d&&!f)return l();if(!c&&!u)return e.members=this.flowEnumStringMembers(o.stringMembers,o.defaultedMembers,{enumName:i}),this.expect(8),this.finishNode(e,"EnumStringBody");if(!u&&!d&&c>=f){for(let x of o.defaultedMembers)this.flowEnumErrorBooleanMemberNotInitialized(x.loc.start,{enumName:i,memberName:x.id.name});return e.members=o.booleanMembers,this.expect(8),this.finishNode(e,"EnumBooleanBody")}else if(!c&&!d&&u>=f){for(let x of o.defaultedMembers)this.flowEnumErrorNumberMemberNotInitialized(x.loc.start,{enumName:i,memberName:x.id.name});return e.members=o.numberMembers,this.expect(8),this.finishNode(e,"EnumNumberBody")}else return this.raise(T.EnumInconsistentMemberValues,{at:r,enumName:i}),l()}}}flowParseEnumDeclaration(e){let s=this.parseIdentifier();return e.id=s,e.body=this.flowEnumBody(this.startNode(),s),this.finishNode(e,"EnumDeclaration")}isLookaheadToken_lt(){let e=this.nextTokenStart();if(this.input.charCodeAt(e)===60){let s=this.input.charCodeAt(e+1);return s!==60&&s!==61}return!1}maybeUnwrapTypeCastExpression(e){return e.type==="TypeCastExpression"?e.expression:e}},Y=V`jsx`({AttributeIsEmpty:"JSX attributes must only be assigned a non-empty expression.",MissingClosingTagElement:({openingTagName:a})=>`Expected corresponding JSX closing tag for <${a}>.`,MissingClosingTagFragment:"Expected corresponding JSX closing tag for <>.",UnexpectedSequenceExpression:"Sequence expressions cannot be directly nested inside JSX. Did you mean to wrap it in parentheses (...)?",UnexpectedToken:({unexpected:a,HTMLEntity:t})=>`Unexpected token \`${a}\`. Did you mean \`${t}\` or \`{'${a}'}\`?`,UnsupportedJsxValue:"JSX value should be either an expression or a quoted JSX text.",UnterminatedJsxContent:"Unterminated JSX contents.",UnwrappedAdjacentJSXElements:"Adjacent JSX elements must be wrapped in an enclosing tag. Did you want a JSX fragment <>...?"});function H(a){return a?a.type==="JSXOpeningFragment"||a.type==="JSXClosingFragment":!1}function oe(a){if(a.type==="JSXIdentifier")return a.name;if(a.type==="JSXNamespacedName")return a.namespace.name+":"+a.name.name;if(a.type==="JSXMemberExpression")return oe(a.object)+"."+oe(a.property);throw new Error("Node had unexpected type: "+a.type)}var sa=a=>class extends a{jsxReadToken(){let e="",s=this.state.pos;for(;;){if(this.state.pos>=this.length)throw this.raise(Y.UnterminatedJsxContent,{at:this.state.startLoc});let i=this.input.charCodeAt(this.state.pos);switch(i){case 60:case 123:if(this.state.pos===this.state.start){i===60&&this.state.canStartJSXElement?(++this.state.pos,this.finishToken(140)):super.getTokenFromCode(i);return}e+=this.input.slice(s,this.state.pos),this.finishToken(139,e);return;case 38:e+=this.input.slice(s,this.state.pos),e+=this.jsxReadEntity(),s=this.state.pos;break;case 62:case 125:default:ke(i)?(e+=this.input.slice(s,this.state.pos),e+=this.jsxReadNewLine(!0),s=this.state.pos):++this.state.pos}}}jsxReadNewLine(e){let s=this.input.charCodeAt(this.state.pos),i;return++this.state.pos,s===13&&this.input.charCodeAt(this.state.pos)===10?(++this.state.pos,i=e?` +- Did you mean \`import { "${a}" as foo }\`?`,ImportCallArgumentTrailingComma:"Trailing comma is disallowed inside import(...) arguments.",ImportCallArity:({maxArgumentCount:a})=>`\`import()\` requires exactly ${a===1?"one argument":"one or two arguments"}.`,ImportCallNotNewExpression:"Cannot use new with import(...).",ImportCallSpreadArgument:"`...` is not allowed in `import()`.",ImportJSONBindingNotDefault:"A JSON module can only be imported with `default`.",ImportReflectionHasAssertion:"`import module x` cannot have assertions.",ImportReflectionNotBinding:'Only `import module x from "./module"` is valid.',IncompatibleRegExpUVFlags:"The 'u' and 'v' regular expression flags cannot be enabled at the same time.",InvalidBigIntLiteral:"Invalid BigIntLiteral.",InvalidCodePoint:"Code point out of bounds.",InvalidCoverInitializedName:"Invalid shorthand property initializer.",InvalidDecimal:"Invalid decimal.",InvalidDigit:({radix:a})=>`Expected number in radix ${a}.`,InvalidEscapeSequence:"Bad character escape sequence.",InvalidEscapeSequenceTemplate:"Invalid escape sequence in template.",InvalidEscapedReservedWord:({reservedWord:a})=>`Escape sequence in keyword ${a}.`,InvalidIdentifier:({identifierName:a})=>`Invalid identifier ${a}.`,InvalidLhs:({ancestor:a})=>`Invalid left-hand side in ${Ce(a)}.`,InvalidLhsBinding:({ancestor:a})=>`Binding invalid left-hand side in ${Ce(a)}.`,InvalidLhsOptionalChaining:({ancestor:a})=>`Invalid optional chaining in the left-hand side of ${Ce(a)}.`,InvalidNumber:"Invalid number.",InvalidOrMissingExponent:"Floating-point numbers require a valid exponent after the 'e'.",InvalidOrUnexpectedToken:({unexpected:a})=>`Unexpected character '${a}'.`,InvalidParenthesizedAssignment:"Invalid parenthesized assignment pattern.",InvalidPrivateFieldResolution:({identifierName:a})=>`Private name #${a} is not defined.`,InvalidPropertyBindingPattern:"Binding member expression.",InvalidRecordProperty:"Only properties and spread elements are allowed in record definitions.",InvalidRestAssignmentPattern:"Invalid rest operator's argument.",LabelRedeclaration:({labelName:a})=>`Label '${a}' is already declared.`,LetInLexicalBinding:"'let' is disallowed as a lexically bound name.",LineTerminatorBeforeArrow:"No line break is allowed before '=>'.",MalformedRegExpFlags:"Invalid regular expression flag.",MissingClassName:"A class name is required.",MissingEqInAssignment:"Only '=' operator can be used for specifying default value.",MissingSemicolon:"Missing semicolon.",MissingPlugin:({missingPlugin:a})=>`This experimental syntax requires enabling the parser plugin: ${a.map(t=>JSON.stringify(t)).join(", ")}.`,MissingOneOfPlugins:({missingPlugin:a})=>`This experimental syntax requires enabling one of the following parser plugin(s): ${a.map(t=>JSON.stringify(t)).join(", ")}.`,MissingUnicodeEscape:"Expecting Unicode escape sequence \\uXXXX.",MixingCoalesceWithLogical:"Nullish coalescing operator(??) requires parens when mixing with logical operators.",ModuleAttributeDifferentFromType:"The only accepted module attribute is `type`.",ModuleAttributeInvalidValue:"Only string literals are allowed as module attribute values.",ModuleAttributesWithDuplicateKeys:({key:a})=>`Duplicate key "${a}" is not allowed in module attributes.`,ModuleExportNameHasLoneSurrogate:({surrogateCharCode:a})=>`An export name cannot include a lone surrogate, found '\\u${a.toString(16)}'.`,ModuleExportUndefined:({localName:a})=>`Export '${a}' is not defined.`,MultipleDefaultsInSwitch:"Multiple default clauses.",NewlineAfterThrow:"Illegal newline after throw.",NoCatchOrFinally:"Missing catch or finally clause.",NumberIdentifier:"Identifier directly after number.",NumericSeparatorInEscapeSequence:"Numeric separators are not allowed inside unicode escape sequences or hex escape sequences.",ObsoleteAwaitStar:"'await*' has been removed from the async functions proposal. Use Promise.all() instead.",OptionalChainingNoNew:"Constructors in/after an Optional Chain are not allowed.",OptionalChainingNoTemplate:"Tagged Template Literals are not allowed in optionalChain.",OverrideOnConstructor:"'override' modifier cannot appear on a constructor declaration.",ParamDupe:"Argument name clash.",PatternHasAccessor:"Object pattern can't contain getter or setter.",PatternHasMethod:"Object pattern can't contain methods.",PrivateInExpectedIn:({identifierName:a})=>`Private names are only allowed in property accesses (\`obj.#${a}\`) or in \`in\` expressions (\`#${a} in obj\`).`,PrivateNameRedeclaration:({identifierName:a})=>`Duplicate private name #${a}.`,RecordExpressionBarIncorrectEndSyntaxType:"Record expressions ending with '|}' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'bar'.",RecordExpressionBarIncorrectStartSyntaxType:"Record expressions starting with '{|' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'bar'.",RecordExpressionHashIncorrectStartSyntaxType:"Record expressions starting with '#{' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'hash'.",RecordNoProto:"'__proto__' is not allowed in Record expressions.",RestTrailingComma:"Unexpected trailing comma after rest element.",SloppyFunction:"In non-strict mode code, functions can only be declared at top level or inside a block.",SloppyFunctionAnnexB:"In non-strict mode code, functions can only be declared at top level, inside a block, or as the body of an if statement.",SourcePhaseImportRequiresDefault:'Only `import source x from "./module"` is valid.',StaticPrototype:"Classes may not have static property named prototype.",SuperNotAllowed:"`super()` is only valid inside a class constructor of a subclass. Maybe a typo in the method name ('constructor') or not extending another class?",SuperPrivateField:"Private fields can't be accessed on super.",TrailingDecorator:"Decorators must be attached to a class element.",TupleExpressionBarIncorrectEndSyntaxType:"Tuple expressions ending with '|]' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'bar'.",TupleExpressionBarIncorrectStartSyntaxType:"Tuple expressions starting with '[|' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'bar'.",TupleExpressionHashIncorrectStartSyntaxType:"Tuple expressions starting with '#[' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'hash'.",UnexpectedArgumentPlaceholder:"Unexpected argument placeholder.",UnexpectedAwaitAfterPipelineBody:'Unexpected "await" after pipeline body; await must have parentheses in minimal proposal.',UnexpectedDigitAfterHash:"Unexpected digit after hash token.",UnexpectedImportExport:"'import' and 'export' may only appear at the top level.",UnexpectedKeyword:({keyword:a})=>`Unexpected keyword '${a}'.`,UnexpectedLeadingDecorator:"Leading decorators must be attached to a class declaration.",UnexpectedLexicalDeclaration:"Lexical declaration cannot appear in a single-statement context.",UnexpectedNewTarget:"`new.target` can only be used in functions or class properties.",UnexpectedNumericSeparator:"A numeric separator is only allowed between two digits.",UnexpectedPrivateField:"Unexpected private name.",UnexpectedReservedWord:({reservedWord:a})=>`Unexpected reserved word '${a}'.`,UnexpectedSuper:"'super' is only allowed in object methods and classes.",UnexpectedToken:({expected:a,unexpected:t})=>`Unexpected token${t?` '${t}'.`:""}${a?`, expected "${a}"`:""}`,UnexpectedTokenUnaryExponentiation:"Illegal expression. Wrap left hand side or entire exponentiation in parentheses.",UnexpectedUsingDeclaration:"Using declaration cannot appear in the top level when source type is `script`.",UnsupportedBind:"Binding should be performed on object property.",UnsupportedDecoratorExport:"A decorated export must export a class declaration.",UnsupportedDefaultExport:"Only expressions, functions or classes are allowed as the `default` export.",UnsupportedImport:"`import` can only be used in `import()` or `import.meta`.",UnsupportedMetaProperty:({target:a,onlyValidPropertyName:t})=>`The only valid meta property for ${a} is ${a}.${t}.`,UnsupportedParameterDecorator:"Decorators cannot be used to decorate parameters.",UnsupportedPropertyDecorator:"Decorators cannot be used to decorate object literal properties.",UnsupportedSuper:"'super' can only be used with function calls (i.e. super()) or in property accesses (i.e. super.prop or super[prop]).",UnterminatedComment:"Unterminated comment.",UnterminatedRegExp:"Unterminated regular expression.",UnterminatedString:"Unterminated string constant.",UnterminatedTemplate:"Unterminated template.",UsingDeclarationExport:"Using declaration cannot be exported.",UsingDeclarationHasBindingPattern:"Using declaration cannot have destructuring patterns.",VarRedeclaration:({identifierName:a})=>`Identifier '${a}' has already been declared.`,YieldBindingIdentifier:"Can not use 'yield' as identifier inside a generator.",YieldInParameter:"Yield expression is not allowed in formal parameters.",ZeroDigitNumericSeparator:"Numeric separator can not be used after leading 0."},Ys={StrictDelete:"Deleting local variable in strict mode.",StrictEvalArguments:({referenceName:a})=>`Assigning to '${a}' in strict mode.`,StrictEvalArgumentsBinding:({bindingName:a})=>`Binding '${a}' in strict mode.`,StrictFunction:"In strict mode code, functions can only be declared at top level or inside a block.",StrictNumericEscape:"The only valid numeric escape in strict mode is '\\0'.",StrictOctalLiteral:"Legacy octal literals are not allowed in strict mode.",StrictWith:"'with' in strict mode."},Qs=new Set(["ArrowFunctionExpression","AssignmentExpression","ConditionalExpression","YieldExpression"]),Zs={PipeBodyIsTighter:"Unexpected yield after pipeline body; any yield expression acting as Hack-style pipe body must be parenthesized due to its loose operator precedence.",PipeTopicRequiresHackPipes:'Topic reference is used, but the pipelineOperator plugin was not passed a "proposal": "hack" or "smart" option.',PipeTopicUnbound:"Topic reference is unbound; it must be inside a pipe body.",PipeTopicUnconfiguredToken:({token:a})=>`Invalid topic token ${a}. In order to use ${a} as a topic reference, the pipelineOperator plugin must be configured with { "proposal": "hack", "topicToken": "${a}" }.`,PipeTopicUnused:"Hack-style pipe body does not contain a topic reference; Hack-style pipes must use topic at least once.",PipeUnparenthesizedBody:({type:a})=>`Hack-style pipe body cannot be an unparenthesized ${Ce({type:a})}; please wrap it in parentheses.`,PipelineBodyNoArrow:'Unexpected arrow "=>" after pipeline body; arrow function in pipeline body must be parenthesized.',PipelineBodySequenceExpression:"Pipeline body may not be a comma-separated sequence expression.",PipelineHeadSequenceExpression:"Pipeline head should not be a comma-separated sequence expression.",PipelineTopicUnused:"Pipeline is in topic style but does not use topic reference.",PrimaryTopicNotAllowed:"Topic reference was used in a lexical context without topic binding.",PrimaryTopicRequiresSmartPipeline:'Topic reference is used, but the pipelineOperator plugin was not passed a "proposal": "hack" or "smart" option.'},ei=["toMessage"],ti=["message"];function Mt(a,t,e){Object.defineProperty(a,t,{enumerable:!1,configurable:!0,value:e})}function si(a){let{toMessage:t}=a,e=Ht(a,ei);return function s(i,r){let n=new SyntaxError;return Object.assign(n,e,{loc:i,pos:i.index}),"missingPlugin"in r&&Object.assign(n,{missingPlugin:r.missingPlugin}),Mt(n,"clone",function(h={}){var c;let{line:l,column:u,index:f}=(c=h.loc)!=null?c:i;return s(new F(l,u,f),Object.assign({},r,h.details))}),Mt(n,"details",r),Object.defineProperty(n,"message",{configurable:!0,get(){let o=`${t(r)} (${i.line}:${i.column})`;return this.message=o,o},set(o){Object.defineProperty(this,"message",{value:o,writable:!0})}}),n}}function j(a,t){if(Array.isArray(a))return s=>j(s,a[0]);let e={};for(let s of Object.keys(a)){let i=a[s],r=typeof i=="string"?{message:()=>i}:typeof i=="function"?{message:i}:i,{message:n}=r,o=Ht(r,ti),h=typeof n=="string"?()=>n:n;e[s]=si(Object.assign({code:"BABEL_PARSER_SYNTAX_ERROR",reasonCode:s,toMessage:h},t?{syntaxPlugin:t}:{},o))}return e}var p=Object.assign({},j(Xs),j(Gs),j(Ys),j`pipelineOperator`(Zs)),{defineProperty:ii}=Object,Ot=(a,t)=>{a&&ii(a,t,{enumerable:!1,value:a[t]})};function oe(a){return Ot(a.loc.start,"index"),Ot(a.loc.end,"index"),a}var ri=a=>class extends a{parse(){let e=oe(super.parse());return this.options.tokens&&(e.tokens=e.tokens.map(oe)),e}parseRegExpLiteral({pattern:e,flags:s}){let i=null;try{i=new RegExp(e,s)}catch{}let r=this.estreeParseLiteral(i);return r.regex={pattern:e,flags:s},r}parseBigIntLiteral(e){let s;try{s=BigInt(e)}catch{s=null}let i=this.estreeParseLiteral(s);return i.bigint=String(i.value||e),i}parseDecimalLiteral(e){let i=this.estreeParseLiteral(null);return i.decimal=String(i.value||e),i}estreeParseLiteral(e){return this.parseLiteral(e,"Literal")}parseStringLiteral(e){return this.estreeParseLiteral(e)}parseNumericLiteral(e){return this.estreeParseLiteral(e)}parseNullLiteral(){return this.estreeParseLiteral(null)}parseBooleanLiteral(e){return this.estreeParseLiteral(e)}directiveToStmt(e){let s=e.value;delete e.value,s.type="Literal",s.raw=s.extra.raw,s.value=s.extra.expressionValue;let i=e;return i.type="ExpressionStatement",i.expression=s,i.directive=s.extra.rawValue,delete s.extra,i}initFunction(e,s){super.initFunction(e,s),e.expression=!1}checkDeclaration(e){e!=null&&this.isObjectProperty(e)?this.checkDeclaration(e.value):super.checkDeclaration(e)}getObjectOrClassMethodParams(e){return e.value.params}isValidDirective(e){var s;return e.type==="ExpressionStatement"&&e.expression.type==="Literal"&&typeof e.expression.value=="string"&&!((s=e.expression.extra)!=null&&s.parenthesized)}parseBlockBody(e,s,i,r,n){super.parseBlockBody(e,s,i,r,n);let o=e.directives.map(h=>this.directiveToStmt(h));e.body=o.concat(e.body),delete e.directives}pushClassMethod(e,s,i,r,n,o){this.parseMethod(s,i,r,n,o,"ClassMethod",!0),s.typeParameters&&(s.value.typeParameters=s.typeParameters,delete s.typeParameters),e.body.push(s)}parsePrivateName(){let e=super.parsePrivateName();return this.getPluginOption("estree","classFeatures")?this.convertPrivateNameToPrivateIdentifier(e):e}convertPrivateNameToPrivateIdentifier(e){let s=super.getPrivateNameSV(e);return e=e,delete e.id,e.name=s,e.type="PrivateIdentifier",e}isPrivateName(e){return this.getPluginOption("estree","classFeatures")?e.type==="PrivateIdentifier":super.isPrivateName(e)}getPrivateNameSV(e){return this.getPluginOption("estree","classFeatures")?e.name:super.getPrivateNameSV(e)}parseLiteral(e,s){let i=super.parseLiteral(e,s);return i.raw=i.extra.raw,delete i.extra,i}parseFunctionBody(e,s,i=!1){super.parseFunctionBody(e,s,i),e.expression=e.body.type!=="BlockStatement"}parseMethod(e,s,i,r,n,o,h=!1){let c=this.startNode();return c.kind=e.kind,c=super.parseMethod(c,s,i,r,n,o,h),c.type="FunctionExpression",delete c.kind,e.value=c,o==="ClassPrivateMethod"&&(e.computed=!1),this.finishNode(e,"MethodDefinition")}nameIsConstructor(e){return e.type==="Literal"?e.value==="constructor":super.nameIsConstructor(e)}parseClassProperty(...e){let s=super.parseClassProperty(...e);return this.getPluginOption("estree","classFeatures")&&(s.type="PropertyDefinition"),s}parseClassPrivateProperty(...e){let s=super.parseClassPrivateProperty(...e);return this.getPluginOption("estree","classFeatures")&&(s.type="PropertyDefinition",s.computed=!1),s}parseObjectMethod(e,s,i,r,n){let o=super.parseObjectMethod(e,s,i,r,n);return o&&(o.type="Property",o.kind==="method"&&(o.kind="init"),o.shorthand=!1),o}parseObjectProperty(e,s,i,r){let n=super.parseObjectProperty(e,s,i,r);return n&&(n.kind="init",n.type="Property"),n}isValidLVal(e,s,i){return e==="Property"?"value":super.isValidLVal(e,s,i)}isAssignable(e,s){return e!=null&&this.isObjectProperty(e)?this.isAssignable(e.value,s):super.isAssignable(e,s)}toAssignable(e,s=!1){if(e!=null&&this.isObjectProperty(e)){let{key:i,value:r}=e;this.isPrivateName(i)&&this.classScope.usePrivateName(this.getPrivateNameSV(i),i.loc.start),this.toAssignable(r,s)}else super.toAssignable(e,s)}toAssignableObjectExpressionProp(e,s,i){e.type==="Property"&&(e.kind==="get"||e.kind==="set")?this.raise(p.PatternHasAccessor,e.key):e.type==="Property"&&e.method?this.raise(p.PatternHasMethod,e.key):super.toAssignableObjectExpressionProp(e,s,i)}finishCallExpression(e,s){let i=super.finishCallExpression(e,s);if(i.callee.type==="Import"){if(i.type="ImportExpression",i.source=i.arguments[0],this.hasPlugin("importAttributes")||this.hasPlugin("importAssertions")){var r,n;i.options=(r=i.arguments[1])!=null?r:null,i.attributes=(n=i.arguments[1])!=null?n:null}delete i.arguments,delete i.callee}return i}toReferencedArguments(e){e.type!=="ImportExpression"&&super.toReferencedArguments(e)}parseExport(e,s){let i=this.state.lastTokStartLoc,r=super.parseExport(e,s);switch(r.type){case"ExportAllDeclaration":r.exported=null;break;case"ExportNamedDeclaration":r.specifiers.length===1&&r.specifiers[0].type==="ExportNamespaceSpecifier"&&(r.type="ExportAllDeclaration",r.exported=r.specifiers[0].exported,delete r.specifiers);case"ExportDefaultDeclaration":{var n;let{declaration:o}=r;(o==null?void 0:o.type)==="ClassDeclaration"&&((n=o.decorators)==null?void 0:n.length)>0&&o.start===r.start&&this.resetStartLocation(r,i)}break}return r}parseSubscript(e,s,i,r){let n=super.parseSubscript(e,s,i,r);if(r.optionalChainMember){if((n.type==="OptionalMemberExpression"||n.type==="OptionalCallExpression")&&(n.type=n.type.substring(8)),r.stop){let o=this.startNodeAtNode(n);return o.expression=n,this.finishNode(o,"ChainExpression")}}else(n.type==="MemberExpression"||n.type==="CallExpression")&&(n.optional=!1);return n}isOptionalMemberExpression(e){return e.type==="ChainExpression"?e.expression.type==="MemberExpression":super.isOptionalMemberExpression(e)}hasPropertyAsPrivateName(e){return e.type==="ChainExpression"&&(e=e.expression),super.hasPropertyAsPrivateName(e)}isObjectProperty(e){return e.type==="Property"&&e.kind==="init"&&!e.method}isObjectMethod(e){return e.type==="Property"&&(e.method||e.kind==="get"||e.kind==="set")}finishNodeAt(e,s,i){return oe(super.finishNodeAt(e,s,i))}resetStartLocation(e,s){super.resetStartLocation(e,s),oe(e)}resetEndLocation(e,s=this.state.lastTokEndLoc){super.resetEndLocation(e,s),oe(e)}},X=class{constructor(t,e){this.token=void 0,this.preserveSpace=void 0,this.token=t,this.preserveSpace=!!e}},C={brace:new X("{"),j_oTag:new X("...",!0)};C.template=new X("`",!0);var b=!0,m=!0,$e=!0,he=!0,q=!0,ai=!0,ke=class{constructor(t,e={}){this.label=void 0,this.keyword=void 0,this.beforeExpr=void 0,this.startsExpr=void 0,this.rightAssociative=void 0,this.isLoop=void 0,this.isAssign=void 0,this.prefix=void 0,this.postfix=void 0,this.binop=void 0,this.label=t,this.keyword=e.keyword,this.beforeExpr=!!e.beforeExpr,this.startsExpr=!!e.startsExpr,this.rightAssociative=!!e.rightAssociative,this.isLoop=!!e.isLoop,this.isAssign=!!e.isAssign,this.prefix=!!e.prefix,this.postfix=!!e.postfix,this.binop=e.binop!=null?e.binop:null,this.updateContext=null}},ut=new Map;function A(a,t={}){t.keyword=a;let e=P(a,t);return ut.set(a,e),e}function k(a,t){return P(a,{beforeExpr:b,binop:t})}var ue=-1,U=[],ft=[],dt=[],mt=[],yt=[],xt=[];function P(a,t={}){var e,s,i,r;return++ue,ft.push(a),dt.push((e=t.binop)!=null?e:-1),mt.push((s=t.beforeExpr)!=null?s:!1),yt.push((i=t.startsExpr)!=null?i:!1),xt.push((r=t.prefix)!=null?r:!1),U.push(new ke(a,t)),ue}function T(a,t={}){var e,s,i,r;return++ue,ut.set(a,ue),ft.push(a),dt.push((e=t.binop)!=null?e:-1),mt.push((s=t.beforeExpr)!=null?s:!1),yt.push((i=t.startsExpr)!=null?i:!1),xt.push((r=t.prefix)!=null?r:!1),U.push(new ke("name",t)),ue}var ni={bracketL:P("[",{beforeExpr:b,startsExpr:m}),bracketHashL:P("#[",{beforeExpr:b,startsExpr:m}),bracketBarL:P("[|",{beforeExpr:b,startsExpr:m}),bracketR:P("]"),bracketBarR:P("|]"),braceL:P("{",{beforeExpr:b,startsExpr:m}),braceBarL:P("{|",{beforeExpr:b,startsExpr:m}),braceHashL:P("#{",{beforeExpr:b,startsExpr:m}),braceR:P("}"),braceBarR:P("|}"),parenL:P("(",{beforeExpr:b,startsExpr:m}),parenR:P(")"),comma:P(",",{beforeExpr:b}),semi:P(";",{beforeExpr:b}),colon:P(":",{beforeExpr:b}),doubleColon:P("::",{beforeExpr:b}),dot:P("."),question:P("?",{beforeExpr:b}),questionDot:P("?."),arrow:P("=>",{beforeExpr:b}),template:P("template"),ellipsis:P("...",{beforeExpr:b}),backQuote:P("`",{startsExpr:m}),dollarBraceL:P("${",{beforeExpr:b,startsExpr:m}),templateTail:P("...`",{startsExpr:m}),templateNonTail:P("...${",{beforeExpr:b,startsExpr:m}),at:P("@"),hash:P("#",{startsExpr:m}),interpreterDirective:P("#!..."),eq:P("=",{beforeExpr:b,isAssign:he}),assign:P("_=",{beforeExpr:b,isAssign:he}),slashAssign:P("_=",{beforeExpr:b,isAssign:he}),xorAssign:P("_=",{beforeExpr:b,isAssign:he}),moduloAssign:P("_=",{beforeExpr:b,isAssign:he}),incDec:P("++/--",{prefix:q,postfix:ai,startsExpr:m}),bang:P("!",{beforeExpr:b,prefix:q,startsExpr:m}),tilde:P("~",{beforeExpr:b,prefix:q,startsExpr:m}),doubleCaret:P("^^",{startsExpr:m}),doubleAt:P("@@",{startsExpr:m}),pipeline:k("|>",0),nullishCoalescing:k("??",1),logicalOR:k("||",1),logicalAND:k("&&",2),bitwiseOR:k("|",3),bitwiseXOR:k("^",4),bitwiseAND:k("&",5),equality:k("==/!=/===/!==",6),lt:k("/<=/>=",7),gt:k("/<=/>=",7),relational:k("/<=/>=",7),bitShift:k("<>/>>>",8),bitShiftL:k("<>/>>>",8),bitShiftR:k("<>/>>>",8),plusMin:P("+/-",{beforeExpr:b,binop:9,prefix:q,startsExpr:m}),modulo:P("%",{binop:10,startsExpr:m}),star:P("*",{binop:10}),slash:k("/",10),exponent:P("**",{beforeExpr:b,binop:11,rightAssociative:!0}),_in:A("in",{beforeExpr:b,binop:7}),_instanceof:A("instanceof",{beforeExpr:b,binop:7}),_break:A("break"),_case:A("case",{beforeExpr:b}),_catch:A("catch"),_continue:A("continue"),_debugger:A("debugger"),_default:A("default",{beforeExpr:b}),_else:A("else",{beforeExpr:b}),_finally:A("finally"),_function:A("function",{startsExpr:m}),_if:A("if"),_return:A("return",{beforeExpr:b}),_switch:A("switch"),_throw:A("throw",{beforeExpr:b,prefix:q,startsExpr:m}),_try:A("try"),_var:A("var"),_const:A("const"),_with:A("with"),_new:A("new",{beforeExpr:b,startsExpr:m}),_this:A("this",{startsExpr:m}),_super:A("super",{startsExpr:m}),_class:A("class",{startsExpr:m}),_extends:A("extends",{beforeExpr:b}),_export:A("export"),_import:A("import",{startsExpr:m}),_null:A("null",{startsExpr:m}),_true:A("true",{startsExpr:m}),_false:A("false",{startsExpr:m}),_typeof:A("typeof",{beforeExpr:b,prefix:q,startsExpr:m}),_void:A("void",{beforeExpr:b,prefix:q,startsExpr:m}),_delete:A("delete",{beforeExpr:b,prefix:q,startsExpr:m}),_do:A("do",{isLoop:$e,beforeExpr:b}),_for:A("for",{isLoop:$e}),_while:A("while",{isLoop:$e}),_as:T("as",{startsExpr:m}),_assert:T("assert",{startsExpr:m}),_async:T("async",{startsExpr:m}),_await:T("await",{startsExpr:m}),_defer:T("defer",{startsExpr:m}),_from:T("from",{startsExpr:m}),_get:T("get",{startsExpr:m}),_let:T("let",{startsExpr:m}),_meta:T("meta",{startsExpr:m}),_of:T("of",{startsExpr:m}),_sent:T("sent",{startsExpr:m}),_set:T("set",{startsExpr:m}),_source:T("source",{startsExpr:m}),_static:T("static",{startsExpr:m}),_using:T("using",{startsExpr:m}),_yield:T("yield",{startsExpr:m}),_asserts:T("asserts",{startsExpr:m}),_checks:T("checks",{startsExpr:m}),_exports:T("exports",{startsExpr:m}),_global:T("global",{startsExpr:m}),_implements:T("implements",{startsExpr:m}),_intrinsic:T("intrinsic",{startsExpr:m}),_infer:T("infer",{startsExpr:m}),_is:T("is",{startsExpr:m}),_mixins:T("mixins",{startsExpr:m}),_proto:T("proto",{startsExpr:m}),_require:T("require",{startsExpr:m}),_satisfies:T("satisfies",{startsExpr:m}),_keyof:T("keyof",{startsExpr:m}),_readonly:T("readonly",{startsExpr:m}),_unique:T("unique",{startsExpr:m}),_abstract:T("abstract",{startsExpr:m}),_declare:T("declare",{startsExpr:m}),_enum:T("enum",{startsExpr:m}),_module:T("module",{startsExpr:m}),_namespace:T("namespace",{startsExpr:m}),_interface:T("interface",{startsExpr:m}),_type:T("type",{startsExpr:m}),_opaque:T("opaque",{startsExpr:m}),name:P("name",{startsExpr:m}),string:P("string",{startsExpr:m}),num:P("num",{startsExpr:m}),bigint:P("bigint",{startsExpr:m}),decimal:P("decimal",{startsExpr:m}),regexp:P("regexp",{startsExpr:m}),privateName:P("#name",{startsExpr:m}),eof:P("eof"),jsxName:P("jsxName"),jsxText:P("jsxText",{beforeExpr:!0}),jsxTagStart:P("jsxTagStart",{startsExpr:!0}),jsxTagEnd:P("jsxTagEnd"),placeholder:P("%%",{startsExpr:!0})};function w(a){return a>=93&&a<=132}function oi(a){return a<=92}function M(a){return a>=58&&a<=132}function Wt(a){return a>=58&&a<=136}function hi(a){return mt[a]}function He(a){return yt[a]}function li(a){return a>=29&&a<=33}function Ft(a){return a>=129&&a<=131}function ci(a){return a>=90&&a<=92}function Pt(a){return a>=58&&a<=92}function pi(a){return a>=39&&a<=59}function ui(a){return a===34}function fi(a){return xt[a]}function di(a){return a>=121&&a<=123}function mi(a){return a>=124&&a<=130}function K(a){return ft[a]}function Ee(a){return dt[a]}function yi(a){return a===57}function ve(a){return a>=24&&a<=25}function R(a){return U[a]}U[8].updateContext=a=>{a.pop()},U[5].updateContext=U[7].updateContext=U[23].updateContext=a=>{a.push(C.brace)},U[22].updateContext=a=>{a[a.length-1]===C.template?a.pop():a.push(C.template)},U[142].updateContext=a=>{a.push(C.j_expr,C.j_oTag)};var gt="\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0560-\u0588\u05D0-\u05EA\u05EF-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u0870-\u0887\u0889-\u088E\u08A0-\u08C9\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C5D\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D04-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E86-\u0E8A\u0E8C-\u0EA3\u0EA5\u0EA7-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u1711\u171F-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1878\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4C\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\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\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2118-\u211D\u2124\u2126\u2128\u212A-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309B-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312F\u3131-\u318E\u31A0-\u31BF\u31F0-\u31FF\u3400-\u4DBF\u4E00-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7CA\uA7D0\uA7D1\uA7D3\uA7D5-\uA7D9\uA7F2-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA8FE\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB69\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC",Jt="\u200C\u200D\xB7\u0300-\u036F\u0387\u0483-\u0487\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u0610-\u061A\u064B-\u0669\u0670\u06D6-\u06DC\u06DF-\u06E4\u06E7\u06E8\u06EA-\u06ED\u06F0-\u06F9\u0711\u0730-\u074A\u07A6-\u07B0\u07C0-\u07C9\u07EB-\u07F3\u07FD\u0816-\u0819\u081B-\u0823\u0825-\u0827\u0829-\u082D\u0859-\u085B\u0898-\u089F\u08CA-\u08E1\u08E3-\u0903\u093A-\u093C\u093E-\u094F\u0951-\u0957\u0962\u0963\u0966-\u096F\u0981-\u0983\u09BC\u09BE-\u09C4\u09C7\u09C8\u09CB-\u09CD\u09D7\u09E2\u09E3\u09E6-\u09EF\u09FE\u0A01-\u0A03\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A66-\u0A71\u0A75\u0A81-\u0A83\u0ABC\u0ABE-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AE2\u0AE3\u0AE6-\u0AEF\u0AFA-\u0AFF\u0B01-\u0B03\u0B3C\u0B3E-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B55-\u0B57\u0B62\u0B63\u0B66-\u0B6F\u0B82\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD7\u0BE6-\u0BEF\u0C00-\u0C04\u0C3C\u0C3E-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C62\u0C63\u0C66-\u0C6F\u0C81-\u0C83\u0CBC\u0CBE-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CE2\u0CE3\u0CE6-\u0CEF\u0CF3\u0D00-\u0D03\u0D3B\u0D3C\u0D3E-\u0D44\u0D46-\u0D48\u0D4A-\u0D4D\u0D57\u0D62\u0D63\u0D66-\u0D6F\u0D81-\u0D83\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E31\u0E34-\u0E3A\u0E47-\u0E4E\u0E50-\u0E59\u0EB1\u0EB4-\u0EBC\u0EC8-\u0ECE\u0ED0-\u0ED9\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E\u0F3F\u0F71-\u0F84\u0F86\u0F87\u0F8D-\u0F97\u0F99-\u0FBC\u0FC6\u102B-\u103E\u1040-\u1049\u1056-\u1059\u105E-\u1060\u1062-\u1064\u1067-\u106D\u1071-\u1074\u1082-\u108D\u108F-\u109D\u135D-\u135F\u1369-\u1371\u1712-\u1715\u1732-\u1734\u1752\u1753\u1772\u1773\u17B4-\u17D3\u17DD\u17E0-\u17E9\u180B-\u180D\u180F-\u1819\u18A9\u1920-\u192B\u1930-\u193B\u1946-\u194F\u19D0-\u19DA\u1A17-\u1A1B\u1A55-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AB0-\u1ABD\u1ABF-\u1ACE\u1B00-\u1B04\u1B34-\u1B44\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1B82\u1BA1-\u1BAD\u1BB0-\u1BB9\u1BE6-\u1BF3\u1C24-\u1C37\u1C40-\u1C49\u1C50-\u1C59\u1CD0-\u1CD2\u1CD4-\u1CE8\u1CED\u1CF4\u1CF7-\u1CF9\u1DC0-\u1DFF\u200C\u200D\u203F\u2040\u2054\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2CEF-\u2CF1\u2D7F\u2DE0-\u2DFF\u302A-\u302F\u3099\u309A\u30FB\uA620-\uA629\uA66F\uA674-\uA67D\uA69E\uA69F\uA6F0\uA6F1\uA802\uA806\uA80B\uA823-\uA827\uA82C\uA880\uA881\uA8B4-\uA8C5\uA8D0-\uA8D9\uA8E0-\uA8F1\uA8FF-\uA909\uA926-\uA92D\uA947-\uA953\uA980-\uA983\uA9B3-\uA9C0\uA9D0-\uA9D9\uA9E5\uA9F0-\uA9F9\uAA29-\uAA36\uAA43\uAA4C\uAA4D\uAA50-\uAA59\uAA7B-\uAA7D\uAAB0\uAAB2-\uAAB4\uAAB7\uAAB8\uAABE\uAABF\uAAC1\uAAEB-\uAAEF\uAAF5\uAAF6\uABE3-\uABEA\uABEC\uABED\uABF0-\uABF9\uFB1E\uFE00-\uFE0F\uFE20-\uFE2F\uFE33\uFE34\uFE4D-\uFE4F\uFF10-\uFF19\uFF3F\uFF65",xi=new RegExp("["+gt+"]"),Pi=new RegExp("["+gt+Jt+"]");gt=Jt=null;var Xt=[0,11,2,25,2,18,2,1,2,14,3,13,35,122,70,52,268,28,4,48,48,31,14,29,6,37,11,29,3,35,5,7,2,4,43,157,19,35,5,35,5,39,9,51,13,10,2,14,2,6,2,1,2,10,2,14,2,6,2,1,68,310,10,21,11,7,25,5,2,41,2,8,70,5,3,0,2,43,2,1,4,0,3,22,11,22,10,30,66,18,2,1,11,21,11,25,71,55,7,1,65,0,16,3,2,2,2,28,43,28,4,28,36,7,2,27,28,53,11,21,11,18,14,17,111,72,56,50,14,50,14,35,349,41,7,1,79,28,11,0,9,21,43,17,47,20,28,22,13,52,58,1,3,0,14,44,33,24,27,35,30,0,3,0,9,34,4,0,13,47,15,3,22,0,2,0,36,17,2,24,20,1,64,6,2,0,2,3,2,14,2,9,8,46,39,7,3,1,3,21,2,6,2,1,2,4,4,0,19,0,13,4,159,52,19,3,21,2,31,47,21,1,2,0,185,46,42,3,37,47,21,0,60,42,14,0,72,26,38,6,186,43,117,63,32,7,3,0,3,7,2,1,2,23,16,0,2,0,95,7,3,38,17,0,2,0,29,0,11,39,8,0,22,0,12,45,20,0,19,72,264,8,2,36,18,0,50,29,113,6,2,1,2,37,22,0,26,5,2,1,2,31,15,0,328,18,16,0,2,12,2,33,125,0,80,921,103,110,18,195,2637,96,16,1071,18,5,4026,582,8634,568,8,30,18,78,18,29,19,47,17,3,32,20,6,18,689,63,129,74,6,0,67,12,65,1,2,0,29,6135,9,1237,43,8,8936,3,2,6,2,1,2,290,16,0,30,2,3,0,15,3,9,395,2309,106,6,12,4,8,8,9,5991,84,2,70,2,1,3,0,3,1,3,3,2,11,2,0,2,6,2,64,2,3,3,7,2,6,2,27,2,3,2,4,2,0,4,6,2,339,3,24,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,7,1845,30,7,5,262,61,147,44,11,6,17,0,322,29,19,43,485,27,757,6,2,3,2,1,2,14,2,196,60,67,8,0,1205,3,2,26,2,1,2,0,3,0,2,9,2,3,2,0,2,0,7,0,5,0,2,0,2,0,2,2,2,1,2,0,3,0,2,0,2,0,2,0,2,0,2,1,2,0,3,3,2,6,2,3,2,3,2,0,2,9,2,16,6,2,2,4,2,16,4421,42719,33,4153,7,221,3,5761,15,7472,16,621,2467,541,1507,4938,6,4191],gi=[509,0,227,0,150,4,294,9,1368,2,2,1,6,3,41,2,5,0,166,1,574,3,9,9,370,1,81,2,71,10,50,3,123,2,54,14,32,10,3,1,11,3,46,10,8,0,46,9,7,2,37,13,2,9,6,1,45,0,13,2,49,13,9,3,2,11,83,11,7,0,3,0,158,11,6,9,7,3,56,1,2,6,3,1,3,2,10,0,11,1,3,6,4,4,193,17,10,9,5,0,82,19,13,9,214,6,3,8,28,1,83,16,16,9,82,12,9,9,84,14,5,9,243,14,166,9,71,5,2,1,3,3,2,0,2,1,13,9,120,6,3,6,4,0,29,9,41,6,2,3,9,0,10,10,47,15,406,7,2,7,17,9,57,21,2,13,123,5,4,0,2,1,2,6,2,0,9,9,49,4,2,1,2,4,9,9,330,3,10,1,2,0,49,6,4,4,14,9,5351,0,7,14,13835,9,87,9,39,4,60,6,26,9,1014,0,2,54,8,3,82,0,12,1,19628,1,4706,45,3,22,543,4,4,5,9,7,3,6,31,3,149,2,1418,49,513,54,5,49,9,0,15,0,23,4,2,14,1361,6,2,16,3,6,2,1,2,4,101,0,161,6,10,9,357,0,62,13,499,13,983,6,110,6,6,9,4759,9,787719,239];function We(a,t){let e=65536;for(let s=0,i=t.length;sa)return!1;if(e+=t[s+1],e>=a)return!0}return!1}function _(a){return a<65?a===36:a<=90?!0:a<97?a===95:a<=122?!0:a<=65535?a>=170&&xi.test(String.fromCharCode(a)):We(a,Xt)}function Q(a){return a<48?a===36:a<58?!0:a<65?!1:a<=90?!0:a<97?a===95:a<=122?!0:a<=65535?a>=170&&Pi.test(String.fromCharCode(a)):We(a,Xt)||We(a,gi)}var Tt={keyword:["break","case","catch","continue","debugger","default","do","else","finally","for","function","if","return","switch","throw","try","var","const","while","with","new","this","super","class","extends","export","import","null","true","false","in","instanceof","typeof","void","delete"],strict:["implements","interface","let","package","private","protected","public","static","yield"],strictBind:["eval","arguments"]},Ti=new Set(Tt.keyword),bi=new Set(Tt.strict),Ai=new Set(Tt.strictBind);function Gt(a,t){return t&&a==="await"||a==="enum"}function Yt(a,t){return Gt(a,t)||bi.has(a)}function Qt(a){return Ai.has(a)}function Zt(a,t){return Yt(a,t)||Qt(a)}function Si(a){return Ti.has(a)}function wi(a,t,e){return a===64&&t===64&&_(e)}var Ci=new Set(["break","case","catch","continue","debugger","default","do","else","finally","for","function","if","return","switch","throw","try","var","const","while","with","new","this","super","class","extends","export","import","null","true","false","in","instanceof","typeof","void","delete","implements","interface","let","package","private","protected","public","static","yield","eval","arguments","enum","await"]);function Ei(a){return Ci.has(a)}var de=class{constructor(t){this.flags=0,this.names=new Map,this.firstLexicalName="",this.flags=t}},me=class{constructor(t,e){this.parser=void 0,this.scopeStack=[],this.inModule=void 0,this.undefinedExports=new Map,this.parser=t,this.inModule=e}get inTopLevel(){return(this.currentScope().flags&1)>0}get inFunction(){return(this.currentVarScopeFlags()&2)>0}get allowSuper(){return(this.currentThisScopeFlags()&16)>0}get allowDirectSuper(){return(this.currentThisScopeFlags()&32)>0}get inClass(){return(this.currentThisScopeFlags()&64)>0}get inClassAndNotInNonArrowFunction(){let t=this.currentThisScopeFlags();return(t&64)>0&&(t&2)===0}get inStaticBlock(){for(let t=this.scopeStack.length-1;;t--){let{flags:e}=this.scopeStack[t];if(e&128)return!0;if(e&451)return!1}}get inNonArrowFunction(){return(this.currentThisScopeFlags()&2)>0}get treatFunctionsAsVar(){return this.treatFunctionsAsVarInScope(this.currentScope())}createScope(t){return new de(t)}enter(t){this.scopeStack.push(this.createScope(t))}exit(){return this.scopeStack.pop().flags}treatFunctionsAsVarInScope(t){return!!(t.flags&130||!this.parser.inModule&&t.flags&1)}declareName(t,e,s){let i=this.currentScope();if(e&8||e&16){this.checkRedeclarationInScope(i,t,e,s);let r=i.names.get(t)||0;e&16?r=r|4:(i.firstLexicalName||(i.firstLexicalName=t),r=r|2),i.names.set(t,r),e&8&&this.maybeExportDefined(i,t)}else if(e&4)for(let r=this.scopeStack.length-1;r>=0&&(i=this.scopeStack[r],this.checkRedeclarationInScope(i,t,e,s),i.names.set(t,(i.names.get(t)||0)|1),this.maybeExportDefined(i,t),!(i.flags&387));--r);this.parser.inModule&&i.flags&1&&this.undefinedExports.delete(t)}maybeExportDefined(t,e){this.parser.inModule&&t.flags&1&&this.undefinedExports.delete(e)}checkRedeclarationInScope(t,e,s,i){this.isRedeclaredInScope(t,e,s)&&this.parser.raise(p.VarRedeclaration,i,{identifierName:e})}isRedeclaredInScope(t,e,s){if(!(s&1))return!1;if(s&8)return t.names.has(e);let i=t.names.get(e);return s&16?(i&2)>0||!this.treatFunctionsAsVarInScope(t)&&(i&1)>0:(i&2)>0&&!(t.flags&8&&t.firstLexicalName===e)||!this.treatFunctionsAsVarInScope(t)&&(i&4)>0}checkLocalExport(t){let{name:e}=t;this.scopeStack[0].names.has(e)||this.undefinedExports.set(e,t.loc.start)}currentScope(){return this.scopeStack[this.scopeStack.length-1]}currentVarScopeFlags(){for(let t=this.scopeStack.length-1;;t--){let{flags:e}=this.scopeStack[t];if(e&387)return e}}currentThisScopeFlags(){for(let t=this.scopeStack.length-1;;t--){let{flags:e}=this.scopeStack[t];if(e&451&&!(e&4))return e}}},Je=class extends de{constructor(...t){super(...t),this.declareFunctions=new Set}},Xe=class extends me{createScope(t){return new Je(t)}declareName(t,e,s){let i=this.currentScope();if(e&2048){this.checkRedeclarationInScope(i,t,e,s),this.maybeExportDefined(i,t),i.declareFunctions.add(t);return}super.declareName(t,e,s)}isRedeclaredInScope(t,e,s){if(super.isRedeclaredInScope(t,e,s))return!0;if(s&2048&&!t.declareFunctions.has(e)){let i=t.names.get(e);return(i&4)>0||(i&2)>0}return!1}checkLocalExport(t){this.scopeStack[0].declareFunctions.has(t.name)||super.checkLocalExport(t)}},Ge=class{constructor(){this.sawUnambiguousESM=!1,this.ambiguousScriptDifferentAst=!1}hasPlugin(t){if(typeof t=="string")return this.plugins.has(t);{let[e,s]=t;if(!this.hasPlugin(e))return!1;let i=this.plugins.get(e);for(let r of Object.keys(s))if((i==null?void 0:i[r])!==s[r])return!1;return!0}}getPluginOption(t,e){var s;return(s=this.plugins.get(t))==null?void 0:s[e]}};function es(a,t){a.trailingComments===void 0?a.trailingComments=t:a.trailingComments.unshift(...t)}function Ii(a,t){a.leadingComments===void 0?a.leadingComments=t:a.leadingComments.unshift(...t)}function ye(a,t){a.innerComments===void 0?a.innerComments=t:a.innerComments.unshift(...t)}function le(a,t,e){let s=null,i=t.length;for(;s===null&&i>0;)s=t[--i];s===null||s.start>e.start?ye(a,e.comments):es(s,e.comments)}var Ye=class extends Ge{addComment(t){this.filename&&(t.loc.filename=this.filename);let{commentsLen:e}=this.state;this.comments.length!==e&&(this.comments.length=e),this.comments.push(t),this.state.commentsLen++}processComment(t){let{commentStack:e}=this.state,s=e.length;if(s===0)return;let i=s-1,r=e[i];r.start===t.end&&(r.leadingNode=t,i--);let{start:n}=t;for(;i>=0;i--){let o=e[i],h=o.end;if(h>n)o.containingNode=t,this.finalizeComment(o),e.splice(i,1);else{h===n&&(o.trailingNode=t);break}}}finalizeComment(t){let{comments:e}=t;if(t.leadingNode!==null||t.trailingNode!==null)t.leadingNode!==null&&es(t.leadingNode,e),t.trailingNode!==null&&Ii(t.trailingNode,e);else{let{containingNode:s,start:i}=t;if(this.input.charCodeAt(i-1)===44)switch(s.type){case"ObjectExpression":case"ObjectPattern":case"RecordExpression":le(s,s.properties,t);break;case"CallExpression":case"OptionalCallExpression":le(s,s.arguments,t);break;case"FunctionDeclaration":case"FunctionExpression":case"ArrowFunctionExpression":case"ObjectMethod":case"ClassMethod":case"ClassPrivateMethod":le(s,s.params,t);break;case"ArrayExpression":case"ArrayPattern":case"TupleExpression":le(s,s.elements,t);break;case"ExportNamedDeclaration":case"ImportDeclaration":le(s,s.specifiers,t);break;default:ye(s,e)}else ye(s,e)}}finalizeRemainingComments(){let{commentStack:t}=this.state;for(let e=t.length-1;e>=0;e--)this.finalizeComment(t[e]);this.state.commentStack=[]}resetPreviousNodeTrailingComments(t){let{commentStack:e}=this.state,{length:s}=e;if(s===0)return;let i=e[s-1];i.leadingNode===t&&(i.leadingNode=null)}resetPreviousIdentifierLeadingComments(t){let{commentStack:e}=this.state,{length:s}=e;s!==0&&(e[s-1].trailingNode===t?e[s-1].trailingNode=null:s>=2&&e[s-2].trailingNode===t&&(e[s-2].trailingNode=null))}takeSurroundingComments(t,e,s){let{commentStack:i}=this.state,r=i.length;if(r===0)return;let n=r-1;for(;n>=0;n--){let o=i[n],h=o.end;if(o.start===s)o.leadingNode=t;else if(h===e)o.trailingNode=t;else if(h0}set strict(t){t?this.flags|=1:this.flags&=-2}init({strictMode:t,sourceType:e,startLine:s,startColumn:i}){this.strict=t===!1?!1:t===!0?!0:e==="module",this.curLine=s,this.lineStart=-i,this.startLoc=this.endLoc=new F(s,i,0)}get maybeInArrowParameters(){return(this.flags&2)>0}set maybeInArrowParameters(t){t?this.flags|=2:this.flags&=-3}get inType(){return(this.flags&4)>0}set inType(t){t?this.flags|=4:this.flags&=-5}get noAnonFunctionType(){return(this.flags&8)>0}set noAnonFunctionType(t){t?this.flags|=8:this.flags&=-9}get hasFlowComment(){return(this.flags&16)>0}set hasFlowComment(t){t?this.flags|=16:this.flags&=-17}get isAmbientContext(){return(this.flags&32)>0}set isAmbientContext(t){t?this.flags|=32:this.flags&=-33}get inAbstractClass(){return(this.flags&64)>0}set inAbstractClass(t){t?this.flags|=64:this.flags&=-65}get inDisallowConditionalTypesContext(){return(this.flags&128)>0}set inDisallowConditionalTypesContext(t){t?this.flags|=128:this.flags&=-129}get soloAwait(){return(this.flags&256)>0}set soloAwait(t){t?this.flags|=256:this.flags&=-257}get inFSharpPipelineDirectBody(){return(this.flags&512)>0}set inFSharpPipelineDirectBody(t){t?this.flags|=512:this.flags&=-513}get canStartJSXElement(){return(this.flags&1024)>0}set canStartJSXElement(t){t?this.flags|=1024:this.flags&=-1025}get containsEsc(){return(this.flags&2048)>0}set containsEsc(t){t?this.flags|=2048:this.flags&=-2049}curPosition(){return new F(this.curLine,this.pos-this.lineStart,this.pos)}clone(){let t=new a;return t.flags=this.flags,t.curLine=this.curLine,t.lineStart=this.lineStart,t.startLoc=this.startLoc,t.endLoc=this.endLoc,t.errors=this.errors.slice(),t.potentialArrowAt=this.potentialArrowAt,t.noArrowAt=this.noArrowAt.slice(),t.noArrowParamsConversionAt=this.noArrowParamsConversionAt.slice(),t.topicContext=this.topicContext,t.labels=this.labels.slice(),t.commentsLen=this.commentsLen,t.commentStack=this.commentStack.slice(),t.pos=this.pos,t.type=this.type,t.value=this.value,t.start=this.start,t.end=this.end,t.lastTokEndLoc=this.lastTokEndLoc,t.lastTokStartLoc=this.lastTokStartLoc,t.context=this.context.slice(),t.firstInvalidTemplateEscapePos=this.firstInvalidTemplateEscapePos,t.strictErrors=this.strictErrors,t.tokensLength=this.tokensLength,t}},ki=function(t){return t>=48&&t<=57},Rt={decBinOct:new Set([46,66,69,79,95,98,101,111]),hex:new Set([46,88,95,120])},we={bin:a=>a===48||a===49,oct:a=>a>=48&&a<=55,dec:a=>a>=48&&a<=57,hex:a=>a>=48&&a<=57||a>=65&&a<=70||a>=97&&a<=102};function Ut(a,t,e,s,i,r){let n=e,o=s,h=i,c="",l=null,u=e,{length:f}=t;for(;;){if(e>=f){r.unterminated(n,o,h),c+=t.slice(u,e);break}let d=t.charCodeAt(e);if(vi(a,d,t,e)){c+=t.slice(u,e);break}if(d===92){c+=t.slice(u,e);let y=Li(t,e,s,i,a==="template",r);y.ch===null&&!l?l={pos:e,lineStart:s,curLine:i}:c+=y.ch,{pos:e,lineStart:s,curLine:i}=y,u=e}else d===8232||d===8233?(++e,++i,s=e):d===10||d===13?a==="template"?(c+=t.slice(u,e)+` +`,++e,d===13&&t.charCodeAt(e)===10&&++e,++i,u=s=e):r.unterminated(n,o,h):++e}return{pos:e,str:c,firstInvalidLoc:l,lineStart:s,curLine:i,containsInvalid:!!l}}function vi(a,t,e,s){return a==="template"?t===96||t===36&&e.charCodeAt(s+1)===123:t===(a==="double"?34:39)}function Li(a,t,e,s,i,r){let n=!i;t++;let o=c=>({pos:t,ch:c,lineStart:e,curLine:s}),h=a.charCodeAt(t++);switch(h){case 110:return o(` +`);case 114:return o("\r");case 120:{let c;return{code:c,pos:t}=Ze(a,t,e,s,2,!1,n,r),o(c===null?null:String.fromCharCode(c))}case 117:{let c;return{code:c,pos:t}=is(a,t,e,s,n,r),o(c===null?null:String.fromCodePoint(c))}case 116:return o(" ");case 98:return o("\b");case 118:return o("\v");case 102:return o("\f");case 13:a.charCodeAt(t)===10&&++t;case 10:e=t,++s;case 8232:case 8233:return o("");case 56:case 57:if(i)return o(null);r.strictNumericEscape(t-1,e,s);default:if(h>=48&&h<=55){let c=t-1,u=/^[0-7]+/.exec(a.slice(c,t+2))[0],f=parseInt(u,8);f>255&&(u=u.slice(0,-1),f=parseInt(u,8)),t+=u.length-1;let d=a.charCodeAt(t);if(u!=="0"||d===56||d===57){if(i)return o(null);r.strictNumericEscape(c,e,s)}return o(String.fromCharCode(f))}return o(String.fromCharCode(h))}}function Ze(a,t,e,s,i,r,n,o){let h=t,c;return{n:c,pos:t}=ss(a,t,e,s,16,i,r,!1,o,!n),c===null&&(n?o.invalidEscapeSequence(h,e,s):t=h-1),{code:c,pos:t}}function ss(a,t,e,s,i,r,n,o,h,c){let l=t,u=i===16?Rt.hex:Rt.decBinOct,f=i===16?we.hex:i===10?we.dec:i===8?we.oct:we.bin,d=!1,y=0;for(let E=0,L=r??1/0;E=97?I=S-97+10:S>=65?I=S-65+10:ki(S)?I=S-48:I=1/0,I>=i){if(I<=9&&c)return{n:null,pos:t};if(I<=9&&h.invalidDigit(t,e,s,i))I=0;else if(n)I=0,d=!0;else break}++t,y=y*i+I}return t===l||r!=null&&t-l!==r||d?{n:null,pos:t}:{n:y,pos:t}}function is(a,t,e,s,i,r){let n=a.charCodeAt(t),o;if(n===123){if(++t,{code:o,pos:t}=Ze(a,t,e,s,a.indexOf("}",t)-t,!0,i,r),++t,o!==null&&o>1114111)if(i)r.invalidCodePoint(t,e,s);else return{code:null,pos:t}}else({code:o,pos:t}=Ze(a,t,e,s,4,!1,i,r));return{code:o,pos:t}}function ce(a,t,e){return new F(e,a-t,a)}var Di=new Set([103,109,115,105,121,117,100,118]),O=class{constructor(t){this.type=t.type,this.value=t.value,this.start=t.start,this.end=t.end,this.loc=new ee(t.startLoc,t.endLoc)}},et=class extends Ye{constructor(t,e){super(),this.isLookahead=void 0,this.tokens=[],this.errorHandlers_readInt={invalidDigit:(s,i,r,n)=>this.options.errorRecovery?(this.raise(p.InvalidDigit,ce(s,i,r),{radix:n}),!0):!1,numericSeparatorInEscapeSequence:this.errorBuilder(p.NumericSeparatorInEscapeSequence),unexpectedNumericSeparator:this.errorBuilder(p.UnexpectedNumericSeparator)},this.errorHandlers_readCodePoint=Object.assign({},this.errorHandlers_readInt,{invalidEscapeSequence:this.errorBuilder(p.InvalidEscapeSequence),invalidCodePoint:this.errorBuilder(p.InvalidCodePoint)}),this.errorHandlers_readStringContents_string=Object.assign({},this.errorHandlers_readCodePoint,{strictNumericEscape:(s,i,r)=>{this.recordStrictModeErrors(p.StrictNumericEscape,ce(s,i,r))},unterminated:(s,i,r)=>{throw this.raise(p.UnterminatedString,ce(s-1,i,r))}}),this.errorHandlers_readStringContents_template=Object.assign({},this.errorHandlers_readCodePoint,{strictNumericEscape:this.errorBuilder(p.StrictNumericEscape),unterminated:(s,i,r)=>{throw this.raise(p.UnterminatedTemplate,ce(s,i,r))}}),this.state=new Qe,this.state.init(t),this.input=e,this.length=e.length,this.comments=[],this.isLookahead=!1}pushToken(t){this.tokens.length=this.state.tokensLength,this.tokens.push(t),++this.state.tokensLength}next(){this.checkKeywordEscapes(),this.options.tokens&&this.pushToken(new O(this.state)),this.state.lastTokEndLoc=this.state.endLoc,this.state.lastTokStartLoc=this.state.startLoc,this.nextToken()}eat(t){return this.match(t)?(this.next(),!0):!1}match(t){return this.state.type===t}createLookaheadState(t){return{pos:t.pos,value:null,type:t.type,start:t.start,end:t.end,context:[this.curContext()],inType:t.inType,startLoc:t.startLoc,lastTokEndLoc:t.lastTokEndLoc,curLine:t.curLine,lineStart:t.lineStart,curPosition:t.curPosition}}lookahead(){let t=this.state;this.state=this.createLookaheadState(t),this.isLookahead=!0,this.nextToken(),this.isLookahead=!1;let e=this.state;return this.state=t,e}nextTokenStart(){return this.nextTokenStartSince(this.state.pos)}nextTokenStartSince(t){return Ve.lastIndex=t,Ve.test(this.input)?Ve.lastIndex:t}lookaheadCharCode(){return this.input.charCodeAt(this.nextTokenStart())}nextTokenInLineStart(){return this.nextTokenInLineStartSince(this.state.pos)}nextTokenInLineStartSince(t){return Ie.lastIndex=t,Ie.test(this.input)?Ie.lastIndex:t}lookaheadInLineCharCode(){return this.input.charCodeAt(this.nextTokenInLineStart())}codePointAtPos(t){let e=this.input.charCodeAt(t);if((e&64512)===55296&&++tthis.raise(e,s)),this.state.strictErrors.clear())}curContext(){return this.state.context[this.state.context.length-1]}nextToken(){if(this.skipSpace(),this.state.start=this.state.pos,this.isLookahead||(this.state.startLoc=this.state.curPosition()),this.state.pos>=this.length){this.finishToken(139);return}this.getTokenFromCode(this.codePointAtPos(this.state.pos))}skipBlockComment(t){let e;this.isLookahead||(e=this.state.curPosition());let s=this.state.pos,i=this.input.indexOf(t,s+2);if(i===-1)throw this.raise(p.UnterminatedComment,this.state.curPosition());for(this.state.pos=i+t.length,Se.lastIndex=s+2;Se.test(this.input)&&Se.lastIndex<=i;)++this.state.curLine,this.state.lineStart=Se.lastIndex;if(this.isLookahead)return;let r={type:"CommentBlock",value:this.input.slice(s+2,i),start:s,end:i+t.length,loc:new ee(e,this.state.curPosition())};return this.options.tokens&&this.pushToken(r),r}skipLineComment(t){let e=this.state.pos,s;this.isLookahead||(s=this.state.curPosition());let i=this.input.charCodeAt(this.state.pos+=t);if(this.state.post)){let r=this.skipLineComment(3);r!==void 0&&(this.addComment(r),this.options.attachComment&&e.push(r))}else break e}else if(s===60&&!this.inModule&&this.options.annexB){let i=this.state.pos;if(this.input.charCodeAt(i+1)===33&&this.input.charCodeAt(i+2)===45&&this.input.charCodeAt(i+3)===45){let r=this.skipLineComment(4);r!==void 0&&(this.addComment(r),this.options.attachComment&&e.push(r))}else break e}else break e}}if(e.length>0){let s=this.state.pos,i={start:t,end:s,comments:e,leadingNode:null,trailingNode:null,containingNode:null};this.state.commentStack.push(i)}}finishToken(t,e){this.state.end=this.state.pos,this.state.endLoc=this.state.curPosition();let s=this.state.type;this.state.type=t,this.state.value=e,this.isLookahead||this.updateContext(s)}replaceToken(t){this.state.type=t,this.updateContext()}readToken_numberSign(){if(this.state.pos===0&&this.readToken_interpreter())return;let t=this.state.pos+1,e=this.codePointAtPos(t);if(e>=48&&e<=57)throw this.raise(p.UnexpectedDigitAfterHash,this.state.curPosition());if(e===123||e===91&&this.hasPlugin("recordAndTuple")){if(this.expectPlugin("recordAndTuple"),this.getPluginOption("recordAndTuple","syntaxType")==="bar")throw this.raise(e===123?p.RecordExpressionHashIncorrectStartSyntaxType:p.TupleExpressionHashIncorrectStartSyntaxType,this.state.curPosition());this.state.pos+=2,e===123?this.finishToken(7):this.finishToken(1)}else _(e)?(++this.state.pos,this.finishToken(138,this.readWord1(e))):e===92?(++this.state.pos,this.finishToken(138,this.readWord1())):this.finishOp(27,1)}readToken_dot(){let t=this.input.charCodeAt(this.state.pos+1);if(t>=48&&t<=57){this.readNumber(!0);return}t===46&&this.input.charCodeAt(this.state.pos+2)===46?(this.state.pos+=3,this.finishToken(21)):(++this.state.pos,this.finishToken(16))}readToken_slash(){this.input.charCodeAt(this.state.pos+1)===61?this.finishOp(31,2):this.finishOp(56,1)}readToken_interpreter(){if(this.state.pos!==0||this.length<2)return!1;let t=this.input.charCodeAt(this.state.pos+1);if(t!==33)return!1;let e=this.state.pos;for(this.state.pos+=1;!fe(t)&&++this.state.pos=48&&e<=57)?(this.state.pos+=2,this.finishToken(18)):(++this.state.pos,this.finishToken(17))}getTokenFromCode(t){switch(t){case 46:this.readToken_dot();return;case 40:++this.state.pos,this.finishToken(10);return;case 41:++this.state.pos,this.finishToken(11);return;case 59:++this.state.pos,this.finishToken(13);return;case 44:++this.state.pos,this.finishToken(12);return;case 91:if(this.hasPlugin("recordAndTuple")&&this.input.charCodeAt(this.state.pos+1)===124){if(this.getPluginOption("recordAndTuple","syntaxType")!=="bar")throw this.raise(p.TupleExpressionBarIncorrectStartSyntaxType,this.state.curPosition());this.state.pos+=2,this.finishToken(2)}else++this.state.pos,this.finishToken(0);return;case 93:++this.state.pos,this.finishToken(3);return;case 123:if(this.hasPlugin("recordAndTuple")&&this.input.charCodeAt(this.state.pos+1)===124){if(this.getPluginOption("recordAndTuple","syntaxType")!=="bar")throw this.raise(p.RecordExpressionBarIncorrectStartSyntaxType,this.state.curPosition());this.state.pos+=2,this.finishToken(6)}else++this.state.pos,this.finishToken(5);return;case 125:++this.state.pos,this.finishToken(8);return;case 58:this.hasPlugin("functionBind")&&this.input.charCodeAt(this.state.pos+1)===58?this.finishOp(15,2):(++this.state.pos,this.finishToken(14));return;case 63:this.readToken_question();return;case 96:this.readTemplateToken();return;case 48:{let e=this.input.charCodeAt(this.state.pos+1);if(e===120||e===88){this.readRadixNumber(16);return}if(e===111||e===79){this.readRadixNumber(8);return}if(e===98||e===66){this.readRadixNumber(2);return}}case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:this.readNumber(!1);return;case 34:case 39:this.readString(t);return;case 47:this.readToken_slash();return;case 37:case 42:this.readToken_mult_modulo(t);return;case 124:case 38:this.readToken_pipe_amp(t);return;case 94:this.readToken_caret();return;case 43:case 45:this.readToken_plus_min(t);return;case 60:this.readToken_lt();return;case 62:this.readToken_gt();return;case 61:case 33:this.readToken_eq_excl(t);return;case 126:this.finishOp(36,1);return;case 64:this.readToken_atSign();return;case 35:this.readToken_numberSign();return;case 92:this.readWord();return;default:if(_(t)){this.readWord(t);return}}throw this.raise(p.InvalidOrUnexpectedToken,this.state.curPosition(),{unexpected:String.fromCodePoint(t)})}finishOp(t,e){let s=this.input.slice(this.state.pos,this.state.pos+e);this.state.pos+=e,this.finishToken(t,s)}readRegexp(){let t=this.state.startLoc,e=this.state.start+1,s,i,{pos:r}=this.state;for(;;++r){if(r>=this.length)throw this.raise(p.UnterminatedRegExp,v(t,1));let c=this.input.charCodeAt(r);if(fe(c))throw this.raise(p.UnterminatedRegExp,v(t,1));if(s)s=!1;else{if(c===91)i=!0;else if(c===93&&i)i=!1;else if(c===47&&!i)break;s=c===92}}let n=this.input.slice(e,r);++r;let o="",h=()=>v(t,r+2-e);for(;r=2&&this.input.charCodeAt(e)===48;if(c){let d=this.input.slice(e,this.state.pos);if(this.recordStrictModeErrors(p.StrictOctalLiteral,s),!this.state.strict){let y=d.indexOf("_");y>0&&this.raise(p.ZeroDigitNumericSeparator,v(s,y))}h=c&&!/[89]/.test(d)}let l=this.input.charCodeAt(this.state.pos);if(l===46&&!h&&(++this.state.pos,this.readInt(10),i=!0,l=this.input.charCodeAt(this.state.pos)),(l===69||l===101)&&!h&&(l=this.input.charCodeAt(++this.state.pos),(l===43||l===45)&&++this.state.pos,this.readInt(10)===null&&this.raise(p.InvalidOrMissingExponent,s),i=!0,o=!0,l=this.input.charCodeAt(this.state.pos)),l===110&&((i||c)&&this.raise(p.InvalidBigIntLiteral,s),++this.state.pos,r=!0),l===109&&(this.expectPlugin("decimal",this.state.curPosition()),(o||c)&&this.raise(p.InvalidDecimal,s),++this.state.pos,n=!0),_(this.codePointAtPos(this.state.pos)))throw this.raise(p.NumberIdentifier,this.state.curPosition());let u=this.input.slice(e,this.state.pos).replace(/[_mn]/g,"");if(r){this.finishToken(135,u);return}if(n){this.finishToken(136,u);return}let f=h?parseInt(u,8):parseFloat(u);this.finishToken(134,f)}readCodePoint(t){let{code:e,pos:s}=is(this.input,this.state.pos,this.state.lineStart,this.state.curLine,t,this.errorHandlers_readCodePoint);return this.state.pos=s,e}readString(t){let{str:e,pos:s,curLine:i,lineStart:r}=Ut(t===34?"double":"single",this.input,this.state.pos+1,this.state.lineStart,this.state.curLine,this.errorHandlers_readStringContents_string);this.state.pos=s+1,this.state.lineStart=r,this.state.curLine=i,this.finishToken(133,e)}readTemplateContinuation(){this.match(8)||this.unexpected(null,8),this.state.pos--,this.readTemplateToken()}readTemplateToken(){let t=this.input[this.state.pos],{str:e,firstInvalidLoc:s,pos:i,curLine:r,lineStart:n}=Ut("template",this.input,this.state.pos+1,this.state.lineStart,this.state.curLine,this.errorHandlers_readStringContents_template);this.state.pos=i+1,this.state.lineStart=n,this.state.curLine=r,s&&(this.state.firstInvalidTemplateEscapePos=new F(s.curLine,s.pos-s.lineStart,s.pos)),this.input.codePointAt(i)===96?this.finishToken(24,s?null:t+e+"`"):(this.state.pos++,this.finishToken(25,s?null:t+e+"${"))}recordStrictModeErrors(t,e){let s=e.index;this.state.strict&&!this.state.strictErrors.has(s)?this.raise(t,e):this.state.strictErrors.set(s,[t,e])}readWord1(t){this.state.containsEsc=!1;let e="",s=this.state.pos,i=this.state.pos;for(t!==void 0&&(this.state.pos+=t<=65535?1:2);this.state.pos=0;o--){let h=n[o];if(h.loc.index===r)return n[o]=t(i,s);if(h.loc.indexthis.hasPlugin(e)))throw this.raise(p.MissingOneOfPlugins,this.state.startLoc,{missingPlugin:t})}errorBuilder(t){return(e,s,i)=>{this.raise(t,ce(e,s,i))}}},tt=class{constructor(){this.privateNames=new Set,this.loneAccessors=new Map,this.undefinedPrivateNames=new Map}},st=class{constructor(t){this.parser=void 0,this.stack=[],this.undefinedPrivateNames=new Map,this.parser=t}current(){return this.stack[this.stack.length-1]}enter(){this.stack.push(new tt)}exit(){let t=this.stack.pop(),e=this.current();for(let[s,i]of Array.from(t.undefinedPrivateNames))e?e.undefinedPrivateNames.has(s)||e.undefinedPrivateNames.set(s,i):this.parser.raise(p.InvalidPrivateFieldResolution,i,{identifierName:s})}declarePrivateName(t,e,s){let{privateNames:i,loneAccessors:r,undefinedPrivateNames:n}=this.current(),o=i.has(t);if(e&3){let h=o&&r.get(t);if(h){let c=h&4,l=e&4,u=h&3,f=e&3;o=u===f||c!==l,o||r.delete(t)}else o||r.set(t,e)}o&&this.parser.raise(p.PrivateNameRedeclaration,s,{identifierName:t}),i.add(t),n.delete(t)}usePrivateName(t,e){let s;for(s of this.stack)if(s.privateNames.has(t))return;s?s.undefinedPrivateNames.set(t,e):this.parser.raise(p.InvalidPrivateFieldResolution,e,{identifierName:t})}},te=class{constructor(t=0){this.type=t}canBeArrowParameterDeclaration(){return this.type===2||this.type===1}isCertainlyParameterDeclaration(){return this.type===3}},Le=class extends te{constructor(t){super(t),this.declarationErrors=new Map}recordDeclarationError(t,e){let s=e.index;this.declarationErrors.set(s,[t,e])}clearDeclarationError(t){this.declarationErrors.delete(t)}iterateErrors(t){this.declarationErrors.forEach(t)}},it=class{constructor(t){this.parser=void 0,this.stack=[new te],this.parser=t}enter(t){this.stack.push(t)}exit(){this.stack.pop()}recordParameterInitializerError(t,e){let s=e.loc.start,{stack:i}=this,r=i.length-1,n=i[r];for(;!n.isCertainlyParameterDeclaration();){if(n.canBeArrowParameterDeclaration())n.recordDeclarationError(t,s);else return;n=i[--r]}this.parser.raise(t,s)}recordArrowParameterBindingError(t,e){let{stack:s}=this,i=s[s.length-1],r=e.loc.start;if(i.isCertainlyParameterDeclaration())this.parser.raise(t,r);else if(i.canBeArrowParameterDeclaration())i.recordDeclarationError(t,r);else return}recordAsyncArrowParametersError(t){let{stack:e}=this,s=e.length-1,i=e[s];for(;i.canBeArrowParameterDeclaration();)i.type===2&&i.recordDeclarationError(p.AwaitBindingIdentifier,t),i=e[--s]}validateAsPattern(){let{stack:t}=this,e=t[t.length-1];e.canBeArrowParameterDeclaration()&&e.iterateErrors(([s,i])=>{this.parser.raise(s,i);let r=t.length-2,n=t[r];for(;n.canBeArrowParameterDeclaration();)n.clearDeclarationError(i.index),n=t[--r]})}};function Mi(){return new te(3)}function Oi(){return new Le(1)}function Fi(){return new Le(2)}function rs(){return new te}var rt=class{constructor(){this.stacks=[]}enter(t){this.stacks.push(t)}exit(){this.stacks.pop()}currentFlags(){return this.stacks[this.stacks.length-1]}get hasAwait(){return(this.currentFlags()&2)>0}get hasYield(){return(this.currentFlags()&1)>0}get hasReturn(){return(this.currentFlags()&4)>0}get hasIn(){return(this.currentFlags()&8)>0}};function Ne(a,t){return(a?2:0)|(t?1:0)}var at=class extends et{addExtra(t,e,s,i=!0){if(!t)return;let r=t.extra=t.extra||{};i?r[e]=s:Object.defineProperty(r,e,{enumerable:i,value:s})}isContextual(t){return this.state.type===t&&!this.state.containsEsc}isUnparsedContextual(t,e){let s=t+e.length;if(this.input.slice(t,s)===e){let i=this.input.charCodeAt(s);return!(Q(i)||(i&64512)===55296)}return!1}isLookaheadContextual(t){let e=this.nextTokenStart();return this.isUnparsedContextual(e,t)}eatContextual(t){return this.isContextual(t)?(this.next(),!0):!1}expectContextual(t,e){if(!this.eatContextual(t)){if(e!=null)throw this.raise(e,this.state.startLoc);this.unexpected(null,t)}}canInsertSemicolon(){return this.match(139)||this.match(8)||this.hasPrecedingLineBreak()}hasPrecedingLineBreak(){return ts.test(this.input.slice(this.state.lastTokEndLoc.index,this.state.start))}hasFollowingLineBreak(){return Bt.lastIndex=this.state.end,Bt.test(this.input)}isLineTerminator(){return this.eat(13)||this.canInsertSemicolon()}semicolon(t=!0){(t?this.isLineTerminator():this.eat(13))||this.raise(p.MissingSemicolon,this.state.lastTokEndLoc)}expect(t,e){this.eat(t)||this.unexpected(e,t)}tryParse(t,e=this.state.clone()){let s={node:null};try{let i=t((r=null)=>{throw s.node=r,s});if(this.state.errors.length>e.errors.length){let r=this.state;return this.state=e,this.state.tokensLength=r.tokensLength,{node:i,error:r.errors[e.errors.length],thrown:!1,aborted:!1,failState:r}}return{node:i,error:null,thrown:!1,aborted:!1,failState:null}}catch(i){let r=this.state;if(this.state=e,i instanceof SyntaxError)return{node:null,error:i,thrown:!0,aborted:!1,failState:r};if(i===s)return{node:s.node,error:null,thrown:!1,aborted:!0,failState:r};throw i}}checkExpressionErrors(t,e){if(!t)return!1;let{shorthandAssignLoc:s,doubleProtoLoc:i,privateKeyLoc:r,optionalParametersLoc:n}=t,o=!!s||!!i||!!n||!!r;if(!e)return o;s!=null&&this.raise(p.InvalidCoverInitializedName,s),i!=null&&this.raise(p.DuplicateProto,i),r!=null&&this.raise(p.UnexpectedPrivateField,r),n!=null&&this.unexpected(n)}isLiteralPropertyName(){return Wt(this.state.type)}isPrivateName(t){return t.type==="PrivateName"}getPrivateNameSV(t){return t.id.name}hasPropertyAsPrivateName(t){return(t.type==="MemberExpression"||t.type==="OptionalMemberExpression")&&this.isPrivateName(t.property)}isObjectProperty(t){return t.type==="ObjectProperty"}isObjectMethod(t){return t.type==="ObjectMethod"}initializeScopes(t=this.options.sourceType==="module"){let e=this.state.labels;this.state.labels=[];let s=this.exportedIdentifiers;this.exportedIdentifiers=new Set;let i=this.inModule;this.inModule=t;let r=this.scope,n=this.getScopeHandler();this.scope=new n(this,t);let o=this.prodParam;this.prodParam=new rt;let h=this.classScope;this.classScope=new st(this);let c=this.expressionScope;return this.expressionScope=new it(this),()=>{this.state.labels=e,this.exportedIdentifiers=s,this.inModule=i,this.scope=r,this.prodParam=o,this.classScope=h,this.expressionScope=c}}enterInitialScopes(){let t=0;this.inModule&&(t|=2),this.scope.enter(1),this.prodParam.enter(t)}checkDestructuringPrivate(t){let{privateKeyLoc:e}=t;e!==null&&this.expectPlugin("destructuringPrivate",e)}},Z=class{constructor(){this.shorthandAssignLoc=null,this.doubleProtoLoc=null,this.privateKeyLoc=null,this.optionalParametersLoc=null}},se=class{constructor(t,e,s){this.type="",this.start=e,this.end=0,this.loc=new ee(s),t!=null&&t.options.ranges&&(this.range=[e,0]),t!=null&&t.filename&&(this.loc.filename=t.filename)}},bt=se.prototype;bt.__clone=function(){let a=new se(void 0,this.start,this.loc.start),t=Object.keys(this);for(let e=0,s=t.length;e`Cannot overwrite reserved type ${a}.`,DeclareClassElement:"The `declare` modifier can only appear on class fields.",DeclareClassFieldInitializer:"Initializers are not allowed in fields with the `declare` modifier.",DuplicateDeclareModuleExports:"Duplicate `declare module.exports` statement.",EnumBooleanMemberNotInitialized:({memberName:a,enumName:t})=>`Boolean enum members need to be initialized. Use either \`${a} = true,\` or \`${a} = false,\` in enum \`${t}\`.`,EnumDuplicateMemberName:({memberName:a,enumName:t})=>`Enum member names need to be unique, but the name \`${a}\` has already been used before in enum \`${t}\`.`,EnumInconsistentMemberValues:({enumName:a})=>`Enum \`${a}\` has inconsistent member initializers. Either use no initializers, or consistently use literals (either booleans, numbers, or strings) for all member initializers.`,EnumInvalidExplicitType:({invalidEnumType:a,enumName:t})=>`Enum type \`${a}\` is not valid. Use one of \`boolean\`, \`number\`, \`string\`, or \`symbol\` in enum \`${t}\`.`,EnumInvalidExplicitTypeUnknownSupplied:({enumName:a})=>`Supplied enum type is not valid. Use one of \`boolean\`, \`number\`, \`string\`, or \`symbol\` in enum \`${a}\`.`,EnumInvalidMemberInitializerPrimaryType:({enumName:a,memberName:t,explicitType:e})=>`Enum \`${a}\` has type \`${e}\`, so the initializer of \`${t}\` needs to be a ${e} literal.`,EnumInvalidMemberInitializerSymbolType:({enumName:a,memberName:t})=>`Symbol enum members cannot be initialized. Use \`${t},\` in enum \`${a}\`.`,EnumInvalidMemberInitializerUnknownType:({enumName:a,memberName:t})=>`The enum member initializer for \`${t}\` needs to be a literal (either a boolean, number, or string) in enum \`${a}\`.`,EnumInvalidMemberName:({enumName:a,memberName:t,suggestion:e})=>`Enum member names cannot start with lowercase 'a' through 'z'. Instead of using \`${t}\`, consider using \`${e}\`, in enum \`${a}\`.`,EnumNumberMemberNotInitialized:({enumName:a,memberName:t})=>`Number enum members need to be initialized, e.g. \`${t} = 1\` in enum \`${a}\`.`,EnumStringMemberInconsistentlyInitialized:({enumName:a})=>`String enum members need to consistently either all use initializers, or use no initializers, in enum \`${a}\`.`,GetterMayNotHaveThisParam:"A getter cannot have a `this` parameter.",ImportReflectionHasImportType:"An `import module` declaration can not use `type` or `typeof` keyword.",ImportTypeShorthandOnlyInPureImport:"The `type` and `typeof` keywords on named imports can only be used on regular `import` statements. It cannot be used with `import type` or `import typeof` statements.",InexactInsideExact:"Explicit inexact syntax cannot appear inside an explicit exact object type.",InexactInsideNonObject:"Explicit inexact syntax cannot appear in class or interface definitions.",InexactVariance:"Explicit inexact syntax cannot have variance.",InvalidNonTypeImportInDeclareModule:"Imports within a `declare module` body must always be `import type` or `import typeof`.",MissingTypeParamDefault:"Type parameter declaration needs a default, since a preceding type parameter declaration has a default.",NestedDeclareModule:"`declare module` cannot be used inside another `declare module`.",NestedFlowComment:"Cannot have a flow comment inside another flow comment.",PatternIsOptional:Object.assign({message:"A binding pattern parameter cannot be optional in an implementation signature."},{reasonCode:"OptionalBindingPattern"}),SetterMayNotHaveThisParam:"A setter cannot have a `this` parameter.",SpreadVariance:"Spread properties cannot have variance.",ThisParamAnnotationRequired:"A type annotation is required for the `this` parameter.",ThisParamBannedInConstructor:"Constructors cannot have a `this` parameter; constructors don't bind `this` like other functions.",ThisParamMayNotBeOptional:"The `this` parameter cannot be optional.",ThisParamMustBeFirst:"The `this` parameter must be the first function parameter.",ThisParamNoDefault:"The `this` parameter may not have a default value.",TypeBeforeInitializer:"Type annotations must come before default assignments, e.g. instead of `age = 25: number` use `age: number = 25`.",TypeCastInPattern:"The type cast expression is expected to be wrapped with parenthesis.",UnexpectedExplicitInexactInObject:"Explicit inexact syntax must appear at the end of an inexact object.",UnexpectedReservedType:({reservedType:a})=>`Unexpected reserved type ${a}.`,UnexpectedReservedUnderscore:"`_` is only allowed as a type argument to call or new.",UnexpectedSpaceBetweenModuloChecks:"Spaces between `%` and `checks` are not allowed here.",UnexpectedSpreadType:"Spread operator cannot appear in class or interface definitions.",UnexpectedSubtractionOperand:'Unexpected token, expected "number" or "bigint".',UnexpectedTokenAfterTypeParameter:"Expected an arrow function after this type parameter declaration.",UnexpectedTypeParameterBeforeAsyncArrowFunction:"Type parameters must come after the async keyword, e.g. instead of ` async () => {}`, use `async () => {}`.",UnsupportedDeclareExportKind:({unsupportedExportKind:a,suggestion:t})=>`\`declare export ${a}\` is not supported. Use \`${t}\` instead.`,UnsupportedStatementInDeclareModule:"Only declares and type imports are allowed inside declare module.",UnterminatedFlowComment:"Unterminated flow-comment."});function _i(a){return a.type==="DeclareExportAllDeclaration"||a.type==="DeclareExportDeclaration"&&(!a.declaration||a.declaration.type!=="TypeAlias"&&a.declaration.type!=="InterfaceDeclaration")}function _t(a){return a.importKind==="type"||a.importKind==="typeof"}var ji={const:"declare export var",let:"declare export var",type:"export type",interface:"export interface"};function $i(a,t){let e=[],s=[];for(let i=0;iclass extends a{constructor(...e){super(...e),this.flowPragma=void 0}getScopeHandler(){return Xe}shouldParseTypes(){return this.getPluginOption("flow","all")||this.flowPragma==="flow"}shouldParseEnums(){return!!this.getPluginOption("flow","enums")}finishToken(e,s){e!==133&&e!==13&&e!==28&&this.flowPragma===void 0&&(this.flowPragma=null),super.finishToken(e,s)}addComment(e){if(this.flowPragma===void 0){let s=Vi.exec(e.value);if(s)if(s[1]==="flow")this.flowPragma="flow";else if(s[1]==="noflow")this.flowPragma="noflow";else throw new Error("Unexpected flow pragma")}super.addComment(e)}flowParseTypeInitialiser(e){let s=this.state.inType;this.state.inType=!0,this.expect(e||14);let i=this.flowParseType();return this.state.inType=s,i}flowParsePredicate(){let e=this.startNode(),s=this.state.startLoc;return this.next(),this.expectContextual(110),this.state.lastTokStartLoc.index>s.index+1&&this.raise(g.UnexpectedSpaceBetweenModuloChecks,s),this.eat(10)?(e.value=super.parseExpression(),this.expect(11),this.finishNode(e,"DeclaredPredicate")):this.finishNode(e,"InferredPredicate")}flowParseTypeAndPredicateInitialiser(){let e=this.state.inType;this.state.inType=!0,this.expect(14);let s=null,i=null;return this.match(54)?(this.state.inType=e,i=this.flowParsePredicate()):(s=this.flowParseType(),this.state.inType=e,this.match(54)&&(i=this.flowParsePredicate())),[s,i]}flowParseDeclareClass(e){return this.next(),this.flowParseInterfaceish(e,!0),this.finishNode(e,"DeclareClass")}flowParseDeclareFunction(e){this.next();let s=e.id=this.parseIdentifier(),i=this.startNode(),r=this.startNode();this.match(47)?i.typeParameters=this.flowParseTypeParameterDeclaration():i.typeParameters=null,this.expect(10);let n=this.flowParseFunctionTypeParams();return i.params=n.params,i.rest=n.rest,i.this=n._this,this.expect(11),[i.returnType,e.predicate]=this.flowParseTypeAndPredicateInitialiser(),r.typeAnnotation=this.finishNode(i,"FunctionTypeAnnotation"),s.typeAnnotation=this.finishNode(r,"TypeAnnotation"),this.resetEndLocation(s),this.semicolon(),this.scope.declareName(e.id.name,2048,e.id.loc.start),this.finishNode(e,"DeclareFunction")}flowParseDeclare(e,s){if(this.match(80))return this.flowParseDeclareClass(e);if(this.match(68))return this.flowParseDeclareFunction(e);if(this.match(74))return this.flowParseDeclareVariable(e);if(this.eatContextual(127))return this.match(16)?this.flowParseDeclareModuleExports(e):(s&&this.raise(g.NestedDeclareModule,this.state.lastTokStartLoc),this.flowParseDeclareModule(e));if(this.isContextual(130))return this.flowParseDeclareTypeAlias(e);if(this.isContextual(131))return this.flowParseDeclareOpaqueType(e);if(this.isContextual(129))return this.flowParseDeclareInterface(e);if(this.match(82))return this.flowParseDeclareExportDeclaration(e,s);this.unexpected()}flowParseDeclareVariable(e){return this.next(),e.id=this.flowParseTypeAnnotatableIdentifier(!0),this.scope.declareName(e.id.name,5,e.id.loc.start),this.semicolon(),this.finishNode(e,"DeclareVariable")}flowParseDeclareModule(e){this.scope.enter(0),this.match(133)?e.id=super.parseExprAtom():e.id=this.parseIdentifier();let s=e.body=this.startNode(),i=s.body=[];for(this.expect(5);!this.match(8);){let o=this.startNode();this.match(83)?(this.next(),!this.isContextual(130)&&!this.match(87)&&this.raise(g.InvalidNonTypeImportInDeclareModule,this.state.lastTokStartLoc),super.parseImport(o)):(this.expectContextual(125,g.UnsupportedStatementInDeclareModule),o=this.flowParseDeclare(o,!0)),i.push(o)}this.scope.exit(),this.expect(8),this.finishNode(s,"BlockStatement");let r=null,n=!1;return i.forEach(o=>{_i(o)?(r==="CommonJS"&&this.raise(g.AmbiguousDeclareModuleKind,o),r="ES"):o.type==="DeclareModuleExports"&&(n&&this.raise(g.DuplicateDeclareModuleExports,o),r==="ES"&&this.raise(g.AmbiguousDeclareModuleKind,o),r="CommonJS",n=!0)}),e.kind=r||"CommonJS",this.finishNode(e,"DeclareModule")}flowParseDeclareExportDeclaration(e,s){if(this.expect(82),this.eat(65))return this.match(68)||this.match(80)?e.declaration=this.flowParseDeclare(this.startNode()):(e.declaration=this.flowParseType(),this.semicolon()),e.default=!0,this.finishNode(e,"DeclareExportDeclaration");if(this.match(75)||this.isLet()||(this.isContextual(130)||this.isContextual(129))&&!s){let i=this.state.value;throw this.raise(g.UnsupportedDeclareExportKind,this.state.startLoc,{unsupportedExportKind:i,suggestion:ji[i]})}if(this.match(74)||this.match(68)||this.match(80)||this.isContextual(131))return e.declaration=this.flowParseDeclare(this.startNode()),e.default=!1,this.finishNode(e,"DeclareExportDeclaration");if(this.match(55)||this.match(5)||this.isContextual(129)||this.isContextual(130)||this.isContextual(131))return e=this.parseExport(e,null),e.type==="ExportNamedDeclaration"&&(e.type="ExportDeclaration",e.default=!1,delete e.exportKind),e.type="Declare"+e.type,e;this.unexpected()}flowParseDeclareModuleExports(e){return this.next(),this.expectContextual(111),e.typeAnnotation=this.flowParseTypeAnnotation(),this.semicolon(),this.finishNode(e,"DeclareModuleExports")}flowParseDeclareTypeAlias(e){this.next();let s=this.flowParseTypeAlias(e);return s.type="DeclareTypeAlias",s}flowParseDeclareOpaqueType(e){this.next();let s=this.flowParseOpaqueType(e,!0);return s.type="DeclareOpaqueType",s}flowParseDeclareInterface(e){return this.next(),this.flowParseInterfaceish(e,!1),this.finishNode(e,"DeclareInterface")}flowParseInterfaceish(e,s){if(e.id=this.flowParseRestrictedIdentifier(!s,!0),this.scope.declareName(e.id.name,s?17:8201,e.id.loc.start),this.match(47)?e.typeParameters=this.flowParseTypeParameterDeclaration():e.typeParameters=null,e.extends=[],this.eat(81))do e.extends.push(this.flowParseInterfaceExtends());while(!s&&this.eat(12));if(s){if(e.implements=[],e.mixins=[],this.eatContextual(117))do e.mixins.push(this.flowParseInterfaceExtends());while(this.eat(12));if(this.eatContextual(113))do e.implements.push(this.flowParseInterfaceExtends());while(this.eat(12))}e.body=this.flowParseObjectType({allowStatic:s,allowExact:!1,allowSpread:!1,allowProto:s,allowInexact:!1})}flowParseInterfaceExtends(){let e=this.startNode();return e.id=this.flowParseQualifiedTypeIdentifier(),this.match(47)?e.typeParameters=this.flowParseTypeParameterInstantiation():e.typeParameters=null,this.finishNode(e,"InterfaceExtends")}flowParseInterface(e){return this.flowParseInterfaceish(e,!1),this.finishNode(e,"InterfaceDeclaration")}checkNotUnderscore(e){e==="_"&&this.raise(g.UnexpectedReservedUnderscore,this.state.startLoc)}checkReservedType(e,s,i){Ui.has(e)&&this.raise(i?g.AssignReservedType:g.UnexpectedReservedType,s,{reservedType:e})}flowParseRestrictedIdentifier(e,s){return this.checkReservedType(this.state.value,this.state.startLoc,s),this.parseIdentifier(e)}flowParseTypeAlias(e){return e.id=this.flowParseRestrictedIdentifier(!1,!0),this.scope.declareName(e.id.name,8201,e.id.loc.start),this.match(47)?e.typeParameters=this.flowParseTypeParameterDeclaration():e.typeParameters=null,e.right=this.flowParseTypeInitialiser(29),this.semicolon(),this.finishNode(e,"TypeAlias")}flowParseOpaqueType(e,s){return this.expectContextual(130),e.id=this.flowParseRestrictedIdentifier(!0,!0),this.scope.declareName(e.id.name,8201,e.id.loc.start),this.match(47)?e.typeParameters=this.flowParseTypeParameterDeclaration():e.typeParameters=null,e.supertype=null,this.match(14)&&(e.supertype=this.flowParseTypeInitialiser(14)),e.impltype=null,s||(e.impltype=this.flowParseTypeInitialiser(29)),this.semicolon(),this.finishNode(e,"OpaqueType")}flowParseTypeParameter(e=!1){let s=this.state.startLoc,i=this.startNode(),r=this.flowParseVariance(),n=this.flowParseTypeAnnotatableIdentifier();return i.name=n.name,i.variance=r,i.bound=n.typeAnnotation,this.match(29)?(this.eat(29),i.default=this.flowParseType()):e&&this.raise(g.MissingTypeParamDefault,s),this.finishNode(i,"TypeParameter")}flowParseTypeParameterDeclaration(){let e=this.state.inType,s=this.startNode();s.params=[],this.state.inType=!0,this.match(47)||this.match(142)?this.next():this.unexpected();let i=!1;do{let r=this.flowParseTypeParameter(i);s.params.push(r),r.default&&(i=!0),this.match(48)||this.expect(12)}while(!this.match(48));return this.expect(48),this.state.inType=e,this.finishNode(s,"TypeParameterDeclaration")}flowParseTypeParameterInstantiation(){let e=this.startNode(),s=this.state.inType;e.params=[],this.state.inType=!0,this.expect(47);let i=this.state.noAnonFunctionType;for(this.state.noAnonFunctionType=!1;!this.match(48);)e.params.push(this.flowParseType()),this.match(48)||this.expect(12);return this.state.noAnonFunctionType=i,this.expect(48),this.state.inType=s,this.finishNode(e,"TypeParameterInstantiation")}flowParseTypeParameterInstantiationCallOrNew(){let e=this.startNode(),s=this.state.inType;for(e.params=[],this.state.inType=!0,this.expect(47);!this.match(48);)e.params.push(this.flowParseTypeOrImplicitInstantiation()),this.match(48)||this.expect(12);return this.expect(48),this.state.inType=s,this.finishNode(e,"TypeParameterInstantiation")}flowParseInterfaceType(){let e=this.startNode();if(this.expectContextual(129),e.extends=[],this.eat(81))do e.extends.push(this.flowParseInterfaceExtends());while(this.eat(12));return e.body=this.flowParseObjectType({allowStatic:!1,allowExact:!1,allowSpread:!1,allowProto:!1,allowInexact:!1}),this.finishNode(e,"InterfaceTypeAnnotation")}flowParseObjectPropertyKey(){return this.match(134)||this.match(133)?super.parseExprAtom():this.parseIdentifier(!0)}flowParseObjectTypeIndexer(e,s,i){return e.static=s,this.lookahead().type===14?(e.id=this.flowParseObjectPropertyKey(),e.key=this.flowParseTypeInitialiser()):(e.id=null,e.key=this.flowParseType()),this.expect(3),e.value=this.flowParseTypeInitialiser(),e.variance=i,this.finishNode(e,"ObjectTypeIndexer")}flowParseObjectTypeInternalSlot(e,s){return e.static=s,e.id=this.flowParseObjectPropertyKey(),this.expect(3),this.expect(3),this.match(47)||this.match(10)?(e.method=!0,e.optional=!1,e.value=this.flowParseObjectTypeMethodish(this.startNodeAt(e.loc.start))):(e.method=!1,this.eat(17)&&(e.optional=!0),e.value=this.flowParseTypeInitialiser()),this.finishNode(e,"ObjectTypeInternalSlot")}flowParseObjectTypeMethodish(e){for(e.params=[],e.rest=null,e.typeParameters=null,e.this=null,this.match(47)&&(e.typeParameters=this.flowParseTypeParameterDeclaration()),this.expect(10),this.match(78)&&(e.this=this.flowParseFunctionTypeParam(!0),e.this.name=null,this.match(11)||this.expect(12));!this.match(11)&&!this.match(21);)e.params.push(this.flowParseFunctionTypeParam(!1)),this.match(11)||this.expect(12);return this.eat(21)&&(e.rest=this.flowParseFunctionTypeParam(!1)),this.expect(11),e.returnType=this.flowParseTypeInitialiser(),this.finishNode(e,"FunctionTypeAnnotation")}flowParseObjectTypeCallProperty(e,s){let i=this.startNode();return e.static=s,e.value=this.flowParseObjectTypeMethodish(i),this.finishNode(e,"ObjectTypeCallProperty")}flowParseObjectType({allowStatic:e,allowExact:s,allowSpread:i,allowProto:r,allowInexact:n}){let o=this.state.inType;this.state.inType=!0;let h=this.startNode();h.callProperties=[],h.properties=[],h.indexers=[],h.internalSlots=[];let c,l,u=!1;for(s&&this.match(6)?(this.expect(6),c=9,l=!0):(this.expect(5),c=8,l=!1),h.exact=l;!this.match(c);){let d=!1,y=null,E=null,L=this.startNode();if(r&&this.isContextual(118)){let I=this.lookahead();I.type!==14&&I.type!==17&&(this.next(),y=this.state.startLoc,e=!1)}if(e&&this.isContextual(106)){let I=this.lookahead();I.type!==14&&I.type!==17&&(this.next(),d=!0)}let S=this.flowParseVariance();if(this.eat(0))y!=null&&this.unexpected(y),this.eat(0)?(S&&this.unexpected(S.loc.start),h.internalSlots.push(this.flowParseObjectTypeInternalSlot(L,d))):h.indexers.push(this.flowParseObjectTypeIndexer(L,d,S));else if(this.match(10)||this.match(47))y!=null&&this.unexpected(y),S&&this.unexpected(S.loc.start),h.callProperties.push(this.flowParseObjectTypeCallProperty(L,d));else{let I="init";if(this.isContextual(99)||this.isContextual(104)){let ne=this.lookahead();Wt(ne.type)&&(I=this.state.value,this.next())}let Ae=this.flowParseObjectTypeProperty(L,d,y,S,I,i,n??!l);Ae===null?(u=!0,E=this.state.lastTokStartLoc):h.properties.push(Ae)}this.flowObjectTypeSemicolon(),E&&!this.match(8)&&!this.match(9)&&this.raise(g.UnexpectedExplicitInexactInObject,E)}this.expect(c),i&&(h.inexact=u);let f=this.finishNode(h,"ObjectTypeAnnotation");return this.state.inType=o,f}flowParseObjectTypeProperty(e,s,i,r,n,o,h){if(this.eat(21))return this.match(12)||this.match(13)||this.match(8)||this.match(9)?(o?h||this.raise(g.InexactInsideExact,this.state.lastTokStartLoc):this.raise(g.InexactInsideNonObject,this.state.lastTokStartLoc),r&&this.raise(g.InexactVariance,r),null):(o||this.raise(g.UnexpectedSpreadType,this.state.lastTokStartLoc),i!=null&&this.unexpected(i),r&&this.raise(g.SpreadVariance,r),e.argument=this.flowParseType(),this.finishNode(e,"ObjectTypeSpreadProperty"));{e.key=this.flowParseObjectPropertyKey(),e.static=s,e.proto=i!=null,e.kind=n;let c=!1;return this.match(47)||this.match(10)?(e.method=!0,i!=null&&this.unexpected(i),r&&this.unexpected(r.loc.start),e.value=this.flowParseObjectTypeMethodish(this.startNodeAt(e.loc.start)),(n==="get"||n==="set")&&this.flowCheckGetterSetterParams(e),!o&&e.key.name==="constructor"&&e.value.this&&this.raise(g.ThisParamBannedInConstructor,e.value.this)):(n!=="init"&&this.unexpected(),e.method=!1,this.eat(17)&&(c=!0),e.value=this.flowParseTypeInitialiser(),e.variance=r),e.optional=c,this.finishNode(e,"ObjectTypeProperty")}}flowCheckGetterSetterParams(e){let s=e.kind==="get"?0:1,i=e.value.params.length+(e.value.rest?1:0);e.value.this&&this.raise(e.kind==="get"?g.GetterMayNotHaveThisParam:g.SetterMayNotHaveThisParam,e.value.this),i!==s&&this.raise(e.kind==="get"?p.BadGetterArity:p.BadSetterArity,e),e.kind==="set"&&e.value.rest&&this.raise(p.BadSetterRestParameter,e)}flowObjectTypeSemicolon(){!this.eat(13)&&!this.eat(12)&&!this.match(8)&&!this.match(9)&&this.unexpected()}flowParseQualifiedTypeIdentifier(e,s){var i;(i=e)!=null||(e=this.state.startLoc);let r=s||this.flowParseRestrictedIdentifier(!0);for(;this.eat(16);){let n=this.startNodeAt(e);n.qualification=r,n.id=this.flowParseRestrictedIdentifier(!0),r=this.finishNode(n,"QualifiedTypeIdentifier")}return r}flowParseGenericType(e,s){let i=this.startNodeAt(e);return i.typeParameters=null,i.id=this.flowParseQualifiedTypeIdentifier(e,s),this.match(47)&&(i.typeParameters=this.flowParseTypeParameterInstantiation()),this.finishNode(i,"GenericTypeAnnotation")}flowParseTypeofType(){let e=this.startNode();return this.expect(87),e.argument=this.flowParsePrimaryType(),this.finishNode(e,"TypeofTypeAnnotation")}flowParseTupleType(){let e=this.startNode();for(e.types=[],this.expect(0);this.state.possuper.parseFunctionBody(e,!0,i));return}super.parseFunctionBody(e,!1,i)}parseFunctionBodyAndFinish(e,s,i=!1){if(this.match(14)){let r=this.startNode();[r.typeAnnotation,e.predicate]=this.flowParseTypeAndPredicateInitialiser(),e.returnType=r.typeAnnotation?this.finishNode(r,"TypeAnnotation"):null}return super.parseFunctionBodyAndFinish(e,s,i)}parseStatementLike(e){if(this.state.strict&&this.isContextual(129)){let i=this.lookahead();if(M(i.type)){let r=this.startNode();return this.next(),this.flowParseInterface(r)}}else if(this.shouldParseEnums()&&this.isContextual(126)){let i=this.startNode();return this.next(),this.flowParseEnumDeclaration(i)}let s=super.parseStatementLike(e);return this.flowPragma===void 0&&!this.isValidDirective(s)&&(this.flowPragma=null),s}parseExpressionStatement(e,s,i){if(s.type==="Identifier"){if(s.name==="declare"){if(this.match(80)||w(this.state.type)||this.match(68)||this.match(74)||this.match(82))return this.flowParseDeclare(e)}else if(w(this.state.type)){if(s.name==="interface")return this.flowParseInterface(e);if(s.name==="type")return this.flowParseTypeAlias(e);if(s.name==="opaque")return this.flowParseOpaqueType(e,!1)}}return super.parseExpressionStatement(e,s,i)}shouldParseExportDeclaration(){let{type:e}=this.state;return Ft(e)||this.shouldParseEnums()&&e===126?!this.state.containsEsc:super.shouldParseExportDeclaration()}isExportDefaultSpecifier(){let{type:e}=this.state;return Ft(e)||this.shouldParseEnums()&&e===126?this.state.containsEsc:super.isExportDefaultSpecifier()}parseExportDefaultExpression(){if(this.shouldParseEnums()&&this.isContextual(126)){let e=this.startNode();return this.next(),this.flowParseEnumDeclaration(e)}return super.parseExportDefaultExpression()}parseConditional(e,s,i){if(!this.match(17))return e;if(this.state.maybeInArrowParameters){let f=this.lookaheadCharCode();if(f===44||f===61||f===58||f===41)return this.setOptionalParametersError(i),e}this.expect(17);let r=this.state.clone(),n=this.state.noArrowAt,o=this.startNodeAt(s),{consequent:h,failed:c}=this.tryParseConditionalConsequent(),[l,u]=this.getArrowLikeExpressions(h);if(c||u.length>0){let f=[...n];if(u.length>0){this.state=r,this.state.noArrowAt=f;for(let d=0;d1&&this.raise(g.AmbiguousConditionalArrow,r.startLoc),c&&l.length===1&&(this.state=r,f.push(l[0].start),this.state.noArrowAt=f,{consequent:h,failed:c}=this.tryParseConditionalConsequent())}return this.getArrowLikeExpressions(h,!0),this.state.noArrowAt=n,this.expect(14),o.test=e,o.consequent=h,o.alternate=this.forwardNoArrowParamsConversionAt(o,()=>this.parseMaybeAssign(void 0,void 0)),this.finishNode(o,"ConditionalExpression")}tryParseConditionalConsequent(){this.state.noArrowParamsConversionAt.push(this.state.start);let e=this.parseMaybeAssignAllowIn(),s=!this.match(14);return this.state.noArrowParamsConversionAt.pop(),{consequent:e,failed:s}}getArrowLikeExpressions(e,s){let i=[e],r=[];for(;i.length!==0;){let n=i.pop();n.type==="ArrowFunctionExpression"&&n.body.type!=="BlockStatement"?(n.typeParameters||!n.returnType?this.finishArrowValidation(n):r.push(n),i.push(n.body)):n.type==="ConditionalExpression"&&(i.push(n.consequent),i.push(n.alternate))}return s?(r.forEach(n=>this.finishArrowValidation(n)),[r,[]]):$i(r,n=>n.params.every(o=>this.isAssignable(o,!0)))}finishArrowValidation(e){var s;this.toAssignableList(e.params,(s=e.extra)==null?void 0:s.trailingCommaLoc,!1),this.scope.enter(6),super.checkParams(e,!1,!0),this.scope.exit()}forwardNoArrowParamsConversionAt(e,s){let i;return this.state.noArrowParamsConversionAt.includes(e.start)?(this.state.noArrowParamsConversionAt.push(this.state.start),i=s(),this.state.noArrowParamsConversionAt.pop()):i=s(),i}parseParenItem(e,s){let i=super.parseParenItem(e,s);if(this.eat(17)&&(i.optional=!0,this.resetEndLocation(e)),this.match(14)){let r=this.startNodeAt(s);return r.expression=i,r.typeAnnotation=this.flowParseTypeAnnotation(),this.finishNode(r,"TypeCastExpression")}return i}assertModuleNodeAllowed(e){e.type==="ImportDeclaration"&&(e.importKind==="type"||e.importKind==="typeof")||e.type==="ExportNamedDeclaration"&&e.exportKind==="type"||e.type==="ExportAllDeclaration"&&e.exportKind==="type"||super.assertModuleNodeAllowed(e)}parseExportDeclaration(e){if(this.isContextual(130)){e.exportKind="type";let s=this.startNode();return this.next(),this.match(5)?(e.specifiers=this.parseExportSpecifiers(!0),super.parseExportFrom(e),null):this.flowParseTypeAlias(s)}else if(this.isContextual(131)){e.exportKind="type";let s=this.startNode();return this.next(),this.flowParseOpaqueType(s,!1)}else if(this.isContextual(129)){e.exportKind="type";let s=this.startNode();return this.next(),this.flowParseInterface(s)}else if(this.shouldParseEnums()&&this.isContextual(126)){e.exportKind="value";let s=this.startNode();return this.next(),this.flowParseEnumDeclaration(s)}else return super.parseExportDeclaration(e)}eatExportStar(e){return super.eatExportStar(e)?!0:this.isContextual(130)&&this.lookahead().type===55?(e.exportKind="type",this.next(),this.next(),!0):!1}maybeParseExportNamespaceSpecifier(e){let{startLoc:s}=this.state,i=super.maybeParseExportNamespaceSpecifier(e);return i&&e.exportKind==="type"&&this.unexpected(s),i}parseClassId(e,s,i){super.parseClassId(e,s,i),this.match(47)&&(e.typeParameters=this.flowParseTypeParameterDeclaration())}parseClassMember(e,s,i){let{startLoc:r}=this.state;if(this.isContextual(125)){if(super.parseClassMemberFromModifier(e,s))return;s.declare=!0}super.parseClassMember(e,s,i),s.declare&&(s.type!=="ClassProperty"&&s.type!=="ClassPrivateProperty"&&s.type!=="PropertyDefinition"?this.raise(g.DeclareClassElement,r):s.value&&this.raise(g.DeclareClassFieldInitializer,s.value))}isIterator(e){return e==="iterator"||e==="asyncIterator"}readIterator(){let e=super.readWord1(),s="@@"+e;(!this.isIterator(e)||!this.state.inType)&&this.raise(p.InvalidIdentifier,this.state.curPosition(),{identifierName:s}),this.finishToken(132,s)}getTokenFromCode(e){let s=this.input.charCodeAt(this.state.pos+1);e===123&&s===124?this.finishOp(6,2):this.state.inType&&(e===62||e===60)?this.finishOp(e===62?48:47,1):this.state.inType&&e===63?s===46?this.finishOp(18,2):this.finishOp(17,1):wi(e,s,this.input.charCodeAt(this.state.pos+2))?(this.state.pos+=2,this.readIterator()):super.getTokenFromCode(e)}isAssignable(e,s){return e.type==="TypeCastExpression"?this.isAssignable(e.expression,s):super.isAssignable(e,s)}toAssignable(e,s=!1){!s&&e.type==="AssignmentExpression"&&e.left.type==="TypeCastExpression"&&(e.left=this.typeCastToParameter(e.left)),super.toAssignable(e,s)}toAssignableList(e,s,i){for(let r=0;r1||!s)&&this.raise(g.TypeCastInPattern,n.typeAnnotation)}return e}parseArrayLike(e,s,i,r){let n=super.parseArrayLike(e,s,i,r);return s&&!this.state.maybeInArrowParameters&&this.toReferencedList(n.elements),n}isValidLVal(e,s,i){return e==="TypeCastExpression"||super.isValidLVal(e,s,i)}parseClassProperty(e){return this.match(14)&&(e.typeAnnotation=this.flowParseTypeAnnotation()),super.parseClassProperty(e)}parseClassPrivateProperty(e){return this.match(14)&&(e.typeAnnotation=this.flowParseTypeAnnotation()),super.parseClassPrivateProperty(e)}isClassMethod(){return this.match(47)||super.isClassMethod()}isClassProperty(){return this.match(14)||super.isClassProperty()}isNonstaticConstructor(e){return!this.match(14)&&super.isNonstaticConstructor(e)}pushClassMethod(e,s,i,r,n,o){if(s.variance&&this.unexpected(s.variance.loc.start),delete s.variance,this.match(47)&&(s.typeParameters=this.flowParseTypeParameterDeclaration()),super.pushClassMethod(e,s,i,r,n,o),s.params&&n){let h=s.params;h.length>0&&this.isThisParam(h[0])&&this.raise(g.ThisParamBannedInConstructor,s)}else if(s.type==="MethodDefinition"&&n&&s.value.params){let h=s.value.params;h.length>0&&this.isThisParam(h[0])&&this.raise(g.ThisParamBannedInConstructor,s)}}pushClassPrivateMethod(e,s,i,r){s.variance&&this.unexpected(s.variance.loc.start),delete s.variance,this.match(47)&&(s.typeParameters=this.flowParseTypeParameterDeclaration()),super.pushClassPrivateMethod(e,s,i,r)}parseClassSuper(e){if(super.parseClassSuper(e),e.superClass&&this.match(47)&&(e.superTypeParameters=this.flowParseTypeParameterInstantiation()),this.isContextual(113)){this.next();let s=e.implements=[];do{let i=this.startNode();i.id=this.flowParseRestrictedIdentifier(!0),this.match(47)?i.typeParameters=this.flowParseTypeParameterInstantiation():i.typeParameters=null,s.push(this.finishNode(i,"ClassImplements"))}while(this.eat(12))}}checkGetterSetterParams(e){super.checkGetterSetterParams(e);let s=this.getObjectOrClassMethodParams(e);if(s.length>0){let i=s[0];this.isThisParam(i)&&e.kind==="get"?this.raise(g.GetterMayNotHaveThisParam,i):this.isThisParam(i)&&this.raise(g.SetterMayNotHaveThisParam,i)}}parsePropertyNamePrefixOperator(e){e.variance=this.flowParseVariance()}parseObjPropValue(e,s,i,r,n,o,h){e.variance&&this.unexpected(e.variance.loc.start),delete e.variance;let c;this.match(47)&&!o&&(c=this.flowParseTypeParameterDeclaration(),this.match(10)||this.unexpected());let l=super.parseObjPropValue(e,s,i,r,n,o,h);return c&&((l.value||l).typeParameters=c),l}parseAssignableListItemTypes(e){return this.eat(17)&&(e.type!=="Identifier"&&this.raise(g.PatternIsOptional,e),this.isThisParam(e)&&this.raise(g.ThisParamMayNotBeOptional,e),e.optional=!0),this.match(14)?e.typeAnnotation=this.flowParseTypeAnnotation():this.isThisParam(e)&&this.raise(g.ThisParamAnnotationRequired,e),this.match(29)&&this.isThisParam(e)&&this.raise(g.ThisParamNoDefault,e),this.resetEndLocation(e),e}parseMaybeDefault(e,s){let i=super.parseMaybeDefault(e,s);return i.type==="AssignmentPattern"&&i.typeAnnotation&&i.right.startsuper.parseMaybeAssign(e,s),r),!n.error)return n.node;let{context:c}=this.state,l=c[c.length-1];(l===C.j_oTag||l===C.j_expr)&&c.pop()}if((i=n)!=null&&i.error||this.match(47)){var o,h;r=r||this.state.clone();let c,l=this.tryParse(f=>{var d;c=this.flowParseTypeParameterDeclaration();let y=this.forwardNoArrowParamsConversionAt(c,()=>{let L=super.parseMaybeAssign(e,s);return this.resetStartLocationFromNode(L,c),L});(d=y.extra)!=null&&d.parenthesized&&f();let E=this.maybeUnwrapTypeCastExpression(y);return E.type!=="ArrowFunctionExpression"&&f(),E.typeParameters=c,this.resetStartLocationFromNode(E,c),y},r),u=null;if(l.node&&this.maybeUnwrapTypeCastExpression(l.node).type==="ArrowFunctionExpression"){if(!l.error&&!l.aborted)return l.node.async&&this.raise(g.UnexpectedTypeParameterBeforeAsyncArrowFunction,c),l.node;u=l.node}if((o=n)!=null&&o.node)return this.state=n.failState,n.node;if(u)return this.state=l.failState,u;throw(h=n)!=null&&h.thrown?n.error:l.thrown?l.error:this.raise(g.UnexpectedTokenAfterTypeParameter,c)}return super.parseMaybeAssign(e,s)}parseArrow(e){if(this.match(14)){let s=this.tryParse(()=>{let i=this.state.noAnonFunctionType;this.state.noAnonFunctionType=!0;let r=this.startNode();return[r.typeAnnotation,e.predicate]=this.flowParseTypeAndPredicateInitialiser(),this.state.noAnonFunctionType=i,this.canInsertSemicolon()&&this.unexpected(),this.match(19)||this.unexpected(),r});if(s.thrown)return null;s.error&&(this.state=s.failState),e.returnType=s.node.typeAnnotation?this.finishNode(s.node,"TypeAnnotation"):null}return super.parseArrow(e)}shouldParseArrow(e){return this.match(14)||super.shouldParseArrow(e)}setArrowFunctionParameters(e,s){this.state.noArrowParamsConversionAt.includes(e.start)?e.params=s:super.setArrowFunctionParameters(e,s)}checkParams(e,s,i,r=!0){if(!(i&&this.state.noArrowParamsConversionAt.includes(e.start))){for(let n=0;n0&&this.raise(g.ThisParamMustBeFirst,e.params[n]);super.checkParams(e,s,i,r)}}parseParenAndDistinguishExpression(e){return super.parseParenAndDistinguishExpression(e&&!this.state.noArrowAt.includes(this.state.start))}parseSubscripts(e,s,i){if(e.type==="Identifier"&&e.name==="async"&&this.state.noArrowAt.includes(s.index)){this.next();let r=this.startNodeAt(s);r.callee=e,r.arguments=super.parseCallExpressionArguments(11,!1),e=this.finishNode(r,"CallExpression")}else if(e.type==="Identifier"&&e.name==="async"&&this.match(47)){let r=this.state.clone(),n=this.tryParse(h=>this.parseAsyncArrowWithTypeParameters(s)||h(),r);if(!n.error&&!n.aborted)return n.node;let o=this.tryParse(()=>super.parseSubscripts(e,s,i),r);if(o.node&&!o.error)return o.node;if(n.node)return this.state=n.failState,n.node;if(o.node)return this.state=o.failState,o.node;throw n.error||o.error}return super.parseSubscripts(e,s,i)}parseSubscript(e,s,i,r){if(this.match(18)&&this.isLookaheadToken_lt()){if(r.optionalChainMember=!0,i)return r.stop=!0,e;this.next();let n=this.startNodeAt(s);return n.callee=e,n.typeArguments=this.flowParseTypeParameterInstantiation(),this.expect(10),n.arguments=this.parseCallExpressionArguments(11,!1),n.optional=!0,this.finishCallExpression(n,!0)}else if(!i&&this.shouldParseTypes()&&this.match(47)){let n=this.startNodeAt(s);n.callee=e;let o=this.tryParse(()=>(n.typeArguments=this.flowParseTypeParameterInstantiationCallOrNew(),this.expect(10),n.arguments=super.parseCallExpressionArguments(11,!1),r.optionalChainMember&&(n.optional=!1),this.finishCallExpression(n,r.optionalChainMember)));if(o.node)return o.error&&(this.state=o.failState),o.node}return super.parseSubscript(e,s,i,r)}parseNewCallee(e){super.parseNewCallee(e);let s=null;this.shouldParseTypes()&&this.match(47)&&(s=this.tryParse(()=>this.flowParseTypeParameterInstantiationCallOrNew()).node),e.typeArguments=s}parseAsyncArrowWithTypeParameters(e){let s=this.startNodeAt(e);if(this.parseFunctionParams(s,!1),!!this.parseArrow(s))return super.parseArrowExpression(s,void 0,!0)}readToken_mult_modulo(e){let s=this.input.charCodeAt(this.state.pos+1);if(e===42&&s===47&&this.state.hasFlowComment){this.state.hasFlowComment=!1,this.state.pos+=2,this.nextToken();return}super.readToken_mult_modulo(e)}readToken_pipe_amp(e){let s=this.input.charCodeAt(this.state.pos+1);if(e===124&&s===125){this.finishOp(9,2);return}super.readToken_pipe_amp(e)}parseTopLevel(e,s){let i=super.parseTopLevel(e,s);return this.state.hasFlowComment&&this.raise(g.UnterminatedFlowComment,this.state.curPosition()),i}skipBlockComment(){if(this.hasPlugin("flowComments")&&this.skipFlowComment()){if(this.state.hasFlowComment)throw this.raise(g.NestedFlowComment,this.state.startLoc);this.hasFlowCommentCompletion();let e=this.skipFlowComment();e&&(this.state.pos+=e,this.state.hasFlowComment=!0);return}return super.skipBlockComment(this.state.hasFlowComment?"*-/":"*/")}skipFlowComment(){let{pos:e}=this.state,s=2;for(;[32,9].includes(this.input.charCodeAt(e+s));)s++;let i=this.input.charCodeAt(s+e),r=this.input.charCodeAt(s+e+1);return i===58&&r===58?s+2:this.input.slice(s+e,s+e+12)==="flow-include"?s+12:i===58&&r!==58?s:!1}hasFlowCommentCompletion(){if(this.input.indexOf("*/",this.state.pos)===-1)throw this.raise(p.UnterminatedComment,this.state.curPosition())}flowEnumErrorBooleanMemberNotInitialized(e,{enumName:s,memberName:i}){this.raise(g.EnumBooleanMemberNotInitialized,e,{memberName:i,enumName:s})}flowEnumErrorInvalidMemberInitializer(e,s){return this.raise(s.explicitType?s.explicitType==="symbol"?g.EnumInvalidMemberInitializerSymbolType:g.EnumInvalidMemberInitializerPrimaryType:g.EnumInvalidMemberInitializerUnknownType,e,s)}flowEnumErrorNumberMemberNotInitialized(e,s){this.raise(g.EnumNumberMemberNotInitialized,e,s)}flowEnumErrorStringMemberInconsistentlyInitialized(e,s){this.raise(g.EnumStringMemberInconsistentlyInitialized,e,s)}flowEnumMemberInit(){let e=this.state.startLoc,s=()=>this.match(12)||this.match(8);switch(this.state.type){case 134:{let i=this.parseNumericLiteral(this.state.value);return s()?{type:"number",loc:i.loc.start,value:i}:{type:"invalid",loc:e}}case 133:{let i=this.parseStringLiteral(this.state.value);return s()?{type:"string",loc:i.loc.start,value:i}:{type:"invalid",loc:e}}case 85:case 86:{let i=this.parseBooleanLiteral(this.match(85));return s()?{type:"boolean",loc:i.loc.start,value:i}:{type:"invalid",loc:e}}default:return{type:"invalid",loc:e}}}flowEnumMemberRaw(){let e=this.state.startLoc,s=this.parseIdentifier(!0),i=this.eat(29)?this.flowEnumMemberInit():{type:"none",loc:e};return{id:s,init:i}}flowEnumCheckExplicitTypeMismatch(e,s,i){let{explicitType:r}=s;r!==null&&r!==i&&this.flowEnumErrorInvalidMemberInitializer(e,s)}flowEnumMembers({enumName:e,explicitType:s}){let i=new Set,r={booleanMembers:[],numberMembers:[],stringMembers:[],defaultedMembers:[]},n=!1;for(;!this.match(8);){if(this.eat(21)){n=!0;break}let o=this.startNode(),{id:h,init:c}=this.flowEnumMemberRaw(),l=h.name;if(l==="")continue;/^[a-z]/.test(l)&&this.raise(g.EnumInvalidMemberName,h,{memberName:l,suggestion:l[0].toUpperCase()+l.slice(1),enumName:e}),i.has(l)&&this.raise(g.EnumDuplicateMemberName,h,{memberName:l,enumName:e}),i.add(l);let u={enumName:e,explicitType:s,memberName:l};switch(o.id=h,c.type){case"boolean":{this.flowEnumCheckExplicitTypeMismatch(c.loc,u,"boolean"),o.init=c.value,r.booleanMembers.push(this.finishNode(o,"EnumBooleanMember"));break}case"number":{this.flowEnumCheckExplicitTypeMismatch(c.loc,u,"number"),o.init=c.value,r.numberMembers.push(this.finishNode(o,"EnumNumberMember"));break}case"string":{this.flowEnumCheckExplicitTypeMismatch(c.loc,u,"string"),o.init=c.value,r.stringMembers.push(this.finishNode(o,"EnumStringMember"));break}case"invalid":throw this.flowEnumErrorInvalidMemberInitializer(c.loc,u);case"none":switch(s){case"boolean":this.flowEnumErrorBooleanMemberNotInitialized(c.loc,u);break;case"number":this.flowEnumErrorNumberMemberNotInitialized(c.loc,u);break;default:r.defaultedMembers.push(this.finishNode(o,"EnumDefaultedMember"))}}this.match(8)||this.expect(12)}return{members:r,hasUnknownMembers:n}}flowEnumStringMembers(e,s,{enumName:i}){if(e.length===0)return s;if(s.length===0)return e;if(s.length>e.length){for(let r of e)this.flowEnumErrorStringMemberInconsistentlyInitialized(r,{enumName:i});return s}else{for(let r of s)this.flowEnumErrorStringMemberInconsistentlyInitialized(r,{enumName:i});return e}}flowEnumParseExplicitType({enumName:e}){if(!this.eatContextual(102))return null;if(!w(this.state.type))throw this.raise(g.EnumInvalidExplicitTypeUnknownSupplied,this.state.startLoc,{enumName:e});let{value:s}=this.state;return this.next(),s!=="boolean"&&s!=="number"&&s!=="string"&&s!=="symbol"&&this.raise(g.EnumInvalidExplicitType,this.state.startLoc,{enumName:e,invalidEnumType:s}),s}flowEnumBody(e,s){let i=s.name,r=s.loc.start,n=this.flowEnumParseExplicitType({enumName:i});this.expect(5);let{members:o,hasUnknownMembers:h}=this.flowEnumMembers({enumName:i,explicitType:n});switch(e.hasUnknownMembers=h,n){case"boolean":return e.explicitType=!0,e.members=o.booleanMembers,this.expect(8),this.finishNode(e,"EnumBooleanBody");case"number":return e.explicitType=!0,e.members=o.numberMembers,this.expect(8),this.finishNode(e,"EnumNumberBody");case"string":return e.explicitType=!0,e.members=this.flowEnumStringMembers(o.stringMembers,o.defaultedMembers,{enumName:i}),this.expect(8),this.finishNode(e,"EnumStringBody");case"symbol":return e.members=o.defaultedMembers,this.expect(8),this.finishNode(e,"EnumSymbolBody");default:{let c=()=>(e.members=[],this.expect(8),this.finishNode(e,"EnumStringBody"));e.explicitType=!1;let l=o.booleanMembers.length,u=o.numberMembers.length,f=o.stringMembers.length,d=o.defaultedMembers.length;if(!l&&!u&&!f&&!d)return c();if(!l&&!u)return e.members=this.flowEnumStringMembers(o.stringMembers,o.defaultedMembers,{enumName:i}),this.expect(8),this.finishNode(e,"EnumStringBody");if(!u&&!f&&l>=d){for(let y of o.defaultedMembers)this.flowEnumErrorBooleanMemberNotInitialized(y.loc.start,{enumName:i,memberName:y.id.name});return e.members=o.booleanMembers,this.expect(8),this.finishNode(e,"EnumBooleanBody")}else if(!l&&!f&&u>=d){for(let y of o.defaultedMembers)this.flowEnumErrorNumberMemberNotInitialized(y.loc.start,{enumName:i,memberName:y.id.name});return e.members=o.numberMembers,this.expect(8),this.finishNode(e,"EnumNumberBody")}else return this.raise(g.EnumInconsistentMemberValues,r,{enumName:i}),c()}}}flowParseEnumDeclaration(e){let s=this.parseIdentifier();return e.id=s,e.body=this.flowEnumBody(this.startNode(),s),this.finishNode(e,"EnumDeclaration")}isLookaheadToken_lt(){let e=this.nextTokenStart();if(this.input.charCodeAt(e)===60){let s=this.input.charCodeAt(e+1);return s!==60&&s!==61}return!1}maybeUnwrapTypeCastExpression(e){return e.type==="TypeCastExpression"?e.expression:e}},W=j`jsx`({AttributeIsEmpty:"JSX attributes must only be assigned a non-empty expression.",MissingClosingTagElement:({openingTagName:a})=>`Expected corresponding JSX closing tag for <${a}>.`,MissingClosingTagFragment:"Expected corresponding JSX closing tag for <>.",UnexpectedSequenceExpression:"Sequence expressions cannot be directly nested inside JSX. Did you mean to wrap it in parentheses (...)?",UnexpectedToken:({unexpected:a,HTMLEntity:t})=>`Unexpected token \`${a}\`. Did you mean \`${t}\` or \`{'${a}'}\`?`,UnsupportedJsxValue:"JSX value should be either an expression or a quoted JSX text.",UnterminatedJsxContent:"Unterminated JSX contents.",UnwrappedAdjacentJSXElements:"Adjacent JSX elements must be wrapped in an enclosing tag. Did you want a JSX fragment <>...?"});function z(a){return a?a.type==="JSXOpeningFragment"||a.type==="JSXClosingFragment":!1}function Y(a){if(a.type==="JSXIdentifier")return a.name;if(a.type==="JSXNamespacedName")return a.namespace.name+":"+a.name.name;if(a.type==="JSXMemberExpression")return Y(a.object)+"."+Y(a.property);throw new Error("Node had unexpected type: "+a.type)}var zi=a=>class extends a{jsxReadToken(){let e="",s=this.state.pos;for(;;){if(this.state.pos>=this.length)throw this.raise(W.UnterminatedJsxContent,this.state.startLoc);let i=this.input.charCodeAt(this.state.pos);switch(i){case 60:case 123:if(this.state.pos===this.state.start){i===60&&this.state.canStartJSXElement?(++this.state.pos,this.finishToken(142)):super.getTokenFromCode(i);return}e+=this.input.slice(s,this.state.pos),this.finishToken(141,e);return;case 38:e+=this.input.slice(s,this.state.pos),e+=this.jsxReadEntity(),s=this.state.pos;break;case 62:case 125:default:fe(i)?(e+=this.input.slice(s,this.state.pos),e+=this.jsxReadNewLine(!0),s=this.state.pos):++this.state.pos}}}jsxReadNewLine(e){let s=this.input.charCodeAt(this.state.pos),i;return++this.state.pos,s===13&&this.input.charCodeAt(this.state.pos)===10?(++this.state.pos,i=e?` `:`\r -`):i=String.fromCharCode(s),++this.state.curLine,this.state.lineStart=this.state.pos,i}jsxReadString(e){let s="",i=++this.state.pos;for(;;){if(this.state.pos>=this.length)throw this.raise(p.UnterminatedString,{at:this.state.startLoc});let r=this.input.charCodeAt(this.state.pos);if(r===e)break;r===38?(s+=this.input.slice(i,this.state.pos),s+=this.jsxReadEntity(),i=this.state.pos):ke(r)?(s+=this.input.slice(i,this.state.pos),s+=this.jsxReadNewLine(!1),i=this.state.pos):++this.state.pos}s+=this.input.slice(i,this.state.pos++),this.finishToken(131,s)}jsxReadEntity(){let e=++this.state.pos;if(this.codePointAtPos(this.state.pos)===35){++this.state.pos;let s=10;this.codePointAtPos(this.state.pos)===120&&(s=16,++this.state.pos);let i=this.readInt(s,void 0,!1,"bail");if(i!==null&&this.codePointAtPos(this.state.pos)===59)return++this.state.pos,String.fromCodePoint(i)}else{let s=0,i=!1;for(;s++<10&&this.state.pos1){for(let i=0;i=0;i--){let r=this.scopeStack[i];if(r.types.has(e)||r.exportOnlyBindings.has(e))return}super.checkLocalExport(t)}},ia=(a,t)=>Object.hasOwnProperty.call(a,t)&&a[t],Qs=a=>a.type==="ParenthesizedExpression"?Qs(a.expression):a,jt=class extends _t{toAssignable(t,e=!1){var s,i;let r;switch((t.type==="ParenthesizedExpression"||(s=t.extra)!=null&&s.parenthesized)&&(r=Qs(t),e?r.type==="Identifier"?this.expressionScope.recordArrowParameterBindingError(p.InvalidParenthesizedAssignment,{at:t}):r.type!=="MemberExpression"&&this.raise(p.InvalidParenthesizedAssignment,{at:t}):this.raise(p.InvalidParenthesizedAssignment,{at:t})),t.type){case"Identifier":case"ObjectPattern":case"ArrayPattern":case"AssignmentPattern":case"RestElement":break;case"ObjectExpression":t.type="ObjectPattern";for(let o=0,h=t.properties.length,l=h-1;oi.type!=="ObjectMethod"&&(r===s||i.type!=="SpreadElement")&&this.isAssignable(i))}case"ObjectProperty":return this.isAssignable(t.value);case"SpreadElement":return this.isAssignable(t.argument);case"ArrayExpression":return t.elements.every(s=>s===null||this.isAssignable(s));case"AssignmentExpression":return t.operator==="=";case"ParenthesizedExpression":return this.isAssignable(t.expression);case"MemberExpression":case"OptionalMemberExpression":return!e;default:return!1}}toReferencedList(t,e){return t}toReferencedListDeep(t,e){this.toReferencedList(t,e);for(let s of t)(s==null?void 0:s.type)==="ArrayExpression"&&this.toReferencedListDeep(s.elements)}parseSpread(t){let e=this.startNode();return this.next(),e.argument=this.parseMaybeAssignAllowIn(t,void 0),this.finishNode(e,"SpreadElement")}parseRestBinding(){let t=this.startNode();return this.next(),t.argument=this.parseBindingAtom(),this.finishNode(t,"RestElement")}parseBindingAtom(){switch(this.state.type){case 0:{let t=this.startNode();return this.next(),t.elements=this.parseBindingList(3,93,1),this.finishNode(t,"ArrayPattern")}case 5:return this.parseObjectLike(8,!0)}return this.parseIdentifier()}parseBindingList(t,e,s){let i=s&1,r=[],n=!0;for(;!this.eat(t);)if(n?n=!1:this.expect(12),i&&this.match(12))r.push(null);else{if(this.eat(t))break;if(this.match(21)){if(r.push(this.parseAssignableListItemTypes(this.parseRestBinding(),s)),!this.checkCommaAfterRest(e)){this.expect(t);break}}else{let o=[];for(this.match(26)&&this.hasPlugin("decorators")&&this.raise(p.UnsupportedParameterDecorator,{at:this.state.startLoc});this.match(26);)o.push(this.parseDecorator());r.push(this.parseAssignableListItem(s,o))}}return r}parseBindingRestProperty(t){return this.next(),t.argument=this.parseIdentifier(),this.checkCommaAfterRest(125),this.finishNode(t,"RestElement")}parseBindingProperty(){let t=this.startNode(),{type:e,startLoc:s}=this.state;return e===21?this.parseBindingRestProperty(t):(e===136?(this.expectPlugin("destructuringPrivate",s),this.classScope.usePrivateName(this.state.value,s),t.key=this.parsePrivateName()):this.parsePropertyName(t),t.method=!1,this.parseObjPropValue(t,s,!1,!1,!0,!1))}parseAssignableListItem(t,e){let s=this.parseMaybeDefault();this.parseAssignableListItemTypes(s,t);let i=this.parseMaybeDefault(s.loc.start,s);return e.length&&(s.decorators=e),i}parseAssignableListItemTypes(t,e){return t}parseMaybeDefault(t,e){var s,i;if((s=t)!=null||(t=this.state.startLoc),e=(i=e)!=null?i:this.parseBindingAtom(),!this.eat(29))return e;let r=this.startNodeAt(t);return r.left=e,r.right=this.parseMaybeAssignAllowIn(),this.finishNode(r,"AssignmentPattern")}isValidLVal(t,e,s){return ia({AssignmentPattern:"left",RestElement:"argument",ObjectProperty:"value",ParenthesizedExpression:"expression",ArrayPattern:"elements",ObjectPattern:"properties"},t)}checkLVal(t,{in:e,binding:s=W,checkClashes:i=!1,strictModeChanged:r=!1,hasParenthesizedAncestor:n=!1}){var o;let h=t.type;if(this.isObjectMethod(t))return;if(h==="MemberExpression"){s!==W&&this.raise(p.InvalidPropertyBindingPattern,{at:t});return}if(h==="Identifier"){this.checkIdentifier(t,s,r);let{name:f}=t;i&&(i.has(f)?this.raise(p.ParamDupe,{at:t}):i.add(f));return}let l=this.isValidLVal(h,!(n||(o=t.extra)!=null&&o.parenthesized)&&e.type==="AssignmentExpression",s);if(l===!0)return;if(l===!1){let f=s===W?p.InvalidLhs:p.InvalidLhsBinding;this.raise(f,{at:t,ancestor:e});return}let[c,u]=Array.isArray(l)?l:[l,h==="ParenthesizedExpression"],d=h==="ArrayPattern"||h==="ObjectPattern"||h==="ParenthesizedExpression"?{type:h}:e;for(let f of[].concat(t[c]))f&&this.checkLVal(f,{in:d,binding:s,checkClashes:i,strictModeChanged:r,hasParenthesizedAncestor:u})}checkIdentifier(t,e,s=!1){this.state.strict&&(s?Bs(t.name,this.inModule):Os(t.name))&&(e===W?this.raise(p.StrictEvalArguments,{at:t,referenceName:t.name}):this.raise(p.StrictEvalArgumentsBinding,{at:t,bindingName:t.name})),e&st&&t.name==="let"&&this.raise(p.LetInLexicalBinding,{at:t}),e&W||this.declareNameFromIdentifier(t,e)}declareNameFromIdentifier(t,e){this.scope.declareName(t.name,e,t.loc.start)}checkToRestConversion(t,e){switch(t.type){case"ParenthesizedExpression":this.checkToRestConversion(t.expression,e);break;case"Identifier":case"MemberExpression":break;case"ArrayExpression":case"ObjectExpression":if(e)break;default:this.raise(p.InvalidRestAssignmentPattern,{at:t})}}checkCommaAfterRest(t){return this.match(12)?(this.raise(this.lookaheadCharCode()===t?p.RestTrailingComma:p.ElementAfterRest,{at:this.state.startLoc}),!0):!1}},ra=(a,t)=>Object.hasOwnProperty.call(a,t)&&a[t];function aa(a){if(a==null)throw new Error(`Unexpected ${a} value.`);return a}function bs(a){if(!a)throw new Error("Assert fail")}var y=V`typescript`({AbstractMethodHasImplementation:({methodName:a})=>`Method '${a}' cannot have an implementation because it is marked abstract.`,AbstractPropertyHasInitializer:({propertyName:a})=>`Property '${a}' cannot have an initializer because it is marked abstract.`,AccesorCannotDeclareThisParameter:"'get' and 'set' accessors cannot declare 'this' parameters.",AccesorCannotHaveTypeParameters:"An accessor cannot have type parameters.",AccessorCannotBeOptional:"An 'accessor' property cannot be declared optional.",ClassMethodHasDeclare:"Class methods cannot have the 'declare' modifier.",ClassMethodHasReadonly:"Class methods cannot have the 'readonly' modifier.",ConstInitiailizerMustBeStringOrNumericLiteralOrLiteralEnumReference:"A 'const' initializer in an ambient context must be a string or numeric literal or literal enum reference.",ConstructorHasTypeParameters:"Type parameters cannot appear on a constructor declaration.",DeclareAccessor:({kind:a})=>`'declare' is not allowed in ${a}ters.`,DeclareClassFieldHasInitializer:"Initializers are not allowed in ambient contexts.",DeclareFunctionHasImplementation:"An implementation cannot be declared in ambient contexts.",DuplicateAccessibilityModifier:({modifier:a})=>"Accessibility modifier already seen.",DuplicateModifier:({modifier:a})=>`Duplicate modifier: '${a}'.`,EmptyHeritageClauseType:({token:a})=>`'${a}' list cannot be empty.`,EmptyTypeArguments:"Type argument list cannot be empty.",EmptyTypeParameters:"Type parameter list cannot be empty.",ExpectedAmbientAfterExportDeclare:"'export declare' must be followed by an ambient declaration.",ImportAliasHasImportType:"An import alias can not use 'import type'.",ImportReflectionHasImportType:"An `import module` declaration can not use `type` modifier",IncompatibleModifiers:({modifiers:a})=>`'${a[0]}' modifier cannot be used with '${a[1]}' modifier.`,IndexSignatureHasAbstract:"Index signatures cannot have the 'abstract' modifier.",IndexSignatureHasAccessibility:({modifier:a})=>`Index signatures cannot have an accessibility modifier ('${a}').`,IndexSignatureHasDeclare:"Index signatures cannot have the 'declare' modifier.",IndexSignatureHasOverride:"'override' modifier cannot appear on an index signature.",IndexSignatureHasStatic:"Index signatures cannot have the 'static' modifier.",InitializerNotAllowedInAmbientContext:"Initializers are not allowed in ambient contexts.",InvalidModifierOnTypeMember:({modifier:a})=>`'${a}' modifier cannot appear on a type member.`,InvalidModifierOnTypeParameter:({modifier:a})=>`'${a}' modifier cannot appear on a type parameter.`,InvalidModifierOnTypeParameterPositions:({modifier:a})=>`'${a}' modifier can only appear on a type parameter of a class, interface or type alias.`,InvalidModifiersOrder:({orderedModifiers:a})=>`'${a[0]}' modifier must precede '${a[1]}' modifier.`,InvalidPropertyAccessAfterInstantiationExpression:"Invalid property access after an instantiation expression. You can either wrap the instantiation expression in parentheses, or delete the type arguments.",InvalidTupleMemberLabel:"Tuple members must be labeled with a simple identifier.",MissingInterfaceName:"'interface' declarations must be followed by an identifier.",MixedLabeledAndUnlabeledElements:"Tuple members must all have names or all not have names.",NonAbstractClassHasAbstractMethod:"Abstract methods can only appear within an abstract class.",NonClassMethodPropertyHasAbstractModifer:"'abstract' modifier can only appear on a class, method, or property declaration.",OptionalTypeBeforeRequired:"A required element cannot follow an optional element.",OverrideNotInSubClass:"This member cannot have an 'override' modifier because its containing class does not extend another class.",PatternIsOptional:"A binding pattern parameter cannot be optional in an implementation signature.",PrivateElementHasAbstract:"Private elements cannot have the 'abstract' modifier.",PrivateElementHasAccessibility:({modifier:a})=>`Private elements cannot have an accessibility modifier ('${a}').`,ReadonlyForMethodSignature:"'readonly' modifier can only appear on a property declaration or index signature.",ReservedArrowTypeParam:"This syntax is reserved in files with the .mts or .cts extension. Add a trailing comma, as in `() => ...`.",ReservedTypeAssertion:"This syntax is reserved in files with the .mts or .cts extension. Use an `as` expression instead.",SetAccesorCannotHaveOptionalParameter:"A 'set' accessor cannot have an optional parameter.",SetAccesorCannotHaveRestParameter:"A 'set' accessor cannot have rest parameter.",SetAccesorCannotHaveReturnType:"A 'set' accessor cannot have a return type annotation.",SingleTypeParameterWithoutTrailingComma:({typeParameterName:a})=>`Single type parameter ${a} should have a trailing comma. Example usage: <${a},>.`,StaticBlockCannotHaveModifier:"Static class blocks cannot have any modifier.",TupleOptionalAfterType:"A labeled tuple optional element must be declared using a question mark after the name and before the colon (`name?: type`), rather than after the type (`name: type?`).",TypeAnnotationAfterAssign:"Type annotations must come before default assignments, e.g. instead of `age = 25: number` use `age: number = 25`.",TypeImportCannotSpecifyDefaultAndNamed:"A type-only import can specify a default import or named bindings, but not both.",TypeModifierIsUsedInTypeExports:"The 'type' modifier cannot be used on a named export when 'export type' is used on its export statement.",TypeModifierIsUsedInTypeImports:"The 'type' modifier cannot be used on a named import when 'import type' is used on its import statement.",UnexpectedParameterModifier:"A parameter property is only allowed in a constructor implementation.",UnexpectedReadonly:"'readonly' type modifier is only permitted on array and tuple literal types.",UnexpectedTypeAnnotation:"Did not expect a type annotation here.",UnexpectedTypeCastInParameter:"Unexpected type cast in parameter position.",UnsupportedImportTypeArgument:"Argument in a type import must be a string literal.",UnsupportedParameterPropertyKind:"A parameter property may not be declared using a binding pattern.",UnsupportedSignatureParameterKind:({type:a})=>`Name in a signature must be an Identifier, ObjectPattern or ArrayPattern, instead got ${a}.`});function na(a){switch(a){case"any":return"TSAnyKeyword";case"boolean":return"TSBooleanKeyword";case"bigint":return"TSBigIntKeyword";case"never":return"TSNeverKeyword";case"number":return"TSNumberKeyword";case"object":return"TSObjectKeyword";case"string":return"TSStringKeyword";case"symbol":return"TSSymbolKeyword";case"undefined":return"TSUndefinedKeyword";case"unknown":return"TSUnknownKeyword";default:return}}function As(a){return a==="private"||a==="public"||a==="protected"}function oa(a){return a==="in"||a==="out"}var ha=a=>class extends a{constructor(...e){super(...e),this.tsParseInOutModifiers=this.tsParseModifiers.bind(this,{allowedModifiers:["in","out"],disallowedModifiers:["const","public","private","protected","readonly","declare","abstract","override"],errorTemplate:y.InvalidModifierOnTypeParameter}),this.tsParseConstModifier=this.tsParseModifiers.bind(this,{allowedModifiers:["const"],disallowedModifiers:["in","out"],errorTemplate:y.InvalidModifierOnTypeParameterPositions}),this.tsParseInOutConstModifiers=this.tsParseModifiers.bind(this,{allowedModifiers:["in","out","const"],disallowedModifiers:["public","private","protected","readonly","declare","abstract","override"],errorTemplate:y.InvalidModifierOnTypeParameter})}getScopeHandler(){return Ut}tsIsIdentifier(){return S(this.state.type)}tsTokenCanFollowModifier(){return(this.match(0)||this.match(5)||this.match(55)||this.match(21)||this.match(136)||this.isLiteralPropertyName())&&!this.hasPrecedingLineBreak()}tsNextTokenCanFollowModifier(){return this.next(),this.tsTokenCanFollowModifier()}tsParseModifier(e,s){if(!S(this.state.type)&&this.state.type!==58&&this.state.type!==75)return;let i=this.state.value;if(e.indexOf(i)!==-1){if(s&&this.tsIsStartOfStaticBlocks())return;if(this.tsTryParse(this.tsNextTokenCanFollowModifier.bind(this)))return i}}tsParseModifiers({allowedModifiers:e,disallowedModifiers:s,stopOnStartOfClassStaticBlock:i,errorTemplate:r=y.InvalidModifierOnTypeMember},n){let o=(l,c,u,d)=>{c===u&&n[d]&&this.raise(y.InvalidModifiersOrder,{at:l,orderedModifiers:[u,d]})},h=(l,c,u,d)=>{(n[u]&&c===d||n[d]&&c===u)&&this.raise(y.IncompatibleModifiers,{at:l,modifiers:[u,d]})};for(;;){let{startLoc:l}=this.state,c=this.tsParseModifier(e.concat(s??[]),i);if(!c)break;As(c)?n.accessibility?this.raise(y.DuplicateAccessibilityModifier,{at:l,modifier:c}):(o(l,c,c,"override"),o(l,c,c,"static"),o(l,c,c,"readonly"),n.accessibility=c):oa(c)?(n[c]&&this.raise(y.DuplicateModifier,{at:l,modifier:c}),n[c]=!0,o(l,c,"in","out")):(Object.hasOwnProperty.call(n,c)?this.raise(y.DuplicateModifier,{at:l,modifier:c}):(o(l,c,"static","readonly"),o(l,c,"static","override"),o(l,c,"override","readonly"),o(l,c,"abstract","override"),h(l,c,"declare","override"),h(l,c,"static","abstract")),n[c]=!0),s!=null&&s.includes(c)&&this.raise(r,{at:l,modifier:c})}}tsIsListTerminator(e){switch(e){case"EnumMembers":case"TypeMembers":return this.match(8);case"HeritageClauseElement":return this.match(5);case"TupleElementTypes":return this.match(3);case"TypeParametersOrArguments":return this.match(48)}}tsParseList(e,s){let i=[];for(;!this.tsIsListTerminator(e);)i.push(s());return i}tsParseDelimitedList(e,s,i){return aa(this.tsParseDelimitedListWorker(e,s,!0,i))}tsParseDelimitedListWorker(e,s,i,r){let n=[],o=-1;for(;!this.tsIsListTerminator(e);){o=-1;let h=s();if(h==null)return;if(n.push(h),this.eat(12)){o=this.state.lastTokStart;continue}if(this.tsIsListTerminator(e))break;i&&this.expect(12);return}return r&&(r.value=o),n}tsParseBracketedList(e,s,i,r,n){r||(i?this.expect(0):this.expect(47));let o=this.tsParseDelimitedList(e,s,n);return i?this.expect(3):this.expect(48),o}tsParseImportType(){let e=this.startNode();return this.expect(83),this.expect(10),this.match(131)||this.raise(y.UnsupportedImportTypeArgument,{at:this.state.startLoc}),e.argument=super.parseExprAtom(),this.expect(11),this.eat(16)&&(e.qualifier=this.tsParseEntityName()),this.match(47)&&(e.typeParameters=this.tsParseTypeArguments()),this.finishNode(e,"TSImportType")}tsParseEntityName(e=!0){let s=this.parseIdentifier(e);for(;this.eat(16);){let i=this.startNodeAtNode(s);i.left=s,i.right=this.parseIdentifier(e),s=this.finishNode(i,"TSQualifiedName")}return s}tsParseTypeReference(){let e=this.startNode();return e.typeName=this.tsParseEntityName(),!this.hasPrecedingLineBreak()&&this.match(47)&&(e.typeParameters=this.tsParseTypeArguments()),this.finishNode(e,"TSTypeReference")}tsParseThisTypePredicate(e){this.next();let s=this.startNodeAtNode(e);return s.parameterName=e,s.typeAnnotation=this.tsParseTypeAnnotation(!1),s.asserts=!1,this.finishNode(s,"TSTypePredicate")}tsParseThisTypeNode(){let e=this.startNode();return this.next(),this.finishNode(e,"TSThisType")}tsParseTypeQuery(){let e=this.startNode();return this.expect(87),this.match(83)?e.exprName=this.tsParseImportType():e.exprName=this.tsParseEntityName(),!this.hasPrecedingLineBreak()&&this.match(47)&&(e.typeParameters=this.tsParseTypeArguments()),this.finishNode(e,"TSTypeQuery")}tsParseTypeParameter(e){let s=this.startNode();return e(s),s.name=this.tsParseTypeParameterName(),s.constraint=this.tsEatThenParseType(81),s.default=this.tsEatThenParseType(29),this.finishNode(s,"TSTypeParameter")}tsTryParseTypeParameters(e){if(this.match(47))return this.tsParseTypeParameters(e)}tsParseTypeParameters(e){let s=this.startNode();this.match(47)||this.match(140)?this.next():this.unexpected();let i={value:-1};return s.params=this.tsParseBracketedList("TypeParametersOrArguments",this.tsParseTypeParameter.bind(this,e),!1,!0,i),s.params.length===0&&this.raise(y.EmptyTypeParameters,{at:s}),i.value!==-1&&this.addExtra(s,"trailingComma",i.value),this.finishNode(s,"TSTypeParameterDeclaration")}tsFillSignature(e,s){let i=e===19,r="parameters",n="typeAnnotation";s.typeParameters=this.tsTryParseTypeParameters(this.tsParseConstModifier),this.expect(10),s[r]=this.tsParseBindingListForSignature(),i?s[n]=this.tsParseTypeOrTypePredicateAnnotation(e):this.match(e)&&(s[n]=this.tsParseTypeOrTypePredicateAnnotation(e))}tsParseBindingListForSignature(){let e=super.parseBindingList(11,41,2);for(let s of e){let{type:i}=s;(i==="AssignmentPattern"||i==="TSParameterProperty")&&this.raise(y.UnsupportedSignatureParameterKind,{at:s,type:i})}return e}tsParseTypeMemberSemicolon(){!this.eat(12)&&!this.isLineTerminator()&&this.expect(13)}tsParseSignatureMember(e,s){return this.tsFillSignature(14,s),this.tsParseTypeMemberSemicolon(),this.finishNode(s,e)}tsIsUnambiguouslyIndexSignature(){return this.next(),S(this.state.type)?(this.next(),this.match(14)):!1}tsTryParseIndexSignature(e){if(!(this.match(0)&&this.tsLookAhead(this.tsIsUnambiguouslyIndexSignature.bind(this))))return;this.expect(0);let s=this.parseIdentifier();s.typeAnnotation=this.tsParseTypeAnnotation(),this.resetEndLocation(s),this.expect(3),e.parameters=[s];let i=this.tsTryParseTypeAnnotation();return i&&(e.typeAnnotation=i),this.tsParseTypeMemberSemicolon(),this.finishNode(e,"TSIndexSignature")}tsParsePropertyOrMethodSignature(e,s){this.eat(17)&&(e.optional=!0);let i=e;if(this.match(10)||this.match(47)){s&&this.raise(y.ReadonlyForMethodSignature,{at:e});let r=i;r.kind&&this.match(47)&&this.raise(y.AccesorCannotHaveTypeParameters,{at:this.state.curPosition()}),this.tsFillSignature(14,r),this.tsParseTypeMemberSemicolon();let n="parameters",o="typeAnnotation";if(r.kind==="get")r[n].length>0&&(this.raise(p.BadGetterArity,{at:this.state.curPosition()}),this.isThisParam(r[n][0])&&this.raise(y.AccesorCannotDeclareThisParameter,{at:this.state.curPosition()}));else if(r.kind==="set"){if(r[n].length!==1)this.raise(p.BadSetterArity,{at:this.state.curPosition()});else{let h=r[n][0];this.isThisParam(h)&&this.raise(y.AccesorCannotDeclareThisParameter,{at:this.state.curPosition()}),h.type==="Identifier"&&h.optional&&this.raise(y.SetAccesorCannotHaveOptionalParameter,{at:this.state.curPosition()}),h.type==="RestElement"&&this.raise(y.SetAccesorCannotHaveRestParameter,{at:this.state.curPosition()})}r[o]&&this.raise(y.SetAccesorCannotHaveReturnType,{at:r[o]})}else r.kind="method";return this.finishNode(r,"TSMethodSignature")}else{let r=i;s&&(r.readonly=!0);let n=this.tsTryParseTypeAnnotation();return n&&(r.typeAnnotation=n),this.tsParseTypeMemberSemicolon(),this.finishNode(r,"TSPropertySignature")}}tsParseTypeMember(){let e=this.startNode();if(this.match(10)||this.match(47))return this.tsParseSignatureMember("TSCallSignatureDeclaration",e);if(this.match(77)){let i=this.startNode();return this.next(),this.match(10)||this.match(47)?this.tsParseSignatureMember("TSConstructSignatureDeclaration",e):(e.key=this.createIdentifier(i,"new"),this.tsParsePropertyOrMethodSignature(e,!1))}this.tsParseModifiers({allowedModifiers:["readonly"],disallowedModifiers:["declare","abstract","private","protected","public","static","override"]},e);let s=this.tsTryParseIndexSignature(e);return s||(super.parsePropertyName(e),!e.computed&&e.key.type==="Identifier"&&(e.key.name==="get"||e.key.name==="set")&&this.tsTokenCanFollowModifier()&&(e.kind=e.key.name,super.parsePropertyName(e)),this.tsParsePropertyOrMethodSignature(e,!!e.readonly))}tsParseTypeLiteral(){let e=this.startNode();return e.members=this.tsParseObjectTypeMembers(),this.finishNode(e,"TSTypeLiteral")}tsParseObjectTypeMembers(){this.expect(5);let e=this.tsParseList("TypeMembers",this.tsParseTypeMember.bind(this));return this.expect(8),e}tsIsStartOfMappedType(){return this.next(),this.eat(53)?this.isContextual(120):(this.isContextual(120)&&this.next(),!this.match(0)||(this.next(),!this.tsIsIdentifier())?!1:(this.next(),this.match(58)))}tsParseMappedTypeParameter(){let e=this.startNode();return e.name=this.tsParseTypeParameterName(),e.constraint=this.tsExpectThenParseType(58),this.finishNode(e,"TSTypeParameter")}tsParseMappedType(){let e=this.startNode();return this.expect(5),this.match(53)?(e.readonly=this.state.value,this.next(),this.expectContextual(120)):this.eatContextual(120)&&(e.readonly=!0),this.expect(0),e.typeParameter=this.tsParseMappedTypeParameter(),e.nameType=this.eatContextual(93)?this.tsParseType():null,this.expect(3),this.match(53)?(e.optional=this.state.value,this.next(),this.expect(17)):this.eat(17)&&(e.optional=!0),e.typeAnnotation=this.tsTryParseType(),this.semicolon(),this.expect(8),this.finishNode(e,"TSMappedType")}tsParseTupleType(){let e=this.startNode();e.elementTypes=this.tsParseBracketedList("TupleElementTypes",this.tsParseTupleElementType.bind(this),!0,!1);let s=!1,i=null;return e.elementTypes.forEach(r=>{var n;let{type:o}=r;s&&o!=="TSRestType"&&o!=="TSOptionalType"&&!(o==="TSNamedTupleMember"&&r.optional)&&this.raise(y.OptionalTypeBeforeRequired,{at:r}),s||(s=o==="TSNamedTupleMember"&&r.optional||o==="TSOptionalType");let h=o;o==="TSRestType"&&(r=r.typeAnnotation,h=r.type);let l=h==="TSNamedTupleMember";(n=i)!=null||(i=l),i!==l&&this.raise(y.MixedLabeledAndUnlabeledElements,{at:r})}),this.finishNode(e,"TSTupleType")}tsParseTupleElementType(){let{startLoc:e}=this.state,s=this.eat(21),i,r,n,o,l=M(this.state.type)?this.lookaheadCharCode():null;if(l===58)i=!0,n=!1,r=this.parseIdentifier(!0),this.expect(14),o=this.tsParseType();else if(l===63){n=!0;let c=this.state.startLoc,u=this.state.value,d=this.tsParseNonArrayType();this.lookaheadCharCode()===58?(i=!0,r=this.createIdentifier(this.startNodeAt(c),u),this.expect(17),this.expect(14),o=this.tsParseType()):(i=!1,o=d,this.expect(17))}else o=this.tsParseType(),n=this.eat(17),i=this.eat(14);if(i){let c;r?(c=this.startNodeAtNode(r),c.optional=n,c.label=r,c.elementType=o,this.eat(17)&&(c.optional=!0,this.raise(y.TupleOptionalAfterType,{at:this.state.lastTokStartLoc}))):(c=this.startNodeAtNode(o),c.optional=n,this.raise(y.InvalidTupleMemberLabel,{at:o}),c.label=o,c.elementType=this.tsParseType()),o=this.finishNode(c,"TSNamedTupleMember")}else if(n){let c=this.startNodeAtNode(o);c.typeAnnotation=o,o=this.finishNode(c,"TSOptionalType")}if(s){let c=this.startNodeAt(e);c.typeAnnotation=o,o=this.finishNode(c,"TSRestType")}return o}tsParseParenthesizedType(){let e=this.startNode();return this.expect(10),e.typeAnnotation=this.tsParseType(),this.expect(11),this.finishNode(e,"TSParenthesizedType")}tsParseFunctionOrConstructorType(e,s){let i=this.startNode();return e==="TSConstructorType"&&(i.abstract=!!s,s&&this.next(),this.next()),this.tsInAllowConditionalTypesContext(()=>this.tsFillSignature(19,i)),this.finishNode(i,e)}tsParseLiteralTypeNode(){let e=this.startNode();switch(this.state.type){case 132:case 133:case 131:case 85:case 86:e.literal=super.parseExprAtom();break;default:this.unexpected()}return this.finishNode(e,"TSLiteralType")}tsParseTemplateLiteralType(){let e=this.startNode();return e.literal=super.parseTemplate(!1),this.finishNode(e,"TSLiteralType")}parseTemplateSubstitution(){return this.state.inType?this.tsParseType():super.parseTemplateSubstitution()}tsParseThisTypeOrThisTypePredicate(){let e=this.tsParseThisTypeNode();return this.isContextual(114)&&!this.hasPrecedingLineBreak()?this.tsParseThisTypePredicate(e):e}tsParseNonArrayType(){switch(this.state.type){case 131:case 132:case 133:case 85:case 86:return this.tsParseLiteralTypeNode();case 53:if(this.state.value==="-"){let e=this.startNode(),s=this.lookahead();return s.type!==132&&s.type!==133&&this.unexpected(),e.literal=this.parseMaybeUnary(),this.finishNode(e,"TSLiteralType")}break;case 78:return this.tsParseThisTypeOrThisTypePredicate();case 87:return this.tsParseTypeQuery();case 83:return this.tsParseImportType();case 5:return this.tsLookAhead(this.tsIsStartOfMappedType.bind(this))?this.tsParseMappedType():this.tsParseTypeLiteral();case 0:return this.tsParseTupleType();case 10:return this.tsParseParenthesizedType();case 25:case 24:return this.tsParseTemplateLiteralType();default:{let{type:e}=this.state;if(S(e)||e===88||e===84){let s=e===88?"TSVoidKeyword":e===84?"TSNullKeyword":na(this.state.value);if(s!==void 0&&this.lookaheadCharCode()!==46){let i=this.startNode();return this.next(),this.finishNode(i,s)}return this.tsParseTypeReference()}}}this.unexpected()}tsParseArrayTypeOrHigher(){let e=this.tsParseNonArrayType();for(;!this.hasPrecedingLineBreak()&&this.eat(0);)if(this.match(3)){let s=this.startNodeAtNode(e);s.elementType=e,this.expect(3),e=this.finishNode(s,"TSArrayType")}else{let s=this.startNodeAtNode(e);s.objectType=e,s.indexType=this.tsParseType(),this.expect(3),e=this.finishNode(s,"TSIndexedAccessType")}return e}tsParseTypeOperator(){let e=this.startNode(),s=this.state.value;return this.next(),e.operator=s,e.typeAnnotation=this.tsParseTypeOperatorOrHigher(),s==="readonly"&&this.tsCheckTypeAnnotationForReadOnly(e),this.finishNode(e,"TSTypeOperator")}tsCheckTypeAnnotationForReadOnly(e){switch(e.typeAnnotation.type){case"TSTupleType":case"TSArrayType":return;default:this.raise(y.UnexpectedReadonly,{at:e})}}tsParseInferType(){let e=this.startNode();this.expectContextual(113);let s=this.startNode();return s.name=this.tsParseTypeParameterName(),s.constraint=this.tsTryParse(()=>this.tsParseConstraintForInferType()),e.typeParameter=this.finishNode(s,"TSTypeParameter"),this.finishNode(e,"TSInferType")}tsParseConstraintForInferType(){if(this.eat(81)){let e=this.tsInDisallowConditionalTypesContext(()=>this.tsParseType());if(this.state.inDisallowConditionalTypesContext||!this.match(17))return e}}tsParseTypeOperatorOrHigher(){return ur(this.state.type)&&!this.state.containsEsc?this.tsParseTypeOperator():this.isContextual(113)?this.tsParseInferType():this.tsInAllowConditionalTypesContext(()=>this.tsParseArrayTypeOrHigher())}tsParseUnionOrIntersectionType(e,s,i){let r=this.startNode(),n=this.eat(i),o=[];do o.push(s());while(this.eat(i));return o.length===1&&!n?o[0]:(r.types=o,this.finishNode(r,e))}tsParseIntersectionTypeOrHigher(){return this.tsParseUnionOrIntersectionType("TSIntersectionType",this.tsParseTypeOperatorOrHigher.bind(this),45)}tsParseUnionTypeOrHigher(){return this.tsParseUnionOrIntersectionType("TSUnionType",this.tsParseIntersectionTypeOrHigher.bind(this),43)}tsIsStartOfFunctionType(){return this.match(47)?!0:this.match(10)&&this.tsLookAhead(this.tsIsUnambiguouslyStartOfFunctionType.bind(this))}tsSkipParameterStart(){if(S(this.state.type)||this.match(78))return this.next(),!0;if(this.match(5)){let{errors:e}=this.state,s=e.length;try{return this.parseObjectLike(8,!0),e.length===s}catch{return!1}}if(this.match(0)){this.next();let{errors:e}=this.state,s=e.length;try{return super.parseBindingList(3,93,1),e.length===s}catch{return!1}}return!1}tsIsUnambiguouslyStartOfFunctionType(){return this.next(),!!(this.match(11)||this.match(21)||this.tsSkipParameterStart()&&(this.match(14)||this.match(12)||this.match(17)||this.match(29)||this.match(11)&&(this.next(),this.match(19))))}tsParseTypeOrTypePredicateAnnotation(e){return this.tsInType(()=>{let s=this.startNode();this.expect(e);let i=this.startNode(),r=!!this.tsTryParse(this.tsParseTypePredicateAsserts.bind(this));if(r&&this.match(78)){let h=this.tsParseThisTypeOrThisTypePredicate();return h.type==="TSThisType"?(i.parameterName=h,i.asserts=!0,i.typeAnnotation=null,h=this.finishNode(i,"TSTypePredicate")):(this.resetStartLocationFromNode(h,i),h.asserts=!0),s.typeAnnotation=h,this.finishNode(s,"TSTypeAnnotation")}let n=this.tsIsIdentifier()&&this.tsTryParse(this.tsParseTypePredicatePrefix.bind(this));if(!n)return r?(i.parameterName=this.parseIdentifier(),i.asserts=r,i.typeAnnotation=null,s.typeAnnotation=this.finishNode(i,"TSTypePredicate"),this.finishNode(s,"TSTypeAnnotation")):this.tsParseTypeAnnotation(!1,s);let o=this.tsParseTypeAnnotation(!1);return i.parameterName=n,i.typeAnnotation=o,i.asserts=r,s.typeAnnotation=this.finishNode(i,"TSTypePredicate"),this.finishNode(s,"TSTypeAnnotation")})}tsTryParseTypeOrTypePredicateAnnotation(){if(this.match(14))return this.tsParseTypeOrTypePredicateAnnotation(14)}tsTryParseTypeAnnotation(){if(this.match(14))return this.tsParseTypeAnnotation()}tsTryParseType(){return this.tsEatThenParseType(14)}tsParseTypePredicatePrefix(){let e=this.parseIdentifier();if(this.isContextual(114)&&!this.hasPrecedingLineBreak())return this.next(),e}tsParseTypePredicateAsserts(){if(this.state.type!==107)return!1;let e=this.state.containsEsc;return this.next(),!S(this.state.type)&&!this.match(78)?!1:(e&&this.raise(p.InvalidEscapedReservedWord,{at:this.state.lastTokStartLoc,reservedWord:"asserts"}),!0)}tsParseTypeAnnotation(e=!0,s=this.startNode()){return this.tsInType(()=>{e&&this.expect(14),s.typeAnnotation=this.tsParseType()}),this.finishNode(s,"TSTypeAnnotation")}tsParseType(){bs(this.state.inType);let e=this.tsParseNonConditionalType();if(this.state.inDisallowConditionalTypesContext||this.hasPrecedingLineBreak()||!this.eat(81))return e;let s=this.startNodeAtNode(e);return s.checkType=e,s.extendsType=this.tsInDisallowConditionalTypesContext(()=>this.tsParseNonConditionalType()),this.expect(17),s.trueType=this.tsInAllowConditionalTypesContext(()=>this.tsParseType()),this.expect(14),s.falseType=this.tsInAllowConditionalTypesContext(()=>this.tsParseType()),this.finishNode(s,"TSConditionalType")}isAbstractConstructorSignature(){return this.isContextual(122)&&this.lookahead().type===77}tsParseNonConditionalType(){return this.tsIsStartOfFunctionType()?this.tsParseFunctionOrConstructorType("TSFunctionType"):this.match(77)?this.tsParseFunctionOrConstructorType("TSConstructorType"):this.isAbstractConstructorSignature()?this.tsParseFunctionOrConstructorType("TSConstructorType",!0):this.tsParseUnionTypeOrHigher()}tsParseTypeAssertion(){this.getPluginOption("typescript","disallowAmbiguousJSXLike")&&this.raise(y.ReservedTypeAssertion,{at:this.state.startLoc});let e=this.startNode();return e.typeAnnotation=this.tsInType(()=>(this.next(),this.match(75)?this.tsParseTypeReference():this.tsParseType())),this.expect(48),e.expression=this.parseMaybeUnary(),this.finishNode(e,"TSTypeAssertion")}tsParseHeritageClause(e){let s=this.state.startLoc,i=this.tsParseDelimitedList("HeritageClauseElement",()=>{let r=this.startNode();return r.expression=this.tsParseEntityName(),this.match(47)&&(r.typeParameters=this.tsParseTypeArguments()),this.finishNode(r,"TSExpressionWithTypeArguments")});return i.length||this.raise(y.EmptyHeritageClauseType,{at:s,token:e}),i}tsParseInterfaceDeclaration(e,s={}){if(this.hasFollowingLineBreak())return null;this.expectContextual(127),s.declare&&(e.declare=!0),S(this.state.type)?(e.id=this.parseIdentifier(),this.checkIdentifier(e.id,wr)):(e.id=null,this.raise(y.MissingInterfaceName,{at:this.state.startLoc})),e.typeParameters=this.tsTryParseTypeParameters(this.tsParseInOutConstModifiers),this.eat(81)&&(e.extends=this.tsParseHeritageClause("extends"));let i=this.startNode();return i.body=this.tsInType(this.tsParseObjectTypeMembers.bind(this)),e.body=this.finishNode(i,"TSInterfaceBody"),this.finishNode(e,"TSInterfaceDeclaration")}tsParseTypeAliasDeclaration(e){return e.id=this.parseIdentifier(),this.checkIdentifier(e.id,Ir),e.typeAnnotation=this.tsInType(()=>{if(e.typeParameters=this.tsTryParseTypeParameters(this.tsParseInOutModifiers),this.expect(29),this.isContextual(112)&&this.lookahead().type!==16){let s=this.startNode();return this.next(),this.finishNode(s,"TSIntrinsicKeyword")}return this.tsParseType()}),this.semicolon(),this.finishNode(e,"TSTypeAliasDeclaration")}tsInNoContext(e){let s=this.state.context;this.state.context=[s[0]];try{return e()}finally{this.state.context=s}}tsInType(e){let s=this.state.inType;this.state.inType=!0;try{return e()}finally{this.state.inType=s}}tsInDisallowConditionalTypesContext(e){let s=this.state.inDisallowConditionalTypesContext;this.state.inDisallowConditionalTypesContext=!0;try{return e()}finally{this.state.inDisallowConditionalTypesContext=s}}tsInAllowConditionalTypesContext(e){let s=this.state.inDisallowConditionalTypesContext;this.state.inDisallowConditionalTypesContext=!1;try{return e()}finally{this.state.inDisallowConditionalTypesContext=s}}tsEatThenParseType(e){if(this.match(e))return this.tsNextThenParseType()}tsExpectThenParseType(e){return this.tsInType(()=>(this.expect(e),this.tsParseType()))}tsNextThenParseType(){return this.tsInType(()=>(this.next(),this.tsParseType()))}tsParseEnumMember(){let e=this.startNode();return e.id=this.match(131)?super.parseStringLiteral(this.state.value):this.parseIdentifier(!0),this.eat(29)&&(e.initializer=super.parseMaybeAssignAllowIn()),this.finishNode(e,"TSEnumMember")}tsParseEnumDeclaration(e,s={}){return s.const&&(e.const=!0),s.declare&&(e.declare=!0),this.expectContextual(124),e.id=this.parseIdentifier(),this.checkIdentifier(e.id,e.const?kr:Vs),this.expect(5),e.members=this.tsParseDelimitedList("EnumMembers",this.tsParseEnumMember.bind(this)),this.expect(8),this.finishNode(e,"TSEnumDeclaration")}tsParseModuleBlock(){let e=this.startNode();return this.scope.enter(ae),this.expect(5),super.parseBlockOrModuleBlockBody(e.body=[],void 0,!0,8),this.scope.exit(),this.finishNode(e,"TSModuleBlock")}tsParseModuleOrNamespaceDeclaration(e,s=!1){if(e.id=this.parseIdentifier(),s||this.checkIdentifier(e.id,vr),this.eat(16)){let i=this.startNode();this.tsParseModuleOrNamespaceDeclaration(i,!0),e.body=i}else this.scope.enter(le),this.prodParam.enter(pe),e.body=this.tsParseModuleBlock(),this.prodParam.exit(),this.scope.exit();return this.finishNode(e,"TSModuleDeclaration")}tsParseAmbientExternalModuleDeclaration(e){return this.isContextual(110)?(e.global=!0,e.id=this.parseIdentifier()):this.match(131)?e.id=super.parseStringLiteral(this.state.value):this.unexpected(),this.match(5)?(this.scope.enter(le),this.prodParam.enter(pe),e.body=this.tsParseModuleBlock(),this.prodParam.exit(),this.scope.exit()):this.semicolon(),this.finishNode(e,"TSModuleDeclaration")}tsParseImportEqualsDeclaration(e,s,i){e.isExport=i||!1,e.id=s||this.parseIdentifier(),this.checkIdentifier(e.id,Ne),this.expect(29);let r=this.tsParseModuleReference();return e.importKind==="type"&&r.type!=="TSExternalModuleReference"&&this.raise(y.ImportAliasHasImportType,{at:r}),e.moduleReference=r,this.semicolon(),this.finishNode(e,"TSImportEqualsDeclaration")}tsIsExternalModuleReference(){return this.isContextual(117)&&this.lookaheadCharCode()===40}tsParseModuleReference(){return this.tsIsExternalModuleReference()?this.tsParseExternalModuleReference():this.tsParseEntityName(!1)}tsParseExternalModuleReference(){let e=this.startNode();return this.expectContextual(117),this.expect(10),this.match(131)||this.unexpected(),e.expression=super.parseExprAtom(),this.expect(11),this.sawUnambiguousESM=!0,this.finishNode(e,"TSExternalModuleReference")}tsLookAhead(e){let s=this.state.clone(),i=e();return this.state=s,i}tsTryParseAndCatch(e){let s=this.tryParse(i=>e()||i());if(!(s.aborted||!s.node))return s.error&&(this.state=s.failState),s.node}tsTryParse(e){let s=this.state.clone(),i=e();if(i!==void 0&&i!==!1)return i;this.state=s}tsTryParseDeclare(e){if(this.isLineTerminator())return;let s=this.state.type,i;return this.isContextual(99)&&(s=74,i="let"),this.tsInAmbientContext(()=>{switch(s){case 68:return e.declare=!0,super.parseFunctionStatement(e,!1,!1);case 80:return e.declare=!0,this.parseClass(e,!0,!1);case 124:return this.tsParseEnumDeclaration(e,{declare:!0});case 110:return this.tsParseAmbientExternalModuleDeclaration(e);case 75:case 74:return!this.match(75)||!this.isLookaheadContextual("enum")?(e.declare=!0,this.parseVarStatement(e,i||this.state.value,!0)):(this.expect(75),this.tsParseEnumDeclaration(e,{const:!0,declare:!0}));case 127:{let r=this.tsParseInterfaceDeclaration(e,{declare:!0});if(r)return r}default:if(S(s))return this.tsParseDeclaration(e,this.state.value,!0,null)}})}tsTryParseExportDeclaration(){return this.tsParseDeclaration(this.startNode(),this.state.value,!0,null)}tsParseExpressionStatement(e,s,i){switch(s.name){case"declare":{let r=this.tsTryParseDeclare(e);return r&&(r.declare=!0),r}case"global":if(this.match(5)){this.scope.enter(le),this.prodParam.enter(pe);let r=e;return r.global=!0,r.id=s,r.body=this.tsParseModuleBlock(),this.scope.exit(),this.prodParam.exit(),this.finishNode(r,"TSModuleDeclaration")}break;default:return this.tsParseDeclaration(e,s.name,!1,i)}}tsParseDeclaration(e,s,i,r){switch(s){case"abstract":if(this.tsCheckLineTerminator(i)&&(this.match(80)||S(this.state.type)))return this.tsParseAbstractDeclaration(e,r);break;case"module":if(this.tsCheckLineTerminator(i)){if(this.match(131))return this.tsParseAmbientExternalModuleDeclaration(e);if(S(this.state.type))return this.tsParseModuleOrNamespaceDeclaration(e)}break;case"namespace":if(this.tsCheckLineTerminator(i)&&S(this.state.type))return this.tsParseModuleOrNamespaceDeclaration(e);break;case"type":if(this.tsCheckLineTerminator(i)&&S(this.state.type))return this.tsParseTypeAliasDeclaration(e);break}}tsCheckLineTerminator(e){return e?this.hasFollowingLineBreak()?!1:(this.next(),!0):!this.isLineTerminator()}tsTryParseGenericAsyncArrowFunction(e){if(!this.match(47))return;let s=this.state.maybeInArrowParameters;this.state.maybeInArrowParameters=!0;let i=this.tsTryParseAndCatch(()=>{let r=this.startNodeAt(e);return r.typeParameters=this.tsParseTypeParameters(this.tsParseConstModifier),super.parseFunctionParams(r),r.returnType=this.tsTryParseTypeOrTypePredicateAnnotation(),this.expect(19),r});if(this.state.maybeInArrowParameters=s,!!i)return super.parseArrowExpression(i,null,!0)}tsParseTypeArgumentsInExpression(){if(this.reScan_lt()===47)return this.tsParseTypeArguments()}tsParseTypeArguments(){let e=this.startNode();return e.params=this.tsInType(()=>this.tsInNoContext(()=>(this.expect(47),this.tsParseDelimitedList("TypeParametersOrArguments",this.tsParseType.bind(this))))),e.params.length===0?this.raise(y.EmptyTypeArguments,{at:e}):!this.state.inType&&this.curContext()===E.brace&&this.reScan_lt_gt(),this.expect(48),this.finishNode(e,"TSTypeParameterInstantiation")}tsIsDeclarationStart(){return fr(this.state.type)}isExportDefaultSpecifier(){return this.tsIsDeclarationStart()?!1:super.isExportDefaultSpecifier()}parseAssignableListItem(e,s){let i=this.state.startLoc,r={};this.tsParseModifiers({allowedModifiers:["public","private","protected","override","readonly"]},r);let n=r.accessibility,o=r.override,h=r.readonly;!(e&4)&&(n||h||o)&&this.raise(y.UnexpectedParameterModifier,{at:i});let l=this.parseMaybeDefault();this.parseAssignableListItemTypes(l,e);let c=this.parseMaybeDefault(l.loc.start,l);if(n||h||o){let u=this.startNodeAt(i);return s.length&&(u.decorators=s),n&&(u.accessibility=n),h&&(u.readonly=h),o&&(u.override=o),c.type!=="Identifier"&&c.type!=="AssignmentPattern"&&this.raise(y.UnsupportedParameterPropertyKind,{at:u}),u.parameter=c,this.finishNode(u,"TSParameterProperty")}return s.length&&(l.decorators=s),c}isSimpleParameter(e){return e.type==="TSParameterProperty"&&super.isSimpleParameter(e.parameter)||super.isSimpleParameter(e)}tsDisallowOptionalPattern(e){for(let s of e.params)s.type!=="Identifier"&&s.optional&&!this.state.isAmbientContext&&this.raise(y.PatternIsOptional,{at:s})}setArrowFunctionParameters(e,s,i){super.setArrowFunctionParameters(e,s,i),this.tsDisallowOptionalPattern(e)}parseFunctionBodyAndFinish(e,s,i=!1){this.match(14)&&(e.returnType=this.tsParseTypeOrTypePredicateAnnotation(14));let r=s==="FunctionDeclaration"?"TSDeclareFunction":s==="ClassMethod"||s==="ClassPrivateMethod"?"TSDeclareMethod":void 0;return r&&!this.match(5)&&this.isLineTerminator()?this.finishNode(e,r):r==="TSDeclareFunction"&&this.state.isAmbientContext&&(this.raise(y.DeclareFunctionHasImplementation,{at:e}),e.declare)?super.parseFunctionBodyAndFinish(e,r,i):(this.tsDisallowOptionalPattern(e),super.parseFunctionBodyAndFinish(e,s,i))}registerFunctionStatementId(e){!e.body&&e.id?this.checkIdentifier(e.id,ms):super.registerFunctionStatementId(e)}tsCheckForInvalidTypeCasts(e){e.forEach(s=>{(s==null?void 0:s.type)==="TSTypeCastExpression"&&this.raise(y.UnexpectedTypeAnnotation,{at:s.typeAnnotation})})}toReferencedList(e,s){return this.tsCheckForInvalidTypeCasts(e),e}parseArrayLike(e,s,i,r){let n=super.parseArrayLike(e,s,i,r);return n.type==="ArrayExpression"&&this.tsCheckForInvalidTypeCasts(n.elements),n}parseSubscript(e,s,i,r){if(!this.hasPrecedingLineBreak()&&this.match(35)){this.state.canStartJSXElement=!1,this.next();let o=this.startNodeAt(s);return o.expression=e,this.finishNode(o,"TSNonNullExpression")}let n=!1;if(this.match(18)&&this.lookaheadCharCode()===60){if(i)return r.stop=!0,e;r.optionalChainMember=n=!0,this.next()}if(this.match(47)||this.match(51)){let o,h=this.tsTryParseAndCatch(()=>{if(!i&&this.atPossibleAsyncArrow(e)){let d=this.tsTryParseGenericAsyncArrowFunction(s);if(d)return d}let l=this.tsParseTypeArgumentsInExpression();if(!l)return;if(n&&!this.match(10)){o=this.state.curPosition();return}if(Je(this.state.type)){let d=super.parseTaggedTemplateExpression(e,s,r);return d.typeParameters=l,d}if(!i&&this.eat(10)){let d=this.startNodeAt(s);return d.callee=e,d.arguments=this.parseCallExpressionArguments(11,!1),this.tsCheckForInvalidTypeCasts(d.arguments),d.typeParameters=l,r.optionalChainMember&&(d.optional=n),this.finishCallExpression(d,r.optionalChainMember)}let c=this.state.type;if(c===48||c===52||c!==10&>(c)&&!this.hasPrecedingLineBreak())return;let u=this.startNodeAt(s);return u.expression=e,u.typeParameters=l,this.finishNode(u,"TSInstantiationExpression")});if(o&&this.unexpected(o,10),h)return h.type==="TSInstantiationExpression"&&(this.match(16)||this.match(18)&&this.lookaheadCharCode()!==40)&&this.raise(y.InvalidPropertyAccessAfterInstantiationExpression,{at:this.state.startLoc}),h}return super.parseSubscript(e,s,i,r)}parseNewCallee(e){var s;super.parseNewCallee(e);let{callee:i}=e;i.type==="TSInstantiationExpression"&&!((s=i.extra)!=null&&s.parenthesized)&&(e.typeParameters=i.typeParameters,e.callee=i.expression)}parseExprOp(e,s,i){let r;if(Ve(58)>i&&!this.hasPrecedingLineBreak()&&(this.isContextual(93)||(r=this.isContextual(118)))){let n=this.startNodeAt(s);return n.expression=e,n.typeAnnotation=this.tsInType(()=>(this.next(),this.match(75)?(r&&this.raise(p.UnexpectedKeyword,{at:this.state.startLoc,keyword:"const"}),this.tsParseTypeReference()):this.tsParseType())),this.finishNode(n,r?"TSSatisfiesExpression":"TSAsExpression"),this.reScan_lt_gt(),this.parseExprOp(n,s,i)}return super.parseExprOp(e,s,i)}checkReservedWord(e,s,i,r){this.state.isAmbientContext||super.checkReservedWord(e,s,i,r)}checkImportReflection(e){super.checkImportReflection(e),e.module&&e.importKind!=="value"&&this.raise(y.ImportReflectionHasImportType,{at:e.specifiers[0].loc.start})}checkDuplicateExports(){}isPotentialImportPhase(e){if(super.isPotentialImportPhase(e))return!0;if(this.isContextual(128)){let s=this.lookaheadCharCode();return e?s===123||s===42:s!==61}return!e&&this.isContextual(87)}applyImportPhase(e,s,i,r){super.applyImportPhase(e,s,i,r),s?e.exportKind=i==="type"?"type":"value":e.importKind=i==="type"||i==="typeof"?i:"value"}parseImport(e){if(this.match(131))return e.importKind="value",super.parseImport(e);let s;if(S(this.state.type)&&this.lookaheadCharCode()===61)return e.importKind="value",this.tsParseImportEqualsDeclaration(e);if(this.isContextual(128)){let i=this.parseMaybeImportPhase(e,!1);if(this.lookaheadCharCode()===61)return this.tsParseImportEqualsDeclaration(e,i);s=super.parseImportSpecifiersAndAfter(e,i)}else s=super.parseImport(e);return s.importKind==="type"&&s.specifiers.length>1&&s.specifiers[0].type==="ImportDefaultSpecifier"&&this.raise(y.TypeImportCannotSpecifyDefaultAndNamed,{at:s}),s}parseExport(e,s){if(this.match(83)){this.next();let i=null;return this.isContextual(128)&&this.isPotentialImportPhase(!1)?i=this.parseMaybeImportPhase(e,!1):e.importKind="value",this.tsParseImportEqualsDeclaration(e,i,!0)}else if(this.eat(29)){let i=e;return i.expression=super.parseExpression(),this.semicolon(),this.sawUnambiguousESM=!0,this.finishNode(i,"TSExportAssignment")}else if(this.eatContextual(93)){let i=e;return this.expectContextual(126),i.id=this.parseIdentifier(),this.semicolon(),this.finishNode(i,"TSNamespaceExportDeclaration")}else return super.parseExport(e,s)}isAbstractClass(){return this.isContextual(122)&&this.lookahead().type===80}parseExportDefaultExpression(){if(this.isAbstractClass()){let e=this.startNode();return this.next(),e.abstract=!0,this.parseClass(e,!0,!0)}if(this.match(127)){let e=this.tsParseInterfaceDeclaration(this.startNode());if(e)return e}return super.parseExportDefaultExpression()}parseVarStatement(e,s,i=!1){let{isAmbientContext:r}=this.state,n=super.parseVarStatement(e,s,i||r);if(!r)return n;for(let{id:o,init:h}of n.declarations)h&&(s!=="const"||o.typeAnnotation?this.raise(y.InitializerNotAllowedInAmbientContext,{at:h}):ca(h,this.hasPlugin("estree"))||this.raise(y.ConstInitiailizerMustBeStringOrNumericLiteralOrLiteralEnumReference,{at:h}));return n}parseStatementContent(e,s){if(this.match(75)&&this.isLookaheadContextual("enum")){let i=this.startNode();return this.expect(75),this.tsParseEnumDeclaration(i,{const:!0})}if(this.isContextual(124))return this.tsParseEnumDeclaration(this.startNode());if(this.isContextual(127)){let i=this.tsParseInterfaceDeclaration(this.startNode());if(i)return i}return super.parseStatementContent(e,s)}parseAccessModifier(){return this.tsParseModifier(["public","protected","private"])}tsHasSomeModifiers(e,s){return s.some(i=>As(i)?e.accessibility===i:!!e[i])}tsIsStartOfStaticBlocks(){return this.isContextual(104)&&this.lookaheadCharCode()===123}parseClassMember(e,s,i){let r=["declare","private","public","protected","override","abstract","readonly","static"];this.tsParseModifiers({allowedModifiers:r,disallowedModifiers:["in","out"],stopOnStartOfClassStaticBlock:!0,errorTemplate:y.InvalidModifierOnTypeParameterPositions},s);let n=()=>{this.tsIsStartOfStaticBlocks()?(this.next(),this.next(),this.tsHasSomeModifiers(s,r)&&this.raise(y.StaticBlockCannotHaveModifier,{at:this.state.curPosition()}),super.parseClassStaticBlock(e,s)):this.parseClassMemberWithIsStatic(e,s,i,!!s.static)};s.declare?this.tsInAmbientContext(n):n()}parseClassMemberWithIsStatic(e,s,i,r){let n=this.tsTryParseIndexSignature(s);if(n){e.body.push(n),s.abstract&&this.raise(y.IndexSignatureHasAbstract,{at:s}),s.accessibility&&this.raise(y.IndexSignatureHasAccessibility,{at:s,modifier:s.accessibility}),s.declare&&this.raise(y.IndexSignatureHasDeclare,{at:s}),s.override&&this.raise(y.IndexSignatureHasOverride,{at:s});return}!this.state.inAbstractClass&&s.abstract&&this.raise(y.NonAbstractClassHasAbstractMethod,{at:s}),s.override&&(i.hadSuperClass||this.raise(y.OverrideNotInSubClass,{at:s})),super.parseClassMemberWithIsStatic(e,s,i,r)}parsePostMemberNameModifiers(e){this.eat(17)&&(e.optional=!0),e.readonly&&this.match(10)&&this.raise(y.ClassMethodHasReadonly,{at:e}),e.declare&&this.match(10)&&this.raise(y.ClassMethodHasDeclare,{at:e})}parseExpressionStatement(e,s,i){return(s.type==="Identifier"?this.tsParseExpressionStatement(e,s,i):void 0)||super.parseExpressionStatement(e,s,i)}shouldParseExportDeclaration(){return this.tsIsDeclarationStart()?!0:super.shouldParseExportDeclaration()}parseConditional(e,s,i){if(!this.state.maybeInArrowParameters||!this.match(17))return super.parseConditional(e,s,i);let r=this.tryParse(()=>super.parseConditional(e,s));return r.node?(r.error&&(this.state=r.failState),r.node):(r.error&&super.setOptionalParametersError(i,r.error),e)}parseParenItem(e,s){if(e=super.parseParenItem(e,s),this.eat(17)&&(e.optional=!0,this.resetEndLocation(e)),this.match(14)){let i=this.startNodeAt(s);return i.expression=e,i.typeAnnotation=this.tsParseTypeAnnotation(),this.finishNode(i,"TSTypeCastExpression")}return e}parseExportDeclaration(e){if(!this.state.isAmbientContext&&this.isContextual(123))return this.tsInAmbientContext(()=>this.parseExportDeclaration(e));let s=this.state.startLoc,i=this.eatContextual(123);if(i&&(this.isContextual(123)||!this.shouldParseExportDeclaration()))throw this.raise(y.ExpectedAmbientAfterExportDeclare,{at:this.state.startLoc});let n=S(this.state.type)&&this.tsTryParseExportDeclaration()||super.parseExportDeclaration(e);return n?((n.type==="TSInterfaceDeclaration"||n.type==="TSTypeAliasDeclaration"||i)&&(e.exportKind="type"),i&&(this.resetStartLocation(n,s),n.declare=!0),n):null}parseClassId(e,s,i,r){if((!s||i)&&this.isContextual(111))return;super.parseClassId(e,s,i,e.declare?ms:js);let n=this.tsTryParseTypeParameters(this.tsParseInOutConstModifiers);n&&(e.typeParameters=n)}parseClassPropertyAnnotation(e){e.optional||(this.eat(35)?e.definite=!0:this.eat(17)&&(e.optional=!0));let s=this.tsTryParseTypeAnnotation();s&&(e.typeAnnotation=s)}parseClassProperty(e){if(this.parseClassPropertyAnnotation(e),this.state.isAmbientContext&&!(e.readonly&&!e.typeAnnotation)&&this.match(29)&&this.raise(y.DeclareClassFieldHasInitializer,{at:this.state.startLoc}),e.abstract&&this.match(29)){let{key:s}=e;this.raise(y.AbstractPropertyHasInitializer,{at:this.state.startLoc,propertyName:s.type==="Identifier"&&!e.computed?s.name:`[${this.input.slice(s.start,s.end)}]`})}return super.parseClassProperty(e)}parseClassPrivateProperty(e){return e.abstract&&this.raise(y.PrivateElementHasAbstract,{at:e}),e.accessibility&&this.raise(y.PrivateElementHasAccessibility,{at:e,modifier:e.accessibility}),this.parseClassPropertyAnnotation(e),super.parseClassPrivateProperty(e)}parseClassAccessorProperty(e){return this.parseClassPropertyAnnotation(e),e.optional&&this.raise(y.AccessorCannotBeOptional,{at:e}),super.parseClassAccessorProperty(e)}pushClassMethod(e,s,i,r,n,o){let h=this.tsTryParseTypeParameters(this.tsParseConstModifier);h&&n&&this.raise(y.ConstructorHasTypeParameters,{at:h});let{declare:l=!1,kind:c}=s;l&&(c==="get"||c==="set")&&this.raise(y.DeclareAccessor,{at:s,kind:c}),h&&(s.typeParameters=h),super.pushClassMethod(e,s,i,r,n,o)}pushClassPrivateMethod(e,s,i,r){let n=this.tsTryParseTypeParameters(this.tsParseConstModifier);n&&(s.typeParameters=n),super.pushClassPrivateMethod(e,s,i,r)}declareClassPrivateMethodInScope(e,s){e.type!=="TSDeclareMethod"&&(e.type==="MethodDefinition"&&!e.value.body||super.declareClassPrivateMethodInScope(e,s))}parseClassSuper(e){super.parseClassSuper(e),e.superClass&&(this.match(47)||this.match(51))&&(e.superTypeParameters=this.tsParseTypeArgumentsInExpression()),this.eatContextual(111)&&(e.implements=this.tsParseHeritageClause("implements"))}parseObjPropValue(e,s,i,r,n,o,h){let l=this.tsTryParseTypeParameters(this.tsParseConstModifier);return l&&(e.typeParameters=l),super.parseObjPropValue(e,s,i,r,n,o,h)}parseFunctionParams(e,s){let i=this.tsTryParseTypeParameters(this.tsParseConstModifier);i&&(e.typeParameters=i),super.parseFunctionParams(e,s)}parseVarId(e,s){super.parseVarId(e,s),e.id.type==="Identifier"&&!this.hasPrecedingLineBreak()&&this.eat(35)&&(e.definite=!0);let i=this.tsTryParseTypeAnnotation();i&&(e.id.typeAnnotation=i,this.resetEndLocation(e.id))}parseAsyncArrowFromCallExpression(e,s){return this.match(14)&&(e.returnType=this.tsParseTypeAnnotation()),super.parseAsyncArrowFromCallExpression(e,s)}parseMaybeAssign(e,s){var i,r,n,o,h;let l,c,u;if(this.hasPlugin("jsx")&&(this.match(140)||this.match(47))){if(l=this.state.clone(),c=this.tryParse(()=>super.parseMaybeAssign(e,s),l),!c.error)return c.node;let{context:x}=this.state,I=x[x.length-1];(I===E.j_oTag||I===E.j_expr)&&x.pop()}if(!((i=c)!=null&&i.error)&&!this.match(47))return super.parseMaybeAssign(e,s);(!l||l===this.state)&&(l=this.state.clone());let d,f=this.tryParse(x=>{var I,C;d=this.tsParseTypeParameters(this.tsParseConstModifier);let w=super.parseMaybeAssign(e,s);return(w.type!=="ArrowFunctionExpression"||(I=w.extra)!=null&&I.parenthesized)&&x(),((C=d)==null?void 0:C.params.length)!==0&&this.resetStartLocationFromNode(w,d),w.typeParameters=d,w},l);if(!f.error&&!f.aborted)return d&&this.reportReservedArrowTypeParam(d),f.node;if(!c&&(bs(!this.hasPlugin("jsx")),u=this.tryParse(()=>super.parseMaybeAssign(e,s),l),!u.error))return u.node;if((r=c)!=null&&r.node)return this.state=c.failState,c.node;if(f.node)return this.state=f.failState,d&&this.reportReservedArrowTypeParam(d),f.node;if((n=u)!=null&&n.node)return this.state=u.failState,u.node;throw((o=c)==null?void 0:o.error)||f.error||((h=u)==null?void 0:h.error)}reportReservedArrowTypeParam(e){var s;e.params.length===1&&!e.params[0].constraint&&!((s=e.extra)!=null&&s.trailingComma)&&this.getPluginOption("typescript","disallowAmbiguousJSXLike")&&this.raise(y.ReservedArrowTypeParam,{at:e})}parseMaybeUnary(e,s){return!this.hasPlugin("jsx")&&this.match(47)?this.tsParseTypeAssertion():super.parseMaybeUnary(e,s)}parseArrow(e){if(this.match(14)){let s=this.tryParse(i=>{let r=this.tsParseTypeOrTypePredicateAnnotation(14);return(this.canInsertSemicolon()||!this.match(19))&&i(),r});if(s.aborted)return;s.thrown||(s.error&&(this.state=s.failState),e.returnType=s.node)}return super.parseArrow(e)}parseAssignableListItemTypes(e,s){if(!(s&2))return e;this.eat(17)&&(e.optional=!0);let i=this.tsTryParseTypeAnnotation();return i&&(e.typeAnnotation=i),this.resetEndLocation(e),e}isAssignable(e,s){switch(e.type){case"TSTypeCastExpression":return this.isAssignable(e.expression,s);case"TSParameterProperty":return!0;default:return super.isAssignable(e,s)}}toAssignable(e,s=!1){switch(e.type){case"ParenthesizedExpression":this.toAssignableParenthesizedExpression(e,s);break;case"TSAsExpression":case"TSSatisfiesExpression":case"TSNonNullExpression":case"TSTypeAssertion":s?this.expressionScope.recordArrowParameterBindingError(y.UnexpectedTypeCastInParameter,{at:e}):this.raise(y.UnexpectedTypeCastInParameter,{at:e}),this.toAssignable(e.expression,s);break;case"AssignmentExpression":!s&&e.left.type==="TSTypeCastExpression"&&(e.left=this.typeCastToParameter(e.left));default:super.toAssignable(e,s)}}toAssignableParenthesizedExpression(e,s){switch(e.expression.type){case"TSAsExpression":case"TSSatisfiesExpression":case"TSNonNullExpression":case"TSTypeAssertion":case"ParenthesizedExpression":this.toAssignable(e.expression,s);break;default:super.toAssignable(e,s)}}checkToRestConversion(e,s){switch(e.type){case"TSAsExpression":case"TSSatisfiesExpression":case"TSTypeAssertion":case"TSNonNullExpression":this.checkToRestConversion(e.expression,!1);break;default:super.checkToRestConversion(e,s)}}isValidLVal(e,s,i){return ra({TSTypeCastExpression:!0,TSParameterProperty:"parameter",TSNonNullExpression:"expression",TSAsExpression:(i!==W||!s)&&["expression",!0],TSSatisfiesExpression:(i!==W||!s)&&["expression",!0],TSTypeAssertion:(i!==W||!s)&&["expression",!0]},e)||super.isValidLVal(e,s,i)}parseBindingAtom(){return this.state.type===78?this.parseIdentifier(!0):super.parseBindingAtom()}parseMaybeDecoratorArguments(e){if(this.match(47)||this.match(51)){let s=this.tsParseTypeArgumentsInExpression();if(this.match(10)){let i=super.parseMaybeDecoratorArguments(e);return i.typeParameters=s,i}this.unexpected(null,10)}return super.parseMaybeDecoratorArguments(e)}checkCommaAfterRest(e){return this.state.isAmbientContext&&this.match(12)&&this.lookaheadCharCode()===e?(this.next(),!1):super.checkCommaAfterRest(e)}isClassMethod(){return this.match(47)||super.isClassMethod()}isClassProperty(){return this.match(35)||this.match(14)||super.isClassProperty()}parseMaybeDefault(e,s){let i=super.parseMaybeDefault(e,s);return i.type==="AssignmentPattern"&&i.typeAnnotation&&i.right.startthis.isAssignable(s,!0)):super.shouldParseArrow(e)}shouldParseAsyncArrow(){return this.match(14)||super.shouldParseAsyncArrow()}canHaveLeadingDecorator(){return super.canHaveLeadingDecorator()||this.isAbstractClass()}jsxParseOpeningElementAfterName(e){if(this.match(47)||this.match(51)){let s=this.tsTryParseAndCatch(()=>this.tsParseTypeArgumentsInExpression());s&&(e.typeParameters=s)}return super.jsxParseOpeningElementAfterName(e)}getGetterSetterExpectedParamCount(e){let s=super.getGetterSetterExpectedParamCount(e),r=this.getObjectOrClassMethodParams(e)[0];return r&&this.isThisParam(r)?s+1:s}parseCatchClauseParam(){let e=super.parseCatchClauseParam(),s=this.tsTryParseTypeAnnotation();return s&&(e.typeAnnotation=s,this.resetEndLocation(e)),e}tsInAmbientContext(e){let s=this.state.isAmbientContext;this.state.isAmbientContext=!0;try{return e()}finally{this.state.isAmbientContext=s}}parseClass(e,s,i){let r=this.state.inAbstractClass;this.state.inAbstractClass=!!e.abstract;try{return super.parseClass(e,s,i)}finally{this.state.inAbstractClass=r}}tsParseAbstractDeclaration(e,s){if(this.match(80))return e.abstract=!0,this.maybeTakeDecorators(s,this.parseClass(e,!0,!1));if(this.isContextual(127)){if(!this.hasFollowingLineBreak())return e.abstract=!0,this.raise(y.NonClassMethodPropertyHasAbstractModifer,{at:e}),this.tsParseInterfaceDeclaration(e)}else this.unexpected(null,80)}parseMethod(e,s,i,r,n,o,h){let l=super.parseMethod(e,s,i,r,n,o,h);if(l.abstract&&(this.hasPlugin("estree")?!!l.value.body:!!l.body)){let{key:u}=l;this.raise(y.AbstractMethodHasImplementation,{at:l,methodName:u.type==="Identifier"&&!l.computed?u.name:`[${this.input.slice(u.start,u.end)}]`})}return l}tsParseTypeParameterName(){return this.parseIdentifier().name}shouldParseAsAmbientContext(){return!!this.getPluginOption("typescript","dts")}parse(){return this.shouldParseAsAmbientContext()&&(this.state.isAmbientContext=!0),super.parse()}getExpression(){return this.shouldParseAsAmbientContext()&&(this.state.isAmbientContext=!0),super.getExpression()}parseExportSpecifier(e,s,i,r){return!s&&r?(this.parseTypeOnlyImportExportSpecifier(e,!1,i),this.finishNode(e,"ExportSpecifier")):(e.exportKind="value",super.parseExportSpecifier(e,s,i,r))}parseImportSpecifier(e,s,i,r,n){return!s&&r?(this.parseTypeOnlyImportExportSpecifier(e,!0,i),this.finishNode(e,"ImportSpecifier")):(e.importKind="value",super.parseImportSpecifier(e,s,i,r,i?ys:Ne))}parseTypeOnlyImportExportSpecifier(e,s,i){let r=s?"imported":"local",n=s?"local":"exported",o=e[r],h,l=!1,c=!0,u=o.loc.start;if(this.isContextual(93)){let f=this.parseIdentifier();if(this.isContextual(93)){let x=this.parseIdentifier();M(this.state.type)?(l=!0,o=f,h=s?this.parseIdentifier():this.parseModuleExportName(),c=!1):(h=x,c=!1)}else M(this.state.type)?(c=!1,h=s?this.parseIdentifier():this.parseModuleExportName()):(l=!0,o=f)}else M(this.state.type)&&(l=!0,s?(o=this.parseIdentifier(!0),this.isContextual(93)||this.checkReservedWord(o.name,o.loc.start,!0,!0)):o=this.parseModuleExportName());l&&i&&this.raise(s?y.TypeModifierIsUsedInTypeImports:y.TypeModifierIsUsedInTypeExports,{at:u}),e[r]=o,e[n]=h;let d=s?"importKind":"exportKind";e[d]=l?"type":"value",c&&this.eatContextual(93)&&(e[n]=s?this.parseIdentifier():this.parseModuleExportName()),e[n]||(e[n]=K(e[r])),s&&this.checkIdentifier(e[n],l?ys:Ne)}};function la(a){if(a.type!=="MemberExpression")return!1;let{computed:t,property:e}=a;return t&&e.type!=="StringLiteral"&&(e.type!=="TemplateLiteral"||e.expressions.length>0)?!1:ei(a.object)}function ca(a,t){var e;let{type:s}=a;if((e=a.extra)!=null&&e.parenthesized)return!1;if(t){if(s==="Literal"){let{value:i}=a;if(typeof i=="string"||typeof i=="boolean")return!0}}else if(s==="StringLiteral"||s==="BooleanLiteral")return!0;return!!(Zs(a,t)||pa(a,t)||s==="TemplateLiteral"&&a.expressions.length===0||la(a))}function Zs(a,t){return t?a.type==="Literal"&&(typeof a.value=="number"||"bigint"in a):a.type==="NumericLiteral"||a.type==="BigIntLiteral"}function pa(a,t){if(a.type==="UnaryExpression"){let{operator:e,argument:s}=a;if(e==="-"&&Zs(s,t))return!0}return!1}function ei(a){return a.type==="Identifier"?!0:a.type!=="MemberExpression"||a.computed?!1:ei(a.object)}var Ss=V`placeholders`({ClassNameIsRequired:"A class name is required.",UnexpectedSpace:"Unexpected space in placeholder."}),ua=a=>class extends a{parsePlaceholder(e){if(this.match(142)){let s=this.startNode();return this.next(),this.assertNoSpace(),s.name=super.parseIdentifier(!0),this.assertNoSpace(),this.expect(142),this.finishPlaceholder(s,e)}}finishPlaceholder(e,s){let i=!!(e.expectedNode&&e.type==="Placeholder");return e.expectedNode=s,i?e:this.finishNode(e,"Placeholder")}getTokenFromCode(e){e===37&&this.input.charCodeAt(this.state.pos+1)===37?this.finishOp(142,2):super.getTokenFromCode(e)}parseExprAtom(e){return this.parsePlaceholder("Expression")||super.parseExprAtom(e)}parseIdentifier(e){return this.parsePlaceholder("Identifier")||super.parseIdentifier(e)}checkReservedWord(e,s,i,r){e!==void 0&&super.checkReservedWord(e,s,i,r)}parseBindingAtom(){return this.parsePlaceholder("Pattern")||super.parseBindingAtom()}isValidLVal(e,s,i){return e==="Placeholder"||super.isValidLVal(e,s,i)}toAssignable(e,s){e&&e.type==="Placeholder"&&e.expectedNode==="Expression"?e.expectedNode="Pattern":super.toAssignable(e,s)}chStartsBindingIdentifier(e,s){return!!(super.chStartsBindingIdentifier(e,s)||this.lookahead().type===142)}verifyBreakContinue(e,s){e.label&&e.label.type==="Placeholder"||super.verifyBreakContinue(e,s)}parseExpressionStatement(e,s){if(s.type!=="Placeholder"||s.extra&&s.extra.parenthesized)return super.parseExpressionStatement(e,s);if(this.match(14)){let i=e;return i.label=this.finishPlaceholder(s,"Identifier"),this.next(),i.body=super.parseStatementOrSloppyAnnexBFunctionDeclaration(),this.finishNode(i,"LabeledStatement")}return this.semicolon(),e.name=s.name,this.finishPlaceholder(e,"Statement")}parseBlock(e,s,i){return this.parsePlaceholder("BlockStatement")||super.parseBlock(e,s,i)}parseFunctionId(e){return this.parsePlaceholder("Identifier")||super.parseFunctionId(e)}parseClass(e,s,i){let r=s?"ClassDeclaration":"ClassExpression";this.next();let n=this.state.strict,o=this.parsePlaceholder("Identifier");if(o)if(this.match(81)||this.match(142)||this.match(5))e.id=o;else{if(i||!s)return e.id=null,e.body=this.finishPlaceholder(o,"ClassBody"),this.finishNode(e,r);throw this.raise(Ss.ClassNameIsRequired,{at:this.state.startLoc})}else this.parseClassId(e,s,i);return super.parseClassSuper(e),e.body=this.parsePlaceholder("ClassBody")||super.parseClassBody(!!e.superClass,n),this.finishNode(e,r)}parseExport(e,s){let i=this.parsePlaceholder("Identifier");if(!i)return super.parseExport(e,s);if(!this.isContextual(97)&&!this.match(12))return e.specifiers=[],e.source=null,e.declaration=this.finishPlaceholder(i,"Declaration"),this.finishNode(e,"ExportNamedDeclaration");this.expectPlugin("exportDefaultFrom");let r=this.startNode();return r.exported=i,e.specifiers=[this.finishNode(r,"ExportDefaultSpecifier")],super.parseExport(e,s)}isExportDefaultSpecifier(){if(this.match(65)){let e=this.nextTokenStart();if(this.isUnparsedContextual(e,"from")&&this.input.startsWith(J(142),this.nextTokenStartSince(e+4)))return!0}return super.isExportDefaultSpecifier()}maybeParseExportDefaultSpecifier(e,s){var i;return(i=e.specifiers)!=null&&i.length?!0:super.maybeParseExportDefaultSpecifier(e,s)}checkExport(e){let{specifiers:s}=e;s!=null&&s.length&&(e.specifiers=s.filter(i=>i.exported.type==="Placeholder")),super.checkExport(e),e.specifiers=s}parseImport(e){let s=this.parsePlaceholder("Identifier");if(!s)return super.parseImport(e);if(e.specifiers=[],!this.isContextual(97)&&!this.match(12))return e.source=this.finishPlaceholder(s,"StringLiteral"),this.semicolon(),this.finishNode(e,"ImportDeclaration");let i=this.startNodeAtNode(s);return i.local=s,e.specifiers.push(this.finishNode(i,"ImportDefaultSpecifier")),this.eat(12)&&(this.maybeParseStarImportSpecifier(e)||this.parseNamedImportSpecifiers(e)),this.expectContextual(97),e.source=this.parseImportSource(),this.semicolon(),this.finishNode(e,"ImportDeclaration")}parseImportSource(){return this.parsePlaceholder("StringLiteral")||super.parseImportSource()}assertNoSpace(){this.state.start>this.state.lastTokEndLoc.index&&this.raise(Ss.UnexpectedSpace,{at:this.state.lastTokEndLoc})}},fa=a=>class extends a{parseV8Intrinsic(){if(this.match(54)){let e=this.state.startLoc,s=this.startNode();if(this.next(),S(this.state.type)){let i=this.parseIdentifierName(),r=this.createIdentifier(s,i);if(r.type="V8IntrinsicIdentifier",this.match(10))return r}this.unexpected(e)}}parseExprAtom(e){return this.parseV8Intrinsic()||super.parseExprAtom(e)}};function k(a,t){let[e,s]=typeof t=="string"?[t,{}]:t,i=Object.keys(s),r=i.length===0;return a.some(n=>{if(typeof n=="string")return r&&n===e;{let[o,h]=n;if(o!==e)return!1;for(let l of i)if(h[l]!==s[l])return!1;return!0}})}function Q(a,t,e){let s=a.find(i=>Array.isArray(i)?i[0]===t:i===t);return s&&Array.isArray(s)&&s.length>1?s[1][e]:null}var Es=["minimal","fsharp","hack","smart"],Cs=["^^","@@","^","%","#"],ws=["hash","bar"];function da(a){if(k(a,"decorators")){if(k(a,"decorators-legacy"))throw new Error("Cannot use the decorators and decorators-legacy plugin together");let t=Q(a,"decorators","decoratorsBeforeExport");if(t!=null&&typeof t!="boolean")throw new Error("'decoratorsBeforeExport' must be a boolean, if specified.");let e=Q(a,"decorators","allowCallParenthesized");if(e!=null&&typeof e!="boolean")throw new Error("'allowCallParenthesized' must be a boolean.")}if(k(a,"flow")&&k(a,"typescript"))throw new Error("Cannot combine flow and typescript plugins.");if(k(a,"placeholders")&&k(a,"v8intrinsic"))throw new Error("Cannot combine placeholders and v8intrinsic plugins.");if(k(a,"pipelineOperator")){let t=Q(a,"pipelineOperator","proposal");if(!Es.includes(t)){let s=Es.map(i=>`"${i}"`).join(", ");throw new Error(`"pipelineOperator" requires "proposal" option whose value must be one of: ${s}.`)}let e=k(a,["recordAndTuple",{syntaxType:"hash"}]);if(t==="hack"){if(k(a,"placeholders"))throw new Error("Cannot combine placeholders plugin and Hack-style pipes.");if(k(a,"v8intrinsic"))throw new Error("Cannot combine v8intrinsic plugin and Hack-style pipes.");let s=Q(a,"pipelineOperator","topicToken");if(!Cs.includes(s)){let i=Cs.map(r=>`"${r}"`).join(", ");throw new Error(`"pipelineOperator" in "proposal": "hack" mode also requires a "topicToken" option whose value must be one of: ${i}.`)}if(s==="#"&&e)throw new Error('Plugin conflict between `["pipelineOperator", { proposal: "hack", topicToken: "#" }]` and `["recordAndtuple", { syntaxType: "hash"}]`.')}else if(t==="smart"&&e)throw new Error('Plugin conflict between `["pipelineOperator", { proposal: "smart" }]` and `["recordAndtuple", { syntaxType: "hash"}]`.')}if(k(a,"moduleAttributes")){if(k(a,"importAssertions")||k(a,"importAttributes"))throw new Error("Cannot combine importAssertions, importAttributes and moduleAttributes plugins.");if(Q(a,"moduleAttributes","version")!=="may-2020")throw new Error("The 'moduleAttributes' plugin requires a 'version' option, representing the last proposal update. Currently, the only supported value is 'may-2020'.")}if(k(a,"importAssertions")&&k(a,"importAttributes"))throw new Error("Cannot combine importAssertions and importAttributes plugins.");if(k(a,"recordAndTuple")&&Q(a,"recordAndTuple","syntaxType")!=null&&!ws.includes(Q(a,"recordAndTuple","syntaxType")))throw new Error("The 'syntaxType' option of the 'recordAndTuple' plugin must be one of: "+ws.map(t=>`'${t}'`).join(", "));if(k(a,"asyncDoExpressions")&&!k(a,"doExpressions")){let t=new Error("'asyncDoExpressions' requires 'doExpressions', please add 'doExpressions' to parser plugins.");throw t.missingPlugins="doExpressions",t}}var ti={estree:sr,jsx:sa,flow:ta,typescript:ha,v8intrinsic:fa,placeholders:ua},ma=Object.keys(ti),Is={sourceType:"script",sourceFilename:void 0,startColumn:0,startLine:1,allowAwaitOutsideFunction:!1,allowReturnOutsideFunction:!1,allowNewTargetOutsideFunction:!1,allowImportExportEverywhere:!1,allowSuperOutsideMethod:!1,allowUndeclaredExports:!1,plugins:[],strictMode:null,ranges:!1,tokens:!1,createParenthesizedExpressions:!1,errorRecovery:!1,attachComment:!0,annexB:!0};function ya(a){if(a&&a.annexB!=null&&a.annexB!==!1)throw new Error("The `annexB` option can only be set to `false`.");let t={};for(let e of Object.keys(Is))t[e]=a&&a[e]!=null?a[e]:Is[e];return t}var $t=class extends jt{checkProto(t,e,s,i){if(t.type==="SpreadElement"||this.isObjectMethod(t)||t.computed||t.shorthand)return;let r=t.key;if((r.type==="Identifier"?r.name:r.value)==="__proto__"){if(e){this.raise(p.RecordNoProto,{at:r});return}s.used&&(i?i.doubleProtoLoc===null&&(i.doubleProtoLoc=r.loc.start):this.raise(p.DuplicateProto,{at:r})),s.used=!0}}shouldExitDescending(t,e){return t.type==="ArrowFunctionExpression"&&t.start===e}getExpression(){this.enterInitialScopes(),this.nextToken();let t=this.parseExpression();return this.match(137)||this.unexpected(),this.finalizeRemainingComments(),t.comments=this.state.comments,t.errors=this.state.errors,this.options.tokens&&(t.tokens=this.tokens),t}parseExpression(t,e){return t?this.disallowInAnd(()=>this.parseExpressionBase(e)):this.allowInAnd(()=>this.parseExpressionBase(e))}parseExpressionBase(t){let e=this.state.startLoc,s=this.parseMaybeAssign(t);if(this.match(12)){let i=this.startNodeAt(e);for(i.expressions=[s];this.eat(12);)i.expressions.push(this.parseMaybeAssign(t));return this.toReferencedList(i.expressions),this.finishNode(i,"SequenceExpression")}return s}parseMaybeAssignDisallowIn(t,e){return this.disallowInAnd(()=>this.parseMaybeAssign(t,e))}parseMaybeAssignAllowIn(t,e){return this.allowInAnd(()=>this.parseMaybeAssign(t,e))}setOptionalParametersError(t,e){var s;t.optionalParametersLoc=(s=e==null?void 0:e.loc)!=null?s:this.state.startLoc}parseMaybeAssign(t,e){let s=this.state.startLoc;if(this.isContextual(106)&&this.prodParam.hasYield){let o=this.parseYield();return e&&(o=e.call(this,o,s)),o}let i;t?i=!1:(t=new ue,i=!0);let{type:r}=this.state;(r===10||S(r))&&(this.state.potentialArrowAt=this.state.start);let n=this.parseMaybeConditional(t);if(e&&(n=e.call(this,n,s)),or(this.state.type)){let o=this.startNodeAt(s),h=this.state.value;if(o.operator=h,this.match(29)){this.toAssignable(n,!0),o.left=n;let l=s.index;t.doubleProtoLoc!=null&&t.doubleProtoLoc.index>=l&&(t.doubleProtoLoc=null),t.shorthandAssignLoc!=null&&t.shorthandAssignLoc.index>=l&&(t.shorthandAssignLoc=null),t.privateKeyLoc!=null&&t.privateKeyLoc.index>=l&&(this.checkDestructuringPrivate(t),t.privateKeyLoc=null)}else o.left=n;return this.next(),o.right=this.parseMaybeAssign(),this.checkLVal(n,{in:this.finishNode(o,"AssignmentExpression")}),o}else i&&this.checkExpressionErrors(t,!0);return n}parseMaybeConditional(t){let e=this.state.startLoc,s=this.state.potentialArrowAt,i=this.parseExprOps(t);return this.shouldExitDescending(i,s)?i:this.parseConditional(i,e,t)}parseConditional(t,e,s){if(this.eat(17)){let i=this.startNodeAt(e);return i.test=t,i.consequent=this.parseMaybeAssignAllowIn(),this.expect(14),i.alternate=this.parseMaybeAssign(),this.finishNode(i,"ConditionalExpression")}return t}parseMaybeUnaryOrPrivate(t){return this.match(136)?this.parsePrivateName():this.parseMaybeUnary(t)}parseExprOps(t){let e=this.state.startLoc,s=this.state.potentialArrowAt,i=this.parseMaybeUnaryOrPrivate(t);return this.shouldExitDescending(i,s)?i:this.parseExprOp(i,e,-1)}parseExprOp(t,e,s){if(this.isPrivateName(t)){let r=this.getPrivateNameSV(t);(s>=Ve(58)||!this.prodParam.hasIn||!this.match(58))&&this.raise(p.PrivateInExpectedIn,{at:t,identifierName:r}),this.classScope.usePrivateName(r,t.loc.start)}let i=this.state.type;if(lr(i)&&(this.prodParam.hasIn||!this.match(58))){let r=Ve(i);if(r>s){if(i===39){if(this.expectPlugin("pipelineOperator"),this.state.inFSharpPipelineDirectBody)return t;this.checkPipelineAtInfixOperator(t,e)}let n=this.startNodeAt(e);n.left=t,n.operator=this.state.value;let o=i===41||i===42,h=i===40;if(h&&(r=Ve(42)),this.next(),i===39&&this.hasPlugin(["pipelineOperator",{proposal:"minimal"}])&&this.state.type===96&&this.prodParam.hasAwait)throw this.raise(p.UnexpectedAwaitAfterPipelineBody,{at:this.state.startLoc});n.right=this.parseExprOpRightExpr(i,r);let l=this.finishNode(n,o||h?"LogicalExpression":"BinaryExpression"),c=this.state.type;if(h&&(c===41||c===42)||o&&c===40)throw this.raise(p.MixingCoalesceWithLogical,{at:this.state.startLoc});return this.parseExprOp(l,e,s)}}return t}parseExprOpRightExpr(t,e){let s=this.state.startLoc;switch(t){case 39:switch(this.getPluginOption("pipelineOperator","proposal")){case"hack":return this.withTopicBindingContext(()=>this.parseHackPipeBody());case"smart":return this.withTopicBindingContext(()=>{if(this.prodParam.hasYield&&this.isContextual(106))throw this.raise(p.PipeBodyIsTighter,{at:this.state.startLoc});return this.parseSmartPipelineBodyInStyle(this.parseExprOpBaseRightExpr(t,e),s)});case"fsharp":return this.withSoloAwaitPermittingContext(()=>this.parseFSharpPipelineBody(e))}default:return this.parseExprOpBaseRightExpr(t,e)}}parseExprOpBaseRightExpr(t,e){let s=this.state.startLoc;return this.parseExprOp(this.parseMaybeUnaryOrPrivate(),s,dr(t)?e-1:e)}parseHackPipeBody(){var t;let{startLoc:e}=this.state,s=this.parseMaybeAssign();return Gi.has(s.type)&&!((t=s.extra)!=null&&t.parenthesized)&&this.raise(p.PipeUnparenthesizedBody,{at:e,type:s.type}),this.topicReferenceWasUsedInCurrentContext()||this.raise(p.PipeTopicUnused,{at:e}),s}checkExponentialAfterUnary(t){this.match(57)&&this.raise(p.UnexpectedTokenUnaryExponentiation,{at:t.argument})}parseMaybeUnary(t,e){let s=this.state.startLoc,i=this.isContextual(96);if(i&&this.isAwaitAllowed()){this.next();let h=this.parseAwait(s);return e||this.checkExponentialAfterUnary(h),h}let r=this.match(34),n=this.startNode();if(pr(this.state.type)){n.operator=this.state.value,n.prefix=!0,this.match(72)&&this.expectPlugin("throwExpressions");let h=this.match(89);if(this.next(),n.argument=this.parseMaybeUnary(null,!0),this.checkExpressionErrors(t,!0),this.state.strict&&h){let l=n.argument;l.type==="Identifier"?this.raise(p.StrictDelete,{at:n}):this.hasPropertyAsPrivateName(l)&&this.raise(p.DeletePrivateField,{at:n})}if(!r)return e||this.checkExponentialAfterUnary(n),this.finishNode(n,"UnaryExpression")}let o=this.parseUpdate(n,r,t);if(i){let{type:h}=this.state;if((this.hasPlugin("v8intrinsic")?gt(h):gt(h)&&!this.match(54))&&!this.isAmbiguousAwait())return this.raiseOverwrite(p.AwaitNotInAsyncContext,{at:s}),this.parseAwait(s)}return o}parseUpdate(t,e,s){if(e){let n=t;return this.checkLVal(n.argument,{in:this.finishNode(n,"UpdateExpression")}),t}let i=this.state.startLoc,r=this.parseExprSubscripts(s);if(this.checkExpressionErrors(s,!1))return r;for(;cr(this.state.type)&&!this.canInsertSemicolon();){let n=this.startNodeAt(i);n.operator=this.state.value,n.prefix=!1,n.argument=r,this.next(),this.checkLVal(r,{in:r=this.finishNode(n,"UpdateExpression")})}return r}parseExprSubscripts(t){let e=this.state.startLoc,s=this.state.potentialArrowAt,i=this.parseExprAtom(t);return this.shouldExitDescending(i,s)?i:this.parseSubscripts(i,e)}parseSubscripts(t,e,s){let i={optionalChainMember:!1,maybeAsyncArrow:this.atPossibleAsyncArrow(t),stop:!1};do t=this.parseSubscript(t,e,s,i),i.maybeAsyncArrow=!1;while(!i.stop);return t}parseSubscript(t,e,s,i){let{type:r}=this.state;if(!s&&r===15)return this.parseBind(t,e,s,i);if(Je(r))return this.parseTaggedTemplateExpression(t,e,i);let n=!1;if(r===18){if(s&&(this.raise(p.OptionalChainingNoNew,{at:this.state.startLoc}),this.lookaheadCharCode()===40))return i.stop=!0,t;i.optionalChainMember=n=!0,this.next()}if(!s&&this.match(10))return this.parseCoverCallAndAsyncArrowHead(t,e,i,n);{let o=this.eat(0);return o||n||this.eat(16)?this.parseMember(t,e,i,o,n):(i.stop=!0,t)}}parseMember(t,e,s,i,r){let n=this.startNodeAt(e);return n.object=t,n.computed=i,i?(n.property=this.parseExpression(),this.expect(3)):this.match(136)?(t.type==="Super"&&this.raise(p.SuperPrivateField,{at:e}),this.classScope.usePrivateName(this.state.value,this.state.startLoc),n.property=this.parsePrivateName()):n.property=this.parseIdentifier(!0),s.optionalChainMember?(n.optional=r,this.finishNode(n,"OptionalMemberExpression")):this.finishNode(n,"MemberExpression")}parseBind(t,e,s,i){let r=this.startNodeAt(e);return r.object=t,this.next(),r.callee=this.parseNoCallExpr(),i.stop=!0,this.parseSubscripts(this.finishNode(r,"BindExpression"),e,s)}parseCoverCallAndAsyncArrowHead(t,e,s,i){let r=this.state.maybeInArrowParameters,n=null;this.state.maybeInArrowParameters=!0,this.next();let o=this.startNodeAt(e);o.callee=t;let{maybeAsyncArrow:h,optionalChainMember:l}=s;h&&(this.expressionScope.enter(Wr()),n=new ue),l&&(o.optional=i),i?o.arguments=this.parseCallExpressionArguments(11):o.arguments=this.parseCallExpressionArguments(11,t.type==="Import",t.type!=="Super",o,n);let c=this.finishCallExpression(o,l);return h&&this.shouldParseAsyncArrow()&&!i?(s.stop=!0,this.checkDestructuringPrivate(n),this.expressionScope.validateAsPattern(),this.expressionScope.exit(),c=this.parseAsyncArrowFromCallExpression(this.startNodeAt(e),c)):(h&&(this.checkExpressionErrors(n,!0),this.expressionScope.exit()),this.toReferencedArguments(c)),this.state.maybeInArrowParameters=r,c}toReferencedArguments(t,e){this.toReferencedListDeep(t.arguments,e)}parseTaggedTemplateExpression(t,e,s){let i=this.startNodeAt(e);return i.tag=t,i.quasi=this.parseTemplate(!0),s.optionalChainMember&&this.raise(p.OptionalChainingNoTemplate,{at:e}),this.finishNode(i,"TaggedTemplateExpression")}atPossibleAsyncArrow(t){return t.type==="Identifier"&&t.name==="async"&&this.state.lastTokEndLoc.index===t.end&&!this.canInsertSemicolon()&&t.end-t.start===5&&t.start===this.state.potentialArrowAt}expectImportAttributesPlugin(){this.hasPlugin("importAssertions")||this.expectPlugin("importAttributes")}finishCallExpression(t,e){if(t.callee.type==="Import")if(t.arguments.length===2&&(this.hasPlugin("moduleAttributes")||this.expectImportAttributesPlugin()),t.arguments.length===0||t.arguments.length>2)this.raise(p.ImportCallArity,{at:t,maxArgumentCount:this.hasPlugin("importAttributes")||this.hasPlugin("importAssertions")||this.hasPlugin("moduleAttributes")?2:1});else for(let s of t.arguments)s.type==="SpreadElement"&&this.raise(p.ImportCallSpreadArgument,{at:s});return this.finishNode(t,e?"OptionalCallExpression":"CallExpression")}parseCallExpressionArguments(t,e,s,i,r){let n=[],o=!0,h=this.state.inFSharpPipelineDirectBody;for(this.state.inFSharpPipelineDirectBody=!1;!this.eat(t);){if(o)o=!1;else if(this.expect(12),this.match(t)){e&&!this.hasPlugin("importAttributes")&&!this.hasPlugin("importAssertions")&&!this.hasPlugin("moduleAttributes")&&this.raise(p.ImportCallArgumentTrailingComma,{at:this.state.lastTokStartLoc}),i&&this.addTrailingCommaExtraToNode(i),this.next();break}n.push(this.parseExprListItem(!1,r,s))}return this.state.inFSharpPipelineDirectBody=h,n}shouldParseAsyncArrow(){return this.match(19)&&!this.canInsertSemicolon()}parseAsyncArrowFromCallExpression(t,e){var s;return this.resetPreviousNodeTrailingComments(e),this.expect(19),this.parseArrowExpression(t,e.arguments,!0,(s=e.extra)==null?void 0:s.trailingCommaLoc),e.innerComments&&De(t,e.innerComments),e.callee.trailingComments&&De(t,e.callee.trailingComments),t}parseNoCallExpr(){let t=this.state.startLoc;return this.parseSubscripts(this.parseExprAtom(),t,!0)}parseExprAtom(t){let e,s=null,{type:i}=this.state;switch(i){case 79:return this.parseSuper();case 83:return e=this.startNode(),this.next(),this.match(16)?this.parseImportMetaProperty(e):(this.match(10)||this.raise(p.UnsupportedImport,{at:this.state.lastTokStartLoc}),this.finishNode(e,"Import"));case 78:return e=this.startNode(),this.next(),this.finishNode(e,"ThisExpression");case 90:return this.parseDo(this.startNode(),!1);case 56:case 31:return this.readRegexp(),this.parseRegExpLiteral(this.state.value);case 132:return this.parseNumericLiteral(this.state.value);case 133:return this.parseBigIntLiteral(this.state.value);case 134:return this.parseDecimalLiteral(this.state.value);case 131:return this.parseStringLiteral(this.state.value);case 84:return this.parseNullLiteral();case 85:return this.parseBooleanLiteral(!0);case 86:return this.parseBooleanLiteral(!1);case 10:{let r=this.state.potentialArrowAt===this.state.start;return this.parseParenAndDistinguishExpression(r)}case 2:case 1:return this.parseArrayLike(this.state.type===2?4:3,!1,!0);case 0:return this.parseArrayLike(3,!0,!1,t);case 6:case 7:return this.parseObjectLike(this.state.type===6?9:8,!1,!0);case 5:return this.parseObjectLike(8,!1,!1,t);case 68:return this.parseFunctionOrFunctionSent();case 26:s=this.parseDecorators();case 80:return this.parseClass(this.maybeTakeDecorators(s,this.startNode()),!1);case 77:return this.parseNewOrNewTarget();case 25:case 24:return this.parseTemplate(!1);case 15:{e=this.startNode(),this.next(),e.object=null;let r=e.callee=this.parseNoCallExpr();if(r.type==="MemberExpression")return this.finishNode(e,"BindExpression");throw this.raise(p.UnsupportedBind,{at:r})}case 136:return this.raise(p.PrivateInExpectedIn,{at:this.state.startLoc,identifierName:this.state.value}),this.parsePrivateName();case 33:return this.parseTopicReferenceThenEqualsSign(54,"%");case 32:return this.parseTopicReferenceThenEqualsSign(44,"^");case 37:case 38:return this.parseTopicReference("hack");case 44:case 54:case 27:{let r=this.getPluginOption("pipelineOperator","proposal");if(r)return this.parseTopicReference(r);this.unexpected();break}case 47:{let r=this.input.codePointAt(this.nextTokenStart());$(r)||r===62?this.expectOnePlugin(["jsx","flow","typescript"]):this.unexpected();break}default:if(S(i)){if(this.isContextual(125)&&this.lookaheadInLineCharCode()===123)return this.parseModuleExpression();let r=this.state.potentialArrowAt===this.state.start,n=this.state.containsEsc,o=this.parseIdentifier();if(!n&&o.name==="async"&&!this.canInsertSemicolon()){let{type:h}=this.state;if(h===68)return this.resetPreviousNodeTrailingComments(o),this.next(),this.parseAsyncFunctionExpression(this.startNodeAtNode(o));if(S(h))return this.lookaheadCharCode()===61?this.parseAsyncArrowUnaryFunction(this.startNodeAtNode(o)):o;if(h===90)return this.resetPreviousNodeTrailingComments(o),this.parseDo(this.startNodeAtNode(o),!0)}return r&&this.match(19)&&!this.canInsertSemicolon()?(this.next(),this.parseArrowExpression(this.startNodeAtNode(o),[o],!1)):o}else this.unexpected()}}parseTopicReferenceThenEqualsSign(t,e){let s=this.getPluginOption("pipelineOperator","proposal");if(s)return this.state.type=t,this.state.value=e,this.state.pos--,this.state.end--,this.state.endLoc=L(this.state.endLoc,-1),this.parseTopicReference(s);this.unexpected()}parseTopicReference(t){let e=this.startNode(),s=this.state.startLoc,i=this.state.type;return this.next(),this.finishTopicReference(e,s,t,i)}finishTopicReference(t,e,s,i){if(this.testTopicReferenceConfiguration(s,e,i)){let r=s==="smart"?"PipelinePrimaryTopicReference":"TopicReference";return this.topicReferenceIsAllowedInCurrentContext()||this.raise(s==="smart"?p.PrimaryTopicNotAllowed:p.PipeTopicUnbound,{at:e}),this.registerTopicReference(),this.finishNode(t,r)}else throw this.raise(p.PipeTopicUnconfiguredToken,{at:e,token:J(i)})}testTopicReferenceConfiguration(t,e,s){switch(t){case"hack":return this.hasPlugin(["pipelineOperator",{topicToken:J(s)}]);case"smart":return s===27;default:throw this.raise(p.PipeTopicRequiresHackPipes,{at:e})}}parseAsyncArrowUnaryFunction(t){this.prodParam.enter(qe(!0,this.prodParam.hasYield));let e=[this.parseIdentifier()];return this.prodParam.exit(),this.hasPrecedingLineBreak()&&this.raise(p.LineTerminatorBeforeArrow,{at:this.state.curPosition()}),this.expect(19),this.parseArrowExpression(t,e,!0)}parseDo(t,e){this.expectPlugin("doExpressions"),e&&this.expectPlugin("asyncDoExpressions"),t.async=e,this.next();let s=this.state.labels;return this.state.labels=[],e?(this.prodParam.enter(it),t.body=this.parseBlock(),this.prodParam.exit()):t.body=this.parseBlock(),this.state.labels=s,this.finishNode(t,"DoExpression")}parseSuper(){let t=this.startNode();return this.next(),this.match(10)&&!this.scope.allowDirectSuper&&!this.options.allowSuperOutsideMethod?this.raise(p.SuperNotAllowed,{at:t}):!this.scope.allowSuper&&!this.options.allowSuperOutsideMethod&&this.raise(p.UnexpectedSuper,{at:t}),!this.match(10)&&!this.match(0)&&!this.match(16)&&this.raise(p.UnsupportedSuper,{at:t}),this.finishNode(t,"Super")}parsePrivateName(){let t=this.startNode(),e=this.startNodeAt(L(this.state.startLoc,1)),s=this.state.value;return this.next(),t.id=this.createIdentifier(e,s),this.finishNode(t,"PrivateName")}parseFunctionOrFunctionSent(){let t=this.startNode();if(this.next(),this.prodParam.hasYield&&this.match(16)){let e=this.createIdentifier(this.startNodeAtNode(t),"function");return this.next(),this.match(102)?this.expectPlugin("functionSent"):this.hasPlugin("functionSent")||this.unexpected(),this.parseMetaProperty(t,e,"sent")}return this.parseFunction(t)}parseMetaProperty(t,e,s){t.meta=e;let i=this.state.containsEsc;return t.property=this.parseIdentifier(!0),(t.property.name!==s||i)&&this.raise(p.UnsupportedMetaProperty,{at:t.property,target:e.name,onlyValidPropertyName:s}),this.finishNode(t,"MetaProperty")}parseImportMetaProperty(t){let e=this.createIdentifier(this.startNodeAtNode(t),"import");return this.next(),this.isContextual(100)&&(this.inModule||this.raise(p.ImportMetaOutsideModule,{at:e}),this.sawUnambiguousESM=!0),this.parseMetaProperty(t,e,"meta")}parseLiteralAtNode(t,e,s){return this.addExtra(s,"rawValue",t),this.addExtra(s,"raw",this.input.slice(s.start,this.state.end)),s.value=t,this.next(),this.finishNode(s,e)}parseLiteral(t,e){let s=this.startNode();return this.parseLiteralAtNode(t,e,s)}parseStringLiteral(t){return this.parseLiteral(t,"StringLiteral")}parseNumericLiteral(t){return this.parseLiteral(t,"NumericLiteral")}parseBigIntLiteral(t){return this.parseLiteral(t,"BigIntLiteral")}parseDecimalLiteral(t){return this.parseLiteral(t,"DecimalLiteral")}parseRegExpLiteral(t){let e=this.parseLiteral(t.value,"RegExpLiteral");return e.pattern=t.pattern,e.flags=t.flags,e}parseBooleanLiteral(t){let e=this.startNode();return e.value=t,this.next(),this.finishNode(e,"BooleanLiteral")}parseNullLiteral(){let t=this.startNode();return this.next(),this.finishNode(t,"NullLiteral")}parseParenAndDistinguishExpression(t){let e=this.state.startLoc,s;this.next(),this.expressionScope.enter(Hr());let i=this.state.maybeInArrowParameters,r=this.state.inFSharpPipelineDirectBody;this.state.maybeInArrowParameters=!0,this.state.inFSharpPipelineDirectBody=!1;let n=this.state.startLoc,o=[],h=new ue,l=!0,c,u;for(;!this.match(11);){if(l)l=!1;else if(this.expect(12,h.optionalParametersLoc===null?null:h.optionalParametersLoc),this.match(11)){u=this.state.startLoc;break}if(this.match(21)){let x=this.state.startLoc;if(c=this.state.startLoc,o.push(this.parseParenItem(this.parseRestBinding(),x)),!this.checkCommaAfterRest(41))break}else o.push(this.parseMaybeAssignAllowIn(h,this.parseParenItem))}let d=this.state.lastTokEndLoc;this.expect(11),this.state.maybeInArrowParameters=i,this.state.inFSharpPipelineDirectBody=r;let f=this.startNodeAt(e);return t&&this.shouldParseArrow(o)&&(f=this.parseArrow(f))?(this.checkDestructuringPrivate(h),this.expressionScope.validateAsPattern(),this.expressionScope.exit(),this.parseArrowExpression(f,o,!1),f):(this.expressionScope.exit(),o.length||this.unexpected(this.state.lastTokStartLoc),u&&this.unexpected(u),c&&this.unexpected(c),this.checkExpressionErrors(h,!0),this.toReferencedListDeep(o,!0),o.length>1?(s=this.startNodeAt(n),s.expressions=o,this.finishNode(s,"SequenceExpression"),this.resetEndLocation(s,d)):s=o[0],this.wrapParenthesis(e,s))}wrapParenthesis(t,e){if(!this.options.createParenthesizedExpressions)return this.addExtra(e,"parenthesized",!0),this.addExtra(e,"parenStart",t.index),this.takeSurroundingComments(e,t.index,this.state.lastTokEndLoc.index),e;let s=this.startNodeAt(t);return s.expression=e,this.finishNode(s,"ParenthesizedExpression")}shouldParseArrow(t){return!this.canInsertSemicolon()}parseArrow(t){if(this.eat(19))return t}parseParenItem(t,e){return t}parseNewOrNewTarget(){let t=this.startNode();if(this.next(),this.match(16)){let e=this.createIdentifier(this.startNodeAtNode(t),"new");this.next();let s=this.parseMetaProperty(t,e,"target");return!this.scope.inNonArrowFunction&&!this.scope.inClass&&!this.options.allowNewTargetOutsideFunction&&this.raise(p.UnexpectedNewTarget,{at:s}),s}return this.parseNew(t)}parseNew(t){if(this.parseNewCallee(t),this.eat(10)){let e=this.parseExprList(11);this.toReferencedList(e),t.arguments=e}else t.arguments=[];return this.finishNode(t,"NewExpression")}parseNewCallee(t){t.callee=this.parseNoCallExpr(),t.callee.type==="Import"&&this.raise(p.ImportCallNotNewExpression,{at:t.callee})}parseTemplateElement(t){let{start:e,startLoc:s,end:i,value:r}=this.state,n=e+1,o=this.startNodeAt(L(s,1));r===null&&(t||this.raise(p.InvalidEscapeSequenceTemplate,{at:L(this.state.firstInvalidTemplateEscapePos,1)}));let h=this.match(24),l=h?-1:-2,c=i+l;o.value={raw:this.input.slice(n,c).replace(/\r\n?/g,` -`),cooked:r===null?null:r.slice(1,l)},o.tail=h,this.next();let u=this.finishNode(o,"TemplateElement");return this.resetEndLocation(u,L(this.state.lastTokEndLoc,l)),u}parseTemplate(t){let e=this.startNode();e.expressions=[];let s=this.parseTemplateElement(t);for(e.quasis=[s];!s.tail;)e.expressions.push(this.parseTemplateSubstitution()),this.readTemplateContinuation(),e.quasis.push(s=this.parseTemplateElement(t));return this.finishNode(e,"TemplateLiteral")}parseTemplateSubstitution(){return this.parseExpression()}parseObjectLike(t,e,s,i){s&&this.expectPlugin("recordAndTuple");let r=this.state.inFSharpPipelineDirectBody;this.state.inFSharpPipelineDirectBody=!1;let n=Object.create(null),o=!0,h=this.startNode();for(h.properties=[],this.next();!this.match(t);){if(o)o=!1;else if(this.expect(12),this.match(t)){this.addTrailingCommaExtraToNode(h);break}let c;e?c=this.parseBindingProperty():(c=this.parsePropertyDefinition(i),this.checkProto(c,s,n,i)),s&&!this.isObjectProperty(c)&&c.type!=="SpreadElement"&&this.raise(p.InvalidRecordProperty,{at:c}),c.shorthand&&this.addExtra(c,"shorthand",!0),h.properties.push(c)}this.next(),this.state.inFSharpPipelineDirectBody=r;let l="ObjectExpression";return e?l="ObjectPattern":s&&(l="RecordExpression"),this.finishNode(h,l)}addTrailingCommaExtraToNode(t){this.addExtra(t,"trailingComma",this.state.lastTokStart),this.addExtra(t,"trailingCommaLoc",this.state.lastTokStartLoc,!1)}maybeAsyncOrAccessorProp(t){return!t.computed&&t.key.type==="Identifier"&&(this.isLiteralPropertyName()||this.match(0)||this.match(55))}parsePropertyDefinition(t){let e=[];if(this.match(26))for(this.hasPlugin("decorators")&&this.raise(p.UnsupportedPropertyDecorator,{at:this.state.startLoc});this.match(26);)e.push(this.parseDecorator());let s=this.startNode(),i=!1,r=!1,n;if(this.match(21))return e.length&&this.unexpected(),this.parseSpread();e.length&&(s.decorators=e,e=[]),s.method=!1,t&&(n=this.state.startLoc);let o=this.eat(55);this.parsePropertyNamePrefixOperator(s);let h=this.state.containsEsc,l=this.parsePropertyName(s,t);if(!o&&!h&&this.maybeAsyncOrAccessorProp(s)){let c=l.name;c==="async"&&!this.hasPrecedingLineBreak()&&(i=!0,this.resetPreviousNodeTrailingComments(l),o=this.eat(55),this.parsePropertyName(s)),(c==="get"||c==="set")&&(r=!0,this.resetPreviousNodeTrailingComments(l),s.kind=c,this.match(55)&&(o=!0,this.raise(p.AccessorIsGenerator,{at:this.state.curPosition(),kind:c}),this.next()),this.parsePropertyName(s))}return this.parseObjPropValue(s,n,o,i,!1,r,t)}getGetterSetterExpectedParamCount(t){return t.kind==="get"?0:1}getObjectOrClassMethodParams(t){return t.params}checkGetterSetterParams(t){var e;let s=this.getGetterSetterExpectedParamCount(t),i=this.getObjectOrClassMethodParams(t);i.length!==s&&this.raise(t.kind==="get"?p.BadGetterArity:p.BadSetterArity,{at:t}),t.kind==="set"&&((e=i[i.length-1])==null?void 0:e.type)==="RestElement"&&this.raise(p.BadSetterRestParameter,{at:t})}parseObjectMethod(t,e,s,i,r){if(r){let n=this.parseMethod(t,e,!1,!1,!1,"ObjectMethod");return this.checkGetterSetterParams(n),n}if(s||e||this.match(10))return i&&this.unexpected(),t.kind="method",t.method=!0,this.parseMethod(t,e,s,!1,!1,"ObjectMethod")}parseObjectProperty(t,e,s,i){if(t.shorthand=!1,this.eat(14))return t.value=s?this.parseMaybeDefault(this.state.startLoc):this.parseMaybeAssignAllowIn(i),this.finishNode(t,"ObjectProperty");if(!t.computed&&t.key.type==="Identifier"){if(this.checkReservedWord(t.key.name,t.key.loc.start,!0,!1),s)t.value=this.parseMaybeDefault(e,K(t.key));else if(this.match(29)){let r=this.state.startLoc;i!=null?i.shorthandAssignLoc===null&&(i.shorthandAssignLoc=r):this.raise(p.InvalidCoverInitializedName,{at:r}),t.value=this.parseMaybeDefault(e,K(t.key))}else t.value=K(t.key);return t.shorthand=!0,this.finishNode(t,"ObjectProperty")}}parseObjPropValue(t,e,s,i,r,n,o){let h=this.parseObjectMethod(t,s,i,r,n)||this.parseObjectProperty(t,e,r,o);return h||this.unexpected(),h}parsePropertyName(t,e){if(this.eat(0))t.computed=!0,t.key=this.parseMaybeAssignAllowIn(),this.expect(3);else{let{type:s,value:i}=this.state,r;if(M(s))r=this.parseIdentifier(!0);else switch(s){case 132:r=this.parseNumericLiteral(i);break;case 131:r=this.parseStringLiteral(i);break;case 133:r=this.parseBigIntLiteral(i);break;case 134:r=this.parseDecimalLiteral(i);break;case 136:{let n=this.state.startLoc;e!=null?e.privateKeyLoc===null&&(e.privateKeyLoc=n):this.raise(p.UnexpectedPrivateField,{at:n}),r=this.parsePrivateName();break}default:this.unexpected()}t.key=r,s!==136&&(t.computed=!1)}return t.key}initFunction(t,e){t.id=null,t.generator=!1,t.async=e}parseMethod(t,e,s,i,r,n,o=!1){this.initFunction(t,s),t.generator=e,this.scope.enter(z|Xe|(o?ee:0)|(r?_s:0)),this.prodParam.enter(qe(s,t.generator)),this.parseFunctionParams(t,i);let h=this.parseFunctionBodyAndFinish(t,n,!0);return this.prodParam.exit(),this.scope.exit(),h}parseArrayLike(t,e,s,i){s&&this.expectPlugin("recordAndTuple");let r=this.state.inFSharpPipelineDirectBody;this.state.inFSharpPipelineDirectBody=!1;let n=this.startNode();return this.next(),n.elements=this.parseExprList(t,!s,i,n),this.state.inFSharpPipelineDirectBody=r,this.finishNode(n,s?"TupleExpression":"ArrayExpression")}parseArrowExpression(t,e,s,i){this.scope.enter(z|Qt);let r=qe(s,!1);!this.match(5)&&this.prodParam.hasIn&&(r|=re),this.prodParam.enter(r),this.initFunction(t,s);let n=this.state.maybeInArrowParameters;return e&&(this.state.maybeInArrowParameters=!0,this.setArrowFunctionParameters(t,e,i)),this.state.maybeInArrowParameters=!1,this.parseFunctionBody(t,!0),this.prodParam.exit(),this.scope.exit(),this.state.maybeInArrowParameters=n,this.finishNode(t,"ArrowFunctionExpression")}setArrowFunctionParameters(t,e,s){this.toAssignableList(e,s,!1),t.params=e}parseFunctionBodyAndFinish(t,e,s=!1){return this.parseFunctionBody(t,!1,s),this.finishNode(t,e)}parseFunctionBody(t,e,s=!1){let i=e&&!this.match(5);if(this.expressionScope.enter(Xs()),i)t.body=this.parseMaybeAssign(),this.checkParams(t,!1,e,!1);else{let r=this.state.strict,n=this.state.labels;this.state.labels=[],this.prodParam.enter(this.prodParam.currentFlags()|Ys),t.body=this.parseBlock(!0,!1,o=>{let h=!this.isSimpleParamList(t.params);o&&h&&this.raise(p.IllegalLanguageModeDirective,{at:(t.kind==="method"||t.kind==="constructor")&&t.key?t.key.loc.end:t});let l=!r&&this.state.strict;this.checkParams(t,!this.state.strict&&!e&&!s&&!h,e,l),this.state.strict&&t.id&&this.checkIdentifier(t.id,Nr,l)}),this.prodParam.exit(),this.state.labels=n}this.expressionScope.exit()}isSimpleParameter(t){return t.type==="Identifier"}isSimpleParamList(t){for(let e=0,s=t.length;e10||!Er(t))return;if(s&&br(t)){this.raise(p.UnexpectedKeyword,{at:e,keyword:t});return}if((this.state.strict?i?Bs:Ms:Ds)(t,this.inModule)){this.raise(p.UnexpectedReservedWord,{at:e,reservedWord:t});return}else if(t==="yield"){if(this.prodParam.hasYield){this.raise(p.YieldBindingIdentifier,{at:e});return}}else if(t==="await"){if(this.prodParam.hasAwait){this.raise(p.AwaitBindingIdentifier,{at:e});return}if(this.scope.inStaticBlock){this.raise(p.AwaitBindingIdentifierInStaticBlock,{at:e});return}this.expressionScope.recordAsyncArrowParametersError({at:e})}else if(t==="arguments"&&this.scope.inClassAndNotInNonArrowFunction){this.raise(p.ArgumentsInClass,{at:e});return}}isAwaitAllowed(){return!!(this.prodParam.hasAwait||this.options.allowAwaitOutsideFunction&&!this.scope.inFunction)}parseAwait(t){let e=this.startNodeAt(t);return this.expressionScope.recordParameterInitializerError(p.AwaitExpressionFormalParameter,{at:e}),this.eat(55)&&this.raise(p.ObsoleteAwaitStar,{at:e}),!this.scope.inFunction&&!this.options.allowAwaitOutsideFunction&&(this.isAmbiguousAwait()?this.ambiguousScriptDifferentAst=!0:this.sawUnambiguousESM=!0),this.state.soloAwait||(e.argument=this.parseMaybeUnary(null,!0)),this.finishNode(e,"AwaitExpression")}isAmbiguousAwait(){if(this.hasPrecedingLineBreak())return!0;let{type:t}=this.state;return t===53||t===10||t===0||Je(t)||t===101&&!this.state.containsEsc||t===135||t===56||this.hasPlugin("v8intrinsic")&&t===54}parseYield(){let t=this.startNode();this.expressionScope.recordParameterInitializerError(p.YieldInParameter,{at:t}),this.next();let e=!1,s=null;if(!this.hasPrecedingLineBreak())switch(e=this.eat(55),this.state.type){case 13:case 137:case 8:case 11:case 3:case 9:case 14:case 12:if(!e)break;default:s=this.parseMaybeAssign()}return t.delegate=e,t.argument=s,this.finishNode(t,"YieldExpression")}checkPipelineAtInfixOperator(t,e){this.hasPlugin(["pipelineOperator",{proposal:"smart"}])&&t.type==="SequenceExpression"&&this.raise(p.PipelineHeadSequenceExpression,{at:e})}parseSmartPipelineBodyInStyle(t,e){if(this.isSimpleReference(t)){let s=this.startNodeAt(e);return s.callee=t,this.finishNode(s,"PipelineBareFunction")}else{let s=this.startNodeAt(e);return this.checkSmartPipeTopicBodyEarlyErrors(e),s.expression=t,this.finishNode(s,"PipelineTopicExpression")}}isSimpleReference(t){switch(t.type){case"MemberExpression":return!t.computed&&this.isSimpleReference(t.object);case"Identifier":return!0;default:return!1}}checkSmartPipeTopicBodyEarlyErrors(t){if(this.match(19))throw this.raise(p.PipelineBodyNoArrow,{at:this.state.startLoc});this.topicReferenceWasUsedInCurrentContext()||this.raise(p.PipelineTopicUnused,{at:t})}withTopicBindingContext(t){let e=this.state.topicContext;this.state.topicContext={maxNumOfResolvableTopics:1,maxTopicIndex:null};try{return t()}finally{this.state.topicContext=e}}withSmartMixTopicForbiddingContext(t){if(this.hasPlugin(["pipelineOperator",{proposal:"smart"}])){let e=this.state.topicContext;this.state.topicContext={maxNumOfResolvableTopics:0,maxTopicIndex:null};try{return t()}finally{this.state.topicContext=e}}else return t()}withSoloAwaitPermittingContext(t){let e=this.state.soloAwait;this.state.soloAwait=!0;try{return t()}finally{this.state.soloAwait=e}}allowInAnd(t){let e=this.prodParam.currentFlags();if(re&~e){this.prodParam.enter(e|re);try{return t()}finally{this.prodParam.exit()}}return t()}disallowInAnd(t){let e=this.prodParam.currentFlags();if(re&e){this.prodParam.enter(e&~re);try{return t()}finally{this.prodParam.exit()}}return t()}registerTopicReference(){this.state.topicContext.maxTopicIndex=0}topicReferenceIsAllowedInCurrentContext(){return this.state.topicContext.maxNumOfResolvableTopics>=1}topicReferenceWasUsedInCurrentContext(){return this.state.topicContext.maxTopicIndex!=null&&this.state.topicContext.maxTopicIndex>=0}parseFSharpPipelineBody(t){let e=this.state.startLoc;this.state.potentialArrowAt=this.state.start;let s=this.state.inFSharpPipelineDirectBody;this.state.inFSharpPipelineDirectBody=!0;let i=this.parseExprOp(this.parseMaybeUnaryOrPrivate(),e,t);return this.state.inFSharpPipelineDirectBody=s,i}parseModuleExpression(){this.expectPlugin("moduleBlocks");let t=this.startNode();this.next(),this.match(5)||this.unexpected(null,5);let e=this.startNodeAt(this.state.endLoc);this.next();let s=this.initializeScopes(!0);this.enterInitialScopes();try{t.body=this.parseProgram(e,8,"module")}finally{s()}return this.finishNode(t,"ModuleExpression")}parsePropertyNamePrefixOperator(t){}},yt={kind:"loop"},xa={kind:"switch"},Pa=/[\uD800-\uDFFF]/u,xt=/in(?:stanceof)?/y;function Ta(a,t){for(let e=0;e0)for(let[r,n]of Array.from(this.scope.undefinedExports))this.raise(p.ModuleExportUndefined,{at:n,localName:r});let i;return e===137?i=this.finishNode(t,"Program"):i=this.finishNodeAt(t,"Program",L(this.state.startLoc,-1)),i}stmtToDirective(t){let e=t;e.type="Directive",e.value=e.expression,delete e.expression;let s=e.value,i=s.value,r=this.input.slice(s.start,s.end),n=s.value=r.slice(1,-1);return this.addExtra(s,"raw",r),this.addExtra(s,"rawValue",n),this.addExtra(s,"expressionValue",i),s.type="DirectiveLiteral",e}parseInterpreterDirective(){if(!this.match(28))return null;let t=this.startNode();return t.value=this.state.value,this.next(),this.finishNode(t,"InterpreterDirective")}isLet(){return this.isContextual(99)?this.hasFollowingBindingAtom():!1}chStartsBindingIdentifier(t,e){if($(t)){if(xt.lastIndex=e,xt.test(this.input)){let s=this.codePointAtPos(xt.lastIndex);if(!he(s)&&s!==92)return!1}return!0}else return t===92}chStartsBindingPattern(t){return t===91||t===123}hasFollowingBindingAtom(){let t=this.nextTokenStart(),e=this.codePointAtPos(t);return this.chStartsBindingPattern(e)||this.chStartsBindingIdentifier(e,t)}hasInLineFollowingBindingIdentifier(){let t=this.nextTokenInLineStart(),e=this.codePointAtPos(t);return this.chStartsBindingIdentifier(e,t)}startsUsingForOf(){let{type:t,containsEsc:e}=this.lookahead();if(t===101&&!e)return!1;if(S(t)&&!this.hasFollowingLineBreak())return this.expectPlugin("explicitResourceManagement"),!0}startsAwaitUsing(){let t=this.nextTokenInLineStart();if(this.isUnparsedContextual(t,"using")){t=this.nextTokenInLineStartSince(t+5);let e=this.codePointAtPos(t);if(this.chStartsBindingIdentifier(e,t))return this.expectPlugin("explicitResourceManagement"),!0}return!1}parseModuleItem(){return this.parseStatementLike(15)}parseStatementListItem(){return this.parseStatementLike(6|(!this.options.annexB||this.state.strict?0:8))}parseStatementOrSloppyAnnexBFunctionDeclaration(t=!1){let e=0;return this.options.annexB&&!this.state.strict&&(e|=4,t&&(e|=8)),this.parseStatementLike(e)}parseStatement(){return this.parseStatementLike(0)}parseStatementLike(t){let e=null;return this.match(26)&&(e=this.parseDecorators(!0)),this.parseStatementContent(t,e)}parseStatementContent(t,e){let s=this.state.type,i=this.startNode(),r=!!(t&2),n=!!(t&4),o=t&1;switch(s){case 60:return this.parseBreakContinueStatement(i,!0);case 63:return this.parseBreakContinueStatement(i,!1);case 64:return this.parseDebuggerStatement(i);case 90:return this.parseDoWhileStatement(i);case 91:return this.parseForStatement(i);case 68:if(this.lookaheadCharCode()===46)break;return n||this.raise(this.state.strict?p.StrictFunction:this.options.annexB?p.SloppyFunctionAnnexB:p.SloppyFunction,{at:this.state.startLoc}),this.parseFunctionStatement(i,!1,!r&&n);case 80:return r||this.unexpected(),this.parseClass(this.maybeTakeDecorators(e,i),!0);case 69:return this.parseIfStatement(i);case 70:return this.parseReturnStatement(i);case 71:return this.parseSwitchStatement(i);case 72:return this.parseThrowStatement(i);case 73:return this.parseTryStatement(i);case 96:if(!this.state.containsEsc&&this.startsAwaitUsing())return this.isAwaitAllowed()?r||this.raise(p.UnexpectedLexicalDeclaration,{at:i}):this.raise(p.AwaitUsingNotInAsyncContext,{at:i}),this.next(),this.parseVarStatement(i,"await using");break;case 105:if(this.state.containsEsc||!this.hasInLineFollowingBindingIdentifier())break;return this.expectPlugin("explicitResourceManagement"),!this.scope.inModule&&this.scope.inTopLevel?this.raise(p.UnexpectedUsingDeclaration,{at:this.state.startLoc}):r||this.raise(p.UnexpectedLexicalDeclaration,{at:this.state.startLoc}),this.parseVarStatement(i,"using");case 99:{if(this.state.containsEsc)break;let c=this.nextTokenStart(),u=this.codePointAtPos(c);if(u!==91&&(!r&&this.hasFollowingLineBreak()||!this.chStartsBindingIdentifier(u,c)&&u!==123))break}case 75:r||this.raise(p.UnexpectedLexicalDeclaration,{at:this.state.startLoc});case 74:{let c=this.state.value;return this.parseVarStatement(i,c)}case 92:return this.parseWhileStatement(i);case 76:return this.parseWithStatement(i);case 5:return this.parseBlock();case 13:return this.parseEmptyStatement(i);case 83:{let c=this.lookaheadCharCode();if(c===40||c===46)break}case 82:{!this.options.allowImportExportEverywhere&&!o&&this.raise(p.UnexpectedImportExport,{at:this.state.startLoc}),this.next();let c;return s===83?(c=this.parseImport(i),c.type==="ImportDeclaration"&&(!c.importKind||c.importKind==="value")&&(this.sawUnambiguousESM=!0)):(c=this.parseExport(i,e),(c.type==="ExportNamedDeclaration"&&(!c.exportKind||c.exportKind==="value")||c.type==="ExportAllDeclaration"&&(!c.exportKind||c.exportKind==="value")||c.type==="ExportDefaultDeclaration")&&(this.sawUnambiguousESM=!0)),this.assertModuleNodeAllowed(c),c}default:if(this.isAsyncFunction())return r||this.raise(p.AsyncFunctionInSingleStatementContext,{at:this.state.startLoc}),this.next(),this.parseFunctionStatement(i,!0,!r&&n)}let h=this.state.value,l=this.parseExpression();return S(s)&&l.type==="Identifier"&&this.eat(14)?this.parseLabeledStatement(i,h,l,t):this.parseExpressionStatement(i,l,e)}assertModuleNodeAllowed(t){!this.options.allowImportExportEverywhere&&!this.inModule&&this.raise(p.ImportOutsideModule,{at:t})}decoratorsEnabledBeforeExport(){return this.hasPlugin("decorators-legacy")?!0:this.hasPlugin("decorators")&&this.getPluginOption("decorators","decoratorsBeforeExport")!==!1}maybeTakeDecorators(t,e,s){return t&&(e.decorators&&e.decorators.length>0?(typeof this.getPluginOption("decorators","decoratorsBeforeExport")!="boolean"&&this.raise(p.DecoratorsBeforeAfterExport,{at:e.decorators[0]}),e.decorators.unshift(...t)):e.decorators=t,this.resetStartLocationFromNode(e,t[0]),s&&this.resetStartLocationFromNode(s,e)),e}canHaveLeadingDecorator(){return this.match(80)}parseDecorators(t){let e=[];do e.push(this.parseDecorator());while(this.match(26));if(this.match(82))t||this.unexpected(),this.decoratorsEnabledBeforeExport()||this.raise(p.DecoratorExportClass,{at:this.state.startLoc});else if(!this.canHaveLeadingDecorator())throw this.raise(p.UnexpectedLeadingDecorator,{at:this.state.startLoc});return e}parseDecorator(){this.expectOnePlugin(["decorators","decorators-legacy"]);let t=this.startNode();if(this.next(),this.hasPlugin("decorators")){let e=this.state.startLoc,s;if(this.match(10)){let i=this.state.startLoc;this.next(),s=this.parseExpression(),this.expect(11),s=this.wrapParenthesis(i,s);let r=this.state.startLoc;t.expression=this.parseMaybeDecoratorArguments(s),this.getPluginOption("decorators","allowCallParenthesized")===!1&&t.expression!==s&&this.raise(p.DecoratorArgumentsOutsideParentheses,{at:r})}else{for(s=this.parseIdentifier(!1);this.eat(16);){let i=this.startNodeAt(e);i.object=s,this.match(136)?(this.classScope.usePrivateName(this.state.value,this.state.startLoc),i.property=this.parsePrivateName()):i.property=this.parseIdentifier(!0),i.computed=!1,s=this.finishNode(i,"MemberExpression")}t.expression=this.parseMaybeDecoratorArguments(s)}}else t.expression=this.parseExprSubscripts();return this.finishNode(t,"Decorator")}parseMaybeDecoratorArguments(t){if(this.eat(10)){let e=this.startNodeAtNode(t);return e.callee=t,e.arguments=this.parseCallExpressionArguments(11,!1),this.toReferencedList(e.arguments),this.finishNode(e,"CallExpression")}return t}parseBreakContinueStatement(t,e){return this.next(),this.isLineTerminator()?t.label=null:(t.label=this.parseIdentifier(),this.semicolon()),this.verifyBreakContinue(t,e),this.finishNode(t,e?"BreakStatement":"ContinueStatement")}verifyBreakContinue(t,e){let s;for(s=0;sthis.parseStatement()),this.state.labels.pop(),this.expect(92),t.test=this.parseHeaderExpression(),this.eat(13),this.finishNode(t,"DoWhileStatement")}parseForStatement(t){this.next(),this.state.labels.push(yt);let e=null;if(this.isAwaitAllowed()&&this.eatContextual(96)&&(e=this.state.lastTokStartLoc),this.scope.enter(ae),this.expect(10),this.match(13))return e!==null&&this.unexpected(e),this.parseFor(t,null);let s=this.isContextual(99);{let h=this.isContextual(96)&&this.startsAwaitUsing(),l=h||this.isContextual(105)&&this.startsUsingForOf(),c=s&&this.hasFollowingBindingAtom()||l;if(this.match(74)||this.match(75)||c){let u=this.startNode(),d;h?(d="await using",this.isAwaitAllowed()||this.raise(p.AwaitUsingNotInAsyncContext,{at:this.state.startLoc}),this.next()):d=this.state.value,this.next(),this.parseVar(u,!0,d);let f=this.finishNode(u,"VariableDeclaration"),x=this.match(58);return x&&l&&this.raise(p.ForInUsing,{at:f}),(x||this.isContextual(101))&&f.declarations.length===1?this.parseForIn(t,f,e):(e!==null&&this.unexpected(e),this.parseFor(t,f))}}let i=this.isContextual(95),r=new ue,n=this.parseExpression(!0,r),o=this.isContextual(101);if(o&&(s&&this.raise(p.ForOfLet,{at:n}),e===null&&i&&n.type==="Identifier"&&this.raise(p.ForOfAsync,{at:n})),o||this.match(58)){this.checkDestructuringPrivate(r),this.toAssignable(n,!0);let h=o?"ForOfStatement":"ForInStatement";return this.checkLVal(n,{in:{type:h}}),this.parseForIn(t,n,e)}else this.checkExpressionErrors(r,!0);return e!==null&&this.unexpected(e),this.parseFor(t,n)}parseFunctionStatement(t,e,s){return this.next(),this.parseFunction(t,1|(s?2:0)|(e?8:0))}parseIfStatement(t){return this.next(),t.test=this.parseHeaderExpression(),t.consequent=this.parseStatementOrSloppyAnnexBFunctionDeclaration(),t.alternate=this.eat(66)?this.parseStatementOrSloppyAnnexBFunctionDeclaration():null,this.finishNode(t,"IfStatement")}parseReturnStatement(t){return!this.prodParam.hasReturn&&!this.options.allowReturnOutsideFunction&&this.raise(p.IllegalReturn,{at:this.state.startLoc}),this.next(),this.isLineTerminator()?t.argument=null:(t.argument=this.parseExpression(),this.semicolon()),this.finishNode(t,"ReturnStatement")}parseSwitchStatement(t){this.next(),t.discriminant=this.parseHeaderExpression();let e=t.cases=[];this.expect(5),this.state.labels.push(xa),this.scope.enter(ae);let s;for(let i;!this.match(8);)if(this.match(61)||this.match(65)){let r=this.match(61);s&&this.finishNode(s,"SwitchCase"),e.push(s=this.startNode()),s.consequent=[],this.next(),r?s.test=this.parseExpression():(i&&this.raise(p.MultipleDefaultsInSwitch,{at:this.state.lastTokStartLoc}),i=!0,s.test=null),this.expect(14)}else s?s.consequent.push(this.parseStatementListItem()):this.unexpected();return this.scope.exit(),s&&this.finishNode(s,"SwitchCase"),this.next(),this.state.labels.pop(),this.finishNode(t,"SwitchStatement")}parseThrowStatement(t){return this.next(),this.hasPrecedingLineBreak()&&this.raise(p.NewlineAfterThrow,{at:this.state.lastTokEndLoc}),t.argument=this.parseExpression(),this.semicolon(),this.finishNode(t,"ThrowStatement")}parseCatchClauseParam(){let t=this.parseBindingAtom();return this.scope.enter(this.options.annexB&&t.type==="Identifier"?Fs:0),this.checkLVal(t,{in:{type:"CatchClause"},binding:Cr}),t}parseTryStatement(t){if(this.next(),t.block=this.parseBlock(),t.handler=null,this.match(62)){let e=this.startNode();this.next(),this.match(10)?(this.expect(10),e.param=this.parseCatchClauseParam(),this.expect(11)):(e.param=null,this.scope.enter(ae)),e.body=this.withSmartMixTopicForbiddingContext(()=>this.parseBlock(!1,!1)),this.scope.exit(),t.handler=this.finishNode(e,"CatchClause")}return t.finalizer=this.eat(67)?this.parseBlock():null,!t.handler&&!t.finalizer&&this.raise(p.NoCatchOrFinally,{at:t}),this.finishNode(t,"TryStatement")}parseVarStatement(t,e,s=!1){return this.next(),this.parseVar(t,!1,e,s),this.semicolon(),this.finishNode(t,"VariableDeclaration")}parseWhileStatement(t){return this.next(),t.test=this.parseHeaderExpression(),this.state.labels.push(yt),t.body=this.withSmartMixTopicForbiddingContext(()=>this.parseStatement()),this.state.labels.pop(),this.finishNode(t,"WhileStatement")}parseWithStatement(t){return this.state.strict&&this.raise(p.StrictWith,{at:this.state.startLoc}),this.next(),t.object=this.parseHeaderExpression(),t.body=this.withSmartMixTopicForbiddingContext(()=>this.parseStatement()),this.finishNode(t,"WithStatement")}parseEmptyStatement(t){return this.next(),this.finishNode(t,"EmptyStatement")}parseLabeledStatement(t,e,s,i){for(let n of this.state.labels)n.name===e&&this.raise(p.LabelRedeclaration,{at:s,labelName:e});let r=hr(this.state.type)?"loop":this.match(71)?"switch":null;for(let n=this.state.labels.length-1;n>=0;n--){let o=this.state.labels[n];if(o.statementStart===t.start)o.statementStart=this.state.start,o.kind=r;else break}return this.state.labels.push({name:e,kind:r,statementStart:this.state.start}),t.body=i&8?this.parseStatementOrSloppyAnnexBFunctionDeclaration(!0):this.parseStatement(),this.state.labels.pop(),t.label=s,this.finishNode(t,"LabeledStatement")}parseExpressionStatement(t,e,s){return t.expression=e,this.semicolon(),this.finishNode(t,"ExpressionStatement")}parseBlock(t=!1,e=!0,s){let i=this.startNode();return t&&this.state.strictErrors.clear(),this.expect(5),e&&this.scope.enter(ae),this.parseBlockBody(i,t,!1,8,s),e&&this.scope.exit(),this.finishNode(i,"BlockStatement")}isValidDirective(t){return t.type==="ExpressionStatement"&&t.expression.type==="StringLiteral"&&!t.expression.extra.parenthesized}parseBlockBody(t,e,s,i,r){let n=t.body=[],o=t.directives=[];this.parseBlockOrModuleBlockBody(n,e?o:void 0,s,i,r)}parseBlockOrModuleBlockBody(t,e,s,i,r){let n=this.state.strict,o=!1,h=!1;for(;!this.match(i);){let l=s?this.parseModuleItem():this.parseStatementListItem();if(e&&!h){if(this.isValidDirective(l)){let c=this.stmtToDirective(l);e.push(c),!o&&c.value.value==="use strict"&&(o=!0,this.setStrict(!0));continue}h=!0,this.state.strictErrors.clear()}t.push(l)}r&&r.call(this,o),n||this.setStrict(!1),this.next()}parseFor(t,e){return t.init=e,this.semicolon(!1),t.test=this.match(13)?null:this.parseExpression(),this.semicolon(!1),t.update=this.match(11)?null:this.parseExpression(),this.expect(11),t.body=this.withSmartMixTopicForbiddingContext(()=>this.parseStatement()),this.scope.exit(),this.state.labels.pop(),this.finishNode(t,"ForStatement")}parseForIn(t,e,s){let i=this.match(58);return this.next(),i?s!==null&&this.unexpected(s):t.await=s!==null,e.type==="VariableDeclaration"&&e.declarations[0].init!=null&&(!i||!this.options.annexB||this.state.strict||e.kind!=="var"||e.declarations[0].id.type!=="Identifier")&&this.raise(p.ForInOfLoopInitializer,{at:e,type:i?"ForInStatement":"ForOfStatement"}),e.type==="AssignmentPattern"&&this.raise(p.InvalidLhs,{at:e,ancestor:{type:"ForStatement"}}),t.left=e,t.right=i?this.parseExpression():this.parseMaybeAssignAllowIn(),this.expect(11),t.body=this.withSmartMixTopicForbiddingContext(()=>this.parseStatement()),this.scope.exit(),this.state.labels.pop(),this.finishNode(t,i?"ForInStatement":"ForOfStatement")}parseVar(t,e,s,i=!1){let r=t.declarations=[];for(t.kind=s;;){let n=this.startNode();if(this.parseVarId(n,s),n.init=this.eat(29)?e?this.parseMaybeAssignDisallowIn():this.parseMaybeAssignAllowIn():null,n.init===null&&!i&&(n.id.type!=="Identifier"&&!(e&&(this.match(58)||this.isContextual(101)))?this.raise(p.DeclarationMissingInitializer,{at:this.state.lastTokEndLoc,kind:"destructuring"}):s==="const"&&!(this.match(58)||this.isContextual(101))&&this.raise(p.DeclarationMissingInitializer,{at:this.state.lastTokEndLoc,kind:"const"})),r.push(this.finishNode(n,"VariableDeclarator")),!this.eat(12))break}return t}parseVarId(t,e){let s=this.parseBindingAtom();this.checkLVal(s,{in:{type:"VariableDeclarator"},binding:e==="var"?Qe:ce}),t.id=s}parseAsyncFunctionExpression(t){return this.parseFunction(t,8)}parseFunction(t,e=0){let s=e&2,i=!!(e&1),r=i&&!(e&4),n=!!(e&8);this.initFunction(t,n),this.match(55)&&(s&&this.raise(p.GeneratorInSingleStatementContext,{at:this.state.startLoc}),this.next(),t.generator=!0),i&&(t.id=this.parseFunctionId(r));let o=this.state.maybeInArrowParameters;return this.state.maybeInArrowParameters=!1,this.scope.enter(z),this.prodParam.enter(qe(n,t.generator)),i||(t.id=this.parseFunctionId()),this.parseFunctionParams(t,!1),this.withSmartMixTopicForbiddingContext(()=>{this.parseFunctionBodyAndFinish(t,i?"FunctionDeclaration":"FunctionExpression")}),this.prodParam.exit(),this.scope.exit(),i&&!s&&this.registerFunctionStatementId(t),this.state.maybeInArrowParameters=o,t}parseFunctionId(t){return t||S(this.state.type)?this.parseIdentifier():null}parseFunctionParams(t,e){this.expect(10),this.expressionScope.enter(qr()),t.params=this.parseBindingList(11,41,2|(e?4:0)),this.expressionScope.exit()}registerFunctionStatementId(t){t.id&&this.scope.declareName(t.id.name,!this.options.annexB||this.state.strict||t.generator||t.async?this.scope.treatFunctionsAsVar?Qe:ce:$s,t.id.loc.start)}parseClass(t,e,s){this.next();let i=this.state.strict;return this.state.strict=!0,this.parseClassId(t,e,s),this.parseClassSuper(t),t.body=this.parseClassBody(!!t.superClass,i),this.finishNode(t,e?"ClassDeclaration":"ClassExpression")}isClassProperty(){return this.match(29)||this.match(13)||this.match(8)}isClassMethod(){return this.match(10)}isNonstaticConstructor(t){return!t.computed&&!t.static&&(t.key.name==="constructor"||t.key.value==="constructor")}parseClassBody(t,e){this.classScope.enter();let s={hadConstructor:!1,hadSuperClass:t},i=[],r=this.startNode();if(r.body=[],this.expect(5),this.withSmartMixTopicForbiddingContext(()=>{for(;!this.match(8);){if(this.eat(13)){if(i.length>0)throw this.raise(p.DecoratorSemicolon,{at:this.state.lastTokEndLoc});continue}if(this.match(26)){i.push(this.parseDecorator());continue}let n=this.startNode();i.length&&(n.decorators=i,this.resetStartLocationFromNode(n,i[0]),i=[]),this.parseClassMember(r,n,s),n.kind==="constructor"&&n.decorators&&n.decorators.length>0&&this.raise(p.DecoratorConstructor,{at:n})}}),this.state.strict=e,this.next(),i.length)throw this.raise(p.TrailingDecorator,{at:this.state.startLoc});return this.classScope.exit(),this.finishNode(r,"ClassBody")}parseClassMemberFromModifier(t,e){let s=this.parseIdentifier(!0);if(this.isClassMethod()){let i=e;return i.kind="method",i.computed=!1,i.key=s,i.static=!1,this.pushClassMethod(t,i,!1,!1,!1,!1),!0}else if(this.isClassProperty()){let i=e;return i.computed=!1,i.key=s,i.static=!1,t.body.push(this.parseClassProperty(i)),!0}return this.resetPreviousNodeTrailingComments(s),!1}parseClassMember(t,e,s){let i=this.isContextual(104);if(i){if(this.parseClassMemberFromModifier(t,e))return;if(this.eat(5)){this.parseClassStaticBlock(t,e);return}}this.parseClassMemberWithIsStatic(t,e,s,i)}parseClassMemberWithIsStatic(t,e,s,i){let r=e,n=e,o=e,h=e,l=e,c=r,u=r;if(e.static=i,this.parsePropertyNamePrefixOperator(e),this.eat(55)){c.kind="method";let C=this.match(136);if(this.parseClassElementName(c),C){this.pushClassPrivateMethod(t,n,!0,!1);return}this.isNonstaticConstructor(r)&&this.raise(p.ConstructorIsGenerator,{at:r.key}),this.pushClassMethod(t,r,!0,!1,!1,!1);return}let d=S(this.state.type)&&!this.state.containsEsc,f=this.match(136),x=this.parseClassElementName(e),I=this.state.startLoc;if(this.parsePostMemberNameModifiers(u),this.isClassMethod()){if(c.kind="method",f){this.pushClassPrivateMethod(t,n,!1,!1);return}let C=this.isNonstaticConstructor(r),w=!1;C&&(r.kind="constructor",s.hadConstructor&&!this.hasPlugin("typescript")&&this.raise(p.DuplicateConstructor,{at:x}),C&&this.hasPlugin("typescript")&&e.override&&this.raise(p.OverrideOnConstructor,{at:x}),s.hadConstructor=!0,w=s.hadSuperClass),this.pushClassMethod(t,r,!1,!1,C,w)}else if(this.isClassProperty())f?this.pushClassPrivateProperty(t,h):this.pushClassProperty(t,o);else if(d&&x.name==="async"&&!this.isLineTerminator()){this.resetPreviousNodeTrailingComments(x);let C=this.eat(55);u.optional&&this.unexpected(I),c.kind="method";let w=this.match(136);this.parseClassElementName(c),this.parsePostMemberNameModifiers(u),w?this.pushClassPrivateMethod(t,n,C,!0):(this.isNonstaticConstructor(r)&&this.raise(p.ConstructorIsAsync,{at:r.key}),this.pushClassMethod(t,r,C,!0,!1,!1))}else if(d&&(x.name==="get"||x.name==="set")&&!(this.match(55)&&this.isLineTerminator())){this.resetPreviousNodeTrailingComments(x),c.kind=x.name;let C=this.match(136);this.parseClassElementName(r),C?this.pushClassPrivateMethod(t,n,!1,!1):(this.isNonstaticConstructor(r)&&this.raise(p.ConstructorIsAccessor,{at:r.key}),this.pushClassMethod(t,r,!1,!1,!1,!1)),this.checkGetterSetterParams(r)}else if(d&&x.name==="accessor"&&!this.isLineTerminator()){this.expectPlugin("decoratorAutoAccessors"),this.resetPreviousNodeTrailingComments(x);let C=this.match(136);this.parseClassElementName(o),this.pushClassAccessorProperty(t,l,C)}else this.isLineTerminator()?f?this.pushClassPrivateProperty(t,h):this.pushClassProperty(t,o):this.unexpected()}parseClassElementName(t){let{type:e,value:s}=this.state;if((e===130||e===131)&&t.static&&s==="prototype"&&this.raise(p.StaticPrototype,{at:this.state.startLoc}),e===136){s==="constructor"&&this.raise(p.ConstructorClassPrivateField,{at:this.state.startLoc});let i=this.parsePrivateName();return t.key=i,i}return this.parsePropertyName(t)}parseClassStaticBlock(t,e){var s;this.scope.enter(ee|Ge|Xe);let i=this.state.labels;this.state.labels=[],this.prodParam.enter(pe);let r=e.body=[];this.parseBlockOrModuleBlockBody(r,void 0,!1,8),this.prodParam.exit(),this.scope.exit(),this.state.labels=i,t.body.push(this.finishNode(e,"StaticBlock")),(s=e.decorators)!=null&&s.length&&this.raise(p.DecoratorStaticBlock,{at:e})}pushClassProperty(t,e){!e.computed&&(e.key.name==="constructor"||e.key.value==="constructor")&&this.raise(p.ConstructorClassField,{at:e.key}),t.body.push(this.parseClassProperty(e))}pushClassPrivateProperty(t,e){let s=this.parseClassPrivateProperty(e);t.body.push(s),this.classScope.declarePrivateName(this.getPrivateNameSV(s.key),dt,s.key.loc.start)}pushClassAccessorProperty(t,e,s){if(!s&&!e.computed){let r=e.key;(r.name==="constructor"||r.value==="constructor")&&this.raise(p.ConstructorClassField,{at:r})}let i=this.parseClassAccessorProperty(e);t.body.push(i),s&&this.classScope.declarePrivateName(this.getPrivateNameSV(i.key),dt,i.key.loc.start)}pushClassMethod(t,e,s,i,r,n){t.body.push(this.parseMethod(e,s,i,r,n,"ClassMethod",!0))}pushClassPrivateMethod(t,e,s,i){let r=this.parseMethod(e,s,i,!1,!1,"ClassPrivateMethod",!0);t.body.push(r);let n=r.kind==="get"?r.static?Dr:Or:r.kind==="set"?r.static?Mr:Br:dt;this.declareClassPrivateMethodInScope(r,n)}declareClassPrivateMethodInScope(t,e){this.classScope.declarePrivateName(this.getPrivateNameSV(t.key),e,t.key.loc.start)}parsePostMemberNameModifiers(t){}parseClassPrivateProperty(t){return this.parseInitializer(t),this.semicolon(),this.finishNode(t,"ClassPrivateProperty")}parseClassProperty(t){return this.parseInitializer(t),this.semicolon(),this.finishNode(t,"ClassProperty")}parseClassAccessorProperty(t){return this.parseInitializer(t),this.semicolon(),this.finishNode(t,"ClassAccessorProperty")}parseInitializer(t){this.scope.enter(ee|Xe),this.expressionScope.enter(Xs()),this.prodParam.enter(pe),t.value=this.eat(29)?this.parseMaybeAssignAllowIn():null,this.expressionScope.exit(),this.prodParam.exit(),this.scope.exit()}parseClassId(t,e,s,i=js){if(S(this.state.type))t.id=this.parseIdentifier(),e&&this.declareNameFromIdentifier(t.id,i);else if(s||!e)t.id=null;else throw this.raise(p.MissingClassName,{at:this.state.startLoc})}parseClassSuper(t){t.superClass=this.eat(81)?this.parseExprSubscripts():null}parseExport(t,e){let s=this.parseMaybeImportPhase(t,!0),i=this.maybeParseExportDefaultSpecifier(t,s),r=!i||this.eat(12),n=r&&this.eatExportStar(t),o=n&&this.maybeParseExportNamespaceSpecifier(t),h=r&&(!o||this.eat(12)),l=i||n;if(n&&!o){if(i&&this.unexpected(),e)throw this.raise(p.UnsupportedDecoratorExport,{at:t});return this.parseExportFrom(t,!0),this.finishNode(t,"ExportAllDeclaration")}let c=this.maybeParseExportNamedSpecifiers(t);i&&r&&!n&&!c&&this.unexpected(null,5),o&&h&&this.unexpected(null,97);let u;if(l||c){if(u=!1,e)throw this.raise(p.UnsupportedDecoratorExport,{at:t});this.parseExportFrom(t,l)}else u=this.maybeParseExportDeclaration(t);if(l||c||u){var d;let f=t;if(this.checkExport(f,!0,!1,!!f.source),((d=f.declaration)==null?void 0:d.type)==="ClassDeclaration")this.maybeTakeDecorators(e,f.declaration,f);else if(e)throw this.raise(p.UnsupportedDecoratorExport,{at:t});return this.finishNode(f,"ExportNamedDeclaration")}if(this.eat(65)){let f=t,x=this.parseExportDefaultExpression();if(f.declaration=x,x.type==="ClassDeclaration")this.maybeTakeDecorators(e,x,f);else if(e)throw this.raise(p.UnsupportedDecoratorExport,{at:t});return this.checkExport(f,!0,!0),this.finishNode(f,"ExportDefaultDeclaration")}this.unexpected(null,5)}eatExportStar(t){return this.eat(55)}maybeParseExportDefaultSpecifier(t,e){if(e||this.isExportDefaultSpecifier()){this.expectPlugin("exportDefaultFrom",e==null?void 0:e.loc.start);let s=e||this.parseIdentifier(!0),i=this.startNodeAtNode(s);return i.exported=s,t.specifiers=[this.finishNode(i,"ExportDefaultSpecifier")],!0}return!1}maybeParseExportNamespaceSpecifier(t){if(this.isContextual(93)){t.specifiers||(t.specifiers=[]);let e=this.startNodeAt(this.state.lastTokStartLoc);return this.next(),e.exported=this.parseModuleExportName(),t.specifiers.push(this.finishNode(e,"ExportNamespaceSpecifier")),!0}return!1}maybeParseExportNamedSpecifiers(t){if(this.match(5)){t.specifiers||(t.specifiers=[]);let e=t.exportKind==="type";return t.specifiers.push(...this.parseExportSpecifiers(e)),t.source=null,t.declaration=null,this.hasPlugin("importAssertions")&&(t.assertions=[]),!0}return!1}maybeParseExportDeclaration(t){return this.shouldParseExportDeclaration()?(t.specifiers=[],t.source=null,this.hasPlugin("importAssertions")&&(t.assertions=[]),t.declaration=this.parseExportDeclaration(t),!0):!1}isAsyncFunction(){if(!this.isContextual(95))return!1;let t=this.nextTokenInLineStart();return this.isUnparsedContextual(t,"function")}parseExportDefaultExpression(){let t=this.startNode();if(this.match(68))return this.next(),this.parseFunction(t,5);if(this.isAsyncFunction())return this.next(),this.next(),this.parseFunction(t,13);if(this.match(80))return this.parseClass(t,!0,!0);if(this.match(26))return this.hasPlugin("decorators")&&this.getPluginOption("decorators","decoratorsBeforeExport")===!0&&this.raise(p.DecoratorBeforeExport,{at:this.state.startLoc}),this.parseClass(this.maybeTakeDecorators(this.parseDecorators(!1),this.startNode()),!0,!0);if(this.match(75)||this.match(74)||this.isLet())throw this.raise(p.UnsupportedDefaultExport,{at:this.state.startLoc});let e=this.parseMaybeAssignAllowIn();return this.semicolon(),e}parseExportDeclaration(t){return this.match(80)?this.parseClass(this.startNode(),!0,!1):this.parseStatementListItem()}isExportDefaultSpecifier(){let{type:t}=this.state;if(S(t)){if(t===95&&!this.state.containsEsc||t===99)return!1;if((t===128||t===127)&&!this.state.containsEsc){let{type:i}=this.lookahead();if(S(i)&&i!==97||i===5)return this.expectOnePlugin(["flow","typescript"]),!1}}else if(!this.match(65))return!1;let e=this.nextTokenStart(),s=this.isUnparsedContextual(e,"from");if(this.input.charCodeAt(e)===44||S(this.state.type)&&s)return!0;if(this.match(65)&&s){let i=this.input.charCodeAt(this.nextTokenStartSince(e+4));return i===34||i===39}return!1}parseExportFrom(t,e){this.eatContextual(97)?(t.source=this.parseImportSource(),this.checkExport(t),this.maybeParseImportAttributes(t),this.checkJSONModuleImport(t)):e&&this.unexpected(),this.semicolon()}shouldParseExportDeclaration(){let{type:t}=this.state;return t===26&&(this.expectOnePlugin(["decorators","decorators-legacy"]),this.hasPlugin("decorators"))?(this.getPluginOption("decorators","decoratorsBeforeExport")===!0&&this.raise(p.DecoratorBeforeExport,{at:this.state.startLoc}),!0):t===74||t===75||t===68||t===80||this.isLet()||this.isAsyncFunction()}checkExport(t,e,s,i){if(e){if(s){if(this.checkDuplicateExports(t,"default"),this.hasPlugin("exportDefaultFrom")){var r;let n=t.declaration;n.type==="Identifier"&&n.name==="from"&&n.end-n.start===4&&!((r=n.extra)!=null&&r.parenthesized)&&this.raise(p.ExportDefaultFromAsIdentifier,{at:n})}}else if(t.specifiers&&t.specifiers.length)for(let n of t.specifiers){let{exported:o}=n,h=o.type==="Identifier"?o.name:o.value;if(this.checkDuplicateExports(n,h),!i&&n.local){let{local:l}=n;l.type!=="Identifier"?this.raise(p.ExportBindingIsString,{at:n,localName:l.value,exportName:h}):(this.checkReservedWord(l.name,l.loc.start,!0,!1),this.scope.checkLocalExport(l))}}else if(t.declaration){if(t.declaration.type==="FunctionDeclaration"||t.declaration.type==="ClassDeclaration"){let n=t.declaration.id;if(!n)throw new Error("Assertion failure");this.checkDuplicateExports(t,n.name)}else if(t.declaration.type==="VariableDeclaration")for(let n of t.declaration.declarations)this.checkDeclaration(n.id)}}}checkDeclaration(t){if(t.type==="Identifier")this.checkDuplicateExports(t,t.name);else if(t.type==="ObjectPattern")for(let e of t.properties)this.checkDeclaration(e);else if(t.type==="ArrayPattern")for(let e of t.elements)e&&this.checkDeclaration(e);else t.type==="ObjectProperty"?this.checkDeclaration(t.value):t.type==="RestElement"?this.checkDeclaration(t.argument):t.type==="AssignmentPattern"&&this.checkDeclaration(t.left)}checkDuplicateExports(t,e){this.exportedIdentifiers.has(e)&&(e==="default"?this.raise(p.DuplicateDefaultExport,{at:t}):this.raise(p.DuplicateExport,{at:t,exportName:e})),this.exportedIdentifiers.add(e)}parseExportSpecifiers(t){let e=[],s=!0;for(this.expect(5);!this.eat(8);){if(s)s=!1;else if(this.expect(12),this.eat(8))break;let i=this.isContextual(128),r=this.match(131),n=this.startNode();n.local=this.parseModuleExportName(),e.push(this.parseExportSpecifier(n,r,t,i))}return e}parseExportSpecifier(t,e,s,i){return this.eatContextual(93)?t.exported=this.parseModuleExportName():e?t.exported=Xr(t.local):t.exported||(t.exported=K(t.local)),this.finishNode(t,"ExportSpecifier")}parseModuleExportName(){if(this.match(131)){let t=this.parseStringLiteral(this.state.value),e=t.value.match(Pa);return e&&this.raise(p.ModuleExportNameHasLoneSurrogate,{at:t,surrogateCharCode:e[0].charCodeAt(0)}),t}return this.parseIdentifier(!0)}isJSONModuleImport(t){return t.assertions!=null?t.assertions.some(({key:e,value:s})=>s.value==="json"&&(e.type==="Identifier"?e.name==="type":e.value==="type")):!1}checkImportReflection(t){if(t.module){var e;(t.specifiers.length!==1||t.specifiers[0].type!=="ImportDefaultSpecifier")&&this.raise(p.ImportReflectionNotBinding,{at:t.specifiers[0].loc.start}),((e=t.assertions)==null?void 0:e.length)>0&&this.raise(p.ImportReflectionHasAssertion,{at:t.specifiers[0].loc.start})}}checkJSONModuleImport(t){if(this.isJSONModuleImport(t)&&t.type!=="ExportAllDeclaration"){let{specifiers:e}=t;if(e!=null){let s=e.find(i=>{let r;if(i.type==="ExportSpecifier"?r=i.local:i.type==="ImportSpecifier"&&(r=i.imported),r!==void 0)return r.type==="Identifier"?r.name!=="default":r.value!=="default"});s!==void 0&&this.raise(p.ImportJSONBindingNotDefault,{at:s.loc.start})}}}isPotentialImportPhase(t){return!t&&this.isContextual(125)}applyImportPhase(t,e,s,i){e||(s==="module"?(this.expectPlugin("importReflection",i),t.module=!0):this.hasPlugin("importReflection")&&(t.module=!1))}parseMaybeImportPhase(t,e){if(!this.isPotentialImportPhase(e))return this.applyImportPhase(t,e,null),null;let s=this.parseIdentifier(!0),{type:i}=this.state;return(M(i)?i!==97||this.lookaheadCharCode()===102:i!==12)?(this.resetPreviousIdentifierLeadingComments(s),this.applyImportPhase(t,e,s.name,s.loc.start),null):(this.applyImportPhase(t,e,null),s)}isPrecedingIdImportPhase(t){let{type:e}=this.state;return S(e)?e!==97||this.lookaheadCharCode()===102:e!==12}parseImport(t){return this.match(131)?this.parseImportSourceAndAttributes(t):this.parseImportSpecifiersAndAfter(t,this.parseMaybeImportPhase(t,!1))}parseImportSpecifiersAndAfter(t,e){t.specifiers=[];let i=!this.maybeParseDefaultImportSpecifier(t,e)||this.eat(12),r=i&&this.maybeParseStarImportSpecifier(t);return i&&!r&&this.parseNamedImportSpecifiers(t),this.expectContextual(97),this.parseImportSourceAndAttributes(t)}parseImportSourceAndAttributes(t){var e;return(e=t.specifiers)!=null||(t.specifiers=[]),t.source=this.parseImportSource(),this.maybeParseImportAttributes(t),this.checkImportReflection(t),this.checkJSONModuleImport(t),this.semicolon(),this.finishNode(t,"ImportDeclaration")}parseImportSource(){return this.match(131)||this.unexpected(),this.parseExprAtom()}parseImportSpecifierLocal(t,e,s){e.local=this.parseIdentifier(),t.specifiers.push(this.finishImportSpecifier(e,s))}finishImportSpecifier(t,e,s=ce){return this.checkLVal(t.local,{in:{type:e},binding:s}),this.finishNode(t,e)}parseImportAttributes(){this.expect(5);let t=[],e=new Set;do{if(this.match(8))break;let s=this.startNode(),i=this.state.value;if(e.has(i)&&this.raise(p.ModuleAttributesWithDuplicateKeys,{at:this.state.startLoc,key:i}),e.add(i),this.match(131)?s.key=this.parseStringLiteral(i):s.key=this.parseIdentifier(!0),this.expect(14),!this.match(131))throw this.raise(p.ModuleAttributeInvalidValue,{at:this.state.startLoc});s.value=this.parseStringLiteral(this.state.value),t.push(this.finishNode(s,"ImportAttribute"))}while(this.eat(12));return this.expect(8),t}parseModuleAttributes(){let t=[],e=new Set;do{let s=this.startNode();if(s.key=this.parseIdentifier(!0),s.key.name!=="type"&&this.raise(p.ModuleAttributeDifferentFromType,{at:s.key}),e.has(s.key.name)&&this.raise(p.ModuleAttributesWithDuplicateKeys,{at:s.key,key:s.key.name}),e.add(s.key.name),this.expect(14),!this.match(131))throw this.raise(p.ModuleAttributeInvalidValue,{at:this.state.startLoc});s.value=this.parseStringLiteral(this.state.value),t.push(this.finishNode(s,"ImportAttribute"))}while(this.eat(12));return t}maybeParseImportAttributes(t){let e,s=!1;if(this.match(76)){if(this.hasPrecedingLineBreak()&&this.lookaheadCharCode()===40)return;this.next(),this.hasPlugin("moduleAttributes")?e=this.parseModuleAttributes():(this.expectImportAttributesPlugin(),e=this.parseImportAttributes()),s=!0}else if(this.isContextual(94)&&!this.hasPrecedingLineBreak())this.hasPlugin("importAttributes")?(this.getPluginOption("importAttributes","deprecatedAssertSyntax")!==!0&&this.raise(p.ImportAttributesUseAssert,{at:this.state.startLoc}),this.addExtra(t,"deprecatedAssertSyntax",!0)):this.expectOnePlugin(["importAttributes","importAssertions"]),this.next(),e=this.parseImportAttributes();else if(this.hasPlugin("importAttributes")||this.hasPlugin("importAssertions"))e=[];else if(this.hasPlugin("moduleAttributes"))e=[];else return;!s&&this.hasPlugin("importAssertions")?t.assertions=e:t.attributes=e}maybeParseDefaultImportSpecifier(t,e){if(e){let s=this.startNodeAtNode(e);return s.local=e,t.specifiers.push(this.finishImportSpecifier(s,"ImportDefaultSpecifier")),!0}else if(M(this.state.type))return this.parseImportSpecifierLocal(t,this.startNode(),"ImportDefaultSpecifier"),!0;return!1}maybeParseStarImportSpecifier(t){if(this.match(55)){let e=this.startNode();return this.next(),this.expectContextual(93),this.parseImportSpecifierLocal(t,e,"ImportNamespaceSpecifier"),!0}return!1}parseNamedImportSpecifiers(t){let e=!0;for(this.expect(5);!this.eat(8);){if(e)e=!1;else{if(this.eat(14))throw this.raise(p.DestructureNamedImport,{at:this.state.startLoc});if(this.expect(12),this.eat(8))break}let s=this.startNode(),i=this.match(131),r=this.isContextual(128);s.imported=this.parseModuleExportName();let n=this.parseImportSpecifier(s,i,t.importKind==="type"||t.importKind==="typeof",r,void 0);t.specifiers.push(n)}}parseImportSpecifier(t,e,s,i,r){if(this.eatContextual(93))t.local=this.parseIdentifier();else{let{imported:n}=t;if(e)throw this.raise(p.ImportBindingIsString,{at:t,importName:n.value});this.checkReservedWord(n.name,t.loc.start,!0,!0),t.local||(t.local=K(n))}return this.finishImportSpecifier(t,"ImportSpecifier",r)}isThisParam(t){return t.type==="Identifier"&&t.name==="this"}},tt=class extends Vt{constructor(t,e){t=ya(t),super(t,e),this.options=t,this.initializeScopes(),this.plugins=ga(this.options.plugins),this.filename=t.sourceFilename}getScopeHandler(){return Le}parse(){this.enterInitialScopes();let t=this.startNode(),e=this.startNode();return this.nextToken(),t.errors=null,this.parseTopLevel(t,e),t.errors=this.state.errors,t}};function ga(a){let t=new Map;for(let e of a){let[s,i]=Array.isArray(e)?e:[e,{}];t.has(s)||t.set(s,i||{})}return t}function ba(a,t){var e;if(((e=t)==null?void 0:e.sourceType)==="unambiguous"){t=Object.assign({},t);try{t.sourceType="module";let s=we(t,a),i=s.parse();if(s.sawUnambiguousESM)return i;if(s.ambiguousScriptDifferentAst)try{return t.sourceType="script",we(t,a).parse()}catch{}else i.program.sourceType="script";return i}catch(s){try{return t.sourceType="script",we(t,a).parse()}catch{}throw s}}else return we(t,a).parse()}function Aa(a,t){let e=we(t,a);return e.options.strictMode&&(e.state.strict=!0),e.getExpression()}function Sa(a){let t={};for(let e of Object.keys(a))t[e]=U(a[e]);return t}var Ea=Sa(rr);function we(a,t){let e=tt;return a!=null&&a.plugins&&(da(a.plugins),e=Ca(a.plugins)),new e(a,t)}var Ns={};function Ca(a){let t=ma.filter(i=>k(a,i)),e=t.join("/"),s=Ns[e];if(!s){s=tt;for(let i of t)s=ti[i](s);Ns[e]=s}return s}Me.parse=ba;Me.parseExpression=Aa;Me.tokTypes=Ea});var mi=ps(ie=>{"use strict";Object.defineProperty(ie,"__esModule",{value:!0});ie.extract=_a;ie.parse=Ua;ie.parseWithComments=di;ie.print=ja;ie.strip=Ra;var Da=/\*\/$/,Ma=/^\/\*\*?/,ui=/^\s*(\/\*\*?(.|\r?\n)*?\*\/)/,Oa=/(^|\s+)\/\/([^\r\n]*)/g,li=/^(\r?\n)+/,Ba=/(?:^|\r?\n) *(@[^\r\n]*?) *\r?\n *(?![^@\r\n]*\/\/[^]*)([^@\r\n\s][^@\r\n]+?) *\r?\n/g,ci=/(?:^|\r?\n) *@(\S+) *([^\r\n]*)/g,Fa=/(\r?\n|^) *\* ?/g,fi=[];function _a(a){let t=a.match(ui);return t?t[0].trimLeft():""}function Ra(a){let t=a.match(ui);return t&&t[0]?a.substring(t[0].length):a}function Ua(a){return di(a).pragmas}function di(a){let t=` -`;a=a.replace(Ma,"").replace(Da,"").replace(Fa,"$1");let e="";for(;e!==a;)e=a,a=a.replace(Ba,`${t}$1 $2${t}`);a=a.replace(li,"").trimRight();let s=Object.create(null),i=a.replace(ci,"").replace(li,"").trimRight(),r;for(;r=ci.exec(a);){let n=r[2].replace(Oa,"");typeof s[r[1]]=="string"||Array.isArray(s[r[1]])?s[r[1]]=fi.concat(s[r[1]],n):s[r[1]]=n}return{comments:i,pragmas:s}}function ja({comments:a="",pragmas:t={}}){let e=` -`,s="/**",i=" *",r=" */",n=Object.keys(t),o=n.map(l=>pi(l,t[l])).reduce((l,c)=>l.concat(c),[]).map(l=>`${i} ${l}${e}`).join("");if(!a){if(n.length===0)return"";if(n.length===1&&!Array.isArray(t[n[0]])){let l=t[n[0]];return`${s} ${pi(n[0],l)[0]}${r}`}}let h=a.split(e).map(l=>`${i} ${l}`).join(e)+e;return s+e+(a?h:"")+(a&&n.length?i+e:"")+o+r}function pi(a,t){return fi.concat(t).map(e=>`@${a} ${e}`.trim())}});var cs={};zi(cs,{parsers:()=>dn});var lt=pt(rs(),1);function wa(a){let t=[];for(let e of a)try{return e()}catch(s){t.push(s)}throw Object.assign(new Error("All combinations failed"),{errors:t})}var si=wa;function Ia(a){if(!a.startsWith("#!"))return"";let t=a.indexOf(` -`);return t===-1?a:a.slice(0,t)}var rt=Ia;function Na(a,t){if(t===!1)return!1;if(a.charAt(t)==="/"&&a.charAt(t+1)==="*"){for(let e=t+2;e=this.length)throw this.raise(p.UnterminatedString,this.state.startLoc);let r=this.input.charCodeAt(this.state.pos);if(r===e)break;r===38?(s+=this.input.slice(i,this.state.pos),s+=this.jsxReadEntity(),i=this.state.pos):fe(r)?(s+=this.input.slice(i,this.state.pos),s+=this.jsxReadNewLine(!1),i=this.state.pos):++this.state.pos}s+=this.input.slice(i,this.state.pos++),this.finishToken(133,s)}jsxReadEntity(){let e=++this.state.pos;if(this.codePointAtPos(this.state.pos)===35){++this.state.pos;let s=10;this.codePointAtPos(this.state.pos)===120&&(s=16,++this.state.pos);let i=this.readInt(s,void 0,!1,"bail");if(i!==null&&this.codePointAtPos(this.state.pos)===59)return++this.state.pos,String.fromCodePoint(i)}else{let s=0,i=!1;for(;s++<10&&this.state.pos1){for(let i=0;i0){if(s&256){let r=!!(s&512),n=(i&4)>0;return r!==n}return!0}return s&128&&(i&8)>0?t.names.get(e)&2?!!(s&1):!1:s&2&&(i&1)>0?!0:super.isRedeclaredInScope(t,e,s)}checkLocalExport(t){let{name:e}=t;if(this.hasImport(e))return;let s=this.scopeStack.length;for(let i=s-1;i>=0;i--){let n=this.scopeStack[i].tsNames.get(e);if((n&1)>0||(n&16)>0)return}super.checkLocalExport(t)}},Ki=(a,t)=>hasOwnProperty.call(a,t)&&a[t],as=a=>a.type==="ParenthesizedExpression"?as(a.expression):a,lt=class extends nt{toAssignable(t,e=!1){var s,i;let r;switch((t.type==="ParenthesizedExpression"||(s=t.extra)!=null&&s.parenthesized)&&(r=as(t),e?r.type==="Identifier"?this.expressionScope.recordArrowParameterBindingError(p.InvalidParenthesizedAssignment,t):r.type!=="MemberExpression"&&!this.isOptionalMemberExpression(r)&&this.raise(p.InvalidParenthesizedAssignment,t):this.raise(p.InvalidParenthesizedAssignment,t)),t.type){case"Identifier":case"ObjectPattern":case"ArrayPattern":case"AssignmentPattern":case"RestElement":break;case"ObjectExpression":t.type="ObjectPattern";for(let o=0,h=t.properties.length,c=h-1;oi.type!=="ObjectMethod"&&(r===s||i.type!=="SpreadElement")&&this.isAssignable(i))}case"ObjectProperty":return this.isAssignable(t.value);case"SpreadElement":return this.isAssignable(t.argument);case"ArrayExpression":return t.elements.every(s=>s===null||this.isAssignable(s));case"AssignmentExpression":return t.operator==="=";case"ParenthesizedExpression":return this.isAssignable(t.expression);case"MemberExpression":case"OptionalMemberExpression":return!e;default:return!1}}toReferencedList(t,e){return t}toReferencedListDeep(t,e){this.toReferencedList(t,e);for(let s of t)(s==null?void 0:s.type)==="ArrayExpression"&&this.toReferencedListDeep(s.elements)}parseSpread(t){let e=this.startNode();return this.next(),e.argument=this.parseMaybeAssignAllowIn(t,void 0),this.finishNode(e,"SpreadElement")}parseRestBinding(){let t=this.startNode();return this.next(),t.argument=this.parseBindingAtom(),this.finishNode(t,"RestElement")}parseBindingAtom(){switch(this.state.type){case 0:{let t=this.startNode();return this.next(),t.elements=this.parseBindingList(3,93,1),this.finishNode(t,"ArrayPattern")}case 5:return this.parseObjectLike(8,!0)}return this.parseIdentifier()}parseBindingList(t,e,s){let i=s&1,r=[],n=!0;for(;!this.eat(t);)if(n?n=!1:this.expect(12),i&&this.match(12))r.push(null);else{if(this.eat(t))break;if(this.match(21)){if(r.push(this.parseAssignableListItemTypes(this.parseRestBinding(),s)),!this.checkCommaAfterRest(e)){this.expect(t);break}}else{let o=[];for(this.match(26)&&this.hasPlugin("decorators")&&this.raise(p.UnsupportedParameterDecorator,this.state.startLoc);this.match(26);)o.push(this.parseDecorator());r.push(this.parseAssignableListItem(s,o))}}return r}parseBindingRestProperty(t){return this.next(),t.argument=this.parseIdentifier(),this.checkCommaAfterRest(125),this.finishNode(t,"RestElement")}parseBindingProperty(){let{type:t,startLoc:e}=this.state;if(t===21)return this.parseBindingRestProperty(this.startNode());let s=this.startNode();return t===138?(this.expectPlugin("destructuringPrivate",e),this.classScope.usePrivateName(this.state.value,e),s.key=this.parsePrivateName()):this.parsePropertyName(s),s.method=!1,this.parseObjPropValue(s,e,!1,!1,!0,!1)}parseAssignableListItem(t,e){let s=this.parseMaybeDefault();this.parseAssignableListItemTypes(s,t);let i=this.parseMaybeDefault(s.loc.start,s);return e.length&&(s.decorators=e),i}parseAssignableListItemTypes(t,e){return t}parseMaybeDefault(t,e){var s,i;if((s=t)!=null||(t=this.state.startLoc),e=(i=e)!=null?i:this.parseBindingAtom(),!this.eat(29))return e;let r=this.startNodeAt(t);return r.left=e,r.right=this.parseMaybeAssignAllowIn(),this.finishNode(r,"AssignmentPattern")}isValidLVal(t,e,s){return Ki({AssignmentPattern:"left",RestElement:"argument",ObjectProperty:"value",ParenthesizedExpression:"expression",ArrayPattern:"elements",ObjectPattern:"properties"},t)}isOptionalMemberExpression(t){return t.type==="OptionalMemberExpression"}checkLVal(t,{in:e,binding:s=64,checkClashes:i=!1,strictModeChanged:r=!1,hasParenthesizedAncestor:n=!1}){var o;let h=t.type;if(this.isObjectMethod(t))return;let c=this.isOptionalMemberExpression(t);if(c||h==="MemberExpression"){c&&(this.expectPlugin("optionalChainingAssign",t.loc.start),e.type!=="AssignmentExpression"&&this.raise(p.InvalidLhsOptionalChaining,t,{ancestor:e})),s!==64&&this.raise(p.InvalidPropertyBindingPattern,t);return}if(h==="Identifier"){this.checkIdentifier(t,s,r);let{name:y}=t;i&&(i.has(y)?this.raise(p.ParamDupe,t):i.add(y));return}let l=this.isValidLVal(h,!(n||(o=t.extra)!=null&&o.parenthesized)&&e.type==="AssignmentExpression",s);if(l===!0)return;if(l===!1){let y=s===64?p.InvalidLhs:p.InvalidLhsBinding;this.raise(y,t,{ancestor:e});return}let[u,f]=Array.isArray(l)?l:[l,h==="ParenthesizedExpression"],d=h==="ArrayPattern"||h==="ObjectPattern"?{type:h}:e;for(let y of[].concat(t[u]))y&&this.checkLVal(y,{in:d,binding:s,checkClashes:i,strictModeChanged:r,hasParenthesizedAncestor:f})}checkIdentifier(t,e,s=!1){this.state.strict&&(s?Zt(t.name,this.inModule):Qt(t.name))&&(e===64?this.raise(p.StrictEvalArguments,t,{referenceName:t.name}):this.raise(p.StrictEvalArgumentsBinding,t,{bindingName:t.name})),e&8192&&t.name==="let"&&this.raise(p.LetInLexicalBinding,t),e&64||this.declareNameFromIdentifier(t,e)}declareNameFromIdentifier(t,e){this.scope.declareName(t.name,e,t.loc.start)}checkToRestConversion(t,e){switch(t.type){case"ParenthesizedExpression":this.checkToRestConversion(t.expression,e);break;case"Identifier":case"MemberExpression":break;case"ArrayExpression":case"ObjectExpression":if(e)break;default:this.raise(p.InvalidRestAssignmentPattern,t)}}checkCommaAfterRest(t){return this.match(12)?(this.raise(this.lookaheadCharCode()===t?p.RestTrailingComma:p.ElementAfterRest,this.state.startLoc),!0):!1}},Hi=(a,t)=>hasOwnProperty.call(a,t)&&a[t];function Wi(a){if(a==null)throw new Error(`Unexpected ${a} value.`);return a}function jt(a){if(!a)throw new Error("Assert fail")}var x=j`typescript`({AbstractMethodHasImplementation:({methodName:a})=>`Method '${a}' cannot have an implementation because it is marked abstract.`,AbstractPropertyHasInitializer:({propertyName:a})=>`Property '${a}' cannot have an initializer because it is marked abstract.`,AccesorCannotDeclareThisParameter:"'get' and 'set' accessors cannot declare 'this' parameters.",AccesorCannotHaveTypeParameters:"An accessor cannot have type parameters.",AccessorCannotBeOptional:"An 'accessor' property cannot be declared optional.",ClassMethodHasDeclare:"Class methods cannot have the 'declare' modifier.",ClassMethodHasReadonly:"Class methods cannot have the 'readonly' modifier.",ConstInitiailizerMustBeStringOrNumericLiteralOrLiteralEnumReference:"A 'const' initializer in an ambient context must be a string or numeric literal or literal enum reference.",ConstructorHasTypeParameters:"Type parameters cannot appear on a constructor declaration.",DeclareAccessor:({kind:a})=>`'declare' is not allowed in ${a}ters.`,DeclareClassFieldHasInitializer:"Initializers are not allowed in ambient contexts.",DeclareFunctionHasImplementation:"An implementation cannot be declared in ambient contexts.",DuplicateAccessibilityModifier:({modifier:a})=>"Accessibility modifier already seen.",DuplicateModifier:({modifier:a})=>`Duplicate modifier: '${a}'.`,EmptyHeritageClauseType:({token:a})=>`'${a}' list cannot be empty.`,EmptyTypeArguments:"Type argument list cannot be empty.",EmptyTypeParameters:"Type parameter list cannot be empty.",ExpectedAmbientAfterExportDeclare:"'export declare' must be followed by an ambient declaration.",ImportAliasHasImportType:"An import alias can not use 'import type'.",ImportReflectionHasImportType:"An `import module` declaration can not use `type` modifier",IncompatibleModifiers:({modifiers:a})=>`'${a[0]}' modifier cannot be used with '${a[1]}' modifier.`,IndexSignatureHasAbstract:"Index signatures cannot have the 'abstract' modifier.",IndexSignatureHasAccessibility:({modifier:a})=>`Index signatures cannot have an accessibility modifier ('${a}').`,IndexSignatureHasDeclare:"Index signatures cannot have the 'declare' modifier.",IndexSignatureHasOverride:"'override' modifier cannot appear on an index signature.",IndexSignatureHasStatic:"Index signatures cannot have the 'static' modifier.",InitializerNotAllowedInAmbientContext:"Initializers are not allowed in ambient contexts.",InvalidModifierOnTypeMember:({modifier:a})=>`'${a}' modifier cannot appear on a type member.`,InvalidModifierOnTypeParameter:({modifier:a})=>`'${a}' modifier cannot appear on a type parameter.`,InvalidModifierOnTypeParameterPositions:({modifier:a})=>`'${a}' modifier can only appear on a type parameter of a class, interface or type alias.`,InvalidModifiersOrder:({orderedModifiers:a})=>`'${a[0]}' modifier must precede '${a[1]}' modifier.`,InvalidPropertyAccessAfterInstantiationExpression:"Invalid property access after an instantiation expression. You can either wrap the instantiation expression in parentheses, or delete the type arguments.",InvalidTupleMemberLabel:"Tuple members must be labeled with a simple identifier.",MissingInterfaceName:"'interface' declarations must be followed by an identifier.",NonAbstractClassHasAbstractMethod:"Abstract methods can only appear within an abstract class.",NonClassMethodPropertyHasAbstractModifer:"'abstract' modifier can only appear on a class, method, or property declaration.",OptionalTypeBeforeRequired:"A required element cannot follow an optional element.",OverrideNotInSubClass:"This member cannot have an 'override' modifier because its containing class does not extend another class.",PatternIsOptional:"A binding pattern parameter cannot be optional in an implementation signature.",PrivateElementHasAbstract:"Private elements cannot have the 'abstract' modifier.",PrivateElementHasAccessibility:({modifier:a})=>`Private elements cannot have an accessibility modifier ('${a}').`,ReadonlyForMethodSignature:"'readonly' modifier can only appear on a property declaration or index signature.",ReservedArrowTypeParam:"This syntax is reserved in files with the .mts or .cts extension. Add a trailing comma, as in `() => ...`.",ReservedTypeAssertion:"This syntax is reserved in files with the .mts or .cts extension. Use an `as` expression instead.",SetAccesorCannotHaveOptionalParameter:"A 'set' accessor cannot have an optional parameter.",SetAccesorCannotHaveRestParameter:"A 'set' accessor cannot have rest parameter.",SetAccesorCannotHaveReturnType:"A 'set' accessor cannot have a return type annotation.",SingleTypeParameterWithoutTrailingComma:({typeParameterName:a})=>`Single type parameter ${a} should have a trailing comma. Example usage: <${a},>.`,StaticBlockCannotHaveModifier:"Static class blocks cannot have any modifier.",TupleOptionalAfterType:"A labeled tuple optional element must be declared using a question mark after the name and before the colon (`name?: type`), rather than after the type (`name: type?`).",TypeAnnotationAfterAssign:"Type annotations must come before default assignments, e.g. instead of `age = 25: number` use `age: number = 25`.",TypeImportCannotSpecifyDefaultAndNamed:"A type-only import can specify a default import or named bindings, but not both.",TypeModifierIsUsedInTypeExports:"The 'type' modifier cannot be used on a named export when 'export type' is used on its export statement.",TypeModifierIsUsedInTypeImports:"The 'type' modifier cannot be used on a named import when 'import type' is used on its import statement.",UnexpectedParameterModifier:"A parameter property is only allowed in a constructor implementation.",UnexpectedReadonly:"'readonly' type modifier is only permitted on array and tuple literal types.",UnexpectedTypeAnnotation:"Did not expect a type annotation here.",UnexpectedTypeCastInParameter:"Unexpected type cast in parameter position.",UnsupportedImportTypeArgument:"Argument in a type import must be a string literal.",UnsupportedParameterPropertyKind:"A parameter property may not be declared using a binding pattern.",UnsupportedSignatureParameterKind:({type:a})=>`Name in a signature must be an Identifier, ObjectPattern or ArrayPattern, instead got ${a}.`});function Ji(a){switch(a){case"any":return"TSAnyKeyword";case"boolean":return"TSBooleanKeyword";case"bigint":return"TSBigIntKeyword";case"never":return"TSNeverKeyword";case"number":return"TSNumberKeyword";case"object":return"TSObjectKeyword";case"string":return"TSStringKeyword";case"symbol":return"TSSymbolKeyword";case"undefined":return"TSUndefinedKeyword";case"unknown":return"TSUnknownKeyword";default:return}}function $t(a){return a==="private"||a==="public"||a==="protected"}function Xi(a){return a==="in"||a==="out"}var Gi=a=>class extends a{constructor(...e){super(...e),this.tsParseInOutModifiers=this.tsParseModifiers.bind(this,{allowedModifiers:["in","out"],disallowedModifiers:["const","public","private","protected","readonly","declare","abstract","override"],errorTemplate:x.InvalidModifierOnTypeParameter}),this.tsParseConstModifier=this.tsParseModifiers.bind(this,{allowedModifiers:["const"],disallowedModifiers:["in","out"],errorTemplate:x.InvalidModifierOnTypeParameterPositions}),this.tsParseInOutConstModifiers=this.tsParseModifiers.bind(this,{allowedModifiers:["in","out","const"],disallowedModifiers:["public","private","protected","readonly","declare","abstract","override"],errorTemplate:x.InvalidModifierOnTypeParameter})}getScopeHandler(){return ht}tsIsIdentifier(){return w(this.state.type)}tsTokenCanFollowModifier(){return(this.match(0)||this.match(5)||this.match(55)||this.match(21)||this.match(138)||this.isLiteralPropertyName())&&!this.hasPrecedingLineBreak()}tsNextTokenCanFollowModifier(){return this.next(),this.tsTokenCanFollowModifier()}tsParseModifier(e,s){if(!w(this.state.type)&&this.state.type!==58&&this.state.type!==75)return;let i=this.state.value;if(e.includes(i)){if(s&&this.tsIsStartOfStaticBlocks())return;if(this.tsTryParse(this.tsNextTokenCanFollowModifier.bind(this)))return i}}tsParseModifiers({allowedModifiers:e,disallowedModifiers:s,stopOnStartOfClassStaticBlock:i,errorTemplate:r=x.InvalidModifierOnTypeMember},n){let o=(c,l,u,f)=>{l===u&&n[f]&&this.raise(x.InvalidModifiersOrder,c,{orderedModifiers:[u,f]})},h=(c,l,u,f)=>{(n[u]&&l===f||n[f]&&l===u)&&this.raise(x.IncompatibleModifiers,c,{modifiers:[u,f]})};for(;;){let{startLoc:c}=this.state,l=this.tsParseModifier(e.concat(s??[]),i);if(!l)break;$t(l)?n.accessibility?this.raise(x.DuplicateAccessibilityModifier,c,{modifier:l}):(o(c,l,l,"override"),o(c,l,l,"static"),o(c,l,l,"readonly"),n.accessibility=l):Xi(l)?(n[l]&&this.raise(x.DuplicateModifier,c,{modifier:l}),n[l]=!0,o(c,l,"in","out")):(hasOwnProperty.call(n,l)?this.raise(x.DuplicateModifier,c,{modifier:l}):(o(c,l,"static","readonly"),o(c,l,"static","override"),o(c,l,"override","readonly"),o(c,l,"abstract","override"),h(c,l,"declare","override"),h(c,l,"static","abstract")),n[l]=!0),s!=null&&s.includes(l)&&this.raise(r,c,{modifier:l})}}tsIsListTerminator(e){switch(e){case"EnumMembers":case"TypeMembers":return this.match(8);case"HeritageClauseElement":return this.match(5);case"TupleElementTypes":return this.match(3);case"TypeParametersOrArguments":return this.match(48)}}tsParseList(e,s){let i=[];for(;!this.tsIsListTerminator(e);)i.push(s());return i}tsParseDelimitedList(e,s,i){return Wi(this.tsParseDelimitedListWorker(e,s,!0,i))}tsParseDelimitedListWorker(e,s,i,r){let n=[],o=-1;for(;!this.tsIsListTerminator(e);){o=-1;let h=s();if(h==null)return;if(n.push(h),this.eat(12)){o=this.state.lastTokStartLoc.index;continue}if(this.tsIsListTerminator(e))break;i&&this.expect(12);return}return r&&(r.value=o),n}tsParseBracketedList(e,s,i,r,n){r||(i?this.expect(0):this.expect(47));let o=this.tsParseDelimitedList(e,s,n);return i?this.expect(3):this.expect(48),o}tsParseImportType(){let e=this.startNode();return this.expect(83),this.expect(10),this.match(133)||this.raise(x.UnsupportedImportTypeArgument,this.state.startLoc),e.argument=super.parseExprAtom(),(this.hasPlugin("importAttributes")||this.hasPlugin("importAssertions"))&&(e.options=null),this.eat(12)&&(this.expectImportAttributesPlugin(),this.match(11)||(e.options=super.parseMaybeAssignAllowIn(),this.eat(12))),this.expect(11),this.eat(16)&&(e.qualifier=this.tsParseEntityName()),this.match(47)&&(e.typeParameters=this.tsParseTypeArguments()),this.finishNode(e,"TSImportType")}tsParseEntityName(e=!0){let s=this.parseIdentifier(e);for(;this.eat(16);){let i=this.startNodeAtNode(s);i.left=s,i.right=this.parseIdentifier(e),s=this.finishNode(i,"TSQualifiedName")}return s}tsParseTypeReference(){let e=this.startNode();return e.typeName=this.tsParseEntityName(),!this.hasPrecedingLineBreak()&&this.match(47)&&(e.typeParameters=this.tsParseTypeArguments()),this.finishNode(e,"TSTypeReference")}tsParseThisTypePredicate(e){this.next();let s=this.startNodeAtNode(e);return s.parameterName=e,s.typeAnnotation=this.tsParseTypeAnnotation(!1),s.asserts=!1,this.finishNode(s,"TSTypePredicate")}tsParseThisTypeNode(){let e=this.startNode();return this.next(),this.finishNode(e,"TSThisType")}tsParseTypeQuery(){let e=this.startNode();return this.expect(87),this.match(83)?e.exprName=this.tsParseImportType():e.exprName=this.tsParseEntityName(),!this.hasPrecedingLineBreak()&&this.match(47)&&(e.typeParameters=this.tsParseTypeArguments()),this.finishNode(e,"TSTypeQuery")}tsParseTypeParameter(e){let s=this.startNode();return e(s),s.name=this.tsParseTypeParameterName(),s.constraint=this.tsEatThenParseType(81),s.default=this.tsEatThenParseType(29),this.finishNode(s,"TSTypeParameter")}tsTryParseTypeParameters(e){if(this.match(47))return this.tsParseTypeParameters(e)}tsParseTypeParameters(e){let s=this.startNode();this.match(47)||this.match(142)?this.next():this.unexpected();let i={value:-1};return s.params=this.tsParseBracketedList("TypeParametersOrArguments",this.tsParseTypeParameter.bind(this,e),!1,!0,i),s.params.length===0&&this.raise(x.EmptyTypeParameters,s),i.value!==-1&&this.addExtra(s,"trailingComma",i.value),this.finishNode(s,"TSTypeParameterDeclaration")}tsFillSignature(e,s){let i=e===19,r="parameters",n="typeAnnotation";s.typeParameters=this.tsTryParseTypeParameters(this.tsParseConstModifier),this.expect(10),s[r]=this.tsParseBindingListForSignature(),i?s[n]=this.tsParseTypeOrTypePredicateAnnotation(e):this.match(e)&&(s[n]=this.tsParseTypeOrTypePredicateAnnotation(e))}tsParseBindingListForSignature(){let e=super.parseBindingList(11,41,2);for(let s of e){let{type:i}=s;(i==="AssignmentPattern"||i==="TSParameterProperty")&&this.raise(x.UnsupportedSignatureParameterKind,s,{type:i})}return e}tsParseTypeMemberSemicolon(){!this.eat(12)&&!this.isLineTerminator()&&this.expect(13)}tsParseSignatureMember(e,s){return this.tsFillSignature(14,s),this.tsParseTypeMemberSemicolon(),this.finishNode(s,e)}tsIsUnambiguouslyIndexSignature(){return this.next(),w(this.state.type)?(this.next(),this.match(14)):!1}tsTryParseIndexSignature(e){if(!(this.match(0)&&this.tsLookAhead(this.tsIsUnambiguouslyIndexSignature.bind(this))))return;this.expect(0);let s=this.parseIdentifier();s.typeAnnotation=this.tsParseTypeAnnotation(),this.resetEndLocation(s),this.expect(3),e.parameters=[s];let i=this.tsTryParseTypeAnnotation();return i&&(e.typeAnnotation=i),this.tsParseTypeMemberSemicolon(),this.finishNode(e,"TSIndexSignature")}tsParsePropertyOrMethodSignature(e,s){this.eat(17)&&(e.optional=!0);let i=e;if(this.match(10)||this.match(47)){s&&this.raise(x.ReadonlyForMethodSignature,e);let r=i;r.kind&&this.match(47)&&this.raise(x.AccesorCannotHaveTypeParameters,this.state.curPosition()),this.tsFillSignature(14,r),this.tsParseTypeMemberSemicolon();let n="parameters",o="typeAnnotation";if(r.kind==="get")r[n].length>0&&(this.raise(p.BadGetterArity,this.state.curPosition()),this.isThisParam(r[n][0])&&this.raise(x.AccesorCannotDeclareThisParameter,this.state.curPosition()));else if(r.kind==="set"){if(r[n].length!==1)this.raise(p.BadSetterArity,this.state.curPosition());else{let h=r[n][0];this.isThisParam(h)&&this.raise(x.AccesorCannotDeclareThisParameter,this.state.curPosition()),h.type==="Identifier"&&h.optional&&this.raise(x.SetAccesorCannotHaveOptionalParameter,this.state.curPosition()),h.type==="RestElement"&&this.raise(x.SetAccesorCannotHaveRestParameter,this.state.curPosition())}r[o]&&this.raise(x.SetAccesorCannotHaveReturnType,r[o])}else r.kind="method";return this.finishNode(r,"TSMethodSignature")}else{let r=i;s&&(r.readonly=!0);let n=this.tsTryParseTypeAnnotation();return n&&(r.typeAnnotation=n),this.tsParseTypeMemberSemicolon(),this.finishNode(r,"TSPropertySignature")}}tsParseTypeMember(){let e=this.startNode();if(this.match(10)||this.match(47))return this.tsParseSignatureMember("TSCallSignatureDeclaration",e);if(this.match(77)){let i=this.startNode();return this.next(),this.match(10)||this.match(47)?this.tsParseSignatureMember("TSConstructSignatureDeclaration",e):(e.key=this.createIdentifier(i,"new"),this.tsParsePropertyOrMethodSignature(e,!1))}this.tsParseModifiers({allowedModifiers:["readonly"],disallowedModifiers:["declare","abstract","private","protected","public","static","override"]},e);let s=this.tsTryParseIndexSignature(e);return s||(super.parsePropertyName(e),!e.computed&&e.key.type==="Identifier"&&(e.key.name==="get"||e.key.name==="set")&&this.tsTokenCanFollowModifier()&&(e.kind=e.key.name,super.parsePropertyName(e)),this.tsParsePropertyOrMethodSignature(e,!!e.readonly))}tsParseTypeLiteral(){let e=this.startNode();return e.members=this.tsParseObjectTypeMembers(),this.finishNode(e,"TSTypeLiteral")}tsParseObjectTypeMembers(){this.expect(5);let e=this.tsParseList("TypeMembers",this.tsParseTypeMember.bind(this));return this.expect(8),e}tsIsStartOfMappedType(){return this.next(),this.eat(53)?this.isContextual(122):(this.isContextual(122)&&this.next(),!this.match(0)||(this.next(),!this.tsIsIdentifier())?!1:(this.next(),this.match(58)))}tsParseMappedTypeParameter(){let e=this.startNode();return e.name=this.tsParseTypeParameterName(),e.constraint=this.tsExpectThenParseType(58),this.finishNode(e,"TSTypeParameter")}tsParseMappedType(){let e=this.startNode();return this.expect(5),this.match(53)?(e.readonly=this.state.value,this.next(),this.expectContextual(122)):this.eatContextual(122)&&(e.readonly=!0),this.expect(0),e.typeParameter=this.tsParseMappedTypeParameter(),e.nameType=this.eatContextual(93)?this.tsParseType():null,this.expect(3),this.match(53)?(e.optional=this.state.value,this.next(),this.expect(17)):this.eat(17)&&(e.optional=!0),e.typeAnnotation=this.tsTryParseType(),this.semicolon(),this.expect(8),this.finishNode(e,"TSMappedType")}tsParseTupleType(){let e=this.startNode();e.elementTypes=this.tsParseBracketedList("TupleElementTypes",this.tsParseTupleElementType.bind(this),!0,!1);let s=!1;return e.elementTypes.forEach(i=>{let{type:r}=i;s&&r!=="TSRestType"&&r!=="TSOptionalType"&&!(r==="TSNamedTupleMember"&&i.optional)&&this.raise(x.OptionalTypeBeforeRequired,i),s||(s=r==="TSNamedTupleMember"&&i.optional||r==="TSOptionalType")}),this.finishNode(e,"TSTupleType")}tsParseTupleElementType(){let{startLoc:e}=this.state,s=this.eat(21),i,r,n,o,c=M(this.state.type)?this.lookaheadCharCode():null;if(c===58)i=!0,n=!1,r=this.parseIdentifier(!0),this.expect(14),o=this.tsParseType();else if(c===63){n=!0;let l=this.state.startLoc,u=this.state.value,f=this.tsParseNonArrayType();this.lookaheadCharCode()===58?(i=!0,r=this.createIdentifier(this.startNodeAt(l),u),this.expect(17),this.expect(14),o=this.tsParseType()):(i=!1,o=f,this.expect(17))}else o=this.tsParseType(),n=this.eat(17),i=this.eat(14);if(i){let l;r?(l=this.startNodeAtNode(r),l.optional=n,l.label=r,l.elementType=o,this.eat(17)&&(l.optional=!0,this.raise(x.TupleOptionalAfterType,this.state.lastTokStartLoc))):(l=this.startNodeAtNode(o),l.optional=n,this.raise(x.InvalidTupleMemberLabel,o),l.label=o,l.elementType=this.tsParseType()),o=this.finishNode(l,"TSNamedTupleMember")}else if(n){let l=this.startNodeAtNode(o);l.typeAnnotation=o,o=this.finishNode(l,"TSOptionalType")}if(s){let l=this.startNodeAt(e);l.typeAnnotation=o,o=this.finishNode(l,"TSRestType")}return o}tsParseParenthesizedType(){let e=this.startNode();return this.expect(10),e.typeAnnotation=this.tsParseType(),this.expect(11),this.finishNode(e,"TSParenthesizedType")}tsParseFunctionOrConstructorType(e,s){let i=this.startNode();return e==="TSConstructorType"&&(i.abstract=!!s,s&&this.next(),this.next()),this.tsInAllowConditionalTypesContext(()=>this.tsFillSignature(19,i)),this.finishNode(i,e)}tsParseLiteralTypeNode(){let e=this.startNode();switch(this.state.type){case 134:case 135:case 133:case 85:case 86:e.literal=super.parseExprAtom();break;default:this.unexpected()}return this.finishNode(e,"TSLiteralType")}tsParseTemplateLiteralType(){let e=this.startNode();return e.literal=super.parseTemplate(!1),this.finishNode(e,"TSLiteralType")}parseTemplateSubstitution(){return this.state.inType?this.tsParseType():super.parseTemplateSubstitution()}tsParseThisTypeOrThisTypePredicate(){let e=this.tsParseThisTypeNode();return this.isContextual(116)&&!this.hasPrecedingLineBreak()?this.tsParseThisTypePredicate(e):e}tsParseNonArrayType(){switch(this.state.type){case 133:case 134:case 135:case 85:case 86:return this.tsParseLiteralTypeNode();case 53:if(this.state.value==="-"){let e=this.startNode(),s=this.lookahead();return s.type!==134&&s.type!==135&&this.unexpected(),e.literal=this.parseMaybeUnary(),this.finishNode(e,"TSLiteralType")}break;case 78:return this.tsParseThisTypeOrThisTypePredicate();case 87:return this.tsParseTypeQuery();case 83:return this.tsParseImportType();case 5:return this.tsLookAhead(this.tsIsStartOfMappedType.bind(this))?this.tsParseMappedType():this.tsParseTypeLiteral();case 0:return this.tsParseTupleType();case 10:return this.tsParseParenthesizedType();case 25:case 24:return this.tsParseTemplateLiteralType();default:{let{type:e}=this.state;if(w(e)||e===88||e===84){let s=e===88?"TSVoidKeyword":e===84?"TSNullKeyword":Ji(this.state.value);if(s!==void 0&&this.lookaheadCharCode()!==46){let i=this.startNode();return this.next(),this.finishNode(i,s)}return this.tsParseTypeReference()}}}this.unexpected()}tsParseArrayTypeOrHigher(){let e=this.tsParseNonArrayType();for(;!this.hasPrecedingLineBreak()&&this.eat(0);)if(this.match(3)){let s=this.startNodeAtNode(e);s.elementType=e,this.expect(3),e=this.finishNode(s,"TSArrayType")}else{let s=this.startNodeAtNode(e);s.objectType=e,s.indexType=this.tsParseType(),this.expect(3),e=this.finishNode(s,"TSIndexedAccessType")}return e}tsParseTypeOperator(){let e=this.startNode(),s=this.state.value;return this.next(),e.operator=s,e.typeAnnotation=this.tsParseTypeOperatorOrHigher(),s==="readonly"&&this.tsCheckTypeAnnotationForReadOnly(e),this.finishNode(e,"TSTypeOperator")}tsCheckTypeAnnotationForReadOnly(e){switch(e.typeAnnotation.type){case"TSTupleType":case"TSArrayType":return;default:this.raise(x.UnexpectedReadonly,e)}}tsParseInferType(){let e=this.startNode();this.expectContextual(115);let s=this.startNode();return s.name=this.tsParseTypeParameterName(),s.constraint=this.tsTryParse(()=>this.tsParseConstraintForInferType()),e.typeParameter=this.finishNode(s,"TSTypeParameter"),this.finishNode(e,"TSInferType")}tsParseConstraintForInferType(){if(this.eat(81)){let e=this.tsInDisallowConditionalTypesContext(()=>this.tsParseType());if(this.state.inDisallowConditionalTypesContext||!this.match(17))return e}}tsParseTypeOperatorOrHigher(){return di(this.state.type)&&!this.state.containsEsc?this.tsParseTypeOperator():this.isContextual(115)?this.tsParseInferType():this.tsInAllowConditionalTypesContext(()=>this.tsParseArrayTypeOrHigher())}tsParseUnionOrIntersectionType(e,s,i){let r=this.startNode(),n=this.eat(i),o=[];do o.push(s());while(this.eat(i));return o.length===1&&!n?o[0]:(r.types=o,this.finishNode(r,e))}tsParseIntersectionTypeOrHigher(){return this.tsParseUnionOrIntersectionType("TSIntersectionType",this.tsParseTypeOperatorOrHigher.bind(this),45)}tsParseUnionTypeOrHigher(){return this.tsParseUnionOrIntersectionType("TSUnionType",this.tsParseIntersectionTypeOrHigher.bind(this),43)}tsIsStartOfFunctionType(){return this.match(47)?!0:this.match(10)&&this.tsLookAhead(this.tsIsUnambiguouslyStartOfFunctionType.bind(this))}tsSkipParameterStart(){if(w(this.state.type)||this.match(78))return this.next(),!0;if(this.match(5)){let{errors:e}=this.state,s=e.length;try{return this.parseObjectLike(8,!0),e.length===s}catch{return!1}}if(this.match(0)){this.next();let{errors:e}=this.state,s=e.length;try{return super.parseBindingList(3,93,1),e.length===s}catch{return!1}}return!1}tsIsUnambiguouslyStartOfFunctionType(){return this.next(),!!(this.match(11)||this.match(21)||this.tsSkipParameterStart()&&(this.match(14)||this.match(12)||this.match(17)||this.match(29)||this.match(11)&&(this.next(),this.match(19))))}tsParseTypeOrTypePredicateAnnotation(e){return this.tsInType(()=>{let s=this.startNode();this.expect(e);let i=this.startNode(),r=!!this.tsTryParse(this.tsParseTypePredicateAsserts.bind(this));if(r&&this.match(78)){let h=this.tsParseThisTypeOrThisTypePredicate();return h.type==="TSThisType"?(i.parameterName=h,i.asserts=!0,i.typeAnnotation=null,h=this.finishNode(i,"TSTypePredicate")):(this.resetStartLocationFromNode(h,i),h.asserts=!0),s.typeAnnotation=h,this.finishNode(s,"TSTypeAnnotation")}let n=this.tsIsIdentifier()&&this.tsTryParse(this.tsParseTypePredicatePrefix.bind(this));if(!n)return r?(i.parameterName=this.parseIdentifier(),i.asserts=r,i.typeAnnotation=null,s.typeAnnotation=this.finishNode(i,"TSTypePredicate"),this.finishNode(s,"TSTypeAnnotation")):this.tsParseTypeAnnotation(!1,s);let o=this.tsParseTypeAnnotation(!1);return i.parameterName=n,i.typeAnnotation=o,i.asserts=r,s.typeAnnotation=this.finishNode(i,"TSTypePredicate"),this.finishNode(s,"TSTypeAnnotation")})}tsTryParseTypeOrTypePredicateAnnotation(){if(this.match(14))return this.tsParseTypeOrTypePredicateAnnotation(14)}tsTryParseTypeAnnotation(){if(this.match(14))return this.tsParseTypeAnnotation()}tsTryParseType(){return this.tsEatThenParseType(14)}tsParseTypePredicatePrefix(){let e=this.parseIdentifier();if(this.isContextual(116)&&!this.hasPrecedingLineBreak())return this.next(),e}tsParseTypePredicateAsserts(){if(this.state.type!==109)return!1;let e=this.state.containsEsc;return this.next(),!w(this.state.type)&&!this.match(78)?!1:(e&&this.raise(p.InvalidEscapedReservedWord,this.state.lastTokStartLoc,{reservedWord:"asserts"}),!0)}tsParseTypeAnnotation(e=!0,s=this.startNode()){return this.tsInType(()=>{e&&this.expect(14),s.typeAnnotation=this.tsParseType()}),this.finishNode(s,"TSTypeAnnotation")}tsParseType(){jt(this.state.inType);let e=this.tsParseNonConditionalType();if(this.state.inDisallowConditionalTypesContext||this.hasPrecedingLineBreak()||!this.eat(81))return e;let s=this.startNodeAtNode(e);return s.checkType=e,s.extendsType=this.tsInDisallowConditionalTypesContext(()=>this.tsParseNonConditionalType()),this.expect(17),s.trueType=this.tsInAllowConditionalTypesContext(()=>this.tsParseType()),this.expect(14),s.falseType=this.tsInAllowConditionalTypesContext(()=>this.tsParseType()),this.finishNode(s,"TSConditionalType")}isAbstractConstructorSignature(){return this.isContextual(124)&&this.lookahead().type===77}tsParseNonConditionalType(){return this.tsIsStartOfFunctionType()?this.tsParseFunctionOrConstructorType("TSFunctionType"):this.match(77)?this.tsParseFunctionOrConstructorType("TSConstructorType"):this.isAbstractConstructorSignature()?this.tsParseFunctionOrConstructorType("TSConstructorType",!0):this.tsParseUnionTypeOrHigher()}tsParseTypeAssertion(){this.getPluginOption("typescript","disallowAmbiguousJSXLike")&&this.raise(x.ReservedTypeAssertion,this.state.startLoc);let e=this.startNode();return e.typeAnnotation=this.tsInType(()=>(this.next(),this.match(75)?this.tsParseTypeReference():this.tsParseType())),this.expect(48),e.expression=this.parseMaybeUnary(),this.finishNode(e,"TSTypeAssertion")}tsParseHeritageClause(e){let s=this.state.startLoc,i=this.tsParseDelimitedList("HeritageClauseElement",()=>{let r=this.startNode();return r.expression=this.tsParseEntityName(),this.match(47)&&(r.typeParameters=this.tsParseTypeArguments()),this.finishNode(r,"TSExpressionWithTypeArguments")});return i.length||this.raise(x.EmptyHeritageClauseType,s,{token:e}),i}tsParseInterfaceDeclaration(e,s={}){if(this.hasFollowingLineBreak())return null;this.expectContextual(129),s.declare&&(e.declare=!0),w(this.state.type)?(e.id=this.parseIdentifier(),this.checkIdentifier(e.id,130)):(e.id=null,this.raise(x.MissingInterfaceName,this.state.startLoc)),e.typeParameters=this.tsTryParseTypeParameters(this.tsParseInOutConstModifiers),this.eat(81)&&(e.extends=this.tsParseHeritageClause("extends"));let i=this.startNode();return i.body=this.tsInType(this.tsParseObjectTypeMembers.bind(this)),e.body=this.finishNode(i,"TSInterfaceBody"),this.finishNode(e,"TSInterfaceDeclaration")}tsParseTypeAliasDeclaration(e){return e.id=this.parseIdentifier(),this.checkIdentifier(e.id,2),e.typeAnnotation=this.tsInType(()=>{if(e.typeParameters=this.tsTryParseTypeParameters(this.tsParseInOutModifiers),this.expect(29),this.isContextual(114)&&this.lookahead().type!==16){let s=this.startNode();return this.next(),this.finishNode(s,"TSIntrinsicKeyword")}return this.tsParseType()}),this.semicolon(),this.finishNode(e,"TSTypeAliasDeclaration")}tsInNoContext(e){let s=this.state.context;this.state.context=[s[0]];try{return e()}finally{this.state.context=s}}tsInType(e){let s=this.state.inType;this.state.inType=!0;try{return e()}finally{this.state.inType=s}}tsInDisallowConditionalTypesContext(e){let s=this.state.inDisallowConditionalTypesContext;this.state.inDisallowConditionalTypesContext=!0;try{return e()}finally{this.state.inDisallowConditionalTypesContext=s}}tsInAllowConditionalTypesContext(e){let s=this.state.inDisallowConditionalTypesContext;this.state.inDisallowConditionalTypesContext=!1;try{return e()}finally{this.state.inDisallowConditionalTypesContext=s}}tsEatThenParseType(e){if(this.match(e))return this.tsNextThenParseType()}tsExpectThenParseType(e){return this.tsInType(()=>(this.expect(e),this.tsParseType()))}tsNextThenParseType(){return this.tsInType(()=>(this.next(),this.tsParseType()))}tsParseEnumMember(){let e=this.startNode();return e.id=this.match(133)?super.parseStringLiteral(this.state.value):this.parseIdentifier(!0),this.eat(29)&&(e.initializer=super.parseMaybeAssignAllowIn()),this.finishNode(e,"TSEnumMember")}tsParseEnumDeclaration(e,s={}){return s.const&&(e.const=!0),s.declare&&(e.declare=!0),this.expectContextual(126),e.id=this.parseIdentifier(),this.checkIdentifier(e.id,e.const?8971:8459),this.expect(5),e.members=this.tsParseDelimitedList("EnumMembers",this.tsParseEnumMember.bind(this)),this.expect(8),this.finishNode(e,"TSEnumDeclaration")}tsParseModuleBlock(){let e=this.startNode();return this.scope.enter(0),this.expect(5),super.parseBlockOrModuleBlockBody(e.body=[],void 0,!0,8),this.scope.exit(),this.finishNode(e,"TSModuleBlock")}tsParseModuleOrNamespaceDeclaration(e,s=!1){if(e.id=this.parseIdentifier(),s||this.checkIdentifier(e.id,1024),this.eat(16)){let i=this.startNode();this.tsParseModuleOrNamespaceDeclaration(i,!0),e.body=i}else this.scope.enter(256),this.prodParam.enter(0),e.body=this.tsParseModuleBlock(),this.prodParam.exit(),this.scope.exit();return this.finishNode(e,"TSModuleDeclaration")}tsParseAmbientExternalModuleDeclaration(e){return this.isContextual(112)?(e.global=!0,e.id=this.parseIdentifier()):this.match(133)?e.id=super.parseStringLiteral(this.state.value):this.unexpected(),this.match(5)?(this.scope.enter(256),this.prodParam.enter(0),e.body=this.tsParseModuleBlock(),this.prodParam.exit(),this.scope.exit()):this.semicolon(),this.finishNode(e,"TSModuleDeclaration")}tsParseImportEqualsDeclaration(e,s,i){e.isExport=i||!1,e.id=s||this.parseIdentifier(),this.checkIdentifier(e.id,4096),this.expect(29);let r=this.tsParseModuleReference();return e.importKind==="type"&&r.type!=="TSExternalModuleReference"&&this.raise(x.ImportAliasHasImportType,r),e.moduleReference=r,this.semicolon(),this.finishNode(e,"TSImportEqualsDeclaration")}tsIsExternalModuleReference(){return this.isContextual(119)&&this.lookaheadCharCode()===40}tsParseModuleReference(){return this.tsIsExternalModuleReference()?this.tsParseExternalModuleReference():this.tsParseEntityName(!1)}tsParseExternalModuleReference(){let e=this.startNode();return this.expectContextual(119),this.expect(10),this.match(133)||this.unexpected(),e.expression=super.parseExprAtom(),this.expect(11),this.sawUnambiguousESM=!0,this.finishNode(e,"TSExternalModuleReference")}tsLookAhead(e){let s=this.state.clone(),i=e();return this.state=s,i}tsTryParseAndCatch(e){let s=this.tryParse(i=>e()||i());if(!(s.aborted||!s.node))return s.error&&(this.state=s.failState),s.node}tsTryParse(e){let s=this.state.clone(),i=e();if(i!==void 0&&i!==!1)return i;this.state=s}tsTryParseDeclare(e){if(this.isLineTerminator())return;let s=this.state.type,i;return this.isContextual(100)&&(s=74,i="let"),this.tsInAmbientContext(()=>{switch(s){case 68:return e.declare=!0,super.parseFunctionStatement(e,!1,!1);case 80:return e.declare=!0,this.parseClass(e,!0,!1);case 126:return this.tsParseEnumDeclaration(e,{declare:!0});case 112:return this.tsParseAmbientExternalModuleDeclaration(e);case 75:case 74:return!this.match(75)||!this.isLookaheadContextual("enum")?(e.declare=!0,this.parseVarStatement(e,i||this.state.value,!0)):(this.expect(75),this.tsParseEnumDeclaration(e,{const:!0,declare:!0}));case 129:{let r=this.tsParseInterfaceDeclaration(e,{declare:!0});if(r)return r}default:if(w(s))return this.tsParseDeclaration(e,this.state.value,!0,null)}})}tsTryParseExportDeclaration(){return this.tsParseDeclaration(this.startNode(),this.state.value,!0,null)}tsParseExpressionStatement(e,s,i){switch(s.name){case"declare":{let r=this.tsTryParseDeclare(e);return r&&(r.declare=!0),r}case"global":if(this.match(5)){this.scope.enter(256),this.prodParam.enter(0);let r=e;return r.global=!0,r.id=s,r.body=this.tsParseModuleBlock(),this.scope.exit(),this.prodParam.exit(),this.finishNode(r,"TSModuleDeclaration")}break;default:return this.tsParseDeclaration(e,s.name,!1,i)}}tsParseDeclaration(e,s,i,r){switch(s){case"abstract":if(this.tsCheckLineTerminator(i)&&(this.match(80)||w(this.state.type)))return this.tsParseAbstractDeclaration(e,r);break;case"module":if(this.tsCheckLineTerminator(i)){if(this.match(133))return this.tsParseAmbientExternalModuleDeclaration(e);if(w(this.state.type))return this.tsParseModuleOrNamespaceDeclaration(e)}break;case"namespace":if(this.tsCheckLineTerminator(i)&&w(this.state.type))return this.tsParseModuleOrNamespaceDeclaration(e);break;case"type":if(this.tsCheckLineTerminator(i)&&w(this.state.type))return this.tsParseTypeAliasDeclaration(e);break}}tsCheckLineTerminator(e){return e?this.hasFollowingLineBreak()?!1:(this.next(),!0):!this.isLineTerminator()}tsTryParseGenericAsyncArrowFunction(e){if(!this.match(47))return;let s=this.state.maybeInArrowParameters;this.state.maybeInArrowParameters=!0;let i=this.tsTryParseAndCatch(()=>{let r=this.startNodeAt(e);return r.typeParameters=this.tsParseTypeParameters(this.tsParseConstModifier),super.parseFunctionParams(r),r.returnType=this.tsTryParseTypeOrTypePredicateAnnotation(),this.expect(19),r});if(this.state.maybeInArrowParameters=s,!!i)return super.parseArrowExpression(i,null,!0)}tsParseTypeArgumentsInExpression(){if(this.reScan_lt()===47)return this.tsParseTypeArguments()}tsParseTypeArguments(){let e=this.startNode();return e.params=this.tsInType(()=>this.tsInNoContext(()=>(this.expect(47),this.tsParseDelimitedList("TypeParametersOrArguments",this.tsParseType.bind(this))))),e.params.length===0?this.raise(x.EmptyTypeArguments,e):!this.state.inType&&this.curContext()===C.brace&&this.reScan_lt_gt(),this.expect(48),this.finishNode(e,"TSTypeParameterInstantiation")}tsIsDeclarationStart(){return mi(this.state.type)}isExportDefaultSpecifier(){return this.tsIsDeclarationStart()?!1:super.isExportDefaultSpecifier()}parseAssignableListItem(e,s){let i=this.state.startLoc,r={};this.tsParseModifiers({allowedModifiers:["public","private","protected","override","readonly"]},r);let n=r.accessibility,o=r.override,h=r.readonly;!(e&4)&&(n||h||o)&&this.raise(x.UnexpectedParameterModifier,i);let c=this.parseMaybeDefault();this.parseAssignableListItemTypes(c,e);let l=this.parseMaybeDefault(c.loc.start,c);if(n||h||o){let u=this.startNodeAt(i);return s.length&&(u.decorators=s),n&&(u.accessibility=n),h&&(u.readonly=h),o&&(u.override=o),l.type!=="Identifier"&&l.type!=="AssignmentPattern"&&this.raise(x.UnsupportedParameterPropertyKind,u),u.parameter=l,this.finishNode(u,"TSParameterProperty")}return s.length&&(c.decorators=s),l}isSimpleParameter(e){return e.type==="TSParameterProperty"&&super.isSimpleParameter(e.parameter)||super.isSimpleParameter(e)}tsDisallowOptionalPattern(e){for(let s of e.params)s.type!=="Identifier"&&s.optional&&!this.state.isAmbientContext&&this.raise(x.PatternIsOptional,s)}setArrowFunctionParameters(e,s,i){super.setArrowFunctionParameters(e,s,i),this.tsDisallowOptionalPattern(e)}parseFunctionBodyAndFinish(e,s,i=!1){this.match(14)&&(e.returnType=this.tsParseTypeOrTypePredicateAnnotation(14));let r=s==="FunctionDeclaration"?"TSDeclareFunction":s==="ClassMethod"||s==="ClassPrivateMethod"?"TSDeclareMethod":void 0;return r&&!this.match(5)&&this.isLineTerminator()?this.finishNode(e,r):r==="TSDeclareFunction"&&this.state.isAmbientContext&&(this.raise(x.DeclareFunctionHasImplementation,e),e.declare)?super.parseFunctionBodyAndFinish(e,r,i):(this.tsDisallowOptionalPattern(e),super.parseFunctionBodyAndFinish(e,s,i))}registerFunctionStatementId(e){!e.body&&e.id?this.checkIdentifier(e.id,1024):super.registerFunctionStatementId(e)}tsCheckForInvalidTypeCasts(e){e.forEach(s=>{(s==null?void 0:s.type)==="TSTypeCastExpression"&&this.raise(x.UnexpectedTypeAnnotation,s.typeAnnotation)})}toReferencedList(e,s){return this.tsCheckForInvalidTypeCasts(e),e}parseArrayLike(e,s,i,r){let n=super.parseArrayLike(e,s,i,r);return n.type==="ArrayExpression"&&this.tsCheckForInvalidTypeCasts(n.elements),n}parseSubscript(e,s,i,r){if(!this.hasPrecedingLineBreak()&&this.match(35)){this.state.canStartJSXElement=!1,this.next();let o=this.startNodeAt(s);return o.expression=e,this.finishNode(o,"TSNonNullExpression")}let n=!1;if(this.match(18)&&this.lookaheadCharCode()===60){if(i)return r.stop=!0,e;r.optionalChainMember=n=!0,this.next()}if(this.match(47)||this.match(51)){let o,h=this.tsTryParseAndCatch(()=>{if(!i&&this.atPossibleAsyncArrow(e)){let f=this.tsTryParseGenericAsyncArrowFunction(s);if(f)return f}let c=this.tsParseTypeArgumentsInExpression();if(!c)return;if(n&&!this.match(10)){o=this.state.curPosition();return}if(ve(this.state.type)){let f=super.parseTaggedTemplateExpression(e,s,r);return f.typeParameters=c,f}if(!i&&this.eat(10)){let f=this.startNodeAt(s);return f.callee=e,f.arguments=this.parseCallExpressionArguments(11,!1),this.tsCheckForInvalidTypeCasts(f.arguments),f.typeParameters=c,r.optionalChainMember&&(f.optional=n),this.finishCallExpression(f,r.optionalChainMember)}let l=this.state.type;if(l===48||l===52||l!==10&&He(l)&&!this.hasPrecedingLineBreak())return;let u=this.startNodeAt(s);return u.expression=e,u.typeParameters=c,this.finishNode(u,"TSInstantiationExpression")});if(o&&this.unexpected(o,10),h)return h.type==="TSInstantiationExpression"&&(this.match(16)||this.match(18)&&this.lookaheadCharCode()!==40)&&this.raise(x.InvalidPropertyAccessAfterInstantiationExpression,this.state.startLoc),h}return super.parseSubscript(e,s,i,r)}parseNewCallee(e){var s;super.parseNewCallee(e);let{callee:i}=e;i.type==="TSInstantiationExpression"&&!((s=i.extra)!=null&&s.parenthesized)&&(e.typeParameters=i.typeParameters,e.callee=i.expression)}parseExprOp(e,s,i){let r;if(Ee(58)>i&&!this.hasPrecedingLineBreak()&&(this.isContextual(93)||(r=this.isContextual(120)))){let n=this.startNodeAt(s);return n.expression=e,n.typeAnnotation=this.tsInType(()=>(this.next(),this.match(75)?(r&&this.raise(p.UnexpectedKeyword,this.state.startLoc,{keyword:"const"}),this.tsParseTypeReference()):this.tsParseType())),this.finishNode(n,r?"TSSatisfiesExpression":"TSAsExpression"),this.reScan_lt_gt(),this.parseExprOp(n,s,i)}return super.parseExprOp(e,s,i)}checkReservedWord(e,s,i,r){this.state.isAmbientContext||super.checkReservedWord(e,s,i,r)}checkImportReflection(e){super.checkImportReflection(e),e.module&&e.importKind!=="value"&&this.raise(x.ImportReflectionHasImportType,e.specifiers[0].loc.start)}checkDuplicateExports(){}isPotentialImportPhase(e){if(super.isPotentialImportPhase(e))return!0;if(this.isContextual(130)){let s=this.lookaheadCharCode();return e?s===123||s===42:s!==61}return!e&&this.isContextual(87)}applyImportPhase(e,s,i,r){super.applyImportPhase(e,s,i,r),s?e.exportKind=i==="type"?"type":"value":e.importKind=i==="type"||i==="typeof"?i:"value"}parseImport(e){if(this.match(133))return e.importKind="value",super.parseImport(e);let s;if(w(this.state.type)&&this.lookaheadCharCode()===61)return e.importKind="value",this.tsParseImportEqualsDeclaration(e);if(this.isContextual(130)){let i=this.parseMaybeImportPhase(e,!1);if(this.lookaheadCharCode()===61)return this.tsParseImportEqualsDeclaration(e,i);s=super.parseImportSpecifiersAndAfter(e,i)}else s=super.parseImport(e);return s.importKind==="type"&&s.specifiers.length>1&&s.specifiers[0].type==="ImportDefaultSpecifier"&&this.raise(x.TypeImportCannotSpecifyDefaultAndNamed,s),s}parseExport(e,s){if(this.match(83)){this.next();let i=e,r=null;return this.isContextual(130)&&this.isPotentialImportPhase(!1)?r=this.parseMaybeImportPhase(i,!1):i.importKind="value",this.tsParseImportEqualsDeclaration(i,r,!0)}else if(this.eat(29)){let i=e;return i.expression=super.parseExpression(),this.semicolon(),this.sawUnambiguousESM=!0,this.finishNode(i,"TSExportAssignment")}else if(this.eatContextual(93)){let i=e;return this.expectContextual(128),i.id=this.parseIdentifier(),this.semicolon(),this.finishNode(i,"TSNamespaceExportDeclaration")}else return super.parseExport(e,s)}isAbstractClass(){return this.isContextual(124)&&this.lookahead().type===80}parseExportDefaultExpression(){if(this.isAbstractClass()){let e=this.startNode();return this.next(),e.abstract=!0,this.parseClass(e,!0,!0)}if(this.match(129)){let e=this.tsParseInterfaceDeclaration(this.startNode());if(e)return e}return super.parseExportDefaultExpression()}parseVarStatement(e,s,i=!1){let{isAmbientContext:r}=this.state,n=super.parseVarStatement(e,s,i||r);if(!r)return n;for(let{id:o,init:h}of n.declarations)h&&(s!=="const"||o.typeAnnotation?this.raise(x.InitializerNotAllowedInAmbientContext,h):Qi(h,this.hasPlugin("estree"))||this.raise(x.ConstInitiailizerMustBeStringOrNumericLiteralOrLiteralEnumReference,h));return n}parseStatementContent(e,s){if(this.match(75)&&this.isLookaheadContextual("enum")){let i=this.startNode();return this.expect(75),this.tsParseEnumDeclaration(i,{const:!0})}if(this.isContextual(126))return this.tsParseEnumDeclaration(this.startNode());if(this.isContextual(129)){let i=this.tsParseInterfaceDeclaration(this.startNode());if(i)return i}return super.parseStatementContent(e,s)}parseAccessModifier(){return this.tsParseModifier(["public","protected","private"])}tsHasSomeModifiers(e,s){return s.some(i=>$t(i)?e.accessibility===i:!!e[i])}tsIsStartOfStaticBlocks(){return this.isContextual(106)&&this.lookaheadCharCode()===123}parseClassMember(e,s,i){let r=["declare","private","public","protected","override","abstract","readonly","static"];this.tsParseModifiers({allowedModifiers:r,disallowedModifiers:["in","out"],stopOnStartOfClassStaticBlock:!0,errorTemplate:x.InvalidModifierOnTypeParameterPositions},s);let n=()=>{this.tsIsStartOfStaticBlocks()?(this.next(),this.next(),this.tsHasSomeModifiers(s,r)&&this.raise(x.StaticBlockCannotHaveModifier,this.state.curPosition()),super.parseClassStaticBlock(e,s)):this.parseClassMemberWithIsStatic(e,s,i,!!s.static)};s.declare?this.tsInAmbientContext(n):n()}parseClassMemberWithIsStatic(e,s,i,r){let n=this.tsTryParseIndexSignature(s);if(n){e.body.push(n),s.abstract&&this.raise(x.IndexSignatureHasAbstract,s),s.accessibility&&this.raise(x.IndexSignatureHasAccessibility,s,{modifier:s.accessibility}),s.declare&&this.raise(x.IndexSignatureHasDeclare,s),s.override&&this.raise(x.IndexSignatureHasOverride,s);return}!this.state.inAbstractClass&&s.abstract&&this.raise(x.NonAbstractClassHasAbstractMethod,s),s.override&&(i.hadSuperClass||this.raise(x.OverrideNotInSubClass,s)),super.parseClassMemberWithIsStatic(e,s,i,r)}parsePostMemberNameModifiers(e){this.eat(17)&&(e.optional=!0),e.readonly&&this.match(10)&&this.raise(x.ClassMethodHasReadonly,e),e.declare&&this.match(10)&&this.raise(x.ClassMethodHasDeclare,e)}parseExpressionStatement(e,s,i){return(s.type==="Identifier"?this.tsParseExpressionStatement(e,s,i):void 0)||super.parseExpressionStatement(e,s,i)}shouldParseExportDeclaration(){return this.tsIsDeclarationStart()?!0:super.shouldParseExportDeclaration()}parseConditional(e,s,i){if(!this.state.maybeInArrowParameters||!this.match(17))return super.parseConditional(e,s,i);let r=this.tryParse(()=>super.parseConditional(e,s));return r.node?(r.error&&(this.state=r.failState),r.node):(r.error&&super.setOptionalParametersError(i,r.error),e)}parseParenItem(e,s){let i=super.parseParenItem(e,s);if(this.eat(17)&&(i.optional=!0,this.resetEndLocation(e)),this.match(14)){let r=this.startNodeAt(s);return r.expression=e,r.typeAnnotation=this.tsParseTypeAnnotation(),this.finishNode(r,"TSTypeCastExpression")}return e}parseExportDeclaration(e){if(!this.state.isAmbientContext&&this.isContextual(125))return this.tsInAmbientContext(()=>this.parseExportDeclaration(e));let s=this.state.startLoc,i=this.eatContextual(125);if(i&&(this.isContextual(125)||!this.shouldParseExportDeclaration()))throw this.raise(x.ExpectedAmbientAfterExportDeclare,this.state.startLoc);let n=w(this.state.type)&&this.tsTryParseExportDeclaration()||super.parseExportDeclaration(e);return n?((n.type==="TSInterfaceDeclaration"||n.type==="TSTypeAliasDeclaration"||i)&&(e.exportKind="type"),i&&(this.resetStartLocation(n,s),n.declare=!0),n):null}parseClassId(e,s,i,r){if((!s||i)&&this.isContextual(113))return;super.parseClassId(e,s,i,e.declare?1024:8331);let n=this.tsTryParseTypeParameters(this.tsParseInOutConstModifiers);n&&(e.typeParameters=n)}parseClassPropertyAnnotation(e){e.optional||(this.eat(35)?e.definite=!0:this.eat(17)&&(e.optional=!0));let s=this.tsTryParseTypeAnnotation();s&&(e.typeAnnotation=s)}parseClassProperty(e){if(this.parseClassPropertyAnnotation(e),this.state.isAmbientContext&&!(e.readonly&&!e.typeAnnotation)&&this.match(29)&&this.raise(x.DeclareClassFieldHasInitializer,this.state.startLoc),e.abstract&&this.match(29)){let{key:s}=e;this.raise(x.AbstractPropertyHasInitializer,this.state.startLoc,{propertyName:s.type==="Identifier"&&!e.computed?s.name:`[${this.input.slice(s.start,s.end)}]`})}return super.parseClassProperty(e)}parseClassPrivateProperty(e){return e.abstract&&this.raise(x.PrivateElementHasAbstract,e),e.accessibility&&this.raise(x.PrivateElementHasAccessibility,e,{modifier:e.accessibility}),this.parseClassPropertyAnnotation(e),super.parseClassPrivateProperty(e)}parseClassAccessorProperty(e){return this.parseClassPropertyAnnotation(e),e.optional&&this.raise(x.AccessorCannotBeOptional,e),super.parseClassAccessorProperty(e)}pushClassMethod(e,s,i,r,n,o){let h=this.tsTryParseTypeParameters(this.tsParseConstModifier);h&&n&&this.raise(x.ConstructorHasTypeParameters,h);let{declare:c=!1,kind:l}=s;c&&(l==="get"||l==="set")&&this.raise(x.DeclareAccessor,s,{kind:l}),h&&(s.typeParameters=h),super.pushClassMethod(e,s,i,r,n,o)}pushClassPrivateMethod(e,s,i,r){let n=this.tsTryParseTypeParameters(this.tsParseConstModifier);n&&(s.typeParameters=n),super.pushClassPrivateMethod(e,s,i,r)}declareClassPrivateMethodInScope(e,s){e.type!=="TSDeclareMethod"&&(e.type==="MethodDefinition"&&!hasOwnProperty.call(e.value,"body")||super.declareClassPrivateMethodInScope(e,s))}parseClassSuper(e){super.parseClassSuper(e),e.superClass&&(this.match(47)||this.match(51))&&(e.superTypeParameters=this.tsParseTypeArgumentsInExpression()),this.eatContextual(113)&&(e.implements=this.tsParseHeritageClause("implements"))}parseObjPropValue(e,s,i,r,n,o,h){let c=this.tsTryParseTypeParameters(this.tsParseConstModifier);return c&&(e.typeParameters=c),super.parseObjPropValue(e,s,i,r,n,o,h)}parseFunctionParams(e,s){let i=this.tsTryParseTypeParameters(this.tsParseConstModifier);i&&(e.typeParameters=i),super.parseFunctionParams(e,s)}parseVarId(e,s){super.parseVarId(e,s),e.id.type==="Identifier"&&!this.hasPrecedingLineBreak()&&this.eat(35)&&(e.definite=!0);let i=this.tsTryParseTypeAnnotation();i&&(e.id.typeAnnotation=i,this.resetEndLocation(e.id))}parseAsyncArrowFromCallExpression(e,s){return this.match(14)&&(e.returnType=this.tsParseTypeAnnotation()),super.parseAsyncArrowFromCallExpression(e,s)}parseMaybeAssign(e,s){var i,r,n,o,h;let c,l,u;if(this.hasPlugin("jsx")&&(this.match(142)||this.match(47))){if(c=this.state.clone(),l=this.tryParse(()=>super.parseMaybeAssign(e,s),c),!l.error)return l.node;let{context:y}=this.state,E=y[y.length-1];(E===C.j_oTag||E===C.j_expr)&&y.pop()}if(!((i=l)!=null&&i.error)&&!this.match(47))return super.parseMaybeAssign(e,s);(!c||c===this.state)&&(c=this.state.clone());let f,d=this.tryParse(y=>{var E,L;f=this.tsParseTypeParameters(this.tsParseConstModifier);let S=super.parseMaybeAssign(e,s);return(S.type!=="ArrowFunctionExpression"||(E=S.extra)!=null&&E.parenthesized)&&y(),((L=f)==null?void 0:L.params.length)!==0&&this.resetStartLocationFromNode(S,f),S.typeParameters=f,S},c);if(!d.error&&!d.aborted)return f&&this.reportReservedArrowTypeParam(f),d.node;if(!l&&(jt(!this.hasPlugin("jsx")),u=this.tryParse(()=>super.parseMaybeAssign(e,s),c),!u.error))return u.node;if((r=l)!=null&&r.node)return this.state=l.failState,l.node;if(d.node)return this.state=d.failState,f&&this.reportReservedArrowTypeParam(f),d.node;if((n=u)!=null&&n.node)return this.state=u.failState,u.node;throw((o=l)==null?void 0:o.error)||d.error||((h=u)==null?void 0:h.error)}reportReservedArrowTypeParam(e){var s;e.params.length===1&&!e.params[0].constraint&&!((s=e.extra)!=null&&s.trailingComma)&&this.getPluginOption("typescript","disallowAmbiguousJSXLike")&&this.raise(x.ReservedArrowTypeParam,e)}parseMaybeUnary(e,s){return!this.hasPlugin("jsx")&&this.match(47)?this.tsParseTypeAssertion():super.parseMaybeUnary(e,s)}parseArrow(e){if(this.match(14)){let s=this.tryParse(i=>{let r=this.tsParseTypeOrTypePredicateAnnotation(14);return(this.canInsertSemicolon()||!this.match(19))&&i(),r});if(s.aborted)return;s.thrown||(s.error&&(this.state=s.failState),e.returnType=s.node)}return super.parseArrow(e)}parseAssignableListItemTypes(e,s){if(!(s&2))return e;this.eat(17)&&(e.optional=!0);let i=this.tsTryParseTypeAnnotation();return i&&(e.typeAnnotation=i),this.resetEndLocation(e),e}isAssignable(e,s){switch(e.type){case"TSTypeCastExpression":return this.isAssignable(e.expression,s);case"TSParameterProperty":return!0;default:return super.isAssignable(e,s)}}toAssignable(e,s=!1){switch(e.type){case"ParenthesizedExpression":this.toAssignableParenthesizedExpression(e,s);break;case"TSAsExpression":case"TSSatisfiesExpression":case"TSNonNullExpression":case"TSTypeAssertion":s?this.expressionScope.recordArrowParameterBindingError(x.UnexpectedTypeCastInParameter,e):this.raise(x.UnexpectedTypeCastInParameter,e),this.toAssignable(e.expression,s);break;case"AssignmentExpression":!s&&e.left.type==="TSTypeCastExpression"&&(e.left=this.typeCastToParameter(e.left));default:super.toAssignable(e,s)}}toAssignableParenthesizedExpression(e,s){switch(e.expression.type){case"TSAsExpression":case"TSSatisfiesExpression":case"TSNonNullExpression":case"TSTypeAssertion":case"ParenthesizedExpression":this.toAssignable(e.expression,s);break;default:super.toAssignable(e,s)}}checkToRestConversion(e,s){switch(e.type){case"TSAsExpression":case"TSSatisfiesExpression":case"TSTypeAssertion":case"TSNonNullExpression":this.checkToRestConversion(e.expression,!1);break;default:super.checkToRestConversion(e,s)}}isValidLVal(e,s,i){return Hi({TSTypeCastExpression:!0,TSParameterProperty:"parameter",TSNonNullExpression:"expression",TSInstantiationExpression:"expression",TSAsExpression:(i!==64||!s)&&["expression",!0],TSSatisfiesExpression:(i!==64||!s)&&["expression",!0],TSTypeAssertion:(i!==64||!s)&&["expression",!0]},e)||super.isValidLVal(e,s,i)}parseBindingAtom(){return this.state.type===78?this.parseIdentifier(!0):super.parseBindingAtom()}parseMaybeDecoratorArguments(e){if(this.match(47)||this.match(51)){let s=this.tsParseTypeArgumentsInExpression();if(this.match(10)){let i=super.parseMaybeDecoratorArguments(e);return i.typeParameters=s,i}this.unexpected(null,10)}return super.parseMaybeDecoratorArguments(e)}checkCommaAfterRest(e){return this.state.isAmbientContext&&this.match(12)&&this.lookaheadCharCode()===e?(this.next(),!1):super.checkCommaAfterRest(e)}isClassMethod(){return this.match(47)||super.isClassMethod()}isClassProperty(){return this.match(35)||this.match(14)||super.isClassProperty()}parseMaybeDefault(e,s){let i=super.parseMaybeDefault(e,s);return i.type==="AssignmentPattern"&&i.typeAnnotation&&i.right.startthis.isAssignable(s,!0)):super.shouldParseArrow(e)}shouldParseAsyncArrow(){return this.match(14)||super.shouldParseAsyncArrow()}canHaveLeadingDecorator(){return super.canHaveLeadingDecorator()||this.isAbstractClass()}jsxParseOpeningElementAfterName(e){if(this.match(47)||this.match(51)){let s=this.tsTryParseAndCatch(()=>this.tsParseTypeArgumentsInExpression());s&&(e.typeParameters=s)}return super.jsxParseOpeningElementAfterName(e)}getGetterSetterExpectedParamCount(e){let s=super.getGetterSetterExpectedParamCount(e),r=this.getObjectOrClassMethodParams(e)[0];return r&&this.isThisParam(r)?s+1:s}parseCatchClauseParam(){let e=super.parseCatchClauseParam(),s=this.tsTryParseTypeAnnotation();return s&&(e.typeAnnotation=s,this.resetEndLocation(e)),e}tsInAmbientContext(e){let{isAmbientContext:s,strict:i}=this.state;this.state.isAmbientContext=!0,this.state.strict=!1;try{return e()}finally{this.state.isAmbientContext=s,this.state.strict=i}}parseClass(e,s,i){let r=this.state.inAbstractClass;this.state.inAbstractClass=!!e.abstract;try{return super.parseClass(e,s,i)}finally{this.state.inAbstractClass=r}}tsParseAbstractDeclaration(e,s){if(this.match(80))return e.abstract=!0,this.maybeTakeDecorators(s,this.parseClass(e,!0,!1));if(this.isContextual(129)){if(!this.hasFollowingLineBreak())return e.abstract=!0,this.raise(x.NonClassMethodPropertyHasAbstractModifer,e),this.tsParseInterfaceDeclaration(e)}else this.unexpected(null,80)}parseMethod(e,s,i,r,n,o,h){let c=super.parseMethod(e,s,i,r,n,o,h);if(c.abstract&&(this.hasPlugin("estree")?!!c.value.body:!!c.body)){let{key:u}=c;this.raise(x.AbstractMethodHasImplementation,c,{methodName:u.type==="Identifier"&&!c.computed?u.name:`[${this.input.slice(u.start,u.end)}]`})}return c}tsParseTypeParameterName(){return this.parseIdentifier().name}shouldParseAsAmbientContext(){return!!this.getPluginOption("typescript","dts")}parse(){return this.shouldParseAsAmbientContext()&&(this.state.isAmbientContext=!0),super.parse()}getExpression(){return this.shouldParseAsAmbientContext()&&(this.state.isAmbientContext=!0),super.getExpression()}parseExportSpecifier(e,s,i,r){return!s&&r?(this.parseTypeOnlyImportExportSpecifier(e,!1,i),this.finishNode(e,"ExportSpecifier")):(e.exportKind="value",super.parseExportSpecifier(e,s,i,r))}parseImportSpecifier(e,s,i,r,n){return!s&&r?(this.parseTypeOnlyImportExportSpecifier(e,!0,i),this.finishNode(e,"ImportSpecifier")):(e.importKind="value",super.parseImportSpecifier(e,s,i,r,i?4098:4096))}parseTypeOnlyImportExportSpecifier(e,s,i){let r=s?"imported":"local",n=s?"local":"exported",o=e[r],h,c=!1,l=!0,u=o.loc.start;if(this.isContextual(93)){let d=this.parseIdentifier();if(this.isContextual(93)){let y=this.parseIdentifier();M(this.state.type)?(c=!0,o=d,h=s?this.parseIdentifier():this.parseModuleExportName(),l=!1):(h=y,l=!1)}else M(this.state.type)?(l=!1,h=s?this.parseIdentifier():this.parseModuleExportName()):(c=!0,o=d)}else M(this.state.type)&&(c=!0,s?(o=this.parseIdentifier(!0),this.isContextual(93)||this.checkReservedWord(o.name,o.loc.start,!0,!0)):o=this.parseModuleExportName());c&&i&&this.raise(s?x.TypeModifierIsUsedInTypeImports:x.TypeModifierIsUsedInTypeExports,u),e[r]=o,e[n]=h;let f=s?"importKind":"exportKind";e[f]=c?"type":"value",l&&this.eatContextual(93)&&(e[n]=s?this.parseIdentifier():this.parseModuleExportName()),e[n]||(e[n]=$(e[r])),s&&this.checkIdentifier(e[n],c?4098:4096)}};function Yi(a){if(a.type!=="MemberExpression")return!1;let{computed:t,property:e}=a;return t&&e.type!=="StringLiteral"&&(e.type!=="TemplateLiteral"||e.expressions.length>0)?!1:os(a.object)}function Qi(a,t){var e;let{type:s}=a;if((e=a.extra)!=null&&e.parenthesized)return!1;if(t){if(s==="Literal"){let{value:i}=a;if(typeof i=="string"||typeof i=="boolean")return!0}}else if(s==="StringLiteral"||s==="BooleanLiteral")return!0;return!!(ns(a,t)||Zi(a,t)||s==="TemplateLiteral"&&a.expressions.length===0||Yi(a))}function ns(a,t){return t?a.type==="Literal"&&(typeof a.value=="number"||"bigint"in a):a.type==="NumericLiteral"||a.type==="BigIntLiteral"}function Zi(a,t){if(a.type==="UnaryExpression"){let{operator:e,argument:s}=a;if(e==="-"&&ns(s,t))return!0}return!1}function os(a){return a.type==="Identifier"?!0:a.type!=="MemberExpression"||a.computed?!1:os(a.object)}var Vt=j`placeholders`({ClassNameIsRequired:"A class name is required.",UnexpectedSpace:"Unexpected space in placeholder."}),er=a=>class extends a{parsePlaceholder(e){if(this.match(144)){let s=this.startNode();return this.next(),this.assertNoSpace(),s.name=super.parseIdentifier(!0),this.assertNoSpace(),this.expect(144),this.finishPlaceholder(s,e)}}finishPlaceholder(e,s){let i=e;return(!i.expectedNode||!i.type)&&(i=this.finishNode(i,"Placeholder")),i.expectedNode=s,i}getTokenFromCode(e){e===37&&this.input.charCodeAt(this.state.pos+1)===37?this.finishOp(144,2):super.getTokenFromCode(e)}parseExprAtom(e){return this.parsePlaceholder("Expression")||super.parseExprAtom(e)}parseIdentifier(e){return this.parsePlaceholder("Identifier")||super.parseIdentifier(e)}checkReservedWord(e,s,i,r){e!==void 0&&super.checkReservedWord(e,s,i,r)}parseBindingAtom(){return this.parsePlaceholder("Pattern")||super.parseBindingAtom()}isValidLVal(e,s,i){return e==="Placeholder"||super.isValidLVal(e,s,i)}toAssignable(e,s){e&&e.type==="Placeholder"&&e.expectedNode==="Expression"?e.expectedNode="Pattern":super.toAssignable(e,s)}chStartsBindingIdentifier(e,s){return!!(super.chStartsBindingIdentifier(e,s)||this.lookahead().type===144)}verifyBreakContinue(e,s){e.label&&e.label.type==="Placeholder"||super.verifyBreakContinue(e,s)}parseExpressionStatement(e,s){var i;if(s.type!=="Placeholder"||(i=s.extra)!=null&&i.parenthesized)return super.parseExpressionStatement(e,s);if(this.match(14)){let n=e;return n.label=this.finishPlaceholder(s,"Identifier"),this.next(),n.body=super.parseStatementOrSloppyAnnexBFunctionDeclaration(),this.finishNode(n,"LabeledStatement")}this.semicolon();let r=e;return r.name=s.name,this.finishPlaceholder(r,"Statement")}parseBlock(e,s,i){return this.parsePlaceholder("BlockStatement")||super.parseBlock(e,s,i)}parseFunctionId(e){return this.parsePlaceholder("Identifier")||super.parseFunctionId(e)}parseClass(e,s,i){let r=s?"ClassDeclaration":"ClassExpression";this.next();let n=this.state.strict,o=this.parsePlaceholder("Identifier");if(o)if(this.match(81)||this.match(144)||this.match(5))e.id=o;else{if(i||!s)return e.id=null,e.body=this.finishPlaceholder(o,"ClassBody"),this.finishNode(e,r);throw this.raise(Vt.ClassNameIsRequired,this.state.startLoc)}else this.parseClassId(e,s,i);return super.parseClassSuper(e),e.body=this.parsePlaceholder("ClassBody")||super.parseClassBody(!!e.superClass,n),this.finishNode(e,r)}parseExport(e,s){let i=this.parsePlaceholder("Identifier");if(!i)return super.parseExport(e,s);let r=e;if(!this.isContextual(98)&&!this.match(12))return r.specifiers=[],r.source=null,r.declaration=this.finishPlaceholder(i,"Declaration"),this.finishNode(r,"ExportNamedDeclaration");this.expectPlugin("exportDefaultFrom");let n=this.startNode();return n.exported=i,r.specifiers=[this.finishNode(n,"ExportDefaultSpecifier")],super.parseExport(r,s)}isExportDefaultSpecifier(){if(this.match(65)){let e=this.nextTokenStart();if(this.isUnparsedContextual(e,"from")&&this.input.startsWith(K(144),this.nextTokenStartSince(e+4)))return!0}return super.isExportDefaultSpecifier()}maybeParseExportDefaultSpecifier(e,s){var i;return(i=e.specifiers)!=null&&i.length?!0:super.maybeParseExportDefaultSpecifier(e,s)}checkExport(e){let{specifiers:s}=e;s!=null&&s.length&&(e.specifiers=s.filter(i=>i.exported.type==="Placeholder")),super.checkExport(e),e.specifiers=s}parseImport(e){let s=this.parsePlaceholder("Identifier");if(!s)return super.parseImport(e);if(e.specifiers=[],!this.isContextual(98)&&!this.match(12))return e.source=this.finishPlaceholder(s,"StringLiteral"),this.semicolon(),this.finishNode(e,"ImportDeclaration");let i=this.startNodeAtNode(s);return i.local=s,e.specifiers.push(this.finishNode(i,"ImportDefaultSpecifier")),this.eat(12)&&(this.maybeParseStarImportSpecifier(e)||this.parseNamedImportSpecifiers(e)),this.expectContextual(98),e.source=this.parseImportSource(),this.semicolon(),this.finishNode(e,"ImportDeclaration")}parseImportSource(){return this.parsePlaceholder("StringLiteral")||super.parseImportSource()}assertNoSpace(){this.state.start>this.state.lastTokEndLoc.index&&this.raise(Vt.UnexpectedSpace,this.state.lastTokEndLoc)}},tr=a=>class extends a{parseV8Intrinsic(){if(this.match(54)){let e=this.state.startLoc,s=this.startNode();if(this.next(),w(this.state.type)){let i=this.parseIdentifierName(),r=this.createIdentifier(s,i);if(r.type="V8IntrinsicIdentifier",this.match(10))return r}this.unexpected(e)}}parseExprAtom(e){return this.parseV8Intrinsic()||super.parseExprAtom(e)}};function N(a,t){let[e,s]=typeof t=="string"?[t,{}]:t,i=Object.keys(s),r=i.length===0;return a.some(n=>{if(typeof n=="string")return r&&n===e;{let[o,h]=n;if(o!==e)return!1;for(let c of i)if(h[c]!==s[c])return!1;return!0}})}function J(a,t,e){let s=a.find(i=>Array.isArray(i)?i[0]===t:i===t);return s&&Array.isArray(s)&&s.length>1?s[1][e]:null}var qt=["minimal","fsharp","hack","smart"],zt=["^^","@@","^","%","#"];function sr(a){if(N(a,"decorators")){if(N(a,"decorators-legacy"))throw new Error("Cannot use the decorators and decorators-legacy plugin together");let t=J(a,"decorators","decoratorsBeforeExport");if(t!=null&&typeof t!="boolean")throw new Error("'decoratorsBeforeExport' must be a boolean, if specified.");let e=J(a,"decorators","allowCallParenthesized");if(e!=null&&typeof e!="boolean")throw new Error("'allowCallParenthesized' must be a boolean.")}if(N(a,"flow")&&N(a,"typescript"))throw new Error("Cannot combine flow and typescript plugins.");if(N(a,"placeholders")&&N(a,"v8intrinsic"))throw new Error("Cannot combine placeholders and v8intrinsic plugins.");if(N(a,"pipelineOperator")){let t=J(a,"pipelineOperator","proposal");if(!qt.includes(t)){let i=qt.map(r=>`"${r}"`).join(", ");throw new Error(`"pipelineOperator" requires "proposal" option whose value must be one of: ${i}.`)}let e=["recordAndTuple",{syntaxType:"hash"}],s=N(a,e);if(t==="hack"){if(N(a,"placeholders"))throw new Error("Cannot combine placeholders plugin and Hack-style pipes.");if(N(a,"v8intrinsic"))throw new Error("Cannot combine v8intrinsic plugin and Hack-style pipes.");let i=J(a,"pipelineOperator","topicToken");if(!zt.includes(i)){let r=zt.map(n=>`"${n}"`).join(", ");throw new Error(`"pipelineOperator" in "proposal": "hack" mode also requires a "topicToken" option whose value must be one of: ${r}.`)}if(i==="#"&&s)throw new Error(`Plugin conflict between \`["pipelineOperator", { proposal: "hack", topicToken: "#" }]\` and \`${JSON.stringify(e)}\`.`)}else if(t==="smart"&&s)throw new Error(`Plugin conflict between \`["pipelineOperator", { proposal: "smart" }]\` and \`${JSON.stringify(e)}\`.`)}if(N(a,"moduleAttributes")){if(N(a,"importAssertions")||N(a,"importAttributes"))throw new Error("Cannot combine importAssertions, importAttributes and moduleAttributes plugins.");if(J(a,"moduleAttributes","version")!=="may-2020")throw new Error("The 'moduleAttributes' plugin requires a 'version' option, representing the last proposal update. Currently, the only supported value is 'may-2020'.")}if(N(a,"importAssertions")&&N(a,"importAttributes"))throw new Error("Cannot combine importAssertions and importAttributes plugins.");if(N(a,"recordAndTuple")){let t=J(a,"recordAndTuple","syntaxType");if(t!=null){let e=["hash","bar"];if(!e.includes(t))throw new Error("The 'syntaxType' option of the 'recordAndTuple' plugin must be one of: "+e.map(s=>`'${s}'`).join(", "))}}if(N(a,"asyncDoExpressions")&&!N(a,"doExpressions")){let t=new Error("'asyncDoExpressions' requires 'doExpressions', please add 'doExpressions' to parser plugins.");throw t.missingPlugins="doExpressions",t}if(N(a,"optionalChainingAssign")&&J(a,"optionalChainingAssign","version")!=="2023-07")throw new Error("The 'optionalChainingAssign' plugin requires a 'version' option, representing the last proposal update. Currently, the only supported value is '2023-07'.")}var hs={estree:ri,jsx:zi,flow:qi,typescript:Gi,v8intrinsic:tr,placeholders:er},ir=Object.keys(hs),qe={sourceType:"script",sourceFilename:void 0,startColumn:0,startLine:1,allowAwaitOutsideFunction:!1,allowReturnOutsideFunction:!1,allowNewTargetOutsideFunction:!1,allowImportExportEverywhere:!1,allowSuperOutsideMethod:!1,allowUndeclaredExports:!1,plugins:[],strictMode:null,ranges:!1,tokens:!1,createImportExpressions:!1,createParenthesizedExpressions:!1,errorRecovery:!1,attachComment:!0,annexB:!0};function rr(a){if(a==null)return Object.assign({},qe);if(a.annexB!=null&&a.annexB!==!1)throw new Error("The `annexB` option can only be set to `false`.");let t={};for(let s of Object.keys(qe)){var e;t[s]=(e=a[s])!=null?e:qe[s]}return t}var ct=class extends lt{checkProto(t,e,s,i){if(t.type==="SpreadElement"||this.isObjectMethod(t)||t.computed||t.shorthand)return;let r=t.key;if((r.type==="Identifier"?r.name:r.value)==="__proto__"){if(e){this.raise(p.RecordNoProto,r);return}s.used&&(i?i.doubleProtoLoc===null&&(i.doubleProtoLoc=r.loc.start):this.raise(p.DuplicateProto,r)),s.used=!0}}shouldExitDescending(t,e){return t.type==="ArrowFunctionExpression"&&t.start===e}getExpression(){this.enterInitialScopes(),this.nextToken();let t=this.parseExpression();return this.match(139)||this.unexpected(),this.finalizeRemainingComments(),t.comments=this.comments,t.errors=this.state.errors,this.options.tokens&&(t.tokens=this.tokens),t}parseExpression(t,e){return t?this.disallowInAnd(()=>this.parseExpressionBase(e)):this.allowInAnd(()=>this.parseExpressionBase(e))}parseExpressionBase(t){let e=this.state.startLoc,s=this.parseMaybeAssign(t);if(this.match(12)){let i=this.startNodeAt(e);for(i.expressions=[s];this.eat(12);)i.expressions.push(this.parseMaybeAssign(t));return this.toReferencedList(i.expressions),this.finishNode(i,"SequenceExpression")}return s}parseMaybeAssignDisallowIn(t,e){return this.disallowInAnd(()=>this.parseMaybeAssign(t,e))}parseMaybeAssignAllowIn(t,e){return this.allowInAnd(()=>this.parseMaybeAssign(t,e))}setOptionalParametersError(t,e){var s;t.optionalParametersLoc=(s=e==null?void 0:e.loc)!=null?s:this.state.startLoc}parseMaybeAssign(t,e){let s=this.state.startLoc;if(this.isContextual(108)&&this.prodParam.hasYield){let o=this.parseYield();return e&&(o=e.call(this,o,s)),o}let i;t?i=!1:(t=new Z,i=!0);let{type:r}=this.state;(r===10||w(r))&&(this.state.potentialArrowAt=this.state.start);let n=this.parseMaybeConditional(t);if(e&&(n=e.call(this,n,s)),li(this.state.type)){let o=this.startNodeAt(s),h=this.state.value;if(o.operator=h,this.match(29)){this.toAssignable(n,!0),o.left=n;let c=s.index;t.doubleProtoLoc!=null&&t.doubleProtoLoc.index>=c&&(t.doubleProtoLoc=null),t.shorthandAssignLoc!=null&&t.shorthandAssignLoc.index>=c&&(t.shorthandAssignLoc=null),t.privateKeyLoc!=null&&t.privateKeyLoc.index>=c&&(this.checkDestructuringPrivate(t),t.privateKeyLoc=null)}else o.left=n;return this.next(),o.right=this.parseMaybeAssign(),this.checkLVal(n,{in:this.finishNode(o,"AssignmentExpression")}),o}else i&&this.checkExpressionErrors(t,!0);return n}parseMaybeConditional(t){let e=this.state.startLoc,s=this.state.potentialArrowAt,i=this.parseExprOps(t);return this.shouldExitDescending(i,s)?i:this.parseConditional(i,e,t)}parseConditional(t,e,s){if(this.eat(17)){let i=this.startNodeAt(e);return i.test=t,i.consequent=this.parseMaybeAssignAllowIn(),this.expect(14),i.alternate=this.parseMaybeAssign(),this.finishNode(i,"ConditionalExpression")}return t}parseMaybeUnaryOrPrivate(t){return this.match(138)?this.parsePrivateName():this.parseMaybeUnary(t)}parseExprOps(t){let e=this.state.startLoc,s=this.state.potentialArrowAt,i=this.parseMaybeUnaryOrPrivate(t);return this.shouldExitDescending(i,s)?i:this.parseExprOp(i,e,-1)}parseExprOp(t,e,s){if(this.isPrivateName(t)){let r=this.getPrivateNameSV(t);(s>=Ee(58)||!this.prodParam.hasIn||!this.match(58))&&this.raise(p.PrivateInExpectedIn,t,{identifierName:r}),this.classScope.usePrivateName(r,t.loc.start)}let i=this.state.type;if(pi(i)&&(this.prodParam.hasIn||!this.match(58))){let r=Ee(i);if(r>s){if(i===39){if(this.expectPlugin("pipelineOperator"),this.state.inFSharpPipelineDirectBody)return t;this.checkPipelineAtInfixOperator(t,e)}let n=this.startNodeAt(e);n.left=t,n.operator=this.state.value;let o=i===41||i===42,h=i===40;if(h&&(r=Ee(42)),this.next(),i===39&&this.hasPlugin(["pipelineOperator",{proposal:"minimal"}])&&this.state.type===96&&this.prodParam.hasAwait)throw this.raise(p.UnexpectedAwaitAfterPipelineBody,this.state.startLoc);n.right=this.parseExprOpRightExpr(i,r);let c=this.finishNode(n,o||h?"LogicalExpression":"BinaryExpression"),l=this.state.type;if(h&&(l===41||l===42)||o&&l===40)throw this.raise(p.MixingCoalesceWithLogical,this.state.startLoc);return this.parseExprOp(c,e,s)}}return t}parseExprOpRightExpr(t,e){let s=this.state.startLoc;switch(t){case 39:switch(this.getPluginOption("pipelineOperator","proposal")){case"hack":return this.withTopicBindingContext(()=>this.parseHackPipeBody());case"smart":return this.withTopicBindingContext(()=>{if(this.prodParam.hasYield&&this.isContextual(108))throw this.raise(p.PipeBodyIsTighter,this.state.startLoc);return this.parseSmartPipelineBodyInStyle(this.parseExprOpBaseRightExpr(t,e),s)});case"fsharp":return this.withSoloAwaitPermittingContext(()=>this.parseFSharpPipelineBody(e))}default:return this.parseExprOpBaseRightExpr(t,e)}}parseExprOpBaseRightExpr(t,e){let s=this.state.startLoc;return this.parseExprOp(this.parseMaybeUnaryOrPrivate(),s,yi(t)?e-1:e)}parseHackPipeBody(){var t;let{startLoc:e}=this.state,s=this.parseMaybeAssign();return Qs.has(s.type)&&!((t=s.extra)!=null&&t.parenthesized)&&this.raise(p.PipeUnparenthesizedBody,e,{type:s.type}),this.topicReferenceWasUsedInCurrentContext()||this.raise(p.PipeTopicUnused,e),s}checkExponentialAfterUnary(t){this.match(57)&&this.raise(p.UnexpectedTokenUnaryExponentiation,t.argument)}parseMaybeUnary(t,e){let s=this.state.startLoc,i=this.isContextual(96);if(i&&this.isAwaitAllowed()){this.next();let h=this.parseAwait(s);return e||this.checkExponentialAfterUnary(h),h}let r=this.match(34),n=this.startNode();if(fi(this.state.type)){n.operator=this.state.value,n.prefix=!0,this.match(72)&&this.expectPlugin("throwExpressions");let h=this.match(89);if(this.next(),n.argument=this.parseMaybeUnary(null,!0),this.checkExpressionErrors(t,!0),this.state.strict&&h){let c=n.argument;c.type==="Identifier"?this.raise(p.StrictDelete,n):this.hasPropertyAsPrivateName(c)&&this.raise(p.DeletePrivateField,n)}if(!r)return e||this.checkExponentialAfterUnary(n),this.finishNode(n,"UnaryExpression")}let o=this.parseUpdate(n,r,t);if(i){let{type:h}=this.state;if((this.hasPlugin("v8intrinsic")?He(h):He(h)&&!this.match(54))&&!this.isAmbiguousAwait())return this.raiseOverwrite(p.AwaitNotInAsyncContext,s),this.parseAwait(s)}return o}parseUpdate(t,e,s){if(e){let n=t;return this.checkLVal(n.argument,{in:this.finishNode(n,"UpdateExpression")}),t}let i=this.state.startLoc,r=this.parseExprSubscripts(s);if(this.checkExpressionErrors(s,!1))return r;for(;ui(this.state.type)&&!this.canInsertSemicolon();){let n=this.startNodeAt(i);n.operator=this.state.value,n.prefix=!1,n.argument=r,this.next(),this.checkLVal(r,{in:r=this.finishNode(n,"UpdateExpression")})}return r}parseExprSubscripts(t){let e=this.state.startLoc,s=this.state.potentialArrowAt,i=this.parseExprAtom(t);return this.shouldExitDescending(i,s)?i:this.parseSubscripts(i,e)}parseSubscripts(t,e,s){let i={optionalChainMember:!1,maybeAsyncArrow:this.atPossibleAsyncArrow(t),stop:!1};do t=this.parseSubscript(t,e,s,i),i.maybeAsyncArrow=!1;while(!i.stop);return t}parseSubscript(t,e,s,i){let{type:r}=this.state;if(!s&&r===15)return this.parseBind(t,e,s,i);if(ve(r))return this.parseTaggedTemplateExpression(t,e,i);let n=!1;if(r===18){if(s&&(this.raise(p.OptionalChainingNoNew,this.state.startLoc),this.lookaheadCharCode()===40))return i.stop=!0,t;i.optionalChainMember=n=!0,this.next()}if(!s&&this.match(10))return this.parseCoverCallAndAsyncArrowHead(t,e,i,n);{let o=this.eat(0);return o||n||this.eat(16)?this.parseMember(t,e,i,o,n):(i.stop=!0,t)}}parseMember(t,e,s,i,r){let n=this.startNodeAt(e);return n.object=t,n.computed=i,i?(n.property=this.parseExpression(),this.expect(3)):this.match(138)?(t.type==="Super"&&this.raise(p.SuperPrivateField,e),this.classScope.usePrivateName(this.state.value,this.state.startLoc),n.property=this.parsePrivateName()):n.property=this.parseIdentifier(!0),s.optionalChainMember?(n.optional=r,this.finishNode(n,"OptionalMemberExpression")):this.finishNode(n,"MemberExpression")}parseBind(t,e,s,i){let r=this.startNodeAt(e);return r.object=t,this.next(),r.callee=this.parseNoCallExpr(),i.stop=!0,this.parseSubscripts(this.finishNode(r,"BindExpression"),e,s)}parseCoverCallAndAsyncArrowHead(t,e,s,i){let r=this.state.maybeInArrowParameters,n=null;this.state.maybeInArrowParameters=!0,this.next();let o=this.startNodeAt(e);o.callee=t;let{maybeAsyncArrow:h,optionalChainMember:c}=s;h&&(this.expressionScope.enter(Fi()),n=new Z),c&&(o.optional=i),i?o.arguments=this.parseCallExpressionArguments(11):o.arguments=this.parseCallExpressionArguments(11,t.type==="Import",t.type!=="Super",o,n);let l=this.finishCallExpression(o,c);return h&&this.shouldParseAsyncArrow()&&!i?(s.stop=!0,this.checkDestructuringPrivate(n),this.expressionScope.validateAsPattern(),this.expressionScope.exit(),l=this.parseAsyncArrowFromCallExpression(this.startNodeAt(e),l)):(h&&(this.checkExpressionErrors(n,!0),this.expressionScope.exit()),this.toReferencedArguments(l)),this.state.maybeInArrowParameters=r,l}toReferencedArguments(t,e){this.toReferencedListDeep(t.arguments,e)}parseTaggedTemplateExpression(t,e,s){let i=this.startNodeAt(e);return i.tag=t,i.quasi=this.parseTemplate(!0),s.optionalChainMember&&this.raise(p.OptionalChainingNoTemplate,e),this.finishNode(i,"TaggedTemplateExpression")}atPossibleAsyncArrow(t){return t.type==="Identifier"&&t.name==="async"&&this.state.lastTokEndLoc.index===t.end&&!this.canInsertSemicolon()&&t.end-t.start===5&&t.start===this.state.potentialArrowAt}expectImportAttributesPlugin(){this.hasPlugin("importAssertions")||this.expectPlugin("importAttributes")}finishCallExpression(t,e){if(t.callee.type==="Import")if(t.arguments.length===2&&(this.hasPlugin("moduleAttributes")||this.expectImportAttributesPlugin()),t.arguments.length===0||t.arguments.length>2)this.raise(p.ImportCallArity,t,{maxArgumentCount:this.hasPlugin("importAttributes")||this.hasPlugin("importAssertions")||this.hasPlugin("moduleAttributes")?2:1});else for(let s of t.arguments)s.type==="SpreadElement"&&this.raise(p.ImportCallSpreadArgument,s);return this.finishNode(t,e?"OptionalCallExpression":"CallExpression")}parseCallExpressionArguments(t,e,s,i,r){let n=[],o=!0,h=this.state.inFSharpPipelineDirectBody;for(this.state.inFSharpPipelineDirectBody=!1;!this.eat(t);){if(o)o=!1;else if(this.expect(12),this.match(t)){e&&!this.hasPlugin("importAttributes")&&!this.hasPlugin("importAssertions")&&!this.hasPlugin("moduleAttributes")&&this.raise(p.ImportCallArgumentTrailingComma,this.state.lastTokStartLoc),i&&this.addTrailingCommaExtraToNode(i),this.next();break}n.push(this.parseExprListItem(!1,r,s))}return this.state.inFSharpPipelineDirectBody=h,n}shouldParseAsyncArrow(){return this.match(19)&&!this.canInsertSemicolon()}parseAsyncArrowFromCallExpression(t,e){var s;return this.resetPreviousNodeTrailingComments(e),this.expect(19),this.parseArrowExpression(t,e.arguments,!0,(s=e.extra)==null?void 0:s.trailingCommaLoc),e.innerComments&&ye(t,e.innerComments),e.callee.trailingComments&&ye(t,e.callee.trailingComments),t}parseNoCallExpr(){let t=this.state.startLoc;return this.parseSubscripts(this.parseExprAtom(),t,!0)}parseExprAtom(t){let e,s=null,{type:i}=this.state;switch(i){case 79:return this.parseSuper();case 83:return e=this.startNode(),this.next(),this.match(16)?this.parseImportMetaProperty(e):this.match(10)?this.options.createImportExpressions?this.parseImportCall(e):this.finishNode(e,"Import"):(this.raise(p.UnsupportedImport,this.state.lastTokStartLoc),this.finishNode(e,"Import"));case 78:return e=this.startNode(),this.next(),this.finishNode(e,"ThisExpression");case 90:return this.parseDo(this.startNode(),!1);case 56:case 31:return this.readRegexp(),this.parseRegExpLiteral(this.state.value);case 134:return this.parseNumericLiteral(this.state.value);case 135:return this.parseBigIntLiteral(this.state.value);case 136:return this.parseDecimalLiteral(this.state.value);case 133:return this.parseStringLiteral(this.state.value);case 84:return this.parseNullLiteral();case 85:return this.parseBooleanLiteral(!0);case 86:return this.parseBooleanLiteral(!1);case 10:{let r=this.state.potentialArrowAt===this.state.start;return this.parseParenAndDistinguishExpression(r)}case 2:case 1:return this.parseArrayLike(this.state.type===2?4:3,!1,!0);case 0:return this.parseArrayLike(3,!0,!1,t);case 6:case 7:return this.parseObjectLike(this.state.type===6?9:8,!1,!0);case 5:return this.parseObjectLike(8,!1,!1,t);case 68:return this.parseFunctionOrFunctionSent();case 26:s=this.parseDecorators();case 80:return this.parseClass(this.maybeTakeDecorators(s,this.startNode()),!1);case 77:return this.parseNewOrNewTarget();case 25:case 24:return this.parseTemplate(!1);case 15:{e=this.startNode(),this.next(),e.object=null;let r=e.callee=this.parseNoCallExpr();if(r.type==="MemberExpression")return this.finishNode(e,"BindExpression");throw this.raise(p.UnsupportedBind,r)}case 138:return this.raise(p.PrivateInExpectedIn,this.state.startLoc,{identifierName:this.state.value}),this.parsePrivateName();case 33:return this.parseTopicReferenceThenEqualsSign(54,"%");case 32:return this.parseTopicReferenceThenEqualsSign(44,"^");case 37:case 38:return this.parseTopicReference("hack");case 44:case 54:case 27:{let r=this.getPluginOption("pipelineOperator","proposal");if(r)return this.parseTopicReference(r);this.unexpected();break}case 47:{let r=this.input.codePointAt(this.nextTokenStart());_(r)||r===62?this.expectOnePlugin(["jsx","flow","typescript"]):this.unexpected();break}default:if(w(i)){if(this.isContextual(127)&&this.lookaheadInLineCharCode()===123)return this.parseModuleExpression();let r=this.state.potentialArrowAt===this.state.start,n=this.state.containsEsc,o=this.parseIdentifier();if(!n&&o.name==="async"&&!this.canInsertSemicolon()){let{type:h}=this.state;if(h===68)return this.resetPreviousNodeTrailingComments(o),this.next(),this.parseAsyncFunctionExpression(this.startNodeAtNode(o));if(w(h))return this.lookaheadCharCode()===61?this.parseAsyncArrowUnaryFunction(this.startNodeAtNode(o)):o;if(h===90)return this.resetPreviousNodeTrailingComments(o),this.parseDo(this.startNodeAtNode(o),!0)}return r&&this.match(19)&&!this.canInsertSemicolon()?(this.next(),this.parseArrowExpression(this.startNodeAtNode(o),[o],!1)):o}else this.unexpected()}}parseTopicReferenceThenEqualsSign(t,e){let s=this.getPluginOption("pipelineOperator","proposal");if(s)return this.state.type=t,this.state.value=e,this.state.pos--,this.state.end--,this.state.endLoc=v(this.state.endLoc,-1),this.parseTopicReference(s);this.unexpected()}parseTopicReference(t){let e=this.startNode(),s=this.state.startLoc,i=this.state.type;return this.next(),this.finishTopicReference(e,s,t,i)}finishTopicReference(t,e,s,i){if(this.testTopicReferenceConfiguration(s,e,i)){let r=s==="smart"?"PipelinePrimaryTopicReference":"TopicReference";return this.topicReferenceIsAllowedInCurrentContext()||this.raise(s==="smart"?p.PrimaryTopicNotAllowed:p.PipeTopicUnbound,e),this.registerTopicReference(),this.finishNode(t,r)}else throw this.raise(p.PipeTopicUnconfiguredToken,e,{token:K(i)})}testTopicReferenceConfiguration(t,e,s){switch(t){case"hack":return this.hasPlugin(["pipelineOperator",{topicToken:K(s)}]);case"smart":return s===27;default:throw this.raise(p.PipeTopicRequiresHackPipes,e)}}parseAsyncArrowUnaryFunction(t){this.prodParam.enter(Ne(!0,this.prodParam.hasYield));let e=[this.parseIdentifier()];return this.prodParam.exit(),this.hasPrecedingLineBreak()&&this.raise(p.LineTerminatorBeforeArrow,this.state.curPosition()),this.expect(19),this.parseArrowExpression(t,e,!0)}parseDo(t,e){this.expectPlugin("doExpressions"),e&&this.expectPlugin("asyncDoExpressions"),t.async=e,this.next();let s=this.state.labels;return this.state.labels=[],e?(this.prodParam.enter(2),t.body=this.parseBlock(),this.prodParam.exit()):t.body=this.parseBlock(),this.state.labels=s,this.finishNode(t,"DoExpression")}parseSuper(){let t=this.startNode();return this.next(),this.match(10)&&!this.scope.allowDirectSuper&&!this.options.allowSuperOutsideMethod?this.raise(p.SuperNotAllowed,t):!this.scope.allowSuper&&!this.options.allowSuperOutsideMethod&&this.raise(p.UnexpectedSuper,t),!this.match(10)&&!this.match(0)&&!this.match(16)&&this.raise(p.UnsupportedSuper,t),this.finishNode(t,"Super")}parsePrivateName(){let t=this.startNode(),e=this.startNodeAt(v(this.state.startLoc,1)),s=this.state.value;return this.next(),t.id=this.createIdentifier(e,s),this.finishNode(t,"PrivateName")}parseFunctionOrFunctionSent(){let t=this.startNode();if(this.next(),this.prodParam.hasYield&&this.match(16)){let e=this.createIdentifier(this.startNodeAtNode(t),"function");return this.next(),this.match(103)?this.expectPlugin("functionSent"):this.hasPlugin("functionSent")||this.unexpected(),this.parseMetaProperty(t,e,"sent")}return this.parseFunction(t)}parseMetaProperty(t,e,s){t.meta=e;let i=this.state.containsEsc;return t.property=this.parseIdentifier(!0),(t.property.name!==s||i)&&this.raise(p.UnsupportedMetaProperty,t.property,{target:e.name,onlyValidPropertyName:s}),this.finishNode(t,"MetaProperty")}parseImportMetaProperty(t){let e=this.createIdentifier(this.startNodeAtNode(t),"import");if(this.next(),this.isContextual(101))this.inModule||this.raise(p.ImportMetaOutsideModule,e),this.sawUnambiguousESM=!0;else if(this.isContextual(105)||this.isContextual(97)){let s=this.isContextual(105);if(s||this.unexpected(),this.expectPlugin(s?"sourcePhaseImports":"deferredImportEvaluation"),!this.options.createImportExpressions)throw this.raise(p.DynamicImportPhaseRequiresImportExpressions,this.state.startLoc,{phase:this.state.value});return this.next(),t.phase=s?"source":"defer",this.parseImportCall(t)}return this.parseMetaProperty(t,e,"meta")}parseLiteralAtNode(t,e,s){return this.addExtra(s,"rawValue",t),this.addExtra(s,"raw",this.input.slice(s.start,this.state.end)),s.value=t,this.next(),this.finishNode(s,e)}parseLiteral(t,e){let s=this.startNode();return this.parseLiteralAtNode(t,e,s)}parseStringLiteral(t){return this.parseLiteral(t,"StringLiteral")}parseNumericLiteral(t){return this.parseLiteral(t,"NumericLiteral")}parseBigIntLiteral(t){return this.parseLiteral(t,"BigIntLiteral")}parseDecimalLiteral(t){return this.parseLiteral(t,"DecimalLiteral")}parseRegExpLiteral(t){let e=this.startNode();return this.addExtra(e,"raw",this.input.slice(e.start,this.state.end)),e.pattern=t.pattern,e.flags=t.flags,this.next(),this.finishNode(e,"RegExpLiteral")}parseBooleanLiteral(t){let e=this.startNode();return e.value=t,this.next(),this.finishNode(e,"BooleanLiteral")}parseNullLiteral(){let t=this.startNode();return this.next(),this.finishNode(t,"NullLiteral")}parseParenAndDistinguishExpression(t){let e=this.state.startLoc,s;this.next(),this.expressionScope.enter(Oi());let i=this.state.maybeInArrowParameters,r=this.state.inFSharpPipelineDirectBody;this.state.maybeInArrowParameters=!0,this.state.inFSharpPipelineDirectBody=!1;let n=this.state.startLoc,o=[],h=new Z,c=!0,l,u;for(;!this.match(11);){if(c)c=!1;else if(this.expect(12,h.optionalParametersLoc===null?null:h.optionalParametersLoc),this.match(11)){u=this.state.startLoc;break}if(this.match(21)){let y=this.state.startLoc;if(l=this.state.startLoc,o.push(this.parseParenItem(this.parseRestBinding(),y)),!this.checkCommaAfterRest(41))break}else o.push(this.parseMaybeAssignAllowIn(h,this.parseParenItem))}let f=this.state.lastTokEndLoc;this.expect(11),this.state.maybeInArrowParameters=i,this.state.inFSharpPipelineDirectBody=r;let d=this.startNodeAt(e);return t&&this.shouldParseArrow(o)&&(d=this.parseArrow(d))?(this.checkDestructuringPrivate(h),this.expressionScope.validateAsPattern(),this.expressionScope.exit(),this.parseArrowExpression(d,o,!1),d):(this.expressionScope.exit(),o.length||this.unexpected(this.state.lastTokStartLoc),u&&this.unexpected(u),l&&this.unexpected(l),this.checkExpressionErrors(h,!0),this.toReferencedListDeep(o,!0),o.length>1?(s=this.startNodeAt(n),s.expressions=o,this.finishNode(s,"SequenceExpression"),this.resetEndLocation(s,f)):s=o[0],this.wrapParenthesis(e,s))}wrapParenthesis(t,e){if(!this.options.createParenthesizedExpressions)return this.addExtra(e,"parenthesized",!0),this.addExtra(e,"parenStart",t.index),this.takeSurroundingComments(e,t.index,this.state.lastTokEndLoc.index),e;let s=this.startNodeAt(t);return s.expression=e,this.finishNode(s,"ParenthesizedExpression")}shouldParseArrow(t){return!this.canInsertSemicolon()}parseArrow(t){if(this.eat(19))return t}parseParenItem(t,e){return t}parseNewOrNewTarget(){let t=this.startNode();if(this.next(),this.match(16)){let e=this.createIdentifier(this.startNodeAtNode(t),"new");this.next();let s=this.parseMetaProperty(t,e,"target");return!this.scope.inNonArrowFunction&&!this.scope.inClass&&!this.options.allowNewTargetOutsideFunction&&this.raise(p.UnexpectedNewTarget,s),s}return this.parseNew(t)}parseNew(t){if(this.parseNewCallee(t),this.eat(10)){let e=this.parseExprList(11);this.toReferencedList(e),t.arguments=e}else t.arguments=[];return this.finishNode(t,"NewExpression")}parseNewCallee(t){let e=this.match(83),s=this.parseNoCallExpr();t.callee=s,e&&(s.type==="Import"||s.type==="ImportExpression")&&this.raise(p.ImportCallNotNewExpression,s)}parseTemplateElement(t){let{start:e,startLoc:s,end:i,value:r}=this.state,n=e+1,o=this.startNodeAt(v(s,1));r===null&&(t||this.raise(p.InvalidEscapeSequenceTemplate,v(this.state.firstInvalidTemplateEscapePos,1)));let h=this.match(24),c=h?-1:-2,l=i+c;o.value={raw:this.input.slice(n,l).replace(/\r\n?/g,` +`),cooked:r===null?null:r.slice(1,c)},o.tail=h,this.next();let u=this.finishNode(o,"TemplateElement");return this.resetEndLocation(u,v(this.state.lastTokEndLoc,c)),u}parseTemplate(t){let e=this.startNode(),s=this.parseTemplateElement(t),i=[s],r=[];for(;!s.tail;)r.push(this.parseTemplateSubstitution()),this.readTemplateContinuation(),i.push(s=this.parseTemplateElement(t));return e.expressions=r,e.quasis=i,this.finishNode(e,"TemplateLiteral")}parseTemplateSubstitution(){return this.parseExpression()}parseObjectLike(t,e,s,i){s&&this.expectPlugin("recordAndTuple");let r=this.state.inFSharpPipelineDirectBody;this.state.inFSharpPipelineDirectBody=!1;let n=Object.create(null),o=!0,h=this.startNode();for(h.properties=[],this.next();!this.match(t);){if(o)o=!1;else if(this.expect(12),this.match(t)){this.addTrailingCommaExtraToNode(h);break}let l;e?l=this.parseBindingProperty():(l=this.parsePropertyDefinition(i),this.checkProto(l,s,n,i)),s&&!this.isObjectProperty(l)&&l.type!=="SpreadElement"&&this.raise(p.InvalidRecordProperty,l),l.shorthand&&this.addExtra(l,"shorthand",!0),h.properties.push(l)}this.next(),this.state.inFSharpPipelineDirectBody=r;let c="ObjectExpression";return e?c="ObjectPattern":s&&(c="RecordExpression"),this.finishNode(h,c)}addTrailingCommaExtraToNode(t){this.addExtra(t,"trailingComma",this.state.lastTokStartLoc.index),this.addExtra(t,"trailingCommaLoc",this.state.lastTokStartLoc,!1)}maybeAsyncOrAccessorProp(t){return!t.computed&&t.key.type==="Identifier"&&(this.isLiteralPropertyName()||this.match(0)||this.match(55))}parsePropertyDefinition(t){let e=[];if(this.match(26))for(this.hasPlugin("decorators")&&this.raise(p.UnsupportedPropertyDecorator,this.state.startLoc);this.match(26);)e.push(this.parseDecorator());let s=this.startNode(),i=!1,r=!1,n;if(this.match(21))return e.length&&this.unexpected(),this.parseSpread();e.length&&(s.decorators=e,e=[]),s.method=!1,t&&(n=this.state.startLoc);let o=this.eat(55);this.parsePropertyNamePrefixOperator(s);let h=this.state.containsEsc;if(this.parsePropertyName(s,t),!o&&!h&&this.maybeAsyncOrAccessorProp(s)){let{key:c}=s,l=c.name;l==="async"&&!this.hasPrecedingLineBreak()&&(i=!0,this.resetPreviousNodeTrailingComments(c),o=this.eat(55),this.parsePropertyName(s)),(l==="get"||l==="set")&&(r=!0,this.resetPreviousNodeTrailingComments(c),s.kind=l,this.match(55)&&(o=!0,this.raise(p.AccessorIsGenerator,this.state.curPosition(),{kind:l}),this.next()),this.parsePropertyName(s))}return this.parseObjPropValue(s,n,o,i,!1,r,t)}getGetterSetterExpectedParamCount(t){return t.kind==="get"?0:1}getObjectOrClassMethodParams(t){return t.params}checkGetterSetterParams(t){var e;let s=this.getGetterSetterExpectedParamCount(t),i=this.getObjectOrClassMethodParams(t);i.length!==s&&this.raise(t.kind==="get"?p.BadGetterArity:p.BadSetterArity,t),t.kind==="set"&&((e=i[i.length-1])==null?void 0:e.type)==="RestElement"&&this.raise(p.BadSetterRestParameter,t)}parseObjectMethod(t,e,s,i,r){if(r){let n=this.parseMethod(t,e,!1,!1,!1,"ObjectMethod");return this.checkGetterSetterParams(n),n}if(s||e||this.match(10))return i&&this.unexpected(),t.kind="method",t.method=!0,this.parseMethod(t,e,s,!1,!1,"ObjectMethod")}parseObjectProperty(t,e,s,i){if(t.shorthand=!1,this.eat(14))return t.value=s?this.parseMaybeDefault(this.state.startLoc):this.parseMaybeAssignAllowIn(i),this.finishNode(t,"ObjectProperty");if(!t.computed&&t.key.type==="Identifier"){if(this.checkReservedWord(t.key.name,t.key.loc.start,!0,!1),s)t.value=this.parseMaybeDefault(e,$(t.key));else if(this.match(29)){let r=this.state.startLoc;i!=null?i.shorthandAssignLoc===null&&(i.shorthandAssignLoc=r):this.raise(p.InvalidCoverInitializedName,r),t.value=this.parseMaybeDefault(e,$(t.key))}else t.value=$(t.key);return t.shorthand=!0,this.finishNode(t,"ObjectProperty")}}parseObjPropValue(t,e,s,i,r,n,o){let h=this.parseObjectMethod(t,s,i,r,n)||this.parseObjectProperty(t,e,r,o);return h||this.unexpected(),h}parsePropertyName(t,e){if(this.eat(0))t.computed=!0,t.key=this.parseMaybeAssignAllowIn(),this.expect(3);else{let{type:s,value:i}=this.state,r;if(M(s))r=this.parseIdentifier(!0);else switch(s){case 134:r=this.parseNumericLiteral(i);break;case 133:r=this.parseStringLiteral(i);break;case 135:r=this.parseBigIntLiteral(i);break;case 136:r=this.parseDecimalLiteral(i);break;case 138:{let n=this.state.startLoc;e!=null?e.privateKeyLoc===null&&(e.privateKeyLoc=n):this.raise(p.UnexpectedPrivateField,n),r=this.parsePrivateName();break}default:this.unexpected()}t.key=r,s!==138&&(t.computed=!1)}}initFunction(t,e){t.id=null,t.generator=!1,t.async=e}parseMethod(t,e,s,i,r,n,o=!1){this.initFunction(t,s),t.generator=e,this.scope.enter(18|(o?64:0)|(r?32:0)),this.prodParam.enter(Ne(s,t.generator)),this.parseFunctionParams(t,i);let h=this.parseFunctionBodyAndFinish(t,n,!0);return this.prodParam.exit(),this.scope.exit(),h}parseArrayLike(t,e,s,i){s&&this.expectPlugin("recordAndTuple");let r=this.state.inFSharpPipelineDirectBody;this.state.inFSharpPipelineDirectBody=!1;let n=this.startNode();return this.next(),n.elements=this.parseExprList(t,!s,i,n),this.state.inFSharpPipelineDirectBody=r,this.finishNode(n,s?"TupleExpression":"ArrayExpression")}parseArrowExpression(t,e,s,i){this.scope.enter(6);let r=Ne(s,!1);!this.match(5)&&this.prodParam.hasIn&&(r|=8),this.prodParam.enter(r),this.initFunction(t,s);let n=this.state.maybeInArrowParameters;return e&&(this.state.maybeInArrowParameters=!0,this.setArrowFunctionParameters(t,e,i)),this.state.maybeInArrowParameters=!1,this.parseFunctionBody(t,!0),this.prodParam.exit(),this.scope.exit(),this.state.maybeInArrowParameters=n,this.finishNode(t,"ArrowFunctionExpression")}setArrowFunctionParameters(t,e,s){this.toAssignableList(e,s,!1),t.params=e}parseFunctionBodyAndFinish(t,e,s=!1){return this.parseFunctionBody(t,!1,s),this.finishNode(t,e)}parseFunctionBody(t,e,s=!1){let i=e&&!this.match(5);if(this.expressionScope.enter(rs()),i)t.body=this.parseMaybeAssign(),this.checkParams(t,!1,e,!1);else{let r=this.state.strict,n=this.state.labels;this.state.labels=[],this.prodParam.enter(this.prodParam.currentFlags()|4),t.body=this.parseBlock(!0,!1,o=>{let h=!this.isSimpleParamList(t.params);o&&h&&this.raise(p.IllegalLanguageModeDirective,(t.kind==="method"||t.kind==="constructor")&&t.key?t.key.loc.end:t);let c=!r&&this.state.strict;this.checkParams(t,!this.state.strict&&!e&&!s&&!h,e,c),this.state.strict&&t.id&&this.checkIdentifier(t.id,65,c)}),this.prodParam.exit(),this.state.labels=n}this.expressionScope.exit()}isSimpleParameter(t){return t.type==="Identifier"}isSimpleParamList(t){for(let e=0,s=t.length;e10||!Ei(t))return;if(s&&Si(t)){this.raise(p.UnexpectedKeyword,e,{keyword:t});return}if((this.state.strict?i?Zt:Yt:Gt)(t,this.inModule)){this.raise(p.UnexpectedReservedWord,e,{reservedWord:t});return}else if(t==="yield"){if(this.prodParam.hasYield){this.raise(p.YieldBindingIdentifier,e);return}}else if(t==="await"){if(this.prodParam.hasAwait){this.raise(p.AwaitBindingIdentifier,e);return}if(this.scope.inStaticBlock){this.raise(p.AwaitBindingIdentifierInStaticBlock,e);return}this.expressionScope.recordAsyncArrowParametersError(e)}else if(t==="arguments"&&this.scope.inClassAndNotInNonArrowFunction){this.raise(p.ArgumentsInClass,e);return}}isAwaitAllowed(){return!!(this.prodParam.hasAwait||this.options.allowAwaitOutsideFunction&&!this.scope.inFunction)}parseAwait(t){let e=this.startNodeAt(t);return this.expressionScope.recordParameterInitializerError(p.AwaitExpressionFormalParameter,e),this.eat(55)&&this.raise(p.ObsoleteAwaitStar,e),!this.scope.inFunction&&!this.options.allowAwaitOutsideFunction&&(this.isAmbiguousAwait()?this.ambiguousScriptDifferentAst=!0:this.sawUnambiguousESM=!0),this.state.soloAwait||(e.argument=this.parseMaybeUnary(null,!0)),this.finishNode(e,"AwaitExpression")}isAmbiguousAwait(){if(this.hasPrecedingLineBreak())return!0;let{type:t}=this.state;return t===53||t===10||t===0||ve(t)||t===102&&!this.state.containsEsc||t===137||t===56||this.hasPlugin("v8intrinsic")&&t===54}parseYield(){let t=this.startNode();this.expressionScope.recordParameterInitializerError(p.YieldInParameter,t),this.next();let e=!1,s=null;if(!this.hasPrecedingLineBreak())switch(e=this.eat(55),this.state.type){case 13:case 139:case 8:case 11:case 3:case 9:case 14:case 12:if(!e)break;default:s=this.parseMaybeAssign()}return t.delegate=e,t.argument=s,this.finishNode(t,"YieldExpression")}parseImportCall(t){return this.next(),t.source=this.parseMaybeAssignAllowIn(),(this.hasPlugin("importAttributes")||this.hasPlugin("importAssertions"))&&(t.options=null),this.eat(12)&&(this.expectImportAttributesPlugin(),this.match(11)||(t.options=this.parseMaybeAssignAllowIn(),this.eat(12))),this.expect(11),this.finishNode(t,"ImportExpression")}checkPipelineAtInfixOperator(t,e){this.hasPlugin(["pipelineOperator",{proposal:"smart"}])&&t.type==="SequenceExpression"&&this.raise(p.PipelineHeadSequenceExpression,e)}parseSmartPipelineBodyInStyle(t,e){if(this.isSimpleReference(t)){let s=this.startNodeAt(e);return s.callee=t,this.finishNode(s,"PipelineBareFunction")}else{let s=this.startNodeAt(e);return this.checkSmartPipeTopicBodyEarlyErrors(e),s.expression=t,this.finishNode(s,"PipelineTopicExpression")}}isSimpleReference(t){switch(t.type){case"MemberExpression":return!t.computed&&this.isSimpleReference(t.object);case"Identifier":return!0;default:return!1}}checkSmartPipeTopicBodyEarlyErrors(t){if(this.match(19))throw this.raise(p.PipelineBodyNoArrow,this.state.startLoc);this.topicReferenceWasUsedInCurrentContext()||this.raise(p.PipelineTopicUnused,t)}withTopicBindingContext(t){let e=this.state.topicContext;this.state.topicContext={maxNumOfResolvableTopics:1,maxTopicIndex:null};try{return t()}finally{this.state.topicContext=e}}withSmartMixTopicForbiddingContext(t){if(this.hasPlugin(["pipelineOperator",{proposal:"smart"}])){let e=this.state.topicContext;this.state.topicContext={maxNumOfResolvableTopics:0,maxTopicIndex:null};try{return t()}finally{this.state.topicContext=e}}else return t()}withSoloAwaitPermittingContext(t){let e=this.state.soloAwait;this.state.soloAwait=!0;try{return t()}finally{this.state.soloAwait=e}}allowInAnd(t){let e=this.prodParam.currentFlags();if(8&~e){this.prodParam.enter(e|8);try{return t()}finally{this.prodParam.exit()}}return t()}disallowInAnd(t){let e=this.prodParam.currentFlags();if(8&e){this.prodParam.enter(e&-9);try{return t()}finally{this.prodParam.exit()}}return t()}registerTopicReference(){this.state.topicContext.maxTopicIndex=0}topicReferenceIsAllowedInCurrentContext(){return this.state.topicContext.maxNumOfResolvableTopics>=1}topicReferenceWasUsedInCurrentContext(){return this.state.topicContext.maxTopicIndex!=null&&this.state.topicContext.maxTopicIndex>=0}parseFSharpPipelineBody(t){let e=this.state.startLoc;this.state.potentialArrowAt=this.state.start;let s=this.state.inFSharpPipelineDirectBody;this.state.inFSharpPipelineDirectBody=!0;let i=this.parseExprOp(this.parseMaybeUnaryOrPrivate(),e,t);return this.state.inFSharpPipelineDirectBody=s,i}parseModuleExpression(){this.expectPlugin("moduleBlocks");let t=this.startNode();this.next(),this.match(5)||this.unexpected(null,5);let e=this.startNodeAt(this.state.endLoc);this.next();let s=this.initializeScopes(!0);this.enterInitialScopes();try{t.body=this.parseProgram(e,8,"module")}finally{s()}return this.finishNode(t,"ModuleExpression")}parsePropertyNamePrefixOperator(t){}},ze={kind:1},ar={kind:2},nr=/[\uD800-\uDFFF]/u,Ke=/in(?:stanceof)?/y;function or(a,t){for(let e=0;e0)for(let[r,n]of Array.from(this.scope.undefinedExports))this.raise(p.ModuleExportUndefined,n,{localName:r});let i;return e===139?i=this.finishNode(t,"Program"):i=this.finishNodeAt(t,"Program",v(this.state.startLoc,-1)),i}stmtToDirective(t){let e=t;e.type="Directive",e.value=e.expression,delete e.expression;let s=e.value,i=s.value,r=this.input.slice(s.start,s.end),n=s.value=r.slice(1,-1);return this.addExtra(s,"raw",r),this.addExtra(s,"rawValue",n),this.addExtra(s,"expressionValue",i),s.type="DirectiveLiteral",e}parseInterpreterDirective(){if(!this.match(28))return null;let t=this.startNode();return t.value=this.state.value,this.next(),this.finishNode(t,"InterpreterDirective")}isLet(){return this.isContextual(100)?this.hasFollowingBindingAtom():!1}chStartsBindingIdentifier(t,e){if(_(t)){if(Ke.lastIndex=e,Ke.test(this.input)){let s=this.codePointAtPos(Ke.lastIndex);if(!Q(s)&&s!==92)return!1}return!0}else return t===92}chStartsBindingPattern(t){return t===91||t===123}hasFollowingBindingAtom(){let t=this.nextTokenStart(),e=this.codePointAtPos(t);return this.chStartsBindingPattern(e)||this.chStartsBindingIdentifier(e,t)}hasInLineFollowingBindingIdentifierOrBrace(){let t=this.nextTokenInLineStart(),e=this.codePointAtPos(t);return e===123||this.chStartsBindingIdentifier(e,t)}startsUsingForOf(){let{type:t,containsEsc:e}=this.lookahead();if(t===102&&!e)return!1;if(w(t)&&!this.hasFollowingLineBreak())return this.expectPlugin("explicitResourceManagement"),!0}startsAwaitUsing(){let t=this.nextTokenInLineStart();if(this.isUnparsedContextual(t,"using")){t=this.nextTokenInLineStartSince(t+5);let e=this.codePointAtPos(t);if(this.chStartsBindingIdentifier(e,t))return this.expectPlugin("explicitResourceManagement"),!0}return!1}parseModuleItem(){return this.parseStatementLike(15)}parseStatementListItem(){return this.parseStatementLike(6|(!this.options.annexB||this.state.strict?0:8))}parseStatementOrSloppyAnnexBFunctionDeclaration(t=!1){let e=0;return this.options.annexB&&!this.state.strict&&(e|=4,t&&(e|=8)),this.parseStatementLike(e)}parseStatement(){return this.parseStatementLike(0)}parseStatementLike(t){let e=null;return this.match(26)&&(e=this.parseDecorators(!0)),this.parseStatementContent(t,e)}parseStatementContent(t,e){let s=this.state.type,i=this.startNode(),r=!!(t&2),n=!!(t&4),o=t&1;switch(s){case 60:return this.parseBreakContinueStatement(i,!0);case 63:return this.parseBreakContinueStatement(i,!1);case 64:return this.parseDebuggerStatement(i);case 90:return this.parseDoWhileStatement(i);case 91:return this.parseForStatement(i);case 68:if(this.lookaheadCharCode()===46)break;return n||this.raise(this.state.strict?p.StrictFunction:this.options.annexB?p.SloppyFunctionAnnexB:p.SloppyFunction,this.state.startLoc),this.parseFunctionStatement(i,!1,!r&&n);case 80:return r||this.unexpected(),this.parseClass(this.maybeTakeDecorators(e,i),!0);case 69:return this.parseIfStatement(i);case 70:return this.parseReturnStatement(i);case 71:return this.parseSwitchStatement(i);case 72:return this.parseThrowStatement(i);case 73:return this.parseTryStatement(i);case 96:if(!this.state.containsEsc&&this.startsAwaitUsing())return this.isAwaitAllowed()?r||this.raise(p.UnexpectedLexicalDeclaration,i):this.raise(p.AwaitUsingNotInAsyncContext,i),this.next(),this.parseVarStatement(i,"await using");break;case 107:if(this.state.containsEsc||!this.hasInLineFollowingBindingIdentifierOrBrace())break;return this.expectPlugin("explicitResourceManagement"),!this.scope.inModule&&this.scope.inTopLevel?this.raise(p.UnexpectedUsingDeclaration,this.state.startLoc):r||this.raise(p.UnexpectedLexicalDeclaration,this.state.startLoc),this.parseVarStatement(i,"using");case 100:{if(this.state.containsEsc)break;let l=this.nextTokenStart(),u=this.codePointAtPos(l);if(u!==91&&(!r&&this.hasFollowingLineBreak()||!this.chStartsBindingIdentifier(u,l)&&u!==123))break}case 75:r||this.raise(p.UnexpectedLexicalDeclaration,this.state.startLoc);case 74:{let l=this.state.value;return this.parseVarStatement(i,l)}case 92:return this.parseWhileStatement(i);case 76:return this.parseWithStatement(i);case 5:return this.parseBlock();case 13:return this.parseEmptyStatement(i);case 83:{let l=this.lookaheadCharCode();if(l===40||l===46)break}case 82:{!this.options.allowImportExportEverywhere&&!o&&this.raise(p.UnexpectedImportExport,this.state.startLoc),this.next();let l;return s===83?(l=this.parseImport(i),l.type==="ImportDeclaration"&&(!l.importKind||l.importKind==="value")&&(this.sawUnambiguousESM=!0)):(l=this.parseExport(i,e),(l.type==="ExportNamedDeclaration"&&(!l.exportKind||l.exportKind==="value")||l.type==="ExportAllDeclaration"&&(!l.exportKind||l.exportKind==="value")||l.type==="ExportDefaultDeclaration")&&(this.sawUnambiguousESM=!0)),this.assertModuleNodeAllowed(l),l}default:if(this.isAsyncFunction())return r||this.raise(p.AsyncFunctionInSingleStatementContext,this.state.startLoc),this.next(),this.parseFunctionStatement(i,!0,!r&&n)}let h=this.state.value,c=this.parseExpression();return w(s)&&c.type==="Identifier"&&this.eat(14)?this.parseLabeledStatement(i,h,c,t):this.parseExpressionStatement(i,c,e)}assertModuleNodeAllowed(t){!this.options.allowImportExportEverywhere&&!this.inModule&&this.raise(p.ImportOutsideModule,t)}decoratorsEnabledBeforeExport(){return this.hasPlugin("decorators-legacy")?!0:this.hasPlugin("decorators")&&this.getPluginOption("decorators","decoratorsBeforeExport")!==!1}maybeTakeDecorators(t,e,s){return t&&(e.decorators&&e.decorators.length>0?(typeof this.getPluginOption("decorators","decoratorsBeforeExport")!="boolean"&&this.raise(p.DecoratorsBeforeAfterExport,e.decorators[0]),e.decorators.unshift(...t)):e.decorators=t,this.resetStartLocationFromNode(e,t[0]),s&&this.resetStartLocationFromNode(s,e)),e}canHaveLeadingDecorator(){return this.match(80)}parseDecorators(t){let e=[];do e.push(this.parseDecorator());while(this.match(26));if(this.match(82))t||this.unexpected(),this.decoratorsEnabledBeforeExport()||this.raise(p.DecoratorExportClass,this.state.startLoc);else if(!this.canHaveLeadingDecorator())throw this.raise(p.UnexpectedLeadingDecorator,this.state.startLoc);return e}parseDecorator(){this.expectOnePlugin(["decorators","decorators-legacy"]);let t=this.startNode();if(this.next(),this.hasPlugin("decorators")){let e=this.state.startLoc,s;if(this.match(10)){let i=this.state.startLoc;this.next(),s=this.parseExpression(),this.expect(11),s=this.wrapParenthesis(i,s);let r=this.state.startLoc;t.expression=this.parseMaybeDecoratorArguments(s),this.getPluginOption("decorators","allowCallParenthesized")===!1&&t.expression!==s&&this.raise(p.DecoratorArgumentsOutsideParentheses,r)}else{for(s=this.parseIdentifier(!1);this.eat(16);){let i=this.startNodeAt(e);i.object=s,this.match(138)?(this.classScope.usePrivateName(this.state.value,this.state.startLoc),i.property=this.parsePrivateName()):i.property=this.parseIdentifier(!0),i.computed=!1,s=this.finishNode(i,"MemberExpression")}t.expression=this.parseMaybeDecoratorArguments(s)}}else t.expression=this.parseExprSubscripts();return this.finishNode(t,"Decorator")}parseMaybeDecoratorArguments(t){if(this.eat(10)){let e=this.startNodeAtNode(t);return e.callee=t,e.arguments=this.parseCallExpressionArguments(11,!1),this.toReferencedList(e.arguments),this.finishNode(e,"CallExpression")}return t}parseBreakContinueStatement(t,e){return this.next(),this.isLineTerminator()?t.label=null:(t.label=this.parseIdentifier(),this.semicolon()),this.verifyBreakContinue(t,e),this.finishNode(t,e?"BreakStatement":"ContinueStatement")}verifyBreakContinue(t,e){let s;for(s=0;sthis.parseStatement()),this.state.labels.pop(),this.expect(92),t.test=this.parseHeaderExpression(),this.eat(13),this.finishNode(t,"DoWhileStatement")}parseForStatement(t){this.next(),this.state.labels.push(ze);let e=null;if(this.isAwaitAllowed()&&this.eatContextual(96)&&(e=this.state.lastTokStartLoc),this.scope.enter(0),this.expect(10),this.match(13))return e!==null&&this.unexpected(e),this.parseFor(t,null);let s=this.isContextual(100);{let h=this.isContextual(96)&&this.startsAwaitUsing(),c=h||this.isContextual(107)&&this.startsUsingForOf(),l=s&&this.hasFollowingBindingAtom()||c;if(this.match(74)||this.match(75)||l){let u=this.startNode(),f;h?(f="await using",this.isAwaitAllowed()||this.raise(p.AwaitUsingNotInAsyncContext,this.state.startLoc),this.next()):f=this.state.value,this.next(),this.parseVar(u,!0,f);let d=this.finishNode(u,"VariableDeclaration"),y=this.match(58);return y&&c&&this.raise(p.ForInUsing,d),(y||this.isContextual(102))&&d.declarations.length===1?this.parseForIn(t,d,e):(e!==null&&this.unexpected(e),this.parseFor(t,d))}}let i=this.isContextual(95),r=new Z,n=this.parseExpression(!0,r),o=this.isContextual(102);if(o&&(s&&this.raise(p.ForOfLet,n),e===null&&i&&n.type==="Identifier"&&this.raise(p.ForOfAsync,n)),o||this.match(58)){this.checkDestructuringPrivate(r),this.toAssignable(n,!0);let h=o?"ForOfStatement":"ForInStatement";return this.checkLVal(n,{in:{type:h}}),this.parseForIn(t,n,e)}else this.checkExpressionErrors(r,!0);return e!==null&&this.unexpected(e),this.parseFor(t,n)}parseFunctionStatement(t,e,s){return this.next(),this.parseFunction(t,1|(s?2:0)|(e?8:0))}parseIfStatement(t){return this.next(),t.test=this.parseHeaderExpression(),t.consequent=this.parseStatementOrSloppyAnnexBFunctionDeclaration(),t.alternate=this.eat(66)?this.parseStatementOrSloppyAnnexBFunctionDeclaration():null,this.finishNode(t,"IfStatement")}parseReturnStatement(t){return!this.prodParam.hasReturn&&!this.options.allowReturnOutsideFunction&&this.raise(p.IllegalReturn,this.state.startLoc),this.next(),this.isLineTerminator()?t.argument=null:(t.argument=this.parseExpression(),this.semicolon()),this.finishNode(t,"ReturnStatement")}parseSwitchStatement(t){this.next(),t.discriminant=this.parseHeaderExpression();let e=t.cases=[];this.expect(5),this.state.labels.push(ar),this.scope.enter(0);let s;for(let i;!this.match(8);)if(this.match(61)||this.match(65)){let r=this.match(61);s&&this.finishNode(s,"SwitchCase"),e.push(s=this.startNode()),s.consequent=[],this.next(),r?s.test=this.parseExpression():(i&&this.raise(p.MultipleDefaultsInSwitch,this.state.lastTokStartLoc),i=!0,s.test=null),this.expect(14)}else s?s.consequent.push(this.parseStatementListItem()):this.unexpected();return this.scope.exit(),s&&this.finishNode(s,"SwitchCase"),this.next(),this.state.labels.pop(),this.finishNode(t,"SwitchStatement")}parseThrowStatement(t){return this.next(),this.hasPrecedingLineBreak()&&this.raise(p.NewlineAfterThrow,this.state.lastTokEndLoc),t.argument=this.parseExpression(),this.semicolon(),this.finishNode(t,"ThrowStatement")}parseCatchClauseParam(){let t=this.parseBindingAtom();return this.scope.enter(this.options.annexB&&t.type==="Identifier"?8:0),this.checkLVal(t,{in:{type:"CatchClause"},binding:9}),t}parseTryStatement(t){if(this.next(),t.block=this.parseBlock(),t.handler=null,this.match(62)){let e=this.startNode();this.next(),this.match(10)?(this.expect(10),e.param=this.parseCatchClauseParam(),this.expect(11)):(e.param=null,this.scope.enter(0)),e.body=this.withSmartMixTopicForbiddingContext(()=>this.parseBlock(!1,!1)),this.scope.exit(),t.handler=this.finishNode(e,"CatchClause")}return t.finalizer=this.eat(67)?this.parseBlock():null,!t.handler&&!t.finalizer&&this.raise(p.NoCatchOrFinally,t),this.finishNode(t,"TryStatement")}parseVarStatement(t,e,s=!1){return this.next(),this.parseVar(t,!1,e,s),this.semicolon(),this.finishNode(t,"VariableDeclaration")}parseWhileStatement(t){return this.next(),t.test=this.parseHeaderExpression(),this.state.labels.push(ze),t.body=this.withSmartMixTopicForbiddingContext(()=>this.parseStatement()),this.state.labels.pop(),this.finishNode(t,"WhileStatement")}parseWithStatement(t){return this.state.strict&&this.raise(p.StrictWith,this.state.startLoc),this.next(),t.object=this.parseHeaderExpression(),t.body=this.withSmartMixTopicForbiddingContext(()=>this.parseStatement()),this.finishNode(t,"WithStatement")}parseEmptyStatement(t){return this.next(),this.finishNode(t,"EmptyStatement")}parseLabeledStatement(t,e,s,i){for(let n of this.state.labels)n.name===e&&this.raise(p.LabelRedeclaration,s,{labelName:e});let r=ci(this.state.type)?1:this.match(71)?2:null;for(let n=this.state.labels.length-1;n>=0;n--){let o=this.state.labels[n];if(o.statementStart===t.start)o.statementStart=this.state.start,o.kind=r;else break}return this.state.labels.push({name:e,kind:r,statementStart:this.state.start}),t.body=i&8?this.parseStatementOrSloppyAnnexBFunctionDeclaration(!0):this.parseStatement(),this.state.labels.pop(),t.label=s,this.finishNode(t,"LabeledStatement")}parseExpressionStatement(t,e,s){return t.expression=e,this.semicolon(),this.finishNode(t,"ExpressionStatement")}parseBlock(t=!1,e=!0,s){let i=this.startNode();return t&&this.state.strictErrors.clear(),this.expect(5),e&&this.scope.enter(0),this.parseBlockBody(i,t,!1,8,s),e&&this.scope.exit(),this.finishNode(i,"BlockStatement")}isValidDirective(t){return t.type==="ExpressionStatement"&&t.expression.type==="StringLiteral"&&!t.expression.extra.parenthesized}parseBlockBody(t,e,s,i,r){let n=t.body=[],o=t.directives=[];this.parseBlockOrModuleBlockBody(n,e?o:void 0,s,i,r)}parseBlockOrModuleBlockBody(t,e,s,i,r){let n=this.state.strict,o=!1,h=!1;for(;!this.match(i);){let c=s?this.parseModuleItem():this.parseStatementListItem();if(e&&!h){if(this.isValidDirective(c)){let l=this.stmtToDirective(c);e.push(l),!o&&l.value.value==="use strict"&&(o=!0,this.setStrict(!0));continue}h=!0,this.state.strictErrors.clear()}t.push(c)}r==null||r.call(this,o),n||this.setStrict(!1),this.next()}parseFor(t,e){return t.init=e,this.semicolon(!1),t.test=this.match(13)?null:this.parseExpression(),this.semicolon(!1),t.update=this.match(11)?null:this.parseExpression(),this.expect(11),t.body=this.withSmartMixTopicForbiddingContext(()=>this.parseStatement()),this.scope.exit(),this.state.labels.pop(),this.finishNode(t,"ForStatement")}parseForIn(t,e,s){let i=this.match(58);return this.next(),i?s!==null&&this.unexpected(s):t.await=s!==null,e.type==="VariableDeclaration"&&e.declarations[0].init!=null&&(!i||!this.options.annexB||this.state.strict||e.kind!=="var"||e.declarations[0].id.type!=="Identifier")&&this.raise(p.ForInOfLoopInitializer,e,{type:i?"ForInStatement":"ForOfStatement"}),e.type==="AssignmentPattern"&&this.raise(p.InvalidLhs,e,{ancestor:{type:"ForStatement"}}),t.left=e,t.right=i?this.parseExpression():this.parseMaybeAssignAllowIn(),this.expect(11),t.body=this.withSmartMixTopicForbiddingContext(()=>this.parseStatement()),this.scope.exit(),this.state.labels.pop(),this.finishNode(t,i?"ForInStatement":"ForOfStatement")}parseVar(t,e,s,i=!1){let r=t.declarations=[];for(t.kind=s;;){let n=this.startNode();if(this.parseVarId(n,s),n.init=this.eat(29)?e?this.parseMaybeAssignDisallowIn():this.parseMaybeAssignAllowIn():null,n.init===null&&!i&&(n.id.type!=="Identifier"&&!(e&&(this.match(58)||this.isContextual(102)))?this.raise(p.DeclarationMissingInitializer,this.state.lastTokEndLoc,{kind:"destructuring"}):(s==="const"||s==="using"||s==="await using")&&!(this.match(58)||this.isContextual(102))&&this.raise(p.DeclarationMissingInitializer,this.state.lastTokEndLoc,{kind:s})),r.push(this.finishNode(n,"VariableDeclarator")),!this.eat(12))break}return t}parseVarId(t,e){let s=this.parseBindingAtom();(e==="using"||e==="await using")&&(s.type==="ArrayPattern"||s.type==="ObjectPattern")&&this.raise(p.UsingDeclarationHasBindingPattern,s.loc.start),this.checkLVal(s,{in:{type:"VariableDeclarator"},binding:e==="var"?5:8201}),t.id=s}parseAsyncFunctionExpression(t){return this.parseFunction(t,8)}parseFunction(t,e=0){let s=e&2,i=!!(e&1),r=i&&!(e&4),n=!!(e&8);this.initFunction(t,n),this.match(55)&&(s&&this.raise(p.GeneratorInSingleStatementContext,this.state.startLoc),this.next(),t.generator=!0),i&&(t.id=this.parseFunctionId(r));let o=this.state.maybeInArrowParameters;return this.state.maybeInArrowParameters=!1,this.scope.enter(2),this.prodParam.enter(Ne(n,t.generator)),i||(t.id=this.parseFunctionId()),this.parseFunctionParams(t,!1),this.withSmartMixTopicForbiddingContext(()=>{this.parseFunctionBodyAndFinish(t,i?"FunctionDeclaration":"FunctionExpression")}),this.prodParam.exit(),this.scope.exit(),i&&!s&&this.registerFunctionStatementId(t),this.state.maybeInArrowParameters=o,t}parseFunctionId(t){return t||w(this.state.type)?this.parseIdentifier():null}parseFunctionParams(t,e){this.expect(10),this.expressionScope.enter(Mi()),t.params=this.parseBindingList(11,41,2|(e?4:0)),this.expressionScope.exit()}registerFunctionStatementId(t){t.id&&this.scope.declareName(t.id.name,!this.options.annexB||this.state.strict||t.generator||t.async?this.scope.treatFunctionsAsVar?5:8201:17,t.id.loc.start)}parseClass(t,e,s){this.next();let i=this.state.strict;return this.state.strict=!0,this.parseClassId(t,e,s),this.parseClassSuper(t),t.body=this.parseClassBody(!!t.superClass,i),this.finishNode(t,e?"ClassDeclaration":"ClassExpression")}isClassProperty(){return this.match(29)||this.match(13)||this.match(8)}isClassMethod(){return this.match(10)}nameIsConstructor(t){return t.type==="Identifier"&&t.name==="constructor"||t.type==="StringLiteral"&&t.value==="constructor"}isNonstaticConstructor(t){return!t.computed&&!t.static&&this.nameIsConstructor(t.key)}parseClassBody(t,e){this.classScope.enter();let s={hadConstructor:!1,hadSuperClass:t},i=[],r=this.startNode();if(r.body=[],this.expect(5),this.withSmartMixTopicForbiddingContext(()=>{for(;!this.match(8);){if(this.eat(13)){if(i.length>0)throw this.raise(p.DecoratorSemicolon,this.state.lastTokEndLoc);continue}if(this.match(26)){i.push(this.parseDecorator());continue}let n=this.startNode();i.length&&(n.decorators=i,this.resetStartLocationFromNode(n,i[0]),i=[]),this.parseClassMember(r,n,s),n.kind==="constructor"&&n.decorators&&n.decorators.length>0&&this.raise(p.DecoratorConstructor,n)}}),this.state.strict=e,this.next(),i.length)throw this.raise(p.TrailingDecorator,this.state.startLoc);return this.classScope.exit(),this.finishNode(r,"ClassBody")}parseClassMemberFromModifier(t,e){let s=this.parseIdentifier(!0);if(this.isClassMethod()){let i=e;return i.kind="method",i.computed=!1,i.key=s,i.static=!1,this.pushClassMethod(t,i,!1,!1,!1,!1),!0}else if(this.isClassProperty()){let i=e;return i.computed=!1,i.key=s,i.static=!1,t.body.push(this.parseClassProperty(i)),!0}return this.resetPreviousNodeTrailingComments(s),!1}parseClassMember(t,e,s){let i=this.isContextual(106);if(i){if(this.parseClassMemberFromModifier(t,e))return;if(this.eat(5)){this.parseClassStaticBlock(t,e);return}}this.parseClassMemberWithIsStatic(t,e,s,i)}parseClassMemberWithIsStatic(t,e,s,i){let r=e,n=e,o=e,h=e,c=e,l=r,u=r;if(e.static=i,this.parsePropertyNamePrefixOperator(e),this.eat(55)){l.kind="method";let S=this.match(138);if(this.parseClassElementName(l),S){this.pushClassPrivateMethod(t,n,!0,!1);return}this.isNonstaticConstructor(r)&&this.raise(p.ConstructorIsGenerator,r.key),this.pushClassMethod(t,r,!0,!1,!1,!1);return}let f=!this.state.containsEsc&&w(this.state.type),d=this.parseClassElementName(e),y=f?d.name:null,E=this.isPrivateName(d),L=this.state.startLoc;if(this.parsePostMemberNameModifiers(u),this.isClassMethod()){if(l.kind="method",E){this.pushClassPrivateMethod(t,n,!1,!1);return}let S=this.isNonstaticConstructor(r),I=!1;S&&(r.kind="constructor",s.hadConstructor&&!this.hasPlugin("typescript")&&this.raise(p.DuplicateConstructor,d),S&&this.hasPlugin("typescript")&&e.override&&this.raise(p.OverrideOnConstructor,d),s.hadConstructor=!0,I=s.hadSuperClass),this.pushClassMethod(t,r,!1,!1,S,I)}else if(this.isClassProperty())E?this.pushClassPrivateProperty(t,h):this.pushClassProperty(t,o);else if(y==="async"&&!this.isLineTerminator()){this.resetPreviousNodeTrailingComments(d);let S=this.eat(55);u.optional&&this.unexpected(L),l.kind="method";let I=this.match(138);this.parseClassElementName(l),this.parsePostMemberNameModifiers(u),I?this.pushClassPrivateMethod(t,n,S,!0):(this.isNonstaticConstructor(r)&&this.raise(p.ConstructorIsAsync,r.key),this.pushClassMethod(t,r,S,!0,!1,!1))}else if((y==="get"||y==="set")&&!(this.match(55)&&this.isLineTerminator())){this.resetPreviousNodeTrailingComments(d),l.kind=y;let S=this.match(138);this.parseClassElementName(r),S?this.pushClassPrivateMethod(t,n,!1,!1):(this.isNonstaticConstructor(r)&&this.raise(p.ConstructorIsAccessor,r.key),this.pushClassMethod(t,r,!1,!1,!1,!1)),this.checkGetterSetterParams(r)}else if(y==="accessor"&&!this.isLineTerminator()){this.expectPlugin("decoratorAutoAccessors"),this.resetPreviousNodeTrailingComments(d);let S=this.match(138);this.parseClassElementName(o),this.pushClassAccessorProperty(t,c,S)}else this.isLineTerminator()?E?this.pushClassPrivateProperty(t,h):this.pushClassProperty(t,o):this.unexpected()}parseClassElementName(t){let{type:e,value:s}=this.state;if((e===132||e===133)&&t.static&&s==="prototype"&&this.raise(p.StaticPrototype,this.state.startLoc),e===138){s==="constructor"&&this.raise(p.ConstructorClassPrivateField,this.state.startLoc);let i=this.parsePrivateName();return t.key=i,i}return this.parsePropertyName(t),t.key}parseClassStaticBlock(t,e){var s;this.scope.enter(208);let i=this.state.labels;this.state.labels=[],this.prodParam.enter(0);let r=e.body=[];this.parseBlockOrModuleBlockBody(r,void 0,!1,8),this.prodParam.exit(),this.scope.exit(),this.state.labels=i,t.body.push(this.finishNode(e,"StaticBlock")),(s=e.decorators)!=null&&s.length&&this.raise(p.DecoratorStaticBlock,e)}pushClassProperty(t,e){!e.computed&&this.nameIsConstructor(e.key)&&this.raise(p.ConstructorClassField,e.key),t.body.push(this.parseClassProperty(e))}pushClassPrivateProperty(t,e){let s=this.parseClassPrivateProperty(e);t.body.push(s),this.classScope.declarePrivateName(this.getPrivateNameSV(s.key),0,s.key.loc.start)}pushClassAccessorProperty(t,e,s){!s&&!e.computed&&this.nameIsConstructor(e.key)&&this.raise(p.ConstructorClassField,e.key);let i=this.parseClassAccessorProperty(e);t.body.push(i),s&&this.classScope.declarePrivateName(this.getPrivateNameSV(i.key),0,i.key.loc.start)}pushClassMethod(t,e,s,i,r,n){t.body.push(this.parseMethod(e,s,i,r,n,"ClassMethod",!0))}pushClassPrivateMethod(t,e,s,i){let r=this.parseMethod(e,s,i,!1,!1,"ClassPrivateMethod",!0);t.body.push(r);let n=r.kind==="get"?r.static?6:2:r.kind==="set"?r.static?5:1:0;this.declareClassPrivateMethodInScope(r,n)}declareClassPrivateMethodInScope(t,e){this.classScope.declarePrivateName(this.getPrivateNameSV(t.key),e,t.key.loc.start)}parsePostMemberNameModifiers(t){}parseClassPrivateProperty(t){return this.parseInitializer(t),this.semicolon(),this.finishNode(t,"ClassPrivateProperty")}parseClassProperty(t){return this.parseInitializer(t),this.semicolon(),this.finishNode(t,"ClassProperty")}parseClassAccessorProperty(t){return this.parseInitializer(t),this.semicolon(),this.finishNode(t,"ClassAccessorProperty")}parseInitializer(t){this.scope.enter(80),this.expressionScope.enter(rs()),this.prodParam.enter(0),t.value=this.eat(29)?this.parseMaybeAssignAllowIn():null,this.expressionScope.exit(),this.prodParam.exit(),this.scope.exit()}parseClassId(t,e,s,i=8331){if(w(this.state.type))t.id=this.parseIdentifier(),e&&this.declareNameFromIdentifier(t.id,i);else if(s||!e)t.id=null;else throw this.raise(p.MissingClassName,this.state.startLoc)}parseClassSuper(t){t.superClass=this.eat(81)?this.parseExprSubscripts():null}parseExport(t,e){let s=this.parseMaybeImportPhase(t,!0),i=this.maybeParseExportDefaultSpecifier(t,s),r=!i||this.eat(12),n=r&&this.eatExportStar(t),o=n&&this.maybeParseExportNamespaceSpecifier(t),h=r&&(!o||this.eat(12)),c=i||n;if(n&&!o){if(i&&this.unexpected(),e)throw this.raise(p.UnsupportedDecoratorExport,t);return this.parseExportFrom(t,!0),this.finishNode(t,"ExportAllDeclaration")}let l=this.maybeParseExportNamedSpecifiers(t);i&&r&&!n&&!l&&this.unexpected(null,5),o&&h&&this.unexpected(null,98);let u;if(c||l){if(u=!1,e)throw this.raise(p.UnsupportedDecoratorExport,t);this.parseExportFrom(t,c)}else u=this.maybeParseExportDeclaration(t);if(c||l||u){var f;let d=t;if(this.checkExport(d,!0,!1,!!d.source),((f=d.declaration)==null?void 0:f.type)==="ClassDeclaration")this.maybeTakeDecorators(e,d.declaration,d);else if(e)throw this.raise(p.UnsupportedDecoratorExport,t);return this.finishNode(d,"ExportNamedDeclaration")}if(this.eat(65)){let d=t,y=this.parseExportDefaultExpression();if(d.declaration=y,y.type==="ClassDeclaration")this.maybeTakeDecorators(e,y,d);else if(e)throw this.raise(p.UnsupportedDecoratorExport,t);return this.checkExport(d,!0,!0),this.finishNode(d,"ExportDefaultDeclaration")}this.unexpected(null,5)}eatExportStar(t){return this.eat(55)}maybeParseExportDefaultSpecifier(t,e){if(e||this.isExportDefaultSpecifier()){this.expectPlugin("exportDefaultFrom",e==null?void 0:e.loc.start);let s=e||this.parseIdentifier(!0),i=this.startNodeAtNode(s);return i.exported=s,t.specifiers=[this.finishNode(i,"ExportDefaultSpecifier")],!0}return!1}maybeParseExportNamespaceSpecifier(t){if(this.isContextual(93)){var e,s;(s=(e=t).specifiers)!=null||(e.specifiers=[]);let i=this.startNodeAt(this.state.lastTokStartLoc);return this.next(),i.exported=this.parseModuleExportName(),t.specifiers.push(this.finishNode(i,"ExportNamespaceSpecifier")),!0}return!1}maybeParseExportNamedSpecifiers(t){if(this.match(5)){let e=t;e.specifiers||(e.specifiers=[]);let s=e.exportKind==="type";return e.specifiers.push(...this.parseExportSpecifiers(s)),e.source=null,e.declaration=null,this.hasPlugin("importAssertions")&&(e.assertions=[]),!0}return!1}maybeParseExportDeclaration(t){return this.shouldParseExportDeclaration()?(t.specifiers=[],t.source=null,this.hasPlugin("importAssertions")&&(t.assertions=[]),t.declaration=this.parseExportDeclaration(t),!0):!1}isAsyncFunction(){if(!this.isContextual(95))return!1;let t=this.nextTokenInLineStart();return this.isUnparsedContextual(t,"function")}parseExportDefaultExpression(){let t=this.startNode();if(this.match(68))return this.next(),this.parseFunction(t,5);if(this.isAsyncFunction())return this.next(),this.next(),this.parseFunction(t,13);if(this.match(80))return this.parseClass(t,!0,!0);if(this.match(26))return this.hasPlugin("decorators")&&this.getPluginOption("decorators","decoratorsBeforeExport")===!0&&this.raise(p.DecoratorBeforeExport,this.state.startLoc),this.parseClass(this.maybeTakeDecorators(this.parseDecorators(!1),this.startNode()),!0,!0);if(this.match(75)||this.match(74)||this.isLet())throw this.raise(p.UnsupportedDefaultExport,this.state.startLoc);let e=this.parseMaybeAssignAllowIn();return this.semicolon(),e}parseExportDeclaration(t){return this.match(80)?this.parseClass(this.startNode(),!0,!1):this.parseStatementListItem()}isExportDefaultSpecifier(){let{type:t}=this.state;if(w(t)){if(t===95&&!this.state.containsEsc||t===100)return!1;if((t===130||t===129)&&!this.state.containsEsc){let{type:i}=this.lookahead();if(w(i)&&i!==98||i===5)return this.expectOnePlugin(["flow","typescript"]),!1}}else if(!this.match(65))return!1;let e=this.nextTokenStart(),s=this.isUnparsedContextual(e,"from");if(this.input.charCodeAt(e)===44||w(this.state.type)&&s)return!0;if(this.match(65)&&s){let i=this.input.charCodeAt(this.nextTokenStartSince(e+4));return i===34||i===39}return!1}parseExportFrom(t,e){this.eatContextual(98)?(t.source=this.parseImportSource(),this.checkExport(t),this.maybeParseImportAttributes(t),this.checkJSONModuleImport(t)):e&&this.unexpected(),this.semicolon()}shouldParseExportDeclaration(){let{type:t}=this.state;return t===26&&(this.expectOnePlugin(["decorators","decorators-legacy"]),this.hasPlugin("decorators"))?(this.getPluginOption("decorators","decoratorsBeforeExport")===!0&&this.raise(p.DecoratorBeforeExport,this.state.startLoc),!0):this.isContextual(107)?(this.raise(p.UsingDeclarationExport,this.state.startLoc),!0):this.isContextual(96)&&this.startsAwaitUsing()?(this.raise(p.UsingDeclarationExport,this.state.startLoc),!0):t===74||t===75||t===68||t===80||this.isLet()||this.isAsyncFunction()}checkExport(t,e,s,i){if(e){var r;if(s){if(this.checkDuplicateExports(t,"default"),this.hasPlugin("exportDefaultFrom")){var n;let o=t.declaration;o.type==="Identifier"&&o.name==="from"&&o.end-o.start===4&&!((n=o.extra)!=null&&n.parenthesized)&&this.raise(p.ExportDefaultFromAsIdentifier,o)}}else if((r=t.specifiers)!=null&&r.length)for(let o of t.specifiers){let{exported:h}=o,c=h.type==="Identifier"?h.name:h.value;if(this.checkDuplicateExports(o,c),!i&&o.local){let{local:l}=o;l.type!=="Identifier"?this.raise(p.ExportBindingIsString,o,{localName:l.value,exportName:c}):(this.checkReservedWord(l.name,l.loc.start,!0,!1),this.scope.checkLocalExport(l))}}else if(t.declaration){let o=t.declaration;if(o.type==="FunctionDeclaration"||o.type==="ClassDeclaration"){let{id:h}=o;if(!h)throw new Error("Assertion failure");this.checkDuplicateExports(t,h.name)}else if(o.type==="VariableDeclaration")for(let h of o.declarations)this.checkDeclaration(h.id)}}}checkDeclaration(t){if(t.type==="Identifier")this.checkDuplicateExports(t,t.name);else if(t.type==="ObjectPattern")for(let e of t.properties)this.checkDeclaration(e);else if(t.type==="ArrayPattern")for(let e of t.elements)e&&this.checkDeclaration(e);else t.type==="ObjectProperty"?this.checkDeclaration(t.value):t.type==="RestElement"?this.checkDeclaration(t.argument):t.type==="AssignmentPattern"&&this.checkDeclaration(t.left)}checkDuplicateExports(t,e){this.exportedIdentifiers.has(e)&&(e==="default"?this.raise(p.DuplicateDefaultExport,t):this.raise(p.DuplicateExport,t,{exportName:e})),this.exportedIdentifiers.add(e)}parseExportSpecifiers(t){let e=[],s=!0;for(this.expect(5);!this.eat(8);){if(s)s=!1;else if(this.expect(12),this.eat(8))break;let i=this.isContextual(130),r=this.match(133),n=this.startNode();n.local=this.parseModuleExportName(),e.push(this.parseExportSpecifier(n,r,t,i))}return e}parseExportSpecifier(t,e,s,i){return this.eatContextual(93)?t.exported=this.parseModuleExportName():e?t.exported=Ri(t.local):t.exported||(t.exported=$(t.local)),this.finishNode(t,"ExportSpecifier")}parseModuleExportName(){if(this.match(133)){let t=this.parseStringLiteral(this.state.value),e=nr.exec(t.value);return e&&this.raise(p.ModuleExportNameHasLoneSurrogate,t,{surrogateCharCode:e[0].charCodeAt(0)}),t}return this.parseIdentifier(!0)}isJSONModuleImport(t){return t.assertions!=null?t.assertions.some(({key:e,value:s})=>s.value==="json"&&(e.type==="Identifier"?e.name==="type":e.value==="type")):!1}checkImportReflection(t){let{specifiers:e}=t,s=e.length===1?e[0].type:null;if(t.phase==="source")s!=="ImportDefaultSpecifier"&&this.raise(p.SourcePhaseImportRequiresDefault,e[0].loc.start);else if(t.phase==="defer")s!=="ImportNamespaceSpecifier"&&this.raise(p.DeferImportRequiresNamespace,e[0].loc.start);else if(t.module){var i;s!=="ImportDefaultSpecifier"&&this.raise(p.ImportReflectionNotBinding,e[0].loc.start),((i=t.assertions)==null?void 0:i.length)>0&&this.raise(p.ImportReflectionHasAssertion,e[0].loc.start)}}checkJSONModuleImport(t){if(this.isJSONModuleImport(t)&&t.type!=="ExportAllDeclaration"){let{specifiers:e}=t;if(e!=null){let s=e.find(i=>{let r;if(i.type==="ExportSpecifier"?r=i.local:i.type==="ImportSpecifier"&&(r=i.imported),r!==void 0)return r.type==="Identifier"?r.name!=="default":r.value!=="default"});s!==void 0&&this.raise(p.ImportJSONBindingNotDefault,s.loc.start)}}}isPotentialImportPhase(t){return t?!1:this.isContextual(105)||this.isContextual(97)||this.isContextual(127)}applyImportPhase(t,e,s,i){e||(s==="module"?(this.expectPlugin("importReflection",i),t.module=!0):this.hasPlugin("importReflection")&&(t.module=!1),s==="source"?(this.expectPlugin("sourcePhaseImports",i),t.phase="source"):s==="defer"?(this.expectPlugin("deferredImportEvaluation",i),t.phase="defer"):this.hasPlugin("sourcePhaseImports")&&(t.phase=null))}parseMaybeImportPhase(t,e){if(!this.isPotentialImportPhase(e))return this.applyImportPhase(t,e,null),null;let s=this.parseIdentifier(!0),{type:i}=this.state;return(M(i)?i!==98||this.lookaheadCharCode()===102:i!==12)?(this.resetPreviousIdentifierLeadingComments(s),this.applyImportPhase(t,e,s.name,s.loc.start),null):(this.applyImportPhase(t,e,null),s)}isPrecedingIdImportPhase(t){let{type:e}=this.state;return w(e)?e!==98||this.lookaheadCharCode()===102:e!==12}parseImport(t){return this.match(133)?this.parseImportSourceAndAttributes(t):this.parseImportSpecifiersAndAfter(t,this.parseMaybeImportPhase(t,!1))}parseImportSpecifiersAndAfter(t,e){t.specifiers=[];let i=!this.maybeParseDefaultImportSpecifier(t,e)||this.eat(12),r=i&&this.maybeParseStarImportSpecifier(t);return i&&!r&&this.parseNamedImportSpecifiers(t),this.expectContextual(98),this.parseImportSourceAndAttributes(t)}parseImportSourceAndAttributes(t){var e;return(e=t.specifiers)!=null||(t.specifiers=[]),t.source=this.parseImportSource(),this.maybeParseImportAttributes(t),this.checkImportReflection(t),this.checkJSONModuleImport(t),this.semicolon(),this.finishNode(t,"ImportDeclaration")}parseImportSource(){return this.match(133)||this.unexpected(),this.parseExprAtom()}parseImportSpecifierLocal(t,e,s){e.local=this.parseIdentifier(),t.specifiers.push(this.finishImportSpecifier(e,s))}finishImportSpecifier(t,e,s=8201){return this.checkLVal(t.local,{in:{type:e},binding:s}),this.finishNode(t,e)}parseImportAttributes(){this.expect(5);let t=[],e=new Set;do{if(this.match(8))break;let s=this.startNode(),i=this.state.value;if(e.has(i)&&this.raise(p.ModuleAttributesWithDuplicateKeys,this.state.startLoc,{key:i}),e.add(i),this.match(133)?s.key=this.parseStringLiteral(i):s.key=this.parseIdentifier(!0),this.expect(14),!this.match(133))throw this.raise(p.ModuleAttributeInvalidValue,this.state.startLoc);s.value=this.parseStringLiteral(this.state.value),t.push(this.finishNode(s,"ImportAttribute"))}while(this.eat(12));return this.expect(8),t}parseModuleAttributes(){let t=[],e=new Set;do{let s=this.startNode();if(s.key=this.parseIdentifier(!0),s.key.name!=="type"&&this.raise(p.ModuleAttributeDifferentFromType,s.key),e.has(s.key.name)&&this.raise(p.ModuleAttributesWithDuplicateKeys,s.key,{key:s.key.name}),e.add(s.key.name),this.expect(14),!this.match(133))throw this.raise(p.ModuleAttributeInvalidValue,this.state.startLoc);s.value=this.parseStringLiteral(this.state.value),t.push(this.finishNode(s,"ImportAttribute"))}while(this.eat(12));return t}maybeParseImportAttributes(t){let e,s=!1;if(this.match(76)){if(this.hasPrecedingLineBreak()&&this.lookaheadCharCode()===40)return;this.next(),this.hasPlugin("moduleAttributes")?e=this.parseModuleAttributes():(this.expectImportAttributesPlugin(),e=this.parseImportAttributes()),s=!0}else if(this.isContextual(94)&&!this.hasPrecedingLineBreak())this.hasPlugin("importAttributes")?(this.getPluginOption("importAttributes","deprecatedAssertSyntax")!==!0&&this.raise(p.ImportAttributesUseAssert,this.state.startLoc),this.addExtra(t,"deprecatedAssertSyntax",!0)):this.expectOnePlugin(["importAttributes","importAssertions"]),this.next(),e=this.parseImportAttributes();else if(this.hasPlugin("importAttributes")||this.hasPlugin("importAssertions"))e=[];else if(this.hasPlugin("moduleAttributes"))e=[];else return;!s&&this.hasPlugin("importAssertions")?t.assertions=e:t.attributes=e}maybeParseDefaultImportSpecifier(t,e){if(e){let s=this.startNodeAtNode(e);return s.local=e,t.specifiers.push(this.finishImportSpecifier(s,"ImportDefaultSpecifier")),!0}else if(M(this.state.type))return this.parseImportSpecifierLocal(t,this.startNode(),"ImportDefaultSpecifier"),!0;return!1}maybeParseStarImportSpecifier(t){if(this.match(55)){let e=this.startNode();return this.next(),this.expectContextual(93),this.parseImportSpecifierLocal(t,e,"ImportNamespaceSpecifier"),!0}return!1}parseNamedImportSpecifiers(t){let e=!0;for(this.expect(5);!this.eat(8);){if(e)e=!1;else{if(this.eat(14))throw this.raise(p.DestructureNamedImport,this.state.startLoc);if(this.expect(12),this.eat(8))break}let s=this.startNode(),i=this.match(133),r=this.isContextual(130);s.imported=this.parseModuleExportName();let n=this.parseImportSpecifier(s,i,t.importKind==="type"||t.importKind==="typeof",r,void 0);t.specifiers.push(n)}}parseImportSpecifier(t,e,s,i,r){if(this.eatContextual(93))t.local=this.parseIdentifier();else{let{imported:n}=t;if(e)throw this.raise(p.ImportBindingIsString,t,{importName:n.value});this.checkReservedWord(n.name,t.loc.start,!0,!0),t.local||(t.local=$(n))}return this.finishImportSpecifier(t,"ImportSpecifier",r)}isThisParam(t){return t.type==="Identifier"&&t.name==="this"}},De=class extends pt{constructor(t,e){t=rr(t),super(t,e),this.options=t,this.initializeScopes(),this.plugins=hr(this.options.plugins),this.filename=t.sourceFilename}getScopeHandler(){return me}parse(){this.enterInitialScopes();let t=this.startNode(),e=this.startNode();return this.nextToken(),t.errors=null,this.parseTopLevel(t,e),t.errors=this.state.errors,t.comments.length=this.state.commentsLen,t}};function hr(a){let t=new Map;for(let e of a){let[s,i]=Array.isArray(e)?e:[e,{}];t.has(s)||t.set(s,i||{})}return t}function lr(a,t){var e;if(((e=t)==null?void 0:e.sourceType)==="unambiguous"){t=Object.assign({},t);try{t.sourceType="module";let s=pe(t,a),i=s.parse();if(s.sawUnambiguousESM)return i;if(s.ambiguousScriptDifferentAst)try{return t.sourceType="script",pe(t,a).parse()}catch{}else i.program.sourceType="script";return i}catch(s){try{return t.sourceType="script",pe(t,a).parse()}catch{}throw s}}else return pe(t,a).parse()}function cr(a,t){let e=pe(t,a);return e.options.strictMode&&(e.state.strict=!0),e.getExpression()}function pr(a){let t={};for(let e of Object.keys(a))t[e]=R(a[e]);return t}var ur=pr(ni);function pe(a,t){let e=De;return a!=null&&a.plugins&&(sr(a.plugins),e=fr(a.plugins)),new e(a,t)}var Kt={};function fr(a){let t=ir.filter(i=>N(a,i)),e=t.join("/"),s=Kt[e];if(!s){s=De;for(let i of t)s=hs[i](s);Kt[e]=s}return s}xe.parse=lr;xe.parseExpression=cr;xe.tokTypes=ur});var kt={};Ws(kt,{parsers:()=>Qr});var _e=vt(At(),1);function Me(a){return(t,e,s)=>{let i=!!(s!=null&&s.backwards);if(e===!1)return!1;let{length:r}=t,n=e;for(;n>=0&&n{let i=!!(s!=null&&s.backwards);if(e===!1)return!1;let{length:r}=t,n=e;for(;n>=0&&n0}var X=Va;function D(a){var s;let t=a.range?a.range[0]:a.start,e=((s=a.declaration)==null?void 0:s.decorators)??a.decorators;return X(e)?Math.min(D(e[0]),t):t}function _(a){return a.range?a.range[1]:a.end}function za(a){return a=typeof a=="function"?{parse:a}:a,{astFormat:"estree",hasPragma:yi,locStart:D,locEnd:_,...a}}var xe=za;function Ka(a,t){let e=new SyntaxError(a+" ("+t.loc.start.line+":"+t.loc.start.column+")");return Object.assign(e,t)}var Pe=Ka;function qa(a){let{message:t,loc:e}=a;return Pe(t.replace(/ \(.*\)$/,""),{loc:{start:{line:e?e.line:0,column:e?e.column+1:0}},cause:a})}var Oe=qa;var Ha=(a,t,e)=>{if(!(a&&t==null))return Array.isArray(t)||typeof t=="string"?t[e<0?t.length+e:e]:t.at(e)},as=Ha;function Wa(a){return a=new Set(a),t=>a.has(t==null?void 0:t.type)}var xi=Wa;var Ja=xi(["Block","CommentBlock","MultiLine"]),Be=Ja;function Xa(a){return Be(a)&&a.value[0]==="*"&&/@(?:type|satisfies)\b/.test(a.value)}var Pi=Xa;function Ga(a){let t=`*${a.value}*`.split(` -`);return t.length>1&&t.every(e=>e.trimStart()[0]==="*")}var ns=Ga;var Fe=null;function _e(a){if(Fe!==null&&typeof Fe.property){let t=Fe;return Fe=_e.prototype=null,t}return Fe=_e.prototype=a??Object.create(null),new _e}var Ya=10;for(let a=0;a<=Ya;a++)_e();function os(a){return _e(a)}function Qa(a,t="type"){os(a);function e(s){let i=s[t],r=a[i];if(!Array.isArray(r))throw Object.assign(new Error(`Missing visitor keys for '${i}'.`),{node:s});return r}return e}var Ti=Qa;var gi={ArrayExpression:["elements"],AssignmentExpression:["left","right"],BinaryExpression:["left","right"],InterpreterDirective:[],Directive:["value"],DirectiveLiteral:[],BlockStatement:["directives","body"],BreakStatement:["label"],CallExpression:["callee","arguments","typeParameters","typeArguments"],CatchClause:["param","body"],ConditionalExpression:["test","consequent","alternate"],ContinueStatement:["label"],DebuggerStatement:[],DoWhileStatement:["test","body"],EmptyStatement:[],ExpressionStatement:["expression"],File:["program"],ForInStatement:["left","right","body"],ForStatement:["init","test","update","body"],FunctionDeclaration:["id","params","body","returnType","typeParameters","predicate"],FunctionExpression:["id","params","body","returnType","typeParameters"],Identifier:["typeAnnotation","decorators"],IfStatement:["test","consequent","alternate"],LabeledStatement:["label","body"],StringLiteral:[],NumericLiteral:[],NullLiteral:[],BooleanLiteral:[],RegExpLiteral:[],LogicalExpression:["left","right"],MemberExpression:["object","property"],NewExpression:["callee","arguments","typeParameters","typeArguments"],Program:["directives","body"],ObjectExpression:["properties"],ObjectMethod:["key","params","body","decorators","returnType","typeParameters"],ObjectProperty:["key","value","decorators"],RestElement:["argument","typeAnnotation","decorators"],ReturnStatement:["argument"],SequenceExpression:["expressions"],ParenthesizedExpression:["expression"],SwitchCase:["test","consequent"],SwitchStatement:["discriminant","cases"],ThisExpression:[],ThrowStatement:["argument"],TryStatement:["block","handler","finalizer"],UnaryExpression:["argument"],UpdateExpression:["argument"],VariableDeclaration:["declarations"],VariableDeclarator:["id","init"],WhileStatement:["test","body"],WithStatement:["object","body"],AssignmentPattern:["left","right","decorators","typeAnnotation"],ArrayPattern:["elements","typeAnnotation","decorators"],ArrowFunctionExpression:["params","body","returnType","typeParameters","predicate"],ClassBody:["body"],ClassExpression:["id","body","superClass","mixins","typeParameters","superTypeParameters","implements","decorators"],ClassDeclaration:["id","body","superClass","mixins","typeParameters","superTypeParameters","implements","decorators"],ExportAllDeclaration:["source","attributes","assertions","exported"],ExportDefaultDeclaration:["declaration"],ExportNamedDeclaration:["declaration","specifiers","source","attributes","assertions"],ExportSpecifier:["local","exported"],ForOfStatement:["left","right","body"],ImportDeclaration:["specifiers","source","attributes","assertions"],ImportDefaultSpecifier:["local"],ImportNamespaceSpecifier:["local"],ImportSpecifier:["local","imported"],MetaProperty:["meta","property"],ClassMethod:["key","params","body","decorators","returnType","typeParameters"],ObjectPattern:["properties","typeAnnotation","decorators"],SpreadElement:["argument"],Super:[],TaggedTemplateExpression:["tag","quasi","typeParameters"],TemplateElement:[],TemplateLiteral:["quasis","expressions"],YieldExpression:["argument"],AwaitExpression:["argument"],Import:[],BigIntLiteral:[],ExportNamespaceSpecifier:["exported"],OptionalMemberExpression:["object","property"],OptionalCallExpression:["callee","arguments","typeParameters","typeArguments"],ClassProperty:["key","value","typeAnnotation","decorators","variance"],ClassAccessorProperty:["key","value","typeAnnotation","decorators"],ClassPrivateProperty:["key","value","decorators","typeAnnotation","variance"],ClassPrivateMethod:["key","params","body","decorators","returnType","typeParameters"],PrivateName:["id"],StaticBlock:["body"],AnyTypeAnnotation:[],ArrayTypeAnnotation:["elementType"],BooleanTypeAnnotation:[],BooleanLiteralTypeAnnotation:[],NullLiteralTypeAnnotation:[],ClassImplements:["id","typeParameters"],DeclareClass:["id","typeParameters","extends","mixins","implements","body"],DeclareFunction:["id","predicate"],DeclareInterface:["id","typeParameters","extends","body"],DeclareModule:["id","body"],DeclareModuleExports:["typeAnnotation"],DeclareTypeAlias:["id","typeParameters","right"],DeclareOpaqueType:["id","typeParameters","supertype"],DeclareVariable:["id"],DeclareExportDeclaration:["declaration","specifiers","source"],DeclareExportAllDeclaration:["source"],DeclaredPredicate:["value"],ExistsTypeAnnotation:[],FunctionTypeAnnotation:["typeParameters","params","rest","returnType","this"],FunctionTypeParam:["name","typeAnnotation"],GenericTypeAnnotation:["id","typeParameters"],InferredPredicate:[],InterfaceExtends:["id","typeParameters"],InterfaceDeclaration:["id","typeParameters","extends","body"],InterfaceTypeAnnotation:["extends","body"],IntersectionTypeAnnotation:["types"],MixedTypeAnnotation:[],EmptyTypeAnnotation:[],NullableTypeAnnotation:["typeAnnotation"],NumberLiteralTypeAnnotation:[],NumberTypeAnnotation:[],ObjectTypeAnnotation:["properties","indexers","callProperties","internalSlots"],ObjectTypeInternalSlot:["id","value","optional","static","method"],ObjectTypeCallProperty:["value"],ObjectTypeIndexer:["id","key","value","variance"],ObjectTypeProperty:["key","value","variance"],ObjectTypeSpreadProperty:["argument"],OpaqueType:["id","typeParameters","supertype","impltype"],QualifiedTypeIdentifier:["id","qualification"],StringLiteralTypeAnnotation:[],StringTypeAnnotation:[],SymbolTypeAnnotation:[],ThisTypeAnnotation:[],TupleTypeAnnotation:["types","elementTypes"],TypeofTypeAnnotation:["argument"],TypeAlias:["id","typeParameters","right"],TypeAnnotation:["typeAnnotation"],TypeCastExpression:["expression","typeAnnotation"],TypeParameter:["bound","default","variance"],TypeParameterDeclaration:["params"],TypeParameterInstantiation:["params"],UnionTypeAnnotation:["types"],Variance:[],VoidTypeAnnotation:[],EnumDeclaration:["id","body"],EnumBooleanBody:["members"],EnumNumberBody:["members"],EnumStringBody:["members"],EnumSymbolBody:["members"],EnumBooleanMember:["id","init"],EnumNumberMember:["id","init"],EnumStringMember:["id","init"],EnumDefaultedMember:["id"],IndexedAccessType:["objectType","indexType"],OptionalIndexedAccessType:["objectType","indexType"],JSXAttribute:["name","value"],JSXClosingElement:["name"],JSXElement:["openingElement","children","closingElement"],JSXEmptyExpression:[],JSXExpressionContainer:["expression"],JSXSpreadChild:["expression"],JSXIdentifier:[],JSXMemberExpression:["object","property"],JSXNamespacedName:["namespace","name"],JSXOpeningElement:["name","attributes","typeParameters"],JSXSpreadAttribute:["argument"],JSXText:[],JSXFragment:["openingFragment","children","closingFragment"],JSXOpeningFragment:[],JSXClosingFragment:[],Noop:[],Placeholder:[],V8IntrinsicIdentifier:[],ArgumentPlaceholder:[],BindExpression:["object","callee"],ImportAttribute:["key","value"],Decorator:["expression"],DoExpression:["body"],ExportDefaultSpecifier:["exported"],RecordExpression:["properties"],TupleExpression:["elements"],DecimalLiteral:[],ModuleExpression:["body"],TopicReference:[],PipelineTopicExpression:["expression"],PipelineBareFunction:["callee"],PipelinePrimaryTopicReference:[],TSParameterProperty:["parameter","decorators"],TSDeclareFunction:["id","typeParameters","params","returnType","body"],TSDeclareMethod:["decorators","key","typeParameters","params","returnType"],TSQualifiedName:["left","right"],TSCallSignatureDeclaration:["typeParameters","parameters","typeAnnotation","params","returnType"],TSConstructSignatureDeclaration:["typeParameters","parameters","typeAnnotation","params","returnType"],TSPropertySignature:["key","typeAnnotation"],TSMethodSignature:["key","typeParameters","parameters","typeAnnotation","params","returnType"],TSIndexSignature:["parameters","typeAnnotation"],TSAnyKeyword:[],TSBooleanKeyword:[],TSBigIntKeyword:[],TSIntrinsicKeyword:[],TSNeverKeyword:[],TSNullKeyword:[],TSNumberKeyword:[],TSObjectKeyword:[],TSStringKeyword:[],TSSymbolKeyword:[],TSUndefinedKeyword:[],TSUnknownKeyword:[],TSVoidKeyword:[],TSThisType:[],TSFunctionType:["typeParameters","parameters","typeAnnotation","params","returnType"],TSConstructorType:["typeParameters","parameters","typeAnnotation","params","returnType"],TSTypeReference:["typeName","typeParameters"],TSTypePredicate:["parameterName","typeAnnotation"],TSTypeQuery:["exprName","typeParameters"],TSTypeLiteral:["members"],TSArrayType:["elementType"],TSTupleType:["elementTypes"],TSOptionalType:["typeAnnotation"],TSRestType:["typeAnnotation"],TSNamedTupleMember:["label","elementType"],TSUnionType:["types"],TSIntersectionType:["types"],TSConditionalType:["checkType","extendsType","trueType","falseType"],TSInferType:["typeParameter"],TSParenthesizedType:["typeAnnotation"],TSTypeOperator:["typeAnnotation"],TSIndexedAccessType:["objectType","indexType"],TSMappedType:["typeParameter","typeAnnotation","nameType"],TSLiteralType:["literal"],TSExpressionWithTypeArguments:["expression","typeParameters"],TSInterfaceDeclaration:["id","typeParameters","extends","body"],TSInterfaceBody:["body"],TSTypeAliasDeclaration:["id","typeParameters","typeAnnotation"],TSInstantiationExpression:["expression","typeParameters"],TSAsExpression:["expression","typeAnnotation"],TSSatisfiesExpression:["expression","typeAnnotation"],TSTypeAssertion:["typeAnnotation","expression"],TSEnumDeclaration:["id","members"],TSEnumMember:["id","initializer"],TSModuleDeclaration:["id","body"],TSModuleBlock:["body"],TSImportType:["argument","qualifier","typeParameters","parameter"],TSImportEqualsDeclaration:["id","moduleReference"],TSExternalModuleReference:["expression"],TSNonNullExpression:["expression"],TSExportAssignment:["expression"],TSNamespaceExportDeclaration:["id"],TSTypeAnnotation:["typeAnnotation"],TSTypeParameterInstantiation:["params"],TSTypeParameterDeclaration:["params"],TSTypeParameter:["constraint","default","name"],ChainExpression:["expression"],ExperimentalRestProperty:["argument"],ExperimentalSpreadProperty:["argument"],ImportExpression:["source","attributes"],Literal:[],MethodDefinition:["decorators","key","value"],PrivateIdentifier:[],Property:["key","value"],PropertyDefinition:["decorators","key","typeAnnotation","value","variance"],AccessorProperty:["decorators","key","typeAnnotation","value"],TSAbstractAccessorProperty:["decorators","key","typeAnnotation"],TSAbstractKeyword:[],TSAbstractMethodDefinition:["key","value"],TSAbstractPropertyDefinition:["decorators","key","typeAnnotation"],TSAsyncKeyword:[],TSClassImplements:["expression","typeParameters"],TSDeclareKeyword:[],TSEmptyBodyFunctionExpression:["id","typeParameters","params","returnType"],TSExportKeyword:[],TSInterfaceHeritage:["expression","typeParameters"],TSPrivateKeyword:[],TSProtectedKeyword:[],TSPublicKeyword:[],TSReadonlyKeyword:[],TSStaticKeyword:[],TSTemplateLiteralType:["quasis","types"],BigIntLiteralTypeAnnotation:[],BigIntTypeAnnotation:[],ConditionalTypeAnnotation:["checkType","extendsType","trueType","falseType"],DeclareEnum:["id","body"],InferTypeAnnotation:["typeParameter"],KeyofTypeAnnotation:["argument"],ObjectTypeMappedTypeProperty:["keyTparam","propType","sourceType","variance"],QualifiedTypeofIdentifier:["qualification","id"],TupleTypeLabeledElement:["label","elementType","variance"],TupleTypeSpreadElement:["label","typeAnnotation"],TypePredicate:["parameterName","typeAnnotation","asserts"],NGRoot:["node"],NGPipeExpression:["left","right","arguments"],NGChainedExpression:["expressions"],NGEmptyExpression:[],NGMicrosyntax:["body"],NGMicrosyntaxKey:[],NGMicrosyntaxExpression:["expression","alias"],NGMicrosyntaxKeyedExpression:["key","expression"],NGMicrosyntaxLet:["key","value"],NGMicrosyntaxAs:["key","alias"],JsExpressionRoot:["node"],JsonRoot:["node"],TSJSDocAllType:[],TSJSDocUnknownType:[],TSJSDocNullableType:["typeAnnotation"],TSJSDocNonNullableType:["typeAnnotation"],NeverTypeAnnotation:[],UndefinedTypeAnnotation:[],UnknownTypeAnnotation:[]};var Za=Ti(gi),bi=Za;function hs(a,t){if(!(a!==null&&typeof a=="object"))return a;if(Array.isArray(a)){for(let s=0;s{var o;(o=n.leadingComments)!=null&&o.some(Pi)&&r.add(D(n))}),a=nt(a,n=>{if(n.type==="ParenthesizedExpression"){let{expression:o}=n;if(o.type==="TypeCastExpression")return o.range=n.range,o;let h=D(n);if(!r.has(h))return o.extra={...o.extra,parenthesized:!0},o}})}if(a=nt(a,r=>{switch(r.type){case"LogicalExpression":if(Ai(r))return ls(r);break;case"VariableDeclaration":{let n=as(!1,r.declarations,-1);n!=null&&n.init&&i(r,n);break}case"TSParenthesizedType":return r.typeAnnotation;case"TSTypeParameter":if(typeof r.name=="string"){let n=D(r);r.name={type:"Identifier",name:r.name,range:[n,n+r.name.length]}}break;case"ObjectExpression":if(e==="typescript"){let n=r.properties.find(o=>o.type==="Property"&&o.value.type==="TSEmptyBodyFunctionExpression");n&&ot(n.value,"Unexpected token.")}break;case"TSInterfaceDeclaration":X(r.implements)&&ot(r.implements[0],"Interface declaration cannot have 'implements' clause.");break;case"TSPropertySignature":r.initializer&&ot(r.initializer,"An interface property cannot have an initializer.");break;case"TopicReference":a.extra={...a.extra,__isUsingHackPipeline:!0};break;case"ExportAllDeclaration":{let{exported:n}=r;if(e==="meriyah"&&(n==null?void 0:n.type)==="Identifier"){let o=s.slice(D(n),_(n));(o.startsWith('"')||o.startsWith("'"))&&(r.exported={...r.exported,type:"Literal",value:r.exported.name,raw:o})}break}case"TSUnionType":case"TSIntersectionType":if(r.types.length===1)return r.types[0];break}}),X(a.comments)){let r=as(!1,a.comments,-1);for(let n=a.comments.length-2;n>=0;n--){let o=a.comments[n];_(o)===D(r)&&Be(o)&&Be(r)&&ns(o)&&ns(r)&&(a.comments.splice(n+1,1),o.value+="*//*"+r.value,o.range=[D(o),_(r)]),r=o}}return a.type==="Program"&&(a.range=[0,s.length]),a;function i(r,n){s[_(n)]!==";"&&(r.range=[D(r),_(n)])}}function Ai(a){return a.type==="LogicalExpression"&&a.right.type==="LogicalExpression"&&a.operator===a.right.operator}function ls(a){return Ai(a)?ls({type:"LogicalExpression",operator:a.operator,left:ls({type:"LogicalExpression",operator:a.operator,left:a.left,right:a.right.left,range:[D(a.left),_(a.right.left)]}),right:a.right.right,range:[D(a),_(a)]}):a}var Si=tn;function sn(a){let{filepath:t}=a;if(t){if(t=t.toLowerCase(),t.endsWith(".cjs"))return"script";if(t.endsWith(".mjs"))return"module"}}var Ei=sn;function rn(a,t){let{type:e="JsExpressionRoot",rootMarker:s,text:i}=t,{tokens:r,comments:n}=a;return delete a.tokens,delete a.comments,{tokens:r,comments:n,type:e,node:a,range:[0,i.length],rootMarker:s}}var ht=rn;var Te=a=>xe(cn(a)),an={sourceType:"module",allowImportExportEverywhere:!0,allowReturnOutsideFunction:!0,allowNewTargetOutsideFunction:!0,allowSuperOutsideMethod:!0,allowUndeclaredExports:!0,errorRecovery:!0,createParenthesizedExpressions:!0,plugins:["doExpressions","exportDefaultFrom","functionBind","functionSent","throwExpressions","partialApplication","decorators","decimal","moduleBlocks","asyncDoExpressions","regexpUnicodeSets","destructuringPrivate","decoratorAutoAccessors","importReflection","explicitResourceManagement",["importAttributes",{deprecatedAssertSyntax:!0}]],tokens:!0,ranges:!0},nn=["recordAndTuple",{syntaxType:"hash"}],Ci="v8intrinsic",wi=[["pipelineOperator",{proposal:"hack",topicToken:"%"}],["pipelineOperator",{proposal:"minimal"}],["pipelineOperator",{proposal:"fsharp"}]],R=(a,t=an)=>({...t,plugins:[...t.plugins,...a]}),on=/@(?:no)?flow\b/;function hn(a,t){var i;if((i=t.filepath)!=null&&i.endsWith(".js.flow"))return!0;let e=rt(a);e&&(a=a.slice(e.length));let s=hi(a,0);return s!==!1&&(a=a.slice(0,s)),on.test(a)}function ln(a,t,e){let s=a(t,e),i=s.errors.find(r=>!pn.has(r.reasonCode));if(i)throw i;return s}function cn({isExpression:a=!1,optionsCombinations:t}){return(e,s={})=>{if((s.parser==="babel"||s.parser==="__babel_estree")&&hn(e,s))return s.parser="babel-flow",Di.parse(e,s);let i=t;(s.__babelSourceType??Ei(s))==="script"&&(i=i.map(l=>({...l,sourceType:"script"}))),/#[[{]/.test(e)&&(i=i.map(l=>R([nn],l)));let n=/%[A-Z]/.test(e);e.includes("|>")?i=(n?[...wi,Ci]:wi).flatMap(c=>i.map(u=>R([c],u))):n&&(i=i.map(l=>R([Ci],l)));let o=a?lt.parseExpression:lt.parse,h;try{h=si(i.map(l=>()=>ln(o,e,l)))}catch({errors:[l]}){throw Oe(l)}return a&&(h=ht(h,{text:e,rootMarker:s.rootMarker})),Si(h,{parser:"babel",text:e})}}var pn=new Set(["StrictNumericEscape","StrictWith","StrictOctalLiteral","StrictDelete","StrictEvalArguments","StrictEvalArgumentsBinding","StrictFunction","EmptyTypeArguments","EmptyTypeParameters","ConstructorHasTypeParameters","UnsupportedParameterPropertyKind","MixedLabeledAndUnlabeledElements","DuplicateAccessibilityModifier","DecoratorExportClass","ParamDupe","InvalidDecimal","RestTrailingComma","UnsupportedParameterDecorator","UnterminatedJsxContent","UnexpectedReservedWord","ModuleAttributesWithDuplicateKeys","LineTerminatorBeforeArrow","InvalidEscapeSequenceTemplate","NonAbstractClassHasAbstractMethod","OptionalTypeBeforeRequired","PatternIsOptional","OptionalBindingPattern","DeclareClassFieldHasInitializer","TypeImportCannotSpecifyDefaultAndNamed","DeclareFunctionHasImplementation","ConstructorClassField","VarRedeclaration","InvalidPrivateFieldResolution","DuplicateExport"]),Li=[R(["jsx"])],Ii=Te({optionsCombinations:Li}),Ni=Te({optionsCombinations:[R(["jsx","typescript"]),R(["typescript"])]}),ki=Te({isExpression:!0,optionsCombinations:[R(["jsx"])]}),vi=Te({isExpression:!0,optionsCombinations:[R(["typescript"])]}),Di=Te({optionsCombinations:[R(["jsx",["flow",{all:!0,enums:!0}],"flowComments"])]}),un=Te({optionsCombinations:Li.map(a=>R(["estree"],a))}),Mi={babel:Ii,"babel-flow":Di,"babel-ts":Ni,__js_expression:ki,__ts_expression:vi,__vue_expression:ki,__vue_ts_expression:vi,__vue_event_binding:Ii,__vue_ts_event_binding:Ni,__babel_estree:un};var Bi=pt(rs(),1);function Fi(a={}){let{allowComments:t=!0}=a;return function(s){let i;try{i=(0,Bi.parseExpression)(s,{tokens:!0,ranges:!0})}catch(r){throw(r==null?void 0:r.reasonCode)==="MissingPlugin"||(r==null?void 0:r.reasonCode)==="MissingOneOfPlugins"?Oe({message:"Unexpected token",loc:r.loc}):Oe(r)}if(!t&&X(i.comments))throw G(i.comments[0],"Comment");return ge(i),ht(i,{type:"JsonRoot",text:s})}}function G(a,t){let[e,s]=[a.loc.start,a.loc.end].map(({line:i,column:r})=>({line:i,column:r+1}));return Pe(`${t} is not allowed in JSON.`,{loc:{start:e,end:s}})}function ge(a){switch(a.type){case"ArrayExpression":for(let t of a.elements)t!==null&&ge(t);return;case"ObjectExpression":for(let t of a.properties)ge(t);return;case"ObjectProperty":if(a.computed)throw G(a.key,"Computed key");if(a.shorthand)throw G(a.key,"Shorthand property");a.key.type!=="Identifier"&&ge(a.key),ge(a.value);return;case"UnaryExpression":{let{operator:t,argument:e}=a;if(t!=="+"&&t!=="-")throw G(a,`Operator '${a.operator}'`);if(e.type==="NumericLiteral"||e.type==="Identifier"&&(e.name==="Infinity"||e.name==="NaN"))return;throw G(e,`Operator '${t}' before '${e.type}'`)}case"Identifier":if(a.name!=="Infinity"&&a.name!=="NaN"&&a.name!=="undefined")throw G(a,`Identifier '${a.name}'`);return;case"TemplateLiteral":if(X(a.expressions))throw G(a.expressions[0],"'TemplateLiteral' with expression");for(let t of a.quasis)ge(t);return;case"NullLiteral":case"BooleanLiteral":case"NumericLiteral":case"StringLiteral":case"TemplateElement":return;default:throw G(a,`'${a.type}'`)}}var Oi=Fi(),fn={json:xe({parse:Oi,hasPragma(){return!0}}),json5:xe(Oi),"json-stringify":xe({parse:Fi({allowComments:!1}),astFormat:"estree-json"})},_i=fn;var dn={...Mi,..._i};var Jo=cs;export{Jo as default,dn as parsers}; +`||i==="\r"||i==="\u2028"||i==="\u2029")return t+1}return t}var us=mr;function yr(a,t){return t===!1?!1:a.charAt(t)==="/"&&a.charAt(t+1)==="/"?cs(a,t):t}var fs=yr;function xr(a,t){let e=null,s=t;for(;s!==e;)e=s,s=ls(a,s),s=ps(a,s),s=fs(a,s),s=us(a,s);return s}var ds=xr;function Pr(a){let t=[];for(let e of a)try{return e()}catch(s){t.push(s)}throw Object.assign(new Error("All combinations failed"),{errors:t})}var ms=Pr;function gr(a){if(!a.startsWith("#!"))return"";let t=a.indexOf(` +`);return t===-1?a:a.slice(0,t)}var Oe=gr;var Tr=(a,t,e)=>{if(!(a&&t==null))return Array.isArray(t)||typeof t=="string"?t[e<0?t.length+e:e]:t.at(e)},St=Tr;function br(a){return Array.isArray(a)&&a.length>0}var Pe=br;function D(a){var s,i,r;let t=((s=a.range)==null?void 0:s[0])??a.start,e=(r=((i=a.declaration)==null?void 0:i.decorators)??a.decorators)==null?void 0:r[0];return e?Math.min(D(e),t):t}function B(a){var t;return((t=a.range)==null?void 0:t[1])??a.end}function Ar(a){let t=new Set(a);return e=>t.has(e==null?void 0:e.type)}var ys=Ar;var Sr=ys(["Block","CommentBlock","MultiLine"]),ge=Sr;function wr(a){let t=`*${a.value}*`.split(` +`);return t.length>1&&t.every(e=>e.trimStart()[0]==="*")}var wt=wr;function Cr(a){return ge(a)&&a.value[0]==="*"&&/@(?:type|satisfies)\b/u.test(a.value)}var xs=Cr;var Te=null;function be(a){if(Te!==null&&typeof Te.property){let t=Te;return Te=be.prototype=null,t}return Te=be.prototype=a??Object.create(null),new be}var Er=10;for(let a=0;a<=Er;a++)be();function Ct(a){return be(a)}function Ir(a,t="type"){Ct(a);function e(s){let i=s[t],r=a[i];if(!Array.isArray(r))throw Object.assign(new Error(`Missing visitor keys for '${i}'.`),{node:s});return r}return e}var Ps=Ir;var gs={ArrayExpression:["elements"],AssignmentExpression:["left","right"],BinaryExpression:["left","right"],InterpreterDirective:[],Directive:["value"],DirectiveLiteral:[],BlockStatement:["directives","body"],BreakStatement:["label"],CallExpression:["callee","arguments","typeParameters","typeArguments"],CatchClause:["param","body"],ConditionalExpression:["test","consequent","alternate"],ContinueStatement:["label"],DebuggerStatement:[],DoWhileStatement:["test","body"],EmptyStatement:[],ExpressionStatement:["expression"],File:["program"],ForInStatement:["left","right","body"],ForStatement:["init","test","update","body"],FunctionDeclaration:["id","params","body","returnType","typeParameters","predicate"],FunctionExpression:["id","params","body","returnType","typeParameters"],Identifier:["typeAnnotation","decorators"],IfStatement:["test","consequent","alternate"],LabeledStatement:["label","body"],StringLiteral:[],NumericLiteral:[],NullLiteral:[],BooleanLiteral:[],RegExpLiteral:[],LogicalExpression:["left","right"],MemberExpression:["object","property"],NewExpression:["callee","arguments","typeParameters","typeArguments"],Program:["directives","body"],ObjectExpression:["properties"],ObjectMethod:["key","params","body","decorators","returnType","typeParameters"],ObjectProperty:["key","value","decorators"],RestElement:["argument","typeAnnotation","decorators"],ReturnStatement:["argument"],SequenceExpression:["expressions"],ParenthesizedExpression:["expression"],SwitchCase:["test","consequent"],SwitchStatement:["discriminant","cases"],ThisExpression:[],ThrowStatement:["argument"],TryStatement:["block","handler","finalizer"],UnaryExpression:["argument"],UpdateExpression:["argument"],VariableDeclaration:["declarations"],VariableDeclarator:["id","init"],WhileStatement:["test","body"],WithStatement:["object","body"],AssignmentPattern:["left","right","decorators","typeAnnotation"],ArrayPattern:["elements","typeAnnotation","decorators"],ArrowFunctionExpression:["params","body","returnType","typeParameters","predicate"],ClassBody:["body"],ClassExpression:["id","body","superClass","mixins","typeParameters","superTypeParameters","implements","decorators","superTypeArguments"],ClassDeclaration:["id","body","superClass","mixins","typeParameters","superTypeParameters","implements","decorators","superTypeArguments"],ExportAllDeclaration:["source","attributes","exported"],ExportDefaultDeclaration:["declaration"],ExportNamedDeclaration:["declaration","specifiers","source","attributes"],ExportSpecifier:["local","exported"],ForOfStatement:["left","right","body"],ImportDeclaration:["specifiers","source","attributes"],ImportDefaultSpecifier:["local"],ImportNamespaceSpecifier:["local"],ImportSpecifier:["local","imported"],ImportExpression:["source","options","attributes"],MetaProperty:["meta","property"],ClassMethod:["key","params","body","decorators","returnType","typeParameters"],ObjectPattern:["properties","typeAnnotation","decorators"],SpreadElement:["argument"],Super:[],TaggedTemplateExpression:["tag","quasi","typeParameters","typeArguments"],TemplateElement:[],TemplateLiteral:["quasis","expressions"],YieldExpression:["argument"],AwaitExpression:["argument"],Import:[],BigIntLiteral:[],ExportNamespaceSpecifier:["exported"],OptionalMemberExpression:["object","property"],OptionalCallExpression:["callee","arguments","typeParameters","typeArguments"],ClassProperty:["key","value","typeAnnotation","decorators","variance"],ClassAccessorProperty:["key","value","typeAnnotation","decorators"],ClassPrivateProperty:["key","value","decorators","typeAnnotation","variance"],ClassPrivateMethod:["key","params","body","decorators","returnType","typeParameters"],PrivateName:["id"],StaticBlock:["body"],AnyTypeAnnotation:[],ArrayTypeAnnotation:["elementType"],BooleanTypeAnnotation:[],BooleanLiteralTypeAnnotation:[],NullLiteralTypeAnnotation:[],ClassImplements:["id","typeParameters"],DeclareClass:["id","typeParameters","extends","mixins","implements","body"],DeclareFunction:["id","predicate"],DeclareInterface:["id","typeParameters","extends","body"],DeclareModule:["id","body"],DeclareModuleExports:["typeAnnotation"],DeclareTypeAlias:["id","typeParameters","right"],DeclareOpaqueType:["id","typeParameters","supertype"],DeclareVariable:["id"],DeclareExportDeclaration:["declaration","specifiers","source"],DeclareExportAllDeclaration:["source"],DeclaredPredicate:["value"],ExistsTypeAnnotation:[],FunctionTypeAnnotation:["typeParameters","params","rest","returnType","this"],FunctionTypeParam:["name","typeAnnotation"],GenericTypeAnnotation:["id","typeParameters"],InferredPredicate:[],InterfaceExtends:["id","typeParameters"],InterfaceDeclaration:["id","typeParameters","extends","body"],InterfaceTypeAnnotation:["extends","body"],IntersectionTypeAnnotation:["types"],MixedTypeAnnotation:[],EmptyTypeAnnotation:[],NullableTypeAnnotation:["typeAnnotation"],NumberLiteralTypeAnnotation:[],NumberTypeAnnotation:[],ObjectTypeAnnotation:["properties","indexers","callProperties","internalSlots"],ObjectTypeInternalSlot:["id","value"],ObjectTypeCallProperty:["value"],ObjectTypeIndexer:["id","key","value","variance"],ObjectTypeProperty:["key","value","variance"],ObjectTypeSpreadProperty:["argument"],OpaqueType:["id","typeParameters","supertype","impltype"],QualifiedTypeIdentifier:["id","qualification"],StringLiteralTypeAnnotation:[],StringTypeAnnotation:[],SymbolTypeAnnotation:[],ThisTypeAnnotation:[],TupleTypeAnnotation:["types","elementTypes"],TypeofTypeAnnotation:["argument","typeArguments"],TypeAlias:["id","typeParameters","right"],TypeAnnotation:["typeAnnotation"],TypeCastExpression:["expression","typeAnnotation"],TypeParameter:["bound","default","variance"],TypeParameterDeclaration:["params"],TypeParameterInstantiation:["params"],UnionTypeAnnotation:["types"],Variance:[],VoidTypeAnnotation:[],EnumDeclaration:["id","body"],EnumBooleanBody:["members"],EnumNumberBody:["members"],EnumStringBody:["members"],EnumSymbolBody:["members"],EnumBooleanMember:["id","init"],EnumNumberMember:["id","init"],EnumStringMember:["id","init"],EnumDefaultedMember:["id"],IndexedAccessType:["objectType","indexType"],OptionalIndexedAccessType:["objectType","indexType"],JSXAttribute:["name","value"],JSXClosingElement:["name"],JSXElement:["openingElement","children","closingElement"],JSXEmptyExpression:[],JSXExpressionContainer:["expression"],JSXSpreadChild:["expression"],JSXIdentifier:[],JSXMemberExpression:["object","property"],JSXNamespacedName:["namespace","name"],JSXOpeningElement:["name","attributes","typeArguments","typeParameters"],JSXSpreadAttribute:["argument"],JSXText:[],JSXFragment:["openingFragment","children","closingFragment"],JSXOpeningFragment:[],JSXClosingFragment:[],Noop:[],Placeholder:[],V8IntrinsicIdentifier:[],ArgumentPlaceholder:[],BindExpression:["object","callee"],ImportAttribute:["key","value"],Decorator:["expression"],DoExpression:["body"],ExportDefaultSpecifier:["exported"],RecordExpression:["properties"],TupleExpression:["elements"],DecimalLiteral:[],ModuleExpression:["body"],TopicReference:[],PipelineTopicExpression:["expression"],PipelineBareFunction:["callee"],PipelinePrimaryTopicReference:[],TSParameterProperty:["parameter","decorators"],TSDeclareFunction:["id","typeParameters","params","returnType","body"],TSDeclareMethod:["decorators","key","typeParameters","params","returnType"],TSQualifiedName:["left","right"],TSCallSignatureDeclaration:["typeParameters","parameters","typeAnnotation","params","returnType"],TSConstructSignatureDeclaration:["typeParameters","parameters","typeAnnotation","params","returnType"],TSPropertySignature:["key","typeAnnotation"],TSMethodSignature:["key","typeParameters","parameters","typeAnnotation","params","returnType"],TSIndexSignature:["parameters","typeAnnotation"],TSAnyKeyword:[],TSBooleanKeyword:[],TSBigIntKeyword:[],TSIntrinsicKeyword:[],TSNeverKeyword:[],TSNullKeyword:[],TSNumberKeyword:[],TSObjectKeyword:[],TSStringKeyword:[],TSSymbolKeyword:[],TSUndefinedKeyword:[],TSUnknownKeyword:[],TSVoidKeyword:[],TSThisType:[],TSFunctionType:["typeParameters","parameters","typeAnnotation","params","returnType"],TSConstructorType:["typeParameters","parameters","typeAnnotation","params","returnType"],TSTypeReference:["typeName","typeParameters","typeArguments"],TSTypePredicate:["parameterName","typeAnnotation"],TSTypeQuery:["exprName","typeParameters","typeArguments"],TSTypeLiteral:["members"],TSArrayType:["elementType"],TSTupleType:["elementTypes"],TSOptionalType:["typeAnnotation"],TSRestType:["typeAnnotation"],TSNamedTupleMember:["label","elementType"],TSUnionType:["types"],TSIntersectionType:["types"],TSConditionalType:["checkType","extendsType","trueType","falseType"],TSInferType:["typeParameter"],TSParenthesizedType:["typeAnnotation"],TSTypeOperator:["typeAnnotation"],TSIndexedAccessType:["objectType","indexType"],TSMappedType:["typeParameter","typeAnnotation","nameType"],TSLiteralType:["literal"],TSExpressionWithTypeArguments:["expression","typeParameters"],TSInterfaceDeclaration:["id","typeParameters","extends","body"],TSInterfaceBody:["body"],TSTypeAliasDeclaration:["id","typeParameters","typeAnnotation"],TSInstantiationExpression:["expression","typeParameters","typeArguments"],TSAsExpression:["expression","typeAnnotation"],TSSatisfiesExpression:["expression","typeAnnotation"],TSTypeAssertion:["typeAnnotation","expression"],TSEnumDeclaration:["id","members"],TSEnumMember:["id","initializer"],TSModuleDeclaration:["id","body"],TSModuleBlock:["body"],TSImportType:["argument","qualifier","typeParameters","typeArguments"],TSImportEqualsDeclaration:["id","moduleReference"],TSExternalModuleReference:["expression"],TSNonNullExpression:["expression"],TSExportAssignment:["expression"],TSNamespaceExportDeclaration:["id"],TSTypeAnnotation:["typeAnnotation"],TSTypeParameterInstantiation:["params"],TSTypeParameterDeclaration:["params"],TSTypeParameter:["constraint","default","name"],ChainExpression:["expression"],ExperimentalRestProperty:["argument"],ExperimentalSpreadProperty:["argument"],Literal:[],MethodDefinition:["decorators","key","value"],PrivateIdentifier:[],Property:["key","value"],PropertyDefinition:["decorators","key","typeAnnotation","value","variance"],AccessorProperty:["decorators","key","typeAnnotation","value"],TSAbstractAccessorProperty:["decorators","key","typeAnnotation"],TSAbstractKeyword:[],TSAbstractMethodDefinition:["key","value"],TSAbstractPropertyDefinition:["decorators","key","typeAnnotation"],TSAsyncKeyword:[],TSClassImplements:["expression","typeArguments","typeParameters"],TSDeclareKeyword:[],TSEmptyBodyFunctionExpression:["id","typeParameters","params","returnType"],TSEnumBody:["members"],TSExportKeyword:[],TSInterfaceHeritage:["expression","typeArguments","typeParameters"],TSPrivateKeyword:[],TSProtectedKeyword:[],TSPublicKeyword:[],TSReadonlyKeyword:[],TSStaticKeyword:[],TSTemplateLiteralType:["quasis","types"],AsConstExpression:["expression"],AsExpression:["expression","typeAnnotation"],BigIntLiteralTypeAnnotation:[],BigIntTypeAnnotation:[],ComponentDeclaration:["id","params","body","typeParameters","rendersType"],ComponentParameter:["name","local"],ComponentTypeAnnotation:["params","rest","typeParameters","rendersType"],ComponentTypeParameter:["name","typeAnnotation"],ConditionalTypeAnnotation:["checkType","extendsType","trueType","falseType"],DeclareComponent:["id","params","rest","typeParameters","rendersType"],DeclareEnum:["id","body"],DeclareHook:["id"],DeclareNamespace:["id","body"],EnumBigIntBody:["members"],EnumBigIntMember:["id","init"],HookDeclaration:["id","params","body","typeParameters","returnType"],HookTypeAnnotation:["params","returnType","rest","typeParameters"],InferTypeAnnotation:["typeParameter"],KeyofTypeAnnotation:["argument"],ObjectTypeMappedTypeProperty:["keyTparam","propType","sourceType","variance"],QualifiedTypeofIdentifier:["qualification","id"],TupleTypeLabeledElement:["label","elementType","variance"],TupleTypeSpreadElement:["label","typeAnnotation"],TypeOperator:["typeAnnotation"],TypePredicate:["parameterName","typeAnnotation","asserts"],NGRoot:["node"],NGPipeExpression:["left","right","arguments"],NGChainedExpression:["expressions"],NGEmptyExpression:[],NGMicrosyntax:["body"],NGMicrosyntaxKey:[],NGMicrosyntaxExpression:["expression","alias"],NGMicrosyntaxKeyedExpression:["key","expression"],NGMicrosyntaxLet:["key","value"],NGMicrosyntaxAs:["key","alias"],JsExpressionRoot:["node"],JsonRoot:["node"],TSJSDocAllType:[],TSJSDocUnknownType:[],TSJSDocNullableType:["typeAnnotation"],TSJSDocNonNullableType:["typeAnnotation"],NeverTypeAnnotation:[],UndefinedTypeAnnotation:[],UnknownTypeAnnotation:[],SatisfiesExpression:["expression","typeAnnotation"]};var Nr=Ps(gs),Ts=Nr;function Et(a,t){if(!(a!==null&&typeof a=="object"))return a;if(Array.isArray(a)){for(let s=0;s{var n;(n=r.leadingComments)!=null&&n.some(xs)&&i.add(D(r))}),a=Fe(a,r=>{if(r.type==="ParenthesizedExpression"){let{expression:n}=r;if(n.type==="TypeCastExpression")return n.range=[...r.range],n;let o=D(r);if(!i.has(o))return n.extra={...n.extra,parenthesized:!0},n}})}if(a=Fe(a,i=>{var r;switch(i.type){case"LogicalExpression":if(bs(i))return It(i);break;case"VariableDeclaration":{let n=St(!1,i.declarations,-1);n!=null&&n.init&&s[B(n)]!==";"&&(i.range=[D(i),B(n)]);break}case"TSParenthesizedType":return i.typeAnnotation;case"TSTypeParameter":if(typeof i.name=="string"){let n=D(i);i.name={type:"Identifier",name:i.name,range:[n,n+i.name.length]}}break;case"TopicReference":a.extra={...a.extra,__isUsingHackPipeline:!0};break;case"ExportAllDeclaration":if(e==="meriyah"&&((r=i.exported)==null?void 0:r.type)==="Identifier"){let{exported:n}=i,o=s.slice(D(n),B(n));(o.startsWith('"')||o.startsWith("'"))&&(i.exported={...i.exported,type:"Literal",value:i.exported.name,raw:o})}break;case"TSUnionType":case"TSIntersectionType":if(i.types.length===1)return i.types[0];break}}),Pe(a.comments)){let i=St(!1,a.comments,-1);for(let r=a.comments.length-2;r>=0;r--){let n=a.comments[r];B(n)===D(i)&&ge(n)&&ge(i)&&wt(n)&&wt(i)&&(a.comments.splice(r+1,1),n.value+="*//*"+i.value,n.range=[D(n),B(i)]),i=n}}return a.type==="Program"&&(a.range=[0,s.length]),a}function bs(a){return a.type==="LogicalExpression"&&a.right.type==="LogicalExpression"&&a.operator===a.right.operator}function It(a){return bs(a)?It({type:"LogicalExpression",operator:a.operator,left:It({type:"LogicalExpression",operator:a.operator,left:a.left,right:a.right.left,range:[D(a.left),B(a.right.left)]}),right:a.right.right,range:[D(a),B(a)]}):a}var As=kr;function vr(a,t){let e=new SyntaxError(a+" ("+t.loc.start.line+":"+t.loc.start.column+")");return Object.assign(e,t)}var Be=vr;function Lr(a){let{message:t,loc:{line:e,column:s},reasonCode:i}=a,r=a;(i==="MissingPlugin"||i==="MissingOneOfPlugins")&&(t="Unexpected token.",r=void 0);let n=` (${e}:${s})`;return t.endsWith(n)&&(t=t.slice(0,-n.length)),Be(t,{loc:{start:{line:e,column:s+1}},cause:r})}var Re=Lr;var Dr=(a,t,e,s)=>{if(!(a&&t==null))return t.replaceAll?t.replaceAll(e,s):e.global?t.replace(e,s):t.split(e).join(s)},ie=Dr;var Mr=/\*\/$/,Or=/^\/\*\*?/,Fr=/^\s*(\/\*\*?(.|\r?\n)*?\*\/)/,Br=/(^|\s+)\/\/([^\n\r]*)/g,Ss=/^(\r?\n)+/,Rr=/(?:^|\r?\n) *(@[^\n\r]*?) *\r?\n *(?![^\n\r@]*\/\/[^]*)([^\s@][^\n\r@]+?) *\r?\n/g,ws=/(?:^|\r?\n) *@(\S+) *([^\n\r]*)/g,Ur=/(\r?\n|^) *\* ?/g,_r=[];function Cs(a){let t=a.match(Fr);return t?t[0].trimStart():""}function Es(a){let t=` +`;a=ie(!1,a.replace(Or,"").replace(Mr,""),Ur,"$1");let e="";for(;e!==a;)e=a,a=ie(!1,a,Rr,`${t}$1 $2${t}`);a=a.replace(Ss,"").trimEnd();let s=Object.create(null),i=ie(!1,a,ws,"").replace(Ss,"").trimEnd(),r;for(;r=ws.exec(a);){let n=ie(!1,r[2],Br,"");if(typeof s[r[1]]=="string"||Array.isArray(s[r[1]])){let o=s[r[1]];s[r[1]]=[..._r,...Array.isArray(o)?o:[o],n]}else s[r[1]]=n}return{comments:i,pragmas:s}}function jr(a){let t=Oe(a);t&&(a=a.slice(t.length+1));let e=Cs(a),{pragmas:s,comments:i}=Es(e);return{shebang:t,text:a,pragmas:s,comments:i}}function Is(a){let{pragmas:t}=jr(a);return Object.prototype.hasOwnProperty.call(t,"prettier")||Object.prototype.hasOwnProperty.call(t,"format")}function $r(a){return a=typeof a=="function"?{parse:a}:a,{astFormat:"estree",hasPragma:Is,locStart:D,locEnd:B,...a}}var G=$r;function Vr(a){let{filepath:t}=a;if(t){if(t=t.toLowerCase(),t.endsWith(".cjs"))return"script";if(t.endsWith(".mjs"))return"module"}}var Ns=Vr;function qr(a,t){let{type:e="JsExpressionRoot",rootMarker:s,text:i}=t,{tokens:r,comments:n}=a;return delete a.tokens,delete a.comments,{tokens:r,comments:n,type:e,node:a,range:[0,i.length],rootMarker:s}}var Ue=qr;var re=a=>G(Jr(a)),zr={sourceType:"module",allowImportExportEverywhere:!0,allowReturnOutsideFunction:!0,allowNewTargetOutsideFunction:!0,allowSuperOutsideMethod:!0,allowUndeclaredExports:!0,errorRecovery:!0,createParenthesizedExpressions:!0,createImportExpressions:!0,plugins:["doExpressions","exportDefaultFrom","functionBind","functionSent","throwExpressions","partialApplication","decorators","decimal","moduleBlocks","asyncDoExpressions","destructuringPrivate","decoratorAutoAccessors","importReflection","explicitResourceManagement",["importAttributes",{deprecatedAssertSyntax:!0}],"sourcePhaseImports","deferredImportEvaluation",["optionalChainingAssign",{version:"2023-07"}],"recordAndTuple"],tokens:!0,ranges:!0},ks="v8intrinsic",vs=[["pipelineOperator",{proposal:"hack",topicToken:"%"}],["pipelineOperator",{proposal:"minimal"}],["pipelineOperator",{proposal:"fsharp"}]],V=(a,t=zr)=>({...t,plugins:[...t.plugins,...a]}),Kr=/@(?:no)?flow\b/u;function Hr(a,t){var i;if((i=t.filepath)!=null&&i.endsWith(".js.flow"))return!0;let e=Oe(a);e&&(a=a.slice(e.length));let s=ds(a,0);return s!==!1&&(a=a.slice(0,s)),Kr.test(a)}function Wr(a,t,e){let s=a(t,e),i=s.errors.find(r=>!Xr.has(r.reasonCode));if(i)throw i;return s}function Jr({isExpression:a=!1,optionsCombinations:t}){return(e,s={})=>{if((s.parser==="babel"||s.parser==="__babel_estree")&&Hr(e,s))return s.parser="babel-flow",Bs.parse(e,s);let i=t;(s.__babelSourceType??Ns(s))==="script"&&(i=i.map(c=>({...c,sourceType:"script"})));let n=/%[A-Z]/u.test(e);e.includes("|>")?i=(n?[...vs,ks]:vs).flatMap(l=>i.map(u=>V([l],u))):n&&(i=i.map(c=>V([ks],c)));let o=a?_e.parseExpression:_e.parse,h;try{h=ms(i.map(c=>()=>Wr(o,e,c)))}catch({errors:[c]}){throw Re(c)}return a&&(h=Ue(h,{text:e,rootMarker:s.rootMarker})),As(h,{parser:"babel",text:e})}}var Xr=new Set(["StrictNumericEscape","StrictWith","StrictOctalLiteral","StrictDelete","StrictEvalArguments","StrictEvalArgumentsBinding","StrictFunction","ForInOfLoopInitializer","EmptyTypeArguments","EmptyTypeParameters","ConstructorHasTypeParameters","UnsupportedParameterPropertyKind","DecoratorExportClass","ParamDupe","InvalidDecimal","RestTrailingComma","UnsupportedParameterDecorator","UnterminatedJsxContent","UnexpectedReservedWord","ModuleAttributesWithDuplicateKeys","LineTerminatorBeforeArrow","InvalidEscapeSequenceTemplate","NonAbstractClassHasAbstractMethod","OptionalTypeBeforeRequired","PatternIsOptional","OptionalBindingPattern","DeclareClassFieldHasInitializer","TypeImportCannotSpecifyDefaultAndNamed","ConstructorClassField","VarRedeclaration","InvalidPrivateFieldResolution","DuplicateExport"]),Fs=[V(["jsx"])],Ls=re({optionsCombinations:Fs}),Ds=re({optionsCombinations:[V(["jsx","typescript"]),V(["typescript"])]}),Ms=re({isExpression:!0,optionsCombinations:[V(["jsx"])]}),Os=re({isExpression:!0,optionsCombinations:[V(["typescript"])]}),Bs=re({optionsCombinations:[V(["jsx",["flow",{all:!0,enums:!0}],"flowComments"])]}),Gr=re({optionsCombinations:Fs.map(a=>V(["estree"],a))}),Rs={babel:Ls,"babel-flow":Bs,"babel-ts":Ds,__js_expression:Ms,__ts_expression:Os,__vue_expression:Ms,__vue_ts_expression:Os,__vue_event_binding:Ls,__vue_ts_event_binding:Ds,__babel_estree:Gr};var Us=vt(At(),1);function _s(a={}){let{allowComments:t=!0}=a;return function(s){let i;try{i=(0,Us.parseExpression)(s,{tokens:!0,ranges:!0,attachComment:!1})}catch(r){throw Re(r)}if(!t&&Pe(i.comments))throw H(i.comments[0],"Comment");return ae(i),Ue(i,{type:"JsonRoot",text:s})}}function H(a,t){let[e,s]=[a.loc.start,a.loc.end].map(({line:i,column:r})=>({line:i,column:r+1}));return Be(`${t} is not allowed in JSON.`,{loc:{start:e,end:s}})}function ae(a){switch(a.type){case"ArrayExpression":for(let t of a.elements)t!==null&&ae(t);return;case"ObjectExpression":for(let t of a.properties)ae(t);return;case"ObjectProperty":if(a.computed)throw H(a.key,"Computed key");if(a.shorthand)throw H(a.key,"Shorthand property");a.key.type!=="Identifier"&&ae(a.key),ae(a.value);return;case"UnaryExpression":{let{operator:t,argument:e}=a;if(t!=="+"&&t!=="-")throw H(a,`Operator '${a.operator}'`);if(e.type==="NumericLiteral"||e.type==="Identifier"&&(e.name==="Infinity"||e.name==="NaN"))return;throw H(e,`Operator '${t}' before '${e.type}'`)}case"Identifier":if(a.name!=="Infinity"&&a.name!=="NaN"&&a.name!=="undefined")throw H(a,`Identifier '${a.name}'`);return;case"TemplateLiteral":if(Pe(a.expressions))throw H(a.expressions[0],"'TemplateLiteral' with expression");for(let t of a.quasis)ae(t);return;case"NullLiteral":case"BooleanLiteral":case"NumericLiteral":case"StringLiteral":case"TemplateElement":return;default:throw H(a,`'${a.type}'`)}}var Nt=_s(),Yr={json:G({parse:Nt,hasPragma(){return!0}}),json5:G(Nt),jsonc:G(Nt),"json-stringify":G({parse:_s({allowComments:!1}),astFormat:"estree-json"})},js=Yr;var Qr={...Rs,...js};var Ln=kt;export{Ln as default,Qr as parsers}; diff --git a/node_modules/prettier/plugins/estree.d.ts b/node_modules/prettier/plugins/estree.d.ts index e69de29bb2..cb0ff5c3b5 100644 --- a/node_modules/prettier/plugins/estree.d.ts +++ b/node_modules/prettier/plugins/estree.d.ts @@ -0,0 +1 @@ +export {}; diff --git a/node_modules/prettier/plugins/estree.js b/node_modules/prettier/plugins/estree.js index 9f5d69bbe9..53656e69d7 100644 --- a/node_modules/prettier/plugins/estree.js +++ b/node_modules/prettier/plugins/estree.js @@ -1,35 +1,36 @@ -(function(f){function e(){var i=f();return i.default||i}if(typeof exports=="object"&&typeof module=="object")module.exports=e();else if(typeof define=="function"&&define.amd)define(e);else{var t=typeof globalThis<"u"?globalThis:typeof global<"u"?global:typeof self<"u"?self:this||{};t.prettierPlugins=t.prettierPlugins||{},t.prettierPlugins.estree=e()}})(function(){"use strict";var ua=Object.create;var pr=Object.defineProperty;var ia=Object.getOwnPropertyDescriptor;var aa=Object.getOwnPropertyNames;var oa=Object.getPrototypeOf,pa=Object.prototype.hasOwnProperty;var ca=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),cr=(e,t)=>{for(var r in t)pr(e,r,{get:t[r],enumerable:!0})},Bs=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let s of aa(t))!pa.call(e,s)&&s!==r&&pr(e,s,{get:()=>t[s],enumerable:!(n=ia(t,s))||n.enumerable});return e};var la=(e,t,r)=>(r=e!=null?ua(oa(e)):{},Bs(t||!e||!e.__esModule?pr(r,"default",{value:e,enumerable:!0}):r,e)),ma=e=>Bs(pr({},"__esModule",{value:!0}),e);var bs=(e,t,r)=>{if(!t.has(e))throw TypeError("Cannot "+r)};var nt=(e,t,r)=>(bs(e,t,"read from private field"),r?r.call(e):t.get(e)),Ps=(e,t,r)=>{if(t.has(e))throw TypeError("Cannot add the same private member more than once");t instanceof WeakSet?t.add(e):t.set(e,r)},ks=(e,t,r,n)=>(bs(e,t,"write to private field"),n?n.call(e,r):t.set(e,r),r);var Hi=ca(ht=>{"use strict";Object.defineProperty(ht,"__esModule",{value:!0});ht.extract=el;ht.parse=rl;ht.parseWithComments=Vi;ht.print=nl;ht.strip=tl;var Hc=/\*\/$/,Kc=/^\/\*\*?/,Xi=/^\s*(\/\*\*?(.|\r?\n)*?\*\/)/,zc=/(^|\s+)\/\/([^\r\n]*)/g,qi=/^(\r?\n)+/,Qc=/(?:^|\r?\n) *(@[^\r\n]*?) *\r?\n *(?![^@\r\n]*\/\/[^]*)([^@\r\n\s][^@\r\n]+?) *\r?\n/g,Wi=/(?:^|\r?\n) *@(\S+) *([^\r\n]*)/g,Zc=/(\r?\n|^) *\* ?/g,$i=[];function el(e){let t=e.match(Xi);return t?t[0].trimLeft():""}function tl(e){let t=e.match(Xi);return t&&t[0]?e.substring(t[0].length):e}function rl(e){return Vi(e).pragmas}function Vi(e){let t=` -`;e=e.replace(Kc,"").replace(Hc,"").replace(Zc,"$1");let r="";for(;r!==e;)r=e,e=e.replace(Qc,`${t}$1 $2${t}`);e=e.replace(qi,"").trimRight();let n=Object.create(null),s=e.replace(Wi,"").replace(qi,"").trimRight(),u;for(;u=Wi.exec(e);){let i=u[2].replace(zc,"");typeof n[u[1]]=="string"||Array.isArray(n[u[1]])?n[u[1]]=$i.concat(n[u[1]],i):n[u[1]]=i}return{comments:s,pragmas:n}}function nl({comments:e="",pragmas:t={}}){let r=` -`,n="/**",s=" *",u=" */",i=Object.keys(t),a=i.map(p=>Yi(p,t[p])).reduce((p,m)=>p.concat(m),[]).map(p=>`${s} ${p}${r}`).join("");if(!e){if(i.length===0)return"";if(i.length===1&&!Array.isArray(t[i[0]])){let p=t[i[0]];return`${n} ${Yi(i[0],p)[0]}${u}`}}let o=e.split(r).map(p=>`${s} ${p}`).join(r)+r;return n+r+(e?o:"")+(e&&i.length?s+r:"")+a+u}function Yi(e,t){return $i.concat(t).map(r=>`@${e} ${r}`.trim())}});var yl={};cr(yl,{languages:()=>Dl,options:()=>sa,printers:()=>ml});var hs={};cr(hs,{canAttachComment:()=>Wo,embed:()=>Ni,experimentalFeatures:()=>il,getCommentChildNodes:()=>Yo,getVisitorKeys:()=>Fr,handleComments:()=>Ir,insertPragma:()=>zi,isBlockComment:()=>ae,isGap:()=>Xo,massageAstNode:()=>Gi,print:()=>Ii,printComment:()=>xu,willPrintOwnComments:()=>Qn});function Da(e,t){let{originalText:r,[Symbol.for("comments")]:n,locStart:s,locEnd:u,[Symbol.for("printedComments")]:i}=t,{node:a}=e,o=s(a),p=u(a);for(let m of n)s(m)>=o&&u(m)<=p&&i.add(m);return r.slice(o,p)}var Is=Da;var Ke="string",je="array",ze="cursor",Me="indent",Re="align",Qe="trim",ue="group",De="fill",Fe="if-break",Je="indent-if-break",Ne="line-suffix",Ue="line-suffix-boundary",ie="line",be="label",Pe="break-parent",lr=new Set([ze,Me,Re,Qe,ue,De,Fe,Je,Ne,Ue,ie,be,Pe]);function ya(e){if(typeof e=="string")return Ke;if(Array.isArray(e))return je;if(!e)return;let{type:t}=e;if(lr.has(t))return t}var Ze=ya;var fa=e=>new Intl.ListFormat("en-US",{type:"disjunction"}).format(e);function Ea(e){let t=e===null?"null":typeof e;if(t!=="string"&&t!=="object")return`Unexpected doc '${t}', -Expected it to be 'string' or 'object'.`;if(Ze(e))throw new Error("doc is valid.");let r=Object.prototype.toString.call(e);if(r!=="[object Object]")return`Unexpected doc '${r}'.`;let n=fa([...lr].map(s=>`'${s}'`));return`Unexpected doc.type '${e.type}'. -Expected it to be ${n}.`}var hn=class extends Error{name="InvalidDocError";constructor(t){super(Ea(t)),this.doc=t}},ct=hn;var Ls={};function Fa(e,t,r,n){let s=[e];for(;s.length>0;){let u=s.pop();if(u===Ls){r(s.pop());continue}r&&s.push(u,Ls);let i=Ze(u);if(!i)throw new ct(u);if((t==null?void 0:t(u))!==!1)switch(i){case je:case De:{let a=i===je?u:u.parts;for(let o=a.length,p=o-1;p>=0;--p)s.push(a[p]);break}case Fe:s.push(u.flatContents,u.breakContents);break;case ue:if(n&&u.expandedStates)for(let a=u.expandedStates.length,o=a-1;o>=0;--o)s.push(u.expandedStates[o]);else s.push(u.contents);break;case Re:case Me:case Je:case be:case Ne:s.push(u.contents);break;case Ke:case ze:case Qe:case Ue:case ie:case Pe:break;default:throw new ct(u)}}}var Sn=Fa;var ws=()=>{},Ge=ws,mr=ws;function E(e){return Ge(e),{type:Me,contents:e}}function ye(e,t){return Ge(t),{type:Re,contents:t,n:e}}function D(e,t={}){return Ge(e),mr(t.expandedStates,!0),{type:ue,id:t.id,contents:e,break:!!t.shouldBreak,expandedStates:t.expandedStates}}function Os(e){return ye(Number.NEGATIVE_INFINITY,e)}function vs(e){return ye(-1,e)}function qe(e,t){return D(e[0],{...t,expandedStates:e})}function St(e){return mr(e),{type:De,parts:e}}function b(e,t="",r={}){return Ge(e),t!==""&&Ge(t),{type:Fe,breakContents:e,flatContents:t,groupId:r.groupId}}function lt(e,t){return Ge(e),{type:Je,contents:e,groupId:t.groupId,negate:t.negate}}function Bn(e){return Ge(e),{type:Ne,contents:e}}var de={type:Ue},Ae={type:Pe};var bn={type:ie,hard:!0},Ca={type:ie,hard:!0,literal:!0},A={type:ie},F={type:ie,soft:!0},C=[bn,Ae],Dr=[Ca,Ae],Pn={type:ze};function B(e,t){Ge(e),mr(t);let r=[];for(let n=0;n0){for(let s=0;s{if(!(e&&t==null))return Array.isArray(t)||typeof t=="string"?t[r<0?t.length+r:r]:t.at(r)},w=da;var yr=e=>{if(Array.isArray(e))return e;if(e.type!==De)throw new Error(`Expect doc to be 'array' or '${De}'.`);return e.parts};function st(e,t){if(typeof e=="string")return t(e);let r=new Map;return n(e);function n(u){if(r.has(u))return r.get(u);let i=s(u);return r.set(u,i),i}function s(u){switch(Ze(u)){case je:return t(u.map(n));case De:return t({...u,parts:u.parts.map(n)});case Fe:return t({...u,breakContents:n(u.breakContents),flatContents:n(u.flatContents)});case ue:{let{expandedStates:i,contents:a}=u;return i?(i=i.map(n),a=i[0]):a=n(a),t({...u,contents:a,expandedStates:i})}case Re:case Me:case Je:case be:case Ne:return t({...u,contents:n(u.contents)});case Ke:case ze:case Qe:case Ue:case ie:case Pe:return t(u);default:throw new ct(u)}}}function Ms(e,t,r){let n=r,s=!1;function u(i){if(s)return!1;let a=t(i);a!==void 0&&(s=!0,n=a)}return Sn(e,u),n}function Aa(e){if(e.type===ue&&e.break||e.type===ie&&e.hard||e.type===Pe)return!0}function K(e){return Ms(e,Aa,!1)}function js(e){if(e.length>0){let t=w(!1,e,-1);!t.expandedStates&&!t.break&&(t.break="propagated")}return null}function Rs(e){let t=new Set,r=[];function n(u){if(u.type===Pe&&js(r),u.type===ue){if(r.push(u),t.has(u))return!1;t.add(u)}}function s(u){u.type===ue&&r.pop().break&&js(r)}Sn(e,n,s,!0)}function Ta(e){return e.type===ie&&!e.hard?e.soft?"":" ":e.type===Fe?e.flatContents:e}function Ut(e){return st(e,Ta)}function xa(e){switch(Ze(e)){case De:if(e.parts.every(t=>t===""))return"";break;case ue:if(!e.contents&&!e.id&&!e.break&&!e.expandedStates)return"";if(e.contents.type===ue&&e.contents.id===e.id&&e.contents.break===e.break&&e.contents.expandedStates===e.expandedStates)return e.contents;break;case Re:case Me:case Je:case Ne:if(!e.contents)return"";break;case Fe:if(!e.flatContents&&!e.breakContents)return"";break;case je:{let t=[];for(let r of e){if(!r)continue;let[n,...s]=Array.isArray(r)?r:[r];typeof n=="string"&&typeof w(!1,t,-1)=="string"?t[t.length-1]+=n:t.push(n),t.push(...s)}return t.length===0?"":t.length===1?t[0]:t}case Ke:case ze:case Qe:case Ue:case ie:case be:case Pe:break;default:throw new ct(e)}return e}function Bt(e){return st(e,t=>xa(t))}function Te(e,t=Dr){return st(e,r=>typeof r=="string"?B(t,r.split(` -`)):r)}function ga(e){if(e.type===ie)return!0}function Js(e){return Ms(e,ga,!1)}function Gt(e,t){return e.type===be?{...e,contents:t(e.contents)}:t(e)}function ha(e){return Array.isArray(e)&&e.length>0}var P=ha;var Sa=/^[\$A-Z_a-z\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u08A0-\u08B4\u08B6-\u08BD\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1CE9-\u1CEC\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC][\$0-9A-Z_a-z\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0300-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u0483-\u0487\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u05D0-\u05EA\u05F0-\u05F2\u0610-\u061A\u0620-\u0669\u066E-\u06D3\u06D5-\u06DC\u06DF-\u06E8\u06EA-\u06FC\u06FF\u0710-\u074A\u074D-\u07B1\u07C0-\u07F5\u07FA\u0800-\u082D\u0840-\u085B\u08A0-\u08B4\u08B6-\u08BD\u08D4-\u08E1\u08E3-\u0963\u0966-\u096F\u0971-\u0983\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BC-\u09C4\u09C7\u09C8\u09CB-\u09CE\u09D7\u09DC\u09DD\u09DF-\u09E3\u09E6-\u09F1\u0A01-\u0A03\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A59-\u0A5C\u0A5E\u0A66-\u0A75\u0A81-\u0A83\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABC-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AD0\u0AE0-\u0AE3\u0AE6-\u0AEF\u0AF9\u0B01-\u0B03\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3C-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B56\u0B57\u0B5C\u0B5D\u0B5F-\u0B63\u0B66-\u0B6F\u0B71\u0B82\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD0\u0BD7\u0BE6-\u0BEF\u0C00-\u0C03\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C58-\u0C5A\u0C60-\u0C63\u0C66-\u0C6F\u0C80-\u0C83\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBC-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CDE\u0CE0-\u0CE3\u0CE6-\u0CEF\u0CF1\u0CF2\u0D01-\u0D03\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D-\u0D44\u0D46-\u0D48\u0D4A-\u0D4E\u0D54-\u0D57\u0D5F-\u0D63\u0D66-\u0D6F\u0D7A-\u0D7F\u0D82\u0D83\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E01-\u0E3A\u0E40-\u0E4E\u0E50-\u0E59\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB9\u0EBB-\u0EBD\u0EC0-\u0EC4\u0EC6\u0EC8-\u0ECD\u0ED0-\u0ED9\u0EDC-\u0EDF\u0F00\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E-\u0F47\u0F49-\u0F6C\u0F71-\u0F84\u0F86-\u0F97\u0F99-\u0FBC\u0FC6\u1000-\u1049\u1050-\u109D\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u135D-\u135F\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1714\u1720-\u1734\u1740-\u1753\u1760-\u176C\u176E-\u1770\u1772\u1773\u1780-\u17D3\u17D7\u17DC\u17DD\u17E0-\u17E9\u180B-\u180D\u1810-\u1819\u1820-\u1877\u1880-\u18AA\u18B0-\u18F5\u1900-\u191E\u1920-\u192B\u1930-\u193B\u1946-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u19D0-\u19D9\u1A00-\u1A1B\u1A20-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AA7\u1AB0-\u1ABD\u1B00-\u1B4B\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1BF3\u1C00-\u1C37\u1C40-\u1C49\u1C4D-\u1C7D\u1C80-\u1C88\u1CD0-\u1CD2\u1CD4-\u1CF6\u1CF8\u1CF9\u1D00-\u1DF5\u1DFB-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u200C\u200D\u203F\u2040\u2054\u2071\u207F\u2090-\u209C\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D7F-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2DE0-\u2DFF\u2E2F\u3005-\u3007\u3021-\u302F\u3031-\u3035\u3038-\u303C\u3041-\u3096\u3099\u309A\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66F\uA674-\uA67D\uA67F-\uA6F1\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA827\uA840-\uA873\uA880-\uA8C5\uA8D0-\uA8D9\uA8E0-\uA8F7\uA8FB\uA8FD\uA900-\uA92D\uA930-\uA953\uA960-\uA97C\uA980-\uA9C0\uA9CF-\uA9D9\uA9E0-\uA9FE\uAA00-\uAA36\uAA40-\uAA4D\uAA50-\uAA59\uAA60-\uAA76\uAA7A-\uAAC2\uAADB-\uAADD\uAAE0-\uAAEF\uAAF2-\uAAF6\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABEA\uABEC\uABED\uABF0-\uABF9\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE00-\uFE0F\uFE20-\uFE2F\uFE33\uFE34\uFE4D-\uFE4F\uFE70-\uFE74\uFE76-\uFEFC\uFF10-\uFF19\uFF21-\uFF3A\uFF3F\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]*$/,Ba=e=>Sa.test(e),Ns=Ba;function ba(e){return e!==null&&typeof e=="object"}var Us=ba;function*Pa(e,t){let{getVisitorKeys:r,filter:n=()=>!0}=t,s=u=>Us(u)&&n(u);for(let u of r(e)){let i=e[u];if(Array.isArray(i))for(let a of i)s(a)&&(yield a);else s(i)&&(yield i)}}function*ka(e,t){let r=[e];for(let n=0;n{let s=!!(n!=null&&n.backwards);if(r===!1)return!1;let{length:u}=t,i=r;for(;i>=0&&i{throw TypeError(e)};var Ar=(e,t)=>{for(var r in t)In(e,r,{get:t[r],enumerable:!0})},Na=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let s of Ga(t))!Ua.call(e,s)&&s!==r&&In(e,s,{get:()=>t[s],enumerable:!(n=Wa(t,s))||n.enumerable});return e};var Xa=e=>Na(In({},"__esModule",{value:!0}),e);var qs=(e,t,r)=>t.has(e)||Js("Cannot "+r);var pt=(e,t,r)=>(qs(e,t,"read from private field"),r?r.call(e):t.get(e)),Ws=(e,t,r)=>t.has(e)?Js("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,r),Gs=(e,t,r,n)=>(qs(e,t,"write to private field"),n?n.call(e,r):t.set(e,r),r);var om={};Ar(om,{languages:()=>am,options:()=>va,printers:()=>im});var Us=[{linguistLanguageId:183,name:"JavaScript",type:"programming",tmScope:"source.js",aceMode:"javascript",codemirrorMode:"javascript",codemirrorMimeType:"text/javascript",color:"#f1e05a",aliases:["js","node"],extensions:[".js","._js",".bones",".cjs",".es",".es6",".frag",".gs",".jake",".javascript",".jsb",".jscad",".jsfl",".jslib",".jsm",".jspre",".jss",".mjs",".njs",".pac",".sjs",".ssjs",".xsjs",".xsjslib",".wxs"],filenames:["Jakefile"],interpreters:["chakra","d8","gjs","js","node","nodejs","qjs","rhino","v8","v8-shell","zx"],parsers:["babel","acorn","espree","meriyah","babel-flow","babel-ts","flow","typescript"],vscodeLanguageIds:["javascript","mongo"]},{linguistLanguageId:183,name:"Flow",type:"programming",tmScope:"source.js",aceMode:"javascript",codemirrorMode:"javascript",codemirrorMimeType:"text/javascript",color:"#f1e05a",aliases:[],extensions:[".js.flow"],filenames:[],interpreters:["chakra","d8","gjs","js","node","nodejs","qjs","rhino","v8","v8-shell"],parsers:["flow","babel-flow"],vscodeLanguageIds:["javascript"]},{linguistLanguageId:183,name:"JSX",type:"programming",tmScope:"source.js.jsx",aceMode:"javascript",codemirrorMode:"jsx",codemirrorMimeType:"text/jsx",color:void 0,aliases:void 0,extensions:[".jsx"],filenames:void 0,interpreters:void 0,parsers:["babel","babel-flow","babel-ts","flow","typescript","espree","meriyah"],vscodeLanguageIds:["javascriptreact"],group:"JavaScript"},{linguistLanguageId:378,name:"TypeScript",type:"programming",color:"#3178c6",aliases:["ts"],interpreters:["deno","ts-node"],extensions:[".ts",".cts",".mts"],tmScope:"source.ts",aceMode:"typescript",codemirrorMode:"javascript",codemirrorMimeType:"application/typescript",parsers:["typescript","babel-ts"],vscodeLanguageIds:["typescript"]},{linguistLanguageId:94901924,name:"TSX",type:"programming",color:"#3178c6",group:"TypeScript",extensions:[".tsx"],tmScope:"source.tsx",aceMode:"javascript",codemirrorMode:"jsx",codemirrorMimeType:"text/jsx",parsers:["typescript","babel-ts"],vscodeLanguageIds:["typescriptreact"]}];var Os={};Ar(Os,{canAttachComment:()=>Ap,embed:()=>Qu,experimentalFeatures:()=>em,getCommentChildNodes:()=>Tp,getVisitorKeys:()=>gr,handleComments:()=>zn,insertPragma:()=>pi,isBlockComment:()=>re,isGap:()=>dp,massageAstNode:()=>Cu,print:()=>Ia,printComment:()=>Pu,willPrintOwnComments:()=>Qn});var Ya=(e,t,r,n)=>{if(!(e&&t==null))return t.replaceAll?t.replaceAll(r,n):r.global?t.replace(r,n):t.split(r).join(n)},N=Ya;var Ha=(e,t,r)=>{if(!(e&&t==null))return Array.isArray(t)||typeof t=="string"?t[r<0?t.length+r:r]:t.at(r)},O=Ha;function Va(e){return e!==null&&typeof e=="object"}var Ns=Va;function*$a(e,t){let{getVisitorKeys:r,filter:n=()=>!0}=t,s=u=>Ns(u)&&n(u);for(let u of r(e)){let i=e[u];if(Array.isArray(i))for(let a of i)s(a)&&(yield a);else s(i)&&(yield i)}}function*Ka(e,t){let r=[e];for(let n=0;n/[#*0-9]\uFE0F?\u20E3|[\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u231A\u231B\u2328\u23CF\u23ED-\u23EF\u23F1\u23F2\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB\u25FC\u25FE\u2600-\u2604\u260E\u2611\u2614\u2615\u2618\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638-\u263A\u2640\u2642\u2648-\u2653\u265F\u2660\u2663\u2665\u2666\u2668\u267B\u267E\u267F\u2692\u2694-\u2697\u2699\u269B\u269C\u26A0\u26A7\u26AA\u26B0\u26B1\u26BD\u26BE\u26C4\u26C8\u26CF\u26D1\u26E9\u26F0-\u26F5\u26F7\u26F8\u26FA\u2702\u2708\u2709\u270F\u2712\u2714\u2716\u271D\u2721\u2733\u2734\u2744\u2747\u2757\u2763\u27A1\u2934\u2935\u2B05-\u2B07\u2B1B\u2B1C\u2B55\u3030\u303D\u3297\u3299]\uFE0F?|[\u261D\u270C\u270D](?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?|[\u270A\u270B](?:\uD83C[\uDFFB-\uDFFF])?|[\u23E9-\u23EC\u23F0\u23F3\u25FD\u2693\u26A1\u26AB\u26C5\u26CE\u26D4\u26EA\u26FD\u2705\u2728\u274C\u274E\u2753-\u2755\u2795-\u2797\u27B0\u27BF\u2B50]|\u26D3\uFE0F?(?:\u200D\uD83D\uDCA5)?|\u26F9(?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|\u2764\uFE0F?(?:\u200D(?:\uD83D\uDD25|\uD83E\uDE79))?|\uD83C(?:[\uDC04\uDD70\uDD71\uDD7E\uDD7F\uDE02\uDE37\uDF21\uDF24-\uDF2C\uDF36\uDF7D\uDF96\uDF97\uDF99-\uDF9B\uDF9E\uDF9F\uDFCD\uDFCE\uDFD4-\uDFDF\uDFF5\uDFF7]\uFE0F?|[\uDF85\uDFC2\uDFC7](?:\uD83C[\uDFFB-\uDFFF])?|[\uDFC4\uDFCA](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDFCB\uDFCC](?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDCCF\uDD8E\uDD91-\uDD9A\uDE01\uDE1A\uDE2F\uDE32-\uDE36\uDE38-\uDE3A\uDE50\uDE51\uDF00-\uDF20\uDF2D-\uDF35\uDF37-\uDF43\uDF45-\uDF4A\uDF4C-\uDF7C\uDF7E-\uDF84\uDF86-\uDF93\uDFA0-\uDFC1\uDFC5\uDFC6\uDFC8\uDFC9\uDFCF-\uDFD3\uDFE0-\uDFF0\uDFF8-\uDFFF]|\uDDE6\uD83C[\uDDE8-\uDDEC\uDDEE\uDDF1\uDDF2\uDDF4\uDDF6-\uDDFA\uDDFC\uDDFD\uDDFF]|\uDDE7\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEF\uDDF1-\uDDF4\uDDF6-\uDDF9\uDDFB\uDDFC\uDDFE\uDDFF]|\uDDE8\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDEE\uDDF0-\uDDF5\uDDF7\uDDFA-\uDDFF]|\uDDE9\uD83C[\uDDEA\uDDEC\uDDEF\uDDF0\uDDF2\uDDF4\uDDFF]|\uDDEA\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDED\uDDF7-\uDDFA]|\uDDEB\uD83C[\uDDEE-\uDDF0\uDDF2\uDDF4\uDDF7]|\uDDEC\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEE\uDDF1-\uDDF3\uDDF5-\uDDFA\uDDFC\uDDFE]|\uDDED\uD83C[\uDDF0\uDDF2\uDDF3\uDDF7\uDDF9\uDDFA]|\uDDEE\uD83C[\uDDE8-\uDDEA\uDDF1-\uDDF4\uDDF6-\uDDF9]|\uDDEF\uD83C[\uDDEA\uDDF2\uDDF4\uDDF5]|\uDDF0\uD83C[\uDDEA\uDDEC-\uDDEE\uDDF2\uDDF3\uDDF5\uDDF7\uDDFC\uDDFE\uDDFF]|\uDDF1\uD83C[\uDDE6-\uDDE8\uDDEE\uDDF0\uDDF7-\uDDFB\uDDFE]|\uDDF2\uD83C[\uDDE6\uDDE8-\uDDED\uDDF0-\uDDFF]|\uDDF3\uD83C[\uDDE6\uDDE8\uDDEA-\uDDEC\uDDEE\uDDF1\uDDF4\uDDF5\uDDF7\uDDFA\uDDFF]|\uDDF4\uD83C\uDDF2|\uDDF5\uD83C[\uDDE6\uDDEA-\uDDED\uDDF0-\uDDF3\uDDF7-\uDDF9\uDDFC\uDDFE]|\uDDF6\uD83C\uDDE6|\uDDF7\uD83C[\uDDEA\uDDF4\uDDF8\uDDFA\uDDFC]|\uDDF8\uD83C[\uDDE6-\uDDEA\uDDEC-\uDDF4\uDDF7-\uDDF9\uDDFB\uDDFD-\uDDFF]|\uDDF9\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDED\uDDEF-\uDDF4\uDDF7\uDDF9\uDDFB\uDDFC\uDDFF]|\uDDFA\uD83C[\uDDE6\uDDEC\uDDF2\uDDF3\uDDF8\uDDFE\uDDFF]|\uDDFB\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDEE\uDDF3\uDDFA]|\uDDFC\uD83C[\uDDEB\uDDF8]|\uDDFD\uD83C\uDDF0|\uDDFE\uD83C[\uDDEA\uDDF9]|\uDDFF\uD83C[\uDDE6\uDDF2\uDDFC]|\uDF44(?:\u200D\uD83D\uDFEB)?|\uDF4B(?:\u200D\uD83D\uDFE9)?|\uDFC3(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?|\uDFF3\uFE0F?(?:\u200D(?:\u26A7\uFE0F?|\uD83C\uDF08))?|\uDFF4(?:\u200D\u2620\uFE0F?|\uDB40\uDC67\uDB40\uDC62\uDB40(?:\uDC65\uDB40\uDC6E\uDB40\uDC67|\uDC73\uDB40\uDC63\uDB40\uDC74|\uDC77\uDB40\uDC6C\uDB40\uDC73)\uDB40\uDC7F)?)|\uD83D(?:[\uDC3F\uDCFD\uDD49\uDD4A\uDD6F\uDD70\uDD73\uDD76-\uDD79\uDD87\uDD8A-\uDD8D\uDDA5\uDDA8\uDDB1\uDDB2\uDDBC\uDDC2-\uDDC4\uDDD1-\uDDD3\uDDDC-\uDDDE\uDDE1\uDDE3\uDDE8\uDDEF\uDDF3\uDDFA\uDECB\uDECD-\uDECF\uDEE0-\uDEE5\uDEE9\uDEF0\uDEF3]\uFE0F?|[\uDC42\uDC43\uDC46-\uDC50\uDC66\uDC67\uDC6B-\uDC6D\uDC72\uDC74-\uDC76\uDC78\uDC7C\uDC83\uDC85\uDC8F\uDC91\uDCAA\uDD7A\uDD95\uDD96\uDE4C\uDE4F\uDEC0\uDECC](?:\uD83C[\uDFFB-\uDFFF])?|[\uDC6E\uDC70\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4\uDEB5](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDD74\uDD90](?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?|[\uDC00-\uDC07\uDC09-\uDC14\uDC16-\uDC25\uDC27-\uDC3A\uDC3C-\uDC3E\uDC40\uDC44\uDC45\uDC51-\uDC65\uDC6A\uDC79-\uDC7B\uDC7D-\uDC80\uDC84\uDC88-\uDC8E\uDC90\uDC92-\uDCA9\uDCAB-\uDCFC\uDCFF-\uDD3D\uDD4B-\uDD4E\uDD50-\uDD67\uDDA4\uDDFB-\uDE2D\uDE2F-\uDE34\uDE37-\uDE41\uDE43\uDE44\uDE48-\uDE4A\uDE80-\uDEA2\uDEA4-\uDEB3\uDEB7-\uDEBF\uDEC1-\uDEC5\uDED0-\uDED2\uDED5-\uDED7\uDEDC-\uDEDF\uDEEB\uDEEC\uDEF4-\uDEFC\uDFE0-\uDFEB\uDFF0]|\uDC08(?:\u200D\u2B1B)?|\uDC15(?:\u200D\uD83E\uDDBA)?|\uDC26(?:\u200D(?:\u2B1B|\uD83D\uDD25))?|\uDC3B(?:\u200D\u2744\uFE0F?)?|\uDC41\uFE0F?(?:\u200D\uD83D\uDDE8\uFE0F?)?|\uDC68(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDC68\uDC69]\u200D\uD83D(?:\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?)|[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?)|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFC-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFD-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFD\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFE])))?))?|\uDC69(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?[\uDC68\uDC69]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?|\uDC69\u200D\uD83D(?:\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?))|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFC-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB\uDFFD-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB-\uDFFD\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB-\uDFFE])))?))?|\uDC6F(?:\u200D[\u2640\u2642]\uFE0F?)?|\uDD75(?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|\uDE2E(?:\u200D\uD83D\uDCA8)?|\uDE35(?:\u200D\uD83D\uDCAB)?|\uDE36(?:\u200D\uD83C\uDF2B\uFE0F?)?|\uDE42(?:\u200D[\u2194\u2195]\uFE0F?)?|\uDEB6(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?)|\uD83E(?:[\uDD0C\uDD0F\uDD18-\uDD1F\uDD30-\uDD34\uDD36\uDD77\uDDB5\uDDB6\uDDBB\uDDD2\uDDD3\uDDD5\uDEC3-\uDEC5\uDEF0\uDEF2-\uDEF8](?:\uD83C[\uDFFB-\uDFFF])?|[\uDD26\uDD35\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD\uDDCF\uDDD4\uDDD6-\uDDDD](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDDDE\uDDDF](?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDD0D\uDD0E\uDD10-\uDD17\uDD20-\uDD25\uDD27-\uDD2F\uDD3A\uDD3F-\uDD45\uDD47-\uDD76\uDD78-\uDDB4\uDDB7\uDDBA\uDDBC-\uDDCC\uDDD0\uDDE0-\uDDFF\uDE70-\uDE7C\uDE80-\uDE88\uDE90-\uDEBD\uDEBF-\uDEC2\uDECE-\uDEDB\uDEE0-\uDEE8]|\uDD3C(?:\u200D[\u2640\u2642]\uFE0F?|\uD83C[\uDFFB-\uDFFF])?|\uDDCE(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?|\uDDD1(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1|\uDDD1\u200D\uD83E\uDDD2(?:\u200D\uD83E\uDDD2)?|\uDDD2(?:\u200D\uD83E\uDDD2)?))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFC-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB\uDFFD-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB-\uDFFD\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB-\uDFFE]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?))?|\uDEF1(?:\uD83C(?:\uDFFB(?:\u200D\uD83E\uDEF2\uD83C[\uDFFC-\uDFFF])?|\uDFFC(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB\uDFFD-\uDFFF])?|\uDFFD(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])?|\uDFFE(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB-\uDFFD\uDFFF])?|\uDFFF(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB-\uDFFE])?))?)/g;function Hs(e){return e===12288||e>=65281&&e<=65376||e>=65504&&e<=65510}function Vs(e){return e>=4352&&e<=4447||e===8986||e===8987||e===9001||e===9002||e>=9193&&e<=9196||e===9200||e===9203||e===9725||e===9726||e===9748||e===9749||e>=9800&&e<=9811||e===9855||e===9875||e===9889||e===9898||e===9899||e===9917||e===9918||e===9924||e===9925||e===9934||e===9940||e===9962||e===9970||e===9971||e===9973||e===9978||e===9981||e===9989||e===9994||e===9995||e===10024||e===10060||e===10062||e>=10067&&e<=10069||e===10071||e>=10133&&e<=10135||e===10160||e===10175||e===11035||e===11036||e===11088||e===11093||e>=11904&&e<=11929||e>=11931&&e<=12019||e>=12032&&e<=12245||e>=12272&&e<=12287||e>=12289&&e<=12350||e>=12353&&e<=12438||e>=12441&&e<=12543||e>=12549&&e<=12591||e>=12593&&e<=12686||e>=12688&&e<=12771||e>=12783&&e<=12830||e>=12832&&e<=12871||e>=12880&&e<=19903||e>=19968&&e<=42124||e>=42128&&e<=42182||e>=43360&&e<=43388||e>=44032&&e<=55203||e>=63744&&e<=64255||e>=65040&&e<=65049||e>=65072&&e<=65106||e>=65108&&e<=65126||e>=65128&&e<=65131||e>=94176&&e<=94180||e===94192||e===94193||e>=94208&&e<=100343||e>=100352&&e<=101589||e>=101632&&e<=101640||e>=110576&&e<=110579||e>=110581&&e<=110587||e===110589||e===110590||e>=110592&&e<=110882||e===110898||e>=110928&&e<=110930||e===110933||e>=110948&&e<=110951||e>=110960&&e<=111355||e===126980||e===127183||e===127374||e>=127377&&e<=127386||e>=127488&&e<=127490||e>=127504&&e<=127547||e>=127552&&e<=127560||e===127568||e===127569||e>=127584&&e<=127589||e>=127744&&e<=127776||e>=127789&&e<=127797||e>=127799&&e<=127868||e>=127870&&e<=127891||e>=127904&&e<=127946||e>=127951&&e<=127955||e>=127968&&e<=127984||e===127988||e>=127992&&e<=128062||e===128064||e>=128066&&e<=128252||e>=128255&&e<=128317||e>=128331&&e<=128334||e>=128336&&e<=128359||e===128378||e===128405||e===128406||e===128420||e>=128507&&e<=128591||e>=128640&&e<=128709||e===128716||e>=128720&&e<=128722||e>=128725&&e<=128727||e>=128732&&e<=128735||e===128747||e===128748||e>=128756&&e<=128764||e>=128992&&e<=129003||e===129008||e>=129292&&e<=129338||e>=129340&&e<=129349||e>=129351&&e<=129535||e>=129648&&e<=129660||e>=129664&&e<=129672||e>=129680&&e<=129725||e>=129727&&e<=129733||e>=129742&&e<=129755||e>=129760&&e<=129768||e>=129776&&e<=129784||e>=131072&&e<=196605||e>=196608&&e<=262141}var $s=e=>!(Hs(e)||Vs(e));var za=/[^\x20-\x7F]/u;function Qa(e){if(!e)return 0;if(!za.test(e))return e.length;e=e.replace(Ys()," ");let t=0;for(let r of e){let n=r.codePointAt(0);n<=31||n>=127&&n<=159||n>=768&&n<=879||(t+=$s(n)?1:2)}return t}var et=Qa;function Tr(e){return(t,r,n)=>{let s=!!(n!=null&&n.backwards);if(r===!1)return!1;let{length:u}=t,i=r;for(;i>=0&&i/[#*0-9]\uFE0F?\u20E3|[\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u231A\u231B\u2328\u23CF\u23ED-\u23EF\u23F1\u23F2\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB\u25FC\u25FE\u2600-\u2604\u260E\u2611\u2614\u2615\u2618\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638-\u263A\u2640\u2642\u2648-\u2653\u265F\u2660\u2663\u2665\u2666\u2668\u267B\u267E\u267F\u2692\u2694-\u2697\u2699\u269B\u269C\u26A0\u26A7\u26AA\u26B0\u26B1\u26BD\u26BE\u26C4\u26C8\u26CF\u26D1\u26D3\u26E9\u26F0-\u26F5\u26F7\u26F8\u26FA\u2702\u2708\u2709\u270F\u2712\u2714\u2716\u271D\u2721\u2733\u2734\u2744\u2747\u2757\u2763\u27A1\u2934\u2935\u2B05-\u2B07\u2B1B\u2B1C\u2B55\u3030\u303D\u3297\u3299]\uFE0F?|[\u261D\u270C\u270D](?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?|[\u270A\u270B](?:\uD83C[\uDFFB-\uDFFF])?|[\u23E9-\u23EC\u23F0\u23F3\u25FD\u2693\u26A1\u26AB\u26C5\u26CE\u26D4\u26EA\u26FD\u2705\u2728\u274C\u274E\u2753-\u2755\u2795-\u2797\u27B0\u27BF\u2B50]|\u26F9(?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|\u2764\uFE0F?(?:\u200D(?:\uD83D\uDD25|\uD83E\uDE79))?|\uD83C(?:[\uDC04\uDD70\uDD71\uDD7E\uDD7F\uDE02\uDE37\uDF21\uDF24-\uDF2C\uDF36\uDF7D\uDF96\uDF97\uDF99-\uDF9B\uDF9E\uDF9F\uDFCD\uDFCE\uDFD4-\uDFDF\uDFF5\uDFF7]\uFE0F?|[\uDF85\uDFC2\uDFC7](?:\uD83C[\uDFFB-\uDFFF])?|[\uDFC3\uDFC4\uDFCA](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDFCB\uDFCC](?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\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]|\uDDE6\uD83C[\uDDE8-\uDDEC\uDDEE\uDDF1\uDDF2\uDDF4\uDDF6-\uDDFA\uDDFC\uDDFD\uDDFF]|\uDDE7\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEF\uDDF1-\uDDF4\uDDF6-\uDDF9\uDDFB\uDDFC\uDDFE\uDDFF]|\uDDE8\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDEE\uDDF0-\uDDF5\uDDF7\uDDFA-\uDDFF]|\uDDE9\uD83C[\uDDEA\uDDEC\uDDEF\uDDF0\uDDF2\uDDF4\uDDFF]|\uDDEA\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDED\uDDF7-\uDDFA]|\uDDEB\uD83C[\uDDEE-\uDDF0\uDDF2\uDDF4\uDDF7]|\uDDEC\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEE\uDDF1-\uDDF3\uDDF5-\uDDFA\uDDFC\uDDFE]|\uDDED\uD83C[\uDDF0\uDDF2\uDDF3\uDDF7\uDDF9\uDDFA]|\uDDEE\uD83C[\uDDE8-\uDDEA\uDDF1-\uDDF4\uDDF6-\uDDF9]|\uDDEF\uD83C[\uDDEA\uDDF2\uDDF4\uDDF5]|\uDDF0\uD83C[\uDDEA\uDDEC-\uDDEE\uDDF2\uDDF3\uDDF5\uDDF7\uDDFC\uDDFE\uDDFF]|\uDDF1\uD83C[\uDDE6-\uDDE8\uDDEE\uDDF0\uDDF7-\uDDFB\uDDFE]|\uDDF2\uD83C[\uDDE6\uDDE8-\uDDED\uDDF0-\uDDFF]|\uDDF3\uD83C[\uDDE6\uDDE8\uDDEA-\uDDEC\uDDEE\uDDF1\uDDF4\uDDF5\uDDF7\uDDFA\uDDFF]|\uDDF4\uD83C\uDDF2|\uDDF5\uD83C[\uDDE6\uDDEA-\uDDED\uDDF0-\uDDF3\uDDF7-\uDDF9\uDDFC\uDDFE]|\uDDF6\uD83C\uDDE6|\uDDF7\uD83C[\uDDEA\uDDF4\uDDF8\uDDFA\uDDFC]|\uDDF8\uD83C[\uDDE6-\uDDEA\uDDEC-\uDDF4\uDDF7-\uDDF9\uDDFB\uDDFD-\uDDFF]|\uDDF9\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDED\uDDEF-\uDDF4\uDDF7\uDDF9\uDDFB\uDDFC\uDDFF]|\uDDFA\uD83C[\uDDE6\uDDEC\uDDF2\uDDF3\uDDF8\uDDFE\uDDFF]|\uDDFB\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDEE\uDDF3\uDDFA]|\uDDFC\uD83C[\uDDEB\uDDF8]|\uDDFD\uD83C\uDDF0|\uDDFE\uD83C[\uDDEA\uDDF9]|\uDDFF\uD83C[\uDDE6\uDDF2\uDDFC]|\uDFF3\uFE0F?(?:\u200D(?:\u26A7\uFE0F?|\uD83C\uDF08))?|\uDFF4(?:\u200D\u2620\uFE0F?|\uDB40\uDC67\uDB40\uDC62\uDB40(?:\uDC65\uDB40\uDC6E\uDB40\uDC67|\uDC73\uDB40\uDC63\uDB40\uDC74|\uDC77\uDB40\uDC6C\uDB40\uDC73)\uDB40\uDC7F)?)|\uD83D(?:[\uDC08\uDC26](?:\u200D\u2B1B)?|[\uDC3F\uDCFD\uDD49\uDD4A\uDD6F\uDD70\uDD73\uDD76-\uDD79\uDD87\uDD8A-\uDD8D\uDDA5\uDDA8\uDDB1\uDDB2\uDDBC\uDDC2-\uDDC4\uDDD1-\uDDD3\uDDDC-\uDDDE\uDDE1\uDDE3\uDDE8\uDDEF\uDDF3\uDDFA\uDECB\uDECD-\uDECF\uDEE0-\uDEE5\uDEE9\uDEF0\uDEF3]\uFE0F?|[\uDC42\uDC43\uDC46-\uDC50\uDC66\uDC67\uDC6B-\uDC6D\uDC72\uDC74-\uDC76\uDC78\uDC7C\uDC83\uDC85\uDC8F\uDC91\uDCAA\uDD7A\uDD95\uDD96\uDE4C\uDE4F\uDEC0\uDECC](?:\uD83C[\uDFFB-\uDFFF])?|[\uDC6E\uDC70\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDD74\uDD90](?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?|[\uDC00-\uDC07\uDC09-\uDC14\uDC16-\uDC25\uDC27-\uDC3A\uDC3C-\uDC3E\uDC40\uDC44\uDC45\uDC51-\uDC65\uDC6A\uDC79-\uDC7B\uDC7D-\uDC80\uDC84\uDC88-\uDC8E\uDC90\uDC92-\uDCA9\uDCAB-\uDCFC\uDCFF-\uDD3D\uDD4B-\uDD4E\uDD50-\uDD67\uDDA4\uDDFB-\uDE2D\uDE2F-\uDE34\uDE37-\uDE44\uDE48-\uDE4A\uDE80-\uDEA2\uDEA4-\uDEB3\uDEB7-\uDEBF\uDEC1-\uDEC5\uDED0-\uDED2\uDED5-\uDED7\uDEDC-\uDEDF\uDEEB\uDEEC\uDEF4-\uDEFC\uDFE0-\uDFEB\uDFF0]|\uDC15(?:\u200D\uD83E\uDDBA)?|\uDC3B(?:\u200D\u2744\uFE0F?)?|\uDC41\uFE0F?(?:\u200D\uD83D\uDDE8\uFE0F?)?|\uDC68(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDC68\uDC69]\u200D\uD83D(?:\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?)|[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?)|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFC-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFD-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFD\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFE])))?))?|\uDC69(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?[\uDC68\uDC69]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?|\uDC69\u200D\uD83D(?:\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?))|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFC-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB\uDFFD-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB-\uDFFD\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB-\uDFFE])))?))?|\uDC6F(?:\u200D[\u2640\u2642]\uFE0F?)?|\uDD75(?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|\uDE2E(?:\u200D\uD83D\uDCA8)?|\uDE35(?:\u200D\uD83D\uDCAB)?|\uDE36(?:\u200D\uD83C\uDF2B\uFE0F?)?)|\uD83E(?:[\uDD0C\uDD0F\uDD18-\uDD1F\uDD30-\uDD34\uDD36\uDD77\uDDB5\uDDB6\uDDBB\uDDD2\uDDD3\uDDD5\uDEC3-\uDEC5\uDEF0\uDEF2-\uDEF8](?:\uD83C[\uDFFB-\uDFFF])?|[\uDD26\uDD35\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD-\uDDCF\uDDD4\uDDD6-\uDDDD](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDDDE\uDDDF](?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDD0D\uDD0E\uDD10-\uDD17\uDD20-\uDD25\uDD27-\uDD2F\uDD3A\uDD3F-\uDD45\uDD47-\uDD76\uDD78-\uDDB4\uDDB7\uDDBA\uDDBC-\uDDCC\uDDD0\uDDE0-\uDDFF\uDE70-\uDE7C\uDE80-\uDE88\uDE90-\uDEBD\uDEBF-\uDEC2\uDECE-\uDEDB\uDEE0-\uDEE8]|\uDD3C(?:\u200D[\u2640\u2642]\uFE0F?|\uD83C[\uDFFB-\uDFFF])?|\uDDD1(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83E\uDDD1))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFC-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB\uDFFD-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB-\uDFFD\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB-\uDFFE]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?))?|\uDEF1(?:\uD83C(?:\uDFFB(?:\u200D\uD83E\uDEF2\uD83C[\uDFFC-\uDFFF])?|\uDFFC(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB\uDFFD-\uDFFF])?|\uDFFD(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])?|\uDFFE(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB-\uDFFD\uDFFF])?|\uDFFF(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB-\uDFFE])?))?)/g;var Xs={eastAsianWidth(e){var t=e.charCodeAt(0),r=e.length==2?e.charCodeAt(1):0,n=t;return 55296<=t&&t<=56319&&56320<=r&&r<=57343&&(t&=1023,r&=1023,n=t<<10|r,n+=65536),n==12288||65281<=n&&n<=65376||65504<=n&&n<=65510?"F":4352<=n&&n<=4447||4515<=n&&n<=4519||4602<=n&&n<=4607||9001<=n&&n<=9002||11904<=n&&n<=11929||11931<=n&&n<=12019||12032<=n&&n<=12245||12272<=n&&n<=12283||12289<=n&&n<=12350||12353<=n&&n<=12438||12441<=n&&n<=12543||12549<=n&&n<=12589||12593<=n&&n<=12686||12688<=n&&n<=12730||12736<=n&&n<=12771||12784<=n&&n<=12830||12832<=n&&n<=12871||12880<=n&&n<=13054||13056<=n&&n<=19903||19968<=n&&n<=42124||42128<=n&&n<=42182||43360<=n&&n<=43388||44032<=n&&n<=55203||55216<=n&&n<=55238||55243<=n&&n<=55291||63744<=n&&n<=64255||65040<=n&&n<=65049||65072<=n&&n<=65106||65108<=n&&n<=65126||65128<=n&&n<=65131||110592<=n&&n<=110593||127488<=n&&n<=127490||127504<=n&&n<=127546||127552<=n&&n<=127560||127568<=n&&n<=127569||131072<=n&&n<=194367||177984<=n&&n<=196605||196608<=n&&n<=262141?"W":"N"}};var _a=/[^\x20-\x7F]/;function ja(e){if(!e)return 0;if(!_a.test(e))return e.length;e=e.replace(Ys()," ");let t=0;for(let r of e){let n=r.codePointAt(0);if(n<=31||n>=127&&n<=159||n>=768&&n<=879)continue;let s=Xs.eastAsianWidth(r);t+=s==="F"||s==="W"?2:1}return t}var tt=ja;function U(e){var n;let t=e.range?e.range[0]:e.start,r=((n=e.declaration)==null?void 0:n.decorators)??e.decorators;return P(r)?Math.min(U(r[0]),t):t}function O(e){return e.range?e.range[1]:e.end}function mt(e,t){let r=U(e);return Number.isInteger(r)&&r===U(t)}function Ma(e,t){let r=O(e);return Number.isInteger(r)&&r===O(t)}function $s(e,t){return mt(e,t)&&Ma(e,t)}var qt=null;function Wt(e){if(qt!==null&&typeof qt.property){let t=qt;return qt=Wt.prototype=null,t}return qt=Wt.prototype=e??Object.create(null),new Wt}var Ra=10;for(let e=0;e<=Ra;e++)Wt();function kn(e){return Wt(e)}function Ja(e,t="type"){kn(e);function r(n){let s=n[t],u=e[s];if(!Array.isArray(u))throw Object.assign(new Error(`Missing visitor keys for '${s}'.`),{node:n});return u}return r}var Er=Ja;var Vs={ArrayExpression:["elements"],AssignmentExpression:["left","right"],BinaryExpression:["left","right"],InterpreterDirective:[],Directive:["value"],DirectiveLiteral:[],BlockStatement:["directives","body"],BreakStatement:["label"],CallExpression:["callee","arguments","typeParameters","typeArguments"],CatchClause:["param","body"],ConditionalExpression:["test","consequent","alternate"],ContinueStatement:["label"],DebuggerStatement:[],DoWhileStatement:["test","body"],EmptyStatement:[],ExpressionStatement:["expression"],File:["program"],ForInStatement:["left","right","body"],ForStatement:["init","test","update","body"],FunctionDeclaration:["id","params","body","returnType","typeParameters","predicate"],FunctionExpression:["id","params","body","returnType","typeParameters"],Identifier:["typeAnnotation","decorators"],IfStatement:["test","consequent","alternate"],LabeledStatement:["label","body"],StringLiteral:[],NumericLiteral:[],NullLiteral:[],BooleanLiteral:[],RegExpLiteral:[],LogicalExpression:["left","right"],MemberExpression:["object","property"],NewExpression:["callee","arguments","typeParameters","typeArguments"],Program:["directives","body"],ObjectExpression:["properties"],ObjectMethod:["key","params","body","decorators","returnType","typeParameters"],ObjectProperty:["key","value","decorators"],RestElement:["argument","typeAnnotation","decorators"],ReturnStatement:["argument"],SequenceExpression:["expressions"],ParenthesizedExpression:["expression"],SwitchCase:["test","consequent"],SwitchStatement:["discriminant","cases"],ThisExpression:[],ThrowStatement:["argument"],TryStatement:["block","handler","finalizer"],UnaryExpression:["argument"],UpdateExpression:["argument"],VariableDeclaration:["declarations"],VariableDeclarator:["id","init"],WhileStatement:["test","body"],WithStatement:["object","body"],AssignmentPattern:["left","right","decorators","typeAnnotation"],ArrayPattern:["elements","typeAnnotation","decorators"],ArrowFunctionExpression:["params","body","returnType","typeParameters","predicate"],ClassBody:["body"],ClassExpression:["id","body","superClass","mixins","typeParameters","superTypeParameters","implements","decorators"],ClassDeclaration:["id","body","superClass","mixins","typeParameters","superTypeParameters","implements","decorators"],ExportAllDeclaration:["source","attributes","assertions","exported"],ExportDefaultDeclaration:["declaration"],ExportNamedDeclaration:["declaration","specifiers","source","attributes","assertions"],ExportSpecifier:["local","exported"],ForOfStatement:["left","right","body"],ImportDeclaration:["specifiers","source","attributes","assertions"],ImportDefaultSpecifier:["local"],ImportNamespaceSpecifier:["local"],ImportSpecifier:["local","imported"],MetaProperty:["meta","property"],ClassMethod:["key","params","body","decorators","returnType","typeParameters"],ObjectPattern:["properties","typeAnnotation","decorators"],SpreadElement:["argument"],Super:[],TaggedTemplateExpression:["tag","quasi","typeParameters"],TemplateElement:[],TemplateLiteral:["quasis","expressions"],YieldExpression:["argument"],AwaitExpression:["argument"],Import:[],BigIntLiteral:[],ExportNamespaceSpecifier:["exported"],OptionalMemberExpression:["object","property"],OptionalCallExpression:["callee","arguments","typeParameters","typeArguments"],ClassProperty:["key","value","typeAnnotation","decorators","variance"],ClassAccessorProperty:["key","value","typeAnnotation","decorators"],ClassPrivateProperty:["key","value","decorators","typeAnnotation","variance"],ClassPrivateMethod:["key","params","body","decorators","returnType","typeParameters"],PrivateName:["id"],StaticBlock:["body"],AnyTypeAnnotation:[],ArrayTypeAnnotation:["elementType"],BooleanTypeAnnotation:[],BooleanLiteralTypeAnnotation:[],NullLiteralTypeAnnotation:[],ClassImplements:["id","typeParameters"],DeclareClass:["id","typeParameters","extends","mixins","implements","body"],DeclareFunction:["id","predicate"],DeclareInterface:["id","typeParameters","extends","body"],DeclareModule:["id","body"],DeclareModuleExports:["typeAnnotation"],DeclareTypeAlias:["id","typeParameters","right"],DeclareOpaqueType:["id","typeParameters","supertype"],DeclareVariable:["id"],DeclareExportDeclaration:["declaration","specifiers","source"],DeclareExportAllDeclaration:["source"],DeclaredPredicate:["value"],ExistsTypeAnnotation:[],FunctionTypeAnnotation:["typeParameters","params","rest","returnType","this"],FunctionTypeParam:["name","typeAnnotation"],GenericTypeAnnotation:["id","typeParameters"],InferredPredicate:[],InterfaceExtends:["id","typeParameters"],InterfaceDeclaration:["id","typeParameters","extends","body"],InterfaceTypeAnnotation:["extends","body"],IntersectionTypeAnnotation:["types"],MixedTypeAnnotation:[],EmptyTypeAnnotation:[],NullableTypeAnnotation:["typeAnnotation"],NumberLiteralTypeAnnotation:[],NumberTypeAnnotation:[],ObjectTypeAnnotation:["properties","indexers","callProperties","internalSlots"],ObjectTypeInternalSlot:["id","value","optional","static","method"],ObjectTypeCallProperty:["value"],ObjectTypeIndexer:["id","key","value","variance"],ObjectTypeProperty:["key","value","variance"],ObjectTypeSpreadProperty:["argument"],OpaqueType:["id","typeParameters","supertype","impltype"],QualifiedTypeIdentifier:["id","qualification"],StringLiteralTypeAnnotation:[],StringTypeAnnotation:[],SymbolTypeAnnotation:[],ThisTypeAnnotation:[],TupleTypeAnnotation:["types","elementTypes"],TypeofTypeAnnotation:["argument"],TypeAlias:["id","typeParameters","right"],TypeAnnotation:["typeAnnotation"],TypeCastExpression:["expression","typeAnnotation"],TypeParameter:["bound","default","variance"],TypeParameterDeclaration:["params"],TypeParameterInstantiation:["params"],UnionTypeAnnotation:["types"],Variance:[],VoidTypeAnnotation:[],EnumDeclaration:["id","body"],EnumBooleanBody:["members"],EnumNumberBody:["members"],EnumStringBody:["members"],EnumSymbolBody:["members"],EnumBooleanMember:["id","init"],EnumNumberMember:["id","init"],EnumStringMember:["id","init"],EnumDefaultedMember:["id"],IndexedAccessType:["objectType","indexType"],OptionalIndexedAccessType:["objectType","indexType"],JSXAttribute:["name","value"],JSXClosingElement:["name"],JSXElement:["openingElement","children","closingElement"],JSXEmptyExpression:[],JSXExpressionContainer:["expression"],JSXSpreadChild:["expression"],JSXIdentifier:[],JSXMemberExpression:["object","property"],JSXNamespacedName:["namespace","name"],JSXOpeningElement:["name","attributes","typeParameters"],JSXSpreadAttribute:["argument"],JSXText:[],JSXFragment:["openingFragment","children","closingFragment"],JSXOpeningFragment:[],JSXClosingFragment:[],Noop:[],Placeholder:[],V8IntrinsicIdentifier:[],ArgumentPlaceholder:[],BindExpression:["object","callee"],ImportAttribute:["key","value"],Decorator:["expression"],DoExpression:["body"],ExportDefaultSpecifier:["exported"],RecordExpression:["properties"],TupleExpression:["elements"],DecimalLiteral:[],ModuleExpression:["body"],TopicReference:[],PipelineTopicExpression:["expression"],PipelineBareFunction:["callee"],PipelinePrimaryTopicReference:[],TSParameterProperty:["parameter","decorators"],TSDeclareFunction:["id","typeParameters","params","returnType","body"],TSDeclareMethod:["decorators","key","typeParameters","params","returnType"],TSQualifiedName:["left","right"],TSCallSignatureDeclaration:["typeParameters","parameters","typeAnnotation","params","returnType"],TSConstructSignatureDeclaration:["typeParameters","parameters","typeAnnotation","params","returnType"],TSPropertySignature:["key","typeAnnotation"],TSMethodSignature:["key","typeParameters","parameters","typeAnnotation","params","returnType"],TSIndexSignature:["parameters","typeAnnotation"],TSAnyKeyword:[],TSBooleanKeyword:[],TSBigIntKeyword:[],TSIntrinsicKeyword:[],TSNeverKeyword:[],TSNullKeyword:[],TSNumberKeyword:[],TSObjectKeyword:[],TSStringKeyword:[],TSSymbolKeyword:[],TSUndefinedKeyword:[],TSUnknownKeyword:[],TSVoidKeyword:[],TSThisType:[],TSFunctionType:["typeParameters","parameters","typeAnnotation","params","returnType"],TSConstructorType:["typeParameters","parameters","typeAnnotation","params","returnType"],TSTypeReference:["typeName","typeParameters"],TSTypePredicate:["parameterName","typeAnnotation"],TSTypeQuery:["exprName","typeParameters"],TSTypeLiteral:["members"],TSArrayType:["elementType"],TSTupleType:["elementTypes"],TSOptionalType:["typeAnnotation"],TSRestType:["typeAnnotation"],TSNamedTupleMember:["label","elementType"],TSUnionType:["types"],TSIntersectionType:["types"],TSConditionalType:["checkType","extendsType","trueType","falseType"],TSInferType:["typeParameter"],TSParenthesizedType:["typeAnnotation"],TSTypeOperator:["typeAnnotation"],TSIndexedAccessType:["objectType","indexType"],TSMappedType:["typeParameter","typeAnnotation","nameType"],TSLiteralType:["literal"],TSExpressionWithTypeArguments:["expression","typeParameters"],TSInterfaceDeclaration:["id","typeParameters","extends","body"],TSInterfaceBody:["body"],TSTypeAliasDeclaration:["id","typeParameters","typeAnnotation"],TSInstantiationExpression:["expression","typeParameters"],TSAsExpression:["expression","typeAnnotation"],TSSatisfiesExpression:["expression","typeAnnotation"],TSTypeAssertion:["typeAnnotation","expression"],TSEnumDeclaration:["id","members"],TSEnumMember:["id","initializer"],TSModuleDeclaration:["id","body"],TSModuleBlock:["body"],TSImportType:["argument","qualifier","typeParameters","parameter"],TSImportEqualsDeclaration:["id","moduleReference"],TSExternalModuleReference:["expression"],TSNonNullExpression:["expression"],TSExportAssignment:["expression"],TSNamespaceExportDeclaration:["id"],TSTypeAnnotation:["typeAnnotation"],TSTypeParameterInstantiation:["params"],TSTypeParameterDeclaration:["params"],TSTypeParameter:["constraint","default","name"],ChainExpression:["expression"],ExperimentalRestProperty:["argument"],ExperimentalSpreadProperty:["argument"],ImportExpression:["source","attributes"],Literal:[],MethodDefinition:["decorators","key","value"],PrivateIdentifier:[],Property:["key","value"],PropertyDefinition:["decorators","key","typeAnnotation","value","variance"],AccessorProperty:["decorators","key","typeAnnotation","value"],TSAbstractAccessorProperty:["decorators","key","typeAnnotation"],TSAbstractKeyword:[],TSAbstractMethodDefinition:["key","value"],TSAbstractPropertyDefinition:["decorators","key","typeAnnotation"],TSAsyncKeyword:[],TSClassImplements:["expression","typeParameters"],TSDeclareKeyword:[],TSEmptyBodyFunctionExpression:["id","typeParameters","params","returnType"],TSExportKeyword:[],TSInterfaceHeritage:["expression","typeParameters"],TSPrivateKeyword:[],TSProtectedKeyword:[],TSPublicKeyword:[],TSReadonlyKeyword:[],TSStaticKeyword:[],TSTemplateLiteralType:["quasis","types"],BigIntLiteralTypeAnnotation:[],BigIntTypeAnnotation:[],ConditionalTypeAnnotation:["checkType","extendsType","trueType","falseType"],DeclareEnum:["id","body"],InferTypeAnnotation:["typeParameter"],KeyofTypeAnnotation:["argument"],ObjectTypeMappedTypeProperty:["keyTparam","propType","sourceType","variance"],QualifiedTypeofIdentifier:["qualification","id"],TupleTypeLabeledElement:["label","elementType","variance"],TupleTypeSpreadElement:["label","typeAnnotation"],TypePredicate:["parameterName","typeAnnotation","asserts"],NGRoot:["node"],NGPipeExpression:["left","right","arguments"],NGChainedExpression:["expressions"],NGEmptyExpression:[],NGMicrosyntax:["body"],NGMicrosyntaxKey:[],NGMicrosyntaxExpression:["expression","alias"],NGMicrosyntaxKeyedExpression:["key","expression"],NGMicrosyntaxLet:["key","value"],NGMicrosyntaxAs:["key","alias"],JsExpressionRoot:["node"],JsonRoot:["node"],TSJSDocAllType:[],TSJSDocUnknownType:[],TSJSDocNullableType:["typeAnnotation"],TSJSDocNonNullableType:["typeAnnotation"],NeverTypeAnnotation:[],UndefinedTypeAnnotation:[],UnknownTypeAnnotation:[]};var Na=Er(Vs),Fr=Na;function Ua(e){return e=new Set(e),t=>e.has(t==null?void 0:t.type)}var j=Ua;var Ga=j(["Block","CommentBlock","MultiLine"]),ae=Ga;function qa(e,t){let r=t.split(".");for(let n=r.length-1;n>=0;n--){let s=r[n];if(n===0)return e.type==="Identifier"&&e.name===s;if(e.type!=="MemberExpression"||e.optional||e.computed||e.property.type!=="Identifier"||e.property.name!==s)return!1;e=e.object}}function Wa(e,t){return t.some(r=>qa(e,r))}var Hs=Wa;var Ya=j(["AnyTypeAnnotation","ThisTypeAnnotation","NumberTypeAnnotation","VoidTypeAnnotation","BooleanTypeAnnotation","BigIntTypeAnnotation","SymbolTypeAnnotation","StringTypeAnnotation","NeverTypeAnnotation","UndefinedTypeAnnotation","UnknownTypeAnnotation","EmptyTypeAnnotation","MixedTypeAnnotation"]),Cr=Ya;function Xa({type:e}){return e.startsWith("TS")&&e.endsWith("Keyword")}var dr=Xa;function Xt(e,t){return t(e)||Gs(e,{getVisitorKeys:Fr,predicate:t})}function Lt(e){return e.type==="AssignmentExpression"||e.type==="BinaryExpression"||e.type==="LogicalExpression"||e.type==="NGPipeExpression"||e.type==="ConditionalExpression"||k(e)||J(e)||e.type==="SequenceExpression"||e.type==="TaggedTemplateExpression"||e.type==="BindExpression"||e.type==="UpdateExpression"&&!e.prefix||Le(e)||e.type==="TSNonNullExpression"||e.type==="ChainExpression"}function Qs(e){return e.expressions?e.expressions[0]:e.left??e.test??e.callee??e.object??e.tag??e.argument??e.expression}function Tr(e){if(e.expressions)return["expressions",0];if(e.left)return["left"];if(e.test)return["test"];if(e.object)return["object"];if(e.callee)return["callee"];if(e.tag)return["tag"];if(e.argument)return["argument"];if(e.expression)return["expression"];throw new Error("Unexpected node has no left side.")}var $t=j(["Line","CommentLine","SingleLine","HashbangComment","HTMLOpen","HTMLClose","Hashbang","InterpreterDirective"]),Zs=j(["ExportDefaultDeclaration","DeclareExportDeclaration","ExportNamedDeclaration","ExportAllDeclaration","DeclareExportAllDeclaration"]),G=j(["ArrayExpression","TupleExpression"]),Z=j(["ObjectExpression","RecordExpression"]);function ge(e){return e.type==="NumericLiteral"||e.type==="Literal"&&typeof e.value=="number"}function xr(e){return e.type==="UnaryExpression"&&(e.operator==="+"||e.operator==="-")&&ge(e.argument)}function ee(e){return e.type==="StringLiteral"||e.type==="Literal"&&typeof e.value=="string"}function vn(e){return e.type==="RegExpLiteral"||e.type==="Literal"&&!!e.regex}var ke=j(["ObjectTypeAnnotation","TSTypeLiteral","TSMappedType"]),It=j(["FunctionExpression","ArrowFunctionExpression"]);function $a(e){return e.type==="FunctionExpression"||e.type==="ArrowFunctionExpression"&&e.body.type==="BlockStatement"}function In(e){return k(e)&&e.callee.type==="Identifier"&&["async","inject","fakeAsync","waitForAsync"].includes(e.callee.name)}var V=j(["JSXElement","JSXFragment"]);function _n(e){return e.kind==="get"||e.kind==="set"}function jn(e){return _n(e)||mt(e,e.value)}function gr(e){return(e.type==="ObjectTypeProperty"||e.type==="ObjectTypeInternalSlot")&&e.value.type==="FunctionTypeAnnotation"&&!e.static&&!jn(e)}function eu(e){return(e.type==="TypeAnnotation"||e.type==="TSTypeAnnotation")&&e.typeAnnotation.type==="FunctionTypeAnnotation"&&!e.static&&!mt(e,e.typeAnnotation)}var ce=j(["BinaryExpression","LogicalExpression","NGPipeExpression"]);function Dt(e){return J(e)||e.type==="BindExpression"&&!!e.object}var Va=j(["TSThisType","NullLiteralTypeAnnotation","BooleanLiteralTypeAnnotation","StringLiteralTypeAnnotation","BigIntLiteralTypeAnnotation","NumberLiteralTypeAnnotation","TSLiteralType","TSTemplateLiteralType"]);function wt(e){return dr(e)||Cr(e)||Va(e)||(e.type==="GenericTypeAnnotation"||e.type==="TSTypeReference")&&!e.typeParameters}function Ha(e){let t=/^(?:before|after)(?:Each|All)$/;return e.callee.type==="Identifier"&&e.arguments.length===1&&t.test(e.callee.name)}var Ka=["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 za(e){return Hs(e,Ka)}function Ct(e,t){if(e.type!=="CallExpression")return!1;if(e.arguments.length===1){if(In(e)&&t&&Ct(t))return It(e.arguments[0]);if(Ha(e))return In(e.arguments[0])}else if((e.arguments.length===2||e.arguments.length===3)&&(e.arguments[0].type==="TemplateLiteral"||ee(e.arguments[0]))&&za(e.callee))return e.arguments[2]&&!ge(e.arguments[2])?!1:(e.arguments.length===2?It(e.arguments[1]):$a(e.arguments[1])&&Y(e.arguments[1]).length<=1)||In(e.arguments[1]);return!1}var k=j(["CallExpression","OptionalCallExpression"]),J=j(["MemberExpression","OptionalMemberExpression"]);function tu(e){let t="expressions";e.type==="TSTemplateLiteralType"&&(t="types");let r=e[t];return r.length===0?!1:r.every(n=>{if(d(n))return!1;if(n.type==="Identifier"||n.type==="ThisExpression")return!0;if(n.type==="ChainExpression"&&(n=n.expression),J(n)){let s=n;for(;J(s);)if(s.property.type!=="Identifier"&&s.property.type!=="Literal"&&s.property.type!=="StringLiteral"&&s.property.type!=="NumericLiteral"||(s=s.object,d(s)))return!1;return s.type==="Identifier"||s.type==="ThisExpression"}return!1})}function Ie(e,t){return V(t)?dt(t):d(t,x.Leading,r=>z(e,O(r)))}function Mn(e,t){return t.parser!=="json"&&ee(e.key)&&oe(e.key).slice(1,-1)===e.key.value&&(Ns(e.key.value)&&!(t.parser==="babel-ts"&&e.type==="ClassProperty"||t.parser==="typescript"&&e.type==="PropertyDefinition")||Rn(e.key.value)&&String(Number(e.key.value))===e.key.value&&(t.parser==="babel"||t.parser==="acorn"||t.parser==="espree"||t.parser==="meriyah"||t.parser==="__babel_estree"))}function Rn(e){return/^(?:\d+|\d+\.\d+)$/.test(e)}function Ks(e){return e.quasis.some(t=>t.value.raw.includes(` -`))}function hr(e,t){return(e.type==="TemplateLiteral"&&Ks(e)||e.type==="TaggedTemplateExpression"&&Ks(e.quasi))&&!z(t,U(e),{backwards:!0})}function Sr(e){if(!d(e))return!1;let t=w(!1,Kt(e,x.Dangling),-1);return t&&!ae(t)}function ru(e){if(e.length<=1)return!1;let t=0;for(let r of e)if(It(r)){if(t+=1,t>1)return!0}else if(k(r)){for(let n of r.arguments)if(It(n))return!0}return!1}function Br(e){let{node:t,parent:r,key:n}=e;return n==="callee"&&k(t)&&k(r)&&r.arguments.length>0&&t.arguments.length>r.arguments.length}var Qa=new Set(["!","-","+","~"]);function xe(e,t=2){if(t<=0)return!1;let r=n=>xe(n,t-1);if(vn(e))return tt(e.pattern??e.regex.pattern)<=5;if(e.type==="Literal"||e.type==="BigIntLiteral"||e.type==="DecimalLiteral"||e.type==="BooleanLiteral"||e.type==="NullLiteral"||e.type==="NumericLiteral"||e.type==="StringLiteral"||e.type==="Identifier"||e.type==="ThisExpression"||e.type==="Super"||e.type==="PrivateName"||e.type==="PrivateIdentifier"||e.type==="ArgumentPlaceholder"||e.type==="Import")return!0;if(e.type==="TemplateLiteral")return e.quasis.every(n=>!n.value.raw.includes(` -`))&&e.expressions.every(r);if(Z(e))return e.properties.every(n=>!n.computed&&(n.shorthand||n.value&&r(n.value)));if(G(e))return e.elements.every(n=>n===null||r(n));if(ut(e)){if(e.type==="ImportExpression"||xe(e.callee,t)){let n=he(e);return n.length<=t&&n.every(r)}return!1}return J(e)?xe(e.object,t)&&xe(e.property,t):e.type==="UnaryExpression"&&Qa.has(e.operator)||e.type==="UpdateExpression"?xe(e.argument,t):e.type==="TSNonNullExpression"?xe(e.expression,t):!1}function oe(e){var t;return((t=e.extra)==null?void 0:t.raw)??e.raw}function nu(e){return e}function le(e,t="es5"){return e.trailingComma==="es5"&&t==="es5"||e.trailingComma==="all"&&(t==="all"||t==="es5")}function re(e,t){switch(e.type){case"BinaryExpression":case"LogicalExpression":case"AssignmentExpression":case"NGPipeExpression":return re(e.left,t);case"MemberExpression":case"OptionalMemberExpression":return re(e.object,t);case"TaggedTemplateExpression":return e.tag.type==="FunctionExpression"?!1:re(e.tag,t);case"CallExpression":case"OptionalCallExpression":return e.callee.type==="FunctionExpression"?!1:re(e.callee,t);case"ConditionalExpression":return re(e.test,t);case"UpdateExpression":return!e.prefix&&re(e.argument,t);case"BindExpression":return e.object&&re(e.object,t);case"SequenceExpression":return re(e.expressions[0],t);case"ChainExpression":case"TSSatisfiesExpression":case"TSAsExpression":case"TSNonNullExpression":return re(e.expression,t);default:return t(e)}}var zs={"==":!0,"!=":!0,"===":!0,"!==":!0},Ar={"*":!0,"/":!0,"%":!0},On={">>":!0,">>>":!0,"<<":!0};function Vt(e,t){return!(Yt(t)!==Yt(e)||e==="**"||zs[e]&&zs[t]||t==="%"&&Ar[e]||e==="%"&&Ar[t]||t!==e&&Ar[t]&&Ar[e]||On[e]&&On[t])}var Za=new Map([["|>"],["??"],["||"],["&&"],["|"],["^"],["&"],["==","===","!=","!=="],["<",">","<=",">=","in","instanceof"],[">>","<<",">>>"],["+","-"],["*","/","%"],["**"]].flatMap((e,t)=>e.map(r=>[r,t])));function Yt(e){return Za.get(e)}function su(e){return!!On[e]||e==="|"||e==="^"||e==="&"}function uu(e){var r;if(e.rest)return!0;let t=Y(e);return((r=w(!1,t,-1))==null?void 0:r.type)==="RestElement"}var Ln=new WeakMap;function Y(e){if(Ln.has(e))return Ln.get(e);let t=[];return e.this&&t.push(e.this),Array.isArray(e.parameters)?t.push(...e.parameters):Array.isArray(e.params)&&t.push(...e.params),e.rest&&t.push(e.rest),Ln.set(e,t),t}function iu(e,t){let{node:r}=e,n=0,s=u=>t(u,n++);r.this&&e.call(s,"this"),Array.isArray(r.parameters)?e.each(s,"parameters"):Array.isArray(r.params)&&e.each(s,"params"),r.rest&&e.call(s,"rest")}var wn=new WeakMap;function he(e){if(wn.has(e))return wn.get(e);let t=e.arguments;return e.type==="ImportExpression"&&(t=[e.source],e.attributes&&t.push(e.attributes)),wn.set(e,t),t}function br(e,t){let{node:r}=e;r.type==="ImportExpression"?(e.call(n=>t(n,0),"source"),r.attributes&&e.call(n=>t(n,1),"attributes")):e.each(t,"arguments")}function Jn(e,t){if(e.type==="ImportExpression"){if(t===0||t===(e.attributes?-2:-1))return"source";if(e.attributes&&(t===1||t===-1))return"attributes";throw new RangeError("Invalid argument index")}if(t<0&&(t=e.arguments.length+t),t<0||t>=e.arguments.length)throw new RangeError("Invalid argument index");return["arguments",t]}function Ht(e){return e.value.trim()==="prettier-ignore"&&!e.unignore}function dt(e){return(e==null?void 0:e.prettierIgnore)||d(e,x.PrettierIgnore)}var x={Leading:2,Trailing:4,Dangling:8,Block:16,Line:32,PrettierIgnore:64,First:128,Last:256},au=(e,t)=>{if(typeof e=="function"&&(t=e,e=0),e||t)return(r,n,s)=>!(e&x.Leading&&!r.leading||e&x.Trailing&&!r.trailing||e&x.Dangling&&(r.leading||r.trailing)||e&x.Block&&!ae(r)||e&x.Line&&!$t(r)||e&x.First&&n!==0||e&x.Last&&n!==s.length-1||e&x.PrettierIgnore&&!Ht(r)||t&&!t(r))};function d(e,t,r){if(!P(e==null?void 0:e.comments))return!1;let n=au(t,r);return n?e.comments.some(n):!0}function Kt(e,t,r){if(!Array.isArray(e==null?void 0:e.comments))return[];let n=au(t,r);return n?e.comments.filter(n):e.comments}var me=(e,{originalText:t})=>kt(t,O(e));function ut(e){return k(e)||e.type==="NewExpression"||e.type==="ImportExpression"}function fe(e){return e&&(e.type==="ObjectProperty"||e.type==="Property"&&!e.method&&e.kind==="init")}var zt=Symbol("ifWithoutBlockAndSameLineComment"),Le=j(["TSAsExpression","TSSatisfiesExpression"]);function Nn(e,t){var u,i,a,o,p,m,y;if(e.isRoot)return!1;let{node:r,key:n,parent:s}=e;if(t.__isInHtmlInterpolation&&!t.bracketSpacing&&no(r)&&Qt(e))return!0;if(eo(r))return!1;if(r.type==="Identifier"){if((u=r.extra)!=null&&u.parenthesized&&/^PRETTIER_HTML_PLACEHOLDER_\d+_\d+_IN_JS$/.test(r.name)||n==="left"&&(r.name==="async"&&!s.await||r.name==="let")&&s.type==="ForOfStatement")return!0;if(r.name==="let"){let c=(i=e.findAncestor(f=>f.type==="ForOfStatement"))==null?void 0:i.left;if(c&&re(c,f=>f===r))return!0}if(n==="object"&&r.name==="let"&&s.type==="MemberExpression"&&s.computed&&!s.optional){let c=e.findAncestor(l=>l.type==="ExpressionStatement"||l.type==="ForStatement"||l.type==="ForInStatement"),f=c?c.type==="ExpressionStatement"?c.expression:c.type==="ForStatement"?c.init:c.left:void 0;if(f&&re(f,l=>l===r))return!0}return!1}if(r.type==="ObjectExpression"||r.type==="FunctionExpression"||r.type==="ClassExpression"||r.type==="DoExpression"){let c=(a=e.findAncestor(f=>f.type==="ExpressionStatement"))==null?void 0:a.expression;if(c&&re(c,f=>f===r))return!0}if(r.type==="ObjectExpression"){let c=(o=e.findAncestor(f=>f.type==="ArrowFunctionExpression"))==null?void 0:o.body;if(c&&c.type!=="SequenceExpression"&&c.type!=="AssignmentExpression"&&re(c,f=>f===r))return!0}switch(s.type){case"ParenthesizedExpression":return!1;case"ClassDeclaration":case"ClassExpression":if(n==="superClass"&&(r.type==="ArrowFunctionExpression"||r.type==="AssignmentExpression"||r.type==="AwaitExpression"||r.type==="BinaryExpression"||r.type==="ConditionalExpression"||r.type==="LogicalExpression"||r.type==="NewExpression"||r.type==="ObjectExpression"||r.type==="SequenceExpression"||r.type==="TaggedTemplateExpression"||r.type==="UnaryExpression"||r.type==="UpdateExpression"||r.type==="YieldExpression"||r.type==="TSNonNullExpression"||r.type==="ClassExpression"&&P(r.decorators)))return!0;break;case"ExportDefaultDeclaration":return ou(e,t)||r.type==="SequenceExpression";case"Decorator":if(n==="expression"){if(J(r)&&r.computed)return!0;let c=!1,f=!1,l=r;for(;l;)switch(l.type){case"MemberExpression":f=!0,l=l.object;break;case"CallExpression":if(f||c)return t.parser!=="typescript";c=!0,l=l.callee;break;case"Identifier":return!1;case"TaggedTemplateExpression":return t.parser!=="typescript";default:return!0}return!0}break;case"TypeAnnotation":if(e.match(void 0,void 0,(c,f)=>f==="returnType"&&c.type==="ArrowFunctionExpression")&&ro(r))return!0;break}switch(r.type){case"UpdateExpression":if(s.type==="UnaryExpression")return r.prefix&&(r.operator==="++"&&s.operator==="+"||r.operator==="--"&&s.operator==="-");case"UnaryExpression":switch(s.type){case"UnaryExpression":return r.operator===s.operator&&(r.operator==="+"||r.operator==="-");case"BindExpression":return!0;case"MemberExpression":case"OptionalMemberExpression":return n==="object";case"TaggedTemplateExpression":return!0;case"NewExpression":case"CallExpression":case"OptionalCallExpression":return n==="callee";case"BinaryExpression":return n==="left"&&s.operator==="**";case"TSNonNullExpression":return!0;default:return!1}case"BinaryExpression":if(s.type==="UpdateExpression"||r.operator==="in"&&to(e))return!0;if(r.operator==="|>"&&((p=r.extra)!=null&&p.parenthesized)){let c=e.grandparent;if(c.type==="BinaryExpression"&&c.operator==="|>")return!0}case"TSTypeAssertion":case"TSAsExpression":case"TSSatisfiesExpression":case"LogicalExpression":switch(s.type){case"TSAsExpression":case"TSSatisfiesExpression":return!Le(r);case"ConditionalExpression":return Le(r);case"CallExpression":case"NewExpression":case"OptionalCallExpression":return n==="callee";case"ClassExpression":case"ClassDeclaration":return n==="superClass";case"TSTypeAssertion":case"TaggedTemplateExpression":case"UnaryExpression":case"JSXSpreadAttribute":case"SpreadElement":case"BindExpression":case"AwaitExpression":case"TSNonNullExpression":case"UpdateExpression":return!0;case"MemberExpression":case"OptionalMemberExpression":return n==="object";case"AssignmentExpression":case"AssignmentPattern":return n==="left"&&(r.type==="TSTypeAssertion"||Le(r));case"LogicalExpression":if(r.type==="LogicalExpression")return s.operator!==r.operator;case"BinaryExpression":{let{operator:c,type:f}=r;if(!c&&f!=="TSTypeAssertion")return!0;let l=Yt(c),h=s.operator,g=Yt(h);return g>l||n==="right"&&g===l||g===l&&!Vt(h,c)?!0:g");default:return!1}case"TSFunctionType":if(e.match(c=>c.type==="TSFunctionType",(c,f)=>f==="typeAnnotation"&&c.type==="TSTypeAnnotation",(c,f)=>f==="returnType"&&c.type==="ArrowFunctionExpression"))return!0;case"TSConditionalType":case"TSConstructorType":if(n==="extendsType"&&s.type==="TSConditionalType"){if(r.type==="TSConditionalType")return!0;let{typeAnnotation:c}=r.returnType||r.typeAnnotation;if(c.type==="TSTypePredicate"&&c.typeAnnotation&&(c=c.typeAnnotation.typeAnnotation),c.type==="TSInferType"&&c.typeParameter.constraint)return!0}if(n==="checkType"&&s.type==="TSConditionalType")return!0;case"TSUnionType":case"TSIntersectionType":if((s.type==="TSUnionType"||s.type==="TSIntersectionType")&&s.types.length>1&&(!r.types||r.types.length>1))return!0;case"TSInferType":if(r.type==="TSInferType"&&s.type==="TSRestType")return!1;case"TSTypeOperator":return s.type==="TSArrayType"||s.type==="TSOptionalType"||s.type==="TSRestType"||n==="objectType"&&s.type==="TSIndexedAccessType"||s.type==="TSTypeOperator"||s.type==="TSTypeAnnotation"&&e.grandparent.type.startsWith("TSJSDoc");case"TSTypeQuery":return n==="objectType"&&s.type==="TSIndexedAccessType"||n==="elementType"&&s.type==="TSArrayType";case"TypeofTypeAnnotation":return n==="objectType"&&(s.type==="IndexedAccessType"||s.type==="OptionalIndexedAccessType")||n==="elementType"&&s.type==="ArrayTypeAnnotation";case"ArrayTypeAnnotation":return s.type==="NullableTypeAnnotation";case"IntersectionTypeAnnotation":case"UnionTypeAnnotation":return s.type==="ArrayTypeAnnotation"||s.type==="NullableTypeAnnotation"||s.type==="IntersectionTypeAnnotation"||s.type==="UnionTypeAnnotation"||n==="objectType"&&(s.type==="IndexedAccessType"||s.type==="OptionalIndexedAccessType");case"InferTypeAnnotation":case"NullableTypeAnnotation":return s.type==="ArrayTypeAnnotation"||n==="objectType"&&(s.type==="IndexedAccessType"||s.type==="OptionalIndexedAccessType");case"FunctionTypeAnnotation":{if(e.match(void 0,(f,l)=>l==="typeAnnotation"&&f.type==="TypeAnnotation",(f,l)=>l==="returnType"&&f.type==="ArrowFunctionExpression")||e.match(void 0,(f,l)=>l==="typeAnnotation"&&f.type==="TypePredicate",(f,l)=>l==="typeAnnotation"&&f.type==="TypeAnnotation",(f,l)=>l==="returnType"&&f.type==="ArrowFunctionExpression"))return!0;let c=s.type==="NullableTypeAnnotation"?e.grandparent:s;return c.type==="UnionTypeAnnotation"||c.type==="IntersectionTypeAnnotation"||c.type==="ArrayTypeAnnotation"||n==="objectType"&&(c.type==="IndexedAccessType"||c.type==="OptionalIndexedAccessType")||n==="checkType"&&s.type==="ConditionalTypeAnnotation"||n==="extendsType"&&s.type==="ConditionalTypeAnnotation"&&r.returnType.type==="InferTypeAnnotation"&&r.returnType.typeParameter.bound||c.type==="NullableTypeAnnotation"||s.type==="FunctionTypeParam"&&s.name===null&&Y(r).some(f=>{var l;return((l=f.typeAnnotation)==null?void 0:l.type)==="NullableTypeAnnotation"})}case"ConditionalTypeAnnotation":if(n==="extendsType"&&s.type==="ConditionalTypeAnnotation"&&r.type==="ConditionalTypeAnnotation"||n==="checkType"&&s.type==="ConditionalTypeAnnotation")return!0;case"OptionalIndexedAccessType":return n==="objectType"&&s.type==="IndexedAccessType";case"StringLiteral":case"NumericLiteral":case"Literal":if(typeof r.value=="string"&&s.type==="ExpressionStatement"&&!s.directive){let c=e.grandparent;return c.type==="Program"||c.type==="BlockStatement"}return n==="object"&&s.type==="MemberExpression"&&typeof r.value=="number";case"AssignmentExpression":{let c=e.grandparent;return n==="body"&&s.type==="ArrowFunctionExpression"?!0:n==="key"&&(s.type==="ClassProperty"||s.type==="PropertyDefinition")&&s.computed||(n==="init"||n==="update")&&s.type==="ForStatement"?!1:s.type==="ExpressionStatement"?r.left.type==="ObjectPattern":!(n==="key"&&s.type==="TSPropertySignature"||s.type==="AssignmentExpression"||s.type==="SequenceExpression"&&c.type==="ForStatement"&&(c.init===s||c.update===s)||n==="value"&&s.type==="Property"&&c.type==="ObjectPattern"&&c.properties.includes(s)||s.type==="NGChainedExpression")}case"ConditionalExpression":switch(s.type){case"TaggedTemplateExpression":case"UnaryExpression":case"SpreadElement":case"BinaryExpression":case"LogicalExpression":case"NGPipeExpression":case"ExportDefaultDeclaration":case"AwaitExpression":case"JSXSpreadAttribute":case"TSTypeAssertion":case"TypeCastExpression":case"TSAsExpression":case"TSSatisfiesExpression":case"TSNonNullExpression":return!0;case"NewExpression":case"CallExpression":case"OptionalCallExpression":return n==="callee";case"ConditionalExpression":return n==="test";case"MemberExpression":case"OptionalMemberExpression":return n==="object";default:return!1}case"FunctionExpression":switch(s.type){case"NewExpression":case"CallExpression":case"OptionalCallExpression":return n==="callee";case"TaggedTemplateExpression":return!0;default:return!1}case"ArrowFunctionExpression":switch(s.type){case"BinaryExpression":return s.operator!=="|>"||((m=r.extra)==null?void 0:m.parenthesized);case"NewExpression":case"CallExpression":case"OptionalCallExpression":return n==="callee";case"MemberExpression":case"OptionalMemberExpression":return n==="object";case"TSAsExpression":case"TSSatisfiesExpression":case"TSNonNullExpression":case"BindExpression":case"TaggedTemplateExpression":case"UnaryExpression":case"LogicalExpression":case"AwaitExpression":case"TSTypeAssertion":return!0;case"ConditionalExpression":return n==="test";default:return!1}case"ClassExpression":switch(s.type){case"NewExpression":return n==="callee";default:return!1}case"OptionalMemberExpression":case"OptionalCallExpression":case"CallExpression":case"MemberExpression":if(so(e))return!0;case"TaggedTemplateExpression":case"TSNonNullExpression":if(n==="callee"&&(s.type==="BindExpression"||s.type==="NewExpression")){let c=r;for(;c;)switch(c.type){case"CallExpression":case"OptionalCallExpression":return!0;case"MemberExpression":case"OptionalMemberExpression":case"BindExpression":c=c.object;break;case"TaggedTemplateExpression":c=c.tag;break;case"TSNonNullExpression":c=c.expression;break;default:return!1}}return!1;case"BindExpression":return n==="callee"&&(s.type==="BindExpression"||s.type==="NewExpression")||n==="object"&&J(s);case"NGPipeExpression":return!(s.type==="NGRoot"||s.type==="NGMicrosyntaxExpression"||s.type==="ObjectProperty"&&!((y=r.extra)!=null&&y.parenthesized)||G(s)||n==="arguments"&&k(s)||n==="right"&&s.type==="NGPipeExpression"||n==="property"&&s.type==="MemberExpression"||s.type==="AssignmentExpression");case"JSXFragment":case"JSXElement":return n==="callee"||n==="left"&&s.type==="BinaryExpression"&&s.operator==="<"||!G(s)&&s.type!=="ArrowFunctionExpression"&&s.type!=="AssignmentExpression"&&s.type!=="AssignmentPattern"&&s.type!=="BinaryExpression"&&s.type!=="NewExpression"&&s.type!=="ConditionalExpression"&&s.type!=="ExpressionStatement"&&s.type!=="JsExpressionRoot"&&s.type!=="JSXAttribute"&&s.type!=="JSXElement"&&s.type!=="JSXExpressionContainer"&&s.type!=="JSXFragment"&&s.type!=="LogicalExpression"&&!k(s)&&!fe(s)&&s.type!=="ReturnStatement"&&s.type!=="ThrowStatement"&&s.type!=="TypeCastExpression"&&s.type!=="VariableDeclarator"&&s.type!=="YieldExpression";case"TSInstantiationExpression":return n==="object"&&J(s)}return!1}var eo=j(["BlockStatement","BreakStatement","ClassBody","ClassDeclaration","ClassMethod","ClassProperty","PropertyDefinition","ClassPrivateProperty","ContinueStatement","DebuggerStatement","DeclareClass","DeclareExportAllDeclaration","DeclareExportDeclaration","DeclareFunction","DeclareInterface","DeclareModule","DeclareModuleExports","DeclareVariable","DeclareEnum","DoWhileStatement","EnumDeclaration","ExportAllDeclaration","ExportDefaultDeclaration","ExportNamedDeclaration","ExpressionStatement","ForInStatement","ForOfStatement","ForStatement","FunctionDeclaration","IfStatement","ImportDeclaration","InterfaceDeclaration","LabeledStatement","MethodDefinition","ReturnStatement","SwitchStatement","ThrowStatement","TryStatement","TSDeclareFunction","TSEnumDeclaration","TSImportEqualsDeclaration","TSInterfaceDeclaration","TSModuleDeclaration","TSNamespaceExportDeclaration","TypeAlias","VariableDeclaration","WhileStatement","WithStatement"]);function to(e){let t=0,{node:r}=e;for(;r;){let n=e.getParentNode(t++);if((n==null?void 0:n.type)==="ForStatement"&&n.init===r)return!0;r=n}return!1}function ro(e){return Xt(e,t=>t.type==="ObjectTypeAnnotation"&&Xt(t,r=>r.type==="FunctionTypeAnnotation"))}function no(e){return Z(e)}function Qt(e){let{parent:t,key:r}=e;switch(t.type){case"NGPipeExpression":if(r==="arguments"&&e.isLast)return e.callParent(Qt);break;case"ObjectProperty":if(r==="value")return e.callParent(()=>e.key==="properties"&&e.isLast);break;case"BinaryExpression":case"LogicalExpression":if(r==="right")return e.callParent(Qt);break;case"ConditionalExpression":if(r==="alternate")return e.callParent(Qt);break;case"UnaryExpression":if(t.prefix)return e.callParent(Qt);break}return!1}function ou(e,t){let{node:r,parent:n}=e;return r.type==="FunctionExpression"||r.type==="ClassExpression"?n.type==="ExportDefaultDeclaration"||!Nn(e,t):!Lt(r)||n.type!=="ExportDefaultDeclaration"&&Nn(e,t)?!1:e.call(()=>ou(e,t),...Tr(r))}function so(e){let{node:t,parent:r,grandparent:n,key:s}=e;return!!((t.type==="OptionalMemberExpression"||t.type==="OptionalCallExpression")&&(s==="object"&&r.type==="MemberExpression"||s==="callee"&&(r.type==="CallExpression"||r.type==="NewExpression")||r.type==="TSNonNullExpression"&&n.type==="MemberExpression"&&n.object===r)||e.match(()=>t.type==="CallExpression"||t.type==="MemberExpression",(u,i)=>i==="expression"&&u.type==="ChainExpression")&&(e.match(void 0,void 0,(u,i)=>i==="callee"&&(u.type==="CallExpression"&&!u.optional||u.type==="NewExpression")||i==="object"&&u.type==="MemberExpression"&&!u.optional)||e.match(void 0,void 0,(u,i)=>i==="expression"&&u.type==="TSNonNullExpression",(u,i)=>i==="object"&&u.type==="MemberExpression"))||e.match(()=>t.type==="CallExpression"||t.type==="MemberExpression",(u,i)=>i==="expression"&&u.type==="TSNonNullExpression",(u,i)=>i==="expression"&&u.type==="ChainExpression",(u,i)=>i==="object"&&u.type==="MemberExpression"))}var we=Nn;var uo=(e,t,r,n)=>{if(!(e&&t==null))return t.replaceAll?t.replaceAll(r,n):r.global?t.replace(r,n):t.split(r).join(n)},H=uo;function io(e,t){let r=t-1;r=We(e,r,{backwards:!0}),r=Ye(e,r,{backwards:!0}),r=We(e,r,{backwards:!0});let n=Ye(e,r,{backwards:!0});return r!==n}var pu=io;var ao=()=>!0;function Un(e,t){let r=e.node;return r.printed=!0,t.printer.printComment(e,t)}function oo(e,t){var m;let r=e.node,n=[Un(e,t)],{printer:s,originalText:u,locStart:i,locEnd:a}=t;if((m=s.isBlockComment)==null?void 0:m.call(s,r)){let y=z(u,a(r))?z(u,i(r),{backwards:!0})?C:A:" ";n.push(y)}else n.push(C);let p=Ye(u,We(u,a(r)));return p!==!1&&z(u,p)&&n.push(C),n}function po(e,t,r){var p;let n=e.node,s=Un(e,t),{printer:u,originalText:i,locStart:a}=t,o=(p=u.isBlockComment)==null?void 0:p.call(u,n);if(r!=null&&r.hasLineSuffix&&!(r!=null&&r.isBlock)||z(i,a(n),{backwards:!0})){let m=pu(i,a(n));return{doc:Bn([C,m?C:"",s]),isBlock:o,hasLineSuffix:!0}}return!o||r!=null&&r.hasLineSuffix?{doc:[Bn([" ",s]),Ae],isBlock:o,hasLineSuffix:!0}:{doc:[" ",s],isBlock:o,hasLineSuffix:!1}}function M(e,t,r={}){let{node:n}=e;if(!P(n==null?void 0:n.comments))return"";let{indent:s=!1,marker:u,filter:i=ao}=r,a=[];if(e.each(({node:p})=>{p.leading||p.trailing||p.marker!==u||!i(p)||a.push(Un(e,t))},"comments"),a.length===0)return"";let o=B(C,a);return s?E([C,o]):o}function Gn(e,t){let r=e.node;if(!r)return{};let n=t[Symbol.for("printedComments")];if((r.comments||[]).filter(o=>!n.has(o)).length===0)return{leading:"",trailing:""};let u=[],i=[],a;return e.each(()=>{let o=e.node;if(n!=null&&n.has(o))return;let{leading:p,trailing:m}=o;p?u.push(oo(e,t)):m&&(a=po(e,t,a),i.push(a.doc))},"comments"),{leading:u,trailing:i}}function pe(e,t,r){let{leading:n,trailing:s}=Gn(e,r);return!n&&!s?t:Gt(t,u=>[n,u,s])}var qn=class extends Error{name="UnexpectedNodeError";constructor(t,r,n="type"){super(`Unexpected ${r} node ${n}: ${JSON.stringify(t[n])}.`),this.node=t}},Oe=qn;var Pr="'",cu='"';function co(e,t){let r=t===!0||t===Pr?Pr:cu,n=r===Pr?cu:Pr,s=0,u=0;for(let i of e)i===r?s++:i===n&&u++;return s>u?n:r}var kr=co;function Wn(e){if(typeof e!="string")throw new TypeError("Expected a string");return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}var ve,Yn=class{constructor(t){Ps(this,ve,void 0);ks(this,ve,new Set(t))}getLeadingWhitespaceCount(t){let r=nt(this,ve),n=0;for(let s=0;s=0&&r.has(t.charAt(s));s--)n++;return n}getLeadingWhitespace(t){let r=this.getLeadingWhitespaceCount(t);return t.slice(0,r)}getTrailingWhitespace(t){let r=this.getTrailingWhitespaceCount(t);return t.slice(t.length-r)}hasLeadingWhitespace(t){return nt(this,ve).has(t.charAt(0))}hasTrailingWhitespace(t){return nt(this,ve).has(w(!1,t,-1))}trimStart(t){let r=this.getLeadingWhitespaceCount(t);return t.slice(r)}trimEnd(t){let r=this.getTrailingWhitespaceCount(t);return t.slice(0,t.length-r)}trim(t){return this.trimEnd(this.trimStart(t))}split(t,r=!1){let n=`[${Wn([...nt(this,ve)].join(""))}]+`,s=new RegExp(r?`(${n})`:n);return t.split(s)}hasWhitespaceCharacter(t){let r=nt(this,ve);return Array.prototype.some.call(t,n=>r.has(n))}hasNonWhitespaceCharacter(t){let r=nt(this,ve);return Array.prototype.some.call(t,n=>!r.has(n))}isWhitespaceOnly(t){let r=nt(this,ve);return Array.prototype.every.call(t,n=>r.has(n))}};ve=new WeakMap;var lu=Yn;var Ir={};cr(Ir,{endOfLine:()=>Fo,ownLine:()=>Eo,remaining:()=>Co});function lo(e,t){let r=null,n=t;for(;n!==r;)r=n,n=We(e,n),n=bt(e,n),n=Pt(e,n),n=Ye(e,n);return n}var Xe=lo;function mo(e,t){let r=Xe(e,t);return r===!1?"":e.charAt(r)}var $e=mo;function Do(e,t,r){for(let n=t;n20&&(r=r.slice(0,19)+"\u2026"),t+(r?" "+r:"")}function Xn(e,t){(e.comments??(e.comments=[])).push(t),t.printed=!1,t.nodeDescription=yo(e)}function ne(e,t){t.leading=!0,t.trailing=!1,Xn(e,t)}function _e(e,t,r){t.leading=!1,t.trailing=!1,r&&(t.marker=r),Xn(e,t)}function te(e,t){t.leading=!1,t.trailing=!0,Xn(e,t)}function fo(e){return ae(e)&&e.value[0]==="*"&&/@(?:type|satisfies)\b/.test(e.value)}var mu=fo;function Eo(e){return[du,Eu,To,Vn,Hn,Du,yu,Oo,Lo,zn,Cu,vo,fu,Fu,Kn].some(t=>t(e))}function Fo(e){return[Ao,Eu,xo,Cu,Vn,Hn,Du,yu,Fu,Io,wo,zn,Mo,Kn,No].some(t=>t(e))}function Co(e){return[du,Vn,Hn,go,ko,fu,zn,Po,bo,Jo,Kn,Ro].some(t=>t(e))}function At(e,t){let r=(e.body||e.properties).find(({type:n})=>n!=="EmptyStatement");r?ne(r,t):_e(e,t)}function $n(e,t){e.type==="BlockStatement"?At(e,t):ne(e,t)}function Ao({comment:e,followingNode:t}){return t&&mu(e)?(ne(t,e),!0):!1}function Vn({comment:e,precedingNode:t,enclosingNode:r,followingNode:n,text:s}){if((r==null?void 0:r.type)!=="IfStatement"||!n)return!1;if($e(s,O(e))===")")return te(t,e),!0;if(t===r.consequent&&n===r.alternate){if(t.type==="BlockStatement")te(t,e);else{let i=e.type==="SingleLine"||e.loc.start.line===e.loc.end.line,a=e.loc.start.line===t.loc.start.line;i&&a?_e(t,e,zt):_e(r,e)}return!0}return n.type==="BlockStatement"?(At(n,e),!0):n.type==="IfStatement"?($n(n.consequent,e),!0):r.consequent===n?(ne(n,e),!0):!1}function Hn({comment:e,precedingNode:t,enclosingNode:r,followingNode:n,text:s}){return(r==null?void 0:r.type)!=="WhileStatement"||!n?!1:$e(s,O(e))===")"?(te(t,e),!0):n.type==="BlockStatement"?(At(n,e),!0):r.body===n?(ne(n,e),!0):!1}function Du({comment:e,precedingNode:t,enclosingNode:r,followingNode:n}){return(r==null?void 0:r.type)!=="TryStatement"&&(r==null?void 0:r.type)!=="CatchClause"||!n?!1:r.type==="CatchClause"&&t?(te(t,e),!0):n.type==="BlockStatement"?(At(n,e),!0):n.type==="TryStatement"?($n(n.finalizer,e),!0):n.type==="CatchClause"?($n(n.body,e),!0):!1}function To({comment:e,enclosingNode:t,followingNode:r}){return J(t)&&(r==null?void 0:r.type)==="Identifier"?(ne(t,e),!0):!1}function xo({comment:e,precedingNode:t,enclosingNode:r,followingNode:n,text:s}){let u=t&&!yt(s,O(t),U(e));return(!t||!u)&&((r==null?void 0:r.type)==="ConditionalExpression"||(r==null?void 0:r.type)==="TSConditionalType")&&n?(ne(n,e),!0):!1}function go({comment:e,precedingNode:t,enclosingNode:r}){return fe(r)&&r.shorthand&&r.key===t&&r.value.type==="AssignmentPattern"?(te(r.value.left,e),!0):!1}var ho=new Set(["ClassDeclaration","ClassExpression","DeclareClass","DeclareInterface","InterfaceDeclaration","TSInterfaceDeclaration"]);function yu({comment:e,precedingNode:t,enclosingNode:r,followingNode:n}){if(ho.has(r==null?void 0:r.type)){if(P(r.decorators)&&(n==null?void 0:n.type)!=="Decorator")return te(w(!1,r.decorators,-1),e),!0;if(r.body&&n===r.body)return At(r.body,e),!0;if(n){if(r.superClass&&n===r.superClass&&t&&(t===r.id||t===r.typeParameters))return te(t,e),!0;for(let s of["implements","extends","mixins"])if(r[s]&&n===r[s][0])return t&&(t===r.id||t===r.typeParameters||t===r.superClass)?te(t,e):_e(r,e,s),!0}}return!1}var So=new Set(["ClassMethod","ClassProperty","PropertyDefinition","TSAbstractPropertyDefinition","TSAbstractMethodDefinition","TSDeclareMethod","MethodDefinition","ClassAccessorProperty","AccessorProperty","TSAbstractAccessorProperty"]);function fu({comment:e,precedingNode:t,enclosingNode:r,text:n}){return r&&t&&$e(n,O(e))==="("&&(r.type==="Property"||r.type==="TSDeclareMethod"||r.type==="TSAbstractMethodDefinition")&&t.type==="Identifier"&&r.key===t&&$e(n,O(t))!==":"?(te(t,e),!0):(t==null?void 0:t.type)==="Decorator"&&So.has(r==null?void 0:r.type)?(te(t,e),!0):!1}var Bo=new Set(["FunctionDeclaration","FunctionExpression","ClassMethod","MethodDefinition","ObjectMethod"]);function bo({comment:e,precedingNode:t,enclosingNode:r,text:n}){return $e(n,O(e))!=="("?!1:t&&Bo.has(r==null?void 0:r.type)?(te(t,e),!0):!1}function Po({comment:e,enclosingNode:t,text:r}){if((t==null?void 0:t.type)!=="ArrowFunctionExpression")return!1;let n=Xe(r,O(e));return n!==!1&&r.slice(n,n+2)==="=>"?(_e(t,e),!0):!1}function ko({comment:e,enclosingNode:t,text:r}){return $e(r,O(e))!==")"?!1:t&&(Au(t)&&Y(t).length===0||ut(t)&&he(t).length===0)?(_e(t,e),!0):((t==null?void 0:t.type)==="MethodDefinition"||(t==null?void 0:t.type)==="TSAbstractMethodDefinition")&&Y(t.value).length===0?(_e(t.value,e),!0):!1}function Eu({comment:e,precedingNode:t,enclosingNode:r,followingNode:n,text:s}){if((t==null?void 0:t.type)==="FunctionTypeParam"&&(r==null?void 0:r.type)==="FunctionTypeAnnotation"&&(n==null?void 0:n.type)!=="FunctionTypeParam")return te(t,e),!0;if(((t==null?void 0:t.type)==="Identifier"||(t==null?void 0:t.type)==="AssignmentPattern"||(t==null?void 0:t.type)==="ObjectPattern"||(t==null?void 0:t.type)==="ArrayPattern"||(t==null?void 0:t.type)==="RestElement")&&r&&Au(r)&&$e(s,O(e))===")")return te(t,e),!0;if((r==null?void 0:r.type)==="FunctionDeclaration"&&(n==null?void 0:n.type)==="BlockStatement"){let u=(()=>{let i=Y(r);if(i.length>0)return Xe(s,O(w(!1,i,-1)));let a=Xe(s,O(r.id));return a!==!1&&Xe(s,a+1)})();if(U(e)>u)return At(n,e),!0}return!1}function Fu({comment:e,enclosingNode:t}){return(t==null?void 0:t.type)==="LabeledStatement"?(ne(t,e),!0):!1}function Kn({comment:e,enclosingNode:t}){return((t==null?void 0:t.type)==="ContinueStatement"||(t==null?void 0:t.type)==="BreakStatement")&&!t.label?(te(t,e),!0):!1}function Io({comment:e,precedingNode:t,enclosingNode:r}){return k(r)&&t&&r.callee===t&&r.arguments.length>0?(ne(r.arguments[0],e),!0):!1}function Lo({comment:e,precedingNode:t,enclosingNode:r,followingNode:n}){return(r==null?void 0:r.type)==="UnionTypeAnnotation"||(r==null?void 0:r.type)==="TSUnionType"?(Ht(e)&&(n.prettierIgnore=!0,e.unignore=!0),t?(te(t,e),!0):!1):(((n==null?void 0:n.type)==="UnionTypeAnnotation"||(n==null?void 0:n.type)==="TSUnionType")&&Ht(e)&&(n.types[0].prettierIgnore=!0,e.unignore=!0),!1)}function wo({comment:e,enclosingNode:t}){return fe(t)?(ne(t,e),!0):!1}function zn({comment:e,enclosingNode:t,followingNode:r,ast:n,isLastComment:s}){var u;return((u=n==null?void 0:n.body)==null?void 0:u.length)===0?(s?_e(n,e):ne(n,e),!0):(t==null?void 0:t.type)==="Program"&&t.body.length===0&&!P(t.directives)?(s?_e(t,e):ne(t,e),!0):(r==null?void 0:r.type)==="Program"&&r.body.length===0&&(t==null?void 0:t.type)==="ModuleExpression"?(_e(r,e),!0):!1}function Oo({comment:e,enclosingNode:t}){return(t==null?void 0:t.type)==="ForInStatement"||(t==null?void 0:t.type)==="ForOfStatement"?(ne(t,e),!0):!1}function Cu({comment:e,precedingNode:t,enclosingNode:r,text:n}){if((r==null?void 0:r.type)==="ImportSpecifier"||(r==null?void 0:r.type)==="ExportSpecifier")return ne(r,e),!0;let s=(t==null?void 0:t.type)==="ImportSpecifier"&&(r==null?void 0:r.type)==="ImportDeclaration",u=(t==null?void 0:t.type)==="ExportSpecifier"&&(r==null?void 0:r.type)==="ExportNamedDeclaration";return(s||u)&&z(n,O(e))?(te(t,e),!0):!1}function vo({comment:e,enclosingNode:t}){return(t==null?void 0:t.type)==="AssignmentPattern"?(ne(t,e),!0):!1}var _o=new Set(["VariableDeclarator","AssignmentExpression","TypeAlias","TSTypeAliasDeclaration"]),jo=new Set(["ObjectExpression","RecordExpression","ArrayExpression","TupleExpression","TemplateLiteral","TaggedTemplateExpression","ObjectTypeAnnotation","TSTypeLiteral"]);function Mo({comment:e,enclosingNode:t,followingNode:r}){return _o.has(t==null?void 0:t.type)&&r&&(jo.has(r.type)||ae(e))?(ne(r,e),!0):!1}function Ro({comment:e,enclosingNode:t,followingNode:r,text:n}){return!r&&((t==null?void 0:t.type)==="TSMethodSignature"||(t==null?void 0:t.type)==="TSDeclareFunction"||(t==null?void 0:t.type)==="TSAbstractMethodDefinition")&&$e(n,O(e))===";"?(te(t,e),!0):!1}function du({comment:e,enclosingNode:t,followingNode:r}){if(Ht(e)&&(t==null?void 0:t.type)==="TSMappedType"&&(r==null?void 0:r.type)==="TSTypeParameter"&&r.constraint)return t.prettierIgnore=!0,e.unignore=!0,!0}function Jo({comment:e,precedingNode:t,enclosingNode:r,followingNode:n}){return(r==null?void 0:r.type)!=="TSMappedType"?!1:(n==null?void 0:n.type)==="TSTypeParameter"&&n.name?(ne(n.name,e),!0):(t==null?void 0:t.type)==="TSTypeParameter"&&t.constraint?(te(t.constraint,e),!0):!1}function No({comment:e,enclosingNode:t,followingNode:r}){return!t||t.type!=="SwitchCase"||t.test||!r||r!==t.consequent[0]?!1:(r.type==="BlockStatement"&&$t(e)?At(r,e):_e(t,e),!0)}var Au=j(["ArrowFunctionExpression","FunctionExpression","FunctionDeclaration","ObjectMethod","ClassMethod","TSDeclareFunction","TSCallSignatureDeclaration","TSConstructSignatureDeclaration","TSMethodSignature","TSConstructorType","TSFunctionType","TSDeclareMethod"]);function Uo(e){let t=`*${e.value}*`.split(` -`);return t.length>1&&t.every(r=>r.trimStart()[0]==="*")}var Tu=Uo;function xu(e,t){let r=e.node;if($t(r))return t.originalText.slice(U(r),O(r)).trimEnd();if(ae(r))return Tu(r)?Go(r):["/*",Te(r.value),"*/"];throw new Error("Not a comment: "+JSON.stringify(r))}function Go(e){let t=e.value.split(` -`);return["/*",B(C,t.map((r,n)=>n===0?r.trimEnd():" "+(ne===""||e===A||e===C||e===F;function $o(e,t,r){var v,_,R;let{node:n}=e;if(n.type==="JSXElement"&&ap(n))return[r("openingElement"),r("closingElement")];let s=n.type==="JSXElement"?r("openingElement"):r("openingFragment"),u=n.type==="JSXElement"?r("closingElement"):r("closingFragment");if(n.children.length===1&&n.children[0].type==="JSXExpressionContainer"&&(n.children[0].expression.type==="TemplateLiteral"||n.children[0].expression.type==="TaggedTemplateExpression"))return[s,...e.map(r,"children"),u];n.children=n.children.map(T=>op(T)?{type:"JSXText",value:" ",raw:" "}:T);let i=n.children.some(V),a=n.children.filter(T=>T.type==="JSXExpressionContainer").length>1,o=n.type==="JSXElement"&&n.openingElement.attributes.length>1,p=K(s)||i||o||a,m=e.parent.rootMarker==="mdx",y=t.singleQuote?"{' '}":'{" "}',c=m?" ":b([y,F]," "),f=((_=(v=n.openingElement)==null?void 0:v.name)==null?void 0:_.name)==="fbt",l=Vo(e,t,r,c,f),h=n.children.some(T=>Zt(T));for(let T=l.length-2;T>=0;T--){let N=l[T]===""&&l[T+1]==="",Se=l[T]===C&&l[T+1]===""&&l[T+2]===C,$=(l[T]===F||l[T]===C)&&l[T+1]===""&&l[T+2]===c,Be=l[T]===c&&l[T+1]===""&&(l[T+2]===F||l[T+2]===C),Ee=l[T]===c&&l[T+1]===""&&l[T+2]===c,Tn=l[T]===F&&l[T+1]===""&&l[T+2]===C||l[T]===C&&l[T+1]===""&&l[T+2]===F;Se&&h||N||$||Ee||Tn?l.splice(T,2):Be&&l.splice(T+1,2)}for(;l.length>0&&Zn(w(!1,l,-1));)l.pop();for(;l.length>1&&Zn(l[0])&&Zn(l[1]);)l.shift(),l.shift();let g=[];for(let[T,N]of l.entries()){if(N===c){if(T===1&&l[T-1]===""){if(l.length===2){g.push(y);continue}g.push([y,C]);continue}else if(T===l.length-1){g.push(y);continue}else if(l[T-1]===""&&l[T-2]===C){g.push(y);continue}}g.push(N),K(N)&&(p=!0)}let S=h?St(g):D(g,{shouldBreak:!0});if(((R=t.cursorNode)==null?void 0:R.type)==="JSXText"&&n.children.includes(t.cursorNode)&&(S=[Pn,S,Pn]),m)return S;let I=D([s,E([C,S]),C,u]);return p?I:qe([D([s,...l,u]),I])}function Vo(e,t,r,n,s){let u=[];return e.each(({node:i,next:a})=>{if(i.type==="JSXText"){let o=oe(i);if(Zt(i)){let p=Lr.split(o,!0);p[0]===""&&(u.push(""),p.shift(),/\n/.test(p[0])?u.push(hu(s,p[1],i,a)):u.push(n),p.shift());let m;if(w(!1,p,-1)===""&&(p.pop(),m=p.pop()),p.length===0)return;for(let[y,c]of p.entries())y%2===1?u.push(A):u.push(c);m!==void 0?/\n/.test(m)?u.push(hu(s,w(!1,u,-1),i,a)):u.push(n):u.push(gu(s,w(!1,u,-1),i,a))}else/\n/.test(o)?o.match(/\n/g).length>1&&u.push("",C):u.push("",n)}else{let o=r();if(u.push(o),a&&Zt(a)){let m=Lr.trim(oe(a)),[y]=Lr.split(m);u.push(gu(s,y,i,a))}else u.push(C)}},"children"),u}function gu(e,t,r,n){return e?"":r.type==="JSXElement"&&!r.closingElement||(n==null?void 0:n.type)==="JSXElement"&&!n.closingElement?t.length===1?F:C:F}function hu(e,t,r,n){return e?C:t.length===1?r.type==="JSXElement"&&!r.closingElement||(n==null?void 0:n.type)==="JSXElement"&&!n.closingElement?C:F:C}var Ho=new Set(["ArrayExpression","TupleExpression","JSXAttribute","JSXElement","JSXExpressionContainer","JSXFragment","ExpressionStatement","CallExpression","OptionalCallExpression","ConditionalExpression","JsExpressionRoot"]);function Ko(e,t,r){let{parent:n}=e;if(Ho.has(n.type))return t;let s=e.match(void 0,i=>i.type==="ArrowFunctionExpression",k,i=>i.type==="JSXExpressionContainer"),u=we(e,r);return D([u?"":b("("),E([F,t]),F,u?"":b(")")],{shouldBreak:s})}function zo(e,t,r){let{node:n}=e,s=[];if(s.push(r("name")),n.value){let u;if(ee(n.value)){let i=oe(n.value),a=H(!1,H(!1,i.slice(1,-1),"'","'"),""",'"'),o=kr(a,t.jsxSingleQuote);a=o==='"'?H(!1,a,'"',"""):H(!1,a,"'","'"),u=e.call(()=>pe(e,Te(o+a+o),t),"value")}else u=r("value");s.push("=",u)}return s}function Qo(e,t,r){let{node:n}=e,s=(u,i)=>u.type==="JSXEmptyExpression"||!d(u)&&(G(u)||Z(u)||u.type==="ArrowFunctionExpression"||u.type==="AwaitExpression"&&(s(u.argument,u)||u.argument.type==="JSXElement")||k(u)||u.type==="ChainExpression"&&k(u.expression)||u.type==="FunctionExpression"||u.type==="TemplateLiteral"||u.type==="TaggedTemplateExpression"||u.type==="DoExpression"||V(i)&&(u.type==="ConditionalExpression"||ce(u)));return s(n.expression,e.parent)?D(["{",r("expression"),de,"}"]):D(["{",E([F,r("expression")]),F,de,"}"])}function Zo(e,t,r){var a,o;let{node:n}=e,s=d(n.name)||d(n.typeParameters);if(n.selfClosing&&n.attributes.length===0&&!s)return["<",r("name"),r("typeParameters")," />"];if(((a=n.attributes)==null?void 0:a.length)===1&&n.attributes[0].value&&ee(n.attributes[0].value)&&!n.attributes[0].value.value.includes(` -`)&&!s&&!d(n.attributes[0]))return D(["<",r("name"),r("typeParameters")," ",...e.map(r,"attributes"),n.selfClosing?" />":">"]);let u=(o=n.attributes)==null?void 0:o.some(p=>p.value&&ee(p.value)&&p.value.value.includes(` -`)),i=t.singleAttributePerLine&&n.attributes.length>1?C:A;return D(["<",r("name"),r("typeParameters"),E(e.map(()=>[i,r()],"attributes")),...ep(n,t,s)],{shouldBreak:u})}function ep(e,t,r){return e.selfClosing?[A,"/>"]:tp(e,t,r)?[">"]:[F,">"]}function tp(e,t,r){let n=e.attributes.length>0&&d(w(!1,e.attributes,-1),x.Trailing);return e.attributes.length===0&&!r||(t.bracketSameLine||t.jsxBracketSameLine)&&(!r||e.attributes.length>0)&&!n}function rp(e,t,r){let{node:n}=e,s=[];s.push(""),s}function np(e,t){let{node:r}=e,n=d(r),s=d(r,x.Line),u=r.type==="JSXOpeningFragment";return[u?"<":""]}function sp(e,t,r){let n=pe(e,$o(e,t,r),t);return Ko(e,n,t)}function up(e,t){let{node:r}=e,n=d(r,x.Line);return[M(e,t,{indent:n}),n?C:""]}function ip(e,t,r){let{node:n}=e;return["{",e.call(({node:s})=>{let u=["...",r()];return!d(s)||!Qn(e)?u:[E([F,pe(e,u,t)]),F]},n.type==="JSXSpreadAttribute"?"argument":"expression"),"}"]}function Su(e,t,r){let{node:n}=e;if(n.type.startsWith("JSX"))switch(n.type){case"JSXAttribute":return zo(e,t,r);case"JSXIdentifier":return n.name;case"JSXNamespacedName":return B(":",[r("namespace"),r("name")]);case"JSXMemberExpression":return B(".",[r("object"),r("property")]);case"JSXSpreadAttribute":case"JSXSpreadChild":return ip(e,t,r);case"JSXExpressionContainer":return Qo(e,t,r);case"JSXFragment":case"JSXElement":return sp(e,t,r);case"JSXOpeningElement":return Zo(e,t,r);case"JSXClosingElement":return rp(e,t,r);case"JSXOpeningFragment":case"JSXClosingFragment":return np(e,t);case"JSXEmptyExpression":return up(e,t);case"JSXText":throw new Error("JSXText should be handled by JSXElement");default:throw new Oe(n,"JSX")}}function ap(e){if(e.children.length===0)return!0;if(e.children.length>1)return!1;let t=e.children[0];return t.type==="JSXText"&&!Zt(t)}function Zt(e){return e.type==="JSXText"&&(Lr.hasNonWhitespaceCharacter(oe(e))||!/\n/.test(oe(e)))}function op(e){return e.type==="JSXExpressionContainer"&&ee(e.expression)&&e.expression.value===" "&&!d(e.expression)}function Bu(e){let{node:t,parent:r}=e;if(!V(t)||!V(r))return!1;let{index:n,siblings:s}=e,u;for(let i=n;i>0;i--){let a=s[i-1];if(!(a.type==="JSXText"&&!Zt(a))){u=a;break}}return(u==null?void 0:u.type)==="JSXExpressionContainer"&&u.expression.type==="JSXEmptyExpression"&&dt(u.expression)}function pp(e){return dt(e.node)||Bu(e)}var wr=pp;var cp=0;function Or(e,t,r){var _;let{node:n,parent:s,grandparent:u,key:i}=e,a=i!=="body"&&(s.type==="IfStatement"||s.type==="WhileStatement"||s.type==="SwitchStatement"||s.type==="DoWhileStatement"),o=n.operator==="|>"&&((_=e.root.extra)==null?void 0:_.__isUsingHackPipeline),p=es(e,r,t,!1,a);if(a)return p;if(o)return D(p);if(k(s)&&s.callee===n||s.type==="UnaryExpression"||J(s)&&!s.computed)return D([E([F,...p]),F]);let m=s.type==="ReturnStatement"||s.type==="ThrowStatement"||s.type==="JSXExpressionContainer"&&u.type==="JSXAttribute"||n.operator!=="|"&&s.type==="JsExpressionRoot"||n.type!=="NGPipeExpression"&&(s.type==="NGRoot"&&t.parser==="__ng_binding"||s.type==="NGMicrosyntaxExpression"&&u.type==="NGMicrosyntax"&&u.body.length===1)||n===s.body&&s.type==="ArrowFunctionExpression"||n!==s.body&&s.type==="ForStatement"||s.type==="ConditionalExpression"&&u.type!=="ReturnStatement"&&u.type!=="ThrowStatement"&&!k(u)||s.type==="TemplateLiteral",y=s.type==="AssignmentExpression"||s.type==="VariableDeclarator"||s.type==="ClassProperty"||s.type==="PropertyDefinition"||s.type==="TSAbstractPropertyDefinition"||s.type==="ClassPrivateProperty"||fe(s),c=ce(n.left)&&Vt(n.operator,n.left.operator);if(m||Ot(n)&&!c||!Ot(n)&&y)return D(p);if(p.length===0)return"";let f=V(n.right),l=p.findIndex(R=>typeof R!="string"&&!Array.isArray(R)&&R.type===ue),h=p.slice(0,l===-1?1:l+1),g=p.slice(h.length,f?-1:void 0),S=Symbol("logicalChain-"+ ++cp),I=D([...h,E(g)],{id:S});if(!f)return I;let v=w(!1,p,-1);return D([I,lt(v,{groupId:S})])}function es(e,t,r,n,s){var h;let{node:u}=e;if(!ce(u))return[D(t())];let i=[];Vt(u.operator,u.left.operator)?i=e.call(g=>es(g,t,r,!0,s),"left"):i.push(D(t("left")));let a=Ot(u),o=(u.operator==="|>"||u.type==="NGPipeExpression"||lp(e,r))&&!Ie(r.originalText,u.right),p=u.type==="NGPipeExpression"?"|":u.operator,m=u.type==="NGPipeExpression"&&u.arguments.length>0?D(E([F,": ",B([A,": "],e.map(()=>ye(2,D(t())),"arguments"))])):"",y;if(a)y=[p," ",t("right"),m];else{let S=p==="|>"&&((h=e.root.extra)==null?void 0:h.__isUsingHackPipeline)?e.call(I=>es(I,t,r,!0,s),"right"):t("right");y=[o?A:"",p,o?" ":A,S,m]}let{parent:c}=e,f=d(u.left,x.Trailing|x.Line),l=f||!(s&&u.type==="LogicalExpression")&&c.type!==u.type&&u.left.type!==u.type&&u.right.type!==u.type;if(i.push(o?"":" ",l?D(y,{shouldBreak:f}):y),n&&d(u)){let g=Bt(pe(e,i,r));return Array.isArray(g)||g.type===De?yr(g):[g]}return i}function Ot(e){return e.type!=="LogicalExpression"?!1:!!(Z(e.right)&&e.right.properties.length>0||G(e.right)&&e.right.elements.length>0||V(e.right))}var bu=e=>e.type==="BinaryExpression"&&e.operator==="|";function lp(e,t){return(t.parser==="__vue_expression"||t.parser==="__vue_ts_expression")&&bu(e.node)&&!e.hasAncestor(r=>!bu(r)&&r.type!=="JsExpressionRoot")}var it=class extends Error{name="ArgExpansionBailout"};function mp(e,t,r,n){let{node:s}=e;return d(s,x.Dangling)?D([r,M(e,t,{indent:!0}),F,n]):[r,n]}function vt(e,t,r){let{node:n}=e,s=[],u=n.type==="TupleExpression"?"#[":"[",i="]",a=n.type==="TupleTypeAnnotation"&&n.types?"types":n.type==="TSTupleType"||n.type==="TupleTypeAnnotation"?"elementTypes":"elements",o=n[a];if(o.length===0)s.push(mp(e,t,u,i));else{let p=w(!1,o,-1),m=(p==null?void 0:p.type)!=="RestElement",y=p===null,c=Symbol("array"),f=!t.__inJestEach&&o.length>1&&o.every((g,S,I)=>{let v=g==null?void 0:g.type;if(!G(g)&&!Z(g))return!1;let _=I[S+1];if(_&&v!==_.type)return!1;let R=G(g)?"elements":"properties";return g[R]&&g[R].length>1}),l=ts(n,t),h=m?y?",":le(t)?l?b(",","",{groupId:c}):b(","):"":"";s.push(D([u,E([F,l?yp(e,t,r,h):[Dp(e,t,a,r),h],M(e,t)]),F,i],{shouldBreak:f,id:c}))}return s.push(X(e),q(e,r)),s}function ts(e,t){return G(e)&&e.elements.length>1&&e.elements.every(r=>r&&(ge(r)||xr(r)&&!d(r.argument))&&!d(r,x.Trailing|x.Line,n=>!z(t.originalText,U(n),{backwards:!0})))}function Pu({node:e},{originalText:t}){let r=s=>bt(t,Pt(t,s)),n=s=>t[s]===","?s:n(r(s+1));return kt(t,n(O(e)))}function Dp(e,t,r,n){let s=[];return e.each(({node:u,isLast:i})=>{s.push(u?D(n()):""),i||s.push([",",A,u&&Pu(e,t)?F:""])},r),s}function yp(e,t,r,n){let s=[];return e.each(({isLast:u,next:i})=>{s.push([r(),u?n:","]),u||s.push(Pu(e,t)?[C,C]:d(i,x.Leading|x.Line)?C:A)},"elements"),St(s)}function fp(e,t,r){let{node:n}=e,s=he(n);if(s.length===0)return["(",M(e,t),")"];if(Cp(s))return["(",r(["arguments",0]),", ",r(["arguments",1]),")"];let u=!1,i=s.length-1,a=[];br(e,({node:c},f)=>{let l=r();f===i||(me(c,t)?(u=!0,l=[l,",",C,C]):l=[l,",",A]),a.push(l)});let p=!(n.type==="ImportExpression"||n.callee.type==="Import")&&le(t,"all")?",":"";function m(){return D(["(",E([A,...a]),p,A,")"],{shouldBreak:!0})}if(u||e.parent.type!=="Decorator"&&ru(s))return m();if(Fp(s)){let c=a.slice(1);if(c.some(K))return m();let f;try{f=r(Jn(n,0),{expandFirstArg:!0})}catch(l){if(l instanceof it)return m();throw l}return K(f)?[Ae,qe([["(",D(f,{shouldBreak:!0}),", ",...c,")"],m()])]:qe([["(",f,", ",...c,")"],["(",D(f,{shouldBreak:!0}),", ",...c,")"],m()])}if(Ep(s,a,t)){let c=a.slice(0,-1);if(c.some(K))return m();let f;try{f=r(Jn(n,-1),{expandLastArg:!0})}catch(l){if(l instanceof it)return m();throw l}return K(f)?[Ae,qe([["(",...c,D(f,{shouldBreak:!0}),")"],m()])]:qe([["(",...c,f,")"],["(",...c,D(f,{shouldBreak:!0}),")"],m()])}let y=["(",E([F,...a]),b(p),F,")"];return Br(e)?y:D(y,{shouldBreak:a.some(K)||u})}function er(e,t=!1){return Z(e)&&(e.properties.length>0||d(e))||G(e)&&(e.elements.length>0||d(e))||e.type==="TSTypeAssertion"&&er(e.expression)||Le(e)&&er(e.expression)||e.type==="FunctionExpression"||e.type==="ArrowFunctionExpression"&&(!e.returnType||!e.returnType.typeAnnotation||e.returnType.typeAnnotation.type!=="TSTypeReference"||dp(e.body))&&(e.body.type==="BlockStatement"||e.body.type==="ArrowFunctionExpression"&&er(e.body,!0)||Z(e.body)||G(e.body)||!t&&(k(e.body)||e.body.type==="ConditionalExpression")||V(e.body))||e.type==="DoExpression"||e.type==="ModuleExpression"}function Ep(e,t,r){var u,i;let n=w(!1,e,-1);if(e.length===1){let a=w(!1,t,-1);if((u=a.label)!=null&&u.embed&&((i=a.label)==null?void 0:i.hug)!==!1)return!0}let s=w(!1,e,-2);return!d(n,x.Leading)&&!d(n,x.Trailing)&&er(n)&&(!s||s.type!==n.type)&&(e.length!==2||s.type!=="ArrowFunctionExpression"||!G(n))&&!(e.length>1&&ts(n,r))}function Fp(e){if(e.length!==2)return!1;let[t,r]=e;return t.type==="ModuleExpression"&&Ap(r)?!0:!d(t)&&(t.type==="FunctionExpression"||t.type==="ArrowFunctionExpression"&&t.body.type==="BlockStatement")&&r.type!=="FunctionExpression"&&r.type!=="ArrowFunctionExpression"&&r.type!=="ConditionalExpression"&&ku(r)&&!er(r)}function ku(e){var t;if(e.type==="ParenthesizedExpression")return ku(e.expression);if(Le(e)||e.type==="TypeCastExpression"){let{typeAnnotation:r}=e;return r.type==="TypeAnnotation"&&(r=r.typeAnnotation),r.type==="TSArrayType"&&(r=r.elementType,r.type==="TSArrayType"&&(r=r.elementType)),(r.type==="GenericTypeAnnotation"||r.type==="TSTypeReference")&&((t=r.typeParameters)==null?void 0:t.params.length)===1&&(r=r.typeParameters.params[0]),wt(r)&&xe(e.expression,1)}return ut(e)&&he(e).length>1?!1:ce(e)?xe(e.left,1)&&xe(e.right,1):vn(e)||xe(e)}function Cp(e){return e.length===2&&e[0].type==="ArrowFunctionExpression"&&Y(e[0]).length===0&&e[0].body.type==="BlockStatement"&&e[1].type==="ArrayExpression"&&!e.some(t=>d(t))}function dp(e){return e.type==="BlockStatement"&&(e.body.some(t=>t.type!=="EmptyStatement")||d(e,x.Dangling))}function Ap(e){return e.type==="ObjectExpression"&&e.properties.length===1&&fe(e.properties[0])&&e.properties[0].key.type==="Identifier"&&e.properties[0].key.name==="type"&&ee(e.properties[0].value)&&e.properties[0].value.value==="module"}var tr=fp;function Iu(e,t,r){var p;let n=r("object"),s=rs(e,t,r),{node:u,parent:i}=e,a=e.findAncestor(m=>!(J(m)||m.type==="TSNonNullExpression")),o=a&&(a.type==="NewExpression"||a.type==="BindExpression"||a.type==="AssignmentExpression"&&a.left.type!=="Identifier")||u.computed||u.object.type==="Identifier"&&u.property.type==="Identifier"&&!J(i)||(i.type==="AssignmentExpression"||i.type==="VariableDeclarator")&&(k(u.object)&&u.object.arguments.length>0||u.object.type==="TSNonNullExpression"&&k(u.object.expression)&&u.object.expression.arguments.length>0||((p=n.label)==null?void 0:p.memberChain));return et(n.label,[n,o?s:D(E([F,s]))])}function rs(e,t,r){let n=r("property"),{node:s}=e,u=X(e);return s.computed?!s.property||ge(s.property)?[u,"[",n,"]"]:D([u,"[",E([F,n]),F,"]"]):[u,".",n]}function Tp(e,t,r){let{parent:n}=e,s=!n||n.type==="ExpressionStatement",u=[];function i(L){let{originalText:W}=t,se=Xe(W,O(L));return W.charAt(se)===")"?se!==!1&&kt(W,se+1):me(L,t)}function a(L){let{node:W}=L;k(W)&&(Dt(W.callee)||k(W.callee))?(u.unshift({node:W,printed:[pe(L,[X(L),Ve(L,t,r),tr(L,t,r)],t),i(W)?C:""]}),L.call(se=>a(se),"callee")):Dt(W)?(u.unshift({node:W,needsParens:we(L,t),printed:pe(L,J(W)?rs(L,t,r):vr(L,t,r),t)}),L.call(se=>a(se),"object")):W.type==="TSNonNullExpression"?(u.unshift({node:W,printed:pe(L,"!",t)}),L.call(se=>a(se),"expression")):u.unshift({node:W,printed:r()})}let{node:o}=e;u.unshift({node:o,printed:[X(e),Ve(e,t,r),tr(e,t,r)]}),o.callee&&e.call(L=>a(L),"callee");let p=[],m=[u[0]],y=1;for(;y0&&p.push(m);function f(L){return/^[A-Z]|^[$_]+$/.test(L)}function l(L){return L.length<=t.tabWidth}function h(L){var gn;let W=(gn=L[1][0])==null?void 0:gn.node.computed;if(L[0].length===1){let or=L[0][0].node;return or.type==="ThisExpression"||or.type==="Identifier"&&(f(or.name)||s&&l(or.name)||W)}let se=w(!1,L[0],-1).node;return J(se)&&se.property.type==="Identifier"&&(f(se.property.name)||W)}let g=p.length>=2&&!d(p[1][0].node)&&h(p);function S(L){let W=L.map(se=>se.printed);return L.length>0&&w(!1,L,-1).needsParens?["(",...W,")"]:W}function I(L){return L.length===0?"":E(D([C,B(C,L.map(S))]))}let v=p.map(S),_=v,R=g?3:2,T=p.flat(),N=T.slice(1,-1).some(L=>d(L.node,x.Leading))||T.slice(0,-1).some(L=>d(L.node,x.Trailing))||p[R]&&d(p[R][0].node,x.Leading);if(p.length<=R&&!N)return Br(e)?_:D(_);let Se=w(!1,p[g?1:0],-1).node,$=!k(Se)&&i(Se),Be=[S(p[0]),g?p.slice(1,2).map(S):"",$?C:"",I(p.slice(g?2:1))],Ee=u.map(({node:L})=>L).filter(k);function Tn(){let L=w(!1,w(!1,p,-1),-1).node,W=w(!1,v,-1);return k(L)&&K(W)&&Ee.slice(0,-1).some(se=>se.arguments.some(It))}let xn;return N||Ee.length>2&&Ee.some(L=>!L.arguments.every(W=>xe(W)))||v.slice(0,-1).some(K)||Tn()?xn=D(Be):xn=[K(_)||$?Ae:"",qe([_,Be])],et({memberChain:!0},xn)}var Lu=Tp;function _r(e,t,r){var y;let{node:n,parent:s}=e,u=n.type==="NewExpression",i=n.type==="ImportExpression",a=X(e),o=he(n),p=o.length===1&&hr(o[0],t.originalText);if(p||o.length>0&&!u&&!i&&(xp(n,s)||Ct(n,s))){let c=[];if(br(e,()=>{c.push(r())}),!(p&&((y=c[0].label)!=null&&y.embed)))return[u?"new ":"",r("callee"),a,Ve(e,t,r),"(",B(", ",c),")"]}if(!i&&!u&&Dt(n.callee)&&!e.call(c=>we(c,t),"callee"))return Lu(e,t,r);let m=[u?"new ":"",i?"import":r("callee"),a,Ve(e,t,r),tr(e,t,r)];return i||k(n.callee)?D(m):m}function xp(e,t){if(e.callee.type!=="Identifier")return!1;if(e.callee.name==="require")return!0;if(e.callee.name==="define"){let r=he(e);return t.type==="ExpressionStatement"&&(r.length===1||r.length===2&&r[0].type==="ArrayExpression"||r.length===3&&ee(r[0])&&r[1].type==="ArrayExpression")}return!1}function gp(e,t,r){let n=t==='"'?"'":'"',u=H(!1,e,/\\(.)|(["'])/gs,(i,a,o)=>a===n?a:o===t?"\\"+o:o||(r&&/^[^\n\r"'0-7\\bfnrt-vx\u2028\u2029]$/.test(a)?a:"\\"+a));return t+u+t}var wu=gp;function hp(e,t){let r=e.slice(1,-1),n=t.parser==="json"||t.parser==="json5"&&t.quoteProps==="preserve"&&!t.singleQuote?'"':t.__isInHtmlAttribute?"'":kr(r,t.singleQuote);return wu(r,n,!(t.parser==="css"||t.parser==="less"||t.parser==="scss"||t.__embeddedInHtml))}var Tt=hp;function Sp(e){return e.toLowerCase().replace(/^([+-]?[\d.]+e)(?:\+|(-))?0*(?=\d)/,"$1$2").replace(/^([+-]?[\d.]+)e[+-]?0+$/,"$1").replace(/^([+-])?\./,"$10.").replace(/(\.\d+?)0+(?=e|$)/,"$1").replace(/\.(?=e|$)/,"")}var He=Sp;function _u(e,t){let{node:r}=e;switch(r.type){case"RegExpLiteral":return Ou(r);case"BigIntLiteral":return jr(r.extra.raw);case"NumericLiteral":return He(r.extra.raw);case"StringLiteral":return Te(Tt(r.extra.raw,t));case"NullLiteral":return"null";case"BooleanLiteral":return String(r.value);case"DecimalLiteral":return He(r.value)+"m";case"DirectiveLiteral":return vu(r.extra.raw,t);case"Literal":{if(r.regex)return Ou(r.regex);if(r.bigint)return jr(r.raw);if(r.decimal)return He(r.decimal)+"m";let{value:n}=r;return typeof n=="number"?He(r.raw):typeof n=="string"?Bp(e)?vu(r.raw,t):Te(Tt(r.raw,t)):String(n)}}}function Bp(e){if(e.key!=="expression")return;let{parent:t}=e;return t.type==="ExpressionStatement"&&t.directive}function jr(e){return e.toLowerCase()}function Ou({pattern:e,flags:t}){return t=[...t].sort().join(""),`/${e}/${t}`}function vu(e,t){let r=e.slice(1,-1);if(r.includes('"')||r.includes("'"))return e;let n=t.singleQuote?"'":'"';return n+r+n}var Mr=j(["Literal","BigIntLiteral","BooleanLiteral","DecimalLiteral","DirectiveLiteral","NullLiteral","NumericLiteral","RegExpLiteral","StringLiteral"]);function ft(e,t,r,n,s,u){let i=bp(e,t,r,n,u),a=u?r(u,{assignmentLayout:i}):"";switch(i){case"break-after-operator":return D([D(n),s,D(E([A,a]))]);case"never-break-after-operator":return D([D(n),s," ",a]);case"fluid":{let o=Symbol("assignment");return D([D(n),s,D(E(A),{id:o}),de,lt(a,{groupId:o})])}case"break-lhs":return D([n,s," ",D(a)]);case"chain":return[D(n),s,A,a];case"chain-tail":return[D(n),s,E([A,a])];case"chain-tail-arrow-chain":return[D(n),s,a];case"only-left":return n}}function Mu(e,t,r){let{node:n}=e;return ft(e,t,r,r("left"),[" ",n.operator],"right")}function Ru(e,t,r){return ft(e,t,r,r("id")," =","init")}function bp(e,t,r,n,s){let{node:u}=e,i=u[s];if(!i)return"only-left";let a=!Rr(i);if(e.match(Rr,Ju,y=>!a||y.type!=="ExpressionStatement"&&y.type!=="VariableDeclaration"))return a?i.type==="ArrowFunctionExpression"&&i.body.type==="ArrowFunctionExpression"?"chain-tail-arrow-chain":"chain-tail":"chain";if(!a&&Rr(i.right)||Ie(t.originalText,i))return"break-after-operator";if(i.type==="CallExpression"&&i.callee.name==="require"||t.parser==="json5"||t.parser==="json")return"never-break-after-operator";if(kp(u)||Ip(u)||Op(u)||ns(u)&&Js(n))return"break-lhs";let m=Mp(u,n,t);return e.call(()=>Pp(e,t,r,m),s)?"break-after-operator":m||i.type==="TemplateLiteral"||i.type==="TaggedTemplateExpression"||i.type==="BooleanLiteral"||ge(i)||i.type==="ClassExpression"?"never-break-after-operator":"fluid"}function Pp(e,t,r,n){let s=e.node;if(ce(s)&&!Ot(s))return!0;switch(s.type){case"StringLiteralTypeAnnotation":case"SequenceExpression":return!0;case"ConditionalExpression":{let{test:a}=s;return ce(a)&&!Ot(a)}case"ClassExpression":return P(s.decorators)}if(n)return!1;let u=s,i=[];for(;;)if(u.type==="UnaryExpression")u=u.argument,i.push("argument");else if(u.type==="TSNonNullExpression")u=u.expression,i.push("expression");else break;return!!(ee(u)||e.call(()=>Nu(e,t,r),...i))}function kp(e){if(Ju(e)){let t=e.left||e.id;return t.type==="ObjectPattern"&&t.properties.length>2&&t.properties.some(r=>{var n;return fe(r)&&(!r.shorthand||((n=r.value)==null?void 0:n.type)==="AssignmentPattern")})}return!1}function Rr(e){return e.type==="AssignmentExpression"}function Ju(e){return Rr(e)||e.type==="VariableDeclarator"}function Ip(e){let t=wp(e);if(P(t)){let r=e.type==="TSTypeAliasDeclaration"?"constraint":"bound";if(t.length>1&&t.some(n=>n[r]||n.default))return!0}return!1}var Lp=j(["TSTypeAliasDeclaration","TypeAlias"]);function wp(e){var t;if(Lp(e))return(t=e.typeParameters)==null?void 0:t.params}function Op(e){if(e.type!=="VariableDeclarator")return!1;let{typeAnnotation:t}=e.id;if(!t||!t.typeAnnotation)return!1;let r=ju(t.typeAnnotation);return P(r)&&r.length>1&&r.some(n=>P(ju(n))||n.type==="TSConditionalType")}function ns(e){var t;return e.type==="VariableDeclarator"&&((t=e.init)==null?void 0:t.type)==="ArrowFunctionExpression"}var vp=j(["TSTypeReference","GenericTypeAnnotation"]);function ju(e){var t;if(vp(e))return(t=e.typeParameters)==null?void 0:t.params}function Nu(e,t,r,n=!1){var i;let{node:s}=e,u=()=>Nu(e,t,r,!0);if(s.type==="ChainExpression"||s.type==="TSNonNullExpression")return e.call(u,"expression");if(k(s)){if((i=_r(e,t,r).label)!=null&&i.memberChain)return!1;let o=he(s);return!(o.length===0||o.length===1&&jp(o[0],t))||Rp(s,r)?!1:e.call(u,"callee")}return J(s)?e.call(u,"object"):n&&(s.type==="Identifier"||s.type==="ThisExpression")}var _p=.25;function jp(e,{printWidth:t}){if(d(e))return!1;let r=t*_p;if(e.type==="ThisExpression"||e.type==="Identifier"&&e.name.length<=r||xr(e)&&!d(e.argument))return!0;let n=e.type==="Literal"&&"regex"in e&&e.regex.pattern||e.type==="RegExpLiteral"&&e.pattern;return n?n.length<=r:ee(e)?oe(e).length<=r:e.type==="TemplateLiteral"?e.expressions.length===0&&e.quasis[0].value.raw.length<=r&&!e.quasis[0].value.raw.includes(` -`):Mr(e)}function Mp(e,t,r){if(!fe(e))return!1;t=Bt(t);let n=3;return typeof t=="string"&&tt(t)1)return!0;if(r.length===1){let s=r[0];if(s.type==="TSUnionType"||s.type==="UnionTypeAnnotation"||s.type==="TSIntersectionType"||s.type==="IntersectionTypeAnnotation"||s.type==="TSTypeLiteral"||s.type==="ObjectTypeAnnotation")return!0}let n=e.typeParameters?"typeParameters":"typeArguments";if(K(t(n)))return!0}return!1}function Jp(e){var t;return(t=e.typeParameters??e.typeArguments)==null?void 0:t.params}function at(e,t,r,n,s){let u=e.node,i=Y(u),a=s?Ve(e,r,t):"";if(i.length===0)return[a,"(",M(e,r,{filter:l=>$e(r.originalText,O(l))===")"}),")"];let{parent:o}=e,p=Ct(o),m=ss(u),y=[];if(iu(e,(l,h)=>{let g=h===i.length-1;g&&u.rest&&y.push("..."),y.push(t()),!g&&(y.push(","),p||m?y.push(" "):me(i[h],r)?y.push(C,C):y.push(A))}),n&&!Up(e)){if(K(a)||K(y))throw new it;return D([Ut(a),"(",Ut(y),")"])}let c=i.every(l=>!l.decorators);return m&&c?[a,"(",...y,")"]:p?[a,"(",...y,")"]:(gr(o)||eu(o)||o.type==="TypeAlias"||o.type==="UnionTypeAnnotation"||o.type==="TSUnionType"||o.type==="IntersectionTypeAnnotation"||o.type==="FunctionTypeAnnotation"&&o.returnType===u)&&i.length===1&&i[0].name===null&&u.this!==i[0]&&i[0].typeAnnotation&&u.typeParameters===null&&wt(i[0].typeAnnotation)&&!u.rest?r.arrowParens==="always"?["(",...y,")"]:y:[a,"(",E([F,...y]),b(!uu(u)&&le(r,"all")?",":""),F,")"]}function ss(e){if(!e)return!1;let t=Y(e);if(t.length!==1)return!1;let[r]=t;return!d(r)&&(r.type==="ObjectPattern"||r.type==="ArrayPattern"||r.type==="Identifier"&&r.typeAnnotation&&(r.typeAnnotation.type==="TypeAnnotation"||r.typeAnnotation.type==="TSTypeAnnotation")&&ke(r.typeAnnotation.typeAnnotation)||r.type==="FunctionTypeParam"&&ke(r.typeAnnotation)&&r!==e.rest||r.type==="AssignmentPattern"&&(r.left.type==="ObjectPattern"||r.left.type==="ArrayPattern")&&(r.right.type==="Identifier"||Z(r.right)&&r.right.properties.length===0||G(r.right)&&r.right.elements.length===0))}function Np(e){let t;return e.returnType?(t=e.returnType,t.typeAnnotation&&(t=t.typeAnnotation)):e.typeAnnotation&&(t=e.typeAnnotation),t}function xt(e,t){var s;let r=Np(e);if(!r)return!1;let n=(s=e.typeParameters)==null?void 0:s.params;if(n){if(n.length>1)return!1;if(n.length===1){let u=n[0];if(u.constraint||u.default)return!1}}return Y(e).length===1&&(ke(r)||K(t))}function Up(e){return e.match(t=>t.type==="ArrowFunctionExpression"&&t.body.type==="BlockStatement",(t,r)=>{if(t.type==="CallExpression"&&r==="arguments"&&t.arguments.length===1&&t.callee.type==="CallExpression"){let n=t.callee.callee;return n.type==="Identifier"||n.type==="MemberExpression"&&!n.computed&&n.object.type==="Identifier"&&n.property.type==="Identifier"}return!1},(t,r)=>t.type==="VariableDeclarator"&&r==="init"||t.type==="ExportDefaultDeclaration"&&r==="declaration"||t.type==="TSExportAssignment"&&r==="expression"||t.type==="AssignmentExpression"&&r==="right"&&t.left.type==="MemberExpression"&&t.left.object.type==="Identifier"&&t.left.object.name==="module"&&t.left.property.type==="Identifier"&&t.left.property.name==="exports",t=>t.type!=="VariableDeclaration"||t.kind==="const"&&t.declarations.length===1)}function Uu(e){let t=Y(e);return t.length>1&&t.some(r=>r.type==="TSParameterProperty")}function us(e){if(wt(e)||ke(e))return!0;if(e.type==="UnionTypeAnnotation"||e.type==="TSUnionType"){let t=e.types.filter(s=>s.type==="VoidTypeAnnotation"||s.type==="TSVoidKeyword"||s.type==="NullLiteralTypeAnnotation"||s.type==="TSNullKeyword").length,r=e.types.some(s=>s.type==="ObjectTypeAnnotation"||s.type==="TSTypeLiteral"||s.type==="GenericTypeAnnotation"||s.type==="TSTypeReference"),n=e.types.some(s=>d(s));if(e.types.length-1===t&&r&&!n)return!0}return!1}function Gu(e,t,r){let n=t.semi?";":"",{node:s}=e,u=[Q(e),"opaque type ",r("id"),r("typeParameters")];return s.supertype&&u.push(": ",r("supertype")),s.impltype&&u.push(" = ",r("impltype")),u.push(n),u}function Jr(e,t,r){let n=t.semi?";":"",{node:s}=e,u=[Q(e)];u.push("type ",r("id"),r("typeParameters"));let i=s.type==="TSTypeAliasDeclaration"?"typeAnnotation":"right";return[ft(e,t,r,u," =",i),n]}function Nr(e,t,r){let n=!1;return D(e.map(({isFirst:s,previous:u,node:i,index:a})=>{let o=r();if(s)return o;let p=ke(i),m=ke(u);return m&&p?[" & ",n?E(o):o]:!m&&!p?E([" &",A,o]):(a>1&&(n=!0),[" & ",a>1?E(o):o])},"types"))}function Ur(e,t,r){let{node:n}=e,{parent:s}=e,u=s.type!=="TypeParameterInstantiation"&&s.type!=="TSTypeParameterInstantiation"&&s.type!=="GenericTypeAnnotation"&&s.type!=="TSTypeReference"&&s.type!=="TSTypeAssertion"&&s.type!=="TupleTypeAnnotation"&&s.type!=="TSTupleType"&&!(s.type==="FunctionTypeParam"&&!s.name&&e.grandparent.this!==s)&&!((s.type==="TypeAlias"||s.type==="VariableDeclarator"||s.type==="TSTypeAliasDeclaration")&&Ie(t.originalText,n)),i=us(n),a=e.map(m=>{let y=r();return i||(y=ye(2,y)),pe(m,y,t)},"types");if(i)return B(" | ",a);let o=u&&!Ie(t.originalText,n),p=[b([o?A:"","| "]),B([A,"| "],a)];return we(e,t)?D([E(p),F]):(s.type==="TupleTypeAnnotation"||s.type==="TSTupleType")&&s[s.type==="TupleTypeAnnotation"&&s.types?"types":"elementTypes"].length>1?D([E([b(["(",F]),p]),F,b(")")]):D(u?E(p):p)}function Gp(e){var n;let{node:t,parent:r}=e;return t.type==="FunctionTypeAnnotation"&&(gr(r)||!((r.type==="ObjectTypeProperty"||r.type==="ObjectTypeInternalSlot")&&!r.variance&&!r.optional&&mt(r,t)||r.type==="ObjectTypeCallProperty"||((n=e.getParentNode(2))==null?void 0:n.type)==="DeclareFunction"))}function Gr(e,t,r){let{node:n}=e,s=[_t(e)];(n.type==="TSConstructorType"||n.type==="TSConstructSignatureDeclaration")&&s.push("new ");let u=at(e,r,t,!1,!0),i=[];return n.type==="FunctionTypeAnnotation"?i.push(Gp(e)?" => ":": ",r("returnType")):i.push(q(e,r,n.returnType?"returnType":"typeAnnotation")),xt(n,i)&&(u=D(u)),s.push(u,i),D(s)}function qr(e,t,r){return[r("objectType"),X(e),"[",r("indexType"),"]"]}function Wr(e,t,r){return["infer ",r("typeParameter")]}function is(e,t,r){let{node:n}=e;return[n.postfix?"":r,q(e,t),n.postfix?r:""]}function Yr(e,t,r){let{node:n}=e;return["...",...n.type==="TupleTypeSpreadElement"&&n.label?[r("label"),": "]:[],r("typeAnnotation")]}function Xr(e,t,r){let{node:n}=e;return[n.variance?r("variance"):"",r("label"),n.optional?"?":"",": ",r("elementType")]}var qp=new WeakSet;function q(e,t,r="typeAnnotation"){let{node:{[r]:n}}=e;if(!n)return"";let s=!1;if(n.type==="TSTypeAnnotation"||n.type==="TypeAnnotation"){let u=e.call(qu,r);(u==="=>"||u===":"&&d(n,x.Leading))&&(s=!0),qp.add(n)}return s?[" ",t(r)]:t(r)}var qu=e=>e.match(t=>t.type==="TSTypeAnnotation",(t,r)=>(r==="returnType"||r==="typeAnnotation")&&(t.type==="TSFunctionType"||t.type==="TSConstructorType"))?"=>":e.match(t=>t.type==="TSTypeAnnotation",(t,r)=>r==="typeAnnotation"&&(t.type==="TSJSDocNullableType"||t.type==="TSJSDocNonNullableType"||t.type==="TSTypePredicate"))||e.match(t=>t.type==="TypeAnnotation",(t,r)=>r==="typeAnnotation"&&t.type==="Identifier",(t,r)=>r==="id"&&t.type==="DeclareFunction")||e.match(t=>t.type==="TypeAnnotation",(t,r)=>r==="bound"&&t.type==="TypeParameter"&&t.usesExtendsBound)?"":":";function $r(e,t,r){let n=qu(e);return n?[n," ",r("typeAnnotation")]:r("typeAnnotation")}function Vr(e){return[e("elementType"),"[]"]}function Hr({node:e},t){return["typeof ",...e.type==="TSTypeQuery"?[t("exprName"),t("typeParameters")]:[t("argument")]]}function Kr(e,t){let{node:r}=e;return[r.asserts?"asserts ":"",t("parameterName"),r.typeAnnotation?[" is ",q(e,t)]:""]}function X(e){let{node:t}=e;return!t.optional||t.type==="Identifier"&&t===e.parent.key?"":k(t)||J(t)&&t.computed||t.type==="OptionalIndexedAccessType"?"?.":"?"}function zr(e){return e.node.definite||e.match(void 0,(t,r)=>r==="id"&&t.type==="VariableDeclarator"&&t.definite)?"!":""}var Wp=new Set(["DeclareClass","DeclareFunction","DeclareVariable","DeclareExportDeclaration","DeclareExportAllDeclaration","DeclareOpaqueType","DeclareTypeAlias","DeclareEnum","DeclareInterface"]);function Q(e){let{node:t}=e;return t.declare||Wp.has(t.type)&&e.parent.type!=="DeclareExportDeclaration"?"declare ":""}var Yp=new Set(["TSAbstractMethodDefinition","TSAbstractPropertyDefinition","TSAbstractAccessorProperty"]);function _t({node:e}){return e.abstract||Yp.has(e.type)?"abstract ":""}function Ve(e,t,r){let n=e.node;return n.typeArguments?r("typeArguments"):n.typeParameters?r("typeParameters"):""}function vr(e,t,r){return["::",r("callee")]}function ot(e,t,r){return e.type==="EmptyStatement"?";":e.type==="BlockStatement"||r?[" ",t]:E([A,t])}function Qr(e,t){return["...",t("argument"),q(e,t)]}function jt(e){return e.accessibility?e.accessibility+" ":""}function as(e,t,r){let{node:n}=e;return D([B(A,e.map(r,"decorators")),Xu(n,t)?C:A])}function Wu(e,t,r){return $u(e.node)?[B(C,e.map(r,"declaration","decorators")),C]:""}function Yu(e,t,r){let{node:n,parent:s}=e,{decorators:u}=n;if(!P(u)||$u(s)||wr(e))return"";let i=n.type==="ClassExpression"||n.type==="ClassDeclaration"||Xu(n,t);return[e.key==="declaration"&&Zs(s)?C:i?Ae:"",B(A,e.map(r,"decorators")),A]}function Xu(e,t){return e.decorators.some(r=>z(t.originalText,O(r)))}function $u(e){var r;if(e.type!=="ExportDefaultDeclaration"&&e.type!=="ExportNamedDeclaration"&&e.type!=="DeclareExportDeclaration")return!1;let t=(r=e.declaration)==null?void 0:r.decorators;return P(t)&&mt(e,t[0])}function Vu(e,t,r){let{node:n}=e;return["import",n.module?" module":"",ps(n),zu(e,t,r),Ku(e,t,r),Zu(e,t,r),t.semi?";":""]}var Hu=e=>e.type==="ExportDefaultDeclaration"||e.type==="DeclareExportDeclaration"&&e.default;function Zr(e,t,r){let{node:n}=e,s=[Wu(e,t,r),Q(e),"export",Hu(n)?" default":""],{declaration:u,exported:i}=n;return d(n,x.Dangling)&&(s.push(" ",M(e,t)),Sr(n)&&s.push(C)),u?s.push(" ",r("declaration")):(s.push(Vp(n)),n.type==="ExportAllDeclaration"||n.type==="DeclareExportAllDeclaration"?(s.push(" *"),i&&s.push(" as ",r("exported"))):s.push(zu(e,t,r)),s.push(Ku(e,t,r),Zu(e,t,r))),s.push($p(n,t)),s}var Xp=j(["ClassDeclaration","FunctionDeclaration","TSInterfaceDeclaration","DeclareClass","DeclareFunction","TSDeclareFunction","EnumDeclaration"]);function $p(e,t){return t.semi&&(!e.declaration||Hu(e)&&!Xp(e.declaration))?";":""}function os(e,t=!0){return e&&e!=="value"?`${t?" ":""}${e}${t?"":" "}`:""}function ps(e,t){return os(e.importKind,t)}function Vp(e){return os(e.exportKind)}function Ku(e,t,r){let{node:n}=e;if(!n.source)return"";let s=[];return Qu(n,t)||s.push(" from"),s.push(" ",r("source")),s}function zu(e,t,r){let{node:n}=e;if(Qu(n,t))return"";let s=[" "];if(P(n.specifiers)){let u=[],i=[];e.each(()=>{let a=e.node.type;if(a==="ExportNamespaceSpecifier"||a==="ExportDefaultSpecifier"||a==="ImportNamespaceSpecifier"||a==="ImportDefaultSpecifier")u.push(r());else if(a==="ExportSpecifier"||a==="ImportSpecifier")i.push(r());else throw new Oe(n,"specifier")},"specifiers"),s.push(B(", ",u)),i.length>0&&(u.length>0&&s.push(", "),i.length>1||u.length>0||n.specifiers.some(o=>d(o))?s.push(D(["{",E([t.bracketSpacing?A:F,B([",",A],i)]),b(le(t)?",":""),t.bracketSpacing?A:F,"}"])):s.push(["{",t.bracketSpacing?" ":"",...i,t.bracketSpacing?" ":"","}"]))}else s.push("{}");return s}function Qu(e,t){let{type:r,importKind:n,source:s,specifiers:u}=e;return r!=="ImportDeclaration"||P(u)||n==="type"?!1:!/{\s*}/.test(t.originalText.slice(U(e),U(s)))}function Zu(e,t,r){var i;let{node:n}=e,s=P(n.attributes)?"attributes":P(n.assertions)?"assertions":void 0;return s?[` ${s==="assertions"||(i=n.extra)!=null&&i.deprecatedAssertSyntax?"assert":"with"} {`,t.bracketSpacing?" ":"",B(", ",e.map(r,s)),t.bracketSpacing?" ":"","}"]:""}function ei(e,t,r){let{node:n}=e,{type:s}=n,u=s.startsWith("Import"),i=u?"imported":"local",a=u?"local":"exported",o=n[i],p=n[a],m="",y="";return s==="ExportNamespaceSpecifier"||s==="ImportNamespaceSpecifier"?m="*":o&&(m=r(i)),p&&!Hp(n)&&(y=r(a)),[os(s==="ImportSpecifier"?n.importKind:n.exportKind,!1),m,m&&y?" as ":"",y]}function Hp(e){if(e.type!=="ImportSpecifier"&&e.type!=="ExportSpecifier")return!1;let{local:t,[e.type==="ImportSpecifier"?"imported":"exported"]:r}=e;if(t.type!==r.type||!$s(t,r))return!1;if(ee(t))return t.value===r.value&&oe(t)===oe(r);switch(t.type){case"Identifier":return t.name===r.name;default:return!1}}function Kp(e){let t=[e];for(let r=0;rc[$]===n),l=c.type===n.type&&!f,h,g,S=0;do g=h||n,h=e.getParentNode(S),S++;while(h&&h.type===n.type&&a.every($=>h[$]!==g));let I=h||c,v=g;if(s&&(V(n[a[0]])||V(o)||V(p)||Kp(v))){y=!0,l=!0;let $=Ee=>[b("("),E([F,Ee]),F,b(")")],Be=Ee=>Ee.type==="NullLiteral"||Ee.type==="Literal"&&Ee.value===null||Ee.type==="Identifier"&&Ee.name==="undefined";m.push(" ? ",Be(o)?r(u):$(r(u))," : ",p.type===n.type||Be(p)?r(i):$(r(i)))}else{let $=[A,"? ",o.type===n.type?b("","("):"",ye(2,r(u)),o.type===n.type?b("",")"):"",A,": ",p.type===n.type?r(i):ye(2,r(i))];m.push(c.type!==n.type||c[i]===n||f?$:t.useTabs?vs(E($)):ye(Math.max(0,t.tabWidth-2),$))}let _=[u,i,...a].some($=>d(n[$],Be=>ae(Be)&&yt(t.originalText,U(Be),O(Be)))),R=$=>c===I?D($,{shouldBreak:_}):_?[$,Ae]:$,T=!y&&(J(c)||c.type==="NGPipeExpression"&&c.left===n)&&!c.computed,N=Zp(e),Se=R([zp(e,t,r),l?m:E(m),s&&T&&!N?F:""]);return f||N?D([E([F,Se]),F]):Se}function ec(e,t,r=0){let n=0;for(let s=r;s0}var w=so;var dr="'",Qs='"';function uo(e,t){let r=t===!0||t===dr?dr:Qs,n=r===dr?Qs:dr,s=0,u=0;for(let i of e)i===r?s++:i===n&&u++;return s>u?n:r}var xr=uo;function io(e,t,r){let n=t==='"'?"'":'"',u=N(!1,e,/\\(.)|(["'])/gsu,(i,a,o)=>a===n?a:o===t?"\\"+o:o||(r&&/^[^\n\r"'0-7\\bfnrt-vx\u2028\u2029]$/u.test(a)?a:"\\"+a));return t+u+t}var Zs=io;function ao(e,t){let r=e.slice(1,-1),n=t.parser==="json"||t.parser==="jsonc"||t.parser==="json5"&&t.quoteProps==="preserve"&&!t.singleQuote?'"':t.__isInHtmlAttribute?"'":xr(r,t.singleQuote);return Zs(r,n,!(t.parser==="css"||t.parser==="less"||t.parser==="scss"||t.__embeddedInHtml))}var tt=ao;function R(e){var n,s,u;let t=((n=e.range)==null?void 0:n[0])??e.start,r=(u=((s=e.declaration)==null?void 0:s.decorators)??e.decorators)==null?void 0:u[0];return r?Math.min(R(r),t):t}function k(e){var t;return((t=e.range)==null?void 0:t[1])??e.end}function ht(e,t){let r=R(e);return Number.isInteger(r)&&r===R(t)}function oo(e,t){let r=k(e);return Number.isInteger(r)&&r===k(t)}function eu(e,t){return ht(e,t)&&oo(e,t)}var Qt=null;function Zt(e){if(Qt!==null&&typeof Qt.property){let t=Qt;return Qt=Zt.prototype=null,t}return Qt=Zt.prototype=e??Object.create(null),new Zt}var po=10;for(let e=0;e<=po;e++)Zt();function Ln(e){return Zt(e)}function co(e,t="type"){Ln(e);function r(n){let s=n[t],u=e[s];if(!Array.isArray(u))throw Object.assign(new Error(`Missing visitor keys for '${s}'.`),{node:n});return u}return r}var hr=co;var tu={ArrayExpression:["elements"],AssignmentExpression:["left","right"],BinaryExpression:["left","right"],InterpreterDirective:[],Directive:["value"],DirectiveLiteral:[],BlockStatement:["directives","body"],BreakStatement:["label"],CallExpression:["callee","arguments","typeParameters","typeArguments"],CatchClause:["param","body"],ConditionalExpression:["test","consequent","alternate"],ContinueStatement:["label"],DebuggerStatement:[],DoWhileStatement:["test","body"],EmptyStatement:[],ExpressionStatement:["expression"],File:["program"],ForInStatement:["left","right","body"],ForStatement:["init","test","update","body"],FunctionDeclaration:["id","params","body","returnType","typeParameters","predicate"],FunctionExpression:["id","params","body","returnType","typeParameters"],Identifier:["typeAnnotation","decorators"],IfStatement:["test","consequent","alternate"],LabeledStatement:["label","body"],StringLiteral:[],NumericLiteral:[],NullLiteral:[],BooleanLiteral:[],RegExpLiteral:[],LogicalExpression:["left","right"],MemberExpression:["object","property"],NewExpression:["callee","arguments","typeParameters","typeArguments"],Program:["directives","body"],ObjectExpression:["properties"],ObjectMethod:["key","params","body","decorators","returnType","typeParameters"],ObjectProperty:["key","value","decorators"],RestElement:["argument","typeAnnotation","decorators"],ReturnStatement:["argument"],SequenceExpression:["expressions"],ParenthesizedExpression:["expression"],SwitchCase:["test","consequent"],SwitchStatement:["discriminant","cases"],ThisExpression:[],ThrowStatement:["argument"],TryStatement:["block","handler","finalizer"],UnaryExpression:["argument"],UpdateExpression:["argument"],VariableDeclaration:["declarations"],VariableDeclarator:["id","init"],WhileStatement:["test","body"],WithStatement:["object","body"],AssignmentPattern:["left","right","decorators","typeAnnotation"],ArrayPattern:["elements","typeAnnotation","decorators"],ArrowFunctionExpression:["params","body","returnType","typeParameters","predicate"],ClassBody:["body"],ClassExpression:["id","body","superClass","mixins","typeParameters","superTypeParameters","implements","decorators","superTypeArguments"],ClassDeclaration:["id","body","superClass","mixins","typeParameters","superTypeParameters","implements","decorators","superTypeArguments"],ExportAllDeclaration:["source","attributes","exported"],ExportDefaultDeclaration:["declaration"],ExportNamedDeclaration:["declaration","specifiers","source","attributes"],ExportSpecifier:["local","exported"],ForOfStatement:["left","right","body"],ImportDeclaration:["specifiers","source","attributes"],ImportDefaultSpecifier:["local"],ImportNamespaceSpecifier:["local"],ImportSpecifier:["local","imported"],ImportExpression:["source","options","attributes"],MetaProperty:["meta","property"],ClassMethod:["key","params","body","decorators","returnType","typeParameters"],ObjectPattern:["properties","typeAnnotation","decorators"],SpreadElement:["argument"],Super:[],TaggedTemplateExpression:["tag","quasi","typeParameters","typeArguments"],TemplateElement:[],TemplateLiteral:["quasis","expressions"],YieldExpression:["argument"],AwaitExpression:["argument"],Import:[],BigIntLiteral:[],ExportNamespaceSpecifier:["exported"],OptionalMemberExpression:["object","property"],OptionalCallExpression:["callee","arguments","typeParameters","typeArguments"],ClassProperty:["key","value","typeAnnotation","decorators","variance"],ClassAccessorProperty:["key","value","typeAnnotation","decorators"],ClassPrivateProperty:["key","value","decorators","typeAnnotation","variance"],ClassPrivateMethod:["key","params","body","decorators","returnType","typeParameters"],PrivateName:["id"],StaticBlock:["body"],AnyTypeAnnotation:[],ArrayTypeAnnotation:["elementType"],BooleanTypeAnnotation:[],BooleanLiteralTypeAnnotation:[],NullLiteralTypeAnnotation:[],ClassImplements:["id","typeParameters"],DeclareClass:["id","typeParameters","extends","mixins","implements","body"],DeclareFunction:["id","predicate"],DeclareInterface:["id","typeParameters","extends","body"],DeclareModule:["id","body"],DeclareModuleExports:["typeAnnotation"],DeclareTypeAlias:["id","typeParameters","right"],DeclareOpaqueType:["id","typeParameters","supertype"],DeclareVariable:["id"],DeclareExportDeclaration:["declaration","specifiers","source"],DeclareExportAllDeclaration:["source"],DeclaredPredicate:["value"],ExistsTypeAnnotation:[],FunctionTypeAnnotation:["typeParameters","params","rest","returnType","this"],FunctionTypeParam:["name","typeAnnotation"],GenericTypeAnnotation:["id","typeParameters"],InferredPredicate:[],InterfaceExtends:["id","typeParameters"],InterfaceDeclaration:["id","typeParameters","extends","body"],InterfaceTypeAnnotation:["extends","body"],IntersectionTypeAnnotation:["types"],MixedTypeAnnotation:[],EmptyTypeAnnotation:[],NullableTypeAnnotation:["typeAnnotation"],NumberLiteralTypeAnnotation:[],NumberTypeAnnotation:[],ObjectTypeAnnotation:["properties","indexers","callProperties","internalSlots"],ObjectTypeInternalSlot:["id","value"],ObjectTypeCallProperty:["value"],ObjectTypeIndexer:["id","key","value","variance"],ObjectTypeProperty:["key","value","variance"],ObjectTypeSpreadProperty:["argument"],OpaqueType:["id","typeParameters","supertype","impltype"],QualifiedTypeIdentifier:["id","qualification"],StringLiteralTypeAnnotation:[],StringTypeAnnotation:[],SymbolTypeAnnotation:[],ThisTypeAnnotation:[],TupleTypeAnnotation:["types","elementTypes"],TypeofTypeAnnotation:["argument","typeArguments"],TypeAlias:["id","typeParameters","right"],TypeAnnotation:["typeAnnotation"],TypeCastExpression:["expression","typeAnnotation"],TypeParameter:["bound","default","variance"],TypeParameterDeclaration:["params"],TypeParameterInstantiation:["params"],UnionTypeAnnotation:["types"],Variance:[],VoidTypeAnnotation:[],EnumDeclaration:["id","body"],EnumBooleanBody:["members"],EnumNumberBody:["members"],EnumStringBody:["members"],EnumSymbolBody:["members"],EnumBooleanMember:["id","init"],EnumNumberMember:["id","init"],EnumStringMember:["id","init"],EnumDefaultedMember:["id"],IndexedAccessType:["objectType","indexType"],OptionalIndexedAccessType:["objectType","indexType"],JSXAttribute:["name","value"],JSXClosingElement:["name"],JSXElement:["openingElement","children","closingElement"],JSXEmptyExpression:[],JSXExpressionContainer:["expression"],JSXSpreadChild:["expression"],JSXIdentifier:[],JSXMemberExpression:["object","property"],JSXNamespacedName:["namespace","name"],JSXOpeningElement:["name","attributes","typeArguments","typeParameters"],JSXSpreadAttribute:["argument"],JSXText:[],JSXFragment:["openingFragment","children","closingFragment"],JSXOpeningFragment:[],JSXClosingFragment:[],Noop:[],Placeholder:[],V8IntrinsicIdentifier:[],ArgumentPlaceholder:[],BindExpression:["object","callee"],ImportAttribute:["key","value"],Decorator:["expression"],DoExpression:["body"],ExportDefaultSpecifier:["exported"],RecordExpression:["properties"],TupleExpression:["elements"],DecimalLiteral:[],ModuleExpression:["body"],TopicReference:[],PipelineTopicExpression:["expression"],PipelineBareFunction:["callee"],PipelinePrimaryTopicReference:[],TSParameterProperty:["parameter","decorators"],TSDeclareFunction:["id","typeParameters","params","returnType","body"],TSDeclareMethod:["decorators","key","typeParameters","params","returnType"],TSQualifiedName:["left","right"],TSCallSignatureDeclaration:["typeParameters","parameters","typeAnnotation","params","returnType"],TSConstructSignatureDeclaration:["typeParameters","parameters","typeAnnotation","params","returnType"],TSPropertySignature:["key","typeAnnotation"],TSMethodSignature:["key","typeParameters","parameters","typeAnnotation","params","returnType"],TSIndexSignature:["parameters","typeAnnotation"],TSAnyKeyword:[],TSBooleanKeyword:[],TSBigIntKeyword:[],TSIntrinsicKeyword:[],TSNeverKeyword:[],TSNullKeyword:[],TSNumberKeyword:[],TSObjectKeyword:[],TSStringKeyword:[],TSSymbolKeyword:[],TSUndefinedKeyword:[],TSUnknownKeyword:[],TSVoidKeyword:[],TSThisType:[],TSFunctionType:["typeParameters","parameters","typeAnnotation","params","returnType"],TSConstructorType:["typeParameters","parameters","typeAnnotation","params","returnType"],TSTypeReference:["typeName","typeParameters","typeArguments"],TSTypePredicate:["parameterName","typeAnnotation"],TSTypeQuery:["exprName","typeParameters","typeArguments"],TSTypeLiteral:["members"],TSArrayType:["elementType"],TSTupleType:["elementTypes"],TSOptionalType:["typeAnnotation"],TSRestType:["typeAnnotation"],TSNamedTupleMember:["label","elementType"],TSUnionType:["types"],TSIntersectionType:["types"],TSConditionalType:["checkType","extendsType","trueType","falseType"],TSInferType:["typeParameter"],TSParenthesizedType:["typeAnnotation"],TSTypeOperator:["typeAnnotation"],TSIndexedAccessType:["objectType","indexType"],TSMappedType:["typeParameter","typeAnnotation","nameType"],TSLiteralType:["literal"],TSExpressionWithTypeArguments:["expression","typeParameters"],TSInterfaceDeclaration:["id","typeParameters","extends","body"],TSInterfaceBody:["body"],TSTypeAliasDeclaration:["id","typeParameters","typeAnnotation"],TSInstantiationExpression:["expression","typeParameters","typeArguments"],TSAsExpression:["expression","typeAnnotation"],TSSatisfiesExpression:["expression","typeAnnotation"],TSTypeAssertion:["typeAnnotation","expression"],TSEnumDeclaration:["id","members"],TSEnumMember:["id","initializer"],TSModuleDeclaration:["id","body"],TSModuleBlock:["body"],TSImportType:["argument","qualifier","typeParameters","typeArguments"],TSImportEqualsDeclaration:["id","moduleReference"],TSExternalModuleReference:["expression"],TSNonNullExpression:["expression"],TSExportAssignment:["expression"],TSNamespaceExportDeclaration:["id"],TSTypeAnnotation:["typeAnnotation"],TSTypeParameterInstantiation:["params"],TSTypeParameterDeclaration:["params"],TSTypeParameter:["constraint","default","name"],ChainExpression:["expression"],ExperimentalRestProperty:["argument"],ExperimentalSpreadProperty:["argument"],Literal:[],MethodDefinition:["decorators","key","value"],PrivateIdentifier:[],Property:["key","value"],PropertyDefinition:["decorators","key","typeAnnotation","value","variance"],AccessorProperty:["decorators","key","typeAnnotation","value"],TSAbstractAccessorProperty:["decorators","key","typeAnnotation"],TSAbstractKeyword:[],TSAbstractMethodDefinition:["key","value"],TSAbstractPropertyDefinition:["decorators","key","typeAnnotation"],TSAsyncKeyword:[],TSClassImplements:["expression","typeArguments","typeParameters"],TSDeclareKeyword:[],TSEmptyBodyFunctionExpression:["id","typeParameters","params","returnType"],TSEnumBody:["members"],TSExportKeyword:[],TSInterfaceHeritage:["expression","typeArguments","typeParameters"],TSPrivateKeyword:[],TSProtectedKeyword:[],TSPublicKeyword:[],TSReadonlyKeyword:[],TSStaticKeyword:[],TSTemplateLiteralType:["quasis","types"],AsConstExpression:["expression"],AsExpression:["expression","typeAnnotation"],BigIntLiteralTypeAnnotation:[],BigIntTypeAnnotation:[],ComponentDeclaration:["id","params","body","typeParameters","rendersType"],ComponentParameter:["name","local"],ComponentTypeAnnotation:["params","rest","typeParameters","rendersType"],ComponentTypeParameter:["name","typeAnnotation"],ConditionalTypeAnnotation:["checkType","extendsType","trueType","falseType"],DeclareComponent:["id","params","rest","typeParameters","rendersType"],DeclareEnum:["id","body"],DeclareHook:["id"],DeclareNamespace:["id","body"],EnumBigIntBody:["members"],EnumBigIntMember:["id","init"],HookDeclaration:["id","params","body","typeParameters","returnType"],HookTypeAnnotation:["params","returnType","rest","typeParameters"],InferTypeAnnotation:["typeParameter"],KeyofTypeAnnotation:["argument"],ObjectTypeMappedTypeProperty:["keyTparam","propType","sourceType","variance"],QualifiedTypeofIdentifier:["qualification","id"],TupleTypeLabeledElement:["label","elementType","variance"],TupleTypeSpreadElement:["label","typeAnnotation"],TypeOperator:["typeAnnotation"],TypePredicate:["parameterName","typeAnnotation","asserts"],NGRoot:["node"],NGPipeExpression:["left","right","arguments"],NGChainedExpression:["expressions"],NGEmptyExpression:[],NGMicrosyntax:["body"],NGMicrosyntaxKey:[],NGMicrosyntaxExpression:["expression","alias"],NGMicrosyntaxKeyedExpression:["key","expression"],NGMicrosyntaxLet:["key","value"],NGMicrosyntaxAs:["key","alias"],JsExpressionRoot:["node"],JsonRoot:["node"],TSJSDocAllType:[],TSJSDocUnknownType:[],TSJSDocNullableType:["typeAnnotation"],TSJSDocNonNullableType:["typeAnnotation"],NeverTypeAnnotation:[],UndefinedTypeAnnotation:[],UnknownTypeAnnotation:[],SatisfiesExpression:["expression","typeAnnotation"]};var lo=hr(tu),gr=lo;function mo(e){let t=new Set(e);return r=>t.has(r==null?void 0:r.type)}var v=mo;var yo=v(["Block","CommentBlock","MultiLine"]),re=yo;var Do=v(["AnyTypeAnnotation","ThisTypeAnnotation","NumberTypeAnnotation","VoidTypeAnnotation","BooleanTypeAnnotation","BigIntTypeAnnotation","SymbolTypeAnnotation","StringTypeAnnotation","NeverTypeAnnotation","UndefinedTypeAnnotation","UnknownTypeAnnotation","EmptyTypeAnnotation","MixedTypeAnnotation"]),Sr=Do;function fo(e,t){let r=t.split(".");for(let n=r.length-1;n>=0;n--){let s=r[n];if(n===0)return e.type==="Identifier"&&e.name===s;if(e.type!=="MemberExpression"||e.optional||e.computed||e.property.type!=="Identifier"||e.property.name!==s)return!1;e=e.object}}function Eo(e,t){return t.some(r=>fo(e,r))}var ru=Eo;function Fo({type:e}){return e.startsWith("TS")&&e.endsWith("Keyword")}var Br=Fo;function tr(e,t){return t(e)||Xs(e,{getVisitorKeys:gr,predicate:t})}function jt(e){return e.type==="AssignmentExpression"||e.type==="BinaryExpression"||e.type==="LogicalExpression"||e.type==="NGPipeExpression"||e.type==="ConditionalExpression"||L(e)||q(e)||e.type==="SequenceExpression"||e.type==="TaggedTemplateExpression"||e.type==="BindExpression"||e.type==="UpdateExpression"&&!e.prefix||Te(e)||e.type==="TSNonNullExpression"||e.type==="ChainExpression"}function uu(e){return e.expressions?e.expressions[0]:e.left??e.test??e.callee??e.object??e.tag??e.argument??e.expression}function Pr(e){if(e.expressions)return["expressions",0];if(e.left)return["left"];if(e.test)return["test"];if(e.object)return["object"];if(e.callee)return["callee"];if(e.tag)return["tag"];if(e.argument)return["argument"];if(e.expression)return["expression"];throw new Error("Unexpected node has no left side.")}var vt=v(["Line","CommentLine","SingleLine","HashbangComment","HTMLOpen","HTMLClose","Hashbang","InterpreterDirective"]),iu=v(["ExportDefaultDeclaration","DeclareExportDeclaration","ExportNamedDeclaration","ExportAllDeclaration","DeclareExportAllDeclaration"]),U=v(["ArrayExpression","TupleExpression"]),se=v(["ObjectExpression","RecordExpression"]);function au(e){return e.type==="LogicalExpression"&&e.operator==="??"}function Ce(e){return e.type==="NumericLiteral"||e.type==="Literal"&&typeof e.value=="number"}function vn(e){return e.type==="UnaryExpression"&&(e.operator==="+"||e.operator==="-")&&Ce(e.argument)}function Q(e){return!!(e&&(e.type==="StringLiteral"||e.type==="Literal"&&typeof e.value=="string"))}function Mn(e){return e.type==="RegExpLiteral"||e.type==="Literal"&&!!e.regex}var kr=v(["Literal","BooleanLiteral","BigIntLiteral","DecimalLiteral","DirectiveLiteral","NullLiteral","NumericLiteral","RegExpLiteral","StringLiteral"]),Co=v(["Identifier","ThisExpression","Super","PrivateName","PrivateIdentifier","Import"]),we=v(["ObjectTypeAnnotation","TSTypeLiteral","TSMappedType"]),_t=v(["FunctionExpression","ArrowFunctionExpression"]);function Ao(e){return e.type==="FunctionExpression"||e.type==="ArrowFunctionExpression"&&e.body.type==="BlockStatement"}function wn(e){return L(e)&&e.callee.type==="Identifier"&&["async","inject","fakeAsync","waitForAsync"].includes(e.callee.name)}var X=v(["JSXElement","JSXFragment"]);function gt(e){return e.method&&e.kind==="init"||e.kind==="get"||e.kind==="set"}function Ir(e){return(e.type==="ObjectTypeProperty"||e.type==="ObjectTypeInternalSlot")&&!e.static&&!e.method&&e.kind!=="get"&&e.kind!=="set"&&e.value.type==="FunctionTypeAnnotation"}function ou(e){return(e.type==="TypeAnnotation"||e.type==="TSTypeAnnotation")&&e.typeAnnotation.type==="FunctionTypeAnnotation"&&!e.static&&!ht(e,e.typeAnnotation)}var De=v(["BinaryExpression","LogicalExpression","NGPipeExpression"]);function Ft(e){return q(e)||e.type==="BindExpression"&&!!e.object}var To=v(["TSThisType","NullLiteralTypeAnnotation","BooleanLiteralTypeAnnotation","StringLiteralTypeAnnotation","BigIntLiteralTypeAnnotation","NumberLiteralTypeAnnotation","TSLiteralType","TSTemplateLiteralType"]);function Mt(e){return Br(e)||Sr(e)||To(e)||(e.type==="GenericTypeAnnotation"||e.type==="TSTypeReference")&&!e.typeParameters&&!e.typeArguments}function xo(e){return e.type==="Identifier"&&(e.name==="beforeEach"||e.name==="beforeAll"||e.name==="afterEach"||e.name==="afterAll")}var ho=["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 go(e){return ru(e,ho)}function St(e,t){if((e==null?void 0:e.type)!=="CallExpression"||e.optional)return!1;let r=oe(e);if(r.length===1){if(wn(e)&&St(t))return _t(r[0]);if(xo(e.callee))return wn(r[0])}else if((r.length===2||r.length===3)&&(r[0].type==="TemplateLiteral"||Q(r[0]))&&go(e.callee))return r[2]&&!Ce(r[2])?!1:(r.length===2?_t(r[1]):Ao(r[1])&&K(r[1]).length<=1)||wn(r[1]);return!1}var pu=e=>t=>((t==null?void 0:t.type)==="ChainExpression"&&(t=t.expression),e(t)),L=pu(v(["CallExpression","OptionalCallExpression"])),q=pu(v(["MemberExpression","OptionalMemberExpression"]));function Rn(e,t=5){return cu(e,t)<=t}function cu(e,t){let r=0;for(let n in e){let s=e[n];if(s&&typeof s=="object"&&typeof s.type=="string"&&(r++,r+=cu(s,t-r)),r>t)return r}return r}var So=.25;function rr(e,t){let{printWidth:r}=t;if(d(e))return!1;let n=r*So;if(e.type==="ThisExpression"||e.type==="Identifier"&&e.name.length<=n||vn(e)&&!d(e.argument))return!0;let s=e.type==="Literal"&&"regex"in e&&e.regex.pattern||e.type==="RegExpLiteral"&&e.pattern;return s?s.length<=n:Q(e)?tt(fe(e),t).length<=n:e.type==="TemplateLiteral"?e.expressions.length===0&&e.quasis[0].value.raw.length<=n&&!e.quasis[0].value.raw.includes(` +`):e.type==="UnaryExpression"?rr(e.argument,{printWidth:r}):e.type==="CallExpression"&&e.arguments.length===0&&e.callee.type==="Identifier"?e.callee.name.length<=n-2:kr(e)}function Oe(e,t){return X(t)?Bt(t):d(t,g.Leading,r=>te(e,k(r)))}function nu(e){return e.quasis.some(t=>t.value.raw.includes(` +`))}function Lr(e,t){return(e.type==="TemplateLiteral"&&nu(e)||e.type==="TaggedTemplateExpression"&&nu(e.quasi))&&!te(t,R(e),{backwards:!0})}function wr(e){if(!d(e))return!1;let t=O(!1,ct(e,g.Dangling),-1);return t&&!re(t)}function lu(e){if(e.length<=1)return!1;let t=0;for(let r of e)if(_t(r)){if(t+=1,t>1)return!0}else if(L(r)){for(let n of oe(r))if(_t(n))return!0}return!1}function Or(e){let{node:t,parent:r,key:n}=e;return n==="callee"&&L(t)&&L(r)&&r.arguments.length>0&&t.arguments.length>r.arguments.length}var Bo=new Set(["!","-","+","~"]);function be(e,t=2){if(t<=0)return!1;if(e.type==="ChainExpression"||e.type==="TSNonNullExpression")return be(e.expression,t);let r=n=>be(n,t-1);if(Mn(e))return et(e.pattern??e.regex.pattern)<=5;if(kr(e)||Co(e)||e.type==="ArgumentPlaceholder")return!0;if(e.type==="TemplateLiteral")return e.quasis.every(n=>!n.value.raw.includes(` +`))&&e.expressions.every(r);if(se(e))return e.properties.every(n=>!n.computed&&(n.shorthand||n.value&&r(n.value)));if(U(e))return e.elements.every(n=>n===null||r(n));if(lt(e)){if(e.type==="ImportExpression"||be(e.callee,t)){let n=oe(e);return n.length<=t&&n.every(r)}return!1}return q(e)?be(e.object,t)&&be(e.property,t):e.type==="UnaryExpression"&&Bo.has(e.operator)||e.type==="UpdateExpression"?be(e.argument,t):!1}function fe(e){var t;return((t=e.extra)==null?void 0:t.raw)??e.raw}function mu(e){return e}function ae(e,t="es5"){return e.trailingComma==="es5"&&t==="es5"||e.trailingComma==="all"&&(t==="all"||t==="es5")}function ie(e,t){switch(e.type){case"BinaryExpression":case"LogicalExpression":case"AssignmentExpression":case"NGPipeExpression":return ie(e.left,t);case"MemberExpression":case"OptionalMemberExpression":return ie(e.object,t);case"TaggedTemplateExpression":return e.tag.type==="FunctionExpression"?!1:ie(e.tag,t);case"CallExpression":case"OptionalCallExpression":return e.callee.type==="FunctionExpression"?!1:ie(e.callee,t);case"ConditionalExpression":return ie(e.test,t);case"UpdateExpression":return!e.prefix&&ie(e.argument,t);case"BindExpression":return e.object&&ie(e.object,t);case"SequenceExpression":return ie(e.expressions[0],t);case"ChainExpression":case"TSSatisfiesExpression":case"TSAsExpression":case"TSNonNullExpression":case"AsExpression":case"AsConstExpression":case"SatisfiesExpression":return ie(e.expression,t);default:return t(e)}}var su={"==":!0,"!=":!0,"===":!0,"!==":!0},br={"*":!0,"/":!0,"%":!0},jn={">>":!0,">>>":!0,"<<":!0};function nr(e,t){return!(er(t)!==er(e)||e==="**"||su[e]&&su[t]||t==="%"&&br[e]||e==="%"&&br[t]||t!==e&&br[t]&&br[e]||jn[e]&&jn[t])}var bo=new Map([["|>"],["??"],["||"],["&&"],["|"],["^"],["&"],["==","===","!=","!=="],["<",">","<=",">=","in","instanceof"],[">>","<<",">>>"],["+","-"],["*","/","%"],["**"]].flatMap((e,t)=>e.map(r=>[r,t])));function er(e){return bo.get(e)}function yu(e){return!!jn[e]||e==="|"||e==="^"||e==="&"}function Du(e){var r;if(e.rest)return!0;let t=K(e);return((r=O(!1,t,-1))==null?void 0:r.type)==="RestElement"}var On=new WeakMap;function K(e){if(On.has(e))return On.get(e);let t=[];return e.this&&t.push(e.this),Array.isArray(e.parameters)?t.push(...e.parameters):Array.isArray(e.params)&&t.push(...e.params),e.rest&&t.push(e.rest),On.set(e,t),t}function fu(e,t){let{node:r}=e,n=0,s=u=>t(u,n++);r.this&&e.call(s,"this"),Array.isArray(r.parameters)?e.each(s,"parameters"):Array.isArray(r.params)&&e.each(s,"params"),r.rest&&e.call(s,"rest")}var _n=new WeakMap;function oe(e){if(_n.has(e))return _n.get(e);if(e.type==="ChainExpression")return oe(e.expression);let t=e.arguments;return e.type==="ImportExpression"&&(t=[e.source],e.attributes&&t.push(e.attributes),e.options&&t.push(e.options)),_n.set(e,t),t}function Rt(e,t){let{node:r}=e;if(r.type==="ChainExpression")return e.call(()=>Rt(e,t),"expression");r.type==="ImportExpression"?(e.call(n=>t(n,0),"source"),r.attributes&&e.call(n=>t(n,1),"attributes"),r.options&&e.call(n=>t(n,1),"options")):e.each(t,"arguments")}function Jn(e,t){let r=[];if(e.type==="ChainExpression"&&(e=e.expression,r.push("expression")),e.type==="ImportExpression"){if(t===0||t===(e.attributes||e.options?-2:-1))return[...r,"source"];if(e.attributes&&(t===1||t===-1))return[...r,"attributes"];if(e.options&&(t===1||t===-1))return[...r,"options"];throw new RangeError("Invalid argument index")}if(t<0&&(t=e.arguments.length+t),t<0||t>=e.arguments.length)throw new RangeError("Invalid argument index");return[...r,"arguments",t]}function sr(e){return e.value.trim()==="prettier-ignore"&&!e.unignore}function Bt(e){return(e==null?void 0:e.prettierIgnore)||d(e,g.PrettierIgnore)}var g={Leading:2,Trailing:4,Dangling:8,Block:16,Line:32,PrettierIgnore:64,First:128,Last:256},Eu=(e,t)=>{if(typeof e=="function"&&(t=e,e=0),e||t)return(r,n,s)=>!(e&g.Leading&&!r.leading||e&g.Trailing&&!r.trailing||e&g.Dangling&&(r.leading||r.trailing)||e&g.Block&&!re(r)||e&g.Line&&!vt(r)||e&g.First&&n!==0||e&g.Last&&n!==s.length-1||e&g.PrettierIgnore&&!sr(r)||t&&!t(r))};function d(e,t,r){if(!w(e==null?void 0:e.comments))return!1;let n=Eu(t,r);return n?e.comments.some(n):!0}function ct(e,t,r){if(!Array.isArray(e==null?void 0:e.comments))return[];let n=Eu(t,r);return n?e.comments.filter(n):e.comments}var pe=(e,{originalText:t})=>Ot(t,k(e));function lt(e){return L(e)||e.type==="NewExpression"||e.type==="ImportExpression"}function Ae(e){return e&&(e.type==="ObjectProperty"||e.type==="Property"&&!gt(e))}var Te=v(["TSAsExpression","TSSatisfiesExpression","AsExpression","AsConstExpression","SatisfiesExpression"]),Ne=v(["UnionTypeAnnotation","TSUnionType"]),_r=v(["IntersectionTypeAnnotation","TSIntersectionType"]);var Po=new Set(["range","raw","comments","leadingComments","trailingComments","innerComments","extra","start","end","loc","flags","errors","tokens"]),Jt=e=>{for(let t of e.quasis)delete t.value};function Fu(e,t,r){var s,u;if(e.type==="Program"&&delete t.sourceType,(e.type==="BigIntLiteral"||e.type==="BigIntLiteralTypeAnnotation")&&e.value&&(t.value=e.value.toLowerCase()),(e.type==="BigIntLiteral"||e.type==="Literal")&&e.bigint&&(t.bigint=e.bigint.toLowerCase()),e.type==="DecimalLiteral"&&(t.value=Number(e.value)),e.type==="Literal"&&t.decimal&&(t.decimal=Number(e.decimal)),e.type==="EmptyStatement"||e.type==="JSXText"||e.type==="JSXExpressionContainer"&&(e.expression.type==="Literal"||e.expression.type==="StringLiteral")&&e.expression.value===" ")return null;if((e.type==="Property"||e.type==="ObjectProperty"||e.type==="MethodDefinition"||e.type==="ClassProperty"||e.type==="ClassMethod"||e.type==="PropertyDefinition"||e.type==="TSDeclareMethod"||e.type==="TSPropertySignature"||e.type==="ObjectTypeProperty"||e.type==="ImportAttribute")&&e.key&&!e.computed){let{key:i}=e;Q(i)||Ce(i)?t.key=String(i.value):i.type==="Identifier"&&(t.key=i.name)}if(e.type==="JSXElement"&&e.openingElement.name.name==="style"&&e.openingElement.attributes.some(i=>i.type==="JSXAttribute"&&i.name.name==="jsx"))for(let{type:i,expression:a}of t.children)i==="JSXExpressionContainer"&&a.type==="TemplateLiteral"&&Jt(a);e.type==="JSXAttribute"&&e.name.name==="css"&&e.value.type==="JSXExpressionContainer"&&e.value.expression.type==="TemplateLiteral"&&Jt(t.value.expression),e.type==="JSXAttribute"&&((s=e.value)==null?void 0:s.type)==="Literal"&&/["']|"|'/u.test(e.value.value)&&(t.value.value=N(!1,e.value.value,/["']|"|'/gu,'"'));let n=e.expression||e.callee;if(e.type==="Decorator"&&n.type==="CallExpression"&&n.callee.name==="Component"&&n.arguments.length===1){let i=e.expression.arguments[0].properties;for(let[a,o]of t.expression.arguments[0].properties.entries())switch(i[a].key.name){case"styles":U(o.value)&&Jt(o.value.elements[0]);break;case"template":o.value.type==="TemplateLiteral"&&Jt(o.value);break}}e.type==="TaggedTemplateExpression"&&(e.tag.type==="MemberExpression"||e.tag.type==="Identifier"&&(e.tag.name==="gql"||e.tag.name==="graphql"||e.tag.name==="css"||e.tag.name==="md"||e.tag.name==="markdown"||e.tag.name==="html")||e.tag.type==="CallExpression")&&Jt(t.quasi),e.type==="TemplateLiteral"&&((u=e.leadingComments)!=null&&u.some(a=>re(a)&&["GraphQL","HTML"].some(o=>a.value===` ${o} `))||r.type==="CallExpression"&&r.callee.name==="graphql"||!e.leadingComments)&&Jt(t),e.type==="ChainExpression"&&e.expression.type==="TSNonNullExpression"&&(t.type="TSNonNullExpression",t.expression.type="ChainExpression"),e.type==="TSMappedType"&&(delete t.key,delete t.constraint),e.type==="TSEnumDeclaration"&&delete t.body}Fu.ignoredProperties=Po;var Cu=Fu;var rt="string",_e="array",nt="cursor",Xe="indent",Ye="align",st="trim",le="group",Pe="fill",xe="if-break",He="indent-if-break",Ve="line-suffix",$e="line-suffix-boundary",me="line",je="label",ve="break-parent",jr=new Set([nt,Xe,Ye,st,le,Pe,xe,He,Ve,$e,me,je,ve]);function ko(e){if(typeof e=="string")return rt;if(Array.isArray(e))return _e;if(!e)return;let{type:t}=e;if(jr.has(t))return t}var ut=ko;var Io=e=>new Intl.ListFormat("en-US",{type:"disjunction"}).format(e);function Lo(e){let t=e===null?"null":typeof e;if(t!=="string"&&t!=="object")return`Unexpected doc '${t}', +Expected it to be 'string' or 'object'.`;if(ut(e))throw new Error("doc is valid.");let r=Object.prototype.toString.call(e);if(r!=="[object Object]")return`Unexpected doc '${r}'.`;let n=Io([...jr].map(s=>`'${s}'`));return`Unexpected doc.type '${e.type}'. +Expected it to be ${n}.`}var qn=class extends Error{name="InvalidDocError";constructor(t){super(Lo(t)),this.doc=t}},Ct=qn;var Au={};function wo(e,t,r,n){let s=[e];for(;s.length>0;){let u=s.pop();if(u===Au){r(s.pop());continue}r&&s.push(u,Au);let i=ut(u);if(!i)throw new Ct(u);if((t==null?void 0:t(u))!==!1)switch(i){case _e:case Pe:{let a=i===_e?u:u.parts;for(let o=a.length,c=o-1;c>=0;--c)s.push(a[c]);break}case xe:s.push(u.flatContents,u.breakContents);break;case le:if(n&&u.expandedStates)for(let a=u.expandedStates.length,o=a-1;o>=0;--o)s.push(u.expandedStates[o]);else s.push(u.contents);break;case Ye:case Xe:case He:case je:case Ve:s.push(u.contents);break;case rt:case nt:case st:case $e:case me:case ve:break;default:throw new Ct(u)}}}var Wn=wo;var Tu=()=>{},Ke=Tu,vr=Tu;function f(e){return Ke(e),{type:Xe,contents:e}}function he(e,t){return Ke(t),{type:Ye,contents:t,n:e}}function l(e,t={}){return Ke(e),vr(t.expandedStates,!0),{type:le,id:t.id,contents:e,break:!!t.shouldBreak,expandedStates:t.expandedStates}}function du(e){return he(Number.NEGATIVE_INFINITY,e)}function Mr(e){return he(-1,e)}function ze(e,t){return l(e[0],{...t,expandedStates:e})}function qt(e){return vr(e),{type:Pe,parts:e}}function b(e,t="",r={}){return Ke(e),t!==""&&Ke(t),{type:xe,breakContents:e,flatContents:t,groupId:r.groupId}}function At(e,t){return Ke(e),{type:He,contents:e,groupId:t.groupId,negate:t.negate}}function Gn(e){return Ke(e),{type:Ve,contents:e}}var ke={type:$e},Ee={type:ve};var Un={type:me,hard:!0},Oo={type:me,hard:!0,literal:!0},x={type:me},E={type:me,soft:!0},F=[Un,Ee],Rr=[Oo,Ee],Nn={type:nt};function P(e,t){Ke(e),vr(t);let r=[];for(let n=0;n0){for(let s=0;s0){let t=O(!1,e,-1);!t.expandedStates&&!t.break&&(t.break="propagated")}return null}function Su(e){let t=new Set,r=[];function n(u){if(u.type===ve&&hu(r),u.type===le){if(r.push(u),t.has(u))return!1;t.add(u)}}function s(u){u.type===le&&r.pop().break&&hu(r)}Wn(e,n,s,!0)}function jo(e){return e.type===me&&!e.hard?e.soft?"":" ":e.type===xe?e.flatContents:e}function ur(e){return mt(e,jo)}function vo(e){switch(ut(e)){case Pe:if(e.parts.every(t=>t===""))return"";break;case le:if(!e.contents&&!e.id&&!e.break&&!e.expandedStates)return"";if(e.contents.type===le&&e.contents.id===e.id&&e.contents.break===e.break&&e.contents.expandedStates===e.expandedStates)return e.contents;break;case Ye:case Xe:case He:case Ve:if(!e.contents)return"";break;case xe:if(!e.flatContents&&!e.breakContents)return"";break;case _e:{let t=[];for(let r of e){if(!r)continue;let[n,...s]=Array.isArray(r)?r:[r];typeof n=="string"&&typeof O(!1,t,-1)=="string"?t[t.length-1]+=n:t.push(n),t.push(...s)}return t.length===0?"":t.length===1?t[0]:t}case rt:case nt:case st:case $e:case me:case je:case ve:break;default:throw new Ct(e)}return e}function Wt(e){return mt(e,t=>vo(t))}function Ie(e,t=Rr){return mt(e,r=>typeof r=="string"?P(t,r.split(` +`)):r)}function Mo(e){if(e.type===me)return!0}function Bu(e){return gu(e,Mo,!1)}function ir(e,t){return e.type===je?{...e,contents:t(e.contents)}:t(e)}function Ro(e){let t=`*${e.value}*`.split(` +`);return t.length>1&&t.every(r=>r.trimStart()[0]==="*")}var bu=Ro;function Pu(e,t){let r=e.node;if(vt(r))return t.originalText.slice(R(r),k(r)).trimEnd();if(re(r))return bu(r)?Jo(r):["/*",Ie(r.value),"*/"];throw new Error("Not a comment: "+JSON.stringify(r))}function Jo(e){let t=e.value.split(` +`);return["/*",P(F,t.map((r,n)=>n===0?r.trimEnd():" "+(nYo,ownLine:()=>Xo,remaining:()=>Ho});function qo(e){let t=e.type||e.kind||"(unknown type)",r=String(e.name||e.id&&(typeof e.id=="object"?e.id.name:e.id)||e.key&&(typeof e.key=="object"?e.key.name:e.key)||e.value&&(typeof e.value=="object"?"":String(e.value))||e.operator||"");return r.length>20&&(r=r.slice(0,19)+"\u2026"),t+(r?" "+r:"")}function Xn(e,t){(e.comments??(e.comments=[])).push(t),t.printed=!1,t.nodeDescription=qo(e)}function ce(e,t){t.leading=!0,t.trailing=!1,Xn(e,t)}function Le(e,t,r){t.leading=!1,t.trailing=!1,r&&(t.marker=r),Xn(e,t)}function z(e,t){t.leading=!1,t.trailing=!0,Xn(e,t)}function Wo(e,t){let r=null,n=t;for(;n!==r;)r=n,n=Ge(e,n),n=Lt(e,n),n=wt(e,n),n=Ue(e,n);return n}var yt=Wo;function Go(e,t){let r=yt(e,t);return r===!1?"":e.charAt(r)}var ge=Go;function Uo(e,t,r){for(let n=t;nt(e))}function Yo(e){return[Vo,_u,Lu,vu,Hn,Vn,Iu,wu,ju,up,ap,Kn,mp,$n,fp,Ep].some(t=>t(e))}function Ho(e){return[Mu,Hn,Vn,zo,np,Ou,Kn,rp,tp,Dp,$n,yp].some(t=>t(e))}function bt(e,t){let r=(e.body||e.properties).find(({type:n})=>n!=="EmptyStatement");r?ce(r,t):Le(e,t)}function Yn(e,t){e.type==="BlockStatement"?bt(e,t):ce(e,t)}function Vo({comment:e,followingNode:t}){return t&&ku(e)?(ce(t,e),!0):!1}function Hn({comment:e,precedingNode:t,enclosingNode:r,followingNode:n,text:s}){if((r==null?void 0:r.type)!=="IfStatement"||!n)return!1;if(ge(s,k(e))===")")return z(t,e),!0;if(t===r.consequent&&n===r.alternate){if(t.type==="BlockStatement")z(t,e);else{let i=vt(e)||e.loc.start.line===e.loc.end.line,a=e.loc.start.line===t.loc.start.line;i&&a?z(t,e):Le(r,e)}return!0}return n.type==="BlockStatement"?(bt(n,e),!0):n.type==="IfStatement"?(Yn(n.consequent,e),!0):r.consequent===n?(ce(n,e),!0):!1}function Vn({comment:e,precedingNode:t,enclosingNode:r,followingNode:n,text:s}){return(r==null?void 0:r.type)!=="WhileStatement"||!n?!1:ge(s,k(e))===")"?(z(t,e),!0):n.type==="BlockStatement"?(bt(n,e),!0):r.body===n?(ce(n,e),!0):!1}function Iu({comment:e,precedingNode:t,enclosingNode:r,followingNode:n}){return(r==null?void 0:r.type)!=="TryStatement"&&(r==null?void 0:r.type)!=="CatchClause"||!n?!1:r.type==="CatchClause"&&t?(z(t,e),!0):n.type==="BlockStatement"?(bt(n,e),!0):n.type==="TryStatement"?(Yn(n.finalizer,e),!0):n.type==="CatchClause"?(Yn(n.body,e),!0):!1}function $o({comment:e,enclosingNode:t,followingNode:r}){return q(t)&&(r==null?void 0:r.type)==="Identifier"?(ce(t,e),!0):!1}function Ko({comment:e,enclosingNode:t,followingNode:r,options:n}){return!n.experimentalTernaries||!((t==null?void 0:t.type)==="ConditionalExpression"||(t==null?void 0:t.type)==="ConditionalTypeAnnotation"||(t==null?void 0:t.type)==="TSConditionalType")?!1:(r==null?void 0:r.type)==="ConditionalExpression"||(r==null?void 0:r.type)==="ConditionalTypeAnnotation"||(r==null?void 0:r.type)==="TSConditionalType"?(Le(t,e),!0):!1}function Lu({comment:e,precedingNode:t,enclosingNode:r,followingNode:n,text:s,options:u}){let i=t&&!de(s,k(t),R(e));return(!t||!i)&&((r==null?void 0:r.type)==="ConditionalExpression"||(r==null?void 0:r.type)==="ConditionalTypeAnnotation"||(r==null?void 0:r.type)==="TSConditionalType")&&n?u.experimentalTernaries&&r.alternate===n&&!(re(e)&&!de(u.originalText,R(e),k(e)))?(Le(r,e),!0):(ce(n,e),!0):!1}function zo({comment:e,precedingNode:t,enclosingNode:r}){return Ae(r)&&r.shorthand&&r.key===t&&r.value.type==="AssignmentPattern"?(z(r.value.left,e),!0):!1}var Qo=new Set(["ClassDeclaration","ClassExpression","DeclareClass","DeclareInterface","InterfaceDeclaration","TSInterfaceDeclaration"]);function wu({comment:e,precedingNode:t,enclosingNode:r,followingNode:n}){if(Qo.has(r==null?void 0:r.type)){if(w(r.decorators)&&(n==null?void 0:n.type)!=="Decorator")return z(O(!1,r.decorators,-1),e),!0;if(r.body&&n===r.body)return bt(r.body,e),!0;if(n){if(r.superClass&&n===r.superClass&&t&&(t===r.id||t===r.typeParameters))return z(t,e),!0;for(let s of["implements","extends","mixins"])if(r[s]&&n===r[s][0])return t&&(t===r.id||t===r.typeParameters||t===r.superClass)?z(t,e):Le(r,e,s),!0}}return!1}var Zo=new Set(["ClassMethod","ClassProperty","PropertyDefinition","TSAbstractPropertyDefinition","TSAbstractMethodDefinition","TSDeclareMethod","MethodDefinition","ClassAccessorProperty","AccessorProperty","TSAbstractAccessorProperty"]);function Ou({comment:e,precedingNode:t,enclosingNode:r,text:n}){return r&&t&&ge(n,k(e))==="("&&(r.type==="Property"||r.type==="TSDeclareMethod"||r.type==="TSAbstractMethodDefinition")&&t.type==="Identifier"&&r.key===t&&ge(n,k(t))!==":"?(z(t,e),!0):(t==null?void 0:t.type)==="Decorator"&&Zo.has(r==null?void 0:r.type)?(z(t,e),!0):!1}var ep=new Set(["FunctionDeclaration","FunctionExpression","ClassMethod","MethodDefinition","ObjectMethod"]);function tp({comment:e,precedingNode:t,enclosingNode:r,text:n}){return ge(n,k(e))!=="("?!1:t&&ep.has(r==null?void 0:r.type)?(z(t,e),!0):!1}function rp({comment:e,enclosingNode:t,text:r}){if((t==null?void 0:t.type)!=="ArrowFunctionExpression")return!1;let n=yt(r,k(e));return n!==!1&&r.slice(n,n+2)==="=>"?(Le(t,e),!0):!1}function np({comment:e,enclosingNode:t,text:r}){return ge(r,k(e))!==")"?!1:t&&(Ru(t)&&K(t).length===0||lt(t)&&oe(t).length===0)?(Le(t,e),!0):((t==null?void 0:t.type)==="MethodDefinition"||(t==null?void 0:t.type)==="TSAbstractMethodDefinition")&&K(t.value).length===0?(Le(t.value,e),!0):!1}function sp({comment:e,precedingNode:t,enclosingNode:r,followingNode:n,text:s}){return(t==null?void 0:t.type)==="ComponentTypeParameter"&&((r==null?void 0:r.type)==="DeclareComponent"||(r==null?void 0:r.type)==="ComponentTypeAnnotation")&&(n==null?void 0:n.type)!=="ComponentTypeParameter"?(z(t,e),!0):((t==null?void 0:t.type)==="ComponentParameter"||(t==null?void 0:t.type)==="RestElement")&&(r==null?void 0:r.type)==="ComponentDeclaration"&&ge(s,k(e))===")"?(z(t,e),!0):!1}function _u({comment:e,precedingNode:t,enclosingNode:r,followingNode:n,text:s}){return(t==null?void 0:t.type)==="FunctionTypeParam"&&(r==null?void 0:r.type)==="FunctionTypeAnnotation"&&(n==null?void 0:n.type)!=="FunctionTypeParam"?(z(t,e),!0):((t==null?void 0:t.type)==="Identifier"||(t==null?void 0:t.type)==="AssignmentPattern"||(t==null?void 0:t.type)==="ObjectPattern"||(t==null?void 0:t.type)==="ArrayPattern"||(t==null?void 0:t.type)==="RestElement"||(t==null?void 0:t.type)==="TSParameterProperty")&&Ru(r)&&ge(s,k(e))===")"?(z(t,e),!0):!re(e)&&((r==null?void 0:r.type)==="FunctionDeclaration"||(r==null?void 0:r.type)==="FunctionExpression"||(r==null?void 0:r.type)==="ObjectMethod")&&(n==null?void 0:n.type)==="BlockStatement"&&r.body===n&&yt(s,k(e))===R(n)?(bt(n,e),!0):!1}function ju({comment:e,enclosingNode:t}){return(t==null?void 0:t.type)==="LabeledStatement"?(ce(t,e),!0):!1}function $n({comment:e,enclosingNode:t}){return((t==null?void 0:t.type)==="ContinueStatement"||(t==null?void 0:t.type)==="BreakStatement")&&!t.label?(z(t,e),!0):!1}function up({comment:e,precedingNode:t,enclosingNode:r}){return L(r)&&t&&r.callee===t&&r.arguments.length>0?(ce(r.arguments[0],e),!0):!1}function ip({comment:e,precedingNode:t,enclosingNode:r,followingNode:n}){return Ne(r)?(sr(e)&&(n.prettierIgnore=!0,e.unignore=!0),t?(z(t,e),!0):!1):(Ne(n)&&sr(e)&&(n.types[0].prettierIgnore=!0,e.unignore=!0),!1)}function ap({comment:e,enclosingNode:t}){return Ae(t)?(ce(t,e),!0):!1}function Kn({comment:e,enclosingNode:t,ast:r,isLastComment:n}){var s;return((s=r==null?void 0:r.body)==null?void 0:s.length)===0?(n?Le(r,e):ce(r,e),!0):(t==null?void 0:t.type)==="Program"&&t.body.length===0&&!w(t.directives)?(n?Le(t,e):ce(t,e),!0):!1}function op({comment:e,enclosingNode:t}){return(t==null?void 0:t.type)==="ForInStatement"||(t==null?void 0:t.type)==="ForOfStatement"?(ce(t,e),!0):!1}function vu({comment:e,precedingNode:t,enclosingNode:r,text:n}){if((r==null?void 0:r.type)==="ImportSpecifier"||(r==null?void 0:r.type)==="ExportSpecifier")return ce(r,e),!0;let s=(t==null?void 0:t.type)==="ImportSpecifier"&&(r==null?void 0:r.type)==="ImportDeclaration",u=(t==null?void 0:t.type)==="ExportSpecifier"&&(r==null?void 0:r.type)==="ExportNamedDeclaration";return(s||u)&&te(n,k(e))?(z(t,e),!0):!1}function pp({comment:e,enclosingNode:t}){return(t==null?void 0:t.type)==="AssignmentPattern"?(ce(t,e),!0):!1}var cp=new Set(["VariableDeclarator","AssignmentExpression","TypeAlias","TSTypeAliasDeclaration"]),lp=new Set(["ObjectExpression","RecordExpression","ArrayExpression","TupleExpression","TemplateLiteral","TaggedTemplateExpression","ObjectTypeAnnotation","TSTypeLiteral"]);function mp({comment:e,enclosingNode:t,followingNode:r}){return cp.has(t==null?void 0:t.type)&&r&&(lp.has(r.type)||re(e))?(ce(r,e),!0):!1}function yp({comment:e,enclosingNode:t,followingNode:r,text:n}){return!r&&((t==null?void 0:t.type)==="TSMethodSignature"||(t==null?void 0:t.type)==="TSDeclareFunction"||(t==null?void 0:t.type)==="TSAbstractMethodDefinition")&&ge(n,k(e))===";"?(z(t,e),!0):!1}function Mu({comment:e,enclosingNode:t,followingNode:r}){if(sr(e)&&(t==null?void 0:t.type)==="TSMappedType"&&(r==null?void 0:r.type)==="TSTypeParameter"&&r.constraint)return t.prettierIgnore=!0,e.unignore=!0,!0}function Dp({comment:e,precedingNode:t,enclosingNode:r,followingNode:n}){return(r==null?void 0:r.type)!=="TSMappedType"?!1:(n==null?void 0:n.type)==="TSTypeParameter"&&n.name?(ce(n.name,e),!0):(t==null?void 0:t.type)==="TSTypeParameter"&&t.constraint?(z(t.constraint,e),!0):!1}function fp({comment:e,enclosingNode:t,followingNode:r}){return!t||t.type!=="SwitchCase"||t.test||!r||r!==t.consequent[0]?!1:(r.type==="BlockStatement"&&vt(e)?bt(r,e):Le(t,e),!0)}function Ep({comment:e,precedingNode:t,enclosingNode:r,followingNode:n}){return Ne(t)&&((r.type==="TSArrayType"||r.type==="ArrayTypeAnnotation")&&!n||_r(r))?(z(O(!1,t.types,-1),e),!0):!1}function Fp({comment:e,enclosingNode:t,precedingNode:r,followingNode:n}){if(((t==null?void 0:t.type)==="ObjectPattern"||(t==null?void 0:t.type)==="ArrayPattern")&&(n==null?void 0:n.type)==="TSTypeAnnotation")return r?z(r,e):Le(t,e),!0}var Ru=v(["ArrowFunctionExpression","FunctionExpression","FunctionDeclaration","ObjectMethod","ClassMethod","TSDeclareFunction","TSCallSignatureDeclaration","TSConstructSignatureDeclaration","TSMethodSignature","TSConstructorType","TSFunctionType","TSDeclareMethod"]);var Cp=new Set(["EmptyStatement","TemplateElement","Import","TSEmptyBodyFunctionExpression","ChainExpression"]);function Ap(e){return!Cp.has(e.type)}function Tp(e,t){var r;if((t.parser==="typescript"||t.parser==="flow"||t.parser==="acorn"||t.parser==="espree"||t.parser==="meriyah"||t.parser==="__babel_estree")&&e.type==="MethodDefinition"&&((r=e.value)==null?void 0:r.type)==="FunctionExpression"&&K(e.value).length===0&&!e.value.returnType&&!w(e.value.typeParameters)&&e.value.body)return[...e.decorators||[],e.key,e.value.body]}function Qn(e){let{node:t,parent:r}=e;return(X(t)||r&&(r.type==="JSXSpreadAttribute"||r.type==="JSXSpreadChild"||Ne(r)||(r.type==="ClassDeclaration"||r.type==="ClassExpression")&&r.superClass===t))&&(!Bt(t)||Ne(r))}function dp(e,{parser:t}){if(t==="flow"||t==="babel-flow")return e=N(!1,e,/[\s(]/gu,""),e===""||e==="/*"||e==="/*::"}function Ju(e){switch(e){case"cr":return"\r";case"crlf":return`\r `;default:return` -`}}var Ce=Symbol("MODE_BREAK"),rt=Symbol("MODE_FLAT"),rr=Symbol("cursor");function si(){return{value:"",length:0,queue:[]}}function rc(e,t){return cs(e,{type:"indent"},t)}function nc(e,t,r){return t===Number.NEGATIVE_INFINITY?e.root||si():t<0?cs(e,{type:"dedent"},r):t?t.type==="root"?{...e,root:e}:cs(e,{type:typeof t=="string"?"stringAlign":"numberAlign",n:t},r):e}function cs(e,t,r){let n=t.type==="dedent"?e.queue.slice(0,-1):[...e.queue,t],s="",u=0,i=0,a=0;for(let l of n)switch(l.type){case"indent":m(),r.useTabs?o(1):p(r.tabWidth);break;case"stringAlign":m(),s+=l.n,u+=l.n.length;break;case"numberAlign":i+=1,a+=l.n;break;default:throw new Error(`Unexpected type '${l.type}'`)}return c(),{...e,value:s,length:u,queue:n};function o(l){s+=" ".repeat(l),u+=r.tabWidth*l}function p(l){s+=" ".repeat(l),u+=l}function m(){r.useTabs?y():c()}function y(){i>0&&o(i),f()}function c(){a>0&&p(a),f()}function f(){i=0,a=0}}function ls(e){let t=0,r=0,n=e.length;e:for(;n--;){let s=e[n];if(s===rr){r++;continue}for(let u=s.length-1;u>=0;u--){let i=s[u];if(i===" "||i===" ")t++;else{e[n]=s.slice(0,u+1);break e}}}if(t>0||r>0)for(e.length=n+1;r-- >0;)e.push(rr);return t}function en(e,t,r,n,s,u){if(r===Number.POSITIVE_INFINITY)return!0;let i=t.length,a=[e],o=[];for(;r>=0;){if(a.length===0){if(i===0)return!0;a.push(t[--i]);continue}let{mode:p,doc:m}=a.pop();switch(Ze(m)){case Ke:o.push(m),r-=tt(m);break;case je:case De:{let y=yr(m);for(let c=y.length-1;c>=0;c--)a.push({mode:p,doc:y[c]});break}case Me:case Re:case Je:case be:a.push({mode:p,doc:m.contents});break;case Qe:r+=ls(o);break;case ue:{if(u&&m.break)return!1;let y=m.break?Ce:p,c=m.expandedStates&&y===Ce?w(!1,m.expandedStates,-1):m.contents;a.push({mode:y,doc:c});break}case Fe:{let c=(m.groupId?s[m.groupId]||rt:p)===Ce?m.breakContents:m.flatContents;c&&a.push({mode:p,doc:c});break}case ie:if(p===Ce||m.hard)return!0;m.soft||(o.push(" "),r--);break;case Ne:n=!0;break;case Ue:if(n)return!1;break}}return!1}function ms(e,t){let r={},n=t.printWidth,s=ni(t.endOfLine),u=0,i=[{ind:si(),mode:Ce,doc:e}],a=[],o=!1,p=[],m=0;for(Rs(e);i.length>0;){let{ind:c,mode:f,doc:l}=i.pop();switch(Ze(l)){case Ke:{let h=s!==` -`?H(!1,l,` -`,s):l;a.push(h),i.length>0&&(u+=tt(h));break}case je:for(let h=l.length-1;h>=0;h--)i.push({ind:c,mode:f,doc:l[h]});break;case ze:if(m>=2)throw new Error("There are too many 'cursor' in doc.");a.push(rr),m++;break;case Me:i.push({ind:rc(c,t),mode:f,doc:l.contents});break;case Re:i.push({ind:nc(c,l.n,t),mode:f,doc:l.contents});break;case Qe:u-=ls(a);break;case ue:switch(f){case rt:if(!o){i.push({ind:c,mode:l.break?Ce:rt,doc:l.contents});break}case Ce:{o=!1;let h={ind:c,mode:rt,doc:l.contents},g=n-u,S=p.length>0;if(!l.break&&en(h,i,g,S,r))i.push(h);else if(l.expandedStates){let I=w(!1,l.expandedStates,-1);if(l.break){i.push({ind:c,mode:Ce,doc:I});break}else for(let v=1;v=l.expandedStates.length){i.push({ind:c,mode:Ce,doc:I});break}else{let _=l.expandedStates[v],R={ind:c,mode:rt,doc:_};if(en(R,i,g,S,r)){i.push(R);break}}}else i.push({ind:c,mode:Ce,doc:l.contents});break}}l.id&&(r[l.id]=w(!1,i,-1).mode);break;case De:{let h=n-u,{parts:g}=l;if(g.length===0)break;let[S,I]=g,v={ind:c,mode:rt,doc:S},_={ind:c,mode:Ce,doc:S},R=en(v,[],h,p.length>0,r,!0);if(g.length===1){R?i.push(v):i.push(_);break}let T={ind:c,mode:rt,doc:I},N={ind:c,mode:Ce,doc:I};if(g.length===2){R?i.push(T,v):i.push(N,_);break}g.splice(0,2);let Se={ind:c,mode:f,doc:St(g)},$=g[0];en({ind:c,mode:rt,doc:[S,I,$]},[],h,p.length>0,r,!0)?i.push(Se,T,v):R?i.push(Se,N,v):i.push(Se,N,_);break}case Fe:case Je:{let h=l.groupId?r[l.groupId]:f;if(h===Ce){let g=l.type===Fe?l.breakContents:l.negate?l.contents:E(l.contents);g&&i.push({ind:c,mode:f,doc:g})}if(h===rt){let g=l.type===Fe?l.flatContents:l.negate?E(l.contents):l.contents;g&&i.push({ind:c,mode:f,doc:g})}break}case Ne:p.push({ind:c,mode:f,doc:l.contents});break;case Ue:p.length>0&&i.push({ind:c,mode:f,doc:bn});break;case ie:switch(f){case rt:if(l.hard)o=!0;else{l.soft||(a.push(" "),u+=1);break}case Ce:if(p.length>0){i.push({ind:c,mode:f,doc:l},...p.reverse()),p.length=0;break}l.literal?c.root?(a.push(s,c.root.value),u=c.root.length):(a.push(s),u=0):(u-=ls(a),a.push(s+c.value),u=c.length);break}break;case be:i.push({ind:c,mode:f,doc:l.contents});break;case Pe:break;default:throw new ct(l)}i.length===0&&p.length>0&&(i.push(...p.reverse()),p.length=0)}let y=a.indexOf(rr);if(y!==-1){let c=a.indexOf(rr,y+1),f=a.slice(0,y).join(""),l=a.slice(y+1,c).join(""),h=a.slice(c+1).join("");return{formatted:f+l+h,cursorNodeStart:f.length,cursorNodeText:l}}return{formatted:a.join("")}}function tn(e,t,r){let{node:n}=e;if(n.type==="TemplateLiteral"&&ic(e)){let m=sc(e,r,t);if(m)return m}let u="expressions";n.type==="TSTemplateLiteralType"&&(u="types");let i=[],a=e.map(t,u),o=tu(n);o&&(a=a.map(m=>ms(m,{...r,printWidth:Number.POSITIVE_INFINITY}).formatted)),i.push(de,"`");let p=0;return e.each(({index:m,node:y})=>{if(i.push(t()),y.tail)return;let{tabWidth:c}=r,f=y.value.raw,l=f.includes(` -`)?ri(f,c):p;p=l;let h=a[m];if(!o){let S=n[u][m];(d(S)||J(S)||S.type==="ConditionalExpression"||S.type==="SequenceExpression"||Le(S)||ce(S))&&(h=[E([F,h]),F])}let g=l===0&&f.endsWith(` -`)?ye(Number.NEGATIVE_INFINITY,h):_s(h,l,c);i.push(D(["${",g,de,"}"]))},"quasis"),i.push("`"),i}function ui(e){let t=e("quasi");return et(t.label&&{tagged:!0,...t.label},[e("tag"),e("typeParameters"),de,t])}function sc(e,t,r){let{node:n}=e,s=n.quasis[0].value.raw.trim().split(/\s*\|\s*/);if(s.length>1||s.some(u=>u.length>0)){t.__inJestEach=!0;let u=e.map(r,"expressions");t.__inJestEach=!1;let i=[],a=u.map(c=>"${"+ms(c,{...t,printWidth:Number.POSITIVE_INFINITY,endOfLine:"lf"}).formatted+"}"),o=[{hasLineBreak:!1,cells:[]}];for(let c=1;cc.cells.length)),m=Array.from({length:p}).fill(0),y=[{cells:s},...o.filter(c=>c.cells.length>0)];for(let{cells:c}of y.filter(f=>!f.hasLineBreak))for(let[f,l]of c.entries())m[f]=Math.max(m[f],tt(l));return i.push(de,"`",E([C,B(C,y.map(c=>B(" | ",c.cells.map((f,l)=>c.hasLineBreak?f:f+" ".repeat(m[l]-tt(f))))))]),C,"`"),i}}function uc(e,t){let{node:r}=e,n=t();return d(r)&&(n=D([E([F,n]),F])),["${",n,de,"}"]}function Rt(e,t){return e.map(r=>uc(r,t),"expressions")}function rn(e,t){return st(e,r=>typeof r=="string"?t?H(!1,r,/(\\*)`/g,"$1$1\\`"):Ds(r):r)}function Ds(e){return H(!1,e,/([\\`]|\${)/g,"\\$1")}function ic({node:e,parent:t}){let r=/^[fx]?(?:describe|it|test)$/;return t.type==="TaggedTemplateExpression"&&t.quasi===e&&t.tag.type==="MemberExpression"&&t.tag.property.type==="Identifier"&&t.tag.property.name==="each"&&(t.tag.object.type==="Identifier"&&r.test(t.tag.object.name)||t.tag.object.type==="MemberExpression"&&t.tag.object.property.type==="Identifier"&&(t.tag.object.property.name==="only"||t.tag.object.property.name==="skip")&&t.tag.object.object.type==="Identifier"&&r.test(t.tag.object.object.name))}function ac(e){let t=new WeakMap;return function(r){return t.has(r)||t.set(r,Symbol(e)),t.get(r)}}var nn=ac;function oc(e){switch(e){case null:return"";case"PlusOptional":return"+?";case"MinusOptional":return"-?";case"Optional":return"?"}}function ii(e,t,r){let{node:n}=e;return D([n.variance?r("variance"):"","[",E([r("keyTparam")," in ",r("sourceType")]),"]",oc(n.optional),": ",r("propType")])}function ys(e,t){return e==="+"||e==="-"?e+t:t}function ai(e,t,r){let{node:n}=e,s=yt(t.originalText,U(n),U(n.typeParameter));return D(["{",E([t.bracketSpacing?A:F,D([r("typeParameter"),n.optional?ys(n.optional,"?"):"",n.typeAnnotation?": ":"",r("typeAnnotation")]),t.semi?b(";"):""]),M(e,t),t.bracketSpacing?A:F,"}"],{shouldBreak:s})}var nr=nn("typeParameters");function pc(e,t,r){let{node:n}=e;return Y(n).length===1&&n.type.startsWith("TS")&&!n[r][0].constraint&&e.parent.type==="ArrowFunctionExpression"&&!(t.filepath&&/\.ts$/.test(t.filepath))}function gt(e,t,r,n){let{node:s}=e;if(!s[n])return"";if(!Array.isArray(s[n]))return r(n);let u=e.getNode(2),i=u&&Ct(u),a=e.match(m=>!(m[n].length===1&&ke(m[n][0])),void 0,(m,y)=>y==="typeAnnotation",m=>m.type==="Identifier",ns);if(s[n].length===0||!a&&(i||s[n].length===1&&(s[n][0].type==="NullableTypeAnnotation"||us(s[n][0]))))return["<",B(", ",e.map(r,n)),cc(e,t),">"];let p=s.type==="TSTypeParameterInstantiation"?"":pc(e,t,n)?",":le(t)?b(","):"";return D(["<",E([F,B([",",A],e.map(r,n))]),p,F,">"],{id:nr(s)})}function cc(e,t){let{node:r}=e;if(!d(r,x.Dangling))return"";let n=!d(r,x.Line),s=M(e,t,{indent:!n});return n?s:[s,C]}function sn(e,t,r){let{node:n,parent:s}=e,u=[n.type==="TSTypeParameter"&&n.const?"const ":""],i=n.type==="TSTypeParameter"?r("name"):n.name;if(s.type==="TSMappedType")return s.readonly&&u.push(ys(s.readonly,"readonly")," "),u.push("[",i),n.constraint&&u.push(" in ",r("constraint")),s.nameType&&u.push(" as ",e.callParent(()=>r("nameType"))),u.push("]"),u;if(n.variance&&u.push(r("variance")),n.in&&u.push("in "),n.out&&u.push("out "),u.push(i),n.bound&&(n.usesExtendsBound&&u.push(" extends "),u.push(q(e,r,"bound"))),n.constraint){let a=Symbol("constraint");u.push(" extends",D(E(A),{id:a}),de,lt(r("constraint"),{groupId:a}))}return n.default&&u.push(" = ",r("default")),D(u)}var sr=()=>{};sr.ok=sr;sr.strictEqual=sr;var un=sr;var an=new WeakMap;function pt(e,t,r){let{node:n}=e;if(n.computed)return["[",r("key"),"]"];let{parent:s}=e,{key:u}=n;if(t.quoteProps==="consistent"&&!an.has(s)){let i=(s.properties||s.body||s.members).some(a=>!a.computed&&a.key&&ee(a.key)&&!Mn(a,t));an.set(s,i)}if((u.type==="Identifier"||ge(u)&&Rn(He(oe(u)))&&String(u.value)===He(oe(u))&&!(t.parser==="typescript"||t.parser==="babel-ts"))&&(t.parser==="json"||t.quoteProps==="consistent"&&an.get(s))){let i=Tt(JSON.stringify(u.type==="Identifier"?u.name:u.value.toString()),t);return e.call(a=>pe(a,i,t),"key")}return Mn(n,t)&&(t.quoteProps==="as-needed"||t.quoteProps==="consistent"&&!an.get(s))?e.call(i=>pe(i,/^\d/.test(u.value)?He(u.value):u.value,t),"key"):r("key")}function oi(e,t,r){let{node:n}=e;return n.shorthand?r("value"):ft(e,t,r,pt(e,t,r),":","value")}var lc=e=>e.type==="ObjectMethod"||e.type==="ClassMethod"||e.type==="ClassPrivateMethod"||e.type==="MethodDefinition"||e.type==="TSAbstractMethodDefinition"||e.type==="TSDeclareMethod"||(e.type==="Property"||e.type==="ObjectProperty")&&(e.method||e.kind==="get"||e.kind==="set"),mc=e=>e.node.type==="FunctionExpression"&&e.key==="value"&&lc(e.parent);function on(e,t,r,n){if(mc(e))return pn(e,r,t);let{node:s}=e,u=!1;if((s.type==="FunctionDeclaration"||s.type==="FunctionExpression")&&(n!=null&&n.expandLastArg)){let{parent:m}=e;k(m)&&(he(m).length>1||Y(s).every(y=>y.type==="Identifier"&&!y.typeAnnotation))&&(u=!0)}let i=[Q(e),s.async?"async ":"",`function${s.generator?"*":""} `,s.id?t("id"):""],a=at(e,t,r,u),o=ln(e,t),p=xt(s,o);return i.push(Ve(e,r,t),D([p?D(a):a,o]),s.body?" ":"",t("body")),r.semi&&(s.declare||!s.body)&&i.push(";"),i}function ur(e,t,r){let{node:n}=e,{kind:s}=n,u=n.value||n,i=[];return!s||s==="init"||s==="method"||s==="constructor"?u.async&&i.push("async "):(un.ok(s==="get"||s==="set"),i.push(s," ")),u.generator&&i.push("*"),i.push(pt(e,t,r),n.optional||n.key.optional?"?":"",n===u?pn(e,t,r):r("value")),i}function pn(e,t,r){let{node:n}=e,s=at(e,r,t),u=ln(e,r),i=Uu(n),a=xt(n,u),o=[Ve(e,t,r),D([i?D(s,{shouldBreak:!0}):a?D(s):s,u])];return n.body?o.push(" ",r("body")):o.push(t.semi?";":""),o}function Dc(e){let t=Y(e);return t.length===1&&!e.typeParameters&&!d(e,x.Dangling)&&t[0].type==="Identifier"&&!t[0].typeAnnotation&&!d(t[0])&&!t[0].optional&&!e.predicate&&!e.returnType}function cn(e,t){if(t.arrowParens==="always")return!1;if(t.arrowParens==="avoid"){let{node:r}=e;return Dc(r)}return!1}function ln(e,t){let{node:r}=e,s=[q(e,t,"returnType")];return r.predicate&&s.push(t("predicate")),s}function pi(e,t,r){let{node:n}=e,s=t.semi?";":"",u=[];if(n.argument){let o=r("argument");yc(t,n.argument)?o=["(",E([C,o]),C,")"]:(ce(n.argument)||n.argument.type==="SequenceExpression")&&(o=D([b("("),E([F,o]),F,b(")")])),u.push(" ",o)}let i=d(n,x.Dangling),a=s&&i&&d(n,x.Last|x.Line);return a&&u.push(s),i&&u.push(" ",M(e,t)),a||u.push(s),u}function ci(e,t,r){return["return",pi(e,t,r)]}function li(e,t,r){return["throw",pi(e,t,r)]}function yc(e,t){if(Ie(e.originalText,t))return!0;if(Lt(t)){let r=t,n;for(;n=Qs(r);)if(r=n,Ie(e.originalText,r))return!0}return!1}var mi=j(["ClassProperty","PropertyDefinition","ClassPrivateProperty","ClassAccessorProperty","AccessorProperty","TSAbstractPropertyDefinition","TSAbstractAccessorProperty"]);function mn(e,t,r){let{node:n}=e,s=[Q(e),_t(e),"class"],u=d(n.id,x.Trailing)||d(n.typeParameters,x.Trailing)||d(n.superClass)||P(n.extends)||P(n.mixins)||P(n.implements),i=[],a=[];if(n.id&&i.push(" ",r("id")),i.push(r("typeParameters")),n.superClass){let o=[Ec(e,t,r),r("superTypeParameters")],p=e.call(m=>["extends ",pe(m,o,t)],"superClass");u?a.push(A,D(p)):a.push(" ",p)}else a.push(fs(e,t,r,"extends"));if(a.push(fs(e,t,r,"mixins"),fs(e,t,r,"implements")),u){let o;yi(n)?o=[...i,E(a)]:o=E([...i,a]),s.push(D(o,{id:Di(n)}))}else s.push(...i,...a);return s.push(" ",r("body")),s}var Di=nn("heritageGroup");function Es(e){return b(C,"",{groupId:Di(e)})}function fc(e){return["extends","mixins","implements"].reduce((t,r)=>t+(Array.isArray(e[r])?e[r].length:0),e.superClass?1:0)>1}function yi(e){return e.typeParameters&&!d(e.typeParameters,x.Trailing|x.Line)&&!fc(e)}function fs(e,t,r,n){let{node:s}=e;if(!P(s[n]))return"";let u=M(e,t,{marker:n});return[yi(s)?b(" ",A,{groupId:nr(s.typeParameters)}):A,u,u&&C,n,D(E([A,B([",",A],e.map(r,n))]))]}function Ec(e,t,r){let n=r("superClass"),{parent:s}=e;return s.type==="AssignmentExpression"?D(b(["(",E([F,n]),F,")"],n)):n}function Dn(e,t,r){let{node:n}=e,s=[];return P(n.decorators)&&s.push(as(e,t,r)),s.push(jt(n)),n.static&&s.push("static "),s.push(_t(e)),n.override&&s.push("override "),s.push(ur(e,t,r)),s}function yn(e,t,r){let{node:n}=e,s=[],u=t.semi?";":"";P(n.decorators)&&s.push(as(e,t,r)),s.push(jt(n),Q(e)),n.static&&s.push("static "),s.push(_t(e)),n.override&&s.push("override "),n.readonly&&s.push("readonly "),n.variance&&s.push(r("variance")),(n.type==="ClassAccessorProperty"||n.type==="AccessorProperty"||n.type==="TSAbstractAccessorProperty")&&s.push("accessor "),s.push(pt(e,t,r),X(e),zr(e),q(e,r));let i=n.type==="TSAbstractPropertyDefinition"||n.type==="TSAbstractAccessorProperty";return[ft(e,t,r,s," =",i?void 0:"value"),u]}function fi(e,t,r){let{node:n}=e,s=[];return e.each(({node:u,next:i,isLast:a})=>{s.push(r()),!t.semi&&mi(u)&&Fc(u,i)&&s.push(";"),a||(s.push(C),me(u,t)&&s.push(C))},"body"),d(n,x.Dangling)&&s.push(M(e,t)),[P(n.body)?Es(e.parent):"","{",s.length>0?[E([C,s]),C]:"","}"]}function Fc(e,t){var s;let{type:r,name:n}=e.key;if(!e.computed&&r==="Identifier"&&(n==="static"||n==="get"||n==="set")&&!e.value&&!e.typeAnnotation)return!0;if(!t||t.static||t.accessibility)return!1;if(!t.computed){let u=(s=t.key)==null?void 0:s.name;if(u==="in"||u==="instanceof")return!0}if(mi(t)&&t.variance&&!t.static&&!t.declare)return!0;switch(t.type){case"ClassProperty":case"PropertyDefinition":case"TSAbstractPropertyDefinition":return t.computed;case"MethodDefinition":case"TSAbstractMethodDefinition":case"ClassMethod":case"ClassPrivateMethod":{if((t.value?t.value.async:t.async)||t.kind==="get"||t.kind==="set")return!1;let i=t.value?t.value.generator:t.generator;return!!(t.computed||i)}case"TSIndexSignature":return!0}return!1}function Et(e,t,r){var R;let n=t.semi?";":"",{node:s}=e,u=s.type==="ObjectTypeAnnotation",i=s.type==="TSEnumDeclaration"||s.type==="EnumBooleanBody"||s.type==="EnumNumberBody"||s.type==="EnumStringBody"||s.type==="EnumSymbolBody",a=[s.type==="TSTypeLiteral"||i?"members":s.type==="TSInterfaceBody"?"body":"properties"];u&&a.push("indexers","callProperties","internalSlots");let o=a.flatMap(T=>e.map(({node:N})=>({node:N,printed:r(),loc:U(N)}),T));a.length>1&&o.sort((T,N)=>T.loc-N.loc);let{parent:p,key:m}=e,y=u&&m==="body"&&(p.type==="InterfaceDeclaration"||p.type==="DeclareInterface"||p.type==="DeclareClass"),c=s.type==="TSInterfaceBody"||i||y||s.type==="ObjectPattern"&&p.type!=="FunctionDeclaration"&&p.type!=="FunctionExpression"&&p.type!=="ArrowFunctionExpression"&&p.type!=="ObjectMethod"&&p.type!=="ClassMethod"&&p.type!=="ClassPrivateMethod"&&p.type!=="AssignmentPattern"&&p.type!=="CatchClause"&&s.properties.some(T=>T.value&&(T.value.type==="ObjectPattern"||T.value.type==="ArrayPattern"))||s.type!=="ObjectPattern"&&o.length>0&&yt(t.originalText,U(s),o[0].loc),f=y?";":s.type==="TSInterfaceBody"||s.type==="TSTypeLiteral"?b(n,";"):",",l=s.type==="RecordExpression"?"#{":s.exact?"{|":"{",h=s.exact?"|}":"}",g=[],S=o.map(T=>{let N=[...g,D(T.printed)];return g=[f,A],(T.node.type==="TSPropertySignature"||T.node.type==="TSMethodSignature"||T.node.type==="TSConstructSignatureDeclaration"||T.node.type==="TSCallSignatureDeclaration")&&d(T.node,x.PrettierIgnore)&&g.shift(),me(T.node,t)&&g.push(C),N});if(s.inexact||s.hasUnknownMembers){let T;if(d(s,x.Dangling)){let N=d(s,x.Line);T=[M(e,t),N||z(t.originalText,O(w(!1,Kt(s),-1)))?C:A,"..."]}else T=["..."];S.push([...g,...T])}let I=(R=w(!1,o,-1))==null?void 0:R.node,v=!(s.inexact||s.hasUnknownMembers||I&&(I.type==="RestElement"||(I.type==="TSPropertySignature"||I.type==="TSCallSignatureDeclaration"||I.type==="TSMethodSignature"||I.type==="TSConstructSignatureDeclaration")&&d(I,x.PrettierIgnore))),_;if(S.length===0){if(!d(s,x.Dangling))return[l,h,q(e,r)];_=D([l,M(e,t,{indent:!0}),F,h,X(e),q(e,r)])}else _=[y&&P(s.properties)?Es(p):"",l,E([t.bracketSpacing?A:F,...S]),b(v&&(f!==","||le(t))?f:""),t.bracketSpacing?A:F,h,X(e),q(e,r)];return e.match(T=>T.type==="ObjectPattern"&&!T.decorators,Fs)||ke(s)&&(e.match(void 0,(T,N)=>N==="typeAnnotation",(T,N)=>N==="typeAnnotation",Fs)||e.match(void 0,(T,N)=>T.type==="FunctionTypeParam"&&N==="typeAnnotation",Fs))||!c&&e.match(T=>T.type==="ObjectPattern",T=>T.type==="AssignmentExpression"||T.type==="VariableDeclarator")?_:D(_,{shouldBreak:c})}function Fs(e,t){return(t==="params"||t==="parameters"||t==="this"||t==="rest")&&ss(e)}var Cs=new WeakMap;function Ei(e){return Cs.has(e)||Cs.set(e,e.type==="ConditionalExpression"&&!re(e,t=>t.type==="ObjectExpression")),Cs.get(e)}var Fi=e=>e.type==="SequenceExpression";function Ci(e,t,r,n={}){let s=[],u,i=[],a=!1,o=!n.expandLastArg&&e.node.body.type==="ArrowFunctionExpression",p;(function g(){let{node:S}=e,I=Cc(e,t,r,n);if(s.length===0)s.push(I);else{let{leading:v,trailing:_}=Gn(e,t);s.push([v,I]),i.unshift(_)}o&&(a||(a=S.returnType&&Y(S).length>0||S.typeParameters||Y(S).some(v=>v.type!=="Identifier"))),!o||S.body.type!=="ArrowFunctionExpression"?(u=r("body",n),p=S.body):e.call(g,"body")})();let m=!Ie(t.originalText,p)&&(Fi(p)||dc(p,u,t)||!a&&Ei(p)),y=e.key==="callee"&&ut(e.parent),c=Symbol("arrow-chain"),f=Ac(e,n,{signatureDocs:s,shouldBreak:a}),l,h=!1;return o&&(y||n.assignmentLayout)&&(h=!0,l=n.assignmentLayout==="chain-tail-arrow-chain"||y&&!m),u=Tc(e,t,n,{bodyDoc:u,bodyComments:i,functionBody:p,shouldPutBodyOnSameLine:m}),D([D(h?E([F,f]):f,{shouldBreak:l,id:c})," =>",o?lt(u,{groupId:c}):D(u),o&&y?b(F,"",{groupId:c}):""])}function Cc(e,t,r,n){let{node:s}=e,u=[];if(s.async&&u.push("async "),cn(e,t))u.push(r(["params",0]));else{let a=n.expandLastArg||n.expandFirstArg,o=ln(e,r);if(a){if(K(o))throw new it;o=D(Ut(o))}u.push(D([at(e,r,t,a,!0),o]))}let i=M(e,t,{filter(a){let o=Xe(t.originalText,O(a));return o!==!1&&t.originalText.slice(o,o+2)==="=>"}});return i&&u.push(" ",i),u}function dc(e,t,r){var n,s;return G(e)||Z(e)||e.type==="ArrowFunctionExpression"||e.type==="DoExpression"||e.type==="BlockStatement"||V(e)||((n=t.label)==null?void 0:n.hug)!==!1&&(((s=t.label)==null?void 0:s.embed)||hr(e,r.originalText))}function Ac(e,t,{signatureDocs:r,shouldBreak:n}){if(r.length===1)return r[0];let{parent:s,key:u}=e;return u!=="callee"&&ut(s)||ce(s)?D([r[0]," =>",E([A,B([" =>",A],r.slice(1))])],{shouldBreak:n}):u==="callee"&&ut(s)||t.assignmentLayout?D(B([" =>",A],r),{shouldBreak:n}):D(E(B([" =>",A],r)),{shouldBreak:n})}function Tc(e,t,r,{bodyDoc:n,bodyComments:s,functionBody:u,shouldPutBodyOnSameLine:i}){let{node:a,parent:o}=e,p=r.expandLastArg&&le(t,"all")?b(","):"",m=(r.expandLastArg||o.type==="JSXExpressionContainer")&&!d(a)?F:"";return i&&Ei(u)?[" ",D([b("","("),E([F,n]),b("",")"),p,m]),s]:(Fi(u)&&(n=D(["(",E([F,n]),F,")"])),i?[" ",n,s]:[E([A,n,s]),p,m])}function ir(e,t,r,n){let{node:s}=e,u=[],i=xc(s[n]);return e.each(({node:a})=>{a.type!=="EmptyStatement"&&(u.push(r()),a!==i&&(u.push(C),me(a,t)&&u.push(C)))},n),u}function xc(e){for(let t=e.length-1;t>=0;t--){let r=e[t];if(r.type!=="EmptyStatement")return r}}function fn(e,t,r){let{node:n}=e,s=[];n.type==="StaticBlock"&&s.push("static "),s.push("{");let u=ds(e,t,r);if(u)s.push(E([C,u]),C);else{let{parent:i}=e,a=e.grandparent;i.type==="ArrowFunctionExpression"||i.type==="FunctionExpression"||i.type==="FunctionDeclaration"||i.type==="ObjectMethod"||i.type==="ClassMethod"||i.type==="ClassPrivateMethod"||i.type==="ForStatement"||i.type==="WhileStatement"||i.type==="DoWhileStatement"||i.type==="DoExpression"||i.type==="CatchClause"&&!a.finalizer||i.type==="TSModuleDeclaration"||i.type==="TSDeclareFunction"||n.type==="StaticBlock"||s.push(C)}return s.push("}"),s}function ds(e,t,r){var o;let{node:n}=e,s=P(n.directives),u=n.body.some(p=>p.type!=="EmptyStatement"),i=d(n,x.Dangling);if(!s&&!u&&!i)return"";let a=[];return s&&(a.push(ir(e,t,r,"directives")),(u||i)&&(a.push(C),me(w(!1,n.directives,-1),t)&&a.push(C))),u&&a.push(ir(e,t,r,"body")),i&&a.push(M(e,t)),n.type==="Program"&&((o=e.parent)==null?void 0:o.type)!=="ModuleExpression"&&a.push(C),a}function di(e,t){if(t.semi||As(e,t)||xs(e,t))return!1;let{node:r,key:n,parent:s}=e;return!!(r.type==="ExpressionStatement"&&(n==="body"&&(s.type==="Program"||s.type==="BlockStatement"||s.type==="StaticBlock"||s.type==="TSModuleBlock")||n==="consequent"&&s.type==="SwitchCase")&&e.call(()=>Ai(e,t),"expression"))}function Ai(e,t){let{node:r}=e;switch(r.type){case"ParenthesizedExpression":case"TypeCastExpression":case"ArrayExpression":case"ArrayPattern":case"TemplateLiteral":case"TemplateElement":case"RegExpLiteral":return!0;case"ArrowFunctionExpression":if(!cn(e,t))return!0;break;case"UnaryExpression":{let{prefix:n,operator:s}=r;if(n&&(s==="+"||s==="-"))return!0;break}case"BindExpression":if(!r.object)return!0;break;case"Literal":if(r.regex)return!0;break;default:if(V(r))return!0}return we(e,t)?!0:Lt(r)?e.call(()=>Ai(e,t),...Tr(r)):!1}function As({node:e,parent:t},r){return(r.parentParser==="markdown"||r.parentParser==="mdx")&&e.type==="ExpressionStatement"&&V(e.expression)&&t.type==="Program"&&t.body.length===1}function Ts(e){switch(e.type){case"MemberExpression":switch(e.property.type){case"Identifier":case"NumericLiteral":case"StringLiteral":return Ts(e.object)}return!1;case"Identifier":return!0;default:return!1}}function xs({node:e,parent:t},r){return(r.parser==="__vue_event_binding"||r.parser==="__vue_ts_event_binding")&&e.type==="ExpressionStatement"&&t.type==="Program"&&t.body.length===1}function Ti(e,t,r){let n=[r("expression")];return xs(e,t)?Ts(e.node.expression)&&n.push(";"):As(e,t)||t.semi&&n.push(";"),d(e.node,x.Dangling,({marker:s})=>s===zt)&&n.push(" ",M(e,t,{marker:zt})),n}function xi(e,t,r){if(t.__isVueBindings||t.__isVueForBindingLeft){let n=e.map(r,"program","body",0,"params");if(n.length===1)return n[0];let s=B([",",A],n);return t.__isVueForBindingLeft?["(",E([F,D(s)]),F,")"]:s}}function gi(e,t,r,n){let{node:s}=e;if(Mr(s))return _u(e,t);let u=t.semi?";":"",i=[];switch(s.type){case"JsExpressionRoot":return r("node");case"JsonRoot":return[r("node"),C];case"File":return xi(e,t,r)??r("program");case"Program":return ds(e,t,r);case"EmptyStatement":return"";case"ExpressionStatement":return Ti(e,t,r);case"ChainExpression":return r("expression");case"ParenthesizedExpression":return!d(s.expression)&&(Z(s.expression)||G(s.expression))?["(",r("expression"),")"]:D(["(",E([F,r("expression")]),F,")"]);case"AssignmentExpression":return Mu(e,t,r);case"VariableDeclarator":return Ru(e,t,r);case"BinaryExpression":case"LogicalExpression":return Or(e,t,r);case"AssignmentPattern":return[r("left")," = ",r("right")];case"OptionalMemberExpression":case"MemberExpression":return Iu(e,t,r);case"MetaProperty":return[r("meta"),".",r("property")];case"BindExpression":return s.object&&i.push(r("object")),i.push(D(E([F,vr(e,t,r)]))),i;case"Identifier":return[s.name,X(e),zr(e),q(e,r)];case"V8IntrinsicIdentifier":return["%",s.name];case"SpreadElement":case"SpreadElementPattern":case"SpreadPropertyPattern":case"RestElement":return Qr(e,r);case"FunctionDeclaration":case"FunctionExpression":return on(e,r,t,n);case"ArrowFunctionExpression":return Ci(e,t,r,n);case"YieldExpression":return i.push("yield"),s.delegate&&i.push("*"),s.argument&&i.push(" ",r("argument")),i;case"AwaitExpression":if(i.push("await"),s.argument){i.push(" ",r("argument"));let{parent:a}=e;if(k(a)&&a.callee===s||J(a)&&a.object===s){i=[E([F,...i]),F];let o=e.findAncestor(p=>p.type==="AwaitExpression"||p.type==="BlockStatement");if((o==null?void 0:o.type)!=="AwaitExpression"||!re(o.argument,p=>p===s))return D(i)}}return i;case"ExportDefaultDeclaration":case"ExportNamedDeclaration":case"ExportAllDeclaration":return Zr(e,t,r);case"ImportDeclaration":return Vu(e,t,r);case"ImportSpecifier":case"ExportSpecifier":case"ImportNamespaceSpecifier":case"ExportNamespaceSpecifier":case"ImportDefaultSpecifier":case"ExportDefaultSpecifier":return ei(e,t,r);case"ImportAttribute":return[r("key"),": ",r("value")];case"Import":return"import";case"BlockStatement":case"StaticBlock":return fn(e,t,r);case"ClassBody":return fi(e,t,r);case"ThrowStatement":return li(e,t,r);case"ReturnStatement":return ci(e,t,r);case"NewExpression":case"ImportExpression":case"OptionalCallExpression":case"CallExpression":return _r(e,t,r);case"ObjectExpression":case"ObjectPattern":case"RecordExpression":return Et(e,t,r);case"ObjectProperty":case"Property":return s.method||s.kind==="get"||s.kind==="set"?ur(e,t,r):oi(e,t,r);case"ObjectMethod":return ur(e,t,r);case"Decorator":return["@",r("expression")];case"ArrayExpression":case"ArrayPattern":case"TupleExpression":return vt(e,t,r);case"SequenceExpression":{let{parent:a}=e;if(a.type==="ExpressionStatement"||a.type==="ForStatement"){let o=[];return e.each(({isFirst:p})=>{p?o.push(r()):o.push(",",E([A,r()]))},"expressions"),D(o)}return D(B([",",A],e.map(r,"expressions")))}case"ThisExpression":return"this";case"Super":return"super";case"Directive":return[r("value"),u];case"UnaryExpression":return i.push(s.operator),/[a-z]$/.test(s.operator)&&i.push(" "),d(s.argument)?i.push(D(["(",E([F,r("argument")]),F,")"])):i.push(r("argument")),i;case"UpdateExpression":return i.push(r("argument"),s.operator),s.prefix&&i.reverse(),i;case"ConditionalExpression":return Mt(e,t,r);case"VariableDeclaration":{let a=e.map(r,"declarations"),o=e.parent,p=o.type==="ForStatement"||o.type==="ForInStatement"||o.type==="ForOfStatement",m=s.declarations.some(c=>c.init),y;return a.length===1&&!d(s.declarations[0])?y=a[0]:a.length>0&&(y=E(a[0])),i=[Q(e),s.kind,y?[" ",y]:"",E(a.slice(1).map(c=>[",",m&&!p?C:A,c]))],p&&o.body!==s||i.push(u),D(i)}case"WithStatement":return D(["with (",r("object"),")",ot(s.body,r("body"))]);case"IfStatement":{let a=ot(s.consequent,r("consequent")),o=D(["if (",D([E([F,r("test")]),F]),")",a]);if(i.push(o),s.alternate){let p=d(s.consequent,x.Trailing|x.Line)||Sr(s),m=s.consequent.type==="BlockStatement"&&!p;i.push(m?" ":C),d(s,x.Dangling)&&i.push(M(e,t),p?C:" "),i.push("else",D(ot(s.alternate,r("alternate"),s.alternate.type==="IfStatement")))}return i}case"ForStatement":{let a=ot(s.body,r("body")),o=M(e,t),p=o?[o,F]:"";return!s.init&&!s.test&&!s.update?[p,D(["for (;;)",a])]:[p,D(["for (",D([E([F,r("init"),";",A,r("test"),";",A,r("update")]),F]),")",a])]}case"WhileStatement":return D(["while (",D([E([F,r("test")]),F]),")",ot(s.body,r("body"))]);case"ForInStatement":return D(["for (",r("left")," in ",r("right"),")",ot(s.body,r("body"))]);case"ForOfStatement":return D(["for",s.await?" await":""," (",r("left")," of ",r("right"),")",ot(s.body,r("body"))]);case"DoWhileStatement":{let a=ot(s.body,r("body"));return i=[D(["do",a])],s.body.type==="BlockStatement"?i.push(" "):i.push(C),i.push("while (",D([E([F,r("test")]),F]),")",u),i}case"DoExpression":return[s.async?"async ":"","do ",r("body")];case"BreakStatement":case"ContinueStatement":return i.push(s.type==="BreakStatement"?"break":"continue"),s.label&&i.push(" ",r("label")),i.push(u),i;case"LabeledStatement":return s.body.type==="EmptyStatement"?[r("label"),":;"]:[r("label"),": ",r("body")];case"TryStatement":return["try ",r("block"),s.handler?[" ",r("handler")]:"",s.finalizer?[" finally ",r("finalizer")]:""];case"CatchClause":if(s.param){let a=d(s.param,p=>!ae(p)||p.leading&&z(t.originalText,O(p))||p.trailing&&z(t.originalText,U(p),{backwards:!0})),o=r("param");return["catch ",a?["(",E([F,o]),F,") "]:["(",o,") "],r("body")]}return["catch ",r("body")];case"SwitchStatement":return[D(["switch (",E([F,r("discriminant")]),F,")"])," {",s.cases.length>0?E([C,B(C,e.map(({node:a,isLast:o})=>[r(),!o&&me(a,t)?C:""],"cases"))]):"",C,"}"];case"SwitchCase":{s.test?i.push("case ",r("test"),":"):i.push("default:"),d(s,x.Dangling)&&i.push(" ",M(e,t));let a=s.consequent.filter(o=>o.type!=="EmptyStatement");if(a.length>0){let o=ir(e,t,r,"consequent");i.push(a.length===1&&a[0].type==="BlockStatement"?[" ",o]:E([C,o]))}return i}case"DebuggerStatement":return["debugger",u];case"ClassDeclaration":case"ClassExpression":return mn(e,t,r);case"ClassMethod":case"ClassPrivateMethod":case"MethodDefinition":return Dn(e,t,r);case"ClassProperty":case"PropertyDefinition":case"ClassPrivateProperty":case"ClassAccessorProperty":case"AccessorProperty":return yn(e,t,r);case"TemplateElement":return Te(s.value.raw);case"TemplateLiteral":return tn(e,r,t);case"TaggedTemplateExpression":return ui(r);case"PrivateIdentifier":return["#",s.name];case"PrivateName":return["#",r("id")];case"TopicReference":return"%";case"ArgumentPlaceholder":return"?";case"ModuleExpression":{i.push("module {");let a=r("body");return a&&i.push(E([C,a]),C),i.push("}"),i}case"InterpreterDirective":default:throw new Oe(s,"ESTree")}}function Si(e,t,r){let{node:n}=e;if(n.type.startsWith("NG"))switch(n.type){case"NGRoot":return[r("node"),d(n.node)?" //"+Kt(n.node)[0].value.trimEnd():""];case"NGPipeExpression":return Or(e,t,r);case"NGChainedExpression":return D(B([";",A],e.map(()=>hc(e)?r():["(",r(),")"],"expressions")));case"NGEmptyExpression":return"";case"NGMicrosyntax":return e.map(()=>[e.isFirst?"":hi(e)?" ":[";",A],r()],"body");case"NGMicrosyntaxKey":return/^[$_a-z][\w$]*(?:-[$_a-z][\w$])*$/i.test(n.name)?n.name:JSON.stringify(n.name);case"NGMicrosyntaxExpression":return[r("expression"),n.alias===null?"":[" as ",r("alias")]];case"NGMicrosyntaxKeyedExpression":{let{index:s,parent:u}=e,i=hi(e)||(s===1&&(n.key.name==="then"||n.key.name==="else")||s===2&&n.key.name==="else"&&u.body[s-1].type==="NGMicrosyntaxKeyedExpression"&&u.body[s-1].key.name==="then")&&u.body[0].type==="NGMicrosyntaxExpression";return[r("key"),i?" ":": ",r("expression")]}case"NGMicrosyntaxLet":return["let ",r("key"),n.value===null?"":[" = ",r("value")]];case"NGMicrosyntaxAs":return[r("key")," as ",r("alias")];default:throw new Oe(n,"Angular")}}function hi({node:e,index:t,parent:r}){return e.type==="NGMicrosyntaxKeyedExpression"&&e.key.name==="of"&&t===1&&r.body[0].type==="NGMicrosyntaxLet"&&r.body[0].value===null}var gc=j(["CallExpression","OptionalCallExpression","AssignmentExpression"]);function hc({node:e}){return Xt(e,gc)}function En(e,t,r){let{node:n}=e,s=[Q(e),"interface"],u=[],i=[];n.type!=="InterfaceTypeAnnotation"&&u.push(" ",r("id"),r("typeParameters"));let a=n.typeParameters&&!d(n.typeParameters,x.Trailing|x.Line);return P(n.extends)&&i.push(a?b(" ",A,{groupId:nr(n.typeParameters)}):A,"extends ",(n.extends.length===1?nu:E)(B([",",A],e.map(r,"extends")))),d(n.id,x.Trailing)||P(n.extends)?a?s.push(D([...u,E(i)])):s.push(D(E([...u,...i]))):s.push(...u,...i),s.push(" ",r("body")),D(s)}function Bi(e,t,r){return Et(e,r,t)}function Fn(e,t){let{node:r}=e,n=t("id");r.computed&&(n=["[",n,"]"]);let s="";return r.initializer&&(s=t("initializer")),r.init&&(s=t("init")),s?[n," = ",s]:n}function bi(e,t,r){let{node:n}=e,s;if(n.type==="EnumSymbolBody"||n.explicitType)switch(n.type){case"EnumBooleanBody":s="boolean";break;case"EnumNumberBody":s="number";break;case"EnumStringBody":s="string";break;case"EnumSymbolBody":s="symbol";break}return[s?`of ${s} `:"",Bi(e,t,r)]}function Cn(e,t,r){let{node:n}=e;return[Q(e),n.const?"const ":"","enum ",t("id")," ",n.type==="TSEnumDeclaration"?Bi(e,t,r):t("body")]}function Pi(e,t,r){let{node:n}=e;if(Cr(n))return n.type.slice(0,-14).toLowerCase();let s=t.semi?";":"";switch(n.type){case"DeclareClass":return mn(e,t,r);case"DeclareFunction":return[Q(e),"function ",r("id"),r("predicate"),s];case"DeclareModule":return["declare module ",r("id")," ",r("body")];case"DeclareModuleExports":return["declare module.exports",q(e,r),s];case"DeclareVariable":return[Q(e),n.kind??"var"," ",r("id"),s];case"DeclareExportDeclaration":case"DeclareExportAllDeclaration":return Zr(e,t,r);case"DeclareOpaqueType":case"OpaqueType":return Gu(e,t,r);case"DeclareTypeAlias":case"TypeAlias":return Jr(e,t,r);case"IntersectionTypeAnnotation":return Nr(e,t,r);case"UnionTypeAnnotation":return Ur(e,t,r);case"ConditionalTypeAnnotation":return Mt(e,t,r);case"InferTypeAnnotation":return Wr(e,t,r);case"FunctionTypeAnnotation":return Gr(e,t,r);case"TupleTypeAnnotation":return vt(e,t,r);case"TupleTypeLabeledElement":return Xr(e,t,r);case"TupleTypeSpreadElement":return Yr(e,t,r);case"GenericTypeAnnotation":return[r("id"),gt(e,t,r,"typeParameters")];case"IndexedAccessType":case"OptionalIndexedAccessType":return qr(e,t,r);case"TypeAnnotation":return $r(e,t,r);case"TypeParameter":return sn(e,t,r);case"TypeofTypeAnnotation":return Hr(e,r);case"ExistsTypeAnnotation":return"*";case"ArrayTypeAnnotation":return Vr(r);case"DeclareEnum":case"EnumDeclaration":return Cn(e,r,t);case"EnumBooleanBody":case"EnumNumberBody":case"EnumStringBody":case"EnumSymbolBody":return bi(e,r,t);case"EnumBooleanMember":case"EnumNumberMember":case"EnumStringMember":case"EnumDefaultedMember":return Fn(e,r);case"FunctionTypeParam":{let u=n.name?r("name"):e.parent.this===n?"this":"";return[u,X(e),u?": ":"",r("typeAnnotation")]}case"DeclareInterface":case"InterfaceDeclaration":case"InterfaceTypeAnnotation":return En(e,t,r);case"ClassImplements":case"InterfaceExtends":return[r("id"),r("typeParameters")];case"NullableTypeAnnotation":return["?",r("typeAnnotation")];case"Variance":{let{kind:u}=n;return un.ok(u==="plus"||u==="minus"),u==="plus"?"+":"-"}case"KeyofTypeAnnotation":return["keyof ",r("argument")];case"ObjectTypeCallProperty":return[n.static?"static ":"",r("value")];case"ObjectTypeMappedTypeProperty":return ii(e,t,r);case"ObjectTypeIndexer":return[n.static?"static ":"",n.variance?r("variance"):"","[",r("id"),n.id?": ":"",r("key"),"]: ",r("value")];case"ObjectTypeProperty":{let u="";return n.proto?u="proto ":n.static&&(u="static "),[u,_n(n)?n.kind+" ":"",n.variance?r("variance"):"",pt(e,t,r),X(e),jn(n)?"":": ",r("value")]}case"ObjectTypeAnnotation":return Et(e,t,r);case"ObjectTypeInternalSlot":return[n.static?"static ":"","[[",r("id"),"]]",X(e),n.method?"":": ",r("value")];case"ObjectTypeSpreadProperty":return Qr(e,r);case"QualifiedTypeofIdentifier":case"QualifiedTypeIdentifier":return[r("qualification"),".",r("id")];case"NullLiteralTypeAnnotation":return"null";case"BooleanLiteralTypeAnnotation":return String(n.value);case"StringLiteralTypeAnnotation":return Te(Tt(oe(n),t));case"NumberLiteralTypeAnnotation":return He(n.raw??n.extra.raw);case"BigIntLiteralTypeAnnotation":return jr(n.raw??n.extra.raw);case"TypeCastExpression":return["(",r("expression"),q(e,r),")"];case"TypePredicate":return Kr(e,r);case"TypeParameterDeclaration":case"TypeParameterInstantiation":return gt(e,t,r,"params");case"InferredPredicate":case"DeclaredPredicate":return[e.key==="predicate"&&e.parent.type!=="DeclareFunction"&&!e.parent.returnType?": ":" ","%checks",...n.type==="DeclaredPredicate"?["(",r("value"),")"]:[]]}}function ki(e,t,r){var i;let{node:n}=e;if(!n.type.startsWith("TS"))return;if(dr(n))return n.type.slice(2,-7).toLowerCase();let s=t.semi?";":"",u=[];switch(n.type){case"TSThisType":return"this";case"TSTypeAssertion":{let a=!(G(n.expression)||Z(n.expression)),o=D(["<",E([F,r("typeAnnotation")]),F,">"]),p=[b("("),E([F,r("expression")]),F,b(")")];return a?qe([[o,r("expression")],[o,D(p,{shouldBreak:!0})],[o,r("expression")]]):D([o,r("expression")])}case"TSDeclareFunction":return on(e,r,t);case"TSExportAssignment":return["export = ",r("expression"),s];case"TSModuleBlock":return fn(e,t,r);case"TSInterfaceBody":case"TSTypeLiteral":return Et(e,t,r);case"TSTypeAliasDeclaration":return Jr(e,t,r);case"TSQualifiedName":return[r("left"),".",r("right")];case"TSAbstractMethodDefinition":case"TSDeclareMethod":return Dn(e,t,r);case"TSAbstractAccessorProperty":case"TSAbstractPropertyDefinition":return yn(e,t,r);case"TSInterfaceHeritage":case"TSClassImplements":case"TSExpressionWithTypeArguments":case"TSInstantiationExpression":return[r("expression"),r("typeParameters")];case"TSTemplateLiteralType":return tn(e,r,t);case"TSNamedTupleMember":return Xr(e,t,r);case"TSRestType":return Yr(e,t,r);case"TSOptionalType":return[r("typeAnnotation"),"?"];case"TSInterfaceDeclaration":return En(e,t,r);case"TSTypeParameterDeclaration":case"TSTypeParameterInstantiation":return gt(e,t,r,"params");case"TSTypeParameter":return sn(e,t,r);case"TSAsExpression":case"TSSatisfiesExpression":{let a=n.type==="TSAsExpression"?"as":"satisfies";u.push(r("expression"),` ${a} `,r("typeAnnotation"));let{parent:o}=e;return k(o)&&o.callee===n||J(o)&&o.object===n?D([E([F,...u]),F]):u}case"TSArrayType":return Vr(r);case"TSPropertySignature":return[n.readonly?"readonly ":"",pt(e,t,r),X(e),q(e,r)];case"TSParameterProperty":return[jt(n),n.static?"static ":"",n.override?"override ":"",n.readonly?"readonly ":"",r("parameter")];case"TSTypeQuery":return Hr(e,r);case"TSIndexSignature":{let a=n.parameters.length>1?b(le(t)?",":""):"",o=D([E([F,B([", ",F],e.map(r,"parameters"))]),a,F]),p=e.parent.type==="ClassBody"&&e.key==="body";return[p&&n.static?"static ":"",n.readonly?"readonly ":"","[",n.parameters?o:"","]",q(e,r),p?s:""]}case"TSTypePredicate":return Kr(e,r);case"TSNonNullExpression":return[r("expression"),"!"];case"TSImportType":return[n.isTypeOf?"typeof ":"","import(",r(n.parameter?"parameter":"argument"),")",n.qualifier?[".",r("qualifier")]:"",gt(e,t,r,"typeParameters")];case"TSLiteralType":return r("literal");case"TSIndexedAccessType":return qr(e,t,r);case"TSTypeOperator":return[n.operator," ",r("typeAnnotation")];case"TSMappedType":return ai(e,t,r);case"TSMethodSignature":{let a=n.kind&&n.kind!=="method"?`${n.kind} `:"";u.push(jt(n),a,n.computed?"[":"",r("key"),n.computed?"]":"",X(e));let o=at(e,r,t,!1,!0),p=n.returnType?"returnType":"typeAnnotation",m=n[p],y=m?q(e,r,p):"",c=xt(n,y);return u.push(c?D(o):o),m&&u.push(D(y)),D(u)}case"TSNamespaceExportDeclaration":return["export as namespace ",r("id"),t.semi?";":""];case"TSEnumDeclaration":return Cn(e,r,t);case"TSEnumMember":return Fn(e,r);case"TSImportEqualsDeclaration":return[n.isExport?"export ":"","import ",ps(n,!1),r("id")," = ",r("moduleReference"),t.semi?";":""];case"TSExternalModuleReference":return["require(",r("expression"),")"];case"TSModuleDeclaration":{let{parent:a}=e,o=a.type==="TSModuleDeclaration",p=((i=n.body)==null?void 0:i.type)==="TSModuleDeclaration";if(o)u.push(".");else if(u.push(Q(e)),!(n.kind==="global"||n.global)){let y=n.kind??(ee(n.id)||/(?:^|\s)module(?:\s|$)/.test(t.originalText.slice(U(n),U(n.id)))?"module":"namespace");u.push(y," ")}return u.push(r("id")),p?u.push(r("body")):n.body?u.push(" ",D(r("body"))):u.push(s),u}case"TSConditionalType":return Mt(e,t,r);case"TSInferType":return Wr(e,t,r);case"TSIntersectionType":return Nr(e,t,r);case"TSUnionType":return Ur(e,t,r);case"TSFunctionType":case"TSCallSignatureDeclaration":case"TSConstructorType":case"TSConstructSignatureDeclaration":return Gr(e,t,r);case"TSTupleType":return vt(e,t,r);case"TSTypeReference":return[r("typeName"),gt(e,t,r,"typeParameters")];case"TSTypeAnnotation":return $r(e,t,r);case"TSEmptyBodyFunctionExpression":return pn(e,t,r);case"TSJSDocAllType":return"*";case"TSJSDocUnknownType":return"?";case"TSJSDocNullableType":return is(e,r,"?");case"TSJSDocNonNullableType":return is(e,r,"!");case"TSParenthesizedType":default:throw new Oe(n,"TypeScript")}}function Sc(e,t,r,n){if(wr(e))return Is(e,t);for(let s of[Si,Su,Pi,ki,gi]){let u=s(e,t,r,n);if(u!==void 0)return u}}var Bc=j(["ClassMethod","ClassPrivateMethod","ClassProperty","ClassAccessorProperty","AccessorProperty","TSAbstractAccessorProperty","PropertyDefinition","TSAbstractPropertyDefinition","ClassPrivateProperty","MethodDefinition","TSAbstractMethodDefinition","TSDeclareMethod"]);function bc(e,t,r,n){var y;e.isRoot&&((y=t.__onHtmlBindingRoot)==null||y.call(t,e.node,t));let s=Sc(e,t,r,n);if(!s)return"";let{node:u}=e;if(Bc(u))return s;let i=P(u.decorators),a=Yu(e,t,r),o=u.type==="ClassExpression";if(i&&!o)return Gt(s,c=>D([a,c]));let p=we(e,t),m=di(e,t);return!a&&!p&&!m?s:Gt(s,c=>[m?";":"",p?"(":"",p&&o&&i?[E([A,a,c]),A]:[a,c],p?")":""])}var Ii=bc;var Li=[(e,t)=>e.type==="ObjectExpression"&&t==="properties",(e,t)=>e.type==="CallExpression"&&e.callee.type==="Identifier"&&e.callee.name==="Component"&&t==="arguments",(e,t)=>e.type==="Decorator"&&t==="expression"];function wi(e){return e.match(t=>t.type==="TemplateLiteral",(t,r)=>G(t)&&r==="elements",(t,r)=>fe(t)&&t.key.type==="Identifier"&&t.key.name==="styles"&&r==="value",...Li)}function Oi(e){return e.match(t=>t.type==="TemplateLiteral",(t,r)=>fe(t)&&t.key.type==="Identifier"&&t.key.name==="template"&&r==="value",...Li)}function dn(e,t){return d(e,x.Block|x.Leading,({value:r})=>r===` ${t} `)}async function Pc(e,t,r){let{node:n}=r,s=n.quasis.map(m=>m.value.raw),u=0,i=s.reduce((m,y,c)=>c===0?y:m+"@prettier-placeholder-"+u+++"-id"+y,""),a=await e(i,{parser:"scss"}),o=Rt(r,t),p=kc(a,o);if(!p)throw new Error("Couldn't insert all the expressions");return["`",E([C,p]),F,"`"]}function kc(e,t){if(!P(t))return e;let r=0,n=st(Bt(e),s=>typeof s!="string"||!s.includes("@prettier-placeholder")?s:s.split(/@prettier-placeholder-(\d+)-id/).map((u,i)=>i%2===0?Te(u):(r++,t[u])));return t.length===r?n:null}function Ic({node:e,parent:t,grandparent:r}){return r&&e.quasis&&t.type==="JSXExpressionContainer"&&r.type==="JSXElement"&&r.openingElement.name.name==="style"&&r.openingElement.attributes.some(n=>n.name.name==="jsx")||(t==null?void 0:t.type)==="TaggedTemplateExpression"&&t.tag.type==="Identifier"&&t.tag.name==="css"||(t==null?void 0:t.type)==="TaggedTemplateExpression"&&t.tag.type==="MemberExpression"&&t.tag.object.name==="css"&&(t.tag.property.name==="global"||t.tag.property.name==="resolve")}function An(e){return e.type==="Identifier"&&e.name==="styled"}function vi(e){return/^[A-Z]/.test(e.object.name)&&e.property.name==="extend"}function Lc({parent:e}){if(!e||e.type!=="TaggedTemplateExpression")return!1;let t=e.tag.type==="ParenthesizedExpression"?e.tag.expression:e.tag;switch(t.type){case"MemberExpression":return An(t.object)||vi(t);case"CallExpression":return An(t.callee)||t.callee.type==="MemberExpression"&&(t.callee.object.type==="MemberExpression"&&(An(t.callee.object.object)||vi(t.callee.object))||t.callee.object.type==="CallExpression"&&An(t.callee.object.callee));case"Identifier":return t.name==="css";default:return!1}}function wc({parent:e,grandparent:t}){return(t==null?void 0:t.type)==="JSXAttribute"&&e.type==="JSXExpressionContainer"&&t.name.type==="JSXIdentifier"&&t.name.name==="css"}function Oc(e){if(Ic(e)||Lc(e)||wc(e)||wi(e))return Pc}var _i=Oc;async function vc(e,t,r){let{node:n}=r,s=n.quasis.length,u=Rt(r,t),i=[];for(let a=0;a2&&c[0].trim()===""&&c[1].trim()==="",g=f>2&&c[f-1].trim()===""&&c[f-2].trim()==="",S=c.every(v=>/^\s*(?:#[^\n\r]*)?$/.test(v));if(!m&&/#[^\n\r]*$/.test(c[f-1]))return null;let I=null;S?I=_c(c):I=await e(y,{parser:"graphql"}),I?(I=rn(I,!1),!p&&h&&i.push(""),i.push(I),!m&&g&&i.push("")):!p&&!m&&h&&i.push(""),l&&i.push(l)}return["`",E([C,B(C,i)]),C,"`"]}function _c(e){let t=[],r=!1,n=e.map(s=>s.trim());for(let[s,u]of n.entries())u!==""&&(n[s-1]===""&&r?t.push([C,u]):t.push(u),r=!0);return t.length===0?null:B(C,t)}function jc({node:e,parent:t}){return dn(e,"GraphQL")||t&&(t.type==="TaggedTemplateExpression"&&(t.tag.type==="MemberExpression"&&t.tag.object.name==="graphql"&&t.tag.property.name==="experimental"||t.tag.type==="Identifier"&&(t.tag.name==="gql"||t.tag.name==="graphql"))||t.type==="CallExpression"&&t.callee.type==="Identifier"&&t.callee.name==="graphql")}function Mc(e){if(jc(e))return vc}var ji=Mc;var gs=0;async function Mi(e,t,r,n,s){let{node:u}=n,i=gs;gs=gs+1>>>0;let a=S=>`PRETTIER_HTML_PLACEHOLDER_${S}_${i}_IN_JS`,o=u.quasis.map((S,I,v)=>I===v.length-1?S.value.cooked:S.value.cooked+a(I)).join(""),p=Rt(n,r),m=new RegExp(a("(\\d+)"),"g"),y=0,c=await t(o,{parser:e,__onHtmlRoot(S){y=S.children.length}}),f=st(c,S=>{if(typeof S!="string")return S;let I=[],v=S.split(m);for(let _=0;_1?E(D(f)):D(f),h,"`"]))}function Rc(e){return dn(e.node,"HTML")||e.match(t=>t.type==="TemplateLiteral",(t,r)=>t.type==="TaggedTemplateExpression"&&t.tag.type==="Identifier"&&t.tag.name==="html"&&r==="quasi")}var Jc=Mi.bind(void 0,"html"),Nc=Mi.bind(void 0,"angular");function Uc(e){if(Rc(e))return Jc;if(Oi(e))return Nc}var Ri=Uc;async function Gc(e,t,r){let{node:n}=r,s=H(!1,n.quasis[0].value.raw,/((?:\\\\)*)\\`/g,(o,p)=>"\\".repeat(p.length/2)+"`"),u=qc(s),i=u!=="";i&&(s=H(!1,s,new RegExp(`^${u}`,"gm"),""));let a=rn(await e(s,{parser:"markdown",__inJsTemplate:!0}),!0);return["`",i?E([F,a]):[Dr,Os(a)],F,"`"]}function qc(e){let t=e.match(/^([^\S\n]*)\S/m);return t===null?"":t[1]}function Wc(e){if(Yc(e))return Gc}function Yc({node:e,parent:t}){return(t==null?void 0:t.type)==="TaggedTemplateExpression"&&e.quasis.length===1&&t.tag.type==="Identifier"&&(t.tag.name==="md"||t.tag.name==="markdown")}var Ji=Wc;function Xc(e){let{node:t}=e;if(t.type!=="TemplateLiteral"||$c(t))return;let r;for(let n of[_i,ji,Ri,Ji])if(r=n(e),!!r)return t.quasis.length===1&&t.quasis[0].value.raw.trim()===""?"``":async(...s)=>{let u=await r(...s);return u&&et({embed:!0,...u.label},u)}}function $c({quasis:e}){return e.some(({value:{cooked:t}})=>t===null)}var Ni=Xc;var Vc=new Set(["range","raw","comments","leadingComments","trailingComments","innerComments","extra","start","end","loc","flags","errors","tokens"]),Jt=e=>{for(let t of e.quasis)delete t.value};function Ui(e,t,r){var s,u;if(e.type==="Program"&&delete t.sourceType,(e.type==="BigIntLiteral"||e.type==="BigIntLiteralTypeAnnotation")&&t.value&&(t.value=t.value.toLowerCase()),(e.type==="BigIntLiteral"||e.type==="Literal")&&t.bigint&&(t.bigint=t.bigint.toLowerCase()),e.type==="DecimalLiteral"&&(t.value=Number(t.value)),e.type==="Literal"&&t.decimal&&(t.decimal=Number(t.decimal)),e.type==="EmptyStatement"||e.type==="JSXText"||e.type==="JSXExpressionContainer"&&(e.expression.type==="Literal"||e.expression.type==="StringLiteral")&&e.expression.value===" ")return null;if((e.type==="Property"||e.type==="ObjectProperty"||e.type==="MethodDefinition"||e.type==="ClassProperty"||e.type==="ClassMethod"||e.type==="PropertyDefinition"||e.type==="TSDeclareMethod"||e.type==="TSPropertySignature"||e.type==="ObjectTypeProperty")&&typeof e.key=="object"&&e.key&&(e.key.type==="Literal"||e.key.type==="NumericLiteral"||e.key.type==="StringLiteral"||e.key.type==="Identifier")&&delete t.key,e.type==="JSXElement"&&e.openingElement.name.name==="style"&&e.openingElement.attributes.some(i=>i.name.name==="jsx"))for(let{type:i,expression:a}of t.children)i==="JSXExpressionContainer"&&a.type==="TemplateLiteral"&&Jt(a);e.type==="JSXAttribute"&&e.name.name==="css"&&e.value.type==="JSXExpressionContainer"&&e.value.expression.type==="TemplateLiteral"&&Jt(t.value.expression),e.type==="JSXAttribute"&&((s=e.value)==null?void 0:s.type)==="Literal"&&/["']|"|'/.test(e.value.value)&&(t.value.value=H(!1,t.value.value,/["']|"|'/g,'"'));let n=e.expression||e.callee;if(e.type==="Decorator"&&n.type==="CallExpression"&&n.callee.name==="Component"&&n.arguments.length===1){let i=e.expression.arguments[0].properties;for(let[a,o]of t.expression.arguments[0].properties.entries())switch(i[a].key.name){case"styles":G(o.value)&&Jt(o.value.elements[0]);break;case"template":o.value.type==="TemplateLiteral"&&Jt(o.value);break}}if(e.type==="TaggedTemplateExpression"&&(e.tag.type==="MemberExpression"||e.tag.type==="Identifier"&&(e.tag.name==="gql"||e.tag.name==="graphql"||e.tag.name==="css"||e.tag.name==="md"||e.tag.name==="markdown"||e.tag.name==="html")||e.tag.type==="CallExpression")&&Jt(t.quasi),e.type==="TemplateLiteral"&&((u=e.leadingComments)!=null&&u.some(a=>ae(a)&&["GraphQL","HTML"].some(o=>a.value===` ${o} `))||r.type==="CallExpression"&&r.callee.name==="graphql"||!e.leadingComments)&&Jt(t),(e.type==="TSIntersectionType"||e.type==="TSUnionType")&&e.types.length===1)return t.types[0];e.type==="ChainExpression"&&e.expression.type==="TSNonNullExpression"&&([t.type,t.expression.type]=[t.expression.type,t.type])}Ui.ignoredProperties=Vc;var Gi=Ui;var Ft=la(Hi(),1);function sl(e){if(!e.startsWith("#!"))return"";let t=e.indexOf(` -`);return t===-1?e:e.slice(0,t)}var Ki=sl;function ul(e){let t=Ki(e);t&&(e=e.slice(t.length+1));let r=(0,Ft.extract)(e),{pragmas:n,comments:s}=(0,Ft.parseWithComments)(r);return{shebang:t,text:e,pragmas:n,comments:s}}function zi(e){let{shebang:t,text:r,pragmas:n,comments:s}=ul(e),u=(0,Ft.strip)(r),i=(0,Ft.print)({pragmas:{format:"",...n},comments:s.trimStart()});return(t?`${t} +`}}var Se=Symbol("MODE_BREAK"),at=Symbol("MODE_FLAT"),ar=Symbol("cursor");function qu(){return{value:"",length:0,queue:[]}}function xp(e,t){return Zn(e,{type:"indent"},t)}function hp(e,t,r){return t===Number.NEGATIVE_INFINITY?e.root||qu():t<0?Zn(e,{type:"dedent"},r):t?t.type==="root"?{...e,root:e}:Zn(e,{type:typeof t=="string"?"stringAlign":"numberAlign",n:t},r):e}function Zn(e,t,r){let n=t.type==="dedent"?e.queue.slice(0,-1):[...e.queue,t],s="",u=0,i=0,a=0;for(let p of n)switch(p.type){case"indent":m(),r.useTabs?o(1):c(r.tabWidth);break;case"stringAlign":m(),s+=p.n,u+=p.n.length;break;case"numberAlign":i+=1,a+=p.n;break;default:throw new Error(`Unexpected type '${p.type}'`)}return y(),{...e,value:s,length:u,queue:n};function o(p){s+=" ".repeat(p),u+=r.tabWidth*p}function c(p){s+=" ".repeat(p),u+=p}function m(){r.useTabs?D():y()}function D(){i>0&&o(i),C()}function y(){a>0&&c(a),C()}function C(){i=0,a=0}}function es(e){let t=0,r=0,n=e.length;e:for(;n--;){let s=e[n];if(s===ar){r++;continue}for(let u=s.length-1;u>=0;u--){let i=s[u];if(i===" "||i===" ")t++;else{e[n]=s.slice(0,u+1);break e}}}if(t>0||r>0)for(e.length=n+1;r-- >0;)e.push(ar);return t}function Jr(e,t,r,n,s,u){if(r===Number.POSITIVE_INFINITY)return!0;let i=t.length,a=[e],o=[];for(;r>=0;){if(a.length===0){if(i===0)return!0;a.push(t[--i]);continue}let{mode:c,doc:m}=a.pop(),D=ut(m);switch(D){case rt:o.push(m),r-=et(m);break;case _e:case Pe:{let y=D===_e?m:m.parts;for(let C=y.length-1;C>=0;C--)a.push({mode:c,doc:y[C]});break}case Xe:case Ye:case He:case je:a.push({mode:c,doc:m.contents});break;case st:r+=es(o);break;case le:{if(u&&m.break)return!1;let y=m.break?Se:c,C=m.expandedStates&&y===Se?O(!1,m.expandedStates,-1):m.contents;a.push({mode:y,doc:C});break}case xe:{let C=(m.groupId?s[m.groupId]||at:c)===Se?m.breakContents:m.flatContents;C&&a.push({mode:c,doc:C});break}case me:if(c===Se||m.hard)return!0;m.soft||(o.push(" "),r--);break;case Ve:n=!0;break;case $e:if(n)return!1;break}}return!1}function ts(e,t){let r={},n=t.printWidth,s=Ju(t.endOfLine),u=0,i=[{ind:qu(),mode:Se,doc:e}],a=[],o=!1,c=[],m=0;for(Su(e);i.length>0;){let{ind:y,mode:C,doc:p}=i.pop();switch(ut(p)){case rt:{let A=s!==` +`?N(!1,p,` +`,s):p;a.push(A),i.length>0&&(u+=et(A));break}case _e:for(let A=p.length-1;A>=0;A--)i.push({ind:y,mode:C,doc:p[A]});break;case nt:if(m>=2)throw new Error("There are too many 'cursor' in doc.");a.push(ar),m++;break;case Xe:i.push({ind:xp(y,t),mode:C,doc:p.contents});break;case Ye:i.push({ind:hp(y,p.n,t),mode:C,doc:p.contents});break;case st:u-=es(a);break;case le:switch(C){case at:if(!o){i.push({ind:y,mode:p.break?Se:at,doc:p.contents});break}case Se:{o=!1;let A={ind:y,mode:at,doc:p.contents},T=n-u,S=c.length>0;if(!p.break&&Jr(A,i,T,S,r))i.push(A);else if(p.expandedStates){let B=O(!1,p.expandedStates,-1);if(p.break){i.push({ind:y,mode:Se,doc:B});break}else for(let _=1;_=p.expandedStates.length){i.push({ind:y,mode:Se,doc:B});break}else{let J=p.expandedStates[_],j={ind:y,mode:at,doc:J};if(Jr(j,i,T,S,r)){i.push(j);break}}}else i.push({ind:y,mode:Se,doc:p.contents});break}}p.id&&(r[p.id]=O(!1,i,-1).mode);break;case Pe:{let A=n-u,{parts:T}=p;if(T.length===0)break;let[S,B]=T,_={ind:y,mode:at,doc:S},J={ind:y,mode:Se,doc:S},j=Jr(_,[],A,c.length>0,r,!0);if(T.length===1){j?i.push(_):i.push(J);break}let h={ind:y,mode:at,doc:B},W={ind:y,mode:Se,doc:B};if(T.length===2){j?i.push(h,_):i.push(W,J);break}T.splice(0,2);let Fe={ind:y,mode:C,doc:qt(T)},H=T[0];Jr({ind:y,mode:at,doc:[S,B,H]},[],A,c.length>0,r,!0)?i.push(Fe,h,_):j?i.push(Fe,W,_):i.push(Fe,W,J);break}case xe:case He:{let A=p.groupId?r[p.groupId]:C;if(A===Se){let T=p.type===xe?p.breakContents:p.negate?p.contents:f(p.contents);T&&i.push({ind:y,mode:C,doc:T})}if(A===at){let T=p.type===xe?p.flatContents:p.negate?f(p.contents):p.contents;T&&i.push({ind:y,mode:C,doc:T})}break}case Ve:c.push({ind:y,mode:C,doc:p.contents});break;case $e:c.length>0&&i.push({ind:y,mode:C,doc:Un});break;case me:switch(C){case at:if(p.hard)o=!0;else{p.soft||(a.push(" "),u+=1);break}case Se:if(c.length>0){i.push({ind:y,mode:C,doc:p},...c.reverse()),c.length=0;break}p.literal?y.root?(a.push(s,y.root.value),u=y.root.length):(a.push(s),u=0):(u-=es(a),a.push(s+y.value),u=y.length);break}break;case je:i.push({ind:y,mode:C,doc:p.contents});break;case ve:break;default:throw new Ct(p)}i.length===0&&c.length>0&&(i.push(...c.reverse()),c.length=0)}let D=a.indexOf(ar);if(D!==-1){let y=a.indexOf(ar,D+1),C=a.slice(0,D).join(""),p=a.slice(D+1,y).join(""),A=a.slice(y+1).join("");return{formatted:C+p+A,cursorNodeStart:C.length,cursorNodeText:p}}return{formatted:a.join("")}}function gp(e,t,r=0){let n=0;for(let s=r;s{if(i.push(t()),m.tail)return;let{tabWidth:D}=r,y=m.value.raw,C=y.includes(` +`)?Gu(y,D):o;o=C;let p=a[c],A=n[u][c],T=de(r.originalText,k(m),R(n.quasis[c+1]));if(!T){let B=ts(p,{...r,printWidth:Number.POSITIVE_INFINITY}).formatted;B.includes(` +`)?T=!0:p=B}T&&(d(A)||A.type==="Identifier"||q(A)||A.type==="ConditionalExpression"||A.type==="SequenceExpression"||Te(A)||De(A))&&(p=[f([E,p]),E]);let S=C===0&&y.endsWith(` +`)?he(Number.NEGATIVE_INFINITY,p):xu(p,C,D);i.push(l(["${",S,ke,"}"]))},"quasis"),i.push("`"),i}function Uu(e,t){let r=t("quasi");return it(r.label&&{tagged:!0,...r.label},[t("tag"),t(e.node.typeArguments?"typeArguments":"typeParameters"),ke,r])}function Bp(e,t,r){let{node:n}=e,s=n.quasis[0].value.raw.trim().split(/\s*\|\s*/u);if(s.length>1||s.some(u=>u.length>0)){t.__inJestEach=!0;let u=e.map(r,"expressions");t.__inJestEach=!1;let i=[],a=u.map(y=>"${"+ts(y,{...t,printWidth:Number.POSITIVE_INFINITY,endOfLine:"lf"}).formatted+"}"),o=[{hasLineBreak:!1,cells:[]}];for(let y=1;yy.cells.length)),m=Array.from({length:c}).fill(0),D=[{cells:s},...o.filter(y=>y.cells.length>0)];for(let{cells:y}of D.filter(C=>!C.hasLineBreak))for(let[C,p]of y.entries())m[C]=Math.max(m[C],et(p));return i.push(ke,"`",f([F,P(F,D.map(y=>P(" | ",y.cells.map((C,p)=>y.hasLineBreak?C:C+" ".repeat(m[p]-et(C))))))]),F,"`"),i}}function bp(e,t){let{node:r}=e,n=t();return d(r)&&(n=l([f([E,n]),E])),["${",n,ke,"}"]}function Gt(e,t){return e.map(r=>bp(r,t),"expressions")}function Wr(e,t){return mt(e,r=>typeof r=="string"?t?N(!1,r,/(\\*)`/gu,"$1$1\\`"):rs(r):r)}function rs(e){return N(!1,e,/([\\`]|\$\{)/gu,String.raw`\$1`)}function Pp({node:e,parent:t}){let r=/^[fx]?(?:describe|it|test)$/u;return t.type==="TaggedTemplateExpression"&&t.quasi===e&&t.tag.type==="MemberExpression"&&t.tag.property.type==="Identifier"&&t.tag.property.name==="each"&&(t.tag.object.type==="Identifier"&&r.test(t.tag.object.name)||t.tag.object.type==="MemberExpression"&&t.tag.object.property.type==="Identifier"&&(t.tag.object.property.name==="only"||t.tag.object.property.name==="skip")&&t.tag.object.object.type==="Identifier"&&r.test(t.tag.object.object.name))}var ss=[(e,t)=>e.type==="ObjectExpression"&&t==="properties",(e,t)=>e.type==="CallExpression"&&e.callee.type==="Identifier"&&e.callee.name==="Component"&&t==="arguments",(e,t)=>e.type==="Decorator"&&t==="expression"];function Nu(e){let t=n=>n.type==="TemplateLiteral",r=(n,s)=>Ae(n)&&!n.computed&&n.key.type==="Identifier"&&n.key.name==="styles"&&s==="value";return e.match(t,(n,s)=>U(n)&&s==="elements",r,...ss)||e.match(t,r,...ss)}function Xu(e){return e.match(t=>t.type==="TemplateLiteral",(t,r)=>Ae(t)&&!t.computed&&t.key.type==="Identifier"&&t.key.name==="template"&&r==="value",...ss)}function ns(e,t){return d(e,g.Block|g.Leading,({value:r})=>r===` ${t} `)}function Gr({node:e,parent:t},r){return ns(e,r)||kp(t)&&ns(t,r)||t.type==="ExpressionStatement"&&ns(t,r)}function kp(e){return e.type==="AsConstExpression"||e.type==="TSAsExpression"&&e.typeAnnotation.type==="TSTypeReference"&&e.typeAnnotation.typeName.type==="Identifier"&&e.typeAnnotation.typeName.name==="const"}async function Ip(e,t,r){let{node:n}=r,s=n.quasis.map(m=>m.value.raw),u=0,i=s.reduce((m,D,y)=>y===0?D:m+"@prettier-placeholder-"+u+++"-id"+D,""),a=await e(i,{parser:"scss"}),o=Gt(r,t),c=Lp(a,o);if(!c)throw new Error("Couldn't insert all the expressions");return["`",f([F,c]),E,"`"]}function Lp(e,t){if(!w(t))return e;let r=0,n=mt(Wt(e),s=>typeof s!="string"||!s.includes("@prettier-placeholder")?s:s.split(/@prettier-placeholder-(\d+)-id/u).map((u,i)=>i%2===0?Ie(u):(r++,t[u])));return t.length===r?n:null}function wp({node:e,parent:t,grandparent:r}){return r&&e.quasis&&t.type==="JSXExpressionContainer"&&r.type==="JSXElement"&&r.openingElement.name.name==="style"&&r.openingElement.attributes.some(n=>n.type==="JSXAttribute"&&n.name.name==="jsx")||(t==null?void 0:t.type)==="TaggedTemplateExpression"&&t.tag.type==="Identifier"&&t.tag.name==="css"||(t==null?void 0:t.type)==="TaggedTemplateExpression"&&t.tag.type==="MemberExpression"&&t.tag.object.name==="css"&&(t.tag.property.name==="global"||t.tag.property.name==="resolve")}function Ur(e){return e.type==="Identifier"&&e.name==="styled"}function Yu(e){return/^[A-Z]/u.test(e.object.name)&&e.property.name==="extend"}function Op({parent:e}){if(!e||e.type!=="TaggedTemplateExpression")return!1;let t=e.tag.type==="ParenthesizedExpression"?e.tag.expression:e.tag;switch(t.type){case"MemberExpression":return Ur(t.object)||Yu(t);case"CallExpression":return Ur(t.callee)||t.callee.type==="MemberExpression"&&(t.callee.object.type==="MemberExpression"&&(Ur(t.callee.object.object)||Yu(t.callee.object))||t.callee.object.type==="CallExpression"&&Ur(t.callee.object.callee));case"Identifier":return t.name==="css";default:return!1}}function _p({parent:e,grandparent:t}){return(t==null?void 0:t.type)==="JSXAttribute"&&e.type==="JSXExpressionContainer"&&t.name.type==="JSXIdentifier"&&t.name.name==="css"}function jp(e){if(wp(e)||Op(e)||_p(e)||Nu(e))return Ip}var Hu=jp;async function vp(e,t,r){let{node:n}=r,s=n.quasis.length,u=Gt(r,t),i=[];for(let a=0;a2&&y[0].trim()===""&&y[1].trim()==="",T=C>2&&y[C-1].trim()===""&&y[C-2].trim()==="",S=y.every(_=>/^\s*(?:#[^\n\r]*)?$/u.test(_));if(!m&&/#[^\n\r]*$/u.test(y[C-1]))return null;let B=null;S?B=Mp(y):B=await e(D,{parser:"graphql"}),B?(B=Wr(B,!1),!c&&A&&i.push(""),i.push(B),!m&&T&&i.push("")):!c&&!m&&A&&i.push(""),p&&i.push(p)}return["`",f([F,P(F,i)]),F,"`"]}function Mp(e){let t=[],r=!1,n=e.map(s=>s.trim());for(let[s,u]of n.entries())u!==""&&(n[s-1]===""&&r?t.push([F,u]):t.push(u),r=!0);return t.length===0?null:P(F,t)}function Rp({node:e,parent:t}){return Gr({node:e,parent:t},"GraphQL")||t&&(t.type==="TaggedTemplateExpression"&&(t.tag.type==="MemberExpression"&&t.tag.object.name==="graphql"&&t.tag.property.name==="experimental"||t.tag.type==="Identifier"&&(t.tag.name==="gql"||t.tag.name==="graphql"))||t.type==="CallExpression"&&t.callee.type==="Identifier"&&t.callee.name==="graphql")}function Jp(e){if(Rp(e))return vp}var Vu=Jp;var us=0;async function $u(e,t,r,n,s){let{node:u}=n,i=us;us=us+1>>>0;let a=S=>`PRETTIER_HTML_PLACEHOLDER_${S}_${i}_IN_JS`,o=u.quasis.map((S,B,_)=>B===_.length-1?S.value.cooked:S.value.cooked+a(B)).join(""),c=Gt(n,r),m=new RegExp(a(String.raw`(\d+)`),"gu"),D=0,y=await t(o,{parser:e,__onHtmlRoot(S){D=S.children.length}}),C=mt(y,S=>{if(typeof S!="string")return S;let B=[],_=S.split(m);for(let J=0;J<_.length;J++){let j=_[J];if(J%2===0){j&&(j=rs(j),s.__embeddedInHtml&&(j=N(!1,j,/<\/(?=script\b)/giu,String.raw`<\/`)),B.push(j));continue}let h=Number(j);B.push(c[h])}return B}),p=/^\s/u.test(o)?" ":"",A=/\s$/u.test(o)?" ":"",T=s.htmlWhitespaceSensitivity==="ignore"?F:p&&A?x:null;return T?l(["`",f([T,l(C)]),T,"`"]):it({hug:!1},l(["`",p,D>1?f(l(C)):l(C),A,"`"]))}function qp(e){return Gr(e,"HTML")||e.match(t=>t.type==="TemplateLiteral",(t,r)=>t.type==="TaggedTemplateExpression"&&t.tag.type==="Identifier"&&t.tag.name==="html"&&r==="quasi")}var Wp=$u.bind(void 0,"html"),Gp=$u.bind(void 0,"angular");function Up(e){if(qp(e))return Wp;if(Xu(e))return Gp}var Ku=Up;async function Np(e,t,r){let{node:n}=r,s=N(!1,n.quasis[0].value.raw,/((?:\\\\)*)\\`/gu,(o,c)=>"\\".repeat(c.length/2)+"`"),u=Xp(s),i=u!=="";i&&(s=N(!1,s,new RegExp(`^${u}`,"gmu"),""));let a=Wr(await e(s,{parser:"markdown",__inJsTemplate:!0}),!0);return["`",i?f([E,a]):[Rr,du(a)],E,"`"]}function Xp(e){let t=e.match(/^([^\S\n]*)\S/mu);return t===null?"":t[1]}function Yp(e){if(Hp(e))return Np}function Hp({node:e,parent:t}){return(t==null?void 0:t.type)==="TaggedTemplateExpression"&&e.quasis.length===1&&t.tag.type==="Identifier"&&(t.tag.name==="md"||t.tag.name==="markdown")}var zu=Yp;function Vp(e){let{node:t}=e;if(t.type!=="TemplateLiteral"||$p(t))return;let r;for(let n of[Hu,Vu,Ku,zu])if(r=n(e),!!r)return t.quasis.length===1&&t.quasis[0].value.raw.trim()===""?"``":async(...s)=>{let u=await r(...s);return u&&it({embed:!0,...u.label},u)}}function $p({quasis:e}){return e.some(({value:{cooked:t}})=>t===null)}var Qu=Vp;var Kp=/\*\/$/,zp=/^\/\*\*?/,ri=/^\s*(\/\*\*?(.|\r?\n)*?\*\/)/,Qp=/(^|\s+)\/\/([^\n\r]*)/g,Zu=/^(\r?\n)+/,Zp=/(?:^|\r?\n) *(@[^\n\r]*?) *\r?\n *(?![^\n\r@]*\/\/[^]*)([^\s@][^\n\r@]+?) *\r?\n/g,ei=/(?:^|\r?\n) *@(\S+) *([^\n\r]*)/g,ec=/(\r?\n|^) *\* ?/g,ni=[];function si(e){let t=e.match(ri);return t?t[0].trimStart():""}function ui(e){let t=e.match(ri),r=t==null?void 0:t[0];return r==null?e:e.slice(r.length)}function ii(e){let t=` +`;e=N(!1,e.replace(zp,"").replace(Kp,""),ec,"$1");let r="";for(;r!==e;)r=e,e=N(!1,e,Zp,`${t}$1 $2${t}`);e=e.replace(Zu,"").trimEnd();let n=Object.create(null),s=N(!1,e,ei,"").replace(Zu,"").trimEnd(),u;for(;u=ei.exec(e);){let i=N(!1,u[2],Qp,"");if(typeof n[u[1]]=="string"||Array.isArray(n[u[1]])){let a=n[u[1]];n[u[1]]=[...ni,...Array.isArray(a)?a:[a],i]}else n[u[1]]=i}return{comments:s,pragmas:n}}function ai({comments:e="",pragmas:t={}}){let r=` +`,n="/**",s=" *",u=" */",i=Object.keys(t),a=i.flatMap(c=>ti(c,t[c])).map(c=>`${s} ${c}${r}`).join("");if(!e){if(i.length===0)return"";if(i.length===1&&!Array.isArray(t[i[0]])){let c=t[i[0]];return`${n} ${ti(i[0],c)[0]}${u}`}}let o=e.split(r).map(c=>`${s} ${c}`).join(r)+r;return n+r+(e?o:"")+(e&&i.length>0?s+r:"")+a+u}function ti(e,t){return[...ni,...Array.isArray(t)?t:[t]].map(r=>`@${e} ${r}`.trim())}function tc(e){if(!e.startsWith("#!"))return"";let t=e.indexOf(` +`);return t===-1?e:e.slice(0,t)}var oi=tc;function rc(e){let t=oi(e);t&&(e=e.slice(t.length+1));let r=si(e),{pragmas:n,comments:s}=ii(r);return{shebang:t,text:e,pragmas:n,comments:s}}function pi(e){let{shebang:t,text:r,pragmas:n,comments:s}=rc(e),u=ui(r),i=ai({pragmas:{format:"",...n},comments:s.trimStart()});return(t?`${t} `:"")+i+(u.startsWith(` `)?` `:` -`)+u}var il={avoidAstMutation:!0};var Qi=[{linguistLanguageId:183,name:"JavaScript",type:"programming",tmScope:"source.js",aceMode:"javascript",codemirrorMode:"javascript",codemirrorMimeType:"text/javascript",color:"#f1e05a",aliases:["js","node"],extensions:[".js","._js",".bones",".cjs",".es",".es6",".frag",".gs",".jake",".javascript",".jsb",".jscad",".jsfl",".jslib",".jsm",".jspre",".jss",".mjs",".njs",".pac",".sjs",".ssjs",".xsjs",".xsjslib",".wxs"],filenames:["Jakefile"],interpreters:["chakra","d8","gjs","js","node","nodejs","qjs","rhino","v8","v8-shell","zx"],parsers:["babel","acorn","espree","meriyah","babel-flow","babel-ts","flow","typescript"],vscodeLanguageIds:["javascript","mongo"]},{linguistLanguageId:183,name:"Flow",type:"programming",tmScope:"source.js",aceMode:"javascript",codemirrorMode:"javascript",codemirrorMimeType:"text/javascript",color:"#f1e05a",aliases:[],extensions:[".js.flow"],filenames:[],interpreters:["chakra","d8","gjs","js","node","nodejs","qjs","rhino","v8","v8-shell"],parsers:["flow","babel-flow"],vscodeLanguageIds:["javascript"]},{linguistLanguageId:183,name:"JSX",type:"programming",tmScope:"source.js.jsx",aceMode:"javascript",codemirrorMode:"jsx",codemirrorMimeType:"text/jsx",color:void 0,aliases:void 0,extensions:[".jsx"],filenames:void 0,interpreters:void 0,parsers:["babel","babel-flow","babel-ts","flow","typescript","espree","meriyah"],vscodeLanguageIds:["javascriptreact"],group:"JavaScript"},{linguistLanguageId:378,name:"TypeScript",type:"programming",color:"#3178c6",aliases:["ts"],interpreters:["deno","ts-node"],extensions:[".ts",".cts",".mts"],tmScope:"source.ts",aceMode:"typescript",codemirrorMode:"javascript",codemirrorMimeType:"application/typescript",parsers:["typescript","babel-ts"],vscodeLanguageIds:["typescript"]},{linguistLanguageId:94901924,name:"TSX",type:"programming",color:"#3178c6",group:"TypeScript",extensions:[".tsx"],tmScope:"source.tsx",aceMode:"javascript",codemirrorMode:"jsx",codemirrorMimeType:"text/jsx",parsers:["typescript","babel-ts"],vscodeLanguageIds:["typescriptreact"]}];var Ss={};cr(Ss,{getVisitorKeys:()=>ea,massageAstNode:()=>ra,print:()=>pl});var al={JsonRoot:["node"],ArrayExpression:["elements"],ObjectExpression:["properties"],ObjectProperty:["key","value"],UnaryExpression:["argument"],NullLiteral:[],BooleanLiteral:[],StringLiteral:[],NumericLiteral:[],Identifier:[],TemplateLiteral:["quasis"],TemplateElement:[]},Zi=al;var ol=Er(Zi),ea=ol;function pl(e,t,r){let{node:n}=e;switch(n.type){case"JsonRoot":return[r("node"),C];case"ArrayExpression":{if(n.elements.length===0)return"[]";let s=e.map(()=>e.node===null?"null":r(),"elements");return["[",E([C,B([",",C],s)]),C,"]"]}case"ObjectExpression":return n.properties.length===0?"{}":["{",E([C,B([",",C],e.map(r,"properties"))]),C,"}"];case"ObjectProperty":return[r("key"),": ",r("value")];case"UnaryExpression":return[n.operator==="+"?"":n.operator,r("argument")];case"NullLiteral":return"null";case"BooleanLiteral":return n.value?"true":"false";case"StringLiteral":return JSON.stringify(n.value);case"NumericLiteral":return ta(e)?JSON.stringify(String(n.value)):JSON.stringify(n.value);case"Identifier":return ta(e)?JSON.stringify(n.name):n.name;case"TemplateLiteral":return r(["quasis",0]);case"TemplateElement":return JSON.stringify(n.value.cooked);default:throw new Oe(n,"JSON")}}function ta(e){return e.key==="key"&&e.parent.type==="ObjectProperty"}var cl=new Set(["start","end","extra","loc","comments","leadingComments","trailingComments","innerComments","errors","range","tokens"]);function ra(e,t){let{type:r}=e;if(r==="ObjectProperty"){let{key:n}=e;n.type==="Identifier"?t.key={type:"StringLiteral",value:n.name}:n.type==="NumericLiteral"&&(t.key={type:"StringLiteral",value:String(n.value)});return}if(r==="UnaryExpression"&&e.operator==="+")return t.argument;if(r==="ArrayExpression"){for(let[n,s]of e.elements.entries())s===null&&t.elements.splice(n,0,{type:"NullLiteral"});return}if(r==="TemplateLiteral")return{type:"StringLiteral",value:e.quasis[0].value.cooked}}ra.ignoredProperties=cl;var na=[{linguistLanguageId:174,name:"JSON.stringify",type:"data",color:"#292929",tmScope:"source.json",aceMode:"json",codemirrorMode:"javascript",codemirrorMimeType:"application/json",aliases:["geojson","jsonl","topojson"],extensions:[".importmap"],filenames:["package.json","package-lock.json","composer.json"],parsers:["json-stringify"],vscodeLanguageIds:["json"]},{linguistLanguageId:174,name:"JSON",type:"data",color:"#292929",tmScope:"source.json",aceMode:"json",codemirrorMode:"javascript",codemirrorMimeType:"application/json",aliases:["geojson","jsonl","topojson"],extensions:[".json",".4DForm",".4DProject",".avsc",".geojson",".gltf",".har",".ice",".JSON-tmLanguage",".mcmeta",".tfstate",".tfstate.backup",".topojson",".webapp",".webmanifest",".yy",".yyp"],filenames:[".arcconfig",".auto-changelog",".c8rc",".htmlhintrc",".imgbotconfig",".nycrc",".tern-config",".tern-project",".watchmanconfig","Pipfile.lock","composer.lock","mcmod.info"],parsers:["json"],vscodeLanguageIds:["json"]},{linguistLanguageId:423,name:"JSON with Comments",type:"data",color:"#292929",group:"JSON",tmScope:"source.js",aceMode:"javascript",codemirrorMode:"javascript",codemirrorMimeType:"text/javascript",aliases:["jsonc"],extensions:[".jsonc",".code-snippets",".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",".eslintrc",".swcrc"],parsers:["json"],vscodeLanguageIds:["jsonc"]},{linguistLanguageId:175,name:"JSON5",type:"data",color:"#267CB9",extensions:[".json5"],tmScope:"source.js",aceMode:"javascript",codemirrorMode:"javascript",codemirrorMimeType:"application/json",parsers:["json5"],vscodeLanguageIds:["json5"]}];var ar={bracketSpacing:{category:"Common",type:"boolean",default:!0,description:"Print spaces between brackets.",oppositeDescription:"Do not print spaces between brackets."},singleQuote:{category:"Common",type:"boolean",default:!1,description:"Use single quotes instead of double quotes."},proseWrap:{category:"Common",type:"choice",default:"preserve",description:"How to wrap prose.",choices:[{value:"always",description:"Wrap prose if it exceeds the print width."},{value:"never",description:"Do not wrap prose."},{value:"preserve",description:"Wrap prose as-is."}]},bracketSameLine:{category:"Common",type:"boolean",default:!1,description:"Put > of opening tags on the last line instead of on a new line."},singleAttributePerLine:{category:"Common",type:"boolean",default:!1,description:"Enforce single attribute per line in HTML, Vue and JSX."}};var Nt="JavaScript",ll={arrowParens:{category:Nt,type:"choice",default:"always",description:"Include parentheses around a sole arrow function parameter.",choices:[{value:"always",description:"Always include parens. Example: `(x) => x`"},{value:"avoid",description:"Omit parens when possible. Example: `x => x`"}]},bracketSameLine:ar.bracketSameLine,bracketSpacing:ar.bracketSpacing,jsxBracketSameLine:{category:Nt,type:"boolean",description:"Put > on the last line instead of at a new line.",deprecated:"2.4.0"},semi:{category:Nt,type:"boolean",default:!0,description:"Print semicolons.",oppositeDescription:"Do not print semicolons, except at the beginning of lines which may need them."},singleQuote:ar.singleQuote,jsxSingleQuote:{category:Nt,type:"boolean",default:!1,description:"Use single quotes in JSX."},quoteProps:{category:Nt,type:"choice",default:"as-needed",description:"Change when properties in objects are quoted.",choices:[{value:"as-needed",description:"Only add quotes around object properties where required."},{value:"consistent",description:"If at least one property in an object requires quotes, quote all properties."},{value:"preserve",description:"Respect the input use of quotes in object properties."}]},trailingComma:{category:Nt,type:"choice",default:"all",description:"Print trailing commas wherever possible when multi-line.",choices:[{value:"all",description:"Trailing commas wherever possible (including function arguments)."},{value:"es5",description:"Trailing commas where valid in ES5 (objects, arrays, etc.)"},{value:"none",description:"No trailing commas."}]},singleAttributePerLine:ar.singleAttributePerLine},sa=ll;var ml={estree:hs,"estree-json":Ss},Dl=[...Qi,...na];return ma(yl);}); \ No newline at end of file +`)+u}function nc(e,t){let{originalText:r,[Symbol.for("comments")]:n,locStart:s,locEnd:u,[Symbol.for("printedComments")]:i}=t,{node:a}=e,o=s(a),c=u(a);for(let m of n)s(m)>=o&&u(m)<=c&&i.add(m);return r.slice(o,c)}var ci=nc;function is(e,t){var u,i,a,o,c,m,D,y,C;if(e.isRoot)return!1;let{node:r,key:n,parent:s}=e;if(t.__isInHtmlInterpolation&&!t.bracketSpacing&&ac(r)&&or(e))return!0;if(sc(r))return!1;if(r.type==="Identifier"){if((u=r.extra)!=null&&u.parenthesized&&/^PRETTIER_HTML_PLACEHOLDER_\d+_\d+_IN_JS$/u.test(r.name)||n==="left"&&(r.name==="async"&&!s.await||r.name==="let")&&s.type==="ForOfStatement")return!0;if(r.name==="let"){let p=(i=e.findAncestor(A=>A.type==="ForOfStatement"))==null?void 0:i.left;if(p&&ie(p,A=>A===r))return!0}if(n==="object"&&r.name==="let"&&s.type==="MemberExpression"&&s.computed&&!s.optional){let p=e.findAncestor(T=>T.type==="ExpressionStatement"||T.type==="ForStatement"||T.type==="ForInStatement"),A=p?p.type==="ExpressionStatement"?p.expression:p.type==="ForStatement"?p.init:p.left:void 0;if(A&&ie(A,T=>T===r))return!0}if(n==="expression")switch(r.name){case"await":case"interface":case"module":case"using":case"yield":case"let":case"component":case"hook":case"type":{let p=e.findAncestor(A=>!Te(A));if(p!==s&&p.type==="ExpressionStatement")return!0}}return!1}if(r.type==="ObjectExpression"||r.type==="FunctionExpression"||r.type==="ClassExpression"||r.type==="DoExpression"){let p=(a=e.findAncestor(A=>A.type==="ExpressionStatement"))==null?void 0:a.expression;if(p&&ie(p,A=>A===r))return!0}if(r.type==="ObjectExpression"){let p=(o=e.findAncestor(A=>A.type==="ArrowFunctionExpression"))==null?void 0:o.body;if(p&&p.type!=="SequenceExpression"&&p.type!=="AssignmentExpression"&&ie(p,A=>A===r))return!0}switch(s.type){case"ParenthesizedExpression":return!1;case"ClassDeclaration":case"ClassExpression":if(n==="superClass"&&(r.type==="ArrowFunctionExpression"||r.type==="AssignmentExpression"||r.type==="AwaitExpression"||r.type==="BinaryExpression"||r.type==="ConditionalExpression"||r.type==="LogicalExpression"||r.type==="NewExpression"||r.type==="ObjectExpression"||r.type==="SequenceExpression"||r.type==="TaggedTemplateExpression"||r.type==="UnaryExpression"||r.type==="UpdateExpression"||r.type==="YieldExpression"||r.type==="TSNonNullExpression"||r.type==="ClassExpression"&&w(r.decorators)))return!0;break;case"ExportDefaultDeclaration":return li(e,t)||r.type==="SequenceExpression";case"Decorator":if(n==="expression"&&!pc(r))return!0;break;case"TypeAnnotation":if(e.match(void 0,void 0,(p,A)=>A==="returnType"&&p.type==="ArrowFunctionExpression")&&ic(r))return!0;break;case"BinaryExpression":if(n==="left"&&(s.operator==="in"||s.operator==="instanceof")&&r.type==="UnaryExpression")return!0;break;case"VariableDeclarator":if(n==="init"&&e.match(void 0,void 0,(p,A)=>A==="declarations"&&p.type==="VariableDeclaration",(p,A)=>A==="left"&&p.type==="ForInStatement"))return!0;break}switch(r.type){case"UpdateExpression":if(s.type==="UnaryExpression")return r.prefix&&(r.operator==="++"&&s.operator==="+"||r.operator==="--"&&s.operator==="-");case"UnaryExpression":switch(s.type){case"UnaryExpression":return r.operator===s.operator&&(r.operator==="+"||r.operator==="-");case"BindExpression":return!0;case"MemberExpression":case"OptionalMemberExpression":return n==="object";case"TaggedTemplateExpression":return!0;case"NewExpression":case"CallExpression":case"OptionalCallExpression":return n==="callee";case"BinaryExpression":return n==="left"&&s.operator==="**";case"TSNonNullExpression":return!0;default:return!1}case"BinaryExpression":if(s.type==="UpdateExpression"||r.operator==="in"&&uc(e))return!0;if(r.operator==="|>"&&((c=r.extra)!=null&&c.parenthesized)){let p=e.grandparent;if(p.type==="BinaryExpression"&&p.operator==="|>")return!0}case"TSTypeAssertion":case"TSAsExpression":case"TSSatisfiesExpression":case"AsExpression":case"AsConstExpression":case"SatisfiesExpression":case"LogicalExpression":switch(s.type){case"TSAsExpression":case"TSSatisfiesExpression":case"AsExpression":case"AsConstExpression":case"SatisfiesExpression":return!Te(r);case"ConditionalExpression":return Te(r)||au(r);case"CallExpression":case"NewExpression":case"OptionalCallExpression":return n==="callee";case"ClassExpression":case"ClassDeclaration":return n==="superClass";case"TSTypeAssertion":case"TaggedTemplateExpression":case"UnaryExpression":case"JSXSpreadAttribute":case"SpreadElement":case"BindExpression":case"AwaitExpression":case"TSNonNullExpression":case"UpdateExpression":return!0;case"MemberExpression":case"OptionalMemberExpression":return n==="object";case"AssignmentExpression":case"AssignmentPattern":return n==="left"&&(r.type==="TSTypeAssertion"||Te(r));case"LogicalExpression":if(r.type==="LogicalExpression")return s.operator!==r.operator;case"BinaryExpression":{let{operator:p,type:A}=r;if(!p&&A!=="TSTypeAssertion")return!0;let T=er(p),S=s.operator,B=er(S);return B>T||n==="right"&&B===T||B===T&&!nr(S,p)?!0:B");default:return!1}case"TSFunctionType":if(e.match(p=>p.type==="TSFunctionType",(p,A)=>A==="typeAnnotation"&&p.type==="TSTypeAnnotation",(p,A)=>A==="returnType"&&p.type==="ArrowFunctionExpression"))return!0;case"TSConditionalType":case"TSConstructorType":if(n==="extendsType"&&s.type==="TSConditionalType"){if(r.type==="TSConditionalType")return!0;let{typeAnnotation:p}=r.returnType||r.typeAnnotation;if(p.type==="TSTypePredicate"&&p.typeAnnotation&&(p=p.typeAnnotation.typeAnnotation),p.type==="TSInferType"&&p.typeParameter.constraint)return!0}if(n==="checkType"&&s.type==="TSConditionalType")return!0;case"TSUnionType":case"TSIntersectionType":if((s.type==="TSUnionType"||s.type==="TSIntersectionType")&&s.types.length>1&&(!r.types||r.types.length>1))return!0;case"TSInferType":if(r.type==="TSInferType"){if(s.type==="TSRestType")return!1;if(n==="types"&&(s.type==="TSUnionType"||s.type==="TSIntersectionType")&&r.typeParameter.type==="TSTypeParameter"&&r.typeParameter.constraint)return!0}case"TSTypeOperator":return s.type==="TSArrayType"||s.type==="TSOptionalType"||s.type==="TSRestType"||n==="objectType"&&s.type==="TSIndexedAccessType"||s.type==="TSTypeOperator"||s.type==="TSTypeAnnotation"&&e.grandparent.type.startsWith("TSJSDoc");case"TSTypeQuery":return n==="objectType"&&s.type==="TSIndexedAccessType"||n==="elementType"&&s.type==="TSArrayType";case"TypeOperator":return s.type==="ArrayTypeAnnotation"||s.type==="NullableTypeAnnotation"||n==="objectType"&&(s.type==="IndexedAccessType"||s.type==="OptionalIndexedAccessType")||s.type==="TypeOperator";case"TypeofTypeAnnotation":return n==="objectType"&&(s.type==="IndexedAccessType"||s.type==="OptionalIndexedAccessType")||n==="elementType"&&s.type==="ArrayTypeAnnotation";case"ArrayTypeAnnotation":return s.type==="NullableTypeAnnotation";case"IntersectionTypeAnnotation":case"UnionTypeAnnotation":return s.type==="TypeOperator"||s.type==="ArrayTypeAnnotation"||s.type==="NullableTypeAnnotation"||s.type==="IntersectionTypeAnnotation"||s.type==="UnionTypeAnnotation"||n==="objectType"&&(s.type==="IndexedAccessType"||s.type==="OptionalIndexedAccessType");case"InferTypeAnnotation":case"NullableTypeAnnotation":return s.type==="ArrayTypeAnnotation"||n==="objectType"&&(s.type==="IndexedAccessType"||s.type==="OptionalIndexedAccessType");case"ComponentTypeAnnotation":case"FunctionTypeAnnotation":{if(r.type==="ComponentTypeAnnotation"&&(r.rendersType===null||r.rendersType===void 0))return!1;if(e.match(void 0,(A,T)=>T==="typeAnnotation"&&A.type==="TypeAnnotation",(A,T)=>T==="returnType"&&A.type==="ArrowFunctionExpression")||e.match(void 0,(A,T)=>T==="typeAnnotation"&&A.type==="TypePredicate",(A,T)=>T==="typeAnnotation"&&A.type==="TypeAnnotation",(A,T)=>T==="returnType"&&A.type==="ArrowFunctionExpression"))return!0;let p=s.type==="NullableTypeAnnotation"?e.grandparent:s;return p.type==="UnionTypeAnnotation"||p.type==="IntersectionTypeAnnotation"||p.type==="ArrayTypeAnnotation"||n==="objectType"&&(p.type==="IndexedAccessType"||p.type==="OptionalIndexedAccessType")||n==="checkType"&&s.type==="ConditionalTypeAnnotation"||n==="extendsType"&&s.type==="ConditionalTypeAnnotation"&&((m=r.returnType)==null?void 0:m.type)==="InferTypeAnnotation"&&((D=r.returnType)==null?void 0:D.typeParameter.bound)||p.type==="NullableTypeAnnotation"||s.type==="FunctionTypeParam"&&s.name===null&&K(r).some(A=>{var T;return((T=A.typeAnnotation)==null?void 0:T.type)==="NullableTypeAnnotation"})}case"ConditionalTypeAnnotation":if(n==="extendsType"&&s.type==="ConditionalTypeAnnotation"&&r.type==="ConditionalTypeAnnotation"||n==="checkType"&&s.type==="ConditionalTypeAnnotation")return!0;case"OptionalIndexedAccessType":return n==="objectType"&&s.type==="IndexedAccessType";case"StringLiteral":case"NumericLiteral":case"Literal":if(typeof r.value=="string"&&s.type==="ExpressionStatement"&&!s.directive){let p=e.grandparent;return p.type==="Program"||p.type==="BlockStatement"}return n==="object"&&s.type==="MemberExpression"&&typeof r.value=="number";case"AssignmentExpression":{let p=e.grandparent;return n==="body"&&s.type==="ArrowFunctionExpression"?!0:n==="key"&&(s.type==="ClassProperty"||s.type==="PropertyDefinition")&&s.computed||(n==="init"||n==="update")&&s.type==="ForStatement"?!1:s.type==="ExpressionStatement"?r.left.type==="ObjectPattern":!(n==="key"&&s.type==="TSPropertySignature"||s.type==="AssignmentExpression"||s.type==="SequenceExpression"&&p.type==="ForStatement"&&(p.init===s||p.update===s)||n==="value"&&s.type==="Property"&&p.type==="ObjectPattern"&&p.properties.includes(s)||s.type==="NGChainedExpression")}case"ConditionalExpression":switch(s.type){case"TaggedTemplateExpression":case"UnaryExpression":case"SpreadElement":case"BinaryExpression":case"LogicalExpression":case"NGPipeExpression":case"ExportDefaultDeclaration":case"AwaitExpression":case"JSXSpreadAttribute":case"TSTypeAssertion":case"TypeCastExpression":case"TSAsExpression":case"TSSatisfiesExpression":case"AsExpression":case"AsConstExpression":case"SatisfiesExpression":case"TSNonNullExpression":return!0;case"NewExpression":case"CallExpression":case"OptionalCallExpression":return n==="callee";case"ConditionalExpression":return t.experimentalTernaries?!1:n==="test";case"MemberExpression":case"OptionalMemberExpression":return n==="object";default:return!1}case"FunctionExpression":switch(s.type){case"NewExpression":case"CallExpression":case"OptionalCallExpression":return n==="callee";case"TaggedTemplateExpression":return!0;default:return!1}case"ArrowFunctionExpression":switch(s.type){case"BinaryExpression":return s.operator!=="|>"||((y=r.extra)==null?void 0:y.parenthesized);case"NewExpression":case"CallExpression":case"OptionalCallExpression":return n==="callee";case"MemberExpression":case"OptionalMemberExpression":return n==="object";case"TSAsExpression":case"TSSatisfiesExpression":case"AsExpression":case"AsConstExpression":case"SatisfiesExpression":case"TSNonNullExpression":case"BindExpression":case"TaggedTemplateExpression":case"UnaryExpression":case"LogicalExpression":case"AwaitExpression":case"TSTypeAssertion":return!0;case"ConditionalExpression":return n==="test";default:return!1}case"ClassExpression":switch(s.type){case"NewExpression":return n==="callee";default:return!1}case"OptionalMemberExpression":case"OptionalCallExpression":case"CallExpression":case"MemberExpression":if(oc(e))return!0;case"TaggedTemplateExpression":case"TSNonNullExpression":if(n==="callee"&&(s.type==="BindExpression"||s.type==="NewExpression")){let p=r;for(;p;)switch(p.type){case"CallExpression":case"OptionalCallExpression":return!0;case"MemberExpression":case"OptionalMemberExpression":case"BindExpression":p=p.object;break;case"TaggedTemplateExpression":p=p.tag;break;case"TSNonNullExpression":p=p.expression;break;default:return!1}}return!1;case"BindExpression":return n==="callee"&&(s.type==="BindExpression"||s.type==="NewExpression")||n==="object"&&q(s);case"NGPipeExpression":return!(s.type==="NGRoot"||s.type==="NGMicrosyntaxExpression"||s.type==="ObjectProperty"&&!((C=r.extra)!=null&&C.parenthesized)||U(s)||n==="arguments"&&L(s)||n==="right"&&s.type==="NGPipeExpression"||n==="property"&&s.type==="MemberExpression"||s.type==="AssignmentExpression");case"JSXFragment":case"JSXElement":return n==="callee"||n==="left"&&s.type==="BinaryExpression"&&s.operator==="<"||!U(s)&&s.type!=="ArrowFunctionExpression"&&s.type!=="AssignmentExpression"&&s.type!=="AssignmentPattern"&&s.type!=="BinaryExpression"&&s.type!=="NewExpression"&&s.type!=="ConditionalExpression"&&s.type!=="ExpressionStatement"&&s.type!=="JsExpressionRoot"&&s.type!=="JSXAttribute"&&s.type!=="JSXElement"&&s.type!=="JSXExpressionContainer"&&s.type!=="JSXFragment"&&s.type!=="LogicalExpression"&&!L(s)&&!Ae(s)&&s.type!=="ReturnStatement"&&s.type!=="ThrowStatement"&&s.type!=="TypeCastExpression"&&s.type!=="VariableDeclarator"&&s.type!=="YieldExpression";case"TSInstantiationExpression":return n==="object"&&q(s)}return!1}var sc=v(["BlockStatement","BreakStatement","ComponentDeclaration","ClassBody","ClassDeclaration","ClassMethod","ClassProperty","PropertyDefinition","ClassPrivateProperty","ContinueStatement","DebuggerStatement","DeclareComponent","DeclareClass","DeclareExportAllDeclaration","DeclareExportDeclaration","DeclareFunction","DeclareHook","DeclareInterface","DeclareModule","DeclareModuleExports","DeclareNamespace","DeclareVariable","DeclareEnum","DoWhileStatement","EnumDeclaration","ExportAllDeclaration","ExportDefaultDeclaration","ExportNamedDeclaration","ExpressionStatement","ForInStatement","ForOfStatement","ForStatement","FunctionDeclaration","HookDeclaration","IfStatement","ImportDeclaration","InterfaceDeclaration","LabeledStatement","MethodDefinition","ReturnStatement","SwitchStatement","ThrowStatement","TryStatement","TSDeclareFunction","TSEnumDeclaration","TSImportEqualsDeclaration","TSInterfaceDeclaration","TSModuleDeclaration","TSNamespaceExportDeclaration","TypeAlias","VariableDeclaration","WhileStatement","WithStatement"]);function uc(e){let t=0,{node:r}=e;for(;r;){let n=e.getParentNode(t++);if((n==null?void 0:n.type)==="ForStatement"&&n.init===r)return!0;r=n}return!1}function ic(e){return tr(e,t=>t.type==="ObjectTypeAnnotation"&&tr(t,r=>r.type==="FunctionTypeAnnotation"))}function ac(e){return se(e)}function or(e){let{parent:t,key:r}=e;switch(t.type){case"NGPipeExpression":if(r==="arguments"&&e.isLast)return e.callParent(or);break;case"ObjectProperty":if(r==="value")return e.callParent(()=>e.key==="properties"&&e.isLast);break;case"BinaryExpression":case"LogicalExpression":if(r==="right")return e.callParent(or);break;case"ConditionalExpression":if(r==="alternate")return e.callParent(or);break;case"UnaryExpression":if(t.prefix)return e.callParent(or);break}return!1}function li(e,t){let{node:r,parent:n}=e;return r.type==="FunctionExpression"||r.type==="ClassExpression"?n.type==="ExportDefaultDeclaration"||!is(e,t):!jt(r)||n.type!=="ExportDefaultDeclaration"&&is(e,t)?!1:e.call(()=>li(e,t),...Pr(r))}function oc(e){let{node:t,parent:r,grandparent:n,key:s}=e;return!!((t.type==="OptionalMemberExpression"||t.type==="OptionalCallExpression")&&(s==="object"&&r.type==="MemberExpression"||s==="callee"&&(r.type==="CallExpression"||r.type==="NewExpression")||r.type==="TSNonNullExpression"&&n.type==="MemberExpression"&&n.object===r)||e.match(()=>t.type==="CallExpression"||t.type==="MemberExpression",(u,i)=>i==="expression"&&u.type==="ChainExpression")&&(e.match(void 0,void 0,(u,i)=>i==="callee"&&(u.type==="CallExpression"&&!u.optional||u.type==="NewExpression")||i==="object"&&u.type==="MemberExpression"&&!u.optional)||e.match(void 0,void 0,(u,i)=>i==="expression"&&u.type==="TSNonNullExpression",(u,i)=>i==="object"&&u.type==="MemberExpression"))||e.match(()=>t.type==="CallExpression"||t.type==="MemberExpression",(u,i)=>i==="expression"&&u.type==="TSNonNullExpression",(u,i)=>i==="expression"&&u.type==="ChainExpression",(u,i)=>i==="object"&&u.type==="MemberExpression"))}function as(e){return e.type==="Identifier"?!0:q(e)?!e.computed&&!e.optional&&e.property.type==="Identifier"&&as(e.object):!1}function pc(e){return e.type==="ChainExpression"&&(e=e.expression),as(e)||L(e)&&!e.optional&&as(e.callee)}var Be=is;function cc(e,t){let r=t-1;r=Ge(e,r,{backwards:!0}),r=Ue(e,r,{backwards:!0}),r=Ge(e,r,{backwards:!0});let n=Ue(e,r,{backwards:!0});return r!==n}var mi=cc;var lc=()=>!0;function os(e,t){let r=e.node;return r.printed=!0,t.printer.printComment(e,t)}function mc(e,t){var m;let r=e.node,n=[os(e,t)],{printer:s,originalText:u,locStart:i,locEnd:a}=t;if((m=s.isBlockComment)==null?void 0:m.call(s,r)){let D=te(u,a(r))?te(u,i(r),{backwards:!0})?F:x:" ";n.push(D)}else n.push(F);let c=Ue(u,Ge(u,a(r)));return c!==!1&&te(u,c)&&n.push(F),n}function yc(e,t,r){var c;let n=e.node,s=os(e,t),{printer:u,originalText:i,locStart:a}=t,o=(c=u.isBlockComment)==null?void 0:c.call(u,n);if(r!=null&&r.hasLineSuffix&&!(r!=null&&r.isBlock)||te(i,a(n),{backwards:!0})){let m=mi(i,a(n));return{doc:Gn([F,m?F:"",s]),isBlock:o,hasLineSuffix:!0}}return!o||r!=null&&r.hasLineSuffix?{doc:[Gn([" ",s]),Ee],isBlock:o,hasLineSuffix:!0}:{doc:[" ",s],isBlock:o,hasLineSuffix:!1}}function M(e,t,r={}){let{node:n}=e;if(!w(n==null?void 0:n.comments))return"";let{indent:s=!1,marker:u,filter:i=lc}=r,a=[];if(e.each(({node:c})=>{c.leading||c.trailing||c.marker!==u||!i(c)||a.push(os(e,t))},"comments"),a.length===0)return"";let o=P(F,a);return s?f([F,o]):o}function ps(e,t){let r=e.node;if(!r)return{};let n=t[Symbol.for("printedComments")];if((r.comments||[]).filter(o=>!n.has(o)).length===0)return{leading:"",trailing:""};let u=[],i=[],a;return e.each(()=>{let o=e.node;if(n!=null&&n.has(o))return;let{leading:c,trailing:m}=o;c?u.push(mc(e,t)):m&&(a=yc(e,t,a),i.push(a.doc))},"comments"),{leading:u,trailing:i}}function ye(e,t,r){let{leading:n,trailing:s}=ps(e,r);return!n&&!s?t:ir(t,u=>[n,u,s])}var cs=class extends Error{name="UnexpectedNodeError";constructor(t,r,n="type"){super(`Unexpected ${r} node ${n}: ${JSON.stringify(t[n])}.`),this.node=t}},Me=cs;function ls(e){if(typeof e!="string")throw new TypeError("Expected a string");return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}var Re,ms=class{constructor(t){Ws(this,Re);Gs(this,Re,new Set(t))}getLeadingWhitespaceCount(t){let r=pt(this,Re),n=0;for(let s=0;s=0&&r.has(t.charAt(s));s--)n++;return n}getLeadingWhitespace(t){let r=this.getLeadingWhitespaceCount(t);return t.slice(0,r)}getTrailingWhitespace(t){let r=this.getTrailingWhitespaceCount(t);return t.slice(t.length-r)}hasLeadingWhitespace(t){return pt(this,Re).has(t.charAt(0))}hasTrailingWhitespace(t){return pt(this,Re).has(O(!1,t,-1))}trimStart(t){let r=this.getLeadingWhitespaceCount(t);return t.slice(r)}trimEnd(t){let r=this.getTrailingWhitespaceCount(t);return t.slice(0,t.length-r)}trim(t){return this.trimEnd(this.trimStart(t))}split(t,r=!1){let n=`[${ls([...pt(this,Re)].join(""))}]+`,s=new RegExp(r?`(${n})`:n,"u");return t.split(s)}hasWhitespaceCharacter(t){let r=pt(this,Re);return Array.prototype.some.call(t,n=>r.has(n))}hasNonWhitespaceCharacter(t){let r=pt(this,Re);return Array.prototype.some.call(t,n=>!r.has(n))}isWhitespaceOnly(t){let r=pt(this,Re);return Array.prototype.every.call(t,n=>r.has(n))}};Re=new WeakMap;var yi=ms;var Nr=new yi(` +\r `),ys=e=>e===""||e===x||e===F||e===E;function Dc(e,t,r){var _,J,j;let{node:n}=e;if(n.type==="JSXElement"&&Pc(n))return[r("openingElement"),r("closingElement")];let s=n.type==="JSXElement"?r("openingElement"):r("openingFragment"),u=n.type==="JSXElement"?r("closingElement"):r("closingFragment");if(n.children.length===1&&n.children[0].type==="JSXExpressionContainer"&&(n.children[0].expression.type==="TemplateLiteral"||n.children[0].expression.type==="TaggedTemplateExpression"))return[s,...e.map(r,"children"),u];n.children=n.children.map(h=>kc(h)?{type:"JSXText",value:" ",raw:" "}:h);let i=n.children.some(X),a=n.children.filter(h=>h.type==="JSXExpressionContainer").length>1,o=n.type==="JSXElement"&&n.openingElement.attributes.length>1,c=ne(s)||i||o||a,m=e.parent.rootMarker==="mdx",D=t.singleQuote?"{' '}":'{" "}',y=m?" ":b([D,E]," "),C=((J=(_=n.openingElement)==null?void 0:_.name)==null?void 0:J.name)==="fbt",p=fc(e,t,r,y,C),A=n.children.some(h=>pr(h));for(let h=p.length-2;h>=0;h--){let W=p[h]===""&&p[h+1]==="",Fe=p[h]===F&&p[h+1]===""&&p[h+2]===F,H=(p[h]===E||p[h]===F)&&p[h+1]===""&&p[h+2]===y,ue=p[h]===y&&p[h+1]===""&&(p[h+2]===E||p[h+2]===F),Z=p[h]===y&&p[h+1]===""&&p[h+2]===y,It=p[h]===E&&p[h+1]===""&&p[h+2]===F||p[h]===F&&p[h+1]===""&&p[h+2]===E;Fe&&A||W||H||Z||It?p.splice(h,2):ue&&p.splice(h+1,2)}for(;p.length>0&&ys(O(!1,p,-1));)p.pop();for(;p.length>1&&ys(p[0])&&ys(p[1]);)p.shift(),p.shift();let T=[];for(let[h,W]of p.entries()){if(W===y){if(h===1&&p[h-1]===""){if(p.length===2){T.push(D);continue}T.push([D,F]);continue}else if(h===p.length-1){T.push(D);continue}else if(p[h-1]===""&&p[h-2]===F){T.push(D);continue}}T.push(W),ne(W)&&(c=!0)}let S=A?qt(T):l(T,{shouldBreak:!0});if(((j=t.cursorNode)==null?void 0:j.type)==="JSXText"&&n.children.includes(t.cursorNode)&&(S=[Nn,S,Nn]),m)return S;let B=l([s,f([F,S]),F,u]);return c?B:ze([l([s,...p,u]),B])}function fc(e,t,r,n,s){let u=[];return e.each(({node:i,next:a})=>{if(i.type==="JSXText"){let o=fe(i);if(pr(i)){let c=Nr.split(o,!0);c[0]===""&&(u.push(""),c.shift(),/\n/u.test(c[0])?u.push(fi(s,c[1],i,a)):u.push(n),c.shift());let m;if(O(!1,c,-1)===""&&(c.pop(),m=c.pop()),c.length===0)return;for(let[D,y]of c.entries())D%2===1?u.push(x):u.push(y);m!==void 0?/\n/u.test(m)?u.push(fi(s,O(!1,u,-1),i,a)):u.push(n):u.push(Di(s,O(!1,u,-1),i,a))}else/\n/u.test(o)?o.match(/\n/gu).length>1&&u.push("",F):u.push("",n)}else{let o=r();if(u.push(o),a&&pr(a)){let m=Nr.trim(fe(a)),[D]=Nr.split(m);u.push(Di(s,D,i,a))}else u.push(F)}},"children"),u}function Di(e,t,r,n){return e?"":r.type==="JSXElement"&&!r.closingElement||(n==null?void 0:n.type)==="JSXElement"&&!n.closingElement?t.length===1?E:F:E}function fi(e,t,r,n){return e?F:t.length===1?r.type==="JSXElement"&&!r.closingElement||(n==null?void 0:n.type)==="JSXElement"&&!n.closingElement?F:E:F}var Ec=new Set(["ArrayExpression","TupleExpression","JSXAttribute","JSXElement","JSXExpressionContainer","JSXFragment","ExpressionStatement","CallExpression","OptionalCallExpression","ConditionalExpression","JsExpressionRoot"]);function Fc(e,t,r){let{parent:n}=e;if(Ec.has(n.type))return t;let s=e.match(void 0,i=>i.type==="ArrowFunctionExpression",L,i=>i.type==="JSXExpressionContainer"),u=Be(e,r);return l([u?"":b("("),f([E,t]),E,u?"":b(")")],{shouldBreak:s})}function Cc(e,t,r){let{node:n}=e,s=[];if(s.push(r("name")),n.value){let u;if(Q(n.value)){let i=fe(n.value),a=N(!1,N(!1,i.slice(1,-1),"'","'"),""",'"'),o=xr(a,t.jsxSingleQuote);a=o==='"'?N(!1,a,'"',"""):N(!1,a,"'","'"),u=e.call(()=>ye(e,Ie(o+a+o),t),"value")}else u=r("value");s.push("=",u)}return s}function Ac(e,t,r){let{node:n}=e,s=(u,i)=>u.type==="JSXEmptyExpression"||!d(u)&&(U(u)||se(u)||u.type==="ArrowFunctionExpression"||u.type==="AwaitExpression"&&(s(u.argument,u)||u.argument.type==="JSXElement")||L(u)||u.type==="ChainExpression"&&L(u.expression)||u.type==="FunctionExpression"||u.type==="TemplateLiteral"||u.type==="TaggedTemplateExpression"||u.type==="DoExpression"||X(i)&&(u.type==="ConditionalExpression"||De(u)));return s(n.expression,e.parent)?l(["{",r("expression"),ke,"}"]):l(["{",f([E,r("expression")]),E,ke,"}"])}function Tc(e,t,r){var a,o;let{node:n}=e,s=d(n.name)||d(n.typeParameters)||d(n.typeArguments);if(n.selfClosing&&n.attributes.length===0&&!s)return["<",r("name"),n.typeArguments?r("typeArguments"):r("typeParameters")," />"];if(((a=n.attributes)==null?void 0:a.length)===1&&Q(n.attributes[0].value)&&!n.attributes[0].value.value.includes(` +`)&&!s&&!d(n.attributes[0]))return l(["<",r("name"),n.typeArguments?r("typeArguments"):r("typeParameters")," ",...e.map(r,"attributes"),n.selfClosing?" />":">"]);let u=(o=n.attributes)==null?void 0:o.some(c=>Q(c.value)&&c.value.value.includes(` +`)),i=t.singleAttributePerLine&&n.attributes.length>1?F:x;return l(["<",r("name"),n.typeArguments?r("typeArguments"):r("typeParameters"),f(e.map(()=>[i,r()],"attributes")),...dc(n,t,s)],{shouldBreak:u})}function dc(e,t,r){return e.selfClosing?[x,"/>"]:xc(e,t,r)?[">"]:[E,">"]}function xc(e,t,r){let n=e.attributes.length>0&&d(O(!1,e.attributes,-1),g.Trailing);return e.attributes.length===0&&!r||(t.bracketSameLine||t.jsxBracketSameLine)&&(!r||e.attributes.length>0)&&!n}function hc(e,t,r){let{node:n}=e,s=[];s.push(""),s}function gc(e,t){let{node:r}=e,n=d(r),s=d(r,g.Line),u=r.type==="JSXOpeningFragment";return[u?"<":""]}function Sc(e,t,r){let n=ye(e,Dc(e,t,r),t);return Fc(e,n,t)}function Bc(e,t){let{node:r}=e,n=d(r,g.Line);return[M(e,t,{indent:n}),n?F:""]}function bc(e,t,r){let{node:n}=e;return["{",e.call(({node:s})=>{let u=["...",r()];return!d(s)||!Qn(e)?u:[f([E,ye(e,u,t)]),E]},n.type==="JSXSpreadAttribute"?"argument":"expression"),"}"]}function Ei(e,t,r){let{node:n}=e;if(n.type.startsWith("JSX"))switch(n.type){case"JSXAttribute":return Cc(e,t,r);case"JSXIdentifier":return n.name;case"JSXNamespacedName":return P(":",[r("namespace"),r("name")]);case"JSXMemberExpression":return P(".",[r("object"),r("property")]);case"JSXSpreadAttribute":case"JSXSpreadChild":return bc(e,t,r);case"JSXExpressionContainer":return Ac(e,t,r);case"JSXFragment":case"JSXElement":return Sc(e,t,r);case"JSXOpeningElement":return Tc(e,t,r);case"JSXClosingElement":return hc(e,t,r);case"JSXOpeningFragment":case"JSXClosingFragment":return gc(e,t);case"JSXEmptyExpression":return Bc(e,t);case"JSXText":throw new Error("JSXText should be handled by JSXElement");default:throw new Me(n,"JSX")}}function Pc(e){if(e.children.length===0)return!0;if(e.children.length>1)return!1;let t=e.children[0];return t.type==="JSXText"&&!pr(t)}function pr(e){return e.type==="JSXText"&&(Nr.hasNonWhitespaceCharacter(fe(e))||!/\n/u.test(fe(e)))}function kc(e){return e.type==="JSXExpressionContainer"&&Q(e.expression)&&e.expression.value===" "&&!d(e.expression)}function Fi(e){let{node:t,parent:r}=e;if(!X(t)||!X(r))return!1;let{index:n,siblings:s}=e,u;for(let i=n;i>0;i--){let a=s[i-1];if(!(a.type==="JSXText"&&!pr(a))){u=a;break}}return(u==null?void 0:u.type)==="JSXExpressionContainer"&&u.expression.type==="JSXEmptyExpression"&&Bt(u.expression)}function Ic(e){return Bt(e.node)||Fi(e)}var Xr=Ic;var Lc=0;function Yr(e,t,r){var J;let{node:n,parent:s,grandparent:u,key:i}=e,a=i!=="body"&&(s.type==="IfStatement"||s.type==="WhileStatement"||s.type==="SwitchStatement"||s.type==="DoWhileStatement"),o=n.operator==="|>"&&((J=e.root.extra)==null?void 0:J.__isUsingHackPipeline),c=Ds(e,r,t,!1,a);if(a)return c;if(o)return l(c);if(L(s)&&s.callee===n||s.type==="UnaryExpression"||q(s)&&!s.computed)return l([f([E,...c]),E]);let m=s.type==="ReturnStatement"||s.type==="ThrowStatement"||s.type==="JSXExpressionContainer"&&u.type==="JSXAttribute"||n.operator!=="|"&&s.type==="JsExpressionRoot"||n.type!=="NGPipeExpression"&&(s.type==="NGRoot"&&t.parser==="__ng_binding"||s.type==="NGMicrosyntaxExpression"&&u.type==="NGMicrosyntax"&&u.body.length===1)||n===s.body&&s.type==="ArrowFunctionExpression"||n!==s.body&&s.type==="ForStatement"||s.type==="ConditionalExpression"&&u.type!=="ReturnStatement"&&u.type!=="ThrowStatement"&&!L(u)||s.type==="TemplateLiteral",D=s.type==="AssignmentExpression"||s.type==="VariableDeclarator"||s.type==="ClassProperty"||s.type==="PropertyDefinition"||s.type==="TSAbstractPropertyDefinition"||s.type==="ClassPrivateProperty"||Ae(s),y=De(n.left)&&nr(n.operator,n.left.operator);if(m||Ut(n)&&!y||!Ut(n)&&D)return l(c);if(c.length===0)return"";let C=X(n.right),p=c.findIndex(j=>typeof j!="string"&&!Array.isArray(j)&&j.type===le),A=c.slice(0,p===-1?1:p+1),T=c.slice(A.length,C?-1:void 0),S=Symbol("logicalChain-"+ ++Lc),B=l([...A,f(T)],{id:S});if(!C)return B;let _=O(!1,c,-1);return l([B,At(_,{groupId:S})])}function Ds(e,t,r,n,s){var A;let{node:u}=e;if(!De(u))return[l(t())];let i=[];nr(u.operator,u.left.operator)?i=e.call(T=>Ds(T,t,r,!0,s),"left"):i.push(l(t("left")));let a=Ut(u),o=(u.operator==="|>"||u.type==="NGPipeExpression"||wc(e,r))&&!Oe(r.originalText,u.right),c=u.type==="NGPipeExpression"?"|":u.operator,m=u.type==="NGPipeExpression"&&u.arguments.length>0?l(f([E,": ",P([x,": "],e.map(()=>he(2,l(t())),"arguments"))])):"",D;if(a)D=[c," ",t("right"),m];else{let S=c==="|>"&&((A=e.root.extra)==null?void 0:A.__isUsingHackPipeline)?e.call(B=>Ds(B,t,r,!0,s),"right"):t("right");D=[o?x:"",c,o?" ":x,S,m]}let{parent:y}=e,C=d(u.left,g.Trailing|g.Line),p=C||!(s&&u.type==="LogicalExpression")&&y.type!==u.type&&u.left.type!==u.type&&u.right.type!==u.type;if(i.push(o?"":" ",p?l(D,{shouldBreak:C}):D),n&&d(u)){let T=Wt(ye(e,i,r));return T.type===Pe?T.parts:Array.isArray(T)?T:[T]}return i}function Ut(e){return e.type!=="LogicalExpression"?!1:!!(se(e.right)&&e.right.properties.length>0||U(e.right)&&e.right.elements.length>0||X(e.right))}var Ci=e=>e.type==="BinaryExpression"&&e.operator==="|";function wc(e,t){return(t.parser==="__vue_expression"||t.parser==="__vue_ts_expression")&&Ci(e.node)&&!e.hasAncestor(r=>!Ci(r)&&r.type!=="JsExpressionRoot")}function Ti(e,t,r){let{node:n}=e;if(n.type.startsWith("NG"))switch(n.type){case"NGRoot":return[r("node"),d(n.node)?" //"+ct(n.node)[0].value.trimEnd():""];case"NGPipeExpression":return Yr(e,t,r);case"NGChainedExpression":return l(P([";",x],e.map(()=>_c(e)?r():["(",r(),")"],"expressions")));case"NGEmptyExpression":return"";case"NGMicrosyntax":return e.map(()=>[e.isFirst?"":Ai(e)?" ":[";",x],r()],"body");case"NGMicrosyntaxKey":return/^[$_a-z][\w$]*(?:-[$_a-z][\w$])*$/iu.test(n.name)?n.name:JSON.stringify(n.name);case"NGMicrosyntaxExpression":return[r("expression"),n.alias===null?"":[" as ",r("alias")]];case"NGMicrosyntaxKeyedExpression":{let{index:s,parent:u}=e,i=Ai(e)||(s===1&&(n.key.name==="then"||n.key.name==="else"||n.key.name==="as")||(s===2||s===3)&&(n.key.name==="else"&&u.body[s-1].type==="NGMicrosyntaxKeyedExpression"&&u.body[s-1].key.name==="then"||n.key.name==="track"))&&u.body[0].type==="NGMicrosyntaxExpression";return[r("key"),i?" ":": ",r("expression")]}case"NGMicrosyntaxLet":return["let ",r("key"),n.value===null?"":[" = ",r("value")]];case"NGMicrosyntaxAs":return[r("key")," as ",r("alias")];default:throw new Me(n,"Angular")}}function Ai({node:e,index:t}){return e.type==="NGMicrosyntaxKeyedExpression"&&e.key.name==="of"&&t===1}var Oc=v(["CallExpression","OptionalCallExpression","AssignmentExpression"]);function _c({node:e}){return tr(e,Oc)}function fs(e,t,r){let{node:n}=e;return l([P(x,e.map(r,"decorators")),hi(n,t)?F:x])}function di(e,t,r){return gi(e.node)?[P(F,e.map(r,"declaration","decorators")),F]:""}function xi(e,t,r){let{node:n,parent:s}=e,{decorators:u}=n;if(!w(u)||gi(s)||Xr(e))return"";let i=n.type==="ClassExpression"||n.type==="ClassDeclaration"||hi(n,t);return[e.key==="declaration"&&iu(s)?F:i?Ee:"",P(x,e.map(r,"decorators")),x]}function hi(e,t){return e.decorators.some(r=>te(t.originalText,k(r)))}function gi(e){var r;if(e.type!=="ExportDefaultDeclaration"&&e.type!=="ExportNamedDeclaration"&&e.type!=="DeclareExportDeclaration")return!1;let t=(r=e.declaration)==null?void 0:r.decorators;return w(t)&&ht(e,t[0])}var Dt=class extends Error{name="ArgExpansionBailout"};function jc(e,t,r){let{node:n}=e,s=oe(n);if(s.length===0)return["(",M(e,t),")"];let u=s.length-1;if(Rc(s)){let y=["("];return Rt(e,(C,p)=>{y.push(r()),p!==u&&y.push(", ")}),y.push(")"),y}let i=!1,a=[];Rt(e,({node:y},C)=>{let p=r();C===u||(pe(y,t)?(i=!0,p=[p,",",F,F]):p=[p,",",x]),a.push(p)});let o=n.type==="ImportExpression"||n.callee.type==="Import",c=!t.parser.startsWith("__ng_")&&!o&&ae(t,"all")?",":"";function m(){return l(["(",f([x,...a]),c,x,")"],{shouldBreak:!0})}if(i||e.parent.type!=="Decorator"&&lu(s))return m();if(Mc(s)){let y=a.slice(1);if(y.some(ne))return m();let C;try{C=r(Jn(n,0),{expandFirstArg:!0})}catch(p){if(p instanceof Dt)return m();throw p}return ne(C)?[Ee,ze([["(",l(C,{shouldBreak:!0}),", ",...y,")"],m()])]:ze([["(",C,", ",...y,")"],["(",l(C,{shouldBreak:!0}),", ",...y,")"],m()])}if(vc(s,a,t)){let y=a.slice(0,-1);if(y.some(ne))return m();let C;try{C=r(Jn(n,-1),{expandLastArg:!0})}catch(p){if(p instanceof Dt)return m();throw p}return ne(C)?[Ee,ze([["(",...y,l(C,{shouldBreak:!0}),")"],m()])]:ze([["(",...y,C,")"],["(",...y,l(C,{shouldBreak:!0}),")"],m()])}let D=["(",f([E,...a]),b(c),E,")"];return Or(e)?D:l(D,{shouldBreak:a.some(ne)||i})}function cr(e,t=!1){return se(e)&&(e.properties.length>0||d(e))||U(e)&&(e.elements.length>0||d(e))||e.type==="TSTypeAssertion"&&cr(e.expression)||Te(e)&&cr(e.expression)||e.type==="FunctionExpression"||e.type==="ArrowFunctionExpression"&&(!e.returnType||!e.returnType.typeAnnotation||e.returnType.typeAnnotation.type!=="TSTypeReference"||Jc(e.body))&&(e.body.type==="BlockStatement"||e.body.type==="ArrowFunctionExpression"&&cr(e.body,!0)||se(e.body)||U(e.body)||!t&&(L(e.body)||e.body.type==="ConditionalExpression")||X(e.body))||e.type==="DoExpression"||e.type==="ModuleExpression"}function vc(e,t,r){var u,i;let n=O(!1,e,-1);if(e.length===1){let a=O(!1,t,-1);if((u=a.label)!=null&&u.embed&&((i=a.label)==null?void 0:i.hug)!==!1)return!0}let s=O(!1,e,-2);return!d(n,g.Leading)&&!d(n,g.Trailing)&&cr(n)&&(!s||s.type!==n.type)&&(e.length!==2||s.type!=="ArrowFunctionExpression"||!U(n))&&!(e.length>1&&Es(n,r))}function Mc(e){if(e.length!==2)return!1;let[t,r]=e;return t.type==="ModuleExpression"&&qc(r)?!0:!d(t)&&(t.type==="FunctionExpression"||t.type==="ArrowFunctionExpression"&&t.body.type==="BlockStatement")&&r.type!=="FunctionExpression"&&r.type!=="ArrowFunctionExpression"&&r.type!=="ConditionalExpression"&&Bi(r)&&!cr(r)}function Bi(e){if(e.type==="ParenthesizedExpression")return Bi(e.expression);if(Te(e)||e.type==="TypeCastExpression"){let{typeAnnotation:t}=e;if(t.type==="TypeAnnotation"&&(t=t.typeAnnotation),t.type==="TSArrayType"&&(t=t.elementType,t.type==="TSArrayType"&&(t=t.elementType)),t.type==="GenericTypeAnnotation"||t.type==="TSTypeReference"){let r=t.typeArguments??t.typeParameters;(r==null?void 0:r.params.length)===1&&(t=r.params[0])}return Mt(t)&&be(e.expression,1)}return lt(e)&&oe(e).length>1?!1:De(e)?be(e.left,1)&&be(e.right,1):Mn(e)||be(e)}function Rc(e){return e.length===2?Si(e,0):e.length===3?e[0].type==="Identifier"&&Si(e,1):!1}function Si(e,t){let r=e[t],n=e[t+1];return r.type==="ArrowFunctionExpression"&&K(r).length===0&&r.body.type==="BlockStatement"&&n.type==="ArrayExpression"&&!e.some(s=>d(s))}function Jc(e){return e.type==="BlockStatement"&&(e.body.some(t=>t.type!=="EmptyStatement")||d(e,g.Dangling))}function qc(e){return e.type==="ObjectExpression"&&e.properties.length===1&&Ae(e.properties[0])&&e.properties[0].key.type==="Identifier"&&e.properties[0].key.name==="type"&&Q(e.properties[0].value)&&e.properties[0].value.value==="module"}var lr=jc;var Wc=e=>((e.type==="ChainExpression"||e.type==="TSNonNullExpression")&&(e=e.expression),L(e)&&oe(e).length>0);function bi(e,t,r){var c;let n=r("object"),s=Fs(e,t,r),{node:u}=e,i=e.findAncestor(m=>!(q(m)||m.type==="TSNonNullExpression")),a=e.findAncestor(m=>!(m.type==="ChainExpression"||m.type==="TSNonNullExpression")),o=i&&(i.type==="NewExpression"||i.type==="BindExpression"||i.type==="AssignmentExpression"&&i.left.type!=="Identifier")||u.computed||u.object.type==="Identifier"&&u.property.type==="Identifier"&&!q(a)||(a.type==="AssignmentExpression"||a.type==="VariableDeclarator")&&(Wc(u.object)||((c=n.label)==null?void 0:c.memberChain));return it(n.label,[n,o?s:l(f([E,s]))])}function Fs(e,t,r){let n=r("property"),{node:s}=e,u=V(e);return s.computed?!s.property||Ce(s.property)?[u,"[",n,"]"]:l([u,"[",f([E,n]),E,"]"]):[u,".",n]}function Pi(e,t,r){if(e.node.type==="ChainExpression")return e.call(()=>Pi(e,t,r),"expression");let{parent:n}=e,s=!n||n.type==="ExpressionStatement",u=[];function i(I){let{originalText:G}=t,ee=yt(G,k(I));return G.charAt(ee)===")"?ee!==!1&&Ot(G,ee+1):pe(I,t)}function a(I){let{node:G}=I;if(G.type==="ChainExpression")return I.call(()=>a(I),"expression");if(L(G)&&(Ft(G.callee)||L(G.callee))){let ee=i(G);u.unshift({node:G,hasTrailingEmptyLine:ee,printed:[ye(I,[V(I),Qe(I,t,r),lr(I,t,r)],t),ee?F:""]}),I.call(qe=>a(qe),"callee")}else Ft(G)?(u.unshift({node:G,needsParens:Be(I,t),printed:ye(I,q(G)?Fs(I,t,r):Hr(I,t,r),t)}),I.call(ee=>a(ee),"object")):G.type==="TSNonNullExpression"?(u.unshift({node:G,printed:ye(I,"!",t)}),I.call(ee=>a(ee),"expression")):u.unshift({node:G,printed:r()})}let{node:o}=e;u.unshift({node:o,printed:[V(e),Qe(e,t,r),lr(e,t,r)]}),o.callee&&e.call(I=>a(I),"callee");let c=[],m=[u[0]],D=1;for(;D0&&c.push(m);function C(I){return/^[A-Z]|^[$_]+$/u.test(I)}function p(I){return I.length<=t.tabWidth}function A(I){var qe;let G=(qe=I[1][0])==null?void 0:qe.node.computed;if(I[0].length===1){let xt=I[0][0].node;return xt.type==="ThisExpression"||xt.type==="Identifier"&&(C(xt.name)||s&&p(xt.name)||G)}let ee=O(!1,I[0],-1).node;return q(ee)&&ee.property.type==="Identifier"&&(C(ee.property.name)||G)}let T=c.length>=2&&!d(c[1][0].node)&&A(c);function S(I){let G=I.map(ee=>ee.printed);return I.length>0&&O(!1,I,-1).needsParens?["(",...G,")"]:G}function B(I){return I.length===0?"":f([F,P(F,I.map(S))])}let _=c.map(S),J=_,j=T?3:2,h=c.flat(),W=h.slice(1,-1).some(I=>d(I.node,g.Leading))||h.slice(0,-1).some(I=>d(I.node,g.Trailing))||c[j]&&d(c[j][0].node,g.Leading);if(c.length<=j&&!W&&!c.some(I=>O(!1,I,-1).hasTrailingEmptyLine))return Or(e)?J:l(J);let Fe=O(!1,c[T?1:0],-1).node,H=!L(Fe)&&i(Fe),ue=[S(c[0]),T?c.slice(1,2).map(S):"",H?F:"",B(c.slice(T?2:1))],Z=u.map(({node:I})=>I).filter(L);function It(){let I=O(!1,O(!1,c,-1),-1).node,G=O(!1,_,-1);return L(I)&&ne(G)&&Z.slice(0,-1).some(ee=>ee.arguments.some(_t))}let $t;return W||Z.length>2&&Z.some(I=>!I.arguments.every(G=>be(G)))||_.slice(0,-1).some(ne)||It()?$t=l(ue):$t=[ne(J)||H?Ee:"",ze([J,ue])],it({memberChain:!0},$t)}var ki=Pi;function Vr(e,t,r){var m;let{node:n}=e,s=n.type==="NewExpression",u=n.type==="ImportExpression",i=V(e),a=oe(n),o=a.length===1&&Lr(a[0],t.originalText);if(o||Gc(e)||St(n,e.parent)){let D=[];if(Rt(e,()=>{D.push(r())}),!(o&&((m=D[0].label)!=null&&m.embed)))return[s?"new ":"",Ii(e,r),i,Qe(e,t,r),"(",P(", ",D),")"]}if(!u&&!s&&Ft(n.callee)&&!e.call(D=>Be(D,t),"callee",...n.callee.type==="ChainExpression"?["expression"]:[]))return ki(e,t,r);let c=[s?"new ":"",Ii(e,r),i,Qe(e,t,r),lr(e,t,r)];return u||L(n.callee)?l(c):c}function Ii(e,t){let{node:r}=e;return r.type==="ImportExpression"?`import${r.phase?`.${r.phase}`:""}`:t("callee")}function Gc(e){let{node:t}=e;if(t.type!=="CallExpression"||t.optional||t.callee.type!=="Identifier")return!1;let r=oe(t);return t.callee.name==="require"?r.length===1&&Q(r[0])||r.length>1:t.callee.name==="define"&&e.parent.type==="ExpressionStatement"?r.length===1||r.length===2&&r[0].type==="ArrayExpression"||r.length===3&&Q(r[0])&&r[1].type==="ArrayExpression":!1}function Tt(e,t,r,n,s,u){let i=Uc(e,t,r,n,u),a=u?r(u,{assignmentLayout:i}):"";switch(i){case"break-after-operator":return l([l(n),s,l(f([x,a]))]);case"never-break-after-operator":return l([l(n),s," ",a]);case"fluid":{let o=Symbol("assignment");return l([l(n),s,l(f(x),{id:o}),ke,At(a,{groupId:o})])}case"break-lhs":return l([n,s," ",l(a)]);case"chain":return[l(n),s,x,a];case"chain-tail":return[l(n),s,f([x,a])];case"chain-tail-arrow-chain":return[l(n),s,a];case"only-left":return n}}function wi(e,t,r){let{node:n}=e;return Tt(e,t,r,r("left"),[" ",n.operator],"right")}function Oi(e,t,r){return Tt(e,t,r,r("id")," =","init")}function Uc(e,t,r,n,s){let{node:u}=e,i=u[s];if(!i)return"only-left";let a=!$r(i);if(e.match($r,_i,y=>!a||y.type!=="ExpressionStatement"&&y.type!=="VariableDeclaration"))return a?i.type==="ArrowFunctionExpression"&&i.body.type==="ArrowFunctionExpression"?"chain-tail-arrow-chain":"chain-tail":"chain";if(!a&&$r(i.right)||Oe(t.originalText,i))return"break-after-operator";if(u.type==="ImportAttribute"||i.type==="CallExpression"&&i.callee.name==="require"||t.parser==="json5"||t.parser==="jsonc"||t.parser==="json")return"never-break-after-operator";let m=Bu(n);if(Xc(u)||$c(u)||Cs(u)&&m)return"break-lhs";let D=zc(u,n,t);return e.call(()=>Nc(e,t,r,D),s)?"break-after-operator":Yc(u)?"break-lhs":!m&&(D||i.type==="TemplateLiteral"||i.type==="TaggedTemplateExpression"||i.type==="BooleanLiteral"||Ce(i)||i.type==="ClassExpression")?"never-break-after-operator":"fluid"}function Nc(e,t,r,n){let s=e.node;if(De(s)&&!Ut(s))return!0;switch(s.type){case"StringLiteralTypeAnnotation":case"SequenceExpression":return!0;case"TSConditionalType":case"ConditionalTypeAnnotation":if(!t.experimentalTernaries&&!el(s))break;return!0;case"ConditionalExpression":{if(!t.experimentalTernaries){let{test:c}=s;return De(c)&&!Ut(c)}let{consequent:a,alternate:o}=s;return a.type==="ConditionalExpression"||o.type==="ConditionalExpression"}case"ClassExpression":return w(s.decorators)}if(n)return!1;let u=s,i=[];for(;;)if(u.type==="UnaryExpression"||u.type==="AwaitExpression"||u.type==="YieldExpression"&&u.argument!==null)u=u.argument,i.push("argument");else if(u.type==="TSNonNullExpression")u=u.expression,i.push("expression");else break;return!!(Q(u)||e.call(()=>ji(e,t,r),...i))}function Xc(e){if(_i(e)){let t=e.left||e.id;return t.type==="ObjectPattern"&&t.properties.length>2&&t.properties.some(r=>{var n;return Ae(r)&&(!r.shorthand||((n=r.value)==null?void 0:n.type)==="AssignmentPattern")})}return!1}function $r(e){return e.type==="AssignmentExpression"}function _i(e){return $r(e)||e.type==="VariableDeclarator"}function Yc(e){let t=Vc(e);if(w(t)){let r=e.type==="TSTypeAliasDeclaration"?"constraint":"bound";if(t.length>1&&t.some(n=>n[r]||n.default))return!0}return!1}var Hc=v(["TSTypeAliasDeclaration","TypeAlias"]);function Vc(e){var t;if(Hc(e))return(t=e.typeParameters)==null?void 0:t.params}function $c(e){if(e.type!=="VariableDeclarator")return!1;let{typeAnnotation:t}=e.id;if(!t||!t.typeAnnotation)return!1;let r=Li(t.typeAnnotation);return w(r)&&r.length>1&&r.some(n=>w(Li(n))||n.type==="TSConditionalType")}function Cs(e){var t;return e.type==="VariableDeclarator"&&((t=e.init)==null?void 0:t.type)==="ArrowFunctionExpression"}var Kc=v(["TSTypeReference","GenericTypeAnnotation"]);function Li(e){var t;if(Kc(e))return(t=e.typeArguments??e.typeParameters)==null?void 0:t.params}function ji(e,t,r,n=!1){var i;let{node:s}=e,u=()=>ji(e,t,r,!0);if(s.type==="ChainExpression"||s.type==="TSNonNullExpression")return e.call(u,"expression");if(L(s)){if((i=Vr(e,t,r).label)!=null&&i.memberChain)return!1;let o=oe(s);return!(o.length===0||o.length===1&&rr(o[0],t))||Qc(s,r)?!1:e.call(u,"callee")}return q(s)?e.call(u,"object"):n&&(s.type==="Identifier"||s.type==="ThisExpression")}function zc(e,t,r){return Ae(e)?(t=Wt(t),typeof t=="string"&&et(t)1)return!0;if(r.length===1){let s=r[0];if(Ne(s)||_r(s)||s.type==="TSTypeLiteral"||s.type==="ObjectTypeAnnotation")return!0}let n=e.typeParameters?"typeParameters":"typeArguments";if(ne(t(n)))return!0}return!1}function Zc(e){var t;return(t=e.typeParameters??e.typeArguments)==null?void 0:t.params}function el(e){function t(r){switch(r.type){case"FunctionTypeAnnotation":case"GenericTypeAnnotation":case"TSFunctionType":return!!r.typeParameters;case"TSTypeReference":return!!(r.typeArguments??r.typeParameters);default:return!1}}return t(e.checkType)||t(e.extendsType)}function Je(e,t,r,n,s){let u=e.node,i=K(u),a=s?Qe(e,r,t):"";if(i.length===0)return[a,"(",M(e,r,{filter:p=>ge(r.originalText,k(p))===")"}),")"];let{parent:o}=e,c=St(o),m=As(u),D=[];if(fu(e,(p,A)=>{let T=A===i.length-1;T&&u.rest&&D.push("..."),D.push(t()),!T&&(D.push(","),c||m?D.push(" "):pe(i[A],r)?D.push(F,F):D.push(x))}),n&&!rl(e)){if(ne(a)||ne(D))throw new Dt;return l([ur(a),"(",ur(D),")"])}let y=i.every(p=>!w(p.decorators));return m&&y?[a,"(",...D,")"]:c?[a,"(",...D,")"]:(Ir(o)||ou(o)||o.type==="TypeAlias"||o.type==="UnionTypeAnnotation"||o.type==="IntersectionTypeAnnotation"||o.type==="FunctionTypeAnnotation"&&o.returnType===u)&&i.length===1&&i[0].name===null&&u.this!==i[0]&&i[0].typeAnnotation&&u.typeParameters===null&&Mt(i[0].typeAnnotation)&&!u.rest?r.arrowParens==="always"||u.type==="HookTypeAnnotation"?["(",...D,")"]:D:[a,"(",f([E,...D]),b(!Du(u)&&ae(r,"all")?",":""),E,")"]}function As(e){if(!e)return!1;let t=K(e);if(t.length!==1)return!1;let[r]=t;return!d(r)&&(r.type==="ObjectPattern"||r.type==="ArrayPattern"||r.type==="Identifier"&&r.typeAnnotation&&(r.typeAnnotation.type==="TypeAnnotation"||r.typeAnnotation.type==="TSTypeAnnotation")&&we(r.typeAnnotation.typeAnnotation)||r.type==="FunctionTypeParam"&&we(r.typeAnnotation)&&r!==e.rest||r.type==="AssignmentPattern"&&(r.left.type==="ObjectPattern"||r.left.type==="ArrayPattern")&&(r.right.type==="Identifier"||se(r.right)&&r.right.properties.length===0||U(r.right)&&r.right.elements.length===0))}function tl(e){let t;return e.returnType?(t=e.returnType,t.typeAnnotation&&(t=t.typeAnnotation)):e.typeAnnotation&&(t=e.typeAnnotation),t}function ot(e,t){var s;let r=tl(e);if(!r)return!1;let n=(s=e.typeParameters)==null?void 0:s.params;if(n){if(n.length>1)return!1;if(n.length===1){let u=n[0];if(u.constraint||u.default)return!1}}return K(e).length===1&&(we(r)||ne(t))}function rl(e){return e.match(t=>t.type==="ArrowFunctionExpression"&&t.body.type==="BlockStatement",(t,r)=>{if(t.type==="CallExpression"&&r==="arguments"&&t.arguments.length===1&&t.callee.type==="CallExpression"){let n=t.callee.callee;return n.type==="Identifier"||n.type==="MemberExpression"&&!n.computed&&n.object.type==="Identifier"&&n.property.type==="Identifier"}return!1},(t,r)=>t.type==="VariableDeclarator"&&r==="init"||t.type==="ExportDefaultDeclaration"&&r==="declaration"||t.type==="TSExportAssignment"&&r==="expression"||t.type==="AssignmentExpression"&&r==="right"&&t.left.type==="MemberExpression"&&t.left.object.type==="Identifier"&&t.left.object.name==="module"&&t.left.property.type==="Identifier"&&t.left.property.name==="exports",t=>t.type!=="VariableDeclaration"||t.kind==="const"&&t.declarations.length===1)}function vi(e){let t=K(e);return t.length>1&&t.some(r=>r.type==="TSParameterProperty")}var nl=v(["VoidTypeAnnotation","TSVoidKeyword","NullLiteralTypeAnnotation","TSNullKeyword"]),sl=v(["ObjectTypeAnnotation","TSTypeLiteral","GenericTypeAnnotation","TSTypeReference"]);function ul(e){let{types:t}=e;if(t.some(n=>d(n)))return!1;let r=t.find(n=>sl(n));return r?t.every(n=>n===r||nl(n)):!1}function Ts(e){return Mt(e)||we(e)?!0:Ne(e)?ul(e):!1}function Mi(e,t,r){let n=t.semi?";":"",{node:s}=e,u=[$(e),"opaque type ",r("id"),r("typeParameters")];return s.supertype&&u.push(": ",r("supertype")),s.impltype&&u.push(" = ",r("impltype")),u.push(n),u}function Kr(e,t,r){let n=t.semi?";":"",{node:s}=e,u=[$(e)];u.push("type ",r("id"),r("typeParameters"));let i=s.type==="TSTypeAliasDeclaration"?"typeAnnotation":"right";return[Tt(e,t,r,u," =",i),n]}function zr(e,t,r){let n=!1;return l(e.map(({isFirst:s,previous:u,node:i,index:a})=>{let o=r();if(s)return o;let c=we(i),m=we(u);return m&&c?[" & ",n?f(o):o]:!m&&!c?f([" &",x,o]):(a>1&&(n=!0),[" & ",a>1?f(o):o])},"types"))}function Qr(e,t,r){let{node:n}=e,{parent:s}=e,u=s.type!=="TypeParameterInstantiation"&&(s.type!=="TSConditionalType"||!t.experimentalTernaries)&&(s.type!=="ConditionalTypeAnnotation"||!t.experimentalTernaries)&&s.type!=="TSTypeParameterInstantiation"&&s.type!=="GenericTypeAnnotation"&&s.type!=="TSTypeReference"&&s.type!=="TSTypeAssertion"&&s.type!=="TupleTypeAnnotation"&&s.type!=="TSTupleType"&&!(s.type==="FunctionTypeParam"&&!s.name&&e.grandparent.this!==s)&&!((s.type==="TypeAlias"||s.type==="VariableDeclarator"||s.type==="TSTypeAliasDeclaration")&&Oe(t.originalText,n)),i=Ts(n),a=e.map(m=>{let D=r();return i||(D=he(2,D)),ye(m,D,t)},"types");if(i)return P(" | ",a);let o=u&&!Oe(t.originalText,n),c=[b([o?x:"","| "]),P([x,"| "],a)];return Be(e,t)?l([f(c),E]):(s.type==="TupleTypeAnnotation"||s.type==="TSTupleType")&&s[s.type==="TupleTypeAnnotation"&&s.types?"types":"elementTypes"].length>1?l([f([b(["(",E]),c]),E,b(")")]):l(u?f(c):c)}function il(e){var n;let{node:t,parent:r}=e;return t.type==="FunctionTypeAnnotation"&&(Ir(r)||!((r.type==="ObjectTypeProperty"||r.type==="ObjectTypeInternalSlot")&&!r.variance&&!r.optional&&ht(r,t)||r.type==="ObjectTypeCallProperty"||((n=e.getParentNode(2))==null?void 0:n.type)==="DeclareFunction"))}function Zr(e,t,r){let{node:n}=e,s=[Nt(e)];(n.type==="TSConstructorType"||n.type==="TSConstructSignatureDeclaration")&&s.push("new ");let u=Je(e,r,t,!1,!0),i=[];return n.type==="FunctionTypeAnnotation"?i.push(il(e)?" => ":": ",r("returnType")):i.push(Y(e,r,n.returnType?"returnType":"typeAnnotation")),ot(n,i)&&(u=l(u)),s.push(u,i),l(s)}function en(e,t,r){return[r("objectType"),V(e),"[",r("indexType"),"]"]}function tn(e,t,r){return["infer ",r("typeParameter")]}function ds(e,t,r){let{node:n}=e;return[n.postfix?"":r,Y(e,t),n.postfix?r:""]}function rn(e,t,r){let{node:n}=e;return["...",...n.type==="TupleTypeSpreadElement"&&n.label?[r("label"),": "]:[],r("typeAnnotation")]}function nn(e,t,r){let{node:n}=e;return[n.variance?r("variance"):"",r("label"),n.optional?"?":"",": ",r("elementType")]}var al=new WeakSet;function Y(e,t,r="typeAnnotation"){let{node:{[r]:n}}=e;if(!n)return"";let s=!1;if(n.type==="TSTypeAnnotation"||n.type==="TypeAnnotation"){let u=e.call(Ri,r);(u==="=>"||u===":"&&d(n,g.Leading))&&(s=!0),al.add(n)}return s?[" ",t(r)]:t(r)}var Ri=e=>e.match(t=>t.type==="TSTypeAnnotation",(t,r)=>(r==="returnType"||r==="typeAnnotation")&&(t.type==="TSFunctionType"||t.type==="TSConstructorType"))?"=>":e.match(t=>t.type==="TSTypeAnnotation",(t,r)=>r==="typeAnnotation"&&(t.type==="TSJSDocNullableType"||t.type==="TSJSDocNonNullableType"||t.type==="TSTypePredicate"))||e.match(t=>t.type==="TypeAnnotation",(t,r)=>r==="typeAnnotation"&&t.type==="Identifier",(t,r)=>r==="id"&&t.type==="DeclareFunction")||e.match(t=>t.type==="TypeAnnotation",(t,r)=>r==="typeAnnotation"&&t.type==="Identifier",(t,r)=>r==="id"&&t.type==="DeclareHook")||e.match(t=>t.type==="TypeAnnotation",(t,r)=>r==="bound"&&t.type==="TypeParameter"&&t.usesExtendsBound)?"":":";function sn(e,t,r){let n=Ri(e);return n?[n," ",r("typeAnnotation")]:r("typeAnnotation")}function un(e){return[e("elementType"),"[]"]}function an({node:e},t){let r=e.type==="TSTypeQuery"?"exprName":"argument",n=e.type==="TypeofTypeAnnotation"||e.typeArguments?"typeArguments":"typeParameters";return["typeof ",t(r),t(n)]}function on(e,t){let{node:r}=e;return[r.type==="TSTypePredicate"&&r.asserts?"asserts ":r.type==="TypePredicate"&&r.kind?`${r.kind} `:"",t("parameterName"),r.typeAnnotation?[" is ",Y(e,t)]:""]}function V(e){let{node:t}=e;return!t.optional||t.type==="Identifier"&&t===e.parent.key?"":L(t)||q(t)&&t.computed||t.type==="OptionalIndexedAccessType"?"?.":"?"}function pn(e){return e.node.definite||e.match(void 0,(t,r)=>r==="id"&&t.type==="VariableDeclarator"&&t.definite)?"!":""}var ol=new Set(["DeclareClass","DeclareComponent","DeclareFunction","DeclareHook","DeclareVariable","DeclareExportDeclaration","DeclareExportAllDeclaration","DeclareOpaqueType","DeclareTypeAlias","DeclareEnum","DeclareInterface"]);function $(e){let{node:t}=e;return t.declare||ol.has(t.type)&&e.parent.type!=="DeclareExportDeclaration"?"declare ":""}var pl=new Set(["TSAbstractMethodDefinition","TSAbstractPropertyDefinition","TSAbstractAccessorProperty"]);function Nt({node:e}){return e.abstract||pl.has(e.type)?"abstract ":""}function Qe(e,t,r){let n=e.node;return n.typeArguments?r("typeArguments"):n.typeParameters?r("typeParameters"):""}function Hr(e,t,r){return["::",r("callee")]}function ft(e,t,r){return e.type==="EmptyStatement"?";":e.type==="BlockStatement"||r?[" ",t]:f([x,t])}function cn(e,t){return["...",t("argument"),Y(e,t)]}function Xt(e){return e.accessibility?e.accessibility+" ":""}function cl(e,t,r,n){let{node:s}=e,u=s.inexact?"...":"";return d(s,g.Dangling)?l([r,u,M(e,t,{indent:!0}),E,n]):[r,u,n]}function Yt(e,t,r){let{node:n}=e,s=[],u=n.type==="TupleExpression"?"#[":"[",i="]",a=n.type==="TupleTypeAnnotation"&&n.types?"types":n.type==="TSTupleType"||n.type==="TupleTypeAnnotation"?"elementTypes":"elements",o=n[a];if(o.length===0)s.push(cl(e,t,u,i));else{let c=O(!1,o,-1),m=(c==null?void 0:c.type)!=="RestElement"&&!n.inexact,D=c===null,y=Symbol("array"),C=!t.__inJestEach&&o.length>1&&o.every((T,S,B)=>{let _=T==null?void 0:T.type;if(!U(T)&&!se(T))return!1;let J=B[S+1];if(J&&_!==J.type)return!1;let j=U(T)?"elements":"properties";return T[j]&&T[j].length>1}),p=Es(n,t),A=m?D?",":ae(t)?p?b(",","",{groupId:y}):b(","):"":"";s.push(l([u,f([E,p?ml(e,t,r,A):[ll(e,t,a,n.inexact,r),A],M(e,t)]),E,i],{shouldBreak:C,id:y}))}return s.push(V(e),Y(e,r)),s}function Es(e,t){return U(e)&&e.elements.length>1&&e.elements.every(r=>r&&(Ce(r)||vn(r)&&!d(r.argument))&&!d(r,g.Trailing|g.Line,n=>!te(t.originalText,R(n),{backwards:!0})))}function Ji({node:e},{originalText:t}){let r=s=>Lt(t,wt(t,s)),n=s=>t[s]===","?s:n(r(s+1));return Ot(t,n(k(e)))}function ll(e,t,r,n,s){let u=[];return e.each(({node:i,isLast:a})=>{u.push(i?l(s()):""),(!a||n)&&u.push([",",x,i&&Ji(e,t)?E:""])},r),n&&u.push("..."),u}function ml(e,t,r,n){let s=[];return e.each(({isLast:u,next:i})=>{s.push([r(),u?n:","]),u||s.push(Ji(e,t)?[F,F]:d(i,g.Leading|g.Line)?F:x)},"elements"),qt(s)}var qi=new Proxy(()=>{},{get:()=>qi}),ln=qi;var yl=/^[\$A-Z_a-z\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u08A0-\u08B4\u08B6-\u08BD\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1CE9-\u1CEC\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC][\$0-9A-Z_a-z\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0300-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u0483-\u0487\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u05D0-\u05EA\u05F0-\u05F2\u0610-\u061A\u0620-\u0669\u066E-\u06D3\u06D5-\u06DC\u06DF-\u06E8\u06EA-\u06FC\u06FF\u0710-\u074A\u074D-\u07B1\u07C0-\u07F5\u07FA\u0800-\u082D\u0840-\u085B\u08A0-\u08B4\u08B6-\u08BD\u08D4-\u08E1\u08E3-\u0963\u0966-\u096F\u0971-\u0983\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BC-\u09C4\u09C7\u09C8\u09CB-\u09CE\u09D7\u09DC\u09DD\u09DF-\u09E3\u09E6-\u09F1\u0A01-\u0A03\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A59-\u0A5C\u0A5E\u0A66-\u0A75\u0A81-\u0A83\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABC-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AD0\u0AE0-\u0AE3\u0AE6-\u0AEF\u0AF9\u0B01-\u0B03\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3C-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B56\u0B57\u0B5C\u0B5D\u0B5F-\u0B63\u0B66-\u0B6F\u0B71\u0B82\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD0\u0BD7\u0BE6-\u0BEF\u0C00-\u0C03\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C58-\u0C5A\u0C60-\u0C63\u0C66-\u0C6F\u0C80-\u0C83\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBC-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CDE\u0CE0-\u0CE3\u0CE6-\u0CEF\u0CF1\u0CF2\u0D01-\u0D03\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D-\u0D44\u0D46-\u0D48\u0D4A-\u0D4E\u0D54-\u0D57\u0D5F-\u0D63\u0D66-\u0D6F\u0D7A-\u0D7F\u0D82\u0D83\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E01-\u0E3A\u0E40-\u0E4E\u0E50-\u0E59\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB9\u0EBB-\u0EBD\u0EC0-\u0EC4\u0EC6\u0EC8-\u0ECD\u0ED0-\u0ED9\u0EDC-\u0EDF\u0F00\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E-\u0F47\u0F49-\u0F6C\u0F71-\u0F84\u0F86-\u0F97\u0F99-\u0FBC\u0FC6\u1000-\u1049\u1050-\u109D\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u135D-\u135F\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1714\u1720-\u1734\u1740-\u1753\u1760-\u176C\u176E-\u1770\u1772\u1773\u1780-\u17D3\u17D7\u17DC\u17DD\u17E0-\u17E9\u180B-\u180D\u1810-\u1819\u1820-\u1877\u1880-\u18AA\u18B0-\u18F5\u1900-\u191E\u1920-\u192B\u1930-\u193B\u1946-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u19D0-\u19D9\u1A00-\u1A1B\u1A20-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AA7\u1AB0-\u1ABD\u1B00-\u1B4B\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1BF3\u1C00-\u1C37\u1C40-\u1C49\u1C4D-\u1C7D\u1C80-\u1C88\u1CD0-\u1CD2\u1CD4-\u1CF6\u1CF8\u1CF9\u1D00-\u1DF5\u1DFB-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u200C\u200D\u203F\u2040\u2054\u2071\u207F\u2090-\u209C\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D7F-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2DE0-\u2DFF\u2E2F\u3005-\u3007\u3021-\u302F\u3031-\u3035\u3038-\u303C\u3041-\u3096\u3099\u309A\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66F\uA674-\uA67D\uA67F-\uA6F1\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA827\uA840-\uA873\uA880-\uA8C5\uA8D0-\uA8D9\uA8E0-\uA8F7\uA8FB\uA8FD\uA900-\uA92D\uA930-\uA953\uA960-\uA97C\uA980-\uA9C0\uA9CF-\uA9D9\uA9E0-\uA9FE\uAA00-\uAA36\uAA40-\uAA4D\uAA50-\uAA59\uAA60-\uAA76\uAA7A-\uAAC2\uAADB-\uAADD\uAAE0-\uAAEF\uAAF2-\uAAF6\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABEA\uABEC\uABED\uABF0-\uABF9\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE00-\uFE0F\uFE20-\uFE2F\uFE33\uFE34\uFE4D-\uFE4F\uFE70-\uFE74\uFE76-\uFEFC\uFF10-\uFF19\uFF21-\uFF3A\uFF3F\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]*$/,Dl=e=>yl.test(e),Wi=Dl;function fl(e){return e.length===1?e:e.toLowerCase().replace(/^([+-]?[\d.]+e)(?:\+|(-))?0*(?=\d)/u,"$1$2").replace(/^([+-]?[\d.]+)e[+-]?0+$/u,"$1").replace(/^([+-])?\./u,"$10.").replace(/(\.\d+?)0+(?=e|$)/u,"$1").replace(/\.(?=e|$)/u,"")}var Ze=fl;var mn=new WeakMap;function Ui(e){return/^(?:\d+|\d+\.\d+)$/u.test(e)}function Gi(e,t){return t.parser==="json"||t.parser==="jsonc"||!Q(e.key)||tt(fe(e.key),t).slice(1,-1)!==e.key.value?!1:!!(Wi(e.key.value)&&!(t.parser==="babel-ts"&&e.type==="ClassProperty"||t.parser==="typescript"&&e.type==="PropertyDefinition")||Ui(e.key.value)&&String(Number(e.key.value))===e.key.value&&e.type!=="ImportAttribute"&&(t.parser==="babel"||t.parser==="acorn"||t.parser==="espree"||t.parser==="meriyah"||t.parser==="__babel_estree"))}function El(e,t){let{key:r}=e.node;return(r.type==="Identifier"||Ce(r)&&Ui(Ze(fe(r)))&&String(r.value)===Ze(fe(r))&&!(t.parser==="typescript"||t.parser==="babel-ts"))&&(t.parser==="json"||t.parser==="jsonc"||t.quoteProps==="consistent"&&mn.get(e.parent))}function Et(e,t,r){let{node:n}=e;if(n.computed)return["[",r("key"),"]"];let{parent:s}=e,{key:u}=n;if(t.quoteProps==="consistent"&&!mn.has(s)){let i=e.siblings.some(a=>!a.computed&&Q(a.key)&&!Gi(a,t));mn.set(s,i)}if(El(e,t)){let i=tt(JSON.stringify(u.type==="Identifier"?u.name:u.value.toString()),t);return e.call(a=>ye(a,i,t),"key")}return Gi(n,t)&&(t.quoteProps==="as-needed"||t.quoteProps==="consistent"&&!mn.get(s))?e.call(i=>ye(i,/^\d/u.test(u.value)?Ze(u.value):u.value,t),"key"):r("key")}function yn(e,t,r){let{node:n}=e;return n.shorthand?r("value"):Tt(e,t,r,Et(e,t,r),":","value")}var Fl=({node:e,key:t,parent:r})=>t==="value"&&e.type==="FunctionExpression"&&(r.type==="ObjectMethod"||r.type==="ClassMethod"||r.type==="ClassPrivateMethod"||r.type==="MethodDefinition"||r.type==="TSAbstractMethodDefinition"||r.type==="TSDeclareMethod"||r.type==="Property"&>(r));function Dn(e,t,r,n){if(Fl(e))return fn(e,r,t);let{node:s}=e,u=!1;if((s.type==="FunctionDeclaration"||s.type==="FunctionExpression")&&(n!=null&&n.expandLastArg)){let{parent:m}=e;L(m)&&(oe(m).length>1||K(s).every(D=>D.type==="Identifier"&&!D.typeAnnotation))&&(u=!0)}let i=[$(e),s.async?"async ":"",`function${s.generator?"*":""} `,s.id?t("id"):""],a=Je(e,t,r,u),o=Ht(e,t),c=ot(s,o);return i.push(Qe(e,r,t),l([c?l(a):a,o]),s.body?" ":"",t("body")),r.semi&&(s.declare||!s.body)&&i.push(";"),i}function mr(e,t,r){let{node:n}=e,{kind:s}=n,u=n.value||n,i=[];return!s||s==="init"||s==="method"||s==="constructor"?u.async&&i.push("async "):(ln.ok(s==="get"||s==="set"),i.push(s," ")),u.generator&&i.push("*"),i.push(Et(e,t,r),n.optional||n.key.optional?"?":"",n===u?fn(e,t,r):r("value")),i}function fn(e,t,r){let{node:n}=e,s=Je(e,r,t),u=Ht(e,r),i=vi(n),a=ot(n,u),o=[Qe(e,t,r),l([i?l(s,{shouldBreak:!0}):a?l(s):s,u])];return n.body?o.push(" ",r("body")):o.push(t.semi?";":""),o}function Cl(e){let t=K(e);return t.length===1&&!e.typeParameters&&!d(e,g.Dangling)&&t[0].type==="Identifier"&&!t[0].typeAnnotation&&!d(t[0])&&!t[0].optional&&!e.predicate&&!e.returnType}function En(e,t){if(t.arrowParens==="always")return!1;if(t.arrowParens==="avoid"){let{node:r}=e;return Cl(r)}return!1}function Ht(e,t){let{node:r}=e,s=[Y(e,t,"returnType")];return r.predicate&&s.push(t("predicate")),s}function Ni(e,t,r){let{node:n}=e,s=t.semi?";":"",u=[];if(n.argument){let o=r("argument");Al(t,n.argument)?o=["(",f([F,o]),F,")"]:(De(n.argument)||n.argument.type==="SequenceExpression"||t.experimentalTernaries&&n.argument.type==="ConditionalExpression"&&(n.argument.consequent.type==="ConditionalExpression"||n.argument.alternate.type==="ConditionalExpression"))&&(o=l([b("("),f([E,o]),E,b(")")])),u.push(" ",o)}let i=d(n,g.Dangling),a=s&&i&&d(n,g.Last|g.Line);return a&&u.push(s),i&&u.push(" ",M(e,t)),a||u.push(s),u}function Xi(e,t,r){return["return",Ni(e,t,r)]}function Yi(e,t,r){return["throw",Ni(e,t,r)]}function Al(e,t){if(Oe(e.originalText,t)||d(t,g.Leading,r=>de(e.originalText,R(r),k(r)))&&!X(t))return!0;if(jt(t)){let r=t,n;for(;n=uu(r);)if(r=n,Oe(e.originalText,r))return!0}return!1}var xs=new WeakMap;function Hi(e){return xs.has(e)||xs.set(e,e.type==="ConditionalExpression"&&!ie(e,t=>t.type==="ObjectExpression")),xs.get(e)}var Vi=e=>e.type==="SequenceExpression";function $i(e,t,r,n={}){let s=[],u,i=[],a=!1,o=!n.expandLastArg&&e.node.body.type==="ArrowFunctionExpression",c;(function T(){let{node:S}=e,B=Tl(e,t,r,n);if(s.length===0)s.push(B);else{let{leading:_,trailing:J}=ps(e,t);s.push([_,B]),i.unshift(J)}o&&(a||(a=S.returnType&&K(S).length>0||S.typeParameters||K(S).some(_=>_.type!=="Identifier"))),!o||S.body.type!=="ArrowFunctionExpression"?(u=r("body",n),c=S.body):e.call(T,"body")})();let m=!Oe(t.originalText,c)&&(Vi(c)||dl(c,u,t)||!a&&Hi(c)),D=e.key==="callee"&<(e.parent),y=Symbol("arrow-chain"),C=xl(e,n,{signatureDocs:s,shouldBreak:a}),p,A=!1;return o&&(D||n.assignmentLayout)&&(A=!0,p=n.assignmentLayout==="chain-tail-arrow-chain"||D&&!m),u=hl(e,t,n,{bodyDoc:u,bodyComments:i,functionBody:c,shouldPutBodyOnSameLine:m}),l([l(A?f([E,C]):C,{shouldBreak:p,id:y})," =>",o?At(u,{groupId:y}):l(u),o&&D?b(E,"",{groupId:y}):""])}function Tl(e,t,r,n){let{node:s}=e,u=[];if(s.async&&u.push("async "),En(e,t))u.push(r(["params",0]));else{let a=n.expandLastArg||n.expandFirstArg,o=Ht(e,r);if(a){if(ne(o))throw new Dt;o=l(ur(o))}u.push(l([Je(e,r,t,a,!0),o]))}let i=M(e,t,{filter(a){let o=yt(t.originalText,k(a));return o!==!1&&t.originalText.slice(o,o+2)==="=>"}});return i&&u.push(" ",i),u}function dl(e,t,r){var n,s;return U(e)||se(e)||e.type==="ArrowFunctionExpression"||e.type==="DoExpression"||e.type==="BlockStatement"||X(e)||((n=t.label)==null?void 0:n.hug)!==!1&&(((s=t.label)==null?void 0:s.embed)||Lr(e,r.originalText))}function xl(e,t,{signatureDocs:r,shouldBreak:n}){if(r.length===1)return r[0];let{parent:s,key:u}=e;return u!=="callee"&<(s)||De(s)?l([r[0]," =>",f([x,P([" =>",x],r.slice(1))])],{shouldBreak:n}):u==="callee"&<(s)||t.assignmentLayout?l(P([" =>",x],r),{shouldBreak:n}):l(f(P([" =>",x],r)),{shouldBreak:n})}function hl(e,t,r,{bodyDoc:n,bodyComments:s,functionBody:u,shouldPutBodyOnSameLine:i}){let{node:a,parent:o}=e,c=r.expandLastArg&&ae(t,"all")?b(","):"",m=(r.expandLastArg||o.type==="JSXExpressionContainer")&&!d(a)?E:"";return i&&Hi(u)?[" ",l([b("","("),f([E,n]),b("",")"),c,m]),s]:(Vi(u)&&(n=l(["(",f([E,n]),E,")"])),i?[" ",n,s]:[f([x,n,s]),c,m])}var gl=(e,t,r)=>{if(!(e&&t==null)){if(t.findLast)return t.findLast(r);for(let n=t.length-1;n>=0;n--){let s=t[n];if(r(s,n,t))return s}}},Ki=gl;function yr(e,t,r,n){let{node:s}=e,u=[],i=Ki(!1,s[n],a=>a.type!=="EmptyStatement");return e.each(({node:a})=>{a.type!=="EmptyStatement"&&(u.push(r()),a!==i&&(u.push(F),pe(a,t)&&u.push(F)))},n),u}function Fn(e,t,r){let n=Sl(e,t,r),{node:s,parent:u}=e;if(s.type==="Program"&&(u==null?void 0:u.type)!=="ModuleExpression")return n?[n,F]:"";let i=[];if(s.type==="StaticBlock"&&i.push("static "),i.push("{"),n)i.push(f([F,n]),F);else{let a=e.grandparent;u.type==="ArrowFunctionExpression"||u.type==="FunctionExpression"||u.type==="FunctionDeclaration"||u.type==="ComponentDeclaration"||u.type==="HookDeclaration"||u.type==="ObjectMethod"||u.type==="ClassMethod"||u.type==="ClassPrivateMethod"||u.type==="ForStatement"||u.type==="WhileStatement"||u.type==="DoWhileStatement"||u.type==="DoExpression"||u.type==="ModuleExpression"||u.type==="CatchClause"&&!a.finalizer||u.type==="TSModuleDeclaration"||s.type==="StaticBlock"||i.push(F)}return i.push("}"),i}function Sl(e,t,r){let{node:n}=e,s=w(n.directives),u=n.body.some(o=>o.type!=="EmptyStatement"),i=d(n,g.Dangling);if(!s&&!u&&!i)return"";let a=[];return s&&(a.push(yr(e,t,r,"directives")),(u||i)&&(a.push(F),pe(O(!1,n.directives,-1),t)&&a.push(F))),u&&a.push(yr(e,t,r,"body")),i&&a.push(M(e,t)),a}function Bl(e){let t=new WeakMap;return function(r){return t.has(r)||t.set(r,Symbol(e)),t.get(r)}}var Cn=Bl;function bl(e){switch(e){case null:return"";case"PlusOptional":return"+?";case"MinusOptional":return"-?";case"Optional":return"?"}}function zi(e,t,r){let{node:n}=e;return l([n.variance?r("variance"):"","[",f([r("keyTparam")," in ",r("sourceType")]),"]",bl(n.optional),": ",r("propType")])}function hs(e,t){return e==="+"||e==="-"?e+t:t}function Qi(e,t,r){let{node:n}=e,s=de(t.originalText,R(n),R(n.typeParameter));return l(["{",f([t.bracketSpacing?x:E,l([r("typeParameter"),n.optional?hs(n.optional,"?"):"",n.typeAnnotation?": ":"",r("typeAnnotation")]),t.semi?b(";"):""]),M(e,t),t.bracketSpacing?x:E,"}"],{shouldBreak:s})}var Dr=Cn("typeParameters");function Pl(e,t,r){let{node:n}=e;return K(n).length===1&&n.type.startsWith("TS")&&!n[r][0].constraint&&e.parent.type==="ArrowFunctionExpression"&&!(t.filepath&&/\.ts$/u.test(t.filepath))}function Pt(e,t,r,n){let{node:s}=e;if(!s[n])return"";if(!Array.isArray(s[n]))return r(n);let u=St(e.grandparent),i=e.match(c=>!(c[n].length===1&&we(c[n][0])),void 0,(c,m)=>m==="typeAnnotation",c=>c.type==="Identifier",Cs);if(s[n].length===0||!i&&(u||s[n].length===1&&(s[n][0].type==="NullableTypeAnnotation"||Ts(s[n][0]))))return["<",P(", ",e.map(r,n)),kl(e,t),">"];let o=s.type==="TSTypeParameterInstantiation"?"":Pl(e,t,n)?",":ae(t)?b(","):"";return l(["<",f([E,P([",",x],e.map(r,n))]),o,E,">"],{id:Dr(s)})}function kl(e,t){let{node:r}=e;if(!d(r,g.Dangling))return"";let n=!d(r,g.Line),s=M(e,t,{indent:!n});return n?s:[s,F]}function An(e,t,r){let{node:n,parent:s}=e,u=[n.type==="TSTypeParameter"&&n.const?"const ":""],i=n.type==="TSTypeParameter"?r("name"):n.name;if(s.type==="TSMappedType")return s.readonly&&u.push(hs(s.readonly,"readonly")," "),u.push("[",i),n.constraint&&u.push(" in ",r("constraint")),s.nameType&&u.push(" as ",e.callParent(()=>r("nameType"))),u.push("]"),u;if(n.variance&&u.push(r("variance")),n.in&&u.push("in "),n.out&&u.push("out "),u.push(i),n.bound&&(n.usesExtendsBound&&u.push(" extends "),u.push(Y(e,r,"bound"))),n.constraint){let a=Symbol("constraint");u.push(" extends",l(f(x),{id:a}),ke,At(r("constraint"),{groupId:a}))}return n.default&&u.push(" = ",r("default")),l(u)}var Zi=v(["ClassProperty","PropertyDefinition","ClassPrivateProperty","ClassAccessorProperty","AccessorProperty","TSAbstractPropertyDefinition","TSAbstractAccessorProperty"]);function Tn(e,t,r){let{node:n}=e,s=[$(e),Nt(e),"class"],u=d(n.id,g.Trailing)||d(n.typeParameters,g.Trailing)||d(n.superClass)||w(n.extends)||w(n.mixins)||w(n.implements),i=[],a=[];if(n.id&&i.push(" ",r("id")),i.push(r("typeParameters")),n.superClass){let o=[Ll(e,t,r),r(n.superTypeArguments?"superTypeArguments":"superTypeParameters")],c=e.call(m=>["extends ",ye(m,o,t)],"superClass");u?a.push(x,l(c)):a.push(" ",c)}else a.push(gs(e,t,r,"extends"));if(a.push(gs(e,t,r,"mixins"),gs(e,t,r,"implements")),u){let o;ta(n)?o=[...i,f(a)]:o=f([...i,a]),s.push(l(o,{id:ea(n)}))}else s.push(...i,...a);return s.push(" ",r("body")),s}var ea=Cn("heritageGroup");function Ss(e){return b(F,"",{groupId:ea(e)})}function Il(e){return["extends","mixins","implements"].reduce((t,r)=>t+(Array.isArray(e[r])?e[r].length:0),e.superClass?1:0)>1}function ta(e){return e.typeParameters&&!d(e.typeParameters,g.Trailing|g.Line)&&!Il(e)}function gs(e,t,r,n){let{node:s}=e;if(!w(s[n]))return"";let u=M(e,t,{marker:n});return[ta(s)?b(" ",x,{groupId:Dr(s.typeParameters)}):x,u,u&&F,n,l(f([x,P([",",x],e.map(r,n))]))]}function Ll(e,t,r){let n=r("superClass"),{parent:s}=e;return s.type==="AssignmentExpression"?l(b(["(",f([E,n]),E,")"],n)):n}function dn(e,t,r){let{node:n}=e,s=[];return w(n.decorators)&&s.push(fs(e,t,r)),s.push(Xt(n)),n.static&&s.push("static "),s.push(Nt(e)),n.override&&s.push("override "),s.push(mr(e,t,r)),s}function xn(e,t,r){let{node:n}=e,s=[],u=t.semi?";":"";w(n.decorators)&&s.push(fs(e,t,r)),s.push(Xt(n),$(e)),n.static&&s.push("static "),s.push(Nt(e)),n.override&&s.push("override "),n.readonly&&s.push("readonly "),n.variance&&s.push(r("variance")),(n.type==="ClassAccessorProperty"||n.type==="AccessorProperty"||n.type==="TSAbstractAccessorProperty")&&s.push("accessor "),s.push(Et(e,t,r),V(e),pn(e),Y(e,r));let i=n.type==="TSAbstractPropertyDefinition"||n.type==="TSAbstractAccessorProperty";return[Tt(e,t,r,s," =",i?void 0:"value"),u]}function ra(e,t,r){let{node:n}=e,s=[];return e.each(({node:u,next:i,isLast:a})=>{s.push(r()),!t.semi&&Zi(u)&&wl(u,i)&&s.push(";"),a||(s.push(F),pe(u,t)&&s.push(F))},"body"),d(n,g.Dangling)&&s.push(M(e,t)),[w(n.body)?Ss(e.parent):"","{",s.length>0?[f([F,s]),F]:"","}"]}function wl(e,t){var s;let{type:r,name:n}=e.key;if(!e.computed&&r==="Identifier"&&(n==="static"||n==="get"||n==="set")&&!e.value&&!e.typeAnnotation)return!0;if(!t||t.static||t.accessibility||t.readonly)return!1;if(!t.computed){let u=(s=t.key)==null?void 0:s.name;if(u==="in"||u==="instanceof")return!0}if(Zi(t)&&t.variance&&!t.static&&!t.declare)return!0;switch(t.type){case"ClassProperty":case"PropertyDefinition":case"TSAbstractPropertyDefinition":return t.computed;case"MethodDefinition":case"TSAbstractMethodDefinition":case"ClassMethod":case"ClassPrivateMethod":{if((t.value?t.value.async:t.async)||t.kind==="get"||t.kind==="set")return!1;let i=t.value?t.value.generator:t.generator;return!!(t.computed||i)}case"TSIndexSignature":return!0}return!1}function na(e,t){if(t.semi||Bs(e,t)||Ps(e,t))return!1;let{node:r,key:n,parent:s}=e;return!!(r.type==="ExpressionStatement"&&(n==="body"&&(s.type==="Program"||s.type==="BlockStatement"||s.type==="StaticBlock"||s.type==="TSModuleBlock")||n==="consequent"&&s.type==="SwitchCase")&&e.call(()=>sa(e,t),"expression"))}function sa(e,t){let{node:r}=e;switch(r.type){case"ParenthesizedExpression":case"TypeCastExpression":case"ArrayExpression":case"ArrayPattern":case"TemplateLiteral":case"TemplateElement":case"RegExpLiteral":return!0;case"ArrowFunctionExpression":if(!En(e,t))return!0;break;case"UnaryExpression":{let{prefix:n,operator:s}=r;if(n&&(s==="+"||s==="-"))return!0;break}case"BindExpression":if(!r.object)return!0;break;case"Literal":if(r.regex)return!0;break;default:if(X(r))return!0}return Be(e,t)?!0:jt(r)?e.call(()=>sa(e,t),...Pr(r)):!1}function Bs({node:e,parent:t},r){return(r.parentParser==="markdown"||r.parentParser==="mdx")&&e.type==="ExpressionStatement"&&X(e.expression)&&t.type==="Program"&&t.body.length===1}function bs(e){switch(e.type){case"MemberExpression":switch(e.property.type){case"Identifier":case"NumericLiteral":case"StringLiteral":return bs(e.object)}return!1;case"Identifier":return!0;default:return!1}}function Ps({node:e,parent:t},r){return(r.parser==="__vue_event_binding"||r.parser==="__vue_ts_event_binding")&&e.type==="ExpressionStatement"&&t.type==="Program"&&t.body.length===1}function ua(e,t,r){let n=[r("expression")];return Ps(e,t)?bs(e.node.expression)&&n.push(";"):Bs(e,t)||t.semi&&n.push(";"),n}function ia(e,t,r){if(t.__isVueBindings||t.__isVueForBindingLeft){let n=e.map(r,"program","body",0,"params");if(n.length===1)return n[0];let s=P([",",x],n);return t.__isVueForBindingLeft?["(",f([E,l(s)]),E,")"]:s}if(t.__isEmbeddedTypescriptGenericParameters){let n=e.map(r,"program","body",0,"typeParameters","params");return P([",",x],n)}}function pa(e,t){let{node:r}=e;switch(r.type){case"RegExpLiteral":return aa(r);case"BigIntLiteral":return hn(r.extra.raw);case"NumericLiteral":return Ze(r.extra.raw);case"StringLiteral":return Ie(tt(r.extra.raw,t));case"NullLiteral":return"null";case"BooleanLiteral":return String(r.value);case"DecimalLiteral":return Ze(r.value)+"m";case"DirectiveLiteral":return oa(r.extra.raw,t);case"Literal":{if(r.regex)return aa(r.regex);if(r.bigint)return hn(r.raw);if(r.decimal)return Ze(r.decimal)+"m";let{value:n}=r;return typeof n=="number"?Ze(r.raw):typeof n=="string"?Ol(e)?oa(r.raw,t):Ie(tt(r.raw,t)):String(n)}}}function Ol(e){if(e.key!=="expression")return;let{parent:t}=e;return t.type==="ExpressionStatement"&&t.directive}function hn(e){return e.toLowerCase()}function aa({pattern:e,flags:t}){return t=[...t].sort().join(""),`/${e}/${t}`}function oa(e,t){let r=e.slice(1,-1);if(r.includes('"')||r.includes("'"))return e;let n=t.singleQuote?"'":'"';return n+r+n}function _l(e,t,r){let n=e.originalText.slice(t,r);for(let s of e[Symbol.for("comments")]){let u=R(s);if(u>r)break;let i=k(s);if(ie.type==="ExportDefaultDeclaration"||e.type==="DeclareExportDeclaration"&&e.default;function gn(e,t,r){let{node:n}=e,s=[di(e,t,r),$(e),"export",la(n)?" default":""],{declaration:u,exported:i}=n;return d(n,g.Dangling)&&(s.push(" ",M(e,t)),wr(n)&&s.push(F)),u?s.push(" ",r("declaration")):(s.push(Ml(n)),n.type==="ExportAllDeclaration"||n.type==="DeclareExportAllDeclaration"?(s.push(" *"),i&&s.push(" as ",r("exported"))):s.push(ya(e,t,r)),s.push(ma(e,t,r),fa(e,t,r))),s.push(vl(n,t)),s}var jl=v(["ClassDeclaration","ComponentDeclaration","FunctionDeclaration","TSInterfaceDeclaration","DeclareClass","DeclareComponent","DeclareFunction","DeclareHook","HookDeclaration","TSDeclareFunction","EnumDeclaration"]);function vl(e,t){return t.semi&&(!e.declaration||la(e)&&!jl(e.declaration))?";":""}function ks(e,t=!0){return e&&e!=="value"?`${t?" ":""}${e}${t?"":" "}`:""}function Is(e,t){return ks(e.importKind,t)}function Ml(e){return ks(e.exportKind)}function ma(e,t,r){let{node:n}=e;if(!n.source)return"";let s=[];return Da(n,t)&&s.push(" from"),s.push(" ",r("source")),s}function ya(e,t,r){let{node:n}=e;if(!Da(n,t))return"";let s=[" "];if(w(n.specifiers)){let u=[],i=[];e.each(()=>{let a=e.node.type;if(a==="ExportNamespaceSpecifier"||a==="ExportDefaultSpecifier"||a==="ImportNamespaceSpecifier"||a==="ImportDefaultSpecifier")u.push(r());else if(a==="ExportSpecifier"||a==="ImportSpecifier")i.push(r());else throw new Me(n,"specifier")},"specifiers"),s.push(P(", ",u)),i.length>0&&(u.length>0&&s.push(", "),i.length>1||u.length>0||n.specifiers.some(o=>d(o))?s.push(l(["{",f([t.bracketSpacing?x:E,P([",",x],i)]),b(ae(t)?",":""),t.bracketSpacing?x:E,"}"])):s.push(["{",t.bracketSpacing?" ":"",...i,t.bracketSpacing?" ":"","}"]))}else s.push("{}");return s}function Da(e,t){return e.type!=="ImportDeclaration"||w(e.specifiers)||e.importKind==="type"?!0:fr(t,R(e),R(e.source)).trimEnd().endsWith("from")}function Rl(e,t){var n,s;if((n=e.extra)!=null&&n.deprecatedAssertSyntax)return"assert";let r=fr(t,k(e.source),(s=e.attributes)!=null&&s[0]?R(e.attributes[0]):k(e)).trimStart();return r.startsWith("assert")?"assert":r.startsWith("with")||w(e.attributes)?"with":void 0}function fa(e,t,r){let{node:n}=e;if(!n.source)return"";let s=Rl(n,t);if(!s)return"";let u=[` ${s} {`];return w(n.attributes)&&(t.bracketSpacing&&u.push(" "),u.push(P(", ",e.map(r,"attributes"))),t.bracketSpacing&&u.push(" ")),u.push("}"),u}function Ea(e,t,r){let{node:n}=e,{type:s}=n,u=s.startsWith("Import"),i=u?"imported":"local",a=u?"local":"exported",o=n[i],c=n[a],m="",D="";return s==="ExportNamespaceSpecifier"||s==="ImportNamespaceSpecifier"?m="*":o&&(m=r(i)),c&&!Jl(n)&&(D=r(a)),[ks(s==="ImportSpecifier"?n.importKind:n.exportKind,!1),m,m&&D?" as ":"",D]}function Jl(e){if(e.type!=="ImportSpecifier"&&e.type!=="ExportSpecifier")return!1;let{local:t,[e.type==="ImportSpecifier"?"imported":"exported"]:r}=e;if(t.type!==r.type||!eu(t,r))return!1;if(Q(t))return t.value===r.value&&fe(t)===fe(r);switch(t.type){case"Identifier":return t.name===r.name;default:return!1}}function dt(e,t,r){var j;let n=t.semi?";":"",{node:s}=e,u=s.type==="ObjectTypeAnnotation",i=s.type==="TSEnumDeclaration"||s.type==="EnumBooleanBody"||s.type==="EnumNumberBody"||s.type==="EnumBigIntBody"||s.type==="EnumStringBody"||s.type==="EnumSymbolBody",a=[s.type==="TSTypeLiteral"||i?"members":s.type==="TSInterfaceBody"?"body":"properties"];u&&a.push("indexers","callProperties","internalSlots");let o=a.flatMap(h=>e.map(({node:W})=>({node:W,printed:r(),loc:R(W)}),h));a.length>1&&o.sort((h,W)=>h.loc-W.loc);let{parent:c,key:m}=e,D=u&&m==="body"&&(c.type==="InterfaceDeclaration"||c.type==="DeclareInterface"||c.type==="DeclareClass"),y=s.type==="TSInterfaceBody"||i||D||s.type==="ObjectPattern"&&c.type!=="FunctionDeclaration"&&c.type!=="FunctionExpression"&&c.type!=="ArrowFunctionExpression"&&c.type!=="ObjectMethod"&&c.type!=="ClassMethod"&&c.type!=="ClassPrivateMethod"&&c.type!=="AssignmentPattern"&&c.type!=="CatchClause"&&s.properties.some(h=>h.value&&(h.value.type==="ObjectPattern"||h.value.type==="ArrayPattern"))||s.type!=="ObjectPattern"&&o.length>0&&de(t.originalText,R(s),o[0].loc),C=D?";":s.type==="TSInterfaceBody"||s.type==="TSTypeLiteral"?b(n,";"):",",p=s.type==="RecordExpression"?"#{":s.exact?"{|":"{",A=s.exact?"|}":"}",T=[],S=o.map(h=>{let W=[...T,l(h.printed)];return T=[C,x],(h.node.type==="TSPropertySignature"||h.node.type==="TSMethodSignature"||h.node.type==="TSConstructSignatureDeclaration"||h.node.type==="TSCallSignatureDeclaration")&&d(h.node,g.PrettierIgnore)&&T.shift(),pe(h.node,t)&&T.push(F),W});if(s.inexact||s.hasUnknownMembers){let h;if(d(s,g.Dangling)){let W=d(s,g.Line);h=[M(e,t),W||te(t.originalText,k(O(!1,ct(s),-1)))?F:x,"..."]}else h=["..."];S.push([...T,...h])}let B=(j=O(!1,o,-1))==null?void 0:j.node,_=!(s.inexact||s.hasUnknownMembers||B&&(B.type==="RestElement"||(B.type==="TSPropertySignature"||B.type==="TSCallSignatureDeclaration"||B.type==="TSMethodSignature"||B.type==="TSConstructSignatureDeclaration")&&d(B,g.PrettierIgnore))),J;if(S.length===0){if(!d(s,g.Dangling))return[p,A,Y(e,r)];J=l([p,M(e,t,{indent:!0}),E,A,V(e),Y(e,r)])}else J=[D&&w(s.properties)?Ss(c):"",p,f([t.bracketSpacing?x:E,...S]),b(_&&(C!==","||ae(t))?C:""),t.bracketSpacing?x:E,A,V(e),Y(e,r)];return e.match(h=>h.type==="ObjectPattern"&&!w(h.decorators),Ls)||we(s)&&(e.match(void 0,(h,W)=>W==="typeAnnotation",(h,W)=>W==="typeAnnotation",Ls)||e.match(void 0,(h,W)=>h.type==="FunctionTypeParam"&&W==="typeAnnotation",Ls))||!y&&e.match(h=>h.type==="ObjectPattern",h=>h.type==="AssignmentExpression"||h.type==="VariableDeclarator")?J:l(J,{shouldBreak:y})}function Ls(e,t){return(t==="params"||t==="parameters"||t==="this"||t==="rest")&&As(e)}function ql(e){let t=[e];for(let r=0;ry[H]===n),p=y.type===n.type&&!C,A,T,S=0;do T=A||n,A=e.getParentNode(S),S++;while(A&&A.type===n.type&&a.every(H=>A[H]!==T));let B=A||y,_=T;if(s&&(X(n[a[0]])||X(o)||X(c)||ql(_))){D=!0,p=!0;let H=Z=>[b("("),f([E,Z]),E,b(")")],ue=Z=>Z.type==="NullLiteral"||Z.type==="Literal"&&Z.value===null||Z.type==="Identifier"&&Z.name==="undefined";m.push(" ? ",ue(o)?r(u):H(r(u))," : ",c.type===n.type||ue(c)?r(i):H(r(i)))}else{let H=Z=>t.useTabs?f(r(Z)):he(2,r(Z)),ue=[x,"? ",o.type===n.type?b("","("):"",H(u),o.type===n.type?b("",")"):"",x,": ",H(i)];m.push(y.type!==n.type||y[i]===n||C?ue:t.useTabs?Mr(f(ue)):he(Math.max(0,t.tabWidth-2),ue))}let J=[u,i,...a].some(H=>d(n[H],ue=>re(ue)&&de(t.originalText,R(ue),k(ue)))),j=H=>y===B?l(H,{shouldBreak:J}):J?[H,Ee]:H,h=!D&&(q(y)||y.type==="NGPipeExpression"&&y.left===n)&&!y.computed,W=Ul(e),Fe=j([Wl(e,t,r),p?m:f(m),s&&h&&!W?E:""]);return C||W?l([f([E,Fe]),E]):Fe}function Nl(e,t){return(q(t)||t.type==="NGPipeExpression"&&t.left===e)&&!t.computed}function Xl(e,t,r,n){return[...e.map(u=>ct(u)),ct(t),ct(r)].flat().some(u=>re(u)&&de(n.originalText,R(u),k(u)))}var Yl=new Map([["AssignmentExpression","right"],["VariableDeclarator","init"],["ReturnStatement","argument"],["ThrowStatement","argument"],["UnaryExpression","argument"],["YieldExpression","argument"],["AwaitExpression","argument"]]);function Hl(e){let{node:t}=e;if(t.type!=="ConditionalExpression")return!1;let r,n=t;for(let s=0;!r;s++){let u=e.getParentNode(s);if(u.type==="ChainExpression"&&u.expression===n||L(u)&&u.callee===n||q(u)&&u.object===n||u.type==="TSNonNullExpression"&&u.expression===n){n=u;continue}u.type==="NewExpression"&&u.callee===n||Te(u)&&u.expression===n?(r=e.getParentNode(s+1),n=u):r=u}return n===t?!1:r[Yl.get(r.type)]===n}var ws=e=>[b("("),f([E,e]),E,b(")")];function Vt(e,t,r,n){if(!t.experimentalTernaries)return Fa(e,t,r);let{node:s}=e,u=s.type==="ConditionalExpression",i=s.type==="TSConditionalType"||s.type==="ConditionalTypeAnnotation",a=u?"consequent":"trueType",o=u?"alternate":"falseType",c=u?["test"]:["checkType","extendsType"],m=s[a],D=s[o],y=c.map(We=>s[We]),{parent:C}=e,p=C.type===s.type,A=p&&c.some(We=>C[We]===s),T=p&&C[o]===s,S=m.type===s.type,B=D.type===s.type,_=B||T,J=t.tabWidth>2||t.useTabs,j,h,W=0;do h=j||s,j=e.getParentNode(W),W++;while(j&&j.type===s.type&&c.every(We=>j[We]!==h));let Fe=j||C,H=n&&n.assignmentLayout&&n.assignmentLayout!=="break-after-operator"&&(C.type==="AssignmentExpression"||C.type==="VariableDeclarator"||C.type==="ClassProperty"||C.type==="PropertyDefinition"||C.type==="ClassPrivateProperty"||C.type==="ObjectProperty"||C.type==="Property"),ue=(C.type==="ReturnStatement"||C.type==="ThrowStatement")&&!(S||B),Z=u&&Fe.type==="JSXExpressionContainer"&&e.grandparent.type!=="JSXAttribute",It=Hl(e),$t=Nl(s,C),I=i&&Be(e,t),G=J?t.useTabs?" ":" ".repeat(t.tabWidth-1):"",ee=Xl(y,m,D,t)||S||B,qe=!_&&!p&&!i&&(Z?m.type==="NullLiteral"||m.type==="Literal"&&m.value===null:rr(m,t)&&Rn(s.test,3)),xt=_||T||i&&!p||p&&u&&Rn(s.test,1)||qe,js=[];!S&&d(m,g.Dangling)&&e.call(We=>{js.push(M(We,t),F)},"consequent");let Kt=[];d(s.test,g.Dangling)&&e.call(We=>{Kt.push(M(We,t))},"test"),!B&&d(D,g.Dangling)&&e.call(We=>{Kt.push(M(We,t))},"alternate"),d(s,g.Dangling)&&Kt.push(M(e,t));let vs=Symbol("test"),Ma=Symbol("consequent"),Fr=Symbol("test-and-consequent"),Ra=u?[ws(r("test")),s.test.type==="ConditionalExpression"?Ee:""]:[r("checkType")," ","extends"," ",s.extendsType.type==="TSConditionalType"||s.extendsType.type==="ConditionalTypeAnnotation"||s.extendsType.type==="TSMappedType"?r("extendsType"):l(ws(r("extendsType")))],Ms=l([Ra," ?"],{id:vs}),Ja=r(a),Cr=f([S||Z&&(X(m)||p||_)?F:x,js,Ja]),qa=xt?l([Ms,_?Cr:b(Cr,l(Cr,{id:Ma}),{groupId:vs})],{id:Fr}):[Ms,Cr],kn=r(o),Rs=qe?b(kn,Mr(ws(kn)),{groupId:Fr}):kn,zt=[qa,Kt.length>0?[f([F,Kt]),F]:B?F:qe?b(x," ",{groupId:Fr}):x,":",B?" ":J?xt?b(G,b(_||qe?" ":G," "),{groupId:Fr}):b(G," "):" ",B?Rs:l([f(Rs),Z&&!qe?E:""]),$t&&!It?E:"",ee?Ee:""];return H&&!ee?l(f([E,l(zt)])):H||ue?l(f(zt)):It||i&&A?l([f([E,zt]),I?E:""]):C===Fe?l(zt):zt}function Ca(e,t,r,n){let{node:s}=e;if(kr(s))return pa(e,t);let u=t.semi?";":"",i=[];switch(s.type){case"JsExpressionRoot":return r("node");case"JsonRoot":return[r("node"),F];case"File":return ia(e,t,r)??r("program");case"EmptyStatement":return"";case"ExpressionStatement":return ua(e,t,r);case"ChainExpression":return r("expression");case"ParenthesizedExpression":return!d(s.expression)&&(se(s.expression)||U(s.expression))?["(",r("expression"),")"]:l(["(",f([E,r("expression")]),E,")"]);case"AssignmentExpression":return wi(e,t,r);case"VariableDeclarator":return Oi(e,t,r);case"BinaryExpression":case"LogicalExpression":return Yr(e,t,r);case"AssignmentPattern":return[r("left")," = ",r("right")];case"OptionalMemberExpression":case"MemberExpression":return bi(e,t,r);case"MetaProperty":return[r("meta"),".",r("property")];case"BindExpression":return s.object&&i.push(r("object")),i.push(l(f([E,Hr(e,t,r)]))),i;case"Identifier":return[s.name,V(e),pn(e),Y(e,r)];case"V8IntrinsicIdentifier":return["%",s.name];case"SpreadElement":case"SpreadElementPattern":case"SpreadPropertyPattern":case"RestElement":return cn(e,r);case"FunctionDeclaration":case"FunctionExpression":return Dn(e,r,t,n);case"ArrowFunctionExpression":return $i(e,t,r,n);case"YieldExpression":return i.push("yield"),s.delegate&&i.push("*"),s.argument&&i.push(" ",r("argument")),i;case"AwaitExpression":if(i.push("await"),s.argument){i.push(" ",r("argument"));let{parent:a}=e;if(L(a)&&a.callee===s||q(a)&&a.object===s){i=[f([E,...i]),E];let o=e.findAncestor(c=>c.type==="AwaitExpression"||c.type==="BlockStatement");if((o==null?void 0:o.type)!=="AwaitExpression"||!ie(o.argument,c=>c===s))return l(i)}}return i;case"ExportDefaultDeclaration":case"ExportNamedDeclaration":case"ExportAllDeclaration":return gn(e,t,r);case"ImportDeclaration":return ca(e,t,r);case"ImportSpecifier":case"ExportSpecifier":case"ImportNamespaceSpecifier":case"ExportNamespaceSpecifier":case"ImportDefaultSpecifier":case"ExportDefaultSpecifier":return Ea(e,t,r);case"ImportAttribute":return yn(e,t,r);case"Import":return"import";case"Program":case"BlockStatement":case"StaticBlock":return Fn(e,t,r);case"ClassBody":return ra(e,t,r);case"ThrowStatement":return Yi(e,t,r);case"ReturnStatement":return Xi(e,t,r);case"NewExpression":case"ImportExpression":case"OptionalCallExpression":case"CallExpression":return Vr(e,t,r);case"ObjectExpression":case"ObjectPattern":case"RecordExpression":return dt(e,t,r);case"Property":return gt(s)?mr(e,t,r):yn(e,t,r);case"ObjectProperty":return yn(e,t,r);case"ObjectMethod":return mr(e,t,r);case"Decorator":return["@",r("expression")];case"ArrayExpression":case"ArrayPattern":case"TupleExpression":return Yt(e,t,r);case"SequenceExpression":{let{parent:a}=e;if(a.type==="ExpressionStatement"||a.type==="ForStatement"){let o=[];return e.each(({isFirst:c})=>{c?o.push(r()):o.push(",",f([x,r()]))},"expressions"),l(o)}return l(P([",",x],e.map(r,"expressions")))}case"ThisExpression":return"this";case"Super":return"super";case"Directive":return[r("value"),u];case"UnaryExpression":return i.push(s.operator),/[a-z]$/u.test(s.operator)&&i.push(" "),d(s.argument)?i.push(l(["(",f([E,r("argument")]),E,")"])):i.push(r("argument")),i;case"UpdateExpression":return[s.prefix?s.operator:"",r("argument"),s.prefix?"":s.operator];case"ConditionalExpression":return Vt(e,t,r,n);case"VariableDeclaration":{let a=e.map(r,"declarations"),o=e.parent,c=o.type==="ForStatement"||o.type==="ForInStatement"||o.type==="ForOfStatement",m=s.declarations.some(y=>y.init),D;return a.length===1&&!d(s.declarations[0])?D=a[0]:a.length>0&&(D=f(a[0])),i=[$(e),s.kind,D?[" ",D]:"",f(a.slice(1).map(y=>[",",m&&!c?F:x,y]))],c&&o.body!==s||i.push(u),l(i)}case"WithStatement":return l(["with (",r("object"),")",ft(s.body,r("body"))]);case"IfStatement":{let a=ft(s.consequent,r("consequent")),o=l(["if (",l([f([E,r("test")]),E]),")",a]);if(i.push(o),s.alternate){let c=d(s.consequent,g.Trailing|g.Line)||wr(s),m=s.consequent.type==="BlockStatement"&&!c;i.push(m?" ":F),d(s,g.Dangling)&&i.push(M(e,t),c?F:" "),i.push("else",l(ft(s.alternate,r("alternate"),s.alternate.type==="IfStatement")))}return i}case"ForStatement":{let a=ft(s.body,r("body")),o=M(e,t),c=o?[o,E]:"";return!s.init&&!s.test&&!s.update?[c,l(["for (;;)",a])]:[c,l(["for (",l([f([E,r("init"),";",x,r("test"),";",x,r("update")]),E]),")",a])]}case"WhileStatement":return l(["while (",l([f([E,r("test")]),E]),")",ft(s.body,r("body"))]);case"ForInStatement":return l(["for (",r("left")," in ",r("right"),")",ft(s.body,r("body"))]);case"ForOfStatement":return l(["for",s.await?" await":""," (",r("left")," of ",r("right"),")",ft(s.body,r("body"))]);case"DoWhileStatement":{let a=ft(s.body,r("body"));return i=[l(["do",a])],s.body.type==="BlockStatement"?i.push(" "):i.push(F),i.push("while (",l([f([E,r("test")]),E]),")",u),i}case"DoExpression":return[s.async?"async ":"","do ",r("body")];case"BreakStatement":case"ContinueStatement":return i.push(s.type==="BreakStatement"?"break":"continue"),s.label&&i.push(" ",r("label")),i.push(u),i;case"LabeledStatement":return s.body.type==="EmptyStatement"?[r("label"),":;"]:[r("label"),": ",r("body")];case"TryStatement":return["try ",r("block"),s.handler?[" ",r("handler")]:"",s.finalizer?[" finally ",r("finalizer")]:""];case"CatchClause":if(s.param){let a=d(s.param,c=>!re(c)||c.leading&&te(t.originalText,k(c))||c.trailing&&te(t.originalText,R(c),{backwards:!0})),o=r("param");return["catch ",a?["(",f([E,o]),E,") "]:["(",o,") "],r("body")]}return["catch ",r("body")];case"SwitchStatement":return[l(["switch (",f([E,r("discriminant")]),E,")"])," {",s.cases.length>0?f([F,P(F,e.map(({node:a,isLast:o})=>[r(),!o&&pe(a,t)?F:""],"cases"))]):"",F,"}"];case"SwitchCase":{s.test?i.push("case ",r("test"),":"):i.push("default:"),d(s,g.Dangling)&&i.push(" ",M(e,t));let a=s.consequent.filter(o=>o.type!=="EmptyStatement");if(a.length>0){let o=yr(e,t,r,"consequent");i.push(a.length===1&&a[0].type==="BlockStatement"?[" ",o]:f([F,o]))}return i}case"DebuggerStatement":return["debugger",u];case"ClassDeclaration":case"ClassExpression":return Tn(e,t,r);case"ClassMethod":case"ClassPrivateMethod":case"MethodDefinition":return dn(e,t,r);case"ClassProperty":case"PropertyDefinition":case"ClassPrivateProperty":case"ClassAccessorProperty":case"AccessorProperty":return xn(e,t,r);case"TemplateElement":return Ie(s.value.raw);case"TemplateLiteral":return qr(e,r,t);case"TaggedTemplateExpression":return Uu(e,r);case"PrivateIdentifier":return["#",s.name];case"PrivateName":return["#",r("id")];case"TopicReference":return"%";case"ArgumentPlaceholder":return"?";case"ModuleExpression":return["module ",r("body")];case"InterpreterDirective":default:throw new Me(s,"ESTree")}}function Sn(e,t,r){let{parent:n,node:s,key:u}=e,i=[r("expression")];switch(s.type){case"AsConstExpression":i.push(" as const");break;case"AsExpression":case"TSAsExpression":i.push(" as ",r("typeAnnotation"));break;case"SatisfiesExpression":case"TSSatisfiesExpression":i.push(" satisfies ",r("typeAnnotation"));break}return u==="callee"&&L(n)||u==="object"&&q(n)?l([f([E,...i]),E]):i}function Aa(e,t,r){let{node:n}=e,s=[$(e),"component"];n.id&&s.push(" ",r("id")),s.push(r("typeParameters"));let u=Vl(e,r,t);return n.rendersType?s.push(l([u," ",r("rendersType")])):s.push(l([u])),n.body&&s.push(" ",r("body")),t.semi&&n.type==="DeclareComponent"&&s.push(";"),s}function Vl(e,t,r){let{node:n}=e,s=n.params;if(n.rest&&(s=[...s,n.rest]),s.length===0)return["(",M(e,r,{filter:i=>ge(r.originalText,k(i))===")"}),")"];let u=[];return Kl(e,(i,a)=>{let o=a===s.length-1;o&&n.rest&&u.push("..."),u.push(t()),!o&&(u.push(","),pe(s[a],r)?u.push(F,F):u.push(x))}),["(",f([E,...u]),b(ae(r,"all")&&!$l(n,s)?",":""),E,")"]}function $l(e,t){var r;return e.rest||((r=O(!1,t,-1))==null?void 0:r.type)==="RestElement"}function Kl(e,t){let{node:r}=e,n=0,s=u=>t(u,n++);e.each(s,"params"),r.rest&&e.call(s,"rest")}function Ta(e,t,r){let{node:n}=e;return n.shorthand?r("local"):[r("name")," as ",r("local")]}function da(e,t,r){let{node:n}=e,s=[];return n.name&&s.push(r("name"),n.optional?"?: ":": "),s.push(r("typeAnnotation")),s}function xa(e,t,r){return dt(e,r,t)}function Bn(e,t){let{node:r}=e,n=t("id");r.computed&&(n=["[",n,"]"]);let s="";return r.initializer&&(s=t("initializer")),r.init&&(s=t("init")),s?[n," = ",s]:n}function ha(e,t,r){let{node:n}=e,s;if(n.type==="EnumSymbolBody"||n.explicitType)switch(n.type){case"EnumBooleanBody":s="boolean";break;case"EnumNumberBody":s="number";break;case"EnumBigIntBody":s="bigint";break;case"EnumStringBody":s="string";break;case"EnumSymbolBody":s="symbol";break}return[s?`of ${s} `:"",xa(e,t,r)]}function bn(e,t,r){let{node:n}=e;return[$(e),n.const?"const ":"","enum ",t("id")," ",n.type==="TSEnumDeclaration"?xa(e,t,r):t("body")]}function Sa(e,t,r){let{node:n}=e,s=["hook"];n.id&&s.push(" ",r("id"));let u=Je(e,r,t,!1,!0),i=Ht(e,r),a=ot(n,i);return s.push(l([a?l(u):u,i]),n.body?" ":"",r("body")),s}function Ba(e,t,r){let{node:n}=e,s=[$(e),"hook"];return n.id&&s.push(" ",r("id")),t.semi&&s.push(";"),s}function ga(e){var r;let{node:t}=e;return t.type==="HookTypeAnnotation"&&((r=e.getParentNode(2))==null?void 0:r.type)==="DeclareHook"}function ba(e,t,r){let{node:n}=e,s=[];s.push(ga(e)?"":"hook ");let u=Je(e,r,t,!1,!0),i=[];return i.push(ga(e)?": ":" => ",r("returnType")),ot(n,i)&&(u=l(u)),s.push(u,i),l(s)}function Pn(e,t,r){let{node:n}=e,s=[$(e),"interface"],u=[],i=[];n.type!=="InterfaceTypeAnnotation"&&u.push(" ",r("id"),r("typeParameters"));let a=n.typeParameters&&!d(n.typeParameters,g.Trailing|g.Line);return w(n.extends)&&i.push(a?b(" ",x,{groupId:Dr(n.typeParameters)}):x,"extends ",(n.extends.length===1?mu:f)(P([",",x],e.map(r,"extends")))),d(n.id,g.Trailing)||w(n.extends)?a?s.push(l([...u,f(i)])):s.push(l(f([...u,...i]))):s.push(...u,...i),s.push(" ",r("body")),l(s)}function Pa(e,t,r){let{node:n}=e;if(Sr(n))return n.type.slice(0,-14).toLowerCase();let s=t.semi?";":"";switch(n.type){case"ComponentDeclaration":case"DeclareComponent":case"ComponentTypeAnnotation":return Aa(e,t,r);case"ComponentParameter":return Ta(e,t,r);case"ComponentTypeParameter":return da(e,t,r);case"HookDeclaration":return Sa(e,t,r);case"DeclareHook":return Ba(e,t,r);case"HookTypeAnnotation":return ba(e,t,r);case"DeclareClass":return Tn(e,t,r);case"DeclareFunction":return[$(e),"function ",r("id"),r("predicate"),s];case"DeclareModule":return["declare module ",r("id")," ",r("body")];case"DeclareModuleExports":return["declare module.exports",Y(e,r),s];case"DeclareNamespace":return["declare namespace ",r("id")," ",r("body")];case"DeclareVariable":return[$(e),n.kind??"var"," ",r("id"),s];case"DeclareExportDeclaration":case"DeclareExportAllDeclaration":return gn(e,t,r);case"DeclareOpaqueType":case"OpaqueType":return Mi(e,t,r);case"DeclareTypeAlias":case"TypeAlias":return Kr(e,t,r);case"IntersectionTypeAnnotation":return zr(e,t,r);case"UnionTypeAnnotation":return Qr(e,t,r);case"ConditionalTypeAnnotation":return Vt(e,t,r);case"InferTypeAnnotation":return tn(e,t,r);case"FunctionTypeAnnotation":return Zr(e,t,r);case"TupleTypeAnnotation":return Yt(e,t,r);case"TupleTypeLabeledElement":return nn(e,t,r);case"TupleTypeSpreadElement":return rn(e,t,r);case"GenericTypeAnnotation":return[r("id"),Pt(e,t,r,"typeParameters")];case"IndexedAccessType":case"OptionalIndexedAccessType":return en(e,t,r);case"TypeAnnotation":return sn(e,t,r);case"TypeParameter":return An(e,t,r);case"TypeofTypeAnnotation":return an(e,r);case"ExistsTypeAnnotation":return"*";case"ArrayTypeAnnotation":return un(r);case"DeclareEnum":case"EnumDeclaration":return bn(e,r,t);case"EnumBooleanBody":case"EnumNumberBody":case"EnumBigIntBody":case"EnumStringBody":case"EnumSymbolBody":return ha(e,r,t);case"EnumBooleanMember":case"EnumNumberMember":case"EnumBigIntMember":case"EnumStringMember":case"EnumDefaultedMember":return Bn(e,r);case"FunctionTypeParam":{let u=n.name?r("name"):e.parent.this===n?"this":"";return[u,V(e),u?": ":"",r("typeAnnotation")]}case"DeclareInterface":case"InterfaceDeclaration":case"InterfaceTypeAnnotation":return Pn(e,t,r);case"ClassImplements":case"InterfaceExtends":return[r("id"),r("typeParameters")];case"NullableTypeAnnotation":return["?",r("typeAnnotation")];case"Variance":{let{kind:u}=n;return ln.ok(u==="plus"||u==="minus"),u==="plus"?"+":"-"}case"KeyofTypeAnnotation":return["keyof ",r("argument")];case"ObjectTypeCallProperty":return[n.static?"static ":"",r("value")];case"ObjectTypeMappedTypeProperty":return zi(e,t,r);case"ObjectTypeIndexer":return[n.static?"static ":"",n.variance?r("variance"):"","[",r("id"),n.id?": ":"",r("key"),"]: ",r("value")];case"ObjectTypeProperty":{let u="";return n.proto?u="proto ":n.static&&(u="static "),[u,n.kind!=="init"?n.kind+" ":"",n.variance?r("variance"):"",Et(e,t,r),V(e),gt(n)?"":": ",r("value")]}case"ObjectTypeAnnotation":return dt(e,t,r);case"ObjectTypeInternalSlot":return[n.static?"static ":"","[[",r("id"),"]]",V(e),n.method?"":": ",r("value")];case"ObjectTypeSpreadProperty":return cn(e,r);case"QualifiedTypeofIdentifier":case"QualifiedTypeIdentifier":return[r("qualification"),".",r("id")];case"NullLiteralTypeAnnotation":return"null";case"BooleanLiteralTypeAnnotation":return String(n.value);case"StringLiteralTypeAnnotation":return Ie(tt(fe(n),t));case"NumberLiteralTypeAnnotation":return Ze(n.raw??n.extra.raw);case"BigIntLiteralTypeAnnotation":return hn(n.raw??n.extra.raw);case"TypeCastExpression":return["(",r("expression"),Y(e,r),")"];case"TypePredicate":return on(e,r);case"TypeOperator":return[n.operator," ",r("typeAnnotation")];case"TypeParameterDeclaration":case"TypeParameterInstantiation":return Pt(e,t,r,"params");case"InferredPredicate":case"DeclaredPredicate":return[e.key==="predicate"&&e.parent.type!=="DeclareFunction"&&!e.parent.returnType?": ":" ","%checks",...n.type==="DeclaredPredicate"?["(",r("value"),")"]:[]];case"AsExpression":case"AsConstExpression":case"SatisfiesExpression":return Sn(e,t,r)}}function ka(e,t,r){var i;let{node:n}=e;if(!n.type.startsWith("TS"))return;if(Br(n))return n.type.slice(2,-7).toLowerCase();let s=t.semi?";":"",u=[];switch(n.type){case"TSThisType":return"this";case"TSTypeAssertion":{let a=!(U(n.expression)||se(n.expression)),o=l(["<",f([E,r("typeAnnotation")]),E,">"]),c=[b("("),f([E,r("expression")]),E,b(")")];return a?ze([[o,r("expression")],[o,l(c,{shouldBreak:!0})],[o,r("expression")]]):l([o,r("expression")])}case"TSDeclareFunction":return Dn(e,r,t);case"TSExportAssignment":return["export = ",r("expression"),s];case"TSModuleBlock":return Fn(e,t,r);case"TSInterfaceBody":case"TSTypeLiteral":return dt(e,t,r);case"TSTypeAliasDeclaration":return Kr(e,t,r);case"TSQualifiedName":return[r("left"),".",r("right")];case"TSAbstractMethodDefinition":case"TSDeclareMethod":return dn(e,t,r);case"TSAbstractAccessorProperty":case"TSAbstractPropertyDefinition":return xn(e,t,r);case"TSInterfaceHeritage":case"TSClassImplements":case"TSExpressionWithTypeArguments":case"TSInstantiationExpression":return[r("expression"),r(n.typeArguments?"typeArguments":"typeParameters")];case"TSTemplateLiteralType":return qr(e,r,t);case"TSNamedTupleMember":return nn(e,t,r);case"TSRestType":return rn(e,t,r);case"TSOptionalType":return[r("typeAnnotation"),"?"];case"TSInterfaceDeclaration":return Pn(e,t,r);case"TSTypeParameterDeclaration":case"TSTypeParameterInstantiation":return Pt(e,t,r,"params");case"TSTypeParameter":return An(e,t,r);case"TSAsExpression":case"TSSatisfiesExpression":return Sn(e,t,r);case"TSArrayType":return un(r);case"TSPropertySignature":return[n.readonly?"readonly ":"",Et(e,t,r),V(e),Y(e,r)];case"TSParameterProperty":return[Xt(n),n.static?"static ":"",n.override?"override ":"",n.readonly?"readonly ":"",r("parameter")];case"TSTypeQuery":return an(e,r);case"TSIndexSignature":{let a=n.parameters.length>1?b(ae(t)?",":""):"",o=l([f([E,P([", ",E],e.map(r,"parameters"))]),a,E]),c=e.parent.type==="ClassBody"&&e.key==="body";return[c&&n.static?"static ":"",n.readonly?"readonly ":"","[",n.parameters?o:"","]",Y(e,r),c?s:""]}case"TSTypePredicate":return on(e,r);case"TSNonNullExpression":return[r("expression"),"!"];case"TSImportType":return[n.isTypeOf?"typeof ":"","import(",r("argument"),")",n.qualifier?[".",r("qualifier")]:"",Pt(e,t,r,n.typeArguments?"typeArguments":"typeParameters")];case"TSLiteralType":return r("literal");case"TSIndexedAccessType":return en(e,t,r);case"TSTypeOperator":return[n.operator," ",r("typeAnnotation")];case"TSMappedType":return Qi(e,t,r);case"TSMethodSignature":{let a=n.kind&&n.kind!=="method"?`${n.kind} `:"";u.push(Xt(n),a,n.computed?"[":"",r("key"),n.computed?"]":"",V(e));let o=Je(e,r,t,!1,!0),c=n.returnType?"returnType":"typeAnnotation",m=n[c],D=m?Y(e,r,c):"",y=ot(n,D);return u.push(y?l(o):o),m&&u.push(l(D)),l(u)}case"TSNamespaceExportDeclaration":return["export as namespace ",r("id"),t.semi?";":""];case"TSEnumDeclaration":return bn(e,r,t);case"TSEnumMember":return Bn(e,r);case"TSImportEqualsDeclaration":return[n.isExport?"export ":"","import ",Is(n,!1),r("id")," = ",r("moduleReference"),t.semi?";":""];case"TSExternalModuleReference":return["require(",r("expression"),")"];case"TSModuleDeclaration":{let{parent:a}=e,o=a.type==="TSModuleDeclaration",c=((i=n.body)==null?void 0:i.type)==="TSModuleDeclaration";if(o)u.push(".");else if(u.push($(e)),!(n.kind==="global"||n.global)){let D=n.kind??(Q(n.id)||fr(t,R(n),R(n.id)).trim().endsWith("module")?"module":"namespace");u.push(D," ")}return u.push(r("id")),c?u.push(r("body")):n.body?u.push(" ",l(r("body"))):u.push(s),u}case"TSConditionalType":return Vt(e,t,r);case"TSInferType":return tn(e,t,r);case"TSIntersectionType":return zr(e,t,r);case"TSUnionType":return Qr(e,t,r);case"TSFunctionType":case"TSCallSignatureDeclaration":case"TSConstructorType":case"TSConstructSignatureDeclaration":return Zr(e,t,r);case"TSTupleType":return Yt(e,t,r);case"TSTypeReference":return[r("typeName"),Pt(e,t,r,n.typeArguments?"typeArguments":"typeParameters")];case"TSTypeAnnotation":return sn(e,t,r);case"TSEmptyBodyFunctionExpression":return fn(e,t,r);case"TSJSDocAllType":return"*";case"TSJSDocUnknownType":return"?";case"TSJSDocNullableType":return ds(e,r,"?");case"TSJSDocNonNullableType":return ds(e,r,"!");case"TSParenthesizedType":default:throw new Me(n,"TypeScript")}}function zl(e,t,r,n){if(Xr(e))return ci(e,t);for(let s of[Ti,Ei,Pa,ka,Ca]){let u=s(e,t,r,n);if(u!==void 0)return u}}var Ql=v(["ClassMethod","ClassPrivateMethod","ClassProperty","ClassAccessorProperty","AccessorProperty","TSAbstractAccessorProperty","PropertyDefinition","TSAbstractPropertyDefinition","ClassPrivateProperty","MethodDefinition","TSAbstractMethodDefinition","TSDeclareMethod"]);function Zl(e,t,r,n){var D;e.isRoot&&((D=t.__onHtmlBindingRoot)==null||D.call(t,e.node,t));let s=zl(e,t,r,n);if(!s)return"";let{node:u}=e;if(Ql(u))return s;let i=w(u.decorators),a=xi(e,t,r),o=u.type==="ClassExpression";if(i&&!o)return ir(s,y=>l([a,y]));let c=Be(e,t),m=na(e,t);return!a&&!c&&!m?s:ir(s,y=>[m?";":"",c?"(":"",c&&o&&i?[f([x,a,y]),x]:[a,y],c?")":""])}var Ia=Zl;var em={avoidAstMutation:!0};var La=[{linguistLanguageId:174,name:"JSON.stringify",type:"data",color:"#292929",tmScope:"source.json",aceMode:"json",codemirrorMode:"javascript",codemirrorMimeType:"application/json",aliases:["geojson","jsonl","topojson"],extensions:[".importmap"],filenames:["package.json","package-lock.json","composer.json"],parsers:["json-stringify"],vscodeLanguageIds:["json"]},{linguistLanguageId:174,name:"JSON",type:"data",color:"#292929",tmScope:"source.json",aceMode:"json",codemirrorMode:"javascript",codemirrorMimeType:"application/json",aliases:["geojson","jsonl","topojson"],extensions:[".json",".4DForm",".4DProject",".avsc",".geojson",".gltf",".har",".ice",".JSON-tmLanguage",".mcmeta",".tfstate",".tfstate.backup",".topojson",".webapp",".webmanifest",".yy",".yyp"],filenames:[".all-contributorsrc",".arcconfig",".auto-changelog",".c8rc",".htmlhintrc",".imgbotconfig",".nycrc",".tern-config",".tern-project",".watchmanconfig","Pipfile.lock","composer.lock","flake.lock","mcmod.info",".babelrc",".jscsrc",".jshintrc",".jslintrc",".swcrc"],parsers:["json"],vscodeLanguageIds:["json"]},{linguistLanguageId:423,name:"JSON with Comments",type:"data",color:"#292929",group:"JSON",tmScope:"source.js",aceMode:"javascript",codemirrorMode:"javascript",codemirrorMimeType:"text/javascript",aliases:["jsonc"],extensions:[".jsonc",".code-snippets",".code-workspace",".sublime-build",".sublime-commands",".sublime-completions",".sublime-keymap",".sublime-macro",".sublime-menu",".sublime-mousemap",".sublime-project",".sublime-settings",".sublime-theme",".sublime-workspace",".sublime_metrics",".sublime_session"],filenames:[],parsers:["jsonc"],vscodeLanguageIds:["jsonc"]},{linguistLanguageId:175,name:"JSON5",type:"data",color:"#267CB9",extensions:[".json5"],tmScope:"source.js",aceMode:"javascript",codemirrorMode:"javascript",codemirrorMimeType:"application/json",parsers:["json5"],vscodeLanguageIds:["json5"]}];var _s={};Ar(_s,{getVisitorKeys:()=>Oa,massageAstNode:()=>ja,print:()=>nm});var tm={JsonRoot:["node"],ArrayExpression:["elements"],ObjectExpression:["properties"],ObjectProperty:["key","value"],UnaryExpression:["argument"],NullLiteral:[],BooleanLiteral:[],StringLiteral:[],NumericLiteral:[],Identifier:[],TemplateLiteral:["quasis"],TemplateElement:[]},wa=tm;var rm=hr(wa),Oa=rm;function nm(e,t,r){let{node:n}=e;switch(n.type){case"JsonRoot":return[r("node"),F];case"ArrayExpression":{if(n.elements.length===0)return"[]";let s=e.map(()=>e.node===null?"null":r(),"elements");return["[",f([F,P([",",F],s)]),F,"]"]}case"ObjectExpression":return n.properties.length===0?"{}":["{",f([F,P([",",F],e.map(r,"properties"))]),F,"}"];case"ObjectProperty":return[r("key"),": ",r("value")];case"UnaryExpression":return[n.operator==="+"?"":n.operator,r("argument")];case"NullLiteral":return"null";case"BooleanLiteral":return n.value?"true":"false";case"StringLiteral":return JSON.stringify(n.value);case"NumericLiteral":return _a(e)?JSON.stringify(String(n.value)):JSON.stringify(n.value);case"Identifier":return _a(e)?JSON.stringify(n.name):n.name;case"TemplateLiteral":return r(["quasis",0]);case"TemplateElement":return JSON.stringify(n.value.cooked);default:throw new Me(n,"JSON")}}function _a(e){return e.key==="key"&&e.parent.type==="ObjectProperty"}var sm=new Set(["start","end","extra","loc","comments","leadingComments","trailingComments","innerComments","errors","range","tokens"]);function ja(e,t){let{type:r}=e;if(r==="ObjectProperty"){let{key:n}=e;n.type==="Identifier"?t.key={type:"StringLiteral",value:n.name}:n.type==="NumericLiteral"&&(t.key={type:"StringLiteral",value:String(n.value)});return}if(r==="UnaryExpression"&&e.operator==="+")return t.argument;if(r==="ArrayExpression"){for(let[n,s]of e.elements.entries())s===null&&t.elements.splice(n,0,{type:"NullLiteral"});return}if(r==="TemplateLiteral")return{type:"StringLiteral",value:e.quasis[0].value.cooked}}ja.ignoredProperties=sm;var Er={bracketSpacing:{category:"Common",type:"boolean",default:!0,description:"Print spaces between brackets.",oppositeDescription:"Do not print spaces between brackets."},singleQuote:{category:"Common",type:"boolean",default:!1,description:"Use single quotes instead of double quotes."},proseWrap:{category:"Common",type:"choice",default:"preserve",description:"How to wrap prose.",choices:[{value:"always",description:"Wrap prose if it exceeds the print width."},{value:"never",description:"Do not wrap prose."},{value:"preserve",description:"Wrap prose as-is."}]},bracketSameLine:{category:"Common",type:"boolean",default:!1,description:"Put > of opening tags on the last line instead of on a new line."},singleAttributePerLine:{category:"Common",type:"boolean",default:!1,description:"Enforce single attribute per line in HTML, Vue and JSX."}};var kt="JavaScript",um={arrowParens:{category:kt,type:"choice",default:"always",description:"Include parentheses around a sole arrow function parameter.",choices:[{value:"always",description:"Always include parens. Example: `(x) => x`"},{value:"avoid",description:"Omit parens when possible. Example: `x => x`"}]},bracketSameLine:Er.bracketSameLine,bracketSpacing:Er.bracketSpacing,jsxBracketSameLine:{category:kt,type:"boolean",description:"Put > on the last line instead of at a new line.",deprecated:"2.4.0"},semi:{category:kt,type:"boolean",default:!0,description:"Print semicolons.",oppositeDescription:"Do not print semicolons, except at the beginning of lines which may need them."},experimentalTernaries:{category:kt,type:"boolean",default:!1,description:"Use curious ternaries, with the question mark after the condition.",oppositeDescription:"Default behavior of ternaries; keep question marks on the same line as the consequent."},singleQuote:Er.singleQuote,jsxSingleQuote:{category:kt,type:"boolean",default:!1,description:"Use single quotes in JSX."},quoteProps:{category:kt,type:"choice",default:"as-needed",description:"Change when properties in objects are quoted.",choices:[{value:"as-needed",description:"Only add quotes around object properties where required."},{value:"consistent",description:"If at least one property in an object requires quotes, quote all properties."},{value:"preserve",description:"Respect the input use of quotes in object properties."}]},trailingComma:{category:kt,type:"choice",default:"all",description:"Print trailing commas wherever possible when multi-line.",choices:[{value:"all",description:"Trailing commas wherever possible (including function arguments)."},{value:"es5",description:"Trailing commas where valid in ES5 (objects, arrays, etc.)"},{value:"none",description:"No trailing commas."}]},singleAttributePerLine:Er.singleAttributePerLine},va=um;var im={estree:Os,"estree-json":_s},am=[...Us,...La];return Xa(om);}); \ No newline at end of file diff --git a/node_modules/prettier/plugins/estree.mjs b/node_modules/prettier/plugins/estree.mjs index 709155c03a..9fe7afe14e 100644 --- a/node_modules/prettier/plugins/estree.mjs +++ b/node_modules/prettier/plugins/estree.mjs @@ -1,35 +1,36 @@ -var ua=Object.create;var gn=Object.defineProperty;var ia=Object.getOwnPropertyDescriptor;var aa=Object.getOwnPropertyNames;var oa=Object.getPrototypeOf,pa=Object.prototype.hasOwnProperty;var ca=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),pr=(e,t)=>{for(var r in t)gn(e,r,{get:t[r],enumerable:!0})},la=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let s of aa(t))!pa.call(e,s)&&s!==r&&gn(e,s,{get:()=>t[s],enumerable:!(n=ia(t,s))||n.enumerable});return e};var ma=(e,t,r)=>(r=e!=null?ua(oa(e)):{},la(t||!e||!e.__esModule?gn(r,"default",{value:e,enumerable:!0}):r,e));var bs=(e,t,r)=>{if(!t.has(e))throw TypeError("Cannot "+r)};var nt=(e,t,r)=>(bs(e,t,"read from private field"),r?r.call(e):t.get(e)),Ps=(e,t,r)=>{if(t.has(e))throw TypeError("Cannot add the same private member more than once");t instanceof WeakSet?t.add(e):t.set(e,r)},ks=(e,t,r,n)=>(bs(e,t,"write to private field"),n?n.call(e,r):t.set(e,r),r);var Hi=ca(ht=>{"use strict";Object.defineProperty(ht,"__esModule",{value:!0});ht.extract=el;ht.parse=rl;ht.parseWithComments=Vi;ht.print=nl;ht.strip=tl;var Hc=/\*\/$/,Kc=/^\/\*\*?/,Xi=/^\s*(\/\*\*?(.|\r?\n)*?\*\/)/,zc=/(^|\s+)\/\/([^\r\n]*)/g,qi=/^(\r?\n)+/,Qc=/(?:^|\r?\n) *(@[^\r\n]*?) *\r?\n *(?![^@\r\n]*\/\/[^]*)([^@\r\n\s][^@\r\n]+?) *\r?\n/g,Wi=/(?:^|\r?\n) *@(\S+) *([^\r\n]*)/g,Zc=/(\r?\n|^) *\* ?/g,$i=[];function el(e){let t=e.match(Xi);return t?t[0].trimLeft():""}function tl(e){let t=e.match(Xi);return t&&t[0]?e.substring(t[0].length):e}function rl(e){return Vi(e).pragmas}function Vi(e){let t=` -`;e=e.replace(Kc,"").replace(Hc,"").replace(Zc,"$1");let r="";for(;r!==e;)r=e,e=e.replace(Qc,`${t}$1 $2${t}`);e=e.replace(qi,"").trimRight();let n=Object.create(null),s=e.replace(Wi,"").replace(qi,"").trimRight(),u;for(;u=Wi.exec(e);){let i=u[2].replace(zc,"");typeof n[u[1]]=="string"||Array.isArray(n[u[1]])?n[u[1]]=$i.concat(n[u[1]],i):n[u[1]]=i}return{comments:s,pragmas:n}}function nl({comments:e="",pragmas:t={}}){let r=` -`,n="/**",s=" *",u=" */",i=Object.keys(t),a=i.map(p=>Yi(p,t[p])).reduce((p,m)=>p.concat(m),[]).map(p=>`${s} ${p}${r}`).join("");if(!e){if(i.length===0)return"";if(i.length===1&&!Array.isArray(t[i[0]])){let p=t[i[0]];return`${n} ${Yi(i[0],p)[0]}${u}`}}let o=e.split(r).map(p=>`${s} ${p}`).join(r)+r;return n+r+(e?o:"")+(e&&i.length?s+r:"")+a+u}function Yi(e,t){return $i.concat(t).map(r=>`@${e} ${r}`.trim())}});var Bs={};pr(Bs,{languages:()=>Dl,options:()=>sa,printers:()=>ml});var hs={};pr(hs,{canAttachComment:()=>Wo,embed:()=>Ni,experimentalFeatures:()=>il,getCommentChildNodes:()=>Yo,getVisitorKeys:()=>Er,handleComments:()=>kr,insertPragma:()=>zi,isBlockComment:()=>ae,isGap:()=>Xo,massageAstNode:()=>Gi,print:()=>Ii,printComment:()=>xu,willPrintOwnComments:()=>Qn});function Da(e,t){let{originalText:r,[Symbol.for("comments")]:n,locStart:s,locEnd:u,[Symbol.for("printedComments")]:i}=t,{node:a}=e,o=s(a),p=u(a);for(let m of n)s(m)>=o&&u(m)<=p&&i.add(m);return r.slice(o,p)}var Is=Da;var Ke="string",je="array",ze="cursor",Me="indent",Re="align",Qe="trim",ue="group",De="fill",Fe="if-break",Je="indent-if-break",Ne="line-suffix",Ue="line-suffix-boundary",ie="line",be="label",Pe="break-parent",cr=new Set([ze,Me,Re,Qe,ue,De,Fe,Je,Ne,Ue,ie,be,Pe]);function ya(e){if(typeof e=="string")return Ke;if(Array.isArray(e))return je;if(!e)return;let{type:t}=e;if(cr.has(t))return t}var Ze=ya;var fa=e=>new Intl.ListFormat("en-US",{type:"disjunction"}).format(e);function Ea(e){let t=e===null?"null":typeof e;if(t!=="string"&&t!=="object")return`Unexpected doc '${t}', -Expected it to be 'string' or 'object'.`;if(Ze(e))throw new Error("doc is valid.");let r=Object.prototype.toString.call(e);if(r!=="[object Object]")return`Unexpected doc '${r}'.`;let n=fa([...cr].map(s=>`'${s}'`));return`Unexpected doc.type '${e.type}'. -Expected it to be ${n}.`}var hn=class extends Error{name="InvalidDocError";constructor(t){super(Ea(t)),this.doc=t}},ct=hn;var Ls={};function Fa(e,t,r,n){let s=[e];for(;s.length>0;){let u=s.pop();if(u===Ls){r(s.pop());continue}r&&s.push(u,Ls);let i=Ze(u);if(!i)throw new ct(u);if((t==null?void 0:t(u))!==!1)switch(i){case je:case De:{let a=i===je?u:u.parts;for(let o=a.length,p=o-1;p>=0;--p)s.push(a[p]);break}case Fe:s.push(u.flatContents,u.breakContents);break;case ue:if(n&&u.expandedStates)for(let a=u.expandedStates.length,o=a-1;o>=0;--o)s.push(u.expandedStates[o]);else s.push(u.contents);break;case Re:case Me:case Je:case be:case Ne:s.push(u.contents);break;case Ke:case ze:case Qe:case Ue:case ie:case Pe:break;default:throw new ct(u)}}}var Sn=Fa;var ws=()=>{},Ge=ws,lr=ws;function E(e){return Ge(e),{type:Me,contents:e}}function ye(e,t){return Ge(t),{type:Re,contents:t,n:e}}function D(e,t={}){return Ge(e),lr(t.expandedStates,!0),{type:ue,id:t.id,contents:e,break:!!t.shouldBreak,expandedStates:t.expandedStates}}function Os(e){return ye(Number.NEGATIVE_INFINITY,e)}function vs(e){return ye(-1,e)}function qe(e,t){return D(e[0],{...t,expandedStates:e})}function St(e){return lr(e),{type:De,parts:e}}function b(e,t="",r={}){return Ge(e),t!==""&&Ge(t),{type:Fe,breakContents:e,flatContents:t,groupId:r.groupId}}function lt(e,t){return Ge(e),{type:Je,contents:e,groupId:t.groupId,negate:t.negate}}function Bn(e){return Ge(e),{type:Ne,contents:e}}var de={type:Ue},Ae={type:Pe};var bn={type:ie,hard:!0},Ca={type:ie,hard:!0,literal:!0},A={type:ie},F={type:ie,soft:!0},C=[bn,Ae],mr=[Ca,Ae],Pn={type:ze};function B(e,t){Ge(e),lr(t);let r=[];for(let n=0;n0){for(let s=0;s{if(!(e&&t==null))return Array.isArray(t)||typeof t=="string"?t[r<0?t.length+r:r]:t.at(r)},w=da;var Dr=e=>{if(Array.isArray(e))return e;if(e.type!==De)throw new Error(`Expect doc to be 'array' or '${De}'.`);return e.parts};function st(e,t){if(typeof e=="string")return t(e);let r=new Map;return n(e);function n(u){if(r.has(u))return r.get(u);let i=s(u);return r.set(u,i),i}function s(u){switch(Ze(u)){case je:return t(u.map(n));case De:return t({...u,parts:u.parts.map(n)});case Fe:return t({...u,breakContents:n(u.breakContents),flatContents:n(u.flatContents)});case ue:{let{expandedStates:i,contents:a}=u;return i?(i=i.map(n),a=i[0]):a=n(a),t({...u,contents:a,expandedStates:i})}case Re:case Me:case Je:case be:case Ne:return t({...u,contents:n(u.contents)});case Ke:case ze:case Qe:case Ue:case ie:case Pe:return t(u);default:throw new ct(u)}}}function Ms(e,t,r){let n=r,s=!1;function u(i){if(s)return!1;let a=t(i);a!==void 0&&(s=!0,n=a)}return Sn(e,u),n}function Aa(e){if(e.type===ue&&e.break||e.type===ie&&e.hard||e.type===Pe)return!0}function K(e){return Ms(e,Aa,!1)}function js(e){if(e.length>0){let t=w(!1,e,-1);!t.expandedStates&&!t.break&&(t.break="propagated")}return null}function Rs(e){let t=new Set,r=[];function n(u){if(u.type===Pe&&js(r),u.type===ue){if(r.push(u),t.has(u))return!1;t.add(u)}}function s(u){u.type===ue&&r.pop().break&&js(r)}Sn(e,n,s,!0)}function Ta(e){return e.type===ie&&!e.hard?e.soft?"":" ":e.type===Fe?e.flatContents:e}function Ut(e){return st(e,Ta)}function xa(e){switch(Ze(e)){case De:if(e.parts.every(t=>t===""))return"";break;case ue:if(!e.contents&&!e.id&&!e.break&&!e.expandedStates)return"";if(e.contents.type===ue&&e.contents.id===e.id&&e.contents.break===e.break&&e.contents.expandedStates===e.expandedStates)return e.contents;break;case Re:case Me:case Je:case Ne:if(!e.contents)return"";break;case Fe:if(!e.flatContents&&!e.breakContents)return"";break;case je:{let t=[];for(let r of e){if(!r)continue;let[n,...s]=Array.isArray(r)?r:[r];typeof n=="string"&&typeof w(!1,t,-1)=="string"?t[t.length-1]+=n:t.push(n),t.push(...s)}return t.length===0?"":t.length===1?t[0]:t}case Ke:case ze:case Qe:case Ue:case ie:case be:case Pe:break;default:throw new ct(e)}return e}function Bt(e){return st(e,t=>xa(t))}function Te(e,t=mr){return st(e,r=>typeof r=="string"?B(t,r.split(` -`)):r)}function ga(e){if(e.type===ie)return!0}function Js(e){return Ms(e,ga,!1)}function Gt(e,t){return e.type===be?{...e,contents:t(e.contents)}:t(e)}function ha(e){return Array.isArray(e)&&e.length>0}var P=ha;var Sa=/^[\$A-Z_a-z\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u08A0-\u08B4\u08B6-\u08BD\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1CE9-\u1CEC\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC][\$0-9A-Z_a-z\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0300-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u0483-\u0487\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u05D0-\u05EA\u05F0-\u05F2\u0610-\u061A\u0620-\u0669\u066E-\u06D3\u06D5-\u06DC\u06DF-\u06E8\u06EA-\u06FC\u06FF\u0710-\u074A\u074D-\u07B1\u07C0-\u07F5\u07FA\u0800-\u082D\u0840-\u085B\u08A0-\u08B4\u08B6-\u08BD\u08D4-\u08E1\u08E3-\u0963\u0966-\u096F\u0971-\u0983\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BC-\u09C4\u09C7\u09C8\u09CB-\u09CE\u09D7\u09DC\u09DD\u09DF-\u09E3\u09E6-\u09F1\u0A01-\u0A03\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A59-\u0A5C\u0A5E\u0A66-\u0A75\u0A81-\u0A83\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABC-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AD0\u0AE0-\u0AE3\u0AE6-\u0AEF\u0AF9\u0B01-\u0B03\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3C-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B56\u0B57\u0B5C\u0B5D\u0B5F-\u0B63\u0B66-\u0B6F\u0B71\u0B82\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD0\u0BD7\u0BE6-\u0BEF\u0C00-\u0C03\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C58-\u0C5A\u0C60-\u0C63\u0C66-\u0C6F\u0C80-\u0C83\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBC-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CDE\u0CE0-\u0CE3\u0CE6-\u0CEF\u0CF1\u0CF2\u0D01-\u0D03\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D-\u0D44\u0D46-\u0D48\u0D4A-\u0D4E\u0D54-\u0D57\u0D5F-\u0D63\u0D66-\u0D6F\u0D7A-\u0D7F\u0D82\u0D83\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E01-\u0E3A\u0E40-\u0E4E\u0E50-\u0E59\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB9\u0EBB-\u0EBD\u0EC0-\u0EC4\u0EC6\u0EC8-\u0ECD\u0ED0-\u0ED9\u0EDC-\u0EDF\u0F00\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E-\u0F47\u0F49-\u0F6C\u0F71-\u0F84\u0F86-\u0F97\u0F99-\u0FBC\u0FC6\u1000-\u1049\u1050-\u109D\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u135D-\u135F\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1714\u1720-\u1734\u1740-\u1753\u1760-\u176C\u176E-\u1770\u1772\u1773\u1780-\u17D3\u17D7\u17DC\u17DD\u17E0-\u17E9\u180B-\u180D\u1810-\u1819\u1820-\u1877\u1880-\u18AA\u18B0-\u18F5\u1900-\u191E\u1920-\u192B\u1930-\u193B\u1946-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u19D0-\u19D9\u1A00-\u1A1B\u1A20-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AA7\u1AB0-\u1ABD\u1B00-\u1B4B\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1BF3\u1C00-\u1C37\u1C40-\u1C49\u1C4D-\u1C7D\u1C80-\u1C88\u1CD0-\u1CD2\u1CD4-\u1CF6\u1CF8\u1CF9\u1D00-\u1DF5\u1DFB-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u200C\u200D\u203F\u2040\u2054\u2071\u207F\u2090-\u209C\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D7F-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2DE0-\u2DFF\u2E2F\u3005-\u3007\u3021-\u302F\u3031-\u3035\u3038-\u303C\u3041-\u3096\u3099\u309A\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66F\uA674-\uA67D\uA67F-\uA6F1\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA827\uA840-\uA873\uA880-\uA8C5\uA8D0-\uA8D9\uA8E0-\uA8F7\uA8FB\uA8FD\uA900-\uA92D\uA930-\uA953\uA960-\uA97C\uA980-\uA9C0\uA9CF-\uA9D9\uA9E0-\uA9FE\uAA00-\uAA36\uAA40-\uAA4D\uAA50-\uAA59\uAA60-\uAA76\uAA7A-\uAAC2\uAADB-\uAADD\uAAE0-\uAAEF\uAAF2-\uAAF6\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABEA\uABEC\uABED\uABF0-\uABF9\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE00-\uFE0F\uFE20-\uFE2F\uFE33\uFE34\uFE4D-\uFE4F\uFE70-\uFE74\uFE76-\uFEFC\uFF10-\uFF19\uFF21-\uFF3A\uFF3F\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]*$/,Ba=e=>Sa.test(e),Ns=Ba;function ba(e){return e!==null&&typeof e=="object"}var Us=ba;function*Pa(e,t){let{getVisitorKeys:r,filter:n=()=>!0}=t,s=u=>Us(u)&&n(u);for(let u of r(e)){let i=e[u];if(Array.isArray(i))for(let a of i)s(a)&&(yield a);else s(i)&&(yield i)}}function*ka(e,t){let r=[e];for(let n=0;n{let s=!!(n!=null&&n.backwards);if(r===!1)return!1;let{length:u}=t,i=r;for(;i>=0&&i{throw TypeError(e)};var Ar=(e,t)=>{for(var r in t)Wa(e,r,{get:t[r],enumerable:!0})};var qs=(e,t,r)=>t.has(e)||Js("Cannot "+r);var pt=(e,t,r)=>(qs(e,t,"read from private field"),r?r.call(e):t.get(e)),Ws=(e,t,r)=>t.has(e)?Js("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,r),Gs=(e,t,r,n)=>(qs(e,t,"write to private field"),n?n.call(e,r):t.set(e,r),r);var _s={};Ar(_s,{languages:()=>nm,options:()=>va,printers:()=>rm});var Us=[{linguistLanguageId:183,name:"JavaScript",type:"programming",tmScope:"source.js",aceMode:"javascript",codemirrorMode:"javascript",codemirrorMimeType:"text/javascript",color:"#f1e05a",aliases:["js","node"],extensions:[".js","._js",".bones",".cjs",".es",".es6",".frag",".gs",".jake",".javascript",".jsb",".jscad",".jsfl",".jslib",".jsm",".jspre",".jss",".mjs",".njs",".pac",".sjs",".ssjs",".xsjs",".xsjslib",".wxs"],filenames:["Jakefile"],interpreters:["chakra","d8","gjs","js","node","nodejs","qjs","rhino","v8","v8-shell","zx"],parsers:["babel","acorn","espree","meriyah","babel-flow","babel-ts","flow","typescript"],vscodeLanguageIds:["javascript","mongo"]},{linguistLanguageId:183,name:"Flow",type:"programming",tmScope:"source.js",aceMode:"javascript",codemirrorMode:"javascript",codemirrorMimeType:"text/javascript",color:"#f1e05a",aliases:[],extensions:[".js.flow"],filenames:[],interpreters:["chakra","d8","gjs","js","node","nodejs","qjs","rhino","v8","v8-shell"],parsers:["flow","babel-flow"],vscodeLanguageIds:["javascript"]},{linguistLanguageId:183,name:"JSX",type:"programming",tmScope:"source.js.jsx",aceMode:"javascript",codemirrorMode:"jsx",codemirrorMimeType:"text/jsx",color:void 0,aliases:void 0,extensions:[".jsx"],filenames:void 0,interpreters:void 0,parsers:["babel","babel-flow","babel-ts","flow","typescript","espree","meriyah"],vscodeLanguageIds:["javascriptreact"],group:"JavaScript"},{linguistLanguageId:378,name:"TypeScript",type:"programming",color:"#3178c6",aliases:["ts"],interpreters:["deno","ts-node"],extensions:[".ts",".cts",".mts"],tmScope:"source.ts",aceMode:"typescript",codemirrorMode:"javascript",codemirrorMimeType:"application/typescript",parsers:["typescript","babel-ts"],vscodeLanguageIds:["typescript"]},{linguistLanguageId:94901924,name:"TSX",type:"programming",color:"#3178c6",group:"TypeScript",extensions:[".tsx"],tmScope:"source.tsx",aceMode:"javascript",codemirrorMode:"jsx",codemirrorMimeType:"text/jsx",parsers:["typescript","babel-ts"],vscodeLanguageIds:["typescriptreact"]}];var ws={};Ar(ws,{canAttachComment:()=>fp,embed:()=>Qu,experimentalFeatures:()=>Kl,getCommentChildNodes:()=>Ep,getVisitorKeys:()=>gr,handleComments:()=>Kn,insertPragma:()=>pi,isBlockComment:()=>re,isGap:()=>Fp,massageAstNode:()=>Cu,print:()=>Ia,printComment:()=>Pu,willPrintOwnComments:()=>zn});var Ga=(e,t,r,n)=>{if(!(e&&t==null))return t.replaceAll?t.replaceAll(r,n):r.global?t.replace(r,n):t.split(r).join(n)},N=Ga;var Ua=(e,t,r)=>{if(!(e&&t==null))return Array.isArray(t)||typeof t=="string"?t[r<0?t.length+r:r]:t.at(r)},O=Ua;function Na(e){return e!==null&&typeof e=="object"}var Ns=Na;function*Xa(e,t){let{getVisitorKeys:r,filter:n=()=>!0}=t,s=u=>Ns(u)&&n(u);for(let u of r(e)){let i=e[u];if(Array.isArray(i))for(let a of i)s(a)&&(yield a);else s(i)&&(yield i)}}function*Ya(e,t){let r=[e];for(let n=0;n/[#*0-9]\uFE0F?\u20E3|[\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u231A\u231B\u2328\u23CF\u23ED-\u23EF\u23F1\u23F2\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB\u25FC\u25FE\u2600-\u2604\u260E\u2611\u2614\u2615\u2618\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638-\u263A\u2640\u2642\u2648-\u2653\u265F\u2660\u2663\u2665\u2666\u2668\u267B\u267E\u267F\u2692\u2694-\u2697\u2699\u269B\u269C\u26A0\u26A7\u26AA\u26B0\u26B1\u26BD\u26BE\u26C4\u26C8\u26CF\u26D1\u26E9\u26F0-\u26F5\u26F7\u26F8\u26FA\u2702\u2708\u2709\u270F\u2712\u2714\u2716\u271D\u2721\u2733\u2734\u2744\u2747\u2757\u2763\u27A1\u2934\u2935\u2B05-\u2B07\u2B1B\u2B1C\u2B55\u3030\u303D\u3297\u3299]\uFE0F?|[\u261D\u270C\u270D](?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?|[\u270A\u270B](?:\uD83C[\uDFFB-\uDFFF])?|[\u23E9-\u23EC\u23F0\u23F3\u25FD\u2693\u26A1\u26AB\u26C5\u26CE\u26D4\u26EA\u26FD\u2705\u2728\u274C\u274E\u2753-\u2755\u2795-\u2797\u27B0\u27BF\u2B50]|\u26D3\uFE0F?(?:\u200D\uD83D\uDCA5)?|\u26F9(?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|\u2764\uFE0F?(?:\u200D(?:\uD83D\uDD25|\uD83E\uDE79))?|\uD83C(?:[\uDC04\uDD70\uDD71\uDD7E\uDD7F\uDE02\uDE37\uDF21\uDF24-\uDF2C\uDF36\uDF7D\uDF96\uDF97\uDF99-\uDF9B\uDF9E\uDF9F\uDFCD\uDFCE\uDFD4-\uDFDF\uDFF5\uDFF7]\uFE0F?|[\uDF85\uDFC2\uDFC7](?:\uD83C[\uDFFB-\uDFFF])?|[\uDFC4\uDFCA](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDFCB\uDFCC](?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDCCF\uDD8E\uDD91-\uDD9A\uDE01\uDE1A\uDE2F\uDE32-\uDE36\uDE38-\uDE3A\uDE50\uDE51\uDF00-\uDF20\uDF2D-\uDF35\uDF37-\uDF43\uDF45-\uDF4A\uDF4C-\uDF7C\uDF7E-\uDF84\uDF86-\uDF93\uDFA0-\uDFC1\uDFC5\uDFC6\uDFC8\uDFC9\uDFCF-\uDFD3\uDFE0-\uDFF0\uDFF8-\uDFFF]|\uDDE6\uD83C[\uDDE8-\uDDEC\uDDEE\uDDF1\uDDF2\uDDF4\uDDF6-\uDDFA\uDDFC\uDDFD\uDDFF]|\uDDE7\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEF\uDDF1-\uDDF4\uDDF6-\uDDF9\uDDFB\uDDFC\uDDFE\uDDFF]|\uDDE8\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDEE\uDDF0-\uDDF5\uDDF7\uDDFA-\uDDFF]|\uDDE9\uD83C[\uDDEA\uDDEC\uDDEF\uDDF0\uDDF2\uDDF4\uDDFF]|\uDDEA\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDED\uDDF7-\uDDFA]|\uDDEB\uD83C[\uDDEE-\uDDF0\uDDF2\uDDF4\uDDF7]|\uDDEC\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEE\uDDF1-\uDDF3\uDDF5-\uDDFA\uDDFC\uDDFE]|\uDDED\uD83C[\uDDF0\uDDF2\uDDF3\uDDF7\uDDF9\uDDFA]|\uDDEE\uD83C[\uDDE8-\uDDEA\uDDF1-\uDDF4\uDDF6-\uDDF9]|\uDDEF\uD83C[\uDDEA\uDDF2\uDDF4\uDDF5]|\uDDF0\uD83C[\uDDEA\uDDEC-\uDDEE\uDDF2\uDDF3\uDDF5\uDDF7\uDDFC\uDDFE\uDDFF]|\uDDF1\uD83C[\uDDE6-\uDDE8\uDDEE\uDDF0\uDDF7-\uDDFB\uDDFE]|\uDDF2\uD83C[\uDDE6\uDDE8-\uDDED\uDDF0-\uDDFF]|\uDDF3\uD83C[\uDDE6\uDDE8\uDDEA-\uDDEC\uDDEE\uDDF1\uDDF4\uDDF5\uDDF7\uDDFA\uDDFF]|\uDDF4\uD83C\uDDF2|\uDDF5\uD83C[\uDDE6\uDDEA-\uDDED\uDDF0-\uDDF3\uDDF7-\uDDF9\uDDFC\uDDFE]|\uDDF6\uD83C\uDDE6|\uDDF7\uD83C[\uDDEA\uDDF4\uDDF8\uDDFA\uDDFC]|\uDDF8\uD83C[\uDDE6-\uDDEA\uDDEC-\uDDF4\uDDF7-\uDDF9\uDDFB\uDDFD-\uDDFF]|\uDDF9\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDED\uDDEF-\uDDF4\uDDF7\uDDF9\uDDFB\uDDFC\uDDFF]|\uDDFA\uD83C[\uDDE6\uDDEC\uDDF2\uDDF3\uDDF8\uDDFE\uDDFF]|\uDDFB\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDEE\uDDF3\uDDFA]|\uDDFC\uD83C[\uDDEB\uDDF8]|\uDDFD\uD83C\uDDF0|\uDDFE\uD83C[\uDDEA\uDDF9]|\uDDFF\uD83C[\uDDE6\uDDF2\uDDFC]|\uDF44(?:\u200D\uD83D\uDFEB)?|\uDF4B(?:\u200D\uD83D\uDFE9)?|\uDFC3(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?|\uDFF3\uFE0F?(?:\u200D(?:\u26A7\uFE0F?|\uD83C\uDF08))?|\uDFF4(?:\u200D\u2620\uFE0F?|\uDB40\uDC67\uDB40\uDC62\uDB40(?:\uDC65\uDB40\uDC6E\uDB40\uDC67|\uDC73\uDB40\uDC63\uDB40\uDC74|\uDC77\uDB40\uDC6C\uDB40\uDC73)\uDB40\uDC7F)?)|\uD83D(?:[\uDC3F\uDCFD\uDD49\uDD4A\uDD6F\uDD70\uDD73\uDD76-\uDD79\uDD87\uDD8A-\uDD8D\uDDA5\uDDA8\uDDB1\uDDB2\uDDBC\uDDC2-\uDDC4\uDDD1-\uDDD3\uDDDC-\uDDDE\uDDE1\uDDE3\uDDE8\uDDEF\uDDF3\uDDFA\uDECB\uDECD-\uDECF\uDEE0-\uDEE5\uDEE9\uDEF0\uDEF3]\uFE0F?|[\uDC42\uDC43\uDC46-\uDC50\uDC66\uDC67\uDC6B-\uDC6D\uDC72\uDC74-\uDC76\uDC78\uDC7C\uDC83\uDC85\uDC8F\uDC91\uDCAA\uDD7A\uDD95\uDD96\uDE4C\uDE4F\uDEC0\uDECC](?:\uD83C[\uDFFB-\uDFFF])?|[\uDC6E\uDC70\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4\uDEB5](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDD74\uDD90](?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?|[\uDC00-\uDC07\uDC09-\uDC14\uDC16-\uDC25\uDC27-\uDC3A\uDC3C-\uDC3E\uDC40\uDC44\uDC45\uDC51-\uDC65\uDC6A\uDC79-\uDC7B\uDC7D-\uDC80\uDC84\uDC88-\uDC8E\uDC90\uDC92-\uDCA9\uDCAB-\uDCFC\uDCFF-\uDD3D\uDD4B-\uDD4E\uDD50-\uDD67\uDDA4\uDDFB-\uDE2D\uDE2F-\uDE34\uDE37-\uDE41\uDE43\uDE44\uDE48-\uDE4A\uDE80-\uDEA2\uDEA4-\uDEB3\uDEB7-\uDEBF\uDEC1-\uDEC5\uDED0-\uDED2\uDED5-\uDED7\uDEDC-\uDEDF\uDEEB\uDEEC\uDEF4-\uDEFC\uDFE0-\uDFEB\uDFF0]|\uDC08(?:\u200D\u2B1B)?|\uDC15(?:\u200D\uD83E\uDDBA)?|\uDC26(?:\u200D(?:\u2B1B|\uD83D\uDD25))?|\uDC3B(?:\u200D\u2744\uFE0F?)?|\uDC41\uFE0F?(?:\u200D\uD83D\uDDE8\uFE0F?)?|\uDC68(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDC68\uDC69]\u200D\uD83D(?:\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?)|[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?)|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFC-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFD-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFD\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFE])))?))?|\uDC69(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?[\uDC68\uDC69]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?|\uDC69\u200D\uD83D(?:\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?))|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFC-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB\uDFFD-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB-\uDFFD\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB-\uDFFE])))?))?|\uDC6F(?:\u200D[\u2640\u2642]\uFE0F?)?|\uDD75(?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|\uDE2E(?:\u200D\uD83D\uDCA8)?|\uDE35(?:\u200D\uD83D\uDCAB)?|\uDE36(?:\u200D\uD83C\uDF2B\uFE0F?)?|\uDE42(?:\u200D[\u2194\u2195]\uFE0F?)?|\uDEB6(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?)|\uD83E(?:[\uDD0C\uDD0F\uDD18-\uDD1F\uDD30-\uDD34\uDD36\uDD77\uDDB5\uDDB6\uDDBB\uDDD2\uDDD3\uDDD5\uDEC3-\uDEC5\uDEF0\uDEF2-\uDEF8](?:\uD83C[\uDFFB-\uDFFF])?|[\uDD26\uDD35\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD\uDDCF\uDDD4\uDDD6-\uDDDD](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDDDE\uDDDF](?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDD0D\uDD0E\uDD10-\uDD17\uDD20-\uDD25\uDD27-\uDD2F\uDD3A\uDD3F-\uDD45\uDD47-\uDD76\uDD78-\uDDB4\uDDB7\uDDBA\uDDBC-\uDDCC\uDDD0\uDDE0-\uDDFF\uDE70-\uDE7C\uDE80-\uDE88\uDE90-\uDEBD\uDEBF-\uDEC2\uDECE-\uDEDB\uDEE0-\uDEE8]|\uDD3C(?:\u200D[\u2640\u2642]\uFE0F?|\uD83C[\uDFFB-\uDFFF])?|\uDDCE(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?|\uDDD1(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1|\uDDD1\u200D\uD83E\uDDD2(?:\u200D\uD83E\uDDD2)?|\uDDD2(?:\u200D\uD83E\uDDD2)?))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFC-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB\uDFFD-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB-\uDFFD\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB-\uDFFE]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?))?|\uDEF1(?:\uD83C(?:\uDFFB(?:\u200D\uD83E\uDEF2\uD83C[\uDFFC-\uDFFF])?|\uDFFC(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB\uDFFD-\uDFFF])?|\uDFFD(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])?|\uDFFE(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB-\uDFFD\uDFFF])?|\uDFFF(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB-\uDFFE])?))?)/g;function Hs(e){return e===12288||e>=65281&&e<=65376||e>=65504&&e<=65510}function Vs(e){return e>=4352&&e<=4447||e===8986||e===8987||e===9001||e===9002||e>=9193&&e<=9196||e===9200||e===9203||e===9725||e===9726||e===9748||e===9749||e>=9800&&e<=9811||e===9855||e===9875||e===9889||e===9898||e===9899||e===9917||e===9918||e===9924||e===9925||e===9934||e===9940||e===9962||e===9970||e===9971||e===9973||e===9978||e===9981||e===9989||e===9994||e===9995||e===10024||e===10060||e===10062||e>=10067&&e<=10069||e===10071||e>=10133&&e<=10135||e===10160||e===10175||e===11035||e===11036||e===11088||e===11093||e>=11904&&e<=11929||e>=11931&&e<=12019||e>=12032&&e<=12245||e>=12272&&e<=12287||e>=12289&&e<=12350||e>=12353&&e<=12438||e>=12441&&e<=12543||e>=12549&&e<=12591||e>=12593&&e<=12686||e>=12688&&e<=12771||e>=12783&&e<=12830||e>=12832&&e<=12871||e>=12880&&e<=19903||e>=19968&&e<=42124||e>=42128&&e<=42182||e>=43360&&e<=43388||e>=44032&&e<=55203||e>=63744&&e<=64255||e>=65040&&e<=65049||e>=65072&&e<=65106||e>=65108&&e<=65126||e>=65128&&e<=65131||e>=94176&&e<=94180||e===94192||e===94193||e>=94208&&e<=100343||e>=100352&&e<=101589||e>=101632&&e<=101640||e>=110576&&e<=110579||e>=110581&&e<=110587||e===110589||e===110590||e>=110592&&e<=110882||e===110898||e>=110928&&e<=110930||e===110933||e>=110948&&e<=110951||e>=110960&&e<=111355||e===126980||e===127183||e===127374||e>=127377&&e<=127386||e>=127488&&e<=127490||e>=127504&&e<=127547||e>=127552&&e<=127560||e===127568||e===127569||e>=127584&&e<=127589||e>=127744&&e<=127776||e>=127789&&e<=127797||e>=127799&&e<=127868||e>=127870&&e<=127891||e>=127904&&e<=127946||e>=127951&&e<=127955||e>=127968&&e<=127984||e===127988||e>=127992&&e<=128062||e===128064||e>=128066&&e<=128252||e>=128255&&e<=128317||e>=128331&&e<=128334||e>=128336&&e<=128359||e===128378||e===128405||e===128406||e===128420||e>=128507&&e<=128591||e>=128640&&e<=128709||e===128716||e>=128720&&e<=128722||e>=128725&&e<=128727||e>=128732&&e<=128735||e===128747||e===128748||e>=128756&&e<=128764||e>=128992&&e<=129003||e===129008||e>=129292&&e<=129338||e>=129340&&e<=129349||e>=129351&&e<=129535||e>=129648&&e<=129660||e>=129664&&e<=129672||e>=129680&&e<=129725||e>=129727&&e<=129733||e>=129742&&e<=129755||e>=129760&&e<=129768||e>=129776&&e<=129784||e>=131072&&e<=196605||e>=196608&&e<=262141}var $s=e=>!(Hs(e)||Vs(e));var Ha=/[^\x20-\x7F]/u;function Va(e){if(!e)return 0;if(!Ha.test(e))return e.length;e=e.replace(Ys()," ");let t=0;for(let r of e){let n=r.codePointAt(0);n<=31||n>=127&&n<=159||n>=768&&n<=879||(t+=$s(n)?1:2)}return t}var et=Va;function Tr(e){return(t,r,n)=>{let s=!!(n!=null&&n.backwards);if(r===!1)return!1;let{length:u}=t,i=r;for(;i>=0&&i/[#*0-9]\uFE0F?\u20E3|[\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u231A\u231B\u2328\u23CF\u23ED-\u23EF\u23F1\u23F2\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB\u25FC\u25FE\u2600-\u2604\u260E\u2611\u2614\u2615\u2618\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638-\u263A\u2640\u2642\u2648-\u2653\u265F\u2660\u2663\u2665\u2666\u2668\u267B\u267E\u267F\u2692\u2694-\u2697\u2699\u269B\u269C\u26A0\u26A7\u26AA\u26B0\u26B1\u26BD\u26BE\u26C4\u26C8\u26CF\u26D1\u26D3\u26E9\u26F0-\u26F5\u26F7\u26F8\u26FA\u2702\u2708\u2709\u270F\u2712\u2714\u2716\u271D\u2721\u2733\u2734\u2744\u2747\u2757\u2763\u27A1\u2934\u2935\u2B05-\u2B07\u2B1B\u2B1C\u2B55\u3030\u303D\u3297\u3299]\uFE0F?|[\u261D\u270C\u270D](?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?|[\u270A\u270B](?:\uD83C[\uDFFB-\uDFFF])?|[\u23E9-\u23EC\u23F0\u23F3\u25FD\u2693\u26A1\u26AB\u26C5\u26CE\u26D4\u26EA\u26FD\u2705\u2728\u274C\u274E\u2753-\u2755\u2795-\u2797\u27B0\u27BF\u2B50]|\u26F9(?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|\u2764\uFE0F?(?:\u200D(?:\uD83D\uDD25|\uD83E\uDE79))?|\uD83C(?:[\uDC04\uDD70\uDD71\uDD7E\uDD7F\uDE02\uDE37\uDF21\uDF24-\uDF2C\uDF36\uDF7D\uDF96\uDF97\uDF99-\uDF9B\uDF9E\uDF9F\uDFCD\uDFCE\uDFD4-\uDFDF\uDFF5\uDFF7]\uFE0F?|[\uDF85\uDFC2\uDFC7](?:\uD83C[\uDFFB-\uDFFF])?|[\uDFC3\uDFC4\uDFCA](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDFCB\uDFCC](?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\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]|\uDDE6\uD83C[\uDDE8-\uDDEC\uDDEE\uDDF1\uDDF2\uDDF4\uDDF6-\uDDFA\uDDFC\uDDFD\uDDFF]|\uDDE7\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEF\uDDF1-\uDDF4\uDDF6-\uDDF9\uDDFB\uDDFC\uDDFE\uDDFF]|\uDDE8\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDEE\uDDF0-\uDDF5\uDDF7\uDDFA-\uDDFF]|\uDDE9\uD83C[\uDDEA\uDDEC\uDDEF\uDDF0\uDDF2\uDDF4\uDDFF]|\uDDEA\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDED\uDDF7-\uDDFA]|\uDDEB\uD83C[\uDDEE-\uDDF0\uDDF2\uDDF4\uDDF7]|\uDDEC\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEE\uDDF1-\uDDF3\uDDF5-\uDDFA\uDDFC\uDDFE]|\uDDED\uD83C[\uDDF0\uDDF2\uDDF3\uDDF7\uDDF9\uDDFA]|\uDDEE\uD83C[\uDDE8-\uDDEA\uDDF1-\uDDF4\uDDF6-\uDDF9]|\uDDEF\uD83C[\uDDEA\uDDF2\uDDF4\uDDF5]|\uDDF0\uD83C[\uDDEA\uDDEC-\uDDEE\uDDF2\uDDF3\uDDF5\uDDF7\uDDFC\uDDFE\uDDFF]|\uDDF1\uD83C[\uDDE6-\uDDE8\uDDEE\uDDF0\uDDF7-\uDDFB\uDDFE]|\uDDF2\uD83C[\uDDE6\uDDE8-\uDDED\uDDF0-\uDDFF]|\uDDF3\uD83C[\uDDE6\uDDE8\uDDEA-\uDDEC\uDDEE\uDDF1\uDDF4\uDDF5\uDDF7\uDDFA\uDDFF]|\uDDF4\uD83C\uDDF2|\uDDF5\uD83C[\uDDE6\uDDEA-\uDDED\uDDF0-\uDDF3\uDDF7-\uDDF9\uDDFC\uDDFE]|\uDDF6\uD83C\uDDE6|\uDDF7\uD83C[\uDDEA\uDDF4\uDDF8\uDDFA\uDDFC]|\uDDF8\uD83C[\uDDE6-\uDDEA\uDDEC-\uDDF4\uDDF7-\uDDF9\uDDFB\uDDFD-\uDDFF]|\uDDF9\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDED\uDDEF-\uDDF4\uDDF7\uDDF9\uDDFB\uDDFC\uDDFF]|\uDDFA\uD83C[\uDDE6\uDDEC\uDDF2\uDDF3\uDDF8\uDDFE\uDDFF]|\uDDFB\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDEE\uDDF3\uDDFA]|\uDDFC\uD83C[\uDDEB\uDDF8]|\uDDFD\uD83C\uDDF0|\uDDFE\uD83C[\uDDEA\uDDF9]|\uDDFF\uD83C[\uDDE6\uDDF2\uDDFC]|\uDFF3\uFE0F?(?:\u200D(?:\u26A7\uFE0F?|\uD83C\uDF08))?|\uDFF4(?:\u200D\u2620\uFE0F?|\uDB40\uDC67\uDB40\uDC62\uDB40(?:\uDC65\uDB40\uDC6E\uDB40\uDC67|\uDC73\uDB40\uDC63\uDB40\uDC74|\uDC77\uDB40\uDC6C\uDB40\uDC73)\uDB40\uDC7F)?)|\uD83D(?:[\uDC08\uDC26](?:\u200D\u2B1B)?|[\uDC3F\uDCFD\uDD49\uDD4A\uDD6F\uDD70\uDD73\uDD76-\uDD79\uDD87\uDD8A-\uDD8D\uDDA5\uDDA8\uDDB1\uDDB2\uDDBC\uDDC2-\uDDC4\uDDD1-\uDDD3\uDDDC-\uDDDE\uDDE1\uDDE3\uDDE8\uDDEF\uDDF3\uDDFA\uDECB\uDECD-\uDECF\uDEE0-\uDEE5\uDEE9\uDEF0\uDEF3]\uFE0F?|[\uDC42\uDC43\uDC46-\uDC50\uDC66\uDC67\uDC6B-\uDC6D\uDC72\uDC74-\uDC76\uDC78\uDC7C\uDC83\uDC85\uDC8F\uDC91\uDCAA\uDD7A\uDD95\uDD96\uDE4C\uDE4F\uDEC0\uDECC](?:\uD83C[\uDFFB-\uDFFF])?|[\uDC6E\uDC70\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDD74\uDD90](?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?|[\uDC00-\uDC07\uDC09-\uDC14\uDC16-\uDC25\uDC27-\uDC3A\uDC3C-\uDC3E\uDC40\uDC44\uDC45\uDC51-\uDC65\uDC6A\uDC79-\uDC7B\uDC7D-\uDC80\uDC84\uDC88-\uDC8E\uDC90\uDC92-\uDCA9\uDCAB-\uDCFC\uDCFF-\uDD3D\uDD4B-\uDD4E\uDD50-\uDD67\uDDA4\uDDFB-\uDE2D\uDE2F-\uDE34\uDE37-\uDE44\uDE48-\uDE4A\uDE80-\uDEA2\uDEA4-\uDEB3\uDEB7-\uDEBF\uDEC1-\uDEC5\uDED0-\uDED2\uDED5-\uDED7\uDEDC-\uDEDF\uDEEB\uDEEC\uDEF4-\uDEFC\uDFE0-\uDFEB\uDFF0]|\uDC15(?:\u200D\uD83E\uDDBA)?|\uDC3B(?:\u200D\u2744\uFE0F?)?|\uDC41\uFE0F?(?:\u200D\uD83D\uDDE8\uFE0F?)?|\uDC68(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDC68\uDC69]\u200D\uD83D(?:\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?)|[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?)|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFC-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFD-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFD\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFE])))?))?|\uDC69(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?[\uDC68\uDC69]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?|\uDC69\u200D\uD83D(?:\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?))|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFC-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB\uDFFD-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB-\uDFFD\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB-\uDFFE])))?))?|\uDC6F(?:\u200D[\u2640\u2642]\uFE0F?)?|\uDD75(?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|\uDE2E(?:\u200D\uD83D\uDCA8)?|\uDE35(?:\u200D\uD83D\uDCAB)?|\uDE36(?:\u200D\uD83C\uDF2B\uFE0F?)?)|\uD83E(?:[\uDD0C\uDD0F\uDD18-\uDD1F\uDD30-\uDD34\uDD36\uDD77\uDDB5\uDDB6\uDDBB\uDDD2\uDDD3\uDDD5\uDEC3-\uDEC5\uDEF0\uDEF2-\uDEF8](?:\uD83C[\uDFFB-\uDFFF])?|[\uDD26\uDD35\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD-\uDDCF\uDDD4\uDDD6-\uDDDD](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDDDE\uDDDF](?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDD0D\uDD0E\uDD10-\uDD17\uDD20-\uDD25\uDD27-\uDD2F\uDD3A\uDD3F-\uDD45\uDD47-\uDD76\uDD78-\uDDB4\uDDB7\uDDBA\uDDBC-\uDDCC\uDDD0\uDDE0-\uDDFF\uDE70-\uDE7C\uDE80-\uDE88\uDE90-\uDEBD\uDEBF-\uDEC2\uDECE-\uDEDB\uDEE0-\uDEE8]|\uDD3C(?:\u200D[\u2640\u2642]\uFE0F?|\uD83C[\uDFFB-\uDFFF])?|\uDDD1(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83E\uDDD1))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFC-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB\uDFFD-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB-\uDFFD\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB-\uDFFE]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?))?|\uDEF1(?:\uD83C(?:\uDFFB(?:\u200D\uD83E\uDEF2\uD83C[\uDFFC-\uDFFF])?|\uDFFC(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB\uDFFD-\uDFFF])?|\uDFFD(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])?|\uDFFE(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB-\uDFFD\uDFFF])?|\uDFFF(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB-\uDFFE])?))?)/g;var Xs={eastAsianWidth(e){var t=e.charCodeAt(0),r=e.length==2?e.charCodeAt(1):0,n=t;return 55296<=t&&t<=56319&&56320<=r&&r<=57343&&(t&=1023,r&=1023,n=t<<10|r,n+=65536),n==12288||65281<=n&&n<=65376||65504<=n&&n<=65510?"F":4352<=n&&n<=4447||4515<=n&&n<=4519||4602<=n&&n<=4607||9001<=n&&n<=9002||11904<=n&&n<=11929||11931<=n&&n<=12019||12032<=n&&n<=12245||12272<=n&&n<=12283||12289<=n&&n<=12350||12353<=n&&n<=12438||12441<=n&&n<=12543||12549<=n&&n<=12589||12593<=n&&n<=12686||12688<=n&&n<=12730||12736<=n&&n<=12771||12784<=n&&n<=12830||12832<=n&&n<=12871||12880<=n&&n<=13054||13056<=n&&n<=19903||19968<=n&&n<=42124||42128<=n&&n<=42182||43360<=n&&n<=43388||44032<=n&&n<=55203||55216<=n&&n<=55238||55243<=n&&n<=55291||63744<=n&&n<=64255||65040<=n&&n<=65049||65072<=n&&n<=65106||65108<=n&&n<=65126||65128<=n&&n<=65131||110592<=n&&n<=110593||127488<=n&&n<=127490||127504<=n&&n<=127546||127552<=n&&n<=127560||127568<=n&&n<=127569||131072<=n&&n<=194367||177984<=n&&n<=196605||196608<=n&&n<=262141?"W":"N"}};var _a=/[^\x20-\x7F]/;function ja(e){if(!e)return 0;if(!_a.test(e))return e.length;e=e.replace(Ys()," ");let t=0;for(let r of e){let n=r.codePointAt(0);if(n<=31||n>=127&&n<=159||n>=768&&n<=879)continue;let s=Xs.eastAsianWidth(r);t+=s==="F"||s==="W"?2:1}return t}var tt=ja;function U(e){var n;let t=e.range?e.range[0]:e.start,r=((n=e.declaration)==null?void 0:n.decorators)??e.decorators;return P(r)?Math.min(U(r[0]),t):t}function O(e){return e.range?e.range[1]:e.end}function mt(e,t){let r=U(e);return Number.isInteger(r)&&r===U(t)}function Ma(e,t){let r=O(e);return Number.isInteger(r)&&r===O(t)}function $s(e,t){return mt(e,t)&&Ma(e,t)}var qt=null;function Wt(e){if(qt!==null&&typeof qt.property){let t=qt;return qt=Wt.prototype=null,t}return qt=Wt.prototype=e??Object.create(null),new Wt}var Ra=10;for(let e=0;e<=Ra;e++)Wt();function kn(e){return Wt(e)}function Ja(e,t="type"){kn(e);function r(n){let s=n[t],u=e[s];if(!Array.isArray(u))throw Object.assign(new Error(`Missing visitor keys for '${s}'.`),{node:n});return u}return r}var fr=Ja;var Vs={ArrayExpression:["elements"],AssignmentExpression:["left","right"],BinaryExpression:["left","right"],InterpreterDirective:[],Directive:["value"],DirectiveLiteral:[],BlockStatement:["directives","body"],BreakStatement:["label"],CallExpression:["callee","arguments","typeParameters","typeArguments"],CatchClause:["param","body"],ConditionalExpression:["test","consequent","alternate"],ContinueStatement:["label"],DebuggerStatement:[],DoWhileStatement:["test","body"],EmptyStatement:[],ExpressionStatement:["expression"],File:["program"],ForInStatement:["left","right","body"],ForStatement:["init","test","update","body"],FunctionDeclaration:["id","params","body","returnType","typeParameters","predicate"],FunctionExpression:["id","params","body","returnType","typeParameters"],Identifier:["typeAnnotation","decorators"],IfStatement:["test","consequent","alternate"],LabeledStatement:["label","body"],StringLiteral:[],NumericLiteral:[],NullLiteral:[],BooleanLiteral:[],RegExpLiteral:[],LogicalExpression:["left","right"],MemberExpression:["object","property"],NewExpression:["callee","arguments","typeParameters","typeArguments"],Program:["directives","body"],ObjectExpression:["properties"],ObjectMethod:["key","params","body","decorators","returnType","typeParameters"],ObjectProperty:["key","value","decorators"],RestElement:["argument","typeAnnotation","decorators"],ReturnStatement:["argument"],SequenceExpression:["expressions"],ParenthesizedExpression:["expression"],SwitchCase:["test","consequent"],SwitchStatement:["discriminant","cases"],ThisExpression:[],ThrowStatement:["argument"],TryStatement:["block","handler","finalizer"],UnaryExpression:["argument"],UpdateExpression:["argument"],VariableDeclaration:["declarations"],VariableDeclarator:["id","init"],WhileStatement:["test","body"],WithStatement:["object","body"],AssignmentPattern:["left","right","decorators","typeAnnotation"],ArrayPattern:["elements","typeAnnotation","decorators"],ArrowFunctionExpression:["params","body","returnType","typeParameters","predicate"],ClassBody:["body"],ClassExpression:["id","body","superClass","mixins","typeParameters","superTypeParameters","implements","decorators"],ClassDeclaration:["id","body","superClass","mixins","typeParameters","superTypeParameters","implements","decorators"],ExportAllDeclaration:["source","attributes","assertions","exported"],ExportDefaultDeclaration:["declaration"],ExportNamedDeclaration:["declaration","specifiers","source","attributes","assertions"],ExportSpecifier:["local","exported"],ForOfStatement:["left","right","body"],ImportDeclaration:["specifiers","source","attributes","assertions"],ImportDefaultSpecifier:["local"],ImportNamespaceSpecifier:["local"],ImportSpecifier:["local","imported"],MetaProperty:["meta","property"],ClassMethod:["key","params","body","decorators","returnType","typeParameters"],ObjectPattern:["properties","typeAnnotation","decorators"],SpreadElement:["argument"],Super:[],TaggedTemplateExpression:["tag","quasi","typeParameters"],TemplateElement:[],TemplateLiteral:["quasis","expressions"],YieldExpression:["argument"],AwaitExpression:["argument"],Import:[],BigIntLiteral:[],ExportNamespaceSpecifier:["exported"],OptionalMemberExpression:["object","property"],OptionalCallExpression:["callee","arguments","typeParameters","typeArguments"],ClassProperty:["key","value","typeAnnotation","decorators","variance"],ClassAccessorProperty:["key","value","typeAnnotation","decorators"],ClassPrivateProperty:["key","value","decorators","typeAnnotation","variance"],ClassPrivateMethod:["key","params","body","decorators","returnType","typeParameters"],PrivateName:["id"],StaticBlock:["body"],AnyTypeAnnotation:[],ArrayTypeAnnotation:["elementType"],BooleanTypeAnnotation:[],BooleanLiteralTypeAnnotation:[],NullLiteralTypeAnnotation:[],ClassImplements:["id","typeParameters"],DeclareClass:["id","typeParameters","extends","mixins","implements","body"],DeclareFunction:["id","predicate"],DeclareInterface:["id","typeParameters","extends","body"],DeclareModule:["id","body"],DeclareModuleExports:["typeAnnotation"],DeclareTypeAlias:["id","typeParameters","right"],DeclareOpaqueType:["id","typeParameters","supertype"],DeclareVariable:["id"],DeclareExportDeclaration:["declaration","specifiers","source"],DeclareExportAllDeclaration:["source"],DeclaredPredicate:["value"],ExistsTypeAnnotation:[],FunctionTypeAnnotation:["typeParameters","params","rest","returnType","this"],FunctionTypeParam:["name","typeAnnotation"],GenericTypeAnnotation:["id","typeParameters"],InferredPredicate:[],InterfaceExtends:["id","typeParameters"],InterfaceDeclaration:["id","typeParameters","extends","body"],InterfaceTypeAnnotation:["extends","body"],IntersectionTypeAnnotation:["types"],MixedTypeAnnotation:[],EmptyTypeAnnotation:[],NullableTypeAnnotation:["typeAnnotation"],NumberLiteralTypeAnnotation:[],NumberTypeAnnotation:[],ObjectTypeAnnotation:["properties","indexers","callProperties","internalSlots"],ObjectTypeInternalSlot:["id","value","optional","static","method"],ObjectTypeCallProperty:["value"],ObjectTypeIndexer:["id","key","value","variance"],ObjectTypeProperty:["key","value","variance"],ObjectTypeSpreadProperty:["argument"],OpaqueType:["id","typeParameters","supertype","impltype"],QualifiedTypeIdentifier:["id","qualification"],StringLiteralTypeAnnotation:[],StringTypeAnnotation:[],SymbolTypeAnnotation:[],ThisTypeAnnotation:[],TupleTypeAnnotation:["types","elementTypes"],TypeofTypeAnnotation:["argument"],TypeAlias:["id","typeParameters","right"],TypeAnnotation:["typeAnnotation"],TypeCastExpression:["expression","typeAnnotation"],TypeParameter:["bound","default","variance"],TypeParameterDeclaration:["params"],TypeParameterInstantiation:["params"],UnionTypeAnnotation:["types"],Variance:[],VoidTypeAnnotation:[],EnumDeclaration:["id","body"],EnumBooleanBody:["members"],EnumNumberBody:["members"],EnumStringBody:["members"],EnumSymbolBody:["members"],EnumBooleanMember:["id","init"],EnumNumberMember:["id","init"],EnumStringMember:["id","init"],EnumDefaultedMember:["id"],IndexedAccessType:["objectType","indexType"],OptionalIndexedAccessType:["objectType","indexType"],JSXAttribute:["name","value"],JSXClosingElement:["name"],JSXElement:["openingElement","children","closingElement"],JSXEmptyExpression:[],JSXExpressionContainer:["expression"],JSXSpreadChild:["expression"],JSXIdentifier:[],JSXMemberExpression:["object","property"],JSXNamespacedName:["namespace","name"],JSXOpeningElement:["name","attributes","typeParameters"],JSXSpreadAttribute:["argument"],JSXText:[],JSXFragment:["openingFragment","children","closingFragment"],JSXOpeningFragment:[],JSXClosingFragment:[],Noop:[],Placeholder:[],V8IntrinsicIdentifier:[],ArgumentPlaceholder:[],BindExpression:["object","callee"],ImportAttribute:["key","value"],Decorator:["expression"],DoExpression:["body"],ExportDefaultSpecifier:["exported"],RecordExpression:["properties"],TupleExpression:["elements"],DecimalLiteral:[],ModuleExpression:["body"],TopicReference:[],PipelineTopicExpression:["expression"],PipelineBareFunction:["callee"],PipelinePrimaryTopicReference:[],TSParameterProperty:["parameter","decorators"],TSDeclareFunction:["id","typeParameters","params","returnType","body"],TSDeclareMethod:["decorators","key","typeParameters","params","returnType"],TSQualifiedName:["left","right"],TSCallSignatureDeclaration:["typeParameters","parameters","typeAnnotation","params","returnType"],TSConstructSignatureDeclaration:["typeParameters","parameters","typeAnnotation","params","returnType"],TSPropertySignature:["key","typeAnnotation"],TSMethodSignature:["key","typeParameters","parameters","typeAnnotation","params","returnType"],TSIndexSignature:["parameters","typeAnnotation"],TSAnyKeyword:[],TSBooleanKeyword:[],TSBigIntKeyword:[],TSIntrinsicKeyword:[],TSNeverKeyword:[],TSNullKeyword:[],TSNumberKeyword:[],TSObjectKeyword:[],TSStringKeyword:[],TSSymbolKeyword:[],TSUndefinedKeyword:[],TSUnknownKeyword:[],TSVoidKeyword:[],TSThisType:[],TSFunctionType:["typeParameters","parameters","typeAnnotation","params","returnType"],TSConstructorType:["typeParameters","parameters","typeAnnotation","params","returnType"],TSTypeReference:["typeName","typeParameters"],TSTypePredicate:["parameterName","typeAnnotation"],TSTypeQuery:["exprName","typeParameters"],TSTypeLiteral:["members"],TSArrayType:["elementType"],TSTupleType:["elementTypes"],TSOptionalType:["typeAnnotation"],TSRestType:["typeAnnotation"],TSNamedTupleMember:["label","elementType"],TSUnionType:["types"],TSIntersectionType:["types"],TSConditionalType:["checkType","extendsType","trueType","falseType"],TSInferType:["typeParameter"],TSParenthesizedType:["typeAnnotation"],TSTypeOperator:["typeAnnotation"],TSIndexedAccessType:["objectType","indexType"],TSMappedType:["typeParameter","typeAnnotation","nameType"],TSLiteralType:["literal"],TSExpressionWithTypeArguments:["expression","typeParameters"],TSInterfaceDeclaration:["id","typeParameters","extends","body"],TSInterfaceBody:["body"],TSTypeAliasDeclaration:["id","typeParameters","typeAnnotation"],TSInstantiationExpression:["expression","typeParameters"],TSAsExpression:["expression","typeAnnotation"],TSSatisfiesExpression:["expression","typeAnnotation"],TSTypeAssertion:["typeAnnotation","expression"],TSEnumDeclaration:["id","members"],TSEnumMember:["id","initializer"],TSModuleDeclaration:["id","body"],TSModuleBlock:["body"],TSImportType:["argument","qualifier","typeParameters","parameter"],TSImportEqualsDeclaration:["id","moduleReference"],TSExternalModuleReference:["expression"],TSNonNullExpression:["expression"],TSExportAssignment:["expression"],TSNamespaceExportDeclaration:["id"],TSTypeAnnotation:["typeAnnotation"],TSTypeParameterInstantiation:["params"],TSTypeParameterDeclaration:["params"],TSTypeParameter:["constraint","default","name"],ChainExpression:["expression"],ExperimentalRestProperty:["argument"],ExperimentalSpreadProperty:["argument"],ImportExpression:["source","attributes"],Literal:[],MethodDefinition:["decorators","key","value"],PrivateIdentifier:[],Property:["key","value"],PropertyDefinition:["decorators","key","typeAnnotation","value","variance"],AccessorProperty:["decorators","key","typeAnnotation","value"],TSAbstractAccessorProperty:["decorators","key","typeAnnotation"],TSAbstractKeyword:[],TSAbstractMethodDefinition:["key","value"],TSAbstractPropertyDefinition:["decorators","key","typeAnnotation"],TSAsyncKeyword:[],TSClassImplements:["expression","typeParameters"],TSDeclareKeyword:[],TSEmptyBodyFunctionExpression:["id","typeParameters","params","returnType"],TSExportKeyword:[],TSInterfaceHeritage:["expression","typeParameters"],TSPrivateKeyword:[],TSProtectedKeyword:[],TSPublicKeyword:[],TSReadonlyKeyword:[],TSStaticKeyword:[],TSTemplateLiteralType:["quasis","types"],BigIntLiteralTypeAnnotation:[],BigIntTypeAnnotation:[],ConditionalTypeAnnotation:["checkType","extendsType","trueType","falseType"],DeclareEnum:["id","body"],InferTypeAnnotation:["typeParameter"],KeyofTypeAnnotation:["argument"],ObjectTypeMappedTypeProperty:["keyTparam","propType","sourceType","variance"],QualifiedTypeofIdentifier:["qualification","id"],TupleTypeLabeledElement:["label","elementType","variance"],TupleTypeSpreadElement:["label","typeAnnotation"],TypePredicate:["parameterName","typeAnnotation","asserts"],NGRoot:["node"],NGPipeExpression:["left","right","arguments"],NGChainedExpression:["expressions"],NGEmptyExpression:[],NGMicrosyntax:["body"],NGMicrosyntaxKey:[],NGMicrosyntaxExpression:["expression","alias"],NGMicrosyntaxKeyedExpression:["key","expression"],NGMicrosyntaxLet:["key","value"],NGMicrosyntaxAs:["key","alias"],JsExpressionRoot:["node"],JsonRoot:["node"],TSJSDocAllType:[],TSJSDocUnknownType:[],TSJSDocNullableType:["typeAnnotation"],TSJSDocNonNullableType:["typeAnnotation"],NeverTypeAnnotation:[],UndefinedTypeAnnotation:[],UnknownTypeAnnotation:[]};var Na=fr(Vs),Er=Na;function Ua(e){return e=new Set(e),t=>e.has(t==null?void 0:t.type)}var j=Ua;var Ga=j(["Block","CommentBlock","MultiLine"]),ae=Ga;function qa(e,t){let r=t.split(".");for(let n=r.length-1;n>=0;n--){let s=r[n];if(n===0)return e.type==="Identifier"&&e.name===s;if(e.type!=="MemberExpression"||e.optional||e.computed||e.property.type!=="Identifier"||e.property.name!==s)return!1;e=e.object}}function Wa(e,t){return t.some(r=>qa(e,r))}var Hs=Wa;var Ya=j(["AnyTypeAnnotation","ThisTypeAnnotation","NumberTypeAnnotation","VoidTypeAnnotation","BooleanTypeAnnotation","BigIntTypeAnnotation","SymbolTypeAnnotation","StringTypeAnnotation","NeverTypeAnnotation","UndefinedTypeAnnotation","UnknownTypeAnnotation","EmptyTypeAnnotation","MixedTypeAnnotation"]),Fr=Ya;function Xa({type:e}){return e.startsWith("TS")&&e.endsWith("Keyword")}var Cr=Xa;function Xt(e,t){return t(e)||Gs(e,{getVisitorKeys:Er,predicate:t})}function Lt(e){return e.type==="AssignmentExpression"||e.type==="BinaryExpression"||e.type==="LogicalExpression"||e.type==="NGPipeExpression"||e.type==="ConditionalExpression"||k(e)||J(e)||e.type==="SequenceExpression"||e.type==="TaggedTemplateExpression"||e.type==="BindExpression"||e.type==="UpdateExpression"&&!e.prefix||Le(e)||e.type==="TSNonNullExpression"||e.type==="ChainExpression"}function Qs(e){return e.expressions?e.expressions[0]:e.left??e.test??e.callee??e.object??e.tag??e.argument??e.expression}function Ar(e){if(e.expressions)return["expressions",0];if(e.left)return["left"];if(e.test)return["test"];if(e.object)return["object"];if(e.callee)return["callee"];if(e.tag)return["tag"];if(e.argument)return["argument"];if(e.expression)return["expression"];throw new Error("Unexpected node has no left side.")}var $t=j(["Line","CommentLine","SingleLine","HashbangComment","HTMLOpen","HTMLClose","Hashbang","InterpreterDirective"]),Zs=j(["ExportDefaultDeclaration","DeclareExportDeclaration","ExportNamedDeclaration","ExportAllDeclaration","DeclareExportAllDeclaration"]),G=j(["ArrayExpression","TupleExpression"]),Z=j(["ObjectExpression","RecordExpression"]);function ge(e){return e.type==="NumericLiteral"||e.type==="Literal"&&typeof e.value=="number"}function Tr(e){return e.type==="UnaryExpression"&&(e.operator==="+"||e.operator==="-")&&ge(e.argument)}function ee(e){return e.type==="StringLiteral"||e.type==="Literal"&&typeof e.value=="string"}function vn(e){return e.type==="RegExpLiteral"||e.type==="Literal"&&!!e.regex}var ke=j(["ObjectTypeAnnotation","TSTypeLiteral","TSMappedType"]),It=j(["FunctionExpression","ArrowFunctionExpression"]);function $a(e){return e.type==="FunctionExpression"||e.type==="ArrowFunctionExpression"&&e.body.type==="BlockStatement"}function In(e){return k(e)&&e.callee.type==="Identifier"&&["async","inject","fakeAsync","waitForAsync"].includes(e.callee.name)}var V=j(["JSXElement","JSXFragment"]);function _n(e){return e.kind==="get"||e.kind==="set"}function jn(e){return _n(e)||mt(e,e.value)}function xr(e){return(e.type==="ObjectTypeProperty"||e.type==="ObjectTypeInternalSlot")&&e.value.type==="FunctionTypeAnnotation"&&!e.static&&!jn(e)}function eu(e){return(e.type==="TypeAnnotation"||e.type==="TSTypeAnnotation")&&e.typeAnnotation.type==="FunctionTypeAnnotation"&&!e.static&&!mt(e,e.typeAnnotation)}var ce=j(["BinaryExpression","LogicalExpression","NGPipeExpression"]);function Dt(e){return J(e)||e.type==="BindExpression"&&!!e.object}var Va=j(["TSThisType","NullLiteralTypeAnnotation","BooleanLiteralTypeAnnotation","StringLiteralTypeAnnotation","BigIntLiteralTypeAnnotation","NumberLiteralTypeAnnotation","TSLiteralType","TSTemplateLiteralType"]);function wt(e){return Cr(e)||Fr(e)||Va(e)||(e.type==="GenericTypeAnnotation"||e.type==="TSTypeReference")&&!e.typeParameters}function Ha(e){let t=/^(?:before|after)(?:Each|All)$/;return e.callee.type==="Identifier"&&e.arguments.length===1&&t.test(e.callee.name)}var Ka=["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 za(e){return Hs(e,Ka)}function Ct(e,t){if(e.type!=="CallExpression")return!1;if(e.arguments.length===1){if(In(e)&&t&&Ct(t))return It(e.arguments[0]);if(Ha(e))return In(e.arguments[0])}else if((e.arguments.length===2||e.arguments.length===3)&&(e.arguments[0].type==="TemplateLiteral"||ee(e.arguments[0]))&&za(e.callee))return e.arguments[2]&&!ge(e.arguments[2])?!1:(e.arguments.length===2?It(e.arguments[1]):$a(e.arguments[1])&&Y(e.arguments[1]).length<=1)||In(e.arguments[1]);return!1}var k=j(["CallExpression","OptionalCallExpression"]),J=j(["MemberExpression","OptionalMemberExpression"]);function tu(e){let t="expressions";e.type==="TSTemplateLiteralType"&&(t="types");let r=e[t];return r.length===0?!1:r.every(n=>{if(d(n))return!1;if(n.type==="Identifier"||n.type==="ThisExpression")return!0;if(n.type==="ChainExpression"&&(n=n.expression),J(n)){let s=n;for(;J(s);)if(s.property.type!=="Identifier"&&s.property.type!=="Literal"&&s.property.type!=="StringLiteral"&&s.property.type!=="NumericLiteral"||(s=s.object,d(s)))return!1;return s.type==="Identifier"||s.type==="ThisExpression"}return!1})}function Ie(e,t){return V(t)?dt(t):d(t,x.Leading,r=>z(e,O(r)))}function Mn(e,t){return t.parser!=="json"&&ee(e.key)&&oe(e.key).slice(1,-1)===e.key.value&&(Ns(e.key.value)&&!(t.parser==="babel-ts"&&e.type==="ClassProperty"||t.parser==="typescript"&&e.type==="PropertyDefinition")||Rn(e.key.value)&&String(Number(e.key.value))===e.key.value&&(t.parser==="babel"||t.parser==="acorn"||t.parser==="espree"||t.parser==="meriyah"||t.parser==="__babel_estree"))}function Rn(e){return/^(?:\d+|\d+\.\d+)$/.test(e)}function Ks(e){return e.quasis.some(t=>t.value.raw.includes(` -`))}function gr(e,t){return(e.type==="TemplateLiteral"&&Ks(e)||e.type==="TaggedTemplateExpression"&&Ks(e.quasi))&&!z(t,U(e),{backwards:!0})}function hr(e){if(!d(e))return!1;let t=w(!1,Kt(e,x.Dangling),-1);return t&&!ae(t)}function ru(e){if(e.length<=1)return!1;let t=0;for(let r of e)if(It(r)){if(t+=1,t>1)return!0}else if(k(r)){for(let n of r.arguments)if(It(n))return!0}return!1}function Sr(e){let{node:t,parent:r,key:n}=e;return n==="callee"&&k(t)&&k(r)&&r.arguments.length>0&&t.arguments.length>r.arguments.length}var Qa=new Set(["!","-","+","~"]);function xe(e,t=2){if(t<=0)return!1;let r=n=>xe(n,t-1);if(vn(e))return tt(e.pattern??e.regex.pattern)<=5;if(e.type==="Literal"||e.type==="BigIntLiteral"||e.type==="DecimalLiteral"||e.type==="BooleanLiteral"||e.type==="NullLiteral"||e.type==="NumericLiteral"||e.type==="StringLiteral"||e.type==="Identifier"||e.type==="ThisExpression"||e.type==="Super"||e.type==="PrivateName"||e.type==="PrivateIdentifier"||e.type==="ArgumentPlaceholder"||e.type==="Import")return!0;if(e.type==="TemplateLiteral")return e.quasis.every(n=>!n.value.raw.includes(` -`))&&e.expressions.every(r);if(Z(e))return e.properties.every(n=>!n.computed&&(n.shorthand||n.value&&r(n.value)));if(G(e))return e.elements.every(n=>n===null||r(n));if(ut(e)){if(e.type==="ImportExpression"||xe(e.callee,t)){let n=he(e);return n.length<=t&&n.every(r)}return!1}return J(e)?xe(e.object,t)&&xe(e.property,t):e.type==="UnaryExpression"&&Qa.has(e.operator)||e.type==="UpdateExpression"?xe(e.argument,t):e.type==="TSNonNullExpression"?xe(e.expression,t):!1}function oe(e){var t;return((t=e.extra)==null?void 0:t.raw)??e.raw}function nu(e){return e}function le(e,t="es5"){return e.trailingComma==="es5"&&t==="es5"||e.trailingComma==="all"&&(t==="all"||t==="es5")}function re(e,t){switch(e.type){case"BinaryExpression":case"LogicalExpression":case"AssignmentExpression":case"NGPipeExpression":return re(e.left,t);case"MemberExpression":case"OptionalMemberExpression":return re(e.object,t);case"TaggedTemplateExpression":return e.tag.type==="FunctionExpression"?!1:re(e.tag,t);case"CallExpression":case"OptionalCallExpression":return e.callee.type==="FunctionExpression"?!1:re(e.callee,t);case"ConditionalExpression":return re(e.test,t);case"UpdateExpression":return!e.prefix&&re(e.argument,t);case"BindExpression":return e.object&&re(e.object,t);case"SequenceExpression":return re(e.expressions[0],t);case"ChainExpression":case"TSSatisfiesExpression":case"TSAsExpression":case"TSNonNullExpression":return re(e.expression,t);default:return t(e)}}var zs={"==":!0,"!=":!0,"===":!0,"!==":!0},dr={"*":!0,"/":!0,"%":!0},On={">>":!0,">>>":!0,"<<":!0};function Vt(e,t){return!(Yt(t)!==Yt(e)||e==="**"||zs[e]&&zs[t]||t==="%"&&dr[e]||e==="%"&&dr[t]||t!==e&&dr[t]&&dr[e]||On[e]&&On[t])}var Za=new Map([["|>"],["??"],["||"],["&&"],["|"],["^"],["&"],["==","===","!=","!=="],["<",">","<=",">=","in","instanceof"],[">>","<<",">>>"],["+","-"],["*","/","%"],["**"]].flatMap((e,t)=>e.map(r=>[r,t])));function Yt(e){return Za.get(e)}function su(e){return!!On[e]||e==="|"||e==="^"||e==="&"}function uu(e){var r;if(e.rest)return!0;let t=Y(e);return((r=w(!1,t,-1))==null?void 0:r.type)==="RestElement"}var Ln=new WeakMap;function Y(e){if(Ln.has(e))return Ln.get(e);let t=[];return e.this&&t.push(e.this),Array.isArray(e.parameters)?t.push(...e.parameters):Array.isArray(e.params)&&t.push(...e.params),e.rest&&t.push(e.rest),Ln.set(e,t),t}function iu(e,t){let{node:r}=e,n=0,s=u=>t(u,n++);r.this&&e.call(s,"this"),Array.isArray(r.parameters)?e.each(s,"parameters"):Array.isArray(r.params)&&e.each(s,"params"),r.rest&&e.call(s,"rest")}var wn=new WeakMap;function he(e){if(wn.has(e))return wn.get(e);let t=e.arguments;return e.type==="ImportExpression"&&(t=[e.source],e.attributes&&t.push(e.attributes)),wn.set(e,t),t}function Br(e,t){let{node:r}=e;r.type==="ImportExpression"?(e.call(n=>t(n,0),"source"),r.attributes&&e.call(n=>t(n,1),"attributes")):e.each(t,"arguments")}function Jn(e,t){if(e.type==="ImportExpression"){if(t===0||t===(e.attributes?-2:-1))return"source";if(e.attributes&&(t===1||t===-1))return"attributes";throw new RangeError("Invalid argument index")}if(t<0&&(t=e.arguments.length+t),t<0||t>=e.arguments.length)throw new RangeError("Invalid argument index");return["arguments",t]}function Ht(e){return e.value.trim()==="prettier-ignore"&&!e.unignore}function dt(e){return(e==null?void 0:e.prettierIgnore)||d(e,x.PrettierIgnore)}var x={Leading:2,Trailing:4,Dangling:8,Block:16,Line:32,PrettierIgnore:64,First:128,Last:256},au=(e,t)=>{if(typeof e=="function"&&(t=e,e=0),e||t)return(r,n,s)=>!(e&x.Leading&&!r.leading||e&x.Trailing&&!r.trailing||e&x.Dangling&&(r.leading||r.trailing)||e&x.Block&&!ae(r)||e&x.Line&&!$t(r)||e&x.First&&n!==0||e&x.Last&&n!==s.length-1||e&x.PrettierIgnore&&!Ht(r)||t&&!t(r))};function d(e,t,r){if(!P(e==null?void 0:e.comments))return!1;let n=au(t,r);return n?e.comments.some(n):!0}function Kt(e,t,r){if(!Array.isArray(e==null?void 0:e.comments))return[];let n=au(t,r);return n?e.comments.filter(n):e.comments}var me=(e,{originalText:t})=>kt(t,O(e));function ut(e){return k(e)||e.type==="NewExpression"||e.type==="ImportExpression"}function fe(e){return e&&(e.type==="ObjectProperty"||e.type==="Property"&&!e.method&&e.kind==="init")}var zt=Symbol("ifWithoutBlockAndSameLineComment"),Le=j(["TSAsExpression","TSSatisfiesExpression"]);function Nn(e,t){var u,i,a,o,p,m,y;if(e.isRoot)return!1;let{node:r,key:n,parent:s}=e;if(t.__isInHtmlInterpolation&&!t.bracketSpacing&&no(r)&&Qt(e))return!0;if(eo(r))return!1;if(r.type==="Identifier"){if((u=r.extra)!=null&&u.parenthesized&&/^PRETTIER_HTML_PLACEHOLDER_\d+_\d+_IN_JS$/.test(r.name)||n==="left"&&(r.name==="async"&&!s.await||r.name==="let")&&s.type==="ForOfStatement")return!0;if(r.name==="let"){let c=(i=e.findAncestor(f=>f.type==="ForOfStatement"))==null?void 0:i.left;if(c&&re(c,f=>f===r))return!0}if(n==="object"&&r.name==="let"&&s.type==="MemberExpression"&&s.computed&&!s.optional){let c=e.findAncestor(l=>l.type==="ExpressionStatement"||l.type==="ForStatement"||l.type==="ForInStatement"),f=c?c.type==="ExpressionStatement"?c.expression:c.type==="ForStatement"?c.init:c.left:void 0;if(f&&re(f,l=>l===r))return!0}return!1}if(r.type==="ObjectExpression"||r.type==="FunctionExpression"||r.type==="ClassExpression"||r.type==="DoExpression"){let c=(a=e.findAncestor(f=>f.type==="ExpressionStatement"))==null?void 0:a.expression;if(c&&re(c,f=>f===r))return!0}if(r.type==="ObjectExpression"){let c=(o=e.findAncestor(f=>f.type==="ArrowFunctionExpression"))==null?void 0:o.body;if(c&&c.type!=="SequenceExpression"&&c.type!=="AssignmentExpression"&&re(c,f=>f===r))return!0}switch(s.type){case"ParenthesizedExpression":return!1;case"ClassDeclaration":case"ClassExpression":if(n==="superClass"&&(r.type==="ArrowFunctionExpression"||r.type==="AssignmentExpression"||r.type==="AwaitExpression"||r.type==="BinaryExpression"||r.type==="ConditionalExpression"||r.type==="LogicalExpression"||r.type==="NewExpression"||r.type==="ObjectExpression"||r.type==="SequenceExpression"||r.type==="TaggedTemplateExpression"||r.type==="UnaryExpression"||r.type==="UpdateExpression"||r.type==="YieldExpression"||r.type==="TSNonNullExpression"||r.type==="ClassExpression"&&P(r.decorators)))return!0;break;case"ExportDefaultDeclaration":return ou(e,t)||r.type==="SequenceExpression";case"Decorator":if(n==="expression"){if(J(r)&&r.computed)return!0;let c=!1,f=!1,l=r;for(;l;)switch(l.type){case"MemberExpression":f=!0,l=l.object;break;case"CallExpression":if(f||c)return t.parser!=="typescript";c=!0,l=l.callee;break;case"Identifier":return!1;case"TaggedTemplateExpression":return t.parser!=="typescript";default:return!0}return!0}break;case"TypeAnnotation":if(e.match(void 0,void 0,(c,f)=>f==="returnType"&&c.type==="ArrowFunctionExpression")&&ro(r))return!0;break}switch(r.type){case"UpdateExpression":if(s.type==="UnaryExpression")return r.prefix&&(r.operator==="++"&&s.operator==="+"||r.operator==="--"&&s.operator==="-");case"UnaryExpression":switch(s.type){case"UnaryExpression":return r.operator===s.operator&&(r.operator==="+"||r.operator==="-");case"BindExpression":return!0;case"MemberExpression":case"OptionalMemberExpression":return n==="object";case"TaggedTemplateExpression":return!0;case"NewExpression":case"CallExpression":case"OptionalCallExpression":return n==="callee";case"BinaryExpression":return n==="left"&&s.operator==="**";case"TSNonNullExpression":return!0;default:return!1}case"BinaryExpression":if(s.type==="UpdateExpression"||r.operator==="in"&&to(e))return!0;if(r.operator==="|>"&&((p=r.extra)!=null&&p.parenthesized)){let c=e.grandparent;if(c.type==="BinaryExpression"&&c.operator==="|>")return!0}case"TSTypeAssertion":case"TSAsExpression":case"TSSatisfiesExpression":case"LogicalExpression":switch(s.type){case"TSAsExpression":case"TSSatisfiesExpression":return!Le(r);case"ConditionalExpression":return Le(r);case"CallExpression":case"NewExpression":case"OptionalCallExpression":return n==="callee";case"ClassExpression":case"ClassDeclaration":return n==="superClass";case"TSTypeAssertion":case"TaggedTemplateExpression":case"UnaryExpression":case"JSXSpreadAttribute":case"SpreadElement":case"BindExpression":case"AwaitExpression":case"TSNonNullExpression":case"UpdateExpression":return!0;case"MemberExpression":case"OptionalMemberExpression":return n==="object";case"AssignmentExpression":case"AssignmentPattern":return n==="left"&&(r.type==="TSTypeAssertion"||Le(r));case"LogicalExpression":if(r.type==="LogicalExpression")return s.operator!==r.operator;case"BinaryExpression":{let{operator:c,type:f}=r;if(!c&&f!=="TSTypeAssertion")return!0;let l=Yt(c),h=s.operator,g=Yt(h);return g>l||n==="right"&&g===l||g===l&&!Vt(h,c)?!0:g");default:return!1}case"TSFunctionType":if(e.match(c=>c.type==="TSFunctionType",(c,f)=>f==="typeAnnotation"&&c.type==="TSTypeAnnotation",(c,f)=>f==="returnType"&&c.type==="ArrowFunctionExpression"))return!0;case"TSConditionalType":case"TSConstructorType":if(n==="extendsType"&&s.type==="TSConditionalType"){if(r.type==="TSConditionalType")return!0;let{typeAnnotation:c}=r.returnType||r.typeAnnotation;if(c.type==="TSTypePredicate"&&c.typeAnnotation&&(c=c.typeAnnotation.typeAnnotation),c.type==="TSInferType"&&c.typeParameter.constraint)return!0}if(n==="checkType"&&s.type==="TSConditionalType")return!0;case"TSUnionType":case"TSIntersectionType":if((s.type==="TSUnionType"||s.type==="TSIntersectionType")&&s.types.length>1&&(!r.types||r.types.length>1))return!0;case"TSInferType":if(r.type==="TSInferType"&&s.type==="TSRestType")return!1;case"TSTypeOperator":return s.type==="TSArrayType"||s.type==="TSOptionalType"||s.type==="TSRestType"||n==="objectType"&&s.type==="TSIndexedAccessType"||s.type==="TSTypeOperator"||s.type==="TSTypeAnnotation"&&e.grandparent.type.startsWith("TSJSDoc");case"TSTypeQuery":return n==="objectType"&&s.type==="TSIndexedAccessType"||n==="elementType"&&s.type==="TSArrayType";case"TypeofTypeAnnotation":return n==="objectType"&&(s.type==="IndexedAccessType"||s.type==="OptionalIndexedAccessType")||n==="elementType"&&s.type==="ArrayTypeAnnotation";case"ArrayTypeAnnotation":return s.type==="NullableTypeAnnotation";case"IntersectionTypeAnnotation":case"UnionTypeAnnotation":return s.type==="ArrayTypeAnnotation"||s.type==="NullableTypeAnnotation"||s.type==="IntersectionTypeAnnotation"||s.type==="UnionTypeAnnotation"||n==="objectType"&&(s.type==="IndexedAccessType"||s.type==="OptionalIndexedAccessType");case"InferTypeAnnotation":case"NullableTypeAnnotation":return s.type==="ArrayTypeAnnotation"||n==="objectType"&&(s.type==="IndexedAccessType"||s.type==="OptionalIndexedAccessType");case"FunctionTypeAnnotation":{if(e.match(void 0,(f,l)=>l==="typeAnnotation"&&f.type==="TypeAnnotation",(f,l)=>l==="returnType"&&f.type==="ArrowFunctionExpression")||e.match(void 0,(f,l)=>l==="typeAnnotation"&&f.type==="TypePredicate",(f,l)=>l==="typeAnnotation"&&f.type==="TypeAnnotation",(f,l)=>l==="returnType"&&f.type==="ArrowFunctionExpression"))return!0;let c=s.type==="NullableTypeAnnotation"?e.grandparent:s;return c.type==="UnionTypeAnnotation"||c.type==="IntersectionTypeAnnotation"||c.type==="ArrayTypeAnnotation"||n==="objectType"&&(c.type==="IndexedAccessType"||c.type==="OptionalIndexedAccessType")||n==="checkType"&&s.type==="ConditionalTypeAnnotation"||n==="extendsType"&&s.type==="ConditionalTypeAnnotation"&&r.returnType.type==="InferTypeAnnotation"&&r.returnType.typeParameter.bound||c.type==="NullableTypeAnnotation"||s.type==="FunctionTypeParam"&&s.name===null&&Y(r).some(f=>{var l;return((l=f.typeAnnotation)==null?void 0:l.type)==="NullableTypeAnnotation"})}case"ConditionalTypeAnnotation":if(n==="extendsType"&&s.type==="ConditionalTypeAnnotation"&&r.type==="ConditionalTypeAnnotation"||n==="checkType"&&s.type==="ConditionalTypeAnnotation")return!0;case"OptionalIndexedAccessType":return n==="objectType"&&s.type==="IndexedAccessType";case"StringLiteral":case"NumericLiteral":case"Literal":if(typeof r.value=="string"&&s.type==="ExpressionStatement"&&!s.directive){let c=e.grandparent;return c.type==="Program"||c.type==="BlockStatement"}return n==="object"&&s.type==="MemberExpression"&&typeof r.value=="number";case"AssignmentExpression":{let c=e.grandparent;return n==="body"&&s.type==="ArrowFunctionExpression"?!0:n==="key"&&(s.type==="ClassProperty"||s.type==="PropertyDefinition")&&s.computed||(n==="init"||n==="update")&&s.type==="ForStatement"?!1:s.type==="ExpressionStatement"?r.left.type==="ObjectPattern":!(n==="key"&&s.type==="TSPropertySignature"||s.type==="AssignmentExpression"||s.type==="SequenceExpression"&&c.type==="ForStatement"&&(c.init===s||c.update===s)||n==="value"&&s.type==="Property"&&c.type==="ObjectPattern"&&c.properties.includes(s)||s.type==="NGChainedExpression")}case"ConditionalExpression":switch(s.type){case"TaggedTemplateExpression":case"UnaryExpression":case"SpreadElement":case"BinaryExpression":case"LogicalExpression":case"NGPipeExpression":case"ExportDefaultDeclaration":case"AwaitExpression":case"JSXSpreadAttribute":case"TSTypeAssertion":case"TypeCastExpression":case"TSAsExpression":case"TSSatisfiesExpression":case"TSNonNullExpression":return!0;case"NewExpression":case"CallExpression":case"OptionalCallExpression":return n==="callee";case"ConditionalExpression":return n==="test";case"MemberExpression":case"OptionalMemberExpression":return n==="object";default:return!1}case"FunctionExpression":switch(s.type){case"NewExpression":case"CallExpression":case"OptionalCallExpression":return n==="callee";case"TaggedTemplateExpression":return!0;default:return!1}case"ArrowFunctionExpression":switch(s.type){case"BinaryExpression":return s.operator!=="|>"||((m=r.extra)==null?void 0:m.parenthesized);case"NewExpression":case"CallExpression":case"OptionalCallExpression":return n==="callee";case"MemberExpression":case"OptionalMemberExpression":return n==="object";case"TSAsExpression":case"TSSatisfiesExpression":case"TSNonNullExpression":case"BindExpression":case"TaggedTemplateExpression":case"UnaryExpression":case"LogicalExpression":case"AwaitExpression":case"TSTypeAssertion":return!0;case"ConditionalExpression":return n==="test";default:return!1}case"ClassExpression":switch(s.type){case"NewExpression":return n==="callee";default:return!1}case"OptionalMemberExpression":case"OptionalCallExpression":case"CallExpression":case"MemberExpression":if(so(e))return!0;case"TaggedTemplateExpression":case"TSNonNullExpression":if(n==="callee"&&(s.type==="BindExpression"||s.type==="NewExpression")){let c=r;for(;c;)switch(c.type){case"CallExpression":case"OptionalCallExpression":return!0;case"MemberExpression":case"OptionalMemberExpression":case"BindExpression":c=c.object;break;case"TaggedTemplateExpression":c=c.tag;break;case"TSNonNullExpression":c=c.expression;break;default:return!1}}return!1;case"BindExpression":return n==="callee"&&(s.type==="BindExpression"||s.type==="NewExpression")||n==="object"&&J(s);case"NGPipeExpression":return!(s.type==="NGRoot"||s.type==="NGMicrosyntaxExpression"||s.type==="ObjectProperty"&&!((y=r.extra)!=null&&y.parenthesized)||G(s)||n==="arguments"&&k(s)||n==="right"&&s.type==="NGPipeExpression"||n==="property"&&s.type==="MemberExpression"||s.type==="AssignmentExpression");case"JSXFragment":case"JSXElement":return n==="callee"||n==="left"&&s.type==="BinaryExpression"&&s.operator==="<"||!G(s)&&s.type!=="ArrowFunctionExpression"&&s.type!=="AssignmentExpression"&&s.type!=="AssignmentPattern"&&s.type!=="BinaryExpression"&&s.type!=="NewExpression"&&s.type!=="ConditionalExpression"&&s.type!=="ExpressionStatement"&&s.type!=="JsExpressionRoot"&&s.type!=="JSXAttribute"&&s.type!=="JSXElement"&&s.type!=="JSXExpressionContainer"&&s.type!=="JSXFragment"&&s.type!=="LogicalExpression"&&!k(s)&&!fe(s)&&s.type!=="ReturnStatement"&&s.type!=="ThrowStatement"&&s.type!=="TypeCastExpression"&&s.type!=="VariableDeclarator"&&s.type!=="YieldExpression";case"TSInstantiationExpression":return n==="object"&&J(s)}return!1}var eo=j(["BlockStatement","BreakStatement","ClassBody","ClassDeclaration","ClassMethod","ClassProperty","PropertyDefinition","ClassPrivateProperty","ContinueStatement","DebuggerStatement","DeclareClass","DeclareExportAllDeclaration","DeclareExportDeclaration","DeclareFunction","DeclareInterface","DeclareModule","DeclareModuleExports","DeclareVariable","DeclareEnum","DoWhileStatement","EnumDeclaration","ExportAllDeclaration","ExportDefaultDeclaration","ExportNamedDeclaration","ExpressionStatement","ForInStatement","ForOfStatement","ForStatement","FunctionDeclaration","IfStatement","ImportDeclaration","InterfaceDeclaration","LabeledStatement","MethodDefinition","ReturnStatement","SwitchStatement","ThrowStatement","TryStatement","TSDeclareFunction","TSEnumDeclaration","TSImportEqualsDeclaration","TSInterfaceDeclaration","TSModuleDeclaration","TSNamespaceExportDeclaration","TypeAlias","VariableDeclaration","WhileStatement","WithStatement"]);function to(e){let t=0,{node:r}=e;for(;r;){let n=e.getParentNode(t++);if((n==null?void 0:n.type)==="ForStatement"&&n.init===r)return!0;r=n}return!1}function ro(e){return Xt(e,t=>t.type==="ObjectTypeAnnotation"&&Xt(t,r=>r.type==="FunctionTypeAnnotation"))}function no(e){return Z(e)}function Qt(e){let{parent:t,key:r}=e;switch(t.type){case"NGPipeExpression":if(r==="arguments"&&e.isLast)return e.callParent(Qt);break;case"ObjectProperty":if(r==="value")return e.callParent(()=>e.key==="properties"&&e.isLast);break;case"BinaryExpression":case"LogicalExpression":if(r==="right")return e.callParent(Qt);break;case"ConditionalExpression":if(r==="alternate")return e.callParent(Qt);break;case"UnaryExpression":if(t.prefix)return e.callParent(Qt);break}return!1}function ou(e,t){let{node:r,parent:n}=e;return r.type==="FunctionExpression"||r.type==="ClassExpression"?n.type==="ExportDefaultDeclaration"||!Nn(e,t):!Lt(r)||n.type!=="ExportDefaultDeclaration"&&Nn(e,t)?!1:e.call(()=>ou(e,t),...Ar(r))}function so(e){let{node:t,parent:r,grandparent:n,key:s}=e;return!!((t.type==="OptionalMemberExpression"||t.type==="OptionalCallExpression")&&(s==="object"&&r.type==="MemberExpression"||s==="callee"&&(r.type==="CallExpression"||r.type==="NewExpression")||r.type==="TSNonNullExpression"&&n.type==="MemberExpression"&&n.object===r)||e.match(()=>t.type==="CallExpression"||t.type==="MemberExpression",(u,i)=>i==="expression"&&u.type==="ChainExpression")&&(e.match(void 0,void 0,(u,i)=>i==="callee"&&(u.type==="CallExpression"&&!u.optional||u.type==="NewExpression")||i==="object"&&u.type==="MemberExpression"&&!u.optional)||e.match(void 0,void 0,(u,i)=>i==="expression"&&u.type==="TSNonNullExpression",(u,i)=>i==="object"&&u.type==="MemberExpression"))||e.match(()=>t.type==="CallExpression"||t.type==="MemberExpression",(u,i)=>i==="expression"&&u.type==="TSNonNullExpression",(u,i)=>i==="expression"&&u.type==="ChainExpression",(u,i)=>i==="object"&&u.type==="MemberExpression"))}var we=Nn;var uo=(e,t,r,n)=>{if(!(e&&t==null))return t.replaceAll?t.replaceAll(r,n):r.global?t.replace(r,n):t.split(r).join(n)},H=uo;function io(e,t){let r=t-1;r=We(e,r,{backwards:!0}),r=Ye(e,r,{backwards:!0}),r=We(e,r,{backwards:!0});let n=Ye(e,r,{backwards:!0});return r!==n}var pu=io;var ao=()=>!0;function Un(e,t){let r=e.node;return r.printed=!0,t.printer.printComment(e,t)}function oo(e,t){var m;let r=e.node,n=[Un(e,t)],{printer:s,originalText:u,locStart:i,locEnd:a}=t;if((m=s.isBlockComment)==null?void 0:m.call(s,r)){let y=z(u,a(r))?z(u,i(r),{backwards:!0})?C:A:" ";n.push(y)}else n.push(C);let p=Ye(u,We(u,a(r)));return p!==!1&&z(u,p)&&n.push(C),n}function po(e,t,r){var p;let n=e.node,s=Un(e,t),{printer:u,originalText:i,locStart:a}=t,o=(p=u.isBlockComment)==null?void 0:p.call(u,n);if(r!=null&&r.hasLineSuffix&&!(r!=null&&r.isBlock)||z(i,a(n),{backwards:!0})){let m=pu(i,a(n));return{doc:Bn([C,m?C:"",s]),isBlock:o,hasLineSuffix:!0}}return!o||r!=null&&r.hasLineSuffix?{doc:[Bn([" ",s]),Ae],isBlock:o,hasLineSuffix:!0}:{doc:[" ",s],isBlock:o,hasLineSuffix:!1}}function M(e,t,r={}){let{node:n}=e;if(!P(n==null?void 0:n.comments))return"";let{indent:s=!1,marker:u,filter:i=ao}=r,a=[];if(e.each(({node:p})=>{p.leading||p.trailing||p.marker!==u||!i(p)||a.push(Un(e,t))},"comments"),a.length===0)return"";let o=B(C,a);return s?E([C,o]):o}function Gn(e,t){let r=e.node;if(!r)return{};let n=t[Symbol.for("printedComments")];if((r.comments||[]).filter(o=>!n.has(o)).length===0)return{leading:"",trailing:""};let u=[],i=[],a;return e.each(()=>{let o=e.node;if(n!=null&&n.has(o))return;let{leading:p,trailing:m}=o;p?u.push(oo(e,t)):m&&(a=po(e,t,a),i.push(a.doc))},"comments"),{leading:u,trailing:i}}function pe(e,t,r){let{leading:n,trailing:s}=Gn(e,r);return!n&&!s?t:Gt(t,u=>[n,u,s])}var qn=class extends Error{name="UnexpectedNodeError";constructor(t,r,n="type"){super(`Unexpected ${r} node ${n}: ${JSON.stringify(t[n])}.`),this.node=t}},Oe=qn;var br="'",cu='"';function co(e,t){let r=t===!0||t===br?br:cu,n=r===br?cu:br,s=0,u=0;for(let i of e)i===r?s++:i===n&&u++;return s>u?n:r}var Pr=co;function Wn(e){if(typeof e!="string")throw new TypeError("Expected a string");return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}var ve,Yn=class{constructor(t){Ps(this,ve,void 0);ks(this,ve,new Set(t))}getLeadingWhitespaceCount(t){let r=nt(this,ve),n=0;for(let s=0;s=0&&r.has(t.charAt(s));s--)n++;return n}getLeadingWhitespace(t){let r=this.getLeadingWhitespaceCount(t);return t.slice(0,r)}getTrailingWhitespace(t){let r=this.getTrailingWhitespaceCount(t);return t.slice(t.length-r)}hasLeadingWhitespace(t){return nt(this,ve).has(t.charAt(0))}hasTrailingWhitespace(t){return nt(this,ve).has(w(!1,t,-1))}trimStart(t){let r=this.getLeadingWhitespaceCount(t);return t.slice(r)}trimEnd(t){let r=this.getTrailingWhitespaceCount(t);return t.slice(0,t.length-r)}trim(t){return this.trimEnd(this.trimStart(t))}split(t,r=!1){let n=`[${Wn([...nt(this,ve)].join(""))}]+`,s=new RegExp(r?`(${n})`:n);return t.split(s)}hasWhitespaceCharacter(t){let r=nt(this,ve);return Array.prototype.some.call(t,n=>r.has(n))}hasNonWhitespaceCharacter(t){let r=nt(this,ve);return Array.prototype.some.call(t,n=>!r.has(n))}isWhitespaceOnly(t){let r=nt(this,ve);return Array.prototype.every.call(t,n=>r.has(n))}};ve=new WeakMap;var lu=Yn;var kr={};pr(kr,{endOfLine:()=>Fo,ownLine:()=>Eo,remaining:()=>Co});function lo(e,t){let r=null,n=t;for(;n!==r;)r=n,n=We(e,n),n=bt(e,n),n=Pt(e,n),n=Ye(e,n);return n}var Xe=lo;function mo(e,t){let r=Xe(e,t);return r===!1?"":e.charAt(r)}var $e=mo;function Do(e,t,r){for(let n=t;n20&&(r=r.slice(0,19)+"\u2026"),t+(r?" "+r:"")}function Xn(e,t){(e.comments??(e.comments=[])).push(t),t.printed=!1,t.nodeDescription=yo(e)}function ne(e,t){t.leading=!0,t.trailing=!1,Xn(e,t)}function _e(e,t,r){t.leading=!1,t.trailing=!1,r&&(t.marker=r),Xn(e,t)}function te(e,t){t.leading=!1,t.trailing=!0,Xn(e,t)}function fo(e){return ae(e)&&e.value[0]==="*"&&/@(?:type|satisfies)\b/.test(e.value)}var mu=fo;function Eo(e){return[du,Eu,To,Vn,Hn,Du,yu,Oo,Lo,zn,Cu,vo,fu,Fu,Kn].some(t=>t(e))}function Fo(e){return[Ao,Eu,xo,Cu,Vn,Hn,Du,yu,Fu,Io,wo,zn,Mo,Kn,No].some(t=>t(e))}function Co(e){return[du,Vn,Hn,go,ko,fu,zn,Po,bo,Jo,Kn,Ro].some(t=>t(e))}function At(e,t){let r=(e.body||e.properties).find(({type:n})=>n!=="EmptyStatement");r?ne(r,t):_e(e,t)}function $n(e,t){e.type==="BlockStatement"?At(e,t):ne(e,t)}function Ao({comment:e,followingNode:t}){return t&&mu(e)?(ne(t,e),!0):!1}function Vn({comment:e,precedingNode:t,enclosingNode:r,followingNode:n,text:s}){if((r==null?void 0:r.type)!=="IfStatement"||!n)return!1;if($e(s,O(e))===")")return te(t,e),!0;if(t===r.consequent&&n===r.alternate){if(t.type==="BlockStatement")te(t,e);else{let i=e.type==="SingleLine"||e.loc.start.line===e.loc.end.line,a=e.loc.start.line===t.loc.start.line;i&&a?_e(t,e,zt):_e(r,e)}return!0}return n.type==="BlockStatement"?(At(n,e),!0):n.type==="IfStatement"?($n(n.consequent,e),!0):r.consequent===n?(ne(n,e),!0):!1}function Hn({comment:e,precedingNode:t,enclosingNode:r,followingNode:n,text:s}){return(r==null?void 0:r.type)!=="WhileStatement"||!n?!1:$e(s,O(e))===")"?(te(t,e),!0):n.type==="BlockStatement"?(At(n,e),!0):r.body===n?(ne(n,e),!0):!1}function Du({comment:e,precedingNode:t,enclosingNode:r,followingNode:n}){return(r==null?void 0:r.type)!=="TryStatement"&&(r==null?void 0:r.type)!=="CatchClause"||!n?!1:r.type==="CatchClause"&&t?(te(t,e),!0):n.type==="BlockStatement"?(At(n,e),!0):n.type==="TryStatement"?($n(n.finalizer,e),!0):n.type==="CatchClause"?($n(n.body,e),!0):!1}function To({comment:e,enclosingNode:t,followingNode:r}){return J(t)&&(r==null?void 0:r.type)==="Identifier"?(ne(t,e),!0):!1}function xo({comment:e,precedingNode:t,enclosingNode:r,followingNode:n,text:s}){let u=t&&!yt(s,O(t),U(e));return(!t||!u)&&((r==null?void 0:r.type)==="ConditionalExpression"||(r==null?void 0:r.type)==="TSConditionalType")&&n?(ne(n,e),!0):!1}function go({comment:e,precedingNode:t,enclosingNode:r}){return fe(r)&&r.shorthand&&r.key===t&&r.value.type==="AssignmentPattern"?(te(r.value.left,e),!0):!1}var ho=new Set(["ClassDeclaration","ClassExpression","DeclareClass","DeclareInterface","InterfaceDeclaration","TSInterfaceDeclaration"]);function yu({comment:e,precedingNode:t,enclosingNode:r,followingNode:n}){if(ho.has(r==null?void 0:r.type)){if(P(r.decorators)&&(n==null?void 0:n.type)!=="Decorator")return te(w(!1,r.decorators,-1),e),!0;if(r.body&&n===r.body)return At(r.body,e),!0;if(n){if(r.superClass&&n===r.superClass&&t&&(t===r.id||t===r.typeParameters))return te(t,e),!0;for(let s of["implements","extends","mixins"])if(r[s]&&n===r[s][0])return t&&(t===r.id||t===r.typeParameters||t===r.superClass)?te(t,e):_e(r,e,s),!0}}return!1}var So=new Set(["ClassMethod","ClassProperty","PropertyDefinition","TSAbstractPropertyDefinition","TSAbstractMethodDefinition","TSDeclareMethod","MethodDefinition","ClassAccessorProperty","AccessorProperty","TSAbstractAccessorProperty"]);function fu({comment:e,precedingNode:t,enclosingNode:r,text:n}){return r&&t&&$e(n,O(e))==="("&&(r.type==="Property"||r.type==="TSDeclareMethod"||r.type==="TSAbstractMethodDefinition")&&t.type==="Identifier"&&r.key===t&&$e(n,O(t))!==":"?(te(t,e),!0):(t==null?void 0:t.type)==="Decorator"&&So.has(r==null?void 0:r.type)?(te(t,e),!0):!1}var Bo=new Set(["FunctionDeclaration","FunctionExpression","ClassMethod","MethodDefinition","ObjectMethod"]);function bo({comment:e,precedingNode:t,enclosingNode:r,text:n}){return $e(n,O(e))!=="("?!1:t&&Bo.has(r==null?void 0:r.type)?(te(t,e),!0):!1}function Po({comment:e,enclosingNode:t,text:r}){if((t==null?void 0:t.type)!=="ArrowFunctionExpression")return!1;let n=Xe(r,O(e));return n!==!1&&r.slice(n,n+2)==="=>"?(_e(t,e),!0):!1}function ko({comment:e,enclosingNode:t,text:r}){return $e(r,O(e))!==")"?!1:t&&(Au(t)&&Y(t).length===0||ut(t)&&he(t).length===0)?(_e(t,e),!0):((t==null?void 0:t.type)==="MethodDefinition"||(t==null?void 0:t.type)==="TSAbstractMethodDefinition")&&Y(t.value).length===0?(_e(t.value,e),!0):!1}function Eu({comment:e,precedingNode:t,enclosingNode:r,followingNode:n,text:s}){if((t==null?void 0:t.type)==="FunctionTypeParam"&&(r==null?void 0:r.type)==="FunctionTypeAnnotation"&&(n==null?void 0:n.type)!=="FunctionTypeParam")return te(t,e),!0;if(((t==null?void 0:t.type)==="Identifier"||(t==null?void 0:t.type)==="AssignmentPattern"||(t==null?void 0:t.type)==="ObjectPattern"||(t==null?void 0:t.type)==="ArrayPattern"||(t==null?void 0:t.type)==="RestElement")&&r&&Au(r)&&$e(s,O(e))===")")return te(t,e),!0;if((r==null?void 0:r.type)==="FunctionDeclaration"&&(n==null?void 0:n.type)==="BlockStatement"){let u=(()=>{let i=Y(r);if(i.length>0)return Xe(s,O(w(!1,i,-1)));let a=Xe(s,O(r.id));return a!==!1&&Xe(s,a+1)})();if(U(e)>u)return At(n,e),!0}return!1}function Fu({comment:e,enclosingNode:t}){return(t==null?void 0:t.type)==="LabeledStatement"?(ne(t,e),!0):!1}function Kn({comment:e,enclosingNode:t}){return((t==null?void 0:t.type)==="ContinueStatement"||(t==null?void 0:t.type)==="BreakStatement")&&!t.label?(te(t,e),!0):!1}function Io({comment:e,precedingNode:t,enclosingNode:r}){return k(r)&&t&&r.callee===t&&r.arguments.length>0?(ne(r.arguments[0],e),!0):!1}function Lo({comment:e,precedingNode:t,enclosingNode:r,followingNode:n}){return(r==null?void 0:r.type)==="UnionTypeAnnotation"||(r==null?void 0:r.type)==="TSUnionType"?(Ht(e)&&(n.prettierIgnore=!0,e.unignore=!0),t?(te(t,e),!0):!1):(((n==null?void 0:n.type)==="UnionTypeAnnotation"||(n==null?void 0:n.type)==="TSUnionType")&&Ht(e)&&(n.types[0].prettierIgnore=!0,e.unignore=!0),!1)}function wo({comment:e,enclosingNode:t}){return fe(t)?(ne(t,e),!0):!1}function zn({comment:e,enclosingNode:t,followingNode:r,ast:n,isLastComment:s}){var u;return((u=n==null?void 0:n.body)==null?void 0:u.length)===0?(s?_e(n,e):ne(n,e),!0):(t==null?void 0:t.type)==="Program"&&t.body.length===0&&!P(t.directives)?(s?_e(t,e):ne(t,e),!0):(r==null?void 0:r.type)==="Program"&&r.body.length===0&&(t==null?void 0:t.type)==="ModuleExpression"?(_e(r,e),!0):!1}function Oo({comment:e,enclosingNode:t}){return(t==null?void 0:t.type)==="ForInStatement"||(t==null?void 0:t.type)==="ForOfStatement"?(ne(t,e),!0):!1}function Cu({comment:e,precedingNode:t,enclosingNode:r,text:n}){if((r==null?void 0:r.type)==="ImportSpecifier"||(r==null?void 0:r.type)==="ExportSpecifier")return ne(r,e),!0;let s=(t==null?void 0:t.type)==="ImportSpecifier"&&(r==null?void 0:r.type)==="ImportDeclaration",u=(t==null?void 0:t.type)==="ExportSpecifier"&&(r==null?void 0:r.type)==="ExportNamedDeclaration";return(s||u)&&z(n,O(e))?(te(t,e),!0):!1}function vo({comment:e,enclosingNode:t}){return(t==null?void 0:t.type)==="AssignmentPattern"?(ne(t,e),!0):!1}var _o=new Set(["VariableDeclarator","AssignmentExpression","TypeAlias","TSTypeAliasDeclaration"]),jo=new Set(["ObjectExpression","RecordExpression","ArrayExpression","TupleExpression","TemplateLiteral","TaggedTemplateExpression","ObjectTypeAnnotation","TSTypeLiteral"]);function Mo({comment:e,enclosingNode:t,followingNode:r}){return _o.has(t==null?void 0:t.type)&&r&&(jo.has(r.type)||ae(e))?(ne(r,e),!0):!1}function Ro({comment:e,enclosingNode:t,followingNode:r,text:n}){return!r&&((t==null?void 0:t.type)==="TSMethodSignature"||(t==null?void 0:t.type)==="TSDeclareFunction"||(t==null?void 0:t.type)==="TSAbstractMethodDefinition")&&$e(n,O(e))===";"?(te(t,e),!0):!1}function du({comment:e,enclosingNode:t,followingNode:r}){if(Ht(e)&&(t==null?void 0:t.type)==="TSMappedType"&&(r==null?void 0:r.type)==="TSTypeParameter"&&r.constraint)return t.prettierIgnore=!0,e.unignore=!0,!0}function Jo({comment:e,precedingNode:t,enclosingNode:r,followingNode:n}){return(r==null?void 0:r.type)!=="TSMappedType"?!1:(n==null?void 0:n.type)==="TSTypeParameter"&&n.name?(ne(n.name,e),!0):(t==null?void 0:t.type)==="TSTypeParameter"&&t.constraint?(te(t.constraint,e),!0):!1}function No({comment:e,enclosingNode:t,followingNode:r}){return!t||t.type!=="SwitchCase"||t.test||!r||r!==t.consequent[0]?!1:(r.type==="BlockStatement"&&$t(e)?At(r,e):_e(t,e),!0)}var Au=j(["ArrowFunctionExpression","FunctionExpression","FunctionDeclaration","ObjectMethod","ClassMethod","TSDeclareFunction","TSCallSignatureDeclaration","TSConstructSignatureDeclaration","TSMethodSignature","TSConstructorType","TSFunctionType","TSDeclareMethod"]);function Uo(e){let t=`*${e.value}*`.split(` -`);return t.length>1&&t.every(r=>r.trimStart()[0]==="*")}var Tu=Uo;function xu(e,t){let r=e.node;if($t(r))return t.originalText.slice(U(r),O(r)).trimEnd();if(ae(r))return Tu(r)?Go(r):["/*",Te(r.value),"*/"];throw new Error("Not a comment: "+JSON.stringify(r))}function Go(e){let t=e.value.split(` -`);return["/*",B(C,t.map((r,n)=>n===0?r.trimEnd():" "+(ne===""||e===A||e===C||e===F;function $o(e,t,r){var v,_,R;let{node:n}=e;if(n.type==="JSXElement"&&ap(n))return[r("openingElement"),r("closingElement")];let s=n.type==="JSXElement"?r("openingElement"):r("openingFragment"),u=n.type==="JSXElement"?r("closingElement"):r("closingFragment");if(n.children.length===1&&n.children[0].type==="JSXExpressionContainer"&&(n.children[0].expression.type==="TemplateLiteral"||n.children[0].expression.type==="TaggedTemplateExpression"))return[s,...e.map(r,"children"),u];n.children=n.children.map(T=>op(T)?{type:"JSXText",value:" ",raw:" "}:T);let i=n.children.some(V),a=n.children.filter(T=>T.type==="JSXExpressionContainer").length>1,o=n.type==="JSXElement"&&n.openingElement.attributes.length>1,p=K(s)||i||o||a,m=e.parent.rootMarker==="mdx",y=t.singleQuote?"{' '}":'{" "}',c=m?" ":b([y,F]," "),f=((_=(v=n.openingElement)==null?void 0:v.name)==null?void 0:_.name)==="fbt",l=Vo(e,t,r,c,f),h=n.children.some(T=>Zt(T));for(let T=l.length-2;T>=0;T--){let N=l[T]===""&&l[T+1]==="",Se=l[T]===C&&l[T+1]===""&&l[T+2]===C,$=(l[T]===F||l[T]===C)&&l[T+1]===""&&l[T+2]===c,Be=l[T]===c&&l[T+1]===""&&(l[T+2]===F||l[T+2]===C),Ee=l[T]===c&&l[T+1]===""&&l[T+2]===c,An=l[T]===F&&l[T+1]===""&&l[T+2]===C||l[T]===C&&l[T+1]===""&&l[T+2]===F;Se&&h||N||$||Ee||An?l.splice(T,2):Be&&l.splice(T+1,2)}for(;l.length>0&&Zn(w(!1,l,-1));)l.pop();for(;l.length>1&&Zn(l[0])&&Zn(l[1]);)l.shift(),l.shift();let g=[];for(let[T,N]of l.entries()){if(N===c){if(T===1&&l[T-1]===""){if(l.length===2){g.push(y);continue}g.push([y,C]);continue}else if(T===l.length-1){g.push(y);continue}else if(l[T-1]===""&&l[T-2]===C){g.push(y);continue}}g.push(N),K(N)&&(p=!0)}let S=h?St(g):D(g,{shouldBreak:!0});if(((R=t.cursorNode)==null?void 0:R.type)==="JSXText"&&n.children.includes(t.cursorNode)&&(S=[Pn,S,Pn]),m)return S;let I=D([s,E([C,S]),C,u]);return p?I:qe([D([s,...l,u]),I])}function Vo(e,t,r,n,s){let u=[];return e.each(({node:i,next:a})=>{if(i.type==="JSXText"){let o=oe(i);if(Zt(i)){let p=Ir.split(o,!0);p[0]===""&&(u.push(""),p.shift(),/\n/.test(p[0])?u.push(hu(s,p[1],i,a)):u.push(n),p.shift());let m;if(w(!1,p,-1)===""&&(p.pop(),m=p.pop()),p.length===0)return;for(let[y,c]of p.entries())y%2===1?u.push(A):u.push(c);m!==void 0?/\n/.test(m)?u.push(hu(s,w(!1,u,-1),i,a)):u.push(n):u.push(gu(s,w(!1,u,-1),i,a))}else/\n/.test(o)?o.match(/\n/g).length>1&&u.push("",C):u.push("",n)}else{let o=r();if(u.push(o),a&&Zt(a)){let m=Ir.trim(oe(a)),[y]=Ir.split(m);u.push(gu(s,y,i,a))}else u.push(C)}},"children"),u}function gu(e,t,r,n){return e?"":r.type==="JSXElement"&&!r.closingElement||(n==null?void 0:n.type)==="JSXElement"&&!n.closingElement?t.length===1?F:C:F}function hu(e,t,r,n){return e?C:t.length===1?r.type==="JSXElement"&&!r.closingElement||(n==null?void 0:n.type)==="JSXElement"&&!n.closingElement?C:F:C}var Ho=new Set(["ArrayExpression","TupleExpression","JSXAttribute","JSXElement","JSXExpressionContainer","JSXFragment","ExpressionStatement","CallExpression","OptionalCallExpression","ConditionalExpression","JsExpressionRoot"]);function Ko(e,t,r){let{parent:n}=e;if(Ho.has(n.type))return t;let s=e.match(void 0,i=>i.type==="ArrowFunctionExpression",k,i=>i.type==="JSXExpressionContainer"),u=we(e,r);return D([u?"":b("("),E([F,t]),F,u?"":b(")")],{shouldBreak:s})}function zo(e,t,r){let{node:n}=e,s=[];if(s.push(r("name")),n.value){let u;if(ee(n.value)){let i=oe(n.value),a=H(!1,H(!1,i.slice(1,-1),"'","'"),""",'"'),o=Pr(a,t.jsxSingleQuote);a=o==='"'?H(!1,a,'"',"""):H(!1,a,"'","'"),u=e.call(()=>pe(e,Te(o+a+o),t),"value")}else u=r("value");s.push("=",u)}return s}function Qo(e,t,r){let{node:n}=e,s=(u,i)=>u.type==="JSXEmptyExpression"||!d(u)&&(G(u)||Z(u)||u.type==="ArrowFunctionExpression"||u.type==="AwaitExpression"&&(s(u.argument,u)||u.argument.type==="JSXElement")||k(u)||u.type==="ChainExpression"&&k(u.expression)||u.type==="FunctionExpression"||u.type==="TemplateLiteral"||u.type==="TaggedTemplateExpression"||u.type==="DoExpression"||V(i)&&(u.type==="ConditionalExpression"||ce(u)));return s(n.expression,e.parent)?D(["{",r("expression"),de,"}"]):D(["{",E([F,r("expression")]),F,de,"}"])}function Zo(e,t,r){var a,o;let{node:n}=e,s=d(n.name)||d(n.typeParameters);if(n.selfClosing&&n.attributes.length===0&&!s)return["<",r("name"),r("typeParameters")," />"];if(((a=n.attributes)==null?void 0:a.length)===1&&n.attributes[0].value&&ee(n.attributes[0].value)&&!n.attributes[0].value.value.includes(` -`)&&!s&&!d(n.attributes[0]))return D(["<",r("name"),r("typeParameters")," ",...e.map(r,"attributes"),n.selfClosing?" />":">"]);let u=(o=n.attributes)==null?void 0:o.some(p=>p.value&&ee(p.value)&&p.value.value.includes(` -`)),i=t.singleAttributePerLine&&n.attributes.length>1?C:A;return D(["<",r("name"),r("typeParameters"),E(e.map(()=>[i,r()],"attributes")),...ep(n,t,s)],{shouldBreak:u})}function ep(e,t,r){return e.selfClosing?[A,"/>"]:tp(e,t,r)?[">"]:[F,">"]}function tp(e,t,r){let n=e.attributes.length>0&&d(w(!1,e.attributes,-1),x.Trailing);return e.attributes.length===0&&!r||(t.bracketSameLine||t.jsxBracketSameLine)&&(!r||e.attributes.length>0)&&!n}function rp(e,t,r){let{node:n}=e,s=[];s.push(""),s}function np(e,t){let{node:r}=e,n=d(r),s=d(r,x.Line),u=r.type==="JSXOpeningFragment";return[u?"<":""]}function sp(e,t,r){let n=pe(e,$o(e,t,r),t);return Ko(e,n,t)}function up(e,t){let{node:r}=e,n=d(r,x.Line);return[M(e,t,{indent:n}),n?C:""]}function ip(e,t,r){let{node:n}=e;return["{",e.call(({node:s})=>{let u=["...",r()];return!d(s)||!Qn(e)?u:[E([F,pe(e,u,t)]),F]},n.type==="JSXSpreadAttribute"?"argument":"expression"),"}"]}function Su(e,t,r){let{node:n}=e;if(n.type.startsWith("JSX"))switch(n.type){case"JSXAttribute":return zo(e,t,r);case"JSXIdentifier":return n.name;case"JSXNamespacedName":return B(":",[r("namespace"),r("name")]);case"JSXMemberExpression":return B(".",[r("object"),r("property")]);case"JSXSpreadAttribute":case"JSXSpreadChild":return ip(e,t,r);case"JSXExpressionContainer":return Qo(e,t,r);case"JSXFragment":case"JSXElement":return sp(e,t,r);case"JSXOpeningElement":return Zo(e,t,r);case"JSXClosingElement":return rp(e,t,r);case"JSXOpeningFragment":case"JSXClosingFragment":return np(e,t);case"JSXEmptyExpression":return up(e,t);case"JSXText":throw new Error("JSXText should be handled by JSXElement");default:throw new Oe(n,"JSX")}}function ap(e){if(e.children.length===0)return!0;if(e.children.length>1)return!1;let t=e.children[0];return t.type==="JSXText"&&!Zt(t)}function Zt(e){return e.type==="JSXText"&&(Ir.hasNonWhitespaceCharacter(oe(e))||!/\n/.test(oe(e)))}function op(e){return e.type==="JSXExpressionContainer"&&ee(e.expression)&&e.expression.value===" "&&!d(e.expression)}function Bu(e){let{node:t,parent:r}=e;if(!V(t)||!V(r))return!1;let{index:n,siblings:s}=e,u;for(let i=n;i>0;i--){let a=s[i-1];if(!(a.type==="JSXText"&&!Zt(a))){u=a;break}}return(u==null?void 0:u.type)==="JSXExpressionContainer"&&u.expression.type==="JSXEmptyExpression"&&dt(u.expression)}function pp(e){return dt(e.node)||Bu(e)}var Lr=pp;var cp=0;function wr(e,t,r){var _;let{node:n,parent:s,grandparent:u,key:i}=e,a=i!=="body"&&(s.type==="IfStatement"||s.type==="WhileStatement"||s.type==="SwitchStatement"||s.type==="DoWhileStatement"),o=n.operator==="|>"&&((_=e.root.extra)==null?void 0:_.__isUsingHackPipeline),p=es(e,r,t,!1,a);if(a)return p;if(o)return D(p);if(k(s)&&s.callee===n||s.type==="UnaryExpression"||J(s)&&!s.computed)return D([E([F,...p]),F]);let m=s.type==="ReturnStatement"||s.type==="ThrowStatement"||s.type==="JSXExpressionContainer"&&u.type==="JSXAttribute"||n.operator!=="|"&&s.type==="JsExpressionRoot"||n.type!=="NGPipeExpression"&&(s.type==="NGRoot"&&t.parser==="__ng_binding"||s.type==="NGMicrosyntaxExpression"&&u.type==="NGMicrosyntax"&&u.body.length===1)||n===s.body&&s.type==="ArrowFunctionExpression"||n!==s.body&&s.type==="ForStatement"||s.type==="ConditionalExpression"&&u.type!=="ReturnStatement"&&u.type!=="ThrowStatement"&&!k(u)||s.type==="TemplateLiteral",y=s.type==="AssignmentExpression"||s.type==="VariableDeclarator"||s.type==="ClassProperty"||s.type==="PropertyDefinition"||s.type==="TSAbstractPropertyDefinition"||s.type==="ClassPrivateProperty"||fe(s),c=ce(n.left)&&Vt(n.operator,n.left.operator);if(m||Ot(n)&&!c||!Ot(n)&&y)return D(p);if(p.length===0)return"";let f=V(n.right),l=p.findIndex(R=>typeof R!="string"&&!Array.isArray(R)&&R.type===ue),h=p.slice(0,l===-1?1:l+1),g=p.slice(h.length,f?-1:void 0),S=Symbol("logicalChain-"+ ++cp),I=D([...h,E(g)],{id:S});if(!f)return I;let v=w(!1,p,-1);return D([I,lt(v,{groupId:S})])}function es(e,t,r,n,s){var h;let{node:u}=e;if(!ce(u))return[D(t())];let i=[];Vt(u.operator,u.left.operator)?i=e.call(g=>es(g,t,r,!0,s),"left"):i.push(D(t("left")));let a=Ot(u),o=(u.operator==="|>"||u.type==="NGPipeExpression"||lp(e,r))&&!Ie(r.originalText,u.right),p=u.type==="NGPipeExpression"?"|":u.operator,m=u.type==="NGPipeExpression"&&u.arguments.length>0?D(E([F,": ",B([A,": "],e.map(()=>ye(2,D(t())),"arguments"))])):"",y;if(a)y=[p," ",t("right"),m];else{let S=p==="|>"&&((h=e.root.extra)==null?void 0:h.__isUsingHackPipeline)?e.call(I=>es(I,t,r,!0,s),"right"):t("right");y=[o?A:"",p,o?" ":A,S,m]}let{parent:c}=e,f=d(u.left,x.Trailing|x.Line),l=f||!(s&&u.type==="LogicalExpression")&&c.type!==u.type&&u.left.type!==u.type&&u.right.type!==u.type;if(i.push(o?"":" ",l?D(y,{shouldBreak:f}):y),n&&d(u)){let g=Bt(pe(e,i,r));return Array.isArray(g)||g.type===De?Dr(g):[g]}return i}function Ot(e){return e.type!=="LogicalExpression"?!1:!!(Z(e.right)&&e.right.properties.length>0||G(e.right)&&e.right.elements.length>0||V(e.right))}var bu=e=>e.type==="BinaryExpression"&&e.operator==="|";function lp(e,t){return(t.parser==="__vue_expression"||t.parser==="__vue_ts_expression")&&bu(e.node)&&!e.hasAncestor(r=>!bu(r)&&r.type!=="JsExpressionRoot")}var it=class extends Error{name="ArgExpansionBailout"};function mp(e,t,r,n){let{node:s}=e;return d(s,x.Dangling)?D([r,M(e,t,{indent:!0}),F,n]):[r,n]}function vt(e,t,r){let{node:n}=e,s=[],u=n.type==="TupleExpression"?"#[":"[",i="]",a=n.type==="TupleTypeAnnotation"&&n.types?"types":n.type==="TSTupleType"||n.type==="TupleTypeAnnotation"?"elementTypes":"elements",o=n[a];if(o.length===0)s.push(mp(e,t,u,i));else{let p=w(!1,o,-1),m=(p==null?void 0:p.type)!=="RestElement",y=p===null,c=Symbol("array"),f=!t.__inJestEach&&o.length>1&&o.every((g,S,I)=>{let v=g==null?void 0:g.type;if(!G(g)&&!Z(g))return!1;let _=I[S+1];if(_&&v!==_.type)return!1;let R=G(g)?"elements":"properties";return g[R]&&g[R].length>1}),l=ts(n,t),h=m?y?",":le(t)?l?b(",","",{groupId:c}):b(","):"":"";s.push(D([u,E([F,l?yp(e,t,r,h):[Dp(e,t,a,r),h],M(e,t)]),F,i],{shouldBreak:f,id:c}))}return s.push(X(e),q(e,r)),s}function ts(e,t){return G(e)&&e.elements.length>1&&e.elements.every(r=>r&&(ge(r)||Tr(r)&&!d(r.argument))&&!d(r,x.Trailing|x.Line,n=>!z(t.originalText,U(n),{backwards:!0})))}function Pu({node:e},{originalText:t}){let r=s=>bt(t,Pt(t,s)),n=s=>t[s]===","?s:n(r(s+1));return kt(t,n(O(e)))}function Dp(e,t,r,n){let s=[];return e.each(({node:u,isLast:i})=>{s.push(u?D(n()):""),i||s.push([",",A,u&&Pu(e,t)?F:""])},r),s}function yp(e,t,r,n){let s=[];return e.each(({isLast:u,next:i})=>{s.push([r(),u?n:","]),u||s.push(Pu(e,t)?[C,C]:d(i,x.Leading|x.Line)?C:A)},"elements"),St(s)}function fp(e,t,r){let{node:n}=e,s=he(n);if(s.length===0)return["(",M(e,t),")"];if(Cp(s))return["(",r(["arguments",0]),", ",r(["arguments",1]),")"];let u=!1,i=s.length-1,a=[];Br(e,({node:c},f)=>{let l=r();f===i||(me(c,t)?(u=!0,l=[l,",",C,C]):l=[l,",",A]),a.push(l)});let p=!(n.type==="ImportExpression"||n.callee.type==="Import")&&le(t,"all")?",":"";function m(){return D(["(",E([A,...a]),p,A,")"],{shouldBreak:!0})}if(u||e.parent.type!=="Decorator"&&ru(s))return m();if(Fp(s)){let c=a.slice(1);if(c.some(K))return m();let f;try{f=r(Jn(n,0),{expandFirstArg:!0})}catch(l){if(l instanceof it)return m();throw l}return K(f)?[Ae,qe([["(",D(f,{shouldBreak:!0}),", ",...c,")"],m()])]:qe([["(",f,", ",...c,")"],["(",D(f,{shouldBreak:!0}),", ",...c,")"],m()])}if(Ep(s,a,t)){let c=a.slice(0,-1);if(c.some(K))return m();let f;try{f=r(Jn(n,-1),{expandLastArg:!0})}catch(l){if(l instanceof it)return m();throw l}return K(f)?[Ae,qe([["(",...c,D(f,{shouldBreak:!0}),")"],m()])]:qe([["(",...c,f,")"],["(",...c,D(f,{shouldBreak:!0}),")"],m()])}let y=["(",E([F,...a]),b(p),F,")"];return Sr(e)?y:D(y,{shouldBreak:a.some(K)||u})}function er(e,t=!1){return Z(e)&&(e.properties.length>0||d(e))||G(e)&&(e.elements.length>0||d(e))||e.type==="TSTypeAssertion"&&er(e.expression)||Le(e)&&er(e.expression)||e.type==="FunctionExpression"||e.type==="ArrowFunctionExpression"&&(!e.returnType||!e.returnType.typeAnnotation||e.returnType.typeAnnotation.type!=="TSTypeReference"||dp(e.body))&&(e.body.type==="BlockStatement"||e.body.type==="ArrowFunctionExpression"&&er(e.body,!0)||Z(e.body)||G(e.body)||!t&&(k(e.body)||e.body.type==="ConditionalExpression")||V(e.body))||e.type==="DoExpression"||e.type==="ModuleExpression"}function Ep(e,t,r){var u,i;let n=w(!1,e,-1);if(e.length===1){let a=w(!1,t,-1);if((u=a.label)!=null&&u.embed&&((i=a.label)==null?void 0:i.hug)!==!1)return!0}let s=w(!1,e,-2);return!d(n,x.Leading)&&!d(n,x.Trailing)&&er(n)&&(!s||s.type!==n.type)&&(e.length!==2||s.type!=="ArrowFunctionExpression"||!G(n))&&!(e.length>1&&ts(n,r))}function Fp(e){if(e.length!==2)return!1;let[t,r]=e;return t.type==="ModuleExpression"&&Ap(r)?!0:!d(t)&&(t.type==="FunctionExpression"||t.type==="ArrowFunctionExpression"&&t.body.type==="BlockStatement")&&r.type!=="FunctionExpression"&&r.type!=="ArrowFunctionExpression"&&r.type!=="ConditionalExpression"&&ku(r)&&!er(r)}function ku(e){var t;if(e.type==="ParenthesizedExpression")return ku(e.expression);if(Le(e)||e.type==="TypeCastExpression"){let{typeAnnotation:r}=e;return r.type==="TypeAnnotation"&&(r=r.typeAnnotation),r.type==="TSArrayType"&&(r=r.elementType,r.type==="TSArrayType"&&(r=r.elementType)),(r.type==="GenericTypeAnnotation"||r.type==="TSTypeReference")&&((t=r.typeParameters)==null?void 0:t.params.length)===1&&(r=r.typeParameters.params[0]),wt(r)&&xe(e.expression,1)}return ut(e)&&he(e).length>1?!1:ce(e)?xe(e.left,1)&&xe(e.right,1):vn(e)||xe(e)}function Cp(e){return e.length===2&&e[0].type==="ArrowFunctionExpression"&&Y(e[0]).length===0&&e[0].body.type==="BlockStatement"&&e[1].type==="ArrayExpression"&&!e.some(t=>d(t))}function dp(e){return e.type==="BlockStatement"&&(e.body.some(t=>t.type!=="EmptyStatement")||d(e,x.Dangling))}function Ap(e){return e.type==="ObjectExpression"&&e.properties.length===1&&fe(e.properties[0])&&e.properties[0].key.type==="Identifier"&&e.properties[0].key.name==="type"&&ee(e.properties[0].value)&&e.properties[0].value.value==="module"}var tr=fp;function Iu(e,t,r){var p;let n=r("object"),s=rs(e,t,r),{node:u,parent:i}=e,a=e.findAncestor(m=>!(J(m)||m.type==="TSNonNullExpression")),o=a&&(a.type==="NewExpression"||a.type==="BindExpression"||a.type==="AssignmentExpression"&&a.left.type!=="Identifier")||u.computed||u.object.type==="Identifier"&&u.property.type==="Identifier"&&!J(i)||(i.type==="AssignmentExpression"||i.type==="VariableDeclarator")&&(k(u.object)&&u.object.arguments.length>0||u.object.type==="TSNonNullExpression"&&k(u.object.expression)&&u.object.expression.arguments.length>0||((p=n.label)==null?void 0:p.memberChain));return et(n.label,[n,o?s:D(E([F,s]))])}function rs(e,t,r){let n=r("property"),{node:s}=e,u=X(e);return s.computed?!s.property||ge(s.property)?[u,"[",n,"]"]:D([u,"[",E([F,n]),F,"]"]):[u,".",n]}function Tp(e,t,r){let{parent:n}=e,s=!n||n.type==="ExpressionStatement",u=[];function i(L){let{originalText:W}=t,se=Xe(W,O(L));return W.charAt(se)===")"?se!==!1&&kt(W,se+1):me(L,t)}function a(L){let{node:W}=L;k(W)&&(Dt(W.callee)||k(W.callee))?(u.unshift({node:W,printed:[pe(L,[X(L),Ve(L,t,r),tr(L,t,r)],t),i(W)?C:""]}),L.call(se=>a(se),"callee")):Dt(W)?(u.unshift({node:W,needsParens:we(L,t),printed:pe(L,J(W)?rs(L,t,r):Or(L,t,r),t)}),L.call(se=>a(se),"object")):W.type==="TSNonNullExpression"?(u.unshift({node:W,printed:pe(L,"!",t)}),L.call(se=>a(se),"expression")):u.unshift({node:W,printed:r()})}let{node:o}=e;u.unshift({node:o,printed:[X(e),Ve(e,t,r),tr(e,t,r)]}),o.callee&&e.call(L=>a(L),"callee");let p=[],m=[u[0]],y=1;for(;y0&&p.push(m);function f(L){return/^[A-Z]|^[$_]+$/.test(L)}function l(L){return L.length<=t.tabWidth}function h(L){var xn;let W=(xn=L[1][0])==null?void 0:xn.node.computed;if(L[0].length===1){let or=L[0][0].node;return or.type==="ThisExpression"||or.type==="Identifier"&&(f(or.name)||s&&l(or.name)||W)}let se=w(!1,L[0],-1).node;return J(se)&&se.property.type==="Identifier"&&(f(se.property.name)||W)}let g=p.length>=2&&!d(p[1][0].node)&&h(p);function S(L){let W=L.map(se=>se.printed);return L.length>0&&w(!1,L,-1).needsParens?["(",...W,")"]:W}function I(L){return L.length===0?"":E(D([C,B(C,L.map(S))]))}let v=p.map(S),_=v,R=g?3:2,T=p.flat(),N=T.slice(1,-1).some(L=>d(L.node,x.Leading))||T.slice(0,-1).some(L=>d(L.node,x.Trailing))||p[R]&&d(p[R][0].node,x.Leading);if(p.length<=R&&!N)return Sr(e)?_:D(_);let Se=w(!1,p[g?1:0],-1).node,$=!k(Se)&&i(Se),Be=[S(p[0]),g?p.slice(1,2).map(S):"",$?C:"",I(p.slice(g?2:1))],Ee=u.map(({node:L})=>L).filter(k);function An(){let L=w(!1,w(!1,p,-1),-1).node,W=w(!1,v,-1);return k(L)&&K(W)&&Ee.slice(0,-1).some(se=>se.arguments.some(It))}let Tn;return N||Ee.length>2&&Ee.some(L=>!L.arguments.every(W=>xe(W)))||v.slice(0,-1).some(K)||An()?Tn=D(Be):Tn=[K(_)||$?Ae:"",qe([_,Be])],et({memberChain:!0},Tn)}var Lu=Tp;function vr(e,t,r){var y;let{node:n,parent:s}=e,u=n.type==="NewExpression",i=n.type==="ImportExpression",a=X(e),o=he(n),p=o.length===1&&gr(o[0],t.originalText);if(p||o.length>0&&!u&&!i&&(xp(n,s)||Ct(n,s))){let c=[];if(Br(e,()=>{c.push(r())}),!(p&&((y=c[0].label)!=null&&y.embed)))return[u?"new ":"",r("callee"),a,Ve(e,t,r),"(",B(", ",c),")"]}if(!i&&!u&&Dt(n.callee)&&!e.call(c=>we(c,t),"callee"))return Lu(e,t,r);let m=[u?"new ":"",i?"import":r("callee"),a,Ve(e,t,r),tr(e,t,r)];return i||k(n.callee)?D(m):m}function xp(e,t){if(e.callee.type!=="Identifier")return!1;if(e.callee.name==="require")return!0;if(e.callee.name==="define"){let r=he(e);return t.type==="ExpressionStatement"&&(r.length===1||r.length===2&&r[0].type==="ArrayExpression"||r.length===3&&ee(r[0])&&r[1].type==="ArrayExpression")}return!1}function gp(e,t,r){let n=t==='"'?"'":'"',u=H(!1,e,/\\(.)|(["'])/gs,(i,a,o)=>a===n?a:o===t?"\\"+o:o||(r&&/^[^\n\r"'0-7\\bfnrt-vx\u2028\u2029]$/.test(a)?a:"\\"+a));return t+u+t}var wu=gp;function hp(e,t){let r=e.slice(1,-1),n=t.parser==="json"||t.parser==="json5"&&t.quoteProps==="preserve"&&!t.singleQuote?'"':t.__isInHtmlAttribute?"'":Pr(r,t.singleQuote);return wu(r,n,!(t.parser==="css"||t.parser==="less"||t.parser==="scss"||t.__embeddedInHtml))}var Tt=hp;function Sp(e){return e.toLowerCase().replace(/^([+-]?[\d.]+e)(?:\+|(-))?0*(?=\d)/,"$1$2").replace(/^([+-]?[\d.]+)e[+-]?0+$/,"$1").replace(/^([+-])?\./,"$10.").replace(/(\.\d+?)0+(?=e|$)/,"$1").replace(/\.(?=e|$)/,"")}var He=Sp;function _u(e,t){let{node:r}=e;switch(r.type){case"RegExpLiteral":return Ou(r);case"BigIntLiteral":return _r(r.extra.raw);case"NumericLiteral":return He(r.extra.raw);case"StringLiteral":return Te(Tt(r.extra.raw,t));case"NullLiteral":return"null";case"BooleanLiteral":return String(r.value);case"DecimalLiteral":return He(r.value)+"m";case"DirectiveLiteral":return vu(r.extra.raw,t);case"Literal":{if(r.regex)return Ou(r.regex);if(r.bigint)return _r(r.raw);if(r.decimal)return He(r.decimal)+"m";let{value:n}=r;return typeof n=="number"?He(r.raw):typeof n=="string"?Bp(e)?vu(r.raw,t):Te(Tt(r.raw,t)):String(n)}}}function Bp(e){if(e.key!=="expression")return;let{parent:t}=e;return t.type==="ExpressionStatement"&&t.directive}function _r(e){return e.toLowerCase()}function Ou({pattern:e,flags:t}){return t=[...t].sort().join(""),`/${e}/${t}`}function vu(e,t){let r=e.slice(1,-1);if(r.includes('"')||r.includes("'"))return e;let n=t.singleQuote?"'":'"';return n+r+n}var jr=j(["Literal","BigIntLiteral","BooleanLiteral","DecimalLiteral","DirectiveLiteral","NullLiteral","NumericLiteral","RegExpLiteral","StringLiteral"]);function ft(e,t,r,n,s,u){let i=bp(e,t,r,n,u),a=u?r(u,{assignmentLayout:i}):"";switch(i){case"break-after-operator":return D([D(n),s,D(E([A,a]))]);case"never-break-after-operator":return D([D(n),s," ",a]);case"fluid":{let o=Symbol("assignment");return D([D(n),s,D(E(A),{id:o}),de,lt(a,{groupId:o})])}case"break-lhs":return D([n,s," ",D(a)]);case"chain":return[D(n),s,A,a];case"chain-tail":return[D(n),s,E([A,a])];case"chain-tail-arrow-chain":return[D(n),s,a];case"only-left":return n}}function Mu(e,t,r){let{node:n}=e;return ft(e,t,r,r("left"),[" ",n.operator],"right")}function Ru(e,t,r){return ft(e,t,r,r("id")," =","init")}function bp(e,t,r,n,s){let{node:u}=e,i=u[s];if(!i)return"only-left";let a=!Mr(i);if(e.match(Mr,Ju,y=>!a||y.type!=="ExpressionStatement"&&y.type!=="VariableDeclaration"))return a?i.type==="ArrowFunctionExpression"&&i.body.type==="ArrowFunctionExpression"?"chain-tail-arrow-chain":"chain-tail":"chain";if(!a&&Mr(i.right)||Ie(t.originalText,i))return"break-after-operator";if(i.type==="CallExpression"&&i.callee.name==="require"||t.parser==="json5"||t.parser==="json")return"never-break-after-operator";if(kp(u)||Ip(u)||Op(u)||ns(u)&&Js(n))return"break-lhs";let m=Mp(u,n,t);return e.call(()=>Pp(e,t,r,m),s)?"break-after-operator":m||i.type==="TemplateLiteral"||i.type==="TaggedTemplateExpression"||i.type==="BooleanLiteral"||ge(i)||i.type==="ClassExpression"?"never-break-after-operator":"fluid"}function Pp(e,t,r,n){let s=e.node;if(ce(s)&&!Ot(s))return!0;switch(s.type){case"StringLiteralTypeAnnotation":case"SequenceExpression":return!0;case"ConditionalExpression":{let{test:a}=s;return ce(a)&&!Ot(a)}case"ClassExpression":return P(s.decorators)}if(n)return!1;let u=s,i=[];for(;;)if(u.type==="UnaryExpression")u=u.argument,i.push("argument");else if(u.type==="TSNonNullExpression")u=u.expression,i.push("expression");else break;return!!(ee(u)||e.call(()=>Nu(e,t,r),...i))}function kp(e){if(Ju(e)){let t=e.left||e.id;return t.type==="ObjectPattern"&&t.properties.length>2&&t.properties.some(r=>{var n;return fe(r)&&(!r.shorthand||((n=r.value)==null?void 0:n.type)==="AssignmentPattern")})}return!1}function Mr(e){return e.type==="AssignmentExpression"}function Ju(e){return Mr(e)||e.type==="VariableDeclarator"}function Ip(e){let t=wp(e);if(P(t)){let r=e.type==="TSTypeAliasDeclaration"?"constraint":"bound";if(t.length>1&&t.some(n=>n[r]||n.default))return!0}return!1}var Lp=j(["TSTypeAliasDeclaration","TypeAlias"]);function wp(e){var t;if(Lp(e))return(t=e.typeParameters)==null?void 0:t.params}function Op(e){if(e.type!=="VariableDeclarator")return!1;let{typeAnnotation:t}=e.id;if(!t||!t.typeAnnotation)return!1;let r=ju(t.typeAnnotation);return P(r)&&r.length>1&&r.some(n=>P(ju(n))||n.type==="TSConditionalType")}function ns(e){var t;return e.type==="VariableDeclarator"&&((t=e.init)==null?void 0:t.type)==="ArrowFunctionExpression"}var vp=j(["TSTypeReference","GenericTypeAnnotation"]);function ju(e){var t;if(vp(e))return(t=e.typeParameters)==null?void 0:t.params}function Nu(e,t,r,n=!1){var i;let{node:s}=e,u=()=>Nu(e,t,r,!0);if(s.type==="ChainExpression"||s.type==="TSNonNullExpression")return e.call(u,"expression");if(k(s)){if((i=vr(e,t,r).label)!=null&&i.memberChain)return!1;let o=he(s);return!(o.length===0||o.length===1&&jp(o[0],t))||Rp(s,r)?!1:e.call(u,"callee")}return J(s)?e.call(u,"object"):n&&(s.type==="Identifier"||s.type==="ThisExpression")}var _p=.25;function jp(e,{printWidth:t}){if(d(e))return!1;let r=t*_p;if(e.type==="ThisExpression"||e.type==="Identifier"&&e.name.length<=r||Tr(e)&&!d(e.argument))return!0;let n=e.type==="Literal"&&"regex"in e&&e.regex.pattern||e.type==="RegExpLiteral"&&e.pattern;return n?n.length<=r:ee(e)?oe(e).length<=r:e.type==="TemplateLiteral"?e.expressions.length===0&&e.quasis[0].value.raw.length<=r&&!e.quasis[0].value.raw.includes(` -`):jr(e)}function Mp(e,t,r){if(!fe(e))return!1;t=Bt(t);let n=3;return typeof t=="string"&&tt(t)1)return!0;if(r.length===1){let s=r[0];if(s.type==="TSUnionType"||s.type==="UnionTypeAnnotation"||s.type==="TSIntersectionType"||s.type==="IntersectionTypeAnnotation"||s.type==="TSTypeLiteral"||s.type==="ObjectTypeAnnotation")return!0}let n=e.typeParameters?"typeParameters":"typeArguments";if(K(t(n)))return!0}return!1}function Jp(e){var t;return(t=e.typeParameters??e.typeArguments)==null?void 0:t.params}function at(e,t,r,n,s){let u=e.node,i=Y(u),a=s?Ve(e,r,t):"";if(i.length===0)return[a,"(",M(e,r,{filter:l=>$e(r.originalText,O(l))===")"}),")"];let{parent:o}=e,p=Ct(o),m=ss(u),y=[];if(iu(e,(l,h)=>{let g=h===i.length-1;g&&u.rest&&y.push("..."),y.push(t()),!g&&(y.push(","),p||m?y.push(" "):me(i[h],r)?y.push(C,C):y.push(A))}),n&&!Up(e)){if(K(a)||K(y))throw new it;return D([Ut(a),"(",Ut(y),")"])}let c=i.every(l=>!l.decorators);return m&&c?[a,"(",...y,")"]:p?[a,"(",...y,")"]:(xr(o)||eu(o)||o.type==="TypeAlias"||o.type==="UnionTypeAnnotation"||o.type==="TSUnionType"||o.type==="IntersectionTypeAnnotation"||o.type==="FunctionTypeAnnotation"&&o.returnType===u)&&i.length===1&&i[0].name===null&&u.this!==i[0]&&i[0].typeAnnotation&&u.typeParameters===null&&wt(i[0].typeAnnotation)&&!u.rest?r.arrowParens==="always"?["(",...y,")"]:y:[a,"(",E([F,...y]),b(!uu(u)&&le(r,"all")?",":""),F,")"]}function ss(e){if(!e)return!1;let t=Y(e);if(t.length!==1)return!1;let[r]=t;return!d(r)&&(r.type==="ObjectPattern"||r.type==="ArrayPattern"||r.type==="Identifier"&&r.typeAnnotation&&(r.typeAnnotation.type==="TypeAnnotation"||r.typeAnnotation.type==="TSTypeAnnotation")&&ke(r.typeAnnotation.typeAnnotation)||r.type==="FunctionTypeParam"&&ke(r.typeAnnotation)&&r!==e.rest||r.type==="AssignmentPattern"&&(r.left.type==="ObjectPattern"||r.left.type==="ArrayPattern")&&(r.right.type==="Identifier"||Z(r.right)&&r.right.properties.length===0||G(r.right)&&r.right.elements.length===0))}function Np(e){let t;return e.returnType?(t=e.returnType,t.typeAnnotation&&(t=t.typeAnnotation)):e.typeAnnotation&&(t=e.typeAnnotation),t}function xt(e,t){var s;let r=Np(e);if(!r)return!1;let n=(s=e.typeParameters)==null?void 0:s.params;if(n){if(n.length>1)return!1;if(n.length===1){let u=n[0];if(u.constraint||u.default)return!1}}return Y(e).length===1&&(ke(r)||K(t))}function Up(e){return e.match(t=>t.type==="ArrowFunctionExpression"&&t.body.type==="BlockStatement",(t,r)=>{if(t.type==="CallExpression"&&r==="arguments"&&t.arguments.length===1&&t.callee.type==="CallExpression"){let n=t.callee.callee;return n.type==="Identifier"||n.type==="MemberExpression"&&!n.computed&&n.object.type==="Identifier"&&n.property.type==="Identifier"}return!1},(t,r)=>t.type==="VariableDeclarator"&&r==="init"||t.type==="ExportDefaultDeclaration"&&r==="declaration"||t.type==="TSExportAssignment"&&r==="expression"||t.type==="AssignmentExpression"&&r==="right"&&t.left.type==="MemberExpression"&&t.left.object.type==="Identifier"&&t.left.object.name==="module"&&t.left.property.type==="Identifier"&&t.left.property.name==="exports",t=>t.type!=="VariableDeclaration"||t.kind==="const"&&t.declarations.length===1)}function Uu(e){let t=Y(e);return t.length>1&&t.some(r=>r.type==="TSParameterProperty")}function us(e){if(wt(e)||ke(e))return!0;if(e.type==="UnionTypeAnnotation"||e.type==="TSUnionType"){let t=e.types.filter(s=>s.type==="VoidTypeAnnotation"||s.type==="TSVoidKeyword"||s.type==="NullLiteralTypeAnnotation"||s.type==="TSNullKeyword").length,r=e.types.some(s=>s.type==="ObjectTypeAnnotation"||s.type==="TSTypeLiteral"||s.type==="GenericTypeAnnotation"||s.type==="TSTypeReference"),n=e.types.some(s=>d(s));if(e.types.length-1===t&&r&&!n)return!0}return!1}function Gu(e,t,r){let n=t.semi?";":"",{node:s}=e,u=[Q(e),"opaque type ",r("id"),r("typeParameters")];return s.supertype&&u.push(": ",r("supertype")),s.impltype&&u.push(" = ",r("impltype")),u.push(n),u}function Rr(e,t,r){let n=t.semi?";":"",{node:s}=e,u=[Q(e)];u.push("type ",r("id"),r("typeParameters"));let i=s.type==="TSTypeAliasDeclaration"?"typeAnnotation":"right";return[ft(e,t,r,u," =",i),n]}function Jr(e,t,r){let n=!1;return D(e.map(({isFirst:s,previous:u,node:i,index:a})=>{let o=r();if(s)return o;let p=ke(i),m=ke(u);return m&&p?[" & ",n?E(o):o]:!m&&!p?E([" &",A,o]):(a>1&&(n=!0),[" & ",a>1?E(o):o])},"types"))}function Nr(e,t,r){let{node:n}=e,{parent:s}=e,u=s.type!=="TypeParameterInstantiation"&&s.type!=="TSTypeParameterInstantiation"&&s.type!=="GenericTypeAnnotation"&&s.type!=="TSTypeReference"&&s.type!=="TSTypeAssertion"&&s.type!=="TupleTypeAnnotation"&&s.type!=="TSTupleType"&&!(s.type==="FunctionTypeParam"&&!s.name&&e.grandparent.this!==s)&&!((s.type==="TypeAlias"||s.type==="VariableDeclarator"||s.type==="TSTypeAliasDeclaration")&&Ie(t.originalText,n)),i=us(n),a=e.map(m=>{let y=r();return i||(y=ye(2,y)),pe(m,y,t)},"types");if(i)return B(" | ",a);let o=u&&!Ie(t.originalText,n),p=[b([o?A:"","| "]),B([A,"| "],a)];return we(e,t)?D([E(p),F]):(s.type==="TupleTypeAnnotation"||s.type==="TSTupleType")&&s[s.type==="TupleTypeAnnotation"&&s.types?"types":"elementTypes"].length>1?D([E([b(["(",F]),p]),F,b(")")]):D(u?E(p):p)}function Gp(e){var n;let{node:t,parent:r}=e;return t.type==="FunctionTypeAnnotation"&&(xr(r)||!((r.type==="ObjectTypeProperty"||r.type==="ObjectTypeInternalSlot")&&!r.variance&&!r.optional&&mt(r,t)||r.type==="ObjectTypeCallProperty"||((n=e.getParentNode(2))==null?void 0:n.type)==="DeclareFunction"))}function Ur(e,t,r){let{node:n}=e,s=[_t(e)];(n.type==="TSConstructorType"||n.type==="TSConstructSignatureDeclaration")&&s.push("new ");let u=at(e,r,t,!1,!0),i=[];return n.type==="FunctionTypeAnnotation"?i.push(Gp(e)?" => ":": ",r("returnType")):i.push(q(e,r,n.returnType?"returnType":"typeAnnotation")),xt(n,i)&&(u=D(u)),s.push(u,i),D(s)}function Gr(e,t,r){return[r("objectType"),X(e),"[",r("indexType"),"]"]}function qr(e,t,r){return["infer ",r("typeParameter")]}function is(e,t,r){let{node:n}=e;return[n.postfix?"":r,q(e,t),n.postfix?r:""]}function Wr(e,t,r){let{node:n}=e;return["...",...n.type==="TupleTypeSpreadElement"&&n.label?[r("label"),": "]:[],r("typeAnnotation")]}function Yr(e,t,r){let{node:n}=e;return[n.variance?r("variance"):"",r("label"),n.optional?"?":"",": ",r("elementType")]}var qp=new WeakSet;function q(e,t,r="typeAnnotation"){let{node:{[r]:n}}=e;if(!n)return"";let s=!1;if(n.type==="TSTypeAnnotation"||n.type==="TypeAnnotation"){let u=e.call(qu,r);(u==="=>"||u===":"&&d(n,x.Leading))&&(s=!0),qp.add(n)}return s?[" ",t(r)]:t(r)}var qu=e=>e.match(t=>t.type==="TSTypeAnnotation",(t,r)=>(r==="returnType"||r==="typeAnnotation")&&(t.type==="TSFunctionType"||t.type==="TSConstructorType"))?"=>":e.match(t=>t.type==="TSTypeAnnotation",(t,r)=>r==="typeAnnotation"&&(t.type==="TSJSDocNullableType"||t.type==="TSJSDocNonNullableType"||t.type==="TSTypePredicate"))||e.match(t=>t.type==="TypeAnnotation",(t,r)=>r==="typeAnnotation"&&t.type==="Identifier",(t,r)=>r==="id"&&t.type==="DeclareFunction")||e.match(t=>t.type==="TypeAnnotation",(t,r)=>r==="bound"&&t.type==="TypeParameter"&&t.usesExtendsBound)?"":":";function Xr(e,t,r){let n=qu(e);return n?[n," ",r("typeAnnotation")]:r("typeAnnotation")}function $r(e){return[e("elementType"),"[]"]}function Vr({node:e},t){return["typeof ",...e.type==="TSTypeQuery"?[t("exprName"),t("typeParameters")]:[t("argument")]]}function Hr(e,t){let{node:r}=e;return[r.asserts?"asserts ":"",t("parameterName"),r.typeAnnotation?[" is ",q(e,t)]:""]}function X(e){let{node:t}=e;return!t.optional||t.type==="Identifier"&&t===e.parent.key?"":k(t)||J(t)&&t.computed||t.type==="OptionalIndexedAccessType"?"?.":"?"}function Kr(e){return e.node.definite||e.match(void 0,(t,r)=>r==="id"&&t.type==="VariableDeclarator"&&t.definite)?"!":""}var Wp=new Set(["DeclareClass","DeclareFunction","DeclareVariable","DeclareExportDeclaration","DeclareExportAllDeclaration","DeclareOpaqueType","DeclareTypeAlias","DeclareEnum","DeclareInterface"]);function Q(e){let{node:t}=e;return t.declare||Wp.has(t.type)&&e.parent.type!=="DeclareExportDeclaration"?"declare ":""}var Yp=new Set(["TSAbstractMethodDefinition","TSAbstractPropertyDefinition","TSAbstractAccessorProperty"]);function _t({node:e}){return e.abstract||Yp.has(e.type)?"abstract ":""}function Ve(e,t,r){let n=e.node;return n.typeArguments?r("typeArguments"):n.typeParameters?r("typeParameters"):""}function Or(e,t,r){return["::",r("callee")]}function ot(e,t,r){return e.type==="EmptyStatement"?";":e.type==="BlockStatement"||r?[" ",t]:E([A,t])}function zr(e,t){return["...",t("argument"),q(e,t)]}function jt(e){return e.accessibility?e.accessibility+" ":""}function as(e,t,r){let{node:n}=e;return D([B(A,e.map(r,"decorators")),Xu(n,t)?C:A])}function Wu(e,t,r){return $u(e.node)?[B(C,e.map(r,"declaration","decorators")),C]:""}function Yu(e,t,r){let{node:n,parent:s}=e,{decorators:u}=n;if(!P(u)||$u(s)||Lr(e))return"";let i=n.type==="ClassExpression"||n.type==="ClassDeclaration"||Xu(n,t);return[e.key==="declaration"&&Zs(s)?C:i?Ae:"",B(A,e.map(r,"decorators")),A]}function Xu(e,t){return e.decorators.some(r=>z(t.originalText,O(r)))}function $u(e){var r;if(e.type!=="ExportDefaultDeclaration"&&e.type!=="ExportNamedDeclaration"&&e.type!=="DeclareExportDeclaration")return!1;let t=(r=e.declaration)==null?void 0:r.decorators;return P(t)&&mt(e,t[0])}function Vu(e,t,r){let{node:n}=e;return["import",n.module?" module":"",ps(n),zu(e,t,r),Ku(e,t,r),Zu(e,t,r),t.semi?";":""]}var Hu=e=>e.type==="ExportDefaultDeclaration"||e.type==="DeclareExportDeclaration"&&e.default;function Qr(e,t,r){let{node:n}=e,s=[Wu(e,t,r),Q(e),"export",Hu(n)?" default":""],{declaration:u,exported:i}=n;return d(n,x.Dangling)&&(s.push(" ",M(e,t)),hr(n)&&s.push(C)),u?s.push(" ",r("declaration")):(s.push(Vp(n)),n.type==="ExportAllDeclaration"||n.type==="DeclareExportAllDeclaration"?(s.push(" *"),i&&s.push(" as ",r("exported"))):s.push(zu(e,t,r)),s.push(Ku(e,t,r),Zu(e,t,r))),s.push($p(n,t)),s}var Xp=j(["ClassDeclaration","FunctionDeclaration","TSInterfaceDeclaration","DeclareClass","DeclareFunction","TSDeclareFunction","EnumDeclaration"]);function $p(e,t){return t.semi&&(!e.declaration||Hu(e)&&!Xp(e.declaration))?";":""}function os(e,t=!0){return e&&e!=="value"?`${t?" ":""}${e}${t?"":" "}`:""}function ps(e,t){return os(e.importKind,t)}function Vp(e){return os(e.exportKind)}function Ku(e,t,r){let{node:n}=e;if(!n.source)return"";let s=[];return Qu(n,t)||s.push(" from"),s.push(" ",r("source")),s}function zu(e,t,r){let{node:n}=e;if(Qu(n,t))return"";let s=[" "];if(P(n.specifiers)){let u=[],i=[];e.each(()=>{let a=e.node.type;if(a==="ExportNamespaceSpecifier"||a==="ExportDefaultSpecifier"||a==="ImportNamespaceSpecifier"||a==="ImportDefaultSpecifier")u.push(r());else if(a==="ExportSpecifier"||a==="ImportSpecifier")i.push(r());else throw new Oe(n,"specifier")},"specifiers"),s.push(B(", ",u)),i.length>0&&(u.length>0&&s.push(", "),i.length>1||u.length>0||n.specifiers.some(o=>d(o))?s.push(D(["{",E([t.bracketSpacing?A:F,B([",",A],i)]),b(le(t)?",":""),t.bracketSpacing?A:F,"}"])):s.push(["{",t.bracketSpacing?" ":"",...i,t.bracketSpacing?" ":"","}"]))}else s.push("{}");return s}function Qu(e,t){let{type:r,importKind:n,source:s,specifiers:u}=e;return r!=="ImportDeclaration"||P(u)||n==="type"?!1:!/{\s*}/.test(t.originalText.slice(U(e),U(s)))}function Zu(e,t,r){var i;let{node:n}=e,s=P(n.attributes)?"attributes":P(n.assertions)?"assertions":void 0;return s?[` ${s==="assertions"||(i=n.extra)!=null&&i.deprecatedAssertSyntax?"assert":"with"} {`,t.bracketSpacing?" ":"",B(", ",e.map(r,s)),t.bracketSpacing?" ":"","}"]:""}function ei(e,t,r){let{node:n}=e,{type:s}=n,u=s.startsWith("Import"),i=u?"imported":"local",a=u?"local":"exported",o=n[i],p=n[a],m="",y="";return s==="ExportNamespaceSpecifier"||s==="ImportNamespaceSpecifier"?m="*":o&&(m=r(i)),p&&!Hp(n)&&(y=r(a)),[os(s==="ImportSpecifier"?n.importKind:n.exportKind,!1),m,m&&y?" as ":"",y]}function Hp(e){if(e.type!=="ImportSpecifier"&&e.type!=="ExportSpecifier")return!1;let{local:t,[e.type==="ImportSpecifier"?"imported":"exported"]:r}=e;if(t.type!==r.type||!$s(t,r))return!1;if(ee(t))return t.value===r.value&&oe(t)===oe(r);switch(t.type){case"Identifier":return t.name===r.name;default:return!1}}function Kp(e){let t=[e];for(let r=0;rc[$]===n),l=c.type===n.type&&!f,h,g,S=0;do g=h||n,h=e.getParentNode(S),S++;while(h&&h.type===n.type&&a.every($=>h[$]!==g));let I=h||c,v=g;if(s&&(V(n[a[0]])||V(o)||V(p)||Kp(v))){y=!0,l=!0;let $=Ee=>[b("("),E([F,Ee]),F,b(")")],Be=Ee=>Ee.type==="NullLiteral"||Ee.type==="Literal"&&Ee.value===null||Ee.type==="Identifier"&&Ee.name==="undefined";m.push(" ? ",Be(o)?r(u):$(r(u))," : ",p.type===n.type||Be(p)?r(i):$(r(i)))}else{let $=[A,"? ",o.type===n.type?b("","("):"",ye(2,r(u)),o.type===n.type?b("",")"):"",A,": ",p.type===n.type?r(i):ye(2,r(i))];m.push(c.type!==n.type||c[i]===n||f?$:t.useTabs?vs(E($)):ye(Math.max(0,t.tabWidth-2),$))}let _=[u,i,...a].some($=>d(n[$],Be=>ae(Be)&&yt(t.originalText,U(Be),O(Be)))),R=$=>c===I?D($,{shouldBreak:_}):_?[$,Ae]:$,T=!y&&(J(c)||c.type==="NGPipeExpression"&&c.left===n)&&!c.computed,N=Zp(e),Se=R([zp(e,t,r),l?m:E(m),s&&T&&!N?F:""]);return f||N?D([E([F,Se]),F]):Se}function ec(e,t,r=0){let n=0;for(let s=r;s0}var w=eo;var dr="'",Qs='"';function to(e,t){let r=t===!0||t===dr?dr:Qs,n=r===dr?Qs:dr,s=0,u=0;for(let i of e)i===r?s++:i===n&&u++;return s>u?n:r}var xr=to;function ro(e,t,r){let n=t==='"'?"'":'"',u=N(!1,e,/\\(.)|(["'])/gsu,(i,a,o)=>a===n?a:o===t?"\\"+o:o||(r&&/^[^\n\r"'0-7\\bfnrt-vx\u2028\u2029]$/u.test(a)?a:"\\"+a));return t+u+t}var Zs=ro;function no(e,t){let r=e.slice(1,-1),n=t.parser==="json"||t.parser==="jsonc"||t.parser==="json5"&&t.quoteProps==="preserve"&&!t.singleQuote?'"':t.__isInHtmlAttribute?"'":xr(r,t.singleQuote);return Zs(r,n,!(t.parser==="css"||t.parser==="less"||t.parser==="scss"||t.__embeddedInHtml))}var tt=no;function R(e){var n,s,u;let t=((n=e.range)==null?void 0:n[0])??e.start,r=(u=((s=e.declaration)==null?void 0:s.decorators)??e.decorators)==null?void 0:u[0];return r?Math.min(R(r),t):t}function k(e){var t;return((t=e.range)==null?void 0:t[1])??e.end}function ht(e,t){let r=R(e);return Number.isInteger(r)&&r===R(t)}function so(e,t){let r=k(e);return Number.isInteger(r)&&r===k(t)}function eu(e,t){return ht(e,t)&&so(e,t)}var Qt=null;function Zt(e){if(Qt!==null&&typeof Qt.property){let t=Qt;return Qt=Zt.prototype=null,t}return Qt=Zt.prototype=e??Object.create(null),new Zt}var uo=10;for(let e=0;e<=uo;e++)Zt();function In(e){return Zt(e)}function io(e,t="type"){In(e);function r(n){let s=n[t],u=e[s];if(!Array.isArray(u))throw Object.assign(new Error(`Missing visitor keys for '${s}'.`),{node:n});return u}return r}var hr=io;var tu={ArrayExpression:["elements"],AssignmentExpression:["left","right"],BinaryExpression:["left","right"],InterpreterDirective:[],Directive:["value"],DirectiveLiteral:[],BlockStatement:["directives","body"],BreakStatement:["label"],CallExpression:["callee","arguments","typeParameters","typeArguments"],CatchClause:["param","body"],ConditionalExpression:["test","consequent","alternate"],ContinueStatement:["label"],DebuggerStatement:[],DoWhileStatement:["test","body"],EmptyStatement:[],ExpressionStatement:["expression"],File:["program"],ForInStatement:["left","right","body"],ForStatement:["init","test","update","body"],FunctionDeclaration:["id","params","body","returnType","typeParameters","predicate"],FunctionExpression:["id","params","body","returnType","typeParameters"],Identifier:["typeAnnotation","decorators"],IfStatement:["test","consequent","alternate"],LabeledStatement:["label","body"],StringLiteral:[],NumericLiteral:[],NullLiteral:[],BooleanLiteral:[],RegExpLiteral:[],LogicalExpression:["left","right"],MemberExpression:["object","property"],NewExpression:["callee","arguments","typeParameters","typeArguments"],Program:["directives","body"],ObjectExpression:["properties"],ObjectMethod:["key","params","body","decorators","returnType","typeParameters"],ObjectProperty:["key","value","decorators"],RestElement:["argument","typeAnnotation","decorators"],ReturnStatement:["argument"],SequenceExpression:["expressions"],ParenthesizedExpression:["expression"],SwitchCase:["test","consequent"],SwitchStatement:["discriminant","cases"],ThisExpression:[],ThrowStatement:["argument"],TryStatement:["block","handler","finalizer"],UnaryExpression:["argument"],UpdateExpression:["argument"],VariableDeclaration:["declarations"],VariableDeclarator:["id","init"],WhileStatement:["test","body"],WithStatement:["object","body"],AssignmentPattern:["left","right","decorators","typeAnnotation"],ArrayPattern:["elements","typeAnnotation","decorators"],ArrowFunctionExpression:["params","body","returnType","typeParameters","predicate"],ClassBody:["body"],ClassExpression:["id","body","superClass","mixins","typeParameters","superTypeParameters","implements","decorators","superTypeArguments"],ClassDeclaration:["id","body","superClass","mixins","typeParameters","superTypeParameters","implements","decorators","superTypeArguments"],ExportAllDeclaration:["source","attributes","exported"],ExportDefaultDeclaration:["declaration"],ExportNamedDeclaration:["declaration","specifiers","source","attributes"],ExportSpecifier:["local","exported"],ForOfStatement:["left","right","body"],ImportDeclaration:["specifiers","source","attributes"],ImportDefaultSpecifier:["local"],ImportNamespaceSpecifier:["local"],ImportSpecifier:["local","imported"],ImportExpression:["source","options","attributes"],MetaProperty:["meta","property"],ClassMethod:["key","params","body","decorators","returnType","typeParameters"],ObjectPattern:["properties","typeAnnotation","decorators"],SpreadElement:["argument"],Super:[],TaggedTemplateExpression:["tag","quasi","typeParameters","typeArguments"],TemplateElement:[],TemplateLiteral:["quasis","expressions"],YieldExpression:["argument"],AwaitExpression:["argument"],Import:[],BigIntLiteral:[],ExportNamespaceSpecifier:["exported"],OptionalMemberExpression:["object","property"],OptionalCallExpression:["callee","arguments","typeParameters","typeArguments"],ClassProperty:["key","value","typeAnnotation","decorators","variance"],ClassAccessorProperty:["key","value","typeAnnotation","decorators"],ClassPrivateProperty:["key","value","decorators","typeAnnotation","variance"],ClassPrivateMethod:["key","params","body","decorators","returnType","typeParameters"],PrivateName:["id"],StaticBlock:["body"],AnyTypeAnnotation:[],ArrayTypeAnnotation:["elementType"],BooleanTypeAnnotation:[],BooleanLiteralTypeAnnotation:[],NullLiteralTypeAnnotation:[],ClassImplements:["id","typeParameters"],DeclareClass:["id","typeParameters","extends","mixins","implements","body"],DeclareFunction:["id","predicate"],DeclareInterface:["id","typeParameters","extends","body"],DeclareModule:["id","body"],DeclareModuleExports:["typeAnnotation"],DeclareTypeAlias:["id","typeParameters","right"],DeclareOpaqueType:["id","typeParameters","supertype"],DeclareVariable:["id"],DeclareExportDeclaration:["declaration","specifiers","source"],DeclareExportAllDeclaration:["source"],DeclaredPredicate:["value"],ExistsTypeAnnotation:[],FunctionTypeAnnotation:["typeParameters","params","rest","returnType","this"],FunctionTypeParam:["name","typeAnnotation"],GenericTypeAnnotation:["id","typeParameters"],InferredPredicate:[],InterfaceExtends:["id","typeParameters"],InterfaceDeclaration:["id","typeParameters","extends","body"],InterfaceTypeAnnotation:["extends","body"],IntersectionTypeAnnotation:["types"],MixedTypeAnnotation:[],EmptyTypeAnnotation:[],NullableTypeAnnotation:["typeAnnotation"],NumberLiteralTypeAnnotation:[],NumberTypeAnnotation:[],ObjectTypeAnnotation:["properties","indexers","callProperties","internalSlots"],ObjectTypeInternalSlot:["id","value"],ObjectTypeCallProperty:["value"],ObjectTypeIndexer:["id","key","value","variance"],ObjectTypeProperty:["key","value","variance"],ObjectTypeSpreadProperty:["argument"],OpaqueType:["id","typeParameters","supertype","impltype"],QualifiedTypeIdentifier:["id","qualification"],StringLiteralTypeAnnotation:[],StringTypeAnnotation:[],SymbolTypeAnnotation:[],ThisTypeAnnotation:[],TupleTypeAnnotation:["types","elementTypes"],TypeofTypeAnnotation:["argument","typeArguments"],TypeAlias:["id","typeParameters","right"],TypeAnnotation:["typeAnnotation"],TypeCastExpression:["expression","typeAnnotation"],TypeParameter:["bound","default","variance"],TypeParameterDeclaration:["params"],TypeParameterInstantiation:["params"],UnionTypeAnnotation:["types"],Variance:[],VoidTypeAnnotation:[],EnumDeclaration:["id","body"],EnumBooleanBody:["members"],EnumNumberBody:["members"],EnumStringBody:["members"],EnumSymbolBody:["members"],EnumBooleanMember:["id","init"],EnumNumberMember:["id","init"],EnumStringMember:["id","init"],EnumDefaultedMember:["id"],IndexedAccessType:["objectType","indexType"],OptionalIndexedAccessType:["objectType","indexType"],JSXAttribute:["name","value"],JSXClosingElement:["name"],JSXElement:["openingElement","children","closingElement"],JSXEmptyExpression:[],JSXExpressionContainer:["expression"],JSXSpreadChild:["expression"],JSXIdentifier:[],JSXMemberExpression:["object","property"],JSXNamespacedName:["namespace","name"],JSXOpeningElement:["name","attributes","typeArguments","typeParameters"],JSXSpreadAttribute:["argument"],JSXText:[],JSXFragment:["openingFragment","children","closingFragment"],JSXOpeningFragment:[],JSXClosingFragment:[],Noop:[],Placeholder:[],V8IntrinsicIdentifier:[],ArgumentPlaceholder:[],BindExpression:["object","callee"],ImportAttribute:["key","value"],Decorator:["expression"],DoExpression:["body"],ExportDefaultSpecifier:["exported"],RecordExpression:["properties"],TupleExpression:["elements"],DecimalLiteral:[],ModuleExpression:["body"],TopicReference:[],PipelineTopicExpression:["expression"],PipelineBareFunction:["callee"],PipelinePrimaryTopicReference:[],TSParameterProperty:["parameter","decorators"],TSDeclareFunction:["id","typeParameters","params","returnType","body"],TSDeclareMethod:["decorators","key","typeParameters","params","returnType"],TSQualifiedName:["left","right"],TSCallSignatureDeclaration:["typeParameters","parameters","typeAnnotation","params","returnType"],TSConstructSignatureDeclaration:["typeParameters","parameters","typeAnnotation","params","returnType"],TSPropertySignature:["key","typeAnnotation"],TSMethodSignature:["key","typeParameters","parameters","typeAnnotation","params","returnType"],TSIndexSignature:["parameters","typeAnnotation"],TSAnyKeyword:[],TSBooleanKeyword:[],TSBigIntKeyword:[],TSIntrinsicKeyword:[],TSNeverKeyword:[],TSNullKeyword:[],TSNumberKeyword:[],TSObjectKeyword:[],TSStringKeyword:[],TSSymbolKeyword:[],TSUndefinedKeyword:[],TSUnknownKeyword:[],TSVoidKeyword:[],TSThisType:[],TSFunctionType:["typeParameters","parameters","typeAnnotation","params","returnType"],TSConstructorType:["typeParameters","parameters","typeAnnotation","params","returnType"],TSTypeReference:["typeName","typeParameters","typeArguments"],TSTypePredicate:["parameterName","typeAnnotation"],TSTypeQuery:["exprName","typeParameters","typeArguments"],TSTypeLiteral:["members"],TSArrayType:["elementType"],TSTupleType:["elementTypes"],TSOptionalType:["typeAnnotation"],TSRestType:["typeAnnotation"],TSNamedTupleMember:["label","elementType"],TSUnionType:["types"],TSIntersectionType:["types"],TSConditionalType:["checkType","extendsType","trueType","falseType"],TSInferType:["typeParameter"],TSParenthesizedType:["typeAnnotation"],TSTypeOperator:["typeAnnotation"],TSIndexedAccessType:["objectType","indexType"],TSMappedType:["typeParameter","typeAnnotation","nameType"],TSLiteralType:["literal"],TSExpressionWithTypeArguments:["expression","typeParameters"],TSInterfaceDeclaration:["id","typeParameters","extends","body"],TSInterfaceBody:["body"],TSTypeAliasDeclaration:["id","typeParameters","typeAnnotation"],TSInstantiationExpression:["expression","typeParameters","typeArguments"],TSAsExpression:["expression","typeAnnotation"],TSSatisfiesExpression:["expression","typeAnnotation"],TSTypeAssertion:["typeAnnotation","expression"],TSEnumDeclaration:["id","members"],TSEnumMember:["id","initializer"],TSModuleDeclaration:["id","body"],TSModuleBlock:["body"],TSImportType:["argument","qualifier","typeParameters","typeArguments"],TSImportEqualsDeclaration:["id","moduleReference"],TSExternalModuleReference:["expression"],TSNonNullExpression:["expression"],TSExportAssignment:["expression"],TSNamespaceExportDeclaration:["id"],TSTypeAnnotation:["typeAnnotation"],TSTypeParameterInstantiation:["params"],TSTypeParameterDeclaration:["params"],TSTypeParameter:["constraint","default","name"],ChainExpression:["expression"],ExperimentalRestProperty:["argument"],ExperimentalSpreadProperty:["argument"],Literal:[],MethodDefinition:["decorators","key","value"],PrivateIdentifier:[],Property:["key","value"],PropertyDefinition:["decorators","key","typeAnnotation","value","variance"],AccessorProperty:["decorators","key","typeAnnotation","value"],TSAbstractAccessorProperty:["decorators","key","typeAnnotation"],TSAbstractKeyword:[],TSAbstractMethodDefinition:["key","value"],TSAbstractPropertyDefinition:["decorators","key","typeAnnotation"],TSAsyncKeyword:[],TSClassImplements:["expression","typeArguments","typeParameters"],TSDeclareKeyword:[],TSEmptyBodyFunctionExpression:["id","typeParameters","params","returnType"],TSEnumBody:["members"],TSExportKeyword:[],TSInterfaceHeritage:["expression","typeArguments","typeParameters"],TSPrivateKeyword:[],TSProtectedKeyword:[],TSPublicKeyword:[],TSReadonlyKeyword:[],TSStaticKeyword:[],TSTemplateLiteralType:["quasis","types"],AsConstExpression:["expression"],AsExpression:["expression","typeAnnotation"],BigIntLiteralTypeAnnotation:[],BigIntTypeAnnotation:[],ComponentDeclaration:["id","params","body","typeParameters","rendersType"],ComponentParameter:["name","local"],ComponentTypeAnnotation:["params","rest","typeParameters","rendersType"],ComponentTypeParameter:["name","typeAnnotation"],ConditionalTypeAnnotation:["checkType","extendsType","trueType","falseType"],DeclareComponent:["id","params","rest","typeParameters","rendersType"],DeclareEnum:["id","body"],DeclareHook:["id"],DeclareNamespace:["id","body"],EnumBigIntBody:["members"],EnumBigIntMember:["id","init"],HookDeclaration:["id","params","body","typeParameters","returnType"],HookTypeAnnotation:["params","returnType","rest","typeParameters"],InferTypeAnnotation:["typeParameter"],KeyofTypeAnnotation:["argument"],ObjectTypeMappedTypeProperty:["keyTparam","propType","sourceType","variance"],QualifiedTypeofIdentifier:["qualification","id"],TupleTypeLabeledElement:["label","elementType","variance"],TupleTypeSpreadElement:["label","typeAnnotation"],TypeOperator:["typeAnnotation"],TypePredicate:["parameterName","typeAnnotation","asserts"],NGRoot:["node"],NGPipeExpression:["left","right","arguments"],NGChainedExpression:["expressions"],NGEmptyExpression:[],NGMicrosyntax:["body"],NGMicrosyntaxKey:[],NGMicrosyntaxExpression:["expression","alias"],NGMicrosyntaxKeyedExpression:["key","expression"],NGMicrosyntaxLet:["key","value"],NGMicrosyntaxAs:["key","alias"],JsExpressionRoot:["node"],JsonRoot:["node"],TSJSDocAllType:[],TSJSDocUnknownType:[],TSJSDocNullableType:["typeAnnotation"],TSJSDocNonNullableType:["typeAnnotation"],NeverTypeAnnotation:[],UndefinedTypeAnnotation:[],UnknownTypeAnnotation:[],SatisfiesExpression:["expression","typeAnnotation"]};var ao=hr(tu),gr=ao;function oo(e){let t=new Set(e);return r=>t.has(r==null?void 0:r.type)}var v=oo;var po=v(["Block","CommentBlock","MultiLine"]),re=po;var co=v(["AnyTypeAnnotation","ThisTypeAnnotation","NumberTypeAnnotation","VoidTypeAnnotation","BooleanTypeAnnotation","BigIntTypeAnnotation","SymbolTypeAnnotation","StringTypeAnnotation","NeverTypeAnnotation","UndefinedTypeAnnotation","UnknownTypeAnnotation","EmptyTypeAnnotation","MixedTypeAnnotation"]),Sr=co;function lo(e,t){let r=t.split(".");for(let n=r.length-1;n>=0;n--){let s=r[n];if(n===0)return e.type==="Identifier"&&e.name===s;if(e.type!=="MemberExpression"||e.optional||e.computed||e.property.type!=="Identifier"||e.property.name!==s)return!1;e=e.object}}function mo(e,t){return t.some(r=>lo(e,r))}var ru=mo;function yo({type:e}){return e.startsWith("TS")&&e.endsWith("Keyword")}var Br=yo;function tr(e,t){return t(e)||Xs(e,{getVisitorKeys:gr,predicate:t})}function jt(e){return e.type==="AssignmentExpression"||e.type==="BinaryExpression"||e.type==="LogicalExpression"||e.type==="NGPipeExpression"||e.type==="ConditionalExpression"||L(e)||q(e)||e.type==="SequenceExpression"||e.type==="TaggedTemplateExpression"||e.type==="BindExpression"||e.type==="UpdateExpression"&&!e.prefix||Te(e)||e.type==="TSNonNullExpression"||e.type==="ChainExpression"}function uu(e){return e.expressions?e.expressions[0]:e.left??e.test??e.callee??e.object??e.tag??e.argument??e.expression}function Pr(e){if(e.expressions)return["expressions",0];if(e.left)return["left"];if(e.test)return["test"];if(e.object)return["object"];if(e.callee)return["callee"];if(e.tag)return["tag"];if(e.argument)return["argument"];if(e.expression)return["expression"];throw new Error("Unexpected node has no left side.")}var vt=v(["Line","CommentLine","SingleLine","HashbangComment","HTMLOpen","HTMLClose","Hashbang","InterpreterDirective"]),iu=v(["ExportDefaultDeclaration","DeclareExportDeclaration","ExportNamedDeclaration","ExportAllDeclaration","DeclareExportAllDeclaration"]),U=v(["ArrayExpression","TupleExpression"]),se=v(["ObjectExpression","RecordExpression"]);function au(e){return e.type==="LogicalExpression"&&e.operator==="??"}function Ce(e){return e.type==="NumericLiteral"||e.type==="Literal"&&typeof e.value=="number"}function jn(e){return e.type==="UnaryExpression"&&(e.operator==="+"||e.operator==="-")&&Ce(e.argument)}function Q(e){return!!(e&&(e.type==="StringLiteral"||e.type==="Literal"&&typeof e.value=="string"))}function vn(e){return e.type==="RegExpLiteral"||e.type==="Literal"&&!!e.regex}var kr=v(["Literal","BooleanLiteral","BigIntLiteral","DecimalLiteral","DirectiveLiteral","NullLiteral","NumericLiteral","RegExpLiteral","StringLiteral"]),Do=v(["Identifier","ThisExpression","Super","PrivateName","PrivateIdentifier","Import"]),we=v(["ObjectTypeAnnotation","TSTypeLiteral","TSMappedType"]),_t=v(["FunctionExpression","ArrowFunctionExpression"]);function fo(e){return e.type==="FunctionExpression"||e.type==="ArrowFunctionExpression"&&e.body.type==="BlockStatement"}function Ln(e){return L(e)&&e.callee.type==="Identifier"&&["async","inject","fakeAsync","waitForAsync"].includes(e.callee.name)}var X=v(["JSXElement","JSXFragment"]);function gt(e){return e.method&&e.kind==="init"||e.kind==="get"||e.kind==="set"}function Ir(e){return(e.type==="ObjectTypeProperty"||e.type==="ObjectTypeInternalSlot")&&!e.static&&!e.method&&e.kind!=="get"&&e.kind!=="set"&&e.value.type==="FunctionTypeAnnotation"}function ou(e){return(e.type==="TypeAnnotation"||e.type==="TSTypeAnnotation")&&e.typeAnnotation.type==="FunctionTypeAnnotation"&&!e.static&&!ht(e,e.typeAnnotation)}var De=v(["BinaryExpression","LogicalExpression","NGPipeExpression"]);function Ft(e){return q(e)||e.type==="BindExpression"&&!!e.object}var Eo=v(["TSThisType","NullLiteralTypeAnnotation","BooleanLiteralTypeAnnotation","StringLiteralTypeAnnotation","BigIntLiteralTypeAnnotation","NumberLiteralTypeAnnotation","TSLiteralType","TSTemplateLiteralType"]);function Mt(e){return Br(e)||Sr(e)||Eo(e)||(e.type==="GenericTypeAnnotation"||e.type==="TSTypeReference")&&!e.typeParameters&&!e.typeArguments}function Fo(e){return e.type==="Identifier"&&(e.name==="beforeEach"||e.name==="beforeAll"||e.name==="afterEach"||e.name==="afterAll")}var Co=["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 Ao(e){return ru(e,Co)}function St(e,t){if((e==null?void 0:e.type)!=="CallExpression"||e.optional)return!1;let r=oe(e);if(r.length===1){if(Ln(e)&&St(t))return _t(r[0]);if(Fo(e.callee))return Ln(r[0])}else if((r.length===2||r.length===3)&&(r[0].type==="TemplateLiteral"||Q(r[0]))&&Ao(e.callee))return r[2]&&!Ce(r[2])?!1:(r.length===2?_t(r[1]):fo(r[1])&&K(r[1]).length<=1)||Ln(r[1]);return!1}var pu=e=>t=>((t==null?void 0:t.type)==="ChainExpression"&&(t=t.expression),e(t)),L=pu(v(["CallExpression","OptionalCallExpression"])),q=pu(v(["MemberExpression","OptionalMemberExpression"]));function Mn(e,t=5){return cu(e,t)<=t}function cu(e,t){let r=0;for(let n in e){let s=e[n];if(s&&typeof s=="object"&&typeof s.type=="string"&&(r++,r+=cu(s,t-r)),r>t)return r}return r}var To=.25;function rr(e,t){let{printWidth:r}=t;if(d(e))return!1;let n=r*To;if(e.type==="ThisExpression"||e.type==="Identifier"&&e.name.length<=n||jn(e)&&!d(e.argument))return!0;let s=e.type==="Literal"&&"regex"in e&&e.regex.pattern||e.type==="RegExpLiteral"&&e.pattern;return s?s.length<=n:Q(e)?tt(fe(e),t).length<=n:e.type==="TemplateLiteral"?e.expressions.length===0&&e.quasis[0].value.raw.length<=n&&!e.quasis[0].value.raw.includes(` +`):e.type==="UnaryExpression"?rr(e.argument,{printWidth:r}):e.type==="CallExpression"&&e.arguments.length===0&&e.callee.type==="Identifier"?e.callee.name.length<=n-2:kr(e)}function Oe(e,t){return X(t)?Bt(t):d(t,g.Leading,r=>te(e,k(r)))}function nu(e){return e.quasis.some(t=>t.value.raw.includes(` +`))}function Lr(e,t){return(e.type==="TemplateLiteral"&&nu(e)||e.type==="TaggedTemplateExpression"&&nu(e.quasi))&&!te(t,R(e),{backwards:!0})}function wr(e){if(!d(e))return!1;let t=O(!1,ct(e,g.Dangling),-1);return t&&!re(t)}function lu(e){if(e.length<=1)return!1;let t=0;for(let r of e)if(_t(r)){if(t+=1,t>1)return!0}else if(L(r)){for(let n of oe(r))if(_t(n))return!0}return!1}function Or(e){let{node:t,parent:r,key:n}=e;return n==="callee"&&L(t)&&L(r)&&r.arguments.length>0&&t.arguments.length>r.arguments.length}var xo=new Set(["!","-","+","~"]);function be(e,t=2){if(t<=0)return!1;if(e.type==="ChainExpression"||e.type==="TSNonNullExpression")return be(e.expression,t);let r=n=>be(n,t-1);if(vn(e))return et(e.pattern??e.regex.pattern)<=5;if(kr(e)||Do(e)||e.type==="ArgumentPlaceholder")return!0;if(e.type==="TemplateLiteral")return e.quasis.every(n=>!n.value.raw.includes(` +`))&&e.expressions.every(r);if(se(e))return e.properties.every(n=>!n.computed&&(n.shorthand||n.value&&r(n.value)));if(U(e))return e.elements.every(n=>n===null||r(n));if(lt(e)){if(e.type==="ImportExpression"||be(e.callee,t)){let n=oe(e);return n.length<=t&&n.every(r)}return!1}return q(e)?be(e.object,t)&&be(e.property,t):e.type==="UnaryExpression"&&xo.has(e.operator)||e.type==="UpdateExpression"?be(e.argument,t):!1}function fe(e){var t;return((t=e.extra)==null?void 0:t.raw)??e.raw}function mu(e){return e}function ae(e,t="es5"){return e.trailingComma==="es5"&&t==="es5"||e.trailingComma==="all"&&(t==="all"||t==="es5")}function ie(e,t){switch(e.type){case"BinaryExpression":case"LogicalExpression":case"AssignmentExpression":case"NGPipeExpression":return ie(e.left,t);case"MemberExpression":case"OptionalMemberExpression":return ie(e.object,t);case"TaggedTemplateExpression":return e.tag.type==="FunctionExpression"?!1:ie(e.tag,t);case"CallExpression":case"OptionalCallExpression":return e.callee.type==="FunctionExpression"?!1:ie(e.callee,t);case"ConditionalExpression":return ie(e.test,t);case"UpdateExpression":return!e.prefix&&ie(e.argument,t);case"BindExpression":return e.object&&ie(e.object,t);case"SequenceExpression":return ie(e.expressions[0],t);case"ChainExpression":case"TSSatisfiesExpression":case"TSAsExpression":case"TSNonNullExpression":case"AsExpression":case"AsConstExpression":case"SatisfiesExpression":return ie(e.expression,t);default:return t(e)}}var su={"==":!0,"!=":!0,"===":!0,"!==":!0},br={"*":!0,"/":!0,"%":!0},_n={">>":!0,">>>":!0,"<<":!0};function nr(e,t){return!(er(t)!==er(e)||e==="**"||su[e]&&su[t]||t==="%"&&br[e]||e==="%"&&br[t]||t!==e&&br[t]&&br[e]||_n[e]&&_n[t])}var ho=new Map([["|>"],["??"],["||"],["&&"],["|"],["^"],["&"],["==","===","!=","!=="],["<",">","<=",">=","in","instanceof"],[">>","<<",">>>"],["+","-"],["*","/","%"],["**"]].flatMap((e,t)=>e.map(r=>[r,t])));function er(e){return ho.get(e)}function yu(e){return!!_n[e]||e==="|"||e==="^"||e==="&"}function Du(e){var r;if(e.rest)return!0;let t=K(e);return((r=O(!1,t,-1))==null?void 0:r.type)==="RestElement"}var wn=new WeakMap;function K(e){if(wn.has(e))return wn.get(e);let t=[];return e.this&&t.push(e.this),Array.isArray(e.parameters)?t.push(...e.parameters):Array.isArray(e.params)&&t.push(...e.params),e.rest&&t.push(e.rest),wn.set(e,t),t}function fu(e,t){let{node:r}=e,n=0,s=u=>t(u,n++);r.this&&e.call(s,"this"),Array.isArray(r.parameters)?e.each(s,"parameters"):Array.isArray(r.params)&&e.each(s,"params"),r.rest&&e.call(s,"rest")}var On=new WeakMap;function oe(e){if(On.has(e))return On.get(e);if(e.type==="ChainExpression")return oe(e.expression);let t=e.arguments;return e.type==="ImportExpression"&&(t=[e.source],e.attributes&&t.push(e.attributes),e.options&&t.push(e.options)),On.set(e,t),t}function Rt(e,t){let{node:r}=e;if(r.type==="ChainExpression")return e.call(()=>Rt(e,t),"expression");r.type==="ImportExpression"?(e.call(n=>t(n,0),"source"),r.attributes&&e.call(n=>t(n,1),"attributes"),r.options&&e.call(n=>t(n,1),"options")):e.each(t,"arguments")}function Rn(e,t){let r=[];if(e.type==="ChainExpression"&&(e=e.expression,r.push("expression")),e.type==="ImportExpression"){if(t===0||t===(e.attributes||e.options?-2:-1))return[...r,"source"];if(e.attributes&&(t===1||t===-1))return[...r,"attributes"];if(e.options&&(t===1||t===-1))return[...r,"options"];throw new RangeError("Invalid argument index")}if(t<0&&(t=e.arguments.length+t),t<0||t>=e.arguments.length)throw new RangeError("Invalid argument index");return[...r,"arguments",t]}function sr(e){return e.value.trim()==="prettier-ignore"&&!e.unignore}function Bt(e){return(e==null?void 0:e.prettierIgnore)||d(e,g.PrettierIgnore)}var g={Leading:2,Trailing:4,Dangling:8,Block:16,Line:32,PrettierIgnore:64,First:128,Last:256},Eu=(e,t)=>{if(typeof e=="function"&&(t=e,e=0),e||t)return(r,n,s)=>!(e&g.Leading&&!r.leading||e&g.Trailing&&!r.trailing||e&g.Dangling&&(r.leading||r.trailing)||e&g.Block&&!re(r)||e&g.Line&&!vt(r)||e&g.First&&n!==0||e&g.Last&&n!==s.length-1||e&g.PrettierIgnore&&!sr(r)||t&&!t(r))};function d(e,t,r){if(!w(e==null?void 0:e.comments))return!1;let n=Eu(t,r);return n?e.comments.some(n):!0}function ct(e,t,r){if(!Array.isArray(e==null?void 0:e.comments))return[];let n=Eu(t,r);return n?e.comments.filter(n):e.comments}var pe=(e,{originalText:t})=>Ot(t,k(e));function lt(e){return L(e)||e.type==="NewExpression"||e.type==="ImportExpression"}function Ae(e){return e&&(e.type==="ObjectProperty"||e.type==="Property"&&!gt(e))}var Te=v(["TSAsExpression","TSSatisfiesExpression","AsExpression","AsConstExpression","SatisfiesExpression"]),Ne=v(["UnionTypeAnnotation","TSUnionType"]),_r=v(["IntersectionTypeAnnotation","TSIntersectionType"]);var go=new Set(["range","raw","comments","leadingComments","trailingComments","innerComments","extra","start","end","loc","flags","errors","tokens"]),Jt=e=>{for(let t of e.quasis)delete t.value};function Fu(e,t,r){var s,u;if(e.type==="Program"&&delete t.sourceType,(e.type==="BigIntLiteral"||e.type==="BigIntLiteralTypeAnnotation")&&e.value&&(t.value=e.value.toLowerCase()),(e.type==="BigIntLiteral"||e.type==="Literal")&&e.bigint&&(t.bigint=e.bigint.toLowerCase()),e.type==="DecimalLiteral"&&(t.value=Number(e.value)),e.type==="Literal"&&t.decimal&&(t.decimal=Number(e.decimal)),e.type==="EmptyStatement"||e.type==="JSXText"||e.type==="JSXExpressionContainer"&&(e.expression.type==="Literal"||e.expression.type==="StringLiteral")&&e.expression.value===" ")return null;if((e.type==="Property"||e.type==="ObjectProperty"||e.type==="MethodDefinition"||e.type==="ClassProperty"||e.type==="ClassMethod"||e.type==="PropertyDefinition"||e.type==="TSDeclareMethod"||e.type==="TSPropertySignature"||e.type==="ObjectTypeProperty"||e.type==="ImportAttribute")&&e.key&&!e.computed){let{key:i}=e;Q(i)||Ce(i)?t.key=String(i.value):i.type==="Identifier"&&(t.key=i.name)}if(e.type==="JSXElement"&&e.openingElement.name.name==="style"&&e.openingElement.attributes.some(i=>i.type==="JSXAttribute"&&i.name.name==="jsx"))for(let{type:i,expression:a}of t.children)i==="JSXExpressionContainer"&&a.type==="TemplateLiteral"&&Jt(a);e.type==="JSXAttribute"&&e.name.name==="css"&&e.value.type==="JSXExpressionContainer"&&e.value.expression.type==="TemplateLiteral"&&Jt(t.value.expression),e.type==="JSXAttribute"&&((s=e.value)==null?void 0:s.type)==="Literal"&&/["']|"|'/u.test(e.value.value)&&(t.value.value=N(!1,e.value.value,/["']|"|'/gu,'"'));let n=e.expression||e.callee;if(e.type==="Decorator"&&n.type==="CallExpression"&&n.callee.name==="Component"&&n.arguments.length===1){let i=e.expression.arguments[0].properties;for(let[a,o]of t.expression.arguments[0].properties.entries())switch(i[a].key.name){case"styles":U(o.value)&&Jt(o.value.elements[0]);break;case"template":o.value.type==="TemplateLiteral"&&Jt(o.value);break}}e.type==="TaggedTemplateExpression"&&(e.tag.type==="MemberExpression"||e.tag.type==="Identifier"&&(e.tag.name==="gql"||e.tag.name==="graphql"||e.tag.name==="css"||e.tag.name==="md"||e.tag.name==="markdown"||e.tag.name==="html")||e.tag.type==="CallExpression")&&Jt(t.quasi),e.type==="TemplateLiteral"&&((u=e.leadingComments)!=null&&u.some(a=>re(a)&&["GraphQL","HTML"].some(o=>a.value===` ${o} `))||r.type==="CallExpression"&&r.callee.name==="graphql"||!e.leadingComments)&&Jt(t),e.type==="ChainExpression"&&e.expression.type==="TSNonNullExpression"&&(t.type="TSNonNullExpression",t.expression.type="ChainExpression"),e.type==="TSMappedType"&&(delete t.key,delete t.constraint),e.type==="TSEnumDeclaration"&&delete t.body}Fu.ignoredProperties=go;var Cu=Fu;var rt="string",_e="array",nt="cursor",Xe="indent",Ye="align",st="trim",le="group",Pe="fill",xe="if-break",He="indent-if-break",Ve="line-suffix",$e="line-suffix-boundary",me="line",je="label",ve="break-parent",jr=new Set([nt,Xe,Ye,st,le,Pe,xe,He,Ve,$e,me,je,ve]);function So(e){if(typeof e=="string")return rt;if(Array.isArray(e))return _e;if(!e)return;let{type:t}=e;if(jr.has(t))return t}var ut=So;var Bo=e=>new Intl.ListFormat("en-US",{type:"disjunction"}).format(e);function bo(e){let t=e===null?"null":typeof e;if(t!=="string"&&t!=="object")return`Unexpected doc '${t}', +Expected it to be 'string' or 'object'.`;if(ut(e))throw new Error("doc is valid.");let r=Object.prototype.toString.call(e);if(r!=="[object Object]")return`Unexpected doc '${r}'.`;let n=Bo([...jr].map(s=>`'${s}'`));return`Unexpected doc.type '${e.type}'. +Expected it to be ${n}.`}var Jn=class extends Error{name="InvalidDocError";constructor(t){super(bo(t)),this.doc=t}},Ct=Jn;var Au={};function Po(e,t,r,n){let s=[e];for(;s.length>0;){let u=s.pop();if(u===Au){r(s.pop());continue}r&&s.push(u,Au);let i=ut(u);if(!i)throw new Ct(u);if((t==null?void 0:t(u))!==!1)switch(i){case _e:case Pe:{let a=i===_e?u:u.parts;for(let o=a.length,c=o-1;c>=0;--c)s.push(a[c]);break}case xe:s.push(u.flatContents,u.breakContents);break;case le:if(n&&u.expandedStates)for(let a=u.expandedStates.length,o=a-1;o>=0;--o)s.push(u.expandedStates[o]);else s.push(u.contents);break;case Ye:case Xe:case He:case je:case Ve:s.push(u.contents);break;case rt:case nt:case st:case $e:case me:case ve:break;default:throw new Ct(u)}}}var qn=Po;var Tu=()=>{},Ke=Tu,vr=Tu;function f(e){return Ke(e),{type:Xe,contents:e}}function he(e,t){return Ke(t),{type:Ye,contents:t,n:e}}function l(e,t={}){return Ke(e),vr(t.expandedStates,!0),{type:le,id:t.id,contents:e,break:!!t.shouldBreak,expandedStates:t.expandedStates}}function du(e){return he(Number.NEGATIVE_INFINITY,e)}function Mr(e){return he(-1,e)}function ze(e,t){return l(e[0],{...t,expandedStates:e})}function qt(e){return vr(e),{type:Pe,parts:e}}function b(e,t="",r={}){return Ke(e),t!==""&&Ke(t),{type:xe,breakContents:e,flatContents:t,groupId:r.groupId}}function At(e,t){return Ke(e),{type:He,contents:e,groupId:t.groupId,negate:t.negate}}function Wn(e){return Ke(e),{type:Ve,contents:e}}var ke={type:$e},Ee={type:ve};var Gn={type:me,hard:!0},ko={type:me,hard:!0,literal:!0},x={type:me},E={type:me,soft:!0},F=[Gn,Ee],Rr=[ko,Ee],Un={type:nt};function P(e,t){Ke(e),vr(t);let r=[];for(let n=0;n0){for(let s=0;s0){let t=O(!1,e,-1);!t.expandedStates&&!t.break&&(t.break="propagated")}return null}function Su(e){let t=new Set,r=[];function n(u){if(u.type===ve&&hu(r),u.type===le){if(r.push(u),t.has(u))return!1;t.add(u)}}function s(u){u.type===le&&r.pop().break&&hu(r)}qn(e,n,s,!0)}function Lo(e){return e.type===me&&!e.hard?e.soft?"":" ":e.type===xe?e.flatContents:e}function ur(e){return mt(e,Lo)}function wo(e){switch(ut(e)){case Pe:if(e.parts.every(t=>t===""))return"";break;case le:if(!e.contents&&!e.id&&!e.break&&!e.expandedStates)return"";if(e.contents.type===le&&e.contents.id===e.id&&e.contents.break===e.break&&e.contents.expandedStates===e.expandedStates)return e.contents;break;case Ye:case Xe:case He:case Ve:if(!e.contents)return"";break;case xe:if(!e.flatContents&&!e.breakContents)return"";break;case _e:{let t=[];for(let r of e){if(!r)continue;let[n,...s]=Array.isArray(r)?r:[r];typeof n=="string"&&typeof O(!1,t,-1)=="string"?t[t.length-1]+=n:t.push(n),t.push(...s)}return t.length===0?"":t.length===1?t[0]:t}case rt:case nt:case st:case $e:case me:case je:case ve:break;default:throw new Ct(e)}return e}function Wt(e){return mt(e,t=>wo(t))}function Ie(e,t=Rr){return mt(e,r=>typeof r=="string"?P(t,r.split(` +`)):r)}function Oo(e){if(e.type===me)return!0}function Bu(e){return gu(e,Oo,!1)}function ir(e,t){return e.type===je?{...e,contents:t(e.contents)}:t(e)}function _o(e){let t=`*${e.value}*`.split(` +`);return t.length>1&&t.every(r=>r.trimStart()[0]==="*")}var bu=_o;function Pu(e,t){let r=e.node;if(vt(r))return t.originalText.slice(R(r),k(r)).trimEnd();if(re(r))return bu(r)?jo(r):["/*",Ie(r.value),"*/"];throw new Error("Not a comment: "+JSON.stringify(r))}function jo(e){let t=e.value.split(` +`);return["/*",P(F,t.map((r,n)=>n===0?r.trimEnd():" "+(nGo,ownLine:()=>Wo,remaining:()=>Uo});function vo(e){let t=e.type||e.kind||"(unknown type)",r=String(e.name||e.id&&(typeof e.id=="object"?e.id.name:e.id)||e.key&&(typeof e.key=="object"?e.key.name:e.key)||e.value&&(typeof e.value=="object"?"":String(e.value))||e.operator||"");return r.length>20&&(r=r.slice(0,19)+"\u2026"),t+(r?" "+r:"")}function Nn(e,t){(e.comments??(e.comments=[])).push(t),t.printed=!1,t.nodeDescription=vo(e)}function ce(e,t){t.leading=!0,t.trailing=!1,Nn(e,t)}function Le(e,t,r){t.leading=!1,t.trailing=!1,r&&(t.marker=r),Nn(e,t)}function z(e,t){t.leading=!1,t.trailing=!0,Nn(e,t)}function Mo(e,t){let r=null,n=t;for(;n!==r;)r=n,n=Ge(e,n),n=Lt(e,n),n=wt(e,n),n=Ue(e,n);return n}var yt=Mo;function Ro(e,t){let r=yt(e,t);return r===!1?"":e.charAt(r)}var ge=Ro;function Jo(e,t,r){for(let n=t;nt(e))}function Go(e){return[No,_u,Lu,vu,Yn,Hn,Iu,wu,ju,tp,np,$n,op,Vn,lp,mp].some(t=>t(e))}function Uo(e){return[Mu,Yn,Hn,Ho,Zo,Ou,$n,Qo,zo,cp,Vn,pp].some(t=>t(e))}function bt(e,t){let r=(e.body||e.properties).find(({type:n})=>n!=="EmptyStatement");r?ce(r,t):Le(e,t)}function Xn(e,t){e.type==="BlockStatement"?bt(e,t):ce(e,t)}function No({comment:e,followingNode:t}){return t&&ku(e)?(ce(t,e),!0):!1}function Yn({comment:e,precedingNode:t,enclosingNode:r,followingNode:n,text:s}){if((r==null?void 0:r.type)!=="IfStatement"||!n)return!1;if(ge(s,k(e))===")")return z(t,e),!0;if(t===r.consequent&&n===r.alternate){if(t.type==="BlockStatement")z(t,e);else{let i=vt(e)||e.loc.start.line===e.loc.end.line,a=e.loc.start.line===t.loc.start.line;i&&a?z(t,e):Le(r,e)}return!0}return n.type==="BlockStatement"?(bt(n,e),!0):n.type==="IfStatement"?(Xn(n.consequent,e),!0):r.consequent===n?(ce(n,e),!0):!1}function Hn({comment:e,precedingNode:t,enclosingNode:r,followingNode:n,text:s}){return(r==null?void 0:r.type)!=="WhileStatement"||!n?!1:ge(s,k(e))===")"?(z(t,e),!0):n.type==="BlockStatement"?(bt(n,e),!0):r.body===n?(ce(n,e),!0):!1}function Iu({comment:e,precedingNode:t,enclosingNode:r,followingNode:n}){return(r==null?void 0:r.type)!=="TryStatement"&&(r==null?void 0:r.type)!=="CatchClause"||!n?!1:r.type==="CatchClause"&&t?(z(t,e),!0):n.type==="BlockStatement"?(bt(n,e),!0):n.type==="TryStatement"?(Xn(n.finalizer,e),!0):n.type==="CatchClause"?(Xn(n.body,e),!0):!1}function Xo({comment:e,enclosingNode:t,followingNode:r}){return q(t)&&(r==null?void 0:r.type)==="Identifier"?(ce(t,e),!0):!1}function Yo({comment:e,enclosingNode:t,followingNode:r,options:n}){return!n.experimentalTernaries||!((t==null?void 0:t.type)==="ConditionalExpression"||(t==null?void 0:t.type)==="ConditionalTypeAnnotation"||(t==null?void 0:t.type)==="TSConditionalType")?!1:(r==null?void 0:r.type)==="ConditionalExpression"||(r==null?void 0:r.type)==="ConditionalTypeAnnotation"||(r==null?void 0:r.type)==="TSConditionalType"?(Le(t,e),!0):!1}function Lu({comment:e,precedingNode:t,enclosingNode:r,followingNode:n,text:s,options:u}){let i=t&&!de(s,k(t),R(e));return(!t||!i)&&((r==null?void 0:r.type)==="ConditionalExpression"||(r==null?void 0:r.type)==="ConditionalTypeAnnotation"||(r==null?void 0:r.type)==="TSConditionalType")&&n?u.experimentalTernaries&&r.alternate===n&&!(re(e)&&!de(u.originalText,R(e),k(e)))?(Le(r,e),!0):(ce(n,e),!0):!1}function Ho({comment:e,precedingNode:t,enclosingNode:r}){return Ae(r)&&r.shorthand&&r.key===t&&r.value.type==="AssignmentPattern"?(z(r.value.left,e),!0):!1}var Vo=new Set(["ClassDeclaration","ClassExpression","DeclareClass","DeclareInterface","InterfaceDeclaration","TSInterfaceDeclaration"]);function wu({comment:e,precedingNode:t,enclosingNode:r,followingNode:n}){if(Vo.has(r==null?void 0:r.type)){if(w(r.decorators)&&(n==null?void 0:n.type)!=="Decorator")return z(O(!1,r.decorators,-1),e),!0;if(r.body&&n===r.body)return bt(r.body,e),!0;if(n){if(r.superClass&&n===r.superClass&&t&&(t===r.id||t===r.typeParameters))return z(t,e),!0;for(let s of["implements","extends","mixins"])if(r[s]&&n===r[s][0])return t&&(t===r.id||t===r.typeParameters||t===r.superClass)?z(t,e):Le(r,e,s),!0}}return!1}var $o=new Set(["ClassMethod","ClassProperty","PropertyDefinition","TSAbstractPropertyDefinition","TSAbstractMethodDefinition","TSDeclareMethod","MethodDefinition","ClassAccessorProperty","AccessorProperty","TSAbstractAccessorProperty"]);function Ou({comment:e,precedingNode:t,enclosingNode:r,text:n}){return r&&t&&ge(n,k(e))==="("&&(r.type==="Property"||r.type==="TSDeclareMethod"||r.type==="TSAbstractMethodDefinition")&&t.type==="Identifier"&&r.key===t&&ge(n,k(t))!==":"?(z(t,e),!0):(t==null?void 0:t.type)==="Decorator"&&$o.has(r==null?void 0:r.type)?(z(t,e),!0):!1}var Ko=new Set(["FunctionDeclaration","FunctionExpression","ClassMethod","MethodDefinition","ObjectMethod"]);function zo({comment:e,precedingNode:t,enclosingNode:r,text:n}){return ge(n,k(e))!=="("?!1:t&&Ko.has(r==null?void 0:r.type)?(z(t,e),!0):!1}function Qo({comment:e,enclosingNode:t,text:r}){if((t==null?void 0:t.type)!=="ArrowFunctionExpression")return!1;let n=yt(r,k(e));return n!==!1&&r.slice(n,n+2)==="=>"?(Le(t,e),!0):!1}function Zo({comment:e,enclosingNode:t,text:r}){return ge(r,k(e))!==")"?!1:t&&(Ru(t)&&K(t).length===0||lt(t)&&oe(t).length===0)?(Le(t,e),!0):((t==null?void 0:t.type)==="MethodDefinition"||(t==null?void 0:t.type)==="TSAbstractMethodDefinition")&&K(t.value).length===0?(Le(t.value,e),!0):!1}function ep({comment:e,precedingNode:t,enclosingNode:r,followingNode:n,text:s}){return(t==null?void 0:t.type)==="ComponentTypeParameter"&&((r==null?void 0:r.type)==="DeclareComponent"||(r==null?void 0:r.type)==="ComponentTypeAnnotation")&&(n==null?void 0:n.type)!=="ComponentTypeParameter"?(z(t,e),!0):((t==null?void 0:t.type)==="ComponentParameter"||(t==null?void 0:t.type)==="RestElement")&&(r==null?void 0:r.type)==="ComponentDeclaration"&&ge(s,k(e))===")"?(z(t,e),!0):!1}function _u({comment:e,precedingNode:t,enclosingNode:r,followingNode:n,text:s}){return(t==null?void 0:t.type)==="FunctionTypeParam"&&(r==null?void 0:r.type)==="FunctionTypeAnnotation"&&(n==null?void 0:n.type)!=="FunctionTypeParam"?(z(t,e),!0):((t==null?void 0:t.type)==="Identifier"||(t==null?void 0:t.type)==="AssignmentPattern"||(t==null?void 0:t.type)==="ObjectPattern"||(t==null?void 0:t.type)==="ArrayPattern"||(t==null?void 0:t.type)==="RestElement"||(t==null?void 0:t.type)==="TSParameterProperty")&&Ru(r)&&ge(s,k(e))===")"?(z(t,e),!0):!re(e)&&((r==null?void 0:r.type)==="FunctionDeclaration"||(r==null?void 0:r.type)==="FunctionExpression"||(r==null?void 0:r.type)==="ObjectMethod")&&(n==null?void 0:n.type)==="BlockStatement"&&r.body===n&&yt(s,k(e))===R(n)?(bt(n,e),!0):!1}function ju({comment:e,enclosingNode:t}){return(t==null?void 0:t.type)==="LabeledStatement"?(ce(t,e),!0):!1}function Vn({comment:e,enclosingNode:t}){return((t==null?void 0:t.type)==="ContinueStatement"||(t==null?void 0:t.type)==="BreakStatement")&&!t.label?(z(t,e),!0):!1}function tp({comment:e,precedingNode:t,enclosingNode:r}){return L(r)&&t&&r.callee===t&&r.arguments.length>0?(ce(r.arguments[0],e),!0):!1}function rp({comment:e,precedingNode:t,enclosingNode:r,followingNode:n}){return Ne(r)?(sr(e)&&(n.prettierIgnore=!0,e.unignore=!0),t?(z(t,e),!0):!1):(Ne(n)&&sr(e)&&(n.types[0].prettierIgnore=!0,e.unignore=!0),!1)}function np({comment:e,enclosingNode:t}){return Ae(t)?(ce(t,e),!0):!1}function $n({comment:e,enclosingNode:t,ast:r,isLastComment:n}){var s;return((s=r==null?void 0:r.body)==null?void 0:s.length)===0?(n?Le(r,e):ce(r,e),!0):(t==null?void 0:t.type)==="Program"&&t.body.length===0&&!w(t.directives)?(n?Le(t,e):ce(t,e),!0):!1}function sp({comment:e,enclosingNode:t}){return(t==null?void 0:t.type)==="ForInStatement"||(t==null?void 0:t.type)==="ForOfStatement"?(ce(t,e),!0):!1}function vu({comment:e,precedingNode:t,enclosingNode:r,text:n}){if((r==null?void 0:r.type)==="ImportSpecifier"||(r==null?void 0:r.type)==="ExportSpecifier")return ce(r,e),!0;let s=(t==null?void 0:t.type)==="ImportSpecifier"&&(r==null?void 0:r.type)==="ImportDeclaration",u=(t==null?void 0:t.type)==="ExportSpecifier"&&(r==null?void 0:r.type)==="ExportNamedDeclaration";return(s||u)&&te(n,k(e))?(z(t,e),!0):!1}function up({comment:e,enclosingNode:t}){return(t==null?void 0:t.type)==="AssignmentPattern"?(ce(t,e),!0):!1}var ip=new Set(["VariableDeclarator","AssignmentExpression","TypeAlias","TSTypeAliasDeclaration"]),ap=new Set(["ObjectExpression","RecordExpression","ArrayExpression","TupleExpression","TemplateLiteral","TaggedTemplateExpression","ObjectTypeAnnotation","TSTypeLiteral"]);function op({comment:e,enclosingNode:t,followingNode:r}){return ip.has(t==null?void 0:t.type)&&r&&(ap.has(r.type)||re(e))?(ce(r,e),!0):!1}function pp({comment:e,enclosingNode:t,followingNode:r,text:n}){return!r&&((t==null?void 0:t.type)==="TSMethodSignature"||(t==null?void 0:t.type)==="TSDeclareFunction"||(t==null?void 0:t.type)==="TSAbstractMethodDefinition")&&ge(n,k(e))===";"?(z(t,e),!0):!1}function Mu({comment:e,enclosingNode:t,followingNode:r}){if(sr(e)&&(t==null?void 0:t.type)==="TSMappedType"&&(r==null?void 0:r.type)==="TSTypeParameter"&&r.constraint)return t.prettierIgnore=!0,e.unignore=!0,!0}function cp({comment:e,precedingNode:t,enclosingNode:r,followingNode:n}){return(r==null?void 0:r.type)!=="TSMappedType"?!1:(n==null?void 0:n.type)==="TSTypeParameter"&&n.name?(ce(n.name,e),!0):(t==null?void 0:t.type)==="TSTypeParameter"&&t.constraint?(z(t.constraint,e),!0):!1}function lp({comment:e,enclosingNode:t,followingNode:r}){return!t||t.type!=="SwitchCase"||t.test||!r||r!==t.consequent[0]?!1:(r.type==="BlockStatement"&&vt(e)?bt(r,e):Le(t,e),!0)}function mp({comment:e,precedingNode:t,enclosingNode:r,followingNode:n}){return Ne(t)&&((r.type==="TSArrayType"||r.type==="ArrayTypeAnnotation")&&!n||_r(r))?(z(O(!1,t.types,-1),e),!0):!1}function yp({comment:e,enclosingNode:t,precedingNode:r,followingNode:n}){if(((t==null?void 0:t.type)==="ObjectPattern"||(t==null?void 0:t.type)==="ArrayPattern")&&(n==null?void 0:n.type)==="TSTypeAnnotation")return r?z(r,e):Le(t,e),!0}var Ru=v(["ArrowFunctionExpression","FunctionExpression","FunctionDeclaration","ObjectMethod","ClassMethod","TSDeclareFunction","TSCallSignatureDeclaration","TSConstructSignatureDeclaration","TSMethodSignature","TSConstructorType","TSFunctionType","TSDeclareMethod"]);var Dp=new Set(["EmptyStatement","TemplateElement","Import","TSEmptyBodyFunctionExpression","ChainExpression"]);function fp(e){return!Dp.has(e.type)}function Ep(e,t){var r;if((t.parser==="typescript"||t.parser==="flow"||t.parser==="acorn"||t.parser==="espree"||t.parser==="meriyah"||t.parser==="__babel_estree")&&e.type==="MethodDefinition"&&((r=e.value)==null?void 0:r.type)==="FunctionExpression"&&K(e.value).length===0&&!e.value.returnType&&!w(e.value.typeParameters)&&e.value.body)return[...e.decorators||[],e.key,e.value.body]}function zn(e){let{node:t,parent:r}=e;return(X(t)||r&&(r.type==="JSXSpreadAttribute"||r.type==="JSXSpreadChild"||Ne(r)||(r.type==="ClassDeclaration"||r.type==="ClassExpression")&&r.superClass===t))&&(!Bt(t)||Ne(r))}function Fp(e,{parser:t}){if(t==="flow"||t==="babel-flow")return e=N(!1,e,/[\s(]/gu,""),e===""||e==="/*"||e==="/*::"}function Ju(e){switch(e){case"cr":return"\r";case"crlf":return`\r `;default:return` -`}}var Ce=Symbol("MODE_BREAK"),rt=Symbol("MODE_FLAT"),rr=Symbol("cursor");function si(){return{value:"",length:0,queue:[]}}function rc(e,t){return cs(e,{type:"indent"},t)}function nc(e,t,r){return t===Number.NEGATIVE_INFINITY?e.root||si():t<0?cs(e,{type:"dedent"},r):t?t.type==="root"?{...e,root:e}:cs(e,{type:typeof t=="string"?"stringAlign":"numberAlign",n:t},r):e}function cs(e,t,r){let n=t.type==="dedent"?e.queue.slice(0,-1):[...e.queue,t],s="",u=0,i=0,a=0;for(let l of n)switch(l.type){case"indent":m(),r.useTabs?o(1):p(r.tabWidth);break;case"stringAlign":m(),s+=l.n,u+=l.n.length;break;case"numberAlign":i+=1,a+=l.n;break;default:throw new Error(`Unexpected type '${l.type}'`)}return c(),{...e,value:s,length:u,queue:n};function o(l){s+=" ".repeat(l),u+=r.tabWidth*l}function p(l){s+=" ".repeat(l),u+=l}function m(){r.useTabs?y():c()}function y(){i>0&&o(i),f()}function c(){a>0&&p(a),f()}function f(){i=0,a=0}}function ls(e){let t=0,r=0,n=e.length;e:for(;n--;){let s=e[n];if(s===rr){r++;continue}for(let u=s.length-1;u>=0;u--){let i=s[u];if(i===" "||i===" ")t++;else{e[n]=s.slice(0,u+1);break e}}}if(t>0||r>0)for(e.length=n+1;r-- >0;)e.push(rr);return t}function Zr(e,t,r,n,s,u){if(r===Number.POSITIVE_INFINITY)return!0;let i=t.length,a=[e],o=[];for(;r>=0;){if(a.length===0){if(i===0)return!0;a.push(t[--i]);continue}let{mode:p,doc:m}=a.pop();switch(Ze(m)){case Ke:o.push(m),r-=tt(m);break;case je:case De:{let y=Dr(m);for(let c=y.length-1;c>=0;c--)a.push({mode:p,doc:y[c]});break}case Me:case Re:case Je:case be:a.push({mode:p,doc:m.contents});break;case Qe:r+=ls(o);break;case ue:{if(u&&m.break)return!1;let y=m.break?Ce:p,c=m.expandedStates&&y===Ce?w(!1,m.expandedStates,-1):m.contents;a.push({mode:y,doc:c});break}case Fe:{let c=(m.groupId?s[m.groupId]||rt:p)===Ce?m.breakContents:m.flatContents;c&&a.push({mode:p,doc:c});break}case ie:if(p===Ce||m.hard)return!0;m.soft||(o.push(" "),r--);break;case Ne:n=!0;break;case Ue:if(n)return!1;break}}return!1}function ms(e,t){let r={},n=t.printWidth,s=ni(t.endOfLine),u=0,i=[{ind:si(),mode:Ce,doc:e}],a=[],o=!1,p=[],m=0;for(Rs(e);i.length>0;){let{ind:c,mode:f,doc:l}=i.pop();switch(Ze(l)){case Ke:{let h=s!==` -`?H(!1,l,` -`,s):l;a.push(h),i.length>0&&(u+=tt(h));break}case je:for(let h=l.length-1;h>=0;h--)i.push({ind:c,mode:f,doc:l[h]});break;case ze:if(m>=2)throw new Error("There are too many 'cursor' in doc.");a.push(rr),m++;break;case Me:i.push({ind:rc(c,t),mode:f,doc:l.contents});break;case Re:i.push({ind:nc(c,l.n,t),mode:f,doc:l.contents});break;case Qe:u-=ls(a);break;case ue:switch(f){case rt:if(!o){i.push({ind:c,mode:l.break?Ce:rt,doc:l.contents});break}case Ce:{o=!1;let h={ind:c,mode:rt,doc:l.contents},g=n-u,S=p.length>0;if(!l.break&&Zr(h,i,g,S,r))i.push(h);else if(l.expandedStates){let I=w(!1,l.expandedStates,-1);if(l.break){i.push({ind:c,mode:Ce,doc:I});break}else for(let v=1;v=l.expandedStates.length){i.push({ind:c,mode:Ce,doc:I});break}else{let _=l.expandedStates[v],R={ind:c,mode:rt,doc:_};if(Zr(R,i,g,S,r)){i.push(R);break}}}else i.push({ind:c,mode:Ce,doc:l.contents});break}}l.id&&(r[l.id]=w(!1,i,-1).mode);break;case De:{let h=n-u,{parts:g}=l;if(g.length===0)break;let[S,I]=g,v={ind:c,mode:rt,doc:S},_={ind:c,mode:Ce,doc:S},R=Zr(v,[],h,p.length>0,r,!0);if(g.length===1){R?i.push(v):i.push(_);break}let T={ind:c,mode:rt,doc:I},N={ind:c,mode:Ce,doc:I};if(g.length===2){R?i.push(T,v):i.push(N,_);break}g.splice(0,2);let Se={ind:c,mode:f,doc:St(g)},$=g[0];Zr({ind:c,mode:rt,doc:[S,I,$]},[],h,p.length>0,r,!0)?i.push(Se,T,v):R?i.push(Se,N,v):i.push(Se,N,_);break}case Fe:case Je:{let h=l.groupId?r[l.groupId]:f;if(h===Ce){let g=l.type===Fe?l.breakContents:l.negate?l.contents:E(l.contents);g&&i.push({ind:c,mode:f,doc:g})}if(h===rt){let g=l.type===Fe?l.flatContents:l.negate?E(l.contents):l.contents;g&&i.push({ind:c,mode:f,doc:g})}break}case Ne:p.push({ind:c,mode:f,doc:l.contents});break;case Ue:p.length>0&&i.push({ind:c,mode:f,doc:bn});break;case ie:switch(f){case rt:if(l.hard)o=!0;else{l.soft||(a.push(" "),u+=1);break}case Ce:if(p.length>0){i.push({ind:c,mode:f,doc:l},...p.reverse()),p.length=0;break}l.literal?c.root?(a.push(s,c.root.value),u=c.root.length):(a.push(s),u=0):(u-=ls(a),a.push(s+c.value),u=c.length);break}break;case be:i.push({ind:c,mode:f,doc:l.contents});break;case Pe:break;default:throw new ct(l)}i.length===0&&p.length>0&&(i.push(...p.reverse()),p.length=0)}let y=a.indexOf(rr);if(y!==-1){let c=a.indexOf(rr,y+1),f=a.slice(0,y).join(""),l=a.slice(y+1,c).join(""),h=a.slice(c+1).join("");return{formatted:f+l+h,cursorNodeStart:f.length,cursorNodeText:l}}return{formatted:a.join("")}}function en(e,t,r){let{node:n}=e;if(n.type==="TemplateLiteral"&&ic(e)){let m=sc(e,r,t);if(m)return m}let u="expressions";n.type==="TSTemplateLiteralType"&&(u="types");let i=[],a=e.map(t,u),o=tu(n);o&&(a=a.map(m=>ms(m,{...r,printWidth:Number.POSITIVE_INFINITY}).formatted)),i.push(de,"`");let p=0;return e.each(({index:m,node:y})=>{if(i.push(t()),y.tail)return;let{tabWidth:c}=r,f=y.value.raw,l=f.includes(` -`)?ri(f,c):p;p=l;let h=a[m];if(!o){let S=n[u][m];(d(S)||J(S)||S.type==="ConditionalExpression"||S.type==="SequenceExpression"||Le(S)||ce(S))&&(h=[E([F,h]),F])}let g=l===0&&f.endsWith(` -`)?ye(Number.NEGATIVE_INFINITY,h):_s(h,l,c);i.push(D(["${",g,de,"}"]))},"quasis"),i.push("`"),i}function ui(e){let t=e("quasi");return et(t.label&&{tagged:!0,...t.label},[e("tag"),e("typeParameters"),de,t])}function sc(e,t,r){let{node:n}=e,s=n.quasis[0].value.raw.trim().split(/\s*\|\s*/);if(s.length>1||s.some(u=>u.length>0)){t.__inJestEach=!0;let u=e.map(r,"expressions");t.__inJestEach=!1;let i=[],a=u.map(c=>"${"+ms(c,{...t,printWidth:Number.POSITIVE_INFINITY,endOfLine:"lf"}).formatted+"}"),o=[{hasLineBreak:!1,cells:[]}];for(let c=1;cc.cells.length)),m=Array.from({length:p}).fill(0),y=[{cells:s},...o.filter(c=>c.cells.length>0)];for(let{cells:c}of y.filter(f=>!f.hasLineBreak))for(let[f,l]of c.entries())m[f]=Math.max(m[f],tt(l));return i.push(de,"`",E([C,B(C,y.map(c=>B(" | ",c.cells.map((f,l)=>c.hasLineBreak?f:f+" ".repeat(m[l]-tt(f))))))]),C,"`"),i}}function uc(e,t){let{node:r}=e,n=t();return d(r)&&(n=D([E([F,n]),F])),["${",n,de,"}"]}function Rt(e,t){return e.map(r=>uc(r,t),"expressions")}function tn(e,t){return st(e,r=>typeof r=="string"?t?H(!1,r,/(\\*)`/g,"$1$1\\`"):Ds(r):r)}function Ds(e){return H(!1,e,/([\\`]|\${)/g,"\\$1")}function ic({node:e,parent:t}){let r=/^[fx]?(?:describe|it|test)$/;return t.type==="TaggedTemplateExpression"&&t.quasi===e&&t.tag.type==="MemberExpression"&&t.tag.property.type==="Identifier"&&t.tag.property.name==="each"&&(t.tag.object.type==="Identifier"&&r.test(t.tag.object.name)||t.tag.object.type==="MemberExpression"&&t.tag.object.property.type==="Identifier"&&(t.tag.object.property.name==="only"||t.tag.object.property.name==="skip")&&t.tag.object.object.type==="Identifier"&&r.test(t.tag.object.object.name))}function ac(e){let t=new WeakMap;return function(r){return t.has(r)||t.set(r,Symbol(e)),t.get(r)}}var rn=ac;function oc(e){switch(e){case null:return"";case"PlusOptional":return"+?";case"MinusOptional":return"-?";case"Optional":return"?"}}function ii(e,t,r){let{node:n}=e;return D([n.variance?r("variance"):"","[",E([r("keyTparam")," in ",r("sourceType")]),"]",oc(n.optional),": ",r("propType")])}function ys(e,t){return e==="+"||e==="-"?e+t:t}function ai(e,t,r){let{node:n}=e,s=yt(t.originalText,U(n),U(n.typeParameter));return D(["{",E([t.bracketSpacing?A:F,D([r("typeParameter"),n.optional?ys(n.optional,"?"):"",n.typeAnnotation?": ":"",r("typeAnnotation")]),t.semi?b(";"):""]),M(e,t),t.bracketSpacing?A:F,"}"],{shouldBreak:s})}var nr=rn("typeParameters");function pc(e,t,r){let{node:n}=e;return Y(n).length===1&&n.type.startsWith("TS")&&!n[r][0].constraint&&e.parent.type==="ArrowFunctionExpression"&&!(t.filepath&&/\.ts$/.test(t.filepath))}function gt(e,t,r,n){let{node:s}=e;if(!s[n])return"";if(!Array.isArray(s[n]))return r(n);let u=e.getNode(2),i=u&&Ct(u),a=e.match(m=>!(m[n].length===1&&ke(m[n][0])),void 0,(m,y)=>y==="typeAnnotation",m=>m.type==="Identifier",ns);if(s[n].length===0||!a&&(i||s[n].length===1&&(s[n][0].type==="NullableTypeAnnotation"||us(s[n][0]))))return["<",B(", ",e.map(r,n)),cc(e,t),">"];let p=s.type==="TSTypeParameterInstantiation"?"":pc(e,t,n)?",":le(t)?b(","):"";return D(["<",E([F,B([",",A],e.map(r,n))]),p,F,">"],{id:nr(s)})}function cc(e,t){let{node:r}=e;if(!d(r,x.Dangling))return"";let n=!d(r,x.Line),s=M(e,t,{indent:!n});return n?s:[s,C]}function nn(e,t,r){let{node:n,parent:s}=e,u=[n.type==="TSTypeParameter"&&n.const?"const ":""],i=n.type==="TSTypeParameter"?r("name"):n.name;if(s.type==="TSMappedType")return s.readonly&&u.push(ys(s.readonly,"readonly")," "),u.push("[",i),n.constraint&&u.push(" in ",r("constraint")),s.nameType&&u.push(" as ",e.callParent(()=>r("nameType"))),u.push("]"),u;if(n.variance&&u.push(r("variance")),n.in&&u.push("in "),n.out&&u.push("out "),u.push(i),n.bound&&(n.usesExtendsBound&&u.push(" extends "),u.push(q(e,r,"bound"))),n.constraint){let a=Symbol("constraint");u.push(" extends",D(E(A),{id:a}),de,lt(r("constraint"),{groupId:a}))}return n.default&&u.push(" = ",r("default")),D(u)}var sr=()=>{};sr.ok=sr;sr.strictEqual=sr;var sn=sr;var un=new WeakMap;function pt(e,t,r){let{node:n}=e;if(n.computed)return["[",r("key"),"]"];let{parent:s}=e,{key:u}=n;if(t.quoteProps==="consistent"&&!un.has(s)){let i=(s.properties||s.body||s.members).some(a=>!a.computed&&a.key&&ee(a.key)&&!Mn(a,t));un.set(s,i)}if((u.type==="Identifier"||ge(u)&&Rn(He(oe(u)))&&String(u.value)===He(oe(u))&&!(t.parser==="typescript"||t.parser==="babel-ts"))&&(t.parser==="json"||t.quoteProps==="consistent"&&un.get(s))){let i=Tt(JSON.stringify(u.type==="Identifier"?u.name:u.value.toString()),t);return e.call(a=>pe(a,i,t),"key")}return Mn(n,t)&&(t.quoteProps==="as-needed"||t.quoteProps==="consistent"&&!un.get(s))?e.call(i=>pe(i,/^\d/.test(u.value)?He(u.value):u.value,t),"key"):r("key")}function oi(e,t,r){let{node:n}=e;return n.shorthand?r("value"):ft(e,t,r,pt(e,t,r),":","value")}var lc=e=>e.type==="ObjectMethod"||e.type==="ClassMethod"||e.type==="ClassPrivateMethod"||e.type==="MethodDefinition"||e.type==="TSAbstractMethodDefinition"||e.type==="TSDeclareMethod"||(e.type==="Property"||e.type==="ObjectProperty")&&(e.method||e.kind==="get"||e.kind==="set"),mc=e=>e.node.type==="FunctionExpression"&&e.key==="value"&&lc(e.parent);function an(e,t,r,n){if(mc(e))return on(e,r,t);let{node:s}=e,u=!1;if((s.type==="FunctionDeclaration"||s.type==="FunctionExpression")&&(n!=null&&n.expandLastArg)){let{parent:m}=e;k(m)&&(he(m).length>1||Y(s).every(y=>y.type==="Identifier"&&!y.typeAnnotation))&&(u=!0)}let i=[Q(e),s.async?"async ":"",`function${s.generator?"*":""} `,s.id?t("id"):""],a=at(e,t,r,u),o=cn(e,t),p=xt(s,o);return i.push(Ve(e,r,t),D([p?D(a):a,o]),s.body?" ":"",t("body")),r.semi&&(s.declare||!s.body)&&i.push(";"),i}function ur(e,t,r){let{node:n}=e,{kind:s}=n,u=n.value||n,i=[];return!s||s==="init"||s==="method"||s==="constructor"?u.async&&i.push("async "):(sn.ok(s==="get"||s==="set"),i.push(s," ")),u.generator&&i.push("*"),i.push(pt(e,t,r),n.optional||n.key.optional?"?":"",n===u?on(e,t,r):r("value")),i}function on(e,t,r){let{node:n}=e,s=at(e,r,t),u=cn(e,r),i=Uu(n),a=xt(n,u),o=[Ve(e,t,r),D([i?D(s,{shouldBreak:!0}):a?D(s):s,u])];return n.body?o.push(" ",r("body")):o.push(t.semi?";":""),o}function Dc(e){let t=Y(e);return t.length===1&&!e.typeParameters&&!d(e,x.Dangling)&&t[0].type==="Identifier"&&!t[0].typeAnnotation&&!d(t[0])&&!t[0].optional&&!e.predicate&&!e.returnType}function pn(e,t){if(t.arrowParens==="always")return!1;if(t.arrowParens==="avoid"){let{node:r}=e;return Dc(r)}return!1}function cn(e,t){let{node:r}=e,s=[q(e,t,"returnType")];return r.predicate&&s.push(t("predicate")),s}function pi(e,t,r){let{node:n}=e,s=t.semi?";":"",u=[];if(n.argument){let o=r("argument");yc(t,n.argument)?o=["(",E([C,o]),C,")"]:(ce(n.argument)||n.argument.type==="SequenceExpression")&&(o=D([b("("),E([F,o]),F,b(")")])),u.push(" ",o)}let i=d(n,x.Dangling),a=s&&i&&d(n,x.Last|x.Line);return a&&u.push(s),i&&u.push(" ",M(e,t)),a||u.push(s),u}function ci(e,t,r){return["return",pi(e,t,r)]}function li(e,t,r){return["throw",pi(e,t,r)]}function yc(e,t){if(Ie(e.originalText,t))return!0;if(Lt(t)){let r=t,n;for(;n=Qs(r);)if(r=n,Ie(e.originalText,r))return!0}return!1}var mi=j(["ClassProperty","PropertyDefinition","ClassPrivateProperty","ClassAccessorProperty","AccessorProperty","TSAbstractPropertyDefinition","TSAbstractAccessorProperty"]);function ln(e,t,r){let{node:n}=e,s=[Q(e),_t(e),"class"],u=d(n.id,x.Trailing)||d(n.typeParameters,x.Trailing)||d(n.superClass)||P(n.extends)||P(n.mixins)||P(n.implements),i=[],a=[];if(n.id&&i.push(" ",r("id")),i.push(r("typeParameters")),n.superClass){let o=[Ec(e,t,r),r("superTypeParameters")],p=e.call(m=>["extends ",pe(m,o,t)],"superClass");u?a.push(A,D(p)):a.push(" ",p)}else a.push(fs(e,t,r,"extends"));if(a.push(fs(e,t,r,"mixins"),fs(e,t,r,"implements")),u){let o;yi(n)?o=[...i,E(a)]:o=E([...i,a]),s.push(D(o,{id:Di(n)}))}else s.push(...i,...a);return s.push(" ",r("body")),s}var Di=rn("heritageGroup");function Es(e){return b(C,"",{groupId:Di(e)})}function fc(e){return["extends","mixins","implements"].reduce((t,r)=>t+(Array.isArray(e[r])?e[r].length:0),e.superClass?1:0)>1}function yi(e){return e.typeParameters&&!d(e.typeParameters,x.Trailing|x.Line)&&!fc(e)}function fs(e,t,r,n){let{node:s}=e;if(!P(s[n]))return"";let u=M(e,t,{marker:n});return[yi(s)?b(" ",A,{groupId:nr(s.typeParameters)}):A,u,u&&C,n,D(E([A,B([",",A],e.map(r,n))]))]}function Ec(e,t,r){let n=r("superClass"),{parent:s}=e;return s.type==="AssignmentExpression"?D(b(["(",E([F,n]),F,")"],n)):n}function mn(e,t,r){let{node:n}=e,s=[];return P(n.decorators)&&s.push(as(e,t,r)),s.push(jt(n)),n.static&&s.push("static "),s.push(_t(e)),n.override&&s.push("override "),s.push(ur(e,t,r)),s}function Dn(e,t,r){let{node:n}=e,s=[],u=t.semi?";":"";P(n.decorators)&&s.push(as(e,t,r)),s.push(jt(n),Q(e)),n.static&&s.push("static "),s.push(_t(e)),n.override&&s.push("override "),n.readonly&&s.push("readonly "),n.variance&&s.push(r("variance")),(n.type==="ClassAccessorProperty"||n.type==="AccessorProperty"||n.type==="TSAbstractAccessorProperty")&&s.push("accessor "),s.push(pt(e,t,r),X(e),Kr(e),q(e,r));let i=n.type==="TSAbstractPropertyDefinition"||n.type==="TSAbstractAccessorProperty";return[ft(e,t,r,s," =",i?void 0:"value"),u]}function fi(e,t,r){let{node:n}=e,s=[];return e.each(({node:u,next:i,isLast:a})=>{s.push(r()),!t.semi&&mi(u)&&Fc(u,i)&&s.push(";"),a||(s.push(C),me(u,t)&&s.push(C))},"body"),d(n,x.Dangling)&&s.push(M(e,t)),[P(n.body)?Es(e.parent):"","{",s.length>0?[E([C,s]),C]:"","}"]}function Fc(e,t){var s;let{type:r,name:n}=e.key;if(!e.computed&&r==="Identifier"&&(n==="static"||n==="get"||n==="set")&&!e.value&&!e.typeAnnotation)return!0;if(!t||t.static||t.accessibility)return!1;if(!t.computed){let u=(s=t.key)==null?void 0:s.name;if(u==="in"||u==="instanceof")return!0}if(mi(t)&&t.variance&&!t.static&&!t.declare)return!0;switch(t.type){case"ClassProperty":case"PropertyDefinition":case"TSAbstractPropertyDefinition":return t.computed;case"MethodDefinition":case"TSAbstractMethodDefinition":case"ClassMethod":case"ClassPrivateMethod":{if((t.value?t.value.async:t.async)||t.kind==="get"||t.kind==="set")return!1;let i=t.value?t.value.generator:t.generator;return!!(t.computed||i)}case"TSIndexSignature":return!0}return!1}function Et(e,t,r){var R;let n=t.semi?";":"",{node:s}=e,u=s.type==="ObjectTypeAnnotation",i=s.type==="TSEnumDeclaration"||s.type==="EnumBooleanBody"||s.type==="EnumNumberBody"||s.type==="EnumStringBody"||s.type==="EnumSymbolBody",a=[s.type==="TSTypeLiteral"||i?"members":s.type==="TSInterfaceBody"?"body":"properties"];u&&a.push("indexers","callProperties","internalSlots");let o=a.flatMap(T=>e.map(({node:N})=>({node:N,printed:r(),loc:U(N)}),T));a.length>1&&o.sort((T,N)=>T.loc-N.loc);let{parent:p,key:m}=e,y=u&&m==="body"&&(p.type==="InterfaceDeclaration"||p.type==="DeclareInterface"||p.type==="DeclareClass"),c=s.type==="TSInterfaceBody"||i||y||s.type==="ObjectPattern"&&p.type!=="FunctionDeclaration"&&p.type!=="FunctionExpression"&&p.type!=="ArrowFunctionExpression"&&p.type!=="ObjectMethod"&&p.type!=="ClassMethod"&&p.type!=="ClassPrivateMethod"&&p.type!=="AssignmentPattern"&&p.type!=="CatchClause"&&s.properties.some(T=>T.value&&(T.value.type==="ObjectPattern"||T.value.type==="ArrayPattern"))||s.type!=="ObjectPattern"&&o.length>0&&yt(t.originalText,U(s),o[0].loc),f=y?";":s.type==="TSInterfaceBody"||s.type==="TSTypeLiteral"?b(n,";"):",",l=s.type==="RecordExpression"?"#{":s.exact?"{|":"{",h=s.exact?"|}":"}",g=[],S=o.map(T=>{let N=[...g,D(T.printed)];return g=[f,A],(T.node.type==="TSPropertySignature"||T.node.type==="TSMethodSignature"||T.node.type==="TSConstructSignatureDeclaration"||T.node.type==="TSCallSignatureDeclaration")&&d(T.node,x.PrettierIgnore)&&g.shift(),me(T.node,t)&&g.push(C),N});if(s.inexact||s.hasUnknownMembers){let T;if(d(s,x.Dangling)){let N=d(s,x.Line);T=[M(e,t),N||z(t.originalText,O(w(!1,Kt(s),-1)))?C:A,"..."]}else T=["..."];S.push([...g,...T])}let I=(R=w(!1,o,-1))==null?void 0:R.node,v=!(s.inexact||s.hasUnknownMembers||I&&(I.type==="RestElement"||(I.type==="TSPropertySignature"||I.type==="TSCallSignatureDeclaration"||I.type==="TSMethodSignature"||I.type==="TSConstructSignatureDeclaration")&&d(I,x.PrettierIgnore))),_;if(S.length===0){if(!d(s,x.Dangling))return[l,h,q(e,r)];_=D([l,M(e,t,{indent:!0}),F,h,X(e),q(e,r)])}else _=[y&&P(s.properties)?Es(p):"",l,E([t.bracketSpacing?A:F,...S]),b(v&&(f!==","||le(t))?f:""),t.bracketSpacing?A:F,h,X(e),q(e,r)];return e.match(T=>T.type==="ObjectPattern"&&!T.decorators,Fs)||ke(s)&&(e.match(void 0,(T,N)=>N==="typeAnnotation",(T,N)=>N==="typeAnnotation",Fs)||e.match(void 0,(T,N)=>T.type==="FunctionTypeParam"&&N==="typeAnnotation",Fs))||!c&&e.match(T=>T.type==="ObjectPattern",T=>T.type==="AssignmentExpression"||T.type==="VariableDeclarator")?_:D(_,{shouldBreak:c})}function Fs(e,t){return(t==="params"||t==="parameters"||t==="this"||t==="rest")&&ss(e)}var Cs=new WeakMap;function Ei(e){return Cs.has(e)||Cs.set(e,e.type==="ConditionalExpression"&&!re(e,t=>t.type==="ObjectExpression")),Cs.get(e)}var Fi=e=>e.type==="SequenceExpression";function Ci(e,t,r,n={}){let s=[],u,i=[],a=!1,o=!n.expandLastArg&&e.node.body.type==="ArrowFunctionExpression",p;(function g(){let{node:S}=e,I=Cc(e,t,r,n);if(s.length===0)s.push(I);else{let{leading:v,trailing:_}=Gn(e,t);s.push([v,I]),i.unshift(_)}o&&(a||(a=S.returnType&&Y(S).length>0||S.typeParameters||Y(S).some(v=>v.type!=="Identifier"))),!o||S.body.type!=="ArrowFunctionExpression"?(u=r("body",n),p=S.body):e.call(g,"body")})();let m=!Ie(t.originalText,p)&&(Fi(p)||dc(p,u,t)||!a&&Ei(p)),y=e.key==="callee"&&ut(e.parent),c=Symbol("arrow-chain"),f=Ac(e,n,{signatureDocs:s,shouldBreak:a}),l,h=!1;return o&&(y||n.assignmentLayout)&&(h=!0,l=n.assignmentLayout==="chain-tail-arrow-chain"||y&&!m),u=Tc(e,t,n,{bodyDoc:u,bodyComments:i,functionBody:p,shouldPutBodyOnSameLine:m}),D([D(h?E([F,f]):f,{shouldBreak:l,id:c})," =>",o?lt(u,{groupId:c}):D(u),o&&y?b(F,"",{groupId:c}):""])}function Cc(e,t,r,n){let{node:s}=e,u=[];if(s.async&&u.push("async "),pn(e,t))u.push(r(["params",0]));else{let a=n.expandLastArg||n.expandFirstArg,o=cn(e,r);if(a){if(K(o))throw new it;o=D(Ut(o))}u.push(D([at(e,r,t,a,!0),o]))}let i=M(e,t,{filter(a){let o=Xe(t.originalText,O(a));return o!==!1&&t.originalText.slice(o,o+2)==="=>"}});return i&&u.push(" ",i),u}function dc(e,t,r){var n,s;return G(e)||Z(e)||e.type==="ArrowFunctionExpression"||e.type==="DoExpression"||e.type==="BlockStatement"||V(e)||((n=t.label)==null?void 0:n.hug)!==!1&&(((s=t.label)==null?void 0:s.embed)||gr(e,r.originalText))}function Ac(e,t,{signatureDocs:r,shouldBreak:n}){if(r.length===1)return r[0];let{parent:s,key:u}=e;return u!=="callee"&&ut(s)||ce(s)?D([r[0]," =>",E([A,B([" =>",A],r.slice(1))])],{shouldBreak:n}):u==="callee"&&ut(s)||t.assignmentLayout?D(B([" =>",A],r),{shouldBreak:n}):D(E(B([" =>",A],r)),{shouldBreak:n})}function Tc(e,t,r,{bodyDoc:n,bodyComments:s,functionBody:u,shouldPutBodyOnSameLine:i}){let{node:a,parent:o}=e,p=r.expandLastArg&&le(t,"all")?b(","):"",m=(r.expandLastArg||o.type==="JSXExpressionContainer")&&!d(a)?F:"";return i&&Ei(u)?[" ",D([b("","("),E([F,n]),b("",")"),p,m]),s]:(Fi(u)&&(n=D(["(",E([F,n]),F,")"])),i?[" ",n,s]:[E([A,n,s]),p,m])}function ir(e,t,r,n){let{node:s}=e,u=[],i=xc(s[n]);return e.each(({node:a})=>{a.type!=="EmptyStatement"&&(u.push(r()),a!==i&&(u.push(C),me(a,t)&&u.push(C)))},n),u}function xc(e){for(let t=e.length-1;t>=0;t--){let r=e[t];if(r.type!=="EmptyStatement")return r}}function yn(e,t,r){let{node:n}=e,s=[];n.type==="StaticBlock"&&s.push("static "),s.push("{");let u=ds(e,t,r);if(u)s.push(E([C,u]),C);else{let{parent:i}=e,a=e.grandparent;i.type==="ArrowFunctionExpression"||i.type==="FunctionExpression"||i.type==="FunctionDeclaration"||i.type==="ObjectMethod"||i.type==="ClassMethod"||i.type==="ClassPrivateMethod"||i.type==="ForStatement"||i.type==="WhileStatement"||i.type==="DoWhileStatement"||i.type==="DoExpression"||i.type==="CatchClause"&&!a.finalizer||i.type==="TSModuleDeclaration"||i.type==="TSDeclareFunction"||n.type==="StaticBlock"||s.push(C)}return s.push("}"),s}function ds(e,t,r){var o;let{node:n}=e,s=P(n.directives),u=n.body.some(p=>p.type!=="EmptyStatement"),i=d(n,x.Dangling);if(!s&&!u&&!i)return"";let a=[];return s&&(a.push(ir(e,t,r,"directives")),(u||i)&&(a.push(C),me(w(!1,n.directives,-1),t)&&a.push(C))),u&&a.push(ir(e,t,r,"body")),i&&a.push(M(e,t)),n.type==="Program"&&((o=e.parent)==null?void 0:o.type)!=="ModuleExpression"&&a.push(C),a}function di(e,t){if(t.semi||As(e,t)||xs(e,t))return!1;let{node:r,key:n,parent:s}=e;return!!(r.type==="ExpressionStatement"&&(n==="body"&&(s.type==="Program"||s.type==="BlockStatement"||s.type==="StaticBlock"||s.type==="TSModuleBlock")||n==="consequent"&&s.type==="SwitchCase")&&e.call(()=>Ai(e,t),"expression"))}function Ai(e,t){let{node:r}=e;switch(r.type){case"ParenthesizedExpression":case"TypeCastExpression":case"ArrayExpression":case"ArrayPattern":case"TemplateLiteral":case"TemplateElement":case"RegExpLiteral":return!0;case"ArrowFunctionExpression":if(!pn(e,t))return!0;break;case"UnaryExpression":{let{prefix:n,operator:s}=r;if(n&&(s==="+"||s==="-"))return!0;break}case"BindExpression":if(!r.object)return!0;break;case"Literal":if(r.regex)return!0;break;default:if(V(r))return!0}return we(e,t)?!0:Lt(r)?e.call(()=>Ai(e,t),...Ar(r)):!1}function As({node:e,parent:t},r){return(r.parentParser==="markdown"||r.parentParser==="mdx")&&e.type==="ExpressionStatement"&&V(e.expression)&&t.type==="Program"&&t.body.length===1}function Ts(e){switch(e.type){case"MemberExpression":switch(e.property.type){case"Identifier":case"NumericLiteral":case"StringLiteral":return Ts(e.object)}return!1;case"Identifier":return!0;default:return!1}}function xs({node:e,parent:t},r){return(r.parser==="__vue_event_binding"||r.parser==="__vue_ts_event_binding")&&e.type==="ExpressionStatement"&&t.type==="Program"&&t.body.length===1}function Ti(e,t,r){let n=[r("expression")];return xs(e,t)?Ts(e.node.expression)&&n.push(";"):As(e,t)||t.semi&&n.push(";"),d(e.node,x.Dangling,({marker:s})=>s===zt)&&n.push(" ",M(e,t,{marker:zt})),n}function xi(e,t,r){if(t.__isVueBindings||t.__isVueForBindingLeft){let n=e.map(r,"program","body",0,"params");if(n.length===1)return n[0];let s=B([",",A],n);return t.__isVueForBindingLeft?["(",E([F,D(s)]),F,")"]:s}}function gi(e,t,r,n){let{node:s}=e;if(jr(s))return _u(e,t);let u=t.semi?";":"",i=[];switch(s.type){case"JsExpressionRoot":return r("node");case"JsonRoot":return[r("node"),C];case"File":return xi(e,t,r)??r("program");case"Program":return ds(e,t,r);case"EmptyStatement":return"";case"ExpressionStatement":return Ti(e,t,r);case"ChainExpression":return r("expression");case"ParenthesizedExpression":return!d(s.expression)&&(Z(s.expression)||G(s.expression))?["(",r("expression"),")"]:D(["(",E([F,r("expression")]),F,")"]);case"AssignmentExpression":return Mu(e,t,r);case"VariableDeclarator":return Ru(e,t,r);case"BinaryExpression":case"LogicalExpression":return wr(e,t,r);case"AssignmentPattern":return[r("left")," = ",r("right")];case"OptionalMemberExpression":case"MemberExpression":return Iu(e,t,r);case"MetaProperty":return[r("meta"),".",r("property")];case"BindExpression":return s.object&&i.push(r("object")),i.push(D(E([F,Or(e,t,r)]))),i;case"Identifier":return[s.name,X(e),Kr(e),q(e,r)];case"V8IntrinsicIdentifier":return["%",s.name];case"SpreadElement":case"SpreadElementPattern":case"SpreadPropertyPattern":case"RestElement":return zr(e,r);case"FunctionDeclaration":case"FunctionExpression":return an(e,r,t,n);case"ArrowFunctionExpression":return Ci(e,t,r,n);case"YieldExpression":return i.push("yield"),s.delegate&&i.push("*"),s.argument&&i.push(" ",r("argument")),i;case"AwaitExpression":if(i.push("await"),s.argument){i.push(" ",r("argument"));let{parent:a}=e;if(k(a)&&a.callee===s||J(a)&&a.object===s){i=[E([F,...i]),F];let o=e.findAncestor(p=>p.type==="AwaitExpression"||p.type==="BlockStatement");if((o==null?void 0:o.type)!=="AwaitExpression"||!re(o.argument,p=>p===s))return D(i)}}return i;case"ExportDefaultDeclaration":case"ExportNamedDeclaration":case"ExportAllDeclaration":return Qr(e,t,r);case"ImportDeclaration":return Vu(e,t,r);case"ImportSpecifier":case"ExportSpecifier":case"ImportNamespaceSpecifier":case"ExportNamespaceSpecifier":case"ImportDefaultSpecifier":case"ExportDefaultSpecifier":return ei(e,t,r);case"ImportAttribute":return[r("key"),": ",r("value")];case"Import":return"import";case"BlockStatement":case"StaticBlock":return yn(e,t,r);case"ClassBody":return fi(e,t,r);case"ThrowStatement":return li(e,t,r);case"ReturnStatement":return ci(e,t,r);case"NewExpression":case"ImportExpression":case"OptionalCallExpression":case"CallExpression":return vr(e,t,r);case"ObjectExpression":case"ObjectPattern":case"RecordExpression":return Et(e,t,r);case"ObjectProperty":case"Property":return s.method||s.kind==="get"||s.kind==="set"?ur(e,t,r):oi(e,t,r);case"ObjectMethod":return ur(e,t,r);case"Decorator":return["@",r("expression")];case"ArrayExpression":case"ArrayPattern":case"TupleExpression":return vt(e,t,r);case"SequenceExpression":{let{parent:a}=e;if(a.type==="ExpressionStatement"||a.type==="ForStatement"){let o=[];return e.each(({isFirst:p})=>{p?o.push(r()):o.push(",",E([A,r()]))},"expressions"),D(o)}return D(B([",",A],e.map(r,"expressions")))}case"ThisExpression":return"this";case"Super":return"super";case"Directive":return[r("value"),u];case"UnaryExpression":return i.push(s.operator),/[a-z]$/.test(s.operator)&&i.push(" "),d(s.argument)?i.push(D(["(",E([F,r("argument")]),F,")"])):i.push(r("argument")),i;case"UpdateExpression":return i.push(r("argument"),s.operator),s.prefix&&i.reverse(),i;case"ConditionalExpression":return Mt(e,t,r);case"VariableDeclaration":{let a=e.map(r,"declarations"),o=e.parent,p=o.type==="ForStatement"||o.type==="ForInStatement"||o.type==="ForOfStatement",m=s.declarations.some(c=>c.init),y;return a.length===1&&!d(s.declarations[0])?y=a[0]:a.length>0&&(y=E(a[0])),i=[Q(e),s.kind,y?[" ",y]:"",E(a.slice(1).map(c=>[",",m&&!p?C:A,c]))],p&&o.body!==s||i.push(u),D(i)}case"WithStatement":return D(["with (",r("object"),")",ot(s.body,r("body"))]);case"IfStatement":{let a=ot(s.consequent,r("consequent")),o=D(["if (",D([E([F,r("test")]),F]),")",a]);if(i.push(o),s.alternate){let p=d(s.consequent,x.Trailing|x.Line)||hr(s),m=s.consequent.type==="BlockStatement"&&!p;i.push(m?" ":C),d(s,x.Dangling)&&i.push(M(e,t),p?C:" "),i.push("else",D(ot(s.alternate,r("alternate"),s.alternate.type==="IfStatement")))}return i}case"ForStatement":{let a=ot(s.body,r("body")),o=M(e,t),p=o?[o,F]:"";return!s.init&&!s.test&&!s.update?[p,D(["for (;;)",a])]:[p,D(["for (",D([E([F,r("init"),";",A,r("test"),";",A,r("update")]),F]),")",a])]}case"WhileStatement":return D(["while (",D([E([F,r("test")]),F]),")",ot(s.body,r("body"))]);case"ForInStatement":return D(["for (",r("left")," in ",r("right"),")",ot(s.body,r("body"))]);case"ForOfStatement":return D(["for",s.await?" await":""," (",r("left")," of ",r("right"),")",ot(s.body,r("body"))]);case"DoWhileStatement":{let a=ot(s.body,r("body"));return i=[D(["do",a])],s.body.type==="BlockStatement"?i.push(" "):i.push(C),i.push("while (",D([E([F,r("test")]),F]),")",u),i}case"DoExpression":return[s.async?"async ":"","do ",r("body")];case"BreakStatement":case"ContinueStatement":return i.push(s.type==="BreakStatement"?"break":"continue"),s.label&&i.push(" ",r("label")),i.push(u),i;case"LabeledStatement":return s.body.type==="EmptyStatement"?[r("label"),":;"]:[r("label"),": ",r("body")];case"TryStatement":return["try ",r("block"),s.handler?[" ",r("handler")]:"",s.finalizer?[" finally ",r("finalizer")]:""];case"CatchClause":if(s.param){let a=d(s.param,p=>!ae(p)||p.leading&&z(t.originalText,O(p))||p.trailing&&z(t.originalText,U(p),{backwards:!0})),o=r("param");return["catch ",a?["(",E([F,o]),F,") "]:["(",o,") "],r("body")]}return["catch ",r("body")];case"SwitchStatement":return[D(["switch (",E([F,r("discriminant")]),F,")"])," {",s.cases.length>0?E([C,B(C,e.map(({node:a,isLast:o})=>[r(),!o&&me(a,t)?C:""],"cases"))]):"",C,"}"];case"SwitchCase":{s.test?i.push("case ",r("test"),":"):i.push("default:"),d(s,x.Dangling)&&i.push(" ",M(e,t));let a=s.consequent.filter(o=>o.type!=="EmptyStatement");if(a.length>0){let o=ir(e,t,r,"consequent");i.push(a.length===1&&a[0].type==="BlockStatement"?[" ",o]:E([C,o]))}return i}case"DebuggerStatement":return["debugger",u];case"ClassDeclaration":case"ClassExpression":return ln(e,t,r);case"ClassMethod":case"ClassPrivateMethod":case"MethodDefinition":return mn(e,t,r);case"ClassProperty":case"PropertyDefinition":case"ClassPrivateProperty":case"ClassAccessorProperty":case"AccessorProperty":return Dn(e,t,r);case"TemplateElement":return Te(s.value.raw);case"TemplateLiteral":return en(e,r,t);case"TaggedTemplateExpression":return ui(r);case"PrivateIdentifier":return["#",s.name];case"PrivateName":return["#",r("id")];case"TopicReference":return"%";case"ArgumentPlaceholder":return"?";case"ModuleExpression":{i.push("module {");let a=r("body");return a&&i.push(E([C,a]),C),i.push("}"),i}case"InterpreterDirective":default:throw new Oe(s,"ESTree")}}function Si(e,t,r){let{node:n}=e;if(n.type.startsWith("NG"))switch(n.type){case"NGRoot":return[r("node"),d(n.node)?" //"+Kt(n.node)[0].value.trimEnd():""];case"NGPipeExpression":return wr(e,t,r);case"NGChainedExpression":return D(B([";",A],e.map(()=>hc(e)?r():["(",r(),")"],"expressions")));case"NGEmptyExpression":return"";case"NGMicrosyntax":return e.map(()=>[e.isFirst?"":hi(e)?" ":[";",A],r()],"body");case"NGMicrosyntaxKey":return/^[$_a-z][\w$]*(?:-[$_a-z][\w$])*$/i.test(n.name)?n.name:JSON.stringify(n.name);case"NGMicrosyntaxExpression":return[r("expression"),n.alias===null?"":[" as ",r("alias")]];case"NGMicrosyntaxKeyedExpression":{let{index:s,parent:u}=e,i=hi(e)||(s===1&&(n.key.name==="then"||n.key.name==="else")||s===2&&n.key.name==="else"&&u.body[s-1].type==="NGMicrosyntaxKeyedExpression"&&u.body[s-1].key.name==="then")&&u.body[0].type==="NGMicrosyntaxExpression";return[r("key"),i?" ":": ",r("expression")]}case"NGMicrosyntaxLet":return["let ",r("key"),n.value===null?"":[" = ",r("value")]];case"NGMicrosyntaxAs":return[r("key")," as ",r("alias")];default:throw new Oe(n,"Angular")}}function hi({node:e,index:t,parent:r}){return e.type==="NGMicrosyntaxKeyedExpression"&&e.key.name==="of"&&t===1&&r.body[0].type==="NGMicrosyntaxLet"&&r.body[0].value===null}var gc=j(["CallExpression","OptionalCallExpression","AssignmentExpression"]);function hc({node:e}){return Xt(e,gc)}function fn(e,t,r){let{node:n}=e,s=[Q(e),"interface"],u=[],i=[];n.type!=="InterfaceTypeAnnotation"&&u.push(" ",r("id"),r("typeParameters"));let a=n.typeParameters&&!d(n.typeParameters,x.Trailing|x.Line);return P(n.extends)&&i.push(a?b(" ",A,{groupId:nr(n.typeParameters)}):A,"extends ",(n.extends.length===1?nu:E)(B([",",A],e.map(r,"extends")))),d(n.id,x.Trailing)||P(n.extends)?a?s.push(D([...u,E(i)])):s.push(D(E([...u,...i]))):s.push(...u,...i),s.push(" ",r("body")),D(s)}function Bi(e,t,r){return Et(e,r,t)}function En(e,t){let{node:r}=e,n=t("id");r.computed&&(n=["[",n,"]"]);let s="";return r.initializer&&(s=t("initializer")),r.init&&(s=t("init")),s?[n," = ",s]:n}function bi(e,t,r){let{node:n}=e,s;if(n.type==="EnumSymbolBody"||n.explicitType)switch(n.type){case"EnumBooleanBody":s="boolean";break;case"EnumNumberBody":s="number";break;case"EnumStringBody":s="string";break;case"EnumSymbolBody":s="symbol";break}return[s?`of ${s} `:"",Bi(e,t,r)]}function Fn(e,t,r){let{node:n}=e;return[Q(e),n.const?"const ":"","enum ",t("id")," ",n.type==="TSEnumDeclaration"?Bi(e,t,r):t("body")]}function Pi(e,t,r){let{node:n}=e;if(Fr(n))return n.type.slice(0,-14).toLowerCase();let s=t.semi?";":"";switch(n.type){case"DeclareClass":return ln(e,t,r);case"DeclareFunction":return[Q(e),"function ",r("id"),r("predicate"),s];case"DeclareModule":return["declare module ",r("id")," ",r("body")];case"DeclareModuleExports":return["declare module.exports",q(e,r),s];case"DeclareVariable":return[Q(e),n.kind??"var"," ",r("id"),s];case"DeclareExportDeclaration":case"DeclareExportAllDeclaration":return Qr(e,t,r);case"DeclareOpaqueType":case"OpaqueType":return Gu(e,t,r);case"DeclareTypeAlias":case"TypeAlias":return Rr(e,t,r);case"IntersectionTypeAnnotation":return Jr(e,t,r);case"UnionTypeAnnotation":return Nr(e,t,r);case"ConditionalTypeAnnotation":return Mt(e,t,r);case"InferTypeAnnotation":return qr(e,t,r);case"FunctionTypeAnnotation":return Ur(e,t,r);case"TupleTypeAnnotation":return vt(e,t,r);case"TupleTypeLabeledElement":return Yr(e,t,r);case"TupleTypeSpreadElement":return Wr(e,t,r);case"GenericTypeAnnotation":return[r("id"),gt(e,t,r,"typeParameters")];case"IndexedAccessType":case"OptionalIndexedAccessType":return Gr(e,t,r);case"TypeAnnotation":return Xr(e,t,r);case"TypeParameter":return nn(e,t,r);case"TypeofTypeAnnotation":return Vr(e,r);case"ExistsTypeAnnotation":return"*";case"ArrayTypeAnnotation":return $r(r);case"DeclareEnum":case"EnumDeclaration":return Fn(e,r,t);case"EnumBooleanBody":case"EnumNumberBody":case"EnumStringBody":case"EnumSymbolBody":return bi(e,r,t);case"EnumBooleanMember":case"EnumNumberMember":case"EnumStringMember":case"EnumDefaultedMember":return En(e,r);case"FunctionTypeParam":{let u=n.name?r("name"):e.parent.this===n?"this":"";return[u,X(e),u?": ":"",r("typeAnnotation")]}case"DeclareInterface":case"InterfaceDeclaration":case"InterfaceTypeAnnotation":return fn(e,t,r);case"ClassImplements":case"InterfaceExtends":return[r("id"),r("typeParameters")];case"NullableTypeAnnotation":return["?",r("typeAnnotation")];case"Variance":{let{kind:u}=n;return sn.ok(u==="plus"||u==="minus"),u==="plus"?"+":"-"}case"KeyofTypeAnnotation":return["keyof ",r("argument")];case"ObjectTypeCallProperty":return[n.static?"static ":"",r("value")];case"ObjectTypeMappedTypeProperty":return ii(e,t,r);case"ObjectTypeIndexer":return[n.static?"static ":"",n.variance?r("variance"):"","[",r("id"),n.id?": ":"",r("key"),"]: ",r("value")];case"ObjectTypeProperty":{let u="";return n.proto?u="proto ":n.static&&(u="static "),[u,_n(n)?n.kind+" ":"",n.variance?r("variance"):"",pt(e,t,r),X(e),jn(n)?"":": ",r("value")]}case"ObjectTypeAnnotation":return Et(e,t,r);case"ObjectTypeInternalSlot":return[n.static?"static ":"","[[",r("id"),"]]",X(e),n.method?"":": ",r("value")];case"ObjectTypeSpreadProperty":return zr(e,r);case"QualifiedTypeofIdentifier":case"QualifiedTypeIdentifier":return[r("qualification"),".",r("id")];case"NullLiteralTypeAnnotation":return"null";case"BooleanLiteralTypeAnnotation":return String(n.value);case"StringLiteralTypeAnnotation":return Te(Tt(oe(n),t));case"NumberLiteralTypeAnnotation":return He(n.raw??n.extra.raw);case"BigIntLiteralTypeAnnotation":return _r(n.raw??n.extra.raw);case"TypeCastExpression":return["(",r("expression"),q(e,r),")"];case"TypePredicate":return Hr(e,r);case"TypeParameterDeclaration":case"TypeParameterInstantiation":return gt(e,t,r,"params");case"InferredPredicate":case"DeclaredPredicate":return[e.key==="predicate"&&e.parent.type!=="DeclareFunction"&&!e.parent.returnType?": ":" ","%checks",...n.type==="DeclaredPredicate"?["(",r("value"),")"]:[]]}}function ki(e,t,r){var i;let{node:n}=e;if(!n.type.startsWith("TS"))return;if(Cr(n))return n.type.slice(2,-7).toLowerCase();let s=t.semi?";":"",u=[];switch(n.type){case"TSThisType":return"this";case"TSTypeAssertion":{let a=!(G(n.expression)||Z(n.expression)),o=D(["<",E([F,r("typeAnnotation")]),F,">"]),p=[b("("),E([F,r("expression")]),F,b(")")];return a?qe([[o,r("expression")],[o,D(p,{shouldBreak:!0})],[o,r("expression")]]):D([o,r("expression")])}case"TSDeclareFunction":return an(e,r,t);case"TSExportAssignment":return["export = ",r("expression"),s];case"TSModuleBlock":return yn(e,t,r);case"TSInterfaceBody":case"TSTypeLiteral":return Et(e,t,r);case"TSTypeAliasDeclaration":return Rr(e,t,r);case"TSQualifiedName":return[r("left"),".",r("right")];case"TSAbstractMethodDefinition":case"TSDeclareMethod":return mn(e,t,r);case"TSAbstractAccessorProperty":case"TSAbstractPropertyDefinition":return Dn(e,t,r);case"TSInterfaceHeritage":case"TSClassImplements":case"TSExpressionWithTypeArguments":case"TSInstantiationExpression":return[r("expression"),r("typeParameters")];case"TSTemplateLiteralType":return en(e,r,t);case"TSNamedTupleMember":return Yr(e,t,r);case"TSRestType":return Wr(e,t,r);case"TSOptionalType":return[r("typeAnnotation"),"?"];case"TSInterfaceDeclaration":return fn(e,t,r);case"TSTypeParameterDeclaration":case"TSTypeParameterInstantiation":return gt(e,t,r,"params");case"TSTypeParameter":return nn(e,t,r);case"TSAsExpression":case"TSSatisfiesExpression":{let a=n.type==="TSAsExpression"?"as":"satisfies";u.push(r("expression"),` ${a} `,r("typeAnnotation"));let{parent:o}=e;return k(o)&&o.callee===n||J(o)&&o.object===n?D([E([F,...u]),F]):u}case"TSArrayType":return $r(r);case"TSPropertySignature":return[n.readonly?"readonly ":"",pt(e,t,r),X(e),q(e,r)];case"TSParameterProperty":return[jt(n),n.static?"static ":"",n.override?"override ":"",n.readonly?"readonly ":"",r("parameter")];case"TSTypeQuery":return Vr(e,r);case"TSIndexSignature":{let a=n.parameters.length>1?b(le(t)?",":""):"",o=D([E([F,B([", ",F],e.map(r,"parameters"))]),a,F]),p=e.parent.type==="ClassBody"&&e.key==="body";return[p&&n.static?"static ":"",n.readonly?"readonly ":"","[",n.parameters?o:"","]",q(e,r),p?s:""]}case"TSTypePredicate":return Hr(e,r);case"TSNonNullExpression":return[r("expression"),"!"];case"TSImportType":return[n.isTypeOf?"typeof ":"","import(",r(n.parameter?"parameter":"argument"),")",n.qualifier?[".",r("qualifier")]:"",gt(e,t,r,"typeParameters")];case"TSLiteralType":return r("literal");case"TSIndexedAccessType":return Gr(e,t,r);case"TSTypeOperator":return[n.operator," ",r("typeAnnotation")];case"TSMappedType":return ai(e,t,r);case"TSMethodSignature":{let a=n.kind&&n.kind!=="method"?`${n.kind} `:"";u.push(jt(n),a,n.computed?"[":"",r("key"),n.computed?"]":"",X(e));let o=at(e,r,t,!1,!0),p=n.returnType?"returnType":"typeAnnotation",m=n[p],y=m?q(e,r,p):"",c=xt(n,y);return u.push(c?D(o):o),m&&u.push(D(y)),D(u)}case"TSNamespaceExportDeclaration":return["export as namespace ",r("id"),t.semi?";":""];case"TSEnumDeclaration":return Fn(e,r,t);case"TSEnumMember":return En(e,r);case"TSImportEqualsDeclaration":return[n.isExport?"export ":"","import ",ps(n,!1),r("id")," = ",r("moduleReference"),t.semi?";":""];case"TSExternalModuleReference":return["require(",r("expression"),")"];case"TSModuleDeclaration":{let{parent:a}=e,o=a.type==="TSModuleDeclaration",p=((i=n.body)==null?void 0:i.type)==="TSModuleDeclaration";if(o)u.push(".");else if(u.push(Q(e)),!(n.kind==="global"||n.global)){let y=n.kind??(ee(n.id)||/(?:^|\s)module(?:\s|$)/.test(t.originalText.slice(U(n),U(n.id)))?"module":"namespace");u.push(y," ")}return u.push(r("id")),p?u.push(r("body")):n.body?u.push(" ",D(r("body"))):u.push(s),u}case"TSConditionalType":return Mt(e,t,r);case"TSInferType":return qr(e,t,r);case"TSIntersectionType":return Jr(e,t,r);case"TSUnionType":return Nr(e,t,r);case"TSFunctionType":case"TSCallSignatureDeclaration":case"TSConstructorType":case"TSConstructSignatureDeclaration":return Ur(e,t,r);case"TSTupleType":return vt(e,t,r);case"TSTypeReference":return[r("typeName"),gt(e,t,r,"typeParameters")];case"TSTypeAnnotation":return Xr(e,t,r);case"TSEmptyBodyFunctionExpression":return on(e,t,r);case"TSJSDocAllType":return"*";case"TSJSDocUnknownType":return"?";case"TSJSDocNullableType":return is(e,r,"?");case"TSJSDocNonNullableType":return is(e,r,"!");case"TSParenthesizedType":default:throw new Oe(n,"TypeScript")}}function Sc(e,t,r,n){if(Lr(e))return Is(e,t);for(let s of[Si,Su,Pi,ki,gi]){let u=s(e,t,r,n);if(u!==void 0)return u}}var Bc=j(["ClassMethod","ClassPrivateMethod","ClassProperty","ClassAccessorProperty","AccessorProperty","TSAbstractAccessorProperty","PropertyDefinition","TSAbstractPropertyDefinition","ClassPrivateProperty","MethodDefinition","TSAbstractMethodDefinition","TSDeclareMethod"]);function bc(e,t,r,n){var y;e.isRoot&&((y=t.__onHtmlBindingRoot)==null||y.call(t,e.node,t));let s=Sc(e,t,r,n);if(!s)return"";let{node:u}=e;if(Bc(u))return s;let i=P(u.decorators),a=Yu(e,t,r),o=u.type==="ClassExpression";if(i&&!o)return Gt(s,c=>D([a,c]));let p=we(e,t),m=di(e,t);return!a&&!p&&!m?s:Gt(s,c=>[m?";":"",p?"(":"",p&&o&&i?[E([A,a,c]),A]:[a,c],p?")":""])}var Ii=bc;var Li=[(e,t)=>e.type==="ObjectExpression"&&t==="properties",(e,t)=>e.type==="CallExpression"&&e.callee.type==="Identifier"&&e.callee.name==="Component"&&t==="arguments",(e,t)=>e.type==="Decorator"&&t==="expression"];function wi(e){return e.match(t=>t.type==="TemplateLiteral",(t,r)=>G(t)&&r==="elements",(t,r)=>fe(t)&&t.key.type==="Identifier"&&t.key.name==="styles"&&r==="value",...Li)}function Oi(e){return e.match(t=>t.type==="TemplateLiteral",(t,r)=>fe(t)&&t.key.type==="Identifier"&&t.key.name==="template"&&r==="value",...Li)}function Cn(e,t){return d(e,x.Block|x.Leading,({value:r})=>r===` ${t} `)}async function Pc(e,t,r){let{node:n}=r,s=n.quasis.map(m=>m.value.raw),u=0,i=s.reduce((m,y,c)=>c===0?y:m+"@prettier-placeholder-"+u+++"-id"+y,""),a=await e(i,{parser:"scss"}),o=Rt(r,t),p=kc(a,o);if(!p)throw new Error("Couldn't insert all the expressions");return["`",E([C,p]),F,"`"]}function kc(e,t){if(!P(t))return e;let r=0,n=st(Bt(e),s=>typeof s!="string"||!s.includes("@prettier-placeholder")?s:s.split(/@prettier-placeholder-(\d+)-id/).map((u,i)=>i%2===0?Te(u):(r++,t[u])));return t.length===r?n:null}function Ic({node:e,parent:t,grandparent:r}){return r&&e.quasis&&t.type==="JSXExpressionContainer"&&r.type==="JSXElement"&&r.openingElement.name.name==="style"&&r.openingElement.attributes.some(n=>n.name.name==="jsx")||(t==null?void 0:t.type)==="TaggedTemplateExpression"&&t.tag.type==="Identifier"&&t.tag.name==="css"||(t==null?void 0:t.type)==="TaggedTemplateExpression"&&t.tag.type==="MemberExpression"&&t.tag.object.name==="css"&&(t.tag.property.name==="global"||t.tag.property.name==="resolve")}function dn(e){return e.type==="Identifier"&&e.name==="styled"}function vi(e){return/^[A-Z]/.test(e.object.name)&&e.property.name==="extend"}function Lc({parent:e}){if(!e||e.type!=="TaggedTemplateExpression")return!1;let t=e.tag.type==="ParenthesizedExpression"?e.tag.expression:e.tag;switch(t.type){case"MemberExpression":return dn(t.object)||vi(t);case"CallExpression":return dn(t.callee)||t.callee.type==="MemberExpression"&&(t.callee.object.type==="MemberExpression"&&(dn(t.callee.object.object)||vi(t.callee.object))||t.callee.object.type==="CallExpression"&&dn(t.callee.object.callee));case"Identifier":return t.name==="css";default:return!1}}function wc({parent:e,grandparent:t}){return(t==null?void 0:t.type)==="JSXAttribute"&&e.type==="JSXExpressionContainer"&&t.name.type==="JSXIdentifier"&&t.name.name==="css"}function Oc(e){if(Ic(e)||Lc(e)||wc(e)||wi(e))return Pc}var _i=Oc;async function vc(e,t,r){let{node:n}=r,s=n.quasis.length,u=Rt(r,t),i=[];for(let a=0;a2&&c[0].trim()===""&&c[1].trim()==="",g=f>2&&c[f-1].trim()===""&&c[f-2].trim()==="",S=c.every(v=>/^\s*(?:#[^\n\r]*)?$/.test(v));if(!m&&/#[^\n\r]*$/.test(c[f-1]))return null;let I=null;S?I=_c(c):I=await e(y,{parser:"graphql"}),I?(I=tn(I,!1),!p&&h&&i.push(""),i.push(I),!m&&g&&i.push("")):!p&&!m&&h&&i.push(""),l&&i.push(l)}return["`",E([C,B(C,i)]),C,"`"]}function _c(e){let t=[],r=!1,n=e.map(s=>s.trim());for(let[s,u]of n.entries())u!==""&&(n[s-1]===""&&r?t.push([C,u]):t.push(u),r=!0);return t.length===0?null:B(C,t)}function jc({node:e,parent:t}){return Cn(e,"GraphQL")||t&&(t.type==="TaggedTemplateExpression"&&(t.tag.type==="MemberExpression"&&t.tag.object.name==="graphql"&&t.tag.property.name==="experimental"||t.tag.type==="Identifier"&&(t.tag.name==="gql"||t.tag.name==="graphql"))||t.type==="CallExpression"&&t.callee.type==="Identifier"&&t.callee.name==="graphql")}function Mc(e){if(jc(e))return vc}var ji=Mc;var gs=0;async function Mi(e,t,r,n,s){let{node:u}=n,i=gs;gs=gs+1>>>0;let a=S=>`PRETTIER_HTML_PLACEHOLDER_${S}_${i}_IN_JS`,o=u.quasis.map((S,I,v)=>I===v.length-1?S.value.cooked:S.value.cooked+a(I)).join(""),p=Rt(n,r),m=new RegExp(a("(\\d+)"),"g"),y=0,c=await t(o,{parser:e,__onHtmlRoot(S){y=S.children.length}}),f=st(c,S=>{if(typeof S!="string")return S;let I=[],v=S.split(m);for(let _=0;_1?E(D(f)):D(f),h,"`"]))}function Rc(e){return Cn(e.node,"HTML")||e.match(t=>t.type==="TemplateLiteral",(t,r)=>t.type==="TaggedTemplateExpression"&&t.tag.type==="Identifier"&&t.tag.name==="html"&&r==="quasi")}var Jc=Mi.bind(void 0,"html"),Nc=Mi.bind(void 0,"angular");function Uc(e){if(Rc(e))return Jc;if(Oi(e))return Nc}var Ri=Uc;async function Gc(e,t,r){let{node:n}=r,s=H(!1,n.quasis[0].value.raw,/((?:\\\\)*)\\`/g,(o,p)=>"\\".repeat(p.length/2)+"`"),u=qc(s),i=u!=="";i&&(s=H(!1,s,new RegExp(`^${u}`,"gm"),""));let a=tn(await e(s,{parser:"markdown",__inJsTemplate:!0}),!0);return["`",i?E([F,a]):[mr,Os(a)],F,"`"]}function qc(e){let t=e.match(/^([^\S\n]*)\S/m);return t===null?"":t[1]}function Wc(e){if(Yc(e))return Gc}function Yc({node:e,parent:t}){return(t==null?void 0:t.type)==="TaggedTemplateExpression"&&e.quasis.length===1&&t.tag.type==="Identifier"&&(t.tag.name==="md"||t.tag.name==="markdown")}var Ji=Wc;function Xc(e){let{node:t}=e;if(t.type!=="TemplateLiteral"||$c(t))return;let r;for(let n of[_i,ji,Ri,Ji])if(r=n(e),!!r)return t.quasis.length===1&&t.quasis[0].value.raw.trim()===""?"``":async(...s)=>{let u=await r(...s);return u&&et({embed:!0,...u.label},u)}}function $c({quasis:e}){return e.some(({value:{cooked:t}})=>t===null)}var Ni=Xc;var Vc=new Set(["range","raw","comments","leadingComments","trailingComments","innerComments","extra","start","end","loc","flags","errors","tokens"]),Jt=e=>{for(let t of e.quasis)delete t.value};function Ui(e,t,r){var s,u;if(e.type==="Program"&&delete t.sourceType,(e.type==="BigIntLiteral"||e.type==="BigIntLiteralTypeAnnotation")&&t.value&&(t.value=t.value.toLowerCase()),(e.type==="BigIntLiteral"||e.type==="Literal")&&t.bigint&&(t.bigint=t.bigint.toLowerCase()),e.type==="DecimalLiteral"&&(t.value=Number(t.value)),e.type==="Literal"&&t.decimal&&(t.decimal=Number(t.decimal)),e.type==="EmptyStatement"||e.type==="JSXText"||e.type==="JSXExpressionContainer"&&(e.expression.type==="Literal"||e.expression.type==="StringLiteral")&&e.expression.value===" ")return null;if((e.type==="Property"||e.type==="ObjectProperty"||e.type==="MethodDefinition"||e.type==="ClassProperty"||e.type==="ClassMethod"||e.type==="PropertyDefinition"||e.type==="TSDeclareMethod"||e.type==="TSPropertySignature"||e.type==="ObjectTypeProperty")&&typeof e.key=="object"&&e.key&&(e.key.type==="Literal"||e.key.type==="NumericLiteral"||e.key.type==="StringLiteral"||e.key.type==="Identifier")&&delete t.key,e.type==="JSXElement"&&e.openingElement.name.name==="style"&&e.openingElement.attributes.some(i=>i.name.name==="jsx"))for(let{type:i,expression:a}of t.children)i==="JSXExpressionContainer"&&a.type==="TemplateLiteral"&&Jt(a);e.type==="JSXAttribute"&&e.name.name==="css"&&e.value.type==="JSXExpressionContainer"&&e.value.expression.type==="TemplateLiteral"&&Jt(t.value.expression),e.type==="JSXAttribute"&&((s=e.value)==null?void 0:s.type)==="Literal"&&/["']|"|'/.test(e.value.value)&&(t.value.value=H(!1,t.value.value,/["']|"|'/g,'"'));let n=e.expression||e.callee;if(e.type==="Decorator"&&n.type==="CallExpression"&&n.callee.name==="Component"&&n.arguments.length===1){let i=e.expression.arguments[0].properties;for(let[a,o]of t.expression.arguments[0].properties.entries())switch(i[a].key.name){case"styles":G(o.value)&&Jt(o.value.elements[0]);break;case"template":o.value.type==="TemplateLiteral"&&Jt(o.value);break}}if(e.type==="TaggedTemplateExpression"&&(e.tag.type==="MemberExpression"||e.tag.type==="Identifier"&&(e.tag.name==="gql"||e.tag.name==="graphql"||e.tag.name==="css"||e.tag.name==="md"||e.tag.name==="markdown"||e.tag.name==="html")||e.tag.type==="CallExpression")&&Jt(t.quasi),e.type==="TemplateLiteral"&&((u=e.leadingComments)!=null&&u.some(a=>ae(a)&&["GraphQL","HTML"].some(o=>a.value===` ${o} `))||r.type==="CallExpression"&&r.callee.name==="graphql"||!e.leadingComments)&&Jt(t),(e.type==="TSIntersectionType"||e.type==="TSUnionType")&&e.types.length===1)return t.types[0];e.type==="ChainExpression"&&e.expression.type==="TSNonNullExpression"&&([t.type,t.expression.type]=[t.expression.type,t.type])}Ui.ignoredProperties=Vc;var Gi=Ui;var Ft=ma(Hi(),1);function sl(e){if(!e.startsWith("#!"))return"";let t=e.indexOf(` -`);return t===-1?e:e.slice(0,t)}var Ki=sl;function ul(e){let t=Ki(e);t&&(e=e.slice(t.length+1));let r=(0,Ft.extract)(e),{pragmas:n,comments:s}=(0,Ft.parseWithComments)(r);return{shebang:t,text:e,pragmas:n,comments:s}}function zi(e){let{shebang:t,text:r,pragmas:n,comments:s}=ul(e),u=(0,Ft.strip)(r),i=(0,Ft.print)({pragmas:{format:"",...n},comments:s.trimStart()});return(t?`${t} +`}}var Se=Symbol("MODE_BREAK"),at=Symbol("MODE_FLAT"),ar=Symbol("cursor");function qu(){return{value:"",length:0,queue:[]}}function Cp(e,t){return Qn(e,{type:"indent"},t)}function Ap(e,t,r){return t===Number.NEGATIVE_INFINITY?e.root||qu():t<0?Qn(e,{type:"dedent"},r):t?t.type==="root"?{...e,root:e}:Qn(e,{type:typeof t=="string"?"stringAlign":"numberAlign",n:t},r):e}function Qn(e,t,r){let n=t.type==="dedent"?e.queue.slice(0,-1):[...e.queue,t],s="",u=0,i=0,a=0;for(let p of n)switch(p.type){case"indent":m(),r.useTabs?o(1):c(r.tabWidth);break;case"stringAlign":m(),s+=p.n,u+=p.n.length;break;case"numberAlign":i+=1,a+=p.n;break;default:throw new Error(`Unexpected type '${p.type}'`)}return y(),{...e,value:s,length:u,queue:n};function o(p){s+=" ".repeat(p),u+=r.tabWidth*p}function c(p){s+=" ".repeat(p),u+=p}function m(){r.useTabs?D():y()}function D(){i>0&&o(i),C()}function y(){a>0&&c(a),C()}function C(){i=0,a=0}}function Zn(e){let t=0,r=0,n=e.length;e:for(;n--;){let s=e[n];if(s===ar){r++;continue}for(let u=s.length-1;u>=0;u--){let i=s[u];if(i===" "||i===" ")t++;else{e[n]=s.slice(0,u+1);break e}}}if(t>0||r>0)for(e.length=n+1;r-- >0;)e.push(ar);return t}function Jr(e,t,r,n,s,u){if(r===Number.POSITIVE_INFINITY)return!0;let i=t.length,a=[e],o=[];for(;r>=0;){if(a.length===0){if(i===0)return!0;a.push(t[--i]);continue}let{mode:c,doc:m}=a.pop(),D=ut(m);switch(D){case rt:o.push(m),r-=et(m);break;case _e:case Pe:{let y=D===_e?m:m.parts;for(let C=y.length-1;C>=0;C--)a.push({mode:c,doc:y[C]});break}case Xe:case Ye:case He:case je:a.push({mode:c,doc:m.contents});break;case st:r+=Zn(o);break;case le:{if(u&&m.break)return!1;let y=m.break?Se:c,C=m.expandedStates&&y===Se?O(!1,m.expandedStates,-1):m.contents;a.push({mode:y,doc:C});break}case xe:{let C=(m.groupId?s[m.groupId]||at:c)===Se?m.breakContents:m.flatContents;C&&a.push({mode:c,doc:C});break}case me:if(c===Se||m.hard)return!0;m.soft||(o.push(" "),r--);break;case Ve:n=!0;break;case $e:if(n)return!1;break}}return!1}function es(e,t){let r={},n=t.printWidth,s=Ju(t.endOfLine),u=0,i=[{ind:qu(),mode:Se,doc:e}],a=[],o=!1,c=[],m=0;for(Su(e);i.length>0;){let{ind:y,mode:C,doc:p}=i.pop();switch(ut(p)){case rt:{let A=s!==` +`?N(!1,p,` +`,s):p;a.push(A),i.length>0&&(u+=et(A));break}case _e:for(let A=p.length-1;A>=0;A--)i.push({ind:y,mode:C,doc:p[A]});break;case nt:if(m>=2)throw new Error("There are too many 'cursor' in doc.");a.push(ar),m++;break;case Xe:i.push({ind:Cp(y,t),mode:C,doc:p.contents});break;case Ye:i.push({ind:Ap(y,p.n,t),mode:C,doc:p.contents});break;case st:u-=Zn(a);break;case le:switch(C){case at:if(!o){i.push({ind:y,mode:p.break?Se:at,doc:p.contents});break}case Se:{o=!1;let A={ind:y,mode:at,doc:p.contents},T=n-u,S=c.length>0;if(!p.break&&Jr(A,i,T,S,r))i.push(A);else if(p.expandedStates){let B=O(!1,p.expandedStates,-1);if(p.break){i.push({ind:y,mode:Se,doc:B});break}else for(let _=1;_=p.expandedStates.length){i.push({ind:y,mode:Se,doc:B});break}else{let J=p.expandedStates[_],j={ind:y,mode:at,doc:J};if(Jr(j,i,T,S,r)){i.push(j);break}}}else i.push({ind:y,mode:Se,doc:p.contents});break}}p.id&&(r[p.id]=O(!1,i,-1).mode);break;case Pe:{let A=n-u,{parts:T}=p;if(T.length===0)break;let[S,B]=T,_={ind:y,mode:at,doc:S},J={ind:y,mode:Se,doc:S},j=Jr(_,[],A,c.length>0,r,!0);if(T.length===1){j?i.push(_):i.push(J);break}let h={ind:y,mode:at,doc:B},W={ind:y,mode:Se,doc:B};if(T.length===2){j?i.push(h,_):i.push(W,J);break}T.splice(0,2);let Fe={ind:y,mode:C,doc:qt(T)},H=T[0];Jr({ind:y,mode:at,doc:[S,B,H]},[],A,c.length>0,r,!0)?i.push(Fe,h,_):j?i.push(Fe,W,_):i.push(Fe,W,J);break}case xe:case He:{let A=p.groupId?r[p.groupId]:C;if(A===Se){let T=p.type===xe?p.breakContents:p.negate?p.contents:f(p.contents);T&&i.push({ind:y,mode:C,doc:T})}if(A===at){let T=p.type===xe?p.flatContents:p.negate?f(p.contents):p.contents;T&&i.push({ind:y,mode:C,doc:T})}break}case Ve:c.push({ind:y,mode:C,doc:p.contents});break;case $e:c.length>0&&i.push({ind:y,mode:C,doc:Gn});break;case me:switch(C){case at:if(p.hard)o=!0;else{p.soft||(a.push(" "),u+=1);break}case Se:if(c.length>0){i.push({ind:y,mode:C,doc:p},...c.reverse()),c.length=0;break}p.literal?y.root?(a.push(s,y.root.value),u=y.root.length):(a.push(s),u=0):(u-=Zn(a),a.push(s+y.value),u=y.length);break}break;case je:i.push({ind:y,mode:C,doc:p.contents});break;case ve:break;default:throw new Ct(p)}i.length===0&&c.length>0&&(i.push(...c.reverse()),c.length=0)}let D=a.indexOf(ar);if(D!==-1){let y=a.indexOf(ar,D+1),C=a.slice(0,D).join(""),p=a.slice(D+1,y).join(""),A=a.slice(y+1).join("");return{formatted:C+p+A,cursorNodeStart:C.length,cursorNodeText:p}}return{formatted:a.join("")}}function Tp(e,t,r=0){let n=0;for(let s=r;s{if(i.push(t()),m.tail)return;let{tabWidth:D}=r,y=m.value.raw,C=y.includes(` +`)?Gu(y,D):o;o=C;let p=a[c],A=n[u][c],T=de(r.originalText,k(m),R(n.quasis[c+1]));if(!T){let B=es(p,{...r,printWidth:Number.POSITIVE_INFINITY}).formatted;B.includes(` +`)?T=!0:p=B}T&&(d(A)||A.type==="Identifier"||q(A)||A.type==="ConditionalExpression"||A.type==="SequenceExpression"||Te(A)||De(A))&&(p=[f([E,p]),E]);let S=C===0&&y.endsWith(` +`)?he(Number.NEGATIVE_INFINITY,p):xu(p,C,D);i.push(l(["${",S,ke,"}"]))},"quasis"),i.push("`"),i}function Uu(e,t){let r=t("quasi");return it(r.label&&{tagged:!0,...r.label},[t("tag"),t(e.node.typeArguments?"typeArguments":"typeParameters"),ke,r])}function xp(e,t,r){let{node:n}=e,s=n.quasis[0].value.raw.trim().split(/\s*\|\s*/u);if(s.length>1||s.some(u=>u.length>0)){t.__inJestEach=!0;let u=e.map(r,"expressions");t.__inJestEach=!1;let i=[],a=u.map(y=>"${"+es(y,{...t,printWidth:Number.POSITIVE_INFINITY,endOfLine:"lf"}).formatted+"}"),o=[{hasLineBreak:!1,cells:[]}];for(let y=1;yy.cells.length)),m=Array.from({length:c}).fill(0),D=[{cells:s},...o.filter(y=>y.cells.length>0)];for(let{cells:y}of D.filter(C=>!C.hasLineBreak))for(let[C,p]of y.entries())m[C]=Math.max(m[C],et(p));return i.push(ke,"`",f([F,P(F,D.map(y=>P(" | ",y.cells.map((C,p)=>y.hasLineBreak?C:C+" ".repeat(m[p]-et(C))))))]),F,"`"),i}}function hp(e,t){let{node:r}=e,n=t();return d(r)&&(n=l([f([E,n]),E])),["${",n,ke,"}"]}function Gt(e,t){return e.map(r=>hp(r,t),"expressions")}function Wr(e,t){return mt(e,r=>typeof r=="string"?t?N(!1,r,/(\\*)`/gu,"$1$1\\`"):ts(r):r)}function ts(e){return N(!1,e,/([\\`]|\$\{)/gu,String.raw`\$1`)}function gp({node:e,parent:t}){let r=/^[fx]?(?:describe|it|test)$/u;return t.type==="TaggedTemplateExpression"&&t.quasi===e&&t.tag.type==="MemberExpression"&&t.tag.property.type==="Identifier"&&t.tag.property.name==="each"&&(t.tag.object.type==="Identifier"&&r.test(t.tag.object.name)||t.tag.object.type==="MemberExpression"&&t.tag.object.property.type==="Identifier"&&(t.tag.object.property.name==="only"||t.tag.object.property.name==="skip")&&t.tag.object.object.type==="Identifier"&&r.test(t.tag.object.object.name))}var ns=[(e,t)=>e.type==="ObjectExpression"&&t==="properties",(e,t)=>e.type==="CallExpression"&&e.callee.type==="Identifier"&&e.callee.name==="Component"&&t==="arguments",(e,t)=>e.type==="Decorator"&&t==="expression"];function Nu(e){let t=n=>n.type==="TemplateLiteral",r=(n,s)=>Ae(n)&&!n.computed&&n.key.type==="Identifier"&&n.key.name==="styles"&&s==="value";return e.match(t,(n,s)=>U(n)&&s==="elements",r,...ns)||e.match(t,r,...ns)}function Xu(e){return e.match(t=>t.type==="TemplateLiteral",(t,r)=>Ae(t)&&!t.computed&&t.key.type==="Identifier"&&t.key.name==="template"&&r==="value",...ns)}function rs(e,t){return d(e,g.Block|g.Leading,({value:r})=>r===` ${t} `)}function Gr({node:e,parent:t},r){return rs(e,r)||Sp(t)&&rs(t,r)||t.type==="ExpressionStatement"&&rs(t,r)}function Sp(e){return e.type==="AsConstExpression"||e.type==="TSAsExpression"&&e.typeAnnotation.type==="TSTypeReference"&&e.typeAnnotation.typeName.type==="Identifier"&&e.typeAnnotation.typeName.name==="const"}async function Bp(e,t,r){let{node:n}=r,s=n.quasis.map(m=>m.value.raw),u=0,i=s.reduce((m,D,y)=>y===0?D:m+"@prettier-placeholder-"+u+++"-id"+D,""),a=await e(i,{parser:"scss"}),o=Gt(r,t),c=bp(a,o);if(!c)throw new Error("Couldn't insert all the expressions");return["`",f([F,c]),E,"`"]}function bp(e,t){if(!w(t))return e;let r=0,n=mt(Wt(e),s=>typeof s!="string"||!s.includes("@prettier-placeholder")?s:s.split(/@prettier-placeholder-(\d+)-id/u).map((u,i)=>i%2===0?Ie(u):(r++,t[u])));return t.length===r?n:null}function Pp({node:e,parent:t,grandparent:r}){return r&&e.quasis&&t.type==="JSXExpressionContainer"&&r.type==="JSXElement"&&r.openingElement.name.name==="style"&&r.openingElement.attributes.some(n=>n.type==="JSXAttribute"&&n.name.name==="jsx")||(t==null?void 0:t.type)==="TaggedTemplateExpression"&&t.tag.type==="Identifier"&&t.tag.name==="css"||(t==null?void 0:t.type)==="TaggedTemplateExpression"&&t.tag.type==="MemberExpression"&&t.tag.object.name==="css"&&(t.tag.property.name==="global"||t.tag.property.name==="resolve")}function Ur(e){return e.type==="Identifier"&&e.name==="styled"}function Yu(e){return/^[A-Z]/u.test(e.object.name)&&e.property.name==="extend"}function kp({parent:e}){if(!e||e.type!=="TaggedTemplateExpression")return!1;let t=e.tag.type==="ParenthesizedExpression"?e.tag.expression:e.tag;switch(t.type){case"MemberExpression":return Ur(t.object)||Yu(t);case"CallExpression":return Ur(t.callee)||t.callee.type==="MemberExpression"&&(t.callee.object.type==="MemberExpression"&&(Ur(t.callee.object.object)||Yu(t.callee.object))||t.callee.object.type==="CallExpression"&&Ur(t.callee.object.callee));case"Identifier":return t.name==="css";default:return!1}}function Ip({parent:e,grandparent:t}){return(t==null?void 0:t.type)==="JSXAttribute"&&e.type==="JSXExpressionContainer"&&t.name.type==="JSXIdentifier"&&t.name.name==="css"}function Lp(e){if(Pp(e)||kp(e)||Ip(e)||Nu(e))return Bp}var Hu=Lp;async function wp(e,t,r){let{node:n}=r,s=n.quasis.length,u=Gt(r,t),i=[];for(let a=0;a2&&y[0].trim()===""&&y[1].trim()==="",T=C>2&&y[C-1].trim()===""&&y[C-2].trim()==="",S=y.every(_=>/^\s*(?:#[^\n\r]*)?$/u.test(_));if(!m&&/#[^\n\r]*$/u.test(y[C-1]))return null;let B=null;S?B=Op(y):B=await e(D,{parser:"graphql"}),B?(B=Wr(B,!1),!c&&A&&i.push(""),i.push(B),!m&&T&&i.push("")):!c&&!m&&A&&i.push(""),p&&i.push(p)}return["`",f([F,P(F,i)]),F,"`"]}function Op(e){let t=[],r=!1,n=e.map(s=>s.trim());for(let[s,u]of n.entries())u!==""&&(n[s-1]===""&&r?t.push([F,u]):t.push(u),r=!0);return t.length===0?null:P(F,t)}function _p({node:e,parent:t}){return Gr({node:e,parent:t},"GraphQL")||t&&(t.type==="TaggedTemplateExpression"&&(t.tag.type==="MemberExpression"&&t.tag.object.name==="graphql"&&t.tag.property.name==="experimental"||t.tag.type==="Identifier"&&(t.tag.name==="gql"||t.tag.name==="graphql"))||t.type==="CallExpression"&&t.callee.type==="Identifier"&&t.callee.name==="graphql")}function jp(e){if(_p(e))return wp}var Vu=jp;var ss=0;async function $u(e,t,r,n,s){let{node:u}=n,i=ss;ss=ss+1>>>0;let a=S=>`PRETTIER_HTML_PLACEHOLDER_${S}_${i}_IN_JS`,o=u.quasis.map((S,B,_)=>B===_.length-1?S.value.cooked:S.value.cooked+a(B)).join(""),c=Gt(n,r),m=new RegExp(a(String.raw`(\d+)`),"gu"),D=0,y=await t(o,{parser:e,__onHtmlRoot(S){D=S.children.length}}),C=mt(y,S=>{if(typeof S!="string")return S;let B=[],_=S.split(m);for(let J=0;J<_.length;J++){let j=_[J];if(J%2===0){j&&(j=ts(j),s.__embeddedInHtml&&(j=N(!1,j,/<\/(?=script\b)/giu,String.raw`<\/`)),B.push(j));continue}let h=Number(j);B.push(c[h])}return B}),p=/^\s/u.test(o)?" ":"",A=/\s$/u.test(o)?" ":"",T=s.htmlWhitespaceSensitivity==="ignore"?F:p&&A?x:null;return T?l(["`",f([T,l(C)]),T,"`"]):it({hug:!1},l(["`",p,D>1?f(l(C)):l(C),A,"`"]))}function vp(e){return Gr(e,"HTML")||e.match(t=>t.type==="TemplateLiteral",(t,r)=>t.type==="TaggedTemplateExpression"&&t.tag.type==="Identifier"&&t.tag.name==="html"&&r==="quasi")}var Mp=$u.bind(void 0,"html"),Rp=$u.bind(void 0,"angular");function Jp(e){if(vp(e))return Mp;if(Xu(e))return Rp}var Ku=Jp;async function qp(e,t,r){let{node:n}=r,s=N(!1,n.quasis[0].value.raw,/((?:\\\\)*)\\`/gu,(o,c)=>"\\".repeat(c.length/2)+"`"),u=Wp(s),i=u!=="";i&&(s=N(!1,s,new RegExp(`^${u}`,"gmu"),""));let a=Wr(await e(s,{parser:"markdown",__inJsTemplate:!0}),!0);return["`",i?f([E,a]):[Rr,du(a)],E,"`"]}function Wp(e){let t=e.match(/^([^\S\n]*)\S/mu);return t===null?"":t[1]}function Gp(e){if(Up(e))return qp}function Up({node:e,parent:t}){return(t==null?void 0:t.type)==="TaggedTemplateExpression"&&e.quasis.length===1&&t.tag.type==="Identifier"&&(t.tag.name==="md"||t.tag.name==="markdown")}var zu=Gp;function Np(e){let{node:t}=e;if(t.type!=="TemplateLiteral"||Xp(t))return;let r;for(let n of[Hu,Vu,Ku,zu])if(r=n(e),!!r)return t.quasis.length===1&&t.quasis[0].value.raw.trim()===""?"``":async(...s)=>{let u=await r(...s);return u&&it({embed:!0,...u.label},u)}}function Xp({quasis:e}){return e.some(({value:{cooked:t}})=>t===null)}var Qu=Np;var Yp=/\*\/$/,Hp=/^\/\*\*?/,ri=/^\s*(\/\*\*?(.|\r?\n)*?\*\/)/,Vp=/(^|\s+)\/\/([^\n\r]*)/g,Zu=/^(\r?\n)+/,$p=/(?:^|\r?\n) *(@[^\n\r]*?) *\r?\n *(?![^\n\r@]*\/\/[^]*)([^\s@][^\n\r@]+?) *\r?\n/g,ei=/(?:^|\r?\n) *@(\S+) *([^\n\r]*)/g,Kp=/(\r?\n|^) *\* ?/g,ni=[];function si(e){let t=e.match(ri);return t?t[0].trimStart():""}function ui(e){let t=e.match(ri),r=t==null?void 0:t[0];return r==null?e:e.slice(r.length)}function ii(e){let t=` +`;e=N(!1,e.replace(Hp,"").replace(Yp,""),Kp,"$1");let r="";for(;r!==e;)r=e,e=N(!1,e,$p,`${t}$1 $2${t}`);e=e.replace(Zu,"").trimEnd();let n=Object.create(null),s=N(!1,e,ei,"").replace(Zu,"").trimEnd(),u;for(;u=ei.exec(e);){let i=N(!1,u[2],Vp,"");if(typeof n[u[1]]=="string"||Array.isArray(n[u[1]])){let a=n[u[1]];n[u[1]]=[...ni,...Array.isArray(a)?a:[a],i]}else n[u[1]]=i}return{comments:s,pragmas:n}}function ai({comments:e="",pragmas:t={}}){let r=` +`,n="/**",s=" *",u=" */",i=Object.keys(t),a=i.flatMap(c=>ti(c,t[c])).map(c=>`${s} ${c}${r}`).join("");if(!e){if(i.length===0)return"";if(i.length===1&&!Array.isArray(t[i[0]])){let c=t[i[0]];return`${n} ${ti(i[0],c)[0]}${u}`}}let o=e.split(r).map(c=>`${s} ${c}`).join(r)+r;return n+r+(e?o:"")+(e&&i.length>0?s+r:"")+a+u}function ti(e,t){return[...ni,...Array.isArray(t)?t:[t]].map(r=>`@${e} ${r}`.trim())}function zp(e){if(!e.startsWith("#!"))return"";let t=e.indexOf(` +`);return t===-1?e:e.slice(0,t)}var oi=zp;function Qp(e){let t=oi(e);t&&(e=e.slice(t.length+1));let r=si(e),{pragmas:n,comments:s}=ii(r);return{shebang:t,text:e,pragmas:n,comments:s}}function pi(e){let{shebang:t,text:r,pragmas:n,comments:s}=Qp(e),u=ui(r),i=ai({pragmas:{format:"",...n},comments:s.trimStart()});return(t?`${t} `:"")+i+(u.startsWith(` `)?` `:` -`)+u}var il={avoidAstMutation:!0};var Qi=[{linguistLanguageId:183,name:"JavaScript",type:"programming",tmScope:"source.js",aceMode:"javascript",codemirrorMode:"javascript",codemirrorMimeType:"text/javascript",color:"#f1e05a",aliases:["js","node"],extensions:[".js","._js",".bones",".cjs",".es",".es6",".frag",".gs",".jake",".javascript",".jsb",".jscad",".jsfl",".jslib",".jsm",".jspre",".jss",".mjs",".njs",".pac",".sjs",".ssjs",".xsjs",".xsjslib",".wxs"],filenames:["Jakefile"],interpreters:["chakra","d8","gjs","js","node","nodejs","qjs","rhino","v8","v8-shell","zx"],parsers:["babel","acorn","espree","meriyah","babel-flow","babel-ts","flow","typescript"],vscodeLanguageIds:["javascript","mongo"]},{linguistLanguageId:183,name:"Flow",type:"programming",tmScope:"source.js",aceMode:"javascript",codemirrorMode:"javascript",codemirrorMimeType:"text/javascript",color:"#f1e05a",aliases:[],extensions:[".js.flow"],filenames:[],interpreters:["chakra","d8","gjs","js","node","nodejs","qjs","rhino","v8","v8-shell"],parsers:["flow","babel-flow"],vscodeLanguageIds:["javascript"]},{linguistLanguageId:183,name:"JSX",type:"programming",tmScope:"source.js.jsx",aceMode:"javascript",codemirrorMode:"jsx",codemirrorMimeType:"text/jsx",color:void 0,aliases:void 0,extensions:[".jsx"],filenames:void 0,interpreters:void 0,parsers:["babel","babel-flow","babel-ts","flow","typescript","espree","meriyah"],vscodeLanguageIds:["javascriptreact"],group:"JavaScript"},{linguistLanguageId:378,name:"TypeScript",type:"programming",color:"#3178c6",aliases:["ts"],interpreters:["deno","ts-node"],extensions:[".ts",".cts",".mts"],tmScope:"source.ts",aceMode:"typescript",codemirrorMode:"javascript",codemirrorMimeType:"application/typescript",parsers:["typescript","babel-ts"],vscodeLanguageIds:["typescript"]},{linguistLanguageId:94901924,name:"TSX",type:"programming",color:"#3178c6",group:"TypeScript",extensions:[".tsx"],tmScope:"source.tsx",aceMode:"javascript",codemirrorMode:"jsx",codemirrorMimeType:"text/jsx",parsers:["typescript","babel-ts"],vscodeLanguageIds:["typescriptreact"]}];var Ss={};pr(Ss,{getVisitorKeys:()=>ea,massageAstNode:()=>ra,print:()=>pl});var al={JsonRoot:["node"],ArrayExpression:["elements"],ObjectExpression:["properties"],ObjectProperty:["key","value"],UnaryExpression:["argument"],NullLiteral:[],BooleanLiteral:[],StringLiteral:[],NumericLiteral:[],Identifier:[],TemplateLiteral:["quasis"],TemplateElement:[]},Zi=al;var ol=fr(Zi),ea=ol;function pl(e,t,r){let{node:n}=e;switch(n.type){case"JsonRoot":return[r("node"),C];case"ArrayExpression":{if(n.elements.length===0)return"[]";let s=e.map(()=>e.node===null?"null":r(),"elements");return["[",E([C,B([",",C],s)]),C,"]"]}case"ObjectExpression":return n.properties.length===0?"{}":["{",E([C,B([",",C],e.map(r,"properties"))]),C,"}"];case"ObjectProperty":return[r("key"),": ",r("value")];case"UnaryExpression":return[n.operator==="+"?"":n.operator,r("argument")];case"NullLiteral":return"null";case"BooleanLiteral":return n.value?"true":"false";case"StringLiteral":return JSON.stringify(n.value);case"NumericLiteral":return ta(e)?JSON.stringify(String(n.value)):JSON.stringify(n.value);case"Identifier":return ta(e)?JSON.stringify(n.name):n.name;case"TemplateLiteral":return r(["quasis",0]);case"TemplateElement":return JSON.stringify(n.value.cooked);default:throw new Oe(n,"JSON")}}function ta(e){return e.key==="key"&&e.parent.type==="ObjectProperty"}var cl=new Set(["start","end","extra","loc","comments","leadingComments","trailingComments","innerComments","errors","range","tokens"]);function ra(e,t){let{type:r}=e;if(r==="ObjectProperty"){let{key:n}=e;n.type==="Identifier"?t.key={type:"StringLiteral",value:n.name}:n.type==="NumericLiteral"&&(t.key={type:"StringLiteral",value:String(n.value)});return}if(r==="UnaryExpression"&&e.operator==="+")return t.argument;if(r==="ArrayExpression"){for(let[n,s]of e.elements.entries())s===null&&t.elements.splice(n,0,{type:"NullLiteral"});return}if(r==="TemplateLiteral")return{type:"StringLiteral",value:e.quasis[0].value.cooked}}ra.ignoredProperties=cl;var na=[{linguistLanguageId:174,name:"JSON.stringify",type:"data",color:"#292929",tmScope:"source.json",aceMode:"json",codemirrorMode:"javascript",codemirrorMimeType:"application/json",aliases:["geojson","jsonl","topojson"],extensions:[".importmap"],filenames:["package.json","package-lock.json","composer.json"],parsers:["json-stringify"],vscodeLanguageIds:["json"]},{linguistLanguageId:174,name:"JSON",type:"data",color:"#292929",tmScope:"source.json",aceMode:"json",codemirrorMode:"javascript",codemirrorMimeType:"application/json",aliases:["geojson","jsonl","topojson"],extensions:[".json",".4DForm",".4DProject",".avsc",".geojson",".gltf",".har",".ice",".JSON-tmLanguage",".mcmeta",".tfstate",".tfstate.backup",".topojson",".webapp",".webmanifest",".yy",".yyp"],filenames:[".arcconfig",".auto-changelog",".c8rc",".htmlhintrc",".imgbotconfig",".nycrc",".tern-config",".tern-project",".watchmanconfig","Pipfile.lock","composer.lock","mcmod.info"],parsers:["json"],vscodeLanguageIds:["json"]},{linguistLanguageId:423,name:"JSON with Comments",type:"data",color:"#292929",group:"JSON",tmScope:"source.js",aceMode:"javascript",codemirrorMode:"javascript",codemirrorMimeType:"text/javascript",aliases:["jsonc"],extensions:[".jsonc",".code-snippets",".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",".eslintrc",".swcrc"],parsers:["json"],vscodeLanguageIds:["jsonc"]},{linguistLanguageId:175,name:"JSON5",type:"data",color:"#267CB9",extensions:[".json5"],tmScope:"source.js",aceMode:"javascript",codemirrorMode:"javascript",codemirrorMimeType:"application/json",parsers:["json5"],vscodeLanguageIds:["json5"]}];var ar={bracketSpacing:{category:"Common",type:"boolean",default:!0,description:"Print spaces between brackets.",oppositeDescription:"Do not print spaces between brackets."},singleQuote:{category:"Common",type:"boolean",default:!1,description:"Use single quotes instead of double quotes."},proseWrap:{category:"Common",type:"choice",default:"preserve",description:"How to wrap prose.",choices:[{value:"always",description:"Wrap prose if it exceeds the print width."},{value:"never",description:"Do not wrap prose."},{value:"preserve",description:"Wrap prose as-is."}]},bracketSameLine:{category:"Common",type:"boolean",default:!1,description:"Put > of opening tags on the last line instead of on a new line."},singleAttributePerLine:{category:"Common",type:"boolean",default:!1,description:"Enforce single attribute per line in HTML, Vue and JSX."}};var Nt="JavaScript",ll={arrowParens:{category:Nt,type:"choice",default:"always",description:"Include parentheses around a sole arrow function parameter.",choices:[{value:"always",description:"Always include parens. Example: `(x) => x`"},{value:"avoid",description:"Omit parens when possible. Example: `x => x`"}]},bracketSameLine:ar.bracketSameLine,bracketSpacing:ar.bracketSpacing,jsxBracketSameLine:{category:Nt,type:"boolean",description:"Put > on the last line instead of at a new line.",deprecated:"2.4.0"},semi:{category:Nt,type:"boolean",default:!0,description:"Print semicolons.",oppositeDescription:"Do not print semicolons, except at the beginning of lines which may need them."},singleQuote:ar.singleQuote,jsxSingleQuote:{category:Nt,type:"boolean",default:!1,description:"Use single quotes in JSX."},quoteProps:{category:Nt,type:"choice",default:"as-needed",description:"Change when properties in objects are quoted.",choices:[{value:"as-needed",description:"Only add quotes around object properties where required."},{value:"consistent",description:"If at least one property in an object requires quotes, quote all properties."},{value:"preserve",description:"Respect the input use of quotes in object properties."}]},trailingComma:{category:Nt,type:"choice",default:"all",description:"Print trailing commas wherever possible when multi-line.",choices:[{value:"all",description:"Trailing commas wherever possible (including function arguments)."},{value:"es5",description:"Trailing commas where valid in ES5 (objects, arrays, etc.)"},{value:"none",description:"No trailing commas."}]},singleAttributePerLine:ar.singleAttributePerLine},sa=ll;var ml={estree:hs,"estree-json":Ss},Dl=[...Qi,...na];var yA=Bs;export{yA as default,Dl as languages,sa as options,ml as printers}; +`)+u}function Zp(e,t){let{originalText:r,[Symbol.for("comments")]:n,locStart:s,locEnd:u,[Symbol.for("printedComments")]:i}=t,{node:a}=e,o=s(a),c=u(a);for(let m of n)s(m)>=o&&u(m)<=c&&i.add(m);return r.slice(o,c)}var ci=Zp;function us(e,t){var u,i,a,o,c,m,D,y,C;if(e.isRoot)return!1;let{node:r,key:n,parent:s}=e;if(t.__isInHtmlInterpolation&&!t.bracketSpacing&&nc(r)&&or(e))return!0;if(ec(r))return!1;if(r.type==="Identifier"){if((u=r.extra)!=null&&u.parenthesized&&/^PRETTIER_HTML_PLACEHOLDER_\d+_\d+_IN_JS$/u.test(r.name)||n==="left"&&(r.name==="async"&&!s.await||r.name==="let")&&s.type==="ForOfStatement")return!0;if(r.name==="let"){let p=(i=e.findAncestor(A=>A.type==="ForOfStatement"))==null?void 0:i.left;if(p&&ie(p,A=>A===r))return!0}if(n==="object"&&r.name==="let"&&s.type==="MemberExpression"&&s.computed&&!s.optional){let p=e.findAncestor(T=>T.type==="ExpressionStatement"||T.type==="ForStatement"||T.type==="ForInStatement"),A=p?p.type==="ExpressionStatement"?p.expression:p.type==="ForStatement"?p.init:p.left:void 0;if(A&&ie(A,T=>T===r))return!0}if(n==="expression")switch(r.name){case"await":case"interface":case"module":case"using":case"yield":case"let":case"component":case"hook":case"type":{let p=e.findAncestor(A=>!Te(A));if(p!==s&&p.type==="ExpressionStatement")return!0}}return!1}if(r.type==="ObjectExpression"||r.type==="FunctionExpression"||r.type==="ClassExpression"||r.type==="DoExpression"){let p=(a=e.findAncestor(A=>A.type==="ExpressionStatement"))==null?void 0:a.expression;if(p&&ie(p,A=>A===r))return!0}if(r.type==="ObjectExpression"){let p=(o=e.findAncestor(A=>A.type==="ArrowFunctionExpression"))==null?void 0:o.body;if(p&&p.type!=="SequenceExpression"&&p.type!=="AssignmentExpression"&&ie(p,A=>A===r))return!0}switch(s.type){case"ParenthesizedExpression":return!1;case"ClassDeclaration":case"ClassExpression":if(n==="superClass"&&(r.type==="ArrowFunctionExpression"||r.type==="AssignmentExpression"||r.type==="AwaitExpression"||r.type==="BinaryExpression"||r.type==="ConditionalExpression"||r.type==="LogicalExpression"||r.type==="NewExpression"||r.type==="ObjectExpression"||r.type==="SequenceExpression"||r.type==="TaggedTemplateExpression"||r.type==="UnaryExpression"||r.type==="UpdateExpression"||r.type==="YieldExpression"||r.type==="TSNonNullExpression"||r.type==="ClassExpression"&&w(r.decorators)))return!0;break;case"ExportDefaultDeclaration":return li(e,t)||r.type==="SequenceExpression";case"Decorator":if(n==="expression"&&!uc(r))return!0;break;case"TypeAnnotation":if(e.match(void 0,void 0,(p,A)=>A==="returnType"&&p.type==="ArrowFunctionExpression")&&rc(r))return!0;break;case"BinaryExpression":if(n==="left"&&(s.operator==="in"||s.operator==="instanceof")&&r.type==="UnaryExpression")return!0;break;case"VariableDeclarator":if(n==="init"&&e.match(void 0,void 0,(p,A)=>A==="declarations"&&p.type==="VariableDeclaration",(p,A)=>A==="left"&&p.type==="ForInStatement"))return!0;break}switch(r.type){case"UpdateExpression":if(s.type==="UnaryExpression")return r.prefix&&(r.operator==="++"&&s.operator==="+"||r.operator==="--"&&s.operator==="-");case"UnaryExpression":switch(s.type){case"UnaryExpression":return r.operator===s.operator&&(r.operator==="+"||r.operator==="-");case"BindExpression":return!0;case"MemberExpression":case"OptionalMemberExpression":return n==="object";case"TaggedTemplateExpression":return!0;case"NewExpression":case"CallExpression":case"OptionalCallExpression":return n==="callee";case"BinaryExpression":return n==="left"&&s.operator==="**";case"TSNonNullExpression":return!0;default:return!1}case"BinaryExpression":if(s.type==="UpdateExpression"||r.operator==="in"&&tc(e))return!0;if(r.operator==="|>"&&((c=r.extra)!=null&&c.parenthesized)){let p=e.grandparent;if(p.type==="BinaryExpression"&&p.operator==="|>")return!0}case"TSTypeAssertion":case"TSAsExpression":case"TSSatisfiesExpression":case"AsExpression":case"AsConstExpression":case"SatisfiesExpression":case"LogicalExpression":switch(s.type){case"TSAsExpression":case"TSSatisfiesExpression":case"AsExpression":case"AsConstExpression":case"SatisfiesExpression":return!Te(r);case"ConditionalExpression":return Te(r)||au(r);case"CallExpression":case"NewExpression":case"OptionalCallExpression":return n==="callee";case"ClassExpression":case"ClassDeclaration":return n==="superClass";case"TSTypeAssertion":case"TaggedTemplateExpression":case"UnaryExpression":case"JSXSpreadAttribute":case"SpreadElement":case"BindExpression":case"AwaitExpression":case"TSNonNullExpression":case"UpdateExpression":return!0;case"MemberExpression":case"OptionalMemberExpression":return n==="object";case"AssignmentExpression":case"AssignmentPattern":return n==="left"&&(r.type==="TSTypeAssertion"||Te(r));case"LogicalExpression":if(r.type==="LogicalExpression")return s.operator!==r.operator;case"BinaryExpression":{let{operator:p,type:A}=r;if(!p&&A!=="TSTypeAssertion")return!0;let T=er(p),S=s.operator,B=er(S);return B>T||n==="right"&&B===T||B===T&&!nr(S,p)?!0:B");default:return!1}case"TSFunctionType":if(e.match(p=>p.type==="TSFunctionType",(p,A)=>A==="typeAnnotation"&&p.type==="TSTypeAnnotation",(p,A)=>A==="returnType"&&p.type==="ArrowFunctionExpression"))return!0;case"TSConditionalType":case"TSConstructorType":if(n==="extendsType"&&s.type==="TSConditionalType"){if(r.type==="TSConditionalType")return!0;let{typeAnnotation:p}=r.returnType||r.typeAnnotation;if(p.type==="TSTypePredicate"&&p.typeAnnotation&&(p=p.typeAnnotation.typeAnnotation),p.type==="TSInferType"&&p.typeParameter.constraint)return!0}if(n==="checkType"&&s.type==="TSConditionalType")return!0;case"TSUnionType":case"TSIntersectionType":if((s.type==="TSUnionType"||s.type==="TSIntersectionType")&&s.types.length>1&&(!r.types||r.types.length>1))return!0;case"TSInferType":if(r.type==="TSInferType"){if(s.type==="TSRestType")return!1;if(n==="types"&&(s.type==="TSUnionType"||s.type==="TSIntersectionType")&&r.typeParameter.type==="TSTypeParameter"&&r.typeParameter.constraint)return!0}case"TSTypeOperator":return s.type==="TSArrayType"||s.type==="TSOptionalType"||s.type==="TSRestType"||n==="objectType"&&s.type==="TSIndexedAccessType"||s.type==="TSTypeOperator"||s.type==="TSTypeAnnotation"&&e.grandparent.type.startsWith("TSJSDoc");case"TSTypeQuery":return n==="objectType"&&s.type==="TSIndexedAccessType"||n==="elementType"&&s.type==="TSArrayType";case"TypeOperator":return s.type==="ArrayTypeAnnotation"||s.type==="NullableTypeAnnotation"||n==="objectType"&&(s.type==="IndexedAccessType"||s.type==="OptionalIndexedAccessType")||s.type==="TypeOperator";case"TypeofTypeAnnotation":return n==="objectType"&&(s.type==="IndexedAccessType"||s.type==="OptionalIndexedAccessType")||n==="elementType"&&s.type==="ArrayTypeAnnotation";case"ArrayTypeAnnotation":return s.type==="NullableTypeAnnotation";case"IntersectionTypeAnnotation":case"UnionTypeAnnotation":return s.type==="TypeOperator"||s.type==="ArrayTypeAnnotation"||s.type==="NullableTypeAnnotation"||s.type==="IntersectionTypeAnnotation"||s.type==="UnionTypeAnnotation"||n==="objectType"&&(s.type==="IndexedAccessType"||s.type==="OptionalIndexedAccessType");case"InferTypeAnnotation":case"NullableTypeAnnotation":return s.type==="ArrayTypeAnnotation"||n==="objectType"&&(s.type==="IndexedAccessType"||s.type==="OptionalIndexedAccessType");case"ComponentTypeAnnotation":case"FunctionTypeAnnotation":{if(r.type==="ComponentTypeAnnotation"&&(r.rendersType===null||r.rendersType===void 0))return!1;if(e.match(void 0,(A,T)=>T==="typeAnnotation"&&A.type==="TypeAnnotation",(A,T)=>T==="returnType"&&A.type==="ArrowFunctionExpression")||e.match(void 0,(A,T)=>T==="typeAnnotation"&&A.type==="TypePredicate",(A,T)=>T==="typeAnnotation"&&A.type==="TypeAnnotation",(A,T)=>T==="returnType"&&A.type==="ArrowFunctionExpression"))return!0;let p=s.type==="NullableTypeAnnotation"?e.grandparent:s;return p.type==="UnionTypeAnnotation"||p.type==="IntersectionTypeAnnotation"||p.type==="ArrayTypeAnnotation"||n==="objectType"&&(p.type==="IndexedAccessType"||p.type==="OptionalIndexedAccessType")||n==="checkType"&&s.type==="ConditionalTypeAnnotation"||n==="extendsType"&&s.type==="ConditionalTypeAnnotation"&&((m=r.returnType)==null?void 0:m.type)==="InferTypeAnnotation"&&((D=r.returnType)==null?void 0:D.typeParameter.bound)||p.type==="NullableTypeAnnotation"||s.type==="FunctionTypeParam"&&s.name===null&&K(r).some(A=>{var T;return((T=A.typeAnnotation)==null?void 0:T.type)==="NullableTypeAnnotation"})}case"ConditionalTypeAnnotation":if(n==="extendsType"&&s.type==="ConditionalTypeAnnotation"&&r.type==="ConditionalTypeAnnotation"||n==="checkType"&&s.type==="ConditionalTypeAnnotation")return!0;case"OptionalIndexedAccessType":return n==="objectType"&&s.type==="IndexedAccessType";case"StringLiteral":case"NumericLiteral":case"Literal":if(typeof r.value=="string"&&s.type==="ExpressionStatement"&&!s.directive){let p=e.grandparent;return p.type==="Program"||p.type==="BlockStatement"}return n==="object"&&s.type==="MemberExpression"&&typeof r.value=="number";case"AssignmentExpression":{let p=e.grandparent;return n==="body"&&s.type==="ArrowFunctionExpression"?!0:n==="key"&&(s.type==="ClassProperty"||s.type==="PropertyDefinition")&&s.computed||(n==="init"||n==="update")&&s.type==="ForStatement"?!1:s.type==="ExpressionStatement"?r.left.type==="ObjectPattern":!(n==="key"&&s.type==="TSPropertySignature"||s.type==="AssignmentExpression"||s.type==="SequenceExpression"&&p.type==="ForStatement"&&(p.init===s||p.update===s)||n==="value"&&s.type==="Property"&&p.type==="ObjectPattern"&&p.properties.includes(s)||s.type==="NGChainedExpression")}case"ConditionalExpression":switch(s.type){case"TaggedTemplateExpression":case"UnaryExpression":case"SpreadElement":case"BinaryExpression":case"LogicalExpression":case"NGPipeExpression":case"ExportDefaultDeclaration":case"AwaitExpression":case"JSXSpreadAttribute":case"TSTypeAssertion":case"TypeCastExpression":case"TSAsExpression":case"TSSatisfiesExpression":case"AsExpression":case"AsConstExpression":case"SatisfiesExpression":case"TSNonNullExpression":return!0;case"NewExpression":case"CallExpression":case"OptionalCallExpression":return n==="callee";case"ConditionalExpression":return t.experimentalTernaries?!1:n==="test";case"MemberExpression":case"OptionalMemberExpression":return n==="object";default:return!1}case"FunctionExpression":switch(s.type){case"NewExpression":case"CallExpression":case"OptionalCallExpression":return n==="callee";case"TaggedTemplateExpression":return!0;default:return!1}case"ArrowFunctionExpression":switch(s.type){case"BinaryExpression":return s.operator!=="|>"||((y=r.extra)==null?void 0:y.parenthesized);case"NewExpression":case"CallExpression":case"OptionalCallExpression":return n==="callee";case"MemberExpression":case"OptionalMemberExpression":return n==="object";case"TSAsExpression":case"TSSatisfiesExpression":case"AsExpression":case"AsConstExpression":case"SatisfiesExpression":case"TSNonNullExpression":case"BindExpression":case"TaggedTemplateExpression":case"UnaryExpression":case"LogicalExpression":case"AwaitExpression":case"TSTypeAssertion":return!0;case"ConditionalExpression":return n==="test";default:return!1}case"ClassExpression":switch(s.type){case"NewExpression":return n==="callee";default:return!1}case"OptionalMemberExpression":case"OptionalCallExpression":case"CallExpression":case"MemberExpression":if(sc(e))return!0;case"TaggedTemplateExpression":case"TSNonNullExpression":if(n==="callee"&&(s.type==="BindExpression"||s.type==="NewExpression")){let p=r;for(;p;)switch(p.type){case"CallExpression":case"OptionalCallExpression":return!0;case"MemberExpression":case"OptionalMemberExpression":case"BindExpression":p=p.object;break;case"TaggedTemplateExpression":p=p.tag;break;case"TSNonNullExpression":p=p.expression;break;default:return!1}}return!1;case"BindExpression":return n==="callee"&&(s.type==="BindExpression"||s.type==="NewExpression")||n==="object"&&q(s);case"NGPipeExpression":return!(s.type==="NGRoot"||s.type==="NGMicrosyntaxExpression"||s.type==="ObjectProperty"&&!((C=r.extra)!=null&&C.parenthesized)||U(s)||n==="arguments"&&L(s)||n==="right"&&s.type==="NGPipeExpression"||n==="property"&&s.type==="MemberExpression"||s.type==="AssignmentExpression");case"JSXFragment":case"JSXElement":return n==="callee"||n==="left"&&s.type==="BinaryExpression"&&s.operator==="<"||!U(s)&&s.type!=="ArrowFunctionExpression"&&s.type!=="AssignmentExpression"&&s.type!=="AssignmentPattern"&&s.type!=="BinaryExpression"&&s.type!=="NewExpression"&&s.type!=="ConditionalExpression"&&s.type!=="ExpressionStatement"&&s.type!=="JsExpressionRoot"&&s.type!=="JSXAttribute"&&s.type!=="JSXElement"&&s.type!=="JSXExpressionContainer"&&s.type!=="JSXFragment"&&s.type!=="LogicalExpression"&&!L(s)&&!Ae(s)&&s.type!=="ReturnStatement"&&s.type!=="ThrowStatement"&&s.type!=="TypeCastExpression"&&s.type!=="VariableDeclarator"&&s.type!=="YieldExpression";case"TSInstantiationExpression":return n==="object"&&q(s)}return!1}var ec=v(["BlockStatement","BreakStatement","ComponentDeclaration","ClassBody","ClassDeclaration","ClassMethod","ClassProperty","PropertyDefinition","ClassPrivateProperty","ContinueStatement","DebuggerStatement","DeclareComponent","DeclareClass","DeclareExportAllDeclaration","DeclareExportDeclaration","DeclareFunction","DeclareHook","DeclareInterface","DeclareModule","DeclareModuleExports","DeclareNamespace","DeclareVariable","DeclareEnum","DoWhileStatement","EnumDeclaration","ExportAllDeclaration","ExportDefaultDeclaration","ExportNamedDeclaration","ExpressionStatement","ForInStatement","ForOfStatement","ForStatement","FunctionDeclaration","HookDeclaration","IfStatement","ImportDeclaration","InterfaceDeclaration","LabeledStatement","MethodDefinition","ReturnStatement","SwitchStatement","ThrowStatement","TryStatement","TSDeclareFunction","TSEnumDeclaration","TSImportEqualsDeclaration","TSInterfaceDeclaration","TSModuleDeclaration","TSNamespaceExportDeclaration","TypeAlias","VariableDeclaration","WhileStatement","WithStatement"]);function tc(e){let t=0,{node:r}=e;for(;r;){let n=e.getParentNode(t++);if((n==null?void 0:n.type)==="ForStatement"&&n.init===r)return!0;r=n}return!1}function rc(e){return tr(e,t=>t.type==="ObjectTypeAnnotation"&&tr(t,r=>r.type==="FunctionTypeAnnotation"))}function nc(e){return se(e)}function or(e){let{parent:t,key:r}=e;switch(t.type){case"NGPipeExpression":if(r==="arguments"&&e.isLast)return e.callParent(or);break;case"ObjectProperty":if(r==="value")return e.callParent(()=>e.key==="properties"&&e.isLast);break;case"BinaryExpression":case"LogicalExpression":if(r==="right")return e.callParent(or);break;case"ConditionalExpression":if(r==="alternate")return e.callParent(or);break;case"UnaryExpression":if(t.prefix)return e.callParent(or);break}return!1}function li(e,t){let{node:r,parent:n}=e;return r.type==="FunctionExpression"||r.type==="ClassExpression"?n.type==="ExportDefaultDeclaration"||!us(e,t):!jt(r)||n.type!=="ExportDefaultDeclaration"&&us(e,t)?!1:e.call(()=>li(e,t),...Pr(r))}function sc(e){let{node:t,parent:r,grandparent:n,key:s}=e;return!!((t.type==="OptionalMemberExpression"||t.type==="OptionalCallExpression")&&(s==="object"&&r.type==="MemberExpression"||s==="callee"&&(r.type==="CallExpression"||r.type==="NewExpression")||r.type==="TSNonNullExpression"&&n.type==="MemberExpression"&&n.object===r)||e.match(()=>t.type==="CallExpression"||t.type==="MemberExpression",(u,i)=>i==="expression"&&u.type==="ChainExpression")&&(e.match(void 0,void 0,(u,i)=>i==="callee"&&(u.type==="CallExpression"&&!u.optional||u.type==="NewExpression")||i==="object"&&u.type==="MemberExpression"&&!u.optional)||e.match(void 0,void 0,(u,i)=>i==="expression"&&u.type==="TSNonNullExpression",(u,i)=>i==="object"&&u.type==="MemberExpression"))||e.match(()=>t.type==="CallExpression"||t.type==="MemberExpression",(u,i)=>i==="expression"&&u.type==="TSNonNullExpression",(u,i)=>i==="expression"&&u.type==="ChainExpression",(u,i)=>i==="object"&&u.type==="MemberExpression"))}function is(e){return e.type==="Identifier"?!0:q(e)?!e.computed&&!e.optional&&e.property.type==="Identifier"&&is(e.object):!1}function uc(e){return e.type==="ChainExpression"&&(e=e.expression),is(e)||L(e)&&!e.optional&&is(e.callee)}var Be=us;function ic(e,t){let r=t-1;r=Ge(e,r,{backwards:!0}),r=Ue(e,r,{backwards:!0}),r=Ge(e,r,{backwards:!0});let n=Ue(e,r,{backwards:!0});return r!==n}var mi=ic;var ac=()=>!0;function as(e,t){let r=e.node;return r.printed=!0,t.printer.printComment(e,t)}function oc(e,t){var m;let r=e.node,n=[as(e,t)],{printer:s,originalText:u,locStart:i,locEnd:a}=t;if((m=s.isBlockComment)==null?void 0:m.call(s,r)){let D=te(u,a(r))?te(u,i(r),{backwards:!0})?F:x:" ";n.push(D)}else n.push(F);let c=Ue(u,Ge(u,a(r)));return c!==!1&&te(u,c)&&n.push(F),n}function pc(e,t,r){var c;let n=e.node,s=as(e,t),{printer:u,originalText:i,locStart:a}=t,o=(c=u.isBlockComment)==null?void 0:c.call(u,n);if(r!=null&&r.hasLineSuffix&&!(r!=null&&r.isBlock)||te(i,a(n),{backwards:!0})){let m=mi(i,a(n));return{doc:Wn([F,m?F:"",s]),isBlock:o,hasLineSuffix:!0}}return!o||r!=null&&r.hasLineSuffix?{doc:[Wn([" ",s]),Ee],isBlock:o,hasLineSuffix:!0}:{doc:[" ",s],isBlock:o,hasLineSuffix:!1}}function M(e,t,r={}){let{node:n}=e;if(!w(n==null?void 0:n.comments))return"";let{indent:s=!1,marker:u,filter:i=ac}=r,a=[];if(e.each(({node:c})=>{c.leading||c.trailing||c.marker!==u||!i(c)||a.push(as(e,t))},"comments"),a.length===0)return"";let o=P(F,a);return s?f([F,o]):o}function os(e,t){let r=e.node;if(!r)return{};let n=t[Symbol.for("printedComments")];if((r.comments||[]).filter(o=>!n.has(o)).length===0)return{leading:"",trailing:""};let u=[],i=[],a;return e.each(()=>{let o=e.node;if(n!=null&&n.has(o))return;let{leading:c,trailing:m}=o;c?u.push(oc(e,t)):m&&(a=pc(e,t,a),i.push(a.doc))},"comments"),{leading:u,trailing:i}}function ye(e,t,r){let{leading:n,trailing:s}=os(e,r);return!n&&!s?t:ir(t,u=>[n,u,s])}var ps=class extends Error{name="UnexpectedNodeError";constructor(t,r,n="type"){super(`Unexpected ${r} node ${n}: ${JSON.stringify(t[n])}.`),this.node=t}},Me=ps;function cs(e){if(typeof e!="string")throw new TypeError("Expected a string");return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}var Re,ls=class{constructor(t){Ws(this,Re);Gs(this,Re,new Set(t))}getLeadingWhitespaceCount(t){let r=pt(this,Re),n=0;for(let s=0;s=0&&r.has(t.charAt(s));s--)n++;return n}getLeadingWhitespace(t){let r=this.getLeadingWhitespaceCount(t);return t.slice(0,r)}getTrailingWhitespace(t){let r=this.getTrailingWhitespaceCount(t);return t.slice(t.length-r)}hasLeadingWhitespace(t){return pt(this,Re).has(t.charAt(0))}hasTrailingWhitespace(t){return pt(this,Re).has(O(!1,t,-1))}trimStart(t){let r=this.getLeadingWhitespaceCount(t);return t.slice(r)}trimEnd(t){let r=this.getTrailingWhitespaceCount(t);return t.slice(0,t.length-r)}trim(t){return this.trimEnd(this.trimStart(t))}split(t,r=!1){let n=`[${cs([...pt(this,Re)].join(""))}]+`,s=new RegExp(r?`(${n})`:n,"u");return t.split(s)}hasWhitespaceCharacter(t){let r=pt(this,Re);return Array.prototype.some.call(t,n=>r.has(n))}hasNonWhitespaceCharacter(t){let r=pt(this,Re);return Array.prototype.some.call(t,n=>!r.has(n))}isWhitespaceOnly(t){let r=pt(this,Re);return Array.prototype.every.call(t,n=>r.has(n))}};Re=new WeakMap;var yi=ls;var Nr=new yi(` +\r `),ms=e=>e===""||e===x||e===F||e===E;function cc(e,t,r){var _,J,j;let{node:n}=e;if(n.type==="JSXElement"&&gc(n))return[r("openingElement"),r("closingElement")];let s=n.type==="JSXElement"?r("openingElement"):r("openingFragment"),u=n.type==="JSXElement"?r("closingElement"):r("closingFragment");if(n.children.length===1&&n.children[0].type==="JSXExpressionContainer"&&(n.children[0].expression.type==="TemplateLiteral"||n.children[0].expression.type==="TaggedTemplateExpression"))return[s,...e.map(r,"children"),u];n.children=n.children.map(h=>Sc(h)?{type:"JSXText",value:" ",raw:" "}:h);let i=n.children.some(X),a=n.children.filter(h=>h.type==="JSXExpressionContainer").length>1,o=n.type==="JSXElement"&&n.openingElement.attributes.length>1,c=ne(s)||i||o||a,m=e.parent.rootMarker==="mdx",D=t.singleQuote?"{' '}":'{" "}',y=m?" ":b([D,E]," "),C=((J=(_=n.openingElement)==null?void 0:_.name)==null?void 0:J.name)==="fbt",p=lc(e,t,r,y,C),A=n.children.some(h=>pr(h));for(let h=p.length-2;h>=0;h--){let W=p[h]===""&&p[h+1]==="",Fe=p[h]===F&&p[h+1]===""&&p[h+2]===F,H=(p[h]===E||p[h]===F)&&p[h+1]===""&&p[h+2]===y,ue=p[h]===y&&p[h+1]===""&&(p[h+2]===E||p[h+2]===F),Z=p[h]===y&&p[h+1]===""&&p[h+2]===y,It=p[h]===E&&p[h+1]===""&&p[h+2]===F||p[h]===F&&p[h+1]===""&&p[h+2]===E;Fe&&A||W||H||Z||It?p.splice(h,2):ue&&p.splice(h+1,2)}for(;p.length>0&&ms(O(!1,p,-1));)p.pop();for(;p.length>1&&ms(p[0])&&ms(p[1]);)p.shift(),p.shift();let T=[];for(let[h,W]of p.entries()){if(W===y){if(h===1&&p[h-1]===""){if(p.length===2){T.push(D);continue}T.push([D,F]);continue}else if(h===p.length-1){T.push(D);continue}else if(p[h-1]===""&&p[h-2]===F){T.push(D);continue}}T.push(W),ne(W)&&(c=!0)}let S=A?qt(T):l(T,{shouldBreak:!0});if(((j=t.cursorNode)==null?void 0:j.type)==="JSXText"&&n.children.includes(t.cursorNode)&&(S=[Un,S,Un]),m)return S;let B=l([s,f([F,S]),F,u]);return c?B:ze([l([s,...p,u]),B])}function lc(e,t,r,n,s){let u=[];return e.each(({node:i,next:a})=>{if(i.type==="JSXText"){let o=fe(i);if(pr(i)){let c=Nr.split(o,!0);c[0]===""&&(u.push(""),c.shift(),/\n/u.test(c[0])?u.push(fi(s,c[1],i,a)):u.push(n),c.shift());let m;if(O(!1,c,-1)===""&&(c.pop(),m=c.pop()),c.length===0)return;for(let[D,y]of c.entries())D%2===1?u.push(x):u.push(y);m!==void 0?/\n/u.test(m)?u.push(fi(s,O(!1,u,-1),i,a)):u.push(n):u.push(Di(s,O(!1,u,-1),i,a))}else/\n/u.test(o)?o.match(/\n/gu).length>1&&u.push("",F):u.push("",n)}else{let o=r();if(u.push(o),a&&pr(a)){let m=Nr.trim(fe(a)),[D]=Nr.split(m);u.push(Di(s,D,i,a))}else u.push(F)}},"children"),u}function Di(e,t,r,n){return e?"":r.type==="JSXElement"&&!r.closingElement||(n==null?void 0:n.type)==="JSXElement"&&!n.closingElement?t.length===1?E:F:E}function fi(e,t,r,n){return e?F:t.length===1?r.type==="JSXElement"&&!r.closingElement||(n==null?void 0:n.type)==="JSXElement"&&!n.closingElement?F:E:F}var mc=new Set(["ArrayExpression","TupleExpression","JSXAttribute","JSXElement","JSXExpressionContainer","JSXFragment","ExpressionStatement","CallExpression","OptionalCallExpression","ConditionalExpression","JsExpressionRoot"]);function yc(e,t,r){let{parent:n}=e;if(mc.has(n.type))return t;let s=e.match(void 0,i=>i.type==="ArrowFunctionExpression",L,i=>i.type==="JSXExpressionContainer"),u=Be(e,r);return l([u?"":b("("),f([E,t]),E,u?"":b(")")],{shouldBreak:s})}function Dc(e,t,r){let{node:n}=e,s=[];if(s.push(r("name")),n.value){let u;if(Q(n.value)){let i=fe(n.value),a=N(!1,N(!1,i.slice(1,-1),"'","'"),""",'"'),o=xr(a,t.jsxSingleQuote);a=o==='"'?N(!1,a,'"',"""):N(!1,a,"'","'"),u=e.call(()=>ye(e,Ie(o+a+o),t),"value")}else u=r("value");s.push("=",u)}return s}function fc(e,t,r){let{node:n}=e,s=(u,i)=>u.type==="JSXEmptyExpression"||!d(u)&&(U(u)||se(u)||u.type==="ArrowFunctionExpression"||u.type==="AwaitExpression"&&(s(u.argument,u)||u.argument.type==="JSXElement")||L(u)||u.type==="ChainExpression"&&L(u.expression)||u.type==="FunctionExpression"||u.type==="TemplateLiteral"||u.type==="TaggedTemplateExpression"||u.type==="DoExpression"||X(i)&&(u.type==="ConditionalExpression"||De(u)));return s(n.expression,e.parent)?l(["{",r("expression"),ke,"}"]):l(["{",f([E,r("expression")]),E,ke,"}"])}function Ec(e,t,r){var a,o;let{node:n}=e,s=d(n.name)||d(n.typeParameters)||d(n.typeArguments);if(n.selfClosing&&n.attributes.length===0&&!s)return["<",r("name"),n.typeArguments?r("typeArguments"):r("typeParameters")," />"];if(((a=n.attributes)==null?void 0:a.length)===1&&Q(n.attributes[0].value)&&!n.attributes[0].value.value.includes(` +`)&&!s&&!d(n.attributes[0]))return l(["<",r("name"),n.typeArguments?r("typeArguments"):r("typeParameters")," ",...e.map(r,"attributes"),n.selfClosing?" />":">"]);let u=(o=n.attributes)==null?void 0:o.some(c=>Q(c.value)&&c.value.value.includes(` +`)),i=t.singleAttributePerLine&&n.attributes.length>1?F:x;return l(["<",r("name"),n.typeArguments?r("typeArguments"):r("typeParameters"),f(e.map(()=>[i,r()],"attributes")),...Fc(n,t,s)],{shouldBreak:u})}function Fc(e,t,r){return e.selfClosing?[x,"/>"]:Cc(e,t,r)?[">"]:[E,">"]}function Cc(e,t,r){let n=e.attributes.length>0&&d(O(!1,e.attributes,-1),g.Trailing);return e.attributes.length===0&&!r||(t.bracketSameLine||t.jsxBracketSameLine)&&(!r||e.attributes.length>0)&&!n}function Ac(e,t,r){let{node:n}=e,s=[];s.push(""),s}function Tc(e,t){let{node:r}=e,n=d(r),s=d(r,g.Line),u=r.type==="JSXOpeningFragment";return[u?"<":""]}function dc(e,t,r){let n=ye(e,cc(e,t,r),t);return yc(e,n,t)}function xc(e,t){let{node:r}=e,n=d(r,g.Line);return[M(e,t,{indent:n}),n?F:""]}function hc(e,t,r){let{node:n}=e;return["{",e.call(({node:s})=>{let u=["...",r()];return!d(s)||!zn(e)?u:[f([E,ye(e,u,t)]),E]},n.type==="JSXSpreadAttribute"?"argument":"expression"),"}"]}function Ei(e,t,r){let{node:n}=e;if(n.type.startsWith("JSX"))switch(n.type){case"JSXAttribute":return Dc(e,t,r);case"JSXIdentifier":return n.name;case"JSXNamespacedName":return P(":",[r("namespace"),r("name")]);case"JSXMemberExpression":return P(".",[r("object"),r("property")]);case"JSXSpreadAttribute":case"JSXSpreadChild":return hc(e,t,r);case"JSXExpressionContainer":return fc(e,t,r);case"JSXFragment":case"JSXElement":return dc(e,t,r);case"JSXOpeningElement":return Ec(e,t,r);case"JSXClosingElement":return Ac(e,t,r);case"JSXOpeningFragment":case"JSXClosingFragment":return Tc(e,t);case"JSXEmptyExpression":return xc(e,t);case"JSXText":throw new Error("JSXText should be handled by JSXElement");default:throw new Me(n,"JSX")}}function gc(e){if(e.children.length===0)return!0;if(e.children.length>1)return!1;let t=e.children[0];return t.type==="JSXText"&&!pr(t)}function pr(e){return e.type==="JSXText"&&(Nr.hasNonWhitespaceCharacter(fe(e))||!/\n/u.test(fe(e)))}function Sc(e){return e.type==="JSXExpressionContainer"&&Q(e.expression)&&e.expression.value===" "&&!d(e.expression)}function Fi(e){let{node:t,parent:r}=e;if(!X(t)||!X(r))return!1;let{index:n,siblings:s}=e,u;for(let i=n;i>0;i--){let a=s[i-1];if(!(a.type==="JSXText"&&!pr(a))){u=a;break}}return(u==null?void 0:u.type)==="JSXExpressionContainer"&&u.expression.type==="JSXEmptyExpression"&&Bt(u.expression)}function Bc(e){return Bt(e.node)||Fi(e)}var Xr=Bc;var bc=0;function Yr(e,t,r){var J;let{node:n,parent:s,grandparent:u,key:i}=e,a=i!=="body"&&(s.type==="IfStatement"||s.type==="WhileStatement"||s.type==="SwitchStatement"||s.type==="DoWhileStatement"),o=n.operator==="|>"&&((J=e.root.extra)==null?void 0:J.__isUsingHackPipeline),c=ys(e,r,t,!1,a);if(a)return c;if(o)return l(c);if(L(s)&&s.callee===n||s.type==="UnaryExpression"||q(s)&&!s.computed)return l([f([E,...c]),E]);let m=s.type==="ReturnStatement"||s.type==="ThrowStatement"||s.type==="JSXExpressionContainer"&&u.type==="JSXAttribute"||n.operator!=="|"&&s.type==="JsExpressionRoot"||n.type!=="NGPipeExpression"&&(s.type==="NGRoot"&&t.parser==="__ng_binding"||s.type==="NGMicrosyntaxExpression"&&u.type==="NGMicrosyntax"&&u.body.length===1)||n===s.body&&s.type==="ArrowFunctionExpression"||n!==s.body&&s.type==="ForStatement"||s.type==="ConditionalExpression"&&u.type!=="ReturnStatement"&&u.type!=="ThrowStatement"&&!L(u)||s.type==="TemplateLiteral",D=s.type==="AssignmentExpression"||s.type==="VariableDeclarator"||s.type==="ClassProperty"||s.type==="PropertyDefinition"||s.type==="TSAbstractPropertyDefinition"||s.type==="ClassPrivateProperty"||Ae(s),y=De(n.left)&&nr(n.operator,n.left.operator);if(m||Ut(n)&&!y||!Ut(n)&&D)return l(c);if(c.length===0)return"";let C=X(n.right),p=c.findIndex(j=>typeof j!="string"&&!Array.isArray(j)&&j.type===le),A=c.slice(0,p===-1?1:p+1),T=c.slice(A.length,C?-1:void 0),S=Symbol("logicalChain-"+ ++bc),B=l([...A,f(T)],{id:S});if(!C)return B;let _=O(!1,c,-1);return l([B,At(_,{groupId:S})])}function ys(e,t,r,n,s){var A;let{node:u}=e;if(!De(u))return[l(t())];let i=[];nr(u.operator,u.left.operator)?i=e.call(T=>ys(T,t,r,!0,s),"left"):i.push(l(t("left")));let a=Ut(u),o=(u.operator==="|>"||u.type==="NGPipeExpression"||Pc(e,r))&&!Oe(r.originalText,u.right),c=u.type==="NGPipeExpression"?"|":u.operator,m=u.type==="NGPipeExpression"&&u.arguments.length>0?l(f([E,": ",P([x,": "],e.map(()=>he(2,l(t())),"arguments"))])):"",D;if(a)D=[c," ",t("right"),m];else{let S=c==="|>"&&((A=e.root.extra)==null?void 0:A.__isUsingHackPipeline)?e.call(B=>ys(B,t,r,!0,s),"right"):t("right");D=[o?x:"",c,o?" ":x,S,m]}let{parent:y}=e,C=d(u.left,g.Trailing|g.Line),p=C||!(s&&u.type==="LogicalExpression")&&y.type!==u.type&&u.left.type!==u.type&&u.right.type!==u.type;if(i.push(o?"":" ",p?l(D,{shouldBreak:C}):D),n&&d(u)){let T=Wt(ye(e,i,r));return T.type===Pe?T.parts:Array.isArray(T)?T:[T]}return i}function Ut(e){return e.type!=="LogicalExpression"?!1:!!(se(e.right)&&e.right.properties.length>0||U(e.right)&&e.right.elements.length>0||X(e.right))}var Ci=e=>e.type==="BinaryExpression"&&e.operator==="|";function Pc(e,t){return(t.parser==="__vue_expression"||t.parser==="__vue_ts_expression")&&Ci(e.node)&&!e.hasAncestor(r=>!Ci(r)&&r.type!=="JsExpressionRoot")}function Ti(e,t,r){let{node:n}=e;if(n.type.startsWith("NG"))switch(n.type){case"NGRoot":return[r("node"),d(n.node)?" //"+ct(n.node)[0].value.trimEnd():""];case"NGPipeExpression":return Yr(e,t,r);case"NGChainedExpression":return l(P([";",x],e.map(()=>Ic(e)?r():["(",r(),")"],"expressions")));case"NGEmptyExpression":return"";case"NGMicrosyntax":return e.map(()=>[e.isFirst?"":Ai(e)?" ":[";",x],r()],"body");case"NGMicrosyntaxKey":return/^[$_a-z][\w$]*(?:-[$_a-z][\w$])*$/iu.test(n.name)?n.name:JSON.stringify(n.name);case"NGMicrosyntaxExpression":return[r("expression"),n.alias===null?"":[" as ",r("alias")]];case"NGMicrosyntaxKeyedExpression":{let{index:s,parent:u}=e,i=Ai(e)||(s===1&&(n.key.name==="then"||n.key.name==="else"||n.key.name==="as")||(s===2||s===3)&&(n.key.name==="else"&&u.body[s-1].type==="NGMicrosyntaxKeyedExpression"&&u.body[s-1].key.name==="then"||n.key.name==="track"))&&u.body[0].type==="NGMicrosyntaxExpression";return[r("key"),i?" ":": ",r("expression")]}case"NGMicrosyntaxLet":return["let ",r("key"),n.value===null?"":[" = ",r("value")]];case"NGMicrosyntaxAs":return[r("key")," as ",r("alias")];default:throw new Me(n,"Angular")}}function Ai({node:e,index:t}){return e.type==="NGMicrosyntaxKeyedExpression"&&e.key.name==="of"&&t===1}var kc=v(["CallExpression","OptionalCallExpression","AssignmentExpression"]);function Ic({node:e}){return tr(e,kc)}function Ds(e,t,r){let{node:n}=e;return l([P(x,e.map(r,"decorators")),hi(n,t)?F:x])}function di(e,t,r){return gi(e.node)?[P(F,e.map(r,"declaration","decorators")),F]:""}function xi(e,t,r){let{node:n,parent:s}=e,{decorators:u}=n;if(!w(u)||gi(s)||Xr(e))return"";let i=n.type==="ClassExpression"||n.type==="ClassDeclaration"||hi(n,t);return[e.key==="declaration"&&iu(s)?F:i?Ee:"",P(x,e.map(r,"decorators")),x]}function hi(e,t){return e.decorators.some(r=>te(t.originalText,k(r)))}function gi(e){var r;if(e.type!=="ExportDefaultDeclaration"&&e.type!=="ExportNamedDeclaration"&&e.type!=="DeclareExportDeclaration")return!1;let t=(r=e.declaration)==null?void 0:r.decorators;return w(t)&&ht(e,t[0])}var Dt=class extends Error{name="ArgExpansionBailout"};function Lc(e,t,r){let{node:n}=e,s=oe(n);if(s.length===0)return["(",M(e,t),")"];let u=s.length-1;if(_c(s)){let y=["("];return Rt(e,(C,p)=>{y.push(r()),p!==u&&y.push(", ")}),y.push(")"),y}let i=!1,a=[];Rt(e,({node:y},C)=>{let p=r();C===u||(pe(y,t)?(i=!0,p=[p,",",F,F]):p=[p,",",x]),a.push(p)});let o=n.type==="ImportExpression"||n.callee.type==="Import",c=!t.parser.startsWith("__ng_")&&!o&&ae(t,"all")?",":"";function m(){return l(["(",f([x,...a]),c,x,")"],{shouldBreak:!0})}if(i||e.parent.type!=="Decorator"&&lu(s))return m();if(Oc(s)){let y=a.slice(1);if(y.some(ne))return m();let C;try{C=r(Rn(n,0),{expandFirstArg:!0})}catch(p){if(p instanceof Dt)return m();throw p}return ne(C)?[Ee,ze([["(",l(C,{shouldBreak:!0}),", ",...y,")"],m()])]:ze([["(",C,", ",...y,")"],["(",l(C,{shouldBreak:!0}),", ",...y,")"],m()])}if(wc(s,a,t)){let y=a.slice(0,-1);if(y.some(ne))return m();let C;try{C=r(Rn(n,-1),{expandLastArg:!0})}catch(p){if(p instanceof Dt)return m();throw p}return ne(C)?[Ee,ze([["(",...y,l(C,{shouldBreak:!0}),")"],m()])]:ze([["(",...y,C,")"],["(",...y,l(C,{shouldBreak:!0}),")"],m()])}let D=["(",f([E,...a]),b(c),E,")"];return Or(e)?D:l(D,{shouldBreak:a.some(ne)||i})}function cr(e,t=!1){return se(e)&&(e.properties.length>0||d(e))||U(e)&&(e.elements.length>0||d(e))||e.type==="TSTypeAssertion"&&cr(e.expression)||Te(e)&&cr(e.expression)||e.type==="FunctionExpression"||e.type==="ArrowFunctionExpression"&&(!e.returnType||!e.returnType.typeAnnotation||e.returnType.typeAnnotation.type!=="TSTypeReference"||jc(e.body))&&(e.body.type==="BlockStatement"||e.body.type==="ArrowFunctionExpression"&&cr(e.body,!0)||se(e.body)||U(e.body)||!t&&(L(e.body)||e.body.type==="ConditionalExpression")||X(e.body))||e.type==="DoExpression"||e.type==="ModuleExpression"}function wc(e,t,r){var u,i;let n=O(!1,e,-1);if(e.length===1){let a=O(!1,t,-1);if((u=a.label)!=null&&u.embed&&((i=a.label)==null?void 0:i.hug)!==!1)return!0}let s=O(!1,e,-2);return!d(n,g.Leading)&&!d(n,g.Trailing)&&cr(n)&&(!s||s.type!==n.type)&&(e.length!==2||s.type!=="ArrowFunctionExpression"||!U(n))&&!(e.length>1&&fs(n,r))}function Oc(e){if(e.length!==2)return!1;let[t,r]=e;return t.type==="ModuleExpression"&&vc(r)?!0:!d(t)&&(t.type==="FunctionExpression"||t.type==="ArrowFunctionExpression"&&t.body.type==="BlockStatement")&&r.type!=="FunctionExpression"&&r.type!=="ArrowFunctionExpression"&&r.type!=="ConditionalExpression"&&Bi(r)&&!cr(r)}function Bi(e){if(e.type==="ParenthesizedExpression")return Bi(e.expression);if(Te(e)||e.type==="TypeCastExpression"){let{typeAnnotation:t}=e;if(t.type==="TypeAnnotation"&&(t=t.typeAnnotation),t.type==="TSArrayType"&&(t=t.elementType,t.type==="TSArrayType"&&(t=t.elementType)),t.type==="GenericTypeAnnotation"||t.type==="TSTypeReference"){let r=t.typeArguments??t.typeParameters;(r==null?void 0:r.params.length)===1&&(t=r.params[0])}return Mt(t)&&be(e.expression,1)}return lt(e)&&oe(e).length>1?!1:De(e)?be(e.left,1)&&be(e.right,1):vn(e)||be(e)}function _c(e){return e.length===2?Si(e,0):e.length===3?e[0].type==="Identifier"&&Si(e,1):!1}function Si(e,t){let r=e[t],n=e[t+1];return r.type==="ArrowFunctionExpression"&&K(r).length===0&&r.body.type==="BlockStatement"&&n.type==="ArrayExpression"&&!e.some(s=>d(s))}function jc(e){return e.type==="BlockStatement"&&(e.body.some(t=>t.type!=="EmptyStatement")||d(e,g.Dangling))}function vc(e){return e.type==="ObjectExpression"&&e.properties.length===1&&Ae(e.properties[0])&&e.properties[0].key.type==="Identifier"&&e.properties[0].key.name==="type"&&Q(e.properties[0].value)&&e.properties[0].value.value==="module"}var lr=Lc;var Mc=e=>((e.type==="ChainExpression"||e.type==="TSNonNullExpression")&&(e=e.expression),L(e)&&oe(e).length>0);function bi(e,t,r){var c;let n=r("object"),s=Es(e,t,r),{node:u}=e,i=e.findAncestor(m=>!(q(m)||m.type==="TSNonNullExpression")),a=e.findAncestor(m=>!(m.type==="ChainExpression"||m.type==="TSNonNullExpression")),o=i&&(i.type==="NewExpression"||i.type==="BindExpression"||i.type==="AssignmentExpression"&&i.left.type!=="Identifier")||u.computed||u.object.type==="Identifier"&&u.property.type==="Identifier"&&!q(a)||(a.type==="AssignmentExpression"||a.type==="VariableDeclarator")&&(Mc(u.object)||((c=n.label)==null?void 0:c.memberChain));return it(n.label,[n,o?s:l(f([E,s]))])}function Es(e,t,r){let n=r("property"),{node:s}=e,u=V(e);return s.computed?!s.property||Ce(s.property)?[u,"[",n,"]"]:l([u,"[",f([E,n]),E,"]"]):[u,".",n]}function Pi(e,t,r){if(e.node.type==="ChainExpression")return e.call(()=>Pi(e,t,r),"expression");let{parent:n}=e,s=!n||n.type==="ExpressionStatement",u=[];function i(I){let{originalText:G}=t,ee=yt(G,k(I));return G.charAt(ee)===")"?ee!==!1&&Ot(G,ee+1):pe(I,t)}function a(I){let{node:G}=I;if(G.type==="ChainExpression")return I.call(()=>a(I),"expression");if(L(G)&&(Ft(G.callee)||L(G.callee))){let ee=i(G);u.unshift({node:G,hasTrailingEmptyLine:ee,printed:[ye(I,[V(I),Qe(I,t,r),lr(I,t,r)],t),ee?F:""]}),I.call(qe=>a(qe),"callee")}else Ft(G)?(u.unshift({node:G,needsParens:Be(I,t),printed:ye(I,q(G)?Es(I,t,r):Hr(I,t,r),t)}),I.call(ee=>a(ee),"object")):G.type==="TSNonNullExpression"?(u.unshift({node:G,printed:ye(I,"!",t)}),I.call(ee=>a(ee),"expression")):u.unshift({node:G,printed:r()})}let{node:o}=e;u.unshift({node:o,printed:[V(e),Qe(e,t,r),lr(e,t,r)]}),o.callee&&e.call(I=>a(I),"callee");let c=[],m=[u[0]],D=1;for(;D0&&c.push(m);function C(I){return/^[A-Z]|^[$_]+$/u.test(I)}function p(I){return I.length<=t.tabWidth}function A(I){var qe;let G=(qe=I[1][0])==null?void 0:qe.node.computed;if(I[0].length===1){let xt=I[0][0].node;return xt.type==="ThisExpression"||xt.type==="Identifier"&&(C(xt.name)||s&&p(xt.name)||G)}let ee=O(!1,I[0],-1).node;return q(ee)&&ee.property.type==="Identifier"&&(C(ee.property.name)||G)}let T=c.length>=2&&!d(c[1][0].node)&&A(c);function S(I){let G=I.map(ee=>ee.printed);return I.length>0&&O(!1,I,-1).needsParens?["(",...G,")"]:G}function B(I){return I.length===0?"":f([F,P(F,I.map(S))])}let _=c.map(S),J=_,j=T?3:2,h=c.flat(),W=h.slice(1,-1).some(I=>d(I.node,g.Leading))||h.slice(0,-1).some(I=>d(I.node,g.Trailing))||c[j]&&d(c[j][0].node,g.Leading);if(c.length<=j&&!W&&!c.some(I=>O(!1,I,-1).hasTrailingEmptyLine))return Or(e)?J:l(J);let Fe=O(!1,c[T?1:0],-1).node,H=!L(Fe)&&i(Fe),ue=[S(c[0]),T?c.slice(1,2).map(S):"",H?F:"",B(c.slice(T?2:1))],Z=u.map(({node:I})=>I).filter(L);function It(){let I=O(!1,O(!1,c,-1),-1).node,G=O(!1,_,-1);return L(I)&&ne(G)&&Z.slice(0,-1).some(ee=>ee.arguments.some(_t))}let $t;return W||Z.length>2&&Z.some(I=>!I.arguments.every(G=>be(G)))||_.slice(0,-1).some(ne)||It()?$t=l(ue):$t=[ne(J)||H?Ee:"",ze([J,ue])],it({memberChain:!0},$t)}var ki=Pi;function Vr(e,t,r){var m;let{node:n}=e,s=n.type==="NewExpression",u=n.type==="ImportExpression",i=V(e),a=oe(n),o=a.length===1&&Lr(a[0],t.originalText);if(o||Rc(e)||St(n,e.parent)){let D=[];if(Rt(e,()=>{D.push(r())}),!(o&&((m=D[0].label)!=null&&m.embed)))return[s?"new ":"",Ii(e,r),i,Qe(e,t,r),"(",P(", ",D),")"]}if(!u&&!s&&Ft(n.callee)&&!e.call(D=>Be(D,t),"callee",...n.callee.type==="ChainExpression"?["expression"]:[]))return ki(e,t,r);let c=[s?"new ":"",Ii(e,r),i,Qe(e,t,r),lr(e,t,r)];return u||L(n.callee)?l(c):c}function Ii(e,t){let{node:r}=e;return r.type==="ImportExpression"?`import${r.phase?`.${r.phase}`:""}`:t("callee")}function Rc(e){let{node:t}=e;if(t.type!=="CallExpression"||t.optional||t.callee.type!=="Identifier")return!1;let r=oe(t);return t.callee.name==="require"?r.length===1&&Q(r[0])||r.length>1:t.callee.name==="define"&&e.parent.type==="ExpressionStatement"?r.length===1||r.length===2&&r[0].type==="ArrayExpression"||r.length===3&&Q(r[0])&&r[1].type==="ArrayExpression":!1}function Tt(e,t,r,n,s,u){let i=Jc(e,t,r,n,u),a=u?r(u,{assignmentLayout:i}):"";switch(i){case"break-after-operator":return l([l(n),s,l(f([x,a]))]);case"never-break-after-operator":return l([l(n),s," ",a]);case"fluid":{let o=Symbol("assignment");return l([l(n),s,l(f(x),{id:o}),ke,At(a,{groupId:o})])}case"break-lhs":return l([n,s," ",l(a)]);case"chain":return[l(n),s,x,a];case"chain-tail":return[l(n),s,f([x,a])];case"chain-tail-arrow-chain":return[l(n),s,a];case"only-left":return n}}function wi(e,t,r){let{node:n}=e;return Tt(e,t,r,r("left"),[" ",n.operator],"right")}function Oi(e,t,r){return Tt(e,t,r,r("id")," =","init")}function Jc(e,t,r,n,s){let{node:u}=e,i=u[s];if(!i)return"only-left";let a=!$r(i);if(e.match($r,_i,y=>!a||y.type!=="ExpressionStatement"&&y.type!=="VariableDeclaration"))return a?i.type==="ArrowFunctionExpression"&&i.body.type==="ArrowFunctionExpression"?"chain-tail-arrow-chain":"chain-tail":"chain";if(!a&&$r(i.right)||Oe(t.originalText,i))return"break-after-operator";if(u.type==="ImportAttribute"||i.type==="CallExpression"&&i.callee.name==="require"||t.parser==="json5"||t.parser==="jsonc"||t.parser==="json")return"never-break-after-operator";let m=Bu(n);if(Wc(u)||Xc(u)||Fs(u)&&m)return"break-lhs";let D=Hc(u,n,t);return e.call(()=>qc(e,t,r,D),s)?"break-after-operator":Gc(u)?"break-lhs":!m&&(D||i.type==="TemplateLiteral"||i.type==="TaggedTemplateExpression"||i.type==="BooleanLiteral"||Ce(i)||i.type==="ClassExpression")?"never-break-after-operator":"fluid"}function qc(e,t,r,n){let s=e.node;if(De(s)&&!Ut(s))return!0;switch(s.type){case"StringLiteralTypeAnnotation":case"SequenceExpression":return!0;case"TSConditionalType":case"ConditionalTypeAnnotation":if(!t.experimentalTernaries&&!Kc(s))break;return!0;case"ConditionalExpression":{if(!t.experimentalTernaries){let{test:c}=s;return De(c)&&!Ut(c)}let{consequent:a,alternate:o}=s;return a.type==="ConditionalExpression"||o.type==="ConditionalExpression"}case"ClassExpression":return w(s.decorators)}if(n)return!1;let u=s,i=[];for(;;)if(u.type==="UnaryExpression"||u.type==="AwaitExpression"||u.type==="YieldExpression"&&u.argument!==null)u=u.argument,i.push("argument");else if(u.type==="TSNonNullExpression")u=u.expression,i.push("expression");else break;return!!(Q(u)||e.call(()=>ji(e,t,r),...i))}function Wc(e){if(_i(e)){let t=e.left||e.id;return t.type==="ObjectPattern"&&t.properties.length>2&&t.properties.some(r=>{var n;return Ae(r)&&(!r.shorthand||((n=r.value)==null?void 0:n.type)==="AssignmentPattern")})}return!1}function $r(e){return e.type==="AssignmentExpression"}function _i(e){return $r(e)||e.type==="VariableDeclarator"}function Gc(e){let t=Nc(e);if(w(t)){let r=e.type==="TSTypeAliasDeclaration"?"constraint":"bound";if(t.length>1&&t.some(n=>n[r]||n.default))return!0}return!1}var Uc=v(["TSTypeAliasDeclaration","TypeAlias"]);function Nc(e){var t;if(Uc(e))return(t=e.typeParameters)==null?void 0:t.params}function Xc(e){if(e.type!=="VariableDeclarator")return!1;let{typeAnnotation:t}=e.id;if(!t||!t.typeAnnotation)return!1;let r=Li(t.typeAnnotation);return w(r)&&r.length>1&&r.some(n=>w(Li(n))||n.type==="TSConditionalType")}function Fs(e){var t;return e.type==="VariableDeclarator"&&((t=e.init)==null?void 0:t.type)==="ArrowFunctionExpression"}var Yc=v(["TSTypeReference","GenericTypeAnnotation"]);function Li(e){var t;if(Yc(e))return(t=e.typeArguments??e.typeParameters)==null?void 0:t.params}function ji(e,t,r,n=!1){var i;let{node:s}=e,u=()=>ji(e,t,r,!0);if(s.type==="ChainExpression"||s.type==="TSNonNullExpression")return e.call(u,"expression");if(L(s)){if((i=Vr(e,t,r).label)!=null&&i.memberChain)return!1;let o=oe(s);return!(o.length===0||o.length===1&&rr(o[0],t))||Vc(s,r)?!1:e.call(u,"callee")}return q(s)?e.call(u,"object"):n&&(s.type==="Identifier"||s.type==="ThisExpression")}function Hc(e,t,r){return Ae(e)?(t=Wt(t),typeof t=="string"&&et(t)1)return!0;if(r.length===1){let s=r[0];if(Ne(s)||_r(s)||s.type==="TSTypeLiteral"||s.type==="ObjectTypeAnnotation")return!0}let n=e.typeParameters?"typeParameters":"typeArguments";if(ne(t(n)))return!0}return!1}function $c(e){var t;return(t=e.typeParameters??e.typeArguments)==null?void 0:t.params}function Kc(e){function t(r){switch(r.type){case"FunctionTypeAnnotation":case"GenericTypeAnnotation":case"TSFunctionType":return!!r.typeParameters;case"TSTypeReference":return!!(r.typeArguments??r.typeParameters);default:return!1}}return t(e.checkType)||t(e.extendsType)}function Je(e,t,r,n,s){let u=e.node,i=K(u),a=s?Qe(e,r,t):"";if(i.length===0)return[a,"(",M(e,r,{filter:p=>ge(r.originalText,k(p))===")"}),")"];let{parent:o}=e,c=St(o),m=Cs(u),D=[];if(fu(e,(p,A)=>{let T=A===i.length-1;T&&u.rest&&D.push("..."),D.push(t()),!T&&(D.push(","),c||m?D.push(" "):pe(i[A],r)?D.push(F,F):D.push(x))}),n&&!Qc(e)){if(ne(a)||ne(D))throw new Dt;return l([ur(a),"(",ur(D),")"])}let y=i.every(p=>!w(p.decorators));return m&&y?[a,"(",...D,")"]:c?[a,"(",...D,")"]:(Ir(o)||ou(o)||o.type==="TypeAlias"||o.type==="UnionTypeAnnotation"||o.type==="IntersectionTypeAnnotation"||o.type==="FunctionTypeAnnotation"&&o.returnType===u)&&i.length===1&&i[0].name===null&&u.this!==i[0]&&i[0].typeAnnotation&&u.typeParameters===null&&Mt(i[0].typeAnnotation)&&!u.rest?r.arrowParens==="always"||u.type==="HookTypeAnnotation"?["(",...D,")"]:D:[a,"(",f([E,...D]),b(!Du(u)&&ae(r,"all")?",":""),E,")"]}function Cs(e){if(!e)return!1;let t=K(e);if(t.length!==1)return!1;let[r]=t;return!d(r)&&(r.type==="ObjectPattern"||r.type==="ArrayPattern"||r.type==="Identifier"&&r.typeAnnotation&&(r.typeAnnotation.type==="TypeAnnotation"||r.typeAnnotation.type==="TSTypeAnnotation")&&we(r.typeAnnotation.typeAnnotation)||r.type==="FunctionTypeParam"&&we(r.typeAnnotation)&&r!==e.rest||r.type==="AssignmentPattern"&&(r.left.type==="ObjectPattern"||r.left.type==="ArrayPattern")&&(r.right.type==="Identifier"||se(r.right)&&r.right.properties.length===0||U(r.right)&&r.right.elements.length===0))}function zc(e){let t;return e.returnType?(t=e.returnType,t.typeAnnotation&&(t=t.typeAnnotation)):e.typeAnnotation&&(t=e.typeAnnotation),t}function ot(e,t){var s;let r=zc(e);if(!r)return!1;let n=(s=e.typeParameters)==null?void 0:s.params;if(n){if(n.length>1)return!1;if(n.length===1){let u=n[0];if(u.constraint||u.default)return!1}}return K(e).length===1&&(we(r)||ne(t))}function Qc(e){return e.match(t=>t.type==="ArrowFunctionExpression"&&t.body.type==="BlockStatement",(t,r)=>{if(t.type==="CallExpression"&&r==="arguments"&&t.arguments.length===1&&t.callee.type==="CallExpression"){let n=t.callee.callee;return n.type==="Identifier"||n.type==="MemberExpression"&&!n.computed&&n.object.type==="Identifier"&&n.property.type==="Identifier"}return!1},(t,r)=>t.type==="VariableDeclarator"&&r==="init"||t.type==="ExportDefaultDeclaration"&&r==="declaration"||t.type==="TSExportAssignment"&&r==="expression"||t.type==="AssignmentExpression"&&r==="right"&&t.left.type==="MemberExpression"&&t.left.object.type==="Identifier"&&t.left.object.name==="module"&&t.left.property.type==="Identifier"&&t.left.property.name==="exports",t=>t.type!=="VariableDeclaration"||t.kind==="const"&&t.declarations.length===1)}function vi(e){let t=K(e);return t.length>1&&t.some(r=>r.type==="TSParameterProperty")}var Zc=v(["VoidTypeAnnotation","TSVoidKeyword","NullLiteralTypeAnnotation","TSNullKeyword"]),el=v(["ObjectTypeAnnotation","TSTypeLiteral","GenericTypeAnnotation","TSTypeReference"]);function tl(e){let{types:t}=e;if(t.some(n=>d(n)))return!1;let r=t.find(n=>el(n));return r?t.every(n=>n===r||Zc(n)):!1}function As(e){return Mt(e)||we(e)?!0:Ne(e)?tl(e):!1}function Mi(e,t,r){let n=t.semi?";":"",{node:s}=e,u=[$(e),"opaque type ",r("id"),r("typeParameters")];return s.supertype&&u.push(": ",r("supertype")),s.impltype&&u.push(" = ",r("impltype")),u.push(n),u}function Kr(e,t,r){let n=t.semi?";":"",{node:s}=e,u=[$(e)];u.push("type ",r("id"),r("typeParameters"));let i=s.type==="TSTypeAliasDeclaration"?"typeAnnotation":"right";return[Tt(e,t,r,u," =",i),n]}function zr(e,t,r){let n=!1;return l(e.map(({isFirst:s,previous:u,node:i,index:a})=>{let o=r();if(s)return o;let c=we(i),m=we(u);return m&&c?[" & ",n?f(o):o]:!m&&!c?f([" &",x,o]):(a>1&&(n=!0),[" & ",a>1?f(o):o])},"types"))}function Qr(e,t,r){let{node:n}=e,{parent:s}=e,u=s.type!=="TypeParameterInstantiation"&&(s.type!=="TSConditionalType"||!t.experimentalTernaries)&&(s.type!=="ConditionalTypeAnnotation"||!t.experimentalTernaries)&&s.type!=="TSTypeParameterInstantiation"&&s.type!=="GenericTypeAnnotation"&&s.type!=="TSTypeReference"&&s.type!=="TSTypeAssertion"&&s.type!=="TupleTypeAnnotation"&&s.type!=="TSTupleType"&&!(s.type==="FunctionTypeParam"&&!s.name&&e.grandparent.this!==s)&&!((s.type==="TypeAlias"||s.type==="VariableDeclarator"||s.type==="TSTypeAliasDeclaration")&&Oe(t.originalText,n)),i=As(n),a=e.map(m=>{let D=r();return i||(D=he(2,D)),ye(m,D,t)},"types");if(i)return P(" | ",a);let o=u&&!Oe(t.originalText,n),c=[b([o?x:"","| "]),P([x,"| "],a)];return Be(e,t)?l([f(c),E]):(s.type==="TupleTypeAnnotation"||s.type==="TSTupleType")&&s[s.type==="TupleTypeAnnotation"&&s.types?"types":"elementTypes"].length>1?l([f([b(["(",E]),c]),E,b(")")]):l(u?f(c):c)}function rl(e){var n;let{node:t,parent:r}=e;return t.type==="FunctionTypeAnnotation"&&(Ir(r)||!((r.type==="ObjectTypeProperty"||r.type==="ObjectTypeInternalSlot")&&!r.variance&&!r.optional&&ht(r,t)||r.type==="ObjectTypeCallProperty"||((n=e.getParentNode(2))==null?void 0:n.type)==="DeclareFunction"))}function Zr(e,t,r){let{node:n}=e,s=[Nt(e)];(n.type==="TSConstructorType"||n.type==="TSConstructSignatureDeclaration")&&s.push("new ");let u=Je(e,r,t,!1,!0),i=[];return n.type==="FunctionTypeAnnotation"?i.push(rl(e)?" => ":": ",r("returnType")):i.push(Y(e,r,n.returnType?"returnType":"typeAnnotation")),ot(n,i)&&(u=l(u)),s.push(u,i),l(s)}function en(e,t,r){return[r("objectType"),V(e),"[",r("indexType"),"]"]}function tn(e,t,r){return["infer ",r("typeParameter")]}function Ts(e,t,r){let{node:n}=e;return[n.postfix?"":r,Y(e,t),n.postfix?r:""]}function rn(e,t,r){let{node:n}=e;return["...",...n.type==="TupleTypeSpreadElement"&&n.label?[r("label"),": "]:[],r("typeAnnotation")]}function nn(e,t,r){let{node:n}=e;return[n.variance?r("variance"):"",r("label"),n.optional?"?":"",": ",r("elementType")]}var nl=new WeakSet;function Y(e,t,r="typeAnnotation"){let{node:{[r]:n}}=e;if(!n)return"";let s=!1;if(n.type==="TSTypeAnnotation"||n.type==="TypeAnnotation"){let u=e.call(Ri,r);(u==="=>"||u===":"&&d(n,g.Leading))&&(s=!0),nl.add(n)}return s?[" ",t(r)]:t(r)}var Ri=e=>e.match(t=>t.type==="TSTypeAnnotation",(t,r)=>(r==="returnType"||r==="typeAnnotation")&&(t.type==="TSFunctionType"||t.type==="TSConstructorType"))?"=>":e.match(t=>t.type==="TSTypeAnnotation",(t,r)=>r==="typeAnnotation"&&(t.type==="TSJSDocNullableType"||t.type==="TSJSDocNonNullableType"||t.type==="TSTypePredicate"))||e.match(t=>t.type==="TypeAnnotation",(t,r)=>r==="typeAnnotation"&&t.type==="Identifier",(t,r)=>r==="id"&&t.type==="DeclareFunction")||e.match(t=>t.type==="TypeAnnotation",(t,r)=>r==="typeAnnotation"&&t.type==="Identifier",(t,r)=>r==="id"&&t.type==="DeclareHook")||e.match(t=>t.type==="TypeAnnotation",(t,r)=>r==="bound"&&t.type==="TypeParameter"&&t.usesExtendsBound)?"":":";function sn(e,t,r){let n=Ri(e);return n?[n," ",r("typeAnnotation")]:r("typeAnnotation")}function un(e){return[e("elementType"),"[]"]}function an({node:e},t){let r=e.type==="TSTypeQuery"?"exprName":"argument",n=e.type==="TypeofTypeAnnotation"||e.typeArguments?"typeArguments":"typeParameters";return["typeof ",t(r),t(n)]}function on(e,t){let{node:r}=e;return[r.type==="TSTypePredicate"&&r.asserts?"asserts ":r.type==="TypePredicate"&&r.kind?`${r.kind} `:"",t("parameterName"),r.typeAnnotation?[" is ",Y(e,t)]:""]}function V(e){let{node:t}=e;return!t.optional||t.type==="Identifier"&&t===e.parent.key?"":L(t)||q(t)&&t.computed||t.type==="OptionalIndexedAccessType"?"?.":"?"}function pn(e){return e.node.definite||e.match(void 0,(t,r)=>r==="id"&&t.type==="VariableDeclarator"&&t.definite)?"!":""}var sl=new Set(["DeclareClass","DeclareComponent","DeclareFunction","DeclareHook","DeclareVariable","DeclareExportDeclaration","DeclareExportAllDeclaration","DeclareOpaqueType","DeclareTypeAlias","DeclareEnum","DeclareInterface"]);function $(e){let{node:t}=e;return t.declare||sl.has(t.type)&&e.parent.type!=="DeclareExportDeclaration"?"declare ":""}var ul=new Set(["TSAbstractMethodDefinition","TSAbstractPropertyDefinition","TSAbstractAccessorProperty"]);function Nt({node:e}){return e.abstract||ul.has(e.type)?"abstract ":""}function Qe(e,t,r){let n=e.node;return n.typeArguments?r("typeArguments"):n.typeParameters?r("typeParameters"):""}function Hr(e,t,r){return["::",r("callee")]}function ft(e,t,r){return e.type==="EmptyStatement"?";":e.type==="BlockStatement"||r?[" ",t]:f([x,t])}function cn(e,t){return["...",t("argument"),Y(e,t)]}function Xt(e){return e.accessibility?e.accessibility+" ":""}function il(e,t,r,n){let{node:s}=e,u=s.inexact?"...":"";return d(s,g.Dangling)?l([r,u,M(e,t,{indent:!0}),E,n]):[r,u,n]}function Yt(e,t,r){let{node:n}=e,s=[],u=n.type==="TupleExpression"?"#[":"[",i="]",a=n.type==="TupleTypeAnnotation"&&n.types?"types":n.type==="TSTupleType"||n.type==="TupleTypeAnnotation"?"elementTypes":"elements",o=n[a];if(o.length===0)s.push(il(e,t,u,i));else{let c=O(!1,o,-1),m=(c==null?void 0:c.type)!=="RestElement"&&!n.inexact,D=c===null,y=Symbol("array"),C=!t.__inJestEach&&o.length>1&&o.every((T,S,B)=>{let _=T==null?void 0:T.type;if(!U(T)&&!se(T))return!1;let J=B[S+1];if(J&&_!==J.type)return!1;let j=U(T)?"elements":"properties";return T[j]&&T[j].length>1}),p=fs(n,t),A=m?D?",":ae(t)?p?b(",","",{groupId:y}):b(","):"":"";s.push(l([u,f([E,p?ol(e,t,r,A):[al(e,t,a,n.inexact,r),A],M(e,t)]),E,i],{shouldBreak:C,id:y}))}return s.push(V(e),Y(e,r)),s}function fs(e,t){return U(e)&&e.elements.length>1&&e.elements.every(r=>r&&(Ce(r)||jn(r)&&!d(r.argument))&&!d(r,g.Trailing|g.Line,n=>!te(t.originalText,R(n),{backwards:!0})))}function Ji({node:e},{originalText:t}){let r=s=>Lt(t,wt(t,s)),n=s=>t[s]===","?s:n(r(s+1));return Ot(t,n(k(e)))}function al(e,t,r,n,s){let u=[];return e.each(({node:i,isLast:a})=>{u.push(i?l(s()):""),(!a||n)&&u.push([",",x,i&&Ji(e,t)?E:""])},r),n&&u.push("..."),u}function ol(e,t,r,n){let s=[];return e.each(({isLast:u,next:i})=>{s.push([r(),u?n:","]),u||s.push(Ji(e,t)?[F,F]:d(i,g.Leading|g.Line)?F:x)},"elements"),qt(s)}var qi=new Proxy(()=>{},{get:()=>qi}),ln=qi;var pl=/^[\$A-Z_a-z\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u08A0-\u08B4\u08B6-\u08BD\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1CE9-\u1CEC\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC][\$0-9A-Z_a-z\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0300-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u0483-\u0487\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u05D0-\u05EA\u05F0-\u05F2\u0610-\u061A\u0620-\u0669\u066E-\u06D3\u06D5-\u06DC\u06DF-\u06E8\u06EA-\u06FC\u06FF\u0710-\u074A\u074D-\u07B1\u07C0-\u07F5\u07FA\u0800-\u082D\u0840-\u085B\u08A0-\u08B4\u08B6-\u08BD\u08D4-\u08E1\u08E3-\u0963\u0966-\u096F\u0971-\u0983\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BC-\u09C4\u09C7\u09C8\u09CB-\u09CE\u09D7\u09DC\u09DD\u09DF-\u09E3\u09E6-\u09F1\u0A01-\u0A03\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A59-\u0A5C\u0A5E\u0A66-\u0A75\u0A81-\u0A83\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABC-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AD0\u0AE0-\u0AE3\u0AE6-\u0AEF\u0AF9\u0B01-\u0B03\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3C-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B56\u0B57\u0B5C\u0B5D\u0B5F-\u0B63\u0B66-\u0B6F\u0B71\u0B82\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD0\u0BD7\u0BE6-\u0BEF\u0C00-\u0C03\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C58-\u0C5A\u0C60-\u0C63\u0C66-\u0C6F\u0C80-\u0C83\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBC-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CDE\u0CE0-\u0CE3\u0CE6-\u0CEF\u0CF1\u0CF2\u0D01-\u0D03\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D-\u0D44\u0D46-\u0D48\u0D4A-\u0D4E\u0D54-\u0D57\u0D5F-\u0D63\u0D66-\u0D6F\u0D7A-\u0D7F\u0D82\u0D83\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E01-\u0E3A\u0E40-\u0E4E\u0E50-\u0E59\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB9\u0EBB-\u0EBD\u0EC0-\u0EC4\u0EC6\u0EC8-\u0ECD\u0ED0-\u0ED9\u0EDC-\u0EDF\u0F00\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E-\u0F47\u0F49-\u0F6C\u0F71-\u0F84\u0F86-\u0F97\u0F99-\u0FBC\u0FC6\u1000-\u1049\u1050-\u109D\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u135D-\u135F\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1714\u1720-\u1734\u1740-\u1753\u1760-\u176C\u176E-\u1770\u1772\u1773\u1780-\u17D3\u17D7\u17DC\u17DD\u17E0-\u17E9\u180B-\u180D\u1810-\u1819\u1820-\u1877\u1880-\u18AA\u18B0-\u18F5\u1900-\u191E\u1920-\u192B\u1930-\u193B\u1946-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u19D0-\u19D9\u1A00-\u1A1B\u1A20-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AA7\u1AB0-\u1ABD\u1B00-\u1B4B\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1BF3\u1C00-\u1C37\u1C40-\u1C49\u1C4D-\u1C7D\u1C80-\u1C88\u1CD0-\u1CD2\u1CD4-\u1CF6\u1CF8\u1CF9\u1D00-\u1DF5\u1DFB-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u200C\u200D\u203F\u2040\u2054\u2071\u207F\u2090-\u209C\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D7F-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2DE0-\u2DFF\u2E2F\u3005-\u3007\u3021-\u302F\u3031-\u3035\u3038-\u303C\u3041-\u3096\u3099\u309A\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66F\uA674-\uA67D\uA67F-\uA6F1\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA827\uA840-\uA873\uA880-\uA8C5\uA8D0-\uA8D9\uA8E0-\uA8F7\uA8FB\uA8FD\uA900-\uA92D\uA930-\uA953\uA960-\uA97C\uA980-\uA9C0\uA9CF-\uA9D9\uA9E0-\uA9FE\uAA00-\uAA36\uAA40-\uAA4D\uAA50-\uAA59\uAA60-\uAA76\uAA7A-\uAAC2\uAADB-\uAADD\uAAE0-\uAAEF\uAAF2-\uAAF6\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABEA\uABEC\uABED\uABF0-\uABF9\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE00-\uFE0F\uFE20-\uFE2F\uFE33\uFE34\uFE4D-\uFE4F\uFE70-\uFE74\uFE76-\uFEFC\uFF10-\uFF19\uFF21-\uFF3A\uFF3F\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]*$/,cl=e=>pl.test(e),Wi=cl;function ll(e){return e.length===1?e:e.toLowerCase().replace(/^([+-]?[\d.]+e)(?:\+|(-))?0*(?=\d)/u,"$1$2").replace(/^([+-]?[\d.]+)e[+-]?0+$/u,"$1").replace(/^([+-])?\./u,"$10.").replace(/(\.\d+?)0+(?=e|$)/u,"$1").replace(/\.(?=e|$)/u,"")}var Ze=ll;var mn=new WeakMap;function Ui(e){return/^(?:\d+|\d+\.\d+)$/u.test(e)}function Gi(e,t){return t.parser==="json"||t.parser==="jsonc"||!Q(e.key)||tt(fe(e.key),t).slice(1,-1)!==e.key.value?!1:!!(Wi(e.key.value)&&!(t.parser==="babel-ts"&&e.type==="ClassProperty"||t.parser==="typescript"&&e.type==="PropertyDefinition")||Ui(e.key.value)&&String(Number(e.key.value))===e.key.value&&e.type!=="ImportAttribute"&&(t.parser==="babel"||t.parser==="acorn"||t.parser==="espree"||t.parser==="meriyah"||t.parser==="__babel_estree"))}function ml(e,t){let{key:r}=e.node;return(r.type==="Identifier"||Ce(r)&&Ui(Ze(fe(r)))&&String(r.value)===Ze(fe(r))&&!(t.parser==="typescript"||t.parser==="babel-ts"))&&(t.parser==="json"||t.parser==="jsonc"||t.quoteProps==="consistent"&&mn.get(e.parent))}function Et(e,t,r){let{node:n}=e;if(n.computed)return["[",r("key"),"]"];let{parent:s}=e,{key:u}=n;if(t.quoteProps==="consistent"&&!mn.has(s)){let i=e.siblings.some(a=>!a.computed&&Q(a.key)&&!Gi(a,t));mn.set(s,i)}if(ml(e,t)){let i=tt(JSON.stringify(u.type==="Identifier"?u.name:u.value.toString()),t);return e.call(a=>ye(a,i,t),"key")}return Gi(n,t)&&(t.quoteProps==="as-needed"||t.quoteProps==="consistent"&&!mn.get(s))?e.call(i=>ye(i,/^\d/u.test(u.value)?Ze(u.value):u.value,t),"key"):r("key")}function yn(e,t,r){let{node:n}=e;return n.shorthand?r("value"):Tt(e,t,r,Et(e,t,r),":","value")}var yl=({node:e,key:t,parent:r})=>t==="value"&&e.type==="FunctionExpression"&&(r.type==="ObjectMethod"||r.type==="ClassMethod"||r.type==="ClassPrivateMethod"||r.type==="MethodDefinition"||r.type==="TSAbstractMethodDefinition"||r.type==="TSDeclareMethod"||r.type==="Property"&>(r));function Dn(e,t,r,n){if(yl(e))return fn(e,r,t);let{node:s}=e,u=!1;if((s.type==="FunctionDeclaration"||s.type==="FunctionExpression")&&(n!=null&&n.expandLastArg)){let{parent:m}=e;L(m)&&(oe(m).length>1||K(s).every(D=>D.type==="Identifier"&&!D.typeAnnotation))&&(u=!0)}let i=[$(e),s.async?"async ":"",`function${s.generator?"*":""} `,s.id?t("id"):""],a=Je(e,t,r,u),o=Ht(e,t),c=ot(s,o);return i.push(Qe(e,r,t),l([c?l(a):a,o]),s.body?" ":"",t("body")),r.semi&&(s.declare||!s.body)&&i.push(";"),i}function mr(e,t,r){let{node:n}=e,{kind:s}=n,u=n.value||n,i=[];return!s||s==="init"||s==="method"||s==="constructor"?u.async&&i.push("async "):(ln.ok(s==="get"||s==="set"),i.push(s," ")),u.generator&&i.push("*"),i.push(Et(e,t,r),n.optional||n.key.optional?"?":"",n===u?fn(e,t,r):r("value")),i}function fn(e,t,r){let{node:n}=e,s=Je(e,r,t),u=Ht(e,r),i=vi(n),a=ot(n,u),o=[Qe(e,t,r),l([i?l(s,{shouldBreak:!0}):a?l(s):s,u])];return n.body?o.push(" ",r("body")):o.push(t.semi?";":""),o}function Dl(e){let t=K(e);return t.length===1&&!e.typeParameters&&!d(e,g.Dangling)&&t[0].type==="Identifier"&&!t[0].typeAnnotation&&!d(t[0])&&!t[0].optional&&!e.predicate&&!e.returnType}function En(e,t){if(t.arrowParens==="always")return!1;if(t.arrowParens==="avoid"){let{node:r}=e;return Dl(r)}return!1}function Ht(e,t){let{node:r}=e,s=[Y(e,t,"returnType")];return r.predicate&&s.push(t("predicate")),s}function Ni(e,t,r){let{node:n}=e,s=t.semi?";":"",u=[];if(n.argument){let o=r("argument");fl(t,n.argument)?o=["(",f([F,o]),F,")"]:(De(n.argument)||n.argument.type==="SequenceExpression"||t.experimentalTernaries&&n.argument.type==="ConditionalExpression"&&(n.argument.consequent.type==="ConditionalExpression"||n.argument.alternate.type==="ConditionalExpression"))&&(o=l([b("("),f([E,o]),E,b(")")])),u.push(" ",o)}let i=d(n,g.Dangling),a=s&&i&&d(n,g.Last|g.Line);return a&&u.push(s),i&&u.push(" ",M(e,t)),a||u.push(s),u}function Xi(e,t,r){return["return",Ni(e,t,r)]}function Yi(e,t,r){return["throw",Ni(e,t,r)]}function fl(e,t){if(Oe(e.originalText,t)||d(t,g.Leading,r=>de(e.originalText,R(r),k(r)))&&!X(t))return!0;if(jt(t)){let r=t,n;for(;n=uu(r);)if(r=n,Oe(e.originalText,r))return!0}return!1}var ds=new WeakMap;function Hi(e){return ds.has(e)||ds.set(e,e.type==="ConditionalExpression"&&!ie(e,t=>t.type==="ObjectExpression")),ds.get(e)}var Vi=e=>e.type==="SequenceExpression";function $i(e,t,r,n={}){let s=[],u,i=[],a=!1,o=!n.expandLastArg&&e.node.body.type==="ArrowFunctionExpression",c;(function T(){let{node:S}=e,B=El(e,t,r,n);if(s.length===0)s.push(B);else{let{leading:_,trailing:J}=os(e,t);s.push([_,B]),i.unshift(J)}o&&(a||(a=S.returnType&&K(S).length>0||S.typeParameters||K(S).some(_=>_.type!=="Identifier"))),!o||S.body.type!=="ArrowFunctionExpression"?(u=r("body",n),c=S.body):e.call(T,"body")})();let m=!Oe(t.originalText,c)&&(Vi(c)||Fl(c,u,t)||!a&&Hi(c)),D=e.key==="callee"&<(e.parent),y=Symbol("arrow-chain"),C=Cl(e,n,{signatureDocs:s,shouldBreak:a}),p,A=!1;return o&&(D||n.assignmentLayout)&&(A=!0,p=n.assignmentLayout==="chain-tail-arrow-chain"||D&&!m),u=Al(e,t,n,{bodyDoc:u,bodyComments:i,functionBody:c,shouldPutBodyOnSameLine:m}),l([l(A?f([E,C]):C,{shouldBreak:p,id:y})," =>",o?At(u,{groupId:y}):l(u),o&&D?b(E,"",{groupId:y}):""])}function El(e,t,r,n){let{node:s}=e,u=[];if(s.async&&u.push("async "),En(e,t))u.push(r(["params",0]));else{let a=n.expandLastArg||n.expandFirstArg,o=Ht(e,r);if(a){if(ne(o))throw new Dt;o=l(ur(o))}u.push(l([Je(e,r,t,a,!0),o]))}let i=M(e,t,{filter(a){let o=yt(t.originalText,k(a));return o!==!1&&t.originalText.slice(o,o+2)==="=>"}});return i&&u.push(" ",i),u}function Fl(e,t,r){var n,s;return U(e)||se(e)||e.type==="ArrowFunctionExpression"||e.type==="DoExpression"||e.type==="BlockStatement"||X(e)||((n=t.label)==null?void 0:n.hug)!==!1&&(((s=t.label)==null?void 0:s.embed)||Lr(e,r.originalText))}function Cl(e,t,{signatureDocs:r,shouldBreak:n}){if(r.length===1)return r[0];let{parent:s,key:u}=e;return u!=="callee"&<(s)||De(s)?l([r[0]," =>",f([x,P([" =>",x],r.slice(1))])],{shouldBreak:n}):u==="callee"&<(s)||t.assignmentLayout?l(P([" =>",x],r),{shouldBreak:n}):l(f(P([" =>",x],r)),{shouldBreak:n})}function Al(e,t,r,{bodyDoc:n,bodyComments:s,functionBody:u,shouldPutBodyOnSameLine:i}){let{node:a,parent:o}=e,c=r.expandLastArg&&ae(t,"all")?b(","):"",m=(r.expandLastArg||o.type==="JSXExpressionContainer")&&!d(a)?E:"";return i&&Hi(u)?[" ",l([b("","("),f([E,n]),b("",")"),c,m]),s]:(Vi(u)&&(n=l(["(",f([E,n]),E,")"])),i?[" ",n,s]:[f([x,n,s]),c,m])}var Tl=(e,t,r)=>{if(!(e&&t==null)){if(t.findLast)return t.findLast(r);for(let n=t.length-1;n>=0;n--){let s=t[n];if(r(s,n,t))return s}}},Ki=Tl;function yr(e,t,r,n){let{node:s}=e,u=[],i=Ki(!1,s[n],a=>a.type!=="EmptyStatement");return e.each(({node:a})=>{a.type!=="EmptyStatement"&&(u.push(r()),a!==i&&(u.push(F),pe(a,t)&&u.push(F)))},n),u}function Fn(e,t,r){let n=dl(e,t,r),{node:s,parent:u}=e;if(s.type==="Program"&&(u==null?void 0:u.type)!=="ModuleExpression")return n?[n,F]:"";let i=[];if(s.type==="StaticBlock"&&i.push("static "),i.push("{"),n)i.push(f([F,n]),F);else{let a=e.grandparent;u.type==="ArrowFunctionExpression"||u.type==="FunctionExpression"||u.type==="FunctionDeclaration"||u.type==="ComponentDeclaration"||u.type==="HookDeclaration"||u.type==="ObjectMethod"||u.type==="ClassMethod"||u.type==="ClassPrivateMethod"||u.type==="ForStatement"||u.type==="WhileStatement"||u.type==="DoWhileStatement"||u.type==="DoExpression"||u.type==="ModuleExpression"||u.type==="CatchClause"&&!a.finalizer||u.type==="TSModuleDeclaration"||s.type==="StaticBlock"||i.push(F)}return i.push("}"),i}function dl(e,t,r){let{node:n}=e,s=w(n.directives),u=n.body.some(o=>o.type!=="EmptyStatement"),i=d(n,g.Dangling);if(!s&&!u&&!i)return"";let a=[];return s&&(a.push(yr(e,t,r,"directives")),(u||i)&&(a.push(F),pe(O(!1,n.directives,-1),t)&&a.push(F))),u&&a.push(yr(e,t,r,"body")),i&&a.push(M(e,t)),a}function xl(e){let t=new WeakMap;return function(r){return t.has(r)||t.set(r,Symbol(e)),t.get(r)}}var Cn=xl;function hl(e){switch(e){case null:return"";case"PlusOptional":return"+?";case"MinusOptional":return"-?";case"Optional":return"?"}}function zi(e,t,r){let{node:n}=e;return l([n.variance?r("variance"):"","[",f([r("keyTparam")," in ",r("sourceType")]),"]",hl(n.optional),": ",r("propType")])}function xs(e,t){return e==="+"||e==="-"?e+t:t}function Qi(e,t,r){let{node:n}=e,s=de(t.originalText,R(n),R(n.typeParameter));return l(["{",f([t.bracketSpacing?x:E,l([r("typeParameter"),n.optional?xs(n.optional,"?"):"",n.typeAnnotation?": ":"",r("typeAnnotation")]),t.semi?b(";"):""]),M(e,t),t.bracketSpacing?x:E,"}"],{shouldBreak:s})}var Dr=Cn("typeParameters");function gl(e,t,r){let{node:n}=e;return K(n).length===1&&n.type.startsWith("TS")&&!n[r][0].constraint&&e.parent.type==="ArrowFunctionExpression"&&!(t.filepath&&/\.ts$/u.test(t.filepath))}function Pt(e,t,r,n){let{node:s}=e;if(!s[n])return"";if(!Array.isArray(s[n]))return r(n);let u=St(e.grandparent),i=e.match(c=>!(c[n].length===1&&we(c[n][0])),void 0,(c,m)=>m==="typeAnnotation",c=>c.type==="Identifier",Fs);if(s[n].length===0||!i&&(u||s[n].length===1&&(s[n][0].type==="NullableTypeAnnotation"||As(s[n][0]))))return["<",P(", ",e.map(r,n)),Sl(e,t),">"];let o=s.type==="TSTypeParameterInstantiation"?"":gl(e,t,n)?",":ae(t)?b(","):"";return l(["<",f([E,P([",",x],e.map(r,n))]),o,E,">"],{id:Dr(s)})}function Sl(e,t){let{node:r}=e;if(!d(r,g.Dangling))return"";let n=!d(r,g.Line),s=M(e,t,{indent:!n});return n?s:[s,F]}function An(e,t,r){let{node:n,parent:s}=e,u=[n.type==="TSTypeParameter"&&n.const?"const ":""],i=n.type==="TSTypeParameter"?r("name"):n.name;if(s.type==="TSMappedType")return s.readonly&&u.push(xs(s.readonly,"readonly")," "),u.push("[",i),n.constraint&&u.push(" in ",r("constraint")),s.nameType&&u.push(" as ",e.callParent(()=>r("nameType"))),u.push("]"),u;if(n.variance&&u.push(r("variance")),n.in&&u.push("in "),n.out&&u.push("out "),u.push(i),n.bound&&(n.usesExtendsBound&&u.push(" extends "),u.push(Y(e,r,"bound"))),n.constraint){let a=Symbol("constraint");u.push(" extends",l(f(x),{id:a}),ke,At(r("constraint"),{groupId:a}))}return n.default&&u.push(" = ",r("default")),l(u)}var Zi=v(["ClassProperty","PropertyDefinition","ClassPrivateProperty","ClassAccessorProperty","AccessorProperty","TSAbstractPropertyDefinition","TSAbstractAccessorProperty"]);function Tn(e,t,r){let{node:n}=e,s=[$(e),Nt(e),"class"],u=d(n.id,g.Trailing)||d(n.typeParameters,g.Trailing)||d(n.superClass)||w(n.extends)||w(n.mixins)||w(n.implements),i=[],a=[];if(n.id&&i.push(" ",r("id")),i.push(r("typeParameters")),n.superClass){let o=[bl(e,t,r),r(n.superTypeArguments?"superTypeArguments":"superTypeParameters")],c=e.call(m=>["extends ",ye(m,o,t)],"superClass");u?a.push(x,l(c)):a.push(" ",c)}else a.push(hs(e,t,r,"extends"));if(a.push(hs(e,t,r,"mixins"),hs(e,t,r,"implements")),u){let o;ta(n)?o=[...i,f(a)]:o=f([...i,a]),s.push(l(o,{id:ea(n)}))}else s.push(...i,...a);return s.push(" ",r("body")),s}var ea=Cn("heritageGroup");function gs(e){return b(F,"",{groupId:ea(e)})}function Bl(e){return["extends","mixins","implements"].reduce((t,r)=>t+(Array.isArray(e[r])?e[r].length:0),e.superClass?1:0)>1}function ta(e){return e.typeParameters&&!d(e.typeParameters,g.Trailing|g.Line)&&!Bl(e)}function hs(e,t,r,n){let{node:s}=e;if(!w(s[n]))return"";let u=M(e,t,{marker:n});return[ta(s)?b(" ",x,{groupId:Dr(s.typeParameters)}):x,u,u&&F,n,l(f([x,P([",",x],e.map(r,n))]))]}function bl(e,t,r){let n=r("superClass"),{parent:s}=e;return s.type==="AssignmentExpression"?l(b(["(",f([E,n]),E,")"],n)):n}function dn(e,t,r){let{node:n}=e,s=[];return w(n.decorators)&&s.push(Ds(e,t,r)),s.push(Xt(n)),n.static&&s.push("static "),s.push(Nt(e)),n.override&&s.push("override "),s.push(mr(e,t,r)),s}function xn(e,t,r){let{node:n}=e,s=[],u=t.semi?";":"";w(n.decorators)&&s.push(Ds(e,t,r)),s.push(Xt(n),$(e)),n.static&&s.push("static "),s.push(Nt(e)),n.override&&s.push("override "),n.readonly&&s.push("readonly "),n.variance&&s.push(r("variance")),(n.type==="ClassAccessorProperty"||n.type==="AccessorProperty"||n.type==="TSAbstractAccessorProperty")&&s.push("accessor "),s.push(Et(e,t,r),V(e),pn(e),Y(e,r));let i=n.type==="TSAbstractPropertyDefinition"||n.type==="TSAbstractAccessorProperty";return[Tt(e,t,r,s," =",i?void 0:"value"),u]}function ra(e,t,r){let{node:n}=e,s=[];return e.each(({node:u,next:i,isLast:a})=>{s.push(r()),!t.semi&&Zi(u)&&Pl(u,i)&&s.push(";"),a||(s.push(F),pe(u,t)&&s.push(F))},"body"),d(n,g.Dangling)&&s.push(M(e,t)),[w(n.body)?gs(e.parent):"","{",s.length>0?[f([F,s]),F]:"","}"]}function Pl(e,t){var s;let{type:r,name:n}=e.key;if(!e.computed&&r==="Identifier"&&(n==="static"||n==="get"||n==="set")&&!e.value&&!e.typeAnnotation)return!0;if(!t||t.static||t.accessibility||t.readonly)return!1;if(!t.computed){let u=(s=t.key)==null?void 0:s.name;if(u==="in"||u==="instanceof")return!0}if(Zi(t)&&t.variance&&!t.static&&!t.declare)return!0;switch(t.type){case"ClassProperty":case"PropertyDefinition":case"TSAbstractPropertyDefinition":return t.computed;case"MethodDefinition":case"TSAbstractMethodDefinition":case"ClassMethod":case"ClassPrivateMethod":{if((t.value?t.value.async:t.async)||t.kind==="get"||t.kind==="set")return!1;let i=t.value?t.value.generator:t.generator;return!!(t.computed||i)}case"TSIndexSignature":return!0}return!1}function na(e,t){if(t.semi||Ss(e,t)||bs(e,t))return!1;let{node:r,key:n,parent:s}=e;return!!(r.type==="ExpressionStatement"&&(n==="body"&&(s.type==="Program"||s.type==="BlockStatement"||s.type==="StaticBlock"||s.type==="TSModuleBlock")||n==="consequent"&&s.type==="SwitchCase")&&e.call(()=>sa(e,t),"expression"))}function sa(e,t){let{node:r}=e;switch(r.type){case"ParenthesizedExpression":case"TypeCastExpression":case"ArrayExpression":case"ArrayPattern":case"TemplateLiteral":case"TemplateElement":case"RegExpLiteral":return!0;case"ArrowFunctionExpression":if(!En(e,t))return!0;break;case"UnaryExpression":{let{prefix:n,operator:s}=r;if(n&&(s==="+"||s==="-"))return!0;break}case"BindExpression":if(!r.object)return!0;break;case"Literal":if(r.regex)return!0;break;default:if(X(r))return!0}return Be(e,t)?!0:jt(r)?e.call(()=>sa(e,t),...Pr(r)):!1}function Ss({node:e,parent:t},r){return(r.parentParser==="markdown"||r.parentParser==="mdx")&&e.type==="ExpressionStatement"&&X(e.expression)&&t.type==="Program"&&t.body.length===1}function Bs(e){switch(e.type){case"MemberExpression":switch(e.property.type){case"Identifier":case"NumericLiteral":case"StringLiteral":return Bs(e.object)}return!1;case"Identifier":return!0;default:return!1}}function bs({node:e,parent:t},r){return(r.parser==="__vue_event_binding"||r.parser==="__vue_ts_event_binding")&&e.type==="ExpressionStatement"&&t.type==="Program"&&t.body.length===1}function ua(e,t,r){let n=[r("expression")];return bs(e,t)?Bs(e.node.expression)&&n.push(";"):Ss(e,t)||t.semi&&n.push(";"),n}function ia(e,t,r){if(t.__isVueBindings||t.__isVueForBindingLeft){let n=e.map(r,"program","body",0,"params");if(n.length===1)return n[0];let s=P([",",x],n);return t.__isVueForBindingLeft?["(",f([E,l(s)]),E,")"]:s}if(t.__isEmbeddedTypescriptGenericParameters){let n=e.map(r,"program","body",0,"typeParameters","params");return P([",",x],n)}}function pa(e,t){let{node:r}=e;switch(r.type){case"RegExpLiteral":return aa(r);case"BigIntLiteral":return hn(r.extra.raw);case"NumericLiteral":return Ze(r.extra.raw);case"StringLiteral":return Ie(tt(r.extra.raw,t));case"NullLiteral":return"null";case"BooleanLiteral":return String(r.value);case"DecimalLiteral":return Ze(r.value)+"m";case"DirectiveLiteral":return oa(r.extra.raw,t);case"Literal":{if(r.regex)return aa(r.regex);if(r.bigint)return hn(r.raw);if(r.decimal)return Ze(r.decimal)+"m";let{value:n}=r;return typeof n=="number"?Ze(r.raw):typeof n=="string"?kl(e)?oa(r.raw,t):Ie(tt(r.raw,t)):String(n)}}}function kl(e){if(e.key!=="expression")return;let{parent:t}=e;return t.type==="ExpressionStatement"&&t.directive}function hn(e){return e.toLowerCase()}function aa({pattern:e,flags:t}){return t=[...t].sort().join(""),`/${e}/${t}`}function oa(e,t){let r=e.slice(1,-1);if(r.includes('"')||r.includes("'"))return e;let n=t.singleQuote?"'":'"';return n+r+n}function Il(e,t,r){let n=e.originalText.slice(t,r);for(let s of e[Symbol.for("comments")]){let u=R(s);if(u>r)break;let i=k(s);if(ie.type==="ExportDefaultDeclaration"||e.type==="DeclareExportDeclaration"&&e.default;function gn(e,t,r){let{node:n}=e,s=[di(e,t,r),$(e),"export",la(n)?" default":""],{declaration:u,exported:i}=n;return d(n,g.Dangling)&&(s.push(" ",M(e,t)),wr(n)&&s.push(F)),u?s.push(" ",r("declaration")):(s.push(Ol(n)),n.type==="ExportAllDeclaration"||n.type==="DeclareExportAllDeclaration"?(s.push(" *"),i&&s.push(" as ",r("exported"))):s.push(ya(e,t,r)),s.push(ma(e,t,r),fa(e,t,r))),s.push(wl(n,t)),s}var Ll=v(["ClassDeclaration","ComponentDeclaration","FunctionDeclaration","TSInterfaceDeclaration","DeclareClass","DeclareComponent","DeclareFunction","DeclareHook","HookDeclaration","TSDeclareFunction","EnumDeclaration"]);function wl(e,t){return t.semi&&(!e.declaration||la(e)&&!Ll(e.declaration))?";":""}function Ps(e,t=!0){return e&&e!=="value"?`${t?" ":""}${e}${t?"":" "}`:""}function ks(e,t){return Ps(e.importKind,t)}function Ol(e){return Ps(e.exportKind)}function ma(e,t,r){let{node:n}=e;if(!n.source)return"";let s=[];return Da(n,t)&&s.push(" from"),s.push(" ",r("source")),s}function ya(e,t,r){let{node:n}=e;if(!Da(n,t))return"";let s=[" "];if(w(n.specifiers)){let u=[],i=[];e.each(()=>{let a=e.node.type;if(a==="ExportNamespaceSpecifier"||a==="ExportDefaultSpecifier"||a==="ImportNamespaceSpecifier"||a==="ImportDefaultSpecifier")u.push(r());else if(a==="ExportSpecifier"||a==="ImportSpecifier")i.push(r());else throw new Me(n,"specifier")},"specifiers"),s.push(P(", ",u)),i.length>0&&(u.length>0&&s.push(", "),i.length>1||u.length>0||n.specifiers.some(o=>d(o))?s.push(l(["{",f([t.bracketSpacing?x:E,P([",",x],i)]),b(ae(t)?",":""),t.bracketSpacing?x:E,"}"])):s.push(["{",t.bracketSpacing?" ":"",...i,t.bracketSpacing?" ":"","}"]))}else s.push("{}");return s}function Da(e,t){return e.type!=="ImportDeclaration"||w(e.specifiers)||e.importKind==="type"?!0:fr(t,R(e),R(e.source)).trimEnd().endsWith("from")}function _l(e,t){var n,s;if((n=e.extra)!=null&&n.deprecatedAssertSyntax)return"assert";let r=fr(t,k(e.source),(s=e.attributes)!=null&&s[0]?R(e.attributes[0]):k(e)).trimStart();return r.startsWith("assert")?"assert":r.startsWith("with")||w(e.attributes)?"with":void 0}function fa(e,t,r){let{node:n}=e;if(!n.source)return"";let s=_l(n,t);if(!s)return"";let u=[` ${s} {`];return w(n.attributes)&&(t.bracketSpacing&&u.push(" "),u.push(P(", ",e.map(r,"attributes"))),t.bracketSpacing&&u.push(" ")),u.push("}"),u}function Ea(e,t,r){let{node:n}=e,{type:s}=n,u=s.startsWith("Import"),i=u?"imported":"local",a=u?"local":"exported",o=n[i],c=n[a],m="",D="";return s==="ExportNamespaceSpecifier"||s==="ImportNamespaceSpecifier"?m="*":o&&(m=r(i)),c&&!jl(n)&&(D=r(a)),[Ps(s==="ImportSpecifier"?n.importKind:n.exportKind,!1),m,m&&D?" as ":"",D]}function jl(e){if(e.type!=="ImportSpecifier"&&e.type!=="ExportSpecifier")return!1;let{local:t,[e.type==="ImportSpecifier"?"imported":"exported"]:r}=e;if(t.type!==r.type||!eu(t,r))return!1;if(Q(t))return t.value===r.value&&fe(t)===fe(r);switch(t.type){case"Identifier":return t.name===r.name;default:return!1}}function dt(e,t,r){var j;let n=t.semi?";":"",{node:s}=e,u=s.type==="ObjectTypeAnnotation",i=s.type==="TSEnumDeclaration"||s.type==="EnumBooleanBody"||s.type==="EnumNumberBody"||s.type==="EnumBigIntBody"||s.type==="EnumStringBody"||s.type==="EnumSymbolBody",a=[s.type==="TSTypeLiteral"||i?"members":s.type==="TSInterfaceBody"?"body":"properties"];u&&a.push("indexers","callProperties","internalSlots");let o=a.flatMap(h=>e.map(({node:W})=>({node:W,printed:r(),loc:R(W)}),h));a.length>1&&o.sort((h,W)=>h.loc-W.loc);let{parent:c,key:m}=e,D=u&&m==="body"&&(c.type==="InterfaceDeclaration"||c.type==="DeclareInterface"||c.type==="DeclareClass"),y=s.type==="TSInterfaceBody"||i||D||s.type==="ObjectPattern"&&c.type!=="FunctionDeclaration"&&c.type!=="FunctionExpression"&&c.type!=="ArrowFunctionExpression"&&c.type!=="ObjectMethod"&&c.type!=="ClassMethod"&&c.type!=="ClassPrivateMethod"&&c.type!=="AssignmentPattern"&&c.type!=="CatchClause"&&s.properties.some(h=>h.value&&(h.value.type==="ObjectPattern"||h.value.type==="ArrayPattern"))||s.type!=="ObjectPattern"&&o.length>0&&de(t.originalText,R(s),o[0].loc),C=D?";":s.type==="TSInterfaceBody"||s.type==="TSTypeLiteral"?b(n,";"):",",p=s.type==="RecordExpression"?"#{":s.exact?"{|":"{",A=s.exact?"|}":"}",T=[],S=o.map(h=>{let W=[...T,l(h.printed)];return T=[C,x],(h.node.type==="TSPropertySignature"||h.node.type==="TSMethodSignature"||h.node.type==="TSConstructSignatureDeclaration"||h.node.type==="TSCallSignatureDeclaration")&&d(h.node,g.PrettierIgnore)&&T.shift(),pe(h.node,t)&&T.push(F),W});if(s.inexact||s.hasUnknownMembers){let h;if(d(s,g.Dangling)){let W=d(s,g.Line);h=[M(e,t),W||te(t.originalText,k(O(!1,ct(s),-1)))?F:x,"..."]}else h=["..."];S.push([...T,...h])}let B=(j=O(!1,o,-1))==null?void 0:j.node,_=!(s.inexact||s.hasUnknownMembers||B&&(B.type==="RestElement"||(B.type==="TSPropertySignature"||B.type==="TSCallSignatureDeclaration"||B.type==="TSMethodSignature"||B.type==="TSConstructSignatureDeclaration")&&d(B,g.PrettierIgnore))),J;if(S.length===0){if(!d(s,g.Dangling))return[p,A,Y(e,r)];J=l([p,M(e,t,{indent:!0}),E,A,V(e),Y(e,r)])}else J=[D&&w(s.properties)?gs(c):"",p,f([t.bracketSpacing?x:E,...S]),b(_&&(C!==","||ae(t))?C:""),t.bracketSpacing?x:E,A,V(e),Y(e,r)];return e.match(h=>h.type==="ObjectPattern"&&!w(h.decorators),Is)||we(s)&&(e.match(void 0,(h,W)=>W==="typeAnnotation",(h,W)=>W==="typeAnnotation",Is)||e.match(void 0,(h,W)=>h.type==="FunctionTypeParam"&&W==="typeAnnotation",Is))||!y&&e.match(h=>h.type==="ObjectPattern",h=>h.type==="AssignmentExpression"||h.type==="VariableDeclarator")?J:l(J,{shouldBreak:y})}function Is(e,t){return(t==="params"||t==="parameters"||t==="this"||t==="rest")&&Cs(e)}function vl(e){let t=[e];for(let r=0;ry[H]===n),p=y.type===n.type&&!C,A,T,S=0;do T=A||n,A=e.getParentNode(S),S++;while(A&&A.type===n.type&&a.every(H=>A[H]!==T));let B=A||y,_=T;if(s&&(X(n[a[0]])||X(o)||X(c)||vl(_))){D=!0,p=!0;let H=Z=>[b("("),f([E,Z]),E,b(")")],ue=Z=>Z.type==="NullLiteral"||Z.type==="Literal"&&Z.value===null||Z.type==="Identifier"&&Z.name==="undefined";m.push(" ? ",ue(o)?r(u):H(r(u))," : ",c.type===n.type||ue(c)?r(i):H(r(i)))}else{let H=Z=>t.useTabs?f(r(Z)):he(2,r(Z)),ue=[x,"? ",o.type===n.type?b("","("):"",H(u),o.type===n.type?b("",")"):"",x,": ",H(i)];m.push(y.type!==n.type||y[i]===n||C?ue:t.useTabs?Mr(f(ue)):he(Math.max(0,t.tabWidth-2),ue))}let J=[u,i,...a].some(H=>d(n[H],ue=>re(ue)&&de(t.originalText,R(ue),k(ue)))),j=H=>y===B?l(H,{shouldBreak:J}):J?[H,Ee]:H,h=!D&&(q(y)||y.type==="NGPipeExpression"&&y.left===n)&&!y.computed,W=Jl(e),Fe=j([Ml(e,t,r),p?m:f(m),s&&h&&!W?E:""]);return C||W?l([f([E,Fe]),E]):Fe}function ql(e,t){return(q(t)||t.type==="NGPipeExpression"&&t.left===e)&&!t.computed}function Wl(e,t,r,n){return[...e.map(u=>ct(u)),ct(t),ct(r)].flat().some(u=>re(u)&&de(n.originalText,R(u),k(u)))}var Gl=new Map([["AssignmentExpression","right"],["VariableDeclarator","init"],["ReturnStatement","argument"],["ThrowStatement","argument"],["UnaryExpression","argument"],["YieldExpression","argument"],["AwaitExpression","argument"]]);function Ul(e){let{node:t}=e;if(t.type!=="ConditionalExpression")return!1;let r,n=t;for(let s=0;!r;s++){let u=e.getParentNode(s);if(u.type==="ChainExpression"&&u.expression===n||L(u)&&u.callee===n||q(u)&&u.object===n||u.type==="TSNonNullExpression"&&u.expression===n){n=u;continue}u.type==="NewExpression"&&u.callee===n||Te(u)&&u.expression===n?(r=e.getParentNode(s+1),n=u):r=u}return n===t?!1:r[Gl.get(r.type)]===n}var Ls=e=>[b("("),f([E,e]),E,b(")")];function Vt(e,t,r,n){if(!t.experimentalTernaries)return Fa(e,t,r);let{node:s}=e,u=s.type==="ConditionalExpression",i=s.type==="TSConditionalType"||s.type==="ConditionalTypeAnnotation",a=u?"consequent":"trueType",o=u?"alternate":"falseType",c=u?["test"]:["checkType","extendsType"],m=s[a],D=s[o],y=c.map(We=>s[We]),{parent:C}=e,p=C.type===s.type,A=p&&c.some(We=>C[We]===s),T=p&&C[o]===s,S=m.type===s.type,B=D.type===s.type,_=B||T,J=t.tabWidth>2||t.useTabs,j,h,W=0;do h=j||s,j=e.getParentNode(W),W++;while(j&&j.type===s.type&&c.every(We=>j[We]!==h));let Fe=j||C,H=n&&n.assignmentLayout&&n.assignmentLayout!=="break-after-operator"&&(C.type==="AssignmentExpression"||C.type==="VariableDeclarator"||C.type==="ClassProperty"||C.type==="PropertyDefinition"||C.type==="ClassPrivateProperty"||C.type==="ObjectProperty"||C.type==="Property"),ue=(C.type==="ReturnStatement"||C.type==="ThrowStatement")&&!(S||B),Z=u&&Fe.type==="JSXExpressionContainer"&&e.grandparent.type!=="JSXAttribute",It=Ul(e),$t=ql(s,C),I=i&&Be(e,t),G=J?t.useTabs?" ":" ".repeat(t.tabWidth-1):"",ee=Wl(y,m,D,t)||S||B,qe=!_&&!p&&!i&&(Z?m.type==="NullLiteral"||m.type==="Literal"&&m.value===null:rr(m,t)&&Mn(s.test,3)),xt=_||T||i&&!p||p&&u&&Mn(s.test,1)||qe,js=[];!S&&d(m,g.Dangling)&&e.call(We=>{js.push(M(We,t),F)},"consequent");let Kt=[];d(s.test,g.Dangling)&&e.call(We=>{Kt.push(M(We,t))},"test"),!B&&d(D,g.Dangling)&&e.call(We=>{Kt.push(M(We,t))},"alternate"),d(s,g.Dangling)&&Kt.push(M(e,t));let vs=Symbol("test"),Ma=Symbol("consequent"),Fr=Symbol("test-and-consequent"),Ra=u?[Ls(r("test")),s.test.type==="ConditionalExpression"?Ee:""]:[r("checkType")," ","extends"," ",s.extendsType.type==="TSConditionalType"||s.extendsType.type==="ConditionalTypeAnnotation"||s.extendsType.type==="TSMappedType"?r("extendsType"):l(Ls(r("extendsType")))],Ms=l([Ra," ?"],{id:vs}),Ja=r(a),Cr=f([S||Z&&(X(m)||p||_)?F:x,js,Ja]),qa=xt?l([Ms,_?Cr:b(Cr,l(Cr,{id:Ma}),{groupId:vs})],{id:Fr}):[Ms,Cr],kn=r(o),Rs=qe?b(kn,Mr(Ls(kn)),{groupId:Fr}):kn,zt=[qa,Kt.length>0?[f([F,Kt]),F]:B?F:qe?b(x," ",{groupId:Fr}):x,":",B?" ":J?xt?b(G,b(_||qe?" ":G," "),{groupId:Fr}):b(G," "):" ",B?Rs:l([f(Rs),Z&&!qe?E:""]),$t&&!It?E:"",ee?Ee:""];return H&&!ee?l(f([E,l(zt)])):H||ue?l(f(zt)):It||i&&A?l([f([E,zt]),I?E:""]):C===Fe?l(zt):zt}function Ca(e,t,r,n){let{node:s}=e;if(kr(s))return pa(e,t);let u=t.semi?";":"",i=[];switch(s.type){case"JsExpressionRoot":return r("node");case"JsonRoot":return[r("node"),F];case"File":return ia(e,t,r)??r("program");case"EmptyStatement":return"";case"ExpressionStatement":return ua(e,t,r);case"ChainExpression":return r("expression");case"ParenthesizedExpression":return!d(s.expression)&&(se(s.expression)||U(s.expression))?["(",r("expression"),")"]:l(["(",f([E,r("expression")]),E,")"]);case"AssignmentExpression":return wi(e,t,r);case"VariableDeclarator":return Oi(e,t,r);case"BinaryExpression":case"LogicalExpression":return Yr(e,t,r);case"AssignmentPattern":return[r("left")," = ",r("right")];case"OptionalMemberExpression":case"MemberExpression":return bi(e,t,r);case"MetaProperty":return[r("meta"),".",r("property")];case"BindExpression":return s.object&&i.push(r("object")),i.push(l(f([E,Hr(e,t,r)]))),i;case"Identifier":return[s.name,V(e),pn(e),Y(e,r)];case"V8IntrinsicIdentifier":return["%",s.name];case"SpreadElement":case"SpreadElementPattern":case"SpreadPropertyPattern":case"RestElement":return cn(e,r);case"FunctionDeclaration":case"FunctionExpression":return Dn(e,r,t,n);case"ArrowFunctionExpression":return $i(e,t,r,n);case"YieldExpression":return i.push("yield"),s.delegate&&i.push("*"),s.argument&&i.push(" ",r("argument")),i;case"AwaitExpression":if(i.push("await"),s.argument){i.push(" ",r("argument"));let{parent:a}=e;if(L(a)&&a.callee===s||q(a)&&a.object===s){i=[f([E,...i]),E];let o=e.findAncestor(c=>c.type==="AwaitExpression"||c.type==="BlockStatement");if((o==null?void 0:o.type)!=="AwaitExpression"||!ie(o.argument,c=>c===s))return l(i)}}return i;case"ExportDefaultDeclaration":case"ExportNamedDeclaration":case"ExportAllDeclaration":return gn(e,t,r);case"ImportDeclaration":return ca(e,t,r);case"ImportSpecifier":case"ExportSpecifier":case"ImportNamespaceSpecifier":case"ExportNamespaceSpecifier":case"ImportDefaultSpecifier":case"ExportDefaultSpecifier":return Ea(e,t,r);case"ImportAttribute":return yn(e,t,r);case"Import":return"import";case"Program":case"BlockStatement":case"StaticBlock":return Fn(e,t,r);case"ClassBody":return ra(e,t,r);case"ThrowStatement":return Yi(e,t,r);case"ReturnStatement":return Xi(e,t,r);case"NewExpression":case"ImportExpression":case"OptionalCallExpression":case"CallExpression":return Vr(e,t,r);case"ObjectExpression":case"ObjectPattern":case"RecordExpression":return dt(e,t,r);case"Property":return gt(s)?mr(e,t,r):yn(e,t,r);case"ObjectProperty":return yn(e,t,r);case"ObjectMethod":return mr(e,t,r);case"Decorator":return["@",r("expression")];case"ArrayExpression":case"ArrayPattern":case"TupleExpression":return Yt(e,t,r);case"SequenceExpression":{let{parent:a}=e;if(a.type==="ExpressionStatement"||a.type==="ForStatement"){let o=[];return e.each(({isFirst:c})=>{c?o.push(r()):o.push(",",f([x,r()]))},"expressions"),l(o)}return l(P([",",x],e.map(r,"expressions")))}case"ThisExpression":return"this";case"Super":return"super";case"Directive":return[r("value"),u];case"UnaryExpression":return i.push(s.operator),/[a-z]$/u.test(s.operator)&&i.push(" "),d(s.argument)?i.push(l(["(",f([E,r("argument")]),E,")"])):i.push(r("argument")),i;case"UpdateExpression":return[s.prefix?s.operator:"",r("argument"),s.prefix?"":s.operator];case"ConditionalExpression":return Vt(e,t,r,n);case"VariableDeclaration":{let a=e.map(r,"declarations"),o=e.parent,c=o.type==="ForStatement"||o.type==="ForInStatement"||o.type==="ForOfStatement",m=s.declarations.some(y=>y.init),D;return a.length===1&&!d(s.declarations[0])?D=a[0]:a.length>0&&(D=f(a[0])),i=[$(e),s.kind,D?[" ",D]:"",f(a.slice(1).map(y=>[",",m&&!c?F:x,y]))],c&&o.body!==s||i.push(u),l(i)}case"WithStatement":return l(["with (",r("object"),")",ft(s.body,r("body"))]);case"IfStatement":{let a=ft(s.consequent,r("consequent")),o=l(["if (",l([f([E,r("test")]),E]),")",a]);if(i.push(o),s.alternate){let c=d(s.consequent,g.Trailing|g.Line)||wr(s),m=s.consequent.type==="BlockStatement"&&!c;i.push(m?" ":F),d(s,g.Dangling)&&i.push(M(e,t),c?F:" "),i.push("else",l(ft(s.alternate,r("alternate"),s.alternate.type==="IfStatement")))}return i}case"ForStatement":{let a=ft(s.body,r("body")),o=M(e,t),c=o?[o,E]:"";return!s.init&&!s.test&&!s.update?[c,l(["for (;;)",a])]:[c,l(["for (",l([f([E,r("init"),";",x,r("test"),";",x,r("update")]),E]),")",a])]}case"WhileStatement":return l(["while (",l([f([E,r("test")]),E]),")",ft(s.body,r("body"))]);case"ForInStatement":return l(["for (",r("left")," in ",r("right"),")",ft(s.body,r("body"))]);case"ForOfStatement":return l(["for",s.await?" await":""," (",r("left")," of ",r("right"),")",ft(s.body,r("body"))]);case"DoWhileStatement":{let a=ft(s.body,r("body"));return i=[l(["do",a])],s.body.type==="BlockStatement"?i.push(" "):i.push(F),i.push("while (",l([f([E,r("test")]),E]),")",u),i}case"DoExpression":return[s.async?"async ":"","do ",r("body")];case"BreakStatement":case"ContinueStatement":return i.push(s.type==="BreakStatement"?"break":"continue"),s.label&&i.push(" ",r("label")),i.push(u),i;case"LabeledStatement":return s.body.type==="EmptyStatement"?[r("label"),":;"]:[r("label"),": ",r("body")];case"TryStatement":return["try ",r("block"),s.handler?[" ",r("handler")]:"",s.finalizer?[" finally ",r("finalizer")]:""];case"CatchClause":if(s.param){let a=d(s.param,c=>!re(c)||c.leading&&te(t.originalText,k(c))||c.trailing&&te(t.originalText,R(c),{backwards:!0})),o=r("param");return["catch ",a?["(",f([E,o]),E,") "]:["(",o,") "],r("body")]}return["catch ",r("body")];case"SwitchStatement":return[l(["switch (",f([E,r("discriminant")]),E,")"])," {",s.cases.length>0?f([F,P(F,e.map(({node:a,isLast:o})=>[r(),!o&&pe(a,t)?F:""],"cases"))]):"",F,"}"];case"SwitchCase":{s.test?i.push("case ",r("test"),":"):i.push("default:"),d(s,g.Dangling)&&i.push(" ",M(e,t));let a=s.consequent.filter(o=>o.type!=="EmptyStatement");if(a.length>0){let o=yr(e,t,r,"consequent");i.push(a.length===1&&a[0].type==="BlockStatement"?[" ",o]:f([F,o]))}return i}case"DebuggerStatement":return["debugger",u];case"ClassDeclaration":case"ClassExpression":return Tn(e,t,r);case"ClassMethod":case"ClassPrivateMethod":case"MethodDefinition":return dn(e,t,r);case"ClassProperty":case"PropertyDefinition":case"ClassPrivateProperty":case"ClassAccessorProperty":case"AccessorProperty":return xn(e,t,r);case"TemplateElement":return Ie(s.value.raw);case"TemplateLiteral":return qr(e,r,t);case"TaggedTemplateExpression":return Uu(e,r);case"PrivateIdentifier":return["#",s.name];case"PrivateName":return["#",r("id")];case"TopicReference":return"%";case"ArgumentPlaceholder":return"?";case"ModuleExpression":return["module ",r("body")];case"InterpreterDirective":default:throw new Me(s,"ESTree")}}function Sn(e,t,r){let{parent:n,node:s,key:u}=e,i=[r("expression")];switch(s.type){case"AsConstExpression":i.push(" as const");break;case"AsExpression":case"TSAsExpression":i.push(" as ",r("typeAnnotation"));break;case"SatisfiesExpression":case"TSSatisfiesExpression":i.push(" satisfies ",r("typeAnnotation"));break}return u==="callee"&&L(n)||u==="object"&&q(n)?l([f([E,...i]),E]):i}function Aa(e,t,r){let{node:n}=e,s=[$(e),"component"];n.id&&s.push(" ",r("id")),s.push(r("typeParameters"));let u=Nl(e,r,t);return n.rendersType?s.push(l([u," ",r("rendersType")])):s.push(l([u])),n.body&&s.push(" ",r("body")),t.semi&&n.type==="DeclareComponent"&&s.push(";"),s}function Nl(e,t,r){let{node:n}=e,s=n.params;if(n.rest&&(s=[...s,n.rest]),s.length===0)return["(",M(e,r,{filter:i=>ge(r.originalText,k(i))===")"}),")"];let u=[];return Yl(e,(i,a)=>{let o=a===s.length-1;o&&n.rest&&u.push("..."),u.push(t()),!o&&(u.push(","),pe(s[a],r)?u.push(F,F):u.push(x))}),["(",f([E,...u]),b(ae(r,"all")&&!Xl(n,s)?",":""),E,")"]}function Xl(e,t){var r;return e.rest||((r=O(!1,t,-1))==null?void 0:r.type)==="RestElement"}function Yl(e,t){let{node:r}=e,n=0,s=u=>t(u,n++);e.each(s,"params"),r.rest&&e.call(s,"rest")}function Ta(e,t,r){let{node:n}=e;return n.shorthand?r("local"):[r("name")," as ",r("local")]}function da(e,t,r){let{node:n}=e,s=[];return n.name&&s.push(r("name"),n.optional?"?: ":": "),s.push(r("typeAnnotation")),s}function xa(e,t,r){return dt(e,r,t)}function Bn(e,t){let{node:r}=e,n=t("id");r.computed&&(n=["[",n,"]"]);let s="";return r.initializer&&(s=t("initializer")),r.init&&(s=t("init")),s?[n," = ",s]:n}function ha(e,t,r){let{node:n}=e,s;if(n.type==="EnumSymbolBody"||n.explicitType)switch(n.type){case"EnumBooleanBody":s="boolean";break;case"EnumNumberBody":s="number";break;case"EnumBigIntBody":s="bigint";break;case"EnumStringBody":s="string";break;case"EnumSymbolBody":s="symbol";break}return[s?`of ${s} `:"",xa(e,t,r)]}function bn(e,t,r){let{node:n}=e;return[$(e),n.const?"const ":"","enum ",t("id")," ",n.type==="TSEnumDeclaration"?xa(e,t,r):t("body")]}function Sa(e,t,r){let{node:n}=e,s=["hook"];n.id&&s.push(" ",r("id"));let u=Je(e,r,t,!1,!0),i=Ht(e,r),a=ot(n,i);return s.push(l([a?l(u):u,i]),n.body?" ":"",r("body")),s}function Ba(e,t,r){let{node:n}=e,s=[$(e),"hook"];return n.id&&s.push(" ",r("id")),t.semi&&s.push(";"),s}function ga(e){var r;let{node:t}=e;return t.type==="HookTypeAnnotation"&&((r=e.getParentNode(2))==null?void 0:r.type)==="DeclareHook"}function ba(e,t,r){let{node:n}=e,s=[];s.push(ga(e)?"":"hook ");let u=Je(e,r,t,!1,!0),i=[];return i.push(ga(e)?": ":" => ",r("returnType")),ot(n,i)&&(u=l(u)),s.push(u,i),l(s)}function Pn(e,t,r){let{node:n}=e,s=[$(e),"interface"],u=[],i=[];n.type!=="InterfaceTypeAnnotation"&&u.push(" ",r("id"),r("typeParameters"));let a=n.typeParameters&&!d(n.typeParameters,g.Trailing|g.Line);return w(n.extends)&&i.push(a?b(" ",x,{groupId:Dr(n.typeParameters)}):x,"extends ",(n.extends.length===1?mu:f)(P([",",x],e.map(r,"extends")))),d(n.id,g.Trailing)||w(n.extends)?a?s.push(l([...u,f(i)])):s.push(l(f([...u,...i]))):s.push(...u,...i),s.push(" ",r("body")),l(s)}function Pa(e,t,r){let{node:n}=e;if(Sr(n))return n.type.slice(0,-14).toLowerCase();let s=t.semi?";":"";switch(n.type){case"ComponentDeclaration":case"DeclareComponent":case"ComponentTypeAnnotation":return Aa(e,t,r);case"ComponentParameter":return Ta(e,t,r);case"ComponentTypeParameter":return da(e,t,r);case"HookDeclaration":return Sa(e,t,r);case"DeclareHook":return Ba(e,t,r);case"HookTypeAnnotation":return ba(e,t,r);case"DeclareClass":return Tn(e,t,r);case"DeclareFunction":return[$(e),"function ",r("id"),r("predicate"),s];case"DeclareModule":return["declare module ",r("id")," ",r("body")];case"DeclareModuleExports":return["declare module.exports",Y(e,r),s];case"DeclareNamespace":return["declare namespace ",r("id")," ",r("body")];case"DeclareVariable":return[$(e),n.kind??"var"," ",r("id"),s];case"DeclareExportDeclaration":case"DeclareExportAllDeclaration":return gn(e,t,r);case"DeclareOpaqueType":case"OpaqueType":return Mi(e,t,r);case"DeclareTypeAlias":case"TypeAlias":return Kr(e,t,r);case"IntersectionTypeAnnotation":return zr(e,t,r);case"UnionTypeAnnotation":return Qr(e,t,r);case"ConditionalTypeAnnotation":return Vt(e,t,r);case"InferTypeAnnotation":return tn(e,t,r);case"FunctionTypeAnnotation":return Zr(e,t,r);case"TupleTypeAnnotation":return Yt(e,t,r);case"TupleTypeLabeledElement":return nn(e,t,r);case"TupleTypeSpreadElement":return rn(e,t,r);case"GenericTypeAnnotation":return[r("id"),Pt(e,t,r,"typeParameters")];case"IndexedAccessType":case"OptionalIndexedAccessType":return en(e,t,r);case"TypeAnnotation":return sn(e,t,r);case"TypeParameter":return An(e,t,r);case"TypeofTypeAnnotation":return an(e,r);case"ExistsTypeAnnotation":return"*";case"ArrayTypeAnnotation":return un(r);case"DeclareEnum":case"EnumDeclaration":return bn(e,r,t);case"EnumBooleanBody":case"EnumNumberBody":case"EnumBigIntBody":case"EnumStringBody":case"EnumSymbolBody":return ha(e,r,t);case"EnumBooleanMember":case"EnumNumberMember":case"EnumBigIntMember":case"EnumStringMember":case"EnumDefaultedMember":return Bn(e,r);case"FunctionTypeParam":{let u=n.name?r("name"):e.parent.this===n?"this":"";return[u,V(e),u?": ":"",r("typeAnnotation")]}case"DeclareInterface":case"InterfaceDeclaration":case"InterfaceTypeAnnotation":return Pn(e,t,r);case"ClassImplements":case"InterfaceExtends":return[r("id"),r("typeParameters")];case"NullableTypeAnnotation":return["?",r("typeAnnotation")];case"Variance":{let{kind:u}=n;return ln.ok(u==="plus"||u==="minus"),u==="plus"?"+":"-"}case"KeyofTypeAnnotation":return["keyof ",r("argument")];case"ObjectTypeCallProperty":return[n.static?"static ":"",r("value")];case"ObjectTypeMappedTypeProperty":return zi(e,t,r);case"ObjectTypeIndexer":return[n.static?"static ":"",n.variance?r("variance"):"","[",r("id"),n.id?": ":"",r("key"),"]: ",r("value")];case"ObjectTypeProperty":{let u="";return n.proto?u="proto ":n.static&&(u="static "),[u,n.kind!=="init"?n.kind+" ":"",n.variance?r("variance"):"",Et(e,t,r),V(e),gt(n)?"":": ",r("value")]}case"ObjectTypeAnnotation":return dt(e,t,r);case"ObjectTypeInternalSlot":return[n.static?"static ":"","[[",r("id"),"]]",V(e),n.method?"":": ",r("value")];case"ObjectTypeSpreadProperty":return cn(e,r);case"QualifiedTypeofIdentifier":case"QualifiedTypeIdentifier":return[r("qualification"),".",r("id")];case"NullLiteralTypeAnnotation":return"null";case"BooleanLiteralTypeAnnotation":return String(n.value);case"StringLiteralTypeAnnotation":return Ie(tt(fe(n),t));case"NumberLiteralTypeAnnotation":return Ze(n.raw??n.extra.raw);case"BigIntLiteralTypeAnnotation":return hn(n.raw??n.extra.raw);case"TypeCastExpression":return["(",r("expression"),Y(e,r),")"];case"TypePredicate":return on(e,r);case"TypeOperator":return[n.operator," ",r("typeAnnotation")];case"TypeParameterDeclaration":case"TypeParameterInstantiation":return Pt(e,t,r,"params");case"InferredPredicate":case"DeclaredPredicate":return[e.key==="predicate"&&e.parent.type!=="DeclareFunction"&&!e.parent.returnType?": ":" ","%checks",...n.type==="DeclaredPredicate"?["(",r("value"),")"]:[]];case"AsExpression":case"AsConstExpression":case"SatisfiesExpression":return Sn(e,t,r)}}function ka(e,t,r){var i;let{node:n}=e;if(!n.type.startsWith("TS"))return;if(Br(n))return n.type.slice(2,-7).toLowerCase();let s=t.semi?";":"",u=[];switch(n.type){case"TSThisType":return"this";case"TSTypeAssertion":{let a=!(U(n.expression)||se(n.expression)),o=l(["<",f([E,r("typeAnnotation")]),E,">"]),c=[b("("),f([E,r("expression")]),E,b(")")];return a?ze([[o,r("expression")],[o,l(c,{shouldBreak:!0})],[o,r("expression")]]):l([o,r("expression")])}case"TSDeclareFunction":return Dn(e,r,t);case"TSExportAssignment":return["export = ",r("expression"),s];case"TSModuleBlock":return Fn(e,t,r);case"TSInterfaceBody":case"TSTypeLiteral":return dt(e,t,r);case"TSTypeAliasDeclaration":return Kr(e,t,r);case"TSQualifiedName":return[r("left"),".",r("right")];case"TSAbstractMethodDefinition":case"TSDeclareMethod":return dn(e,t,r);case"TSAbstractAccessorProperty":case"TSAbstractPropertyDefinition":return xn(e,t,r);case"TSInterfaceHeritage":case"TSClassImplements":case"TSExpressionWithTypeArguments":case"TSInstantiationExpression":return[r("expression"),r(n.typeArguments?"typeArguments":"typeParameters")];case"TSTemplateLiteralType":return qr(e,r,t);case"TSNamedTupleMember":return nn(e,t,r);case"TSRestType":return rn(e,t,r);case"TSOptionalType":return[r("typeAnnotation"),"?"];case"TSInterfaceDeclaration":return Pn(e,t,r);case"TSTypeParameterDeclaration":case"TSTypeParameterInstantiation":return Pt(e,t,r,"params");case"TSTypeParameter":return An(e,t,r);case"TSAsExpression":case"TSSatisfiesExpression":return Sn(e,t,r);case"TSArrayType":return un(r);case"TSPropertySignature":return[n.readonly?"readonly ":"",Et(e,t,r),V(e),Y(e,r)];case"TSParameterProperty":return[Xt(n),n.static?"static ":"",n.override?"override ":"",n.readonly?"readonly ":"",r("parameter")];case"TSTypeQuery":return an(e,r);case"TSIndexSignature":{let a=n.parameters.length>1?b(ae(t)?",":""):"",o=l([f([E,P([", ",E],e.map(r,"parameters"))]),a,E]),c=e.parent.type==="ClassBody"&&e.key==="body";return[c&&n.static?"static ":"",n.readonly?"readonly ":"","[",n.parameters?o:"","]",Y(e,r),c?s:""]}case"TSTypePredicate":return on(e,r);case"TSNonNullExpression":return[r("expression"),"!"];case"TSImportType":return[n.isTypeOf?"typeof ":"","import(",r("argument"),")",n.qualifier?[".",r("qualifier")]:"",Pt(e,t,r,n.typeArguments?"typeArguments":"typeParameters")];case"TSLiteralType":return r("literal");case"TSIndexedAccessType":return en(e,t,r);case"TSTypeOperator":return[n.operator," ",r("typeAnnotation")];case"TSMappedType":return Qi(e,t,r);case"TSMethodSignature":{let a=n.kind&&n.kind!=="method"?`${n.kind} `:"";u.push(Xt(n),a,n.computed?"[":"",r("key"),n.computed?"]":"",V(e));let o=Je(e,r,t,!1,!0),c=n.returnType?"returnType":"typeAnnotation",m=n[c],D=m?Y(e,r,c):"",y=ot(n,D);return u.push(y?l(o):o),m&&u.push(l(D)),l(u)}case"TSNamespaceExportDeclaration":return["export as namespace ",r("id"),t.semi?";":""];case"TSEnumDeclaration":return bn(e,r,t);case"TSEnumMember":return Bn(e,r);case"TSImportEqualsDeclaration":return[n.isExport?"export ":"","import ",ks(n,!1),r("id")," = ",r("moduleReference"),t.semi?";":""];case"TSExternalModuleReference":return["require(",r("expression"),")"];case"TSModuleDeclaration":{let{parent:a}=e,o=a.type==="TSModuleDeclaration",c=((i=n.body)==null?void 0:i.type)==="TSModuleDeclaration";if(o)u.push(".");else if(u.push($(e)),!(n.kind==="global"||n.global)){let D=n.kind??(Q(n.id)||fr(t,R(n),R(n.id)).trim().endsWith("module")?"module":"namespace");u.push(D," ")}return u.push(r("id")),c?u.push(r("body")):n.body?u.push(" ",l(r("body"))):u.push(s),u}case"TSConditionalType":return Vt(e,t,r);case"TSInferType":return tn(e,t,r);case"TSIntersectionType":return zr(e,t,r);case"TSUnionType":return Qr(e,t,r);case"TSFunctionType":case"TSCallSignatureDeclaration":case"TSConstructorType":case"TSConstructSignatureDeclaration":return Zr(e,t,r);case"TSTupleType":return Yt(e,t,r);case"TSTypeReference":return[r("typeName"),Pt(e,t,r,n.typeArguments?"typeArguments":"typeParameters")];case"TSTypeAnnotation":return sn(e,t,r);case"TSEmptyBodyFunctionExpression":return fn(e,t,r);case"TSJSDocAllType":return"*";case"TSJSDocUnknownType":return"?";case"TSJSDocNullableType":return Ts(e,r,"?");case"TSJSDocNonNullableType":return Ts(e,r,"!");case"TSParenthesizedType":default:throw new Me(n,"TypeScript")}}function Hl(e,t,r,n){if(Xr(e))return ci(e,t);for(let s of[Ti,Ei,Pa,ka,Ca]){let u=s(e,t,r,n);if(u!==void 0)return u}}var Vl=v(["ClassMethod","ClassPrivateMethod","ClassProperty","ClassAccessorProperty","AccessorProperty","TSAbstractAccessorProperty","PropertyDefinition","TSAbstractPropertyDefinition","ClassPrivateProperty","MethodDefinition","TSAbstractMethodDefinition","TSDeclareMethod"]);function $l(e,t,r,n){var D;e.isRoot&&((D=t.__onHtmlBindingRoot)==null||D.call(t,e.node,t));let s=Hl(e,t,r,n);if(!s)return"";let{node:u}=e;if(Vl(u))return s;let i=w(u.decorators),a=xi(e,t,r),o=u.type==="ClassExpression";if(i&&!o)return ir(s,y=>l([a,y]));let c=Be(e,t),m=na(e,t);return!a&&!c&&!m?s:ir(s,y=>[m?";":"",c?"(":"",c&&o&&i?[f([x,a,y]),x]:[a,y],c?")":""])}var Ia=$l;var Kl={avoidAstMutation:!0};var La=[{linguistLanguageId:174,name:"JSON.stringify",type:"data",color:"#292929",tmScope:"source.json",aceMode:"json",codemirrorMode:"javascript",codemirrorMimeType:"application/json",aliases:["geojson","jsonl","topojson"],extensions:[".importmap"],filenames:["package.json","package-lock.json","composer.json"],parsers:["json-stringify"],vscodeLanguageIds:["json"]},{linguistLanguageId:174,name:"JSON",type:"data",color:"#292929",tmScope:"source.json",aceMode:"json",codemirrorMode:"javascript",codemirrorMimeType:"application/json",aliases:["geojson","jsonl","topojson"],extensions:[".json",".4DForm",".4DProject",".avsc",".geojson",".gltf",".har",".ice",".JSON-tmLanguage",".mcmeta",".tfstate",".tfstate.backup",".topojson",".webapp",".webmanifest",".yy",".yyp"],filenames:[".all-contributorsrc",".arcconfig",".auto-changelog",".c8rc",".htmlhintrc",".imgbotconfig",".nycrc",".tern-config",".tern-project",".watchmanconfig","Pipfile.lock","composer.lock","flake.lock","mcmod.info",".babelrc",".jscsrc",".jshintrc",".jslintrc",".swcrc"],parsers:["json"],vscodeLanguageIds:["json"]},{linguistLanguageId:423,name:"JSON with Comments",type:"data",color:"#292929",group:"JSON",tmScope:"source.js",aceMode:"javascript",codemirrorMode:"javascript",codemirrorMimeType:"text/javascript",aliases:["jsonc"],extensions:[".jsonc",".code-snippets",".code-workspace",".sublime-build",".sublime-commands",".sublime-completions",".sublime-keymap",".sublime-macro",".sublime-menu",".sublime-mousemap",".sublime-project",".sublime-settings",".sublime-theme",".sublime-workspace",".sublime_metrics",".sublime_session"],filenames:[],parsers:["jsonc"],vscodeLanguageIds:["jsonc"]},{linguistLanguageId:175,name:"JSON5",type:"data",color:"#267CB9",extensions:[".json5"],tmScope:"source.js",aceMode:"javascript",codemirrorMode:"javascript",codemirrorMimeType:"application/json",parsers:["json5"],vscodeLanguageIds:["json5"]}];var Os={};Ar(Os,{getVisitorKeys:()=>Oa,massageAstNode:()=>ja,print:()=>Zl});var zl={JsonRoot:["node"],ArrayExpression:["elements"],ObjectExpression:["properties"],ObjectProperty:["key","value"],UnaryExpression:["argument"],NullLiteral:[],BooleanLiteral:[],StringLiteral:[],NumericLiteral:[],Identifier:[],TemplateLiteral:["quasis"],TemplateElement:[]},wa=zl;var Ql=hr(wa),Oa=Ql;function Zl(e,t,r){let{node:n}=e;switch(n.type){case"JsonRoot":return[r("node"),F];case"ArrayExpression":{if(n.elements.length===0)return"[]";let s=e.map(()=>e.node===null?"null":r(),"elements");return["[",f([F,P([",",F],s)]),F,"]"]}case"ObjectExpression":return n.properties.length===0?"{}":["{",f([F,P([",",F],e.map(r,"properties"))]),F,"}"];case"ObjectProperty":return[r("key"),": ",r("value")];case"UnaryExpression":return[n.operator==="+"?"":n.operator,r("argument")];case"NullLiteral":return"null";case"BooleanLiteral":return n.value?"true":"false";case"StringLiteral":return JSON.stringify(n.value);case"NumericLiteral":return _a(e)?JSON.stringify(String(n.value)):JSON.stringify(n.value);case"Identifier":return _a(e)?JSON.stringify(n.name):n.name;case"TemplateLiteral":return r(["quasis",0]);case"TemplateElement":return JSON.stringify(n.value.cooked);default:throw new Me(n,"JSON")}}function _a(e){return e.key==="key"&&e.parent.type==="ObjectProperty"}var em=new Set(["start","end","extra","loc","comments","leadingComments","trailingComments","innerComments","errors","range","tokens"]);function ja(e,t){let{type:r}=e;if(r==="ObjectProperty"){let{key:n}=e;n.type==="Identifier"?t.key={type:"StringLiteral",value:n.name}:n.type==="NumericLiteral"&&(t.key={type:"StringLiteral",value:String(n.value)});return}if(r==="UnaryExpression"&&e.operator==="+")return t.argument;if(r==="ArrayExpression"){for(let[n,s]of e.elements.entries())s===null&&t.elements.splice(n,0,{type:"NullLiteral"});return}if(r==="TemplateLiteral")return{type:"StringLiteral",value:e.quasis[0].value.cooked}}ja.ignoredProperties=em;var Er={bracketSpacing:{category:"Common",type:"boolean",default:!0,description:"Print spaces between brackets.",oppositeDescription:"Do not print spaces between brackets."},singleQuote:{category:"Common",type:"boolean",default:!1,description:"Use single quotes instead of double quotes."},proseWrap:{category:"Common",type:"choice",default:"preserve",description:"How to wrap prose.",choices:[{value:"always",description:"Wrap prose if it exceeds the print width."},{value:"never",description:"Do not wrap prose."},{value:"preserve",description:"Wrap prose as-is."}]},bracketSameLine:{category:"Common",type:"boolean",default:!1,description:"Put > of opening tags on the last line instead of on a new line."},singleAttributePerLine:{category:"Common",type:"boolean",default:!1,description:"Enforce single attribute per line in HTML, Vue and JSX."}};var kt="JavaScript",tm={arrowParens:{category:kt,type:"choice",default:"always",description:"Include parentheses around a sole arrow function parameter.",choices:[{value:"always",description:"Always include parens. Example: `(x) => x`"},{value:"avoid",description:"Omit parens when possible. Example: `x => x`"}]},bracketSameLine:Er.bracketSameLine,bracketSpacing:Er.bracketSpacing,jsxBracketSameLine:{category:kt,type:"boolean",description:"Put > on the last line instead of at a new line.",deprecated:"2.4.0"},semi:{category:kt,type:"boolean",default:!0,description:"Print semicolons.",oppositeDescription:"Do not print semicolons, except at the beginning of lines which may need them."},experimentalTernaries:{category:kt,type:"boolean",default:!1,description:"Use curious ternaries, with the question mark after the condition.",oppositeDescription:"Default behavior of ternaries; keep question marks on the same line as the consequent."},singleQuote:Er.singleQuote,jsxSingleQuote:{category:kt,type:"boolean",default:!1,description:"Use single quotes in JSX."},quoteProps:{category:kt,type:"choice",default:"as-needed",description:"Change when properties in objects are quoted.",choices:[{value:"as-needed",description:"Only add quotes around object properties where required."},{value:"consistent",description:"If at least one property in an object requires quotes, quote all properties."},{value:"preserve",description:"Respect the input use of quotes in object properties."}]},trailingComma:{category:kt,type:"choice",default:"all",description:"Print trailing commas wherever possible when multi-line.",choices:[{value:"all",description:"Trailing commas wherever possible (including function arguments)."},{value:"es5",description:"Trailing commas where valid in ES5 (objects, arrays, etc.)"},{value:"none",description:"No trailing commas."}]},singleAttributePerLine:Er.singleAttributePerLine},va=tm;var rm={estree:ws,"estree-json":Os},nm=[...Us,...La];var $d=_s;export{$d as default,nm as languages,va as options,rm as printers}; diff --git a/node_modules/prettier/plugins/flow.js b/node_modules/prettier/plugins/flow.js index 75ab20ea2f..f0b83aa48e 100644 --- a/node_modules/prettier/plugins/flow.js +++ b/node_modules/prettier/plugins/flow.js @@ -1,21 +1,19 @@ -(function(i){function e(){var f=i();return f.default||f}if(typeof exports=="object"&&typeof module=="object")module.exports=e();else if(typeof define=="function"&&define.amd)define(e);else{var t=typeof globalThis<"u"?globalThis:typeof global<"u"?global:typeof self<"u"?self:this||{};t.prettierPlugins=t.prettierPlugins||{},t.prettierPlugins.flow=e()}})(function(){"use strict";var yI0=Object.create;var t9=Object.defineProperty;var dI0=Object.getOwnPropertyDescriptor;var mI0=Object.getOwnPropertyNames;var kI0=Object.getPrototypeOf,hI0=Object.prototype.hasOwnProperty;var OW=(l0,_x)=>()=>(_x||l0((_x={exports:{}}).exports,_x),_x.exports),LW=(l0,_x)=>{for(var Hx in _x)t9(l0,Hx,{get:_x[Hx],enumerable:!0})},UW=(l0,_x,Hx,kr)=>{if(_x&&typeof _x=="object"||typeof _x=="function")for(let $1 of mI0(_x))!hI0.call(l0,$1)&&$1!==Hx&&t9(l0,$1,{get:()=>_x[$1],enumerable:!(kr=dI0(_x,$1))||kr.enumerable});return l0};var MW=(l0,_x,Hx)=>(Hx=l0!=null?yI0(kI0(l0)):{},UW(_x||!l0||!l0.__esModule?t9(Hx,"default",{value:l0,enumerable:!0}):Hx,l0)),_I0=l0=>UW(t9({},"__esModule",{value:!0}),l0);var DW=OW(EU=>{(function(l0){typeof globalThis!="object"&&(this?_x():(l0.defineProperty(l0.prototype,"_T_",{configurable:!0,get:_x}),_T_));function _x(){var Hx=this||self;Hx.globalThis=Hx,delete l0.prototype._T_}})(Object);(function(l0){"use strict";var _x="symbol",Hx=271,kr=126548,$1="renders",tr=71127,xr="member_property",e1=65007,ev=66517,F1="jsx_attribute_value_expression",M3=119980,jn="function_declaration",Pe="<2>",c9=68466,CU="%=",s9="??",o9=70080,R4="&",It="identifier",O4=72163,v9=71723,a9="properties",l9=183969,p9=68223,zn="function_return_annotation",y9=124903,d9=70106,RU=241,OU="(",LU=213,m9=120074,k9=70708,h9=71679,Kn="logical",i2="camlinternalFormat.ml",Jn="type_guard_annotation",_9=92975,UU=">>>",w9="RestElement",T9=67897,MU=179,S9="start",E9=113775,L4=126521,DU="%i",D3="`",jU="#",A9=43702,U4=126,g9=110947,Yn="function_identifier",M4=119893,N9=70366,I9=65547,P9=43743,C9=-43,tv=8238,zU=",",nv=8286,Bn="keyof_type",R9=66717,D4=12336,KU=201,O9=71338,j4=11565,L9=69289,U9=55291,M9=73030,D9=70479,j9=69572,z9=11623,Xn="tuple_spread_element",Wn="component_type_rest_param",uv=8239,K9=64310,oa="@]",J9=42993,z4=11558,K4="Map.bal",j3="public",JU=-32,va="Literal",Vn="jsx_member_expression_identifier",Zn="for_in_assignment_pattern",Y9=71450,J4=126557,tt=103,B9=12292,X9=110579,Y4=120597,W9=13311,V9=12348,$n="export_default_declaration_decl",Fn="tuple_type",Z9=113663,$9=170,F9=67413,YU="Assert_failure",BU="comments",z3="%S",tn=127343600,Q9=12341,H9=67646,XU="ENOTEMPTY",q9=72160,G9=70187,WU=222,b9=12343,VU=2147483647,xk=126624,rk=43442,ek=70312,tk=281,Qn="interface_type",iv="new",nk=66256,B4=68296,uk=124908,X4=126579,W4=70107,V4=249,ik=71167,Hn="union_type",Qr=248,fk=126546,qn="enum_bigint_member",ZU=133,ck=67871,sk=66955,$U=1027,Gn="class_declaration",bn="optional_call",FU="a string",Z4=11703,QU="<<",$4=126564,x7="jsx_element",r7="object_property_type",ok=94207,e7="enum_declaration",vk=68023,ak=67669,lk=8318,HU="prefix",fv="this",pk=126578,t7="if_consequent_statement",qU=-696510241,yk=66963,cv="default",F4=72967,Pt=101,GU="buffer.ml",dk=74649,nn=65535,mk=43709,kk=175,vo="component",bU="===",aa=117,n7="jsx_identifier",xM="EnumDefaultedMember",Q4=70006,hk=70161,_k=126633,wk=66965,u7="member_property_expression",Tk=101589,Sk=64274,la="function",Ek=66303,Ak=42954,gk=126529,Nk=72191,i7="new_",Ik=64433,H4=126559,Pk=72144,rM="==",ao=-744106340,Ck=43359,Rk=171,eM="Printexc.handle_uncaught_exception",Ok=66735,Lk=126534,Uk=74879,Mk=42785,q4=120629,K3="0o",tM="End_of_file",Dk=66175,nM="&=",jk="nan",G4=126503,f7="pattern_number_literal",zk=43470,c7="import_namespace_specifier",Kk=77711,b4=70302,s7="component_param",xp="@])",rp=126515,pa=118,Ce="continue",Jk=43798,ep=";@ ",Yk=74751,Bk="src/parser/statement_parser.ml",Xk="rmdir",Wk=94177,o7="for_in_statement",uM=269,iM=12520,fM="TypeParameterInstantiation",wx="",cM="**=",Vk=120126,sM=197,Zk=67829,tp="_bigarr02",v7="export_named_declaration_specifier",np=": No such file or directory",up=64319,$k=69926,a7="pattern_object_p",oM="TypeAnnotation",l7="array_type",J3="@[%s =@ ",Fk=72847,p7="export_default_declaration",ip=126590,Qk=42774,Hk=": Not a directory",ya="let",sv=12288,Z2="argument",$2="/",fp="an identifier",ws="typeof",cp=68116,qk=182,y7="declare_export_declaration_decl",Gk=67589,bk=66771,Y3="class",vM="tokens",aM=-66,sp=70281,B3=255,xh=43638,lM=-983660142,ov="key",rh=69955,pM=">>",d7="function_expression_or_method",eh=43587,un="block",th=100351,op="mixed",nh=66503,uh="ENOTDIR",ih=65135,m7="string_literal",ie="@ ",fh=43334,k7="if_alternate_statement",ch=70448,vp=8485,h7="type_args",sh=69864,_7="if_statement",yM="+=",w7="typeof_identifier",ap="with",lp=65595,oh=64286,vh=71086,Ts="true",ah=69423,T7="catch_clause",lh="e",da="asserts",dM=">>=",ph=131,yh=43388,dh=43887,B1=-48,mh=120779,mM=190,kh=194,S7="pattern_bigint_literal",hh=71351,_h=65629,E7="call",kM=-42,pp=126553,wh=43695,hM=177,Th=42124,Sh=12703,Eh=12442,Ah=11718,yp=70449,dp=126547,gh=67462,Ss="left",A7="infer_type",Nh=11742,Ih=65597,mp="Unix.Unix_error",Ph=122623,Ch=124911,Rh=72959,Oh="opaque",g7="object_internal_slot_property_type",_M="Enum `",wM=275,vv=65279,Lh=71983,Uh=12329,P1=110,N7="spread_property",TM="importKind",X3=" =",I7="remote_identifier",P7="labeled_statement",C7="jsx_fragment",Mh=120770,R7="function_param",fe=112,Dh="exportKind",O7="binary",Es="`.",jh=42511,SM="<=",L7="jsx_spread_attribute",R2="import",U7="typeof_member_identifier",zh=69414,Kh=19967,kp=11687,Jh=93823,EM=209,Yh=71903,Bh="of",Xh=72e3,Wh="typeArguments",M7="type_identifier",D7="pattern_array_element_pattern",hp=69744,ma=192,j7="class_element",z7="export_source",K7="component_param_pattern",Vh=42508,Zh=125124,AM="Unexpected token `",J7="for_in_left_declaration",Y7="object_call_property_type",$h="abstract",Fh=8584,Qh=68786,Hh=71999,_p=123214,qh=123565,Gh=186,B7="class_implements_interface",wp=126536,bh=69749,gM="Invalid legacy octal ",x_=71295,r_=66927,X7="pattern_expression",e_=11679,t_=-61,Tp=65141,n_=11694,W7="update_expression",NM="minus",Re="debugger",u_=71352,i_=65470,ka="number",f_=123627,Sp=64322,Ep=43471,V7="for_of_assignment_pattern",Ap=126589,c_=43784,IM="Internal Error: Found object private prop",s_=183983,Hr="id",o_=123190,gp="finally",Np=120070,v_=72095,Z7="syntax",a_=110591,As="false",PM=-10,Ip="AssignmentPattern",$7="typeof_expression",l_=43764,CM="FunctionTypeParam",F7="function_body_any",p_=126627,y_=71998,d_=126543,Q7="call_type_arg",m_=64316,Pp=64285,k_=8454,h_=137,RM="**",H7="object_type_property_setter",__=68607,fn=108,w_="out",T_=68799,av=65278,q7="jsx_member_expression",S_=92728,lv="null",E_=66431,A_=72249,cn=128,Cp=119994,g_=66207,N_=43583,Rp="else",Op=94179,Lp=11735,I_=64911,G7="jsx_attribute_name_namespaced",OM="!",P_=42539,C_=72250,R_=71215,O_=69746,L_=65487,b7="pattern_object_property_key",LM=", ",U_=8505,M_="=",D_=64111,j_=8507,Up=120134,Mp="while",z_=120596,K_=43002,W3="protected",J_=68479,Y_=43395,B_=68252,UM="v",X_=70278,W_="rendersType",V_=70853,Dp=120145,Z_=69297,$_=73112,jp=8488,F_=68351,Q_=42655,xu="for_of_left_declaration",H_=44031,q_="Failure",G_=92159,ru="object_key_identifier",MM=195,pv="bigint",eu="import_default_specifier",yv=256,tu="member",DM="!==",nu="component_identifier",b_=73008,xw=72283,zp=126500,Kp=120127,uu="jsx_attribute_name",iu="for_statement_init",rw=67711,fu="private_name",Jp="case",Yp=8489,cu="import_specifier",ew=64279,tw=94098,jM=148,nw=119974,su="pattern_string_literal",uw=72969,zM=193,KM="!=",Bp=126520,iw=71944,JM=259,fw=42191,ou="generic_qualified_identifier_type",dv="implements",cw=194559,YM="%",V3="hasUnknownMembers",sw=71039,BM=211,ow=83526,vu="init",au="jsx_attribute_value",vw=70271,ha=240,lu="function_type_return_annotation",aw=70018,lw="rest",pu="readonly_type",pw=512,yw=68095,dw=120003,Xp=126563,Wp=71236,mw=69375,kw=68850,hw=70105,_w=43866,Vp=888960333,ww=43013,yu="assignment_pattern",Tw="specifiers",XM=710,Ct="as",Sw=120570,Ew=11507,WM=204,du="jsx_element_name_identifier",mu="pattern_object_property_string_literal_key",ku="class_expression",VM=257,Aw=44002,gw=82943,_a="src/parser/type_parser.ml",wa="test",Nw=64217,Zp="package",ZM="collect_comments",$M="Pervasives.do_at_exit",Iw=125183,Pw=42606,hu="tuple_element",_u="enum_boolean_member",Cw=65312,$p=119981,Rw=65495,Fp=120085,FM=-80,QM=138,Qp=126555,Ow=65276,m1=128,HM="{ ",wu="for_statement",Tu="class_method",Hp="if",Su="generic_type",Er=113,Lw=43071,Uw=72001,Mw=71131,Dw=70002,jw=42888,qp=8469,Z3="instanceof",zw=11502,Gp=94178,Kw=64321,Jw=64913,qM="Division_by_zero",Yw=92879,Bw=71945,Xw=185,Ww=66938,bp=65535,Vw=113800,GM=": file descriptor already closed",x8=223,bM="*=",Zw=68899,Eu="switch_case",Au="pattern_array_element",gu="enum_string_member",Nu="pattern_object_property_bigint_literal_key",xD="visit_trailing_comment",r8="export",e8=120122,t8=43823,$w=43792,Fw=42527,Qw=70726,Iu="enum_defaulted_member",Hw=68497,n8=72349,Pu="program",Cu="member_type_identifier",qw="object",Ru="for_of_statement_lhs",Gw=113791,bw=67391,Ou="jsx_spread_child",u8=126554,i8=8526,f8=43880,c8=69415,xT=43822,Lu="pattern_identifier",rT=93052,Ta="readonly",Oe="name",eT=68119,tT=71494,nT=120121,s8=8486,rD=2047,Uu="enum_symbol_body",eD=142,tD="PropertyDefinition",uT=177976,Mu="declare_class",iT=65489,fT=72367,cT=70440,Du="import_named_specifier",nD="Popping lex mode from empty stack",sT=68111,oT=66463,uD="*-/",vT=43187,o8=8487,aT=11567,lT=67861,pT=` -`,yT=66383,ju="declare_interface",dT=-24976191,mT=238,kT=-24,iD="@ }@]",hT=43645,fD=176,_T=119976,v8=69959,wT=126519,TT=";",cD="trailingComments",a8=65548,zu="number_literal",Sa=449540197,ST=43704,l8=126584,ET=8467,sD="||",p8=11695,AT="exported",gT=120712,gs="void",oD="mixins",NT=92783,IT=215,Ku="body_expression",vD="%ni",$3=">",Ju="jsx_child",PT=8516,Yu="optional_indexed_access_type",Bu="typeof_type",Xu="spread_element",CT=42963,aD="@[",Wu="component_params",RT=43042,y8="",Vu="function_",d8="for",m8=65575,sn="params",OT=168,lD="win32",mv=8202,pD="@",k8="^",LT=164,nt="optional",UT=65574,F3="boolean",yD=139,MT=12548,h8=120539,dD="Not_found",_8=246,Zu="expression_statement",DT="EBADF",jT=66815,$u="module_ref_literal",zT=55203,Fu="function_param_type",KT=73064,w8=70279,JT=110580,mD=233,YT="<",kD="visit_leading_comment",BT=66855,XT=66966,WT=66499,VT=111355,ZT=68680,$T=206,hD="--",FT=65497,T8=11711,Qu="function_param_pattern",kv="constructor",QT=5760,_D="infinity",S8=43642,qI0="fs",HT=92991,E8=126544,qT=101640,A8=72162,GT=67583,g8=8468,O2="typeParameters",wD="elements",bT=71423,TD="Sys_blocked_io",Hu="interface_declaration",qu="variable_declaration",Gu="function_rest_param",bu="type",xS="Invalid number ",rS=" : flags Open_rdonly and Open_wronly are not compatible",eS=69404,xi="jsx_element_name_member_expression",N8="keyof",SD=285,I8="never",ri="with_",on=32768,ED="|=",P8=70404,C8=70441,tS=42969,Q3="declare",nS=73061,ei="object_type",ti="object_property_value_type",uS=69687,AD="Invalid binary/octal ",gD=230,iS=64324,ND="range",ID="infer",fS=120744,ni="array_element",cS=70730,sS=43641,PD=166,oS=70461,vS=69890,aS=69487,lS=74862,pS=68149,R8=73065,CD="%a",yS=72348,RD=172,ui="jsx_expression",dS=65663,mS=126495,kS=245,hS=124907,ii="member_property_identifier",OD=226,_S=43615,fi="comment",O8=119965,ci="catch_clause_pattern",si="object_type_property_getter",LD=136,wS=43019,TS=67455,L8=126628,UD=331416730,MD="the start of a statement",SS=122654,ES="shorthand",AS=43595,gS=11710,oi="typeof_qualified_identifier",NS=72750,DD="elementType",f2="typeAnnotation",IS=124895,jD=162,U8=11559,PS=67382,zD="??=",CS=72329,RS="target",vi="component_type",KD=180,OS=189,JD=8206,LS=43513,US=173823,MS=126467,ai="type_guard",DS=43700,jS=12783,M8=8305,li="type_annotation",YD=141,Le="break",D8=42999,zS=65019,KS=160,JS=70460,pi="expression_or_spread",YS=")",yi="class_private_field",BS=55215,XS=65338,WS=40981,H3="members",di="import_declaration",VS=69634,j8=94031,ZS="ENOENT",$S=8457,BD="satisfies",mi="generic_identifier_type",ki="function_this_param",FS=66993,hi="type_",QS=67423,HS=11557,qS=12799,GS=239,bS=93026,xE=66377,rE=123180,XD=221,WD=-594953737,eE=67967,tE=43586,Ue=105,VD="src/parser/flow_lexer.ml",nE=66559,_i="class_property_value",uE=67637,ZD="closedir",iE=43010,fE=8521,z8=69956,cE=42959,sE=212,oE=92735,K8="}",q3="method",vE=11498,J8=247,ce="empty",wi=16777215,$D=161,aE=42887,Ns=116,Ti="type_identifier_reference",Y8=126634,lE=68029,FD="regexp",pE=70414,G3=121,Si="template_literal_element",yE=8449,dE=126562,hv=12287,mE=-45,B8=64297,X8=126523,kE=43301,ut=111,hE=126498,_E=43776,QD="EEXIST",wE=119892,TE=43807,HD=4096,Ea=252,Is=255,SE=68295,Ei="variable_declarator_pattern",Ai="do_while",W8="catch",EE=66962,AE=120654,gi=125,Ni="label_identifier",gE=11263,NE=8525,Ii="assignment",IE=191456,PE=43273,qD="%u",CE=65381,RE=110927,OE=65479,LE=120538,_v="await",UE=71487,ME="jsError",DE=110588,jE=120084,zE=42890,Aa=224,Pi="object_key",KE=43696,JE=73647,YE=43761,BE=12295,XE=64967,V8=11647,GD=191,Rt=123,WE="generator",VE=123583,Ci="for_of_statement",Ri="enum_bigint_body",ZE=110959,$E=92995,FE=120686,QE="b",HE=119969,Z8=126522,$8=64318,qE=71839,F8=126602,GE=65908,b3=65536,bD=231,xj=-602162310,rj="comment_bounds",Ot="-",ej=-55,Oi="pattern_object_property",bE=43493,xA=69505,rA=8471,eA=187,Q8=120745,Li="enum_member_identifier",tA=71959,nA=66863,uA=65594,H8=253,q8='"',G8=70286,Ui="jsx_attribute_value_literal",iA=68447,tj="the",fA="index out of bounds",Mi="declare_export_declaration",Di="jsx_attribute",ji="class_extends",qr=122,_1=106,zi="binding_pattern",Ki="ts_type_cast",cA=113807,sA=93951,xl=119,oA="types",vA=8335,Ji="statement_fork_point",ga="_",aA=65500,Yi="function_type",lA=68220,Bi="statement_list",Na=-835925911,pA=123535,b8=43815,yA=199,x5=120571,dA=67514,nj="Property",r5=72713,uj="Unexpected ",e5=169,ij=", characters ",t5=43867,mA=42537,Xi="component_declaration",fj=" : is a directory",Wi="object_key_number_literal",Jr=127,c2=-36,rl=912068366,el="delete",Vi=114,kA=120076,Zi="regexp_literal",hA=65370,_A=65481,a1="value",wA=68405,tl="operator",nl="const",cj=283,wv=109,n5="any",TA=69958,SA=70831,EA=73111,AA=72767,gA="Identifier",$i="jsx_opening_attribute",Fi="conditional_type",NA="loc",IA=67071,u5=120004,PA=43492,CA=70005,sj=188,i5=72272,RA=11389,oj=251,OA=73055,f5=70280,vj=286,c5=1114111,LA=66421,aj="Stack_overflow",UA=70301,MA=19903,lo="0x",DA=69967,jA=12447,s5=66512,lj=`Fatal error: exception %s -`,ul=1e3,zA=69295,o5=120093,pj=">=",yj=149,v5=64325,Qi="class_identifier",KA=119967,JA=68415,dj="end",Hi="enum_boolean_body",qi="member_private_name",Gi="super_expression",YA=71955,BA=126514,a5=67593,XA=66939,WA=12591,l5=126538,VA=110590,ZA=72703,$A=72105,p5=65598,FA=73727,y5=126504,d5=126551,QA=70143,il="from",bi="class_property",xf="enum_number_body",HA=42559,qA=93759,GA=66994,vn="right",mj=225,bA=67702,xg=65473,rg=43697,m5=70855,eg=119993,tg=72103,ng=178205,rf="call_type_args",ug=66511,ef="export_batch_specifier",tf="component_type_param",an=782176664,Tv="get",fl="local",kj=228,nf="object_mapped_type_property",uf="class_decorator",hj=220,ff="enum_body",_j="<<=",ig=71956,fg=69839,Ia="super",cg=173791,sg=71942,Q1="expression",og=72440,Pa=254,vg=70412,cf="try_catch",wj=32752,sf="declare_module_exports",ag=12320,Tj=134,lg=94175,cl="enum",Sj=196,of="import_source",pg=43814,yg=120069,vf="while_",k5=126537,dg=43262,af="function_rest_param_type",mg=66378,h5=119996,lf="declare_component",kg=73097,hg=70783,_g=43503,wg=131071,Tg=11492,Sg=92766,Ej=173,Eg=113770,Ag=73029,gg=66978,pf="tagged_template",yf="jsx_element_name",df="for_init_declaration",Ng=123213,mf="object_indexer_property_type",kf="object_spread_property_type",_5=72970,w5=70854,Ig=110930,sl="var",Aj=217,Pg=119972,Cg=69622,Rg=63743,Og=42237,Lg=870530776,T5="returnType",gj=56320,Nj=143,Ca="computed",Ug=42735,hf="arg_list",Mg=67461,_f="export_named_declaration",Dg=72817,jg=73439,zg=43782,Kg=66775,Jg=70655,S5="bool",Yg=65140,Bg=75075,Xg=126651,Wg=71947,Vg=42961,Zg=12735,$g=78894,Fg=64262,Qg=237,F2="interface",Ij="Match_failure",Hg=42962,qg=69748,Pj="leadingComments",wf="this_expression",ol=461894857,E5=12592,Cj=8204,Gg=119807,bg=66348,Tf="declare_variable",xN=8348,Sf="optional_member",Ef=120,Af="arrow_function",rN=72768,eN=70851,gf="array",tN=43249,A5=126468,nN=177983,uN="compare: functional value",iN=126550,fN=64847,Nf="binding_type_identifier",cN=120132,If="function_params",sN=93071,vl=1024,oN=42783,Rj=1039100673,Oj="@{",vN=12352,aN=42653,lN=120628,Lj=264,Pf="declare_function",Cf="for_in_statement_lhs",pN=72271,yN=69807,dN=67826,Rf="syntax_opt",Of="object_key_bigint_literal",Uj=243,mN=94032,Mj=265,Dj="Undefined_recursive_module",jj=-1053382366,kN=72242,Lf="variance_opt",hN=101631,_N="arguments",wN=72161,TN=8511,g5="unknown",SN=43560,zj="the end of an expression statement (`;`)",Kj=1026,EN=12543,AN=11670,gN=69247,N5=11631,I5="line",NN=72202,Uf="pattern_object_rest_property",Lt=" ",IN=43487,Ps=115,PN=-673950933,Mf="intersection_type",CN=120144,al="is",RN=178207,ON=100343,Jj="||=",Yj="f",P5=8455,Cs=102,Df="pattern_object_property_number_literal_key",LN=70418,UN=8543,Bj="Internal Error: Found private field in object props",C5=126540,R5=119995,Sv=8287,jf="indexed_access_type",zf="export_named_specifier",Xj=224,MN=124926,DN=-103,jN=167,O5=65344,L5=126530,zN=113788,KN=67505,JN="property",YN=43014,Me="return",Ev=-85,BN=126601,Wj=214,Vj="children",Kf="type_alias",U5=43259,XN=126583,WN=71958,VN=65613,ZN=67431,M5=126535,$N=69599,Jf="type_params",Yf="object_key_computed",FN=124910,L2="variance",D5=11727,QN=66954,HN=126463,Bf="catch_body",qN=69445,Xf="type_param",Wf="component_type_params",GN=124902,j5=120687,Zj="collect_comments_opt",bN=15,xI=120485,rI=70416,eI=125259,Vf="jsx_namespaced_name",tI=43712,nI=72712,$j="~",z5=12448,Zf="jsx_member_expression_object",K5=126499,J5=-97,$f="pattern_object_property_identifier_key",Fj=219,Ff="component_body",Qf="opaque_type",Hf=".",uI=43009,iI="consequent",Qj="SpreadElement",j1="body",Hj=178,qj=202,qf="jsx_opening_element",Gf="declare_module",Y5=67638,fI=8477,bf="object_type_property",cI=110882,xc="function_body",sI=94111,Gj="module",bj="alternate",oI=67839,Av=8191,vI=43881,xz=": closedir failed",po="kind",rc="tuple_labeled_element",gv=-46,aI=67640,ec="declare_type_alias",B5=70750,lI=77808,ll="column",tc="jsx_closing_element",pI=66977,yI="\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0",dI=65786,nc="function_expression",ln=104,X5=11719,mI=11505,kI="mkdir",hI=70319,rz="Invalid_argument",_I=43738,wI=113817,uc="bigint_literal",TI=70084,ez=278,SI=126566,W5="do",V5=42622,ic="computed_key",fc="pattern_object_property_computed_key",tz="fd ",Z5=126571,EI=126619,nz=140,yo="prototype",uz=208,AI=67004,iz=130,fz=242,cz=">>>=",gI=68863,NI=11726,Ut="raw",II=64466,Rs=107,PI=67679,cc="enum_string_body",$5=244,sz="unreachable jsxtext",oz="*",CI=66335,RI=126570,vz=229,OI=" : file already exists",LI=184,UI=67807,MI=70753,sc="boolean_literal",DI=65437,jI=70451,zI=67002,Ra=124,oc="conditional",F5=43260,az="Sys_error",KI=123135,pl="meta",JI=64109,vc="pattern_array_rest_element",YI=43255,Q5=67644,ac="pattern_object_rest_property_pattern",lc="sequence",BI=65855,XI=110951,WI=67643,pc="predicate_expression",De="static",VI=120512,ZI="declaration",H5=64317,$I=68437,q5=126558,yc="meta_property",FI=11564,dc="declare_enum",pn="pattern",QI=216,HI=68191,G5="undefined",b5=8319,xy=120133,lz=132,qI=42239,pz=-99,GI=124927,bI=120092,xP=43137,mc="component_rest_param",yz="expected *",rP=125251,dz="%li",eP=55242,tP=12294,kc="enum_number_member",mo="in",mz="\\\\",Nv=":",nP=68115,kz="Cygwin",uP=77823,iP=65615,ry=70162,hz="/static/",fP=11519,cP=72966,sP=12686,_z=165,ey=183,yl=129,ty=72192,oP=42964,ny="try",uy=120655,vP=11702,wz="expressions",aP=2048,hc="class_body",lP=55238,Tz=240,pP=66915,yP=43311,dP=43018,Sz=235,mP=73648,Ez="([^/]+)",kP=125258,hP=64829,_P=68735,Az="++",gz=163,Nz="qualification",Iz=57343,Pz=931,_c="default_opt",wP=71235,Cz=8472,TP=71934,Rz=205,Oz=218,Lz="callee",SP=43711,EP=64284,AP=43754,gP=43790,Uz="%Li",wc="pattern_array_rest_element_pattern",iy="decorators",NP=8304,Tc="statement",fy=73062,Sc="jsx_children",IP=70492,PP=64255,CP=11630,RP=1255,cy=67592,sy=43519,oy=64311,vy=12539,OP="proto",ay=120513,LP=68031,Iv="source",dl="a",UP=93047,MP=92927,DP=126588,jP=73458,zP=67742,KP=43714,Mz=236,JP=-253313196,ml="label",Dz="@[<2>{ ",ly=126539,py=126552,YP=120487,jz="Out_of_memory",BP=605857695,XP=94026,yy=126496,ko="async",zz=203,dy=126560,WP=68287,Ec="unary_expression",VP=-26065557,ZP=110587,Kz=280,my=120771,$P=69762,FP=126502,Oa="set",Ac="object_",gc="template_literal",QP=43258,Nc="nullable_type",Os="int_of_string",Jz="^=",je="predicate",La="string",ky=8450,Yz="camlinternalMod.ml",HP=70285,Ls="+",qP=110575,Bz=198,Ic="extends",Xz=-692038429,hy=67827,Wz=210,Vz=227,_y="explicitType",wy=70452,GP=70497,Ua=63,kl="private",bP=64296,xC=67591,rC=92909,Zz="T_JSX_TEXT",eC="Fatal error: exception ",tC=120137,Ty=68120,Pc="pattern_array_e",nC=119964,uC=92862,iC=66461,$z="&&=",Fz=174,s2=8231,Cc="null_literal",Qz="/=",fC=66811,Sy=70108,cC=67504,sC=11686,oC=67001,vC=" : flags Open_text and Open_binary are not compatible",aC=43741,lC=66204,H1=8233,Rc="type_annotation_hint",pC=123197,Oc="object_property",Hz="${",Ey=70480,qz="&&",Lc="type_cast",hl="%d",Ay=8484,Gz=207,yC=70066,dC=68324,gy=120713,bz=135,Ny=126556,Q2="0",U2="yield",Iy=126591,Uc=100,mC=69551,Mc="jsx_element_name_namespaced",xK=232,Dc="object_key_string_literal",jc="function_this_param_type",zc="pattern_object_property_pattern",ze="throw",Ke="switch",rK=2048,Py=119970,Kc="toplevel_statement_list",Pv=250,kC=12438,Jc="class_implements",Yc="variable_declarator",hC=43713,Cy=68096,_C=70457,wC=12538,TC=11734,eK="-=",tK=234,Bc="component_param_name",SC=43123,Xc="class_",nK="|",uK=200,EC=43518,AC=8483,Wc="jsx_attribute_name_identifier",gC=181;function eV(x,r,e,t,u){if(t<=r)for(var i=1;i<=u;i++)e[t+i]=x[r+i];else for(var i=u;i>=1;i--)e[t+i]=x[r+i];return 0}function tV(x){for(var r=[0];x!==0;){for(var e=x[1],t=1;t=e.l||e.t==2&&u>=e.c.length))e.c=x.t==4?Ry(x.c,r,u):r==0&&x.c.length==u?x.c:x.c.substr(r,u),e.t=e.c.length==e.l?0:2;else if(e.t==2&&t==e.c.length)e.c+=x.t==4?Ry(x.c,r,u):r==0&&x.c.length==u?x.c:x.c.substr(r,u),e.t=e.c.length==e.l?0:2;else{e.t!=4&&Oy(e);var i=x.c,f=e.c;if(x.t==4)if(t<=r)for(var o=0;o=0;o--)f[t+o]=i[r+o];else{for(var a=Math.min(u,i.length-r),o=0;o>=1,x==0)return e;r+=r,t++,t==9&&r.slice(0,1)}}function Ly(x){x.t==2?x.c+=Ma(x.l-x.c.length,"\0"):x.c=Ry(x.c,0,x.c.length),x.t=0}function NC(x){if(x.length<24){for(var r=0;rJr)return!1;return!0}else return!/[^\x00-\x7f]/.test(x)}function iK(x){for(var r=wx,e=wx,t,u,i,f,o=0,a=x.length;opw?(e.substr(0,1),r+=e,e=wx,r+=x.slice(o,y)):e+=x.slice(o,y),y==a)break;o=y}f=1,++o=55295&&f<57344)&&(f=2)):(f=3,++o1114111)&&(f=3)))))),f<4?(o-=f,e+="\uFFFD"):f>nn?e+=String.fromCharCode(55232+(f>>10),gj+(f&1023)):e+=String.fromCharCode(f),e.length>vl&&(e.substr(0,1),r+=e,e=wx)}return r+e}function Ms(x,r,e){this.t=x,this.c=r,this.l=e}Ms.prototype.toString=function(){switch(this.t){case 9:return this.c;default:Ly(this);case 0:if(NC(this.c))return this.t=9,this.c;this.t=8;case 8:return this.c}},Ms.prototype.toUtf16=function(){var x=this.toString();return this.t==9?x:iK(x)},Ms.prototype.slice=function(){var x=this.t==4?this.c.slice():this.c;return new Ms(this.t,x,this.l)};function fK(x){return new Ms(0,x,x.length)}function GI0(x){return x}function Vc(x){return fK(x)}function Cv(x,r,e,t,u){return Us(Vc(x),r,e,t,u),0}function cK(x){var r=l0.process;if(r&&r.env&&r.env[x]!=null)return r.env[x];if(l0.jsoo_static_env&&l0.jsoo_static_env[x])return l0.jsoo_static_env[x]}var IC=0;(function(){var x=cK("OCAMLRUNPARAM");if(x!==void 0)for(var r=x.split(zU),e=0;e>>0>=x.l&&fV(),Xr(x,r,e)}function se(x,r){switch(x.t&6){default:if(r>=x.c.length)return 0;case 0:return x.c.charCodeAt(r);case 4:return x.c[r]}}function Ds(x,r){var e=x.l>=0?x.l:x.l=x.length,t=r.length,u=e-t;if(u==0)return x.apply(null,r);if(u<0){var i=x.apply(null,r.slice(0,e));return typeof i!="function"?i:Ds(i,r.slice(e))}else{switch(u){case 1:{var i=function(a){for(var y=new Array(t+1),h=0;h>>0>=x.length-1&&_l(),x}function cV(x){return isFinite(x)?Math.abs(x)>=22250738585072014e-324?0:x!=0?1:2:isNaN(x)?4:3}function sV(x){return 0}var oV=Math.log2&&Math.log2(11235582092889474e291)==1020;function vV(x){if(oV)return Math.floor(Math.log2(x));var r=0;if(x==0)return-1/0;if(x>=1)for(;x>=2;)x/=2,r++;else for(;x<1;)x*=2,r--;return r}function CC(x){var r=new Float32Array(1);r[0]=x;var e=new Int32Array(r.buffer);return e[0]|0}var sK=Math.pow(2,-24);function oK(x){throw x}function vK(){oK(M2.Division_by_zero)}function fr(x,r,e){this.lo=x&wi,this.mi=r&wi,this.hi=e&nn}fr.prototype.caml_custom="_j",fr.prototype.copy=function(){return new fr(this.lo,this.mi,this.hi)},fr.prototype.ucompare=function(x){return this.hi>x.hi?1:this.hix.mi?1:this.mix.lo?1:this.loe?1:rx.mi?1:this.mix.lo?1:this.lo>24),e=-this.hi+(r>>24);return new fr(x,r,e)},fr.prototype.add=function(x){var r=this.lo+x.lo,e=this.mi+x.mi+(r>>24),t=this.hi+x.hi+(e>>24);return new fr(r,e,t)},fr.prototype.sub=function(x){var r=this.lo-x.lo,e=this.mi-x.mi+(r>>24),t=this.hi-x.hi+(e>>24);return new fr(r,e,t)},fr.prototype.mul=function(x){var r=this.lo*x.lo,e=(r*sK|0)+this.mi*x.lo+this.lo*x.mi,t=(e*sK|0)+this.hi*x.lo+this.mi*x.mi+this.lo*x.hi;return new fr(r,e,t)},fr.prototype.isZero=function(){return(this.lo|this.mi|this.hi)==0},fr.prototype.isNeg=function(){return this.hi<<16<0},fr.prototype.and=function(x){return new fr(this.lo&x.lo,this.mi&x.mi,this.hi&x.hi)},fr.prototype.or=function(x){return new fr(this.lo|x.lo,this.mi|x.mi,this.hi|x.hi)},fr.prototype.xor=function(x){return new fr(this.lo^x.lo,this.mi^x.mi,this.hi^x.hi)},fr.prototype.shift_left=function(x){return x=x&63,x==0?this:x<24?new fr(this.lo<>24-x,this.hi<>24-x):x<48?new fr(0,this.lo<>48-x):new fr(0,0,this.lo<>x|this.mi<<24-x,this.mi>>x|this.hi<<24-x,this.hi>>x):x<48?new fr(this.mi>>x-24|this.hi<<48-x,this.hi>>x-24,0):new fr(this.hi>>x-48,0,0)},fr.prototype.shift_right=function(x){if(x=x&63,x==0)return this;var r=this.hi<<16>>16;if(x<24)return new fr(this.lo>>x|this.mi<<24-x,this.mi>>x|r<<24-x,this.hi<<16>>x>>>16);var e=this.hi<<16>>31;return x<48?new fr(this.mi>>x-24|this.hi<<48-x,this.hi<<16>>x-24>>16,e&nn):new fr(this.hi<<16>>x-32,e,e)},fr.prototype.lsl1=function(){this.hi=this.hi<<1|this.mi>>23,this.mi=(this.mi<<1|this.lo>>23)&wi,this.lo=this.lo<<1&wi},fr.prototype.lsr1=function(){this.lo=(this.lo>>>1|this.mi<<23)&wi,this.mi=(this.mi>>>1|this.hi<<23)&wi,this.hi=this.hi>>>1},fr.prototype.udivmod=function(x){for(var r=0,e=this.copy(),t=x.copy(),u=new fr(0,0,0);e.ucompare(t)>0;)r++,t.lsl1();for(;r>=0;)r--,u.lsl1(),e.ucompare(t)>=0&&(u.lo++,e=e.sub(t)),t.lsr1();return{quotient:u,modulus:e}},fr.prototype.div=function(x){var r=this;x.isZero()&&vK();var e=r.hi^x.hi;r.hi&on&&(r=r.neg()),x.hi&on&&(x=x.neg());var t=r.udivmod(x).quotient;return e&on&&(t=t.neg()),t},fr.prototype.mod=function(x){var r=this;x.isZero()&&vK();var e=r.hi;r.hi&on&&(r=r.neg()),x.hi&on&&(x=x.neg());var t=r.udivmod(x).modulus;return e&on&&(t=t.neg()),t},fr.prototype.toInt=function(){return this.lo|this.mi<<24},fr.prototype.toFloat=function(){return(this.hi<<16)*Math.pow(2,32)+this.mi*Math.pow(2,24)+this.lo},fr.prototype.toArray=function(){return[this.hi>>8,this.hi&Is,this.mi>>16,this.mi>>8&Is,this.mi&Is,this.lo>>16,this.lo>>8&Is,this.lo&Is]},fr.prototype.lo32=function(){return this.lo|(this.mi&Is)<<24},fr.prototype.hi32=function(){return this.mi>>>8&nn|this.hi<<16};function Uy(x,r,e){return new fr(x,r,e)}function My(x){if(!isFinite(x))return isNaN(x)?Uy(1,0,wj):x>0?Uy(0,0,wj):Uy(0,0,65520);var r=x==0&&1/x==-1/0?on:x>=0?0:on;r&&(x=-x);var e=vV(x)+1023;e<=0?(e=0,x/=Math.pow(2,-Kj)):(x/=Math.pow(2,e-$U),x<16&&(x*=2,e-=1),e==0&&(x/=2));var t=Math.pow(2,24),u=x|0;x=(x-u)*t;var i=x|0;x=(x-i)*t;var f=x|0;return u=u&bN|r|e<<4,Uy(f,i,u)}function wl(x){return x.toArray()}function aK(x,r,e){if(x.write(32,r.dims.length),x.write(32,r.kind|r.layout<<8),r.caml_custom==tp)for(var t=0;t>4;if(u==rD)return r|e|t&bN?NaN:t&on?-1/0:1/0;var i=Math.pow(2,-24),f=(r*i+e)*i+(t&bN);return u>0?(f+=16,f*=Math.pow(2,u-$U)):f*=Math.pow(2,-Kj),t&on&&(f=-f),f}function LC(x){for(var r=x.length,e=1,t=0;t>>24&Is|(r&nn)<<8,r>>>16&nn)}function UC(x){return x.hi32()}function MC(x){return x.lo32()}var pV=tp;function ho(x,r,e,t){this.kind=x,this.layout=r,this.dims=e,this.data=t}ho.prototype.caml_custom=pV,ho.prototype.offset=function(x){var r=0;if(typeof x=="number"&&(x=[x]),x instanceof Array||q1("bigarray.js: invalid offset"),this.dims.length!=x.length&&q1("Bigarray.get/set: bad number of dimensions"),this.layout==0)for(var e=0;e=this.dims[e])&&_l(),r=r*this.dims[e]+x[e];else for(var e=this.dims.length-1;e>=0;e--)(x[e]<1||x[e]>this.dims[e])&&_l(),r=r*this.dims[e]+(x[e]-1);return r},ho.prototype.get=function(x){switch(this.kind){case 7:var r=this.data[x*2+0],e=this.data[x*2+1];return lV(r,e);case 10:case 11:var t=this.data[x*2+0],u=this.data[x*2+1];return[Pa,t,u];default:return this.data[x]}},ho.prototype.set=function(x,r){switch(this.kind){case 7:this.data[x*2+0]=MC(r),this.data[x*2+1]=UC(r);break;case 10:case 11:this.data[x*2+0]=r[1],this.data[x*2+1]=r[2];break;default:this.data[x]=r;break}return 0},ho.prototype.fill=function(x){switch(this.kind){case 7:var r=MC(x),e=UC(x);if(r==e)this.data.fill(r);else for(var t=0;tf)return 1;if(i!=f){if(!r)return NaN;if(i==i)return 1;if(f==f)return-1}}break;case 7:for(var u=0;ux.data[u+1])return 1;if(this.data[u]>>>0>>0)return-1;if(this.data[u]>>>0>x.data[u]>>>0)return 1}break;case 2:case 3:case 4:case 5:case 6:case 8:case 9:case 12:for(var u=0;ux.data[u])return 1}break}return 0};function ja(x,r,e,t){this.kind=x,this.layout=r,this.dims=e,this.data=t}ja.prototype=new ho,ja.prototype.offset=function(x){return typeof x!="number"&&(x instanceof Array&&x.length==1?x=x[0]:q1("Ml_Bigarray_c_1_1.offset")),(x<0||x>=this.dims[0])&&_l(),x},ja.prototype.get=function(x){return this.data[x]},ja.prototype.set=function(x,r){return this.data[x]=r,0},ja.prototype.fill=function(x){return this.data.fill(x),0};function pK(x,r,e,t){var u=lK(x);return LC(e)*u!=t.length&&q1("length doesn't match dims"),r==0&&e.length==1&&u==1?new ja(x,r,e,t):new ho(x,r,e,t)}function D2(x){M2.Failure||(M2.Failure=[Qr,q_,-3]),PC(M2.Failure,x)}function yK(x,r,e){var t=x.read32s();(t<0||t>16)&&D2("input_value: wrong number of bigarray dimensions");var u=x.read32s(),i=u&Is,f=u>>8&1,o=[];if(e==tp)for(var a=0;a>>32-15,r=mK(r,461845907),x^=r,x=x<<13|x>>>32-13,(x+(x<<2)|0)+-430675100|0}function yV(x,r){return x=js(x,MC(r)),x=js(x,UC(r)),x}function kK(x,r){return yV(x,My(r))}function hK(x){var r=LC(x.dims),e=0;switch(x.kind){case 2:case 3:case 12:r>yv&&(r=yv);var t=0,u=0;for(u=0;u+4<=x.data.length;u+=4)t=x.data[u+0]|x.data[u+1]<<8|x.data[u+2]<<16|x.data[u+3]<<24,e=js(e,t);switch(t=0,r&3){case 3:t=x.data[u+2]<<16;case 2:t|=x.data[u+1]<<8;case 1:t|=x.data[u+0],e=js(e,t)}break;case 4:case 5:r>m1&&(r=m1);var t=0,u=0;for(u=0;u+2<=x.data.length;u+=2)t=x.data[u+0]|x.data[u+1]<<16,e=js(e,t);r&1&&(e=js(e,x.data[u]));break;case 6:r>64&&(r=64);for(var u=0;u64&&(r=64);for(var u=0;u32&&(r=32),r*=2;for(var u=0;u64&&(r=64);for(var u=0;u32&&(r=32);for(var u=0;u0?u(r,x,t):u(x,r,t);if(t&&i!=i)return e;if(+i!=+i)return+i;if(i|0)return i|0}return e}function jC(x){return typeof x=="string"&&!/[^\x00-\xff]/.test(x)}function zC(x){return x instanceof Ms}function TK(x){if(typeof x=="number")return ul;if(zC(x))return Ea;if(jC(x))return 1252;if(x instanceof Array&&x[0]===x[0]>>>0&&x[0]<=B3){var r=x[0]|0;return r==Pa?0:r}else{if(x instanceof String)return iM;if(typeof x=="string")return iM;if(x instanceof Number)return ul;if(x&&x.caml_custom)return RP;if(x&&x.compare)return 1256;if(typeof x=="function")return 1247;if(typeof x=="symbol")return 1251}return 1001}function yn(x,r){return xr?1:0}function TV(x,r){return x.t&6&&Ly(x),r.t&6&&Ly(r),x.cr.c?1:0}function Dy(x,r,e){for(var t=[];;){if(!(e&&x===r)){var u=TK(x);if(u==Pv){x=x[1];continue}var i=TK(r);if(i==Pv){r=r[1];continue}if(u!==i)return u==ul?i==RP?wK(x,r,-1,e):-1:i==ul?u==RP?wK(r,x,1,e):1:ur)return 1;if(x!=r){if(!e)return NaN;if(x==x)return 1;if(r==r)return-1}break;case 1001:if(xr)return 1;if(x!=r){if(!e)return NaN;if(x==x)return 1;if(r==r)return-1}break;case 1251:if(x!==r)return e?1:NaN;break;case 1252:var x=x,r=r;if(x!==r){if(xr)return 1}break;case 12520:var x=x.toString(),r=r.toString();if(x!==r){if(xr)return 1}break;case 246:case 254:default:if(sV(u)){q1("compare: continuation value");break}if(x.length!=r.length)return x.length1&&t.push(x,r,1);break}}if(t.length==0)return 0;var a=t.pop();r=t.pop(),x=t.pop(),a+10)if(r==0&&(e>=x.l||x.t==2&&e>=x.c.length))t==0?(x.c=wx,x.t=2):(x.c=Ma(e,String.fromCharCode(t)),x.t=e==x.l?0:2);else for(x.t!=4&&Oy(x),e+=r;r0&&r===r||(x=x.replace(/_/g,wx),r=+x,x.length>0&&r===r||/^[+-]?nan$/i.test(x)))return r;var e=/^ *([+-]?)0x([0-9a-f]+)\.?([0-9a-f]*)(p([+-]?[0-9]+))?/i.exec(x);if(e){var t=e[3].replace(/0+$/,wx),u=parseInt(e[1]+e[2]+t,16),i=(e[5]|0)-4*t.length;return r=u*Math.pow(2,i),r}if(/^\+?inf(inity)?$/i.test(x))return 1/0;if(/^-inf(inity)?$/i.test(x))return-1/0;D2("float_of_string")}function JC(x){x=x;var r=x.length;r>31&&q1("format_int: format too long");for(var e={justify:Ls,signstyle:Ot,filler:Lt,alternate:!1,base:0,signedconv:!1,width:0,uppercase:!1,sign:1,prec:-1,conv:Yj},t=0;t=0&&u<=9;)e.width=e.width*10+u,t++;t--;break;case".":for(e.prec=0,t++;u=x.charCodeAt(t)-48,u>=0&&u<=9;)e.prec=e.prec*10+u,t++;t--;case"d":case"i":e.signedconv=!0;case"u":e.base=10;break;case"x":e.base=16;break;case"X":e.base=16,e.uppercase=!0;break;case"o":e.base=8;break;case"e":case"f":case"g":e.signedconv=!0,e.conv=u;break;case"E":case"F":case"G":e.signedconv=!0,e.uppercase=!0,e.conv=u.toLowerCase();break}}return e}function YC(x,r){x.uppercase&&(r=r.toUpperCase());var e=r.length;x.signedconv&&(x.sign<0||x.signstyle!=Ot)&&e++,x.alternate&&(x.base==8&&(e+=1),x.base==16&&(e+=2));var t=wx;if(x.justify==Ls&&x.filler==Lt)for(var u=e;u20?(A-=20,h/=Math.pow(10,A),h+=new Array(A+1).join(Q2),k>0&&(h=h+Hf+new Array(k+1).join(Q2)),h):h.toFixed(k)}var t,u=JC(x),i=u.prec<0?6:u.prec;if((r<0||r==0&&1/r==-1/0)&&(u.sign=-1,r=-r),isNaN(r))t=jk,u.filler=Lt;else if(!isFinite(r))t="inf",u.filler=Lt;else switch(u.conv){case"e":var t=r.toExponential(i),f=t.length;t.charAt(f-3)==lh&&(t=t.slice(0,f-1)+Q2+t.slice(f-1));break;case"f":t=e(r,i);break;case"g":i=i||1,t=r.toExponential(i-1);var o=t.indexOf(lh),a=+t.slice(o+1);if(a<-4||r>=1e21||r.toFixed(0).length>i){for(var f=o-1;t.charAt(f)==Q2;)f--;t.charAt(f)==Hf&&f--,t=t.slice(0,f+1)+t.slice(o),f=t.length,t.charAt(f-3)==lh&&(t=t.slice(0,f-1)+Q2+t.slice(f-1));break}else{var y=i;if(a<0)y-=a+1,t=r.toFixed(y);else for(;t=r.toFixed(y),t.length>i+1;)y--;if(y){for(var f=t.length-1;t.charAt(f)==Q2;)f--;t.charAt(f)==Hf&&f--,t=t.slice(0,f+1)}}break}return YC(u,t)}function zy(x,r){if(x==hl)return wx+r;var e=JC(x);r<0&&(e.signedconv?(e.sign=-1,r=-r):r>>>=0);var t=r.toString(e.base);if(e.prec>=0){e.filler=Lt;var u=e.prec-t.length;u>0&&(t=Ma(u,Q2)+t)}return YC(e,t)}var EK=0;function zs(){return EK++}function AK(){return[0]}var Ky=[];function qx(x,r,e){var t=x[1],u=Ky[e];if(u===void 0)for(var i=Ky.length;i>1|1,rpw?(e.substr(0,1),r+=e,e=wx,r+=x.slice(i,o)):e+=x.slice(i,o),o==f)break;i=o}t>6),e+=String.fromCharCode(cn|t&Ua)):t<55296||t>=Iz?e+=String.fromCharCode(Xj|t>>12,cn|t>>6&Ua,cn|t&Ua):t>=56319||i+1==f||(u=x.charCodeAt(i+1))Iz?e+="\xEF\xBF\xBD":(i++,t=(t<<10)+u-56613888,e+=String.fromCharCode(Tz|t>>18,cn|t>>12&Ua,cn|t>>6&Ua,cn|t&Ua)),e.length>vl&&(e.substr(0,1),r+=e,e=wx)}return r+e}function Mt(x){return NC(x)?x:AV(x)}function gV(x,r,e){if(!isFinite(x))return isNaN(x)?Mt(jk):Mt(x>0?_D:"-infinity");var t=x==0&&1/x==-1/0?1:x>=0?0:1;t&&(x=-x);var u=0;if(x!=0)if(x<1)for(;x<1&&u>-1022;)x*=2,u--;else for(;x>=2;)x/=2,u++;var i=u<0?wx:Ls,f=wx;if(t)f=Ot;else switch(e){case 43:f=Ls;break;case 32:f=Lt;break;default:break}if(r>=0&&r<13){var o=Math.pow(2,r*4);x=Math.round(x*o)/o}var a=x.toString(16);if(r>=0){var y=a.indexOf(Hf);if(y<0)a+=Hf+Ma(r,Q2);else{var h=y+1+r;a.length>24&wi,x>>31&nn)}function IV(x){return x.toInt()}function PV(x){return+x.isNeg()}function XC(x){return x.neg()}function CV(x,r){var e=JC(x);e.signedconv&&PV(r)&&(e.sign=-1,r=XC(r));var t=wx,u=Jy(e.base),i="0123456789abcdef";do{var f=r.udivmod(u);r=f.quotient,t=i.charAt(IV(f.modulus))+t}while(!NV(r));if(e.prec>=0){e.filler=Lt;var o=e.prec-t.length;o>0&&(t=Ma(o,Q2)+t)}return YC(e,t)}function Gx(x){return x.length}function ix(x,r){return x.charCodeAt(r)}function RV(x,r){return x.add(r)}function OV(x,r){return x.mul(r)}function WC(x,r){return x.ucompare(r)<0}function gK(x){var r=0,e=Gx(x),t=10,u=1;if(e>0)switch(ix(x,r)){case 45:r++,u=-1;break;case 43:r++,u=1;break}if(r+1=48&&x<=57?x-48:x>=65&&x<=90?x-55:x>=97&&x<=qr?x-87:-1}function Sl(x){var r=gK(x),e=r[0],t=r[1],u=r[2],i=Jy(u),f=new fr(wi,268435455,nn).udivmod(i).quotient,o=ix(x,e),a=Yy(o);(a<0||a>=u)&&D2(Os);for(var y=Jy(a);;)if(e++,o=ix(x,e),o!=95){if(a=Yy(o),a<0||a>=u)break;WC(f,y)&&D2(Os),a=Jy(a),y=RV(OV(i,y),a),WC(y,a)&&D2(Os)}return e!=Gx(x)&&D2(Os),u==10&&WC(new fr(0,0,on),y)&&D2(Os),t<0&&(y=XC(y)),y}function By(x){return x.toFloat()}function it(x){var r=gK(x),e=r[0],t=r[1],u=r[2],i=Gx(x),f=-1>>>0,o=e=u)&&D2(Os);var y=a;for(e++;e=u)break;y=u*y+a,y>f&&D2(Os)}return e!=i&&D2(Os),y=t*y,u==10&&(y|0)!=y&&D2(Os),y|0}function LV(x){return x.slice(1)}function nr(x){return NC(x)?x:iK(x)}function UV(x){for(var r={},e=1;e=0?x.l:x.l=x.length}function DV(x){return function(){for(var r=MV(x),e=new Array(r),t=0;t1&&t.pop();break;case".":break;case"":break;default:t.push(e[u]);break}return t.unshift(r[0]),t.orig=x,t}var BV=["E2BIG","EACCES","EAGAIN",DT,"EBUSY","ECHILD","EDEADLK","EDOM",QD,"EFAULT","EFBIG","EINTR","EINVAL","EIO","EISDIR","EMFILE","EMLINK","ENAMETOOLONG","ENFILE","ENODEV",ZS,"ENOEXEC","ENOLCK","ENOMEM","ENOSPC","ENOSYS",uh,XU,"ENOTTY","ENXIO","EPERM","EPIPE","ERANGE","EROFS","ESPIPE","ESRCH","EXDEV","EWOULDBLOCK","EINPROGRESS","EALREADY","ENOTSOCK","EDESTADDRREQ","EMSGSIZE","EPROTOTYPE","ENOPROTOOPT","EPROTONOSUPPORT","ESOCKTNOSUPPORT","EOPNOTSUPP","EPFNOSUPPORT","EAFNOSUPPORT","EADDRINUSE","EADDRNOTAVAIL","ENETDOWN","ENETUNREACH","ENETRESET","ECONNABORTED","ECONNRESET","ENOBUFS","EISCONN","ENOTCONN","ESHUTDOWN","ETOOMANYREFS","ETIMEDOUT","ECONNREFUSED","EHOSTDOWN","EHOSTUNREACH","ELOOP","EOVERFLOW"];function Js(x,r,e,t){var u=BV.indexOf(x);u<0&&(t==null&&(t=-9999),u=[0,t]);var i=[u,Mt(r||wx),Mt(e||wx)];return i}var CK={};function _o(x){return CK[x]}function Ys(x,r){throw q0([0,x].concat(r))}function ZC(x){return x instanceof Uint8Array||(x=new Uint8Array(x)),new Ms(4,x,x.length)}function RK(x){Mr(x+np)}function H2(x){this.data=x}H2.prototype=new NK,H2.prototype.constructor=H2,H2.prototype.truncate=function(x){var r=this.data;this.data=g1(x|0),Us(r,0,this.data,0,x)},H2.prototype.length=function(){return ft(this.data)},H2.prototype.write=function(x,r,e,t){var u=this.length();if(x+t>=u){var i=g1(x+t),f=this.data;this.data=i,Us(f,0,this.data,0,u)}return Us(ZC(r),e,this.data,x,t),0},H2.prototype.read=function(x,r,e,t){var u=this.length();if(x+t>=u&&(t=u-x),t){var i=g1(t|0);Us(this.data,x,i,0,t),r.set(IK(i),e)}return t};function Rv(x,r,e){this.file=r,this.name=x,this.flags=e}Rv.prototype.err_closed=function(){Mr(this.name+GM)},Rv.prototype.length=function(){if(this.file)return this.file.length();this.err_closed()},Rv.prototype.write=function(x,r,e,t){if(this.file)return this.file.write(x,r,e,t);this.err_closed()},Rv.prototype.read=function(x,r,e,t){if(this.file)return this.file.read(x,r,e,t);this.err_closed()},Rv.prototype.close=function(){this.file=void 0};function p2(x,r){this.content={},this.root=x,this.lookupFun=r}p2.prototype.nm=function(x){return this.root+x},p2.prototype.create_dir_if_needed=function(x){for(var r=x.split($2),e=wx,t=0;t0&&e>=0&&e+t<=r.length&&r[e+t-1]==10&&t--;var u=g1(t);return Us(ZC(r),e,u,0,t),this.log(u.toUtf16()),0}Mr(this.fd+GM)},gl.prototype.read=function(x,r,e,t){Mr(this.fd+": file descriptor is write only")},gl.prototype.close=function(){this.log=void 0};function Zy(x,r){return r==null&&(r=Wy.length),Wy[r]=x,r|0}function rP0(x,r,e){for(var t={};r;){switch(r[1]){case 0:t.rdonly=1;break;case 1:t.wronly=1;break;case 2:t.append=1;break;case 3:t.create=1;break;case 4:t.truncate=1;break;case 5:t.excl=1;break;case 6:t.binary=1;break;case 7:t.text=1;break;case 8:t.nonblock=1;break}r=r[2]}t.rdonly&&t.wronly&&Mr(x+rS),t.text&&t.binary&&Mr(x+vC);var u=XV(x),i=u.device.open(u.rest,t);return Zy(i,void 0)}(function(){function x(r,e){return El()?KV(r,e):new gl(r,e)}Zy(x(0,{rdonly:1,altname:"/dev/stdin",isCharacterDevice:!0}),0),Zy(x(1,{buffered:2,wronly:1,isCharacterDevice:!0}),1),Zy(x(2,{buffered:2,wronly:1,isCharacterDevice:!0}),2)})();function WV(x){var r=Wy[x];r.flags.wronly&&Mr(tz+x+" is writeonly");var e=null,t={file:r,offset:r.flags.append?r.length():0,fd:x,opened:!0,out:!1,buffer_curr:0,buffer_max:0,buffer:new Uint8Array(b3),refill:e};return Ks[t.fd]=t,t.fd}function LK(x){var r=Wy[x];r.flags.rdonly&&Mr(tz+x+" is readonly");var e=r.flags.buffered!==void 0?r.flags.buffered:1,t={file:r,offset:r.flags.append?r.length():0,fd:x,opened:!0,out:!0,buffer_curr:0,buffer:new Uint8Array(b3),buffered:e};return Ks[t.fd]=t,t.fd}function VV(){for(var x=0,r=0;ru.buffer.length){var f=new Uint8Array(u.buffer_curr+i.length);f.set(u.buffer),u.buffer=f}switch(u.buffered){case 0:u.buffer.set(i,u.buffer_curr),u.buffer_curr+=i.length,Zc(x);break;case 1:u.buffer.set(i,u.buffer_curr),u.buffer_curr+=i.length,u.buffer_curr>=u.buffer.length&&Zc(x);break;case 2:var o=i.lastIndexOf(10);o<0?(u.buffer.set(i,u.buffer_curr),u.buffer_curr+=i.length,u.buffer_curr>=u.buffer.length&&Zc(x)):(u.buffer.set(i.subarray(0,o+1),u.buffer_curr),u.buffer_curr+=o+1,Zc(x),u.buffer.set(i.subarray(o+1),u.buffer_curr),u.buffer_curr+=i.length-o-1);break}return 0}function $C(x,r,e,t){return ZV(x,Vc(r),e,t)}function UK(x,r){var e=String.fromCharCode(r);return $C(x,e,0,1),0}function Nl(x,r){return+(Dy(x,r,!1)!=0)}function FC(x,r){var e=new Array(r+1);e[0]=x;for(var t=1;t<=r;t++)e[t]=0;return e}function $V(x,r){return x[0]=Pv,x[1]=r,0}function Ov(x){return x instanceof Array&&x[0]==x[0]>>>0?x[0]:zC(x)||jC(x)?Ea:x instanceof Function||typeof x=="function"?J8:x&&x.caml_custom?B3:ul}function FV(x){for(var r;x;)if(nr(x[1][1])=="SYJS"){r=x[1][2];break}else x=x[2];var e={};if(r)for(var t=1;t=0?x=u:D2("caml_register_global: cannot locate "+t)}}M2[x+1]=r,e&&(M2[e]=r)}function QC(x,r){return CK[x]=r,0}function QV(x){return x[2]=EK++,x}function Nr(x,r){return x===r?1:0}function HV(){q1(fA)}function C1(x,r){return r>>>0>=Gx(x)&&HV(),ix(x,r)}function N(x,r){return 1-Nr(x,r)}function qV(){return 2147483647/4|0}var GV=l0.process&&l0.process.platform&&l0.process.platform==lD?kz:"Unix";function bV(){return[0,GV,32,0]}function xZ(){oK(M2.Not_found)}function MK(x){var r=cK(nr(x));return r===void 0&&xZ(),Mt(r)}function HC(x){for(var r=1;x&&x.joo_tramp;)x=x.joo_tramp.apply(null,x.joo_args),r++;return x}function y2(x,r){return{joo_tramp:x,joo_args:r}}function C0(x,r){if(typeof r=="function")return x.fun=r,0;if(r.fun)return x.fun=r.fun,0;for(var e=r.length;e--;)x[e]=r[e];return 0}function R1(x){{if(x instanceof Array)return x;var r;return l0.RangeError&&x instanceof l0.RangeError&&x.message&&x.message.match(/maximum call stack/i)||l0.InternalError&&x instanceof l0.InternalError&&x.message&&x.message.match(/too much recursion/i)?r=M2.Stack_overflow:x instanceof l0.Error&&_o(ME)?r=[0,_o(ME),x]:r=[0,M2.Failure,Mt(String(x))],x instanceof l0.Error&&(r.js_error=x),r}}function rZ(x){switch(x[2]){case-8:case-11:case-12:return 1;default:return 0}}function eZ(x){var r=wx;if(x[0]==0){if(r+=x[1][1],x.length==3&&x[2][0]==0&&rZ(x[1]))var t=x[2],e=1;else var e=2,t=x;r+=OU;for(var u=e;ue&&(r+=LM);var i=t[u];typeof i=="number"?r+=i.toString():i instanceof Ms||typeof i=="string"?r+=q8+i.toString()+q8:r+=ga}r+=YS}else x[0]==Qr&&(r+=x[1]);return r}function DK(x){if(x instanceof Array&&(x[0]==0||x[0]==Qr)){var r=_o(eM);if(r)Xy(r,[x,!1]);else{var e=eZ(x),t=_o($M);if(t&&Xy(t,[0]),console.error(eC+e+` -`),x.js_error)throw x.js_error}}else throw x}function tZ(){var x=l0.process;x&&x.on?x.on("uncaughtException",function(r,e){DK(r),x.exit(2)}):l0.addEventListener&&l0.addEventListener("error",function(r){r.error&&DK(r.error)})}tZ();function l(x,r){return(x.l>=0?x.l:x.l=x.length)==1?x(r):Ds(x,[r])}function p(x,r,e){return(x.l>=0?x.l:x.l=x.length)==2?x(r,e):Ds(x,[r,e])}function G0(x,r,e,t){return(x.l>=0?x.l:x.l=x.length)==3?x(r,e,t):Ds(x,[r,e,t])}function oe(x,r,e,t,u){return(x.l>=0?x.l:x.l=x.length)==4?x(r,e,t,u):Ds(x,[r,e,t,u])}function Je(x,r,e,t,u,i){return(x.l>=0?x.l:x.l=x.length)==5?x(r,e,t,u,i):Ds(x,[r,e,t,u,i])}function nZ(x,r,e,t,u,i,f,o){return(x.l>=0?x.l:x.l=x.length)==7?x(r,e,t,u,i,f,o):Ds(x,[r,e,t,u,i,f,o])}var qC=[Qr,jz,-1],jK=[Qr,az,-2],mn=[Qr,q_,-3],GC=[Qr,rz,-4],w2=[Qr,dD,-7],zK=[Qr,Ij,-8],KK=[Qr,aj,-9],Tr=[Qr,YU,-11],Il=[Qr,Dj,-12],uZ=[4,0,0,0,[12,45,[4,0,0,0,0]]],bC=[0,[11,'File "',[2,0,[11,'", line ',[4,0,0,0,[11,ij,[4,0,0,0,[12,45,[4,0,0,0,[11,": ",[2,0,0]]]]]]]]]],'File "%s", line %d, characters %d-%d: %s'],Ja=[0,0,[0,0,0],[0,0,0]],Pl=[0,0,0,0,1,0,0,0],JK=[0,"first_leading","last_trailing"],YK=[0,hf,gf,ni,l7,Af,Ii,yu,uc,O7,zi,Nf,un,Ku,sc,Le,E7,Q7,rf,Bf,T7,ci,Xc,hc,Gn,uf,j7,ku,ji,Qi,Jc,B7,Tu,yi,bi,_i,fi,Ff,Xi,nu,s7,Bc,K7,Wu,mc,vi,tf,Wf,Wn,ic,oc,Fi,Ce,Re,Mu,lf,dc,Mi,y7,Pf,ju,Gf,sf,ec,Tf,_c,Ai,ce,Ri,qn,ff,Hi,_u,e7,Iu,Li,xf,kc,cc,gu,Uu,ef,p7,$n,_f,v7,zf,z7,Q1,pi,Zu,Zn,J7,o7,Cf,df,V7,xu,Ci,Ru,wu,iu,Vu,xc,F7,jn,nc,d7,Yn,R7,Qu,Fu,If,Gu,af,zn,ki,jc,Yi,lu,mi,ou,Su,It,k7,t7,_7,R2,di,eu,Du,c7,of,cu,jf,A7,F2,Hu,Qn,Mf,Di,uu,Wc,G7,au,F1,Ui,Ju,Sc,tc,x7,yf,du,xi,Mc,ui,C7,n7,q7,Vn,Zf,Vf,$i,qf,L7,Ou,Bn,Ni,P7,Kn,tu,qi,xr,u7,ii,Cu,yc,$u,i7,Cc,Nc,zu,Ac,Y7,mf,g7,Pi,Of,Yf,ru,Wi,Dc,nf,Oc,r7,ti,kf,ei,bf,si,H7,Qf,bn,Yu,Sf,pn,Pc,Au,D7,vc,wc,S7,X7,Lu,f7,a7,Oi,Nu,fc,$f,b7,Df,zc,mu,Uf,ac,su,je,pc,fu,Pu,pu,Zi,I7,Me,lc,Xu,N7,Tc,Ji,Bi,m7,Gi,Ke,Eu,Z7,Rf,pf,gc,Si,wf,ze,Kc,cf,Ki,hu,rc,Xn,Fn,hi,Kf,li,Rc,h7,Lc,ai,Jn,M7,Ti,Xf,Jf,$7,w7,U7,oi,Bu,Ec,Hn,W7,qu,Yc,Ei,L2,Lf,vf,ri,U2],kn=[0,0,0];Dt(11,Il,Dj),Dt(10,Tr,YU),Dt(9,[Qr,TD,PM],TD),Dt(8,KK,aj),Dt(7,zK,Ij),Dt(6,w2,dD),Dt(5,[Qr,qM,-6],qM),Dt(4,[Qr,tM,-5],tM),Dt(3,GC,rz),Dt(2,mn,q_),Dt(1,jK,az),Dt(0,qC,jz);var iZ="output_substring",fZ=Hf,cZ=Ts,sZ=As,oZ="CamlinternalLazy.Undefined",vZ=mz,aZ="\\'",lZ="\\b",pZ="\\t",yZ="\\n",dZ="\\r",mZ="List.iter2",kZ="tl",hZ="hd",_Z="String.blit / Bytes.blit_string",wZ="Bytes.blit",TZ="String.sub / Bytes.sub",SZ="Array.blit",EZ="Array.sub",AZ="Map.remove_min_elt",gZ=[0,0,0,0],NZ=[0,"map.ml",400,10],IZ=[0,0,0],PZ=K4,CZ=K4,RZ=K4,OZ=K4,LZ="Stdlib.Queue.Empty",UZ="Buffer.add_substring/add_subbytes",MZ="Buffer.add: cannot grow buffer",DZ=[0,GU,93,2],jZ=[0,GU,94,2],zZ="Buffer.sub",KZ="%c",JZ="%s",YZ=DU,BZ=dz,XZ=vD,WZ=Uz,VZ="%f",ZZ="%B",$Z="%{",FZ="%}",QZ="%(",HZ="%)",qZ=CD,GZ="%t",bZ="%?",x$="%r",r$="%_r",e$=[0,i2,850,23],t$=[0,i2,814,21],n$=[0,i2,815,21],u$=[0,i2,818,21],i$=[0,i2,819,21],f$=[0,i2,822,19],c$=[0,i2,823,19],s$=[0,i2,826,22],o$=[0,i2,827,22],v$=[0,i2,831,30],a$=[0,i2,832,30],l$=[0,i2,836,26],p$=[0,i2,837,26],y$=[0,i2,846,28],d$=[0,i2,847,28],m$=[0,i2,851,23],k$=[0,i2,1558,4],h$="Printf: bad conversion %[",_$=[0,i2,1626,39],w$=[0,i2,1649,31],T$=[0,i2,1650,31],S$="Printf: bad conversion %_",E$=Oj,A$=aD,g$=Oj,N$=aD,I$=[0,[11,"invalid box description ",[3,0,0]],"invalid box description %S"],P$=[0,0,4],C$=jk,R$="neg_infinity",O$=_D,L$=Hf,U$=[0,tt],M$="%+nd",D$="% nd",j$="%+ni",z$="% ni",K$="%nx",J$="%#nx",Y$="%nX",B$="%#nX",X$="%no",W$="%#no",V$="%nd",Z$=vD,$$="%nu",F$="%+ld",Q$="% ld",H$="%+li",q$="% li",G$="%lx",b$="%#lx",xF="%lX",rF="%#lX",eF="%lo",tF="%#lo",nF="%ld",uF=dz,iF="%lu",fF="%+Ld",cF="% Ld",sF="%+Li",oF="% Li",vF="%Lx",aF="%#Lx",lF="%LX",pF="%#LX",yF="%Lo",dF="%#Lo",mF="%Ld",kF=Uz,hF="%Lu",_F="%+d",wF="% d",TF="%+i",SF="% i",EF="%x",AF="%#x",gF="%X",NF="%#X",IF="%o",PF="%#o",CF=hl,RF=DU,OF=qD,LF=oa,UF="@}",MF="@?",DF=`@ -`,jF="@.",zF="@@",KF="@%",JF=pD,YF="CamlinternalFormat.Type_mismatch",BF=wx,XF=[0,[11,LM,[2,0,[2,0,0]]],", %s%s"],WF=[0,[11,eC,[2,0,[12,10,0]]],lj],VF=[0,[11,"Fatal error in uncaught exception handler: exception ",[2,0,[12,10,0]]],`Fatal error in uncaught exception handler: exception %s -`],ZF="Fatal error: out of memory in uncaught exception handler",$F=[0,[11,eC,[2,0,[12,10,0]]],lj],FF=[0,[2,0,[12,10,0]],`%s -`],QF="Raised at",HF="Re-raised at",qF="Raised by primitive operation at",GF="Called from",bF=" (inlined)",xQ=wx,rQ=[0,[2,0,[12,32,[2,0,[11,' in file "',[2,0,[12,34,[2,0,[11,", line ",[4,0,0,0,[11,ij,uZ]]]]]]]]]],'%s %s in file "%s"%s, line %d, characters %d-%d'],eQ=[0,[2,0,[11," unknown location",0]],"%s unknown location"],tQ="Out of memory",nQ="Stack overflow",uQ="Pattern matching failed",iQ="Assertion failed",fQ="Undefined recursive module",cQ=[0,[12,40,[2,0,[2,0,[12,41,0]]]],"(%s%s)"],sQ=wx,oQ=wx,vQ=[0,[12,40,[2,0,[12,41,0]]],"(%s)"],aQ=[0,[4,0,0,0,0],hl],lQ=[0,[3,0,0],z3],pQ=ga,yQ=[0,wx,`(Cannot print locations: +(function(i){function e(){var f=i();return f.default||f}if(typeof exports=="object"&&typeof module=="object")module.exports=e();else if(typeof define=="function"&&define.amd)define(e);else{var t=typeof globalThis<"u"?globalThis:typeof global<"u"?global:typeof self<"u"?self:this||{};t.prettierPlugins=t.prettierPlugins||{},t.prettierPlugins.flow=e()}})(function(){"use strict";var qI0=Object.create;var l5=Object.defineProperty;var BI0=Object.getOwnPropertyDescriptor;var XI0=Object.getOwnPropertyNames;var JI0=Object.getPrototypeOf,KI0=Object.prototype.hasOwnProperty;var YI0=(a0,ox)=>()=>(ox||a0((ox={exports:{}}).exports,ox),ox.exports),FK=(a0,ox)=>{for(var $x in ox)l5(a0,$x,{get:ox[$x],enumerable:!0})},LK=(a0,ox,$x,dr)=>{if(ox&&typeof ox=="object"||typeof ox=="function")for(let nr of XI0(ox))!KI0.call(a0,nr)&&nr!==$x&&l5(a0,nr,{get:()=>ox[nr],enumerable:!(dr=BI0(ox,nr))||dr.enumerable});return a0};var zI0=(a0,ox,$x)=>($x=a0!=null?qI0(JI0(a0)):{},LK(ox||!a0||!a0.__esModule?l5($x,"default",{value:a0,enumerable:!0}):$x,a0)),VI0=a0=>LK(l5({},"__esModule",{value:!0}),a0);var MK=YI0(AD=>{(function(a0){typeof globalThis!="object"&&(this?ox():(a0.defineProperty(a0.prototype,"_T_",{configurable:!0,get:ox}),_T_));function ox(){var $x=this||self;$x.globalThis=$x,delete a0.prototype._T_}})(Object);(function(a0){"use strict";var ox="symbol",$x=126548,dr="renders",nr=71127,Er="member_property",Mr=65007,Qe=66517,dn="jsx_attribute_value_expression",k5=119980,yn="function_declaration",ht="<2>",m5=68466,DD="%=",h5="??",d5=70080,Mp="&",dt="identifier",Up=72163,y5=71723,g5="properties",_5=183969,b5=68223,gn="function_return_annotation",w5=124903,T5=70106,RD=241,FD="(",LD=213,E5=120074,S5=70708,A5=71679,_n="logical",e1="camlinternalFormat.ml",bn="type_guard_annotation",I5=92975,MD=">>>",j5="RestElement",P5=67897,UD=179,N5="start",O5=113775,qp=126521,qD="%i",M3="`",BD="#",C5=43702,Bp=126,D5=110947,wn="function_identifier",Xp=119893,R5=70366,F5=65547,L5=43743,M5=-43,ro=8238,ov="implies",XD=",",eo=8286,Tn="keyof_type",U5=66717,Jp=12336,JD=201,q5=71338,Kp=11565,B5=69289,X5=55291,J5=73030,K5=70479,Y5=69572,z5=11623,En="tuple_spread_element",Sn="component_type_rest_param",to=8239,V5=64310,vv="@]",G5=42993,Yp=11558,zp="Map.bal",U3="public",KD=-32,lv="Literal",An="jsx_member_expression_identifier",In="for_in_assignment_pattern",W5=71450,Vp=126557,Ze=103,$5=12292,H5=110579,Gp=120597,Q5=13311,Z5=12348,jn="export_default_declaration_decl",Pn="tuple_type",xy=113663,Wp=170,ry=67413,YD="Assert_failure",zD="comments",q3="%S",Ut=127343600,ey=12341,ty=67646,VD="ENOTEMPTY",ny=72160,uy=70187,GD=222,iy=12343,WD=2147483647,fy=126624,cy=43442,sy=70312,ay=281,Nn="interface_type",no="new",oy=66256,$p=68296,vy=124908,Hp=126579,Qp=70107,ly=249,py=71167,On="union_type",x2=248,ky=126546,Cn="enum_bigint_member",$D=133,my=67871,hy=66955,HD=1027,Dn="class_declaration",Rn="optional_call",QD="a string",Zp=11703,ZD="<<",x4=126564,Fn="jsx_element",Ln="object_property_type",dy=94207,Mn="enum_declaration",yy=68023,gy=67669,_y=8318,xR="prefix",uo="this",by=126578,Un="if_consequent_statement",rR=-696510241,wy=66963,io="default",r4=72967,yt=101,eR="buffer.ml",Ty=74649,qt=65535,Ey=43709,tR=175,ta="component",nR="===",B3=117,qn="jsx_identifier",uR="EnumDefaultedMember",e4=70006,Sy=70161,Ay=126633,Iy=66965,Bn="member_property_expression",jy=101589,Py=64274,pv="function",Ny=66303,Oy=42954,Cy=126529,Dy=72191,Xn="new_",Ry=64433,t4=126559,Fy=72144,iR="==",na=-744106340,Ly=43359,My=171,fR="Printexc.handle_uncaught_exception",Uy=66735,qy=126534,By=74879,Xy=42785,n4=120629,X3="0o",cR="End_of_file",Jy=66175,sR="&=",Ky="nan",u4=126503,Jn="pattern_number_literal",Yy=43470,Kn="import_namespace_specifier",zy=77711,i4=70302,Yn="component_param",f4="@])",c4=126515,kv=118,_e="continue",Vy=43798,Gy=";@ ",Wy=74751,$y="src/parser/statement_parser.ml",Hy="rmdir",Qy=94177,zn="for_in_statement",aR=12520,oR="TypeParameterInstantiation",H0="",vR="**=",Zy=120126,lR=197,x9=67829,s4="_bigarr02",Vn="export_named_declaration_specifier",a4=": No such file or directory",Gn="render_type",o4=64319,r9=69926,Wn="pattern_object_p",pR="TypeAnnotation",$n="array_type",kR=290,J3="@[%s =@ ",e9=72847,Hn="export_default_declaration",v4=126590,t9=42774,n9=": Not a directory",mv="let",fo=12288,ne="argument",mR=1552,G1="/",l4="an identifier",ss="typeof",p4=68116,u9=182,Qn="declare_export_declaration_decl",i9=67589,f9=66771,K3="class",hR="tokens",k4=70281,m4=255,c9=43638,co="key",s9=69955,dR=">>",Zn="function_expression_or_method",a9=43587,Bt="block",o9=100351,h4="mixed",v9=66503,l9="ENOTDIR",p9=65135,x7="string_literal",be="@ ",k9=43334,r7="if_alternate_statement",m9=70448,d4=8485,e7="type_args",h9=69864,t7="if_statement",yR="+=",n7="typeof_identifier",y4="with",g4=65595,d9=64286,y9=71086,as="true",g9=69423,u7="catch_clause",_9="e",hv="asserts",gR=">>=",_4=131,b9=43388,w9=43887,B2=-48,T9=120779,_R=190,E9=194,i7="pattern_bigint_literal",S9=71351,A9=65629,f7="call",I9=-42,b4=126553,j9=43695,bR=177,P9=42124,N9=12703,O9=12442,C9=11718,w4=70449,T4=126547,D9=67462,os="left",c7="infer_type",R9=11742,F9=65597,E4="Unix.Unix_error",L9=122623,M9=124911,U9=72959,wR="inexact",q9="opaque",s7="object_internal_slot_property_type",TR="Enum `",so=65279,B9=71983,X9=12329,j2=110,a7="spread_property",ER="importKind",Y3=" =",o7="remote_identifier",v7="labeled_statement",l7="jsx_fragment",J9=120770,p7="function_param",ue=112,K9="exportKind",k7="binary",vs="`.",Y9=42511,SR="<=",m7="jsx_spread_attribute",R1="import",h7="typeof_member_identifier",z9=69414,V9=19967,S4=11687,G9=93823,AR=67714067,IR=209,W9=71903,jR=291,$9="of",H9=72e3,A4="typeArguments",d7="type_identifier",y7="pattern_array_element_pattern",I4=69744,dv=192,g7="class_element",_7="export_source",b7="component_param_pattern",Q9=42508,Z9=125124,PR="Unexpected token `",w7="for_in_left_declaration",T7="object_call_property_type",xg="abstract",rg=8584,eg=68786,tg=71999,j4=123214,ng=123565,P4=186,E7="class_implements_interface",N4=126536,ug=69749,NR="Invalid legacy octal ",ig=71295,fg=66927,S7="pattern_expression",cg=11679,sg=-61,O4=65141,ag=11694,A7="update_expression",OR="minus",we="debugger",og=71352,vg=65470,yv="number",lg=123627,C4=64322,D4=43471,I7="for_of_assignment_pattern",R4=126589,pg=43784,CR="Internal Error: Found object private prop",kg=183983,Hr="id",mg=123190,F4="finally",L4=120070,hg=72095,j7="as_expression",P7="syntax",dg=110591,ls="false",DR=-10,M4="AssignmentPattern",N7="typeof_expression",yg=43764,RR="FunctionTypeParam",O7="function_body_any",gg=126627,_g=71998,bg=126543,C7="call_type_arg",wg=64316,U4=64285,Tg=8454,FR=137,LR="**",D7="object_type_property_setter",Eg=68607,R7=108,Sg="out",Ag=68799,ao=65278,F7="jsx_member_expression",Ig=92728,oo="null",jg=66431,Pg=72249,Xt=128,q4=119994,Ng=66207,Og=43583,B4="else",X4=94179,J4=11735,Cg=64911,L7="jsx_attribute_name_namespaced",MR="!",Dg=42539,Rg=72250,Fg=71215,Lg=69746,Mg=65487,M7="pattern_object_property_key",UR=", ",Ug=8505,qg="=",Bg=64111,Xg=8507,K4=120134,Y4="while",Jg=120596,Kg=43002,z3="protected",Yg=68479,zg=43395,Vg=68252,qR="v",Gg=70278,Wg="rendersType",$g=70853,z4=120145,Hg=69297,Qg=73112,V4=8488,Zg=68351,x_=42655,U7="for_of_left_declaration",r_=44031,e_="Failure",t_=92159,q7="object_key_identifier",BR=195,vo="bigint",B7="import_default_specifier",gv=256,X7="member",XR="!==",J7="component_identifier",n_=73008,u_=72283,G4=126500,W4=120127,K7="jsx_attribute_name",Y7="for_statement_init",i_=67711,z7="private_name",$4="case",H4=8489,V7="import_specifier",f_=64279,c_=94098,s_=119974,G7="pattern_string_literal",a_=72969,JR=193,KR="!=",Q4=126520,o_=71944,v_=259,l_=42191,W7="generic_qualified_identifier_type",lo="implements",p_=194559,YR="%",V3="hasUnknownMembers",k_=71039,m_=211,h_=83526,$7="init",H7="jsx_attribute_value",d_=70271,po=240,Q7="function_type_return_annotation",y_=70018,g_="rest",Z7="readonly_type",__=512,b_=68095,w_=120003,Z4=126563,xk=71236,T_=69375,E_=68850,S_=70105,A_=43866,zR="T_RENDERS_QUESTION",rk=888960333,I_=43013,xu="assignment_pattern",j_="specifiers",VR=710,Jt="as",P_=120570,N_=11507,GR=260,WR=204,ru="jsx_element_name_identifier",eu="pattern_object_property_string_literal_key",tu="class_expression",O_=44002,C_=82943,_v="src/parser/type_parser.ml",bv="test",D_=64217,ek="package",$R="collect_comments",HR="Pervasives.do_at_exit",R_=125183,F_=42606,nu="tuple_element",uu="enum_boolean_member",L_=65312,tk=119981,M_=65495,nk=120085,QR=-80,U_=138,uk=126555,q_=65276,y2=128,ZR="{ ",iu="for_statement",fu="ts_satisfies",cu="class_method",ik="if",su="generic_type",Dr=113,B_=43071,X_=72001,J_=71131,K_=70002,xF="renders*",Y_=42888,fk=8469,G3="instanceof",z_=11502,ck=94178,V_=64321,G_=64913,rF="Division_by_zero",W_=92879,$_=71945,eF=185,H_=66938,sk=65535,Q_=113800,tF=": file descriptor already closed",ak=223,nF="*=",Z_=68899,au="switch_case",ou="pattern_array_element",vu="enum_string_member",lu="pattern_object_property_bigint_literal_key",uF="visit_trailing_comment",ok="export",vk=120122,lk=43823,xb=43792,rb=42527,eb=70726,pu="enum_defaulted_member",tb=68497,pk=72349,ku="program",mu="member_type_identifier",nb="object",hu="for_of_statement_lhs",ub=113791,ib=67391,du="jsx_spread_child",kk=126554,mk=8526,hk=43880,dk=69415,fb=43822,yu="pattern_identifier",cb=93052,ko="readonly",Te="name",sb=68119,ab=71494,ob=120121,yk=8486,iF=2047,gu="enum_symbol_body",fF="PropertyDefinition",vb=177976,_u="declare_class",lb=65489,pb=72367,kb=70440,bu="import_named_specifier",cF="Popping lex mode from empty stack",mb=68111,hb=66463,sF="*-/",db=43187,gk=8487,yb=11567,gb=67861,_b=` +`,bb=66383,wu="declare_interface",wb=-24976191,aF=238,Tb=-24,oF="@ }@]",Eb=43645,Sb=176,Ab=119976,_k=69959,Ib=126519,jb=";",vF="trailingComments",bk=65548,Tu="number_literal",wv=449540197,Pb=43704,wk=126584,Nb=8467,lF="||",Tk=11695,Ob="exported",Cb=120712,ps="void",pF="mixins",Db=92783,Rb=215,Eu="body_expression",kF="%ni",W3=">",Su="as_const_expression",Au="jsx_child",Fb=8516,Iu="optional_indexed_access_type",ju="typeof_type",Pu="spread_element",Lb=42963,mF="@[",Nu="component_params",Mb=43042,Ek="",Ou="function_",Sk="for",Ak=65575,Kt="params",Ub=168,hF="win32",mo=8202,dF="@",Ik="^",yF=164,xt="optional",qb=65574,$3="boolean",gF=139,Bb=12548,jk=120539,_F="Not_found",Pk=246,Cu="expression_statement",Xb="EBADF",Jb=66815,Du="module_ref_literal",Kb=55203,Ru="function_param_type",Yb=73064,Nk=70279,zb=110580,bF=233,Vb="<",wF=262,TF="visit_leading_comment",Gb=66855,Wb=66966,$b=66499,Hb=111355,Qb=68680,Zb=206,EF="--",xw=65497,Ok=11711,Fu="function_param_pattern",ho="constructor",rw=5760,SF="infinity",Ck=43642,bj0="fs",ew=92991,Dk=126544,tw=101640,Rk=72162,nw=67583,Fk=8468,F1="typeParameters",AF="elements",uw=71423,IF="Sys_blocked_io",Lu="interface_declaration",Mu="variable_declaration",Uu="function_rest_param",qu="type",iw="Invalid number ",fw=" : flags Open_rdonly and Open_wronly are not compatible",cw=69404,Bu="jsx_element_name_member_expression",Lk="keyof",Mk="never",Xu="with_",Yt=32768,jF="|=",Uk=70404,qk=70441,sw=42969,H3="declare",aw=73061,Ju="object_type",Ku="object_property_value_type",ow=69687,PF="Invalid binary/octal ",NF=230,vw=64324,OF="range",CF="infer",lw=120744,Yu="array_element",pw=70730,kw=43641,DF=166,mw=70461,hw=69890,dw=69487,yw=74862,gw=68149,Bk=73065,RF="%a",_w=72348,FF=172,zu="jsx_expression",bw=65663,ww=126495,LF=245,Tw=124907,Vu="member_property_identifier",MF=226,Ew=43615,Gu="comment",Xk=119965,Wu="catch_clause_pattern",$u="object_type_property_getter",UF=136,Sw=43019,Aw=67455,Jk=126628,qF=331416730,BF="the start of a statement",Iw=122654,jw="shorthand",Pw=43595,Nw=11710,Hu="typeof_qualified_identifier",Ow=72750,XF="elementType",Y2="typeAnnotation",Cw=124895,JF=162,Kk=11559,Dw=67382,KF="??=",Rw=72329,Fw="target",Qu="component_type",YF=284,zF=180,Lw=189,VF=8206,Mw=43513,Uw=173823,qw=126467,Zu="type_guard",Bw=43700,Xw=12783,Yk=8305,xi="type_annotation",Ee="break",zk=42999,Jw="namespace",Kw=65019,GF=160,Yw=70460,ri="expression_or_spread",zw=")",ei="class_private_field",Vw=55215,Gw=65338,Ww=40981,Q3="members",ti="import_declaration",$w=69634,Vk=94031,Hw="ENOENT",Qw=8457,WF="satisfies",ni="generic_identifier_type",ui="function_this_param",Zw=66993,ii="type_",xT=67423,rT=11557,eT=12799,Gk=239,tT=93026,nT=66377,uT=123180,$F=221,HF=-594953737,iT=67967,fT=43586,gt=105,QF="src/parser/flow_lexer.ml",cT=66559,fi="class_property_value",ZF=150,sT=67637,xL="closedir",aT=43010,oT=8521,Wk=69956,vT=42959,rL=212,lT=92735,$k="}",Z3="method",pT=11498,xl=247,ie="empty",ci=16777215,kT=161,mT=42887,ua=116,si="type_identifier_reference",Hk=126634,hT=68029,eL="regexp",dT=70414,rl=121,ai="template_literal_element",yT=8449,gT=126562,yo=12287,_T=-45,Qk=64297,Zk=126523,bT=43301,zt=111,wT=126498,TT=43776,tL="EEXIST",ET=119892,ST=43807,nL=4096,go=252,ks=255,AT=68295,oi="variable_declarator_pattern",vi="do_while",x8="catch",IT=66962,jT=120654,ms=125,li="label_identifier",PT=11263,NT=8525,pi="assignment",OT=191456,CT=43273,uL="%u",DT=65381,RT=110927,FT=65479,LT=120538,_o="await",MT=71487,UT="jsError",qT=110588,BT=120084,XT=42890,Tv=224,ki="object_key",JT=43696,KT=73647,YT=43761,zT=12295,VT=64967,r8=11647,iL=191,Vt=123,GT="generator",WT=123583,mi="for_of_statement",hi="enum_bigint_body",$T=110959,HT=92995,QT=120686,ZT="b",xE=119969,e8=126522,t8=64318,rE=71839,n8=126602,eE=65908,el=65536,fL=231,cL=-602162310,sL="comment_bounds",rt="-",aL=-55,di="pattern_object_property",tE=43493,nE=69505,uE=8471,iE=187,u8=120745,yi="enum_member_identifier",fE=71959,cE=66863,sE=65594,i8=253,f8='"',c8=70286,gi="jsx_attribute_value_literal",aE=68447,oL="the",oE="index out of bounds",_i="declare_export_declaration",bi="jsx_attribute",wi="class_extends",r2=122,z2=106,Ti="binding_pattern",vE=113807,lE=93951,Ev=119,pE="types",kE=8335,Ei="statement_fork_point",Sv="_",mE=65500,Si="function_type",hE=68220,Ai="statement_list",Av=-835925911,dE=123535,vL=258,s8=43815,lL=199,a8=120571,yE=67514,pL=274,kL="Property",o8=72713,mL="Unexpected ",v8=169,hL=", characters ",l8=43867,gE=42537,Ii="component_declaration",dL=" : is a directory",ji="object_key_number_literal",Yr=127,t1=-36,tl=912068366,nl="delete",ia=114,_E=120076,Pi="regexp_literal",bE=65370,wE=65481,l2="value",TE=68405,Iv="operator",ul="const",yL=283,Ni=109,p8="any",EE=69958,SE=70831,AE=73111,IE=72767,jE="Identifier",Oi="jsx_opening_attribute",Ci="conditional_type",PE="loc",NE=67071,k8=120004,OE=43492,CE=70005,gL=188,m8=72272,DE=11389,_L=251,RE=73055,h8=70280,d8=1114111,FE=66421,bL="Stack_overflow",LE=70301,ME=19903,fa="0x",UE=69967,qE=12447,y8=66512,wL=`Fatal error: exception %s +`,il=1e3,BE=69295,g8=120093,TL=">=",EL=149,_8=64325,Di="class_identifier",XE=119967,JE=68415,SL="end",Ri="enum_boolean_body",Fi="member_private_name",Li="super_expression",KE=71955,YE=126514,b8=67593,zE=66939,VE=12591,w8=126538,GE=110590,Mi="component_renders_annotation",WE=72703,$E=72105,T8=65598,HE=73727,E8=126504,S8=126551,QE=70143,fl="from",Ui="class_property",qi="enum_number_body",ZE=42559,xS=93759,rS=66994,Gt="right",AL=225,eS=67702,tS=65473,nS=43697,A8=70855,uS=119993,iS=72103,fS=178205,Bi="call_type_args",cS=66511,Xi="export_batch_specifier",Ji="component_type_param",Wt=782176664,bo="get",cl="local",IL=228,Ki="object_mapped_type_property",Yi="class_decorator",jL=220,zi="enum_body",PL="<<=",Vi="declare_namespace",sS=71956,aS=69839,jv="super",oS=173791,vS=71942,V2="expression",lS=72440,Pv=254,pS=70412,NL="renders?",Gi="try_catch",OL=32752,Wi="declare_module_exports",kS=12320,CL=134,mS=94175,sl="enum",DL=196,$i="import_source",hS=43814,dS=120069,Hi="while_",I8=126537,yS=43262,Qi="function_rest_param_type",gS=66378,j8=119996,Zi="declare_component",_S=73097,bS=70783,wS=43503,TS=131071,ES=11492,SS=92766,RL=173,AS=113770,IS=73029,jS=66978,xf="tagged_template",rf="jsx_element_name",ef="for_init_declaration",PS=123213,tf="object_indexer_property_type",nf="object_spread_property_type",P8=72970,N8=70854,NS=110930,al="var",FL=217,OS=119972,CS=69622,DS=63743,RS=42237,FS=870530776,O8="returnType",LL=56320,Nv="computed",LS=42735,uf="arg_list",MS=67461,ff="export_named_declaration",US=72817,qS=73439,BS=43782,XS=66775,JS=70655,C8="bool",KS=65140,YS=75075,zS=126651,VS=71947,GS=42961,WS=12735,$S=78894,HS=64262,ML=237,W1="interface",UL="Match_failure",QS=42962,ZS=69748,qL="leadingComments",cf="this_expression",ol=461894857,D8=12592,BL=8204,wo="hook",xA=119807,rA=66348,sf="declare_variable",eA=8348,af="optional_member",of=120,vf="arrow_function",tA=72768,nA=70851,lf="array",uA=43249,R8=126468,iA=177983,fA="compare: functional value",cA=126550,sA=64847,pf="binding_type_identifier",aA=120132,kf="function_params",oA=93071,vl=1024,vA=42783,XL=1039100673,JL="@{",lA=12352,pA=42653,kA=120628,mf="declare_function",hf="for_in_statement_lhs",mA=72271,hA=69807,dA=67826,df="syntax_opt",yf="object_key_bigint_literal",KL=243,yA=94032,YL="Undefined_recursive_module",zL=-1053382366,gA=72242,gf="variance_opt",_A=101631,bA="arguments",wA=72161,TA=8511,F8="unknown",EA=43560,VL="the end of an expression statement (`;`)",GL=1026,SA=12543,AA=11670,WL="?",IA=69247,L8=11631,$L=272,M8="line",jA=72202,_f="pattern_object_rest_property",bf=" ",PA=43487,Ov=115,NA=-673950933,wf="intersection_type",OA=120144,ll="is",CA=178207,DA=100343,HL="||=",QL="f",U8=8455,S1=102,Tf="pattern_object_property_number_literal_key",RA=70418,FA=8543,ZL="Internal Error: Found private field in object props",q8=126540,B8=119995,To=8287,Ef="indexed_access_type",Sf="export_named_specifier",xM=224,LA=124926,MA=-103,rM=167,X8=65344,J8=126530,UA=113788,qA=67505,BA="property",XA=43014,Se="return",hs=-85,JA=126601,eM=214,tM="children",Af="type_alias",K8=43259,KA=126583,YA=71958,zA=65613,VA=67431,Y8=126535,GA=69599,If="type_params",jf="object_key_computed",WA=124910,L1="variance",z8=11727,$A=66954,HA=126463,Pf="catch_body",QA=69445,Nf="type_param",Of="component_type_params",ZA=124902,V8=120687,nM="collect_comments_opt",xI=15,rI=120485,eI=70416,tI=125259,Cf="jsx_namespaced_name",nI=43712,uI=72712,uM="~",G8=12448,Df="jsx_member_expression_object",W8=126499,$8=-97,Rf="pattern_object_property_identifier_key",iM=219,Ff="component_body",Lf="opaque_type",Mf=".",iI=43009,fI="consequent",fM="SpreadElement",P2="body",cI=178,cM=202,Uf="jsx_opening_element",qf="declare_module",H8=67638,sI=8477,Bf="object_type_property",aI=110882,Xf="function_body",oI=94111,sM="module",aM="alternate",vI=67839,Eo=8191,lI=43881,oM=": closedir failed",ca="kind",Jf="tuple_labeled_element",So=-46,pI=67640,Kf="declare_type_alias",Q8=70750,kI=77808,pl="column",Yf="jsx_closing_element",mI=66977,hI="\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0",dI=65786,zf="function_expression",_t=104,Z8=11719,yI=11505,gI="mkdir",_I=70319,vM="Invalid_argument",bI=43738,wI=113817,Vf="bigint_literal",TI=70084,lM=278,EI=126566,xm="do",rm=42622,Gf="computed_key",Wf="pattern_object_property_computed_key",pM="fd ",em=126571,SI=126619,kM=140,sa="prototype",mM=208,AI=67004,kl=130,hM=242,dM=">>>=",II=68863,jI=11726,bt="raw",PI=64466,$f=107,NI=67679,Hf="enum_string_body",OI=244,yM="unreachable jsxtext",gM="*",CI=66335,DI=126570,_M=229,RI=" : file already exists",tm=184,FI=67807,LI=70753,Qf="boolean_literal",MI=65437,UI=70451,qI=67002,Cv=124,Zf="conditional",nm=43260,bM="Sys_error",BI=123135,ml="meta",XI=64109,xc="pattern_array_rest_element",JI=43255,um=67644,rc="pattern_object_rest_property_pattern",ec="sequence",KI=65855,YI=110951,zI=67643,tc="predicate_expression",Ae="static",VI=120512,GI="declaration",im=64317,WI=68437,fm=126558,nc="meta_property",$I=11564,uc="declare_enum",$t="pattern",HI=216,QI=68191,cm="undefined",sm=8319,am=120133,hl=132,ZI=42239,wM=-99,xj=124927,rj=120092,ej=43137,ic="component_rest_param",TM="expected *",tj=125251,EM="%li",nj=55242,uj=12294,fc="enum_number_member",aa="in",SM="\\\\",Ao=":",ij=68115,AM="Cygwin",fj=77823,cj=65615,om=70162,IM="/static/",sj=11519,aj=72966,oj=12686,vj=165,lj=183,dl=129,vm=72192,pj=42964,lm="try",pm=120655,kj=11702,jM="expressions",mj=2048,cc="class_body",hj=55238,PM=240,dj=66915,yj=43311,gj=43018,NM=235,_j=73648,OM="([^/]+)",bj=125258,wj=64829,Tj=68735,CM="++",DM=163,RM="qualification",FM=57343,LM=931,sc="default_opt",Ej=71235,MM=8472,Sj=71934,UM=205,qM=218,BM="callee",Aj=43711,Ij=64284,jj=43754,Pj=43790,XM="%Li",ac="pattern_array_rest_element_pattern",km="decorators",Nj=8304,oc="statement",mm=73062,vc="jsx_children",Oj=70492,Cj=64255,Dj=11630,Rj=1255,hm=67592,dm=43519,ym=64311,gm=12539,Fj="proto",_m=120513,Lj=68031,Io="source",yl="a",Mj=93047,Uj=92927,qj=126588,Bj=73458,Xj=67742,Jj=43714,JM=288,KM=236,Kj=-253313196,gl="label",YM="@[<2>{ ",bm=126539,wm=126552,Yj=120487,zM=268,VM="Out_of_memory",zj=605857695,Vj=94026,GM=267,Tm=126496,oa="async",WM=203,Em=126560,Gj=68287,lc="unary_expression",Wj=-26065557,$j=110587,Sm=120771,Hj=69762,Qj=126502,Dv="set",pc="object_",kc="template_literal",Zj=43258,mc="nullable_type",ds="int_of_string",$M="^=",Ie="predicate",Rv="string",Am=8450,HM="camlinternalMod.ml",xP=70285,ys="+",rP=110575,QM=198,hc="extends",ZM=-692038429,Im=67827,xU=210,rU=227,jm="explicitType",Pm=70452,eP=70497,Fv=63,_l="private",tP=64296,nP=67591,uP=92909,eU="T_JSX_TEXT",iP="Fatal error: exception ",fP=120137,Nm=68120,dc="pattern_array_e",cP=119964,sP=92862,aP=66461,tU="&&=",nU=174,n1=8231,yc="null_literal",uU="/=",oP=66811,Om=70108,vP=67504,lP=11686,pP=67001,kP=" : flags Open_text and Open_binary are not compatible",mP=43741,hP=66204,G2=8233,gc="type_annotation_hint",dP=123197,_c="object_property",iU="${",Cm=70480,fU="&&",bc="type_cast",Lv="%d",Dm=8484,cU=207,yP=70066,gP=68324,Rm=120713,sU=135,Fm=126556,$1="0",M1="yield",Lm=126591,et=100,_P=69551,wc="jsx_element_name_namespaced",aU=232,Tc="object_key_string_literal",Ec="function_this_param_type",Sc="pattern_object_property_pattern",je="throw",Pe="switch",oU=2048,Mm=119970,Ac="toplevel_statement_list",Mv=250,bP=12438,Ic="class_implements",jc="variable_declarator",wP=43713,Um=68096,TP=70457,EP=12538,SP=11734,vU="-=",lU=234,Pc="component_param_name",AP=43123,Nc="class_",pU="|",IP=200,jP=43518,PP=8483,Oc="jsx_attribute_name_identifier",NP=181;function tY(x,r,e,t,u){if(t<=r)for(var i=1;i<=u;i++)e[t+i]=x[r+i];else for(var i=u;i>=1;i--)e[t+i]=x[r+i];return 0}function nY(x){for(var r=[0];x!==0;){for(var e=x[1],t=1;t=e.l||e.t==2&&u>=e.c.length))e.c=x.t==4?qm(x.c,r,u):r==0&&x.c.length==u?x.c:x.c.substr(r,u),e.t=e.c.length==e.l?0:2;else if(e.t==2&&t==e.c.length)e.c+=x.t==4?qm(x.c,r,u):r==0&&x.c.length==u?x.c:x.c.substr(r,u),e.t=e.c.length==e.l?0:2;else{e.t!=4&&Bm(e);var i=x.c,c=e.c;if(x.t==4)if(t<=r)for(var v=0;v=0;v--)c[t+v]=i[r+v];else{for(var a=Math.min(u,i.length-r),v=0;v>=1,x==0)return e;r+=r,t++,t==9&&r.slice(0,1)}}function Xm(x){x.t==2?x.c+=Uv(x.l-x.c.length,"\0"):x.c=qm(x.c,0,x.c.length),x.t=0}function OP(x){if(x.length<24){for(var r=0;rYr)return!1;return!0}else return!/[^\x00-\x7f]/.test(x)}function kU(x){for(var r=H0,e=H0,t,u,i,c,v=0,a=x.length;v__?(e.substr(0,1),r+=e,e=H0,r+=x.slice(v,p)):e+=x.slice(v,p),p==a)break;v=p}c=1,++v=55295&&c<57344)&&(c=2)):(c=3,++v1114111)&&(c=3)))))),c<4?(v-=c,e+="\uFFFD"):c>qt?e+=String.fromCharCode(55232+(c>>10),LL+(c&1023)):e+=String.fromCharCode(c),e.length>vl&&(e.substr(0,1),r+=e,e=H0)}return r+e}function _s(x,r,e){this.t=x,this.c=r,this.l=e}_s.prototype.toString=function(){switch(this.t){case 9:return this.c;default:Xm(this);case 0:if(OP(this.c))return this.t=9,this.c;this.t=8;case 8:return this.c}},_s.prototype.toUtf16=function(){var x=this.toString();return this.t==9?x:kU(x)},_s.prototype.slice=function(){var x=this.t==4?this.c.slice():this.c;return new _s(this.t,x,this.l)};function mU(x){return new _s(0,x,x.length)}function wj0(x){return x}function Cc(x){return mU(x)}function Dc(x,r,e,t,u){return gs(Cc(x),r,e,t,u),0}function hU(x){var r=a0.process;if(r&&r.env&&r.env[x]!=null)return r.env[x];if(a0.jsoo_static_env&&a0.jsoo_static_env[x])return a0.jsoo_static_env[x]}var CP=0;(function(){var x=hU("OCAMLRUNPARAM");if(x!==void 0)for(var r=x.split(XD),e=0;e>>0>=x.l&&cY(),Vr(x,r,e)}function fe(x,r){switch(x.t&6){default:if(r>=x.c.length)return 0;case 0:return x.c.charCodeAt(r);case 4:return x.c[r]}}function bs(x,r){var e=x.l>=0?x.l:x.l=x.length,t=r.length,u=e-t;if(u==0)return x.apply(null,r);if(u<0){var i=x.apply(null,r.slice(0,e));return typeof i!="function"?i:bs(i,r.slice(e))}else{switch(u){case 1:{var i=function(a){for(var p=new Array(t+1),_=0;_>>0>=x.length-1&&bl(),x}function sY(x){return isFinite(x)?Math.abs(x)>=22250738585072014e-324?0:x!=0?1:2:isNaN(x)?4:3}function aY(x){return 0}var oY=Math.log2&&Math.log2(11235582092889474e291)==1020;function vY(x){if(oY)return Math.floor(Math.log2(x));var r=0;if(x==0)return-1/0;if(x>=1)for(;x>=2;)x/=2,r++;else for(;x<1;)x*=2,r--;return r}function RP(x){var r=new Float32Array(1);r[0]=x;var e=new Int32Array(r.buffer);return e[0]|0}var dU=Math.pow(2,-24);function yU(x){throw x}function gU(){yU(U1.Division_by_zero)}function ir(x,r,e){this.lo=x&ci,this.mi=r&ci,this.hi=e&qt}ir.prototype.caml_custom="_j",ir.prototype.copy=function(){return new ir(this.lo,this.mi,this.hi)},ir.prototype.ucompare=function(x){return this.hi>x.hi?1:this.hix.mi?1:this.mix.lo?1:this.loe?1:rx.mi?1:this.mix.lo?1:this.lo>24),e=-this.hi+(r>>24);return new ir(x,r,e)},ir.prototype.add=function(x){var r=this.lo+x.lo,e=this.mi+x.mi+(r>>24),t=this.hi+x.hi+(e>>24);return new ir(r,e,t)},ir.prototype.sub=function(x){var r=this.lo-x.lo,e=this.mi-x.mi+(r>>24),t=this.hi-x.hi+(e>>24);return new ir(r,e,t)},ir.prototype.mul=function(x){var r=this.lo*x.lo,e=(r*dU|0)+this.mi*x.lo+this.lo*x.mi,t=(e*dU|0)+this.hi*x.lo+this.mi*x.mi+this.lo*x.hi;return new ir(r,e,t)},ir.prototype.isZero=function(){return(this.lo|this.mi|this.hi)==0},ir.prototype.isNeg=function(){return this.hi<<16<0},ir.prototype.and=function(x){return new ir(this.lo&x.lo,this.mi&x.mi,this.hi&x.hi)},ir.prototype.or=function(x){return new ir(this.lo|x.lo,this.mi|x.mi,this.hi|x.hi)},ir.prototype.xor=function(x){return new ir(this.lo^x.lo,this.mi^x.mi,this.hi^x.hi)},ir.prototype.shift_left=function(x){return x=x&63,x==0?this:x<24?new ir(this.lo<>24-x,this.hi<>24-x):x<48?new ir(0,this.lo<>48-x):new ir(0,0,this.lo<>x|this.mi<<24-x,this.mi>>x|this.hi<<24-x,this.hi>>x):x<48?new ir(this.mi>>x-24|this.hi<<48-x,this.hi>>x-24,0):new ir(this.hi>>x-48,0,0)},ir.prototype.shift_right=function(x){if(x=x&63,x==0)return this;var r=this.hi<<16>>16;if(x<24)return new ir(this.lo>>x|this.mi<<24-x,this.mi>>x|r<<24-x,this.hi<<16>>x>>>16);var e=this.hi<<16>>31;return x<48?new ir(this.mi>>x-24|this.hi<<48-x,this.hi<<16>>x-24>>16,e&qt):new ir(this.hi<<16>>x-32,e,e)},ir.prototype.lsl1=function(){this.hi=this.hi<<1|this.mi>>23,this.mi=(this.mi<<1|this.lo>>23)&ci,this.lo=this.lo<<1&ci},ir.prototype.lsr1=function(){this.lo=(this.lo>>>1|this.mi<<23)&ci,this.mi=(this.mi>>>1|this.hi<<23)&ci,this.hi=this.hi>>>1},ir.prototype.udivmod=function(x){for(var r=0,e=this.copy(),t=x.copy(),u=new ir(0,0,0);e.ucompare(t)>0;)r++,t.lsl1();for(;r>=0;)r--,u.lsl1(),e.ucompare(t)>=0&&(u.lo++,e=e.sub(t)),t.lsr1();return{quotient:u,modulus:e}},ir.prototype.div=function(x){var r=this;x.isZero()&&gU();var e=r.hi^x.hi;r.hi&Yt&&(r=r.neg()),x.hi&Yt&&(x=x.neg());var t=r.udivmod(x).quotient;return e&Yt&&(t=t.neg()),t},ir.prototype.mod=function(x){var r=this;x.isZero()&&gU();var e=r.hi;r.hi&Yt&&(r=r.neg()),x.hi&Yt&&(x=x.neg());var t=r.udivmod(x).modulus;return e&Yt&&(t=t.neg()),t},ir.prototype.toInt=function(){return this.lo|this.mi<<24},ir.prototype.toFloat=function(){return(this.hi<<16)*Math.pow(2,32)+this.mi*Math.pow(2,24)+this.lo},ir.prototype.toArray=function(){return[this.hi>>8,this.hi&ks,this.mi>>16,this.mi>>8&ks,this.mi&ks,this.lo>>16,this.lo>>8&ks,this.lo&ks]},ir.prototype.lo32=function(){return this.lo|(this.mi&ks)<<24},ir.prototype.hi32=function(){return this.mi>>>8&qt|this.hi<<16};function Jm(x,r,e){return new ir(x,r,e)}function Km(x){if(!isFinite(x))return isNaN(x)?Jm(1,0,OL):x>0?Jm(0,0,OL):Jm(0,0,65520);var r=x==0&&1/x==-1/0?Yt:x>=0?0:Yt;r&&(x=-x);var e=vY(x)+1023;e<=0?(e=0,x/=Math.pow(2,-GL)):(x/=Math.pow(2,e-HD),x<16&&(x*=2,e-=1),e==0&&(x/=2));var t=Math.pow(2,24),u=x|0;x=(x-u)*t;var i=x|0;x=(x-i)*t;var c=x|0;return u=u&xI|r|e<<4,Jm(c,i,u)}function wl(x){return x.toArray()}function _U(x,r,e){if(x.write(32,r.dims.length),x.write(32,r.kind|r.layout<<8),r.caml_custom==s4)for(var t=0;t>4;if(u==iF)return r|e|t&xI?NaN:t&Yt?-1/0:1/0;var i=Math.pow(2,-24),c=(r*i+e)*i+(t&xI);return u>0?(c+=16,c*=Math.pow(2,u-HD)):c*=Math.pow(2,-GL),t&Yt&&(c=-c),c}function MP(x){for(var r=x.length,e=1,t=0;t>>24&ks|(r&qt)<<8,r>>>16&qt)}function UP(x){return x.hi32()}function qP(x){return x.lo32()}var kY=s4;function va(x,r,e,t){this.kind=x,this.layout=r,this.dims=e,this.data=t}va.prototype.caml_custom=kY,va.prototype.offset=function(x){var r=0;if(typeof x=="number"&&(x=[x]),x instanceof Array||W2("bigarray.js: invalid offset"),this.dims.length!=x.length&&W2("Bigarray.get/set: bad number of dimensions"),this.layout==0)for(var e=0;e=this.dims[e])&&bl(),r=r*this.dims[e]+x[e];else for(var e=this.dims.length-1;e>=0;e--)(x[e]<1||x[e]>this.dims[e])&&bl(),r=r*this.dims[e]+(x[e]-1);return r},va.prototype.get=function(x){switch(this.kind){case 7:var r=this.data[x*2+0],e=this.data[x*2+1];return pY(r,e);case 10:case 11:var t=this.data[x*2+0],u=this.data[x*2+1];return[Pv,t,u];default:return this.data[x]}},va.prototype.set=function(x,r){switch(this.kind){case 7:this.data[x*2+0]=qP(r),this.data[x*2+1]=UP(r);break;case 10:case 11:this.data[x*2+0]=r[1],this.data[x*2+1]=r[2];break;default:this.data[x]=r;break}return 0},va.prototype.fill=function(x){switch(this.kind){case 7:var r=qP(x),e=UP(x);if(r==e)this.data.fill(r);else for(var t=0;tc)return 1;if(i!=c){if(!r)return NaN;if(i==i)return 1;if(c==c)return-1}}break;case 7:for(var u=0;ux.data[u+1])return 1;if(this.data[u]>>>0>>0)return-1;if(this.data[u]>>>0>x.data[u]>>>0)return 1}break;case 2:case 3:case 4:case 5:case 6:case 8:case 9:case 12:for(var u=0;ux.data[u])return 1}break}return 0};function Bv(x,r,e,t){this.kind=x,this.layout=r,this.dims=e,this.data=t}Bv.prototype=new va,Bv.prototype.offset=function(x){return typeof x!="number"&&(x instanceof Array&&x.length==1?x=x[0]:W2("Ml_Bigarray_c_1_1.offset")),(x<0||x>=this.dims[0])&&bl(),x},Bv.prototype.get=function(x){return this.data[x]},Bv.prototype.set=function(x,r){return this.data[x]=r,0},Bv.prototype.fill=function(x){return this.data.fill(x),0};function wU(x,r,e,t){var u=bU(x);return MP(e)*u!=t.length&&W2("length doesn't match dims"),r==0&&e.length==1&&u==1?new Bv(x,r,e,t):new va(x,r,e,t)}function q1(x){U1.Failure||(U1.Failure=[x2,e_,-3]),DP(U1.Failure,x)}function TU(x,r,e){var t=x.read32s();(t<0||t>16)&&q1("input_value: wrong number of bigarray dimensions");var u=x.read32s(),i=u&ks,c=u>>8&1,v=[];if(e==s4)for(var a=0;a>>17,r=SU(r,461845907),x^=r,x=x<<13|x>>>19,(x+(x<<2)|0)+-430675100|0}function mY(x,r){return x=ws(x,qP(r)),x=ws(x,UP(r)),x}function AU(x,r){return mY(x,Km(r))}function IU(x){var r=MP(x.dims),e=0;switch(x.kind){case 2:case 3:case 12:r>gv&&(r=gv);var t=0,u=0;for(u=0;u+4<=x.data.length;u+=4)t=x.data[u+0]|x.data[u+1]<<8|x.data[u+2]<<16|x.data[u+3]<<24,e=ws(e,t);switch(t=0,r&3){case 3:t=x.data[u+2]<<16;case 2:t|=x.data[u+1]<<8;case 1:t|=x.data[u+0],e=ws(e,t)}break;case 4:case 5:r>y2&&(r=y2);var t=0,u=0;for(u=0;u+2<=x.data.length;u+=2)t=x.data[u+0]|x.data[u+1]<<16,e=ws(e,t);r&1&&(e=ws(e,x.data[u]));break;case 6:r>64&&(r=64);for(var u=0;u64&&(r=64);for(var u=0;u32&&(r=32),r*=2;for(var u=0;u64&&(r=64);for(var u=0;u32&&(r=32);for(var u=0;u0?u(r,x,t):u(x,r,t);if(t&&i!=i)return e;if(+i!=+i)return+i;if(i|0)return i|0}return e}function XP(x){return typeof x=="string"&&!/[^\x00-\xff]/.test(x)}function JP(x){return x instanceof _s}function NU(x){if(typeof x=="number")return il;if(JP(x))return go;if(XP(x))return 1252;if(x instanceof Array&&x[0]===x[0]>>>0&&x[0]<=m4){var r=x[0]|0;return r==Pv?0:r}else{if(x instanceof String)return aR;if(typeof x=="string")return aR;if(x instanceof Number)return il;if(x&&x.caml_custom)return Rj;if(x&&x.compare)return 1256;if(typeof x=="function")return 1247;if(typeof x=="symbol")return 1251}return 1001}function wt(x,r){return xr?1:0}function wY(x,r){return x.t&6&&Xm(x),r.t&6&&Xm(r),x.cr.c?1:0}function Ym(x,r,e){for(var t=[];;){if(!(e&&x===r)){var u=NU(x);if(u==Mv){x=x[1];continue}var i=NU(r);if(i==Mv){r=r[1];continue}if(u!==i)return u==il?i==Rj?PU(x,r,-1,e):-1:i==il?u==Rj?PU(r,x,1,e):1:ur)return 1;if(x!=r){if(!e)return NaN;if(x==x)return 1;if(r==r)return-1}break;case 1001:if(xr)return 1;if(x!=r){if(!e)return NaN;if(x==x)return 1;if(r==r)return-1}break;case 1251:if(x!==r)return e?1:NaN;break;case 1252:var x=x,r=r;if(x!==r){if(xr)return 1}break;case 12520:var x=x.toString(),r=r.toString();if(x!==r){if(xr)return 1}break;case 246:case 254:default:if(aY(u)){W2("compare: continuation value");break}if(x.length!=r.length)return x.length1&&t.push(x,r,1);break}}if(t.length==0)return 0;var a=t.pop();r=t.pop(),x=t.pop(),a+10)if(r==0&&(e>=x.l||x.t==2&&e>=x.c.length))t==0?(x.c=H0,x.t=2):(x.c=Uv(e,String.fromCharCode(t)),x.t=e==x.l?0:2);else for(x.t!=4&&Bm(x),e+=r;r0&&r===r||(x=x.replace(/_/g,H0),r=+x,x.length>0&&r===r||/^[+-]?nan$/i.test(x)))return r;var e=/^ *([+-]?)0x([0-9a-f]+)\.?([0-9a-f]*)(p([+-]?[0-9]+))?/i.exec(x);if(e){var t=e[3].replace(/0+$/,H0),u=parseInt(e[1]+e[2]+t,16),i=(e[5]|0)-4*t.length;return r=u*Math.pow(2,i),r}if(/^\+?inf(inity)?$/i.test(x))return 1/0;if(/^-inf(inity)?$/i.test(x))return-1/0;q1("float_of_string")}function YP(x){x=x;var r=x.length;r>31&&W2("format_int: format too long");for(var e={justify:ys,signstyle:rt,filler:bf,alternate:!1,base:0,signedconv:!1,width:0,uppercase:!1,sign:1,prec:-1,conv:QL},t=0;t=0&&u<=9;)e.width=e.width*10+u,t++;t--;break;case".":for(e.prec=0,t++;u=x.charCodeAt(t)-48,u>=0&&u<=9;)e.prec=e.prec*10+u,t++;t--;case"d":case"i":e.signedconv=!0;case"u":e.base=10;break;case"x":e.base=16;break;case"X":e.base=16,e.uppercase=!0;break;case"o":e.base=8;break;case"e":case"f":case"g":e.signedconv=!0,e.conv=u;break;case"E":case"F":case"G":e.signedconv=!0,e.uppercase=!0,e.conv=u.toLowerCase();break}}return e}function zP(x,r){x.uppercase&&(r=r.toUpperCase());var e=r.length;x.signedconv&&(x.sign<0||x.signstyle!=rt)&&e++,x.alternate&&(x.base==8&&(e+=1),x.base==16&&(e+=2));var t=H0;if(x.justify==ys&&x.filler==bf)for(var u=e;u20?(S-=20,_/=Math.pow(10,S),_+=new Array(S+1).join($1),y>0&&(_=_+Mf+new Array(y+1).join($1)),_):_.toFixed(y)}var t,u=YP(x),i=u.prec<0?6:u.prec;if((r<0||r==0&&1/r==-1/0)&&(u.sign=-1,r=-r),isNaN(r))t=Ky,u.filler=bf;else if(!isFinite(r))t="inf",u.filler=bf;else switch(u.conv){case"e":var t=r.toExponential(i),c=t.length;t.charAt(c-3)==_9&&(t=t.slice(0,c-1)+$1+t.slice(c-1));break;case"f":t=e(r,i);break;case"g":i=i||1,t=r.toExponential(i-1);var v=t.indexOf(_9),a=+t.slice(v+1);if(a<-4||r>=1e21||r.toFixed(0).length>i){for(var c=v-1;t.charAt(c)==$1;)c--;t.charAt(c)==Mf&&c--,t=t.slice(0,c+1)+t.slice(v),c=t.length,t.charAt(c-3)==_9&&(t=t.slice(0,c-1)+$1+t.slice(c-1));break}else{var p=i;if(a<0)p-=a+1,t=r.toFixed(p);else for(;t=r.toFixed(p),t.length>i+1;)p--;if(p){for(var c=t.length-1;t.charAt(c)==$1;)c--;t.charAt(c)==Mf&&c--,t=t.slice(0,c+1)}}break}return zP(u,t)}function zm(x,r){if(x==Lv)return H0+r;var e=YP(x);r<0&&(e.signedconv?(e.sign=-1,r=-r):r>>>=0);var t=r.toString(e.base);if(e.prec>=0){e.filler=bf;var u=e.prec-t.length;u>0&&(t=Uv(u,$1)+t)}return zP(e,t)}var CU=0;function Ts(){return CU++}function DU(){return[0]}var Vm=[];function Wx(x,r,e){var t=x[1],u=Vm[e];if(u===void 0)for(var i=Vm.length;i>1|1,r__?(e.substr(0,1),r+=e,e=H0,r+=x.slice(i,v)):e+=x.slice(i,v),v==c)break;i=v}t>6),e+=String.fromCharCode(Xt|t&Fv)):t<55296||t>=FM?e+=String.fromCharCode(xM|t>>12,Xt|t>>6&Fv,Xt|t&Fv):t>=56319||i+1==c||(u=x.charCodeAt(i+1))FM?e+="\xEF\xBF\xBD":(i++,t=(t<<10)+u-56613888,e+=String.fromCharCode(PM|t>>18,Xt|t>>12&Fv,Xt|t>>6&Fv,Xt|t&Fv)),e.length>vl&&(e.substr(0,1),r+=e,e=H0)}return r+e}function Tt(x){return OP(x)?x:SY(x)}function AY(x,r,e){if(!isFinite(x))return isNaN(x)?Tt(Ky):Tt(x>0?SF:"-infinity");var t=x==0&&1/x==-1/0?1:x>=0?0:1;t&&(x=-x);var u=0;if(x!=0)if(x<1)for(;x<1&&u>-1022;)x*=2,u--;else for(;x>=2;)x/=2,u++;var i=u<0?H0:ys,c=H0;if(t)c=rt;else switch(e){case 43:c=ys;break;case 32:c=bf;break;default:break}if(r>=0&&r<13){var v=Math.pow(2,r*4);x=Math.round(x*v)/v}var a=x.toString(16);if(r>=0){var p=a.indexOf(Mf);if(p<0)a+=Mf+Uv(r,$1);else{var _=p+1+r;a.length<_?a+=Uv(_-a.length,$1):a=a.substr(0,_)}}return Tt(c+fa+a+"p"+i+u.toString(10))}function IY(x){return+x.isZero()}function Gm(x){return new ir(x&ci,x>>24&ci,x>>31&qt)}function jY(x){return x.toInt()}function PY(x){return+x.isNeg()}function GP(x){return x.neg()}function RU(x,r){var e=YP(x);e.signedconv&&PY(r)&&(e.sign=-1,r=GP(r));var t=H0,u=Gm(e.base),i="0123456789abcdef";do{var c=r.udivmod(u);r=c.quotient,t=i.charAt(jY(c.modulus))+t}while(!IY(r));if(e.prec>=0){e.filler=bf;var v=e.prec-t.length;v>0&&(t=Uv(v,$1)+t)}return zP(e,t)}function Nx(x){return x.length}function F0(x,r){return x.charCodeAt(r)}function NY(x,r){return x.add(r)}function OY(x,r){return x.mul(r)}function WP(x,r){return x.ucompare(r)<0}function FU(x){var r=0,e=Nx(x),t=10,u=1;if(e>0)switch(F0(x,r)){case 45:r++,u=-1;break;case 43:r++,u=1;break}if(r+1=48&&x<=57?x-48:x>=65&&x<=90?x-55:x>=97&&x<=r2?x-87:-1}function El(x){var r=FU(x),e=r[0],t=r[1],u=r[2],i=Gm(u),c=new ir(ci,268435455,qt).udivmod(i).quotient,v=F0(x,e),a=Wm(v);(a<0||a>=u)&&q1(ds);for(var p=Gm(a);;)if(e++,v=F0(x,e),v!=95){if(a=Wm(v),a<0||a>=u)break;WP(c,p)&&q1(ds),a=Gm(a),p=NY(OY(i,p),a),WP(p,a)&&q1(ds)}return e!=Nx(x)&&q1(ds),u==10&&WP(new ir(0,0,Yt),p)&&q1(ds),t<0&&(p=GP(p)),p}function $m(x){return x.toFloat()}function tt(x){var r=FU(x),e=r[0],t=r[1],u=r[2],i=Nx(x),c=-1>>>0,v=e=u)&&q1(ds);var p=a;for(e++;e=u)break;p=u*p+a,p>c&&q1(ds)}return e!=i&&q1(ds),p=t*p,u==10&&(p|0)!=p&&q1(ds),p|0}function CY(x){return x.slice(1)}function Qx(x){return OP(x)?x:kU(x)}function DY(x){for(var r={},e=1;e=0?x.l:x.l=x.length}function FY(x){return function(){for(var r=RY(x),e=new Array(r),t=0;t1&&t.pop();break;case".":break;case"":break;default:t.push(e[u]);break}return t.unshift(r[0]),t.orig=x,t}var XY=["E2BIG","EACCES","EAGAIN",Xb,"EBUSY","ECHILD","EDEADLK","EDOM",tL,"EFAULT","EFBIG","EINTR","EINVAL","EIO","EISDIR","EMFILE","EMLINK","ENAMETOOLONG","ENFILE","ENODEV",Hw,"ENOEXEC","ENOLCK","ENOMEM","ENOSPC","ENOSYS",l9,VD,"ENOTTY","ENXIO","EPERM","EPIPE","ERANGE","EROFS","ESPIPE","ESRCH","EXDEV","EWOULDBLOCK","EINPROGRESS","EALREADY","ENOTSOCK","EDESTADDRREQ","EMSGSIZE","EPROTOTYPE","ENOPROTOOPT","EPROTONOSUPPORT","ESOCKTNOSUPPORT","EOPNOTSUPP","EPFNOSUPPORT","EAFNOSUPPORT","EADDRINUSE","EADDRNOTAVAIL","ENETDOWN","ENETUNREACH","ENETRESET","ECONNABORTED","ECONNRESET","ENOBUFS","EISCONN","ENOTCONN","ESHUTDOWN","ETOOMANYREFS","ETIMEDOUT","ECONNREFUSED","EHOSTDOWN","EHOSTUNREACH","ELOOP","EOVERFLOW"];function Ss(x,r,e,t){var u=XY.indexOf(x);u<0&&(t==null&&(t=-9999),u=[0,t]);var i=[u,Tt(r||H0),Tt(e||H0)];return i}var qU={};function la(x){return qU[x]}function As(x,r){throw U0([0,x].concat(r))}function HP(x){return x instanceof Uint8Array||(x=new Uint8Array(x)),new _s(4,x,x.length)}function BU(x){Nr(x+a4)}function H1(x){this.data=x}H1.prototype=new LU,H1.prototype.constructor=H1,H1.prototype.truncate=function(x){var r=this.data;this.data=T2(x|0),gs(r,0,this.data,0,x)},H1.prototype.length=function(){return nt(this.data)},H1.prototype.write=function(x,r,e,t){var u=this.length();if(x+t>=u){var i=T2(x+t),c=this.data;this.data=i,gs(c,0,this.data,0,u)}return gs(HP(r),e,this.data,x,t),0},H1.prototype.read=function(x,r,e,t){var u=this.length();if(x+t>=u&&(t=u-x),t){var i=T2(t|0);gs(this.data,x,i,0,t),r.set(MU(i),e)}return t};function jo(x,r,e){this.file=r,this.name=x,this.flags=e}jo.prototype.err_closed=function(){Nr(this.name+tF)},jo.prototype.length=function(){if(this.file)return this.file.length();this.err_closed()},jo.prototype.write=function(x,r,e,t){if(this.file)return this.file.write(x,r,e,t);this.err_closed()},jo.prototype.read=function(x,r,e,t){if(this.file)return this.file.read(x,r,e,t);this.err_closed()},jo.prototype.close=function(){this.file=void 0};function v1(x,r){this.content={},this.root=x,this.lookupFun=r}v1.prototype.nm=function(x){return this.root+x},v1.prototype.create_dir_if_needed=function(x){for(var r=x.split(G1),e=H0,t=0;t0&&e>=0&&e+t<=r.length&&r[e+t-1]==10&&t--;var u=T2(t);return gs(HP(r),e,u,0,t),this.log(u.toUtf16()),0}Nr(this.fd+tF)},Il.prototype.read=function(x,r,e,t){Nr(this.fd+": file descriptor is write only")},Il.prototype.close=function(){this.log=void 0};function xh(x,r){return r==null&&(r=Qm.length),Qm[r]=x,r|0}function Sj0(x,r,e){for(var t={};r;){switch(r[1]){case 0:t.rdonly=1;break;case 1:t.wronly=1;break;case 2:t.append=1;break;case 3:t.create=1;break;case 4:t.truncate=1;break;case 5:t.excl=1;break;case 6:t.binary=1;break;case 7:t.text=1;break;case 8:t.nonblock=1;break}r=r[2]}t.rdonly&&t.wronly&&Nr(x+fw),t.text&&t.binary&&Nr(x+kP);var u=JY(x),i=u.device.open(u.rest,t);return xh(i,void 0)}(function(){function x(r,e){return Sl()?UY(r,e):new Il(r,e)}xh(x(0,{rdonly:1,altname:"/dev/stdin",isCharacterDevice:!0}),0),xh(x(1,{buffered:2,wronly:1,isCharacterDevice:!0}),1),xh(x(2,{buffered:2,wronly:1,isCharacterDevice:!0}),2)})();function KY(x){var r=Qm[x];r.flags.wronly&&Nr(pM+x+" is writeonly");var e=null,t={file:r,offset:r.flags.append?r.length():0,fd:x,opened:!0,out:!1,buffer_curr:0,buffer_max:0,buffer:new Uint8Array(el),refill:e};return Es[t.fd]=t,t.fd}function JU(x){var r=Qm[x];r.flags.rdonly&&Nr(pM+x+" is readonly");var e=r.flags.buffered!==void 0?r.flags.buffered:1,t={file:r,offset:r.flags.append?r.length():0,fd:x,opened:!0,out:!0,buffer_curr:0,buffer:new Uint8Array(el),buffered:e};return Es[t.fd]=t,t.fd}function YY(){for(var x=0,r=0;ru.buffer.length){var i=new Uint8Array(u.buffer_curr+r.length);i.set(u.buffer),u.buffer=i}switch(u.buffered){case 0:u.buffer.set(r,u.buffer_curr),u.buffer_curr+=r.length,Rc(x);break;case 1:u.buffer.set(r,u.buffer_curr),u.buffer_curr+=r.length,u.buffer_curr>=u.buffer.length&&Rc(x);break;case 2:var c=r.lastIndexOf(10);c<0?(u.buffer.set(r,u.buffer_curr),u.buffer_curr+=r.length,u.buffer_curr>=u.buffer.length&&Rc(x)):(u.buffer.set(r.subarray(0,c+1),u.buffer_curr),u.buffer_curr+=c+1,Rc(x),u.buffer.set(r.subarray(c+1),u.buffer_curr),u.buffer_curr+=r.length-c-1);break}return 0}function VY(x,u,e,t){var u=MU(u);return zY(x,u,e,t)}function QP(x,r,e,t){return VY(x,Cc(r),e,t)}function KU(x,r){var e=String.fromCharCode(r);return QP(x,e,0,1),0}function jl(x,r){return+(Ym(x,r,!1)!=0)}function ZP(x,r){var e=new Array(r+1);e[0]=x;for(var t=1;t<=r;t++)e[t]=0;return e}function GY(x,r){return x[0]=Mv,x[1]=r,0}function Po(x){return x instanceof Array&&x[0]==x[0]>>>0?x[0]:JP(x)||XP(x)?go:x instanceof Function||typeof x=="function"?xl:x&&x.caml_custom?m4:il}function WY(x){for(var r;x;)if(Qx(x[1][1])=="SYJS"){r=x[1][2];break}else x=x[2];var e={};if(r)for(var t=1;t=0?x=u:q1("caml_register_global: cannot locate "+t)}}U1[x+1]=r,e&&(U1[e]=r)}function xN(x,r){return qU[x]=r,0}function $Y(x){return x[2]=CU++,x}function Sr(x,r){return x===r?1:0}function HY(){W2(oE)}function N2(x,r){return r>>>0>=Nx(x)&&HY(),F0(x,r)}function I(x,r){return 1-Sr(x,r)}function A1(x){return x.t&6&&Xm(x),x.c}function QY(){return 2147483647/4|0}var ZY=a0.process&&a0.process.platform&&a0.process.platform==hF?AM:"Unix";function xz(){return[0,ZY,32,0]}function rz(){yU(U1.Not_found)}function YU(x){var r=hU(Qx(x));return r===void 0&&rz(),Tt(r)}function rN(x){for(var r=1;x&&x.joo_tramp;)x=x.joo_tramp.apply(null,x.joo_args),r++;return x}function l1(x,r){return{joo_tramp:x,joo_args:r}}function m0(x,r){if(r.fun)return x.fun=r.fun,0;if(typeof r=="function")return x.fun=r,0;for(var e=r.length;e--;)x[e]=r[e];return 0}function O2(x){{if(x instanceof Array)return x;var r;return a0.RangeError&&x instanceof a0.RangeError&&x.message&&x.message.match(/maximum call stack/i)||a0.InternalError&&x instanceof a0.InternalError&&x.message&&x.message.match(/too much recursion/i)?r=U1.Stack_overflow:x instanceof a0.Error&&la(UT)?r=[0,la(UT),x]:r=[0,U1.Failure,Tt(String(x))],x instanceof a0.Error&&(r.js_error=x),r}}function ez(x){switch(x[2]){case-8:case-11:case-12:return 1;default:return 0}}function tz(x){var r=H0;if(x[0]==0){if(r+=x[1][1],x.length==3&&x[2][0]==0&&ez(x[1]))var t=x[2],e=1;else var e=2,t=x;r+=FD;for(var u=e;ue&&(r+=UR);var i=t[u];typeof i=="number"?r+=i.toString():i instanceof _s||typeof i=="string"?r+=f8+i.toString()+f8:r+=Sv}r+=zw}else x[0]==x2&&(r+=x[1]);return r}function zU(x){if(x instanceof Array&&(x[0]==0||x[0]==x2)){var r=la(fR);if(r)Hm(r,[x,!1]);else{var e=tz(x),t=la(HR);if(t&&Hm(t,[0]),console.error(iP+e),x.js_error)throw x.js_error}}else throw x}function nz(){var x=a0.process;x&&x.on?x.on("uncaughtException",function(r,e){zU(r),x.exit(2)}):a0.addEventListener&&a0.addEventListener("error",function(r){r.error&&zU(r.error)})}nz();function l(x,r){return(x.l>=0?x.l:x.l=x.length)==1?x(r):bs(x,[r])}function k(x,r,e){return(x.l>=0?x.l:x.l=x.length)==2?x(r,e):bs(x,[r,e])}function B0(x,r,e,t){return(x.l>=0?x.l:x.l=x.length)==3?x(r,e,t):bs(x,[r,e,t])}function St(x,r,e,t,u){return(x.l>=0?x.l:x.l=x.length)==4?x(r,e,t,u):bs(x,[r,e,t,u])}function I1(x,r,e,t,u,i){return(x.l>=0?x.l:x.l=x.length)==5?x(r,e,t,u,i):bs(x,[r,e,t,u,i])}function uz(x,r,e,t,u,i,c,v){return(x.l>=0?x.l:x.l=x.length)==7?x(r,e,t,u,i,c,v):bs(x,[r,e,t,u,i,c,v])}var R=void 0,eN=[x2,VM,-1],VU=[x2,bM,-2],Qt=[x2,e_,-3],tN=[x2,vM,-4],Fc=[x2,_F,-7],GU=[x2,UL,-8],WU=[x2,bL,-9],Ar=[x2,YD,-11],Pl=[x2,YL,-12],iz=[4,0,0,0,[12,45,[4,0,0,0,0]]],nN=[0,[11,'File "',[2,0,[11,'", line ',[4,0,0,0,[11,hL,[4,0,0,0,[12,45,[4,0,0,0,[11,": ",[2,0,0]]]]]]]]]],'File "%s", line %d, characters %d-%d: %s'],Yv=[0,0,[0,0,0],[0,0,0]],Nl=[0,0,0,0,1,0,0,0],$U=[0,"first_leading","last_trailing"],HU=[0,uf,lf,Yu,$n,vf,Su,j7,pi,xu,Vf,k7,Ti,pf,Bt,Eu,Qf,Ee,f7,C7,Bi,Pf,u7,Wu,Nc,cc,Dn,Yi,g7,tu,wi,Di,Ic,E7,cu,ei,Ui,fi,Gu,Ff,Ii,J7,Yn,Pc,b7,Nu,Mi,ic,Qu,Ji,Of,Sn,Gf,Zf,Ci,_e,we,_u,Zi,uc,_i,Qn,mf,wu,qf,Wi,Vi,Kf,sf,sc,vi,ie,hi,Cn,zi,Ri,uu,Mn,pu,yi,qi,fc,Hf,vu,gu,Xi,Hn,jn,ff,Vn,Sf,_7,V2,ri,Cu,In,w7,zn,hf,ef,I7,U7,mi,hu,iu,Y7,Ou,Xf,O7,yn,zf,Zn,wn,p7,Fu,Ru,kf,Uu,Qi,gn,ui,Ec,Si,Q7,ni,W7,su,dt,r7,Un,t7,R1,ti,B7,bu,Kn,$i,V7,Ef,c7,W1,Lu,Nn,wf,bi,K7,Oc,L7,H7,dn,gi,Au,vc,Yf,Fn,rf,ru,Bu,wc,zu,l7,qn,F7,An,Df,Cf,Oi,Uf,m7,du,Tn,li,v7,_n,X7,Fi,Er,Bn,Vu,mu,nc,Du,Xn,yc,mc,Tu,pc,T7,tf,s7,ki,yf,jf,q7,ji,Tc,Ki,_c,Ln,Ku,nf,Ju,Bf,$u,D7,Lf,Rn,Iu,af,$t,dc,ou,y7,xc,ac,i7,S7,yu,Jn,Wn,di,lu,Wf,Rf,M7,Tf,Sc,eu,_f,rc,G7,Ie,tc,z7,ku,Z7,Pi,o7,Gn,Se,ec,Pu,a7,oc,Ei,Ai,x7,Li,Pe,au,P7,df,xf,kc,ai,cf,je,Ac,Gi,fu,nu,Jf,En,Pn,ii,Af,xi,gc,e7,bc,Zu,bn,d7,si,Nf,If,N7,n7,h7,Hu,ju,lc,On,A7,Mu,jc,oi,L1,gf,Hi,Xu,M1],Zt=[0,0,0];Et(11,Pl,YL),Et(10,Ar,YD),Et(9,[x2,IF,DR],IF),Et(8,WU,bL),Et(7,GU,UL),Et(6,Fc,_F),Et(5,[x2,rF,-6],rF),Et(4,[x2,cR,-5],cR),Et(3,tN,vM),Et(2,Qt,e_),Et(1,VU,bM),Et(0,eN,VM);var fz="output_substring",cz=Mf,sz=as,az=ls,oz="CamlinternalLazy.Undefined",vz=SM,lz="\\'",pz="\\b",kz="\\t",mz="\\n",hz="\\r",dz="List.iter2",yz="tl",gz="hd",_z="String.blit / Bytes.blit_string",bz="Bytes.blit",wz="String.sub / Bytes.sub",Tz=H0,Ez="String.concat",Sz="Array.blit",Az="Array.sub",Iz=zp,jz=zp,Pz=zp,Nz=zp,Oz="Stdlib.Queue.Empty",Cz="Buffer.add_substring/add_subbytes",Dz="Buffer.add: cannot grow buffer",Rz=[0,eR,93,2],Fz=[0,eR,94,2],Lz="Buffer.sub",Mz="%c",Uz="%s",qz=qD,Bz=EM,Xz=kF,Jz=XM,Kz="%f",Yz="%B",zz="%{",Vz="%}",Gz="%(",Wz="%)",$z=RF,Hz="%t",Qz="%?",Zz="%r",xV="%_r",rV=[0,e1,850,23],eV=[0,e1,814,21],tV=[0,e1,815,21],nV=[0,e1,818,21],uV=[0,e1,819,21],iV=[0,e1,822,19],fV=[0,e1,823,19],cV=[0,e1,826,22],sV=[0,e1,827,22],aV=[0,e1,831,30],oV=[0,e1,832,30],vV=[0,e1,836,26],lV=[0,e1,837,26],pV=[0,e1,846,28],kV=[0,e1,847,28],mV=[0,e1,851,23],hV=[0,e1,1558,4],dV="Printf: bad conversion %[",yV=[0,e1,1626,39],gV=[0,e1,1649,31],_V=[0,e1,1650,31],bV="Printf: bad conversion %_",wV=JL,TV=mF,EV=JL,SV=mF,AV=[0,[11,"invalid box description ",[3,0,0]],"invalid box description %S"],IV=[0,0,4],jV=Ky,PV="neg_infinity",NV=SF,OV=Mf,CV=[0,Ze],DV="%+nd",RV="% nd",FV="%+ni",LV="% ni",MV="%nx",UV="%#nx",qV="%nX",BV="%#nX",XV="%no",JV="%#no",KV="%nd",YV=kF,zV="%nu",VV="%+ld",GV="% ld",WV="%+li",$V="% li",HV="%lx",QV="%#lx",ZV="%lX",xG="%#lX",rG="%lo",eG="%#lo",tG="%ld",nG=EM,uG="%lu",iG="%+Ld",fG="% Ld",cG="%+Li",sG="% Li",aG="%Lx",oG="%#Lx",vG="%LX",lG="%#LX",pG="%Lo",kG="%#Lo",mG="%Ld",hG=XM,dG="%Lu",yG="%+d",gG="% d",_G="%+i",bG="% i",wG="%x",TG="%#x",EG="%X",SG="%#X",AG="%o",IG="%#o",jG=Lv,PG=qD,NG=uL,OG=vv,CG="@}",DG="@?",RG=`@ +`,FG="@.",LG="@@",MG="@%",UG=dF,qG="CamlinternalFormat.Type_mismatch",BG=H0,XG=[0,[11,UR,[2,0,[2,0,0]]],", %s%s"],JG=[0,[11,iP,[2,0,[12,10,0]]],wL],KG=[0,[11,"Fatal error in uncaught exception handler: exception ",[2,0,[12,10,0]]],`Fatal error in uncaught exception handler: exception %s +`],YG="Fatal error: out of memory in uncaught exception handler",zG=[0,[11,iP,[2,0,[12,10,0]]],wL],VG=[0,[2,0,[12,10,0]],`%s +`],GG="Raised at",WG="Re-raised at",$G="Raised by primitive operation at",HG="Called from",QG=" (inlined)",ZG=H0,xW=[0,[2,0,[12,32,[2,0,[11,' in file "',[2,0,[12,34,[2,0,[11,", line ",[4,0,0,0,[11,hL,iz]]]]]]]]]],'%s %s in file "%s"%s, line %d, characters %d-%d'],rW=[0,[2,0,[11," unknown location",0]],"%s unknown location"],eW="Out of memory",tW="Stack overflow",nW="Pattern matching failed",uW="Assertion failed",iW="Undefined recursive module",fW=[0,[12,40,[2,0,[2,0,[12,41,0]]]],"(%s%s)"],cW=H0,sW=H0,aW=[0,[12,40,[2,0,[12,41,0]]],"(%s)"],oW=[0,[4,0,0,0,0],Lv],vW=[0,[3,0,0],q3],lW=Sv,pW=[0,H0,`(Cannot print locations: bytecode executable program file not found)`,`(Cannot print locations: bytecode executable program file appears to be corrupt)`,`(Cannot print locations: bytecode executable program file has wrong magic number)`,`(Cannot print locations: bytecode executable program file cannot be opened; - -- too many open files. Try running with OCAMLRUNPARAM=b=2)`],dQ=[3,0,3],mQ=Hf,kQ=$3,hQ="{"],VQ=[0,[12,32,0],Lt],ZQ=[0,[12,32,0],Lt],$Q=[0,[17,[0,"@,",0,0],[12,gi,[17,0,0]]],"@,}@]"],FQ=[0,"src/hack_forked/utils/collections/third-party/flow_set.ml",379,14],QQ=F3,HQ=ka,qQ=La,GQ=_x,bQ=pv,xH=[0,[12,40,[18,[1,[0,[11,Pe,0],Pe]],[11,"File_key.LibFile",[17,[0,ie,1,0],0]]]],"(@[<2>File_key.LibFile@ "],rH=[0,[3,0,0],z3],eH=[0,[17,0,[12,41,0]],xp],tH=[0,[12,40,[18,[1,[0,[11,Pe,0],Pe]],[11,"File_key.SourceFile",[17,[0,ie,1,0],0]]]],"(@[<2>File_key.SourceFile@ "],nH=[0,[3,0,0],z3],uH=[0,[17,0,[12,41,0]],xp],iH=[0,[12,40,[18,[1,[0,[11,Pe,0],Pe]],[11,"File_key.JsonFile",[17,[0,ie,1,0],0]]]],"(@[<2>File_key.JsonFile@ "],fH=[0,[3,0,0],z3],cH=[0,[17,0,[12,41,0]],xp],sH=[0,[12,40,[18,[1,[0,[11,Pe,0],Pe]],[11,"File_key.ResourceFile",[17,[0,ie,1,0],0]]]],"(@[<2>File_key.ResourceFile@ "],oH=[0,[3,0,0],z3],vH=[0,[17,0,[12,41,0]],xp],aH=[0,1],lH=[0,0],pH=[0,1],yH=[0,2],dH=[0,0],mH=[0,1],kH=[0,1],hH=[0,1],_H=[0,1],wH=[0,1],TH=[0,1],SH=[0,0,0],EH=[0,0,0],AH=[0,U2,ri,vf,Lf,L2,Ei,Yc,qu,W7,Hn,Ec,Bu,oi,U7,w7,$7,Jf,Xf,Ti,M7,Jn,ai,Lc,h7,Rc,li,Kf,hi,Fn,Xn,rc,hu,Ki,cf,Kc,ze,wf,Si,gc,pf,Rf,Z7,Eu,Ke,Gi,m7,Bi,Ji,Tc,N7,Xu,lc,Me,I7,Zi,pu,Pu,fu,pc,je,su,ac,Uf,mu,zc,Df,b7,$f,fc,Nu,Oi,a7,f7,Lu,X7,S7,wc,vc,D7,Au,Pc,pn,Sf,Yu,bn,Qf,H7,si,bf,ei,kf,ti,r7,Oc,nf,Dc,Wi,ru,Yf,Of,Pi,g7,mf,Y7,Ac,zu,Nc,Cc,i7,$u,yc,Cu,ii,u7,xr,qi,tu,Kn,P7,Ni,Bn,Ou,L7,qf,$i,Vf,Zf,Vn,q7,n7,C7,ui,Mc,xi,du,yf,x7,tc,Sc,Ju,Ui,F1,au,G7,Wc,uu,Di,Mf,Qn,Hu,F2,A7,jf,cu,of,c7,Du,eu,di,R2,_7,t7,k7,It,Su,ou,mi,lu,Yi,jc,ki,zn,af,Gu,If,Fu,Qu,R7,Yn,d7,nc,jn,F7,xc,Vu,iu,wu,Ru,Ci,xu,V7,df,Cf,o7,J7,Zn,Zu,pi,Q1,z7,zf,v7,_f,$n,p7,ef,Uu,gu,cc,kc,xf,Li,Iu,e7,_u,Hi,ff,qn,Ri,ce,Ai,_c,Tf,ec,sf,Gf,ju,Pf,y7,Mi,dc,lf,Mu,Re,Ce,Fi,oc,ic,Wn,Wf,tf,vi,mc,Wu,K7,Bc,s7,nu,Xi,Ff,fi,_i,bi,yi,Tu,B7,Jc,Qi,ji,ku,j7,uf,Gn,hc,Xc,ci,T7,Bf,rf,Q7,E7,Le,sc,Ku,un,Nf,zi,O7,uc,yu,Ii,Af,l7,ni,gf,hf],gH=[0,Tc,F1,Fu,Su,zn,E7,Nc,Yf,ui,Qn,Ku,Rc,bf,Ke,H7,zf,uf,nf,tc,i7,A7,Ju,Hi,Li,ri,S7,lu,wu,f7,qf,mc,mi,_u,Cu,It,Lf,Cf,fc,Pf,rf,Qu,Bf,yf,Uu,su,jc,Ru,Eu,Pi,t7,Bi,of,ff,L7,yc,ji,bi,Sf,hf,zc,s7,ai,ru,Uf,q7,B7,ei,je,Oc,af,Yu,ii,Mc,x7,ou,P7,oc,Kf,kc,n7,Ni,If,$f,l7,Gf,p7,qi,pu,Pc,ni,Ri,Q7,lc,L2,ac,dc,$7,I7,_7,O7,iu,Kc,Wc,j7,Y7,Z7,ce,V7,li,U2,Bn,cf,Mi,Df,Bu,D7,lf,Pu,uc,Ec,_i,y7,zu,qu,Sc,Xn,Mf,Iu,Zn,si,v7,Ou,vc,o7,Xf,Fn,nu,Ei,rc,N7,Jf,m7,Hn,Jc,jf,Ci,yi,Kn,Gu,Xi,W7,fi,Ac,Vf,yu,tu,Xc,ku,K7,wc,Zf,Bc,xr,R2,Me,w7,Ti,Gi,X7,ze,Re,Cc,k7,Qf,pi,Ui,pn,sc,nc,e7,cu,Tu,z7,R7,au,ki,U7,xf,pc,xc,eu,cc,$n,Wf,mf,Xu,Of,c7,ti,Oi,hi,Wi,mu,r7,M7,sf,ci,ju,Nf,uu,Rf,qn,hu,Yi,fu,di,Dc,hc,g7,du,Qi,Hu,Ai,h7,gf,Yc,_c,T7,Lc,Tf,xi,G7,ic,$i,a7,$u,Di,J7,Vn,Jn,gc,Ii,tf,Lu,zi,Q1,Au,Ff,Zu,Ki,jn,F7,Ji,Ce,Yn,Wu,b7,ef,ec,Si,pf,Vu,_f,oi,xu,bn,un,Du,Gn,C7,kf,d7,Mu,gu,Le,Af,F2,Fi,vf,vi,Zi,df,Wn,Nu,wf,u7],NH=rM,IH=KM,PH=bU,CH=DM,RH=YT,OH=SM,LH=$3,UH=pj,MH=QU,DH=pM,jH=UU,zH=Ls,KH=Ot,JH=oz,YH=RM,BH=$2,XH=YM,WH=nK,VH=k8,ZH=R4,$H=mo,FH=Z3,QH=yM,HH=eK,qH=bM,GH=cM,bH=Qz,xq=CU,rq=_j,eq=dM,tq=cz,nq=ED,uq=Jz,iq=nM,fq=zD,cq=$z,sq=Jj,oq=[0,[18,[1,[0,[11,Pe,0],Pe]],[11,HM,0]],Dz],vq="Loc.line",aq=[0,[18,[1,[0,0,wx]],[2,0,[11,X3,[17,[0,ie,1,0],0]]]],J3],lq=[0,[4,0,0,0,0],hl],pq=[0,[17,0,0],oa],yq=[0,[12,59,[17,[0,ie,1,0],0]],ep],dq=ll,mq=[0,[18,[1,[0,0,wx]],[2,0,[11,X3,[17,[0,ie,1,0],0]]]],J3],kq=[0,[4,0,0,0,0],hl],hq=[0,[17,0,0],oa],_q=[0,[17,[0,ie,1,0],[12,gi,[17,0,0]]],iD],wq=[0,[15,0],CD],Tq="(Some ",Sq=YS,Eq="None",Aq=[0,[18,[1,[0,[11,Pe,0],Pe]],[11,HM,0]],Dz],gq="Loc.source",Nq=[0,[18,[1,[0,0,wx]],[2,0,[11,X3,[17,[0,ie,1,0],0]]]],J3],Iq=[0,[17,0,0],oa],Pq=[0,[12,59,[17,[0,ie,1,0],0]],ep],Cq=S9,Rq=[0,[18,[1,[0,0,wx]],[2,0,[11,X3,[17,[0,ie,1,0],0]]]],J3],Oq=[0,[17,0,0],oa],Lq=[0,[12,59,[17,[0,ie,1,0],0]],ep],Uq="_end",Mq=[0,[18,[1,[0,0,wx]],[2,0,[11,X3,[17,[0,ie,1,0],0]]]],J3],Dq=[0,[17,0,0],oa],jq=[0,[17,[0,ie,1,0],[12,gi,[17,0,0]]],iD],zq="Object literal may not have data and accessor property with the same name",Kq="Object literal may not have multiple get/set accessors with the same name",Jq="Unexpected token <. Remember, adjacent JSX elements must be wrapped in an enclosing parent tag",Yq="Modules can only have 1 since they are either an ES module xor they are a CommonJS module.",Bq="Found both `declare module.exports` and `declare export` in the same module. ",Xq="`let [` is ambiguous in this position because it is either a `let` binding pattern, or a member expression.",Wq="Async functions can only be declared at top level or immediately within another function.",Vq="`await` is an invalid identifier in async functions",Zq="`await` is not allowed in async function parameters.",$q="Computed properties must have a value.",Fq="Constructor can't be an accessor.",Qq="Constructor can't be an async function.",Hq="Constructor can't be a generator.",qq="It is sufficient for your declare function to just have a Promise return type.",Gq="async is an implementation detail and isn't necessary for your declare function statement. ",bq="`declare` modifier can only appear on class fields.",xG="Unexpected token `=`. Initializers are not allowed in a `declare`.",rG="`declare export interface` is not supported. Use `export interface` instead.",eG="`declare export type` is not supported. Use `export type` instead.",tG="Unexpected token `=`. Initializers are not allowed in a `declare opaque type`.",nG="Classes may only have one constructor",uG="Duplicate `declare module.exports` statement!",iG="Rest element must be final element of an array pattern",fG="Cannot export an enum with `export type`, try `export enum E {}` or `module.exports = E;` instead.",cG="Enum members are separated with `,`. Replace `;` with `,`.",sG="`const` enums are not supported. Flow Enums are designed to allow for inlining, however the inlining itself needs to be part of the build system (whatever you use) rather than Flow itself.",oG="Expected an object pattern, array pattern, or an identifier but found an expression instead",vG="Missing comma between export specifiers",aG="Generators can only be declared at top level or immediately within another function.",lG="Getter should have zero parameters",pG="A getter cannot have a `this` parameter.",yG="Illegal break statement",dG="Illegal continue statement",mG="Illegal return statement",kG="Illegal Unicode escape",hG="Missing comma between import specifiers",_G="It cannot be used with `import type` or `import typeof` statements",wG="The `type` and `typeof` keywords on named imports can only be used on regular `import` statements. ",TG="Explicit inexact syntax cannot appear inside an explicit exact object type",SG="Explicit inexact syntax can only appear inside an object type",EG="Component params must be an identifier. If you'd like to destructure, you should use `name as {destructure}`",AG="A bigint literal must be an integer",gG="JSX value should be either an expression or a quoted JSX text",NG="Invalid left-hand side in assignment",IG="Invalid left-hand side in exponentiation expression",PG="Invalid left-hand side in for-in",CG="Invalid left-hand side in for-of",RG="Imports within a `declare module` body must always be `import type` or `import typeof`!",OG="Invalid optional indexed access. Indexed access uses bracket notation. Use the format `T?.[K]`.",LG="Invalid regular expression",UG="A bigint literal cannot use exponential notation",MG="Tuple spread elements cannot be optional.",DG="Tuple variance annotations can only be used with labeled tuple elements, e.g. `[+foo: number]`",jG="`typeof` can only be used to get the type of variables.",zG="JSX attributes must only be assigned a non-empty expression",KG="Literals cannot be used as shorthand properties.",JG="Malformed unicode",YG="Object pattern can't contain methods",BG="Expected at least one type parameter.",XG="Type parameter declaration needs a default, since a preceding type parameter declaration has a default.",WG="More than one default clause in switch statement",VG="Illegal newline after throw",ZG="Illegal newline before arrow",$G="Missing catch or finally after try",FG="Const must be initialized",QG="Destructuring assignment must be initialized",HG="An optional chain may not be used in a `new` expression.",qG="Template literals may not be used in an optional chain.",GG="Rest parameter must be final parameter of an argument list",bG="Private fields may not be deleted.",xb="Private fields can only be referenced from within a class.",rb="Rest property must be final property of an object pattern",eb="Setter should have exactly one parameter",tb="A setter cannot have a `this` parameter.",nb="Catch variable may not be eval or arguments in strict mode",ub="Delete of an unqualified identifier in strict mode.",ib="Duplicate data property in object literal not allowed in strict mode",fb="Function name may not be eval or arguments in strict mode",cb="Assignment to eval or arguments is not allowed in strict mode",sb="Postfix increment/decrement may not have eval or arguments operand in strict mode",ob="Prefix increment/decrement may not have eval or arguments operand in strict mode",vb="Strict mode code may not include a with statement",ab="Number literals with leading zeros are not allowed in strict mode.",lb="Octal literals are not allowed in strict mode.",pb="Strict mode function may not have duplicate parameter names",yb="Parameter name eval or arguments is not allowed in strict mode",db='Illegal "use strict" directive in function with non-simple parameter list',mb="Use of reserved word in strict mode",kb="Variable name may not be eval or arguments in strict mode",hb="You may not access a private field through the `super` keyword.",_b="Flow does not support abstract classes.",wb="Flow does not support template literal types.",Tb="A type annotation is required for the `this` parameter.",Sb="Arrow functions cannot have a `this` parameter; arrow functions automatically bind `this` when declared.",Eb="Constructors cannot have a `this` parameter; constructors don't bind `this` like other functions.",Ab="The `this` parameter cannot be optional.",gb="The `this` parameter must be the first function parameter.",Nb="A trailing comma is not permitted after the rest element",Ib="Unexpected end of input",Pb="Explicit inexact syntax must come at the end of an object type",Cb="Opaque type aliases are not allowed in untyped mode",Rb="Unexpected proto modifier",Ob="Unexpected reserved word",Lb="Unexpected reserved type",Ub="Spreading a type is only allowed inside an object type",Mb="Unexpected static modifier",Db="Unexpected `super` outside of a class method",jb="`super()` is only valid in a class constructor",zb="Type aliases are not allowed in untyped mode",Kb="Type annotations are not allowed in untyped mode",Jb="Type declarations are not allowed in untyped mode",Yb="Type exports are not allowed in untyped mode",Bb="Type imports are not allowed in untyped mode",Xb="Interfaces are not allowed in untyped mode",Wb="Unexpected variance sigil",Vb="Found a decorator in an unsupported position.",Zb="Invalid regular expression: missing /",$b="Unexpected whitespace between `#` and identifier",Fb="`yield` is an invalid identifier in generators",Qb="Yield expression not allowed in formal parameter",Hb=[0,[11,"Duplicate export for `",[2,0,[12,96,0]]],"Duplicate export for `%s`"],qb=[0,[11,"Private fields may only be declared once. `#",[2,0,[11,"` is declared more than once.",0]]],"Private fields may only be declared once. `#%s` is declared more than once."],Gb=[0,[11,"bigint enum members need to be initialized, e.g. `",[2,0,[11," = 1n,` in enum `",[2,0,[11,Es,0]]]]],"bigint enum members need to be initialized, e.g. `%s = 1n,` in enum `%s`."],bb=[0,[11,"Boolean enum members need to be initialized. Use either `",[2,0,[11," = true,` or `",[2,0,[11," = false,` in enum `",[2,0,[11,Es,0]]]]]]],"Boolean enum members need to be initialized. Use either `%s = true,` or `%s = false,` in enum `%s`."],x00=[0,[11,"Enum member names need to be unique, but the name `",[2,0,[11,"` has already been used before in enum `",[2,0,[11,Es,0]]]]],"Enum member names need to be unique, but the name `%s` has already been used before in enum `%s`."],r00=[0,[11,_M,[2,0,[11,"` has inconsistent member initializers. Either use no initializers, or consistently use literals (either booleans, numbers, or strings) for all member initializers.",0]]],"Enum `%s` has inconsistent member initializers. Either use no initializers, or consistently use literals (either booleans, numbers, or strings) for all member initializers."],e00="The `...` must come at the end of the enum body. Remove the trailing comma.",t00="The `...` must come after all enum members. Move it to the end of the enum body.",n00=[0,[11,"Use one of `boolean`, `number`, `string`, `symbol`, or `bigint` in enum `",[2,0,[11,Es,0]]],"Use one of `boolean`, `number`, `string`, `symbol`, or `bigint` in enum `%s`."],u00=[0,[11,"Enum type `",[2,0,[11,"` is not valid. ",[2,0,0]]]],"Enum type `%s` is not valid. %s"],i00=[0,[11,"Supplied enum type is not valid. ",[2,0,0]],"Supplied enum type is not valid. %s"],f00=[0,[11,"Enum member names and initializers are separated with `=`. Replace `",[2,0,[11,":` with `",[2,0,[11," =`.",0]]]]],"Enum member names and initializers are separated with `=`. Replace `%s:` with `%s =`."],c00=[0,[11,_M,[2,0,[11,"` has type `",[2,0,[11,"`, so the initializer of `",[2,0,[11,"` needs to be a ",[2,0,[11," literal.",0]]]]]]]]],"Enum `%s` has type `%s`, so the initializer of `%s` needs to be a %s literal."],s00=[0,[11,"Symbol enum members cannot be initialized. Use `",[2,0,[11,",` in enum `",[2,0,[11,Es,0]]]]],"Symbol enum members cannot be initialized. Use `%s,` in enum `%s`."],o00=[0,[11,"The enum member initializer for `",[2,0,[11,"` needs to be a literal (either a boolean, number, or string) in enum `",[2,0,[11,Es,0]]]]],"The enum member initializer for `%s` needs to be a literal (either a boolean, number, or string) in enum `%s`."],v00=[0,[11,"Enum member names cannot start with lowercase 'a' through 'z'. Instead of using `",[2,0,[11,"`, consider using `",[2,0,[11,"`, in enum `",[2,0,[11,Es,0]]]]]]],"Enum member names cannot start with lowercase 'a' through 'z'. Instead of using `%s`, consider using `%s`, in enum `%s`."],a00=[0,[11,"Number enum members need to be initialized, e.g. `",[2,0,[11," = 1,` in enum `",[2,0,[11,Es,0]]]]],"Number enum members need to be initialized, e.g. `%s = 1,` in enum `%s`."],l00=[0,[11,"String enum members need to consistently either all use initializers, or use no initializers, in enum ",[2,0,[12,46,0]]],"String enum members need to consistently either all use initializers, or use no initializers, in enum %s."],p00=[0,[11,"Expected corresponding JSX closing tag for ",[2,0,0]],"Expected corresponding JSX closing tag for %s"],y00="immediately within another function.",d00="In strict mode code, functions can only be declared at top level or ",m00="inside a block, or as the body of an if statement.",k00="In non-strict mode code, functions can only be declared at top level, ",h00="static ",_00=wx,w00="methods",T00="fields",S00=jU,E00=[0,[11,"Classes may not have ",[2,0,[2,0,[11," named `",[2,0,[11,Es,0]]]]]],"Classes may not have %s%s named `%s`."],A00="Remove the period.",g00="Indexed access uses bracket notation.",N00=[0,[11,"Invalid indexed access. ",[2,0,[11," Use the format `T[K]`.",0]]],"Invalid indexed access. %s Use the format `T[K]`."],I00=[0,[11,"Invalid flags supplied to RegExp constructor '",[2,0,[12,39,0]]],"Invalid flags supplied to RegExp constructor '%s'"],P00=[0,[11,"JSX element ",[2,0,[11," has no corresponding closing tag.",0]]],"JSX element %s has no corresponding closing tag."],C00=[0,[11,AM,[2,0,[11,"`. Parentheses are required to combine `??` with `&&` or `||` expressions.",0]]],"Unexpected token `%s`. Parentheses are required to combine `??` with `&&` or `||` expressions."],R00=[0,[2,0,[11," '",[2,0,[11,"' has already been declared",0]]]],"%s '%s' has already been declared"],O00=wx,L00=W3,U00=" You can try using JavaScript private fields by prepending `#` to the field name.",M00=kl,D00=" Fields and methods are public by default. You can simply omit the `public` keyword.",j00=j3,z00=[0,[11,"Flow does not support using `",[2,0,[11,"` in classes.",[2,0,0]]]],"Flow does not support using `%s` in classes.%s"],K00=[0,[11,"Private fields must be declared before they can be referenced. `#",[2,0,[11,"` has not been declared.",0]]],"Private fields must be declared before they can be referenced. `#%s` has not been declared."],J00=[0,[11,uj,[2,0,0]],"Unexpected %s"],Y00=[0,[11,AM,[2,0,[11,"`. Did you mean `",[2,0,[11,"`?",0]]]]],"Unexpected token `%s`. Did you mean `%s`?"],B00=[0,[11,uj,[2,0,[11,", expected ",[2,0,0]]]],"Unexpected %s, expected %s"],X00=[0,[11,"Undefined label '",[2,0,[12,39,0]]],"Undefined label '%s'"],W00="Parse_error.Error",V00=[0,[0,36,37],[0,48,58],[0,65,91],[0,95,96],[0,97,Rt],[0,$9,Rk],[0,gC,qk],[0,ey,LI],[0,Gh,eA],[0,ma,IT],[0,QI,J8],[0,Qr,706],[0,XM,722],[0,736,741],[0,748,749],[0,750,751],[0,768,885],[0,886,888],[0,890,894],[0,895,896],[0,902,907],[0,908,909],[0,910,930],[0,Pz,1014],[0,1015,1154],[0,1155,1160],[0,1162,1328],[0,1329,1367],[0,1369,1370],[0,1376,1417],[0,1425,1470],[0,1471,1472],[0,1473,1475],[0,1476,1478],[0,1479,1480],[0,1488,1515],[0,1519,1523],[0,1552,1563],[0,1568,1642],[0,1646,1748],[0,1749,1757],[0,1759,1769],[0,1770,1789],[0,1791,1792],[0,1808,1867],[0,1869,1970],[0,1984,2038],[0,2042,2043],[0,2045,2046],[0,aP,2094],[0,2112,2140],[0,2144,2155],[0,2208,2229],[0,2230,2238],[0,2259,2274],[0,2275,2404],[0,2406,2416],[0,2417,2436],[0,2437,2445],[0,2447,2449],[0,2451,2473],[0,2474,2481],[0,2482,2483],[0,2486,2490],[0,2492,2501],[0,2503,2505],[0,2507,2511],[0,2519,2520],[0,2524,2526],[0,2527,2532],[0,2534,2546],[0,2556,2557],[0,2558,2559],[0,2561,2564],[0,2565,2571],[0,2575,2577],[0,2579,2601],[0,2602,2609],[0,2610,2612],[0,2613,2615],[0,2616,2618],[0,2620,2621],[0,2622,2627],[0,2631,2633],[0,2635,2638],[0,2641,2642],[0,2649,2653],[0,2654,2655],[0,2662,2678],[0,2689,2692],[0,2693,2702],[0,2703,2706],[0,2707,2729],[0,2730,2737],[0,2738,2740],[0,2741,2746],[0,2748,2758],[0,2759,2762],[0,2763,2766],[0,2768,2769],[0,2784,2788],[0,2790,2800],[0,2809,2816],[0,2817,2820],[0,2821,2829],[0,2831,2833],[0,2835,2857],[0,2858,2865],[0,2866,2868],[0,2869,2874],[0,2876,2885],[0,2887,2889],[0,2891,2894],[0,2902,2904],[0,2908,2910],[0,2911,2916],[0,2918,2928],[0,2929,2930],[0,2946,2948],[0,2949,2955],[0,2958,2961],[0,2962,2966],[0,2969,2971],[0,2972,2973],[0,2974,2976],[0,2979,2981],[0,2984,2987],[0,2990,3002],[0,3006,3011],[0,3014,3017],[0,3018,3022],[0,3024,3025],[0,3031,3032],[0,3046,3056],[0,3072,3085],[0,3086,3089],[0,3090,3113],[0,3114,3130],[0,3133,3141],[0,3142,3145],[0,3146,3150],[0,3157,3159],[0,3160,3163],[0,3168,3172],[0,3174,3184],[0,3200,3204],[0,3205,3213],[0,3214,3217],[0,3218,3241],[0,3242,3252],[0,3253,3258],[0,3260,3269],[0,3270,3273],[0,3274,3278],[0,3285,3287],[0,3294,3295],[0,3296,3300],[0,3302,3312],[0,3313,3315],[0,3328,3332],[0,3333,3341],[0,3342,3345],[0,3346,3397],[0,3398,3401],[0,3402,3407],[0,3412,3416],[0,3423,3428],[0,3430,3440],[0,3450,3456],[0,3458,3460],[0,3461,3479],[0,3482,3506],[0,3507,3516],[0,3517,3518],[0,3520,3527],[0,3530,3531],[0,3535,3541],[0,3542,3543],[0,3544,3552],[0,3558,3568],[0,3570,3572],[0,3585,3643],[0,3648,3663],[0,3664,3674],[0,3713,3715],[0,3716,3717],[0,3718,3723],[0,3724,3748],[0,3749,3750],[0,3751,3774],[0,3776,3781],[0,3782,3783],[0,3784,3790],[0,3792,3802],[0,3804,3808],[0,3840,3841],[0,3864,3866],[0,3872,3882],[0,3893,3894],[0,3895,3896],[0,3897,3898],[0,3902,3912],[0,3913,3949],[0,3953,3973],[0,3974,3992],[0,3993,4029],[0,4038,4039],[0,HD,4170],[0,4176,4254],[0,4256,4294],[0,4295,4296],[0,4301,4302],[0,4304,4347],[0,4348,4681],[0,4682,4686],[0,4688,4695],[0,4696,4697],[0,4698,4702],[0,4704,4745],[0,4746,4750],[0,4752,4785],[0,4786,4790],[0,4792,4799],[0,4800,4801],[0,4802,4806],[0,4808,4823],[0,4824,4881],[0,4882,4886],[0,4888,4955],[0,4957,4960],[0,4969,4978],[0,4992,5008],[0,5024,5110],[0,5112,5118],[0,5121,5741],[0,5743,QT],[0,5761,5787],[0,5792,5867],[0,5870,5881],[0,5888,5901],[0,5902,5909],[0,5920,5941],[0,5952,5972],[0,5984,5997],[0,5998,6001],[0,6002,6004],[0,6016,6100],[0,6103,6104],[0,6108,6110],[0,6112,6122],[0,6155,6158],[0,6160,6170],[0,6176,6265],[0,6272,6315],[0,6320,6390],[0,6400,6431],[0,6432,6444],[0,6448,6460],[0,6470,6510],[0,6512,6517],[0,6528,6572],[0,6576,6602],[0,6608,6619],[0,6656,6684],[0,6688,6751],[0,6752,6781],[0,6783,6794],[0,6800,6810],[0,6823,6824],[0,6832,6846],[0,6912,6988],[0,6992,7002],[0,7019,7028],[0,7040,7156],[0,7168,7224],[0,7232,7242],[0,7245,7294],[0,7296,7305],[0,7312,7355],[0,7357,7360],[0,7376,7379],[0,7380,7419],[0,7424,7674],[0,7675,7958],[0,7960,7966],[0,7968,8006],[0,8008,8014],[0,8016,8024],[0,8025,8026],[0,8027,8028],[0,8029,8030],[0,8031,8062],[0,8064,8117],[0,8118,8125],[0,8126,8127],[0,8130,8133],[0,8134,8141],[0,8144,8148],[0,8150,8156],[0,8160,8173],[0,8178,8181],[0,8182,8189],[0,Cj,JD],[0,8255,8257],[0,8276,8277],[0,M8,8306],[0,b5,8320],[0,8336,8349],[0,8400,8413],[0,8417,8418],[0,8421,8433],[0,ky,8451],[0,P5,8456],[0,8458,g8],[0,qp,8470],[0,Cz,8478],[0,Ay,vp],[0,s8,o8],[0,jp,Yp],[0,8490,8506],[0,8508,8512],[0,8517,8522],[0,i8,8527],[0,8544,8585],[0,11264,11311],[0,11312,11359],[0,11360,11493],[0,11499,11508],[0,11520,z4],[0,U8,11560],[0,j4,11566],[0,11568,11624],[0,N5,11632],[0,V8,11671],[0,11680,kp],[0,11688,p8],[0,11696,Z4],[0,11704,T8],[0,11712,X5],[0,11720,D5],[0,11728,Lp],[0,11736,11743],[0,11744,11776],[0,12293,12296],[0,12321,D4],[0,12337,12342],[0,12344,12349],[0,12353,12439],[0,12441,z5],[0,12449,vy],[0,12540,12544],[0,12549,E5],[0,12593,12687],[0,12704,12731],[0,12784,12800],[0,13312,19894],[0,19968,40944],[0,40960,42125],[0,42192,42238],[0,42240,42509],[0,42512,42540],[0,42560,42608],[0,42612,V5],[0,42623,42738],[0,42775,42784],[0,42786,42889],[0,42891,42944],[0,42946,42951],[0,D8,43048],[0,43072,43124],[0,43136,43206],[0,43216,43226],[0,43232,43256],[0,U5,F5],[0,43261,43310],[0,43312,43348],[0,43360,43389],[0,43392,43457],[0,Ep,43482],[0,43488,sy],[0,43520,43575],[0,43584,43598],[0,43600,43610],[0,43616,43639],[0,S8,43715],[0,43739,43742],[0,43744,43760],[0,43762,43767],[0,43777,43783],[0,43785,43791],[0,43793,43799],[0,43808,b8],[0,43816,t8],[0,43824,t5],[0,43868,f8],[0,43888,44011],[0,44012,44014],[0,44016,44026],[0,44032,55204],[0,55216,55239],[0,55243,55292],[0,63744,64110],[0,64112,64218],[0,64256,64263],[0,64275,64280],[0,Pp,B8],[0,64298,oy],[0,64312,H5],[0,$8,up],[0,64320,Sp],[0,64323,v5],[0,64326,64434],[0,64467,64830],[0,64848,64912],[0,64914,64968],[0,65008,65020],[0,65024,65040],[0,65056,65072],[0,65075,65077],[0,65101,65104],[0,65136,Tp],[0,65142,65277],[0,65296,65306],[0,65313,65339],[0,65343,O5],[0,65345,65371],[0,65382,65471],[0,65474,65480],[0,65482,65488],[0,65490,65496],[0,65498,65501],[0,b3,a8],[0,65549,m8],[0,65576,lp],[0,65596,p5],[0,65599,65614],[0,65616,65630],[0,65664,65787],[0,65856,65909],[0,66045,66046],[0,66176,66205],[0,66208,66257],[0,66272,66273],[0,66304,66336],[0,66349,66379],[0,66384,66427],[0,66432,66462],[0,66464,66500],[0,66504,s5],[0,66513,66518],[0,66560,66718],[0,66720,66730],[0,66736,66772],[0,66776,66812],[0,66816,66856],[0,66864,66916],[0,67072,67383],[0,67392,67414],[0,67424,67432],[0,67584,67590],[0,cy,a5],[0,67594,Y5],[0,67639,67641],[0,Q5,67645],[0,67647,67670],[0,67680,67703],[0,67712,67743],[0,67808,hy],[0,67828,67830],[0,67840,67862],[0,67872,67898],[0,67968,68024],[0,68030,68032],[0,Cy,68100],[0,68101,68103],[0,68108,cp],[0,68117,Ty],[0,68121,68150],[0,68152,68155],[0,68159,68160],[0,68192,68221],[0,68224,68253],[0,68288,B4],[0,68297,68327],[0,68352,68406],[0,68416,68438],[0,68448,68467],[0,68480,68498],[0,68608,68681],[0,68736,68787],[0,68800,68851],[0,68864,68904],[0,68912,68922],[0,69376,69405],[0,c8,69416],[0,69424,69457],[0,69600,69623],[0,69632,69703],[0,69734,hp],[0,69759,69819],[0,69840,69865],[0,69872,69882],[0,69888,69941],[0,69942,69952],[0,z8,v8],[0,69968,70004],[0,Q4,70007],[0,70016,70085],[0,70089,70093],[0,70096,W4],[0,Sy,70109],[0,70144,ry],[0,70163,70200],[0,70206,70207],[0,70272,w8],[0,f5,sp],[0,70282,G8],[0,70287,b4],[0,70303,70313],[0,70320,70379],[0,70384,70394],[0,70400,P8],[0,70405,70413],[0,70415,70417],[0,70419,C8],[0,70442,yp],[0,70450,wy],[0,70453,70458],[0,70459,70469],[0,70471,70473],[0,70475,70478],[0,Ey,70481],[0,70487,70488],[0,70493,70500],[0,70502,70509],[0,70512,70517],[0,70656,70731],[0,70736,70746],[0,B5,70752],[0,70784,w5],[0,m5,70856],[0,70864,70874],[0,71040,71094],[0,71096,71105],[0,71128,71134],[0,71168,71233],[0,Wp,71237],[0,71248,71258],[0,71296,71353],[0,71360,71370],[0,71424,71451],[0,71453,71468],[0,71472,71482],[0,71680,71739],[0,71840,71914],[0,71935,71936],[0,72096,72104],[0,72106,72152],[0,72154,A8],[0,O4,72165],[0,ty,72255],[0,72263,72264],[0,i5,72346],[0,n8,72350],[0,72384,72441],[0,72704,r5],[0,72714,72759],[0,72760,72769],[0,72784,72794],[0,72818,72848],[0,72850,72872],[0,72873,72887],[0,72960,F4],[0,72968,_5],[0,72971,73015],[0,73018,73019],[0,73020,73022],[0,73023,73032],[0,73040,73050],[0,73056,fy],[0,73063,R8],[0,73066,73103],[0,73104,73106],[0,73107,73113],[0,73120,73130],[0,73440,73463],[0,73728,74650],[0,74752,74863],[0,74880,75076],[0,77824,78895],[0,82944,83527],[0,92160,92729],[0,92736,92767],[0,92768,92778],[0,92880,92910],[0,92912,92917],[0,92928,92983],[0,92992,92996],[0,93008,93018],[0,93027,93048],[0,93053,93072],[0,93760,93824],[0,93952,94027],[0,j8,94088],[0,94095,94112],[0,94176,Gp],[0,Op,94180],[0,94208,100344],[0,100352,101107],[0,110592,110879],[0,110928,110931],[0,110948,110952],[0,110960,111356],[0,113664,113771],[0,113776,113789],[0,113792,113801],[0,113808,113818],[0,113821,113823],[0,119141,119146],[0,119149,119155],[0,119163,119171],[0,119173,119180],[0,119210,119214],[0,119362,119365],[0,119808,M4],[0,119894,O8],[0,119966,119968],[0,Py,119971],[0,119973,119975],[0,119977,$p],[0,119982,Cp],[0,R5,h5],[0,119997,u5],[0,120005,Np],[0,120071,120075],[0,120077,Fp],[0,120086,o5],[0,120094,e8],[0,120123,Kp],[0,120128,xy],[0,Up,120135],[0,120138,Dp],[0,120146,120486],[0,120488,ay],[0,120514,h8],[0,120540,x5],[0,120572,Y4],[0,120598,q4],[0,120630,uy],[0,120656,j5],[0,120688,gy],[0,120714,Q8],[0,120746,my],[0,120772,120780],[0,120782,120832],[0,121344,121399],[0,121403,121453],[0,121461,121462],[0,121476,121477],[0,121499,121504],[0,121505,121520],[0,122880,122887],[0,122888,122905],[0,122907,122914],[0,122915,122917],[0,122918,122923],[0,123136,123181],[0,123184,123198],[0,123200,123210],[0,_p,123215],[0,123584,123642],[0,124928,125125],[0,125136,125143],[0,125184,125260],[0,125264,125274],[0,126464,A5],[0,126469,yy],[0,126497,K5],[0,zp,126501],[0,G4,y5],[0,126505,rp],[0,126516,Bp],[0,L4,Z8],[0,X8,126524],[0,L5,126531],[0,M5,wp],[0,k5,l5],[0,ly,C5],[0,126541,E8],[0,126545,dp],[0,kr,126549],[0,d5,py],[0,pp,u8],[0,Qp,Ny],[0,J4,q5],[0,H4,dy],[0,126561,Xp],[0,$4,126565],[0,126567,Z5],[0,126572,X4],[0,126580,l8],[0,126585,Ap],[0,ip,Iy],[0,126592,F8],[0,126603,126620],[0,126625,L8],[0,126629,Y8],[0,126635,126652],[0,131072,173783],[0,173824,177973],[0,177984,178206],[0,178208,183970],[0,183984,191457],[0,194560,195102],[0,917760,918e3]],Z00=[0,1,0],$00=[0,0,[0,1,0],[0,1,0]],F00=tj,Q00="end of input",H00=dl,q00="template literal part",G00=dl,b00=FD,xx0=tj,rx0=dl,ex0=ka,tx0=dl,nx0=pv,ux0=dl,ix0=La,fx0="an",cx0=It,sx0=Lt,ox0=[0,[11,"token `",[2,0,[12,96,0]]],"token `%s`"],vx0="{",ax0=K8,lx0="{|",px0="|}",yx0=OU,dx0=YS,mx0="[",kx0="]",hx0=TT,_x0=zU,wx0=Hf,Tx0="=>",Sx0="...",Ex0=pD,Ax0=jU,gx0=la,Nx0=Hp,Ix0=mo,Px0=Z3,Cx0=Me,Rx0=Ke,Ox0=fv,Lx0=ze,Ux0=ny,Mx0=sl,Dx0=Mp,jx0=ap,zx0=nl,Kx0=ya,Jx0=lv,Yx0=As,Bx0=Ts,Xx0=Le,Wx0=Jp,Vx0=W8,Zx0=Ce,$x0=cv,Fx0=W5,Qx0=gp,Hx0=d8,qx0=Y3,Gx0=Ic,bx0=De,xr0=Rp,rr0=iv,er0=el,tr0=ws,nr0=gs,ur0=cl,ir0=r8,fr0=R2,cr0=Ia,sr0=dv,or0=F2,vr0=Zp,ar0=kl,lr0=W3,pr0=j3,yr0=U2,dr0=Re,mr0=Q3,kr0=bu,hr0=Oh,_r0=Bh,wr0=ko,Tr0=_v,Sr0="%checks",Er0=cz,Ar0=dM,gr0=_j,Nr0=Jz,Ir0=ED,Pr0=nM,Cr0=CU,Rr0=Qz,Or0=bM,Lr0=cM,Ur0=eK,Mr0=yM,Dr0=zD,jr0=$z,zr0=Jj,Kr0=M_,Jr0="?.",Yr0=s9,Br0="?",Xr0=Nv,Wr0=sD,Vr0=qz,Zr0=nK,$r0=k8,Fr0=R4,Qr0=rM,Hr0=KM,qr0=bU,Gr0=DM,br0=SM,x10=pj,r10=YT,e10=$3,t10=QU,n10=pM,u10=UU,i10=Ls,f10=Ot,c10=$2,s10=oz,o10=RM,v10=YM,a10=OM,l10=$j,p10=Az,y10=hD,d10=wx,m10=n5,k10=op,h10=ce,_10=ka,w10=pv,T10=La,S10=gs,E10=_x,A10=g5,g10=I8,N10=G5,I10=N8,P10=Ta,C10=ID,R10=al,O10=da,L10=D3,U10=D3,M10=Hz,D10=D3,j10=D3,z10=K8,K10=K8,J10=Hz,Y10=$2,B10=$2,X10=F3,W10=S5,V10="T_LCURLY",Z10="T_RCURLY",$10="T_LCURLYBAR",F10="T_RCURLYBAR",Q10="T_LPAREN",H10="T_RPAREN",q10="T_LBRACKET",G10="T_RBRACKET",b10="T_SEMICOLON",x20="T_COMMA",r20="T_PERIOD",e20="T_ARROW",t20="T_ELLIPSIS",n20="T_AT",u20="T_POUND",i20="T_FUNCTION",f20="T_IF",c20="T_IN",s20="T_INSTANCEOF",o20="T_RETURN",v20="T_SWITCH",a20="T_THIS",l20="T_THROW",p20="T_TRY",y20="T_VAR",d20="T_WHILE",m20="T_WITH",k20="T_CONST",h20="T_LET",_20="T_NULL",w20="T_FALSE",T20="T_TRUE",S20="T_BREAK",E20="T_CASE",A20="T_CATCH",g20="T_CONTINUE",N20="T_DEFAULT",I20="T_DO",P20="T_FINALLY",C20="T_FOR",R20="T_CLASS",O20="T_EXTENDS",L20="T_STATIC",U20="T_ELSE",M20="T_NEW",D20="T_DELETE",j20="T_TYPEOF",z20="T_VOID",K20="T_ENUM",J20="T_EXPORT",Y20="T_IMPORT",B20="T_SUPER",X20="T_IMPLEMENTS",W20="T_INTERFACE",V20="T_PACKAGE",Z20="T_PRIVATE",$20="T_PROTECTED",F20="T_PUBLIC",Q20="T_YIELD",H20="T_DEBUGGER",q20="T_DECLARE",G20="T_TYPE",b20="T_OPAQUE",xe0="T_OF",re0="T_ASYNC",ee0="T_AWAIT",te0="T_CHECKS",ne0="T_RSHIFT3_ASSIGN",ue0="T_RSHIFT_ASSIGN",ie0="T_LSHIFT_ASSIGN",fe0="T_BIT_XOR_ASSIGN",ce0="T_BIT_OR_ASSIGN",se0="T_BIT_AND_ASSIGN",oe0="T_MOD_ASSIGN",ve0="T_DIV_ASSIGN",ae0="T_MULT_ASSIGN",le0="T_EXP_ASSIGN",pe0="T_MINUS_ASSIGN",ye0="T_PLUS_ASSIGN",de0="T_NULLISH_ASSIGN",me0="T_AND_ASSIGN",ke0="T_OR_ASSIGN",he0="T_ASSIGN",_e0="T_PLING_PERIOD",we0="T_PLING_PLING",Te0="T_PLING",Se0="T_COLON",Ee0="T_OR",Ae0="T_AND",ge0="T_BIT_OR",Ne0="T_BIT_XOR",Ie0="T_BIT_AND",Pe0="T_EQUAL",Ce0="T_NOT_EQUAL",Re0="T_STRICT_EQUAL",Oe0="T_STRICT_NOT_EQUAL",Le0="T_LESS_THAN_EQUAL",Ue0="T_GREATER_THAN_EQUAL",Me0="T_LESS_THAN",De0="T_GREATER_THAN",je0="T_LSHIFT",ze0="T_RSHIFT",Ke0="T_RSHIFT3",Je0="T_PLUS",Ye0="T_MINUS",Be0="T_DIV",Xe0="T_MULT",We0="T_EXP",Ve0="T_MOD",Ze0="T_NOT",$e0="T_BIT_NOT",Fe0="T_INCR",Qe0="T_DECR",He0="T_EOF",qe0="T_ANY_TYPE",Ge0="T_MIXED_TYPE",be0="T_EMPTY_TYPE",xt0="T_NUMBER_TYPE",rt0="T_BIGINT_TYPE",et0="T_STRING_TYPE",tt0="T_VOID_TYPE",nt0="T_SYMBOL_TYPE",ut0="T_UNKNOWN_TYPE",it0="T_NEVER_TYPE",ft0="T_UNDEFINED_TYPE",ct0="T_KEYOF",st0="T_READONLY",ot0="T_INFER",vt0="T_IS",at0="T_ASSERTS",lt0="T_NUMBER",pt0="T_BIGINT",yt0="T_STRING",dt0="T_TEMPLATE_PART",mt0="T_IDENTIFIER",kt0="T_REGEXP",ht0="T_INTERPRETER",_t0="T_ERROR",wt0="T_JSX_IDENTIFIER",Tt0=Zz,St0=Zz,Et0="T_BOOLEAN_TYPE",At0="T_NUMBER_SINGLETON_TYPE",gt0="T_BIGINT_SINGLETON_TYPE",Nt0=[0,VD,OS,9],It0=[0,VD,$T,9],Pt0=uD,Ct0="*/",Rt0=uD,Ot0="unreachable line_comment",Lt0="unreachable string_quote",Ut0="\\",Mt0="unreachable template_part",Dt0=`\r -`,jt0=pT,zt0="unreachable regexp_class",Kt0=mz,Jt0="unreachable regexp_body",Yt0=wx,Bt0=wx,Xt0=wx,Wt0=wx,Vt0=sz,Zt0="{'>'}",$t0=$3,Ft0="{'}'}",Qt0=K8,Ht0=lo,qt0=TT,Gt0=R4,bt0=sz,xn0=lo,rn0=TT,en0=R4,tn0="unreachable type_token wholenumber",nn0="unreachable type_token wholebigint",un0="unreachable type_token floatbigint",in0="unreachable type_token scinumber",fn0="unreachable type_token scibigint",cn0="unreachable type_token hexnumber",sn0="unreachable type_token hexbigint",on0="unreachable type_token legacyoctnumber",vn0="unreachable type_token octnumber",an0="unreachable type_token octbigint",ln0="unreachable type_token binnumber",pn0="unreachable type_token bigbigint",yn0="unreachable type_token",dn0=yz,mn0=[11,1],kn0=[11,0],hn0="unreachable template_tail",_n0=wx,wn0=wx,Tn0="unreachable jsx_child",Sn0="unreachable jsx_tag",En0=[0,sM],An0=[0,913],gn0=[0,ma],Nn0=[0,kh],In0=[0,zM],Pn0=[0,Bz],Cn0=[0,8747],Rn0=[0,uz],On0=[0,916],Ln0=[0,8225],Un0=[0,935],Mn0=[0,yA],Dn0=[0,914],jn0=[0,Sj],zn0=[0,MM],Kn0=[0,Rz],Jn0=[0,915],Yn0=[0,zz],Bn0=[0,919],Xn0=[0,917],Wn0=[0,uK],Vn0=[0,qj],Zn0=[0,EM],$n0=[0,924],Fn0=[0,923],Qn0=[0,922],Hn0=[0,Gz],qn0=[0,921],Gn0=[0,WM],bn0=[0,$T],x70=[0,KU],r70=[0,QI],e70=[0,927],t70=[0,937],n70=[0,Wz],u70=[0,sE],i70=[0,BM],f70=[0,338],c70=[0,352],s70=[0,929],o70=[0,936],v70=[0,8243],a70=[0,928],l70=[0,934],p70=[0,Wj],y70=[0,LU],d70=[0,933],m70=[0,Aj],k70=[0,Fj],h70=[0,Oz],_70=[0,920],w70=[0,932],T70=[0,WU],S70=[0,KD],E70=[0,OD],A70=[0,mj],g70=[0,918],N70=[0,376],I70=[0,XD],P70=[0,926],C70=[0,hj],R70=[0,Pz],O70=[0,925],L70=[0,39],U70=[0,8736],M70=[0,8743],D70=[0,38],j70=[0,945],z70=[0,8501],K70=[0,Aa],J70=[0,8226],Y70=[0,PD],B70=[0,946],X70=[0,8222],W70=[0,kj],V70=[0,Vz],Z70=[0,8776],$70=[0,vz],F70=[0,8773],Q70=[0,9827],H70=[0,XM],q70=[0,967],G70=[0,jD],b70=[0,LI],xu0=[0,bD],ru0=[0,fD],eu0=[0,8595],tu0=[0,8224],nu0=[0,8659],uu0=[0,LT],iu0=[0,8746],fu0=[0,8629],cu0=[0,e5],su0=[0,8745],ou0=[0,8195],vu0=[0,8709],au0=[0,xK],lu0=[0,tK],pu0=[0,mD],yu0=[0,J8],du0=[0,9830],mu0=[0,8707],ku0=[0,8364],hu0=[0,Sz],_u0=[0,ha],wu0=[0,951],Tu0=[0,8801],Su0=[0,949],Eu0=[0,8194],Au0=[0,8805],gu0=[0,947],Nu0=[0,8260],Iu0=[0,mM],Pu0=[0,sj],Cu0=[0,OS],Ru0=[0,8704],Ou0=[0,mT],Lu0=[0,Qg],Uu0=[0,8230],Mu0=[0,9829],Du0=[0,8596],ju0=[0,8660],zu0=[0,62],Ku0=[0,402],Ju0=[0,948],Yu0=[0,gD],Bu0=[0,GS],Xu0=[0,8712],Wu0=[0,GD],Vu0=[0,953],Zu0=[0,8734],$u0=[0,8465],Fu0=[0,Mz],Qu0=[0,8220],Hu0=[0,8968],qu0=[0,8592],Gu0=[0,Rk],bu0=[0,10216],xi0=[0,955],ri0=[0,8656],ei0=[0,954],ti0=[0,60],ni0=[0,8216],ui0=[0,8249],ii0=[0,JD],fi0=[0,9674],ci0=[0,8727],si0=[0,8970],oi0=[0,KS],vi0=[0,8711],ai0=[0,956],li0=[0,8722],pi0=[0,ey],yi0=[0,gC],di0=[0,8212],mi0=[0,kk],ki0=[0,8804],hi0=[0,957],_i0=[0,RU],wi0=[0,8836],Ti0=[0,8713],Si0=[0,RD],Ei0=[0,8715],Ai0=[0,8800],gi0=[0,8853],Ni0=[0,959],Ii0=[0,969],Pi0=[0,8254],Ci0=[0,fz],Ri0=[0,339],Oi0=[0,$5],Li0=[0,Uj],Ui0=[0,qk],Mi0=[0,_8],Di0=[0,8855],ji0=[0,kS],zi0=[0,Qr],Ki0=[0,Gh],Ji0=[0,$9],Yi0=[0,gz],Bi0=[0,hM],Xi0=[0,982],Wi0=[0,960],Vi0=[0,966],Zi0=[0,8869],$i0=[0,8240],Fi0=[0,8706],Qi0=[0,8744],Hi0=[0,8211],qi0=[0,10217],Gi0=[0,8730],bi0=[0,8658],xf0=[0,34],rf0=[0,968],ef0=[0,8733],tf0=[0,8719],nf0=[0,961],uf0=[0,8971],if0=[0,Fz],ff0=[0,8476],cf0=[0,8221],sf0=[0,8969],of0=[0,8594],vf0=[0,eA],af0=[0,Ej],lf0=[0,jN],pf0=[0,8901],yf0=[0,353],df0=[0,8218],mf0=[0,8217],kf0=[0,8250],hf0=[0,8835],_f0=[0,8721],wf0=[0,8838],Tf0=[0,8834],Sf0=[0,9824],Ef0=[0,8764],Af0=[0,962],gf0=[0,963],Nf0=[0,8207],If0=[0,952],Pf0=[0,8756],Cf0=[0,964],Rf0=[0,x8],Of0=[0,8839],Lf0=[0,MU],Uf0=[0,Hj],Mf0=[0,Pv],Df0=[0,8657],jf0=[0,8482],zf0=[0,IT],Kf0=[0,732],Jf0=[0,Pa],Yf0=[0,8201],Bf0=[0,977],Xf0=[0,Cz],Wf0=[0,Ea],Vf0=[0,965],Zf0=[0,978],$f0=[0,OT],Ff0=[0,V4],Qf0=[0,oj],Hf0=[0,Cj],qf0=[0,8205],Gf0=[0,950],bf0=[0,B3],xc0=[0,_z],rc0=[0,H8],ec0=[0,958],tc0=[0,8593],nc0=[0,Xw],uc0=[0,8242],ic0=[0,$D],fc0="unreachable regexp",cc0="unreachable token wholenumber",sc0="unreachable token wholebigint",oc0="unreachable token floatbigint",vc0="unreachable token scinumber",ac0="unreachable token scibigint",lc0="unreachable token hexnumber",pc0="unreachable token hexbigint",yc0="unreachable token legacyoctnumber",dc0="unreachable token legacynonoctnumber",mc0="unreachable token octnumber",kc0="unreachable token octbigint",hc0="unreachable token bignumber",_c0="unreachable token bigint",wc0="unreachable token",Tc0=yz,Sc0=[7,"#!"],Ec0="expected ?",Ac0="unreachable string_escape",gc0=Q2,Nc0=K3,Ic0=K3,Pc0=Q2,Cc0=QE,Rc0=Yj,Oc0="n",Lc0="r",Uc0="t",Mc0=UM,Dc0=K3,jc0=lo,zc0=lo,Kc0="unreachable id_char",Jc0=lo,Yc0=lo,Bc0=K3,Xc0=gM,Wc0=AD,Vc0=xS,Zc0=[23,"token ILLEGAL"],$c0=[0,[11,"the identifier `",[2,0,[12,96,0]]],"the identifier `%s`"],Fc0=[0,1],Qc0=[0,1],Hc0=nD,qc0=nD,Gc0=[0,[11,"an identifier. When exporting a ",[2,0,[11," as a named export, you must specify a ",[2,0,[11," name. Did you mean `export default ",[2,0,[11," ...`?",0]]]]]]],"an identifier. When exporting a %s as a named export, you must specify a %s name. Did you mean `export default %s ...`?"],bc0=fp,xs0="Peeking current location when not available",rs0=[0,"src/parser/parser_env.ml",351,9],es0="Internal Error: Tried to add_declared_private with outside of class scope.",ts0="Internal Error: `exit_class` called before a matching `enter_class`",ns0=wx,us0=[0,0,0],is0=[0,0,0],fs0="Parser_env.Try.Rollback",cs0=wx,ss0=wx,os0=[0,U2,ri,vf,xD,kD,Lf,L2,Ei,Yc,qu,W7,Hn,Ec,Bu,oi,U7,w7,$7,Jf,Xf,Ti,M7,Jn,ai,Lc,h7,Rc,li,Kf,hi,Fn,Xn,rc,hu,Ki,cf,Kc,ze,wf,Si,gc,pf,Rf,Z7,Eu,Ke,Gi,m7,Bi,Ji,Tc,N7,Xu,lc,Me,I7,Zi,pu,Pu,fu,pc,je,su,ac,Uf,mu,zc,Df,b7,$f,fc,Nu,Oi,a7,f7,Lu,X7,S7,wc,vc,D7,Au,Pc,pn,Sf,Yu,bn,Qf,H7,si,bf,ei,kf,ti,r7,Oc,nf,Dc,Wi,ru,Yf,Of,Pi,g7,mf,Y7,Ac,zu,Nc,Cc,i7,$u,yc,Cu,ii,u7,xr,qi,tu,Kn,P7,Ni,Bn,Ou,L7,qf,$i,Vf,Zf,Vn,q7,n7,C7,ui,Mc,xi,du,yf,x7,tc,Sc,Ju,Ui,F1,au,G7,Wc,uu,Di,Mf,Qn,Hu,F2,A7,jf,cu,of,c7,Du,eu,di,R2,_7,t7,k7,It,Su,ou,mi,lu,Yi,jc,ki,zn,af,Gu,If,Fu,Qu,R7,Yn,d7,nc,jn,F7,xc,Vu,iu,wu,Ru,Ci,xu,V7,df,Cf,o7,J7,Zn,Zu,pi,Q1,z7,zf,v7,_f,$n,p7,ef,Uu,gu,cc,kc,xf,Li,Iu,e7,_u,Hi,ff,qn,Ri,ce,Ai,_c,Tf,ec,sf,Gf,ju,Pf,y7,Mi,dc,lf,Mu,Re,Ce,Fi,oc,ic,Wn,Wf,tf,vi,mc,Wu,K7,Bc,s7,nu,Xi,Ff,rj,fi,Zj,ZM,_i,bi,yi,Tu,B7,Jc,Qi,ji,ku,j7,uf,Gn,hc,Xc,ci,T7,Bf,rf,Q7,E7,Le,sc,Ku,un,Nf,zi,O7,uc,yu,Ii,Af,l7,ni,gf,hf],vs0=[0,U2,ri,vf,Lf,L2,Ei,Yc,qu,W7,Hn,Ec,Bu,oi,U7,w7,$7,Jf,Xf,Ti,M7,Jn,ai,Lc,h7,Rc,li,Kf,hi,Fn,Xn,rc,hu,Ki,cf,Kc,ze,wf,Si,gc,pf,Rf,Z7,Eu,Ke,Gi,m7,Bi,Ji,Tc,N7,Xu,lc,Me,I7,Zi,pu,Pu,fu,pc,je,su,ac,Uf,mu,zc,Df,b7,$f,fc,Nu,Oi,a7,f7,Lu,X7,S7,wc,vc,D7,Au,Pc,pn,Sf,Yu,bn,Qf,H7,si,bf,ei,kf,ti,r7,Oc,nf,Dc,Wi,ru,Yf,Of,Pi,g7,mf,Y7,Ac,zu,Nc,Cc,i7,$u,yc,Cu,ii,u7,xr,qi,tu,Kn,P7,Ni,Bn,Ou,L7,qf,$i,Vf,Zf,Vn,q7,n7,C7,ui,Mc,xi,du,yf,x7,tc,Sc,Ju,Ui,F1,au,G7,Wc,uu,Di,Mf,Qn,Hu,F2,A7,jf,cu,of,c7,Du,eu,di,R2,_7,t7,k7,It,Su,ou,mi,lu,Yi,jc,ki,zn,af,Gu,If,Fu,Qu,R7,Yn,d7,nc,jn,F7,xc,Vu,iu,wu,Ru,Ci,xu,V7,df,Cf,o7,J7,Zn,Zu,pi,Q1,z7,zf,v7,_f,$n,p7,ef,Uu,gu,cc,kc,xf,Li,Iu,e7,_u,Hi,ff,qn,Ri,ce,Ai,_c,Tf,ec,sf,Gf,ju,Pf,y7,Mi,dc,lf,Mu,Re,Ce,Fi,oc,ic,Wn,Wf,tf,vi,mc,Wu,K7,Bc,s7,nu,Xi,Ff,fi,_i,bi,yi,Tu,B7,Jc,Qi,ji,ku,j7,uf,Gn,hc,Xc,ci,T7,Bf,rf,Q7,E7,Le,sc,Ku,un,Nf,zi,O7,uc,yu,Ii,Af,l7,ni,gf,hf],as0=[0,Tc,F1,Fu,Su,zn,E7,Nc,Yf,ui,Qn,Ku,Rc,bf,Ke,H7,zf,uf,nf,tc,i7,A7,Ju,Hi,Li,ri,S7,lu,wu,f7,qf,mc,mi,_u,Cu,It,Lf,Cf,fc,Pf,rf,Qu,Bf,yf,Uu,su,jc,Ru,Eu,Pi,t7,Bi,of,ff,L7,yc,ji,bi,Sf,hf,zc,s7,ai,ru,Uf,q7,B7,ei,je,Oc,af,Yu,ii,Mc,x7,ou,P7,oc,Kf,kc,n7,Ni,If,$f,l7,Gf,p7,qi,pu,Pc,ni,Ri,Q7,lc,L2,ac,dc,$7,I7,_7,O7,iu,Kc,Wc,j7,Y7,Z7,ce,V7,li,U2,Bn,cf,Mi,Df,Bu,D7,lf,Pu,uc,Ec,_i,y7,zu,qu,Sc,Xn,Mf,Iu,Zn,si,v7,Ou,vc,o7,Xf,Fn,nu,Ei,rc,N7,Jf,m7,Hn,Jc,jf,Ci,yi,Kn,Gu,Xi,W7,fi,Ac,Vf,yu,tu,Xc,ku,K7,wc,Zf,Bc,xr,R2,Me,w7,Ti,Gi,X7,ze,Re,Cc,k7,Qf,pi,Ui,pn,sc,nc,e7,cu,Tu,z7,R7,au,ki,U7,xf,pc,xc,eu,cc,$n,Wf,mf,Xu,Of,c7,ti,Oi,hi,Wi,mu,r7,M7,sf,ci,ju,Nf,uu,Rf,qn,hu,Yi,fu,di,Dc,hc,g7,du,Qi,Hu,Ai,h7,gf,Yc,_c,T7,Lc,Tf,xi,G7,ic,$i,a7,$u,Di,J7,Vn,Jn,gc,Ii,tf,Lu,zi,Q1,Au,Ff,Zu,Ki,jn,F7,Ji,Ce,Yn,Wu,b7,ef,ec,Si,pf,Vu,_f,oi,xu,bn,un,Du,Gn,C7,kf,d7,Mu,gu,Le,Af,F2,Fi,vf,vi,Zi,df,Wn,Nu,wf,u7],ls0=[0,Tc,F1,Fu,Su,zn,E7,Nc,Yf,ui,Qn,Ku,Rc,bf,Ke,H7,zf,uf,nf,tc,i7,A7,Ju,Hi,Li,ri,S7,lu,wu,f7,qf,mc,mi,_u,Cu,It,Lf,kD,Cf,fc,Pf,rf,Qu,Bf,yf,Uu,su,jc,Ru,Eu,Pi,t7,Bi,of,ff,L7,yc,ji,bi,Sf,hf,zc,s7,Zj,ai,ru,Uf,q7,B7,ei,je,Oc,af,Yu,ii,Mc,x7,ou,P7,oc,Kf,kc,n7,Ni,If,$f,l7,Gf,p7,qi,pu,Pc,ni,Ri,Q7,lc,L2,ac,dc,$7,I7,_7,O7,iu,Kc,Wc,j7,Y7,Z7,ce,V7,li,U2,Bn,cf,Mi,Df,Bu,D7,lf,Pu,uc,Ec,_i,y7,zu,qu,Sc,Xn,Mf,Iu,Zn,si,v7,Ou,vc,o7,Xf,Fn,nu,Ei,rc,N7,Jf,m7,Hn,Jc,jf,Ci,yi,Kn,Gu,Xi,W7,fi,Ac,Vf,yu,tu,Xc,ku,K7,wc,Zf,Bc,xr,R2,Me,w7,Ti,Gi,X7,ze,Re,Cc,k7,Qf,pi,Ui,pn,sc,nc,e7,cu,Tu,z7,R7,au,ki,U7,xf,pc,xc,eu,cc,$n,Wf,mf,Xu,Of,c7,ti,Oi,hi,Wi,mu,r7,M7,sf,ci,ju,Nf,uu,ZM,Rf,qn,hu,Yi,fu,di,Dc,hc,g7,du,Qi,Hu,Ai,h7,rj,gf,Yc,_c,T7,Lc,xD,Tf,xi,G7,ic,$i,a7,$u,Di,J7,Vn,Jn,gc,Ii,tf,Lu,zi,Q1,Au,Ff,Zu,Ki,jn,F7,Ji,Ce,Yn,Wu,b7,ef,ec,Si,pf,Vu,_f,oi,xu,bn,un,Du,Gn,C7,kf,d7,Mu,gu,Le,Af,F2,Fi,vf,vi,Zi,df,Wn,Nu,wf,u7],ps0=la,ys0=Hp,ds0=mo,ms0=Z3,ks0=Me,hs0=Ke,_s0=fv,ws0=ze,Ts0=ny,Ss0=sl,Es0=Mp,As0=ap,gs0=nl,Ns0=ya,Is0=lv,Ps0=As,Cs0=Ts,Rs0=Le,Os0=Jp,Ls0=W8,Us0=Ce,Ms0=cv,Ds0=W5,js0=gp,zs0=d8,Ks0=Y3,Js0=Ic,Ys0=De,Bs0=Rp,Xs0=iv,Ws0=el,Vs0=ws,Zs0=gs,$s0=cl,Fs0=r8,Qs0=R2,Hs0=Ia,qs0=dv,Gs0=F2,bs0=Zp,xo0=kl,ro0=W3,eo0=j3,to0=U2,no0=Re,uo0=Q3,io0=bu,fo0=Oh,co0=Bh,so0=ko,oo0=_v,vo0=n5,ao0=op,lo0=ce,po0=ka,yo0=pv,do0=La,mo0=gs,ko0=_x,ho0=g5,_o0=I8,wo0=G5,To0=N8,So0=Ta,Eo0=al,Ao0=da,go0=F3,No0=S5,Io0=[0,fp],Po0=wx,Co0=[0,1],Ro0=[0,_a,1371,6],Oo0=[0,_a,1374,6],Lo0=[0,_a,1477,8],Uo0=[0,1],Mo0=[0,_a,1494,8],Do0="Can not have both `static` and `proto`",jo0=De,zo0=OP,Ko0=[0,0,0,0],Jo0=[0,0],Yo0=[0,[0,0,0,0,0]],Bo0=al,Xo0=da,Wo0=[0,"a number literal type"],Vo0=[0,0],Zo0=vo,$o0=[0,0],Fo0=[0,"a type"],Qo0=[0,0],Ho0=[0,0],qo0=[16,1],Go0=[16,0],bo0=[0,_a,kS,15],xv0=[0,_a,sE,15],rv0=Ot,ev0=Ot,tv0=I5,nv0=ll,uv0=[0,[11,"Failure while looking up ",[2,0,[11,". Index: ",[4,0,0,0,[11,". Length: ",[4,0,0,0,[12,46,0]]]]]]],"Failure while looking up %s. Index: %d. Length: %d."],iv0=[0,0,0,0],fv0="Offset_utils.Offset_lookup_failed",cv0=a1,sv0=ND,ov0=ll,vv0=I5,av0=dj,lv0=ll,pv0=I5,yv0=S9,dv0=NA,mv0="normal",kv0=bu,hv0="jsxTag",_v0="jsxChild",wv0="template",Tv0=FD,Sv0="context",Ev0=bu,Av0=[6,0],gv0=[0,0],Nv0=[0,1],Iv0=[0,4],Pv0=[0,2],Cv0=[0,3],Rv0=[0,0],Ov0=[0,0,0,0,0,0],Lv0=vo,Uv0=[0,74],Mv0=Ct,Dv0=Ct,jv0=[0,74],zv0=[0,74],Kv0=la,Jv0=[0,wx,0],Yv0=[0,0,0],Bv0=[0,0,0],Xv0=[0,82],Wv0=$2,Vv0=$2,Zv0=[0,"a regular expression"],$v0=wx,Fv0=wx,Qv0=wx,Hv0=[0,"src/parser/expression_parser.ml",1363,17],qv0=[0,"a template literal part"],Gv0=[0,[0,wx,wx],1],bv0=[0,0],xa0=K3,ra0=gM,ea0=xS,ta0=xS,na0=AD,ua0=[0,74],ia0=[0,1],fa0=[0,1],ca0=[0,1],sa0=[0,1],oa0=[0,1],va0=ga,aa0=iv,la0=[0,"the identifier `target`"],pa0=[0,0],ya0=R2,da0=pl,ma0=pl,ka0=Ia,ha0=[0,"either a call or access of `super`"],_a0=Ia,wa0=[0,1],Ta0=[0,0],Sa0=[0,1],Ea0=[0,0],Aa0=[0,1],ga0=[0,0],Na0=[0,2],Ia0=[0,3],Pa0=[0,7],Ca0=[0,6],Ra0=[0,4],Oa0=[0,5],La0=[0,6],Ua0=[0,[0,17,[0,2]]],Ma0=[0,[0,18,[0,3]]],Da0=[0,[0,19,[0,4]]],ja0=[0,[0,0,[0,5]]],za0=[0,[0,1,[0,5]]],Ka0=[0,[0,2,[0,5]]],Ja0=[0,[0,3,[0,5]]],Ya0=[0,[0,5,[0,6]]],Ba0=[0,[0,7,[0,6]]],Xa0=[0,[0,4,[0,6]]],Wa0=[0,[0,6,[0,6]]],Va0=[0,[0,8,[0,7]]],Za0=[0,[0,9,[0,7]]],$a0=[0,[0,10,[0,7]]],Fa0=[0,[0,11,[0,8]]],Qa0=[0,[0,12,[0,8]]],Ha0=[0,[0,15,[0,9]]],qa0=[0,[0,13,[0,9]]],Ga0=[0,[0,14,[1,10]]],ba0=[0,[0,16,[0,9]]],x30=[0,[0,21,[0,6]]],r30=[0,[0,20,[0,6]]],e30=[19,s9],t30=[0,[0,8]],n30=[0,[0,7]],u30=[0,[0,6]],i30=[0,[0,10]],f30=[0,[0,9]],c30=[0,[0,11]],s30=[0,[0,5]],o30=[0,[0,4]],v30=[0,[0,2]],a30=[0,[0,3]],l30=[0,[0,1]],p30=[0,[0,0]],y30=[0,[0,12]],d30=[0,[0,13]],m30=[0,[0,14]],k30=[0,0],h30=Y3,_30=[0,wx,0],w30="unexpected PrivateName in Property, expected a PrivateField",T30=[0,0,0],S30=yo,E30="Must be one of the above",A30=[0,1],g30=[0,1],N30=[0,1],I30=yo,P30=yo,C30=M_,R30="Internal Error: private name found in object props",O30=[0,1],L30=[0,Bk,1852,21],U30=[0,"a declaration, statement or export specifiers"],M30=[0,85],D30=il,j30=[0,wx,wx,0],z30=[0,FU],K30="exports",J30=[0,1],Y30=[0,1],B30=[0,0],X30=Gj,W30=[0,85],V30=vo,Z30=[0,74],$30=[0,0],F30=[0,1],Q30=[0,"the keyword `as`"],H30=[0,34],q30=[0,34],G30=[0,0],b30=[0,1],xl0=[0,FU],rl0=[0,"the keyword `from`"],el0=[0,wx,wx,0],tl0=[0,zj],nl0="Label",ul0=[0,zj],il0=[0,0,0],fl0=[0,43],cl0=[0,Bk,429,22],sl0=[0,42],ol0=[0,Bk,448,22],vl0=[0,0],al0="the token `;`",ll0=[0,0],pl0=[0,0],yl0=IM,dl0=[0,fp],ml0=IM,kl0=[23,It],hl0=Nv,_l0=Hf,wl0=[13,"JSX fragment"],Tl0=[0,tn],Sl0=[1,tn],El0=[0,wx,wx,0],Al0=[0,fp],gl0=wx,Nl0=[0,MD],Il0=[18,[0,0]],Pl0=[0,MD],Cl0=[0,0,0,0],Rl0=pT,Ol0="Nooo: ",Ll0=cv,Ul0="Parser error: No such thing as an expression pattern!",Ml0=[0,[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]],Dl0=[0,"src/parser/parser_flow.ml",e5,28],jl0=[0,[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]],zl0=ND,Kl0=NA,Jl0=cD,Yl0=Pj,Bl0=Pj,Xl0=cD,Wl0=bu,Vl0=BU,Zl0=j1,$l0=a1,Fl0="InterpreterDirective",Ql0="interpreter",Hl0="Program",ql0=ml,Gl0="BreakStatement",bl0=ml,x60="ContinueStatement",r60="DebuggerStatement",e60=Iv,t60="DeclareExportAllDeclaration",n60=Iv,u60=Tw,i60=ZI,f60=cv,c60="DeclareExportDeclaration",s60=po,o60=j1,v60=Hr,a60="DeclareModule",l60=f2,p60="DeclareModuleExports",y60=wa,d60=j1,m60="DoWhileStatement",k60="EmptyStatement",h60=Dh,_60=ZI,w60="ExportDefaultDeclaration",T60=Dh,S60=AT,E60=Iv,A60="ExportAllDeclaration",g60=Dh,N60=Iv,I60=Tw,P60=ZI,C60="ExportNamedDeclaration",R60="directive",O60=Q1,L60="ExpressionStatement",U60=j1,M60="update",D60=wa,j60=vu,z60="ForStatement",K60="each",J60=j1,Y60=vn,B60=Ss,X60="ForInStatement",W60=_v,V60=j1,Z60=vn,$60=Ss,F60="ForOfStatement",Q60=bj,H60=iI,q60=wa,G60="IfStatement",b60=bu,x40=ws,r40=a1,e40=TM,t40=Iv,n40=Tw,u40="ImportDeclaration",i40=j1,f40=ml,c40="LabeledStatement",s40=Z2,o40="ReturnStatement",v40="cases",a40="discriminant",l40="SwitchStatement",p40=Z2,y40="ThrowStatement",d40="finalizer",m40="handler",k40=un,h40="TryStatement",_40=j1,w40=wa,T40="WhileStatement",S40=j1,E40=qw,A40="WithStatement",g40=wD,N40="ArrayExpression",I40=O2,P40=T5,C40=Q1,R40=je,O40=WE,L40=ko,U40=j1,M40=sn,D40=Hr,j40="ArrowFunctionExpression",z40=M_,K40=vn,J40=Ss,Y40=tl,B40="AssignmentExpression",X40=vn,W40=Ss,V40=tl,Z40="BinaryExpression",$40="CallExpression",F40=bj,Q40=iI,H40=wa,q40="ConditionalExpression",G40=Iv,b40="ImportExpression",xp0=sD,rp0=qz,ep0=s9,tp0=vn,np0=Ss,up0=tl,ip0="LogicalExpression",fp0="MemberExpression",cp0=JN,sp0=pl,op0="MetaProperty",vp0=_N,ap0=Wh,lp0=Lz,pp0="NewExpression",yp0=a9,dp0="ObjectExpression",mp0=nt,kp0="OptionalCallExpression",hp0=nt,_p0="OptionalMemberExpression",wp0=wz,Tp0="SequenceExpression",Sp0="Super",Ep0="ThisExpression",Ap0=f2,gp0=Q1,Np0="TypeCastExpression",Ip0=Q1,Pp0="AsConstExpression",Cp0=f2,Rp0=Q1,Op0="AsExpression",Lp0=f2,Up0=Q1,Mp0="SatisfiesExpression",Dp0=Z2,jp0="AwaitExpression",zp0=Ot,Kp0=Ls,Jp0=OM,Yp0=$j,Bp0=ws,Xp0=gs,Wp0=el,Vp0="matched above",Zp0=Z2,$p0=HU,Fp0=tl,Qp0="UnaryExpression",Hp0=hD,qp0=Az,Gp0=HU,bp0=Z2,x80=tl,r80="UpdateExpression",e80="delegate",t80=Z2,n80="YieldExpression",u80="Unexpected FunctionDeclaration with BodyExpression",i80=O2,f80=T5,c80=Q1,s80=je,o80=WE,v80=ko,a80=j1,l80=sn,p80=Hr,y80="FunctionDeclaration",d80="Unexpected FunctionExpression with BodyExpression",m80=O2,k80=T5,h80=Q1,_80=je,w80=WE,T80=ko,S80=j1,E80=sn,A80=Hr,g80="FunctionExpression",N80=nt,I80=f2,P80=Oe,C80=gA,R80=nt,O80=f2,L80=Oe,U80="PrivateIdentifier",M80=nt,D80=f2,j80=Oe,z80=gA,K80=iI,J80=wa,Y80="SwitchCase",B80=j1,X80="param",W80="CatchClause",V80=j1,Z80="BlockStatement",$80=po,F80=Hr,Q80="DeclareVariable",H80=je,q80=Hr,G80="DeclareFunction",b80=oD,x50=dv,r50=Ic,e50=j1,t50=O2,n50=Hr,u50="DeclareClass",i50=O2,f50=W_,c50=sn,s50=lw,o50=sn,v50=Hr,a50="DeclareComponent",l50=O2,p50=W_,y50=lw,d50=sn,m50="ComponentTypeAnnotation",k50=nt,h50=f2,_50=Oe,w50="ComponentTypeParameter",T50=j1,S50=Hr,E50="DeclareEnum",A50=Ic,g50=j1,N50=O2,I50=Hr,P50="DeclareInterface",C50=a1,R50=bu,O50=AT,L50="ExportNamespaceSpecifier",U50=vn,M50=O2,D50=Hr,j50="DeclareTypeAlias",z50=vn,K50=O2,J50=Hr,Y50="TypeAlias",B50="DeclareOpaqueType",X50="OpaqueType",W50="supertype",V50="impltype",Z50=O2,$50=Hr,F50="ClassDeclaration",Q50="ClassExpression",H50=iy,q50=dv,G50="superTypeParameters",b50="superClass",xy0=O2,ry0=j1,ey0=Hr,ty0=Q1,ny0="Decorator",uy0=O2,iy0=Hr,fy0="ClassImplements",cy0=j1,sy0="ClassBody",oy0=kv,vy0=q3,ay0=Tv,ly0=Oa,py0=iy,yy0=Ca,dy0=De,my0=po,ky0=a1,hy0=ov,_y0="MethodDefinition",wy0=Q3,Ty0=iy,Sy0=L2,Ey0=De,Ay0=Ca,gy0=f2,Ny0=a1,Iy0=ov,Py0=tD,Cy0="Internal Error: Private name found in class prop",Ry0=Q3,Oy0=iy,Ly0=L2,Uy0=De,My0=Ca,Dy0=f2,jy0=a1,zy0=ov,Ky0=tD,Jy0=O2,Yy0=W_,By0=sn,Xy0=Hr,Wy0=j1,Vy0="ComponentDeclaration",Zy0=Z2,$y0=w9,Fy0=vn,Qy0=Ss,Hy0=Ip,qy0=ES,Gy0=fl,by0=Oe,xd0="ComponentParameter",rd0=vu,ed0=Hr,td0="EnumBigIntMember",nd0=Hr,ud0=xM,id0=vu,fd0=Hr,cd0="EnumStringMember",sd0=Hr,od0=xM,vd0=vu,ad0=Hr,ld0="EnumNumberMember",pd0=vu,yd0=Hr,dd0="EnumBooleanMember",md0=V3,kd0=_y,hd0=H3,_d0="EnumBooleanBody",wd0=V3,Td0=_y,Sd0=H3,Ed0="EnumNumberBody",Ad0=V3,gd0=_y,Nd0=H3,Id0="EnumStringBody",Pd0=V3,Cd0=H3,Rd0="EnumSymbolBody",Od0=V3,Ld0=_y,Ud0=H3,Md0="EnumBigIntBody",Dd0=j1,jd0=Hr,zd0="EnumDeclaration",Kd0=Ic,Jd0=j1,Yd0=O2,Bd0=Hr,Xd0="InterfaceDeclaration",Wd0=O2,Vd0=Hr,Zd0="InterfaceExtends",$d0=f2,Fd0=a9,Qd0="ObjectPattern",Hd0=f2,qd0=wD,Gd0="ArrayPattern",bd0=vn,xm0=Ss,rm0=Ip,em0=f2,tm0=Oe,nm0=gA,um0=Z2,im0=w9,fm0=Z2,cm0=w9,sm0=vn,om0=Ss,vm0=Ip,am0=vu,lm0=vu,pm0=Tv,ym0=Oa,dm0=Bj,mm0=Ca,km0=ES,hm0=q3,_m0=po,wm0=a1,Tm0=ov,Sm0=nj,Em0=Z2,Am0=Qj,gm0=vn,Nm0=Ss,Im0=Ip,Pm0=Ca,Cm0=ES,Rm0=q3,Om0=po,Lm0=a1,Um0=ov,Mm0=nj,Dm0=Z2,jm0=Qj,zm0=Ut,Km0=a1,Jm0=va,Ym0=Ut,Bm0=pv,Xm0=a1,Wm0=va,Vm0=Ut,Zm0=a1,$m0=va,Fm0=Ts,Qm0=As,Hm0=Ut,qm0=a1,Gm0=va,bm0="flags",x90=pn,r90="regex",e90=Ut,t90=a1,n90=va,u90=Ut,i90=a1,f90=va,c90=wz,s90="quasis",o90="TemplateLiteral",v90="cooked",a90=Ut,l90="tail",p90=a1,y90="TemplateElement",d90="quasi",m90="tag",k90="TaggedTemplateExpression",h90=sl,_90=ya,w90=nl,T90=po,S90="declarations",E90="VariableDeclaration",A90=vu,g90=Hr,N90="VariableDeclarator",I90="plus",P90=NM,C90=Ta,R90=mo,O90=w_,L90="in-out",U90=po,M90="Variance",D90="AnyTypeAnnotation",j90="MixedTypeAnnotation",z90="EmptyTypeAnnotation",K90="VoidTypeAnnotation",J90="NullLiteralTypeAnnotation",Y90="SymbolTypeAnnotation",B90="NumberTypeAnnotation",X90="BigIntTypeAnnotation",W90="StringTypeAnnotation",V90="BooleanTypeAnnotation",Z90=f2,$90="NullableTypeAnnotation",F90="UnknownTypeAnnotation",Q90="NeverTypeAnnotation",H90="UndefinedTypeAnnotation",q90=da,G90=f2,b90="parameterName",xk0="TypePredicate",rk0=O2,ek0=lw,tk0=T5,nk0=fv,uk0=sn,ik0="FunctionTypeAnnotation",fk0=nt,ck0=f2,sk0=Oe,ok0=CM,vk0=nt,ak0=f2,lk0=Oe,pk0=CM,yk0=[0,0,0,0,0],dk0="internalSlots",mk0="callProperties",kk0="indexers",hk0=a9,_k0="exact",wk0="inexact",Tk0="ObjectTypeAnnotation",Sk0=Bj,Ek0="There should not be computed object type property keys",Ak0=vu,gk0=Tv,Nk0=Oa,Ik0=po,Pk0=L2,Ck0=OP,Rk0=De,Ok0=nt,Lk0=q3,Uk0=a1,Mk0=ov,Dk0="ObjectTypeProperty",jk0=Z2,zk0="ObjectTypeSpreadProperty",Kk0=L2,Jk0=De,Yk0=a1,Bk0=ov,Xk0=Hr,Wk0="ObjectTypeIndexer",Vk0=De,Zk0=a1,$k0="ObjectTypeCallProperty",Fk0=nt,Qk0=L2,Hk0="sourceType",qk0="propType",Gk0="keyTparam",bk0="ObjectTypeMappedTypeProperty",xh0=a1,rh0=q3,eh0=De,th0=nt,nh0=Hr,uh0="ObjectTypeInternalSlot",ih0=j1,fh0=Ic,ch0="InterfaceTypeAnnotation",sh0=DD,oh0="ArrayTypeAnnotation",vh0="falseType",ah0="trueType",lh0="extendsType",ph0="checkType",yh0="ConditionalTypeAnnotation",dh0="typeParameter",mh0="InferTypeAnnotation",kh0=Hr,hh0=Nz,_h0="QualifiedTypeIdentifier",wh0=O2,Th0=Hr,Sh0="GenericTypeAnnotation",Eh0="indexType",Ah0="objectType",gh0="IndexedAccessType",Nh0=nt,Ih0="OptionalIndexedAccessType",Ph0=oA,Ch0="UnionTypeAnnotation",Rh0=oA,Oh0="IntersectionTypeAnnotation",Lh0=Z2,Uh0="TypeofTypeAnnotation",Mh0=Hr,Dh0=Nz,jh0="QualifiedTypeofIdentifier",zh0=Z2,Kh0="KeyofTypeAnnotation",Jh0=Z2,Yh0="ReadOnlyTypeAnnotation",Bh0="elementTypes",Xh0="TupleTypeAnnotation",Wh0=nt,Vh0=L2,Zh0=DD,$h0=ml,Fh0="TupleTypeLabeledElement",Qh0=f2,Hh0=ml,qh0="TupleTypeSpreadElement",Gh0=Ut,bh0=a1,x_0="StringLiteralTypeAnnotation",r_0=Ut,e_0=a1,t_0="NumberLiteralTypeAnnotation",n_0=Ut,u_0=a1,i_0="BigIntLiteralTypeAnnotation",f_0=Ts,c_0=As,s_0=Ut,o_0=a1,v_0="BooleanLiteralTypeAnnotation",a_0="ExistsTypeAnnotation",l_0=f2,p_0=oM,y_0=f2,d_0=oM,m_0=sn,k_0="TypeParameterDeclaration",h_0="usesExtendsBound",__0=cv,w_0=L2,T_0="bound",S_0=Oe,E_0="TypeParameter",A_0=sn,g_0=fM,N_0=sn,I_0=fM,P_0=ga,C_0=Vj,R_0="closingElement",O_0="openingElement",L_0="JSXElement",U_0="closingFragment",M_0=Vj,D_0="openingFragment",j_0="JSXFragment",z_0=Wh,K_0="selfClosing",J_0="attributes",Y_0=Oe,B_0="JSXOpeningElement",X_0="JSXOpeningFragment",W_0=Oe,V_0="JSXClosingElement",Z_0="JSXClosingFragment",$_0=a1,F_0=Oe,Q_0="JSXAttribute",H_0=Z2,q_0="JSXSpreadAttribute",G_0="JSXEmptyExpression",b_0=Q1,xw0="JSXExpressionContainer",rw0=Q1,ew0="JSXSpreadChild",tw0=Ut,nw0=a1,uw0="JSXText",iw0=JN,fw0=qw,cw0="JSXMemberExpression",sw0=Oe,ow0="namespace",vw0="JSXNamespacedName",aw0=Oe,lw0="JSXIdentifier",pw0=AT,yw0=fl,dw0="ExportSpecifier",mw0=fl,kw0="ImportDefaultSpecifier",hw0=fl,_w0="ImportNamespaceSpecifier",ww0=TM,Tw0=fl,Sw0="imported",Ew0="ImportSpecifier",Aw0="Line",gw0="Block",Nw0=a1,Iw0=a1,Pw0="DeclaredPredicate",Cw0="InferredPredicate",Rw0=_N,Ow0=Wh,Lw0=Lz,Uw0=Ca,Mw0=JN,Dw0=qw,jw0="message",zw0=NA,Kw0=dj,Jw0=S9,Yw0=Iv,Bw0=ll,Xw0=I5,Ww0=[0,hf,gf,ni,l7,Af,Ii,yu,uc,O7,zi,Nf,un,Ku,sc,Le,E7,Q7,rf,Bf,T7,ci,Xc,hc,Gn,uf,j7,ku,ji,Qi,Jc,B7,Tu,yi,bi,_i,fi,Ff,Xi,nu,s7,Bc,K7,Wu,mc,vi,tf,Wf,Wn,ic,oc,Fi,Ce,Re,Mu,lf,dc,Mi,y7,Pf,ju,Gf,sf,ec,Tf,_c,Ai,ce,Ri,qn,ff,Hi,_u,e7,Iu,Li,xf,kc,cc,gu,Uu,ef,p7,$n,_f,v7,zf,z7,Q1,pi,Zu,Zn,J7,o7,Cf,df,V7,xu,Ci,Ru,wu,iu,Vu,xc,F7,jn,nc,d7,Yn,R7,Qu,Fu,If,Gu,af,zn,ki,jc,Yi,lu,mi,ou,Su,It,k7,t7,_7,R2,di,eu,Du,c7,of,cu,jf,A7,F2,Hu,Qn,Mf,Di,uu,Wc,G7,au,F1,Ui,Ju,Sc,tc,x7,yf,du,xi,Mc,ui,C7,n7,q7,Vn,Zf,Vf,$i,qf,L7,Ou,Bn,Ni,P7,Kn,tu,qi,xr,u7,ii,Cu,yc,$u,i7,Cc,Nc,zu,Ac,Y7,mf,g7,Pi,Of,Yf,ru,Wi,Dc,nf,Oc,r7,ti,kf,ei,bf,si,H7,Qf,bn,Yu,Sf,pn,Pc,Au,D7,vc,wc,S7,X7,Lu,f7,a7,Oi,Nu,fc,$f,b7,Df,zc,mu,Uf,ac,su,je,pc,fu,Pu,pu,Zi,I7,Me,lc,Xu,N7,Tc,Ji,Bi,m7,Gi,Ke,Eu,Z7,Rf,pf,gc,Si,wf,ze,Kc,cf,Ki,hu,rc,Xn,Fn,hi,Kf,li,Rc,h7,Lc,ai,Jn,M7,Ti,Xf,Jf,$7,w7,U7,oi,Bu,Ec,Hn,W7,qu,Yc,Ei,L2,Lf,vf,ri,U2],Vw0=[0,U2,ri,vf,Lf,L2,Ei,Yc,qu,W7,Hn,Ec,Bu,oi,U7,w7,$7,Jf,Xf,Ti,M7,Jn,ai,Lc,h7,Rc,li,Kf,hi,Fn,Xn,rc,hu,Ki,cf,Kc,ze,wf,Si,gc,pf,Rf,Z7,Eu,Ke,Gi,m7,Bi,Ji,Tc,N7,Xu,lc,Me,I7,Zi,pu,Pu,fu,pc,je,su,ac,Uf,mu,zc,Df,b7,$f,fc,Nu,Oi,a7,f7,Lu,X7,S7,wc,vc,D7,Au,Pc,pn,Sf,Yu,bn,Qf,H7,si,bf,ei,kf,ti,r7,Oc,nf,Dc,Wi,ru,Yf,Of,Pi,g7,mf,Y7,Ac,zu,Nc,Cc,i7,$u,yc,Cu,ii,u7,xr,qi,tu,Kn,P7,Ni,Bn,Ou,L7,qf,$i,Vf,Zf,Vn,q7,n7,C7,ui,Mc,xi,du,yf,x7,tc,Sc,Ju,Ui,F1,au,G7,Wc,uu,Di,Mf,Qn,Hu,F2,A7,jf,cu,of,c7,Du,eu,di,R2,_7,t7,k7,It,Su,ou,mi,lu,Yi,jc,ki,zn,af,Gu,If,Fu,Qu,R7,Yn,d7,nc,jn,F7,xc,Vu,iu,wu,Ru,Ci,xu,V7,df,Cf,o7,J7,Zn,Zu,pi,Q1,z7,zf,v7,_f,$n,p7,ef,Uu,gu,cc,kc,xf,Li,Iu,e7,_u,Hi,ff,qn,Ri,ce,Ai,_c,Tf,ec,sf,Gf,ju,Pf,y7,Mi,dc,lf,Mu,Re,Ce,Fi,oc,ic,Wn,Wf,tf,vi,mc,Wu,K7,Bc,s7,nu,Xi,Ff,fi,_i,bi,yi,Tu,B7,Jc,Qi,ji,ku,j7,uf,Gn,hc,Xc,ci,T7,Bf,rf,Q7,E7,Le,sc,Ku,un,Nf,zi,O7,uc,yu,Ii,Af,l7,ni,gf,hf],Zw0=[0,Tc,F1,Fu,Su,zn,E7,Nc,Yf,ui,Qn,Ku,Rc,bf,Ke,H7,zf,uf,nf,tc,i7,A7,Ju,Hi,Li,ri,S7,lu,wu,f7,qf,mc,mi,_u,Cu,It,Lf,Cf,fc,Pf,rf,Qu,Bf,yf,Uu,su,jc,Ru,Eu,Pi,t7,Bi,of,ff,L7,yc,ji,bi,Sf,hf,zc,s7,ai,ru,Uf,q7,B7,ei,je,Oc,af,Yu,ii,Mc,x7,ou,P7,oc,Kf,kc,n7,Ni,If,$f,l7,Gf,p7,qi,pu,Pc,ni,Ri,Q7,lc,L2,ac,dc,$7,I7,_7,O7,iu,Kc,Wc,j7,Y7,Z7,ce,V7,li,U2,Bn,cf,Mi,Df,Bu,D7,lf,Pu,uc,Ec,_i,y7,zu,qu,Sc,Xn,Mf,Iu,Zn,si,v7,Ou,vc,o7,Xf,Fn,nu,Ei,rc,N7,Jf,m7,Hn,Jc,jf,Ci,yi,Kn,Gu,Xi,W7,fi,Ac,Vf,yu,tu,Xc,ku,K7,wc,Zf,Bc,xr,R2,Me,w7,Ti,Gi,X7,ze,Re,Cc,k7,Qf,pi,Ui,pn,sc,nc,e7,cu,Tu,z7,R7,au,ki,U7,xf,pc,xc,eu,cc,$n,Wf,mf,Xu,Of,c7,ti,Oi,hi,Wi,mu,r7,M7,sf,ci,ju,Nf,uu,Rf,qn,hu,Yi,fu,di,Dc,hc,g7,du,Qi,Hu,Ai,h7,gf,Yc,_c,T7,Lc,Tf,xi,G7,ic,$i,a7,$u,Di,J7,Vn,Jn,gc,Ii,tf,Lu,zi,Q1,Au,Ff,Zu,Ki,jn,F7,Ji,Ce,Yn,Wu,b7,ef,ec,Si,pf,Vu,_f,oi,xu,bn,un,Du,Gn,C7,kf,d7,Mu,gu,Le,Af,F2,Fi,vf,vi,Zi,df,Wn,Nu,wf,u7],$w0="Jsoo_runtime.Error.Exn",Fw0=[0,0],Qw0="use_strict",Hw0=oA,qw0="esproposal_decorators",Gw0="enums",bw0="components",xT0="Internal error: ";function O1(x){if(typeof x=="number")return 0;switch(x[0]){case 0:return[0,O1(x[1])];case 1:return[1,O1(x[1])];case 2:return[2,O1(x[1])];case 3:return[3,O1(x[1])];case 4:return[4,O1(x[1])];case 5:return[5,O1(x[1])];case 6:return[6,O1(x[1])];case 7:return[7,O1(x[1])];case 8:var r=x[1];return[8,r,O1(x[2])];case 9:var e=x[1];return[9,e,e,O1(x[3])];case 10:return[10,O1(x[1])];case 11:return[11,O1(x[1])];case 12:return[12,O1(x[1])];case 13:return[13,O1(x[1])];default:return[14,O1(x[1])]}}function q2(x,r){if(typeof x=="number")return r;switch(x[0]){case 0:return[0,q2(x[1],r)];case 1:return[1,q2(x[1],r)];case 2:return[2,q2(x[1],r)];case 3:return[3,q2(x[1],r)];case 4:return[4,q2(x[1],r)];case 5:return[5,q2(x[1],r)];case 6:return[6,q2(x[1],r)];case 7:return[7,q2(x[1],r)];case 8:var e=x[1];return[8,e,q2(x[2],r)];case 9:var t=x[2],u=x[1];return[9,u,t,q2(x[3],r)];case 10:return[10,q2(x[1],r)];case 11:return[11,q2(x[1],r)];case 12:return[12,q2(x[1],r)];case 13:return[13,q2(x[1],r)];default:return[14,q2(x[1],r)]}}function w1(x,r){if(typeof x=="number")return r;switch(x[0]){case 0:return[0,w1(x[1],r)];case 1:return[1,w1(x[1],r)];case 2:var e=x[1];return[2,e,w1(x[2],r)];case 3:var t=x[1];return[3,t,w1(x[2],r)];case 4:var u=x[3],i=x[2],f=x[1];return[4,f,i,u,w1(x[4],r)];case 5:var o=x[3],a=x[2],y=x[1];return[5,y,a,o,w1(x[4],r)];case 6:var h=x[3],k=x[2],A=x[1];return[6,A,k,h,w1(x[4],r)];case 7:var g=x[3],I=x[2],C=x[1];return[7,C,I,g,w1(x[4],r)];case 8:var R=x[3],L=x[2],U=x[1];return[8,U,L,R,w1(x[4],r)];case 9:var B=x[1];return[9,B,w1(x[2],r)];case 10:return[10,w1(x[1],r)];case 11:var X=x[1];return[11,X,w1(x[2],r)];case 12:var J=x[1];return[12,J,w1(x[2],r)];case 13:var e0=x[2],i0=x[1];return[13,i0,e0,w1(x[3],r)];case 14:var j=x[2],Y=x[1];return[14,Y,j,w1(x[3],r)];case 15:return[15,w1(x[1],r)];case 16:return[16,w1(x[1],r)];case 17:var z=x[1];return[17,z,w1(x[2],r)];case 18:var F=x[1];return[18,F,w1(x[2],r)];case 19:return[19,w1(x[1],r)];case 20:var t0=x[2],$=x[1];return[20,$,t0,w1(x[3],r)];case 21:var f0=x[1];return[21,f0,w1(x[2],r)];case 22:return[22,w1(x[1],r)];case 23:var c0=x[1];return[23,c0,w1(x[2],r)];default:var v0=x[2],s0=x[1];return[24,s0,v0,w1(x[3],r)]}}function xR(x,r,e){return x[1]===r?(x[1]=e,1):0}function Rx(x){throw q0([0,mn,x],1)}function T2(x){throw q0([0,GC,x],1)}function $y(x){return 0<=x?x:-x|0}var rT0=VU;function Zx(x,r){var e=Gx(x),t=Gx(r),u=g1(e+t|0);return Cv(x,0,u,0,e),Cv(r,0,u,e,t),j2(u)}function eT0(x){return x?cZ:sZ}function Fx(x,r){if(!x)return r;var e=x[1];return[0,e,Fx(x[2],r)]}WV(0);var tT0=LK(1),$c=LK(2);function nT0(x){for(var r=VV(0);;){if(!r)return 0;var e=r[2],t=r[1];try{Zc(t)}catch(f){var u=R1(f);if(u[1]!==jK)throw q0(u,0)}var r=e}}function Cl(x,r){return $C(x,r,0,Gx(r))}function BK(x){return Cl($c,x),UK($c,10),Zc($c)}var rR=[0,nT0];function eR(x){return l(rR[1],0)}QC($M,eR);var XK=bV(0)[1],Rl=(4*qV(0)|0)-1|0,uT0=[Qr,oZ,zs(0)];function iT0(x){throw q0(uT0,1)}function Fy(x,r){return r?[0,l(x,r[1])]:0}function WK(x){return 25>>0?x:x+JU|0}function Fc(x){for(var r=0,e=x;;){if(!e)return r;var r=r+1|0,e=e[2]}}function Ol(x){return x?x[1]:Rx(hZ)}function VK(x){return x?x[2]:Rx(kZ)}function Qc(x,r){for(var e=x,t=r;;){if(!e)return t;var u=[0,e[1],t],e=e[2],t=u}}function gx(x){return Qc(x,0)}function Ll(x){if(!x)return 0;var r=x[1];return Fx(r,Ll(x[2]))}function Hc(x,r){if(!r)return 0;var e=r[2],t=l(x,r[1]);return[0,t,Hc(x,e)]}function Qy(x,r){for(var e=0,t=r;;){if(!t)return e;var u=t[2],e=[0,l(x,t[1]),e],t=u}}function S2(x,r){for(var e=r;;){if(!e)return 0;var t=e[2];l(x,e[1]);var e=t}}function b1(x,r,e){for(var t=r,u=e;;){if(!u)return t;var i=u[2],t=p(x,t,u[1]),u=i}}function tR(x,r,e){if(!r)return e;var t=r[1];return p(x,t,tR(x,r[2],e))}function ZK(x,r,e){for(var t=r,u=e;;){if(t){if(u){var i=u[2],f=t[2];p(x,t[1],u[1]);var t=f,u=i;continue}}else if(!u)return 0;return T2(mZ)}}function nR(x,r){for(var e=r;;){if(!e)return 0;var t=e[2],u=SK(e[1],x)===0?1:0;if(u)return u;var e=t}}function Ul(x){var r=0;return function(e){for(var t=r,u=e;;){if(!u)return gx(t);var i=u[2],f=u[1];if(l(x,f)){var t=[0,f,t],u=i;continue}var u=i}}}function Lv(x,r){var e=g1(x);return EV(e,0,x,r),e}function $K(x){var r=ft(x),e=g1(r);return Us(x,0,e,0,r),e}function FK(x,r,e){if(0<=r&&0<=e&&(ft(x)-e|0)>=r){var t=g1(e);return Us(x,r,t,0,e),t}return T2(TZ)}function Ya(x,r,e){return j2(FK(x,r,e))}function QK(x,r,e,t,u){return 0<=u&&0<=r&&(ft(x)-u|0)>=r&&0<=t&&(ft(e)-u|0)>=t?Us(x,r,e,t,u):T2(wZ)}function Bs(x,r,e,t,u){return 0<=u&&0<=r&&(Gx(x)-u|0)>=r&&0<=t&&(ft(e)-u|0)>=t?Cv(x,r,e,t,u):T2(_Z)}function Hy(x,r){return j2(Lv(x,r))}function z2(x,r,e){return j2(FK(Vc(x),r,e))}function HK(x,r){var e=Gx(x),t=e<=Gx(r)?1:0;if(!t)return t;for(var u=0;;){if(u===e)return 1;if(ix(r,u)!==ix(x,u))return 0;var u=u+1|0}}var fT0=Ex;function qK(x,r){var e=r.length-1-1|0,t=0;if(e>=0)for(var u=t;;){l(x,r[1+u]);var i=u+1|0;if(e!==u){var u=i;continue}break}return 0}function qy(x,r){var e=r.length-1;if(e===0)return[0];var t=za(e,l(x,r[1])),u=e-1|0,i=1;if(u>=1)for(var f=i;;){t[1+f]=l(x,r[1+f]);var o=f+1|0;if(u!==f){var f=o;continue}break}return t}function Ml(x){if(!x)return[0];for(var r=0,e=x,t=x[2],u=x[1];;){if(e){var r=r+1|0,e=e[2];continue}for(var i=za(r,u),f=1,o=t;;){if(!o)return i;var a=o[2];i[1+f]=o[1];var f=f+1|0,o=a}}}function GK(x){try{var r=[0,Sl(x)];return r}catch(t){var e=R1(t);if(e[1]===mn)return 0;throw q0(e,0)}}function uR(x){function r(Q){return Q?Q[5]:0}function e(Q,G,V,p0){var d0=r(Q),A0=r(p0),M=A0<=d0?d0+1|0:A0+1|0;return[0,Q,G,V,p0,M]}function t(Q,G){return[0,0,Q,G,0,1]}function u(Q,G,V,p0){var d0=Q?Q[5]:0,A0=p0?p0[5]:0;if((A0+2|0)=A0){var K=A0<=d0?d0+1|0:A0+1|0;return[0,Q,G,V,p0,K]}if(!p0)return T2(OZ);var H0=p0[4],sx=p0[3],ux=p0[2],z0=p0[1],Px=r(z0);if(Px<=r(H0))return e(e(Q,G,V,z0),ux,sx,H0);if(!z0)return T2(RZ);var kx=z0[3],$x=z0[2],Qx=z0[1],j0=e(z0[4],ux,sx,H0);return e(e(Q,G,V,Qx),$x,kx,j0)}var i=0;function f(Q){return Q?0:1}function o(Q,G,V){if(!V)return[0,0,Q,G,0,1];var p0=V[4],d0=V[3],A0=V[2],M=V[1],L0=V[5],V0=p(x[1],Q,A0);if(V0===0)return d0===G?V:[0,M,Q,G,p0,L0];if(0<=V0){var B0=o(Q,G,p0);return p0===B0?V:u(M,A0,d0,B0)}var vx=o(Q,G,M);return M===vx?V:u(vx,A0,d0,p0)}function a(Q,G){for(var V=G;;){if(!V)throw q0(w2,1);var p0=V[4],d0=V[3],A0=V[1],M=p(x[1],Q,V[2]);if(M===0)return d0;var L0=0<=M?p0:A0,V=L0}}function y(Q,G){for(var V=G;;){if(!V)throw q0(w2,1);var p0=V[2],d0=V[4],A0=V[3],M=V[1];if(!l(Q,p0)){var V=d0;continue}for(var L0=p0,V0=A0,B0=M;;){if(!B0)return[0,L0,V0];var vx=B0[2],b0=B0[4],hx=B0[3],W0=B0[1];if(l(Q,vx)){var L0=vx,V0=hx,B0=W0;continue}var B0=b0}}}function h(Q,G){for(var V=G;;){if(!V)return 0;var p0=V[2],d0=V[4],A0=V[3],M=V[1];if(!l(Q,p0)){var V=d0;continue}for(var L0=p0,V0=A0,B0=M;;){if(!B0)return[0,[0,L0,V0]];var vx=B0[2],b0=B0[4],hx=B0[3],W0=B0[1];if(l(Q,vx)){var L0=vx,V0=hx,B0=W0;continue}var B0=b0}}}function k(Q,G){for(var V=G;;){if(!V)throw q0(w2,1);var p0=V[2],d0=V[4],A0=V[3],M=V[1];if(!l(Q,p0)){var V=M;continue}for(var L0=p0,V0=A0,B0=d0;;){if(!B0)return[0,L0,V0];var vx=B0[2],b0=B0[4],hx=B0[3],W0=B0[1];if(l(Q,vx)){var L0=vx,V0=hx,B0=b0;continue}var B0=W0}}}function A(Q,G){for(var V=G;;){if(!V)return 0;var p0=V[2],d0=V[4],A0=V[3],M=V[1];if(!l(Q,p0)){var V=M;continue}for(var L0=p0,V0=A0,B0=d0;;){if(!B0)return[0,[0,L0,V0]];var vx=B0[2],b0=B0[4],hx=B0[3],W0=B0[1];if(l(Q,vx)){var L0=vx,V0=hx,B0=b0;continue}var B0=W0}}}function g(Q,G){for(var V=G;;){if(!V)return 0;var p0=V[4],d0=V[3],A0=V[1],M=p(x[1],Q,V[2]);if(M===0)return[0,d0];var L0=0<=M?p0:A0,V=L0}}function I(Q,G){for(var V=G;;){if(!V)return 0;var p0=V[4],d0=V[1],A0=p(x[1],Q,V[2]),M=A0===0?1:0;if(M)return M;var L0=0<=A0?p0:d0,V=L0}}function C(Q){for(var G=Q;;){if(!G)throw q0(w2,1);var V=G[1];if(!V)return[0,G[2],G[3]];var G=V}}function R(Q){for(var G=Q;;){if(!G)return 0;var V=G[1];if(!V)return[0,[0,G[2],G[3]]];var G=V}}function L(Q){for(var G=Q;;){if(!G)throw q0(w2,1);if(!G[4])return[0,G[2],G[3]];var G=G[4]}}function U(Q){for(var G=Q;;){if(!G)return 0;if(!G[4])return[0,[0,G[2],G[3]]];var G=G[4]}}function B(Q){if(!Q)return T2(AZ);var G=Q[1];if(!G)return Q[4];var V=Q[4],p0=Q[3],d0=Q[2];return u(B(G),d0,p0,V)}function X(Q,G){if(!Q)return G;if(!G)return Q;var V=C(G),p0=V[2],d0=V[1];return u(Q,d0,p0,B(G))}function J(Q,G){if(!G)return 0;var V=G[4],p0=G[3],d0=G[2],A0=G[1],M=p(x[1],Q,d0);if(M===0)return X(A0,V);if(0<=M){var L0=J(Q,V);return V===L0?G:u(A0,d0,p0,L0)}var V0=J(Q,A0);return A0===V0?G:u(V0,d0,p0,V)}function e0(Q,G,V){if(!V){var p0=l(G,0);return p0?[0,0,Q,p0[1],0,1]:0}var d0=V[4],A0=V[3],M=V[2],L0=V[1],V0=V[5],B0=p(x[1],Q,M);if(B0===0){var vx=l(G,[0,A0]);if(!vx)return X(L0,d0);var b0=vx[1];return A0===b0?V:[0,L0,Q,b0,d0,V0]}if(0<=B0){var hx=e0(Q,G,d0);return d0===hx?V:u(L0,M,A0,hx)}var W0=e0(Q,G,L0);return L0===W0?V:u(W0,M,A0,d0)}function i0(Q,G){for(var V=G;;){if(!V)return 0;var p0=V[4],d0=V[3],A0=V[2];i0(Q,V[1]),p(Q,A0,d0);var V=p0}}function j(Q,G){if(!G)return 0;var V=G[5],p0=G[4],d0=G[3],A0=G[2],M=j(Q,G[1]),L0=l(Q,d0);return[0,M,A0,L0,j(Q,p0),V]}function Y(Q,G){if(!G)return 0;var V=G[2],p0=G[5],d0=G[4],A0=G[3],M=Y(Q,G[1]),L0=p(Q,V,A0);return[0,M,V,L0,Y(Q,d0),p0]}function z(Q,G,V){for(var p0=G,d0=V;;){if(!p0)return d0;var A0=p0[4],M=p0[3],L0=p0[2],V0=G0(Q,L0,M,z(Q,p0[1],d0)),p0=A0,d0=V0}}function F(Q,G){for(var V=G;;){if(!V)return 1;var p0=V[4],d0=V[1],A0=p(Q,V[2],V[3]);if(A0){var M=F(Q,d0);if(M){var V=p0;continue}var L0=M}else var L0=A0;return L0}}function t0(Q,G){for(var V=G;;){if(!V)return 0;var p0=V[4],d0=V[1],A0=p(Q,V[2],V[3]);if(A0)var M=A0;else{var L0=t0(Q,d0);if(!L0){var V=p0;continue}var M=L0}return M}}function $(Q,G,V){if(!V)return t(Q,G);var p0=V[4],d0=V[3],A0=V[2];return u($(Q,G,V[1]),A0,d0,p0)}function f0(Q,G,V){if(!V)return t(Q,G);var p0=V[3],d0=V[2],A0=V[1];return u(A0,d0,p0,f0(Q,G,V[4]))}function c0(Q,G,V,p0){if(!Q)return $(G,V,p0);if(!p0)return f0(G,V,Q);var d0=p0[5],A0=Q[5],M=p0[4],L0=p0[3],V0=p0[2],B0=p0[1],vx=Q[4],b0=Q[3],hx=Q[2],W0=Q[1];return(d0+2|0)x[3])throw q0([0,Tr,DZ],1);if((e+r|0)<=x[3])return 0;throw q0([0,Tr,jZ],1)}}function ct(x,r){var e=x[2];return x[3]<=e&&cR(x,1),Xr(x[1],e,r),x[2]=e+1|0,0}function xJ(x,r,e,t){var u=e<0?1:0;if(u)var f=u;else var i=t<0?1:0,f=i||((Gx(r)-t|0)=u+J5>>>0&&(i=1):65<=u&&(i=1);else{var f=0;if(u===32)f=1;else if(43<=u)switch(u+C9|0){case 5:if(t<(e+2|0)&&1>>0?33>>0&&(i=1):u===2&&(i=1),!i){var r=r+1|0;continue}var f=Vc(x),o=[0,0],a=ft(f)-1|0,y=0;if(a>=0)for(var h=y;;){var k=se(f,h),A=0;if(32<=k){var g=k-34|0,I=0;if(58>>0?93>g&&(I=1):56>>0?A=1:I=1,I){var C=1;A=2}}else 11<=k?k===13&&(A=1):8<=k&&(A=1);switch(A){case 0:var C=4;break;case 1:var C=2;break}o[1]=o[1]+C|0;var R=h+1|0;if(a!==h){var h=R;continue}break}if(o[1]===ft(f))var L=$K(f);else{var U=g1(o[1]);o[1]=0;var B=ft(f)-1|0,X=0;if(B>=0)for(var J=X;;){var e0=se(f,J),i0=0;if(35<=e0)e0===92?i0=2:Jr<=e0?i0=1:i0=3;else if(32<=e0)34<=e0?i0=2:i0=3;else if(14<=e0)i0=1;else switch(e0){case 8:Xr(U,o[1],92),o[1]++,Xr(U,o[1],98);break;case 9:Xr(U,o[1],92),o[1]++,Xr(U,o[1],Ns);break;case 10:Xr(U,o[1],92),o[1]++,Xr(U,o[1],P1);break;case 13:Xr(U,o[1],92),o[1]++,Xr(U,o[1],Vi);break;default:i0=1}switch(i0){case 1:Xr(U,o[1],92),o[1]++,Xr(U,o[1],48+(e0/Uc|0)|0),o[1]++,Xr(U,o[1],48+((e0/10|0)%10|0)|0),o[1]++,Xr(U,o[1],48+(e0%10|0)|0);break;case 2:Xr(U,o[1],92),o[1]++,Xr(U,o[1],e0);break;case 3:Xr(U,o[1],e0);break}o[1]++;var j=J+1|0;if(B!==J){var J=j;continue}break}var L=U}var t=j2(L)}var Y=Gx(t),z=Lv(Y+2|0,34);return Cv(t,0,z,1,Y),j2(z)}}function uJ(x,r){var e=$y(r),t=U$[1];switch(x[2]){case 0:var u=Cs;break;case 1:var u=Pt;break;case 2:var u=69;break;case 3:var u=tt;break;case 4:var u=71;break;case 5:var u=t;break;case 6:var u=ln;break;case 7:var u=72;break;default:var u=70}var i=rJ(16);switch(Wa(i,37),x[1]){case 0:break;case 1:Wa(i,43);break;default:Wa(i,32)}return 8<=x[2]&&Wa(i,35),Wa(i,46),E2(i,wx+e),Wa(i,u),tJ(i)}function by(x,r){if(13>x)return r;var e=[0,0],t=Gx(r)-1|0,u=0;if(t>=0)for(var i=u;;){9>=ix(r,i)+B1>>>0&&e[1]++;var f=i+1|0;if(t!==i){var i=f;continue}break}var o=e[1],a=g1(Gx(r)+((o-1|0)/3|0)|0),y=[0,0];function h(L){return Da(a,y[1],L),y[1]++,0}var k=[0,((o-1|0)%3|0)+1|0],A=Gx(r)-1|0,g=0;if(A>=0)for(var I=g;;){var C=ix(r,I);9>>0||(k[1]===0&&(h(95),k[1]=3),k[1]+=-1),h(C);var R=I+1|0;if(A!==I){var I=R;continue}break}return j2(a)}function oT0(x,r){switch(x){case 1:var e=_F;break;case 2:var e=wF;break;case 4:var e=TF;break;case 5:var e=SF;break;case 6:var e=EF;break;case 7:var e=AF;break;case 8:var e=gF;break;case 9:var e=NF;break;case 10:var e=IF;break;case 11:var e=PF;break;case 0:case 13:var e=CF;break;case 3:case 14:var e=RF;break;default:var e=OF}return by(x,zy(e,r))}function vT0(x,r){switch(x){case 1:var e=F$;break;case 2:var e=Q$;break;case 4:var e=H$;break;case 5:var e=q$;break;case 6:var e=G$;break;case 7:var e=b$;break;case 8:var e=xF;break;case 9:var e=rF;break;case 10:var e=eF;break;case 11:var e=tF;break;case 0:case 13:var e=nF;break;case 3:case 14:var e=uF;break;default:var e=iF}return by(x,zy(e,r))}function aT0(x,r){switch(x){case 1:var e=M$;break;case 2:var e=D$;break;case 4:var e=j$;break;case 5:var e=z$;break;case 6:var e=K$;break;case 7:var e=J$;break;case 8:var e=Y$;break;case 9:var e=B$;break;case 10:var e=X$;break;case 11:var e=W$;break;case 0:case 13:var e=V$;break;case 3:case 14:var e=Z$;break;default:var e=$$}return by(x,zy(e,r))}function lT0(x,r){switch(x){case 1:var e=fF;break;case 2:var e=cF;break;case 4:var e=sF;break;case 5:var e=oF;break;case 6:var e=vF;break;case 7:var e=aF;break;case 8:var e=lF;break;case 9:var e=pF;break;case 10:var e=yF;break;case 11:var e=dF;break;case 0:case 13:var e=mF;break;case 3:case 14:var e=kF;break;default:var e=hF}return by(x,CV(e,r))}function Xs(x,r,e){function t(X){switch(x[1]){case 0:var J=45;break;case 1:var J=43;break;default:var J=32}return gV(e,r,J)}function u(X){var J=cV(e);return J===3?e<0?R$:O$:4<=J?C$:X}switch(x[2]){case 5:for(var i=BC(uJ(x,r),e),f=0,o=Gx(i);;){if(f===o)var a=0;else{var y=C1(i,f)+gv|0,h=0;if(23>>0?y===55&&(h=1):21>>0&&(h=1),!h){var f=f+1|0;continue}var a=1}var k=a?i:Zx(i,L$);return u(k)}case 6:return t(0);case 7:var A=Vc(t(0)),g=ft(A);if(g===0)var I=A;else{var C=g1(g),R=g-1|0,L=0;if(R>=0)for(var U=L;;){Xr(C,U,WK(se(A,U)));var B=U+1|0;if(R!==U){var U=B;continue}break}var I=C}return j2(I);case 8:return u(t(0));default:return BC(uJ(x,r),e)}}function xd(x,r,e,t,u,i,f){if(typeof t=="number"){if(typeof u=="number")return u?function(g,I){return jr(x,[4,r,Va(g,p(i,f,I))],e)}:function(g){return jr(x,[4,r,p(i,f,g)],e)};var o=u[1];return function(g){return jr(x,[4,r,Va(o,p(i,f,g))],e)}}if(t[0]===0){var a=t[2],y=t[1];if(typeof u=="number")return u?function(g,I){return jr(x,[4,r,Be(y,a,Va(g,p(i,f,I)))],e)}:function(g){return jr(x,[4,r,Be(y,a,p(i,f,g))],e)};var h=u[1];return function(g){return jr(x,[4,r,Be(y,a,Va(h,p(i,f,g)))],e)}}var k=t[1];if(typeof u=="number")return u?function(g,I,C){return jr(x,[4,r,Be(k,g,Va(I,p(i,f,C)))],e)}:function(g,I){return jr(x,[4,r,Be(k,g,p(i,f,I))],e)};var A=u[1];return function(g,I){return jr(x,[4,r,Be(k,g,Va(A,p(i,f,I)))],e)}}function aR(x,r,e,t,u){if(typeof t=="number")return function(a){return jr(x,[4,r,l(u,a)],e)};if(t[0]===0){var i=t[2],f=t[1];return function(a){return jr(x,[4,r,Be(f,i,l(u,a))],e)}}var o=t[1];return function(a,y){return jr(x,[4,r,Be(o,a,l(u,y))],e)}}function Kl(x,r,e,t){for(var u=r,i=e,f=t;;){if(typeof f=="number")return l(u,i);switch(f[0]){case 0:var o=f[1];return function(P0){return jr(u,[5,i,P0],o)};case 1:var a=f[1];return function(P0){var N0=0;if(40<=P0)if(P0===92)var J0=vZ;else Jr<=P0?N0=1:N0=2;else if(32<=P0)if(39<=P0)var J0=aZ;else N0=2;else if(14<=P0)N0=1;else switch(P0){case 8:var J0=lZ;break;case 9:var J0=pZ;break;case 10:var J0=yZ;break;case 13:var J0=dZ;break;default:N0=1}switch(N0){case 1:var I0=g1(4);Xr(I0,0,92),Xr(I0,1,48+(P0/Uc|0)|0),Xr(I0,2,48+((P0/10|0)%10|0)|0),Xr(I0,3,48+(P0%10|0)|0);var J0=j2(I0);break;case 2:var Q=g1(1);Xr(Q,0,P0);var J0=j2(Q);break}var G=Gx(J0),V=Lv(G+2|0,39);return Cv(J0,0,V,1,G),jr(u,[4,i,j2(V)],a)};case 2:var y=f[2],h=f[1];return aR(u,i,y,h,function(P0){return P0});case 3:return aR(u,i,f[2],f[1],sT0);case 4:return xd(u,i,f[4],f[2],f[3],oT0,f[1]);case 5:return xd(u,i,f[4],f[2],f[3],vT0,f[1]);case 6:return xd(u,i,f[4],f[2],f[3],aT0,f[1]);case 7:return xd(u,i,f[4],f[2],f[3],lT0,f[1]);case 8:var k=f[4],A=f[3],g=f[2],I=f[1];if(typeof g=="number"){if(typeof A=="number")return A?function(P0,N0){return jr(u,[4,i,Xs(I,P0,N0)],k)}:function(P0){return jr(u,[4,i,Xs(I,oR(I),P0)],k)};var C=A[1];return function(P0){return jr(u,[4,i,Xs(I,C,P0)],k)}}if(g[0]===0){var R=g[2],L=g[1];if(typeof A=="number")return A?function(P0,N0){return jr(u,[4,i,Be(L,R,Xs(I,P0,N0))],k)}:function(P0){return jr(u,[4,i,Be(L,R,Xs(I,oR(I),P0))],k)};var U=A[1];return function(P0){return jr(u,[4,i,Be(L,R,Xs(I,U,P0))],k)}}var B=g[1];if(typeof A=="number")return A?function(P0,N0,J0){return jr(u,[4,i,Be(B,P0,Xs(I,N0,J0))],k)}:function(P0,N0){return jr(u,[4,i,Be(B,P0,Xs(I,oR(I),N0))],k)};var X=A[1];return function(P0,N0){return jr(u,[4,i,Be(B,P0,Xs(I,X,N0))],k)};case 9:return aR(u,i,f[2],f[1],eT0);case 10:var i=[7,i],f=f[1];continue;case 11:var i=[2,i,f[1]],f=f[2];continue;case 12:var i=[3,i,f[1]],f=f[2];continue;case 13:var J=f[3],e0=f[2],i0=rJ(16);vR(i0,e0);var j=tJ(i0);return function(P0){return jr(u,[4,i,j],J)};case 14:var Y=f[3],z=f[2];return function(P0){var N0=P0[1],J0=o1(N0,O1(x2(z)));if(typeof J0[2]=="number")return jr(u,i,w1(J0[1],Y));throw q0(d2,1)};case 15:var F=f[1];return function(P0,N0){return jr(u,[6,i,function(J0){return p(P0,J0,N0)}],F)};case 16:var t0=f[1];return function(P0){return jr(u,[6,i,P0],t0)};case 17:var i=[0,i,f[1]],f=f[2];continue;case 18:var $=f[1];if($[0]===0){var f0=f[2],c0=$[1][1],v0=0,u=function(I0,Q,G){return function(V){return jr(Q,[1,I0,[0,V]],G)}}(i,u,f0),i=v0,f=c0;continue}var s0=f[2],o0=$[1][1],E0=0,u=function(P0,N0,J0){return function(I0){return jr(N0,[1,P0,[1,I0]],J0)}}(i,u,s0),i=E0,f=o0;continue;case 19:throw q0([0,Tr,k$],1);case 20:var k0=f[3],M0=[8,i,h$];return function(P0){return jr(u,M0,k0)};case 21:var D0=f[2];return function(P0){return jr(u,[4,i,zy(qD,P0)],D0)};case 22:var cx=f[1];return function(P0){return jr(u,[5,i,P0],cx)};case 23:var g0=f[2],Z0=f[1];if(typeof Z0=="number")switch(Z0){case 0:return x<50?t1(x+1|0,u,i,g0):y2(t1,[0,u,i,g0]);case 1:return x<50?t1(x+1|0,u,i,g0):y2(t1,[0,u,i,g0]);case 2:throw q0([0,Tr,_$],1);default:return x<50?t1(x+1|0,u,i,g0):y2(t1,[0,u,i,g0])}switch(Z0[0]){case 0:return x<50?t1(x+1|0,u,i,g0):y2(t1,[0,u,i,g0]);case 1:return x<50?t1(x+1|0,u,i,g0):y2(t1,[0,u,i,g0]);case 2:return x<50?t1(x+1|0,u,i,g0):y2(t1,[0,u,i,g0]);case 3:return x<50?t1(x+1|0,u,i,g0):y2(t1,[0,u,i,g0]);case 4:return x<50?t1(x+1|0,u,i,g0):y2(t1,[0,u,i,g0]);case 5:return x<50?t1(x+1|0,u,i,g0):y2(t1,[0,u,i,g0]);case 6:return x<50?t1(x+1|0,u,i,g0):y2(t1,[0,u,i,g0]);case 7:return x<50?t1(x+1|0,u,i,g0):y2(t1,[0,u,i,g0]);case 8:return x<50?t1(x+1|0,u,i,g0):y2(t1,[0,u,i,g0]);case 9:var n0=Z0[2];return x<50?lR(x+1|0,u,i,n0,g0):y2(lR,[0,u,i,n0,g0]);case 10:return x<50?t1(x+1|0,u,i,g0):y2(t1,[0,u,i,g0]);default:return x<50?t1(x+1|0,u,i,g0):y2(t1,[0,u,i,g0])}default:var nx=f[3],xx=f[1],yx=l(f[2],0);return x<50?pR(x+1|0,u,i,nx,xx,yx):y2(pR,[0,u,i,nx,xx,yx])}}}function lR(x,r,e,t,u){if(typeof t=="number")return x<50?t1(x+1|0,r,e,u):y2(t1,[0,r,e,u]);switch(t[0]){case 0:var i=t[1];return function(X){return st(r,e,i,u)};case 1:var f=t[1];return function(X){return st(r,e,f,u)};case 2:var o=t[1];return function(X){return st(r,e,o,u)};case 3:var a=t[1];return function(X){return st(r,e,a,u)};case 4:var y=t[1];return function(X){return st(r,e,y,u)};case 5:var h=t[1];return function(X){return st(r,e,h,u)};case 6:var k=t[1];return function(X){return st(r,e,k,u)};case 7:var A=t[1];return function(X){return st(r,e,A,u)};case 8:var g=t[2];return function(X){return st(r,e,g,u)};case 9:var I=t[3],C=t[2],R=o2(x2(t[1]),C);return function(X){return st(r,e,q2(R,I),u)};case 10:var L=t[1];return function(X,J){return st(r,e,L,u)};case 11:var U=t[1];return function(X){return st(r,e,U,u)};case 12:var B=t[1];return function(X){return st(r,e,B,u)};case 13:throw q0([0,Tr,w$],1);default:throw q0([0,Tr,T$],1)}}function t1(x,r,e,t){var u=[8,e,S$];return x<50?Kl(x+1|0,r,u,t):y2(Kl,[0,r,u,t])}function pR(x,r,e,t,u,i){if(u){var f=u[1];return function(a){return pT0(r,e,t,f,l(i,a))}}var o=[4,e,i];return x<50?Kl(x+1|0,r,o,t):y2(Kl,[0,r,o,t])}function jr(x,r,e){return HC(Kl(0,x,r,e))}function st(x,r,e,t){return HC(lR(0,x,r,e,t))}function pT0(x,r,e,t,u){return HC(pR(0,x,r,e,t,u))}function Ws(x,r){for(var e=r;;){if(typeof e=="number")return 0;switch(e[0]){case 0:var t=e[1],u=nJ(e[2]);return Ws(x,t),Cl(x,u);case 1:var i=e[2],f=e[1];if(i[0]===0){var o=i[1];Ws(x,f),Cl(x,E$);var e=o;continue}var a=i[1];Ws(x,f),Cl(x,A$);var e=a;continue;case 6:var y=e[2];return Ws(x,e[1]),l(y,x);case 7:return Ws(x,e[1]),Zc(x);case 8:var h=e[2];return Ws(x,e[1]),T2(h);case 2:case 4:var k=e[2];return Ws(x,e[1]),Cl(x,k);default:var A=e[2];return Ws(x,e[1]),UK(x,A)}}}function Vs(x,r){for(var e=r;;){if(typeof e=="number")return 0;switch(e[0]){case 0:var t=e[1],u=nJ(e[2]);return Vs(x,t),vr(x,u);case 1:var i=e[2],f=e[1];if(i[0]===0){var o=i[1];Vs(x,f),vr(x,g$);var e=o;continue}var a=i[1];Vs(x,f),vr(x,N$);var e=a;continue;case 6:var y=e[2];return Vs(x,e[1]),vr(x,l(y,0));case 7:var e=e[1];continue;case 8:var h=e[2];return Vs(x,e[1]),T2(h);case 2:case 4:var k=e[2];return Vs(x,e[1]),vr(x,k);default:var A=e[2];return Vs(x,e[1]),ct(x,A)}}}function iJ(x,r){var e=r[1],t=0;return jr(function(u){return Ws(x,u),0},t,e)}function yR(x){return iJ($c,x)}function Ar(x){var r=x[1];return jr(function(e){var t=Zr(64);return Vs(t,e),z1(t)},0,r)}var dR=[0,0];function mR(x,r){var e=x[1+r];if(!(1-(typeof e=="number"?1:0)))return l(Ar(aQ),e);if(Ov(e)===Ea)return l(Ar(lQ),e);if(Ov(e)!==H8)return pQ;for(var t=BC("%.12g",e),u=0,i=Gx(t);;){if(i<=u)return Zx(t,fZ);var f=C1(t,u),o=0;if(48<=f?58>f&&(o=1):f===45&&(o=1),!o)return t;var u=u+1|0}}function fJ(x,r){if(x.length-1<=r)return BF;var e=fJ(x,r+1|0),t=mR(x,r);return p(Ar(XF),t,e)}function rd(x){for(var r=dR[1];;){if(r){var e=0,t=r[2],u=r[1];try{var i=l(u,x)}catch{e=1}var f=0;if(e||!i)f=1;else var o=[0,i[1]];if(f){var r=t;continue}}else var o=0;if(o)return o[1];if(x===qC)return tQ;if(x===KK)return nQ;if(x[1]===zK){var a=x[2],y=a[3],h=a[2],k=a[1];return Je(Ar(bC),k,h,y,y+5|0,uQ)}if(x[1]===Tr){var A=x[2],g=A[3],I=A[2],C=A[1];return Je(Ar(bC),C,I,g,g+6|0,iQ)}if(x[1]===Il){var R=x[2],L=R[3],U=R[2],B=R[1];return Je(Ar(bC),B,U,L,L+6|0,fQ)}if(Ov(x)!==0)return x[1];var X=x.length-1,J=x[1][1];if(2>>0)var e0=fJ(x,2),i0=mR(x,1),j=p(Ar(cQ),i0,e0);else switch(X){case 0:var j=sQ;break;case 1:var j=oQ;break;default:var Y=mR(x,1),j=l(Ar(vQ),Y)}return Zx(J,j)}}function kR(x,r){var e=SV(r),t=e.length-1-1|0,u=0;if(t>=0)for(var i=u;;){var f=X1(e,i)[1+i],o=function(B){return function(X){return X?B===0?QF:HF:B===0?qF:GF}}(i);if(f[0]===0)var a=f[5],y=f[4],h=f[3],k=f[6]?bF:xQ,A=f[2],g=f[7],I=o(f[1]),R=[0,nZ(Ar(rQ),I,g,A,k,h,y,a)];else if(f[1])var R=0;else var C=o(0),R=[0,l(Ar(eQ),C)];if(R){var L=R[1];l(iJ(x,FF),L)}var U=i+1|0;if(t!==i){var i=U;continue}break}return 0}function cJ(x){for(;;){var r=dR[1],e=1-xR(dR,r,[0,x,r]);if(!e)return e}}var yT0=yQ.slice(),dT0=[0];QC(eM,function(x,r){try{try{var e=r?dT0:AK(0);try{eR(0)}catch{}try{var t=rd(x);l(yR($F),t),kR($c,e);var u=zV(0);if(u<0){var i=$y(u);BK(X1(yT0,i)[1+i])}var f=Zc($c),o=f}catch(g){var a=R1(g),y=rd(x);l(yR(WF),y),kR($c,e);var h=rd(a);l(yR(VF),h),kR($c,AK(0));var o=Zc($c)}var k=o}catch(g){var A=R1(g);if(A!==qC)throw q0(A,0);var k=BK(ZF)}return k}catch{return 0}});var hR=[Qr,MQ,zs(0)],ed=0,sJ=-1;function Jl(x,r){return x[13]=x[13]+r[3]|0,fR(r,x[28])}var oJ=1000000010;function _R(x,r){return G0(x[17],r,0,Gx(r))}function td(x){return l(x[19],0)}function vJ(x,r,e){return x[9]=x[9]-r|0,_R(x,e),x[11]=0,0}function nd(x,r){var e=N(r,wx);return e&&vJ(x,Gx(r),r)}function Mv(x,r,e){var t=r[3],u=r[2];nd(x,r[1]),td(x),x[11]=1;var i=(x[6]-e|0)+u|0,f=x[8],o=f<=i?f:i;return x[10]=o,x[9]=x[6]-x[10]|0,l(x[21],x[10]),nd(x,t)}function aJ(x,r){return Mv(x,UQ,r)}function Za(x,r){var e=r[2],t=r[3];return nd(x,r[1]),x[9]=x[9]-e|0,l(x[20],e),nd(x,t)}function mT0(x,r,e){if(typeof e=="number")switch(e){case 0:var t=Xa(x[3]);if(!t)return 0;var u=t[1][1],i=function(yx,px){if(!px)return[0,yx,0];var Tx=px[1],O0=px[2];return jV(yx,Tx)?[0,yx,px]:[0,Tx,i(yx,O0)]};return u[1]=i(x[6]-x[9]|0,u[1]),0;case 1:return Ba(x[2]),0;case 2:return Ba(x[3]),0;case 3:var f=Xa(x[2]);return f?aJ(x,f[1][2]):td(x);case 4:var o=x[10]!==(x[6]-x[9]|0)?1:0;if(!o)return o;var a=x[28],y=a[2];if(y){var h=y[1];if(y[2]){var k=y[2];a[1]=a[1]-1|0,a[2]=k;var A=[0,h]}else{iR(a);var A=[0,h]}}else var A=0;if(!A)return 0;var g=A[1],I=g[1];return x[12]=x[12]-g[3]|0,x[9]=x[9]+I|0,0;default:var C=Ba(x[5]);return C?_R(x,l(x[25],C[1])):0}switch(e[0]){case 0:return vJ(x,r,e[1]);case 1:var R=e[2],L=e[1],U=R[1],B=R[2],X=Xa(x[2]);if(!X)return 0;var J=X[1],e0=J[2];switch(J[1]){case 0:return Za(x,L);case 1:return Mv(x,R,e0);case 2:return Mv(x,R,e0);case 3:return x[9]<(r+Gx(U)|0)?Mv(x,R,e0):Za(x,L);case 4:return x[11]?Za(x,L):x[9]<(r+Gx(U)|0)||((x[6]-e0|0)+B|0)c0){var $=v0;continue}var s0=c0}else var s0=f0;var o0=s0;break}else var o0=i0;var E0=o0-i0|0;return 0<=E0?Za(x,[0,RQ,E0+Y|0,CQ]):Mv(x,[0,LQ,o0+j|0,OQ],x[6]);case 3:var k0=e[2],M0=e[1];if(x[8]<(x[6]-x[9]|0)){var D0=Xa(x[2]);if(D0){var cx=D0[1],g0=cx[2],Z0=cx[1];x[9]=Z0-1>>>0&&aJ(x,g0)}else td(x)}var n0=x[9]-M0|0,nx=k0===1?1:x[9]=e)return G0(x[17],wJ,0,e);G0(x[17],wJ,0,80);var e=e+FM|0}}function kT0(x){return x[1]===hR?Zx(TQ,Zx(x[2],wQ)):SQ}function hT0(x){return x[1]===hR?Zx(hQ,Zx(x[2],kQ)):_Q}function _T0(x){return 0}function wT0(x){return 0}function SJ(x,r){function e(A){return 0}function t(A){return 0}function u(A){return 0}var i=bK(0),f=[0,sJ,dQ,0];fR(f,i);var o=Dl(0);wR(o),Uv([0,1,f],o);var a=Dl(0),y=Dl(0),h=Dl(0),k=[0,o,Dl(0),h,y,a,78,10,68,78,0,1,1,1,1,rT0,mQ,x,r,u,t,e,0,0,kT0,hT0,_T0,wT0,i];return k[19]=function(A){return G0(k[17],EQ,0,1)},k[20]=function(A){return TJ(k,A)},k[21]=function(A){return TJ(k,A)},k}function EJ(x){function r(e){return Zc(x)}return SJ(function(e,t,u){return 0<=t&&0<=u&&(Gx(e)-u|0)>=t?$C(x,e,t,u):T2(iZ)},r)}function AR(x){function r(e){return 0}return SJ(function(e,t,u){return xJ(x,e,t,u)},r)}var TT0=pw;function AJ(x){return Zr(TT0)}var ST0=AJ(0),ET0=EJ(tT0),AT0=EJ($c);AR(ST0);function gJ(x,r){var e=Zr(16),t=AR(e);p(x,t,r),Bl(t,0);var u=e[2];if(2>u)return z1(e);var i=u-2|0,f=1;return 0<=i&&(e[2]-i|0)>=1?Ya(e[1],f,i):T2(zZ)}function Xe(x,r){var e=0;if(typeof r=="number")return 0;switch(r[0]){case 0:var t=r[2];if(Xe(x,r[1]),typeof t=="number")switch(t){case 0:return kJ(x,0);case 1:return hJ(x,0);case 2:return Bl(x,0);case 3:var u=x[14]=C1(U,j)+J5>>>0){var j=j+1|0;continue}for(var Y=z2(U,i0,j-i0|0),z=e0(j),F=z;;){if(F!==X){var t0=C1(U,F),$=0;if(48<=t0?58>t0&&($=1):t0===45&&($=1),$){var F=F+1|0;continue}}if(z===F)var f0=0;else try{var c0=it(z2(U,z,F-z|0)),f0=c0}catch(b0){var v0=R1(b0);if(v0[1]!==mn)throw q0(v0,0);var f0=J(0)}e0(F)!==X&&J(0);var s0=0;if(N(Y,wx)&&N(Y,QE))var o0=N(Y,"h")?N(Y,"hov")?N(Y,"hv")?N(Y,UM)?J(0):1:2:3:0;else s0=1;if(s0)var o0=4;var B=[0,f0,o0];break}break}return mJ(x,B[1],B[2]);case 2:var E0=r[1],k0=0;if(typeof E0=="number"||E0[0]!==0)k0=1;else{var M0=E0[2],D0=0;if(typeof M0=="number"||M0[0]!==1)D0=1;else var cx=r[2],g0=M0[2],Z0=E0[1];D0&&(k0=1)}if(k0){var n0=r[2],nx=E0;e=2}break;case 3:var xx=r[1],yx=0;if(typeof xx=="number"||xx[0]!==0)yx=1;else{var px=xx[2],Tx=0;if(typeof px=="number"||px[0]!==1)Tx=1;else{var O0=r[2],P0=px[2],N0=xx[1];e=1}Tx&&(yx=1)}if(yx){var J0=r[2],I0=xx;e=3}break;case 4:var Q=r[1],G=0;if(typeof Q=="number"||Q[0]!==0)G=1;else{var V=Q[2],p0=0;if(typeof V=="number"||V[0]!==1)p0=1;else var cx=r[2],g0=V[2],Z0=Q[1];p0&&(G=1)}if(G){var n0=r[2],nx=Q;e=2}break;case 5:var d0=r[1],A0=0;if(typeof d0=="number"||d0[0]!==0)A0=1;else{var M=d0[2],L0=0;if(typeof M=="number"||M[0]!==1)L0=1;else{var O0=r[2],P0=M[2],N0=d0[1];e=1}L0&&(A0=1)}if(A0){var J0=r[2],I0=d0;e=3}break;case 6:var V0=r[2];return Xe(x,r[1]),l(V0,x);case 7:return Xe(x,r[1]),Bl(x,0);default:var B0=r[2];return Xe(x,r[1]),T2(B0)}switch(e){case 0:return Xe(x,Z0),ER(x,g0,cx);case 1:return Xe(x,N0),ER(x,P0,Hy(1,O0));case 2:return Xe(x,nx),ud(x,n0);default:return Xe(x,I0),Yl(x,J0)}}function zr(x){return function(r){var e=r[1],t=0;return jr(function(u){return Xe(x,u),0},t,e)}}for(;;){var NJ=rR[1],gT0=[0,1];if(!(1-xR(rR,NJ,function(x,r){return function(e){return xR(x,1,0)&&(Bl(ET0,0),Bl(AT0,0)),l(r,0)}}(gT0,NJ)))){var NT0=2,IT0=function(x){var r=[0,0],e=Gx(x)-1|0,t=0;if(e>=0)for(var u=t;;){var i=C1(x,u);r[1]=(x8*r[1]|0)+i|0;var f=u+1|0;if(e!==u){var u=f;continue}break}r[1]=r[1]&VU;var o=1073741823=0)for(var f=i;;){var o=(f*2|0)+3|0,a=X1(x,f)[1+f];X1(e,o)[1+o]=a;var y=f+1|0;if(u!==f){var f=y;continue}break}return[0,NT0,e,Dv[1],wo[1],0,0,Zs[1],0]},gR=function(x,r){var e=x[2].length-1,t=e=0&&(u.length-1-e|0)>=0&&(eV(i,0,u,0,e),f=1),f||T2(SZ),x[2]=u;var o=0}else var o=t;return o},RJ=[0,0],CT0=[0,0],NR=function(x){var r=x[2].length-1;return gR(x,r+1|0),r},Xl=function(x,r){try{var e=p(Dv[28],r,x[3]);return e}catch(i){var t=R1(i);if(t!==w2)throw q0(t,0);var u=NR(x);return x[3]=G0(Dv[4],r,u,x[3]),x[4]=G0(wo[4],u,1,x[4]),u}},IR=function(x,r){return qy(function(e){return Xl(x,e)},r)},OJ=function(x,r,e){return CT0[1]++,p(wo[28],r,x[4])?(gR(x,r+1|0),X1(x[2],r)[1+r]=e,0):(x[6]=[0,[0,r,e],x[6]],0)},PR=function(x){if(x===0)return 0;for(var r=x.length-1-1|0,e=0;;){if(0>r)return e;var t=[0,x[1+r],e],r=r-1|0,e=t}},CR=function(x,r){try{var e=p(Zs[28],r,x[7]);return e}catch(i){var t=R1(i);if(t!==w2)throw q0(t,0);var u=x[1];return x[1]=u+1|0,N(r,wx)&&(x[7]=G0(Zs[4],r,u,x[7])),u}},RR=function(x){return jy(x,0)?[0]:x},OR=function(x,r,e,t,u,i){var f=u[2],o=u[4],a=PR(r),y=PR(e),h=PR(t),k=Hc(function(s0){return Xl(x,s0)},y),A=Hc(function(s0){return Xl(x,s0)},h);x[5]=[0,[0,x[3],x[4],x[6],x[7],k,a],x[5]];var g=Zs[1],I=x[7];function C(s0,o0,E0){return nR(s0,a)?G0(Zs[4],s0,o0,E0):E0}x[7]=G0(Zs[13],C,I,g);var R=[0,Dv[1]],L=[0,wo[1]];ZK(function(s0,o0){R[1]=G0(Dv[4],s0,o0,R[1]);var E0=L[1];try{var k0=p(wo[28],o0,x[4]),M0=k0}catch(cx){var D0=R1(cx);if(D0!==w2)throw q0(D0,0);var M0=1}return L[1]=G0(wo[4],o0,M0,E0),0},h,A),ZK(function(s0,o0){return R[1]=G0(Dv[4],s0,o0,R[1]),L[1]=G0(wo[4],o0,0,L[1]),0},y,k),x[3]=R[1],x[4]=L[1];var U=0,B=x[6];x[6]=tR(function(s0,o0){return nR(s0[1],k)?o0:[0,s0,o0]},B,U);var X=i?p(f,x,o):l(f,x),J=Ol(x[5]),e0=J[6],i0=J[5],j=J[4],Y=J[3],z=J[2],F=J[1];x[5]=VK(x[5]),x[7]=b1(function(s0,o0){var E0=p(Zs[28],o0,x[7]);return G0(Zs[4],o0,E0,s0)},j,e0),x[3]=F,x[4]=z;var t0=x[6];x[6]=tR(function(s0,o0){return nR(s0[1],i0)?o0:[0,s0,o0]},t0,Y);var $=0,f0=RR(t),c0=[0,qy(function(s0){var o0=Xl(x,s0);try{for(var E0=x[6];;){if(!E0)throw q0(w2,1);var k0=E0[1],M0=E0[2],D0=k0[2];if(SK(k0[1],o0)===0)return D0;var E0=M0}}catch(g0){var cx=R1(g0);if(cx===w2)return X1(x[2],o0)[1+o0];throw q0(cx,0)}},f0),$],v0=RR(r);return tV([0,[0,X],[0,qy(function(s0){try{var o0=p(Zs[28],s0,x[7]);return o0}catch(k0){var E0=R1(k0);throw E0===w2?q0([0,Tr,DQ],1):q0(E0,0)}},v0),c0]])},id=function(x,r){if(x===0)var e=CJ([0]);else{var t=CJ(qy(IT0,x)),u=x.length-1-1|0,i=0;if(u>=0)for(var f=i;;){var o=(f*2|0)+2|0;t[3]=G0(Dv[4],x[1+f],o,t[3]),t[4]=G0(wo[4],o,1,t[4]);var a=f+1|0;if(u!==f){var f=a;continue}break}var e=t}var y=l(r,e);return RJ[1]=(RJ[1]+e[1]|0)-1|0,e[8]=gx(e[8]),gR(e,3+((X1(e[2],1)[2]*16|0)/32|0)|0),[0,l(y,0),r,y,0]},fd=function(x,r){if(x)return x;var e=FC(Qr,r[1]);return e[1]=r[2],QV(e)},LR=function(x,r,e){if(x)return r;var t=e[8];if(t!==0)for(var u=t;;){if(u){var i=u[2];l(u[1],r);var u=i;continue}break}return r},cd=function(x){var r=NR(x),e=0;if(r%2|0&&(2+((X1(x[2],1)[2]*16|0)/32|0)|0)>=r){var t=NR(x);e=1}if(!e)var t=r;return X1(x[2],t)[1+t]=0,t},UR=function(x,r){for(var e=[0,0],t=r.length-1;;){if(e[1]>=t)return 0;var u=e[1],i=X1(r,u)[1+u],f=function(hx){e[1]++;var W0=e[1];return X1(r,W0)[1+W0]},o=f(0);if(typeof o=="number")switch(o){case 0:var a=f(0),b0=function(W0){return function(T){return W0}}(a);break;case 1:var y=f(0),b0=function(W0){return function(T){return T[1+W0]}}(y);break;case 2:var h=f(0),k=f(0),b0=function(W0,T){return function(K){return K[1+W0][1+T]}}(h,k);break;case 3:var A=f(0),b0=function(W0){return function(T){return l(T[1][1+W0],T)}}(A);break;case 4:var g=f(0),b0=function(W0){return function(T,K){return T[1+W0]=K,0}}(g);break;case 5:var I=f(0),C=f(0),b0=function(W0,T){return function(K){return l(W0,T)}}(I,C);break;case 6:var R=f(0),L=f(0),b0=function(W0,T){return function(K){return l(W0,K[1+T])}}(R,L);break;case 7:var U=f(0),B=f(0),X=f(0),b0=function(W0,T,K){return function(H0){return l(W0,H0[1+T][1+K])}}(U,B,X);break;case 8:var J=f(0),e0=f(0),b0=function(W0,T){return function(K){return l(W0,l(K[1][1+T],K))}}(J,e0);break;case 9:var i0=f(0),j=f(0),Y=f(0),b0=function(W0,T,K){return function(H0){return p(W0,T,K)}}(i0,j,Y);break;case 10:var z=f(0),F=f(0),t0=f(0),b0=function(W0,T,K){return function(H0){return p(W0,T,H0[1+K])}}(z,F,t0);break;case 11:var $=f(0),f0=f(0),c0=f(0),v0=f(0),b0=function(W0,T,K,H0){return function(sx){return p(W0,T,sx[1+K][1+H0])}}($,f0,c0,v0);break;case 12:var s0=f(0),o0=f(0),E0=f(0),b0=function(W0,T,K){return function(H0){return p(W0,T,l(H0[1][1+K],H0))}}(s0,o0,E0);break;case 13:var k0=f(0),M0=f(0),D0=f(0),b0=function(W0,T,K){return function(H0){return p(W0,H0[1+T],K)}}(k0,M0,D0);break;case 14:var cx=f(0),g0=f(0),Z0=f(0),n0=f(0),b0=function(W0,T,K,H0){return function(sx){return p(W0,sx[1+T][1+K],H0)}}(cx,g0,Z0,n0);break;case 15:var nx=f(0),xx=f(0),yx=f(0),b0=function(W0,T,K){return function(H0){return p(W0,l(H0[1][1+T],H0),K)}}(nx,xx,yx);break;case 16:var px=f(0),Tx=f(0),b0=function(W0,T){return function(K){return p(K[1][1+W0],K,T)}}(px,Tx);break;case 17:var O0=f(0),P0=f(0),b0=function(W0,T){return function(K){return p(K[1][1+W0],K,K[1+T])}}(O0,P0);break;case 18:var N0=f(0),J0=f(0),I0=f(0),b0=function(W0,T,K){return function(H0){return p(H0[1][1+W0],H0,H0[1+T][1+K])}}(N0,J0,I0);break;case 19:var Q=f(0),G=f(0),b0=function(W0,T){return function(K){var H0=l(K[1][1+T],K);return p(K[1][1+W0],K,H0)}}(Q,G);break;case 20:var V=f(0),p0=f(0);cd(x);var b0=function(W0,T){return function(K){return l(qx(T,W0,0),T)}}(V,p0);break;case 21:var d0=f(0),A0=f(0);cd(x);var b0=function(W0,T){return function(K){var H0=K[1+T];return l(qx(H0,W0,0),H0)}}(d0,A0);break;case 22:var M=f(0),L0=f(0),V0=f(0);cd(x);var b0=function(W0,T,K){return function(H0){var sx=H0[1+T][1+K];return l(qx(sx,W0,0),sx)}}(M,L0,V0);break;default:var B0=f(0),vx=f(0);cd(x);var b0=function(W0,T){return function(K){var H0=l(K[1][1+T],K);return l(qx(H0,W0,0),H0)}}(B0,vx)}else var b0=o;OJ(x,i,b0),e[1]++}},LJ=function(x,r){var e=r.length-1,t=FC(0,e),u=e-1|0,i=0;if(u>=0)for(var f=i;;){var o=X1(r,f)[1+f];if(typeof o=="number")switch(o){case 0:var h=function(g){function I(C){var R=t[1+g];if(I===R)throw q0([0,Il,x],1);return l(R,C)}return I}(f);break;case 1:var a=[];C0(a,[_8,function(g,I){return function(C){var R=t[1+I];if(g===R)throw q0([0,Il,x],1);var L=Ov(R);if(Pv===L)return R[1];if(_8!==L)return R;var U=R[1];R[1]=iT0;try{var B=l(U,0);return $V(R,B),B}catch(J){var X=R1(J);throw R[1]=function(e0){throw q0(X,0)},q0(X,0)}}}(a,f)]);var h=a;break;default:var y=function(g){throw q0([0,Il,x],1)},h=[0,y,y,y,0]}else var h=o[0]===0?LJ(x,o[1]):o[1];t[1+f]=h;var k=f+1|0;if(u!==f){var f=k;continue}break}return t},UJ=function(x,r,e){if(Ov(e)===0&&x.length-1<=e.length-1){var t=x.length-1-1|0,u=0;if(t>=0)for(var i=u;;){var f=e[1+i],o=X1(x,i)[1+i];if(typeof o=="number")if(o===2){var a=0;if(Ov(f)===0&&f.length-1===4)for(var y=0,h=r[1+i];;){h[1+y]=f[1+y];var k=y+1|0;if(y!==3){var y=k;continue}break}else a=1;if(a)throw q0([0,Tr,jQ],1)}else r[1+i]=f;else o[0]===0&&UJ(o[1],r[1+i],f);var A=i+1|0;if(t!==i){var i=A;continue}break}return 0}throw q0([0,Tr,zQ],1)};try{MK("TMPDIR")}catch(x){var MJ=R1(x);if(MJ!==w2)throw q0(MJ,0)}try{MK("TEMP")}catch(x){var DJ=R1(x);if(DJ!==w2)throw q0(DJ,0)}N(XK,kz)&&N(XK,"Win32");var qc=function(x,r){function e(t){return ct(x,t)}return b3<=r?(e(ha|r>>>18|0),e(m1|(r>>>12|0)&63),e(m1|(r>>>6|0)&63),e(m1|r&63)):aP<=r?(e(Aa|r>>>12|0),e(m1|(r>>>6|0)&63),e(m1|r&63)):m1<=r?(e(ma|r>>>6|0),e(m1|r&63)):e(r)},To=[Qr,YQ,zs(0)],jJ=0,zJ=0,KJ=0,JJ=0,YJ=0,BJ=0,XJ=0,WJ=0,VJ=0,ZJ=0,m=function(x){if(x[3]===x[2])return-1;var r=x[1][1+x[3]];return x[3]=x[3]+1|0,r===10&&(x[5]!==0&&(x[5]=x[5]+1|0),x[4]=x[3]),r},r0=function(x,r){return x[9]=x[3],x[10]=x[4],x[11]=x[5],x[12]=r,0},pr=function(x){return x[6]=x[3],x[7]=x[4],x[8]=x[5],r0(x,-1)},w=function(x){return x[3]=x[9],x[4]=x[10],x[5]=x[11],x[12]},$a=function(x){return x[3]=x[6],x[4]=x[7],x[5]=x[8],0},MR=function(x,r){return x[6]=r,0},sd=function(x){return x[3]-x[6]|0},n1=function(x){var r=x[3]-x[6]|0,e=x[6],t=x[1];return 0<=e&&0<=r&&(t.length-1-r|0)>=e?nV(t,e,r):T2(EZ)},$J=function(x){var r=x[6];return X1(x[1],r)[1+r]},Wl=function(x,r,e,t){for(var u=[0,r],i=[0,e],f=[0,0];;){if(0>=i[1])return f[1];var o=x[1+u[1]];if(0>o)throw q0(To,1);if(Jr>>18|0),Xr(t,f[1]+1|0,m1|(o>>>12|0)&63),Xr(t,f[1]+2|0,m1|(o>>>6|0)&63),Xr(t,f[1]+3|0,m1|o&63),f[1]=f[1]+4|0}else Xr(t,f[1],Aa|o>>>12|0),Xr(t,f[1]+1|0,m1|(o>>>6|0)&63),Xr(t,f[1]+2|0,m1|o&63),f[1]=f[1]+3|0;else Xr(t,f[1],ma|o>>>6|0),Xr(t,f[1]+1|0,m1|o&63),f[1]=f[1]+2|0;else Xr(t,f[1],o),f[1]++;u[1]++,i[1]+=-1}},FJ=function(x){for(var r=Gx(x),e=za(r,0),t=[0,0],u=[0,0];;){if(t[1]>=r)return[0,e,u[1],ZJ,VJ,WJ,XJ,BJ,YJ,JJ,KJ,zJ,jJ];var i=ix(x,t[1]),f=0;if(ma<=i)if(ha<=i)if(Qr<=i)f=1;else{var o=ix(x,t[1]+1|0),a=ix(x,t[1]+2|0),y=ix(x,t[1]+3|0),h=(o>>>6|0)!==2?1:0;if(h)var A=h;else var k=(a>>>6|0)!==2?1:0,A=k||((y>>>6|0)!==2?1:0);if(A)throw q0(To,1);var g=(i&7)<<18|(o&63)<<12|(a&63)<<6|y&63;if(c5>>6|0)!==2?1:0,U=L||((C>>>6|0)!==2?1:0);if(U)var X=U;else var B=55296<=R?1:0,X=B&&(R<=57343?1:0);if(X)throw q0(To,1);e[1+u[1]]=R,t[1]=t[1]+3|0}else{var J=ix(x,t[1]+1|0);if((J>>>6|0)!==2)throw q0(To,1);e[1+u[1]]=(i&31)<<6|J&63,t[1]=t[1]+2|0}else m1<=i?f=1:(e[1+u[1]]=i,t[1]++);if(f)throw q0(To,1);u[1]++}},Vl=function(x,r,e){var t=x[6]+r|0,u=g1(e*4|0),i=x[1];if((t+e|0)<=i.length-1)return Ya(u,0,Wl(i,t,e,u));throw q0([0,Tr,JQ],1)},Kx=function(x){var r=x[6],e=x[3]-r|0,t=g1(e*4|0);return Ya(t,0,Wl(x[1],r,e,t))},od=function(x,r){var e=x[6],t=x[3]-e|0,u=g1(t*4|0);return sR(r,u,0,Wl(x[1],e,t,u))},Zl=function(x){var r=x.length-1,e=g1(r*4|0);return Ya(e,0,Wl(x,0,r,e))},QJ=function(x,r){return x[3]=x[3]-r|0,0},Gc=function(x){return typeof x=="number"?0:x[0]===0?1:x[1]},jv=function(x,r,e,t){var u=Gc(x),i=Gc(t),f=i<=u?u+1|0:i+1|0;return f===1?[0,r,e]:[1,f,r,e,x,t]},vd=function(x,r,e,t){var u=Gc(x),i=Gc(t),f=i<=u?u+1|0:i+1|0;return[1,f,r,e,x,t]},HJ=function(x,r,e,t){var u=Gc(x),i=Gc(t);if((i+2|0)=i)return jv(x,r,e,t);var C=t[5],R=t[4],L=t[3],U=t[2],B=Gc(R);if(B<=Gc(C))return vd(jv(x,r,e,R),U,L,C);var X=R[4],J=R[3],e0=R[2],i0=jv(R[5],U,L,C);return vd(jv(x,r,e,X),e0,J,i0)},RT0=0,Fa=function(x,r){for(var e=x,t=r;;){if(typeof e=="number")return t;if(e[0]===0)return[0,e[1],0,t];var u=[0,e[2],e[4],t],e=e[3],t=u}},qJ=function(x,r){if(!x)return 0;var e=x[1],t=Fa(x[2],x[3]);return[0,e,function(u){return qJ(t,u)}]},OT0=function(x){var r=Fa(x,0);return function(e){return qJ(r,e)}},$s=function(x){return typeof x=="number"?0:x[0]===0?1:x[1]},LT0=function(x){return[0,x]},We=function(x,r,e){var t=0;if(typeof x=="number"){if(typeof e=="number")return[0,r];e[0]===1&&(t=1)}else if(x[0]===0)typeof e!="number"&&e[0]===1&&(t=1);else{var u=x[1];if(typeof e!="number"&&e[0]===1){var i=e[1],f=i<=u?u+1|0:i+1|0;return[1,f,r,x,e]}var o=u;t=2}switch(t){case 1:var o=e[1];break;case 0:return[1,2,r,x,e]}return[1,o+1|0,r,x,e]},So=function(x,r,e){var t=$s(x),u=$s(e),i=u<=t?t+1|0:u+1|0;return[1,i,r,x,e]},ad=function(x,r){if(r===0)return 0;if(r===1)return[0,l(x,0)];var e=r>>>1|0,t=ad(x,e),u=l(x,0),i=ad(x,(r-e|0)-1|0);return[1,$s(t)+1|0,u,t,i]},UT0=function(x){var r=[0,0],e=x.length-1;return ad(function(t){var u=r[1],i=X1(x,u)[1+u];return r[1]++,i},e)},jt=function(x,r,e){var t=$s(x),u=$s(e);if((u+2|0)=u)return We(x,r,e);var A=e[4],g=e[3],I=e[2],C=$s(g);if(C<=$s(A))return So(We(x,r,g),I,A);var R=g[3],L=g[2],U=We(g[4],I,A);return So(We(x,r,R),L,U)},GJ=function(x,r){if(typeof r=="number")return[0,x];if(r[0]===0)return We([0,x],r[1],0);var e=r[4],t=r[2];return jt(GJ(x,r[3]),t,e)},bJ=function(x,r){if(typeof r=="number")return[0,x];if(r[0]===0)return We(0,r[1],[0,x]);var e=r[3],t=r[2];return jt(e,t,bJ(x,r[4]))},K2=function(x,r,e){if(typeof x=="number")return GJ(r,e);if(x[0]===0){if(typeof e!="number"){if(e[0]===0)return We(x,r,e);var t=e[4],u=e[3],i=e[2];return 3>1,T=E0(W0,Z0),K=T[1],H0=E0(g0-W0|0,T[2]),sx=K,ux=H0[1],z0=0,Px=H0[2];;){if(sx){if(ux){var kx=ux[2],$x=ux[1],Qx=sx[2],j0=sx[1],rr=p(s0,j0,$x);if(rr===0){var sx=Qx,ux=kx,z0=[0,j0,z0];continue}if(0>1,T=o0(W0,Z0),K=T[1],H0=o0(g0-W0|0,T[2]),sx=K,ux=H0[1],z0=0,Px=H0[2];;){if(sx){if(ux){var kx=ux[2],$x=ux[1],Qx=sx[2],j0=sx[1],rr=p(s0,j0,$x);if(rr===0){var sx=Qx,ux=kx,z0=[0,j0,z0];continue}if(0<=rr){var ux=kx,z0=[0,$x,z0];continue}var sx=Qx,z0=[0,j0,z0];continue}var zx=Qc(sx,z0)}else var zx=Qc(ux,z0);return[0,zx,Px]}},k0=Fc(j),M0=2<=k0?o0(k0,j)[1]:j,D0=function(g0,Z0){if(3>=g0>>>0)switch(g0){case 0:return[0,0,Z0];case 1:if(Z0)return[0,[0,Z0[1]],Z0[2]];break;case 2:if(Z0){var n0=Z0[2];if(n0)return[0,[1,2,n0[1],[0,Z0[1]],0],n0[2]]}break;default:if(Z0){var nx=Z0[2];if(nx){var xx=nx[2];if(xx)return[0,[1,2,nx[1],[0,Z0[1]],[0,xx[1]]],xx[2]]}}}var yx=g0/2|0,px=D0(yx,Z0),Tx=px[2],O0=px[1];if(!Tx)throw q0([0,Tr,FQ],1);var P0=Tx[1],N0=D0((g0-yx|0)-1|0,Tx[2]),J0=N0[2];return[0,So(O0,P0,N0[1]),J0]};return D0(Fc(M0),M0)[1]}var cx=c0[1];return r(cx,r(v0,r(f0,r(t0,[0,z]))))}function i0(j,Y,z){l(zr(Y),WQ);var F=tY(z);F&&l(zr(Y),VQ);var t0=0;return b1(function($,f0){return $&&l(zr(Y),XQ),p(j,Y,f0),1},t0,F),F&&l(zr(Y),ZQ),l(zr(Y),$Q)}return[0,u1,zR,t,r,LT0,u,i,f,a,y,h,k,A,g,J,I,C,R,L,U,jR,tY,$l,xY,rY,MT0,$l,xY,B,X,OT0,e0,i0,ad,UT0,function(j,Y){for(var z=Y;;){if(typeof z=="number")return 0;if(z[0]===0){var F=z[1];return l(j,F)?[0,F]:0}var t0=z[2],$=z[4],f0=z[3];if(!l(j,t0)){var z=$;continue}for(var c0=t0,v0=f0;;){if(typeof v0=="number")return[0,c0];if(v0[0]===0){var s0=v0[1];return l(j,s0)?[0,s0]:[0,c0]}var o0=v0[2],E0=v0[4],k0=v0[3];if(l(j,o0)){var c0=o0,v0=k0;continue}var v0=E0}}}]},uY=function(x){switch(x[0]){case 0:return 1;case 1:return 2;case 2:return 2;default:return 3}},Yx=function(x,r){if(!r)return r;var e=r[1],t=l(x,e);return e===t?r:[0,t]},fx=function(x,r,e,t,u){var i=p(x,r,e);return e===i?t:l(u,i)},Q0=function(x,r,e,t){var u=l(x,r);return r===u?e:l(t,u)},r2=function(x,r){var e=r[1],t=r[2];return fx(x,e,t,r,function(u){return[0,e,u]})},iY=function(x,r){return Yx(function(e){var t=e[1],u=e[2];return fx(x,t,u,e,function(i){return[0,t,i]})},r)},gr=function(x,r){var e=b1(function(u,i){var f=u[2],o=u[1],a=l(x,i),y=f||(a!==i?1:0);return[0,[0,a,o],y]},EH,r),t=e[1];return e[2]?gx(t):r},KR=id(gH,function(x){var r=IR(x,AH),e=r[1],t=r[2],u=r[3],i=r[4],f=r[5],o=r[6],a=r[7],y=r[8],h=r[9],k=r[10],A=r[11],g=r[12],I=r[13],C=r[14],R=r[15],L=r[16],U=r[17],B=r[18],X=r[19],J=r[20],e0=r[21],i0=r[22],j=r[23],Y=r[24],z=r[25],F=r[26],t0=r[27],$=r[28],f0=r[29],c0=r[30],v0=r[31],s0=r[32],o0=r[33],E0=r[34],k0=r[35],M0=r[36],D0=r[37],cx=r[38],g0=r[39],Z0=r[40],n0=r[41],nx=r[42],xx=r[43],yx=r[44],px=r[45],Tx=r[46],O0=r[47],P0=r[48],N0=r[49],J0=r[50],I0=r[51],Q=r[52],G=r[53],V=r[54],p0=r[55],d0=r[56],A0=r[58],M=r[59],L0=r[60],V0=r[61],B0=r[62],vx=r[63],b0=r[64],hx=r[65],W0=r[66],T=r[67],K=r[68],H0=r[69],sx=r[70],ux=r[71],z0=r[72],Px=r[73],kx=r[74],$x=r[75],Qx=r[76],j0=r[77],rr=r[78],zx=r[79],X0=r[80],ir=r[81],K0=r[82],Sr=r[83],Dr=r[84],ax=r[85],br=r[86],t2=r[87],k1=r[88],Rr=r[89],U1=r[90],_=r[91],b=r[92],x0=r[93],S0=r[94],H=r[95],h0=r[96],Y0=r[97],U0=r[98],tx=r[99],Wx=r[Uc],Lx=r[Pt],ur=r[Cs],Vx=r[tt],er=r[ln],Jx=r[Ue],Or=r[_1],Xx=r[Rs],X2=r[fn],at=r[wv],de=r[P1],En=r[ut],ro=r[fe],An=r[Er],fs=r[Vi],me=r[Ps],gn=r[Ns],re=r[aa],Vt=r[pa],dr=r[xl],Zt=r[Ef],Nn=r[G3],Hv=r[qr],ke=r[Rt],lt=r[Ra],Ko=r[gi],eo=r[U4],a2=r[Jr],to=r[m1],In=r[yl],pt=r[iz],Jo=r[ph],no=r[lz],qv=r[ZU],Yo=r[Tj],uo=r[bz],yt=r[LD],cs=r[h_],Bo=r[QM],io=r[yD],a3=r[nz],Xo=r[YD],Pn=r[eD],Gv=r[Nj],fo=r[144],Wo=r[145],bv=r[146],ss=r[147],Vo=r[jM],Zo=r[yj],xa=r[150],l3=r[151],Lm=r[152],p3=r[153],C6=r[154],R6=r[155],y3=r[156],Um=r[157],Mm=r[158],ra=r[159],d3=r[KS],Dm=r[$D],jm=r[jD],zm=r[gz],M1=r[LT],dt=r[_z],m3=r[PD],q=r[jN],P=r[OT],D=r[e5],T0=r[$9],R0=r[Rk],rx=r[RD],Sx=r[Ej],Dx=r[Fz],jx=r[kk],bx=r[fD],mr=r[hM],or=r[Hj],_r=r[MU],cr=r[KD],sr=r[gC],Pr=r[qk],$r=r[ey],Wr=r[LI],Vr=r[Xw],Ur=r[Gh],Fr=r[eA],x1=r[sj],l1=r[OS],p1=r[mM],f1=r[GD],h1=r[ma],Cr=r[zM],D1=r[kh],n2=r[MM],A1=r[Sj],W2=r[sM],ee=r[Bz],Ax=r[yA],Kr=r[uK],r1=r[KU],lr=r[qj],Br=r[zz],V1=r[WM],he=r[Rz],V2=r[$T],_e=r[Gz],$t=r[uz],N2=r[EM],u2=r[Wz],I2=r[BM],l2=r[sE],mt=r[LU],P2=r[Wj],kt=r[IT],Ze=r[QI],we=r[Aj],Te=r[Oz],Se=r[Fj],Ee=r[hj],Ae=r[XD],Z1=r[WU],ge=r[x8],ht=r[Aa],$e=r[mj],te=r[OD],C2=r[Vz],Ft=r[kj],os=r[vz],_t=r[gD],wt=r[bD],Qt=r[xK],ne=r[mD],Tt=r[tK],Ht=r[Sz],ue=r[Mz],qt=r[Qg],Cn=r[mT],Gt=r[GS],Rn=r[ha],bt=r[RU],On=r[fz],$o=r[Uj],xn=r[$5],St=r[kS],vs=r[_8],as=r[J8],ls=r[Qr],Fo=r[V4],k3=r[Pv],co=r[oj],Qo=r[Ea],ea=r[H8],h3=r[Pa],_3=r[B3],ta=r[yv],na=r[VM],Ln=r[258],w3=r[JM],T3=r[260],S3=r[261],Ne=r[262],E3=r[263],A3=r[Lj],ua=r[Mj],ps=r[266],so=r[267],Ho=r[268],qo=r[uM],g3=r[270],ia=r[Hx],ys=r[272],oo=r[273],Go=r[274],Et=r[wM],Fe=r[276],ds=r[277],At=r[ez],rn=r[279],en=r[Kz],bo=r[tk],N3=r[282],I3=r[cj],xv=r[284],P3=r[SD],fa=r[vj],Km=r[57];function Un(n,s,c){var v=c[2],d=c[1],S=c[4],E=c[3],O=Yx(l(n[1][1+Ax],n),d),Z=p(n[1][1+n0],n,v);return v===Z&&d===O?c:[0,O,Z,E,S]}function Jm(n,s,c){var v=c[4],d=c[3],S=c[2],E=c[1],O=p(n[1][1+Fe],n,E),Z=Yx(l(n[1][1+U],n),S),y0=p(n[1][1+$],n,d),_0=p(n[1][1+n0],n,v);return E===O&&d===y0&&S===Z&&v===_0?c:[0,O,Z,y0,_0]}function Ym(n,s,c){var v=c[3],d=c[2],S=c[1],E=p(n[1][1+Ax],n,S),O=p(n[1][1+N0],n,d),Z=p(n[1][1+n0],n,v);return S===E&&d===O&&v===Z?c:[0,E,O,Z]}function PL(n,s,c){var v=c[3],d=c[2],S=c[1],E=p(n[1][1+M],n,S),O=p(n[1][1+N0],n,d),Z=p(n[1][1+n0],n,v);return S===E&&d===O&&v===Z?c:[0,E,O,Z]}function CL(n,s,c){var v=c[2],d=v[2],S=v[1],E=c[1],O=G0(n[1][1+o],n,s,S),Z=Yx(l(n[1][1+Ax],n),d);return S===O&&d===Z?c:[0,E,[0,O,Z]]}function RL(n,s,c){var v=c[3],d=c[2],S=c[1],E=gr(p(n[1][1+a],n,d),S),O=p(n[1][1+n0],n,v);return S===E&&v===O?c:[0,E,d,O]}function OL(n,s,c){var v=c[4],d=c[2],S=p(n[1][1+Ax],n,d),E=p(n[1][1+n0],n,v);return d===S&&v===E?c:[0,c[1],S,c[3],E]}function LL(n,s,c){var v=c[3],d=c[2],S=p(n[1][1+Ax],n,d),E=p(n[1][1+n0],n,v);return d===S&&v===E?c:[0,c[1],S,E]}function UL(n,s,c){var v=c[3],d=c[2],S=c[1],E=p(n[1][1+Ax],n,S);if(typeof d=="number")var Cx=d;else if(d[0]===0)var O=d[1],Z=p(n[1][1+$],n,O),y0=O===Z?d:[0,Z],Cx=y0;else var _0=d[1],F0=p(n[1][1+$],n,_0),ox=_0===F0?d:[1,F0],Cx=ox;var dx=p(n[1][1+n0],n,v);return E===S&&dx===v?c:[0,E,Cx,dx]}function ML(n,s,c){var v=c[3],d=c[2],S=c[1],E=p(n[1][1+Ax],n,S),O=p(n[1][1+F],n,d),Z=p(n[1][1+n0],n,v);return E===S&&O===d&&Z===v?c:[0,E,O,Z]}function DL(n,s,c){var v=c[4],d=c[3],S=c[2],E=c[1],O=r2(l(n[1][1+Et],n),E);if(S)var Z=S[1],y0=Z[1],_0=Z[2],F0=function(d1){return[0,[0,y0,d1]]},ox=fx(l(n[1][1+so],n),y0,_0,S,F0);else var ox=S;if(d)var Cx=d[1],dx=Cx[1],wr=Cx[2],c1=function(d1){return[0,[0,dx,d1]]},s1=fx(l(n[1][1+Et],n),dx,wr,d,c1);else var s1=d;var y1=p(n[1][1+n0],n,v);return E===O&&S===ox&&d===s1&&v===y1?c:[0,O,ox,s1,y1]}function jL(n,s,c){var v=c[2],d=c[1],S=p(n[1][1+Ax],n,d),E=p(n[1][1+n0],n,v);return d===S&&v===E?c:[0,S,E]}function zL(n,s,c){var v=c[1],d=p(n[1][1+n0],n,v);return v===d?c:[0,d]}function KL(n,s){return s}function JL(n,s,c){var v=c[3],d=c[2],S=c[1],E=gr(l(n[1][1+cx],n),S),O=gr(l(n[1][1+Ax],n),d),Z=p(n[1][1+n0],n,v);return S===E&&d===O&&v===Z?c:[0,E,O,Z]}function YL(n,s,c){var v=c[3],d=c[2],S=c[1],E=p(n[1][1+Ax],n,S),O=r2(l(n[1][1+g0],n),d),Z=p(n[1][1+n0],n,v);return S===E&&d===O&&v===Z?c:[0,E,O,Z]}function BL(n,s){var c=s[2],v=c[3],d=c[2],S=c[1],E=s[1],O=Yx(l(n[1][1+Ax],n),S),Z=p(n[1][1+O0],n,d),y0=p(n[1][1+n0],n,v);return S===O&&d===Z&&v===y0?s:[0,E,[0,O,Z,y0]]}function XL(n,s,c){var v=c[3],d=c[2],S=c[1],E=c[4],O=p(n[1][1+Ax],n,S),Z=gr(l(n[1][1+xx],n),d),y0=p(n[1][1+n0],n,v);return S===O&&d===Z&&v===y0?c:[0,O,Z,y0,E]}function C3(n,s,c){var v=c[1],d=p(n[1][1+n0],n,v);return v===d?c:[0,d]}function Bm(n,s){var c=s[2],v=c[2],d=c[1],S=s[1],E=p(n[1][1+Ax],n,d),O=p(n[1][1+n0],n,v);return d===E&&v===O?s:[0,S,[0,E,O]]}function WL(n,s){var c=s[2],v=c[2],d=c[1],S=s[1],E=p(n[1][1+Ax],n,d),O=p(n[1][1+n0],n,v);return d===E&&v===O?s:[0,S,[0,E,O]]}function VL(n,s){return[0,p(n[1][1+N0],n,s),0]}function ZL(n,s){var c=l(n[1][1+P0],n),v=b1(function(S,E){var O=S[2],Z=S[1],y0=l(c,E);if(!y0)return[0,Z,1];if(y0[2])return[0,Qc(y0,Z),1];var _0=y0[1],F0=O||(E!==_0?1:0);return[0,[0,_0,Z],F0]},SH,s),d=v[1];return v[2]?gx(d):s}function Xm(n,s){return p(n[1][1+O0],n,s)}function Wm(n,s,c){var v=c[2],d=c[1],S=gr(l(n[1][1+Ax],n),d),E=p(n[1][1+n0],n,v);return d===S&&v===E?c:[0,S,E]}function $L(n,s,c){var v=c[2],d=c[1],S=c[3],E=Yx(l(n[1][1+Ax],n),d),O=p(n[1][1+n0],n,v);return d===E&&v===O?c:[0,E,O,S]}function ca(n,s){var c=s[2],v=c[2],d=c[1],S=s[1],E=p(n[1][1+mr],n,d),O=p(n[1][1+n0],n,v);return d===E&&v===O?s:[0,S,[0,E,O]]}function Vm(n,s){var c=s[2],v=c[3],d=c[2],S=d[2],E=d[1],O=c[1],Z=s[1],y0=p(n[1][1+M1],n,E),_0=Yx(l(n[1][1+$],n),S),F0=p(n[1][1+n0],n,v);return y0===E&&_0===S&&F0===v?s:[0,Z,[0,O,[0,y0,_0],F0]]}function Zm(n,s){var c=s[2],v=s[1],d=p(n[1][1+i0],n,c);return jy(d,c)?s:[0,v,d]}function FL(n,s){return p(n[1][1+Ax],n,s)}function QL(n,s){var c=s[2],v=c[2],d=c[1],S=s[1];if(d)var E=d[1],O=function(_0){return[0,_0]},Z=Q0(l(n[1][1+Ax],n),E,d,O);else var Z=d;var y0=p(n[1][1+n0],n,v);return d===Z&&v===y0?s:[0,S,[0,Z,y0]]}function HL(n,s){return p(n[1][1+Ax],n,s)}function O6(n,s,c){return G0(n[1][1+K0],n,s,c)}function qL(n,s,c){var v=c[2],d=v[2],S=v[1],E=c[1],O=G0(n[1][1+j0],n,s,S),Z=p(n[1][1+n0],n,d);return O===S&&d===Z?c:[0,E,[0,O,Z]]}function $m(n,s,c){return G0(n[1][1+K0],n,s,c)}function GL(n,s,c){var v=c[2],d=v[2],S=v[1],E=c[1],O=G0(n[1][1+zx],n,s,S),Z=p(n[1][1+Z1],n,d);return S===O&&d===Z?c:[0,E,[0,O,Z]]}function Fm(n,s,c){switch(c[0]){case 0:var v=c[1],d=function(O){return[0,O]};return Q0(p(n[1][1+X0],n,s),v,c,d);case 1:var S=c[1],E=function(O){return[1,O]};return Q0(p(n[1][1+rr],n,s),S,c,E);default:return c}}function L6(n,s,c){return G0(n[1][1+K0],n,s,c)}function Qm(n,s,c){return G0(n[1][1+K0],n,s,c)}function bL(n,s,c){var v=c[2],d=v[2],S=v[1],E=c[1],O=G0(n[1][1+B0],n,s,S),Z=p(n[1][1+n0],n,d);return O===S&&d===Z?c:[0,E,[0,O,Z]]}function Hm(n,s,c){return p(n[1][1+Cn],n,c)}function U6(n,s,c){return G0(n[1][1+kx],n,s,c)}function xU(n,s,c){var v=c[1],d=c[2];function S(E){return[0,v,E]}return fx(p(n[1][1+Qx],n,s),v,d,c,S)}function M6(n,s,c){var v=c[1],d=c[2];function S(E){return[0,v,E]}return fx(p(n[1][1+Px],n,s),v,d,c,S)}function rU(n,s,c){var v=c[1],d=c[2];function S(E){return[0,v,E]}return fx(p(n[1][1+V0],n,s),v,d,c,S)}function eU(n,s,c){switch(c[0]){case 0:var v=c[1],d=function(Cx){return[0,Cx]};return Q0(p(n[1][1+b0],n,s),v,c,d);case 1:var S=c[1],E=function(Cx){return[1,Cx]};return Q0(p(n[1][1+W0],n,s),S,c,E);case 2:var O=c[1],Z=function(Cx){return[2,Cx]};return Q0(p(n[1][1+sx],n,s),O,c,Z);case 3:var y0=c[1],_0=function(Cx){return[3,Cx]};return Q0(p(n[1][1+K],n,s),y0,c,_0);default:var F0=c[1],ox=function(Cx){return[4,Cx]};return Q0(p(n[1][1+H0],n,s),F0,c,ox)}}function tU(n,s,c){var v=c[2],d=v[4],S=v[3],E=v[2],O=v[1],Z=c[1],y0=G0(n[1][1+T],n,s,O),_0=G0(n[1][1+hx],n,s,E),F0=p(n[1][1+Z1],n,S);if(d){var ox=0;if(y0[0]===3){var Cx=_0[2];if(Cx[0]===2)var wr=Nr(y0[1][2][1],Cx[1][1][2][1]);else ox=1}else ox=1;if(ox)var dx=O===y0?1:0,wr=dx&&(E===_0?1:0)}else var wr=d;return y0===O&&_0===E&&F0===S&&d===wr?c:[0,Z,[0,y0,_0,F0,wr]]}function qm(n,s,c){if(c[0]===0){var v=c[1],d=function(O){return[0,O]};return Q0(p(n[1][1+ux],n,s),v,c,d)}var S=c[1];function E(O){return[1,O]}return Q0(p(n[1][1+vx],n,s),S,c,E)}function nU(n,s,c,v){return G0(n[1][1+rn],n,c,v)}function D6(n,s,c,v){return G0(n[1][1+Or],n,c,v)}function uU(n,s,c,v){return G0(n[1][1+Tx],n,c,v)}function iU(n,s,c){return p(n[1][1+M1],n,c)}function fU(n,s,c){var v=c[2],d=c[1];switch(v[0]){case 0:var S=v[1],E=S[3],O=S[2],Z=S[1],y0=gr(p(n[1][1+z0],n,s),Z),_0=p(n[1][1+z],n,O),F0=p(n[1][1+n0],n,E),ox=0;if(y0===Z&&_0===O&&F0===E){var Cx=v;ox=1}if(!ox)var Cx=[0,[0,y0,_0,F0]];var et=Cx;break;case 1:var dx=v[1],wr=dx[3],c1=dx[2],s1=dx[1],y1=gr(p(n[1][1+ir],n,s),s1),d1=p(n[1][1+z],n,c1),Qe=p(n[1][1+n0],n,wr),He=0;if(wr===Qe&&y1===s1&&d1===c1){var qe=v;He=1}if(!He)var qe=[1,[0,y1,d1,Qe]];var et=qe;break;case 2:var Ie=v[1],Ge=Ie[2],be=Ie[1],gt=Ie[3],xt=G0(n[1][1+kx],n,s,be),rt=p(n[1][1+z],n,Ge),Mn=0;if(be===xt&&Ge===rt){var Dn=v;Mn=1}if(!Mn)var Dn=[2,[0,xt,rt,gt]];var et=Dn;break;default:var ms=v[1],ks=function(hs){return[3,hs]},et=Q0(l(n[1][1+$x],n),ms,v,ks)}return v===et?c:[0,d,et]}function Gm(n,s){return G0(n[1][1+K0],n,0,s)}function cU(n,s,c){var v=s?s[1]:0;return G0(n[1][1+K0],n,[0,v],c)}function R3(n,s){return p(n[1][1+en],n,s)}function sU(n,s){return p(n[1][1+en],n,s)}function oU(n,s){return G0(n[1][1+ds],n,TH,s)}function vU(n,s,c){return G0(n[1][1+ds],n,[0,s],c)}function aU(n,s){return G0(n[1][1+ds],n,wH,s)}function lU(n,s,c){var v=c[5],d=c[4],S=c[3],E=c[2],O=c[1],Z=p(n[1][1+Fe],n,O),y0=Yx(l(n[1][1+U],n),E),_0=Yx(l(n[1][1+$],n),S),F0=Yx(l(n[1][1+$],n),d),ox=p(n[1][1+n0],n,v);return O===Z&&S===_0&&E===y0&&S===_0&&d===F0&&v===ox?c:[0,Z,y0,_0,F0,ox]}function j6(n,s){return p(n[1][1+Cn],n,s)}function pU(n,s){return p(n[1][1+M1],n,s)}function yU(n,s){var c=s[1],v=s[2];function d(S){return[0,c,S]}return fx(l(n[1][1+rn],n),c,v,s,d)}function dU(n,s){var c=s[1],v=s[2];function d(S){return[0,c,S]}return fx(l(n[1][1+Or],n),c,v,s,d)}function z6(n,s){var c=s[1],v=s[2];function d(S){return[0,c,S]}return fx(l(n[1][1+Tx],n),c,v,s,d)}function mU(n,s){switch(s[0]){case 0:var c=s[1],v=function(dx){return[0,dx]};return Q0(l(n[1][1+h0],n),c,s,v);case 1:var d=s[1],S=function(dx){return[1,dx]};return Q0(l(n[1][1+Y0],n),d,s,S);case 2:var E=s[1],O=function(dx){return[2,dx]};return Q0(l(n[1][1+Wx],n),E,s,O);case 3:var Z=s[1],y0=function(dx){return[3,dx]};return Q0(l(n[1][1+U0],n),Z,s,y0);case 4:var _0=s[1],F0=function(dx){return[4,dx]};return Q0(l(n[1][1+A0],n),_0,s,F0);default:var ox=s[1],Cx=function(dx){return[5,dx]};return Q0(l(n[1][1+tx],n),ox,s,Cx)}}function kU(n,s){var c=s[2],v=s[1];switch(c[0]){case 0:var d=c[3],S=c[2],E=c[1],O=p(n[1][1+Lx],n,E),Z=p(n[1][1+Ax],n,S);if(d){var y0=0;if(O[0]===3){var _0=Z[2];if(_0[0]===8)var ox=Nr(O[1][2][1],_0[1][2][1]);else y0=1}else y0=1;if(y0)var F0=E===O?1:0,ox=F0&&(S===Z?1:0)}else var ox=d;return E===O&&S===Z&&d===ox?s:[0,v,[0,O,Z,ox]];case 1:var Cx=c[2],dx=c[1],wr=p(n[1][1+Lx],n,dx),c1=r2(l(n[1][1+cr],n),Cx);return dx===wr&&Cx===c1?s:[0,v,[1,wr,c1]];case 2:var s1=c[3],y1=c[2],d1=c[1],Qe=p(n[1][1+Lx],n,d1),He=r2(l(n[1][1+cr],n),y1),qe=p(n[1][1+n0],n,s1);return d1===Qe&&y1===He&&s1===qe?s:[0,v,[2,Qe,He,qe]];default:var Ie=c[3],Ge=c[2],be=c[1],gt=p(n[1][1+Lx],n,be),xt=r2(l(n[1][1+cr],n),Ge),rt=p(n[1][1+n0],n,Ie);return be===gt&&Ge===xt&&Ie===rt?s:[0,v,[3,gt,xt,rt]]}}function hU(n,s,c){var v=c[2],d=c[1],S=gr(function(O){if(O[0]===0){var Z=O[1],y0=p(n[1][1+S0],n,Z);return Z===y0?O:[0,y0]}var _0=O[1],F0=p(n[1][1+J0],n,_0);return _0===F0?O:[1,F0]},d),E=p(n[1][1+n0],n,v);return d===S&&v===E?c:[0,S,E]}function K6(n,s,c){var v=c[4],d=c[3],S=c[2],E=c[1],O=p(n[1][1+Ax],n,E),Z=Yx(l(n[1][1+qo],n),S),y0=Yx(l(n[1][1+fa],n),d),_0=p(n[1][1+n0],n,v);return E===O&&S===Z&&d===y0&&v===_0?c:[0,O,Z,y0,_0]}function J6(n,s,c){var v=c[3],d=c[2],S=c[1],E=p(n[1][1+M1],n,S),O=p(n[1][1+M1],n,d),Z=p(n[1][1+n0],n,v);return S===E&&d===O&&v===Z?c:[0,E,O,Z]}function O3(n,s){return p(n[1][1+Ax],n,s)}function L3(n,s){return p(n[1][1+A0],n,s)}function bm(n,s){return p(n[1][1+M1],n,s)}function _U(n,s){switch(s[0]){case 0:var c=s[1],v=function(Z){return[0,Z]};return Q0(l(n[1][1+An],n),c,s,v);case 1:var d=s[1],S=function(Z){return[1,Z]};return Q0(l(n[1][1+gn],n),d,s,S);default:var E=s[1],O=function(Z){return[2,Z]};return Q0(l(n[1][1+fs],n),E,s,O)}}function wU(n,s,c){var v=c[1],d=G0(n[1][1+re],n,s,v);return v===d?c:[0,d,c[2],c[3]]}function x9(n,s,c){var v=c[3],d=c[2],S=c[1],E=p(n[1][1+Ax],n,S),O=p(n[1][1+me],n,d),Z=p(n[1][1+n0],n,v);return S===E&&d===O&&v===Z?c:[0,E,O,Z]}function TU(n,s,c){var v=c[4],d=c[3],S=c[2],E=p(n[1][1+Ax],n,S),O=p(n[1][1+Ax],n,d),Z=p(n[1][1+n0],n,v);return S===E&&d===O&&v===Z?c:[0,c[1],E,O,Z]}function Y6(n,s,c){var v=c[3],d=c[2],S=c[1],E=p(n[1][1+Zt],n,S),O=p(n[1][1+N0],n,d),Z=p(n[1][1+n0],n,v);return S===E&&d===O&&v===Z?c:[0,E,O,Z]}function r9(n,s){var c=s[2],v=c[2],d=c[1],S=s[1],E=p(n[1][1+n0],n,v);return v===E?s:[0,S,[0,d,E]]}function e9(n,s){return p(n[1][1+uo],n,s)}function SU(n,s){if(s[0]===0){var c=s[1],v=function(E){return[0,E]};return Q0(l(n[1][1+to],n),c,s,v)}var d=s[1];function S(E){return[1,E]}return Q0(l(n[1][1+In],n),d,s,S)}function wE0(n,s){var c=s[2],v=c[2],d=c[1],S=s[1],E=p(n[1][1+a2],n,d),O=p(n[1][1+pt],n,v);return d===E&&v===O?s:[0,S,[0,E,O]]}function TE0(n,s){var c=s[2],v=c[2],d=c[1],S=s[1],E=p(n[1][1+pt],n,d),O=p(n[1][1+pt],n,v);return d===E&&v===O?s:[0,S,[0,E,O]]}function SE0(n,s){return p(n[1][1+In],n,s)}function EE0(n,s){return p(n[1][1+eo],n,s)}function AE0(n,s){return p(n[1][1+pt],n,s)}function gE0(n,s){switch(s[0]){case 0:var c=s[1],v=function(Z){return[0,Z]};return Q0(l(n[1][1+uo],n),c,s,v);case 1:var d=s[1],S=function(Z){return[1,Z]};return Q0(l(n[1][1+qv],n),d,s,S);default:var E=s[1],O=function(Z){return[2,Z]};return Q0(l(n[1][1+Yo],n),E,s,O)}}function NE0(n,s){var c=s[2],v=s[1],d=p(n[1][1+Ax],n,v),S=p(n[1][1+n0],n,c);return v===d&&c===S?s:[0,d,S]}function IE0(n,s,c){var v=c[2],d=c[1],S=p(n[1][1+n0],n,v);if(!d)return v===S?c:[0,0,S];var E=d[1],O=p(n[1][1+Ax],n,E);return E===O&&v===S?c:[0,[0,O],S]}function PE0(n,s){var c=s[2],v=s[1];switch(c[0]){case 0:var d=c[1],S=function(ox){return[0,v,[0,ox]]};return fx(l(n[1][1+cs],n),v,d,s,S);case 1:var E=c[1],O=function(ox){return[0,v,[1,ox]]};return fx(l(n[1][1+Jo],n),v,E,s,O);case 2:var Z=c[1],y0=function(ox){return[0,v,[2,ox]]};return fx(l(n[1][1+no],n),v,Z,s,y0);case 3:var _0=c[1],F0=function(ox){return[0,v,[3,ox]]};return Q0(l(n[1][1+Hv],n),_0,s,F0);default:return s}}function CE0(n,s){var c=s[2],v=s[1],d=gr(l(n[1][1+a3],n),c);return c===d?s:[0,v,d]}function RE0(n,s,c){return G0(n[1][1+Tx],n,s,c)}function OE0(n,s,c){return G0(n[1][1+no],n,s,c)}function LE0(n,s){if(s[0]===0){var c=s[1],v=c[1],d=c[2],S=function(_0){return[0,[0,v,_0]]};return fx(l(n[1][1+Xo],n),v,d,s,S)}var E=s[1],O=E[1],Z=E[2];function y0(_0){return[1,[0,O,_0]]}return fx(l(n[1][1+Pn],n),O,Z,s,y0)}function UE0(n,s){return p(n[1][1+eo],n,s)}function ME0(n,s){return p(n[1][1+pt],n,s)}function DE0(n,s){if(s[0]===0){var c=s[1],v=function(E){return[0,E]};return Q0(l(n[1][1+Wo],n),c,s,v)}var d=s[1];function S(E){return[1,E]}return Q0(l(n[1][1+fo],n),d,s,S)}function jE0(n,s){var c=s[2],v=c[2],d=c[1],S=s[1],E=p(n[1][1+bv],n,d),O=Yx(l(n[1][1+Gv],n),v);return d===E&&v===O?s:[0,S,[0,E,O]]}function zE0(n,s,c){var v=c[2],d=c[1],S=p(n[1][1+Ax],n,d),E=p(n[1][1+n0],n,v);return d===S&&v===E?c:[0,S,E]}function KE0(n,s){if(s[0]===0){var c=s[1],v=function(Z){return[0,Z]};return Q0(l(n[1][1+ss],n),c,s,v)}var d=s[1],S=d[1],E=d[2];function O(Z){return[1,[0,S,Z]]}return fx(l(n[1][1+ke],n),S,E,s,O)}function JE0(n,s){var c=s[2][1],v=s[1],d=p(n[1][1+yt],n,c);return c===d?s:[0,v,[0,d]]}function YE0(n,s){var c=s[2],v=c[4],d=c[2],S=c[1],E=c[3],O=s[1],Z=p(n[1][1+yt],n,S),y0=Yx(l(n[1][1+qo],n),d),_0=gr(l(n[1][1+Ko],n),v);return S===Z&&d===y0&&v===_0?s:[0,O,[0,Z,y0,E,_0]]}function BE0(n,s,c){var v=c[4],d=c[3],S=p(n[1][1+io],n,d),E=p(n[1][1+n0],n,v);return d===S&&v===E?c:[0,c[1],c[2],S,E]}function XE0(n,s,c){var v=c[4],d=c[3],S=c[2],E=c[1],O=p(n[1][1+lt],n,E),Z=Yx(l(n[1][1+Bo],n),S),y0=p(n[1][1+io],n,d),_0=p(n[1][1+n0],n,v);return E===O&&S===Z&&d===y0&&v===_0?c:[0,O,Z,y0,_0]}function WE0(n,s,c,v){var d=2<=s?p(n[1][1+kx],n,_H):l(n[1][1+Fe],n);return l(d,v)}function VE0(n,s,c){var v=2<=s?p(n[1][1+kx],n,hH):l(n[1][1+Fe],n);return l(v,c)}function ZE0(n,s,c){var v=c[3],d=c[2],S=c[1],E=0,O=c[4];if(s){var Z=0;if(S)switch(S[1]){case 0:E=1;break;case 1:Z=2;break;default:Z=1}else Z=1;var y0=0;switch(Z){case 0:break;case 1:if(2<=s)var _0=0,F0=0;else y0=1;break;default:y0=1}if(y0)var _0=1,F0=0}else E=1;if(E)var _0=1,F0=1;var ox=d?p(n[1][1+V],n,v):F0?p(n[1][1+Fe],n,v):G0(n[1][1+kx],n,mH,v);if(d)var Cx=d[1],dx=_0?l(n[1][1+Fe],n):p(n[1][1+kx],n,kH),wr=Q0(dx,Cx,d,function(c1){return[0,c1]});else var wr=0;return d===wr&&v===ox?c:[0,S,wr,ox,O]}function $E0(n,s){return p(n[1][1+M1],n,s)}function FE0(n,s,c){if(c[0]===0){var v=c[1],d=gr(p(n[1][1+Um],n,s),v);return v===d?c:[0,d]}var S=c[1],E=S[1],O=S[2];function Z(y0){return[1,[0,E,y0]]}return fx(p(n[1][1+y3],n,s),E,O,c,Z)}function QE0(n,s,c){var v=c[3],d=c[2],S=c[1],E=p(n[1][1+n0],n,v);return v===E?c:[0,S,d,E]}function HE0(n,s,c){var v=c[5],d=c[4],S=c[3],E=c[2],O=c[1],Z=r2(l(n[1][1+R6],n),E),y0=Yx(p(n[1][1+C6],n,O),d),_0=Yx(function(ox){var Cx=ox[1],dx=ox[2],wr=G0(n[1][1+Mm],n,O,Cx);return wr===Cx?ox:[0,wr,dx]},S),F0=p(n[1][1+n0],n,v);return E===Z&&d===y0&&S===_0&&v===F0?c:[0,O,Z,_0,y0,F0]}function qE0(n,s,c){var v=c[4],d=c[3],S=c[2],E=c[1],O=p(n[1][1+M],n,E),Z=G0(n[1][1+jm],n,d!==0?1:0,S),y0=l(n[1][1+zm],n),_0=Yx(function(ox){return r2(y0,ox)},d),F0=p(n[1][1+n0],n,v);return E===O&&S===Z&&d===_0&&v===F0?c:[0,O,Z,_0,F0]}function GE0(n,s,c){var v=c[2],d=c[1],S=p(n[1][1+N0],n,d),E=p(n[1][1+n0],n,v);return d===S&&v===E?c:[0,S,E]}function bE0(n,s,c){return p(n[1][1+N0],n,c)}function xA0(n,s,c){var v=c[2],d=c[1],S=p(n[1][1+Ax],n,d),E=p(n[1][1+n0],n,v);return d===S&&v===E?c:[0,S,E]}function rA0(n,s){var c=s[2],v=c[2],d=c[1],S=s[1],E=p(n[1][1+Ax],n,d),O=p(n[1][1+n0],n,v);return d===E&&v===O?s:[0,S,[0,E,O]]}function eA0(n,s){var c=s[2],v=c[2],d=c[1],S=s[1],E=p(n[1][1+n0],n,v);return v===E?s:[0,S,[0,d,E]]}function tA0(n,s,c){return G0(n[1][1+l3],n,s,c)}function nA0(n,s,c){var v=c[5],d=c[4],S=c[3],E=c[2],O=c[1],Z=p(n[1][1+Fe],n,O),y0=Yx(l(n[1][1+U],n),E),_0=l(n[1][1+dt],n),F0=gr(function(dx){return r2(_0,dx)},S),ox=r2(l(n[1][1+U1],n),d),Cx=p(n[1][1+n0],n,v);return Z===O&&y0===E&&F0===S&&ox===d&&Cx===v?c:[0,Z,y0,F0,ox,Cx]}function uA0(n,s){return p(n[1][1+J],n,s)}function iA0(n,s){return p(n[1][1+J],n,s)}function fA0(n,s){return p(n[1][1+M1],n,s)}function cA0(n,s){var c=s[2],v=c[2],d=c[1],S=s[1],E=p(n[1][1+n0],n,v);return v===E?s:[0,S,[0,d,E]]}function sA0(n,s){return G0(n[1][1+kx],n,dH,s)}function oA0(n,s){return p(n[1][1+Ax],n,s)}function vA0(n,s){var c=s[1],v=s[2];function d(S){return[0,c,S]}return fx(l(n[1][1+Et],n),c,v,s,d)}function aA0(n,s){if(s[0]===0){var c=s[1],v=function(E){return[0,E]};return Q0(l(n[1][1+Wr],n),c,s,v)}var d=s[1];function S(E){return[1,E]}return Q0(l(n[1][1+Go],n),d,s,S)}function lA0(n,s){switch(s[0]){case 0:return s;case 1:var c=s[1],v=function(E){return[1,E]};return Q0(l(n[1][1+F],n),c,s,v);default:var d=s[1],S=function(E){return[2,E]};return Q0(l(n[1][1+e0],n),d,s,S)}}function pA0(n,s){var c=s[2],v=c[2],d=c[1],S=s[1],E=p(n[1][1+mr],n,d),O=p(n[1][1+Z1],n,v);return d===E&&v===O?s:[0,S,[0,E,O]]}function yA0(n,s){var c=s[2],v=c[2],d=c[1],S=s[1],E=p(n[1][1+F],n,d),O=p(n[1][1+n0],n,v);return E===d&&O===v?s:[0,S,[0,E,O]]}function dA0(n,s){var c=s[2],v=c[4],d=c[3],S=c[2],E=c[1],O=s[1],Z=gr(l(n[1][1+or],n),S),y0=Yx(l(n[1][1+Dx],n),d),_0=Yx(l(n[1][1+R0],n),E),F0=p(n[1][1+n0],n,v);return S===Z&&d===y0&&v===F0&&E===_0?s:[0,O,[0,_0,Z,y0,F0]]}function mA0(n,s,c){var v=c[9],d=c[8],S=c[7],E=c[6],O=c[3],Z=c[2],y0=c[1],_0=c[10],F0=c[5],ox=c[4],Cx=Yx(l(n[1][1+_r],n),y0),dx=Yx(l(n[1][1+U],n),d),wr=p(n[1][1+jx],n,Z),c1=p(n[1][1+rx],n,S),s1=p(n[1][1+$r],n,O),y1=Yx(l(n[1][1+L0],n),E),d1=p(n[1][1+n0],n,v);return y0===Cx&&Z===wr&&O===s1&&E===y1&&S===c1&&d===dx&&v===d1?c:[0,Cx,wr,s1,ox,F0,y1,c1,dx,d1,_0]}function kA0(n,s,c){return G0(n[1][1+Vr],n,s,c)}function hA0(n,s,c){return G0(n[1][1+cr],n,s,c)}function _A0(n,s,c){return G0(n[1][1+Vr],n,s,c)}function wA0(n,s){if(s[0]===0)return s;var c=s[1];function v(d){return[1,d]}return Q0(l(n[1][1+F],n),c,s,v)}function TA0(n,s){var c=s[2],v=s[1];function d(S){return[0,v,S]}return Q0(l(n[1][1+$],n),c,s,d)}function SA0(n,s){var c=s[2],v=s[1];switch(c[0]){case 0:var d=c[1],S=function(Ux){return[0,v,[0,Ux]]};return Q0(l(n[1][1+n0],n),d,s,S);case 1:var E=c[1],O=function(Ux){return[0,v,[1,Ux]]};return Q0(l(n[1][1+n0],n),E,s,O);case 2:var Z=c[1],y0=function(Ux){return[0,v,[2,Ux]]};return Q0(l(n[1][1+n0],n),Z,s,y0);case 3:var _0=c[1],F0=function(Ux){return[0,v,[3,Ux]]};return Q0(l(n[1][1+n0],n),_0,s,F0);case 4:var ox=c[1],Cx=function(Ux){return[0,v,[4,Ux]]};return Q0(l(n[1][1+n0],n),ox,s,Cx);case 5:var dx=c[1],wr=function(Ux){return[0,v,[5,Ux]]};return Q0(l(n[1][1+n0],n),dx,s,wr);case 6:var c1=c[1],s1=function(Ux){return[0,v,[6,Ux]]};return Q0(l(n[1][1+n0],n),c1,s,s1);case 7:var y1=c[1],d1=function(Ux){return[0,v,[7,Ux]]};return Q0(l(n[1][1+n0],n),y1,s,d1);case 8:var Qe=c[2],He=c[1],qe=function(Ux){return[0,v,[8,He,Ux]]};return Q0(l(n[1][1+n0],n),Qe,s,qe);case 9:var Ie=c[1],Ge=function(Ux){return[0,v,[9,Ux]]};return Q0(l(n[1][1+n0],n),Ie,s,Ge);case 10:var be=c[1],gt=function(Ux){return[0,v,[10,Ux]]};return Q0(l(n[1][1+n0],n),be,s,gt);case 11:var xt=c[1],rt=function(Ux){return[0,v,[11,Ux]]};return Q0(l(n[1][1+Xx],n),xt,s,rt);case 12:var Mn=c[1],Dn=function(Ux){return[0,v,[12,Ux]]};return fx(l(n[1][1+D],n),v,Mn,s,Dn);case 13:var ms=c[1],ks=function(Ux){return[0,v,[13,Ux]]};return fx(l(n[1][1+On],n),v,ms,s,ks);case 14:var et=c[1],hs=function(Ux){return[0,v,[14,Ux]]};return fx(l(n[1][1+U1],n),v,et,s,hs);case 15:var rv=c[1],B6=function(Ux){return[0,v,[15,Ux]]};return fx(l(n[1][1+Zo],n),v,rv,s,B6);case 16:var X6=c[1],W6=function(Ux){return[0,v,[16,Ux]]};return Q0(l(n[1][1+I3],n),X6,s,W6);case 17:var V6=c[1],Z6=function(Ux){return[0,v,[17,Ux]]};return Q0(l(n[1][1+ue],n),V6,s,Z6);case 18:var $6=c[1],F6=function(Ux){return[0,v,[18,Ux]]};return Q0(l(n[1][1+Lm],n),$6,s,F6);case 19:var Q6=c[1],H6=function(Ux){return[0,v,[19,Ux]]};return fx(l(n[1][1+dt],n),v,Q6,s,H6);case 20:var q6=c[1],G6=function(Ux){return[0,v,[20,Ux]]};return fx(l(n[1][1+p3],n),v,q6,s,G6);case 21:var b6=c[1],x4=function(Ux){return[0,v,[21,Ux]]};return fx(l(n[1][1+Dr],n),v,b6,s,x4);case 22:var r4=c[1],e4=function(Ux){return[0,v,[22,Ux]]};return fx(l(n[1][1+k],n),v,r4,s,e4);case 23:var t4=c[1],n4=function(Ux){return[0,v,[23,Ux]]};return fx(l(n[1][1+Vo],n),v,t4,s,n4);case 24:var u4=c[1],i4=function(Ux){return[0,v,[24,Ux]]};return Q0(l(n[1][1+g],n),u4,s,i4);case 25:var f4=c[1],c4=function(Ux){return[0,v,[25,Ux]]};return Q0(l(n[1][1+Nn],n),f4,s,c4);case 26:var s4=c[1],o4=function(Ux){return[0,v,[26,Ux]]};return Q0(l(n[1][1+d0],n),s4,s,o4);case 27:var v4=c[1],a4=function(Ux){return[0,v,[27,Ux]]};return Q0(l(n[1][1+f0],n),v4,s,a4);case 28:var l4=c[1],p4=function(Ux){return[0,v,[28,Ux]]};return fx(l(n[1][1+Tx],n),v,l4,s,p4);case 29:var y4=c[1],d4=function(Ux){return[0,v,[29,Ux]]};return fx(l(n[1][1+Or],n),v,y4,s,d4);case 30:var m4=c[1],k4=function(Ux){return[0,v,[30,Ux]]};return fx(l(n[1][1+rn],n),v,m4,s,k4);case 31:var h4=c[1],_4=function(Ux){return[0,v,[31,Ux]]};return fx(l(n[1][1+oo],n),v,h4,s,_4);case 32:var w4=c[1],T4=function(Ux){return[0,v,[32,Ux]]};return Q0(l(n[1][1+n0],n),w4,s,T4);case 33:var S4=c[1],E4=function(Ux){return[0,v,[33,Ux]]};return Q0(l(n[1][1+n0],n),S4,s,E4);default:var A4=c[1],g4=function(Ux){return[0,v,[34,Ux]]};return Q0(l(n[1][1+n0],n),A4,s,g4)}}function EA0(n,s,c){var v=c[2],d=c[1],S=d[3],E=d[2],O=d[1],Z=p(n[1][1+$],n,O),y0=p(n[1][1+$],n,E),_0=gr(l(n[1][1+$],n),S),F0=p(n[1][1+n0],n,v);return Z===O&&y0===E&&_0===S&&F0===v?c:[0,[0,Z,y0,_0],F0]}function AA0(n,s,c){var v=c[2],d=c[1],S=d[3],E=d[2],O=d[1],Z=p(n[1][1+$],n,O),y0=p(n[1][1+$],n,E),_0=gr(l(n[1][1+$],n),S),F0=p(n[1][1+n0],n,v);return Z===O&&y0===E&&_0===S&&F0===v?c:[0,[0,Z,y0,_0],F0]}function gA0(n,s){var c=s[2],v=s[1],d=p(n[1][1+$],n,v),S=p(n[1][1+n0],n,c);return v===d&&c===S?s:[0,d,S]}function NA0(n,s){var c=s[2],v=s[1],d=p(n[1][1+$],n,c);return d===c?s:[0,v,d]}function IA0(n,s){var c=s[3],v=s[2],d=s[4],S=s[1],E=p(n[1][1+$],n,v),O=p(n[1][1+i],n,c);return E===v&&O===c?s:[0,S,E,O,d]}function PA0(n,s){var c=s[2],v=s[1];switch(c[0]){case 0:var d=c[1],S=function(_0){return[0,v,[0,_0]]};return Q0(l(n[1][1+$],n),d,s,S);case 1:var E=c[1],O=function(_0){return[0,v,[1,_0]]};return Q0(l(n[1][1+v0],n),E,s,O);default:var Z=c[1],y0=function(_0){return[0,v,[2,_0]]};return Q0(l(n[1][1+c0],n),Z,s,y0)}}function CA0(n,s){var c=s[2],v=s[1],d=gr(l(n[1][1+s0],n),v),S=p(n[1][1+n0],n,c);return v===d&&c===S?s:[0,d,S]}function RA0(n,s){var c=s[2],v=s[1],d=p(n[1][1+$],n,v),S=p(n[1][1+n0],n,c);return v===d&&c===S?s:[0,d,S]}function OA0(n,s){var c=s[2],v=s[1],d=p(n[1][1+$],n,v),S=p(n[1][1+n0],n,c);return v===d&&c===S?s:[0,d,S]}function LA0(n,s){var c=s[2],v=c[2],d=c[1],S=s[1],E=p(n[1][1+L],n,d),O=p(n[1][1+C],n,v);return E===d&&O===v?s:[0,S,[0,E,O]]}function UA0(n,s){return p(n[1][1+M1],n,s)}function MA0(n,s){return p(n[1][1+M1],n,s)}function DA0(n,s){if(s[0]===0){var c=s[1],v=function(E){return[0,E]};return Q0(l(n[1][1+R],n),c,s,v)}var d=s[1];function S(E){return[1,E]}return Q0(l(n[1][1+I],n),d,s,S)}function jA0(n,s){var c=s[2],v=s[1],d=p(n[1][1+L],n,v),S=p(n[1][1+n0],n,c);return v===d&&c===S?s:[0,d,S]}function zA0(n,s){var c=s[2],v=s[1],d=p(n[1][1+B],n,v),S=p(n[1][1+n0],n,c);return v===d&&c===S?s:[0,d,S]}function KA0(n,s){var c=s[5],v=s[4],d=s[3],S=s[2],E=s[1],O=p(n[1][1+$],n,E),Z=p(n[1][1+$],n,S),y0=p(n[1][1+$],n,d),_0=p(n[1][1+$],n,v),F0=p(n[1][1+n0],n,c);return E===O&&S===Z&&d===y0&&v===_0&&c===F0?s:[0,O,Z,y0,_0,F0]}function JA0(n,s){var c=s[2],v=s[1],d=p(n[1][1+$],n,v),S=p(n[1][1+n0],n,c);return v===d&&c===S?s:[0,d,S]}function YA0(n,s,c){var v=c[6],d=c[5],S=c[4],E=c[3],O=c[2],Z=c[1];return v===p(n[1][1+n0],n,v)?c:[0,Z,O,E,S,d,v]}function BA0(n,s,c){var v=c[4],d=c[3],S=c[2],E=c[1],O=p(n[1][1+n0],n,v);return v===O?c:[0,E,S,d,O]}function XA0(n,s,c){return p(n[1][1+n0],n,c)}function WA0(n,s,c){var v=c[2],d=c[1],S=p(n[1][1+n0],n,v);return v===S?c:[0,d,S]}function VA0(n,s,c){var v=c[3],d=c[2],S=c[1],E=p(n[1][1+n0],n,v);return v===E?c:[0,S,d,E]}function ZA0(n,s,c){var v=c[3],d=c[2],S=c[1],E=p(n[1][1+n0],n,v);return v===E?c:[0,S,d,E]}function $A0(n,s,c){var v=c[3],d=c[2],S=c[1],E=p(n[1][1+n0],n,v);return v===E?c:[0,S,d,E]}function FA0(n,s,c){var v=c[1],d=c[2],S=G0(n[1][1+p3],n,s,v);return S===v?c:[0,S,d]}function QA0(n,s,c){var v=c[3],d=c[2],S=c[1],E=p(n[1][1+$],n,S),O=p(n[1][1+$],n,d),Z=p(n[1][1+n0],n,v);return E===S&&O===d&&Z===v?c:[0,E,O,Z]}function HA0(n,s,c){var v=c[3],d=c[2],S=c[1],E=p(n[1][1+q],n,S),O=Yx(l(n[1][1+Y],n),d),Z=p(n[1][1+n0],n,v);return E===S&&O===d&&Z===v?c:[0,E,O,Z]}function qA0(n,s){var c=s[2],v=c[5],d=c[4],S=c[2],E=c[1],O=c[3],Z=s[1],y0=p(n[1][1+z],n,S),_0=p(n[1][1+i],n,d),F0=Yx(l(n[1][1+$],n),v),ox=p(n[1][1+Fe],n,E);return ox===E&&y0===S&&_0===d&&F0===v?s:[0,Z,[0,ox,y0,O,_0,F0]]}function GA0(n,s){var c=s[2],v=c[2],d=c[1],S=s[1],E=gr(l(n[1][1+B],n),d),O=p(n[1][1+n0],n,v);return E===d&&O===v?s:[0,S,[0,E,O]]}function bA0(n,s){var c=s[2],v=c[2],d=c[1],S=s[1],E=gr(l(n[1][1+$],n),d),O=p(n[1][1+n0],n,v);return d===E&&v===O?s:[0,S,[0,E,O]]}function xg0(n,s){return Yx(l(n[1][1+f],n),s)}function rg0(n,s){var c=s[2],v=c[2],d=c[1],S=s[1],E=p(n[1][1+n0],n,v);return v===E?s:[0,S,[0,d,E]]}function eg0(n,s){return p(n[1][1+M1],n,s)}function tg0(n,s){var c=s[2],v=c[2],d=c[1],S=s[1],E=p(n[1][1+q],n,d),O=p(n[1][1+ro],n,v);return E===d&&O===v?s:[0,S,[0,E,O]]}function ng0(n,s){if(s[0]===0){var c=s[1],v=function(E){return[0,E]};return Q0(l(n[1][1+X],n),c,s,v)}var d=s[1];function S(E){return[1,E]}return Q0(l(n[1][1+m3],n),d,s,S)}function ug0(n,s,c){var v=c[3],d=c[2],S=c[1],E=l(n[1][1+dt],n),O=gr(function(_0){return r2(E,_0)},d),Z=r2(l(n[1][1+U1],n),S),y0=p(n[1][1+n0],n,v);return O===d&&Z===S&&v===y0?c:[0,Z,O,y0]}function ig0(n,s){switch(s[0]){case 0:var c=s[1],v=function(dx){return[0,dx]};return Q0(l(n[1][1+x0],n),c,s,v);case 1:var d=s[1],S=function(dx){return[1,dx]};return Q0(l(n[1][1+_],n),d,s,S);case 2:var E=s[1],O=function(dx){return[2,dx]};return Q0(l(n[1][1+Vx],n),E,s,O);case 3:var Z=s[1],y0=function(dx){return[3,dx]};return Q0(l(n[1][1+er],n),Z,s,y0);case 4:var _0=s[1],F0=function(dx){return[4,dx]};return Q0(l(n[1][1+ur],n),_0,s,F0);default:var ox=s[1],Cx=function(dx){return[5,dx]};return Q0(l(n[1][1+H],n),ox,s,Cx)}}function fg0(n,s,c){var v=c[4],d=c[3],S=c[2],E=c[1],O=gr(l(n[1][1+Rr],n),d),Z=p(n[1][1+n0],n,v);return O===d&&v===Z?c:[0,E,S,O,Z]}function cg0(n,s){var c=s[2],v=c[6],d=c[4],S=c[3],E=c[2],O=c[1],Z=c[5],y0=s[1],_0=p(n[1][1+B],n,O),F0=p(n[1][1+$],n,E),ox=p(n[1][1+$],n,S),Cx=p(n[1][1+i],n,d),dx=p(n[1][1+n0],n,v);return _0===O&&F0===E&&ox===S&&Cx===d&&dx===v?s:[0,y0,[0,_0,F0,ox,Cx,Z,dx]]}function sg0(n,s){var c=s[2],v=c[3],d=c[1],S=d[2],E=d[1],O=c[2],Z=s[1],y0=G0(n[1][1+D],n,E,S),_0=p(n[1][1+n0],n,v);return S===y0&&v===_0?s:[0,Z,[0,[0,E,y0],O,_0]]}function og0(n,s){var c=s[2],v=c[6],d=c[2],S=c[1],E=c[5],O=c[4],Z=c[3],y0=s[1],_0=p(n[1][1+M1],n,S),F0=p(n[1][1+$],n,d),ox=p(n[1][1+n0],n,v);return S===_0&&d===F0&&v===ox?s:[0,y0,[0,_0,F0,Z,O,E,ox]]}function vg0(n,s){var c=s[2],v=c[6],d=c[5],S=c[3],E=c[2],O=c[4],Z=c[1],y0=s[1],_0=p(n[1][1+$],n,E),F0=p(n[1][1+$],n,S),ox=p(n[1][1+i],n,d),Cx=p(n[1][1+n0],n,v);return _0===E&&F0===S&&ox===d&&Cx===v?s:[0,y0,[0,Z,_0,F0,O,ox,Cx]]}function ag0(n,s){var c=s[2],v=c[2],d=c[1],S=s[1],E=p(n[1][1+$],n,d),O=p(n[1][1+n0],n,v);return E===d&&v===O?s:[0,S,[0,E,O]]}function lg0(n,s){var c=s[2],v=c[8],d=c[7],S=c[2],E=c[1],O=c[6],Z=c[5],y0=c[4],_0=c[3],F0=s[1],ox=p(n[1][1+Lx],n,E),Cx=p(n[1][1+b],n,S),dx=p(n[1][1+i],n,d),wr=p(n[1][1+n0],n,v);return ox===E&&Cx===S&&dx===d&&wr===v?s:[0,F0,[0,ox,Cx,_0,y0,Z,O,dx,wr]]}function pg0(n,s){var c=s[1],v=s[2];function d(S){return[0,c,S]}return fx(l(n[1][1+D],n),c,v,s,d)}function yg0(n,s){var c=s[1],v=s[2];function d(S){return[0,c,S]}return fx(l(n[1][1+D],n),c,v,s,d)}function dg0(n,s){switch(s[0]){case 0:var c=s[1],v=function(Z){return[0,Z]};return Q0(l(n[1][1+$],n),c,s,v);case 1:var d=s[1],S=function(Z){return[1,Z]};return Q0(l(n[1][1+k1],n),d,s,S);default:var E=s[1],O=function(Z){return[2,Z]};return Q0(l(n[1][1+t2],n),E,s,O)}}function mg0(n,s){return p(n[1][1+M1],n,s)}function kg0(n,s,c){var v=c[4],d=c[3],S=c[2],E=S[2],O=E[4],Z=E[3],y0=E[2],_0=E[1],F0=c[1],ox=S[1],Cx=Yx(l(n[1][1+U],n),F0),dx=Yx(l(n[1][1+T0],n),_0),wr=gr(l(n[1][1+bx],n),y0),c1=Yx(l(n[1][1+Sx],n),Z),s1=p(n[1][1+P],n,d),y1=p(n[1][1+n0],n,v),d1=p(n[1][1+n0],n,O);return wr===y0&&c1===Z&&s1===d&&Cx===F0&&y1===v&&d1===O&&dx===_0?c:[0,Cx,[0,ox,[0,dx,wr,c1,d1]],s1,y1]}function hg0(n,s){if(s[0]===0){var c=s[1],v=function(E){return[0,E]};return Q0(l(n[1][1+$],n),c,s,v)}var d=s[1];function S(E){return[1,E]}return Q0(l(n[1][1+i0],n),d,s,S)}function _g0(n,s){var c=s[2],v=c[2],d=c[1],S=s[1],E=p(n[1][1+F],n,d),O=p(n[1][1+n0],n,v);return E===d&&O===v?s:[0,S,[0,E,O]]}function wg0(n,s){var c=s[2],v=c[2],d=c[1],S=s[1],E=p(n[1][1+bx],n,d),O=p(n[1][1+n0],n,v);return E===d&&O===v?s:[0,S,[0,E,O]]}function Tg0(n,s){var c=s[2],v=c[2],d=c[1],S=c[3],E=s[1],O=p(n[1][1+$],n,v),Z=Yx(l(n[1][1+M1],n),d);return O===v&&Z===d?s:[0,E,[0,Z,O,S]]}function Sg0(n,s){var c=s[1],v=s[2];function d(S){return[0,c,S]}return fx(l(n[1][1+y],n),c,v,s,d)}function Eg0(n,s){if(s[0]===0){var c=s[1],v=function(E){return[0,E]};return Q0(l(n[1][1+h1],n),c,s,v)}var d=s[1];function S(E){return[1,E]}return Q0(l(n[1][1+Ax],n),d,s,S)}function Ag0(n,s,c){var v=c[5],d=c[4],S=c[3],E=c[2],O=c[1],Z=Yx(l(n[1][1+Ur],n),O),y0=Yx(l(n[1][1+M],n),E),_0=Yx(l(n[1][1+Ax],n),S),F0=p(n[1][1+N0],n,d),ox=p(n[1][1+n0],n,v);return O===Z&&E===y0&&S===_0&&d===F0&&v===ox?c:[0,Z,y0,_0,F0,ox]}function gg0(n,s){var c=s[1],v=s[2];function d(S){return[0,c,S]}return fx(l(n[1][1+y],n),c,v,s,d)}function Ng0(n,s){if(s[0]===0){var c=s[1],v=function(E){return[0,E]};return Q0(l(n[1][1+p1],n),c,s,v)}var d=s[1];function S(E){return[1,E]}return Q0(l(n[1][1+f1],n),d,s,S)}function Ig0(n,s,c){var v=c[5],d=c[3],S=c[2],E=c[1],O=c[4],Z=p(n[1][1+x1],n,E),y0=p(n[1][1+Ax],n,S),_0=p(n[1][1+N0],n,d),F0=p(n[1][1+n0],n,v);return E===Z&&S===y0&&d===_0&&v===F0?c:[0,Z,y0,_0,O,F0]}function Pg0(n,s){var c=s[1],v=s[2];function d(S){return[0,c,S]}return fx(l(n[1][1+y],n),c,v,s,d)}function Cg0(n,s){if(s[0]===0){var c=s[1],v=function(E){return[0,E]};return Q0(l(n[1][1+n2],n),c,s,v)}var d=s[1];function S(E){return[1,E]}return Q0(l(n[1][1+A1],n),d,s,S)}function Rg0(n,s,c){var v=c[5],d=c[3],S=c[2],E=c[1],O=c[4],Z=p(n[1][1+Cr],n,E),y0=p(n[1][1+Ax],n,S),_0=p(n[1][1+N0],n,d),F0=p(n[1][1+n0],n,v);return E===Z&&S===y0&&d===_0&&v===F0?c:[0,Z,y0,_0,O,F0]}function Og0(n,s){if(s[0]===0){var c=s[1],v=function(E){return[0,E]};return Q0(l(n[1][1+Ax],n),c,s,v)}var d=s[1];function S(E){return[1,E]}return Q0(l(n[1][1+I0],n),d,s,S)}function Lg0(n,s,c){var v=c[3],d=c[1],S=c[2],E=p(n[1][1+Ax],n,d),O=p(n[1][1+n0],n,v);return d===E&&v===O?c:[0,E,S,O]}function Ug0(n,s,c){var v=c[3],d=c[2],S=c[1],E=p(n[1][1+n0],n,v);return v===E?c:[0,S,d,E]}function Mg0(n,s){if(s[0]===0){var c=s[1],v=gr(l(n[1][1+lr],n),c);return c===v?s:[0,v]}var d=s[1],S=p(n[1][1+V2],n,d);return d===S?s:[1,S]}function Dg0(n,s){var c=s[2],v=s[1],d=Yx(l(n[1][1+M1],n),c);return c===d?s:[0,v,d]}function jg0(n,s){var c=s[2],v=c[2],d=c[1],S=s[1],E=p(n[1][1+M1],n,d),O=Yx(l(n[1][1+M1],n),v);return d===E&&v===O?s:[0,S,[0,E,O]]}function zg0(n,s,c){var v=c[5],d=c[3],S=c[2],E=c[1],O=c[4],Z=iY(l(n[1][1+Kr],n),d),y0=Yx(l(n[1][1+r1],n),S),_0=Yx(l(n[1][1+N0],n),E),F0=p(n[1][1+n0],n,v);return d===Z&&S===y0&&E===_0&&v===F0?c:[0,_0,y0,Z,O,F0]}function Kg0(n,s){if(s[0]===0){var c=s[1],v=function(E){return[0,E]};return Q0(l(n[1][1+N0],n),c,s,v)}var d=s[1];function S(E){return[1,E]}return Q0(l(n[1][1+Ax],n),d,s,S)}function Jg0(n,s,c){var v=c[3],d=c[2],S=c[1],E=p(n[1][1+V1],n,d),O=p(n[1][1+n0],n,v);return E===d&&O===v?c:[0,S,E,O]}function Yg0(n,s){return p(n[1][1+M1],n,s)}function Bg0(n,s){var c=s[2],v=c[1],d=c[2],S=s[1],E=p(n[1][1+l2],n,v);return v===E?s:[0,S,[0,E,d]]}function Xg0(n,s){var c=s[2],v=c[1],d=c[2],S=s[1],E=p(n[1][1+l2],n,v);return v===E?s:[0,S,[0,E,d]]}function Wg0(n,s){var c=s[2],v=c[1],d=c[2],S=s[1],E=p(n[1][1+l2],n,v);return v===E?s:[0,S,[0,E,d]]}function Vg0(n,s){var c=s[2],v=c[1],d=c[2],S=s[1],E=p(n[1][1+l2],n,v);return v===E?s:[0,S,[0,E,d]]}function Zg0(n,s){var c=s[2][1],v=s[1],d=p(n[1][1+l2],n,c);return c===d?s:[0,v,[0,d]]}function $g0(n,s){var c=s[4],v=s[1],d=gr(l(n[1][1+Te],n),v),S=p(n[1][1+n0],n,c);return v===d&&c===S?s:[0,d,s[2],s[3],S]}function Fg0(n,s){var c=s[3],v=s[1],d=gr(l(n[1][1+mt],n),v),S=p(n[1][1+n0],n,c);return v===d&&c===S?s:[0,d,s[2],S]}function Qg0(n,s){var c=s[4],v=s[1];if(v[0]===0)var d=v[1],S=function(ox){return[0,ox]},E=l(n[1][1+mt],n),_0=Q0(function(ox){return gr(E,ox)},d,v,S);else var O=v[1],Z=function(ox){return[1,ox]},y0=l(n[1][1+$t],n),_0=Q0(function(ox){return gr(y0,ox)},O,v,Z);var F0=p(n[1][1+n0],n,c);return v===_0&&c===F0?s:[0,_0,s[2],s[3],F0]}function Hg0(n,s){var c=s[4],v=s[1],d=gr(l(n[1][1+u2],n),v),S=p(n[1][1+n0],n,c);return v===d&&c===S?s:[0,d,s[2],s[3],S]}function qg0(n,s){var c=s[4],v=s[1],d=gr(l(n[1][1+kt],n),v),S=p(n[1][1+n0],n,c);return v===d&&c===S?s:[0,d,s[2],s[3],S]}function Gg0(n,s){var c=s[2],v=s[1];switch(c[0]){case 0:var d=c[1],S=function(dx){return[0,v,[0,dx]]};return Q0(l(n[1][1+Ze],n),d,s,S);case 1:var E=c[1],O=function(dx){return[0,v,[1,dx]]};return Q0(l(n[1][1+I2],n),E,s,O);case 2:var Z=c[1],y0=function(dx){return[0,v,[2,dx]]};return Q0(l(n[1][1+N2],n),Z,s,y0);case 3:var _0=c[1],F0=function(dx){return[0,v,[3,dx]]};return Q0(l(n[1][1+_e],n),_0,s,F0);default:var ox=c[1],Cx=function(dx){return[0,v,[4,dx]]};return Q0(l(n[1][1+Se],n),ox,s,Cx)}}function bg0(n,s,c){var v=c[3],d=c[2],S=c[1],E=G0(n[1][1+kx],n,yH,S),O=p(n[1][1+we],n,d),Z=p(n[1][1+n0],n,v);return S===E&&d===O&&v===Z?c:[0,E,O,Z]}function xN0(n,s,c){var v=c[1],d=p(n[1][1+n0],n,v);return v===d?c:[0,d]}function rN0(n,s,c){var v=c[3],d=c[2],S=c[1],E=p(n[1][1+N0],n,S),O=p(n[1][1+M],n,d),Z=p(n[1][1+n0],n,v);return S===E&&d===O&&v===Z?c:[0,E,O,Z]}function eN0(n,s,c){var v=c[4],d=c[3],S=c[2],E=c[1],O=G0(n[1][1+kx],n,[0,d],E),Z=p(n[1][1+F],n,S),y0=p(n[1][1+n0],n,v);return O===E&&Z===S&&y0===v?c:[0,O,Z,d,y0]}function tN0(n,s,c){return G0(n[1][1+t0],n,s,c)}function nN0(n,s,c){var v=c[2],d=c[1],S=p(n[1][1+F],n,d),E=p(n[1][1+n0],n,v);return d===S&&v===E?c:[0,S,E]}function uN0(n,s,c){var v=c[4],d=c[2],S=c[3],E=c[1],O=r2(l(n[1][1+Et],n),d),Z=p(n[1][1+n0],n,v);return O===d&&v===Z?c:[0,E,O,S,Z]}function iN0(n,s,c){return G0(n[1][1+l3],n,s,c)}function fN0(n,s,c){var v=c[4],d=c[3],S=c[2],E=c[1],O=p(n[1][1+_r],n,E),Z=p(n[1][1+F],n,S),y0=Yx(l(n[1][1+L0],n),d),_0=p(n[1][1+n0],n,v);return O===E&&Z===S&&y0===d&&_0===v?c:[0,O,Z,y0,_0]}function cN0(n,s){switch(s[0]){case 0:var c=s[1],v=c[2],d=c[1],S=G0(n[1][1+ge],n,d,v);return S===v?s:[0,[0,d,S]];case 1:var E=s[1],O=E[2],Z=E[1],y0=G0(n[1][1+Ft],n,Z,O);return y0===O?s:[1,[0,Z,y0]];case 2:var _0=s[1],F0=_0[2],ox=_0[1],Cx=G0(n[1][1+ne],n,ox,F0);return Cx===F0?s:[2,[0,ox,Cx]];case 3:var dx=s[1],wr=dx[2],c1=dx[1],s1=G0(n[1][1+Qt],n,c1,wr);return s1===wr?s:[3,[0,c1,s1]];case 4:var y1=s[1],d1=p(n[1][1+$],n,y1);return d1===y1?s:[4,d1];case 5:var Qe=s[1],He=Qe[2],qe=Qe[1],Ie=G0(n[1][1+t0],n,qe,He);return Ie===He?s:[5,[0,qe,Ie]];case 6:var Ge=s[1],be=Ge[2],gt=Ge[1],xt=G0(n[1][1+br],n,gt,be);return xt===be?s:[6,[0,gt,xt]];case 7:var rt=s[1],Mn=rt[2],Dn=rt[1],ms=G0(n[1][1+l3],n,Dn,Mn);return ms===Mn?s:[7,[0,Dn,ms]];default:var ks=s[1],et=ks[2],hs=ks[1],rv=G0(n[1][1+P2],n,hs,et);return rv===et?s:[8,[0,hs,rv]]}}function sN0(n,s,c){var v=c[5],d=c[4],S=c[3],E=c[2],O=c[1],Z=iY(l(n[1][1+Kr],n),d),y0=Yx(l(n[1][1+r1],n),S),_0=Yx(l(n[1][1+os],n),E),F0=p(n[1][1+n0],n,v);return d===Z&&S===y0&&E===_0&&v===F0?c:[0,O,_0,y0,Z,F0]}function oN0(n,s,c){return G0(n[1][1+P2],n,s,c)}function vN0(n,s){var c=s[2],v=c[4],d=c[2],S=c[1],E=c[3],O=s[1],Z=Yx(l(n[1][1+M1],n),S),y0=p(n[1][1+$],n,d),_0=p(n[1][1+n0],n,v);return S===Z&&d===y0&&v===_0?s:[0,O,[0,Z,y0,E,_0]]}function aN0(n,s){var c=s[2],v=c[2],d=c[1],S=c[3],E=s[1],O=p(n[1][1+vs],n,d),Z=p(n[1][1+F],n,v);return d===O&&v===Z?s:[0,E,[0,O,Z,S]]}function lN0(n,s){var c=s[2],v=c[3],d=c[2],S=c[1],E=s[1],O=gr(l(n[1][1+bt],n),S),Z=Yx(l(n[1][1+Gt],n),d),y0=p(n[1][1+n0],n,v);return S===O&&d===Z&&v===y0?s:[0,E,[0,O,Z,y0]]}function pN0(n,s,c){var v=c[4],d=c[3],S=c[2],E=c[1],O=Yx(l(n[1][1+U],n),E),Z=p(n[1][1+Rn],n,S),y0=p(n[1][1+z],n,d),_0=p(n[1][1+n0],n,v);return E===O&&S===Z&&d===y0&&v===_0?c:[0,O,Z,y0,_0]}function yN0(n,s,c){var v=c[5],d=c[4],S=c[3],E=c[2],O=c[1],Z=p(n[1][1+ls],n,O),y0=Yx(l(n[1][1+U],n),E),_0=p(n[1][1+Rn],n,S),F0=p(n[1][1+z],n,d),ox=p(n[1][1+n0],n,v);return O===Z&&E===y0&&S===_0&&d===F0&&v===ox?c:[0,Z,y0,_0,F0,ox]}function dN0(n,s,c){var v=c[7],d=c[6],S=c[5],E=c[4],O=c[3],Z=c[2],y0=c[1],_0=p(n[1][1+Ln],n,y0),F0=Yx(l(n[1][1+U],n),Z),ox=r2(l(n[1][1+U1],n),O),Cx=l(n[1][1+dt],n),dx=Yx(function(d1){return r2(Cx,d1)},E),wr=l(n[1][1+dt],n),c1=gr(function(d1){return r2(wr,d1)},S),s1=Yx(l(n[1][1+na],n),d),y1=p(n[1][1+n0],n,v);return _0===y0&&F0===Z&&ox===O&&dx===E&&c1===S&&s1===d&&y1===v?c:[0,_0,F0,ox,dx,c1,s1,y1]}function mN0(n,s,c){var v=c[1],d=p(n[1][1+n0],n,v);return v===d?c:[0,d]}function kN0(n,s,c){var v=c[2],d=c[1],S=Yx(l(n[1][1+Zt],n),d),E=p(n[1][1+n0],n,v);return d===S&&v===E?c:[0,S,E]}function hN0(n,s,c){var v=c[4],d=c[3],S=c[2],E=c[1],O=p(n[1][1+M],n,E),Z=p(n[1][1+Ax],n,S),y0=p(n[1][1+Ax],n,d),_0=p(n[1][1+n0],n,v);return E===O&&S===Z&&d===y0&&v===_0?c:[0,O,Z,y0,_0]}function _N0(n,s){var c=s[1],v=s[2];function d(S){return[0,c,S]}return fx(l(n[1][1+Et],n),c,v,s,d)}function wN0(n,s){var c=s[2],v=c[2],d=c[1],S=s[1],E=p(n[1][1+St],n,d),O=p(n[1][1+n0],n,v);return d===E&&v===O?s:[0,S,[0,E,O]]}function TN0(n,s){return G0(n[1][1+ds],n,pH,s)}function SN0(n,s){if(s[0]===0)return[0,p(n[1][1+M1],n,s[1])];var c=s[1],v=c[1];return[1,[0,v,G0(n[1][1+Tx],n,v,c[2])]]}function EN0(n,s){var c=s[2],v=c[3],d=c[2],S=c[1],E=c[4],O=s[1],Z=p(n[1][1+vs],n,S),y0=p(n[1][1+St],n,d),_0=p(n[1][1+Z1],n,v);return S===Z&&d===y0&&v===_0?s:[0,O,[0,Z,y0,_0,E]]}function AN0(n,s){var c=s[2],v=c[3],d=c[2],S=c[1],E=s[1],O=gr(l(n[1][1+as],n),S),Z=Yx(l(n[1][1+$o],n),d),y0=p(n[1][1+n0],n,v);return S===O&&d===Z&&v===y0?s:[0,E,[0,O,Z,y0]]}function gN0(n,s){return G0(n[1][1+kx],n,lH,s)}function NN0(n,s,c){var v=c[6],d=c[5],S=c[4],E=c[3],O=c[2],Z=c[1],y0=c[7],_0=p(n[1][1+ls],n,Z),F0=Yx(l(n[1][1+U],n),O),ox=p(n[1][1+xn],n,E),Cx=p(n[1][1+k3],n,d),dx=p(n[1][1+z],n,S),wr=p(n[1][1+n0],n,v);return Z===_0&&O===F0&&E===ox&&d===Cx&&S===dx&&v===wr?c:[0,_0,F0,ox,dx,Cx,wr,y0]}function IN0(n,s){return Yx(l(n[1][1+Ax],n),s)}function PN0(n,s,c){var v=c[7],d=c[6],S=c[5],E=c[3],O=c[2],Z=c[1],y0=p(n[1][1+A0],n,Z),_0=p(n[1][1+Qo],n,O),F0=p(n[1][1+z],n,E),ox=p(n[1][1+i],n,S),Cx=gr(l(n[1][1+Ne],n),d),dx=p(n[1][1+n0],n,v);return Z===y0&&O===_0&&F0===E&&ox===S&&Cx===d&&dx===v?c:[0,y0,_0,F0,c[4],ox,Cx,dx]}function CN0(n,s){if(typeof s=="number")return s;var c=s[1],v=p(n[1][1+Ax],n,c);return c===v?s:[0,v]}function RN0(n,s,c){var v=c[7],d=c[6],S=c[5],E=c[3],O=c[2],Z=c[1],y0=p(n[1][1+Lx],n,Z),_0=p(n[1][1+Qo],n,O),F0=p(n[1][1+z],n,E),ox=p(n[1][1+i],n,S),Cx=gr(l(n[1][1+Ne],n),d),dx=p(n[1][1+n0],n,v);return Z===y0&&O===_0&&F0===E&&ox===S&&Cx===d&&dx===v?c:[0,y0,_0,F0,c[4],ox,Cx,dx]}function ON0(n,s,c){var v=c[6],d=c[5],S=c[3],E=c[2],O=p(n[1][1+Lx],n,E),Z=r2(l(n[1][1+cr],n),S),y0=gr(l(n[1][1+Ne],n),d),_0=p(n[1][1+n0],n,v);return E===O&&S===Z&&d===y0&&v===_0?c:[0,c[1],O,Z,c[4],y0,_0]}function LN0(n,s){var c=s[2],v=c[2],d=c[1],S=s[1],E=p(n[1][1+X],n,d),O=Yx(l(n[1][1+Y],n),v);return d===E&&v===O?s:[0,S,[0,E,O]]}function UN0(n,s){var c=s[2],v=c[2],d=c[1],S=s[1],E=gr(l(n[1][1+ta],n),d),O=p(n[1][1+n0],n,v);return d===E&&v===O?s:[0,S,[0,E,O]]}function MN0(n,s){switch(s[0]){case 0:var c=s[1],v=c[1],d=c[2],S=function(dx){return[0,[0,v,dx]]};return fx(l(n[1][1+_3],n),v,d,s,S);case 1:var E=s[1],O=E[1],Z=E[2],y0=function(dx){return[1,[0,O,dx]]};return fx(l(n[1][1+ea],n),O,Z,s,y0);default:var _0=s[1],F0=_0[1],ox=_0[2],Cx=function(dx){return[2,[0,F0,dx]]};return fx(l(n[1][1+h3],n),F0,ox,s,Cx)}}function DN0(n,s){var c=s[2],v=c[2],d=c[1],S=s[1],E=p(n[1][1+Ax],n,d),O=p(n[1][1+n0],n,v);return d===E&&v===O?s:[0,S,[0,E,O]]}function jN0(n,s){var c=s[2],v=c[2],d=c[1],S=s[1],E=gr(l(n[1][1+S3],n),d),O=p(n[1][1+n0],n,v);return d===E&&v===O?s:[0,S,[0,E,O]]}function zN0(n,s){return G0(n[1][1+kx],n,aH,s)}function KN0(n,s,c){var v=c[3],d=c[2],S=c[1],E=p(n[1][1+Ax],n,S),O=Yx(l(n[1][1+Y],n),d),Z=p(n[1][1+n0],n,v);return S===E&&d===O&&v===Z?c:[0,E,O,Z]}function JN0(n,s,c){var v=c[7],d=c[6],S=c[5],E=c[4],O=c[3],Z=c[2],y0=c[1],_0=Yx(l(n[1][1+Ln],n),y0),F0=Yx(l(n[1][1+U],n),O),ox=p(n[1][1+A3],n,Z),Cx=l(n[1][1+w3],n),dx=Yx(function(y1){return r2(Cx,y1)},E),wr=Yx(l(n[1][1+na],n),S),c1=gr(l(n[1][1+Ne],n),d),s1=p(n[1][1+n0],n,v);return y0===_0&&Z===ox&&E===dx&&S===wr&&d===c1&&v===s1&&O===F0?c:[0,_0,ox,F0,dx,wr,c1,s1]}function YN0(n,s,c){return G0(n[1][1+ua],n,s,c)}function BN0(n,s,c){return G0(n[1][1+ua],n,s,c)}function XN0(n,s,c){var v=c[3],d=c[2],S=c[1],E=Yx(l(n[1][1+ps],n),S),O=p(n[1][1+Ho],n,d),Z=p(n[1][1+n0],n,v);return S===E&&d===O&&v===Z?c:[0,E,O,Z]}function WN0(n,s){return r2(l(n[1][1+Et],n),s)}function VN0(n,s){if(s[0]===0){var c=s[1],v=p(n[1][1+$],n,c);return v===c?s:[0,v]}var d=s[1],S=d[2][1],E=d[1],O=p(n[1][1+n0],n,S);return S===O?s:[1,[0,E,[0,O]]]}function ZN0(n,s){var c=s[2],v=c[2],d=c[1],S=s[1],E=gr(l(n[1][1+g3],n),d),O=p(n[1][1+n0],n,v);return d===E&&v===O?s:[0,S,[0,E,O]]}function $N0(n,s,c){var v=c[1],d=G0(n[1][1+ia],n,s,v);return v===d?c:[0,d,c[2],c[3]]}function FN0(n,s){var c=s[2],v=c[2],d=c[1],S=s[1],E=gr(l(n[1][1+ee],n),d),O=p(n[1][1+n0],n,v);return d===E&&v===O?s:[0,S,[0,E,O]]}function QN0(n,s,c){var v=c[4],d=c[3],S=c[2],E=c[1],O=p(n[1][1+Ax],n,E),Z=Yx(l(n[1][1+qo],n),S),y0=p(n[1][1+fa],n,d),_0=p(n[1][1+n0],n,v);return E===O&&S===Z&&d===y0&&v===_0?c:[0,O,Z,y0,_0]}function HN0(n,s,c){var v=c[2],d=c[1],S=Yx(l(n[1][1+Zt],n),d),E=p(n[1][1+n0],n,v);return d===S&&v===E?c:[0,S,E]}function qN0(n,s,c){var v=c[2],d=c[1],S=p(n[1][1+O0],n,d),E=p(n[1][1+n0],n,v);return d===S&&v===E?c:[0,S,E]}function GN0(n,s,c){var v=c[4],d=c[3],S=c[2],E=p(n[1][1+Ax],n,S),O=p(n[1][1+Ax],n,d),Z=p(n[1][1+n0],n,v);return S===E&&d===O&&v===Z?c:[0,c[1],E,O,Z]}function bN0(n,s,c){var v=c[4],d=c[3],S=c[2],E=p(n[1][1+en],n,S),O=p(n[1][1+Ax],n,d),Z=p(n[1][1+n0],n,v);return S===E&&d===O&&v===Z?c:[0,c[1],E,O,Z]}function xI0(n,s,c){return G0(n[1][1+Vr],n,s,c)}function rI0(n,s){switch(s[0]){case 0:var c=s[1],v=function(E){return[0,E]};return Q0(l(n[1][1+Ax],n),c,s,v);case 1:var d=s[1],S=function(E){return[1,E]};return Q0(l(n[1][1+I0],n),d,s,S);default:return s}}function eI0(n,s,c){var v=c[2],d=c[1],S=gr(l(n[1][1+xv],n),d),E=p(n[1][1+n0],n,v);return d===S&&v===E?c:[0,S,E]}function tI0(n,s){var c=s[2],v=s[1];switch(c[0]){case 0:var d=c[1],S=function(Mx){return[0,v,[0,Mx]]};return fx(l(n[1][1+P3],n),v,d,s,S);case 1:var E=c[1],O=function(Mx){return[0,v,[1,Mx]]};return fx(l(n[1][1+N3],n),v,E,s,O);case 2:var Z=c[1],y0=function(Mx){return[0,v,[2,Mx]]};return fx(l(n[1][1+bo],n),v,Z,s,y0);case 3:var _0=c[1],F0=function(Mx){return[0,v,[3,Mx]]};return fx(l(n[1][1+At],n),v,_0,s,F0);case 4:var ox=c[1],Cx=function(Mx){return[0,v,[4,Mx]]};return fx(l(n[1][1+ia],n),v,ox,s,Cx);case 5:var dx=c[1],wr=function(Mx){return[0,v,[5,Mx]]};return fx(l(n[1][1+T3],n),v,dx,s,wr);case 6:var c1=c[1],s1=function(Mx){return[0,v,[6,Mx]]};return fx(l(n[1][1+qt],n),v,c1,s,s1);case 7:var y1=c[1],d1=function(Mx){return[0,v,[7,Mx]]};return fx(l(n[1][1+sr],n),v,y1,s,d1);case 8:var Qe=c[1],He=function(Mx){return[0,v,[8,Mx]]};return Q0(l(n[1][1+M1],n),Qe,s,He);case 9:var qe=c[1],Ie=function(Mx){return[0,v,[9,Mx]]};return Q0(p(n[1][1+d3],n,v),qe,s,Ie);case 10:var Ge=c[1],be=function(Mx){return[0,v,[10,Mx]]};return fx(l(n[1][1+cs],n),v,Ge,s,be);case 11:var gt=c[1],xt=function(Mx){return[0,v,[11,Mx]]};return fx(l(n[1][1+Jo],n),v,gt,s,xt);case 12:var rt=c[1],Mn=function(Mx){return[0,v,[12,Mx]]};return fx(l(n[1][1+Tx],n),v,rt,s,Mn);case 13:var Dn=c[1],ms=function(Mx){return[0,v,[13,Mx]]};return fx(l(n[1][1+oo],n),v,Dn,s,ms);case 14:var ks=c[1],et=function(Mx){return[0,v,[14,Mx]]};return fx(l(n[1][1+X2],n),v,ks,s,et);case 15:var hs=c[1],rv=function(Mx){return[0,v,[15,Mx]]};return fx(l(n[1][1+Or],n),v,hs,s,rv);case 16:var B6=c[1],X6=function(Mx){return[0,v,[16,Mx]]};return fx(l(n[1][1+rn],n),v,B6,s,X6);case 17:var W6=c[1],V6=function(Mx){return[0,v,[17,Mx]]};return fx(l(n[1][1+p0],n),v,W6,s,V6);case 18:var Z6=c[1],$6=function(Mx){return[0,v,[18,Mx]]};return fx(l(n[1][1+de],n),v,Z6,s,$6);case 19:var F6=c[1],Q6=function(Mx){return[0,v,[19,Mx]]};return fx(l(n[1][1+Vt],n),v,F6,s,Q6);case 20:var H6=c[1],q6=function(Mx){return[0,v,[20,Mx]]};return fx(l(n[1][1+re],n),v,H6,s,q6);case 21:var G6=c[1],b6=function(Mx){return[0,v,[21,Mx]]};return fx(l(n[1][1+En],n),v,G6,s,b6);case 22:var x4=c[1],r4=function(Mx){return[0,v,[22,Mx]]};return fx(l(n[1][1+at],n),v,x4,s,r4);case 23:var e4=c[1],t4=function(Mx){return[0,v,[23,Mx]]};return fx(l(n[1][1+Jx],n),v,e4,s,t4);case 24:var n4=c[1],u4=function(Mx){return[0,v,[24,Mx]]};return Q0(p(n[1][1+ax],n,v),n4,s,u4);case 25:var i4=c[1],f4=function(Mx){return[0,v,[25,Mx]]};return fx(l(n[1][1+Sr],n),v,i4,s,f4);case 26:var c4=c[1],s4=function(Mx){return[0,v,[26,Mx]]};return fx(l(n[1][1+Q],n),v,c4,s,s4);case 27:var o4=c[1],v4=function(Mx){return[0,v,[27,Mx]]};return fx(l(n[1][1+px],n),v,o4,s,v4);case 28:var a4=c[1],l4=function(Mx){return[0,v,[28,Mx]]};return fx(l(n[1][1+Z0],n),v,a4,s,l4);case 29:var p4=c[1],y4=function(Mx){return[0,v,[29,Mx]]};return fx(l(n[1][1+g0],n),v,p4,s,y4);case 30:var d4=c[1],m4=function(Mx){return[0,v,[30,Mx]]};return fx(l(n[1][1+D0],n),v,d4,s,m4);case 31:var k4=c[1],h4=function(Mx){return[0,v,[31,Mx]]};return fx(l(n[1][1+j],n),v,k4,s,h4);case 32:var _4=c[1],w4=function(Mx){return[0,v,[32,Mx]]};return fx(l(n[1][1+o0],n),v,_4,s,w4);case 33:var T4=c[1],S4=function(Mx){return[0,v,[33,Mx]]};return fx(l(n[1][1+A],n),v,T4,s,S4);case 34:var E4=c[1],A4=function(Mx){return[0,v,[34,Mx]]};return fx(l(n[1][1+h],n),v,E4,s,A4);default:var g4=c[1],Ux=function(Mx){return[0,v,[35,Mx]]};return fx(l(n[1][1+e],n),v,g4,s,Ux)}}function nI0(n,s){var c=s[2],v=s[1],d=s[3],S=gr(l(n[1][1+co],n),v),E=gr(l(n[1][1+co],n),c);return v===S&&c===E?s:[0,S,E,d]}function uI0(n){var s=l(n[1][1+nx],n);return function(c){return Yx(s,c)}}function iI0(n,s){return s}function fI0(n,s){var c=s[2],v=s[1];switch(c[0]){case 0:var d=c[1],S=function(Ix){return[0,v,[0,Ix]]};return fx(l(n[1][1+Et],n),v,d,s,S);case 1:var E=c[1],O=function(Ix){return[0,v,[1,Ix]]};return fx(l(n[1][1+ys],n),v,E,s,O);case 2:var Z=c[1],y0=function(Ix){return[0,v,[2,Ix]]};return fx(l(n[1][1+E3],n),v,Z,s,y0);case 3:var _0=c[1],F0=function(Ix){return[0,v,[3,Ix]]};return fx(l(n[1][1+Fo],n),v,_0,s,F0);case 4:var ox=c[1],Cx=function(Ix){return[0,v,[4,Ix]]};return fx(l(n[1][1+Ht],n),v,ox,s,Cx);case 5:var dx=c[1],wr=function(Ix){return[0,v,[5,Ix]]};return fx(l(n[1][1+Tt],n),v,dx,s,wr);case 6:var c1=c[1],s1=function(Ix){return[0,v,[6,Ix]]};return fx(l(n[1][1+ne],n),v,c1,s,s1);case 7:var y1=c[1],d1=function(Ix){return[0,v,[7,Ix]]};return fx(l(n[1][1+Qt],n),v,y1,s,d1);case 8:var Qe=c[1],He=function(Ix){return[0,v,[8,Ix]]};return fx(l(n[1][1+wt],n),v,Qe,s,He);case 9:var qe=c[1],Ie=function(Ix){return[0,v,[9,Ix]]};return fx(l(n[1][1+_t],n),v,qe,s,Ie);case 10:var Ge=c[1],be=function(Ix){return[0,v,[10,Ix]]};return fx(l(n[1][1+Ft],n),v,Ge,s,be);case 11:var gt=c[1],xt=function(Ix){return[0,v,[11,Ix]]};return fx(l(n[1][1+C2],n),v,gt,s,xt);case 12:var rt=c[1],Mn=function(Ix){return[0,v,[12,Ix]]};return fx(l(n[1][1+te],n),v,rt,s,Mn);case 13:var Dn=c[1],ms=function(Ix){return[0,v,[13,Ix]]};return fx(l(n[1][1+$e],n),v,Dn,s,ms);case 14:var ks=c[1],et=function(Ix){return[0,v,[14,Ix]]};return fx(l(n[1][1+ht],n),v,ks,s,et);case 15:var hs=c[1],rv=function(Ix){return[0,v,[15,Ix]]};return fx(l(n[1][1+br],n),v,hs,s,rv);case 16:var B6=c[1],X6=function(Ix){return[0,v,[16,Ix]]};return fx(l(n[1][1+ge],n),v,B6,s,X6);case 17:var W6=c[1],V6=function(Ix){return[0,v,[17,Ix]]};return fx(l(n[1][1+Ae],n),v,W6,s,V6);case 18:var Z6=c[1],$6=function(Ix){return[0,v,[18,Ix]]};return fx(l(n[1][1+Ee],n),v,Z6,s,$6);case 19:var F6=c[1],Q6=function(Ix){return[0,v,[19,Ix]]};return fx(l(n[1][1+P2],n),v,F6,s,Q6);case 20:var H6=c[1],q6=function(Ix){return[0,v,[20,Ix]]};return fx(l(n[1][1+he],n),v,H6,s,q6);case 21:var G6=c[1],b6=function(Ix){return[0,v,[21,Ix]]};return fx(l(n[1][1+Br],n),v,G6,s,b6);case 22:var x4=c[1],r4=function(Ix){return[0,v,[22,Ix]]};return fx(l(n[1][1+W2],n),v,x4,s,r4);case 23:var e4=c[1],t4=function(Ix){return[0,v,[23,Ix]]};return fx(l(n[1][1+Fr],n),v,e4,s,t4);case 24:var n4=c[1],u4=function(Ix){return[0,v,[24,Ix]]};return fx(l(n[1][1+D1],n),v,n4,s,u4);case 25:var i4=c[1],f4=function(Ix){return[0,v,[25,Ix]]};return fx(l(n[1][1+l1],n),v,i4,s,f4);case 26:var c4=c[1],s4=function(Ix){return[0,v,[26,Ix]]};return fx(l(n[1][1+Pr],n),v,c4,s,s4);case 27:var o4=c[1],v4=function(Ix){return[0,v,[27,Ix]]};return fx(l(n[1][1+Dm],n),v,o4,s,v4);case 28:var a4=c[1],l4=function(Ix){return[0,v,[28,Ix]]};return fx(l(n[1][1+ra],n),v,a4,s,l4);case 29:var p4=c[1],y4=function(Ix){return[0,v,[29,Ix]]};return fx(l(n[1][1+xa],n),v,p4,s,y4);case 30:var d4=c[1],m4=function(Ix){return[0,v,[30,Ix]]};return fx(l(n[1][1+dr],n),v,d4,s,m4);case 31:var k4=c[1],h4=function(Ix){return[0,v,[31,Ix]]};return fx(l(n[1][1+G],n),v,k4,s,h4);case 32:var _4=c[1],w4=function(Ix){return[0,v,[32,Ix]]};return fx(l(n[1][1+yx],n),v,_4,s,w4);case 33:var T4=c[1],S4=function(Ix){return[0,v,[33,Ix]]};return fx(l(n[1][1+M0],n),v,T4,s,S4);case 34:var E4=c[1],A4=function(Ix){return[0,v,[34,Ix]]};return fx(l(n[1][1+E0],n),v,E4,s,A4);case 35:var g4=c[1],Ux=function(Ix){return[0,v,[35,Ix]]};return fx(l(n[1][1+t0],n),v,g4,s,Ux);case 36:var Mx=c[1],cI0=function(Ix){return[0,v,[36,Ix]]};return fx(l(n[1][1+br],n),v,Mx,s,cI0);case 37:var sI0=c[1],oI0=function(Ix){return[0,v,[37,Ix]]};return fx(l(n[1][1+y],n),v,sI0,s,oI0);case 38:var vI0=c[1],aI0=function(Ix){return[0,v,[38,Ix]]};return fx(l(n[1][1+u],n),v,vI0,s,aI0);default:var lI0=c[1],pI0=function(Ix){return[0,v,[39,Ix]]};return fx(l(n[1][1+t],n),v,lI0,s,pI0)}}return UR(x,[0,Km,function(n,s){var c=s[2],v=c[4],d=c[3],S=c[1],E=c[2],O=s[1],Z=p(n[1][1+k0],n,S),y0=p(n[1][1+n0],n,d),_0=gr(l(n[1][1+co],n),v);return S===Z&&d===y0&&v===_0?s:[0,O,[0,Z,E,y0,_0]]},N0,fI0,co,iI0,n0,uI0,nx,nI0,Ax,tI0,P3,eI0,xv,rI0,N3,xI0,bo,bN0,At,GN0,Et,qN0,ys,HN0,ia,QN0,fa,FN0,ax,$N0,qo,ZN0,g3,VN0,Ho,WN0,so,XN0,E3,BN0,T3,YN0,ua,JN0,w3,KN0,Ln,zN0,A3,jN0,Ne,DN0,S3,MN0,na,UN0,ta,LN0,_3,ON0,ea,RN0,Qo,CN0,h3,PN0,Z1,IN0,Fo,NN0,ls,gN0,xn,AN0,as,EN0,vs,SN0,St,TN0,$o,wN0,k3,_N0,qt,hN0,Ht,kN0,Tt,mN0,ne,dN0,Qt,yN0,On,pN0,Rn,lN0,bt,aN0,Gt,vN0,wt,oN0,_t,sN0,os,cN0,Ft,fN0,C2,iN0,te,uN0,$e,nN0,ht,tN0,ge,eN0,Ae,rN0,Ee,xN0,P2,bg0,we,Gg0,Ze,qg0,I2,Hg0,N2,Qg0,_e,Fg0,Se,$g0,mt,Zg0,kt,Vg0,u2,Wg0,$t,Xg0,Te,Bg0,l2,Yg0,he,Jg0,V1,Kg0,Br,zg0,lr,jg0,V2,Dg0,r1,Mg0,Kr,Ug0,W2,Lg0,ee,Og0,D1,Rg0,Cr,Cg0,n2,Pg0,l1,Ig0,x1,Ng0,p1,gg0,Fr,Ag0,Ur,Eg0,h1,Sg0,bx,Tg0,Sx,wg0,T0,_g0,P,hg0,D,kg0,Zt,mg0,b,dg0,k1,yg0,t2,pg0,x0,lg0,_,ag0,Vx,vg0,ur,og0,er,sg0,H,cg0,U1,fg0,Rr,ig0,Zo,ug0,q,ng0,m3,tg0,ro,eg0,f,rg0,i,xg0,Y,bA0,U,GA0,B,qA0,dt,HA0,p3,QA0,Dr,FA0,Tx,$A0,Or,ZA0,rn,VA0,oo,WA0,X2,XA0,p0,BA0,de,YA0,Xx,JA0,ue,KA0,Lm,zA0,g,jA0,L,DA0,R,MA0,C,UA0,I,LA0,Nn,OA0,d0,RA0,f0,CA0,s0,PA0,v0,IA0,c0,NA0,I3,gA0,k,AA0,Vo,EA0,$,SA0,F,TA0,z,wA0,Pr,_A0,sr,hA0,cr,kA0,Vr,mA0,jx,dA0,R0,yA0,or,pA0,rx,lA0,$r,aA0,Wr,vA0,Go,oA0,_r,sA0,M1,cA0,J,fA0,X,iA0,Fe,uA0,l3,nA0,xa,tA0,A0,eA0,Cn,rA0,d3,xA0,jm,bE0,zm,GE0,Dm,qE0,ra,HE0,R6,QE0,C6,FE0,V,$E0,Um,ZE0,Mm,VE0,y3,WE0,cs,XE0,Jo,BE0,lt,YE0,Bo,JE0,Ko,KE0,ke,zE0,ss,jE0,bv,DE0,Wo,ME0,fo,UE0,Gv,LE0,Pn,OE0,Xo,RE0,io,CE0,a3,PE0,no,IE0,Hv,NE0,yt,gE0,uo,AE0,qv,EE0,Yo,SE0,eo,TE0,In,wE0,a2,SU,to,e9,pt,r9,dr,Y6,Vt,TU,re,x9,Sr,wU,me,_U,An,bm,gn,L3,fs,O3,En,J6,at,K6,Jx,hU,S0,kU,Lx,mU,h0,z6,Y0,dU,Wx,yU,U0,pU,tx,j6,br,lU,mr,aU,o,vU,ps,oU,A1,sU,f1,R3,ds,cU,en,Gm,K0,fU,kx,iU,V0,uU,Px,D6,Qx,nU,z0,qm,ux,tU,T,eU,b0,rU,W0,M6,sx,xU,K,U6,H0,Hm,vx,bL,hx,Qm,B0,L6,ir,Fm,X0,GL,zx,$m,rr,qL,j0,O6,$x,HL,L0,QL,M,FL,e0,Zm,i0,Vm,Dx,ca,G,$L,Q,Wm,k0,Xm,O0,ZL,P0,VL,I0,WL,J0,Bm,px,C3,yx,XL,xx,BL,Z0,YL,g0,JL,cx,KL,D0,zL,M0,jL,E0,DL,j,ML,o0,UL,A,LL,h,OL,y,RL,a,CL,u,PL,t,Ym,t0,Jm,e,Un]),function(n,s){return fd(s,x)}}),JR=function x(r,e,t){return x.fun(r,e,t)};C0(JR,function(x,r,e){var t=e[2];switch(t[0]){case 0:var u=t[1][1];return b1(function(f){return function(o){var a=o[0]===0?o[1][2][2]:o[1][2][1];return G0(JR,x,f,a)}},r,u);case 1:var i=t[1][1];return b1(function(f){return function(o){return o[0]===2?f:G0(JR,x,f,o[1][2][1])}},r,i);case 2:return p(x,r,t[1][1]);default:return r}});var hn=function(x,r){return[0,r[1],[0,r[2],x]]},fY=function(x,r,e){var t=x?x[1]:0,u=r?r[1]:0;return[0,t,u,e]},m0=function(x,r,e){var t=x?x[1]:0,u=r?r[1]:0;return!t&&!u?0:[0,fY([0,t],[0,u],0)]},K1=function(x,r,e,t){var u=x?x[1]:0,i=r?r[1]:0;return!u&&!i&&!e?0:[0,fY([0,u],[0,i],e)]},g2=function(x,r){if(x){if(r){var e=r[1],t=x[1],u=[0,Fx(t[2],e[2])];return m0([0,Fx(e[1],t[1])],u,0)}var i=x}else var i=r;return i},YR=function(x,r){if(!r)return x;if(x){var e=r[1],t=x[1],u=e[1],i=t[3],f=t[1],o=[0,Fx(t[2],e[2])];return K1([0,Fx(u,f)],o,i,0)}var a=r[1];return K1([0,a[1]],[0,a[2]],0,0)},cY=function(x,r){l(zr(x),oq),p(zr(x),aq,vq);var e=r[1];l(l(zr(x),lq),e),l(zr(x),pq),l(zr(x),yq),p(zr(x),mq,dq);var t=r[2];return l(l(zr(x),kq),t),l(zr(x),hq),l(zr(x),_q)},sY=function x(r,e){return x.fun(r,e)},DT0=function x(r){return x.fun(r)};C0(sY,function(x,r){l(zr(x),Aq),p(zr(x),Nq,gq);var e=r[1];if(e){var t=e[1];switch(ud(x,Tq),t[0]){case 0:var u=t[1];l(zr(x),xH),l(l(zr(x),rH),u),l(zr(x),eH);break;case 1:var i=t[1];l(zr(x),tH),l(l(zr(x),nH),i),l(zr(x),uH);break;case 2:var f=t[1];l(zr(x),iH),l(l(zr(x),fH),f),l(zr(x),cH);break;default:var o=t[1];l(zr(x),sH),l(l(zr(x),oH),o),l(zr(x),vH)}ud(x,Sq)}else ud(x,Eq);return l(zr(x),Iq),l(zr(x),Pq),p(zr(x),Rq,Cq),cY(x,r[2]),l(zr(x),Oq),l(zr(x),Lq),p(zr(x),Mq,Uq),cY(x,r[3]),l(zr(x),Dq),l(zr(x),jq)}),C0(DT0,function(x){var r=wq[1],e=AJ(0),t=AR(e);return p(jr(function(u){Xe(t,u),SR(t,0);var i=z1(e);return e[2]=0,e[1]=e[4],e[3]=ft(e[1]),i},0,r),sY,x)});var i1=function(x,r){return[0,x[1],x[2],r[3]]},Fs=function(x,r){var e=x[1]-r[1]|0;return e===0?x[2]-r[2]|0:e},oY=function(x,r){var e=r[1],t=x[1];if(t){var u=t[1];if(e)var i=e[1],f=uY(i),o=uY(u)-f|0,a=o===0?Ex(u[1],i[1]):o;else var a=-1}else var a=e?1:0;if(a!==0)return a;var y=Fs(x[2],r[2]);return y===0?Fs(x[3],r[3]):y},Eo=function(x,r){return oY(x,r)===0?1:0},vY=function x(r,e){return x.fun(r,e)};C0(vY,function(x,r){if(typeof x=="number"){var e=x;if(59<=e)switch(e){case 59:if(typeof r=="number"&&r===59)return 0;break;case 60:if(typeof r=="number"&&r===60)return 0;break;case 61:if(typeof r=="number"&&r===61)return 0;break;case 62:if(typeof r=="number"&&r===62)return 0;break;case 63:if(typeof r=="number"&&r===63)return 0;break;case 64:if(typeof r=="number"&&r===64)return 0;break;case 65:if(typeof r=="number"&&r===65)return 0;break;case 66:if(typeof r=="number"&&r===66)return 0;break;case 67:if(typeof r=="number"&&r===67)return 0;break;case 68:if(typeof r=="number"&&r===68)return 0;break;case 69:if(typeof r=="number"&&r===69)return 0;break;case 70:if(typeof r=="number"&&r===70)return 0;break;case 71:if(typeof r=="number"&&r===71)return 0;break;case 72:if(typeof r=="number"&&r===72)return 0;break;case 73:if(typeof r=="number"&&r===73)return 0;break;case 74:if(typeof r=="number"&&r===74)return 0;break;case 75:if(typeof r=="number"&&r===75)return 0;break;case 76:if(typeof r=="number"&&r===76)return 0;break;case 77:if(typeof r=="number"&&r===77)return 0;break;case 78:if(typeof r=="number"&&r===78)return 0;break;case 79:if(typeof r=="number"&&r===79)return 0;break;case 80:if(typeof r=="number"&&r===80)return 0;break;case 81:if(typeof r=="number"&&r===81)return 0;break;case 82:if(typeof r=="number"&&r===82)return 0;break;case 83:if(typeof r=="number"&&r===83)return 0;break;case 84:if(typeof r=="number"&&r===84)return 0;break;case 85:if(typeof r=="number"&&r===85)return 0;break;case 86:if(typeof r=="number"&&r===86)return 0;break;case 87:if(typeof r=="number"&&r===87)return 0;break;case 88:if(typeof r=="number"&&r===88)return 0;break;case 89:if(typeof r=="number"&&r===89)return 0;break;case 90:if(typeof r=="number"&&r===90)return 0;break;case 91:if(typeof r=="number"&&r===91)return 0;break;case 92:if(typeof r=="number"&&r===92)return 0;break;case 93:if(typeof r=="number"&&r===93)return 0;break;case 94:if(typeof r=="number"&&r===94)return 0;break;case 95:if(typeof r=="number"&&r===95)return 0;break;case 96:if(typeof r=="number"&&r===96)return 0;break;case 97:if(typeof r=="number"&&r===97)return 0;break;case 98:if(typeof r=="number"&&r===98)return 0;break;case 99:if(typeof r=="number"&&r===99)return 0;break;case 100:if(typeof r=="number"&&Uc===r)return 0;break;case 101:if(typeof r=="number"&&Pt===r)return 0;break;case 102:if(typeof r=="number"&&Cs===r)return 0;break;case 103:if(typeof r=="number"&&tt===r)return 0;break;case 104:if(typeof r=="number"&&ln===r)return 0;break;case 105:if(typeof r=="number"&&Ue===r)return 0;break;case 106:if(typeof r=="number"&&_1===r)return 0;break;case 107:if(typeof r=="number"&&Rs===r)return 0;break;case 108:if(typeof r=="number"&&fn===r)return 0;break;case 109:if(typeof r=="number"&&wv===r)return 0;break;case 110:if(typeof r=="number"&&P1===r)return 0;break;case 111:if(typeof r=="number"&&ut===r)return 0;break;case 112:if(typeof r=="number"&&fe===r)return 0;break;case 113:if(typeof r=="number"&&Er===r)return 0;break;case 114:if(typeof r=="number"&&Vi===r)return 0;break;case 115:if(typeof r=="number"&&Ps===r)return 0;break;default:if(typeof r=="number"&&Ns<=r)return 0}else switch(e){case 0:if(typeof r=="number"&&!r)return 0;break;case 1:if(typeof r=="number"&&r===1)return 0;break;case 2:if(typeof r=="number"&&r===2)return 0;break;case 3:if(typeof r=="number"&&r===3)return 0;break;case 4:if(typeof r=="number"&&r===4)return 0;break;case 5:if(typeof r=="number"&&r===5)return 0;break;case 6:if(typeof r=="number"&&r===6)return 0;break;case 7:if(typeof r=="number"&&r===7)return 0;break;case 8:if(typeof r=="number"&&r===8)return 0;break;case 9:if(typeof r=="number"&&r===9)return 0;break;case 10:if(typeof r=="number"&&r===10)return 0;break;case 11:if(typeof r=="number"&&r===11)return 0;break;case 12:if(typeof r=="number"&&r===12)return 0;break;case 13:if(typeof r=="number"&&r===13)return 0;break;case 14:if(typeof r=="number"&&r===14)return 0;break;case 15:if(typeof r=="number"&&r===15)return 0;break;case 16:if(typeof r=="number"&&r===16)return 0;break;case 17:if(typeof r=="number"&&r===17)return 0;break;case 18:if(typeof r=="number"&&r===18)return 0;break;case 19:if(typeof r=="number"&&r===19)return 0;break;case 20:if(typeof r=="number"&&r===20)return 0;break;case 21:if(typeof r=="number"&&r===21)return 0;break;case 22:if(typeof r=="number"&&r===22)return 0;break;case 23:if(typeof r=="number"&&r===23)return 0;break;case 24:if(typeof r=="number"&&r===24)return 0;break;case 25:if(typeof r=="number"&&r===25)return 0;break;case 26:if(typeof r=="number"&&r===26)return 0;break;case 27:if(typeof r=="number"&&r===27)return 0;break;case 28:if(typeof r=="number"&&r===28)return 0;break;case 29:if(typeof r=="number"&&r===29)return 0;break;case 30:if(typeof r=="number"&&r===30)return 0;break;case 31:if(typeof r=="number"&&r===31)return 0;break;case 32:if(typeof r=="number"&&r===32)return 0;break;case 33:if(typeof r=="number"&&r===33)return 0;break;case 34:if(typeof r=="number"&&r===34)return 0;break;case 35:if(typeof r=="number"&&r===35)return 0;break;case 36:if(typeof r=="number"&&r===36)return 0;break;case 37:if(typeof r=="number"&&r===37)return 0;break;case 38:if(typeof r=="number"&&r===38)return 0;break;case 39:if(typeof r=="number"&&r===39)return 0;break;case 40:if(typeof r=="number"&&r===40)return 0;break;case 41:if(typeof r=="number"&&r===41)return 0;break;case 42:if(typeof r=="number"&&r===42)return 0;break;case 43:if(typeof r=="number"&&r===43)return 0;break;case 44:if(typeof r=="number"&&r===44)return 0;break;case 45:if(typeof r=="number"&&r===45)return 0;break;case 46:if(typeof r=="number"&&r===46)return 0;break;case 47:if(typeof r=="number"&&r===47)return 0;break;case 48:if(typeof r=="number"&&r===48)return 0;break;case 49:if(typeof r=="number"&&r===49)return 0;break;case 50:if(typeof r=="number"&&r===50)return 0;break;case 51:if(typeof r=="number"&&r===51)return 0;break;case 52:if(typeof r=="number"&&r===52)return 0;break;case 53:if(typeof r=="number"&&r===53)return 0;break;case 54:if(typeof r=="number"&&r===54)return 0;break;case 55:if(typeof r=="number"&&r===55)return 0;break;case 56:if(typeof r=="number"&&r===56)return 0;break;case 57:if(typeof r=="number"&&r===57)return 0;break;default:if(typeof r=="number"&&r===58)return 0}}else switch(x[0]){case 0:if(typeof r!="number"&&r[0]===0)return Ex(x[1],r[1]);break;case 1:if(typeof r!="number"&&r[0]===1)return Ex(x[1],r[1]);break;case 2:if(typeof r!="number"&&r[0]===2){var t=Ex(x[1],r[1]),u=r[2],i=x[2];return t===0?Ex(i,u):t}break;case 3:if(typeof r!="number"&&r[0]===3){var f=Ex(x[1],r[1]),o=r[2],a=x[2];return f===0?Ex(a,o):f}break;case 4:if(typeof r!="number"&&r[0]===4){var y=Ex(x[1],r[1]),h=r[2],k=x[2];return y===0?Ex(k,h):y}break;case 5:if(typeof r!="number"&&r[0]===5)return Ex(x[1],r[1]);break;case 6:if(typeof r!="number"&&r[0]===6)return yn(x[1],r[1]);break;case 7:if(typeof r!="number"&&r[0]===7){var A=r[2],g=x[2],I=Ex(x[1],r[1]);if(I!==0)return I;if(!g)return A?-1:0;var C=g[1];return A?Ex(C,A[1]):1}break;case 8:if(typeof r!="number"&&r[0]===8)return Ex(x[1],r[1]);break;case 9:if(typeof r!="number"&&r[0]===9){var R=r[2],L=x[2],U=Ex(x[1],r[1]),B=r[3],X=x[3];if(U!==0)return U;if(L){var J=L[1];if(R){var e0=R[1],i0=0;switch(J){case 0:if(e0)i0=1;else var z=0;break;case 1:if(e0===1)var z=0;else i0=1;break;case 2:if(e0===2)var z=0;else i0=1;break;case 3:if(e0===3)var z=0;else i0=1;break;default:if(4<=e0)var z=0;else i0=1}if(i0)var j=function(L0){switch(L0){case 0:return 0;case 1:return 1;case 2:return 2;case 3:return 3;default:return 4}},Y=j(e0),z=yn(j(J),Y);var F=z}else var F=1}else var F=R?-1:0;return F===0?Ex(X,B):F}break;case 10:if(typeof r!="number"&&r[0]===10){var t0=Ex(x[1],r[1]),$=r[2],f0=x[2];return t0===0?Ex(f0,$):t0}break;case 11:if(typeof r!="number"&&r[0]===11){var c0=Ex(x[1],r[1]),v0=r[2],s0=x[2];return c0===0?Ex(s0,v0):c0}break;case 12:if(typeof r!="number"&&r[0]===12)return Ex(x[1],r[1]);break;case 13:if(typeof r!="number"&&r[0]===13)return Ex(x[1],r[1]);break;case 14:if(typeof r!="number"&&r[0]===14)return yn(x[1],r[1]);break;case 15:if(typeof r!="number"&&r[0]===15){var o0=Ex(x[1],r[1]),E0=r[4],k0=r[3],M0=r[2],D0=x[4],cx=x[3],g0=x[2];if(o0!==0)return o0;var Z0=yn(g0,M0);if(Z0!==0)return Z0;var n0=yn(cx,k0);return n0===0?yn(D0,E0):n0}break;case 16:if(typeof r!="number"&&r[0]===16)return yn(x[1],r[1]);break;case 17:if(typeof r!="number"&&r[0]===17)return Ex(x[1],r[1]);break;case 18:if(typeof r!="number"&&r[0]===18)return Ex(x[1],r[1]);break;case 19:if(typeof r!="number"&&r[0]===19)return Ex(x[1],r[1]);break;case 20:if(typeof r!="number"&&r[0]===20){var nx=Ex(x[1],r[1]),xx=r[2],yx=x[2];return nx===0?Ex(yx,xx):nx}break;case 21:if(typeof r!="number"&&r[0]===21){var px=r[1],Tx=x[1];if(ol===Tx){if(ol===px)return 0}else if(rl<=Tx){if(rl===px)return 0}else if(Xz===px)return 0;var O0=function(A0){return ol===A0?0:rl<=A0?2:1},P0=O0(px);return yn(O0(Tx),P0)}break;case 22:if(typeof r!="number"&&r[0]===22)return Ex(x[1],r[1]);break;case 23:if(typeof r!="number"&&r[0]===23)return Ex(x[1],r[1]);break;case 24:if(typeof r!="number"&&r[0]===24){var N0=Ex(x[1],r[1]),J0=r[2],I0=x[2];return N0===0?Ex(I0,J0):N0}break;case 25:if(typeof r!="number"&&r[0]===25){var Q=Ex(x[1],r[1]),G=r[2],V=x[2];return Q===0?Ex(V,G):Q}break;default:if(typeof r!="number"&&r[0]===26)return Ex(x[1],r[1])}function p0(A0){if(typeof A0!="number")switch(A0[0]){case 0:return 20;case 1:return 21;case 2:return 23;case 3:return 24;case 4:return 25;case 5:return 26;case 6:return 27;case 7:return 28;case 8:return 30;case 9:return 31;case 10:return 32;case 11:return 34;case 12:return 35;case 13:return 37;case 14:return 40;case 15:return 52;case 16:return 55;case 17:return 64;case 18:return 73;case 19:return 82;case 20:return 89;case 21:return wv;case 22:return aa;case 23:return pa;case 24:return yl;case 25:return h_;default:return QM}var M=A0;if(59<=M)switch(M){case 59:return 78;case 60:return 79;case 61:return 80;case 62:return 81;case 63:return 83;case 64:return 84;case 65:return 85;case 66:return 86;case 67:return 87;case 68:return 88;case 69:return 90;case 70:return 91;case 71:return 92;case 72:return 93;case 73:return 94;case 74:return 95;case 75:return 96;case 76:return 97;case 77:return 98;case 78:return 99;case 79:return Uc;case 80:return Pt;case 81:return Cs;case 82:return tt;case 83:return ln;case 84:return Ue;case 85:return _1;case 86:return Rs;case 87:return fn;case 88:return P1;case 89:return ut;case 90:return fe;case 91:return Er;case 92:return Vi;case 93:return Ps;case 94:return Ns;case 95:return xl;case 96:return Ef;case 97:return G3;case 98:return qr;case 99:return Rt;case 100:return Ra;case 101:return gi;case 102:return U4;case 103:return Jr;case 104:return m1;case 105:return iz;case 106:return ph;case 107:return lz;case 108:return ZU;case 109:return Tj;case 110:return bz;case 111:return LD;case 112:return yD;case 113:return nz;case 114:return YD;case 115:return eD;default:return Nj}switch(M){case 0:return 0;case 1:return 1;case 2:return 2;case 3:return 3;case 4:return 4;case 5:return 5;case 6:return 6;case 7:return 7;case 8:return 8;case 9:return 9;case 10:return 10;case 11:return 11;case 12:return 12;case 13:return 13;case 14:return 14;case 15:return 15;case 16:return 16;case 17:return 17;case 18:return 18;case 19:return 19;case 20:return 22;case 21:return 29;case 22:return 33;case 23:return 36;case 24:return 38;case 25:return 39;case 26:return 41;case 27:return 42;case 28:return 43;case 29:return 44;case 30:return 45;case 31:return 46;case 32:return 47;case 33:return 48;case 34:return 49;case 35:return 50;case 36:return 51;case 37:return 53;case 38:return 54;case 39:return 56;case 40:return 57;case 41:return 58;case 42:return 59;case 43:return 60;case 44:return 61;case 45:return 62;case 46:return 63;case 47:return 65;case 48:return 66;case 49:return 67;case 50:return 68;case 51:return 69;case 52:return 70;case 53:return 71;case 54:return 72;case 55:return 74;case 56:return 75;case 57:return 76;default:return 77}}var d0=p0(r);return yn(p0(x),d0)});var jT0=[Qr,W00,zs(0)],zT0=function(x){if(typeof x=="number"){var r=x;if(59<=r)switch(r){case 59:return ZG;case 60:return $G;case 61:return FG;case 62:return QG;case 63:return HG;case 64:return qG;case 65:return GG;case 66:return bG;case 67:return xb;case 68:return rb;case 69:return eb;case 70:return tb;case 71:return nb;case 72:return ub;case 73:return ib;case 74:return fb;case 75:return cb;case 76:return sb;case 77:return ob;case 78:return vb;case 79:return ab;case 80:return lb;case 81:return pb;case 82:return yb;case 83:return db;case 84:return mb;case 85:return kb;case 86:return hb;case 87:return _b;case 88:return wb;case 89:return Tb;case 90:return Sb;case 91:return Eb;case 92:return Ab;case 93:return gb;case 94:return Nb;case 95:return Ib;case 96:return Pb;case 97:return Cb;case 98:return Rb;case 99:return Ob;case 100:return Lb;case 101:return Ub;case 102:return Mb;case 103:return Db;case 104:return jb;case 105:return zb;case 106:return Kb;case 107:return Jb;case 108:return Yb;case 109:return Bb;case 110:return Xb;case 111:return Wb;case 112:return Vb;case 113:return Zb;case 114:return $b;case 115:return Fb;default:return Qb}switch(r){case 0:return zq;case 1:return Kq;case 2:return Jq;case 3:return Zx(Bq,Yq);case 4:return Xq;case 5:return Wq;case 6:return Vq;case 7:return Zq;case 8:return $q;case 9:return Fq;case 10:return Qq;case 11:return Hq;case 12:return Zx(Gq,qq);case 13:return bq;case 14:return xG;case 15:return rG;case 16:return eG;case 17:return tG;case 18:return nG;case 19:return uG;case 20:return iG;case 21:return fG;case 22:return cG;case 23:return sG;case 24:return oG;case 25:return vG;case 26:return aG;case 27:return lG;case 28:return pG;case 29:return yG;case 30:return dG;case 31:return mG;case 32:return kG;case 33:return hG;case 34:return Zx(wG,_G);case 35:return TG;case 36:return SG;case 37:return EG;case 38:return AG;case 39:return gG;case 40:return NG;case 41:return IG;case 42:return PG;case 43:return CG;case 44:return RG;case 45:return OG;case 46:return LG;case 47:return UG;case 48:return MG;case 49:return DG;case 50:return jG;case 51:return zG;case 52:return KG;case 53:return JG;case 54:return YG;case 55:return BG;case 56:return XG;case 57:return WG;default:return VG}}switch(x[0]){case 0:var e=x[1];return l(Ar(Hb),e);case 1:var t=x[1];return l(Ar(qb),t);case 2:var u=x[2],i=x[1];return p(Ar(Gb),u,i);case 3:var f=x[2],o=x[1];return G0(Ar(bb),f,f,o);case 4:var a=x[2],y=x[1];return p(Ar(x00),a,y);case 5:var h=x[1];return l(Ar(r00),h);case 6:return x[1]?e00:t00;case 7:var k=x[2],A=x[1],g=l(Ar(n00),A);if(!k)return l(Ar(i00),g);var I=k[1];return p(Ar(u00),I,g);case 8:var C=x[1];return p(Ar(f00),C,C);case 9:var R=x[3],L=x[2],U=x[1];if(!L)return p(Ar(o00),R,U);var B=L[1];if(B===3)return p(Ar(s00),R,U);switch(B){case 0:var X=QQ;break;case 1:var X=HQ;break;case 2:var X=qQ;break;case 3:var X=GQ;break;default:var X=bQ}return oe(Ar(c00),U,X,R,X);case 10:var J=x[2],e0=Vc(J),i0=x[1];if(ft(e0)===0)var j=e0;else{var Y=$K(e0);Xr(Y,0,WK(se(e0,0)));var j=Y}var z=j2(j);return G0(Ar(v00),J,z,i0);case 11:var F=x[2],t0=x[1];return p(Ar(a00),F,t0);case 12:var $=x[1];return l(Ar(l00),$);case 13:var f0=x[1];return l(Ar(p00),f0);case 14:return x[1]?Zx(d00,y00):Zx(k00,m00);case 15:var c0=x[1],v0=x[4],s0=x[3],o0=x[2]?h00:_00,E0=s0?w00:T00,k0=v0?Zx(S00,c0):c0;return G0(Ar(E00),o0,E0,k0);case 16:var M0=x[1]?A00:g00;return l(Ar(N00),M0);case 17:var D0=x[1];return l(Ar(I00),D0);case 18:var cx=x[1];return l(Ar(P00),cx);case 19:var g0=x[1];return l(Ar(C00),g0);case 20:var Z0=x[2],n0=x[1];return p(Ar(R00),n0,Z0);case 21:var nx=x[1];if(ol===nx)var xx=D00,yx=j00;else if(rl<=nx)var xx=O00,yx=L00;else var xx=U00,yx=M00;return p(Ar(z00),yx,xx);case 22:var px=x[1];return l(Ar(K00),px);case 23:var Tx=x[1];return l(Ar(J00),Tx);case 24:var O0=x[2],P0=x[1];return p(Ar(Y00),P0,O0);case 25:var N0=x[2],J0=x[1];return p(Ar(B00),J0,N0);default:var I0=x[1];return l(Ar(X00),I0)}},aY=V00.slice(),BR=function(x){for(var r=0,e=aY.length-1-1|0;;){if(ex)return 1;var r=t+1|0}},lY=0,pY=function(x){var r=x[2];return[0,x[1],[0,r[1],r[2],r[3],r[4],r[5],r[6],r[7],r[8],r[9],r[10],r[11],r[12]],x[3],x[4],x[5],x[6],x[7]]},yY=function(x){return x[3][1]},ld=function(x,r){return x!==r[4]?[0,r[1],r[2],r[3],x,r[5],r[6],r[7]]:r},XR=function x(r,e){return x.fun(r,e)},dY=function x(r,e){return x.fun(r,e)},WR=function x(r,e){return x.fun(r,e)},VR=function x(r,e){return x.fun(r,e)};C0(XR,function(x,r){if(typeof x=="number"){var e=x;if(65<=e)if(98<=e)switch(e){case 98:if(typeof r=="number"&&r===98)return 1;break;case 99:if(typeof r=="number"&&r===99)return 1;break;case 100:if(typeof r=="number"&&Uc===r)return 1;break;case 101:if(typeof r=="number"&&Pt===r)return 1;break;case 102:if(typeof r=="number"&&Cs===r)return 1;break;case 103:if(typeof r=="number"&&tt===r)return 1;break;case 104:if(typeof r=="number"&&ln===r)return 1;break;case 105:if(typeof r=="number"&&Ue===r)return 1;break;case 106:if(typeof r=="number"&&_1===r)return 1;break;case 107:if(typeof r=="number"&&Rs===r)return 1;break;case 108:if(typeof r=="number"&&fn===r)return 1;break;case 109:if(typeof r=="number"&&wv===r)return 1;break;case 110:if(typeof r=="number"&&P1===r)return 1;break;case 111:if(typeof r=="number"&&ut===r)return 1;break;case 112:if(typeof r=="number"&&fe===r)return 1;break;case 113:if(typeof r=="number"&&Er===r)return 1;break;case 114:if(typeof r=="number"&&Vi===r)return 1;break;case 115:if(typeof r=="number"&&Ps===r)return 1;break;case 116:if(typeof r=="number"&&Ns===r)return 1;break;case 117:if(typeof r=="number"&&aa===r)return 1;break;case 118:if(typeof r=="number"&&pa===r)return 1;break;case 119:if(typeof r=="number"&&xl===r)return 1;break;case 120:if(typeof r=="number"&&Ef===r)return 1;break;case 121:if(typeof r=="number"&&G3===r)return 1;break;case 122:if(typeof r=="number"&&qr===r)return 1;break;case 123:if(typeof r=="number"&&Rt===r)return 1;break;case 124:if(typeof r=="number"&&Ra===r)return 1;break;case 125:if(typeof r=="number"&&gi===r)return 1;break;case 126:if(typeof r=="number"&&U4===r)return 1;break;case 127:if(typeof r=="number"&&Jr===r)return 1;break;case 128:if(typeof r=="number"&&m1===r)return 1;break;default:if(typeof r=="number"&&yl<=r)return 1}else switch(e){case 65:if(typeof r=="number"&&r===65)return 1;break;case 66:if(typeof r=="number"&&r===66)return 1;break;case 67:if(typeof r=="number"&&r===67)return 1;break;case 68:if(typeof r=="number"&&r===68)return 1;break;case 69:if(typeof r=="number"&&r===69)return 1;break;case 70:if(typeof r=="number"&&r===70)return 1;break;case 71:if(typeof r=="number"&&r===71)return 1;break;case 72:if(typeof r=="number"&&r===72)return 1;break;case 73:if(typeof r=="number"&&r===73)return 1;break;case 74:if(typeof r=="number"&&r===74)return 1;break;case 75:if(typeof r=="number"&&r===75)return 1;break;case 76:if(typeof r=="number"&&r===76)return 1;break;case 77:if(typeof r=="number"&&r===77)return 1;break;case 78:if(typeof r=="number"&&r===78)return 1;break;case 79:if(typeof r=="number"&&r===79)return 1;break;case 80:if(typeof r=="number"&&r===80)return 1;break;case 81:if(typeof r=="number"&&r===81)return 1;break;case 82:if(typeof r=="number"&&r===82)return 1;break;case 83:if(typeof r=="number"&&r===83)return 1;break;case 84:if(typeof r=="number"&&r===84)return 1;break;case 85:if(typeof r=="number"&&r===85)return 1;break;case 86:if(typeof r=="number"&&r===86)return 1;break;case 87:if(typeof r=="number"&&r===87)return 1;break;case 88:if(typeof r=="number"&&r===88)return 1;break;case 89:if(typeof r=="number"&&r===89)return 1;break;case 90:if(typeof r=="number"&&r===90)return 1;break;case 91:if(typeof r=="number"&&r===91)return 1;break;case 92:if(typeof r=="number"&&r===92)return 1;break;case 93:if(typeof r=="number"&&r===93)return 1;break;case 94:if(typeof r=="number"&&r===94)return 1;break;case 95:if(typeof r=="number"&&r===95)return 1;break;case 96:if(typeof r=="number"&&r===96)return 1;break;default:if(typeof r=="number"&&r===97)return 1}else if(33<=e)switch(e){case 33:if(typeof r=="number"&&r===33)return 1;break;case 34:if(typeof r=="number"&&r===34)return 1;break;case 35:if(typeof r=="number"&&r===35)return 1;break;case 36:if(typeof r=="number"&&r===36)return 1;break;case 37:if(typeof r=="number"&&r===37)return 1;break;case 38:if(typeof r=="number"&&r===38)return 1;break;case 39:if(typeof r=="number"&&r===39)return 1;break;case 40:if(typeof r=="number"&&r===40)return 1;break;case 41:if(typeof r=="number"&&r===41)return 1;break;case 42:if(typeof r=="number"&&r===42)return 1;break;case 43:if(typeof r=="number"&&r===43)return 1;break;case 44:if(typeof r=="number"&&r===44)return 1;break;case 45:if(typeof r=="number"&&r===45)return 1;break;case 46:if(typeof r=="number"&&r===46)return 1;break;case 47:if(typeof r=="number"&&r===47)return 1;break;case 48:if(typeof r=="number"&&r===48)return 1;break;case 49:if(typeof r=="number"&&r===49)return 1;break;case 50:if(typeof r=="number"&&r===50)return 1;break;case 51:if(typeof r=="number"&&r===51)return 1;break;case 52:if(typeof r=="number"&&r===52)return 1;break;case 53:if(typeof r=="number"&&r===53)return 1;break;case 54:if(typeof r=="number"&&r===54)return 1;break;case 55:if(typeof r=="number"&&r===55)return 1;break;case 56:if(typeof r=="number"&&r===56)return 1;break;case 57:if(typeof r=="number"&&r===57)return 1;break;case 58:if(typeof r=="number"&&r===58)return 1;break;case 59:if(typeof r=="number"&&r===59)return 1;break;case 60:if(typeof r=="number"&&r===60)return 1;break;case 61:if(typeof r=="number"&&r===61)return 1;break;case 62:if(typeof r=="number"&&r===62)return 1;break;case 63:if(typeof r=="number"&&r===63)return 1;break;default:if(typeof r=="number"&&r===64)return 1}else switch(e){case 0:if(typeof r=="number"&&!r)return 1;break;case 1:if(typeof r=="number"&&r===1)return 1;break;case 2:if(typeof r=="number"&&r===2)return 1;break;case 3:if(typeof r=="number"&&r===3)return 1;break;case 4:if(typeof r=="number"&&r===4)return 1;break;case 5:if(typeof r=="number"&&r===5)return 1;break;case 6:if(typeof r=="number"&&r===6)return 1;break;case 7:if(typeof r=="number"&&r===7)return 1;break;case 8:if(typeof r=="number"&&r===8)return 1;break;case 9:if(typeof r=="number"&&r===9)return 1;break;case 10:if(typeof r=="number"&&r===10)return 1;break;case 11:if(typeof r=="number"&&r===11)return 1;break;case 12:if(typeof r=="number"&&r===12)return 1;break;case 13:if(typeof r=="number"&&r===13)return 1;break;case 14:if(typeof r=="number"&&r===14)return 1;break;case 15:if(typeof r=="number"&&r===15)return 1;break;case 16:if(typeof r=="number"&&r===16)return 1;break;case 17:if(typeof r=="number"&&r===17)return 1;break;case 18:if(typeof r=="number"&&r===18)return 1;break;case 19:if(typeof r=="number"&&r===19)return 1;break;case 20:if(typeof r=="number"&&r===20)return 1;break;case 21:if(typeof r=="number"&&r===21)return 1;break;case 22:if(typeof r=="number"&&r===22)return 1;break;case 23:if(typeof r=="number"&&r===23)return 1;break;case 24:if(typeof r=="number"&&r===24)return 1;break;case 25:if(typeof r=="number"&&r===25)return 1;break;case 26:if(typeof r=="number"&&r===26)return 1;break;case 27:if(typeof r=="number"&&r===27)return 1;break;case 28:if(typeof r=="number"&&r===28)return 1;break;case 29:if(typeof r=="number"&&r===29)return 1;break;case 30:if(typeof r=="number"&&r===30)return 1;break;case 31:if(typeof r=="number"&&r===31)return 1;break;default:if(typeof r=="number"&&r===32)return 1}}else switch(x[0]){case 0:if(typeof r!="number"&&r[0]===0){var t=r[2],u=r[1],i=x[2],f=l(l(WR,x[1]),u);return f&&Nr(i,t)}break;case 1:if(typeof r!="number"&&r[0]===1){var o=r[2],a=r[1],y=x[2],h=l(l(VR,x[1]),a);return h&&Nr(y,o)}break;case 2:if(typeof r!="number"&&r[0]===2){var k=r[1],A=x[1],g=k[4],I=k[3],C=k[2],R=A[4],L=A[3],U=A[2],B=Eo(A[1],k[1]),X=B&&Nr(U,C),J=X&&Nr(L,I);return J&&(R===g?1:0)}break;case 3:if(typeof r!="number"&&r[0]===3){var e0=r[1],i0=x[1],j=e0[5],Y=e0[4],z=e0[3],F=e0[2],t0=i0[5],$=i0[4],f0=i0[3],c0=i0[2],v0=Eo(i0[1],e0[1]),s0=v0&&Nr(c0,F),o0=s0&&Nr(f0,z),E0=o0&&($===Y?1:0);return E0&&(t0===j?1:0)}break;case 4:if(typeof r!="number"&&r[0]===4){var k0=r[3],M0=r[2],D0=x[3],cx=x[2],g0=Eo(x[1],r[1]),Z0=g0&&Nr(cx,M0);return Z0&&Nr(D0,k0)}break;case 5:if(typeof r!="number"&&r[0]===5){var n0=r[3],nx=r[2],xx=x[3],yx=x[2],px=Eo(x[1],r[1]),Tx=px&&Nr(yx,nx);return Tx&&Nr(xx,n0)}break;case 6:if(typeof r!="number"&&r[0]===6){var O0=r[2],P0=x[2],N0=Eo(x[1],r[1]);return N0&&Nr(P0,O0)}break;case 7:if(typeof r!="number"&&r[0]===7)return Nr(x[1],r[1]);break;case 8:if(typeof r!="number"&&r[0]===8){var J0=Nr(x[1],r[1]),I0=r[2],Q=x[2];return J0&&Eo(Q,I0)}break;case 9:if(typeof r!="number"&&r[0]===9){var G=r[3],V=r[2],p0=x[3],d0=x[2],A0=Eo(x[1],r[1]),M=A0&&Nr(d0,V);return M&&Nr(p0,G)}break;case 10:if(typeof r!="number"&&r[0]===10){var L0=r[3],V0=r[2],B0=x[3],vx=x[2],b0=Eo(x[1],r[1]),hx=b0&&Nr(vx,V0);return hx&&Nr(B0,L0)}break;case 11:if(typeof r!="number"&&r[0]===11){var W0=r[1];return l(l(dY,x[1]),W0)}break;case 12:if(typeof r!="number"&&r[0]===12){var T=r[3],K=r[2],H0=r[1],sx=x[3],ux=x[2],z0=l(l(WR,x[1]),H0),Px=z0&&(ux==K?1:0);return Px&&Nr(sx,T)}break;default:if(typeof r!="number"&&r[0]===13){var kx=r[2],$x=x[2],Qx=r[3],j0=r[1],rr=x[3],zx=l(l(VR,x[1]),j0);if(zx){var X0=0;if($x)if(kx)var ir=jy($x[1],kx[1]);else X0=1;else if(kx)X0=1;else var ir=1;if(X0)var ir=0;var K0=ir}else var K0=zx;return K0&&Nr(rr,Qx)}}return 0}),C0(dY,function(x,r){if(x){if(r)return 1}else if(!r)return 1;return 0}),C0(WR,function(x,r){switch(x){case 0:if(!r)return 1;break;case 1:if(r===1)return 1;break;case 2:if(r===2)return 1;break;case 3:if(r===3)return 1;break;default:if(4<=r)return 1}return 0}),C0(VR,function(x,r){switch(x){case 0:if(!r)return 1;break;case 1:if(r===1)return 1;break;default:if(2<=r)return 1}return 0});var mY=function(x){if(typeof x!="number")switch(x[0]){case 0:return lt0;case 1:return pt0;case 2:return yt0;case 3:return dt0;case 4:return mt0;case 5:return kt0;case 6:return ht0;case 7:return _t0;case 8:return wt0;case 9:return Tt0;case 10:return St0;case 11:return Et0;case 12:return At0;default:return gt0}var r=x;if(65<=r){if(98<=r)switch(r){case 98:return Me0;case 99:return De0;case 100:return je0;case 101:return ze0;case 102:return Ke0;case 103:return Je0;case 104:return Ye0;case 105:return Be0;case 106:return Xe0;case 107:return We0;case 108:return Ve0;case 109:return Ze0;case 110:return $e0;case 111:return Fe0;case 112:return Qe0;case 113:return He0;case 114:return qe0;case 115:return Ge0;case 116:return be0;case 117:return xt0;case 118:return rt0;case 119:return et0;case 120:return tt0;case 121:return nt0;case 122:return ut0;case 123:return it0;case 124:return ft0;case 125:return ct0;case 126:return st0;case 127:return ot0;case 128:return vt0;default:return at0}switch(r){case 65:return ee0;case 66:return te0;case 67:return ne0;case 68:return ue0;case 69:return ie0;case 70:return fe0;case 71:return ce0;case 72:return se0;case 73:return oe0;case 74:return ve0;case 75:return ae0;case 76:return le0;case 77:return pe0;case 78:return ye0;case 79:return de0;case 80:return me0;case 81:return ke0;case 82:return he0;case 83:return _e0;case 84:return we0;case 85:return Te0;case 86:return Se0;case 87:return Ee0;case 88:return Ae0;case 89:return ge0;case 90:return Ne0;case 91:return Ie0;case 92:return Pe0;case 93:return Ce0;case 94:return Re0;case 95:return Oe0;case 96:return Le0;default:return Ue0}}if(33<=r)switch(r){case 33:return E20;case 34:return A20;case 35:return g20;case 36:return N20;case 37:return I20;case 38:return P20;case 39:return C20;case 40:return R20;case 41:return O20;case 42:return L20;case 43:return U20;case 44:return M20;case 45:return D20;case 46:return j20;case 47:return z20;case 48:return K20;case 49:return J20;case 50:return Y20;case 51:return B20;case 52:return X20;case 53:return W20;case 54:return V20;case 55:return Z20;case 56:return $20;case 57:return F20;case 58:return Q20;case 59:return H20;case 60:return q20;case 61:return G20;case 62:return b20;case 63:return xe0;default:return re0}switch(r){case 0:return V10;case 1:return Z10;case 2:return $10;case 3:return F10;case 4:return Q10;case 5:return H10;case 6:return q10;case 7:return G10;case 8:return b10;case 9:return x20;case 10:return r20;case 11:return e20;case 12:return t20;case 13:return n20;case 14:return u20;case 15:return i20;case 16:return f20;case 17:return c20;case 18:return s20;case 19:return o20;case 20:return v20;case 21:return a20;case 22:return l20;case 23:return p20;case 24:return y20;case 25:return d20;case 26:return m20;case 27:return k20;case 28:return h20;case 29:return _20;case 30:return w20;case 31:return T20;default:return S20}},ZR=function(x){if(typeof x!="number")switch(x[0]){case 0:return x[2];case 1:return x[2];case 2:return x[1][3];case 3:var r=x[1],e=r[5],t=r[4],u=r[3];return t&&e?Zx(U10,Zx(u,L10)):t?Zx(D10,Zx(u,M10)):e?Zx(z10,Zx(u,j10)):Zx(J10,Zx(u,K10));case 4:return x[3];case 5:var i=x[2];return Zx(B10,Zx(i,Zx(Y10,x[3])));case 6:return x[2];case 7:return x[1];case 8:return x[1];case 9:return x[3];case 10:return x[3];case 11:return x[1]?X10:W10;case 12:return x[3];default:return x[3]}var f=x;if(65<=f){if(98<=f)switch(f){case 98:return r10;case 99:return e10;case 100:return t10;case 101:return n10;case 102:return u10;case 103:return i10;case 104:return f10;case 105:return c10;case 106:return s10;case 107:return o10;case 108:return v10;case 109:return a10;case 110:return l10;case 111:return p10;case 112:return y10;case 113:return d10;case 114:return m10;case 115:return k10;case 116:return h10;case 117:return _10;case 118:return w10;case 119:return T10;case 120:return S10;case 121:return E10;case 122:return A10;case 123:return g10;case 124:return N10;case 125:return I10;case 126:return P10;case 127:return C10;case 128:return R10;default:return O10}switch(f){case 65:return Tr0;case 66:return Sr0;case 67:return Er0;case 68:return Ar0;case 69:return gr0;case 70:return Nr0;case 71:return Ir0;case 72:return Pr0;case 73:return Cr0;case 74:return Rr0;case 75:return Or0;case 76:return Lr0;case 77:return Ur0;case 78:return Mr0;case 79:return Dr0;case 80:return jr0;case 81:return zr0;case 82:return Kr0;case 83:return Jr0;case 84:return Yr0;case 85:return Br0;case 86:return Xr0;case 87:return Wr0;case 88:return Vr0;case 89:return Zr0;case 90:return $r0;case 91:return Fr0;case 92:return Qr0;case 93:return Hr0;case 94:return qr0;case 95:return Gr0;case 96:return br0;default:return x10}}if(33<=f)switch(f){case 33:return Wx0;case 34:return Vx0;case 35:return Zx0;case 36:return $x0;case 37:return Fx0;case 38:return Qx0;case 39:return Hx0;case 40:return qx0;case 41:return Gx0;case 42:return bx0;case 43:return xr0;case 44:return rr0;case 45:return er0;case 46:return tr0;case 47:return nr0;case 48:return ur0;case 49:return ir0;case 50:return fr0;case 51:return cr0;case 52:return sr0;case 53:return or0;case 54:return vr0;case 55:return ar0;case 56:return lr0;case 57:return pr0;case 58:return yr0;case 59:return dr0;case 60:return mr0;case 61:return kr0;case 62:return hr0;case 63:return _r0;default:return wr0}switch(f){case 0:return vx0;case 1:return ax0;case 2:return lx0;case 3:return px0;case 4:return yx0;case 5:return dx0;case 6:return mx0;case 7:return kx0;case 8:return hx0;case 9:return _x0;case 10:return wx0;case 11:return Tx0;case 12:return Sx0;case 13:return Ex0;case 14:return Ax0;case 15:return gx0;case 16:return Nx0;case 17:return Ix0;case 18:return Px0;case 19:return Cx0;case 20:return Rx0;case 21:return Ox0;case 22:return Lx0;case 23:return Ux0;case 24:return Mx0;case 25:return Dx0;case 26:return jx0;case 27:return zx0;case 28:return Kx0;case 29:return Jx0;case 30:return Yx0;case 31:return Bx0;default:return Xx0}},pd=function(x){return l(Ar(ox0),x)},$R=function(x,r){var e=x?x[1]:0,t=0;if(typeof r=="number")if(Er===r)var u=F00,i=Q00;else t=1;else switch(r[0]){case 3:var u=H00,i=q00;break;case 5:var u=G00,i=b00;break;case 0:case 12:var u=rx0,i=ex0;break;case 1:case 13:var u=tx0,i=nx0;break;case 4:case 8:var u=fx0,i=cx0;break;case 6:case 7:case 11:t=1;break;default:var u=ux0,i=ix0}if(t)var u=xx0,i=pd(ZR(r));return e?Zx(u,Zx(sx0,i)):i},KT0=function(x){return Av>>0)var t=w(x);else switch(e){case 0:var t=1;break;case 1:var t=2;break;case 2:var t=0;break;default:if(r0(x,2),Co(m(x))===0){var u=Kv(m(x));if(u===0)var t=Ir(m(x))===0&&Ir(m(x))===0&&Ir(m(x))===0?0:w(x);else if(u===1&&Ir(m(x))===0)for(;;){var i=zv(m(x));if(i!==0){var t=i===1?0:w(x);break}}else var t=w(x)}else var t=w(x)}if(2>>0)throw q0([0,Tr,Nt0],1);switch(t){case 0:continue;case 1:return 1;default:if(BR($J(x)))continue;return QJ(x,1),0}}},Kd=function(x,r){var e=r-x[3][2]|0;return[0,yY(x),e]},ql=function(x,r,e){var t=Kd(x,e),u=Kd(x,r);return[0,x[1],u,t]},m2=function(x,r){return Kd(x,r[6])},pe=function(x,r){return Kd(x,r[3])},Yr=function(x,r){return ql(x,r[6],r[3])},XY=function(x,r){var e=0;if(typeof r=="number")e=1;else switch(r[0]){case 2:var t=r[1][1];break;case 3:return r[1][1];case 4:var t=r[1];break;case 5:return r[1];case 8:var t=r[2];break;case 9:return r[1];case 10:return r[1];default:e=1}return e?Yr(x,x[2]):t},k2=function(x,r,e){return[0,x[1],x[2],x[3],x[4],x[5],[0,[0,r,e],x[6]],x[7]]},WY=function(x,r,e){return k2(x,r,[23,pd(e)])},GR=function(x,r,e,t){return k2(x,r,[24,e,t])},ot=function(x,r){return k2(x,r,Zc0)},Y2=function(x,r){var e=r[3],t=[0,yY(x)+1|0,e];return[0,x[1],x[2],t,x[4],x[5],x[6],x[7]]},Jt=function(x,r,e,t,u){var i=[0,x[1],r,e],f=z1(t),o=u?0:1;return[0,i,[0,o,f,x[7][3][1]>>0)var a=w(t);else switch(o){case 0:var a=2;break;case 1:for(;;){r0(t,3);var y=m(t),h=-1>>0)return Rx(Kc0);switch(a){case 0:var g=ZY(i,e,t,2,0),I=g[1],C=it(Zx(Jc0,g[2])),R=0<=C?1:0,L=R&&(C<=55295?1:0);if(L)var B=L;else var U=57344<=C?1:0,B=U&&(C<=c5?1:0);var X=B?VY(i,I,C):k2(i,I,32);qc(u,C);var i=X;continue;case 1:var J=ZY(i,e,t,3,1),e0=J[1],i0=it(Zx(Yc0,J[2])),j=VY(i,e0,i0);qc(u,i0);var i=j;continue;case 2:return[0,i,z1(u)];default:od(t,u);continue}}},N1=function(x,r,e){var t=ot(x,Yr(x,r));return $a(r),p(e,t,r)},Jv=function(x,r,e){for(var t=x;;){pr(e);var u=m(e),i=-1>>0)var f=w(e);else switch(i){case 0:for(;;){r0(e,3);var o=m(e),a=-1>>0){var k=ot(t,Yr(t,e));return[0,k,pe(k,e)]}switch(f){case 0:var A=Y2(t,e);od(e,r);var t=A;continue;case 1:var g=t[4]?GR(t,Yr(t,e),Ct0,Pt0):t;return[0,g,pe(g,e)];case 2:if(t[4])return[0,t,pe(t,e)];vr(r,Rt0);continue;default:od(e,r);continue}}},Ga=function(x,r,e){for(;;){pr(e);var t=m(e),u=13>>0)var i=w(e);else switch(u){case 0:var i=0;break;case 1:for(;;){r0(e,2);var f=m(e),o=-1>>0)return Rx(Ot0);switch(i){case 0:return[0,x,pe(x,e)];case 1:var a=pe(x,e),y=a[2],h=a[1],k=Y2(x,e);return[0,k,[0,h,y-sd(e)|0]];default:od(e,r);continue}}},FY=function(x,r){function e(e0){return r0(e0,3),J2(m(e0))===0?2:w(e0)}pr(r);var t=m(r),u=Ef>>0)var i=w(r);else switch(u){case 0:var i=0;break;case 1:var i=16;break;case 2:var i=15;break;case 3:r0(r,15);var i=le(m(r))===0?15:w(r);break;case 4:r0(r,4);var i=J2(m(r))===0?e(r):w(r);break;case 5:r0(r,11);var i=J2(m(r))===0?e(r):w(r);break;case 6:var i=0;break;case 7:var i=5;break;case 8:var i=6;break;case 9:var i=7;break;case 10:var i=8;break;case 11:var i=9;break;case 12:r0(r,14);var f=Kv(m(r));if(f===0)var i=Ir(m(r))===0&&Ir(m(r))===0&&Ir(m(r))===0?12:w(r);else if(f===1&&Ir(m(r))===0)for(;;){var o=zv(m(r));if(o!==0){var i=o===1?13:w(r);break}}else var i=w(r);break;case 13:var i=10;break;default:r0(r,14);var i=Ir(m(r))===0&&Ir(m(r))===0?1:w(r)}if(16>>0)return Rx(Ac0);switch(i){case 0:var a=Kx(r);return[0,x,a,n1(r),0];case 1:var y=Kx(r);return[0,x,y,[0,it(Zx(gc0,y))],0];case 2:var h=Kx(r),k=it(Zx(Nc0,h));return yv<=k?[0,x,h,[0,k>>>3|0,48+(k&7)|0],1]:[0,x,h,[0,k],1];case 3:var A=Kx(r);return[0,x,A,[0,it(Zx(Ic0,A))],1];case 4:return[0,x,Pc0,[0,0],0];case 5:return[0,x,Cc0,[0,8],0];case 6:return[0,x,Rc0,[0,12],0];case 7:return[0,x,Oc0,[0,10],0];case 8:return[0,x,Lc0,[0,13],0];case 9:return[0,x,Uc0,[0,9],0];case 10:return[0,x,Mc0,[0,11],0];case 11:var g=Kx(r);return[0,x,g,[0,it(Zx(Dc0,g))],1];case 12:var I=Kx(r);return[0,x,I,[0,it(Zx(jc0,z2(I,1,Gx(I)-1|0)))],0];case 13:var C=Kx(r),R=it(Zx(zc0,z2(C,2,Gx(C)-3|0))),L=c5>>0)var h=w(i);else switch(y){case 0:var h=3;break;case 1:for(;;){r0(i,4);var k=m(i),A=-1>>0)return Rx(Lt0);switch(h){case 0:var g=Kx(i);if(vr(t,g),Nr(r,g))return[0,f,pe(f,i),o];vr(e,g);continue;case 1:vr(t,Ut0);var I=FY(f,i),C=I[4],R=I[3],L=I[2],U=I[1],B=C||o;vr(t,L),qK(function(f0){return qc(e,f0)},R);var f=U,o=B;continue;case 2:var X=Kx(i);vr(t,X);var J=Y2(ot(f,Yr(f,i)),i);return vr(e,X),[0,J,pe(J,i),o];case 3:var e0=Kx(i);vr(t,e0);var i0=ot(f,Yr(f,i));return vr(e,e0),[0,i0,pe(i0,i),o];default:var j=i[6],Y=i[3]-j|0,z=g1(Y*4|0),F=Wl(i[1],j,Y,z);sR(t,z,0,F),sR(e,z,0,F);continue}}},HY=function(x,r,e,t){for(var u=x;;){pr(t);var i=m(t),f=96>>0)var o=w(t);else switch(f){case 0:var o=0;break;case 1:for(;;){r0(t,6);var a=m(t),y=-1>>0)return Rx(Mt0);switch(o){case 0:return[0,ot(u,Yr(u,t)),1];case 1:return[0,u,1];case 2:return[0,u,0];case 3:ct(e,92);var A=FY(u,t),g=A[3],I=A[1];vr(e,A[2]),qK(function(L){return qc(r,L)},g);var u=I;continue;case 4:vr(e,Dt0),vr(r,jt0);var u=Y2(u,t);continue;case 5:vr(e,Kx(t)),ct(r,10);var u=Y2(u,t);continue;default:var C=Kx(t);vr(e,C),vr(r,C);continue}}},BT0=function(x,r){function e(_){for(;;)if(r0(_,33),ar(m(_))!==0)return w(_)}function t(_){r0(_,32);var b=L1(m(_));if(b!==0)return b===1?e(_):w(_);for(;;)if(r0(_,30),ar(m(_))!==0)return w(_)}function u(_){r0(_,31);var b=L1(m(_));if(b!==0)return b===1?e(_):w(_);for(;;)if(r0(_,29),ar(m(_))!==0)return w(_)}function i(_){r0(_,34);var b=Qa(m(_));if(2>>0)return w(_);switch(b){case 0:return e(_);case 1:for(;;){r0(_,34);var x0=rs(m(_));if(3>>0)return w(_);switch(x0){case 0:return e(_);case 1:continue;case 2:x:for(;;){if(yr(m(_))!==0)return w(_);for(;;){r0(_,34);var S0=rs(m(_));if(3>>0)return w(_);switch(S0){case 0:return e(_);case 1:continue;case 2:continue x;default:return u(_)}}}default:return u(_)}}default:return u(_)}}function f(_){x:for(;;){if(yr(m(_))!==0)return w(_);for(;;){r0(_,34);var b=LY(m(_));if(4>>0)return w(_);switch(b){case 0:return e(_);case 1:return i(_);case 2:continue;case 3:continue x;default:return t(_)}}}}function o(_){for(;;)if(r0(_,23),ar(m(_))!==0)return w(_)}function a(_){for(;;)if(r0(_,23),ar(m(_))!==0)return w(_)}function y(_){for(;;)if(r0(_,15),ar(m(_))!==0)return w(_)}function h(_){for(;;)if(r0(_,15),ar(m(_))!==0)return w(_)}function k(_){for(;;)if(r0(_,11),ar(m(_))!==0)return w(_)}function A(_){for(;;)if(r0(_,11),ar(m(_))!==0)return w(_)}function g(_){for(;;)if(r0(_,17),ar(m(_))!==0)return w(_)}function I(_){for(;;)if(r0(_,17),ar(m(_))!==0)return w(_)}function C(_){for(;;)if(r0(_,19),ar(m(_))!==0)return w(_)}function R(_){for(;;)if(r0(_,27),ar(m(_))!==0)return w(_)}function L(_){r0(_,26);var b=L1(m(_));if(b!==0)return b===1?R(_):w(_);for(;;)if(r0(_,25),ar(m(_))!==0)return w(_)}function U(_){for(;;)if(r0(_,27),ar(m(_))!==0)return w(_)}function B(_){r0(_,26);var b=L1(m(_));if(b!==0)return b===1?U(_):w(_);for(;;)if(r0(_,25),ar(m(_))!==0)return w(_)}function X(_){x:for(;;){if(yr(m(_))!==0)return w(_);for(;;){r0(_,28);var b=rs(m(_));if(3>>0)return w(_);switch(b){case 0:return U(_);case 1:continue;case 2:continue x;default:return B(_)}}}}function J(_){r0(_,33);var b=MY(m(_));if(3>>0)return w(_);switch(b){case 0:return e(_);case 1:var x0=go(m(_));if(x0===0)for(;;){r0(_,28);var S0=Qa(m(_));if(2>>0)return w(_);switch(S0){case 0:return U(_);case 1:continue;default:return B(_)}}if(x0!==1)return w(_);for(;;){r0(_,28);var H=rs(m(_));if(3>>0)return w(_);switch(H){case 0:return U(_);case 1:continue;case 2:return X(_);default:return B(_)}}case 2:for(;;){r0(_,28);var h0=Qa(m(_));if(2>>0)return w(_);switch(h0){case 0:return R(_);case 1:continue;default:return L(_)}}default:for(;;){r0(_,28);var Y0=rs(m(_));if(3>>0)return w(_);switch(Y0){case 0:return R(_);case 1:continue;case 2:return X(_);default:return L(_)}}}}function e0(_){r0(_,34);var b=EY(m(_));if(3>>0)return w(_);switch(b){case 0:return e(_);case 1:for(;;){r0(_,34);var x0=No(m(_));if(4>>0)return w(_);switch(x0){case 0:return e(_);case 1:continue;case 2:return J(_);case 3:x:for(;;){if(yr(m(_))!==0)return w(_);for(;;){r0(_,34);var S0=No(m(_));if(4>>0)return w(_);switch(S0){case 0:return e(_);case 1:continue;case 2:return J(_);case 3:continue x;default:return u(_)}}}default:return u(_)}}case 2:return J(_);default:return u(_)}}function i0(_){return Rd(m(_))===0&&Nd(m(_))===0&&jY(m(_))===0&&gY(m(_))===0&&NY(m(_))===0&&qR(m(_))===0&&Ql(m(_))===0&&Rd(m(_))===0&&Co(m(_))===0&&IY(m(_))===0&&Hl(m(_))===0?3:w(_)}function j(_){return r0(_,3),JY(m(_))===0?3:w(_)}function Y(_){var b=KT0(m(_));if(36>>0)return w(_);switch(b){case 0:return 98;case 1:return 99;case 2:if(r0(_,1),bc(m(_))!==0)return w(_);for(;;)if(r0(_,1),bc(m(_))!==0)return w(_);case 3:return 0;case 4:return r0(_,0),le(m(_))===0?0:w(_);case 5:return r0(_,88),_n(m(_))===0?(r0(_,58),_n(m(_))===0?54:w(_)):w(_);case 6:return 7;case 7:r0(_,95);var x0=m(_),S0=32>>0)return w(_);switch(Y0){case 0:return r0(_,83),_n(m(_))===0?70:w(_);case 1:return 4;default:return 69}case 14:r0(_,80);var U0=m(_),tx=42>>0)return w(_);switch(Vx){case 0:return e(_);case 1:continue;case 2:return J(_);case 3:x:for(;;){if(yr(m(_))!==0)return w(_);for(;;){r0(_,34);var er=No(m(_));if(4>>0)return w(_);switch(er){case 0:return e(_);case 1:continue;case 2:return J(_);case 3:continue x;default:return u(_)}}}default:return u(_)}}case 18:r0(_,93);var Jx=AY(m(_));if(2>>0)return w(_);switch(Jx){case 0:r0(_,2);var Or=wd(m(_));if(2>>0)return w(_);switch(Or){case 0:for(;;){var Xx=wd(m(_));if(2>>0)return w(_);switch(Xx){case 0:continue;case 1:return j(_);default:return i0(_)}}case 1:return j(_);default:return i0(_)}case 1:return 5;default:return 92}case 19:r0(_,34);var X2=CY(m(_));if(8>>0)return w(_);switch(X2){case 0:return e(_);case 1:return e0(_);case 2:for(;;){r0(_,20);var at=DY(m(_));if(4>>0)return w(_);switch(at){case 0:return C(_);case 1:return i(_);case 2:continue;case 3:for(;;){r0(_,18);var de=_d(m(_));if(3>>0)return w(_);switch(de){case 0:return I(_);case 1:return i(_);case 2:continue;default:r0(_,17);var En=L1(m(_));if(En!==0)return En===1?I(_):w(_);for(;;)if(r0(_,17),ar(m(_))!==0)return w(_)}}default:r0(_,19);var ro=L1(m(_));if(ro!==0)return ro===1?C(_):w(_);for(;;)if(r0(_,19),ar(m(_))!==0)return w(_)}}case 3:for(;;){r0(_,18);var An=_d(m(_));if(3>>0)return w(_);switch(An){case 0:return g(_);case 1:return i(_);case 2:continue;default:r0(_,17);var fs=L1(m(_));if(fs!==0)return fs===1?g(_):w(_);for(;;)if(r0(_,17),ar(m(_))!==0)return w(_)}}case 4:r0(_,33);var me=PY(m(_));if(me===0)return e(_);if(me!==1)return w(_);for(;;){r0(_,12);var gn=Dd(m(_));if(3>>0)return w(_);switch(gn){case 0:return A(_);case 1:continue;case 2:x:for(;;){if(xs(m(_))!==0)return w(_);for(;;){r0(_,12);var re=Dd(m(_));if(3>>0)return w(_);switch(re){case 0:return k(_);case 1:continue;case 2:continue x;default:r0(_,10);var Vt=L1(m(_));if(Vt!==0)return Vt===1?k(_):w(_);for(;;)if(r0(_,9),ar(m(_))!==0)return w(_)}}}default:r0(_,10);var dr=L1(m(_));if(dr!==0)return dr===1?A(_):w(_);for(;;)if(r0(_,9),ar(m(_))!==0)return w(_)}}case 5:return J(_);case 6:r0(_,33);var Zt=RY(m(_));if(Zt===0)return e(_);if(Zt!==1)return w(_);for(;;){r0(_,16);var Nn=Ud(m(_));if(3>>0)return w(_);switch(Nn){case 0:return h(_);case 1:continue;case 2:x:for(;;){if(J2(m(_))!==0)return w(_);for(;;){r0(_,16);var Hv=Ud(m(_));if(3>>0)return w(_);switch(Hv){case 0:return y(_);case 1:continue;case 2:continue x;default:r0(_,14);var ke=L1(m(_));if(ke!==0)return ke===1?y(_):w(_);for(;;)if(r0(_,13),ar(m(_))!==0)return w(_)}}}default:r0(_,14);var lt=L1(m(_));if(lt!==0)return lt===1?h(_):w(_);for(;;)if(r0(_,13),ar(m(_))!==0)return w(_)}}case 7:r0(_,33);var Ko=_Y(m(_));if(Ko===0)return e(_);if(Ko!==1)return w(_);for(;;){r0(_,24);var eo=jd(m(_));if(3>>0)return w(_);switch(eo){case 0:return a(_);case 1:continue;case 2:x:for(;;){if(Ir(m(_))!==0)return w(_);for(;;){r0(_,24);var a2=jd(m(_));if(3>>0)return w(_);switch(a2){case 0:return o(_);case 1:continue;case 2:continue x;default:r0(_,22);var to=L1(m(_));if(to!==0)return to===1?o(_):w(_);for(;;)if(r0(_,21),ar(m(_))!==0)return w(_)}}}default:r0(_,22);var In=L1(m(_));if(In!==0)return In===1?a(_):w(_);for(;;)if(r0(_,21),ar(m(_))!==0)return w(_)}}default:return t(_)}case 20:r0(_,34);var pt=Sd(m(_));if(5>>0)return w(_);switch(pt){case 0:return e(_);case 1:return e0(_);case 2:for(;;){r0(_,34);var Jo=Sd(m(_));if(5>>0)return w(_);switch(Jo){case 0:return e(_);case 1:return e0(_);case 2:continue;case 3:return J(_);case 4:return f(_);default:return t(_)}}case 3:return J(_);case 4:return f(_);default:return t(_)}case 21:return 46;case 22:return 44;case 23:r0(_,78);var no=m(_),qv=59>>0)return Rx(wc0);var F=z;if(50>F)switch(F){case 0:return[2,Y2(x,r)];case 1:return[2,x];case 2:var t0=m2(x,r),$=Zr(Jr),f0=Jv(x,$,r),c0=f0[1];return[1,c0,Jt(c0,t0,f0[2],$,1)];case 3:var v0=Kx(r);if(!x[5]){var s0=m2(x,r),o0=Zr(Jr);vr(o0,z2(v0,2,Gx(v0)-2|0));var E0=Jv(x,o0,r),k0=E0[1];return[1,k0,Jt(k0,s0,E0[2],o0,1)]}var M0=x[4]?WY(x,Yr(x,r),v0):x,D0=ld(1,M0),cx=sd(r);return Nr(Vl(r,cx-1|0,1),Nv)&&N(Vl(r,cx-2|0,1),Nv)?[0,D0,86]:[2,D0];case 4:if(x[4])return[2,ld(0,x)];$a(r),pr(r);var g0=SY(m(r))===0?0:w(r);return g0===0?[0,x,_1]:Rx(Tc0);case 5:var Z0=m2(x,r),n0=Zr(Jr),nx=Ga(x,n0,r),xx=nx[1];return[1,xx,Jt(xx,Z0,nx[2],n0,0)];case 6:if(r[6]!==0)return[0,x,Sc0];var yx=m2(x,r),px=Zr(Jr),Tx=Ga(x,px,r),O0=Tx[1],P0=[0,O0[1],yx,Tx[2]];return[0,O0,[6,P0,z1(px)]];case 7:var N0=Kx(r),J0=m2(x,r),I0=Zr(Jr),Q=Zr(Jr);vr(Q,N0);var G=QY(x,N0,I0,Q,0,r),V=G[1],p0=G[3],d0=[0,V[1],J0,G[2]],A0=z1(Q);return[0,V,[2,[0,d0,z1(I0),A0,p0]]];case 8:var M=Zr(Jr),L0=Zr(Jr),V0=m2(x,r),B0=HY(x,M,L0,r),vx=B0[1],b0=B0[2],hx=pe(vx,r),W0=[0,vx[1],V0,hx],T=z1(L0);return[0,vx,[3,[0,W0,z1(M),T,1,b0]]];case 9:return N1(x,r,function(_,b){if(pr(b),ae(m(b))===0&&Ad(m(b))===0&&xs(m(b))===0)for(;;){var x0=kd(m(b));if(2>>0)var h0=w(b);else switch(x0){case 0:continue;case 1:x:for(;;){if(xs(m(b))===0)for(;;){var S0=kd(m(b));if(2>>0)var H=w(b);else switch(S0){case 0:continue;case 1:continue x;default:var H=0}break}else var H=w(b);var h0=H;break}break;default:var h0=0}break}else var h0=w(b);return h0===0?[0,_,[1,0,Kx(b)]]:Rx(_c0)});case 10:return[0,x,[1,0,Kx(r)]];case 11:return N1(x,r,function(_,b){if(pr(b),ae(m(b))===0&&Ad(m(b))===0&&xs(m(b))===0)for(;;){r0(b,0);var x0=md(m(b));if(x0!==0){if(x0===1)x:for(;;){if(xs(m(b))===0)for(;;){r0(b,0);var S0=md(m(b));if(S0!==0){if(S0===1)continue x;var H=w(b);break}}else var H=w(b);var h0=H;break}else var h0=w(b);break}}else var h0=w(b);return h0===0?[0,_,[0,0,Kx(b)]]:Rx(hc0)});case 12:return[0,x,[0,0,Kx(r)]];case 13:return N1(x,r,function(_,b){if(pr(b),ae(m(b))===0&&Pd(m(b))===0&&J2(m(b))===0)for(;;){var x0=Ed(m(b));if(2>>0)var h0=w(b);else switch(x0){case 0:continue;case 1:x:for(;;){if(J2(m(b))===0)for(;;){var S0=Ed(m(b));if(2>>0)var H=w(b);else switch(S0){case 0:continue;case 1:continue x;default:var H=0}break}else var H=w(b);var h0=H;break}break;default:var h0=0}break}else var h0=w(b);return h0===0?[0,_,[1,1,Kx(b)]]:Rx(kc0)});case 14:return[0,x,[1,1,Kx(r)]];case 15:return N1(x,r,function(_,b){if(pr(b),ae(m(b))===0&&Pd(m(b))===0&&J2(m(b))===0)for(;;){r0(b,0);var x0=Td(m(b));if(x0!==0){if(x0===1)x:for(;;){if(J2(m(b))===0)for(;;){r0(b,0);var S0=Td(m(b));if(S0!==0){if(S0===1)continue x;var H=w(b);break}}else var H=w(b);var h0=H;break}else var h0=w(b);break}}else var h0=w(b);return h0===0?[0,_,[0,3,Kx(b)]]:Rx(mc0)});case 16:return[0,x,[0,3,Kx(r)]];case 17:return N1(x,r,function(_,b){if(pr(b),ae(m(b))===0)for(;;){var x0=m(b),S0=47>>0)var h0=w(b);else switch(x0){case 0:continue;case 1:x:for(;;){if(Ir(m(b))===0)for(;;){var S0=hd(m(b));if(2>>0)var H=w(b);else switch(S0){case 0:continue;case 1:continue x;default:var H=0}break}else var H=w(b);var h0=H;break}break;default:var h0=0}break}else var h0=w(b);return h0===0?[0,_,[1,2,Kx(b)]]:Rx(pc0)});case 22:return[0,x,[1,2,Kx(r)]];case 23:return N1(x,r,function(_,b){if(pr(b),ae(m(b))===0&&yd(m(b))===0&&Ir(m(b))===0)for(;;){r0(b,0);var x0=Od(m(b));if(x0!==0){if(x0===1)x:for(;;){if(Ir(m(b))===0)for(;;){r0(b,0);var S0=Od(m(b));if(S0!==0){if(S0===1)continue x;var H=w(b);break}}else var H=w(b);var h0=H;break}else var h0=w(b);break}}else var h0=w(b);return h0===0?[0,_,[0,4,Kx(b)]]:Rx(lc0)});case 24:return[0,x,[0,4,Kx(r)]];case 25:return N1(x,r,function(_,b){function x0(Jx){for(;;){var Or=zt(m(Jx));if(2>>0)return w(Jx);switch(Or){case 0:continue;case 1:x:for(;;){if(yr(m(Jx))!==0)return w(Jx);for(;;){var Xx=zt(m(Jx));if(2>>0)return w(Jx);switch(Xx){case 0:continue;case 1:continue x;default:return 0}}}default:return 0}}}function S0(Jx){for(;;){var Or=Ha(m(Jx));if(Or!==0)return Or===1?0:w(Jx)}}function H(Jx){var Or=zd(m(Jx));if(2>>0)return w(Jx);switch(Or){case 0:var Xx=go(m(Jx));return Xx===0?S0(Jx):Xx===1?x0(Jx):w(Jx);case 1:return S0(Jx);default:return x0(Jx)}}function h0(Jx){var Or=Cd(m(Jx));if(Or!==0)return Or===1?H(Jx):w(Jx);for(;;){var Xx=G2(m(Jx));if(2>>0)return w(Jx);switch(Xx){case 0:continue;case 1:return H(Jx);default:x:for(;;){if(yr(m(Jx))!==0)return w(Jx);for(;;){var X2=G2(m(Jx));if(2>>0)return w(Jx);switch(X2){case 0:continue;case 1:return H(Jx);default:continue x}}}}}}pr(b);var Y0=Ao(m(b));if(2>>0)var U0=w(b);else switch(Y0){case 0:if(yr(m(b))===0)for(;;){var tx=G2(m(b));if(2>>0)var U0=w(b);else switch(tx){case 0:continue;case 1:var U0=H(b);break;default:x:for(;;){if(yr(m(b))===0)for(;;){var Wx=G2(m(b));if(2>>0)var Lx=w(b);else switch(Wx){case 0:continue;case 1:var Lx=H(b);break;default:continue x}break}else var Lx=w(b);var U0=Lx;break}}break}else var U0=w(b);break;case 1:var ur=dd(m(b)),U0=ur===0?h0(b):ur===1?H(b):w(b);break;default:for(;;){var Vx=Id(m(b));if(2>>0)var U0=w(b);else switch(Vx){case 0:var U0=h0(b);break;case 1:continue;default:var U0=H(b)}break}}if(U0!==0)return Rx(ac0);var er=k2(_,Yr(_,b),47);return[0,er,[1,2,Kx(b)]]});case 26:var K=k2(x,Yr(x,r),47);return[0,K,[1,2,Kx(r)]];case 27:return N1(x,r,function(_,b){function x0(er){for(;;){r0(er,0);var Jx=Io(m(er));if(Jx!==0){if(Jx!==1)return w(er);x:for(;;){if(yr(m(er))!==0)return w(er);for(;;){r0(er,0);var Or=Io(m(er));if(Or!==0){if(Or===1)continue x;return w(er)}}}}}}function S0(er){for(;;)if(r0(er,0),yr(m(er))!==0)return w(er)}function H(er){var Jx=zd(m(er));if(2>>0)return w(er);switch(Jx){case 0:var Or=go(m(er));return Or===0?S0(er):Or===1?x0(er):w(er);case 1:return S0(er);default:return x0(er)}}function h0(er){var Jx=Cd(m(er));if(Jx!==0)return Jx===1?H(er):w(er);for(;;){var Or=G2(m(er));if(2>>0)return w(er);switch(Or){case 0:continue;case 1:return H(er);default:x:for(;;){if(yr(m(er))!==0)return w(er);for(;;){var Xx=G2(m(er));if(2>>0)return w(er);switch(Xx){case 0:continue;case 1:return H(er);default:continue x}}}}}}pr(b);var Y0=Ao(m(b));if(2>>0)var U0=w(b);else switch(Y0){case 0:if(yr(m(b))===0)for(;;){var tx=G2(m(b));if(2>>0)var U0=w(b);else switch(tx){case 0:continue;case 1:var U0=H(b);break;default:x:for(;;){if(yr(m(b))===0)for(;;){var Wx=G2(m(b));if(2>>0)var Lx=w(b);else switch(Wx){case 0:continue;case 1:var Lx=H(b);break;default:continue x}break}else var Lx=w(b);var U0=Lx;break}}break}else var U0=w(b);break;case 1:var ur=dd(m(b)),U0=ur===0?h0(b):ur===1?H(b):w(b);break;default:for(;;){var Vx=Id(m(b));if(2>>0)var U0=w(b);else switch(Vx){case 0:var U0=h0(b);break;case 1:continue;default:var U0=H(b)}break}}return U0===0?[0,_,[0,4,Kx(b)]]:Rx(vc0)});case 28:return[0,x,[0,4,Kx(r)]];case 29:return N1(x,r,function(_,b){function x0(ur){for(;;){var Vx=zt(m(ur));if(2>>0)return w(ur);switch(Vx){case 0:continue;case 1:x:for(;;){if(yr(m(ur))!==0)return w(ur);for(;;){var er=zt(m(ur));if(2>>0)return w(ur);switch(er){case 0:continue;case 1:continue x;default:return 0}}}default:return 0}}}function S0(ur){var Vx=Ha(m(ur));return Vx===0?x0(ur):Vx===1?0:w(ur)}pr(b);var H=Ao(m(b));if(2>>0)var h0=w(b);else switch(H){case 0:var h0=yr(m(b))===0?x0(b):w(b);break;case 1:for(;;){var Y0=qa(m(b));if(Y0===0)var h0=S0(b);else{if(Y0===1)continue;var h0=w(b)}break}break;default:for(;;){var U0=Po(m(b));if(2>>0)var h0=w(b);else switch(U0){case 0:var h0=S0(b);break;case 1:continue;default:x:for(;;){if(yr(m(b))===0)for(;;){var tx=Po(m(b));if(2>>0)var Wx=w(b);else switch(tx){case 0:var Wx=S0(b);break;case 1:continue;default:continue x}break}else var Wx=w(b);var h0=Wx;break}}break}}if(h0!==0)return Rx(oc0);var Lx=k2(_,Yr(_,b),38);return[0,Lx,[1,2,Kx(b)]]});case 30:return N1(x,r,function(_,b){pr(b);var x0=go(m(b));if(x0===0)for(;;){var S0=Ha(m(b));if(S0!==0){var U0=S0===1?0:w(b);break}}else if(x0===1)for(;;){var H=zt(m(b));if(2>>0)var U0=w(b);else switch(H){case 0:continue;case 1:x:for(;;){if(yr(m(b))===0)for(;;){var h0=zt(m(b));if(2>>0)var Y0=w(b);else switch(h0){case 0:continue;case 1:continue x;default:var Y0=0}break}else var Y0=w(b);var U0=Y0;break}break;default:var U0=0}break}else var U0=w(b);return U0===0?[0,_,[1,2,Kx(b)]]:Rx(sc0)});case 31:var H0=k2(x,Yr(x,r),38);return[0,H0,[1,2,Kx(r)]];case 32:return[0,x,[1,2,Kx(r)]];case 33:return N1(x,r,function(_,b){function x0(Lx){for(;;){r0(Lx,0);var ur=Io(m(Lx));if(ur!==0){if(ur!==1)return w(Lx);x:for(;;){if(yr(m(Lx))!==0)return w(Lx);for(;;){r0(Lx,0);var Vx=Io(m(Lx));if(Vx!==0){if(Vx===1)continue x;return w(Lx)}}}}}}function S0(Lx){return r0(Lx,0),yr(m(Lx))===0?x0(Lx):w(Lx)}pr(b);var H=Ao(m(b));if(2>>0)var h0=w(b);else switch(H){case 0:var h0=yr(m(b))===0?x0(b):w(b);break;case 1:for(;;){r0(b,0);var Y0=qa(m(b));if(Y0===0)var h0=S0(b);else{if(Y0===1)continue;var h0=w(b)}break}break;default:for(;;){r0(b,0);var U0=Po(m(b));if(2>>0)var h0=w(b);else switch(U0){case 0:var h0=S0(b);break;case 1:continue;default:x:for(;;){if(yr(m(b))===0)for(;;){r0(b,0);var tx=Po(m(b));if(2>>0)var Wx=w(b);else switch(tx){case 0:var Wx=S0(b);break;case 1:continue;default:continue x}break}else var Wx=w(b);var h0=Wx;break}}break}}return h0===0?[0,_,[0,4,Kx(b)]]:Rx(cc0)});case 34:return[0,x,[0,4,Kx(r)]];case 35:var sx=Yr(x,r),ux=Kx(r);return[0,x,[4,sx,ux,ux]];case 36:return[0,x,0];case 37:return[0,x,1];case 38:return[0,x,4];case 39:return[0,x,5];case 40:return[0,x,6];case 41:return[0,x,7];case 42:return[0,x,12];case 43:return[0,x,10];case 44:return[0,x,8];case 45:return[0,x,9];case 46:return[0,x,86];case 47:$a(r),pr(r);var z0=m(r),Px=62=rr)return[0,x,18];var zx=Ex(j0,Ia);if(0<=zx){if(0>=zx)return[0,x,51];var X0=Ex(j0,ws);if(0<=X0){if(0>=X0)return[0,x,46];if(!N(j0,sl))return[0,x,24];if(!N(j0,gs))return[0,x,47];if(!N(j0,Mp))return[0,x,25];if(!N(j0,ap))return[0,x,26];if(!N(j0,U2))return[0,x,58]}else{if(!N(j0,Ke))return[0,x,20];if(!N(j0,fv))return[0,x,21];if(!N(j0,ze))return[0,x,22];if(!N(j0,Ts))return[0,x,31];if(!N(j0,ny))return[0,x,23];if(!N(j0,bu))return[0,x,61]}}else{var ir=Ex(j0,Zp);if(0<=ir){if(0>=ir)return[0,x,54];if(!N(j0,kl))return[0,x,55];if(!N(j0,W3))return[0,x,56];if(!N(j0,j3))return[0,x,57];if(!N(j0,Me))return[0,x,19];if(!N(j0,De))return[0,x,42]}else{if(!N(j0,F2))return[0,x,53];if(!N(j0,ya))return[0,x,28];if(!N(j0,iv))return[0,x,44];if(!N(j0,lv))return[0,x,29];if(!N(j0,Bh))return[0,x,63];if(!N(j0,Oh))return[0,x,62]}}}else{var K0=Ex(j0,W5);if(0<=K0){if(0>=K0)return[0,x,37];var Sr=Ex(j0,d8);if(0<=Sr){if(0>=Sr)return[0,x,39];if(!N(j0,la))return[0,x,15];if(!N(j0,Hp))return[0,x,16];if(!N(j0,dv))return[0,x,52];if(!N(j0,R2))return[0,x,50];if(!N(j0,mo))return[0,x,17]}else{if(!N(j0,Rp))return[0,x,43];if(!N(j0,cl))return[0,x,48];if(!N(j0,r8))return[0,x,49];if(!N(j0,Ic))return[0,x,41];if(!N(j0,As))return[0,x,30];if(!N(j0,gp))return[0,x,38]}}else{var Dr=Ex(j0,nl);if(0<=Dr){if(0>=Dr)return[0,x,27];if(!N(j0,Ce))return[0,x,35];if(!N(j0,Re))return[0,x,59];if(!N(j0,Q3))return[0,x,60];if(!N(j0,cv))return[0,x,36];if(!N(j0,el))return[0,x,45]}else{if(!N(j0,ko))return[0,x,64];if(!N(j0,_v))return[0,x,65];if(!N(j0,Le))return[0,x,32];if(!N(j0,Jp))return[0,x,33];if(!N(j0,W8))return[0,x,34];if(!N(j0,Y3))return[0,x,40]}}}var ax=n1(r),br=$Y(x,ax),t2=br[2],k1=br[1];return[0,k1,[4,Qx,t2,Zl(ax)]];case 98:var Rr=x[4]?k2(x,Yr(x,r),95):x;return[0,Rr,Er];default:var U1=ot(x,Yr(x,r));return[0,U1,[7,Kx(r)]]}},XT0=function(x,r,e){var t=x;x:for(;;){pr(e);var u=m(e),i=92>>0)var f=w(e);else switch(i){case 0:var f=0;break;case 1:for(;;){r0(e,7);var o=m(e),a=-1>>0)var f=w(e);else switch(h){case 0:var f=2;break;case 1:var f=1;break;default:r0(e,1);var f=le(m(e))===0?1:w(e)}}if(7>>0)return Rx(Jt0);switch(f){case 0:return[0,k2(t,Yr(t,e),Er),Yt0];case 1:return[0,Y2(k2(t,Yr(t,e),Er),e),Bt0];case 2:vr(r,Kx(e));continue;case 3:var k=Kx(e);return[0,t,z2(k,1,Gx(k)-1|0)];case 4:return[0,t,Xt0];case 5:for(ct(r,91);;){pr(e);var A=m(e),g=93>>0)var I=w(e);else switch(g){case 0:var I=0;break;case 1:for(;;){r0(e,5);var C=m(e),R=-1>>0)var B=Rx(zt0);else switch(I){case 0:var B=t;break;case 1:vr(r,Kt0);continue;case 2:ct(r,92),ct(r,93);continue;case 3:ct(r,93);var B=t;break;case 4:var B=Y2(k2(t,Yr(t,e),Er),e);break;default:vr(r,Kx(e));continue}var t=B;continue x}case 6:return[0,Y2(k2(t,Yr(t,e),Er),e),Wt0];default:vr(r,Kx(e));continue}}},WT0=function(x,r){pr(r);var e=m(r),t=Av>>0)var u=w(r);else switch(t){case 0:var u=0;break;case 1:var u=6;break;case 2:if(r0(r,2),bc(m(r))===0){for(;;)if(r0(r,2),bc(m(r))!==0){var u=w(r);break}}else var u=w(r);break;case 3:var u=1;break;case 4:r0(r,1);var u=le(m(r))===0?1:w(r);break;default:r0(r,5);var i=Md(m(r)),u=i===0?4:i===1?3:w(r)}if(6>>0)return Rx(fc0);switch(u){case 0:return[0,x,Er];case 1:return[2,Y2(x,r)];case 2:return[2,x];case 3:var f=m2(x,r),o=Zr(Jr),a=Ga(x,o,r),y=a[1];return[1,y,Jt(y,f,a[2],o,0)];case 4:var h=m2(x,r),k=Zr(Jr),A=Jv(x,k,r),g=A[1];return[1,g,Jt(g,h,A[2],k,1)];case 5:var I=m2(x,r),C=Zr(Jr),R=XT0(x,C,r),L=R[1],U=R[2],B=pe(L,r),X=[0,L[1],I,B];return[0,L,[5,X,z1(C),U]];default:var J=ot(x,Yr(x,r));return[0,J,[7,Kx(r)]]}},qY=function(x){var r=Ex(x,"iexcl");if(0<=r){if(0>=r)return ic0;var e=Ex(x,"prime");if(0<=e){if(0>=e)return uc0;var t=Ex(x,"sup1");if(0<=t){if(0>=t)return nc0;var u=Ex(x,"uarr");if(0<=u){if(0>=u)return tc0;var i=Ex(x,"xi");if(0<=i){if(0>=i)return ec0;if(!N(x,"yacute"))return rc0;if(!N(x,"yen"))return xc0;if(!N(x,"yuml"))return bf0;if(!N(x,"zeta"))return Gf0;if(!N(x,"zwj"))return qf0;if(!N(x,"zwnj"))return Hf0}else{if(!N(x,"ucirc"))return Qf0;if(!N(x,"ugrave"))return Ff0;if(!N(x,"uml"))return $f0;if(!N(x,"upsih"))return Zf0;if(!N(x,"upsilon"))return Vf0;if(!N(x,"uuml"))return Wf0;if(!N(x,"weierp"))return Xf0}}else{var f=Ex(x,"thetasym");if(0<=f){if(0>=f)return Bf0;if(!N(x,"thinsp"))return Yf0;if(!N(x,"thorn"))return Jf0;if(!N(x,"tilde"))return Kf0;if(!N(x,"times"))return zf0;if(!N(x,"trade"))return jf0;if(!N(x,"uArr"))return Df0;if(!N(x,"uacute"))return Mf0}else{if(!N(x,"sup2"))return Uf0;if(!N(x,"sup3"))return Lf0;if(!N(x,"supe"))return Of0;if(!N(x,"szlig"))return Rf0;if(!N(x,"tau"))return Cf0;if(!N(x,"there4"))return Pf0;if(!N(x,"theta"))return If0}}}else{var o=Ex(x,"rlm");if(0<=o){if(0>=o)return Nf0;var a=Ex(x,"sigma");if(0<=a){if(0>=a)return gf0;if(!N(x,"sigmaf"))return Af0;if(!N(x,"sim"))return Ef0;if(!N(x,"spades"))return Sf0;if(!N(x,"sub"))return Tf0;if(!N(x,"sube"))return wf0;if(!N(x,"sum"))return _f0;if(!N(x,"sup"))return hf0}else{if(!N(x,"rsaquo"))return kf0;if(!N(x,"rsquo"))return mf0;if(!N(x,"sbquo"))return df0;if(!N(x,"scaron"))return yf0;if(!N(x,"sdot"))return pf0;if(!N(x,"sect"))return lf0;if(!N(x,"shy"))return af0}}else{var y=Ex(x,"raquo");if(0<=y){if(0>=y)return vf0;if(!N(x,"rarr"))return of0;if(!N(x,"rceil"))return sf0;if(!N(x,"rdquo"))return cf0;if(!N(x,"real"))return ff0;if(!N(x,"reg"))return if0;if(!N(x,"rfloor"))return uf0;if(!N(x,"rho"))return nf0}else{if(!N(x,"prod"))return tf0;if(!N(x,"prop"))return ef0;if(!N(x,"psi"))return rf0;if(!N(x,"quot"))return xf0;if(!N(x,"rArr"))return bi0;if(!N(x,"radic"))return Gi0;if(!N(x,"rang"))return qi0}}}}else{var h=Ex(x,"ndash");if(0<=h){if(0>=h)return Hi0;var k=Ex(x,"or");if(0<=k){if(0>=k)return Qi0;var A=Ex(x,"part");if(0<=A){if(0>=A)return Fi0;if(!N(x,"permil"))return $i0;if(!N(x,"perp"))return Zi0;if(!N(x,"phi"))return Vi0;if(!N(x,"pi"))return Wi0;if(!N(x,"piv"))return Xi0;if(!N(x,"plusmn"))return Bi0;if(!N(x,"pound"))return Yi0}else{if(!N(x,"ordf"))return Ji0;if(!N(x,"ordm"))return Ki0;if(!N(x,"oslash"))return zi0;if(!N(x,"otilde"))return ji0;if(!N(x,"otimes"))return Di0;if(!N(x,"ouml"))return Mi0;if(!N(x,"para"))return Ui0}}else{var g=Ex(x,"oacute");if(0<=g){if(0>=g)return Li0;if(!N(x,"ocirc"))return Oi0;if(!N(x,"oelig"))return Ri0;if(!N(x,"ograve"))return Ci0;if(!N(x,"oline"))return Pi0;if(!N(x,"omega"))return Ii0;if(!N(x,"omicron"))return Ni0;if(!N(x,"oplus"))return gi0}else{if(!N(x,"ne"))return Ai0;if(!N(x,"ni"))return Ei0;if(!N(x,"not"))return Si0;if(!N(x,"notin"))return Ti0;if(!N(x,"nsub"))return wi0;if(!N(x,"ntilde"))return _i0;if(!N(x,"nu"))return hi0}}}else{var I=Ex(x,"le");if(0<=I){if(0>=I)return ki0;var C=Ex(x,"macr");if(0<=C){if(0>=C)return mi0;if(!N(x,"mdash"))return di0;if(!N(x,"micro"))return yi0;if(!N(x,"middot"))return pi0;if(!N(x,NM))return li0;if(!N(x,"mu"))return ai0;if(!N(x,"nabla"))return vi0;if(!N(x,"nbsp"))return oi0}else{if(!N(x,"lfloor"))return si0;if(!N(x,"lowast"))return ci0;if(!N(x,"loz"))return fi0;if(!N(x,"lrm"))return ii0;if(!N(x,"lsaquo"))return ui0;if(!N(x,"lsquo"))return ni0;if(!N(x,"lt"))return ti0}}else{var R=Ex(x,"kappa");if(0<=R){if(0>=R)return ei0;if(!N(x,"lArr"))return ri0;if(!N(x,"lambda"))return xi0;if(!N(x,"lang"))return bu0;if(!N(x,"laquo"))return Gu0;if(!N(x,"larr"))return qu0;if(!N(x,"lceil"))return Hu0;if(!N(x,"ldquo"))return Qu0}else{if(!N(x,"igrave"))return Fu0;if(!N(x,"image"))return $u0;if(!N(x,"infin"))return Zu0;if(!N(x,"iota"))return Vu0;if(!N(x,"iquest"))return Wu0;if(!N(x,"isin"))return Xu0;if(!N(x,"iuml"))return Bu0}}}}}else{var L=Ex(x,"aelig");if(0<=L){if(0>=L)return Yu0;var U=Ex(x,"delta");if(0<=U){if(0>=U)return Ju0;var B=Ex(x,"fnof");if(0<=B){if(0>=B)return Ku0;var X=Ex(x,"gt");if(0<=X){if(0>=X)return zu0;if(!N(x,"hArr"))return ju0;if(!N(x,"harr"))return Du0;if(!N(x,"hearts"))return Mu0;if(!N(x,"hellip"))return Uu0;if(!N(x,"iacute"))return Lu0;if(!N(x,"icirc"))return Ou0}else{if(!N(x,"forall"))return Ru0;if(!N(x,"frac12"))return Cu0;if(!N(x,"frac14"))return Pu0;if(!N(x,"frac34"))return Iu0;if(!N(x,"frasl"))return Nu0;if(!N(x,"gamma"))return gu0;if(!N(x,"ge"))return Au0}}else{var J=Ex(x,"ensp");if(0<=J){if(0>=J)return Eu0;if(!N(x,"epsilon"))return Su0;if(!N(x,"equiv"))return Tu0;if(!N(x,"eta"))return wu0;if(!N(x,"eth"))return _u0;if(!N(x,"euml"))return hu0;if(!N(x,"euro"))return ku0;if(!N(x,"exist"))return mu0}else{if(!N(x,"diams"))return du0;if(!N(x,"divide"))return yu0;if(!N(x,"eacute"))return pu0;if(!N(x,"ecirc"))return lu0;if(!N(x,"egrave"))return au0;if(!N(x,ce))return vu0;if(!N(x,"emsp"))return ou0}}}else{var e0=Ex(x,"cap");if(0<=e0){if(0>=e0)return su0;var i0=Ex(x,"copy");if(0<=i0){if(0>=i0)return cu0;if(!N(x,"crarr"))return fu0;if(!N(x,"cup"))return iu0;if(!N(x,"curren"))return uu0;if(!N(x,"dArr"))return nu0;if(!N(x,"dagger"))return tu0;if(!N(x,"darr"))return eu0;if(!N(x,"deg"))return ru0}else{if(!N(x,"ccedil"))return xu0;if(!N(x,"cedil"))return b70;if(!N(x,"cent"))return G70;if(!N(x,"chi"))return q70;if(!N(x,"circ"))return H70;if(!N(x,"clubs"))return Q70;if(!N(x,"cong"))return F70}}else{var j=Ex(x,"aring");if(0<=j){if(0>=j)return $70;if(!N(x,"asymp"))return Z70;if(!N(x,"atilde"))return V70;if(!N(x,"auml"))return W70;if(!N(x,"bdquo"))return X70;if(!N(x,"beta"))return B70;if(!N(x,"brvbar"))return Y70;if(!N(x,"bull"))return J70}else{if(!N(x,"agrave"))return K70;if(!N(x,"alefsym"))return z70;if(!N(x,"alpha"))return j70;if(!N(x,"amp"))return D70;if(!N(x,"and"))return M70;if(!N(x,"ang"))return U70;if(!N(x,"apos"))return L70}}}}else{var Y=Ex(x,"Nu");if(0<=Y){if(0>=Y)return O70;var z=Ex(x,"Sigma");if(0<=z){if(0>=z)return R70;var F=Ex(x,"Uuml");if(0<=F){if(0>=F)return C70;if(!N(x,"Xi"))return P70;if(!N(x,"Yacute"))return I70;if(!N(x,"Yuml"))return N70;if(!N(x,"Zeta"))return g70;if(!N(x,"aacute"))return A70;if(!N(x,"acirc"))return E70;if(!N(x,"acute"))return S70}else{if(!N(x,"THORN"))return T70;if(!N(x,"Tau"))return w70;if(!N(x,"Theta"))return _70;if(!N(x,"Uacute"))return h70;if(!N(x,"Ucirc"))return k70;if(!N(x,"Ugrave"))return m70;if(!N(x,"Upsilon"))return d70}}else{var t0=Ex(x,"Otilde");if(0<=t0){if(0>=t0)return y70;if(!N(x,"Ouml"))return p70;if(!N(x,"Phi"))return l70;if(!N(x,"Pi"))return a70;if(!N(x,"Prime"))return v70;if(!N(x,"Psi"))return o70;if(!N(x,"Rho"))return s70;if(!N(x,"Scaron"))return c70}else{if(!N(x,"OElig"))return f70;if(!N(x,"Oacute"))return i70;if(!N(x,"Ocirc"))return u70;if(!N(x,"Ograve"))return n70;if(!N(x,"Omega"))return t70;if(!N(x,"Omicron"))return e70;if(!N(x,"Oslash"))return r70}}}else{var $=Ex(x,"Eacute");if(0<=$){if(0>=$)return x70;var f0=Ex(x,"Icirc");if(0<=f0){if(0>=f0)return bn0;if(!N(x,"Igrave"))return Gn0;if(!N(x,"Iota"))return qn0;if(!N(x,"Iuml"))return Hn0;if(!N(x,"Kappa"))return Qn0;if(!N(x,"Lambda"))return Fn0;if(!N(x,"Mu"))return $n0;if(!N(x,"Ntilde"))return Zn0}else{if(!N(x,"Ecirc"))return Vn0;if(!N(x,"Egrave"))return Wn0;if(!N(x,"Epsilon"))return Xn0;if(!N(x,"Eta"))return Bn0;if(!N(x,"Euml"))return Yn0;if(!N(x,"Gamma"))return Jn0;if(!N(x,"Iacute"))return Kn0}}else{var c0=Ex(x,"Atilde");if(0<=c0){if(0>=c0)return zn0;if(!N(x,"Auml"))return jn0;if(!N(x,"Beta"))return Dn0;if(!N(x,"Ccedil"))return Mn0;if(!N(x,"Chi"))return Un0;if(!N(x,"Dagger"))return Ln0;if(!N(x,"Delta"))return On0;if(!N(x,"ETH"))return Rn0}else{if(!N(x,"'int'"))return Cn0;if(!N(x,"AElig"))return Pn0;if(!N(x,"Aacute"))return In0;if(!N(x,"Acirc"))return Nn0;if(!N(x,"Agrave"))return gn0;if(!N(x,"Alpha"))return An0;if(!N(x,"Aring"))return En0}}}}}return 0},GY=function(x,r,e,t){for(var u=x;;){var i=function(t0){for(;;)if(r0(t0,8),QR(m(t0))!==0)return w(t0)};pr(t);var f=m(t),o=gi>>0)var a=w(t);else switch(o){case 0:var a=3;break;case 1:var a=i(t);break;case 2:var a=4;break;case 3:r0(t,4);var a=le(m(t))===0?4:w(t);break;case 4:r0(t,8);var y=YY(m(t));if(y===0){var h=kY(m(t));if(h===0)for(;;){var k=hY(m(t));if(k!==0){var a=k===1?6:w(t);break}}else if(h===1&&Ir(m(t))===0)for(;;){var A=zY(m(t));if(A!==0){var a=A===1?5:w(t);break}}else var a=w(t)}else if(y===1&&ar(m(t))===0){var g=Kt(m(t));if(g===0){var I=Kt(m(t));if(I===0){var C=Kt(m(t));if(C===0){var R=Kt(m(t));if(R===0){var L=Kt(m(t));if(L===0)var U=Kt(m(t)),a=U===0?UY(m(t))===0?7:w(t):U===1?7:w(t);else var a=L===1?7:w(t)}else var a=R===1?7:w(t)}else var a=C===1?7:w(t)}else var a=I===1?7:w(t)}else var a=g===1?7:w(t)}else var a=w(t);break;case 5:var a=0;break;case 6:r0(t,1);var a=QR(m(t))===0?i(t):w(t);break;default:r0(t,2);var a=QR(m(t))===0?i(t):w(t)}if(8>>0)return Rx(Vt0);switch(a){case 0:return $a(t),u;case 1:return GR(u,Yr(u,t),$t0,Zt0);case 2:return GR(u,Yr(u,t),Qt0,Ft0);case 3:return ot(u,Yr(u,t));case 4:var B=Kx(t);vr(e,B),vr(r,B);var u=Y2(u,t);continue;case 5:var X=Kx(t),J=z2(X,3,Gx(X)-4|0);vr(e,X),qc(r,it(Zx(Ht0,J)));continue;case 6:var e0=Kx(t),i0=z2(e0,2,Gx(e0)-3|0);vr(e,e0),qc(r,it(i0));continue;case 7:var j=Kx(t),Y=z2(j,1,Gx(j)-2|0);vr(e,j);var z=qY(Y);z?qc(r,z[1]):vr(r,Zx(Gt0,Zx(Y,qt0)));continue;default:var F=Kx(t);vr(e,F),vr(r,F);continue}}},VT0=function(x,r){pr(r);var e=YT0(m(r));if(14>>0)var t=w(r);else switch(e){case 0:var t=0;break;case 1:var t=14;break;case 2:if(r0(r,2),bc(m(r))===0){for(;;)if(r0(r,2),bc(m(r))!==0){var t=w(r);break}}else var t=w(r);break;case 3:var t=1;break;case 4:r0(r,1);var t=le(m(r))===0?1:w(r);break;case 5:var t=12;break;case 6:var t=13;break;case 7:var t=10;break;case 8:r0(r,6);var u=Md(m(r)),t=u===0?4:u===1?3:w(r);break;case 9:var t=9;break;case 10:var t=5;break;case 11:var t=11;break;case 12:var t=7;break;case 13:if(r0(r,14),Co(m(r))===0){var i=Kv(m(r));if(i===0)var t=Ir(m(r))===0&&Ir(m(r))===0&&Ir(m(r))===0?13:w(r);else if(i===1&&Ir(m(r))===0)for(;;){var f=zv(m(r));if(f!==0){var t=f===1?13:w(r);break}}else var t=w(r)}else var t=w(r);break;default:var t=8}if(14>>0)return Rx(Sn0);switch(t){case 0:return[0,x,Er];case 1:return[2,Y2(x,r)];case 2:return[2,x];case 3:var o=m2(x,r),a=Zr(Jr),y=Ga(x,a,r),h=y[1];return[1,h,Jt(h,o,y[2],a,0)];case 4:var k=m2(x,r),A=Zr(Jr),g=Jv(x,A,r),I=g[1];return[1,I,Jt(I,k,g[2],A,1)];case 5:return[0,x,98];case 6:return[0,x,Ue];case 7:return[0,x,99];case 8:return[0,x,0];case 9:return[0,x,86];case 10:return[0,x,10];case 11:return[0,x,82];case 12:var C=Kx(r),R=m2(x,r),L=Zr(Jr),U=Zr(Jr);vr(U,C);for(var B=Nr(C,"'"),X=x;;){pr(r);var J=m(r),e0=39>>0)var i0=w(r);else switch(e0){case 0:var i0=2;break;case 1:for(;;){r0(r,7);var j=m(r),Y=-1>>0)var k0=Rx(bt0);else switch(i0){case 0:if(!B){ct(U,39),ct(L,39);continue}var k0=X;break;case 1:if(B){ct(U,34),ct(L,34);continue}var k0=X;break;case 2:var k0=ot(X,Yr(X,r));break;case 3:var M0=Kx(r);vr(U,M0),vr(L,M0);var X=Y2(X,r);continue;case 4:var D0=Kx(r),cx=z2(D0,3,Gx(D0)-4|0);vr(U,D0),qc(L,it(Zx(xn0,cx)));continue;case 5:var g0=Kx(r),Z0=z2(g0,2,Gx(g0)-3|0);vr(U,g0),qc(L,it(Z0));continue;case 6:var n0=Kx(r),nx=z2(n0,1,Gx(n0)-2|0);vr(U,n0);var xx=qY(nx);xx?qc(L,xx[1]):vr(L,Zx(en0,Zx(nx,rn0)));continue;default:var yx=Kx(r);vr(U,yx),vr(L,yx);continue}var px=pe(k0,r);vr(U,C);var Tx=z1(L),O0=z1(U);return[0,k0,[10,[0,k0[1],R,px],Tx,O0]]}case 13:for(var P0=r[6];;){pr(r);var N0=m(r),J0=qr>>0)var I0=w(r);else switch(J0){case 0:var I0=1;break;case 1:var I0=2;break;case 2:var I0=0;break;default:if(r0(r,2),Co(m(r))===0){var Q=Kv(m(r));if(Q===0)var I0=Ir(m(r))===0&&Ir(m(r))===0&&Ir(m(r))===0?0:w(r);else if(Q===1&&Ir(m(r))===0)for(;;){var G=zv(m(r));if(G!==0){var I0=G===1?0:w(r);break}}else var I0=w(r)}else var I0=w(r)}if(2>>0)throw q0([0,Tr,It0],1);switch(I0){case 0:continue;case 1:break;default:if(BR($J(r)))continue;QJ(r,1)}var V=r[3];MR(r,P0);var p0=n1(r),d0=ql(x,P0,V);return[0,x,[8,Zl(p0),d0]]}default:return[0,x,[7,Kx(r)]]}},ZT0=function(x,r){pr(r);var e=m(r),t=-1>>0)var u=w(r);else switch(t){case 0:var u=5;break;case 1:if(r0(r,1),bc(m(r))===0){for(;;)if(r0(r,1),bc(m(r))!==0){var u=w(r);break}}else var u=w(r);break;case 2:var u=0;break;case 3:r0(r,0);var u=le(m(r))===0?0:w(r);break;case 4:r0(r,5);var i=Md(m(r)),u=i===0?3:i===1?2:w(r);break;default:var u=4}if(5>>0)return Rx(hn0);switch(u){case 0:return[2,Y2(x,r)];case 1:return[2,x];case 2:var f=m2(x,r),o=Zr(Jr),a=Ga(x,o,r),y=a[1];return[1,y,Jt(y,f,a[2],o,0)];case 3:var h=m2(x,r),k=Zr(Jr),A=Jv(x,k,r),g=A[1];return[1,g,Jt(g,h,A[2],k,1)];case 4:var I=m2(x,r),C=Zr(Jr),R=Zr(Jr),L=HY(x,C,R,r),U=L[1],B=L[2],X=pe(U,r),J=[0,U[1],I,X],e0=z1(R);return[0,U,[3,[0,J,z1(C),e0,0,B]]];default:var i0=ot(x,Yr(x,r));return[0,i0,[3,[0,Yr(i0,r),wn0,_n0,0,1]]]}},$T0=function(x,r){function e(T){for(;;)if(r0(T,29),ar(m(T))!==0)return w(T)}function t(T){r0(T,28);var K=L1(m(T));if(K!==0)return K===1?e(T):w(T);for(;;)if(r0(T,26),ar(m(T))!==0)return w(T)}function u(T){r0(T,27);var K=L1(m(T));if(K!==0)return K===1?e(T):w(T);for(;;)if(r0(T,25),ar(m(T))!==0)return w(T)}function i(T){r0(T,30);var K=Qa(m(T));if(2>>0)return w(T);switch(K){case 0:return e(T);case 1:for(;;){r0(T,30);var H0=rs(m(T));if(3>>0)return w(T);switch(H0){case 0:return e(T);case 1:continue;case 2:x:for(;;){if(yr(m(T))!==0)return w(T);for(;;){r0(T,30);var sx=rs(m(T));if(3>>0)return w(T);switch(sx){case 0:return e(T);case 1:continue;case 2:continue x;default:return u(T)}}}default:return u(T)}}default:return u(T)}}function f(T){x:for(;;){if(yr(m(T))!==0)return w(T);for(;;){r0(T,30);var K=LY(m(T));if(4>>0)return w(T);switch(K){case 0:return e(T);case 1:return i(T);case 2:continue;case 3:continue x;default:return t(T)}}}}function o(T){for(;;)if(r0(T,19),ar(m(T))!==0)return w(T)}function a(T){for(;;)if(r0(T,19),ar(m(T))!==0)return w(T)}function y(T){for(;;)if(r0(T,13),ar(m(T))!==0)return w(T)}function h(T){for(;;)if(r0(T,13),ar(m(T))!==0)return w(T)}function k(T){for(;;)if(r0(T,9),ar(m(T))!==0)return w(T)}function A(T){for(;;)if(r0(T,9),ar(m(T))!==0)return w(T)}function g(T){for(;;)if(r0(T,15),ar(m(T))!==0)return w(T)}function I(T){r0(T,15);var K=L1(m(T));if(K!==0)return K===1?g(T):w(T);for(;;)if(r0(T,15),ar(m(T))!==0)return w(T)}function C(T){for(;;)if(r0(T,23),ar(m(T))!==0)return w(T)}function R(T){r0(T,22);var K=L1(m(T));if(K!==0)return K===1?C(T):w(T);for(;;)if(r0(T,21),ar(m(T))!==0)return w(T)}function L(T){for(;;)if(r0(T,23),ar(m(T))!==0)return w(T)}function U(T){r0(T,22);var K=L1(m(T));if(K!==0)return K===1?L(T):w(T);for(;;)if(r0(T,21),ar(m(T))!==0)return w(T)}function B(T){x:for(;;){if(yr(m(T))!==0)return w(T);for(;;){r0(T,24);var K=rs(m(T));if(3>>0)return w(T);switch(K){case 0:return L(T);case 1:continue;case 2:continue x;default:return U(T)}}}}function X(T){r0(T,29);var K=MY(m(T));if(3>>0)return w(T);switch(K){case 0:return e(T);case 1:var H0=go(m(T));if(H0===0)for(;;){r0(T,24);var sx=Qa(m(T));if(2>>0)return w(T);switch(sx){case 0:return L(T);case 1:continue;default:return U(T)}}if(H0!==1)return w(T);for(;;){r0(T,24);var ux=rs(m(T));if(3>>0)return w(T);switch(ux){case 0:return L(T);case 1:continue;case 2:return B(T);default:return U(T)}}case 2:for(;;){r0(T,24);var z0=Qa(m(T));if(2>>0)return w(T);switch(z0){case 0:return C(T);case 1:continue;default:return R(T)}}default:for(;;){r0(T,24);var Px=rs(m(T));if(3>>0)return w(T);switch(Px){case 0:return C(T);case 1:continue;case 2:return B(T);default:return R(T)}}}}function J(T){r0(T,30);var K=EY(m(T));if(3>>0)return w(T);switch(K){case 0:return e(T);case 1:for(;;){r0(T,30);var H0=No(m(T));if(4>>0)return w(T);switch(H0){case 0:return e(T);case 1:continue;case 2:return X(T);case 3:x:for(;;){if(yr(m(T))!==0)return w(T);for(;;){r0(T,30);var sx=No(m(T));if(4>>0)return w(T);switch(sx){case 0:return e(T);case 1:continue;case 2:return X(T);case 3:continue x;default:return u(T)}}}default:return u(T)}}case 2:return X(T);default:return u(T)}}function e0(T){return Rd(m(T))===0&&Nd(m(T))===0&&jY(m(T))===0&&gY(m(T))===0&&NY(m(T))===0&&qR(m(T))===0&&Ql(m(T))===0&&Rd(m(T))===0&&Co(m(T))===0&&IY(m(T))===0&&Hl(m(T))===0?3:w(T)}function i0(T){return r0(T,3),JY(m(T))===0?3:w(T)}function j(T){var K=JT0(m(T));if(30>>0)return w(T);switch(K){case 0:return 64;case 1:return 65;case 2:if(r0(T,1),bc(m(T))!==0)return w(T);for(;;)if(r0(T,1),bc(m(T))!==0)return w(T);case 3:return 0;case 4:return r0(T,0),le(m(T))===0?0:w(T);case 5:return 6;case 6:return 63;case 7:if(r0(T,65),Ql(m(T))!==0)return w(T);var H0=m(T),sx=tt>>0)return w(T);switch(Qx){case 0:return e(T);case 1:continue;case 2:return X(T);case 3:x:for(;;){if(yr(m(T))!==0)return w(T);for(;;){r0(T,30);var j0=No(m(T));if(4>>0)return w(T);switch(j0){case 0:return e(T);case 1:continue;case 2:return X(T);case 3:continue x;default:return u(T)}}}default:return u(T)}}case 16:r0(T,65);var rr=Md(m(T));if(rr!==0)return rr===1?5:w(T);r0(T,2);var zx=wd(m(T));if(2>>0)return w(T);switch(zx){case 0:for(;;){var X0=wd(m(T));if(2>>0)return w(T);switch(X0){case 0:continue;case 1:return i0(T);default:return e0(T)}}case 1:return i0(T);default:return e0(T)}case 17:r0(T,30);var ir=CY(m(T));if(8>>0)return w(T);switch(ir){case 0:return e(T);case 1:return J(T);case 2:for(;;){r0(T,16);var K0=DY(m(T));if(4>>0)return w(T);switch(K0){case 0:return g(T);case 1:return i(T);case 2:continue;case 3:for(;;){r0(T,15);var Sr=_d(m(T));if(3>>0)return w(T);switch(Sr){case 0:return g(T);case 1:return i(T);case 2:continue;default:return I(T)}}default:return I(T)}}case 3:for(;;){r0(T,30);var Dr=_d(m(T));if(3>>0)return w(T);switch(Dr){case 0:return e(T);case 1:return i(T);case 2:continue;default:return t(T)}}case 4:r0(T,29);var ax=PY(m(T));if(ax===0)return e(T);if(ax!==1)return w(T);for(;;){r0(T,10);var br=Dd(m(T));if(3
>>0)return w(T);switch(br){case 0:return A(T);case 1:continue;case 2:x:for(;;){if(xs(m(T))!==0)return w(T);for(;;){r0(T,10);var t2=Dd(m(T));if(3>>0)return w(T);switch(t2){case 0:return k(T);case 1:continue;case 2:continue x;default:r0(T,8);var k1=L1(m(T));if(k1!==0)return k1===1?k(T):w(T);for(;;)if(r0(T,7),ar(m(T))!==0)return w(T)}}}default:r0(T,8);var Rr=L1(m(T));if(Rr!==0)return Rr===1?A(T):w(T);for(;;)if(r0(T,7),ar(m(T))!==0)return w(T)}}case 5:return X(T);case 6:r0(T,29);var U1=RY(m(T));if(U1===0)return e(T);if(U1!==1)return w(T);for(;;){r0(T,14);var _=Ud(m(T));if(3<_>>>0)return w(T);switch(_){case 0:return h(T);case 1:continue;case 2:x:for(;;){if(J2(m(T))!==0)return w(T);for(;;){r0(T,14);var b=Ud(m(T));if(3>>0)return w(T);switch(b){case 0:return y(T);case 1:continue;case 2:continue x;default:r0(T,12);var x0=L1(m(T));if(x0!==0)return x0===1?y(T):w(T);for(;;)if(r0(T,11),ar(m(T))!==0)return w(T)}}}default:r0(T,12);var S0=L1(m(T));if(S0!==0)return S0===1?h(T):w(T);for(;;)if(r0(T,11),ar(m(T))!==0)return w(T)}}case 7:r0(T,29);var H=_Y(m(T));if(H===0)return e(T);if(H!==1)return w(T);for(;;){r0(T,20);var h0=jd(m(T));if(3>>0)return w(T);switch(h0){case 0:return a(T);case 1:continue;case 2:x:for(;;){if(Ir(m(T))!==0)return w(T);for(;;){r0(T,20);var Y0=jd(m(T));if(3>>0)return w(T);switch(Y0){case 0:return o(T);case 1:continue;case 2:continue x;default:r0(T,18);var U0=L1(m(T));if(U0!==0)return U0===1?o(T):w(T);for(;;)if(r0(T,17),ar(m(T))!==0)return w(T)}}}default:r0(T,18);var tx=L1(m(T));if(tx!==0)return tx===1?a(T):w(T);for(;;)if(r0(T,17),ar(m(T))!==0)return w(T)}}default:return t(T)}case 18:r0(T,30);var Wx=Sd(m(T));if(5>>0)return w(T);switch(Wx){case 0:return e(T);case 1:return J(T);case 2:for(;;){r0(T,30);var Lx=Sd(m(T));if(5>>0)return w(T);switch(Lx){case 0:return e(T);case 1:return J(T);case 2:continue;case 3:return X(T);case 4:return f(T);default:return t(T)}}case 3:return X(T);case 4:return f(T);default:return t(T)}case 19:return 44;case 20:return 42;case 21:return 49;case 22:r0(T,51);var ur=m(T),Vx=61>>0)return Rx(yn0);var z=Y;if(33>z)switch(z){case 0:return[2,Y2(x,r)];case 1:return[2,x];case 2:var F=m2(x,r),t0=Zr(Jr),$=Jv(x,t0,r),f0=$[1];return[1,f0,Jt(f0,F,$[2],t0,1)];case 3:var c0=Kx(r);if(!x[5]){var v0=m2(x,r),s0=Zr(Jr);vr(s0,c0);var o0=Jv(x,s0,r),E0=o0[1];return[1,E0,Jt(E0,v0,o0[2],s0,1)]}var k0=x[4]?WY(x,Yr(x,r),c0):x,M0=ld(1,k0),D0=sd(r);return Nr(Vl(r,D0-1|0,1),Nv)&&N(Vl(r,D0-2|0,1),Nv)?[0,M0,86]:[2,M0];case 4:if(x[4])return[2,ld(0,x)];$a(r),pr(r);var cx=SY(m(r))===0?0:w(r);return cx===0?[0,x,_1]:Rx(dn0);case 5:var g0=m2(x,r),Z0=Zr(Jr),n0=Ga(x,Z0,r),nx=n0[1];return[1,nx,Jt(nx,g0,n0[2],Z0,0)];case 6:var xx=Kx(r),yx=m2(x,r),px=Zr(Jr),Tx=Zr(Jr);vr(Tx,xx);var O0=QY(x,xx,px,Tx,0,r),P0=O0[1],N0=O0[3],J0=[0,P0[1],yx,O0[2]],I0=z1(Tx);return[0,P0,[2,[0,J0,z1(px),I0,N0]]];case 7:return N1(x,r,function(T,K){if(pr(K),ae(m(K))===0&&Ad(m(K))===0&&xs(m(K))===0)for(;;){var H0=kd(m(K));if(2>>0)var z0=w(K);else switch(H0){case 0:continue;case 1:x:for(;;){if(xs(m(K))===0)for(;;){var sx=kd(m(K));if(2>>0)var ux=w(K);else switch(sx){case 0:continue;case 1:continue x;default:var ux=0}break}else var ux=w(K);var z0=ux;break}break;default:var z0=0}break}else var z0=w(K);return z0===0?[0,T,Bt(0,n1(K))]:Rx(pn0)});case 8:return[0,x,Bt(0,n1(r))];case 9:return N1(x,r,function(T,K){if(pr(K),ae(m(K))===0&&Ad(m(K))===0&&xs(m(K))===0)for(;;){r0(K,0);var H0=md(m(K));if(H0!==0){if(H0===1)x:for(;;){if(xs(m(K))===0)for(;;){r0(K,0);var sx=md(m(K));if(sx!==0){if(sx===1)continue x;var ux=w(K);break}}else var ux=w(K);var z0=ux;break}else var z0=w(K);break}}else var z0=w(K);return z0===0?[0,T,Yt(0,n1(K))]:Rx(ln0)});case 10:return[0,x,Yt(0,n1(r))];case 11:return N1(x,r,function(T,K){if(pr(K),ae(m(K))===0&&Pd(m(K))===0&&J2(m(K))===0)for(;;){var H0=Ed(m(K));if(2>>0)var z0=w(K);else switch(H0){case 0:continue;case 1:x:for(;;){if(J2(m(K))===0)for(;;){var sx=Ed(m(K));if(2>>0)var ux=w(K);else switch(sx){case 0:continue;case 1:continue x;default:var ux=0}break}else var ux=w(K);var z0=ux;break}break;default:var z0=0}break}else var z0=w(K);return z0===0?[0,T,Bt(1,n1(K))]:Rx(an0)});case 12:return[0,x,Bt(1,n1(r))];case 13:return N1(x,r,function(T,K){if(pr(K),ae(m(K))===0&&Pd(m(K))===0&&J2(m(K))===0)for(;;){r0(K,0);var H0=Td(m(K));if(H0!==0){if(H0===1)x:for(;;){if(J2(m(K))===0)for(;;){r0(K,0);var sx=Td(m(K));if(sx!==0){if(sx===1)continue x;var ux=w(K);break}}else var ux=w(K);var z0=ux;break}else var z0=w(K);break}}else var z0=w(K);return z0===0?[0,T,Yt(3,n1(K))]:Rx(vn0)});case 14:return[0,x,Yt(3,n1(r))];case 15:return N1(x,r,function(T,K){if(pr(K),ae(m(K))===0&&J2(m(K))===0){for(;;)if(r0(K,0),J2(m(K))!==0){var H0=w(K);break}}else var H0=w(K);return H0===0?[0,T,Yt(1,n1(K))]:Rx(on0)});case 16:return[0,x,Yt(1,n1(r))];case 17:return N1(x,r,function(T,K){if(pr(K),ae(m(K))===0&&yd(m(K))===0&&Ir(m(K))===0)for(;;){var H0=hd(m(K));if(2>>0)var z0=w(K);else switch(H0){case 0:continue;case 1:x:for(;;){if(Ir(m(K))===0)for(;;){var sx=hd(m(K));if(2>>0)var ux=w(K);else switch(sx){case 0:continue;case 1:continue x;default:var ux=0}break}else var ux=w(K);var z0=ux;break}break;default:var z0=0}break}else var z0=w(K);return z0===0?[0,T,Bt(2,n1(K))]:Rx(sn0)});case 18:return[0,x,Bt(2,n1(r))];case 19:return N1(x,r,function(T,K){if(pr(K),ae(m(K))===0&&yd(m(K))===0&&Ir(m(K))===0)for(;;){r0(K,0);var H0=Od(m(K));if(H0!==0){if(H0===1)x:for(;;){if(Ir(m(K))===0)for(;;){r0(K,0);var sx=Od(m(K));if(sx!==0){if(sx===1)continue x;var ux=w(K);break}}else var ux=w(K);var z0=ux;break}else var z0=w(K);break}}else var z0=w(K);return z0===0?[0,T,Yt(4,n1(K))]:Rx(cn0)});case 20:return[0,x,Yt(4,n1(r))];case 21:return N1(x,r,function(T,K){function H0(K0){for(;;){var Sr=zt(m(K0));if(2>>0)return w(K0);switch(Sr){case 0:continue;case 1:x:for(;;){if(yr(m(K0))!==0)return w(K0);for(;;){var Dr=zt(m(K0));if(2>>0)return w(K0);switch(Dr){case 0:continue;case 1:continue x;default:return 0}}}default:return 0}}}function sx(K0){for(;;){var Sr=Ha(m(K0));if(Sr!==0)return Sr===1?0:w(K0)}}function ux(K0){var Sr=zd(m(K0));if(2>>0)return w(K0);switch(Sr){case 0:var Dr=go(m(K0));return Dr===0?sx(K0):Dr===1?H0(K0):w(K0);case 1:return sx(K0);default:return H0(K0)}}function z0(K0){var Sr=Cd(m(K0));if(Sr!==0)return Sr===1?ux(K0):w(K0);for(;;){var Dr=G2(m(K0));if(2>>0)return w(K0);switch(Dr){case 0:continue;case 1:return ux(K0);default:x:for(;;){if(yr(m(K0))!==0)return w(K0);for(;;){var ax=G2(m(K0));if(2>>0)return w(K0);switch(ax){case 0:continue;case 1:return ux(K0);default:continue x}}}}}}pr(K);var Px=Ao(m(K));if(2>>0)var kx=w(K);else switch(Px){case 0:if(yr(m(K))===0)for(;;){var $x=G2(m(K));if(2<$x>>>0)var kx=w(K);else switch($x){case 0:continue;case 1:var kx=ux(K);break;default:x:for(;;){if(yr(m(K))===0)for(;;){var Qx=G2(m(K));if(2>>0)var j0=w(K);else switch(Qx){case 0:continue;case 1:var j0=ux(K);break;default:continue x}break}else var j0=w(K);var kx=j0;break}}break}else var kx=w(K);break;case 1:var rr=dd(m(K)),kx=rr===0?z0(K):rr===1?ux(K):w(K);break;default:for(;;){var zx=Id(m(K));if(2>>0)var kx=w(K);else switch(zx){case 0:var kx=z0(K);break;case 1:continue;default:var kx=ux(K)}break}}if(kx!==0)return Rx(fn0);var X0=n1(K),ir=k2(T,Yr(T,K),47);return[0,ir,Bt(2,X0)]});case 22:var Q=n1(r),G=k2(x,Yr(x,r),47);return[0,G,Bt(2,Q)];case 23:return N1(x,r,function(T,K){function H0(X0){for(;;){r0(X0,0);var ir=Io(m(X0));if(ir!==0){if(ir!==1)return w(X0);x:for(;;){if(yr(m(X0))!==0)return w(X0);for(;;){r0(X0,0);var K0=Io(m(X0));if(K0!==0){if(K0===1)continue x;return w(X0)}}}}}}function sx(X0){for(;;)if(r0(X0,0),yr(m(X0))!==0)return w(X0)}function ux(X0){var ir=zd(m(X0));if(2>>0)return w(X0);switch(ir){case 0:var K0=go(m(X0));return K0===0?sx(X0):K0===1?H0(X0):w(X0);case 1:return sx(X0);default:return H0(X0)}}function z0(X0){var ir=Cd(m(X0));if(ir!==0)return ir===1?ux(X0):w(X0);for(;;){var K0=G2(m(X0));if(2>>0)return w(X0);switch(K0){case 0:continue;case 1:return ux(X0);default:x:for(;;){if(yr(m(X0))!==0)return w(X0);for(;;){var Sr=G2(m(X0));if(2>>0)return w(X0);switch(Sr){case 0:continue;case 1:return ux(X0);default:continue x}}}}}}pr(K);var Px=Ao(m(K));if(2>>0)var kx=w(K);else switch(Px){case 0:if(yr(m(K))===0)for(;;){var $x=G2(m(K));if(2<$x>>>0)var kx=w(K);else switch($x){case 0:continue;case 1:var kx=ux(K);break;default:x:for(;;){if(yr(m(K))===0)for(;;){var Qx=G2(m(K));if(2>>0)var j0=w(K);else switch(Qx){case 0:continue;case 1:var j0=ux(K);break;default:continue x}break}else var j0=w(K);var kx=j0;break}}break}else var kx=w(K);break;case 1:var rr=dd(m(K)),kx=rr===0?z0(K):rr===1?ux(K):w(K);break;default:for(;;){var zx=Id(m(K));if(2>>0)var kx=w(K);else switch(zx){case 0:var kx=z0(K);break;case 1:continue;default:var kx=ux(K)}break}}return kx===0?[0,T,Yt(4,n1(K))]:Rx(in0)});case 24:return[0,x,Yt(4,n1(r))];case 25:return N1(x,r,function(T,K){function H0(zx){for(;;){var X0=zt(m(zx));if(2>>0)return w(zx);switch(X0){case 0:continue;case 1:x:for(;;){if(yr(m(zx))!==0)return w(zx);for(;;){var ir=zt(m(zx));if(2>>0)return w(zx);switch(ir){case 0:continue;case 1:continue x;default:return 0}}}default:return 0}}}function sx(zx){var X0=Ha(m(zx));return X0===0?H0(zx):X0===1?0:w(zx)}pr(K);var ux=Ao(m(K));if(2>>0)var z0=w(K);else switch(ux){case 0:var z0=yr(m(K))===0?H0(K):w(K);break;case 1:for(;;){var Px=qa(m(K));if(Px===0)var z0=sx(K);else{if(Px===1)continue;var z0=w(K)}break}break;default:for(;;){var kx=Po(m(K));if(2>>0)var z0=w(K);else switch(kx){case 0:var z0=sx(K);break;case 1:continue;default:x:for(;;){if(yr(m(K))===0)for(;;){var $x=Po(m(K));if(2<$x>>>0)var Qx=w(K);else switch($x){case 0:var Qx=sx(K);break;case 1:continue;default:continue x}break}else var Qx=w(K);var z0=Qx;break}}break}}if(z0!==0)return Rx(un0);var j0=n1(K),rr=k2(T,Yr(T,K),38);return[0,rr,Bt(2,j0)]});case 26:return N1(x,r,function(T,K){pr(K);var H0=go(m(K));if(H0===0)for(;;){var sx=Ha(m(K));if(sx!==0){var kx=sx===1?0:w(K);break}}else if(H0===1)for(;;){var ux=zt(m(K));if(2>>0)var kx=w(K);else switch(ux){case 0:continue;case 1:x:for(;;){if(yr(m(K))===0)for(;;){var z0=zt(m(K));if(2>>0)var Px=w(K);else switch(z0){case 0:continue;case 1:continue x;default:var Px=0}break}else var Px=w(K);var kx=Px;break}break;default:var kx=0}break}else var kx=w(K);return kx===0?[0,T,Bt(2,n1(K))]:Rx(nn0)});case 27:var V=n1(r),p0=k2(x,Yr(x,r),38);return[0,p0,Bt(2,V)];case 28:return[0,x,Bt(2,n1(r))];case 29:return N1(x,r,function(T,K){function H0(j0){for(;;){r0(j0,0);var rr=Io(m(j0));if(rr!==0){if(rr!==1)return w(j0);x:for(;;){if(yr(m(j0))!==0)return w(j0);for(;;){r0(j0,0);var zx=Io(m(j0));if(zx!==0){if(zx===1)continue x;return w(j0)}}}}}}function sx(j0){return r0(j0,0),yr(m(j0))===0?H0(j0):w(j0)}pr(K);var ux=Ao(m(K));if(2>>0)var z0=w(K);else switch(ux){case 0:var z0=yr(m(K))===0?H0(K):w(K);break;case 1:for(;;){r0(K,0);var Px=qa(m(K));if(Px===0)var z0=sx(K);else{if(Px===1)continue;var z0=w(K)}break}break;default:for(;;){r0(K,0);var kx=Po(m(K));if(2>>0)var z0=w(K);else switch(kx){case 0:var z0=sx(K);break;case 1:continue;default:x:for(;;){if(yr(m(K))===0)for(;;){r0(K,0);var $x=Po(m(K));if(2<$x>>>0)var Qx=w(K);else switch($x){case 0:var Qx=sx(K);break;case 1:continue;default:continue x}break}else var Qx=w(K);var z0=Qx;break}}break}}return z0===0?[0,T,Yt(4,n1(K))]:Rx(tn0)});case 30:return[0,x,Yt(4,n1(r))];case 31:return[0,x,66];default:return[0,x,6]}switch(z){case 33:return[0,x,7];case 34:return[0,x,0];case 35:return[0,x,1];case 36:return[0,x,2];case 37:return[0,x,3];case 38:return[0,x,4];case 39:return[0,x,5];case 40:return[0,x,12];case 41:return[0,x,10];case 42:return[0,x,8];case 43:return[0,x,9];case 44:return[0,x,86];case 45:return[0,x,83];case 46:return[0,x,85];case 47:return[0,x,6];case 48:return[0,x,7];case 49:return[0,x,98];case 50:return[0,x,99];case 51:return[0,x,82];case 52:return[0,x,85];case 53:return[0,x,_1];case 54:return[0,x,86];case 55:return[0,x,88];case 56:return[0,x,87];case 57:return[0,x,89];case 58:return[0,x,91];case 59:return[0,x,11];case 60:return[0,x,82];case 61:return[0,x,tt];case 62:return[0,x,ln];case 63:var d0=r[6];BY(r);var A0=ql(x,d0,r[3]);MR(r,d0);var M=n1(r),L0=$Y(x,M),V0=L0[2],B0=L0[1],vx=Ex(V0,op);if(0<=vx){if(0>=vx)return[0,B0,Ps];var b0=Ex(V0,_x);if(0<=b0){if(0>=b0)return[0,B0,G3];if(!N(V0,Ts))return[0,B0,31];if(!N(V0,ws))return[0,B0,46];if(!N(V0,G5))return[0,B0,Ra];if(!N(V0,g5))return[0,B0,qr];if(!N(V0,gs))return[0,B0,Ef]}else{if(!N(V0,I8))return[0,B0,Rt];if(!N(V0,lv))return[0,B0,29];if(!N(V0,ka))return[0,B0,aa];if(!N(V0,Ta))return[0,B0,U4];if(!N(V0,De))return[0,B0,42];if(!N(V0,La))return[0,B0,xl]}}else{var hx=Ex(V0,Ic);if(0<=hx){if(0>=hx)return[0,B0,41];if(!N(V0,As))return[0,B0,30];if(!N(V0,ID))return[0,B0,Jr];if(!N(V0,F2))return[0,B0,53];if(!N(V0,al))return[0,B0,m1];if(!N(V0,N8))return[0,B0,gi]}else{if(!N(V0,n5))return[0,B0,Vi];if(!N(V0,da))return[0,B0,yl];if(!N(V0,pv))return[0,B0,pa];if(!N(V0,S5))return[0,B0,kn0];if(!N(V0,F3))return[0,B0,mn0];if(!N(V0,ce))return[0,B0,Ns]}}return[0,B0,[4,A0,V0,Zl(M)]];case 64:var W0=x[4]?k2(x,Yr(x,r),95):x;return[0,W0,Er];default:return[0,x,[7,Kx(r)]]}},Gl=function(x){return function(r){for(var e=0,t=r;;){var u=p(x,t,t[2]);switch(u[0]){case 0:var i=u[2],f=u[1],o=XY(f,i),a=e===0?0:gx(e),y=f[6];if(y===0)return[0,[0,f[1],f[2],f[3],f[4],f[5],f[6],o],[0,i,o,0,a]];var h=[0,i,o,gx(y),a];return[0,[0,f[1],f[2],f[3],f[4],f[5],lY,o],h];case 1:var k=u[2],A=u[1],e=[0,k,e],t=[0,A[1],A[2],A[3],A[4],A[5],A[6],k[1]];continue;default:var t=u[1];continue}}}},FT0=Gl(WT0),QT0=Gl(VT0),HT0=Gl(ZT0),qT0=Gl($T0),GT0=Gl(BT0),h2=nY([0,fT0]),bl=function(x,r){return[0,0,0,r,pY(x)]},Jd=function(x){var r=x[4];switch(x[3]){case 0:var Y=l(GT0,r);break;case 1:var Y=l(qT0,r);break;case 2:var Y=l(QT0,r);break;case 3:var e=pe(r,r[2]),t=Zr(Jr),u=Zr(Jr),i=r[2];pr(i);var f=m(i),o=Rt>>0)var a=w(i);else switch(o){case 0:var a=1;break;case 1:var a=4;break;case 2:var a=0;break;case 3:r0(i,0);var a=le(m(i))===0?0:w(i);break;case 4:var a=2;break;default:var a=3}if(4
>>0)var y=Rx(Tn0);else switch(a){case 0:var h=Kx(i);vr(u,h),vr(t,h);var k=GY(Y2(r,i),t,u,i),A=pe(k,i),g=z1(t),I=z1(u),y=[0,k,[9,[0,k[1],e,A],g,I]];break;case 1:var y=[0,r,Er];break;case 2:var y=[0,r,98];break;case 3:var y=[0,r,0];break;default:$a(i);var C=GY(r,t,u,i),R=pe(C,i),L=z1(t),U=z1(u),y=[0,C,[9,[0,C[1],e,R],L,U]]}var B=y[2],X=y[1],J=XY(X,B),e0=X[6];if(e0===0)var j=[0,X,[0,B,J,0,0]];else var i0=[0,B,J,gx(e0),0],j=[0,[0,X[1],X[2],X[3],X[4],X[5],0,X[7]],i0];var Y=j;break;case 4:var Y=l(HT0,r);break;default:var Y=l(FT0,r)}var z=Y[1],F=Y[2],t0=[0,pY(z),F];return x[4]=z,x[1]?x[2]=[0,t0]:x[1]=[0,t0],t0},bY=function(x){var r=x[1];return r?r[1][2]:Jd(x)[2]},ba=function(x){return Ol(x[24][1])},T1=function(x){return x[28][4]},ex=function(x,r){var e=r[2];x[1][1]=[0,[0,r[1],e],x[1][1]];var t=x[23];return t?p(t[1],x,e):0},x6=function(x,r){return x[31][1]=r,0},Ro=function(x,r){if(x===0)return bY(r[26][1]);if(x!==1)throw q0([0,Tr,rs0],1);var e=r[26][1];e[1]||Jd(e);var t=e[2];return t?t[1][2]:Jd(e)[2]},Qs=function(x,r){return x===r[5]?r:[0,r[1],r[2],r[3],r[4],x,r[6],r[7],r[8],r[9],r[10],r[11],r[12],r[13],r[14],r[15],r[16],r[17],r[18],r[19],r[20],r[21],r[22],r[23],r[24],r[25],r[26],r[27],r[28],r[29],r[30],r[31]]},xB=function(x,r){return x===r[10]?r:[0,r[1],r[2],r[3],r[4],r[5],r[6],r[7],r[8],r[9],x,r[11],r[12],r[13],r[14],r[15],r[16],r[17],r[18],r[19],r[20],r[21],r[22],r[23],r[24],r[25],r[26],r[27],r[28],r[29],r[30],r[31]]},bR=function(x,r){return x===r[18]?r:[0,r[1],r[2],r[3],r[4],r[5],r[6],r[7],r[8],r[9],r[10],r[11],r[12],r[13],r[14],r[15],r[16],r[17],x,r[19],r[20],r[21],r[22],r[23],r[24],r[25],r[26],r[27],r[28],r[29],r[30],r[31]]},xO=function(x,r){return x===r[19]?r:[0,r[1],r[2],r[3],r[4],r[5],r[6],r[7],r[8],r[9],r[10],r[11],r[12],r[13],r[14],r[15],r[16],r[17],r[18],x,r[20],r[21],r[22],r[23],r[24],r[25],r[26],r[27],r[28],r[29],r[30],r[31]]},rB=function(x,r){return x===r[20]?r:[0,r[1],r[2],r[3],r[4],r[5],r[6],r[7],r[8],r[9],r[10],r[11],r[12],r[13],r[14],r[15],r[16],r[17],r[18],r[19],x,r[21],r[22],r[23],r[24],r[25],r[26],r[27],r[28],r[29],r[30],r[31]]},Yv=function(x,r){return x===r[22]?r:[0,r[1],r[2],r[3],r[4],r[5],r[6],r[7],r[8],r[9],r[10],r[11],r[12],r[13],r[14],r[15],r[16],r[17],r[18],r[19],r[20],r[21],x,r[23],r[24],r[25],r[26],r[27],r[28],r[29],r[30],r[31]]},rO=function(x,r){return x===r[14]?r:[0,r[1],r[2],r[3],r[4],r[5],r[6],r[7],r[8],r[9],r[10],r[11],r[12],r[13],x,r[15],r[16],r[17],r[18],r[19],r[20],r[21],r[22],r[23],r[24],r[25],r[26],r[27],r[28],r[29],r[30],r[31]]},r6=function(x,r){return x===r[8]?r:[0,r[1],r[2],r[3],r[4],r[5],r[6],r[7],x,r[9],r[10],r[11],r[12],r[13],r[14],r[15],r[16],r[17],r[18],r[19],r[20],r[21],r[22],r[23],r[24],r[25],r[26],r[27],r[28],r[29],r[30],r[31]]},e6=function(x,r){return x===r[12]?r:[0,r[1],r[2],r[3],r[4],r[5],r[6],r[7],r[8],r[9],r[10],r[11],x,r[13],r[14],r[15],r[16],r[17],r[18],r[19],r[20],r[21],r[22],r[23],r[24],r[25],r[26],r[27],r[28],r[29],r[30],r[31]]},Bv=function(x,r){return x===r[15]?r:[0,r[1],r[2],r[3],r[4],r[5],r[6],r[7],r[8],r[9],r[10],r[11],r[12],r[13],r[14],x,r[16],r[17],r[18],r[19],r[20],r[21],r[22],r[23],r[24],r[25],r[26],r[27],r[28],r[29],r[30],r[31]]},eO=function(x,r){return x===r[16]?r:[0,r[1],r[2],r[3],r[4],r[5],r[6],r[7],r[8],r[9],r[10],r[11],r[12],r[13],r[14],r[15],x,r[17],r[18],r[19],r[20],r[21],r[22],r[23],r[24],r[25],r[26],r[27],r[28],r[29],r[30],r[31]]},eB=function(x,r){return x===r[6]?r:[0,r[1],r[2],r[3],r[4],r[5],x,r[7],r[8],r[9],r[10],r[11],r[12],r[13],r[14],r[15],r[16],r[17],r[18],r[19],r[20],r[21],r[22],r[23],r[24],r[25],r[26],r[27],r[28],r[29],r[30],r[31]]},tB=function(x,r){return x===r[7]?r:[0,r[1],r[2],r[3],r[4],r[5],r[6],x,r[8],r[9],r[10],r[11],r[12],r[13],r[14],r[15],r[16],r[17],r[18],r[19],r[20],r[21],r[22],r[23],r[24],r[25],r[26],r[27],r[28],r[29],r[30],r[31]]},tO=function(x,r){return x===r[13]?r:[0,r[1],r[2],r[3],r[4],r[5],r[6],r[7],r[8],r[9],r[10],r[11],r[12],x,r[14],r[15],r[16],r[17],r[18],r[19],r[20],r[21],r[22],r[23],r[24],r[25],r[26],r[27],r[28],r[29],r[30],r[31]]},Yd=function(x,r){return[0,r[1],r[2],r[3],r[4],r[5],r[6],r[7],r[8],r[9],r[10],r[11],r[12],r[13],r[14],r[15],r[16],r[17],r[18],r[19],r[20],r[21],r[22],[0,x],r[24],r[25],r[26],r[27],r[28],r[29],r[30],r[31]]},nO=function(x){function r(e){return ex(x,e)}return function(e){return S2(r,e)}},x3=function(x){var r=x[4][1];return r?[0,r[1][2]]:0},nB=function(x){var r=x[4][1];return r?[0,r[1][1]]:0},uB=function(x){return[0,x[1],x[2],x[3],x[4],x[5],x[6],x[7],x[8],x[9],x[10],x[11],x[12],x[13],x[14],x[15],x[16],x[17],x[18],x[19],x[20],x[21],x[22],0,x[24],x[25],x[26],x[27],x[28],x[29],x[30],x[31]]},iB=function(x,r,e,t){return[0,x[1],x[2],h2[1],x[4],x[5],0,0,0,0,0,1,x[12],x[13],x[14],x[15],x[16],x[17],e,r,x[20],t,x[22],x[23],x[24],x[25],x[26],x[27],x[28],x[29],x[30],x[31]]},r3=function(x){return N(x,dv)&&N(x,F2)&&N(x,ya)&&N(x,Zp)&&N(x,kl)&&N(x,W3)&&N(x,j3)&&N(x,De)&&N(x,U2)?0:1},Xv=function(x){return N(x,_N)&&N(x,"eval")?0:1},Bd=function(x){var r=Ex(x,Hp),e=0;if(0<=r){if(0>>0){if(fe>=t+1>>>0)return 1}else if(t===6)return 0}return n6(x,r)},e3=function(x){return sB(0,x)},Oo=function(x,r){var e=hr(x,r),t=0;if(typeof e=="number")switch(e){case 28:case 42:case 52:case 53:case 54:case 55:case 56:case 57:case 58:var u=1;break;default:t=1}else if(e[0]===4)var u=r3(e[2]);else t=1;if(t)var u=0;if(u)return 1;var i=0;if(typeof e=="number")switch(e){case 14:case 48:case 60:case 61:case 62:case 63:case 64:case 65:case 126:i=1;break}else e[0]===4&&(i=1);return i?1:0},Xd=function(x,r){return fB(r,hr(x,r))},oB=function(x,r){var e=Oo(x,r);return e||Xd(x,r)},es=function(x){return Oo(0,x)},Lo=function(x){var r=W(x)===15?1:0;if(r)var e=r;else{var t=W(x)===64?1:0;if(t){var u=hr(1,x)===15?1:0;if(u)var i=t6(1,x)[2][1],e=Nx(x)[3][1]===i?1:0;else var e=u}else var e=t}return e},u6=function(x){var r=W(x);if(typeof r=="number")switch(r){case 13:case 40:return 1}else if(r[0]===4&&!N(r[3],$h)&&hr(1,x)===40)return 1;return 0},fO=function(x){var r=x[28][1];if(r){var e=W(x);if(typeof e!="number"&&e[0]===4&&!N(e[3],vo)&&Oo(1,x))return 1;var t=0}else var t=r;return t},cO=function(x){var r=W(x);return typeof r!="number"&&r[0]===4&&!N(r[3],$1)?1:0},Bx=function(x,r){return ex(x,[0,Nx(x),r])},vB=function(x,r){var e=$R(0,r);return x?[25,e,x[1]]:[23,e]},S1=function(x,r){var e=iO(r);return l(nO(r),e),Bx(r,vB(x,W(r)))},Wd=function(x){function r(e){return ex(x,[0,e[1],fe])}return function(e){return S2(r,e)}},aB=function(x,r){var e=x[6]?G0(Ar(Gc0),r,r,r):bc0;return S1([0,e],x)},Xt=function(x,r){var e=x[5];return e&&Bx(x,r)},vt=function(x,r){var e=x[5],t=r[2],u=r[1];return e&&ex(x,[0,u,t])},Wv=function(x,r){return ex(x,[0,r,[14,x[5]]])},$0=function(x){var r=x[27][1];if(r){var e=r[1],t=ba(x),u=W(x);l(e,[0,Nx(x),u,t])}var i=x[26][1],f=i[1],o=f?f[1][1]:Jd(i)[1];x[25][1]=o;var a=iO(x);l(nO(x),a);var y=x[2][1],h=Qc(Ro(0,x)[4],y);x[2][1]=h;var k=[0,Ro(0,x)];x[4][1]=k;var A=x[26][1];return A[2]?(A[1]=A[2],A[2]=0,0):(bY(A),A[1]=0,0)},v1=function(x,r){var e=p(XR,W(x),r);return e&&$0(x),e},J1=function(x,r){x[24][1]=[0,r,x[24][1]];var e=ba(x),t=bl(x[25][1],e);return x[26][1]=t,0},W1=function(x){var r=x[24][1],e=r?r[2]:Rx(qc0);x[24][1]=e;var t=ba(x),u=bl(x[25][1],t);return x[26][1]=u,0},mx=function(x){var r=Nx(x);if(W(x)===9&&n6(1,x)){var e=w0(x),t=Ro(1,x)[4],u=Fx(e,l(Ul(function(f){return f[1][2][1]<=r[3][1]?1:0}),t));return x6(x,[0,r[3][1]+1|0,0]),u}var i=w0(x);return x6(x,r[3]),i},Uo=function(x){var r=x[4][1];if(!r)return 0;var e=r[1][2],t=w0(x),u=l(Ul(function(i){return i[1][2][1]<=e[3][1]?1:0}),t);return x6(x,[0,e[3][1]+1|0,0]),u},Hs=function(x,r){return S1([0,$R(Fc0,r)],x)},u0=function(x,r){return 1-p(XR,W(x),r)&&Hs(x,r),$0(x)},lB=function(x,r){var e=v1(x,r);return 1-e&&Hs(x,r),e},Vd=function(x,r){return lB(x,r),0},ts=function(x,r){var e=W(x),t=0;return typeof e!="number"&&e[0]===4&&Nr(e[3],r)&&(t=1),t||S1([0,l(Ar($c0),r)],x),$0(x)},ns=[Qr,fs0,zs(0)],pB=function(x,r,e){if(!e)return 0;var t=e[1],u=t[1],i=t[2];if(r[27][1]=[0,u],!x)return x;for(var f=i[2];;){if(!f)return 0;var o=f[2];l(u,f[1]);var f=o}},sO=function(x,r){var e=x[27][1];if(e){var t=e[1],u=bK(0),i=[0,function(B){return fR(B,u)}];x[27][1]=i;var f=[0,[0,t,u]]}else var f=0;var o=x[31][1],a=x[25][1],y=x[24][1],h=x[4][1],k=x[2][1],A=x[1][1];try{var g=l(r,x);pB(1,x,f);var I=[0,g];return I}catch(U){var C=R1(U);if(C!==ns)throw q0(C,0);pB(0,x,f),x[1][1]=A,x[2][1]=k,x[4][1]=h,x[24][1]=y,x[25][1]=a,x[31][1]=o;var R=ba(x),L=bl(x[25][1],R);return x[26][1]=L,0}},Zd=function(x,r,e){var t=sO(x,e);return t?t[1]:r},i6=function(x,r){var e=gx(r);if(!e)return r;var t=e[1],u=e[2],i=l(x,t);return t===i?r:gx([0,i,u])},yB=id(as0,function(x){var r=CR(x,ss0),e=IR(x,vs0),t=e[24],u=e[28],i=e[41],f=e[90],o=e[LT],a=e[yA],y=e[yv],h=e[Lj],k=e[uM],A=e[vj],g=e[6],I=e[7],C=e[10],R=e[17],L=e[23],U=e[29],B=e[39],X=e[42],J=e[52],e0=e[60],i0=e[Ue],j=e[wv],Y=e[Ps],z=e[aa],F=e[pa],t0=e[ph],$=e[h_],f0=e[jM],c0=e[yj],v0=e[KS],s0=e[jN],o0=e[OT],E0=e[e5],k0=e[kk],M0=e[ey],D0=e[Xw],cx=e[Qg],g0=e[mT],Z0=e[$5],n0=e[V4],nx=e[Pv],xx=e[VM],yx=e[JM],px=e[Mj],Tx=e[Hx],O0=e[wM],P0=e[ez],N0=e[tk],J0=e[cj],I0=e[SD],Q=OR(x,0,0,YK,KR,1)[1];function G(x0,S0,H){var h0=H[2],Y0=h0[2],U0=h0[1],tx=H[1];if(Y0){var Wx=Y0[1],Lx=function(Vx){return[0,tx,[0,U0,[0,Vx]]]};return Q0(l(x0[1][1+a],x0),Wx,H,Lx)}function ur(Vx){return[0,tx,[0,Vx,Y0]]}return Q0(p(x0[1][1+g],x0,S0),U0,H,ur)}function V(x0,S0,H){var h0=H[2],Y0=H[1],U0=Y0[3],tx=Y0[2],Wx=Y0[1];if(U0)var Lx=i6(l(x0[1][1+u],x0),U0),ur=tx;else var Lx=0,ur=p(x0[1][1+u],x0,tx);var Vx=p(x0[1][1+i],x0,h0);return tx===ur&&U0===Lx&&h0===Vx?H:[0,[0,Wx,ur,Lx],Vx]}function p0(x0,S0){var H=S0[2],h0=H[2],Y0=H[1],U0=S0[1];function tx(Wx){return[0,U0,[0,Y0,Wx]]}return Q0(l(x0[1][1+i],x0),h0,S0,tx)}function d0(x0,S0,H){var h0=H[3];function Y0(U0){return[0,H[1],H[2],U0]}return Q0(l(x0[1][1+i],x0),h0,H,Y0)}function A0(x0,S0){var H=S0[2];function h0(Y0){return[0,S0[1],Y0]}return Q0(l(x0[1][1+i],x0),H,S0,h0)}function M(x0,S0,H){var h0=H[3];function Y0(U0){return[0,H[1],H[2],U0]}return Q0(l(x0[1][1+i],x0),h0,H,Y0)}function L0(x0,S0,H){var h0=H[2],Y0=H[1],U0=i6(l(x0[1][1+a],x0),Y0),tx=p(x0[1][1+i],x0,h0);return Y0===U0&&h0===tx?H:[0,U0,tx]}function V0(x0,S0){var H=S0[2],h0=H[2],Y0=H[1],U0=S0[1];function tx(Wx){return[0,U0,[0,Y0,Wx]]}return Q0(l(x0[1][1+i],x0),h0,S0,tx)}function B0(x0,S0,H){var h0=H[4];function Y0(U0){return[0,H[1],H[2],H[3],U0]}return Q0(l(x0[1][1+i],x0),h0,H,Y0)}function vx(x0,S0,H){var h0=H[2];function Y0(U0){return[0,H[1],U0]}return Q0(l(x0[1][1+i],x0),h0,H,Y0)}function b0(x0,S0,H){var h0=H[3],Y0=H[2],U0=p(x0[1][1+Y],x0,Y0),tx=p(x0[1][1+i],x0,h0);return Y0===U0&&h0===tx?H:[0,H[1],U0,tx]}function hx(x0,S0,H){var h0=H[4],Y0=H[3],U0=H[2],tx=H[1],Wx=p(x0[1][1+i],x0,h0);if(Y0){var Lx=Yx(l(x0[1][1+A],x0),Y0);return Y0===Lx&&h0===Wx?H:[0,H[1],H[2],Lx,Wx]}if(U0){var ur=Yx(l(x0[1][1+k],x0),U0);return U0===ur&&h0===Wx?H:[0,H[1],ur,H[3],Wx]}var Vx=p(x0[1][1+a],x0,tx);return tx===Vx&&h0===Wx?H:[0,Vx,H[2],H[3],Wx]}function W0(x0,S0,H){var h0=H[4],Y0=H[3],U0=p(x0[1][1+a],x0,Y0),tx=p(x0[1][1+i],x0,h0);return Y0===U0&&h0===tx?H:[0,H[1],H[2],U0,tx]}function T(x0,S0,H){var h0=H[4];function Y0(U0){return[0,H[1],H[2],H[3],U0]}return Q0(l(x0[1][1+i],x0),h0,H,Y0)}function K(x0,S0,H){var h0=H[4];function Y0(U0){return[0,H[1],H[2],H[3],U0]}return Q0(l(x0[1][1+i],x0),h0,H,Y0)}function H0(x0,S0,H){var h0=H[2],Y0=H[1],U0=Y0[3],tx=Y0[2],Wx=Y0[1];if(U0)var Lx=i6(l(x0[1][1+u],x0),U0),ur=tx;else var Lx=0,ur=p(x0[1][1+u],x0,tx);var Vx=p(x0[1][1+i],x0,h0);return tx===ur&&U0===Lx&&h0===Vx?H:[0,[0,Wx,ur,Lx],Vx]}function sx(x0,S0,H){var h0=H[3],Y0=H[1],U0=r2(l(x0[1][1+f],x0),Y0),tx=p(x0[1][1+i],x0,h0);return Y0===U0&&h0===tx?H:[0,U0,H[2],tx]}function ux(x0,S0,H){var h0=H[2];function Y0(U0){return[0,H[1],U0]}return Q0(l(x0[1][1+i],x0),h0,H,Y0)}function z0(x0,S0){if(S0[0]===0){var H=S0[1],h0=function(ur){return[0,ur]};return Q0(l(x0[1][1+o],x0),H,S0,h0)}var Y0=S0[1],U0=Y0[2],tx=U0[2],Wx=Y0[1],Lx=p(x0[1][1+o],x0,tx);return tx===Lx?S0:[1,[0,Wx,[0,U0[1],Lx]]]}function Px(x0,S0,H){var h0=H[4],Y0=H[3],U0=p(x0[1][1+o0],x0,Y0),tx=p(x0[1][1+i],x0,h0);return Y0===U0&&h0===tx?H:[0,H[1],H[2],U0,tx]}function kx(x0,S0){var H=S0[2],h0=S0[1],Y0=H[4];function U0(tx){return[0,h0,[0,H[1],H[2],H[3],tx]]}return Q0(l(x0[1][1+i],x0),Y0,[0,h0,H],U0)}function $x(x0,S0,H){var h0=H[9],Y0=H[3],U0=p(x0[1][1+M0],x0,Y0),tx=p(x0[1][1+i],x0,h0);return Y0===U0&&h0===tx?H:[0,H[1],H[2],U0,H[4],H[5],H[6],H[7],H[8],tx,H[10]]}function Qx(x0,S0,H){var h0=H[4],Y0=H[3],U0=p(x0[1][1+a],x0,Y0),tx=p(x0[1][1+i],x0,h0);return Y0===U0&&h0===tx?H:[0,H[1],H[2],U0,tx]}function j0(x0,S0){var H=S0[2],h0=H[2],Y0=H[1],U0=S0[1];function tx(Wx){return[0,U0,[0,Y0,Wx]]}return Q0(l(x0[1][1+i],x0),h0,S0,tx)}function rr(x0,S0){var H=S0[2],h0=S0[1],Y0=H[3];function U0(tx){return[0,h0,[0,H[1],H[2],tx]]}return Q0(l(x0[1][1+i],x0),Y0,[0,h0,H],U0)}function zx(x0,S0,H){var h0=H[6],Y0=H[5],U0=p(x0[1][1+nx],x0,Y0),tx=p(x0[1][1+i],x0,h0);return Y0===U0&&h0===tx?H:[0,H[1],H[2],H[3],H[4],U0,tx,H[7]]}function X0(x0,S0){var H=S0[2],h0=H[2],Y0=H[1],U0=S0[1];if(h0===0){var tx=function(ur){return[0,U0,[0,ur,h0]]};return Q0(l(x0[1][1+o],x0),Y0,S0,tx)}function Wx(ur){return[0,U0,[0,Y0,ur]]}var Lx=l(x0[1][1+t],x0);return Q0(function(ur){return Yx(Lx,ur)},h0,S0,Wx)}function ir(x0,S0){var H=S0[2],h0=H[2],Y0=H[1],U0=S0[1];function tx(Lx){return[0,U0,[0,Lx,h0]]}var Wx=l(x0[1][1+y],x0);return Q0(function(Lx){return i6(Wx,Lx)},Y0,S0,tx)}function K0(x0,S0,H){var h0=H[2],Y0=H[1];if(h0===0){var U0=function(Lx){return[0,Lx,H[2],H[3]]};return Q0(l(x0[1][1+a],x0),Y0,H,U0)}function tx(Lx){return[0,H[1],Lx,H[3]]}var Wx=l(x0[1][1+t],x0);return Q0(function(Lx){return Yx(Wx,Lx)},h0,H,tx)}function Sr(x0,S0){var H=S0[2],h0=H[2],Y0=H[1],U0=S0[1];function tx(Wx){return[0,U0,[0,Y0,Wx]]}return Q0(l(x0[1][1+i],x0),h0,S0,tx)}function Dr(x0,S0,H){var h0=H[7],Y0=H[2],U0=p(x0[1][1+h],x0,Y0),tx=p(x0[1][1+i],x0,h0);return Y0===U0&&h0===tx?H:[0,H[1],U0,H[3],H[4],H[5],H[6],tx]}function ax(x0,S0){var H=S0[2],h0=H[2],Y0=H[1],U0=S0[1];function tx(Wx){return[0,U0,[0,Y0,Wx]]}return Q0(l(x0[1][1+i],x0),h0,S0,tx)}function br(x0,S0){var H=S0[2],h0=H[2],Y0=H[1],U0=S0[1];function tx(Wx){return[0,U0,[0,Y0,Wx]]}return Q0(l(x0[1][1+i],x0),h0,S0,tx)}function t2(x0,S0,H){var h0=H[4],Y0=H[3],U0=p(x0[1][1+A],x0,Y0),tx=p(x0[1][1+i],x0,h0);return Y0===U0&&h0===tx?H:[0,H[1],H[2],U0,tx]}function k1(x0,S0,H){var h0=H[2];function Y0(U0){return[0,H[1],U0]}return Q0(l(x0[1][1+i],x0),h0,H,Y0)}function Rr(x0,S0,H){var h0=H[4],Y0=H[3],U0=p(x0[1][1+a],x0,Y0),tx=p(x0[1][1+i],x0,h0);return Y0===U0&&h0===tx?H:[0,H[1],H[2],U0,tx]}function U1(x0,S0,H){var h0=H[4],Y0=H[3],U0=p(x0[1][1+a],x0,Y0),tx=p(x0[1][1+i],x0,h0);return Y0===U0&&h0===tx?H:[0,H[1],H[2],U0,tx]}function _(x0,S0){var H=S0[2];function h0(Y0){return[0,S0[1],Y0]}return Q0(l(x0[1][1+i],x0),H,S0,h0)}function b(x0,S0,H){var h0=H[2];function Y0(U0){return[0,H[1],U0]}return Q0(l(x0[1][1+i],x0),h0,H,Y0)}return UR(x,[0,X,function(x0,S0){var H=S0[2],h0=l(Ul(function(U0){return Fs(U0[1][2],x0[1+r])<0?1:0}),H),Y0=Fc(h0);return Fc(H)===Y0?S0:[0,S0[1],h0,S0[3]]},I0,b,J0,_,N0,U1,P0,Rr,O0,k1,Tx,t2,A,br,k,ax,px,Dr,h,Sr,yx,K0,xx,ir,y,X0,n0,zx,Z0,rr,g0,j0,cx,Qx,D0,$x,k0,kx,E0,Px,s0,z0,v0,ux,c0,sx,f0,H0,$,K,t0,T,F,W0,j,hx,z,b0,i0,vx,f,B0,e0,V0,J,L0,B,M,U,A0,L,d0,R,p0,C,V,I,G]),function(x0,S0,H){var h0=fd(S0,x);return h0[1+r]=H,l(Q,h0),LR(S0,h0,x)}}),$d=function(x){var r=x3(x);if(r)var e=r[1],t=cB(x)?(x6(x,e[3]),[0,p(yB[1],0,e[3])]):0,u=t;else var u=0;return[0,0,function(i,f){return u?p(f,u[1],i):i}]},f6=function(x){var r=x3(x);if(r){var e=r[1];if(cB(x)){x6(x,e[3]);var t=Uo(x),u=[0,p(yB[1],0,[0,e[3][1]+1|0,0])],i=t}else var u=0,i=Uo(x)}else var u=0,i=0;return[0,i,function(f,o){return u?p(o,u[1],f):f}]},I1=function(x){return b2(x)?f6(x):$d(x)},Tn=function(x,r){var e=I1(x)[2];return p(e,r,function(t,u){return p(qx(t,Na,2),t,u)})},xe=function(x,r){if(!r)return 0;var e=r[1],t=I1(x)[2];return[0,p(t,e,function(u,i){return p(qx(u,VP,5),u,i)})]},oO=function(x,r){var e=I1(x)[2];return p(e,r,function(t,u){return p(qx(t,lM,7),t,u)})},t3=function(x,r){var e=I1(x)[2];return p(e,r,function(t,u){return p(qx(t,-1045824777,8),t,u)})},c6=function(x,r){var e=I1(x)[2];return p(e,r,function(t,u){return p(qx(t,-455772979,9),t,u)})},dB=function(x,r){if(!r)return 0;var e=r[1],t=I1(x)[2];return[0,p(t,e,function(u,i){return p(qx(u,WD,12),u,i)})]},Sn=function(x,r){var e=I1(x)[2];return p(e,r,function(t,u){return p(qx(t,qU,13),t,u)})},mB=function(x,r){var e=I1(x)[2];return p(e,r,function(t,u){var i=l(qx(t,jj,15),t);return i6(function(f){return r2(i,f)},u)})},kB=function(x,r){var e=I1(x)[2];return p(e,r,function(t,u){return p(qx(t,-21476009,16),t,u)})},bT0=function(x,r){var e=x[2],t=x[1];function u(br){return g2(br,r)}switch(e[0]){case 0:var i=e[1],f=YR(i[2],r),ax=[0,[0,i[1],f]];break;case 1:var o=e[1],a=u(o[2]),ax=[1,[0,o[1],a]];break;case 2:var y=e[1],h=u(y[7]),ax=[2,[0,y[1],y[2],y[3],y[4],y[5],y[6],h]];break;case 3:var k=e[1],A=k[7],g=u(k[6]),ax=[3,[0,k[1],k[2],k[3],k[4],k[5],g,A]];break;case 4:var I=e[1],C=u(I[2]),ax=[4,[0,I[1],C]];break;case 5:var ax=[5,[0,u(e[1][1])]];break;case 6:var R=e[1],L=u(R[7]),ax=[6,[0,R[1],R[2],R[3],R[4],R[5],R[6],L]];break;case 7:var U=e[1],B=u(U[5]),ax=[7,[0,U[1],U[2],U[3],U[4],B]];break;case 8:var X=e[1],J=u(X[3]),ax=[8,[0,X[1],X[2],J]];break;case 9:var e0=e[1],i0=u(e0[5]),ax=[9,[0,e0[1],e0[2],e0[3],e0[4],i0]];break;case 10:var j=e[1],Y=u(j[4]),ax=[10,[0,j[1],j[2],j[3],Y]];break;case 11:var z=e[1],F=u(z[5]),ax=[11,[0,z[1],z[2],z[3],z[4],F]];break;case 12:var t0=e[1],$=u(t0[4]),ax=[12,[0,t0[1],t0[2],t0[3],$]];break;case 13:var f0=e[1],c0=u(f0[2]),ax=[13,[0,f0[1],c0]];break;case 14:var v0=e[1],s0=u(v0[4]),ax=[14,[0,v0[1],v0[2],v0[3],s0]];break;case 15:var o0=e[1],E0=u(o0[5]),ax=[15,[0,o0[1],o0[2],o0[3],o0[4],E0]];break;case 16:var k0=e[1],M0=u(k0[4]),ax=[16,[0,k0[1],k0[2],k0[3],M0]];break;case 17:var D0=e[1],cx=u(D0[3]),ax=[17,[0,D0[1],D0[2],cx]];break;case 18:var ax=[18,[0,u(e[1][1])]];break;case 19:var g0=e[1],Z0=u(g0[3]),ax=[19,[0,g0[1],g0[2],Z0]];break;case 20:var n0=e[1],nx=u(n0[3]),ax=[20,[0,n0[1],n0[2],nx]];break;case 21:var xx=e[1],yx=u(xx[5]),ax=[21,[0,xx[1],xx[2],xx[3],xx[4],yx]];break;case 22:var px=e[1],Tx=u(px[3]),ax=[22,[0,px[1],px[2],Tx]];break;case 23:var O0=e[1],P0=u(O0[5]),ax=[23,[0,O0[1],O0[2],O0[3],O0[4],P0]];break;case 24:var N0=e[1],J0=u(N0[5]),ax=[24,[0,N0[1],N0[2],N0[3],N0[4],J0]];break;case 25:var I0=e[1],Q=u(I0[5]),ax=[25,[0,I0[1],I0[2],I0[3],I0[4],Q]];break;case 26:var G=e[1],V=G[10],p0=u(G[9]),ax=[26,[0,G[1],G[2],G[3],G[4],G[5],G[6],G[7],G[8],p0,V]];break;case 27:var d0=e[1],A0=u(d0[4]),ax=[27,[0,d0[1],d0[2],d0[3],A0]];break;case 28:var M=e[1],L0=u(M[5]),ax=[28,[0,M[1],M[2],M[3],M[4],L0]];break;case 29:var V0=e[1],B0=u(V0[5]),ax=[29,[0,V0[1],V0[2],V0[3],V0[4],B0]];break;case 30:var vx=e[1],b0=u(vx[3]),ax=[30,[0,vx[1],vx[2],b0]];break;case 31:var hx=e[1],W0=hx[3],T=u(hx[2]),ax=[31,[0,hx[1],T,W0]];break;case 32:var K=e[1],H0=K[4],sx=u(K[3]),ax=[32,[0,K[1],K[2],sx,H0]];break;case 33:var ux=e[1],z0=u(ux[2]),ax=[33,[0,ux[1],z0]];break;case 34:var Px=e[1],kx=u(Px[4]),ax=[34,[0,Px[1],Px[2],Px[3],kx]];break;case 35:var $x=e[1],Qx=u($x[4]),ax=[35,[0,$x[1],$x[2],$x[3],Qx]];break;case 36:var j0=e[1],rr=u(j0[5]),ax=[36,[0,j0[1],j0[2],j0[3],j0[4],rr]];break;case 37:var zx=e[1],X0=u(zx[3]),ax=[37,[0,zx[1],zx[2],X0]];break;case 38:var ir=e[1],K0=u(ir[3]),ax=[38,[0,ir[1],ir[2],K0]];break;default:var Sr=e[1],Dr=u(Sr[3]),ax=[39,[0,Sr[1],Sr[2],Dr]]}return[0,t,ax]};id(ls0,function(x){var r=CR(x,cs0),e=RR(os0),t=e.length-1,u=JK.length-1,i=za(t+u|0,0),f=t-1|0,o=0;if(f>=0)for(var a=o;;){var y=Xl(x,X1(e,a)[1+a]);X1(i,a)[1+a]=y;var h=a+1|0;if(f!==a){var a=h;continue}break}var k=u-1|0,A=0;if(k>=0)for(var g=A;;){var I=g+t|0,C=CR(x,X1(JK,g)[1+g]);X1(i,I)[1+I]=C;var R=g+1|0;if(k!==g){var g=R;continue}break}var L=i[4],U=i[5],B=i[B3],X=i[yv],J=i[292],e0=i[293],i0=i[44],j=i[H8],Y=i[Kz],z=OR(x,0,0,YK,KR,1)[1];function F(s0,o0,E0){return p(s0[1][1+B],s0,E0[2]),E0}function t0(s0,o0){return p(s0[1][1+X],s0,o0),o0}function $(s0,o0){var E0=o0[1],k0=s0[1+e0];if(k0){var M0=Fs(k0[1][1][2],E0[2])<0?1:0,D0=M0&&(s0[1+e0]=[0,o0],0);return D0}var cx=0<=Fs(E0[2],s0[1+r][3])?1:0,g0=cx&&(s0[1+e0]=[0,o0],0);return g0}function f0(s0,o0){var E0=o0[1],k0=s0[1+J];if(k0){var M0=Fs(E0[2],k0[1][1][2])<0?1:0,D0=M0&&(s0[1+J]=[0,o0],0);return D0}var cx=Fs(E0[2],s0[1+r][2])<0?1:0,g0=cx&&(s0[1+J]=[0,o0],0);return g0}function c0(s0,o0){return o0?p(s0[1][1+X],s0,o0[1]):0}function v0(s0,o0){var E0=o0[2],k0=o0[1];return S2(l(s0[1][1+U],s0),k0),S2(l(s0[1][1+L],s0),E0)}return UR(x,[0,j,function(s0){return[0,s0[1+J],s0[1+e0]]},X,v0,B,c0,U,f0,L,$,i0,t0,Y,F]),function(s0,o0,E0){var k0=fd(o0,x);return k0[1+r]=E0,l(z,k0),k0[1+J]=0,k0[1+e0]=0,LR(o0,k0,x)}});var hB=function(x){var r=W(x),e=0;if(typeof r=="number"){var t=r;if(49<=t)switch(t){case 49:var u=Fs0;break;case 50:var u=Qs0;break;case 51:var u=Hs0;break;case 52:var u=qs0;break;case 53:var u=Gs0;break;case 54:var u=bs0;break;case 55:var u=xo0;break;case 56:var u=ro0;break;case 57:var u=eo0;break;case 58:var u=to0;break;case 59:var u=no0;break;case 60:var u=uo0;break;case 61:var u=io0;break;case 62:var u=fo0;break;case 63:var u=co0;break;case 64:var u=so0;break;case 65:var u=oo0;break;case 114:var u=vo0;break;case 115:var u=ao0;break;case 116:var u=lo0;break;case 117:var u=po0;break;case 118:var u=yo0;break;case 119:var u=do0;break;case 120:var u=mo0;break;case 121:var u=ko0;break;case 122:var u=ho0;break;case 123:var u=_o0;break;case 124:var u=wo0;break;case 125:var u=To0;break;case 126:var u=So0;break;case 128:var u=Eo0;break;case 129:var u=Ao0;break;default:e=1}else switch(t){case 15:var u=ps0;break;case 16:var u=ys0;break;case 17:var u=ds0;break;case 18:var u=ms0;break;case 19:var u=ks0;break;case 20:var u=hs0;break;case 21:var u=_s0;break;case 22:var u=ws0;break;case 23:var u=Ts0;break;case 24:var u=Ss0;break;case 25:var u=Es0;break;case 26:var u=As0;break;case 27:var u=gs0;break;case 28:var u=Ns0;break;case 29:var u=Is0;break;case 30:var u=Ps0;break;case 31:var u=Cs0;break;case 32:var u=Rs0;break;case 33:var u=Os0;break;case 34:var u=Ls0;break;case 35:var u=Us0;break;case 36:var u=Ms0;break;case 37:var u=Ds0;break;case 38:var u=js0;break;case 39:var u=zs0;break;case 40:var u=Ks0;break;case 41:var u=Js0;break;case 42:var u=Ys0;break;case 43:var u=Bs0;break;case 44:var u=Xs0;break;case 45:var u=Ws0;break;case 46:var u=Vs0;break;case 47:var u=Zs0;break;case 48:var u=$s0;break;default:e=1}}else switch(r[0]){case 4:var u=r[2];break;case 11:var i=r[1]?go0:No0,u=i;break;default:e=1}if(e){S1(Io0,x);var u=Po0}return $0(x),u},_2=function(x){var r=Nx(x),e=w0(x),t=hB(x);return[0,r,[0,t,m0([0,e],[0,mx(x)],0)]]},_B=function(x){var r=Nx(x),e=w0(x);u0(x,14);var t=Nx(x),u=hB(x),i=m0([0,e],[0,mx(x)],0),f=i1(r,t),o=t[2],a=r[3],y=a[1]===o[1]?1:0,h=y&&(a[2]===o[2]?1:0);return 1-h&&ex(x,[0,f,Vi]),[0,f,[0,u,i]]},Vv=function(x){var r=x[2],e=r[3]===0?1:0,t=r[2];if(!e)return e;for(var u=t;;){if(!u)return 1;var i=u[1][2],f=0,o=u[2];if(i[1][2][0]===2&&!i[2]){var a=1;f=1}if(!f)var a=0;if(!a)return a;var u=o}},s6=function(x){for(var r=x;;){var e=r[2];if(e[0]!==30)return 0;var t=e[1][2];if(t[2][0]===26)return 1;var r=t}},Fd=function(x,r,e){var t=e[2][1],u=e[1];if(!N(t,_v)){var i=r[19];return i&&ex(r,[0,u,6])}if(N(t,ya)){if(!N(t,U2))return r[18]?ex(r,[0,u,99]):vt(r,[0,u,84])}else if(r[14])return ex(r,[0,u,[23,pd(t)]]);if(r3(t))return vt(r,[0,u,84]);if(Bd(t))return ex(r,[0,u,99]);if(x){var f=x[1];if(Xv(t))return vt(r,[0,u,f])}return 0},a0=function(x,r,e){var t=x?x[1]:Nx(e),u=l(r,e),i=x3(e),f=i?i1(t,i[1]):t;return[0,f,u]},Qd=function(x,r,e){var t=a0(x,r,e),u=t[2];return[0,[0,t[1],u[1]],u[2]]},Hd=function(x){J1(x,0);var r=W(x);W1(x);var e=hr(1,x),t=0;if(typeof r=="number")r===21&&(t=1);else if(r[0]===4)if(N(r[3],da))t=1;else{var u=0;typeof e=="number"?e===21&&(u=1):e[0]===4&&(u=1),t=u?2:1}var i=0;switch(t){case 1:typeof e=="number"?m1===e&&(i=1):e[0]===4&&!N(e[3],al)&&(i=1);break;case 0:break;default:i=1}return i?1:0},wB=function(x){switch(x){case 3:return 2;case 4:return 1;case 5:return 1;case 6:return 1;case 7:return 1;default:return 1}},vO=function(x,r,e){if(e){var t=e[1],u=0;if(t===8232||H1===t)u=1;else var i=t===10?6:t===13?5:b3<=t?3:aP<=t?2:m1<=t?1:0;if(u)var i=7;var f=i}else var f=4;return[0,f,x]},xS0=[Qr,fv0,zs(0)],TB=function(x,r,e,t){try{var u=X1(x,r)[1+r];return u}catch(f){var i=R1(f);throw i[1]===GC?q0([0,xS0,e,G0(Ar(uv0),t,r,x.length-1)],1):q0(i,0)}},qd=function(x,r){if(r[1]===0&&r[2]===0)return 0;var e=TB(x,r[1]-1|0,r,tv0);return TB(e,r[2],r,nv0)},SB=function(x){var r=[0,Ov0,h2[1],0,0];function e(o){var a=W(o);if(typeof a=="number"){var y=0;if(8<=a?10>a&&(y=1):a===1&&(y=1),y)return 1}return 0}function t(o){var a=Nx(o),y=w0(o),h=W(o);if(typeof h=="number")switch(h){case 30:case 31:$0(o);var k=mx(o);return e(o)?[1,a,[0,h===31?1:0,m0([0,y],[0,k],0)]]:[0,a]}else switch(h[0]){case 0:var A=h[2],g=G0(x[24],o,h[1],A),I=mx(o);return e(o)?[2,a,[0,g,A,m0([0,y],[0,I],0)]]:[0,a];case 1:var C=h[2],R=G0(x[26],o,h[1],C),L=mx(o);return e(o)?[4,a,[0,R,C,m0([0,y],[0,L],0)]]:[0,a];case 2:var U=h[1],B=U[1],X=U[3],J=U[2];U[4]&&Xt(o,80),$0(o);var e0=mx(o);return e(o)?[3,B,[0,J,X,m0([0,y],[0,e0],0)]]:[0,B]}return $0(o),[0,a]}function u(o){var a=_2(o),y=W(o),h=0;if(typeof y=="number")if(y===82){u0(o,82);var k=t(o)}else if(y===86){Bx(o,[8,a[2][1]]),u0(o,86);var k=t(o)}else h=1;else h=1;if(h)var k=0;return[0,a,k]}var i=0;function f(o,a,y,h,k,A,g){var I=Fc(k),C=Fc(A);function R(U){return[2,[0,[0,A],y,h,g]]}function L(U){return[2,[0,[1,k],y,h,g]]}return I===0?R(0):C===0?L(0):I>>0){if(fe>=i0+1>>>0){var j=J[3],Y=J[4],z=gx(J[1][5]),F=gx(J[1][4]),t0=gx(J[1][3]),$=gx(J[1][2]),f0=gx(J[1][1]),c0=Fx(Y,w0(C));u0(C,1);var v0=W(C),s0=0;if(typeof v0=="number"){var o0=0;if(v0===1||Er===v0?o0=1:s0=1,o0)var E0=mx(C)}else s0=1;if(s0)var E0=b2(C)?Uo(C):0;var k0=K1([0,X],[0,E0],c0,0);if(B){switch(B[1]){case 0:var M0=[0,[0,f0,1,j,k0]];break;case 1:var M0=[1,[0,$,1,j,k0]];break;case 2:var M0=f(C,A,1,j,t0,z,k0);break;case 3:var M0=[3,[0,z,j,k0]];break;default:var M0=[4,[0,F,1,j,k0]]}var D0=M0}else{var cx=Fc(f0),g0=Fc($),Z0=Fc(t0),n0=Fc(z),nx=function(b){return[2,[0,gv0,0,j,k0]]},xx=0;if(cx===0&&g0===0){var yx=0;if(Z0===0&&n0===0)var px=nx(0);else yx=1;if(yx)var px=f(C,A,0,j,t0,z,k0)}else xx=1;if(xx){var Tx=0;if(g0===0&&Z0===0&&n0<=cx){S2(function(x0){return ex(C,[0,x0[1],[3,A,x0[2][1][2][1]]])},z);var px=[0,[0,f0,0,j,k0]];Tx=1}if(!Tx){var O0=0;if(cx===0&&Z0===0&&n0<=g0){S2(function(x0){return ex(C,[0,x0[1],[11,A,x0[2][1][2][1]]])},z);var px=[1,[0,$,0,j,k0]];O0=1}if(!O0){ex(C,[0,g,[5,A]]);var px=nx(0)}}}var D0=px}return D0}}else if(i0===10){var P0=Nx(C),N0=w0(C);$0(C);var J0=W(C),I0=0;if(typeof J0=="number"){var Q=J0-2|0,G=0;if(P1>>0)fe>=Q+1>>>0&&(G=1);else if(Q===7){u0(C,9);var V=W(C),p0=0;if(typeof V=="number"){var d0=0;if((V===1||Er===V)&&(d0=1),d0){var A0=1;p0=1}}if(!p0)var A0=0;ex(C,[0,P0,[6,A0]]),G=1}G&&(I0=1)}I0||ex(C,[0,P0,Av0]);var J=[0,J[1],J[2],1,N0];continue}}var M=J[2],L0=J[1],V0=a0(i,u,C),B0=V0[2],vx=B0[2],b0=B0[1],hx=V0[1],W0=b0[2][1],T=b0[1];if(Nr(W0,wx))var K=J;else{var H0=C1(W0,0),sx=97<=H0?1:0,ux=sx&&(H0<=qr?1:0);ux&&ex(C,[0,T,[10,A,W0]]),p(h2[3],W0,M)&&ex(C,[0,T,[4,A,W0]]);var z0=J[4],Px=J[3],kx=p(h2[4],W0,M),$x=[0,J[1],kx,Px,z0],Qx=function(_){return function(b,x0){return B&&B[1]!==b?ex(C,[0,x0,[9,A,B,_]]):0}}(W0);if(typeof vx=="number"){var j0=0;if(B)switch(B[1]){case 0:ex(C,[0,hx,[3,A,W0]]);var K=$x;break;case 1:ex(C,[0,hx,[11,A,W0]]);var K=$x;break;case 4:ex(C,[0,hx,[2,A,W0]]);var K=$x;break;default:j0=1}else j0=1;if(j0)var K=[0,[0,L0[1],L0[2],L0[3],L0[4],[0,[0,hx,[0,b0]],L0[5]]],kx,Px,z0]}else switch(vx[0]){case 0:ex(C,[0,vx[1],[9,A,B,W0]]);var K=$x;break;case 1:var rr=vx[1],zx=vx[2];Qx(0,rr);var K=[0,[0,[0,[0,hx,[0,b0,[0,rr,zx]]],L0[1]],L0[2],L0[3],L0[4],L0[5]],kx,Px,z0];break;case 2:var X0=vx[1],ir=vx[2];Qx(1,X0);var K=[0,[0,L0[1],[0,[0,hx,[0,b0,[0,X0,ir]]],L0[2]],L0[3],L0[4],L0[5]],kx,Px,z0];break;case 3:var K0=vx[1],Sr=vx[2];Qx(2,K0);var K=[0,[0,L0[1],L0[2],[0,[0,hx,[0,b0,[0,K0,Sr]]],L0[3]],L0[4],L0[5]],kx,Px,z0];break;default:var Dr=vx[1],ax=vx[2];Qx(4,Dr);var K=[0,[0,L0[1],L0[2],L0[3],[0,[0,hx,[0,b0,[0,Dr,ax]]],L0[4]],L0[5]],kx,Px,z0]}}var br=W(C),t2=0;if(typeof br=="number"){var k1=br-2|0,Rr=0;P1>>0?fe>=k1+1>>>0&&(Rr=1):k1===6&&(Bx(C,22),u0(C,8),Rr=1),Rr&&(t2=1)}t2||u0(C,9);var J=K}},a);return[0,k,I,m0([0,h],0,0)]}]},Gd=function(x,r,e){if(typeof e=="number")return[0,x,r];if(e[0]===0){var t=e[1],u=Ex(x,t),i=e[2];return u===0?i===r?e:[0,t,r]:0<=u?[1,2,x,r,e,0]:[1,2,x,r,0,e]}var f=e[5],o=e[4],a=e[3],y=e[2],h=Ex(x,y),k=e[1];if(h===0)return a===r?e:[1,k,x,r,o,f];if(0<=h){var A=Gd(x,r,f);return f===A?e:HJ(o,y,a,A)}var g=Gd(x,r,o);return o===g?e:HJ(g,y,a,f)},n3=function(x){return[0,wn(x)]},aO=nY([0,function(x,r){var e=r[2],t=x[2],u=oY(x[1],r[1]);return u===0?p(vY,t,e):u}]),o6=function(x,r,e){var t=e[2][1],u=e[1];return Nr(t,wx)?r:p(h2[3],t,r)?(ex(x,[0,u,[0,t]]),r):p(h2[4],t,r)},lO=function(x){return function(r){var e=r[2];switch(e[0]){case 0:var t=e[1][1];return b1(function(i,f){var o=f[0]===0?f[1][2][2]:f[1][2][1];return l(lO(i),o)},x,t);case 1:var u=e[1][1];return b1(function(i,f){if(f[0]===2)return i;var o=f[1][2][1];return l(lO(i),o)},x,u);case 2:return[0,e[1][1],x];default:return Rx(Ul0)}}},lx=LJ(Dl0,Ml0[1]),bd=function(x,r,e){var t=x?x[1]:0,u=r?r[1]:0,i=Nx(e),f=W(e);if(typeof f=="number")switch(f){case 103:var o=w0(e);return $0(e),[0,[0,i,[0,0,m0([0,o],0,0)]]];case 104:var a=w0(e);return $0(e),[0,[0,i,[0,1,m0([0,a],0,0)]]];case 126:if(t){var y=w0(e);return $0(e),[0,[0,i,[0,2,m0([0,y],0,0)]]]}break}else if(f[0]===4){var h=f[3];if(N(h,mo)){if(!N(h,w_)&&u&&Xd(1,e)){var k=w0(e);return $0(e),[0,[0,i,[0,4,m0([0,k],0,0)]]]}}else if(u&&Xd(1,e)){var A=w0(e);$0(e);var g=W(e),I=0;if(typeof g!="number"&&g[0]===4&&!N(g[3],w_)){var C=Nx(e);$0(e);var R=i1(i,C),L=5;I=1}if(!I)var R=i,L=3;return[0,[0,R,[0,L,m0([0,A],0,0)]]]}}return 0},EB=function(x,r,e,t,u){r===1&&Xt(u,80);var i=w0(u);$0(u);var f=mx(u);if(x)var o=m0([0,Fx(x[1],i)],[0,f],0),a=o,y=Zx(ev0,t),h=-e;else var a=m0([0,i],[0,f],0),y=t,h=e;return[29,[0,h,y,a]]},AB=function(x,r,e,t){var u=w0(t);$0(t);var i=mx(t);if(x)var f=m0([0,Fx(x[1],u)],[0,i],0),o=Zx(rv0,e),a=f,y=o,h=Fy(XC,r);else var a=m0([0,u],[0,i],0),y=e,h=r;return[30,[0,h,y,a]]},Gr=function x(r){return x.fun(r)},u3=function x(r){return x.fun(r)},gB=function x(r){return x.fun(r)},NB=function x(r){return x.fun(r)},pO=function x(r,e,t){return x.fun(r,e,t)},xm=function x(r){return x.fun(r)},yO=function x(r,e,t,u){return x.fun(r,e,t,u)},dO=function x(r){return x.fun(r)},mO=function x(r,e,t,u){return x.fun(r,e,t,u)},kO=function x(r){return x.fun(r)},hO=function x(r,e){return x.fun(r,e)},_O=function x(r){return x.fun(r)},IB=function x(r){return x.fun(r)},rm=function x(r,e,t,u){return x.fun(r,e,t,u)},em=function x(r,e,t,u,i){return x.fun(r,e,t,u,i)},PB=function x(r){return x.fun(r)},CB=function x(r,e){return x.fun(r,e)},wO=function x(r){return x.fun(r)},RB=function x(r){return x.fun(r)},OB=function x(r){return x.fun(r)},LB=function x(r){return x.fun(r)},UB=function x(r){return x.fun(r)},TO=function x(r,e){return x.fun(r,e)},MB=function x(r){return x.fun(r)},DB=function x(r){return x.fun(r)},v6=function x(r,e){return x.fun(r,e)},jB=function x(r){return x.fun(r)},Zv=function x(r){return x.fun(r)},tm=function x(r){return x.fun(r)},zB=function x(r,e){return x.fun(r,e)},SO=function x(r){return x.fun(r)},KB=function x(r){return x.fun(r)},JB=function x(r){return x.fun(r)},YB=function x(r){return x.fun(r)},BB=function x(r){return x.fun(r)},nm=function x(r,e,t,u){return x.fun(r,e,t,u)},EO=function x(r){return x.fun(r)},um=function x(r){return x.fun(r)},AO=function x(r,e){return x.fun(r,e)},im=function x(r,e,t,u){return x.fun(r,e,t,u)},gO=function x(r){return x.fun(r)},Mo=function x(r){return x.fun(r)},XB=function x(r){return x.fun(r)},$v=function x(r){return x.fun(r)},NO=function x(r){return x.fun(r)},fm=function x(r){return x.fun(r)},IO=function x(r,e){return x.fun(r,e)},WB=function x(r,e){return x.fun(r,e)},VB=function x(r){return x.fun(r)},ZB=function x(r){return x.fun(r)},PO=function x(r){return x.fun(r)},$B=function x(r,e,t){return x.fun(r,e,t)};C0(Gr,function(x){return l(NB,x)}),C0(u3,function(x){return 1-T1(x)&&Bx(x,_1),a0(0,function(r){return u0(r,86),l(Gr,r)},x)}),C0(gB,function(x){1-T1(x)&&Bx(x,_1);var r=Nx(x);return u0(x,86),Hd(x)?[2,p(AO,x,r)]:[1,a0([0,r],Gr,x)]}),C0(NB,function(x){var r=Nx(x),e=eO(0,x);return G0(pO,e,r,l(xm,e))}),C0(pO,function(x,r,e){var t=W(x);return typeof t=="number"&&t===41?a0([0,r],function(u){u0(u,41);var i=l(xm,eO(1,u));Vd(u,85);var f=l(Gr,u);Vd(u,86);var o=l(Gr,u);return[17,[0,e,i,f,o,m0(0,[0,mx(u)],0)]]},x):e}),C0(xm,function(x){var r=Nx(x);if(W(x)===89){var e=w0(x);$0(x);var t=e}else var t=0;return oe(yO,x,[0,t],r,l(dO,x))}),C0(yO,function(x,r,e,t){var u=r?r[1]:0;if(W(x)!==89)return t;var i=[0,t,0];return a0([0,e],function(f){for(var o=i;;){if(v1(f,89)){var o=[0,l(dO,f),o];continue}var a=gx(o);if(a){var y=a[2];if(y){var h=y[2],k=y[1],A=a[1];return[22,[0,[0,A,k,h],m0([0,u],0,0)]]}}throw q0([0,Tr,xv0],1)}},x)}),C0(dO,function(x){var r=Nx(x);if(W(x)===91){var e=w0(x);$0(x);var t=e}else var t=0;return oe(mO,x,[0,t],r,l(kO,x))}),C0(mO,function(x,r,e,t){var u=r?r[1]:0;if(W(x)!==91)return t;var i=[0,t,0];return a0([0,e],function(f){for(var o=i;;){if(v1(f,91)){var o=[0,l(kO,f),o];continue}var a=gx(o);if(a){var y=a[2];if(y){var h=y[2],k=y[1],A=a[1];return[23,[0,[0,A,k,h],m0([0,u],0,0)]]}}throw q0([0,Tr,bo0],1)}},x)}),C0(kO,function(x){return p(hO,x,l(_O,x))}),C0(hO,function(x,r){var e=W(x);if(typeof e=="number"&&e===11&&!x[15]){var t=p(v6,x,r);return oe(nm,x,t[1],0,[0,t[1],[0,0,[0,t,0],0,0]])}return r}),C0(_O,function(x){var r=W(x);return typeof r=="number"&&r===85?a0(0,function(e){var t=w0(e);u0(e,85);var u=m0([0,t],0,0);return[11,[0,l(_O,e),u]]},x):l(IB,x)}),C0(IB,function(x){var r=Nx(x);return oe(rm,0,x,r,l(OB,x))}),C0(rm,function(x,r,e,t){var u=x?x[1]:0;if(b2(r))return t;var i=W(r);if(typeof i=="number"){if(i===6)return $0(r),Je(em,u,0,r,e,t);if(i===10){var f=hr(1,r);return typeof f=="number"&&f===6?(Bx(r,qo0),u0(r,10),u0(r,6),Je(em,u,0,r,e,t)):(Bx(r,Go0),t)}if(i===83)return $0(r),W(r)!==6&&Bx(r,45),u0(r,6),Je(em,1,1,r,e,t)}return t}),C0(em,function(x,r,e,t,u){return oe(rm,[0,x],e,t,a0([0,t],function(i){if(!r&&v1(i,7))return[16,[0,u,m0(0,[0,mx(i)],0)]];var f=l(Gr,i);u0(i,7);var o=[0,u,f,m0(0,[0,mx(i)],0)];return x?[21,[0,o,r]]:[20,o]},e))}),C0(PB,function(x){return p(CB,x,p(lx[13],0,x))}),C0(CB,function(x,r){for(var e=[0,r[1],[0,r]];;){var t=e[2],u=e[1];if(W(x)===10&&oB(1,x)){var i=a0([0,u],function(a){return function(y){return u0(y,10),[0,a,_2(y)]}}(t),x),f=i[1],e=[0,f,[1,[0,f,i[2]]]];continue}return t}}),C0(wO,function(x){if(J1(x,0),W(x)===4){$0(x);var r=l(wO,x);u0(x,5);var e=r}else var e=es(x)?[0,l(PB,x)]:(Bx(x,50),0);return W1(x),e}),C0(RB,function(x){return a0(0,function(r){var e=w0(r);u0(r,46);var t=l(wO,r);if(!t)return Ho0;var u=t[1];return[24,[0,u,m0([0,e],0,0)]]},x)}),C0(OB,function(x){var r=Nx(x),e=W(x),t=0;if(typeof e=="number")switch(e){case 4:return l(YB,x);case 6:return l(DB,x);case 46:return l(RB,x);case 53:return a0(0,function(J){var e0=w0(J);$0(J);var i0=l(gO,J),j=i0[2],Y=i0[1];return[15,[0,j,Y,m0([0,e0],0,0)]]},x);case 98:return l(BB,x);case 104:return a0(0,LB,x);case 106:var u=w0(x);return $0(x),[0,r,[10,m0([0,u],[0,mx(x)],0)]];case 125:return a0(0,function(J){var e0=w0(J);$0(J);var i0=mx(J),j=l(Gr,J);return[25,[0,j,m0([0,e0],[0,i0],0)]]},x);case 126:return a0(0,function(J){var e0=w0(J);$0(J);var i0=mx(J),j=l(Gr,J);return[26,[0,j,m0([0,e0],[0,i0],0)]]},x);case 127:return a0(0,function(J){var e0=w0(J);$0(J);var i0=mx(J),j=a0(0,function(Y){var z=l(Mo,Y);function F(t0){if(1-v1(t0,41))throw q0(ns,1);var $=l(xm,t0);if(!t0[16]&&W(t0)===85)throw q0(ns,1);return[1,[0,$[1],$]]}return[0,z,Zd(Y,[0,Nx(Y)],F),1,0,0]},J);return[18,[0,j,m0([0,e0],[0,i0],0)]]},x);case 0:case 2:var i=oe(im,0,1,1,x);return[0,i[1],[14,i[2]]];case 41:case 42:t=1;break;case 30:case 31:var f=w0(x);return $0(x),[0,r,[31,[0,e===31?1:0,m0([0,f],[0,mx(x)],0)]]]}else switch(e[0]){case 2:var o=e[1],a=o[3],y=o[2],h=o[1];o[4]&&Xt(x,80);var k=w0(x);return $0(x),[0,h,[28,[0,y,a,m0([0,k],[0,mx(x)],0)]]];case 4:if(N(e[3],vo))t=1;else{if(x[28][1])return a0(0,function(J){var e0=w0(J);ts(J,Zo0);var i0=xe(J,l($v,J)),j=l(SO,J);if(cO(J))var F=oO(J,l(PO,J)),t0=j;else var Y=[0,wn(J)],z=I1(J)[2],F=Y,t0=p(z,j,function($,f0){return p(qx($,420776873,11),$,f0)});return[13,[0,i0,t0,F,m0([0,e0],0,0)]]},x);t=1}break;case 7:if(!N(e[1],D3))return Bx(x,88),[0,r,$o0];break;case 12:var A=e[3],g=e[2],I=e[1],C=0;return a0(0,function(J){return EB(C,I,g,A,J)},x);case 13:var R=e[3],L=e[2],U=0;return a0(0,function(J){return AB(U,L,R,J)},x)}if(t){var B=l(fm,x);return[0,B[1],[19,B[2]]]}var X=l(MB,x);return X?[0,r,X[1]]:(S1(Fo0,x),[0,r,Qo0])}),C0(LB,function(x){var r=w0(x);$0(x);var e=W(x);if(typeof e!="number")switch(e[0]){case 12:return EB([0,r],e[1],e[2],e[3],x);case 13:return AB([0,r],e[2],e[3],x)}return S1(Wo0,x),Vo0}),C0(UB,function(x){var r=0;if(typeof x=="number")switch(x){case 29:case 114:case 115:case 116:case 117:case 118:case 119:case 120:case 121:case 122:case 123:case 124:r=1;break}else x[0]===11&&(r=1);return r?1:0}),C0(TO,function(x,r){var e=w0(x),t=a0(0,$0,x)[1],u=m0([0,e],[0,mx(x)],0);return[0,[19,[0,[0,hn(0,[0,t,r])],0,u]]]}),C0(MB,function(x){var r=w0(x),e=W(x);if(typeof e=="number")switch(e){case 29:return $0(x),[0,[4,m0([0,r],[0,mx(x)],0)]];case 114:return $0(x),[0,[0,m0([0,r],[0,mx(x)],0)]];case 115:return $0(x),[0,[1,m0([0,r],[0,mx(x)],0)]];case 116:return $0(x),[0,[2,m0([0,r],[0,mx(x)],0)]];case 117:return $0(x),[0,[5,m0([0,r],[0,mx(x)],0)]];case 118:return $0(x),[0,[6,m0([0,r],[0,mx(x)],0)]];case 119:return $0(x),[0,[7,m0([0,r],[0,mx(x)],0)]];case 120:return $0(x),[0,[3,m0([0,r],[0,mx(x)],0)]];case 121:return $0(x),[0,[9,m0([0,r],[0,mx(x)],0)]];case 122:return $0(x),[0,[32,m0([0,r],[0,mx(x)],0)]];case 123:return $0(x),[0,[33,m0([0,r],[0,mx(x)],0)]];case 124:return $0(x),[0,[34,m0([0,r],[0,mx(x)],0)]];case 128:return p(TO,x,Bo0);case 129:return p(TO,x,Xo0)}else if(e[0]===11){var t=e[1];$0(x);var u=mx(x),i=t?-883944824:737456202;return[0,[8,i,m0([0,r],[0,u],0)]]}return 0}),C0(DB,function(x){return a0(0,function(r){var e=w0(r);u0(r,6);for(var t=Bv(0,r),u=0;;){var i=W(t);if(typeof i=="number"){var f=0;if(i!==7&&Er!==i&&(f=1),!f){var o=gx(u);return u0(r,7),[27,[0,o,m0([0,e],[0,mx(r)],0)]]}}var a=[0,a0(0,function(h){if(!v1(h,12)){var k=W(h),A=0;if(typeof k=="number"&&(tt===k||ln===k&&Oo(1,h))){var g=bd(0,0,h);A=1}if(!A)var g=0;var I=es(h),C=hr(1,h);if(I&&typeof C=="number"&&1>=C+Ev>>>0){var R=_2(h),L=v1(h,85);return u0(h,86),[1,[0,R,l(Gr,h),g,L]]}var U=g?1:0;return U&&Bx(h,49),[0,l(Gr,h)]}var B=es(h),X=hr(1,h),J=0;if(B&&typeof X=="number"&&1>=X+Ev>>>0){var e0=_2(h);W(h)===85&&(Bx(h,48),$0(h)),u0(h,86);var i0=[0,e0];J=1}if(!J)var i0=0;return[2,[0,i0,l(Gr,h)]]},t),u];W(t)!==7&&u0(t,9);var u=a}},x)}),C0(v6,function(x,r){return[0,r[1],[0,0,r,0]]}),C0(jB,function(x){return a0(0,function(r){J1(r,0);var e=p(lx[13],0,r);W1(r),1-T1(r)&&Bx(r,_1);var t=v1(r,85);return u0(r,86),[0,[0,e],l(Gr,r),t]},x)});var FB=function(x){var r=hr(1,x);return typeof r=="number"&&1>=r+Ev>>>0?l(jB,x):p(v6,x,l(Gr,x))};C0(Zv,function(x){var r=0;return function(e){for(var t=r,u=e;;){var i=W(x);if(typeof i=="number")switch(i){case 5:case 12:case 113:var f=i===12?[0,a0(0,function(g){var I=w0(g);u0(g,12);var C=m0([0,I],0,0);return[0,FB(g),C]},x)]:0;return[0,t,gx(u),f,0]}else if(i[0]===4&&!N(i[3],fv)){var o=0;if(hr(1,x)!==86&&hr(1,x)!==85&&(o=1),!o){var a=t!==0?1:0,y=a||(u!==0?1:0);y&&Bx(x,93);var h=a0(0,function(I){var C=w0(I);$0(I),W(I)===85&&Bx(I,92);var R=m0([0,C],0,0);return[0,l(u3,I),R]},x);W(x)!==5&&u0(x,9);var t=[0,h];continue}}var k=[0,FB(x),u];W(x)!==5&&u0(x,9);var u=k}}}),C0(tm,function(x){return a0(0,function(r){var e=w0(r);u0(r,4);var t=p(Zv,r,0),u=w0(r);u0(r,5);var i=K1([0,e],[0,mx(r)],u,0);return[0,t[1],t[2],t[3],i]},x)}),C0(zB,function(x,r){for(var e=r;;){var t=W(x);if(typeof t=="number"){var u=t-5|0,i=0;if(7>>0?fn===u&&(i=1):5>>0&&(i=1),i){var f=t===12?[0,a0(0,function(y){var h=w0(y);u0(y,12);var k=hr(1,y),A=0;if(typeof k=="number")if(k===85){J1(y,0);var g=p(lx[13],0,y);W1(y),u0(y,85),u0(y,86);var C=1,R=[0,g]}else if(k===86){J1(y,0);var I=p(lx[13],0,y);W1(y),u0(y,86);var C=0,R=[0,I]}else A=1;else A=1;if(A)var C=0,R=0;var L=l(Gr,y);return[0,R,L,C,m0([0,h],0,0)]},x)]:0;return[0,gx(e),f,0]}}var o=[0,a0(0,function(y){var h=W(y),k=0;if(typeof h!="number"&&h[0]===2){var A=h[1],g=A[4],I=A[3],C=A[2],R=A[1];g&&Xt(y,80),u0(y,[2,[0,R,C,I,g]]);var L=[1,[0,R,[0,C,I,m0(0,[0,mx(y)],0)]]];k=1}if(!k){J1(y,0);var U=p(lx[13],0,y);W1(y);var L=[0,U]}var B=v1(y,85);return[0,L,l(u3,y),B]},x),e];W(x)!==5&&u0(x,9);var e=o}}),C0(SO,function(x){return a0(0,function(r){var e=w0(r);u0(r,4);var t=p(zB,r,0),u=w0(r);u0(r,5);var i=K1([0,e],[0,mx(r)],u,0);return[0,t[1],t[2],i]},x)}),C0(KB,function(x){var r=w0(x);u0(x,4);var e=Bv(0,x),t=W(e),u=0;if(typeof t=="number")switch(t){case 5:var i=Yo0;break;case 42:u=2;break;case 12:case 113:var i=[0,p(Zv,e,0)];break;default:u=1}else t[0]===4?u=2:u=1;switch(u){case 1:if(l(UB,t)){var f=hr(1,e),o=0;if(typeof f=="number"&&1>=f+Ev>>>0){var a=[0,p(Zv,e,0)];o=1}if(!o)var a=[1,l(Gr,e)];var i=a}else var i=[1,l(Gr,e)];break;case 2:var i=l(JB,e);break}if(i[0]===0)var y=i;else{var h=i[1];if(x[15])var k=i;else{var A=W(x),g=0;if(typeof A=="number")if(A===5)var I=hr(1,x)===11?[0,p(Zv,x,[0,p(v6,x,h),0])]:[1,h];else if(A===9){u0(x,9);var I=[0,p(Zv,x,[0,p(v6,x,h),0])]}else g=1;else g=1;if(g)var I=i;var k=I}var y=k}var C=w0(x);u0(x,5);var R=mx(x);if(y[0]===0)var L=y[1],U=K1([0,r],[0,R],C,0),B=[0,[0,L[1],L[2],L[3],U]];else var B=[1,G0($B,y[1],r,R)];return B}),C0(JB,function(x){var r=hr(1,x);if(typeof r=="number"&&1>=r+Ev>>>0)return[0,p(Zv,x,0)];var e=Nx(x),t=p(WB,x,l(Mo,x)),u=l(G0(rm,0,x,e),t),i=l(l(hO,x),u),f=l(p(l(mO,x),0,e),i),o=l(p(l(yO,x),0,e),f);return[1,l(p(pO,eO(0,x),e),o)]}),C0(YB,function(x){var r=Nx(x),e=a0(0,KB,x),t=e[2],u=e[1];return t[0]===0?oe(nm,x,r,0,[0,u,t[1]]):t[1]}),C0(BB,function(x){var r=Nx(x),e=xe(x,l($v,x));return oe(nm,x,r,e,l(tm,x))}),C0(nm,function(x,r,e,t){return a0([0,r],function(u){return u0(u,11),[12,[0,e,t,l(EO,u),0]]},x)}),C0(EO,function(x){return Hd(x)?[1,l(um,x)]:[0,l(Gr,x)]}),C0(um,function(x){return a0(0,function(r){var e=w0(r),t=v1(r,yl);J1(r,0);var u=_2(r);W1(r);var i=W(r),f=0;if(typeof i=="number"&&m1===i){var o=w0(r);u0(r,m1);var a=Fx(o,w0(r)),y=a,h=[0,l(Gr,r)];f=1}if(!f)var y=0,h=0;return[0,t,[0,u,h],K1([0,e],0,y,0)]},x)}),C0(AO,function(x,r){return a0([0,r],um,x)});var cm=function(x,r,e){return a0([0,r],function(t){var u=l(tm,t);return u0(t,86),[0,e,u,l(EO,t),0]},x)},QB=function(x,r,e,t,u){var i=Sn(x,t),f=cm(x,r,xe(x,l($v,x))),o=[0,f[1],[12,f[2]]],a=[0,i,[0,o],0,e!==0?1:0,0,1,0,m0([0,u],0,0)];return[0,[0,o[1],a]]},sm=function(x,r,e,t,u,i,f){var o=f[2],a=f[1];return 1-T1(x)&&Bx(x,_1),[0,a0([0,r],function(y){var h=v1(y,85),k=lB(y,86)?l(Gr,y):[0,a,Jo0];return[0,o,[0,k],h,t!==0?1:0,u!==0?1:0,0,e,m0([0,i],0,0)]},x)]},a6=function(x,r){var e=W(r);if(typeof e=="number"&&10>e)switch(e){case 1:if(!x)return 0;break;case 3:if(x)return 0;break;case 8:case 9:return $0(r)}return Hs(r,9)},l6=function(x,r){return r?ex(x,[0,r[1][1],ut]):0},p6=function(x,r){return r?ex(x,[0,r[1],98]):0},rS0=function(x,r,e,t,u,i,f,o,a){for(var y=e,h=t,k=u,A=i,g=f,I=o;;){var C=W(x);if(typeof C=="number")switch(C){case 6:p6(x,g);var R=hr(1,x);if(typeof R=="number"&&R===6)return l6(x,k),[4,a0([0,a],function(O0){var P0=Fx(I,w0(O0));u0(O0,6),u0(O0,6);var N0=_2(O0);u0(O0,7),u0(O0,7);var J0=W(O0),I0=0;if(typeof J0=="number"){var Q=0;if((J0===4||J0===98)&&(Q=1),Q){var G=cm(O0,a,xe(O0,l($v,O0))),V=0,p0=[0,G[1],[12,G[2]]],d0=1,A0=0;I0=1}}if(!I0){var M=v1(O0,85),L0=mx(O0);u0(O0,86);var V=L0,p0=l(Gr,O0),d0=0,A0=M}return[0,N0,p0,A0,A!==0?1:0,d0,m0([0,P0],[0,V],0)]},x)];var L=Fx(I,w0(x));u0(x,6);var U=hr(1,x);return typeof U!="number"&&U[0]===4&&!N(U[3],mo)&&A===0?[5,a0([0,a],function(O0){var P0=l(Mo,O0),N0=P0[1];$0(O0);var J0=l(Gr,O0);u0(O0,7);var I0=W(O0),Q=0,G=[0,P0,[0,N0],0,0,0];if(typeof I0=="number"){var V=I0+DN|0,p0=0;if(1>>0)if(V===-18){$0(O0);var d0=2}else p0=1;else var d0=V?($0(O0),u0(O0,85),1):($0(O0),u0(O0,85),0);if(!p0){var A0=d0;Q=1}}if(!Q)var A0=3;u0(O0,86);var M=l(Gr,O0);return[0,[0,N0,G],M,J0,k,A0,m0([0,L],[0,mx(O0)],0)]},x)]:[2,a0([0,a],function(O0){if(hr(1,O0)===86){var P0=_2(O0);u0(O0,86);var N0=[0,P0]}else var N0=0;var J0=l(Gr,O0);u0(O0,7);var I0=mx(O0);u0(O0,86);var Q=l(Gr,O0);return[0,N0,J0,Q,A!==0?1:0,k,m0([0,L],[0,I0],0)]},x)];case 42:if(y){if(k!==0)throw q0([0,Tr,Lo0],1);var B=[0,Nx(x)],X=Fx(I,w0(x));$0(x);var y=0,h=0,A=B,I=X;continue}break;case 126:if(k===0){var J=0;if((Oo(1,x)||hr(1,x)===6)&&(J=1),J){var y=0,h=0,k=bd(Uo0,0,x);continue}}break;case 103:case 104:if(k===0){var y=0,h=0,k=bd(0,0,x);continue}break;case 4:case 98:return p6(x,g),l6(x,k),[3,a0([0,a],function(O0){var P0=Nx(O0),N0=cm(O0,P0,xe(O0,l($v,O0)));return[0,N0,A!==0?1:0,m0([0,I],0,0)]},x)]}else if(C[0]===4&&!N(C[3],OP)&&h){if(k!==0)throw q0([0,Tr,Mo0],1);var e0=[0,Nx(x)],i0=Fx(I,w0(x));$0(x);var y=0,h=0,g=e0,I=i0;continue}if(A){var j=A[1];if(g)return Rx(Do0);if(typeof C=="number"&&1>=C+Ev>>>0)return sm(x,a,k,0,g,0,[0,j,[3,hn(m0([0,I],0,0),[0,j,jo0])]])}else if(g){var Y=g[1];if(typeof C=="number"&&1>=C+Ev>>>0)return sm(x,a,k,A,0,0,[0,Y,[3,hn(m0([0,I],0,0),[0,Y,zo0])]])}var z=function(O0){J1(O0,0);var P0=p(lx[20],0,O0);return W1(O0),P0},F=w0(x),t0=z(x),$=t0[1],f0=t0[2];if(f0[0]===3){var c0=f0[1][2][1],v0=0;if(N(c0,Tv)&&N(c0,Oa)&&(v0=1),!v0){var s0=W(x);if(typeof s0=="number"){var o0=s0-5|0;if(92>>0){if(94>=o0+1>>>0)return p6(x,g),l6(x,k),QB(x,a,A,f0,I)}else if(1>=o0+FM>>>0)return sm(x,a,k,A,g,I,[0,$,f0])}Sn(x,f0);var E0=z(x),k0=Nr(c0,Tv),M0=Fx(I,F);return p6(x,g),l6(x,k),[0,a0([0,a],function(O0){var P0=E0[1],N0=Sn(O0,E0[2]),J0=cm(O0,a,0),I0=J0[2][2];if(k0){var Q=I0[2],G=0;if(Q[1])ex(O0,[0,P0,28]),G=1;else{var V=0;Q[2]||Q[3]?V=1:G=1,V&&ex(O0,[0,P0,27])}}else{var p0=I0[2],d0=0;if(p0[1])ex(O0,[0,P0,70]);else{var A0=p0[2],M=0;if(p0[3])ex(O0,[0,P0,69]),M=1;else{var L0=0;A0&&!A0[2]?M=1:L0=1,L0&&(ex(O0,[0,P0,69]),d0=1)}}}var V0=m0([0,M0],0,0),B0=0,vx=0,b0=0,hx=A!==0?1:0,W0=0,T=k0?[1,J0]:[2,J0];return[0,N0,T,W0,hx,b0,vx,B0,V0]},x)]}}var D0=t0[2],cx=W(x);if(typeof cx=="number"){var g0=0;if(cx!==4&&cx!==98&&(g0=1),!g0)return p6(x,g),l6(x,k),QB(x,a,A,D0,I)}var Z0=A!==0?1:0,n0=0;if(D0[0]===3){var nx=D0[1],xx=nx[2][1],yx=0,px=nx[1];if(r){var Tx=0;(Nr(kv,xx)||Z0&&Nr(yo,xx))&&(Tx=1),Tx&&(ex(x,[0,px,[15,xx,Z0,0,0]]),n0=1,yx=1)}}return sm(x,a,k,A,g,I,[0,$,D0])}};C0(im,function(x,r,e,t){var u=r&&(W(t)===2?1:0),i=r&&1-u;return a0(0,function(f){var o=w0(f),a=u?2:0;u0(f,a);for(var y=Bv(0,f),h=Ko0;;){var k=h[3],A=h[2],g=h[1];if(x&&e)throw q0([0,Tr,Ro0],1);if(i&&!e)throw q0([0,Tr,Oo0],1);var I=Nx(y),C=W(y);if(typeof C=="number"){var R=0;if(13<=C){if(Er===C){var L=[0,gx(g),A,k];R=1}}else if(C)switch(C-1|0){case 0:if(!u){var L=[0,gx(g),A,k];R=1}break;case 2:if(u){var L=[0,gx(g),A,k];R=1}break;case 11:if(!e){$0(y);var U=W(y);if(typeof U=="number"&&10>U)switch(U){case 1:case 3:case 8:case 9:ex(y,[0,I,36]),a6(u,y);continue}var B=iO(y);l(nO(y),B),ex(y,[0,I,Pt]),$0(y),a6(u,y);continue}var X=w0(y);$0(y);var J=W(y),e0=0;if(typeof J=="number"&&10>J)switch(J){case 1:case 3:case 8:case 9:a6(u,y);var i0=W(y),j=0;if(typeof i0=="number"){var Y=i0-1|0;if(2>=Y>>>0)switch(Y){case 0:if(i){var L=[0,gx(g),1,X];R=1,e0=1,j=1}break;case 1:break;default:ex(y,[0,I,35]);var L=[0,gx(g),A,k];R=1,e0=1,j=1}}if(!j){ex(y,[0,I,96]);continue}break}if(!e0){var z=[1,a0([0,I],function(E0){return function(k0){var M0=m0([0,E0],0,0);return[0,l(Gr,k0),M0]}}(X),y)];a6(u,y);var h=[0,[0,z,g],A,k];continue}break}if(R){var F=L[3],t0=L[2],$=L[1],f0=Fx(F,w0(f)),c0=u?3:1;return u0(f,c0),[0,u,t0,$,K1([0,o],[0,mx(f)],f0,0)]}}var v0=rS0(y,x,x,x,0,0,0,0,I);a6(u,y);var h=[0,[0,v0,g],A,k]}},t)}),C0(gO,function(x){if(v1(x,41))for(var r=0;;){var e=[0,l(fm,x),r],t=W(x);if(typeof t=="number"&&t===9){u0(x,9);var r=e;continue}var u=mB(x,gx(e));break}else var u=0;return[0,u,oe(im,0,0,0,x)]}),C0(Mo,function(x){var r=_2(x),e=r[2],t=e[1],u=r[1],i=e[2];return uO(t)&&ex(x,[0,u,Uc]),[0,u,[0,t,i]]}),C0(XB,function(x){return a0(0,function(r){var e=l(Mo,r),t=W(r),u=0;if(typeof t=="number")if(t===41)var i=1,f=i,o=[1,a0(0,function(a){return $0(a),l(Gr,a)},r)];else if(t===86)var f=0,o=[1,l(u3,r)];else u=1;else u=1;if(u)var f=0,o=[0,wn(r)];return[0,e,o,f]},x)});var HB=function(x,r){var e=fB(x,r);if(e)var t=e;else{var u=0;if(typeof r=="number"&&1>=r+DN>>>0){var i=1;u=1}if(!u)var i=0;if(!i){var f=0;if(typeof r=="number")switch(r){case 15:case 29:case 30:case 31:case 41:case 42:case 46:case 53:case 114:case 115:case 116:case 117:case 118:case 119:case 120:case 121:case 122:case 123:case 124:case 125:case 126:f=1;break}else switch(r[0]){case 4:if(uO(r[3]))return 1;break;case 11:f=1;break}return f?1:0}var t=i}return t};C0($v,function(x){if(W(x)!==98)return 0;1-T1(x)&&Bx(x,_1);var r=a0(0,function(t){var u=w0(t);u0(t,98);for(var i=0,f=0;;){if(HB(t,W(t)))var o=Qd(0,function(J){return function(e0){var i0=bd(0,Co0,e0),j=l(XB,e0),Y=j[2],z=Y[3],F=Y[2],t0=Y[1],$=j[1],f0=W(e0),c0=0;if(typeof f0=="number"&&f0===82){$0(e0);var v0=1,s0=[0,l(Gr,e0)];c0=1}if(!c0){J&&ex(e0,[0,$,56]);var v0=J,s0=0}return[0,[0,t0,F,z,i0,s0],v0]}}(i),t),a=o[2],y=[0,o[1],f];else var a=i,y=f;var h=W(t),k=0;if(typeof h=="number"){var A=h+pz|0;if(14>>0){if(A===-90){$0(t);var i=a,f=y;continue}}else if(12>>0){var g=gx(y);k=1}}if(!k){var I=0;if(typeof h=="number")switch(h){case 4:case 82:I=2;break}else if(h[0]===4){var C=h[3],R=0;if(Bd(C))R=1;else{var L=0;if(N(C,_v)&&N(C,U2)){var U=0;L=1}if(!L)var U=1;if(U)R=1;else if(N(C,cl))(!N(C,dv)||!N(C,bu))&&(I=2);else if(t[28][2]){var B=1;I=1}}if(R){var B=1;I=1}}switch(I){case 0:var B=0;break;case 2:var B=1;break}if(!B){if(HB(t,h)){Hs(t,9);var i=a,f=y;continue}u0(t,9);var i=a,f=y;continue}Hs(t,99);var g=gx(y)}var X=w0(t);return Vd(t,99),[0,g,K1([0,u],[0,mx(t)],X,0)]}},x),e=r[1];return r[2][1]||ex(x,[0,e,55]),[0,r]}),C0(NO,function(x){return W(x)===98?[0,a0(0,function(r){var e=w0(r);u0(r,98);for(var t=Bv(0,r),u=0;;){var i=W(t);if(typeof i=="number"){var f=0;if(i!==99&&Er!==i&&(f=1),!f){var o=gx(u),a=w0(t);return u0(t,99),[0,o,K1([0,e],[0,mx(t)],a,0)]}}var y=[0,l(Gr,t),u];W(t)!==99&&u0(t,9);var u=y}},x)]:0}),C0(fm,function(x){return p(IO,x,l(Mo,x))}),C0(IO,function(x,r){function e(t){for(var u=[0,r[1],[0,r]];;){var i=u[2],f=u[1];if(W(t)===10&&Xd(1,t)){var o=a0([0,f],function(A){return function(g){return u0(g,10),[0,A,l(Mo,g)]}}(i),t),a=o[1],u=[0,a,[1,[0,a,o[2]]]];continue}if(W(t)===98)var y=I1(t)[2],h=p(y,i,function(k,A){return p(qx(k,-860373976,60),k,A)});else var h=i;return[0,h,l(NO,t),0]}}return a0([0,r[1]],e,x)}),C0(WB,function(x,r){var e=p(IO,x,r);return[0,e[1],[19,e[2]]]}),C0(VB,function(x){var r=W(x);return typeof r=="number"&&r===86?l(gB,x):[0,wn(x)]}),C0(ZB,function(x){var r=W(x);return typeof r=="number"&&r===86?[1,l(u3,x)]:[0,wn(x)]}),C0(PO,function(x){var r=W(x);return typeof r!="number"&&r[0]===4&&!N(r[3],$1)?(1-T1(x)&&Bx(x,_1),$0(x),[1,a0(0,function(e){return l(Gr,e)},x)]):[0,wn(x)]}),C0($B,function(x,r,e){var t=x[2],u=x[1];function i(Q){return g2(Q,m0([0,r],[0,e],0))}switch(t[0]){case 0:var I0=[0,i(t[1])];break;case 1:var I0=[1,i(t[1])];break;case 2:var I0=[2,i(t[1])];break;case 3:var I0=[3,i(t[1])];break;case 4:var I0=[4,i(t[1])];break;case 5:var I0=[5,i(t[1])];break;case 6:var I0=[6,i(t[1])];break;case 7:var I0=[7,i(t[1])];break;case 8:var f=i(t[2]),I0=[8,t[1],f];break;case 9:var I0=[9,i(t[1])];break;case 10:var I0=[10,i(t[1])];break;case 11:var o=t[1],a=i(o[2]),I0=[11,[0,o[1],a]];break;case 12:var y=t[1],h=i(y[4]),I0=[12,[0,y[1],y[2],y[3],h]];break;case 13:var k=t[1],A=i(k[4]),I0=[13,[0,k[1],k[2],k[3],A]];break;case 14:var g=t[1],I=g[4],C=YR(I,m0([0,r],[0,e],0)),I0=[14,[0,g[1],g[2],g[3],C]];break;case 15:var R=t[1],L=i(R[3]),I0=[15,[0,R[1],R[2],L]];break;case 16:var U=t[1],B=i(U[2]),I0=[16,[0,U[1],B]];break;case 17:var X=t[1],J=i(X[5]),I0=[17,[0,X[1],X[2],X[3],X[4],J]];break;case 18:var e0=t[1],i0=i(e0[2]),I0=[18,[0,e0[1],i0]];break;case 19:var j=t[1],Y=i(j[3]),I0=[19,[0,j[1],j[2],Y]];break;case 20:var z=t[1],F=i(z[3]),I0=[20,[0,z[1],z[2],F]];break;case 21:var t0=t[1],$=t0[1],f0=t0[2],c0=i($[3]),I0=[21,[0,[0,$[1],$[2],c0],f0]];break;case 22:var v0=t[1],s0=i(v0[2]),I0=[22,[0,v0[1],s0]];break;case 23:var o0=t[1],E0=i(o0[2]),I0=[23,[0,o0[1],E0]];break;case 24:var k0=t[1],M0=i(k0[2]),I0=[24,[0,k0[1],M0]];break;case 25:var D0=t[1],cx=i(D0[2]),I0=[25,[0,D0[1],cx]];break;case 26:var g0=t[1],Z0=i(g0[2]),I0=[26,[0,g0[1],Z0]];break;case 27:var n0=t[1],nx=i(n0[2]),I0=[27,[0,n0[1],nx]];break;case 28:var xx=t[1],yx=i(xx[3]),I0=[28,[0,xx[1],xx[2],yx]];break;case 29:var px=t[1],Tx=i(px[3]),I0=[29,[0,px[1],px[2],Tx]];break;case 30:var O0=t[1],P0=i(O0[3]),I0=[30,[0,O0[1],O0[2],P0]];break;case 31:var N0=t[1],J0=i(N0[2]),I0=[31,[0,N0[1],J0]];break;case 32:var I0=[32,i(t[1])];break;case 33:var I0=[33,i(t[1])];break;default:var I0=[34,i(t[1])]}return[0,u,I0]});var qB=function(x,r){if(W(x)!==4)return[0,0,m0([0,r],[0,mx(x)],0)];var e=Fx(r,w0(x));u0(x,4),J1(x,0);var t=l(lx[9],x);return W1(x),u0(x,5),[0,[0,t],m0([0,e],[0,mx(x)],0)]},eS0=function(x){var r=w0(x);return u0(x,66),qB(x,r)},tS0=0,GB=function(x){var r=Bv(0,x),e=W(r);return typeof e=="number"&&e===66?[0,a0(tS0,eS0,r)]:0},nS0=function(x){var r=W(x);if(typeof r=="number"&&r===86){1-T1(x)&&Bx(x,_1);var e=wn(x),t=Nx(x);u0(x,86);var u=W(x);if(typeof u=="number"&&u===66){var i=Bv(0,x);return[0,[0,e],[0,a0([0,t],function(a){var y=w0(a);return u0(a,66),qB(a,y)},i)]]}if(Hd(x))return[0,[2,p(AO,x,t)],0];var f=[1,a0([0,t],Gr,x)],o=W(x)===66?t3(x,f):f;return[0,o,GB(x)]}return[0,[0,wn(x)],0]},ye=function(x,r){var e=Qs(1,r);J1(e,1);var t=l(x,e);return W1(e),t},qs=function(x){return ye(Gr,x)},us=function(x){return ye(Mo,x)},Ve=function(x){return ye($v,x)},bB=function(x){return ye(NO,x)},Fv=function(x){return ye(u3,x)},xX=function(x){return ye(ZB,x)},CO=function(x){return ye(VB,x)},RO=function(x){return ye(nS0,x)},rX=function(x){return ye(fm,x)},eX=function(x){return ye(PO,x)},uS0=SB(lx),Do=function(x,r){var e=r[2],t=r[1],u=x[1];switch(e[0]){case 0:return b1(iS0,x,e[1][1]);case 1:return b1(fS0,x,e[1][1]);case 2:var i=e[1][1],f=i[2][1],o=x[2],a=x[1],y=i[1];p(h2[3],f,o)&&ex(a,[0,y,81]);var h=i[2][1],k=i[1];return Xv(h)&&vt(a,[0,k,82]),r3(h)&&vt(a,[0,k,84]),[0,a,p(h2[4],f,o)];default:return ex(u,[0,t,24]),x}},iS0=function(x){return function(r){return r[0]===0?Do(x,r[1][2][2]):Do(x,r[1][2][1])}},fS0=function(x){return function(r){switch(r[0]){case 0:return Do(x,r[1][2][1]);case 1:return Do(x,r[1][2][1]);default:return x}}},tX=function(x,r){var e=r[2],t=e[3],u=e[2],i=[0,x,h2[1]],f=b1(function(o,a){return Do(o,a[2][1])},i,u);return t&&Do(f,t[1][2][1]),0},nX=function(x,r,e,t){var u=x[5],i=t[0]===0?Vv(t[1]):0,f=Qs(u?0:r,x),o=r||u||1-i;if(!o)return o;if(e){var a=e[1],y=a[2][1],h=a[1];Xv(y)&&vt(f,[0,h,74]),r3(y)&&vt(f,[0,h,84])}if(t[0]===0)return tX(f,t[1]);var k=t[1][2],A=k[2],g=k[1],I=[0,Ja,[0,[0,Hc(function(R){var L=R[2],U=L[1],B=L[4],X=L[3],J=L[2],e0=U[0]===0?[3,U[1]]:[0,[0,Ja,U[1][2]]];return[0,[0,Ja,[0,e0,J,X,B]]]},g),[0,Ja],0]]],C=Do([0,f,h2[1]],I);return A&&Do(C,A[1][2][1]),0},i3=function(x,r,e,t){return nX(x,r,e,[0,t])},uX=function(x,r){if(r!==12)return 0;var e=w0(x),t=a0(0,function(f){return u0(f,12),p(lx[18],f,82)},x),u=t[2],i=t[1];return[0,[0,i,u,m0([0,e],0,0)]]},OO=function x(r,e){return x.fun(r,e)},cS0=function(x){W(x)===21&&Bx(x,93);var r=p(lx[18],x,82),e=W(x)===82?(u0(x,82),[0,l(lx[10],x)]):0;return[0,r,e]},sS0=0;C0(OO,function(x,r){var e=W(x);if(typeof e=="number"){var t=e-5|0,u=0;if(7>>0?fn===t&&(u=1):5>>0&&(u=1),u){var i=uX(x,e),f=Fy(function(a){return[0,a[1],[0,a[2],a[3]]]},i);return W(x)!==5&&Bx(x,65),[0,gx(r),f]}}var o=a0(sS0,cS0,x);return W(x)!==5&&u0(x,9),p(OO,x,[0,o,r])});var f3=function(x,r){function e(u){var i=xB(1,bR(r,xO(x,u))),f=w0(i);u0(i,4);var o=0;if(T1(i)&&W(i)===21){var a=w0(i),y=a0(0,function(B){return u0(B,21),W(B)===86?[0,Fv(B)]:(Bx(B,89),0)},i),h=y[2],k=y[1];if(h){var A=h[1];W(i)===9&&$0(i);var g=[0,[0,k,[0,A,m0([0,a],0,0)]]]}else var g=0}else o=1;if(o)var g=0;var I=p(OO,i,0),C=I[2],R=I[1],L=w0(i);return u0(i,5),[0,g,R,C,K1([0,f],[0,mx(i)],L,0)]}var t=0;return function(u){return a0(t,e,u)}},iX=function(x,r,e,t,u){var i=iB(x,r,e,u);return p(lx[16],t,i)},y6=function(x,r,e,t,u){var i=iX(x,r,e,t,u);return[0,[0,i[1]],i[2]]},c3=function(x){if(_1!==W(x))return Bv0;var r=w0(x);return $0(x),[0,1,r]},om=function(x){if(W(x)===64&&!n6(1,x)){var r=w0(x);return $0(x),[0,1,r]}return Yv0},oS0=function(x){var r=om(x),e=r[1],t=r[2],u=a0(0,function(R){var L=w0(R);u0(R,15);var U=c3(R),B=U[1],X=Ll([0,t,[0,L,[0,U[2],0]]]),J=R[7],e0=W(R),i0=0;if(J&&typeof e0=="number"){if(e0===4){var F=0,t0=0;i0=1}else if(e0===98){var j=xe(R,Ve(R)),Y=W(R)===4?0:[0,Tn(R,p(lx[13],jv0,R))],F=Y,t0=j;i0=1}}if(!i0)var z=es(R)?Tn(R,p(lx[13],zv0,R)):(aB(R,Kv0),[0,Nx(R),Jv0]),F=[0,z],t0=xe(R,Ve(R));var $=l(f3(e,B),R),f0=W(R)===86?$:c6(R,$),c0=RO(R),v0=c0[2],s0=c0[1];if(v0)var o0=dB(R,v0),E0=s0;else var o0=v0,E0=t3(R,s0);return[0,B,t0,F,f0,E0,o0,X]},x),i=u[2],f=i[4],o=i[3],a=i[1],y=i[7],h=i[6],k=i[5],A=i[2],g=u[1],I=y6(x,e,a,0,Vv(f)),C=I[1];return i3(x,I[2],o,f),[26,[0,o,f,C,e,a,h,k,A,m0([0,y],0,0),g]]},vS0=0,d6=function(x){return a0(vS0,oS0,x)},LO=function(x,r){var e=w0(r);u0(r,x);var t=r[28][2];if(t)var u=x===27?1:0,i=u&&(W(r)===48?1:0);else var i=t;i&&Bx(r,23);for(var f=0,o=0;;){var a=a0(0,function(I){var C=p(lx[18],I,85);if(v1(I,82))var R=0,L=[0,l(lx[10],I)];else{var U=C[1];if(C[2][0]===2)var R=0,L=0;else var R=[0,[0,U,62]],L=0}return[0,[0,C,L],R]},r),y=a[2],h=y[2],k=[0,[0,a[1],y[1]],f],A=h?[0,h[1],o]:o;if(v1(r,9)){var f=k,o=A;continue}var g=gx(A);return[0,gx(k),e,g]}},aS0=24,fX=function(x){return LO(aS0,x)},cX=function(x){var r=LO(27,rO(1,x)),e=r[1],t=r[3],u=r[2];return[0,e,u,gx(b1(function(i,f){return f[2][2]?i:[0,[0,f[1],61],i]},t,e))]},sX=function(x){return LO(28,rO(1,x))},oX=function(x){function r(t){return[19,p(uS0[1],x,t)]}var e=0;return function(t){return a0(e,r,t)}},UO=function x(r,e){return x.fun(r,e)},lS0=function(x){var r=w0(x),e=W(x),t=hr(1,x),u=0;if(typeof e!="number"&&e[0]===2&&typeof t!="number"&&t[0]===4){var i=e[1],f=i[4],o=i[3],a=i[2],y=i[1];if(!N(t[3],Ct)){f&&Xt(x,80),u0(x,[2,[0,y,a,o,f]]);var h=[1,[0,y,[0,a,o,m0([0,r],[0,mx(x)],0)]]];ts(x,Mv0);var k=0,A=p(lx[18],x,82),g=h;u=1}}if(!u){var I=0;if(typeof t!="number"&&t[0]===4&&!N(t[3],Ct)){var C=[0,_2(x)];ts(x,Dv0);var k=0,A=p(lx[18],x,82),g=C;I=1}if(!I)var R=G0(lx[14],x,0,82),L=R[2],k=1,A=[0,R[1],[2,L]],g=[0,L[1]]}var U=W(x)===82?(u0(x,82),[0,l(lx[10],x)]):0;return[0,g,A,U,k]},pS0=0;C0(UO,function(x,r){var e=W(x);if(typeof e=="number"){var t=e-5|0,u=0;if(7>>0?fn===t&&(u=1):5>>0&&(u=1),u){var i=uX(x,e),f=Fy(function(a){return[0,a[1],[0,a[2],a[3]]]},i);return W(x)!==5&&Bx(x,65),[0,gx(r),f]}}var o=a0(pS0,lS0,x);return W(x)!==5&&u0(x,9),p(UO,x,[0,o,r])});var yS0=function(x){var r=xB(1,x),e=w0(r);u0(r,4);var t=p(UO,r,0),u=t[2],i=t[1],f=w0(r);return u0(r,5),[0,i,u,K1([0,e],[0,mx(r)],f,0)]},dS0=0,mS0=function(x){var r=a0(0,function(k){var A=w0(k);ts(k,Lv0);var g=Tn(k,p(lx[13],Uv0,k)),I=xe(k,Ve(k)),C=a0(dS0,yS0,k);if(cO(k))var L=C;else var R=I1(k)[2],L=p(R,C,function(U,B){return p(qx(U,842685896,10),U,B)});return[0,I,g,L,oO(k,eX(k)),A]},x),e=r[2],t=e[3],u=e[2],i=e[5],f=e[4],o=e[1],a=r[1],y=iX(x,0,0,0,0),h=y[1];return nX(x,y[2],[0,u],[1,t]),[3,[0,u,o,t,f,h,m0([0,i],0,0),a]]},kS0=0,MO=function(x){return a0(kS0,mS0,x)},v2=function(x,r){if(r[0]===0)return r[1];var e=r[2][1],t=r[1];return S2(function(u){return ex(x,u)},e),t},DO=function(x,r,e){var t=x?x[1]:40;if(e[0]===0)var u=e[1];else{var i=e[2][2],f=e[1];S2(function(k){return ex(r,k)},i);var u=f}1-l(lx[23],u)&&ex(r,[0,u[1],t]);var o=u[2],a=0;if(o[0]===8){var y=u[1];Xv(o[1][2][1])&&(vt(r,[0,y,75]),a=1)}return p(lx[19],r,u)},jO=function(x,r){var e=Qc(x[2],r[2]);return[0,Qc(x[1],r[1]),e]},vX=function(x){var r=gx(x[2]);return[0,gx(x[1]),r]},aX=function(x,r){var e=x[0]===0?x[1]:x[1]-1|0,t=(r[0]===0,r[1]);return t<=e?1:0},s3=function x(r){return x.fun(r)},Wt=function x(r){return x.fun(r)},lX=function x(r){return x.fun(r)},zO=function x(r){return x.fun(r)},pX=function x(r){return x.fun(r)},KO=function x(r){return x.fun(r)},yX=function x(r){return x.fun(r)},dX=function x(r){return x.fun(r)},m6=function x(r){return x.fun(r)},JO=function x(r){return x.fun(r)},YO=function x(r){return x.fun(r)},BO=function x(r){return x.fun(r)},mX=function x(r){return x.fun(r)},XO=function x(r){return x.fun(r)},vm=function x(r){return x.fun(r)},WO=function x(r){return x.fun(r)},kX=function x(r){return x.fun(r)},Qv=function x(r,e,t,u,i){return x.fun(r,e,t,u,i)},VO=function x(r,e,t,u){return x.fun(r,e,t,u)},ZO=function x(r){return x.fun(r)},am=function x(r){return x.fun(r)},$O=function x(r){return x.fun(r)},FO=function x(r,e,t,u,i){return x.fun(r,e,t,u,i)},hX=function x(r,e,t,u){return x.fun(r,e,t,u)},QO=function x(r){return x.fun(r)},lm=function x(r,e,t){return x.fun(r,e,t)},_X=function x(r){return x.fun(r)},pm=function x(r,e,t){return x.fun(r,e,t)},HO=function x(r){return x.fun(r)},wX=function x(r){return x.fun(r)},qO=function x(r,e){return x.fun(r,e)},GO=function x(r,e,t,u){return x.fun(r,e,t,u)},TX=function x(r){return x.fun(r)},bO=function x(r,e,t){return x.fun(r,e,t)},SX=function x(r){return x.fun(r)},EX=function x(r){return x.fun(r)},xL=function x(r){return x.fun(r)},ym=function x(r,e,t){return x.fun(r,e,t)},hS0=function(x){var r=x[2];switch(r[0]){case 21:var e=r[1],t=e[1][2][1];if(N(t,R2)){if(!N(t,iv)&&!N(e[2][2][1],RS))return 0}else if(!N(e[2][2][1],pl))return 0;break;case 0:case 8:case 20:case 23:break;default:return 0}return 1},rL=function(x){var r=Nx(x),e=l(KO,x),t=l(pX,x);if(!t)return e;var u=t[1];return[0,a0([0,r],function(i){var f=DO(0,i,e);return[2,[0,u,f,l(Wt,i),0]]},x)]},_S0=function(x,r){if(typeof r=="number"&&r===84)return 0;throw q0(ns,1)},AX=function(x){var r=Yd(_S0,x),e=rL(r),t=W(r);if(typeof t=="number"){if(t===11)throw q0(ns,1);if(t===86){var u=nB(r),i=0;if(u){var f=u[1];if(typeof f=="number"&&f===5){var o=1;i=1}}if(!i)var o=0;if(o)throw q0(ns,1)}}if(!es(r))return e;if(e[0]===0){var a=e[1][2];if(a[0]===8&&!N(a[1][2][1],ko)&&!b2(r))throw q0(ns,1)}return e};C0(s3,function(x){var r=es(x);if(r){var e=W(x),t=0;if(typeof e=="number"){if(e===58){if(x[18]){var u=0;t=1}}else if(e===65&&x[19]){var u=0;t=1}}if(!t)var u=1;var i=u}else var i=r;var f=W(x),o=0;if(typeof f=="number"){var a=0;if(22<=f)if(f===58){if(x[18])return[0,l(lX,x)];a=1}else f!==98&&(a=1);else f!==4&&21>f&&(a=1);a||(o=1)}if(!o&&!i)return rL(x);var y=0;if(f===64&&T1(x)&&hr(1,x)===98){var h=AX,k=xL;y=1}if(!y)var h=xL,k=AX;var A=sO(x,k);if(A)return A[1];var g=sO(x,h);return g?g[1]:rL(x)}),C0(Wt,function(x){return v2(x,l(s3,x))}),C0(lX,function(x){return a0(0,function(r){r[10]&&Bx(r,Ns);var e=w0(r),t=Nx(r);u0(r,58);var u=Nx(r);if(e3(r))var i=0,f=0;else{var o=v1(r,_1),a=W(r),y=0;if(typeof a=="number"){var h=0;if(a===86)h=1;else if(10>a)switch(a){case 0:case 2:case 3:case 4:case 6:break;default:h=1}if(h){var k=0;y=1}}if(!y)var k=1;var A=0;if(!o&&!k){var g=0;A=1}if(!A)var g=[0,l(Wt,r)];var i=o,f=g}var I=f?0:mx(r),C=i1(t,u);return[35,[0,f,m0([0,e],[0,I],0),i,C]]},x)}),C0(zO,function(x){var r=x[2];switch(r[0]){case 21:var e=r[1],t=e[1][2][1];if(N(t,R2)){if(!N(t,iv)&&!N(e[2][2][1],RS))return 0}else if(!N(e[2][2][1],pl))return 0;break;case 8:case 20:break;default:return 0}return 1}),C0(pX,function(x){var r=W(x),e=0;if(typeof r=="number"){var t=r-67|0;if(15>=t>>>0){switch(t){case 0:var u=t30;break;case 1:var u=n30;break;case 2:var u=u30;break;case 3:var u=i30;break;case 4:var u=f30;break;case 5:var u=c30;break;case 6:var u=s30;break;case 7:var u=o30;break;case 8:var u=v30;break;case 9:var u=a30;break;case 10:var u=l30;break;case 11:var u=p30;break;case 12:var u=y30;break;case 13:var u=d30;break;case 14:var u=m30;break;default:var u=k30}var i=u;e=1}}if(!e)var i=0;return i!==0&&$0(x),i}),C0(KO,function(x){var r=Nx(x),e=l(dX,x);if(W(x)!==85)return e;$0(x);var t=l(Wt,e6(0,x));u0(x,86);var u=a0([0,r],Wt,x),i=u[2],f=u[1];return[0,[0,f,[6,[0,v2(x,e),t,i,0]]]]}),C0(yX,function(x){return v2(x,l(KO,x))});var eL=function(x,r,e,t,u){var i=v2(x,r);return[0,[0,u,[19,[0,t,i,v2(x,e),0]]]]},tL=function(x,r,e){for(var t=r,u=e;;){var i=W(x);if(typeof i=="number"&&i===88){$0(x);var f=a0(0,m6,x),o=f[2],a=i1(u,f[1]),y=nL(0,x,eL(x,t,o,1,a),a),t=y[2],u=y[1];continue}return[0,u,t]}},gX=function(x,r,e){for(var t=r,u=e;;){var i=W(x);if(typeof i=="number"&&i===87){$0(x);var f=a0(0,m6,x),o=tL(x,f[2],f[1]),a=o[2],y=i1(u,o[1]),h=nL(0,x,eL(x,t,a,0,y),y),t=h[2],u=h[1];continue}return[0,u,t]}},nL=function(x,r,e,t){for(var u=x,i=e,f=t;;){var o=W(r);if(typeof o=="number"&&o===84){1-u&&Bx(r,e30),u0(r,84);var a=a0(0,m6,r),y=a[2],h=a[1],k=W(r),A=0;if(typeof k=="number"&&1>=k-87>>>0){Bx(r,[19,ZR(k)]);var g=tL(r,y,h),I=gX(r,g[2],g[1]),C=I[2],R=I[1];A=1}if(!A)var C=y,R=h;var L=i1(f,R),u=1,i=eL(r,i,C,2,L),f=L;continue}return[0,f,i]}};C0(dX,function(x){var r=a0(0,m6,x),e=r[2],t=r[1],u=W(x),i=0;if(typeof u=="number"&&u===84){var o=nL(1,x,e,t);i=1}if(!i)var f=tL(x,e,t),o=gX(x,f[2],f[1]);return o[2]});var uL=function(x,r,e,t){return[0,t,[3,[0,e,x,r,0]]]},wS0=function(x,r){var e=r;x:for(;;){var t=a0(0,function(b0){var hx=l(JO,b0)!==0?1:0;return[0,hx,l(YO,e6(0,b0))]},x),u=t[2],i=u[2],f=u[1],o=t[1],a=W(x);if(a===98){var y=0;i[0]===0&&i[1][2][0]===10&&(Bx(x,2),y=1)}var h=0;if(typeof a!="number"&&a[0]===4){var k=a[3],A=0;if((!N(k,Ct)||!N(k,BD))&&(A=1),A&&T1(x)){$0(x);var g=v2(x,i),I=0;if(e){var C=e[1],R=C[2],L=e[2],U=C[3],B=R[1],X=C[1];if(aX(R[2],La0)){var J=uL(X,g,B,i1(U,o)),e0=L;I=1}}if(!I)var J=g,e0=e;var i0=J[1];if(Nr(k,BD))var j=qs(x),F=j[1],t0=[1,j];else if(W(x)===27){var Y=Nx(x);$0(x);var F=Y,t0=0}else var z=qs(x),F=z[1],t0=[0,z];var $=[0,[0,i1(i0,F),[32,[0,J,t0,0]]]],f0=e0;h=1}}if(!h)var $=i,f0=e;var c0=W(x),v0=0;if(typeof c0=="number"){var s0=c0-17|0,o0=0;if(1>>0)if(72<=s0){var E0=0;switch(s0-72|0){case 0:var k0=Ua0;break;case 1:var k0=Ma0;break;case 2:var k0=Da0;break;case 3:var k0=ja0;break;case 4:var k0=za0;break;case 5:var k0=Ka0;break;case 6:var k0=Ja0;break;case 7:var k0=Ya0;break;case 8:var k0=Ba0;break;case 9:var k0=Xa0;break;case 10:var k0=Wa0;break;case 11:var k0=Va0;break;case 12:var k0=Za0;break;case 13:var k0=$a0;break;case 14:var k0=Fa0;break;case 15:var k0=Qa0;break;case 16:var k0=Ha0;break;case 17:var k0=qa0;break;case 18:var k0=Ga0;break;case 19:var k0=ba0;break;default:o0=1,E0=1}if(!E0)var M0=k0}else o0=1;else var M0=s0?x30:x[12]?0:r30;if(!o0){var D0=M0;v0=1}}if(!v0)var D0=0;if(D0!==0&&$0(x),!f0&&!D0)return $;if(!D0)for(var cx=v2(x,$),g0=o,Z0=f0;;){if(!Z0)return[0,cx];var n0=Z0[1],nx=Z0[2],xx=n0[2][1],yx=n0[1],px=i1(n0[3],g0),cx=uL(yx,cx,xx,px),g0=px,Z0=nx}var Tx=D0[1],O0=Tx[1],P0=Tx[2],N0=f&&(O0===14?1:0);N0&&ex(x,[0,o,41]);for(var J0=v2(x,$),I0=[0,O0,P0],Q=o,G=f0;;){var V=I0[2],p0=I0[1];if(G){var d0=G[1],A0=d0[2],M=G[2],L0=d0[3],V0=A0[1],B0=d0[1];if(aX(A0[2],V)){var vx=i1(L0,Q),J0=uL(B0,J0,V0,vx),I0=[0,p0,V],Q=vx,G=M;continue}}var e=[0,[0,J0,[0,p0,V],Q],G];continue x}}};C0(m6,function(x){return wS0(x,0)}),C0(JO,function(x){var r=W(x);if(typeof r=="number"){if(48<=r){if(tt<=r){if(ut>r)switch(r+DN|0){case 0:return Aa0;case 1:return ga0;case 6:return Na0;case 7:return Ia0}}else if(r===65&&x[19])return x[10]&&Bx(x,7),Pa0}else if(45<=r)switch(r+mE|0){case 0:return Ca0;case 1:return Ra0;default:return Oa0}}return 0}),C0(YO,function(x){var r=Nx(x),e=w0(x),t=l(JO,x);if(t){var u=t[1];$0(x);var i=a0([0,r],BO,x),f=i[2],o=i[1],a=0;if(u===6){var y=f[2],h=0;switch(y[0]){case 8:vt(x,[0,o,72]),h=1;break;case 20:y[1][2][0]===1&&ex(x,[0,o,66]),h=1;break}h&&(a=1)}return[0,[0,o,[33,[0,u,f,m0([0,e],0,0)]]]]}var k=W(x),A=0;if(typeof k=="number")if(ut===k)var g=Ea0;else if(fe===k)var g=Sa0;else A=1;else A=1;if(A)var g=0;if(!g)return l(mX,x);var I=g[1];$0(x);var C=a0([0,r],BO,x),R=C[2],L=C[1];1-l(zO,R)&&ex(x,[0,R[1],40]);var U=R[2],B=0;return U[0]===8&&Xv(U[1][2][1])&&(Xt(x,77),B=1),[0,[0,L,[34,[0,I,R,1,m0([0,e],0,0)]]]]}),C0(BO,function(x){return v2(x,l(YO,x))}),C0(mX,function(x){var r=l(XO,x);if(b2(x))return r;var e=W(x),t=0;if(typeof e=="number")if(ut===e)var u=Ta0;else if(fe===e)var u=wa0;else t=1;else t=1;if(t)var u=0;if(!u)return r;var i=u[1],f=v2(x,r);1-l(zO,f)&&ex(x,[0,f[1],40]);var o=f[2],a=0;o[0]===8&&Xv(o[1][2][1])&&(Xt(x,76),a=1);var y=Nx(x);$0(x);var h=mx(x),k=i1(f[1],y);return[0,[0,k,[34,[0,i,f,0,m0(0,[0,h],0)]]]]}),C0(XO,function(x){var r=Nx(x),e=1-x[17],t=0,u=x[17]===0?x:[0,x[1],x[2],x[3],x[4],x[5],x[6],x[7],x[8],x[9],x[10],x[11],x[12],x[13],x[14],x[15],x[16],t,x[18],x[19],x[20],x[21],x[22],x[23],x[24],x[25],x[26],x[27],x[28],x[29],x[30],x[31]],i=W(u),f=0;if(typeof i=="number"){var o=i-44|0;if(7>=o>>>0){var a=0;switch(o){case 0:if(e)var y=[0,l(ZO,u)];else a=1;break;case 6:var y=[0,l(kX,u)];break;case 7:var y=[0,l(WO,u)];break;default:a=1}if(!a){var h=y;f=1}}}if(!f)var h=Lo(u)?[0,l(QO,u)]:l(HO,u);return Je(Qv,0,0,u,r,h)}),C0(vm,function(x){return v2(x,l(XO,x))}),C0(WO,function(x){switch(x[22]){case 0:var r=0,e=0;break;case 1:var r=0,e=1;break;default:var r=1,e=1}var t=Nx(x),u=w0(x);u0(x,51);var i=[0,t,[27,[0,m0([0,u],[0,mx(x)],0)]]],f=W(x);if(typeof f=="number"&&11>f)switch(f){case 4:var o=r?i:(ex(x,[0,t,ln]),[0,t,[8,hn(0,[0,t,ka0])]]);return oe(VO,0,x,t,o);case 6:case 10:var a=e?i:(ex(x,[0,t,tt]),[0,t,[8,hn(0,[0,t,_a0])]]);return oe(VO,0,x,t,a)}return e?S1(ha0,x):ex(x,[0,t,tt]),i}),C0(kX,function(x){return a0(0,function(r){var e=w0(r),t=Nx(r);if(u0(r,50),v1(r,10)){var u=hn(0,[0,t,ya0]),i=Nx(r);ts(r,da0);var f=hn(0,[0,i,ma0]);return[21,[0,u,f,m0([0,e],[0,mx(r)],0)]]}var o=w0(r);u0(r,4);var a=G0(bO,[0,o],0,l(Wt,e6(0,r)));return u0(r,5),[9,[0,a,m0([0,e],[0,mx(r)],0)]]},x)}),C0(Qv,function(x,r,e,t,u){var i=x?x[1]:1,f=r?r[1]:0,o=Je(FO,[0,i],[0,f],e,t,u),a=nB(e),y=0;if(a){var h=a[1];if(typeof h=="number"&&h===83){var k=1;y=1}}if(!y)var k=0;function A(L){var U=I1(L)[2];function B(X,J){return p(qx(X,an,61),X,J)}return p(U,v2(L,o),B)}function g(L,U,B){var X=l($O,U),J=X[1],e0=X[2],i0=i1(t,J),j=[0,B,L,[0,J,e0],0],Y=0;if(!k&&!f){var z=[4,j];Y=1}if(!Y)var z=[24,[0,j,i0,k]];var F=f||k;return Je(Qv,[0,i],[0,F],U,t,[0,[0,i0,z]])}if(e[13])return o;var I=W(e);if(typeof I=="number"){var C=I-98|0;if(2>>0){if(C===-94)return g(0,e,A(e))}else if(C!==1&&T1(e)){var R=Yd(function(L,U){throw q0(ns,1)},e);return Zd(R,o,function(L){var U=A(L);return g(l(am,L),L,U)})}}return o}),C0(VO,function(x,r,e,t){var u=x?x[1]:1;return v2(r,Je(Qv,[0,u],0,r,e,[0,t]))}),C0(ZO,function(x){return a0(0,function(r){var e=Nx(r),t=w0(r);if(u0(r,44),r[11]&&W(r)===10){var u=mx(r);$0(r);var i=hn(m0([0,t],[0,u],0),[0,e,aa0]),f=W(r);return typeof f!="number"&&f[0]===4&&!N(f[3],RS)?[21,[0,i,p(lx[13],0,r),0]]:(S1(la0,r),$0(r),[8,i])}var o=Nx(r),a=W(r),y=0;if(typeof a=="number")if(a===44)var h=l(ZO,r);else if(a===51)var h=l(WO,tO(1,r));else y=1;else y=1;if(y)var h=Lo(r)?l(QO,r):l(wX,r);var k=oe(hX,pa0,tO(1,r),o,h),A=W(r),g=0;if(typeof A!="number"&&A[0]===3){var I=oe(GO,r,o,k,A[1]);g=1}if(!g)var I=k;var C=0;if(W(r)!==4){var R=0;if((!T1(r)||W(r)!==98)&&(R=1),R){var U=I;C=1}}if(!C)var L=I1(r)[2],U=p(L,I,function(i0,j){return p(qx(i0,an,62),i0,j)});var B=T1(r)?Zd(Yd(function(i0,j){throw q0(ns,1)},r),0,am):0,X=W(r),J=0;if(typeof X=="number"&&X===4){var e0=[0,l($O,r)];J=1}if(!J)var e0=0;return[22,[0,U,B,e0,m0([0,t],0,0)]]},x)});var TS0=function(x){var r=w0(x);u0(x,98);for(var e=0;;){var t=W(x);if(typeof t=="number"){var u=0;if(t!==99&&Er!==t&&(u=1),!u){var i=gx(e),f=w0(x);u0(x,99);var o=W(x)===4?I1(x)[1]:mx(x);return[0,i,K1([0,r],[0,o],f,0)]}}var a=W(x),y=0;if(typeof a!="number"&&a[0]===4&&!N(a[2],ga)){var h=Nx(x),k=w0(x);ts(x,va0);var A=[1,[0,h,[0,m0([0,k],[0,mx(x)],0)]]];y=1}if(!y)var A=[0,qs(x)];var g=[0,A,e];W(x)!==99&&u0(x,9);var e=g}};C0(am,function(x){J1(x,1);var r=W(x)===98?[0,a0(0,TS0,x)]:0;return W1(x),r});var SS0=function(x){var r=w0(x);u0(x,12);var e=l(Wt,x);return[0,e,m0([0,r],0,0)]};C0($O,function(x){return a0(0,function(r){var e=w0(r);u0(r,4);for(var t=0;;){var u=W(r);if(typeof u=="number"){var i=0;if(u!==5&&Er!==u&&(i=1),!i){var f=gx(t),o=w0(r);return u0(r,5),[0,f,K1([0,e],[0,mx(r)],o,0)]}}var a=W(r),y=0;if(typeof a=="number"&&a===12){var h=[1,a0(0,SS0,r)];y=1}if(!y)var h=[0,l(Wt,r)];var k=[0,h,t];W(r)!==5&&u0(r,9);var t=k}},x)});var NX=function(x,r,e,t,u,i){var f=x?x[1]:1,o=r?r[1]:0,a=e?e[1]:0,y=tO(0,t),h=l(lx[7],y),k=Nx(t);u0(t,7);var A=mx(t),g=i1(u,k),I=m0(0,[0,A],0),C=[0,v2(t,i),[2,h],I],R=o?[25,[0,C,g,a]]:[20,C];return Je(Qv,[0,f],[0,o],t,u,[0,[0,g,R]])},IX=function(x,r,e,t,u,i){var f=x?x[1]:1,o=r?r[1]:0,a=e?e[1]:0,y=W(t),h=0;if(typeof y=="number"&&y===14){var k=_B(t),A=k[1],g=t[30][1],I=k[2][1];if(g){var C=g[1];t[30][1]=[0,[0,C[1],[0,[0,I,A],C[2]]],g[2]]}else ex(t,[0,A,67]);var L=[1,k],U=A;h=1}if(!h)var R=_2(t),L=[0,R],U=R[1];var B=i1(u,U),X=0;i[0]===0&&i[1][2][0]===27&&L[0]===1&&(ex(t,[0,B,86]),X=1);var J=[0,v2(t,i),L,0],e0=o?[25,[0,J,B,a]]:[20,J];return Je(Qv,[0,f],[0,o],t,u,[0,[0,B,e0]])};C0(FO,function(x,r,e,t,u){var i=x?x[1]:1,f=r?r[1]:0,o=W(e);if(typeof o=="number")switch(o){case 6:return $0(e),NX([0,i],[0,f],0,e,t,u);case 10:return $0(e),IX([0,i],[0,f],0,e,t,u);case 83:1-i&&Bx(e,63),u0(e,83);var a=W(e);if(typeof a=="number")switch(a){case 4:return u;case 6:return $0(e),NX([0,i],fa0,ia0,e,t,u);case 98:if(T1(e))return u;break}else if(a[0]===3)return Bx(e,64),u;return IX([0,i],sa0,ca0,e,t,u)}else if(o[0]===3){var y=o[1];return f&&Bx(e,64),Je(Qv,oa0,0,e,t,[0,oe(GO,e,t,v2(e,u),y)])}return u}),C0(hX,function(x,r,e,t){var u=x?x[1]:1;return v2(r,Je(FO,[0,u],0,r,e,[0,t]))}),C0(QO,function(x){return a0(0,function(r){var e=om(r),t=e[1],u=e[2],i=a0(0,function(L){var U=w0(L);u0(L,15);var B=c3(L),X=B[1],J=Ll([0,u,[0,U,[0,B[2],0]]]);if(W(L)===4)var e0=0,i0=0;else{var j=W(L),Y=0;if(typeof j=="number"&&j===98){var F=0;Y=1}if(!Y)var z=bR(X,xO(t,L)),F=[0,Tn(z,p(lx[13],ua0,z))];var e0=xe(L,Ve(L)),i0=F}var t0=Yv(0,L),$=t||t0[19],f0=l(f3($,X),t0),c0=W(t0)===86?f0:c6(t0,f0),v0=RO(t0),s0=v0[2],o0=v0[1];if(s0)var E0=dB(t0,s0),k0=o0;else var E0=s0,k0=t3(t0,o0);return[0,i0,c0,X,E0,k0,e0,J]},r),f=i[2],o=f[3],a=f[2],y=f[1],h=f[7],k=f[6],A=f[5],g=f[4],I=i[1],C=y6(r,t,o,1,Vv(a)),R=C[1];return i3(r,C[2],y,a),[7,[0,y,a,R,t,o,g,A,k,m0([0,h],0,0),I]]},x)}),C0(lm,function(x,r,e){switch(r){case 1:Xt(x,80);try{var t=By(Sl(Zx(xa0,e))),u=t}catch(A){var i=R1(A);if(i[1]!==mn)throw q0(i,0);var u=Rx(Zx(ra0,e))}break;case 2:Xt(x,79);try{var f=KC(e),u=f}catch(A){var o=R1(A);if(o[1]!==mn)throw q0(o,0);var u=Rx(Zx(ea0,e))}break;case 4:try{var a=KC(e),u=a}catch(A){var y=R1(A);if(y[1]!==mn)throw q0(y,0);var u=Rx(Zx(ta0,e))}break;default:try{var h=By(Sl(e)),u=h}catch(A){var k=R1(A);if(k[1]!==mn)throw q0(k,0);var u=Rx(Zx(na0,e))}}return u0(x,[0,r,e]),u}),C0(_X,function(x){var r=Gx(x),e=0;if(r!==0&&P1===C1(x,r-1|0)){var t=z2(x,0,r-1|0);e=1}if(!e)var t=x;return t}),C0(pm,function(x,r,e){var t=GK(l(_X,e));return u0(x,[1,r,e]),t}),C0(HO,function(x){var r=Nx(x),e=w0(x),t=W(x);if(typeof t=="number")switch(t){case 0:var u=l(lx[12],x);return[1,[0,u[1],[23,u[2]]],u[3]];case 4:return[0,l(TX,x)];case 6:var i=a0(0,SX,x),f=i[2];return[1,[0,i[1],[0,f[1]]],f[2]];case 21:return $0(x),[0,[0,r,[30,[0,m0([0,e],[0,mx(x)],0)]]]];case 29:return $0(x),[0,[0,r,[14,m0([0,e],[0,mx(x)],0)]]];case 40:return[0,l(lx[22],x)];case 98:var o=l(lx[17],x),a=o[2],y=o[1],h=tn<=a[1]?[11,a[2]]:[10,a[2]];return[0,[0,y,h]];case 30:case 31:return $0(x),[0,[0,r,[13,[0,t===31?1:0,m0([0,e],[0,mx(x)],0)]]]];case 74:case 105:return[0,l(EX,x)]}else switch(t[0]){case 0:var k=t[2],A=G0(lm,x,t[1],k);return[0,[0,r,[15,[0,A,k,m0([0,e],[0,mx(x)],0)]]]];case 1:var g=t[2],I=G0(pm,x,t[1],g);return[0,[0,r,[16,[0,I,g,m0([0,e],[0,mx(x)],0)]]]];case 2:var C=t[1],R=C[3],L=C[2],U=C[1];C[4]&&Xt(x,80),$0(x);var B=m0([0,e],[0,mx(x)],0),X=x[28],J=X[6],e0=X[7],i0=0;if(J){var j=J[1];if(HK(j,L))var Y=[18,[0,L,U,Gx(j),0,R,B]];else i0=1}else i0=1;if(i0){var z=0;if(e0){var F=e0[1];if(HK(F,L)){var Y=[18,[0,L,U,Gx(F),1,R,B]];z=1}}if(!z)var Y=[12,[0,L,R,B]]}return[0,[0,U,Y]];case 3:var t0=p(qO,x,t[1]);return[0,[0,t0[1],[29,t0[2]]]];case 4:if(!N(t[3],$h)&&hr(1,x)===40)return[0,l(lx[22],x)];break}if(es(x)){var $=p(lx[13],0,x);return[0,[0,$[1],[8,$]]]}S1(0,x);var f0=0;return typeof t!="number"&&t[0]===7&&($0(x),f0=1),[0,[0,r,[14,m0([0,e],bv0,0)]]]}),C0(wX,function(x){return v2(x,l(HO,x))}),C0(qO,function(x,r){var e=r[5],t=r[1],u=r[3],i=r[2],f=w0(x);u0(x,[3,r]);var o=[0,t,[0,[0,u,i],e]];if(e)var a=0,y=[0,o,0],h=t;else for(var k=[0,o,0],A=0;;){var g=l(lx[7],x),I=[0,g,A],C=W(x),R=0;if(typeof C=="number"&&C===1){J1(x,4);var L=W(x),U=0;if(typeof L=="number"||L[0]!==3)U=1;else{var B=L[1],X=B[5],J=B[1],e0=B[3],i0=B[2];$0(x),W1(x);var j=[0,[0,J,[0,[0,e0,i0],X]],k];if(!X){var k=j,A=I;continue}var Y=gx(I),z=[0,J,gx(j),Y];R=1}if(U)throw q0([0,Tr,Hv0],1)}if(!R){S1(qv0,x);var F=[0,g[1],Gv0],t0=gx(I),$=gx([0,F,k]),z=[0,g[1],$,t0]}var a=z[3],y=z[2],h=z[1];break}var f0=mx(x),c0=i1(t,h);return[0,c0,[0,y,a,m0([0,f],[0,f0],0)]]}),C0(GO,function(x,r,e,t){var u=I1(x)[2],i=p(u,e,function(o,a){return p(qx(o,an,3),o,a)}),f=p(qO,x,t);return[0,i1(r,f[1]),[28,[0,i,f,0]]]}),C0(TX,function(x){var r=w0(x),e=a0(0,function(o){u0(o,4);var a=Nx(o),y=l(Wt,o),h=W(o),k=0;if(typeof h=="number")if(h===9)var A=[0,G0(ym,o,a,[0,y,0])];else if(h===86)var A=[1,[0,y,Fv(o),0]];else k=1;else k=1;if(k)var A=[0,y];return u0(o,5),A},x),t=e[2],u=e[1],i=mx(x),f=t[0]===0?t[1]:[0,u,[31,t[1]]];return G0(bO,[0,r],[0,i],f)}),C0(bO,function(x,r,e){var t=e[2],u=e[1],i=x?x[1]:0,f=r?r[1]:0;function o(br){return g2(br,m0([0,i],[0,f],0))}function a(br){return YR(br,m0([0,i],[0,f],0))}switch(t[0]){case 0:var y=t[1],h=a(y[2]),ax=[0,[0,y[1],h]];break;case 1:var k=t[1],A=k[10],g=o(k[9]),ax=[1,[0,k[1],k[2],k[3],k[4],k[5],k[6],k[7],k[8],g,A]];break;case 2:var I=t[1],C=o(I[4]),ax=[2,[0,I[1],I[2],I[3],C]];break;case 3:var R=t[1],L=o(R[4]),ax=[3,[0,R[1],R[2],R[3],L]];break;case 4:var U=t[1],B=o(U[4]),ax=[4,[0,U[1],U[2],U[3],B]];break;case 5:var X=t[1],J=o(X[7]),ax=[5,[0,X[1],X[2],X[3],X[4],X[5],X[6],J]];break;case 6:var e0=t[1],i0=o(e0[4]),ax=[6,[0,e0[1],e0[2],e0[3],i0]];break;case 7:var j=t[1],Y=j[10],z=o(j[9]),ax=[7,[0,j[1],j[2],j[3],j[4],j[5],j[6],j[7],j[8],z,Y]];break;case 8:var F=t[1],t0=F[2],$=F[1],f0=o(t0[2]),ax=[8,[0,$,[0,t0[1],f0]]];break;case 9:var c0=t[1],v0=o(c0[2]),ax=[9,[0,c0[1],v0]];break;case 10:var s0=t[1],o0=o(s0[4]),ax=[10,[0,s0[1],s0[2],s0[3],o0]];break;case 11:var E0=t[1],k0=o(E0[4]),ax=[11,[0,E0[1],E0[2],E0[3],k0]];break;case 12:var M0=t[1],D0=o(M0[3]),ax=[12,[0,M0[1],M0[2],D0]];break;case 13:var cx=t[1],g0=o(cx[2]),ax=[13,[0,cx[1],g0]];break;case 14:var ax=[14,o(t[1])];break;case 15:var Z0=t[1],n0=o(Z0[3]),ax=[15,[0,Z0[1],Z0[2],n0]];break;case 16:var nx=t[1],xx=o(nx[3]),ax=[16,[0,nx[1],nx[2],xx]];break;case 17:var yx=t[1],px=o(yx[4]),ax=[17,[0,yx[1],yx[2],yx[3],px]];break;case 18:var Tx=t[1],O0=o(Tx[6]),ax=[18,[0,Tx[1],Tx[2],Tx[3],Tx[4],Tx[5],O0]];break;case 19:var P0=t[1],N0=o(P0[4]),ax=[19,[0,P0[1],P0[2],P0[3],N0]];break;case 20:var J0=t[1],I0=o(J0[3]),ax=[20,[0,J0[1],J0[2],I0]];break;case 21:var Q=t[1],G=o(Q[3]),ax=[21,[0,Q[1],Q[2],G]];break;case 22:var V=t[1],p0=o(V[4]),ax=[22,[0,V[1],V[2],V[3],p0]];break;case 23:var d0=t[1],A0=a(d0[2]),ax=[23,[0,d0[1],A0]];break;case 24:var M=t[1],L0=M[1],V0=M[3],B0=M[2],vx=o(L0[4]),ax=[24,[0,[0,L0[1],L0[2],L0[3],vx],B0,V0]];break;case 25:var b0=t[1],hx=b0[1],W0=b0[3],T=b0[2],K=o(hx[3]),ax=[25,[0,[0,hx[1],hx[2],K],T,W0]];break;case 26:var H0=t[1],sx=o(H0[2]),ax=[26,[0,H0[1],sx]];break;case 27:var ax=[27,[0,o(t[1][1])]];break;case 28:var ux=t[1],z0=o(ux[3]),ax=[28,[0,ux[1],ux[2],z0]];break;case 29:var Px=t[1],kx=o(Px[3]),ax=[29,[0,Px[1],Px[2],kx]];break;case 30:var ax=[30,[0,o(t[1][1])]];break;case 31:var $x=t[1],Qx=o($x[3]),ax=[31,[0,$x[1],$x[2],Qx]];break;case 32:var ax=t;break;case 33:var j0=t[1],rr=o(j0[3]),ax=[33,[0,j0[1],j0[2],rr]];break;case 34:var zx=t[1],X0=o(zx[4]),ax=[34,[0,zx[1],zx[2],zx[3],X0]];break;default:var ir=t[1],K0=ir[4],Sr=ir[3],Dr=o(ir[2]),ax=[35,[0,ir[1],Dr,Sr,K0]]}return[0,u,ax]}),C0(SX,function(x){var r=w0(x);u0(x,6);for(var e=[0,0,kn];;){var t=e[2],u=e[1],i=W(x);if(typeof i=="number"){var f=0;if(13<=i)Er===i&&(f=1);else if(7<=i)switch(i-7|0){case 0:f=1;break;case 2:var o=Nx(x);$0(x);var e=[0,[0,[2,o],u],t];continue;case 5:var a=w0(x),y=a0(0,function(z){$0(z);var F=l(s3,z);return F[0]===0?[0,F[1],kn]:[0,F[1],F[2]]},x),h=y[2],k=h[2],A=y[1],g=h[1],I=[1,[0,A,[0,g,m0([0,a],0,0)]]],C=W(x)===7?1:0,R=0;if(!C&&hr(1,x)===7){var L=[0,k[1],[0,[0,A,20],k[2]]];R=1}if(!R)var L=k;1-C&&u0(x,9);var e=[0,[0,I,u],jO(L,t)];continue}if(f){var U=vX(t),B=gx(u),X=w0(x);return u0(x,7),[0,[0,B,K1([0,r],[0,mx(x)],X,0)],U]}}var J=l(s3,x);if(J[0]===0)var e0=kn,i0=J[1];else var e0=J[2],i0=J[1];W(x)!==7&&u0(x,9);var e=[0,[0,[0,i0],u],jO(e0,t)]}}),C0(EX,function(x){J1(x,5);var r=Nx(x),e=w0(x),t=W(x),u=0;if(typeof t!="number"&&t[0]===5){var i=t[3],f=t[2];$0(x);var o=mx(x),a=o,y=i,h=f,k=Zx(Vv0,Zx(f,Zx(Wv0,i)));u=1}if(!u){S1(Zv0,x);var a=0,y=$v0,h=Fv0,k=Qv0}W1(x);var A=Zr(Gx(y)),g=Gx(y)-1|0,I=0;if(g>=0)for(var C=I;;){var R=ix(y,C),L=R-100|0,U=0;if(21>=L>>>0)switch(L){case 0:case 3:case 5:case 9:case 15:case 17:case 21:ct(A,R),U=1;break}var B=C+1|0;if(g!==C){var C=B;continue}break}var X=z1(A);return N(X,y)&&Bx(x,[17,y]),[0,r,[17,[0,h,X,k,m0([0,e],[0,a],0)]]]});var ES0=function(x){return function(r){if(typeof r=="number"){var e=0;if(65<=r){var t=r+aM|0;if(49>>0)e=1;else{var u=t-15|0;if(9>=u>>>0)switch(u){case 0:case 1:case 3:case 9:e=1;break}}}else 8<=r?r===59&&(e=1):6<=r&&(e=1);if(e)return 0}throw q0(ns,1)}},AS0=function(x){var r=W(x);if(typeof r=="number"&&!r){var e=p(lx[16],1,x);return[0,[0,e[1]],e[2]]}return[0,[1,l(lx[10],x)],0]};C0(xL,function(x){var r=Yd(ES0,x),e=Nx(r);if(hr(1,r)===11)var u=0,i=0;else var t=om(r),u=t[2],i=t[1];var f=i||r[19],o=xO(f,r),a=o[18],y=a0(0,function(o0){var E0=xe(o0,Ve(o0));if(es(o0)&&E0===0){var k0=p(lx[13],Xv0,o0),M0=k0[1],D0=[0,M0,[0,[0,M0,[2,[0,k0,[0,wn(o0)],0]]],0]];return[0,E0,[0,M0,[0,0,[0,D0,0],0,0]],[0,[0,M0[1],M0[3],M0[3]]],0]}var cx=l(f3(f,a),o0);tX(o0,cx);var g0=RO(Bv(1,o0));return[0,E0,cx,g0[1],g0[2]]},o),h=y[2],k=h[2],A=k[2],g=0,I=h[4],C=h[3],R=h[1],L=y[1];if(!A[1]){var U=0,B=A[2];if((A[3]||!B)&&(U=1),U){var X=uB(o);g=1}}if(!g)var X=o;var J=k[2],e0=J[1];if(e0){var i0=k[1];ex(X,[0,e0[1][1],90]);var j=[0,i0,[0,0,J[2],J[3],J[4]]]}else var j=k;var Y=Vv(j),z=b2(X),F=z&&(W(X)===11?1:0);F&&Bx(X,59),u0(X,11);var t0=iB(uB(X),i,0,Y),$=a0(0,AS0,t0),f0=$[2],c0=f0[1],v0=$[1];i3(t0,f0[2],0,j);var s0=i1(e,v0);return[0,[0,s0,[1,[0,0,j,c0,i,0,I,C,R,m0([0,u],0,0),L]]]]}),C0(ym,function(x,r,e){return a0([0,r],function(t){for(var u=e;;){var i=W(t);if(typeof i=="number"&&i===9){$0(t);var u=[0,l(Wt,t),u];continue}return[26,[0,gx(u),0]]}},x)});var gS0=function(x){var r=w0(x);$0(x);var e=m0([0,r],0,0),t=l(vm,x),u=b2(x)?f6(x):$d(x),i=u[2];return[0,p(i,t,function(f,o){return p(qx(f,an,63),f,o)}),e]},iL=function(x){if(!x[28][3])return 0;for(var r=0;;){var e=W(x);if(typeof e=="number"&&e===13){var r=[0,a0(0,gS0,x),r];continue}return gx(r)}},jo=function(x,r){var e=x?x[1]:0,t=w0(r),u=W(r);if(typeof u=="number")switch(u){case 6:var i=a0(0,function(v0){var s0=w0(v0);u0(v0,6);var o0=e6(0,v0),E0=l(lx[10],o0);return u0(v0,7),[0,E0,m0([0,s0],[0,mx(v0)],0)]},r),f=i[1];return[0,f,[5,[0,f,i[2]]]];case 14:if(!e){var o=a0(0,function(v0){return $0(v0),[3,_2(v0)]},r),a=o[1],y=o[2];return ex(r,[0,a,67]),[0,a,y]}var h=_B(r),k=r[30][1],A=h[2][1],g=h[1];if(k){var I=k[1],C=k[2],R=I[2],L=[0,[0,p(h2[4],A,I[1]),R],C];r[30][1]=L}else Rx(es0);return[0,g,[4,h]]}else switch(u[0]){case 0:var U=u[2],B=u[1],X=Nx(r),J=G0(lm,r,B,U);return[0,X,[1,[0,X,[0,J,U,m0([0,t],[0,mx(r)],0)]]]];case 1:var e0=u[2],i0=u[1],j=Nx(r),Y=G0(pm,r,i0,e0);return[0,j,[2,[0,j,[0,Y,e0,m0([0,t],[0,mx(r)],0)]]]];case 2:var z=u[1],F=z[4],t0=z[3],$=z[2],f0=z[1];return F&&Xt(r,80),u0(r,[2,[0,f0,$,t0,F]]),[0,f0,[0,[0,f0,[0,$,t0,m0([0,t],[0,mx(r)],0)]]]]}var c0=_2(r);return[0,c0[1],[3,c0]]},dm=function(x,r,e){var t=c3(x),u=t[1],i=t[2],f=jo([0,r],x),o=f[1],a=0,y=Sn(x,f[2]);return[0,y,a0(0,function(h){var k=Yv(1,h),A=a0(0,function(X){var J=l(f3(0,0),X),e0=0,i0=W(X)===86?J:c6(X,J);if(e){var j=i0[2],Y=0;if(j[1])ex(X,[0,o,28]),Y=1;else{var z=0;j[2]||j[3]?z=1:Y=1,z&&ex(X,[0,o,27])}}else{var F=i0[2];if(F[1])ex(X,[0,o,70]);else{var t0=F[2],$=0;t0&&!t0[2]&&!F[3]&&($=1),$||(F[3]?ex(X,[0,o,69]):ex(X,[0,o,69]))}}return[0,e0,i0,t3(X,CO(X))]},k),g=A[2],I=g[2],C=g[3],R=g[1],L=A[1],U=y6(k,a,u,0,Vv(I)),B=U[1];return i3(k,U[2],0,I),[0,0,I,B,a,u,0,C,R,m0([0,i],0,0),L]},x)]},PX=function(x){var r=l(s3,x);return r[0]===0?[0,r[1],kn]:[0,r[1],r[2]]},CX=function(x,r){switch(r[0]){case 0:var e=r[1],t=e[1],u=e[2];return ex(x,[0,t,52]),[0,t,[12,u]];case 1:var i=r[1],f=i[1],o=i[2];return ex(x,[0,f,52]),[0,f,[15,o]];case 2:var a=r[1],y=a[1],h=a[2];return ex(x,[0,y,52]),[0,y,[16,h]];case 3:var k=r[1],A=k[2][1],g=k[1];return Bd(A)?ex(x,[0,g,99]):r3(A)&&vt(x,[0,g,84]),[0,g,[8,k]];case 4:return Rx(R30);default:var I=r[1][2][1];return ex(x,[0,I[1],8]),I}},RX=function(x,r,e){function t(i){var f=Yv(1,i),o=a0(0,function(C){var R=xe(C,Ve(C)),L=l(f3(x,r),C),U=W(C)===86?L:c6(C,L);return[0,R,U,t3(C,CO(C))]},f),a=o[2],y=a[2],h=a[3],k=a[1],A=o[1],g=y6(f,x,r,0,Vv(y)),I=g[1];return i3(f,g[2],0,y),[0,0,y,I,x,r,0,h,k,m0([0,e],0,0),A]}var u=0;return function(i){return a0(u,t,i)}},OX=function(x){return u0(x,86),PX(x)},fL=function(x,r,e,t,u,i){var f=a0([0,r],function(a){if(!t&&!u){var y=W(a);if(typeof y=="number"){var h=0;if(86<=y){if(y===98)h=1;else if(87>y){var k=OX(a);return[0,[0,e,k[1],0],k[2]]}}else{if(y===82){if(e[0]===3)var A=e[1],g=Nx(a),I=function(B){var X=w0(B);u0(B,82);var J=mx(B),e0=p(lx[19],B,[0,A[1],[8,A]]),i0=l(lx[10],B);return[2,[0,0,e0,i0,m0([0,X],[0,J],0)]]},C=a0([0,A[1]],I,a),R=[0,C,[0,[0,[0,g,[23,pd(C30)]],0],0]];else var R=OX(a);return[0,[0,e,R[1],1],R[2]]}if(10>y)switch(y){case 4:h=1;break;case 1:case 9:return[0,[0,e,CX(a,e),1],kn]}}if(h){var L=Sn(a,e);return[0,[1,L,l(RX(t,u,i),a)],kn]}}return[0,[0,e,CX(a,e),1],kn]}var U=Sn(a,e);return[0,[1,U,l(RX(t,u,i),a)],kn]},x),o=f[2];return[0,[0,[0,f[1],o[1]]],o[2]]},NS0=function(x){if(W(x)===12){var r=w0(x),e=a0(0,function(M0){return u0(M0,12),PX(M0)},x),t=e[2],u=t[2],i=t[1],f=e[1];return[0,[1,[0,f,[0,i,m0([0,r],0,0)]]],u]}var o=Nx(x),a=hr(1,x),y=0;if(typeof a=="number"){var h=0;if(86<=a)a!==98&&87<=a&&(h=1);else if(a!==82)if(10<=a)h=1;else switch(a){case 1:case 4:case 9:break;default:h=1}if(!h){var A=0,g=0;y=1}}if(!y)var k=om(x),A=k[2],g=k[1];var I=c3(x),C=I[1],R=Fx(A,I[2]),L=W(x);if(!g&&!C&&typeof L!="number"&&L[0]===4){var U=L[3];if(!N(U,Tv)){var B=w0(x),X=jo(0,x)[2],J=W(x);if(typeof J=="number"){var e0=0;if(86<=J)J!==98&&87<=J&&(e0=1);else if(J!==82)if(10<=J)e0=1;else switch(J){case 1:case 4:case 9:break;default:e0=1}if(!e0)return fL(x,o,X,0,0,0)}Sn(x,X);var i0=a0([0,o],function(M0){return dm(M0,0,1)},x),j=i0[2],Y=j[2],z=j[1],F=i0[1];return[0,[0,[0,F,[2,z,Y,m0([0,B],0,0)]]],kn]}if(!N(U,Oa)){var t0=w0(x),$=jo(0,x)[2],f0=W(x);if(typeof f0=="number"){var c0=0;if(86<=f0)f0!==98&&87<=f0&&(c0=1);else if(f0!==82)if(10<=f0)c0=1;else switch(f0){case 1:case 4:case 9:break;default:c0=1}if(!c0)return fL(x,o,$,0,0,0)}Sn(x,$);var v0=a0([0,o],function(M0){return dm(M0,0,0)},x),s0=v0[2],o0=s0[2],E0=s0[1],k0=v0[1];return[0,[0,[0,k0,[3,E0,o0,m0([0,t0],0,0)]]],kn]}}return fL(x,o,jo(0,x)[2],g,C,R)},IS0=function(x){var r=a0(0,function(t){var u=w0(t);u0(t,0);for(var i=0,f=[0,0,kn];;){var o=f[2],a=f[1],y=W(t);if(typeof y=="number"){var h=0;if(y!==1&&Er!==y&&(h=1),!h){var k=i?[0,o[1],[0,[0,i[1],94],o[2]]]:o,A=vX(k),g=gx(a),I=w0(t);return u0(t,1),[0,[0,g,K1([0,u],[0,mx(t)],I,0)],A]}}var C=NS0(t),R=C[1],L=0,U=C[2];if(R[0]===1&&W(t)===9){var B=[0,Nx(t)];L=1}if(!L)var B=0;var X=jO(U,o),J=W(t),e0=0;if(typeof J=="number"){var i0=J-2|0,j=0;if(P1>>0?fe>=i0+1>>>0&&(j=1):i0===7&&($0(t),j=1),j){var Y=X;e0=1}}if(!e0){var z=$R(Qc0,9),F=vB([0,z],W(t)),t0=[0,Nx(t),F];v1(t,8);var Y=[0,[0,t0,X[1]],[0,t0,X[2]]]}var i=B,f=[0,[0,R,a],Y]}},x),e=r[2];return[0,r[1],e[1],e[2]]},mm=function(x,r,e,t){var u=e[2][1],i=e[1];if(Nr(u,kv))return ex(x,[0,i,[15,u,0,Rj===t?1:0,1]]),r;for(var f=r;;){if(typeof f=="number")var a=0;else if(f[0]===0)var o=f[2],a=Ex(u,f[1])===0?[0,o]:0;else{var y=Ex(u,f[2]),h=f[5],k=f[4],A=f[3];if(y!==0){var g=0<=y?h:k,f=g;continue}var a=[0,A]}if(!a)return Gd(u,t,r);var I=a[1],C=0;return PN===t?BP===I&&(C=1):BP===t&&PN===I&&(C=1),C||ex(x,[0,i,[1,u]]),Gd(u,UD,r)}},LX=function(x,r){return a0(0,function(e){var t=r?w0(e):0;u0(e,52);for(var u=0;;){var i=[0,a0(0,function(a){var y=us(a);if(W(a)===98)var h=I1(a)[2],k=p(h,y,function(A,g){return p(qx(A,Na,64),A,g)});else var k=y;return[0,k,bB(a)]},e),u],f=W(e);if(typeof f=="number"&&f===9){u0(e,9);var u=i;continue}var o=gx(i);return[0,o,m0([0,t],0,0)]}},x)},cL=function(x){switch(x[0]){case 0:case 3:var r=x[1];return[0,[0,r[1],r[2][1]]];default:return 0}},sL=function(x,r){return r?ex(x,[0,r[1][1],ut]):0},oL=function(x,r){return r?ex(x,[0,r[1],13]):0},UX=function(x,r,e,t,u,i,f,o){var a=a0([0,r],function(C){var R=xX(C),L=W(C);if(i){var U=0;if(typeof L=="number"&&L===82){Bx(C,14),$0(C);var B=0}else U=1;if(U)var B=0}else{var X=0;if(typeof L=="number"&&L===82){$0(C);var J=Yv(1,C),B=[0,l(lx[7],J)];X=1}if(!X)var B=1}var e0=W(C),i0=0;if(typeof e0=="number"&&9>e0)switch(e0){case 8:$0(C);var j=W(C),Y=0;if(typeof j=="number"){var z=0;if(j===1||Er===j?z=1:Y=1,z)var F=mx(C)}else Y=1;if(Y)var F=b2(C)?Uo(C):0;var t0=[0,t,R,B,F];i0=1;break;case 4:case 6:S1(0,C);var t0=[0,t,R,B,0];i0=1;break}if(!i0){var $=W(C),f0=0;if(typeof $=="number"){var c0=0;if($===1||Er===$?c0=1:f0=1,c0)var v0=[0,0,function(px,Tx){return px}]}else f0=1;if(f0)var v0=b2(C)?f6(C):$d(C);if(typeof B=="number")if(R[0]===0)var s0=function(yx,px){return p(qx(yx,qU,67),yx,px)},D0=B,cx=R,g0=p(v0[2],t,s0);else var o0=R[1],E0=function(yx,px){return p(qx(yx,JP,68),yx,px)},D0=B,cx=[1,p(v0[2],o0,E0)],g0=t;else var k0=B[1],M0=function(yx,px){return p(qx(yx,an,69),yx,px)},D0=[0,p(v0[2],k0,M0)],cx=R,g0=t;var t0=[0,g0,cx,D0,0]}var Z0=t0[3],n0=t0[2],nx=t0[1];return[0,nx,n0,Z0,m0([0,o],[0,t0[4]],0)]},x),y=a[2],h=y[4],k=y[3],A=y[2],g=y[1],I=a[1];return g[0]===4?[2,[0,I,[0,g[1],k,A,u,f,e,h]]]:[1,[0,I,[0,g,k,A,u,f,e,h]]]},vL=function(x,r,e,t,u,i,f,o,a,y){for(;;){var h=W(x);if(typeof h=="number"){var k=h-1|0,A=0;if(7>>0){var g=k-81|0;if(4>=g>>>0)switch(g){case 3:S1(0,x),$0(x);continue;case 0:case 4:A=1;break}}else 5>>0&&(A=1);if(A&&!u&&!i)return UX(x,r,e,t,f,o,a,y)}var I=W(x),C=0;if(typeof I=="number"&&(I===4||I===98))var R=0;else C=1;if(C)var R=e3(x)?1:0;if(R)return UX(x,r,e,t,f,o,a,y);oL(x,o),sL(x,a);var L=cL(t),U=0;if(f){if(L){var B=L[1],X=B[1];if(!N(B[2],yo)){ex(x,[0,X,[15,S30,f,1,0]]);var i0=Yv(1,x),j=1;U=1}}}else if(L){var J=L[1],e0=J[1];if(!N(J[2],kv)){u&&ex(x,[0,e0,10]),i&&ex(x,[0,e0,11]);var i0=Yv(2,x),j=0;U=1}}if(!U)var i0=Yv(1,x),j=1;var Y=Sn(i0,t),z=a0(0,function(t0){var $=a0(0,function(M0){var D0=xe(M0,Ve(M0)),cx=l(f3(u,i),M0),g0=W(M0)===86?cx:c6(M0,cx),Z0=g0[2],n0=Z0[1],nx=0;if(n0){var xx=n0[1][1],yx=g0[1];if(j===0){ex(M0,[0,xx,91]);var px=[0,yx,[0,0,Z0[2],Z0[3],Z0[4]]];nx=1}}if(!nx)var px=g0;return[0,D0,px,t3(M0,CO(M0))]},t0),f0=$[2],c0=f0[2],v0=f0[3],s0=f0[1],o0=$[1],E0=y6(t0,u,i,0,Vv(c0)),k0=E0[1];return i3(t0,E0[2],0,c0),[0,0,c0,k0,u,i,0,v0,s0,0,o0]},i0),F=[0,j,Y,z,f,e,m0([0,y],0,0)];return[0,[0,i1(r,z[1]),F]]}},aL=function(x,r){var e=hr(x,r);if(typeof e=="number"){var t=0;if(86<=e)e!==98&&87<=e&&(t=1);else if(e!==82)if(9<=e)t=1;else switch(e){case 1:case 4:case 8:break;default:t=1}if(!t)return 1}return 0},PS0=0,MX=function(x){return aL(PS0,x)},CS0=function(x){var r=Nx(x),e=iL(x),t=W(x),u=0;if(typeof t=="number"&&t===60&&!aL(1,x)){var i=[0,Nx(x)],f=w0(x);$0(x);var o=f,a=i;u=1}if(!u)var o=0,a=0;var y=W(x),h=0;if(typeof y=="number"&&2>=y+ej>>>0&&Oo(1,x)){var k=0;if(typeof y=="number"){var A=y+ej|0;if(2>=A>>>0){switch(A){case 0:var g=Xz;break;case 1:var g=rl;break;default:var g=ol}var I=g;k=1}}if(!k)var I=Rx(E30);Bx(x,[21,I]),$0(x),h=1}var C=W(x)===42?1:0;if(C){var R=hr(1,x),L=0;if(typeof R=="number"){var U=0;if(87<=R)R!==98&&Er!==R&&(U=1);else{var B=R-9|0;if(76>>0){if(77>B)switch(B+9|0){case 1:case 4:case 8:break;default:U=1}}else B!==73&&(U=1)}if(!U){var X=0;L=1}}if(!L)var X=1;var J=X}else var J=C;if(J){var e0=w0(x);$0(x);var i0=e0}else var i0=0;var j=W(x)===64?1:0;if(j)var Y=1-aL(1,x),z=Y&&1-n6(1,x);else var z=j;if(z){var F=w0(x);$0(x);var t0=F}else var t0=0;var $=c3(x),f0=$[1],c0=$[2],v0=Oo(1,x),s0=v0||(hr(1,x)===6?1:0),o0=Nx(x),E0=W(x),k0=0;if(typeof E0=="number")switch(E0){case 103:var M0=w0(x);$0(x);var g0=[0,[0,o0,[0,0,m0([0,M0],0,0)]]];k0=1;break;case 104:var D0=w0(x);$0(x);var g0=[0,[0,o0,[0,1,m0([0,D0],0,0)]]];k0=1;break}else if(E0[0]===4&&!N(E0[3],Ta)&&s0){var cx=w0(x);$0(x);var g0=[0,[0,o0,[0,2,m0([0,cx],0,0)]]];k0=1}if(!k0)var g0=0;var Z0=0;if(g0){var n0=0,nx=g0[1][1];if((z||f0)&&(n0=1),n0){ex(x,[0,nx,ut]);var xx=0;Z0=1}}if(!Z0)var xx=g0;var yx=0;if(!f0&&xx){var px=c3(x),Tx=px[2],O0=px[1];yx=1}if(!yx)var Tx=c0,O0=f0;var P0=Ll([0,o,[0,i0,[0,t0,[0,Tx,0]]]]),N0=W(x);if(!z&&!O0&&typeof N0!="number"&&N0[0]===4){var J0=N0[3];if(!N(J0,Tv)){var I0=w0(x),Q=jo(g30,x)[2];if(MX(x))return vL(x,r,e,Q,z,O0,J,a,xx,P0);oL(x,a),sL(x,xx),Sn(x,Q);var G=Fx(P0,I0),V=a0([0,r],function(X0){return dm(X0,1,1)},x),p0=V[2],d0=p0[1],A0=p0[2],M=V[1],L0=cL(d0),V0=0;if(J){if(L0){var B0=L0[1],vx=B0[1];N(B0[2],yo)||(ex(x,[0,vx,[15,P30,J,0,0]]),V0=1)}}else if(L0){var b0=L0[1],hx=b0[1];N(b0[2],kv)||(ex(x,[0,hx,9]),V0=1)}return[0,[0,M,[0,2,d0,A0,J,e,m0([0,G],0,0)]]]}if(!N(J0,Oa)){var W0=w0(x),T=jo(A30,x)[2];if(MX(x))return vL(x,r,e,T,z,O0,J,a,xx,P0);oL(x,a),sL(x,xx),Sn(x,T);var K=Fx(P0,W0),H0=a0([0,r],function(X0){return dm(X0,1,0)},x),sx=H0[2],ux=sx[1],z0=sx[2],Px=H0[1],kx=cL(ux),$x=0;if(J){if(kx){var Qx=kx[1],j0=Qx[1];N(Qx[2],yo)||(ex(x,[0,j0,[15,I30,J,0,0]]),$x=1)}}else if(kx){var rr=kx[1],zx=rr[1];N(rr[2],kv)||(ex(x,[0,zx,9]),$x=1)}return[0,[0,Px,[0,3,ux,z0,J,e,m0([0,K],0,0)]]]}}return vL(x,r,e,jo(N30,x)[2],z,O0,J,a,xx,P0)},DX=function(x,r,e,t){var u=x?x[1]:0,i=Qs(1,r),f=Fx(u,iL(i)),o=w0(i),a=W(i),y=0;typeof a!="number"&&a[0]===4&&!N(a[3],$h)&&(Bx(i,87),$0(i),y=1),u0(i,40);var h=rO(1,i),k=W(h),A=0;if(e&&typeof k=="number"){var g=0;if(52<=k?k!==98&&53<=k&&(g=1):k!==41&&k&&(g=1),!g){var R=0;A=1}}if(!A)if(es(i))var I=p(lx[13],0,h),C=I1(i)[2],R=[0,p(C,I,function($,f0){return p(qx($,Na,71),$,f0)})];else{aB(i,h30);var R=[0,[0,Nx(i),_30]]}var L=Ve(i);if(L)var U=L[1],B=I1(i)[2],X=[0,p(B,U,function($,f0){return p(qx($,VP,70),$,f0)})];else var X=0;var J=w0(i);if(v1(i,41))var e0=a0(0,function($){var f0=l(vm,bR(0,$));if(W($)===98)var c0=I1($)[2],v0=p(c0,f0,function(o0,E0){return p(qx(o0,an,65),o0,E0)});else var v0=f0;var s0=bB($);return[0,v0,s0,m0([0,J],0,0)]},i),i0=e0[1],j=e0[2],Y=I1(i)[2],z=[0,[0,i0,p(Y,j,function($,f0){return G0(qx($,-663447790,66),$,i0,f0)})]];else var z=0;if(W(i)===52){1-T1(i)&&Bx(i,P1);var F=[0,kB(i,LX(i,1))]}else var F=0;var t0=a0(0,function($){var f0=w0($);if(!v1($,0))return Hs($,0),T30;$[30][1]=[0,[0,h2[1],0],$[30][1]];for(var c0=0,v0=RT0,s0=0;;){var o0=W($);if(typeof o0=="number"){var E0=o0-2|0;if(P1>>0){if(fe>=E0+1>>>0){var k0=gx(s0),M0=function(j0,rr){return l(Ul(function(zx){return 1-p(h2[3],zx[1],j0)}),rr)},D0=$[30][1];if(D0){var cx=D0[1],g0=cx[1];if(D0[2]){var Z0=D0[2],n0=M0(g0,cx[2]),nx=Ol(Z0),xx=nx[2],yx=nx[1],px=VK(Z0),Tx=[0,[0,yx,Fx(xx,n0)],px];$[30][1]=Tx}else{var O0=M0(g0,cx[2]);S2(function(j0){return ex($,[0,j0[2],[22,j0[1]]])},O0),$[30][1]=0}}else Rx(ts0);u0($,1);var P0=W($),N0=0;if(!t){var J0=0;if((typeof P0!="number"||P0!==1&&Er!==P0)&&(J0=1),J0)if(b2($)){var I0=Uo($);N0=1}else{var I0=0;N0=1}}if(!N0)var I0=mx($);return[0,k0,m0([0,f0],[0,I0],0)]}}else if(E0===6){u0($,8);continue}}var Q=CS0($);switch(Q[0]){case 0:var G=Q[1],V=G[2],p0=G[1];switch(V[1]){case 0:if(V[4])var z0=v0,Px=c0;else{c0&&ex($,[0,p0,18]);var z0=v0,Px=1}break;case 1:var d0=V[2],A0=d0[0]===4?mm($,v0,d0[1],Rj):v0,z0=A0,Px=c0;break;case 2:var M=V[2],L0=M[0]===4?mm($,v0,M[1],PN):v0,z0=L0,Px=c0;break;default:var V0=V[2],B0=V0[0]===4?mm($,v0,V0[1],BP):v0,z0=B0,Px=c0}break;case 1:var vx=Q[1][2],b0=vx[4],hx=vx[1];switch(hx[0]){case 4:Rx(w30);break;case 0:case 3:var W0=hx[1],T=W0[2][1],K=Nr(T,kv),H0=W0[1];if(K)var ux=K;else var sx=Nr(T,yo),ux=sx&&b0;ux&&ex($,[0,H0,[15,T,b0,0,0]]);break}var z0=v0,Px=c0;break;default:var z0=mm($,v0,Q[1][2][1],UD),Px=c0}var c0=Px,v0=z0,s0=[0,Q,s0]}},i);return[0,R,t0,X,z,F,f,m0([0,o],0,0)]},km=function(x,r){return a0(0,function(e){return[2,DX([0,r],e,e[7],0)]},x)},RS0=function(x){return[5,DX(0,x,1,1)]},OS0=0,LS0=function(x){return a0(OS0,RS0,x)},jX=SB(lx),zX=function(x){var r=d6(x);if(x[5])Wv(x,r[1]);else{var e=r[2],t=0;if(e[0]===26){var u=e[1],i=r[1],f=0;u[4]?(ex(x,[0,i,5]),f=1):u[5]&&(ex(x,[0,i,26]),f=1),f&&(t=1)}}return r},hm=function(x,r){var e=r[4],t=r[3],u=r[2],i=r[1];e&&Xt(x,80);var f=w0(x);return u0(x,[2,[0,i,u,t,e]]),[0,i,[0,u,t,m0([0,f],[0,mx(x)],0)]]},e2=function(x,r,e){var t=x?x[1]:al0,u=r?r[1]:1,i=W(e);if(typeof i=="number"){var f=i-2|0;if(P1>>0){if(fe>=f+1>>>0){var o=function(h,k){return h};return[1,[0,mx(e),o]]}}else if(f===6){$0(e);var a=W(e);if(typeof a=="number"){var y=0;if(a!==1&&Er!==a&&(y=1),!y)return[0,mx(e)]}return b2(e)?[0,Uo(e)]:ll0}}return b2(e)?[1,f6(e)]:(u&&S1([0,t],e),pl0)},Gs=function(x){var r=W(x);if(typeof r=="number"){var e=0;if(r!==1&&Er!==r&&(e=1),!e){var t=function(u,i){return u};return[0,mx(x),t]}}return b2(x)?f6(x):$d(x)},lL=function(x,r,e){var t=e2(0,0,r);if(t[0]===0)return[0,t[1],e];var u=t[1][2],i=gx(e);if(i)var f=i[2],o=i[1],a=gx([0,p(u,o,function(y,h){return G0(qx(y,634872468,72),y,x,h)}),f]);else var a=0;return[0,0,a]},KX=function x(r){return x.fun(r)},JX=function x(r){return x.fun(r)},YX=function x(r){return x.fun(r)},BX=function x(r){return x.fun(r)},XX=function x(r){return x.fun(r)},k6=function x(r,e){return x.fun(r,e)},WX=function x(r){return x.fun(r)},VX=function x(r){return x.fun(r)},h6=function x(r,e,t){return x.fun(r,e,t)},ZX=function x(r){return x.fun(r)},$X=function x(r){return x.fun(r)},_6=function x(r,e){return x.fun(r,e)},FX=function x(r){return x.fun(r)},QX=function x(r){return x.fun(r)},_m=function x(r,e){return x.fun(r,e)},HX=function x(r){return x.fun(r)},wm=function x(r,e){return x.fun(r,e)},qX=function x(r){return x.fun(r)},GX=function x(r){return x.fun(r)},Tm=function x(r,e){return x.fun(r,e)},bX=function x(r){return x.fun(r)},w6=function x(r,e,t){return x.fun(r,e,t)},T6=function x(r,e){return x.fun(r,e)},xW=function x(r,e){return x.fun(r,e)},rW=function x(r,e){return x.fun(r,e)},pL=function x(r,e){return x.fun(r,e)},eW=function x(r){return x.fun(r)},o3=function x(r){return x.fun(r)},Sm=function x(r,e,t){return x.fun(r,e,t)},yL=function x(r,e){return x.fun(r,e)},tW=function x(r,e){return x.fun(r,e)},dL=function x(r){return x.fun(r)},US0=function(x){var r=w0(x);u0(x,59);var e=W(x)===8?mx(x):0,t=e2(0,0,x),u=t[0]===0?t[1]:t[1][1];return[5,[0,m0([0,r],[0,Fx(e,u)],0)]]},MS0=0,DS0=function(x){var r=w0(x);u0(x,37);var e=r6(1,x),t=l(lx[2],e),u=1-x[5],i=u&&s6(t);i&&Wv(x,t[1]);var f=mx(x);u0(x,25);var o=mx(x);u0(x,4);var a=l(lx[7],x);u0(x,5);var y=W(x)===8?mx(x):0,h=e2(0,vl0,x),k=h[0]===0?Fx(y,h[1]):h[1][1];return[17,[0,t,a,m0([0,r],[0,Fx(f,Fx(o,k))],0)]]},jS0=0,nW=function(x,r,e){var t=e[2][1],u=e[1];return t&&!t[1][2][2]&&!t[2]?0:ex(x,[0,u,r])},mL=function(x,r){return!x[5]&&s6(r)?Wv(x,r[1]):0},zS0=function(x){var r=w0(x);u0(x,39);var e=x[19],t=e&&v1(x,65),u=Fx(r,w0(x));u0(x,4);var i=m0([0,u],0,0),f=W(x),o=0;if(typeof f=="number"&&f===64){var a=1;o=1}if(!o)var a=0;var y=e6(1,x),h=W(y),k=0;if(typeof h=="number"){if(24<=h){if(29>h)switch(h+kT|0){case 0:var A=a0(0,fX,y),g=A[2],I=g[3],C=g[1],R=A[1],F=I,t0=[0,[1,[0,R,[0,C,0,m0([0,g[2]],0,0)]]]];k=1;break;case 3:var L=a0(0,cX,y),U=L[2],B=U[3],X=U[1],J=L[1],F=B,t0=[0,[1,[0,J,[0,X,2,m0([0,U[2]],0,0)]]]];k=1;break;case 4:if(hr(1,y)!==17){var e0=a0(0,sX,y),i0=e0[2],j=i0[3],Y=i0[1],z=e0[1],F=j,t0=[0,[1,[0,z,[0,Y,1,m0([0,i0[2]],0,0)]]]];k=1}break}}else if(h===8){var F=0,t0=0;k=1}}if(!k)var F=0,t0=[0,[0,l(lx[8],y)]];var $=W(x);if(typeof $=="number"){if($===17){if(!t0)throw q0([0,Tr,ol0],1);var f0=t0[1];if(f0[0]===0)var c0=[1,DO(sl0,x,f0[1])];else{var v0=f0[1];nW(x,42,v0);var c0=[0,v0]}t?u0(x,63):u0(x,17);var s0=l(lx[7],x);u0(x,5);var o0=r6(1,x),E0=l(lx[2],o0);return mL(x,E0),[24,[0,c0,s0,E0,0,i]]}if($===63){if(!t0)throw q0([0,Tr,cl0],1);var k0=t0[1];if(k0[0]===0){var M0=DO(fl0,x,k0[1]),D0=1-t,cx=D0&&a,g0=0;if(cx){var Z0=M0[2];if(Z0[0]===2){var n0=Z0[1][1],nx=n0[1];N(n0[2][1],ko)||(ex(x,[0,nx,43]),g0=1)}}var xx=[1,M0]}else{var yx=k0[1];nW(x,43,yx);var xx=[0,yx]}u0(x,63);var px=l(lx[10],x);u0(x,5);var Tx=r6(1,x),O0=l(lx[2],Tx);return mL(x,O0),[25,[0,xx,px,O0,t,i]]}}if(S2(function(L0){return ex(x,L0)},F),t?u0(x,63):u0(x,8),t0)var P0=t0[1],N0=P0[0]===0?[0,[1,v2(x,P0[1])]]:[0,[0,P0[1]]],J0=N0;else var J0=0;var I0=W(x),Q=0;if(typeof I0=="number"&&I0===8){var G=0;Q=1}if(!Q)var G=[0,l(lx[7],x)];u0(x,8);var V=W(x),p0=0;if(typeof V=="number"&&V===5){var d0=0;p0=1}if(!p0)var d0=[0,l(lx[7],x)];u0(x,5);var A0=r6(1,x),M=l(lx[2],A0);return mL(x,M),[23,[0,J0,G,d0,M,i]]},KS0=0,uW=function(x){var r=Lo(x)?zX(x):l(lx[2],x),e=1-x[5],t=e&&s6(r);return t&&Wv(x,r[1]),r},JS0=function(x){var r=w0(x);u0(x,43);var e=uW(x);return[0,e,m0([0,r],0,0)]},YS0=function(x){var r=w0(x);u0(x,16);var e=Fx(r,w0(x));u0(x,4);var t=l(lx[7],x);u0(x,5);var u=uW(x),i=W(x)===43?[0,a0(0,JS0,x)]:0;return[27,[0,t,u,i,m0([0,e],0,0)]]},BS0=0,iW=function(x){return a0(BS0,YS0,x)},XS0=function(x){1-x[11]&&Bx(x,31);var r=w0(x),e=Nx(x);u0(x,19);var t=W(x)===8?mx(x):0,u=0;if(W(x)!==8&&!e3(x)){var i=[0,l(lx[7],x)];u=1}if(!u)var i=0;var f=i1(e,Nx(x)),o=e2(0,0,x),a=0;if(o[0]===0)var y=o[1];else{var h=o[1],k=h[1];if(i){var A=i[1],g=h[2],I=[0,p(g,A,function(B,X){return p(qx(B,an,73),B,X)})],C=t;a=1}else var y=k}if(!a)var I=i,C=Fx(t,y);return[31,[0,I,m0([0,r],[0,C],0),f]]},WS0=0,VS0=function(x){var r=w0(x);u0(x,20),u0(x,4);var e=l(lx[7],x);u0(x,5),u0(x,0);for(var t=il0;;){var u=t[2],i=t[1],f=W(x);if(typeof f=="number"){var o=0;if(f!==1&&Er!==f&&(o=1),!o){var a=gx(u);u0(x,1);var y=Gs(x)[1],h=e[1];return[32,[0,e,a,m0([0,r],[0,y],0),h]]}}var k=Qd(0,function(g){return function(I){var C=w0(I),R=W(I),L=0;if(typeof R=="number"&&R===36){g&&Bx(I,57),u0(I,36);var U=mx(I),B=0;L=1}if(!L){u0(I,33);var U=0,B=[0,l(lx[7],I)]}var X=g||(B===0?1:0);u0(I,86);var J=Fx(U,Gs(I)[1]);function e0(z){if(typeof z=="number"){var F=z-1|0,t0=0;if(32>>0?F===35&&(t0=1):30>>0&&(t0=1),t0)return 1}return 0}var i0=1,j=I[9]===1?I:[0,I[1],I[2],I[3],I[4],I[5],I[6],I[7],I[8],i0,I[10],I[11],I[12],I[13],I[14],I[15],I[16],I[17],I[18],I[19],I[20],I[21],I[22],I[23],I[24],I[25],I[26],I[27],I[28],I[29],I[30],I[31]],Y=p(lx[4],e0,j);return[0,[0,B,Y,m0([0,C],[0,J],0)],X]}}(i),x),t=[0,k[2],[0,k[1],u]]}},ZS0=0,$S0=function(x){var r=w0(x),e=Nx(x);u0(x,22),b2(x)&&ex(x,[0,e,58]);var t=l(lx[7],x),u=e2(0,0,x);if(u[0]===0)var o=t,a=u[1];else var i=u[1][2],f=0,o=p(i,t,function(y,h){return p(qx(y,an,74),y,h)}),a=f;return[33,[0,o,m0([0,r],[0,a],0)]]},FS0=0,QS0=function(x){var r=w0(x);u0(x,23);var e=l(lx[15],x);if(W(x)===34)var t=I1(x)[2],u=p(t,e,function(L,U){var B=U[1];return[0,B,G0(qx(L,Vp,4),L,B,U[2])]});else var u=e;var i=W(x),f=0;if(typeof i=="number"&&i===34){var o=[0,a0(0,function(U){var B=w0(U);u0(U,34);var X=mx(U);if(W(U)===4){u0(U,4);var J=[0,p(lx[18],U,71)];u0(U,5);var e0=J}else var e0=0;var i0=l(lx[15],U);if(W(U)===38)var Y=i0;else var j=Gs(U)[2],Y=p(j,i0,function(z,F){var t0=F[1];return[0,t0,G0(qx(z,Vp,75),z,t0,F[2])]});return[0,e0,Y,m0([0,B],[0,X],0)]},x)];f=1}if(!f)var o=0;var a=W(x),y=0;if(typeof a=="number"&&a===38){u0(x,38);var h=l(lx[15],x),k=h[1],A=h[2],g=Gs(x)[2],I=[0,[0,k,p(g,A,function(U,B){return G0(qx(U,Vp,76),U,k,B)})]];y=1}if(!y)var I=0;var C=o===0?1:0,R=C&&(I===0?1:0);return R&&ex(x,[0,u[1],60]),[34,[0,u,o,I,m0([0,r],0,0)]]},HS0=0,qS0=function(x){var r=fX(x),e=r[3],t=r[2],u=lL(0,x,r[1]),i=0,f=u[2],o=u[1];return S2(function(a){return ex(x,a)},e),[37,[0,f,i,m0([0,t],[0,o],0)]]},GS0=0,bS0=function(x){var r=cX(x),e=r[3],t=r[2],u=lL(2,x,r[1]),i=2,f=u[2],o=u[1];return S2(function(a){return ex(x,a)},e),[37,[0,f,i,m0([0,t],[0,o],0)]]},xE0=0,rE0=function(x){var r=sX(x),e=r[3],t=r[2],u=lL(1,x,r[1]),i=1,f=u[2],o=u[1];return S2(function(a){return ex(x,a)},e),[37,[0,f,i,m0([0,t],[0,o],0)]]},eE0=0,tE0=function(x){var r=w0(x);u0(x,25);var e=Fx(r,w0(x));u0(x,4);var t=l(lx[7],x);u0(x,5);var u=r6(1,x),i=l(lx[2],u),f=1-x[5],o=f&&s6(i);return o&&Wv(x,i[1]),[38,[0,t,i,m0([0,e],0,0)]]},nE0=0,uE0=function(x){var r=w0(x),e=l(lx[7],x),t=W(x),u=e[2];if(u[0]===8&&typeof t=="number"&&t===86){var i=u[1],f=i[2][1],o=e[1];u0(x,86),p(h2[3],f,x[3])&&ex(x,[0,o,[20,nl0,f]]);var a=x[31],y=x[30],h=x[29],k=x[28],A=x[27],g=x[26],I=x[25],C=x[24],R=x[23],L=x[22],U=x[21],B=x[20],X=x[19],J=x[18],e0=x[17],i0=x[16],j=x[15],Y=x[14],z=x[13],F=x[12],t0=x[11],$=x[10],f0=x[9],c0=x[8],v0=x[7],s0=x[6],o0=x[5],E0=x[4],k0=p(h2[4],f,x[3]),M0=[0,x[1],x[2],k0,E0,o0,s0,v0,c0,f0,$,t0,F,z,Y,j,i0,e0,J,X,B,U,L,R,C,I,g,A,k,h,y,a],D0=Lo(M0)?zX(M0):l(lx[2],M0);return[30,[0,i,D0,m0([0,r],0,0)]]}var cx=e2(ul0,0,x);if(cx[0]===0)var n0=e,nx=cx[1];else var g0=cx[1][2],Z0=0,n0=p(g0,e,function(xx,yx){return p(qx(xx,an,77),xx,yx)}),nx=Z0;return[22,[0,n0,0,m0(0,[0,nx],0)]]},iE0=0,fE0=function(x){var r=l(lx[7],x),e=e2(tl0,0,x);if(e[0]===0)var i=r,f=e[1];else var t=e[1][2],u=0,i=p(t,r,function(I,C){return p(qx(I,an,78),I,C)}),f=u;if(x[20]){var o=i[2];if(o[0]===12){var a=o[1][2],y=0;if(1i)switch(i-53|0){case 0:return a0([0,u],function(a){1-T1(a)&&Bx(a,fn);var y=a0(0,l(_6,0),a),h=[0,y[1],[29,y[2]]];return[21,[0,[0,h],0,0,0,m0([0,t],0,0)]]},e);case 8:if(hr(1,e)!==0)return a0([0,u],function(a){1-T1(a)&&Bx(a,fn);var y=hr(1,a);if(typeof y=="number"){if(y===48)return Bx(a,21),u0(a,61),[21,[0,0,0,0,0,m0([0,t],0,0)]];if(_1===y){u0(a,61);var h=Nx(a);u0(a,_1);var k=l(o3,a),A=k[1];return[21,[0,0,[0,[1,[0,h,0]]],[0,A],0,m0([0,t],[0,k[2]],0)]]}}var g=a0(0,l(k6,0),a),I=[0,g[1],[35,g[2]]];return[21,[0,[0,I],0,0,0,m0([0,t],0,0)]]},e);break;case 9:return a0([0,u],function(a){var y=a0(0,function(k){return l(p(h6,0,0),k)},a),h=[0,y[1],[36,y[2]]];return[21,[0,[0,h],0,0,0,m0([0,t],0,0)]]},e)}}else if(i===36)return a0([0,u],function(a){var y=Fx(t,w0(a)),h=a0(0,function(X){return u0(X,36)},a)[1],k=tB(1,a);if(Lo(k))var A=0,g=[0,d6(k)];else if(u6(k))var A=0,g=[0,km(k,x)];else if(W(k)===48)var A=0,g=[0,l(oX(0),k)];else if(fO(k))var A=0,g=[0,MO(k)];else{var I=l(lx[10],k),C=e2(0,0,k);if(C[0]===0)var U=C[1],B=I;else var R=C[1][2],L=0,U=L,B=p(R,I,function(e0,i0){return p(qx(e0,an,96),e0,i0)});var A=U,g=[1,B]}return[20,[0,h,g,m0([0,y],[0,A],0)]]},e)}if(u6(e))return a0([0,u],function(a){var y=km(a,x);return[21,[0,[0,y],0,0,1,m0([0,t],0,0)]]},e);if(Lo(e))return a0([0,u],function(a){l(Wd(a),x);var y=d6(a);return[21,[0,[0,y],0,0,1,m0([0,t],0,0)]]},e);if(typeof i=="number"){var f=i+kT|0;if(4>>0){if(f===24&&e[28][2])return a0([0,u],function(a){var y=p(lx[3],[0,x],a);return[21,[0,[0,y],0,0,1,m0([0,t],0,0)]]},e)}else if(1>>0)return a0([0,u],function(a){var y=p(lx[3],[0,x],a);return[21,[0,[0,y],0,0,1,m0([0,t],0,0)]]},e)}if(fO(e))return a0([0,u],function(a){var y=MO(a);return[21,[0,[0,y],0,0,1,m0([0,t],0,0)]]},e);if(typeof i=="number"&&_1===i)return a0([0,u],function(a){var y=Nx(a);u0(a,_1);var h=W(a),k=0;if(typeof h!="number"&&h[0]===4&&!N(h[3],Ct)){$0(a);var A=[0,_2(a)];k=1}if(!k)var A=0;var g=l(o3,a),I=g[1];return[21,[0,0,[0,[1,[0,y,A]]],[0,I],1,m0([0,t],[0,g[2]],0)]]},e);var o=v1(e,61)?0:1;return v1(e,0)?a0([0,u],function(a){var y=G0(Sm,0,a,0);u0(a,1);var h=W(a),k=0;if(typeof h!="number"&&h[0]===4&&!N(h[3],il)){var A=l(o3,a),g=A[2],I=[0,A[1]];k=1}if(!k){p(yL,a,y);var C=e2(0,0,a),R=C[0]===0?C[1]:C[1][1],g=R,I=0}return[21,[0,0,[0,[0,y]],I,o,m0([0,t],[0,g],0)]]},e):(S1(U30,e),p(lx[3],[0,x],e))}),C0(dL,function(x){var r=x?x[1]:0;function e(u){1-T1(u)&&Bx(u,Rs);var i=w0(u);u0(u,60);var f=eB(1,Qs(1,u)),o=Fx(i,w0(f));u0(f,49);var a=W(f);if(typeof a=="number")switch(a){case 36:var y=Fx(o,w0(f)),h=a0(0,function(N0){return u0(N0,36)},f)[1],k=tB(1,f),A=W(k),g=0;if(typeof A=="number")switch(A){case 15:var I=0,C=I,R=[0,[1,a0(0,function(N0){return p(Tm,0,N0)},k)]];g=1;break;case 40:var C=0,R=[0,[2,a0(0,l(_m,0),k)]];g=1;break}else if(A[0]===4&&!N(A[3],vo)&&k[28][1]){var C=0,R=[0,[3,a0(0,l(wm,0),k)]];g=1}if(!g){var L=qs(k),U=e2(0,0,k);if(U[0]===0)var J=U[1],e0=L;else var B=U[1][2],X=0,J=X,e0=p(B,L,function(I0,Q){return p(qx(I0,Sa,97),I0,Q)});var C=J,R=[0,[4,e0]]}return[9,[0,[0,h],R,0,0,m0([0,y],[0,C],0)]];case 48:if(f[28][2]){var i0=jX[1],j=a0(0,function(N0){return p(i0,0,N0)},f);return[9,[0,0,[0,[8,j]],0,0,m0([0,o],0,0)]]}break;case 53:if(r){var Y=a0(0,l(_6,0),f);return[9,[0,0,[0,[7,Y]],0,0,m0([0,o],0,0)]]}break;case 61:if(r){var z=a0(0,l(k6,0),f);return[9,[0,0,[0,[5,z]],0,0,m0([0,o],0,0)]]}break;case 62:var F=a0(0,p(h6,O30,0),f);return[9,[0,0,[0,[6,F]],0,0,m0([0,o],0,0)]];case 106:var t0=Nx(f);u0(f,_1);var $=W(f),f0=0;if(typeof $!="number"&&$[0]===4&&!N($[3],Ct)){$0(f);var c0=[0,p(lx[13],0,f)];f0=1}if(!f0)var c0=0;var v0=l(o3,f),s0=v0[1];return[9,[0,0,0,[0,[1,[0,t0,c0]]],[0,s0],m0([0,o],[0,v0[2]],0)]];case 15:case 24:case 27:case 28:case 40:var o0=W(f);if(typeof o0=="number"){var E0=0;if(24<=o0){if(41>o0){var k0=0;switch(o0+kT|0){case 0:var M0=[0,[0,a0(0,function(N0){return G0(w6,0,N0,0)},f)]];break;case 3:var M0=[0,[0,a0(0,function(N0){return G0(w6,2,N0,0)},f)]];break;case 4:var M0=[0,[0,a0(0,function(N0){return G0(w6,1,N0,0)},f)]];break;case 16:var M0=[0,[2,a0(0,l(_m,0),f)]];break;default:k0=1}if(!k0){var D0=M0;E0=1}}}else if(o0===15){var D0=[0,[1,a0(0,function(J0){return p(Tm,0,J0)},f)]];E0=1}if(E0)return[9,[0,0,D0,0,0,m0([0,o],0,0)]]}throw q0([0,Tr,L30],1)}else if(a[0]===4&&!N(a[3],vo)&&f[28][1]){var cx=[0,[3,a0(0,l(wm,0),f)]];return[9,[0,0,cx,0,0,m0([0,o],0,0)]]}var g0=W(f),Z0=0;typeof g0=="number"?g0===53?Bx(f,15):g0===61?Bx(f,16):Z0=1:Z0=1,u0(f,0);var n0=G0(Sm,0,f,0);u0(f,1);var nx=W(f),xx=0;if(typeof nx!="number"&&nx[0]===4&&!N(nx[3],il)){var yx=l(o3,f),px=yx[2],Tx=[0,yx[1]];xx=1}if(!xx){p(yL,f,n0);var O0=e2(0,0,f),P0=O0[0]===0?O0[1]:O0[1][1],px=P0,Tx=0}return[9,[0,0,0,[0,[0,n0]],Tx,m0([0,o],[0,px],0)]]}var t=0;return function(u){return a0(t,e,u)}});var oW=function x(r,e){return x.fun(r,e)},vW=function x(r,e){return x.fun(r,e)},A6=function x(r,e){return x.fun(r,e)},gm=function(x,r){return function(e){if(!e)return gx(r);var t=e[1];if(t[0]!==0){var u=t[1],i=u[1];if(e[2]){var f=e[2];return ex(x,[0,i,68]),l(gm(x,r),f)}var o=u[2],a=o[2];return l(gm(x,[0,[1,[0,i,[0,p(A6,x,o[1]),a]]],r]),0)}var y=t[1],h=y[2],k=e[2],A=y[1];switch(h[0]){case 0:var g=h[2],I=h[1],C=h[3];switch(I[0]){case 0:var R=[0,I[1]];break;case 1:var R=[1,I[1]];break;case 2:var R=[2,I[1]];break;case 3:var R=[3,I[1]];break;case 4:var R=Rx(ml0);break;default:var R=[4,I[1]]}var L=g[2],U=0;if(L[0]===2){var B=L[1];if(!B[1]){var X=[0,B[3]],J=B[2];U=1}}if(!U)var X=0,J=p(A6,x,g);var e0=[0,[0,[0,A,[0,R,J,X,C]]],r];break;case 1:ex(x,[0,h[2][1],54]);var e0=r;break;default:ex(x,[0,h[2][1],kl0]);var e0=r}return l(gm(x,e0),k)}};C0(oW,function(x,r){var e=r[2],t=e[2],u=e[1],i=r[1],f=n3(x);return[0,i,[0,[0,l(gm(x,0),u),f,t]]]});var aW=function(x,r){var e=r[1];return l(lx[23],r)?[0,p(A6,x,r)]:(ex(x,[0,e,40]),0)},v3=function(x,r){return function(e){if(!e)return gx(r);var t=e[1];switch(t[0]){case 0:var u=t[1],i=u[2];if(i[0]===2){var f=i[1];if(!f[1]){var o=e[2];return l(v3(x,[0,[0,[0,u[1],[0,f[2],[0,f[3]]]]],r]),o)}}var a=e[2],y=aW(x,u);if(y)var h=y[1],k=[0,[0,[0,h[1],[0,h,0]]],r];else var k=r;return l(v3(x,k),a);case 1:var A=t[1],g=A[1];if(e[2]){var I=e[2];return ex(x,[0,g,20]),l(v3(x,r),I)}var C=A[2],R=C[2],L=aW(x,C[1]),U=L?[0,[1,[0,g,[0,L[1],R]]],r]:r;return l(v3(x,U),0);default:var B=e[2];return l(v3(x,[0,[2,t[1]],r]),B)}}};C0(vW,function(x,r){var e=r[2],t=e[2],u=e[1],i=r[1],f=n3(x);return[0,i,[1,[0,l(v3(x,0),u),f,t]]]}),C0(A6,function(x,r){var e=r[2],t=r[1];switch(e[0]){case 0:return p(vW,x,[0,t,e[1]]);case 8:var u=e[1],i=u[2][1],f=u[1],o=0;if(x[5]&&Xv(i)?ex(x,[0,f,75]):o=1,o&&1-x[5]){var a=0;if(x[18]&&Nr(i,U2)?ex(x,[0,f,Ps]):a=1,a){var y=x[19],h=y&&Nr(i,_v);h&&ex(x,[0,f,6])}}return[0,t,[2,[0,u,n3(x),0]]];case 23:return p(oW,x,[0,t,e[1]]);default:return[0,t,[3,[0,t,e]]]}});var g6=function(x,r){var e=W(x);if(typeof e=="number"){if(e===6)return a0(0,function(i){var f=w0(i);u0(i,6);for(var o=0;;){var a=W(i);if(typeof a=="number"){var y=0;if(13<=a)Er===a&&(y=1);else if(7<=a)switch(a-7|0){case 0:y=1;break;case 2:var h=Nx(i);u0(i,9);var o=[0,[2,h],o];continue;case 5:var k=w0(i),A=a0(0,function(j){return u0(j,12),g6(j,r)},i),g=A[1],I=A[2],C=[1,[0,g,[0,I,m0([0,k],0,0)]]];W(i)!==7&&(ex(i,[0,g,20]),W(i)===9&&$0(i));var o=[0,C,o];continue}if(y){var R=gx(o),L=w0(i);u0(i,7);var U=W(i)===86?[1,Fv(i)]:n3(i);return[1,[0,R,U,K1([0,f],[0,mx(i)],L,0)]]}}var B=a0(0,function(i0){var j=g6(i0,r),Y=W(i0),z=0;if(typeof Y=="number"&&Y===82){u0(i0,82);var F=[0,l(lx[10],i0)];z=1}if(!z)var F=0;return[0,j,F]},i),X=B[2],J=[0,[0,B[1],[0,X[1],X[2]]]];W(i)!==7&&u0(i,9);var o=[0,J,o]}},x);if(!e){var t=function(i){var f=W(i);return typeof f=="number"&&f===82?(u0(i,82),[0,l(lx[10],i)]):0};return a0(0,function(i){var f=w0(i);u0(i,0);for(var o=0,a=0,y=0;;){var h=W(i);if(typeof h=="number"){var k=0;if(h!==1&&Er!==h&&(k=1),!k){a&&ex(i,[0,a[1],94]);var A=gx(y),g=w0(i);u0(i,1);var I=mx(i),C=W(i)===86?[1,Fv(i)]:n3(i);return[0,[0,A,C,K1([0,f],[0,I],g,0)]]}}if(W(i)===12)var R=w0(i),L=a0(0,function(Tx){return u0(Tx,12),g6(Tx,r)},i),U=L[2],B=L[1],X=[0,[1,[0,B,[0,U,m0([0,R],0,0)]]]];else{var J=Nx(i),e0=p(lx[20],0,i),i0=W(i),j=0;if(typeof i0=="number"&&i0===86){u0(i,86);var Y=a0([0,J],function(O0){var P0=g6(O0,r);return[0,P0,t(O0)]},i),z=Y[2],F=e0[2],t0=z[2],$=z[1],f0=Y[1];switch(F[0]){case 0:var c0=[0,F[1]];break;case 1:var c0=[1,F[1]];break;case 2:var c0=[2,F[1]];break;case 3:var c0=[3,F[1]];break;case 4:var c0=Rx(yl0);break;default:var c0=[4,F[1]]}var X=[0,[0,[0,f0,[0,c0,$,t0,0]]]]}else j=1;if(j){var v0=e0[2];if(v0[0]===3){var s0=v0[1],o0=s0[2][1],E0=s0[1];Bd(o0)?ex(i,[0,E0,99]):r3(o0)&&vt(i,[0,E0,84]);var k0=a0([0,J],function(O0,P0){return function(N0){var J0=[0,P0,[2,[0,O0,n3(N0),0]]];return[0,J0,t(N0)]}}(s0,E0),i),M0=k0[2],X=[0,[0,[0,k0[1],[0,[3,s0],M0[1],M0[2],1]]]]}else{S1(dl0,i);var X=0}}}if(X){var D0=X[1],cx=D0[1][1],g0=o?(ex(i,[0,cx,68]),0):a;if(D0[0]===0)var n0=g0,nx=o;else var Z0=W(i)===9?[0,Nx(i)]:0,n0=Z0,nx=1;W(i)!==1&&u0(i,9);var o=nx,a=n0,y=[0,D0,y]}}},x)}}var u=G0(lx[14],x,0,r);return[0,u[1],[2,u[2]]]},Nm=function(x){var r=W(x);if(typeof r=="number"){var e=r+pz|0,t=0;if(6>>0?e===14&&(t=1):4>>0&&(t=1),t)return mx(x)}return b2(x)?Uo(x):0},lW=function(x){return W(x)===1?0:[0,l(lx[7],x)]},bs=function(x){var r=Nx(x),e=W(x),t=0;if(typeof e!="number"&&e[0]===8){var u=e[1];t=1}if(!t){S1(Al0,x);var u=gl0}var i=w0(x);$0(x);var f=W(x),o=0;if(typeof f=="number"){var a=f+PM|0,y=0;if(72>>0?a===76&&(y=1):70>>0&&(y=1),y){var h=mx(x);o=1}}if(!o)var h=Nm(x);return[0,r,[0,u,m0([0,i],[0,h],0)]]},pW=function(x){var r=hr(1,x);if(typeof r=="number"){if(r===10)for(var e=a0(0,function(i){var f=[0,bs(i)];return u0(i,10),[0,f,bs(i)]},x);;){var t=W(x);if(typeof t=="number"&&t===10){var u=e[1],e=a0([0,u],function(f){return function(o){return u0(o,10),[0,[1,f],bs(o)]}}(e),x);continue}return[2,e]}if(r===86)return[1,a0(0,function(i){var f=bs(i);return u0(i,86),[0,f,bs(i)]},x)]}return[0,bs(x)]},N6=function(x,r){return Nr(x[2][1],r[2][1])},yW=function(x,r){var e=x[2],t=e[1],u=r[2],i=u[1],f=0,o=e[2],a=u[2];if(t[0]===0){var y=t[1];if(i[0]===0)var k=N6(y,i[1]);else f=1}else{var h=t[1];if(i[0]===0)f=1;else var k=yW(h,i[1])}if(f)var k=0;return k&&N6(o,a)},Im=function(x,r){switch(x[0]){case 0:var e=x[1];if(r[0]===0)return N6(e,r[1]);break;case 1:var t=x[1];if(r[0]===1){var u=t[2],i=r[1][2],f=u[2],o=i[2],a=N6(u[1],i[1]);return a&&N6(f,o)}break;default:var y=x[1];if(r[0]===2)return yW(y,r[1])}return 0},_L=function(x){switch(x[0]){case 0:return x[1][1];case 1:return x[1][1];default:return x[1][1]}},dW=function x(r,e){return x.fun(r,e)},wL=function x(r,e){return x.fun(r,e)},TL=function x(r,e){return x.fun(r,e)};C0(dW,function(x,r){var e=W(r);if(typeof e=="number"){if(e===0){J1(r,0);var t=a0(0,function(A){u0(A,0);var g=W(A),I=0;if(typeof g=="number"&&g===12){var C=w0(A);u0(A,12);var R=l(lx[10],A),B=[3,[0,R,m0([0,C],0,0)]];I=1}if(!I)var L=lW(A),U=L?0:w0(A),B=[2,[0,L,K1(0,0,U,0)]];return u0(A,1),B},r),u=t[2],i=t[1];return W1(r),[0,i,u]}}else if(e[0]===9){var f=e[3],o=e[2],a=e[1];return u0(r,e),[0,a,[4,[0,o,f]]]}var y=p(TL,x,r),h=y[2],k=y[1];return tn<=h[1]?[0,k,[1,h[2]]]:[0,k,[0,h[2]]]});var Pm=function(x){switch(x[0]){case 0:return x[1][2][1];case 1:var r=x[1][2],e=r[1],t=Zx(hl0,r[2][2][1]);return Zx(e[2][1],t);default:var u=x[1][2],i=u[1],f=u[2],o=i[0]===0?i[1][2][1]:Pm([2,i[1]]);return Zx(o,Zx(_l0,f[2][1]))}};C0(wL,function(x,r){var e=w0(r),t=a0(0,function(Rr){u0(Rr,98);var U1=W(Rr);if(typeof U1=="number"){if(U1===99)return $0(Rr),Tl0}else if(U1[0]===8){var _=pW(Rr),b=0;if(T1(Rr)&&W(Rr)===98&&Ue!==hr(1,Rr)){var x0=Zd(Rr,0,am);b=1}if(!b)var x0=0;for(var S0=0;;){var H=W(Rr);if(typeof H=="number"){if(H===0){var h0=w0(Rr);J1(Rr,0);var Y0=a0(0,function(Vx){u0(Vx,0),u0(Vx,12);var er=l(lx[10],Vx);return u0(Vx,1),er},Rr),U0=Y0[2],tx=Y0[1];W1(Rr);var S0=[0,[1,[0,tx,[0,U0,m0([0,h0],[0,Nm(Rr)],0)]]],S0];continue}}else if(H[0]===8){var S0=[0,[0,a0(0,function(Vx){var er=hr(1,Vx),Jx=0;if(typeof er=="number"&&er===86){var Or=[1,a0(0,function(ke){var lt=bs(ke);return u0(ke,86),[0,lt,bs(ke)]},Vx)];Jx=1}if(!Jx)var Or=[0,bs(Vx)];var Xx=W(Vx),X2=0;if(typeof Xx=="number"&&Xx===82){u0(Vx,82);var at=w0(Vx),de=W(Vx),En=0;if(typeof de=="number")if(de===0){var ro=w0(Vx);J1(Vx,0);var An=a0(0,function(ke){u0(ke,0);var lt=lW(ke);return u0(ke,1),lt},Vx),fs=An[1],me=An[2];W1(Vx);var gn=[0,me,K1([0,ro],[0,Nm(Vx)],0,0)];gn[1]||ex(Vx,[0,fs,51]);var re=[0,[1,[0,fs,gn]]]}else En=1;else if(de[0]===10){var Vt=de[3],dr=de[2],Zt=de[1];u0(Vx,de);var re=[0,[0,[0,Zt,[0,dr,Vt,m0([0,at],[0,Nm(Vx)],0)]]]]}else En=1;if(En){Bx(Vx,39);var re=[0,[0,[0,Nx(Vx),El0]]]}var Nn=re;X2=1}if(!X2)var Nn=0;return[0,Or,Nn]},Rr)],S0];continue}var Wx=gx(S0),Lx=[0,ao,[0,_,x0,v1(Rr,Ue),Wx]];return v1(Rr,99)?[0,Lx]:(Hs(Rr,99),[1,Lx])}}return Hs(Rr,99),Sl0},r);W1(r);var u=t[2];if(u[0]===0)var i=u[1],f=typeof i=="number"?0:i[2][3];else var f=1;if(f)var o=Lg,a=o,y=a0(0,function(Rr){return 0},r);else{J1(r,3);for(var h=t[2][1],k=typeof h=="number"?0:[0,h[2][1]],A=Nx(r),g=0;;){var I=x3(r),C=0;if(g&&k){var R=g[1],L=R[2],U=0,B=k[1],X=g[2];if(L[0]===0){var J=L[1],e0=J[2];if(e0)var i0=e0[1][2][1],j=1-Im(J[1][2][1],i0),Y=j&&Im(B,i0);else U=1}else U=1;if(U)var Y=0;if(Y){var z=R[2],F=0;if(z[0]===0){var t0=z[1],$=t0[2];if($){var f0=$[1],c0=i1(R[1],t0[3][1]),v0=[0,ao,f0],s0=[0,c0,[0,[0,t0[1],0,t0[3],t0[4]]]];F=1}}if(!F)var v0=Lg,s0=R;W1(r);var o0=[0,gx([0,s0,X]),I,v0];C=1}}if(!C){var E0=W(r),k0=0;if(typeof E0=="number"){if(E0===98){J1(r,2);var M0=W(r),D0=hr(1,r),cx=0;if(typeof M0=="number"&&M0===98&&typeof D0=="number"){var g0=0;if((Ue===D0||Er===D0)&&(g0=1),g0){var Z0=a0(0,function(b){u0(b,98),u0(b,Ue);var x0=W(b);if(typeof x0=="number"){if(x0===99)return $0(b),tn}else if(x0[0]===8){var S0=pW(b);return Vd(b,99),[0,ao,[0,S0]]}return Hs(b,99),tn},r),n0=Z0[2],nx=Z0[1],xx=typeof n0=="number"?[0,tn,nx]:[0,ao,[0,nx,n0[2]]],yx=r[24][1],px=0;if(yx){var Tx=yx[2];if(Tx){var O0=Tx[2];px=1}}if(!px)var O0=Rx(Hc0);r[24][1]=O0;var P0=ba(r),N0=bl(r[25][1],P0);r[26][1]=N0;var o0=[0,gx(g),I,xx];k0=1,cx=1}}if(!cx){var J0=p(wL,k,r),I0=J0[2],Q=J0[1],G=tn<=I0[1]?[0,Q,[1,I0[2]]]:[0,Q,[0,I0[2]]],g=[0,G,g];continue}}else if(Er===E0){S1(0,r);var o0=[0,gx(g),I,Lg];k0=1}}if(!k0){var g=[0,p(dW,k,r),g];continue}}var V=o0[3],p0=o0[1],d0=I?I[1]:A,a=V,y=[0,i1(A,d0),p0];break}}var A0=mx(r),M=0;if(typeof a!="number"){var L0=a[1],V0=0;if(ao===L0){var B0=a[2],vx=B0[2][1],b0=t[2],hx=B0[1];if(b0[0]===0){var W0=b0[1];if(typeof W0=="number")ex(r,[0,_L(vx),wl0]);else{var T=W0[2][1];if(1-Im(vx,T)){var K=0;if(x&&Im(x[1],vx)){var H0=[18,Pm(T)];ex(r,[0,_L(T),H0]),K=1}if(!K){var sx=[13,Pm(T)];ex(r,[0,_L(vx),sx])}}}}var ux=hx;V0=1}else if(tn===L0){var z0=a[2],Px=t[2];if(Px[0]===0){var kx=Px[1];typeof kx!="number"&&ex(r,[0,z0,[13,Pm(kx[2][1])]])}var ux=z0;V0=1}if(V0){var $x=ux;M=1}}if(!M)var $x=t[1];var Qx=t[2][1],j0=t[1];if(typeof Qx=="number"){var rr=0,zx=m0([0,e],[0,A0],0);if(typeof a!="number"){var X0=a[1],ir=0;if(ao===X0){var K0=a[2][1];ir=1}else if(tn===X0){var K0=a[2];ir=1}if(ir){var Sr=K0;rr=1}}if(!rr)var Sr=$x;var Dr=[0,tn,[0,j0,Sr,y,zx]]}else{var ax=Qx[2],br=0,t2=m0([0,e],[0,A0],0);if(typeof a!="number"&&ao===a[1]){var k1=[0,a[2]];br=1}if(!br)var k1=0;var Dr=[0,ao,[0,[0,j0,ax],k1,y,t2]]}return[0,i1(t[1],$x),Dr]}),C0(TL,function(x,r){return J1(r,2),p(wL,x,r)});var mW=function(x,r){var e=_2(r);return Fd(x,r,e),e},kW=function x(r){return x.fun(r)},SL=function x(r,e,t){return x.fun(r,e,t)},EL=function x(r){return x.fun(r)},hW=function x(r,e){return x.fun(r,e)},AL=function x(r,e){return x.fun(r,e)},gL=function x(r,e){return x.fun(r,e)},Cm=function x(r,e){return x.fun(r,e)},I6=function x(r,e){return x.fun(r,e)},Rm=function x(r){return x.fun(r)},_W=function x(r){return x.fun(r)},wW=function x(r){return x.fun(r)},TW=function x(r,e,t){return x.fun(r,e,t)},SW=function x(r){return x.fun(r)},EW=function x(r){return x.fun(r)},aE0=l(TL,0);C0(kW,function(x){var r=W(x),e=0;if(typeof r!="number"&&r[0]===6){var t=r[2],u=r[1];$0(x);var i=[0,[0,u,t]];e=1}if(!e)var i=0;var f=w0(x),o=gx(f),a=5;x:for(;;){if(o)for(var y=o[2],h=o[1],k=h[2],A=h[1],g=k[2],I=0,C=Gx(g);;){if(C<(I+5|0))var R=0;else{var L=Nr(z2(g,I,a),"@flow");if(!L){var I=I+1|0;continue}var R=L}if(!R){var o=y;continue x}x[31][1]=A[3];var U=gx([0,[0,A,k],y]);break}else var U=0;if(U===0){var B=0;if(f){var X=f[1],J=X[2];if(!J[1]){var e0=J[2],i0=0,j=X[1];if(1<=Gx(e0)&&C1(e0,0)===42){x[31][1]=j[3];var Y=[0,X,0];B=1}else i0=1}}if(!B)var Y=0}else var Y=U;var z=p(hW,x,function(v0){return 0}),F=Nx(x);u0(x,Er);var t0=h2[1];if(b1(function(v0,s0){var o0=s0[2];switch(o0[0]){case 20:return o6(x,v0,hn(0,[0,o0[1][1],Ll0]));case 21:var E0=o0[1],k0=E0[1];if(k0){if(!E0[2]){var M0=k0[1],D0=M0[2],cx=0,g0=M0[1];switch(D0[0]){case 37:var Z0=D0[1][1],n0=0,nx=b1(function(P0,N0){return b1(lO,P0,[0,N0[2][1],0])},n0,Z0);return b1(function(P0,N0){return o6(x,P0,N0)},v0,nx);case 2:case 26:var xx=D0[1][1];if(xx)var yx=xx[1];else cx=1;break;case 3:case 19:case 29:case 35:case 36:var yx=D0[1][1];break;default:cx=1}return cx?v0:o6(x,v0,hn(0,[0,g0,yx[2][1]]))}}else{var px=E0[2];if(px){var Tx=px[1];if(Tx[0]!==0)return v0;var O0=Tx[1];return b1(function(P0,N0){var J0=N0[2],I0=J0[2],Q=J0[1];return I0?o6(x,P0,I0[1]):o6(x,P0,Q)},v0,O0)}}return v0;default:return v0}},t0,z),z)var $=Ol(gx(z))[1],f0=i1(Ol(z)[1],$);else var f0=F;var c0=gx(x[2][1]);return[0,f0,[0,z,i,m0([0,Y],0,0),c0]]}});var lE0=function(x,r,e,t){for(var u=x,i=t;;){var f=i[3],o=i[2],a=i[1],y=W(u);if(typeof y=="number"&&Er===y)return[0,u,a,o,f];if(l(r,y))return[0,u,a,o,f];if(typeof y!="number"&&y[0]===2){var h=l(e,u),k=[0,h,o],A=h[2];if(A[0]===22){var g=A[1][2];if(g){var I=Nr(g[1],"use strict"),C=h[1],R=I&&1-u[21];R&&ex(u,[0,C,83]);var L=I?Qs(1,u):u,U=[0,y,a],B=f||I,u=L,i=[0,U,k,B];continue}}return[0,u,a,k,f]}return[0,u,a,o,f]}};C0(SL,function(x,r,e){var t=lE0(rB(1,x),r,e,Cl0),u=t[4],i=t[3],f=t[2],o=rB(0,t[1]),a=gx(f);return S2(function(y){if(typeof y!="number"&&y[0]===2){var h=y[1],k=h[4],A=h[1];return k&&vt(o,[0,A,80])}return Rx(Zx(Ol0,Zx(mY(y),Rl0)))},a),[0,o,i,u]}),C0(EL,function(x){var r=iL(x),e=W(x);if(typeof e=="number"){var t=e-49|0;if(11>=t>>>0)switch(t){case 0:return p(tW,r,x);case 1:l(Wd(x),r);var u=hr(1,x),i=0;if(typeof u=="number"){var f=0;if((u===4||u===10)&&(f=1),f){var o=S6(x);i=1}}if(!i)var o=hL(x);return o;case 11:if(hr(1,x)===49)return l(Wd(x),r),p(dL,0,x);break}}return p(I6,[0,r],x)}),C0(hW,function(x,r){var e=G0(SL,x,r,EL),t=e[2],u=p(AL,r,e[1]);return b1(function(i,f){return[0,f,i]},u,t)}),C0(AL,function(x,r){for(var e=0;;){var t=W(r);if(typeof t=="number"&&Er===t||l(x,t))return gx(e);var e=[0,l(EL,r),e]}}),C0(gL,function(x,r){var e=G0(SL,r,x,function(f){return p(I6,0,f)}),t=e[3],u=e[2],i=p(Cm,x,e[1]);return[0,b1(function(f,o){return[0,o,f]},i,u),t]}),C0(Cm,function(x,r){for(var e=0;;){var t=W(r);if(typeof t=="number"&&Er===t||l(x,t))return gx(e);var e=[0,p(I6,0,r),e]}}),C0(I6,function(x,r){var e=x?x[1]:0;1-u6(r)&&l(Wd(r),e);var t=W(r);if(typeof t=="number"){if(t===27)return a0(xE0,bS0,r);if(t===28)return a0(eE0,rE0,r)}if(Lo(r))return d6(r);if(u6(r))return km(r,e);if(typeof t=="number"){var u=t+B1|0;if(14>=u>>>0)switch(u){case 0:if(r[28][2])return l(oX(0),r);break;case 5:return l(QX,r);case 12:return p(pL,0,r);case 13:return l(VX,r);case 14:return l($X,r)}}return fO(r)?MO(r):l(Rm,r)}),C0(Rm,function(x){var r=W(x);if(typeof r=="number"&&Vi>r)switch(r){case 0:return l(XX,x);case 8:return l(KX,x);case 16:return iW(x);case 19:return a0(WS0,XS0,x);case 20:return a0(ZS0,VS0,x);case 22:return a0(FS0,$S0,x);case 23:return a0(HS0,QS0,x);case 24:return a0(GS0,qS0,x);case 25:return a0(nE0,tE0,x);case 26:return l(BX,x);case 32:return l(JX,x);case 35:return l(YX,x);case 37:return a0(jS0,DS0,x);case 39:return a0(KS0,zS0,x);case 43:return iW(x);case 59:return a0(MS0,US0,x);case 113:return S1(Nl0,x),[0,Nx(x),Il0];case 1:case 5:case 7:case 9:case 10:case 11:case 12:case 17:case 18:case 33:case 34:case 36:case 38:case 41:case 42:case 49:case 83:case 86:return S1(Pl0,x),$0(x),l(Rm,x)}if(Lo(x)){var e=d6(x);return Wv(x,e[1]),e}if(typeof r=="number"&&r===28&&hr(1,x)===6){var t=t6(1,x);return ex(x,[0,i1(Nx(x),t),4]),S6(x)}return es(x)?a0(iE0,uE0,x):(u6(x)&&(S1(0,x),$0(x)),S6(x))}),C0(_W,function(x){var r=Nx(x),e=l(Wt,x),t=W(x);return typeof t=="number"&&t===9?G0(ym,x,r,[0,e,0]):e}),C0(wW,function(x){var r=Nx(x),e=l(s3,x),t=W(x);return typeof t=="number"&&t===9?[0,G0(ym,x,r,[0,v2(x,e),0])]:e}),C0(TW,function(x,r,e){var t=r?r[1]:0;return a0(0,function(u){var i=1-t,f=mW([0,e],u),o=i&&(W(u)===85?1:0);return o&&(1-T1(u)&&Bx(u,_1),u0(u,85)),[0,f,xX(u),o]},x)}),C0(SW,function(x){var r=Nx(x),e=w0(x);u0(x,0);var t=p(Cm,function(o){return o===1?1:0},x),u=Nx(x),i=t===0?w0(x):0;u0(x,1);var f=[0,t,K1([0,e],[0,mx(x)],i,0)];return[0,i1(r,u),f]}),C0(EW,function(x){function r(t){var u=w0(t);u0(t,0);var i=p(gL,function(g){return g===1?1:0},t),f=i[1],o=i[2],a=f===0?w0(t):0;u0(t,1);var y=W(t),h=0;if(!x){var k=0;if((typeof y!="number"||y!==1&&Er!==y)&&(k=1),k)if(b2(t)){var A=Uo(t);h=1}else{var A=0;h=1}}if(!h)var A=mx(t);return[0,[0,f,K1([0,u],[0,A],a,0)],o]}var e=0;return function(t){return Qd(e,r,t)}}),UJ(jl0[1],lx,[0,kW,Rm,I6,Cm,gL,AL,_W,wW,yX,Wt,vm,IS0,mW,TW,SW,EW,aE0,g6,A6,jo,km,LS0,hS0,lm,Fv,pm]);var NL=[Qr,$w0,zs(0)],IL=[0,NL,[0]],pE0=id(Zw0,function(x){var r=IR(x,Vw0)[41],e=OR(x,0,0,Ww0,KR,1)[1];return OJ(x,r,function(t,u){return 0}),function(t,u){var i=fd(u,x);return l(e,i),LR(u,i,x)}}),yE0=Ov(IL)===Qr?IL:IL[1];QC(ME,yE0);var xo=l0,B2=null,AW=void 0,dE0=function(x){throw x},Om=function(x){return x!==AW?1:0};xo.String,xo.RegExp,xo.Object,xo.Date,xo.Math;var mE0=xo.Array,kE0=xo.Error,gW=function(x){return l(dE0,x)};xo.JSON,cJ(function(x){return x[1]===NL?[0,Mt(x[2].toString())]:0}),cJ(function(x){return x instanceof mE0?0:[0,Mt(x.toString())]});var NW=[0,0],hE0=nr,is=function(x){return UV(Ml(x))},Y1=function(x){return LV(Ml(x))},Lr=function(x,r){return Y1(gx(Qy(x,r)))},Ox=function(x,r){return r?l(x,r[1]):B2},zo=function(x,r){return r[0]===0?B2:l(x,r[1])},IW=function(x){return is([0,[0,Xw0,x[1]],[0,[0,Bw0,x[2]],0]])},PW=function(x){var r=x[1],e=r?nr(r[1][1]):B2,t=[0,[0,Kw0,IW(x[3])],0];return is([0,[0,Yw0,e],[0,[0,Jw0,IW(x[2])],t]])},E1=function(x){if(!x)return 0;var r=x[1],e=r[1];return m0([0,e],[0,Fx(r[3],r[2])],0)},P6=function(x,r,e){var t=r[e];return Om(t)?t|0:x},_E0=function(x,r){var e=jy(r,AW)?{}:r,t=Mt(x),u=P6(Pl[5],e,Qw0),i=P6(Pl[4],e,Hw0),f=P6(Pl[3],e,qw0),o=P6(Pl[2],e,Gw0),a=[0,P6(Pl[1],e,bw0),o,f,i,u,0,0],y=e[vM],h=Om(y),k=h&&y|0,A=e[BU],g=Om(A)?A|0:1,I=e.all_comments,C=Om(I)?I|0:1,R=[0,0],L=k?[0,function(dt){return R[1]=[0,dt,R[1]],0}]:0,U=Fw0[1],B=0;try{var X=0,J=FJ(t),e0=X,i0=J}catch(dt){var j=R1(dt);if(j!==To)throw q0(j,0);var Y=[0,[0,[0,B,Ja[2],Ja[3]],53],0],e0=Y,i0=FJ(ns0)}var z=[0,B,i0,Z00,0,a[4],lY,$00],F=[0,bl(z,0)],t0=[0,[0,e0],[0,0],h2[1],[0,0],a[5],0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,[0,is0],[0,z],F,[0,L],a,B,[0,0],[0,us0]],$=l(lx[1],t0),f0=gx(t0[1][1]),c0=[0,aO[1],0],v0=gx(b1(function(dt,m3){var q=dt[2],P=dt[1];return p(aO[3],m3,P)?[0,P,q]:[0,p(aO[4],m3,P),[0,m3,q]]},c0,f0)[2]);if(v0){var s0=v0[2],o0=v0[1];if(U)throw q0([0,jT0,o0,s0],1)}NW[1]=0;for(var E0=Gx(t)-0|0,k0=Vc(t),M0=0,D0=0;;){if(D0===E0)var cx=M0;else{var g0=se(k0,D0),Z0=0;if(0<=g0&&!(Jr=g0){var n0=4;yx=1}if(!yx)var n0=0}}}if(n0===0){var M0=vO(M0,D0,0),D0=D0+1|0;continue}if((E0-D0|0)>=n0){var px=n0-1|0,Tx=D0+n0|0;if(3>>0)throw q0([0,Tr,KQ],1);switch(px){case 0:var O0=se(k0,D0);break;case 1:var O0=(se(k0,D0)&31)<<6|se(k0,D0+1|0)&63;break;case 2:var O0=(se(k0,D0)&15)<<12|(se(k0,D0+1|0)&63)<<6|se(k0,D0+2|0)&63;break;default:var O0=(se(k0,D0)&7)<<18|(se(k0,D0+1|0)&63)<<12|(se(k0,D0+2|0)&63)<<6|se(k0,D0+3|0)&63}var M0=vO(M0,D0,[0,O0]),D0=Tx;continue}var cx=vO(M0,D0,0)}for(var P0=iv0,N0=gx([0,6,cx]);;){var J0=P0[3],I0=P0[2],Q=P0[1];if(!N0){var G=Ml(gx(J0));if(g)var p0=$;else var V=l(pE0[1],0),p0=p(qx(V,-201766268,98),V,$);if(C)var A0=p0;else var d0=p0[2],A0=[0,p0[1],[0,d0[1],d0[2],d0[3],0]];var M=function(q,P,D,T0){var R0=[0,qd(G,P[3]),0],rx=[0,[0,zl0,Y1([0,qd(G,P[2]),R0])],0],Sx=Fx(rx,[0,[0,Kl0,PW(P)],0]);if(D){var Dx=D[1],jx=Dx[1];if(jx){var bx=Dx[2];if(bx)var mr=[0,[0,Jl0,Pn(bx)],0],or=[0,[0,Yl0,Pn(jx)],mr];else var or=[0,[0,Bl0,Pn(jx)],0];var sr=or}else var _r=Dx[2],cr=_r?[0,[0,Xl0,Pn(_r)],0]:0,sr=cr;var Pr=sr}else var Pr=0;return is(Qc(Fx(Sx,Fx(Pr,[0,[0,Wl0,nr(q)],0])),T0))},L0=function(q){return Lr(z0,q)},V0=function(q){var P=q[2],D=P[3],T0=P[1],R0=q[1],rx=[0,[0,T90,nr(An(P[2]))],0];return M(E90,R0,D,[0,[0,S90,Lr(fs,T0)],rx])},B0=function(q){var P=q[2],D=P[5],T0=P[4],R0=P[2],rx=P[1],Sx=q[1],Dx=[0,[0,Kd0,Lr(U0,P[3])],0],jx=[0,[0,Jd0,re(0,T0)],Dx],bx=[0,[0,Yd0,Ox(a2,R0)],jx];return M(Xd0,Sx,D,[0,[0,Bd0,X0(rx)],bx])},vx=function(q,P){var D=P[2],T0=D[7],R0=D[5],rx=D[4],Sx=D[2],Dx=D[6],jx=D[3],bx=D[1],mr=P[1];if(rx)var or=rx[1][2],_r=or[2],cr=or[1],sr=g2(or[3],T0),Pr=_r,$r=[0,cr];else var sr=T0,Pr=0,$r=0;if(R0)var Wr=R0[1][2],Vr=Wr[1],Ur=g2(Wr[2],sr),Fr=Ur,x1=Lr(S0,Vr);else var Fr=sr,x1=Y1(0);var l1=[0,[0,q50,x1],[0,[0,H50,Lr(x0,Dx)],0]],p1=[0,[0,G50,Ox(In,Pr)],l1],f1=[0,[0,b50,Ox(K0,$r)],p1],h1=[0,[0,xy0,Ox(a2,jx)],f1],Cr=Sx[2],D1=Cr[2],n2=Sx[1],A1=[0,[0,ry0,M(sy0,n2,D1,[0,[0,cy0,Lr(H,Cr[1])],0])],h1];return M(q,mr,Fr,[0,[0,ey0,Ox(X0,bx)],A1])},b0=function(q,P){var D=P[2],T0=D[5],R0=D[4],rx=D[3],Sx=D[2],Dx=D[1],jx=P[1],bx=q?B50:X50,mr=[0,[0,W50,Ox(dr,R0)],0],or=[0,[0,V50,Ox(dr,rx)],mr],_r=[0,[0,Z50,Ox(a2,Sx)],or];return M(bx,jx,T0,[0,[0,$50,X0(Dx)],_r])},hx=function(q){var P=q[2],D=P[4],T0=P[2],R0=P[1],rx=q[1],Sx=[0,[0,z50,dr(P[3])],0],Dx=[0,[0,K50,Ox(a2,T0)],Sx];return M(Y50,rx,D,[0,[0,J50,X0(R0)],Dx])},W0=function(q){var P=q[2],D=P[3],T0=P[1],R0=q[1],rx=[0,[0,T50,Y0(P[2])],0];return M(E50,R0,D,[0,[0,S50,X0(T0)],rx])},T=function(q){var P=q[2],D=P[3],T0=q[1],R0=P[5],rx=P[4],Sx=P[2],Dx=P[1],jx=g2(E1(D[2][3]),R0),bx=D[2],mr=bx[1],or=bx[2],_r=[0,[0,i50,Ox(a2,Sx)],0],cr=[0,[0,f50,zo(Jx,rx)],_r],sr=[0,[0,c50,k1(mr)],cr],Pr=[0,[0,s50,Ox(U1,or)],sr],$r=[0,[0,o50,k1(mr)],Pr];return M(a50,T0,jx,[0,[0,v50,X0(Dx)],$r])},K=function(q){var P=q[2],D=P[6],T0=P[4],R0=P[7],rx=P[5],Sx=P[3],Dx=P[2],jx=P[1],bx=q[1],mr=Y1(T0?[0,U0(T0[1]),0]:0),or=D?Lr(S0,D[1][2][1]):Y1(0),_r=[0,[0,r50,mr],[0,[0,x50,or],[0,[0,b80,Lr(U0,rx)],0]]],cr=[0,[0,e50,re(0,Sx)],_r],sr=[0,[0,t50,Ox(a2,Dx)],cr];return M(u50,bx,R0,[0,[0,n50,X0(jx)],sr])},H0=function(q){var P=q[2],D=P[2],T0=P[1],R0=P[4],rx=P[3],Sx=q[1],Dx=i1(T0[1],D[1]),jx=[0,[0,H80,Ox(fo,rx)],0];return M(G80,Sx,R0,[0,[0,q80,Dr(Dx,[0,T0,[1,D],0])],jx])},sx=function(q){var P=q[2],D=P[2],T0=P[1],R0=P[4],rx=P[3],Sx=q[1],Dx=i1(T0[1],D[1]),jx=[0,[0,$80,nr(An(rx))],0];return M(Q80,Sx,R0,[0,[0,F80,Dr(Dx,[0,T0,[1,D],0])],jx])},ux=function(q){var P=q[2],D=P[2],T0=q[1],R0=[0,[0,V80,L0(P[1])],0];return M(Z80,T0,E1(D),R0)},z0=function(q){var P=q[2],D=q[1];switch(P[0]){case 0:return ux([0,D,P[1]]);case 1:var T0=P[1],R0=T0[2];return M(Gl0,D,R0,[0,[0,ql0,Ox(X0,T0[1])],0]);case 2:return vx(F50,[0,D,P[1]]);case 3:var rx=P[1],Sx=rx[4],Dx=rx[3],jx=rx[6],bx=rx[5],mr=Dx[2][3],or=rx[2],_r=rx[1],cr=Sx[0]===0?0:[0,Sx[1]],sr=g2(E1(mr),jx),Pr=[0,[0,Jy0,Ox(a2,or)],0],$r=[0,[0,Yy0,Ox(Jx,cr)],Pr],Wr=Dx[2],Vr=Wr[2],Ur=Wr[1];if(Vr)var Fr=Vr[1],x1=Fr[2],l1=x1[2],p1=Fr[1],f1=M($y0,p1,l1,[0,[0,Zy0,tx(x1[1])],0]),h1=Y1(gx([0,f1,Qy(h0,Ur)]));else var h1=Y1(Hc(h0,Ur));var Cr=[0,[0,Xy0,X0(_r)],[0,[0,By0,h1],$r]];return M(Vy0,D,sr,[0,[0,Wy0,ux(bx)],Cr]);case 4:var D1=P[1],n2=D1[2];return M(x60,D,n2,[0,[0,bl0,Ox(X0,D1[1])],0]);case 5:return M(r60,D,P[1][1],0);case 6:return K([0,D,P[1]]);case 7:return T([0,D,P[1]]);case 8:return W0([0,D,P[1]]);case 9:var A1=P[1],W2=A1[5],ee=A1[4],Ax=A1[3],Kr=A1[2],r1=A1[1];if(Ax){var lr=Ax[1];if(lr[0]!==0&&!lr[1][2])return M(t60,D,W2,[0,[0,e60,Ox(j0,ee)],0])}if(Kr){var Br=Kr[1];switch(Br[0]){case 0:var V1=sx(Br[1]);break;case 1:var V1=H0(Br[1]);break;case 2:var V1=K(Br[1]);break;case 3:var V1=T(Br[1]);break;case 4:var V1=dr(Br[1]);break;case 5:var V1=hx(Br[1]);break;case 6:var V1=b0(1,Br[1]);break;case 7:var V1=B0(Br[1]);break;default:var V1=W0(Br[1])}var he=V1}else var he=B2;var V2=[0,[0,n60,Ox(j0,ee)],0],_e=[0,[0,i60,he],[0,[0,u60,b(Ax)],V2]],$t=r1?1:0;return M(c60,D,W2,[0,[0,f60,!!$t],_e]);case 10:return H0([0,D,P[1]]);case 11:var N2=P[1],u2=N2[5],I2=N2[4],l2=N2[2],mt=N2[1],P2=[0,[0,A50,Lr(U0,N2[3])],0],kt=[0,[0,g50,re(0,I2)],P2],Ze=[0,[0,N50,Ox(a2,l2)],kt];return M(P50,D,u2,[0,[0,I50,X0(mt)],Ze]);case 12:var we=P[1],Te=we[1],Se=we[4],Ee=we[3],Ae=we[2],Z1=Te[0]===0?X0(Te[1]):j0(Te[1]),ge=0,ht=Ee?"ES":"CommonJS";return M(a60,D,Se,[0,[0,v60,Z1],[0,[0,o60,ux(Ae)],[0,[0,s60,ht],ge]]]);case 13:var $e=P[1],te=$e[2];return M(p60,D,te,[0,[0,l60,Jx($e[1])],0]);case 14:var C2=P[1],Ft=C2[4],os=C2[2],_t=C2[1],wt=[0,[0,U50,dr(C2[3])],0],Qt=[0,[0,M50,Ox(a2,os)],wt];return M(j50,D,Ft,[0,[0,D50,X0(_t)],Qt]);case 15:return b0(1,[0,D,P[1]]);case 16:return sx([0,D,P[1]]);case 17:var ne=P[1],Tt=ne[3],Ht=ne[1],ue=[0,[0,y60,K0(ne[2])],0];return M(m60,D,Tt,[0,[0,d60,z0(Ht)],ue]);case 18:return M(k60,D,P[1][1],0);case 19:var qt=P[1],Cn=qt[3],Gt=qt[1],Rn=[0,[0,Dd0,Y0(qt[2])],0];return M(zd0,D,Cn,[0,[0,jd0,X0(Gt)],Rn]);case 20:var bt=P[1],On=bt[2],$o=bt[3],xn=On[0]===0?z0(On[1]):K0(On[1]);return M(w60,D,$o,[0,[0,_60,xn],[0,[0,h60,nr(_(1))],0]]);case 21:var St=P[1],vs=St[5],as=St[4],ls=St[3],Fo=St[2],k3=St[1];if(Fo){var co=Fo[1];if(co[0]!==0){var Qo=co[1][2],ea=[0,[0,T60,nr(_(as))],0],h3=[0,[0,S60,Ox(X0,Qo)],ea];return M(A60,D,vs,[0,[0,E60,Ox(j0,ls)],h3])}}var _3=[0,[0,g60,nr(_(as))],0],ta=[0,[0,N60,Ox(j0,ls)],_3],na=[0,[0,I60,b(Fo)],ta];return M(C60,D,vs,[0,[0,P60,Ox(z0,k3)],na]);case 22:var Ln=P[1],w3=Ln[3],T3=Ln[1],S3=[0,[0,R60,Ox(hE0,Ln[2])],0];return M(L60,D,w3,[0,[0,O60,K0(T3)],S3]);case 23:var Ne=P[1],E3=Ne[5],A3=Ne[4],ua=Ne[3],ps=Ne[2],so=Ne[1],Ho=function(K6){return K6[0]===0?V0(K6[1]):K0(K6[1])},qo=[0,[0,U60,z0(A3)],0],g3=[0,[0,M60,Ox(K0,ua)],qo],ia=[0,[0,D60,Ox(K0,ps)],g3];return M(z60,D,E3,[0,[0,j60,Ox(Ho,so)],ia]);case 24:var ys=P[1],oo=ys[1],Go=ys[5],Et=ys[4],Fe=ys[3],ds=ys[2],At=oo[0]===0?V0(oo[1]):tx(oo[1]),rn=[0,[0,J60,z0(Fe)],[0,[0,K60,!!Et],0]];return M(X60,D,Go,[0,[0,B60,At],[0,[0,Y60,K0(ds)],rn]]);case 25:var en=P[1],bo=en[1],N3=en[5],I3=en[4],xv=en[3],P3=en[2],fa=bo[0]===0?V0(bo[1]):tx(bo[1]),Km=[0,[0,V60,z0(xv)],[0,[0,W60,!!I3],0]];return M(F60,D,N3,[0,[0,$60,fa],[0,[0,Z60,K0(P3)],Km]]);case 26:var Un=P[1],Jm=Un[3],Ym=Un[2],PL=Un[9],CL=Un[8],RL=Un[7],OL=Un[6],LL=Un[5],UL=Un[4],ML=Ym[2][4],DL=Un[1],jL=Jm[0]===0?Jm[1]:Rx(u80),zL=g2(E1(ML),PL),KL=[0,[0,i80,Ox(a2,CL)],0],JL=[0,[0,c80,!1],[0,[0,f80,Or(RL)],KL]],YL=[0,[0,v80,!!UL],[0,[0,o80,!!LL],[0,[0,s80,Ox(fo,OL)],JL]]],BL=[0,[0,a80,ux(jL)],YL],XL=[0,[0,l80,ur(Ym)],BL];return M(y80,D,zL,[0,[0,p80,Ox(X0,DL)],XL]);case 27:var C3=P[1],Bm=C3[3],WL=C3[4],VL=C3[2],ZL=C3[1];if(Bm)var Xm=Bm[1][2],Wm=z0(bT0(Xm[1],Xm[2]));else var Wm=B2;var $L=[0,[0,H60,z0(VL)],[0,[0,Q60,Wm],0]];return M(G60,D,WL,[0,[0,q60,K0(ZL)],$L]);case 28:var ca=P[1],Vm=ca[4],Zm=ca[3],FL=ca[5],QL=ca[2],HL=ca[1];if(Vm){var O6=Vm[1];if(O6[0]===0)var qL=O6[1],Fm=Hc(function(J6){var O3=J6[3],L3=J6[2],bm=J6[1],_U=L3?i1(O3[1],L3[1][1]):O3[1],wU=L3?L3[1]:O3,x9=0,TU=0;if(bm){var Y6=0;switch(bm[1]){case 0:var r9=bu;Y6=1;break;case 1:var r9=ws;Y6=1;break}if(Y6){var e9=r9;x9=1}}if(!x9)var e9=B2;var SU=[0,[0,Tw0,X0(wU)],[0,[0,ww0,e9],TU]];return M(Ew0,_U,0,[0,[0,Sw0,X0(O3)],SU])},qL);else var $m=O6[1],GL=$m[1],Fm=[0,M(_w0,GL,0,[0,[0,hw0,X0($m[2])],0]),0];var L6=Fm}else var L6=0;if(Zm)var Qm=Zm[1][1],bL=[0,[0,mw0,X0(Qm)],0],Hm=[0,M(kw0,Qm[1],0,bL),L6];else var Hm=L6;switch(HL){case 0:var U6=b60;break;case 1:var U6=x40;break;default:var U6=r40}var xU=[0,[0,t40,j0(QL)],[0,[0,e40,nr(U6)],0]];return M(u40,D,FL,[0,[0,n40,Y1(Hm)],xU]);case 29:return B0([0,D,P[1]]);case 30:var M6=P[1],rU=M6[3],eU=M6[1],tU=[0,[0,i40,z0(M6[2])],0];return M(c40,D,rU,[0,[0,f40,X0(eU)],tU]);case 31:var qm=P[1],nU=qm[2];return M(o40,D,nU,[0,[0,s40,Ox(K0,qm[1])],0]);case 32:var D6=P[1],uU=D6[3],iU=D6[1],fU=[0,[0,v40,Lr(br,D6[2])],0];return M(l40,D,uU,[0,[0,a40,K0(iU)],fU]);case 33:var Gm=P[1],cU=Gm[2];return M(y40,D,cU,[0,[0,p40,K0(Gm[1])],0]);case 34:var R3=P[1],sU=R3[4],oU=R3[2],vU=R3[1],aU=[0,[0,d40,Ox(ux,R3[3])],0],lU=[0,[0,m40,Ox(t2,oU)],aU];return M(h40,D,sU,[0,[0,k40,ux(vU)],lU]);case 35:return hx([0,D,P[1]]);case 36:return b0(0,[0,D,P[1]]);case 37:return V0([0,D,P[1]]);case 38:var j6=P[1],pU=j6[3],yU=j6[1],dU=[0,[0,_40,z0(j6[2])],0];return M(T40,D,pU,[0,[0,w40,K0(yU)],dU]);default:var z6=P[1],mU=z6[3],kU=z6[1],hU=[0,[0,S40,z0(z6[2])],0];return M(A40,D,mU,[0,[0,E40,K0(kU)],hU])}},Px=function(q){var P=q[2],D=P[4],T0=P[3][2],R0=P[1],rx=q[1],Sx=[0,[0,U_0,M(Z_0,P[2],0,0)],0],Dx=[0,[0,M_0,Lr(uo,T0)],Sx];return M(j_0,rx,D,[0,[0,D_0,M(X_0,R0,0,0)],Dx])},kx=function(q){var P=q[2],D=P[1],T0=P[4],R0=P[2],rx=q[1],Sx=[0,[0,C_0,Lr(uo,P[3][2])],0],Dx=[0,[0,R_0,Ox(qv,R0)],Sx],jx=D[2],bx=jx[2],mr=jx[4],or=jx[3],_r=jx[1],cr=D[1],sr=bx?[0,[0,z_0,pt(bx[1])],0]:0,Pr=[0,[0,J_0,Lr(no,mr)],[0,[0,K_0,!!or],0]];return M(L_0,rx,T0,[0,[0,O_0,M(B_0,cr,0,Fx([0,[0,Y_0,io(_r)],Pr],sr))],Dx])},$x=function(q){var P=q[2],D=P[3],T0=P[1],R0=q[1],rx=[0,[0,c90,Lr(K0,P[2])],0];return M(o90,R0,D,[0,[0,s90,Lr(ro,T0)],rx])},Qx=function(q){var P=q[2],D=P[1],T0=P[2],R0=q[1],rx=D?Fm0:Qm0;return M(Gm0,R0,T0,[0,[0,qm0,!!D],[0,[0,Hm0,nr(rx)],0]])},j0=function(q){var P=q[2];return M($m0,q[1],P[3],[0,[0,Zm0,nr(P[1])],[0,[0,Vm0,nr(P[2])],0]])},rr=function(q){var P=q[2],D=P[2],T0=P[3],R0=q[1];return M(Wm0,R0,T0,[0,[0,Xm0,B2],[0,[0,Bm0,nr(z2(D,0,Gx(D)-1|0))],[0,[0,Ym0,nr(D)],0]]])},zx=function(q){var P=q[2];return M(Jm0,q[1],P[3],[0,[0,Km0,P[1]],[0,[0,zm0,nr(P[2])],0]])},X0=function(q){var P=q[2];return M(C80,q[1],P[2],[0,[0,P80,nr(P[1])],[0,[0,I80,B2],[0,[0,N80,!1],0]]])},ir=function(q){var P=q[2],D=P[3],T0=P[2],R0=P[9],rx=P[8],Sx=P[7],Dx=P[6],jx=P[5],bx=P[4],mr=T0[2][4],or=P[1],_r=q[1],cr=D[0]===0?D[1]:Rx(d80),sr=g2(E1(mr),R0),Pr=[0,[0,m80,Ox(a2,rx)],0],$r=[0,[0,h80,!1],[0,[0,k80,Or(Sx)],Pr]],Wr=[0,[0,T80,!!bx],[0,[0,w80,!!jx],[0,[0,_80,Ox(fo,Dx)],$r]]],Vr=[0,[0,S80,ux(cr)],Wr],Ur=[0,[0,E80,ur(T0)],Vr];return M(g80,_r,sr,[0,[0,A80,Ox(X0,or)],Ur])},K0=function(q){var P=q[2],D=q[1];switch(P[0]){case 0:var T0=P[1],R0=T0[2],rx=[0,[0,g40,Lr(En,T0[1])],0];return M(N40,D,E1(R0),rx);case 1:var Sx=P[1],Dx=Sx[3],jx=Sx[2],bx=Sx[9],mr=Sx[8],or=Sx[7],_r=Sx[6],cr=Sx[4],sr=jx[2][4];if(Dx[0]===0)var Pr=0,$r=ux(Dx[1]);else var Pr=1,$r=K0(Dx[1]);var Wr=g2(E1(sr),bx),Vr=[0,[0,I40,Ox(a2,mr)],0],Ur=[0,[0,C40,!!Pr],[0,[0,P40,Or(or)],Vr]],Fr=[0,[0,U40,$r],[0,[0,L40,!!cr],[0,[0,O40,!1],[0,[0,R40,Ox(fo,_r)],Ur]]]];return M(j40,D,Wr,[0,[0,D40,B2],[0,[0,M40,ur(jx)],Fr]]);case 2:var x1=P[1],l1=x1[1],p1=x1[4],f1=x1[3],h1=x1[2];if(l1){switch(l1[1]){case 0:var Cr=QH;break;case 1:var Cr=HH;break;case 2:var Cr=qH;break;case 3:var Cr=GH;break;case 4:var Cr=bH;break;case 5:var Cr=xq;break;case 6:var Cr=rq;break;case 7:var Cr=eq;break;case 8:var Cr=tq;break;case 9:var Cr=nq;break;case 10:var Cr=uq;break;case 11:var Cr=iq;break;case 12:var Cr=fq;break;case 13:var Cr=cq;break;default:var Cr=sq}var D1=Cr}else var D1=z40;var n2=[0,[0,K40,K0(f1)],0];return M(B40,D,p1,[0,[0,Y40,nr(D1)],[0,[0,J40,tx(h1)],n2]]);case 3:var A1=P[1],W2=A1[4],ee=A1[2],Ax=A1[1],Kr=[0,[0,X40,K0(A1[3])],0],r1=[0,[0,W40,K0(ee)],Kr];switch(Ax){case 0:var lr=NH;break;case 1:var lr=IH;break;case 2:var lr=PH;break;case 3:var lr=CH;break;case 4:var lr=RH;break;case 5:var lr=OH;break;case 6:var lr=LH;break;case 7:var lr=UH;break;case 8:var lr=MH;break;case 9:var lr=DH;break;case 10:var lr=jH;break;case 11:var lr=zH;break;case 12:var lr=KH;break;case 13:var lr=JH;break;case 14:var lr=YH;break;case 15:var lr=BH;break;case 16:var lr=XH;break;case 17:var lr=WH;break;case 18:var lr=VH;break;case 19:var lr=ZH;break;case 20:var lr=$H;break;default:var lr=FH}return M(Z40,D,W2,[0,[0,V40,nr(lr)],r1]);case 4:var Br=P[1],V1=Br[4],he=g2(E1(Br[3][2][2]),V1);return M($40,D,he,Wo(Br));case 5:return vx(Q50,[0,D,P[1]]);case 6:var V2=P[1],_e=V2[4],$t=V2[2],N2=V2[1],u2=[0,[0,F40,K0(V2[3])],0],I2=[0,[0,Q40,K0($t)],u2];return M(q40,D,_e,[0,[0,H40,K0(N2)],I2]);case 7:return ir([0,D,P[1]]);case 8:return X0(P[1]);case 9:var l2=P[1],mt=l2[2];return M(b40,D,mt,[0,[0,G40,K0(l2[1])],0]);case 10:return kx([0,D,P[1]]);case 11:return Px([0,D,P[1]]);case 12:return j0([0,D,P[1]]);case 13:return Qx([0,D,P[1]]);case 14:return M(f90,D,P[1],[0,[0,i90,B2],[0,[0,u90,lv],0]]);case 15:return zx([0,D,P[1]]);case 16:return rr([0,D,P[1]]);case 17:var P2=P[1],kt=P2[2],Ze=P2[1],we=P2[4],Te=P2[3];try{var Se=new RegExp(nr(Ze),nr(kt)),Ee=Se}catch{var Ee=B2}return M(n90,D,we,[0,[0,t90,Ee],[0,[0,e90,nr(Te)],[0,[0,r90,is([0,[0,x90,nr(Ze)],[0,[0,bm0,nr(kt)],0]])],0]]]);case 18:var Ae=P[1];return j0([0,D,[0,Ae[1],Ae[5],Ae[6]]]);case 19:var Z1=P[1],ge=Z1[4],ht=Z1[3],$e=Z1[2];switch(Z1[1]){case 0:var te=xp0;break;case 1:var te=rp0;break;default:var te=ep0}var C2=[0,[0,tp0,K0(ht)],0];return M(ip0,D,ge,[0,[0,up0,nr(te)],[0,[0,np0,K0($e)],C2]]);case 20:var Ft=P[1],os=Ft[3];return M(fp0,D,os,bv(Ft));case 21:var _t=P[1],wt=_t[3],Qt=_t[1],ne=[0,[0,cp0,X0(_t[2])],0];return M(op0,D,wt,[0,[0,sp0,X0(Qt)],ne]);case 22:var Tt=P[1],Ht=Tt[4],ue=Tt[3],qt=Tt[2],Cn=Tt[1];if(ue)var Gt=ue[1],Rn=g2(E1(Gt[2][2]),Ht),bt=Rn,On=ax(Gt);else var bt=Ht,On=Y1(0);var $o=[0,[0,ap0,Ox(pt,qt)],[0,[0,vp0,On],0]];return M(pp0,D,bt,[0,[0,lp0,K0(Cn)],$o]);case 23:var xn=P[1],St=xn[2],vs=[0,[0,yp0,Lr(Xx,xn[1])],0];return M(dp0,D,E1(St),vs);case 24:var as=P[1],ls=as[1],Fo=as[3],k3=ls[4],co=g2(E1(ls[3][2][2]),k3);return M(kp0,D,co,Fx(Wo(ls),[0,[0,mp0,!!Fo],0]));case 25:var Qo=P[1],ea=Qo[1],h3=ea[3],_3=[0,[0,hp0,!!Qo[3]],0];return M(_p0,D,h3,Fx(bv(ea),_3));case 26:var ta=P[1],na=ta[2];return M(Tp0,D,na,[0,[0,wp0,Lr(K0,ta[1])],0]);case 27:return M(Sp0,D,P[1][1],0);case 28:var Ln=P[1],w3=Ln[3],T3=Ln[1],S3=[0,[0,d90,$x(Ln[2])],0];return M(k90,D,w3,[0,[0,m90,K0(T3)],S3]);case 29:return $x([0,D,P[1]]);case 30:return M(Ep0,D,P[1][1],0);case 31:var Ne=P[1],E3=Ne[3],A3=Ne[1],ua=[0,[0,Ap0,Jx(Ne[2])],0];return M(Np0,D,E3,[0,[0,gp0,K0(A3)],ua]);case 32:var ps=P[1],so=ps[2],Ho=ps[1];if(typeof so=="number"){var qo=ps[3];return M(Pp0,D,qo,[0,[0,Ip0,K0(Ho)],0])}if(so[0]===0){var g3=ps[3],ia=[0,[0,Cp0,dr(so[1])],0];return M(Op0,D,g3,[0,[0,Rp0,K0(Ho)],ia])}var ys=ps[3],oo=[0,[0,Lp0,dr(so[1])],0];return M(Mp0,D,ys,[0,[0,Up0,K0(Ho)],oo]);case 33:var Go=P[1],Et=Go[3],Fe=Go[2],ds=Go[1];if(7<=ds)return M(jp0,D,Et,[0,[0,Dp0,K0(Fe)],0]);switch(ds){case 0:var At=zp0;break;case 1:var At=Kp0;break;case 2:var At=Jp0;break;case 3:var At=Yp0;break;case 4:var At=Bp0;break;case 5:var At=Xp0;break;case 6:var At=Wp0;break;default:var At=Rx(Vp0)}return M(Qp0,D,Et,[0,[0,Fp0,nr(At)],[0,[0,$p0,!0],[0,[0,Zp0,K0(Fe)],0]]]);case 34:var rn=P[1],en=rn[4],bo=rn[3],N3=rn[2],I3=rn[1]?Hp0:qp0;return M(r80,D,en,[0,[0,x80,nr(I3)],[0,[0,bp0,K0(N3)],[0,[0,Gp0,!!bo],0]]]);default:var xv=P[1],P3=xv[2],fa=[0,[0,e80,!!xv[3]],0];return M(n80,D,P3,[0,[0,t80,Ox(K0,xv[1])],fa])}},Sr=function(q){var P=q[2];return M(U80,q[1],P[2],[0,[0,L80,nr(P[1])],[0,[0,O80,B2],[0,[0,R80,!1],0]]])},Dr=function(q,P){var D=P[1][2],T0=D[2],R0=D[1],rx=[0,[0,M80,!!P[3]],0];return M(z80,q,T0,[0,[0,j80,nr(R0)],[0,[0,D80,zo(Jx,P[2])],rx]])},ax=function(q){return Lr(de,q[2][1])},br=function(q){var P=q[2],D=P[3],T0=P[1],R0=q[1],rx=[0,[0,K80,Lr(z0,P[2])],0];return M(Y80,R0,D,[0,[0,J80,Ox(K0,T0)],rx])},t2=function(q){var P=q[2],D=P[3],T0=P[1],R0=q[1],rx=[0,[0,B80,ux(P[2])],0];return M(W80,R0,D,[0,[0,X80,Ox(tx,T0)],rx])},k1=function(q){return Y1(Hc(function(P){var D=P[2];return Rr(0,D[3],P[1],[0,D[1]],D[2][2])},q))},Rr=function(q,P,D,T0,R0){if(T0)var rx=T0[1],Sx=rx[0]===0?Ox(X0,[0,rx[1]]):Ox(j0,[0,rx[1]]),Dx=Sx;else var Dx=Ox(X0,0);return M(w50,D,q,[0,[0,_50,Dx],[0,[0,h50,dr(R0)],[0,[0,k50,!!P],0]]])},U1=function(q){var P=q[2],D=P[4],T0=P[3],R0=P[2],rx=P[1],Sx=q[1];return Rr(D,T0,Sx,Fy(function(Dx){return[0,Dx]},rx),R0)},_=function(q){return q?C50:R50},b=function(q){if(!q)return Y1(0);var P=q[1];if(P[0]===0)return Lr(Xo,P[1]);var D=P[1],T0=D[2],R0=D[1];return Y1(T0?[0,M(L50,R0,0,[0,[0,O50,X0(T0[1])],0]),0]:0)},x0=function(q){var P=q[2],D=P[2],T0=q[1];return M(ny0,T0,D,[0,[0,ty0,K0(P[1])],0])},S0=function(q){var P=q[2],D=P[1],T0=q[1],R0=[0,[0,uy0,Ox(In,P[2])],0];return M(fy0,T0,0,[0,[0,iy0,X0(D)],R0])},H=function(q){switch(q[0]){case 0:var P=q[1],D=P[2],T0=D[6],R0=D[2],rx=D[5],Sx=D[4],Dx=D[3],jx=D[1],bx=P[1];switch(R0[0]){case 0:var cr=T0,sr=0,Pr=j0(R0[1]);break;case 1:var cr=T0,sr=0,Pr=zx(R0[1]);break;case 2:var cr=T0,sr=0,Pr=rr(R0[1]);break;case 3:var cr=T0,sr=0,Pr=X0(R0[1]);break;case 4:var cr=T0,sr=0,Pr=Sr(R0[1]);break;default:var mr=R0[1][2],or=mr[1],_r=g2(mr[2],T0),cr=_r,sr=1,Pr=K0(or)}switch(jx){case 0:var $r=oy0;break;case 1:var $r=vy0;break;case 2:var $r=ay0;break;default:var $r=ly0}var Wr=[0,[0,my0,nr($r)],[0,[0,dy0,!!Sx],[0,[0,yy0,!!sr],[0,[0,py0,Lr(x0,rx)],0]]]];return M(_y0,bx,cr,[0,[0,hy0,Pr],[0,[0,ky0,ir(Dx)],Wr]]);case 1:var Vr=q[1],Ur=Vr[2],Fr=Ur[7],x1=Ur[6],l1=Ur[2],p1=Ur[1],f1=Ur[5],h1=Ur[4],Cr=Ur[3],D1=Vr[1];switch(p1[0]){case 0:var Ax=Fr,Kr=0,r1=j0(p1[1]);break;case 1:var Ax=Fr,Kr=0,r1=zx(p1[1]);break;case 2:var Ax=Fr,Kr=0,r1=rr(p1[1]);break;case 3:var Ax=Fr,Kr=0,r1=X0(p1[1]);break;case 4:var n2=Rx(Cy0),Ax=n2[3],Kr=n2[2],r1=n2[1];break;default:var A1=p1[1][2],W2=A1[1],ee=g2(A1[2],Fr),Ax=ee,Kr=1,r1=K0(W2)}if(typeof l1=="number")if(l1)var lr=0,Br=0;else var lr=1,Br=0;else var lr=0,Br=[0,l1[1]];var V1=lr?[0,[0,Ry0,!!lr],0]:0,he=x1===0?0:[0,[0,Oy0,Lr(x0,x1)],0],V2=Fx(he,V1),_e=[0,[0,My0,!!Kr],[0,[0,Uy0,!!h1],[0,[0,Ly0,Ox(me,f1)],0]]],$t=[0,[0,Dy0,zo(Jx,Cr)],_e];return M(Ky0,D1,Ax,Fx([0,[0,zy0,r1],[0,[0,jy0,Ox(K0,Br)],$t]],V2));default:var N2=q[1],u2=N2[2],I2=u2[6],l2=u2[2],mt=u2[7],P2=u2[5],kt=u2[4],Ze=u2[3],we=u2[1],Te=N2[1];if(typeof l2=="number")if(l2)var Se=0,Ee=0;else var Se=1,Ee=0;else var Se=0,Ee=[0,l2[1]];var Ae=Se?[0,[0,wy0,!!Se],0]:0,Z1=I2===0?0:[0,[0,Ty0,Lr(x0,I2)],0],ge=Fx(Z1,Ae),ht=[0,[0,Ay0,!1],[0,[0,Ey0,!!kt],[0,[0,Sy0,Ox(me,P2)],0]]],$e=[0,[0,gy0,zo(Jx,Ze)],ht],te=[0,[0,Ny0,Ox(K0,Ee)],$e];return M(Py0,Te,mt,Fx([0,[0,Iy0,Sr(we)],te],ge))}},h0=function(q){var P=q[2],D=P[3],T0=P[2],R0=P[1],rx=q[1],Sx=P[4],Dx=R0[0]===0?X0(R0[1]):j0(R0[1]);if(D)var jx=[0,[0,Fy0,K0(D[1])],0],bx=M(Hy0,rx,0,[0,[0,Qy0,tx(T0)],jx]);else var bx=tx(T0);return M(xd0,rx,0,[0,[0,by0,Dx],[0,[0,Gy0,bx],[0,[0,qy0,!!Sx],0]]])},Y0=function(q){var P=q[2],D=q[1];switch(P[0]){case 0:var T0=P[1],R0=T0[4],rx=T0[1],Sx=[0,[0,kd0,!!T0[2]],[0,[0,md0,!!T0[3]],0]],Dx=[0,[0,hd0,Lr(function(Ax){var Kr=Ax[2],r1=Kr[1],lr=Ax[1],Br=[0,[0,pd0,Qx(Kr[2])],0];return M(dd0,lr,0,[0,[0,yd0,X0(r1)],Br])},rx)],Sx];return M(_d0,D,E1(R0),Dx);case 1:var jx=P[1],bx=jx[4],mr=jx[1],or=[0,[0,Td0,!!jx[2]],[0,[0,wd0,!!jx[3]],0]],_r=[0,[0,Sd0,Lr(function(Ax){var Kr=Ax[2],r1=Kr[1],lr=Ax[1],Br=[0,[0,vd0,zx(Kr[2])],0];return M(ld0,lr,0,[0,[0,ad0,X0(r1)],Br])},mr)],or];return M(Ed0,D,E1(bx),_r);case 2:var cr=P[1],sr=cr[1],Pr=cr[4],$r=cr[3],Wr=cr[2];if(sr[0]===0)var Vr=sr[1],Fr=Hc(function(Ax){var Kr=Ax[1];return M(od0,Kr,0,[0,[0,sd0,X0(Ax[2][1])],0])},Vr);else var Ur=sr[1],Fr=Hc(function(Ax){var Kr=Ax[2],r1=Kr[1],lr=Ax[1],Br=[0,[0,id0,j0(Kr[2])],0];return M(cd0,lr,0,[0,[0,fd0,X0(r1)],Br])},Ur);var x1=[0,[0,Nd0,Y1(Fr)],[0,[0,gd0,!!Wr],[0,[0,Ad0,!!$r],0]]];return M(Id0,D,E1(Pr),x1);case 3:var l1=P[1],p1=l1[3],f1=l1[1],h1=[0,[0,Pd0,!!l1[2]],0],Cr=[0,[0,Cd0,Lr(function(Ax){var Kr=Ax[1];return M(ud0,Kr,0,[0,[0,nd0,X0(Ax[2][1])],0])},f1)],h1];return M(Rd0,D,E1(p1),Cr);default:var D1=P[1],n2=D1[4],A1=D1[1],W2=[0,[0,Ld0,!!D1[2]],[0,[0,Od0,!!D1[3]],0]],ee=[0,[0,Ud0,Lr(function(Ax){var Kr=Ax[2],r1=Kr[1],lr=Ax[1],Br=[0,[0,rd0,rr(Kr[2])],0];return M(td0,lr,0,[0,[0,ed0,X0(r1)],Br])},A1)],W2];return M(Md0,D,E1(n2),ee)}},U0=function(q){var P=q[2],D=P[1],T0=P[3],R0=P[2],rx=q[1],Sx=D[0]===0?X0(D[1]):lt(D[1]);return M(Zd0,rx,T0,[0,[0,Vd0,Sx],[0,[0,Wd0,Ox(In,R0)],0]])},tx=function(q){var P=q[2],D=q[1];switch(P[0]){case 0:var T0=P[1],R0=T0[3],rx=T0[1],Sx=[0,[0,$d0,zo(Jx,T0[2])],0],Dx=[0,[0,Fd0,Lr(X2,rx)],Sx];return M(Qd0,D,E1(R0),Dx);case 1:var jx=P[1],bx=jx[3],mr=jx[1],or=[0,[0,Hd0,zo(Jx,jx[2])],0],_r=[0,[0,qd0,Lr(er,mr)],or];return M(Gd0,D,E1(bx),_r);case 2:return Dr(D,P[1]);default:return K0(P[1])}},Wx=function(q){var P=q[2],D=P[2],T0=P[1],R0=q[1];if(!D)return tx(T0);var rx=[0,[0,bd0,K0(D[1])],0];return M(rm0,R0,0,[0,[0,xm0,tx(T0)],rx])},Lx=function(q){var P=q[2],D=P[2],T0=q[1];return M(nm0,T0,D,[0,[0,tm0,fv],[0,[0,em0,Jx(P[1])],0]])},ur=function(q){var P=q[2],D=P[3],T0=P[2],R0=P[1];if(D){var rx=D[1],Sx=rx[2],Dx=Sx[2],jx=rx[1],bx=M(im0,jx,Dx,[0,[0,um0,tx(Sx[1])],0]),mr=gx([0,bx,Qy(Wx,T0)]),or=R0?[0,Lx(R0[1]),mr]:mr;return Y1(or)}var _r=Hc(Wx,T0),cr=R0?[0,Lx(R0[1]),_r]:_r;return Y1(cr)},Vx=function(q,P){var D=P[2];return M(cm0,q,D,[0,[0,fm0,tx(P[1])],0])},er=function(q){switch(q[0]){case 0:var P=q[1],D=P[2],T0=D[2],R0=D[1],rx=P[1];if(!T0)return tx(R0);var Sx=[0,[0,sm0,K0(T0[1])],0];return M(vm0,rx,0,[0,[0,om0,tx(R0)],Sx]);case 1:var Dx=q[1];return Vx(Dx[1],Dx[2]);default:return B2}},Jx=function(q){var P=q[1];return M(p_0,P,0,[0,[0,l_0,dr(q[2])],0])},Or=function(q){switch(q[0]){case 0:return B2;case 1:return Jx(q[1]);default:var P=q[1],D=P[2],T0=P[1];return M(d_0,T0,0,[0,[0,y_0,Zt([0,D[1],D[2]])],0])}},Xx=function(q){if(q[0]===0){var P=q[1],D=P[2],T0=P[1];switch(D[0]){case 0:var R0=D[3],rx=D[1],sr=0,Pr=R0,$r=0,Wr=am0,Vr=K0(D[2]),Ur=rx;break;case 1:var Sx=D[2],Dx=D[1],sr=0,Pr=0,$r=1,Wr=lm0,Vr=ir([0,Sx[1],Sx[2]]),Ur=Dx;break;case 2:var jx=D[2],bx=D[3],mr=D[1],sr=bx,Pr=0,$r=0,Wr=pm0,Vr=ir([0,jx[1],jx[2]]),Ur=mr;break;default:var or=D[2],_r=D[3],cr=D[1],sr=_r,Pr=0,$r=0,Wr=ym0,Vr=ir([0,or[1],or[2]]),Ur=cr}switch(Ur[0]){case 0:var f1=sr,h1=0,Cr=j0(Ur[1]);break;case 1:var f1=sr,h1=0,Cr=zx(Ur[1]);break;case 2:var f1=sr,h1=0,Cr=rr(Ur[1]);break;case 3:var f1=sr,h1=0,Cr=X0(Ur[1]);break;case 4:var Fr=Rx(dm0),f1=Fr[3],h1=Fr[2],Cr=Fr[1];break;default:var x1=Ur[1][2],l1=x1[1],p1=g2(x1[2],sr),f1=p1,h1=1,Cr=K0(l1)}return M(Sm0,T0,f1,[0,[0,Tm0,Cr],[0,[0,wm0,Vr],[0,[0,_m0,nr(Wr)],[0,[0,hm0,!!$r],[0,[0,km0,!!Pr],[0,[0,mm0,!!h1],0]]]]]])}var D1=q[1],n2=D1[2],A1=n2[2],W2=D1[1];return M(Am0,W2,A1,[0,[0,Em0,K0(n2[1])],0])},X2=function(q){if(q[0]!==0){var P=q[1];return Vx(P[1],P[2])}var D=q[1],T0=D[2],R0=T0[3],rx=T0[2],Sx=T0[1],Dx=T0[4],jx=D[1];switch(Sx[0]){case 0:var or=0,_r=0,cr=j0(Sx[1]);break;case 1:var or=0,_r=0,cr=zx(Sx[1]);break;case 2:var or=0,_r=0,cr=rr(Sx[1]);break;case 3:var or=0,_r=0,cr=X0(Sx[1]);break;default:var bx=Sx[1][2],mr=bx[2],or=mr,_r=1,cr=K0(bx[1])}if(R0)var sr=R0[1],Pr=i1(rx[1],sr[1]),$r=[0,[0,gm0,K0(sr)],0],Wr=M(Im0,Pr,0,[0,[0,Nm0,tx(rx)],$r]);else var Wr=tx(rx);return M(Mm0,jx,or,[0,[0,Um0,cr],[0,[0,Lm0,Wr],[0,[0,Om0,vu],[0,[0,Rm0,!1],[0,[0,Cm0,!!Dx],[0,[0,Pm0,!!_r],0]]]]]])},at=function(q){var P=q[2],D=P[2],T0=q[1];return M(jm0,T0,D,[0,[0,Dm0,K0(P[1])],0])},de=function(q){return q[0]===0?K0(q[1]):at(q[1])},En=function(q){switch(q[0]){case 0:return K0(q[1]);case 1:return at(q[1]);default:return B2}},ro=function(q){var P=q[2],D=P[1],T0=P[2],R0=q[1];return M(y90,R0,0,[0,[0,p90,is([0,[0,a90,nr(D[1])],[0,[0,v90,nr(D[2])],0]])],[0,[0,l90,!!T0],0]])},An=function(q){switch(q){case 0:return h90;case 1:return _90;default:return w90}},fs=function(q){var P=q[2],D=P[1],T0=q[1],R0=[0,[0,A90,Ox(K0,P[2])],0];return M(N90,T0,0,[0,[0,g90,tx(D)],R0])},me=function(q){var P=q[2],D=P[2],T0=q[1];switch(P[1]){case 0:var R0=I90;break;case 1:var R0=P90;break;case 2:var R0=C90;break;case 3:var R0=R90;break;case 4:var R0=O90;break;default:var R0=L90}return M(M90,T0,D,[0,[0,U90,nr(R0)],0])},gn=function(q){var P=q[2],D=P[1],T0=P[3],R0=P[2],rx=q[1],Sx=D[0]===0?X0(D[1]):lt(D[1]);return M(Sh0,rx,T0,[0,[0,Th0,Sx],[0,[0,wh0,Ox(In,R0)],0]])},re=function(q,P){var D=P[2],T0=D[4],R0=D[3],rx=D[2],Sx=D[1],Dx=P[1],jx=b1(function(Wr,Vr){var Ur=Wr[4],Fr=Wr[3],x1=Wr[2],l1=Wr[1];switch(Vr[0]){case 0:var p1=Vr[1],f1=p1[2],h1=f1[2],Cr=f1[1],D1=f1[8],n2=f1[7],A1=f1[6],W2=f1[5],ee=f1[4],Ax=f1[3],Kr=p1[1];switch(Cr[0]){case 0:var r1=j0(Cr[1]);break;case 1:var r1=zx(Cr[1]);break;case 2:var r1=rr(Cr[1]);break;case 3:var r1=X0(Cr[1]);break;case 4:var r1=Rx(Sk0);break;default:var r1=Rx(Ek0)}switch(h1[0]){case 0:var V1=Ak0,he=dr(h1[1]);break;case 1:var lr=h1[1],V1=gk0,he=Vt([0,lr[1],lr[2]]);break;default:var Br=h1[1],V1=Nk0,he=Vt([0,Br[1],Br[2]])}return[0,[0,M(Dk0,Kr,D1,[0,[0,Mk0,r1],[0,[0,Uk0,he],[0,[0,Lk0,!!A1],[0,[0,Ok0,!!Ax],[0,[0,Rk0,!!ee],[0,[0,Ck0,!!W2],[0,[0,Pk0,Ox(me,n2)],[0,[0,Ik0,nr(V1)],0]]]]]]]]),l1],x1,Fr,Ur];case 1:var V2=Vr[1],_e=V2[2],$t=_e[2],N2=V2[1];return[0,[0,M(zk0,N2,$t,[0,[0,jk0,dr(_e[1])],0]),l1],x1,Fr,Ur];case 2:var u2=Vr[1],I2=u2[2],l2=I2[6],mt=I2[4],P2=I2[3],kt=I2[2],Ze=I2[1],we=u2[1],Te=[0,[0,Jk0,!!mt],[0,[0,Kk0,Ox(me,I2[5])],0]],Se=[0,[0,Yk0,dr(P2)],Te],Ee=[0,[0,Bk0,dr(kt)],Se];return[0,l1,[0,M(Wk0,we,l2,[0,[0,Xk0,Ox(X0,Ze)],Ee]),x1],Fr,Ur];case 3:var Ae=Vr[1],Z1=Ae[2],ge=Z1[3],ht=Ae[1],$e=[0,[0,Vk0,!!Z1[2]],0];return[0,l1,x1,[0,M($k0,ht,ge,[0,[0,Zk0,Vt(Z1[1])],$e]),Fr],Ur];case 4:var te=Vr[1],C2=te[2],Ft=C2[6],os=C2[5],_t=C2[4],wt=C2[3],Qt=C2[1],ne=te[1],Tt=[0,[0,th0,!!wt],[0,[0,eh0,!!_t],[0,[0,rh0,!!os],[0,[0,xh0,dr(C2[2])],0]]]];return[0,l1,x1,Fr,[0,M(uh0,ne,Ft,[0,[0,nh0,X0(Qt)],Tt]),Ur]];default:var Ht=Vr[1],ue=Ht[2],qt=ue[6],Cn=ue[4],Gt=ue[3],Rn=ue[2],bt=ue[1],On=Ht[1],$o=0;switch(ue[5]){case 0:var xn="PlusOptional";break;case 1:var xn="MinusOptional";break;case 2:var xn="Optional";break;default:var xn=B2}var St=[0,[0,Qk0,Ox(me,Cn)],[0,[0,Fk0,xn],$o]],vs=[0,[0,Hk0,dr(Gt)],St],as=[0,[0,qk0,dr(Rn)],vs];return[0,[0,M(bk0,On,qt,[0,[0,Gk0,to(bt)],as]),l1],x1,Fr,Ur]}},yk0,R0),bx=jx[3],mr=jx[2],or=jx[1],_r=[0,[0,dk0,Y1(gx(jx[4]))],0],cr=[0,[0,mk0,Y1(gx(bx))],_r],sr=[0,[0,kk0,Y1(gx(mr))],cr],Pr=[0,[0,_k0,!!Sx],[0,[0,hk0,Y1(gx(or))],sr]],$r=q?[0,[0,wk0,!!rx],Pr]:Pr;return M(Tk0,Dx,E1(T0),$r)},Vt=function(q){var P=q[2],D=P[3],T0=P[2][2],R0=P[4],rx=T0[3],Sx=T0[2],Dx=T0[1],jx=P[1],bx=q[1],mr=g2(E1(T0[4]),R0),or=[0,[0,rk0,Ox(a2,jx)],0],_r=[0,[0,ek0,Ox(Hv,rx)],or],cr=D[0]===0?dr(D[1]):Zt(D[1]),sr=[0,[0,nk0,Ox(ke,Dx)],[0,[0,tk0,cr],_r]];return M(ik0,bx,mr,[0,[0,uk0,Lr(function(Pr){return Nn(0,Pr)},Sx)],sr])},dr=function(q){var P=q[2],D=q[1];switch(P[0]){case 0:return M(D90,D,P[1],0);case 1:return M(j90,D,P[1],0);case 2:return M(z90,D,P[1],0);case 3:return M(K90,D,P[1],0);case 4:return M(J90,D,P[1],0);case 5:return M(B90,D,P[1],0);case 6:return M(X90,D,P[1],0);case 7:return M(W90,D,P[1],0);case 8:return M(V90,D,P[2],0);case 9:return M(Y90,D,P[1],0);case 10:return M(a_0,D,P[1],0);case 11:var T0=P[1],R0=T0[2];return M($90,D,R0,[0,[0,Z90,dr(T0[1])],0]);case 12:return Vt([0,D,P[1]]);case 13:var rx=P[1],Sx=rx[2],Dx=rx[4],jx=rx[3],bx=rx[1],mr=g2(E1(Sx[2][3]),Dx),or=Sx[2],_r=or[2],cr=or[1],sr=[0,[0,l50,Ox(a2,bx)],0],Pr=[0,[0,p50,zo(Jx,jx)],sr],$r=[0,[0,y50,Ox(U1,_r)],Pr];return M(m50,D,mr,[0,[0,d50,k1(cr)],$r]);case 14:return re(1,[0,D,P[1]]);case 15:var Wr=P[1],Vr=Wr[3],Ur=Wr[2],Fr=[0,[0,ih0,re(0,Wr[1])],0];return M(ch0,D,Vr,[0,[0,fh0,Lr(U0,Ur)],Fr]);case 16:var x1=P[1],l1=x1[2];return M(oh0,D,l1,[0,[0,sh0,dr(x1[1])],0]);case 17:var p1=P[1],f1=p1[5],h1=p1[3],Cr=p1[2],D1=p1[1],n2=[0,[0,vh0,dr(p1[4])],0],A1=[0,[0,ah0,dr(h1)],n2],W2=[0,[0,lh0,dr(Cr)],A1];return M(yh0,D,f1,[0,[0,ph0,dr(D1)],W2]);case 18:var ee=P[1],Ax=ee[2];return M(mh0,D,Ax,[0,[0,dh0,to(ee[1])],0]);case 19:return gn([0,D,P[1]]);case 20:var Kr=P[1],r1=Kr[3];return M(gh0,D,r1,Ko(Kr));case 21:var lr=P[1],Br=lr[1],V1=Br[3],he=[0,[0,Nh0,!!lr[2]],0];return M(Ih0,D,V1,Fx(Ko(Br),he));case 22:var V2=P[1],_e=V2[1],$t=V2[2];return M(Ch0,D,$t,[0,[0,Ph0,Lr(dr,[0,_e[1],[0,_e[2],_e[3]]])],0]);case 23:var N2=P[1],u2=N2[1],I2=N2[2];return M(Oh0,D,I2,[0,[0,Rh0,Lr(dr,[0,u2[1],[0,u2[2],u2[3]]])],0]);case 24:var l2=P[1],mt=l2[2];return M(Uh0,D,mt,[0,[0,Lh0,eo(l2[1])],0]);case 25:var P2=P[1],kt=P2[2];return M(Kh0,D,kt,[0,[0,zh0,dr(P2[1])],0]);case 26:var Ze=P[1],we=Ze[2];return M(Yh0,D,we,[0,[0,Jh0,dr(Ze[1])],0]);case 27:var Te=P[1],Se=Te[2],Ee=Te[1],Ae=0;return M(Xh0,D,Se,[0,[0,Bh0,Lr(function(_t){var wt=_t[2],Qt=_t[1];switch(wt[0]){case 0:return dr(wt[1]);case 1:var ne=wt[1],Tt=ne[2],Ht=ne[1],ue=[0,[0,Wh0,!!ne[4]],0],qt=[0,[0,Vh0,Ox(me,ne[3])],ue],Cn=[0,[0,Zh0,dr(Tt)],qt];return M(Fh0,Qt,0,[0,[0,$h0,X0(Ht)],Cn]);default:var Gt=wt[1],Rn=Gt[1],bt=[0,[0,Qh0,dr(Gt[2])],0];return M(qh0,Qt,0,[0,[0,Hh0,Ox(X0,Rn)],bt])}},Ee)],Ae]);case 28:var Z1=P[1];return M(x_0,D,Z1[3],[0,[0,bh0,nr(Z1[1])],[0,[0,Gh0,nr(Z1[2])],0]]);case 29:var ge=P[1];return M(t_0,D,ge[3],[0,[0,e_0,ge[1]],[0,[0,r_0,nr(ge[2])],0]]);case 30:var ht=P[1];return M(i_0,D,ht[3],[0,[0,u_0,B2],[0,[0,n_0,nr(ht[2])],0]]);case 31:var $e=P[1],te=$e[1],C2=$e[2],Ft=0,os=te?f_0:c_0;return M(v_0,D,C2,[0,[0,o_0,!!te],[0,[0,s_0,nr(os)],Ft]]);case 32:return M(F90,D,P[1],0);case 33:return M(Q90,D,P[1],0);default:return M(H90,D,P[1],0)}},Zt=function(q){var P=q[2],D=P[2],T0=P[3],R0=D[1],rx=q[1],Sx=[0,[0,q90,!!P[1]],0],Dx=[0,[0,G90,Ox(dr,D[2])],Sx],jx=[0,[0,b90,X0(R0)],Dx];return M(xk0,rx,E1(T0),jx)},Nn=function(q,P){var D=P[2],T0=D[1],R0=P[1],rx=[0,[0,fk0,!!D[3]],0],Sx=[0,[0,ck0,dr(D[2])],rx];return M(ok0,R0,q,[0,[0,sk0,Ox(X0,T0)],Sx])},Hv=function(q){var P=q[2];return Nn(P[2],P[1])},ke=function(q){var P=q[2],D=P[2],T0=q[1],R0=[0,[0,ak0,dr(P[1][2])],[0,[0,vk0,!1],0]];return M(pk0,T0,D,[0,[0,lk0,Ox(X0,0)],R0])},lt=function(q){var P=q[2],D=P[1],T0=P[2],R0=q[1],rx=D[0]===0?X0(D[1]):lt(D[1]);return M(_h0,R0,0,[0,[0,hh0,rx],[0,[0,kh0,X0(T0)],0]])},Ko=function(q){var P=q[1],D=[0,[0,Eh0,dr(q[2])],0];return[0,[0,Ah0,dr(P)],D]},eo=function(q){if(q[0]===0)return X0(q[1]);var P=q[1],D=P[2],T0=D[2],R0=P[1],rx=eo(D[1]);return M(jh0,R0,0,[0,[0,Dh0,rx],[0,[0,Mh0,X0(T0)],0]])},a2=function(q){var P=q[2],D=P[2],T0=q[1],R0=[0,[0,m_0,Lr(to,P[1])],0];return M(k_0,T0,E1(D),R0)},to=function(q){var P=q[2],D=P[1][2],T0=P[5],R0=P[4],rx=P[2],Sx=D[2],Dx=D[1],jx=q[1],bx=P[3]?[0,[0,h_0,!0],0]:0,mr=[0,[0,__0,Ox(dr,T0)],0],or=[0,[0,w_0,Ox(me,R0)],mr];return M(E_0,jx,Sx,Fx([0,[0,S_0,nr(Dx)],[0,[0,T_0,zo(Jx,rx)],or]],bx))},In=function(q){var P=q[2],D=P[2],T0=q[1],R0=[0,[0,A_0,Lr(dr,P[1])],0];return M(g_0,T0,E1(D),R0)},pt=function(q){var P=q[2],D=P[2],T0=q[1],R0=[0,[0,N_0,Lr(Jo,P[1])],0];return M(I_0,T0,E1(D),R0)},Jo=function(q){if(q[0]===0)return dr(q[1]);var P=q[1],D=P[1],T0=P[2][1];return gn([0,D,[0,[0,hn(0,[0,D,P_0])],0,T0]])},no=function(q){if(q[0]===0){var P=q[1],D=P[2],T0=D[1],R0=D[2],rx=P[1],Sx=T0[0]===0?yt(T0[1]):cs(T0[1]);return M(Q_0,rx,0,[0,[0,F_0,Sx],[0,[0,$_0,Ox(a3,R0)],0]])}var Dx=q[1],jx=Dx[2],bx=jx[2],mr=Dx[1];return M(q_0,mr,bx,[0,[0,H_0,K0(jx[1])],0])},qv=function(q){var P=q[1];return M(V_0,P,0,[0,[0,W_0,io(q[2][1])],0])},Yo=function(q){var P=q[2],D=P[1],T0=q[1],R0=P[2],rx=D?K0(D[1]):M(G_0,[0,T0[1],[0,T0[2][1],T0[2][2]+1|0],[0,T0[3][1],T0[3][2]-1|0]],0,0);return M(xw0,T0,E1(R0),[0,[0,b_0,rx],0])},uo=function(q){var P=q[2],D=q[1];switch(P[0]){case 0:return kx([0,D,P[1]]);case 1:return Px([0,D,P[1]]);case 2:return Yo([0,D,P[1]]);case 3:var T0=P[1],R0=T0[2];return M(ew0,D,R0,[0,[0,rw0,K0(T0[1])],0]);default:var rx=P[1];return M(uw0,D,0,[0,[0,nw0,nr(rx[1])],[0,[0,tw0,nr(rx[2])],0]])}},yt=function(q){var P=q[2];return M(lw0,q[1],P[2],[0,[0,aw0,nr(P[1])],0])},cs=function(q){var P=q[2],D=P[1],T0=q[1],R0=[0,[0,sw0,yt(P[2])],0];return M(vw0,T0,0,[0,[0,ow0,yt(D)],R0])},Bo=function(q){var P=q[2],D=P[1],T0=P[2],R0=q[1],rx=D[0]===0?yt(D[1]):Bo(D[1]);return M(cw0,R0,0,[0,[0,fw0,rx],[0,[0,iw0,yt(T0)],0]])},io=function(q){switch(q[0]){case 0:return yt(q[1]);case 1:return cs(q[1]);default:return Bo(q[1])}},a3=function(q){if(q[0]===0){var P=q[1];return j0([0,P[1],P[2]])}var D=q[1];return Yo([0,D[1],D[2]])},Xo=function(q){var P=q[2],D=P[2],T0=P[1],R0=q[1],rx=X0(D?D[1]:T0);return M(dw0,R0,0,[0,[0,yw0,X0(T0)],[0,[0,pw0,rx],0]])},Pn=function(q){return Lr(Gv,q)},Gv=function(q){var P=q[2],D=q[1];if(P[1])var T0=P[2],R0=Aw0;else var T0=P[2],R0=gw0;return M(R0,D,0,[0,[0,Nw0,nr(T0)],0])},fo=function(q){var P=q[2],D=P[1],T0=P[2],R0=q[1];if(D)var rx=[0,[0,Iw0,K0(D[1])],0],Sx=Pw0;else var rx=0,Sx=Cw0;return M(Sx,R0,T0,rx)},Wo=function(q){var P=q[2],D=q[1],T0=[0,[0,Rw0,ax(q[3])],0],R0=[0,[0,Ow0,Ox(pt,P)],T0];return[0,[0,Lw0,K0(D)],R0]},bv=function(q){var P=q[2],D=q[1];switch(P[0]){case 0:var T0=0,R0=X0(P[1]);break;case 1:var T0=0,R0=Sr(P[1]);break;default:var T0=1,R0=K0(P[1])}return[0,[0,Dw0,K0(D)],[0,[0,Mw0,R0],[0,[0,Uw0,!!T0],0]]]},ss=A0[2],Vo=ss[2],Zo=ss[4],xa=ss[3],l3=A0[1],Lm=L0(ss[1]),p3=[0,[0,Zl0,Lm],[0,[0,Vl0,Pn(Zo)],0]];if(Vo)var C6=Vo[1],R6=Fx(p3,[0,[0,Ql0,M(Fl0,C6[1],0,[0,[0,$l0,nr(C6[2])],0])],0]);else var R6=p3;var y3=M(Hl0,l3,xa,R6),Um=Fx(v0,NW[1]);if(y3.errors=Lr(function(q){var P=q[1],D=[0,[0,jw0,nr(zT0(q[2]))],0];return is([0,[0,zw0,PW(P)],D])},Um),k){var Mm=R[1];y3[vM]=Y1(Qy(function(q){var P=q[2],D=q[1],T0=q[3],R0=[0,[0,cv0,nr(ZR(P))],0],rx=[0,qd(G,D[3]),0],Sx=[0,[0,sv0,Y1([0,qd(G,D[2]),rx])],R0],Dx=[0,[0,av0,is([0,[0,vv0,D[3][1]],[0,[0,ov0,D[3][2]],0]])],0],jx=[0,[0,dv0,is([0,[0,yv0,is([0,[0,pv0,D[2][1]],[0,[0,lv0,D[2][2]],0]])],Dx])],Sx];switch(T0){case 0:var bx=mv0;break;case 1:var bx=kv0;break;case 2:var bx=hv0;break;case 3:var bx=_v0;break;case 4:var bx=wv0;break;default:var bx=Tv0}return is([0,[0,Ev0,nr(mY(P))],[0,[0,Sv0,nr(bx)],jx]])},Mm))}return y3}var ra=N0[1];if(ra===5){var d3=N0[2];if(d3&&d3[1]===6){var Dm=d3[2],P0=[0,Q+2|0,0,[0,Ml(gx([0,Q,I0])),J0]],N0=Dm;continue}}else if(6>ra){var jm=N0[2],P0=[0,Q+wB(ra)|0,[0,Q,I0],J0],N0=jm;continue}var zm=N0[2],M1=[0,Ml(gx([0,Q,I0])),J0],P0=[0,Q+wB(ra)|0,0,M1],N0=zm}}};if(typeof EU<"u")var CW=EU;else{var RW={};xo.flow=RW;var CW=RW}CW.parse=DV(function(x,r){try{var e=_E0(x,r);return e}catch(u){var t=R1(u);return t[1]===NL?gW(t[2]):gW(new kE0(nr(Zx(xT0,rd(t)))))}}),eR(0);return}}})(globalThis)});var XW=OW(sa=>{"use strict";Object.defineProperty(sa,"__esModule",{value:!0});sa.extract=NI0;sa.parse=PI0;sa.parseWithComments=BW;sa.print=CI0;sa.strip=II0;var TI0=/\*\/$/,SI0=/^\/\*\*?/,JW=/^\s*(\/\*\*?(.|\r?\n)*?\*\/)/,EI0=/(^|\s+)\/\/([^\r\n]*)/g,jW=/^(\r?\n)+/,AI0=/(?:^|\r?\n) *(@[^\r\n]*?) *\r?\n *(?![^@\r\n]*\/\/[^]*)([^@\r\n\s][^@\r\n]+?) *\r?\n/g,zW=/(?:^|\r?\n) *@(\S+) *([^\r\n]*)/g,gI0=/(\r?\n|^) *\* ?/g,YW=[];function NI0(l0){let _x=l0.match(JW);return _x?_x[0].trimLeft():""}function II0(l0){let _x=l0.match(JW);return _x&&_x[0]?l0.substring(_x[0].length):l0}function PI0(l0){return BW(l0).pragmas}function BW(l0){let _x=` -`;l0=l0.replace(SI0,"").replace(TI0,"").replace(gI0,"$1");let Hx="";for(;Hx!==l0;)Hx=l0,l0=l0.replace(AI0,`${_x}$1 $2${_x}`);l0=l0.replace(jW,"").trimRight();let kr=Object.create(null),$1=l0.replace(zW,"").replace(jW,"").trimRight(),tr;for(;tr=zW.exec(l0);){let xr=tr[2].replace(EI0,"");typeof kr[tr[1]]=="string"||Array.isArray(kr[tr[1]])?kr[tr[1]]=YW.concat(kr[tr[1]],xr):kr[tr[1]]=xr}return{comments:$1,pragmas:kr}}function CI0({comments:l0="",pragmas:_x={}}){let Hx=` -`,kr="/**",$1=" *",tr=" */",xr=Object.keys(_x),e1=xr.map(F1=>KW(F1,_x[F1])).reduce((F1,M3)=>F1.concat(M3),[]).map(F1=>`${$1} ${F1}${Hx}`).join("");if(!l0){if(xr.length===0)return"";if(xr.length===1&&!Array.isArray(_x[xr[0]])){let F1=_x[xr[0]];return`${kr} ${KW(xr[0],F1)[0]}${tr}`}}let ev=l0.split(Hx).map(F1=>`${$1} ${F1}`).join(Hx)+Hx;return kr+Hx+(l0?ev:"")+(l0&&xr.length?$1+Hx:"")+e1+tr}function KW(l0,_x){return YW.concat(_x).map(Hx=>`@${l0} ${Hx}`.trim())}});var HI0={};LW(HI0,{parsers:()=>f9});var f9={};LW(f9,{flow:()=>QI0});var rV=MW(DW(),1);function wI0(l0,_x){let Hx=new SyntaxError(l0+" ("+_x.loc.start.line+":"+_x.loc.start.column+")");return Object.assign(Hx,_x)}var n9=wI0;var U3=MW(XW(),1);function RI0(l0){if(!l0.startsWith("#!"))return"";let _x=l0.indexOf(` -`);return _x===-1?l0:l0.slice(0,_x)}var WW=RI0;function OI0(l0){let _x=WW(l0);_x&&(l0=l0.slice(_x.length+1));let Hx=(0,U3.extract)(l0),{pragmas:kr,comments:$1}=(0,U3.parseWithComments)(Hx);return{shebang:_x,text:l0,pragmas:kr,comments:$1}}function VW(l0){let{pragmas:_x}=OI0(l0);return Object.prototype.hasOwnProperty.call(_x,"prettier")||Object.prototype.hasOwnProperty.call(_x,"format")}function LI0(l0){return Array.isArray(l0)&&l0.length>0}var N4=LI0;function Nt(l0){var kr;let _x=l0.range?l0.range[0]:l0.start,Hx=((kr=l0.declaration)==null?void 0:kr.decorators)??l0.decorators;return N4(Hx)?Math.min(Nt(Hx[0]),_x):_x}function _s(l0){return l0.range?l0.range[1]:l0.end}function UI0(l0){return l0=typeof l0=="function"?{parse:l0}:l0,{astFormat:"estree",hasPragma:VW,locStart:Nt,locEnd:_s,...l0}}var ZW=UI0;function MI0(l0){return l0.charAt(0)==="#"&&l0.charAt(1)==="!"?"//"+l0.slice(2):l0}var $W=MI0;var DI0=(l0,_x,Hx)=>{if(!(l0&&_x==null))return Array.isArray(_x)||typeof _x=="string"?_x[Hx<0?_x.length+Hx:Hx]:_x.at(Hx)},AU=DI0;function jI0(l0){return l0=new Set(l0),_x=>l0.has(_x==null?void 0:_x.type)}var FW=jI0;var zI0=FW(["Block","CommentBlock","MultiLine"]),I4=zI0;function KI0(l0){return I4(l0)&&l0.value[0]==="*"&&/@(?:type|satisfies)\b/.test(l0.value)}var QW=KI0;function JI0(l0){let _x=`*${l0.value}*`.split(` -`);return _x.length>1&&_x.every(Hx=>Hx.trimStart()[0]==="*")}var gU=JI0;var P4=null;function C4(l0){if(P4!==null&&typeof P4.property){let _x=P4;return P4=C4.prototype=null,_x}return P4=C4.prototype=l0??Object.create(null),new C4}var YI0=10;for(let l0=0;l0<=YI0;l0++)C4();function NU(l0){return C4(l0)}function BI0(l0,_x="type"){NU(l0);function Hx(kr){let $1=kr[_x],tr=l0[$1];if(!Array.isArray(tr))throw Object.assign(new Error(`Missing visitor keys for '${$1}'.`),{node:kr});return tr}return Hx}var HW=BI0;var qW={ArrayExpression:["elements"],AssignmentExpression:["left","right"],BinaryExpression:["left","right"],InterpreterDirective:[],Directive:["value"],DirectiveLiteral:[],BlockStatement:["directives","body"],BreakStatement:["label"],CallExpression:["callee","arguments","typeParameters","typeArguments"],CatchClause:["param","body"],ConditionalExpression:["test","consequent","alternate"],ContinueStatement:["label"],DebuggerStatement:[],DoWhileStatement:["test","body"],EmptyStatement:[],ExpressionStatement:["expression"],File:["program"],ForInStatement:["left","right","body"],ForStatement:["init","test","update","body"],FunctionDeclaration:["id","params","body","returnType","typeParameters","predicate"],FunctionExpression:["id","params","body","returnType","typeParameters"],Identifier:["typeAnnotation","decorators"],IfStatement:["test","consequent","alternate"],LabeledStatement:["label","body"],StringLiteral:[],NumericLiteral:[],NullLiteral:[],BooleanLiteral:[],RegExpLiteral:[],LogicalExpression:["left","right"],MemberExpression:["object","property"],NewExpression:["callee","arguments","typeParameters","typeArguments"],Program:["directives","body"],ObjectExpression:["properties"],ObjectMethod:["key","params","body","decorators","returnType","typeParameters"],ObjectProperty:["key","value","decorators"],RestElement:["argument","typeAnnotation","decorators"],ReturnStatement:["argument"],SequenceExpression:["expressions"],ParenthesizedExpression:["expression"],SwitchCase:["test","consequent"],SwitchStatement:["discriminant","cases"],ThisExpression:[],ThrowStatement:["argument"],TryStatement:["block","handler","finalizer"],UnaryExpression:["argument"],UpdateExpression:["argument"],VariableDeclaration:["declarations"],VariableDeclarator:["id","init"],WhileStatement:["test","body"],WithStatement:["object","body"],AssignmentPattern:["left","right","decorators","typeAnnotation"],ArrayPattern:["elements","typeAnnotation","decorators"],ArrowFunctionExpression:["params","body","returnType","typeParameters","predicate"],ClassBody:["body"],ClassExpression:["id","body","superClass","mixins","typeParameters","superTypeParameters","implements","decorators"],ClassDeclaration:["id","body","superClass","mixins","typeParameters","superTypeParameters","implements","decorators"],ExportAllDeclaration:["source","attributes","assertions","exported"],ExportDefaultDeclaration:["declaration"],ExportNamedDeclaration:["declaration","specifiers","source","attributes","assertions"],ExportSpecifier:["local","exported"],ForOfStatement:["left","right","body"],ImportDeclaration:["specifiers","source","attributes","assertions"],ImportDefaultSpecifier:["local"],ImportNamespaceSpecifier:["local"],ImportSpecifier:["local","imported"],MetaProperty:["meta","property"],ClassMethod:["key","params","body","decorators","returnType","typeParameters"],ObjectPattern:["properties","typeAnnotation","decorators"],SpreadElement:["argument"],Super:[],TaggedTemplateExpression:["tag","quasi","typeParameters"],TemplateElement:[],TemplateLiteral:["quasis","expressions"],YieldExpression:["argument"],AwaitExpression:["argument"],Import:[],BigIntLiteral:[],ExportNamespaceSpecifier:["exported"],OptionalMemberExpression:["object","property"],OptionalCallExpression:["callee","arguments","typeParameters","typeArguments"],ClassProperty:["key","value","typeAnnotation","decorators","variance"],ClassAccessorProperty:["key","value","typeAnnotation","decorators"],ClassPrivateProperty:["key","value","decorators","typeAnnotation","variance"],ClassPrivateMethod:["key","params","body","decorators","returnType","typeParameters"],PrivateName:["id"],StaticBlock:["body"],AnyTypeAnnotation:[],ArrayTypeAnnotation:["elementType"],BooleanTypeAnnotation:[],BooleanLiteralTypeAnnotation:[],NullLiteralTypeAnnotation:[],ClassImplements:["id","typeParameters"],DeclareClass:["id","typeParameters","extends","mixins","implements","body"],DeclareFunction:["id","predicate"],DeclareInterface:["id","typeParameters","extends","body"],DeclareModule:["id","body"],DeclareModuleExports:["typeAnnotation"],DeclareTypeAlias:["id","typeParameters","right"],DeclareOpaqueType:["id","typeParameters","supertype"],DeclareVariable:["id"],DeclareExportDeclaration:["declaration","specifiers","source"],DeclareExportAllDeclaration:["source"],DeclaredPredicate:["value"],ExistsTypeAnnotation:[],FunctionTypeAnnotation:["typeParameters","params","rest","returnType","this"],FunctionTypeParam:["name","typeAnnotation"],GenericTypeAnnotation:["id","typeParameters"],InferredPredicate:[],InterfaceExtends:["id","typeParameters"],InterfaceDeclaration:["id","typeParameters","extends","body"],InterfaceTypeAnnotation:["extends","body"],IntersectionTypeAnnotation:["types"],MixedTypeAnnotation:[],EmptyTypeAnnotation:[],NullableTypeAnnotation:["typeAnnotation"],NumberLiteralTypeAnnotation:[],NumberTypeAnnotation:[],ObjectTypeAnnotation:["properties","indexers","callProperties","internalSlots"],ObjectTypeInternalSlot:["id","value","optional","static","method"],ObjectTypeCallProperty:["value"],ObjectTypeIndexer:["id","key","value","variance"],ObjectTypeProperty:["key","value","variance"],ObjectTypeSpreadProperty:["argument"],OpaqueType:["id","typeParameters","supertype","impltype"],QualifiedTypeIdentifier:["id","qualification"],StringLiteralTypeAnnotation:[],StringTypeAnnotation:[],SymbolTypeAnnotation:[],ThisTypeAnnotation:[],TupleTypeAnnotation:["types","elementTypes"],TypeofTypeAnnotation:["argument"],TypeAlias:["id","typeParameters","right"],TypeAnnotation:["typeAnnotation"],TypeCastExpression:["expression","typeAnnotation"],TypeParameter:["bound","default","variance"],TypeParameterDeclaration:["params"],TypeParameterInstantiation:["params"],UnionTypeAnnotation:["types"],Variance:[],VoidTypeAnnotation:[],EnumDeclaration:["id","body"],EnumBooleanBody:["members"],EnumNumberBody:["members"],EnumStringBody:["members"],EnumSymbolBody:["members"],EnumBooleanMember:["id","init"],EnumNumberMember:["id","init"],EnumStringMember:["id","init"],EnumDefaultedMember:["id"],IndexedAccessType:["objectType","indexType"],OptionalIndexedAccessType:["objectType","indexType"],JSXAttribute:["name","value"],JSXClosingElement:["name"],JSXElement:["openingElement","children","closingElement"],JSXEmptyExpression:[],JSXExpressionContainer:["expression"],JSXSpreadChild:["expression"],JSXIdentifier:[],JSXMemberExpression:["object","property"],JSXNamespacedName:["namespace","name"],JSXOpeningElement:["name","attributes","typeParameters"],JSXSpreadAttribute:["argument"],JSXText:[],JSXFragment:["openingFragment","children","closingFragment"],JSXOpeningFragment:[],JSXClosingFragment:[],Noop:[],Placeholder:[],V8IntrinsicIdentifier:[],ArgumentPlaceholder:[],BindExpression:["object","callee"],ImportAttribute:["key","value"],Decorator:["expression"],DoExpression:["body"],ExportDefaultSpecifier:["exported"],RecordExpression:["properties"],TupleExpression:["elements"],DecimalLiteral:[],ModuleExpression:["body"],TopicReference:[],PipelineTopicExpression:["expression"],PipelineBareFunction:["callee"],PipelinePrimaryTopicReference:[],TSParameterProperty:["parameter","decorators"],TSDeclareFunction:["id","typeParameters","params","returnType","body"],TSDeclareMethod:["decorators","key","typeParameters","params","returnType"],TSQualifiedName:["left","right"],TSCallSignatureDeclaration:["typeParameters","parameters","typeAnnotation","params","returnType"],TSConstructSignatureDeclaration:["typeParameters","parameters","typeAnnotation","params","returnType"],TSPropertySignature:["key","typeAnnotation"],TSMethodSignature:["key","typeParameters","parameters","typeAnnotation","params","returnType"],TSIndexSignature:["parameters","typeAnnotation"],TSAnyKeyword:[],TSBooleanKeyword:[],TSBigIntKeyword:[],TSIntrinsicKeyword:[],TSNeverKeyword:[],TSNullKeyword:[],TSNumberKeyword:[],TSObjectKeyword:[],TSStringKeyword:[],TSSymbolKeyword:[],TSUndefinedKeyword:[],TSUnknownKeyword:[],TSVoidKeyword:[],TSThisType:[],TSFunctionType:["typeParameters","parameters","typeAnnotation","params","returnType"],TSConstructorType:["typeParameters","parameters","typeAnnotation","params","returnType"],TSTypeReference:["typeName","typeParameters"],TSTypePredicate:["parameterName","typeAnnotation"],TSTypeQuery:["exprName","typeParameters"],TSTypeLiteral:["members"],TSArrayType:["elementType"],TSTupleType:["elementTypes"],TSOptionalType:["typeAnnotation"],TSRestType:["typeAnnotation"],TSNamedTupleMember:["label","elementType"],TSUnionType:["types"],TSIntersectionType:["types"],TSConditionalType:["checkType","extendsType","trueType","falseType"],TSInferType:["typeParameter"],TSParenthesizedType:["typeAnnotation"],TSTypeOperator:["typeAnnotation"],TSIndexedAccessType:["objectType","indexType"],TSMappedType:["typeParameter","typeAnnotation","nameType"],TSLiteralType:["literal"],TSExpressionWithTypeArguments:["expression","typeParameters"],TSInterfaceDeclaration:["id","typeParameters","extends","body"],TSInterfaceBody:["body"],TSTypeAliasDeclaration:["id","typeParameters","typeAnnotation"],TSInstantiationExpression:["expression","typeParameters"],TSAsExpression:["expression","typeAnnotation"],TSSatisfiesExpression:["expression","typeAnnotation"],TSTypeAssertion:["typeAnnotation","expression"],TSEnumDeclaration:["id","members"],TSEnumMember:["id","initializer"],TSModuleDeclaration:["id","body"],TSModuleBlock:["body"],TSImportType:["argument","qualifier","typeParameters","parameter"],TSImportEqualsDeclaration:["id","moduleReference"],TSExternalModuleReference:["expression"],TSNonNullExpression:["expression"],TSExportAssignment:["expression"],TSNamespaceExportDeclaration:["id"],TSTypeAnnotation:["typeAnnotation"],TSTypeParameterInstantiation:["params"],TSTypeParameterDeclaration:["params"],TSTypeParameter:["constraint","default","name"],ChainExpression:["expression"],ExperimentalRestProperty:["argument"],ExperimentalSpreadProperty:["argument"],ImportExpression:["source","attributes"],Literal:[],MethodDefinition:["decorators","key","value"],PrivateIdentifier:[],Property:["key","value"],PropertyDefinition:["decorators","key","typeAnnotation","value","variance"],AccessorProperty:["decorators","key","typeAnnotation","value"],TSAbstractAccessorProperty:["decorators","key","typeAnnotation"],TSAbstractKeyword:[],TSAbstractMethodDefinition:["key","value"],TSAbstractPropertyDefinition:["decorators","key","typeAnnotation"],TSAsyncKeyword:[],TSClassImplements:["expression","typeParameters"],TSDeclareKeyword:[],TSEmptyBodyFunctionExpression:["id","typeParameters","params","returnType"],TSExportKeyword:[],TSInterfaceHeritage:["expression","typeParameters"],TSPrivateKeyword:[],TSProtectedKeyword:[],TSPublicKeyword:[],TSReadonlyKeyword:[],TSStaticKeyword:[],TSTemplateLiteralType:["quasis","types"],BigIntLiteralTypeAnnotation:[],BigIntTypeAnnotation:[],ConditionalTypeAnnotation:["checkType","extendsType","trueType","falseType"],DeclareEnum:["id","body"],InferTypeAnnotation:["typeParameter"],KeyofTypeAnnotation:["argument"],ObjectTypeMappedTypeProperty:["keyTparam","propType","sourceType","variance"],QualifiedTypeofIdentifier:["qualification","id"],TupleTypeLabeledElement:["label","elementType","variance"],TupleTypeSpreadElement:["label","typeAnnotation"],TypePredicate:["parameterName","typeAnnotation","asserts"],NGRoot:["node"],NGPipeExpression:["left","right","arguments"],NGChainedExpression:["expressions"],NGEmptyExpression:[],NGMicrosyntax:["body"],NGMicrosyntaxKey:[],NGMicrosyntaxExpression:["expression","alias"],NGMicrosyntaxKeyedExpression:["key","expression"],NGMicrosyntaxLet:["key","value"],NGMicrosyntaxAs:["key","alias"],JsExpressionRoot:["node"],JsonRoot:["node"],TSJSDocAllType:[],TSJSDocUnknownType:[],TSJSDocNullableType:["typeAnnotation"],TSJSDocNonNullableType:["typeAnnotation"],NeverTypeAnnotation:[],UndefinedTypeAnnotation:[],UnknownTypeAnnotation:[]};var XI0=HW(qW),GW=XI0;function IU(l0,_x){if(!(l0!==null&&typeof l0=="object"))return l0;if(Array.isArray(l0)){for(let kr=0;kr{var e1;(e1=xr.leadingComments)!=null&&e1.some(QW)&&tr.add(Nt(xr))}),l0=u9(l0,xr=>{if(xr.type==="ParenthesizedExpression"){let{expression:e1}=xr;if(e1.type==="TypeCastExpression")return e1.range=xr.range,e1;let ev=Nt(xr);if(!tr.has(ev))return e1.extra={...e1.extra,parenthesized:!0},e1}})}if(l0=u9(l0,tr=>{switch(tr.type){case"LogicalExpression":if(bW(tr))return PU(tr);break;case"VariableDeclaration":{let xr=AU(!1,tr.declarations,-1);xr!=null&&xr.init&&$1(tr,xr);break}case"TSParenthesizedType":return tr.typeAnnotation;case"TSTypeParameter":if(typeof tr.name=="string"){let xr=Nt(tr);tr.name={type:"Identifier",name:tr.name,range:[xr,xr+tr.name.length]}}break;case"ObjectExpression":if(Hx==="typescript"){let xr=tr.properties.find(e1=>e1.type==="Property"&&e1.value.type==="TSEmptyBodyFunctionExpression");xr&&i9(xr.value,"Unexpected token.")}break;case"TSInterfaceDeclaration":N4(tr.implements)&&i9(tr.implements[0],"Interface declaration cannot have 'implements' clause.");break;case"TSPropertySignature":tr.initializer&&i9(tr.initializer,"An interface property cannot have an initializer.");break;case"TopicReference":l0.extra={...l0.extra,__isUsingHackPipeline:!0};break;case"ExportAllDeclaration":{let{exported:xr}=tr;if(Hx==="meriyah"&&(xr==null?void 0:xr.type)==="Identifier"){let e1=kr.slice(Nt(xr),_s(xr));(e1.startsWith('"')||e1.startsWith("'"))&&(tr.exported={...tr.exported,type:"Literal",value:tr.exported.name,raw:e1})}break}case"TSUnionType":case"TSIntersectionType":if(tr.types.length===1)return tr.types[0];break}}),N4(l0.comments)){let tr=AU(!1,l0.comments,-1);for(let xr=l0.comments.length-2;xr>=0;xr--){let e1=l0.comments[xr];_s(e1)===Nt(tr)&&I4(e1)&&I4(tr)&&gU(e1)&&gU(tr)&&(l0.comments.splice(xr+1,1),e1.value+="*//*"+tr.value,e1.range=[Nt(e1),_s(tr)]),tr=e1}}return l0.type==="Program"&&(l0.range=[0,kr.length]),l0;function $1(tr,xr){kr[_s(xr)]!==";"&&(tr.range=[Nt(tr),_s(xr)])}}function bW(l0){return l0.type==="LogicalExpression"&&l0.right.type==="LogicalExpression"&&l0.operator===l0.right.operator}function PU(l0){return bW(l0)?PU({type:"LogicalExpression",operator:l0.operator,left:PU({type:"LogicalExpression",operator:l0.operator,left:l0.left,right:l0.right.left,range:[Nt(l0.left),_s(l0.right.left)]}),right:l0.right.right,range:[Nt(l0),_s(l0)]}):l0}var xV=VI0;var ZI0={comments:!1,enums:!0,esproposal_decorators:!0,esproposal_export_star_as:!0,tokens:!0};function $I0(l0){let{message:_x,loc:{start:Hx,end:kr}}=l0;return n9(_x,{loc:{start:{line:Hx.line,column:Hx.column+1},end:{line:kr.line,column:kr.column+1}},cause:l0})}function FI0(l0){let _x=rV.default.parse($W(l0),ZI0),[Hx]=_x.errors;if(Hx)throw $I0(Hx);return xV(_x,{text:l0})}var QI0=ZW(FI0);return _I0(HI0);}); \ No newline at end of file + -- too many open files. Try running with OCAMLRUNPARAM=b=2)`],kW=[3,0,3],mW=Mf,hW=W3,dW="File_key.LibFile@ "],VW=[0,[3,0,0],q3],GW=[0,[17,0,[12,41,0]],f4],WW=[0,[12,40,[18,[1,[0,[11,ht,0],ht]],[11,"File_key.SourceFile",[17,[0,be,1,0],0]]]],"(@[<2>File_key.SourceFile@ "],$W=[0,[3,0,0],q3],HW=[0,[17,0,[12,41,0]],f4],QW=[0,[12,40,[18,[1,[0,[11,ht,0],ht]],[11,"File_key.JsonFile",[17,[0,be,1,0],0]]]],"(@[<2>File_key.JsonFile@ "],ZW=[0,[3,0,0],q3],x$=[0,[17,0,[12,41,0]],f4],r$=[0,[12,40,[18,[1,[0,[11,ht,0],ht]],[11,"File_key.ResourceFile",[17,[0,be,1,0],0]]]],"(@[<2>File_key.ResourceFile@ "],e$=[0,[3,0,0],q3],t$=[0,[17,0,[12,41,0]],f4],n$=[0,1],u$=[0,0],i$=[0,1],f$=[0,2],c$=[0,2],s$=[0,0],a$=[0,1],o$=[0,1],v$=[0,1],l$=[0,1],p$=[0,1],k$=[0,1],m$=[0,0,0],h$=[0,0,0],d$=[0,M1,Xu,Hi,gf,L1,oi,jc,Mu,A7,On,lc,ju,Hu,h7,n7,N7,If,Nf,si,d7,bn,Zu,bc,e7,gc,xi,Af,ii,Pn,En,Jf,nu,fu,Gi,Ac,je,cf,ai,kc,xf,df,P7,au,Pe,Li,x7,Ai,Ei,oc,a7,Pu,ec,Se,Gn,o7,Pi,Z7,ku,z7,tc,Ie,G7,rc,_f,eu,Sc,Tf,M7,Rf,Wf,lu,di,Wn,Jn,yu,S7,i7,ac,xc,y7,ou,dc,$t,af,Iu,Rn,Lf,D7,$u,Bf,Ju,nf,Ku,Ln,_c,Ki,Tc,ji,q7,jf,yf,ki,s7,tf,T7,pc,Tu,mc,yc,Xn,Du,nc,mu,Vu,Bn,Er,Fi,X7,_n,v7,li,Tn,du,m7,Uf,Oi,Cf,Df,An,F7,qn,l7,zu,wc,Bu,ru,rf,Fn,Yf,vc,Au,gi,dn,H7,L7,Oc,K7,bi,wf,Nn,Lu,W1,c7,Ef,V7,$i,Kn,bu,B7,ti,R1,t7,Un,r7,dt,su,W7,ni,Q7,Si,Ec,ui,gn,Qi,Uu,kf,Ru,Fu,p7,wn,Zn,zf,yn,O7,Xf,Ou,Y7,iu,hu,mi,U7,I7,ef,hf,zn,w7,In,Cu,ri,V2,_7,Sf,Vn,ff,jn,Hn,Xi,gu,vu,Hf,fc,qi,yi,pu,Mn,uu,Ri,zi,Cn,hi,ie,vi,sc,sf,Kf,Vi,Wi,qf,wu,mf,Qn,_i,uc,Zi,_u,we,_e,Ci,Zf,Gf,Sn,Of,Ji,Qu,ic,Mi,Nu,b7,Pc,Yn,J7,Ii,Ff,Gu,fi,Ui,ei,cu,E7,Ic,Di,wi,tu,g7,Yi,Dn,cc,Nc,Wu,u7,Pf,Bi,C7,f7,Ee,Qf,Eu,Bt,pf,Ti,k7,Vf,xu,pi,j7,Su,vf,$n,Yu,lf,uf],y$=[0,oc,dn,Ru,su,gn,f7,mc,jf,zu,Nn,Eu,gc,Bf,Pe,D7,Sf,Yi,fu,Ki,Yf,Xn,c7,Au,Ri,yi,Xu,i7,Q7,iu,Jn,Uf,Vi,ic,ni,uu,mu,dt,gf,hf,Wf,mf,Bi,Fu,Pf,rf,gu,G7,Ec,hu,au,ki,Un,Ai,$i,zi,m7,nc,wi,Ui,af,uf,Sc,Yn,Zu,q7,_f,F7,E7,Ju,Ie,_c,Qi,Iu,Vu,wc,Fn,W7,v7,Zf,Af,fc,qn,li,kf,Rf,$n,qf,Hn,Fi,Z7,dc,Yu,hi,C7,ec,L1,rc,uc,N7,o7,t7,k7,Y7,Ac,Oc,g7,T7,P7,ie,I7,xi,M1,Tn,Gi,_i,Tf,ju,y7,Zi,ku,Vf,lc,fi,Qn,Tu,Mu,vc,j7,En,wf,pu,In,$u,Vn,du,xc,zn,Nf,Pn,J7,oi,Jf,a7,If,x7,On,Ic,Ef,mi,ei,_n,Uu,Ii,A7,Gu,pc,Cf,Mi,xu,X7,Nc,tu,b7,ac,Df,Pc,Er,R1,Se,n7,si,Li,S7,je,we,yc,r7,Lf,ri,gi,$t,Qf,zf,Mn,V7,cu,_7,p7,H7,ui,h7,qi,tc,Xf,B7,Hf,jn,Of,tf,Pu,yf,Kn,Ku,di,ii,ji,eu,Ln,d7,Wi,Wu,wu,pf,K7,df,Cn,nu,Si,z7,ti,Tc,cc,s7,ru,Di,Lu,vi,e7,lf,jc,sc,u7,bc,sf,Bu,L7,Gf,Oi,Wn,Du,bi,w7,An,bn,kc,pi,Ji,yu,Su,Ti,V2,ou,Ff,Cu,yn,O7,Ei,_e,wn,Nu,M7,Xi,Kf,ai,xf,Ou,ff,Hu,U7,Rn,Bt,bu,Dn,l7,nf,Zn,_u,Gn,vu,Ee,vf,W1,Ci,Hi,Qu,Pi,ef,Sn,lu,cf,Bn],g$=iR,_$=KR,b$=nR,w$=XR,T$=Vb,E$=SR,S$=W3,A$=TL,I$=ZD,j$=dR,P$=MD,N$=ys,O$=rt,C$=gM,D$=LR,R$=G1,F$=YR,L$=pU,M$=Ik,U$=Mp,q$=aa,B$=G3,X$=yR,J$=vU,K$=nF,Y$=vR,z$=uU,V$=DD,G$=PL,W$=gR,$$=dM,H$=jF,Q$=$M,Z$=sR,xH=KF,rH=tU,eH=HL,tH=[0,[18,[1,[0,[11,ht,0],ht]],[11,ZR,0]],YM],nH="Loc.line",uH=[0,[18,[1,[0,0,H0]],[2,0,[11,Y3,[17,[0,be,1,0],0]]]],J3],iH=[0,[4,0,0,0,0],Lv],fH=[0,[17,0,0],vv],cH=[0,[12,59,[17,[0,be,1,0],0]],Gy],sH=pl,aH=[0,[18,[1,[0,0,H0]],[2,0,[11,Y3,[17,[0,be,1,0],0]]]],J3],oH=[0,[4,0,0,0,0],Lv],vH=[0,[17,0,0],vv],lH=[0,[17,[0,be,1,0],[12,ms,[17,0,0]]],oF],pH=[0,[15,0],RF],kH="(Some ",mH=zw,hH="None",dH=[0,[18,[1,[0,[11,ht,0],ht]],[11,ZR,0]],YM],yH="Loc.source",gH=[0,[18,[1,[0,0,H0]],[2,0,[11,Y3,[17,[0,be,1,0],0]]]],J3],_H=[0,[17,0,0],vv],bH=[0,[12,59,[17,[0,be,1,0],0]],Gy],wH=N5,TH=[0,[18,[1,[0,0,H0]],[2,0,[11,Y3,[17,[0,be,1,0],0]]]],J3],EH=[0,[17,0,0],vv],SH=[0,[12,59,[17,[0,be,1,0],0]],Gy],AH="_end",IH=[0,[18,[1,[0,0,H0]],[2,0,[11,Y3,[17,[0,be,1,0],0]]]],J3],jH=[0,[17,0,0],vv],PH=[0,[17,[0,be,1,0],[12,ms,[17,0,0]]],oF],NH=H0,OH="Object literal may not have data and accessor property with the same name",CH="Object literal may not have multiple get/set accessors with the same name",DH="Unexpected token <. Remember, adjacent JSX elements must be wrapped in an enclosing parent tag",RH="`let [` is ambiguous in this position because it is either a `let` binding pattern, or a member expression.",FH="Async functions can only be declared at top level or immediately within another function.",LH="`await` is an invalid identifier in async functions",MH="`await` is not allowed in async function parameters.",UH="Computed properties must have a value.",qH="Constructor can't be an accessor.",BH="Constructor can't be an async function.",XH="Constructor can't be a generator.",JH="It is sufficient for your declare function to just have a Promise return type.",KH="async is an implementation detail and isn't necessary for your declare function statement. ",YH="`declare` modifier can only appear on class fields.",zH="Unexpected token `=`. Initializers are not allowed in a `declare`.",VH="Unexpected token `=`. Initializers are not allowed in a `declare opaque type`.",GH="Classes may only have one constructor",WH="Rest element must be final element of an array pattern",$H="Cannot export an enum with `export type`, try `export enum E {}` or `module.exports = E;` instead.",HH="Enum members are separated with `,`. Replace `;` with `,`.",QH="`const` enums are not supported. Flow Enums are designed to allow for inlining, however the inlining itself needs to be part of the build system (whatever you use) rather than Flow itself.",ZH="Expected an object pattern, array pattern, or an identifier but found an expression instead",xQ="Missing comma between export specifiers",rQ="Generators can only be declared at top level or immediately within another function.",eQ="Getter should have zero parameters",tQ="A getter cannot have a `this` parameter.",nQ="Illegal break statement",uQ="Illegal continue statement",iQ="Illegal return statement",fQ="Illegal Unicode escape",cQ="Missing comma between import specifiers",sQ="It cannot be used with `import type` or `import typeof` statements",aQ="The `type` and `typeof` keywords on named imports can only be used on regular `import` statements. ",oQ="Explicit inexact syntax cannot appear inside an explicit exact object type",vQ="Explicit inexact syntax can only appear inside an object type",lQ="Component params must be an identifier. If you'd like to destructure, you should use `name as {destructure}`",pQ="Components use `renders` instead of `:` to annotate the render type of a component.",kQ="A bigint literal must be an integer",mQ="JSX value should be either an expression or a quoted JSX text",hQ="Invalid left-hand side in assignment",dQ="Invalid left-hand side in exponentiation expression",yQ="Invalid left-hand side in for-in",gQ="Invalid left-hand side in for-of",_Q="Invalid optional indexed access. Indexed access uses bracket notation. Use the format `T?.[K]`.",bQ="Invalid regular expression",wQ="A bigint literal cannot use exponential notation",TQ="Tuple spread elements cannot be optional.",EQ="Tuple variance annotations can only be used with labeled tuple elements, e.g. `[+foo: number]`",SQ="`typeof` can only be used to get the type of variables.",AQ="JSX attributes must only be assigned a non-empty expression",IQ="Literals cannot be used as shorthand properties.",jQ="Malformed unicode",PQ="Object pattern can't contain methods",NQ="Expected at least one type parameter.",OQ="Type parameter declaration needs a default, since a preceding type parameter declaration has a default.",CQ="More than one default clause in switch statement",DQ="Illegal newline after throw",RQ="Illegal newline before arrow",FQ="Missing catch or finally after try",LQ="Const must be initialized",MQ="Destructuring assignment must be initialized",UQ="An optional chain may not be used in a `new` expression.",qQ="Template literals may not be used in an optional chain.",BQ="Rest parameter must be final parameter of an argument list",XQ="Private fields may not be deleted.",JQ="Private fields can only be referenced from within a class.",KQ="Rest property must be final property of an object pattern",YQ="Setter should have exactly one parameter",zQ="A setter cannot have a `this` parameter.",VQ="Catch variable may not be eval or arguments in strict mode",GQ="Delete of an unqualified identifier in strict mode.",WQ="Duplicate data property in object literal not allowed in strict mode",$Q="Function name may not be eval or arguments in strict mode",HQ="Assignment to eval or arguments is not allowed in strict mode",QQ="Postfix increment/decrement may not have eval or arguments operand in strict mode",ZQ="Prefix increment/decrement may not have eval or arguments operand in strict mode",xZ="Strict mode code may not include a with statement",rZ="Number literals with leading zeros are not allowed in strict mode.",eZ="Octal literals are not allowed in strict mode.",tZ="Strict mode function may not have duplicate parameter names",nZ="Parameter name eval or arguments is not allowed in strict mode",uZ='Illegal "use strict" directive in function with non-simple parameter list',iZ="Use of reserved word in strict mode",fZ="Variable name may not be eval or arguments in strict mode",cZ="You may not access a private field through the `super` keyword.",sZ="Flow does not support abstract classes.",aZ="Flow does not support template literal types.",oZ="A type annotation is required for the `this` parameter.",vZ="Arrow functions cannot have a `this` parameter; arrow functions automatically bind `this` when declared.",lZ="Constructors cannot have a `this` parameter; constructors don't bind `this` like other functions.",pZ="The `this` parameter cannot be optional.",kZ="The `this` parameter must be the first function parameter.",mZ="A trailing comma is not permitted after the rest element",hZ="Unexpected end of input",dZ="Explicit inexact syntax must come at the end of an object type",yZ="Opaque type aliases are not allowed in untyped mode",gZ="Unexpected proto modifier",_Z="Unexpected reserved word",bZ="Unexpected reserved type",wZ="Spreading a type is only allowed inside an object type",TZ="Unexpected static modifier",EZ="Unexpected `super` outside of a class method",SZ="`super()` is only valid in a class constructor",AZ="Type aliases are not allowed in untyped mode",IZ="Type annotations are not allowed in untyped mode",jZ="Type declarations are not allowed in untyped mode",PZ="Type exports are not allowed in untyped mode",NZ="Type imports are not allowed in untyped mode",OZ="Interfaces are not allowed in untyped mode",CZ="Unexpected variance sigil",DZ="Found a decorator in an unsupported position.",RZ="Invalid regular expression: missing /",FZ="Unexpected whitespace between `#` and identifier",LZ="`yield` is an invalid identifier in generators",MZ="Yield expression not allowed in formal parameter",UZ=[0,[11,"Duplicate export for `",[2,0,[12,96,0]]],"Duplicate export for `%s`"],qZ=[0,[11,"Private fields may only be declared once. `#",[2,0,[11,"` is declared more than once.",0]]],"Private fields may only be declared once. `#%s` is declared more than once."],BZ=[0,[11,"bigint enum members need to be initialized, e.g. `",[2,0,[11," = 1n,` in enum `",[2,0,[11,vs,0]]]]],"bigint enum members need to be initialized, e.g. `%s = 1n,` in enum `%s`."],XZ=[0,[11,"Boolean enum members need to be initialized. Use either `",[2,0,[11," = true,` or `",[2,0,[11," = false,` in enum `",[2,0,[11,vs,0]]]]]]],"Boolean enum members need to be initialized. Use either `%s = true,` or `%s = false,` in enum `%s`."],JZ=[0,[11,"Enum member names need to be unique, but the name `",[2,0,[11,"` has already been used before in enum `",[2,0,[11,vs,0]]]]],"Enum member names need to be unique, but the name `%s` has already been used before in enum `%s`."],KZ=[0,[11,TR,[2,0,[11,"` has inconsistent member initializers. Either use no initializers, or consistently use literals (either booleans, numbers, or strings) for all member initializers.",0]]],"Enum `%s` has inconsistent member initializers. Either use no initializers, or consistently use literals (either booleans, numbers, or strings) for all member initializers."],YZ="The `...` must come at the end of the enum body. Remove the trailing comma.",zZ="The `...` must come after all enum members. Move it to the end of the enum body.",VZ=[0,[11,"Use one of `boolean`, `number`, `string`, `symbol`, or `bigint` in enum `",[2,0,[11,vs,0]]],"Use one of `boolean`, `number`, `string`, `symbol`, or `bigint` in enum `%s`."],GZ=[0,[11,"Enum type `",[2,0,[11,"` is not valid. ",[2,0,0]]]],"Enum type `%s` is not valid. %s"],WZ=[0,[11,"Supplied enum type is not valid. ",[2,0,0]],"Supplied enum type is not valid. %s"],$Z=[0,[11,"Enum member names and initializers are separated with `=`. Replace `",[2,0,[11,":` with `",[2,0,[11," =`.",0]]]]],"Enum member names and initializers are separated with `=`. Replace `%s:` with `%s =`."],HZ=[0,[11,TR,[2,0,[11,"` has type `",[2,0,[11,"`, so the initializer of `",[2,0,[11,"` needs to be a ",[2,0,[11," literal.",0]]]]]]]]],"Enum `%s` has type `%s`, so the initializer of `%s` needs to be a %s literal."],QZ=[0,[11,"Symbol enum members cannot be initialized. Use `",[2,0,[11,",` in enum `",[2,0,[11,vs,0]]]]],"Symbol enum members cannot be initialized. Use `%s,` in enum `%s`."],ZZ=[0,[11,"The enum member initializer for `",[2,0,[11,"` needs to be a literal (either a boolean, number, or string) in enum `",[2,0,[11,vs,0]]]]],"The enum member initializer for `%s` needs to be a literal (either a boolean, number, or string) in enum `%s`."],x00=[0,[11,"Enum member names cannot start with lowercase 'a' through 'z'. Instead of using `",[2,0,[11,"`, consider using `",[2,0,[11,"`, in enum `",[2,0,[11,vs,0]]]]]]],"Enum member names cannot start with lowercase 'a' through 'z'. Instead of using `%s`, consider using `%s`, in enum `%s`."],r00=[0,[11,"Number enum members need to be initialized, e.g. `",[2,0,[11," = 1,` in enum `",[2,0,[11,vs,0]]]]],"Number enum members need to be initialized, e.g. `%s = 1,` in enum `%s`."],e00=[0,[11,"String enum members need to consistently either all use initializers, or use no initializers, in enum ",[2,0,[12,46,0]]],"String enum members need to consistently either all use initializers, or use no initializers, in enum %s."],t00=[0,[11,"Expected corresponding JSX closing tag for ",[2,0,0]],"Expected corresponding JSX closing tag for %s"],n00="immediately within another function.",u00="In strict mode code, functions can only be declared at top level or ",i00="inside a block, or as the body of an if statement.",f00="In non-strict mode code, functions can only be declared at top level, ",c00="static ",s00=H0,a00="methods",o00="fields",v00=BD,l00=[0,[11,"Classes may not have ",[2,0,[2,0,[11," named `",[2,0,[11,vs,0]]]]]],"Classes may not have %s%s named `%s`."],p00=WL,k00=H0,m00=[0,[11,"String params require local bindings using `as` renaming. You can use `'",[2,0,[11,"' as ",[2,0,[2,0,[11,": ` ",0]]]]]],"String params require local bindings using `as` renaming. You can use `'%s' as %s%s: ` "],h00="Remove the period.",d00="Indexed access uses bracket notation.",y00=[0,[11,"Invalid indexed access. ",[2,0,[11," Use the format `T[K]`.",0]]],"Invalid indexed access. %s Use the format `T[K]`."],g00=[0,[11,"Invalid flags supplied to RegExp constructor '",[2,0,[12,39,0]]],"Invalid flags supplied to RegExp constructor '%s'"],_00=[0,[11,"JSX element ",[2,0,[11," has no corresponding closing tag.",0]]],"JSX element %s has no corresponding closing tag."],b00=[0,[11,PR,[2,0,[11,"`. Parentheses are required to combine `??` with `&&` or `||` expressions.",0]]],"Unexpected token `%s`. Parentheses are required to combine `??` with `&&` or `||` expressions."],w00=[0,[2,0,[11," '",[2,0,[11,"' has already been declared",0]]]],"%s '%s' has already been declared"],T00=H0,E00=z3,S00=" You can try using JavaScript private fields by prepending `#` to the field name.",A00=_l,I00=" Fields and methods are public by default. You can simply omit the `public` keyword.",j00=U3,P00=[0,[11,"Flow does not support using `",[2,0,[11,"` in classes.",[2,0,0]]]],"Flow does not support using `%s` in classes.%s"],N00=[0,[11,"Private fields must be declared before they can be referenced. `#",[2,0,[11,"` has not been declared.",0]]],"Private fields must be declared before they can be referenced. `#%s` has not been declared."],O00=[0,[11,mL,[2,0,0]],"Unexpected %s"],C00=[0,[11,PR,[2,0,[11,"`. Did you mean `",[2,0,[11,"`?",0]]]]],"Unexpected token `%s`. Did you mean `%s`?"],D00=[0,[11,mL,[2,0,[11,", expected ",[2,0,0]]]],"Unexpected %s, expected %s"],R00=[0,[11,"Undefined label '",[2,0,[12,39,0]]],"Undefined label '%s'"],F00="Parse_error.Error",L00=[0,[0,36,37],[0,48,58],[0,65,91],[0,95,96],[0,97,Vt],[0,Wp,My],[0,NP,u9],[0,lj,tm],[0,P4,iE],[0,dv,Rb],[0,HI,xl],[0,x2,706],[0,VR,722],[0,736,741],[0,748,749],[0,750,751],[0,768,885],[0,886,888],[0,890,894],[0,895,896],[0,902,907],[0,908,909],[0,910,930],[0,LM,1014],[0,1015,1154],[0,1155,1160],[0,1162,1328],[0,1329,1367],[0,1369,1370],[0,1376,1417],[0,1425,1470],[0,1471,1472],[0,1473,1475],[0,1476,1478],[0,1479,1480],[0,1488,1515],[0,1519,1523],[0,mR,1563],[0,1568,1642],[0,1646,1748],[0,1749,1757],[0,1759,1769],[0,1770,1789],[0,1791,1792],[0,1808,1867],[0,1869,1970],[0,1984,2038],[0,2042,2043],[0,2045,2046],[0,mj,2094],[0,2112,2140],[0,2144,2155],[0,2208,2229],[0,2230,2238],[0,2259,2274],[0,2275,2404],[0,2406,2416],[0,2417,2436],[0,2437,2445],[0,2447,2449],[0,2451,2473],[0,2474,2481],[0,2482,2483],[0,2486,2490],[0,2492,2501],[0,2503,2505],[0,2507,2511],[0,2519,2520],[0,2524,2526],[0,2527,2532],[0,2534,2546],[0,2556,2557],[0,2558,2559],[0,2561,2564],[0,2565,2571],[0,2575,2577],[0,2579,2601],[0,2602,2609],[0,2610,2612],[0,2613,2615],[0,2616,2618],[0,2620,2621],[0,2622,2627],[0,2631,2633],[0,2635,2638],[0,2641,2642],[0,2649,2653],[0,2654,2655],[0,2662,2678],[0,2689,2692],[0,2693,2702],[0,2703,2706],[0,2707,2729],[0,2730,2737],[0,2738,2740],[0,2741,2746],[0,2748,2758],[0,2759,2762],[0,2763,2766],[0,2768,2769],[0,2784,2788],[0,2790,2800],[0,2809,2816],[0,2817,2820],[0,2821,2829],[0,2831,2833],[0,2835,2857],[0,2858,2865],[0,2866,2868],[0,2869,2874],[0,2876,2885],[0,2887,2889],[0,2891,2894],[0,2902,2904],[0,2908,2910],[0,2911,2916],[0,2918,2928],[0,2929,2930],[0,2946,2948],[0,2949,2955],[0,2958,2961],[0,2962,2966],[0,2969,2971],[0,2972,2973],[0,2974,2976],[0,2979,2981],[0,2984,2987],[0,2990,3002],[0,3006,3011],[0,3014,3017],[0,3018,3022],[0,3024,3025],[0,3031,3032],[0,3046,3056],[0,3072,3085],[0,3086,3089],[0,3090,3113],[0,3114,3130],[0,3133,3141],[0,3142,3145],[0,3146,3150],[0,3157,3159],[0,3160,3163],[0,3168,3172],[0,3174,3184],[0,3200,3204],[0,3205,3213],[0,3214,3217],[0,3218,3241],[0,3242,3252],[0,3253,3258],[0,3260,3269],[0,3270,3273],[0,3274,3278],[0,3285,3287],[0,3294,3295],[0,3296,3300],[0,3302,3312],[0,3313,3315],[0,3328,3332],[0,3333,3341],[0,3342,3345],[0,3346,3397],[0,3398,3401],[0,3402,3407],[0,3412,3416],[0,3423,3428],[0,3430,3440],[0,3450,3456],[0,3458,3460],[0,3461,3479],[0,3482,3506],[0,3507,3516],[0,3517,3518],[0,3520,3527],[0,3530,3531],[0,3535,3541],[0,3542,3543],[0,3544,3552],[0,3558,3568],[0,3570,3572],[0,3585,3643],[0,3648,3663],[0,3664,3674],[0,3713,3715],[0,3716,3717],[0,3718,3723],[0,3724,3748],[0,3749,3750],[0,3751,3774],[0,3776,3781],[0,3782,3783],[0,3784,3790],[0,3792,3802],[0,3804,3808],[0,3840,3841],[0,3864,3866],[0,3872,3882],[0,3893,3894],[0,3895,3896],[0,3897,3898],[0,3902,3912],[0,3913,3949],[0,3953,3973],[0,3974,3992],[0,3993,4029],[0,4038,4039],[0,nL,4170],[0,4176,4254],[0,4256,4294],[0,4295,4296],[0,4301,4302],[0,4304,4347],[0,4348,4681],[0,4682,4686],[0,4688,4695],[0,4696,4697],[0,4698,4702],[0,4704,4745],[0,4746,4750],[0,4752,4785],[0,4786,4790],[0,4792,4799],[0,4800,4801],[0,4802,4806],[0,4808,4823],[0,4824,4881],[0,4882,4886],[0,4888,4955],[0,4957,4960],[0,4969,4978],[0,4992,5008],[0,5024,5110],[0,5112,5118],[0,5121,5741],[0,5743,rw],[0,5761,5787],[0,5792,5867],[0,5870,5881],[0,5888,5901],[0,5902,5909],[0,5920,5941],[0,5952,5972],[0,5984,5997],[0,5998,6001],[0,6002,6004],[0,6016,6100],[0,6103,6104],[0,6108,6110],[0,6112,6122],[0,6155,6158],[0,6160,6170],[0,6176,6265],[0,6272,6315],[0,6320,6390],[0,6400,6431],[0,6432,6444],[0,6448,6460],[0,6470,6510],[0,6512,6517],[0,6528,6572],[0,6576,6602],[0,6608,6619],[0,6656,6684],[0,6688,6751],[0,6752,6781],[0,6783,6794],[0,6800,6810],[0,6823,6824],[0,6832,6846],[0,6912,6988],[0,6992,7002],[0,7019,7028],[0,7040,7156],[0,7168,7224],[0,7232,7242],[0,7245,7294],[0,7296,7305],[0,7312,7355],[0,7357,7360],[0,7376,7379],[0,7380,7419],[0,7424,7674],[0,7675,7958],[0,7960,7966],[0,7968,8006],[0,8008,8014],[0,8016,8024],[0,8025,8026],[0,8027,8028],[0,8029,8030],[0,8031,8062],[0,8064,8117],[0,8118,8125],[0,8126,8127],[0,8130,8133],[0,8134,8141],[0,8144,8148],[0,8150,8156],[0,8160,8173],[0,8178,8181],[0,8182,8189],[0,BL,VF],[0,8255,8257],[0,8276,8277],[0,Yk,8306],[0,sm,8320],[0,8336,8349],[0,8400,8413],[0,8417,8418],[0,8421,8433],[0,Am,8451],[0,U8,8456],[0,8458,Fk],[0,fk,8470],[0,MM,8478],[0,Dm,d4],[0,yk,gk],[0,V4,H4],[0,8490,8506],[0,8508,8512],[0,8517,8522],[0,mk,8527],[0,8544,8585],[0,11264,11311],[0,11312,11359],[0,11360,11493],[0,11499,11508],[0,11520,Yp],[0,Kk,11560],[0,Kp,11566],[0,11568,11624],[0,L8,11632],[0,r8,11671],[0,11680,S4],[0,11688,Tk],[0,11696,Zp],[0,11704,Ok],[0,11712,Z8],[0,11720,z8],[0,11728,J4],[0,11736,11743],[0,11744,11776],[0,12293,12296],[0,12321,Jp],[0,12337,12342],[0,12344,12349],[0,12353,12439],[0,12441,G8],[0,12449,gm],[0,12540,12544],[0,12549,D8],[0,12593,12687],[0,12704,12731],[0,12784,12800],[0,13312,19894],[0,19968,40944],[0,40960,42125],[0,42192,42238],[0,42240,42509],[0,42512,42540],[0,42560,42608],[0,42612,rm],[0,42623,42738],[0,42775,42784],[0,42786,42889],[0,42891,42944],[0,42946,42951],[0,zk,43048],[0,43072,43124],[0,43136,43206],[0,43216,43226],[0,43232,43256],[0,K8,nm],[0,43261,43310],[0,43312,43348],[0,43360,43389],[0,43392,43457],[0,D4,43482],[0,43488,dm],[0,43520,43575],[0,43584,43598],[0,43600,43610],[0,43616,43639],[0,Ck,43715],[0,43739,43742],[0,43744,43760],[0,43762,43767],[0,43777,43783],[0,43785,43791],[0,43793,43799],[0,43808,s8],[0,43816,lk],[0,43824,l8],[0,43868,hk],[0,43888,44011],[0,44012,44014],[0,44016,44026],[0,44032,55204],[0,55216,55239],[0,55243,55292],[0,63744,64110],[0,64112,64218],[0,64256,64263],[0,64275,64280],[0,U4,Qk],[0,64298,ym],[0,64312,im],[0,t8,o4],[0,64320,C4],[0,64323,_8],[0,64326,64434],[0,64467,64830],[0,64848,64912],[0,64914,64968],[0,65008,65020],[0,65024,65040],[0,65056,65072],[0,65075,65077],[0,65101,65104],[0,65136,O4],[0,65142,65277],[0,65296,65306],[0,65313,65339],[0,65343,X8],[0,65345,65371],[0,65382,65471],[0,65474,65480],[0,65482,65488],[0,65490,65496],[0,65498,65501],[0,el,bk],[0,65549,Ak],[0,65576,g4],[0,65596,T8],[0,65599,65614],[0,65616,65630],[0,65664,65787],[0,65856,65909],[0,66045,66046],[0,66176,66205],[0,66208,66257],[0,66272,66273],[0,66304,66336],[0,66349,66379],[0,66384,66427],[0,66432,66462],[0,66464,66500],[0,66504,y8],[0,66513,66518],[0,66560,66718],[0,66720,66730],[0,66736,66772],[0,66776,66812],[0,66816,66856],[0,66864,66916],[0,67072,67383],[0,67392,67414],[0,67424,67432],[0,67584,67590],[0,hm,b8],[0,67594,H8],[0,67639,67641],[0,um,67645],[0,67647,67670],[0,67680,67703],[0,67712,67743],[0,67808,Im],[0,67828,67830],[0,67840,67862],[0,67872,67898],[0,67968,68024],[0,68030,68032],[0,Um,68100],[0,68101,68103],[0,68108,p4],[0,68117,Nm],[0,68121,68150],[0,68152,68155],[0,68159,68160],[0,68192,68221],[0,68224,68253],[0,68288,$p],[0,68297,68327],[0,68352,68406],[0,68416,68438],[0,68448,68467],[0,68480,68498],[0,68608,68681],[0,68736,68787],[0,68800,68851],[0,68864,68904],[0,68912,68922],[0,69376,69405],[0,dk,69416],[0,69424,69457],[0,69600,69623],[0,69632,69703],[0,69734,I4],[0,69759,69819],[0,69840,69865],[0,69872,69882],[0,69888,69941],[0,69942,69952],[0,Wk,_k],[0,69968,70004],[0,e4,70007],[0,70016,70085],[0,70089,70093],[0,70096,Qp],[0,Om,70109],[0,70144,om],[0,70163,70200],[0,70206,70207],[0,70272,Nk],[0,h8,k4],[0,70282,c8],[0,70287,i4],[0,70303,70313],[0,70320,70379],[0,70384,70394],[0,70400,Uk],[0,70405,70413],[0,70415,70417],[0,70419,qk],[0,70442,w4],[0,70450,Pm],[0,70453,70458],[0,70459,70469],[0,70471,70473],[0,70475,70478],[0,Cm,70481],[0,70487,70488],[0,70493,70500],[0,70502,70509],[0,70512,70517],[0,70656,70731],[0,70736,70746],[0,Q8,70752],[0,70784,N8],[0,A8,70856],[0,70864,70874],[0,71040,71094],[0,71096,71105],[0,71128,71134],[0,71168,71233],[0,xk,71237],[0,71248,71258],[0,71296,71353],[0,71360,71370],[0,71424,71451],[0,71453,71468],[0,71472,71482],[0,71680,71739],[0,71840,71914],[0,71935,71936],[0,72096,72104],[0,72106,72152],[0,72154,Rk],[0,Up,72165],[0,vm,72255],[0,72263,72264],[0,m8,72346],[0,pk,72350],[0,72384,72441],[0,72704,o8],[0,72714,72759],[0,72760,72769],[0,72784,72794],[0,72818,72848],[0,72850,72872],[0,72873,72887],[0,72960,r4],[0,72968,P8],[0,72971,73015],[0,73018,73019],[0,73020,73022],[0,73023,73032],[0,73040,73050],[0,73056,mm],[0,73063,Bk],[0,73066,73103],[0,73104,73106],[0,73107,73113],[0,73120,73130],[0,73440,73463],[0,73728,74650],[0,74752,74863],[0,74880,75076],[0,77824,78895],[0,82944,83527],[0,92160,92729],[0,92736,92767],[0,92768,92778],[0,92880,92910],[0,92912,92917],[0,92928,92983],[0,92992,92996],[0,93008,93018],[0,93027,93048],[0,93053,93072],[0,93760,93824],[0,93952,94027],[0,Vk,94088],[0,94095,94112],[0,94176,ck],[0,X4,94180],[0,94208,100344],[0,100352,101107],[0,110592,110879],[0,110928,110931],[0,110948,110952],[0,110960,111356],[0,113664,113771],[0,113776,113789],[0,113792,113801],[0,113808,113818],[0,113821,113823],[0,119141,119146],[0,119149,119155],[0,119163,119171],[0,119173,119180],[0,119210,119214],[0,119362,119365],[0,119808,Xp],[0,119894,Xk],[0,119966,119968],[0,Mm,119971],[0,119973,119975],[0,119977,tk],[0,119982,q4],[0,B8,j8],[0,119997,k8],[0,120005,L4],[0,120071,120075],[0,120077,nk],[0,120086,g8],[0,120094,vk],[0,120123,W4],[0,120128,am],[0,K4,120135],[0,120138,z4],[0,120146,120486],[0,120488,_m],[0,120514,jk],[0,120540,a8],[0,120572,Gp],[0,120598,n4],[0,120630,pm],[0,120656,V8],[0,120688,Rm],[0,120714,u8],[0,120746,Sm],[0,120772,120780],[0,120782,120832],[0,121344,121399],[0,121403,121453],[0,121461,121462],[0,121476,121477],[0,121499,121504],[0,121505,121520],[0,122880,122887],[0,122888,122905],[0,122907,122914],[0,122915,122917],[0,122918,122923],[0,123136,123181],[0,123184,123198],[0,123200,123210],[0,j4,123215],[0,123584,123642],[0,124928,125125],[0,125136,125143],[0,125184,125260],[0,125264,125274],[0,126464,R8],[0,126469,Tm],[0,126497,W8],[0,G4,126501],[0,u4,E8],[0,126505,c4],[0,126516,Q4],[0,qp,e8],[0,Zk,126524],[0,J8,126531],[0,Y8,N4],[0,I8,w8],[0,bm,q8],[0,126541,Dk],[0,126545,T4],[0,$x,126549],[0,S8,wm],[0,b4,kk],[0,uk,Fm],[0,Vp,fm],[0,t4,Em],[0,126561,Z4],[0,x4,126565],[0,126567,em],[0,126572,Hp],[0,126580,wk],[0,126585,R4],[0,v4,Lm],[0,126592,n8],[0,126603,126620],[0,126625,Jk],[0,126629,Hk],[0,126635,126652],[0,131072,173783],[0,173824,177973],[0,177984,178206],[0,178208,183970],[0,183984,191457],[0,194560,195102],[0,917760,918e3]],M00=[0,1,0],U00=[0,0,[0,1,0],[0,1,0]],q00=oL,B00="end of input",X00=yl,J00="template literal part",K00=yl,Y00=eL,z00=oL,V00=yl,G00=yv,W00=yl,$00=vo,H00=yl,Q00=Rv,Z00="an",xx0=dt,rx0=bf,ex0=[0,[11,"token `",[2,0,[12,96,0]]],"token `%s`"],tx0="{",nx0=$k,ux0="{|",ix0="|}",fx0=FD,cx0=zw,sx0="[",ax0="]",ox0=jb,vx0=XD,lx0=Mf,px0="=>",kx0="...",mx0=dF,hx0=BD,dx0=pv,yx0=ik,gx0=aa,_x0=G3,bx0=Se,wx0=Pe,Tx0=uo,Ex0=je,Sx0=lm,Ax0=al,Ix0=Y4,jx0=y4,Px0=ul,Nx0=mv,Ox0=oo,Cx0=ls,Dx0=as,Rx0=Ee,Fx0=$4,Lx0=x8,Mx0=_e,Ux0=io,qx0=xm,Bx0=F4,Xx0=Sk,Jx0=K3,Kx0=hc,Yx0=Ae,zx0=B4,Vx0=no,Gx0=nl,Wx0=ss,$x0=ps,Hx0=sl,Qx0=ok,Zx0=R1,xr0=jv,rr0=lo,er0=W1,tr0=ek,nr0=_l,ur0=z3,ir0=U3,fr0=M1,cr0=we,sr0=H3,ar0=qu,or0=q9,vr0=$9,lr0=oa,pr0=_o,kr0="%checks",mr0=dM,hr0=gR,dr0=PL,yr0=$M,gr0=jF,_r0=sR,br0=DD,wr0=uU,Tr0=nF,Er0=vR,Sr0=vU,Ar0=yR,Ir0=KF,jr0=tU,Pr0=HL,Nr0=qg,Or0="?.",Cr0=h5,Dr0=WL,Rr0=Ao,Fr0=lF,Lr0=fU,Mr0=pU,Ur0=Ik,qr0=Mp,Br0=iR,Xr0=KR,Jr0=nR,Kr0=XR,Yr0=SR,zr0=TL,Vr0=Vb,Gr0=W3,Wr0=ZD,$r0=dR,Hr0=MD,Qr0=ys,Zr0=rt,x20=G1,r20=gM,e20=LR,t20=YR,n20=MR,u20=uM,i20=CM,f20=EF,c20=H0,s20=p8,a20=h4,o20=ie,v20=yv,l20=vo,p20=Rv,k20=ps,m20=ox,h20=F8,d20=Mk,y20=cm,g20=Lk,_20=ko,b20=CF,w20=ll,T20=hv,E20=ov,S20=NL,A20=xF,I20=M3,j20=M3,P20=iU,N20=M3,O20=M3,C20=$k,D20=$k,R20=iU,F20=G1,L20=G1,M20=$3,U20=C8,q20="T_LCURLY",B20="T_RCURLY",X20="T_LCURLYBAR",J20="T_RCURLYBAR",K20="T_LPAREN",Y20="T_RPAREN",z20="T_LBRACKET",V20="T_RBRACKET",G20="T_SEMICOLON",W20="T_COMMA",$20="T_PERIOD",H20="T_ARROW",Q20="T_ELLIPSIS",Z20="T_AT",x10="T_POUND",r10="T_FUNCTION",e10="T_IF",t10="T_IN",n10="T_INSTANCEOF",u10="T_RETURN",i10="T_SWITCH",f10="T_THIS",c10="T_THROW",s10="T_TRY",a10="T_VAR",o10="T_WHILE",v10="T_WITH",l10="T_CONST",p10="T_LET",k10="T_NULL",m10="T_FALSE",h10="T_TRUE",d10="T_BREAK",y10="T_CASE",g10="T_CATCH",_10="T_CONTINUE",b10="T_DEFAULT",w10="T_DO",T10="T_FINALLY",E10="T_FOR",S10="T_CLASS",A10="T_EXTENDS",I10="T_STATIC",j10="T_ELSE",P10="T_NEW",N10="T_DELETE",O10="T_TYPEOF",C10="T_VOID",D10="T_ENUM",R10="T_EXPORT",F10="T_IMPORT",L10="T_SUPER",M10="T_IMPLEMENTS",U10="T_INTERFACE",q10="T_PACKAGE",B10="T_PRIVATE",X10="T_PROTECTED",J10="T_PUBLIC",K10="T_YIELD",Y10="T_DEBUGGER",z10="T_DECLARE",V10="T_TYPE",G10="T_OPAQUE",W10="T_OF",$10="T_ASYNC",H10="T_AWAIT",Q10="T_CHECKS",Z10="T_RSHIFT3_ASSIGN",xe0="T_RSHIFT_ASSIGN",re0="T_LSHIFT_ASSIGN",ee0="T_BIT_XOR_ASSIGN",te0="T_BIT_OR_ASSIGN",ne0="T_BIT_AND_ASSIGN",ue0="T_MOD_ASSIGN",ie0="T_DIV_ASSIGN",fe0="T_MULT_ASSIGN",ce0="T_EXP_ASSIGN",se0="T_MINUS_ASSIGN",ae0="T_PLUS_ASSIGN",oe0="T_NULLISH_ASSIGN",ve0="T_AND_ASSIGN",le0="T_OR_ASSIGN",pe0="T_ASSIGN",ke0="T_PLING_PERIOD",me0="T_PLING_PLING",he0="T_PLING",de0="T_COLON",ye0="T_OR",ge0="T_AND",_e0="T_BIT_OR",be0="T_BIT_XOR",we0="T_BIT_AND",Te0="T_EQUAL",Ee0="T_NOT_EQUAL",Se0="T_STRICT_EQUAL",Ae0="T_STRICT_NOT_EQUAL",Ie0="T_LESS_THAN_EQUAL",je0="T_GREATER_THAN_EQUAL",Pe0="T_LESS_THAN",Ne0="T_GREATER_THAN",Oe0="T_LSHIFT",Ce0="T_RSHIFT",De0="T_RSHIFT3",Re0="T_PLUS",Fe0="T_MINUS",Le0="T_DIV",Me0="T_MULT",Ue0="T_EXP",qe0="T_MOD",Be0="T_NOT",Xe0="T_BIT_NOT",Je0="T_INCR",Ke0="T_DECR",Ye0="T_EOF",ze0="T_ANY_TYPE",Ve0="T_MIXED_TYPE",Ge0="T_EMPTY_TYPE",We0="T_NUMBER_TYPE",$e0="T_BIGINT_TYPE",He0="T_STRING_TYPE",Qe0="T_VOID_TYPE",Ze0="T_SYMBOL_TYPE",xt0="T_UNKNOWN_TYPE",rt0="T_NEVER_TYPE",et0="T_UNDEFINED_TYPE",tt0="T_KEYOF",nt0="T_READONLY",ut0="T_INFER",it0="T_IS",ft0="T_ASSERTS",ct0="T_IMPLIES",st0=zR,at0=zR,ot0="T_NUMBER",vt0="T_BIGINT",lt0="T_STRING",pt0="T_TEMPLATE_PART",kt0="T_IDENTIFIER",mt0="T_REGEXP",ht0="T_INTERPRETER",dt0="T_ERROR",yt0="T_JSX_IDENTIFIER",gt0=eU,_t0=eU,bt0="T_BOOLEAN_TYPE",wt0="T_NUMBER_SINGLETON_TYPE",Tt0="T_BIGINT_SINGLETON_TYPE",Et0=[0,QF,Lw,9],St0=[0,QF,Zb,9],At0=sF,It0="*/",jt0=sF,Pt0="unreachable line_comment",Nt0="unreachable string_quote",Ot0="\\",Ct0="unreachable template_part",Dt0=`\r +`,Rt0=_b,Ft0="unreachable regexp_class",Lt0=SM,Mt0="unreachable regexp_body",Ut0=H0,qt0=H0,Bt0=H0,Xt0=H0,Jt0=yM,Kt0="{'>'}",Yt0=W3,zt0="{'}'}",Vt0=$k,Gt0=fa,Wt0=jb,$t0=Mp,Ht0=yM,Qt0=fa,Zt0=jb,xn0=Mp,rn0="unreachable type_token wholenumber",en0="unreachable type_token wholebigint",tn0="unreachable type_token floatbigint",nn0="unreachable type_token scinumber",un0="unreachable type_token scibigint",in0="unreachable type_token hexnumber",fn0="unreachable type_token hexbigint",cn0="unreachable type_token legacyoctnumber",sn0="unreachable type_token octnumber",an0="unreachable type_token octbigint",on0="unreachable type_token binnumber",vn0="unreachable type_token bigbigint",ln0="unreachable type_token",pn0=TM,kn0=[11,1],mn0=[11,0],hn0="unreachable template_tail",dn0=H0,yn0=H0,gn0="unreachable jsx_child",_n0="unreachable jsx_tag",bn0=[0,lR],wn0=[0,913],Tn0=[0,dv],En0=[0,E9],Sn0=[0,JR],An0=[0,QM],In0=[0,8747],jn0=[0,mM],Pn0=[0,916],Nn0=[0,8225],On0=[0,935],Cn0=[0,lL],Dn0=[0,914],Rn0=[0,DL],Fn0=[0,BR],Ln0=[0,UM],Mn0=[0,915],Un0=[0,WM],qn0=[0,919],Bn0=[0,917],Xn0=[0,IP],Jn0=[0,cM],Kn0=[0,IR],Yn0=[0,924],zn0=[0,923],Vn0=[0,922],Gn0=[0,cU],Wn0=[0,921],$n0=[0,WR],Hn0=[0,Zb],Qn0=[0,JD],Zn0=[0,HI],x70=[0,927],r70=[0,937],e70=[0,xU],t70=[0,rL],n70=[0,m_],u70=[0,338],i70=[0,352],f70=[0,929],c70=[0,936],s70=[0,8243],a70=[0,928],o70=[0,934],v70=[0,eM],l70=[0,LD],p70=[0,933],k70=[0,FL],m70=[0,iM],h70=[0,qM],d70=[0,920],y70=[0,932],g70=[0,GD],_70=[0,zF],b70=[0,MF],w70=[0,AL],T70=[0,918],E70=[0,376],S70=[0,$F],A70=[0,926],I70=[0,jL],j70=[0,LM],P70=[0,925],N70=[0,39],O70=[0,8736],C70=[0,8743],D70=[0,38],R70=[0,945],F70=[0,8501],L70=[0,Tv],M70=[0,8226],U70=[0,DF],q70=[0,946],B70=[0,8222],X70=[0,IL],J70=[0,rU],K70=[0,8776],Y70=[0,_M],z70=[0,8773],V70=[0,9827],G70=[0,VR],W70=[0,967],$70=[0,JF],H70=[0,tm],Q70=[0,fL],Z70=[0,Sb],xu0=[0,8595],ru0=[0,8224],eu0=[0,8659],tu0=[0,yF],nu0=[0,8746],uu0=[0,8629],iu0=[0,v8],fu0=[0,8745],cu0=[0,8195],su0=[0,8709],au0=[0,aU],ou0=[0,lU],vu0=[0,bF],lu0=[0,xl],pu0=[0,9830],ku0=[0,8707],mu0=[0,8364],hu0=[0,NM],du0=[0,po],yu0=[0,951],gu0=[0,8801],_u0=[0,949],bu0=[0,8194],wu0=[0,8805],Tu0=[0,947],Eu0=[0,8260],Su0=[0,_R],Au0=[0,gL],Iu0=[0,Lw],ju0=[0,8704],Pu0=[0,aF],Nu0=[0,ML],Ou0=[0,8230],Cu0=[0,9829],Du0=[0,8596],Ru0=[0,8660],Fu0=[0,62],Lu0=[0,402],Mu0=[0,948],Uu0=[0,NF],qu0=[0,Gk],Bu0=[0,8712],Xu0=[0,iL],Ju0=[0,953],Ku0=[0,8734],Yu0=[0,8465],zu0=[0,KM],Vu0=[0,8220],Gu0=[0,8968],Wu0=[0,8592],$u0=[0,My],Hu0=[0,10216],Qu0=[0,955],Zu0=[0,8656],xi0=[0,954],ri0=[0,60],ei0=[0,8216],ti0=[0,8249],ni0=[0,VF],ui0=[0,9674],ii0=[0,8727],fi0=[0,8970],ci0=[0,GF],si0=[0,8711],ai0=[0,956],oi0=[0,8722],vi0=[0,lj],li0=[0,NP],pi0=[0,8212],ki0=[0,tR],mi0=[0,8804],hi0=[0,957],di0=[0,RD],yi0=[0,8836],gi0=[0,8713],_i0=[0,FF],bi0=[0,8715],wi0=[0,8800],Ti0=[0,8853],Ei0=[0,959],Si0=[0,969],Ai0=[0,8254],Ii0=[0,hM],ji0=[0,339],Pi0=[0,OI],Ni0=[0,KL],Oi0=[0,u9],Ci0=[0,Pk],Di0=[0,8855],Ri0=[0,LF],Fi0=[0,x2],Li0=[0,P4],Mi0=[0,Wp],Ui0=[0,DM],qi0=[0,bR],Bi0=[0,982],Xi0=[0,960],Ji0=[0,966],Ki0=[0,8869],Yi0=[0,8240],zi0=[0,8706],Vi0=[0,8744],Gi0=[0,8211],Wi0=[0,10217],$i0=[0,8730],Hi0=[0,8658],Qi0=[0,34],Zi0=[0,968],xf0=[0,8733],rf0=[0,8719],ef0=[0,961],tf0=[0,8971],nf0=[0,nU],uf0=[0,8476],if0=[0,8221],ff0=[0,8969],cf0=[0,8594],sf0=[0,iE],af0=[0,RL],of0=[0,rM],vf0=[0,8901],lf0=[0,353],pf0=[0,8218],kf0=[0,8217],mf0=[0,8250],hf0=[0,8835],df0=[0,8721],yf0=[0,8838],gf0=[0,8834],_f0=[0,9824],bf0=[0,8764],wf0=[0,962],Tf0=[0,963],Ef0=[0,8207],Sf0=[0,952],Af0=[0,8756],If0=[0,964],jf0=[0,ak],Pf0=[0,8839],Nf0=[0,UD],Of0=[0,cI],Cf0=[0,Mv],Df0=[0,8657],Rf0=[0,8482],Ff0=[0,Rb],Lf0=[0,732],Mf0=[0,Pv],Uf0=[0,8201],qf0=[0,977],Bf0=[0,MM],Xf0=[0,go],Jf0=[0,965],Kf0=[0,978],Yf0=[0,Ub],zf0=[0,ly],Vf0=[0,_L],Gf0=[0,BL],Wf0=[0,8205],$f0=[0,950],Hf0=[0,m4],Qf0=[0,vj],Zf0=[0,i8],xc0=[0,958],rc0=[0,8593],ec0=[0,eF],tc0=[0,8242],nc0=[0,kT],uc0="unreachable regexp",ic0="unreachable token wholenumber",fc0="unreachable token wholebigint",cc0="unreachable token floatbigint",sc0="unreachable token scinumber",ac0="unreachable token scibigint",oc0="unreachable token hexnumber",vc0="unreachable token hexbigint",lc0="unreachable token legacyoctnumber",pc0="unreachable token legacynonoctnumber",kc0="unreachable token octnumber",mc0="unreachable token octbigint",hc0="unreachable token bignumber",dc0="unreachable token bigint",yc0="unreachable token",gc0=TM,_c0=[7,"#!"],bc0="expected ?",wc0="unreachable string_escape",Tc0=$1,Ec0=X3,Sc0=X3,Ac0=$1,Ic0=ZT,jc0=QL,Pc0="n",Nc0="r",Oc0="t",Cc0=qR,Dc0=X3,Rc0=fa,Fc0=fa,Lc0="unreachable id_char",Mc0=fa,Uc0=fa,qc0=X3,Bc0=NR,Xc0=PF,Jc0=iw,Kc0=[24,"token ILLEGAL"],Yc0=[0,[11,"the identifier `",[2,0,[12,96,0]]],"the identifier `%s`"],zc0=[0,1],Vc0=[0,1],Gc0=cF,Wc0=cF,$c0=[0,[11,"an identifier. When exporting a ",[2,0,[11," as a named export, you must specify a ",[2,0,[11," name. Did you mean `export default ",[2,0,[11," ...`?",0]]]]]]],"an identifier. When exporting a %s as a named export, you must specify a %s name. Did you mean `export default %s ...`?"],Hc0=l4,Qc0="Peeking current location when not available",Zc0=[0,"src/parser/parser_env.ml",351,9],xs0="Internal Error: Tried to add_declared_private with outside of class scope.",rs0="Internal Error: `exit_class` called before a matching `enter_class`",es0=H0,ts0=[0,0,0],ns0=[0,0,0],us0="Parser_env.Try.Rollback",is0=H0,fs0=H0,cs0=[0,M1,Xu,Hi,uF,TF,gf,L1,oi,jc,Mu,A7,On,lc,ju,Hu,h7,n7,N7,If,Nf,si,d7,bn,Zu,bc,e7,gc,xi,Af,ii,Pn,En,Jf,nu,fu,Gi,Ac,je,cf,ai,kc,xf,df,P7,au,Pe,Li,x7,Ai,Ei,oc,a7,Pu,ec,Se,Gn,o7,Pi,Z7,ku,z7,tc,Ie,G7,rc,_f,eu,Sc,Tf,M7,Rf,Wf,lu,di,Wn,Jn,yu,S7,i7,ac,xc,y7,ou,dc,$t,af,Iu,Rn,Lf,D7,$u,Bf,Ju,nf,Ku,Ln,_c,Ki,Tc,ji,q7,jf,yf,ki,s7,tf,T7,pc,Tu,mc,yc,Xn,Du,nc,mu,Vu,Bn,Er,Fi,X7,_n,v7,li,Tn,du,m7,Uf,Oi,Cf,Df,An,F7,qn,l7,zu,wc,Bu,ru,rf,Fn,Yf,vc,Au,gi,dn,H7,L7,Oc,K7,bi,wf,Nn,Lu,W1,c7,Ef,V7,$i,Kn,bu,B7,ti,R1,t7,Un,r7,dt,su,W7,ni,Q7,Si,Ec,ui,gn,Qi,Uu,kf,Ru,Fu,p7,wn,Zn,zf,yn,O7,Xf,Ou,Y7,iu,hu,mi,U7,I7,ef,hf,zn,w7,In,Cu,ri,V2,_7,Sf,Vn,ff,jn,Hn,Xi,gu,vu,Hf,fc,qi,yi,pu,Mn,uu,Ri,zi,Cn,hi,ie,vi,sc,sf,Kf,Vi,Wi,qf,wu,mf,Qn,_i,uc,Zi,_u,we,_e,Ci,Zf,Gf,Sn,Of,Ji,Qu,ic,Mi,Nu,b7,Pc,Yn,J7,Ii,Ff,sL,Gu,nM,$R,fi,Ui,ei,cu,E7,Ic,Di,wi,tu,g7,Yi,Dn,cc,Nc,Wu,u7,Pf,Bi,C7,f7,Ee,Qf,Eu,Bt,pf,Ti,k7,Vf,xu,pi,j7,Su,vf,$n,Yu,lf,uf],ss0=[0,M1,Xu,Hi,gf,L1,oi,jc,Mu,A7,On,lc,ju,Hu,h7,n7,N7,If,Nf,si,d7,bn,Zu,bc,e7,gc,xi,Af,ii,Pn,En,Jf,nu,fu,Gi,Ac,je,cf,ai,kc,xf,df,P7,au,Pe,Li,x7,Ai,Ei,oc,a7,Pu,ec,Se,Gn,o7,Pi,Z7,ku,z7,tc,Ie,G7,rc,_f,eu,Sc,Tf,M7,Rf,Wf,lu,di,Wn,Jn,yu,S7,i7,ac,xc,y7,ou,dc,$t,af,Iu,Rn,Lf,D7,$u,Bf,Ju,nf,Ku,Ln,_c,Ki,Tc,ji,q7,jf,yf,ki,s7,tf,T7,pc,Tu,mc,yc,Xn,Du,nc,mu,Vu,Bn,Er,Fi,X7,_n,v7,li,Tn,du,m7,Uf,Oi,Cf,Df,An,F7,qn,l7,zu,wc,Bu,ru,rf,Fn,Yf,vc,Au,gi,dn,H7,L7,Oc,K7,bi,wf,Nn,Lu,W1,c7,Ef,V7,$i,Kn,bu,B7,ti,R1,t7,Un,r7,dt,su,W7,ni,Q7,Si,Ec,ui,gn,Qi,Uu,kf,Ru,Fu,p7,wn,Zn,zf,yn,O7,Xf,Ou,Y7,iu,hu,mi,U7,I7,ef,hf,zn,w7,In,Cu,ri,V2,_7,Sf,Vn,ff,jn,Hn,Xi,gu,vu,Hf,fc,qi,yi,pu,Mn,uu,Ri,zi,Cn,hi,ie,vi,sc,sf,Kf,Vi,Wi,qf,wu,mf,Qn,_i,uc,Zi,_u,we,_e,Ci,Zf,Gf,Sn,Of,Ji,Qu,ic,Mi,Nu,b7,Pc,Yn,J7,Ii,Ff,Gu,fi,Ui,ei,cu,E7,Ic,Di,wi,tu,g7,Yi,Dn,cc,Nc,Wu,u7,Pf,Bi,C7,f7,Ee,Qf,Eu,Bt,pf,Ti,k7,Vf,xu,pi,j7,Su,vf,$n,Yu,lf,uf],as0=[0,oc,dn,Ru,su,gn,f7,mc,jf,zu,Nn,Eu,gc,Bf,Pe,D7,Sf,Yi,fu,Ki,Yf,Xn,c7,Au,Ri,yi,Xu,i7,Q7,iu,Jn,Uf,Vi,ic,ni,uu,mu,dt,gf,hf,Wf,mf,Bi,Fu,Pf,rf,gu,G7,Ec,hu,au,ki,Un,Ai,$i,zi,m7,nc,wi,Ui,af,uf,Sc,Yn,Zu,q7,_f,F7,E7,Ju,Ie,_c,Qi,Iu,Vu,wc,Fn,W7,v7,Zf,Af,fc,qn,li,kf,Rf,$n,qf,Hn,Fi,Z7,dc,Yu,hi,C7,ec,L1,rc,uc,N7,o7,t7,k7,Y7,Ac,Oc,g7,T7,P7,ie,I7,xi,M1,Tn,Gi,_i,Tf,ju,y7,Zi,ku,Vf,lc,fi,Qn,Tu,Mu,vc,j7,En,wf,pu,In,$u,Vn,du,xc,zn,Nf,Pn,J7,oi,Jf,a7,If,x7,On,Ic,Ef,mi,ei,_n,Uu,Ii,A7,Gu,pc,Cf,Mi,xu,X7,Nc,tu,b7,ac,Df,Pc,Er,R1,Se,n7,si,Li,S7,je,we,yc,r7,Lf,ri,gi,$t,Qf,zf,Mn,V7,cu,_7,p7,H7,ui,h7,qi,tc,Xf,B7,Hf,jn,Of,tf,Pu,yf,Kn,Ku,di,ii,ji,eu,Ln,d7,Wi,Wu,wu,pf,K7,df,Cn,nu,Si,z7,ti,Tc,cc,s7,ru,Di,Lu,vi,e7,lf,jc,sc,u7,bc,sf,Bu,L7,Gf,Oi,Wn,Du,bi,w7,An,bn,kc,pi,Ji,yu,Su,Ti,V2,ou,Ff,Cu,yn,O7,Ei,_e,wn,Nu,M7,Xi,Kf,ai,xf,Ou,ff,Hu,U7,Rn,Bt,bu,Dn,l7,nf,Zn,_u,Gn,vu,Ee,vf,W1,Ci,Hi,Qu,Pi,ef,Sn,lu,cf,Bn],os0=[0,oc,dn,Ru,su,gn,f7,mc,jf,zu,Nn,Eu,gc,Bf,Pe,D7,Sf,Yi,fu,Ki,Yf,Xn,c7,Au,Ri,yi,Xu,i7,Q7,iu,Jn,Uf,Vi,ic,ni,uu,mu,dt,gf,TF,hf,Wf,mf,Bi,Fu,Pf,rf,gu,G7,Ec,hu,au,ki,Un,Ai,$i,zi,m7,nc,wi,Ui,af,uf,Sc,Yn,nM,Zu,q7,_f,F7,E7,Ju,Ie,_c,Qi,Iu,Vu,wc,Fn,W7,v7,Zf,Af,fc,qn,li,kf,Rf,$n,qf,Hn,Fi,Z7,dc,Yu,hi,C7,ec,L1,rc,uc,N7,o7,t7,k7,Y7,Ac,Oc,g7,T7,P7,ie,I7,xi,M1,Tn,Gi,_i,Tf,ju,y7,Zi,ku,Vf,lc,fi,Qn,Tu,Mu,vc,j7,En,wf,pu,In,$u,Vn,du,xc,zn,Nf,Pn,J7,oi,Jf,a7,If,x7,On,Ic,Ef,mi,ei,_n,Uu,Ii,A7,Gu,pc,Cf,Mi,xu,X7,Nc,tu,b7,ac,Df,Pc,Er,R1,Se,n7,si,Li,S7,je,we,yc,r7,Lf,ri,gi,$t,Qf,zf,Mn,V7,cu,_7,p7,H7,ui,h7,qi,tc,Xf,B7,Hf,jn,Of,tf,Pu,yf,Kn,Ku,di,ii,ji,eu,Ln,d7,Wi,Wu,wu,pf,K7,$R,df,Cn,nu,Si,z7,ti,Tc,cc,s7,ru,Di,Lu,vi,e7,sL,lf,jc,sc,u7,bc,uF,sf,Bu,L7,Gf,Oi,Wn,Du,bi,w7,An,bn,kc,pi,Ji,yu,Su,Ti,V2,ou,Ff,Cu,yn,O7,Ei,_e,wn,Nu,M7,Xi,Kf,ai,xf,Ou,ff,Hu,U7,Rn,Bt,bu,Dn,l7,nf,Zn,_u,Gn,vu,Ee,vf,W1,Ci,Hi,Qu,Pi,ef,Sn,lu,cf,Bn],vs0=pv,ls0=ik,ps0=aa,ks0=G3,ms0=Se,hs0=Pe,ds0=uo,ys0=je,gs0=lm,_s0=al,bs0=Y4,ws0=y4,Ts0=ul,Es0=mv,Ss0=oo,As0=ls,Is0=as,js0=Ee,Ps0=$4,Ns0=x8,Os0=_e,Cs0=io,Ds0=xm,Rs0=F4,Fs0=Sk,Ls0=K3,Ms0=hc,Us0=Ae,qs0=B4,Bs0=no,Xs0=nl,Js0=ss,Ks0=ps,Ys0=sl,zs0=ok,Vs0=R1,Gs0=jv,Ws0=lo,$s0=W1,Hs0=ek,Qs0=_l,Zs0=z3,xa0=U3,ra0=M1,ea0=we,ta0=H3,na0=qu,ua0=q9,ia0=$9,fa0=oa,ca0=_o,sa0=p8,aa0=h4,oa0=ie,va0=yv,la0=vo,pa0=Rv,ka0=ps,ma0=ox,ha0=F8,da0=Mk,ya0=cm,ga0=Lk,_a0=ko,ba0=ll,wa0=hv,Ta0=ov,Ea0=$3,Sa0=C8,Aa0=[0,l4],Ia0=H0,ja0=[0,1],Pa0=[0,_v,1429,6],Na0=[0,_v,1432,6],Oa0=[0,_v,1535,8],Ca0=[0,1],Da0=[0,_v,mR,8],Ra0="Can not have both `static` and `proto`",Fa0=Ae,La0=Fj,Ma0=[0,0,0,0],Ua0=[0,0],qa0=[0,[0,0,0,0,0]],Ba0="You should only call render_type after making sure the next token is a renders variant",Xa0=[0,"the end of a tuple type (no trailing comma is allowed in inexact tuple type)."],Ja0=ll,Ka0=hv,Ya0=ov,za0=[0,"a number literal type"],Va0=[0,0],Ga0=ta,Wa0=[0,0],$a0=[0,"a type"],Ha0=[0,0],Qa0=[0,0],Za0=[17,1],xo0=[17,0],ro0=[0,_v,m_,15],eo0=[0,_v,cI,15],to0=rt,no0=rt,uo0=M8,io0=pl,fo0=[0,[11,"Failure while looking up ",[2,0,[11,". Index: ",[4,0,0,0,[11,". Length: ",[4,0,0,0,[12,46,0]]]]]]],"Failure while looking up %s. Index: %d. Length: %d."],co0=[0,0,0,0],so0="Offset_utils.Offset_lookup_failed",ao0=l2,oo0=OF,vo0=pl,lo0=M8,po0=SL,ko0=pl,mo0=M8,ho0=N5,do0=PE,yo0="normal",go0=qu,_o0="jsxTag",bo0="jsxChild",wo0="template",To0=eL,Eo0="context",So0=qu,Ao0=[6,0],Io0=[0,0],jo0=[0,1],Po0=[0,4],No0=[0,2],Oo0=[0,3],Co0=[0,0],Do0=rt,Ro0=[0,0,0,0,0,0],Fo0=[0,1],Lo0=[0,$y,1773,21],Mo0=[0,"a declaration, statement or export specifiers"],Uo0=[0,81],qo0=fl,Bo0=[0,H0,H0,0],Xo0=[0,QD],Jo0="exports",Ko0=Jw,Yo0=sM,zo0=[0,81],Vo0=ta,Go0=[0,70],Wo0=[0,0],$o0=[0,1],Ho0=[0,"the keyword `as`"],Qo0=[0,30],Zo0=[0,30],xv0=[0,0],rv0=[0,1],ev0=[0,QD],tv0=[0,"the keyword `from`"],nv0=[0,H0,H0,0],uv0=[0,VL],iv0="Label",fv0=[0,VL],cv0=[0,0,0],sv0=[0,40],av0=[0,$y,371,22],ov0=[0,39],vv0=[0,$y,390,22],lv0=[0,0],pv0="the token `;`",kv0=[0,0],mv0=[0,0],hv0=CR,dv0=[0,l4],yv0=CR,gv0=[24,dt],_v0=ta,bv0=[0,70],wv0=[0,H0,0],Tv0=Jt,Ev0=[0,70],Sv0=[0,70],Av0=pv,Iv0=[0,H0,0],jv0=[0,0,0],Pv0=[0,0,0],Nv0=[0,78],Ov0=G1,Cv0=G1,Dv0=[0,"a regular expression"],Rv0=H0,Fv0=H0,Lv0=H0,Mv0=[0,"src/parser/expression_parser.ml",1365,17],Uv0=[0,"a template literal part"],qv0=[0,[0,H0,H0],1],Bv0=[0,0],Xv0=X3,Jv0=NR,Kv0=iw,Yv0=iw,zv0=PF,Vv0=[0,70],Gv0=[0,1],Wv0=[0,1],$v0=[0,1],Hv0=[0,1],Qv0=[0,1],Zv0=Sv,x30=no,r30=[0,"the identifier `target`"],e30=[0,0],t30=R1,n30=ml,u30=ml,i30=jv,f30=[0,"either a call or access of `super`"],c30=jv,s30=[0,1],a30=[0,0],o30=[0,1],v30=[0,0],l30=[0,1],p30=[0,0],k30=[0,2],m30=[0,3],h30=[0,7],d30=[0,6],y30=[0,4],g30=[0,5],_30=[0,6],b30=[0,[0,17,[0,2]]],w30=[0,[0,18,[0,3]]],T30=[0,[0,19,[0,4]]],E30=[0,[0,0,[0,5]]],S30=[0,[0,1,[0,5]]],A30=[0,[0,2,[0,5]]],I30=[0,[0,3,[0,5]]],j30=[0,[0,5,[0,6]]],P30=[0,[0,7,[0,6]]],N30=[0,[0,4,[0,6]]],O30=[0,[0,6,[0,6]]],C30=[0,[0,8,[0,7]]],D30=[0,[0,9,[0,7]]],R30=[0,[0,10,[0,7]]],F30=[0,[0,11,[0,8]]],L30=[0,[0,12,[0,8]]],M30=[0,[0,15,[0,9]]],U30=[0,[0,13,[0,9]]],q30=[0,[0,14,[1,10]]],B30=[0,[0,16,[0,9]]],X30=[0,[0,21,[0,6]]],J30=[0,[0,20,[0,6]]],K30=[20,h5],Y30=[0,[0,8]],z30=[0,[0,7]],V30=[0,[0,6]],G30=[0,[0,10]],W30=[0,[0,9]],$30=[0,[0,11]],H30=[0,[0,5]],Q30=[0,[0,4]],Z30=[0,[0,2]],xl0=[0,[0,3]],rl0=[0,[0,1]],el0=[0,[0,0]],tl0=[0,[0,12]],nl0=[0,[0,13]],ul0=[0,[0,14]],il0=[0,0],fl0=Ao,cl0=Mf,sl0=[13,"JSX fragment"],al0=[0,Ut],ol0=[1,Ut],vl0=[0,H0,H0,0],ll0=[0,l4],pl0=H0,kl0=K3,ml0=[0,H0,0],hl0="unexpected PrivateName in Property, expected a PrivateField",dl0=[0,0,0],yl0=sa,gl0="Must be one of the above",_l0=[0,1],bl0=[0,1],wl0=[0,1],Tl0=sa,El0=sa,Sl0=qg,Al0="Internal Error: private name found in object props",Il0=[0,BF],jl0=[19,[0,0]],Pl0=[0,BF],Nl0=[0,0,0,0],Ol0=_b,Cl0="Nooo: ",Dl0=io,Rl0="Parser error: No such thing as an expression pattern!",Fl0=[0,[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]],Ll0=[0,"src/parser/parser_flow.ml",v8,28],Ml0=[0,[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]],Ul0=OF,ql0=PE,Bl0=vF,Xl0=qL,Jl0=qL,Kl0=vF,Yl0=qu,zl0=zD,Vl0=P2,Gl0=l2,Wl0="InterpreterDirective",$l0="interpreter",Hl0="Program",Ql0=gl,Zl0="BreakStatement",x60=gl,r60="ContinueStatement",e60="DebuggerStatement",t60=Io,n60="DeclareExportAllDeclaration",u60=Io,i60=j_,f60=GI,c60=io,s60="DeclareExportDeclaration",a60=P2,o60=Hr,v60="DeclareModule",l60=Y2,p60="DeclareModuleExports",k60=P2,m60=Hr,h60="DeclareNamespace",d60=bv,y60=P2,g60="DoWhileStatement",_60="EmptyStatement",b60=K9,w60=GI,T60="ExportDefaultDeclaration",E60=K9,S60=Ob,A60=Io,I60="ExportAllDeclaration",j60=K9,P60=Io,N60=j_,O60=GI,C60="ExportNamedDeclaration",D60="directive",R60=V2,F60="ExpressionStatement",L60=P2,M60="update",U60=bv,q60=$7,B60="ForStatement",X60="each",J60=P2,K60=Gt,Y60=os,z60="ForInStatement",V60=_o,G60=P2,W60=Gt,$60=os,H60="ForOfStatement",Q60=aM,Z60=fI,xp0=bv,rp0="IfStatement",ep0=qu,tp0=ss,np0=l2,up0=ER,ip0=Io,fp0=j_,cp0="ImportDeclaration",sp0=P2,ap0=gl,op0="LabeledStatement",vp0=ne,lp0="ReturnStatement",pp0="cases",kp0="discriminant",mp0="SwitchStatement",hp0=ne,dp0="ThrowStatement",yp0="finalizer",gp0="handler",_p0=Bt,bp0="TryStatement",wp0=P2,Tp0=bv,Ep0="WhileStatement",Sp0=P2,Ap0=nb,Ip0="WithStatement",jp0=AF,Pp0="ArrayExpression",Np0=F1,Op0=O8,Cp0=V2,Dp0=Ie,Rp0=GT,Fp0=oa,Lp0=P2,Mp0=Kt,Up0=Hr,qp0="ArrowFunctionExpression",Bp0=V2,Xp0="AsConstExpression",Jp0=Y2,Kp0=V2,Yp0="AsExpression",zp0=qg,Vp0=Gt,Gp0=os,Wp0=Iv,$p0="AssignmentExpression",Hp0=Gt,Qp0=os,Zp0=Iv,x40="BinaryExpression",r40="CallExpression",e40=aM,t40=fI,n40=bv,u40="ConditionalExpression",i40=Io,f40="ImportExpression",c40=lF,s40=fU,a40=h5,o40=Gt,v40=os,l40=Iv,p40="LogicalExpression",k40="MemberExpression",m40=BA,h40=ml,d40="MetaProperty",y40=bA,g40=A4,_40=BM,b40="NewExpression",w40=g5,T40="ObjectExpression",E40=xt,S40="OptionalCallExpression",A40=xt,I40="OptionalMemberExpression",j40=jM,P40="SequenceExpression",N40="Super",O40="ThisExpression",C40=Y2,D40=V2,R40="TypeCastExpression",F40=Y2,L40=V2,M40="SatisfiesExpression",U40=ne,q40="AwaitExpression",B40=rt,X40=ys,J40=MR,K40=uM,Y40=ss,z40=ps,V40=nl,G40="matched above",W40=ne,$40=xR,H40=Iv,Q40="UnaryExpression",Z40=EF,xk0=CM,rk0=xR,ek0=ne,tk0=Iv,nk0="UpdateExpression",uk0="delegate",ik0=ne,fk0="YieldExpression",ck0="Unexpected FunctionDeclaration with BodyExpression",sk0="HookDeclaration",ak0=V2,ok0=Ie,vk0=GT,lk0=oa,pk0="FunctionDeclaration",kk0=F1,mk0=O8,hk0=P2,dk0=Kt,yk0=Hr,gk0="Unexpected FunctionExpression with BodyExpression",_k0=F1,bk0=O8,wk0=V2,Tk0=Ie,Ek0=GT,Sk0=oa,Ak0=P2,Ik0=Kt,jk0=Hr,Pk0="FunctionExpression",Nk0=xt,Ok0=Y2,Ck0=Te,Dk0=jE,Rk0=xt,Fk0=Y2,Lk0=Te,Mk0="PrivateIdentifier",Uk0=xt,qk0=Y2,Bk0=Te,Xk0=jE,Jk0=fI,Kk0=bv,Yk0="SwitchCase",zk0=P2,Vk0="param",Gk0="CatchClause",Wk0=P2,$k0="BlockStatement",Hk0=ca,Qk0=Hr,Zk0="DeclareVariable",x80="DeclareHook",r80=Ie,e80="DeclareFunction",t80=Hr,n80=pF,u80=lo,i80=hc,f80=P2,c80=F1,s80=Hr,a80="DeclareClass",o80=F1,v80=Wg,l80=Kt,p80=g_,k80=Kt,m80=Hr,h80="DeclareComponent",d80=F1,y80=Wg,g80=g_,_80=Kt,b80="ComponentTypeAnnotation",w80=xt,T80=Y2,E80=Te,S80="ComponentTypeParameter",A80=P2,I80=Hr,j80="DeclareEnum",P80=hc,N80=P2,O80=F1,C80=Hr,D80="DeclareInterface",R80=l2,F80=qu,L80=Ob,M80="ExportNamespaceSpecifier",U80=Gt,q80=F1,B80=Hr,X80="DeclareTypeAlias",J80=Gt,K80=F1,Y80=Hr,z80="TypeAlias",V80="DeclareOpaqueType",G80="OpaqueType",W80="supertype",$80="impltype",H80=F1,Q80=Hr,Z80="ClassDeclaration",xm0="ClassExpression",rm0=km,em0=lo,tm0="superTypeParameters",nm0="superClass",um0=F1,im0=P2,fm0=Hr,cm0=V2,sm0="Decorator",am0=F1,om0=Hr,vm0="ClassImplements",lm0=P2,pm0="ClassBody",km0=ho,mm0=Z3,hm0=bo,dm0=Dv,ym0=km,gm0=Nv,_m0=Ae,bm0=ca,wm0=l2,Tm0=co,Em0="MethodDefinition",Sm0=H3,Am0=km,Im0=L1,jm0=Ae,Pm0=Nv,Nm0=Y2,Om0=l2,Cm0=co,Dm0=fF,Rm0="Internal Error: Private name found in class prop",Fm0=H3,Lm0=km,Mm0=L1,Um0=Ae,qm0=Nv,Bm0=Y2,Xm0=l2,Jm0=co,Km0=fF,Ym0=F1,zm0=Wg,Vm0=Kt,Gm0=Hr,Wm0=P2,$m0="ComponentDeclaration",Hm0=ne,Qm0=j5,Zm0=Gt,xh0=os,rh0=M4,eh0=jw,th0=cl,nh0=Te,uh0="ComponentParameter",ih0=$7,fh0=Hr,ch0="EnumBigIntMember",sh0=Hr,ah0=uR,oh0=$7,vh0=Hr,lh0="EnumStringMember",ph0=Hr,kh0=uR,mh0=$7,hh0=Hr,dh0="EnumNumberMember",yh0=$7,gh0=Hr,_h0="EnumBooleanMember",bh0=V3,wh0=jm,Th0=Q3,Eh0="EnumBooleanBody",Sh0=V3,Ah0=jm,Ih0=Q3,jh0="EnumNumberBody",Ph0=V3,Nh0=jm,Oh0=Q3,Ch0="EnumStringBody",Dh0=V3,Rh0=Q3,Fh0="EnumSymbolBody",Lh0=V3,Mh0=jm,Uh0=Q3,qh0="EnumBigIntBody",Bh0=P2,Xh0=Hr,Jh0="EnumDeclaration",Kh0=hc,Yh0=P2,zh0=F1,Vh0=Hr,Gh0="InterfaceDeclaration",Wh0=F1,$h0=Hr,Hh0="InterfaceExtends",Qh0=Y2,Zh0=g5,xd0="ObjectPattern",rd0=Y2,ed0=AF,td0="ArrayPattern",nd0=Gt,ud0=os,id0=M4,fd0=Y2,cd0=Te,sd0=jE,ad0=ne,od0=j5,vd0=ne,ld0=j5,pd0=Gt,kd0=os,md0=M4,hd0=$7,dd0=$7,yd0=bo,gd0=Dv,_d0=ZL,bd0=Nv,wd0=jw,Td0=Z3,Ed0=ca,Sd0=l2,Ad0=co,Id0=kL,jd0=ne,Pd0=fM,Nd0=Gt,Od0=os,Cd0=M4,Dd0=Nv,Rd0=jw,Fd0=Z3,Ld0=ca,Md0=l2,Ud0=co,qd0=kL,Bd0=ne,Xd0=fM,Jd0=bt,Kd0=l2,Yd0=lv,zd0=H0,Vd0=bt,Gd0=vo,Wd0=l2,$d0=lv,Hd0=bt,Qd0=l2,Zd0=lv,x50=as,r50=ls,e50=bt,t50=l2,n50=lv,u50="flags",i50=$t,f50="regex",c50=bt,s50=l2,a50=lv,o50=bt,v50=l2,l50=lv,p50=jM,k50="quasis",m50="TemplateLiteral",h50="cooked",d50=bt,y50="tail",g50=l2,_50="TemplateElement",b50="quasi",w50="tag",T50="TaggedTemplateExpression",E50=al,S50=mv,A50=ul,I50=ca,j50="declarations",P50="VariableDeclaration",N50=$7,O50=Hr,C50="VariableDeclarator",D50="plus",R50=OR,F50=ko,L50=aa,M50=Sg,U50="in-out",q50=ca,B50="Variance",X50="AnyTypeAnnotation",J50="MixedTypeAnnotation",K50="EmptyTypeAnnotation",Y50="VoidTypeAnnotation",z50="NullLiteralTypeAnnotation",V50="SymbolTypeAnnotation",G50="NumberTypeAnnotation",W50="BigIntTypeAnnotation",$50="StringTypeAnnotation",H50="BooleanTypeAnnotation",Q50=Y2,Z50="NullableTypeAnnotation",xy0="UnknownTypeAnnotation",ry0="NeverTypeAnnotation",ey0="UndefinedTypeAnnotation",ty0=ca,ny0=Y2,uy0="parameterName",iy0="TypePredicate",fy0="HookTypeAnnotation",cy0="FunctionTypeAnnotation",sy0=uo,ay0=F1,oy0=g_,vy0=O8,ly0=Kt,py0=xt,ky0=Y2,my0=Te,hy0=RR,dy0=xt,yy0=Y2,gy0=Te,_y0=RR,by0=[0,0,0,0,0],wy0="internalSlots",Ty0="callProperties",Ey0="indexers",Sy0=g5,Ay0="exact",Iy0=wR,jy0="ObjectTypeAnnotation",Py0=ZL,Ny0="There should not be computed object type property keys",Oy0=$7,Cy0=bo,Dy0=Dv,Ry0=ca,Fy0=L1,Ly0=Fj,My0=Ae,Uy0=xt,qy0=Z3,By0=l2,Xy0=co,Jy0="ObjectTypeProperty",Ky0=ne,Yy0="ObjectTypeSpreadProperty",zy0=L1,Vy0=Ae,Gy0=l2,Wy0=co,$y0=Hr,Hy0="ObjectTypeIndexer",Qy0=Ae,Zy0=l2,x90="ObjectTypeCallProperty",r90=xt,e90=L1,t90="sourceType",n90="propType",u90="keyTparam",i90="ObjectTypeMappedTypeProperty",f90=l2,c90=Z3,s90=Ae,a90=xt,o90=Hr,v90="ObjectTypeInternalSlot",l90=P2,p90=hc,k90="InterfaceTypeAnnotation",m90=XF,h90="ArrayTypeAnnotation",d90="falseType",y90="trueType",g90="extendsType",_90="checkType",b90="ConditionalTypeAnnotation",w90="typeParameter",T90="InferTypeAnnotation",E90=Hr,S90=RM,A90="QualifiedTypeIdentifier",I90=F1,j90=Hr,P90="GenericTypeAnnotation",N90="indexType",O90="objectType",C90="IndexedAccessType",D90=xt,R90="OptionalIndexedAccessType",F90=pE,L90="UnionTypeAnnotation",M90=pE,U90="IntersectionTypeAnnotation",q90=A4,B90=ne,X90="TypeofTypeAnnotation",J90=Hr,K90=RM,Y90="QualifiedTypeofIdentifier",z90=ne,V90="KeyofTypeAnnotation",G90=dr,W90=NL,$90=xF,H90=Y2,Q90=Iv,Z90="TypeOperator",xg0=ko,rg0=wR,eg0="elementTypes",tg0="TupleTypeAnnotation",ng0=xt,ug0=L1,ig0=XF,fg0=gl,cg0="TupleTypeLabeledElement",sg0=Y2,ag0=gl,og0="TupleTypeSpreadElement",vg0=bt,lg0=l2,pg0="StringLiteralTypeAnnotation",kg0=bt,mg0=l2,hg0="NumberLiteralTypeAnnotation",dg0=bt,yg0=l2,gg0="BigIntLiteralTypeAnnotation",_g0=as,bg0=ls,wg0=bt,Tg0=l2,Eg0="BooleanLiteralTypeAnnotation",Sg0="ExistsTypeAnnotation",Ag0=Y2,Ig0=pR,jg0=Y2,Pg0=pR,Ng0=Kt,Og0="TypeParameterDeclaration",Cg0="usesExtendsBound",Dg0=io,Rg0=L1,Fg0="bound",Lg0=Te,Mg0="TypeParameter",Ug0=Kt,qg0=oR,Bg0=Kt,Xg0=oR,Jg0=Sv,Kg0=tM,Yg0="closingElement",zg0="openingElement",Vg0="JSXElement",Gg0="closingFragment",Wg0=tM,$g0="openingFragment",Hg0="JSXFragment",Qg0=A4,Zg0="selfClosing",x_0="attributes",r_0=Te,e_0="JSXOpeningElement",t_0="JSXOpeningFragment",n_0=Te,u_0="JSXClosingElement",i_0="JSXClosingFragment",f_0=l2,c_0=Te,s_0="JSXAttribute",a_0=ne,o_0="JSXSpreadAttribute",v_0="JSXEmptyExpression",l_0=V2,p_0="JSXExpressionContainer",k_0=V2,m_0="JSXSpreadChild",h_0=bt,d_0=l2,y_0="JSXText",g_0=BA,__0=nb,b_0="JSXMemberExpression",w_0=Te,T_0=Jw,E_0="JSXNamespacedName",S_0=Te,A_0="JSXIdentifier",I_0=Ob,j_0=cl,P_0="ExportSpecifier",N_0=cl,O_0="ImportDefaultSpecifier",C_0=cl,D_0="ImportNamespaceSpecifier",R_0=ER,F_0=cl,L_0="imported",M_0="ImportSpecifier",U_0="Line",q_0="Block",B_0=l2,X_0=l2,J_0="DeclaredPredicate",K_0="InferredPredicate",Y_0=bA,z_0=A4,V_0=BM,G_0=Nv,W_0=BA,$_0=nb,H_0="message",Q_0=PE,Z_0=SL,xb0=N5,rb0=Io,eb0=pl,tb0=M8,nb0=[0,M1,Xu,Hi,gf,L1,oi,jc,Mu,A7,On,lc,ju,Hu,h7,n7,N7,If,Nf,si,d7,bn,Zu,bc,e7,gc,xi,Af,ii,Pn,En,Jf,nu,fu,Gi,Ac,je,cf,ai,kc,xf,df,P7,au,Pe,Li,x7,Ai,Ei,oc,a7,Pu,ec,Se,Gn,o7,Pi,Z7,ku,z7,tc,Ie,G7,rc,_f,eu,Sc,Tf,M7,Rf,Wf,lu,di,Wn,Jn,yu,S7,i7,ac,xc,y7,ou,dc,$t,af,Iu,Rn,Lf,D7,$u,Bf,Ju,nf,Ku,Ln,_c,Ki,Tc,ji,q7,jf,yf,ki,s7,tf,T7,pc,Tu,mc,yc,Xn,Du,nc,mu,Vu,Bn,Er,Fi,X7,_n,v7,li,Tn,du,m7,Uf,Oi,Cf,Df,An,F7,qn,l7,zu,wc,Bu,ru,rf,Fn,Yf,vc,Au,gi,dn,H7,L7,Oc,K7,bi,wf,Nn,Lu,W1,c7,Ef,V7,$i,Kn,bu,B7,ti,R1,t7,Un,r7,dt,su,W7,ni,Q7,Si,Ec,ui,gn,Qi,Uu,kf,Ru,Fu,p7,wn,Zn,zf,yn,O7,Xf,Ou,Y7,iu,hu,mi,U7,I7,ef,hf,zn,w7,In,Cu,ri,V2,_7,Sf,Vn,ff,jn,Hn,Xi,gu,vu,Hf,fc,qi,yi,pu,Mn,uu,Ri,zi,Cn,hi,ie,vi,sc,sf,Kf,Vi,Wi,qf,wu,mf,Qn,_i,uc,Zi,_u,we,_e,Ci,Zf,Gf,Sn,Of,Ji,Qu,ic,Mi,Nu,b7,Pc,Yn,J7,Ii,Ff,Gu,fi,Ui,ei,cu,E7,Ic,Di,wi,tu,g7,Yi,Dn,cc,Nc,Wu,u7,Pf,Bi,C7,f7,Ee,Qf,Eu,Bt,pf,Ti,k7,Vf,xu,pi,j7,Su,vf,$n,Yu,lf,uf],ub0=[0,oc,dn,Ru,su,gn,f7,mc,jf,zu,Nn,Eu,gc,Bf,Pe,D7,Sf,Yi,fu,Ki,Yf,Xn,c7,Au,Ri,yi,Xu,i7,Q7,iu,Jn,Uf,Vi,ic,ni,uu,mu,dt,gf,hf,Wf,mf,Bi,Fu,Pf,rf,gu,G7,Ec,hu,au,ki,Un,Ai,$i,zi,m7,nc,wi,Ui,af,uf,Sc,Yn,Zu,q7,_f,F7,E7,Ju,Ie,_c,Qi,Iu,Vu,wc,Fn,W7,v7,Zf,Af,fc,qn,li,kf,Rf,$n,qf,Hn,Fi,Z7,dc,Yu,hi,C7,ec,L1,rc,uc,N7,o7,t7,k7,Y7,Ac,Oc,g7,T7,P7,ie,I7,xi,M1,Tn,Gi,_i,Tf,ju,y7,Zi,ku,Vf,lc,fi,Qn,Tu,Mu,vc,j7,En,wf,pu,In,$u,Vn,du,xc,zn,Nf,Pn,J7,oi,Jf,a7,If,x7,On,Ic,Ef,mi,ei,_n,Uu,Ii,A7,Gu,pc,Cf,Mi,xu,X7,Nc,tu,b7,ac,Df,Pc,Er,R1,Se,n7,si,Li,S7,je,we,yc,r7,Lf,ri,gi,$t,Qf,zf,Mn,V7,cu,_7,p7,H7,ui,h7,qi,tc,Xf,B7,Hf,jn,Of,tf,Pu,yf,Kn,Ku,di,ii,ji,eu,Ln,d7,Wi,Wu,wu,pf,K7,df,Cn,nu,Si,z7,ti,Tc,cc,s7,ru,Di,Lu,vi,e7,lf,jc,sc,u7,bc,sf,Bu,L7,Gf,Oi,Wn,Du,bi,w7,An,bn,kc,pi,Ji,yu,Su,Ti,V2,ou,Ff,Cu,yn,O7,Ei,_e,wn,Nu,M7,Xi,Kf,ai,xf,Ou,ff,Hu,U7,Rn,Bt,bu,Dn,l7,nf,Zn,_u,Gn,vu,Ee,vf,W1,Ci,Hi,Qu,Pi,ef,Sn,lu,cf,Bn],ib0=[0,uf,lf,Yu,$n,vf,Su,j7,pi,xu,Vf,k7,Ti,pf,Bt,Eu,Qf,Ee,f7,C7,Bi,Pf,u7,Wu,Nc,cc,Dn,Yi,g7,tu,wi,Di,Ic,E7,cu,ei,Ui,fi,Gu,Ff,Ii,J7,Yn,Pc,b7,Nu,Mi,ic,Qu,Ji,Of,Sn,Gf,Zf,Ci,_e,we,_u,Zi,uc,_i,Qn,mf,wu,qf,Wi,Vi,Kf,sf,sc,vi,ie,hi,Cn,zi,Ri,uu,Mn,pu,yi,qi,fc,Hf,vu,gu,Xi,Hn,jn,ff,Vn,Sf,_7,V2,ri,Cu,In,w7,zn,hf,ef,I7,U7,mi,hu,iu,Y7,Ou,Xf,O7,yn,zf,Zn,wn,p7,Fu,Ru,kf,Uu,Qi,gn,ui,Ec,Si,Q7,ni,W7,su,dt,r7,Un,t7,R1,ti,B7,bu,Kn,$i,V7,Ef,c7,W1,Lu,Nn,wf,bi,K7,Oc,L7,H7,dn,gi,Au,vc,Yf,Fn,rf,ru,Bu,wc,zu,l7,qn,F7,An,Df,Cf,Oi,Uf,m7,du,Tn,li,v7,_n,X7,Fi,Er,Bn,Vu,mu,nc,Du,Xn,yc,mc,Tu,pc,T7,tf,s7,ki,yf,jf,q7,ji,Tc,Ki,_c,Ln,Ku,nf,Ju,Bf,$u,D7,Lf,Rn,Iu,af,$t,dc,ou,y7,xc,ac,i7,S7,yu,Jn,Wn,di,lu,Wf,Rf,M7,Tf,Sc,eu,_f,rc,G7,Ie,tc,z7,ku,Z7,Pi,o7,Gn,Se,ec,Pu,a7,oc,Ei,Ai,x7,Li,Pe,au,P7,df,xf,kc,ai,cf,je,Ac,Gi,fu,nu,Jf,En,Pn,ii,Af,xi,gc,e7,bc,Zu,bn,d7,si,Nf,If,N7,n7,h7,Hu,ju,lc,On,A7,Mu,jc,oi,L1,gf,Hi,Xu,M1],fb0="Jsoo_runtime.Error.Exn",cb0=[0,0],sb0="use_strict",ab0=pE,ob0="esproposal_decorators",vb0="enums",lb0="components",pb0="Internal error: ";function C2(x){if(typeof x=="number")return 0;switch(x[0]){case 0:return[0,C2(x[1])];case 1:return[1,C2(x[1])];case 2:return[2,C2(x[1])];case 3:return[3,C2(x[1])];case 4:return[4,C2(x[1])];case 5:return[5,C2(x[1])];case 6:return[6,C2(x[1])];case 7:return[7,C2(x[1])];case 8:var r=x[1];return[8,r,C2(x[2])];case 9:var e=x[1];return[9,e,e,C2(x[3])];case 10:return[10,C2(x[1])];case 11:return[11,C2(x[1])];case 12:return[12,C2(x[1])];case 13:return[13,C2(x[1])];default:return[14,C2(x[1])]}}function Q1(x,r){if(typeof x=="number")return r;switch(x[0]){case 0:return[0,Q1(x[1],r)];case 1:return[1,Q1(x[1],r)];case 2:return[2,Q1(x[1],r)];case 3:return[3,Q1(x[1],r)];case 4:return[4,Q1(x[1],r)];case 5:return[5,Q1(x[1],r)];case 6:return[6,Q1(x[1],r)];case 7:return[7,Q1(x[1],r)];case 8:var e=x[1];return[8,e,Q1(x[2],r)];case 9:var t=x[2],u=x[1];return[9,u,t,Q1(x[3],r)];case 10:return[10,Q1(x[1],r)];case 11:return[11,Q1(x[1],r)];case 12:return[12,Q1(x[1],r)];case 13:return[13,Q1(x[1],r)];default:return[14,Q1(x[1],r)]}}function E2(x,r){if(typeof x=="number")return r;switch(x[0]){case 0:return[0,E2(x[1],r)];case 1:return[1,E2(x[1],r)];case 2:var e=x[1];return[2,e,E2(x[2],r)];case 3:var t=x[1];return[3,t,E2(x[2],r)];case 4:var u=x[3],i=x[2],c=x[1];return[4,c,i,u,E2(x[4],r)];case 5:var v=x[3],a=x[2],p=x[1];return[5,p,a,v,E2(x[4],r)];case 6:var _=x[3],y=x[2],S=x[1];return[6,S,y,_,E2(x[4],r)];case 7:var E=x[3],j=x[2],C=x[1];return[7,C,j,E,E2(x[4],r)];case 8:var P=x[3],O=x[2],F=x[1];return[8,F,O,P,E2(x[4],r)];case 9:var K=x[1];return[9,K,E2(x[2],r)];case 10:return[10,E2(x[1],r)];case 11:var U=x[1];return[11,U,E2(x[2],r)];case 12:var V=x[1];return[12,V,E2(x[2],r)];case 13:var Q=x[2],$=x[1];return[13,$,Q,E2(x[3],r)];case 14:var x0=x[2],e0=x[1];return[14,e0,x0,E2(x[3],r)];case 15:return[15,E2(x[1],r)];case 16:return[16,E2(x[1],r)];case 17:var Z=x[1];return[17,Z,E2(x[2],r)];case 18:var c0=x[1];return[18,c0,E2(x[2],r)];case 19:return[19,E2(x[1],r)];case 20:var d0=x[2],n0=x[1];return[20,n0,d0,E2(x[3],r)];case 21:var P0=x[1];return[21,P0,E2(x[2],r)];case 22:return[22,E2(x[1],r)];case 23:var h0=x[1];return[23,h0,E2(x[2],r)];default:var g0=x[2],v0=x[1];return[24,v0,g0,E2(x[3],r)]}}function uN(x,r,e){return x[1]===r?(x[1]=e,1):0}function gx(x){throw U0([0,Qt,x],1)}function B1(x){throw U0([0,tN,x],1)}function rh(x){return 0<=x?x:-x|0}var kb0=WD;function Bx(x,r){var e=Nx(x),t=Nx(r),u=T2(e+t|0);return Dc(x,0,u,0,e),Dc(r,0,u,e,t),A1(u)}function mb0(x){return x?sz:az}function Fx(x,r){if(!x)return r;var e=x[1];return[0,e,Fx(x[2],r)]}KY(0);var hb0=JU(1),Lc=JU(2);function db0(x){for(var r=YY(0);;){if(!r)return 0;var e=r[2],t=r[1];try{Rc(t)}catch(c){var u=O2(c);if(u[1]!==VU)throw U0(u,0)}var r=e}}function Ol(x,r){QP(x,r,0,Nx(r))}function QU(x){return Ol(Lc,x),KU(Lc,10),Rc(Lc)}var iN=[0,db0];function fN(x){return l(iN[1],0)}xN(HR,fN);var ZU=xz(0)[1],Cl=(4*QY(0)|0)-1|0,yb0=[x2,oz,Ts(0)];function gb0(x){throw U0(yb0,1)}function eh(x,r){return r?[0,l(x,r[1])]:0}function xq(x){return 25>>0?x:x+KD|0}function Is(x){for(var r=0,e=x;;){if(!e)return r;var r=r+1|0,e=e[2]}}function Dl(x){return x?x[1]:gx(gz)}function rq(x){return x?x[2]:gx(yz)}function zv(x,r){for(var e=x,t=r;;){if(!e)return t;var u=[0,e[1],t],e=e[2],t=u}}function vx(x){return zv(x,0)}function Rl(x){if(!x)return 0;var r=x[1];return Fx(r,Rl(x[2]))}function xn(x,r){if(!r)return 0;var e=r[2],t=x(r[1]);return[0,t,xn(x,e)]}function th(x,r){for(var e=0,t=r;;){if(!t)return e;var u=t[2],e=[0,x(t[1]),e],t=u}}function p1(x,r){for(var e=r;;){if(!e)return 0;var t=e[2];l(x,e[1]);var e=t}}function u1(x,r,e){for(var t=r,u=e;;){if(!u)return t;var i=u[2],t=k(x,t,u[1]),u=i}}function cN(x,r,e){if(!r)return e;var t=r[1];return x(t,cN(x,r[2],e))}function eq(x,r,e){for(var t=r,u=e;;){if(t){if(u){var i=u[2],c=t[2];x(t[1],u[1]);var t=c,u=i;continue}}else if(!u)return;return B1(dz)}}function sN(x,r){for(var e=r;;){if(!e)return 0;var t=e[2],u=x(e[1]);if(u)return u;var e=t}}function aN(x,r){for(var e=r;;){if(!e)return 0;var t=e[2],u=OU(e[1],x)===0?1:0;if(u)return u;var e=t}}function Fl(x){var r=0;return function(e){for(var t=r,u=e;;){if(!u)return vx(t);var i=u[2],c=u[1];if(x(c))var t=[0,c,t],u=i;else var u=i}}}function No(x,r){var e=T2(x);return EY(e,0,x,r),e}function tq(x){var r=nt(x),e=T2(r);return gs(x,0,e,0,r),e}function nq(x,r,e){if(0<=r&&0<=e&&(nt(x)-e|0)>=r){var t=T2(e);return gs(x,r,t,0,e),t}return B1(wz)}function Vv(x,r,e){return A1(nq(x,r,e))}function uq(x,r,e,t,u){if(0<=u&&0<=r&&(nt(x)-u|0)>=r&&0<=t&&(nt(e)-u|0)>=t){gs(x,r,e,t,u);return}return B1(bz)}function js(x,r,e,t,u){if(0<=u&&0<=r&&(Nx(x)-u|0)>=r&&0<=t&&(nt(e)-u|0)>=t){Dc(x,r,e,t,u);return}return B1(_z)}function nh(x,r){return A1(No(x,r))}function k1(x,r,e){return A1(nq(Cc(x),r,e))}function iq(x,r){if(!r)return Tz;var e=Nx(x);x:{r:{for(var t=0,u=r,i=0;u;){var c=u[1];if(!u[2])break r;var v=(Nx(c)+e|0)+t|0,a=u[2],p=t<=v?v:B1(Ez),t=p,u=a}var _=t;break x}var _=Nx(c)+t|0}for(var y=T2(_),S=i,E=r;;){if(E){var j=E[1];if(E[2]){var C=E[2];Dc(j,0,y,S,Nx(j)),Dc(x,0,y,S+Nx(j)|0,e);var S=(S+Nx(j)|0)+e|0,E=C;continue}Dc(j,0,y,S,Nx(j))}return A1(y)}}function fq(x){var r=Cc(x);if(nt(r)===0)var e=r;else{var t=tq(r);Vr(t,0,xq(fe(r,0)));var e=t}return A1(e)}function cq(x,r){var e=Nx(x),t=e<=Nx(r)?1:0;if(!t)return t;for(var u=0;;){if(u===e)return 1;if(F0(r,u)!==F0(x,u))return 0;var u=u+1|0}}function sq(x,r){var e=[0,0],t=[0,Nx(r)],u=Nx(r)-1|0;if(u>=0)for(var i=u;;){if(F0(r,i)===x){var c=e[1];e[1]=[0,k1(r,i+1|0,(t[1]-i|0)-1|0),c],t[1]=i}var v=i-1|0;if(i===0)break;var i=v}var a=e[1];return[0,k1(r,0,t[1]),a]}var _b0=ix;function aq(x,r){var e=r.length-1-1|0,t=0;if(e>=0)for(var u=t;;){x(r[1+u]);var i=u+1|0;if(e===u)break;var u=i}}function uh(x,r){var e=r.length-1;if(e===0)return[0];var t=Jv(e,x(r[1])),u=e-1|0,i=1;if(u>=1)for(var c=i;;){t[1+c]=x(r[1+c]);var v=c+1|0;if(u===c)break;var c=v}return t}function Ll(x){if(!x)return[0];for(var r=0,e=x,t=x[2],u=x[1];e;)var r=r+1|0,e=e[2];for(var i=Jv(r,u),c=1,v=t;;){if(!v)return i;var a=v[2];i[1+c]=v[1];var c=c+1|0,v=a}}function oq(x){try{var r=[0,El(x)];return r}catch(t){var e=O2(t);if(e[1]===Qt)return 0;throw U0(e,0)}}function oN(x){function r(a){return a?a[5]:0}function e(a,p,_,y){var S=r(a),E=r(y),j=E<=S?S+1|0:E+1|0;return[0,a,p,_,y,j]}function t(a,p,_,y){var S=a?a[5]:0,E=y?y[5]:0;if((E+2|0)=E){var $=E<=S?S+1|0:E+1|0;return[0,a,p,_,y,$]}if(!y)return B1(Nz);var x0=y[4],e0=y[3],Z=y[2],c0=y[1],d0=r(c0);if(d0<=r(x0))return e(e(a,p,_,c0),Z,e0,x0);if(!c0)return B1(Pz);var n0=c0[3],P0=c0[2],h0=c0[1],g0=e(c0[4],Z,e0,x0);return e(e(a,p,_,h0),P0,n0,g0)}var u=0;function i(a,p,_){if(!_)return[0,0,a,p,0,1];var y=_[4],S=_[3],E=_[2],j=_[1],C=_[5],P=k(x[1],a,E);if(P===0)return S===p?_:[0,j,a,p,y,C];if(0<=P){var O=i(a,p,y);return y===O?_:t(j,E,S,O)}var F=i(a,p,j);return j===F?_:t(F,E,S,y)}function c(a,p){for(var _=p;;){if(!_)throw U0(Fc,1);var y=_[4],S=_[3],E=_[1],j=k(x[1],a,_[2]);if(j===0)return S;var C=0<=j?y:E,_=C}}function v(a,p,_){for(var y=p,S=_;;){if(!y)return S;var E=y[4],j=y[3],C=y[2],P=a(C,j,v(a,y[1],S)),y=E,S=P}}return[0,u,,,i,,,,,,,,,v,,,,,,,,,,,,,,,c]}function Ml(x){return[0,0,0]}function Ul(x){x[1]=0,x[2]=0}function Oo(x,r){r[1]=[0,x,r[1]],r[2]=r[2]+1|0}function Gv(x){var r=x[1];if(!r)return 0;var e=r[1];return x[1]=r[2],x[2]=x[2]-1|0,[0,e]}function Wv(x){var r=x[1];return r?[0,r[1]]:0}var bb0=[x2,Oz,Ts(0)];function vq(x){return[0,0,0,0]}function vN(x){x[1]=0,x[2]=0,x[3]=0}function lN(x,r){var e=[0,x,0],t=r[3];return t?(r[1]=r[1]+1|0,t[2]=e,r[3]=e,0):(r[1]=1,r[2]=e,r[3]=e,0)}function Qr(x){var r=1<=x?x:1,e=Cl=(e+r|0));)t[1]=2*t[1]|0;Clx[3])throw U0([0,Ar,Rz],1);if(!((e+r|0)<=x[3]))throw U0([0,Ar,Fz],1)}function ut(x,r){var e=x[2];x[3]<=e&&pN(x,1),Vr(x[1],e,r),x[2]=e+1|0}function lq(x,r,e,t){var u=e<0?1:0;if(u)var c=u;else var i=t<0?1:0,c=i||((Nx(r)-t|0)u){if(u!==32){if(43>u)break x;switch(u+M5|0){case 5:e:if(t<(e+2|0)&&1=(e+1|0))break x;var c=No(e+1|0,48);return qv(c,0,u),js(r,1,c,(e-t|0)+2|0,t-1|0),A1(c)}if(71<=u){if(5>>0)break x}else if(65>u)break x}if(t>>0){if(33>>0)break e}else if(t===2)break;var r=r+1|0}break r}var u=Cc(x),i=[0,0],c=nt(u)-1|0,v=0;if(c>=0)for(var a=v;;){var p=fe(u,a);r:{e:{t:{if(32<=p){var _=p-34|0;if(58<_>>>0){if(93<=_)break t}else if(56<_-1>>>0)break e;var y=1;break r}if(11<=p){if(p===13)break e}else if(8<=p)break e}var y=4;break r}var y=2}i[1]=i[1]+y|0;var S=a+1|0;if(c===a)break;var a=S}if(i[1]===nt(u))var E=tq(u);else{var j=T2(i[1]);i[1]=0;var C=nt(u)-1|0,P=0;if(C>=0)for(var O=P;;){var F=fe(u,O);r:{e:{t:{if(35<=F){if(F!==92){if(Yr<=F)break t;break e}}else{if(32>F){if(14<=F)break t;switch(F){case 8:Vr(j,i[1],92),i[1]++,Vr(j,i[1],98);break r;case 9:Vr(j,i[1],92),i[1]++,Vr(j,i[1],ua);break r;case 10:Vr(j,i[1],92),i[1]++,Vr(j,i[1],j2);break r;case 13:Vr(j,i[1],92),i[1]++,Vr(j,i[1],ia);break r;default:break t}}if(34>F)break e}Vr(j,i[1],92),i[1]++,Vr(j,i[1],F);break r}Vr(j,i[1],92),i[1]++,Vr(j,i[1],48+(F/et|0)|0),i[1]++,Vr(j,i[1],48+((F/10|0)%10|0)|0),i[1]++,Vr(j,i[1],48+(F%10|0)|0);break r}Vr(j,i[1],F)}i[1]++;var K=O+1|0;if(C===O)break;var O=K}var E=j}var U=A1(E)}var V=Nx(U),Q=No(V+2|0,34);return Dc(U,0,Q,1,V),A1(Q)}function dq(x,r){var e=rh(r),t=CV[1];switch(x[2]){case 0:var u=S1;break;case 1:var u=yt;break;case 2:var u=69;break;case 3:var u=Ze;break;case 4:var u=71;break;case 5:var u=t;break;case 6:var u=_t;break;case 7:var u=72;break;default:var u=70}var i=pq(16);switch($v(i,37),x[1]){case 0:break;case 1:$v(i,43);break;default:$v(i,32)}return 8<=x[2]&&$v(i,35),$v(i,46),j1(i,H0+e),$v(i,u),mq(i)}function fh(x,r){if(13>x)return r;var e=[0,0],t=Nx(r)-1|0,u=0;if(t>=0)for(var i=u;;){9>=F0(r,i)+B2>>>0&&e[1]++;var c=i+1|0;if(t===i)break;var i=c}var v=e[1],a=T2(Nx(r)+((v-1|0)/3|0)|0),p=[0,0];function _(O){qv(a,p[1],O),p[1]++}var y=[0,((v-1|0)%3|0)+1|0],S=Nx(r)-1|0,E=0;if(S>=0)for(var j=E;;){var C=F0(r,j);9>>0||(y[1]===0&&(_(95),y[1]=3),y[1]+=-1),_(C);var P=j+1|0;if(S===j)break;var j=P}return A1(a)}function Tb0(x,r){switch(x){case 1:var e=yG;break;case 2:var e=gG;break;case 4:var e=_G;break;case 5:var e=bG;break;case 6:var e=wG;break;case 7:var e=TG;break;case 8:var e=EG;break;case 9:var e=SG;break;case 10:var e=AG;break;case 11:var e=IG;break;case 0:case 13:var e=jG;break;case 3:case 14:var e=PG;break;default:var e=NG}return fh(x,zm(e,r))}function Eb0(x,r){switch(x){case 1:var e=VV;break;case 2:var e=GV;break;case 4:var e=WV;break;case 5:var e=$V;break;case 6:var e=HV;break;case 7:var e=QV;break;case 8:var e=ZV;break;case 9:var e=xG;break;case 10:var e=rG;break;case 11:var e=eG;break;case 0:case 13:var e=tG;break;case 3:case 14:var e=nG;break;default:var e=uG}return fh(x,zm(e,r))}function Sb0(x,r){switch(x){case 1:var e=DV;break;case 2:var e=RV;break;case 4:var e=FV;break;case 5:var e=LV;break;case 6:var e=MV;break;case 7:var e=UV;break;case 8:var e=qV;break;case 9:var e=BV;break;case 10:var e=XV;break;case 11:var e=JV;break;case 0:case 13:var e=KV;break;case 3:case 14:var e=YV;break;default:var e=zV}return fh(x,zm(e,r))}function Ab0(x,r){switch(x){case 1:var e=iG;break;case 2:var e=fG;break;case 4:var e=cG;break;case 5:var e=sG;break;case 6:var e=aG;break;case 7:var e=oG;break;case 8:var e=vG;break;case 9:var e=lG;break;case 10:var e=pG;break;case 11:var e=kG;break;case 0:case 13:var e=mG;break;case 3:case 14:var e=hG;break;default:var e=dG}return fh(x,RU(e,r))}function Ps(x,r,e){function t(K){switch(x[1]){case 0:var U=45;break;case 1:var U=43;break;default:var U=32}return AY(e,r,U)}function u(K){var U=sY(e);return U===3?e<0?PV:NV:4<=U?jV:K}switch(x[2]){case 5:for(var i=VP(dq(x,r),e),c=0,v=Nx(i);;){if(c===v)var a=0;else{var p=N2(i,c)+So|0;x:{if(23

>>0){if(p===55)break x}else if(21>>0)break x;var c=c+1|0;continue}var a=1}var _=a?i:Bx(i,OV);return u(_)}case 6:return t(R);case 7:var y=Cc(t(R)),S=nt(y);if(S===0)var E=y;else{var j=T2(S),C=S-1|0,P=0;if(C>=0)for(var O=P;;){Vr(j,O,xq(fe(y,O)));var F=O+1|0;if(C===O)break;var O=F}var E=j}return A1(E);case 8:return u(t(R));default:return VP(dq(x,r),e)}}function ch(x,r,e,t,u,i,c){if(typeof t=="number"){if(typeof u=="number")return u?function(E,j){return Lr(x,[4,r,Hv(E,i(c,j))],e)}:function(E){return Lr(x,[4,r,i(c,E)],e)};var v=u[1];return function(E){return Lr(x,[4,r,Hv(v,i(c,E))],e)}}if(t[0]===0){var a=t[2],p=t[1];if(typeof u=="number")return u?function(E,j){return Lr(x,[4,r,Oe(p,a,Hv(E,i(c,j)))],e)}:function(E){return Lr(x,[4,r,Oe(p,a,i(c,E))],e)};var _=u[1];return function(E){return Lr(x,[4,r,Oe(p,a,Hv(_,i(c,E)))],e)}}var y=t[1];if(typeof u=="number")return u?function(E,j,C){return Lr(x,[4,r,Oe(y,E,Hv(j,i(c,C)))],e)}:function(E,j){return Lr(x,[4,r,Oe(y,E,i(c,j))],e)};var S=u[1];return function(E,j){return Lr(x,[4,r,Oe(y,E,Hv(S,i(c,j)))],e)}}function dN(x,r,e,t,u){if(typeof t=="number")return function(a){return Lr(x,[4,r,u(a)],e)};if(t[0]===0){var i=t[2],c=t[1];return function(a){return Lr(x,[4,r,Oe(c,i,u(a))],e)}}var v=t[1];return function(a,p){return Lr(x,[4,r,Oe(v,a,u(p))],e)}}function Bl(x,r,e,t){for(var u=r,i=e,c=t;;){if(typeof c=="number")return u(i);switch(c[0]){case 0:var v=c[1];return function(S0){return Lr(u,[5,i,S0],v)};case 1:var a=c[1];return function(S0){x:{r:{if(40<=S0){if(S0===92){var cx=vz;break x}if(Yr>S0)break r}else{if(32<=S0){if(39>S0)break r;var cx=lz;break x}if(14>S0)switch(S0){case 8:var cx=pz;break x;case 9:var cx=kz;break x;case 10:var cx=mz;break x;case 13:var cx=hz;break x}}var q0=T2(4);Vr(q0,0,92),Vr(q0,1,48+(S0/et|0)|0),Vr(q0,2,48+((S0/10|0)%10|0)|0),Vr(q0,3,48+(S0%10|0)|0);var cx=A1(q0);break x}var yx=T2(1);Vr(yx,0,S0);var cx=A1(yx)}var Dx=Nx(cx),Ix=No(Dx+2|0,39);return Dc(cx,0,Ix,1,Dx),Lr(u,[4,i,A1(Ix)],a)};case 2:var p=c[2],_=c[1];return dN(u,i,p,_,function(S0){return S0});case 3:return dN(u,i,c[2],c[1],wb0);case 4:return ch(u,i,c[4],c[2],c[3],Tb0,c[1]);case 5:return ch(u,i,c[4],c[2],c[3],Eb0,c[1]);case 6:return ch(u,i,c[4],c[2],c[3],Sb0,c[1]);case 7:return ch(u,i,c[4],c[2],c[3],Ab0,c[1]);case 8:var y=c[4],S=c[3],E=c[2],j=c[1];if(typeof E=="number"){if(typeof S=="number")return S?function(S0,q0){return Lr(u,[4,i,Ps(j,S0,q0)],y)}:function(S0){return Lr(u,[4,i,Ps(j,mN(j),S0)],y)};var C=S[1];return function(S0){return Lr(u,[4,i,Ps(j,C,S0)],y)}}if(E[0]===0){var P=E[2],O=E[1];if(typeof S=="number")return S?function(S0,q0){return Lr(u,[4,i,Oe(O,P,Ps(j,S0,q0))],y)}:function(S0){return Lr(u,[4,i,Oe(O,P,Ps(j,mN(j),S0))],y)};var F=S[1];return function(S0){return Lr(u,[4,i,Oe(O,P,Ps(j,F,S0))],y)}}var K=E[1];if(typeof S=="number")return S?function(S0,q0,yx){return Lr(u,[4,i,Oe(K,S0,Ps(j,q0,yx))],y)}:function(S0,q0){return Lr(u,[4,i,Oe(K,S0,Ps(j,mN(j),q0))],y)};var U=S[1];return function(S0,q0){return Lr(u,[4,i,Oe(K,S0,Ps(j,U,q0))],y)};case 9:return dN(u,i,c[2],c[1],mb0);case 10:var i=[7,i],c=c[1];break;case 11:var i=[2,i,c[1]],c=c[2];break;case 12:var i=[3,i,c[1]],c=c[2];break;case 13:var V=c[3],Q=c[2],$=pq(16);hN($,Q);var x0=mq($);return function(S0){return Lr(u,[4,i,x0],V)};case 14:var e0=c[3],Z=c[2];return function(S0){var q0=S0[1],yx=a2(q0,C2(Q2(Z)));if(typeof yx[2]=="number")return Lr(u,i,E2(yx[1],e0));throw U0(m1,1)};case 15:var c0=c[1];return function(S0,q0){return Lr(u,[6,i,function(yx){return k(S0,yx,q0)}],c0)};case 16:var d0=c[1];return function(S0){return Lr(u,[6,i,S0],d0)};case 17:var i=[0,i,c[1]],c=c[2];break;case 18:var n0=c[1];if(n0[0]===0)var P0=c[2],h0=n0[1][1],g0=0,u=function(S0,q0,yx){return function(cx){return Lr(q0,[1,S0,[0,cx]],yx)}}(i,u,P0),i=g0,c=h0;else var v0=c[2],p0=n0[1][1],w0=0,u=function(S0,q0,yx){return function(cx){return Lr(q0,[1,S0,[1,cx]],yx)}}(i,u,v0),i=w0,c=p0;break;case 19:throw U0([0,Ar,hV],1);case 20:var T0=c[3],E0=[8,i,dV];return function(S0){return Lr(u,E0,T0)};case 21:var N0=c[2];return function(S0){return Lr(u,[4,i,zm(uL,S0)],N0)};case 22:var X0=c[1];return function(S0){return Lr(u,[5,i,S0],X0)};case 23:var A0=c[2],rx=c[1];if(typeof rx=="number")switch(rx){case 0:return x<50?u2(x+1|0,u,i,A0):l1(u2,[0,u,i,A0]);case 1:return x<50?u2(x+1|0,u,i,A0):l1(u2,[0,u,i,A0]);case 2:throw U0([0,Ar,yV],1);default:return x<50?u2(x+1|0,u,i,A0):l1(u2,[0,u,i,A0])}switch(rx[0]){case 0:return x<50?u2(x+1|0,u,i,A0):l1(u2,[0,u,i,A0]);case 1:return x<50?u2(x+1|0,u,i,A0):l1(u2,[0,u,i,A0]);case 2:return x<50?u2(x+1|0,u,i,A0):l1(u2,[0,u,i,A0]);case 3:return x<50?u2(x+1|0,u,i,A0):l1(u2,[0,u,i,A0]);case 4:return x<50?u2(x+1|0,u,i,A0):l1(u2,[0,u,i,A0]);case 5:return x<50?u2(x+1|0,u,i,A0):l1(u2,[0,u,i,A0]);case 6:return x<50?u2(x+1|0,u,i,A0):l1(u2,[0,u,i,A0]);case 7:return x<50?u2(x+1|0,u,i,A0):l1(u2,[0,u,i,A0]);case 8:return x<50?u2(x+1|0,u,i,A0):l1(u2,[0,u,i,A0]);case 9:var B=rx[2];return x<50?yN(x+1|0,u,i,B,A0):l1(yN,[0,u,i,B,A0]);case 10:return x<50?u2(x+1|0,u,i,A0):l1(u2,[0,u,i,A0]);default:return x<50?u2(x+1|0,u,i,A0):l1(u2,[0,u,i,A0])}default:var G0=c[3],W0=c[1],Y0=l(c[2],0);return x<50?gN(x+1|0,u,i,G0,W0,Y0):l1(gN,[0,u,i,G0,W0,Y0])}}}function yN(x,r,e,t,u){if(typeof t=="number")return x<50?u2(x+1|0,r,e,u):l1(u2,[0,r,e,u]);switch(t[0]){case 0:var i=t[1];return function(U){return it(r,e,i,u)};case 1:var c=t[1];return function(U){return it(r,e,c,u)};case 2:var v=t[1];return function(U){return it(r,e,v,u)};case 3:var a=t[1];return function(U){return it(r,e,a,u)};case 4:var p=t[1];return function(U){return it(r,e,p,u)};case 5:var _=t[1];return function(U){return it(r,e,_,u)};case 6:var y=t[1];return function(U){return it(r,e,y,u)};case 7:var S=t[1];return function(U){return it(r,e,S,u)};case 8:var E=t[2];return function(U){return it(r,e,E,u)};case 9:var j=t[3],C=t[2],P=i1(Q2(t[1]),C);return function(U){return it(r,e,Q1(P,j),u)};case 10:var O=t[1];return function(U,V){return it(r,e,O,u)};case 11:var F=t[1];return function(U){return it(r,e,F,u)};case 12:var K=t[1];return function(U){return it(r,e,K,u)};case 13:throw U0([0,Ar,gV],1);default:throw U0([0,Ar,_V],1)}}function u2(x,r,e,t){var u=[8,e,bV];return x<50?Bl(x+1|0,r,u,t):l1(Bl,[0,r,u,t])}function gN(x,r,e,t,u,i){if(u){var c=u[1];return function(a){return Ib0(r,e,t,c,l(i,a))}}var v=[4,e,i];return x<50?Bl(x+1|0,r,v,t):l1(Bl,[0,r,v,t])}function Lr(x,r,e){return rN(Bl(0,x,r,e))}function it(x,r,e,t){return rN(yN(0,x,r,e,t))}function Ib0(x,r,e,t,u){return rN(gN(0,x,r,e,t,u))}function Ns(x,r){for(var e=r;;){if(typeof e=="number")return;switch(e[0]){case 0:var t=e[1],u=hq(e[2]);return Ns(x,t),Ol(x,u);case 1:var i=e[2],c=e[1];if(i[0]===0){var v=i[1];Ns(x,c),Ol(x,wV);var e=v}else{var a=i[1];Ns(x,c),Ol(x,TV);var e=a}break;case 6:var p=e[2];return Ns(x,e[1]),l(p,x);case 7:Ns(x,e[1]),Rc(x);return;case 8:var _=e[2];return Ns(x,e[1]),B1(_);case 2:case 4:var y=e[2];return Ns(x,e[1]),Ol(x,y);default:var S=e[2];Ns(x,e[1]),KU(x,S);return}}}function Os(x,r){for(var e=r;;){if(typeof e=="number")return;switch(e[0]){case 0:var t=e[1],u=hq(e[2]);return Os(x,t),ar(x,u);case 1:var i=e[2],c=e[1];if(i[0]===0){var v=i[1];Os(x,c),ar(x,EV);var e=v}else{var a=i[1];Os(x,c),ar(x,SV);var e=a}break;case 6:var p=e[2];return Os(x,e[1]),ar(x,l(p,0));case 7:var e=e[1];break;case 8:var _=e[2];return Os(x,e[1]),B1(_);case 2:case 4:var y=e[2];return Os(x,e[1]),ar(x,y);default:var S=e[2];return Os(x,e[1]),ut(x,S)}}}function yq(x,r){var e=r[1],t=0;return Lr(function(u){return Ns(x,u),0},t,e)}function _N(x){return yq(Lc,x)}function yr(x){var r=x[1];return Lr(function(e){var t=Qr(64);return Os(t,e),R2(t)},0,r)}var bN=[0,0];function wN(x,r){var e=x[1+r];if(!(1-(typeof e=="number"?1:0)))return l(yr(oW),e);if(Po(e)===go)return l(yr(vW),e);if(Po(e)!==i8)return lW;for(var t=VP("%.12g",e),u=0,i=Nx(t);;){if(i<=u)return Bx(t,cz);var c=N2(t,u);x:{if(48<=c){if(58>c)break x}else if(c===45)break x;return t}var u=u+1|0}}function gq(x,r){if(x.length-1<=r)return BG;var e=gq(x,r+1|0),t=wN(x,r);return k(yr(XG),t,e)}function sh(x){x:{r:{for(var r=bN[1];r;){e:{var e=r[2],t=r[1];try{var u=l(t,x)}catch{break e}if(u)break r}var r=e}var i=0;break x}var i=[0,u[1]]}if(i)return i[1];if(x===eN)return eW;if(x===WU)return tW;if(x[1]===GU){var c=x[2],v=c[3],a=c[2],p=c[1];return I1(yr(nN),p,a,v,v+5|0,nW)}if(x[1]===Ar){var _=x[2],y=_[3],S=_[2],E=_[1];return I1(yr(nN),E,S,y,y+6|0,uW)}if(x[1]===Pl){var j=x[2],C=j[3],P=j[2],O=j[1];return I1(yr(nN),O,P,C,C+6|0,iW)}if(Po(x)!==0)return x[1];var F=x.length-1,K=x[1][1];if(2>>0)var U=gq(x,2),V=wN(x,1),Q=k(yr(fW),V,U);else switch(F){case 0:var Q=cW;break;case 1:var Q=sW;break;default:var $=wN(x,1),Q=l(yr(aW),$)}return Bx(K,Q)}function TN(x,r){var e=TY(r),t=e.length-1-1|0,u=0;if(t>=0)for(var i=u;;){var c=$2(e,i)[1+i],v=function(U){return function(V){return V?U===0?GG:WG:U===0?$G:HG}}(i);if(c[0]===0)var a=c[5],p=c[4],_=c[3],y=c[6]?QG:ZG,S=c[2],E=c[7],j=v(c[1]),P=[0,uz(yr(xW),j,E,S,y,_,p,a)];else if(c[1])var P=0;else var C=v(0),P=[0,l(yr(rW),C)];if(P){var O=P[1];l(yq(x,VG),O)}var F=i+1|0;if(t===i)break;var i=F}}function _q(x){for(;;){var r=bN[1],e=1-uN(bN,r,[0,x,r]);if(!e)return e}}var jb0=pW.slice(),Pb0=[0];xN(fR,function(x,r){try{try{var e=r?Pb0:DU(0);try{fN(R)}catch{}try{var t=sh(x);l(_N(zG),t),TN(Lc,e);var u=MY(0);if(u<0){var i=rh(u);QU($2(jb0,i)[1+i])}var c=Rc(Lc),v=c}catch(E){var a=O2(E),p=sh(x);l(_N(JG),p),TN(Lc,e);var _=sh(a);l(_N(KG),_),TN(Lc,DU(0));var v=Rc(Lc)}var y=v}catch(E){var S=O2(E);if(S!==eN)throw U0(S,0);var y=QU(YG)}return y}catch{return 0}});var EN=[x2,DW,Ts(0)],ah=0,bq=-1;function Xl(x,r){return x[13]=x[13]+r[3]|0,lN(r,x[28])}var wq=1000000010;function SN(x,r){return B0(x[17],r,0,Nx(r))}function oh(x){return l(x[19],0)}function Tq(x,r,e){x[9]=x[9]-r|0,SN(x,e),x[11]=0}function vh(x,r){var e=I(r,H0);return e&&Tq(x,Nx(r),r)}function Co(x,r,e){var t=r[3],u=r[2];vh(x,r[1]),oh(x),x[11]=1;var i=(x[6]-e|0)+u|0,c=x[8],v=c<=i?c:i;return x[10]=v,x[9]=x[6]-x[10]|0,l(x[21],x[10]),vh(x,t)}function Eq(x,r){return Co(x,CW,r)}function Qv(x,r){var e=r[2],t=r[3];return vh(x,r[1]),x[9]=x[9]-e|0,l(x[20],e),vh(x,t)}function Nb0(x,r,e){if(typeof e=="number")switch(e){case 0:var t=Wv(x[3]);if(!t)return;var u=t[1][1],i=function(Y0,V0){if(!V0)return[0,Y0,0];var ex=V0[1],Q0=V0[2];return LY(Y0,ex)?[0,Y0,V0]:[0,ex,i(Y0,Q0)]};u[1]=i(x[6]-x[9]|0,u[1]);return;case 1:Gv(x[2]);return;case 2:Gv(x[3]);return;case 3:var c=Wv(x[2]);return c?Eq(x,c[1][2]):oh(x);case 4:var v=x[10]!==(x[6]-x[9]|0)?1:0;if(!v)return v;var a=x[28],p=a[2];if(p){var _=p[1];if(p[2]){var y=p[2];a[1]=a[1]-1|0,a[2]=y;var S=[0,_]}else{vN(a);var S=[0,_]}}else var S=0;if(!S)return;var E=S[1],j=E[1];x[12]=x[12]-E[3]|0,x[9]=x[9]+j|0;return;default:var C=Gv(x[5]);return C?SN(x,l(x[25],C[1])):void 0}switch(e[0]){case 0:return Tq(x,r,e[1]);case 1:var P=e[2],O=e[1],F=P[1],K=P[2],U=Wv(x[2]);if(!U)return;var V=U[1],Q=V[2];switch(V[1]){case 0:return Qv(x,O);case 1:return Co(x,P,Q);case 2:return Co(x,P,Q);case 3:return x[9]<(r+Nx(F)|0)?Co(x,P,Q):Qv(x,O);case 4:return x[11]?Qv(x,O):x[9]<(r+Nx(F)|0)||((x[6]-Q|0)+K|0)h0){var n0=g0;continue}var v0=h0}else var v0=P0;var p0=v0;break}else var p0=$;var w0=p0-$|0;return 0<=w0?Qv(x,[0,PW,w0+e0|0,jW]):Co(x,[0,OW,p0+x0|0,NW],x[6]);case 3:var T0=e[2],E0=e[1];if(x[8]<(x[6]-x[9]|0)){var N0=Wv(x[2]);if(N0){var X0=N0[1],A0=X0[2],rx=X0[1];x[9]=rx-1>>>0&&Eq(x,A0)}else oh(x)}var B=x[9]-E0|0,G0=T0===1?1:x[9]=x[14]);)Nq(x,R);return x[13]=wq,Sq(x),r&&oh(x),x[12]=1,x[13]=1,vN(x[28]),AN(x[1]),Ul(x[2]),Ul(x[3]),Ul(x[4]),Ul(x[5]),x[10]=0,x[14]=0,x[9]=x[6],Pq(x,0,3)}function PN(x,r,e){var t=x[14]=e)return B0(x[17],Dq,0,e);B0(x[17],Dq,0,80);var e=e+QR|0}}function Ob0(x){return x[1]===EN?Bx(_W,Bx(x[2],gW)):bW}function Cb0(x){return x[1]===EN?Bx(dW,Bx(x[2],hW)):yW}function Db0(x){return 0}function Rb0(x){return 0}function Fq(x,r){function e(S){return 0}function t(S){return 0}function u(S){return 0}var i=vq(R),c=[0,bq,kW,0];lN(c,i);var v=Ml(R);AN(v),Oo([0,1,c],v);var a=Ml(R),p=Ml(R),_=Ml(R),y=[0,v,Ml(R),_,p,a,78,10,68,78,0,1,1,1,1,kb0,mW,x,r,u,t,e,0,0,Ob0,Cb0,Db0,Rb0,i];return y[19]=function(S){return B0(y[17],wW,0,1)},y[20]=function(S){return Rq(y,S)},y[21]=function(S){return Rq(y,S)},y}function Lq(x){function r(e){return Rc(x)}return Fq(function(e,t,u){return 0<=t&&0<=u&&(Nx(e)-u|0)>=t?QP(x,e,t,u):B1(fz)},r)}function NN(x){function r(e){return 0}return Fq(function(e,t,u){return lq(x,e,t,u)},r)}var Fb0=__;function Mq(x){return Qr(Fb0)}var Lb0=Mq(R),Mb0=Lq(hb0),Ub0=Lq(Lc);NN(Lb0);function Uq(x,r){var e=Qr(16),t=NN(e);x(t,r),Kl(t,R);var u=e[2];if(2>u)return R2(e);var i=u-2|0,c=1;return 0<=i&&(e[2]-i|0)>=1?Vv(e[1],c,i):B1(Lz)}function Ce(x,r){if(typeof r!="number"){x:{r:{e:{switch(r[0]){case 0:var e=r[2];if(Ce(x,r[1]),typeof e=="number")switch(e){case 0:return Nq(x,R);case 1:return Oq(x,R);case 2:return Kl(x,R);case 3:var t=x[14]>>0)break;var $=$+1|0}break t}var x0=k1(O,Q,$-Q|0),e0=V($);t:n:{for(var Z=e0;;){if(Z===K)break n;var c0=N2(O,Z);if(48<=c0){if(58<=c0)break}else if(c0!==45)break;var Z=Z+1|0}break t}if(e0===Z)var d0=0;else try{var n0=tt(k1(O,e0,Z-e0|0)),d0=n0}catch(Dx){var P0=O2(Dx);if(P0[1]!==Qt)throw U0(P0,0);var d0=U(R)}V(Z)!==K&&U(R);t:{if(I(x0,H0)&&I(x0,ZT)){if(!I(x0,"h")){var h0=0;break t}if(!I(x0,"hov")){var h0=3;break t}if(!I(x0,"hv")){var h0=2;break t}if(I(x0,qR)){var h0=U(R);break t}var h0=1;break t}var h0=4}var F=[0,d0,h0]}return Pq(x,F[1],F[2]);case 2:var g0=r[1];if(typeof g0!="number"&&g0[0]===0){var v0=g0[2];if(typeof v0!="number"&&v0[0]===1){var p0=r[2],w0=v0[2],T0=g0[1];break r}}var W0=r[2],Y0=g0;break x;case 3:var E0=r[1];if(typeof E0!="number"&&E0[0]===0){var N0=E0[2];if(typeof N0!="number"&&N0[0]===1){var X0=r[2],A0=N0[2],rx=E0[1];break}}var Q0=r[2],S0=E0;break e;case 4:var B=r[1];if(typeof B!="number"&&B[0]===0){var G0=B[2];if(typeof G0!="number"&&G0[0]===1){var p0=r[2],w0=G0[2],T0=B[1];break r}}var W0=r[2],Y0=B;break x;case 5:var V0=r[1];if(typeof V0!="number"&&V0[0]===0){var ex=V0[2];if(typeof ex!="number"&&ex[0]===1){var X0=r[2],A0=ex[2],rx=V0[1];break}}var Q0=r[2],S0=V0;break e;case 6:var q0=r[2];return Ce(x,r[1]),l(q0,x);case 7:return Ce(x,r[1]),Kl(x,R);default:var yx=r[2];return Ce(x,r[1]),B1(yx)}return Ce(x,rx),PN(x,A0,nh(1,X0))}return Ce(x,S0),Jl(x,Q0)}return Ce(x,T0),PN(x,w0,p0)}return Ce(x,Y0),lh(x,W0)}}function e2(x){return function(r){var e=r[1],t=0;return Lr(function(u){return Ce(x,u),0},t,e)}}for(;;){var qq=iN[1],qb0=[0,1];if(!(1-uN(iN,qq,function(x,r){return function(e){return uN(x,1,0)&&(Kl(Mb0,R),Kl(Ub0,R)),l(r,0)}}(qb0,qq))))break}var Bb0=2;function Xb0(x){var r=[0,0],e=Nx(x)-1|0,t=0;if(e>=0)for(var u=t;;){var i=N2(x,u);r[1]=(ak*r[1]|0)+i|0;var c=u+1|0;if(e===u)break;var u=c}r[1]=r[1]&WD;var v=1073741823=0)for(var c=i;;){var v=(c*2|0)+3|0,a=$2(x,c)[1+c];$2(e,v)[1+v]=a;var p=c+1|0;if(u===c)break;var c=p}return[0,Bb0,e,Do[1],pa[1],0,0,Cs[1],0]}function ON(x,r){var e=x[2].length-1;if(e=0&&(t.length-1-e|0)>=0){tY(u,0,t,0,e);break x}B1(Sz)}x[2]=t}}var Kb0=[0,0];function CN(x){var r=x[2].length-1;return ON(x,r+1|0),r}function Yl(x,r){try{var e=Do[28].call(null,r,x[3]);return e}catch(i){var t=O2(i);if(t!==Fc)throw U0(t,0);var u=CN(x);return x[3]=Do[4].call(null,r,u,x[3]),x[4]=pa[4].call(null,u,1,x[4]),u}}function DN(x,r){return uh(function(e){return Yl(x,e)},r)}function Kq(x,r,e){if(Kb0[1]++,pa[28].call(null,r,x[4])){ON(x,r+1|0),$2(x[2],r)[1+r]=e;return}x[6]=[0,[0,r,e],x[6]]}function RN(x){if(x===0)return 0;for(var r=x.length-1-1|0,e=0;;){if(0>r)return e;var t=[0,x[1+r],e],r=r-1|0,e=t}}function FN(x,r){try{var e=Cs[28].call(null,r,x[7]);return e}catch(i){var t=O2(i);if(t!==Fc)throw U0(t,0);var u=x[1];return x[1]=u+1|0,I(r,H0)&&(x[7]=Cs[4].call(null,r,u,x[7])),u}}function LN(x){return Xv(x,0)?[0]:x}function MN(x,r,e,t,u,i){var c=u[2],v=u[4],a=RN(r),p=RN(e),_=RN(t),y=xn(function(v0){return Yl(x,v0)},p),S=xn(function(v0){return Yl(x,v0)},_);x[5]=[0,[0,x[3],x[4],x[6],x[7],y,a],x[5]];var E=Cs[1],j=x[7];function C(v0,p0,w0){return aN(v0,a)?Cs[4].call(null,v0,p0,w0):w0}x[7]=Cs[13].call(null,C,j,E);var P=[0,Do[1]],O=[0,pa[1]];eq(function(v0,p0){P[1]=Do[4].call(null,v0,p0,P[1]);var w0=O[1];try{var T0=pa[28].call(null,p0,x[4]),E0=T0}catch(X0){var N0=O2(X0);if(N0!==Fc)throw U0(N0,0);var E0=1}O[1]=pa[4].call(null,p0,E0,w0)},_,S),eq(function(v0,p0){P[1]=Do[4].call(null,v0,p0,P[1]),O[1]=pa[4].call(null,p0,0,O[1])},p,y),x[3]=P[1],x[4]=O[1];var F=0,K=x[6];x[6]=cN(function(v0,p0){return aN(v0[1],y)?p0:[0,v0,p0]},K,F);var U=i?l(c(x),v):c(x),V=Dl(x[5]),Q=V[6],$=V[5],x0=V[4],e0=V[3],Z=V[2],c0=V[1];x[5]=rq(x[5]),x[7]=u1(function(v0,p0){var w0=Cs[28].call(null,p0,x[7]);return Cs[4].call(null,p0,w0,v0)},x0,Q),x[3]=c0,x[4]=Z;var d0=x[6];x[6]=cN(function(v0,p0){return aN(v0[1],$)?p0:[0,v0,p0]},d0,e0);var n0=0,P0=LN(t),h0=[0,uh(function(v0){var p0=Yl(x,v0);try{for(var w0=x[6];;){if(!w0)throw U0(Fc,1);var T0=w0[1],E0=w0[2],N0=T0[2];if(OU(T0[1],p0)===0)return N0;var w0=E0}}catch(A0){var X0=O2(A0);if(X0===Fc)return $2(x[2],p0)[1+p0];throw U0(X0,0)}},P0),n0],g0=LN(r);return nY([0,[0,U],[0,uh(function(v0){try{var p0=Cs[28].call(null,v0,x[7]);return p0}catch(T0){var w0=O2(T0);throw w0===Fc?U0([0,Ar,RW],1):U0(w0,0)}},g0),h0]])}function ph(x,r){if(x===0)var e=Jq([0]);else{var t=Jq(uh(Xb0,x)),u=x.length-1-1|0,i=0;if(u>=0)for(var c=i;;){var v=(c*2|0)+2|0;t[3]=Do[4].call(null,x[1+c],v,t[3]),t[4]=pa[4].call(null,v,1,t[4]);var a=c+1|0;if(u===c)break;var c=a}var e=t}var p=r(e);return e[8]=vx(e[8]),ON(e,3+(($2(e[2],1)[2]*16|0)/32|0)|0),[0,l(p,0),r,,0]}function kh(x,r){if(x)return x;var e=ZP(x2,r[1]);return e[1]=r[2],$Y(e)}function UN(x,r,e){if(x)return r;var t=e[8];if(t!==0)for(var u=t;u;){var i=u[2];l(u[1],r);var u=i}return r}function mh(x){var r=CN(x);x:{if(r%2|0&&(2+(($2(x[2],1)[2]*16|0)/32|0)|0)>=r){var e=CN(x);break x}var e=r}return $2(x[2],e)[1+e]=0,e}function qN(x,r){for(var e=[0,0],t=r.length-1;;){if(e[1]>=t)return;var u=e[1],i=$2(r,u)[1+u],c=function(Ur){e[1]++;var px=e[1];return $2(r,px)[1+px]},v=c(R);if(typeof v=="number")switch(v){case 0:var a=c(R),Yx=function(px){return function(w){return px}}(a);break;case 1:var p=c(R),Yx=function(px){return function(w){return w[1+px]}}(p);break;case 2:var _=c(R),y=c(R),Yx=function(px,w){return function(L){return L[1+px][1+w]}}(_,y);break;case 3:var S=c(R),Yx=function(px){return function(w){return l(w[1][1+px],w)}}(S);break;case 4:var E=c(R),Yx=function(px){return function(w,L){return w[1+px]=L,0}}(E);break;case 5:var j=c(R),C=c(R),Yx=function(px,w){return function(L){return l(px,w)}}(j,C);break;case 6:var P=c(R),O=c(R),Yx=function(px,w){return function(L){return l(px,L[1+w])}}(P,O);break;case 7:var F=c(R),K=c(R),U=c(R),Yx=function(px,w,L){return function(L0){return l(px,L0[1+w][1+L])}}(F,K,U);break;case 8:var V=c(R),Q=c(R),Yx=function(px,w){return function(L){return l(px,l(L[1][1+w],L))}}(V,Q);break;case 9:var $=c(R),x0=c(R),e0=c(R),Yx=function(px,w,L){return function(L0){return k(px,w,L)}}($,x0,e0);break;case 10:var Z=c(R),c0=c(R),d0=c(R),Yx=function(px,w,L){return function(L0){return k(px,w,L0[1+L])}}(Z,c0,d0);break;case 11:var n0=c(R),P0=c(R),h0=c(R),g0=c(R),Yx=function(px,w,L,L0){return function(sx){return k(px,w,sx[1+L][1+L0])}}(n0,P0,h0,g0);break;case 12:var v0=c(R),p0=c(R),w0=c(R),Yx=function(px,w,L){return function(L0){return k(px,w,l(L0[1][1+L],L0))}}(v0,p0,w0);break;case 13:var T0=c(R),E0=c(R),N0=c(R),Yx=function(px,w,L){return function(L0){return k(px,L0[1+w],L)}}(T0,E0,N0);break;case 14:var X0=c(R),A0=c(R),rx=c(R),B=c(R),Yx=function(px,w,L,L0){return function(sx){return k(px,sx[1+w][1+L],L0)}}(X0,A0,rx,B);break;case 15:var G0=c(R),W0=c(R),Y0=c(R),Yx=function(px,w,L){return function(L0){return k(px,l(L0[1][1+w],L0),L)}}(G0,W0,Y0);break;case 16:var V0=c(R),ex=c(R),Yx=function(px,w){return function(L){return k(L[1][1+px],L,w)}}(V0,ex);break;case 17:var Q0=c(R),S0=c(R),Yx=function(px,w){return function(L){return k(L[1][1+px],L,L[1+w])}}(Q0,S0);break;case 18:var q0=c(R),yx=c(R),cx=c(R),Yx=function(px,w,L){return function(L0){return k(L0[1][1+px],L0,L0[1+w][1+L])}}(q0,yx,cx);break;case 19:var Dx=c(R),Ix=c(R),Yx=function(px,w){return function(L){var L0=l(L[1][1+w],L);return k(L[1][1+px],L,L0)}}(Dx,Ix);break;case 20:var Xx=c(R),Z0=c(R);mh(x);var Yx=function(px,w){return function(L){return l(Wx(w,px,0),w)}}(Xx,Z0);break;case 21:var rr=c(R),xr=c(R);mh(x);var Yx=function(px,w){return function(L){var L0=L[1+w];return l(Wx(L0,px,0),L0)}}(rr,xr);break;case 22:var fr=c(R),Hx=c(R),Y=c(R);mh(x);var Yx=function(px,w,L){return function(L0){var sx=L0[1+w][1+L];return l(Wx(sx,px,0),sx)}}(fr,Hx,Y);break;default:var jx=c(R),hr=c(R);mh(x);var Yx=function(px,w){return function(L){var L0=l(L[1][1+w],L);return l(Wx(L0,px,0),L0)}}(jx,hr)}else var Yx=v;Kq(x,i,Yx),e[1]++}}function Yq(x,r){var e=r.length-1,t=ZP(0,e),u=e-1|0,i=0;if(u>=0)for(var c=i;;){var v=$2(r,c)[1+c];if(typeof v=="number")switch(v){case 0:var _=function(j){function C(P){var O=t[1+j];if(C===O)throw U0([0,Pl,x],1);return l(O,P)}return C}(c);break;case 1:var a=[];m0(a,[Pk,function(j,C){return function(P){var O=t[1+C];if(j===O)throw U0([0,Pl,x],1);var F=Po(O);if(Mv===F)return O[1];if(Pk!==F)return O;var K=O[1];O[1]=gb0;try{var U=l(K,0);return GY(O,U),U}catch(Q){var V=O2(Q);throw O[1]=function($){throw U0(V,0)},U0(V,0)}}}(a,c)]);var _=a;break;default:var p=function(j){throw U0([0,Pl,x],1)},_=[0,p,p,p,0]}else var _=v[0]===0?Yq(x,v[1]):v[1];t[1+c]=_;var y=c+1|0;if(u===c)break;var c=y}return t}function zq(x,r,e){if(Po(e)===0&&x.length-1<=e.length-1){var t=x.length-1-1|0,u=0;if(t>=0)for(var i=u;;){var c=e[1+i],v=$2(x,i)[1+i];x:if(typeof v=="number"){if(v===2){if(Po(c)===0&&c.length-1===4){for(var a=0,p=r[1+i];;){p[1+a]=c[1+a];var _=a+1|0;if(a===3)break;var a=_}break x}throw U0([0,Ar,FW],1)}r[1+i]=c}else v[0]===0&&zq(v[1],r[1+i],c);var y=i+1|0;if(t===i)break;var i=y}return}throw U0([0,Ar,LW],1)}try{YU("TMPDIR")}catch(x){var Vq=O2(x);if(Vq!==Fc)throw U0(Vq,0)}try{YU("TEMP")}catch(x){var Gq=O2(x);if(Gq!==Fc)throw U0(Gq,0)}I(ZU,AM)&&I(ZU,"Win32");function Mc(x,r){function e(t){return ut(x,t)}return el<=r?(e(po|r>>>18|0),e(y2|(r>>>12|0)&63),e(y2|(r>>>6|0)&63),e(y2|r&63)):mj<=r?(e(Tv|r>>>12|0),e(y2|(r>>>6|0)&63),e(y2|r&63)):y2<=r?(e(dv|r>>>6|0),e(y2|r&63)):e(r)}var ka=[x2,qW,Ts(0)],Wq=0,$q=0,Hq=0,Qq=0,Zq=0,xB=0,rB=0,eB=0,tB=0,nB=0;function h(x){if(x[3]===x[2])return-1;var r=x[1][1+x[3]];return x[3]=x[3]+1|0,r===10&&(x[5]!==0&&(x[5]=x[5]+1|0),x[4]=x[3]),r}function z(x,r){x[9]=x[3],x[10]=x[4],x[11]=x[5],x[12]=r}function kr(x){return x[6]=x[3],x[7]=x[4],x[8]=x[5],z(x,-1)}function d(x){return x[3]=x[9],x[4]=x[10],x[5]=x[11],x[12]}function Zv(x){x[3]=x[6],x[4]=x[7],x[5]=x[8]}function BN(x,r){x[6]=r}function hh(x){return x[3]-x[6]|0}function i2(x){var r=x[3]-x[6]|0,e=x[6],t=x[1];return 0<=e&&0<=r&&(t.length-1-r|0)>=e?uY(t,e,r):B1(Az)}function uB(x){var r=x[6];return $2(x[1],r)[1+r]}function zl(x,r,e,t){for(var u=[0,r],i=[0,e],c=[0,0];;){if(0>=i[1])return c[1];var v=x[1+u[1]];if(0>v)throw U0(ka,1);if(Yr>>18|0),Vr(t,c[1]+1|0,y2|(v>>>12|0)&63),Vr(t,c[1]+2|0,y2|(v>>>6|0)&63),Vr(t,c[1]+3|0,y2|v&63),c[1]=c[1]+4|0}else Vr(t,c[1],Tv|v>>>12|0),Vr(t,c[1]+1|0,y2|(v>>>6|0)&63),Vr(t,c[1]+2|0,y2|v&63),c[1]=c[1]+3|0;else Vr(t,c[1],dv|v>>>6|0),Vr(t,c[1]+1|0,y2|v&63),c[1]=c[1]+2|0;else Vr(t,c[1],v),c[1]++;u[1]++,i[1]+=-1}}function iB(x){for(var r=Nx(x),e=Jv(r,0),t=[0,0],u=[0,0];;){if(t[1]>=r)return[0,e,u[1],nB,tB,eB,rB,xB,Zq,Qq,Hq,$q,Wq];var i=F0(x,t[1]);x:{if(dv<=i){if(po>i){if(Tv>i){var c=F0(x,t[1]+1|0);if((c>>>6|0)!==2)throw U0(ka,1);e[1+u[1]]=(i&31)<<6|c&63,t[1]=t[1]+2|0;break x}var v=F0(x,t[1]+1|0),a=F0(x,t[1]+2|0),p=(i&15)<<12|(v&63)<<6|a&63,_=(v>>>6|0)!==2?1:0,y=_||((a>>>6|0)!==2?1:0);if(y)var E=y;else var S=55296<=p?1:0,E=S&&(p<=57343?1:0);if(E)throw U0(ka,1);e[1+u[1]]=p,t[1]=t[1]+3|0;break x}if(x2>i){var j=F0(x,t[1]+1|0),C=F0(x,t[1]+2|0),P=F0(x,t[1]+3|0),O=(j>>>6|0)!==2?1:0;if(O)var K=O;else var F=(C>>>6|0)!==2?1:0,K=F||((P>>>6|0)!==2?1:0);if(K)throw U0(ka,1);var U=(i&7)<<18|(j&63)<<12|(C&63)<<6|P&63;if(d8i){e[1+u[1]]=i,t[1]++;break x}throw U0(ka,1)}u[1]++}}function Vl(x,r,e){var t=x[6]+r|0,u=T2(e*4|0),i=x[1];if((t+e|0)<=i.length-1)return Vv(u,0,zl(i,t,e,u));throw U0([0,Ar,UW],1)}function Ox(x){var r=x[6],e=x[3]-r|0,t=T2(e*4|0);return Vv(t,0,zl(x[1],r,e,t))}function dh(x,r){var e=x[6],t=x[3]-e|0,u=T2(t*4|0);return kN(r,u,0,zl(x[1],e,t,u))}function Gl(x){var r=x.length-1,e=T2(r*4|0);return Vv(e,0,zl(x,0,r,e))}function fB(x,r){x[3]=x[3]-r|0}function Uc(x){return typeof x=="number"?0:x[0]===0?1:x[1]}function Ro(x,r,e,t){var u=Uc(x),i=Uc(t),c=i<=u?u+1|0:i+1|0;return c===1?[0,r,e]:[1,c,r,e,x,t]}function yh(x,r,e,t){var u=Uc(x),i=Uc(t),c=i<=u?u+1|0:i+1|0;return[1,c,r,e,x,t]}function cB(x,r,e,t){var u=Uc(x),i=Uc(t);if((i+2|0)=i)return Ro(x,r,e,t);var C=t[5],P=t[4],O=t[3],F=t[2],K=Uc(P);if(K<=Uc(C))return yh(Ro(x,r,e,P),F,O,C);var U=P[4],V=P[3],Q=P[2],$=Ro(P[5],F,O,C);return yh(Ro(x,r,e,U),Q,V,$)}var Yb0=0;function ma(x){return typeof x=="number"?0:x[0]===0?1:x[1]}function Ds(x,r,e){x:{r:{if(typeof x=="number"){if(typeof e=="number")return[0,r];if(e[0]===1)break r}else{if(x[0]!==0){var t=x[1];if(typeof e!="number"&&e[0]===1){var u=e[1],i=u<=t?t+1|0:u+1|0;return[1,i,r,x,e]}var c=t;break x}if(typeof e!="number"&&e[0]===1)break r}return[1,2,r,x,e]}var c=e[1]}return[1,c+1|0,r,x,e]}function gh(x,r,e){var t=ma(x),u=ma(e),i=u<=t?t+1|0:u+1|0;return[1,i,r,x,e]}function sB(x,r,e){var t=ma(x),u=ma(e);if((u+2|0)=u)return Ds(x,r,e);var S=e[4],E=e[3],j=e[2],C=ma(E);if(C<=ma(S))return gh(Ds(x,r,E),j,S);var P=E[3],O=E[2],F=Ds(E[4],j,S);return gh(Ds(x,r,P),O,F)}var XN=0;function aB(x){function r(e,t){if(typeof t=="number")return[0,e];if(t[0]===0){var u=t[1],i=k(x[1],e,u);return i===0?t:0<=i?Ds(t,e,XN):Ds([0,e],u,XN)}var c=t[4],v=t[3],a=t[2],p=k(x[1],e,a);if(p===0)return t;if(0<=p){var _=r(e,c);return c===_?t:sB(v,a,_)}var y=r(e,v);return v===y?t:sB(y,a,c)}return[0,XN,,function(e,t){for(var u=t;;){if(typeof u=="number")return 0;if(u[0]===0)return k(x[1],e,u[1])===0?1:0;var i=u[4],c=u[3],v=k(x[1],e,u[2]),a=v===0?1:0;if(a)return a;var p=0<=v?i:c,u=p}},r]}function oB(x){switch(x[0]){case 0:return 1;case 1:return 2;case 2:return 2;default:return 3}}function Cx(x,r){if(!r)return r;var e=r[1],t=l(x,e);return e===t?r:[0,t]}function R0(x,r,e,t,u){var i=k(x,r,e);return e===i?t:u(i)}function I0(x,r,e,t){var u=l(x,r);return r===u?e:t(u)}function X2(x,r){var e=r[1],t=r[2];return R0(x,e,t,r,function(u){return[0,e,u]})}function vB(x,r){return Cx(function(e){var t=e[1],u=e[2];return R0(x,t,u,e,function(i){return[0,t,i]})},r)}function wr(x,r){var e=u1(function(u,i){var c=u[2],v=u[1],a=l(x,i),p=c||(a!==i?1:0);return[0,[0,a,v],p]},h$,r),t=e[1];return e[2]?vx(t):r}var JN=ph(y$,function(x){var r=DN(x,d$),e=r[1],t=r[2],u=r[3],i=r[4],c=r[5],v=r[6],a=r[7],p=r[8],_=r[9],y=r[10],S=r[11],E=r[12],j=r[13],C=r[14],P=r[15],O=r[16],F=r[17],K=r[18],U=r[19],V=r[20],Q=r[21],$=r[22],x0=r[23],e0=r[24],Z=r[25],c0=r[26],d0=r[27],n0=r[28],P0=r[29],h0=r[30],g0=r[31],v0=r[32],p0=r[33],w0=r[34],T0=r[35],E0=r[36],N0=r[37],X0=r[38],A0=r[39],rx=r[40],B=r[41],G0=r[42],W0=r[43],Y0=r[44],V0=r[45],ex=r[46],Q0=r[47],S0=r[48],q0=r[49],yx=r[50],cx=r[51],Dx=r[52],Ix=r[53],Xx=r[54],Z0=r[55],rr=r[56],xr=r[57],fr=r[59],Hx=r[60],Y=r[61],jx=r[62],hr=r[63],Yx=r[64],Ur=r[65],px=r[66],w=r[67],L=r[68],L0=r[69],sx=r[70],lx=r[71],ax=r[72],Vx=r[73],_x=r[74],zx=r[75],Lx=r[76],M0=r[77],qr=r[78],Ex=r[79],$0=r[80],Gx=r[81],j0=r[82],cr=r[83],tx=r[84],Mx=r[85],b2=r[86],Ux=r[87],c1=r[88],Rr=r[89],U2=r[90],g=r[91],G=r[92],H=r[93],l0=r[94],J=r[95],s0=r[96],_0=r[97],y0=r[98],J0=r[99],Rx=r[et],kx=r[yt],Jx=r[S1],gr=r[Ze],Zx=r[_t],er=r[gt],Fr=r[z2],hx=r[$f],z1=r[R7],Ks=r[Ni],un=r[j2],fn=r[zt],Go=r[ue],Wo=r[Dr],$o=r[ia],Na=r[Ov],Ho=r[ua],st=r[B3],Ys=r[kv],Oa=r[Ev],Ca=r[of],at=r[rl],Gc=r[r2],_r=r[Vt],Da=r[Cv],Ra=r[ms],Qo=r[Bp],Fa=r[Yr],zs=r[y2],La=r[dl],Vs=r[kl],ot=r[_4],K2=r[hl],Wc=r[$D],cn=r[CL],Gs=r[sU],Ma=r[UF],Ws=r[FR],Ua=r[U_],qa=r[gF],Ba=r[kM],vt=r[141],Xa=r[142],Ja=r[143],Zo=r[144],xv=r[145],y3=r[146],sn=r[147],rv=r[148],an=r[EL],Ka=r[ZF],O6=r[151],$s=r[152],C6=r[153],D6=r[154],Xd=r[155],Jd=r[156],Kd=r[157],R6=r[158],F6=r[159],L6=r[GF],g3=r[kT],Yd=r[JF],zd=r[DM],X=r[yF],A=r[vj],D=r[DF],u0=r[rM],k0=r[Ub],C0=r[v8],nx=r[Wp],Sx=r[My],Px=r[FF],qx=r[RL],lr=r[nU],tr=r[tR],br=r[Sb],pr=r[bR],ur=r[cI],Tr=r[UD],Br=r[zF],Or=r[NP],Wr=r[u9],Pr=r[lj],t2=r[tm],p2=r[eF],o2=r[P4],n2=r[iE],c2=r[gL],w2=r[Lw],k2=r[_R],v2=r[iL],q2=r[dv],s1=r[JR],O1=r[E9],xe=r[BR],sr=r[DL],Xr=r[lR],Cr=r[QM],Jr=r[lL],bx=r[IP],le=r[JD],pe=r[cM],Re=r[WM],b1=r[WR],$r=r[UM],re=r[Zb],x1=r[cU],C1=r[mM],w1=r[IR],lt=r[xU],Rt=r[m_],Fe=r[rL],D1=r[LD],Le=r[eM],ke=r[Rb],ee=r[HI],a1=r[FL],Me=r[qM],V1=r[iM],Ft=r[jL],Ue=r[$F],qe=r[GD],r1=r[ak],T1=r[Tv],Be=r[AL],$c=r[MF],Hc=r[rU],Qc=r[IL],me=r[_M],Xe=r[NF],Lt=r[fL],Je=r[aU],E1=r[bF],on=r[lU],vn=r[NM],Zc=r[KM],Ke=r[ML],Ye=r[aF],ln=r[Gk],pn=r[po],he=r[RD],kn=r[hM],Hs=r[KL],xs=r[OI],Qs=r[LF],Ya=r[Pk],za=r[xl],ev=r[x2],tv=r[ly],nv=r[Mv],Zs=r[_L],_3=r[go],b3=r[i8],rs=r[Pv],Va=r[m4],uv=r[gv],w3=r[257],es=r[vL],iv=r[v_],fv=r[GR],xa=r[261],T3=r[wF],E3=r[263],S3=r[264],mn=r[265],A3=r[266],I3=r[GM],hn=r[zM],ts=r[269],j3=r[270],P3=r[271],Ga=r[$L],Wa=r[273],$a=r[pL],cv=r[275],Mt=r[276],de=r[277],te=r[lM],pt=r[279],ra=r[280],N3=r[ay],ea=r[282],ns=r[yL],ye=r[YF],sv=r[285],O3=r[286],Vd=r[287],Gd=r[JM],Wd=r[289],$d=r[kR],M6=r[jR],RC=r[58];function FC(n,s,f){var o=f[2],m=f[1],b=f[4],T=f[3],N=Cx(l(n[1][1+bx],n),m),q=k(n[1][1+B],n,o);return o===q&&m===N?f:[0,N,q,T,b]}function LC(n,s,f){var o=f[4],m=f[3],b=f[2],T=f[1],N=k(n[1][1+pt],n,T),q=Cx(l(n[1][1+F],n),b),i0=k(n[1][1+n0],n,m),o0=k(n[1][1+B],n,o);return T===N&&m===i0&&b===q&&o===o0?f:[0,N,q,i0,o0]}function MC(n,s,f){var o=f[3],m=f[2],b=f[1],T=k(n[1][1+bx],n,b),N=k(n[1][1+q0],n,m),q=k(n[1][1+B],n,o);return b===T&&m===N&&o===q?f:[0,T,N,q]}function UC(n,s,f){var o=f[3],m=f[2],b=f[1],T=k(n[1][1+Hx],n,b),N=k(n[1][1+q0],n,m),q=k(n[1][1+B],n,o);return b===T&&m===N&&o===q?f:[0,T,N,q]}function qC(n,s,f){var o=f[2],m=o[2],b=o[1],T=f[1],N=B0(n[1][1+v],n,s,b),q=Cx(l(n[1][1+bx],n),m);return b===N&&m===q?f:[0,T,[0,N,q]]}function Hd(n,s,f){var o=f[3],m=f[2],b=f[1],T=wr(k(n[1][1+a],n,m),b),N=k(n[1][1+B],n,o);return b===T&&o===N?f:[0,T,m,N]}function Qd(n,s,f){var o=f[4],m=f[2],b=k(n[1][1+bx],n,m),T=k(n[1][1+B],n,o);return m===b&&o===T?f:[0,f[1],b,f[3],T]}function BC(n,s,f){var o=f[3],m=f[2],b=k(n[1][1+bx],n,m),T=k(n[1][1+B],n,o);return m===b&&o===T?f:[0,f[1],b,T]}function XC(n,s,f){var o=f[3],m=f[2],b=f[1],T=k(n[1][1+bx],n,b),N=k(n[1][1+c0],n,m),q=k(n[1][1+B],n,o);return T===b&&Xv(N,m)&&q===o?f:[0,T,N,q]}function JC(n,s,f){var o=f[3],m=f[2],b=f[1],T=k(n[1][1+bx],n,b),N=k(n[1][1+c0],n,m),q=k(n[1][1+B],n,o);return T===b&&N===m&&q===o?f:[0,T,N,q]}function KC(n,s,f){var o=f[4],m=f[3],b=f[2],T=f[1],N=X2(l(n[1][1+te],n),T);if(b)var q=b[1],i0=q[1],o0=q[2],O0=function(d2){return[0,[0,i0,d2]]},K0=R0(l(n[1][1+j3],n),i0,o0,b,O0);else var K0=b;if(m)var Ax=m[1],ux=Ax[1],Kr=Ax[2],m2=function(d2){return[0,[0,ux,d2]]},s2=R0(l(n[1][1+te],n),ux,Kr,m,m2);else var s2=m;var h2=k(n[1][1+B],n,o);return T===N&&b===K0&&m===s2&&o===h2?f:[0,N,K0,s2,h2]}function C3(n,s,f){var o=f[2],m=f[1],b=k(n[1][1+bx],n,m),T=k(n[1][1+B],n,o);return m===b&&o===T?f:[0,b,T]}function Zd(n,s,f){var o=f[1],m=k(n[1][1+B],n,o);return o===m?f:[0,m]}function YC(n,s){return s}function zC(n,s,f){var o=f[3],m=f[2],b=f[1],T=wr(l(n[1][1+X0],n),b),N=wr(l(n[1][1+bx],n),m),q=k(n[1][1+B],n,o);return b===T&&m===N&&o===q?f:[0,T,N,q]}function VC(n,s,f){var o=f[3],m=f[2],b=f[1],T=k(n[1][1+bx],n,b),N=X2(l(n[1][1+A0],n),m),q=k(n[1][1+B],n,o);return b===T&&m===N&&o===q?f:[0,T,N,q]}function x5(n,s){var f=s[2],o=f[3],m=f[2],b=f[1],T=s[1],N=Cx(l(n[1][1+bx],n),b),q=k(n[1][1+Q0],n,m),i0=k(n[1][1+B],n,o);return b===N&&m===q&&o===i0?s:[0,T,[0,N,q,i0]]}function r5(n,s,f){var o=f[3],m=f[2],b=f[1],T=f[4],N=k(n[1][1+bx],n,b),q=wr(l(n[1][1+W0],n),m),i0=k(n[1][1+B],n,o);return b===N&&m===q&&o===i0?f:[0,N,q,i0,T]}function GC(n,s,f){var o=f[1],m=k(n[1][1+B],n,o);return o===m?f:[0,m]}function av(n,s){var f=s[2],o=f[2],m=f[1],b=s[1],T=k(n[1][1+bx],n,m),N=k(n[1][1+B],n,o);return m===T&&o===N?s:[0,b,[0,T,N]]}function e5(n,s){var f=s[2],o=f[2],m=f[1],b=s[1],T=k(n[1][1+bx],n,m),N=k(n[1][1+B],n,o);return m===T&&o===N?s:[0,b,[0,T,N]]}function t5(n,s){return[0,k(n[1][1+q0],n,s),0]}function WC(n,s){var f=l(n[1][1+S0],n),o=u1(function(b,T){var N=b[2],q=b[1],i0=l(f,T);if(!i0)return[0,q,1];if(i0[2])return[0,zv(i0,q),1];var o0=i0[1],O0=N||(T!==o0?1:0);return[0,[0,o0,q],O0]},m$,s),m=o[1];return o[2]?vx(m):s}function $C(n,s){return k(n[1][1+Q0],n,s)}function HC(n,s,f){var o=f[2],m=f[1],b=wr(l(n[1][1+bx],n),m),T=k(n[1][1+B],n,o);return m===b&&o===T?f:[0,b,T]}function U6(n,s,f){var o=f[2],m=f[1],b=f[3],T=Cx(l(n[1][1+bx],n),m),N=k(n[1][1+B],n,o);return m===T&&o===N?f:[0,T,N,b]}function QC(n,s){var f=s[2],o=f[2],m=f[1],b=s[1],T=k(n[1][1+ur],n,m),N=k(n[1][1+B],n,o);return m===T&&o===N?s:[0,b,[0,T,N]]}function n5(n,s){var f=s[2],o=f[3],m=f[2],b=m[2],T=m[1],N=f[1],q=s[1],i0=k(n[1][1+A],n,T),o0=Cx(l(n[1][1+n0],n),b),O0=k(n[1][1+B],n,o);return i0===T&&o0===b&&O0===o?s:[0,q,[0,N,[0,i0,o0],O0]]}function ZC(n,s){var f=s[2],o=s[1],m=k(n[1][1+$],n,f);return Xv(m,f)?s:[0,o,m]}function u5(n,s){return k(n[1][1+bx],n,s)}function q6(n,s){var f=s[2],o=f[2],m=f[1],b=s[1];if(m)var T=m[1],N=function(o0){return[0,o0]},q=I0(l(n[1][1+bx],n),T,m,N);else var q=m;var i0=k(n[1][1+B],n,o);return m===q&&o===i0?s:[0,b,[0,q,i0]]}function i5(n,s){return k(n[1][1+bx],n,s)}function xD(n,s,f){return B0(n[1][1+cr],n,s,f)}function f5(n,s,f){var o=f[2],m=o[2],b=o[1],T=f[1],N=B0(n[1][1+qr],n,s,b),q=k(n[1][1+B],n,m);return N===b&&m===q?f:[0,T,[0,N,q]]}function B6(n,s,f){return B0(n[1][1+cr],n,s,f)}function rD(n,s,f){var o=f[2],m=o[2],b=o[1],T=f[1],N=B0(n[1][1+$0],n,s,b),q=k(n[1][1+r1],n,m);return b===N&&m===q?f:[0,T,[0,N,q]]}function X6(n,s,f){switch(f[0]){case 0:var o=f[1],m=function(N){return[0,N]};return I0(k(n[1][1+Gx],n,s),o,f,m);case 1:var b=f[1],T=function(N){return[1,N]};return I0(k(n[1][1+Ex],n,s),b,f,T);default:return f}}function eD(n,s,f){return B0(n[1][1+cr],n,s,f)}function tD(n,s,f){return B0(n[1][1+cr],n,s,f)}function nD(n,s,f){var o=f[2],m=o[2],b=o[1],T=f[1],N=B0(n[1][1+hr],n,s,b),q=k(n[1][1+B],n,m);return N===b&&m===q?f:[0,T,[0,N,q]]}function c5(n,s,f){return k(n[1][1+pn],n,f)}function uD(n,s,f){return B0(n[1][1+zx],n,s,f)}function J6(n,s,f){var o=f[1],m=f[2];function b(T){return[0,o,T]}return R0(k(n[1][1+M0],n,s),o,m,f,b)}function iD(n,s,f){var o=f[1],m=f[2];function b(T){return[0,o,T]}return R0(k(n[1][1+_x],n,s),o,m,f,b)}function fD(n,s,f){var o=f[1],m=f[2];function b(T){return[0,o,T]}return R0(k(n[1][1+jx],n,s),o,m,f,b)}function cD(n,s,f){switch(f[0]){case 0:var o=f[1],m=function(Ax){return[0,Ax]};return I0(k(n[1][1+Ur],n,s),o,f,m);case 1:var b=f[1],T=function(Ax){return[1,Ax]};return I0(k(n[1][1+w],n,s),b,f,T);case 2:var N=f[1],q=function(Ax){return[2,Ax]};return I0(k(n[1][1+lx],n,s),N,f,q);case 3:var i0=f[1],o0=function(Ax){return[3,Ax]};return I0(k(n[1][1+L0],n,s),i0,f,o0);default:var O0=f[1],K0=function(Ax){return[4,Ax]};return I0(k(n[1][1+sx],n,s),O0,f,K0)}}function s5(n,s,f){var o=f[2],m=o[4],b=o[3],T=o[2],N=o[1],q=f[1],i0=B0(n[1][1+L],n,s,N),o0=B0(n[1][1+px],n,s,T),O0=k(n[1][1+r1],n,b);x:if(m){if(i0[0]===3){var K0=o0[2];if(K0[0]===2){var ux=Sr(i0[1][2][1],K0[1][1][2][1]);break x}}var Ax=N===i0?1:0,ux=Ax&&(T===o0?1:0)}else var ux=m;return i0===N&&o0===T&&O0===b&&m===ux?f:[0,q,[0,i0,o0,O0,ux]]}function sD(n,s,f){if(f[0]===0){var o=f[1],m=function(N){return[0,N]};return I0(k(n[1][1+ax],n,s),o,f,m)}var b=f[1];function T(N){return[1,N]}return I0(k(n[1][1+Yx],n,s),b,f,T)}function D3(n,s,f,o){return B0(n[1][1+ea],n,f,o)}function aD(n,s,f,o){return B0(n[1][1+hx],n,f,o)}function oD(n,s,f,o){return B0(n[1][1+ex],n,f,o)}function vD(n,s,f){return k(n[1][1+A],n,f)}function lD(n,s,f){var o=f[2],m=f[1];switch(o[0]){case 0:var b=o[1],T=b[3],N=b[2],q=b[1],i0=wr(k(n[1][1+Vx],n,s),q),o0=k(n[1][1+Z],n,N),O0=k(n[1][1+B],n,T);x:{if(i0===q&&o0===N&&O0===T){var K0=o;break x}var K0=[0,[0,i0,o0,O0]]}var He=K0;break;case 1:var Ax=o[1],ux=Ax[3],Kr=Ax[2],m2=Ax[1],s2=wr(k(n[1][1+j0],n,s),m2),h2=k(n[1][1+Z],n,Kr),d2=k(n[1][1+B],n,ux);x:{if(ux===d2&&s2===m2&&h2===Kr){var o1=o;break x}var o1=[1,[0,s2,h2,d2]]}var He=o1;break;case 2:var ge=o[1],ze=ge[2],Ve=ge[1],kt=ge[3],Ge=B0(n[1][1+zx],n,s,Ve),We=k(n[1][1+Z],n,ze);x:{if(Ve===Ge&&ze===We){var $e=o;break x}var $e=[2,[0,Ge,We,kt]]}var He=$e;break;default:var us=o[1],is=function(fs){return[3,fs]},He=I0(l(n[1][1+Lx],n),us,o,is)}return o===He?f:[0,m,He]}function pD(n,s){return B0(n[1][1+cr],n,0,s)}function K6(n,s,f){var o=s?s[1]:0;return B0(n[1][1+cr],n,[0,o],f)}function kD(n,s){return k(n[1][1+ns],n,s)}function mD(n,s){return k(n[1][1+ns],n,s)}function hD(n,s){return B0(n[1][1+ra],n,k$,s)}function Y6(n,s,f){return B0(n[1][1+ra],n,[0,s],f)}function dD(n,s){return B0(n[1][1+ra],n,p$,s)}function yD(n,s,f){var o=f[5],m=f[4],b=f[3],T=f[2],N=f[1],q=k(n[1][1+pt],n,N),i0=Cx(l(n[1][1+F],n),T),o0=Cx(l(n[1][1+n0],n),b),O0=Cx(l(n[1][1+n0],n),m),K0=k(n[1][1+B],n,o);return N===q&&b===o0&&T===i0&&b===o0&&m===O0&&o===K0?f:[0,q,i0,o0,O0,K0]}function gD(n,s){return k(n[1][1+pn],n,s)}function z6(n,s){return k(n[1][1+A],n,s)}function V6(n,s){var f=s[1],o=s[2];function m(b){return[0,f,b]}return R0(l(n[1][1+ea],n),f,o,s,m)}function R3(n,s){var f=s[1],o=s[2];function m(b){return[0,f,b]}return R0(l(n[1][1+hx],n),f,o,s,m)}function F3(n,s){var f=s[1],o=s[2];function m(b){return[0,f,b]}return R0(l(n[1][1+ex],n),f,o,s,m)}function a5(n,s){switch(s[0]){case 0:var f=s[1],o=function(ux){return[0,ux]};return I0(l(n[1][1+_0],n),f,s,o);case 1:var m=s[1],b=function(ux){return[1,ux]};return I0(l(n[1][1+y0],n),m,s,b);case 2:var T=s[1],N=function(ux){return[2,ux]};return I0(l(n[1][1+kx],n),T,s,N);case 3:var q=s[1],i0=function(ux){return[3,ux]};return I0(l(n[1][1+J0],n),q,s,i0);case 4:var o0=s[1],O0=function(ux){return[4,ux]};return I0(l(n[1][1+fr],n),o0,s,O0);default:var K0=s[1],Ax=function(ux){return[5,ux]};return I0(l(n[1][1+Rx],n),K0,s,Ax)}}function _D(n,s){var f=s[2],o=s[1];switch(f[0]){case 0:var m=f[3],b=f[2],T=f[1],N=k(n[1][1+Jx],n,T),q=k(n[1][1+bx],n,b);x:if(m){if(N[0]===3){var i0=q[2];if(i0[0]===10){var O0=Sr(N[1][2][1],i0[1][2][1]);break x}}var o0=T===N?1:0,O0=o0&&(b===q?1:0)}else var O0=m;return T===N&&b===q&&m===O0?s:[0,o,[0,N,q,O0]];case 1:var K0=f[2],Ax=f[1],ux=k(n[1][1+Jx],n,Ax),Kr=X2(l(n[1][1+Or],n),K0);return Ax===ux&&K0===Kr?s:[0,o,[1,ux,Kr]];case 2:var m2=f[3],s2=f[2],h2=f[1],d2=k(n[1][1+Jx],n,h2),o1=X2(l(n[1][1+Or],n),s2),ge=k(n[1][1+B],n,m2);return h2===d2&&s2===o1&&m2===ge?s:[0,o,[2,d2,o1,ge]];default:var ze=f[3],Ve=f[2],kt=f[1],Ge=k(n[1][1+Jx],n,kt),We=X2(l(n[1][1+Or],n),Ve),$e=k(n[1][1+B],n,ze);return kt===Ge&&Ve===We&&ze===$e?s:[0,o,[3,Ge,We,$e]]}}function bD(n,s,f){var o=f[2],m=f[1],b=wr(function(N){if(N[0]===0){var q=N[1],i0=k(n[1][1+J],n,q);return q===i0?N:[0,i0]}var o0=N[1],O0=k(n[1][1+yx],n,o0);return o0===O0?N:[1,O0]},m),T=k(n[1][1+B],n,o);return m===b&&o===T?f:[0,b,T]}function wD(n,s,f){var o=f[4],m=f[3],b=f[2],T=f[1],N=k(n[1][1+bx],n,T),q=Cx(l(n[1][1+Ga],n),b),i0=Cx(l(n[1][1+M6],n),m),o0=k(n[1][1+B],n,o);return T===N&&b===q&&m===i0&&o===o0?f:[0,N,q,i0,o0]}function o5(n,s,f){var o=f[3],m=f[2],b=f[1],T=k(n[1][1+A],n,b),N=k(n[1][1+A],n,m),q=k(n[1][1+B],n,o);return b===T&&m===N&&o===q?f:[0,T,N,q]}function v5(n,s){return k(n[1][1+bx],n,s)}function TD(n,s){return k(n[1][1+fr],n,s)}function DT0(n,s){return k(n[1][1+A],n,s)}function RT0(n,s){switch(s[0]){case 0:var f=s[1],o=function(q){return[0,q]};return I0(l(n[1][1+$o],n),f,s,o);case 1:var m=s[1],b=function(q){return[1,q]};return I0(l(n[1][1+st],n),m,s,b);default:var T=s[1],N=function(q){return[2,q]};return I0(l(n[1][1+Na],n),T,s,N)}}function FT0(n,s,f){var o=f[1],m=B0(n[1][1+Ys],n,s,o);return o===m?f:[0,m,f[2],f[3]]}function LT0(n,s,f){var o=f[3],m=f[2],b=f[1],T=k(n[1][1+bx],n,b),N=k(n[1][1+Ho],n,m),q=k(n[1][1+B],n,o);return b===T&&m===N&&o===q?f:[0,T,N,q]}function MT0(n,s,f){var o=f[4],m=f[3],b=f[2],T=k(n[1][1+bx],n,b),N=k(n[1][1+bx],n,m),q=k(n[1][1+B],n,o);return b===T&&m===N&&o===q?f:[0,f[1],T,N,q]}function UT0(n,s,f){var o=f[3],m=f[2],b=f[1],T=k(n[1][1+at],n,b),N=k(n[1][1+q0],n,m),q=k(n[1][1+B],n,o);return b===T&&m===N&&o===q?f:[0,T,N,q]}function qT0(n,s){var f=s[2],o=f[2],m=f[1],b=s[1],T=k(n[1][1+B],n,o);return o===T?s:[0,b,[0,m,T]]}function BT0(n,s){return k(n[1][1+Ma],n,s)}function XT0(n,s){if(s[0]===0){var f=s[1],o=function(T){return[0,T]};return I0(l(n[1][1+La],n),f,s,o)}var m=s[1];function b(T){return[1,T]}return I0(l(n[1][1+Vs],n),m,s,b)}function JT0(n,s){var f=s[2],o=f[2],m=f[1],b=s[1],T=k(n[1][1+zs],n,m),N=k(n[1][1+ot],n,o);return m===T&&o===N?s:[0,b,[0,T,N]]}function KT0(n,s){var f=s[2],o=f[2],m=f[1],b=s[1],T=k(n[1][1+ot],n,m),N=k(n[1][1+ot],n,o);return m===T&&o===N?s:[0,b,[0,T,N]]}function YT0(n,s){return k(n[1][1+Vs],n,s)}function zT0(n,s){return k(n[1][1+Fa],n,s)}function VT0(n,s){return k(n[1][1+ot],n,s)}function GT0(n,s){switch(s[0]){case 0:var f=s[1],o=function(q){return[0,q]};return I0(l(n[1][1+Ma],n),f,s,o);case 1:var m=s[1],b=function(q){return[1,q]};return I0(l(n[1][1+cn],n),m,s,b);default:var T=s[1],N=function(q){return[2,q]};return I0(l(n[1][1+Gs],n),T,s,N)}}function WT0(n,s){var f=s[2],o=s[1],m=k(n[1][1+bx],n,o),b=k(n[1][1+B],n,f);return o===m&&f===b?s:[0,m,b]}function $T0(n,s,f){var o=f[2],m=f[1],b=k(n[1][1+B],n,o);if(!m)return o===b?f:[0,0,b];var T=m[1],N=k(n[1][1+bx],n,T);return T===N&&o===b?f:[0,[0,N],b]}function HT0(n,s){var f=s[2],o=s[1];switch(f[0]){case 0:var m=f[1],b=function(K0){return[0,o,[0,K0]]};return R0(l(n[1][1+Ua],n),o,m,s,b);case 1:var T=f[1],N=function(K0){return[0,o,[1,K0]]};return R0(l(n[1][1+K2],n),o,T,s,N);case 2:var q=f[1],i0=function(K0){return[0,o,[2,K0]]};return R0(l(n[1][1+Wc],n),o,q,s,i0);case 3:var o0=f[1],O0=function(K0){return[0,o,[3,K0]]};return I0(l(n[1][1+_r],n),o0,s,O0);default:return s}}function QT0(n,s){var f=s[2],o=s[1],m=wr(l(n[1][1+vt],n),f);return f===m?s:[0,o,m]}function ZT0(n,s,f){return B0(n[1][1+ex],n,s,f)}function xE0(n,s,f){return B0(n[1][1+Wc],n,s,f)}function rE0(n,s){if(s[0]===0){var f=s[1],o=f[1],m=f[2],b=function(o0){return[0,[0,o,o0]]};return R0(l(n[1][1+Xa],n),o,m,s,b)}var T=s[1],N=T[1],q=T[2];function i0(o0){return[1,[0,N,o0]]}return R0(l(n[1][1+Ja],n),N,q,s,i0)}function eE0(n,s){return k(n[1][1+Fa],n,s)}function tE0(n,s){return k(n[1][1+ot],n,s)}function nE0(n,s){if(s[0]===0){var f=s[1],o=function(T){return[0,T]};return I0(l(n[1][1+y3],n),f,s,o)}var m=s[1];function b(T){return[1,T]}return I0(l(n[1][1+xv],n),m,s,b)}function uE0(n,s){var f=s[2],o=f[2],m=f[1],b=s[1],T=k(n[1][1+sn],n,m),N=Cx(l(n[1][1+Zo],n),o);return m===T&&o===N?s:[0,b,[0,T,N]]}function iE0(n,s,f){var o=f[2],m=f[1],b=k(n[1][1+bx],n,m),T=k(n[1][1+B],n,o);return m===b&&o===T?f:[0,b,T]}function fE0(n,s){if(s[0]===0){var f=s[1],o=function(q){return[0,q]};return I0(l(n[1][1+rv],n),f,s,o)}var m=s[1],b=m[1],T=m[2];function N(q){return[1,[0,b,q]]}return R0(l(n[1][1+Da],n),b,T,s,N)}function cE0(n,s){var f=s[2][1],o=s[1],m=k(n[1][1+Ws],n,f);return f===m?s:[0,o,[0,m]]}function sE0(n,s){var f=s[2],o=f[4],m=f[2],b=f[1],T=f[3],N=s[1],q=k(n[1][1+Ws],n,b),i0=Cx(l(n[1][1+Ga],n),m),o0=wr(l(n[1][1+Qo],n),o);return b===q&&m===i0&&o===o0?s:[0,N,[0,q,i0,T,o0]]}function aE0(n,s,f){var o=f[4],m=f[3],b=k(n[1][1+Ba],n,m),T=k(n[1][1+B],n,o);return m===b&&o===T?f:[0,f[1],f[2],b,T]}function oE0(n,s,f){var o=f[4],m=f[3],b=f[2],T=f[1],N=k(n[1][1+Ra],n,T),q=Cx(l(n[1][1+qa],n),b),i0=k(n[1][1+Ba],n,m),o0=k(n[1][1+B],n,o);return T===N&&b===q&&m===i0&&o===o0?f:[0,N,q,i0,o0]}function vE0(n,s,f,o){var m=2<=s?k(n[1][1+zx],n,l$):l(n[1][1+pt],n);return l(m,o)}function lE0(n,s,f){var o=2<=s?k(n[1][1+zx],n,v$):l(n[1][1+pt],n);return l(o,f)}function pE0(n,s,f){var o=f[3],m=f[2],b=f[1];x:{r:{var T=f[4];if(s){e:{if(b)switch(b[1]){case 0:break r;case 1:break e}if(2<=s){var N=0,q=0;break x}}var N=1,q=0;break x}}var N=1,q=1}var i0=m?k(n[1][1+Z0],n,o):q?k(n[1][1+pt],n,o):B0(n[1][1+zx],n,a$,o);if(m)var o0=m[1],O0=N?l(n[1][1+pt],n):k(n[1][1+zx],n,o$),K0=I0(O0,o0,m,function(Ax){return[0,Ax]});else var K0=0;return m===K0&&o===i0?f:[0,b,K0,i0,T]}function kE0(n,s){return k(n[1][1+A],n,s)}function mE0(n,s,f){if(f[0]===0){var o=f[1],m=wr(k(n[1][1+R6],n,s),o);return o===m?f:[0,m]}var b=f[1],T=b[1],N=b[2];function q(i0){return[1,[0,T,i0]]}return R0(k(n[1][1+Kd],n,s),T,N,f,q)}function hE0(n,s,f){var o=f[3],m=f[2],b=f[1],T=k(n[1][1+B],n,o);return o===T?f:[0,b,m,T]}function dE0(n,s,f){var o=f[5],m=f[4],b=f[3],T=f[2],N=f[1],q=X2(l(n[1][1+Jd],n),T),i0=Cx(k(n[1][1+Xd],n,N),m),o0=Cx(function(K0){var Ax=K0[1],ux=K0[2],Kr=B0(n[1][1+F6],n,N,Ax);return Kr===Ax?K0:[0,Kr,ux]},b),O0=k(n[1][1+B],n,o);return T===q&&m===i0&&b===o0&&o===O0?f:[0,N,q,o0,i0,O0]}function yE0(n,s,f){var o=f[4],m=f[3],b=f[2],T=f[1],N=k(n[1][1+Hx],n,T),q=B0(n[1][1+zd],n,m!==0?1:0,b),i0=l(n[1][1+X],n),o0=Cx(function(K0){return X2(i0,K0)},m),O0=k(n[1][1+B],n,o);return T===N&&b===q&&m===o0&&o===O0?f:[0,N,q,o0,O0]}function gE0(n,s,f){var o=f[2],m=f[1],b=k(n[1][1+q0],n,m),T=k(n[1][1+B],n,o);return m===b&&o===T?f:[0,b,T]}function _E0(n,s,f){return k(n[1][1+q0],n,f)}function bE0(n,s,f){var o=f[2],m=f[1],b=k(n[1][1+bx],n,m),T=k(n[1][1+B],n,o);return m===b&&o===T?f:[0,b,T]}function wE0(n,s){var f=s[2],o=f[2],m=f[1],b=s[1],T=k(n[1][1+bx],n,m),N=k(n[1][1+B],n,o);return m===T&&o===N?s:[0,b,[0,T,N]]}function TE0(n,s){var f=s[2],o=f[2],m=f[1],b=s[1],T=k(n[1][1+B],n,o);return o===T?s:[0,b,[0,m,T]]}function EE0(n,s,f){return B0(n[1][1+$s],n,s,f)}function SE0(n,s,f){var o=f[5],m=f[4],b=f[3],T=f[2],N=f[1],q=k(n[1][1+pt],n,N),i0=Cx(l(n[1][1+F],n),T),o0=l(n[1][1+D],n),O0=wr(function(ux){return X2(o0,ux)},b),K0=X2(l(n[1][1+g],n),m),Ax=k(n[1][1+B],n,o);return q===N&&i0===T&&O0===b&&K0===m&&Ax===o?f:[0,q,i0,O0,K0,Ax]}function AE0(n,s){return k(n[1][1+V],n,s)}function IE0(n,s){return k(n[1][1+V],n,s)}function jE0(n,s){return k(n[1][1+A],n,s)}function PE0(n,s){var f=s[2],o=f[2],m=f[1],b=s[1],T=k(n[1][1+B],n,o);return o===T?s:[0,b,[0,m,T]]}function NE0(n,s){return B0(n[1][1+zx],n,s$,s)}function OE0(n,s){return k(n[1][1+bx],n,s)}function CE0(n,s){var f=s[1],o=s[2];function m(b){return[0,f,b]}return R0(l(n[1][1+te],n),f,o,s,m)}function DE0(n,s){if(s[0]===0){var f=s[1],o=function(T){return[0,T]};return I0(l(n[1][1+p2],n),f,s,o)}var m=s[1];function b(T){return[1,T]}return I0(l(n[1][1+de],n),m,s,b)}function RE0(n,s){switch(s[0]){case 0:return s;case 1:var f=s[1],o=function(T){return[1,T]};return I0(l(n[1][1+c0],n),f,s,o);default:var m=s[1],b=function(T){return[2,T]};return I0(l(n[1][1+Q],n),m,s,b)}}function FE0(n,s){var f=s[2],o=f[2],m=f[1],b=s[1],T=k(n[1][1+ur],n,m),N=k(n[1][1+r1],n,o);return m===T&&o===N?s:[0,b,[0,T,N]]}function LE0(n,s){var f=s[2],o=f[2],m=f[1],b=s[1],T=k(n[1][1+c0],n,m),N=k(n[1][1+B],n,o);return T===m&&N===o?s:[0,b,[0,T,N]]}function ME0(n,s){var f=s[2],o=f[4],m=f[3],b=f[2],T=f[1],N=s[1],q=wr(l(n[1][1+Tr],n),b),i0=Cx(l(n[1][1+tr],n),m),o0=Cx(l(n[1][1+Px],n),T),O0=k(n[1][1+B],n,o);return b===q&&m===i0&&o===O0&&T===o0?s:[0,N,[0,o0,q,i0,O0]]}function UE0(n,s,f){var o=f[10],m=f[9],b=f[8],T=f[7],N=f[3],q=f[2],i0=f[1],o0=f[11],O0=f[6],K0=f[5],Ax=f[4],ux=Cx(l(n[1][1+Br],n),i0),Kr=Cx(l(n[1][1+F],n),m),m2=k(n[1][1+br],n,q),s2=k(n[1][1+qx],n,b),h2=k(n[1][1+t2],n,N),d2=Cx(l(n[1][1+Y],n),T),o1=k(n[1][1+B],n,o);return i0===ux&&q===m2&&N===h2&&T===d2&&b===s2&&m===Kr&&o===o1?f:[0,ux,m2,h2,Ax,K0,O0,d2,s2,Kr,o1,o0]}function qE0(n,s,f){return B0(n[1][1+o2],n,s,f)}function BE0(n,s,f){return B0(n[1][1+Or],n,s,f)}function XE0(n,s,f){return B0(n[1][1+o2],n,s,f)}function JE0(n,s){if(s[0]===0)return s;var f=s[2],o=s[1],m=k(n[1][1+Xx],n,f);return m===f?s:[1,o,m]}function KE0(n,s){if(s[0]===0)return s;var f=s[1];function o(m){return[1,m]}return I0(l(n[1][1+c0],n),f,s,o)}function YE0(n,s){var f=s[2],o=s[1];function m(b){return[0,o,b]}return I0(l(n[1][1+n0],n),f,s,m)}function zE0(n,s){var f=s[2],o=s[1];switch(f[0]){case 0:var m=f[1],b=function(wx){return[0,o,[0,wx]]};return I0(l(n[1][1+B],n),m,s,b);case 1:var T=f[1],N=function(wx){return[0,o,[1,wx]]};return I0(l(n[1][1+B],n),T,s,N);case 2:var q=f[1],i0=function(wx){return[0,o,[2,wx]]};return I0(l(n[1][1+B],n),q,s,i0);case 3:var o0=f[1],O0=function(wx){return[0,o,[3,wx]]};return I0(l(n[1][1+B],n),o0,s,O0);case 4:var K0=f[1],Ax=function(wx){return[0,o,[4,wx]]};return I0(l(n[1][1+B],n),K0,s,Ax);case 5:var ux=f[1],Kr=function(wx){return[0,o,[5,wx]]};return I0(l(n[1][1+B],n),ux,s,Kr);case 6:var m2=f[1],s2=function(wx){return[0,o,[6,wx]]};return I0(l(n[1][1+B],n),m2,s,s2);case 7:var h2=f[1],d2=function(wx){return[0,o,[7,wx]]};return I0(l(n[1][1+B],n),h2,s,d2);case 8:var o1=f[2],ge=f[1],ze=function(wx){return[0,o,[8,ge,wx]]};return I0(l(n[1][1+B],n),o1,s,ze);case 9:var Ve=f[1],kt=function(wx){return[0,o,[9,wx]]};return I0(l(n[1][1+B],n),Ve,s,kt);case 10:var Ge=f[1],We=function(wx){return[0,o,[10,wx]]};return I0(l(n[1][1+B],n),Ge,s,We);case 11:var $e=f[1],us=function(wx){return[0,o,[11,wx]]};return I0(l(n[1][1+z1],n),$e,s,us);case 12:var is=f[1],He=function(wx){return[0,o,[12,wx]]};return R0(l(n[1][1+nx],n),o,is,s,He);case 13:var fs=f[1],Ha=function(wx){return[0,o,[13,wx]]};return R0(l(n[1][1+xs],n),o,fs,s,Ha);case 14:var Qa=f[1],Za=function(wx){return[0,o,[14,wx]]};return R0(l(n[1][1+g],n),o,Qa,s,Za);case 15:var xo=f[1],G6=function(wx){return[0,o,[15,wx]]};return R0(l(n[1][1+Ka],n),o,xo,s,G6);case 16:var W6=f[1],$6=function(wx){return[0,o,[16,wx]]};return I0(l(n[1][1+Gd],n),W6,s,$6);case 17:var H6=f[1],Q6=function(wx){return[0,o,[17,wx]]};return I0(l(n[1][1+Ye],n),H6,s,Q6);case 18:var Z6=f[1],xp=function(wx){return[0,o,[18,wx]]};return I0(l(n[1][1+C6],n),Z6,s,xp);case 19:var rp=f[1],ep=function(wx){return[0,o,[19,wx]]};return R0(l(n[1][1+D],n),o,rp,s,ep);case 20:var tp=f[1],np=function(wx){return[0,o,[20,wx]]};return R0(l(n[1][1+D6],n),o,tp,s,np);case 21:var up=f[1],ip=function(wx){return[0,o,[21,wx]]};return R0(l(n[1][1+Mx],n),o,up,s,ip);case 22:var fp=f[1],cp=function(wx){return[0,o,[22,wx]]};return R0(l(n[1][1+y],n),o,fp,s,cp);case 23:var sp=f[1],ap=function(wx){return[0,o,[23,wx]]};return R0(l(n[1][1+an],n),o,sp,s,ap);case 24:var op=f[1],vp=function(wx){return[0,o,[24,wx]]};return I0(l(n[1][1+E],n),op,s,vp);case 25:var lp=f[1],pp=function(wx){return[0,o,[25,wx]]};return I0(l(n[1][1+Gc],n),lp,s,pp);case 26:var kp=f[1],mp=function(wx){return[0,o,[26,wx]]};return I0(l(n[1][1+Xx],n),kp,s,mp);case 27:var hp=f[1],dp=function(wx){return[0,o,[27,wx]]};return I0(l(n[1][1+xr],n),hp,s,dp);case 28:var yp=f[1],gp=function(wx){return[0,o,[28,wx]]};return I0(l(n[1][1+P0],n),yp,s,gp);case 29:var _p=f[1],bp=function(wx){return[0,o,[29,wx]]};return R0(l(n[1][1+ex],n),o,_p,s,bp);case 30:var wp=f[1],Tp=function(wx){return[0,o,[30,wx]]};return R0(l(n[1][1+hx],n),o,wp,s,Tp);case 31:var Ep=f[1],Sp=function(wx){return[0,o,[31,wx]]};return R0(l(n[1][1+ea],n),o,Ep,s,Sp);case 32:var Ap=f[1],Ip=function(wx){return[0,o,[32,wx]]};return R0(l(n[1][1+Mt],n),o,Ap,s,Ip);case 33:var jp=f[1],Pp=function(wx){return[0,o,[33,wx]]};return I0(l(n[1][1+B],n),jp,s,Pp);case 34:var Np=f[1],Op=function(wx){return[0,o,[34,wx]]};return I0(l(n[1][1+B],n),Np,s,Op);default:var Cp=f[1],Dp=function(wx){return[0,o,[35,wx]]};return I0(l(n[1][1+B],n),Cp,s,Dp)}}function VE0(n,s,f){var o=f[2],m=f[1],b=m[3],T=m[2],N=m[1],q=k(n[1][1+n0],n,N),i0=k(n[1][1+n0],n,T),o0=wr(l(n[1][1+n0],n),b),O0=k(n[1][1+B],n,o);return q===N&&i0===T&&o0===b&&O0===o?f:[0,[0,q,i0,o0],O0]}function GE0(n,s,f){var o=f[2],m=f[1],b=m[3],T=m[2],N=m[1],q=k(n[1][1+n0],n,N),i0=k(n[1][1+n0],n,T),o0=wr(l(n[1][1+n0],n),b),O0=k(n[1][1+B],n,o);return q===N&&i0===T&&o0===b&&O0===o?f:[0,[0,q,i0,o0],O0]}function WE0(n,s){var f=s[2],o=s[1],m=k(n[1][1+n0],n,o),b=k(n[1][1+B],n,f);return o===m&&f===b?s:[0,m,b]}function $E0(n,s){var f=s[2],o=s[1],m=k(n[1][1+n0],n,f);return m===f?s:[0,o,m]}function HE0(n,s){var f=s[3],o=s[2],m=s[4],b=s[1],T=k(n[1][1+n0],n,o),N=k(n[1][1+i],n,f);return T===o&&N===f?s:[0,b,T,N,m]}function QE0(n,s){var f=s[2],o=s[1];switch(f[0]){case 0:var m=f[1],b=function(o0){return[0,o,[0,o0]]};return I0(l(n[1][1+n0],n),m,s,b);case 1:var T=f[1],N=function(o0){return[0,o,[1,o0]]};return I0(l(n[1][1+g0],n),T,s,N);default:var q=f[1],i0=function(o0){return[0,o,[2,o0]]};return I0(l(n[1][1+h0],n),q,s,i0)}}function ZE0(n,s){var f=s[3],o=s[1],m=s[2],b=wr(l(n[1][1+v0],n),o),T=k(n[1][1+B],n,f);return o===b&&f===T?s:[0,b,m,T]}function xS0(n,s){var f=s[2],o=s[1],m=k(n[1][1+n0],n,o),b=k(n[1][1+B],n,f);return o===m&&f===b?s:[0,m,b]}function rS0(n,s){var f=s[3],o=s[2],m=s[4],b=s[1],T=k(n[1][1+n0],n,o),N=k(n[1][1+B],n,f);return o===T&&f===N?s:[0,b,T,N,m]}function eS0(n,s){var f=s[2],o=s[1],m=k(n[1][1+n0],n,o),b=k(n[1][1+B],n,f);return o===m&&f===b?s:[0,m,b]}function tS0(n,s){var f=s[2],o=f[2],m=f[1],b=s[1],T=k(n[1][1+O],n,m),N=k(n[1][1+C],n,o);return T===m&&N===o?s:[0,b,[0,T,N]]}function nS0(n,s){return k(n[1][1+A],n,s)}function uS0(n,s){return k(n[1][1+A],n,s)}function iS0(n,s){if(s[0]===0){var f=s[1],o=function(T){return[0,T]};return I0(l(n[1][1+P],n),f,s,o)}var m=s[1];function b(T){return[1,T]}return I0(l(n[1][1+j],n),m,s,b)}function fS0(n,s){var f=s[3],o=s[2],m=s[1],b=k(n[1][1+O],n,m),T=Cx(l(n[1][1+e0],n),o),N=k(n[1][1+B],n,f);return m===b&&Xv(o,T)&&f===N?s:[0,b,T,N]}function cS0(n,s){var f=s[2],o=s[1],m=k(n[1][1+K],n,o),b=k(n[1][1+B],n,f);return o===m&&f===b?s:[0,m,b]}function sS0(n,s){var f=s[5],o=s[4],m=s[3],b=s[2],T=s[1],N=k(n[1][1+n0],n,T),q=k(n[1][1+n0],n,b),i0=k(n[1][1+n0],n,m),o0=k(n[1][1+n0],n,o),O0=k(n[1][1+B],n,f);return T===N&&b===q&&m===i0&&o===o0&&f===O0?s:[0,N,q,i0,o0,O0]}function aS0(n,s){var f=s[2],o=s[1],m=k(n[1][1+n0],n,o),b=k(n[1][1+B],n,f);return o===m&&f===b?s:[0,m,b]}function oS0(n,s,f){var o=f[6],m=f[5],b=f[4],T=f[3],N=f[2],q=f[1];return o===k(n[1][1+B],n,o)?f:[0,q,N,T,b,m,o]}function vS0(n,s,f){var o=f[4],m=f[3],b=f[2],T=f[1],N=k(n[1][1+B],n,o);return o===N?f:[0,T,b,m,N]}function lS0(n,s,f){return k(n[1][1+B],n,f)}function pS0(n,s,f){var o=f[2],m=f[1],b=k(n[1][1+B],n,o);return o===b?f:[0,m,b]}function kS0(n,s,f){var o=f[3],m=f[2],b=f[1],T=k(n[1][1+B],n,o);return o===T?f:[0,b,m,T]}function mS0(n,s,f){var o=f[3],m=f[2],b=f[1],T=k(n[1][1+B],n,o);return o===T?f:[0,b,m,T]}function hS0(n,s,f){var o=f[3],m=f[2],b=f[1],T=k(n[1][1+B],n,o);return o===T?f:[0,b,m,T]}function dS0(n,s,f){var o=f[1],m=f[2],b=B0(n[1][1+D6],n,s,o);return b===o?f:[0,b,m]}function yS0(n,s,f){var o=f[3],m=f[2],b=f[1],T=k(n[1][1+n0],n,b),N=k(n[1][1+n0],n,m),q=k(n[1][1+B],n,o);return T===b&&N===m&&q===o?f:[0,T,N,q]}function gS0(n,s,f){var o=f[3],m=f[2],b=f[1],T=k(n[1][1+k0],n,b),N=Cx(l(n[1][1+e0],n),m),q=k(n[1][1+B],n,o);return T===b&&N===m&&q===o?f:[0,T,N,q]}function _S0(n,s){var f=s[2],o=f[5],m=f[4],b=f[2],T=f[1],N=f[3],q=s[1],i0=k(n[1][1+Z],n,b),o0=k(n[1][1+i],n,m),O0=Cx(l(n[1][1+n0],n),o),K0=k(n[1][1+pt],n,T);return K0===T&&i0===b&&o0===m&&O0===o?s:[0,q,[0,K0,i0,N,o0,O0]]}function bS0(n,s){var f=s[2],o=f[2],m=f[1],b=s[1],T=wr(l(n[1][1+K],n),m),N=k(n[1][1+B],n,o);return T===m&&N===o?s:[0,b,[0,T,N]]}function wS0(n,s){var f=s[2],o=f[2],m=f[1],b=s[1],T=wr(l(n[1][1+n0],n),m),N=k(n[1][1+B],n,o);return m===T&&o===N?s:[0,b,[0,T,N]]}function TS0(n,s){return Cx(l(n[1][1+c],n),s)}function ES0(n,s){var f=s[2],o=f[2],m=f[1],b=s[1],T=k(n[1][1+B],n,o);return o===T?s:[0,b,[0,m,T]]}function SS0(n,s){return k(n[1][1+A],n,s)}function AS0(n,s){var f=s[2],o=f[2],m=f[1],b=s[1],T=k(n[1][1+k0],n,m),N=k(n[1][1+Wo],n,o);return T===m&&N===o?s:[0,b,[0,T,N]]}function IS0(n,s){if(s[0]===0){var f=s[1],o=function(T){return[0,T]};return I0(l(n[1][1+U],n),f,s,o)}var m=s[1];function b(T){return[1,T]}return I0(l(n[1][1+u0],n),m,s,b)}function jS0(n,s,f){var o=f[3],m=f[2],b=f[1],T=l(n[1][1+D],n),N=wr(function(o0){return X2(T,o0)},m),q=X2(l(n[1][1+g],n),b),i0=k(n[1][1+B],n,o);return N===m&&q===b&&o===i0?f:[0,q,N,i0]}function PS0(n,s){switch(s[0]){case 0:var f=s[1],o=function(ux){return[0,ux]};return I0(l(n[1][1+l0],n),f,s,o);case 1:var m=s[1],b=function(ux){return[1,ux]};return I0(l(n[1][1+G],n),m,s,b);case 2:var T=s[1],N=function(ux){return[2,ux]};return I0(l(n[1][1+Zx],n),T,s,N);case 3:var q=s[1],i0=function(ux){return[3,ux]};return I0(l(n[1][1+er],n),q,s,i0);case 4:var o0=s[1],O0=function(ux){return[4,ux]};return I0(l(n[1][1+gr],n),o0,s,O0);default:var K0=s[1],Ax=function(ux){return[5,ux]};return I0(l(n[1][1+s0],n),K0,s,Ax)}}function NS0(n,s,f){var o=f[4],m=f[3],b=f[2],T=f[1],N=wr(l(n[1][1+U2],n),m),q=k(n[1][1+B],n,o);return N===m&&o===q?f:[0,T,b,N,q]}function OS0(n,s){var f=s[2],o=f[6],m=f[4],b=f[3],T=f[2],N=f[1],q=f[5],i0=s[1],o0=k(n[1][1+K],n,N),O0=k(n[1][1+n0],n,T),K0=k(n[1][1+n0],n,b),Ax=k(n[1][1+i],n,m),ux=k(n[1][1+B],n,o);return o0===N&&O0===T&&K0===b&&Ax===m&&ux===o?s:[0,i0,[0,o0,O0,K0,Ax,q,ux]]}function CS0(n,s){var f=s[2],o=f[3],m=f[1],b=m[2],T=m[1],N=f[2],q=s[1],i0=B0(n[1][1+nx],n,T,b),o0=k(n[1][1+B],n,o);return b===i0&&o===o0?s:[0,q,[0,[0,T,i0],N,o0]]}function DS0(n,s){var f=s[2],o=f[6],m=f[2],b=f[1],T=f[5],N=f[4],q=f[3],i0=s[1],o0=k(n[1][1+A],n,b),O0=k(n[1][1+n0],n,m),K0=k(n[1][1+B],n,o);return b===o0&&m===O0&&o===K0?s:[0,i0,[0,o0,O0,q,N,T,K0]]}function RS0(n,s){var f=s[2],o=f[6],m=f[5],b=f[3],T=f[2],N=f[4],q=f[1],i0=s[1],o0=k(n[1][1+n0],n,T),O0=k(n[1][1+n0],n,b),K0=k(n[1][1+i],n,m),Ax=k(n[1][1+B],n,o);return o0===T&&O0===b&&K0===m&&Ax===o?s:[0,i0,[0,q,o0,O0,N,K0,Ax]]}function FS0(n,s){var f=s[2],o=f[2],m=f[1],b=s[1],T=k(n[1][1+n0],n,m),N=k(n[1][1+B],n,o);return T===m&&o===N?s:[0,b,[0,T,N]]}function LS0(n,s){var f=s[2],o=f[8],m=f[7],b=f[2],T=f[1],N=f[6],q=f[5],i0=f[4],o0=f[3],O0=s[1],K0=k(n[1][1+Jx],n,T),Ax=k(n[1][1+H],n,b),ux=k(n[1][1+i],n,m),Kr=k(n[1][1+B],n,o);return K0===T&&Ax===b&&ux===m&&Kr===o?s:[0,O0,[0,K0,Ax,o0,i0,q,N,ux,Kr]]}function MS0(n,s){var f=s[1],o=s[2];function m(b){return[0,f,b]}return R0(l(n[1][1+nx],n),f,o,s,m)}function US0(n,s){var f=s[1],o=s[2];function m(b){return[0,f,b]}return R0(l(n[1][1+nx],n),f,o,s,m)}function qS0(n,s){switch(s[0]){case 0:var f=s[1],o=function(q){return[0,q]};return I0(l(n[1][1+n0],n),f,s,o);case 1:var m=s[1],b=function(q){return[1,q]};return I0(l(n[1][1+Rr],n),m,s,b);default:var T=s[1],N=function(q){return[2,q]};return I0(l(n[1][1+c1],n),T,s,N)}}function BS0(n,s){return k(n[1][1+A],n,s)}function XS0(n,s,f){var o=f[4],m=f[3],b=f[2],T=b[2],N=T[4],q=T[3],i0=T[2],o0=T[1],O0=f[1],K0=f[5],Ax=b[1],ux=Cx(l(n[1][1+F],n),O0),Kr=Cx(l(n[1][1+Sx],n),o0),m2=wr(l(n[1][1+pr],n),i0),s2=Cx(l(n[1][1+lr],n),q),h2=k(n[1][1+C0],n,m),d2=k(n[1][1+B],n,o),o1=k(n[1][1+B],n,N);return m2===i0&&s2===q&&h2===m&&ux===O0&&d2===o&&o1===N&&Kr===o0?f:[0,ux,[0,Ax,[0,Kr,m2,s2,o1]],h2,d2,K0]}function JS0(n,s){if(s[0]===0){var f=s[1],o=function(T){return[0,T]};return I0(l(n[1][1+n0],n),f,s,o)}var m=s[1];function b(T){return[1,T]}return I0(l(n[1][1+$],n),m,s,b)}function KS0(n,s){var f=s[2],o=f[2],m=f[1],b=s[1],T=k(n[1][1+c0],n,m),N=k(n[1][1+B],n,o);return T===m&&N===o?s:[0,b,[0,T,N]]}function YS0(n,s){var f=s[2],o=f[2],m=f[1],b=s[1],T=k(n[1][1+pr],n,m),N=k(n[1][1+B],n,o);return T===m&&N===o?s:[0,b,[0,T,N]]}function zS0(n,s){var f=s[2],o=f[2],m=f[1],b=f[3],T=s[1],N=k(n[1][1+n0],n,o),q=Cx(l(n[1][1+A],n),m);return N===o&&q===m?s:[0,T,[0,q,N,b]]}function VS0(n,s){var f=s[1],o=s[2];function m(b){return[0,f,b]}return R0(l(n[1][1+p],n),f,o,s,m)}function GS0(n,s){if(s[0]===0){var f=s[1],o=function(T){return[0,T]};return I0(l(n[1][1+s1],n),f,s,o)}var m=s[1];function b(T){return[1,T]}return I0(l(n[1][1+bx],n),m,s,b)}function WS0(n,s,f){var o=f[5],m=f[4],b=f[3],T=f[2],N=f[1],q=Cx(l(n[1][1+n2],n),N),i0=Cx(l(n[1][1+Hx],n),T),o0=Cx(l(n[1][1+bx],n),b),O0=k(n[1][1+q0],n,m),K0=k(n[1][1+B],n,o);return N===q&&T===i0&&b===o0&&m===O0&&o===K0?f:[0,q,i0,o0,O0,K0]}function $S0(n,s){var f=s[1],o=s[2];function m(b){return[0,f,b]}return R0(l(n[1][1+p],n),f,o,s,m)}function HS0(n,s){if(s[0]===0){var f=s[1],o=function(T){return[0,T]};return I0(l(n[1][1+v2],n),f,s,o)}var m=s[1];function b(T){return[1,T]}return I0(l(n[1][1+q2],n),m,s,b)}function QS0(n,s,f){var o=f[5],m=f[3],b=f[2],T=f[1],N=f[4],q=k(n[1][1+w2],n,T),i0=k(n[1][1+bx],n,b),o0=k(n[1][1+q0],n,m),O0=k(n[1][1+B],n,o);return T===q&&b===i0&&m===o0&&o===O0?f:[0,q,i0,o0,N,O0]}function ZS0(n,s){var f=s[1],o=s[2];function m(b){return[0,f,b]}return R0(l(n[1][1+p],n),f,o,s,m)}function xA0(n,s){if(s[0]===0){var f=s[1],o=function(T){return[0,T]};return I0(l(n[1][1+sr],n),f,s,o)}var m=s[1];function b(T){return[1,T]}return I0(l(n[1][1+Xr],n),m,s,b)}function rA0(n,s,f){var o=f[5],m=f[3],b=f[2],T=f[1],N=f[4],q=k(n[1][1+O1],n,T),i0=k(n[1][1+bx],n,b),o0=k(n[1][1+q0],n,m),O0=k(n[1][1+B],n,o);return T===q&&b===i0&&m===o0&&o===O0?f:[0,q,i0,o0,N,O0]}function eA0(n,s){if(s[0]===0){var f=s[1],o=function(T){return[0,T]};return I0(l(n[1][1+bx],n),f,s,o)}var m=s[1];function b(T){return[1,T]}return I0(l(n[1][1+cx],n),m,s,b)}function tA0(n,s,f){var o=f[3],m=f[1],b=f[2],T=k(n[1][1+bx],n,m),N=k(n[1][1+B],n,o);return m===T&&o===N?f:[0,T,b,N]}function nA0(n,s,f){var o=f[3],m=f[2],b=f[1],T=k(n[1][1+B],n,o);return o===T?f:[0,b,m,T]}function uA0(n,s){if(s[0]===0){var f=s[1],o=wr(l(n[1][1+Re],n),f);return f===o?s:[0,o]}var m=s[1],b=k(n[1][1+x1],n,m);return m===b?s:[1,b]}function iA0(n,s){var f=s[2],o=s[1],m=Cx(l(n[1][1+A],n),f);return f===m?s:[0,o,m]}function fA0(n,s){var f=s[2],o=f[2],m=f[1],b=s[1],T=k(n[1][1+A],n,m),N=Cx(l(n[1][1+A],n),o);return m===T&&o===N?s:[0,b,[0,T,N]]}function cA0(n,s,f){var o=f[5],m=f[3],b=f[2],T=f[1],N=f[4],q=vB(l(n[1][1+le],n),m),i0=Cx(l(n[1][1+pe],n),b),o0=Cx(l(n[1][1+q0],n),T),O0=k(n[1][1+B],n,o);return m===q&&b===i0&&T===o0&&o===O0?f:[0,o0,i0,q,N,O0]}function sA0(n,s){if(s[0]===0){var f=s[1],o=function(T){return[0,T]};return I0(l(n[1][1+q0],n),f,s,o)}var m=s[1];function b(T){return[1,T]}return I0(l(n[1][1+bx],n),m,s,b)}function aA0(n,s,f){var o=f[3],m=f[2],b=f[1],T=k(n[1][1+$r],n,m),N=k(n[1][1+B],n,o);return T===m&&N===o?f:[0,b,T,N]}function oA0(n,s){return k(n[1][1+A],n,s)}function vA0(n,s){var f=s[2],o=f[1],m=f[2],b=s[1],T=k(n[1][1+D1],n,o);return o===T?s:[0,b,[0,T,m]]}function lA0(n,s){var f=s[2],o=f[1],m=f[2],b=s[1],T=k(n[1][1+D1],n,o);return o===T?s:[0,b,[0,T,m]]}function pA0(n,s){var f=s[2],o=f[1],m=f[2],b=s[1],T=k(n[1][1+D1],n,o);return o===T?s:[0,b,[0,T,m]]}function kA0(n,s){var f=s[2],o=f[1],m=f[2],b=s[1],T=k(n[1][1+D1],n,o);return o===T?s:[0,b,[0,T,m]]}function mA0(n,s){var f=s[2][1],o=s[1],m=k(n[1][1+D1],n,f);return f===m?s:[0,o,[0,m]]}function hA0(n,s){var f=s[4],o=s[1],m=wr(l(n[1][1+V1],n),o),b=k(n[1][1+B],n,f);return o===m&&f===b?s:[0,m,s[2],s[3],b]}function dA0(n,s){var f=s[3],o=s[1],m=wr(l(n[1][1+Le],n),o),b=k(n[1][1+B],n,f);return o===m&&f===b?s:[0,m,s[2],b]}function yA0(n,s){var f=s[4],o=s[1];if(o[0]===0)var m=o[1],b=function(K0){return[0,K0]},T=l(n[1][1+Le],n),o0=I0(function(K0){return wr(T,K0)},m,o,b);else var N=o[1],q=function(K0){return[1,K0]},i0=l(n[1][1+w1],n),o0=I0(function(K0){return wr(i0,K0)},N,o,q);var O0=k(n[1][1+B],n,f);return o===o0&&f===O0?s:[0,o0,s[2],s[3],O0]}function gA0(n,s){var f=s[4],o=s[1],m=wr(l(n[1][1+Rt],n),o),b=k(n[1][1+B],n,f);return o===m&&f===b?s:[0,m,s[2],s[3],b]}function _A0(n,s){var f=s[4],o=s[1],m=wr(l(n[1][1+ee],n),o),b=k(n[1][1+B],n,f);return o===m&&f===b?s:[0,m,s[2],s[3],b]}function bA0(n,s){var f=s[2],o=s[1];switch(f[0]){case 0:var m=f[1],b=function(ux){return[0,o,[0,ux]]};return I0(l(n[1][1+a1],n),m,s,b);case 1:var T=f[1],N=function(ux){return[0,o,[1,ux]]};return I0(l(n[1][1+Fe],n),T,s,N);case 2:var q=f[1],i0=function(ux){return[0,o,[2,ux]]};return I0(l(n[1][1+lt],n),q,s,i0);case 3:var o0=f[1],O0=function(ux){return[0,o,[3,ux]]};return I0(l(n[1][1+C1],n),o0,s,O0);default:var K0=f[1],Ax=function(ux){return[0,o,[4,ux]]};return I0(l(n[1][1+Ft],n),K0,s,Ax)}}function wA0(n,s,f){var o=f[3],m=f[2],b=f[1],T=B0(n[1][1+zx],n,c$,b),N=k(n[1][1+Me],n,m),q=k(n[1][1+B],n,o);return b===T&&m===N&&o===q?f:[0,T,N,q]}function TA0(n,s,f){var o=f[1],m=k(n[1][1+B],n,o);return o===m?f:[0,m]}function EA0(n,s,f){var o=f[3],m=f[2],b=f[1],T=k(n[1][1+q0],n,b),N=k(n[1][1+Hx],n,m),q=k(n[1][1+B],n,o);return b===T&&m===N&&o===q?f:[0,T,N,q]}function SA0(n,s,f){var o=f[4],m=f[3],b=f[2],T=f[1],N=B0(n[1][1+zx],n,[0,m],T),q=k(n[1][1+c0],n,b),i0=k(n[1][1+B],n,o);return N===T&&q===b&&i0===o?f:[0,N,q,m,i0]}function AA0(n,s,f){return B0(n[1][1+d0],n,s,f)}function IA0(n,s,f){var o=f[3],m=f[2],b=f[1],T=B0(n[1][1+zx],n,f$,b),N=X2(l(n[1][1+te],n),m),q=k(n[1][1+B],n,o);return T===b&&N===m&&o===q?f:[0,T,N,q]}function jA0(n,s,f){var o=f[2],m=f[1],b=k(n[1][1+c0],n,m),T=k(n[1][1+B],n,o);return m===b&&o===T?f:[0,b,T]}function PA0(n,s,f){var o=f[3],m=f[2],b=f[1],T=X2(l(n[1][1+te],n),m),N=k(n[1][1+B],n,o);return T===m&&o===N?f:[0,b,T,N]}function NA0(n,s,f){return B0(n[1][1+$s],n,s,f)}function OA0(n,s,f){var o=f[4],m=f[3],b=f[2],T=f[1],N=k(n[1][1+Br],n,T),q=k(n[1][1+c0],n,b),i0=Cx(l(n[1][1+Y],n),m),o0=k(n[1][1+B],n,o);return N===T&&q===b&&i0===m&&o0===o?f:[0,N,q,i0,o0]}function CA0(n,s){switch(s[0]){case 0:var f=s[1],o=f[2],m=f[1],b=B0(n[1][1+T1],n,m,o);return b===o?s:[0,[0,m,b]];case 1:var T=s[1],N=T[2],q=T[1],i0=B0(n[1][1+Xe],n,q,N);return i0===N?s:[1,[0,q,i0]];case 2:var o0=s[1],O0=o0[2],K0=o0[1],Ax=B0(n[1][1+vn],n,K0,O0);return Ax===O0?s:[2,[0,K0,Ax]];case 3:var ux=s[1],Kr=ux[2],m2=ux[1],s2=B0(n[1][1+on],n,m2,Kr);return s2===Kr?s:[3,[0,m2,s2]];case 4:var h2=s[1],d2=k(n[1][1+n0],n,h2);return d2===h2?s:[4,d2];case 5:var o1=s[1],ge=o1[2],ze=o1[1],Ve=B0(n[1][1+d0],n,ze,ge);return Ve===ge?s:[5,[0,ze,Ve]];case 6:var kt=s[1],Ge=kt[2],We=kt[1],$e=B0(n[1][1+Ux],n,We,Ge);return $e===Ge?s:[6,[0,We,$e]];case 7:var us=s[1],is=us[2],He=us[1],fs=B0(n[1][1+$s],n,He,is);return fs===is?s:[7,[0,He,fs]];default:var Ha=s[1],Qa=Ha[2],Za=Ha[1],xo=B0(n[1][1+ke],n,Za,Qa);return xo===Qa?s:[8,[0,Za,xo]]}}function DA0(n,s,f){var o=f[5],m=f[4],b=f[3],T=f[2],N=f[1],q=vB(l(n[1][1+le],n),m),i0=Cx(l(n[1][1+pe],n),b),o0=Cx(l(n[1][1+Lt],n),T),O0=k(n[1][1+B],n,o);return m===q&&b===i0&&T===o0&&o===O0?f:[0,N,o0,i0,q,O0]}function RA0(n,s,f){return B0(n[1][1+ke],n,s,f)}function FA0(n,s){var f=s[2],o=f[4],m=f[2],b=f[1],T=f[3],N=s[1],q=Cx(l(n[1][1+A],n),b),i0=k(n[1][1+n0],n,m),o0=k(n[1][1+B],n,o);return b===q&&m===i0&&o===o0?s:[0,N,[0,q,i0,T,o0]]}function LA0(n,s){var f=s[2],o=f[2],m=f[1],b=f[3],T=s[1],N=k(n[1][1+tv],n,m),q=k(n[1][1+c0],n,o);return m===N&&o===q?s:[0,T,[0,N,q,b]]}function MA0(n,s){var f=s[2],o=f[3],m=f[2],b=f[1],T=s[1],N=wr(l(n[1][1+Hs],n),b),q=Cx(l(n[1][1+he],n),m),i0=k(n[1][1+B],n,o);return b===N&&m===q&&o===i0?s:[0,T,[0,N,q,i0]]}function UA0(n,s,f){var o=f[4],m=f[3],b=f[2],T=f[1],N=Cx(l(n[1][1+F],n),T),q=k(n[1][1+kn],n,b),i0=k(n[1][1+Ya],n,m),o0=k(n[1][1+B],n,o);return T===N&&b===q&&m===i0&&o===o0?f:[0,N,q,i0,o0]}function qA0(n,s,f){var o=f[5],m=f[4],b=f[3],T=f[2],N=f[1],q=k(n[1][1+Zs],n,N),i0=Cx(l(n[1][1+F],n),T),o0=k(n[1][1+kn],n,b),O0=k(n[1][1+Ya],n,m),K0=k(n[1][1+B],n,o);return N===q&&T===i0&&b===o0&&m===O0&&o===K0?f:[0,q,i0,o0,O0,K0]}function BA0(n,s,f){var o=f[7],m=f[6],b=f[5],T=f[4],N=f[3],q=f[2],i0=f[1],o0=k(n[1][1+xa],n,i0),O0=Cx(l(n[1][1+F],n),q),K0=X2(l(n[1][1+g],n),N),Ax=l(n[1][1+D],n),ux=Cx(function(d2){return X2(Ax,d2)},T),Kr=l(n[1][1+D],n),m2=wr(function(d2){return X2(Kr,d2)},b),s2=Cx(l(n[1][1+fv],n),m),h2=k(n[1][1+B],n,o);return o0===i0&&O0===q&&K0===N&&ux===T&&m2===b&&s2===m&&h2===o?f:[0,o0,O0,K0,ux,m2,s2,h2]}function XA0(n,s,f){var o=f[1],m=k(n[1][1+B],n,o);return o===m?f:[0,m]}function JA0(n,s,f){var o=f[2],m=f[1],b=Cx(l(n[1][1+at],n),m),T=k(n[1][1+B],n,o);return m===b&&o===T?f:[0,b,T]}function KA0(n,s,f){var o=f[4],m=f[3],b=f[2],T=f[1],N=k(n[1][1+Hx],n,T),q=k(n[1][1+bx],n,b),i0=k(n[1][1+bx],n,m),o0=k(n[1][1+B],n,o);return T===N&&b===q&&m===i0&&o===o0?f:[0,N,q,i0,o0]}function YA0(n,s){var f=s[1],o=s[2];function m(b){return[0,f,b]}return R0(l(n[1][1+te],n),f,o,s,m)}function zA0(n,s){var f=s[2],o=f[2],m=f[1],b=s[1],T=k(n[1][1+ev],n,m),N=k(n[1][1+B],n,o);return m===T&&o===N?s:[0,b,[0,T,N]]}function VA0(n,s){return B0(n[1][1+ra],n,i$,s)}function GA0(n,s){if(s[0]===0)return[0,k(n[1][1+A],n,s[1])];var f=s[1],o=f[1];return[1,[0,o,B0(n[1][1+ex],n,o,f[2])]]}function WA0(n,s){var f=s[2],o=f[3],m=f[2],b=f[1],T=f[4],N=s[1],q=k(n[1][1+tv],n,b),i0=k(n[1][1+ev],n,m),o0=k(n[1][1+r1],n,o);return b===q&&m===i0&&o===o0?s:[0,N,[0,q,i0,o0,T]]}function $A0(n,s){var f=s[2],o=f[3],m=f[2],b=f[1],T=s[1],N=wr(l(n[1][1+nv],n),b),q=Cx(l(n[1][1+Qs],n),m),i0=k(n[1][1+B],n,o);return b===N&&m===q&&o===i0?s:[0,T,[0,N,q,i0]]}function HA0(n,s){return B0(n[1][1+zx],n,u$,s)}function QA0(n,s,f){var o=f[6],m=f[5],b=f[4],T=f[3],N=f[2],q=f[1],i0=f[7],o0=k(n[1][1+Zs],n,q),O0=Cx(l(n[1][1+F],n),N),K0=k(n[1][1+za],n,T),Ax=k(n[1][1+b3],n,m),ux=k(n[1][1+Ya],n,b),Kr=k(n[1][1+B],n,o);return q===o0&&N===O0&&T===K0&&m===Ax&&b===ux&&o===Kr?f:[0,o0,O0,K0,ux,Ax,Kr,i0]}function ZA0(n,s){return Cx(l(n[1][1+bx],n),s)}function xI0(n,s,f){var o=f[7],m=f[6],b=f[5],T=f[3],N=f[2],q=f[1],i0=k(n[1][1+fr],n,q),o0=k(n[1][1+Va],n,N),O0=k(n[1][1+Z],n,T),K0=k(n[1][1+i],n,b),Ax=wr(l(n[1][1+mn],n),m),ux=k(n[1][1+B],n,o);return q===i0&&N===o0&&O0===T&&K0===b&&Ax===m&&ux===o?f:[0,i0,o0,O0,f[4],K0,Ax,ux]}function rI0(n,s){if(typeof s=="number")return s;var f=s[1],o=k(n[1][1+bx],n,f);return f===o?s:[0,o]}function eI0(n,s,f){var o=f[7],m=f[6],b=f[5],T=f[3],N=f[2],q=f[1],i0=k(n[1][1+Jx],n,q),o0=k(n[1][1+Va],n,N),O0=k(n[1][1+Z],n,T),K0=k(n[1][1+i],n,b),Ax=wr(l(n[1][1+mn],n),m),ux=k(n[1][1+B],n,o);return q===i0&&N===o0&&O0===T&&K0===b&&Ax===m&&ux===o?f:[0,i0,o0,O0,f[4],K0,Ax,ux]}function tI0(n,s,f){var o=f[6],m=f[5],b=f[3],T=f[2],N=k(n[1][1+Jx],n,T),q=X2(l(n[1][1+Or],n),b),i0=wr(l(n[1][1+mn],n),m),o0=k(n[1][1+B],n,o);return T===N&&b===q&&m===i0&&o===o0?f:[0,f[1],N,q,f[4],i0,o0]}function nI0(n,s){var f=s[2],o=f[2],m=f[1],b=s[1],T=k(n[1][1+U],n,m),N=Cx(l(n[1][1+e0],n),o);return m===T&&o===N?s:[0,b,[0,T,N]]}function uI0(n,s){var f=s[2],o=f[2],m=f[1],b=s[1],T=wr(l(n[1][1+iv],n),m),N=k(n[1][1+B],n,o);return m===T&&o===N?s:[0,b,[0,T,N]]}function iI0(n,s){switch(s[0]){case 0:var f=s[1],o=f[1],m=f[2],b=function(ux){return[0,[0,o,ux]]};return R0(l(n[1][1+es],n),o,m,s,b);case 1:var T=s[1],N=T[1],q=T[2],i0=function(ux){return[1,[0,N,ux]]};return R0(l(n[1][1+uv],n),N,q,s,i0);default:var o0=s[1],O0=o0[1],K0=o0[2],Ax=function(ux){return[2,[0,O0,ux]]};return R0(l(n[1][1+w3],n),O0,K0,s,Ax)}}function fI0(n,s){var f=s[2],o=f[2],m=f[1],b=s[1],T=k(n[1][1+bx],n,m),N=k(n[1][1+B],n,o);return m===T&&o===N?s:[0,b,[0,T,N]]}function cI0(n,s){var f=s[2],o=f[2],m=f[1],b=s[1],T=wr(l(n[1][1+S3],n),m),N=k(n[1][1+B],n,o);return m===T&&o===N?s:[0,b,[0,T,N]]}function sI0(n,s){return B0(n[1][1+zx],n,n$,s)}function aI0(n,s,f){var o=f[3],m=f[2],b=f[1],T=k(n[1][1+bx],n,b),N=Cx(l(n[1][1+e0],n),m),q=k(n[1][1+B],n,o);return b===T&&m===N&&o===q?f:[0,T,N,q]}function oI0(n,s,f){var o=f[7],m=f[6],b=f[5],T=f[4],N=f[3],q=f[2],i0=f[1],o0=Cx(l(n[1][1+xa],n),i0),O0=Cx(l(n[1][1+F],n),N),K0=k(n[1][1+I3],n,q),Ax=l(n[1][1+T3],n),ux=Cx(function(h2){return X2(Ax,h2)},T),Kr=Cx(l(n[1][1+fv],n),b),m2=wr(l(n[1][1+mn],n),m),s2=k(n[1][1+B],n,o);return i0===o0&&q===K0&&T===ux&&b===Kr&&m===m2&&o===s2&&N===O0?f:[0,o0,K0,O0,ux,Kr,m2,s2]}function vI0(n,s,f){return B0(n[1][1+hn],n,s,f)}function lI0(n,s,f){return B0(n[1][1+hn],n,s,f)}function pI0(n,s,f){var o=f[3],m=f[2],b=f[1],T=Cx(l(n[1][1+ts],n),b),N=k(n[1][1+P3],n,m),q=k(n[1][1+B],n,o);return b===T&&m===N&&o===q?f:[0,T,N,q]}function kI0(n,s){return X2(l(n[1][1+te],n),s)}function mI0(n,s){if(s[0]===0){var f=s[1],o=k(n[1][1+n0],n,f);return o===f?s:[0,o]}var m=s[1],b=m[2][1],T=m[1],N=k(n[1][1+B],n,b);return b===N?s:[1,[0,T,[0,N]]]}function hI0(n,s){var f=s[2],o=f[2],m=f[1],b=s[1],T=wr(l(n[1][1+Wa],n),m),N=k(n[1][1+B],n,o);return m===T&&o===N?s:[0,b,[0,T,N]]}function dI0(n,s,f){var o=f[1],m=B0(n[1][1+$a],n,s,o);return o===m?f:[0,m,f[2],f[3]]}function yI0(n,s){var f=s[2],o=f[2],m=f[1],b=s[1],T=wr(l(n[1][1+Jr],n),m),N=k(n[1][1+B],n,o);return m===T&&o===N?s:[0,b,[0,T,N]]}function gI0(n,s,f){var o=f[4],m=f[3],b=f[2],T=f[1],N=k(n[1][1+bx],n,T),q=Cx(l(n[1][1+Ga],n),b),i0=k(n[1][1+M6],n,m),o0=k(n[1][1+B],n,o);return T===N&&b===q&&m===i0&&o===o0?f:[0,N,q,i0,o0]}function _I0(n,s,f){var o=f[2],m=f[1],b=Cx(l(n[1][1+at],n),m),T=k(n[1][1+B],n,o);return m===b&&o===T?f:[0,b,T]}function bI0(n,s,f){var o=f[2],m=f[1],b=k(n[1][1+Q0],n,m),T=k(n[1][1+B],n,o);return m===b&&o===T?f:[0,b,T]}function wI0(n,s,f){var o=f[4],m=f[3],b=f[2],T=k(n[1][1+bx],n,b),N=k(n[1][1+bx],n,m),q=k(n[1][1+B],n,o);return b===T&&m===N&&o===q?f:[0,f[1],T,N,q]}function TI0(n,s,f){var o=f[4],m=f[3],b=f[2],T=k(n[1][1+ns],n,b),N=k(n[1][1+bx],n,m),q=k(n[1][1+B],n,o);return b===T&&m===N&&o===q?f:[0,f[1],T,N,q]}function EI0(n,s,f){var o=f[3],m=f[2],b=f[1],T=k(n[1][1+bx],n,b),N=k(n[1][1+c0],n,m),q=k(n[1][1+B],n,o);return T===b&&N===m&&q===o?f:[0,T,N,q]}function SI0(n,s,f){var o=f[2],m=f[1],b=k(n[1][1+bx],n,m),T=k(n[1][1+B],n,o);return b===m&&T===o?f:[0,b,T]}function AI0(n,s,f){return B0(n[1][1+o2],n,s,f)}function II0(n,s){switch(s[0]){case 0:var f=s[1],o=function(T){return[0,T]};return I0(l(n[1][1+bx],n),f,s,o);case 1:var m=s[1],b=function(T){return[1,T]};return I0(l(n[1][1+cx],n),m,s,b);default:return s}}function jI0(n,s,f){var o=f[2],m=f[1],b=wr(l(n[1][1+Wd],n),m),T=k(n[1][1+B],n,o);return m===b&&o===T?f:[0,b,T]}function PI0(n,s){var f=s[2],o=s[1];switch(f[0]){case 0:var m=f[1],b=function(dx){return[0,o,[0,dx]]};return R0(l(n[1][1+$d],n),o,m,s,b);case 1:var T=f[1],N=function(dx){return[0,o,[1,dx]]};return R0(l(n[1][1+Vd],n),o,T,s,N);case 2:var q=f[1],i0=function(dx){return[0,o,[2,dx]]};return R0(l(n[1][1+O3],n),o,q,s,i0);case 3:var o0=f[1],O0=function(dx){return[0,o,[3,dx]]};return R0(l(n[1][1+sv],n),o,o0,s,O0);case 4:var K0=f[1],Ax=function(dx){return[0,o,[4,dx]]};return R0(l(n[1][1+ye],n),o,K0,s,Ax);case 5:var ux=f[1],Kr=function(dx){return[0,o,[5,dx]]};return R0(l(n[1][1+N3],n),o,ux,s,Kr);case 6:var m2=f[1],s2=function(dx){return[0,o,[6,dx]]};return R0(l(n[1][1+$a],n),o,m2,s,s2);case 7:var h2=f[1],d2=function(dx){return[0,o,[7,dx]]};return R0(l(n[1][1+E3],n),o,h2,s,d2);case 8:var o1=f[1],ge=function(dx){return[0,o,[8,dx]]};return R0(l(n[1][1+ln],n),o,o1,s,ge);case 9:var ze=f[1],Ve=function(dx){return[0,o,[9,dx]]};return R0(l(n[1][1+Wr],n),o,ze,s,Ve);case 10:var kt=f[1],Ge=function(dx){return[0,o,[10,dx]]};return I0(l(n[1][1+A],n),kt,s,Ge);case 11:var We=f[1],$e=function(dx){return[0,o,[11,dx]]};return I0(k(n[1][1+g3],n,o),We,s,$e);case 12:var us=f[1],is=function(dx){return[0,o,[12,dx]]};return R0(l(n[1][1+Ua],n),o,us,s,is);case 13:var He=f[1],fs=function(dx){return[0,o,[13,dx]]};return R0(l(n[1][1+K2],n),o,He,s,fs);case 14:var Ha=f[1],Qa=function(dx){return[0,o,[14,dx]]};return R0(l(n[1][1+ex],n),o,Ha,s,Qa);case 15:var Za=f[1],xo=function(dx){return[0,o,[15,dx]]};return R0(l(n[1][1+Mt],n),o,Za,s,xo);case 16:var G6=f[1],W6=function(dx){return[0,o,[16,dx]]};return R0(l(n[1][1+Ks],n),o,G6,s,W6);case 17:var $6=f[1],H6=function(dx){return[0,o,[17,dx]]};return R0(l(n[1][1+hx],n),o,$6,s,H6);case 18:var Q6=f[1],Z6=function(dx){return[0,o,[18,dx]]};return R0(l(n[1][1+ea],n),o,Q6,s,Z6);case 19:var xp=f[1],rp=function(dx){return[0,o,[19,dx]]};return R0(l(n[1][1+rr],n),o,xp,s,rp);case 20:var ep=f[1],tp=function(dx){return[0,o,[20,dx]]};return R0(l(n[1][1+fn],n),o,ep,s,tp);case 21:var np=f[1],up=function(dx){return[0,o,[21,dx]]};return R0(l(n[1][1+Oa],n),o,np,s,up);case 22:var ip=f[1],fp=function(dx){return[0,o,[22,dx]]};return R0(l(n[1][1+Ys],n),o,ip,s,fp);case 23:var cp=f[1],sp=function(dx){return[0,o,[23,dx]]};return R0(l(n[1][1+Go],n),o,cp,s,sp);case 24:var ap=f[1],op=function(dx){return[0,o,[24,dx]]};return R0(l(n[1][1+un],n),o,ap,s,op);case 25:var vp=f[1],lp=function(dx){return[0,o,[25,dx]]};return R0(l(n[1][1+Fr],n),o,vp,s,lp);case 26:var pp=f[1],kp=function(dx){return[0,o,[26,dx]]};return I0(k(n[1][1+b2],n,o),pp,s,kp);case 27:var mp=f[1],hp=function(dx){return[0,o,[27,dx]]};return R0(l(n[1][1+tx],n),o,mp,s,hp);case 28:var dp=f[1],yp=function(dx){return[0,o,[28,dx]]};return R0(l(n[1][1+Dx],n),o,dp,s,yp);case 29:var gp=f[1],_p=function(dx){return[0,o,[29,dx]]};return R0(l(n[1][1+V0],n),o,gp,s,_p);case 30:var bp=f[1],wp=function(dx){return[0,o,[30,dx]]};return R0(l(n[1][1+rx],n),o,bp,s,wp);case 31:var Tp=f[1],Ep=function(dx){return[0,o,[31,dx]]};return R0(l(n[1][1+A0],n),o,Tp,s,Ep);case 32:var Sp=f[1],Ap=function(dx){return[0,o,[32,dx]]};return R0(l(n[1][1+N0],n),o,Sp,s,Ap);case 33:var Ip=f[1],jp=function(dx){return[0,o,[33,dx]]};return R0(l(n[1][1+x0],n),o,Ip,s,jp);case 34:var Pp=f[1],Np=function(dx){return[0,o,[34,dx]]};return R0(l(n[1][1+p0],n),o,Pp,s,Np);case 35:var Op=f[1],Cp=function(dx){return[0,o,[35,dx]]};return R0(l(n[1][1+S],n),o,Op,s,Cp);case 36:var Dp=f[1],wx=function(dx){return[0,o,[36,dx]]};return R0(l(n[1][1+_],n),o,Dp,s,wx);default:var ED=f[1],SD=function(dx){return[0,o,[37,dx]]};return R0(l(n[1][1+e],n),o,ED,s,SD)}}function NI0(n,s){var f=s[2],o=s[1],m=s[3],b=wr(l(n[1][1+rs],n),o),T=wr(l(n[1][1+rs],n),f);return o===b&&f===T?s:[0,b,T,m]}function OI0(n){var s=l(n[1][1+G0],n);return function(f){return Cx(s,f)}}function CI0(n,s){return s}function DI0(n,s){var f=s[2],o=s[1];switch(f[0]){case 0:var m=f[1],b=function(mx){return[0,o,[0,mx]]};return R0(l(n[1][1+te],n),o,m,s,b);case 1:var T=f[1],N=function(mx){return[0,o,[1,mx]]};return R0(l(n[1][1+cv],n),o,T,s,N);case 2:var q=f[1],i0=function(mx){return[0,o,[2,mx]]};return R0(l(n[1][1+A3],n),o,q,s,i0);case 3:var o0=f[1],O0=function(mx){return[0,o,[3,mx]]};return R0(l(n[1][1+_3],n),o,o0,s,O0);case 4:var K0=f[1],Ax=function(mx){return[0,o,[4,mx]]};return R0(l(n[1][1+Ke],n),o,K0,s,Ax);case 5:var ux=f[1],Kr=function(mx){return[0,o,[5,mx]]};return R0(l(n[1][1+Zc],n),o,ux,s,Kr);case 6:var m2=f[1],s2=function(mx){return[0,o,[6,mx]]};return R0(l(n[1][1+vn],n),o,m2,s,s2);case 7:var h2=f[1],d2=function(mx){return[0,o,[7,mx]]};return R0(l(n[1][1+on],n),o,h2,s,d2);case 8:var o1=f[1],ge=function(mx){return[0,o,[8,mx]]};return R0(l(n[1][1+E1],n),o,o1,s,ge);case 9:var ze=f[1],Ve=function(mx){return[0,o,[9,mx]]};return R0(l(n[1][1+Je],n),o,ze,s,Ve);case 10:var kt=f[1],Ge=function(mx){return[0,o,[10,mx]]};return R0(l(n[1][1+Xe],n),o,kt,s,Ge);case 11:var We=f[1],$e=function(mx){return[0,o,[11,mx]]};return R0(l(n[1][1+me],n),o,We,s,$e);case 12:var us=f[1],is=function(mx){return[0,o,[12,mx]]};return R0(l(n[1][1+Qc],n),o,us,s,is);case 13:var He=f[1],fs=function(mx){return[0,o,[13,mx]]};return R0(l(n[1][1+Hc],n),o,He,s,fs);case 14:var Ha=f[1],Qa=function(mx){return[0,o,[14,mx]]};return R0(l(n[1][1+$c],n),o,Ha,s,Qa);case 15:var Za=f[1],xo=function(mx){return[0,o,[15,mx]]};return R0(l(n[1][1+Be],n),o,Za,s,xo);case 16:var G6=f[1],W6=function(mx){return[0,o,[16,mx]]};return R0(l(n[1][1+Ux],n),o,G6,s,W6);case 17:var $6=f[1],H6=function(mx){return[0,o,[17,mx]]};return R0(l(n[1][1+T1],n),o,$6,s,H6);case 18:var Q6=f[1],Z6=function(mx){return[0,o,[18,mx]]};return R0(l(n[1][1+qe],n),o,Q6,s,Z6);case 19:var xp=f[1],rp=function(mx){return[0,o,[19,mx]]};return R0(l(n[1][1+Ue],n),o,xp,s,rp);case 20:var ep=f[1],tp=function(mx){return[0,o,[20,mx]]};return R0(l(n[1][1+ke],n),o,ep,s,tp);case 21:var np=f[1],up=function(mx){return[0,o,[21,mx]]};return R0(l(n[1][1+re],n),o,np,s,up);case 22:var ip=f[1],fp=function(mx){return[0,o,[22,mx]]};return R0(l(n[1][1+b1],n),o,ip,s,fp);case 23:var cp=f[1],sp=function(mx){return[0,o,[23,mx]]};return R0(l(n[1][1+Cr],n),o,cp,s,sp);case 24:var ap=f[1],op=function(mx){return[0,o,[24,mx]]};return R0(l(n[1][1+c2],n),o,ap,s,op);case 25:var vp=f[1],lp=function(mx){return[0,o,[25,mx]]};return R0(l(n[1][1+xe],n),o,vp,s,lp);case 26:var pp=f[1],kp=function(mx){return[0,o,[26,mx]]};return R0(l(n[1][1+k2],n),o,pp,s,kp);case 27:var mp=f[1],hp=function(mx){return[0,o,[27,mx]]};return R0(l(n[1][1+Pr],n),o,mp,s,hp);case 28:var dp=f[1],yp=function(mx){return[0,o,[28,mx]]};return R0(l(n[1][1+Yd],n),o,dp,s,yp);case 29:var gp=f[1],_p=function(mx){return[0,o,[29,mx]]};return R0(l(n[1][1+L6],n),o,gp,s,_p);case 30:var bp=f[1],wp=function(mx){return[0,o,[30,mx]]};return R0(l(n[1][1+O6],n),o,bp,s,wp);case 31:var Tp=f[1],Ep=function(mx){return[0,o,[31,mx]]};return R0(l(n[1][1+Ca],n),o,Tp,s,Ep);case 32:var Sp=f[1],Ap=function(mx){return[0,o,[32,mx]]};return R0(l(n[1][1+Ix],n),o,Sp,s,Ap);case 33:var Ip=f[1],jp=function(mx){return[0,o,[33,mx]]};return R0(l(n[1][1+Y0],n),o,Ip,s,jp);case 34:var Pp=f[1],Np=function(mx){return[0,o,[34,mx]]};return R0(l(n[1][1+E0],n),o,Pp,s,Np);case 35:var Op=f[1],Cp=function(mx){return[0,o,[35,mx]]};return R0(l(n[1][1+w0],n),o,Op,s,Cp);case 36:var Dp=f[1],wx=function(mx){return[0,o,[36,mx]]};return R0(l(n[1][1+d0],n),o,Dp,s,wx);case 37:var ED=f[1],SD=function(mx){return[0,o,[37,mx]]};return R0(l(n[1][1+Ux],n),o,ED,s,SD);case 38:var dx=f[1],RI0=function(mx){return[0,o,[38,mx]]};return R0(l(n[1][1+p],n),o,dx,s,RI0);case 39:var FI0=f[1],LI0=function(mx){return[0,o,[39,mx]]};return R0(l(n[1][1+u],n),o,FI0,s,LI0);default:var MI0=f[1],UI0=function(mx){return[0,o,[40,mx]]};return R0(l(n[1][1+t],n),o,MI0,s,UI0)}}return qN(x,[0,RC,function(n,s){var f=s[2],o=f[4],m=f[3],b=f[1],T=f[2],N=s[1],q=k(n[1][1+T0],n,b),i0=k(n[1][1+B],n,m),o0=wr(l(n[1][1+rs],n),o);return b===q&&m===i0&&o===o0?s:[0,N,[0,q,T,i0,o0]]},q0,DI0,rs,CI0,B,OI0,G0,NI0,bx,PI0,$d,jI0,Wd,II0,Vd,AI0,O3,SI0,sv,EI0,ye,TI0,N3,wI0,te,bI0,cv,_I0,$a,gI0,M6,yI0,b2,dI0,Ga,hI0,Wa,mI0,P3,kI0,j3,pI0,A3,lI0,E3,vI0,hn,oI0,T3,aI0,xa,sI0,I3,cI0,mn,fI0,S3,iI0,fv,uI0,iv,nI0,es,tI0,uv,eI0,Va,rI0,w3,xI0,r1,ZA0,_3,QA0,Zs,HA0,za,$A0,nv,WA0,tv,GA0,ev,VA0,Qs,zA0,b3,YA0,ln,KA0,Ke,JA0,Zc,XA0,vn,BA0,on,qA0,xs,UA0,kn,MA0,Hs,LA0,he,FA0,E1,RA0,Je,DA0,Lt,CA0,Xe,OA0,me,NA0,Qc,PA0,Hc,jA0,$c,IA0,Be,AA0,T1,SA0,qe,EA0,Ue,TA0,ke,wA0,Me,bA0,a1,_A0,Fe,gA0,lt,yA0,C1,dA0,Ft,hA0,Le,mA0,ee,kA0,Rt,pA0,w1,lA0,V1,vA0,D1,oA0,re,aA0,$r,sA0,b1,cA0,Re,fA0,x1,iA0,pe,uA0,le,nA0,Cr,tA0,Jr,eA0,xe,rA0,O1,xA0,sr,ZS0,k2,QS0,w2,HS0,v2,$S0,c2,WS0,n2,GS0,s1,VS0,pr,zS0,lr,YS0,Sx,KS0,C0,JS0,nx,XS0,at,BS0,H,qS0,Rr,US0,c1,MS0,l0,LS0,G,FS0,Zx,RS0,gr,DS0,er,CS0,s0,OS0,g,NS0,U2,PS0,Ka,jS0,k0,IS0,u0,AS0,Wo,SS0,c,ES0,i,TS0,e0,wS0,F,bS0,K,_S0,D,gS0,D6,yS0,Mx,dS0,ex,hS0,hx,mS0,ea,kS0,Mt,pS0,Ks,lS0,rr,vS0,fn,oS0,z1,aS0,Ye,sS0,C6,cS0,E,fS0,O,iS0,P,uS0,C,nS0,j,tS0,Gc,eS0,Xx,rS0,xr,xS0,P0,ZE0,v0,QE0,g0,HE0,h0,$E0,Gd,WE0,y,GE0,an,VE0,n0,zE0,c0,YE0,Z,KE0,Ya,JE0,Pr,XE0,Wr,BE0,Or,qE0,o2,UE0,br,ME0,Px,LE0,Tr,FE0,qx,RE0,t2,DE0,p2,CE0,de,OE0,Br,NE0,A,PE0,V,jE0,U,IE0,pt,AE0,$s,SE0,O6,EE0,fr,TE0,pn,wE0,g3,bE0,zd,_E0,X,gE0,Yd,yE0,L6,dE0,Jd,hE0,Xd,mE0,Z0,kE0,R6,pE0,F6,lE0,Kd,vE0,Ua,oE0,K2,aE0,Ra,sE0,qa,cE0,Qo,fE0,Da,iE0,rv,uE0,sn,nE0,y3,tE0,xv,eE0,Zo,rE0,Ja,xE0,Xa,ZT0,Ba,QT0,vt,HT0,Wc,$T0,_r,WT0,Ws,GT0,Ma,VT0,cn,zT0,Gs,YT0,Fa,KT0,Vs,JT0,zs,XT0,La,BT0,ot,qT0,Ca,UT0,Oa,MT0,Ys,LT0,tx,FT0,Ho,RT0,$o,DT0,st,TD,Na,v5,Go,o5,un,wD,Fr,bD,J,_D,Jx,a5,_0,F3,y0,R3,kx,V6,J0,z6,Rx,gD,Ux,yD,ur,dD,v,Y6,ts,hD,Xr,mD,q2,kD,ra,K6,ns,pD,cr,lD,zx,vD,jx,oD,_x,aD,M0,D3,Vx,sD,ax,s5,L,cD,Ur,fD,w,iD,lx,J6,L0,uD,sx,c5,Yx,nD,px,tD,hr,eD,j0,X6,Gx,rD,$0,B6,Ex,f5,qr,xD,Lx,i5,Y,q6,Hx,u5,Q,ZC,$,n5,tr,QC,Ix,U6,Dx,HC,T0,$C,Q0,WC,S0,t5,cx,e5,yx,av,V0,GC,Y0,r5,W0,x5,rx,VC,A0,zC,X0,YC,N0,Zd,E0,C3,w0,KC,x0,JC,p0,XC,S,BC,_,Qd,p,Hd,a,qC,u,UC,t,MC,d0,LC,e,FC]),function(n,s){return kh(s,x)}}),KN=function x(r,e,t){return x.fun(r,e,t)};m0(KN,function(x,r,e){var t=e[2];switch(t[0]){case 0:var u=t[1][1];return u1(function(c){return function(v){var a=v[0]===0?v[1][2][2]:v[1][2][1];return B0(KN,x,c,a)}},r,u);case 1:var i=t[1][1];return u1(function(c){return function(v){return v[0]===2?c:B0(KN,x,c,v[1][2][1])}},r,i);case 2:return k(x,r,t[1][1]);default:return r}});var YN=function x(r){return x.fun(r)};function zb0(x){var r=x[0]===0?x[1][2][2]:x[1][2][1];return l(YN,r)}function Vb0(x){return x[0]===2?0:l(YN,x[1][2][1])}m0(YN,function(x){var r=x[2];switch(r[0]){case 0:return sN(zb0,r[1][1]);case 1:return sN(Vb0,r[1][1]);case 2:return 1;default:return 0}});function rn(x,r){return[0,r[1],[0,r[2],x]]}function lB(x,r,e){var t=x?x[1]:0,u=r?r[1]:0;return[0,t,u,e]}function t0(x,r,e){var t=x?x[1]:0,u=r?r[1]:0;return!t&&!u?0:[0,lB([0,t],[0,u],0)]}function F2(x,r,e,t){var u=x?x[1]:0,i=r?r[1]:0;return!u&&!i&&!e?0:[0,lB([0,u],[0,i],e)]}function N1(x,r){if(x){if(r){var e=r[1],t=x[1],u=[0,Fx(t[2],e[2])];return t0([0,Fx(e[1],t[1])],u,R)}var i=x}else var i=r;return i}function zN(x,r){if(!r)return x;if(x){var e=r[1],t=x[1],u=e[1],i=t[3],c=t[1],v=[0,Fx(t[2],e[2])];return F2([0,Fx(u,c)],v,i,R)}var a=r[1];return F2([0,a[1]],[0,a[2]],0,R)}function pB(x,r){e2(x)(tH),l(e2(x)(uH),nH);var e=r[1];l(e2(x)(iH),e),e2(x)(fH),e2(x)(cH),l(e2(x)(aH),sH);var t=r[2];return l(e2(x)(oH),t),e2(x)(vH),e2(x)(lH)}var kB=function x(r,e){return x.fun(r,e)},Gb0=function x(r){return x.fun(r)};m0(kB,function(x,r){e2(x)(dH),l(e2(x)(gH),yH);var e=r[1];if(e){var t=e[1];switch(lh(x,kH),t[0]){case 0:var u=t[1];e2(x)(zW),l(e2(x)(VW),u),e2(x)(GW);break;case 1:var i=t[1];e2(x)(WW),l(e2(x)($W),i),e2(x)(HW);break;case 2:var c=t[1];e2(x)(QW),l(e2(x)(ZW),c),e2(x)(x$);break;default:var v=t[1];e2(x)(r$),l(e2(x)(e$),v),e2(x)(t$)}lh(x,mH)}else lh(x,hH);return e2(x)(_H),e2(x)(bH),l(e2(x)(TH),wH),pB(x,r[2]),e2(x)(EH),e2(x)(SH),l(e2(x)(IH),AH),pB(x,r[3]),e2(x)(jH),e2(x)(PH)}),m0(Gb0,function(x){var r=pH[1],e=Mq(R),t=NN(e);return k(Lr(function(u){Ce(t,u),jN(t,0);var i=R2(e);return e[2]=0,e[1]=e[4],e[3]=nt(e[1]),i},0,r),kB,x)});function Zr(x,r){return[0,x[1],x[2],r[3]]}function Rs(x,r){var e=x[1]-r[1]|0;return e===0?x[2]-r[2]|0:e}function mB(x,r){var e=r[1],t=x[1];if(t){var u=t[1];if(e)var i=e[1],c=oB(i),v=oB(u)-c|0,a=v===0?ix(u[1],i[1]):v;else var a=-1}else var a=e?1:0;if(a!==0)return a;var p=Rs(x[2],r[2]);return p===0?Rs(x[3],r[3]):p}function ha(x,r){return mB(x,r)===0?1:0}var hB=function x(r,e){return x.fun(r,e)};m0(hB,function(x,r){if(typeof x=="number"){var e=x;if(57<=e)switch(e){case 57:if(typeof r=="number"&&r===57)return 0;break;case 58:if(typeof r=="number"&&r===58)return 0;break;case 59:if(typeof r=="number"&&r===59)return 0;break;case 60:if(typeof r=="number"&&r===60)return 0;break;case 61:if(typeof r=="number"&&r===61)return 0;break;case 62:if(typeof r=="number"&&r===62)return 0;break;case 63:if(typeof r=="number"&&r===63)return 0;break;case 64:if(typeof r=="number"&&r===64)return 0;break;case 65:if(typeof r=="number"&&r===65)return 0;break;case 66:if(typeof r=="number"&&r===66)return 0;break;case 67:if(typeof r=="number"&&r===67)return 0;break;case 68:if(typeof r=="number"&&r===68)return 0;break;case 69:if(typeof r=="number"&&r===69)return 0;break;case 70:if(typeof r=="number"&&r===70)return 0;break;case 71:if(typeof r=="number"&&r===71)return 0;break;case 72:if(typeof r=="number"&&r===72)return 0;break;case 73:if(typeof r=="number"&&r===73)return 0;break;case 74:if(typeof r=="number"&&r===74)return 0;break;case 75:if(typeof r=="number"&&r===75)return 0;break;case 76:if(typeof r=="number"&&r===76)return 0;break;case 77:if(typeof r=="number"&&r===77)return 0;break;case 78:if(typeof r=="number"&&r===78)return 0;break;case 79:if(typeof r=="number"&&r===79)return 0;break;case 80:if(typeof r=="number"&&r===80)return 0;break;case 81:if(typeof r=="number"&&r===81)return 0;break;case 82:if(typeof r=="number"&&r===82)return 0;break;case 83:if(typeof r=="number"&&r===83)return 0;break;case 84:if(typeof r=="number"&&r===84)return 0;break;case 85:if(typeof r=="number"&&r===85)return 0;break;case 86:if(typeof r=="number"&&r===86)return 0;break;case 87:if(typeof r=="number"&&r===87)return 0;break;case 88:if(typeof r=="number"&&r===88)return 0;break;case 89:if(typeof r=="number"&&r===89)return 0;break;case 90:if(typeof r=="number"&&r===90)return 0;break;case 91:if(typeof r=="number"&&r===91)return 0;break;case 92:if(typeof r=="number"&&r===92)return 0;break;case 93:if(typeof r=="number"&&r===93)return 0;break;case 94:if(typeof r=="number"&&r===94)return 0;break;case 95:if(typeof r=="number"&&r===95)return 0;break;case 96:if(typeof r=="number"&&r===96)return 0;break;case 97:if(typeof r=="number"&&r===97)return 0;break;case 98:if(typeof r=="number"&&r===98)return 0;break;case 99:if(typeof r=="number"&&r===99)return 0;break;case 100:if(typeof r=="number"&&et===r)return 0;break;case 101:if(typeof r=="number"&&yt===r)return 0;break;case 102:if(typeof r=="number"&&S1===r)return 0;break;case 103:if(typeof r=="number"&&Ze===r)return 0;break;case 104:if(typeof r=="number"&&_t===r)return 0;break;case 105:if(typeof r=="number"&>===r)return 0;break;case 106:if(typeof r=="number"&&z2===r)return 0;break;case 107:if(typeof r=="number"&&$f===r)return 0;break;case 108:if(typeof r=="number"&&R7===r)return 0;break;case 109:if(typeof r=="number"&&Ni===r)return 0;break;case 110:if(typeof r=="number"&&j2===r)return 0;break;case 111:if(typeof r=="number"&&zt===r)return 0;break;default:if(typeof r=="number"&&ue<=r)return 0}else switch(e){case 0:if(typeof r=="number"&&!r)return 0;break;case 1:if(typeof r=="number"&&r===1)return 0;break;case 2:if(typeof r=="number"&&r===2)return 0;break;case 3:if(typeof r=="number"&&r===3)return 0;break;case 4:if(typeof r=="number"&&r===4)return 0;break;case 5:if(typeof r=="number"&&r===5)return 0;break;case 6:if(typeof r=="number"&&r===6)return 0;break;case 7:if(typeof r=="number"&&r===7)return 0;break;case 8:if(typeof r=="number"&&r===8)return 0;break;case 9:if(typeof r=="number"&&r===9)return 0;break;case 10:if(typeof r=="number"&&r===10)return 0;break;case 11:if(typeof r=="number"&&r===11)return 0;break;case 12:if(typeof r=="number"&&r===12)return 0;break;case 13:if(typeof r=="number"&&r===13)return 0;break;case 14:if(typeof r=="number"&&r===14)return 0;break;case 15:if(typeof r=="number"&&r===15)return 0;break;case 16:if(typeof r=="number"&&r===16)return 0;break;case 17:if(typeof r=="number"&&r===17)return 0;break;case 18:if(typeof r=="number"&&r===18)return 0;break;case 19:if(typeof r=="number"&&r===19)return 0;break;case 20:if(typeof r=="number"&&r===20)return 0;break;case 21:if(typeof r=="number"&&r===21)return 0;break;case 22:if(typeof r=="number"&&r===22)return 0;break;case 23:if(typeof r=="number"&&r===23)return 0;break;case 24:if(typeof r=="number"&&r===24)return 0;break;case 25:if(typeof r=="number"&&r===25)return 0;break;case 26:if(typeof r=="number"&&r===26)return 0;break;case 27:if(typeof r=="number"&&r===27)return 0;break;case 28:if(typeof r=="number"&&r===28)return 0;break;case 29:if(typeof r=="number"&&r===29)return 0;break;case 30:if(typeof r=="number"&&r===30)return 0;break;case 31:if(typeof r=="number"&&r===31)return 0;break;case 32:if(typeof r=="number"&&r===32)return 0;break;case 33:if(typeof r=="number"&&r===33)return 0;break;case 34:if(typeof r=="number"&&r===34)return 0;break;case 35:if(typeof r=="number"&&r===35)return 0;break;case 36:if(typeof r=="number"&&r===36)return 0;break;case 37:if(typeof r=="number"&&r===37)return 0;break;case 38:if(typeof r=="number"&&r===38)return 0;break;case 39:if(typeof r=="number"&&r===39)return 0;break;case 40:if(typeof r=="number"&&r===40)return 0;break;case 41:if(typeof r=="number"&&r===41)return 0;break;case 42:if(typeof r=="number"&&r===42)return 0;break;case 43:if(typeof r=="number"&&r===43)return 0;break;case 44:if(typeof r=="number"&&r===44)return 0;break;case 45:if(typeof r=="number"&&r===45)return 0;break;case 46:if(typeof r=="number"&&r===46)return 0;break;case 47:if(typeof r=="number"&&r===47)return 0;break;case 48:if(typeof r=="number"&&r===48)return 0;break;case 49:if(typeof r=="number"&&r===49)return 0;break;case 50:if(typeof r=="number"&&r===50)return 0;break;case 51:if(typeof r=="number"&&r===51)return 0;break;case 52:if(typeof r=="number"&&r===52)return 0;break;case 53:if(typeof r=="number"&&r===53)return 0;break;case 54:if(typeof r=="number"&&r===54)return 0;break;case 55:if(typeof r=="number"&&r===55)return 0;break;default:if(typeof r=="number"&&r===56)return 0}}else switch(x[0]){case 0:if(typeof r!="number"&&r[0]===0)return ix(x[1],r[1]);break;case 1:if(typeof r!="number"&&r[0]===1)return ix(x[1],r[1]);break;case 2:if(typeof r!="number"&&r[0]===2){var t=ix(x[1],r[1]),u=r[2],i=x[2];return t===0?ix(i,u):t}break;case 3:if(typeof r!="number"&&r[0]===3){var c=ix(x[1],r[1]),v=r[2],a=x[2];return c===0?ix(a,v):c}break;case 4:if(typeof r!="number"&&r[0]===4){var p=ix(x[1],r[1]),_=r[2],y=x[2];return p===0?ix(y,_):p}break;case 5:if(typeof r!="number"&&r[0]===5)return ix(x[1],r[1]);break;case 6:if(typeof r!="number"&&r[0]===6)return wt(x[1],r[1]);break;case 7:if(typeof r!="number"&&r[0]===7){var S=r[2],E=x[2],j=ix(x[1],r[1]);if(j!==0)return j;if(!E)return S?-1:0;var C=E[1];return S?ix(C,S[1]):1}break;case 8:if(typeof r!="number"&&r[0]===8)return ix(x[1],r[1]);break;case 9:if(typeof r!="number"&&r[0]===9){var P=r[2],O=x[2],F=ix(x[1],r[1]),K=r[3],U=x[3];if(F!==0)return F;if(O){var V=O[1];if(P){var Q=P[1];x:{switch(V){case 0:if(!Q){var e0=0;break x}break;case 1:if(Q===1){var e0=0;break x}break;case 2:if(Q===2){var e0=0;break x}break;case 3:if(Q===3){var e0=0;break x}break;default:if(4<=Q){var e0=0;break x}}var $=function(jx){switch(jx){case 0:return 0;case 1:return 1;case 2:return 2;case 3:return 3;default:return 4}},x0=$(Q),e0=wt($(V),x0)}var Z=e0}else var Z=1}else var Z=P?-1:0;return Z===0?ix(U,K):Z}break;case 10:if(typeof r!="number"&&r[0]===10){var c0=ix(x[1],r[1]),d0=r[2],n0=x[2];return c0===0?ix(n0,d0):c0}break;case 11:if(typeof r!="number"&&r[0]===11){var P0=ix(x[1],r[1]),h0=r[2],g0=x[2];return P0===0?ix(g0,h0):P0}break;case 12:if(typeof r!="number"&&r[0]===12)return ix(x[1],r[1]);break;case 13:if(typeof r!="number"&&r[0]===13)return ix(x[1],r[1]);break;case 14:if(typeof r!="number"&&r[0]===14)return wt(x[1],r[1]);break;case 15:if(typeof r!="number"&&r[0]===15){var v0=ix(x[1],r[1]),p0=r[4],w0=r[3],T0=r[2],E0=x[4],N0=x[3],X0=x[2];if(v0!==0)return v0;var A0=wt(X0,T0);if(A0!==0)return A0;var rx=wt(N0,w0);return rx===0?wt(E0,p0):rx}break;case 16:if(typeof r!="number"&&r[0]===16){var B=wt(x[1],r[1]),G0=r[2],W0=x[2];return B===0?ix(W0,G0):B}break;case 17:if(typeof r!="number"&&r[0]===17)return wt(x[1],r[1]);break;case 18:if(typeof r!="number"&&r[0]===18)return ix(x[1],r[1]);break;case 19:if(typeof r!="number"&&r[0]===19)return ix(x[1],r[1]);break;case 20:if(typeof r!="number"&&r[0]===20)return ix(x[1],r[1]);break;case 21:if(typeof r!="number"&&r[0]===21){var Y0=ix(x[1],r[1]),V0=r[2],ex=x[2];return Y0===0?ix(ex,V0):Y0}break;case 22:if(typeof r!="number"&&r[0]===22){var Q0=r[1],S0=x[1];if(ol===S0){if(ol===Q0)return 0}else if(tl<=S0){if(tl===Q0)return 0}else if(ZM===Q0)return 0;var q0=function(Hx){return ol===Hx?0:tl<=Hx?2:1},yx=q0(Q0);return wt(q0(S0),yx)}break;case 23:if(typeof r!="number"&&r[0]===23)return ix(x[1],r[1]);break;case 24:if(typeof r!="number"&&r[0]===24)return ix(x[1],r[1]);break;case 25:if(typeof r!="number"&&r[0]===25){var cx=ix(x[1],r[1]),Dx=r[2],Ix=x[2];return cx===0?ix(Ix,Dx):cx}break;case 26:if(typeof r!="number"&&r[0]===26){var Xx=ix(x[1],r[1]),Z0=r[2],rr=x[2];return Xx===0?ix(rr,Z0):Xx}break;default:if(typeof r!="number"&&r[0]===27)return ix(x[1],r[1])}function xr(Hx){if(typeof Hx!="number")switch(Hx[0]){case 0:return 16;case 1:return 17;case 2:return 19;case 3:return 20;case 4:return 21;case 5:return 22;case 6:return 23;case 7:return 24;case 8:return 26;case 9:return 27;case 10:return 28;case 11:return 30;case 12:return 31;case 13:return 33;case 14:return 36;case 15:return 48;case 16:return 51;case 17:return 53;case 18:return 61;case 19:return 70;case 20:return 79;case 21:return 86;case 22:return z2;case 23:return ia;case 24:return Ov;case 25:return Bp;case 26:return CL;default:return sU}var Y=Hx;if(57<=Y)switch(Y){case 57:return 77;case 58:return 78;case 59:return 80;case 60:return 81;case 61:return 82;case 62:return 83;case 63:return 84;case 64:return 85;case 65:return 87;case 66:return 88;case 67:return 89;case 68:return 90;case 69:return 91;case 70:return 92;case 71:return 93;case 72:return 94;case 73:return 95;case 74:return 96;case 75:return 97;case 76:return 98;case 77:return 99;case 78:return et;case 79:return yt;case 80:return S1;case 81:return Ze;case 82:return _t;case 83:return gt;case 84:return $f;case 85:return R7;case 86:return Ni;case 87:return j2;case 88:return zt;case 89:return ue;case 90:return Dr;case 91:return ua;case 92:return B3;case 93:return kv;case 94:return Ev;case 95:return of;case 96:return rl;case 97:return r2;case 98:return Vt;case 99:return Cv;case 100:return ms;case 101:return Yr;case 102:return y2;case 103:return dl;case 104:return kl;case 105:return _4;case 106:return hl;case 107:return $D;case 108:return UF;case 109:return FR;case 110:return U_;case 111:return gF;default:return kM}switch(Y){case 0:return 0;case 1:return 1;case 2:return 2;case 3:return 3;case 4:return 4;case 5:return 5;case 6:return 6;case 7:return 7;case 8:return 8;case 9:return 9;case 10:return 10;case 11:return 11;case 12:return 12;case 13:return 13;case 14:return 14;case 15:return 15;case 16:return 18;case 17:return 25;case 18:return 29;case 19:return 32;case 20:return 34;case 21:return 35;case 22:return 37;case 23:return 38;case 24:return 39;case 25:return 40;case 26:return 41;case 27:return 42;case 28:return 43;case 29:return 44;case 30:return 45;case 31:return 46;case 32:return 47;case 33:return 49;case 34:return 50;case 35:return 52;case 36:return 54;case 37:return 55;case 38:return 56;case 39:return 57;case 40:return 58;case 41:return 59;case 42:return 60;case 43:return 62;case 44:return 63;case 45:return 64;case 46:return 65;case 47:return 66;case 48:return 67;case 49:return 68;case 50:return 69;case 51:return 71;case 52:return 72;case 53:return 73;case 54:return 74;case 55:return 75;default:return 76}}var fr=xr(r);return wt(xr(x),fr)});var Wb0=[x2,F00,Ts(0)];function $b0(x){if(typeof x=="number"){var r=x;if(57<=r)switch(r){case 57:return LQ;case 58:return MQ;case 59:return UQ;case 60:return qQ;case 61:return BQ;case 62:return XQ;case 63:return JQ;case 64:return KQ;case 65:return YQ;case 66:return zQ;case 67:return VQ;case 68:return GQ;case 69:return WQ;case 70:return $Q;case 71:return HQ;case 72:return QQ;case 73:return ZQ;case 74:return xZ;case 75:return rZ;case 76:return eZ;case 77:return tZ;case 78:return nZ;case 79:return uZ;case 80:return iZ;case 81:return fZ;case 82:return cZ;case 83:return sZ;case 84:return aZ;case 85:return oZ;case 86:return vZ;case 87:return lZ;case 88:return pZ;case 89:return kZ;case 90:return mZ;case 91:return hZ;case 92:return dZ;case 93:return yZ;case 94:return gZ;case 95:return _Z;case 96:return bZ;case 97:return wZ;case 98:return TZ;case 99:return EZ;case 100:return SZ;case 101:return AZ;case 102:return IZ;case 103:return jZ;case 104:return PZ;case 105:return NZ;case 106:return OZ;case 107:return CZ;case 108:return DZ;case 109:return RZ;case 110:return FZ;case 111:return LZ;default:return MZ}switch(r){case 0:return OH;case 1:return CH;case 2:return DH;case 3:return RH;case 4:return FH;case 5:return LH;case 6:return MH;case 7:return UH;case 8:return qH;case 9:return BH;case 10:return XH;case 11:return Bx(KH,JH);case 12:return YH;case 13:return zH;case 14:return VH;case 15:return GH;case 16:return WH;case 17:return $H;case 18:return HH;case 19:return QH;case 20:return ZH;case 21:return xQ;case 22:return rQ;case 23:return eQ;case 24:return tQ;case 25:return nQ;case 26:return uQ;case 27:return iQ;case 28:return fQ;case 29:return cQ;case 30:return Bx(aQ,sQ);case 31:return oQ;case 32:return vQ;case 33:return lQ;case 34:return pQ;case 35:return kQ;case 36:return mQ;case 37:return hQ;case 38:return dQ;case 39:return yQ;case 40:return gQ;case 41:return _Q;case 42:return bQ;case 43:return wQ;case 44:return TQ;case 45:return EQ;case 46:return SQ;case 47:return AQ;case 48:return IQ;case 49:return jQ;case 50:return PQ;case 51:return NQ;case 52:return OQ;case 53:return CQ;case 54:return DQ;case 55:return RQ;default:return FQ}}switch(x[0]){case 0:var e=x[1];return l(yr(UZ),e);case 1:var t=x[1];return l(yr(qZ),t);case 2:var u=x[2],i=x[1];return k(yr(BZ),u,i);case 3:var c=x[2],v=x[1];return B0(yr(XZ),c,c,v);case 4:var a=x[2],p=x[1];return k(yr(JZ),a,p);case 5:var _=x[1];return l(yr(KZ),_);case 6:return x[1]?YZ:zZ;case 7:var y=x[2],S=x[1],E=l(yr(VZ),S);if(!y)return l(yr(WZ),E);var j=y[1];return k(yr(GZ),j,E);case 8:var C=x[1];return k(yr($Z),C,C);case 9:var P=x[3],O=x[2],F=x[1];if(!O)return k(yr(ZZ),P,F);var K=O[1];if(K===3)return k(yr(QZ),P,F);switch(K){case 0:var U=BW;break;case 1:var U=XW;break;case 2:var U=JW;break;case 3:var U=KW;break;default:var U=YW}return St(yr(HZ),F,U,P,U);case 10:var V=x[2],Q=x[1],$=fq(V);return B0(yr(x00),V,$,Q);case 11:var x0=x[2],e0=x[1];return k(yr(r00),x0,e0);case 12:var Z=x[1];return l(yr(e00),Z);case 13:var c0=x[1];return l(yr(t00),c0);case 14:return x[1]?Bx(u00,n00):Bx(f00,i00);case 15:var d0=x[1],n0=x[4],P0=x[3],h0=x[2]?c00:s00,g0=P0?a00:o00,v0=n0?Bx(v00,d0):d0;return B0(yr(l00),h0,g0,v0);case 16:var p0=x[2],w0=x[1],T0=sq(45,p0);if(T0)var E0=T0[1],N0=T0[2]?iq(NH,[0,E0,xn(fq,T0[2])]):E0;else var N0=p0;var X0=w0?p00:k00;return B0(yr(m00),p0,N0,X0);case 17:var A0=x[1]?h00:d00;return l(yr(y00),A0);case 18:var rx=x[1];return l(yr(g00),rx);case 19:var B=x[1];return l(yr(_00),B);case 20:var G0=x[1];return l(yr(b00),G0);case 21:var W0=x[2],Y0=x[1];return k(yr(w00),Y0,W0);case 22:var V0=x[1];if(ol===V0)var ex=I00,Q0=j00;else if(tl<=V0)var ex=T00,Q0=E00;else var ex=S00,Q0=A00;return k(yr(P00),Q0,ex);case 23:var S0=x[1];return l(yr(N00),S0);case 24:var q0=x[1];return l(yr(O00),q0);case 25:var yx=x[2],cx=x[1];return k(yr(C00),cx,yx);case 26:var Dx=x[2],Ix=x[1];return k(yr(D00),Ix,Dx);default:var Xx=x[1];return l(yr(R00),Xx)}}var dB=L00.slice();function VN(x){for(var r=0,e=dB.length-1-1|0;;){if(ex)return 1;var r=t+1|0}}}var yB=0;function gB(x){var r=x[2];return[0,x[1],[0,r[1],r[2],r[3],r[4],r[5],r[6],r[7],r[8],r[9],r[10],r[11],r[12]],x[3],x[4],x[5],x[6],x[7]]}function _B(x){return x[3][1]}function _h(x,r){return x!==r[4]?[0,r[1],r[2],r[3],x,r[5],r[6],r[7]]:r}var GN=function x(r,e){return x.fun(r,e)},bB=function x(r,e){return x.fun(r,e)},WN=function x(r,e){return x.fun(r,e)},$N=function x(r,e){return x.fun(r,e)};m0(GN,function(x,r){if(typeof x=="number"){var e=x;if(67<=e)if(et<=e)switch(e){case 100:if(typeof r=="number"&&et===r)return 1;break;case 101:if(typeof r=="number"&&yt===r)return 1;break;case 102:if(typeof r=="number"&&S1===r)return 1;break;case 103:if(typeof r=="number"&&Ze===r)return 1;break;case 104:if(typeof r=="number"&&_t===r)return 1;break;case 105:if(typeof r=="number"&>===r)return 1;break;case 106:if(typeof r=="number"&&z2===r)return 1;break;case 107:if(typeof r=="number"&&$f===r)return 1;break;case 108:if(typeof r=="number"&&R7===r)return 1;break;case 109:if(typeof r=="number"&&Ni===r)return 1;break;case 110:if(typeof r=="number"&&j2===r)return 1;break;case 111:if(typeof r=="number"&&zt===r)return 1;break;case 112:if(typeof r=="number"&&ue===r)return 1;break;case 113:if(typeof r=="number"&&Dr===r)return 1;break;case 114:if(typeof r=="number"&&ia===r)return 1;break;case 115:if(typeof r=="number"&&Ov===r)return 1;break;case 116:if(typeof r=="number"&&ua===r)return 1;break;case 117:if(typeof r=="number"&&B3===r)return 1;break;case 118:if(typeof r=="number"&&kv===r)return 1;break;case 119:if(typeof r=="number"&&Ev===r)return 1;break;case 120:if(typeof r=="number"&&of===r)return 1;break;case 121:if(typeof r=="number"&&rl===r)return 1;break;case 122:if(typeof r=="number"&&r2===r)return 1;break;case 123:if(typeof r=="number"&&Vt===r)return 1;break;case 124:if(typeof r=="number"&&Cv===r)return 1;break;case 125:if(typeof r=="number"&&ms===r)return 1;break;case 126:if(typeof r=="number"&&Bp===r)return 1;break;case 127:if(typeof r=="number"&&Yr===r)return 1;break;case 128:if(typeof r=="number"&&y2===r)return 1;break;case 129:if(typeof r=="number"&&dl===r)return 1;break;case 130:if(typeof r=="number"&&kl===r)return 1;break;case 131:if(typeof r=="number"&&_4===r)return 1;break;default:if(typeof r=="number"&&hl<=r)return 1}else switch(e){case 67:if(typeof r=="number"&&r===67)return 1;break;case 68:if(typeof r=="number"&&r===68)return 1;break;case 69:if(typeof r=="number"&&r===69)return 1;break;case 70:if(typeof r=="number"&&r===70)return 1;break;case 71:if(typeof r=="number"&&r===71)return 1;break;case 72:if(typeof r=="number"&&r===72)return 1;break;case 73:if(typeof r=="number"&&r===73)return 1;break;case 74:if(typeof r=="number"&&r===74)return 1;break;case 75:if(typeof r=="number"&&r===75)return 1;break;case 76:if(typeof r=="number"&&r===76)return 1;break;case 77:if(typeof r=="number"&&r===77)return 1;break;case 78:if(typeof r=="number"&&r===78)return 1;break;case 79:if(typeof r=="number"&&r===79)return 1;break;case 80:if(typeof r=="number"&&r===80)return 1;break;case 81:if(typeof r=="number"&&r===81)return 1;break;case 82:if(typeof r=="number"&&r===82)return 1;break;case 83:if(typeof r=="number"&&r===83)return 1;break;case 84:if(typeof r=="number"&&r===84)return 1;break;case 85:if(typeof r=="number"&&r===85)return 1;break;case 86:if(typeof r=="number"&&r===86)return 1;break;case 87:if(typeof r=="number"&&r===87)return 1;break;case 88:if(typeof r=="number"&&r===88)return 1;break;case 89:if(typeof r=="number"&&r===89)return 1;break;case 90:if(typeof r=="number"&&r===90)return 1;break;case 91:if(typeof r=="number"&&r===91)return 1;break;case 92:if(typeof r=="number"&&r===92)return 1;break;case 93:if(typeof r=="number"&&r===93)return 1;break;case 94:if(typeof r=="number"&&r===94)return 1;break;case 95:if(typeof r=="number"&&r===95)return 1;break;case 96:if(typeof r=="number"&&r===96)return 1;break;case 97:if(typeof r=="number"&&r===97)return 1;break;case 98:if(typeof r=="number"&&r===98)return 1;break;default:if(typeof r=="number"&&r===99)return 1}else if(34<=e)switch(e){case 34:if(typeof r=="number"&&r===34)return 1;break;case 35:if(typeof r=="number"&&r===35)return 1;break;case 36:if(typeof r=="number"&&r===36)return 1;break;case 37:if(typeof r=="number"&&r===37)return 1;break;case 38:if(typeof r=="number"&&r===38)return 1;break;case 39:if(typeof r=="number"&&r===39)return 1;break;case 40:if(typeof r=="number"&&r===40)return 1;break;case 41:if(typeof r=="number"&&r===41)return 1;break;case 42:if(typeof r=="number"&&r===42)return 1;break;case 43:if(typeof r=="number"&&r===43)return 1;break;case 44:if(typeof r=="number"&&r===44)return 1;break;case 45:if(typeof r=="number"&&r===45)return 1;break;case 46:if(typeof r=="number"&&r===46)return 1;break;case 47:if(typeof r=="number"&&r===47)return 1;break;case 48:if(typeof r=="number"&&r===48)return 1;break;case 49:if(typeof r=="number"&&r===49)return 1;break;case 50:if(typeof r=="number"&&r===50)return 1;break;case 51:if(typeof r=="number"&&r===51)return 1;break;case 52:if(typeof r=="number"&&r===52)return 1;break;case 53:if(typeof r=="number"&&r===53)return 1;break;case 54:if(typeof r=="number"&&r===54)return 1;break;case 55:if(typeof r=="number"&&r===55)return 1;break;case 56:if(typeof r=="number"&&r===56)return 1;break;case 57:if(typeof r=="number"&&r===57)return 1;break;case 58:if(typeof r=="number"&&r===58)return 1;break;case 59:if(typeof r=="number"&&r===59)return 1;break;case 60:if(typeof r=="number"&&r===60)return 1;break;case 61:if(typeof r=="number"&&r===61)return 1;break;case 62:if(typeof r=="number"&&r===62)return 1;break;case 63:if(typeof r=="number"&&r===63)return 1;break;case 64:if(typeof r=="number"&&r===64)return 1;break;case 65:if(typeof r=="number"&&r===65)return 1;break;default:if(typeof r=="number"&&r===66)return 1}else switch(e){case 0:if(typeof r=="number"&&!r)return 1;break;case 1:if(typeof r=="number"&&r===1)return 1;break;case 2:if(typeof r=="number"&&r===2)return 1;break;case 3:if(typeof r=="number"&&r===3)return 1;break;case 4:if(typeof r=="number"&&r===4)return 1;break;case 5:if(typeof r=="number"&&r===5)return 1;break;case 6:if(typeof r=="number"&&r===6)return 1;break;case 7:if(typeof r=="number"&&r===7)return 1;break;case 8:if(typeof r=="number"&&r===8)return 1;break;case 9:if(typeof r=="number"&&r===9)return 1;break;case 10:if(typeof r=="number"&&r===10)return 1;break;case 11:if(typeof r=="number"&&r===11)return 1;break;case 12:if(typeof r=="number"&&r===12)return 1;break;case 13:if(typeof r=="number"&&r===13)return 1;break;case 14:if(typeof r=="number"&&r===14)return 1;break;case 15:if(typeof r=="number"&&r===15)return 1;break;case 16:if(typeof r=="number"&&r===16)return 1;break;case 17:if(typeof r=="number"&&r===17)return 1;break;case 18:if(typeof r=="number"&&r===18)return 1;break;case 19:if(typeof r=="number"&&r===19)return 1;break;case 20:if(typeof r=="number"&&r===20)return 1;break;case 21:if(typeof r=="number"&&r===21)return 1;break;case 22:if(typeof r=="number"&&r===22)return 1;break;case 23:if(typeof r=="number"&&r===23)return 1;break;case 24:if(typeof r=="number"&&r===24)return 1;break;case 25:if(typeof r=="number"&&r===25)return 1;break;case 26:if(typeof r=="number"&&r===26)return 1;break;case 27:if(typeof r=="number"&&r===27)return 1;break;case 28:if(typeof r=="number"&&r===28)return 1;break;case 29:if(typeof r=="number"&&r===29)return 1;break;case 30:if(typeof r=="number"&&r===30)return 1;break;case 31:if(typeof r=="number"&&r===31)return 1;break;case 32:if(typeof r=="number"&&r===32)return 1;break;default:if(typeof r=="number"&&r===33)return 1}}else switch(x[0]){case 0:if(typeof r!="number"&&r[0]===0){var t=r[2],u=r[1],i=x[2],c=l(l(WN,x[1]),u);return c&&Sr(i,t)}break;case 1:if(typeof r!="number"&&r[0]===1){var v=r[2],a=r[1],p=x[2],_=l(l($N,x[1]),a);return _&&Sr(p,v)}break;case 2:if(typeof r!="number"&&r[0]===2){var y=r[1],S=x[1],E=y[4],j=y[3],C=y[2],P=S[4],O=S[3],F=S[2],K=ha(S[1],y[1]),U=K&&Sr(F,C),V=U&&Sr(O,j);return V&&(P===E?1:0)}break;case 3:if(typeof r!="number"&&r[0]===3){var Q=r[1],$=x[1],x0=Q[5],e0=Q[4],Z=Q[3],c0=Q[2],d0=$[5],n0=$[4],P0=$[3],h0=$[2],g0=ha($[1],Q[1]),v0=g0&&Sr(h0,c0),p0=v0&&Sr(P0,Z),w0=p0&&(n0===e0?1:0);return w0&&(d0===x0?1:0)}break;case 4:if(typeof r!="number"&&r[0]===4){var T0=r[3],E0=r[2],N0=x[3],X0=x[2],A0=ha(x[1],r[1]),rx=A0&&Sr(X0,E0);return rx&&Sr(N0,T0)}break;case 5:if(typeof r!="number"&&r[0]===5){var B=r[3],G0=r[2],W0=x[3],Y0=x[2],V0=ha(x[1],r[1]),ex=V0&&Sr(Y0,G0);return ex&&Sr(W0,B)}break;case 6:if(typeof r!="number"&&r[0]===6){var Q0=r[2],S0=x[2],q0=ha(x[1],r[1]);return q0&&Sr(S0,Q0)}break;case 7:if(typeof r!="number"&&r[0]===7)return Sr(x[1],r[1]);break;case 8:if(typeof r!="number"&&r[0]===8){var yx=Sr(x[1],r[1]),cx=r[2],Dx=x[2];return yx&&ha(Dx,cx)}break;case 9:if(typeof r!="number"&&r[0]===9){var Ix=r[3],Xx=r[2],Z0=x[3],rr=x[2],xr=ha(x[1],r[1]),fr=xr&&Sr(rr,Xx);return fr&&Sr(Z0,Ix)}break;case 10:if(typeof r!="number"&&r[0]===10){var Hx=r[3],Y=r[2],jx=x[3],hr=x[2],Yx=ha(x[1],r[1]),Ur=Yx&&Sr(hr,Y);return Ur&&Sr(jx,Hx)}break;case 11:if(typeof r!="number"&&r[0]===11){var px=r[1];return l(l(bB,x[1]),px)}break;case 12:if(typeof r!="number"&&r[0]===12){var w=r[3],L=r[2],L0=r[1],sx=x[3],lx=x[2],ax=l(l(WN,x[1]),L0),Vx=ax&&(lx==L?1:0);return Vx&&Sr(sx,w)}break;default:if(typeof r!="number"&&r[0]===13){var _x=r[2],zx=x[2],Lx=r[3],M0=r[1],qr=x[3],Ex=l(l($N,x[1]),M0);if(Ex){x:{if(zx){if(_x){var $0=Xv(zx[1],_x[1]);break x}}else if(!_x){var $0=1;break x}var $0=0}var Gx=$0}else var Gx=Ex;return Gx&&Sr(qr,Lx)}}return 0}),m0(bB,function(x,r){if(x){if(r)return 1}else if(!r)return 1;return 0}),m0(WN,function(x,r){switch(x){case 0:if(!r)return 1;break;case 1:if(r===1)return 1;break;case 2:if(r===2)return 1;break;case 3:if(r===3)return 1;break;default:if(4<=r)return 1}return 0}),m0($N,function(x,r){switch(x){case 0:if(!r)return 1;break;case 1:if(r===1)return 1;break;default:if(2<=r)return 1}return 0});function wB(x){if(typeof x!="number")switch(x[0]){case 0:return ot0;case 1:return vt0;case 2:return lt0;case 3:return pt0;case 4:return kt0;case 5:return mt0;case 6:return ht0;case 7:return dt0;case 8:return yt0;case 9:return gt0;case 10:return _t0;case 11:return bt0;case 12:return wt0;default:return Tt0}var r=x;if(67<=r){if(et<=r)switch(r){case 100:return Oe0;case 101:return Ce0;case 102:return De0;case 103:return Re0;case 104:return Fe0;case 105:return Le0;case 106:return Me0;case 107:return Ue0;case 108:return qe0;case 109:return Be0;case 110:return Xe0;case 111:return Je0;case 112:return Ke0;case 113:return Ye0;case 114:return ze0;case 115:return Ve0;case 116:return Ge0;case 117:return We0;case 118:return $e0;case 119:return He0;case 120:return Qe0;case 121:return Ze0;case 122:return xt0;case 123:return rt0;case 124:return et0;case 125:return tt0;case 126:return nt0;case 127:return ut0;case 128:return it0;case 129:return ft0;case 130:return ct0;case 131:return st0;default:return at0}switch(r){case 67:return Z10;case 68:return xe0;case 69:return re0;case 70:return ee0;case 71:return te0;case 72:return ne0;case 73:return ue0;case 74:return ie0;case 75:return fe0;case 76:return ce0;case 77:return se0;case 78:return ae0;case 79:return oe0;case 80:return ve0;case 81:return le0;case 82:return pe0;case 83:return ke0;case 84:return me0;case 85:return he0;case 86:return de0;case 87:return ye0;case 88:return ge0;case 89:return _e0;case 90:return be0;case 91:return we0;case 92:return Te0;case 93:return Ee0;case 94:return Se0;case 95:return Ae0;case 96:return Ie0;case 97:return je0;case 98:return Pe0;default:return Ne0}}if(34<=r)switch(r){case 34:return g10;case 35:return _10;case 36:return b10;case 37:return w10;case 38:return T10;case 39:return E10;case 40:return S10;case 41:return A10;case 42:return I10;case 43:return j10;case 44:return P10;case 45:return N10;case 46:return O10;case 47:return C10;case 48:return D10;case 49:return R10;case 50:return F10;case 51:return L10;case 52:return M10;case 53:return U10;case 54:return q10;case 55:return B10;case 56:return X10;case 57:return J10;case 58:return K10;case 59:return Y10;case 60:return z10;case 61:return V10;case 62:return G10;case 63:return W10;case 64:return $10;case 65:return H10;default:return Q10}switch(r){case 0:return q20;case 1:return B20;case 2:return X20;case 3:return J20;case 4:return K20;case 5:return Y20;case 6:return z20;case 7:return V20;case 8:return G20;case 9:return W20;case 10:return $20;case 11:return H20;case 12:return Q20;case 13:return Z20;case 14:return x10;case 15:return r10;case 16:return e10;case 17:return t10;case 18:return n10;case 19:return u10;case 20:return i10;case 21:return f10;case 22:return c10;case 23:return s10;case 24:return a10;case 25:return o10;case 26:return v10;case 27:return l10;case 28:return p10;case 29:return k10;case 30:return m10;case 31:return h10;case 32:return d10;default:return y10}}function HN(x){if(typeof x!="number")switch(x[0]){case 0:return x[2];case 1:return x[2];case 2:return x[1][3];case 3:var r=x[1],e=r[5],t=r[4],u=r[3];return t&&e?Bx(j20,Bx(u,I20)):t?Bx(N20,Bx(u,P20)):e?Bx(C20,Bx(u,O20)):Bx(R20,Bx(u,D20));case 4:return x[3];case 5:var i=x[2];return Bx(L20,Bx(i,Bx(F20,x[3])));case 6:return x[2];case 7:return x[1];case 8:return x[1];case 9:return x[3];case 10:return x[3];case 11:return x[1]?M20:U20;case 12:return x[3];default:return x[3]}var c=x;if(67<=c){if(et<=c)switch(c){case 100:return Wr0;case 101:return $r0;case 102:return Hr0;case 103:return Qr0;case 104:return Zr0;case 105:return x20;case 106:return r20;case 107:return e20;case 108:return t20;case 109:return n20;case 110:return u20;case 111:return i20;case 112:return f20;case 113:return c20;case 114:return s20;case 115:return a20;case 116:return o20;case 117:return v20;case 118:return l20;case 119:return p20;case 120:return k20;case 121:return m20;case 122:return h20;case 123:return d20;case 124:return y20;case 125:return g20;case 126:return _20;case 127:return b20;case 128:return w20;case 129:return T20;case 130:return E20;case 131:return S20;default:return A20}switch(c){case 67:return mr0;case 68:return hr0;case 69:return dr0;case 70:return yr0;case 71:return gr0;case 72:return _r0;case 73:return br0;case 74:return wr0;case 75:return Tr0;case 76:return Er0;case 77:return Sr0;case 78:return Ar0;case 79:return Ir0;case 80:return jr0;case 81:return Pr0;case 82:return Nr0;case 83:return Or0;case 84:return Cr0;case 85:return Dr0;case 86:return Rr0;case 87:return Fr0;case 88:return Lr0;case 89:return Mr0;case 90:return Ur0;case 91:return qr0;case 92:return Br0;case 93:return Xr0;case 94:return Jr0;case 95:return Kr0;case 96:return Yr0;case 97:return zr0;case 98:return Vr0;default:return Gr0}}if(34<=c)switch(c){case 34:return Lx0;case 35:return Mx0;case 36:return Ux0;case 37:return qx0;case 38:return Bx0;case 39:return Xx0;case 40:return Jx0;case 41:return Kx0;case 42:return Yx0;case 43:return zx0;case 44:return Vx0;case 45:return Gx0;case 46:return Wx0;case 47:return $x0;case 48:return Hx0;case 49:return Qx0;case 50:return Zx0;case 51:return xr0;case 52:return rr0;case 53:return er0;case 54:return tr0;case 55:return nr0;case 56:return ur0;case 57:return ir0;case 58:return fr0;case 59:return cr0;case 60:return sr0;case 61:return ar0;case 62:return or0;case 63:return vr0;case 64:return lr0;case 65:return pr0;default:return kr0}switch(c){case 0:return tx0;case 1:return nx0;case 2:return ux0;case 3:return ix0;case 4:return fx0;case 5:return cx0;case 6:return sx0;case 7:return ax0;case 8:return ox0;case 9:return vx0;case 10:return lx0;case 11:return px0;case 12:return kx0;case 13:return mx0;case 14:return hx0;case 15:return dx0;case 16:return yx0;case 17:return gx0;case 18:return _x0;case 19:return bx0;case 20:return wx0;case 21:return Tx0;case 22:return Ex0;case 23:return Sx0;case 24:return Ax0;case 25:return Ix0;case 26:return jx0;case 27:return Px0;case 28:return Nx0;case 29:return Ox0;case 30:return Cx0;case 31:return Dx0;case 32:return Rx0;default:return Fx0}}function bh(x){return l(yr(ex0),x)}function QN(x,r){var e=x?x[1]:0;x:{if(typeof r=="number"){if(Dr===r){var t=q00,u=B00;break x}}else switch(r[0]){case 3:var t=X00,u=J00;break x;case 5:var t=K00,u=Y00;break x;case 0:case 12:var t=V00,u=G00;break x;case 1:case 13:var t=W00,u=$00;break x;case 4:case 8:var t=Z00,u=xx0;break x;case 6:case 7:case 11:break;default:var t=H00,u=Q00;break x}var t=z00,u=bh(HN(r))}return e?Bx(t,Bx(rx0,u)):u}function Hb0(x){return Eo>>0)var t=d(x);else switch(e){case 0:var t=1;break;case 1:var t=2;break;case 2:var t=0;break;default:if(z(x,2),wa(h(x))===0){var u=Lo(h(x));if(u===0)var t=Ir(h(x))===0&&Ir(h(x))===0&&Ir(h(x))===0?0:d(x);else if(u===1&&Ir(h(x))===0){for(;;){var i=Fo(h(x));if(i!==0)break}var t=i===1?0:d(x)}else var t=d(x)}else var t=d(x)}if(2>>0)throw U0([0,Ar,Et0],1);switch(t){case 0:break;case 1:return;default:if(!VN(uB(x))){fB(x,1);return}}}}function Vh(x,r){var e=r-x[3][2]|0;return[0,_B(x),e]}function Hl(x,r,e){var t=Vh(x,e),u=Vh(x,r);return[0,x[1],u,t]}function h1(x,r){return Vh(x,r[6])}function oe(x,r){return Vh(x,r[3])}function zr(x,r){return Hl(x,r[6],r[3])}function VB(x,r){x:if(typeof r!="number"){switch(r[0]){case 2:var e=r[1][1];break;case 3:return r[1][1];case 4:var e=r[1];break;case 5:return r[1];case 8:var e=r[2];break;case 9:return r[1];case 10:return r[1];default:break x}return e}return zr(x,x[2])}function d1(x,r,e){return[0,x[1],x[2],x[3],x[4],x[5],[0,[0,r,e],x[6]],x[7]]}function GB(x,r,e){return d1(x,r,[24,bh(e)])}function nO(x,r,e,t){return d1(x,r,[25,e,t])}function ft(x,r){return d1(x,r,Kc0)}function J1(x,r){var e=r[3],t=[0,_B(x)+1|0,e];return[0,x[1],x[2],t,x[4],x[5],x[6],x[7]]}function jt(x,r,e,t,u){var i=[0,x[1],r,e],c=R2(t),v=u?0:1;return[0,i,[0,v,c,x[7][3][1]>>0)var a=d(t);else switch(v){case 0:var a=2;break;case 1:for(;;){z(t,3);var p=h(t),_=-1>>0)return gx(Lc0);switch(a){case 0:var E=$B(i,e,t,2,0),j=E[1],C=tt(Bx(Mc0,E[2])),P=0<=C?1:0,O=P&&(C<=55295?1:0);if(O)var K=O;else var F=57344<=C?1:0,K=F&&(C<=d8?1:0);var U=K?WB(i,j,C):d1(i,j,28);Mc(u,C);var i=U;break;case 1:var V=$B(i,e,t,3,1),Q=V[1],$=tt(Bx(Uc0,V[2])),x0=WB(i,Q,$);Mc(u,$);var i=x0;break;case 2:return[0,i,R2(u)];default:dh(t,u)}}}function A2(x,r,e){var t=ft(x,zr(x,r));return Zv(r),e(t,r)}function Uo(x,r,e){for(var t=x;;){kr(e);var u=h(e),i=-1>>0)var c=d(e);else switch(i){case 0:for(;;){z(e,3);var v=h(e),a=-1>>0){var y=ft(t,zr(t,e));return[0,y,oe(y,e)]}switch(c){case 0:var S=J1(t,e);dh(e,r);var t=S;break;case 1:var E=t[4]?nO(t,zr(t,e),It0,At0):t;return[0,E,oe(E,e)];case 2:if(t[4])return[0,t,oe(t,e)];ar(r,jt0);break;default:dh(e,r)}}}function t3(x,r,e){for(;;){kr(e);var t=h(e),u=13>>0)var i=d(e);else switch(u){case 0:var i=0;break;case 1:for(;;){z(e,2);var c=h(e),v=-1>>0)return gx(Pt0);switch(i){case 0:return[0,x,oe(x,e)];case 1:var a=oe(x,e),p=a[2],_=a[1],y=J1(x,e);return[0,y,[0,_,p-hh(e)|0]];default:dh(e,r)}}}function QB(x,r){function e(Q){return z(Q,3),X1(h(Q))===0?2:d(Q)}kr(r);var t=h(r),u=of>>0)var i=d(r);else switch(u){case 0:var i=0;break;case 1:var i=16;break;case 2:var i=15;break;case 3:z(r,15);var i=ae(h(r))===0?15:d(r);break;case 4:z(r,4);var i=X1(h(r))===0?e(r):d(r);break;case 5:z(r,11);var i=X1(h(r))===0?e(r):d(r);break;case 6:var i=0;break;case 7:var i=5;break;case 8:var i=6;break;case 9:var i=7;break;case 10:var i=8;break;case 11:var i=9;break;case 12:z(r,14);var c=Lo(h(r));if(c===0)var i=Ir(h(r))===0&&Ir(h(r))===0&&Ir(h(r))===0?12:d(r);else if(c===1&&Ir(h(r))===0){for(;;){var v=Fo(h(r));if(v!==0)break}var i=v===1?13:d(r)}else var i=d(r);break;case 13:var i=10;break;default:z(r,14);var i=Ir(h(r))===0&&Ir(h(r))===0?1:d(r)}if(16>>0)return gx(wc0);switch(i){case 0:var a=Ox(r);return[0,x,a,i2(r),0];case 1:var p=Ox(r);return[0,x,p,[0,tt(Bx(Tc0,p))],0];case 2:var _=Ox(r),y=tt(Bx(Ec0,_));return gv<=y?[0,x,_,[0,y>>>3|0,48+(y&7)|0],1]:[0,x,_,[0,y],1];case 3:var S=Ox(r);return[0,x,S,[0,tt(Bx(Sc0,S))],1];case 4:return[0,x,Ac0,[0,0],0];case 5:return[0,x,Ic0,[0,8],0];case 6:return[0,x,jc0,[0,12],0];case 7:return[0,x,Pc0,[0,10],0];case 8:return[0,x,Nc0,[0,13],0];case 9:return[0,x,Oc0,[0,9],0];case 10:return[0,x,Cc0,[0,11],0];case 11:var E=Ox(r);return[0,x,E,[0,tt(Bx(Dc0,E))],1];case 12:var j=Ox(r);return[0,x,j,[0,tt(Bx(Rc0,k1(j,1,Nx(j)-1|0)))],0];case 13:var C=Ox(r),P=tt(Bx(Fc0,k1(C,2,Nx(C)-3|0))),O=d8>>0)var _=d(i);else switch(p){case 0:var _=3;break;case 1:for(;;){z(i,4);var y=h(i),S=-1>>0)return gx(Nt0);switch(_){case 0:var E=Ox(i);if(ar(t,E),Sr(r,E))return[0,c,oe(c,i),v];ar(e,E);break;case 1:ar(t,Ot0);var j=QB(c,i),C=j[4],P=j[3],O=j[2],F=j[1],K=C||v;ar(t,O),aq(function(P0){return Mc(e,P0)},P);var c=F,v=K;break;case 2:var U=Ox(i);ar(t,U);var V=J1(ft(c,zr(c,i)),i);return ar(e,U),[0,V,oe(V,i),v];case 3:var Q=Ox(i);ar(t,Q);var $=ft(c,zr(c,i));return ar(e,Q),[0,$,oe($,i),v];default:var x0=i[6],e0=i[3]-x0|0,Z=T2(e0*4|0),c0=zl(i[1],x0,e0,Z);kN(t,Z,0,c0),kN(e,Z,0,c0)}}}function xX(x,r,e,t){for(var u=x;;){kr(t);var i=h(t),c=96>>0)var v=d(t);else switch(c){case 0:var v=0;break;case 1:for(;;){z(t,6);var a=h(t),p=-1>>0)return gx(Ct0);switch(v){case 0:return[0,ft(u,zr(u,t)),1];case 1:return[0,u,1];case 2:return[0,u,0];case 3:ut(e,92);var S=QB(u,t),E=S[3],j=S[1];ar(e,S[2]),aq(function(O){return Mc(r,O)},E);var u=j;break;case 4:ar(e,Dt0),ar(r,Rt0);var u=J1(u,t);break;case 5:ar(e,Ox(t)),ut(r,10);var u=J1(u,t);break;default:var C=Ox(t);ar(e,C),ar(r,C)}}}function xw0(x,r){function e(g){for(;;)if(z(g,33),or(h(g))!==0)return d(g)}function t(g){z(g,32);var G=D2(h(g));if(G!==0)return G===1?e(g):d(g);for(;;)if(z(g,30),or(h(g))!==0)return d(g)}function u(g){z(g,31);var G=D2(h(g));if(G!==0)return G===1?e(g):d(g);for(;;)if(z(g,29),or(h(g))!==0)return d(g)}function i(g){z(g,34);var G=x3(h(g));if(2>>0)return d(g);switch(G){case 0:return e(g);case 1:x:for(;;){z(g,34);var H=Xc(h(g));if(3>>0)return d(g);switch(H){case 0:return e(g);case 1:break;case 2:break x;default:return u(g)}}for(;;){if(mr(h(g))!==0)return d(g);x:for(;;){z(g,34);var l0=Xc(h(g));if(3>>0)return d(g);switch(l0){case 0:return e(g);case 1:break;case 2:break x;default:return u(g)}}}break;default:return u(g)}}function c(g){for(;;){if(mr(h(g))!==0)return d(g);x:for(;;){z(g,34);var G=LB(h(g));if(4>>0)return d(g);switch(G){case 0:return e(g);case 1:return i(g);case 2:break;case 3:break x;default:return t(g)}}}}function v(g){for(;;)if(z(g,23),or(h(g))!==0)return d(g)}function a(g){for(;;)if(z(g,23),or(h(g))!==0)return d(g)}function p(g){for(;;)if(z(g,15),or(h(g))!==0)return d(g)}function _(g){for(;;)if(z(g,15),or(h(g))!==0)return d(g)}function y(g){for(;;)if(z(g,11),or(h(g))!==0)return d(g)}function S(g){for(;;)if(z(g,11),or(h(g))!==0)return d(g)}function E(g){for(;;)if(z(g,17),or(h(g))!==0)return d(g)}function j(g){for(;;)if(z(g,17),or(h(g))!==0)return d(g)}function C(g){for(;;)if(z(g,19),or(h(g))!==0)return d(g)}function P(g){for(;;)if(z(g,27),or(h(g))!==0)return d(g)}function O(g){z(g,26);var G=D2(h(g));if(G!==0)return G===1?P(g):d(g);for(;;)if(z(g,25),or(h(g))!==0)return d(g)}function F(g){for(;;)if(z(g,27),or(h(g))!==0)return d(g)}function K(g){z(g,26);var G=D2(h(g));if(G!==0)return G===1?F(g):d(g);for(;;)if(z(g,25),or(h(g))!==0)return d(g)}function U(g){for(;;){if(mr(h(g))!==0)return d(g);x:for(;;){z(g,28);var G=Xc(h(g));if(3>>0)return d(g);switch(G){case 0:return F(g);case 1:break;case 2:break x;default:return K(g)}}}}function V(g){z(g,33);var G=UB(h(g));if(3>>0)return d(g);switch(G){case 0:return e(g);case 1:var H=ya(h(g));if(H===0)for(;;){z(g,28);var l0=x3(h(g));if(2>>0)return d(g);switch(l0){case 0:return F(g);case 1:break;default:return K(g)}}else{if(H!==1)return d(g);for(;;){z(g,28);var J=Xc(h(g));if(3>>0)return d(g);switch(J){case 0:return F(g);case 1:break;case 2:return U(g);default:return K(g)}}}break;case 2:for(;;){z(g,28);var s0=x3(h(g));if(2>>0)return d(g);switch(s0){case 0:return P(g);case 1:break;default:return O(g)}}break;default:for(;;){z(g,28);var _0=Xc(h(g));if(3<_0>>>0)return d(g);switch(_0){case 0:return P(g);case 1:break;case 2:return U(g);default:return O(g)}}}}function Q(g){z(g,34);var G=jB(h(g));if(3>>0)return d(g);switch(G){case 0:return e(g);case 1:x:for(;;){z(g,34);var H=ga(h(g));if(4>>0)return d(g);switch(H){case 0:return e(g);case 1:break;case 2:return V(g);case 3:break x;default:return u(g)}}for(;;){if(mr(h(g))!==0)return d(g);x:for(;;){z(g,34);var l0=ga(h(g));if(4>>0)return d(g);switch(l0){case 0:return e(g);case 1:break;case 2:return V(g);case 3:break x;default:return u(g)}}}break;case 2:return V(g);default:return u(g)}}function $(g){return qh(h(g))===0&&Fh(h(g))===0&&BB(h(g))===0&&NB(h(g))===0&&OB(h(g))===0&&Rh(h(g))===0&&Wl(h(g))===0&&qh(h(g))===0&&wa(h(g))===0&&tO(h(g))===0&&Mo(h(g))===0?3:d(g)}function x0(g){return z(g,3),KB(h(g))===0?3:d(g)}function e0(g){var G=Hb0(h(g));if(36>>0)return d(g);switch(G){case 0:return 98;case 1:return 99;case 2:if(z(g,1),qc(h(g))!==0)return d(g);for(;;)if(z(g,1),qc(h(g))!==0)return d(g);break;case 3:return 0;case 4:return z(g,0),ae(h(g))===0?0:d(g);case 5:return z(g,88),en(h(g))===0?(z(g,58),en(h(g))===0?54:d(g)):d(g);case 6:return 7;case 7:z(g,95);var H=h(g),l0=32>>0)return d(g);switch(_0){case 0:return z(g,83),en(h(g))===0?70:d(g);case 1:return 4;default:return 69}case 14:z(g,80);var y0=h(g),J0=42>>0)return d(g);switch(gr){case 0:return e(g);case 1:break;case 2:return V(g);case 3:break x;default:return u(g)}}for(;;){if(mr(h(g))!==0)return d(g);x:for(;;){z(g,34);var Zx=ga(h(g));if(4>>0)return d(g);switch(Zx){case 0:return e(g);case 1:break;case 2:return V(g);case 3:break x;default:return u(g)}}}break;case 18:z(g,93);var er=PB(h(g));if(2>>0)return d(g);switch(er){case 0:z(g,2);var Fr=jh(h(g));if(2>>0)return d(g);switch(Fr){case 0:for(;;){var hx=jh(h(g));if(2>>0)return d(g);switch(hx){case 0:break;case 1:return x0(g);default:return $(g)}}break;case 1:return x0(g);default:return $(g)}break;case 1:return 5;default:return 92}break;case 19:z(g,34);var z1=DB(h(g));if(8>>0)return d(g);switch(z1){case 0:return e(g);case 1:return Q(g);case 2:x:{r:for(;;){z(g,20);var Ks=qB(h(g));if(4>>0)return d(g);switch(Ks){case 0:return C(g);case 1:return i(g);case 2:break;case 3:break x;default:break r}}z(g,19);var un=D2(h(g));if(un!==0)return un===1?C(g):d(g);for(;;)if(z(g,19),or(h(g))!==0)return d(g)}x:for(;;){z(g,18);var fn=Ih(h(g));if(3>>0)return d(g);switch(fn){case 0:return j(g);case 1:return i(g);case 2:break;default:break x}}z(g,17);var Go=D2(h(g));if(Go!==0)return Go===1?j(g):d(g);for(;;)if(z(g,17),or(h(g))!==0)return d(g);break;case 3:x:for(;;){z(g,18);var Wo=Ih(h(g));if(3>>0)return d(g);switch(Wo){case 0:return E(g);case 1:return i(g);case 2:break;default:break x}}z(g,17);var $o=D2(h(g));if($o!==0)return $o===1?E(g):d(g);for(;;)if(z(g,17),or(h(g))!==0)return d(g);break;case 4:z(g,33);var Na=CB(h(g));if(Na===0)return e(g);if(Na!==1)return d(g);x:{r:for(;;){z(g,12);var Ho=Kh(h(g));if(3>>0)return d(g);switch(Ho){case 0:return S(g);case 1:break;case 2:break x;default:break r}}z(g,10);var st=D2(h(g));if(st!==0)return st===1?S(g):d(g);for(;;)if(z(g,9),or(h(g))!==0)return d(g)}x:for(;;){if(Bc(h(g))!==0)return d(g);r:for(;;){z(g,12);var Ys=Kh(h(g));if(3>>0)return d(g);switch(Ys){case 0:return y(g);case 1:break;case 2:break r;default:break x}}}z(g,10);var Oa=D2(h(g));if(Oa!==0)return Oa===1?y(g):d(g);for(;;)if(z(g,9),or(h(g))!==0)return d(g);break;case 5:return V(g);case 6:z(g,33);var Ca=RB(h(g));if(Ca===0)return e(g);if(Ca!==1)return d(g);x:{r:for(;;){z(g,16);var at=Xh(h(g));if(3>>0)return d(g);switch(at){case 0:return _(g);case 1:break;case 2:break x;default:break r}}z(g,14);var Gc=D2(h(g));if(Gc!==0)return Gc===1?_(g):d(g);for(;;)if(z(g,13),or(h(g))!==0)return d(g)}x:for(;;){if(X1(h(g))!==0)return d(g);r:for(;;){z(g,16);var _r=Xh(h(g));if(3<_r>>>0)return d(g);switch(_r){case 0:return p(g);case 1:break;case 2:break r;default:break x}}}z(g,14);var Da=D2(h(g));if(Da!==0)return Da===1?p(g):d(g);for(;;)if(z(g,13),or(h(g))!==0)return d(g);break;case 7:z(g,33);var Ra=SB(h(g));if(Ra===0)return e(g);if(Ra!==1)return d(g);x:{r:for(;;){z(g,24);var Qo=Yh(h(g));if(3>>0)return d(g);switch(Qo){case 0:return a(g);case 1:break;case 2:break x;default:break r}}z(g,22);var Fa=D2(h(g));if(Fa!==0)return Fa===1?a(g):d(g);for(;;)if(z(g,21),or(h(g))!==0)return d(g)}x:for(;;){if(Ir(h(g))!==0)return d(g);r:for(;;){z(g,24);var zs=Yh(h(g));if(3>>0)return d(g);switch(zs){case 0:return v(g);case 1:break;case 2:break r;default:break x}}}z(g,22);var La=D2(h(g));if(La!==0)return La===1?v(g):d(g);for(;;)if(z(g,21),or(h(g))!==0)return d(g);break;default:return t(g)}break;case 20:z(g,34);var Vs=Nh(h(g));if(5>>0)return d(g);switch(Vs){case 0:return e(g);case 1:return Q(g);case 2:for(;;){z(g,34);var ot=Nh(h(g));if(5>>0)return d(g);switch(ot){case 0:return e(g);case 1:return Q(g);case 2:break;case 3:return V(g);case 4:return c(g);default:return t(g)}}break;case 3:return V(g);case 4:return c(g);default:return t(g)}break;case 21:return 46;case 22:return 44;case 23:z(g,78);var K2=h(g),Wc=59>>0)return gx(yc0);var c0=Z;if(50>c0)switch(c0){case 0:return[2,J1(x,r)];case 1:return[2,x];case 2:var d0=h1(x,r),n0=Qr(Yr),P0=Uo(x,n0,r),h0=P0[1];return[1,h0,jt(h0,d0,P0[2],n0,1)];case 3:var g0=Ox(r);if(!x[5]){var v0=h1(x,r),p0=Qr(Yr);ar(p0,k1(g0,2,Nx(g0)-2|0));var w0=Uo(x,p0,r),T0=w0[1];return[1,T0,jt(T0,v0,w0[2],p0,1)]}var E0=x[4]?GB(x,zr(x,r),g0):x,N0=_h(1,E0),X0=hh(r);return Sr(Vl(r,X0-1|0,1),Ao)&&I(Vl(r,X0-2|0,1),Ao)?[0,N0,86]:[2,N0];case 4:if(x[4])return[2,_h(0,x)];Zv(r),kr(r);var A0=IB(h(r))===0?0:d(r);return A0===0?[0,x,z2]:gx(gc0);case 5:var rx=h1(x,r),B=Qr(Yr),G0=t3(x,B,r),W0=G0[1];return[1,W0,jt(W0,rx,G0[2],B,0)];case 6:if(r[6]!==0)return[0,x,_c0];var Y0=h1(x,r),V0=Qr(Yr),ex=t3(x,V0,r),Q0=ex[1],S0=[0,Q0[1],Y0,ex[2]];return[0,Q0,[6,S0,R2(V0)]];case 7:var q0=Ox(r),yx=h1(x,r),cx=Qr(Yr),Dx=Qr(Yr);ar(Dx,q0);var Ix=ZB(x,q0,cx,Dx,0,r),Xx=Ix[1],Z0=Ix[3],rr=[0,Xx[1],yx,Ix[2]],xr=R2(Dx);return[0,Xx,[2,[0,rr,R2(cx),xr,Z0]]];case 8:var fr=Qr(Yr),Hx=Qr(Yr),Y=h1(x,r),jx=xX(x,fr,Hx,r),hr=jx[1],Yx=jx[2],Ur=oe(hr,r),px=[0,hr[1],Y,Ur],w=R2(Hx);return[0,hr,[3,[0,px,R2(fr),w,1,Yx]]];case 9:return A2(x,r,function(g,G){kr(G);x:if(se(h(G))===0&&Ch(h(G))===0&&Bc(h(G))===0){r:for(;;){var H=Sh(h(G));if(2>>0){var s0=d(G);break x}switch(H){case 0:break;case 1:break r;default:var s0=0;break x}}for(;;){r:{if(Bc(h(G))===0){e:for(;;){var l0=Sh(h(G));if(2>>0){var J=d(G);break r}switch(l0){case 0:break;case 1:break e;default:var J=0;break r}}continue}var J=d(G)}var s0=J;break}}else var s0=d(G);return s0===0?[0,g,[1,0,Ox(G)]]:gx(dc0)});case 10:return[0,x,[1,0,Ox(r)]];case 11:return A2(x,r,function(g,G){if(kr(G),se(h(G))===0&&Ch(h(G))===0&&Bc(h(G))===0){for(;;){z(G,0);var H=Eh(h(G));if(H!==0)break}if(H===1)for(;;){if(Bc(h(G))===0){for(;;){z(G,0);var l0=Eh(h(G));if(l0!==0)break}if(l0===1)continue;var J=d(G)}else var J=d(G);var s0=J;break}else var s0=d(G)}else var s0=d(G);return s0===0?[0,g,[0,0,Ox(G)]]:gx(hc0)});case 12:return[0,x,[0,0,Ox(r)]];case 13:return A2(x,r,function(g,G){kr(G);x:if(se(h(G))===0&&Mh(h(G))===0&&X1(h(G))===0){r:for(;;){var H=Oh(h(G));if(2>>0){var s0=d(G);break x}switch(H){case 0:break;case 1:break r;default:var s0=0;break x}}for(;;){r:{if(X1(h(G))===0){e:for(;;){var l0=Oh(h(G));if(2>>0){var J=d(G);break r}switch(l0){case 0:break;case 1:break e;default:var J=0;break r}}continue}var J=d(G)}var s0=J;break}}else var s0=d(G);return s0===0?[0,g,[1,1,Ox(G)]]:gx(mc0)});case 14:return[0,x,[1,1,Ox(r)]];case 15:return A2(x,r,function(g,G){if(kr(G),se(h(G))===0&&Mh(h(G))===0&&X1(h(G))===0){for(;;){z(G,0);var H=Ph(h(G));if(H!==0)break}if(H===1)for(;;){if(X1(h(G))===0){for(;;){z(G,0);var l0=Ph(h(G));if(l0!==0)break}if(l0===1)continue;var J=d(G)}else var J=d(G);var s0=J;break}else var s0=d(G)}else var s0=d(G);return s0===0?[0,g,[0,3,Ox(G)]]:gx(kc0)});case 16:return[0,x,[0,3,Ox(r)]];case 17:return A2(x,r,function(g,G){if(kr(G),se(h(G))===0){for(;;){var H=h(G),l0=47>>0){var s0=d(G);break x}switch(H){case 0:break;case 1:break r;default:var s0=0;break x}}for(;;){r:{if(Ir(h(G))===0){e:for(;;){var l0=Ah(h(G));if(2>>0){var J=d(G);break r}switch(l0){case 0:break;case 1:break e;default:var J=0;break r}}continue}var J=d(G)}var s0=J;break}}else var s0=d(G);return s0===0?[0,g,[1,2,Ox(G)]]:gx(vc0)});case 22:return[0,x,[1,2,Ox(r)]];case 23:return A2(x,r,function(g,G){if(kr(G),se(h(G))===0&&wh(h(G))===0&&Ir(h(G))===0){for(;;){z(G,0);var H=Bh(h(G));if(H!==0)break}if(H===1)for(;;){if(Ir(h(G))===0){for(;;){z(G,0);var l0=Bh(h(G));if(l0!==0)break}if(l0===1)continue;var J=d(G)}else var J=d(G);var s0=J;break}else var s0=d(G)}else var s0=d(G);return s0===0?[0,g,[0,4,Ox(G)]]:gx(oc0)});case 24:return[0,x,[0,4,Ox(r)]];case 25:return A2(x,r,function(g,G){function H(er){for(;;){var Fr=At(h(er));if(2>>0)return d(er);switch(Fr){case 0:break;case 1:for(;;){if(mr(h(er))!==0)return d(er);x:for(;;){var hx=At(h(er));if(2>>0)return d(er);switch(hx){case 0:break;case 1:break x;default:return 0}}}break;default:return 0}}}function l0(er){for(;;){var Fr=r3(h(er));if(Fr!==0)return Fr===1?0:d(er)}}function J(er){var Fr=zh(h(er));if(2>>0)return d(er);switch(Fr){case 0:var hx=ya(h(er));return hx===0?l0(er):hx===1?H(er):d(er);case 1:return l0(er);default:return H(er)}}function s0(er){var Fr=Uh(h(er));if(Fr!==0)return Fr===1?J(er):d(er);x:for(;;){var hx=Z1(h(er));if(2>>0)return d(er);switch(hx){case 0:break;case 1:return J(er);default:break x}}for(;;){if(mr(h(er))!==0)return d(er);x:for(;;){var z1=Z1(h(er));if(2>>0)return d(er);switch(z1){case 0:break;case 1:return J(er);default:break x}}}}kr(G);var _0=da(h(G));if(2<_0>>>0)var y0=d(G);else x:switch(_0){case 0:if(mr(h(G))===0){r:for(;;){var J0=Z1(h(G));if(2>>0){var y0=d(G);break x}switch(J0){case 0:break;case 1:var y0=J(G);break x;default:break r}}for(;;){r:{if(mr(h(G))===0){e:for(;;){var Rx=Z1(h(G));if(2>>0){var kx=d(G);break r}switch(Rx){case 0:break;case 1:var kx=J(G);break r;default:break e}}continue}var kx=d(G)}var y0=kx;break}}else var y0=d(G);break;case 1:var Jx=Th(h(G)),y0=Jx===0?s0(G):Jx===1?J(G):d(G);break;default:r:for(;;){var gr=Lh(h(G));if(2>>0){var y0=d(G);break}switch(gr){case 0:var y0=s0(G);break r;case 1:break;default:var y0=J(G);break r}}}if(y0!==0)return gx(ac0);var Zx=d1(g,zr(g,G),43);return[0,Zx,[1,2,Ox(G)]]});case 26:var L=d1(x,zr(x,r),43);return[0,L,[1,2,Ox(r)]];case 27:return A2(x,r,function(g,G){function H(Zx){for(;;){z(Zx,0);var er=_a(h(Zx));if(er!==0){if(er!==1)return d(Zx);for(;;){if(mr(h(Zx))!==0)return d(Zx);for(;;){z(Zx,0);var Fr=_a(h(Zx));if(Fr!==0)break}if(Fr!==1)return d(Zx)}}}}function l0(Zx){for(;;)if(z(Zx,0),mr(h(Zx))!==0)return d(Zx)}function J(Zx){var er=zh(h(Zx));if(2>>0)return d(Zx);switch(er){case 0:var Fr=ya(h(Zx));return Fr===0?l0(Zx):Fr===1?H(Zx):d(Zx);case 1:return l0(Zx);default:return H(Zx)}}function s0(Zx){var er=Uh(h(Zx));if(er!==0)return er===1?J(Zx):d(Zx);x:for(;;){var Fr=Z1(h(Zx));if(2>>0)return d(Zx);switch(Fr){case 0:break;case 1:return J(Zx);default:break x}}for(;;){if(mr(h(Zx))!==0)return d(Zx);x:for(;;){var hx=Z1(h(Zx));if(2>>0)return d(Zx);switch(hx){case 0:break;case 1:return J(Zx);default:break x}}}}kr(G);var _0=da(h(G));if(2<_0>>>0)var y0=d(G);else x:switch(_0){case 0:if(mr(h(G))===0){r:for(;;){var J0=Z1(h(G));if(2>>0){var y0=d(G);break x}switch(J0){case 0:break;case 1:var y0=J(G);break x;default:break r}}for(;;){r:{if(mr(h(G))===0){e:for(;;){var Rx=Z1(h(G));if(2>>0){var kx=d(G);break r}switch(Rx){case 0:break;case 1:var kx=J(G);break r;default:break e}}continue}var kx=d(G)}var y0=kx;break}}else var y0=d(G);break;case 1:var Jx=Th(h(G)),y0=Jx===0?s0(G):Jx===1?J(G):d(G);break;default:r:for(;;){var gr=Lh(h(G));if(2>>0){var y0=d(G);break}switch(gr){case 0:var y0=s0(G);break r;case 1:break;default:var y0=J(G);break r}}}return y0===0?[0,g,[0,4,Ox(G)]]:gx(sc0)});case 28:return[0,x,[0,4,Ox(r)]];case 29:return A2(x,r,function(g,G){function H(Jx){for(;;){var gr=At(h(Jx));if(2>>0)return d(Jx);switch(gr){case 0:break;case 1:for(;;){if(mr(h(Jx))!==0)return d(Jx);x:for(;;){var Zx=At(h(Jx));if(2>>0)return d(Jx);switch(Zx){case 0:break;case 1:break x;default:return 0}}}break;default:return 0}}}function l0(Jx){var gr=r3(h(Jx));return gr===0?H(Jx):gr===1?0:d(Jx)}kr(G);var J=da(h(G));if(2>>0)var s0=d(G);else x:switch(J){case 0:var s0=mr(h(G))===0?H(G):d(G);break;case 1:for(;;){var _0=e3(h(G));if(_0===0){var s0=l0(G);break}if(_0!==1){var s0=d(G);break}}break;default:r:for(;;){var y0=ba(h(G));if(2>>0){var s0=d(G);break x}switch(y0){case 0:var s0=l0(G);break x;case 1:break;default:break r}}for(;;){r:{if(mr(h(G))===0){e:for(;;){var J0=ba(h(G));if(2>>0){var Rx=d(G);break r}switch(J0){case 0:var Rx=l0(G);break r;case 1:break;default:break e}}continue}var Rx=d(G)}var s0=Rx;break}}if(s0!==0)return gx(cc0);var kx=d1(g,zr(g,G),35);return[0,kx,[1,2,Ox(G)]]});case 30:return A2(x,r,function(g,G){kr(G);var H=ya(h(G));x:if(H===0)for(;;){var l0=r3(h(G));if(l0!==0){if(l0===1){var y0=0;break}var y0=d(G);break}}else if(H===1){r:for(;;){var J=At(h(G));if(2>>0){var y0=d(G);break x}switch(J){case 0:break;case 1:break r;default:var y0=0;break x}}for(;;){r:{if(mr(h(G))===0){e:for(;;){var s0=At(h(G));if(2>>0){var _0=d(G);break r}switch(s0){case 0:break;case 1:break e;default:var _0=0;break r}}continue}var _0=d(G)}var y0=_0;break}}else var y0=d(G);return y0===0?[0,g,[1,2,Ox(G)]]:gx(fc0)});case 31:var L0=d1(x,zr(x,r),35);return[0,L0,[1,2,Ox(r)]];case 32:return[0,x,[1,2,Ox(r)]];case 33:return A2(x,r,function(g,G){function H(kx){for(;;){z(kx,0);var Jx=_a(h(kx));if(Jx!==0){if(Jx!==1)return d(kx);for(;;){if(mr(h(kx))!==0)return d(kx);for(;;){z(kx,0);var gr=_a(h(kx));if(gr!==0)break}if(gr!==1)return d(kx)}}}}function l0(kx){return z(kx,0),mr(h(kx))===0?H(kx):d(kx)}kr(G);var J=da(h(G));if(2>>0)var s0=d(G);else x:switch(J){case 0:var s0=mr(h(G))===0?H(G):d(G);break;case 1:for(;;){z(G,0);var _0=e3(h(G));if(_0===0){var s0=l0(G);break}if(_0!==1){var s0=d(G);break}}break;default:r:for(;;){z(G,0);var y0=ba(h(G));if(2>>0){var s0=d(G);break x}switch(y0){case 0:var s0=l0(G);break x;case 1:break;default:break r}}for(;;){r:{if(mr(h(G))===0){e:for(;;){z(G,0);var J0=ba(h(G));if(2>>0){var Rx=d(G);break r}switch(J0){case 0:var Rx=l0(G);break r;case 1:break;default:break e}}continue}var Rx=d(G)}var s0=Rx;break}}return s0===0?[0,g,[0,4,Ox(G)]]:gx(ic0)});case 34:return[0,x,[0,4,Ox(r)]];case 35:var sx=zr(x,r),lx=Ox(r);return[0,x,[4,sx,lx,lx]];case 36:return[0,x,0];case 37:return[0,x,1];case 38:return[0,x,4];case 39:return[0,x,5];case 40:return[0,x,6];case 41:return[0,x,7];case 42:return[0,x,12];case 43:return[0,x,10];case 44:return[0,x,8];case 45:return[0,x,9];case 46:return[0,x,86];case 47:Zv(r),kr(r);var ax=h(r),Vx=62=qr)return[0,x,18];var Ex=ix(M0,jv);if(0<=Ex){if(0>=Ex)return[0,x,51];var $0=ix(M0,ss);if(0<=$0){if(0>=$0)return[0,x,46];if(!I(M0,al))return[0,x,24];if(!I(M0,ps))return[0,x,47];if(!I(M0,Y4))return[0,x,25];if(!I(M0,y4))return[0,x,26];if(!I(M0,M1))return[0,x,58]}else{if(!I(M0,Pe))return[0,x,20];if(!I(M0,uo))return[0,x,21];if(!I(M0,je))return[0,x,22];if(!I(M0,as))return[0,x,31];if(!I(M0,lm))return[0,x,23];if(!I(M0,qu))return[0,x,61]}}else{var Gx=ix(M0,ek);if(0<=Gx){if(0>=Gx)return[0,x,54];if(!I(M0,_l))return[0,x,55];if(!I(M0,z3))return[0,x,56];if(!I(M0,U3))return[0,x,57];if(!I(M0,Se))return[0,x,19];if(!I(M0,Ae))return[0,x,42]}else{if(!I(M0,W1))return[0,x,53];if(!I(M0,mv))return[0,x,28];if(!I(M0,no))return[0,x,44];if(!I(M0,oo))return[0,x,29];if(!I(M0,$9))return[0,x,63];if(!I(M0,q9))return[0,x,62]}}}else{var j0=ix(M0,xm);if(0<=j0){if(0>=j0)return[0,x,37];var cr=ix(M0,Sk);if(0<=cr){if(0>=cr)return[0,x,39];if(!I(M0,pv))return[0,x,15];if(!I(M0,ik))return[0,x,16];if(!I(M0,lo))return[0,x,52];if(!I(M0,R1))return[0,x,50];if(!I(M0,aa))return[0,x,17]}else{if(!I(M0,B4))return[0,x,43];if(!I(M0,sl))return[0,x,48];if(!I(M0,ok))return[0,x,49];if(!I(M0,hc))return[0,x,41];if(!I(M0,ls))return[0,x,30];if(!I(M0,F4))return[0,x,38]}}else{var tx=ix(M0,ul);if(0<=tx){if(0>=tx)return[0,x,27];if(!I(M0,_e))return[0,x,35];if(!I(M0,we))return[0,x,59];if(!I(M0,H3))return[0,x,60];if(!I(M0,io))return[0,x,36];if(!I(M0,nl))return[0,x,45]}else{if(!I(M0,oa))return[0,x,64];if(!I(M0,_o))return[0,x,65];if(!I(M0,Ee))return[0,x,32];if(!I(M0,$4))return[0,x,33];if(!I(M0,x8))return[0,x,34];if(!I(M0,K3))return[0,x,40]}}}var Mx=i2(r),b2=HB(x,Mx),Ux=b2[2],c1=b2[1];return[0,c1,[4,Lx,Ux,Gl(Mx)]];case 98:var Rr=x[4]?d1(x,zr(x,r),91):x;return[0,Rr,Dr];default:var U2=ft(x,zr(x,r));return[0,U2,[7,Ox(r)]]}}function rw0(x,r,e){for(var t=x;;){kr(e);var u=h(e),i=92>>0)var c=d(e);else switch(i){case 0:var c=0;break;case 1:for(;;){z(e,7);var v=h(e),a=-1>>0)var c=d(e);else switch(_){case 0:var c=2;break;case 1:var c=1;break;default:z(e,1);var c=ae(h(e))===0?1:d(e)}}if(7>>0)return gx(Mt0);switch(c){case 0:return[0,d1(t,zr(t,e),Ni),Ut0];case 1:return[0,J1(d1(t,zr(t,e),Ni),e),qt0];case 2:ar(r,Ox(e));break;case 3:var y=Ox(e);return[0,t,k1(y,1,Nx(y)-1|0)];case 4:return[0,t,Bt0];case 5:ut(r,91);x:{r:{e:{t:{n:for(;;){kr(e);var S=h(e),E=93>>0)var j=d(e);else switch(E){case 0:var j=0;break;case 1:for(;;){z(e,5);var C=h(e),P=-1>>0)break r;switch(j){case 0:break e;case 1:ar(r,Lt0);break;case 2:ut(r,92),ut(r,93);break;case 3:break t;case 4:break n;default:ar(r,Ox(e))}}var K=J1(d1(t,zr(t,e),Ni),e);break x}ut(r,93);var K=t;break x}var K=t;break x}var K=gx(Ft0)}var t=K;break;case 6:return[0,J1(d1(t,zr(t,e),Ni),e),Xt0];default:ar(r,Ox(e))}}}function ew0(x,r){kr(r);var e=h(r),t=Eo>>0)var u=d(r);else switch(t){case 0:var u=0;break;case 1:var u=6;break;case 2:if(z(r,2),qc(h(r))===0){for(;z(r,2),qc(h(r))===0;);var u=d(r)}else var u=d(r);break;case 3:var u=1;break;case 4:z(r,1);var u=ae(h(r))===0?1:d(r);break;default:z(r,5);var i=Jh(h(r)),u=i===0?4:i===1?3:d(r)}if(6>>0)return gx(uc0);switch(u){case 0:return[0,x,Dr];case 1:return[2,J1(x,r)];case 2:return[2,x];case 3:var c=h1(x,r),v=Qr(Yr),a=t3(x,v,r),p=a[1];return[1,p,jt(p,c,a[2],v,0)];case 4:var _=h1(x,r),y=Qr(Yr),S=Uo(x,y,r),E=S[1];return[1,E,jt(E,_,S[2],y,1)];case 5:var j=h1(x,r),C=Qr(Yr),P=rw0(x,C,r),O=P[1],F=P[2],K=oe(O,r),U=[0,O[1],j,K];return[0,O,[5,U,R2(C),F]];default:var V=ft(x,zr(x,r));return[0,V,[7,Ox(r)]]}}function rX(x){var r=ix(x,"iexcl");if(0<=r){if(0>=r)return nc0;var e=ix(x,"prime");if(0<=e){if(0>=e)return tc0;var t=ix(x,"sup1");if(0<=t){if(0>=t)return ec0;var u=ix(x,"uarr");if(0<=u){if(0>=u)return rc0;var i=ix(x,"xi");if(0<=i){if(0>=i)return xc0;if(!I(x,"yacute"))return Zf0;if(!I(x,"yen"))return Qf0;if(!I(x,"yuml"))return Hf0;if(!I(x,"zeta"))return $f0;if(!I(x,"zwj"))return Wf0;if(!I(x,"zwnj"))return Gf0}else{if(!I(x,"ucirc"))return Vf0;if(!I(x,"ugrave"))return zf0;if(!I(x,"uml"))return Yf0;if(!I(x,"upsih"))return Kf0;if(!I(x,"upsilon"))return Jf0;if(!I(x,"uuml"))return Xf0;if(!I(x,"weierp"))return Bf0}}else{var c=ix(x,"thetasym");if(0<=c){if(0>=c)return qf0;if(!I(x,"thinsp"))return Uf0;if(!I(x,"thorn"))return Mf0;if(!I(x,"tilde"))return Lf0;if(!I(x,"times"))return Ff0;if(!I(x,"trade"))return Rf0;if(!I(x,"uArr"))return Df0;if(!I(x,"uacute"))return Cf0}else{if(!I(x,"sup2"))return Of0;if(!I(x,"sup3"))return Nf0;if(!I(x,"supe"))return Pf0;if(!I(x,"szlig"))return jf0;if(!I(x,"tau"))return If0;if(!I(x,"there4"))return Af0;if(!I(x,"theta"))return Sf0}}}else{var v=ix(x,"rlm");if(0<=v){if(0>=v)return Ef0;var a=ix(x,"sigma");if(0<=a){if(0>=a)return Tf0;if(!I(x,"sigmaf"))return wf0;if(!I(x,"sim"))return bf0;if(!I(x,"spades"))return _f0;if(!I(x,"sub"))return gf0;if(!I(x,"sube"))return yf0;if(!I(x,"sum"))return df0;if(!I(x,"sup"))return hf0}else{if(!I(x,"rsaquo"))return mf0;if(!I(x,"rsquo"))return kf0;if(!I(x,"sbquo"))return pf0;if(!I(x,"scaron"))return lf0;if(!I(x,"sdot"))return vf0;if(!I(x,"sect"))return of0;if(!I(x,"shy"))return af0}}else{var p=ix(x,"raquo");if(0<=p){if(0>=p)return sf0;if(!I(x,"rarr"))return cf0;if(!I(x,"rceil"))return ff0;if(!I(x,"rdquo"))return if0;if(!I(x,"real"))return uf0;if(!I(x,"reg"))return nf0;if(!I(x,"rfloor"))return tf0;if(!I(x,"rho"))return ef0}else{if(!I(x,"prod"))return rf0;if(!I(x,"prop"))return xf0;if(!I(x,"psi"))return Zi0;if(!I(x,"quot"))return Qi0;if(!I(x,"rArr"))return Hi0;if(!I(x,"radic"))return $i0;if(!I(x,"rang"))return Wi0}}}}else{var _=ix(x,"ndash");if(0<=_){if(0>=_)return Gi0;var y=ix(x,"or");if(0<=y){if(0>=y)return Vi0;var S=ix(x,"part");if(0<=S){if(0>=S)return zi0;if(!I(x,"permil"))return Yi0;if(!I(x,"perp"))return Ki0;if(!I(x,"phi"))return Ji0;if(!I(x,"pi"))return Xi0;if(!I(x,"piv"))return Bi0;if(!I(x,"plusmn"))return qi0;if(!I(x,"pound"))return Ui0}else{if(!I(x,"ordf"))return Mi0;if(!I(x,"ordm"))return Li0;if(!I(x,"oslash"))return Fi0;if(!I(x,"otilde"))return Ri0;if(!I(x,"otimes"))return Di0;if(!I(x,"ouml"))return Ci0;if(!I(x,"para"))return Oi0}}else{var E=ix(x,"oacute");if(0<=E){if(0>=E)return Ni0;if(!I(x,"ocirc"))return Pi0;if(!I(x,"oelig"))return ji0;if(!I(x,"ograve"))return Ii0;if(!I(x,"oline"))return Ai0;if(!I(x,"omega"))return Si0;if(!I(x,"omicron"))return Ei0;if(!I(x,"oplus"))return Ti0}else{if(!I(x,"ne"))return wi0;if(!I(x,"ni"))return bi0;if(!I(x,"not"))return _i0;if(!I(x,"notin"))return gi0;if(!I(x,"nsub"))return yi0;if(!I(x,"ntilde"))return di0;if(!I(x,"nu"))return hi0}}}else{var j=ix(x,"le");if(0<=j){if(0>=j)return mi0;var C=ix(x,"macr");if(0<=C){if(0>=C)return ki0;if(!I(x,"mdash"))return pi0;if(!I(x,"micro"))return li0;if(!I(x,"middot"))return vi0;if(!I(x,OR))return oi0;if(!I(x,"mu"))return ai0;if(!I(x,"nabla"))return si0;if(!I(x,"nbsp"))return ci0}else{if(!I(x,"lfloor"))return fi0;if(!I(x,"lowast"))return ii0;if(!I(x,"loz"))return ui0;if(!I(x,"lrm"))return ni0;if(!I(x,"lsaquo"))return ti0;if(!I(x,"lsquo"))return ei0;if(!I(x,"lt"))return ri0}}else{var P=ix(x,"kappa");if(0<=P){if(0>=P)return xi0;if(!I(x,"lArr"))return Zu0;if(!I(x,"lambda"))return Qu0;if(!I(x,"lang"))return Hu0;if(!I(x,"laquo"))return $u0;if(!I(x,"larr"))return Wu0;if(!I(x,"lceil"))return Gu0;if(!I(x,"ldquo"))return Vu0}else{if(!I(x,"igrave"))return zu0;if(!I(x,"image"))return Yu0;if(!I(x,"infin"))return Ku0;if(!I(x,"iota"))return Ju0;if(!I(x,"iquest"))return Xu0;if(!I(x,"isin"))return Bu0;if(!I(x,"iuml"))return qu0}}}}}else{var O=ix(x,"aelig");if(0<=O){if(0>=O)return Uu0;var F=ix(x,"delta");if(0<=F){if(0>=F)return Mu0;var K=ix(x,"fnof");if(0<=K){if(0>=K)return Lu0;var U=ix(x,"gt");if(0<=U){if(0>=U)return Fu0;if(!I(x,"hArr"))return Ru0;if(!I(x,"harr"))return Du0;if(!I(x,"hearts"))return Cu0;if(!I(x,"hellip"))return Ou0;if(!I(x,"iacute"))return Nu0;if(!I(x,"icirc"))return Pu0}else{if(!I(x,"forall"))return ju0;if(!I(x,"frac12"))return Iu0;if(!I(x,"frac14"))return Au0;if(!I(x,"frac34"))return Su0;if(!I(x,"frasl"))return Eu0;if(!I(x,"gamma"))return Tu0;if(!I(x,"ge"))return wu0}}else{var V=ix(x,"ensp");if(0<=V){if(0>=V)return bu0;if(!I(x,"epsilon"))return _u0;if(!I(x,"equiv"))return gu0;if(!I(x,"eta"))return yu0;if(!I(x,"eth"))return du0;if(!I(x,"euml"))return hu0;if(!I(x,"euro"))return mu0;if(!I(x,"exist"))return ku0}else{if(!I(x,"diams"))return pu0;if(!I(x,"divide"))return lu0;if(!I(x,"eacute"))return vu0;if(!I(x,"ecirc"))return ou0;if(!I(x,"egrave"))return au0;if(!I(x,ie))return su0;if(!I(x,"emsp"))return cu0}}}else{var Q=ix(x,"cap");if(0<=Q){if(0>=Q)return fu0;var $=ix(x,"copy");if(0<=$){if(0>=$)return iu0;if(!I(x,"crarr"))return uu0;if(!I(x,"cup"))return nu0;if(!I(x,"curren"))return tu0;if(!I(x,"dArr"))return eu0;if(!I(x,"dagger"))return ru0;if(!I(x,"darr"))return xu0;if(!I(x,"deg"))return Z70}else{if(!I(x,"ccedil"))return Q70;if(!I(x,"cedil"))return H70;if(!I(x,"cent"))return $70;if(!I(x,"chi"))return W70;if(!I(x,"circ"))return G70;if(!I(x,"clubs"))return V70;if(!I(x,"cong"))return z70}}else{var x0=ix(x,"aring");if(0<=x0){if(0>=x0)return Y70;if(!I(x,"asymp"))return K70;if(!I(x,"atilde"))return J70;if(!I(x,"auml"))return X70;if(!I(x,"bdquo"))return B70;if(!I(x,"beta"))return q70;if(!I(x,"brvbar"))return U70;if(!I(x,"bull"))return M70}else{if(!I(x,"agrave"))return L70;if(!I(x,"alefsym"))return F70;if(!I(x,"alpha"))return R70;if(!I(x,"amp"))return D70;if(!I(x,"and"))return C70;if(!I(x,"ang"))return O70;if(!I(x,"apos"))return N70}}}}else{var e0=ix(x,"Nu");if(0<=e0){if(0>=e0)return P70;var Z=ix(x,"Sigma");if(0<=Z){if(0>=Z)return j70;var c0=ix(x,"Uuml");if(0<=c0){if(0>=c0)return I70;if(!I(x,"Xi"))return A70;if(!I(x,"Yacute"))return S70;if(!I(x,"Yuml"))return E70;if(!I(x,"Zeta"))return T70;if(!I(x,"aacute"))return w70;if(!I(x,"acirc"))return b70;if(!I(x,"acute"))return _70}else{if(!I(x,"THORN"))return g70;if(!I(x,"Tau"))return y70;if(!I(x,"Theta"))return d70;if(!I(x,"Uacute"))return h70;if(!I(x,"Ucirc"))return m70;if(!I(x,"Ugrave"))return k70;if(!I(x,"Upsilon"))return p70}}else{var d0=ix(x,"Otilde");if(0<=d0){if(0>=d0)return l70;if(!I(x,"Ouml"))return v70;if(!I(x,"Phi"))return o70;if(!I(x,"Pi"))return a70;if(!I(x,"Prime"))return s70;if(!I(x,"Psi"))return c70;if(!I(x,"Rho"))return f70;if(!I(x,"Scaron"))return i70}else{if(!I(x,"OElig"))return u70;if(!I(x,"Oacute"))return n70;if(!I(x,"Ocirc"))return t70;if(!I(x,"Ograve"))return e70;if(!I(x,"Omega"))return r70;if(!I(x,"Omicron"))return x70;if(!I(x,"Oslash"))return Zn0}}}else{var n0=ix(x,"Eacute");if(0<=n0){if(0>=n0)return Qn0;var P0=ix(x,"Icirc");if(0<=P0){if(0>=P0)return Hn0;if(!I(x,"Igrave"))return $n0;if(!I(x,"Iota"))return Wn0;if(!I(x,"Iuml"))return Gn0;if(!I(x,"Kappa"))return Vn0;if(!I(x,"Lambda"))return zn0;if(!I(x,"Mu"))return Yn0;if(!I(x,"Ntilde"))return Kn0}else{if(!I(x,"Ecirc"))return Jn0;if(!I(x,"Egrave"))return Xn0;if(!I(x,"Epsilon"))return Bn0;if(!I(x,"Eta"))return qn0;if(!I(x,"Euml"))return Un0;if(!I(x,"Gamma"))return Mn0;if(!I(x,"Iacute"))return Ln0}}else{var h0=ix(x,"Atilde");if(0<=h0){if(0>=h0)return Fn0;if(!I(x,"Auml"))return Rn0;if(!I(x,"Beta"))return Dn0;if(!I(x,"Ccedil"))return Cn0;if(!I(x,"Chi"))return On0;if(!I(x,"Dagger"))return Nn0;if(!I(x,"Delta"))return Pn0;if(!I(x,"ETH"))return jn0}else{if(!I(x,"'int'"))return In0;if(!I(x,"AElig"))return An0;if(!I(x,"Aacute"))return Sn0;if(!I(x,"Acirc"))return En0;if(!I(x,"Agrave"))return Tn0;if(!I(x,"Alpha"))return wn0;if(!I(x,"Aring"))return bn0}}}}}return 0}function eX(x,r,e,t){for(var u=x;;){var i=function(d0){for(;;)if(z(d0,8),xO(h(d0))!==0)return d(d0)};kr(t);var c=h(t),v=ms>>0)var a=d(t);else switch(v){case 0:var a=3;break;case 1:var a=i(t);break;case 2:var a=4;break;case 3:z(t,4);var a=ae(h(t))===0?4:d(t);break;case 4:z(t,8);var p=YB(h(t));if(p===0){var _=TB(h(t));if(_===0){for(;;){var y=EB(h(t));if(y!==0)break}var a=y===1?6:d(t)}else if(_===1&&Ir(h(t))===0){for(;;){var S=XB(h(t));if(S!==0)break}var a=S===1?5:d(t)}else var a=d(t)}else if(p===1&&or(h(t))===0){var E=It(h(t));if(E===0){var j=It(h(t));if(j===0){var C=It(h(t));if(C===0){var P=It(h(t));if(P===0){var O=It(h(t));if(O===0)var F=It(h(t)),a=F===0?MB(h(t))===0?7:d(t):F===1?7:d(t);else var a=O===1?7:d(t)}else var a=P===1?7:d(t)}else var a=C===1?7:d(t)}else var a=j===1?7:d(t)}else var a=E===1?7:d(t)}else var a=d(t);break;case 5:var a=0;break;case 6:z(t,1);var a=xO(h(t))===0?i(t):d(t);break;default:z(t,2);var a=xO(h(t))===0?i(t):d(t)}if(8>>0)return gx(Jt0);switch(a){case 0:return Zv(t),u;case 1:return nO(u,zr(u,t),Yt0,Kt0);case 2:return nO(u,zr(u,t),Vt0,zt0);case 3:return ft(u,zr(u,t));case 4:var K=Ox(t);ar(e,K),ar(r,K);var u=J1(u,t);break;case 5:var U=Ox(t),V=k1(U,3,Nx(U)-4|0);ar(e,U),Mc(r,tt(Bx(Gt0,V)));break;case 6:var Q=Ox(t),$=k1(Q,2,Nx(Q)-3|0);ar(e,Q),Mc(r,tt($));break;case 7:var x0=Ox(t),e0=k1(x0,1,Nx(x0)-2|0);ar(e,x0);var Z=rX(e0);Z?Mc(r,Z[1]):ar(r,Bx($t0,Bx(e0,Wt0)));break;default:var c0=Ox(t);ar(e,c0),ar(r,c0)}}}function tw0(x,r){kr(r);var e=Zb0(h(r));if(14>>0)var t=d(r);else switch(e){case 0:var t=0;break;case 1:var t=14;break;case 2:if(z(r,2),qc(h(r))===0){for(;z(r,2),qc(h(r))===0;);var t=d(r)}else var t=d(r);break;case 3:var t=1;break;case 4:z(r,1);var t=ae(h(r))===0?1:d(r);break;case 5:var t=12;break;case 6:var t=13;break;case 7:var t=10;break;case 8:z(r,6);var u=Jh(h(r)),t=u===0?4:u===1?3:d(r);break;case 9:var t=9;break;case 10:var t=5;break;case 11:var t=11;break;case 12:var t=7;break;case 13:if(z(r,14),wa(h(r))===0){var i=Lo(h(r));if(i===0)var t=Ir(h(r))===0&&Ir(h(r))===0&&Ir(h(r))===0?13:d(r);else if(i===1&&Ir(h(r))===0){for(;;){var c=Fo(h(r));if(c!==0)break}var t=c===1?13:d(r)}else var t=d(r)}else var t=d(r);break;default:var t=8}if(14>>0)return gx(_n0);switch(t){case 0:return[0,x,Dr];case 1:return[2,J1(x,r)];case 2:return[2,x];case 3:var v=h1(x,r),a=Qr(Yr),p=t3(x,a,r),_=p[1];return[1,_,jt(_,v,p[2],a,0)];case 4:var y=h1(x,r),S=Qr(Yr),E=Uo(x,S,r),j=E[1];return[1,j,jt(j,y,E[2],S,1)];case 5:return[0,x,98];case 6:return[0,x,gt];case 7:return[0,x,99];case 8:return[0,x,0];case 9:return[0,x,86];case 10:return[0,x,10];case 11:return[0,x,82];case 12:var C=Ox(r),P=h1(x,r),O=Qr(Yr),F=Qr(Yr);ar(F,C);for(var K=Sr(C,"'"),U=x;;){kr(r);var V=h(r),Q=39>>0)var $=d(r);else switch(Q){case 0:var $=2;break;case 1:for(;;){z(r,7);var x0=h(r),e0=-1>>0)var T0=gx(Ht0);else switch($){case 0:if(!K){ut(F,39),ut(O,39);continue}var T0=U;break;case 1:if(K){ut(F,34),ut(O,34);continue}var T0=U;break;case 2:var T0=ft(U,zr(U,r));break;case 3:var E0=Ox(r);ar(F,E0),ar(O,E0);var U=J1(U,r);continue;case 4:var N0=Ox(r),X0=k1(N0,3,Nx(N0)-4|0);ar(F,N0),Mc(O,tt(Bx(Qt0,X0)));continue;case 5:var A0=Ox(r),rx=k1(A0,2,Nx(A0)-3|0);ar(F,A0),Mc(O,tt(rx));continue;case 6:var B=Ox(r),G0=k1(B,1,Nx(B)-2|0);ar(F,B);var W0=rX(G0);W0?Mc(O,W0[1]):ar(O,Bx(xn0,Bx(G0,Zt0)));continue;default:var Y0=Ox(r);ar(F,Y0),ar(O,Y0);continue}var V0=oe(T0,r);ar(F,C);var ex=R2(O),Q0=R2(F);return[0,T0,[10,[0,T0[1],P,V0],ex,Q0]]}case 13:for(var S0=r[6];;){kr(r);var q0=h(r),yx=r2>>0)var cx=d(r);else switch(yx){case 0:var cx=1;break;case 1:var cx=2;break;case 2:var cx=0;break;default:if(z(r,2),wa(h(r))===0){var Dx=Lo(h(r));if(Dx===0)var cx=Ir(h(r))===0&&Ir(h(r))===0&&Ir(h(r))===0?0:d(r);else if(Dx===1&&Ir(h(r))===0){for(;;){var Ix=Fo(h(r));if(Ix!==0)break}var cx=Ix===1?0:d(r)}else var cx=d(r)}else var cx=d(r)}if(2>>0)throw U0([0,Ar,St0],1);switch(cx){case 0:continue;case 1:break;default:if(VN(uB(r)))continue;fB(r,1)}var Xx=r[3];BN(r,S0);var Z0=i2(r),rr=Hl(x,S0,Xx);return[0,x,[8,Gl(Z0),rr]]}default:return[0,x,[7,Ox(r)]]}}function nw0(x,r){kr(r);var e=h(r),t=-1>>0)var u=d(r);else switch(t){case 0:var u=5;break;case 1:if(z(r,1),qc(h(r))===0){for(;z(r,1),qc(h(r))===0;);var u=d(r)}else var u=d(r);break;case 2:var u=0;break;case 3:z(r,0);var u=ae(h(r))===0?0:d(r);break;case 4:z(r,5);var i=Jh(h(r)),u=i===0?3:i===1?2:d(r);break;default:var u=4}if(5>>0)return gx(hn0);switch(u){case 0:return[2,J1(x,r)];case 1:return[2,x];case 2:var c=h1(x,r),v=Qr(Yr),a=t3(x,v,r),p=a[1];return[1,p,jt(p,c,a[2],v,0)];case 3:var _=h1(x,r),y=Qr(Yr),S=Uo(x,y,r),E=S[1];return[1,E,jt(E,_,S[2],y,1)];case 4:var j=h1(x,r),C=Qr(Yr),P=Qr(Yr),O=xX(x,C,P,r),F=O[1],K=O[2],U=oe(F,r),V=[0,F[1],j,U],Q=R2(P);return[0,F,[3,[0,V,R2(C),Q,0,K]]];default:var $=ft(x,zr(x,r));return[0,$,[3,[0,zr($,r),yn0,dn0,0,1]]]}}function uw0(x,r){function e(w){for(;;)if(z(w,29),or(h(w))!==0)return d(w)}function t(w){z(w,28);var L=D2(h(w));if(L!==0)return L===1?e(w):d(w);for(;;)if(z(w,26),or(h(w))!==0)return d(w)}function u(w){z(w,27);var L=D2(h(w));if(L!==0)return L===1?e(w):d(w);for(;;)if(z(w,25),or(h(w))!==0)return d(w)}function i(w){z(w,30);var L=x3(h(w));if(2>>0)return d(w);switch(L){case 0:return e(w);case 1:x:for(;;){z(w,30);var L0=Xc(h(w));if(3>>0)return d(w);switch(L0){case 0:return e(w);case 1:break;case 2:break x;default:return u(w)}}for(;;){if(mr(h(w))!==0)return d(w);x:for(;;){z(w,30);var sx=Xc(h(w));if(3>>0)return d(w);switch(sx){case 0:return e(w);case 1:break;case 2:break x;default:return u(w)}}}break;default:return u(w)}}function c(w){for(;;){if(mr(h(w))!==0)return d(w);x:for(;;){z(w,30);var L=LB(h(w));if(4>>0)return d(w);switch(L){case 0:return e(w);case 1:return i(w);case 2:break;case 3:break x;default:return t(w)}}}}function v(w){for(;;)if(z(w,19),or(h(w))!==0)return d(w)}function a(w){for(;;)if(z(w,19),or(h(w))!==0)return d(w)}function p(w){for(;;)if(z(w,13),or(h(w))!==0)return d(w)}function _(w){for(;;)if(z(w,13),or(h(w))!==0)return d(w)}function y(w){for(;;)if(z(w,9),or(h(w))!==0)return d(w)}function S(w){for(;;)if(z(w,9),or(h(w))!==0)return d(w)}function E(w){for(;;)if(z(w,15),or(h(w))!==0)return d(w)}function j(w){z(w,15);var L=D2(h(w));if(L!==0)return L===1?E(w):d(w);for(;;)if(z(w,15),or(h(w))!==0)return d(w)}function C(w){for(;;)if(z(w,23),or(h(w))!==0)return d(w)}function P(w){z(w,22);var L=D2(h(w));if(L!==0)return L===1?C(w):d(w);for(;;)if(z(w,21),or(h(w))!==0)return d(w)}function O(w){for(;;)if(z(w,23),or(h(w))!==0)return d(w)}function F(w){z(w,22);var L=D2(h(w));if(L!==0)return L===1?O(w):d(w);for(;;)if(z(w,21),or(h(w))!==0)return d(w)}function K(w){for(;;){if(mr(h(w))!==0)return d(w);x:for(;;){z(w,24);var L=Xc(h(w));if(3>>0)return d(w);switch(L){case 0:return O(w);case 1:break;case 2:break x;default:return F(w)}}}}function U(w){z(w,29);var L=UB(h(w));if(3>>0)return d(w);switch(L){case 0:return e(w);case 1:var L0=ya(h(w));if(L0===0)for(;;){z(w,24);var sx=x3(h(w));if(2>>0)return d(w);switch(sx){case 0:return O(w);case 1:break;default:return F(w)}}else{if(L0!==1)return d(w);for(;;){z(w,24);var lx=Xc(h(w));if(3>>0)return d(w);switch(lx){case 0:return O(w);case 1:break;case 2:return K(w);default:return F(w)}}}break;case 2:for(;;){z(w,24);var ax=x3(h(w));if(2>>0)return d(w);switch(ax){case 0:return C(w);case 1:break;default:return P(w)}}break;default:for(;;){z(w,24);var Vx=Xc(h(w));if(3>>0)return d(w);switch(Vx){case 0:return C(w);case 1:break;case 2:return K(w);default:return P(w)}}}}function V(w){z(w,30);var L=jB(h(w));if(3>>0)return d(w);switch(L){case 0:return e(w);case 1:x:for(;;){z(w,30);var L0=ga(h(w));if(4>>0)return d(w);switch(L0){case 0:return e(w);case 1:break;case 2:return U(w);case 3:break x;default:return u(w)}}for(;;){if(mr(h(w))!==0)return d(w);x:for(;;){z(w,30);var sx=ga(h(w));if(4>>0)return d(w);switch(sx){case 0:return e(w);case 1:break;case 2:return U(w);case 3:break x;default:return u(w)}}}break;case 2:return U(w);default:return u(w)}}function Q(w){return qh(h(w))===0&&Fh(h(w))===0&&BB(h(w))===0&&NB(h(w))===0&&OB(h(w))===0&&Rh(h(w))===0&&Wl(h(w))===0&&qh(h(w))===0&&wa(h(w))===0&&tO(h(w))===0&&Mo(h(w))===0?3:d(w)}function $(w){return z(w,3),KB(h(w))===0?3:d(w)}function x0(w){var L=Qb0(h(w));if(31>>0)return d(w);switch(L){case 0:return 66;case 1:return 67;case 2:if(z(w,1),qc(h(w))!==0)return d(w);for(;;)if(z(w,1),qc(h(w))!==0)return d(w);break;case 3:return 0;case 4:return z(w,0),ae(h(w))===0?0:d(w);case 5:return 6;case 6:return 65;case 7:if(z(w,67),Wl(h(w))!==0)return d(w);var L0=h(w),sx=Ze>>0)return d(w);switch(Lx){case 0:return e(w);case 1:break;case 2:return U(w);case 3:break x;default:return u(w)}}for(;;){if(mr(h(w))!==0)return d(w);x:for(;;){z(w,30);var M0=ga(h(w));if(4>>0)return d(w);switch(M0){case 0:return e(w);case 1:break;case 2:return U(w);case 3:break x;default:return u(w)}}}break;case 16:z(w,67);var qr=Jh(h(w));if(qr!==0)return qr===1?5:d(w);z(w,2);var Ex=jh(h(w));if(2>>0)return d(w);switch(Ex){case 0:for(;;){var $0=jh(h(w));if(2<$0>>>0)return d(w);switch($0){case 0:break;case 1:return $(w);default:return Q(w)}}break;case 1:return $(w);default:return Q(w)}break;case 17:z(w,30);var Gx=DB(h(w));if(8>>0)return d(w);switch(Gx){case 0:return e(w);case 1:return V(w);case 2:x:for(;;){z(w,16);var j0=qB(h(w));if(4>>0)return d(w);switch(j0){case 0:return E(w);case 1:return i(w);case 2:break;case 3:break x;default:return j(w)}}for(;;){z(w,15);var cr=Ih(h(w));if(3>>0)return d(w);switch(cr){case 0:return E(w);case 1:return i(w);case 2:break;default:return j(w)}}break;case 3:for(;;){z(w,30);var tx=Ih(h(w));if(3>>0)return d(w);switch(tx){case 0:return e(w);case 1:return i(w);case 2:break;default:return t(w)}}break;case 4:z(w,29);var Mx=CB(h(w));if(Mx===0)return e(w);if(Mx!==1)return d(w);x:{r:for(;;){z(w,10);var b2=Kh(h(w));if(3>>0)return d(w);switch(b2){case 0:return S(w);case 1:break;case 2:break x;default:break r}}z(w,8);var Ux=D2(h(w));if(Ux!==0)return Ux===1?S(w):d(w);for(;;)if(z(w,7),or(h(w))!==0)return d(w)}x:for(;;){if(Bc(h(w))!==0)return d(w);r:for(;;){z(w,10);var c1=Kh(h(w));if(3>>0)return d(w);switch(c1){case 0:return y(w);case 1:break;case 2:break r;default:break x}}}z(w,8);var Rr=D2(h(w));if(Rr!==0)return Rr===1?y(w):d(w);for(;;)if(z(w,7),or(h(w))!==0)return d(w);break;case 5:return U(w);case 6:z(w,29);var U2=RB(h(w));if(U2===0)return e(w);if(U2!==1)return d(w);x:{r:for(;;){z(w,14);var g=Xh(h(w));if(3>>0)return d(w);switch(g){case 0:return _(w);case 1:break;case 2:break x;default:break r}}z(w,12);var G=D2(h(w));if(G!==0)return G===1?_(w):d(w);for(;;)if(z(w,11),or(h(w))!==0)return d(w)}x:for(;;){if(X1(h(w))!==0)return d(w);r:for(;;){z(w,14);var H=Xh(h(w));if(3>>0)return d(w);switch(H){case 0:return p(w);case 1:break;case 2:break r;default:break x}}}z(w,12);var l0=D2(h(w));if(l0!==0)return l0===1?p(w):d(w);for(;;)if(z(w,11),or(h(w))!==0)return d(w);break;case 7:z(w,29);var J=SB(h(w));if(J===0)return e(w);if(J!==1)return d(w);x:{r:for(;;){z(w,20);var s0=Yh(h(w));if(3>>0)return d(w);switch(s0){case 0:return a(w);case 1:break;case 2:break x;default:break r}}z(w,18);var _0=D2(h(w));if(_0!==0)return _0===1?a(w):d(w);for(;;)if(z(w,17),or(h(w))!==0)return d(w)}x:for(;;){if(Ir(h(w))!==0)return d(w);r:for(;;){z(w,20);var y0=Yh(h(w));if(3>>0)return d(w);switch(y0){case 0:return v(w);case 1:break;case 2:break r;default:break x}}}z(w,18);var J0=D2(h(w));if(J0!==0)return J0===1?v(w):d(w);for(;;)if(z(w,17),or(h(w))!==0)return d(w);break;default:return t(w)}break;case 18:z(w,30);var Rx=Nh(h(w));if(5>>0)return d(w);switch(Rx){case 0:return e(w);case 1:return V(w);case 2:for(;;){z(w,30);var kx=Nh(h(w));if(5>>0)return d(w);switch(kx){case 0:return e(w);case 1:return V(w);case 2:break;case 3:return U(w);case 4:return c(w);default:return t(w)}}break;case 3:return U(w);case 4:return c(w);default:return t(w)}break;case 19:return 44;case 20:return 42;case 21:return 49;case 22:z(w,51);var Jx=h(w),gr=61>>0)return gx(ln0);var Z=e0;if(34>Z)switch(Z){case 0:return[2,J1(x,r)];case 1:return[2,x];case 2:var c0=h1(x,r),d0=Qr(Yr),n0=Uo(x,d0,r),P0=n0[1];return[1,P0,jt(P0,c0,n0[2],d0,1)];case 3:var h0=Ox(r);if(!x[5]){var g0=h1(x,r),v0=Qr(Yr);ar(v0,h0);var p0=Uo(x,v0,r),w0=p0[1];return[1,w0,jt(w0,g0,p0[2],v0,1)]}var T0=x[4]?GB(x,zr(x,r),h0):x,E0=_h(1,T0),N0=hh(r);return Sr(Vl(r,N0-1|0,1),Ao)&&I(Vl(r,N0-2|0,1),Ao)?[0,E0,86]:[2,E0];case 4:if(x[4])return[2,_h(0,x)];Zv(r),kr(r);var X0=IB(h(r))===0?0:d(r);return X0===0?[0,x,z2]:gx(pn0);case 5:var A0=h1(x,r),rx=Qr(Yr),B=t3(x,rx,r),G0=B[1];return[1,G0,jt(G0,A0,B[2],rx,0)];case 6:var W0=Ox(r),Y0=h1(x,r),V0=Qr(Yr),ex=Qr(Yr);ar(ex,W0);var Q0=ZB(x,W0,V0,ex,0,r),S0=Q0[1],q0=Q0[3],yx=[0,S0[1],Y0,Q0[2]],cx=R2(ex);return[0,S0,[2,[0,yx,R2(V0),cx,q0]]];case 7:return A2(x,r,function(w,L){kr(L);x:if(se(h(L))===0&&Ch(h(L))===0&&Bc(h(L))===0){r:for(;;){var L0=Sh(h(L));if(2>>0){var ax=d(L);break x}switch(L0){case 0:break;case 1:break r;default:var ax=0;break x}}for(;;){r:{if(Bc(h(L))===0){e:for(;;){var sx=Sh(h(L));if(2>>0){var lx=d(L);break r}switch(sx){case 0:break;case 1:break e;default:var lx=0;break r}}continue}var lx=d(L)}var ax=lx;break}}else var ax=d(L);return ax===0?[0,w,Nt(0,i2(L))]:gx(vn0)});case 8:return[0,x,Nt(0,i2(r))];case 9:return A2(x,r,function(w,L){if(kr(L),se(h(L))===0&&Ch(h(L))===0&&Bc(h(L))===0){for(;;){z(L,0);var L0=Eh(h(L));if(L0!==0)break}if(L0===1)for(;;){if(Bc(h(L))===0){for(;;){z(L,0);var sx=Eh(h(L));if(sx!==0)break}if(sx===1)continue;var lx=d(L)}else var lx=d(L);var ax=lx;break}else var ax=d(L)}else var ax=d(L);return ax===0?[0,w,Pt(0,i2(L))]:gx(on0)});case 10:return[0,x,Pt(0,i2(r))];case 11:return A2(x,r,function(w,L){kr(L);x:if(se(h(L))===0&&Mh(h(L))===0&&X1(h(L))===0){r:for(;;){var L0=Oh(h(L));if(2>>0){var ax=d(L);break x}switch(L0){case 0:break;case 1:break r;default:var ax=0;break x}}for(;;){r:{if(X1(h(L))===0){e:for(;;){var sx=Oh(h(L));if(2>>0){var lx=d(L);break r}switch(sx){case 0:break;case 1:break e;default:var lx=0;break r}}continue}var lx=d(L)}var ax=lx;break}}else var ax=d(L);return ax===0?[0,w,Nt(1,i2(L))]:gx(an0)});case 12:return[0,x,Nt(1,i2(r))];case 13:return A2(x,r,function(w,L){if(kr(L),se(h(L))===0&&Mh(h(L))===0&&X1(h(L))===0){for(;;){z(L,0);var L0=Ph(h(L));if(L0!==0)break}if(L0===1)for(;;){if(X1(h(L))===0){for(;;){z(L,0);var sx=Ph(h(L));if(sx!==0)break}if(sx===1)continue;var lx=d(L)}else var lx=d(L);var ax=lx;break}else var ax=d(L)}else var ax=d(L);return ax===0?[0,w,Pt(3,i2(L))]:gx(sn0)});case 14:return[0,x,Pt(3,i2(r))];case 15:return A2(x,r,function(w,L){if(kr(L),se(h(L))===0&&X1(h(L))===0){for(;;)if(z(L,0),X1(h(L))!==0){var L0=d(L);break}}else var L0=d(L);return L0===0?[0,w,Pt(1,i2(L))]:gx(cn0)});case 16:return[0,x,Pt(1,i2(r))];case 17:return A2(x,r,function(w,L){kr(L);x:if(se(h(L))===0&&wh(h(L))===0&&Ir(h(L))===0){r:for(;;){var L0=Ah(h(L));if(2>>0){var ax=d(L);break x}switch(L0){case 0:break;case 1:break r;default:var ax=0;break x}}for(;;){r:{if(Ir(h(L))===0){e:for(;;){var sx=Ah(h(L));if(2>>0){var lx=d(L);break r}switch(sx){case 0:break;case 1:break e;default:var lx=0;break r}}continue}var lx=d(L)}var ax=lx;break}}else var ax=d(L);return ax===0?[0,w,Nt(2,i2(L))]:gx(fn0)});case 18:return[0,x,Nt(2,i2(r))];case 19:return A2(x,r,function(w,L){if(kr(L),se(h(L))===0&&wh(h(L))===0&&Ir(h(L))===0){for(;;){z(L,0);var L0=Bh(h(L));if(L0!==0)break}if(L0===1)for(;;){if(Ir(h(L))===0){for(;;){z(L,0);var sx=Bh(h(L));if(sx!==0)break}if(sx===1)continue;var lx=d(L)}else var lx=d(L);var ax=lx;break}else var ax=d(L)}else var ax=d(L);return ax===0?[0,w,Pt(4,i2(L))]:gx(in0)});case 20:return[0,x,Pt(4,i2(r))];case 21:return A2(x,r,function(w,L){function L0(j0){for(;;){var cr=At(h(j0));if(2>>0)return d(j0);switch(cr){case 0:break;case 1:for(;;){if(mr(h(j0))!==0)return d(j0);x:for(;;){var tx=At(h(j0));if(2>>0)return d(j0);switch(tx){case 0:break;case 1:break x;default:return 0}}}break;default:return 0}}}function sx(j0){for(;;){var cr=r3(h(j0));if(cr!==0)return cr===1?0:d(j0)}}function lx(j0){var cr=zh(h(j0));if(2>>0)return d(j0);switch(cr){case 0:var tx=ya(h(j0));return tx===0?sx(j0):tx===1?L0(j0):d(j0);case 1:return sx(j0);default:return L0(j0)}}function ax(j0){var cr=Uh(h(j0));if(cr!==0)return cr===1?lx(j0):d(j0);x:for(;;){var tx=Z1(h(j0));if(2>>0)return d(j0);switch(tx){case 0:break;case 1:return lx(j0);default:break x}}for(;;){if(mr(h(j0))!==0)return d(j0);x:for(;;){var Mx=Z1(h(j0));if(2>>0)return d(j0);switch(Mx){case 0:break;case 1:return lx(j0);default:break x}}}}kr(L);var Vx=da(h(L));if(2>>0)var _x=d(L);else x:switch(Vx){case 0:if(mr(h(L))===0){r:for(;;){var zx=Z1(h(L));if(2>>0){var _x=d(L);break x}switch(zx){case 0:break;case 1:var _x=lx(L);break x;default:break r}}for(;;){r:{if(mr(h(L))===0){e:for(;;){var Lx=Z1(h(L));if(2>>0){var M0=d(L);break r}switch(Lx){case 0:break;case 1:var M0=lx(L);break r;default:break e}}continue}var M0=d(L)}var _x=M0;break}}else var _x=d(L);break;case 1:var qr=Th(h(L)),_x=qr===0?ax(L):qr===1?lx(L):d(L);break;default:r:for(;;){var Ex=Lh(h(L));if(2>>0){var _x=d(L);break}switch(Ex){case 0:var _x=ax(L);break r;case 1:break;default:var _x=lx(L);break r}}}if(_x!==0)return gx(un0);var $0=i2(L),Gx=d1(w,zr(w,L),43);return[0,Gx,Nt(2,$0)]});case 22:var Dx=i2(r),Ix=d1(x,zr(x,r),43);return[0,Ix,Nt(2,Dx)];case 23:return A2(x,r,function(w,L){function L0($0){for(;;){z($0,0);var Gx=_a(h($0));if(Gx!==0){if(Gx!==1)return d($0);for(;;){if(mr(h($0))!==0)return d($0);for(;;){z($0,0);var j0=_a(h($0));if(j0!==0)break}if(j0!==1)return d($0)}}}}function sx($0){for(;;)if(z($0,0),mr(h($0))!==0)return d($0)}function lx($0){var Gx=zh(h($0));if(2>>0)return d($0);switch(Gx){case 0:var j0=ya(h($0));return j0===0?sx($0):j0===1?L0($0):d($0);case 1:return sx($0);default:return L0($0)}}function ax($0){var Gx=Uh(h($0));if(Gx!==0)return Gx===1?lx($0):d($0);x:for(;;){var j0=Z1(h($0));if(2>>0)return d($0);switch(j0){case 0:break;case 1:return lx($0);default:break x}}for(;;){if(mr(h($0))!==0)return d($0);x:for(;;){var cr=Z1(h($0));if(2>>0)return d($0);switch(cr){case 0:break;case 1:return lx($0);default:break x}}}}kr(L);var Vx=da(h(L));if(2>>0)var _x=d(L);else x:switch(Vx){case 0:if(mr(h(L))===0){r:for(;;){var zx=Z1(h(L));if(2>>0){var _x=d(L);break x}switch(zx){case 0:break;case 1:var _x=lx(L);break x;default:break r}}for(;;){r:{if(mr(h(L))===0){e:for(;;){var Lx=Z1(h(L));if(2>>0){var M0=d(L);break r}switch(Lx){case 0:break;case 1:var M0=lx(L);break r;default:break e}}continue}var M0=d(L)}var _x=M0;break}}else var _x=d(L);break;case 1:var qr=Th(h(L)),_x=qr===0?ax(L):qr===1?lx(L):d(L);break;default:r:for(;;){var Ex=Lh(h(L));if(2>>0){var _x=d(L);break}switch(Ex){case 0:var _x=ax(L);break r;case 1:break;default:var _x=lx(L);break r}}}return _x===0?[0,w,Pt(4,i2(L))]:gx(nn0)});case 24:return[0,x,Pt(4,i2(r))];case 25:return A2(x,r,function(w,L){function L0(Ex){for(;;){var $0=At(h(Ex));if(2<$0>>>0)return d(Ex);switch($0){case 0:break;case 1:for(;;){if(mr(h(Ex))!==0)return d(Ex);x:for(;;){var Gx=At(h(Ex));if(2>>0)return d(Ex);switch(Gx){case 0:break;case 1:break x;default:return 0}}}break;default:return 0}}}function sx(Ex){var $0=r3(h(Ex));return $0===0?L0(Ex):$0===1?0:d(Ex)}kr(L);var lx=da(h(L));if(2>>0)var ax=d(L);else x:switch(lx){case 0:var ax=mr(h(L))===0?L0(L):d(L);break;case 1:for(;;){var Vx=e3(h(L));if(Vx===0){var ax=sx(L);break}if(Vx!==1){var ax=d(L);break}}break;default:r:for(;;){var _x=ba(h(L));if(2<_x>>>0){var ax=d(L);break x}switch(_x){case 0:var ax=sx(L);break x;case 1:break;default:break r}}for(;;){r:{if(mr(h(L))===0){e:for(;;){var zx=ba(h(L));if(2>>0){var Lx=d(L);break r}switch(zx){case 0:var Lx=sx(L);break r;case 1:break;default:break e}}continue}var Lx=d(L)}var ax=Lx;break}}if(ax!==0)return gx(tn0);var M0=i2(L),qr=d1(w,zr(w,L),35);return[0,qr,Nt(2,M0)]});case 26:return A2(x,r,function(w,L){kr(L);var L0=ya(h(L));x:if(L0===0)for(;;){var sx=r3(h(L));if(sx!==0){if(sx===1){var _x=0;break}var _x=d(L);break}}else if(L0===1){r:for(;;){var lx=At(h(L));if(2>>0){var _x=d(L);break x}switch(lx){case 0:break;case 1:break r;default:var _x=0;break x}}for(;;){r:{if(mr(h(L))===0){e:for(;;){var ax=At(h(L));if(2>>0){var Vx=d(L);break r}switch(ax){case 0:break;case 1:break e;default:var Vx=0;break r}}continue}var Vx=d(L)}var _x=Vx;break}}else var _x=d(L);return _x===0?[0,w,Nt(2,i2(L))]:gx(en0)});case 27:var Xx=i2(r),Z0=d1(x,zr(x,r),35);return[0,Z0,Nt(2,Xx)];case 28:return[0,x,Nt(2,i2(r))];case 29:return A2(x,r,function(w,L){function L0(M0){for(;;){z(M0,0);var qr=_a(h(M0));if(qr!==0){if(qr!==1)return d(M0);for(;;){if(mr(h(M0))!==0)return d(M0);for(;;){z(M0,0);var Ex=_a(h(M0));if(Ex!==0)break}if(Ex!==1)return d(M0)}}}}function sx(M0){return z(M0,0),mr(h(M0))===0?L0(M0):d(M0)}kr(L);var lx=da(h(L));if(2>>0)var ax=d(L);else x:switch(lx){case 0:var ax=mr(h(L))===0?L0(L):d(L);break;case 1:for(;;){z(L,0);var Vx=e3(h(L));if(Vx===0){var ax=sx(L);break}if(Vx!==1){var ax=d(L);break}}break;default:r:for(;;){z(L,0);var _x=ba(h(L));if(2<_x>>>0){var ax=d(L);break x}switch(_x){case 0:var ax=sx(L);break x;case 1:break;default:break r}}for(;;){r:{if(mr(h(L))===0){e:for(;;){z(L,0);var zx=ba(h(L));if(2>>0){var Lx=d(L);break r}switch(zx){case 0:var Lx=sx(L);break r;case 1:break;default:break e}}continue}var Lx=d(L)}var ax=Lx;break}}return ax===0?[0,w,Pt(4,i2(L))]:gx(rn0)});case 30:return[0,x,Pt(4,i2(r))];case 31:return[0,x,66];case 32:return[0,x,6];default:return[0,x,7]}switch(Z){case 34:return[0,x,0];case 35:return[0,x,1];case 36:return[0,x,2];case 37:return[0,x,3];case 38:return[0,x,4];case 39:return[0,x,5];case 40:return[0,x,12];case 41:return[0,x,10];case 42:return[0,x,8];case 43:return[0,x,9];case 44:return[0,x,86];case 45:return[0,x,83];case 46:return[0,x,85];case 47:return[0,x,6];case 48:return[0,x,7];case 49:return[0,x,98];case 50:return[0,x,99];case 51:return[0,x,82];case 52:return[0,x,85];case 53:return[0,x,z2];case 54:return[0,x,86];case 55:return[0,x,88];case 56:return[0,x,87];case 57:return[0,x,89];case 58:return[0,x,91];case 59:return[0,x,11];case 60:return[0,x,82];case 61:return[0,x,Ze];case 62:return[0,x,_t];case 63:return[0,x,_4];case 64:return[0,x,hl];case 65:var rr=r[6];zB(r);var xr=Hl(x,rr,r[3]);BN(r,rr);var fr=i2(r),Hx=HB(x,fr),Y=Hx[2],jx=Hx[1],hr=ix(Y,h4);if(0<=hr){if(0>=hr)return[0,jx,Ov];var Yx=ix(Y,ox);if(0<=Yx){if(0>=Yx)return[0,jx,rl];if(!I(Y,as))return[0,jx,31];if(!I(Y,ss))return[0,jx,46];if(!I(Y,cm))return[0,jx,Cv];if(!I(Y,F8))return[0,jx,r2];if(!I(Y,ps))return[0,jx,of]}else{if(!I(Y,Mk))return[0,jx,Vt];if(!I(Y,oo))return[0,jx,29];if(!I(Y,yv))return[0,jx,B3];if(!I(Y,ko))return[0,jx,Bp];if(!I(Y,Ae))return[0,jx,42];if(!I(Y,Rv))return[0,jx,Ev]}}else{var Ur=ix(Y,hc);if(0<=Ur){if(0>=Ur)return[0,jx,41];if(!I(Y,ls))return[0,jx,30];if(!I(Y,ov))return[0,jx,kl];if(!I(Y,CF))return[0,jx,Yr];if(!I(Y,W1))return[0,jx,53];if(!I(Y,ll))return[0,jx,y2];if(!I(Y,Lk))return[0,jx,ms]}else{if(!I(Y,p8))return[0,jx,ia];if(!I(Y,hv))return[0,jx,dl];if(!I(Y,vo))return[0,jx,kv];if(!I(Y,C8))return[0,jx,mn0];if(!I(Y,$3))return[0,jx,kn0];if(!I(Y,ie))return[0,jx,ua]}}return[0,jx,[4,xr,Y,Gl(fr)]];case 66:var px=x[4]?d1(x,zr(x,r),91):x;return[0,px,Dr];default:return[0,x,[7,Ox(r)]]}}function Ql(x){return function(r){var e=0,t=r;x:for(;;){var u=x(t,t[2]);switch(u[0]){case 0:break x;case 1:var i=u[2],c=u[1],e=[0,i,e],t=[0,c[1],c[2],c[3],c[4],c[5],c[6],i[1]];break;default:var t=u[1]}}var v=u[2],a=u[1],p=VB(a,v),_=e===0?0:vx(e),y=a[6];if(y===0)return[0,[0,a[1],a[2],a[3],a[4],a[5],a[6],p],[0,v,p,0,_]];var S=[0,v,p,vx(y),_];return[0,[0,a[1],a[2],a[3],a[4],a[5],yB,p],S]}}var iw0=Ql(ew0),fw0=Ql(tw0),cw0=Ql(nw0),sw0=Ql(uw0),aw0=Ql(xw0),y1=aB([0,_b0]);function Zl(x,r){return[0,0,0,r,gB(x)]}function Gh(x){var r=x[4];switch(x[3]){case 0:var e0=aw0(r);break;case 1:var e0=sw0(r);break;case 2:var e0=fw0(r);break;case 3:var e=oe(r,r[2]),t=Qr(Yr),u=Qr(Yr),i=r[2];kr(i);var c=h(i),v=Vt>>0)var a=d(i);else switch(v){case 0:var a=1;break;case 1:var a=4;break;case 2:var a=0;break;case 3:z(i,0);var a=ae(h(i))===0?0:d(i);break;case 4:var a=2;break;default:var a=3}if(4>>0)var p=gx(gn0);else switch(a){case 0:var _=Ox(i);ar(u,_),ar(t,_);var y=eX(J1(r,i),t,u,i),S=oe(y,i),E=R2(t),j=R2(u),p=[0,y,[9,[0,y[1],e,S],E,j]];break;case 1:var p=[0,r,Dr];break;case 2:var p=[0,r,98];break;case 3:var p=[0,r,0];break;default:Zv(i);var C=eX(r,t,u,i),P=oe(C,i),O=R2(t),F=R2(u),p=[0,C,[9,[0,C[1],e,P],O,F]]}var K=p[2],U=p[1],V=VB(U,K),Q=U[6];if(Q===0)var x0=[0,U,[0,K,V,0,0]];else var $=[0,K,V,vx(Q),0],x0=[0,[0,U[1],U[2],U[3],U[4],U[5],0,U[7]],$];var e0=x0;break;case 4:var e0=cw0(r);break;default:var e0=iw0(r)}var Z=e0[1],c0=e0[2],d0=[0,gB(Z),c0];return x[4]=Z,x[1]?x[2]=[0,d0]:x[1]=[0,d0],d0}function tX(x){var r=x[1];return r?r[1][2]:Gh(x)[2]}function n3(x){return Dl(x[24][1])}function g2(x){return x[28][4]}function D0(x,r){var e=r[2];x[1][1]=[0,[0,r[1],e],x[1][1]];var t=x[23];if(t)return k(t[1],x,e)}function x6(x,r){x[31][1]=r}function Ta(x,r){if(x===0)return tX(r[26][1]);if(x!==1)throw U0([0,Ar,Zc0],1);var e=r[26][1];e[1]||Gh(e);var t=e[2];return t?t[1][2]:Gh(e)[2]}function Fs(x,r){return x===r[5]?r:[0,r[1],r[2],r[3],r[4],x,r[6],r[7],r[8],r[9],r[10],r[11],r[12],r[13],r[14],r[15],r[16],r[17],r[18],r[19],r[20],r[21],r[22],r[23],r[24],r[25],r[26],r[27],r[28],r[29],r[30],r[31]]}function nX(x,r){return x===r[10]?r:[0,r[1],r[2],r[3],r[4],r[5],r[6],r[7],r[8],r[9],x,r[11],r[12],r[13],r[14],r[15],r[16],r[17],r[18],r[19],r[20],r[21],r[22],r[23],r[24],r[25],r[26],r[27],r[28],r[29],r[30],r[31]]}function uO(x,r){return x===r[18]?r:[0,r[1],r[2],r[3],r[4],r[5],r[6],r[7],r[8],r[9],r[10],r[11],r[12],r[13],r[14],r[15],r[16],r[17],x,r[19],r[20],r[21],r[22],r[23],r[24],r[25],r[26],r[27],r[28],r[29],r[30],r[31]]}function iO(x,r){return x===r[19]?r:[0,r[1],r[2],r[3],r[4],r[5],r[6],r[7],r[8],r[9],r[10],r[11],r[12],r[13],r[14],r[15],r[16],r[17],r[18],x,r[20],r[21],r[22],r[23],r[24],r[25],r[26],r[27],r[28],r[29],r[30],r[31]]}function uX(x,r){return x===r[20]?r:[0,r[1],r[2],r[3],r[4],r[5],r[6],r[7],r[8],r[9],r[10],r[11],r[12],r[13],r[14],r[15],r[16],r[17],r[18],r[19],x,r[21],r[22],r[23],r[24],r[25],r[26],r[27],r[28],r[29],r[30],r[31]]}function qo(x,r){return x===r[22]?r:[0,r[1],r[2],r[3],r[4],r[5],r[6],r[7],r[8],r[9],r[10],r[11],r[12],r[13],r[14],r[15],r[16],r[17],r[18],r[19],r[20],r[21],x,r[23],r[24],r[25],r[26],r[27],r[28],r[29],r[30],r[31]]}function fO(x,r){return x===r[14]?r:[0,r[1],r[2],r[3],r[4],r[5],r[6],r[7],r[8],r[9],r[10],r[11],r[12],r[13],x,r[15],r[16],r[17],r[18],r[19],r[20],r[21],r[22],r[23],r[24],r[25],r[26],r[27],r[28],r[29],r[30],r[31]]}function r6(x,r){return x===r[8]?r:[0,r[1],r[2],r[3],r[4],r[5],r[6],r[7],x,r[9],r[10],r[11],r[12],r[13],r[14],r[15],r[16],r[17],r[18],r[19],r[20],r[21],r[22],r[23],r[24],r[25],r[26],r[27],r[28],r[29],r[30],r[31]]}function e6(x,r){return x===r[12]?r:[0,r[1],r[2],r[3],r[4],r[5],r[6],r[7],r[8],r[9],r[10],r[11],x,r[13],r[14],r[15],r[16],r[17],r[18],r[19],r[20],r[21],r[22],r[23],r[24],r[25],r[26],r[27],r[28],r[29],r[30],r[31]]}function Bo(x,r){return x===r[15]?r:[0,r[1],r[2],r[3],r[4],r[5],r[6],r[7],r[8],r[9],r[10],r[11],r[12],r[13],r[14],x,r[16],r[17],r[18],r[19],r[20],r[21],r[22],r[23],r[24],r[25],r[26],r[27],r[28],r[29],r[30],r[31]]}function cO(x,r){return x===r[16]?r:[0,r[1],r[2],r[3],r[4],r[5],r[6],r[7],r[8],r[9],r[10],r[11],r[12],r[13],r[14],r[15],x,r[17],r[18],r[19],r[20],r[21],r[22],r[23],r[24],r[25],r[26],r[27],r[28],r[29],r[30],r[31]]}function iX(x,r){return x===r[6]?r:[0,r[1],r[2],r[3],r[4],r[5],x,r[7],r[8],r[9],r[10],r[11],r[12],r[13],r[14],r[15],r[16],r[17],r[18],r[19],r[20],r[21],r[22],r[23],r[24],r[25],r[26],r[27],r[28],r[29],r[30],r[31]]}function fX(x,r){return x===r[7]?r:[0,r[1],r[2],r[3],r[4],r[5],r[6],x,r[8],r[9],r[10],r[11],r[12],r[13],r[14],r[15],r[16],r[17],r[18],r[19],r[20],r[21],r[22],r[23],r[24],r[25],r[26],r[27],r[28],r[29],r[30],r[31]]}function sO(x,r){return x===r[13]?r:[0,r[1],r[2],r[3],r[4],r[5],r[6],r[7],r[8],r[9],r[10],r[11],r[12],x,r[14],r[15],r[16],r[17],r[18],r[19],r[20],r[21],r[22],r[23],r[24],r[25],r[26],r[27],r[28],r[29],r[30],r[31]]}function Wh(x,r){return[0,r[1],r[2],r[3],r[4],r[5],r[6],r[7],r[8],r[9],r[10],r[11],r[12],r[13],r[14],r[15],r[16],r[17],r[18],r[19],r[20],r[21],r[22],[0,x],r[24],r[25],r[26],r[27],r[28],r[29],r[30],r[31]]}function aO(x){function r(e){return D0(x,e)}return function(e){return p1(r,e)}}function u3(x){var r=x[4][1];return r?[0,r[1][2]]:0}function cX(x){var r=x[4][1];return r?[0,r[1][1]]:0}function sX(x){return[0,x[1],x[2],x[3],x[4],x[5],x[6],x[7],x[8],x[9],x[10],x[11],x[12],x[13],x[14],x[15],x[16],x[17],x[18],x[19],x[20],x[21],x[22],0,x[24],x[25],x[26],x[27],x[28],x[29],x[30],x[31]]}function aX(x,r,e,t){return[0,x[1],x[2],y1[1],x[4],x[5],0,0,0,0,0,1,x[12],x[13],x[14],x[15],x[16],x[17],e,r,x[20],t,x[22],x[23],x[24],x[25],x[26],x[27],x[28],x[29],x[30],x[31]]}function i3(x){return I(x,lo)&&I(x,W1)&&I(x,mv)&&I(x,ek)&&I(x,_l)&&I(x,z3)&&I(x,U3)&&I(x,Ae)&&I(x,M1)?0:1}function Xo(x){return I(x,bA)&&I(x,"eval")?0:1}function $h(x){var r=ix(x,ik);x:{if(0<=r){if(0>>0){if(ue>=t+1>>>0)return 1}else if(t===6)return 0}return t6(x,r)}function c3(x){return lX(0,x)}function Ms(x,r){var e=vr(x,r);x:{if(typeof e=="number")switch(e){case 28:case 42:case 52:case 53:case 54:case 55:case 56:case 57:case 58:var t=1;break x}else if(e[0]===4){var t=i3(e[2]);break x}var t=0}if(t)return 1;x:{if(typeof e=="number")switch(e){case 14:case 48:case 60:case 61:case 62:case 63:case 64:case 65:case 126:break;default:break x}else if(e[0]!==4)break x;return 1}return 0}function Hh(x,r){return oX(r,vr(x,r))}function pX(x,r){var e=Ms(x,r);return e||Hh(x,r)}function Jc(x){return Ms(0,x)}function Ea(x){var r=M(x)===15?1:0;if(r)var e=r;else{var t=M(x)===64?1:0;if(t){var u=vr(1,x)===15?1:0;if(u)var i=f3(1,x)[2][1],e=fx(x)[3][1]===i?1:0;else var e=u}else var e=t}return e}function Qh(x){var r=M(x);if(typeof r!="number"&&r[0]===4&&!I(r[3],wo)){var e=x[28][1];if(e){var t=Ms(1,x);if(t)var u=f3(1,x)[2][1],i=fx(x)[3][1]===u?1:0;else var i=t}else var i=e;return i}return 0}function n6(x){var r=M(x);if(typeof r=="number")switch(r){case 13:case 40:return 1}else if(r[0]===4&&!I(r[3],xg)&&vr(1,x)===40)return 1;return 0}function lO(x){var r=x[28][1];if(r){var e=M(x);if(typeof e!="number"&&e[0]===4&&!I(e[3],ta)&&Ms(1,x))return 1;var t=0}else var t=r;return t}function pO(x){var r=M(x);return typeof r!="number"&&r[0]===4&&!I(r[3],dr)?1:0}function Kx(x,r){return D0(x,[0,fx(x),r])}function kX(x,r){var e=QN(0,r);return x?[26,e,x[1]]:[24,e]}function _2(x,r){var e=vO(r);return aO(r)(e),Kx(r,kX(x,M(r)))}function Zh(x){function r(e){return D0(x,[0,e[1],R7])}return function(e){return p1(r,e)}}function mX(x,r){var e=x[6]?B0(yr($c0),r,r,r):Hc0;return _2([0,e],x)}function Ot(x,r){var e=x[5];return e&&Kx(x,r)}function ct(x,r){var e=x[5],t=r[2],u=r[1];return e&&D0(x,[0,u,t])}function Jo(x,r){return D0(x,[0,r,[14,x[5]]])}function b0(x){var r=x[27][1];if(r){var e=r[1],t=n3(x),u=M(x);l(e,[0,fx(x),u,t])}var i=x[26][1],c=i[1],v=c?c[1][1]:Gh(i)[1];x[25][1]=v;var a=vO(x);aO(x)(a);var p=x[2][1],_=zv(Ta(0,x)[4],p);x[2][1]=_;var y=[0,Ta(0,x)];x[4][1]=y;var S=x[26][1];return S[2]?(S[1]=S[2],S[2]=0,0):(tX(S),S[1]=0,0)}function f2(x,r){var e=k(GN,M(x),r);return e&&b0(x),e}function L2(x,r){x[24][1]=[0,r,x[24][1]];var e=n3(x),t=Zl(x[25][1],e);x[26][1]=t}function J2(x){var r=x[24][1],e=r?r[2]:gx(Wc0);x[24][1]=e;var t=n3(x),u=Zl(x[25][1],t);x[26][1]=u}function xx(x){var r=fx(x);if(M(x)===9&&t6(1,x)){var e=f0(x),t=Ta(1,x)[4],u=Fx(e,Fl(function(c){return c[1][2][1]<=r[3][1]?1:0})(t));return x6(x,[0,r[3][1]+1|0,0]),u}var i=f0(x);return x6(x,r[3]),i}function Sa(x){var r=x[4][1];if(!r)return 0;var e=r[1][2],t=f0(x),u=Fl(function(i){return i[1][2][1]<=e[3][1]?1:0})(t);return x6(x,[0,e[3][1]+1|0,0]),u}function tn(x,r){return _2([0,QN(zc0,r)],x)}function W(x,r){return 1-k(GN,M(x),r)&&tn(x,r),b0(x)}function hX(x,r){var e=f2(x,r);return 1-e&&tn(x,r),e}function xd(x,r){hX(x,r)}function Kc(x,r){var e=M(x);x:{if(typeof e!="number"&&e[0]===4&&Sr(e[3],r))break x;_2([0,l(yr(Yc0),r)],x)}return b0(x)}var Yc=[x2,us0,Ts(0)];function dX(x,r,e){if(e){var t=e[1],u=t[1],i=t[2];if(r[27][1]=[0,u],!x)return x;for(var c=i[2];;){if(!c)return;var v=c[2];l(u,c[1]);var c=v}}}function kO(x,r){var e=x[27][1];if(e){var t=e[1],u=vq(R),i=[0,function(K){return lN(K,u)}];x[27][1]=i;var c=[0,[0,t,u]]}else var c=0;var v=x[31][1],a=x[25][1],p=x[24][1],_=x[4][1],y=x[2][1],S=x[1][1];try{var E=l(r,x);dX(1,x,c);var j=[0,E];return j}catch(F){var C=O2(F);if(C!==Yc)throw U0(C,0);dX(0,x,c),x[1][1]=S,x[2][1]=y,x[4][1]=_,x[24][1]=p,x[25][1]=a,x[31][1]=v;var P=n3(x),O=Zl(x[25][1],P);return x[26][1]=O,0}}function rd(x,r,e){var t=kO(x,e);return t?t[1]:r}function u6(x,r){var e=vx(r);if(!e)return r;var t=e[1],u=e[2],i=l(x,t);return t===i?r:vx([0,i,u])}var yX=ph(as0,function(x){var r=FN(x,fs0),e=DN(x,ss0),t=e[24],u=e[28],i=e[41],c=e[91],v=e[vj],a=e[IP],p=e[v_],_=e[GM],y=e[$L],S=e[jR],E=e[6],j=e[7],C=e[10],P=e[17],O=e[23],F=e[29],K=e[39],U=e[42],V=e[52],Q=e[61],$=e[z2],x0=e[j2],e0=e[ua],Z=e[kv],c0=e[Ev],d0=e[hl],n0=e[U_],P0=e[EL],h0=e[ZF],g0=e[kT],v0=e[Ub],p0=e[v8],w0=e[Wp],T0=e[Sb],E0=e[tm],N0=e[P4],X0=e[Gk],A0=e[po],rx=e[xl],B=e[go],G0=e[i8],W0=e[GR],Y0=e[wF],V0=e[zM],ex=e[pL],Q0=e[lM],S0=e[ay],q0=e[YF],yx=e[JM],cx=e[kR],Dx=MN(x,0,0,HU,JN,1)[1];function Ix(H,l0,J){var s0=J[2],_0=s0[2],y0=s0[1],J0=J[1];if(_0){var Rx=_0[1],kx=function(gr){return[0,J0,[0,y0,[0,gr]]]};return I0(l(H[1][1+a],H),Rx,J,kx)}function Jx(gr){return[0,J0,[0,gr,_0]]}return I0(k(H[1][1+E],H,l0),y0,J,Jx)}function Xx(H,l0,J){var s0=J[2],_0=J[1],y0=_0[3],J0=_0[2],Rx=_0[1];if(y0)var kx=u6(l(H[1][1+u],H),y0),Jx=J0;else var kx=0,Jx=k(H[1][1+u],H,J0);var gr=k(H[1][1+i],H,s0);return J0===Jx&&y0===kx&&s0===gr?J:[0,[0,Rx,Jx,kx],gr]}function Z0(H,l0){var J=l0[2],s0=J[2],_0=J[1],y0=l0[1];function J0(Rx){return[0,y0,[0,_0,Rx]]}return I0(l(H[1][1+i],H),s0,l0,J0)}function rr(H,l0,J){var s0=J[3];function _0(y0){return[0,J[1],J[2],y0]}return I0(l(H[1][1+i],H),s0,J,_0)}function xr(H,l0){var J=l0[3];function s0(_0){return[0,l0[1],l0[2],_0]}return I0(l(H[1][1+i],H),J,l0,s0)}function fr(H,l0,J){var s0=J[3];function _0(y0){return[0,J[1],J[2],y0]}return I0(l(H[1][1+i],H),s0,J,_0)}function Hx(H,l0,J){var s0=J[2],_0=J[1],y0=u6(l(H[1][1+a],H),_0),J0=k(H[1][1+i],H,s0);return _0===y0&&s0===J0?J:[0,y0,J0]}function Y(H,l0){var J=l0[2],s0=J[2],_0=J[1],y0=l0[1];function J0(Rx){return[0,y0,[0,_0,Rx]]}return I0(l(H[1][1+i],H),s0,l0,J0)}function jx(H,l0,J){var s0=J[4];function _0(y0){return[0,J[1],J[2],J[3],y0]}return I0(l(H[1][1+i],H),s0,J,_0)}function hr(H,l0,J){var s0=J[2];function _0(y0){return[0,J[1],y0]}return I0(l(H[1][1+i],H),s0,J,_0)}function Yx(H,l0,J){var s0=J[3],_0=J[2],y0=k(H[1][1+e0],H,_0),J0=k(H[1][1+i],H,s0);return _0===y0&&s0===J0?J:[0,J[1],y0,J0]}function Ur(H,l0,J){var s0=J[4],_0=J[3],y0=J[2],J0=J[1],Rx=k(H[1][1+i],H,s0);if(_0){var kx=Cx(l(H[1][1+S],H),_0);return _0===kx&&s0===Rx?J:[0,J[1],J[2],kx,Rx]}if(y0){var Jx=Cx(l(H[1][1+y],H),y0);return y0===Jx&&s0===Rx?J:[0,J[1],Jx,J[3],Rx]}var gr=k(H[1][1+a],H,J0);return J0===gr&&s0===Rx?J:[0,gr,J[2],J[3],Rx]}function px(H,l0,J){var s0=J[4],_0=J[3],y0=k(H[1][1+a],H,_0),J0=k(H[1][1+i],H,s0);return _0===y0&&s0===J0?J:[0,J[1],J[2],y0,J0]}function w(H,l0,J){var s0=J[4];function _0(y0){return[0,J[1],J[2],J[3],y0]}return I0(l(H[1][1+i],H),s0,J,_0)}function L(H,l0,J){var s0=J[4];function _0(y0){return[0,J[1],J[2],J[3],y0]}return I0(l(H[1][1+i],H),s0,J,_0)}function L0(H,l0,J){var s0=J[2],_0=J[1],y0=_0[3],J0=_0[2],Rx=_0[1];if(y0)var kx=u6(l(H[1][1+u],H),y0),Jx=J0;else var kx=0,Jx=k(H[1][1+u],H,J0);var gr=k(H[1][1+i],H,s0);return J0===Jx&&y0===kx&&s0===gr?J:[0,[0,Rx,Jx,kx],gr]}function sx(H,l0,J){var s0=J[3],_0=J[1],y0=X2(l(H[1][1+c],H),_0),J0=k(H[1][1+i],H,s0);return _0===y0&&s0===J0?J:[0,y0,J[2],J0]}function lx(H,l0,J){var s0=J[2];function _0(y0){return[0,J[1],y0]}return I0(l(H[1][1+i],H),s0,J,_0)}function ax(H,l0){if(l0[0]===0){var J=l0[1],s0=function(Jx){return[0,Jx]};return I0(l(H[1][1+v],H),J,l0,s0)}var _0=l0[1],y0=_0[2],J0=y0[2],Rx=_0[1],kx=k(H[1][1+v],H,J0);return J0===kx?l0:[1,[0,Rx,[0,y0[1],kx]]]}function Vx(H,l0,J){var s0=J[4],_0=J[3],y0=k(H[1][1+p0],H,_0),J0=k(H[1][1+i],H,s0);return _0===y0&&s0===J0?J:[0,J[1],J[2],y0,J0,J[5]]}function _x(H,l0){var J=l0[2],s0=l0[1],_0=J[4];function y0(J0){return[0,s0,[0,J[1],J[2],J[3],J0]]}return I0(l(H[1][1+i],H),_0,[0,s0,J],y0)}function zx(H,l0,J){var s0=J[10],_0=J[3],y0=k(H[1][1+E0],H,_0),J0=k(H[1][1+i],H,s0);return _0===y0&&s0===J0?J:[0,J[1],J[2],y0,J[4],J[5],J[6],J[7],J[8],J[9],J0,J[11]]}function Lx(H,l0,J){var s0=J[4],_0=J[3],y0=k(H[1][1+a],H,_0),J0=k(H[1][1+i],H,s0);return _0===y0&&s0===J0?J:[0,J[1],J[2],y0,J0]}function M0(H,l0){var J=l0[2],s0=J[2],_0=J[1],y0=l0[1];function J0(Rx){return[0,y0,[0,_0,Rx]]}return I0(l(H[1][1+i],H),s0,l0,J0)}function qr(H,l0){var J=l0[2],s0=l0[1],_0=J[3];function y0(J0){return[0,s0,[0,J[1],J[2],J0]]}return I0(l(H[1][1+i],H),_0,[0,s0,J],y0)}function Ex(H,l0,J){var s0=J[6],_0=J[5],y0=k(H[1][1+G0],H,_0),J0=k(H[1][1+i],H,s0);return _0===y0&&s0===J0?J:[0,J[1],J[2],J[3],J[4],y0,J0,J[7]]}function $0(H,l0){var J=l0[2],s0=J[2],_0=J[1],y0=l0[1];if(s0===0){var J0=function(Jx){return[0,y0,[0,Jx,s0]]};return I0(l(H[1][1+v],H),_0,l0,J0)}function Rx(Jx){return[0,y0,[0,_0,Jx]]}var kx=l(H[1][1+t],H);return I0(function(Jx){return Cx(kx,Jx)},s0,l0,Rx)}function Gx(H,l0){var J=l0[2],s0=J[2],_0=J[1],y0=l0[1];function J0(kx){return[0,y0,[0,kx,s0]]}var Rx=l(H[1][1+p],H);return I0(function(kx){return u6(Rx,kx)},_0,l0,J0)}function j0(H,l0,J){var s0=J[2],_0=J[1];if(s0===0){var y0=function(kx){return[0,kx,J[2],J[3]]};return I0(l(H[1][1+a],H),_0,J,y0)}function J0(kx){return[0,J[1],kx,J[3]]}var Rx=l(H[1][1+t],H);return I0(function(kx){return Cx(Rx,kx)},s0,J,J0)}function cr(H,l0){var J=l0[2],s0=J[2],_0=J[1],y0=l0[1];function J0(Rx){return[0,y0,[0,_0,Rx]]}return I0(l(H[1][1+i],H),s0,l0,J0)}function tx(H,l0,J){var s0=J[7],_0=J[2],y0=k(H[1][1+_],H,_0),J0=k(H[1][1+i],H,s0);return _0===y0&&s0===J0?J:[0,J[1],y0,J[3],J[4],J[5],J[6],J0]}function Mx(H,l0){var J=l0[2],s0=J[2],_0=J[1],y0=l0[1];function J0(Rx){return[0,y0,[0,_0,Rx]]}return I0(l(H[1][1+i],H),s0,l0,J0)}function b2(H,l0){var J=l0[2],s0=J[2],_0=J[1],y0=l0[1];function J0(Rx){return[0,y0,[0,_0,Rx]]}return I0(l(H[1][1+i],H),s0,l0,J0)}function Ux(H,l0,J){var s0=J[4],_0=J[3],y0=k(H[1][1+S],H,_0),J0=k(H[1][1+i],H,s0);return _0===y0&&s0===J0?J:[0,J[1],J[2],y0,J0]}function c1(H,l0,J){var s0=J[2];function _0(y0){return[0,J[1],y0]}return I0(l(H[1][1+i],H),s0,J,_0)}function Rr(H,l0,J){var s0=J[4],_0=J[3],y0=k(H[1][1+a],H,_0),J0=k(H[1][1+i],H,s0);return _0===y0&&s0===J0?J:[0,J[1],J[2],y0,J0]}function U2(H,l0,J){var s0=J[4],_0=J[3],y0=k(H[1][1+a],H,_0),J0=k(H[1][1+i],H,s0);return _0===y0&&s0===J0?J:[0,J[1],J[2],y0,J0]}function g(H,l0){var J=l0[2];function s0(_0){return[0,l0[1],_0]}return I0(l(H[1][1+i],H),J,l0,s0)}function G(H,l0,J){var s0=J[2];function _0(y0){return[0,J[1],y0]}return I0(l(H[1][1+i],H),s0,J,_0)}return qN(x,[0,U,function(H,l0){var J=l0[2],s0=Fl(function(y0){return Rs(y0[1][2],H[1+r])<0?1:0})(J),_0=Is(s0);return Is(J)===_0?l0:[0,l0[1],s0,l0[3]]},cx,G,yx,g,q0,U2,S0,Rr,Q0,c1,ex,Ux,S,b2,y,Mx,V0,tx,_,cr,Y0,j0,W0,Gx,p,$0,B,Ex,rx,qr,A0,M0,X0,Lx,N0,zx,T0,_x,w0,Vx,v0,ax,g0,lx,h0,sx,P0,L0,n0,L,d0,w,c0,px,x0,Ur,Z,Yx,$,hr,c,jx,Q,Y,V,Hx,K,fr,F,xr,O,rr,P,Z0,C,Xx,j,Ix]),function(H,l0,J){var s0=kh(l0,x);return s0[1+r]=J,l(Dx,s0),UN(l0,s0,x)}});function ed(x){var r=u3(x);if(r)var e=r[1],t=vX(x)?(x6(x,e[3]),[0,k(yX[1],0,e[3])]):0,u=t;else var u=0;return[0,0,function(i,c){return u?c(u[1],i):i}]}function i6(x){var r=u3(x);if(r){var e=r[1];if(vX(x)){x6(x,e[3]);var t=Sa(x),u=[0,k(yX[1],0,[0,e[3][1]+1|0,0])],i=t}else var u=0,i=Sa(x)}else var u=0,i=0;return[0,i,function(c,v){return u?k(v,u[1],c):c}]}function I2(x){return K1(x)?i6(x):ed(x)}function Ct(x,r){var e=I2(x)[2];return k(e,r,function(t,u){return k(Wx(t,Av,2),t,u)})}function Y1(x,r){if(!r)return 0;var e=r[1],t=I2(x)[2];return[0,k(t,e,function(u,i){return k(Wx(u,Wj,5),u,i)})]}function mO(x,r){var e=I2(x)[2];return k(e,r,function(t,u){return k(Wx(t,AR,8),t,u)})}function s3(x,r){var e=I2(x)[2];return k(e,r,function(t,u){return k(Wx(t,-1045824777,9),t,u)})}function f6(x,r){var e=I2(x)[2];return k(e,r,function(t,u){return k(Wx(t,-455772979,10),t,u)})}function gX(x,r){if(!r)return 0;var e=r[1],t=I2(x)[2];return[0,k(t,e,function(u,i){return k(Wx(u,HF,13),u,i)})]}function nn(x,r){var e=I2(x)[2];return k(e,r,function(t,u){return k(Wx(t,rR,14),t,u)})}function _X(x,r){var e=I2(x)[2];return k(e,r,function(t,u){var i=l(Wx(t,zL,16),t);return u6(function(c){return X2(i,c)},u)})}function bX(x,r){var e=I2(x)[2];return k(e,r,function(t,u){return k(Wx(t,-21476009,17),t,u)})}function ow0(x,r){var e=x[2],t=x[1];function u(c1){return N1(c1,r)}switch(e[0]){case 0:var i=e[1],c=zN(i[2],r),Ux=[0,[0,i[1],c]];break;case 1:var v=e[1],a=u(v[2]),Ux=[1,[0,v[1],a]];break;case 2:var p=e[1],_=u(p[7]),Ux=[2,[0,p[1],p[2],p[3],p[4],p[5],p[6],_]];break;case 3:var y=e[1],S=y[7],E=u(y[6]),Ux=[3,[0,y[1],y[2],y[3],y[4],y[5],E,S]];break;case 4:var j=e[1],C=u(j[2]),Ux=[4,[0,j[1],C]];break;case 5:var Ux=[5,[0,u(e[1][1])]];break;case 6:var P=e[1],O=u(P[7]),Ux=[6,[0,P[1],P[2],P[3],P[4],P[5],P[6],O]];break;case 7:var F=e[1],K=u(F[5]),Ux=[7,[0,F[1],F[2],F[3],F[4],K]];break;case 8:var U=e[1],V=u(U[3]),Ux=[8,[0,U[1],U[2],V]];break;case 9:var Q=e[1],$=u(Q[5]),Ux=[9,[0,Q[1],Q[2],Q[3],Q[4],$]];break;case 10:var x0=e[1],e0=u(x0[4]),Ux=[10,[0,x0[1],x0[2],x0[3],e0]];break;case 11:var Z=e[1],c0=u(Z[5]),Ux=[11,[0,Z[1],Z[2],Z[3],Z[4],c0]];break;case 12:var d0=e[1],n0=u(d0[3]),Ux=[12,[0,d0[1],d0[2],n0]];break;case 13:var P0=e[1],h0=u(P0[2]),Ux=[13,[0,P0[1],h0]];break;case 14:var g0=e[1],v0=u(g0[3]),Ux=[14,[0,g0[1],g0[2],v0]];break;case 15:var p0=e[1],w0=u(p0[4]),Ux=[15,[0,p0[1],p0[2],p0[3],w0]];break;case 16:var T0=e[1],E0=u(T0[5]),Ux=[16,[0,T0[1],T0[2],T0[3],T0[4],E0]];break;case 17:var N0=e[1],X0=u(N0[4]),Ux=[17,[0,N0[1],N0[2],N0[3],X0]];break;case 18:var A0=e[1],rx=u(A0[3]),Ux=[18,[0,A0[1],A0[2],rx]];break;case 19:var Ux=[19,[0,u(e[1][1])]];break;case 20:var B=e[1],G0=u(B[3]),Ux=[20,[0,B[1],B[2],G0]];break;case 21:var W0=e[1],Y0=u(W0[3]),Ux=[21,[0,W0[1],W0[2],Y0]];break;case 22:var V0=e[1],ex=u(V0[5]),Ux=[22,[0,V0[1],V0[2],V0[3],V0[4],ex]];break;case 23:var Q0=e[1],S0=u(Q0[3]),Ux=[23,[0,Q0[1],Q0[2],S0]];break;case 24:var q0=e[1],yx=u(q0[5]),Ux=[24,[0,q0[1],q0[2],q0[3],q0[4],yx]];break;case 25:var cx=e[1],Dx=u(cx[5]),Ux=[25,[0,cx[1],cx[2],cx[3],cx[4],Dx]];break;case 26:var Ix=e[1],Xx=u(Ix[5]),Ux=[26,[0,Ix[1],Ix[2],Ix[3],Ix[4],Xx]];break;case 27:var Z0=e[1],rr=Z0[11],xr=u(Z0[10]),Ux=[27,[0,Z0[1],Z0[2],Z0[3],Z0[4],Z0[5],Z0[6],Z0[7],Z0[8],Z0[9],xr,rr]];break;case 28:var fr=e[1],Hx=u(fr[4]),Ux=[28,[0,fr[1],fr[2],fr[3],Hx]];break;case 29:var Y=e[1],jx=u(Y[5]),Ux=[29,[0,Y[1],Y[2],Y[3],Y[4],jx]];break;case 30:var hr=e[1],Yx=u(hr[5]),Ux=[30,[0,hr[1],hr[2],hr[3],hr[4],Yx]];break;case 31:var Ur=e[1],px=u(Ur[3]),Ux=[31,[0,Ur[1],Ur[2],px]];break;case 32:var w=e[1],L=w[3],L0=u(w[2]),Ux=[32,[0,w[1],L0,L]];break;case 33:var sx=e[1],lx=sx[4],ax=u(sx[3]),Ux=[33,[0,sx[1],sx[2],ax,lx]];break;case 34:var Vx=e[1],_x=u(Vx[2]),Ux=[34,[0,Vx[1],_x]];break;case 35:var zx=e[1],Lx=u(zx[4]),Ux=[35,[0,zx[1],zx[2],zx[3],Lx]];break;case 36:var M0=e[1],qr=u(M0[4]),Ux=[36,[0,M0[1],M0[2],M0[3],qr]];break;case 37:var Ex=e[1],$0=u(Ex[5]),Ux=[37,[0,Ex[1],Ex[2],Ex[3],Ex[4],$0]];break;case 38:var Gx=e[1],j0=u(Gx[3]),Ux=[38,[0,Gx[1],Gx[2],j0]];break;case 39:var cr=e[1],tx=u(cr[3]),Ux=[39,[0,cr[1],cr[2],tx]];break;default:var Mx=e[1],b2=u(Mx[3]),Ux=[40,[0,Mx[1],Mx[2],b2]]}return[0,t,Ux]}ph(os0,function(x){var r=FN(x,is0),e=LN(cs0),t=e.length-1,u=$U.length-1,i=Jv(t+u|0,0),c=t-1|0,v=0;if(c>=0)for(var a=v;;){var p=Yl(x,$2(e,a)[1+a]);$2(i,a)[1+a]=p;var _=a+1|0;if(c===a)break;var a=_}var y=u-1|0,S=0;if(y>=0)for(var E=S;;){var j=E+t|0,C=FN(x,$2($U,E)[1+E]);$2(i,j)[1+j]=C;var P=E+1|0;if(y===E)break;var E=P}var O=i[4],F=i[5],K=i[vL],U=i[v_],V=i[297],Q=i[298],$=i[44],x0=i[gv],e0=i[yL],Z=MN(x,0,0,HU,JN,1)[1];function c0(v0,p0,w0){return k(v0[1][1+K],v0,w0[2]),w0}function d0(v0,p0){return k(v0[1][1+U],v0,p0),p0}function n0(v0,p0){var w0=p0[1],T0=v0[1+Q];if(T0){var E0=Rs(T0[1][1][2],w0[2])<0?1:0,N0=E0&&(v0[1+Q]=[0,p0],0);return N0}var X0=0<=Rs(w0[2],v0[1+r][3])?1:0,A0=X0&&(v0[1+Q]=[0,p0],0);return A0}function P0(v0,p0){var w0=p0[1],T0=v0[1+V];if(T0){var E0=Rs(w0[2],T0[1][1][2])<0?1:0,N0=E0&&(v0[1+V]=[0,p0],0);return N0}var X0=Rs(w0[2],v0[1+r][2])<0?1:0,A0=X0&&(v0[1+V]=[0,p0],0);return A0}function h0(v0,p0){return p0?k(v0[1][1+U],v0,p0[1]):0}function g0(v0,p0){var w0=p0[2],T0=p0[1];return p1(l(v0[1][1+F],v0),T0),p1(l(v0[1][1+O],v0),w0)}return qN(x,[0,x0,function(v0){return[0,v0[1+V],v0[1+Q]]},U,g0,K,h0,F,P0,O,n0,$,d0,e0,c0]),function(v0,p0,w0){var T0=kh(p0,x);return T0[1+r]=w0,l(Z,T0),T0[1+V]=0,T0[1+Q]=0,UN(p0,T0,x)}});function wX(x){var r=M(x);x:{if(typeof r=="number"){var e=r;if(50<=e)switch(e){case 50:var u=Vs0;break x;case 51:var u=Gs0;break x;case 52:var u=Ws0;break x;case 53:var u=$s0;break x;case 54:var u=Hs0;break x;case 55:var u=Qs0;break x;case 56:var u=Zs0;break x;case 57:var u=xa0;break x;case 58:var u=ra0;break x;case 59:var u=ea0;break x;case 60:var u=ta0;break x;case 61:var u=na0;break x;case 62:var u=ua0;break x;case 63:var u=ia0;break x;case 64:var u=fa0;break x;case 65:var u=ca0;break x;case 114:var u=sa0;break x;case 115:var u=aa0;break x;case 116:var u=oa0;break x;case 117:var u=va0;break x;case 118:var u=la0;break x;case 119:var u=pa0;break x;case 120:var u=ka0;break x;case 121:var u=ma0;break x;case 122:var u=ha0;break x;case 123:var u=da0;break x;case 124:var u=ya0;break x;case 125:var u=ga0;break x;case 126:var u=_a0;break x;case 128:var u=ba0;break x;case 129:var u=wa0;break x;case 130:var u=Ta0;break x}else switch(e){case 15:var u=vs0;break x;case 16:var u=ls0;break x;case 17:var u=ps0;break x;case 18:var u=ks0;break x;case 19:var u=ms0;break x;case 20:var u=hs0;break x;case 21:var u=ds0;break x;case 22:var u=ys0;break x;case 23:var u=gs0;break x;case 24:var u=_s0;break x;case 25:var u=bs0;break x;case 26:var u=ws0;break x;case 27:var u=Ts0;break x;case 28:var u=Es0;break x;case 29:var u=Ss0;break x;case 30:var u=As0;break x;case 31:var u=Is0;break x;case 32:var u=js0;break x;case 33:var u=Ps0;break x;case 34:var u=Ns0;break x;case 35:var u=Os0;break x;case 36:var u=Cs0;break x;case 37:var u=Ds0;break x;case 38:var u=Rs0;break x;case 39:var u=Fs0;break x;case 40:var u=Ls0;break x;case 41:var u=Ms0;break x;case 42:var u=Us0;break x;case 43:var u=qs0;break x;case 44:var u=Bs0;break x;case 45:var u=Xs0;break x;case 46:var u=Js0;break x;case 47:var u=Ks0;break x;case 48:var u=Ys0;break x;case 49:var u=zs0;break x}}else switch(r[0]){case 4:var u=r[2];break x;case 11:var t=r[1]?Ea0:Sa0,u=t;break x}_2(Aa0,x);var u=Ia0}return b0(x),u}function g1(x){var r=fx(x),e=f0(x),t=wX(x);return[0,r,[0,t,t0([0,e],[0,xx(x)],R)]]}function TX(x){var r=fx(x),e=f0(x);W(x,14);var t=fx(x),u=wX(x),i=t0([0,e],[0,xx(x)],R),c=Zr(r,t),v=t[2],a=r[3],p=a[1]===v[1]?1:0,_=p&&(a[2]===v[2]?1:0);return 1-_&&D0(x,[0,c,j2]),[0,c,[0,u,i]]}function Ko(x){var r=x[2],e=r[3]===0?1:0,t=r[2];if(!e)return e;for(var u=t;;){if(!u)return 1;var i=u[1][2],c=u[2];x:{if(i[1][2][0]===2&&!i[2]){var v=1;break x}var v=0}if(!v)return v;var u=c}}function c6(x){for(var r=x;;){var e=r[2];if(e[0]!==31)return 0;var t=e[1][2];if(t[2][0]===27)return 1;var r=t}}function td(x,r,e){var t=e[2][1],u=e[1];if(!I(t,_o)){var i=r[19];return i&&D0(r,[0,u,5])}if(I(t,mv)){if(!I(t,M1))return r[18]?D0(r,[0,u,95]):ct(r,[0,u,80])}else if(r[14])return D0(r,[0,u,[24,bh(t)]]);if(i3(t))return ct(r,[0,u,80]);if($h(t))return D0(r,[0,u,95]);if(x){var c=x[1];if(Xo(t))return ct(r,[0,u,c])}}function r0(x,r,e){var t=x?x[1]:fx(e),u=l(r,e),i=u3(e),c=i?Zr(t,i[1]):t;return[0,c,u]}function hO(x,r,e){var t=r0(x,r,e),u=t[2];return[0,[0,t[1],u[1]],u[2]]}function nd(x){L2(x,0);var r=M(x);J2(x);var e=vr(1,x);x:{r:{if(typeof r=="number"){if(r!==21)break x}else{if(r[0]!==4)break x;var t=r[3];if(I(t,hv)){if(!I(t,ov))e:{if(typeof e=="number"){if(e!==21)break e}else if(e[0]!==4)break e;break r}}else e:{if(typeof e=="number"){if(e!==21)break e}else if(e[0]!==4)break e;break r}}if(typeof e=="number"){if(y2!==e)break x}else if(e[0]!==4||I(e[3],ll))break x}return 1}return 0}function EX(x){switch(x){case 3:return 2;case 4:return 1;case 5:return 1;case 6:return 1;case 7:return 1;default:return 1}}function dO(x,r,e){if(e){var t=e[1];x:{if(t!==8232&&G2!==t){if(t===10){var u=6;break x}if(t===13){var u=5;break x}if(el<=t){var u=3;break x}if(mj<=t){var u=2;break x}if(y2<=t){var u=1;break x}var u=0;break x}var u=7}var i=u}else var i=4;return[0,i,x]}var vw0=[x2,so0,Ts(0)];function SX(x,r,e,t){try{var u=$2(x,r)[1+r];return u}catch(c){var i=O2(c);throw i[1]===tN?U0([0,vw0,e,B0(yr(fo0),t,r,x.length-1)],1):U0(i,0)}}function ud(x,r){if(r[1]===0&&r[2]===0)return 0;var e=SX(x,r[1]-1|0,r,uo0);return SX(e,r[2],r,io0)}function AX(x){var r=[0,Ro0,y1[1],0,0];function e(a){var p=M(a);x:if(typeof p=="number"){if(8<=p){if(10<=p)break x}else if(p!==1)break x;return 1}return 0}function t(a,p,_,y,S,E){var j=B0(x[24],a,S,E);if(_)var C=Bx(Do0,E),P=-j;else var C=E,P=j;var O=xx(a);return e(a)?[2,p,[0,P,C,t0([0,y],[0,O],R)]]:[0,p]}function u(a){var p=fx(a),_=f0(a),y=M(a);if(typeof y=="number")switch(y){case 104:b0(a);var S=M(a);return typeof S!="number"&&S[0]===0?t(a,p,1,_,S[1],S[2]):[0,p];case 30:case 31:b0(a);var E=xx(a);return e(a)?[1,p,[0,y===31?1:0,t0([0,_],[0,E],R)]]:[0,p]}else switch(y[0]){case 0:return t(a,p,0,_,y[1],y[2]);case 1:var j=y[2],C=B0(x[26],a,y[1],j),P=xx(a);return e(a)?[4,p,[0,C,j,t0([0,_],[0,P],R)]]:[0,p];case 2:var O=y[1],F=O[1],K=O[3],U=O[2];O[4]&&Ot(a,76),b0(a);var V=xx(a);return e(a)?[3,F,[0,U,K,t0([0,_],[0,V],R)]]:[0,F]}return b0(a),[0,p]}function i(a){var p=g1(a),_=M(a);x:{if(typeof _=="number"){if(_===82){W(a,82);var y=u(a);break x}if(_===86){Kx(a,[8,p[2][1]]),W(a,86);var y=u(a);break x}}var y=0}return[0,p,y]}var c=0;function v(a,p,_,y,S,E,j){var C=Is(S),P=Is(E);function O(K){return[2,[0,[0,E],_,y,j]]}function F(K){return[2,[0,[1,S],_,y,j]]}return C===0?O(R):P===0?F(R):C>>0){if(ue>=$+1>>>0)break}else if($===10){var x0=fx(P),e0=f0(P);b0(P);var Z=M(P);x:{r:if(typeof Z=="number"){var c0=Z-2|0;if(j2>>0){if(ue>>0)break r}else{if(c0!==7)break r;W(P,9);var d0=M(P);e:{t:if(typeof d0=="number"){if(d0!==1&&Dr!==d0)break t;var n0=1;break e}var n0=0}D0(P,[0,x0,[6,n0]])}break x}D0(P,[0,x0,Ao0])}var V=[0,V[1],V[2],1,e0];continue}}var P0=V[2],h0=V[1],g0=r0(c,i,P),v0=g0[2],p0=v0[2],w0=v0[1],T0=g0[1],E0=w0[2][1],N0=w0[1];x:if(Sr(E0,H0))var X0=V;else{var A0=N2(E0,0),rx=97<=A0?1:0,B=rx&&(A0<=r2?1:0);B&&D0(P,[0,N0,[10,E,E0]]),y1[3].call(null,E0,P0)&&D0(P,[0,N0,[4,E,E0]]);var G0=V[4],W0=V[3],Y0=y1[4].call(null,E0,P0),V0=[0,V[1],Y0,W0,G0],ex=function(Ex){return function($0,Gx){if(K&&K[1]!==$0)return D0(P,[0,Gx,[9,E,K,Ex]])}}(E0);if(typeof p0=="number"){if(K)switch(K[1]){case 0:D0(P,[0,T0,[3,E,E0]]);var X0=V0;break x;case 1:D0(P,[0,T0,[11,E,E0]]);var X0=V0;break x;case 4:D0(P,[0,T0,[2,E,E0]]);var X0=V0;break x}var X0=[0,[0,h0[1],h0[2],h0[3],h0[4],[0,[0,T0,[0,w0]],h0[5]]],Y0,W0,G0]}else switch(p0[0]){case 0:D0(P,[0,p0[1],[9,E,K,E0]]);var X0=V0;break;case 1:var Q0=p0[1],S0=p0[2];ex(0,Q0);var X0=[0,[0,[0,[0,T0,[0,w0,[0,Q0,S0]]],h0[1]],h0[2],h0[3],h0[4],h0[5]],Y0,W0,G0];break;case 2:var q0=p0[1],yx=p0[2];ex(1,q0);var X0=[0,[0,h0[1],[0,[0,T0,[0,w0,[0,q0,yx]]],h0[2]],h0[3],h0[4],h0[5]],Y0,W0,G0];break;case 3:var cx=p0[1],Dx=p0[2];ex(2,cx);var X0=[0,[0,h0[1],h0[2],[0,[0,T0,[0,w0,[0,cx,Dx]]],h0[3]],h0[4],h0[5]],Y0,W0,G0];break;default:var Ix=p0[1],Xx=p0[2];ex(4,Ix);var X0=[0,[0,h0[1],h0[2],h0[3],[0,[0,T0,[0,w0,[0,Ix,Xx]]],h0[4]],h0[5]],Y0,W0,G0]}}var Z0=M(P);x:{r:if(typeof Z0=="number"){var rr=Z0-2|0;if(j2>>0){if(ue>>0)break r}else{if(rr!==6)break r;Kx(P,18),W(P,8)}break x}W(P,9)}var V=X0}var xr=V[3],fr=V[4],Hx=vx(V[1][5]),Y=vx(V[1][4]),jx=vx(V[1][3]),hr=vx(V[1][2]),Yx=vx(V[1][1]),Ur=Fx(fr,f0(P));W(P,1);var px=M(P);x:{r:if(typeof px=="number"){if(px!==1&&Dr!==px)break r;var w=xx(P);break x}var w=K1(P)?Sa(P):0}var L=F2([0,U],[0,w],Ur,R);if(K){switch(K[1]){case 0:var L0=[0,[0,Yx,1,xr,L]];break;case 1:var L0=[1,[0,hr,1,xr,L]];break;case 2:var L0=v(P,E,1,xr,jx,Hx,L);break;case 3:var L0=[3,[0,Hx,xr,L]];break;default:var L0=[4,[0,Y,1,xr,L]]}var sx=L0}else{var lx=Is(Yx),ax=Is(hr),Vx=Is(Y),_x=Is(jx),zx=Is(Hx),Lx=function(Ex){return[2,[0,Io0,0,xr,L]]};x:{if(lx===0&&ax===0&&Vx===0){if(_x===0&&zx===0){var M0=Lx(R);break x}var M0=v(P,E,0,xr,jx,Hx,L);break x}if(ax===0&&Vx===0&&_x===0&&zx<=lx){p1(function($0){return D0(P,[0,$0[1],[3,E,$0[2][1][2][1]]])},Hx);var M0=[0,[0,Yx,0,xr,L]];break x}if(lx===0){if(Vx===0&&_x===0&&zx<=ax){p1(function($0){return D0(P,[0,$0[1],[11,E,$0[2][1][2][1]]])},Hx);var M0=[1,[0,hr,0,xr,L]];break x}if(ax===0&&_x===0&&zx<=Vx){p1(function($0){return D0(P,[0,$0[1],[11,E,$0[2][1][2][1]]])},Hx);var M0=[4,[0,Y,0,xr,L]];break x}}D0(P,[0,j,[5,E]]);var M0=Lx(R)}var sx=M0}return sx},p);return[0,S,C,t0([0,y],0,R)]}]}function a3(x){return[0,Ls(x)]}function id(x,r,e){if(typeof e=="number")return[0,x,r];if(e[0]===0){var t=e[1],u=ix(x,t),i=e[2];return u===0?i===r?e:[0,t,r]:0<=u?[1,2,x,r,e,0]:[1,2,x,r,0,e]}var c=e[5],v=e[4],a=e[3],p=e[2],_=ix(x,p),y=e[1];if(_===0)return a===r?e:[1,y,x,r,v,c];if(0<=_){var S=id(x,r,c);return c===S?e:cB(v,p,a,S)}var E=id(x,r,v);return v===E?e:cB(E,p,a,c)}var yO=aB([0,function(x,r){var e=r[2],t=x[2],u=mB(x[1],r[1]);return u===0?k(hB,t,e):u}]);function s6(x,r,e){var t=e[2][1],u=e[1];return Sr(t,H0)?r:y1[3].call(null,t,r)?(D0(x,[0,u,[0,t]]),r):y1[4].call(null,t,r)}function gO(x){return function(r){var e=r[2];switch(e[0]){case 0:var t=e[1][1];return u1(function(i,c){var v=c[0]===0?c[1][2][2]:c[1][2][1];return gO(i)(v)},x,t);case 1:var u=e[1][1];return u1(function(i,c){if(c[0]===2)return i;var v=c[1][2][1];return gO(i)(v)},x,u);case 2:return[0,e[1][1],x];default:return gx(Rl0)}}}var z0=Yq(Ll0,Fl0[1]);function fd(x,r,e){var t=x?x[1]:0,u=r?r[1]:0,i=fx(e),c=M(e);if(typeof c=="number")switch(c){case 103:var v=f0(e);return b0(e),[0,[0,i,[0,0,t0([0,v],0,R)]]];case 104:var a=f0(e);return b0(e),[0,[0,i,[0,1,t0([0,a],0,R)]]];case 126:if(t){var p=f0(e);return b0(e),[0,[0,i,[0,2,t0([0,p],0,R)]]]}break}else if(c[0]===4){var _=c[3];if(I(_,aa)){if(!I(_,Sg)&&u&&Hh(1,e)){var y=f0(e);return b0(e),[0,[0,i,[0,4,t0([0,y],0,R)]]]}}else if(u&&Hh(1,e)){var S=f0(e);b0(e);var E=M(e);x:{if(typeof E!="number"&&E[0]===4&&!I(E[3],Sg)){var j=fx(e);b0(e);var C=Zr(i,j),P=5;break x}var C=i,P=3}return[0,[0,C,[0,P,t0([0,S],0,R)]]]}}return 0}function IX(x,r,e,t,u){r===1&&Ot(u,76);var i=f0(u);b0(u);var c=xx(u);if(x)var v=t0([0,Fx(x[1],i)],[0,c],R),a=v,p=Bx(no0,t),_=-e;else var a=t0([0,i],[0,c],R),p=t,_=e;return[30,[0,_,p,a]]}function jX(x,r,e,t){var u=f0(t);b0(t);var i=xx(t);if(x)var c=t0([0,Fx(x[1],u)],[0,i],R),v=Bx(to0,e),a=c,p=v,_=eh(GP,r);else var a=t0([0,u],[0,i],R),p=e,_=r;return[31,[0,_,p,a]]}var Gr=function x(r){return x.fun(r)},o3=function x(r){return x.fun(r)},PX=function x(r){return x.fun(r)},NX=function x(r){return x.fun(r)},_O=function x(r,e,t){return x.fun(r,e,t)},cd=function x(r){return x.fun(r)},bO=function x(r,e,t,u){return x.fun(r,e,t,u)},wO=function x(r){return x.fun(r)},TO=function x(r,e,t,u){return x.fun(r,e,t,u)},EO=function x(r){return x.fun(r)},SO=function x(r,e){return x.fun(r,e)},sd=function x(r){return x.fun(r)},OX=function x(r){return x.fun(r)},ad=function x(r,e,t,u){return x.fun(r,e,t,u)},od=function x(r,e,t,u,i){return x.fun(r,e,t,u,i)},CX=function x(r){return x.fun(r)},DX=function x(r,e){return x.fun(r,e)},AO=function x(r){return x.fun(r)},RX=function x(r){return x.fun(r)},FX=function x(r){return x.fun(r)},LX=function x(r){return x.fun(r)},MX=function x(r){return x.fun(r)},vd=function x(r,e){return x.fun(r,e)},UX=function x(r){return x.fun(r)},qX=function x(r){return x.fun(r)},IO=function x(r){return x.fun(r)},a6=function x(r,e){return x.fun(r,e)},BX=function x(r){return x.fun(r)},Us=function x(r){return x.fun(r)},o6=function x(r){return x.fun(r)},XX=function x(r,e){return x.fun(r,e)},jO=function x(r){return x.fun(r)},JX=function x(r){return x.fun(r)},KX=function x(r){return x.fun(r)},YX=function x(r){return x.fun(r)},zX=function x(r){return x.fun(r)},v6=function x(r,e,t,u,i){return x.fun(r,e,t,u,i)},VX=function x(r){return x.fun(r)},PO=function x(r){return x.fun(r)},ld=function x(r){return x.fun(r)},NO=function x(r,e){return x.fun(r,e)},pd=function x(r,e,t,u){return x.fun(r,e,t,u)},OO=function x(r){return x.fun(r)},Aa=function x(r){return x.fun(r)},GX=function x(r){return x.fun(r)},Ia=function x(r){return x.fun(r)},kd=function x(r){return x.fun(r)},l6=function x(r){return x.fun(r)},CO=function x(r,e){return x.fun(r,e)},WX=function x(r,e){return x.fun(r,e)},$X=function x(r){return x.fun(r)},HX=function x(r){return x.fun(r)},md=function x(r){return x.fun(r)},QX=function x(r,e,t){return x.fun(r,e,t)};m0(Gr,function(x){return l(NX,x)}),m0(o3,function(x){return 1-g2(x)&&Kx(x,S1),r0(0,function(r){return W(r,86),l(Gr,r)},x)}),m0(PX,function(x){1-g2(x)&&Kx(x,S1);var r=fx(x);return W(x,86),nd(x)?[2,k(NO,x,r)]:[1,r0([0,r],Gr,x)]}),m0(NX,function(x){var r=fx(x),e=cO(0,x);return B0(_O,e,r,l(cd,e))}),m0(_O,function(x,r,e){var t=M(x);return typeof t=="number"&&t===41?r0([0,r],function(u){W(u,41);var i=l(cd,cO(1,u));xd(u,85);var c=l(Gr,u);xd(u,86);var v=l(Gr,u);return[17,[0,e,i,c,v,t0(0,[0,xx(u)],R)]]},x):e}),m0(cd,function(x){var r=fx(x);if(M(x)===89){var e=f0(x);b0(x);var t=e}else var t=0;return St(bO,x,[0,t],r,l(wO,x))}),m0(bO,function(x,r,e,t){var u=r?r[1]:0;if(M(x)!==89)return t;var i=[0,t,0];return r0([0,e],function(c){for(var v=i;;){if(!f2(c,89)){var a=vx(v);if(a){var p=a[2];if(p){var _=p[2],y=p[1],S=a[1];return[22,[0,[0,S,y,_],t0([0,u],0,R)]]}}throw U0([0,Ar,eo0],1)}var v=[0,l(wO,c),v]}},x)}),m0(wO,function(x){var r=fx(x);if(M(x)===91){var e=f0(x);b0(x);var t=e}else var t=0;return St(TO,x,[0,t],r,l(EO,x))}),m0(TO,function(x,r,e,t){var u=r?r[1]:0;if(M(x)!==91)return t;var i=[0,t,0];return r0([0,e],function(c){for(var v=i;;){if(!f2(c,91)){var a=vx(v);if(a){var p=a[2];if(p){var _=p[2],y=p[1],S=a[1];return[23,[0,[0,S,y,_],t0([0,u],0,R)]]}}throw U0([0,Ar,ro0],1)}var v=[0,l(EO,c),v]}},x)}),m0(EO,function(x){return k(SO,x,l(sd,x))}),m0(SO,function(x,r){var e=M(x);if(typeof e=="number"&&e===11&&!x[15]){var t=k(a6,x,r);return I1(v6,1,x,t[1],0,[0,t[1],[0,0,[0,t,0],0,0]])}return r}),m0(sd,function(x){var r=M(x);return typeof r=="number"&&r===85?r0(0,function(e){var t=f0(e);W(e,85);var u=t0([0,t],0,R);return[11,[0,l(sd,e),u]]},x):l(OX,x)}),m0(OX,function(x){var r=fx(x);return St(ad,0,x,r,l(FX,x))}),m0(ad,function(x,r,e,t){var u=x?x[1]:0;if(K1(r))return t;var i=M(r);if(typeof i=="number"){if(i===6)return b0(r),I1(od,u,0,r,e,t);if(i===10){var c=vr(1,r);return typeof c=="number"&&c===6?(Kx(r,Za0),W(r,10),W(r,6),I1(od,u,0,r,e,t)):(Kx(r,xo0),t)}if(i===83)return b0(r),M(r)!==6&&Kx(r,41),W(r,6),I1(od,1,1,r,e,t)}return t}),m0(od,function(x,r,e,t,u){return St(ad,[0,x],e,t,r0([0,t],function(i){if(!r&&f2(i,7))return[16,[0,u,t0(0,[0,xx(i)],R)]];var c=l(Gr,i);W(i,7);var v=[0,u,c,t0(0,[0,xx(i)],R)];return x?[21,[0,v,r]]:[20,v]},e))}),m0(CX,function(x){return k(DX,x,k(z0[13],0,x))}),m0(DX,function(x,r){for(var e=[0,r[1],[0,r]];;){var t=e[2],u=e[1];if(M(x)===10&&pX(1,x)){var i=r0([0,u],function(a){return function(p){return W(p,10),[0,a,g1(p)]}}(t),x),c=i[1],e=[0,c,[1,[0,c,i[2]]]];continue}return t}}),m0(AO,function(x){if(L2(x,0),M(x)===4){b0(x);var r=l(AO,x);W(x,5);var e=r}else var e=Jc(x)?[0,l(CX,x)]:(Kx(x,46),0);return J2(x),e}),m0(RX,function(x){return r0(0,function(r){var e=f0(r);W(r,46);var t=l(AO,r);if(!t)return Qa0;var u=t[1],i=K1(r)?0:l(kd,r);return[24,[0,u,i,t0([0,e],0,R)]]},x)}),m0(FX,function(x){var r=fx(x),e=M(x);x:{r:{if(typeof e=="number")switch(e){case 4:return l(YX,x);case 6:return l(qX,x);case 46:return l(RX,x);case 53:return r0(0,function($){var x0=f0($);b0($);var e0=l(OO,$),Z=e0[2],c0=e0[1];return[15,[0,Z,c0,t0([0,x0],0,R)]]},x);case 98:return l(zX,x);case 104:return r0(0,LX,x);case 106:var t=f0(x);return b0(x),[0,r,[10,t0([0,t],[0,xx(x)],R)]];case 125:return r0(0,function($){var x0=f0($);b0($);var e0=xx($),Z=l(Gr,$);return[25,[0,Z,t0([0,x0],[0,e0],R)]]},x);case 126:return r0(0,function($){var x0=f0($);b0($);var e0=xx($),Z=l(Gr,$);return[27,[0,Z,t0([0,x0],[0,e0],R)]]},x);case 127:return r0(0,function($){var x0=f0($);b0($);var e0=xx($),Z=r0(0,function(c0){var d0=l(Aa,c0);function n0(P0){if(1-f2(P0,41))throw U0(Yc,1);var h0=l(cd,P0);if(!P0[16]&&M(P0)===85)throw U0(Yc,1);return[1,[0,h0[1],h0]]}return[0,d0,rd(c0,[0,fx(c0)],n0),1,0,0]},$);return[18,[0,Z,t0([0,x0],[0,e0],R)]]},x);case 0:case 2:var u=St(pd,0,1,1,x);return[0,u[1],[14,u[2]]];case 131:case 132:break r;case 41:case 42:break;case 30:case 31:var i=f0(x);return b0(x),[0,r,[32,[0,e===31?1:0,t0([0,i],[0,xx(x)],R)]]];default:break x}else switch(e[0]){case 2:var c=e[1],v=c[3],a=c[2],p=c[1];c[4]&&Ot(x,76);var _=f0(x);return b0(x),[0,p,[29,[0,a,v,t0([0,_],[0,xx(x)],R)]]];case 4:var y=e[3];if(I(y,ta)){if(I(y,wo)){if(!I(y,dr))break r}else if(x[28][1]){var S=vr(1,x);e:if(typeof S=="number"){if(S!==4&&S!==98)break e;return l(VX,x)}var E=l(l6,x);return[0,E[1],[19,E[2]]]}}else if(x[28][1])return r0(0,function($){var x0=f0($);Kc($,Ga0);var e0=Y1($,l(Ia,$)),Z=l(jO,$);if(pO($))var n0=mO($,l(md,$)),P0=Z;else var c0=l(md,$),d0=I2($)[2],n0=c0,P0=k(d0,Z,function(h0,g0){return k(Wx(h0,420776873,12),h0,g0)});return[13,[0,e0,P0,n0,t0([0,x0],0,R)]]},x);break;case 7:if(I(e[1],M3))break x;return Kx(x,84),[0,r,Wa0];case 12:var j=e[3],C=e[2],P=e[1],O=0;return r0(0,function($){return IX(O,P,C,j,$)},x);case 13:var F=e[3],K=e[2],U=0;return r0(0,function($){return jX(U,K,F,$)},x);default:break x}var V=l(l6,x);return[0,V[1],[19,V[2]]]}return r0(0,function($){return[26,l(IO,$)]},x)}var Q=l(UX,x);return Q?[0,r,Q[1]]:(_2($a0,x),[0,r,Ha0])}),m0(LX,function(x){var r=f0(x);b0(x);var e=M(x);if(typeof e!="number")switch(e[0]){case 12:return IX([0,r],e[1],e[2],e[3],x);case 13:return jX([0,r],e[2],e[3],x)}return _2(za0,x),Va0}),m0(MX,function(x){x:{if(typeof x=="number")switch(x){case 29:case 114:case 115:case 116:case 117:case 118:case 119:case 120:case 121:case 122:case 123:case 124:break;default:break x}else if(x[0]!==11)break x;return 1}return 0}),m0(vd,function(x,r){var e=f0(x),t=r0(0,b0,x)[1],u=t0([0,e],[0,xx(x)],R);return[0,[19,[0,[0,rn(0,[0,t,r])],0,u]]]}),m0(UX,function(x){var r=f0(x),e=M(x);if(typeof e=="number")switch(e){case 29:return b0(x),[0,[4,t0([0,r],[0,xx(x)],R)]];case 114:return b0(x),[0,[0,t0([0,r],[0,xx(x)],R)]];case 115:return b0(x),[0,[1,t0([0,r],[0,xx(x)],R)]];case 116:return b0(x),[0,[2,t0([0,r],[0,xx(x)],R)]];case 117:return b0(x),[0,[5,t0([0,r],[0,xx(x)],R)]];case 118:return b0(x),[0,[6,t0([0,r],[0,xx(x)],R)]];case 119:return b0(x),[0,[7,t0([0,r],[0,xx(x)],R)]];case 120:return b0(x),[0,[3,t0([0,r],[0,xx(x)],R)]];case 121:return b0(x),[0,[9,t0([0,r],[0,xx(x)],R)]];case 122:return b0(x),[0,[33,t0([0,r],[0,xx(x)],R)]];case 123:return b0(x),[0,[34,t0([0,r],[0,xx(x)],R)]];case 124:return b0(x),[0,[35,t0([0,r],[0,xx(x)],R)]];case 128:return k(vd,x,Ja0);case 129:return k(vd,x,Ka0);case 130:return k(vd,x,Ya0)}else if(e[0]===11){var t=e[1];b0(x);var u=xx(x),i=t?-883944824:737456202;return[0,[8,i,t0([0,r],[0,u],R)]]}return 0}),m0(qX,function(x){return r0(0,function(r){var e=f0(r);W(r,6);for(var t=Bo(0,r),u=0;;){var i=M(t);x:{r:if(typeof i=="number"){if(i!==7&&Dr!==i)break r;var _=[0,vx(u),0];break x}var c=r0(0,function(E){if(!f2(E,12)){var j=M(E);r:{if(typeof j=="number"&&(Ze===j||_t===j&&Ms(1,E))){var C=fd(0,0,E);break r}var C=0}var P=Jc(E),O=vr(1,E);if(P&&typeof O=="number"&&1>=O+hs>>>0){var F=g1(E),K=f2(E,85);return W(E,86),[0,[1,[0,F,l(Gr,E),C,K]]]}var U=C?1:0;return U&&Kx(E,45),[0,[0,l(Gr,E)]]}var V=M(E);r:if(typeof V=="number"){if(10<=V){if(Dr!==V)break r}else{if(7>V)break r;switch(V-7|0){case 0:break;case 1:break r;default:return _2(Xa0,E),b0(E),0}}return 0}var Q=Jc(E),$=vr(1,E);r:{if(Q&&typeof $=="number"&&1>=$+hs>>>0){var x0=g1(E);M(E)===85&&(Kx(E,44),b0(E)),W(E,86);var e0=[0,x0];break r}var e0=0}return[0,[2,[0,e0,l(Gr,E)]]]},t),v=c[2],a=c[1];if(v){var p=[0,[0,a,v[1]],u];M(t)!==7&&W(t,9);var u=p;continue}var _=[0,vx(u),1]}var y=_[2],S=_[1];return W(r,7),[28,[0,S,y,t0([0,e],[0,xx(r)],R)]]}},x)}),m0(IO,function(x){var r=f0(x),e=M(x);x:{if(typeof e=="number")switch(e){case 131:var t=1;break x;case 132:var t=2;break x}else if(e[0]===4&&!I(e[3],dr)){var t=0;break x}var t=gx(Ba0)}var u=fx(x);b0(x);var i=xx(x),c=l(sd,x);return[0,u,c,t0([0,r],[0,i],R),t]}),m0(a6,function(x,r){return[0,r[1],[0,0,r,0]]}),m0(BX,function(x){return r0(0,function(r){L2(r,0);var e=k(z0[13],0,r);J2(r),1-g2(r)&&Kx(r,S1);var t=f2(r,85);return W(r,86),[0,[0,e],l(Gr,r),t]},x)});function ZX(x){var r=vr(1,x);return typeof r=="number"&&1>=r+hs>>>0?l(BX,x):k(a6,x,l(Gr,x))}function lw0(x,r,e){for(var t=r,u=e;;){var i=M(x);x:if(typeof i=="number")switch(i){case 5:case 12:case 113:var c=i===12?[0,r0(0,function(S){var E=f0(S);W(S,12);var j=t0([0,E],0,R);return[0,ZX(S),j]},x)]:0;return[0,t,vx(u),c,0]}else if(i[0]===4&&!I(i[3],uo)){if(vr(1,x)!==86&&vr(1,x)!==85)break x;var v=t!==0?1:0,a=v||(u!==0?1:0);a&&Kx(x,89);var p=r0(0,function(E){var j=f0(E);b0(E),M(E)===85&&Kx(E,88);var C=t0([0,j],0,R);return[0,l(o3,E),C]},x);M(x)!==5&&W(x,9);var t=[0,p];continue}var _=[0,ZX(x),u];M(x)!==5&&W(x,9);var u=_}}m0(Us,function(x){var r=0;return function(e){return lw0(x,r,e)}}),m0(o6,function(x){return r0(0,function(r){var e=f0(r);W(r,4);var t=k(Us,r,0),u=f0(r);W(r,5);var i=F2([0,e],[0,xx(r)],u,R);return[0,t[1],t[2],t[3],i]},x)}),m0(XX,function(x,r){for(var e=r;;){var t=M(x);x:if(typeof t=="number"){var u=t-5|0;if(7>>0){if(R7!==u)break x}else if(5>=u-1>>>0)break x;var i=t===12?[0,r0(0,function(a){var p=f0(a);W(a,12);var _=vr(1,a);r:{if(typeof _=="number"){if(_===85){L2(a,0);var y=k(z0[13],0,a);J2(a),W(a,85),W(a,86);var E=1,j=[0,y];break r}if(_===86){L2(a,0);var S=k(z0[13],0,a);J2(a),W(a,86);var E=0,j=[0,S];break r}}var E=0,j=0}var C=l(Gr,a);return[0,j,C,E,t0([0,p],0,R)]},x)]:0;return[0,vx(e),i,0]}var c=[0,r0(0,function(a){var p=M(a);x:{if(typeof p!="number"&&p[0]===2){var _=p[1],y=_[4],S=_[3],E=_[2],j=_[1];y&&Ot(a,76),W(a,[2,[0,j,E,S,y]]);var P=[1,[0,j,[0,E,S,t0(0,[0,xx(a)],R)]]];break x}L2(a,0);var C=k(z0[13],0,a);J2(a);var P=[0,C]}var O=f2(a,85);return[0,P,l(o3,a),O]},x),e];M(x)!==5&&W(x,9);var e=c}}),m0(jO,function(x){return r0(0,function(r){var e=f0(r);W(r,4);var t=k(XX,r,0),u=f0(r);W(r,5);var i=F2([0,e],[0,xx(r)],u,R);return[0,t[1],t[2],i]},x)}),m0(JX,function(x){var r=f0(x);W(x,4);var e=Bo(0,x),t=M(e);x:{r:{if(typeof t=="number")switch(t){case 5:var _=qa0;break x;case 131:var u=vr(1,e);e:{if(typeof u=="number"&&u===86){var i=[0,k(Us,e,0)];break e}var i=[1,l(Gr,e)]}var _=i;break x;case 42:break;case 12:case 113:var _=[0,k(Us,e,0)];break x;default:break r}else{if(t[0]!==4)break r;if(!I(t[3],dr)){var c=vr(1,e);e:{if(typeof c=="number"&&1>=c+hs>>>0){var v=[0,k(Us,e,0)];break e}var v=[1,l(Gr,e)]}var _=v;break x}}var _=l(KX,e);break x}if(l(MX,t)){var a=vr(1,e);r:{if(typeof a=="number"&&1>=a+hs>>>0){var p=[0,k(Us,e,0)];break r}var p=[1,l(Gr,e)]}var _=p}else var _=[1,l(Gr,e)]}if(_[0]===0)var y=_;else{var S=_[1];if(x[15])var E=_;else{var j=M(x);x:{if(typeof j=="number"){if(j===5){if(vr(1,x)===11){var C=[0,k(Us,x,[0,k(a6,x,S),0])];break x}var C=[1,S];break x}if(j===9){W(x,9);var C=[0,k(Us,x,[0,k(a6,x,S),0])];break x}}var C=_}var E=C}var y=E}var P=f0(x);W(x,5);var O=xx(x);if(y[0]===0)var F=y[1],K=F2([0,r],[0,O],P,R),U=[0,[0,F[1],F[2],F[3],K]];else var U=[1,B0(QX,y[1],r,O)];return U}),m0(KX,function(x){var r=vr(1,x);if(typeof r=="number"&&1>=r+hs>>>0)return[0,k(Us,x,0)];var e=fx(x),t=k(WX,x,l(Aa,x)),u=l(B0(ad,0,x,e),t),i=l(l(SO,x),u),c=l(k(l(TO,x),0,e),i),v=l(k(l(bO,x),0,e),c);return[1,l(k(_O,cO(0,x),e),v)]}),m0(YX,function(x){var r=fx(x),e=r0(0,JX,x),t=e[2],u=e[1];return t[0]===0?I1(v6,1,x,r,0,[0,u,t[1]]):t[1]}),m0(zX,function(x){var r=fx(x),e=Y1(x,l(Ia,x));return I1(v6,1,x,r,e,l(o6,x))}),m0(v6,function(x,r,e,t,u){return r0([0,e],function(i){return W(i,11),[12,[0,t,u,l(PO,i),0,x]]},r)}),m0(VX,function(x){var r=fx(x);b0(x);var e=Y1(x,l(Ia,x));return I1(v6,0,x,r,e,l(o6,x))}),m0(PO,function(x){return nd(x)?[1,l(ld,x)]:[0,l(Gr,x)]}),m0(ld,function(x){function r(e){var t=f0(e);W(e,y2);var u=Fx(t,f0(e));return[0,[0,l(Gr,e)],u]}return r0(0,function(e){var t=f0(e),u=f2(e,dl)?1:f2(e,kl)?2:0;L2(e,0);var i=g1(e);J2(e);x:if(u===2)var c=r(e),v=c[2],a=c[1];else{var p=M(e);if(typeof p=="number"&&y2===p){var _=r(e),v=_[2],a=_[1];break x}var v=0,a=0}return[0,u,[0,i,a],F2([0,t],0,v,R)]},x)}),m0(NO,function(x,r){return r0([0,r],ld,x)});function hd(x,r,e){return r0([0,r],function(t){var u=l(o6,t);return W(t,86),[0,e,u,l(PO,t),0,1]},x)}function xJ(x,r,e,t,u){var i=nn(x,t),c=hd(x,r,Y1(x,l(Ia,x))),v=[0,c[1],[12,c[2]]],a=[0,i,[0,v],0,e!==0?1:0,0,1,0,t0([0,u],0,R)];return[0,[0,v[1],a]]}function dd(x,r,e,t,u,i,c){var v=c[2],a=c[1];return 1-g2(x)&&Kx(x,S1),[0,r0([0,r],function(p){var _=f2(p,85),y=hX(p,86)?l(Gr,p):[0,a,Ua0];return[0,v,[0,y],_,t!==0?1:0,u!==0?1:0,0,e,t0([0,i],0,R)]},x)]}function p6(x,r){var e=M(r);if(typeof e=="number"&&10>e)switch(e){case 1:if(!x)return;break;case 3:if(x)return;break;case 8:case 9:return b0(r)}return tn(r,9)}function k6(x,r){if(r)return D0(x,[0,r[1][1],$f])}function m6(x,r){if(r)return D0(x,[0,r[1],94])}function pw0(x,r,e,t,u,i,c,v,a){for(var p=e,_=t,y=u,S=i,E=c,j=v;;){var C=M(x);if(typeof C=="number")switch(C){case 6:m6(x,E);var P=vr(1,x);if(typeof P=="number"&&P===6)return k6(x,y),[4,r0([0,a],function(B){var G0=Fx(j,f0(B));W(B,6),W(B,6);var W0=g1(B);W(B,7),W(B,7);var Y0=M(B);x:{r:if(typeof Y0=="number"){if(Y0!==4&&Y0!==98)break r;var V0=hd(B,a,Y1(B,l(Ia,B))),S0=0,q0=[0,V0[1],[12,V0[2]]],yx=1,cx=0;break x}var ex=f2(B,85),Q0=xx(B);W(B,86);var S0=Q0,q0=l(Gr,B),yx=0,cx=ex}return[0,W0,q0,cx,S!==0?1:0,yx,t0([0,G0],[0,S0],R)]},x)];var O=Fx(j,f0(x));W(x,6);var F=vr(1,x);return typeof F!="number"&&F[0]===4&&!I(F[3],aa)&&S===0?[5,r0([0,a],function(B){var G0=l(Aa,B),W0=G0[1];b0(B);var Y0=l(Gr,B);W(B,7);var V0=M(B);x:{r:{var ex=[0,G0,[0,W0],0,0,0];if(typeof V0=="number"){var Q0=V0+MA|0;if(1>>0){if(Q0!==-18)break r;b0(B);var S0=2}else var S0=Q0?(b0(B),W(B,85),1):(b0(B),W(B,85),0);var q0=S0;break x}}var q0=3}W(B,86);var yx=l(Gr,B);return[0,[0,W0,ex],yx,Y0,y,q0,t0([0,O],[0,xx(B)],R)]},x)]:[2,r0([0,a],function(B){if(vr(1,B)===86){var G0=g1(B);W(B,86);var W0=[0,G0]}else var W0=0;var Y0=l(Gr,B);W(B,7);var V0=xx(B);W(B,86);var ex=l(Gr,B);return[0,W0,Y0,ex,S!==0?1:0,y,t0([0,O],[0,V0],R)]},x)];case 42:if(p){if(y!==0)throw U0([0,Ar,Oa0],1);var K=[0,fx(x)],U=Fx(j,f0(x));b0(x);var p=0,_=0,S=K,j=U;continue}break;case 126:if(y===0){if(!Ms(1,x)&&vr(1,x)!==6)break;var p=0,_=0,y=fd(Ca0,0,x);continue}break;case 103:case 104:if(y===0){var p=0,_=0,y=fd(0,0,x);continue}break;case 4:case 98:return m6(x,E),k6(x,y),[3,r0([0,a],function(B){var G0=fx(B),W0=hd(B,G0,Y1(B,l(Ia,B)));return[0,W0,S!==0?1:0,t0([0,j],0,R)]},x)]}else if(C[0]===4&&!I(C[3],Fj)&&_){if(y!==0)throw U0([0,Ar,Da0],1);var V=[0,fx(x)],Q=Fx(j,f0(x));b0(x);var p=0,_=0,E=V,j=Q;continue}if(S){var $=S[1];if(E)return gx(Ra0);if(typeof C=="number"&&1>=C+hs>>>0)return dd(x,a,y,0,E,0,[0,$,[3,rn(t0([0,j],0,R),[0,$,Fa0])]])}else if(E){var x0=E[1];if(typeof C=="number"&&1>=C+hs>>>0)return dd(x,a,y,S,0,0,[0,x0,[3,rn(t0([0,j],0,R),[0,x0,La0])]])}var e0=function(B){L2(B,0);var G0=k(z0[20],0,B);return J2(B),G0},Z=f0(x),c0=e0(x),d0=c0[1],n0=c0[2];x:if(n0[0]===3){var P0=n0[1][2][1];if(I(P0,bo)&&I(P0,Dv))break x;var h0=M(x);if(typeof h0=="number"){var g0=h0-5|0;if(92>>0){if(94>=g0+1>>>0)return m6(x,E),k6(x,y),xJ(x,a,S,n0,j)}else if(1>=g0+QR>>>0)return dd(x,a,y,S,E,j,[0,d0,n0])}nn(x,n0);var v0=e0(x),p0=Sr(P0,bo),w0=Fx(j,Z);return m6(x,E),k6(x,y),[0,r0([0,a],function(B){var G0=v0[1],W0=nn(B,v0[2]),Y0=hd(B,a,0),V0=Y0[2][2];r:if(p0){var ex=V0[2];e:{if(!ex[1]){if(!ex[2]&&!ex[3])break e;D0(B,[0,G0,23]);break r}D0(B,[0,G0,24])}}else{var Q0=V0[2];if(Q0[1])D0(B,[0,G0,66]);else{var S0=Q0[2];e:{if(!Q0[3]){if(S0&&!S0[2])break e;D0(B,[0,G0,65]);break r}D0(B,[0,G0,65])}}}var q0=t0([0,w0],0,R),yx=0,cx=0,Dx=0,Ix=S!==0?1:0,Xx=0,Z0=p0?[1,Y0]:[2,Y0];return[0,W0,Z0,Xx,Ix,Dx,cx,yx,q0]},x)]}var T0=c0[2],E0=M(x);x:if(typeof E0=="number"){if(E0!==4&&E0!==98)break x;return m6(x,E),k6(x,y),xJ(x,a,S,T0,j)}var N0=S!==0?1:0;x:if(T0[0]===3){var X0=T0[1],A0=X0[2][1];r:{var rx=X0[1];if(r){if(!Sr(ho,A0)&&(!N0||!Sr(sa,A0)))break r;D0(x,[0,rx,[15,A0,N0,0,0]]);break x}}}return dd(x,a,y,S,E,j,[0,d0,T0])}}m0(pd,function(x,r,e,t){var u=r&&(M(t)===2?1:0),i=r&&1-u;return r0(0,function(c){var v=f0(c),a=u?2:0;W(c,a);var p=Bo(0,c);x:{r:{e:{t:{n:{var _=Ma0;u:for(;;){var y=_[3],S=_[2],E=_[1];if(x&&e)throw U0([0,Ar,Pa0],1);if(i&&!e)throw U0([0,Ar,Na0],1);var j=fx(p),C=M(p);if(typeof C=="number"){if(13<=C){if(Dr===C)break r}else if(C)switch(C-1|0){case 0:if(!u)break e;break;case 2:if(u)break t;break;case 11:if(!e){b0(p);var P=M(p);if(typeof P=="number"&&10>P)switch(P){case 1:case 3:case 8:case 9:D0(p,[0,j,32]),p6(u,p);continue}var O=vO(p);aO(p)(O),D0(p,[0,j,97]),b0(p),p6(u,p);continue}var F=f0(p);b0(p);var K=M(p);if(typeof K=="number"&&10>K)switch(K){case 1:case 3:case 8:case 9:p6(u,p);var U=M(p);if(typeof U=="number"){var V=U-1|0;if(2>=V>>>0)switch(V){case 0:if(i)break n;break;case 1:break;default:break u}}D0(p,[0,j,92]);continue}var Q=[1,r0([0,j],function(T0){return function(E0){var N0=t0([0,T0],0,R);return[0,l(Gr,E0),N0]}}(F),p)];p6(u,p);var _=[0,[0,Q,E],S,y];continue}}var $=pw0(p,x,x,x,0,0,0,0,j);p6(u,p);var _=[0,[0,$,E],S,y]}D0(p,[0,j,31]);var x0=[0,vx(E),S,y];break x}var x0=[0,vx(E),1,F];break x}var x0=[0,vx(E),S,y];break x}var x0=[0,vx(E),S,y];break x}var x0=[0,vx(E),S,y]}var e0=x0[3],Z=x0[2],c0=x0[1],d0=Fx(e0,f0(c)),n0=u?3:1;return W(c,n0),[0,u,Z,c0,F2([0,v],[0,xx(c)],d0,R)]},t)}),m0(OO,function(x){if(f2(x,41))for(var r=0;;){var e=[0,l(l6,x),r],t=M(x);if(typeof t=="number"&&t===9){W(x,9);var r=e;continue}var u=_X(x,vx(e));break}else var u=0;return[0,u,St(pd,0,0,0,x)]}),m0(Aa,function(x){var r=g1(x),e=r[2],t=e[1],u=r[1],i=e[2];return oO(t)&&D0(x,[0,u,96]),[0,u,[0,t,i]]}),m0(GX,function(x){return r0(0,function(r){var e=l(Aa,r),t=M(r);x:{if(typeof t=="number"){if(t===41){var u=1,i=u,c=[1,r0(0,function(p){return b0(p),l(Gr,p)},r)];break x}if(t===86){var i=0,c=[1,l(o3,r)];break x}}var i=0,c=[0,Ls(r)]}return[0,e,c,i]},x)});function rJ(x,r){var e=oX(x,r);if(e)var t=e;else{x:{if(typeof r=="number"&&1>=r+MA>>>0){var u=1;break x}var u=0}if(!u){x:{if(typeof r=="number")switch(r){case 15:case 29:case 30:case 31:case 41:case 42:case 46:case 53:case 114:case 115:case 116:case 117:case 118:case 119:case 120:case 121:case 122:case 123:case 124:case 125:case 126:break;default:break x}else switch(r[0]){case 4:if(oO(r[3]))return 1;break x;case 11:break;default:break x}return 1}return 0}var t=u}return t}m0(Ia,function(x){if(M(x)!==98)return 0;1-g2(x)&&Kx(x,S1);var r=r0(0,function(t){var u=f0(t);W(t,98);for(var i=0,c=0;;){if(rJ(t,M(t)))var v=hO(0,function(O){return function(F){var K=fd(0,ja0,F),U=l(GX,F),V=U[2],Q=V[3],$=V[2],x0=V[1],e0=U[1],Z=M(F);x:{if(typeof Z=="number"&&Z===82){b0(F);var c0=1,d0=[0,l(Gr,F)];break x}O&&D0(F,[0,e0,52]);var c0=O,d0=0}return[0,[0,x0,$,Q,K,d0],c0]}}(i),t),a=v[2],p=[0,v[1],c];else var a=i,p=c;var _=M(t);x:{if(typeof _=="number"){var y=_+wM|0;if(14>>0){if(y===-90){b0(t);var i=a,c=p;continue}}else if(12>>0){var C=vx(p);break x}}r:{e:{t:{if(typeof _!="number"){if(_[0]!==4)break e;var S=_[3];if(!$h(S)){n:{if(I(S,_o)&&I(S,M1)){var E=0;break n}var E=1}if(!E){if(I(S,sl)){if(!I(S,lo))break t;if(I(S,qu))break e;break t}if(!t[28][2])break e;var j=1;break r}}var j=1;break r}switch(_){case 4:case 82:break;default:break e}}var j=1;break r}var j=0}if(!j){if(rJ(t,_)){tn(t,9);var i=a,c=p;continue}W(t,9);var i=a,c=p;continue}tn(t,99);var C=vx(p)}var P=f0(t);return xd(t,99),[0,C,F2([0,u],[0,xx(t)],P,R)]}},x),e=r[1];return r[2][1]||D0(x,[0,e,51]),[0,r]}),m0(kd,function(x){return M(x)===98?[0,r0(0,function(r){var e=f0(r);W(r,98);for(var t=Bo(0,r),u=0;;){var i=M(t);x:if(typeof i=="number"){if(i!==99&&Dr!==i)break x;var c=vx(u),v=f0(t);return W(t,99),[0,c,F2([0,e],[0,xx(t)],v,R)]}var a=[0,l(Gr,t),u];M(t)!==99&&W(t,9);var u=a}},x)]:0}),m0(l6,function(x){return k(CO,x,l(Aa,x))}),m0(CO,function(x,r){function e(t){for(var u=[0,r[1],[0,r]];;){var i=u[2],c=u[1];if(M(t)===10&&Hh(1,t)){var v=r0([0,c],function(S){return function(E){return W(E,10),[0,S,l(Aa,E)]}}(i),t),a=v[1],u=[0,a,[1,[0,a,v[2]]]];continue}if(M(t)===98)var p=I2(t)[2],_=k(p,i,function(y,S){return k(Wx(y,-860373976,61),y,S)});else var _=i;return[0,_,l(kd,t),0]}}return r0([0,r[1]],e,x)}),m0(WX,function(x,r){var e=k(CO,x,r);return[0,e[1],[19,e[2]]]}),m0($X,function(x){var r=M(x);return typeof r=="number"&&r===86?l(PX,x):[0,Ls(x)]}),m0(HX,function(x){var r=M(x);return typeof r=="number"&&r===86?[1,l(o3,x)]:[0,Ls(x)]}),m0(md,function(x){var r=M(x);x:{if(typeof r=="number")switch(r){case 86:var e=fx(x);1-g2(x)&&Kx(x,S1),Kx(x,34),b0(x);var t=r0(0,Gr,x);return[1,t[1],[0,e,t[2],0,0]];case 131:case 132:break;default:break x}else if(r[0]!==4||I(r[3],dr))break x;1-g2(x)&&Kx(x,S1);var u=r0([0,fx(x)],IO,x);return[1,u[1],u[2]]}return[0,Ls(x)]}),m0(QX,function(x,r,e){var t=x[2],u=x[1];function i(rr){return N1(rr,t0([0,r],[0,e],R))}switch(t[0]){case 0:var Z0=[0,i(t[1])];break;case 1:var Z0=[1,i(t[1])];break;case 2:var Z0=[2,i(t[1])];break;case 3:var Z0=[3,i(t[1])];break;case 4:var Z0=[4,i(t[1])];break;case 5:var Z0=[5,i(t[1])];break;case 6:var Z0=[6,i(t[1])];break;case 7:var Z0=[7,i(t[1])];break;case 8:var c=i(t[2]),Z0=[8,t[1],c];break;case 9:var Z0=[9,i(t[1])];break;case 10:var Z0=[10,i(t[1])];break;case 11:var v=t[1],a=i(v[2]),Z0=[11,[0,v[1],a]];break;case 12:var p=t[1],_=p[5],y=i(p[4]),Z0=[12,[0,p[1],p[2],p[3],y,_]];break;case 13:var S=t[1],E=i(S[4]),Z0=[13,[0,S[1],S[2],S[3],E]];break;case 14:var j=t[1],C=j[4],P=zN(C,t0([0,r],[0,e],R)),Z0=[14,[0,j[1],j[2],j[3],P]];break;case 15:var O=t[1],F=i(O[3]),Z0=[15,[0,O[1],O[2],F]];break;case 16:var K=t[1],U=i(K[2]),Z0=[16,[0,K[1],U]];break;case 17:var V=t[1],Q=i(V[5]),Z0=[17,[0,V[1],V[2],V[3],V[4],Q]];break;case 18:var $=t[1],x0=i($[2]),Z0=[18,[0,$[1],x0]];break;case 19:var e0=t[1],Z=i(e0[3]),Z0=[19,[0,e0[1],e0[2],Z]];break;case 20:var c0=t[1],d0=i(c0[3]),Z0=[20,[0,c0[1],c0[2],d0]];break;case 21:var n0=t[1],P0=n0[1],h0=n0[2],g0=i(P0[3]),Z0=[21,[0,[0,P0[1],P0[2],g0],h0]];break;case 22:var v0=t[1],p0=i(v0[2]),Z0=[22,[0,v0[1],p0]];break;case 23:var w0=t[1],T0=i(w0[2]),Z0=[23,[0,w0[1],T0]];break;case 24:var E0=t[1],N0=i(E0[3]),Z0=[24,[0,E0[1],E0[2],N0]];break;case 25:var X0=t[1],A0=i(X0[2]),Z0=[25,[0,X0[1],A0]];break;case 26:var rx=t[1],B=rx[4],G0=i(rx[3]),Z0=[26,[0,rx[1],rx[2],G0,B]];break;case 27:var W0=t[1],Y0=i(W0[2]),Z0=[27,[0,W0[1],Y0]];break;case 28:var V0=t[1],ex=i(V0[3]),Z0=[28,[0,V0[1],V0[2],ex]];break;case 29:var Q0=t[1],S0=i(Q0[3]),Z0=[29,[0,Q0[1],Q0[2],S0]];break;case 30:var q0=t[1],yx=i(q0[3]),Z0=[30,[0,q0[1],q0[2],yx]];break;case 31:var cx=t[1],Dx=i(cx[3]),Z0=[31,[0,cx[1],cx[2],Dx]];break;case 32:var Ix=t[1],Xx=i(Ix[2]),Z0=[32,[0,Ix[1],Xx]];break;case 33:var Z0=[33,i(t[1])];break;case 34:var Z0=[34,i(t[1])];break;default:var Z0=[35,i(t[1])]}return[0,u,Z0]});function eJ(x,r){if(M(x)!==4)return[0,0,t0([0,r],[0,xx(x)],R)];var e=Fx(r,f0(x));W(x,4),L2(x,0);var t=l(z0[9],x);return J2(x),W(x,5),[0,[0,t],t0([0,e],[0,xx(x)],R)]}function kw0(x){var r=f0(x);return W(x,66),eJ(x,r)}var mw0=0;function tJ(x){var r=Bo(0,x),e=M(r);return typeof e=="number"&&e===66?[0,r0(mw0,kw0,r)]:0}function hw0(x){var r=M(x);if(typeof r=="number"&&r===86){1-g2(x)&&Kx(x,S1);var e=Ls(x),t=fx(x);W(x,86);var u=M(x);if(typeof u=="number"&&u===66){var i=Bo(0,x);return[0,[0,e],[0,r0([0,t],function(a){var p=f0(a);return W(a,66),eJ(a,p)},i)]]}if(nd(x))return[0,[2,k(NO,x,t)],0];var c=[1,r0([0,t],Gr,x)],v=M(x)===66?s3(x,c):c;return[0,v,tJ(x)]}return[0,[0,Ls(x)],0]}function ve(x,r){var e=Fs(1,r);L2(e,1);var t=l(x,e);return J2(e),t}function qs(x){return ve(Gr,x)}function zc(x){return ve(Aa,x)}function De(x){return ve(Ia,x)}function nJ(x){return ve(kd,x)}function Yo(x){return ve(o3,x)}function DO(x){return ve(HX,x)}function RO(x){return ve($X,x)}function FO(x){return ve(hw0,x)}function uJ(x){return ve(l6,x)}function LO(x){return ve(md,x)}var dw0=AX(z0);function ja(x,r){var e=r[2],t=r[1],u=x[1];switch(e[0]){case 0:return u1(yw0,x,e[1][1]);case 1:return u1(gw0,x,e[1][1]);case 2:var i=e[1][1],c=i[2][1],v=x[2],a=x[1],p=i[1];y1[3].call(null,c,v)&&D0(a,[0,p,77]);var _=i[2][1],y=i[1];return Xo(_)&&ct(a,[0,y,78]),i3(_)&&ct(a,[0,y,80]),[0,a,y1[4].call(null,c,v)];default:return D0(u,[0,t,20]),x}}function yw0(x){return function(r){return r[0]===0?ja(x,r[1][2][2]):ja(x,r[1][2][1])}}function gw0(x){return function(r){switch(r[0]){case 0:return ja(x,r[1][2][1]);case 1:return ja(x,r[1][2][1]);default:return x}}}function iJ(x,r){var e=r[2],t=e[3],u=e[2],i=[0,x,y1[1]],c=u1(function(v,a){return ja(v,a[2][1])},i,u);t&&ja(c,t[1][2][1])}function fJ(x,r,e,t){var u=x[5],i=t[0]===0?Ko(t[1]):0,c=Fs(u?0:r,x),v=r||u||1-i;if(!v)return v;if(e){var a=e[1],p=a[2][1],_=a[1];Xo(p)&&ct(c,[0,_,70]),i3(p)&&ct(c,[0,_,80])}if(t[0]===0)return iJ(c,t[1]);var y=t[1][2],S=y[2],E=y[1],j=[0,Yv,[0,[0,xn(function(P){var O=P[2],F=O[1],K=O[4],U=O[3],V=O[2],Q=F[0]===0?[3,F[1]]:[0,[0,Yv,F[1][2]]];return[0,[0,Yv,[0,Q,V,U,K]]]},E),[0,Yv],0]]],C=ja([0,c,y1[1]],j);S&&ja(C,S[1][2][1])}function v3(x,r,e,t){return fJ(x,r,e,[0,t])}function cJ(x,r){if(r!==12)return 0;var e=f0(x),t=r0(0,function(c){return W(c,12),k(z0[18],c,78)},x),u=t[2],i=t[1];return[0,[0,i,u,t0([0,e],0,R)]]}var MO=function x(r,e){return x.fun(r,e)};function _w0(x){M(x)===21&&Kx(x,89);var r=k(z0[18],x,78),e=M(x)===82?(W(x,82),[0,l(z0[10],x)]):0;return[0,r,e]}var bw0=0;m0(MO,function(x,r){var e=M(x);x:if(typeof e=="number"){var t=e-5|0;if(7>>0){if(R7!==t)break x}else if(5>=t-1>>>0)break x;var u=cJ(x,e),i=eh(function(v){return[0,v[1],[0,v[2],v[3]]]},u);return M(x)!==5&&Kx(x,61),[0,vx(r),i]}var c=r0(bw0,_w0,x);return M(x)!==5&&W(x,9),k(MO,x,[0,c,r])});function l3(x,r){function e(u){var i=nX(1,uO(r,iO(x,u))),c=f0(i);W(i,4);x:{if(g2(i)&&M(i)===21){var v=f0(i),a=r0(0,function(F){return W(F,21),M(F)===86?[0,Yo(F)]:(Kx(F,85),0)},i),p=a[2],_=a[1];if(!p){var S=0;break x}var y=p[1];M(i)===9&&b0(i);var S=[0,[0,_,[0,y,t0([0,v],0,R)]]];break x}var S=0}var E=k(MO,i,0),j=E[2],C=E[1],P=f0(i);return W(i,5),[0,S,C,j,F2([0,c],[0,xx(i)],P,R)]}var t=0;return function(u){return r0(t,e,u)}}function sJ(x,r,e,t,u){var i=aX(x,r,e,u);return k(z0[16],t,i)}function h6(x,r,e,t,u){var i=sJ(x,r,e,t,u);return[0,[0,i[1]],i[2]]}function ww0(x,r,e,t){var u=fx(x),i=M(x);x:{if(typeof i=="number")switch(i){case 103:var c=f0(x);b0(x);var p=[0,[0,u,[0,0,t0([0,c],0,R)]]];break x;case 104:var v=f0(x);b0(x);var p=[0,[0,u,[0,1,t0([0,v],0,R)]]];break x}else if(i[0]===4&&!I(i[3],ko)&&r){var a=f0(x);b0(x);var p=[0,[0,u,[0,2,t0([0,a],0,R)]]];break x}var p=0}x:if(p){var _=p[1][1];if(!e&&!t)break x;return D0(x,[0,_,$f]),0}return p}function zo(x){if(z2!==M(x))return Pv0;var r=f0(x);return b0(x),[0,1,r]}function yd(x){if(M(x)===64&&!t6(1,x)){var r=f0(x);return b0(x),[0,1,r]}return jv0}function Tw0(x){var r=yd(x),e=r[1],t=r[2],u=r0(0,function(O){var F=f0(O),K=M(O);x:{if(typeof K=="number"){if(K===15){b0(O);var U=zo(O),Q=U[2],$=U[1],x0=1;break x}}else if(K[0]===4&&!I(K[3],wo)&&!e){b0(O);var Q=0,$=0,x0=0;break x}tn(O,K);var V=zo(O),Q=V[2],$=V[1],x0=1}var e0=Rl([0,t,[0,F,[0,Q,0]]]),Z=O[7],c0=M(O);x:{if(Z&&typeof c0=="number"){if(c0===4){var h0=0,g0=0;break x}if(c0===98){var d0=Y1(O,De(O)),n0=M(O)===4?0:[0,Ct(O,k(z0[13],Ev0,O))],h0=n0,g0=d0;break x}}var P0=Jc(O)?Ct(O,k(z0[13],Sv0,O)):(mX(O,Av0),[0,fx(O),Iv0]),h0=[0,P0],g0=Y1(O,De(O))}var v0=l3(e,$)(O),p0=M(O)===86?v0:f6(O,v0),w0=FO(O),T0=w0[2],E0=w0[1];if(T0)var N0=gX(O,T0),X0=E0;else var N0=T0,X0=s3(O,E0);return[0,$,x0,g0,h0,p0,X0,N0,e0]},x),i=u[2],c=i[5],v=i[4],a=i[1],p=i[8],_=i[7],y=i[6],S=i[3],E=i[2],j=u[1],C=h6(x,e,a,0,Ko(c)),P=C[1];return v3(x,C[2],v,c),[27,[0,v,c,P,e,a,E,_,y,S,t0([0,p],0,R),j]]}var Ew0=0;function d6(x){return r0(Ew0,Tw0,x)}function UO(x,r){var e=f0(r);W(r,x);var t=r[28][2];if(t)var u=x===27?1:0,i=u&&(M(r)===48?1:0);else var i=t;i&&Kx(r,19);for(var c=0,v=0;;){var a=r0(0,function(P){var O=k(z0[18],P,81);if(f2(P,82))var F=0,K=[0,l(z0[10],P)];else{var U=O[1];if(O[2][0]===2)var F=0,K=0;else var F=[0,[0,U,58]],K=0}return[0,[0,O,K],F]},r),p=a[2],_=p[2],y=[0,[0,a[1],p[1]],c],S=_?[0,_[1],v]:v;if(!f2(r,9)){var E=vx(S);return[0,vx(y),e,E]}var c=y,v=S}}var Sw0=24;function aJ(x){return UO(Sw0,x)}function oJ(x){var r=UO(27,fO(1,x)),e=r[1],t=r[3],u=r[2];return[0,e,u,vx(u1(function(i,c){return c[2][2]?i:[0,[0,c[1],57],i]},t,e))]}function vJ(x){return UO(28,fO(1,x))}function lJ(x){function r(t){return[20,dw0[1].call(null,x,t)]}var e=0;return function(t){return r0(e,r,t)}}var qO=function x(r,e){return x.fun(r,e)};function Aw0(x){var r=f0(x),e=M(x),t=vr(1,x);x:{r:if(typeof e!="number"&&e[0]===2){var u=e[1],i=u[4],c=u[3],v=u[2],a=u[1];e:{if(typeof t=="number")switch(t){case 85:case 86:break;default:break e}else{if(t[0]!==4)break e;if(I(t[3],Jt))break r}i&&Ot(x,76),W(x,[2,[0,a,v,c,i]]);var p=[1,[0,a,[0,v,c,t0([0,r],[0,xx(x)],R)]]];if(typeof t=="number"&&1>=t+hs>>>0){var _=t===85?1:0;Kx(x,[16,_,v]),_&&b0(x);var y=fx(x),C=0,P=[0,y,[2,[0,[0,y,wv0],DO(x),_]]],O=p;break x}b0(x);var C=0,P=k(z0[18],x,78),O=p;break x}}if(typeof t!="number"&&t[0]===4&&!I(t[3],Jt)){var S=[0,g1(x)];Kc(x,Tv0);var C=0,P=k(z0[18],x,78),O=S;break x}var E=B0(z0[14],x,0,78),j=E[2],C=1,P=[0,E[1],[2,j]],O=[0,j[1]]}var F=M(x)===82?(W(x,82),[0,l(z0[10],x)]):0;return[0,O,P,F,C]}var Iw0=0;m0(qO,function(x,r){var e=M(x);x:if(typeof e=="number"){var t=e-5|0;if(7>>0){if(R7!==t)break x}else if(5>=t-1>>>0)break x;var u=cJ(x,e),i=eh(function(v){return[0,v[1],[0,v[2],v[3]]]},u);return M(x)!==5&&Kx(x,61),[0,vx(r),i]}var c=r0(Iw0,Aw0,x);return M(x)!==5&&W(x,9),k(qO,x,[0,c,r])});function jw0(x){var r=nX(1,x),e=f0(r);W(r,4);var t=k(qO,r,0),u=t[2],i=t[1],c=f0(r);return W(r,5),[0,i,u,F2([0,e],[0,xx(r)],c,R)]}var Pw0=0;function Nw0(x){var r=r0(0,function(y){var S=f0(y);Kc(y,_v0);var E=Ct(y,k(z0[13],bv0,y)),j=Y1(y,De(y)),C=r0(Pw0,jw0,y);if(pO(y))var O=C;else var P=I2(y)[2],O=k(P,C,function(F,K){return k(Wx(F,842685896,11),F,K)});return[0,j,E,O,mO(y,LO(y)),S]},x),e=r[2],t=e[3],u=e[2],i=e[5],c=e[4],v=e[1],a=r[1],p=sJ(x,0,0,0,0),_=p[1];return fJ(x,p[2],[0,u],[1,t]),[3,[0,u,v,t,c,_,t0([0,i],0,R),a]]}var Ow0=0;function BO(x){return r0(Ow0,Nw0,x)}function f1(x,r){if(r[0]===0)return r[1];var e=r[2][1],t=r[1];return p1(function(u){return D0(x,u)},e),t}function XO(x,r,e){var t=x?x[1]:37;if(e[0]===0)var u=e[1];else{var i=e[2][2],c=e[1];p1(function(_){return D0(r,_)},i);var u=c}1-l(z0[23],u)&&D0(r,[0,u[1],t]);var v=u[2];x:if(v[0]===10){var a=u[1];if(Xo(v[1][2][1])){ct(r,[0,a,71]);break x}}return k(z0[19],r,u)}function JO(x,r){var e=zv(x[2],r[2]);return[0,zv(x[1],r[1]),e]}function pJ(x){var r=vx(x[2]);return[0,vx(x[1]),r]}function kJ(x,r){var e=x[0]===0?x[1]:x[1]-1|0,t=(r[0]===0,r[1]);return t<=e?1:0}var p3=function x(r){return x.fun(r)},Dt=function x(r){return x.fun(r)},mJ=function x(r){return x.fun(r)},KO=function x(r){return x.fun(r)},hJ=function x(r){return x.fun(r)},YO=function x(r){return x.fun(r)},dJ=function x(r){return x.fun(r)},yJ=function x(r){return x.fun(r)},y6=function x(r){return x.fun(r)},zO=function x(r){return x.fun(r)},VO=function x(r){return x.fun(r)},GO=function x(r){return x.fun(r)},gJ=function x(r){return x.fun(r)},WO=function x(r){return x.fun(r)},gd=function x(r){return x.fun(r)},$O=function x(r){return x.fun(r)},_J=function x(r){return x.fun(r)},Vo=function x(r,e,t,u,i){return x.fun(r,e,t,u,i)},HO=function x(r,e,t,u){return x.fun(r,e,t,u)},QO=function x(r){return x.fun(r)},_d=function x(r){return x.fun(r)},ZO=function x(r){return x.fun(r)},xC=function x(r,e,t,u,i){return x.fun(r,e,t,u,i)},bJ=function x(r,e,t,u){return x.fun(r,e,t,u)},rC=function x(r){return x.fun(r)},bd=function x(r,e,t){return x.fun(r,e,t)},wJ=function x(r){return x.fun(r)},wd=function x(r,e,t){return x.fun(r,e,t)},eC=function x(r){return x.fun(r)},TJ=function x(r){return x.fun(r)},tC=function x(r,e){return x.fun(r,e)},nC=function x(r,e,t,u){return x.fun(r,e,t,u)},EJ=function x(r){return x.fun(r)},uC=function x(r,e,t){return x.fun(r,e,t)},SJ=function x(r){return x.fun(r)},AJ=function x(r){return x.fun(r)},iC=function x(r){return x.fun(r)},Td=function x(r,e,t){return x.fun(r,e,t)};function Cw0(x){var r=x[2];switch(r[0]){case 23:var e=r[1],t=e[1][2][1];if(I(t,R1)){if(!I(t,no)&&!I(e[2][2][1],Fw))return 0}else if(!I(e[2][2][1],ml))return 0;break;case 0:case 10:case 22:case 25:break;default:return 0}return 1}function fC(x){var r=fx(x),e=l(YO,x),t=l(hJ,x);if(!t)return e;var u=t[1];return[0,r0([0,r],function(i){var c=XO(0,i,e);return[4,[0,u,c,l(Dt,i),0]]},x)]}function Dw0(x,r){if(typeof r=="number"&&r===80)return 0;throw U0(Yc,1)}function IJ(x){var r=Wh(Dw0,x),e=fC(r),t=M(r);if(typeof t=="number"){if(t===11)throw U0(Yc,1);if(t===86){var u=cX(r);x:{if(u){var i=u[1];if(typeof i=="number"&&i===5){var c=1;break x}}var c=0}if(c)throw U0(Yc,1)}}if(!Jc(r))return e;if(e[0]===0){var v=e[1][2];if(v[0]===10&&!I(v[1][2][1],oa)&&!K1(r))throw U0(Yc,1)}return e}m0(p3,function(x){var r=Jc(x);if(r){var e=M(x);x:{if(typeof e=="number"){if(e===58){if(x[18]){var t=0;break x}}else if(e===65&&x[19]){var t=0;break x}}var t=1}var u=t}else var u=r;var i=M(x);x:{r:if(typeof i=="number"){if(22<=i){if(i===58){if(x[18])return[0,l(mJ,x)];break r}if(i!==98)break r}else if(i!==4&&21>i)break r;break x}if(!u)return fC(x)}x:{if(i===64&&g2(x)&&vr(1,x)===98){var c=IJ,v=iC;break x}var c=iC,v=IJ}var a=kO(x,v);if(a)return a[1];var p=kO(x,c);return p?p[1]:fC(x)}),m0(Dt,function(x){return f1(x,l(p3,x))}),m0(mJ,function(x){return r0(0,function(r){r[10]&&Kx(r,ue);var e=f0(r),t=fx(r);W(r,58);var u=fx(r);if(c3(r))var i=0,c=0;else{var v=f2(r,z2),a=M(r);x:{r:if(typeof a=="number"){if(a!==86){if(10<=a)break r;switch(a){case 0:case 2:case 3:case 4:case 6:break r}}var p=0;break x}var p=1}x:{if(!v&&!p){var _=0;break x}var _=[0,l(Dt,r)]}var i=v,c=_}var y=c?0:xx(r),S=Zr(t,u);return[37,[0,c,t0([0,e],[0,y],R),i,S]]},x)}),m0(KO,function(x){var r=x[2];switch(r[0]){case 23:var e=r[1],t=e[1][2][1];if(I(t,R1)){if(!I(t,no)&&!I(e[2][2][1],Fw))return 0}else if(!I(e[2][2][1],ml))return 0;break;case 10:case 22:break;default:return 0}return 1}),m0(hJ,function(x){var r=M(x);x:{if(typeof r=="number"){var e=r-67|0;if(15>=e>>>0){switch(e){case 0:var t=Y30;break;case 1:var t=z30;break;case 2:var t=V30;break;case 3:var t=G30;break;case 4:var t=W30;break;case 5:var t=$30;break;case 6:var t=H30;break;case 7:var t=Q30;break;case 8:var t=Z30;break;case 9:var t=xl0;break;case 10:var t=rl0;break;case 11:var t=el0;break;case 12:var t=tl0;break;case 13:var t=nl0;break;case 14:var t=ul0;break;default:var t=il0}var u=t;break x}}var u=0}return u!==0&&b0(x),u}),m0(YO,function(x){var r=fx(x),e=l(yJ,x);if(M(x)!==85)return e;b0(x);var t=l(Dt,e6(0,x));W(x,86);var u=r0([0,r],Dt,x),i=u[2],c=u[1];return[0,[0,c,[8,[0,f1(x,e),t,i,0]]]]}),m0(dJ,function(x){return f1(x,l(YO,x))});function cC(x,r,e,t,u){var i=f1(x,r);return[0,[0,u,[21,[0,t,i,f1(x,e),0]]]]}function sC(x,r,e){for(var t=r,u=e;;){var i=M(x);if(typeof i=="number"&&i===88){b0(x);var c=r0(0,y6,x),v=c[2],a=Zr(u,c[1]),p=aC(0,x,cC(x,t,v,1,a),a),t=p[2],u=p[1];continue}return[0,u,t]}}function jJ(x,r,e){for(var t=r,u=e;;){var i=M(x);if(typeof i=="number"&&i===87){b0(x);var c=r0(0,y6,x),v=sC(x,c[2],c[1]),a=v[2],p=Zr(u,v[1]),_=aC(0,x,cC(x,t,a,0,p),p),t=_[2],u=_[1];continue}return[0,u,t]}}function aC(x,r,e,t){for(var u=x,i=e,c=t;;){var v=M(r);if(typeof v=="number"&&v===84){1-u&&Kx(r,K30),W(r,84);var a=r0(0,y6,r),p=a[2],_=a[1],y=M(r);x:{if(typeof y=="number"&&1>=y-87>>>0){Kx(r,[20,HN(y)]);var S=sC(r,p,_),E=jJ(r,S[2],S[1]),j=E[2],C=E[1];break x}var j=p,C=_}var P=Zr(c,C),u=1,i=cC(r,i,j,2,P),c=P;continue}return[0,c,i]}}m0(yJ,function(x){var r=r0(0,y6,x),e=r[2],t=r[1],u=M(x);x:{if(typeof u=="number"&&u===84){var c=aC(1,x,e,t);break x}var i=sC(x,e,t),c=jJ(x,i[2],i[1])}return c[2]});function oC(x,r,e,t){return[0,t,[5,[0,e,x,r,0]]]}m0(y6,function(x){for(var r=0;;){var e=r0(0,function(rx){var B=l(zO,rx)!==0?1:0;return[0,B,l(VO,e6(0,rx))]},x),t=e[2],u=t[2],i=t[1],c=e[1];x:if(M(x)===98&&u[0]===0&&u[1][2][0]===12){Kx(x,2);break x}var v=function(rx){return function(B,G0){for(var W0=B,Y0=G0;;){var V0=M(x);x:if(typeof V0!="number"&&V0[0]===4){var ex=V0[3];if(I(ex,Jt)&&I(ex,WF))break x;if(g2(x)){b0(x);var Q0=f1(x,Y0);r:{if(W0){var S0=W0[1],q0=S0[2],yx=W0[2],cx=S0[3],Dx=q0[1],Ix=S0[1];if(kJ(q0[2],_30)){var Xx=oC(Ix,Q0,Dx,Zr(cx,rx)),Z0=yx;break r}}var Xx=Q0,Z0=W0}var rr=Xx[1];if(Sr(ex,WF))var xr=qs(x),fr=xr[1],hr=[0,[0,Zr(rr,fr),[34,[0,Xx,[0,fr,xr],0]]]];else if(M(x)===27){var Hx=Zr(rr,fx(x));b0(x);var hr=[0,[0,Hx,[2,[0,Xx,0]]]]}else var Y=qs(x),jx=Y[1],hr=[0,[0,Zr(rr,jx),[3,[0,Xx,[0,jx,Y],0]]]];var W0=Z0,Y0=hr;continue}}return[0,W0,Y0]}}}(c)(r,u),a=v[2],p=v[1],_=M(x);x:{r:if(typeof _=="number"){var y=_-17|0;if(1>>0){if(72>y)break r;switch(y-72|0){case 0:var S=b30;break;case 1:var S=w30;break;case 2:var S=T30;break;case 3:var S=E30;break;case 4:var S=S30;break;case 5:var S=A30;break;case 6:var S=I30;break;case 7:var S=j30;break;case 8:var S=P30;break;case 9:var S=N30;break;case 10:var S=O30;break;case 11:var S=C30;break;case 12:var S=D30;break;case 13:var S=R30;break;case 14:var S=F30;break;case 15:var S=L30;break;case 16:var S=M30;break;case 17:var S=U30;break;case 18:var S=q30;break;case 19:var S=B30;break;default:break r}var E=S}else var E=y?X30:x[12]?0:J30;var j=E;break x}var j=0}if(j!==0&&b0(x),!p&&!j)return a;if(!j)break;var C=j[1],P=C[1],O=C[2],F=i&&(P===14?1:0);F&&D0(x,[0,c,38]);x:for(var K=f1(x,a),U=[0,P,O],V=c,Q=p;;){var $=U[2],x0=U[1];if(!Q)break x;var e0=Q[1],Z=e0[2],c0=Q[2],d0=e0[3],n0=Z[1],P0=e0[1];if(!kJ(Z[2],$))break;var h0=Zr(d0,V),K=oC(P0,K,n0,h0),U=[0,x0,$],V=h0,Q=c0}var r=[0,[0,K,[0,x0,$],V],Q]}for(var g0=f1(x,a),v0=c,p0=p;;){if(!p0)return[0,g0];var w0=p0[1],T0=p0[2],E0=w0[2][1],N0=w0[1],X0=Zr(w0[3],v0),g0=oC(N0,g0,E0,X0),v0=X0,p0=T0}}),m0(zO,function(x){var r=M(x);if(typeof r=="number"){if(48<=r){if(Ze<=r){if(zt>r)switch(r+MA|0){case 0:return l30;case 1:return p30;case 6:return k30;case 7:return m30}}else if(r===65&&x[19])return x[10]&&Kx(x,6),h30}else if(45<=r)switch(r+_T|0){case 0:return d30;case 1:return y30;default:return g30}}return 0}),m0(VO,function(x){var r=fx(x),e=f0(x),t=l(zO,x);if(t){var u=t[1];b0(x);var i=r0([0,r],GO,x),c=i[2],v=i[1];x:r:if(u===6){var a=c[2];switch(a[0]){case 10:ct(x,[0,v,68]);break;case 22:a[1][2][0]===1&&D0(x,[0,v,62]);break;default:break r}break x}return[0,[0,v,[35,[0,u,c,t0([0,e],0,R)]]]]}var p=M(x);x:{if(typeof p=="number"){if(zt===p){var _=v30;break x}if(ue===p){var _=o30;break x}}var _=0}if(!_)return l(gJ,x);var y=_[1];b0(x);var S=r0([0,r],GO,x),E=S[2],j=S[1];1-l(KO,E)&&D0(x,[0,E[1],37]);var C=E[2];x:if(C[0]===10&&Xo(C[1][2][1])){Ot(x,73);break x}return[0,[0,j,[36,[0,y,E,1,t0([0,e],0,R)]]]]}),m0(GO,function(x){return f1(x,l(VO,x))}),m0(gJ,function(x){var r=l(WO,x);if(K1(x))return r;var e=M(x);x:{if(typeof e=="number"){if(zt===e){var t=a30;break x}if(ue===e){var t=s30;break x}}var t=0}if(!t)return r;var u=t[1],i=f1(x,r);1-l(KO,i)&&D0(x,[0,i[1],37]);var c=i[2];x:if(c[0]===10&&Xo(c[1][2][1])){Ot(x,72);break x}var v=fx(x);b0(x);var a=xx(x),p=Zr(i[1],v);return[0,[0,p,[36,[0,u,i,0,t0(0,[0,a],R)]]]]}),m0(WO,function(x){var r=fx(x),e=1-x[17],t=0,u=x[17]===0?x:[0,x[1],x[2],x[3],x[4],x[5],x[6],x[7],x[8],x[9],x[10],x[11],x[12],x[13],x[14],x[15],x[16],t,x[18],x[19],x[20],x[21],x[22],x[23],x[24],x[25],x[26],x[27],x[28],x[29],x[30],x[31]],i=M(u);x:{r:if(typeof i=="number"){var c=i-44|0;if(7>=c>>>0){switch(c){case 0:if(!e)break r;var v=[0,l(QO,u)];break;case 6:var v=[0,l(_J,u)];break;case 7:var v=[0,l($O,u)];break;default:break r}var a=v;break x}}var a=Ea(u)?[0,l(rC,u)]:l(eC,u)}return I1(Vo,0,0,u,r,a)}),m0(gd,function(x){return f1(x,l(WO,x))}),m0($O,function(x){switch(x[22]){case 0:var r=0,e=0;break;case 1:var r=0,e=1;break;default:var r=1,e=1}var t=fx(x),u=f0(x);W(x,51);var i=[0,t,[29,[0,t0([0,u],[0,xx(x)],R)]]],c=M(x);if(typeof c=="number"&&11>c)switch(c){case 4:var v=r?i:(D0(x,[0,t,et]),[0,t,[10,rn(0,[0,t,i30])]]);return St(HO,0,x,t,v);case 6:case 10:var a=e?i:(D0(x,[0,t,99]),[0,t,[10,rn(0,[0,t,c30])]]);return St(HO,0,x,t,a)}return e?_2(f30,x):D0(x,[0,t,99]),i}),m0(_J,function(x){return r0(0,function(r){var e=f0(r),t=fx(r);if(W(r,50),f2(r,10)){var u=rn(0,[0,t,t30]),i=fx(r);Kc(r,n30);var c=rn(0,[0,i,u30]);return[23,[0,u,c,t0([0,e],[0,xx(r)],R)]]}var v=f0(r);W(r,4);var a=B0(uC,[0,v],0,l(Dt,e6(0,r)));return W(r,5),[11,[0,a,t0([0,e],[0,xx(r)],R)]]},x)}),m0(Vo,function(x,r,e,t,u){var i=x?x[1]:1,c=r?r[1]:0,v=I1(xC,[0,i],[0,c],e,t,u),a=cX(e);x:{if(a){var p=a[1];if(typeof p=="number"&&p===83){var _=1;break x}}var _=0}function y(P){var O=I2(P)[2];function F(K,U){return k(Wx(K,Wt,88),K,U)}return k(O,f1(P,v),F)}function S(P,O,F){var K=l(ZO,O),U=K[1],V=K[2],Q=Zr(t,U),$=[0,F,P,[0,U,V],0];x:{if(!_&&!c){var x0=[6,$];break x}var x0=[26,[0,$,Q,_]]}var e0=c||_;return I1(Vo,[0,i],[0,e0],O,t,[0,[0,Q,x0]])}if(e[13])return v;var E=M(e);if(typeof E=="number"){var j=E-98|0;if(2>>0){if(j===-94)return S(0,e,y(e))}else if(j!==1&&g2(e)){var C=Wh(function(P,O){throw U0(Yc,1)},e);return rd(C,v,function(P){var O=y(P);return S(l(_d,P),P,O)})}}return v}),m0(HO,function(x,r,e,t){var u=x?x[1]:1;return f1(r,I1(Vo,[0,u],0,r,e,[0,t]))}),m0(QO,function(x){return r0(0,function(r){var e=fx(r),t=f0(r);if(W(r,44),r[11]&&M(r)===10){var u=xx(r);b0(r);var i=rn(t0([0,t],[0,u],R),[0,e,x30]),c=M(r);return typeof c!="number"&&c[0]===4&&!I(c[3],Fw)?[23,[0,i,k(z0[13],0,r),0]]:(_2(r30,r),b0(r),[10,i])}var v=fx(r),a=M(r);x:{if(typeof a=="number"){if(a===44){var p=l(QO,r);break x}if(a===51){var p=l($O,sO(1,r));break x}}var p=Ea(r)?l(rC,r):l(TJ,r)}var _=St(bJ,e30,sO(1,r),v,p),y=M(r);x:{if(typeof y!="number"&&y[0]===3){var S=St(nC,r,v,_,y[1]);break x}var S=_}x:{r:if(M(r)!==4){if(g2(r)&&M(r)===98)break r;var j=S;break x}var E=I2(r)[2],j=k(E,S,function(F,K){return k(Wx(F,Wt,89),F,K)})}var C=g2(r)?rd(Wh(function(F,K){throw U0(Yc,1)},r),0,_d):0,P=M(r);x:{if(typeof P=="number"&&P===4){var O=[0,l(ZO,r)];break x}var O=0}return[24,[0,j,C,O,t0([0,t],0,R)]]},x)});function Rw0(x){var r=f0(x);W(x,98);for(var e=0;;){var t=M(x);x:if(typeof t=="number"){if(t!==99&&Dr!==t)break x;var u=vx(e),i=f0(x);W(x,99);var c=M(x)===4?I2(x)[1]:xx(x);return[0,u,F2([0,r],[0,c],i,R)]}var v=M(x);x:{if(typeof v!="number"&&v[0]===4&&!I(v[2],Sv)){var a=fx(x),p=f0(x);Kc(x,Zv0);var _=[1,[0,a,[0,t0([0,p],[0,xx(x)],R)]]];break x}var _=[0,qs(x)]}var y=[0,_,e];M(x)!==99&&W(x,9);var e=y}}m0(_d,function(x){L2(x,1);var r=M(x)===98?[0,r0(0,Rw0,x)]:0;return J2(x),r});function Fw0(x){var r=f0(x);W(x,12);var e=l(Dt,x);return[0,e,t0([0,r],0,R)]}m0(ZO,function(x){return r0(0,function(r){var e=f0(r);W(r,4);for(var t=0;;){var u=M(r);x:if(typeof u=="number"){if(u!==5&&Dr!==u)break x;var i=vx(t),c=f0(r);return W(r,5),[0,i,F2([0,e],[0,xx(r)],c,R)]}var v=M(r);x:{if(typeof v=="number"&&v===12){var a=[1,r0(0,Fw0,r)];break x}var a=[0,l(Dt,r)]}var p=[0,a,t];M(r)!==5&&W(r,9);var t=p}},x)});function PJ(x,r,e,t,u,i){var c=x?x[1]:1,v=r?r[1]:0,a=e?e[1]:0,p=sO(0,t),_=l(z0[7],p),y=fx(t);W(t,7);var S=xx(t),E=Zr(u,y),j=t0(0,[0,S],R),C=[0,f1(t,i),[2,_],j],P=v?[27,[0,C,E,a]]:[22,C];return I1(Vo,[0,c],[0,v],t,u,[0,[0,E,P]])}function NJ(x,r,e,t,u,i){var c=x?x[1]:1,v=r?r[1]:0,a=e?e[1]:0,p=M(t);x:{if(typeof p=="number"&&p===14){var _=TX(t),y=_[1],S=t[30][1],E=_[2][1];if(S){var j=S[1];t[30][1]=[0,[0,j[1],[0,[0,E,y],j[2]]],S[2]]}else D0(t,[0,y,63]);var P=[1,_],O=y;break x}var C=g1(t),P=[0,C],O=C[1]}var F=Zr(u,O);x:if(i[0]===0&&i[1][2][0]===29&&P[0]===1){D0(t,[0,F,82]);break x}var K=[0,f1(t,i),P,0],U=v?[27,[0,K,F,a]]:[22,K];return I1(Vo,[0,c],[0,v],t,u,[0,[0,F,U]])}m0(xC,function(x,r,e,t,u){var i=x?x[1]:1,c=r?r[1]:0,v=M(e);if(typeof v=="number")switch(v){case 6:return b0(e),PJ([0,i],[0,c],0,e,t,u);case 10:return b0(e),NJ([0,i],[0,c],0,e,t,u);case 83:1-i&&Kx(e,59),W(e,83);var a=M(e);if(typeof a=="number")switch(a){case 4:return u;case 6:return b0(e),PJ([0,i],Wv0,Gv0,e,t,u);case 98:if(g2(e))return u;break}else if(a[0]===3)return Kx(e,60),u;return NJ([0,i],Hv0,$v0,e,t,u)}else if(v[0]===3){var p=v[1];return c&&Kx(e,60),I1(Vo,Qv0,0,e,t,[0,St(nC,e,t,f1(e,u),p)])}return u}),m0(bJ,function(x,r,e,t){var u=x?x[1]:1;return f1(r,I1(xC,[0,u],0,r,e,[0,t]))}),m0(rC,function(x){return r0(0,function(r){var e=yd(r),t=e[1],u=e[2],i=r0(0,function(O){var F=f0(O);W(O,15);var K=zo(O),U=K[1],V=Rl([0,u,[0,F,[0,K[2],0]]]);if(M(O)===4)var Q=0,$=0;else{var x0=M(O);x:{if(typeof x0=="number"&&x0===98){var Z=0;break x}var e0=uO(U,iO(t,O)),Z=[0,Ct(e0,k(z0[13],Vv0,e0))]}var Q=Y1(O,De(O)),$=Z}var c0=qo(0,O),d0=t||c0[19],n0=l3(d0,U)(c0),P0=M(c0)===86?n0:f6(c0,n0),h0=FO(c0),g0=h0[2],v0=h0[1];if(g0)var p0=gX(c0,g0),w0=v0;else var p0=g0,w0=s3(c0,v0);return[0,$,P0,U,p0,w0,Q,V]},r),c=i[2],v=c[3],a=c[2],p=c[1],_=c[7],y=c[6],S=c[5],E=c[4],j=i[1],C=h6(r,t,v,1,Ko(a)),P=C[1];return v3(r,C[2],p,a),[9,[0,p,a,P,t,v,1,E,S,y,t0([0,_],0,R),j]]},x)}),m0(bd,function(x,r,e){switch(r){case 1:Ot(x,76);try{var t=$m(El(Bx(Xv0,e))),u=t}catch(S){var i=O2(S);if(i[1]!==Qt)throw U0(i,0);var u=gx(Bx(Jv0,e))}break;case 2:Ot(x,75);try{var c=KP(e),u=c}catch(S){var v=O2(S);if(v[1]!==Qt)throw U0(v,0);var u=gx(Bx(Kv0,e))}break;case 4:try{var a=KP(e),u=a}catch(S){var p=O2(S);if(p[1]!==Qt)throw U0(p,0);var u=gx(Bx(Yv0,e))}break;default:try{var _=$m(El(e)),u=_}catch(S){var y=O2(S);if(y[1]!==Qt)throw U0(y,0);var u=gx(Bx(zv0,e))}}return W(x,[0,r,e]),u}),m0(wJ,function(x){var r=Nx(x);x:{if(r!==0&&j2===N2(x,r-1|0)){var e=k1(x,0,r-1|0);break x}var e=x}return e}),m0(wd,function(x,r,e){var t=oq(l(wJ,e));return W(x,[1,r,e]),t}),m0(eC,function(x){var r=fx(x),e=f0(x),t=M(x);if(typeof t=="number")switch(t){case 0:var u=l(z0[12],x);return[1,[0,u[1],[25,u[2]]],u[3]];case 4:return[0,l(EJ,x)];case 6:var i=r0(0,SJ,x),c=i[2];return[1,[0,i[1],[0,c[1]]],c[2]];case 21:return b0(x),[0,[0,r,[32,[0,t0([0,e],[0,xx(x)],R)]]]];case 29:return b0(x),[0,[0,r,[16,t0([0,e],[0,xx(x)],R)]]];case 40:return[0,l(z0[22],x)];case 98:var v=l(z0[17],x),a=v[2],p=v[1],_=Ut<=a[1]?[13,a[2]]:[12,a[2]];return[0,[0,p,_]];case 30:case 31:return b0(x),[0,[0,r,[15,[0,t===31?1:0,t0([0,e],[0,xx(x)],R)]]]];case 74:case 105:return[0,l(AJ,x)]}else switch(t[0]){case 0:var y=t[2],S=B0(bd,x,t[1],y);return[0,[0,r,[17,[0,S,y,t0([0,e],[0,xx(x)],R)]]]];case 1:var E=t[2],j=B0(wd,x,t[1],E);return[0,[0,r,[18,[0,j,E,t0([0,e],[0,xx(x)],R)]]]];case 2:var C=t[1],P=C[3],O=C[2],F=C[1];C[4]&&Ot(x,76),b0(x);var K=t0([0,e],[0,xx(x)],R),U=x[28],V=U[6],Q=U[7];x:{if(V){var $=V[1];if(cq($,O)){var e0=[20,[0,O,F,Nx($),0,P,K]];break x}}if(Q){var x0=Q[1];if(cq(x0,O)){var e0=[20,[0,O,F,Nx(x0),1,P,K]];break x}}var e0=[14,[0,O,P,K]]}return[0,[0,F,e0]];case 3:var Z=k(tC,x,t[1]);return[0,[0,Z[1],[31,Z[2]]]];case 4:if(!I(t[3],xg)&&vr(1,x)===40)return[0,l(z0[22],x)];break}if(Jc(x)){var c0=k(z0[13],0,x);return[0,[0,c0[1],[10,c0]]]}_2(0,x);x:if(typeof t!="number"&&t[0]===7){b0(x);break x}return[0,[0,r,[16,t0([0,e],Bv0,R)]]]}),m0(TJ,function(x){return f1(x,l(eC,x))}),m0(tC,function(x,r){var e=r[5],t=r[1],u=r[3],i=r[2],c=f0(x);W(x,[3,r]);var v=[0,t,[0,[0,u,i],e]];if(e)var a=0,p=[0,v,0],_=t;else for(var y=[0,v,0],S=0;;){var E=l(z0[7],x),j=[0,E,S],C=M(x);x:{if(typeof C=="number"&&C===1){L2(x,4);var P=M(x);if(typeof P!="number"&&P[0]===3){var O=P[1],F=O[5],K=O[1],U=O[3],V=O[2];b0(x),J2(x);var Q=[0,[0,K,[0,[0,U,V],F]],y];if(F){var $=vx(j),c0=[0,K,vx(Q),$];break x}var y=Q,S=j;continue}throw U0([0,Ar,Mv0],1)}_2(Uv0,x);var x0=[0,E[1],qv0],e0=vx(j),Z=vx([0,x0,y]),c0=[0,E[1],Z,e0]}var a=c0[3],p=c0[2],_=c0[1];break}var d0=xx(x),n0=Zr(t,_);return[0,n0,[0,p,a,t0([0,c],[0,d0],R)]]}),m0(nC,function(x,r,e,t){var u=I2(x)[2],i=k(u,e,function(v,a){return k(Wx(v,Wt,3),v,a)}),c=k(tC,x,t);return[0,Zr(r,c[1]),[30,[0,i,c,0]]]}),m0(EJ,function(x){var r=f0(x),e=r0(0,function(v){W(v,4);var a=fx(v),p=l(Dt,v),_=M(v);x:{if(typeof _=="number"){if(_===9){var y=[0,B0(Td,v,a,[0,p,0])];break x}if(_===86){var y=[1,[0,p,Yo(v),0]];break x}}var y=[0,p]}return W(v,5),y},x),t=e[2],u=e[1],i=xx(x),c=t[0]===0?t[1]:[0,u,[33,t[1]]];return B0(uC,[0,r],[0,i],c)}),m0(uC,function(x,r,e){var t=e[2],u=e[1],i=x?x[1]:0,c=r?r[1]:0;function v(b2){return N1(b2,t0([0,i],[0,c],R))}function a(b2){return zN(b2,t0([0,i],[0,c],R))}switch(t[0]){case 0:var p=t[1],_=a(p[2]),Mx=[0,[0,p[1],_]];break;case 1:var y=t[1],S=y[11],E=v(y[10]),Mx=[1,[0,y[1],y[2],y[3],y[4],y[5],y[6],y[7],y[8],y[9],E,S]];break;case 4:var j=t[1],C=v(j[4]),Mx=[4,[0,j[1],j[2],j[3],C]];break;case 5:var P=t[1],O=v(P[4]),Mx=[5,[0,P[1],P[2],P[3],O]];break;case 6:var F=t[1],K=v(F[4]),Mx=[6,[0,F[1],F[2],F[3],K]];break;case 7:var U=t[1],V=v(U[7]),Mx=[7,[0,U[1],U[2],U[3],U[4],U[5],U[6],V]];break;case 8:var Q=t[1],$=v(Q[4]),Mx=[8,[0,Q[1],Q[2],Q[3],$]];break;case 9:var x0=t[1],e0=x0[11],Z=v(x0[10]),Mx=[9,[0,x0[1],x0[2],x0[3],x0[4],x0[5],x0[6],x0[7],x0[8],x0[9],Z,e0]];break;case 10:var c0=t[1],d0=c0[2],n0=c0[1],P0=v(d0[2]),Mx=[10,[0,n0,[0,d0[1],P0]]];break;case 11:var h0=t[1],g0=v(h0[2]),Mx=[11,[0,h0[1],g0]];break;case 12:var v0=t[1],p0=v(v0[4]),Mx=[12,[0,v0[1],v0[2],v0[3],p0]];break;case 13:var w0=t[1],T0=v(w0[4]),Mx=[13,[0,w0[1],w0[2],w0[3],T0]];break;case 14:var E0=t[1],N0=v(E0[3]),Mx=[14,[0,E0[1],E0[2],N0]];break;case 15:var X0=t[1],A0=v(X0[2]),Mx=[15,[0,X0[1],A0]];break;case 16:var Mx=[16,v(t[1])];break;case 17:var rx=t[1],B=v(rx[3]),Mx=[17,[0,rx[1],rx[2],B]];break;case 18:var G0=t[1],W0=v(G0[3]),Mx=[18,[0,G0[1],G0[2],W0]];break;case 19:var Y0=t[1],V0=v(Y0[4]),Mx=[19,[0,Y0[1],Y0[2],Y0[3],V0]];break;case 20:var ex=t[1],Q0=v(ex[6]),Mx=[20,[0,ex[1],ex[2],ex[3],ex[4],ex[5],Q0]];break;case 21:var S0=t[1],q0=v(S0[4]),Mx=[21,[0,S0[1],S0[2],S0[3],q0]];break;case 22:var yx=t[1],cx=v(yx[3]),Mx=[22,[0,yx[1],yx[2],cx]];break;case 23:var Dx=t[1],Ix=v(Dx[3]),Mx=[23,[0,Dx[1],Dx[2],Ix]];break;case 24:var Xx=t[1],Z0=v(Xx[4]),Mx=[24,[0,Xx[1],Xx[2],Xx[3],Z0]];break;case 25:var rr=t[1],xr=a(rr[2]),Mx=[25,[0,rr[1],xr]];break;case 26:var fr=t[1],Hx=fr[1],Y=fr[3],jx=fr[2],hr=v(Hx[4]),Mx=[26,[0,[0,Hx[1],Hx[2],Hx[3],hr],jx,Y]];break;case 27:var Yx=t[1],Ur=Yx[1],px=Yx[3],w=Yx[2],L=v(Ur[3]),Mx=[27,[0,[0,Ur[1],Ur[2],L],w,px]];break;case 28:var L0=t[1],sx=v(L0[2]),Mx=[28,[0,L0[1],sx]];break;case 29:var Mx=[29,[0,v(t[1][1])]];break;case 30:var lx=t[1],ax=v(lx[3]),Mx=[30,[0,lx[1],lx[2],ax]];break;case 31:var Vx=t[1],_x=v(Vx[3]),Mx=[31,[0,Vx[1],Vx[2],_x]];break;case 32:var Mx=[32,[0,v(t[1][1])]];break;case 33:var zx=t[1],Lx=v(zx[3]),Mx=[33,[0,zx[1],zx[2],Lx]];break;case 35:var M0=t[1],qr=v(M0[3]),Mx=[35,[0,M0[1],M0[2],qr]];break;case 36:var Ex=t[1],$0=v(Ex[4]),Mx=[36,[0,Ex[1],Ex[2],Ex[3],$0]];break;case 37:var Gx=t[1],j0=Gx[4],cr=Gx[3],tx=v(Gx[2]),Mx=[37,[0,Gx[1],tx,cr,j0]];break;default:var Mx=t}return[0,u,Mx]}),m0(SJ,function(x){var r=f0(x);W(x,6);for(var e=[0,0,Zt];;){var t=e[2],u=e[1],i=M(x);x:if(typeof i=="number"){if(13<=i){if(Dr!==i)break x}else{if(7>i)break x;switch(i-7|0){case 0:break;case 2:var c=fx(x);b0(x);var e=[0,[0,[2,c],u],t];continue;case 5:var v=f0(x),a=r0(0,function(x0){b0(x0);var e0=l(p3,x0);return e0[0]===0?[0,e0[1],Zt]:[0,e0[1],e0[2]]},x),p=a[2],_=p[2],y=a[1],S=p[1],E=[1,[0,y,[0,S,t0([0,v],0,R)]]],j=M(x)===7?1:0;r:{if(!j&&vr(1,x)===7){var C=[0,_[1],[0,[0,y,16],_[2]]];break r}var C=_}1-j&&W(x,9);var e=[0,[0,E,u],JO(C,t)];continue;default:break x}}var P=pJ(t),O=vx(u),F=f0(x);return W(x,7),[0,[0,O,F2([0,r],[0,xx(x)],F,R)],P]}var K=l(p3,x);if(K[0]===0)var U=Zt,V=K[1];else var U=K[2],V=K[1];M(x)!==7&&W(x,9);var e=[0,[0,[0,V],u],JO(U,t)]}}),m0(AJ,function(x){L2(x,5);var r=fx(x),e=f0(x),t=M(x);x:{if(typeof t!="number"&&t[0]===5){var u=t[3],i=t[2];b0(x);var c=xx(x),v=c,a=u,p=i,_=Bx(Cv0,Bx(i,Bx(Ov0,u)));break x}_2(Dv0,x);var v=0,a=Rv0,p=Fv0,_=Lv0}J2(x);var y=Qr(Nx(a)),S=Nx(a)-1|0,E=0;if(S>=0)for(var j=E;;){var C=F0(a,j),P=C-100|0;x:if(21>=P>>>0)switch(P){case 0:case 3:case 5:case 9:case 15:case 17:case 21:ut(y,C);break x}var O=j+1|0;if(S===j)break;var j=O}var F=R2(y);return I(F,a)&&Kx(x,[18,a]),[0,r,[19,[0,p,F,_,t0([0,e],[0,v],R)]]]});function Lw0(x){return function(r){x:if(typeof r=="number"){if(61<=r){var e=r-62|0;if(49>=e>>>0){var t=e-15|0;if(9>>0)break x;switch(t){case 0:case 1:case 3:case 9:break;default:break x}}}else if(7<=r){if(r!==55)break x}else if(5>r)break x;return 0}throw U0(Yc,1)}}function Mw0(x){var r=M(x);if(typeof r=="number"&&!r){var e=k(z0[16],1,x);return[0,[0,e[1]],e[2]]}return[0,[1,l(z0[10],x)],0]}m0(iC,function(x){var r=Wh(Lw0,x),e=fx(r);if(vr(1,r)===11)var u=0,i=0;else var t=yd(r),u=t[2],i=t[1];var c=i||r[19],v=iO(c,r),a=v[18],p=r0(0,function(g0){var v0=Y1(g0,De(g0));if(Jc(g0)&&v0===0){var p0=k(z0[13],Nv0,g0),w0=p0[1],T0=[0,w0,[0,[0,w0,[2,[0,p0,[0,Ls(g0)],0]]],0]];return[0,v0,[0,w0,[0,0,[0,T0,0],0,0]],[0,[0,w0[1],w0[3],w0[3]]],0]}var E0=l3(c,a)(g0);iJ(g0,E0);var N0=FO(Bo(1,g0));return[0,v0,E0,N0[1],N0[2]]},v),_=p[2],y=_[2],S=y[2];x:{r:{var E=_[4],j=_[3],C=_[1],P=p[1];if(!S[1]){var O=S[2];if(!S[3]&&O)break r;var F=sX(v);break x}}var F=v}var K=y[2],U=K[1];if(U){var V=y[1];D0(F,[0,U[1][1],86]);var Q=[0,V,[0,0,K[2],K[3],K[4]]]}else var Q=y;var $=Ko(Q),x0=K1(F),e0=x0&&(M(F)===11?1:0);e0&&Kx(F,55),W(F,11);var Z=aX(sX(F),i,0,$),c0=r0(0,Mw0,Z),d0=c0[2],n0=d0[1],P0=c0[1];v3(Z,d0[2],0,Q);var h0=Zr(e,P0);return[0,[0,h0,[1,[0,0,Q,n0,i,0,1,E,j,C,t0([0,u],0,R),P]]]]}),m0(Td,function(x,r,e){return r0([0,r],function(t){for(var u=e;;){var i=M(t);if(typeof i=="number"&&i===9){b0(t);var u=[0,l(Dt,t),u];continue}return[28,[0,vx(u),0]]}},x)});function Uw0(x){var r=f0(x);b0(x);var e=t0([0,r],0,R),t=l(gd,x),u=K1(x)?i6(x):ed(x),i=u[2];return[0,k(i,t,function(c,v){return k(Wx(c,Wt,90),c,v)}),e]}function vC(x){if(!x[28][3])return 0;for(var r=0;;){var e=M(x);if(typeof e=="number"&&e===13){var r=[0,r0(0,Uw0,x),r];continue}return vx(r)}}function Pa(x,r){var e=x?x[1]:0,t=f0(r),u=M(r);if(typeof u=="number")switch(u){case 6:var i=r0(0,function(g0){var v0=f0(g0);W(g0,6);var p0=e6(0,g0),w0=l(z0[10],p0);return W(g0,7),[0,w0,t0([0,v0],[0,xx(g0)],R)]},r),c=i[1];return[0,c,[5,[0,c,i[2]]]];case 14:if(!e){var v=r0(0,function(g0){return b0(g0),[3,g1(g0)]},r),a=v[1],p=v[2];return D0(r,[0,a,63]),[0,a,p]}var _=TX(r),y=r[30][1],S=_[2][1],E=_[1];if(y){var j=y[1],C=y[2],P=j[2],O=[0,[0,y1[4].call(null,S,j[1]),P],C];r[30][1]=O}else gx(xs0);return[0,E,[4,_]]}else switch(u[0]){case 0:var F=u[2],K=u[1],U=fx(r),V=B0(bd,r,K,F);return[0,U,[1,[0,U,[0,V,F,t0([0,t],[0,xx(r)],R)]]]];case 1:var Q=u[2],$=u[1],x0=fx(r),e0=B0(wd,r,$,Q);return[0,x0,[2,[0,x0,[0,e0,Q,t0([0,t],[0,xx(r)],R)]]]];case 2:var Z=u[1],c0=Z[4],d0=Z[3],n0=Z[2],P0=Z[1];return c0&&Ot(r,76),W(r,[2,[0,P0,n0,d0,c0]]),[0,P0,[0,[0,P0,[0,n0,d0,t0([0,t],[0,xx(r)],R)]]]]}var h0=g1(r);return[0,h0[1],[3,h0]]}function Ed(x,r,e){var t=zo(x),u=t[1],i=t[2],c=Pa([0,r],x),v=c[1],a=0,p=nn(x,c[2]);return[0,p,r0(0,function(_){var y=qo(1,_),S=r0(0,function(U){var V=l3(0,0)(U),Q=0,$=M(U)===86?V:f6(U,V);x:if(e){var x0=$[2];r:{if(!x0[1]){if(!x0[2]&&!x0[3])break r;D0(U,[0,v,23]);break x}D0(U,[0,v,24])}}else{var e0=$[2];r:if(e0[1])D0(U,[0,v,66]);else{var Z=e0[2];if(Z&&!Z[2]&&!e0[3])break r;e0[3]?D0(U,[0,v,65]):D0(U,[0,v,65])}}return[0,Q,$,s3(U,RO(U))]},y),E=S[2],j=E[2],C=E[3],P=E[1],O=S[1],F=h6(y,a,u,0,Ko(j)),K=F[1];return v3(y,F[2],0,j),[0,0,j,K,a,u,1,0,C,P,t0([0,i],0,R),O]},x)]}function OJ(x){var r=l(p3,x);return r[0]===0?[0,r[1],Zt]:[0,r[1],r[2]]}function CJ(x,r){switch(r[0]){case 0:var e=r[1],t=e[1],u=e[2];return D0(x,[0,t,48]),[0,t,[14,u]];case 1:var i=r[1],c=i[1],v=i[2];return D0(x,[0,c,48]),[0,c,[17,v]];case 2:var a=r[1],p=a[1],_=a[2];return D0(x,[0,p,48]),[0,p,[18,_]];case 3:var y=r[1],S=y[2][1],E=y[1];return $h(S)?D0(x,[0,E,95]):i3(S)&&ct(x,[0,E,80]),[0,E,[10,y]];case 4:return gx(Al0);default:var j=r[1][2][1];return D0(x,[0,j[1],7]),j}}function DJ(x,r,e){function t(i){var c=qo(1,i),v=r0(0,function(C){var P=Y1(C,De(C)),O=l3(x,r)(C),F=M(C)===86?O:f6(C,O);return[0,P,F,s3(C,RO(C))]},c),a=v[2],p=a[2],_=a[3],y=a[1],S=v[1],E=h6(c,x,r,0,Ko(p)),j=E[1];return v3(c,E[2],0,p),[0,0,p,j,x,r,1,0,_,y,t0([0,e],0,R),S]}var u=0;return function(i){return r0(u,t,i)}}function RJ(x){return W(x,86),OJ(x)}function lC(x,r,e,t,u,i){var c=r0([0,r],function(a){if(!t&&!u){var p=M(a);x:if(typeof p=="number"){if(86<=p){if(p!==98){if(87<=p)break x;var _=RJ(a);return[0,[0,e,_[1],0],_[2]]}}else{if(p===82){if(e[0]===3)var y=e[1],S=fx(a),E=function(F){var K=f0(F);W(F,82);var U=xx(F),V=k(z0[19],F,[0,y[1],[10,y]]),Q=l(z0[10],F);return[4,[0,0,V,Q,t0([0,K],[0,U],R)]]},j=r0([0,y[1]],E,a),C=[0,j,[0,[0,[0,S,[24,bh(Sl0)]],0],0]];else var C=RJ(a);return[0,[0,e,C[1],1],C[2]]}if(10<=p)break x;switch(p){case 4:break;case 1:case 9:return[0,[0,e,CJ(a,e),1],Zt];default:break x}}var P=nn(a,e);return[0,[1,P,DJ(t,u,i)(a)],Zt]}return[0,[0,e,CJ(a,e),1],Zt]}var O=nn(a,e);return[0,[1,O,DJ(t,u,i)(a)],Zt]},x),v=c[2];return[0,[0,[0,c[1],v[1]]],v[2]]}function qw0(x){if(M(x)===12){var r=f0(x),e=r0(0,function(v0){return W(v0,12),OJ(v0)},x),t=e[2],u=t[2],i=t[1],c=e[1];return[0,[1,[0,c,[0,i,t0([0,r],0,R)]]],u]}var v=fx(x),a=vr(1,x);x:{r:if(typeof a=="number"){if(86<=a){if(a!==98&&87<=a)break r}else if(a!==82){if(10<=a)break r;switch(a){case 1:case 4:case 9:break;default:break r}}var _=0,y=0;break x}var p=yd(x),_=p[2],y=p[1]}var S=zo(x),E=S[1],j=Fx(_,S[2]),C=M(x);if(!y&&!E&&typeof C!="number"&&C[0]===4){var P=C[3];if(!I(P,bo)){var O=f0(x),F=Pa(0,x)[2],K=M(x);x:if(typeof K=="number"){if(86<=K){if(K!==98&&87<=K)break x}else if(K!==82){if(10<=K)break x;switch(K){case 1:case 4:case 9:break;default:break x}}return lC(x,v,F,0,0,0)}nn(x,F);var U=r0([0,v],function(v0){return Ed(v0,0,1)},x),V=U[2],Q=V[2],$=V[1],x0=U[1];return[0,[0,[0,x0,[2,$,Q,t0([0,O],0,R)]]],Zt]}if(!I(P,Dv)){var e0=f0(x),Z=Pa(0,x)[2],c0=M(x);x:if(typeof c0=="number"){if(86<=c0){if(c0!==98&&87<=c0)break x}else if(c0!==82){if(10<=c0)break x;switch(c0){case 1:case 4:case 9:break;default:break x}}return lC(x,v,Z,0,0,0)}nn(x,Z);var d0=r0([0,v],function(v0){return Ed(v0,0,0)},x),n0=d0[2],P0=n0[2],h0=n0[1],g0=d0[1];return[0,[0,[0,g0,[3,h0,P0,t0([0,e0],0,R)]]],Zt]}}return lC(x,v,Pa(0,x)[2],y,E,j)}function Bw0(x){var r=r0(0,function(t){var u=f0(t);W(t,0);x:for(var i=0,c=[0,0,Zt];;){var v=c[2],a=c[1],p=M(t);if(typeof p=="number"){if(p===1)break x;if(Dr===p)break}var _=qw0(t),y=_[1],S=_[2];r:{if(y[0]===1&&M(t)===9){var E=[0,fx(t)];break r}var E=0}var j=JO(S,v),C=M(t);r:{e:if(typeof C=="number"){var P=C-2|0;if(j2

>>0){if(ue>>0)break e}else{if(P!==7)break e;b0(t)}var U=j;break r}var O=QN(Vc0,9),F=kX([0,O],M(t)),K=[0,fx(t),F];f2(t,8);var U=[0,[0,K,j[1]],[0,K,j[2]]]}var i=E,c=[0,[0,y,a],U]}var V=i?[0,v[1],[0,[0,i[1],90],v[2]]]:v,Q=pJ(V),$=vx(a),x0=f0(t);return W(t,1),[0,[0,$,F2([0,u],[0,xx(t)],x0,R)],Q]},x),e=r[2];return[0,r[1],e[1],e[2]]}function Sd(x,r,e,t){var u=e[2][1],i=e[1];if(Sr(u,ho))return D0(x,[0,i,[15,u,0,XL===t?1:0,1]]),r;x:{r:{e:{for(var c=r;;){if(typeof c=="number")break r;if(c[0]===0)break e;var v=ix(u,c[2]),a=c[5],p=c[4],_=c[3];if(v===0)break;var y=0<=v?a:p,c=y}var E=[0,_];break x}var S=c[2];if(ix(u,c[1])===0){var E=[0,S];break x}var E=0;break x}var E=0}if(!E)return id(u,t,r);var j=E[1];x:r:{if(NA===t){if(zj===j)break r}else if(zj===t&&NA===j)break r;D0(x,[0,i,[1,u]]);break x}return id(u,qF,r)}function FJ(x,r){return r0(0,function(e){var t=r?f0(e):0;W(e,52);for(var u=0;;){var i=[0,r0(0,function(a){var p=zc(a);if(M(a)===98)var _=I2(a)[2],y=k(_,p,function(S,E){return k(Wx(S,Av,91),S,E)});else var y=p;return[0,y,nJ(a)]},e),u],c=M(e);if(typeof c=="number"&&c===9){W(e,9);var u=i;continue}var v=vx(i);return[0,v,t0([0,t],0,R)]}},x)}function pC(x){switch(x[0]){case 0:case 3:var r=x[1];return[0,[0,r[1],r[2][1]]];default:return 0}}function kC(x,r){if(r)return D0(x,[0,r[1][1],$f])}function mC(x,r){if(r)return D0(x,[0,r[1],12])}function LJ(x,r,e,t,u,i,c,v){var a=r0([0,r],function(C){var P=DO(C),O=M(C);x:if(i){if(typeof O=="number"&&O===82){Kx(C,13),b0(C);var F=0;break x}var F=0}else{if(typeof O=="number"&&O===82){b0(C);var K=qo(1,C),F=[0,l(z0[7],K)];break x}var F=1}var U=M(C);x:{if(typeof U=="number"&&9>U)switch(U){case 8:b0(C);var V=M(C);r:{e:if(typeof V=="number"){if(V!==1&&Dr!==V)break e;var Q=xx(C);break r}var Q=K1(C)?Sa(C):0}var v0=[0,t,P,F,Q];break x;case 4:case 6:_2(0,C);var v0=[0,t,P,F,0];break x}var $=M(C);r:{e:if(typeof $=="number"){if($!==1&&Dr!==$)break e;var x0=[0,,function(N0,X0){return N0}];break r}var x0=K1(C)?i6(C):ed(C)}if(typeof F=="number")if(P[0]===0)var e0=function(E0,N0){return k(Wx(E0,rR,94),E0,N0)},P0=F,h0=P,g0=k(x0[2],t,e0);else var Z=P[1],c0=function(E0,N0){return k(Wx(E0,Kj,95),E0,N0)},P0=F,h0=[1,k(x0[2],Z,c0)],g0=t;else var d0=F[1],n0=function(E0,N0){return k(Wx(E0,Wt,96),E0,N0)},P0=[0,k(x0[2],d0,n0)],h0=P,g0=t;var v0=[0,g0,h0,P0,0]}var p0=v0[3],w0=v0[2],T0=v0[1];return[0,T0,w0,p0,t0([0,v],[0,v0[4]],R)]},x),p=a[2],_=p[4],y=p[3],S=p[2],E=p[1],j=a[1];return E[0]===4?[2,[0,j,[0,E[1],y,S,u,c,e,_]]]:[1,[0,j,[0,E,y,S,u,c,e,_]]]}function hC(x,r,e,t,u,i,c,v,a,p){for(;;){var _=M(x);x:if(typeof _=="number"){var y=_-1|0;if(7>>0){var S=y-81|0;if(4>>0)break x;switch(S){case 3:_2(0,x),b0(x);continue;case 0:case 4:break;default:break x}}else if(5>=y-1>>>0)break x;if(!u&&!i)return LJ(x,r,e,t,c,v,a,p)}var E=M(x);x:{if(typeof E=="number"&&(E===4||E===98)){var j=0;break x}var j=c3(x)?1:0}if(j)return LJ(x,r,e,t,c,v,a,p);mC(x,v),kC(x,a);var C=pC(t);x:{if(c){if(C){var P=C[1],O=P[1];if(!I(P[2],sa)){D0(x,[0,O,[15,yl0,c,1,0]]);var U=qo(1,x),V=1;break x}}}else if(C){var F=C[1],K=F[1];if(!I(F[2],ho)){u&&D0(x,[0,K,9]),i&&D0(x,[0,K,10]);var U=qo(2,x),V=0;break x}}var U=qo(1,x),V=1}var Q=nn(U,t),$=r0(0,function(e0){var Z=r0(0,function(p0){var w0=Y1(p0,De(p0)),T0=l3(u,i)(p0),E0=M(p0)===86?T0:f6(p0,T0),N0=E0[2],X0=N0[1];x:{if(X0){var A0=X0[1][1],rx=E0[1];if(V===0){D0(p0,[0,A0,87]);var B=[0,rx,[0,0,N0[2],N0[3],N0[4]]];break x}}var B=E0}return[0,w0,B,s3(p0,RO(p0))]},e0),c0=Z[2],d0=c0[2],n0=c0[3],P0=c0[1],h0=Z[1],g0=h6(e0,u,i,0,Ko(d0)),v0=g0[1];return v3(e0,g0[2],0,d0),[0,0,d0,v0,u,i,1,0,n0,P0,0,h0]},U),x0=[0,V,Q,$,c,e,t0([0,p],0,R)];return[0,[0,Zr(r,$[1]),x0]]}}function dC(x,r){var e=vr(x,r);x:if(typeof e=="number"){if(86<=e){if(e!==98&&87<=e)break x}else if(e!==82){if(9<=e)break x;switch(e){case 1:case 4:case 8:break;default:break x}}return 1}return 0}var Xw0=0;function MJ(x){return dC(Xw0,x)}function Jw0(x){var r=fx(x),e=vC(x),t=M(x);x:{if(typeof t=="number"&&t===60&&!dC(1,x)){var u=[0,fx(x)],i=f0(x);b0(x);var c=i,v=u;break x}var c=0,v=0}var a=M(x);x:if(typeof a=="number"&&2>=a+aL>>>0&&Ms(1,x)){r:{if(typeof a=="number"){var p=a+aL|0;if(2>=p>>>0){switch(p){case 0:var _=ZM;break;case 1:var _=tl;break;default:var _=ol}var y=_;break r}}var y=gx(gl0)}Kx(x,[22,y]),b0(x);break x}var S=M(x)===42?1:0;if(S){var E=vr(1,x);x:{r:if(typeof E=="number"){if(87<=E){if(E!==98&&Dr!==E)break r}else{var j=E-9|0;if(76>>0){if(77>j)switch(j+9|0){case 1:case 4:case 8:break;default:break r}}else if(j!==73)break r}var C=0;break x}var C=1}var P=C}else var P=S;if(P){var O=f0(x);b0(x);var F=O}else var F=0;var K=M(x)===64?1:0;if(K)var U=1-dC(1,x),V=U&&1-t6(1,x);else var V=K;if(V){var Q=f0(x);b0(x);var $=Q}else var $=0;var x0=zo(x),e0=x0[1],Z=x0[2],c0=Ms(1,x),d0=c0||(vr(1,x)===6?1:0),n0=ww0(x,d0,V,e0);x:{if(!e0&&n0){var P0=zo(x),h0=P0[2],g0=P0[1];break x}var h0=Z,g0=e0}var v0=Rl([0,c,[0,F,[0,$,[0,h0,0]]]]),p0=M(x);if(!V&&!g0&&typeof p0!="number"&&p0[0]===4){var w0=p0[3];if(!I(w0,bo)){var T0=f0(x),E0=Pa(bl0,x)[2];if(MJ(x))return hC(x,r,e,E0,V,g0,P,v,n0,v0);mC(x,v),kC(x,n0),nn(x,E0);var N0=Fx(v0,T0),X0=r0([0,r],function(jx){return Ed(jx,1,1)},x),A0=X0[2],rx=A0[1],B=A0[2],G0=X0[1],W0=pC(rx);x:if(P){if(W0){var Y0=W0[1],V0=Y0[1];if(!I(Y0[2],sa)){D0(x,[0,V0,[15,El0,P,0,0]]);break x}}}else if(W0){var ex=W0[1],Q0=ex[1];if(!I(ex[2],ho)){D0(x,[0,Q0,8]);break x}}return[0,[0,G0,[0,2,rx,B,P,e,t0([0,N0],0,R)]]]}if(!I(w0,Dv)){var S0=f0(x),q0=Pa(_l0,x)[2];if(MJ(x))return hC(x,r,e,q0,V,g0,P,v,n0,v0);mC(x,v),kC(x,n0),nn(x,q0);var yx=Fx(v0,S0),cx=r0([0,r],function(jx){return Ed(jx,1,0)},x),Dx=cx[2],Ix=Dx[1],Xx=Dx[2],Z0=cx[1],rr=pC(Ix);x:if(P){if(rr){var xr=rr[1],fr=xr[1];if(!I(xr[2],sa)){D0(x,[0,fr,[15,Tl0,P,0,0]]);break x}}}else if(rr){var Hx=rr[1],Y=Hx[1];if(!I(Hx[2],ho)){D0(x,[0,Y,8]);break x}}return[0,[0,Z0,[0,3,Ix,Xx,P,e,t0([0,yx],0,R)]]]}}return hC(x,r,e,Pa(wl0,x)[2],V,g0,P,v,n0,v0)}function UJ(x,r,e,t){var u=x?x[1]:0,i=Fs(1,r),c=Fx(u,vC(i)),v=f0(i),a=M(i);x:if(typeof a!="number"&&a[0]===4&&!I(a[3],xg)){Kx(i,83),b0(i);break x}W(i,40);var p=fO(1,i),_=M(p);x:{r:if(e&&typeof _=="number"){if(52<=_){if(_!==98&&53<=_)break r}else if(_!==41&&_)break r;var E=0;break x}if(Jc(i))var y=k(z0[13],0,p),S=I2(i)[2],E=[0,k(S,y,function(Z,c0){return k(Wx(Z,Av,98),Z,c0)})];else{mX(i,kl0);var E=[0,[0,fx(i),ml0]]}}var j=De(i);if(j)var C=j[1],P=I2(i)[2],O=[0,k(P,C,function(Z,c0){return k(Wx(Z,Wj,97),Z,c0)})];else var O=0;var F=f0(i);if(f2(i,41))var K=r0(0,function(Z){var c0=l(gd,uO(0,Z));if(M(Z)===98)var d0=I2(Z)[2],n0=k(d0,c0,function(h0,g0){return k(Wx(h0,Wt,92),h0,g0)});else var n0=c0;var P0=nJ(Z);return[0,n0,P0,t0([0,F],0,R)]},i),U=K[1],V=K[2],Q=I2(i)[2],$=[0,[0,U,k(Q,V,function(Z,c0){return B0(Wx(Z,-663447790,93),Z,U,c0)})]];else var $=0;if(M(i)===52){1-g2(i)&&Kx(i,z2);var x0=[0,bX(i,FJ(i,1))]}else var x0=0;var e0=r0(0,function(Z){var c0=f0(Z);if(!f2(Z,0))return tn(Z,0),dl0;Z[30][1]=[0,[0,y1[1],0],Z[30][1]];for(var d0=0,n0=Yb0,P0=0;;){var h0=M(Z);if(typeof h0=="number"){var g0=h0-2|0;if(j2>>0){if(ue>=g0+1>>>0)break}else if(g0===6){W(Z,8);continue}}var v0=Jw0(Z);switch(v0[0]){case 0:var p0=v0[1],w0=p0[2],T0=p0[1];switch(w0[1]){case 0:if(w0[4])var cx=n0,Dx=d0;else{d0&&D0(Z,[0,T0,15]);var cx=n0,Dx=1}break;case 1:var E0=w0[2],N0=E0[0]===4?Sd(Z,n0,E0[1],XL):n0,cx=N0,Dx=d0;break;case 2:var X0=w0[2],A0=X0[0]===4?Sd(Z,n0,X0[1],NA):n0,cx=A0,Dx=d0;break;default:var rx=w0[2],B=rx[0]===4?Sd(Z,n0,rx[1],zj):n0,cx=B,Dx=d0}break;case 1:var G0=v0[1][2],W0=G0[4],Y0=G0[1];switch(Y0[0]){case 4:gx(hl0);break;case 0:case 3:var V0=Y0[1],ex=V0[2][1],Q0=Sr(ex,ho),S0=V0[1];if(Q0)var yx=Q0;else var q0=Sr(ex,sa),yx=q0&&W0;yx&&D0(Z,[0,S0,[15,ex,W0,0,0]]);break}var cx=n0,Dx=d0;break;default:var cx=Sd(Z,n0,v0[1][2][1],qF),Dx=d0}var d0=Dx,n0=cx,P0=[0,v0,P0]}var Ix=vx(P0);function Xx(L0,sx){return Fl(function(lx){return 1-y1[3].call(null,lx[1],L0)})(sx)}var Z0=Z[30][1];if(Z0){var rr=Z0[1],xr=rr[1];if(Z0[2]){var fr=Z0[2],Hx=Xx(xr,rr[2]),Y=Dl(fr),jx=Y[2],hr=Y[1],Yx=rq(fr),Ur=[0,[0,hr,Fx(jx,Hx)],Yx];Z[30][1]=Ur}else{var px=Xx(xr,rr[2]);p1(function(L0){return D0(Z,[0,L0[2],[23,L0[1]]])},px),Z[30][1]=0}}else gx(rs0);W(Z,1);var w=M(Z);x:{r:if(!t){if(typeof w=="number"&&(w===1||Dr===w))break r;if(K1(Z)){var L=Sa(Z);break x}var L=0;break x}var L=xx(Z)}return[0,Ix,t0([0,c0],[0,L],R)]},i);return[0,E,e0,O,$,x0,c,t0([0,v],0,R)]}function Ad(x,r){return r0(0,function(e){return[2,UJ([0,r],e,e[7],0)]},x)}function Kw0(x){return[7,UJ(0,x,1,1)]}var Yw0=0;function zw0(x){return r0(Yw0,Kw0,x)}var qJ=AX(z0);function BJ(x){var r=d6(x);x:if(x[5])Jo(x,r[1]);else{var e=r[2];r:if(e[0]===27){var t=e[1],u=r[1];if(t[4])D0(x,[0,u,4]);else{if(!t[5])break r;D0(x,[0,u,22])}break x}}return r}function Id(x,r){var e=r[4],t=r[3],u=r[2],i=r[1];e&&Ot(x,76);var c=f0(x);return W(x,[2,[0,i,u,t,e]]),[0,i,[0,u,t,t0([0,c],[0,xx(x)],R)]]}function Z2(x,r,e){var t=x?x[1]:pv0,u=r?r[1]:1,i=M(e);if(typeof i=="number"){var c=i-2|0;if(j2>>0){if(ue>=c+1>>>0){var v=function(p,_){return p};return[1,[0,xx(e),v]]}}else if(c===6){b0(e);var a=M(e);x:if(typeof a=="number"){if(a!==1&&Dr!==a)break x;return[0,xx(e)]}return K1(e)?[0,Sa(e)]:kv0}}return K1(e)?[1,i6(e)]:(u&&_2([0,t],e),mv0)}function Bs(x){var r=M(x);x:if(typeof r=="number"){if(r!==1&&Dr!==r)break x;var e=function(t,u){return t};return[0,xx(x),e]}return K1(x)?i6(x):ed(x)}function yC(x,r,e){var t=Z2(0,0,r);if(t[0]===0)return[0,t[1],e];var u=t[1][2],i=vx(e);if(i)var c=i[2],v=i[1],a=vx([0,k(u,v,function(p,_){return B0(Wx(p,634872468,62),p,x,_)}),c]);else var a=0;return[0,0,a]}var XJ=function x(r){return x.fun(r)},JJ=function x(r){return x.fun(r)},KJ=function x(r){return x.fun(r)},YJ=function x(r){return x.fun(r)},zJ=function x(r){return x.fun(r)},g6=function x(r,e){return x.fun(r,e)},VJ=function x(r){return x.fun(r)},GJ=function x(r){return x.fun(r)},_6=function x(r,e,t){return x.fun(r,e,t)},WJ=function x(r){return x.fun(r)},$J=function x(r){return x.fun(r)},b6=function x(r,e){return x.fun(r,e)},HJ=function x(r){return x.fun(r)},QJ=function x(r){return x.fun(r)},jd=function x(r,e){return x.fun(r,e)},ZJ=function x(r){return x.fun(r)},Pd=function x(r,e){return x.fun(r,e)},xK=function x(r){return x.fun(r)},rK=function x(r){return x.fun(r)},k3=function x(r,e,t){return x.fun(r,e,t)},gC=function x(r){return x.fun(r)},w6=function x(r,e,t){return x.fun(r,e,t)},T6=function x(r,e){return x.fun(r,e)},_C=function x(r){return x.fun(r)},eK=function x(r){return x.fun(r)},tK=function x(r){return x.fun(r)},nK=function x(r,e){return x.fun(r,e)},uK=function x(r,e){return x.fun(r,e)},iK=function x(r){return x.fun(r)},m3=function x(r){return x.fun(r)},Nd=function x(r,e,t){return x.fun(r,e,t)},bC=function x(r,e){return x.fun(r,e)},fK=function x(r,e){return x.fun(r,e)},wC=function x(r){return x.fun(r)};function Vw0(x){var r=f0(x);W(x,59);var e=M(x)===8?xx(x):0,t=Z2(0,0,x),u=t[0]===0?t[1]:t[1][1];return[5,[0,t0([0,r],[0,Fx(e,u)],R)]]}var Gw0=0;function Ww0(x){var r=f0(x);W(x,37);var e=r6(1,x),t=l(z0[2],e),u=1-x[5],i=u&&c6(t);i&&Jo(x,t[1]);var c=xx(x);W(x,25);var v=xx(x);W(x,4);var a=l(z0[7],x);W(x,5);var p=M(x)===8?xx(x):0,_=Z2(0,lv0,x),y=_[0]===0?Fx(p,_[1]):_[1][1];return[18,[0,t,a,t0([0,r],[0,Fx(c,Fx(v,y))],R)]]}var $w0=0;function cK(x,r,e){var t=e[2][1],u=e[1];if(!(t&&!t[1][2][2]&&!t[2]))return D0(x,[0,u,r])}function TC(x,r){if(!x[5]&&c6(r))return Jo(x,r[1])}function Hw0(x){var r=f0(x);W(x,39);var e=x[19],t=e&&f2(x,65),u=Fx(r,f0(x));W(x,4);var i=t0([0,u],0,R),c=M(x);x:{if(typeof c=="number"&&c===64){var v=1;break x}var v=0}var a=e6(1,x),p=M(a);x:{if(typeof p=="number"){if(24<=p){if(29>p)switch(p+Tb|0){case 0:var _=r0(0,aJ,a),y=_[2],S=y[3],E=y[1],j=_[1],e0=S,Z=[0,[1,[0,j,[0,E,0,t0([0,y[2]],0,R)]]]];break x;case 3:var C=r0(0,oJ,a),P=C[2],O=P[3],F=P[1],K=C[1],e0=O,Z=[0,[1,[0,K,[0,F,2,t0([0,P[2]],0,R)]]]];break x;case 4:if(vr(1,a)!==17){var U=r0(0,vJ,a),V=U[2],Q=V[3],$=V[1],x0=U[1],e0=Q,Z=[0,[1,[0,x0,[0,$,1,t0([0,V[2]],0,R)]]]];break x}break}}else if(p===8){var e0=0,Z=0;break x}}var e0=0,Z=[0,[0,l(z0[8],a)]]}var c0=M(x);if(typeof c0=="number"){if(c0===17){if(!Z)throw U0([0,Ar,vv0],1);var d0=Z[1];if(d0[0]===0)var n0=[1,XO(ov0,x,d0[1])];else{var P0=d0[1];cK(x,39,P0);var n0=[0,P0]}t?W(x,63):W(x,17);var h0=l(z0[7],x);W(x,5);var g0=r6(1,x),v0=l(z0[2],g0);return TC(x,v0),[25,[0,n0,h0,v0,0,i]]}if(c0===63){if(!Z)throw U0([0,Ar,av0],1);var p0=Z[1];if(p0[0]===0){var w0=XO(sv0,x,p0[1]),T0=1-t,E0=T0&&v;x:if(E0){var N0=w0[2];if(N0[0]===2){var X0=N0[1][1],A0=X0[1];if(!I(X0[2][1],oa)){D0(x,[0,A0,40]);break x}}}var rx=[1,w0]}else{var B=p0[1];cK(x,40,B);var rx=[0,B]}W(x,63);var G0=l(z0[10],x);W(x,5);var W0=r6(1,x),Y0=l(z0[2],W0);return TC(x,Y0),[26,[0,rx,G0,Y0,t,i]]}}if(p1(function(Xx){return D0(x,Xx)},e0),t?W(x,63):W(x,8),Z)var V0=Z[1],ex=V0[0]===0?[0,[1,f1(x,V0[1])]]:[0,[0,V0[1]]],Q0=ex;else var Q0=0;var S0=M(x);x:{if(typeof S0=="number"&&S0===8){var q0=0;break x}var q0=[0,l(z0[7],x)]}W(x,8);var yx=M(x);x:{if(typeof yx=="number"&&yx===5){var cx=0;break x}var cx=[0,l(z0[7],x)]}W(x,5);var Dx=r6(1,x),Ix=l(z0[2],Dx);return TC(x,Ix),[24,[0,Q0,q0,cx,Ix,i]]}var Qw0=0;function sK(x){var r=Ea(x)?BJ(x):l(z0[2],x),e=1-x[5],t=e&&c6(r);return t&&Jo(x,r[1]),r}function Zw0(x){var r=f0(x);W(x,43);var e=sK(x);return[0,e,t0([0,r],0,R)]}function xT0(x){var r=f0(x);W(x,16);var e=Fx(r,f0(x));W(x,4);var t=l(z0[7],x);W(x,5);var u=sK(x),i=M(x)===43?[0,r0(0,Zw0,x)]:0;return[28,[0,t,u,i,t0([0,e],0,R)]]}var rT0=0;function aK(x){return r0(rT0,xT0,x)}function eT0(x){1-x[11]&&Kx(x,27);var r=f0(x),e=fx(x);W(x,19);var t=M(x)===8?xx(x):0;x:{if(M(x)!==8&&!c3(x)){var u=[0,l(z0[7],x)];break x}var u=0}var i=Zr(e,fx(x)),c=Z2(0,0,x);x:{if(c[0]===0)var v=c[1];else{var a=c[1],p=a[1];if(u){var _=u[1],y=a[2],S=[0,k(y,_,function(O,F){return k(Wx(O,Wt,63),O,F)})],E=t;break x}var v=p}var S=u,E=Fx(t,v)}return[32,[0,S,t0([0,r],[0,E],R),i]]}var tT0=0;function nT0(x){var r=f0(x);W(x,20),W(x,4);var e=l(z0[7],x);W(x,5),W(x,0);for(var t=cv0;;){var u=t[2],i=t[1],c=M(x);x:if(typeof c=="number"){if(c!==1&&Dr!==c)break x;var v=vx(u);W(x,1);var a=Bs(x)[1],p=e[1];return[33,[0,e,v,t0([0,r],[0,a],R),p]]}var _=hO(0,function(S){return function(E){var j=f0(E),C=M(E);x:{if(typeof C=="number"&&C===36){S&&Kx(E,53),W(E,36);var P=xx(E),O=0;break x}W(E,33);var P=0,O=[0,l(z0[7],E)]}var F=S||(O===0?1:0);W(E,86);var K=Fx(P,Bs(E)[1]);function U(x0){x:if(typeof x0=="number"){var e0=x0-1|0;if(32>>0){if(e0!==35)break x}else if(30>=e0-1>>>0)break x;return 1}return 0}var V=1,Q=E[9]===1?E:[0,E[1],E[2],E[3],E[4],E[5],E[6],E[7],E[8],V,E[10],E[11],E[12],E[13],E[14],E[15],E[16],E[17],E[18],E[19],E[20],E[21],E[22],E[23],E[24],E[25],E[26],E[27],E[28],E[29],E[30],E[31]],$=k(z0[4],U,Q);return[0,[0,O,$,t0([0,j],[0,K],R)],F]}}(i),x),t=[0,_[2],[0,_[1],u]]}}var uT0=0;function iT0(x){var r=f0(x),e=fx(x);W(x,22),K1(x)&&D0(x,[0,e,54]);var t=l(z0[7],x),u=Z2(0,0,x);if(u[0]===0)var v=t,a=u[1];else var i=u[1][2],c=0,v=k(i,t,function(p,_){return k(Wx(p,Wt,64),p,_)}),a=c;return[34,[0,v,t0([0,r],[0,a],R)]]}var fT0=0;function cT0(x){var r=f0(x);W(x,23);var e=l(z0[15],x);if(M(x)===34)var t=I2(x)[2],u=k(t,e,function(C,P){var O=P[1];return[0,O,B0(Wx(C,rk,4),C,O,P[2])]});else var u=e;var i=M(x);x:{if(typeof i=="number"&&i===34){var c=[0,r0(0,function(P){var O=f0(P);W(P,34);var F=xx(P);if(M(P)===4){W(P,4);var K=[0,k(z0[18],P,67)];W(P,5);var U=K}else var U=0;var V=l(z0[15],P);if(M(P)===38)var $=V;else var Q=Bs(P)[2],$=k(Q,V,function(x0,e0){var Z=e0[1];return[0,Z,B0(Wx(x0,rk,65),x0,Z,e0[2])]});return[0,U,$,t0([0,O],[0,F],R)]},x)];break x}var c=0}var v=M(x);x:{if(typeof v=="number"&&v===38){W(x,38);var a=l(z0[15],x),p=a[1],_=a[2],y=Bs(x)[2],S=[0,[0,p,k(y,_,function(P,O){return B0(Wx(P,rk,66),P,p,O)})]];break x}var S=0}var E=c===0?1:0,j=E&&(S===0?1:0);return j&&D0(x,[0,u[1],56]),[35,[0,u,c,S,t0([0,r],0,R)]]}var sT0=0;function aT0(x){var r=aJ(x),e=r[3],t=r[2],u=yC(0,x,r[1]),i=0,c=u[2],v=u[1];return p1(function(a){return D0(x,a)},e),[38,[0,c,i,t0([0,t],[0,v],R)]]}var oT0=0;function vT0(x){var r=oJ(x),e=r[3],t=r[2],u=yC(2,x,r[1]),i=2,c=u[2],v=u[1];return p1(function(a){return D0(x,a)},e),[38,[0,c,i,t0([0,t],[0,v],R)]]}var lT0=0;function pT0(x){var r=vJ(x),e=r[3],t=r[2],u=yC(1,x,r[1]),i=1,c=u[2],v=u[1];return p1(function(a){return D0(x,a)},e),[38,[0,c,i,t0([0,t],[0,v],R)]]}var kT0=0;function mT0(x){var r=f0(x);W(x,25);var e=Fx(r,f0(x));W(x,4);var t=l(z0[7],x);W(x,5);var u=r6(1,x),i=l(z0[2],u),c=1-x[5],v=c&&c6(i);return v&&Jo(x,i[1]),[39,[0,t,i,t0([0,e],0,R)]]}var hT0=0;function dT0(x){var r=f0(x),e=l(z0[7],x),t=M(x),u=e[2];if(u[0]===10&&typeof t=="number"&&t===86){var i=u[1],c=i[2][1],v=e[1];W(x,86),y1[3].call(null,c,x[3])&&D0(x,[0,v,[21,iv0,c]]);var a=x[31],p=x[30],_=x[29],y=x[28],S=x[27],E=x[26],j=x[25],C=x[24],P=x[23],O=x[22],F=x[21],K=x[20],U=x[19],V=x[18],Q=x[17],$=x[16],x0=x[15],e0=x[14],Z=x[13],c0=x[12],d0=x[11],n0=x[10],P0=x[9],h0=x[8],g0=x[7],v0=x[6],p0=x[5],w0=x[4],T0=y1[4].call(null,c,x[3]),E0=[0,x[1],x[2],T0,w0,p0,v0,g0,h0,P0,n0,d0,c0,Z,e0,x0,$,Q,V,U,K,F,O,P,C,j,E,S,y,_,p,a],N0=Ea(E0)?BJ(E0):l(z0[2],E0);return[31,[0,i,N0,t0([0,r],0,R)]]}var X0=Z2(fv0,0,x);if(X0[0]===0)var B=e,G0=X0[1];else var A0=X0[1][2],rx=0,B=k(A0,e,function(W0,Y0){return k(Wx(W0,Wt,67),W0,Y0)}),G0=rx;return[23,[0,B,0,t0(0,[0,G0],R)]]}var yT0=0;function gT0(x){var r=l(z0[7],x),e=Z2(uv0,0,x);if(e[0]===0)var i=r,c=e[1];else var t=e[1][2],u=0,i=k(t,r,function(E,j){return k(Wx(E,Wt,68),E,j)}),c=u;if(x[20]){var v=i[2];if(v[0]===14){var a=v[1][2];x:{if(1i)switch(i-53|0){case 0:return r0([0,u],function(a){1-g2(a)&&Kx(a,_t);var p=r0(0,l(b6,0),a),_=[0,p[1],[30,p[2]]];return[22,[0,[0,_],0,0,0,t0([0,t],0,R)]]},e);case 8:if(vr(1,e)!==0)return r0([0,u],function(a){1-g2(a)&&Kx(a,_t);var p=vr(1,a);if(typeof p=="number"){if(p===48)return Kx(a,17),W(a,61),[22,[0,0,0,0,0,t0([0,t],0,R)]];if(z2===p){W(a,61);var _=fx(a);W(a,z2);var y=l(m3,a),S=y[1];return[22,[0,0,[0,[1,[0,_,0]]],[0,S],0,t0([0,t],[0,y[2]],R)]]}}var E=r0(0,l(g6,0),a),j=[0,E[1],[36,E[2]]];return[22,[0,[0,j],0,0,0,t0([0,t],0,R)]]},e);break;case 9:return r0([0,u],function(a){var p=r0(0,function(y){return l(k(_6,0,0),y)},a),_=[0,p[1],[37,p[2]]];return[22,[0,[0,_],0,0,0,t0([0,t],0,R)]]},e)}}else if(i===36)return r0([0,u],function(a){var p=Fx(t,f0(a)),_=r0(0,function(U){return W(U,36)},a)[1],y=fX(1,a);x:{if(!Ea(y)&&!Qh(y)){if(n6(y)){var F=0,K=[0,Ad(y,x)];break x}if(M(y)===48){var F=0,K=[0,lJ(0)(y)];break x}if(lO(y)){var F=0,K=[0,BO(y)];break x}var S=l(z0[10],y),E=Z2(0,0,y);if(E[0]===0)var P=E[1],O=S;else var j=E[1][2],C=0,P=C,O=k(j,S,function(Q,$){return k(Wx(Q,Wt,86),Q,$)});var F=P,K=[1,O];break x}var F=0,K=[0,d6(y)]}return[21,[0,_,K,t0([0,p],[0,F],R)]]},e)}if(n6(e))return r0([0,u],function(a){var p=Ad(a,x);return[22,[0,[0,p],0,0,1,t0([0,t],0,R)]]},e);if(!Ea(e)&&!Qh(e)){if(typeof i=="number"){var c=i+Tb|0;if(4>>0){if(c===24&&e[28][2])return r0([0,u],function(a){var p=k(z0[3],[0,x],a);return[22,[0,[0,p],0,0,1,t0([0,t],0,R)]]},e)}else if(1>>0)return r0([0,u],function(a){var p=k(z0[3],[0,x],a);return[22,[0,[0,p],0,0,1,t0([0,t],0,R)]]},e)}if(lO(e))return r0([0,u],function(a){var p=BO(a);return[22,[0,[0,p],0,0,1,t0([0,t],0,R)]]},e);if(typeof i=="number"&&z2===i)return r0([0,u],function(a){var p=fx(a);W(a,z2);var _=M(a);x:{if(typeof _!="number"&&_[0]===4&&!I(_[3],Jt)){b0(a);var y=[0,g1(a)];break x}var y=0}var S=l(m3,a),E=S[1];return[22,[0,0,[0,[1,[0,p,y]]],[0,E],1,t0([0,t],[0,S[2]],R)]]},e);var v=f2(e,61)?0:1;return f2(e,0)?r0([0,u],function(a){var p=B0(Nd,0,a,0);W(a,1);var _=M(a);x:{if(typeof _!="number"&&_[0]===4&&!I(_[3],fl)){var y=l(m3,a),j=y[2],C=[0,y[1]];break x}k(bC,a,p);var S=Z2(0,0,a),E=S[0]===0?S[1]:S[1][1],j=E,C=0}return[22,[0,0,[0,[0,p]],C,v,t0([0,t],[0,j],R)]]},e):(_2(Mo0,e),k(z0[3],[0,x],e))}return r0([0,u],function(a){Zh(a)(x);var p=d6(a);return[22,[0,[0,p],0,0,1,t0([0,t],0,R)]]},e)}),m0(wC,function(x){return r0(0,function(r){1-g2(r)&&Kx(r,Ze);var e=f0(r);W(r,60);var t=iX(1,Fs(1,r)),u=Fx(e,f0(t));W(t,49);var i=M(t);if(typeof i=="number")switch(i){case 36:var c=Fx(u,f0(t)),v=r0(0,function(Q0){return W(Q0,36)},t)[1],a=fX(1,t),p=M(a);x:{if(typeof p=="number")switch(p){case 15:var _=l(k3,0),y=0,V=y,Q=[0,[1,r0(0,function(q0){return k(_,0,q0)},a)]];break x;case 40:var V=0,Q=[0,[2,r0(0,l(jd,0),a)]];break x}else if(p[0]===4){var S=p[3];if(I(S,ta)){if(!I(S,wo)&&a[28][1]){var E=l(k3,0),j=0,V=j,Q=[0,[1,r0(0,function(q0){return k(E,0,q0)},a)]];break x}}else if(a[28][1]){var V=0,Q=[0,[3,r0(0,l(Pd,0),a)]];break x}}var C=qs(a),P=Z2(0,0,a);if(P[0]===0)var K=P[1],U=C;else var O=P[1][2],F=0,K=F,U=k(O,C,function(Q0,S0){return k(Wx(Q0,wv,87),Q0,S0)});var V=K,Q=[0,[4,U]]}return[9,[0,[0,v],Q,0,0,t0([0,c],[0,V],R)]];case 48:if(t[28][2]){var $=qJ[1],x0=r0(0,function(Q0){return $(0,Q0)},t);return[9,[0,0,[0,[8,x0]],0,0,t0([0,u],0,R)]]}break;case 53:var e0=r0(0,l(b6,0),t);return[9,[0,0,[0,[7,e0]],0,0,t0([0,u],0,R)]];case 61:var Z=r0(0,l(g6,0),t);return[9,[0,0,[0,[5,Z]],0,0,t0([0,u],0,R)]];case 62:var c0=r0(0,k(_6,Fo0,0),t);return[9,[0,0,[0,[6,c0]],0,0,t0([0,u],0,R)]];case 106:var d0=fx(t);W(t,z2);var n0=M(t);x:{if(typeof n0!="number"&&n0[0]===4&&!I(n0[3],Jt)){b0(t);var P0=[0,k(z0[13],0,t)];break x}var P0=0}var h0=l(m3,t),g0=h0[1];return[9,[0,0,0,[0,[1,[0,d0,P0]]],[0,g0],t0([0,u],[0,h0[2]],R)]];case 15:case 24:case 27:case 28:case 40:var v0=M(t);x:if(typeof v0=="number"){if(24<=v0){if(41<=v0)break x;switch(v0+Tb|0){case 0:var p0=[0,[0,r0(0,function(Q0){return B0(w6,0,Q0,0)},t)]];break;case 3:var p0=[0,[0,r0(0,function(Q0){return B0(w6,2,Q0,0)},t)]];break;case 4:var p0=[0,[0,r0(0,function(Q0){return B0(w6,1,Q0,0)},t)]];break;case 16:var p0=[0,[2,r0(0,l(jd,0),t)]];break;default:break x}var w0=p0}else{if(v0!==15)break x;var T0=l(k3,0),w0=[0,[1,r0(0,function(S0){return k(T0,0,S0)},t)]]}return[9,[0,0,w0,0,0,t0([0,u],0,R)]]}throw U0([0,Ar,Lo0],1)}else if(i[0]===4){var E0=i[3];if(I(E0,ta)){if(!I(E0,wo)&&t[28][1]){var N0=l(k3,0),X0=[0,[1,r0(0,function(Q0){return k(N0,0,Q0)},t)]];return[9,[0,0,X0,0,0,t0([0,u],0,R)]]}}else if(t[28][1]){var A0=[0,[3,r0(0,l(Pd,0),t)]];return[9,[0,0,A0,0,0,t0([0,u],0,R)]]}}W(t,0);var rx=B0(Nd,0,t,0);W(t,1);var B=M(t);x:{if(typeof B!="number"&&B[0]===4&&!I(B[3],fl)){var G0=l(m3,t),V0=G0[2],ex=[0,G0[1]];break x}k(bC,t,rx);var W0=Z2(0,0,t),Y0=W0[0]===0?W0[1]:W0[1][1],V0=Y0,ex=0}return[9,[0,0,0,[0,[0,rx]],ex,t0([0,u],[0,V0],R)]]},x)});var pK=function x(r,e){return x.fun(r,e)},kK=function x(r,e){return x.fun(r,e)},A6=function x(r,e){return x.fun(r,e)};function Rd(x,r){return function(e){if(!e)return vx(r);var t=e[1];if(t[0]!==0){var u=t[1],i=u[1];if(e[2]){var c=e[2];return D0(x,[0,i,64]),Rd(x,r)(c)}var v=u[2],a=v[2];return Rd(x,[0,[1,[0,i,[0,k(A6,x,v[1]),a]]],r])(0)}var p=t[1],_=p[2],y=e[2],S=p[1];switch(_[0]){case 0:var E=_[2],j=_[1],C=_[3];switch(j[0]){case 0:var P=[0,j[1]];break;case 1:var P=[1,j[1]];break;case 2:var P=[2,j[1]];break;case 3:var P=[3,j[1]];break;case 4:var P=gx(yv0);break;default:var P=[4,j[1]]}var O=E[2];x:{if(O[0]===4){var F=O[1];if(!F[1]){var K=[0,F[3]],U=F[2];break x}}var K=0,U=k(A6,x,E)}var V=[0,[0,[0,S,[0,P,U,K,C]]],r];break;case 1:D0(x,[0,_[2][1],50]);var V=r;break;default:D0(x,[0,_[2][1],gv0]);var V=r}return Rd(x,V)(y)}}m0(pK,function(x,r){var e=r[2],t=e[2],u=e[1],i=r[1],c=a3(x);return[0,i,[0,[0,Rd(x,0)(u),c,t]]]});function mK(x,r){var e=r[1];return l(z0[23],r)?[0,k(A6,x,r)]:(D0(x,[0,e,37]),0)}function h3(x,r){return function(e){if(!e)return vx(r);var t=e[1];switch(t[0]){case 0:var u=t[1],i=u[2];if(i[0]===4){var c=i[1];if(!c[1]){var v=e[2];return h3(x,[0,[0,[0,u[1],[0,c[2],[0,c[3]]]]],r])(v)}}var a=e[2],p=mK(x,u);if(p)var _=p[1],y=[0,[0,[0,_[1],[0,_,0]]],r];else var y=r;return h3(x,y)(a);case 1:var S=t[1],E=S[1];if(e[2]){var j=e[2];return D0(x,[0,E,16]),h3(x,r)(j)}var C=S[2],P=C[2],O=mK(x,C[1]),F=O?[0,[1,[0,E,[0,O[1],P]]],r]:r;return h3(x,F)(0);default:var K=e[2];return h3(x,[0,[2,t[1]],r])(K)}}}m0(kK,function(x,r){var e=r[2],t=e[2],u=e[1],i=r[1],c=a3(x);return[0,i,[1,[0,h3(x,0)(u),c,t]]]}),m0(A6,function(x,r){var e=r[2],t=r[1];switch(e[0]){case 0:return k(kK,x,[0,t,e[1]]);case 10:var u=e[1],i=u[2][1],c=u[1];x:{if(x[5]&&Xo(i)){D0(x,[0,c,71]);break x}if(1-x[5]){if(x[18]&&Sr(i,M1)){D0(x,[0,c,zt]);break x}var v=x[19],a=v&&Sr(i,_o);a&&D0(x,[0,c,5])}}return[0,t,[2,[0,u,a3(x),0]]];case 25:return k(pK,x,[0,t,e[1]]);default:return[0,t,[3,[0,t,e]]]}});function I6(x,r){var e=M(x);if(typeof e=="number"){if(e===6)return r0(0,function(i){var c=f0(i);W(i,6);x:r:{var v=0;e:for(;;){var a=M(i);if(typeof a=="number"){if(13<=a){if(Dr===a)break r}else if(7<=a)switch(a-7|0){case 0:break e;case 2:var p=fx(i);W(i,9);var v=[0,[2,p],v];continue;case 5:var _=f0(i),y=r0(0,function($){return W($,12),I6($,r)},i),S=y[1],E=y[2],j=[1,[0,S,[0,E,t0([0,_],0,R)]]];M(i)!==7&&(D0(i,[0,S,16]),M(i)===9&&b0(i));var v=[0,j,v];continue}}var C=r0(0,function(Q){var $=I6(Q,r),x0=M(Q);t:{if(typeof x0=="number"&&x0===82){W(Q,82);var e0=[0,l(z0[10],Q)];break t}var e0=0}return[0,$,e0]},i),P=C[2],O=[0,[0,C[1],[0,P[1],P[2]]]];M(i)!==7&&W(i,9);var v=[0,O,v]}break x}var F=vx(v),K=f0(i);W(i,7);var U=M(i)===86?[1,Yo(i)]:a3(i);return[1,[0,F,U,F2([0,c],[0,xx(i)],K,R)]]},x);if(!e){var t=function(i){var c=M(i);return typeof c=="number"&&c===82?(W(i,82),[0,l(z0[10],i)]):0};return r0(0,function(i){var c=f0(i);W(i,0);x:for(var v=0,a=0,p=0;;){var _=M(i);if(typeof _=="number"){if(_===1)break x;if(Dr===_)break}r:if(M(i)===12)var y=f0(i),S=r0(0,function(B){return W(B,12),I6(B,r)},i),E=S[2],j=S[1],C=[0,[1,[0,j,[0,E,t0([0,y],0,R)]]]];else{var P=fx(i),O=k(z0[20],0,i),F=M(i);if(typeof F=="number"&&F===86){W(i,86);var K=r0([0,P],function(G0){var W0=I6(G0,r);return[0,W0,t(G0)]},i),U=K[2],V=O[2],Q=U[2],$=U[1],x0=K[1];switch(V[0]){case 0:var e0=[0,V[1]];break;case 1:var e0=[1,V[1]];break;case 2:var e0=[2,V[1]];break;case 3:var e0=[3,V[1]];break;case 4:var e0=gx(hv0);break;default:var e0=[4,V[1]]}var C=[0,[0,[0,x0,[0,e0,$,Q,0]]]];break r}var Z=O[2];if(Z[0]===3){var c0=Z[1],d0=c0[2][1],n0=c0[1];$h(d0)?D0(i,[0,n0,95]):i3(d0)&&ct(i,[0,n0,80]);var P0=r0([0,P],function(G0,W0){return function(Y0){var V0=[0,W0,[2,[0,G0,a3(Y0),0]]];return[0,V0,t(Y0)]}}(c0,n0),i),h0=P0[2],C=[0,[0,[0,P0[1],[0,[3,c0],h0[1],h0[2],1]]]]}else{_2(dv0,i);var C=0}}if(C){var g0=C[1],v0=g0[1][1],p0=v?(D0(i,[0,v0,64]),0):a;if(g0[0]===0)var T0=p0,E0=v;else var w0=M(i)===9?[0,fx(i)]:0,T0=w0,E0=1;M(i)!==1&&W(i,9);var v=E0,a=T0,p=[0,g0,p]}}a&&D0(i,[0,a[1],90]);var N0=vx(p),X0=f0(i);W(i,1);var A0=xx(i),rx=M(i)===86?[1,Yo(i)]:a3(i);return[0,[0,N0,rx,F2([0,c],[0,A0],X0,R)]]},x)}}var u=B0(z0[14],x,0,r);return[0,u[1],[2,u[2]]]}function Fd(x){var r=M(x);x:if(typeof r=="number"){var e=r+wM|0;if(6>>0){if(e!==14)break x}else if(4>=e-1>>>0)break x;return xx(x)}return K1(x)?Sa(x):0}function hK(x){return M(x)===1?0:[0,l(z0[7],x)]}function Xs(x){var r=fx(x),e=M(x);x:{if(typeof e!="number"&&e[0]===8){var t=e[1];break x}_2(ll0,x);var t=pl0}var u=f0(x);b0(x);var i=M(x);x:{r:if(typeof i=="number"){var c=i+DR|0;if(72>>0){if(c!==76)break r}else if(70>=c-1>>>0)break r;var v=xx(x);break x}var v=Fd(x)}return[0,r,[0,t,t0([0,u],[0,v],R)]]}function dK(x){var r=vr(1,x);if(typeof r=="number"){if(r===10)for(var e=r0(0,function(i){var c=[0,Xs(i)];return W(i,10),[0,c,Xs(i)]},x);;){var t=M(x);if(typeof t=="number"&&t===10){var u=e[1],e=r0([0,u],function(c){return function(v){return W(v,10),[0,[1,c],Xs(v)]}}(e),x);continue}return[2,e]}if(r===86)return[1,r0(0,function(i){var c=Xs(i);return W(i,86),[0,c,Xs(i)]},x)]}return[0,Xs(x)]}function j6(x,r){return Sr(x[2][1],r[2][1])}function yK(x,r){var e=x[2],t=e[1],u=r[2],i=u[1],c=e[2],v=u[2];x:{if(t[0]===0){var a=t[1];if(i[0]===0){var _=j6(a,i[1]);break x}}else{var p=t[1];if(i[0]!==0){var _=yK(p,i[1]);break x}}var _=0}return _&&j6(c,v)}function Ld(x,r){switch(x[0]){case 0:var e=x[1];if(r[0]===0)return j6(e,r[1]);break;case 1:var t=x[1];if(r[0]===1){var u=t[2],i=r[1][2],c=u[2],v=i[2],a=j6(u[1],i[1]);return a&&j6(c,v)}break;default:var p=x[1];if(r[0]===2)return yK(p,r[1])}return 0}function SC(x){switch(x[0]){case 0:return x[1][1];case 1:return x[1][1];default:return x[1][1]}}var gK=function x(r,e){return x.fun(r,e)},AC=function x(r,e){return x.fun(r,e)},IC=function x(r,e){return x.fun(r,e)};m0(gK,function(x,r){var e=M(r);if(typeof e=="number"){if(e===0){L2(r,0);var t=r0(0,function(S){W(S,0);var E=M(S);x:{if(typeof E=="number"&&E===12){var j=f0(S);W(S,12);var C=l(z0[10],S),F=[3,[0,C,t0([0,j],0,R)]];break x}var P=hK(S),O=P?0:f0(S),F=[2,[0,P,F2(0,0,O,R)]]}return W(S,1),F},r),u=t[2],i=t[1];return J2(r),[0,i,u]}}else if(e[0]===9){var c=e[3],v=e[2],a=e[1];return W(r,e),[0,a,[4,[0,v,c]]]}var p=k(IC,x,r),_=p[2],y=p[1];return Ut<=_[1]?[0,y,[1,_[2]]]:[0,y,[0,_[2]]]});function Md(x){switch(x[0]){case 0:return x[1][2][1];case 1:var r=x[1][2],e=r[1],t=Bx(fl0,r[2][2][1]);return Bx(e[2][1],t);default:var u=x[1][2],i=u[1],c=u[2],v=i[0]===0?i[1][2][1]:Md([2,i[1]]);return Bx(v,Bx(cl0,c[2][1]))}}m0(AC,function(x,r){var e=f0(r),t=r0(0,function(Lx){W(Lx,98);var M0=M(Lx);if(typeof M0=="number"){if(M0===99)return b0(Lx),al0}else if(M0[0]===8){var qr=dK(Lx);x:{if(g2(Lx)&&M(Lx)===98&>!==vr(1,Lx)){var Ex=rd(Lx,0,_d);break x}var Ex=0}for(var $0=0;;){var Gx=M(Lx);if(typeof Gx=="number"){if(Gx===0){var j0=f0(Lx);L2(Lx,0);var cr=r0(0,function(Rr){W(Rr,0),W(Rr,12);var U2=l(z0[10],Rr);return W(Rr,1),U2},Lx),tx=cr[2],Mx=cr[1];J2(Lx);var $0=[0,[1,[0,Mx,[0,tx,t0([0,j0],[0,Fd(Lx)],R)]]],$0];continue}}else if(Gx[0]===8){var $0=[0,[0,r0(0,function(Rr){var U2=vr(1,Rr);x:{if(typeof U2=="number"&&U2===86){var g=[1,r0(0,function(Fr){var hx=Xs(Fr);return W(Fr,86),[0,hx,Xs(Fr)]},Rr)];break x}var g=[0,Xs(Rr)]}var G=M(Rr);x:{if(typeof G=="number"&&G===82){W(Rr,82);var H=f0(Rr),l0=M(Rr);r:{if(typeof l0=="number"){if(l0===0){var J=f0(Rr);L2(Rr,0);var s0=r0(0,function(hx){W(hx,0);var z1=hK(hx);return W(hx,1),z1},Rr),_0=s0[1],y0=s0[2];J2(Rr);var J0=[0,y0,F2([0,J],[0,Fd(Rr)],0,R)];J0[1]||D0(Rr,[0,_0,47]);var gr=[0,[1,[0,_0,J0]]];break r}}else if(l0[0]===10){var Rx=l0[3],kx=l0[2],Jx=l0[1];W(Rr,l0);var gr=[0,[0,[0,Jx,[0,kx,Rx,t0([0,H],[0,Fd(Rr)],R)]]]];break r}Kx(Rr,36);var gr=[0,[0,[0,fx(Rr),vl0]]]}var Zx=gr;break x}var Zx=0}return[0,g,Zx]},Lx)],$0];continue}var b2=vx($0),Ux=[0,na,[0,qr,Ex,f2(Lx,gt),b2]];return f2(Lx,99)?[0,Ux]:(tn(Lx,99),[1,Ux])}}return tn(Lx,99),ol0},r);J2(r);var u=t[2];if(u[0]===0)var i=u[1],c=typeof i=="number"?0:i[2][3];else var c=1;if(c)var v=FS,a=v,p=r0(0,function(Lx){return 0},r);else{L2(r,3);var _=t[2][1],y=typeof _=="number"?0:[0,_[2][1]],S=fx(r);x:{r:{e:{t:for(var E=0;;){var j=u3(r);if(E&&y){var C=E[1],P=C[2],O=y[1],F=E[2];n:{if(P[0]===0){var K=P[1],U=K[2];if(U){var V=U[1][2][1],Q=1-Ld(K[1][2][1],V);if(Q){var $=Ld(O,V);break n}var $=Q;break n}}var $=0}if($)break r}var x0=M(r);if(typeof x0=="number"){if(x0===98){L2(r,2);var e0=M(r),Z=vr(1,r);if(typeof e0=="number"&&e0===98&&typeof Z=="number"){if(gt===Z)break t;if(Dr===Z)break}var c0=k(AC,y,r),d0=c0[2],n0=c0[1],P0=Ut<=d0[1]?[0,n0,[1,d0[2]]]:[0,n0,[0,d0[2]]],E=[0,P0,E];continue}if(Dr===x0)break e}var E=[0,k(gK,y,r),E]}var h0=r0(0,function($0){W($0,98),W($0,gt);var Gx=M($0);if(typeof Gx=="number"){if(Gx===99)return b0($0),Ut}else if(Gx[0]===8){var j0=dK($0);return xd($0,99),[0,na,[0,j0]]}return tn($0,99),Ut},r),g0=h0[2],v0=h0[1],p0=typeof g0=="number"?[0,Ut,v0]:[0,na,[0,v0,g0[2]]],w0=r[24][1];t:{if(w0){var T0=w0[2];if(T0){var E0=T0[2];break t}}var E0=gx(Gc0)}r[24][1]=E0;var N0=n3(r),X0=Zl(r[25][1],N0);r[26][1]=X0;var ex=[0,vx(E),,p0];break x}_2(0,r);var ex=[0,vx(E),,FS];break x}var A0=C[2];r:{if(A0[0]===0){var rx=A0[1],B=rx[2];if(B){var G0=B[1],W0=Zr(C[1],rx[3][1]),Y0=[0,na,G0],V0=[0,W0,[0,[0,rx[1],0,rx[3],rx[4]]]];break r}}var Y0=FS,V0=C}J2(r);var ex=[0,vx([0,V0,F]),,Y0]}var Q0=ex[3],S0=ex[1],q0=j?j[1]:S,a=Q0,p=[0,Zr(S,q0),S0]}var yx=xx(r);x:{r:if(typeof a!="number"){var cx=a[1];if(na===cx){var Dx=a[2],Ix=Dx[2][1],Xx=t[2],Z0=Dx[1];if(Xx[0]===0){var rr=Xx[1];if(typeof rr=="number")D0(r,[0,SC(Ix),sl0]);else{var xr=rr[2][1];e:if(1-Ld(Ix,xr)){if(x&&Ld(x[1],Ix)){var fr=[19,Md(xr)];D0(r,[0,SC(xr),fr]);break e}var Hx=[13,Md(xr)];D0(r,[0,SC(Ix),Hx])}}}var Y=Z0}else{if(Ut!==cx)break r;var jx=a[2],hr=t[2];if(hr[0]===0){var Yx=hr[1];typeof Yx!="number"&&D0(r,[0,jx,[13,Md(Yx[2][1])]])}var Y=jx}var Ur=Y;break x}var Ur=t[1]}var px=t[2][1],w=t[1];if(typeof px=="number"){x:{r:{var L=t0([0,e],[0,yx],R);if(typeof a!="number"){var L0=a[1];if(na===L0)var sx=a[2][1];else{if(Ut!==L0)break r;var sx=a[2]}var lx=sx;break x}}var lx=Ur}var ax=[0,Ut,[0,w,lx,p,L]]}else{var Vx=px[2];x:{var _x=t0([0,e],[0,yx],R);if(typeof a!="number"&&na===a[1]){var zx=[0,a[2]];break x}var zx=0}var ax=[0,na,[0,[0,w,Vx],zx,p,_x]]}return[0,Zr(t[1],Ur),ax]}),m0(IC,function(x,r){return L2(r,2),k(AC,x,r)});function _K(x,r){var e=g1(r);return td(x,r,e),e}var bK=function x(r){return x.fun(r)},jC=function x(r,e,t){return x.fun(r,e,t)},PC=function x(r){return x.fun(r)},wK=function x(r,e){return x.fun(r,e)},NC=function x(r,e){return x.fun(r,e)},OC=function x(r,e){return x.fun(r,e)},Ud=function x(r,e){return x.fun(r,e)},P6=function x(r,e){return x.fun(r,e)},qd=function x(r){return x.fun(r)},TK=function x(r){return x.fun(r)},EK=function x(r){return x.fun(r)},SK=function x(r,e,t){return x.fun(r,e,t)},AK=function x(r){return x.fun(r)},IK=function x(r){return x.fun(r)},ET0=l(IC,0);m0(bK,function(x){var r=M(x);x:{if(typeof r!="number"&&r[0]===6){var e=r[2],t=r[1];b0(x);var u=[0,[0,t,e]];break x}var u=0}var i=f0(x);x:{r:{for(var c=vx(i),v=5;c;){var a=c[2],p=c[1],_=p[2],y=p[1],S=_[2];e:{t:{for(var E=0,j=Nx(S);;){if(j<(E+5|0))break t;var C=Sr(k1(S,E,v),"@flow");if(C)break;var E=E+1|0}var P=C;break e}var P=0}if(P)break r;var c=a}var O=0;break x}x[31][1]=y[3];var O=vx([0,[0,y,_],a])}x:if(O===0){if(i){var F=i[1],K=F[2];if(!K[1]){var U=K[2],V=F[1];if(1<=Nx(U)&&N2(U,0)===42){x[31][1]=V[3];var Q=[0,F,0];break x}}}var Q=0}else var Q=O;var $=k(wK,x,function(n0){return 0}),x0=fx(x);W(x,Dr);var e0=y1[1];if(u1(function(n0,P0){var h0=P0[2];switch(h0[0]){case 21:return s6(x,n0,rn(0,[0,h0[1][1],Dl0]));case 22:var g0=h0[1],v0=g0[1];if(v0){if(!g0[2]){var p0=v0[1],w0=p0[2],T0=p0[1];x:{switch(w0[0]){case 38:var E0=w0[1][1],N0=0,X0=u1(function(Y0,V0){return u1(gO,Y0,[0,V0[2][1],0])},N0,E0);return u1(function(Y0,V0){return s6(x,Y0,V0)},n0,X0);case 2:case 27:var A0=w0[1][1];if(A0){var rx=A0[1];break x}break;case 3:case 20:case 30:case 36:case 37:var rx=w0[1][1];break x}return n0}return s6(x,n0,rn(0,[0,T0,rx[2][1]]))}}else{var B=g0[2];if(B){var G0=B[1];if(G0[0]!==0)return n0;var W0=G0[1];return u1(function(Y0,V0){var ex=V0[2],Q0=ex[2],S0=ex[1];return Q0?s6(x,Y0,Q0[1]):s6(x,Y0,S0)},n0,W0)}}return n0;default:return n0}},e0,$),$)var Z=Dl(vx($))[1],c0=Zr(Dl($)[1],Z);else var c0=x0;var d0=vx(x[2][1]);return[0,c0,[0,$,u,t0([0,Q],0,R),d0]]});function ST0(x,r,e,t){for(var u=x,i=t;;){var c=i[3],v=i[2],a=i[1],p=M(u);if(typeof p=="number"&&Dr===p)return[0,u,a,v,c];if(l(r,p))return[0,u,a,v,c];if(typeof p!="number"&&p[0]===2){var _=l(e,u),y=[0,_,v],S=_[2];if(S[0]===23){var E=S[1][2];if(E){var j=Sr(E[1],"use strict"),C=_[1],P=j&&1-u[21];P&&D0(u,[0,C,79]);var O=j?Fs(1,u):u,F=[0,p,a],K=c||j,u=O,i=[0,F,y,K];continue}}return[0,u,a,y,c]}return[0,u,a,v,c]}}m0(jC,function(x,r,e){var t=ST0(uX(1,x),r,e,Nl0),u=t[4],i=t[3],c=t[2],v=uX(0,t[1]),a=vx(c);return p1(function(p){if(typeof p!="number"&&p[0]===2){var _=p[1],y=_[4],S=_[1];return y&&ct(v,[0,S,76])}return gx(Bx(Cl0,Bx(wB(p),Ol0)))},a),[0,v,i,u]}),m0(PC,function(x){var r=vC(x),e=M(x);if(typeof e=="number"){var t=e-49|0;if(11>=t>>>0)switch(t){case 0:return k(fK,r,x);case 1:Zh(x)(r);var u=vr(1,x);x:{r:if(typeof u=="number"){if(u!==4&&u!==10)break r;var i=E6(x);break x}var i=Dd(x)}return i;case 11:if(vr(1,x)===49)return Zh(x)(r),l(wC,x);break}}return k(P6,[0,r],x)}),m0(wK,function(x,r){var e=B0(jC,x,r,PC),t=e[2],u=k(NC,r,e[1]);return u1(function(i,c){return[0,c,i]},u,t)}),m0(NC,function(x,r){for(var e=0;;){var t=M(r);if(typeof t=="number"&&Dr===t||l(x,t))return vx(e);var e=[0,l(PC,r),e]}}),m0(OC,function(x,r){var e=B0(jC,r,x,function(c){return k(P6,0,c)}),t=e[3],u=e[2],i=k(Ud,x,e[1]);return[0,u1(function(c,v){return[0,v,c]},i,u),t]}),m0(Ud,function(x,r){for(var e=0;;){var t=M(r);if(typeof t=="number"&&Dr===t||l(x,t))return vx(e);var e=[0,k(P6,0,r),e]}}),m0(P6,function(x,r){var e=x?x[1]:0;1-n6(r)&&Zh(r)(e);var t=M(r);if(typeof t=="number"){if(t===27)return r0(lT0,vT0,r);if(t===28)return r0(kT0,pT0,r)}if(!Ea(r)&&!Qh(r)){if(n6(r))return Ad(r,e);if(typeof t=="number"){var u=t+B2|0;if(14>=u>>>0)switch(u){case 0:if(r[28][2])return lJ(0)(r);break;case 5:return l(QJ,r);case 12:return k(uK,0,r);case 13:return l(GJ,r);case 14:return l($J,r)}}return lO(r)?BO(r):l(qd,r)}return d6(r)}),m0(qd,function(x){var r=M(x);if(typeof r=="number"&&ia>r)switch(r){case 0:return l(zJ,x);case 8:return l(XJ,x);case 16:return aK(x);case 19:return r0(tT0,eT0,x);case 20:return r0(uT0,nT0,x);case 22:return r0(fT0,iT0,x);case 23:return r0(sT0,cT0,x);case 24:return r0(oT0,aT0,x);case 25:return r0(hT0,mT0,x);case 26:return l(YJ,x);case 32:return l(JJ,x);case 35:return l(KJ,x);case 37:return r0($w0,Ww0,x);case 39:return r0(Qw0,Hw0,x);case 43:return aK(x);case 59:return r0(Gw0,Vw0,x);case 113:return _2(Il0,x),[0,fx(x),jl0];case 1:case 5:case 7:case 9:case 10:case 11:case 12:case 17:case 18:case 33:case 34:case 36:case 38:case 41:case 42:case 49:case 83:case 86:return _2(Pl0,x),b0(x),l(qd,x)}if(!Ea(x)&&!Qh(x)){if(typeof r=="number"&&r===28&&vr(1,x)===6){var e=f3(1,x);return D0(x,[0,Zr(fx(x),e),3]),E6(x)}return Jc(x)?r0(yT0,dT0,x):(n6(x)&&(_2(0,x),b0(x)),E6(x))}var t=d6(x);return Jo(x,t[1]),t}),m0(TK,function(x){var r=fx(x),e=l(Dt,x),t=M(x);return typeof t=="number"&&t===9?B0(Td,x,r,[0,e,0]):e}),m0(EK,function(x){var r=fx(x),e=l(p3,x),t=M(x);return typeof t=="number"&&t===9?[0,B0(Td,x,r,[0,f1(x,e),0])]:e}),m0(SK,function(x,r,e){var t=r?r[1]:0;return r0(0,function(u){var i=1-t,c=_K([0,e],u),v=i&&(M(u)===85?1:0);return v&&(1-g2(u)&&Kx(u,S1),W(u,85)),[0,c,DO(u),v]},x)}),m0(AK,function(x){var r=fx(x),e=f0(x);W(x,0);var t=k(Ud,function(v){return v===1?1:0},x),u=fx(x),i=t===0?f0(x):0;W(x,1);var c=[0,t,F2([0,e],[0,xx(x)],i,R)];return[0,Zr(r,u),c]}),m0(IK,function(x){function r(t){var u=f0(t);W(t,0);var i=k(OC,function(y){return y===1?1:0},t),c=i[1],v=i[2],a=c===0?f0(t):0;W(t,1);var p=M(t);x:{r:if(!x){if(typeof p=="number"&&(p===1||Dr===p))break r;if(K1(t)){var _=Sa(t);break x}var _=0;break x}var _=xx(t)}return[0,[0,c,F2([0,u],[0,_],a,R)],v]}var e=0;return function(t){return hO(e,r,t)}}),zq(Ml0[1],z0,[0,bK,qd,P6,Ud,OC,NC,TK,EK,dJ,Dt,gd,Bw0,_K,SK,AK,IK,ET0,I6,A6,Pa,Ad,zw0,Cw0,bd,Yo,wd]);var CC=[x2,fb0,Ts(0)],DC=[0,CC,[0]],AT0=ph(ub0,function(x){var r=DN(x,nb0)[41],e=MN(x,0,0,ib0,JN,1)[1];return Kq(x,r,function(t,u){return 0}),function(t,u){var i=kh(u,x);return l(e,i),UN(u,i,x)}}),IT0=Po(DC)===x2?DC:DC[1];xN(UT,IT0);var Js=a0,_1=null,jK=void 0;function jT0(x){throw x}function Bd(x){return 1-(x===jK?1:0)}Js.String,Js.RegExp,Js.Object,Js.Date,Js.Math;var PT0=Js.Array,NT0=Js.Error;function PK(x){return l(jT0,x)}Js.JSON,_q(function(x){return x[1]===CC?[0,Tt(x[2].toString())]:0}),_q(function(x){return x instanceof PT0?0:[0,Tt(x.toString())]});var NK=[0,0],OT0=Qx;function Vc(x){return DY(Ll(x))}function M2(x){return CY(Ll(x))}function jr(x,r){return M2(vx(th(x,r)))}function Tx(x,r){return r?l(x,r[1]):_1}function d3(x,r){return r[0]===0?_1:x(r[1])}function OK(x){return Vc([0,[0,tb0,x[1]],[0,[0,eb0,x[2]],0]])}function CK(x){var r=x[1],e=r?Qx(r[1][1]):_1,t=[0,[0,Z_0,OK(x[3])],0];return Vc([0,[0,rb0,e],[0,[0,xb0,OK(x[2])],t]])}function S2(x){if(!x)return 0;var r=x[1],e=r[1];return t0([0,e],[0,Fx(r[3],r[2])],R)}function N6(x,r,e){var t=r[e];return Bd(t)?t|0:x}function CT0(x,r){var e=Xv(r,jK)?{}:r,t=Tt(x),u=N6(Nl[5],e,sb0),i=N6(Nl[4],e,ab0),c=N6(Nl[3],e,ob0),v=N6(Nl[2],e,vb0),a=[0,N6(Nl[1],e,lb0),v,c,i,u,0,0],p=e[hR],_=Bd(p),y=_&&p|0,S=e[zD],E=Bd(S)?S|0:1,j=e.all_comments,C=Bd(j)?j|0:1,P=[0,0],O=y?[0,function(X){return P[1]=[0,X,P[1]],0}]:0,F=cb0[1],K=0;try{var U=0,V=iB(t),Q=U,$=V}catch(X){var x0=O2(X);if(x0!==ka)throw U0(x0,0);var e0=[0,[0,[0,K,Yv[2],Yv[3]],49],0],Q=e0,$=iB(es0)}var Z=[0,K,$,M00,0,a[4],yB,U00],c0=[0,Zl(Z,0)],d0=[0,[0,Q],[0,0],y1[1],[0,0],a[5],0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,[0,ns0],[0,Z],c0,[0,O],a,K,[0,0],[0,ts0]],n0=l(z0[1],d0),P0=vx(d0[1][1]),h0=[0,yO[1],0],g0=vx(u1(function(X,A){var D=X[2],u0=X[1];return yO[3].call(null,A,u0)?[0,u0,D]:[0,yO[4].call(null,A,u0),[0,A,D]]},h0,P0)[2]);if(g0){var v0=g0[2],p0=g0[1];if(F)throw U0([0,Wb0,p0,v0],1)}NK[1]=0;var w0=Nx(t)-0|0,T0=Cc(t);x:{r:{for(var E0=0,N0=0;;){if(N0===w0)break r;var X0=fe(T0,N0);e:{if(0<=X0&&Yr>=X0){var A0=1;break e}if(E9<=X0&&ak>=X0){var A0=2;break e}if(Tv<=X0&&Gk>=X0){var A0=3;break e}if(po<=X0&&OI>=X0){var A0=4;break e}var A0=0}if(A0===0)var E0=dO(E0,N0,0),N0=N0+1|0;else{if((w0-N0|0)>>0)throw U0([0,Ar,MW],1);switch(rx){case 0:var G0=fe(T0,N0);break;case 1:var G0=(fe(T0,N0)&31)<<6|fe(T0,N0+1|0)&63;break;case 2:var G0=(fe(T0,N0)&15)<<12|(fe(T0,N0+1|0)&63)<<6|fe(T0,N0+2|0)&63;break;default:var G0=(fe(T0,N0)&7)<<18|(fe(T0,N0+1|0)&63)<<12|(fe(T0,N0+2|0)&63)<<6|fe(T0,N0+3|0)&63}var E0=dO(E0,N0,[0,G0]),N0=B}}var W0=dO(E0,N0,0);break x}var W0=E0}for(var Y0=co0,V0=vx([0,6,W0]);;){var ex=Y0[3],Q0=Y0[2],S0=Y0[1];if(!V0)break;var q0=V0[1];if(q0===5){var yx=V0[2];if(yx&&yx[1]===6){var cx=yx[2],Y0=[0,S0+2|0,0,[0,Ll(vx([0,S0,Q0])),ex]],V0=cx;continue}}else if(6>q0){var Dx=V0[2],Y0=[0,S0+EX(q0)|0,[0,S0,Q0],ex],V0=Dx;continue}var Ix=V0[2],Xx=[0,Ll(vx([0,S0,Q0])),ex],Y0=[0,S0+EX(q0)|0,0,Xx],V0=Ix}var Z0=Ll(vx(ex));if(E)var xr=n0;else var rr=l(AT0[1],0),xr=k(Wx(rr,-201766268,99),rr,n0);if(C)var Hx=xr;else var fr=xr[2],Hx=[0,xr[1],[0,fr[1],fr[2],fr[3],0]];function Y(X,A,D,u0){var k0=[0,ud(Z0,A[3]),0],C0=[0,[0,Ul0,M2([0,ud(Z0,A[2]),k0])],0],nx=Fx(C0,[0,[0,ql0,CK(A)],0]);if(D){var Sx=D[1],Px=Sx[1];if(Px){var qx=Sx[2];if(qx)var lr=[0,[0,Bl0,sn(qx)],0],tr=[0,[0,Xl0,sn(Px)],lr];else var tr=[0,[0,Jl0,sn(Px)],0];var ur=tr}else var br=Sx[2],pr=br?[0,[0,Kl0,sn(br)],0]:0,ur=pr;var Tr=ur}else var Tr=0;return Vc(zv(Fx(nx,Fx(Tr,[0,[0,Yl0,Qx(X)],0])),u0))}function jx(X){return jr(_x,X)}function hr(X){var A=X[2],D=A[3],u0=A[1],k0=X[1],C0=[0,[0,I50,Qx(Na(A[2]))],0];return Y(P50,k0,D,[0,[0,j50,jr(Ho,u0)],C0])}function Yx(X){var A=X[2],D=A[5],u0=A[4],k0=A[2],C0=A[1],nx=X[1],Sx=[0,[0,Kh0,jr(Rx,A[3])],0],Px=[0,[0,Yh0,at(0,u0)],Sx],qx=[0,[0,zh0,Tx(K2,k0)],Px];return Y(Gh0,nx,D,[0,[0,Vh0,j0(C0)],qx])}function Ur(X,A){var D=A[2],u0=D[7],k0=D[5],C0=D[4],nx=D[2],Sx=D[6],Px=D[3],qx=D[1],lr=A[1];if(C0)var tr=C0[1][2],br=tr[2],pr=tr[1],ur=N1(tr[3],u0),Tr=br,Br=[0,pr];else var ur=u0,Tr=0,Br=0;if(k0)var Or=k0[1][2],Wr=Or[1],Pr=N1(Or[2],ur),t2=Pr,p2=jr(s0,Wr);else var t2=ur,p2=M2(0);var o2=[0,[0,em0,p2],[0,[0,rm0,jr(J,Sx)],0]],n2=[0,[0,tm0,Tx(cn,Tr)],o2],c2=[0,[0,nm0,Tx(tx,Br)],n2],w2=[0,[0,um0,Tx(K2,Px)],c2],k2=nx[2],v2=k2[2],q2=nx[1],s1=[0,[0,im0,Y(pm0,q2,v2,[0,[0,lm0,jr(_0,k2[1])],0])],w2];return Y(X,lr,t2,[0,[0,fm0,Tx(j0,qx)],s1])}function px(X,A){var D=A[2],u0=D[5],k0=D[4],C0=D[3],nx=D[2],Sx=D[1],Px=A[1],qx=X?V80:G80,lr=[0,[0,W80,Tx(_r,k0)],0],tr=[0,[0,$80,Tx(_r,C0)],lr],br=[0,[0,H80,Tx(K2,nx)],tr];return Y(qx,Px,u0,[0,[0,Q80,j0(Sx)],br])}function w(X){var A=X[2],D=A[4],u0=A[2],k0=A[1],C0=X[1],nx=[0,[0,J80,_r(A[3])],0],Sx=[0,[0,K80,Tx(K2,u0)],nx];return Y(z80,C0,D,[0,[0,Y80,j0(k0)],Sx])}function L(X){var A=X[2],D=A[3],u0=A[1],k0=X[1],C0=[0,[0,A80,J0(A[2])],0];return Y(j80,k0,D,[0,[0,I80,j0(u0)],C0])}function L0(X){var A=X[2],D=A[3],u0=X[1],k0=A[5],C0=A[4],nx=A[2],Sx=A[1],Px=N1(S2(D[2][3]),k0),qx=D[2],lr=qx[1],tr=qx[2],br=[0,[0,o80,Tx(K2,nx)],0],pr=[0,[0,v80,ot(C0)],br],ur=[0,[0,l80,U2(lr)],pr],Tr=[0,[0,p80,Tx(G,tr)],ur],Br=[0,[0,k80,U2(lr)],Tr];return Y(h80,u0,Px,[0,[0,m80,j0(Sx)],Br])}function sx(X){var A=X[2],D=A[6],u0=A[4],k0=A[7],C0=A[5],nx=A[3],Sx=A[2],Px=A[1],qx=X[1],lr=M2(u0?[0,Rx(u0[1]),0]:0),tr=D?jr(s0,D[1][2][1]):M2(0),br=[0,[0,i80,lr],[0,[0,u80,tr],[0,[0,n80,jr(Rx,C0)],0]]],pr=[0,[0,f80,at(0,nx)],br],ur=[0,[0,c80,Tx(K2,Sx)],pr];return Y(a80,qx,k0,[0,[0,s80,j0(Px)],ur])}function lx(X){var A=X[2],D=A[2],u0=A[1],k0=A[4],C0=A[3],nx=X[1],Sx=Zr(u0[1],D[1]),Px=D[2][2];x:{if(Px[0]===12){var qx=Px[1][5];if(typeof qx=="number"&&!qx){var lr=0,tr=x80;break x}}var lr=[0,[0,r80,Tx(an,C0)],0],tr=e80}return Y(tr,nx,k0,Fx([0,[0,t80,b2(Sx,[0,u0,[1,D],0])],0],lr))}function ax(X){var A=X[2],D=A[2],u0=A[1],k0=A[4],C0=A[3],nx=X[1],Sx=Zr(u0[1],D[1]),Px=[0,[0,Hk0,Qx(Na(C0))],0];return Y(Zk0,nx,k0,[0,[0,Qk0,b2(Sx,[0,u0,[1,D],0])],Px])}function Vx(X){var A=X[2],D=A[2],u0=X[1],k0=[0,[0,Wk0,jx(A[1])],0];return Y($k0,u0,S2(D),k0)}function _x(X){var A=X[2],D=X[1];switch(A[0]){case 0:return Vx([0,D,A[1]]);case 1:var u0=A[1],k0=u0[2];return Y(Zl0,D,k0,[0,[0,Ql0,Tx(j0,u0[1])],0]);case 2:return Ur(Z80,[0,D,A[1]]);case 3:var C0=A[1],nx=C0[3],Sx=C0[6],Px=C0[5],qx=C0[4],lr=C0[2],tr=C0[1],br=N1(S2(nx[2][3]),Sx),pr=[0,[0,Ym0,Tx(K2,lr)],0],ur=[0,[0,zm0,ot(qx)],pr],Tr=nx[2],Br=Tr[2],Or=Tr[1];if(Br)var Wr=Br[1],Pr=Wr[2],t2=Pr[2],p2=Wr[1],o2=Y(Qm0,p2,t2,[0,[0,Hm0,kx(Pr[1])],0]),n2=M2(vx([0,o2,th(y0,Or)]));else var n2=M2(xn(y0,Or));var c2=[0,[0,Gm0,j0(tr)],[0,[0,Vm0,n2],ur]];return Y($m0,D,br,[0,[0,Wm0,Vx(Px)],c2]);case 4:var w2=A[1],k2=w2[2];return Y(r60,D,k2,[0,[0,x60,Tx(j0,w2[1])],0]);case 5:return Y(e60,D,A[1][1],0);case 6:return sx([0,D,A[1]]);case 7:return L0([0,D,A[1]]);case 8:return L([0,D,A[1]]);case 9:var v2=A[1],q2=v2[5],s1=v2[4],O1=v2[3],xe=v2[2],sr=v2[1];if(O1){var Xr=O1[1];if(Xr[0]!==0&&!Xr[1][2])return Y(n60,D,q2,[0,[0,t60,Tx(Ex,s1)],0])}if(xe){var Cr=xe[1];switch(Cr[0]){case 0:var Jr=ax(Cr[1]);break;case 1:var Jr=lx(Cr[1]);break;case 2:var Jr=sx(Cr[1]);break;case 3:var Jr=L0(Cr[1]);break;case 4:var Jr=_r(Cr[1]);break;case 5:var Jr=w(Cr[1]);break;case 6:var Jr=px(1,Cr[1]);break;case 7:var Jr=Yx(Cr[1]);break;default:var Jr=L(Cr[1])}var bx=Jr}else var bx=_1;var le=[0,[0,u60,Tx(Ex,s1)],0],pe=[0,[0,f60,bx],[0,[0,i60,l0(O1)],le]],Re=sr?1:0;return Y(s60,D,q2,[0,[0,c60,!!Re],pe]);case 10:return lx([0,D,A[1]]);case 11:var b1=A[1],$r=b1[5],re=b1[4],x1=b1[2],C1=b1[1],w1=[0,[0,P80,jr(Rx,b1[3])],0],lt=[0,[0,N80,at(0,re)],w1],Rt=[0,[0,O80,Tx(K2,x1)],lt];return Y(D80,D,$r,[0,[0,C80,j0(C1)],Rt]);case 12:var Fe=A[1],D1=Fe[1],Le=Fe[3],ke=Fe[2],ee=D1[0]===0?j0(D1[1]):Ex(D1[1]);return Y(v60,D,Le,[0,[0,o60,ee],[0,[0,a60,Vx(ke)],0]]);case 13:var a1=A[1],Me=a1[2];return Y(p60,D,Me,[0,[0,l60,hx(a1[1])],0]);case 14:var V1=A[1],Ft=V1[3],Ue=V1[2],qe=j0(V1[1]);return Y(h60,D,Ft,[0,[0,m60,qe],[0,[0,k60,Vx(Ue)],0]]);case 15:var r1=A[1],T1=r1[4],Be=r1[2],$c=r1[1],Hc=[0,[0,U80,_r(r1[3])],0],Qc=[0,[0,q80,Tx(K2,Be)],Hc];return Y(X80,D,T1,[0,[0,B80,j0($c)],Qc]);case 16:return px(1,[0,D,A[1]]);case 17:return ax([0,D,A[1]]);case 18:var me=A[1],Xe=me[3],Lt=me[1],Je=[0,[0,d60,tx(me[2])],0];return Y(g60,D,Xe,[0,[0,y60,_x(Lt)],Je]);case 19:return Y(_60,D,A[1][1],0);case 20:var E1=A[1],on=E1[3],vn=E1[1],Zc=[0,[0,Bh0,J0(E1[2])],0];return Y(Jh0,D,on,[0,[0,Xh0,j0(vn)],Zc]);case 21:var Ke=A[1],Ye=Ke[2],ln=Ke[3],pn=Ye[0]===0?_x(Ye[1]):tx(Ye[1]);return Y(T60,D,ln,[0,[0,w60,pn],[0,[0,b60,Qx(H(1))],0]]);case 22:var he=A[1],kn=he[5],Hs=he[4],xs=he[3],Qs=he[2],Ya=he[1];if(Qs){var za=Qs[1];if(za[0]!==0){var ev=za[1][2],tv=[0,[0,E60,Qx(H(Hs))],0],nv=[0,[0,S60,Tx(j0,ev)],tv];return Y(I60,D,kn,[0,[0,A60,Tx(Ex,xs)],nv])}}var Zs=[0,[0,j60,Qx(H(Hs))],0],_3=[0,[0,P60,Tx(Ex,xs)],Zs],b3=[0,[0,N60,l0(Qs)],_3];return Y(C60,D,kn,[0,[0,O60,Tx(_x,Ya)],b3]);case 23:var rs=A[1],Va=rs[3],uv=rs[1],w3=[0,[0,D60,Tx(OT0,rs[2])],0];return Y(F60,D,Va,[0,[0,R60,tx(uv)],w3]);case 24:var es=A[1],iv=es[5],fv=es[4],xa=es[3],T3=es[2],E3=es[1],S3=function(z6){return z6[0]===0?hr(z6[1]):tx(z6[1])},mn=[0,[0,L60,_x(fv)],0],A3=[0,[0,M60,Tx(tx,xa)],mn],I3=[0,[0,U60,Tx(tx,T3)],A3];return Y(B60,D,iv,[0,[0,q60,Tx(S3,E3)],I3]);case 25:var hn=A[1],ts=hn[1],j3=hn[5],P3=hn[4],Ga=hn[3],Wa=hn[2],$a=ts[0]===0?hr(ts[1]):kx(ts[1]),cv=[0,[0,J60,_x(Ga)],[0,[0,X60,!!P3],0]];return Y(z60,D,j3,[0,[0,Y60,$a],[0,[0,K60,tx(Wa)],cv]]);case 26:var Mt=A[1],de=Mt[1],te=Mt[5],pt=Mt[4],ra=Mt[3],N3=Mt[2],ea=de[0]===0?hr(de[1]):kx(de[1]),ns=[0,[0,G60,_x(ra)],[0,[0,V60,!!pt],0]];return Y(H60,D,te,[0,[0,$60,ea],[0,[0,W60,tx(N3)],ns]]);case 27:var ye=A[1],sv=ye[3],O3=ye[2],Vd=ye[10],Gd=ye[9],Wd=ye[8],$d=ye[7],M6=ye[6],RC=ye[5],FC=ye[4],LC=O3[2][4],MC=ye[1],UC=sv[0]===0?sv[1]:gx(ck0),qC=N1(S2(LC),Vd);if(M6===0)var Hd=0,Qd=sk0;else var Hd=[0,[0,lk0,!!FC],[0,[0,vk0,!!RC],[0,[0,ok0,Tx(an,$d)],[0,[0,ak0,!1],0]]]],Qd=pk0;var BC=[0,[0,kk0,Tx(K2,Gd)],0],XC=[0,[0,mk0,z1(Wd)],BC],JC=[0,[0,hk0,Vx(UC)],XC],KC=[0,[0,dk0,Zx(O3)],JC];return Y(Qd,D,qC,Fx([0,[0,yk0,Tx(j0,MC)],KC],Hd));case 28:var C3=A[1],Zd=C3[3],YC=C3[4],zC=C3[2],VC=C3[1];if(Zd)var x5=Zd[1][2],r5=_x(ow0(x5[1],x5[2]));else var r5=_1;var GC=[0,[0,Z60,_x(zC)],[0,[0,Q60,r5],0]];return Y(rp0,D,YC,[0,[0,xp0,tx(VC)],GC]);case 29:var av=A[1],e5=av[4],t5=av[3],WC=av[5],$C=av[2],HC=av[1];if(e5){var U6=e5[1];if(U6[0]===0)var QC=U6[1],u5=xn(function(V6){var R3=V6[3],F3=V6[2],a5=V6[1],_D=F3?Zr(R3[1],F3[1][1]):R3[1],bD=F3?F3[1]:R3;x:{r:{var wD=0;if(a5){switch(a5[1]){case 0:var o5=qu;break;case 1:var o5=ss;break;default:break r}var v5=o5;break x}}var v5=_1}var TD=[0,[0,F_0,j0(bD)],[0,[0,R_0,v5],wD]];return Y(M_0,_D,0,[0,[0,L_0,j0(R3)],TD])},QC);else var n5=U6[1],ZC=n5[1],u5=[0,Y(D_0,ZC,0,[0,[0,C_0,j0(n5[2])],0]),0];var q6=u5}else var q6=0;if(t5)var i5=t5[1][1],xD=[0,[0,N_0,j0(i5)],0],f5=[0,Y(O_0,i5[1],0,xD),q6];else var f5=q6;switch(HC){case 0:var B6=ep0;break;case 1:var B6=tp0;break;default:var B6=np0}var rD=[0,[0,ip0,Ex($C)],[0,[0,up0,Qx(B6)],0]];return Y(cp0,D,WC,[0,[0,fp0,M2(f5)],rD]);case 30:return Yx([0,D,A[1]]);case 31:var X6=A[1],eD=X6[3],tD=X6[1],nD=[0,[0,sp0,_x(X6[2])],0];return Y(op0,D,eD,[0,[0,ap0,j0(tD)],nD]);case 32:var c5=A[1],uD=c5[2];return Y(lp0,D,uD,[0,[0,vp0,Tx(tx,c5[1])],0]);case 33:var J6=A[1],iD=J6[3],fD=J6[1],cD=[0,[0,pp0,jr(c1,J6[2])],0];return Y(mp0,D,iD,[0,[0,kp0,tx(fD)],cD]);case 34:var s5=A[1],sD=s5[2];return Y(dp0,D,sD,[0,[0,hp0,tx(s5[1])],0]);case 35:var D3=A[1],aD=D3[4],oD=D3[2],vD=D3[1],lD=[0,[0,yp0,Tx(Vx,D3[3])],0],pD=[0,[0,gp0,Tx(Rr,oD)],lD];return Y(bp0,D,aD,[0,[0,_p0,Vx(vD)],pD]);case 36:return w([0,D,A[1]]);case 37:return px(0,[0,D,A[1]]);case 38:return hr([0,D,A[1]]);case 39:var K6=A[1],kD=K6[3],mD=K6[1],hD=[0,[0,wp0,_x(K6[2])],0];return Y(Ep0,D,kD,[0,[0,Tp0,tx(mD)],hD]);default:var Y6=A[1],dD=Y6[3],yD=Y6[1],gD=[0,[0,Sp0,_x(Y6[2])],0];return Y(Ip0,D,dD,[0,[0,Ap0,tx(yD)],gD])}}function zx(X){var A=X[2],D=A[4],u0=A[3][2],k0=A[1],C0=X[1],nx=[0,[0,Gg0,Y(i_0,A[2],0,0)],0],Sx=[0,[0,Wg0,jr(Ba,u0)],nx];return Y(Hg0,C0,D,[0,[0,$g0,Y(t_0,k0,0,0)],Sx])}function Lx(X){var A=X[2],D=A[1],u0=A[4],k0=A[2],C0=X[1],nx=[0,[0,Kg0,jr(Ba,A[3][2])],0],Sx=[0,[0,Yg0,Tx(Ua,k0)],nx],Px=D[2],qx=Px[2],lr=Px[4],tr=Px[3],br=Px[1],pr=D[1],ur=qx?[0,[0,Qg0,Gs(qx[1])],0]:0,Tr=[0,[0,x_0,jr(Ws,lr)],[0,[0,Zg0,!!tr],0]];return Y(Vg0,C0,u0,[0,[0,zg0,Y(e_0,pr,0,Fx([0,[0,r_0,Zo(br)],Tr],ur))],Sx])}function M0(X){var A=X[2],D=A[3],u0=A[1],k0=X[1],C0=[0,[0,p50,jr(tx,A[2])],0];return Y(m50,k0,D,[0,[0,k50,jr($o,u0)],C0])}function qr(X){var A=X[2],D=A[1],u0=A[2],k0=X[1],C0=D?x50:r50;return Y(n50,k0,u0,[0,[0,t50,!!D],[0,[0,e50,Qx(C0)],0]])}function Ex(X){var A=X[2];return Y(Zd0,X[1],A[3],[0,[0,Qd0,Qx(A[1])],[0,[0,Hd0,Qx(A[2])],0]])}function $0(X){var A=X[2],D=A[2],u0=A[1],k0=A[3],C0=X[1],nx=u0?RU(Lv,u0[1]):iq(zd0,sq(95,k1(D,0,Nx(D)-1|0)));return Y($d0,C0,k0,[0,[0,Wd0,_1],[0,[0,Gd0,Qx(nx)],[0,[0,Vd0,Qx(D)],0]]])}function Gx(X){var A=X[2];return Y(Yd0,X[1],A[3],[0,[0,Kd0,A[1]],[0,[0,Jd0,Qx(A[2])],0]])}function j0(X){var A=X[2];return Y(Dk0,X[1],A[2],[0,[0,Ck0,Qx(A[1])],[0,[0,Ok0,_1],[0,[0,Nk0,!1],0]]])}function cr(X){var A=X[2],D=A[3],u0=A[2],k0=A[10],C0=A[9],nx=A[8],Sx=A[7],Px=A[5],qx=A[4],lr=u0[2][4],tr=A[1],br=X[1],pr=D[0]===0?D[1]:gx(gk0),ur=N1(S2(lr),k0),Tr=[0,[0,_k0,Tx(K2,C0)],0],Br=[0,[0,wk0,!1],[0,[0,bk0,z1(nx)],Tr]],Or=[0,[0,Sk0,!!qx],[0,[0,Ek0,!!Px],[0,[0,Tk0,Tx(an,Sx)],Br]]],Wr=[0,[0,Ak0,Vx(pr)],Or],Pr=[0,[0,Ik0,Zx(u0)],Wr];return Y(Pk0,br,ur,[0,[0,jk0,Tx(j0,tr)],Pr])}function tx(X){var A=X[2],D=X[1];switch(A[0]){case 0:var u0=A[1],k0=u0[2],C0=[0,[0,jp0,jr(Wo,u0[1])],0];return Y(Pp0,D,S2(k0),C0);case 1:var nx=A[1],Sx=nx[3],Px=nx[2],qx=nx[10],lr=nx[9],tr=nx[8],br=nx[7],pr=nx[4],ur=Px[2][4];if(Sx[0]===0)var Tr=0,Br=Vx(Sx[1]);else var Tr=1,Br=tx(Sx[1]);var Or=N1(S2(ur),qx),Wr=[0,[0,Np0,Tx(K2,lr)],0],Pr=[0,[0,Cp0,!!Tr],[0,[0,Op0,z1(tr)],Wr]],t2=[0,[0,Lp0,Br],[0,[0,Fp0,!!pr],[0,[0,Rp0,!1],[0,[0,Dp0,Tx(an,br)],Pr]]]];return Y(qp0,D,Or,[0,[0,Up0,_1],[0,[0,Mp0,Zx(Px)],t2]]);case 2:var p2=A[1],o2=p2[2];return Y(Xp0,D,o2,[0,[0,Bp0,tx(p2[1])],0]);case 3:var n2=A[1],c2=n2[3],w2=n2[1],k2=[0,[0,Jp0,_r(n2[2][2])],0];return Y(Yp0,D,c2,[0,[0,Kp0,tx(w2)],k2]);case 4:var v2=A[1],q2=v2[1],s1=v2[4],O1=v2[3],xe=v2[2];if(q2){switch(q2[1]){case 0:var sr=X$;break;case 1:var sr=J$;break;case 2:var sr=K$;break;case 3:var sr=Y$;break;case 4:var sr=z$;break;case 5:var sr=V$;break;case 6:var sr=G$;break;case 7:var sr=W$;break;case 8:var sr=$$;break;case 9:var sr=H$;break;case 10:var sr=Q$;break;case 11:var sr=Z$;break;case 12:var sr=xH;break;case 13:var sr=rH;break;default:var sr=eH}var Xr=sr}else var Xr=zp0;var Cr=[0,[0,Vp0,tx(O1)],0];return Y($p0,D,s1,[0,[0,Wp0,Qx(Xr)],[0,[0,Gp0,kx(xe)],Cr]]);case 5:var Jr=A[1],bx=Jr[4],le=Jr[2],pe=Jr[1],Re=[0,[0,Hp0,tx(Jr[3])],0],b1=[0,[0,Qp0,tx(le)],Re];switch(pe){case 0:var $r=g$;break;case 1:var $r=_$;break;case 2:var $r=b$;break;case 3:var $r=w$;break;case 4:var $r=T$;break;case 5:var $r=E$;break;case 6:var $r=S$;break;case 7:var $r=A$;break;case 8:var $r=I$;break;case 9:var $r=j$;break;case 10:var $r=P$;break;case 11:var $r=N$;break;case 12:var $r=O$;break;case 13:var $r=C$;break;case 14:var $r=D$;break;case 15:var $r=R$;break;case 16:var $r=F$;break;case 17:var $r=L$;break;case 18:var $r=M$;break;case 19:var $r=U$;break;case 20:var $r=q$;break;default:var $r=B$}return Y(x40,D,bx,[0,[0,Zp0,Qx($r)],b1]);case 6:var re=A[1],x1=re[4],C1=N1(S2(re[3][2][2]),x1);return Y(r40,D,C1,Ka(re));case 7:return Ur(xm0,[0,D,A[1]]);case 8:var w1=A[1],lt=w1[4],Rt=w1[2],Fe=w1[1],D1=[0,[0,e40,tx(w1[3])],0],Le=[0,[0,t40,tx(Rt)],D1];return Y(u40,D,lt,[0,[0,n40,tx(Fe)],Le]);case 9:return cr([0,D,A[1]]);case 10:return j0(A[1]);case 11:var ke=A[1],ee=ke[2];return Y(f40,D,ee,[0,[0,i40,tx(ke[1])],0]);case 12:return Lx([0,D,A[1]]);case 13:return zx([0,D,A[1]]);case 14:return Ex([0,D,A[1]]);case 15:return qr([0,D,A[1]]);case 16:return Y(l50,D,A[1],[0,[0,v50,_1],[0,[0,o50,oo],0]]);case 17:return Gx([0,D,A[1]]);case 18:return $0([0,D,A[1]]);case 19:var a1=A[1],Me=a1[2],V1=a1[1],Ft=a1[4],Ue=a1[3];try{var qe=new RegExp(Qx(V1),Qx(Me)),r1=qe}catch{var r1=_1}return Y(a50,D,Ft,[0,[0,s50,r1],[0,[0,c50,Qx(Ue)],[0,[0,f50,Vc([0,[0,i50,Qx(V1)],[0,[0,u50,Qx(Me)],0]])],0]]]);case 20:var T1=A[1];return Ex([0,D,[0,T1[1],T1[5],T1[6]]]);case 21:var Be=A[1],$c=Be[4],Hc=Be[3],Qc=Be[2];switch(Be[1]){case 0:var me=c40;break;case 1:var me=s40;break;default:var me=a40}var Xe=[0,[0,o40,tx(Hc)],0];return Y(p40,D,$c,[0,[0,l40,Qx(me)],[0,[0,v40,tx(Qc)],Xe]]);case 22:var Lt=A[1],Je=Lt[3];return Y(k40,D,Je,O6(Lt));case 23:var E1=A[1],on=E1[3],vn=E1[1],Zc=[0,[0,m40,j0(E1[2])],0];return Y(d40,D,on,[0,[0,h40,j0(vn)],Zc]);case 24:var Ke=A[1],Ye=Ke[4],ln=Ke[3],pn=Ke[2],he=Ke[1];if(ln)var kn=ln[1],Hs=N1(S2(kn[2][2]),Ye),xs=Hs,Qs=Ux(kn);else var xs=Ye,Qs=M2(0);var Ya=[0,[0,g40,Tx(Gs,pn)],[0,[0,y40,Qs],0]];return Y(b40,D,xs,[0,[0,_40,tx(he)],Ya]);case 25:var za=A[1],ev=za[2],tv=[0,[0,w40,jr(Ks,za[1])],0];return Y(T40,D,S2(ev),tv);case 26:var nv=A[1],Zs=nv[1],_3=nv[3],b3=Zs[4],rs=N1(S2(Zs[3][2][2]),b3);return Y(S40,D,rs,Fx(Ka(Zs),[0,[0,E40,!!_3],0]));case 27:var Va=A[1],uv=Va[1],w3=uv[3],es=[0,[0,A40,!!Va[3]],0];return Y(I40,D,w3,Fx(O6(uv),es));case 28:var iv=A[1],fv=iv[2];return Y(P40,D,fv,[0,[0,j40,jr(tx,iv[1])],0]);case 29:return Y(N40,D,A[1][1],0);case 30:var xa=A[1],T3=xa[3],E3=xa[1],S3=[0,[0,b50,M0(xa[2])],0];return Y(T50,D,T3,[0,[0,w50,tx(E3)],S3]);case 31:return M0([0,D,A[1]]);case 32:return Y(O40,D,A[1][1],0);case 33:var mn=A[1],A3=mn[3],I3=mn[1],hn=[0,[0,C40,hx(mn[2])],0];return Y(R40,D,A3,[0,[0,D40,tx(I3)],hn]);case 34:var ts=A[1],j3=ts[3],P3=ts[1],Ga=[0,[0,F40,_r(ts[2][2])],0];return Y(M40,D,j3,[0,[0,L40,tx(P3)],Ga]);case 35:var Wa=A[1],$a=Wa[3],cv=Wa[2],Mt=Wa[1];if(7<=Mt)return Y(q40,D,$a,[0,[0,U40,tx(cv)],0]);switch(Mt){case 0:var de=B40;break;case 1:var de=X40;break;case 2:var de=J40;break;case 3:var de=K40;break;case 4:var de=Y40;break;case 5:var de=z40;break;case 6:var de=V40;break;default:var de=gx(G40)}return Y(Q40,D,$a,[0,[0,H40,Qx(de)],[0,[0,$40,!0],[0,[0,W40,tx(cv)],0]]]);case 36:var te=A[1],pt=te[4],ra=te[3],N3=te[2],ea=te[1]?Z40:xk0;return Y(nk0,D,pt,[0,[0,tk0,Qx(ea)],[0,[0,ek0,tx(N3)],[0,[0,rk0,!!ra],0]]]);default:var ns=A[1],ye=ns[2],sv=[0,[0,uk0,!!ns[3]],0];return Y(fk0,D,ye,[0,[0,ik0,Tx(tx,ns[1])],sv])}}function Mx(X){var A=X[2];return Y(Mk0,X[1],A[2],[0,[0,Lk0,Qx(A[1])],[0,[0,Fk0,_1],[0,[0,Rk0,!1],0]]])}function b2(X,A){var D=A[1][2],u0=D[2],k0=D[1],C0=[0,[0,Uk0,!!A[3]],0];return Y(Xk0,X,u0,[0,[0,Bk0,Qx(k0)],[0,[0,qk0,d3(hx,A[2])],C0]])}function Ux(X){return jr(Go,X[2][1])}function c1(X){var A=X[2],D=A[3],u0=A[1],k0=X[1],C0=[0,[0,Jk0,jr(_x,A[2])],0];return Y(Yk0,k0,D,[0,[0,Kk0,Tx(tx,u0)],C0])}function Rr(X){var A=X[2],D=A[3],u0=A[1],k0=X[1],C0=[0,[0,zk0,Vx(A[2])],0];return Y(Gk0,k0,D,[0,[0,Vk0,Tx(kx,u0)],C0])}function U2(X){return M2(xn(function(A){var D=A[2];return g(0,D[3],A[1],[0,D[1]],D[2][2])},X))}function g(X,A,D,u0,k0){if(u0)var C0=u0[1],nx=C0[0]===0?Tx(j0,[0,C0[1]]):Tx(Ex,[0,C0[1]]),Sx=nx;else var Sx=Tx(j0,0);return Y(S80,D,X,[0,[0,E80,Sx],[0,[0,T80,_r(k0)],[0,[0,w80,!!A],0]]])}function G(X){var A=X[2],D=A[4],u0=A[3],k0=A[2],C0=A[1],nx=X[1];return g(D,u0,nx,eh(function(Sx){return[0,Sx]},C0),k0)}function H(X){return X?R80:F80}function l0(X){if(!X)return M2(0);var A=X[1];if(A[0]===0)return jr(y3,A[1]);var D=A[1],u0=D[2],k0=D[1];return M2(u0?[0,Y(M80,k0,0,[0,[0,L80,j0(u0[1])],0]),0]:0)}function J(X){var A=X[2],D=A[2],u0=X[1];return Y(sm0,u0,D,[0,[0,cm0,tx(A[1])],0])}function s0(X){var A=X[2],D=A[1],u0=X[1],k0=[0,[0,am0,Tx(cn,A[2])],0];return Y(vm0,u0,0,[0,[0,om0,j0(D)],k0])}function _0(X){switch(X[0]){case 0:var A=X[1],D=A[2],u0=D[6],k0=D[2],C0=D[5],nx=D[4],Sx=D[3],Px=D[1],qx=A[1];switch(k0[0]){case 0:var pr=u0,ur=0,Tr=Ex(k0[1]);break;case 1:var pr=u0,ur=0,Tr=Gx(k0[1]);break;case 2:var pr=u0,ur=0,Tr=$0(k0[1]);break;case 3:var pr=u0,ur=0,Tr=j0(k0[1]);break;case 4:var pr=u0,ur=0,Tr=Mx(k0[1]);break;default:var lr=k0[1][2],tr=lr[1],br=N1(lr[2],u0),pr=br,ur=1,Tr=tx(tr)}switch(Px){case 0:var Br=km0;break;case 1:var Br=mm0;break;case 2:var Br=hm0;break;default:var Br=dm0}var Or=[0,[0,bm0,Qx(Br)],[0,[0,_m0,!!nx],[0,[0,gm0,!!ur],[0,[0,ym0,jr(J,C0)],0]]]];return Y(Em0,qx,pr,[0,[0,Tm0,Tr],[0,[0,wm0,cr(Sx)],Or]]);case 1:var Wr=X[1],Pr=Wr[2],t2=Pr[7],p2=Pr[6],o2=Pr[2],n2=Pr[1],c2=Pr[5],w2=Pr[4],k2=Pr[3],v2=Wr[1];switch(n2[0]){case 0:var sr=t2,Xr=0,Cr=Ex(n2[1]);break;case 1:var sr=t2,Xr=0,Cr=Gx(n2[1]);break;case 2:var sr=t2,Xr=0,Cr=$0(n2[1]);break;case 3:var sr=t2,Xr=0,Cr=j0(n2[1]);break;case 4:var q2=gx(Rm0),sr=q2[3],Xr=q2[2],Cr=q2[1];break;default:var s1=n2[1][2],O1=s1[1],xe=N1(s1[2],t2),sr=xe,Xr=1,Cr=tx(O1)}if(typeof o2=="number")if(o2)var Jr=0,bx=0;else var Jr=1,bx=0;else var Jr=0,bx=[0,o2[1]];var le=Jr?[0,[0,Fm0,!!Jr],0]:0,pe=p2===0?0:[0,[0,Lm0,jr(J,p2)],0],Re=Fx(pe,le),b1=[0,[0,qm0,!!Xr],[0,[0,Um0,!!w2],[0,[0,Mm0,Tx(st,c2)],0]]],$r=[0,[0,Bm0,d3(hx,k2)],b1];return Y(Km0,v2,sr,Fx([0,[0,Jm0,Cr],[0,[0,Xm0,Tx(tx,bx)],$r]],Re));default:var re=X[1],x1=re[2],C1=x1[6],w1=x1[2],lt=x1[7],Rt=x1[5],Fe=x1[4],D1=x1[3],Le=x1[1],ke=re[1];if(typeof w1=="number")if(w1)var ee=0,a1=0;else var ee=1,a1=0;else var ee=0,a1=[0,w1[1]];var Me=ee?[0,[0,Sm0,!!ee],0]:0,V1=C1===0?0:[0,[0,Am0,jr(J,C1)],0],Ft=Fx(V1,Me),Ue=[0,[0,Pm0,!1],[0,[0,jm0,!!Fe],[0,[0,Im0,Tx(st,Rt)],0]]],qe=[0,[0,Nm0,d3(hx,D1)],Ue],r1=[0,[0,Om0,Tx(tx,a1)],qe];return Y(Dm0,ke,lt,Fx([0,[0,Cm0,Mx(Le)],r1],Ft))}}function y0(X){var A=X[2],D=A[3],u0=A[2],k0=A[1],C0=X[1],nx=A[4],Sx=k0[0]===0?j0(k0[1]):Ex(k0[1]);if(D)var Px=[0,[0,Zm0,tx(D[1])],0],qx=Y(rh0,C0,0,[0,[0,xh0,kx(u0)],Px]);else var qx=kx(u0);return Y(uh0,C0,0,[0,[0,nh0,Sx],[0,[0,th0,qx],[0,[0,eh0,!!nx],0]]])}function J0(X){var A=X[2],D=X[1];switch(A[0]){case 0:var u0=A[1],k0=u0[4],C0=u0[1],nx=[0,[0,wh0,!!u0[2]],[0,[0,bh0,!!u0[3]],0]],Sx=[0,[0,Th0,jr(function(sr){var Xr=sr[2],Cr=Xr[1],Jr=sr[1],bx=[0,[0,yh0,qr(Xr[2])],0];return Y(_h0,Jr,0,[0,[0,gh0,j0(Cr)],bx])},C0)],nx];return Y(Eh0,D,S2(k0),Sx);case 1:var Px=A[1],qx=Px[4],lr=Px[1],tr=[0,[0,Ah0,!!Px[2]],[0,[0,Sh0,!!Px[3]],0]],br=[0,[0,Ih0,jr(function(sr){var Xr=sr[2],Cr=Xr[1],Jr=sr[1],bx=[0,[0,mh0,Gx(Xr[2])],0];return Y(dh0,Jr,0,[0,[0,hh0,j0(Cr)],bx])},lr)],tr];return Y(jh0,D,S2(qx),br);case 2:var pr=A[1],ur=pr[1],Tr=pr[4],Br=pr[3],Or=pr[2];if(ur[0]===0)var Wr=ur[1],t2=xn(function(sr){var Xr=sr[1];return Y(kh0,Xr,0,[0,[0,ph0,j0(sr[2][1])],0])},Wr);else var Pr=ur[1],t2=xn(function(sr){var Xr=sr[2],Cr=Xr[1],Jr=sr[1],bx=[0,[0,oh0,Ex(Xr[2])],0];return Y(lh0,Jr,0,[0,[0,vh0,j0(Cr)],bx])},Pr);var p2=[0,[0,Oh0,M2(t2)],[0,[0,Nh0,!!Or],[0,[0,Ph0,!!Br],0]]];return Y(Ch0,D,S2(Tr),p2);case 3:var o2=A[1],n2=o2[3],c2=o2[1],w2=[0,[0,Dh0,!!o2[2]],0],k2=[0,[0,Rh0,jr(function(sr){var Xr=sr[1];return Y(ah0,Xr,0,[0,[0,sh0,j0(sr[2][1])],0])},c2)],w2];return Y(Fh0,D,S2(n2),k2);default:var v2=A[1],q2=v2[4],s1=v2[1],O1=[0,[0,Mh0,!!v2[2]],[0,[0,Lh0,!!v2[3]],0]],xe=[0,[0,Uh0,jr(function(sr){var Xr=sr[2],Cr=Xr[1],Jr=sr[1],bx=[0,[0,ih0,$0(Xr[2])],0];return Y(ch0,Jr,0,[0,[0,fh0,j0(Cr)],bx])},s1)],O1];return Y(qh0,D,S2(q2),xe)}}function Rx(X){var A=X[2],D=A[1],u0=A[3],k0=A[2],C0=X[1],nx=D[0]===0?j0(D[1]):zs(D[1]);return Y(Hh0,C0,u0,[0,[0,$h0,nx],[0,[0,Wh0,Tx(cn,k0)],0]])}function kx(X){var A=X[2],D=X[1];switch(A[0]){case 0:var u0=A[1],k0=u0[3],C0=u0[1],nx=[0,[0,Qh0,d3(hx,u0[2])],0],Sx=[0,[0,Zh0,jr(un,C0)],nx];return Y(xd0,D,S2(k0),Sx);case 1:var Px=A[1],qx=Px[3],lr=Px[1],tr=[0,[0,rd0,d3(hx,Px[2])],0],br=[0,[0,ed0,jr(Fr,lr)],tr];return Y(td0,D,S2(qx),br);case 2:return b2(D,A[1]);default:return tx(A[1])}}function Jx(X){var A=X[2],D=A[2],u0=A[1],k0=X[1];if(!D)return kx(u0);var C0=[0,[0,nd0,tx(D[1])],0];return Y(id0,k0,0,[0,[0,ud0,kx(u0)],C0])}function gr(X){var A=X[2],D=A[2],u0=X[1];return Y(sd0,u0,D,[0,[0,cd0,uo],[0,[0,fd0,hx(A[1])],0]])}function Zx(X){var A=X[2],D=A[3],u0=A[2],k0=A[1];if(D){var C0=D[1],nx=C0[2],Sx=nx[2],Px=C0[1],qx=Y(od0,Px,Sx,[0,[0,ad0,kx(nx[1])],0]),lr=vx([0,qx,th(Jx,u0)]),tr=k0?[0,gr(k0[1]),lr]:lr;return M2(tr)}var br=xn(Jx,u0),pr=k0?[0,gr(k0[1]),br]:br;return M2(pr)}function er(X,A){var D=A[2];return Y(ld0,X,D,[0,[0,vd0,kx(A[1])],0])}function Fr(X){switch(X[0]){case 0:var A=X[1],D=A[2],u0=D[2],k0=D[1],C0=A[1];if(!u0)return kx(k0);var nx=[0,[0,pd0,tx(u0[1])],0];return Y(md0,C0,0,[0,[0,kd0,kx(k0)],nx]);case 1:var Sx=X[1];return er(Sx[1],Sx[2]);default:return _1}}function hx(X){var A=X[1];return Y(Ig0,A,0,[0,[0,Ag0,_r(X[2])],0])}function z1(X){switch(X[0]){case 0:return _1;case 1:return hx(X[1]);default:var A=X[1],D=A[2],u0=A[1];return Y(Pg0,u0,0,[0,[0,jg0,Da([0,D[1],D[2]])],0])}}function Ks(X){if(X[0]===0){var A=X[1],D=A[2],u0=A[1];switch(D[0]){case 0:var k0=D[3],C0=D[1],ur=0,Tr=k0,Br=0,Or=hd0,Wr=tx(D[2]),Pr=C0;break;case 1:var nx=D[2],Sx=D[1],ur=0,Tr=0,Br=1,Or=dd0,Wr=cr([0,nx[1],nx[2]]),Pr=Sx;break;case 2:var Px=D[2],qx=D[3],lr=D[1],ur=qx,Tr=0,Br=0,Or=yd0,Wr=cr([0,Px[1],Px[2]]),Pr=lr;break;default:var tr=D[2],br=D[3],pr=D[1],ur=br,Tr=0,Br=0,Or=gd0,Wr=cr([0,tr[1],tr[2]]),Pr=pr}switch(Pr[0]){case 0:var c2=ur,w2=0,k2=Ex(Pr[1]);break;case 1:var c2=ur,w2=0,k2=Gx(Pr[1]);break;case 2:var c2=ur,w2=0,k2=$0(Pr[1]);break;case 3:var c2=ur,w2=0,k2=j0(Pr[1]);break;case 4:var t2=gx(_d0),c2=t2[3],w2=t2[2],k2=t2[1];break;default:var p2=Pr[1][2],o2=p2[1],n2=N1(p2[2],ur),c2=n2,w2=1,k2=tx(o2)}return Y(Id0,u0,c2,[0,[0,Ad0,k2],[0,[0,Sd0,Wr],[0,[0,Ed0,Qx(Or)],[0,[0,Td0,!!Br],[0,[0,wd0,!!Tr],[0,[0,bd0,!!w2],0]]]]]])}var v2=X[1],q2=v2[2],s1=q2[2],O1=v2[1];return Y(Pd0,O1,s1,[0,[0,jd0,tx(q2[1])],0])}function un(X){if(X[0]!==0){var A=X[1];return er(A[1],A[2])}var D=X[1],u0=D[2],k0=u0[3],C0=u0[2],nx=u0[1],Sx=u0[4],Px=D[1];switch(nx[0]){case 0:var tr=0,br=0,pr=Ex(nx[1]);break;case 1:var tr=0,br=0,pr=Gx(nx[1]);break;case 2:var tr=0,br=0,pr=$0(nx[1]);break;case 3:var tr=0,br=0,pr=j0(nx[1]);break;default:var qx=nx[1][2],lr=qx[2],tr=lr,br=1,pr=tx(qx[1])}if(k0)var ur=k0[1],Tr=Zr(C0[1],ur[1]),Br=[0,[0,Nd0,tx(ur)],0],Or=Y(Cd0,Tr,0,[0,[0,Od0,kx(C0)],Br]);else var Or=kx(C0);return Y(qd0,Px,tr,[0,[0,Ud0,pr],[0,[0,Md0,Or],[0,[0,Ld0,$7],[0,[0,Fd0,!1],[0,[0,Rd0,!!Sx],[0,[0,Dd0,!!br],0]]]]]])}function fn(X){var A=X[2],D=A[2],u0=X[1];return Y(Xd0,u0,D,[0,[0,Bd0,tx(A[1])],0])}function Go(X){return X[0]===0?tx(X[1]):fn(X[1])}function Wo(X){switch(X[0]){case 0:return tx(X[1]);case 1:return fn(X[1]);default:return _1}}function $o(X){var A=X[2],D=A[1],u0=A[2],k0=X[1];return Y(_50,k0,0,[0,[0,g50,Vc([0,[0,d50,Qx(D[1])],[0,[0,h50,Qx(D[2])],0]])],[0,[0,y50,!!u0],0]])}function Na(X){switch(X){case 0:return E50;case 1:return S50;default:return A50}}function Ho(X){var A=X[2],D=A[1],u0=X[1],k0=[0,[0,N50,Tx(tx,A[2])],0];return Y(C50,u0,0,[0,[0,O50,kx(D)],k0])}function st(X){var A=X[2],D=A[2],u0=X[1];switch(A[1]){case 0:var k0=D50;break;case 1:var k0=R50;break;case 2:var k0=F50;break;case 3:var k0=L50;break;case 4:var k0=M50;break;default:var k0=U50}return Y(B50,u0,D,[0,[0,q50,Qx(k0)],0])}function Ys(X,A,D,u0){return Y(Z90,X,A,[0,[0,Q90,Qx(D)],[0,[0,H90,_r(u0)],0]])}function Oa(X,A){var D=A[3],u0=A[2];switch(A[4]){case 0:var k0=G90;break;case 1:var k0=W90;break;default:var k0=$90}return Ys(X,D,k0,u0)}function Ca(X){var A=X[2],D=A[1],u0=A[3],k0=A[2],C0=X[1],nx=D[0]===0?j0(D[1]):zs(D[1]);return Y(P90,C0,u0,[0,[0,j90,nx],[0,[0,I90,Tx(cn,k0)],0]])}function at(X,A){var D=A[2],u0=D[4],k0=D[3],C0=D[2],nx=D[1],Sx=A[1],Px=u1(function(Or,Wr){var Pr=Or[4],t2=Or[3],p2=Or[2],o2=Or[1];switch(Wr[0]){case 0:var n2=Wr[1],c2=n2[2],w2=c2[2],k2=c2[1],v2=c2[8],q2=c2[7],s1=c2[6],O1=c2[5],xe=c2[4],sr=c2[3],Xr=n2[1];switch(k2[0]){case 0:var Cr=Ex(k2[1]);break;case 1:var Cr=Gx(k2[1]);break;case 2:var Cr=$0(k2[1]);break;case 3:var Cr=j0(k2[1]);break;case 4:var Cr=gx(Py0);break;default:var Cr=gx(Ny0)}switch(w2[0]){case 0:var le=Oy0,pe=_r(w2[1]);break;case 1:var Jr=w2[1],le=Cy0,pe=Gc([0,Jr[1],Jr[2]]);break;default:var bx=w2[1],le=Dy0,pe=Gc([0,bx[1],bx[2]])}return[0,[0,Y(Jy0,Xr,v2,[0,[0,Xy0,Cr],[0,[0,By0,pe],[0,[0,qy0,!!s1],[0,[0,Uy0,!!sr],[0,[0,My0,!!xe],[0,[0,Ly0,!!O1],[0,[0,Fy0,Tx(st,q2)],[0,[0,Ry0,Qx(le)],0]]]]]]]]),o2],p2,t2,Pr];case 1:var Re=Wr[1],b1=Re[2],$r=b1[2],re=Re[1];return[0,[0,Y(Yy0,re,$r,[0,[0,Ky0,_r(b1[1])],0]),o2],p2,t2,Pr];case 2:var x1=Wr[1],C1=x1[2],w1=C1[6],lt=C1[4],Rt=C1[3],Fe=C1[2],D1=C1[1],Le=x1[1],ke=[0,[0,Vy0,!!lt],[0,[0,zy0,Tx(st,C1[5])],0]],ee=[0,[0,Gy0,_r(Rt)],ke],a1=[0,[0,Wy0,_r(Fe)],ee];return[0,o2,[0,Y(Hy0,Le,w1,[0,[0,$y0,Tx(j0,D1)],a1]),p2],t2,Pr];case 3:var Me=Wr[1],V1=Me[2],Ft=V1[3],Ue=Me[1],qe=[0,[0,Qy0,!!V1[2]],0];return[0,o2,p2,[0,Y(x90,Ue,Ft,[0,[0,Zy0,Gc(V1[1])],qe]),t2],Pr];case 4:var r1=Wr[1],T1=r1[2],Be=T1[6],$c=T1[5],Hc=T1[4],Qc=T1[3],me=T1[1],Xe=r1[1],Lt=[0,[0,a90,!!Qc],[0,[0,s90,!!Hc],[0,[0,c90,!!$c],[0,[0,f90,_r(T1[2])],0]]]];return[0,o2,p2,t2,[0,Y(v90,Xe,Be,[0,[0,o90,j0(me)],Lt]),Pr]];default:var Je=Wr[1],E1=Je[2],on=E1[6],vn=E1[4],Zc=E1[3],Ke=E1[2],Ye=E1[1],ln=Je[1],pn=0;switch(E1[5]){case 0:var he="PlusOptional";break;case 1:var he="MinusOptional";break;case 2:var he="Optional";break;default:var he=_1}var kn=[0,[0,e90,Tx(st,vn)],[0,[0,r90,he],pn]],Hs=[0,[0,t90,_r(Zc)],kn],xs=[0,[0,n90,_r(Ke)],Hs];return[0,[0,Y(i90,ln,on,[0,[0,u90,Wc(Ye)],xs]),o2],p2,t2,Pr]}},by0,k0),qx=Px[3],lr=Px[2],tr=Px[1],br=[0,[0,wy0,M2(vx(Px[4]))],0],pr=[0,[0,Ty0,M2(vx(qx))],br],ur=[0,[0,Ey0,M2(vx(lr))],pr],Tr=[0,[0,Ay0,!!nx],[0,[0,Sy0,M2(vx(tr))],ur]],Br=X?[0,[0,Iy0,!!C0],Tr]:Tr;return Y(jy0,Sx,S2(u0),Br)}function Gc(X){var A=X[2],D=A[5],u0=A[3],k0=A[2][2],C0=A[4],nx=k0[3],Sx=k0[2],Px=k0[1],qx=A[1],lr=X[1],tr=N1(S2(k0[4]),C0),br=D===0?fy0:cy0,pr=D===0?0:[0,[0,sy0,Tx(Fa,Px)],0],ur=[0,[0,ay0,Tx(K2,qx)],0],Tr=[0,[0,oy0,Tx(Qo,nx)],ur],Br=u0[0]===0?_r(u0[1]):Da(u0[1]),Or=[0,[0,vy0,Br],Tr];return Y(br,lr,tr,Fx([0,[0,ly0,jr(function(Wr){return Ra(0,Wr)},Sx)],Or],pr))}function _r(X){var A=X[2],D=X[1];switch(A[0]){case 0:return Y(X50,D,A[1],0);case 1:return Y(J50,D,A[1],0);case 2:return Y(K50,D,A[1],0);case 3:return Y(Y50,D,A[1],0);case 4:return Y(z50,D,A[1],0);case 5:return Y(G50,D,A[1],0);case 6:return Y(W50,D,A[1],0);case 7:return Y($50,D,A[1],0);case 8:return Y(H50,D,A[2],0);case 9:return Y(V50,D,A[1],0);case 10:return Y(Sg0,D,A[1],0);case 11:var u0=A[1],k0=u0[2];return Y(Z50,D,k0,[0,[0,Q50,_r(u0[1])],0]);case 12:return Gc([0,D,A[1]]);case 13:var C0=A[1],nx=C0[2],Sx=C0[4],Px=C0[3],qx=C0[1],lr=N1(S2(nx[2][3]),Sx),tr=nx[2],br=tr[2],pr=tr[1],ur=[0,[0,d80,Tx(K2,qx)],0],Tr=[0,[0,y80,ot(Px)],ur],Br=[0,[0,g80,Tx(G,br)],Tr];return Y(b80,D,lr,[0,[0,_80,U2(pr)],Br]);case 14:return at(1,[0,D,A[1]]);case 15:var Or=A[1],Wr=Or[3],Pr=Or[2],t2=[0,[0,l90,at(0,Or[1])],0];return Y(k90,D,Wr,[0,[0,p90,jr(Rx,Pr)],t2]);case 16:var p2=A[1],o2=p2[2];return Y(h90,D,o2,[0,[0,m90,_r(p2[1])],0]);case 17:var n2=A[1],c2=n2[5],w2=n2[3],k2=n2[2],v2=n2[1],q2=[0,[0,d90,_r(n2[4])],0],s1=[0,[0,y90,_r(w2)],q2],O1=[0,[0,g90,_r(k2)],s1];return Y(b90,D,c2,[0,[0,_90,_r(v2)],O1]);case 18:var xe=A[1],sr=xe[2];return Y(T90,D,sr,[0,[0,w90,Wc(xe[1])],0]);case 19:return Ca([0,D,A[1]]);case 20:var Xr=A[1],Cr=Xr[3];return Y(C90,D,Cr,La(Xr));case 21:var Jr=A[1],bx=Jr[1],le=bx[3],pe=[0,[0,D90,!!Jr[2]],0];return Y(R90,D,le,Fx(La(bx),pe));case 22:var Re=A[1],b1=Re[1],$r=Re[2];return Y(L90,D,$r,[0,[0,F90,jr(_r,[0,b1[1],[0,b1[2],b1[3]]])],0]);case 23:var re=A[1],x1=re[1],C1=re[2];return Y(U90,D,C1,[0,[0,M90,jr(_r,[0,x1[1],[0,x1[2],x1[3]]])],0]);case 24:var w1=A[1],lt=w1[2],Rt=w1[3],Fe=w1[1],D1=lt?[0,[0,q90,cn(lt[1])],0]:0;return Y(X90,D,Rt,[0,[0,B90,Vs(Fe)],D1]);case 25:var Le=A[1],ke=Le[2];return Y(V90,D,ke,[0,[0,z90,_r(Le[1])],0]);case 26:return Oa(D,A[1]);case 27:var ee=A[1];return Ys(D,ee[2],xg0,ee[1]);case 28:var a1=A[1],Me=a1[3],V1=a1[1],Ft=[0,[0,rg0,!!a1[2]],0];return Y(tg0,D,Me,[0,[0,eg0,jr(function(me){var Xe=me[2],Lt=me[1];switch(Xe[0]){case 0:return _r(Xe[1]);case 1:var Je=Xe[1],E1=Je[2],on=Je[1],vn=[0,[0,ng0,!!Je[4]],0],Zc=[0,[0,ug0,Tx(st,Je[3])],vn],Ke=[0,[0,ig0,_r(E1)],Zc];return Y(cg0,Lt,0,[0,[0,fg0,j0(on)],Ke]);default:var Ye=Xe[1],ln=Ye[1],pn=[0,[0,sg0,_r(Ye[2])],0];return Y(og0,Lt,0,[0,[0,ag0,Tx(j0,ln)],pn])}},V1)],Ft]);case 29:var Ue=A[1];return Y(pg0,D,Ue[3],[0,[0,lg0,Qx(Ue[1])],[0,[0,vg0,Qx(Ue[2])],0]]);case 30:var qe=A[1];return Y(hg0,D,qe[3],[0,[0,mg0,qe[1]],[0,[0,kg0,Qx(qe[2])],0]]);case 31:var r1=A[1];return Y(gg0,D,r1[3],[0,[0,yg0,_1],[0,[0,dg0,Qx(r1[2])],0]]);case 32:var T1=A[1],Be=T1[1],$c=T1[2],Hc=0,Qc=Be?_g0:bg0;return Y(Eg0,D,$c,[0,[0,Tg0,!!Be],[0,[0,wg0,Qx(Qc)],Hc]]);case 33:return Y(xy0,D,A[1],0);case 34:return Y(ry0,D,A[1],0);default:return Y(ey0,D,A[1],0)}}function Da(X){var A=X[2],D=A[2],u0=A[3],k0=D[2],C0=D[1],nx=X[1];switch(A[1]){case 0:var Sx=_1;break;case 1:var Sx=hv;break;default:var Sx=ov}var Px=[0,[0,ny0,Tx(_r,k0)],[0,[0,ty0,Sx],0]],qx=[0,[0,uy0,j0(C0)],Px];return Y(iy0,nx,S2(u0),qx)}function Ra(X,A){var D=A[2],u0=D[1],k0=A[1],C0=[0,[0,py0,!!D[3]],0],nx=[0,[0,ky0,_r(D[2])],C0];return Y(hy0,k0,X,[0,[0,my0,Tx(j0,u0)],nx])}function Qo(X){var A=X[2];return Ra(A[2],A[1])}function Fa(X){var A=X[2],D=A[2],u0=X[1],k0=[0,[0,yy0,_r(A[1][2])],[0,[0,dy0,!1],0]];return Y(_y0,u0,D,[0,[0,gy0,Tx(j0,0)],k0])}function zs(X){var A=X[2],D=A[1],u0=A[2],k0=X[1],C0=D[0]===0?j0(D[1]):zs(D[1]);return Y(A90,k0,0,[0,[0,S90,C0],[0,[0,E90,j0(u0)],0]])}function La(X){var A=X[1],D=[0,[0,N90,_r(X[2])],0];return[0,[0,O90,_r(A)],D]}function Vs(X){if(X[0]===0)return j0(X[1]);var A=X[1],D=A[2],u0=D[2],k0=A[1],C0=Vs(D[1]);return Y(Y90,k0,0,[0,[0,K90,C0],[0,[0,J90,j0(u0)],0]])}function ot(X){return X[0]===0?_1:Oa(X[1],X[2])}function K2(X){var A=X[2],D=A[2],u0=X[1],k0=[0,[0,Ng0,jr(Wc,A[1])],0];return Y(Og0,u0,S2(D),k0)}function Wc(X){var A=X[2],D=A[1][2],u0=A[5],k0=A[4],C0=A[2],nx=D[2],Sx=D[1],Px=X[1],qx=A[3]?[0,[0,Cg0,!0],0]:0,lr=[0,[0,Dg0,Tx(_r,u0)],0],tr=[0,[0,Rg0,Tx(st,k0)],lr];return Y(Mg0,Px,nx,Fx([0,[0,Lg0,Qx(Sx)],[0,[0,Fg0,d3(hx,C0)],tr]],qx))}function cn(X){var A=X[2],D=A[2],u0=X[1],k0=[0,[0,Ug0,jr(_r,A[1])],0];return Y(qg0,u0,S2(D),k0)}function Gs(X){var A=X[2],D=A[2],u0=X[1],k0=[0,[0,Bg0,jr(Ma,A[1])],0];return Y(Xg0,u0,S2(D),k0)}function Ma(X){if(X[0]===0)return _r(X[1]);var A=X[1],D=A[1],u0=A[2][1];return Ca([0,D,[0,[0,rn(0,[0,D,Jg0])],0,u0]])}function Ws(X){if(X[0]===0){var A=X[1],D=A[2],u0=D[1],k0=D[2],C0=A[1],nx=u0[0]===0?vt(u0[1]):Xa(u0[1]);return Y(s_0,C0,0,[0,[0,c_0,nx],[0,[0,f_0,Tx(xv,k0)],0]])}var Sx=X[1],Px=Sx[2],qx=Px[2],lr=Sx[1];return Y(o_0,lr,qx,[0,[0,a_0,tx(Px[1])],0])}function Ua(X){var A=X[1];return Y(u_0,A,0,[0,[0,n_0,Zo(X[2][1])],0])}function qa(X){var A=X[2],D=A[1],u0=X[1],k0=A[2],C0=D?tx(D[1]):Y(v_0,[0,u0[1],[0,u0[2][1],u0[2][2]+1|0],[0,u0[3][1],u0[3][2]-1|0]],0,0);return Y(p_0,u0,S2(k0),[0,[0,l_0,C0],0])}function Ba(X){var A=X[2],D=X[1];switch(A[0]){case 0:return Lx([0,D,A[1]]);case 1:return zx([0,D,A[1]]);case 2:return qa([0,D,A[1]]);case 3:var u0=A[1],k0=u0[2];return Y(m_0,D,k0,[0,[0,k_0,tx(u0[1])],0]);default:var C0=A[1];return Y(y_0,D,0,[0,[0,d_0,Qx(C0[1])],[0,[0,h_0,Qx(C0[2])],0]])}}function vt(X){var A=X[2];return Y(A_0,X[1],A[2],[0,[0,S_0,Qx(A[1])],0])}function Xa(X){var A=X[2],D=A[1],u0=X[1],k0=[0,[0,w_0,vt(A[2])],0];return Y(E_0,u0,0,[0,[0,T_0,vt(D)],k0])}function Ja(X){var A=X[2],D=A[1],u0=A[2],k0=X[1],C0=D[0]===0?vt(D[1]):Ja(D[1]);return Y(b_0,k0,0,[0,[0,__0,C0],[0,[0,g_0,vt(u0)],0]])}function Zo(X){switch(X[0]){case 0:return vt(X[1]);case 1:return Xa(X[1]);default:return Ja(X[1])}}function xv(X){if(X[0]===0){var A=X[1];return Ex([0,A[1],A[2]])}var D=X[1];return qa([0,D[1],D[2]])}function y3(X){var A=X[2],D=A[2],u0=A[1],k0=X[1],C0=j0(D?D[1]:u0);return Y(P_0,k0,0,[0,[0,j_0,j0(u0)],[0,[0,I_0,C0],0]])}function sn(X){return jr(rv,X)}function rv(X){var A=X[2],D=X[1];if(A[1])var u0=A[2],k0=U_0;else var u0=A[2],k0=q_0;return Y(k0,D,0,[0,[0,B_0,Qx(u0)],0])}function an(X){var A=X[2],D=A[1],u0=A[2],k0=X[1];if(D)var C0=[0,[0,X_0,tx(D[1])],0],nx=J_0;else var C0=0,nx=K_0;return Y(nx,k0,u0,C0)}function Ka(X){var A=X[2],D=X[1],u0=[0,[0,Y_0,Ux(X[3])],0],k0=[0,[0,z_0,Tx(Gs,A)],u0];return[0,[0,V_0,tx(D)],k0]}function O6(X){var A=X[2],D=X[1];switch(A[0]){case 0:var u0=0,k0=j0(A[1]);break;case 1:var u0=0,k0=Mx(A[1]);break;default:var u0=1,k0=tx(A[1])}return[0,[0,$_0,tx(D)],[0,[0,W_0,k0],[0,[0,G_0,!!u0],0]]]}var $s=Hx[2],C6=$s[2],D6=$s[4],Xd=$s[3],Jd=Hx[1],Kd=jx($s[1]),R6=[0,[0,Vl0,Kd],[0,[0,zl0,sn(D6)],0]];if(C6)var F6=C6[1],L6=Fx(R6,[0,[0,$l0,Y(Wl0,F6[1],0,[0,[0,Gl0,Qx(F6[2])],0])],0]);else var L6=R6;var g3=Y(Hl0,Jd,Xd,L6),Yd=Fx(g0,NK[1]);if(g3.errors=jr(function(X){var A=X[1],D=[0,[0,H_0,Qx($b0(X[2]))],0];return Vc([0,[0,Q_0,CK(A)],D])},Yd),y){var zd=P[1];g3[hR]=M2(th(function(X){var A=X[2],D=X[1],u0=X[3],k0=[0,[0,ao0,Qx(HN(A))],0],C0=[0,ud(Z0,D[3]),0],nx=[0,[0,oo0,M2([0,ud(Z0,D[2]),C0])],k0],Sx=[0,[0,po0,Vc([0,[0,lo0,D[3][1]],[0,[0,vo0,D[3][2]],0]])],0],Px=[0,[0,do0,Vc([0,[0,ho0,Vc([0,[0,mo0,D[2][1]],[0,[0,ko0,D[2][2]],0]])],Sx])],nx];switch(u0){case 0:var qx=yo0;break;case 1:var qx=go0;break;case 2:var qx=_o0;break;case 3:var qx=bo0;break;case 4:var qx=wo0;break;default:var qx=To0}return Vc([0,[0,So0,Qx(wB(A))],[0,[0,Eo0,Qx(qx)],Px]])},zd))}return g3}if(typeof AD<"u")var DK=AD;else{var RK={};Js.flow=RK;var DK=RK}DK.parse=FY(function(x,r){try{var e=CT0(x,r);return e}catch(u){var t=O2(u);return t[1]===CC?PK(t[2]):PK(new NT0(Qx(Bx(pb0,sh(t)))))}}),fN(R)})(globalThis)});var _j0={};FK(_j0,{parsers:()=>CD});var CD={};FK(CD,{flow:()=>gj0});var eY=zI0(MK(),1);function GI0(a0,ox){let $x=new SyntaxError(a0+" ("+ox.loc.start.line+":"+ox.loc.start.column+")");return Object.assign($x,ox)}var UK=GI0;var WI0=(a0,ox,$x)=>{if(!(a0&&ox==null))return Array.isArray(ox)||typeof ox=="string"?ox[$x<0?ox.length+$x:$x]:ox.at($x)},ID=WI0;function $I0(a0){return Array.isArray(a0)&&a0.length>0}var qK=$I0;function mt(a0){var dr,nr,Er;let ox=((dr=a0.range)==null?void 0:dr[0])??a0.start,$x=(Er=((nr=a0.declaration)==null?void 0:nr.decorators)??a0.decorators)==null?void 0:Er[0];return $x?Math.min(mt($x),ox):ox}function cs(a0){var ox;return((ox=a0.range)==null?void 0:ox[1])??a0.end}function HI0(a0){let ox=new Set(a0);return $x=>ox.has($x==null?void 0:$x.type)}var BK=HI0;var QI0=BK(["Block","CommentBlock","MultiLine"]),Rp=QI0;function ZI0(a0){let ox=`*${a0.value}*`.split(` +`);return ox.length>1&&ox.every($x=>$x.trimStart()[0]==="*")}var jD=ZI0;function xj0(a0){return Rp(a0)&&a0.value[0]==="*"&&/@(?:type|satisfies)\b/u.test(a0.value)}var XK=xj0;var Fp=null;function Lp(a0){if(Fp!==null&&typeof Fp.property){let ox=Fp;return Fp=Lp.prototype=null,ox}return Fp=Lp.prototype=a0??Object.create(null),new Lp}var rj0=10;for(let a0=0;a0<=rj0;a0++)Lp();function PD(a0){return Lp(a0)}function ej0(a0,ox="type"){PD(a0);function $x(dr){let nr=dr[ox],Er=a0[nr];if(!Array.isArray(Er))throw Object.assign(new Error(`Missing visitor keys for '${nr}'.`),{node:dr});return Er}return $x}var JK=ej0;var KK={ArrayExpression:["elements"],AssignmentExpression:["left","right"],BinaryExpression:["left","right"],InterpreterDirective:[],Directive:["value"],DirectiveLiteral:[],BlockStatement:["directives","body"],BreakStatement:["label"],CallExpression:["callee","arguments","typeParameters","typeArguments"],CatchClause:["param","body"],ConditionalExpression:["test","consequent","alternate"],ContinueStatement:["label"],DebuggerStatement:[],DoWhileStatement:["test","body"],EmptyStatement:[],ExpressionStatement:["expression"],File:["program"],ForInStatement:["left","right","body"],ForStatement:["init","test","update","body"],FunctionDeclaration:["id","params","body","returnType","typeParameters","predicate"],FunctionExpression:["id","params","body","returnType","typeParameters"],Identifier:["typeAnnotation","decorators"],IfStatement:["test","consequent","alternate"],LabeledStatement:["label","body"],StringLiteral:[],NumericLiteral:[],NullLiteral:[],BooleanLiteral:[],RegExpLiteral:[],LogicalExpression:["left","right"],MemberExpression:["object","property"],NewExpression:["callee","arguments","typeParameters","typeArguments"],Program:["directives","body"],ObjectExpression:["properties"],ObjectMethod:["key","params","body","decorators","returnType","typeParameters"],ObjectProperty:["key","value","decorators"],RestElement:["argument","typeAnnotation","decorators"],ReturnStatement:["argument"],SequenceExpression:["expressions"],ParenthesizedExpression:["expression"],SwitchCase:["test","consequent"],SwitchStatement:["discriminant","cases"],ThisExpression:[],ThrowStatement:["argument"],TryStatement:["block","handler","finalizer"],UnaryExpression:["argument"],UpdateExpression:["argument"],VariableDeclaration:["declarations"],VariableDeclarator:["id","init"],WhileStatement:["test","body"],WithStatement:["object","body"],AssignmentPattern:["left","right","decorators","typeAnnotation"],ArrayPattern:["elements","typeAnnotation","decorators"],ArrowFunctionExpression:["params","body","returnType","typeParameters","predicate"],ClassBody:["body"],ClassExpression:["id","body","superClass","mixins","typeParameters","superTypeParameters","implements","decorators","superTypeArguments"],ClassDeclaration:["id","body","superClass","mixins","typeParameters","superTypeParameters","implements","decorators","superTypeArguments"],ExportAllDeclaration:["source","attributes","exported"],ExportDefaultDeclaration:["declaration"],ExportNamedDeclaration:["declaration","specifiers","source","attributes"],ExportSpecifier:["local","exported"],ForOfStatement:["left","right","body"],ImportDeclaration:["specifiers","source","attributes"],ImportDefaultSpecifier:["local"],ImportNamespaceSpecifier:["local"],ImportSpecifier:["local","imported"],ImportExpression:["source","options","attributes"],MetaProperty:["meta","property"],ClassMethod:["key","params","body","decorators","returnType","typeParameters"],ObjectPattern:["properties","typeAnnotation","decorators"],SpreadElement:["argument"],Super:[],TaggedTemplateExpression:["tag","quasi","typeParameters","typeArguments"],TemplateElement:[],TemplateLiteral:["quasis","expressions"],YieldExpression:["argument"],AwaitExpression:["argument"],Import:[],BigIntLiteral:[],ExportNamespaceSpecifier:["exported"],OptionalMemberExpression:["object","property"],OptionalCallExpression:["callee","arguments","typeParameters","typeArguments"],ClassProperty:["key","value","typeAnnotation","decorators","variance"],ClassAccessorProperty:["key","value","typeAnnotation","decorators"],ClassPrivateProperty:["key","value","decorators","typeAnnotation","variance"],ClassPrivateMethod:["key","params","body","decorators","returnType","typeParameters"],PrivateName:["id"],StaticBlock:["body"],AnyTypeAnnotation:[],ArrayTypeAnnotation:["elementType"],BooleanTypeAnnotation:[],BooleanLiteralTypeAnnotation:[],NullLiteralTypeAnnotation:[],ClassImplements:["id","typeParameters"],DeclareClass:["id","typeParameters","extends","mixins","implements","body"],DeclareFunction:["id","predicate"],DeclareInterface:["id","typeParameters","extends","body"],DeclareModule:["id","body"],DeclareModuleExports:["typeAnnotation"],DeclareTypeAlias:["id","typeParameters","right"],DeclareOpaqueType:["id","typeParameters","supertype"],DeclareVariable:["id"],DeclareExportDeclaration:["declaration","specifiers","source"],DeclareExportAllDeclaration:["source"],DeclaredPredicate:["value"],ExistsTypeAnnotation:[],FunctionTypeAnnotation:["typeParameters","params","rest","returnType","this"],FunctionTypeParam:["name","typeAnnotation"],GenericTypeAnnotation:["id","typeParameters"],InferredPredicate:[],InterfaceExtends:["id","typeParameters"],InterfaceDeclaration:["id","typeParameters","extends","body"],InterfaceTypeAnnotation:["extends","body"],IntersectionTypeAnnotation:["types"],MixedTypeAnnotation:[],EmptyTypeAnnotation:[],NullableTypeAnnotation:["typeAnnotation"],NumberLiteralTypeAnnotation:[],NumberTypeAnnotation:[],ObjectTypeAnnotation:["properties","indexers","callProperties","internalSlots"],ObjectTypeInternalSlot:["id","value"],ObjectTypeCallProperty:["value"],ObjectTypeIndexer:["id","key","value","variance"],ObjectTypeProperty:["key","value","variance"],ObjectTypeSpreadProperty:["argument"],OpaqueType:["id","typeParameters","supertype","impltype"],QualifiedTypeIdentifier:["id","qualification"],StringLiteralTypeAnnotation:[],StringTypeAnnotation:[],SymbolTypeAnnotation:[],ThisTypeAnnotation:[],TupleTypeAnnotation:["types","elementTypes"],TypeofTypeAnnotation:["argument","typeArguments"],TypeAlias:["id","typeParameters","right"],TypeAnnotation:["typeAnnotation"],TypeCastExpression:["expression","typeAnnotation"],TypeParameter:["bound","default","variance"],TypeParameterDeclaration:["params"],TypeParameterInstantiation:["params"],UnionTypeAnnotation:["types"],Variance:[],VoidTypeAnnotation:[],EnumDeclaration:["id","body"],EnumBooleanBody:["members"],EnumNumberBody:["members"],EnumStringBody:["members"],EnumSymbolBody:["members"],EnumBooleanMember:["id","init"],EnumNumberMember:["id","init"],EnumStringMember:["id","init"],EnumDefaultedMember:["id"],IndexedAccessType:["objectType","indexType"],OptionalIndexedAccessType:["objectType","indexType"],JSXAttribute:["name","value"],JSXClosingElement:["name"],JSXElement:["openingElement","children","closingElement"],JSXEmptyExpression:[],JSXExpressionContainer:["expression"],JSXSpreadChild:["expression"],JSXIdentifier:[],JSXMemberExpression:["object","property"],JSXNamespacedName:["namespace","name"],JSXOpeningElement:["name","attributes","typeArguments","typeParameters"],JSXSpreadAttribute:["argument"],JSXText:[],JSXFragment:["openingFragment","children","closingFragment"],JSXOpeningFragment:[],JSXClosingFragment:[],Noop:[],Placeholder:[],V8IntrinsicIdentifier:[],ArgumentPlaceholder:[],BindExpression:["object","callee"],ImportAttribute:["key","value"],Decorator:["expression"],DoExpression:["body"],ExportDefaultSpecifier:["exported"],RecordExpression:["properties"],TupleExpression:["elements"],DecimalLiteral:[],ModuleExpression:["body"],TopicReference:[],PipelineTopicExpression:["expression"],PipelineBareFunction:["callee"],PipelinePrimaryTopicReference:[],TSParameterProperty:["parameter","decorators"],TSDeclareFunction:["id","typeParameters","params","returnType","body"],TSDeclareMethod:["decorators","key","typeParameters","params","returnType"],TSQualifiedName:["left","right"],TSCallSignatureDeclaration:["typeParameters","parameters","typeAnnotation","params","returnType"],TSConstructSignatureDeclaration:["typeParameters","parameters","typeAnnotation","params","returnType"],TSPropertySignature:["key","typeAnnotation"],TSMethodSignature:["key","typeParameters","parameters","typeAnnotation","params","returnType"],TSIndexSignature:["parameters","typeAnnotation"],TSAnyKeyword:[],TSBooleanKeyword:[],TSBigIntKeyword:[],TSIntrinsicKeyword:[],TSNeverKeyword:[],TSNullKeyword:[],TSNumberKeyword:[],TSObjectKeyword:[],TSStringKeyword:[],TSSymbolKeyword:[],TSUndefinedKeyword:[],TSUnknownKeyword:[],TSVoidKeyword:[],TSThisType:[],TSFunctionType:["typeParameters","parameters","typeAnnotation","params","returnType"],TSConstructorType:["typeParameters","parameters","typeAnnotation","params","returnType"],TSTypeReference:["typeName","typeParameters","typeArguments"],TSTypePredicate:["parameterName","typeAnnotation"],TSTypeQuery:["exprName","typeParameters","typeArguments"],TSTypeLiteral:["members"],TSArrayType:["elementType"],TSTupleType:["elementTypes"],TSOptionalType:["typeAnnotation"],TSRestType:["typeAnnotation"],TSNamedTupleMember:["label","elementType"],TSUnionType:["types"],TSIntersectionType:["types"],TSConditionalType:["checkType","extendsType","trueType","falseType"],TSInferType:["typeParameter"],TSParenthesizedType:["typeAnnotation"],TSTypeOperator:["typeAnnotation"],TSIndexedAccessType:["objectType","indexType"],TSMappedType:["typeParameter","typeAnnotation","nameType"],TSLiteralType:["literal"],TSExpressionWithTypeArguments:["expression","typeParameters"],TSInterfaceDeclaration:["id","typeParameters","extends","body"],TSInterfaceBody:["body"],TSTypeAliasDeclaration:["id","typeParameters","typeAnnotation"],TSInstantiationExpression:["expression","typeParameters","typeArguments"],TSAsExpression:["expression","typeAnnotation"],TSSatisfiesExpression:["expression","typeAnnotation"],TSTypeAssertion:["typeAnnotation","expression"],TSEnumDeclaration:["id","members"],TSEnumMember:["id","initializer"],TSModuleDeclaration:["id","body"],TSModuleBlock:["body"],TSImportType:["argument","qualifier","typeParameters","typeArguments"],TSImportEqualsDeclaration:["id","moduleReference"],TSExternalModuleReference:["expression"],TSNonNullExpression:["expression"],TSExportAssignment:["expression"],TSNamespaceExportDeclaration:["id"],TSTypeAnnotation:["typeAnnotation"],TSTypeParameterInstantiation:["params"],TSTypeParameterDeclaration:["params"],TSTypeParameter:["constraint","default","name"],ChainExpression:["expression"],ExperimentalRestProperty:["argument"],ExperimentalSpreadProperty:["argument"],Literal:[],MethodDefinition:["decorators","key","value"],PrivateIdentifier:[],Property:["key","value"],PropertyDefinition:["decorators","key","typeAnnotation","value","variance"],AccessorProperty:["decorators","key","typeAnnotation","value"],TSAbstractAccessorProperty:["decorators","key","typeAnnotation"],TSAbstractKeyword:[],TSAbstractMethodDefinition:["key","value"],TSAbstractPropertyDefinition:["decorators","key","typeAnnotation"],TSAsyncKeyword:[],TSClassImplements:["expression","typeArguments","typeParameters"],TSDeclareKeyword:[],TSEmptyBodyFunctionExpression:["id","typeParameters","params","returnType"],TSEnumBody:["members"],TSExportKeyword:[],TSInterfaceHeritage:["expression","typeArguments","typeParameters"],TSPrivateKeyword:[],TSProtectedKeyword:[],TSPublicKeyword:[],TSReadonlyKeyword:[],TSStaticKeyword:[],TSTemplateLiteralType:["quasis","types"],AsConstExpression:["expression"],AsExpression:["expression","typeAnnotation"],BigIntLiteralTypeAnnotation:[],BigIntTypeAnnotation:[],ComponentDeclaration:["id","params","body","typeParameters","rendersType"],ComponentParameter:["name","local"],ComponentTypeAnnotation:["params","rest","typeParameters","rendersType"],ComponentTypeParameter:["name","typeAnnotation"],ConditionalTypeAnnotation:["checkType","extendsType","trueType","falseType"],DeclareComponent:["id","params","rest","typeParameters","rendersType"],DeclareEnum:["id","body"],DeclareHook:["id"],DeclareNamespace:["id","body"],EnumBigIntBody:["members"],EnumBigIntMember:["id","init"],HookDeclaration:["id","params","body","typeParameters","returnType"],HookTypeAnnotation:["params","returnType","rest","typeParameters"],InferTypeAnnotation:["typeParameter"],KeyofTypeAnnotation:["argument"],ObjectTypeMappedTypeProperty:["keyTparam","propType","sourceType","variance"],QualifiedTypeofIdentifier:["qualification","id"],TupleTypeLabeledElement:["label","elementType","variance"],TupleTypeSpreadElement:["label","typeAnnotation"],TypeOperator:["typeAnnotation"],TypePredicate:["parameterName","typeAnnotation","asserts"],NGRoot:["node"],NGPipeExpression:["left","right","arguments"],NGChainedExpression:["expressions"],NGEmptyExpression:[],NGMicrosyntax:["body"],NGMicrosyntaxKey:[],NGMicrosyntaxExpression:["expression","alias"],NGMicrosyntaxKeyedExpression:["key","expression"],NGMicrosyntaxLet:["key","value"],NGMicrosyntaxAs:["key","alias"],JsExpressionRoot:["node"],JsonRoot:["node"],TSJSDocAllType:[],TSJSDocUnknownType:[],TSJSDocNullableType:["typeAnnotation"],TSJSDocNonNullableType:["typeAnnotation"],NeverTypeAnnotation:[],UndefinedTypeAnnotation:[],UnknownTypeAnnotation:[],SatisfiesExpression:["expression","typeAnnotation"]};var tj0=JK(KK),YK=tj0;function ND(a0,ox){if(!(a0!==null&&typeof a0=="object"))return a0;if(Array.isArray(a0)){for(let dr=0;dr{var Mr;(Mr=Er.leadingComments)!=null&&Mr.some(XK)&&nr.add(mt(Er))}),a0=p5(a0,Er=>{if(Er.type==="ParenthesizedExpression"){let{expression:Mr}=Er;if(Mr.type==="TypeCastExpression")return Mr.range=[...Er.range],Mr;let Qe=mt(Er);if(!nr.has(Qe))return Mr.extra={...Mr.extra,parenthesized:!0},Mr}})}if(a0=p5(a0,nr=>{var Er;switch(nr.type){case"LogicalExpression":if(zK(nr))return OD(nr);break;case"VariableDeclaration":{let Mr=ID(!1,nr.declarations,-1);Mr!=null&&Mr.init&&dr[cs(Mr)]!==";"&&(nr.range=[mt(nr),cs(Mr)]);break}case"TSParenthesizedType":return nr.typeAnnotation;case"TSTypeParameter":if(typeof nr.name=="string"){let Mr=mt(nr);nr.name={type:"Identifier",name:nr.name,range:[Mr,Mr+nr.name.length]}}break;case"TopicReference":a0.extra={...a0.extra,__isUsingHackPipeline:!0};break;case"ExportAllDeclaration":if($x==="meriyah"&&((Er=nr.exported)==null?void 0:Er.type)==="Identifier"){let{exported:Mr}=nr,Qe=dr.slice(mt(Mr),cs(Mr));(Qe.startsWith('"')||Qe.startsWith("'"))&&(nr.exported={...nr.exported,type:"Literal",value:nr.exported.name,raw:Qe})}break;case"TSUnionType":case"TSIntersectionType":if(nr.types.length===1)return nr.types[0];break}}),qK(a0.comments)){let nr=ID(!1,a0.comments,-1);for(let Er=a0.comments.length-2;Er>=0;Er--){let Mr=a0.comments[Er];cs(Mr)===mt(nr)&&Rp(Mr)&&Rp(nr)&&jD(Mr)&&jD(nr)&&(a0.comments.splice(Er+1,1),Mr.value+="*//*"+nr.value,Mr.range=[mt(Mr),cs(nr)]),nr=Mr}}return a0.type==="Program"&&(a0.range=[0,dr.length]),a0}function zK(a0){return a0.type==="LogicalExpression"&&a0.right.type==="LogicalExpression"&&a0.operator===a0.right.operator}function OD(a0){return zK(a0)?OD({type:"LogicalExpression",operator:a0.operator,left:OD({type:"LogicalExpression",operator:a0.operator,left:a0.left,right:a0.right.left,range:[mt(a0.left),cs(a0.right.left)]}),right:a0.right.right,range:[mt(a0),cs(a0)]}):a0}var VK=nj0;var uj0=(a0,ox,$x,dr)=>{if(!(a0&&ox==null))return ox.replaceAll?ox.replaceAll($x,dr):$x.global?ox.replace($x,dr):ox.split($x).join(dr)},L3=uj0;var ij0=/\*\/$/,fj0=/^\/\*\*?/,cj0=/^\s*(\/\*\*?(.|\r?\n)*?\*\/)/,sj0=/(^|\s+)\/\/([^\n\r]*)/g,GK=/^(\r?\n)+/,aj0=/(?:^|\r?\n) *(@[^\n\r]*?) *\r?\n *(?![^\n\r@]*\/\/[^]*)([^\s@][^\n\r@]+?) *\r?\n/g,WK=/(?:^|\r?\n) *@(\S+) *([^\n\r]*)/g,oj0=/(\r?\n|^) *\* ?/g,vj0=[];function $K(a0){let ox=a0.match(cj0);return ox?ox[0].trimStart():""}function HK(a0){let ox=` +`;a0=L3(!1,a0.replace(fj0,"").replace(ij0,""),oj0,"$1");let $x="";for(;$x!==a0;)$x=a0,a0=L3(!1,a0,aj0,`${ox}$1 $2${ox}`);a0=a0.replace(GK,"").trimEnd();let dr=Object.create(null),nr=L3(!1,a0,WK,"").replace(GK,"").trimEnd(),Er;for(;Er=WK.exec(a0);){let Mr=L3(!1,Er[2],sj0,"");if(typeof dr[Er[1]]=="string"||Array.isArray(dr[Er[1]])){let Qe=dr[Er[1]];dr[Er[1]]=[...vj0,...Array.isArray(Qe)?Qe:[Qe],Mr]}else dr[Er[1]]=Mr}return{comments:nr,pragmas:dr}}function lj0(a0){if(!a0.startsWith("#!"))return"";let ox=a0.indexOf(` +`);return ox===-1?a0:a0.slice(0,ox)}var QK=lj0;function pj0(a0){let ox=QK(a0);ox&&(a0=a0.slice(ox.length+1));let $x=$K(a0),{pragmas:dr,comments:nr}=HK($x);return{shebang:ox,text:a0,pragmas:dr,comments:nr}}function ZK(a0){let{pragmas:ox}=pj0(a0);return Object.prototype.hasOwnProperty.call(ox,"prettier")||Object.prototype.hasOwnProperty.call(ox,"format")}function kj0(a0){return a0=typeof a0=="function"?{parse:a0}:a0,{astFormat:"estree",hasPragma:ZK,locStart:mt,locEnd:cs,...a0}}var xY=kj0;function mj0(a0){return a0.charAt(0)==="#"&&a0.charAt(1)==="!"?"//"+a0.slice(2):a0}var rY=mj0;var hj0={comments:!1,components:!0,enums:!0,esproposal_decorators:!0,esproposal_export_star_as:!0,tokens:!0};function dj0(a0){let{message:ox,loc:{start:$x,end:dr}}=a0;return UK(ox,{loc:{start:{line:$x.line,column:$x.column+1},end:{line:dr.line,column:dr.column+1}},cause:a0})}function yj0(a0){let ox=eY.default.parse(rY(a0),hj0),[$x]=ox.errors;if($x)throw dj0($x);return VK(ox,{text:a0})}var gj0=xY(yj0);return VI0(_j0);}); \ No newline at end of file diff --git a/node_modules/prettier/plugins/flow.mjs b/node_modules/prettier/plugins/flow.mjs index 55809f84e5..1a7073fc40 100644 --- a/node_modules/prettier/plugins/flow.mjs +++ b/node_modules/prettier/plugins/flow.mjs @@ -1,21 +1,19 @@ -var yI0=Object.create;var SU=Object.defineProperty;var dI0=Object.getOwnPropertyDescriptor;var mI0=Object.getOwnPropertyNames;var kI0=Object.getPrototypeOf,hI0=Object.prototype.hasOwnProperty;var LW=(p0,_x)=>()=>(_x||p0((_x={exports:{}}).exports,_x),_x.exports),UW=(p0,_x)=>{for(var Hx in _x)SU(p0,Hx,{get:_x[Hx],enumerable:!0})},_I0=(p0,_x,Hx,kr)=>{if(_x&&typeof _x=="object"||typeof _x=="function")for(let $1 of mI0(_x))!hI0.call(p0,$1)&&$1!==Hx&&SU(p0,$1,{get:()=>_x[$1],enumerable:!(kr=dI0(_x,$1))||kr.enumerable});return p0};var MW=(p0,_x,Hx)=>(Hx=p0!=null?yI0(kI0(p0)):{},_I0(_x||!p0||!p0.__esModule?SU(Hx,"default",{value:p0,enumerable:!0}):Hx,p0));var DW=LW(EU=>{(function(p0){typeof globalThis!="object"&&(this?_x():(p0.defineProperty(p0.prototype,"_T_",{configurable:!0,get:_x}),_T_));function _x(){var Hx=this||self;Hx.globalThis=Hx,delete p0.prototype._T_}})(Object);(function(p0){"use strict";var _x="symbol",Hx=271,kr=126548,$1="renders",tr=71127,xr="member_property",e1=65007,ev=66517,F1="jsx_attribute_value_expression",M3=119980,jn="function_declaration",Pe="<2>",f9=68466,RU="%=",c9="??",s9=70080,R4="&",It="identifier",O4=72163,o9=71723,v9="properties",a9=183969,l9=68223,zn="function_return_annotation",p9=124903,y9=70106,OU=241,LU="(",UU=213,d9=120074,m9=70708,k9=71679,Kn="logical",i2="camlinternalFormat.ml",Jn="type_guard_annotation",h9=92975,MU=">>>",_9="RestElement",w9=67897,DU=179,T9="start",S9=113775,L4=126521,jU="%i",D3="`",zU="#",E9=43702,U4=126,A9=110947,Yn="function_identifier",M4=119893,g9=70366,N9=65547,I9=43743,P9=-43,tv=8238,KU=",",nv=8286,Bn="keyof_type",C9=66717,D4=12336,JU=201,R9=71338,j4=11565,O9=69289,L9=55291,U9=73030,M9=70479,D9=69572,j9=11623,Xn="tuple_spread_element",Wn="component_type_rest_param",uv=8239,z9=64310,oa="@]",K9=42993,z4=11558,K4="Map.bal",j3="public",YU=-32,va="Literal",Vn="jsx_member_expression_identifier",Zn="for_in_assignment_pattern",J9=71450,J4=126557,tt=103,Y9=12292,B9=110579,Y4=120597,X9=13311,W9=12348,$n="export_default_declaration_decl",Fn="tuple_type",V9=113663,Z9=170,$9=67413,BU="Assert_failure",XU="comments",z3="%S",tn=127343600,F9=12341,Q9=67646,WU="ENOTEMPTY",H9=72160,q9=70187,VU=222,G9=12343,ZU=2147483647,b9=126624,xk=43442,rk=70312,ek=281,Qn="interface_type",iv="new",tk=66256,B4=68296,nk=124908,X4=126579,W4=70107,V4=249,uk=71167,Hn="union_type",Qr=248,ik=126546,qn="enum_bigint_member",$U=133,fk=67871,ck=66955,FU=1027,Gn="class_declaration",bn="optional_call",QU="a string",Z4=11703,HU="<<",$4=126564,x7="jsx_element",r7="object_property_type",sk=94207,e7="enum_declaration",ok=68023,vk=67669,ak=8318,qU="prefix",fv="this",lk=126578,t7="if_consequent_statement",GU=-696510241,pk=66963,cv="default",F4=72967,Pt=101,bU="buffer.ml",yk=74649,nn=65535,dk=43709,mk=175,vo="component",xM="===",aa=117,n7="jsx_identifier",rM="EnumDefaultedMember",Q4=70006,kk=70161,hk=126633,_k=66965,u7="member_property_expression",wk=101589,Tk=64274,la="function",Sk=66303,Ek=42954,Ak=126529,gk=72191,i7="new_",Nk=64433,H4=126559,Ik=72144,eM="==",ao=-744106340,Pk=43359,Ck=171,tM="Printexc.handle_uncaught_exception",Rk=66735,Ok=126534,Lk=74879,Uk=42785,q4=120629,K3="0o",nM="End_of_file",Mk=66175,uM="&=",Dk="nan",G4=126503,f7="pattern_number_literal",jk=43470,c7="import_namespace_specifier",zk=77711,b4=70302,s7="component_param",xp="@])",rp=126515,pa=118,Ce="continue",Kk=43798,ep=";@ ",Jk=74751,Yk="src/parser/statement_parser.ml",Bk="rmdir",Xk=94177,o7="for_in_statement",iM=269,fM=12520,cM="TypeParameterInstantiation",wx="",sM="**=",Wk=120126,oM=197,Vk=67829,tp="_bigarr02",v7="export_named_declaration_specifier",np=": No such file or directory",up=64319,Zk=69926,a7="pattern_object_p",vM="TypeAnnotation",l7="array_type",J3="@[%s =@ ",$k=72847,p7="export_default_declaration",ip=126590,Fk=42774,Qk=": Not a directory",ya="let",sv=12288,Z2="argument",$2="/",fp="an identifier",ws="typeof",cp=68116,Hk=182,y7="declare_export_declaration_decl",qk=67589,Gk=66771,Y3="class",aM="tokens",lM=-66,sp=70281,B3=255,bk=43638,pM=-983660142,ov="key",xh=69955,yM=">>",d7="function_expression_or_method",rh=43587,un="block",eh=100351,op="mixed",th=66503,nh="ENOTDIR",uh=65135,m7="string_literal",ie="@ ",ih=43334,k7="if_alternate_statement",fh=70448,vp=8485,h7="type_args",ch=69864,_7="if_statement",dM="+=",w7="typeof_identifier",ap="with",lp=65595,sh=64286,oh=71086,Ts="true",vh=69423,T7="catch_clause",ah="e",da="asserts",mM=">>=",lh=131,ph=43388,yh=43887,B1=-48,dh=120779,kM=190,mh=194,S7="pattern_bigint_literal",kh=71351,hh=65629,E7="call",hM=-42,pp=126553,_h=43695,_M=177,wh=42124,Th=12703,Sh=12442,Eh=11718,yp=70449,dp=126547,Ah=67462,Ss="left",A7="infer_type",gh=11742,Nh=65597,mp="Unix.Unix_error",Ih=122623,Ph=124911,Ch=72959,Rh="opaque",g7="object_internal_slot_property_type",wM="Enum `",TM=275,vv=65279,Oh=71983,Lh=12329,P1=110,N7="spread_property",SM="importKind",X3=" =",I7="remote_identifier",P7="labeled_statement",C7="jsx_fragment",Uh=120770,R7="function_param",fe=112,Mh="exportKind",O7="binary",Es="`.",Dh=42511,EM="<=",L7="jsx_spread_attribute",R2="import",U7="typeof_member_identifier",jh=69414,zh=19967,kp=11687,Kh=93823,AM=209,Jh=71903,Yh="of",Bh=72e3,Xh="typeArguments",M7="type_identifier",D7="pattern_array_element_pattern",hp=69744,ma=192,j7="class_element",z7="export_source",K7="component_param_pattern",Wh=42508,Vh=125124,gM="Unexpected token `",J7="for_in_left_declaration",Y7="object_call_property_type",Zh="abstract",$h=8584,Fh=68786,Qh=71999,_p=123214,Hh=123565,qh=186,B7="class_implements_interface",wp=126536,Gh=69749,NM="Invalid legacy octal ",bh=71295,x_=66927,X7="pattern_expression",r_=11679,e_=-61,Tp=65141,t_=11694,W7="update_expression",IM="minus",Re="debugger",n_=71352,u_=65470,ka="number",i_=123627,Sp=64322,Ep=43471,V7="for_of_assignment_pattern",Ap=126589,f_=43784,PM="Internal Error: Found object private prop",c_=183983,Hr="id",s_=123190,gp="finally",Np=120070,o_=72095,Z7="syntax",v_=110591,As="false",CM=-10,Ip="AssignmentPattern",$7="typeof_expression",a_=43764,RM="FunctionTypeParam",F7="function_body_any",l_=126627,p_=71998,y_=126543,Q7="call_type_arg",d_=64316,Pp=64285,m_=8454,k_=137,OM="**",H7="object_type_property_setter",h_=68607,fn=108,__="out",w_=68799,av=65278,q7="jsx_member_expression",T_=92728,lv="null",S_=66431,E_=72249,cn=128,Cp=119994,A_=66207,g_=43583,Rp="else",Op=94179,Lp=11735,N_=64911,G7="jsx_attribute_name_namespaced",LM="!",I_=42539,P_=72250,C_=71215,R_=69746,O_=65487,b7="pattern_object_property_key",UM=", ",L_=8505,U_="=",M_=64111,D_=8507,Up=120134,Mp="while",j_=120596,z_=43002,W3="protected",K_=68479,J_=43395,Y_=68252,MM="v",B_=70278,X_="rendersType",W_=70853,Dp=120145,V_=69297,Z_=73112,jp=8488,$_=68351,F_=42655,xu="for_of_left_declaration",Q_=44031,H_="Failure",q_=92159,ru="object_key_identifier",DM=195,pv="bigint",eu="import_default_specifier",yv=256,tu="member",jM="!==",nu="component_identifier",G_=73008,b_=72283,zp=126500,Kp=120127,uu="jsx_attribute_name",iu="for_statement_init",xw=67711,fu="private_name",Jp="case",Yp=8489,cu="import_specifier",rw=64279,ew=94098,zM=148,tw=119974,su="pattern_string_literal",nw=72969,KM=193,JM="!=",Bp=126520,uw=71944,YM=259,iw=42191,ou="generic_qualified_identifier_type",dv="implements",fw=194559,BM="%",V3="hasUnknownMembers",cw=71039,XM=211,sw=83526,vu="init",au="jsx_attribute_value",ow=70271,ha=240,lu="function_type_return_annotation",vw=70018,aw="rest",pu="readonly_type",lw=512,pw=68095,yw=120003,Xp=126563,Wp=71236,dw=69375,mw=68850,kw=70105,hw=43866,Vp=888960333,_w=43013,yu="assignment_pattern",ww="specifiers",WM=710,Ct="as",Tw=120570,Sw=11507,VM=204,du="jsx_element_name_identifier",mu="pattern_object_property_string_literal_key",ku="class_expression",ZM=257,Ew=44002,Aw=82943,_a="src/parser/type_parser.ml",wa="test",gw=64217,Zp="package",$M="collect_comments",FM="Pervasives.do_at_exit",Nw=125183,Iw=42606,hu="tuple_element",_u="enum_boolean_member",Pw=65312,$p=119981,Cw=65495,Fp=120085,QM=-80,HM=138,Qp=126555,Rw=65276,m1=128,qM="{ ",wu="for_statement",Tu="class_method",Hp="if",Su="generic_type",Er=113,Ow=43071,Lw=72001,Uw=71131,Mw=70002,Dw=42888,qp=8469,Z3="instanceof",jw=11502,Gp=94178,zw=64321,Kw=64913,GM="Division_by_zero",Jw=92879,Yw=71945,Bw=185,Xw=66938,bp=65535,Ww=113800,bM=": file descriptor already closed",x8=223,xD="*=",Vw=68899,Eu="switch_case",Au="pattern_array_element",gu="enum_string_member",Nu="pattern_object_property_bigint_literal_key",rD="visit_trailing_comment",r8="export",e8=120122,t8=43823,Zw=43792,$w=42527,Fw=70726,Iu="enum_defaulted_member",Qw=68497,n8=72349,Pu="program",Cu="member_type_identifier",Hw="object",Ru="for_of_statement_lhs",qw=113791,Gw=67391,Ou="jsx_spread_child",u8=126554,i8=8526,f8=43880,c8=69415,bw=43822,Lu="pattern_identifier",xT=93052,Ta="readonly",Oe="name",rT=68119,eT=71494,tT=120121,s8=8486,eD=2047,Uu="enum_symbol_body",tD=142,nD="PropertyDefinition",nT=177976,Mu="declare_class",uT=65489,iT=72367,fT=70440,Du="import_named_specifier",uD="Popping lex mode from empty stack",cT=68111,sT=66463,iD="*-/",oT=43187,o8=8487,vT=11567,aT=67861,lT=` -`,pT=66383,ju="declare_interface",yT=-24976191,dT=238,mT=-24,fD="@ }@]",kT=43645,cD=176,hT=119976,v8=69959,_T=126519,wT=";",sD="trailingComments",a8=65548,zu="number_literal",Sa=449540197,TT=43704,l8=126584,ST=8467,oD="||",p8=11695,ET="exported",AT=120712,gs="void",vD="mixins",gT=92783,NT=215,Ku="body_expression",aD="%ni",$3=">",Ju="jsx_child",IT=8516,Yu="optional_indexed_access_type",Bu="typeof_type",Xu="spread_element",PT=42963,lD="@[",Wu="component_params",CT=43042,y8="",Vu="function_",d8="for",m8=65575,sn="params",RT=168,pD="win32",mv=8202,yD="@",k8="^",OT=164,nt="optional",LT=65574,F3="boolean",dD=139,UT=12548,h8=120539,mD="Not_found",_8=246,Zu="expression_statement",MT="EBADF",DT=66815,$u="module_ref_literal",jT=55203,Fu="function_param_type",zT=73064,w8=70279,KT=110580,kD=233,JT="<",hD="visit_leading_comment",YT=66855,BT=66966,XT=66499,WT=111355,VT=68680,ZT=206,_D="--",$T=65497,T8=11711,Qu="function_param_pattern",kv="constructor",FT=5760,wD="infinity",S8=43642,HI0="fs",QT=92991,E8=126544,HT=101640,A8=72162,qT=67583,g8=8468,O2="typeParameters",TD="elements",GT=71423,SD="Sys_blocked_io",Hu="interface_declaration",qu="variable_declaration",Gu="function_rest_param",bu="type",bT="Invalid number ",xS=" : flags Open_rdonly and Open_wronly are not compatible",rS=69404,xi="jsx_element_name_member_expression",N8="keyof",ED=285,I8="never",ri="with_",on=32768,AD="|=",P8=70404,C8=70441,eS=42969,Q3="declare",tS=73061,ei="object_type",ti="object_property_value_type",nS=69687,gD="Invalid binary/octal ",ND=230,uS=64324,ID="range",PD="infer",iS=120744,ni="array_element",fS=70730,cS=43641,CD=166,sS=70461,oS=69890,vS=69487,aS=74862,lS=68149,R8=73065,RD="%a",pS=72348,OD=172,ui="jsx_expression",yS=65663,dS=126495,mS=245,kS=124907,ii="member_property_identifier",LD=226,hS=43615,fi="comment",O8=119965,ci="catch_clause_pattern",si="object_type_property_getter",UD=136,_S=43019,wS=67455,L8=126628,MD=331416730,DD="the start of a statement",TS=122654,SS="shorthand",ES=43595,AS=11710,oi="typeof_qualified_identifier",gS=72750,jD="elementType",f2="typeAnnotation",NS=124895,zD=162,U8=11559,IS=67382,KD="??=",PS=72329,CS="target",vi="component_type",JD=180,RS=189,YD=8206,OS=43513,LS=173823,US=126467,ai="type_guard",MS=43700,DS=12783,M8=8305,li="type_annotation",BD=141,Le="break",D8=42999,jS=65019,zS=160,KS=70460,pi="expression_or_spread",JS=")",yi="class_private_field",YS=55215,BS=65338,XS=40981,H3="members",di="import_declaration",WS=69634,j8=94031,VS="ENOENT",ZS=8457,XD="satisfies",mi="generic_identifier_type",ki="function_this_param",$S=66993,hi="type_",FS=67423,QS=11557,HS=12799,qS=239,GS=93026,bS=66377,xE=123180,WD=221,VD=-594953737,rE=67967,eE=43586,Ue=105,ZD="src/parser/flow_lexer.ml",tE=66559,_i="class_property_value",nE=67637,$D="closedir",uE=43010,iE=8521,z8=69956,fE=42959,cE=212,sE=92735,K8="}",q3="method",oE=11498,J8=247,ce="empty",wi=16777215,FD=161,vE=42887,Ns=116,Ti="type_identifier_reference",Y8=126634,aE=68029,QD="regexp",lE=70414,G3=121,Si="template_literal_element",pE=8449,yE=126562,hv=12287,dE=-45,B8=64297,X8=126523,mE=43301,ut=111,kE=126498,hE=43776,HD="EEXIST",_E=119892,wE=43807,qD=4096,Ea=252,Is=255,TE=68295,Ei="variable_declarator_pattern",Ai="do_while",W8="catch",SE=66962,EE=120654,gi=125,Ni="label_identifier",AE=11263,gE=8525,Ii="assignment",NE=191456,IE=43273,GD="%u",PE=65381,CE=110927,RE=65479,OE=120538,_v="await",LE=71487,UE="jsError",ME=110588,DE=120084,jE=42890,Aa=224,Pi="object_key",zE=43696,KE=73647,JE=43761,YE=12295,BE=64967,V8=11647,bD=191,Rt=123,XE="generator",WE=123583,Ci="for_of_statement",Ri="enum_bigint_body",VE=110959,ZE=92995,$E=120686,FE="b",QE=119969,Z8=126522,$8=64318,HE=71839,F8=126602,qE=65908,b3=65536,xj=231,rj=-602162310,ej="comment_bounds",Ot="-",tj=-55,Oi="pattern_object_property",GE=43493,bE=69505,xA=8471,rA=187,Q8=120745,Li="enum_member_identifier",eA=71959,tA=66863,nA=65594,H8=253,q8='"',G8=70286,Ui="jsx_attribute_value_literal",uA=68447,nj="the",iA="index out of bounds",Mi="declare_export_declaration",Di="jsx_attribute",ji="class_extends",qr=122,_1=106,zi="binding_pattern",Ki="ts_type_cast",fA=113807,cA=93951,xl=119,sA="types",oA=8335,Ji="statement_fork_point",ga="_",vA=65500,Yi="function_type",aA=68220,Bi="statement_list",Na=-835925911,lA=123535,b8=43815,pA=199,x5=120571,yA=67514,uj="Property",r5=72713,ij="Unexpected ",e5=169,fj=", characters ",t5=43867,dA=42537,Xi="component_declaration",cj=" : is a directory",Wi="object_key_number_literal",Jr=127,c2=-36,rl=912068366,el="delete",Vi=114,mA=120076,Zi="regexp_literal",kA=65370,hA=65481,a1="value",_A=68405,tl="operator",nl="const",sj=283,wv=109,n5="any",wA=69958,TA=70831,SA=73111,EA=72767,AA="Identifier",$i="jsx_opening_attribute",Fi="conditional_type",gA="loc",NA=67071,u5=120004,IA=43492,PA=70005,oj=188,i5=72272,CA=11389,vj=251,RA=73055,f5=70280,aj=286,c5=1114111,OA=66421,lj="Stack_overflow",LA=70301,UA=19903,lo="0x",MA=69967,DA=12447,s5=66512,pj=`Fatal error: exception %s -`,ul=1e3,jA=69295,o5=120093,yj=">=",dj=149,v5=64325,Qi="class_identifier",zA=119967,KA=68415,mj="end",Hi="enum_boolean_body",qi="member_private_name",Gi="super_expression",JA=71955,YA=126514,a5=67593,BA=66939,XA=12591,l5=126538,WA=110590,VA=72703,ZA=72105,p5=65598,$A=73727,y5=126504,d5=126551,FA=70143,il="from",bi="class_property",xf="enum_number_body",QA=42559,HA=93759,qA=66994,vn="right",kj=225,GA=67702,bA=65473,xg=43697,m5=70855,rg=119993,eg=72103,tg=178205,rf="call_type_args",ng=66511,ef="export_batch_specifier",tf="component_type_param",an=782176664,Tv="get",fl="local",hj=228,nf="object_mapped_type_property",uf="class_decorator",_j=220,ff="enum_body",wj="<<=",ug=71956,ig=69839,Ia="super",fg=173791,cg=71942,Q1="expression",sg=72440,Pa=254,og=70412,cf="try_catch",Tj=32752,sf="declare_module_exports",vg=12320,Sj=134,ag=94175,cl="enum",Ej=196,of="import_source",lg=43814,pg=120069,vf="while_",k5=126537,yg=43262,af="function_rest_param_type",dg=66378,h5=119996,lf="declare_component",mg=73097,kg=70783,hg=43503,_g=131071,wg=11492,Tg=92766,Aj=173,Sg=113770,Eg=73029,Ag=66978,pf="tagged_template",yf="jsx_element_name",df="for_init_declaration",gg=123213,mf="object_indexer_property_type",kf="object_spread_property_type",_5=72970,w5=70854,Ng=110930,sl="var",gj=217,Ig=119972,Pg=69622,Cg=63743,Rg=42237,Og=870530776,T5="returnType",Nj=56320,Ij=143,Ca="computed",Lg=42735,hf="arg_list",Ug=67461,_f="export_named_declaration",Mg=72817,Dg=73439,jg=43782,zg=66775,Kg=70655,S5="bool",Jg=65140,Yg=75075,Bg=126651,Xg=71947,Wg=42961,Vg=12735,Zg=78894,$g=64262,Fg=237,F2="interface",Pj="Match_failure",Qg=42962,Hg=69748,Cj="leadingComments",wf="this_expression",ol=461894857,E5=12592,Rj=8204,qg=119807,Gg=66348,Tf="declare_variable",bg=8348,Sf="optional_member",Ef=120,Af="arrow_function",xN=72768,rN=70851,gf="array",eN=43249,A5=126468,tN=177983,nN="compare: functional value",uN=126550,iN=64847,Nf="binding_type_identifier",fN=120132,If="function_params",cN=93071,vl=1024,sN=42783,Oj=1039100673,Lj="@{",oN=12352,vN=42653,aN=120628,Uj=264,Pf="declare_function",Cf="for_in_statement_lhs",lN=72271,pN=69807,yN=67826,Rf="syntax_opt",Of="object_key_bigint_literal",Mj=243,dN=94032,Dj=265,jj="Undefined_recursive_module",zj=-1053382366,mN=72242,Lf="variance_opt",kN=101631,hN="arguments",_N=72161,wN=8511,g5="unknown",TN=43560,Kj="the end of an expression statement (`;`)",Jj=1026,SN=12543,EN=11670,AN=69247,N5=11631,I5="line",gN=72202,Uf="pattern_object_rest_property",Lt=" ",NN=43487,Ps=115,IN=-673950933,Mf="intersection_type",PN=120144,al="is",CN=178207,RN=100343,Yj="||=",Bj="f",P5=8455,Cs=102,Df="pattern_object_property_number_literal_key",ON=70418,LN=8543,Xj="Internal Error: Found private field in object props",C5=126540,R5=119995,Sv=8287,jf="indexed_access_type",zf="export_named_specifier",Wj=224,UN=124926,MN=-103,DN=167,O5=65344,L5=126530,jN=113788,zN=67505,KN="property",JN=43014,Me="return",Ev=-85,YN=126601,Vj=214,Zj="children",Kf="type_alias",U5=43259,BN=126583,XN=71958,WN=65613,VN=67431,M5=126535,ZN=69599,Jf="type_params",Yf="object_key_computed",$N=124910,L2="variance",D5=11727,FN=66954,QN=126463,Bf="catch_body",HN=69445,Xf="type_param",Wf="component_type_params",qN=124902,j5=120687,$j="collect_comments_opt",GN=15,bN=120485,xI=70416,rI=125259,Vf="jsx_namespaced_name",eI=43712,tI=72712,Fj="~",z5=12448,Zf="jsx_member_expression_object",K5=126499,J5=-97,$f="pattern_object_property_identifier_key",Qj=219,Ff="component_body",Qf="opaque_type",Hf=".",nI=43009,uI="consequent",Hj="SpreadElement",j1="body",qj=178,Gj=202,qf="jsx_opening_element",Gf="declare_module",Y5=67638,iI=8477,bf="object_type_property",fI=110882,xc="function_body",cI=94111,bj="module",xz="alternate",sI=67839,Av=8191,oI=43881,rz=": closedir failed",po="kind",rc="tuple_labeled_element",gv=-46,vI=67640,ec="declare_type_alias",B5=70750,aI=77808,ll="column",tc="jsx_closing_element",lI=66977,pI="\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0",yI=65786,nc="function_expression",ln=104,X5=11719,dI=11505,mI="mkdir",kI=70319,ez="Invalid_argument",hI=43738,_I=113817,uc="bigint_literal",wI=70084,tz=278,TI=126566,W5="do",V5=42622,ic="computed_key",fc="pattern_object_property_computed_key",nz="fd ",Z5=126571,SI=126619,uz=140,yo="prototype",iz=208,EI=67004,fz=130,cz=242,sz=">>>=",AI=68863,gI=11726,Ut="raw",NI=64466,Rs=107,II=67679,cc="enum_string_body",$5=244,oz="unreachable jsxtext",vz="*",PI=66335,CI=126570,az=229,RI=" : file already exists",OI=184,LI=67807,UI=70753,sc="boolean_literal",MI=65437,DI=70451,jI=67002,Ra=124,oc="conditional",F5=43260,lz="Sys_error",zI=123135,pl="meta",KI=64109,vc="pattern_array_rest_element",JI=43255,Q5=67644,ac="pattern_object_rest_property_pattern",lc="sequence",YI=65855,BI=110951,XI=67643,pc="predicate_expression",De="static",WI=120512,VI="declaration",H5=64317,ZI=68437,q5=126558,yc="meta_property",$I=11564,dc="declare_enum",pn="pattern",FI=216,QI=68191,G5="undefined",b5=8319,xy=120133,pz=132,HI=42239,yz=-99,qI=124927,GI=120092,bI=43137,mc="component_rest_param",dz="expected *",xP=125251,mz="%li",rP=55242,eP=12294,kc="enum_number_member",mo="in",kz="\\\\",Nv=":",tP=68115,hz="Cygwin",nP=77823,uP=65615,ry=70162,_z="/static/",iP=11519,fP=72966,cP=12686,wz=165,ey=183,yl=129,ty=72192,sP=42964,ny="try",uy=120655,oP=11702,Tz="expressions",vP=2048,hc="class_body",aP=55238,Sz=240,lP=66915,pP=43311,yP=43018,Ez=235,dP=73648,Az="([^/]+)",mP=125258,kP=64829,hP=68735,gz="++",Nz=163,Iz="qualification",Pz=57343,Cz=931,_c="default_opt",_P=71235,Rz=8472,wP=71934,Oz=205,Lz=218,Uz="callee",TP=43711,SP=64284,EP=43754,AP=43790,Mz="%Li",wc="pattern_array_rest_element_pattern",iy="decorators",gP=8304,Tc="statement",fy=73062,Sc="jsx_children",NP=70492,IP=64255,PP=11630,CP=1255,cy=67592,sy=43519,oy=64311,vy=12539,RP="proto",ay=120513,OP=68031,Iv="source",dl="a",LP=93047,UP=92927,MP=126588,DP=73458,jP=67742,zP=43714,Dz=236,KP=-253313196,ml="label",jz="@[<2>{ ",ly=126539,py=126552,JP=120487,zz="Out_of_memory",YP=605857695,BP=94026,yy=126496,ko="async",Kz=203,dy=126560,XP=68287,Ec="unary_expression",WP=-26065557,VP=110587,Jz=280,my=120771,ZP=69762,$P=126502,Oa="set",Ac="object_",gc="template_literal",FP=43258,Nc="nullable_type",Os="int_of_string",Yz="^=",je="predicate",La="string",ky=8450,Bz="camlinternalMod.ml",QP=70285,Ls="+",HP=110575,Xz=198,Ic="extends",Wz=-692038429,hy=67827,Vz=210,Zz=227,_y="explicitType",wy=70452,qP=70497,Ua=63,kl="private",GP=64296,bP=67591,xC=92909,$z="T_JSX_TEXT",rC="Fatal error: exception ",eC=120137,Ty=68120,Pc="pattern_array_e",tC=119964,nC=92862,uC=66461,Fz="&&=",Qz=174,s2=8231,Cc="null_literal",Hz="/=",iC=66811,Sy=70108,fC=67504,cC=11686,sC=67001,oC=" : flags Open_text and Open_binary are not compatible",vC=43741,aC=66204,H1=8233,Rc="type_annotation_hint",lC=123197,Oc="object_property",qz="${",Ey=70480,Gz="&&",Lc="type_cast",hl="%d",Ay=8484,bz=207,pC=70066,yC=68324,gy=120713,xK=135,Ny=126556,Q2="0",U2="yield",Iy=126591,Uc=100,dC=69551,Mc="jsx_element_name_namespaced",rK=232,Dc="object_key_string_literal",jc="function_this_param_type",zc="pattern_object_property_pattern",ze="throw",Ke="switch",eK=2048,Py=119970,Kc="toplevel_statement_list",Pv=250,mC=12438,Jc="class_implements",Yc="variable_declarator",kC=43713,Cy=68096,hC=70457,_C=12538,wC=11734,tK="-=",nK=234,Bc="component_param_name",TC=43123,Xc="class_",uK="|",iK=200,SC=43518,EC=8483,Wc="jsx_attribute_name_identifier",AC=181;function eV(x,r,e,t,u){if(t<=r)for(var i=1;i<=u;i++)e[t+i]=x[r+i];else for(var i=u;i>=1;i--)e[t+i]=x[r+i];return 0}function tV(x){for(var r=[0];x!==0;){for(var e=x[1],t=1;t=e.l||e.t==2&&u>=e.c.length))e.c=x.t==4?Ry(x.c,r,u):r==0&&x.c.length==u?x.c:x.c.substr(r,u),e.t=e.c.length==e.l?0:2;else if(e.t==2&&t==e.c.length)e.c+=x.t==4?Ry(x.c,r,u):r==0&&x.c.length==u?x.c:x.c.substr(r,u),e.t=e.c.length==e.l?0:2;else{e.t!=4&&Oy(e);var i=x.c,f=e.c;if(x.t==4)if(t<=r)for(var o=0;o=0;o--)f[t+o]=i[r+o];else{for(var a=Math.min(u,i.length-r),o=0;o>=1,x==0)return e;r+=r,t++,t==9&&r.slice(0,1)}}function Ly(x){x.t==2?x.c+=Ma(x.l-x.c.length,"\0"):x.c=Ry(x.c,0,x.c.length),x.t=0}function gC(x){if(x.length<24){for(var r=0;rJr)return!1;return!0}else return!/[^\x00-\x7f]/.test(x)}function fK(x){for(var r=wx,e=wx,t,u,i,f,o=0,a=x.length;olw?(e.substr(0,1),r+=e,e=wx,r+=x.slice(o,y)):e+=x.slice(o,y),y==a)break;o=y}f=1,++o=55295&&f<57344)&&(f=2)):(f=3,++o1114111)&&(f=3)))))),f<4?(o-=f,e+="\uFFFD"):f>nn?e+=String.fromCharCode(55232+(f>>10),Nj+(f&1023)):e+=String.fromCharCode(f),e.length>vl&&(e.substr(0,1),r+=e,e=wx)}return r+e}function Ms(x,r,e){this.t=x,this.c=r,this.l=e}Ms.prototype.toString=function(){switch(this.t){case 9:return this.c;default:Ly(this);case 0:if(gC(this.c))return this.t=9,this.c;this.t=8;case 8:return this.c}},Ms.prototype.toUtf16=function(){var x=this.toString();return this.t==9?x:fK(x)},Ms.prototype.slice=function(){var x=this.t==4?this.c.slice():this.c;return new Ms(this.t,x,this.l)};function cK(x){return new Ms(0,x,x.length)}function qI0(x){return x}function Vc(x){return cK(x)}function Cv(x,r,e,t,u){return Us(Vc(x),r,e,t,u),0}function sK(x){var r=p0.process;if(r&&r.env&&r.env[x]!=null)return r.env[x];if(p0.jsoo_static_env&&p0.jsoo_static_env[x])return p0.jsoo_static_env[x]}var NC=0;(function(){var x=sK("OCAMLRUNPARAM");if(x!==void 0)for(var r=x.split(KU),e=0;e>>0>=x.l&&fV(),Xr(x,r,e)}function se(x,r){switch(x.t&6){default:if(r>=x.c.length)return 0;case 0:return x.c.charCodeAt(r);case 4:return x.c[r]}}function Ds(x,r){var e=x.l>=0?x.l:x.l=x.length,t=r.length,u=e-t;if(u==0)return x.apply(null,r);if(u<0){var i=x.apply(null,r.slice(0,e));return typeof i!="function"?i:Ds(i,r.slice(e))}else{switch(u){case 1:{var i=function(a){for(var y=new Array(t+1),h=0;h>>0>=x.length-1&&_l(),x}function cV(x){return isFinite(x)?Math.abs(x)>=22250738585072014e-324?0:x!=0?1:2:isNaN(x)?4:3}function sV(x){return 0}var oV=Math.log2&&Math.log2(11235582092889474e291)==1020;function vV(x){if(oV)return Math.floor(Math.log2(x));var r=0;if(x==0)return-1/0;if(x>=1)for(;x>=2;)x/=2,r++;else for(;x<1;)x*=2,r--;return r}function PC(x){var r=new Float32Array(1);r[0]=x;var e=new Int32Array(r.buffer);return e[0]|0}var oK=Math.pow(2,-24);function vK(x){throw x}function aK(){vK(M2.Division_by_zero)}function fr(x,r,e){this.lo=x&wi,this.mi=r&wi,this.hi=e&nn}fr.prototype.caml_custom="_j",fr.prototype.copy=function(){return new fr(this.lo,this.mi,this.hi)},fr.prototype.ucompare=function(x){return this.hi>x.hi?1:this.hix.mi?1:this.mix.lo?1:this.loe?1:rx.mi?1:this.mix.lo?1:this.lo>24),e=-this.hi+(r>>24);return new fr(x,r,e)},fr.prototype.add=function(x){var r=this.lo+x.lo,e=this.mi+x.mi+(r>>24),t=this.hi+x.hi+(e>>24);return new fr(r,e,t)},fr.prototype.sub=function(x){var r=this.lo-x.lo,e=this.mi-x.mi+(r>>24),t=this.hi-x.hi+(e>>24);return new fr(r,e,t)},fr.prototype.mul=function(x){var r=this.lo*x.lo,e=(r*oK|0)+this.mi*x.lo+this.lo*x.mi,t=(e*oK|0)+this.hi*x.lo+this.mi*x.mi+this.lo*x.hi;return new fr(r,e,t)},fr.prototype.isZero=function(){return(this.lo|this.mi|this.hi)==0},fr.prototype.isNeg=function(){return this.hi<<16<0},fr.prototype.and=function(x){return new fr(this.lo&x.lo,this.mi&x.mi,this.hi&x.hi)},fr.prototype.or=function(x){return new fr(this.lo|x.lo,this.mi|x.mi,this.hi|x.hi)},fr.prototype.xor=function(x){return new fr(this.lo^x.lo,this.mi^x.mi,this.hi^x.hi)},fr.prototype.shift_left=function(x){return x=x&63,x==0?this:x<24?new fr(this.lo<>24-x,this.hi<>24-x):x<48?new fr(0,this.lo<>48-x):new fr(0,0,this.lo<>x|this.mi<<24-x,this.mi>>x|this.hi<<24-x,this.hi>>x):x<48?new fr(this.mi>>x-24|this.hi<<48-x,this.hi>>x-24,0):new fr(this.hi>>x-48,0,0)},fr.prototype.shift_right=function(x){if(x=x&63,x==0)return this;var r=this.hi<<16>>16;if(x<24)return new fr(this.lo>>x|this.mi<<24-x,this.mi>>x|r<<24-x,this.hi<<16>>x>>>16);var e=this.hi<<16>>31;return x<48?new fr(this.mi>>x-24|this.hi<<48-x,this.hi<<16>>x-24>>16,e&nn):new fr(this.hi<<16>>x-32,e,e)},fr.prototype.lsl1=function(){this.hi=this.hi<<1|this.mi>>23,this.mi=(this.mi<<1|this.lo>>23)&wi,this.lo=this.lo<<1&wi},fr.prototype.lsr1=function(){this.lo=(this.lo>>>1|this.mi<<23)&wi,this.mi=(this.mi>>>1|this.hi<<23)&wi,this.hi=this.hi>>>1},fr.prototype.udivmod=function(x){for(var r=0,e=this.copy(),t=x.copy(),u=new fr(0,0,0);e.ucompare(t)>0;)r++,t.lsl1();for(;r>=0;)r--,u.lsl1(),e.ucompare(t)>=0&&(u.lo++,e=e.sub(t)),t.lsr1();return{quotient:u,modulus:e}},fr.prototype.div=function(x){var r=this;x.isZero()&&aK();var e=r.hi^x.hi;r.hi&on&&(r=r.neg()),x.hi&on&&(x=x.neg());var t=r.udivmod(x).quotient;return e&on&&(t=t.neg()),t},fr.prototype.mod=function(x){var r=this;x.isZero()&&aK();var e=r.hi;r.hi&on&&(r=r.neg()),x.hi&on&&(x=x.neg());var t=r.udivmod(x).modulus;return e&on&&(t=t.neg()),t},fr.prototype.toInt=function(){return this.lo|this.mi<<24},fr.prototype.toFloat=function(){return(this.hi<<16)*Math.pow(2,32)+this.mi*Math.pow(2,24)+this.lo},fr.prototype.toArray=function(){return[this.hi>>8,this.hi&Is,this.mi>>16,this.mi>>8&Is,this.mi&Is,this.lo>>16,this.lo>>8&Is,this.lo&Is]},fr.prototype.lo32=function(){return this.lo|(this.mi&Is)<<24},fr.prototype.hi32=function(){return this.mi>>>8&nn|this.hi<<16};function Uy(x,r,e){return new fr(x,r,e)}function My(x){if(!isFinite(x))return isNaN(x)?Uy(1,0,Tj):x>0?Uy(0,0,Tj):Uy(0,0,65520);var r=x==0&&1/x==-1/0?on:x>=0?0:on;r&&(x=-x);var e=vV(x)+1023;e<=0?(e=0,x/=Math.pow(2,-Jj)):(x/=Math.pow(2,e-FU),x<16&&(x*=2,e-=1),e==0&&(x/=2));var t=Math.pow(2,24),u=x|0;x=(x-u)*t;var i=x|0;x=(x-i)*t;var f=x|0;return u=u&GN|r|e<<4,Uy(f,i,u)}function wl(x){return x.toArray()}function lK(x,r,e){if(x.write(32,r.dims.length),x.write(32,r.kind|r.layout<<8),r.caml_custom==tp)for(var t=0;t>4;if(u==eD)return r|e|t&GN?NaN:t&on?-1/0:1/0;var i=Math.pow(2,-24),f=(r*i+e)*i+(t&GN);return u>0?(f+=16,f*=Math.pow(2,u-FU)):f*=Math.pow(2,-Jj),t&on&&(f=-f),f}function OC(x){for(var r=x.length,e=1,t=0;t>>24&Is|(r&nn)<<8,r>>>16&nn)}function LC(x){return x.hi32()}function UC(x){return x.lo32()}var pV=tp;function ho(x,r,e,t){this.kind=x,this.layout=r,this.dims=e,this.data=t}ho.prototype.caml_custom=pV,ho.prototype.offset=function(x){var r=0;if(typeof x=="number"&&(x=[x]),x instanceof Array||q1("bigarray.js: invalid offset"),this.dims.length!=x.length&&q1("Bigarray.get/set: bad number of dimensions"),this.layout==0)for(var e=0;e=this.dims[e])&&_l(),r=r*this.dims[e]+x[e];else for(var e=this.dims.length-1;e>=0;e--)(x[e]<1||x[e]>this.dims[e])&&_l(),r=r*this.dims[e]+(x[e]-1);return r},ho.prototype.get=function(x){switch(this.kind){case 7:var r=this.data[x*2+0],e=this.data[x*2+1];return lV(r,e);case 10:case 11:var t=this.data[x*2+0],u=this.data[x*2+1];return[Pa,t,u];default:return this.data[x]}},ho.prototype.set=function(x,r){switch(this.kind){case 7:this.data[x*2+0]=UC(r),this.data[x*2+1]=LC(r);break;case 10:case 11:this.data[x*2+0]=r[1],this.data[x*2+1]=r[2];break;default:this.data[x]=r;break}return 0},ho.prototype.fill=function(x){switch(this.kind){case 7:var r=UC(x),e=LC(x);if(r==e)this.data.fill(r);else for(var t=0;tf)return 1;if(i!=f){if(!r)return NaN;if(i==i)return 1;if(f==f)return-1}}break;case 7:for(var u=0;ux.data[u+1])return 1;if(this.data[u]>>>0>>0)return-1;if(this.data[u]>>>0>x.data[u]>>>0)return 1}break;case 2:case 3:case 4:case 5:case 6:case 8:case 9:case 12:for(var u=0;ux.data[u])return 1}break}return 0};function ja(x,r,e,t){this.kind=x,this.layout=r,this.dims=e,this.data=t}ja.prototype=new ho,ja.prototype.offset=function(x){return typeof x!="number"&&(x instanceof Array&&x.length==1?x=x[0]:q1("Ml_Bigarray_c_1_1.offset")),(x<0||x>=this.dims[0])&&_l(),x},ja.prototype.get=function(x){return this.data[x]},ja.prototype.set=function(x,r){return this.data[x]=r,0},ja.prototype.fill=function(x){return this.data.fill(x),0};function yK(x,r,e,t){var u=pK(x);return OC(e)*u!=t.length&&q1("length doesn't match dims"),r==0&&e.length==1&&u==1?new ja(x,r,e,t):new ho(x,r,e,t)}function D2(x){M2.Failure||(M2.Failure=[Qr,H_,-3]),IC(M2.Failure,x)}function dK(x,r,e){var t=x.read32s();(t<0||t>16)&&D2("input_value: wrong number of bigarray dimensions");var u=x.read32s(),i=u&Is,f=u>>8&1,o=[];if(e==tp)for(var a=0;a>>32-15,r=kK(r,461845907),x^=r,x=x<<13|x>>>32-13,(x+(x<<2)|0)+-430675100|0}function yV(x,r){return x=js(x,UC(r)),x=js(x,LC(r)),x}function hK(x,r){return yV(x,My(r))}function _K(x){var r=OC(x.dims),e=0;switch(x.kind){case 2:case 3:case 12:r>yv&&(r=yv);var t=0,u=0;for(u=0;u+4<=x.data.length;u+=4)t=x.data[u+0]|x.data[u+1]<<8|x.data[u+2]<<16|x.data[u+3]<<24,e=js(e,t);switch(t=0,r&3){case 3:t=x.data[u+2]<<16;case 2:t|=x.data[u+1]<<8;case 1:t|=x.data[u+0],e=js(e,t)}break;case 4:case 5:r>m1&&(r=m1);var t=0,u=0;for(u=0;u+2<=x.data.length;u+=2)t=x.data[u+0]|x.data[u+1]<<16,e=js(e,t);r&1&&(e=js(e,x.data[u]));break;case 6:r>64&&(r=64);for(var u=0;u64&&(r=64);for(var u=0;u32&&(r=32),r*=2;for(var u=0;u64&&(r=64);for(var u=0;u32&&(r=32);for(var u=0;u0?u(r,x,t):u(x,r,t);if(t&&i!=i)return e;if(+i!=+i)return+i;if(i|0)return i|0}return e}function DC(x){return typeof x=="string"&&!/[^\x00-\xff]/.test(x)}function jC(x){return x instanceof Ms}function SK(x){if(typeof x=="number")return ul;if(jC(x))return Ea;if(DC(x))return 1252;if(x instanceof Array&&x[0]===x[0]>>>0&&x[0]<=B3){var r=x[0]|0;return r==Pa?0:r}else{if(x instanceof String)return fM;if(typeof x=="string")return fM;if(x instanceof Number)return ul;if(x&&x.caml_custom)return CP;if(x&&x.compare)return 1256;if(typeof x=="function")return 1247;if(typeof x=="symbol")return 1251}return 1001}function yn(x,r){return xr?1:0}function TV(x,r){return x.t&6&&Ly(x),r.t&6&&Ly(r),x.cr.c?1:0}function Dy(x,r,e){for(var t=[];;){if(!(e&&x===r)){var u=SK(x);if(u==Pv){x=x[1];continue}var i=SK(r);if(i==Pv){r=r[1];continue}if(u!==i)return u==ul?i==CP?TK(x,r,-1,e):-1:i==ul?u==CP?TK(r,x,1,e):1:ur)return 1;if(x!=r){if(!e)return NaN;if(x==x)return 1;if(r==r)return-1}break;case 1001:if(xr)return 1;if(x!=r){if(!e)return NaN;if(x==x)return 1;if(r==r)return-1}break;case 1251:if(x!==r)return e?1:NaN;break;case 1252:var x=x,r=r;if(x!==r){if(xr)return 1}break;case 12520:var x=x.toString(),r=r.toString();if(x!==r){if(xr)return 1}break;case 246:case 254:default:if(sV(u)){q1("compare: continuation value");break}if(x.length!=r.length)return x.length1&&t.push(x,r,1);break}}if(t.length==0)return 0;var a=t.pop();r=t.pop(),x=t.pop(),a+10)if(r==0&&(e>=x.l||x.t==2&&e>=x.c.length))t==0?(x.c=wx,x.t=2):(x.c=Ma(e,String.fromCharCode(t)),x.t=e==x.l?0:2);else for(x.t!=4&&Oy(x),e+=r;r0&&r===r||(x=x.replace(/_/g,wx),r=+x,x.length>0&&r===r||/^[+-]?nan$/i.test(x)))return r;var e=/^ *([+-]?)0x([0-9a-f]+)\.?([0-9a-f]*)(p([+-]?[0-9]+))?/i.exec(x);if(e){var t=e[3].replace(/0+$/,wx),u=parseInt(e[1]+e[2]+t,16),i=(e[5]|0)-4*t.length;return r=u*Math.pow(2,i),r}if(/^\+?inf(inity)?$/i.test(x))return 1/0;if(/^-inf(inity)?$/i.test(x))return-1/0;D2("float_of_string")}function KC(x){x=x;var r=x.length;r>31&&q1("format_int: format too long");for(var e={justify:Ls,signstyle:Ot,filler:Lt,alternate:!1,base:0,signedconv:!1,width:0,uppercase:!1,sign:1,prec:-1,conv:Bj},t=0;t=0&&u<=9;)e.width=e.width*10+u,t++;t--;break;case".":for(e.prec=0,t++;u=x.charCodeAt(t)-48,u>=0&&u<=9;)e.prec=e.prec*10+u,t++;t--;case"d":case"i":e.signedconv=!0;case"u":e.base=10;break;case"x":e.base=16;break;case"X":e.base=16,e.uppercase=!0;break;case"o":e.base=8;break;case"e":case"f":case"g":e.signedconv=!0,e.conv=u;break;case"E":case"F":case"G":e.signedconv=!0,e.uppercase=!0,e.conv=u.toLowerCase();break}}return e}function JC(x,r){x.uppercase&&(r=r.toUpperCase());var e=r.length;x.signedconv&&(x.sign<0||x.signstyle!=Ot)&&e++,x.alternate&&(x.base==8&&(e+=1),x.base==16&&(e+=2));var t=wx;if(x.justify==Ls&&x.filler==Lt)for(var u=e;u20?(A-=20,h/=Math.pow(10,A),h+=new Array(A+1).join(Q2),k>0&&(h=h+Hf+new Array(k+1).join(Q2)),h):h.toFixed(k)}var t,u=KC(x),i=u.prec<0?6:u.prec;if((r<0||r==0&&1/r==-1/0)&&(u.sign=-1,r=-r),isNaN(r))t=Dk,u.filler=Lt;else if(!isFinite(r))t="inf",u.filler=Lt;else switch(u.conv){case"e":var t=r.toExponential(i),f=t.length;t.charAt(f-3)==ah&&(t=t.slice(0,f-1)+Q2+t.slice(f-1));break;case"f":t=e(r,i);break;case"g":i=i||1,t=r.toExponential(i-1);var o=t.indexOf(ah),a=+t.slice(o+1);if(a<-4||r>=1e21||r.toFixed(0).length>i){for(var f=o-1;t.charAt(f)==Q2;)f--;t.charAt(f)==Hf&&f--,t=t.slice(0,f+1)+t.slice(o),f=t.length,t.charAt(f-3)==ah&&(t=t.slice(0,f-1)+Q2+t.slice(f-1));break}else{var y=i;if(a<0)y-=a+1,t=r.toFixed(y);else for(;t=r.toFixed(y),t.length>i+1;)y--;if(y){for(var f=t.length-1;t.charAt(f)==Q2;)f--;t.charAt(f)==Hf&&f--,t=t.slice(0,f+1)}}break}return JC(u,t)}function zy(x,r){if(x==hl)return wx+r;var e=KC(x);r<0&&(e.signedconv?(e.sign=-1,r=-r):r>>>=0);var t=r.toString(e.base);if(e.prec>=0){e.filler=Lt;var u=e.prec-t.length;u>0&&(t=Ma(u,Q2)+t)}return JC(e,t)}var AK=0;function zs(){return AK++}function gK(){return[0]}var Ky=[];function qx(x,r,e){var t=x[1],u=Ky[e];if(u===void 0)for(var i=Ky.length;i>1|1,rlw?(e.substr(0,1),r+=e,e=wx,r+=x.slice(i,o)):e+=x.slice(i,o),o==f)break;i=o}t>6),e+=String.fromCharCode(cn|t&Ua)):t<55296||t>=Pz?e+=String.fromCharCode(Wj|t>>12,cn|t>>6&Ua,cn|t&Ua):t>=56319||i+1==f||(u=x.charCodeAt(i+1))Pz?e+="\xEF\xBF\xBD":(i++,t=(t<<10)+u-56613888,e+=String.fromCharCode(Sz|t>>18,cn|t>>12&Ua,cn|t>>6&Ua,cn|t&Ua)),e.length>vl&&(e.substr(0,1),r+=e,e=wx)}return r+e}function Mt(x){return gC(x)?x:AV(x)}function gV(x,r,e){if(!isFinite(x))return isNaN(x)?Mt(Dk):Mt(x>0?wD:"-infinity");var t=x==0&&1/x==-1/0?1:x>=0?0:1;t&&(x=-x);var u=0;if(x!=0)if(x<1)for(;x<1&&u>-1022;)x*=2,u--;else for(;x>=2;)x/=2,u++;var i=u<0?wx:Ls,f=wx;if(t)f=Ot;else switch(e){case 43:f=Ls;break;case 32:f=Lt;break;default:break}if(r>=0&&r<13){var o=Math.pow(2,r*4);x=Math.round(x*o)/o}var a=x.toString(16);if(r>=0){var y=a.indexOf(Hf);if(y<0)a+=Hf+Ma(r,Q2);else{var h=y+1+r;a.length>24&wi,x>>31&nn)}function IV(x){return x.toInt()}function PV(x){return+x.isNeg()}function BC(x){return x.neg()}function CV(x,r){var e=KC(x);e.signedconv&&PV(r)&&(e.sign=-1,r=BC(r));var t=wx,u=Jy(e.base),i="0123456789abcdef";do{var f=r.udivmod(u);r=f.quotient,t=i.charAt(IV(f.modulus))+t}while(!NV(r));if(e.prec>=0){e.filler=Lt;var o=e.prec-t.length;o>0&&(t=Ma(o,Q2)+t)}return JC(e,t)}function Gx(x){return x.length}function ix(x,r){return x.charCodeAt(r)}function RV(x,r){return x.add(r)}function OV(x,r){return x.mul(r)}function XC(x,r){return x.ucompare(r)<0}function NK(x){var r=0,e=Gx(x),t=10,u=1;if(e>0)switch(ix(x,r)){case 45:r++,u=-1;break;case 43:r++,u=1;break}if(r+1=48&&x<=57?x-48:x>=65&&x<=90?x-55:x>=97&&x<=qr?x-87:-1}function Sl(x){var r=NK(x),e=r[0],t=r[1],u=r[2],i=Jy(u),f=new fr(wi,268435455,nn).udivmod(i).quotient,o=ix(x,e),a=Yy(o);(a<0||a>=u)&&D2(Os);for(var y=Jy(a);;)if(e++,o=ix(x,e),o!=95){if(a=Yy(o),a<0||a>=u)break;XC(f,y)&&D2(Os),a=Jy(a),y=RV(OV(i,y),a),XC(y,a)&&D2(Os)}return e!=Gx(x)&&D2(Os),u==10&&XC(new fr(0,0,on),y)&&D2(Os),t<0&&(y=BC(y)),y}function By(x){return x.toFloat()}function it(x){var r=NK(x),e=r[0],t=r[1],u=r[2],i=Gx(x),f=-1>>>0,o=e=u)&&D2(Os);var y=a;for(e++;e=u)break;y=u*y+a,y>f&&D2(Os)}return e!=i&&D2(Os),y=t*y,u==10&&(y|0)!=y&&D2(Os),y|0}function LV(x){return x.slice(1)}function nr(x){return gC(x)?x:fK(x)}function UV(x){for(var r={},e=1;e=0?x.l:x.l=x.length}function DV(x){return function(){for(var r=MV(x),e=new Array(r),t=0;t1&&t.pop();break;case".":break;case"":break;default:t.push(e[u]);break}return t.unshift(r[0]),t.orig=x,t}var BV=["E2BIG","EACCES","EAGAIN",MT,"EBUSY","ECHILD","EDEADLK","EDOM",HD,"EFAULT","EFBIG","EINTR","EINVAL","EIO","EISDIR","EMFILE","EMLINK","ENAMETOOLONG","ENFILE","ENODEV",VS,"ENOEXEC","ENOLCK","ENOMEM","ENOSPC","ENOSYS",nh,WU,"ENOTTY","ENXIO","EPERM","EPIPE","ERANGE","EROFS","ESPIPE","ESRCH","EXDEV","EWOULDBLOCK","EINPROGRESS","EALREADY","ENOTSOCK","EDESTADDRREQ","EMSGSIZE","EPROTOTYPE","ENOPROTOOPT","EPROTONOSUPPORT","ESOCKTNOSUPPORT","EOPNOTSUPP","EPFNOSUPPORT","EAFNOSUPPORT","EADDRINUSE","EADDRNOTAVAIL","ENETDOWN","ENETUNREACH","ENETRESET","ECONNABORTED","ECONNRESET","ENOBUFS","EISCONN","ENOTCONN","ESHUTDOWN","ETOOMANYREFS","ETIMEDOUT","ECONNREFUSED","EHOSTDOWN","EHOSTUNREACH","ELOOP","EOVERFLOW"];function Js(x,r,e,t){var u=BV.indexOf(x);u<0&&(t==null&&(t=-9999),u=[0,t]);var i=[u,Mt(r||wx),Mt(e||wx)];return i}var RK={};function _o(x){return RK[x]}function Ys(x,r){throw q0([0,x].concat(r))}function VC(x){return x instanceof Uint8Array||(x=new Uint8Array(x)),new Ms(4,x,x.length)}function OK(x){Mr(x+np)}function H2(x){this.data=x}H2.prototype=new IK,H2.prototype.constructor=H2,H2.prototype.truncate=function(x){var r=this.data;this.data=g1(x|0),Us(r,0,this.data,0,x)},H2.prototype.length=function(){return ft(this.data)},H2.prototype.write=function(x,r,e,t){var u=this.length();if(x+t>=u){var i=g1(x+t),f=this.data;this.data=i,Us(f,0,this.data,0,u)}return Us(VC(r),e,this.data,x,t),0},H2.prototype.read=function(x,r,e,t){var u=this.length();if(x+t>=u&&(t=u-x),t){var i=g1(t|0);Us(this.data,x,i,0,t),r.set(PK(i),e)}return t};function Rv(x,r,e){this.file=r,this.name=x,this.flags=e}Rv.prototype.err_closed=function(){Mr(this.name+bM)},Rv.prototype.length=function(){if(this.file)return this.file.length();this.err_closed()},Rv.prototype.write=function(x,r,e,t){if(this.file)return this.file.write(x,r,e,t);this.err_closed()},Rv.prototype.read=function(x,r,e,t){if(this.file)return this.file.read(x,r,e,t);this.err_closed()},Rv.prototype.close=function(){this.file=void 0};function p2(x,r){this.content={},this.root=x,this.lookupFun=r}p2.prototype.nm=function(x){return this.root+x},p2.prototype.create_dir_if_needed=function(x){for(var r=x.split($2),e=wx,t=0;t0&&e>=0&&e+t<=r.length&&r[e+t-1]==10&&t--;var u=g1(t);return Us(VC(r),e,u,0,t),this.log(u.toUtf16()),0}Mr(this.fd+bM)},gl.prototype.read=function(x,r,e,t){Mr(this.fd+": file descriptor is write only")},gl.prototype.close=function(){this.log=void 0};function Zy(x,r){return r==null&&(r=Wy.length),Wy[r]=x,r|0}function xP0(x,r,e){for(var t={};r;){switch(r[1]){case 0:t.rdonly=1;break;case 1:t.wronly=1;break;case 2:t.append=1;break;case 3:t.create=1;break;case 4:t.truncate=1;break;case 5:t.excl=1;break;case 6:t.binary=1;break;case 7:t.text=1;break;case 8:t.nonblock=1;break}r=r[2]}t.rdonly&&t.wronly&&Mr(x+xS),t.text&&t.binary&&Mr(x+oC);var u=XV(x),i=u.device.open(u.rest,t);return Zy(i,void 0)}(function(){function x(r,e){return El()?KV(r,e):new gl(r,e)}Zy(x(0,{rdonly:1,altname:"/dev/stdin",isCharacterDevice:!0}),0),Zy(x(1,{buffered:2,wronly:1,isCharacterDevice:!0}),1),Zy(x(2,{buffered:2,wronly:1,isCharacterDevice:!0}),2)})();function WV(x){var r=Wy[x];r.flags.wronly&&Mr(nz+x+" is writeonly");var e=null,t={file:r,offset:r.flags.append?r.length():0,fd:x,opened:!0,out:!1,buffer_curr:0,buffer_max:0,buffer:new Uint8Array(b3),refill:e};return Ks[t.fd]=t,t.fd}function UK(x){var r=Wy[x];r.flags.rdonly&&Mr(nz+x+" is readonly");var e=r.flags.buffered!==void 0?r.flags.buffered:1,t={file:r,offset:r.flags.append?r.length():0,fd:x,opened:!0,out:!0,buffer_curr:0,buffer:new Uint8Array(b3),buffered:e};return Ks[t.fd]=t,t.fd}function VV(){for(var x=0,r=0;ru.buffer.length){var f=new Uint8Array(u.buffer_curr+i.length);f.set(u.buffer),u.buffer=f}switch(u.buffered){case 0:u.buffer.set(i,u.buffer_curr),u.buffer_curr+=i.length,Zc(x);break;case 1:u.buffer.set(i,u.buffer_curr),u.buffer_curr+=i.length,u.buffer_curr>=u.buffer.length&&Zc(x);break;case 2:var o=i.lastIndexOf(10);o<0?(u.buffer.set(i,u.buffer_curr),u.buffer_curr+=i.length,u.buffer_curr>=u.buffer.length&&Zc(x)):(u.buffer.set(i.subarray(0,o+1),u.buffer_curr),u.buffer_curr+=o+1,Zc(x),u.buffer.set(i.subarray(o+1),u.buffer_curr),u.buffer_curr+=i.length-o-1);break}return 0}function ZC(x,r,e,t){return ZV(x,Vc(r),e,t)}function MK(x,r){var e=String.fromCharCode(r);return ZC(x,e,0,1),0}function Nl(x,r){return+(Dy(x,r,!1)!=0)}function $C(x,r){var e=new Array(r+1);e[0]=x;for(var t=1;t<=r;t++)e[t]=0;return e}function $V(x,r){return x[0]=Pv,x[1]=r,0}function Ov(x){return x instanceof Array&&x[0]==x[0]>>>0?x[0]:jC(x)||DC(x)?Ea:x instanceof Function||typeof x=="function"?J8:x&&x.caml_custom?B3:ul}function FV(x){for(var r;x;)if(nr(x[1][1])=="SYJS"){r=x[1][2];break}else x=x[2];var e={};if(r)for(var t=1;t=0?x=u:D2("caml_register_global: cannot locate "+t)}}M2[x+1]=r,e&&(M2[e]=r)}function FC(x,r){return RK[x]=r,0}function QV(x){return x[2]=AK++,x}function Nr(x,r){return x===r?1:0}function HV(){q1(iA)}function C1(x,r){return r>>>0>=Gx(x)&&HV(),ix(x,r)}function N(x,r){return 1-Nr(x,r)}function qV(){return 2147483647/4|0}var GV=p0.process&&p0.process.platform&&p0.process.platform==pD?hz:"Unix";function bV(){return[0,GV,32,0]}function xZ(){vK(M2.Not_found)}function DK(x){var r=sK(nr(x));return r===void 0&&xZ(),Mt(r)}function QC(x){for(var r=1;x&&x.joo_tramp;)x=x.joo_tramp.apply(null,x.joo_args),r++;return x}function y2(x,r){return{joo_tramp:x,joo_args:r}}function C0(x,r){if(typeof r=="function")return x.fun=r,0;if(r.fun)return x.fun=r.fun,0;for(var e=r.length;e--;)x[e]=r[e];return 0}function R1(x){{if(x instanceof Array)return x;var r;return p0.RangeError&&x instanceof p0.RangeError&&x.message&&x.message.match(/maximum call stack/i)||p0.InternalError&&x instanceof p0.InternalError&&x.message&&x.message.match(/too much recursion/i)?r=M2.Stack_overflow:x instanceof p0.Error&&_o(UE)?r=[0,_o(UE),x]:r=[0,M2.Failure,Mt(String(x))],x instanceof p0.Error&&(r.js_error=x),r}}function rZ(x){switch(x[2]){case-8:case-11:case-12:return 1;default:return 0}}function eZ(x){var r=wx;if(x[0]==0){if(r+=x[1][1],x.length==3&&x[2][0]==0&&rZ(x[1]))var t=x[2],e=1;else var e=2,t=x;r+=LU;for(var u=e;ue&&(r+=UM);var i=t[u];typeof i=="number"?r+=i.toString():i instanceof Ms||typeof i=="string"?r+=q8+i.toString()+q8:r+=ga}r+=JS}else x[0]==Qr&&(r+=x[1]);return r}function jK(x){if(x instanceof Array&&(x[0]==0||x[0]==Qr)){var r=_o(tM);if(r)Xy(r,[x,!1]);else{var e=eZ(x),t=_o(FM);if(t&&Xy(t,[0]),console.error(rC+e+` -`),x.js_error)throw x.js_error}}else throw x}function tZ(){var x=p0.process;x&&x.on?x.on("uncaughtException",function(r,e){jK(r),x.exit(2)}):p0.addEventListener&&p0.addEventListener("error",function(r){r.error&&jK(r.error)})}tZ();function l(x,r){return(x.l>=0?x.l:x.l=x.length)==1?x(r):Ds(x,[r])}function p(x,r,e){return(x.l>=0?x.l:x.l=x.length)==2?x(r,e):Ds(x,[r,e])}function G0(x,r,e,t){return(x.l>=0?x.l:x.l=x.length)==3?x(r,e,t):Ds(x,[r,e,t])}function oe(x,r,e,t,u){return(x.l>=0?x.l:x.l=x.length)==4?x(r,e,t,u):Ds(x,[r,e,t,u])}function Je(x,r,e,t,u,i){return(x.l>=0?x.l:x.l=x.length)==5?x(r,e,t,u,i):Ds(x,[r,e,t,u,i])}function nZ(x,r,e,t,u,i,f,o){return(x.l>=0?x.l:x.l=x.length)==7?x(r,e,t,u,i,f,o):Ds(x,[r,e,t,u,i,f,o])}var HC=[Qr,zz,-1],zK=[Qr,lz,-2],mn=[Qr,H_,-3],qC=[Qr,ez,-4],w2=[Qr,mD,-7],KK=[Qr,Pj,-8],JK=[Qr,lj,-9],Tr=[Qr,BU,-11],Il=[Qr,jj,-12],uZ=[4,0,0,0,[12,45,[4,0,0,0,0]]],GC=[0,[11,'File "',[2,0,[11,'", line ',[4,0,0,0,[11,fj,[4,0,0,0,[12,45,[4,0,0,0,[11,": ",[2,0,0]]]]]]]]]],'File "%s", line %d, characters %d-%d: %s'],Ja=[0,0,[0,0,0],[0,0,0]],Pl=[0,0,0,0,1,0,0,0],YK=[0,"first_leading","last_trailing"],BK=[0,hf,gf,ni,l7,Af,Ii,yu,uc,O7,zi,Nf,un,Ku,sc,Le,E7,Q7,rf,Bf,T7,ci,Xc,hc,Gn,uf,j7,ku,ji,Qi,Jc,B7,Tu,yi,bi,_i,fi,Ff,Xi,nu,s7,Bc,K7,Wu,mc,vi,tf,Wf,Wn,ic,oc,Fi,Ce,Re,Mu,lf,dc,Mi,y7,Pf,ju,Gf,sf,ec,Tf,_c,Ai,ce,Ri,qn,ff,Hi,_u,e7,Iu,Li,xf,kc,cc,gu,Uu,ef,p7,$n,_f,v7,zf,z7,Q1,pi,Zu,Zn,J7,o7,Cf,df,V7,xu,Ci,Ru,wu,iu,Vu,xc,F7,jn,nc,d7,Yn,R7,Qu,Fu,If,Gu,af,zn,ki,jc,Yi,lu,mi,ou,Su,It,k7,t7,_7,R2,di,eu,Du,c7,of,cu,jf,A7,F2,Hu,Qn,Mf,Di,uu,Wc,G7,au,F1,Ui,Ju,Sc,tc,x7,yf,du,xi,Mc,ui,C7,n7,q7,Vn,Zf,Vf,$i,qf,L7,Ou,Bn,Ni,P7,Kn,tu,qi,xr,u7,ii,Cu,yc,$u,i7,Cc,Nc,zu,Ac,Y7,mf,g7,Pi,Of,Yf,ru,Wi,Dc,nf,Oc,r7,ti,kf,ei,bf,si,H7,Qf,bn,Yu,Sf,pn,Pc,Au,D7,vc,wc,S7,X7,Lu,f7,a7,Oi,Nu,fc,$f,b7,Df,zc,mu,Uf,ac,su,je,pc,fu,Pu,pu,Zi,I7,Me,lc,Xu,N7,Tc,Ji,Bi,m7,Gi,Ke,Eu,Z7,Rf,pf,gc,Si,wf,ze,Kc,cf,Ki,hu,rc,Xn,Fn,hi,Kf,li,Rc,h7,Lc,ai,Jn,M7,Ti,Xf,Jf,$7,w7,U7,oi,Bu,Ec,Hn,W7,qu,Yc,Ei,L2,Lf,vf,ri,U2],kn=[0,0,0];Dt(11,Il,jj),Dt(10,Tr,BU),Dt(9,[Qr,SD,CM],SD),Dt(8,JK,lj),Dt(7,KK,Pj),Dt(6,w2,mD),Dt(5,[Qr,GM,-6],GM),Dt(4,[Qr,nM,-5],nM),Dt(3,qC,ez),Dt(2,mn,H_),Dt(1,zK,lz),Dt(0,HC,zz);var iZ="output_substring",fZ=Hf,cZ=Ts,sZ=As,oZ="CamlinternalLazy.Undefined",vZ=kz,aZ="\\'",lZ="\\b",pZ="\\t",yZ="\\n",dZ="\\r",mZ="List.iter2",kZ="tl",hZ="hd",_Z="String.blit / Bytes.blit_string",wZ="Bytes.blit",TZ="String.sub / Bytes.sub",SZ="Array.blit",EZ="Array.sub",AZ="Map.remove_min_elt",gZ=[0,0,0,0],NZ=[0,"map.ml",400,10],IZ=[0,0,0],PZ=K4,CZ=K4,RZ=K4,OZ=K4,LZ="Stdlib.Queue.Empty",UZ="Buffer.add_substring/add_subbytes",MZ="Buffer.add: cannot grow buffer",DZ=[0,bU,93,2],jZ=[0,bU,94,2],zZ="Buffer.sub",KZ="%c",JZ="%s",YZ=jU,BZ=mz,XZ=aD,WZ=Mz,VZ="%f",ZZ="%B",$Z="%{",FZ="%}",QZ="%(",HZ="%)",qZ=RD,GZ="%t",bZ="%?",x$="%r",r$="%_r",e$=[0,i2,850,23],t$=[0,i2,814,21],n$=[0,i2,815,21],u$=[0,i2,818,21],i$=[0,i2,819,21],f$=[0,i2,822,19],c$=[0,i2,823,19],s$=[0,i2,826,22],o$=[0,i2,827,22],v$=[0,i2,831,30],a$=[0,i2,832,30],l$=[0,i2,836,26],p$=[0,i2,837,26],y$=[0,i2,846,28],d$=[0,i2,847,28],m$=[0,i2,851,23],k$=[0,i2,1558,4],h$="Printf: bad conversion %[",_$=[0,i2,1626,39],w$=[0,i2,1649,31],T$=[0,i2,1650,31],S$="Printf: bad conversion %_",E$=Lj,A$=lD,g$=Lj,N$=lD,I$=[0,[11,"invalid box description ",[3,0,0]],"invalid box description %S"],P$=[0,0,4],C$=Dk,R$="neg_infinity",O$=wD,L$=Hf,U$=[0,tt],M$="%+nd",D$="% nd",j$="%+ni",z$="% ni",K$="%nx",J$="%#nx",Y$="%nX",B$="%#nX",X$="%no",W$="%#no",V$="%nd",Z$=aD,$$="%nu",F$="%+ld",Q$="% ld",H$="%+li",q$="% li",G$="%lx",b$="%#lx",xF="%lX",rF="%#lX",eF="%lo",tF="%#lo",nF="%ld",uF=mz,iF="%lu",fF="%+Ld",cF="% Ld",sF="%+Li",oF="% Li",vF="%Lx",aF="%#Lx",lF="%LX",pF="%#LX",yF="%Lo",dF="%#Lo",mF="%Ld",kF=Mz,hF="%Lu",_F="%+d",wF="% d",TF="%+i",SF="% i",EF="%x",AF="%#x",gF="%X",NF="%#X",IF="%o",PF="%#o",CF=hl,RF=jU,OF=GD,LF=oa,UF="@}",MF="@?",DF=`@ -`,jF="@.",zF="@@",KF="@%",JF=yD,YF="CamlinternalFormat.Type_mismatch",BF=wx,XF=[0,[11,UM,[2,0,[2,0,0]]],", %s%s"],WF=[0,[11,rC,[2,0,[12,10,0]]],pj],VF=[0,[11,"Fatal error in uncaught exception handler: exception ",[2,0,[12,10,0]]],`Fatal error in uncaught exception handler: exception %s -`],ZF="Fatal error: out of memory in uncaught exception handler",$F=[0,[11,rC,[2,0,[12,10,0]]],pj],FF=[0,[2,0,[12,10,0]],`%s -`],QF="Raised at",HF="Re-raised at",qF="Raised by primitive operation at",GF="Called from",bF=" (inlined)",xQ=wx,rQ=[0,[2,0,[12,32,[2,0,[11,' in file "',[2,0,[12,34,[2,0,[11,", line ",[4,0,0,0,[11,fj,uZ]]]]]]]]]],'%s %s in file "%s"%s, line %d, characters %d-%d'],eQ=[0,[2,0,[11," unknown location",0]],"%s unknown location"],tQ="Out of memory",nQ="Stack overflow",uQ="Pattern matching failed",iQ="Assertion failed",fQ="Undefined recursive module",cQ=[0,[12,40,[2,0,[2,0,[12,41,0]]]],"(%s%s)"],sQ=wx,oQ=wx,vQ=[0,[12,40,[2,0,[12,41,0]]],"(%s)"],aQ=[0,[4,0,0,0,0],hl],lQ=[0,[3,0,0],z3],pQ=ga,yQ=[0,wx,`(Cannot print locations: +var qI0=Object.create;var SD=Object.defineProperty;var BI0=Object.getOwnPropertyDescriptor;var XI0=Object.getOwnPropertyNames;var JI0=Object.getPrototypeOf,KI0=Object.prototype.hasOwnProperty;var YI0=(a0,ox)=>()=>(ox||a0((ox={exports:{}}).exports,ox),ox.exports),LK=(a0,ox)=>{for(var $x in ox)SD(a0,$x,{get:ox[$x],enumerable:!0})},zI0=(a0,ox,$x,dr)=>{if(ox&&typeof ox=="object"||typeof ox=="function")for(let nr of XI0(ox))!KI0.call(a0,nr)&&nr!==$x&&SD(a0,nr,{get:()=>ox[nr],enumerable:!(dr=BI0(ox,nr))||dr.enumerable});return a0};var VI0=(a0,ox,$x)=>($x=a0!=null?qI0(JI0(a0)):{},zI0(ox||!a0||!a0.__esModule?SD($x,"default",{value:a0,enumerable:!0}):$x,a0));var MK=YI0(AD=>{(function(a0){typeof globalThis!="object"&&(this?ox():(a0.defineProperty(a0.prototype,"_T_",{configurable:!0,get:ox}),_T_));function ox(){var $x=this||self;$x.globalThis=$x,delete a0.prototype._T_}})(Object);(function(a0){"use strict";var ox="symbol",$x=126548,dr="renders",nr=71127,Er="member_property",Mr=65007,Qe=66517,dn="jsx_attribute_value_expression",p5=119980,yn="function_declaration",ht="<2>",k5=68466,RD="%=",m5="??",h5=70080,Mp="&",dt="identifier",Up=72163,d5=71723,y5="properties",g5=183969,_5=68223,gn="function_return_annotation",b5=124903,w5=70106,FD=241,LD="(",MD=213,T5=120074,E5=70708,S5=71679,_n="logical",e1="camlinternalFormat.ml",bn="type_guard_annotation",A5=92975,UD=">>>",I5="RestElement",j5=67897,qD=179,P5="start",N5=113775,qp=126521,BD="%i",M3="`",XD="#",O5=43702,Bp=126,C5=110947,wn="function_identifier",Xp=119893,D5=70366,R5=65547,F5=43743,L5=-43,ro=8238,ov="implies",JD=",",eo=8286,Tn="keyof_type",M5=66717,Jp=12336,KD=201,U5=71338,Kp=11565,q5=69289,B5=55291,X5=73030,J5=70479,K5=69572,Y5=11623,En="tuple_spread_element",Sn="component_type_rest_param",to=8239,z5=64310,vv="@]",V5=42993,Yp=11558,zp="Map.bal",U3="public",YD=-32,lv="Literal",An="jsx_member_expression_identifier",In="for_in_assignment_pattern",G5=71450,Vp=126557,Ze=103,W5=12292,$5=110579,Gp=120597,H5=13311,Q5=12348,jn="export_default_declaration_decl",Pn="tuple_type",Z5=113663,Wp=170,xy=67413,zD="Assert_failure",VD="comments",q3="%S",Ut=127343600,ry=12341,ey=67646,GD="ENOTEMPTY",ty=72160,ny=70187,WD=222,uy=12343,$D=2147483647,iy=126624,fy=43442,cy=70312,sy=281,Nn="interface_type",no="new",ay=66256,$p=68296,oy=124908,Hp=126579,Qp=70107,vy=249,ly=71167,On="union_type",x2=248,py=126546,Cn="enum_bigint_member",HD=133,ky=67871,my=66955,QD=1027,Dn="class_declaration",Rn="optional_call",ZD="a string",Zp=11703,xR="<<",x4=126564,Fn="jsx_element",Ln="object_property_type",hy=94207,Mn="enum_declaration",dy=68023,yy=67669,gy=8318,rR="prefix",uo="this",_y=126578,Un="if_consequent_statement",eR=-696510241,by=66963,io="default",r4=72967,yt=101,tR="buffer.ml",wy=74649,qt=65535,Ty=43709,nR=175,ta="component",uR="===",B3=117,qn="jsx_identifier",iR="EnumDefaultedMember",e4=70006,Ey=70161,Sy=126633,Ay=66965,Bn="member_property_expression",Iy=101589,jy=64274,pv="function",Py=66303,Ny=42954,Oy=126529,Cy=72191,Xn="new_",Dy=64433,t4=126559,Ry=72144,fR="==",na=-744106340,Fy=43359,Ly=171,cR="Printexc.handle_uncaught_exception",My=66735,Uy=126534,qy=74879,By=42785,n4=120629,X3="0o",sR="End_of_file",Xy=66175,aR="&=",Jy="nan",u4=126503,Jn="pattern_number_literal",Ky=43470,Kn="import_namespace_specifier",Yy=77711,i4=70302,Yn="component_param",f4="@])",c4=126515,kv=118,_e="continue",zy=43798,Vy=";@ ",Gy=74751,Wy="src/parser/statement_parser.ml",$y="rmdir",Hy=94177,zn="for_in_statement",oR=12520,vR="TypeParameterInstantiation",H0="",lR="**=",Qy=120126,pR=197,Zy=67829,s4="_bigarr02",Vn="export_named_declaration_specifier",a4=": No such file or directory",Gn="render_type",o4=64319,x9=69926,Wn="pattern_object_p",kR="TypeAnnotation",$n="array_type",mR=290,J3="@[%s =@ ",r9=72847,Hn="export_default_declaration",v4=126590,e9=42774,t9=": Not a directory",mv="let",fo=12288,ne="argument",hR=1552,G1="/",l4="an identifier",ss="typeof",p4=68116,n9=182,Qn="declare_export_declaration_decl",u9=67589,i9=66771,K3="class",dR="tokens",k4=70281,m4=255,f9=43638,co="key",c9=69955,yR=">>",Zn="function_expression_or_method",s9=43587,Bt="block",a9=100351,h4="mixed",o9=66503,v9="ENOTDIR",l9=65135,x7="string_literal",be="@ ",p9=43334,r7="if_alternate_statement",k9=70448,d4=8485,e7="type_args",m9=69864,t7="if_statement",gR="+=",n7="typeof_identifier",y4="with",g4=65595,h9=64286,d9=71086,as="true",y9=69423,u7="catch_clause",g9="e",hv="asserts",_R=">>=",_4=131,_9=43388,b9=43887,B2=-48,w9=120779,bR=190,T9=194,i7="pattern_bigint_literal",E9=71351,S9=65629,f7="call",A9=-42,b4=126553,I9=43695,wR=177,j9=42124,P9=12703,N9=12442,O9=11718,w4=70449,T4=126547,C9=67462,os="left",c7="infer_type",D9=11742,R9=65597,E4="Unix.Unix_error",F9=122623,L9=124911,M9=72959,TR="inexact",U9="opaque",s7="object_internal_slot_property_type",ER="Enum `",so=65279,q9=71983,B9=12329,j2=110,a7="spread_property",SR="importKind",Y3=" =",o7="remote_identifier",v7="labeled_statement",l7="jsx_fragment",X9=120770,p7="function_param",ue=112,J9="exportKind",k7="binary",vs="`.",K9=42511,AR="<=",m7="jsx_spread_attribute",R1="import",h7="typeof_member_identifier",Y9=69414,z9=19967,S4=11687,V9=93823,IR=67714067,jR=209,G9=71903,PR=291,W9="of",$9=72e3,A4="typeArguments",d7="type_identifier",y7="pattern_array_element_pattern",I4=69744,dv=192,g7="class_element",_7="export_source",b7="component_param_pattern",H9=42508,Q9=125124,NR="Unexpected token `",w7="for_in_left_declaration",T7="object_call_property_type",Z9="abstract",xg=8584,rg=68786,eg=71999,j4=123214,tg=123565,P4=186,E7="class_implements_interface",N4=126536,ng=69749,OR="Invalid legacy octal ",ug=71295,ig=66927,S7="pattern_expression",fg=11679,cg=-61,O4=65141,sg=11694,A7="update_expression",CR="minus",we="debugger",ag=71352,og=65470,yv="number",vg=123627,C4=64322,D4=43471,I7="for_of_assignment_pattern",R4=126589,lg=43784,DR="Internal Error: Found object private prop",pg=183983,Hr="id",kg=123190,F4="finally",L4=120070,mg=72095,j7="as_expression",P7="syntax",hg=110591,ls="false",RR=-10,M4="AssignmentPattern",N7="typeof_expression",dg=43764,FR="FunctionTypeParam",O7="function_body_any",yg=126627,gg=71998,_g=126543,C7="call_type_arg",bg=64316,U4=64285,wg=8454,LR=137,MR="**",D7="object_type_property_setter",Tg=68607,R7=108,Eg="out",Sg=68799,ao=65278,F7="jsx_member_expression",Ag=92728,oo="null",Ig=66431,jg=72249,Xt=128,q4=119994,Pg=66207,Ng=43583,B4="else",X4=94179,J4=11735,Og=64911,L7="jsx_attribute_name_namespaced",UR="!",Cg=42539,Dg=72250,Rg=71215,Fg=69746,Lg=65487,M7="pattern_object_property_key",qR=", ",Mg=8505,Ug="=",qg=64111,Bg=8507,K4=120134,Y4="while",Xg=120596,Jg=43002,z3="protected",Kg=68479,Yg=43395,zg=68252,BR="v",Vg=70278,Gg="rendersType",Wg=70853,z4=120145,$g=69297,Hg=73112,V4=8488,Qg=68351,Zg=42655,U7="for_of_left_declaration",x_=44031,r_="Failure",e_=92159,q7="object_key_identifier",XR=195,vo="bigint",B7="import_default_specifier",gv=256,X7="member",JR="!==",J7="component_identifier",t_=73008,n_=72283,G4=126500,W4=120127,K7="jsx_attribute_name",Y7="for_statement_init",u_=67711,z7="private_name",$4="case",H4=8489,V7="import_specifier",i_=64279,f_=94098,c_=119974,G7="pattern_string_literal",s_=72969,KR=193,YR="!=",Q4=126520,a_=71944,o_=259,v_=42191,W7="generic_qualified_identifier_type",lo="implements",l_=194559,zR="%",V3="hasUnknownMembers",p_=71039,k_=211,m_=83526,$7="init",H7="jsx_attribute_value",h_=70271,po=240,Q7="function_type_return_annotation",d_=70018,y_="rest",Z7="readonly_type",g_=512,__=68095,b_=120003,Z4=126563,xk=71236,w_=69375,T_=68850,E_=70105,S_=43866,VR="T_RENDERS_QUESTION",rk=888960333,A_=43013,xu="assignment_pattern",I_="specifiers",GR=710,Jt="as",j_=120570,P_=11507,WR=260,$R=204,ru="jsx_element_name_identifier",eu="pattern_object_property_string_literal_key",tu="class_expression",N_=44002,O_=82943,_v="src/parser/type_parser.ml",bv="test",C_=64217,ek="package",HR="collect_comments",QR="Pervasives.do_at_exit",D_=125183,R_=42606,nu="tuple_element",uu="enum_boolean_member",F_=65312,tk=119981,L_=65495,nk=120085,ZR=-80,M_=138,uk=126555,U_=65276,y2=128,xF="{ ",iu="for_statement",fu="ts_satisfies",cu="class_method",ik="if",su="generic_type",Dr=113,q_=43071,B_=72001,X_=71131,J_=70002,rF="renders*",K_=42888,fk=8469,G3="instanceof",Y_=11502,ck=94178,z_=64321,V_=64913,eF="Division_by_zero",G_=92879,W_=71945,tF=185,$_=66938,sk=65535,H_=113800,nF=": file descriptor already closed",ak=223,uF="*=",Q_=68899,au="switch_case",ou="pattern_array_element",vu="enum_string_member",lu="pattern_object_property_bigint_literal_key",iF="visit_trailing_comment",ok="export",vk=120122,lk=43823,Z_=43792,xb=42527,rb=70726,pu="enum_defaulted_member",eb=68497,pk=72349,ku="program",mu="member_type_identifier",tb="object",hu="for_of_statement_lhs",nb=113791,ub=67391,du="jsx_spread_child",kk=126554,mk=8526,hk=43880,dk=69415,ib=43822,yu="pattern_identifier",fb=93052,ko="readonly",Te="name",cb=68119,sb=71494,ab=120121,yk=8486,fF=2047,gu="enum_symbol_body",cF="PropertyDefinition",ob=177976,_u="declare_class",vb=65489,lb=72367,pb=70440,bu="import_named_specifier",sF="Popping lex mode from empty stack",kb=68111,mb=66463,aF="*-/",hb=43187,gk=8487,db=11567,yb=67861,gb=` +`,_b=66383,wu="declare_interface",bb=-24976191,oF=238,wb=-24,vF="@ }@]",Tb=43645,Eb=176,Sb=119976,_k=69959,Ab=126519,Ib=";",lF="trailingComments",bk=65548,Tu="number_literal",wv=449540197,jb=43704,wk=126584,Pb=8467,pF="||",Tk=11695,Nb="exported",Ob=120712,ps="void",kF="mixins",Cb=92783,Db=215,Eu="body_expression",mF="%ni",W3=">",Su="as_const_expression",Au="jsx_child",Rb=8516,Iu="optional_indexed_access_type",ju="typeof_type",Pu="spread_element",Fb=42963,hF="@[",Nu="component_params",Lb=43042,Ek="",Ou="function_",Sk="for",Ak=65575,Kt="params",Mb=168,dF="win32",mo=8202,yF="@",Ik="^",gF=164,xt="optional",Ub=65574,$3="boolean",_F=139,qb=12548,jk=120539,bF="Not_found",Pk=246,Cu="expression_statement",Bb="EBADF",Xb=66815,Du="module_ref_literal",Jb=55203,Ru="function_param_type",Kb=73064,Nk=70279,Yb=110580,wF=233,zb="<",TF=262,EF="visit_leading_comment",Vb=66855,Gb=66966,Wb=66499,$b=111355,Hb=68680,Qb=206,SF="--",Zb=65497,Ok=11711,Fu="function_param_pattern",ho="constructor",xw=5760,AF="infinity",Ck=43642,_j0="fs",rw=92991,Dk=126544,ew=101640,Rk=72162,tw=67583,Fk=8468,F1="typeParameters",IF="elements",nw=71423,jF="Sys_blocked_io",Lu="interface_declaration",Mu="variable_declaration",Uu="function_rest_param",qu="type",uw="Invalid number ",iw=" : flags Open_rdonly and Open_wronly are not compatible",fw=69404,Bu="jsx_element_name_member_expression",Lk="keyof",Mk="never",Xu="with_",Yt=32768,PF="|=",Uk=70404,qk=70441,cw=42969,H3="declare",sw=73061,Ju="object_type",Ku="object_property_value_type",aw=69687,NF="Invalid binary/octal ",OF=230,ow=64324,CF="range",DF="infer",vw=120744,Yu="array_element",lw=70730,pw=43641,RF=166,kw=70461,mw=69890,hw=69487,dw=74862,yw=68149,Bk=73065,FF="%a",gw=72348,LF=172,zu="jsx_expression",_w=65663,bw=126495,MF=245,ww=124907,Vu="member_property_identifier",UF=226,Tw=43615,Gu="comment",Xk=119965,Wu="catch_clause_pattern",$u="object_type_property_getter",qF=136,Ew=43019,Sw=67455,Jk=126628,BF=331416730,XF="the start of a statement",Aw=122654,Iw="shorthand",jw=43595,Pw=11710,Hu="typeof_qualified_identifier",Nw=72750,JF="elementType",Y2="typeAnnotation",Ow=124895,KF=162,Kk=11559,Cw=67382,YF="??=",Dw=72329,Rw="target",Qu="component_type",zF=284,VF=180,Fw=189,GF=8206,Lw=43513,Mw=173823,Uw=126467,Zu="type_guard",qw=43700,Bw=12783,Yk=8305,xi="type_annotation",Ee="break",zk=42999,Xw="namespace",Jw=65019,WF=160,Kw=70460,ri="expression_or_spread",Yw=")",ei="class_private_field",zw=55215,Vw=65338,Gw=40981,Q3="members",ti="import_declaration",Ww=69634,Vk=94031,$w="ENOENT",Hw=8457,$F="satisfies",ni="generic_identifier_type",ui="function_this_param",Qw=66993,ii="type_",Zw=67423,xT=11557,rT=12799,Gk=239,eT=93026,tT=66377,nT=123180,HF=221,QF=-594953737,uT=67967,iT=43586,gt=105,ZF="src/parser/flow_lexer.ml",fT=66559,fi="class_property_value",xL=150,cT=67637,rL="closedir",sT=43010,aT=8521,Wk=69956,oT=42959,eL=212,vT=92735,$k="}",Z3="method",lT=11498,xl=247,ie="empty",ci=16777215,pT=161,kT=42887,ua=116,si="type_identifier_reference",Hk=126634,mT=68029,tL="regexp",hT=70414,rl=121,ai="template_literal_element",dT=8449,yT=126562,yo=12287,gT=-45,Qk=64297,Zk=126523,_T=43301,zt=111,bT=126498,wT=43776,nL="EEXIST",TT=119892,ET=43807,uL=4096,go=252,ks=255,ST=68295,oi="variable_declarator_pattern",vi="do_while",x8="catch",AT=66962,IT=120654,ms=125,li="label_identifier",jT=11263,PT=8525,pi="assignment",NT=191456,OT=43273,iL="%u",CT=65381,DT=110927,RT=65479,FT=120538,_o="await",LT=71487,MT="jsError",UT=110588,qT=120084,BT=42890,Tv=224,ki="object_key",XT=43696,JT=73647,KT=43761,YT=12295,zT=64967,r8=11647,fL=191,Vt=123,VT="generator",GT=123583,mi="for_of_statement",hi="enum_bigint_body",WT=110959,$T=92995,HT=120686,QT="b",ZT=119969,e8=126522,t8=64318,xE=71839,n8=126602,rE=65908,el=65536,cL=231,sL=-602162310,aL="comment_bounds",rt="-",oL=-55,di="pattern_object_property",eE=43493,tE=69505,nE=8471,uE=187,u8=120745,yi="enum_member_identifier",iE=71959,fE=66863,cE=65594,i8=253,f8='"',c8=70286,gi="jsx_attribute_value_literal",sE=68447,vL="the",aE="index out of bounds",_i="declare_export_declaration",bi="jsx_attribute",wi="class_extends",r2=122,z2=106,Ti="binding_pattern",oE=113807,vE=93951,Ev=119,lE="types",pE=8335,Ei="statement_fork_point",Sv="_",kE=65500,Si="function_type",mE=68220,Ai="statement_list",Av=-835925911,hE=123535,lL=258,s8=43815,pL=199,a8=120571,dE=67514,kL=274,mL="Property",o8=72713,hL="Unexpected ",v8=169,dL=", characters ",l8=43867,yE=42537,Ii="component_declaration",yL=" : is a directory",ji="object_key_number_literal",Yr=127,t1=-36,tl=912068366,nl="delete",ia=114,gE=120076,Pi="regexp_literal",_E=65370,bE=65481,l2="value",wE=68405,Iv="operator",ul="const",gL=283,Ni=109,p8="any",TE=69958,EE=70831,SE=73111,AE=72767,IE="Identifier",Oi="jsx_opening_attribute",Ci="conditional_type",jE="loc",PE=67071,k8=120004,NE=43492,OE=70005,_L=188,m8=72272,CE=11389,bL=251,DE=73055,h8=70280,d8=1114111,RE=66421,wL="Stack_overflow",FE=70301,LE=19903,fa="0x",ME=69967,UE=12447,y8=66512,TL=`Fatal error: exception %s +`,il=1e3,qE=69295,g8=120093,EL=">=",SL=149,_8=64325,Di="class_identifier",BE=119967,XE=68415,AL="end",Ri="enum_boolean_body",Fi="member_private_name",Li="super_expression",JE=71955,KE=126514,b8=67593,YE=66939,zE=12591,w8=126538,VE=110590,Mi="component_renders_annotation",GE=72703,WE=72105,T8=65598,$E=73727,E8=126504,S8=126551,HE=70143,fl="from",Ui="class_property",qi="enum_number_body",QE=42559,ZE=93759,xS=66994,Gt="right",IL=225,rS=67702,eS=65473,tS=43697,A8=70855,nS=119993,uS=72103,iS=178205,Bi="call_type_args",fS=66511,Xi="export_batch_specifier",Ji="component_type_param",Wt=782176664,bo="get",cl="local",jL=228,Ki="object_mapped_type_property",Yi="class_decorator",PL=220,zi="enum_body",NL="<<=",Vi="declare_namespace",cS=71956,sS=69839,jv="super",aS=173791,oS=71942,V2="expression",vS=72440,Pv=254,lS=70412,OL="renders?",Gi="try_catch",CL=32752,Wi="declare_module_exports",pS=12320,DL=134,kS=94175,sl="enum",RL=196,$i="import_source",mS=43814,hS=120069,Hi="while_",I8=126537,dS=43262,Qi="function_rest_param_type",yS=66378,j8=119996,Zi="declare_component",gS=73097,_S=70783,bS=43503,wS=131071,TS=11492,ES=92766,FL=173,SS=113770,AS=73029,IS=66978,xf="tagged_template",rf="jsx_element_name",ef="for_init_declaration",jS=123213,tf="object_indexer_property_type",nf="object_spread_property_type",P8=72970,N8=70854,PS=110930,al="var",LL=217,NS=119972,OS=69622,CS=63743,DS=42237,RS=870530776,O8="returnType",ML=56320,Nv="computed",FS=42735,uf="arg_list",LS=67461,ff="export_named_declaration",MS=72817,US=73439,qS=43782,BS=66775,XS=70655,C8="bool",JS=65140,KS=75075,YS=126651,zS=71947,VS=42961,GS=12735,WS=78894,$S=64262,UL=237,W1="interface",qL="Match_failure",HS=42962,QS=69748,BL="leadingComments",cf="this_expression",ol=461894857,D8=12592,XL=8204,wo="hook",ZS=119807,xA=66348,sf="declare_variable",rA=8348,af="optional_member",of=120,vf="arrow_function",eA=72768,tA=70851,lf="array",nA=43249,R8=126468,uA=177983,iA="compare: functional value",fA=126550,cA=64847,pf="binding_type_identifier",sA=120132,kf="function_params",aA=93071,vl=1024,oA=42783,JL=1039100673,KL="@{",vA=12352,lA=42653,pA=120628,mf="declare_function",hf="for_in_statement_lhs",kA=72271,mA=69807,hA=67826,df="syntax_opt",yf="object_key_bigint_literal",YL=243,dA=94032,zL="Undefined_recursive_module",VL=-1053382366,yA=72242,gf="variance_opt",gA=101631,_A="arguments",bA=72161,wA=8511,F8="unknown",TA=43560,GL="the end of an expression statement (`;`)",WL=1026,EA=12543,SA=11670,$L="?",AA=69247,L8=11631,HL=272,M8="line",IA=72202,_f="pattern_object_rest_property",bf=" ",jA=43487,Ov=115,PA=-673950933,wf="intersection_type",NA=120144,ll="is",OA=178207,CA=100343,QL="||=",ZL="f",U8=8455,S1=102,Tf="pattern_object_property_number_literal_key",DA=70418,RA=8543,xM="Internal Error: Found private field in object props",q8=126540,B8=119995,To=8287,Ef="indexed_access_type",Sf="export_named_specifier",rM=224,FA=124926,LA=-103,eM=167,X8=65344,J8=126530,MA=113788,UA=67505,qA="property",BA=43014,Se="return",hs=-85,XA=126601,tM=214,nM="children",Af="type_alias",K8=43259,JA=126583,KA=71958,YA=65613,zA=67431,Y8=126535,VA=69599,If="type_params",jf="object_key_computed",GA=124910,L1="variance",z8=11727,WA=66954,$A=126463,Pf="catch_body",HA=69445,Nf="type_param",Of="component_type_params",QA=124902,V8=120687,uM="collect_comments_opt",ZA=15,xI=120485,rI=70416,eI=125259,Cf="jsx_namespaced_name",tI=43712,nI=72712,iM="~",G8=12448,Df="jsx_member_expression_object",W8=126499,$8=-97,Rf="pattern_object_property_identifier_key",fM=219,Ff="component_body",Lf="opaque_type",Mf=".",uI=43009,iI="consequent",cM="SpreadElement",P2="body",fI=178,sM=202,Uf="jsx_opening_element",qf="declare_module",H8=67638,cI=8477,Bf="object_type_property",sI=110882,Xf="function_body",aI=94111,aM="module",oM="alternate",oI=67839,Eo=8191,vI=43881,vM=": closedir failed",ca="kind",Jf="tuple_labeled_element",So=-46,lI=67640,Kf="declare_type_alias",Q8=70750,pI=77808,pl="column",Yf="jsx_closing_element",kI=66977,mI="\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0",hI=65786,zf="function_expression",_t=104,Z8=11719,dI=11505,yI="mkdir",gI=70319,lM="Invalid_argument",_I=43738,bI=113817,Vf="bigint_literal",wI=70084,pM=278,TI=126566,xm="do",rm=42622,Gf="computed_key",Wf="pattern_object_property_computed_key",kM="fd ",em=126571,EI=126619,mM=140,sa="prototype",hM=208,SI=67004,kl=130,dM=242,yM=">>>=",AI=68863,II=11726,bt="raw",jI=64466,$f=107,PI=67679,Hf="enum_string_body",NI=244,gM="unreachable jsxtext",_M="*",OI=66335,CI=126570,bM=229,DI=" : file already exists",tm=184,RI=67807,FI=70753,Qf="boolean_literal",LI=65437,MI=70451,UI=67002,Cv=124,Zf="conditional",nm=43260,wM="Sys_error",qI=123135,ml="meta",BI=64109,xc="pattern_array_rest_element",XI=43255,um=67644,rc="pattern_object_rest_property_pattern",ec="sequence",JI=65855,KI=110951,YI=67643,tc="predicate_expression",Ae="static",zI=120512,VI="declaration",im=64317,GI=68437,fm=126558,nc="meta_property",WI=11564,uc="declare_enum",$t="pattern",$I=216,HI=68191,cm="undefined",sm=8319,am=120133,hl=132,QI=42239,TM=-99,ZI=124927,xj=120092,rj=43137,ic="component_rest_param",EM="expected *",ej=125251,SM="%li",tj=55242,nj=12294,fc="enum_number_member",aa="in",AM="\\\\",Ao=":",uj=68115,IM="Cygwin",ij=77823,fj=65615,om=70162,jM="/static/",cj=11519,sj=72966,aj=12686,oj=165,vj=183,dl=129,vm=72192,lj=42964,lm="try",pm=120655,pj=11702,PM="expressions",kj=2048,cc="class_body",mj=55238,NM=240,hj=66915,dj=43311,yj=43018,OM=235,gj=73648,CM="([^/]+)",_j=125258,bj=64829,wj=68735,DM="++",RM=163,FM="qualification",LM=57343,MM=931,sc="default_opt",Tj=71235,UM=8472,Ej=71934,qM=205,BM=218,XM="callee",Sj=43711,Aj=64284,Ij=43754,jj=43790,JM="%Li",ac="pattern_array_rest_element_pattern",km="decorators",Pj=8304,oc="statement",mm=73062,vc="jsx_children",Nj=70492,Oj=64255,Cj=11630,Dj=1255,hm=67592,dm=43519,ym=64311,gm=12539,Rj="proto",_m=120513,Fj=68031,Io="source",yl="a",Lj=93047,Mj=92927,Uj=126588,qj=73458,Bj=67742,Xj=43714,KM=288,YM=236,Jj=-253313196,gl="label",zM="@[<2>{ ",bm=126539,wm=126552,Kj=120487,VM=268,GM="Out_of_memory",Yj=605857695,zj=94026,WM=267,Tm=126496,oa="async",$M=203,Em=126560,Vj=68287,lc="unary_expression",Gj=-26065557,Wj=110587,Sm=120771,$j=69762,Hj=126502,Dv="set",pc="object_",kc="template_literal",Qj=43258,mc="nullable_type",ds="int_of_string",HM="^=",Ie="predicate",Rv="string",Am=8450,QM="camlinternalMod.ml",Zj=70285,ys="+",xP=110575,ZM=198,hc="extends",xU=-692038429,Im=67827,rU=210,eU=227,jm="explicitType",Pm=70452,rP=70497,Fv=63,_l="private",eP=64296,tP=67591,nP=92909,tU="T_JSX_TEXT",uP="Fatal error: exception ",iP=120137,Nm=68120,dc="pattern_array_e",fP=119964,cP=92862,sP=66461,nU="&&=",uU=174,n1=8231,yc="null_literal",iU="/=",aP=66811,Om=70108,oP=67504,vP=11686,lP=67001,pP=" : flags Open_text and Open_binary are not compatible",kP=43741,mP=66204,G2=8233,gc="type_annotation_hint",hP=123197,_c="object_property",fU="${",Cm=70480,cU="&&",bc="type_cast",Lv="%d",Dm=8484,sU=207,dP=70066,yP=68324,Rm=120713,aU=135,Fm=126556,$1="0",M1="yield",Lm=126591,et=100,gP=69551,wc="jsx_element_name_namespaced",oU=232,Tc="object_key_string_literal",Ec="function_this_param_type",Sc="pattern_object_property_pattern",je="throw",Pe="switch",vU=2048,Mm=119970,Ac="toplevel_statement_list",Mv=250,_P=12438,Ic="class_implements",jc="variable_declarator",bP=43713,Um=68096,wP=70457,TP=12538,EP=11734,lU="-=",pU=234,Pc="component_param_name",SP=43123,Nc="class_",kU="|",AP=200,IP=43518,jP=8483,Oc="jsx_attribute_name_identifier",PP=181;function tY(x,r,e,t,u){if(t<=r)for(var i=1;i<=u;i++)e[t+i]=x[r+i];else for(var i=u;i>=1;i--)e[t+i]=x[r+i];return 0}function nY(x){for(var r=[0];x!==0;){for(var e=x[1],t=1;t=e.l||e.t==2&&u>=e.c.length))e.c=x.t==4?qm(x.c,r,u):r==0&&x.c.length==u?x.c:x.c.substr(r,u),e.t=e.c.length==e.l?0:2;else if(e.t==2&&t==e.c.length)e.c+=x.t==4?qm(x.c,r,u):r==0&&x.c.length==u?x.c:x.c.substr(r,u),e.t=e.c.length==e.l?0:2;else{e.t!=4&&Bm(e);var i=x.c,c=e.c;if(x.t==4)if(t<=r)for(var v=0;v=0;v--)c[t+v]=i[r+v];else{for(var a=Math.min(u,i.length-r),v=0;v>=1,x==0)return e;r+=r,t++,t==9&&r.slice(0,1)}}function Xm(x){x.t==2?x.c+=Uv(x.l-x.c.length,"\0"):x.c=qm(x.c,0,x.c.length),x.t=0}function NP(x){if(x.length<24){for(var r=0;rYr)return!1;return!0}else return!/[^\x00-\x7f]/.test(x)}function mU(x){for(var r=H0,e=H0,t,u,i,c,v=0,a=x.length;vg_?(e.substr(0,1),r+=e,e=H0,r+=x.slice(v,p)):e+=x.slice(v,p),p==a)break;v=p}c=1,++v=55295&&c<57344)&&(c=2)):(c=3,++v1114111)&&(c=3)))))),c<4?(v-=c,e+="\uFFFD"):c>qt?e+=String.fromCharCode(55232+(c>>10),ML+(c&1023)):e+=String.fromCharCode(c),e.length>vl&&(e.substr(0,1),r+=e,e=H0)}return r+e}function _s(x,r,e){this.t=x,this.c=r,this.l=e}_s.prototype.toString=function(){switch(this.t){case 9:return this.c;default:Xm(this);case 0:if(NP(this.c))return this.t=9,this.c;this.t=8;case 8:return this.c}},_s.prototype.toUtf16=function(){var x=this.toString();return this.t==9?x:mU(x)},_s.prototype.slice=function(){var x=this.t==4?this.c.slice():this.c;return new _s(this.t,x,this.l)};function hU(x){return new _s(0,x,x.length)}function bj0(x){return x}function Cc(x){return hU(x)}function Dc(x,r,e,t,u){return gs(Cc(x),r,e,t,u),0}function dU(x){var r=a0.process;if(r&&r.env&&r.env[x]!=null)return r.env[x];if(a0.jsoo_static_env&&a0.jsoo_static_env[x])return a0.jsoo_static_env[x]}var OP=0;(function(){var x=dU("OCAMLRUNPARAM");if(x!==void 0)for(var r=x.split(JD),e=0;e>>0>=x.l&&cY(),Vr(x,r,e)}function fe(x,r){switch(x.t&6){default:if(r>=x.c.length)return 0;case 0:return x.c.charCodeAt(r);case 4:return x.c[r]}}function bs(x,r){var e=x.l>=0?x.l:x.l=x.length,t=r.length,u=e-t;if(u==0)return x.apply(null,r);if(u<0){var i=x.apply(null,r.slice(0,e));return typeof i!="function"?i:bs(i,r.slice(e))}else{switch(u){case 1:{var i=function(a){for(var p=new Array(t+1),_=0;_>>0>=x.length-1&&bl(),x}function sY(x){return isFinite(x)?Math.abs(x)>=22250738585072014e-324?0:x!=0?1:2:isNaN(x)?4:3}function aY(x){return 0}var oY=Math.log2&&Math.log2(11235582092889474e291)==1020;function vY(x){if(oY)return Math.floor(Math.log2(x));var r=0;if(x==0)return-1/0;if(x>=1)for(;x>=2;)x/=2,r++;else for(;x<1;)x*=2,r--;return r}function DP(x){var r=new Float32Array(1);r[0]=x;var e=new Int32Array(r.buffer);return e[0]|0}var yU=Math.pow(2,-24);function gU(x){throw x}function _U(){gU(U1.Division_by_zero)}function ir(x,r,e){this.lo=x&ci,this.mi=r&ci,this.hi=e&qt}ir.prototype.caml_custom="_j",ir.prototype.copy=function(){return new ir(this.lo,this.mi,this.hi)},ir.prototype.ucompare=function(x){return this.hi>x.hi?1:this.hix.mi?1:this.mix.lo?1:this.loe?1:rx.mi?1:this.mix.lo?1:this.lo>24),e=-this.hi+(r>>24);return new ir(x,r,e)},ir.prototype.add=function(x){var r=this.lo+x.lo,e=this.mi+x.mi+(r>>24),t=this.hi+x.hi+(e>>24);return new ir(r,e,t)},ir.prototype.sub=function(x){var r=this.lo-x.lo,e=this.mi-x.mi+(r>>24),t=this.hi-x.hi+(e>>24);return new ir(r,e,t)},ir.prototype.mul=function(x){var r=this.lo*x.lo,e=(r*yU|0)+this.mi*x.lo+this.lo*x.mi,t=(e*yU|0)+this.hi*x.lo+this.mi*x.mi+this.lo*x.hi;return new ir(r,e,t)},ir.prototype.isZero=function(){return(this.lo|this.mi|this.hi)==0},ir.prototype.isNeg=function(){return this.hi<<16<0},ir.prototype.and=function(x){return new ir(this.lo&x.lo,this.mi&x.mi,this.hi&x.hi)},ir.prototype.or=function(x){return new ir(this.lo|x.lo,this.mi|x.mi,this.hi|x.hi)},ir.prototype.xor=function(x){return new ir(this.lo^x.lo,this.mi^x.mi,this.hi^x.hi)},ir.prototype.shift_left=function(x){return x=x&63,x==0?this:x<24?new ir(this.lo<>24-x,this.hi<>24-x):x<48?new ir(0,this.lo<>48-x):new ir(0,0,this.lo<>x|this.mi<<24-x,this.mi>>x|this.hi<<24-x,this.hi>>x):x<48?new ir(this.mi>>x-24|this.hi<<48-x,this.hi>>x-24,0):new ir(this.hi>>x-48,0,0)},ir.prototype.shift_right=function(x){if(x=x&63,x==0)return this;var r=this.hi<<16>>16;if(x<24)return new ir(this.lo>>x|this.mi<<24-x,this.mi>>x|r<<24-x,this.hi<<16>>x>>>16);var e=this.hi<<16>>31;return x<48?new ir(this.mi>>x-24|this.hi<<48-x,this.hi<<16>>x-24>>16,e&qt):new ir(this.hi<<16>>x-32,e,e)},ir.prototype.lsl1=function(){this.hi=this.hi<<1|this.mi>>23,this.mi=(this.mi<<1|this.lo>>23)&ci,this.lo=this.lo<<1&ci},ir.prototype.lsr1=function(){this.lo=(this.lo>>>1|this.mi<<23)&ci,this.mi=(this.mi>>>1|this.hi<<23)&ci,this.hi=this.hi>>>1},ir.prototype.udivmod=function(x){for(var r=0,e=this.copy(),t=x.copy(),u=new ir(0,0,0);e.ucompare(t)>0;)r++,t.lsl1();for(;r>=0;)r--,u.lsl1(),e.ucompare(t)>=0&&(u.lo++,e=e.sub(t)),t.lsr1();return{quotient:u,modulus:e}},ir.prototype.div=function(x){var r=this;x.isZero()&&_U();var e=r.hi^x.hi;r.hi&Yt&&(r=r.neg()),x.hi&Yt&&(x=x.neg());var t=r.udivmod(x).quotient;return e&Yt&&(t=t.neg()),t},ir.prototype.mod=function(x){var r=this;x.isZero()&&_U();var e=r.hi;r.hi&Yt&&(r=r.neg()),x.hi&Yt&&(x=x.neg());var t=r.udivmod(x).modulus;return e&Yt&&(t=t.neg()),t},ir.prototype.toInt=function(){return this.lo|this.mi<<24},ir.prototype.toFloat=function(){return(this.hi<<16)*Math.pow(2,32)+this.mi*Math.pow(2,24)+this.lo},ir.prototype.toArray=function(){return[this.hi>>8,this.hi&ks,this.mi>>16,this.mi>>8&ks,this.mi&ks,this.lo>>16,this.lo>>8&ks,this.lo&ks]},ir.prototype.lo32=function(){return this.lo|(this.mi&ks)<<24},ir.prototype.hi32=function(){return this.mi>>>8&qt|this.hi<<16};function Jm(x,r,e){return new ir(x,r,e)}function Km(x){if(!isFinite(x))return isNaN(x)?Jm(1,0,CL):x>0?Jm(0,0,CL):Jm(0,0,65520);var r=x==0&&1/x==-1/0?Yt:x>=0?0:Yt;r&&(x=-x);var e=vY(x)+1023;e<=0?(e=0,x/=Math.pow(2,-WL)):(x/=Math.pow(2,e-QD),x<16&&(x*=2,e-=1),e==0&&(x/=2));var t=Math.pow(2,24),u=x|0;x=(x-u)*t;var i=x|0;x=(x-i)*t;var c=x|0;return u=u&ZA|r|e<<4,Jm(c,i,u)}function wl(x){return x.toArray()}function bU(x,r,e){if(x.write(32,r.dims.length),x.write(32,r.kind|r.layout<<8),r.caml_custom==s4)for(var t=0;t>4;if(u==fF)return r|e|t&ZA?NaN:t&Yt?-1/0:1/0;var i=Math.pow(2,-24),c=(r*i+e)*i+(t&ZA);return u>0?(c+=16,c*=Math.pow(2,u-QD)):c*=Math.pow(2,-WL),t&Yt&&(c=-c),c}function LP(x){for(var r=x.length,e=1,t=0;t>>24&ks|(r&qt)<<8,r>>>16&qt)}function MP(x){return x.hi32()}function UP(x){return x.lo32()}var kY=s4;function va(x,r,e,t){this.kind=x,this.layout=r,this.dims=e,this.data=t}va.prototype.caml_custom=kY,va.prototype.offset=function(x){var r=0;if(typeof x=="number"&&(x=[x]),x instanceof Array||W2("bigarray.js: invalid offset"),this.dims.length!=x.length&&W2("Bigarray.get/set: bad number of dimensions"),this.layout==0)for(var e=0;e=this.dims[e])&&bl(),r=r*this.dims[e]+x[e];else for(var e=this.dims.length-1;e>=0;e--)(x[e]<1||x[e]>this.dims[e])&&bl(),r=r*this.dims[e]+(x[e]-1);return r},va.prototype.get=function(x){switch(this.kind){case 7:var r=this.data[x*2+0],e=this.data[x*2+1];return pY(r,e);case 10:case 11:var t=this.data[x*2+0],u=this.data[x*2+1];return[Pv,t,u];default:return this.data[x]}},va.prototype.set=function(x,r){switch(this.kind){case 7:this.data[x*2+0]=UP(r),this.data[x*2+1]=MP(r);break;case 10:case 11:this.data[x*2+0]=r[1],this.data[x*2+1]=r[2];break;default:this.data[x]=r;break}return 0},va.prototype.fill=function(x){switch(this.kind){case 7:var r=UP(x),e=MP(x);if(r==e)this.data.fill(r);else for(var t=0;tc)return 1;if(i!=c){if(!r)return NaN;if(i==i)return 1;if(c==c)return-1}}break;case 7:for(var u=0;ux.data[u+1])return 1;if(this.data[u]>>>0>>0)return-1;if(this.data[u]>>>0>x.data[u]>>>0)return 1}break;case 2:case 3:case 4:case 5:case 6:case 8:case 9:case 12:for(var u=0;ux.data[u])return 1}break}return 0};function Bv(x,r,e,t){this.kind=x,this.layout=r,this.dims=e,this.data=t}Bv.prototype=new va,Bv.prototype.offset=function(x){return typeof x!="number"&&(x instanceof Array&&x.length==1?x=x[0]:W2("Ml_Bigarray_c_1_1.offset")),(x<0||x>=this.dims[0])&&bl(),x},Bv.prototype.get=function(x){return this.data[x]},Bv.prototype.set=function(x,r){return this.data[x]=r,0},Bv.prototype.fill=function(x){return this.data.fill(x),0};function TU(x,r,e,t){var u=wU(x);return LP(e)*u!=t.length&&W2("length doesn't match dims"),r==0&&e.length==1&&u==1?new Bv(x,r,e,t):new va(x,r,e,t)}function q1(x){U1.Failure||(U1.Failure=[x2,r_,-3]),CP(U1.Failure,x)}function EU(x,r,e){var t=x.read32s();(t<0||t>16)&&q1("input_value: wrong number of bigarray dimensions");var u=x.read32s(),i=u&ks,c=u>>8&1,v=[];if(e==s4)for(var a=0;a>>17,r=AU(r,461845907),x^=r,x=x<<13|x>>>19,(x+(x<<2)|0)+-430675100|0}function mY(x,r){return x=ws(x,UP(r)),x=ws(x,MP(r)),x}function IU(x,r){return mY(x,Km(r))}function jU(x){var r=LP(x.dims),e=0;switch(x.kind){case 2:case 3:case 12:r>gv&&(r=gv);var t=0,u=0;for(u=0;u+4<=x.data.length;u+=4)t=x.data[u+0]|x.data[u+1]<<8|x.data[u+2]<<16|x.data[u+3]<<24,e=ws(e,t);switch(t=0,r&3){case 3:t=x.data[u+2]<<16;case 2:t|=x.data[u+1]<<8;case 1:t|=x.data[u+0],e=ws(e,t)}break;case 4:case 5:r>y2&&(r=y2);var t=0,u=0;for(u=0;u+2<=x.data.length;u+=2)t=x.data[u+0]|x.data[u+1]<<16,e=ws(e,t);r&1&&(e=ws(e,x.data[u]));break;case 6:r>64&&(r=64);for(var u=0;u64&&(r=64);for(var u=0;u32&&(r=32),r*=2;for(var u=0;u64&&(r=64);for(var u=0;u32&&(r=32);for(var u=0;u0?u(r,x,t):u(x,r,t);if(t&&i!=i)return e;if(+i!=+i)return+i;if(i|0)return i|0}return e}function BP(x){return typeof x=="string"&&!/[^\x00-\xff]/.test(x)}function XP(x){return x instanceof _s}function OU(x){if(typeof x=="number")return il;if(XP(x))return go;if(BP(x))return 1252;if(x instanceof Array&&x[0]===x[0]>>>0&&x[0]<=m4){var r=x[0]|0;return r==Pv?0:r}else{if(x instanceof String)return oR;if(typeof x=="string")return oR;if(x instanceof Number)return il;if(x&&x.caml_custom)return Dj;if(x&&x.compare)return 1256;if(typeof x=="function")return 1247;if(typeof x=="symbol")return 1251}return 1001}function wt(x,r){return xr?1:0}function wY(x,r){return x.t&6&&Xm(x),r.t&6&&Xm(r),x.cr.c?1:0}function Ym(x,r,e){for(var t=[];;){if(!(e&&x===r)){var u=OU(x);if(u==Mv){x=x[1];continue}var i=OU(r);if(i==Mv){r=r[1];continue}if(u!==i)return u==il?i==Dj?NU(x,r,-1,e):-1:i==il?u==Dj?NU(r,x,1,e):1:ur)return 1;if(x!=r){if(!e)return NaN;if(x==x)return 1;if(r==r)return-1}break;case 1001:if(xr)return 1;if(x!=r){if(!e)return NaN;if(x==x)return 1;if(r==r)return-1}break;case 1251:if(x!==r)return e?1:NaN;break;case 1252:var x=x,r=r;if(x!==r){if(xr)return 1}break;case 12520:var x=x.toString(),r=r.toString();if(x!==r){if(xr)return 1}break;case 246:case 254:default:if(aY(u)){W2("compare: continuation value");break}if(x.length!=r.length)return x.length1&&t.push(x,r,1);break}}if(t.length==0)return 0;var a=t.pop();r=t.pop(),x=t.pop(),a+10)if(r==0&&(e>=x.l||x.t==2&&e>=x.c.length))t==0?(x.c=H0,x.t=2):(x.c=Uv(e,String.fromCharCode(t)),x.t=e==x.l?0:2);else for(x.t!=4&&Bm(x),e+=r;r0&&r===r||(x=x.replace(/_/g,H0),r=+x,x.length>0&&r===r||/^[+-]?nan$/i.test(x)))return r;var e=/^ *([+-]?)0x([0-9a-f]+)\.?([0-9a-f]*)(p([+-]?[0-9]+))?/i.exec(x);if(e){var t=e[3].replace(/0+$/,H0),u=parseInt(e[1]+e[2]+t,16),i=(e[5]|0)-4*t.length;return r=u*Math.pow(2,i),r}if(/^\+?inf(inity)?$/i.test(x))return 1/0;if(/^-inf(inity)?$/i.test(x))return-1/0;q1("float_of_string")}function KP(x){x=x;var r=x.length;r>31&&W2("format_int: format too long");for(var e={justify:ys,signstyle:rt,filler:bf,alternate:!1,base:0,signedconv:!1,width:0,uppercase:!1,sign:1,prec:-1,conv:ZL},t=0;t=0&&u<=9;)e.width=e.width*10+u,t++;t--;break;case".":for(e.prec=0,t++;u=x.charCodeAt(t)-48,u>=0&&u<=9;)e.prec=e.prec*10+u,t++;t--;case"d":case"i":e.signedconv=!0;case"u":e.base=10;break;case"x":e.base=16;break;case"X":e.base=16,e.uppercase=!0;break;case"o":e.base=8;break;case"e":case"f":case"g":e.signedconv=!0,e.conv=u;break;case"E":case"F":case"G":e.signedconv=!0,e.uppercase=!0,e.conv=u.toLowerCase();break}}return e}function YP(x,r){x.uppercase&&(r=r.toUpperCase());var e=r.length;x.signedconv&&(x.sign<0||x.signstyle!=rt)&&e++,x.alternate&&(x.base==8&&(e+=1),x.base==16&&(e+=2));var t=H0;if(x.justify==ys&&x.filler==bf)for(var u=e;u20?(S-=20,_/=Math.pow(10,S),_+=new Array(S+1).join($1),y>0&&(_=_+Mf+new Array(y+1).join($1)),_):_.toFixed(y)}var t,u=KP(x),i=u.prec<0?6:u.prec;if((r<0||r==0&&1/r==-1/0)&&(u.sign=-1,r=-r),isNaN(r))t=Jy,u.filler=bf;else if(!isFinite(r))t="inf",u.filler=bf;else switch(u.conv){case"e":var t=r.toExponential(i),c=t.length;t.charAt(c-3)==g9&&(t=t.slice(0,c-1)+$1+t.slice(c-1));break;case"f":t=e(r,i);break;case"g":i=i||1,t=r.toExponential(i-1);var v=t.indexOf(g9),a=+t.slice(v+1);if(a<-4||r>=1e21||r.toFixed(0).length>i){for(var c=v-1;t.charAt(c)==$1;)c--;t.charAt(c)==Mf&&c--,t=t.slice(0,c+1)+t.slice(v),c=t.length,t.charAt(c-3)==g9&&(t=t.slice(0,c-1)+$1+t.slice(c-1));break}else{var p=i;if(a<0)p-=a+1,t=r.toFixed(p);else for(;t=r.toFixed(p),t.length>i+1;)p--;if(p){for(var c=t.length-1;t.charAt(c)==$1;)c--;t.charAt(c)==Mf&&c--,t=t.slice(0,c+1)}}break}return YP(u,t)}function zm(x,r){if(x==Lv)return H0+r;var e=KP(x);r<0&&(e.signedconv?(e.sign=-1,r=-r):r>>>=0);var t=r.toString(e.base);if(e.prec>=0){e.filler=bf;var u=e.prec-t.length;u>0&&(t=Uv(u,$1)+t)}return YP(e,t)}var DU=0;function Ts(){return DU++}function RU(){return[0]}var Vm=[];function Wx(x,r,e){var t=x[1],u=Vm[e];if(u===void 0)for(var i=Vm.length;i>1|1,rg_?(e.substr(0,1),r+=e,e=H0,r+=x.slice(i,v)):e+=x.slice(i,v),v==c)break;i=v}t>6),e+=String.fromCharCode(Xt|t&Fv)):t<55296||t>=LM?e+=String.fromCharCode(rM|t>>12,Xt|t>>6&Fv,Xt|t&Fv):t>=56319||i+1==c||(u=x.charCodeAt(i+1))LM?e+="\xEF\xBF\xBD":(i++,t=(t<<10)+u-56613888,e+=String.fromCharCode(NM|t>>18,Xt|t>>12&Fv,Xt|t>>6&Fv,Xt|t&Fv)),e.length>vl&&(e.substr(0,1),r+=e,e=H0)}return r+e}function Tt(x){return NP(x)?x:SY(x)}function AY(x,r,e){if(!isFinite(x))return isNaN(x)?Tt(Jy):Tt(x>0?AF:"-infinity");var t=x==0&&1/x==-1/0?1:x>=0?0:1;t&&(x=-x);var u=0;if(x!=0)if(x<1)for(;x<1&&u>-1022;)x*=2,u--;else for(;x>=2;)x/=2,u++;var i=u<0?H0:ys,c=H0;if(t)c=rt;else switch(e){case 43:c=ys;break;case 32:c=bf;break;default:break}if(r>=0&&r<13){var v=Math.pow(2,r*4);x=Math.round(x*v)/v}var a=x.toString(16);if(r>=0){var p=a.indexOf(Mf);if(p<0)a+=Mf+Uv(r,$1);else{var _=p+1+r;a.length<_?a+=Uv(_-a.length,$1):a=a.substr(0,_)}}return Tt(c+fa+a+"p"+i+u.toString(10))}function IY(x){return+x.isZero()}function Gm(x){return new ir(x&ci,x>>24&ci,x>>31&qt)}function jY(x){return x.toInt()}function PY(x){return+x.isNeg()}function VP(x){return x.neg()}function FU(x,r){var e=KP(x);e.signedconv&&PY(r)&&(e.sign=-1,r=VP(r));var t=H0,u=Gm(e.base),i="0123456789abcdef";do{var c=r.udivmod(u);r=c.quotient,t=i.charAt(jY(c.modulus))+t}while(!IY(r));if(e.prec>=0){e.filler=bf;var v=e.prec-t.length;v>0&&(t=Uv(v,$1)+t)}return YP(e,t)}function Nx(x){return x.length}function F0(x,r){return x.charCodeAt(r)}function NY(x,r){return x.add(r)}function OY(x,r){return x.mul(r)}function GP(x,r){return x.ucompare(r)<0}function LU(x){var r=0,e=Nx(x),t=10,u=1;if(e>0)switch(F0(x,r)){case 45:r++,u=-1;break;case 43:r++,u=1;break}if(r+1=48&&x<=57?x-48:x>=65&&x<=90?x-55:x>=97&&x<=r2?x-87:-1}function El(x){var r=LU(x),e=r[0],t=r[1],u=r[2],i=Gm(u),c=new ir(ci,268435455,qt).udivmod(i).quotient,v=F0(x,e),a=Wm(v);(a<0||a>=u)&&q1(ds);for(var p=Gm(a);;)if(e++,v=F0(x,e),v!=95){if(a=Wm(v),a<0||a>=u)break;GP(c,p)&&q1(ds),a=Gm(a),p=NY(OY(i,p),a),GP(p,a)&&q1(ds)}return e!=Nx(x)&&q1(ds),u==10&&GP(new ir(0,0,Yt),p)&&q1(ds),t<0&&(p=VP(p)),p}function $m(x){return x.toFloat()}function tt(x){var r=LU(x),e=r[0],t=r[1],u=r[2],i=Nx(x),c=-1>>>0,v=e=u)&&q1(ds);var p=a;for(e++;e=u)break;p=u*p+a,p>c&&q1(ds)}return e!=i&&q1(ds),p=t*p,u==10&&(p|0)!=p&&q1(ds),p|0}function CY(x){return x.slice(1)}function Qx(x){return NP(x)?x:mU(x)}function DY(x){for(var r={},e=1;e=0?x.l:x.l=x.length}function FY(x){return function(){for(var r=RY(x),e=new Array(r),t=0;t1&&t.pop();break;case".":break;case"":break;default:t.push(e[u]);break}return t.unshift(r[0]),t.orig=x,t}var XY=["E2BIG","EACCES","EAGAIN",Bb,"EBUSY","ECHILD","EDEADLK","EDOM",nL,"EFAULT","EFBIG","EINTR","EINVAL","EIO","EISDIR","EMFILE","EMLINK","ENAMETOOLONG","ENFILE","ENODEV",$w,"ENOEXEC","ENOLCK","ENOMEM","ENOSPC","ENOSYS",v9,GD,"ENOTTY","ENXIO","EPERM","EPIPE","ERANGE","EROFS","ESPIPE","ESRCH","EXDEV","EWOULDBLOCK","EINPROGRESS","EALREADY","ENOTSOCK","EDESTADDRREQ","EMSGSIZE","EPROTOTYPE","ENOPROTOOPT","EPROTONOSUPPORT","ESOCKTNOSUPPORT","EOPNOTSUPP","EPFNOSUPPORT","EAFNOSUPPORT","EADDRINUSE","EADDRNOTAVAIL","ENETDOWN","ENETUNREACH","ENETRESET","ECONNABORTED","ECONNRESET","ENOBUFS","EISCONN","ENOTCONN","ESHUTDOWN","ETOOMANYREFS","ETIMEDOUT","ECONNREFUSED","EHOSTDOWN","EHOSTUNREACH","ELOOP","EOVERFLOW"];function Ss(x,r,e,t){var u=XY.indexOf(x);u<0&&(t==null&&(t=-9999),u=[0,t]);var i=[u,Tt(r||H0),Tt(e||H0)];return i}var BU={};function la(x){return BU[x]}function As(x,r){throw U0([0,x].concat(r))}function $P(x){return x instanceof Uint8Array||(x=new Uint8Array(x)),new _s(4,x,x.length)}function XU(x){Nr(x+a4)}function H1(x){this.data=x}H1.prototype=new MU,H1.prototype.constructor=H1,H1.prototype.truncate=function(x){var r=this.data;this.data=T2(x|0),gs(r,0,this.data,0,x)},H1.prototype.length=function(){return nt(this.data)},H1.prototype.write=function(x,r,e,t){var u=this.length();if(x+t>=u){var i=T2(x+t),c=this.data;this.data=i,gs(c,0,this.data,0,u)}return gs($P(r),e,this.data,x,t),0},H1.prototype.read=function(x,r,e,t){var u=this.length();if(x+t>=u&&(t=u-x),t){var i=T2(t|0);gs(this.data,x,i,0,t),r.set(UU(i),e)}return t};function jo(x,r,e){this.file=r,this.name=x,this.flags=e}jo.prototype.err_closed=function(){Nr(this.name+nF)},jo.prototype.length=function(){if(this.file)return this.file.length();this.err_closed()},jo.prototype.write=function(x,r,e,t){if(this.file)return this.file.write(x,r,e,t);this.err_closed()},jo.prototype.read=function(x,r,e,t){if(this.file)return this.file.read(x,r,e,t);this.err_closed()},jo.prototype.close=function(){this.file=void 0};function v1(x,r){this.content={},this.root=x,this.lookupFun=r}v1.prototype.nm=function(x){return this.root+x},v1.prototype.create_dir_if_needed=function(x){for(var r=x.split(G1),e=H0,t=0;t0&&e>=0&&e+t<=r.length&&r[e+t-1]==10&&t--;var u=T2(t);return gs($P(r),e,u,0,t),this.log(u.toUtf16()),0}Nr(this.fd+nF)},Il.prototype.read=function(x,r,e,t){Nr(this.fd+": file descriptor is write only")},Il.prototype.close=function(){this.log=void 0};function xh(x,r){return r==null&&(r=Qm.length),Qm[r]=x,r|0}function Ej0(x,r,e){for(var t={};r;){switch(r[1]){case 0:t.rdonly=1;break;case 1:t.wronly=1;break;case 2:t.append=1;break;case 3:t.create=1;break;case 4:t.truncate=1;break;case 5:t.excl=1;break;case 6:t.binary=1;break;case 7:t.text=1;break;case 8:t.nonblock=1;break}r=r[2]}t.rdonly&&t.wronly&&Nr(x+iw),t.text&&t.binary&&Nr(x+pP);var u=JY(x),i=u.device.open(u.rest,t);return xh(i,void 0)}(function(){function x(r,e){return Sl()?UY(r,e):new Il(r,e)}xh(x(0,{rdonly:1,altname:"/dev/stdin",isCharacterDevice:!0}),0),xh(x(1,{buffered:2,wronly:1,isCharacterDevice:!0}),1),xh(x(2,{buffered:2,wronly:1,isCharacterDevice:!0}),2)})();function KY(x){var r=Qm[x];r.flags.wronly&&Nr(kM+x+" is writeonly");var e=null,t={file:r,offset:r.flags.append?r.length():0,fd:x,opened:!0,out:!1,buffer_curr:0,buffer_max:0,buffer:new Uint8Array(el),refill:e};return Es[t.fd]=t,t.fd}function KU(x){var r=Qm[x];r.flags.rdonly&&Nr(kM+x+" is readonly");var e=r.flags.buffered!==void 0?r.flags.buffered:1,t={file:r,offset:r.flags.append?r.length():0,fd:x,opened:!0,out:!0,buffer_curr:0,buffer:new Uint8Array(el),buffered:e};return Es[t.fd]=t,t.fd}function YY(){for(var x=0,r=0;ru.buffer.length){var i=new Uint8Array(u.buffer_curr+r.length);i.set(u.buffer),u.buffer=i}switch(u.buffered){case 0:u.buffer.set(r,u.buffer_curr),u.buffer_curr+=r.length,Rc(x);break;case 1:u.buffer.set(r,u.buffer_curr),u.buffer_curr+=r.length,u.buffer_curr>=u.buffer.length&&Rc(x);break;case 2:var c=r.lastIndexOf(10);c<0?(u.buffer.set(r,u.buffer_curr),u.buffer_curr+=r.length,u.buffer_curr>=u.buffer.length&&Rc(x)):(u.buffer.set(r.subarray(0,c+1),u.buffer_curr),u.buffer_curr+=c+1,Rc(x),u.buffer.set(r.subarray(c+1),u.buffer_curr),u.buffer_curr+=r.length-c-1);break}return 0}function VY(x,u,e,t){var u=UU(u);return zY(x,u,e,t)}function HP(x,r,e,t){return VY(x,Cc(r),e,t)}function YU(x,r){var e=String.fromCharCode(r);return HP(x,e,0,1),0}function jl(x,r){return+(Ym(x,r,!1)!=0)}function QP(x,r){var e=new Array(r+1);e[0]=x;for(var t=1;t<=r;t++)e[t]=0;return e}function GY(x,r){return x[0]=Mv,x[1]=r,0}function Po(x){return x instanceof Array&&x[0]==x[0]>>>0?x[0]:XP(x)||BP(x)?go:x instanceof Function||typeof x=="function"?xl:x&&x.caml_custom?m4:il}function WY(x){for(var r;x;)if(Qx(x[1][1])=="SYJS"){r=x[1][2];break}else x=x[2];var e={};if(r)for(var t=1;t=0?x=u:q1("caml_register_global: cannot locate "+t)}}U1[x+1]=r,e&&(U1[e]=r)}function ZP(x,r){return BU[x]=r,0}function $Y(x){return x[2]=DU++,x}function Sr(x,r){return x===r?1:0}function HY(){W2(aE)}function N2(x,r){return r>>>0>=Nx(x)&&HY(),F0(x,r)}function I(x,r){return 1-Sr(x,r)}function A1(x){return x.t&6&&Xm(x),x.c}function QY(){return 2147483647/4|0}var ZY=a0.process&&a0.process.platform&&a0.process.platform==dF?IM:"Unix";function xz(){return[0,ZY,32,0]}function rz(){gU(U1.Not_found)}function zU(x){var r=dU(Qx(x));return r===void 0&&rz(),Tt(r)}function xN(x){for(var r=1;x&&x.joo_tramp;)x=x.joo_tramp.apply(null,x.joo_args),r++;return x}function l1(x,r){return{joo_tramp:x,joo_args:r}}function m0(x,r){if(r.fun)return x.fun=r.fun,0;if(typeof r=="function")return x.fun=r,0;for(var e=r.length;e--;)x[e]=r[e];return 0}function O2(x){{if(x instanceof Array)return x;var r;return a0.RangeError&&x instanceof a0.RangeError&&x.message&&x.message.match(/maximum call stack/i)||a0.InternalError&&x instanceof a0.InternalError&&x.message&&x.message.match(/too much recursion/i)?r=U1.Stack_overflow:x instanceof a0.Error&&la(MT)?r=[0,la(MT),x]:r=[0,U1.Failure,Tt(String(x))],x instanceof a0.Error&&(r.js_error=x),r}}function ez(x){switch(x[2]){case-8:case-11:case-12:return 1;default:return 0}}function tz(x){var r=H0;if(x[0]==0){if(r+=x[1][1],x.length==3&&x[2][0]==0&&ez(x[1]))var t=x[2],e=1;else var e=2,t=x;r+=LD;for(var u=e;ue&&(r+=qR);var i=t[u];typeof i=="number"?r+=i.toString():i instanceof _s||typeof i=="string"?r+=f8+i.toString()+f8:r+=Sv}r+=Yw}else x[0]==x2&&(r+=x[1]);return r}function VU(x){if(x instanceof Array&&(x[0]==0||x[0]==x2)){var r=la(cR);if(r)Hm(r,[x,!1]);else{var e=tz(x),t=la(QR);if(t&&Hm(t,[0]),console.error(uP+e),x.js_error)throw x.js_error}}else throw x}function nz(){var x=a0.process;x&&x.on?x.on("uncaughtException",function(r,e){VU(r),x.exit(2)}):a0.addEventListener&&a0.addEventListener("error",function(r){r.error&&VU(r.error)})}nz();function l(x,r){return(x.l>=0?x.l:x.l=x.length)==1?x(r):bs(x,[r])}function k(x,r,e){return(x.l>=0?x.l:x.l=x.length)==2?x(r,e):bs(x,[r,e])}function B0(x,r,e,t){return(x.l>=0?x.l:x.l=x.length)==3?x(r,e,t):bs(x,[r,e,t])}function St(x,r,e,t,u){return(x.l>=0?x.l:x.l=x.length)==4?x(r,e,t,u):bs(x,[r,e,t,u])}function I1(x,r,e,t,u,i){return(x.l>=0?x.l:x.l=x.length)==5?x(r,e,t,u,i):bs(x,[r,e,t,u,i])}function uz(x,r,e,t,u,i,c,v){return(x.l>=0?x.l:x.l=x.length)==7?x(r,e,t,u,i,c,v):bs(x,[r,e,t,u,i,c,v])}var R=void 0,rN=[x2,GM,-1],GU=[x2,wM,-2],Qt=[x2,r_,-3],eN=[x2,lM,-4],Fc=[x2,bF,-7],WU=[x2,qL,-8],$U=[x2,wL,-9],Ar=[x2,zD,-11],Pl=[x2,zL,-12],iz=[4,0,0,0,[12,45,[4,0,0,0,0]]],tN=[0,[11,'File "',[2,0,[11,'", line ',[4,0,0,0,[11,dL,[4,0,0,0,[12,45,[4,0,0,0,[11,": ",[2,0,0]]]]]]]]]],'File "%s", line %d, characters %d-%d: %s'],Yv=[0,0,[0,0,0],[0,0,0]],Nl=[0,0,0,0,1,0,0,0],HU=[0,"first_leading","last_trailing"],QU=[0,uf,lf,Yu,$n,vf,Su,j7,pi,xu,Vf,k7,Ti,pf,Bt,Eu,Qf,Ee,f7,C7,Bi,Pf,u7,Wu,Nc,cc,Dn,Yi,g7,tu,wi,Di,Ic,E7,cu,ei,Ui,fi,Gu,Ff,Ii,J7,Yn,Pc,b7,Nu,Mi,ic,Qu,Ji,Of,Sn,Gf,Zf,Ci,_e,we,_u,Zi,uc,_i,Qn,mf,wu,qf,Wi,Vi,Kf,sf,sc,vi,ie,hi,Cn,zi,Ri,uu,Mn,pu,yi,qi,fc,Hf,vu,gu,Xi,Hn,jn,ff,Vn,Sf,_7,V2,ri,Cu,In,w7,zn,hf,ef,I7,U7,mi,hu,iu,Y7,Ou,Xf,O7,yn,zf,Zn,wn,p7,Fu,Ru,kf,Uu,Qi,gn,ui,Ec,Si,Q7,ni,W7,su,dt,r7,Un,t7,R1,ti,B7,bu,Kn,$i,V7,Ef,c7,W1,Lu,Nn,wf,bi,K7,Oc,L7,H7,dn,gi,Au,vc,Yf,Fn,rf,ru,Bu,wc,zu,l7,qn,F7,An,Df,Cf,Oi,Uf,m7,du,Tn,li,v7,_n,X7,Fi,Er,Bn,Vu,mu,nc,Du,Xn,yc,mc,Tu,pc,T7,tf,s7,ki,yf,jf,q7,ji,Tc,Ki,_c,Ln,Ku,nf,Ju,Bf,$u,D7,Lf,Rn,Iu,af,$t,dc,ou,y7,xc,ac,i7,S7,yu,Jn,Wn,di,lu,Wf,Rf,M7,Tf,Sc,eu,_f,rc,G7,Ie,tc,z7,ku,Z7,Pi,o7,Gn,Se,ec,Pu,a7,oc,Ei,Ai,x7,Li,Pe,au,P7,df,xf,kc,ai,cf,je,Ac,Gi,fu,nu,Jf,En,Pn,ii,Af,xi,gc,e7,bc,Zu,bn,d7,si,Nf,If,N7,n7,h7,Hu,ju,lc,On,A7,Mu,jc,oi,L1,gf,Hi,Xu,M1],Zt=[0,0,0];Et(11,Pl,zL),Et(10,Ar,zD),Et(9,[x2,jF,RR],jF),Et(8,$U,wL),Et(7,WU,qL),Et(6,Fc,bF),Et(5,[x2,eF,-6],eF),Et(4,[x2,sR,-5],sR),Et(3,eN,lM),Et(2,Qt,r_),Et(1,GU,wM),Et(0,rN,GM);var fz="output_substring",cz=Mf,sz=as,az=ls,oz="CamlinternalLazy.Undefined",vz=AM,lz="\\'",pz="\\b",kz="\\t",mz="\\n",hz="\\r",dz="List.iter2",yz="tl",gz="hd",_z="String.blit / Bytes.blit_string",bz="Bytes.blit",wz="String.sub / Bytes.sub",Tz=H0,Ez="String.concat",Sz="Array.blit",Az="Array.sub",Iz=zp,jz=zp,Pz=zp,Nz=zp,Oz="Stdlib.Queue.Empty",Cz="Buffer.add_substring/add_subbytes",Dz="Buffer.add: cannot grow buffer",Rz=[0,tR,93,2],Fz=[0,tR,94,2],Lz="Buffer.sub",Mz="%c",Uz="%s",qz=BD,Bz=SM,Xz=mF,Jz=JM,Kz="%f",Yz="%B",zz="%{",Vz="%}",Gz="%(",Wz="%)",$z=FF,Hz="%t",Qz="%?",Zz="%r",xV="%_r",rV=[0,e1,850,23],eV=[0,e1,814,21],tV=[0,e1,815,21],nV=[0,e1,818,21],uV=[0,e1,819,21],iV=[0,e1,822,19],fV=[0,e1,823,19],cV=[0,e1,826,22],sV=[0,e1,827,22],aV=[0,e1,831,30],oV=[0,e1,832,30],vV=[0,e1,836,26],lV=[0,e1,837,26],pV=[0,e1,846,28],kV=[0,e1,847,28],mV=[0,e1,851,23],hV=[0,e1,1558,4],dV="Printf: bad conversion %[",yV=[0,e1,1626,39],gV=[0,e1,1649,31],_V=[0,e1,1650,31],bV="Printf: bad conversion %_",wV=KL,TV=hF,EV=KL,SV=hF,AV=[0,[11,"invalid box description ",[3,0,0]],"invalid box description %S"],IV=[0,0,4],jV=Jy,PV="neg_infinity",NV=AF,OV=Mf,CV=[0,Ze],DV="%+nd",RV="% nd",FV="%+ni",LV="% ni",MV="%nx",UV="%#nx",qV="%nX",BV="%#nX",XV="%no",JV="%#no",KV="%nd",YV=mF,zV="%nu",VV="%+ld",GV="% ld",WV="%+li",$V="% li",HV="%lx",QV="%#lx",ZV="%lX",xG="%#lX",rG="%lo",eG="%#lo",tG="%ld",nG=SM,uG="%lu",iG="%+Ld",fG="% Ld",cG="%+Li",sG="% Li",aG="%Lx",oG="%#Lx",vG="%LX",lG="%#LX",pG="%Lo",kG="%#Lo",mG="%Ld",hG=JM,dG="%Lu",yG="%+d",gG="% d",_G="%+i",bG="% i",wG="%x",TG="%#x",EG="%X",SG="%#X",AG="%o",IG="%#o",jG=Lv,PG=BD,NG=iL,OG=vv,CG="@}",DG="@?",RG=`@ +`,FG="@.",LG="@@",MG="@%",UG=yF,qG="CamlinternalFormat.Type_mismatch",BG=H0,XG=[0,[11,qR,[2,0,[2,0,0]]],", %s%s"],JG=[0,[11,uP,[2,0,[12,10,0]]],TL],KG=[0,[11,"Fatal error in uncaught exception handler: exception ",[2,0,[12,10,0]]],`Fatal error in uncaught exception handler: exception %s +`],YG="Fatal error: out of memory in uncaught exception handler",zG=[0,[11,uP,[2,0,[12,10,0]]],TL],VG=[0,[2,0,[12,10,0]],`%s +`],GG="Raised at",WG="Re-raised at",$G="Raised by primitive operation at",HG="Called from",QG=" (inlined)",ZG=H0,xW=[0,[2,0,[12,32,[2,0,[11,' in file "',[2,0,[12,34,[2,0,[11,", line ",[4,0,0,0,[11,dL,iz]]]]]]]]]],'%s %s in file "%s"%s, line %d, characters %d-%d'],rW=[0,[2,0,[11," unknown location",0]],"%s unknown location"],eW="Out of memory",tW="Stack overflow",nW="Pattern matching failed",uW="Assertion failed",iW="Undefined recursive module",fW=[0,[12,40,[2,0,[2,0,[12,41,0]]]],"(%s%s)"],cW=H0,sW=H0,aW=[0,[12,40,[2,0,[12,41,0]]],"(%s)"],oW=[0,[4,0,0,0,0],Lv],vW=[0,[3,0,0],q3],lW=Sv,pW=[0,H0,`(Cannot print locations: bytecode executable program file not found)`,`(Cannot print locations: bytecode executable program file appears to be corrupt)`,`(Cannot print locations: bytecode executable program file has wrong magic number)`,`(Cannot print locations: bytecode executable program file cannot be opened; - -- too many open files. Try running with OCAMLRUNPARAM=b=2)`],dQ=[3,0,3],mQ=Hf,kQ=$3,hQ="{"],VQ=[0,[12,32,0],Lt],ZQ=[0,[12,32,0],Lt],$Q=[0,[17,[0,"@,",0,0],[12,gi,[17,0,0]]],"@,}@]"],FQ=[0,"src/hack_forked/utils/collections/third-party/flow_set.ml",379,14],QQ=F3,HQ=ka,qQ=La,GQ=_x,bQ=pv,xH=[0,[12,40,[18,[1,[0,[11,Pe,0],Pe]],[11,"File_key.LibFile",[17,[0,ie,1,0],0]]]],"(@[<2>File_key.LibFile@ "],rH=[0,[3,0,0],z3],eH=[0,[17,0,[12,41,0]],xp],tH=[0,[12,40,[18,[1,[0,[11,Pe,0],Pe]],[11,"File_key.SourceFile",[17,[0,ie,1,0],0]]]],"(@[<2>File_key.SourceFile@ "],nH=[0,[3,0,0],z3],uH=[0,[17,0,[12,41,0]],xp],iH=[0,[12,40,[18,[1,[0,[11,Pe,0],Pe]],[11,"File_key.JsonFile",[17,[0,ie,1,0],0]]]],"(@[<2>File_key.JsonFile@ "],fH=[0,[3,0,0],z3],cH=[0,[17,0,[12,41,0]],xp],sH=[0,[12,40,[18,[1,[0,[11,Pe,0],Pe]],[11,"File_key.ResourceFile",[17,[0,ie,1,0],0]]]],"(@[<2>File_key.ResourceFile@ "],oH=[0,[3,0,0],z3],vH=[0,[17,0,[12,41,0]],xp],aH=[0,1],lH=[0,0],pH=[0,1],yH=[0,2],dH=[0,0],mH=[0,1],kH=[0,1],hH=[0,1],_H=[0,1],wH=[0,1],TH=[0,1],SH=[0,0,0],EH=[0,0,0],AH=[0,U2,ri,vf,Lf,L2,Ei,Yc,qu,W7,Hn,Ec,Bu,oi,U7,w7,$7,Jf,Xf,Ti,M7,Jn,ai,Lc,h7,Rc,li,Kf,hi,Fn,Xn,rc,hu,Ki,cf,Kc,ze,wf,Si,gc,pf,Rf,Z7,Eu,Ke,Gi,m7,Bi,Ji,Tc,N7,Xu,lc,Me,I7,Zi,pu,Pu,fu,pc,je,su,ac,Uf,mu,zc,Df,b7,$f,fc,Nu,Oi,a7,f7,Lu,X7,S7,wc,vc,D7,Au,Pc,pn,Sf,Yu,bn,Qf,H7,si,bf,ei,kf,ti,r7,Oc,nf,Dc,Wi,ru,Yf,Of,Pi,g7,mf,Y7,Ac,zu,Nc,Cc,i7,$u,yc,Cu,ii,u7,xr,qi,tu,Kn,P7,Ni,Bn,Ou,L7,qf,$i,Vf,Zf,Vn,q7,n7,C7,ui,Mc,xi,du,yf,x7,tc,Sc,Ju,Ui,F1,au,G7,Wc,uu,Di,Mf,Qn,Hu,F2,A7,jf,cu,of,c7,Du,eu,di,R2,_7,t7,k7,It,Su,ou,mi,lu,Yi,jc,ki,zn,af,Gu,If,Fu,Qu,R7,Yn,d7,nc,jn,F7,xc,Vu,iu,wu,Ru,Ci,xu,V7,df,Cf,o7,J7,Zn,Zu,pi,Q1,z7,zf,v7,_f,$n,p7,ef,Uu,gu,cc,kc,xf,Li,Iu,e7,_u,Hi,ff,qn,Ri,ce,Ai,_c,Tf,ec,sf,Gf,ju,Pf,y7,Mi,dc,lf,Mu,Re,Ce,Fi,oc,ic,Wn,Wf,tf,vi,mc,Wu,K7,Bc,s7,nu,Xi,Ff,fi,_i,bi,yi,Tu,B7,Jc,Qi,ji,ku,j7,uf,Gn,hc,Xc,ci,T7,Bf,rf,Q7,E7,Le,sc,Ku,un,Nf,zi,O7,uc,yu,Ii,Af,l7,ni,gf,hf],gH=[0,Tc,F1,Fu,Su,zn,E7,Nc,Yf,ui,Qn,Ku,Rc,bf,Ke,H7,zf,uf,nf,tc,i7,A7,Ju,Hi,Li,ri,S7,lu,wu,f7,qf,mc,mi,_u,Cu,It,Lf,Cf,fc,Pf,rf,Qu,Bf,yf,Uu,su,jc,Ru,Eu,Pi,t7,Bi,of,ff,L7,yc,ji,bi,Sf,hf,zc,s7,ai,ru,Uf,q7,B7,ei,je,Oc,af,Yu,ii,Mc,x7,ou,P7,oc,Kf,kc,n7,Ni,If,$f,l7,Gf,p7,qi,pu,Pc,ni,Ri,Q7,lc,L2,ac,dc,$7,I7,_7,O7,iu,Kc,Wc,j7,Y7,Z7,ce,V7,li,U2,Bn,cf,Mi,Df,Bu,D7,lf,Pu,uc,Ec,_i,y7,zu,qu,Sc,Xn,Mf,Iu,Zn,si,v7,Ou,vc,o7,Xf,Fn,nu,Ei,rc,N7,Jf,m7,Hn,Jc,jf,Ci,yi,Kn,Gu,Xi,W7,fi,Ac,Vf,yu,tu,Xc,ku,K7,wc,Zf,Bc,xr,R2,Me,w7,Ti,Gi,X7,ze,Re,Cc,k7,Qf,pi,Ui,pn,sc,nc,e7,cu,Tu,z7,R7,au,ki,U7,xf,pc,xc,eu,cc,$n,Wf,mf,Xu,Of,c7,ti,Oi,hi,Wi,mu,r7,M7,sf,ci,ju,Nf,uu,Rf,qn,hu,Yi,fu,di,Dc,hc,g7,du,Qi,Hu,Ai,h7,gf,Yc,_c,T7,Lc,Tf,xi,G7,ic,$i,a7,$u,Di,J7,Vn,Jn,gc,Ii,tf,Lu,zi,Q1,Au,Ff,Zu,Ki,jn,F7,Ji,Ce,Yn,Wu,b7,ef,ec,Si,pf,Vu,_f,oi,xu,bn,un,Du,Gn,C7,kf,d7,Mu,gu,Le,Af,F2,Fi,vf,vi,Zi,df,Wn,Nu,wf,u7],NH=eM,IH=JM,PH=xM,CH=jM,RH=JT,OH=EM,LH=$3,UH=yj,MH=HU,DH=yM,jH=MU,zH=Ls,KH=Ot,JH=vz,YH=OM,BH=$2,XH=BM,WH=uK,VH=k8,ZH=R4,$H=mo,FH=Z3,QH=dM,HH=tK,qH=xD,GH=sM,bH=Hz,xq=RU,rq=wj,eq=mM,tq=sz,nq=AD,uq=Yz,iq=uM,fq=KD,cq=Fz,sq=Yj,oq=[0,[18,[1,[0,[11,Pe,0],Pe]],[11,qM,0]],jz],vq="Loc.line",aq=[0,[18,[1,[0,0,wx]],[2,0,[11,X3,[17,[0,ie,1,0],0]]]],J3],lq=[0,[4,0,0,0,0],hl],pq=[0,[17,0,0],oa],yq=[0,[12,59,[17,[0,ie,1,0],0]],ep],dq=ll,mq=[0,[18,[1,[0,0,wx]],[2,0,[11,X3,[17,[0,ie,1,0],0]]]],J3],kq=[0,[4,0,0,0,0],hl],hq=[0,[17,0,0],oa],_q=[0,[17,[0,ie,1,0],[12,gi,[17,0,0]]],fD],wq=[0,[15,0],RD],Tq="(Some ",Sq=JS,Eq="None",Aq=[0,[18,[1,[0,[11,Pe,0],Pe]],[11,qM,0]],jz],gq="Loc.source",Nq=[0,[18,[1,[0,0,wx]],[2,0,[11,X3,[17,[0,ie,1,0],0]]]],J3],Iq=[0,[17,0,0],oa],Pq=[0,[12,59,[17,[0,ie,1,0],0]],ep],Cq=T9,Rq=[0,[18,[1,[0,0,wx]],[2,0,[11,X3,[17,[0,ie,1,0],0]]]],J3],Oq=[0,[17,0,0],oa],Lq=[0,[12,59,[17,[0,ie,1,0],0]],ep],Uq="_end",Mq=[0,[18,[1,[0,0,wx]],[2,0,[11,X3,[17,[0,ie,1,0],0]]]],J3],Dq=[0,[17,0,0],oa],jq=[0,[17,[0,ie,1,0],[12,gi,[17,0,0]]],fD],zq="Object literal may not have data and accessor property with the same name",Kq="Object literal may not have multiple get/set accessors with the same name",Jq="Unexpected token <. Remember, adjacent JSX elements must be wrapped in an enclosing parent tag",Yq="Modules can only have 1 since they are either an ES module xor they are a CommonJS module.",Bq="Found both `declare module.exports` and `declare export` in the same module. ",Xq="`let [` is ambiguous in this position because it is either a `let` binding pattern, or a member expression.",Wq="Async functions can only be declared at top level or immediately within another function.",Vq="`await` is an invalid identifier in async functions",Zq="`await` is not allowed in async function parameters.",$q="Computed properties must have a value.",Fq="Constructor can't be an accessor.",Qq="Constructor can't be an async function.",Hq="Constructor can't be a generator.",qq="It is sufficient for your declare function to just have a Promise return type.",Gq="async is an implementation detail and isn't necessary for your declare function statement. ",bq="`declare` modifier can only appear on class fields.",xG="Unexpected token `=`. Initializers are not allowed in a `declare`.",rG="`declare export interface` is not supported. Use `export interface` instead.",eG="`declare export type` is not supported. Use `export type` instead.",tG="Unexpected token `=`. Initializers are not allowed in a `declare opaque type`.",nG="Classes may only have one constructor",uG="Duplicate `declare module.exports` statement!",iG="Rest element must be final element of an array pattern",fG="Cannot export an enum with `export type`, try `export enum E {}` or `module.exports = E;` instead.",cG="Enum members are separated with `,`. Replace `;` with `,`.",sG="`const` enums are not supported. Flow Enums are designed to allow for inlining, however the inlining itself needs to be part of the build system (whatever you use) rather than Flow itself.",oG="Expected an object pattern, array pattern, or an identifier but found an expression instead",vG="Missing comma between export specifiers",aG="Generators can only be declared at top level or immediately within another function.",lG="Getter should have zero parameters",pG="A getter cannot have a `this` parameter.",yG="Illegal break statement",dG="Illegal continue statement",mG="Illegal return statement",kG="Illegal Unicode escape",hG="Missing comma between import specifiers",_G="It cannot be used with `import type` or `import typeof` statements",wG="The `type` and `typeof` keywords on named imports can only be used on regular `import` statements. ",TG="Explicit inexact syntax cannot appear inside an explicit exact object type",SG="Explicit inexact syntax can only appear inside an object type",EG="Component params must be an identifier. If you'd like to destructure, you should use `name as {destructure}`",AG="A bigint literal must be an integer",gG="JSX value should be either an expression or a quoted JSX text",NG="Invalid left-hand side in assignment",IG="Invalid left-hand side in exponentiation expression",PG="Invalid left-hand side in for-in",CG="Invalid left-hand side in for-of",RG="Imports within a `declare module` body must always be `import type` or `import typeof`!",OG="Invalid optional indexed access. Indexed access uses bracket notation. Use the format `T?.[K]`.",LG="Invalid regular expression",UG="A bigint literal cannot use exponential notation",MG="Tuple spread elements cannot be optional.",DG="Tuple variance annotations can only be used with labeled tuple elements, e.g. `[+foo: number]`",jG="`typeof` can only be used to get the type of variables.",zG="JSX attributes must only be assigned a non-empty expression",KG="Literals cannot be used as shorthand properties.",JG="Malformed unicode",YG="Object pattern can't contain methods",BG="Expected at least one type parameter.",XG="Type parameter declaration needs a default, since a preceding type parameter declaration has a default.",WG="More than one default clause in switch statement",VG="Illegal newline after throw",ZG="Illegal newline before arrow",$G="Missing catch or finally after try",FG="Const must be initialized",QG="Destructuring assignment must be initialized",HG="An optional chain may not be used in a `new` expression.",qG="Template literals may not be used in an optional chain.",GG="Rest parameter must be final parameter of an argument list",bG="Private fields may not be deleted.",xb="Private fields can only be referenced from within a class.",rb="Rest property must be final property of an object pattern",eb="Setter should have exactly one parameter",tb="A setter cannot have a `this` parameter.",nb="Catch variable may not be eval or arguments in strict mode",ub="Delete of an unqualified identifier in strict mode.",ib="Duplicate data property in object literal not allowed in strict mode",fb="Function name may not be eval or arguments in strict mode",cb="Assignment to eval or arguments is not allowed in strict mode",sb="Postfix increment/decrement may not have eval or arguments operand in strict mode",ob="Prefix increment/decrement may not have eval or arguments operand in strict mode",vb="Strict mode code may not include a with statement",ab="Number literals with leading zeros are not allowed in strict mode.",lb="Octal literals are not allowed in strict mode.",pb="Strict mode function may not have duplicate parameter names",yb="Parameter name eval or arguments is not allowed in strict mode",db='Illegal "use strict" directive in function with non-simple parameter list',mb="Use of reserved word in strict mode",kb="Variable name may not be eval or arguments in strict mode",hb="You may not access a private field through the `super` keyword.",_b="Flow does not support abstract classes.",wb="Flow does not support template literal types.",Tb="A type annotation is required for the `this` parameter.",Sb="Arrow functions cannot have a `this` parameter; arrow functions automatically bind `this` when declared.",Eb="Constructors cannot have a `this` parameter; constructors don't bind `this` like other functions.",Ab="The `this` parameter cannot be optional.",gb="The `this` parameter must be the first function parameter.",Nb="A trailing comma is not permitted after the rest element",Ib="Unexpected end of input",Pb="Explicit inexact syntax must come at the end of an object type",Cb="Opaque type aliases are not allowed in untyped mode",Rb="Unexpected proto modifier",Ob="Unexpected reserved word",Lb="Unexpected reserved type",Ub="Spreading a type is only allowed inside an object type",Mb="Unexpected static modifier",Db="Unexpected `super` outside of a class method",jb="`super()` is only valid in a class constructor",zb="Type aliases are not allowed in untyped mode",Kb="Type annotations are not allowed in untyped mode",Jb="Type declarations are not allowed in untyped mode",Yb="Type exports are not allowed in untyped mode",Bb="Type imports are not allowed in untyped mode",Xb="Interfaces are not allowed in untyped mode",Wb="Unexpected variance sigil",Vb="Found a decorator in an unsupported position.",Zb="Invalid regular expression: missing /",$b="Unexpected whitespace between `#` and identifier",Fb="`yield` is an invalid identifier in generators",Qb="Yield expression not allowed in formal parameter",Hb=[0,[11,"Duplicate export for `",[2,0,[12,96,0]]],"Duplicate export for `%s`"],qb=[0,[11,"Private fields may only be declared once. `#",[2,0,[11,"` is declared more than once.",0]]],"Private fields may only be declared once. `#%s` is declared more than once."],Gb=[0,[11,"bigint enum members need to be initialized, e.g. `",[2,0,[11," = 1n,` in enum `",[2,0,[11,Es,0]]]]],"bigint enum members need to be initialized, e.g. `%s = 1n,` in enum `%s`."],bb=[0,[11,"Boolean enum members need to be initialized. Use either `",[2,0,[11," = true,` or `",[2,0,[11," = false,` in enum `",[2,0,[11,Es,0]]]]]]],"Boolean enum members need to be initialized. Use either `%s = true,` or `%s = false,` in enum `%s`."],x00=[0,[11,"Enum member names need to be unique, but the name `",[2,0,[11,"` has already been used before in enum `",[2,0,[11,Es,0]]]]],"Enum member names need to be unique, but the name `%s` has already been used before in enum `%s`."],r00=[0,[11,wM,[2,0,[11,"` has inconsistent member initializers. Either use no initializers, or consistently use literals (either booleans, numbers, or strings) for all member initializers.",0]]],"Enum `%s` has inconsistent member initializers. Either use no initializers, or consistently use literals (either booleans, numbers, or strings) for all member initializers."],e00="The `...` must come at the end of the enum body. Remove the trailing comma.",t00="The `...` must come after all enum members. Move it to the end of the enum body.",n00=[0,[11,"Use one of `boolean`, `number`, `string`, `symbol`, or `bigint` in enum `",[2,0,[11,Es,0]]],"Use one of `boolean`, `number`, `string`, `symbol`, or `bigint` in enum `%s`."],u00=[0,[11,"Enum type `",[2,0,[11,"` is not valid. ",[2,0,0]]]],"Enum type `%s` is not valid. %s"],i00=[0,[11,"Supplied enum type is not valid. ",[2,0,0]],"Supplied enum type is not valid. %s"],f00=[0,[11,"Enum member names and initializers are separated with `=`. Replace `",[2,0,[11,":` with `",[2,0,[11," =`.",0]]]]],"Enum member names and initializers are separated with `=`. Replace `%s:` with `%s =`."],c00=[0,[11,wM,[2,0,[11,"` has type `",[2,0,[11,"`, so the initializer of `",[2,0,[11,"` needs to be a ",[2,0,[11," literal.",0]]]]]]]]],"Enum `%s` has type `%s`, so the initializer of `%s` needs to be a %s literal."],s00=[0,[11,"Symbol enum members cannot be initialized. Use `",[2,0,[11,",` in enum `",[2,0,[11,Es,0]]]]],"Symbol enum members cannot be initialized. Use `%s,` in enum `%s`."],o00=[0,[11,"The enum member initializer for `",[2,0,[11,"` needs to be a literal (either a boolean, number, or string) in enum `",[2,0,[11,Es,0]]]]],"The enum member initializer for `%s` needs to be a literal (either a boolean, number, or string) in enum `%s`."],v00=[0,[11,"Enum member names cannot start with lowercase 'a' through 'z'. Instead of using `",[2,0,[11,"`, consider using `",[2,0,[11,"`, in enum `",[2,0,[11,Es,0]]]]]]],"Enum member names cannot start with lowercase 'a' through 'z'. Instead of using `%s`, consider using `%s`, in enum `%s`."],a00=[0,[11,"Number enum members need to be initialized, e.g. `",[2,0,[11," = 1,` in enum `",[2,0,[11,Es,0]]]]],"Number enum members need to be initialized, e.g. `%s = 1,` in enum `%s`."],l00=[0,[11,"String enum members need to consistently either all use initializers, or use no initializers, in enum ",[2,0,[12,46,0]]],"String enum members need to consistently either all use initializers, or use no initializers, in enum %s."],p00=[0,[11,"Expected corresponding JSX closing tag for ",[2,0,0]],"Expected corresponding JSX closing tag for %s"],y00="immediately within another function.",d00="In strict mode code, functions can only be declared at top level or ",m00="inside a block, or as the body of an if statement.",k00="In non-strict mode code, functions can only be declared at top level, ",h00="static ",_00=wx,w00="methods",T00="fields",S00=zU,E00=[0,[11,"Classes may not have ",[2,0,[2,0,[11," named `",[2,0,[11,Es,0]]]]]],"Classes may not have %s%s named `%s`."],A00="Remove the period.",g00="Indexed access uses bracket notation.",N00=[0,[11,"Invalid indexed access. ",[2,0,[11," Use the format `T[K]`.",0]]],"Invalid indexed access. %s Use the format `T[K]`."],I00=[0,[11,"Invalid flags supplied to RegExp constructor '",[2,0,[12,39,0]]],"Invalid flags supplied to RegExp constructor '%s'"],P00=[0,[11,"JSX element ",[2,0,[11," has no corresponding closing tag.",0]]],"JSX element %s has no corresponding closing tag."],C00=[0,[11,gM,[2,0,[11,"`. Parentheses are required to combine `??` with `&&` or `||` expressions.",0]]],"Unexpected token `%s`. Parentheses are required to combine `??` with `&&` or `||` expressions."],R00=[0,[2,0,[11," '",[2,0,[11,"' has already been declared",0]]]],"%s '%s' has already been declared"],O00=wx,L00=W3,U00=" You can try using JavaScript private fields by prepending `#` to the field name.",M00=kl,D00=" Fields and methods are public by default. You can simply omit the `public` keyword.",j00=j3,z00=[0,[11,"Flow does not support using `",[2,0,[11,"` in classes.",[2,0,0]]]],"Flow does not support using `%s` in classes.%s"],K00=[0,[11,"Private fields must be declared before they can be referenced. `#",[2,0,[11,"` has not been declared.",0]]],"Private fields must be declared before they can be referenced. `#%s` has not been declared."],J00=[0,[11,ij,[2,0,0]],"Unexpected %s"],Y00=[0,[11,gM,[2,0,[11,"`. Did you mean `",[2,0,[11,"`?",0]]]]],"Unexpected token `%s`. Did you mean `%s`?"],B00=[0,[11,ij,[2,0,[11,", expected ",[2,0,0]]]],"Unexpected %s, expected %s"],X00=[0,[11,"Undefined label '",[2,0,[12,39,0]]],"Undefined label '%s'"],W00="Parse_error.Error",V00=[0,[0,36,37],[0,48,58],[0,65,91],[0,95,96],[0,97,Rt],[0,Z9,Ck],[0,AC,Hk],[0,ey,OI],[0,qh,rA],[0,ma,NT],[0,FI,J8],[0,Qr,706],[0,WM,722],[0,736,741],[0,748,749],[0,750,751],[0,768,885],[0,886,888],[0,890,894],[0,895,896],[0,902,907],[0,908,909],[0,910,930],[0,Cz,1014],[0,1015,1154],[0,1155,1160],[0,1162,1328],[0,1329,1367],[0,1369,1370],[0,1376,1417],[0,1425,1470],[0,1471,1472],[0,1473,1475],[0,1476,1478],[0,1479,1480],[0,1488,1515],[0,1519,1523],[0,1552,1563],[0,1568,1642],[0,1646,1748],[0,1749,1757],[0,1759,1769],[0,1770,1789],[0,1791,1792],[0,1808,1867],[0,1869,1970],[0,1984,2038],[0,2042,2043],[0,2045,2046],[0,vP,2094],[0,2112,2140],[0,2144,2155],[0,2208,2229],[0,2230,2238],[0,2259,2274],[0,2275,2404],[0,2406,2416],[0,2417,2436],[0,2437,2445],[0,2447,2449],[0,2451,2473],[0,2474,2481],[0,2482,2483],[0,2486,2490],[0,2492,2501],[0,2503,2505],[0,2507,2511],[0,2519,2520],[0,2524,2526],[0,2527,2532],[0,2534,2546],[0,2556,2557],[0,2558,2559],[0,2561,2564],[0,2565,2571],[0,2575,2577],[0,2579,2601],[0,2602,2609],[0,2610,2612],[0,2613,2615],[0,2616,2618],[0,2620,2621],[0,2622,2627],[0,2631,2633],[0,2635,2638],[0,2641,2642],[0,2649,2653],[0,2654,2655],[0,2662,2678],[0,2689,2692],[0,2693,2702],[0,2703,2706],[0,2707,2729],[0,2730,2737],[0,2738,2740],[0,2741,2746],[0,2748,2758],[0,2759,2762],[0,2763,2766],[0,2768,2769],[0,2784,2788],[0,2790,2800],[0,2809,2816],[0,2817,2820],[0,2821,2829],[0,2831,2833],[0,2835,2857],[0,2858,2865],[0,2866,2868],[0,2869,2874],[0,2876,2885],[0,2887,2889],[0,2891,2894],[0,2902,2904],[0,2908,2910],[0,2911,2916],[0,2918,2928],[0,2929,2930],[0,2946,2948],[0,2949,2955],[0,2958,2961],[0,2962,2966],[0,2969,2971],[0,2972,2973],[0,2974,2976],[0,2979,2981],[0,2984,2987],[0,2990,3002],[0,3006,3011],[0,3014,3017],[0,3018,3022],[0,3024,3025],[0,3031,3032],[0,3046,3056],[0,3072,3085],[0,3086,3089],[0,3090,3113],[0,3114,3130],[0,3133,3141],[0,3142,3145],[0,3146,3150],[0,3157,3159],[0,3160,3163],[0,3168,3172],[0,3174,3184],[0,3200,3204],[0,3205,3213],[0,3214,3217],[0,3218,3241],[0,3242,3252],[0,3253,3258],[0,3260,3269],[0,3270,3273],[0,3274,3278],[0,3285,3287],[0,3294,3295],[0,3296,3300],[0,3302,3312],[0,3313,3315],[0,3328,3332],[0,3333,3341],[0,3342,3345],[0,3346,3397],[0,3398,3401],[0,3402,3407],[0,3412,3416],[0,3423,3428],[0,3430,3440],[0,3450,3456],[0,3458,3460],[0,3461,3479],[0,3482,3506],[0,3507,3516],[0,3517,3518],[0,3520,3527],[0,3530,3531],[0,3535,3541],[0,3542,3543],[0,3544,3552],[0,3558,3568],[0,3570,3572],[0,3585,3643],[0,3648,3663],[0,3664,3674],[0,3713,3715],[0,3716,3717],[0,3718,3723],[0,3724,3748],[0,3749,3750],[0,3751,3774],[0,3776,3781],[0,3782,3783],[0,3784,3790],[0,3792,3802],[0,3804,3808],[0,3840,3841],[0,3864,3866],[0,3872,3882],[0,3893,3894],[0,3895,3896],[0,3897,3898],[0,3902,3912],[0,3913,3949],[0,3953,3973],[0,3974,3992],[0,3993,4029],[0,4038,4039],[0,qD,4170],[0,4176,4254],[0,4256,4294],[0,4295,4296],[0,4301,4302],[0,4304,4347],[0,4348,4681],[0,4682,4686],[0,4688,4695],[0,4696,4697],[0,4698,4702],[0,4704,4745],[0,4746,4750],[0,4752,4785],[0,4786,4790],[0,4792,4799],[0,4800,4801],[0,4802,4806],[0,4808,4823],[0,4824,4881],[0,4882,4886],[0,4888,4955],[0,4957,4960],[0,4969,4978],[0,4992,5008],[0,5024,5110],[0,5112,5118],[0,5121,5741],[0,5743,FT],[0,5761,5787],[0,5792,5867],[0,5870,5881],[0,5888,5901],[0,5902,5909],[0,5920,5941],[0,5952,5972],[0,5984,5997],[0,5998,6001],[0,6002,6004],[0,6016,6100],[0,6103,6104],[0,6108,6110],[0,6112,6122],[0,6155,6158],[0,6160,6170],[0,6176,6265],[0,6272,6315],[0,6320,6390],[0,6400,6431],[0,6432,6444],[0,6448,6460],[0,6470,6510],[0,6512,6517],[0,6528,6572],[0,6576,6602],[0,6608,6619],[0,6656,6684],[0,6688,6751],[0,6752,6781],[0,6783,6794],[0,6800,6810],[0,6823,6824],[0,6832,6846],[0,6912,6988],[0,6992,7002],[0,7019,7028],[0,7040,7156],[0,7168,7224],[0,7232,7242],[0,7245,7294],[0,7296,7305],[0,7312,7355],[0,7357,7360],[0,7376,7379],[0,7380,7419],[0,7424,7674],[0,7675,7958],[0,7960,7966],[0,7968,8006],[0,8008,8014],[0,8016,8024],[0,8025,8026],[0,8027,8028],[0,8029,8030],[0,8031,8062],[0,8064,8117],[0,8118,8125],[0,8126,8127],[0,8130,8133],[0,8134,8141],[0,8144,8148],[0,8150,8156],[0,8160,8173],[0,8178,8181],[0,8182,8189],[0,Rj,YD],[0,8255,8257],[0,8276,8277],[0,M8,8306],[0,b5,8320],[0,8336,8349],[0,8400,8413],[0,8417,8418],[0,8421,8433],[0,ky,8451],[0,P5,8456],[0,8458,g8],[0,qp,8470],[0,Rz,8478],[0,Ay,vp],[0,s8,o8],[0,jp,Yp],[0,8490,8506],[0,8508,8512],[0,8517,8522],[0,i8,8527],[0,8544,8585],[0,11264,11311],[0,11312,11359],[0,11360,11493],[0,11499,11508],[0,11520,z4],[0,U8,11560],[0,j4,11566],[0,11568,11624],[0,N5,11632],[0,V8,11671],[0,11680,kp],[0,11688,p8],[0,11696,Z4],[0,11704,T8],[0,11712,X5],[0,11720,D5],[0,11728,Lp],[0,11736,11743],[0,11744,11776],[0,12293,12296],[0,12321,D4],[0,12337,12342],[0,12344,12349],[0,12353,12439],[0,12441,z5],[0,12449,vy],[0,12540,12544],[0,12549,E5],[0,12593,12687],[0,12704,12731],[0,12784,12800],[0,13312,19894],[0,19968,40944],[0,40960,42125],[0,42192,42238],[0,42240,42509],[0,42512,42540],[0,42560,42608],[0,42612,V5],[0,42623,42738],[0,42775,42784],[0,42786,42889],[0,42891,42944],[0,42946,42951],[0,D8,43048],[0,43072,43124],[0,43136,43206],[0,43216,43226],[0,43232,43256],[0,U5,F5],[0,43261,43310],[0,43312,43348],[0,43360,43389],[0,43392,43457],[0,Ep,43482],[0,43488,sy],[0,43520,43575],[0,43584,43598],[0,43600,43610],[0,43616,43639],[0,S8,43715],[0,43739,43742],[0,43744,43760],[0,43762,43767],[0,43777,43783],[0,43785,43791],[0,43793,43799],[0,43808,b8],[0,43816,t8],[0,43824,t5],[0,43868,f8],[0,43888,44011],[0,44012,44014],[0,44016,44026],[0,44032,55204],[0,55216,55239],[0,55243,55292],[0,63744,64110],[0,64112,64218],[0,64256,64263],[0,64275,64280],[0,Pp,B8],[0,64298,oy],[0,64312,H5],[0,$8,up],[0,64320,Sp],[0,64323,v5],[0,64326,64434],[0,64467,64830],[0,64848,64912],[0,64914,64968],[0,65008,65020],[0,65024,65040],[0,65056,65072],[0,65075,65077],[0,65101,65104],[0,65136,Tp],[0,65142,65277],[0,65296,65306],[0,65313,65339],[0,65343,O5],[0,65345,65371],[0,65382,65471],[0,65474,65480],[0,65482,65488],[0,65490,65496],[0,65498,65501],[0,b3,a8],[0,65549,m8],[0,65576,lp],[0,65596,p5],[0,65599,65614],[0,65616,65630],[0,65664,65787],[0,65856,65909],[0,66045,66046],[0,66176,66205],[0,66208,66257],[0,66272,66273],[0,66304,66336],[0,66349,66379],[0,66384,66427],[0,66432,66462],[0,66464,66500],[0,66504,s5],[0,66513,66518],[0,66560,66718],[0,66720,66730],[0,66736,66772],[0,66776,66812],[0,66816,66856],[0,66864,66916],[0,67072,67383],[0,67392,67414],[0,67424,67432],[0,67584,67590],[0,cy,a5],[0,67594,Y5],[0,67639,67641],[0,Q5,67645],[0,67647,67670],[0,67680,67703],[0,67712,67743],[0,67808,hy],[0,67828,67830],[0,67840,67862],[0,67872,67898],[0,67968,68024],[0,68030,68032],[0,Cy,68100],[0,68101,68103],[0,68108,cp],[0,68117,Ty],[0,68121,68150],[0,68152,68155],[0,68159,68160],[0,68192,68221],[0,68224,68253],[0,68288,B4],[0,68297,68327],[0,68352,68406],[0,68416,68438],[0,68448,68467],[0,68480,68498],[0,68608,68681],[0,68736,68787],[0,68800,68851],[0,68864,68904],[0,68912,68922],[0,69376,69405],[0,c8,69416],[0,69424,69457],[0,69600,69623],[0,69632,69703],[0,69734,hp],[0,69759,69819],[0,69840,69865],[0,69872,69882],[0,69888,69941],[0,69942,69952],[0,z8,v8],[0,69968,70004],[0,Q4,70007],[0,70016,70085],[0,70089,70093],[0,70096,W4],[0,Sy,70109],[0,70144,ry],[0,70163,70200],[0,70206,70207],[0,70272,w8],[0,f5,sp],[0,70282,G8],[0,70287,b4],[0,70303,70313],[0,70320,70379],[0,70384,70394],[0,70400,P8],[0,70405,70413],[0,70415,70417],[0,70419,C8],[0,70442,yp],[0,70450,wy],[0,70453,70458],[0,70459,70469],[0,70471,70473],[0,70475,70478],[0,Ey,70481],[0,70487,70488],[0,70493,70500],[0,70502,70509],[0,70512,70517],[0,70656,70731],[0,70736,70746],[0,B5,70752],[0,70784,w5],[0,m5,70856],[0,70864,70874],[0,71040,71094],[0,71096,71105],[0,71128,71134],[0,71168,71233],[0,Wp,71237],[0,71248,71258],[0,71296,71353],[0,71360,71370],[0,71424,71451],[0,71453,71468],[0,71472,71482],[0,71680,71739],[0,71840,71914],[0,71935,71936],[0,72096,72104],[0,72106,72152],[0,72154,A8],[0,O4,72165],[0,ty,72255],[0,72263,72264],[0,i5,72346],[0,n8,72350],[0,72384,72441],[0,72704,r5],[0,72714,72759],[0,72760,72769],[0,72784,72794],[0,72818,72848],[0,72850,72872],[0,72873,72887],[0,72960,F4],[0,72968,_5],[0,72971,73015],[0,73018,73019],[0,73020,73022],[0,73023,73032],[0,73040,73050],[0,73056,fy],[0,73063,R8],[0,73066,73103],[0,73104,73106],[0,73107,73113],[0,73120,73130],[0,73440,73463],[0,73728,74650],[0,74752,74863],[0,74880,75076],[0,77824,78895],[0,82944,83527],[0,92160,92729],[0,92736,92767],[0,92768,92778],[0,92880,92910],[0,92912,92917],[0,92928,92983],[0,92992,92996],[0,93008,93018],[0,93027,93048],[0,93053,93072],[0,93760,93824],[0,93952,94027],[0,j8,94088],[0,94095,94112],[0,94176,Gp],[0,Op,94180],[0,94208,100344],[0,100352,101107],[0,110592,110879],[0,110928,110931],[0,110948,110952],[0,110960,111356],[0,113664,113771],[0,113776,113789],[0,113792,113801],[0,113808,113818],[0,113821,113823],[0,119141,119146],[0,119149,119155],[0,119163,119171],[0,119173,119180],[0,119210,119214],[0,119362,119365],[0,119808,M4],[0,119894,O8],[0,119966,119968],[0,Py,119971],[0,119973,119975],[0,119977,$p],[0,119982,Cp],[0,R5,h5],[0,119997,u5],[0,120005,Np],[0,120071,120075],[0,120077,Fp],[0,120086,o5],[0,120094,e8],[0,120123,Kp],[0,120128,xy],[0,Up,120135],[0,120138,Dp],[0,120146,120486],[0,120488,ay],[0,120514,h8],[0,120540,x5],[0,120572,Y4],[0,120598,q4],[0,120630,uy],[0,120656,j5],[0,120688,gy],[0,120714,Q8],[0,120746,my],[0,120772,120780],[0,120782,120832],[0,121344,121399],[0,121403,121453],[0,121461,121462],[0,121476,121477],[0,121499,121504],[0,121505,121520],[0,122880,122887],[0,122888,122905],[0,122907,122914],[0,122915,122917],[0,122918,122923],[0,123136,123181],[0,123184,123198],[0,123200,123210],[0,_p,123215],[0,123584,123642],[0,124928,125125],[0,125136,125143],[0,125184,125260],[0,125264,125274],[0,126464,A5],[0,126469,yy],[0,126497,K5],[0,zp,126501],[0,G4,y5],[0,126505,rp],[0,126516,Bp],[0,L4,Z8],[0,X8,126524],[0,L5,126531],[0,M5,wp],[0,k5,l5],[0,ly,C5],[0,126541,E8],[0,126545,dp],[0,kr,126549],[0,d5,py],[0,pp,u8],[0,Qp,Ny],[0,J4,q5],[0,H4,dy],[0,126561,Xp],[0,$4,126565],[0,126567,Z5],[0,126572,X4],[0,126580,l8],[0,126585,Ap],[0,ip,Iy],[0,126592,F8],[0,126603,126620],[0,126625,L8],[0,126629,Y8],[0,126635,126652],[0,131072,173783],[0,173824,177973],[0,177984,178206],[0,178208,183970],[0,183984,191457],[0,194560,195102],[0,917760,918e3]],Z00=[0,1,0],$00=[0,0,[0,1,0],[0,1,0]],F00=nj,Q00="end of input",H00=dl,q00="template literal part",G00=dl,b00=QD,xx0=nj,rx0=dl,ex0=ka,tx0=dl,nx0=pv,ux0=dl,ix0=La,fx0="an",cx0=It,sx0=Lt,ox0=[0,[11,"token `",[2,0,[12,96,0]]],"token `%s`"],vx0="{",ax0=K8,lx0="{|",px0="|}",yx0=LU,dx0=JS,mx0="[",kx0="]",hx0=wT,_x0=KU,wx0=Hf,Tx0="=>",Sx0="...",Ex0=yD,Ax0=zU,gx0=la,Nx0=Hp,Ix0=mo,Px0=Z3,Cx0=Me,Rx0=Ke,Ox0=fv,Lx0=ze,Ux0=ny,Mx0=sl,Dx0=Mp,jx0=ap,zx0=nl,Kx0=ya,Jx0=lv,Yx0=As,Bx0=Ts,Xx0=Le,Wx0=Jp,Vx0=W8,Zx0=Ce,$x0=cv,Fx0=W5,Qx0=gp,Hx0=d8,qx0=Y3,Gx0=Ic,bx0=De,xr0=Rp,rr0=iv,er0=el,tr0=ws,nr0=gs,ur0=cl,ir0=r8,fr0=R2,cr0=Ia,sr0=dv,or0=F2,vr0=Zp,ar0=kl,lr0=W3,pr0=j3,yr0=U2,dr0=Re,mr0=Q3,kr0=bu,hr0=Rh,_r0=Yh,wr0=ko,Tr0=_v,Sr0="%checks",Er0=sz,Ar0=mM,gr0=wj,Nr0=Yz,Ir0=AD,Pr0=uM,Cr0=RU,Rr0=Hz,Or0=xD,Lr0=sM,Ur0=tK,Mr0=dM,Dr0=KD,jr0=Fz,zr0=Yj,Kr0=U_,Jr0="?.",Yr0=c9,Br0="?",Xr0=Nv,Wr0=oD,Vr0=Gz,Zr0=uK,$r0=k8,Fr0=R4,Qr0=eM,Hr0=JM,qr0=xM,Gr0=jM,br0=EM,x10=yj,r10=JT,e10=$3,t10=HU,n10=yM,u10=MU,i10=Ls,f10=Ot,c10=$2,s10=vz,o10=OM,v10=BM,a10=LM,l10=Fj,p10=gz,y10=_D,d10=wx,m10=n5,k10=op,h10=ce,_10=ka,w10=pv,T10=La,S10=gs,E10=_x,A10=g5,g10=I8,N10=G5,I10=N8,P10=Ta,C10=PD,R10=al,O10=da,L10=D3,U10=D3,M10=qz,D10=D3,j10=D3,z10=K8,K10=K8,J10=qz,Y10=$2,B10=$2,X10=F3,W10=S5,V10="T_LCURLY",Z10="T_RCURLY",$10="T_LCURLYBAR",F10="T_RCURLYBAR",Q10="T_LPAREN",H10="T_RPAREN",q10="T_LBRACKET",G10="T_RBRACKET",b10="T_SEMICOLON",x20="T_COMMA",r20="T_PERIOD",e20="T_ARROW",t20="T_ELLIPSIS",n20="T_AT",u20="T_POUND",i20="T_FUNCTION",f20="T_IF",c20="T_IN",s20="T_INSTANCEOF",o20="T_RETURN",v20="T_SWITCH",a20="T_THIS",l20="T_THROW",p20="T_TRY",y20="T_VAR",d20="T_WHILE",m20="T_WITH",k20="T_CONST",h20="T_LET",_20="T_NULL",w20="T_FALSE",T20="T_TRUE",S20="T_BREAK",E20="T_CASE",A20="T_CATCH",g20="T_CONTINUE",N20="T_DEFAULT",I20="T_DO",P20="T_FINALLY",C20="T_FOR",R20="T_CLASS",O20="T_EXTENDS",L20="T_STATIC",U20="T_ELSE",M20="T_NEW",D20="T_DELETE",j20="T_TYPEOF",z20="T_VOID",K20="T_ENUM",J20="T_EXPORT",Y20="T_IMPORT",B20="T_SUPER",X20="T_IMPLEMENTS",W20="T_INTERFACE",V20="T_PACKAGE",Z20="T_PRIVATE",$20="T_PROTECTED",F20="T_PUBLIC",Q20="T_YIELD",H20="T_DEBUGGER",q20="T_DECLARE",G20="T_TYPE",b20="T_OPAQUE",xe0="T_OF",re0="T_ASYNC",ee0="T_AWAIT",te0="T_CHECKS",ne0="T_RSHIFT3_ASSIGN",ue0="T_RSHIFT_ASSIGN",ie0="T_LSHIFT_ASSIGN",fe0="T_BIT_XOR_ASSIGN",ce0="T_BIT_OR_ASSIGN",se0="T_BIT_AND_ASSIGN",oe0="T_MOD_ASSIGN",ve0="T_DIV_ASSIGN",ae0="T_MULT_ASSIGN",le0="T_EXP_ASSIGN",pe0="T_MINUS_ASSIGN",ye0="T_PLUS_ASSIGN",de0="T_NULLISH_ASSIGN",me0="T_AND_ASSIGN",ke0="T_OR_ASSIGN",he0="T_ASSIGN",_e0="T_PLING_PERIOD",we0="T_PLING_PLING",Te0="T_PLING",Se0="T_COLON",Ee0="T_OR",Ae0="T_AND",ge0="T_BIT_OR",Ne0="T_BIT_XOR",Ie0="T_BIT_AND",Pe0="T_EQUAL",Ce0="T_NOT_EQUAL",Re0="T_STRICT_EQUAL",Oe0="T_STRICT_NOT_EQUAL",Le0="T_LESS_THAN_EQUAL",Ue0="T_GREATER_THAN_EQUAL",Me0="T_LESS_THAN",De0="T_GREATER_THAN",je0="T_LSHIFT",ze0="T_RSHIFT",Ke0="T_RSHIFT3",Je0="T_PLUS",Ye0="T_MINUS",Be0="T_DIV",Xe0="T_MULT",We0="T_EXP",Ve0="T_MOD",Ze0="T_NOT",$e0="T_BIT_NOT",Fe0="T_INCR",Qe0="T_DECR",He0="T_EOF",qe0="T_ANY_TYPE",Ge0="T_MIXED_TYPE",be0="T_EMPTY_TYPE",xt0="T_NUMBER_TYPE",rt0="T_BIGINT_TYPE",et0="T_STRING_TYPE",tt0="T_VOID_TYPE",nt0="T_SYMBOL_TYPE",ut0="T_UNKNOWN_TYPE",it0="T_NEVER_TYPE",ft0="T_UNDEFINED_TYPE",ct0="T_KEYOF",st0="T_READONLY",ot0="T_INFER",vt0="T_IS",at0="T_ASSERTS",lt0="T_NUMBER",pt0="T_BIGINT",yt0="T_STRING",dt0="T_TEMPLATE_PART",mt0="T_IDENTIFIER",kt0="T_REGEXP",ht0="T_INTERPRETER",_t0="T_ERROR",wt0="T_JSX_IDENTIFIER",Tt0=$z,St0=$z,Et0="T_BOOLEAN_TYPE",At0="T_NUMBER_SINGLETON_TYPE",gt0="T_BIGINT_SINGLETON_TYPE",Nt0=[0,ZD,RS,9],It0=[0,ZD,ZT,9],Pt0=iD,Ct0="*/",Rt0=iD,Ot0="unreachable line_comment",Lt0="unreachable string_quote",Ut0="\\",Mt0="unreachable template_part",Dt0=`\r -`,jt0=lT,zt0="unreachable regexp_class",Kt0=kz,Jt0="unreachable regexp_body",Yt0=wx,Bt0=wx,Xt0=wx,Wt0=wx,Vt0=oz,Zt0="{'>'}",$t0=$3,Ft0="{'}'}",Qt0=K8,Ht0=lo,qt0=wT,Gt0=R4,bt0=oz,xn0=lo,rn0=wT,en0=R4,tn0="unreachable type_token wholenumber",nn0="unreachable type_token wholebigint",un0="unreachable type_token floatbigint",in0="unreachable type_token scinumber",fn0="unreachable type_token scibigint",cn0="unreachable type_token hexnumber",sn0="unreachable type_token hexbigint",on0="unreachable type_token legacyoctnumber",vn0="unreachable type_token octnumber",an0="unreachable type_token octbigint",ln0="unreachable type_token binnumber",pn0="unreachable type_token bigbigint",yn0="unreachable type_token",dn0=dz,mn0=[11,1],kn0=[11,0],hn0="unreachable template_tail",_n0=wx,wn0=wx,Tn0="unreachable jsx_child",Sn0="unreachable jsx_tag",En0=[0,oM],An0=[0,913],gn0=[0,ma],Nn0=[0,mh],In0=[0,KM],Pn0=[0,Xz],Cn0=[0,8747],Rn0=[0,iz],On0=[0,916],Ln0=[0,8225],Un0=[0,935],Mn0=[0,pA],Dn0=[0,914],jn0=[0,Ej],zn0=[0,DM],Kn0=[0,Oz],Jn0=[0,915],Yn0=[0,Kz],Bn0=[0,919],Xn0=[0,917],Wn0=[0,iK],Vn0=[0,Gj],Zn0=[0,AM],$n0=[0,924],Fn0=[0,923],Qn0=[0,922],Hn0=[0,bz],qn0=[0,921],Gn0=[0,VM],bn0=[0,ZT],x70=[0,JU],r70=[0,FI],e70=[0,927],t70=[0,937],n70=[0,Vz],u70=[0,cE],i70=[0,XM],f70=[0,338],c70=[0,352],s70=[0,929],o70=[0,936],v70=[0,8243],a70=[0,928],l70=[0,934],p70=[0,Vj],y70=[0,UU],d70=[0,933],m70=[0,gj],k70=[0,Qj],h70=[0,Lz],_70=[0,920],w70=[0,932],T70=[0,VU],S70=[0,JD],E70=[0,LD],A70=[0,kj],g70=[0,918],N70=[0,376],I70=[0,WD],P70=[0,926],C70=[0,_j],R70=[0,Cz],O70=[0,925],L70=[0,39],U70=[0,8736],M70=[0,8743],D70=[0,38],j70=[0,945],z70=[0,8501],K70=[0,Aa],J70=[0,8226],Y70=[0,CD],B70=[0,946],X70=[0,8222],W70=[0,hj],V70=[0,Zz],Z70=[0,8776],$70=[0,az],F70=[0,8773],Q70=[0,9827],H70=[0,WM],q70=[0,967],G70=[0,zD],b70=[0,OI],xu0=[0,xj],ru0=[0,cD],eu0=[0,8595],tu0=[0,8224],nu0=[0,8659],uu0=[0,OT],iu0=[0,8746],fu0=[0,8629],cu0=[0,e5],su0=[0,8745],ou0=[0,8195],vu0=[0,8709],au0=[0,rK],lu0=[0,nK],pu0=[0,kD],yu0=[0,J8],du0=[0,9830],mu0=[0,8707],ku0=[0,8364],hu0=[0,Ez],_u0=[0,ha],wu0=[0,951],Tu0=[0,8801],Su0=[0,949],Eu0=[0,8194],Au0=[0,8805],gu0=[0,947],Nu0=[0,8260],Iu0=[0,kM],Pu0=[0,oj],Cu0=[0,RS],Ru0=[0,8704],Ou0=[0,dT],Lu0=[0,Fg],Uu0=[0,8230],Mu0=[0,9829],Du0=[0,8596],ju0=[0,8660],zu0=[0,62],Ku0=[0,402],Ju0=[0,948],Yu0=[0,ND],Bu0=[0,qS],Xu0=[0,8712],Wu0=[0,bD],Vu0=[0,953],Zu0=[0,8734],$u0=[0,8465],Fu0=[0,Dz],Qu0=[0,8220],Hu0=[0,8968],qu0=[0,8592],Gu0=[0,Ck],bu0=[0,10216],xi0=[0,955],ri0=[0,8656],ei0=[0,954],ti0=[0,60],ni0=[0,8216],ui0=[0,8249],ii0=[0,YD],fi0=[0,9674],ci0=[0,8727],si0=[0,8970],oi0=[0,zS],vi0=[0,8711],ai0=[0,956],li0=[0,8722],pi0=[0,ey],yi0=[0,AC],di0=[0,8212],mi0=[0,mk],ki0=[0,8804],hi0=[0,957],_i0=[0,OU],wi0=[0,8836],Ti0=[0,8713],Si0=[0,OD],Ei0=[0,8715],Ai0=[0,8800],gi0=[0,8853],Ni0=[0,959],Ii0=[0,969],Pi0=[0,8254],Ci0=[0,cz],Ri0=[0,339],Oi0=[0,$5],Li0=[0,Mj],Ui0=[0,Hk],Mi0=[0,_8],Di0=[0,8855],ji0=[0,mS],zi0=[0,Qr],Ki0=[0,qh],Ji0=[0,Z9],Yi0=[0,Nz],Bi0=[0,_M],Xi0=[0,982],Wi0=[0,960],Vi0=[0,966],Zi0=[0,8869],$i0=[0,8240],Fi0=[0,8706],Qi0=[0,8744],Hi0=[0,8211],qi0=[0,10217],Gi0=[0,8730],bi0=[0,8658],xf0=[0,34],rf0=[0,968],ef0=[0,8733],tf0=[0,8719],nf0=[0,961],uf0=[0,8971],if0=[0,Qz],ff0=[0,8476],cf0=[0,8221],sf0=[0,8969],of0=[0,8594],vf0=[0,rA],af0=[0,Aj],lf0=[0,DN],pf0=[0,8901],yf0=[0,353],df0=[0,8218],mf0=[0,8217],kf0=[0,8250],hf0=[0,8835],_f0=[0,8721],wf0=[0,8838],Tf0=[0,8834],Sf0=[0,9824],Ef0=[0,8764],Af0=[0,962],gf0=[0,963],Nf0=[0,8207],If0=[0,952],Pf0=[0,8756],Cf0=[0,964],Rf0=[0,x8],Of0=[0,8839],Lf0=[0,DU],Uf0=[0,qj],Mf0=[0,Pv],Df0=[0,8657],jf0=[0,8482],zf0=[0,NT],Kf0=[0,732],Jf0=[0,Pa],Yf0=[0,8201],Bf0=[0,977],Xf0=[0,Rz],Wf0=[0,Ea],Vf0=[0,965],Zf0=[0,978],$f0=[0,RT],Ff0=[0,V4],Qf0=[0,vj],Hf0=[0,Rj],qf0=[0,8205],Gf0=[0,950],bf0=[0,B3],xc0=[0,wz],rc0=[0,H8],ec0=[0,958],tc0=[0,8593],nc0=[0,Bw],uc0=[0,8242],ic0=[0,FD],fc0="unreachable regexp",cc0="unreachable token wholenumber",sc0="unreachable token wholebigint",oc0="unreachable token floatbigint",vc0="unreachable token scinumber",ac0="unreachable token scibigint",lc0="unreachable token hexnumber",pc0="unreachable token hexbigint",yc0="unreachable token legacyoctnumber",dc0="unreachable token legacynonoctnumber",mc0="unreachable token octnumber",kc0="unreachable token octbigint",hc0="unreachable token bignumber",_c0="unreachable token bigint",wc0="unreachable token",Tc0=dz,Sc0=[7,"#!"],Ec0="expected ?",Ac0="unreachable string_escape",gc0=Q2,Nc0=K3,Ic0=K3,Pc0=Q2,Cc0=FE,Rc0=Bj,Oc0="n",Lc0="r",Uc0="t",Mc0=MM,Dc0=K3,jc0=lo,zc0=lo,Kc0="unreachable id_char",Jc0=lo,Yc0=lo,Bc0=K3,Xc0=NM,Wc0=gD,Vc0=bT,Zc0=[23,"token ILLEGAL"],$c0=[0,[11,"the identifier `",[2,0,[12,96,0]]],"the identifier `%s`"],Fc0=[0,1],Qc0=[0,1],Hc0=uD,qc0=uD,Gc0=[0,[11,"an identifier. When exporting a ",[2,0,[11," as a named export, you must specify a ",[2,0,[11," name. Did you mean `export default ",[2,0,[11," ...`?",0]]]]]]],"an identifier. When exporting a %s as a named export, you must specify a %s name. Did you mean `export default %s ...`?"],bc0=fp,xs0="Peeking current location when not available",rs0=[0,"src/parser/parser_env.ml",351,9],es0="Internal Error: Tried to add_declared_private with outside of class scope.",ts0="Internal Error: `exit_class` called before a matching `enter_class`",ns0=wx,us0=[0,0,0],is0=[0,0,0],fs0="Parser_env.Try.Rollback",cs0=wx,ss0=wx,os0=[0,U2,ri,vf,rD,hD,Lf,L2,Ei,Yc,qu,W7,Hn,Ec,Bu,oi,U7,w7,$7,Jf,Xf,Ti,M7,Jn,ai,Lc,h7,Rc,li,Kf,hi,Fn,Xn,rc,hu,Ki,cf,Kc,ze,wf,Si,gc,pf,Rf,Z7,Eu,Ke,Gi,m7,Bi,Ji,Tc,N7,Xu,lc,Me,I7,Zi,pu,Pu,fu,pc,je,su,ac,Uf,mu,zc,Df,b7,$f,fc,Nu,Oi,a7,f7,Lu,X7,S7,wc,vc,D7,Au,Pc,pn,Sf,Yu,bn,Qf,H7,si,bf,ei,kf,ti,r7,Oc,nf,Dc,Wi,ru,Yf,Of,Pi,g7,mf,Y7,Ac,zu,Nc,Cc,i7,$u,yc,Cu,ii,u7,xr,qi,tu,Kn,P7,Ni,Bn,Ou,L7,qf,$i,Vf,Zf,Vn,q7,n7,C7,ui,Mc,xi,du,yf,x7,tc,Sc,Ju,Ui,F1,au,G7,Wc,uu,Di,Mf,Qn,Hu,F2,A7,jf,cu,of,c7,Du,eu,di,R2,_7,t7,k7,It,Su,ou,mi,lu,Yi,jc,ki,zn,af,Gu,If,Fu,Qu,R7,Yn,d7,nc,jn,F7,xc,Vu,iu,wu,Ru,Ci,xu,V7,df,Cf,o7,J7,Zn,Zu,pi,Q1,z7,zf,v7,_f,$n,p7,ef,Uu,gu,cc,kc,xf,Li,Iu,e7,_u,Hi,ff,qn,Ri,ce,Ai,_c,Tf,ec,sf,Gf,ju,Pf,y7,Mi,dc,lf,Mu,Re,Ce,Fi,oc,ic,Wn,Wf,tf,vi,mc,Wu,K7,Bc,s7,nu,Xi,Ff,ej,fi,$j,$M,_i,bi,yi,Tu,B7,Jc,Qi,ji,ku,j7,uf,Gn,hc,Xc,ci,T7,Bf,rf,Q7,E7,Le,sc,Ku,un,Nf,zi,O7,uc,yu,Ii,Af,l7,ni,gf,hf],vs0=[0,U2,ri,vf,Lf,L2,Ei,Yc,qu,W7,Hn,Ec,Bu,oi,U7,w7,$7,Jf,Xf,Ti,M7,Jn,ai,Lc,h7,Rc,li,Kf,hi,Fn,Xn,rc,hu,Ki,cf,Kc,ze,wf,Si,gc,pf,Rf,Z7,Eu,Ke,Gi,m7,Bi,Ji,Tc,N7,Xu,lc,Me,I7,Zi,pu,Pu,fu,pc,je,su,ac,Uf,mu,zc,Df,b7,$f,fc,Nu,Oi,a7,f7,Lu,X7,S7,wc,vc,D7,Au,Pc,pn,Sf,Yu,bn,Qf,H7,si,bf,ei,kf,ti,r7,Oc,nf,Dc,Wi,ru,Yf,Of,Pi,g7,mf,Y7,Ac,zu,Nc,Cc,i7,$u,yc,Cu,ii,u7,xr,qi,tu,Kn,P7,Ni,Bn,Ou,L7,qf,$i,Vf,Zf,Vn,q7,n7,C7,ui,Mc,xi,du,yf,x7,tc,Sc,Ju,Ui,F1,au,G7,Wc,uu,Di,Mf,Qn,Hu,F2,A7,jf,cu,of,c7,Du,eu,di,R2,_7,t7,k7,It,Su,ou,mi,lu,Yi,jc,ki,zn,af,Gu,If,Fu,Qu,R7,Yn,d7,nc,jn,F7,xc,Vu,iu,wu,Ru,Ci,xu,V7,df,Cf,o7,J7,Zn,Zu,pi,Q1,z7,zf,v7,_f,$n,p7,ef,Uu,gu,cc,kc,xf,Li,Iu,e7,_u,Hi,ff,qn,Ri,ce,Ai,_c,Tf,ec,sf,Gf,ju,Pf,y7,Mi,dc,lf,Mu,Re,Ce,Fi,oc,ic,Wn,Wf,tf,vi,mc,Wu,K7,Bc,s7,nu,Xi,Ff,fi,_i,bi,yi,Tu,B7,Jc,Qi,ji,ku,j7,uf,Gn,hc,Xc,ci,T7,Bf,rf,Q7,E7,Le,sc,Ku,un,Nf,zi,O7,uc,yu,Ii,Af,l7,ni,gf,hf],as0=[0,Tc,F1,Fu,Su,zn,E7,Nc,Yf,ui,Qn,Ku,Rc,bf,Ke,H7,zf,uf,nf,tc,i7,A7,Ju,Hi,Li,ri,S7,lu,wu,f7,qf,mc,mi,_u,Cu,It,Lf,Cf,fc,Pf,rf,Qu,Bf,yf,Uu,su,jc,Ru,Eu,Pi,t7,Bi,of,ff,L7,yc,ji,bi,Sf,hf,zc,s7,ai,ru,Uf,q7,B7,ei,je,Oc,af,Yu,ii,Mc,x7,ou,P7,oc,Kf,kc,n7,Ni,If,$f,l7,Gf,p7,qi,pu,Pc,ni,Ri,Q7,lc,L2,ac,dc,$7,I7,_7,O7,iu,Kc,Wc,j7,Y7,Z7,ce,V7,li,U2,Bn,cf,Mi,Df,Bu,D7,lf,Pu,uc,Ec,_i,y7,zu,qu,Sc,Xn,Mf,Iu,Zn,si,v7,Ou,vc,o7,Xf,Fn,nu,Ei,rc,N7,Jf,m7,Hn,Jc,jf,Ci,yi,Kn,Gu,Xi,W7,fi,Ac,Vf,yu,tu,Xc,ku,K7,wc,Zf,Bc,xr,R2,Me,w7,Ti,Gi,X7,ze,Re,Cc,k7,Qf,pi,Ui,pn,sc,nc,e7,cu,Tu,z7,R7,au,ki,U7,xf,pc,xc,eu,cc,$n,Wf,mf,Xu,Of,c7,ti,Oi,hi,Wi,mu,r7,M7,sf,ci,ju,Nf,uu,Rf,qn,hu,Yi,fu,di,Dc,hc,g7,du,Qi,Hu,Ai,h7,gf,Yc,_c,T7,Lc,Tf,xi,G7,ic,$i,a7,$u,Di,J7,Vn,Jn,gc,Ii,tf,Lu,zi,Q1,Au,Ff,Zu,Ki,jn,F7,Ji,Ce,Yn,Wu,b7,ef,ec,Si,pf,Vu,_f,oi,xu,bn,un,Du,Gn,C7,kf,d7,Mu,gu,Le,Af,F2,Fi,vf,vi,Zi,df,Wn,Nu,wf,u7],ls0=[0,Tc,F1,Fu,Su,zn,E7,Nc,Yf,ui,Qn,Ku,Rc,bf,Ke,H7,zf,uf,nf,tc,i7,A7,Ju,Hi,Li,ri,S7,lu,wu,f7,qf,mc,mi,_u,Cu,It,Lf,hD,Cf,fc,Pf,rf,Qu,Bf,yf,Uu,su,jc,Ru,Eu,Pi,t7,Bi,of,ff,L7,yc,ji,bi,Sf,hf,zc,s7,$j,ai,ru,Uf,q7,B7,ei,je,Oc,af,Yu,ii,Mc,x7,ou,P7,oc,Kf,kc,n7,Ni,If,$f,l7,Gf,p7,qi,pu,Pc,ni,Ri,Q7,lc,L2,ac,dc,$7,I7,_7,O7,iu,Kc,Wc,j7,Y7,Z7,ce,V7,li,U2,Bn,cf,Mi,Df,Bu,D7,lf,Pu,uc,Ec,_i,y7,zu,qu,Sc,Xn,Mf,Iu,Zn,si,v7,Ou,vc,o7,Xf,Fn,nu,Ei,rc,N7,Jf,m7,Hn,Jc,jf,Ci,yi,Kn,Gu,Xi,W7,fi,Ac,Vf,yu,tu,Xc,ku,K7,wc,Zf,Bc,xr,R2,Me,w7,Ti,Gi,X7,ze,Re,Cc,k7,Qf,pi,Ui,pn,sc,nc,e7,cu,Tu,z7,R7,au,ki,U7,xf,pc,xc,eu,cc,$n,Wf,mf,Xu,Of,c7,ti,Oi,hi,Wi,mu,r7,M7,sf,ci,ju,Nf,uu,$M,Rf,qn,hu,Yi,fu,di,Dc,hc,g7,du,Qi,Hu,Ai,h7,ej,gf,Yc,_c,T7,Lc,rD,Tf,xi,G7,ic,$i,a7,$u,Di,J7,Vn,Jn,gc,Ii,tf,Lu,zi,Q1,Au,Ff,Zu,Ki,jn,F7,Ji,Ce,Yn,Wu,b7,ef,ec,Si,pf,Vu,_f,oi,xu,bn,un,Du,Gn,C7,kf,d7,Mu,gu,Le,Af,F2,Fi,vf,vi,Zi,df,Wn,Nu,wf,u7],ps0=la,ys0=Hp,ds0=mo,ms0=Z3,ks0=Me,hs0=Ke,_s0=fv,ws0=ze,Ts0=ny,Ss0=sl,Es0=Mp,As0=ap,gs0=nl,Ns0=ya,Is0=lv,Ps0=As,Cs0=Ts,Rs0=Le,Os0=Jp,Ls0=W8,Us0=Ce,Ms0=cv,Ds0=W5,js0=gp,zs0=d8,Ks0=Y3,Js0=Ic,Ys0=De,Bs0=Rp,Xs0=iv,Ws0=el,Vs0=ws,Zs0=gs,$s0=cl,Fs0=r8,Qs0=R2,Hs0=Ia,qs0=dv,Gs0=F2,bs0=Zp,xo0=kl,ro0=W3,eo0=j3,to0=U2,no0=Re,uo0=Q3,io0=bu,fo0=Rh,co0=Yh,so0=ko,oo0=_v,vo0=n5,ao0=op,lo0=ce,po0=ka,yo0=pv,do0=La,mo0=gs,ko0=_x,ho0=g5,_o0=I8,wo0=G5,To0=N8,So0=Ta,Eo0=al,Ao0=da,go0=F3,No0=S5,Io0=[0,fp],Po0=wx,Co0=[0,1],Ro0=[0,_a,1371,6],Oo0=[0,_a,1374,6],Lo0=[0,_a,1477,8],Uo0=[0,1],Mo0=[0,_a,1494,8],Do0="Can not have both `static` and `proto`",jo0=De,zo0=RP,Ko0=[0,0,0,0],Jo0=[0,0],Yo0=[0,[0,0,0,0,0]],Bo0=al,Xo0=da,Wo0=[0,"a number literal type"],Vo0=[0,0],Zo0=vo,$o0=[0,0],Fo0=[0,"a type"],Qo0=[0,0],Ho0=[0,0],qo0=[16,1],Go0=[16,0],bo0=[0,_a,mS,15],xv0=[0,_a,cE,15],rv0=Ot,ev0=Ot,tv0=I5,nv0=ll,uv0=[0,[11,"Failure while looking up ",[2,0,[11,". Index: ",[4,0,0,0,[11,". Length: ",[4,0,0,0,[12,46,0]]]]]]],"Failure while looking up %s. Index: %d. Length: %d."],iv0=[0,0,0,0],fv0="Offset_utils.Offset_lookup_failed",cv0=a1,sv0=ID,ov0=ll,vv0=I5,av0=mj,lv0=ll,pv0=I5,yv0=T9,dv0=gA,mv0="normal",kv0=bu,hv0="jsxTag",_v0="jsxChild",wv0="template",Tv0=QD,Sv0="context",Ev0=bu,Av0=[6,0],gv0=[0,0],Nv0=[0,1],Iv0=[0,4],Pv0=[0,2],Cv0=[0,3],Rv0=[0,0],Ov0=[0,0,0,0,0,0],Lv0=vo,Uv0=[0,74],Mv0=Ct,Dv0=Ct,jv0=[0,74],zv0=[0,74],Kv0=la,Jv0=[0,wx,0],Yv0=[0,0,0],Bv0=[0,0,0],Xv0=[0,82],Wv0=$2,Vv0=$2,Zv0=[0,"a regular expression"],$v0=wx,Fv0=wx,Qv0=wx,Hv0=[0,"src/parser/expression_parser.ml",1363,17],qv0=[0,"a template literal part"],Gv0=[0,[0,wx,wx],1],bv0=[0,0],xa0=K3,ra0=NM,ea0=bT,ta0=bT,na0=gD,ua0=[0,74],ia0=[0,1],fa0=[0,1],ca0=[0,1],sa0=[0,1],oa0=[0,1],va0=ga,aa0=iv,la0=[0,"the identifier `target`"],pa0=[0,0],ya0=R2,da0=pl,ma0=pl,ka0=Ia,ha0=[0,"either a call or access of `super`"],_a0=Ia,wa0=[0,1],Ta0=[0,0],Sa0=[0,1],Ea0=[0,0],Aa0=[0,1],ga0=[0,0],Na0=[0,2],Ia0=[0,3],Pa0=[0,7],Ca0=[0,6],Ra0=[0,4],Oa0=[0,5],La0=[0,6],Ua0=[0,[0,17,[0,2]]],Ma0=[0,[0,18,[0,3]]],Da0=[0,[0,19,[0,4]]],ja0=[0,[0,0,[0,5]]],za0=[0,[0,1,[0,5]]],Ka0=[0,[0,2,[0,5]]],Ja0=[0,[0,3,[0,5]]],Ya0=[0,[0,5,[0,6]]],Ba0=[0,[0,7,[0,6]]],Xa0=[0,[0,4,[0,6]]],Wa0=[0,[0,6,[0,6]]],Va0=[0,[0,8,[0,7]]],Za0=[0,[0,9,[0,7]]],$a0=[0,[0,10,[0,7]]],Fa0=[0,[0,11,[0,8]]],Qa0=[0,[0,12,[0,8]]],Ha0=[0,[0,15,[0,9]]],qa0=[0,[0,13,[0,9]]],Ga0=[0,[0,14,[1,10]]],ba0=[0,[0,16,[0,9]]],x30=[0,[0,21,[0,6]]],r30=[0,[0,20,[0,6]]],e30=[19,c9],t30=[0,[0,8]],n30=[0,[0,7]],u30=[0,[0,6]],i30=[0,[0,10]],f30=[0,[0,9]],c30=[0,[0,11]],s30=[0,[0,5]],o30=[0,[0,4]],v30=[0,[0,2]],a30=[0,[0,3]],l30=[0,[0,1]],p30=[0,[0,0]],y30=[0,[0,12]],d30=[0,[0,13]],m30=[0,[0,14]],k30=[0,0],h30=Y3,_30=[0,wx,0],w30="unexpected PrivateName in Property, expected a PrivateField",T30=[0,0,0],S30=yo,E30="Must be one of the above",A30=[0,1],g30=[0,1],N30=[0,1],I30=yo,P30=yo,C30=U_,R30="Internal Error: private name found in object props",O30=[0,1],L30=[0,Yk,1852,21],U30=[0,"a declaration, statement or export specifiers"],M30=[0,85],D30=il,j30=[0,wx,wx,0],z30=[0,QU],K30="exports",J30=[0,1],Y30=[0,1],B30=[0,0],X30=bj,W30=[0,85],V30=vo,Z30=[0,74],$30=[0,0],F30=[0,1],Q30=[0,"the keyword `as`"],H30=[0,34],q30=[0,34],G30=[0,0],b30=[0,1],xl0=[0,QU],rl0=[0,"the keyword `from`"],el0=[0,wx,wx,0],tl0=[0,Kj],nl0="Label",ul0=[0,Kj],il0=[0,0,0],fl0=[0,43],cl0=[0,Yk,429,22],sl0=[0,42],ol0=[0,Yk,448,22],vl0=[0,0],al0="the token `;`",ll0=[0,0],pl0=[0,0],yl0=PM,dl0=[0,fp],ml0=PM,kl0=[23,It],hl0=Nv,_l0=Hf,wl0=[13,"JSX fragment"],Tl0=[0,tn],Sl0=[1,tn],El0=[0,wx,wx,0],Al0=[0,fp],gl0=wx,Nl0=[0,DD],Il0=[18,[0,0]],Pl0=[0,DD],Cl0=[0,0,0,0],Rl0=lT,Ol0="Nooo: ",Ll0=cv,Ul0="Parser error: No such thing as an expression pattern!",Ml0=[0,[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]],Dl0=[0,"src/parser/parser_flow.ml",e5,28],jl0=[0,[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]],zl0=ID,Kl0=gA,Jl0=sD,Yl0=Cj,Bl0=Cj,Xl0=sD,Wl0=bu,Vl0=XU,Zl0=j1,$l0=a1,Fl0="InterpreterDirective",Ql0="interpreter",Hl0="Program",ql0=ml,Gl0="BreakStatement",bl0=ml,x60="ContinueStatement",r60="DebuggerStatement",e60=Iv,t60="DeclareExportAllDeclaration",n60=Iv,u60=ww,i60=VI,f60=cv,c60="DeclareExportDeclaration",s60=po,o60=j1,v60=Hr,a60="DeclareModule",l60=f2,p60="DeclareModuleExports",y60=wa,d60=j1,m60="DoWhileStatement",k60="EmptyStatement",h60=Mh,_60=VI,w60="ExportDefaultDeclaration",T60=Mh,S60=ET,E60=Iv,A60="ExportAllDeclaration",g60=Mh,N60=Iv,I60=ww,P60=VI,C60="ExportNamedDeclaration",R60="directive",O60=Q1,L60="ExpressionStatement",U60=j1,M60="update",D60=wa,j60=vu,z60="ForStatement",K60="each",J60=j1,Y60=vn,B60=Ss,X60="ForInStatement",W60=_v,V60=j1,Z60=vn,$60=Ss,F60="ForOfStatement",Q60=xz,H60=uI,q60=wa,G60="IfStatement",b60=bu,x40=ws,r40=a1,e40=SM,t40=Iv,n40=ww,u40="ImportDeclaration",i40=j1,f40=ml,c40="LabeledStatement",s40=Z2,o40="ReturnStatement",v40="cases",a40="discriminant",l40="SwitchStatement",p40=Z2,y40="ThrowStatement",d40="finalizer",m40="handler",k40=un,h40="TryStatement",_40=j1,w40=wa,T40="WhileStatement",S40=j1,E40=Hw,A40="WithStatement",g40=TD,N40="ArrayExpression",I40=O2,P40=T5,C40=Q1,R40=je,O40=XE,L40=ko,U40=j1,M40=sn,D40=Hr,j40="ArrowFunctionExpression",z40=U_,K40=vn,J40=Ss,Y40=tl,B40="AssignmentExpression",X40=vn,W40=Ss,V40=tl,Z40="BinaryExpression",$40="CallExpression",F40=xz,Q40=uI,H40=wa,q40="ConditionalExpression",G40=Iv,b40="ImportExpression",xp0=oD,rp0=Gz,ep0=c9,tp0=vn,np0=Ss,up0=tl,ip0="LogicalExpression",fp0="MemberExpression",cp0=KN,sp0=pl,op0="MetaProperty",vp0=hN,ap0=Xh,lp0=Uz,pp0="NewExpression",yp0=v9,dp0="ObjectExpression",mp0=nt,kp0="OptionalCallExpression",hp0=nt,_p0="OptionalMemberExpression",wp0=Tz,Tp0="SequenceExpression",Sp0="Super",Ep0="ThisExpression",Ap0=f2,gp0=Q1,Np0="TypeCastExpression",Ip0=Q1,Pp0="AsConstExpression",Cp0=f2,Rp0=Q1,Op0="AsExpression",Lp0=f2,Up0=Q1,Mp0="SatisfiesExpression",Dp0=Z2,jp0="AwaitExpression",zp0=Ot,Kp0=Ls,Jp0=LM,Yp0=Fj,Bp0=ws,Xp0=gs,Wp0=el,Vp0="matched above",Zp0=Z2,$p0=qU,Fp0=tl,Qp0="UnaryExpression",Hp0=_D,qp0=gz,Gp0=qU,bp0=Z2,x80=tl,r80="UpdateExpression",e80="delegate",t80=Z2,n80="YieldExpression",u80="Unexpected FunctionDeclaration with BodyExpression",i80=O2,f80=T5,c80=Q1,s80=je,o80=XE,v80=ko,a80=j1,l80=sn,p80=Hr,y80="FunctionDeclaration",d80="Unexpected FunctionExpression with BodyExpression",m80=O2,k80=T5,h80=Q1,_80=je,w80=XE,T80=ko,S80=j1,E80=sn,A80=Hr,g80="FunctionExpression",N80=nt,I80=f2,P80=Oe,C80=AA,R80=nt,O80=f2,L80=Oe,U80="PrivateIdentifier",M80=nt,D80=f2,j80=Oe,z80=AA,K80=uI,J80=wa,Y80="SwitchCase",B80=j1,X80="param",W80="CatchClause",V80=j1,Z80="BlockStatement",$80=po,F80=Hr,Q80="DeclareVariable",H80=je,q80=Hr,G80="DeclareFunction",b80=vD,x50=dv,r50=Ic,e50=j1,t50=O2,n50=Hr,u50="DeclareClass",i50=O2,f50=X_,c50=sn,s50=aw,o50=sn,v50=Hr,a50="DeclareComponent",l50=O2,p50=X_,y50=aw,d50=sn,m50="ComponentTypeAnnotation",k50=nt,h50=f2,_50=Oe,w50="ComponentTypeParameter",T50=j1,S50=Hr,E50="DeclareEnum",A50=Ic,g50=j1,N50=O2,I50=Hr,P50="DeclareInterface",C50=a1,R50=bu,O50=ET,L50="ExportNamespaceSpecifier",U50=vn,M50=O2,D50=Hr,j50="DeclareTypeAlias",z50=vn,K50=O2,J50=Hr,Y50="TypeAlias",B50="DeclareOpaqueType",X50="OpaqueType",W50="supertype",V50="impltype",Z50=O2,$50=Hr,F50="ClassDeclaration",Q50="ClassExpression",H50=iy,q50=dv,G50="superTypeParameters",b50="superClass",xy0=O2,ry0=j1,ey0=Hr,ty0=Q1,ny0="Decorator",uy0=O2,iy0=Hr,fy0="ClassImplements",cy0=j1,sy0="ClassBody",oy0=kv,vy0=q3,ay0=Tv,ly0=Oa,py0=iy,yy0=Ca,dy0=De,my0=po,ky0=a1,hy0=ov,_y0="MethodDefinition",wy0=Q3,Ty0=iy,Sy0=L2,Ey0=De,Ay0=Ca,gy0=f2,Ny0=a1,Iy0=ov,Py0=nD,Cy0="Internal Error: Private name found in class prop",Ry0=Q3,Oy0=iy,Ly0=L2,Uy0=De,My0=Ca,Dy0=f2,jy0=a1,zy0=ov,Ky0=nD,Jy0=O2,Yy0=X_,By0=sn,Xy0=Hr,Wy0=j1,Vy0="ComponentDeclaration",Zy0=Z2,$y0=_9,Fy0=vn,Qy0=Ss,Hy0=Ip,qy0=SS,Gy0=fl,by0=Oe,xd0="ComponentParameter",rd0=vu,ed0=Hr,td0="EnumBigIntMember",nd0=Hr,ud0=rM,id0=vu,fd0=Hr,cd0="EnumStringMember",sd0=Hr,od0=rM,vd0=vu,ad0=Hr,ld0="EnumNumberMember",pd0=vu,yd0=Hr,dd0="EnumBooleanMember",md0=V3,kd0=_y,hd0=H3,_d0="EnumBooleanBody",wd0=V3,Td0=_y,Sd0=H3,Ed0="EnumNumberBody",Ad0=V3,gd0=_y,Nd0=H3,Id0="EnumStringBody",Pd0=V3,Cd0=H3,Rd0="EnumSymbolBody",Od0=V3,Ld0=_y,Ud0=H3,Md0="EnumBigIntBody",Dd0=j1,jd0=Hr,zd0="EnumDeclaration",Kd0=Ic,Jd0=j1,Yd0=O2,Bd0=Hr,Xd0="InterfaceDeclaration",Wd0=O2,Vd0=Hr,Zd0="InterfaceExtends",$d0=f2,Fd0=v9,Qd0="ObjectPattern",Hd0=f2,qd0=TD,Gd0="ArrayPattern",bd0=vn,xm0=Ss,rm0=Ip,em0=f2,tm0=Oe,nm0=AA,um0=Z2,im0=_9,fm0=Z2,cm0=_9,sm0=vn,om0=Ss,vm0=Ip,am0=vu,lm0=vu,pm0=Tv,ym0=Oa,dm0=Xj,mm0=Ca,km0=SS,hm0=q3,_m0=po,wm0=a1,Tm0=ov,Sm0=uj,Em0=Z2,Am0=Hj,gm0=vn,Nm0=Ss,Im0=Ip,Pm0=Ca,Cm0=SS,Rm0=q3,Om0=po,Lm0=a1,Um0=ov,Mm0=uj,Dm0=Z2,jm0=Hj,zm0=Ut,Km0=a1,Jm0=va,Ym0=Ut,Bm0=pv,Xm0=a1,Wm0=va,Vm0=Ut,Zm0=a1,$m0=va,Fm0=Ts,Qm0=As,Hm0=Ut,qm0=a1,Gm0=va,bm0="flags",x90=pn,r90="regex",e90=Ut,t90=a1,n90=va,u90=Ut,i90=a1,f90=va,c90=Tz,s90="quasis",o90="TemplateLiteral",v90="cooked",a90=Ut,l90="tail",p90=a1,y90="TemplateElement",d90="quasi",m90="tag",k90="TaggedTemplateExpression",h90=sl,_90=ya,w90=nl,T90=po,S90="declarations",E90="VariableDeclaration",A90=vu,g90=Hr,N90="VariableDeclarator",I90="plus",P90=IM,C90=Ta,R90=mo,O90=__,L90="in-out",U90=po,M90="Variance",D90="AnyTypeAnnotation",j90="MixedTypeAnnotation",z90="EmptyTypeAnnotation",K90="VoidTypeAnnotation",J90="NullLiteralTypeAnnotation",Y90="SymbolTypeAnnotation",B90="NumberTypeAnnotation",X90="BigIntTypeAnnotation",W90="StringTypeAnnotation",V90="BooleanTypeAnnotation",Z90=f2,$90="NullableTypeAnnotation",F90="UnknownTypeAnnotation",Q90="NeverTypeAnnotation",H90="UndefinedTypeAnnotation",q90=da,G90=f2,b90="parameterName",xk0="TypePredicate",rk0=O2,ek0=aw,tk0=T5,nk0=fv,uk0=sn,ik0="FunctionTypeAnnotation",fk0=nt,ck0=f2,sk0=Oe,ok0=RM,vk0=nt,ak0=f2,lk0=Oe,pk0=RM,yk0=[0,0,0,0,0],dk0="internalSlots",mk0="callProperties",kk0="indexers",hk0=v9,_k0="exact",wk0="inexact",Tk0="ObjectTypeAnnotation",Sk0=Xj,Ek0="There should not be computed object type property keys",Ak0=vu,gk0=Tv,Nk0=Oa,Ik0=po,Pk0=L2,Ck0=RP,Rk0=De,Ok0=nt,Lk0=q3,Uk0=a1,Mk0=ov,Dk0="ObjectTypeProperty",jk0=Z2,zk0="ObjectTypeSpreadProperty",Kk0=L2,Jk0=De,Yk0=a1,Bk0=ov,Xk0=Hr,Wk0="ObjectTypeIndexer",Vk0=De,Zk0=a1,$k0="ObjectTypeCallProperty",Fk0=nt,Qk0=L2,Hk0="sourceType",qk0="propType",Gk0="keyTparam",bk0="ObjectTypeMappedTypeProperty",xh0=a1,rh0=q3,eh0=De,th0=nt,nh0=Hr,uh0="ObjectTypeInternalSlot",ih0=j1,fh0=Ic,ch0="InterfaceTypeAnnotation",sh0=jD,oh0="ArrayTypeAnnotation",vh0="falseType",ah0="trueType",lh0="extendsType",ph0="checkType",yh0="ConditionalTypeAnnotation",dh0="typeParameter",mh0="InferTypeAnnotation",kh0=Hr,hh0=Iz,_h0="QualifiedTypeIdentifier",wh0=O2,Th0=Hr,Sh0="GenericTypeAnnotation",Eh0="indexType",Ah0="objectType",gh0="IndexedAccessType",Nh0=nt,Ih0="OptionalIndexedAccessType",Ph0=sA,Ch0="UnionTypeAnnotation",Rh0=sA,Oh0="IntersectionTypeAnnotation",Lh0=Z2,Uh0="TypeofTypeAnnotation",Mh0=Hr,Dh0=Iz,jh0="QualifiedTypeofIdentifier",zh0=Z2,Kh0="KeyofTypeAnnotation",Jh0=Z2,Yh0="ReadOnlyTypeAnnotation",Bh0="elementTypes",Xh0="TupleTypeAnnotation",Wh0=nt,Vh0=L2,Zh0=jD,$h0=ml,Fh0="TupleTypeLabeledElement",Qh0=f2,Hh0=ml,qh0="TupleTypeSpreadElement",Gh0=Ut,bh0=a1,x_0="StringLiteralTypeAnnotation",r_0=Ut,e_0=a1,t_0="NumberLiteralTypeAnnotation",n_0=Ut,u_0=a1,i_0="BigIntLiteralTypeAnnotation",f_0=Ts,c_0=As,s_0=Ut,o_0=a1,v_0="BooleanLiteralTypeAnnotation",a_0="ExistsTypeAnnotation",l_0=f2,p_0=vM,y_0=f2,d_0=vM,m_0=sn,k_0="TypeParameterDeclaration",h_0="usesExtendsBound",__0=cv,w_0=L2,T_0="bound",S_0=Oe,E_0="TypeParameter",A_0=sn,g_0=cM,N_0=sn,I_0=cM,P_0=ga,C_0=Zj,R_0="closingElement",O_0="openingElement",L_0="JSXElement",U_0="closingFragment",M_0=Zj,D_0="openingFragment",j_0="JSXFragment",z_0=Xh,K_0="selfClosing",J_0="attributes",Y_0=Oe,B_0="JSXOpeningElement",X_0="JSXOpeningFragment",W_0=Oe,V_0="JSXClosingElement",Z_0="JSXClosingFragment",$_0=a1,F_0=Oe,Q_0="JSXAttribute",H_0=Z2,q_0="JSXSpreadAttribute",G_0="JSXEmptyExpression",b_0=Q1,xw0="JSXExpressionContainer",rw0=Q1,ew0="JSXSpreadChild",tw0=Ut,nw0=a1,uw0="JSXText",iw0=KN,fw0=Hw,cw0="JSXMemberExpression",sw0=Oe,ow0="namespace",vw0="JSXNamespacedName",aw0=Oe,lw0="JSXIdentifier",pw0=ET,yw0=fl,dw0="ExportSpecifier",mw0=fl,kw0="ImportDefaultSpecifier",hw0=fl,_w0="ImportNamespaceSpecifier",ww0=SM,Tw0=fl,Sw0="imported",Ew0="ImportSpecifier",Aw0="Line",gw0="Block",Nw0=a1,Iw0=a1,Pw0="DeclaredPredicate",Cw0="InferredPredicate",Rw0=hN,Ow0=Xh,Lw0=Uz,Uw0=Ca,Mw0=KN,Dw0=Hw,jw0="message",zw0=gA,Kw0=mj,Jw0=T9,Yw0=Iv,Bw0=ll,Xw0=I5,Ww0=[0,hf,gf,ni,l7,Af,Ii,yu,uc,O7,zi,Nf,un,Ku,sc,Le,E7,Q7,rf,Bf,T7,ci,Xc,hc,Gn,uf,j7,ku,ji,Qi,Jc,B7,Tu,yi,bi,_i,fi,Ff,Xi,nu,s7,Bc,K7,Wu,mc,vi,tf,Wf,Wn,ic,oc,Fi,Ce,Re,Mu,lf,dc,Mi,y7,Pf,ju,Gf,sf,ec,Tf,_c,Ai,ce,Ri,qn,ff,Hi,_u,e7,Iu,Li,xf,kc,cc,gu,Uu,ef,p7,$n,_f,v7,zf,z7,Q1,pi,Zu,Zn,J7,o7,Cf,df,V7,xu,Ci,Ru,wu,iu,Vu,xc,F7,jn,nc,d7,Yn,R7,Qu,Fu,If,Gu,af,zn,ki,jc,Yi,lu,mi,ou,Su,It,k7,t7,_7,R2,di,eu,Du,c7,of,cu,jf,A7,F2,Hu,Qn,Mf,Di,uu,Wc,G7,au,F1,Ui,Ju,Sc,tc,x7,yf,du,xi,Mc,ui,C7,n7,q7,Vn,Zf,Vf,$i,qf,L7,Ou,Bn,Ni,P7,Kn,tu,qi,xr,u7,ii,Cu,yc,$u,i7,Cc,Nc,zu,Ac,Y7,mf,g7,Pi,Of,Yf,ru,Wi,Dc,nf,Oc,r7,ti,kf,ei,bf,si,H7,Qf,bn,Yu,Sf,pn,Pc,Au,D7,vc,wc,S7,X7,Lu,f7,a7,Oi,Nu,fc,$f,b7,Df,zc,mu,Uf,ac,su,je,pc,fu,Pu,pu,Zi,I7,Me,lc,Xu,N7,Tc,Ji,Bi,m7,Gi,Ke,Eu,Z7,Rf,pf,gc,Si,wf,ze,Kc,cf,Ki,hu,rc,Xn,Fn,hi,Kf,li,Rc,h7,Lc,ai,Jn,M7,Ti,Xf,Jf,$7,w7,U7,oi,Bu,Ec,Hn,W7,qu,Yc,Ei,L2,Lf,vf,ri,U2],Vw0=[0,U2,ri,vf,Lf,L2,Ei,Yc,qu,W7,Hn,Ec,Bu,oi,U7,w7,$7,Jf,Xf,Ti,M7,Jn,ai,Lc,h7,Rc,li,Kf,hi,Fn,Xn,rc,hu,Ki,cf,Kc,ze,wf,Si,gc,pf,Rf,Z7,Eu,Ke,Gi,m7,Bi,Ji,Tc,N7,Xu,lc,Me,I7,Zi,pu,Pu,fu,pc,je,su,ac,Uf,mu,zc,Df,b7,$f,fc,Nu,Oi,a7,f7,Lu,X7,S7,wc,vc,D7,Au,Pc,pn,Sf,Yu,bn,Qf,H7,si,bf,ei,kf,ti,r7,Oc,nf,Dc,Wi,ru,Yf,Of,Pi,g7,mf,Y7,Ac,zu,Nc,Cc,i7,$u,yc,Cu,ii,u7,xr,qi,tu,Kn,P7,Ni,Bn,Ou,L7,qf,$i,Vf,Zf,Vn,q7,n7,C7,ui,Mc,xi,du,yf,x7,tc,Sc,Ju,Ui,F1,au,G7,Wc,uu,Di,Mf,Qn,Hu,F2,A7,jf,cu,of,c7,Du,eu,di,R2,_7,t7,k7,It,Su,ou,mi,lu,Yi,jc,ki,zn,af,Gu,If,Fu,Qu,R7,Yn,d7,nc,jn,F7,xc,Vu,iu,wu,Ru,Ci,xu,V7,df,Cf,o7,J7,Zn,Zu,pi,Q1,z7,zf,v7,_f,$n,p7,ef,Uu,gu,cc,kc,xf,Li,Iu,e7,_u,Hi,ff,qn,Ri,ce,Ai,_c,Tf,ec,sf,Gf,ju,Pf,y7,Mi,dc,lf,Mu,Re,Ce,Fi,oc,ic,Wn,Wf,tf,vi,mc,Wu,K7,Bc,s7,nu,Xi,Ff,fi,_i,bi,yi,Tu,B7,Jc,Qi,ji,ku,j7,uf,Gn,hc,Xc,ci,T7,Bf,rf,Q7,E7,Le,sc,Ku,un,Nf,zi,O7,uc,yu,Ii,Af,l7,ni,gf,hf],Zw0=[0,Tc,F1,Fu,Su,zn,E7,Nc,Yf,ui,Qn,Ku,Rc,bf,Ke,H7,zf,uf,nf,tc,i7,A7,Ju,Hi,Li,ri,S7,lu,wu,f7,qf,mc,mi,_u,Cu,It,Lf,Cf,fc,Pf,rf,Qu,Bf,yf,Uu,su,jc,Ru,Eu,Pi,t7,Bi,of,ff,L7,yc,ji,bi,Sf,hf,zc,s7,ai,ru,Uf,q7,B7,ei,je,Oc,af,Yu,ii,Mc,x7,ou,P7,oc,Kf,kc,n7,Ni,If,$f,l7,Gf,p7,qi,pu,Pc,ni,Ri,Q7,lc,L2,ac,dc,$7,I7,_7,O7,iu,Kc,Wc,j7,Y7,Z7,ce,V7,li,U2,Bn,cf,Mi,Df,Bu,D7,lf,Pu,uc,Ec,_i,y7,zu,qu,Sc,Xn,Mf,Iu,Zn,si,v7,Ou,vc,o7,Xf,Fn,nu,Ei,rc,N7,Jf,m7,Hn,Jc,jf,Ci,yi,Kn,Gu,Xi,W7,fi,Ac,Vf,yu,tu,Xc,ku,K7,wc,Zf,Bc,xr,R2,Me,w7,Ti,Gi,X7,ze,Re,Cc,k7,Qf,pi,Ui,pn,sc,nc,e7,cu,Tu,z7,R7,au,ki,U7,xf,pc,xc,eu,cc,$n,Wf,mf,Xu,Of,c7,ti,Oi,hi,Wi,mu,r7,M7,sf,ci,ju,Nf,uu,Rf,qn,hu,Yi,fu,di,Dc,hc,g7,du,Qi,Hu,Ai,h7,gf,Yc,_c,T7,Lc,Tf,xi,G7,ic,$i,a7,$u,Di,J7,Vn,Jn,gc,Ii,tf,Lu,zi,Q1,Au,Ff,Zu,Ki,jn,F7,Ji,Ce,Yn,Wu,b7,ef,ec,Si,pf,Vu,_f,oi,xu,bn,un,Du,Gn,C7,kf,d7,Mu,gu,Le,Af,F2,Fi,vf,vi,Zi,df,Wn,Nu,wf,u7],$w0="Jsoo_runtime.Error.Exn",Fw0=[0,0],Qw0="use_strict",Hw0=sA,qw0="esproposal_decorators",Gw0="enums",bw0="components",xT0="Internal error: ";function O1(x){if(typeof x=="number")return 0;switch(x[0]){case 0:return[0,O1(x[1])];case 1:return[1,O1(x[1])];case 2:return[2,O1(x[1])];case 3:return[3,O1(x[1])];case 4:return[4,O1(x[1])];case 5:return[5,O1(x[1])];case 6:return[6,O1(x[1])];case 7:return[7,O1(x[1])];case 8:var r=x[1];return[8,r,O1(x[2])];case 9:var e=x[1];return[9,e,e,O1(x[3])];case 10:return[10,O1(x[1])];case 11:return[11,O1(x[1])];case 12:return[12,O1(x[1])];case 13:return[13,O1(x[1])];default:return[14,O1(x[1])]}}function q2(x,r){if(typeof x=="number")return r;switch(x[0]){case 0:return[0,q2(x[1],r)];case 1:return[1,q2(x[1],r)];case 2:return[2,q2(x[1],r)];case 3:return[3,q2(x[1],r)];case 4:return[4,q2(x[1],r)];case 5:return[5,q2(x[1],r)];case 6:return[6,q2(x[1],r)];case 7:return[7,q2(x[1],r)];case 8:var e=x[1];return[8,e,q2(x[2],r)];case 9:var t=x[2],u=x[1];return[9,u,t,q2(x[3],r)];case 10:return[10,q2(x[1],r)];case 11:return[11,q2(x[1],r)];case 12:return[12,q2(x[1],r)];case 13:return[13,q2(x[1],r)];default:return[14,q2(x[1],r)]}}function w1(x,r){if(typeof x=="number")return r;switch(x[0]){case 0:return[0,w1(x[1],r)];case 1:return[1,w1(x[1],r)];case 2:var e=x[1];return[2,e,w1(x[2],r)];case 3:var t=x[1];return[3,t,w1(x[2],r)];case 4:var u=x[3],i=x[2],f=x[1];return[4,f,i,u,w1(x[4],r)];case 5:var o=x[3],a=x[2],y=x[1];return[5,y,a,o,w1(x[4],r)];case 6:var h=x[3],k=x[2],A=x[1];return[6,A,k,h,w1(x[4],r)];case 7:var g=x[3],I=x[2],C=x[1];return[7,C,I,g,w1(x[4],r)];case 8:var R=x[3],L=x[2],U=x[1];return[8,U,L,R,w1(x[4],r)];case 9:var B=x[1];return[9,B,w1(x[2],r)];case 10:return[10,w1(x[1],r)];case 11:var X=x[1];return[11,X,w1(x[2],r)];case 12:var J=x[1];return[12,J,w1(x[2],r)];case 13:var e0=x[2],i0=x[1];return[13,i0,e0,w1(x[3],r)];case 14:var j=x[2],Y=x[1];return[14,Y,j,w1(x[3],r)];case 15:return[15,w1(x[1],r)];case 16:return[16,w1(x[1],r)];case 17:var z=x[1];return[17,z,w1(x[2],r)];case 18:var F=x[1];return[18,F,w1(x[2],r)];case 19:return[19,w1(x[1],r)];case 20:var t0=x[2],$=x[1];return[20,$,t0,w1(x[3],r)];case 21:var f0=x[1];return[21,f0,w1(x[2],r)];case 22:return[22,w1(x[1],r)];case 23:var c0=x[1];return[23,c0,w1(x[2],r)];default:var v0=x[2],s0=x[1];return[24,s0,v0,w1(x[3],r)]}}function bC(x,r,e){return x[1]===r?(x[1]=e,1):0}function Rx(x){throw q0([0,mn,x],1)}function T2(x){throw q0([0,qC,x],1)}function $y(x){return 0<=x?x:-x|0}var rT0=ZU;function Zx(x,r){var e=Gx(x),t=Gx(r),u=g1(e+t|0);return Cv(x,0,u,0,e),Cv(r,0,u,e,t),j2(u)}function eT0(x){return x?cZ:sZ}function Fx(x,r){if(!x)return r;var e=x[1];return[0,e,Fx(x[2],r)]}WV(0);var tT0=UK(1),$c=UK(2);function nT0(x){for(var r=VV(0);;){if(!r)return 0;var e=r[2],t=r[1];try{Zc(t)}catch(f){var u=R1(f);if(u[1]!==zK)throw q0(u,0)}var r=e}}function Cl(x,r){return ZC(x,r,0,Gx(r))}function XK(x){return Cl($c,x),MK($c,10),Zc($c)}var xR=[0,nT0];function rR(x){return l(xR[1],0)}FC(FM,rR);var WK=bV(0)[1],Rl=(4*qV(0)|0)-1|0,uT0=[Qr,oZ,zs(0)];function iT0(x){throw q0(uT0,1)}function Fy(x,r){return r?[0,l(x,r[1])]:0}function VK(x){return 25>>0?x:x+YU|0}function Fc(x){for(var r=0,e=x;;){if(!e)return r;var r=r+1|0,e=e[2]}}function Ol(x){return x?x[1]:Rx(hZ)}function ZK(x){return x?x[2]:Rx(kZ)}function Qc(x,r){for(var e=x,t=r;;){if(!e)return t;var u=[0,e[1],t],e=e[2],t=u}}function gx(x){return Qc(x,0)}function Ll(x){if(!x)return 0;var r=x[1];return Fx(r,Ll(x[2]))}function Hc(x,r){if(!r)return 0;var e=r[2],t=l(x,r[1]);return[0,t,Hc(x,e)]}function Qy(x,r){for(var e=0,t=r;;){if(!t)return e;var u=t[2],e=[0,l(x,t[1]),e],t=u}}function S2(x,r){for(var e=r;;){if(!e)return 0;var t=e[2];l(x,e[1]);var e=t}}function b1(x,r,e){for(var t=r,u=e;;){if(!u)return t;var i=u[2],t=p(x,t,u[1]),u=i}}function eR(x,r,e){if(!r)return e;var t=r[1];return p(x,t,eR(x,r[2],e))}function $K(x,r,e){for(var t=r,u=e;;){if(t){if(u){var i=u[2],f=t[2];p(x,t[1],u[1]);var t=f,u=i;continue}}else if(!u)return 0;return T2(mZ)}}function tR(x,r){for(var e=r;;){if(!e)return 0;var t=e[2],u=EK(e[1],x)===0?1:0;if(u)return u;var e=t}}function Ul(x){var r=0;return function(e){for(var t=r,u=e;;){if(!u)return gx(t);var i=u[2],f=u[1];if(l(x,f)){var t=[0,f,t],u=i;continue}var u=i}}}function Lv(x,r){var e=g1(x);return EV(e,0,x,r),e}function FK(x){var r=ft(x),e=g1(r);return Us(x,0,e,0,r),e}function QK(x,r,e){if(0<=r&&0<=e&&(ft(x)-e|0)>=r){var t=g1(e);return Us(x,r,t,0,e),t}return T2(TZ)}function Ya(x,r,e){return j2(QK(x,r,e))}function HK(x,r,e,t,u){return 0<=u&&0<=r&&(ft(x)-u|0)>=r&&0<=t&&(ft(e)-u|0)>=t?Us(x,r,e,t,u):T2(wZ)}function Bs(x,r,e,t,u){return 0<=u&&0<=r&&(Gx(x)-u|0)>=r&&0<=t&&(ft(e)-u|0)>=t?Cv(x,r,e,t,u):T2(_Z)}function Hy(x,r){return j2(Lv(x,r))}function z2(x,r,e){return j2(QK(Vc(x),r,e))}function qK(x,r){var e=Gx(x),t=e<=Gx(r)?1:0;if(!t)return t;for(var u=0;;){if(u===e)return 1;if(ix(r,u)!==ix(x,u))return 0;var u=u+1|0}}var fT0=Ex;function GK(x,r){var e=r.length-1-1|0,t=0;if(e>=0)for(var u=t;;){l(x,r[1+u]);var i=u+1|0;if(e!==u){var u=i;continue}break}return 0}function qy(x,r){var e=r.length-1;if(e===0)return[0];var t=za(e,l(x,r[1])),u=e-1|0,i=1;if(u>=1)for(var f=i;;){t[1+f]=l(x,r[1+f]);var o=f+1|0;if(u!==f){var f=o;continue}break}return t}function Ml(x){if(!x)return[0];for(var r=0,e=x,t=x[2],u=x[1];;){if(e){var r=r+1|0,e=e[2];continue}for(var i=za(r,u),f=1,o=t;;){if(!o)return i;var a=o[2];i[1+f]=o[1];var f=f+1|0,o=a}}}function bK(x){try{var r=[0,Sl(x)];return r}catch(t){var e=R1(t);if(e[1]===mn)return 0;throw q0(e,0)}}function nR(x){function r(Q){return Q?Q[5]:0}function e(Q,G,V,l0){var d0=r(Q),A0=r(l0),M=A0<=d0?d0+1|0:A0+1|0;return[0,Q,G,V,l0,M]}function t(Q,G){return[0,0,Q,G,0,1]}function u(Q,G,V,l0){var d0=Q?Q[5]:0,A0=l0?l0[5]:0;if((A0+2|0)=A0){var K=A0<=d0?d0+1|0:A0+1|0;return[0,Q,G,V,l0,K]}if(!l0)return T2(OZ);var H0=l0[4],sx=l0[3],ux=l0[2],z0=l0[1],Px=r(z0);if(Px<=r(H0))return e(e(Q,G,V,z0),ux,sx,H0);if(!z0)return T2(RZ);var kx=z0[3],$x=z0[2],Qx=z0[1],j0=e(z0[4],ux,sx,H0);return e(e(Q,G,V,Qx),$x,kx,j0)}var i=0;function f(Q){return Q?0:1}function o(Q,G,V){if(!V)return[0,0,Q,G,0,1];var l0=V[4],d0=V[3],A0=V[2],M=V[1],L0=V[5],V0=p(x[1],Q,A0);if(V0===0)return d0===G?V:[0,M,Q,G,l0,L0];if(0<=V0){var B0=o(Q,G,l0);return l0===B0?V:u(M,A0,d0,B0)}var vx=o(Q,G,M);return M===vx?V:u(vx,A0,d0,l0)}function a(Q,G){for(var V=G;;){if(!V)throw q0(w2,1);var l0=V[4],d0=V[3],A0=V[1],M=p(x[1],Q,V[2]);if(M===0)return d0;var L0=0<=M?l0:A0,V=L0}}function y(Q,G){for(var V=G;;){if(!V)throw q0(w2,1);var l0=V[2],d0=V[4],A0=V[3],M=V[1];if(!l(Q,l0)){var V=d0;continue}for(var L0=l0,V0=A0,B0=M;;){if(!B0)return[0,L0,V0];var vx=B0[2],b0=B0[4],hx=B0[3],W0=B0[1];if(l(Q,vx)){var L0=vx,V0=hx,B0=W0;continue}var B0=b0}}}function h(Q,G){for(var V=G;;){if(!V)return 0;var l0=V[2],d0=V[4],A0=V[3],M=V[1];if(!l(Q,l0)){var V=d0;continue}for(var L0=l0,V0=A0,B0=M;;){if(!B0)return[0,[0,L0,V0]];var vx=B0[2],b0=B0[4],hx=B0[3],W0=B0[1];if(l(Q,vx)){var L0=vx,V0=hx,B0=W0;continue}var B0=b0}}}function k(Q,G){for(var V=G;;){if(!V)throw q0(w2,1);var l0=V[2],d0=V[4],A0=V[3],M=V[1];if(!l(Q,l0)){var V=M;continue}for(var L0=l0,V0=A0,B0=d0;;){if(!B0)return[0,L0,V0];var vx=B0[2],b0=B0[4],hx=B0[3],W0=B0[1];if(l(Q,vx)){var L0=vx,V0=hx,B0=b0;continue}var B0=W0}}}function A(Q,G){for(var V=G;;){if(!V)return 0;var l0=V[2],d0=V[4],A0=V[3],M=V[1];if(!l(Q,l0)){var V=M;continue}for(var L0=l0,V0=A0,B0=d0;;){if(!B0)return[0,[0,L0,V0]];var vx=B0[2],b0=B0[4],hx=B0[3],W0=B0[1];if(l(Q,vx)){var L0=vx,V0=hx,B0=b0;continue}var B0=W0}}}function g(Q,G){for(var V=G;;){if(!V)return 0;var l0=V[4],d0=V[3],A0=V[1],M=p(x[1],Q,V[2]);if(M===0)return[0,d0];var L0=0<=M?l0:A0,V=L0}}function I(Q,G){for(var V=G;;){if(!V)return 0;var l0=V[4],d0=V[1],A0=p(x[1],Q,V[2]),M=A0===0?1:0;if(M)return M;var L0=0<=A0?l0:d0,V=L0}}function C(Q){for(var G=Q;;){if(!G)throw q0(w2,1);var V=G[1];if(!V)return[0,G[2],G[3]];var G=V}}function R(Q){for(var G=Q;;){if(!G)return 0;var V=G[1];if(!V)return[0,[0,G[2],G[3]]];var G=V}}function L(Q){for(var G=Q;;){if(!G)throw q0(w2,1);if(!G[4])return[0,G[2],G[3]];var G=G[4]}}function U(Q){for(var G=Q;;){if(!G)return 0;if(!G[4])return[0,[0,G[2],G[3]]];var G=G[4]}}function B(Q){if(!Q)return T2(AZ);var G=Q[1];if(!G)return Q[4];var V=Q[4],l0=Q[3],d0=Q[2];return u(B(G),d0,l0,V)}function X(Q,G){if(!Q)return G;if(!G)return Q;var V=C(G),l0=V[2],d0=V[1];return u(Q,d0,l0,B(G))}function J(Q,G){if(!G)return 0;var V=G[4],l0=G[3],d0=G[2],A0=G[1],M=p(x[1],Q,d0);if(M===0)return X(A0,V);if(0<=M){var L0=J(Q,V);return V===L0?G:u(A0,d0,l0,L0)}var V0=J(Q,A0);return A0===V0?G:u(V0,d0,l0,V)}function e0(Q,G,V){if(!V){var l0=l(G,0);return l0?[0,0,Q,l0[1],0,1]:0}var d0=V[4],A0=V[3],M=V[2],L0=V[1],V0=V[5],B0=p(x[1],Q,M);if(B0===0){var vx=l(G,[0,A0]);if(!vx)return X(L0,d0);var b0=vx[1];return A0===b0?V:[0,L0,Q,b0,d0,V0]}if(0<=B0){var hx=e0(Q,G,d0);return d0===hx?V:u(L0,M,A0,hx)}var W0=e0(Q,G,L0);return L0===W0?V:u(W0,M,A0,d0)}function i0(Q,G){for(var V=G;;){if(!V)return 0;var l0=V[4],d0=V[3],A0=V[2];i0(Q,V[1]),p(Q,A0,d0);var V=l0}}function j(Q,G){if(!G)return 0;var V=G[5],l0=G[4],d0=G[3],A0=G[2],M=j(Q,G[1]),L0=l(Q,d0);return[0,M,A0,L0,j(Q,l0),V]}function Y(Q,G){if(!G)return 0;var V=G[2],l0=G[5],d0=G[4],A0=G[3],M=Y(Q,G[1]),L0=p(Q,V,A0);return[0,M,V,L0,Y(Q,d0),l0]}function z(Q,G,V){for(var l0=G,d0=V;;){if(!l0)return d0;var A0=l0[4],M=l0[3],L0=l0[2],V0=G0(Q,L0,M,z(Q,l0[1],d0)),l0=A0,d0=V0}}function F(Q,G){for(var V=G;;){if(!V)return 1;var l0=V[4],d0=V[1],A0=p(Q,V[2],V[3]);if(A0){var M=F(Q,d0);if(M){var V=l0;continue}var L0=M}else var L0=A0;return L0}}function t0(Q,G){for(var V=G;;){if(!V)return 0;var l0=V[4],d0=V[1],A0=p(Q,V[2],V[3]);if(A0)var M=A0;else{var L0=t0(Q,d0);if(!L0){var V=l0;continue}var M=L0}return M}}function $(Q,G,V){if(!V)return t(Q,G);var l0=V[4],d0=V[3],A0=V[2];return u($(Q,G,V[1]),A0,d0,l0)}function f0(Q,G,V){if(!V)return t(Q,G);var l0=V[3],d0=V[2],A0=V[1];return u(A0,d0,l0,f0(Q,G,V[4]))}function c0(Q,G,V,l0){if(!Q)return $(G,V,l0);if(!l0)return f0(G,V,Q);var d0=l0[5],A0=Q[5],M=l0[4],L0=l0[3],V0=l0[2],B0=l0[1],vx=Q[4],b0=Q[3],hx=Q[2],W0=Q[1];return(d0+2|0)x[3])throw q0([0,Tr,DZ],1);if((e+r|0)<=x[3])return 0;throw q0([0,Tr,jZ],1)}}function ct(x,r){var e=x[2];return x[3]<=e&&fR(x,1),Xr(x[1],e,r),x[2]=e+1|0,0}function rJ(x,r,e,t){var u=e<0?1:0;if(u)var f=u;else var i=t<0?1:0,f=i||((Gx(r)-t|0)=u+J5>>>0&&(i=1):65<=u&&(i=1);else{var f=0;if(u===32)f=1;else if(43<=u)switch(u+P9|0){case 5:if(t<(e+2|0)&&1>>0?33>>0&&(i=1):u===2&&(i=1),!i){var r=r+1|0;continue}var f=Vc(x),o=[0,0],a=ft(f)-1|0,y=0;if(a>=0)for(var h=y;;){var k=se(f,h),A=0;if(32<=k){var g=k-34|0,I=0;if(58>>0?93>g&&(I=1):56>>0?A=1:I=1,I){var C=1;A=2}}else 11<=k?k===13&&(A=1):8<=k&&(A=1);switch(A){case 0:var C=4;break;case 1:var C=2;break}o[1]=o[1]+C|0;var R=h+1|0;if(a!==h){var h=R;continue}break}if(o[1]===ft(f))var L=FK(f);else{var U=g1(o[1]);o[1]=0;var B=ft(f)-1|0,X=0;if(B>=0)for(var J=X;;){var e0=se(f,J),i0=0;if(35<=e0)e0===92?i0=2:Jr<=e0?i0=1:i0=3;else if(32<=e0)34<=e0?i0=2:i0=3;else if(14<=e0)i0=1;else switch(e0){case 8:Xr(U,o[1],92),o[1]++,Xr(U,o[1],98);break;case 9:Xr(U,o[1],92),o[1]++,Xr(U,o[1],Ns);break;case 10:Xr(U,o[1],92),o[1]++,Xr(U,o[1],P1);break;case 13:Xr(U,o[1],92),o[1]++,Xr(U,o[1],Vi);break;default:i0=1}switch(i0){case 1:Xr(U,o[1],92),o[1]++,Xr(U,o[1],48+(e0/Uc|0)|0),o[1]++,Xr(U,o[1],48+((e0/10|0)%10|0)|0),o[1]++,Xr(U,o[1],48+(e0%10|0)|0);break;case 2:Xr(U,o[1],92),o[1]++,Xr(U,o[1],e0);break;case 3:Xr(U,o[1],e0);break}o[1]++;var j=J+1|0;if(B!==J){var J=j;continue}break}var L=U}var t=j2(L)}var Y=Gx(t),z=Lv(Y+2|0,34);return Cv(t,0,z,1,Y),j2(z)}}function iJ(x,r){var e=$y(r),t=U$[1];switch(x[2]){case 0:var u=Cs;break;case 1:var u=Pt;break;case 2:var u=69;break;case 3:var u=tt;break;case 4:var u=71;break;case 5:var u=t;break;case 6:var u=ln;break;case 7:var u=72;break;default:var u=70}var i=eJ(16);switch(Wa(i,37),x[1]){case 0:break;case 1:Wa(i,43);break;default:Wa(i,32)}return 8<=x[2]&&Wa(i,35),Wa(i,46),E2(i,wx+e),Wa(i,u),nJ(i)}function by(x,r){if(13>x)return r;var e=[0,0],t=Gx(r)-1|0,u=0;if(t>=0)for(var i=u;;){9>=ix(r,i)+B1>>>0&&e[1]++;var f=i+1|0;if(t!==i){var i=f;continue}break}var o=e[1],a=g1(Gx(r)+((o-1|0)/3|0)|0),y=[0,0];function h(L){return Da(a,y[1],L),y[1]++,0}var k=[0,((o-1|0)%3|0)+1|0],A=Gx(r)-1|0,g=0;if(A>=0)for(var I=g;;){var C=ix(r,I);9>>0||(k[1]===0&&(h(95),k[1]=3),k[1]+=-1),h(C);var R=I+1|0;if(A!==I){var I=R;continue}break}return j2(a)}function oT0(x,r){switch(x){case 1:var e=_F;break;case 2:var e=wF;break;case 4:var e=TF;break;case 5:var e=SF;break;case 6:var e=EF;break;case 7:var e=AF;break;case 8:var e=gF;break;case 9:var e=NF;break;case 10:var e=IF;break;case 11:var e=PF;break;case 0:case 13:var e=CF;break;case 3:case 14:var e=RF;break;default:var e=OF}return by(x,zy(e,r))}function vT0(x,r){switch(x){case 1:var e=F$;break;case 2:var e=Q$;break;case 4:var e=H$;break;case 5:var e=q$;break;case 6:var e=G$;break;case 7:var e=b$;break;case 8:var e=xF;break;case 9:var e=rF;break;case 10:var e=eF;break;case 11:var e=tF;break;case 0:case 13:var e=nF;break;case 3:case 14:var e=uF;break;default:var e=iF}return by(x,zy(e,r))}function aT0(x,r){switch(x){case 1:var e=M$;break;case 2:var e=D$;break;case 4:var e=j$;break;case 5:var e=z$;break;case 6:var e=K$;break;case 7:var e=J$;break;case 8:var e=Y$;break;case 9:var e=B$;break;case 10:var e=X$;break;case 11:var e=W$;break;case 0:case 13:var e=V$;break;case 3:case 14:var e=Z$;break;default:var e=$$}return by(x,zy(e,r))}function lT0(x,r){switch(x){case 1:var e=fF;break;case 2:var e=cF;break;case 4:var e=sF;break;case 5:var e=oF;break;case 6:var e=vF;break;case 7:var e=aF;break;case 8:var e=lF;break;case 9:var e=pF;break;case 10:var e=yF;break;case 11:var e=dF;break;case 0:case 13:var e=mF;break;case 3:case 14:var e=kF;break;default:var e=hF}return by(x,CV(e,r))}function Xs(x,r,e){function t(X){switch(x[1]){case 0:var J=45;break;case 1:var J=43;break;default:var J=32}return gV(e,r,J)}function u(X){var J=cV(e);return J===3?e<0?R$:O$:4<=J?C$:X}switch(x[2]){case 5:for(var i=YC(iJ(x,r),e),f=0,o=Gx(i);;){if(f===o)var a=0;else{var y=C1(i,f)+gv|0,h=0;if(23>>0?y===55&&(h=1):21>>0&&(h=1),!h){var f=f+1|0;continue}var a=1}var k=a?i:Zx(i,L$);return u(k)}case 6:return t(0);case 7:var A=Vc(t(0)),g=ft(A);if(g===0)var I=A;else{var C=g1(g),R=g-1|0,L=0;if(R>=0)for(var U=L;;){Xr(C,U,VK(se(A,U)));var B=U+1|0;if(R!==U){var U=B;continue}break}var I=C}return j2(I);case 8:return u(t(0));default:return YC(iJ(x,r),e)}}function xd(x,r,e,t,u,i,f){if(typeof t=="number"){if(typeof u=="number")return u?function(g,I){return jr(x,[4,r,Va(g,p(i,f,I))],e)}:function(g){return jr(x,[4,r,p(i,f,g)],e)};var o=u[1];return function(g){return jr(x,[4,r,Va(o,p(i,f,g))],e)}}if(t[0]===0){var a=t[2],y=t[1];if(typeof u=="number")return u?function(g,I){return jr(x,[4,r,Be(y,a,Va(g,p(i,f,I)))],e)}:function(g){return jr(x,[4,r,Be(y,a,p(i,f,g))],e)};var h=u[1];return function(g){return jr(x,[4,r,Be(y,a,Va(h,p(i,f,g)))],e)}}var k=t[1];if(typeof u=="number")return u?function(g,I,C){return jr(x,[4,r,Be(k,g,Va(I,p(i,f,C)))],e)}:function(g,I){return jr(x,[4,r,Be(k,g,p(i,f,I))],e)};var A=u[1];return function(g,I){return jr(x,[4,r,Be(k,g,Va(A,p(i,f,I)))],e)}}function vR(x,r,e,t,u){if(typeof t=="number")return function(a){return jr(x,[4,r,l(u,a)],e)};if(t[0]===0){var i=t[2],f=t[1];return function(a){return jr(x,[4,r,Be(f,i,l(u,a))],e)}}var o=t[1];return function(a,y){return jr(x,[4,r,Be(o,a,l(u,y))],e)}}function Kl(x,r,e,t){for(var u=r,i=e,f=t;;){if(typeof f=="number")return l(u,i);switch(f[0]){case 0:var o=f[1];return function(P0){return jr(u,[5,i,P0],o)};case 1:var a=f[1];return function(P0){var N0=0;if(40<=P0)if(P0===92)var J0=vZ;else Jr<=P0?N0=1:N0=2;else if(32<=P0)if(39<=P0)var J0=aZ;else N0=2;else if(14<=P0)N0=1;else switch(P0){case 8:var J0=lZ;break;case 9:var J0=pZ;break;case 10:var J0=yZ;break;case 13:var J0=dZ;break;default:N0=1}switch(N0){case 1:var I0=g1(4);Xr(I0,0,92),Xr(I0,1,48+(P0/Uc|0)|0),Xr(I0,2,48+((P0/10|0)%10|0)|0),Xr(I0,3,48+(P0%10|0)|0);var J0=j2(I0);break;case 2:var Q=g1(1);Xr(Q,0,P0);var J0=j2(Q);break}var G=Gx(J0),V=Lv(G+2|0,39);return Cv(J0,0,V,1,G),jr(u,[4,i,j2(V)],a)};case 2:var y=f[2],h=f[1];return vR(u,i,y,h,function(P0){return P0});case 3:return vR(u,i,f[2],f[1],sT0);case 4:return xd(u,i,f[4],f[2],f[3],oT0,f[1]);case 5:return xd(u,i,f[4],f[2],f[3],vT0,f[1]);case 6:return xd(u,i,f[4],f[2],f[3],aT0,f[1]);case 7:return xd(u,i,f[4],f[2],f[3],lT0,f[1]);case 8:var k=f[4],A=f[3],g=f[2],I=f[1];if(typeof g=="number"){if(typeof A=="number")return A?function(P0,N0){return jr(u,[4,i,Xs(I,P0,N0)],k)}:function(P0){return jr(u,[4,i,Xs(I,sR(I),P0)],k)};var C=A[1];return function(P0){return jr(u,[4,i,Xs(I,C,P0)],k)}}if(g[0]===0){var R=g[2],L=g[1];if(typeof A=="number")return A?function(P0,N0){return jr(u,[4,i,Be(L,R,Xs(I,P0,N0))],k)}:function(P0){return jr(u,[4,i,Be(L,R,Xs(I,sR(I),P0))],k)};var U=A[1];return function(P0){return jr(u,[4,i,Be(L,R,Xs(I,U,P0))],k)}}var B=g[1];if(typeof A=="number")return A?function(P0,N0,J0){return jr(u,[4,i,Be(B,P0,Xs(I,N0,J0))],k)}:function(P0,N0){return jr(u,[4,i,Be(B,P0,Xs(I,sR(I),N0))],k)};var X=A[1];return function(P0,N0){return jr(u,[4,i,Be(B,P0,Xs(I,X,N0))],k)};case 9:return vR(u,i,f[2],f[1],eT0);case 10:var i=[7,i],f=f[1];continue;case 11:var i=[2,i,f[1]],f=f[2];continue;case 12:var i=[3,i,f[1]],f=f[2];continue;case 13:var J=f[3],e0=f[2],i0=eJ(16);oR(i0,e0);var j=nJ(i0);return function(P0){return jr(u,[4,i,j],J)};case 14:var Y=f[3],z=f[2];return function(P0){var N0=P0[1],J0=o1(N0,O1(x2(z)));if(typeof J0[2]=="number")return jr(u,i,w1(J0[1],Y));throw q0(d2,1)};case 15:var F=f[1];return function(P0,N0){return jr(u,[6,i,function(J0){return p(P0,J0,N0)}],F)};case 16:var t0=f[1];return function(P0){return jr(u,[6,i,P0],t0)};case 17:var i=[0,i,f[1]],f=f[2];continue;case 18:var $=f[1];if($[0]===0){var f0=f[2],c0=$[1][1],v0=0,u=function(I0,Q,G){return function(V){return jr(Q,[1,I0,[0,V]],G)}}(i,u,f0),i=v0,f=c0;continue}var s0=f[2],o0=$[1][1],E0=0,u=function(P0,N0,J0){return function(I0){return jr(N0,[1,P0,[1,I0]],J0)}}(i,u,s0),i=E0,f=o0;continue;case 19:throw q0([0,Tr,k$],1);case 20:var k0=f[3],M0=[8,i,h$];return function(P0){return jr(u,M0,k0)};case 21:var D0=f[2];return function(P0){return jr(u,[4,i,zy(GD,P0)],D0)};case 22:var cx=f[1];return function(P0){return jr(u,[5,i,P0],cx)};case 23:var g0=f[2],Z0=f[1];if(typeof Z0=="number")switch(Z0){case 0:return x<50?t1(x+1|0,u,i,g0):y2(t1,[0,u,i,g0]);case 1:return x<50?t1(x+1|0,u,i,g0):y2(t1,[0,u,i,g0]);case 2:throw q0([0,Tr,_$],1);default:return x<50?t1(x+1|0,u,i,g0):y2(t1,[0,u,i,g0])}switch(Z0[0]){case 0:return x<50?t1(x+1|0,u,i,g0):y2(t1,[0,u,i,g0]);case 1:return x<50?t1(x+1|0,u,i,g0):y2(t1,[0,u,i,g0]);case 2:return x<50?t1(x+1|0,u,i,g0):y2(t1,[0,u,i,g0]);case 3:return x<50?t1(x+1|0,u,i,g0):y2(t1,[0,u,i,g0]);case 4:return x<50?t1(x+1|0,u,i,g0):y2(t1,[0,u,i,g0]);case 5:return x<50?t1(x+1|0,u,i,g0):y2(t1,[0,u,i,g0]);case 6:return x<50?t1(x+1|0,u,i,g0):y2(t1,[0,u,i,g0]);case 7:return x<50?t1(x+1|0,u,i,g0):y2(t1,[0,u,i,g0]);case 8:return x<50?t1(x+1|0,u,i,g0):y2(t1,[0,u,i,g0]);case 9:var n0=Z0[2];return x<50?aR(x+1|0,u,i,n0,g0):y2(aR,[0,u,i,n0,g0]);case 10:return x<50?t1(x+1|0,u,i,g0):y2(t1,[0,u,i,g0]);default:return x<50?t1(x+1|0,u,i,g0):y2(t1,[0,u,i,g0])}default:var nx=f[3],xx=f[1],yx=l(f[2],0);return x<50?lR(x+1|0,u,i,nx,xx,yx):y2(lR,[0,u,i,nx,xx,yx])}}}function aR(x,r,e,t,u){if(typeof t=="number")return x<50?t1(x+1|0,r,e,u):y2(t1,[0,r,e,u]);switch(t[0]){case 0:var i=t[1];return function(X){return st(r,e,i,u)};case 1:var f=t[1];return function(X){return st(r,e,f,u)};case 2:var o=t[1];return function(X){return st(r,e,o,u)};case 3:var a=t[1];return function(X){return st(r,e,a,u)};case 4:var y=t[1];return function(X){return st(r,e,y,u)};case 5:var h=t[1];return function(X){return st(r,e,h,u)};case 6:var k=t[1];return function(X){return st(r,e,k,u)};case 7:var A=t[1];return function(X){return st(r,e,A,u)};case 8:var g=t[2];return function(X){return st(r,e,g,u)};case 9:var I=t[3],C=t[2],R=o2(x2(t[1]),C);return function(X){return st(r,e,q2(R,I),u)};case 10:var L=t[1];return function(X,J){return st(r,e,L,u)};case 11:var U=t[1];return function(X){return st(r,e,U,u)};case 12:var B=t[1];return function(X){return st(r,e,B,u)};case 13:throw q0([0,Tr,w$],1);default:throw q0([0,Tr,T$],1)}}function t1(x,r,e,t){var u=[8,e,S$];return x<50?Kl(x+1|0,r,u,t):y2(Kl,[0,r,u,t])}function lR(x,r,e,t,u,i){if(u){var f=u[1];return function(a){return pT0(r,e,t,f,l(i,a))}}var o=[4,e,i];return x<50?Kl(x+1|0,r,o,t):y2(Kl,[0,r,o,t])}function jr(x,r,e){return QC(Kl(0,x,r,e))}function st(x,r,e,t){return QC(aR(0,x,r,e,t))}function pT0(x,r,e,t,u){return QC(lR(0,x,r,e,t,u))}function Ws(x,r){for(var e=r;;){if(typeof e=="number")return 0;switch(e[0]){case 0:var t=e[1],u=uJ(e[2]);return Ws(x,t),Cl(x,u);case 1:var i=e[2],f=e[1];if(i[0]===0){var o=i[1];Ws(x,f),Cl(x,E$);var e=o;continue}var a=i[1];Ws(x,f),Cl(x,A$);var e=a;continue;case 6:var y=e[2];return Ws(x,e[1]),l(y,x);case 7:return Ws(x,e[1]),Zc(x);case 8:var h=e[2];return Ws(x,e[1]),T2(h);case 2:case 4:var k=e[2];return Ws(x,e[1]),Cl(x,k);default:var A=e[2];return Ws(x,e[1]),MK(x,A)}}}function Vs(x,r){for(var e=r;;){if(typeof e=="number")return 0;switch(e[0]){case 0:var t=e[1],u=uJ(e[2]);return Vs(x,t),vr(x,u);case 1:var i=e[2],f=e[1];if(i[0]===0){var o=i[1];Vs(x,f),vr(x,g$);var e=o;continue}var a=i[1];Vs(x,f),vr(x,N$);var e=a;continue;case 6:var y=e[2];return Vs(x,e[1]),vr(x,l(y,0));case 7:var e=e[1];continue;case 8:var h=e[2];return Vs(x,e[1]),T2(h);case 2:case 4:var k=e[2];return Vs(x,e[1]),vr(x,k);default:var A=e[2];return Vs(x,e[1]),ct(x,A)}}}function fJ(x,r){var e=r[1],t=0;return jr(function(u){return Ws(x,u),0},t,e)}function pR(x){return fJ($c,x)}function Ar(x){var r=x[1];return jr(function(e){var t=Zr(64);return Vs(t,e),z1(t)},0,r)}var yR=[0,0];function dR(x,r){var e=x[1+r];if(!(1-(typeof e=="number"?1:0)))return l(Ar(aQ),e);if(Ov(e)===Ea)return l(Ar(lQ),e);if(Ov(e)!==H8)return pQ;for(var t=YC("%.12g",e),u=0,i=Gx(t);;){if(i<=u)return Zx(t,fZ);var f=C1(t,u),o=0;if(48<=f?58>f&&(o=1):f===45&&(o=1),!o)return t;var u=u+1|0}}function cJ(x,r){if(x.length-1<=r)return BF;var e=cJ(x,r+1|0),t=dR(x,r);return p(Ar(XF),t,e)}function rd(x){for(var r=yR[1];;){if(r){var e=0,t=r[2],u=r[1];try{var i=l(u,x)}catch{e=1}var f=0;if(e||!i)f=1;else var o=[0,i[1]];if(f){var r=t;continue}}else var o=0;if(o)return o[1];if(x===HC)return tQ;if(x===JK)return nQ;if(x[1]===KK){var a=x[2],y=a[3],h=a[2],k=a[1];return Je(Ar(GC),k,h,y,y+5|0,uQ)}if(x[1]===Tr){var A=x[2],g=A[3],I=A[2],C=A[1];return Je(Ar(GC),C,I,g,g+6|0,iQ)}if(x[1]===Il){var R=x[2],L=R[3],U=R[2],B=R[1];return Je(Ar(GC),B,U,L,L+6|0,fQ)}if(Ov(x)!==0)return x[1];var X=x.length-1,J=x[1][1];if(2>>0)var e0=cJ(x,2),i0=dR(x,1),j=p(Ar(cQ),i0,e0);else switch(X){case 0:var j=sQ;break;case 1:var j=oQ;break;default:var Y=dR(x,1),j=l(Ar(vQ),Y)}return Zx(J,j)}}function mR(x,r){var e=SV(r),t=e.length-1-1|0,u=0;if(t>=0)for(var i=u;;){var f=X1(e,i)[1+i],o=function(B){return function(X){return X?B===0?QF:HF:B===0?qF:GF}}(i);if(f[0]===0)var a=f[5],y=f[4],h=f[3],k=f[6]?bF:xQ,A=f[2],g=f[7],I=o(f[1]),R=[0,nZ(Ar(rQ),I,g,A,k,h,y,a)];else if(f[1])var R=0;else var C=o(0),R=[0,l(Ar(eQ),C)];if(R){var L=R[1];l(fJ(x,FF),L)}var U=i+1|0;if(t!==i){var i=U;continue}break}return 0}function sJ(x){for(;;){var r=yR[1],e=1-bC(yR,r,[0,x,r]);if(!e)return e}}var yT0=yQ.slice(),dT0=[0];FC(tM,function(x,r){try{try{var e=r?dT0:gK(0);try{rR(0)}catch{}try{var t=rd(x);l(pR($F),t),mR($c,e);var u=zV(0);if(u<0){var i=$y(u);XK(X1(yT0,i)[1+i])}var f=Zc($c),o=f}catch(g){var a=R1(g),y=rd(x);l(pR(WF),y),mR($c,e);var h=rd(a);l(pR(VF),h),mR($c,gK(0));var o=Zc($c)}var k=o}catch(g){var A=R1(g);if(A!==HC)throw q0(A,0);var k=XK(ZF)}return k}catch{return 0}});var kR=[Qr,MQ,zs(0)],ed=0,oJ=-1;function Jl(x,r){return x[13]=x[13]+r[3]|0,iR(r,x[28])}var vJ=1000000010;function hR(x,r){return G0(x[17],r,0,Gx(r))}function td(x){return l(x[19],0)}function aJ(x,r,e){return x[9]=x[9]-r|0,hR(x,e),x[11]=0,0}function nd(x,r){var e=N(r,wx);return e&&aJ(x,Gx(r),r)}function Mv(x,r,e){var t=r[3],u=r[2];nd(x,r[1]),td(x),x[11]=1;var i=(x[6]-e|0)+u|0,f=x[8],o=f<=i?f:i;return x[10]=o,x[9]=x[6]-x[10]|0,l(x[21],x[10]),nd(x,t)}function lJ(x,r){return Mv(x,UQ,r)}function Za(x,r){var e=r[2],t=r[3];return nd(x,r[1]),x[9]=x[9]-e|0,l(x[20],e),nd(x,t)}function mT0(x,r,e){if(typeof e=="number")switch(e){case 0:var t=Xa(x[3]);if(!t)return 0;var u=t[1][1],i=function(yx,px){if(!px)return[0,yx,0];var Tx=px[1],O0=px[2];return jV(yx,Tx)?[0,yx,px]:[0,Tx,i(yx,O0)]};return u[1]=i(x[6]-x[9]|0,u[1]),0;case 1:return Ba(x[2]),0;case 2:return Ba(x[3]),0;case 3:var f=Xa(x[2]);return f?lJ(x,f[1][2]):td(x);case 4:var o=x[10]!==(x[6]-x[9]|0)?1:0;if(!o)return o;var a=x[28],y=a[2];if(y){var h=y[1];if(y[2]){var k=y[2];a[1]=a[1]-1|0,a[2]=k;var A=[0,h]}else{uR(a);var A=[0,h]}}else var A=0;if(!A)return 0;var g=A[1],I=g[1];return x[12]=x[12]-g[3]|0,x[9]=x[9]+I|0,0;default:var C=Ba(x[5]);return C?hR(x,l(x[25],C[1])):0}switch(e[0]){case 0:return aJ(x,r,e[1]);case 1:var R=e[2],L=e[1],U=R[1],B=R[2],X=Xa(x[2]);if(!X)return 0;var J=X[1],e0=J[2];switch(J[1]){case 0:return Za(x,L);case 1:return Mv(x,R,e0);case 2:return Mv(x,R,e0);case 3:return x[9]<(r+Gx(U)|0)?Mv(x,R,e0):Za(x,L);case 4:return x[11]?Za(x,L):x[9]<(r+Gx(U)|0)||((x[6]-e0|0)+B|0)c0){var $=v0;continue}var s0=c0}else var s0=f0;var o0=s0;break}else var o0=i0;var E0=o0-i0|0;return 0<=E0?Za(x,[0,RQ,E0+Y|0,CQ]):Mv(x,[0,LQ,o0+j|0,OQ],x[6]);case 3:var k0=e[2],M0=e[1];if(x[8]<(x[6]-x[9]|0)){var D0=Xa(x[2]);if(D0){var cx=D0[1],g0=cx[2],Z0=cx[1];x[9]=Z0-1>>>0&&lJ(x,g0)}else td(x)}var n0=x[9]-M0|0,nx=k0===1?1:x[9]=e)return G0(x[17],TJ,0,e);G0(x[17],TJ,0,80);var e=e+QM|0}}function kT0(x){return x[1]===kR?Zx(TQ,Zx(x[2],wQ)):SQ}function hT0(x){return x[1]===kR?Zx(hQ,Zx(x[2],kQ)):_Q}function _T0(x){return 0}function wT0(x){return 0}function EJ(x,r){function e(A){return 0}function t(A){return 0}function u(A){return 0}var i=xJ(0),f=[0,oJ,dQ,0];iR(f,i);var o=Dl(0);_R(o),Uv([0,1,f],o);var a=Dl(0),y=Dl(0),h=Dl(0),k=[0,o,Dl(0),h,y,a,78,10,68,78,0,1,1,1,1,rT0,mQ,x,r,u,t,e,0,0,kT0,hT0,_T0,wT0,i];return k[19]=function(A){return G0(k[17],EQ,0,1)},k[20]=function(A){return SJ(k,A)},k[21]=function(A){return SJ(k,A)},k}function AJ(x){function r(e){return Zc(x)}return EJ(function(e,t,u){return 0<=t&&0<=u&&(Gx(e)-u|0)>=t?ZC(x,e,t,u):T2(iZ)},r)}function ER(x){function r(e){return 0}return EJ(function(e,t,u){return rJ(x,e,t,u)},r)}var TT0=lw;function gJ(x){return Zr(TT0)}var ST0=gJ(0),ET0=AJ(tT0),AT0=AJ($c);ER(ST0);function NJ(x,r){var e=Zr(16),t=ER(e);p(x,t,r),Bl(t,0);var u=e[2];if(2>u)return z1(e);var i=u-2|0,f=1;return 0<=i&&(e[2]-i|0)>=1?Ya(e[1],f,i):T2(zZ)}function Xe(x,r){var e=0;if(typeof r=="number")return 0;switch(r[0]){case 0:var t=r[2];if(Xe(x,r[1]),typeof t=="number")switch(t){case 0:return hJ(x,0);case 1:return _J(x,0);case 2:return Bl(x,0);case 3:var u=x[14]=C1(U,j)+J5>>>0){var j=j+1|0;continue}for(var Y=z2(U,i0,j-i0|0),z=e0(j),F=z;;){if(F!==X){var t0=C1(U,F),$=0;if(48<=t0?58>t0&&($=1):t0===45&&($=1),$){var F=F+1|0;continue}}if(z===F)var f0=0;else try{var c0=it(z2(U,z,F-z|0)),f0=c0}catch(b0){var v0=R1(b0);if(v0[1]!==mn)throw q0(v0,0);var f0=J(0)}e0(F)!==X&&J(0);var s0=0;if(N(Y,wx)&&N(Y,FE))var o0=N(Y,"h")?N(Y,"hov")?N(Y,"hv")?N(Y,MM)?J(0):1:2:3:0;else s0=1;if(s0)var o0=4;var B=[0,f0,o0];break}break}return kJ(x,B[1],B[2]);case 2:var E0=r[1],k0=0;if(typeof E0=="number"||E0[0]!==0)k0=1;else{var M0=E0[2],D0=0;if(typeof M0=="number"||M0[0]!==1)D0=1;else var cx=r[2],g0=M0[2],Z0=E0[1];D0&&(k0=1)}if(k0){var n0=r[2],nx=E0;e=2}break;case 3:var xx=r[1],yx=0;if(typeof xx=="number"||xx[0]!==0)yx=1;else{var px=xx[2],Tx=0;if(typeof px=="number"||px[0]!==1)Tx=1;else{var O0=r[2],P0=px[2],N0=xx[1];e=1}Tx&&(yx=1)}if(yx){var J0=r[2],I0=xx;e=3}break;case 4:var Q=r[1],G=0;if(typeof Q=="number"||Q[0]!==0)G=1;else{var V=Q[2],l0=0;if(typeof V=="number"||V[0]!==1)l0=1;else var cx=r[2],g0=V[2],Z0=Q[1];l0&&(G=1)}if(G){var n0=r[2],nx=Q;e=2}break;case 5:var d0=r[1],A0=0;if(typeof d0=="number"||d0[0]!==0)A0=1;else{var M=d0[2],L0=0;if(typeof M=="number"||M[0]!==1)L0=1;else{var O0=r[2],P0=M[2],N0=d0[1];e=1}L0&&(A0=1)}if(A0){var J0=r[2],I0=d0;e=3}break;case 6:var V0=r[2];return Xe(x,r[1]),l(V0,x);case 7:return Xe(x,r[1]),Bl(x,0);default:var B0=r[2];return Xe(x,r[1]),T2(B0)}switch(e){case 0:return Xe(x,Z0),SR(x,g0,cx);case 1:return Xe(x,N0),SR(x,P0,Hy(1,O0));case 2:return Xe(x,nx),ud(x,n0);default:return Xe(x,I0),Yl(x,J0)}}function zr(x){return function(r){var e=r[1],t=0;return jr(function(u){return Xe(x,u),0},t,e)}}for(;;){var IJ=xR[1],gT0=[0,1];if(!(1-bC(xR,IJ,function(x,r){return function(e){return bC(x,1,0)&&(Bl(ET0,0),Bl(AT0,0)),l(r,0)}}(gT0,IJ)))){var NT0=2,IT0=function(x){var r=[0,0],e=Gx(x)-1|0,t=0;if(e>=0)for(var u=t;;){var i=C1(x,u);r[1]=(x8*r[1]|0)+i|0;var f=u+1|0;if(e!==u){var u=f;continue}break}r[1]=r[1]&ZU;var o=1073741823=0)for(var f=i;;){var o=(f*2|0)+3|0,a=X1(x,f)[1+f];X1(e,o)[1+o]=a;var y=f+1|0;if(u!==f){var f=y;continue}break}return[0,NT0,e,Dv[1],wo[1],0,0,Zs[1],0]},AR=function(x,r){var e=x[2].length-1,t=e=0&&(u.length-1-e|0)>=0&&(eV(i,0,u,0,e),f=1),f||T2(SZ),x[2]=u;var o=0}else var o=t;return o},OJ=[0,0],CT0=[0,0],gR=function(x){var r=x[2].length-1;return AR(x,r+1|0),r},Xl=function(x,r){try{var e=p(Dv[28],r,x[3]);return e}catch(i){var t=R1(i);if(t!==w2)throw q0(t,0);var u=gR(x);return x[3]=G0(Dv[4],r,u,x[3]),x[4]=G0(wo[4],u,1,x[4]),u}},NR=function(x,r){return qy(function(e){return Xl(x,e)},r)},LJ=function(x,r,e){return CT0[1]++,p(wo[28],r,x[4])?(AR(x,r+1|0),X1(x[2],r)[1+r]=e,0):(x[6]=[0,[0,r,e],x[6]],0)},IR=function(x){if(x===0)return 0;for(var r=x.length-1-1|0,e=0;;){if(0>r)return e;var t=[0,x[1+r],e],r=r-1|0,e=t}},PR=function(x,r){try{var e=p(Zs[28],r,x[7]);return e}catch(i){var t=R1(i);if(t!==w2)throw q0(t,0);var u=x[1];return x[1]=u+1|0,N(r,wx)&&(x[7]=G0(Zs[4],r,u,x[7])),u}},CR=function(x){return jy(x,0)?[0]:x},RR=function(x,r,e,t,u,i){var f=u[2],o=u[4],a=IR(r),y=IR(e),h=IR(t),k=Hc(function(s0){return Xl(x,s0)},y),A=Hc(function(s0){return Xl(x,s0)},h);x[5]=[0,[0,x[3],x[4],x[6],x[7],k,a],x[5]];var g=Zs[1],I=x[7];function C(s0,o0,E0){return tR(s0,a)?G0(Zs[4],s0,o0,E0):E0}x[7]=G0(Zs[13],C,I,g);var R=[0,Dv[1]],L=[0,wo[1]];$K(function(s0,o0){R[1]=G0(Dv[4],s0,o0,R[1]);var E0=L[1];try{var k0=p(wo[28],o0,x[4]),M0=k0}catch(cx){var D0=R1(cx);if(D0!==w2)throw q0(D0,0);var M0=1}return L[1]=G0(wo[4],o0,M0,E0),0},h,A),$K(function(s0,o0){return R[1]=G0(Dv[4],s0,o0,R[1]),L[1]=G0(wo[4],o0,0,L[1]),0},y,k),x[3]=R[1],x[4]=L[1];var U=0,B=x[6];x[6]=eR(function(s0,o0){return tR(s0[1],k)?o0:[0,s0,o0]},B,U);var X=i?p(f,x,o):l(f,x),J=Ol(x[5]),e0=J[6],i0=J[5],j=J[4],Y=J[3],z=J[2],F=J[1];x[5]=ZK(x[5]),x[7]=b1(function(s0,o0){var E0=p(Zs[28],o0,x[7]);return G0(Zs[4],o0,E0,s0)},j,e0),x[3]=F,x[4]=z;var t0=x[6];x[6]=eR(function(s0,o0){return tR(s0[1],i0)?o0:[0,s0,o0]},t0,Y);var $=0,f0=CR(t),c0=[0,qy(function(s0){var o0=Xl(x,s0);try{for(var E0=x[6];;){if(!E0)throw q0(w2,1);var k0=E0[1],M0=E0[2],D0=k0[2];if(EK(k0[1],o0)===0)return D0;var E0=M0}}catch(g0){var cx=R1(g0);if(cx===w2)return X1(x[2],o0)[1+o0];throw q0(cx,0)}},f0),$],v0=CR(r);return tV([0,[0,X],[0,qy(function(s0){try{var o0=p(Zs[28],s0,x[7]);return o0}catch(k0){var E0=R1(k0);throw E0===w2?q0([0,Tr,DQ],1):q0(E0,0)}},v0),c0]])},id=function(x,r){if(x===0)var e=RJ([0]);else{var t=RJ(qy(IT0,x)),u=x.length-1-1|0,i=0;if(u>=0)for(var f=i;;){var o=(f*2|0)+2|0;t[3]=G0(Dv[4],x[1+f],o,t[3]),t[4]=G0(wo[4],o,1,t[4]);var a=f+1|0;if(u!==f){var f=a;continue}break}var e=t}var y=l(r,e);return OJ[1]=(OJ[1]+e[1]|0)-1|0,e[8]=gx(e[8]),AR(e,3+((X1(e[2],1)[2]*16|0)/32|0)|0),[0,l(y,0),r,y,0]},fd=function(x,r){if(x)return x;var e=$C(Qr,r[1]);return e[1]=r[2],QV(e)},OR=function(x,r,e){if(x)return r;var t=e[8];if(t!==0)for(var u=t;;){if(u){var i=u[2];l(u[1],r);var u=i;continue}break}return r},cd=function(x){var r=gR(x),e=0;if(r%2|0&&(2+((X1(x[2],1)[2]*16|0)/32|0)|0)>=r){var t=gR(x);e=1}if(!e)var t=r;return X1(x[2],t)[1+t]=0,t},LR=function(x,r){for(var e=[0,0],t=r.length-1;;){if(e[1]>=t)return 0;var u=e[1],i=X1(r,u)[1+u],f=function(hx){e[1]++;var W0=e[1];return X1(r,W0)[1+W0]},o=f(0);if(typeof o=="number")switch(o){case 0:var a=f(0),b0=function(W0){return function(T){return W0}}(a);break;case 1:var y=f(0),b0=function(W0){return function(T){return T[1+W0]}}(y);break;case 2:var h=f(0),k=f(0),b0=function(W0,T){return function(K){return K[1+W0][1+T]}}(h,k);break;case 3:var A=f(0),b0=function(W0){return function(T){return l(T[1][1+W0],T)}}(A);break;case 4:var g=f(0),b0=function(W0){return function(T,K){return T[1+W0]=K,0}}(g);break;case 5:var I=f(0),C=f(0),b0=function(W0,T){return function(K){return l(W0,T)}}(I,C);break;case 6:var R=f(0),L=f(0),b0=function(W0,T){return function(K){return l(W0,K[1+T])}}(R,L);break;case 7:var U=f(0),B=f(0),X=f(0),b0=function(W0,T,K){return function(H0){return l(W0,H0[1+T][1+K])}}(U,B,X);break;case 8:var J=f(0),e0=f(0),b0=function(W0,T){return function(K){return l(W0,l(K[1][1+T],K))}}(J,e0);break;case 9:var i0=f(0),j=f(0),Y=f(0),b0=function(W0,T,K){return function(H0){return p(W0,T,K)}}(i0,j,Y);break;case 10:var z=f(0),F=f(0),t0=f(0),b0=function(W0,T,K){return function(H0){return p(W0,T,H0[1+K])}}(z,F,t0);break;case 11:var $=f(0),f0=f(0),c0=f(0),v0=f(0),b0=function(W0,T,K,H0){return function(sx){return p(W0,T,sx[1+K][1+H0])}}($,f0,c0,v0);break;case 12:var s0=f(0),o0=f(0),E0=f(0),b0=function(W0,T,K){return function(H0){return p(W0,T,l(H0[1][1+K],H0))}}(s0,o0,E0);break;case 13:var k0=f(0),M0=f(0),D0=f(0),b0=function(W0,T,K){return function(H0){return p(W0,H0[1+T],K)}}(k0,M0,D0);break;case 14:var cx=f(0),g0=f(0),Z0=f(0),n0=f(0),b0=function(W0,T,K,H0){return function(sx){return p(W0,sx[1+T][1+K],H0)}}(cx,g0,Z0,n0);break;case 15:var nx=f(0),xx=f(0),yx=f(0),b0=function(W0,T,K){return function(H0){return p(W0,l(H0[1][1+T],H0),K)}}(nx,xx,yx);break;case 16:var px=f(0),Tx=f(0),b0=function(W0,T){return function(K){return p(K[1][1+W0],K,T)}}(px,Tx);break;case 17:var O0=f(0),P0=f(0),b0=function(W0,T){return function(K){return p(K[1][1+W0],K,K[1+T])}}(O0,P0);break;case 18:var N0=f(0),J0=f(0),I0=f(0),b0=function(W0,T,K){return function(H0){return p(H0[1][1+W0],H0,H0[1+T][1+K])}}(N0,J0,I0);break;case 19:var Q=f(0),G=f(0),b0=function(W0,T){return function(K){var H0=l(K[1][1+T],K);return p(K[1][1+W0],K,H0)}}(Q,G);break;case 20:var V=f(0),l0=f(0);cd(x);var b0=function(W0,T){return function(K){return l(qx(T,W0,0),T)}}(V,l0);break;case 21:var d0=f(0),A0=f(0);cd(x);var b0=function(W0,T){return function(K){var H0=K[1+T];return l(qx(H0,W0,0),H0)}}(d0,A0);break;case 22:var M=f(0),L0=f(0),V0=f(0);cd(x);var b0=function(W0,T,K){return function(H0){var sx=H0[1+T][1+K];return l(qx(sx,W0,0),sx)}}(M,L0,V0);break;default:var B0=f(0),vx=f(0);cd(x);var b0=function(W0,T){return function(K){var H0=l(K[1][1+T],K);return l(qx(H0,W0,0),H0)}}(B0,vx)}else var b0=o;LJ(x,i,b0),e[1]++}},UJ=function(x,r){var e=r.length-1,t=$C(0,e),u=e-1|0,i=0;if(u>=0)for(var f=i;;){var o=X1(r,f)[1+f];if(typeof o=="number")switch(o){case 0:var h=function(g){function I(C){var R=t[1+g];if(I===R)throw q0([0,Il,x],1);return l(R,C)}return I}(f);break;case 1:var a=[];C0(a,[_8,function(g,I){return function(C){var R=t[1+I];if(g===R)throw q0([0,Il,x],1);var L=Ov(R);if(Pv===L)return R[1];if(_8!==L)return R;var U=R[1];R[1]=iT0;try{var B=l(U,0);return $V(R,B),B}catch(J){var X=R1(J);throw R[1]=function(e0){throw q0(X,0)},q0(X,0)}}}(a,f)]);var h=a;break;default:var y=function(g){throw q0([0,Il,x],1)},h=[0,y,y,y,0]}else var h=o[0]===0?UJ(x,o[1]):o[1];t[1+f]=h;var k=f+1|0;if(u!==f){var f=k;continue}break}return t},MJ=function(x,r,e){if(Ov(e)===0&&x.length-1<=e.length-1){var t=x.length-1-1|0,u=0;if(t>=0)for(var i=u;;){var f=e[1+i],o=X1(x,i)[1+i];if(typeof o=="number")if(o===2){var a=0;if(Ov(f)===0&&f.length-1===4)for(var y=0,h=r[1+i];;){h[1+y]=f[1+y];var k=y+1|0;if(y!==3){var y=k;continue}break}else a=1;if(a)throw q0([0,Tr,jQ],1)}else r[1+i]=f;else o[0]===0&&MJ(o[1],r[1+i],f);var A=i+1|0;if(t!==i){var i=A;continue}break}return 0}throw q0([0,Tr,zQ],1)};try{DK("TMPDIR")}catch(x){var DJ=R1(x);if(DJ!==w2)throw q0(DJ,0)}try{DK("TEMP")}catch(x){var jJ=R1(x);if(jJ!==w2)throw q0(jJ,0)}N(WK,hz)&&N(WK,"Win32");var qc=function(x,r){function e(t){return ct(x,t)}return b3<=r?(e(ha|r>>>18|0),e(m1|(r>>>12|0)&63),e(m1|(r>>>6|0)&63),e(m1|r&63)):vP<=r?(e(Aa|r>>>12|0),e(m1|(r>>>6|0)&63),e(m1|r&63)):m1<=r?(e(ma|r>>>6|0),e(m1|r&63)):e(r)},To=[Qr,YQ,zs(0)],zJ=0,KJ=0,JJ=0,YJ=0,BJ=0,XJ=0,WJ=0,VJ=0,ZJ=0,$J=0,m=function(x){if(x[3]===x[2])return-1;var r=x[1][1+x[3]];return x[3]=x[3]+1|0,r===10&&(x[5]!==0&&(x[5]=x[5]+1|0),x[4]=x[3]),r},r0=function(x,r){return x[9]=x[3],x[10]=x[4],x[11]=x[5],x[12]=r,0},pr=function(x){return x[6]=x[3],x[7]=x[4],x[8]=x[5],r0(x,-1)},w=function(x){return x[3]=x[9],x[4]=x[10],x[5]=x[11],x[12]},$a=function(x){return x[3]=x[6],x[4]=x[7],x[5]=x[8],0},UR=function(x,r){return x[6]=r,0},sd=function(x){return x[3]-x[6]|0},n1=function(x){var r=x[3]-x[6]|0,e=x[6],t=x[1];return 0<=e&&0<=r&&(t.length-1-r|0)>=e?nV(t,e,r):T2(EZ)},FJ=function(x){var r=x[6];return X1(x[1],r)[1+r]},Wl=function(x,r,e,t){for(var u=[0,r],i=[0,e],f=[0,0];;){if(0>=i[1])return f[1];var o=x[1+u[1]];if(0>o)throw q0(To,1);if(Jr>>18|0),Xr(t,f[1]+1|0,m1|(o>>>12|0)&63),Xr(t,f[1]+2|0,m1|(o>>>6|0)&63),Xr(t,f[1]+3|0,m1|o&63),f[1]=f[1]+4|0}else Xr(t,f[1],Aa|o>>>12|0),Xr(t,f[1]+1|0,m1|(o>>>6|0)&63),Xr(t,f[1]+2|0,m1|o&63),f[1]=f[1]+3|0;else Xr(t,f[1],ma|o>>>6|0),Xr(t,f[1]+1|0,m1|o&63),f[1]=f[1]+2|0;else Xr(t,f[1],o),f[1]++;u[1]++,i[1]+=-1}},QJ=function(x){for(var r=Gx(x),e=za(r,0),t=[0,0],u=[0,0];;){if(t[1]>=r)return[0,e,u[1],$J,ZJ,VJ,WJ,XJ,BJ,YJ,JJ,KJ,zJ];var i=ix(x,t[1]),f=0;if(ma<=i)if(ha<=i)if(Qr<=i)f=1;else{var o=ix(x,t[1]+1|0),a=ix(x,t[1]+2|0),y=ix(x,t[1]+3|0),h=(o>>>6|0)!==2?1:0;if(h)var A=h;else var k=(a>>>6|0)!==2?1:0,A=k||((y>>>6|0)!==2?1:0);if(A)throw q0(To,1);var g=(i&7)<<18|(o&63)<<12|(a&63)<<6|y&63;if(c5>>6|0)!==2?1:0,U=L||((C>>>6|0)!==2?1:0);if(U)var X=U;else var B=55296<=R?1:0,X=B&&(R<=57343?1:0);if(X)throw q0(To,1);e[1+u[1]]=R,t[1]=t[1]+3|0}else{var J=ix(x,t[1]+1|0);if((J>>>6|0)!==2)throw q0(To,1);e[1+u[1]]=(i&31)<<6|J&63,t[1]=t[1]+2|0}else m1<=i?f=1:(e[1+u[1]]=i,t[1]++);if(f)throw q0(To,1);u[1]++}},Vl=function(x,r,e){var t=x[6]+r|0,u=g1(e*4|0),i=x[1];if((t+e|0)<=i.length-1)return Ya(u,0,Wl(i,t,e,u));throw q0([0,Tr,JQ],1)},Kx=function(x){var r=x[6],e=x[3]-r|0,t=g1(e*4|0);return Ya(t,0,Wl(x[1],r,e,t))},od=function(x,r){var e=x[6],t=x[3]-e|0,u=g1(t*4|0);return cR(r,u,0,Wl(x[1],e,t,u))},Zl=function(x){var r=x.length-1,e=g1(r*4|0);return Ya(e,0,Wl(x,0,r,e))},HJ=function(x,r){return x[3]=x[3]-r|0,0},Gc=function(x){return typeof x=="number"?0:x[0]===0?1:x[1]},jv=function(x,r,e,t){var u=Gc(x),i=Gc(t),f=i<=u?u+1|0:i+1|0;return f===1?[0,r,e]:[1,f,r,e,x,t]},vd=function(x,r,e,t){var u=Gc(x),i=Gc(t),f=i<=u?u+1|0:i+1|0;return[1,f,r,e,x,t]},qJ=function(x,r,e,t){var u=Gc(x),i=Gc(t);if((i+2|0)=i)return jv(x,r,e,t);var C=t[5],R=t[4],L=t[3],U=t[2],B=Gc(R);if(B<=Gc(C))return vd(jv(x,r,e,R),U,L,C);var X=R[4],J=R[3],e0=R[2],i0=jv(R[5],U,L,C);return vd(jv(x,r,e,X),e0,J,i0)},RT0=0,Fa=function(x,r){for(var e=x,t=r;;){if(typeof e=="number")return t;if(e[0]===0)return[0,e[1],0,t];var u=[0,e[2],e[4],t],e=e[3],t=u}},GJ=function(x,r){if(!x)return 0;var e=x[1],t=Fa(x[2],x[3]);return[0,e,function(u){return GJ(t,u)}]},OT0=function(x){var r=Fa(x,0);return function(e){return GJ(r,e)}},$s=function(x){return typeof x=="number"?0:x[0]===0?1:x[1]},LT0=function(x){return[0,x]},We=function(x,r,e){var t=0;if(typeof x=="number"){if(typeof e=="number")return[0,r];e[0]===1&&(t=1)}else if(x[0]===0)typeof e!="number"&&e[0]===1&&(t=1);else{var u=x[1];if(typeof e!="number"&&e[0]===1){var i=e[1],f=i<=u?u+1|0:i+1|0;return[1,f,r,x,e]}var o=u;t=2}switch(t){case 1:var o=e[1];break;case 0:return[1,2,r,x,e]}return[1,o+1|0,r,x,e]},So=function(x,r,e){var t=$s(x),u=$s(e),i=u<=t?t+1|0:u+1|0;return[1,i,r,x,e]},ad=function(x,r){if(r===0)return 0;if(r===1)return[0,l(x,0)];var e=r>>>1|0,t=ad(x,e),u=l(x,0),i=ad(x,(r-e|0)-1|0);return[1,$s(t)+1|0,u,t,i]},UT0=function(x){var r=[0,0],e=x.length-1;return ad(function(t){var u=r[1],i=X1(x,u)[1+u];return r[1]++,i},e)},jt=function(x,r,e){var t=$s(x),u=$s(e);if((u+2|0)=u)return We(x,r,e);var A=e[4],g=e[3],I=e[2],C=$s(g);if(C<=$s(A))return So(We(x,r,g),I,A);var R=g[3],L=g[2],U=We(g[4],I,A);return So(We(x,r,R),L,U)},bJ=function(x,r){if(typeof r=="number")return[0,x];if(r[0]===0)return We([0,x],r[1],0);var e=r[4],t=r[2];return jt(bJ(x,r[3]),t,e)},xY=function(x,r){if(typeof r=="number")return[0,x];if(r[0]===0)return We(0,r[1],[0,x]);var e=r[3],t=r[2];return jt(e,t,xY(x,r[4]))},K2=function(x,r,e){if(typeof x=="number")return bJ(r,e);if(x[0]===0){if(typeof e!="number"){if(e[0]===0)return We(x,r,e);var t=e[4],u=e[3],i=e[2];return 3>1,T=E0(W0,Z0),K=T[1],H0=E0(g0-W0|0,T[2]),sx=K,ux=H0[1],z0=0,Px=H0[2];;){if(sx){if(ux){var kx=ux[2],$x=ux[1],Qx=sx[2],j0=sx[1],rr=p(s0,j0,$x);if(rr===0){var sx=Qx,ux=kx,z0=[0,j0,z0];continue}if(0>1,T=o0(W0,Z0),K=T[1],H0=o0(g0-W0|0,T[2]),sx=K,ux=H0[1],z0=0,Px=H0[2];;){if(sx){if(ux){var kx=ux[2],$x=ux[1],Qx=sx[2],j0=sx[1],rr=p(s0,j0,$x);if(rr===0){var sx=Qx,ux=kx,z0=[0,j0,z0];continue}if(0<=rr){var ux=kx,z0=[0,$x,z0];continue}var sx=Qx,z0=[0,j0,z0];continue}var zx=Qc(sx,z0)}else var zx=Qc(ux,z0);return[0,zx,Px]}},k0=Fc(j),M0=2<=k0?o0(k0,j)[1]:j,D0=function(g0,Z0){if(3>=g0>>>0)switch(g0){case 0:return[0,0,Z0];case 1:if(Z0)return[0,[0,Z0[1]],Z0[2]];break;case 2:if(Z0){var n0=Z0[2];if(n0)return[0,[1,2,n0[1],[0,Z0[1]],0],n0[2]]}break;default:if(Z0){var nx=Z0[2];if(nx){var xx=nx[2];if(xx)return[0,[1,2,nx[1],[0,Z0[1]],[0,xx[1]]],xx[2]]}}}var yx=g0/2|0,px=D0(yx,Z0),Tx=px[2],O0=px[1];if(!Tx)throw q0([0,Tr,FQ],1);var P0=Tx[1],N0=D0((g0-yx|0)-1|0,Tx[2]),J0=N0[2];return[0,So(O0,P0,N0[1]),J0]};return D0(Fc(M0),M0)[1]}var cx=c0[1];return r(cx,r(v0,r(f0,r(t0,[0,z]))))}function i0(j,Y,z){l(zr(Y),WQ);var F=nY(z);F&&l(zr(Y),VQ);var t0=0;return b1(function($,f0){return $&&l(zr(Y),XQ),p(j,Y,f0),1},t0,F),F&&l(zr(Y),ZQ),l(zr(Y),$Q)}return[0,u1,jR,t,r,LT0,u,i,f,a,y,h,k,A,g,J,I,C,R,L,U,DR,nY,$l,rY,eY,MT0,$l,rY,B,X,OT0,e0,i0,ad,UT0,function(j,Y){for(var z=Y;;){if(typeof z=="number")return 0;if(z[0]===0){var F=z[1];return l(j,F)?[0,F]:0}var t0=z[2],$=z[4],f0=z[3];if(!l(j,t0)){var z=$;continue}for(var c0=t0,v0=f0;;){if(typeof v0=="number")return[0,c0];if(v0[0]===0){var s0=v0[1];return l(j,s0)?[0,s0]:[0,c0]}var o0=v0[2],E0=v0[4],k0=v0[3];if(l(j,o0)){var c0=o0,v0=k0;continue}var v0=E0}}}]},iY=function(x){switch(x[0]){case 0:return 1;case 1:return 2;case 2:return 2;default:return 3}},Yx=function(x,r){if(!r)return r;var e=r[1],t=l(x,e);return e===t?r:[0,t]},fx=function(x,r,e,t,u){var i=p(x,r,e);return e===i?t:l(u,i)},Q0=function(x,r,e,t){var u=l(x,r);return r===u?e:l(t,u)},r2=function(x,r){var e=r[1],t=r[2];return fx(x,e,t,r,function(u){return[0,e,u]})},fY=function(x,r){return Yx(function(e){var t=e[1],u=e[2];return fx(x,t,u,e,function(i){return[0,t,i]})},r)},gr=function(x,r){var e=b1(function(u,i){var f=u[2],o=u[1],a=l(x,i),y=f||(a!==i?1:0);return[0,[0,a,o],y]},EH,r),t=e[1];return e[2]?gx(t):r},zR=id(gH,function(x){var r=NR(x,AH),e=r[1],t=r[2],u=r[3],i=r[4],f=r[5],o=r[6],a=r[7],y=r[8],h=r[9],k=r[10],A=r[11],g=r[12],I=r[13],C=r[14],R=r[15],L=r[16],U=r[17],B=r[18],X=r[19],J=r[20],e0=r[21],i0=r[22],j=r[23],Y=r[24],z=r[25],F=r[26],t0=r[27],$=r[28],f0=r[29],c0=r[30],v0=r[31],s0=r[32],o0=r[33],E0=r[34],k0=r[35],M0=r[36],D0=r[37],cx=r[38],g0=r[39],Z0=r[40],n0=r[41],nx=r[42],xx=r[43],yx=r[44],px=r[45],Tx=r[46],O0=r[47],P0=r[48],N0=r[49],J0=r[50],I0=r[51],Q=r[52],G=r[53],V=r[54],l0=r[55],d0=r[56],A0=r[58],M=r[59],L0=r[60],V0=r[61],B0=r[62],vx=r[63],b0=r[64],hx=r[65],W0=r[66],T=r[67],K=r[68],H0=r[69],sx=r[70],ux=r[71],z0=r[72],Px=r[73],kx=r[74],$x=r[75],Qx=r[76],j0=r[77],rr=r[78],zx=r[79],X0=r[80],ir=r[81],K0=r[82],Sr=r[83],Dr=r[84],ax=r[85],br=r[86],t2=r[87],k1=r[88],Rr=r[89],U1=r[90],_=r[91],b=r[92],x0=r[93],S0=r[94],H=r[95],h0=r[96],Y0=r[97],U0=r[98],tx=r[99],Wx=r[Uc],Lx=r[Pt],ur=r[Cs],Vx=r[tt],er=r[ln],Jx=r[Ue],Or=r[_1],Xx=r[Rs],X2=r[fn],at=r[wv],de=r[P1],En=r[ut],ro=r[fe],An=r[Er],fs=r[Vi],me=r[Ps],gn=r[Ns],re=r[aa],Vt=r[pa],dr=r[xl],Zt=r[Ef],Nn=r[G3],Hv=r[qr],ke=r[Rt],lt=r[Ra],Ko=r[gi],eo=r[U4],a2=r[Jr],to=r[m1],In=r[yl],pt=r[fz],Jo=r[lh],no=r[pz],qv=r[$U],Yo=r[Sj],uo=r[xK],yt=r[UD],cs=r[k_],Bo=r[HM],io=r[dD],a3=r[uz],Xo=r[BD],Pn=r[tD],Gv=r[Ij],fo=r[144],Wo=r[145],bv=r[146],ss=r[147],Vo=r[zM],Zo=r[dj],xa=r[150],l3=r[151],Lm=r[152],p3=r[153],C6=r[154],R6=r[155],y3=r[156],Um=r[157],Mm=r[158],ra=r[159],d3=r[zS],Dm=r[FD],jm=r[zD],zm=r[Nz],M1=r[OT],dt=r[wz],m3=r[CD],q=r[DN],P=r[RT],D=r[e5],T0=r[Z9],R0=r[Ck],rx=r[OD],Sx=r[Aj],Dx=r[Qz],jx=r[mk],bx=r[cD],mr=r[_M],or=r[qj],_r=r[DU],cr=r[JD],sr=r[AC],Pr=r[Hk],$r=r[ey],Wr=r[OI],Vr=r[Bw],Ur=r[qh],Fr=r[rA],x1=r[oj],l1=r[RS],p1=r[kM],f1=r[bD],h1=r[ma],Cr=r[KM],D1=r[mh],n2=r[DM],A1=r[Ej],W2=r[oM],ee=r[Xz],Ax=r[pA],Kr=r[iK],r1=r[JU],lr=r[Gj],Br=r[Kz],V1=r[VM],he=r[Oz],V2=r[ZT],_e=r[bz],$t=r[iz],N2=r[AM],u2=r[Vz],I2=r[XM],l2=r[cE],mt=r[UU],P2=r[Vj],kt=r[NT],Ze=r[FI],we=r[gj],Te=r[Lz],Se=r[Qj],Ee=r[_j],Ae=r[WD],Z1=r[VU],ge=r[x8],ht=r[Aa],$e=r[kj],te=r[LD],C2=r[Zz],Ft=r[hj],os=r[az],_t=r[ND],wt=r[xj],Qt=r[rK],ne=r[kD],Tt=r[nK],Ht=r[Ez],ue=r[Dz],qt=r[Fg],Cn=r[dT],Gt=r[qS],Rn=r[ha],bt=r[OU],On=r[cz],$o=r[Mj],xn=r[$5],St=r[mS],vs=r[_8],as=r[J8],ls=r[Qr],Fo=r[V4],k3=r[Pv],co=r[vj],Qo=r[Ea],ea=r[H8],h3=r[Pa],_3=r[B3],ta=r[yv],na=r[ZM],Ln=r[258],w3=r[YM],T3=r[260],S3=r[261],Ne=r[262],E3=r[263],A3=r[Uj],ua=r[Dj],ps=r[266],so=r[267],Ho=r[268],qo=r[iM],g3=r[270],ia=r[Hx],ys=r[272],oo=r[273],Go=r[274],Et=r[TM],Fe=r[276],ds=r[277],At=r[tz],rn=r[279],en=r[Jz],bo=r[ek],N3=r[282],I3=r[sj],xv=r[284],P3=r[ED],fa=r[aj],Km=r[57];function Un(n,s,c){var v=c[2],d=c[1],S=c[4],E=c[3],O=Yx(l(n[1][1+Ax],n),d),Z=p(n[1][1+n0],n,v);return v===Z&&d===O?c:[0,O,Z,E,S]}function Jm(n,s,c){var v=c[4],d=c[3],S=c[2],E=c[1],O=p(n[1][1+Fe],n,E),Z=Yx(l(n[1][1+U],n),S),y0=p(n[1][1+$],n,d),_0=p(n[1][1+n0],n,v);return E===O&&d===y0&&S===Z&&v===_0?c:[0,O,Z,y0,_0]}function Ym(n,s,c){var v=c[3],d=c[2],S=c[1],E=p(n[1][1+Ax],n,S),O=p(n[1][1+N0],n,d),Z=p(n[1][1+n0],n,v);return S===E&&d===O&&v===Z?c:[0,E,O,Z]}function IL(n,s,c){var v=c[3],d=c[2],S=c[1],E=p(n[1][1+M],n,S),O=p(n[1][1+N0],n,d),Z=p(n[1][1+n0],n,v);return S===E&&d===O&&v===Z?c:[0,E,O,Z]}function PL(n,s,c){var v=c[2],d=v[2],S=v[1],E=c[1],O=G0(n[1][1+o],n,s,S),Z=Yx(l(n[1][1+Ax],n),d);return S===O&&d===Z?c:[0,E,[0,O,Z]]}function CL(n,s,c){var v=c[3],d=c[2],S=c[1],E=gr(p(n[1][1+a],n,d),S),O=p(n[1][1+n0],n,v);return S===E&&v===O?c:[0,E,d,O]}function RL(n,s,c){var v=c[4],d=c[2],S=p(n[1][1+Ax],n,d),E=p(n[1][1+n0],n,v);return d===S&&v===E?c:[0,c[1],S,c[3],E]}function OL(n,s,c){var v=c[3],d=c[2],S=p(n[1][1+Ax],n,d),E=p(n[1][1+n0],n,v);return d===S&&v===E?c:[0,c[1],S,E]}function LL(n,s,c){var v=c[3],d=c[2],S=c[1],E=p(n[1][1+Ax],n,S);if(typeof d=="number")var Cx=d;else if(d[0]===0)var O=d[1],Z=p(n[1][1+$],n,O),y0=O===Z?d:[0,Z],Cx=y0;else var _0=d[1],F0=p(n[1][1+$],n,_0),ox=_0===F0?d:[1,F0],Cx=ox;var dx=p(n[1][1+n0],n,v);return E===S&&dx===v?c:[0,E,Cx,dx]}function UL(n,s,c){var v=c[3],d=c[2],S=c[1],E=p(n[1][1+Ax],n,S),O=p(n[1][1+F],n,d),Z=p(n[1][1+n0],n,v);return E===S&&O===d&&Z===v?c:[0,E,O,Z]}function ML(n,s,c){var v=c[4],d=c[3],S=c[2],E=c[1],O=r2(l(n[1][1+Et],n),E);if(S)var Z=S[1],y0=Z[1],_0=Z[2],F0=function(d1){return[0,[0,y0,d1]]},ox=fx(l(n[1][1+so],n),y0,_0,S,F0);else var ox=S;if(d)var Cx=d[1],dx=Cx[1],wr=Cx[2],c1=function(d1){return[0,[0,dx,d1]]},s1=fx(l(n[1][1+Et],n),dx,wr,d,c1);else var s1=d;var y1=p(n[1][1+n0],n,v);return E===O&&S===ox&&d===s1&&v===y1?c:[0,O,ox,s1,y1]}function DL(n,s,c){var v=c[2],d=c[1],S=p(n[1][1+Ax],n,d),E=p(n[1][1+n0],n,v);return d===S&&v===E?c:[0,S,E]}function jL(n,s,c){var v=c[1],d=p(n[1][1+n0],n,v);return v===d?c:[0,d]}function zL(n,s){return s}function KL(n,s,c){var v=c[3],d=c[2],S=c[1],E=gr(l(n[1][1+cx],n),S),O=gr(l(n[1][1+Ax],n),d),Z=p(n[1][1+n0],n,v);return S===E&&d===O&&v===Z?c:[0,E,O,Z]}function JL(n,s,c){var v=c[3],d=c[2],S=c[1],E=p(n[1][1+Ax],n,S),O=r2(l(n[1][1+g0],n),d),Z=p(n[1][1+n0],n,v);return S===E&&d===O&&v===Z?c:[0,E,O,Z]}function YL(n,s){var c=s[2],v=c[3],d=c[2],S=c[1],E=s[1],O=Yx(l(n[1][1+Ax],n),S),Z=p(n[1][1+O0],n,d),y0=p(n[1][1+n0],n,v);return S===O&&d===Z&&v===y0?s:[0,E,[0,O,Z,y0]]}function BL(n,s,c){var v=c[3],d=c[2],S=c[1],E=c[4],O=p(n[1][1+Ax],n,S),Z=gr(l(n[1][1+xx],n),d),y0=p(n[1][1+n0],n,v);return S===O&&d===Z&&v===y0?c:[0,O,Z,y0,E]}function C3(n,s,c){var v=c[1],d=p(n[1][1+n0],n,v);return v===d?c:[0,d]}function Bm(n,s){var c=s[2],v=c[2],d=c[1],S=s[1],E=p(n[1][1+Ax],n,d),O=p(n[1][1+n0],n,v);return d===E&&v===O?s:[0,S,[0,E,O]]}function XL(n,s){var c=s[2],v=c[2],d=c[1],S=s[1],E=p(n[1][1+Ax],n,d),O=p(n[1][1+n0],n,v);return d===E&&v===O?s:[0,S,[0,E,O]]}function WL(n,s){return[0,p(n[1][1+N0],n,s),0]}function VL(n,s){var c=l(n[1][1+P0],n),v=b1(function(S,E){var O=S[2],Z=S[1],y0=l(c,E);if(!y0)return[0,Z,1];if(y0[2])return[0,Qc(y0,Z),1];var _0=y0[1],F0=O||(E!==_0?1:0);return[0,[0,_0,Z],F0]},SH,s),d=v[1];return v[2]?gx(d):s}function Xm(n,s){return p(n[1][1+O0],n,s)}function Wm(n,s,c){var v=c[2],d=c[1],S=gr(l(n[1][1+Ax],n),d),E=p(n[1][1+n0],n,v);return d===S&&v===E?c:[0,S,E]}function ZL(n,s,c){var v=c[2],d=c[1],S=c[3],E=Yx(l(n[1][1+Ax],n),d),O=p(n[1][1+n0],n,v);return d===E&&v===O?c:[0,E,O,S]}function ca(n,s){var c=s[2],v=c[2],d=c[1],S=s[1],E=p(n[1][1+mr],n,d),O=p(n[1][1+n0],n,v);return d===E&&v===O?s:[0,S,[0,E,O]]}function Vm(n,s){var c=s[2],v=c[3],d=c[2],S=d[2],E=d[1],O=c[1],Z=s[1],y0=p(n[1][1+M1],n,E),_0=Yx(l(n[1][1+$],n),S),F0=p(n[1][1+n0],n,v);return y0===E&&_0===S&&F0===v?s:[0,Z,[0,O,[0,y0,_0],F0]]}function Zm(n,s){var c=s[2],v=s[1],d=p(n[1][1+i0],n,c);return jy(d,c)?s:[0,v,d]}function $L(n,s){return p(n[1][1+Ax],n,s)}function FL(n,s){var c=s[2],v=c[2],d=c[1],S=s[1];if(d)var E=d[1],O=function(_0){return[0,_0]},Z=Q0(l(n[1][1+Ax],n),E,d,O);else var Z=d;var y0=p(n[1][1+n0],n,v);return d===Z&&v===y0?s:[0,S,[0,Z,y0]]}function QL(n,s){return p(n[1][1+Ax],n,s)}function O6(n,s,c){return G0(n[1][1+K0],n,s,c)}function HL(n,s,c){var v=c[2],d=v[2],S=v[1],E=c[1],O=G0(n[1][1+j0],n,s,S),Z=p(n[1][1+n0],n,d);return O===S&&d===Z?c:[0,E,[0,O,Z]]}function $m(n,s,c){return G0(n[1][1+K0],n,s,c)}function qL(n,s,c){var v=c[2],d=v[2],S=v[1],E=c[1],O=G0(n[1][1+zx],n,s,S),Z=p(n[1][1+Z1],n,d);return S===O&&d===Z?c:[0,E,[0,O,Z]]}function Fm(n,s,c){switch(c[0]){case 0:var v=c[1],d=function(O){return[0,O]};return Q0(p(n[1][1+X0],n,s),v,c,d);case 1:var S=c[1],E=function(O){return[1,O]};return Q0(p(n[1][1+rr],n,s),S,c,E);default:return c}}function L6(n,s,c){return G0(n[1][1+K0],n,s,c)}function Qm(n,s,c){return G0(n[1][1+K0],n,s,c)}function GL(n,s,c){var v=c[2],d=v[2],S=v[1],E=c[1],O=G0(n[1][1+B0],n,s,S),Z=p(n[1][1+n0],n,d);return O===S&&d===Z?c:[0,E,[0,O,Z]]}function Hm(n,s,c){return p(n[1][1+Cn],n,c)}function U6(n,s,c){return G0(n[1][1+kx],n,s,c)}function bL(n,s,c){var v=c[1],d=c[2];function S(E){return[0,v,E]}return fx(p(n[1][1+Qx],n,s),v,d,c,S)}function M6(n,s,c){var v=c[1],d=c[2];function S(E){return[0,v,E]}return fx(p(n[1][1+Px],n,s),v,d,c,S)}function xU(n,s,c){var v=c[1],d=c[2];function S(E){return[0,v,E]}return fx(p(n[1][1+V0],n,s),v,d,c,S)}function rU(n,s,c){switch(c[0]){case 0:var v=c[1],d=function(Cx){return[0,Cx]};return Q0(p(n[1][1+b0],n,s),v,c,d);case 1:var S=c[1],E=function(Cx){return[1,Cx]};return Q0(p(n[1][1+W0],n,s),S,c,E);case 2:var O=c[1],Z=function(Cx){return[2,Cx]};return Q0(p(n[1][1+sx],n,s),O,c,Z);case 3:var y0=c[1],_0=function(Cx){return[3,Cx]};return Q0(p(n[1][1+K],n,s),y0,c,_0);default:var F0=c[1],ox=function(Cx){return[4,Cx]};return Q0(p(n[1][1+H0],n,s),F0,c,ox)}}function eU(n,s,c){var v=c[2],d=v[4],S=v[3],E=v[2],O=v[1],Z=c[1],y0=G0(n[1][1+T],n,s,O),_0=G0(n[1][1+hx],n,s,E),F0=p(n[1][1+Z1],n,S);if(d){var ox=0;if(y0[0]===3){var Cx=_0[2];if(Cx[0]===2)var wr=Nr(y0[1][2][1],Cx[1][1][2][1]);else ox=1}else ox=1;if(ox)var dx=O===y0?1:0,wr=dx&&(E===_0?1:0)}else var wr=d;return y0===O&&_0===E&&F0===S&&d===wr?c:[0,Z,[0,y0,_0,F0,wr]]}function qm(n,s,c){if(c[0]===0){var v=c[1],d=function(O){return[0,O]};return Q0(p(n[1][1+ux],n,s),v,c,d)}var S=c[1];function E(O){return[1,O]}return Q0(p(n[1][1+vx],n,s),S,c,E)}function tU(n,s,c,v){return G0(n[1][1+rn],n,c,v)}function D6(n,s,c,v){return G0(n[1][1+Or],n,c,v)}function nU(n,s,c,v){return G0(n[1][1+Tx],n,c,v)}function uU(n,s,c){return p(n[1][1+M1],n,c)}function iU(n,s,c){var v=c[2],d=c[1];switch(v[0]){case 0:var S=v[1],E=S[3],O=S[2],Z=S[1],y0=gr(p(n[1][1+z0],n,s),Z),_0=p(n[1][1+z],n,O),F0=p(n[1][1+n0],n,E),ox=0;if(y0===Z&&_0===O&&F0===E){var Cx=v;ox=1}if(!ox)var Cx=[0,[0,y0,_0,F0]];var et=Cx;break;case 1:var dx=v[1],wr=dx[3],c1=dx[2],s1=dx[1],y1=gr(p(n[1][1+ir],n,s),s1),d1=p(n[1][1+z],n,c1),Qe=p(n[1][1+n0],n,wr),He=0;if(wr===Qe&&y1===s1&&d1===c1){var qe=v;He=1}if(!He)var qe=[1,[0,y1,d1,Qe]];var et=qe;break;case 2:var Ie=v[1],Ge=Ie[2],be=Ie[1],gt=Ie[3],xt=G0(n[1][1+kx],n,s,be),rt=p(n[1][1+z],n,Ge),Mn=0;if(be===xt&&Ge===rt){var Dn=v;Mn=1}if(!Mn)var Dn=[2,[0,xt,rt,gt]];var et=Dn;break;default:var ms=v[1],ks=function(hs){return[3,hs]},et=Q0(l(n[1][1+$x],n),ms,v,ks)}return v===et?c:[0,d,et]}function Gm(n,s){return G0(n[1][1+K0],n,0,s)}function fU(n,s,c){var v=s?s[1]:0;return G0(n[1][1+K0],n,[0,v],c)}function R3(n,s){return p(n[1][1+en],n,s)}function cU(n,s){return p(n[1][1+en],n,s)}function sU(n,s){return G0(n[1][1+ds],n,TH,s)}function oU(n,s,c){return G0(n[1][1+ds],n,[0,s],c)}function vU(n,s){return G0(n[1][1+ds],n,wH,s)}function aU(n,s,c){var v=c[5],d=c[4],S=c[3],E=c[2],O=c[1],Z=p(n[1][1+Fe],n,O),y0=Yx(l(n[1][1+U],n),E),_0=Yx(l(n[1][1+$],n),S),F0=Yx(l(n[1][1+$],n),d),ox=p(n[1][1+n0],n,v);return O===Z&&S===_0&&E===y0&&S===_0&&d===F0&&v===ox?c:[0,Z,y0,_0,F0,ox]}function j6(n,s){return p(n[1][1+Cn],n,s)}function lU(n,s){return p(n[1][1+M1],n,s)}function pU(n,s){var c=s[1],v=s[2];function d(S){return[0,c,S]}return fx(l(n[1][1+rn],n),c,v,s,d)}function yU(n,s){var c=s[1],v=s[2];function d(S){return[0,c,S]}return fx(l(n[1][1+Or],n),c,v,s,d)}function z6(n,s){var c=s[1],v=s[2];function d(S){return[0,c,S]}return fx(l(n[1][1+Tx],n),c,v,s,d)}function dU(n,s){switch(s[0]){case 0:var c=s[1],v=function(dx){return[0,dx]};return Q0(l(n[1][1+h0],n),c,s,v);case 1:var d=s[1],S=function(dx){return[1,dx]};return Q0(l(n[1][1+Y0],n),d,s,S);case 2:var E=s[1],O=function(dx){return[2,dx]};return Q0(l(n[1][1+Wx],n),E,s,O);case 3:var Z=s[1],y0=function(dx){return[3,dx]};return Q0(l(n[1][1+U0],n),Z,s,y0);case 4:var _0=s[1],F0=function(dx){return[4,dx]};return Q0(l(n[1][1+A0],n),_0,s,F0);default:var ox=s[1],Cx=function(dx){return[5,dx]};return Q0(l(n[1][1+tx],n),ox,s,Cx)}}function mU(n,s){var c=s[2],v=s[1];switch(c[0]){case 0:var d=c[3],S=c[2],E=c[1],O=p(n[1][1+Lx],n,E),Z=p(n[1][1+Ax],n,S);if(d){var y0=0;if(O[0]===3){var _0=Z[2];if(_0[0]===8)var ox=Nr(O[1][2][1],_0[1][2][1]);else y0=1}else y0=1;if(y0)var F0=E===O?1:0,ox=F0&&(S===Z?1:0)}else var ox=d;return E===O&&S===Z&&d===ox?s:[0,v,[0,O,Z,ox]];case 1:var Cx=c[2],dx=c[1],wr=p(n[1][1+Lx],n,dx),c1=r2(l(n[1][1+cr],n),Cx);return dx===wr&&Cx===c1?s:[0,v,[1,wr,c1]];case 2:var s1=c[3],y1=c[2],d1=c[1],Qe=p(n[1][1+Lx],n,d1),He=r2(l(n[1][1+cr],n),y1),qe=p(n[1][1+n0],n,s1);return d1===Qe&&y1===He&&s1===qe?s:[0,v,[2,Qe,He,qe]];default:var Ie=c[3],Ge=c[2],be=c[1],gt=p(n[1][1+Lx],n,be),xt=r2(l(n[1][1+cr],n),Ge),rt=p(n[1][1+n0],n,Ie);return be===gt&&Ge===xt&&Ie===rt?s:[0,v,[3,gt,xt,rt]]}}function kU(n,s,c){var v=c[2],d=c[1],S=gr(function(O){if(O[0]===0){var Z=O[1],y0=p(n[1][1+S0],n,Z);return Z===y0?O:[0,y0]}var _0=O[1],F0=p(n[1][1+J0],n,_0);return _0===F0?O:[1,F0]},d),E=p(n[1][1+n0],n,v);return d===S&&v===E?c:[0,S,E]}function K6(n,s,c){var v=c[4],d=c[3],S=c[2],E=c[1],O=p(n[1][1+Ax],n,E),Z=Yx(l(n[1][1+qo],n),S),y0=Yx(l(n[1][1+fa],n),d),_0=p(n[1][1+n0],n,v);return E===O&&S===Z&&d===y0&&v===_0?c:[0,O,Z,y0,_0]}function J6(n,s,c){var v=c[3],d=c[2],S=c[1],E=p(n[1][1+M1],n,S),O=p(n[1][1+M1],n,d),Z=p(n[1][1+n0],n,v);return S===E&&d===O&&v===Z?c:[0,E,O,Z]}function O3(n,s){return p(n[1][1+Ax],n,s)}function L3(n,s){return p(n[1][1+A0],n,s)}function bm(n,s){return p(n[1][1+M1],n,s)}function hU(n,s){switch(s[0]){case 0:var c=s[1],v=function(Z){return[0,Z]};return Q0(l(n[1][1+An],n),c,s,v);case 1:var d=s[1],S=function(Z){return[1,Z]};return Q0(l(n[1][1+gn],n),d,s,S);default:var E=s[1],O=function(Z){return[2,Z]};return Q0(l(n[1][1+fs],n),E,s,O)}}function _U(n,s,c){var v=c[1],d=G0(n[1][1+re],n,s,v);return v===d?c:[0,d,c[2],c[3]]}function x9(n,s,c){var v=c[3],d=c[2],S=c[1],E=p(n[1][1+Ax],n,S),O=p(n[1][1+me],n,d),Z=p(n[1][1+n0],n,v);return S===E&&d===O&&v===Z?c:[0,E,O,Z]}function wU(n,s,c){var v=c[4],d=c[3],S=c[2],E=p(n[1][1+Ax],n,S),O=p(n[1][1+Ax],n,d),Z=p(n[1][1+n0],n,v);return S===E&&d===O&&v===Z?c:[0,c[1],E,O,Z]}function Y6(n,s,c){var v=c[3],d=c[2],S=c[1],E=p(n[1][1+Zt],n,S),O=p(n[1][1+N0],n,d),Z=p(n[1][1+n0],n,v);return S===E&&d===O&&v===Z?c:[0,E,O,Z]}function r9(n,s){var c=s[2],v=c[2],d=c[1],S=s[1],E=p(n[1][1+n0],n,v);return v===E?s:[0,S,[0,d,E]]}function e9(n,s){return p(n[1][1+uo],n,s)}function TU(n,s){if(s[0]===0){var c=s[1],v=function(E){return[0,E]};return Q0(l(n[1][1+to],n),c,s,v)}var d=s[1];function S(E){return[1,E]}return Q0(l(n[1][1+In],n),d,s,S)}function wE0(n,s){var c=s[2],v=c[2],d=c[1],S=s[1],E=p(n[1][1+a2],n,d),O=p(n[1][1+pt],n,v);return d===E&&v===O?s:[0,S,[0,E,O]]}function TE0(n,s){var c=s[2],v=c[2],d=c[1],S=s[1],E=p(n[1][1+pt],n,d),O=p(n[1][1+pt],n,v);return d===E&&v===O?s:[0,S,[0,E,O]]}function SE0(n,s){return p(n[1][1+In],n,s)}function EE0(n,s){return p(n[1][1+eo],n,s)}function AE0(n,s){return p(n[1][1+pt],n,s)}function gE0(n,s){switch(s[0]){case 0:var c=s[1],v=function(Z){return[0,Z]};return Q0(l(n[1][1+uo],n),c,s,v);case 1:var d=s[1],S=function(Z){return[1,Z]};return Q0(l(n[1][1+qv],n),d,s,S);default:var E=s[1],O=function(Z){return[2,Z]};return Q0(l(n[1][1+Yo],n),E,s,O)}}function NE0(n,s){var c=s[2],v=s[1],d=p(n[1][1+Ax],n,v),S=p(n[1][1+n0],n,c);return v===d&&c===S?s:[0,d,S]}function IE0(n,s,c){var v=c[2],d=c[1],S=p(n[1][1+n0],n,v);if(!d)return v===S?c:[0,0,S];var E=d[1],O=p(n[1][1+Ax],n,E);return E===O&&v===S?c:[0,[0,O],S]}function PE0(n,s){var c=s[2],v=s[1];switch(c[0]){case 0:var d=c[1],S=function(ox){return[0,v,[0,ox]]};return fx(l(n[1][1+cs],n),v,d,s,S);case 1:var E=c[1],O=function(ox){return[0,v,[1,ox]]};return fx(l(n[1][1+Jo],n),v,E,s,O);case 2:var Z=c[1],y0=function(ox){return[0,v,[2,ox]]};return fx(l(n[1][1+no],n),v,Z,s,y0);case 3:var _0=c[1],F0=function(ox){return[0,v,[3,ox]]};return Q0(l(n[1][1+Hv],n),_0,s,F0);default:return s}}function CE0(n,s){var c=s[2],v=s[1],d=gr(l(n[1][1+a3],n),c);return c===d?s:[0,v,d]}function RE0(n,s,c){return G0(n[1][1+Tx],n,s,c)}function OE0(n,s,c){return G0(n[1][1+no],n,s,c)}function LE0(n,s){if(s[0]===0){var c=s[1],v=c[1],d=c[2],S=function(_0){return[0,[0,v,_0]]};return fx(l(n[1][1+Xo],n),v,d,s,S)}var E=s[1],O=E[1],Z=E[2];function y0(_0){return[1,[0,O,_0]]}return fx(l(n[1][1+Pn],n),O,Z,s,y0)}function UE0(n,s){return p(n[1][1+eo],n,s)}function ME0(n,s){return p(n[1][1+pt],n,s)}function DE0(n,s){if(s[0]===0){var c=s[1],v=function(E){return[0,E]};return Q0(l(n[1][1+Wo],n),c,s,v)}var d=s[1];function S(E){return[1,E]}return Q0(l(n[1][1+fo],n),d,s,S)}function jE0(n,s){var c=s[2],v=c[2],d=c[1],S=s[1],E=p(n[1][1+bv],n,d),O=Yx(l(n[1][1+Gv],n),v);return d===E&&v===O?s:[0,S,[0,E,O]]}function zE0(n,s,c){var v=c[2],d=c[1],S=p(n[1][1+Ax],n,d),E=p(n[1][1+n0],n,v);return d===S&&v===E?c:[0,S,E]}function KE0(n,s){if(s[0]===0){var c=s[1],v=function(Z){return[0,Z]};return Q0(l(n[1][1+ss],n),c,s,v)}var d=s[1],S=d[1],E=d[2];function O(Z){return[1,[0,S,Z]]}return fx(l(n[1][1+ke],n),S,E,s,O)}function JE0(n,s){var c=s[2][1],v=s[1],d=p(n[1][1+yt],n,c);return c===d?s:[0,v,[0,d]]}function YE0(n,s){var c=s[2],v=c[4],d=c[2],S=c[1],E=c[3],O=s[1],Z=p(n[1][1+yt],n,S),y0=Yx(l(n[1][1+qo],n),d),_0=gr(l(n[1][1+Ko],n),v);return S===Z&&d===y0&&v===_0?s:[0,O,[0,Z,y0,E,_0]]}function BE0(n,s,c){var v=c[4],d=c[3],S=p(n[1][1+io],n,d),E=p(n[1][1+n0],n,v);return d===S&&v===E?c:[0,c[1],c[2],S,E]}function XE0(n,s,c){var v=c[4],d=c[3],S=c[2],E=c[1],O=p(n[1][1+lt],n,E),Z=Yx(l(n[1][1+Bo],n),S),y0=p(n[1][1+io],n,d),_0=p(n[1][1+n0],n,v);return E===O&&S===Z&&d===y0&&v===_0?c:[0,O,Z,y0,_0]}function WE0(n,s,c,v){var d=2<=s?p(n[1][1+kx],n,_H):l(n[1][1+Fe],n);return l(d,v)}function VE0(n,s,c){var v=2<=s?p(n[1][1+kx],n,hH):l(n[1][1+Fe],n);return l(v,c)}function ZE0(n,s,c){var v=c[3],d=c[2],S=c[1],E=0,O=c[4];if(s){var Z=0;if(S)switch(S[1]){case 0:E=1;break;case 1:Z=2;break;default:Z=1}else Z=1;var y0=0;switch(Z){case 0:break;case 1:if(2<=s)var _0=0,F0=0;else y0=1;break;default:y0=1}if(y0)var _0=1,F0=0}else E=1;if(E)var _0=1,F0=1;var ox=d?p(n[1][1+V],n,v):F0?p(n[1][1+Fe],n,v):G0(n[1][1+kx],n,mH,v);if(d)var Cx=d[1],dx=_0?l(n[1][1+Fe],n):p(n[1][1+kx],n,kH),wr=Q0(dx,Cx,d,function(c1){return[0,c1]});else var wr=0;return d===wr&&v===ox?c:[0,S,wr,ox,O]}function $E0(n,s){return p(n[1][1+M1],n,s)}function FE0(n,s,c){if(c[0]===0){var v=c[1],d=gr(p(n[1][1+Um],n,s),v);return v===d?c:[0,d]}var S=c[1],E=S[1],O=S[2];function Z(y0){return[1,[0,E,y0]]}return fx(p(n[1][1+y3],n,s),E,O,c,Z)}function QE0(n,s,c){var v=c[3],d=c[2],S=c[1],E=p(n[1][1+n0],n,v);return v===E?c:[0,S,d,E]}function HE0(n,s,c){var v=c[5],d=c[4],S=c[3],E=c[2],O=c[1],Z=r2(l(n[1][1+R6],n),E),y0=Yx(p(n[1][1+C6],n,O),d),_0=Yx(function(ox){var Cx=ox[1],dx=ox[2],wr=G0(n[1][1+Mm],n,O,Cx);return wr===Cx?ox:[0,wr,dx]},S),F0=p(n[1][1+n0],n,v);return E===Z&&d===y0&&S===_0&&v===F0?c:[0,O,Z,_0,y0,F0]}function qE0(n,s,c){var v=c[4],d=c[3],S=c[2],E=c[1],O=p(n[1][1+M],n,E),Z=G0(n[1][1+jm],n,d!==0?1:0,S),y0=l(n[1][1+zm],n),_0=Yx(function(ox){return r2(y0,ox)},d),F0=p(n[1][1+n0],n,v);return E===O&&S===Z&&d===_0&&v===F0?c:[0,O,Z,_0,F0]}function GE0(n,s,c){var v=c[2],d=c[1],S=p(n[1][1+N0],n,d),E=p(n[1][1+n0],n,v);return d===S&&v===E?c:[0,S,E]}function bE0(n,s,c){return p(n[1][1+N0],n,c)}function xA0(n,s,c){var v=c[2],d=c[1],S=p(n[1][1+Ax],n,d),E=p(n[1][1+n0],n,v);return d===S&&v===E?c:[0,S,E]}function rA0(n,s){var c=s[2],v=c[2],d=c[1],S=s[1],E=p(n[1][1+Ax],n,d),O=p(n[1][1+n0],n,v);return d===E&&v===O?s:[0,S,[0,E,O]]}function eA0(n,s){var c=s[2],v=c[2],d=c[1],S=s[1],E=p(n[1][1+n0],n,v);return v===E?s:[0,S,[0,d,E]]}function tA0(n,s,c){return G0(n[1][1+l3],n,s,c)}function nA0(n,s,c){var v=c[5],d=c[4],S=c[3],E=c[2],O=c[1],Z=p(n[1][1+Fe],n,O),y0=Yx(l(n[1][1+U],n),E),_0=l(n[1][1+dt],n),F0=gr(function(dx){return r2(_0,dx)},S),ox=r2(l(n[1][1+U1],n),d),Cx=p(n[1][1+n0],n,v);return Z===O&&y0===E&&F0===S&&ox===d&&Cx===v?c:[0,Z,y0,F0,ox,Cx]}function uA0(n,s){return p(n[1][1+J],n,s)}function iA0(n,s){return p(n[1][1+J],n,s)}function fA0(n,s){return p(n[1][1+M1],n,s)}function cA0(n,s){var c=s[2],v=c[2],d=c[1],S=s[1],E=p(n[1][1+n0],n,v);return v===E?s:[0,S,[0,d,E]]}function sA0(n,s){return G0(n[1][1+kx],n,dH,s)}function oA0(n,s){return p(n[1][1+Ax],n,s)}function vA0(n,s){var c=s[1],v=s[2];function d(S){return[0,c,S]}return fx(l(n[1][1+Et],n),c,v,s,d)}function aA0(n,s){if(s[0]===0){var c=s[1],v=function(E){return[0,E]};return Q0(l(n[1][1+Wr],n),c,s,v)}var d=s[1];function S(E){return[1,E]}return Q0(l(n[1][1+Go],n),d,s,S)}function lA0(n,s){switch(s[0]){case 0:return s;case 1:var c=s[1],v=function(E){return[1,E]};return Q0(l(n[1][1+F],n),c,s,v);default:var d=s[1],S=function(E){return[2,E]};return Q0(l(n[1][1+e0],n),d,s,S)}}function pA0(n,s){var c=s[2],v=c[2],d=c[1],S=s[1],E=p(n[1][1+mr],n,d),O=p(n[1][1+Z1],n,v);return d===E&&v===O?s:[0,S,[0,E,O]]}function yA0(n,s){var c=s[2],v=c[2],d=c[1],S=s[1],E=p(n[1][1+F],n,d),O=p(n[1][1+n0],n,v);return E===d&&O===v?s:[0,S,[0,E,O]]}function dA0(n,s){var c=s[2],v=c[4],d=c[3],S=c[2],E=c[1],O=s[1],Z=gr(l(n[1][1+or],n),S),y0=Yx(l(n[1][1+Dx],n),d),_0=Yx(l(n[1][1+R0],n),E),F0=p(n[1][1+n0],n,v);return S===Z&&d===y0&&v===F0&&E===_0?s:[0,O,[0,_0,Z,y0,F0]]}function mA0(n,s,c){var v=c[9],d=c[8],S=c[7],E=c[6],O=c[3],Z=c[2],y0=c[1],_0=c[10],F0=c[5],ox=c[4],Cx=Yx(l(n[1][1+_r],n),y0),dx=Yx(l(n[1][1+U],n),d),wr=p(n[1][1+jx],n,Z),c1=p(n[1][1+rx],n,S),s1=p(n[1][1+$r],n,O),y1=Yx(l(n[1][1+L0],n),E),d1=p(n[1][1+n0],n,v);return y0===Cx&&Z===wr&&O===s1&&E===y1&&S===c1&&d===dx&&v===d1?c:[0,Cx,wr,s1,ox,F0,y1,c1,dx,d1,_0]}function kA0(n,s,c){return G0(n[1][1+Vr],n,s,c)}function hA0(n,s,c){return G0(n[1][1+cr],n,s,c)}function _A0(n,s,c){return G0(n[1][1+Vr],n,s,c)}function wA0(n,s){if(s[0]===0)return s;var c=s[1];function v(d){return[1,d]}return Q0(l(n[1][1+F],n),c,s,v)}function TA0(n,s){var c=s[2],v=s[1];function d(S){return[0,v,S]}return Q0(l(n[1][1+$],n),c,s,d)}function SA0(n,s){var c=s[2],v=s[1];switch(c[0]){case 0:var d=c[1],S=function(Ux){return[0,v,[0,Ux]]};return Q0(l(n[1][1+n0],n),d,s,S);case 1:var E=c[1],O=function(Ux){return[0,v,[1,Ux]]};return Q0(l(n[1][1+n0],n),E,s,O);case 2:var Z=c[1],y0=function(Ux){return[0,v,[2,Ux]]};return Q0(l(n[1][1+n0],n),Z,s,y0);case 3:var _0=c[1],F0=function(Ux){return[0,v,[3,Ux]]};return Q0(l(n[1][1+n0],n),_0,s,F0);case 4:var ox=c[1],Cx=function(Ux){return[0,v,[4,Ux]]};return Q0(l(n[1][1+n0],n),ox,s,Cx);case 5:var dx=c[1],wr=function(Ux){return[0,v,[5,Ux]]};return Q0(l(n[1][1+n0],n),dx,s,wr);case 6:var c1=c[1],s1=function(Ux){return[0,v,[6,Ux]]};return Q0(l(n[1][1+n0],n),c1,s,s1);case 7:var y1=c[1],d1=function(Ux){return[0,v,[7,Ux]]};return Q0(l(n[1][1+n0],n),y1,s,d1);case 8:var Qe=c[2],He=c[1],qe=function(Ux){return[0,v,[8,He,Ux]]};return Q0(l(n[1][1+n0],n),Qe,s,qe);case 9:var Ie=c[1],Ge=function(Ux){return[0,v,[9,Ux]]};return Q0(l(n[1][1+n0],n),Ie,s,Ge);case 10:var be=c[1],gt=function(Ux){return[0,v,[10,Ux]]};return Q0(l(n[1][1+n0],n),be,s,gt);case 11:var xt=c[1],rt=function(Ux){return[0,v,[11,Ux]]};return Q0(l(n[1][1+Xx],n),xt,s,rt);case 12:var Mn=c[1],Dn=function(Ux){return[0,v,[12,Ux]]};return fx(l(n[1][1+D],n),v,Mn,s,Dn);case 13:var ms=c[1],ks=function(Ux){return[0,v,[13,Ux]]};return fx(l(n[1][1+On],n),v,ms,s,ks);case 14:var et=c[1],hs=function(Ux){return[0,v,[14,Ux]]};return fx(l(n[1][1+U1],n),v,et,s,hs);case 15:var rv=c[1],B6=function(Ux){return[0,v,[15,Ux]]};return fx(l(n[1][1+Zo],n),v,rv,s,B6);case 16:var X6=c[1],W6=function(Ux){return[0,v,[16,Ux]]};return Q0(l(n[1][1+I3],n),X6,s,W6);case 17:var V6=c[1],Z6=function(Ux){return[0,v,[17,Ux]]};return Q0(l(n[1][1+ue],n),V6,s,Z6);case 18:var $6=c[1],F6=function(Ux){return[0,v,[18,Ux]]};return Q0(l(n[1][1+Lm],n),$6,s,F6);case 19:var Q6=c[1],H6=function(Ux){return[0,v,[19,Ux]]};return fx(l(n[1][1+dt],n),v,Q6,s,H6);case 20:var q6=c[1],G6=function(Ux){return[0,v,[20,Ux]]};return fx(l(n[1][1+p3],n),v,q6,s,G6);case 21:var b6=c[1],x4=function(Ux){return[0,v,[21,Ux]]};return fx(l(n[1][1+Dr],n),v,b6,s,x4);case 22:var r4=c[1],e4=function(Ux){return[0,v,[22,Ux]]};return fx(l(n[1][1+k],n),v,r4,s,e4);case 23:var t4=c[1],n4=function(Ux){return[0,v,[23,Ux]]};return fx(l(n[1][1+Vo],n),v,t4,s,n4);case 24:var u4=c[1],i4=function(Ux){return[0,v,[24,Ux]]};return Q0(l(n[1][1+g],n),u4,s,i4);case 25:var f4=c[1],c4=function(Ux){return[0,v,[25,Ux]]};return Q0(l(n[1][1+Nn],n),f4,s,c4);case 26:var s4=c[1],o4=function(Ux){return[0,v,[26,Ux]]};return Q0(l(n[1][1+d0],n),s4,s,o4);case 27:var v4=c[1],a4=function(Ux){return[0,v,[27,Ux]]};return Q0(l(n[1][1+f0],n),v4,s,a4);case 28:var l4=c[1],p4=function(Ux){return[0,v,[28,Ux]]};return fx(l(n[1][1+Tx],n),v,l4,s,p4);case 29:var y4=c[1],d4=function(Ux){return[0,v,[29,Ux]]};return fx(l(n[1][1+Or],n),v,y4,s,d4);case 30:var m4=c[1],k4=function(Ux){return[0,v,[30,Ux]]};return fx(l(n[1][1+rn],n),v,m4,s,k4);case 31:var h4=c[1],_4=function(Ux){return[0,v,[31,Ux]]};return fx(l(n[1][1+oo],n),v,h4,s,_4);case 32:var w4=c[1],T4=function(Ux){return[0,v,[32,Ux]]};return Q0(l(n[1][1+n0],n),w4,s,T4);case 33:var S4=c[1],E4=function(Ux){return[0,v,[33,Ux]]};return Q0(l(n[1][1+n0],n),S4,s,E4);default:var A4=c[1],g4=function(Ux){return[0,v,[34,Ux]]};return Q0(l(n[1][1+n0],n),A4,s,g4)}}function EA0(n,s,c){var v=c[2],d=c[1],S=d[3],E=d[2],O=d[1],Z=p(n[1][1+$],n,O),y0=p(n[1][1+$],n,E),_0=gr(l(n[1][1+$],n),S),F0=p(n[1][1+n0],n,v);return Z===O&&y0===E&&_0===S&&F0===v?c:[0,[0,Z,y0,_0],F0]}function AA0(n,s,c){var v=c[2],d=c[1],S=d[3],E=d[2],O=d[1],Z=p(n[1][1+$],n,O),y0=p(n[1][1+$],n,E),_0=gr(l(n[1][1+$],n),S),F0=p(n[1][1+n0],n,v);return Z===O&&y0===E&&_0===S&&F0===v?c:[0,[0,Z,y0,_0],F0]}function gA0(n,s){var c=s[2],v=s[1],d=p(n[1][1+$],n,v),S=p(n[1][1+n0],n,c);return v===d&&c===S?s:[0,d,S]}function NA0(n,s){var c=s[2],v=s[1],d=p(n[1][1+$],n,c);return d===c?s:[0,v,d]}function IA0(n,s){var c=s[3],v=s[2],d=s[4],S=s[1],E=p(n[1][1+$],n,v),O=p(n[1][1+i],n,c);return E===v&&O===c?s:[0,S,E,O,d]}function PA0(n,s){var c=s[2],v=s[1];switch(c[0]){case 0:var d=c[1],S=function(_0){return[0,v,[0,_0]]};return Q0(l(n[1][1+$],n),d,s,S);case 1:var E=c[1],O=function(_0){return[0,v,[1,_0]]};return Q0(l(n[1][1+v0],n),E,s,O);default:var Z=c[1],y0=function(_0){return[0,v,[2,_0]]};return Q0(l(n[1][1+c0],n),Z,s,y0)}}function CA0(n,s){var c=s[2],v=s[1],d=gr(l(n[1][1+s0],n),v),S=p(n[1][1+n0],n,c);return v===d&&c===S?s:[0,d,S]}function RA0(n,s){var c=s[2],v=s[1],d=p(n[1][1+$],n,v),S=p(n[1][1+n0],n,c);return v===d&&c===S?s:[0,d,S]}function OA0(n,s){var c=s[2],v=s[1],d=p(n[1][1+$],n,v),S=p(n[1][1+n0],n,c);return v===d&&c===S?s:[0,d,S]}function LA0(n,s){var c=s[2],v=c[2],d=c[1],S=s[1],E=p(n[1][1+L],n,d),O=p(n[1][1+C],n,v);return E===d&&O===v?s:[0,S,[0,E,O]]}function UA0(n,s){return p(n[1][1+M1],n,s)}function MA0(n,s){return p(n[1][1+M1],n,s)}function DA0(n,s){if(s[0]===0){var c=s[1],v=function(E){return[0,E]};return Q0(l(n[1][1+R],n),c,s,v)}var d=s[1];function S(E){return[1,E]}return Q0(l(n[1][1+I],n),d,s,S)}function jA0(n,s){var c=s[2],v=s[1],d=p(n[1][1+L],n,v),S=p(n[1][1+n0],n,c);return v===d&&c===S?s:[0,d,S]}function zA0(n,s){var c=s[2],v=s[1],d=p(n[1][1+B],n,v),S=p(n[1][1+n0],n,c);return v===d&&c===S?s:[0,d,S]}function KA0(n,s){var c=s[5],v=s[4],d=s[3],S=s[2],E=s[1],O=p(n[1][1+$],n,E),Z=p(n[1][1+$],n,S),y0=p(n[1][1+$],n,d),_0=p(n[1][1+$],n,v),F0=p(n[1][1+n0],n,c);return E===O&&S===Z&&d===y0&&v===_0&&c===F0?s:[0,O,Z,y0,_0,F0]}function JA0(n,s){var c=s[2],v=s[1],d=p(n[1][1+$],n,v),S=p(n[1][1+n0],n,c);return v===d&&c===S?s:[0,d,S]}function YA0(n,s,c){var v=c[6],d=c[5],S=c[4],E=c[3],O=c[2],Z=c[1];return v===p(n[1][1+n0],n,v)?c:[0,Z,O,E,S,d,v]}function BA0(n,s,c){var v=c[4],d=c[3],S=c[2],E=c[1],O=p(n[1][1+n0],n,v);return v===O?c:[0,E,S,d,O]}function XA0(n,s,c){return p(n[1][1+n0],n,c)}function WA0(n,s,c){var v=c[2],d=c[1],S=p(n[1][1+n0],n,v);return v===S?c:[0,d,S]}function VA0(n,s,c){var v=c[3],d=c[2],S=c[1],E=p(n[1][1+n0],n,v);return v===E?c:[0,S,d,E]}function ZA0(n,s,c){var v=c[3],d=c[2],S=c[1],E=p(n[1][1+n0],n,v);return v===E?c:[0,S,d,E]}function $A0(n,s,c){var v=c[3],d=c[2],S=c[1],E=p(n[1][1+n0],n,v);return v===E?c:[0,S,d,E]}function FA0(n,s,c){var v=c[1],d=c[2],S=G0(n[1][1+p3],n,s,v);return S===v?c:[0,S,d]}function QA0(n,s,c){var v=c[3],d=c[2],S=c[1],E=p(n[1][1+$],n,S),O=p(n[1][1+$],n,d),Z=p(n[1][1+n0],n,v);return E===S&&O===d&&Z===v?c:[0,E,O,Z]}function HA0(n,s,c){var v=c[3],d=c[2],S=c[1],E=p(n[1][1+q],n,S),O=Yx(l(n[1][1+Y],n),d),Z=p(n[1][1+n0],n,v);return E===S&&O===d&&Z===v?c:[0,E,O,Z]}function qA0(n,s){var c=s[2],v=c[5],d=c[4],S=c[2],E=c[1],O=c[3],Z=s[1],y0=p(n[1][1+z],n,S),_0=p(n[1][1+i],n,d),F0=Yx(l(n[1][1+$],n),v),ox=p(n[1][1+Fe],n,E);return ox===E&&y0===S&&_0===d&&F0===v?s:[0,Z,[0,ox,y0,O,_0,F0]]}function GA0(n,s){var c=s[2],v=c[2],d=c[1],S=s[1],E=gr(l(n[1][1+B],n),d),O=p(n[1][1+n0],n,v);return E===d&&O===v?s:[0,S,[0,E,O]]}function bA0(n,s){var c=s[2],v=c[2],d=c[1],S=s[1],E=gr(l(n[1][1+$],n),d),O=p(n[1][1+n0],n,v);return d===E&&v===O?s:[0,S,[0,E,O]]}function xg0(n,s){return Yx(l(n[1][1+f],n),s)}function rg0(n,s){var c=s[2],v=c[2],d=c[1],S=s[1],E=p(n[1][1+n0],n,v);return v===E?s:[0,S,[0,d,E]]}function eg0(n,s){return p(n[1][1+M1],n,s)}function tg0(n,s){var c=s[2],v=c[2],d=c[1],S=s[1],E=p(n[1][1+q],n,d),O=p(n[1][1+ro],n,v);return E===d&&O===v?s:[0,S,[0,E,O]]}function ng0(n,s){if(s[0]===0){var c=s[1],v=function(E){return[0,E]};return Q0(l(n[1][1+X],n),c,s,v)}var d=s[1];function S(E){return[1,E]}return Q0(l(n[1][1+m3],n),d,s,S)}function ug0(n,s,c){var v=c[3],d=c[2],S=c[1],E=l(n[1][1+dt],n),O=gr(function(_0){return r2(E,_0)},d),Z=r2(l(n[1][1+U1],n),S),y0=p(n[1][1+n0],n,v);return O===d&&Z===S&&v===y0?c:[0,Z,O,y0]}function ig0(n,s){switch(s[0]){case 0:var c=s[1],v=function(dx){return[0,dx]};return Q0(l(n[1][1+x0],n),c,s,v);case 1:var d=s[1],S=function(dx){return[1,dx]};return Q0(l(n[1][1+_],n),d,s,S);case 2:var E=s[1],O=function(dx){return[2,dx]};return Q0(l(n[1][1+Vx],n),E,s,O);case 3:var Z=s[1],y0=function(dx){return[3,dx]};return Q0(l(n[1][1+er],n),Z,s,y0);case 4:var _0=s[1],F0=function(dx){return[4,dx]};return Q0(l(n[1][1+ur],n),_0,s,F0);default:var ox=s[1],Cx=function(dx){return[5,dx]};return Q0(l(n[1][1+H],n),ox,s,Cx)}}function fg0(n,s,c){var v=c[4],d=c[3],S=c[2],E=c[1],O=gr(l(n[1][1+Rr],n),d),Z=p(n[1][1+n0],n,v);return O===d&&v===Z?c:[0,E,S,O,Z]}function cg0(n,s){var c=s[2],v=c[6],d=c[4],S=c[3],E=c[2],O=c[1],Z=c[5],y0=s[1],_0=p(n[1][1+B],n,O),F0=p(n[1][1+$],n,E),ox=p(n[1][1+$],n,S),Cx=p(n[1][1+i],n,d),dx=p(n[1][1+n0],n,v);return _0===O&&F0===E&&ox===S&&Cx===d&&dx===v?s:[0,y0,[0,_0,F0,ox,Cx,Z,dx]]}function sg0(n,s){var c=s[2],v=c[3],d=c[1],S=d[2],E=d[1],O=c[2],Z=s[1],y0=G0(n[1][1+D],n,E,S),_0=p(n[1][1+n0],n,v);return S===y0&&v===_0?s:[0,Z,[0,[0,E,y0],O,_0]]}function og0(n,s){var c=s[2],v=c[6],d=c[2],S=c[1],E=c[5],O=c[4],Z=c[3],y0=s[1],_0=p(n[1][1+M1],n,S),F0=p(n[1][1+$],n,d),ox=p(n[1][1+n0],n,v);return S===_0&&d===F0&&v===ox?s:[0,y0,[0,_0,F0,Z,O,E,ox]]}function vg0(n,s){var c=s[2],v=c[6],d=c[5],S=c[3],E=c[2],O=c[4],Z=c[1],y0=s[1],_0=p(n[1][1+$],n,E),F0=p(n[1][1+$],n,S),ox=p(n[1][1+i],n,d),Cx=p(n[1][1+n0],n,v);return _0===E&&F0===S&&ox===d&&Cx===v?s:[0,y0,[0,Z,_0,F0,O,ox,Cx]]}function ag0(n,s){var c=s[2],v=c[2],d=c[1],S=s[1],E=p(n[1][1+$],n,d),O=p(n[1][1+n0],n,v);return E===d&&v===O?s:[0,S,[0,E,O]]}function lg0(n,s){var c=s[2],v=c[8],d=c[7],S=c[2],E=c[1],O=c[6],Z=c[5],y0=c[4],_0=c[3],F0=s[1],ox=p(n[1][1+Lx],n,E),Cx=p(n[1][1+b],n,S),dx=p(n[1][1+i],n,d),wr=p(n[1][1+n0],n,v);return ox===E&&Cx===S&&dx===d&&wr===v?s:[0,F0,[0,ox,Cx,_0,y0,Z,O,dx,wr]]}function pg0(n,s){var c=s[1],v=s[2];function d(S){return[0,c,S]}return fx(l(n[1][1+D],n),c,v,s,d)}function yg0(n,s){var c=s[1],v=s[2];function d(S){return[0,c,S]}return fx(l(n[1][1+D],n),c,v,s,d)}function dg0(n,s){switch(s[0]){case 0:var c=s[1],v=function(Z){return[0,Z]};return Q0(l(n[1][1+$],n),c,s,v);case 1:var d=s[1],S=function(Z){return[1,Z]};return Q0(l(n[1][1+k1],n),d,s,S);default:var E=s[1],O=function(Z){return[2,Z]};return Q0(l(n[1][1+t2],n),E,s,O)}}function mg0(n,s){return p(n[1][1+M1],n,s)}function kg0(n,s,c){var v=c[4],d=c[3],S=c[2],E=S[2],O=E[4],Z=E[3],y0=E[2],_0=E[1],F0=c[1],ox=S[1],Cx=Yx(l(n[1][1+U],n),F0),dx=Yx(l(n[1][1+T0],n),_0),wr=gr(l(n[1][1+bx],n),y0),c1=Yx(l(n[1][1+Sx],n),Z),s1=p(n[1][1+P],n,d),y1=p(n[1][1+n0],n,v),d1=p(n[1][1+n0],n,O);return wr===y0&&c1===Z&&s1===d&&Cx===F0&&y1===v&&d1===O&&dx===_0?c:[0,Cx,[0,ox,[0,dx,wr,c1,d1]],s1,y1]}function hg0(n,s){if(s[0]===0){var c=s[1],v=function(E){return[0,E]};return Q0(l(n[1][1+$],n),c,s,v)}var d=s[1];function S(E){return[1,E]}return Q0(l(n[1][1+i0],n),d,s,S)}function _g0(n,s){var c=s[2],v=c[2],d=c[1],S=s[1],E=p(n[1][1+F],n,d),O=p(n[1][1+n0],n,v);return E===d&&O===v?s:[0,S,[0,E,O]]}function wg0(n,s){var c=s[2],v=c[2],d=c[1],S=s[1],E=p(n[1][1+bx],n,d),O=p(n[1][1+n0],n,v);return E===d&&O===v?s:[0,S,[0,E,O]]}function Tg0(n,s){var c=s[2],v=c[2],d=c[1],S=c[3],E=s[1],O=p(n[1][1+$],n,v),Z=Yx(l(n[1][1+M1],n),d);return O===v&&Z===d?s:[0,E,[0,Z,O,S]]}function Sg0(n,s){var c=s[1],v=s[2];function d(S){return[0,c,S]}return fx(l(n[1][1+y],n),c,v,s,d)}function Eg0(n,s){if(s[0]===0){var c=s[1],v=function(E){return[0,E]};return Q0(l(n[1][1+h1],n),c,s,v)}var d=s[1];function S(E){return[1,E]}return Q0(l(n[1][1+Ax],n),d,s,S)}function Ag0(n,s,c){var v=c[5],d=c[4],S=c[3],E=c[2],O=c[1],Z=Yx(l(n[1][1+Ur],n),O),y0=Yx(l(n[1][1+M],n),E),_0=Yx(l(n[1][1+Ax],n),S),F0=p(n[1][1+N0],n,d),ox=p(n[1][1+n0],n,v);return O===Z&&E===y0&&S===_0&&d===F0&&v===ox?c:[0,Z,y0,_0,F0,ox]}function gg0(n,s){var c=s[1],v=s[2];function d(S){return[0,c,S]}return fx(l(n[1][1+y],n),c,v,s,d)}function Ng0(n,s){if(s[0]===0){var c=s[1],v=function(E){return[0,E]};return Q0(l(n[1][1+p1],n),c,s,v)}var d=s[1];function S(E){return[1,E]}return Q0(l(n[1][1+f1],n),d,s,S)}function Ig0(n,s,c){var v=c[5],d=c[3],S=c[2],E=c[1],O=c[4],Z=p(n[1][1+x1],n,E),y0=p(n[1][1+Ax],n,S),_0=p(n[1][1+N0],n,d),F0=p(n[1][1+n0],n,v);return E===Z&&S===y0&&d===_0&&v===F0?c:[0,Z,y0,_0,O,F0]}function Pg0(n,s){var c=s[1],v=s[2];function d(S){return[0,c,S]}return fx(l(n[1][1+y],n),c,v,s,d)}function Cg0(n,s){if(s[0]===0){var c=s[1],v=function(E){return[0,E]};return Q0(l(n[1][1+n2],n),c,s,v)}var d=s[1];function S(E){return[1,E]}return Q0(l(n[1][1+A1],n),d,s,S)}function Rg0(n,s,c){var v=c[5],d=c[3],S=c[2],E=c[1],O=c[4],Z=p(n[1][1+Cr],n,E),y0=p(n[1][1+Ax],n,S),_0=p(n[1][1+N0],n,d),F0=p(n[1][1+n0],n,v);return E===Z&&S===y0&&d===_0&&v===F0?c:[0,Z,y0,_0,O,F0]}function Og0(n,s){if(s[0]===0){var c=s[1],v=function(E){return[0,E]};return Q0(l(n[1][1+Ax],n),c,s,v)}var d=s[1];function S(E){return[1,E]}return Q0(l(n[1][1+I0],n),d,s,S)}function Lg0(n,s,c){var v=c[3],d=c[1],S=c[2],E=p(n[1][1+Ax],n,d),O=p(n[1][1+n0],n,v);return d===E&&v===O?c:[0,E,S,O]}function Ug0(n,s,c){var v=c[3],d=c[2],S=c[1],E=p(n[1][1+n0],n,v);return v===E?c:[0,S,d,E]}function Mg0(n,s){if(s[0]===0){var c=s[1],v=gr(l(n[1][1+lr],n),c);return c===v?s:[0,v]}var d=s[1],S=p(n[1][1+V2],n,d);return d===S?s:[1,S]}function Dg0(n,s){var c=s[2],v=s[1],d=Yx(l(n[1][1+M1],n),c);return c===d?s:[0,v,d]}function jg0(n,s){var c=s[2],v=c[2],d=c[1],S=s[1],E=p(n[1][1+M1],n,d),O=Yx(l(n[1][1+M1],n),v);return d===E&&v===O?s:[0,S,[0,E,O]]}function zg0(n,s,c){var v=c[5],d=c[3],S=c[2],E=c[1],O=c[4],Z=fY(l(n[1][1+Kr],n),d),y0=Yx(l(n[1][1+r1],n),S),_0=Yx(l(n[1][1+N0],n),E),F0=p(n[1][1+n0],n,v);return d===Z&&S===y0&&E===_0&&v===F0?c:[0,_0,y0,Z,O,F0]}function Kg0(n,s){if(s[0]===0){var c=s[1],v=function(E){return[0,E]};return Q0(l(n[1][1+N0],n),c,s,v)}var d=s[1];function S(E){return[1,E]}return Q0(l(n[1][1+Ax],n),d,s,S)}function Jg0(n,s,c){var v=c[3],d=c[2],S=c[1],E=p(n[1][1+V1],n,d),O=p(n[1][1+n0],n,v);return E===d&&O===v?c:[0,S,E,O]}function Yg0(n,s){return p(n[1][1+M1],n,s)}function Bg0(n,s){var c=s[2],v=c[1],d=c[2],S=s[1],E=p(n[1][1+l2],n,v);return v===E?s:[0,S,[0,E,d]]}function Xg0(n,s){var c=s[2],v=c[1],d=c[2],S=s[1],E=p(n[1][1+l2],n,v);return v===E?s:[0,S,[0,E,d]]}function Wg0(n,s){var c=s[2],v=c[1],d=c[2],S=s[1],E=p(n[1][1+l2],n,v);return v===E?s:[0,S,[0,E,d]]}function Vg0(n,s){var c=s[2],v=c[1],d=c[2],S=s[1],E=p(n[1][1+l2],n,v);return v===E?s:[0,S,[0,E,d]]}function Zg0(n,s){var c=s[2][1],v=s[1],d=p(n[1][1+l2],n,c);return c===d?s:[0,v,[0,d]]}function $g0(n,s){var c=s[4],v=s[1],d=gr(l(n[1][1+Te],n),v),S=p(n[1][1+n0],n,c);return v===d&&c===S?s:[0,d,s[2],s[3],S]}function Fg0(n,s){var c=s[3],v=s[1],d=gr(l(n[1][1+mt],n),v),S=p(n[1][1+n0],n,c);return v===d&&c===S?s:[0,d,s[2],S]}function Qg0(n,s){var c=s[4],v=s[1];if(v[0]===0)var d=v[1],S=function(ox){return[0,ox]},E=l(n[1][1+mt],n),_0=Q0(function(ox){return gr(E,ox)},d,v,S);else var O=v[1],Z=function(ox){return[1,ox]},y0=l(n[1][1+$t],n),_0=Q0(function(ox){return gr(y0,ox)},O,v,Z);var F0=p(n[1][1+n0],n,c);return v===_0&&c===F0?s:[0,_0,s[2],s[3],F0]}function Hg0(n,s){var c=s[4],v=s[1],d=gr(l(n[1][1+u2],n),v),S=p(n[1][1+n0],n,c);return v===d&&c===S?s:[0,d,s[2],s[3],S]}function qg0(n,s){var c=s[4],v=s[1],d=gr(l(n[1][1+kt],n),v),S=p(n[1][1+n0],n,c);return v===d&&c===S?s:[0,d,s[2],s[3],S]}function Gg0(n,s){var c=s[2],v=s[1];switch(c[0]){case 0:var d=c[1],S=function(dx){return[0,v,[0,dx]]};return Q0(l(n[1][1+Ze],n),d,s,S);case 1:var E=c[1],O=function(dx){return[0,v,[1,dx]]};return Q0(l(n[1][1+I2],n),E,s,O);case 2:var Z=c[1],y0=function(dx){return[0,v,[2,dx]]};return Q0(l(n[1][1+N2],n),Z,s,y0);case 3:var _0=c[1],F0=function(dx){return[0,v,[3,dx]]};return Q0(l(n[1][1+_e],n),_0,s,F0);default:var ox=c[1],Cx=function(dx){return[0,v,[4,dx]]};return Q0(l(n[1][1+Se],n),ox,s,Cx)}}function bg0(n,s,c){var v=c[3],d=c[2],S=c[1],E=G0(n[1][1+kx],n,yH,S),O=p(n[1][1+we],n,d),Z=p(n[1][1+n0],n,v);return S===E&&d===O&&v===Z?c:[0,E,O,Z]}function xN0(n,s,c){var v=c[1],d=p(n[1][1+n0],n,v);return v===d?c:[0,d]}function rN0(n,s,c){var v=c[3],d=c[2],S=c[1],E=p(n[1][1+N0],n,S),O=p(n[1][1+M],n,d),Z=p(n[1][1+n0],n,v);return S===E&&d===O&&v===Z?c:[0,E,O,Z]}function eN0(n,s,c){var v=c[4],d=c[3],S=c[2],E=c[1],O=G0(n[1][1+kx],n,[0,d],E),Z=p(n[1][1+F],n,S),y0=p(n[1][1+n0],n,v);return O===E&&Z===S&&y0===v?c:[0,O,Z,d,y0]}function tN0(n,s,c){return G0(n[1][1+t0],n,s,c)}function nN0(n,s,c){var v=c[2],d=c[1],S=p(n[1][1+F],n,d),E=p(n[1][1+n0],n,v);return d===S&&v===E?c:[0,S,E]}function uN0(n,s,c){var v=c[4],d=c[2],S=c[3],E=c[1],O=r2(l(n[1][1+Et],n),d),Z=p(n[1][1+n0],n,v);return O===d&&v===Z?c:[0,E,O,S,Z]}function iN0(n,s,c){return G0(n[1][1+l3],n,s,c)}function fN0(n,s,c){var v=c[4],d=c[3],S=c[2],E=c[1],O=p(n[1][1+_r],n,E),Z=p(n[1][1+F],n,S),y0=Yx(l(n[1][1+L0],n),d),_0=p(n[1][1+n0],n,v);return O===E&&Z===S&&y0===d&&_0===v?c:[0,O,Z,y0,_0]}function cN0(n,s){switch(s[0]){case 0:var c=s[1],v=c[2],d=c[1],S=G0(n[1][1+ge],n,d,v);return S===v?s:[0,[0,d,S]];case 1:var E=s[1],O=E[2],Z=E[1],y0=G0(n[1][1+Ft],n,Z,O);return y0===O?s:[1,[0,Z,y0]];case 2:var _0=s[1],F0=_0[2],ox=_0[1],Cx=G0(n[1][1+ne],n,ox,F0);return Cx===F0?s:[2,[0,ox,Cx]];case 3:var dx=s[1],wr=dx[2],c1=dx[1],s1=G0(n[1][1+Qt],n,c1,wr);return s1===wr?s:[3,[0,c1,s1]];case 4:var y1=s[1],d1=p(n[1][1+$],n,y1);return d1===y1?s:[4,d1];case 5:var Qe=s[1],He=Qe[2],qe=Qe[1],Ie=G0(n[1][1+t0],n,qe,He);return Ie===He?s:[5,[0,qe,Ie]];case 6:var Ge=s[1],be=Ge[2],gt=Ge[1],xt=G0(n[1][1+br],n,gt,be);return xt===be?s:[6,[0,gt,xt]];case 7:var rt=s[1],Mn=rt[2],Dn=rt[1],ms=G0(n[1][1+l3],n,Dn,Mn);return ms===Mn?s:[7,[0,Dn,ms]];default:var ks=s[1],et=ks[2],hs=ks[1],rv=G0(n[1][1+P2],n,hs,et);return rv===et?s:[8,[0,hs,rv]]}}function sN0(n,s,c){var v=c[5],d=c[4],S=c[3],E=c[2],O=c[1],Z=fY(l(n[1][1+Kr],n),d),y0=Yx(l(n[1][1+r1],n),S),_0=Yx(l(n[1][1+os],n),E),F0=p(n[1][1+n0],n,v);return d===Z&&S===y0&&E===_0&&v===F0?c:[0,O,_0,y0,Z,F0]}function oN0(n,s,c){return G0(n[1][1+P2],n,s,c)}function vN0(n,s){var c=s[2],v=c[4],d=c[2],S=c[1],E=c[3],O=s[1],Z=Yx(l(n[1][1+M1],n),S),y0=p(n[1][1+$],n,d),_0=p(n[1][1+n0],n,v);return S===Z&&d===y0&&v===_0?s:[0,O,[0,Z,y0,E,_0]]}function aN0(n,s){var c=s[2],v=c[2],d=c[1],S=c[3],E=s[1],O=p(n[1][1+vs],n,d),Z=p(n[1][1+F],n,v);return d===O&&v===Z?s:[0,E,[0,O,Z,S]]}function lN0(n,s){var c=s[2],v=c[3],d=c[2],S=c[1],E=s[1],O=gr(l(n[1][1+bt],n),S),Z=Yx(l(n[1][1+Gt],n),d),y0=p(n[1][1+n0],n,v);return S===O&&d===Z&&v===y0?s:[0,E,[0,O,Z,y0]]}function pN0(n,s,c){var v=c[4],d=c[3],S=c[2],E=c[1],O=Yx(l(n[1][1+U],n),E),Z=p(n[1][1+Rn],n,S),y0=p(n[1][1+z],n,d),_0=p(n[1][1+n0],n,v);return E===O&&S===Z&&d===y0&&v===_0?c:[0,O,Z,y0,_0]}function yN0(n,s,c){var v=c[5],d=c[4],S=c[3],E=c[2],O=c[1],Z=p(n[1][1+ls],n,O),y0=Yx(l(n[1][1+U],n),E),_0=p(n[1][1+Rn],n,S),F0=p(n[1][1+z],n,d),ox=p(n[1][1+n0],n,v);return O===Z&&E===y0&&S===_0&&d===F0&&v===ox?c:[0,Z,y0,_0,F0,ox]}function dN0(n,s,c){var v=c[7],d=c[6],S=c[5],E=c[4],O=c[3],Z=c[2],y0=c[1],_0=p(n[1][1+Ln],n,y0),F0=Yx(l(n[1][1+U],n),Z),ox=r2(l(n[1][1+U1],n),O),Cx=l(n[1][1+dt],n),dx=Yx(function(d1){return r2(Cx,d1)},E),wr=l(n[1][1+dt],n),c1=gr(function(d1){return r2(wr,d1)},S),s1=Yx(l(n[1][1+na],n),d),y1=p(n[1][1+n0],n,v);return _0===y0&&F0===Z&&ox===O&&dx===E&&c1===S&&s1===d&&y1===v?c:[0,_0,F0,ox,dx,c1,s1,y1]}function mN0(n,s,c){var v=c[1],d=p(n[1][1+n0],n,v);return v===d?c:[0,d]}function kN0(n,s,c){var v=c[2],d=c[1],S=Yx(l(n[1][1+Zt],n),d),E=p(n[1][1+n0],n,v);return d===S&&v===E?c:[0,S,E]}function hN0(n,s,c){var v=c[4],d=c[3],S=c[2],E=c[1],O=p(n[1][1+M],n,E),Z=p(n[1][1+Ax],n,S),y0=p(n[1][1+Ax],n,d),_0=p(n[1][1+n0],n,v);return E===O&&S===Z&&d===y0&&v===_0?c:[0,O,Z,y0,_0]}function _N0(n,s){var c=s[1],v=s[2];function d(S){return[0,c,S]}return fx(l(n[1][1+Et],n),c,v,s,d)}function wN0(n,s){var c=s[2],v=c[2],d=c[1],S=s[1],E=p(n[1][1+St],n,d),O=p(n[1][1+n0],n,v);return d===E&&v===O?s:[0,S,[0,E,O]]}function TN0(n,s){return G0(n[1][1+ds],n,pH,s)}function SN0(n,s){if(s[0]===0)return[0,p(n[1][1+M1],n,s[1])];var c=s[1],v=c[1];return[1,[0,v,G0(n[1][1+Tx],n,v,c[2])]]}function EN0(n,s){var c=s[2],v=c[3],d=c[2],S=c[1],E=c[4],O=s[1],Z=p(n[1][1+vs],n,S),y0=p(n[1][1+St],n,d),_0=p(n[1][1+Z1],n,v);return S===Z&&d===y0&&v===_0?s:[0,O,[0,Z,y0,_0,E]]}function AN0(n,s){var c=s[2],v=c[3],d=c[2],S=c[1],E=s[1],O=gr(l(n[1][1+as],n),S),Z=Yx(l(n[1][1+$o],n),d),y0=p(n[1][1+n0],n,v);return S===O&&d===Z&&v===y0?s:[0,E,[0,O,Z,y0]]}function gN0(n,s){return G0(n[1][1+kx],n,lH,s)}function NN0(n,s,c){var v=c[6],d=c[5],S=c[4],E=c[3],O=c[2],Z=c[1],y0=c[7],_0=p(n[1][1+ls],n,Z),F0=Yx(l(n[1][1+U],n),O),ox=p(n[1][1+xn],n,E),Cx=p(n[1][1+k3],n,d),dx=p(n[1][1+z],n,S),wr=p(n[1][1+n0],n,v);return Z===_0&&O===F0&&E===ox&&d===Cx&&S===dx&&v===wr?c:[0,_0,F0,ox,dx,Cx,wr,y0]}function IN0(n,s){return Yx(l(n[1][1+Ax],n),s)}function PN0(n,s,c){var v=c[7],d=c[6],S=c[5],E=c[3],O=c[2],Z=c[1],y0=p(n[1][1+A0],n,Z),_0=p(n[1][1+Qo],n,O),F0=p(n[1][1+z],n,E),ox=p(n[1][1+i],n,S),Cx=gr(l(n[1][1+Ne],n),d),dx=p(n[1][1+n0],n,v);return Z===y0&&O===_0&&F0===E&&ox===S&&Cx===d&&dx===v?c:[0,y0,_0,F0,c[4],ox,Cx,dx]}function CN0(n,s){if(typeof s=="number")return s;var c=s[1],v=p(n[1][1+Ax],n,c);return c===v?s:[0,v]}function RN0(n,s,c){var v=c[7],d=c[6],S=c[5],E=c[3],O=c[2],Z=c[1],y0=p(n[1][1+Lx],n,Z),_0=p(n[1][1+Qo],n,O),F0=p(n[1][1+z],n,E),ox=p(n[1][1+i],n,S),Cx=gr(l(n[1][1+Ne],n),d),dx=p(n[1][1+n0],n,v);return Z===y0&&O===_0&&F0===E&&ox===S&&Cx===d&&dx===v?c:[0,y0,_0,F0,c[4],ox,Cx,dx]}function ON0(n,s,c){var v=c[6],d=c[5],S=c[3],E=c[2],O=p(n[1][1+Lx],n,E),Z=r2(l(n[1][1+cr],n),S),y0=gr(l(n[1][1+Ne],n),d),_0=p(n[1][1+n0],n,v);return E===O&&S===Z&&d===y0&&v===_0?c:[0,c[1],O,Z,c[4],y0,_0]}function LN0(n,s){var c=s[2],v=c[2],d=c[1],S=s[1],E=p(n[1][1+X],n,d),O=Yx(l(n[1][1+Y],n),v);return d===E&&v===O?s:[0,S,[0,E,O]]}function UN0(n,s){var c=s[2],v=c[2],d=c[1],S=s[1],E=gr(l(n[1][1+ta],n),d),O=p(n[1][1+n0],n,v);return d===E&&v===O?s:[0,S,[0,E,O]]}function MN0(n,s){switch(s[0]){case 0:var c=s[1],v=c[1],d=c[2],S=function(dx){return[0,[0,v,dx]]};return fx(l(n[1][1+_3],n),v,d,s,S);case 1:var E=s[1],O=E[1],Z=E[2],y0=function(dx){return[1,[0,O,dx]]};return fx(l(n[1][1+ea],n),O,Z,s,y0);default:var _0=s[1],F0=_0[1],ox=_0[2],Cx=function(dx){return[2,[0,F0,dx]]};return fx(l(n[1][1+h3],n),F0,ox,s,Cx)}}function DN0(n,s){var c=s[2],v=c[2],d=c[1],S=s[1],E=p(n[1][1+Ax],n,d),O=p(n[1][1+n0],n,v);return d===E&&v===O?s:[0,S,[0,E,O]]}function jN0(n,s){var c=s[2],v=c[2],d=c[1],S=s[1],E=gr(l(n[1][1+S3],n),d),O=p(n[1][1+n0],n,v);return d===E&&v===O?s:[0,S,[0,E,O]]}function zN0(n,s){return G0(n[1][1+kx],n,aH,s)}function KN0(n,s,c){var v=c[3],d=c[2],S=c[1],E=p(n[1][1+Ax],n,S),O=Yx(l(n[1][1+Y],n),d),Z=p(n[1][1+n0],n,v);return S===E&&d===O&&v===Z?c:[0,E,O,Z]}function JN0(n,s,c){var v=c[7],d=c[6],S=c[5],E=c[4],O=c[3],Z=c[2],y0=c[1],_0=Yx(l(n[1][1+Ln],n),y0),F0=Yx(l(n[1][1+U],n),O),ox=p(n[1][1+A3],n,Z),Cx=l(n[1][1+w3],n),dx=Yx(function(y1){return r2(Cx,y1)},E),wr=Yx(l(n[1][1+na],n),S),c1=gr(l(n[1][1+Ne],n),d),s1=p(n[1][1+n0],n,v);return y0===_0&&Z===ox&&E===dx&&S===wr&&d===c1&&v===s1&&O===F0?c:[0,_0,ox,F0,dx,wr,c1,s1]}function YN0(n,s,c){return G0(n[1][1+ua],n,s,c)}function BN0(n,s,c){return G0(n[1][1+ua],n,s,c)}function XN0(n,s,c){var v=c[3],d=c[2],S=c[1],E=Yx(l(n[1][1+ps],n),S),O=p(n[1][1+Ho],n,d),Z=p(n[1][1+n0],n,v);return S===E&&d===O&&v===Z?c:[0,E,O,Z]}function WN0(n,s){return r2(l(n[1][1+Et],n),s)}function VN0(n,s){if(s[0]===0){var c=s[1],v=p(n[1][1+$],n,c);return v===c?s:[0,v]}var d=s[1],S=d[2][1],E=d[1],O=p(n[1][1+n0],n,S);return S===O?s:[1,[0,E,[0,O]]]}function ZN0(n,s){var c=s[2],v=c[2],d=c[1],S=s[1],E=gr(l(n[1][1+g3],n),d),O=p(n[1][1+n0],n,v);return d===E&&v===O?s:[0,S,[0,E,O]]}function $N0(n,s,c){var v=c[1],d=G0(n[1][1+ia],n,s,v);return v===d?c:[0,d,c[2],c[3]]}function FN0(n,s){var c=s[2],v=c[2],d=c[1],S=s[1],E=gr(l(n[1][1+ee],n),d),O=p(n[1][1+n0],n,v);return d===E&&v===O?s:[0,S,[0,E,O]]}function QN0(n,s,c){var v=c[4],d=c[3],S=c[2],E=c[1],O=p(n[1][1+Ax],n,E),Z=Yx(l(n[1][1+qo],n),S),y0=p(n[1][1+fa],n,d),_0=p(n[1][1+n0],n,v);return E===O&&S===Z&&d===y0&&v===_0?c:[0,O,Z,y0,_0]}function HN0(n,s,c){var v=c[2],d=c[1],S=Yx(l(n[1][1+Zt],n),d),E=p(n[1][1+n0],n,v);return d===S&&v===E?c:[0,S,E]}function qN0(n,s,c){var v=c[2],d=c[1],S=p(n[1][1+O0],n,d),E=p(n[1][1+n0],n,v);return d===S&&v===E?c:[0,S,E]}function GN0(n,s,c){var v=c[4],d=c[3],S=c[2],E=p(n[1][1+Ax],n,S),O=p(n[1][1+Ax],n,d),Z=p(n[1][1+n0],n,v);return S===E&&d===O&&v===Z?c:[0,c[1],E,O,Z]}function bN0(n,s,c){var v=c[4],d=c[3],S=c[2],E=p(n[1][1+en],n,S),O=p(n[1][1+Ax],n,d),Z=p(n[1][1+n0],n,v);return S===E&&d===O&&v===Z?c:[0,c[1],E,O,Z]}function xI0(n,s,c){return G0(n[1][1+Vr],n,s,c)}function rI0(n,s){switch(s[0]){case 0:var c=s[1],v=function(E){return[0,E]};return Q0(l(n[1][1+Ax],n),c,s,v);case 1:var d=s[1],S=function(E){return[1,E]};return Q0(l(n[1][1+I0],n),d,s,S);default:return s}}function eI0(n,s,c){var v=c[2],d=c[1],S=gr(l(n[1][1+xv],n),d),E=p(n[1][1+n0],n,v);return d===S&&v===E?c:[0,S,E]}function tI0(n,s){var c=s[2],v=s[1];switch(c[0]){case 0:var d=c[1],S=function(Mx){return[0,v,[0,Mx]]};return fx(l(n[1][1+P3],n),v,d,s,S);case 1:var E=c[1],O=function(Mx){return[0,v,[1,Mx]]};return fx(l(n[1][1+N3],n),v,E,s,O);case 2:var Z=c[1],y0=function(Mx){return[0,v,[2,Mx]]};return fx(l(n[1][1+bo],n),v,Z,s,y0);case 3:var _0=c[1],F0=function(Mx){return[0,v,[3,Mx]]};return fx(l(n[1][1+At],n),v,_0,s,F0);case 4:var ox=c[1],Cx=function(Mx){return[0,v,[4,Mx]]};return fx(l(n[1][1+ia],n),v,ox,s,Cx);case 5:var dx=c[1],wr=function(Mx){return[0,v,[5,Mx]]};return fx(l(n[1][1+T3],n),v,dx,s,wr);case 6:var c1=c[1],s1=function(Mx){return[0,v,[6,Mx]]};return fx(l(n[1][1+qt],n),v,c1,s,s1);case 7:var y1=c[1],d1=function(Mx){return[0,v,[7,Mx]]};return fx(l(n[1][1+sr],n),v,y1,s,d1);case 8:var Qe=c[1],He=function(Mx){return[0,v,[8,Mx]]};return Q0(l(n[1][1+M1],n),Qe,s,He);case 9:var qe=c[1],Ie=function(Mx){return[0,v,[9,Mx]]};return Q0(p(n[1][1+d3],n,v),qe,s,Ie);case 10:var Ge=c[1],be=function(Mx){return[0,v,[10,Mx]]};return fx(l(n[1][1+cs],n),v,Ge,s,be);case 11:var gt=c[1],xt=function(Mx){return[0,v,[11,Mx]]};return fx(l(n[1][1+Jo],n),v,gt,s,xt);case 12:var rt=c[1],Mn=function(Mx){return[0,v,[12,Mx]]};return fx(l(n[1][1+Tx],n),v,rt,s,Mn);case 13:var Dn=c[1],ms=function(Mx){return[0,v,[13,Mx]]};return fx(l(n[1][1+oo],n),v,Dn,s,ms);case 14:var ks=c[1],et=function(Mx){return[0,v,[14,Mx]]};return fx(l(n[1][1+X2],n),v,ks,s,et);case 15:var hs=c[1],rv=function(Mx){return[0,v,[15,Mx]]};return fx(l(n[1][1+Or],n),v,hs,s,rv);case 16:var B6=c[1],X6=function(Mx){return[0,v,[16,Mx]]};return fx(l(n[1][1+rn],n),v,B6,s,X6);case 17:var W6=c[1],V6=function(Mx){return[0,v,[17,Mx]]};return fx(l(n[1][1+l0],n),v,W6,s,V6);case 18:var Z6=c[1],$6=function(Mx){return[0,v,[18,Mx]]};return fx(l(n[1][1+de],n),v,Z6,s,$6);case 19:var F6=c[1],Q6=function(Mx){return[0,v,[19,Mx]]};return fx(l(n[1][1+Vt],n),v,F6,s,Q6);case 20:var H6=c[1],q6=function(Mx){return[0,v,[20,Mx]]};return fx(l(n[1][1+re],n),v,H6,s,q6);case 21:var G6=c[1],b6=function(Mx){return[0,v,[21,Mx]]};return fx(l(n[1][1+En],n),v,G6,s,b6);case 22:var x4=c[1],r4=function(Mx){return[0,v,[22,Mx]]};return fx(l(n[1][1+at],n),v,x4,s,r4);case 23:var e4=c[1],t4=function(Mx){return[0,v,[23,Mx]]};return fx(l(n[1][1+Jx],n),v,e4,s,t4);case 24:var n4=c[1],u4=function(Mx){return[0,v,[24,Mx]]};return Q0(p(n[1][1+ax],n,v),n4,s,u4);case 25:var i4=c[1],f4=function(Mx){return[0,v,[25,Mx]]};return fx(l(n[1][1+Sr],n),v,i4,s,f4);case 26:var c4=c[1],s4=function(Mx){return[0,v,[26,Mx]]};return fx(l(n[1][1+Q],n),v,c4,s,s4);case 27:var o4=c[1],v4=function(Mx){return[0,v,[27,Mx]]};return fx(l(n[1][1+px],n),v,o4,s,v4);case 28:var a4=c[1],l4=function(Mx){return[0,v,[28,Mx]]};return fx(l(n[1][1+Z0],n),v,a4,s,l4);case 29:var p4=c[1],y4=function(Mx){return[0,v,[29,Mx]]};return fx(l(n[1][1+g0],n),v,p4,s,y4);case 30:var d4=c[1],m4=function(Mx){return[0,v,[30,Mx]]};return fx(l(n[1][1+D0],n),v,d4,s,m4);case 31:var k4=c[1],h4=function(Mx){return[0,v,[31,Mx]]};return fx(l(n[1][1+j],n),v,k4,s,h4);case 32:var _4=c[1],w4=function(Mx){return[0,v,[32,Mx]]};return fx(l(n[1][1+o0],n),v,_4,s,w4);case 33:var T4=c[1],S4=function(Mx){return[0,v,[33,Mx]]};return fx(l(n[1][1+A],n),v,T4,s,S4);case 34:var E4=c[1],A4=function(Mx){return[0,v,[34,Mx]]};return fx(l(n[1][1+h],n),v,E4,s,A4);default:var g4=c[1],Ux=function(Mx){return[0,v,[35,Mx]]};return fx(l(n[1][1+e],n),v,g4,s,Ux)}}function nI0(n,s){var c=s[2],v=s[1],d=s[3],S=gr(l(n[1][1+co],n),v),E=gr(l(n[1][1+co],n),c);return v===S&&c===E?s:[0,S,E,d]}function uI0(n){var s=l(n[1][1+nx],n);return function(c){return Yx(s,c)}}function iI0(n,s){return s}function fI0(n,s){var c=s[2],v=s[1];switch(c[0]){case 0:var d=c[1],S=function(Ix){return[0,v,[0,Ix]]};return fx(l(n[1][1+Et],n),v,d,s,S);case 1:var E=c[1],O=function(Ix){return[0,v,[1,Ix]]};return fx(l(n[1][1+ys],n),v,E,s,O);case 2:var Z=c[1],y0=function(Ix){return[0,v,[2,Ix]]};return fx(l(n[1][1+E3],n),v,Z,s,y0);case 3:var _0=c[1],F0=function(Ix){return[0,v,[3,Ix]]};return fx(l(n[1][1+Fo],n),v,_0,s,F0);case 4:var ox=c[1],Cx=function(Ix){return[0,v,[4,Ix]]};return fx(l(n[1][1+Ht],n),v,ox,s,Cx);case 5:var dx=c[1],wr=function(Ix){return[0,v,[5,Ix]]};return fx(l(n[1][1+Tt],n),v,dx,s,wr);case 6:var c1=c[1],s1=function(Ix){return[0,v,[6,Ix]]};return fx(l(n[1][1+ne],n),v,c1,s,s1);case 7:var y1=c[1],d1=function(Ix){return[0,v,[7,Ix]]};return fx(l(n[1][1+Qt],n),v,y1,s,d1);case 8:var Qe=c[1],He=function(Ix){return[0,v,[8,Ix]]};return fx(l(n[1][1+wt],n),v,Qe,s,He);case 9:var qe=c[1],Ie=function(Ix){return[0,v,[9,Ix]]};return fx(l(n[1][1+_t],n),v,qe,s,Ie);case 10:var Ge=c[1],be=function(Ix){return[0,v,[10,Ix]]};return fx(l(n[1][1+Ft],n),v,Ge,s,be);case 11:var gt=c[1],xt=function(Ix){return[0,v,[11,Ix]]};return fx(l(n[1][1+C2],n),v,gt,s,xt);case 12:var rt=c[1],Mn=function(Ix){return[0,v,[12,Ix]]};return fx(l(n[1][1+te],n),v,rt,s,Mn);case 13:var Dn=c[1],ms=function(Ix){return[0,v,[13,Ix]]};return fx(l(n[1][1+$e],n),v,Dn,s,ms);case 14:var ks=c[1],et=function(Ix){return[0,v,[14,Ix]]};return fx(l(n[1][1+ht],n),v,ks,s,et);case 15:var hs=c[1],rv=function(Ix){return[0,v,[15,Ix]]};return fx(l(n[1][1+br],n),v,hs,s,rv);case 16:var B6=c[1],X6=function(Ix){return[0,v,[16,Ix]]};return fx(l(n[1][1+ge],n),v,B6,s,X6);case 17:var W6=c[1],V6=function(Ix){return[0,v,[17,Ix]]};return fx(l(n[1][1+Ae],n),v,W6,s,V6);case 18:var Z6=c[1],$6=function(Ix){return[0,v,[18,Ix]]};return fx(l(n[1][1+Ee],n),v,Z6,s,$6);case 19:var F6=c[1],Q6=function(Ix){return[0,v,[19,Ix]]};return fx(l(n[1][1+P2],n),v,F6,s,Q6);case 20:var H6=c[1],q6=function(Ix){return[0,v,[20,Ix]]};return fx(l(n[1][1+he],n),v,H6,s,q6);case 21:var G6=c[1],b6=function(Ix){return[0,v,[21,Ix]]};return fx(l(n[1][1+Br],n),v,G6,s,b6);case 22:var x4=c[1],r4=function(Ix){return[0,v,[22,Ix]]};return fx(l(n[1][1+W2],n),v,x4,s,r4);case 23:var e4=c[1],t4=function(Ix){return[0,v,[23,Ix]]};return fx(l(n[1][1+Fr],n),v,e4,s,t4);case 24:var n4=c[1],u4=function(Ix){return[0,v,[24,Ix]]};return fx(l(n[1][1+D1],n),v,n4,s,u4);case 25:var i4=c[1],f4=function(Ix){return[0,v,[25,Ix]]};return fx(l(n[1][1+l1],n),v,i4,s,f4);case 26:var c4=c[1],s4=function(Ix){return[0,v,[26,Ix]]};return fx(l(n[1][1+Pr],n),v,c4,s,s4);case 27:var o4=c[1],v4=function(Ix){return[0,v,[27,Ix]]};return fx(l(n[1][1+Dm],n),v,o4,s,v4);case 28:var a4=c[1],l4=function(Ix){return[0,v,[28,Ix]]};return fx(l(n[1][1+ra],n),v,a4,s,l4);case 29:var p4=c[1],y4=function(Ix){return[0,v,[29,Ix]]};return fx(l(n[1][1+xa],n),v,p4,s,y4);case 30:var d4=c[1],m4=function(Ix){return[0,v,[30,Ix]]};return fx(l(n[1][1+dr],n),v,d4,s,m4);case 31:var k4=c[1],h4=function(Ix){return[0,v,[31,Ix]]};return fx(l(n[1][1+G],n),v,k4,s,h4);case 32:var _4=c[1],w4=function(Ix){return[0,v,[32,Ix]]};return fx(l(n[1][1+yx],n),v,_4,s,w4);case 33:var T4=c[1],S4=function(Ix){return[0,v,[33,Ix]]};return fx(l(n[1][1+M0],n),v,T4,s,S4);case 34:var E4=c[1],A4=function(Ix){return[0,v,[34,Ix]]};return fx(l(n[1][1+E0],n),v,E4,s,A4);case 35:var g4=c[1],Ux=function(Ix){return[0,v,[35,Ix]]};return fx(l(n[1][1+t0],n),v,g4,s,Ux);case 36:var Mx=c[1],cI0=function(Ix){return[0,v,[36,Ix]]};return fx(l(n[1][1+br],n),v,Mx,s,cI0);case 37:var sI0=c[1],oI0=function(Ix){return[0,v,[37,Ix]]};return fx(l(n[1][1+y],n),v,sI0,s,oI0);case 38:var vI0=c[1],aI0=function(Ix){return[0,v,[38,Ix]]};return fx(l(n[1][1+u],n),v,vI0,s,aI0);default:var lI0=c[1],pI0=function(Ix){return[0,v,[39,Ix]]};return fx(l(n[1][1+t],n),v,lI0,s,pI0)}}return LR(x,[0,Km,function(n,s){var c=s[2],v=c[4],d=c[3],S=c[1],E=c[2],O=s[1],Z=p(n[1][1+k0],n,S),y0=p(n[1][1+n0],n,d),_0=gr(l(n[1][1+co],n),v);return S===Z&&d===y0&&v===_0?s:[0,O,[0,Z,E,y0,_0]]},N0,fI0,co,iI0,n0,uI0,nx,nI0,Ax,tI0,P3,eI0,xv,rI0,N3,xI0,bo,bN0,At,GN0,Et,qN0,ys,HN0,ia,QN0,fa,FN0,ax,$N0,qo,ZN0,g3,VN0,Ho,WN0,so,XN0,E3,BN0,T3,YN0,ua,JN0,w3,KN0,Ln,zN0,A3,jN0,Ne,DN0,S3,MN0,na,UN0,ta,LN0,_3,ON0,ea,RN0,Qo,CN0,h3,PN0,Z1,IN0,Fo,NN0,ls,gN0,xn,AN0,as,EN0,vs,SN0,St,TN0,$o,wN0,k3,_N0,qt,hN0,Ht,kN0,Tt,mN0,ne,dN0,Qt,yN0,On,pN0,Rn,lN0,bt,aN0,Gt,vN0,wt,oN0,_t,sN0,os,cN0,Ft,fN0,C2,iN0,te,uN0,$e,nN0,ht,tN0,ge,eN0,Ae,rN0,Ee,xN0,P2,bg0,we,Gg0,Ze,qg0,I2,Hg0,N2,Qg0,_e,Fg0,Se,$g0,mt,Zg0,kt,Vg0,u2,Wg0,$t,Xg0,Te,Bg0,l2,Yg0,he,Jg0,V1,Kg0,Br,zg0,lr,jg0,V2,Dg0,r1,Mg0,Kr,Ug0,W2,Lg0,ee,Og0,D1,Rg0,Cr,Cg0,n2,Pg0,l1,Ig0,x1,Ng0,p1,gg0,Fr,Ag0,Ur,Eg0,h1,Sg0,bx,Tg0,Sx,wg0,T0,_g0,P,hg0,D,kg0,Zt,mg0,b,dg0,k1,yg0,t2,pg0,x0,lg0,_,ag0,Vx,vg0,ur,og0,er,sg0,H,cg0,U1,fg0,Rr,ig0,Zo,ug0,q,ng0,m3,tg0,ro,eg0,f,rg0,i,xg0,Y,bA0,U,GA0,B,qA0,dt,HA0,p3,QA0,Dr,FA0,Tx,$A0,Or,ZA0,rn,VA0,oo,WA0,X2,XA0,l0,BA0,de,YA0,Xx,JA0,ue,KA0,Lm,zA0,g,jA0,L,DA0,R,MA0,C,UA0,I,LA0,Nn,OA0,d0,RA0,f0,CA0,s0,PA0,v0,IA0,c0,NA0,I3,gA0,k,AA0,Vo,EA0,$,SA0,F,TA0,z,wA0,Pr,_A0,sr,hA0,cr,kA0,Vr,mA0,jx,dA0,R0,yA0,or,pA0,rx,lA0,$r,aA0,Wr,vA0,Go,oA0,_r,sA0,M1,cA0,J,fA0,X,iA0,Fe,uA0,l3,nA0,xa,tA0,A0,eA0,Cn,rA0,d3,xA0,jm,bE0,zm,GE0,Dm,qE0,ra,HE0,R6,QE0,C6,FE0,V,$E0,Um,ZE0,Mm,VE0,y3,WE0,cs,XE0,Jo,BE0,lt,YE0,Bo,JE0,Ko,KE0,ke,zE0,ss,jE0,bv,DE0,Wo,ME0,fo,UE0,Gv,LE0,Pn,OE0,Xo,RE0,io,CE0,a3,PE0,no,IE0,Hv,NE0,yt,gE0,uo,AE0,qv,EE0,Yo,SE0,eo,TE0,In,wE0,a2,TU,to,e9,pt,r9,dr,Y6,Vt,wU,re,x9,Sr,_U,me,hU,An,bm,gn,L3,fs,O3,En,J6,at,K6,Jx,kU,S0,mU,Lx,dU,h0,z6,Y0,yU,Wx,pU,U0,lU,tx,j6,br,aU,mr,vU,o,oU,ps,sU,A1,cU,f1,R3,ds,fU,en,Gm,K0,iU,kx,uU,V0,nU,Px,D6,Qx,tU,z0,qm,ux,eU,T,rU,b0,xU,W0,M6,sx,bL,K,U6,H0,Hm,vx,GL,hx,Qm,B0,L6,ir,Fm,X0,qL,zx,$m,rr,HL,j0,O6,$x,QL,L0,FL,M,$L,e0,Zm,i0,Vm,Dx,ca,G,ZL,Q,Wm,k0,Xm,O0,VL,P0,WL,I0,XL,J0,Bm,px,C3,yx,BL,xx,YL,Z0,JL,g0,KL,cx,zL,D0,jL,M0,DL,E0,ML,j,UL,o0,LL,A,OL,h,RL,y,CL,a,PL,u,IL,t,Ym,t0,Jm,e,Un]),function(n,s){return fd(s,x)}}),KR=function x(r,e,t){return x.fun(r,e,t)};C0(KR,function(x,r,e){var t=e[2];switch(t[0]){case 0:var u=t[1][1];return b1(function(f){return function(o){var a=o[0]===0?o[1][2][2]:o[1][2][1];return G0(KR,x,f,a)}},r,u);case 1:var i=t[1][1];return b1(function(f){return function(o){return o[0]===2?f:G0(KR,x,f,o[1][2][1])}},r,i);case 2:return p(x,r,t[1][1]);default:return r}});var hn=function(x,r){return[0,r[1],[0,r[2],x]]},cY=function(x,r,e){var t=x?x[1]:0,u=r?r[1]:0;return[0,t,u,e]},m0=function(x,r,e){var t=x?x[1]:0,u=r?r[1]:0;return!t&&!u?0:[0,cY([0,t],[0,u],0)]},K1=function(x,r,e,t){var u=x?x[1]:0,i=r?r[1]:0;return!u&&!i&&!e?0:[0,cY([0,u],[0,i],e)]},g2=function(x,r){if(x){if(r){var e=r[1],t=x[1],u=[0,Fx(t[2],e[2])];return m0([0,Fx(e[1],t[1])],u,0)}var i=x}else var i=r;return i},JR=function(x,r){if(!r)return x;if(x){var e=r[1],t=x[1],u=e[1],i=t[3],f=t[1],o=[0,Fx(t[2],e[2])];return K1([0,Fx(u,f)],o,i,0)}var a=r[1];return K1([0,a[1]],[0,a[2]],0,0)},sY=function(x,r){l(zr(x),oq),p(zr(x),aq,vq);var e=r[1];l(l(zr(x),lq),e),l(zr(x),pq),l(zr(x),yq),p(zr(x),mq,dq);var t=r[2];return l(l(zr(x),kq),t),l(zr(x),hq),l(zr(x),_q)},oY=function x(r,e){return x.fun(r,e)},DT0=function x(r){return x.fun(r)};C0(oY,function(x,r){l(zr(x),Aq),p(zr(x),Nq,gq);var e=r[1];if(e){var t=e[1];switch(ud(x,Tq),t[0]){case 0:var u=t[1];l(zr(x),xH),l(l(zr(x),rH),u),l(zr(x),eH);break;case 1:var i=t[1];l(zr(x),tH),l(l(zr(x),nH),i),l(zr(x),uH);break;case 2:var f=t[1];l(zr(x),iH),l(l(zr(x),fH),f),l(zr(x),cH);break;default:var o=t[1];l(zr(x),sH),l(l(zr(x),oH),o),l(zr(x),vH)}ud(x,Sq)}else ud(x,Eq);return l(zr(x),Iq),l(zr(x),Pq),p(zr(x),Rq,Cq),sY(x,r[2]),l(zr(x),Oq),l(zr(x),Lq),p(zr(x),Mq,Uq),sY(x,r[3]),l(zr(x),Dq),l(zr(x),jq)}),C0(DT0,function(x){var r=wq[1],e=gJ(0),t=ER(e);return p(jr(function(u){Xe(t,u),TR(t,0);var i=z1(e);return e[2]=0,e[1]=e[4],e[3]=ft(e[1]),i},0,r),oY,x)});var i1=function(x,r){return[0,x[1],x[2],r[3]]},Fs=function(x,r){var e=x[1]-r[1]|0;return e===0?x[2]-r[2]|0:e},vY=function(x,r){var e=r[1],t=x[1];if(t){var u=t[1];if(e)var i=e[1],f=iY(i),o=iY(u)-f|0,a=o===0?Ex(u[1],i[1]):o;else var a=-1}else var a=e?1:0;if(a!==0)return a;var y=Fs(x[2],r[2]);return y===0?Fs(x[3],r[3]):y},Eo=function(x,r){return vY(x,r)===0?1:0},aY=function x(r,e){return x.fun(r,e)};C0(aY,function(x,r){if(typeof x=="number"){var e=x;if(59<=e)switch(e){case 59:if(typeof r=="number"&&r===59)return 0;break;case 60:if(typeof r=="number"&&r===60)return 0;break;case 61:if(typeof r=="number"&&r===61)return 0;break;case 62:if(typeof r=="number"&&r===62)return 0;break;case 63:if(typeof r=="number"&&r===63)return 0;break;case 64:if(typeof r=="number"&&r===64)return 0;break;case 65:if(typeof r=="number"&&r===65)return 0;break;case 66:if(typeof r=="number"&&r===66)return 0;break;case 67:if(typeof r=="number"&&r===67)return 0;break;case 68:if(typeof r=="number"&&r===68)return 0;break;case 69:if(typeof r=="number"&&r===69)return 0;break;case 70:if(typeof r=="number"&&r===70)return 0;break;case 71:if(typeof r=="number"&&r===71)return 0;break;case 72:if(typeof r=="number"&&r===72)return 0;break;case 73:if(typeof r=="number"&&r===73)return 0;break;case 74:if(typeof r=="number"&&r===74)return 0;break;case 75:if(typeof r=="number"&&r===75)return 0;break;case 76:if(typeof r=="number"&&r===76)return 0;break;case 77:if(typeof r=="number"&&r===77)return 0;break;case 78:if(typeof r=="number"&&r===78)return 0;break;case 79:if(typeof r=="number"&&r===79)return 0;break;case 80:if(typeof r=="number"&&r===80)return 0;break;case 81:if(typeof r=="number"&&r===81)return 0;break;case 82:if(typeof r=="number"&&r===82)return 0;break;case 83:if(typeof r=="number"&&r===83)return 0;break;case 84:if(typeof r=="number"&&r===84)return 0;break;case 85:if(typeof r=="number"&&r===85)return 0;break;case 86:if(typeof r=="number"&&r===86)return 0;break;case 87:if(typeof r=="number"&&r===87)return 0;break;case 88:if(typeof r=="number"&&r===88)return 0;break;case 89:if(typeof r=="number"&&r===89)return 0;break;case 90:if(typeof r=="number"&&r===90)return 0;break;case 91:if(typeof r=="number"&&r===91)return 0;break;case 92:if(typeof r=="number"&&r===92)return 0;break;case 93:if(typeof r=="number"&&r===93)return 0;break;case 94:if(typeof r=="number"&&r===94)return 0;break;case 95:if(typeof r=="number"&&r===95)return 0;break;case 96:if(typeof r=="number"&&r===96)return 0;break;case 97:if(typeof r=="number"&&r===97)return 0;break;case 98:if(typeof r=="number"&&r===98)return 0;break;case 99:if(typeof r=="number"&&r===99)return 0;break;case 100:if(typeof r=="number"&&Uc===r)return 0;break;case 101:if(typeof r=="number"&&Pt===r)return 0;break;case 102:if(typeof r=="number"&&Cs===r)return 0;break;case 103:if(typeof r=="number"&&tt===r)return 0;break;case 104:if(typeof r=="number"&&ln===r)return 0;break;case 105:if(typeof r=="number"&&Ue===r)return 0;break;case 106:if(typeof r=="number"&&_1===r)return 0;break;case 107:if(typeof r=="number"&&Rs===r)return 0;break;case 108:if(typeof r=="number"&&fn===r)return 0;break;case 109:if(typeof r=="number"&&wv===r)return 0;break;case 110:if(typeof r=="number"&&P1===r)return 0;break;case 111:if(typeof r=="number"&&ut===r)return 0;break;case 112:if(typeof r=="number"&&fe===r)return 0;break;case 113:if(typeof r=="number"&&Er===r)return 0;break;case 114:if(typeof r=="number"&&Vi===r)return 0;break;case 115:if(typeof r=="number"&&Ps===r)return 0;break;default:if(typeof r=="number"&&Ns<=r)return 0}else switch(e){case 0:if(typeof r=="number"&&!r)return 0;break;case 1:if(typeof r=="number"&&r===1)return 0;break;case 2:if(typeof r=="number"&&r===2)return 0;break;case 3:if(typeof r=="number"&&r===3)return 0;break;case 4:if(typeof r=="number"&&r===4)return 0;break;case 5:if(typeof r=="number"&&r===5)return 0;break;case 6:if(typeof r=="number"&&r===6)return 0;break;case 7:if(typeof r=="number"&&r===7)return 0;break;case 8:if(typeof r=="number"&&r===8)return 0;break;case 9:if(typeof r=="number"&&r===9)return 0;break;case 10:if(typeof r=="number"&&r===10)return 0;break;case 11:if(typeof r=="number"&&r===11)return 0;break;case 12:if(typeof r=="number"&&r===12)return 0;break;case 13:if(typeof r=="number"&&r===13)return 0;break;case 14:if(typeof r=="number"&&r===14)return 0;break;case 15:if(typeof r=="number"&&r===15)return 0;break;case 16:if(typeof r=="number"&&r===16)return 0;break;case 17:if(typeof r=="number"&&r===17)return 0;break;case 18:if(typeof r=="number"&&r===18)return 0;break;case 19:if(typeof r=="number"&&r===19)return 0;break;case 20:if(typeof r=="number"&&r===20)return 0;break;case 21:if(typeof r=="number"&&r===21)return 0;break;case 22:if(typeof r=="number"&&r===22)return 0;break;case 23:if(typeof r=="number"&&r===23)return 0;break;case 24:if(typeof r=="number"&&r===24)return 0;break;case 25:if(typeof r=="number"&&r===25)return 0;break;case 26:if(typeof r=="number"&&r===26)return 0;break;case 27:if(typeof r=="number"&&r===27)return 0;break;case 28:if(typeof r=="number"&&r===28)return 0;break;case 29:if(typeof r=="number"&&r===29)return 0;break;case 30:if(typeof r=="number"&&r===30)return 0;break;case 31:if(typeof r=="number"&&r===31)return 0;break;case 32:if(typeof r=="number"&&r===32)return 0;break;case 33:if(typeof r=="number"&&r===33)return 0;break;case 34:if(typeof r=="number"&&r===34)return 0;break;case 35:if(typeof r=="number"&&r===35)return 0;break;case 36:if(typeof r=="number"&&r===36)return 0;break;case 37:if(typeof r=="number"&&r===37)return 0;break;case 38:if(typeof r=="number"&&r===38)return 0;break;case 39:if(typeof r=="number"&&r===39)return 0;break;case 40:if(typeof r=="number"&&r===40)return 0;break;case 41:if(typeof r=="number"&&r===41)return 0;break;case 42:if(typeof r=="number"&&r===42)return 0;break;case 43:if(typeof r=="number"&&r===43)return 0;break;case 44:if(typeof r=="number"&&r===44)return 0;break;case 45:if(typeof r=="number"&&r===45)return 0;break;case 46:if(typeof r=="number"&&r===46)return 0;break;case 47:if(typeof r=="number"&&r===47)return 0;break;case 48:if(typeof r=="number"&&r===48)return 0;break;case 49:if(typeof r=="number"&&r===49)return 0;break;case 50:if(typeof r=="number"&&r===50)return 0;break;case 51:if(typeof r=="number"&&r===51)return 0;break;case 52:if(typeof r=="number"&&r===52)return 0;break;case 53:if(typeof r=="number"&&r===53)return 0;break;case 54:if(typeof r=="number"&&r===54)return 0;break;case 55:if(typeof r=="number"&&r===55)return 0;break;case 56:if(typeof r=="number"&&r===56)return 0;break;case 57:if(typeof r=="number"&&r===57)return 0;break;default:if(typeof r=="number"&&r===58)return 0}}else switch(x[0]){case 0:if(typeof r!="number"&&r[0]===0)return Ex(x[1],r[1]);break;case 1:if(typeof r!="number"&&r[0]===1)return Ex(x[1],r[1]);break;case 2:if(typeof r!="number"&&r[0]===2){var t=Ex(x[1],r[1]),u=r[2],i=x[2];return t===0?Ex(i,u):t}break;case 3:if(typeof r!="number"&&r[0]===3){var f=Ex(x[1],r[1]),o=r[2],a=x[2];return f===0?Ex(a,o):f}break;case 4:if(typeof r!="number"&&r[0]===4){var y=Ex(x[1],r[1]),h=r[2],k=x[2];return y===0?Ex(k,h):y}break;case 5:if(typeof r!="number"&&r[0]===5)return Ex(x[1],r[1]);break;case 6:if(typeof r!="number"&&r[0]===6)return yn(x[1],r[1]);break;case 7:if(typeof r!="number"&&r[0]===7){var A=r[2],g=x[2],I=Ex(x[1],r[1]);if(I!==0)return I;if(!g)return A?-1:0;var C=g[1];return A?Ex(C,A[1]):1}break;case 8:if(typeof r!="number"&&r[0]===8)return Ex(x[1],r[1]);break;case 9:if(typeof r!="number"&&r[0]===9){var R=r[2],L=x[2],U=Ex(x[1],r[1]),B=r[3],X=x[3];if(U!==0)return U;if(L){var J=L[1];if(R){var e0=R[1],i0=0;switch(J){case 0:if(e0)i0=1;else var z=0;break;case 1:if(e0===1)var z=0;else i0=1;break;case 2:if(e0===2)var z=0;else i0=1;break;case 3:if(e0===3)var z=0;else i0=1;break;default:if(4<=e0)var z=0;else i0=1}if(i0)var j=function(L0){switch(L0){case 0:return 0;case 1:return 1;case 2:return 2;case 3:return 3;default:return 4}},Y=j(e0),z=yn(j(J),Y);var F=z}else var F=1}else var F=R?-1:0;return F===0?Ex(X,B):F}break;case 10:if(typeof r!="number"&&r[0]===10){var t0=Ex(x[1],r[1]),$=r[2],f0=x[2];return t0===0?Ex(f0,$):t0}break;case 11:if(typeof r!="number"&&r[0]===11){var c0=Ex(x[1],r[1]),v0=r[2],s0=x[2];return c0===0?Ex(s0,v0):c0}break;case 12:if(typeof r!="number"&&r[0]===12)return Ex(x[1],r[1]);break;case 13:if(typeof r!="number"&&r[0]===13)return Ex(x[1],r[1]);break;case 14:if(typeof r!="number"&&r[0]===14)return yn(x[1],r[1]);break;case 15:if(typeof r!="number"&&r[0]===15){var o0=Ex(x[1],r[1]),E0=r[4],k0=r[3],M0=r[2],D0=x[4],cx=x[3],g0=x[2];if(o0!==0)return o0;var Z0=yn(g0,M0);if(Z0!==0)return Z0;var n0=yn(cx,k0);return n0===0?yn(D0,E0):n0}break;case 16:if(typeof r!="number"&&r[0]===16)return yn(x[1],r[1]);break;case 17:if(typeof r!="number"&&r[0]===17)return Ex(x[1],r[1]);break;case 18:if(typeof r!="number"&&r[0]===18)return Ex(x[1],r[1]);break;case 19:if(typeof r!="number"&&r[0]===19)return Ex(x[1],r[1]);break;case 20:if(typeof r!="number"&&r[0]===20){var nx=Ex(x[1],r[1]),xx=r[2],yx=x[2];return nx===0?Ex(yx,xx):nx}break;case 21:if(typeof r!="number"&&r[0]===21){var px=r[1],Tx=x[1];if(ol===Tx){if(ol===px)return 0}else if(rl<=Tx){if(rl===px)return 0}else if(Wz===px)return 0;var O0=function(A0){return ol===A0?0:rl<=A0?2:1},P0=O0(px);return yn(O0(Tx),P0)}break;case 22:if(typeof r!="number"&&r[0]===22)return Ex(x[1],r[1]);break;case 23:if(typeof r!="number"&&r[0]===23)return Ex(x[1],r[1]);break;case 24:if(typeof r!="number"&&r[0]===24){var N0=Ex(x[1],r[1]),J0=r[2],I0=x[2];return N0===0?Ex(I0,J0):N0}break;case 25:if(typeof r!="number"&&r[0]===25){var Q=Ex(x[1],r[1]),G=r[2],V=x[2];return Q===0?Ex(V,G):Q}break;default:if(typeof r!="number"&&r[0]===26)return Ex(x[1],r[1])}function l0(A0){if(typeof A0!="number")switch(A0[0]){case 0:return 20;case 1:return 21;case 2:return 23;case 3:return 24;case 4:return 25;case 5:return 26;case 6:return 27;case 7:return 28;case 8:return 30;case 9:return 31;case 10:return 32;case 11:return 34;case 12:return 35;case 13:return 37;case 14:return 40;case 15:return 52;case 16:return 55;case 17:return 64;case 18:return 73;case 19:return 82;case 20:return 89;case 21:return wv;case 22:return aa;case 23:return pa;case 24:return yl;case 25:return k_;default:return HM}var M=A0;if(59<=M)switch(M){case 59:return 78;case 60:return 79;case 61:return 80;case 62:return 81;case 63:return 83;case 64:return 84;case 65:return 85;case 66:return 86;case 67:return 87;case 68:return 88;case 69:return 90;case 70:return 91;case 71:return 92;case 72:return 93;case 73:return 94;case 74:return 95;case 75:return 96;case 76:return 97;case 77:return 98;case 78:return 99;case 79:return Uc;case 80:return Pt;case 81:return Cs;case 82:return tt;case 83:return ln;case 84:return Ue;case 85:return _1;case 86:return Rs;case 87:return fn;case 88:return P1;case 89:return ut;case 90:return fe;case 91:return Er;case 92:return Vi;case 93:return Ps;case 94:return Ns;case 95:return xl;case 96:return Ef;case 97:return G3;case 98:return qr;case 99:return Rt;case 100:return Ra;case 101:return gi;case 102:return U4;case 103:return Jr;case 104:return m1;case 105:return fz;case 106:return lh;case 107:return pz;case 108:return $U;case 109:return Sj;case 110:return xK;case 111:return UD;case 112:return dD;case 113:return uz;case 114:return BD;case 115:return tD;default:return Ij}switch(M){case 0:return 0;case 1:return 1;case 2:return 2;case 3:return 3;case 4:return 4;case 5:return 5;case 6:return 6;case 7:return 7;case 8:return 8;case 9:return 9;case 10:return 10;case 11:return 11;case 12:return 12;case 13:return 13;case 14:return 14;case 15:return 15;case 16:return 16;case 17:return 17;case 18:return 18;case 19:return 19;case 20:return 22;case 21:return 29;case 22:return 33;case 23:return 36;case 24:return 38;case 25:return 39;case 26:return 41;case 27:return 42;case 28:return 43;case 29:return 44;case 30:return 45;case 31:return 46;case 32:return 47;case 33:return 48;case 34:return 49;case 35:return 50;case 36:return 51;case 37:return 53;case 38:return 54;case 39:return 56;case 40:return 57;case 41:return 58;case 42:return 59;case 43:return 60;case 44:return 61;case 45:return 62;case 46:return 63;case 47:return 65;case 48:return 66;case 49:return 67;case 50:return 68;case 51:return 69;case 52:return 70;case 53:return 71;case 54:return 72;case 55:return 74;case 56:return 75;case 57:return 76;default:return 77}}var d0=l0(r);return yn(l0(x),d0)});var jT0=[Qr,W00,zs(0)],zT0=function(x){if(typeof x=="number"){var r=x;if(59<=r)switch(r){case 59:return ZG;case 60:return $G;case 61:return FG;case 62:return QG;case 63:return HG;case 64:return qG;case 65:return GG;case 66:return bG;case 67:return xb;case 68:return rb;case 69:return eb;case 70:return tb;case 71:return nb;case 72:return ub;case 73:return ib;case 74:return fb;case 75:return cb;case 76:return sb;case 77:return ob;case 78:return vb;case 79:return ab;case 80:return lb;case 81:return pb;case 82:return yb;case 83:return db;case 84:return mb;case 85:return kb;case 86:return hb;case 87:return _b;case 88:return wb;case 89:return Tb;case 90:return Sb;case 91:return Eb;case 92:return Ab;case 93:return gb;case 94:return Nb;case 95:return Ib;case 96:return Pb;case 97:return Cb;case 98:return Rb;case 99:return Ob;case 100:return Lb;case 101:return Ub;case 102:return Mb;case 103:return Db;case 104:return jb;case 105:return zb;case 106:return Kb;case 107:return Jb;case 108:return Yb;case 109:return Bb;case 110:return Xb;case 111:return Wb;case 112:return Vb;case 113:return Zb;case 114:return $b;case 115:return Fb;default:return Qb}switch(r){case 0:return zq;case 1:return Kq;case 2:return Jq;case 3:return Zx(Bq,Yq);case 4:return Xq;case 5:return Wq;case 6:return Vq;case 7:return Zq;case 8:return $q;case 9:return Fq;case 10:return Qq;case 11:return Hq;case 12:return Zx(Gq,qq);case 13:return bq;case 14:return xG;case 15:return rG;case 16:return eG;case 17:return tG;case 18:return nG;case 19:return uG;case 20:return iG;case 21:return fG;case 22:return cG;case 23:return sG;case 24:return oG;case 25:return vG;case 26:return aG;case 27:return lG;case 28:return pG;case 29:return yG;case 30:return dG;case 31:return mG;case 32:return kG;case 33:return hG;case 34:return Zx(wG,_G);case 35:return TG;case 36:return SG;case 37:return EG;case 38:return AG;case 39:return gG;case 40:return NG;case 41:return IG;case 42:return PG;case 43:return CG;case 44:return RG;case 45:return OG;case 46:return LG;case 47:return UG;case 48:return MG;case 49:return DG;case 50:return jG;case 51:return zG;case 52:return KG;case 53:return JG;case 54:return YG;case 55:return BG;case 56:return XG;case 57:return WG;default:return VG}}switch(x[0]){case 0:var e=x[1];return l(Ar(Hb),e);case 1:var t=x[1];return l(Ar(qb),t);case 2:var u=x[2],i=x[1];return p(Ar(Gb),u,i);case 3:var f=x[2],o=x[1];return G0(Ar(bb),f,f,o);case 4:var a=x[2],y=x[1];return p(Ar(x00),a,y);case 5:var h=x[1];return l(Ar(r00),h);case 6:return x[1]?e00:t00;case 7:var k=x[2],A=x[1],g=l(Ar(n00),A);if(!k)return l(Ar(i00),g);var I=k[1];return p(Ar(u00),I,g);case 8:var C=x[1];return p(Ar(f00),C,C);case 9:var R=x[3],L=x[2],U=x[1];if(!L)return p(Ar(o00),R,U);var B=L[1];if(B===3)return p(Ar(s00),R,U);switch(B){case 0:var X=QQ;break;case 1:var X=HQ;break;case 2:var X=qQ;break;case 3:var X=GQ;break;default:var X=bQ}return oe(Ar(c00),U,X,R,X);case 10:var J=x[2],e0=Vc(J),i0=x[1];if(ft(e0)===0)var j=e0;else{var Y=FK(e0);Xr(Y,0,VK(se(e0,0)));var j=Y}var z=j2(j);return G0(Ar(v00),J,z,i0);case 11:var F=x[2],t0=x[1];return p(Ar(a00),F,t0);case 12:var $=x[1];return l(Ar(l00),$);case 13:var f0=x[1];return l(Ar(p00),f0);case 14:return x[1]?Zx(d00,y00):Zx(k00,m00);case 15:var c0=x[1],v0=x[4],s0=x[3],o0=x[2]?h00:_00,E0=s0?w00:T00,k0=v0?Zx(S00,c0):c0;return G0(Ar(E00),o0,E0,k0);case 16:var M0=x[1]?A00:g00;return l(Ar(N00),M0);case 17:var D0=x[1];return l(Ar(I00),D0);case 18:var cx=x[1];return l(Ar(P00),cx);case 19:var g0=x[1];return l(Ar(C00),g0);case 20:var Z0=x[2],n0=x[1];return p(Ar(R00),n0,Z0);case 21:var nx=x[1];if(ol===nx)var xx=D00,yx=j00;else if(rl<=nx)var xx=O00,yx=L00;else var xx=U00,yx=M00;return p(Ar(z00),yx,xx);case 22:var px=x[1];return l(Ar(K00),px);case 23:var Tx=x[1];return l(Ar(J00),Tx);case 24:var O0=x[2],P0=x[1];return p(Ar(Y00),P0,O0);case 25:var N0=x[2],J0=x[1];return p(Ar(B00),J0,N0);default:var I0=x[1];return l(Ar(X00),I0)}},lY=V00.slice(),YR=function(x){for(var r=0,e=lY.length-1-1|0;;){if(ex)return 1;var r=t+1|0}},pY=0,yY=function(x){var r=x[2];return[0,x[1],[0,r[1],r[2],r[3],r[4],r[5],r[6],r[7],r[8],r[9],r[10],r[11],r[12]],x[3],x[4],x[5],x[6],x[7]]},dY=function(x){return x[3][1]},ld=function(x,r){return x!==r[4]?[0,r[1],r[2],r[3],x,r[5],r[6],r[7]]:r},BR=function x(r,e){return x.fun(r,e)},mY=function x(r,e){return x.fun(r,e)},XR=function x(r,e){return x.fun(r,e)},WR=function x(r,e){return x.fun(r,e)};C0(BR,function(x,r){if(typeof x=="number"){var e=x;if(65<=e)if(98<=e)switch(e){case 98:if(typeof r=="number"&&r===98)return 1;break;case 99:if(typeof r=="number"&&r===99)return 1;break;case 100:if(typeof r=="number"&&Uc===r)return 1;break;case 101:if(typeof r=="number"&&Pt===r)return 1;break;case 102:if(typeof r=="number"&&Cs===r)return 1;break;case 103:if(typeof r=="number"&&tt===r)return 1;break;case 104:if(typeof r=="number"&&ln===r)return 1;break;case 105:if(typeof r=="number"&&Ue===r)return 1;break;case 106:if(typeof r=="number"&&_1===r)return 1;break;case 107:if(typeof r=="number"&&Rs===r)return 1;break;case 108:if(typeof r=="number"&&fn===r)return 1;break;case 109:if(typeof r=="number"&&wv===r)return 1;break;case 110:if(typeof r=="number"&&P1===r)return 1;break;case 111:if(typeof r=="number"&&ut===r)return 1;break;case 112:if(typeof r=="number"&&fe===r)return 1;break;case 113:if(typeof r=="number"&&Er===r)return 1;break;case 114:if(typeof r=="number"&&Vi===r)return 1;break;case 115:if(typeof r=="number"&&Ps===r)return 1;break;case 116:if(typeof r=="number"&&Ns===r)return 1;break;case 117:if(typeof r=="number"&&aa===r)return 1;break;case 118:if(typeof r=="number"&&pa===r)return 1;break;case 119:if(typeof r=="number"&&xl===r)return 1;break;case 120:if(typeof r=="number"&&Ef===r)return 1;break;case 121:if(typeof r=="number"&&G3===r)return 1;break;case 122:if(typeof r=="number"&&qr===r)return 1;break;case 123:if(typeof r=="number"&&Rt===r)return 1;break;case 124:if(typeof r=="number"&&Ra===r)return 1;break;case 125:if(typeof r=="number"&&gi===r)return 1;break;case 126:if(typeof r=="number"&&U4===r)return 1;break;case 127:if(typeof r=="number"&&Jr===r)return 1;break;case 128:if(typeof r=="number"&&m1===r)return 1;break;default:if(typeof r=="number"&&yl<=r)return 1}else switch(e){case 65:if(typeof r=="number"&&r===65)return 1;break;case 66:if(typeof r=="number"&&r===66)return 1;break;case 67:if(typeof r=="number"&&r===67)return 1;break;case 68:if(typeof r=="number"&&r===68)return 1;break;case 69:if(typeof r=="number"&&r===69)return 1;break;case 70:if(typeof r=="number"&&r===70)return 1;break;case 71:if(typeof r=="number"&&r===71)return 1;break;case 72:if(typeof r=="number"&&r===72)return 1;break;case 73:if(typeof r=="number"&&r===73)return 1;break;case 74:if(typeof r=="number"&&r===74)return 1;break;case 75:if(typeof r=="number"&&r===75)return 1;break;case 76:if(typeof r=="number"&&r===76)return 1;break;case 77:if(typeof r=="number"&&r===77)return 1;break;case 78:if(typeof r=="number"&&r===78)return 1;break;case 79:if(typeof r=="number"&&r===79)return 1;break;case 80:if(typeof r=="number"&&r===80)return 1;break;case 81:if(typeof r=="number"&&r===81)return 1;break;case 82:if(typeof r=="number"&&r===82)return 1;break;case 83:if(typeof r=="number"&&r===83)return 1;break;case 84:if(typeof r=="number"&&r===84)return 1;break;case 85:if(typeof r=="number"&&r===85)return 1;break;case 86:if(typeof r=="number"&&r===86)return 1;break;case 87:if(typeof r=="number"&&r===87)return 1;break;case 88:if(typeof r=="number"&&r===88)return 1;break;case 89:if(typeof r=="number"&&r===89)return 1;break;case 90:if(typeof r=="number"&&r===90)return 1;break;case 91:if(typeof r=="number"&&r===91)return 1;break;case 92:if(typeof r=="number"&&r===92)return 1;break;case 93:if(typeof r=="number"&&r===93)return 1;break;case 94:if(typeof r=="number"&&r===94)return 1;break;case 95:if(typeof r=="number"&&r===95)return 1;break;case 96:if(typeof r=="number"&&r===96)return 1;break;default:if(typeof r=="number"&&r===97)return 1}else if(33<=e)switch(e){case 33:if(typeof r=="number"&&r===33)return 1;break;case 34:if(typeof r=="number"&&r===34)return 1;break;case 35:if(typeof r=="number"&&r===35)return 1;break;case 36:if(typeof r=="number"&&r===36)return 1;break;case 37:if(typeof r=="number"&&r===37)return 1;break;case 38:if(typeof r=="number"&&r===38)return 1;break;case 39:if(typeof r=="number"&&r===39)return 1;break;case 40:if(typeof r=="number"&&r===40)return 1;break;case 41:if(typeof r=="number"&&r===41)return 1;break;case 42:if(typeof r=="number"&&r===42)return 1;break;case 43:if(typeof r=="number"&&r===43)return 1;break;case 44:if(typeof r=="number"&&r===44)return 1;break;case 45:if(typeof r=="number"&&r===45)return 1;break;case 46:if(typeof r=="number"&&r===46)return 1;break;case 47:if(typeof r=="number"&&r===47)return 1;break;case 48:if(typeof r=="number"&&r===48)return 1;break;case 49:if(typeof r=="number"&&r===49)return 1;break;case 50:if(typeof r=="number"&&r===50)return 1;break;case 51:if(typeof r=="number"&&r===51)return 1;break;case 52:if(typeof r=="number"&&r===52)return 1;break;case 53:if(typeof r=="number"&&r===53)return 1;break;case 54:if(typeof r=="number"&&r===54)return 1;break;case 55:if(typeof r=="number"&&r===55)return 1;break;case 56:if(typeof r=="number"&&r===56)return 1;break;case 57:if(typeof r=="number"&&r===57)return 1;break;case 58:if(typeof r=="number"&&r===58)return 1;break;case 59:if(typeof r=="number"&&r===59)return 1;break;case 60:if(typeof r=="number"&&r===60)return 1;break;case 61:if(typeof r=="number"&&r===61)return 1;break;case 62:if(typeof r=="number"&&r===62)return 1;break;case 63:if(typeof r=="number"&&r===63)return 1;break;default:if(typeof r=="number"&&r===64)return 1}else switch(e){case 0:if(typeof r=="number"&&!r)return 1;break;case 1:if(typeof r=="number"&&r===1)return 1;break;case 2:if(typeof r=="number"&&r===2)return 1;break;case 3:if(typeof r=="number"&&r===3)return 1;break;case 4:if(typeof r=="number"&&r===4)return 1;break;case 5:if(typeof r=="number"&&r===5)return 1;break;case 6:if(typeof r=="number"&&r===6)return 1;break;case 7:if(typeof r=="number"&&r===7)return 1;break;case 8:if(typeof r=="number"&&r===8)return 1;break;case 9:if(typeof r=="number"&&r===9)return 1;break;case 10:if(typeof r=="number"&&r===10)return 1;break;case 11:if(typeof r=="number"&&r===11)return 1;break;case 12:if(typeof r=="number"&&r===12)return 1;break;case 13:if(typeof r=="number"&&r===13)return 1;break;case 14:if(typeof r=="number"&&r===14)return 1;break;case 15:if(typeof r=="number"&&r===15)return 1;break;case 16:if(typeof r=="number"&&r===16)return 1;break;case 17:if(typeof r=="number"&&r===17)return 1;break;case 18:if(typeof r=="number"&&r===18)return 1;break;case 19:if(typeof r=="number"&&r===19)return 1;break;case 20:if(typeof r=="number"&&r===20)return 1;break;case 21:if(typeof r=="number"&&r===21)return 1;break;case 22:if(typeof r=="number"&&r===22)return 1;break;case 23:if(typeof r=="number"&&r===23)return 1;break;case 24:if(typeof r=="number"&&r===24)return 1;break;case 25:if(typeof r=="number"&&r===25)return 1;break;case 26:if(typeof r=="number"&&r===26)return 1;break;case 27:if(typeof r=="number"&&r===27)return 1;break;case 28:if(typeof r=="number"&&r===28)return 1;break;case 29:if(typeof r=="number"&&r===29)return 1;break;case 30:if(typeof r=="number"&&r===30)return 1;break;case 31:if(typeof r=="number"&&r===31)return 1;break;default:if(typeof r=="number"&&r===32)return 1}}else switch(x[0]){case 0:if(typeof r!="number"&&r[0]===0){var t=r[2],u=r[1],i=x[2],f=l(l(XR,x[1]),u);return f&&Nr(i,t)}break;case 1:if(typeof r!="number"&&r[0]===1){var o=r[2],a=r[1],y=x[2],h=l(l(WR,x[1]),a);return h&&Nr(y,o)}break;case 2:if(typeof r!="number"&&r[0]===2){var k=r[1],A=x[1],g=k[4],I=k[3],C=k[2],R=A[4],L=A[3],U=A[2],B=Eo(A[1],k[1]),X=B&&Nr(U,C),J=X&&Nr(L,I);return J&&(R===g?1:0)}break;case 3:if(typeof r!="number"&&r[0]===3){var e0=r[1],i0=x[1],j=e0[5],Y=e0[4],z=e0[3],F=e0[2],t0=i0[5],$=i0[4],f0=i0[3],c0=i0[2],v0=Eo(i0[1],e0[1]),s0=v0&&Nr(c0,F),o0=s0&&Nr(f0,z),E0=o0&&($===Y?1:0);return E0&&(t0===j?1:0)}break;case 4:if(typeof r!="number"&&r[0]===4){var k0=r[3],M0=r[2],D0=x[3],cx=x[2],g0=Eo(x[1],r[1]),Z0=g0&&Nr(cx,M0);return Z0&&Nr(D0,k0)}break;case 5:if(typeof r!="number"&&r[0]===5){var n0=r[3],nx=r[2],xx=x[3],yx=x[2],px=Eo(x[1],r[1]),Tx=px&&Nr(yx,nx);return Tx&&Nr(xx,n0)}break;case 6:if(typeof r!="number"&&r[0]===6){var O0=r[2],P0=x[2],N0=Eo(x[1],r[1]);return N0&&Nr(P0,O0)}break;case 7:if(typeof r!="number"&&r[0]===7)return Nr(x[1],r[1]);break;case 8:if(typeof r!="number"&&r[0]===8){var J0=Nr(x[1],r[1]),I0=r[2],Q=x[2];return J0&&Eo(Q,I0)}break;case 9:if(typeof r!="number"&&r[0]===9){var G=r[3],V=r[2],l0=x[3],d0=x[2],A0=Eo(x[1],r[1]),M=A0&&Nr(d0,V);return M&&Nr(l0,G)}break;case 10:if(typeof r!="number"&&r[0]===10){var L0=r[3],V0=r[2],B0=x[3],vx=x[2],b0=Eo(x[1],r[1]),hx=b0&&Nr(vx,V0);return hx&&Nr(B0,L0)}break;case 11:if(typeof r!="number"&&r[0]===11){var W0=r[1];return l(l(mY,x[1]),W0)}break;case 12:if(typeof r!="number"&&r[0]===12){var T=r[3],K=r[2],H0=r[1],sx=x[3],ux=x[2],z0=l(l(XR,x[1]),H0),Px=z0&&(ux==K?1:0);return Px&&Nr(sx,T)}break;default:if(typeof r!="number"&&r[0]===13){var kx=r[2],$x=x[2],Qx=r[3],j0=r[1],rr=x[3],zx=l(l(WR,x[1]),j0);if(zx){var X0=0;if($x)if(kx)var ir=jy($x[1],kx[1]);else X0=1;else if(kx)X0=1;else var ir=1;if(X0)var ir=0;var K0=ir}else var K0=zx;return K0&&Nr(rr,Qx)}}return 0}),C0(mY,function(x,r){if(x){if(r)return 1}else if(!r)return 1;return 0}),C0(XR,function(x,r){switch(x){case 0:if(!r)return 1;break;case 1:if(r===1)return 1;break;case 2:if(r===2)return 1;break;case 3:if(r===3)return 1;break;default:if(4<=r)return 1}return 0}),C0(WR,function(x,r){switch(x){case 0:if(!r)return 1;break;case 1:if(r===1)return 1;break;default:if(2<=r)return 1}return 0});var kY=function(x){if(typeof x!="number")switch(x[0]){case 0:return lt0;case 1:return pt0;case 2:return yt0;case 3:return dt0;case 4:return mt0;case 5:return kt0;case 6:return ht0;case 7:return _t0;case 8:return wt0;case 9:return Tt0;case 10:return St0;case 11:return Et0;case 12:return At0;default:return gt0}var r=x;if(65<=r){if(98<=r)switch(r){case 98:return Me0;case 99:return De0;case 100:return je0;case 101:return ze0;case 102:return Ke0;case 103:return Je0;case 104:return Ye0;case 105:return Be0;case 106:return Xe0;case 107:return We0;case 108:return Ve0;case 109:return Ze0;case 110:return $e0;case 111:return Fe0;case 112:return Qe0;case 113:return He0;case 114:return qe0;case 115:return Ge0;case 116:return be0;case 117:return xt0;case 118:return rt0;case 119:return et0;case 120:return tt0;case 121:return nt0;case 122:return ut0;case 123:return it0;case 124:return ft0;case 125:return ct0;case 126:return st0;case 127:return ot0;case 128:return vt0;default:return at0}switch(r){case 65:return ee0;case 66:return te0;case 67:return ne0;case 68:return ue0;case 69:return ie0;case 70:return fe0;case 71:return ce0;case 72:return se0;case 73:return oe0;case 74:return ve0;case 75:return ae0;case 76:return le0;case 77:return pe0;case 78:return ye0;case 79:return de0;case 80:return me0;case 81:return ke0;case 82:return he0;case 83:return _e0;case 84:return we0;case 85:return Te0;case 86:return Se0;case 87:return Ee0;case 88:return Ae0;case 89:return ge0;case 90:return Ne0;case 91:return Ie0;case 92:return Pe0;case 93:return Ce0;case 94:return Re0;case 95:return Oe0;case 96:return Le0;default:return Ue0}}if(33<=r)switch(r){case 33:return E20;case 34:return A20;case 35:return g20;case 36:return N20;case 37:return I20;case 38:return P20;case 39:return C20;case 40:return R20;case 41:return O20;case 42:return L20;case 43:return U20;case 44:return M20;case 45:return D20;case 46:return j20;case 47:return z20;case 48:return K20;case 49:return J20;case 50:return Y20;case 51:return B20;case 52:return X20;case 53:return W20;case 54:return V20;case 55:return Z20;case 56:return $20;case 57:return F20;case 58:return Q20;case 59:return H20;case 60:return q20;case 61:return G20;case 62:return b20;case 63:return xe0;default:return re0}switch(r){case 0:return V10;case 1:return Z10;case 2:return $10;case 3:return F10;case 4:return Q10;case 5:return H10;case 6:return q10;case 7:return G10;case 8:return b10;case 9:return x20;case 10:return r20;case 11:return e20;case 12:return t20;case 13:return n20;case 14:return u20;case 15:return i20;case 16:return f20;case 17:return c20;case 18:return s20;case 19:return o20;case 20:return v20;case 21:return a20;case 22:return l20;case 23:return p20;case 24:return y20;case 25:return d20;case 26:return m20;case 27:return k20;case 28:return h20;case 29:return _20;case 30:return w20;case 31:return T20;default:return S20}},VR=function(x){if(typeof x!="number")switch(x[0]){case 0:return x[2];case 1:return x[2];case 2:return x[1][3];case 3:var r=x[1],e=r[5],t=r[4],u=r[3];return t&&e?Zx(U10,Zx(u,L10)):t?Zx(D10,Zx(u,M10)):e?Zx(z10,Zx(u,j10)):Zx(J10,Zx(u,K10));case 4:return x[3];case 5:var i=x[2];return Zx(B10,Zx(i,Zx(Y10,x[3])));case 6:return x[2];case 7:return x[1];case 8:return x[1];case 9:return x[3];case 10:return x[3];case 11:return x[1]?X10:W10;case 12:return x[3];default:return x[3]}var f=x;if(65<=f){if(98<=f)switch(f){case 98:return r10;case 99:return e10;case 100:return t10;case 101:return n10;case 102:return u10;case 103:return i10;case 104:return f10;case 105:return c10;case 106:return s10;case 107:return o10;case 108:return v10;case 109:return a10;case 110:return l10;case 111:return p10;case 112:return y10;case 113:return d10;case 114:return m10;case 115:return k10;case 116:return h10;case 117:return _10;case 118:return w10;case 119:return T10;case 120:return S10;case 121:return E10;case 122:return A10;case 123:return g10;case 124:return N10;case 125:return I10;case 126:return P10;case 127:return C10;case 128:return R10;default:return O10}switch(f){case 65:return Tr0;case 66:return Sr0;case 67:return Er0;case 68:return Ar0;case 69:return gr0;case 70:return Nr0;case 71:return Ir0;case 72:return Pr0;case 73:return Cr0;case 74:return Rr0;case 75:return Or0;case 76:return Lr0;case 77:return Ur0;case 78:return Mr0;case 79:return Dr0;case 80:return jr0;case 81:return zr0;case 82:return Kr0;case 83:return Jr0;case 84:return Yr0;case 85:return Br0;case 86:return Xr0;case 87:return Wr0;case 88:return Vr0;case 89:return Zr0;case 90:return $r0;case 91:return Fr0;case 92:return Qr0;case 93:return Hr0;case 94:return qr0;case 95:return Gr0;case 96:return br0;default:return x10}}if(33<=f)switch(f){case 33:return Wx0;case 34:return Vx0;case 35:return Zx0;case 36:return $x0;case 37:return Fx0;case 38:return Qx0;case 39:return Hx0;case 40:return qx0;case 41:return Gx0;case 42:return bx0;case 43:return xr0;case 44:return rr0;case 45:return er0;case 46:return tr0;case 47:return nr0;case 48:return ur0;case 49:return ir0;case 50:return fr0;case 51:return cr0;case 52:return sr0;case 53:return or0;case 54:return vr0;case 55:return ar0;case 56:return lr0;case 57:return pr0;case 58:return yr0;case 59:return dr0;case 60:return mr0;case 61:return kr0;case 62:return hr0;case 63:return _r0;default:return wr0}switch(f){case 0:return vx0;case 1:return ax0;case 2:return lx0;case 3:return px0;case 4:return yx0;case 5:return dx0;case 6:return mx0;case 7:return kx0;case 8:return hx0;case 9:return _x0;case 10:return wx0;case 11:return Tx0;case 12:return Sx0;case 13:return Ex0;case 14:return Ax0;case 15:return gx0;case 16:return Nx0;case 17:return Ix0;case 18:return Px0;case 19:return Cx0;case 20:return Rx0;case 21:return Ox0;case 22:return Lx0;case 23:return Ux0;case 24:return Mx0;case 25:return Dx0;case 26:return jx0;case 27:return zx0;case 28:return Kx0;case 29:return Jx0;case 30:return Yx0;case 31:return Bx0;default:return Xx0}},pd=function(x){return l(Ar(ox0),x)},ZR=function(x,r){var e=x?x[1]:0,t=0;if(typeof r=="number")if(Er===r)var u=F00,i=Q00;else t=1;else switch(r[0]){case 3:var u=H00,i=q00;break;case 5:var u=G00,i=b00;break;case 0:case 12:var u=rx0,i=ex0;break;case 1:case 13:var u=tx0,i=nx0;break;case 4:case 8:var u=fx0,i=cx0;break;case 6:case 7:case 11:t=1;break;default:var u=ux0,i=ix0}if(t)var u=xx0,i=pd(VR(r));return e?Zx(u,Zx(sx0,i)):i},KT0=function(x){return Av>>0)var t=w(x);else switch(e){case 0:var t=1;break;case 1:var t=2;break;case 2:var t=0;break;default:if(r0(x,2),Co(m(x))===0){var u=Kv(m(x));if(u===0)var t=Ir(m(x))===0&&Ir(m(x))===0&&Ir(m(x))===0?0:w(x);else if(u===1&&Ir(m(x))===0)for(;;){var i=zv(m(x));if(i!==0){var t=i===1?0:w(x);break}}else var t=w(x)}else var t=w(x)}if(2>>0)throw q0([0,Tr,Nt0],1);switch(t){case 0:continue;case 1:return 1;default:if(YR(FJ(x)))continue;return HJ(x,1),0}}},Kd=function(x,r){var e=r-x[3][2]|0;return[0,dY(x),e]},ql=function(x,r,e){var t=Kd(x,e),u=Kd(x,r);return[0,x[1],u,t]},m2=function(x,r){return Kd(x,r[6])},pe=function(x,r){return Kd(x,r[3])},Yr=function(x,r){return ql(x,r[6],r[3])},WY=function(x,r){var e=0;if(typeof r=="number")e=1;else switch(r[0]){case 2:var t=r[1][1];break;case 3:return r[1][1];case 4:var t=r[1];break;case 5:return r[1];case 8:var t=r[2];break;case 9:return r[1];case 10:return r[1];default:e=1}return e?Yr(x,x[2]):t},k2=function(x,r,e){return[0,x[1],x[2],x[3],x[4],x[5],[0,[0,r,e],x[6]],x[7]]},VY=function(x,r,e){return k2(x,r,[23,pd(e)])},qR=function(x,r,e,t){return k2(x,r,[24,e,t])},ot=function(x,r){return k2(x,r,Zc0)},Y2=function(x,r){var e=r[3],t=[0,dY(x)+1|0,e];return[0,x[1],x[2],t,x[4],x[5],x[6],x[7]]},Jt=function(x,r,e,t,u){var i=[0,x[1],r,e],f=z1(t),o=u?0:1;return[0,i,[0,o,f,x[7][3][1]>>0)var a=w(t);else switch(o){case 0:var a=2;break;case 1:for(;;){r0(t,3);var y=m(t),h=-1>>0)return Rx(Kc0);switch(a){case 0:var g=$Y(i,e,t,2,0),I=g[1],C=it(Zx(Jc0,g[2])),R=0<=C?1:0,L=R&&(C<=55295?1:0);if(L)var B=L;else var U=57344<=C?1:0,B=U&&(C<=c5?1:0);var X=B?ZY(i,I,C):k2(i,I,32);qc(u,C);var i=X;continue;case 1:var J=$Y(i,e,t,3,1),e0=J[1],i0=it(Zx(Yc0,J[2])),j=ZY(i,e0,i0);qc(u,i0);var i=j;continue;case 2:return[0,i,z1(u)];default:od(t,u);continue}}},N1=function(x,r,e){var t=ot(x,Yr(x,r));return $a(r),p(e,t,r)},Jv=function(x,r,e){for(var t=x;;){pr(e);var u=m(e),i=-1>>0)var f=w(e);else switch(i){case 0:for(;;){r0(e,3);var o=m(e),a=-1>>0){var k=ot(t,Yr(t,e));return[0,k,pe(k,e)]}switch(f){case 0:var A=Y2(t,e);od(e,r);var t=A;continue;case 1:var g=t[4]?qR(t,Yr(t,e),Ct0,Pt0):t;return[0,g,pe(g,e)];case 2:if(t[4])return[0,t,pe(t,e)];vr(r,Rt0);continue;default:od(e,r);continue}}},Ga=function(x,r,e){for(;;){pr(e);var t=m(e),u=13>>0)var i=w(e);else switch(u){case 0:var i=0;break;case 1:for(;;){r0(e,2);var f=m(e),o=-1>>0)return Rx(Ot0);switch(i){case 0:return[0,x,pe(x,e)];case 1:var a=pe(x,e),y=a[2],h=a[1],k=Y2(x,e);return[0,k,[0,h,y-sd(e)|0]];default:od(e,r);continue}}},QY=function(x,r){function e(e0){return r0(e0,3),J2(m(e0))===0?2:w(e0)}pr(r);var t=m(r),u=Ef>>0)var i=w(r);else switch(u){case 0:var i=0;break;case 1:var i=16;break;case 2:var i=15;break;case 3:r0(r,15);var i=le(m(r))===0?15:w(r);break;case 4:r0(r,4);var i=J2(m(r))===0?e(r):w(r);break;case 5:r0(r,11);var i=J2(m(r))===0?e(r):w(r);break;case 6:var i=0;break;case 7:var i=5;break;case 8:var i=6;break;case 9:var i=7;break;case 10:var i=8;break;case 11:var i=9;break;case 12:r0(r,14);var f=Kv(m(r));if(f===0)var i=Ir(m(r))===0&&Ir(m(r))===0&&Ir(m(r))===0?12:w(r);else if(f===1&&Ir(m(r))===0)for(;;){var o=zv(m(r));if(o!==0){var i=o===1?13:w(r);break}}else var i=w(r);break;case 13:var i=10;break;default:r0(r,14);var i=Ir(m(r))===0&&Ir(m(r))===0?1:w(r)}if(16>>0)return Rx(Ac0);switch(i){case 0:var a=Kx(r);return[0,x,a,n1(r),0];case 1:var y=Kx(r);return[0,x,y,[0,it(Zx(gc0,y))],0];case 2:var h=Kx(r),k=it(Zx(Nc0,h));return yv<=k?[0,x,h,[0,k>>>3|0,48+(k&7)|0],1]:[0,x,h,[0,k],1];case 3:var A=Kx(r);return[0,x,A,[0,it(Zx(Ic0,A))],1];case 4:return[0,x,Pc0,[0,0],0];case 5:return[0,x,Cc0,[0,8],0];case 6:return[0,x,Rc0,[0,12],0];case 7:return[0,x,Oc0,[0,10],0];case 8:return[0,x,Lc0,[0,13],0];case 9:return[0,x,Uc0,[0,9],0];case 10:return[0,x,Mc0,[0,11],0];case 11:var g=Kx(r);return[0,x,g,[0,it(Zx(Dc0,g))],1];case 12:var I=Kx(r);return[0,x,I,[0,it(Zx(jc0,z2(I,1,Gx(I)-1|0)))],0];case 13:var C=Kx(r),R=it(Zx(zc0,z2(C,2,Gx(C)-3|0))),L=c5>>0)var h=w(i);else switch(y){case 0:var h=3;break;case 1:for(;;){r0(i,4);var k=m(i),A=-1>>0)return Rx(Lt0);switch(h){case 0:var g=Kx(i);if(vr(t,g),Nr(r,g))return[0,f,pe(f,i),o];vr(e,g);continue;case 1:vr(t,Ut0);var I=QY(f,i),C=I[4],R=I[3],L=I[2],U=I[1],B=C||o;vr(t,L),GK(function(f0){return qc(e,f0)},R);var f=U,o=B;continue;case 2:var X=Kx(i);vr(t,X);var J=Y2(ot(f,Yr(f,i)),i);return vr(e,X),[0,J,pe(J,i),o];case 3:var e0=Kx(i);vr(t,e0);var i0=ot(f,Yr(f,i));return vr(e,e0),[0,i0,pe(i0,i),o];default:var j=i[6],Y=i[3]-j|0,z=g1(Y*4|0),F=Wl(i[1],j,Y,z);cR(t,z,0,F),cR(e,z,0,F);continue}}},qY=function(x,r,e,t){for(var u=x;;){pr(t);var i=m(t),f=96>>0)var o=w(t);else switch(f){case 0:var o=0;break;case 1:for(;;){r0(t,6);var a=m(t),y=-1>>0)return Rx(Mt0);switch(o){case 0:return[0,ot(u,Yr(u,t)),1];case 1:return[0,u,1];case 2:return[0,u,0];case 3:ct(e,92);var A=QY(u,t),g=A[3],I=A[1];vr(e,A[2]),GK(function(L){return qc(r,L)},g);var u=I;continue;case 4:vr(e,Dt0),vr(r,jt0);var u=Y2(u,t);continue;case 5:vr(e,Kx(t)),ct(r,10);var u=Y2(u,t);continue;default:var C=Kx(t);vr(e,C),vr(r,C);continue}}},BT0=function(x,r){function e(_){for(;;)if(r0(_,33),ar(m(_))!==0)return w(_)}function t(_){r0(_,32);var b=L1(m(_));if(b!==0)return b===1?e(_):w(_);for(;;)if(r0(_,30),ar(m(_))!==0)return w(_)}function u(_){r0(_,31);var b=L1(m(_));if(b!==0)return b===1?e(_):w(_);for(;;)if(r0(_,29),ar(m(_))!==0)return w(_)}function i(_){r0(_,34);var b=Qa(m(_));if(2>>0)return w(_);switch(b){case 0:return e(_);case 1:for(;;){r0(_,34);var x0=rs(m(_));if(3>>0)return w(_);switch(x0){case 0:return e(_);case 1:continue;case 2:x:for(;;){if(yr(m(_))!==0)return w(_);for(;;){r0(_,34);var S0=rs(m(_));if(3>>0)return w(_);switch(S0){case 0:return e(_);case 1:continue;case 2:continue x;default:return u(_)}}}default:return u(_)}}default:return u(_)}}function f(_){x:for(;;){if(yr(m(_))!==0)return w(_);for(;;){r0(_,34);var b=UY(m(_));if(4>>0)return w(_);switch(b){case 0:return e(_);case 1:return i(_);case 2:continue;case 3:continue x;default:return t(_)}}}}function o(_){for(;;)if(r0(_,23),ar(m(_))!==0)return w(_)}function a(_){for(;;)if(r0(_,23),ar(m(_))!==0)return w(_)}function y(_){for(;;)if(r0(_,15),ar(m(_))!==0)return w(_)}function h(_){for(;;)if(r0(_,15),ar(m(_))!==0)return w(_)}function k(_){for(;;)if(r0(_,11),ar(m(_))!==0)return w(_)}function A(_){for(;;)if(r0(_,11),ar(m(_))!==0)return w(_)}function g(_){for(;;)if(r0(_,17),ar(m(_))!==0)return w(_)}function I(_){for(;;)if(r0(_,17),ar(m(_))!==0)return w(_)}function C(_){for(;;)if(r0(_,19),ar(m(_))!==0)return w(_)}function R(_){for(;;)if(r0(_,27),ar(m(_))!==0)return w(_)}function L(_){r0(_,26);var b=L1(m(_));if(b!==0)return b===1?R(_):w(_);for(;;)if(r0(_,25),ar(m(_))!==0)return w(_)}function U(_){for(;;)if(r0(_,27),ar(m(_))!==0)return w(_)}function B(_){r0(_,26);var b=L1(m(_));if(b!==0)return b===1?U(_):w(_);for(;;)if(r0(_,25),ar(m(_))!==0)return w(_)}function X(_){x:for(;;){if(yr(m(_))!==0)return w(_);for(;;){r0(_,28);var b=rs(m(_));if(3>>0)return w(_);switch(b){case 0:return U(_);case 1:continue;case 2:continue x;default:return B(_)}}}}function J(_){r0(_,33);var b=DY(m(_));if(3>>0)return w(_);switch(b){case 0:return e(_);case 1:var x0=go(m(_));if(x0===0)for(;;){r0(_,28);var S0=Qa(m(_));if(2>>0)return w(_);switch(S0){case 0:return U(_);case 1:continue;default:return B(_)}}if(x0!==1)return w(_);for(;;){r0(_,28);var H=rs(m(_));if(3>>0)return w(_);switch(H){case 0:return U(_);case 1:continue;case 2:return X(_);default:return B(_)}}case 2:for(;;){r0(_,28);var h0=Qa(m(_));if(2>>0)return w(_);switch(h0){case 0:return R(_);case 1:continue;default:return L(_)}}default:for(;;){r0(_,28);var Y0=rs(m(_));if(3>>0)return w(_);switch(Y0){case 0:return R(_);case 1:continue;case 2:return X(_);default:return L(_)}}}}function e0(_){r0(_,34);var b=AY(m(_));if(3>>0)return w(_);switch(b){case 0:return e(_);case 1:for(;;){r0(_,34);var x0=No(m(_));if(4>>0)return w(_);switch(x0){case 0:return e(_);case 1:continue;case 2:return J(_);case 3:x:for(;;){if(yr(m(_))!==0)return w(_);for(;;){r0(_,34);var S0=No(m(_));if(4>>0)return w(_);switch(S0){case 0:return e(_);case 1:continue;case 2:return J(_);case 3:continue x;default:return u(_)}}}default:return u(_)}}case 2:return J(_);default:return u(_)}}function i0(_){return Rd(m(_))===0&&Nd(m(_))===0&&zY(m(_))===0&&NY(m(_))===0&&IY(m(_))===0&&HR(m(_))===0&&Ql(m(_))===0&&Rd(m(_))===0&&Co(m(_))===0&&PY(m(_))===0&&Hl(m(_))===0?3:w(_)}function j(_){return r0(_,3),YY(m(_))===0?3:w(_)}function Y(_){var b=KT0(m(_));if(36>>0)return w(_);switch(b){case 0:return 98;case 1:return 99;case 2:if(r0(_,1),bc(m(_))!==0)return w(_);for(;;)if(r0(_,1),bc(m(_))!==0)return w(_);case 3:return 0;case 4:return r0(_,0),le(m(_))===0?0:w(_);case 5:return r0(_,88),_n(m(_))===0?(r0(_,58),_n(m(_))===0?54:w(_)):w(_);case 6:return 7;case 7:r0(_,95);var x0=m(_),S0=32>>0)return w(_);switch(Y0){case 0:return r0(_,83),_n(m(_))===0?70:w(_);case 1:return 4;default:return 69}case 14:r0(_,80);var U0=m(_),tx=42>>0)return w(_);switch(Vx){case 0:return e(_);case 1:continue;case 2:return J(_);case 3:x:for(;;){if(yr(m(_))!==0)return w(_);for(;;){r0(_,34);var er=No(m(_));if(4>>0)return w(_);switch(er){case 0:return e(_);case 1:continue;case 2:return J(_);case 3:continue x;default:return u(_)}}}default:return u(_)}}case 18:r0(_,93);var Jx=gY(m(_));if(2>>0)return w(_);switch(Jx){case 0:r0(_,2);var Or=wd(m(_));if(2>>0)return w(_);switch(Or){case 0:for(;;){var Xx=wd(m(_));if(2>>0)return w(_);switch(Xx){case 0:continue;case 1:return j(_);default:return i0(_)}}case 1:return j(_);default:return i0(_)}case 1:return 5;default:return 92}case 19:r0(_,34);var X2=RY(m(_));if(8>>0)return w(_);switch(X2){case 0:return e(_);case 1:return e0(_);case 2:for(;;){r0(_,20);var at=jY(m(_));if(4>>0)return w(_);switch(at){case 0:return C(_);case 1:return i(_);case 2:continue;case 3:for(;;){r0(_,18);var de=_d(m(_));if(3>>0)return w(_);switch(de){case 0:return I(_);case 1:return i(_);case 2:continue;default:r0(_,17);var En=L1(m(_));if(En!==0)return En===1?I(_):w(_);for(;;)if(r0(_,17),ar(m(_))!==0)return w(_)}}default:r0(_,19);var ro=L1(m(_));if(ro!==0)return ro===1?C(_):w(_);for(;;)if(r0(_,19),ar(m(_))!==0)return w(_)}}case 3:for(;;){r0(_,18);var An=_d(m(_));if(3>>0)return w(_);switch(An){case 0:return g(_);case 1:return i(_);case 2:continue;default:r0(_,17);var fs=L1(m(_));if(fs!==0)return fs===1?g(_):w(_);for(;;)if(r0(_,17),ar(m(_))!==0)return w(_)}}case 4:r0(_,33);var me=CY(m(_));if(me===0)return e(_);if(me!==1)return w(_);for(;;){r0(_,12);var gn=Dd(m(_));if(3>>0)return w(_);switch(gn){case 0:return A(_);case 1:continue;case 2:x:for(;;){if(xs(m(_))!==0)return w(_);for(;;){r0(_,12);var re=Dd(m(_));if(3>>0)return w(_);switch(re){case 0:return k(_);case 1:continue;case 2:continue x;default:r0(_,10);var Vt=L1(m(_));if(Vt!==0)return Vt===1?k(_):w(_);for(;;)if(r0(_,9),ar(m(_))!==0)return w(_)}}}default:r0(_,10);var dr=L1(m(_));if(dr!==0)return dr===1?A(_):w(_);for(;;)if(r0(_,9),ar(m(_))!==0)return w(_)}}case 5:return J(_);case 6:r0(_,33);var Zt=OY(m(_));if(Zt===0)return e(_);if(Zt!==1)return w(_);for(;;){r0(_,16);var Nn=Ud(m(_));if(3>>0)return w(_);switch(Nn){case 0:return h(_);case 1:continue;case 2:x:for(;;){if(J2(m(_))!==0)return w(_);for(;;){r0(_,16);var Hv=Ud(m(_));if(3>>0)return w(_);switch(Hv){case 0:return y(_);case 1:continue;case 2:continue x;default:r0(_,14);var ke=L1(m(_));if(ke!==0)return ke===1?y(_):w(_);for(;;)if(r0(_,13),ar(m(_))!==0)return w(_)}}}default:r0(_,14);var lt=L1(m(_));if(lt!==0)return lt===1?h(_):w(_);for(;;)if(r0(_,13),ar(m(_))!==0)return w(_)}}case 7:r0(_,33);var Ko=wY(m(_));if(Ko===0)return e(_);if(Ko!==1)return w(_);for(;;){r0(_,24);var eo=jd(m(_));if(3>>0)return w(_);switch(eo){case 0:return a(_);case 1:continue;case 2:x:for(;;){if(Ir(m(_))!==0)return w(_);for(;;){r0(_,24);var a2=jd(m(_));if(3>>0)return w(_);switch(a2){case 0:return o(_);case 1:continue;case 2:continue x;default:r0(_,22);var to=L1(m(_));if(to!==0)return to===1?o(_):w(_);for(;;)if(r0(_,21),ar(m(_))!==0)return w(_)}}}default:r0(_,22);var In=L1(m(_));if(In!==0)return In===1?a(_):w(_);for(;;)if(r0(_,21),ar(m(_))!==0)return w(_)}}default:return t(_)}case 20:r0(_,34);var pt=Sd(m(_));if(5>>0)return w(_);switch(pt){case 0:return e(_);case 1:return e0(_);case 2:for(;;){r0(_,34);var Jo=Sd(m(_));if(5>>0)return w(_);switch(Jo){case 0:return e(_);case 1:return e0(_);case 2:continue;case 3:return J(_);case 4:return f(_);default:return t(_)}}case 3:return J(_);case 4:return f(_);default:return t(_)}case 21:return 46;case 22:return 44;case 23:r0(_,78);var no=m(_),qv=59>>0)return Rx(wc0);var F=z;if(50>F)switch(F){case 0:return[2,Y2(x,r)];case 1:return[2,x];case 2:var t0=m2(x,r),$=Zr(Jr),f0=Jv(x,$,r),c0=f0[1];return[1,c0,Jt(c0,t0,f0[2],$,1)];case 3:var v0=Kx(r);if(!x[5]){var s0=m2(x,r),o0=Zr(Jr);vr(o0,z2(v0,2,Gx(v0)-2|0));var E0=Jv(x,o0,r),k0=E0[1];return[1,k0,Jt(k0,s0,E0[2],o0,1)]}var M0=x[4]?VY(x,Yr(x,r),v0):x,D0=ld(1,M0),cx=sd(r);return Nr(Vl(r,cx-1|0,1),Nv)&&N(Vl(r,cx-2|0,1),Nv)?[0,D0,86]:[2,D0];case 4:if(x[4])return[2,ld(0,x)];$a(r),pr(r);var g0=EY(m(r))===0?0:w(r);return g0===0?[0,x,_1]:Rx(Tc0);case 5:var Z0=m2(x,r),n0=Zr(Jr),nx=Ga(x,n0,r),xx=nx[1];return[1,xx,Jt(xx,Z0,nx[2],n0,0)];case 6:if(r[6]!==0)return[0,x,Sc0];var yx=m2(x,r),px=Zr(Jr),Tx=Ga(x,px,r),O0=Tx[1],P0=[0,O0[1],yx,Tx[2]];return[0,O0,[6,P0,z1(px)]];case 7:var N0=Kx(r),J0=m2(x,r),I0=Zr(Jr),Q=Zr(Jr);vr(Q,N0);var G=HY(x,N0,I0,Q,0,r),V=G[1],l0=G[3],d0=[0,V[1],J0,G[2]],A0=z1(Q);return[0,V,[2,[0,d0,z1(I0),A0,l0]]];case 8:var M=Zr(Jr),L0=Zr(Jr),V0=m2(x,r),B0=qY(x,M,L0,r),vx=B0[1],b0=B0[2],hx=pe(vx,r),W0=[0,vx[1],V0,hx],T=z1(L0);return[0,vx,[3,[0,W0,z1(M),T,1,b0]]];case 9:return N1(x,r,function(_,b){if(pr(b),ae(m(b))===0&&Ad(m(b))===0&&xs(m(b))===0)for(;;){var x0=kd(m(b));if(2>>0)var h0=w(b);else switch(x0){case 0:continue;case 1:x:for(;;){if(xs(m(b))===0)for(;;){var S0=kd(m(b));if(2>>0)var H=w(b);else switch(S0){case 0:continue;case 1:continue x;default:var H=0}break}else var H=w(b);var h0=H;break}break;default:var h0=0}break}else var h0=w(b);return h0===0?[0,_,[1,0,Kx(b)]]:Rx(_c0)});case 10:return[0,x,[1,0,Kx(r)]];case 11:return N1(x,r,function(_,b){if(pr(b),ae(m(b))===0&&Ad(m(b))===0&&xs(m(b))===0)for(;;){r0(b,0);var x0=md(m(b));if(x0!==0){if(x0===1)x:for(;;){if(xs(m(b))===0)for(;;){r0(b,0);var S0=md(m(b));if(S0!==0){if(S0===1)continue x;var H=w(b);break}}else var H=w(b);var h0=H;break}else var h0=w(b);break}}else var h0=w(b);return h0===0?[0,_,[0,0,Kx(b)]]:Rx(hc0)});case 12:return[0,x,[0,0,Kx(r)]];case 13:return N1(x,r,function(_,b){if(pr(b),ae(m(b))===0&&Pd(m(b))===0&&J2(m(b))===0)for(;;){var x0=Ed(m(b));if(2>>0)var h0=w(b);else switch(x0){case 0:continue;case 1:x:for(;;){if(J2(m(b))===0)for(;;){var S0=Ed(m(b));if(2>>0)var H=w(b);else switch(S0){case 0:continue;case 1:continue x;default:var H=0}break}else var H=w(b);var h0=H;break}break;default:var h0=0}break}else var h0=w(b);return h0===0?[0,_,[1,1,Kx(b)]]:Rx(kc0)});case 14:return[0,x,[1,1,Kx(r)]];case 15:return N1(x,r,function(_,b){if(pr(b),ae(m(b))===0&&Pd(m(b))===0&&J2(m(b))===0)for(;;){r0(b,0);var x0=Td(m(b));if(x0!==0){if(x0===1)x:for(;;){if(J2(m(b))===0)for(;;){r0(b,0);var S0=Td(m(b));if(S0!==0){if(S0===1)continue x;var H=w(b);break}}else var H=w(b);var h0=H;break}else var h0=w(b);break}}else var h0=w(b);return h0===0?[0,_,[0,3,Kx(b)]]:Rx(mc0)});case 16:return[0,x,[0,3,Kx(r)]];case 17:return N1(x,r,function(_,b){if(pr(b),ae(m(b))===0)for(;;){var x0=m(b),S0=47>>0)var h0=w(b);else switch(x0){case 0:continue;case 1:x:for(;;){if(Ir(m(b))===0)for(;;){var S0=hd(m(b));if(2>>0)var H=w(b);else switch(S0){case 0:continue;case 1:continue x;default:var H=0}break}else var H=w(b);var h0=H;break}break;default:var h0=0}break}else var h0=w(b);return h0===0?[0,_,[1,2,Kx(b)]]:Rx(pc0)});case 22:return[0,x,[1,2,Kx(r)]];case 23:return N1(x,r,function(_,b){if(pr(b),ae(m(b))===0&&yd(m(b))===0&&Ir(m(b))===0)for(;;){r0(b,0);var x0=Od(m(b));if(x0!==0){if(x0===1)x:for(;;){if(Ir(m(b))===0)for(;;){r0(b,0);var S0=Od(m(b));if(S0!==0){if(S0===1)continue x;var H=w(b);break}}else var H=w(b);var h0=H;break}else var h0=w(b);break}}else var h0=w(b);return h0===0?[0,_,[0,4,Kx(b)]]:Rx(lc0)});case 24:return[0,x,[0,4,Kx(r)]];case 25:return N1(x,r,function(_,b){function x0(Jx){for(;;){var Or=zt(m(Jx));if(2>>0)return w(Jx);switch(Or){case 0:continue;case 1:x:for(;;){if(yr(m(Jx))!==0)return w(Jx);for(;;){var Xx=zt(m(Jx));if(2>>0)return w(Jx);switch(Xx){case 0:continue;case 1:continue x;default:return 0}}}default:return 0}}}function S0(Jx){for(;;){var Or=Ha(m(Jx));if(Or!==0)return Or===1?0:w(Jx)}}function H(Jx){var Or=zd(m(Jx));if(2>>0)return w(Jx);switch(Or){case 0:var Xx=go(m(Jx));return Xx===0?S0(Jx):Xx===1?x0(Jx):w(Jx);case 1:return S0(Jx);default:return x0(Jx)}}function h0(Jx){var Or=Cd(m(Jx));if(Or!==0)return Or===1?H(Jx):w(Jx);for(;;){var Xx=G2(m(Jx));if(2>>0)return w(Jx);switch(Xx){case 0:continue;case 1:return H(Jx);default:x:for(;;){if(yr(m(Jx))!==0)return w(Jx);for(;;){var X2=G2(m(Jx));if(2>>0)return w(Jx);switch(X2){case 0:continue;case 1:return H(Jx);default:continue x}}}}}}pr(b);var Y0=Ao(m(b));if(2>>0)var U0=w(b);else switch(Y0){case 0:if(yr(m(b))===0)for(;;){var tx=G2(m(b));if(2>>0)var U0=w(b);else switch(tx){case 0:continue;case 1:var U0=H(b);break;default:x:for(;;){if(yr(m(b))===0)for(;;){var Wx=G2(m(b));if(2>>0)var Lx=w(b);else switch(Wx){case 0:continue;case 1:var Lx=H(b);break;default:continue x}break}else var Lx=w(b);var U0=Lx;break}}break}else var U0=w(b);break;case 1:var ur=dd(m(b)),U0=ur===0?h0(b):ur===1?H(b):w(b);break;default:for(;;){var Vx=Id(m(b));if(2>>0)var U0=w(b);else switch(Vx){case 0:var U0=h0(b);break;case 1:continue;default:var U0=H(b)}break}}if(U0!==0)return Rx(ac0);var er=k2(_,Yr(_,b),47);return[0,er,[1,2,Kx(b)]]});case 26:var K=k2(x,Yr(x,r),47);return[0,K,[1,2,Kx(r)]];case 27:return N1(x,r,function(_,b){function x0(er){for(;;){r0(er,0);var Jx=Io(m(er));if(Jx!==0){if(Jx!==1)return w(er);x:for(;;){if(yr(m(er))!==0)return w(er);for(;;){r0(er,0);var Or=Io(m(er));if(Or!==0){if(Or===1)continue x;return w(er)}}}}}}function S0(er){for(;;)if(r0(er,0),yr(m(er))!==0)return w(er)}function H(er){var Jx=zd(m(er));if(2>>0)return w(er);switch(Jx){case 0:var Or=go(m(er));return Or===0?S0(er):Or===1?x0(er):w(er);case 1:return S0(er);default:return x0(er)}}function h0(er){var Jx=Cd(m(er));if(Jx!==0)return Jx===1?H(er):w(er);for(;;){var Or=G2(m(er));if(2>>0)return w(er);switch(Or){case 0:continue;case 1:return H(er);default:x:for(;;){if(yr(m(er))!==0)return w(er);for(;;){var Xx=G2(m(er));if(2>>0)return w(er);switch(Xx){case 0:continue;case 1:return H(er);default:continue x}}}}}}pr(b);var Y0=Ao(m(b));if(2>>0)var U0=w(b);else switch(Y0){case 0:if(yr(m(b))===0)for(;;){var tx=G2(m(b));if(2>>0)var U0=w(b);else switch(tx){case 0:continue;case 1:var U0=H(b);break;default:x:for(;;){if(yr(m(b))===0)for(;;){var Wx=G2(m(b));if(2>>0)var Lx=w(b);else switch(Wx){case 0:continue;case 1:var Lx=H(b);break;default:continue x}break}else var Lx=w(b);var U0=Lx;break}}break}else var U0=w(b);break;case 1:var ur=dd(m(b)),U0=ur===0?h0(b):ur===1?H(b):w(b);break;default:for(;;){var Vx=Id(m(b));if(2>>0)var U0=w(b);else switch(Vx){case 0:var U0=h0(b);break;case 1:continue;default:var U0=H(b)}break}}return U0===0?[0,_,[0,4,Kx(b)]]:Rx(vc0)});case 28:return[0,x,[0,4,Kx(r)]];case 29:return N1(x,r,function(_,b){function x0(ur){for(;;){var Vx=zt(m(ur));if(2>>0)return w(ur);switch(Vx){case 0:continue;case 1:x:for(;;){if(yr(m(ur))!==0)return w(ur);for(;;){var er=zt(m(ur));if(2>>0)return w(ur);switch(er){case 0:continue;case 1:continue x;default:return 0}}}default:return 0}}}function S0(ur){var Vx=Ha(m(ur));return Vx===0?x0(ur):Vx===1?0:w(ur)}pr(b);var H=Ao(m(b));if(2>>0)var h0=w(b);else switch(H){case 0:var h0=yr(m(b))===0?x0(b):w(b);break;case 1:for(;;){var Y0=qa(m(b));if(Y0===0)var h0=S0(b);else{if(Y0===1)continue;var h0=w(b)}break}break;default:for(;;){var U0=Po(m(b));if(2>>0)var h0=w(b);else switch(U0){case 0:var h0=S0(b);break;case 1:continue;default:x:for(;;){if(yr(m(b))===0)for(;;){var tx=Po(m(b));if(2>>0)var Wx=w(b);else switch(tx){case 0:var Wx=S0(b);break;case 1:continue;default:continue x}break}else var Wx=w(b);var h0=Wx;break}}break}}if(h0!==0)return Rx(oc0);var Lx=k2(_,Yr(_,b),38);return[0,Lx,[1,2,Kx(b)]]});case 30:return N1(x,r,function(_,b){pr(b);var x0=go(m(b));if(x0===0)for(;;){var S0=Ha(m(b));if(S0!==0){var U0=S0===1?0:w(b);break}}else if(x0===1)for(;;){var H=zt(m(b));if(2>>0)var U0=w(b);else switch(H){case 0:continue;case 1:x:for(;;){if(yr(m(b))===0)for(;;){var h0=zt(m(b));if(2>>0)var Y0=w(b);else switch(h0){case 0:continue;case 1:continue x;default:var Y0=0}break}else var Y0=w(b);var U0=Y0;break}break;default:var U0=0}break}else var U0=w(b);return U0===0?[0,_,[1,2,Kx(b)]]:Rx(sc0)});case 31:var H0=k2(x,Yr(x,r),38);return[0,H0,[1,2,Kx(r)]];case 32:return[0,x,[1,2,Kx(r)]];case 33:return N1(x,r,function(_,b){function x0(Lx){for(;;){r0(Lx,0);var ur=Io(m(Lx));if(ur!==0){if(ur!==1)return w(Lx);x:for(;;){if(yr(m(Lx))!==0)return w(Lx);for(;;){r0(Lx,0);var Vx=Io(m(Lx));if(Vx!==0){if(Vx===1)continue x;return w(Lx)}}}}}}function S0(Lx){return r0(Lx,0),yr(m(Lx))===0?x0(Lx):w(Lx)}pr(b);var H=Ao(m(b));if(2>>0)var h0=w(b);else switch(H){case 0:var h0=yr(m(b))===0?x0(b):w(b);break;case 1:for(;;){r0(b,0);var Y0=qa(m(b));if(Y0===0)var h0=S0(b);else{if(Y0===1)continue;var h0=w(b)}break}break;default:for(;;){r0(b,0);var U0=Po(m(b));if(2>>0)var h0=w(b);else switch(U0){case 0:var h0=S0(b);break;case 1:continue;default:x:for(;;){if(yr(m(b))===0)for(;;){r0(b,0);var tx=Po(m(b));if(2>>0)var Wx=w(b);else switch(tx){case 0:var Wx=S0(b);break;case 1:continue;default:continue x}break}else var Wx=w(b);var h0=Wx;break}}break}}return h0===0?[0,_,[0,4,Kx(b)]]:Rx(cc0)});case 34:return[0,x,[0,4,Kx(r)]];case 35:var sx=Yr(x,r),ux=Kx(r);return[0,x,[4,sx,ux,ux]];case 36:return[0,x,0];case 37:return[0,x,1];case 38:return[0,x,4];case 39:return[0,x,5];case 40:return[0,x,6];case 41:return[0,x,7];case 42:return[0,x,12];case 43:return[0,x,10];case 44:return[0,x,8];case 45:return[0,x,9];case 46:return[0,x,86];case 47:$a(r),pr(r);var z0=m(r),Px=62=rr)return[0,x,18];var zx=Ex(j0,Ia);if(0<=zx){if(0>=zx)return[0,x,51];var X0=Ex(j0,ws);if(0<=X0){if(0>=X0)return[0,x,46];if(!N(j0,sl))return[0,x,24];if(!N(j0,gs))return[0,x,47];if(!N(j0,Mp))return[0,x,25];if(!N(j0,ap))return[0,x,26];if(!N(j0,U2))return[0,x,58]}else{if(!N(j0,Ke))return[0,x,20];if(!N(j0,fv))return[0,x,21];if(!N(j0,ze))return[0,x,22];if(!N(j0,Ts))return[0,x,31];if(!N(j0,ny))return[0,x,23];if(!N(j0,bu))return[0,x,61]}}else{var ir=Ex(j0,Zp);if(0<=ir){if(0>=ir)return[0,x,54];if(!N(j0,kl))return[0,x,55];if(!N(j0,W3))return[0,x,56];if(!N(j0,j3))return[0,x,57];if(!N(j0,Me))return[0,x,19];if(!N(j0,De))return[0,x,42]}else{if(!N(j0,F2))return[0,x,53];if(!N(j0,ya))return[0,x,28];if(!N(j0,iv))return[0,x,44];if(!N(j0,lv))return[0,x,29];if(!N(j0,Yh))return[0,x,63];if(!N(j0,Rh))return[0,x,62]}}}else{var K0=Ex(j0,W5);if(0<=K0){if(0>=K0)return[0,x,37];var Sr=Ex(j0,d8);if(0<=Sr){if(0>=Sr)return[0,x,39];if(!N(j0,la))return[0,x,15];if(!N(j0,Hp))return[0,x,16];if(!N(j0,dv))return[0,x,52];if(!N(j0,R2))return[0,x,50];if(!N(j0,mo))return[0,x,17]}else{if(!N(j0,Rp))return[0,x,43];if(!N(j0,cl))return[0,x,48];if(!N(j0,r8))return[0,x,49];if(!N(j0,Ic))return[0,x,41];if(!N(j0,As))return[0,x,30];if(!N(j0,gp))return[0,x,38]}}else{var Dr=Ex(j0,nl);if(0<=Dr){if(0>=Dr)return[0,x,27];if(!N(j0,Ce))return[0,x,35];if(!N(j0,Re))return[0,x,59];if(!N(j0,Q3))return[0,x,60];if(!N(j0,cv))return[0,x,36];if(!N(j0,el))return[0,x,45]}else{if(!N(j0,ko))return[0,x,64];if(!N(j0,_v))return[0,x,65];if(!N(j0,Le))return[0,x,32];if(!N(j0,Jp))return[0,x,33];if(!N(j0,W8))return[0,x,34];if(!N(j0,Y3))return[0,x,40]}}}var ax=n1(r),br=FY(x,ax),t2=br[2],k1=br[1];return[0,k1,[4,Qx,t2,Zl(ax)]];case 98:var Rr=x[4]?k2(x,Yr(x,r),95):x;return[0,Rr,Er];default:var U1=ot(x,Yr(x,r));return[0,U1,[7,Kx(r)]]}},XT0=function(x,r,e){var t=x;x:for(;;){pr(e);var u=m(e),i=92>>0)var f=w(e);else switch(i){case 0:var f=0;break;case 1:for(;;){r0(e,7);var o=m(e),a=-1>>0)var f=w(e);else switch(h){case 0:var f=2;break;case 1:var f=1;break;default:r0(e,1);var f=le(m(e))===0?1:w(e)}}if(7>>0)return Rx(Jt0);switch(f){case 0:return[0,k2(t,Yr(t,e),Er),Yt0];case 1:return[0,Y2(k2(t,Yr(t,e),Er),e),Bt0];case 2:vr(r,Kx(e));continue;case 3:var k=Kx(e);return[0,t,z2(k,1,Gx(k)-1|0)];case 4:return[0,t,Xt0];case 5:for(ct(r,91);;){pr(e);var A=m(e),g=93>>0)var I=w(e);else switch(g){case 0:var I=0;break;case 1:for(;;){r0(e,5);var C=m(e),R=-1>>0)var B=Rx(zt0);else switch(I){case 0:var B=t;break;case 1:vr(r,Kt0);continue;case 2:ct(r,92),ct(r,93);continue;case 3:ct(r,93);var B=t;break;case 4:var B=Y2(k2(t,Yr(t,e),Er),e);break;default:vr(r,Kx(e));continue}var t=B;continue x}case 6:return[0,Y2(k2(t,Yr(t,e),Er),e),Wt0];default:vr(r,Kx(e));continue}}},WT0=function(x,r){pr(r);var e=m(r),t=Av>>0)var u=w(r);else switch(t){case 0:var u=0;break;case 1:var u=6;break;case 2:if(r0(r,2),bc(m(r))===0){for(;;)if(r0(r,2),bc(m(r))!==0){var u=w(r);break}}else var u=w(r);break;case 3:var u=1;break;case 4:r0(r,1);var u=le(m(r))===0?1:w(r);break;default:r0(r,5);var i=Md(m(r)),u=i===0?4:i===1?3:w(r)}if(6>>0)return Rx(fc0);switch(u){case 0:return[0,x,Er];case 1:return[2,Y2(x,r)];case 2:return[2,x];case 3:var f=m2(x,r),o=Zr(Jr),a=Ga(x,o,r),y=a[1];return[1,y,Jt(y,f,a[2],o,0)];case 4:var h=m2(x,r),k=Zr(Jr),A=Jv(x,k,r),g=A[1];return[1,g,Jt(g,h,A[2],k,1)];case 5:var I=m2(x,r),C=Zr(Jr),R=XT0(x,C,r),L=R[1],U=R[2],B=pe(L,r),X=[0,L[1],I,B];return[0,L,[5,X,z1(C),U]];default:var J=ot(x,Yr(x,r));return[0,J,[7,Kx(r)]]}},GY=function(x){var r=Ex(x,"iexcl");if(0<=r){if(0>=r)return ic0;var e=Ex(x,"prime");if(0<=e){if(0>=e)return uc0;var t=Ex(x,"sup1");if(0<=t){if(0>=t)return nc0;var u=Ex(x,"uarr");if(0<=u){if(0>=u)return tc0;var i=Ex(x,"xi");if(0<=i){if(0>=i)return ec0;if(!N(x,"yacute"))return rc0;if(!N(x,"yen"))return xc0;if(!N(x,"yuml"))return bf0;if(!N(x,"zeta"))return Gf0;if(!N(x,"zwj"))return qf0;if(!N(x,"zwnj"))return Hf0}else{if(!N(x,"ucirc"))return Qf0;if(!N(x,"ugrave"))return Ff0;if(!N(x,"uml"))return $f0;if(!N(x,"upsih"))return Zf0;if(!N(x,"upsilon"))return Vf0;if(!N(x,"uuml"))return Wf0;if(!N(x,"weierp"))return Xf0}}else{var f=Ex(x,"thetasym");if(0<=f){if(0>=f)return Bf0;if(!N(x,"thinsp"))return Yf0;if(!N(x,"thorn"))return Jf0;if(!N(x,"tilde"))return Kf0;if(!N(x,"times"))return zf0;if(!N(x,"trade"))return jf0;if(!N(x,"uArr"))return Df0;if(!N(x,"uacute"))return Mf0}else{if(!N(x,"sup2"))return Uf0;if(!N(x,"sup3"))return Lf0;if(!N(x,"supe"))return Of0;if(!N(x,"szlig"))return Rf0;if(!N(x,"tau"))return Cf0;if(!N(x,"there4"))return Pf0;if(!N(x,"theta"))return If0}}}else{var o=Ex(x,"rlm");if(0<=o){if(0>=o)return Nf0;var a=Ex(x,"sigma");if(0<=a){if(0>=a)return gf0;if(!N(x,"sigmaf"))return Af0;if(!N(x,"sim"))return Ef0;if(!N(x,"spades"))return Sf0;if(!N(x,"sub"))return Tf0;if(!N(x,"sube"))return wf0;if(!N(x,"sum"))return _f0;if(!N(x,"sup"))return hf0}else{if(!N(x,"rsaquo"))return kf0;if(!N(x,"rsquo"))return mf0;if(!N(x,"sbquo"))return df0;if(!N(x,"scaron"))return yf0;if(!N(x,"sdot"))return pf0;if(!N(x,"sect"))return lf0;if(!N(x,"shy"))return af0}}else{var y=Ex(x,"raquo");if(0<=y){if(0>=y)return vf0;if(!N(x,"rarr"))return of0;if(!N(x,"rceil"))return sf0;if(!N(x,"rdquo"))return cf0;if(!N(x,"real"))return ff0;if(!N(x,"reg"))return if0;if(!N(x,"rfloor"))return uf0;if(!N(x,"rho"))return nf0}else{if(!N(x,"prod"))return tf0;if(!N(x,"prop"))return ef0;if(!N(x,"psi"))return rf0;if(!N(x,"quot"))return xf0;if(!N(x,"rArr"))return bi0;if(!N(x,"radic"))return Gi0;if(!N(x,"rang"))return qi0}}}}else{var h=Ex(x,"ndash");if(0<=h){if(0>=h)return Hi0;var k=Ex(x,"or");if(0<=k){if(0>=k)return Qi0;var A=Ex(x,"part");if(0<=A){if(0>=A)return Fi0;if(!N(x,"permil"))return $i0;if(!N(x,"perp"))return Zi0;if(!N(x,"phi"))return Vi0;if(!N(x,"pi"))return Wi0;if(!N(x,"piv"))return Xi0;if(!N(x,"plusmn"))return Bi0;if(!N(x,"pound"))return Yi0}else{if(!N(x,"ordf"))return Ji0;if(!N(x,"ordm"))return Ki0;if(!N(x,"oslash"))return zi0;if(!N(x,"otilde"))return ji0;if(!N(x,"otimes"))return Di0;if(!N(x,"ouml"))return Mi0;if(!N(x,"para"))return Ui0}}else{var g=Ex(x,"oacute");if(0<=g){if(0>=g)return Li0;if(!N(x,"ocirc"))return Oi0;if(!N(x,"oelig"))return Ri0;if(!N(x,"ograve"))return Ci0;if(!N(x,"oline"))return Pi0;if(!N(x,"omega"))return Ii0;if(!N(x,"omicron"))return Ni0;if(!N(x,"oplus"))return gi0}else{if(!N(x,"ne"))return Ai0;if(!N(x,"ni"))return Ei0;if(!N(x,"not"))return Si0;if(!N(x,"notin"))return Ti0;if(!N(x,"nsub"))return wi0;if(!N(x,"ntilde"))return _i0;if(!N(x,"nu"))return hi0}}}else{var I=Ex(x,"le");if(0<=I){if(0>=I)return ki0;var C=Ex(x,"macr");if(0<=C){if(0>=C)return mi0;if(!N(x,"mdash"))return di0;if(!N(x,"micro"))return yi0;if(!N(x,"middot"))return pi0;if(!N(x,IM))return li0;if(!N(x,"mu"))return ai0;if(!N(x,"nabla"))return vi0;if(!N(x,"nbsp"))return oi0}else{if(!N(x,"lfloor"))return si0;if(!N(x,"lowast"))return ci0;if(!N(x,"loz"))return fi0;if(!N(x,"lrm"))return ii0;if(!N(x,"lsaquo"))return ui0;if(!N(x,"lsquo"))return ni0;if(!N(x,"lt"))return ti0}}else{var R=Ex(x,"kappa");if(0<=R){if(0>=R)return ei0;if(!N(x,"lArr"))return ri0;if(!N(x,"lambda"))return xi0;if(!N(x,"lang"))return bu0;if(!N(x,"laquo"))return Gu0;if(!N(x,"larr"))return qu0;if(!N(x,"lceil"))return Hu0;if(!N(x,"ldquo"))return Qu0}else{if(!N(x,"igrave"))return Fu0;if(!N(x,"image"))return $u0;if(!N(x,"infin"))return Zu0;if(!N(x,"iota"))return Vu0;if(!N(x,"iquest"))return Wu0;if(!N(x,"isin"))return Xu0;if(!N(x,"iuml"))return Bu0}}}}}else{var L=Ex(x,"aelig");if(0<=L){if(0>=L)return Yu0;var U=Ex(x,"delta");if(0<=U){if(0>=U)return Ju0;var B=Ex(x,"fnof");if(0<=B){if(0>=B)return Ku0;var X=Ex(x,"gt");if(0<=X){if(0>=X)return zu0;if(!N(x,"hArr"))return ju0;if(!N(x,"harr"))return Du0;if(!N(x,"hearts"))return Mu0;if(!N(x,"hellip"))return Uu0;if(!N(x,"iacute"))return Lu0;if(!N(x,"icirc"))return Ou0}else{if(!N(x,"forall"))return Ru0;if(!N(x,"frac12"))return Cu0;if(!N(x,"frac14"))return Pu0;if(!N(x,"frac34"))return Iu0;if(!N(x,"frasl"))return Nu0;if(!N(x,"gamma"))return gu0;if(!N(x,"ge"))return Au0}}else{var J=Ex(x,"ensp");if(0<=J){if(0>=J)return Eu0;if(!N(x,"epsilon"))return Su0;if(!N(x,"equiv"))return Tu0;if(!N(x,"eta"))return wu0;if(!N(x,"eth"))return _u0;if(!N(x,"euml"))return hu0;if(!N(x,"euro"))return ku0;if(!N(x,"exist"))return mu0}else{if(!N(x,"diams"))return du0;if(!N(x,"divide"))return yu0;if(!N(x,"eacute"))return pu0;if(!N(x,"ecirc"))return lu0;if(!N(x,"egrave"))return au0;if(!N(x,ce))return vu0;if(!N(x,"emsp"))return ou0}}}else{var e0=Ex(x,"cap");if(0<=e0){if(0>=e0)return su0;var i0=Ex(x,"copy");if(0<=i0){if(0>=i0)return cu0;if(!N(x,"crarr"))return fu0;if(!N(x,"cup"))return iu0;if(!N(x,"curren"))return uu0;if(!N(x,"dArr"))return nu0;if(!N(x,"dagger"))return tu0;if(!N(x,"darr"))return eu0;if(!N(x,"deg"))return ru0}else{if(!N(x,"ccedil"))return xu0;if(!N(x,"cedil"))return b70;if(!N(x,"cent"))return G70;if(!N(x,"chi"))return q70;if(!N(x,"circ"))return H70;if(!N(x,"clubs"))return Q70;if(!N(x,"cong"))return F70}}else{var j=Ex(x,"aring");if(0<=j){if(0>=j)return $70;if(!N(x,"asymp"))return Z70;if(!N(x,"atilde"))return V70;if(!N(x,"auml"))return W70;if(!N(x,"bdquo"))return X70;if(!N(x,"beta"))return B70;if(!N(x,"brvbar"))return Y70;if(!N(x,"bull"))return J70}else{if(!N(x,"agrave"))return K70;if(!N(x,"alefsym"))return z70;if(!N(x,"alpha"))return j70;if(!N(x,"amp"))return D70;if(!N(x,"and"))return M70;if(!N(x,"ang"))return U70;if(!N(x,"apos"))return L70}}}}else{var Y=Ex(x,"Nu");if(0<=Y){if(0>=Y)return O70;var z=Ex(x,"Sigma");if(0<=z){if(0>=z)return R70;var F=Ex(x,"Uuml");if(0<=F){if(0>=F)return C70;if(!N(x,"Xi"))return P70;if(!N(x,"Yacute"))return I70;if(!N(x,"Yuml"))return N70;if(!N(x,"Zeta"))return g70;if(!N(x,"aacute"))return A70;if(!N(x,"acirc"))return E70;if(!N(x,"acute"))return S70}else{if(!N(x,"THORN"))return T70;if(!N(x,"Tau"))return w70;if(!N(x,"Theta"))return _70;if(!N(x,"Uacute"))return h70;if(!N(x,"Ucirc"))return k70;if(!N(x,"Ugrave"))return m70;if(!N(x,"Upsilon"))return d70}}else{var t0=Ex(x,"Otilde");if(0<=t0){if(0>=t0)return y70;if(!N(x,"Ouml"))return p70;if(!N(x,"Phi"))return l70;if(!N(x,"Pi"))return a70;if(!N(x,"Prime"))return v70;if(!N(x,"Psi"))return o70;if(!N(x,"Rho"))return s70;if(!N(x,"Scaron"))return c70}else{if(!N(x,"OElig"))return f70;if(!N(x,"Oacute"))return i70;if(!N(x,"Ocirc"))return u70;if(!N(x,"Ograve"))return n70;if(!N(x,"Omega"))return t70;if(!N(x,"Omicron"))return e70;if(!N(x,"Oslash"))return r70}}}else{var $=Ex(x,"Eacute");if(0<=$){if(0>=$)return x70;var f0=Ex(x,"Icirc");if(0<=f0){if(0>=f0)return bn0;if(!N(x,"Igrave"))return Gn0;if(!N(x,"Iota"))return qn0;if(!N(x,"Iuml"))return Hn0;if(!N(x,"Kappa"))return Qn0;if(!N(x,"Lambda"))return Fn0;if(!N(x,"Mu"))return $n0;if(!N(x,"Ntilde"))return Zn0}else{if(!N(x,"Ecirc"))return Vn0;if(!N(x,"Egrave"))return Wn0;if(!N(x,"Epsilon"))return Xn0;if(!N(x,"Eta"))return Bn0;if(!N(x,"Euml"))return Yn0;if(!N(x,"Gamma"))return Jn0;if(!N(x,"Iacute"))return Kn0}}else{var c0=Ex(x,"Atilde");if(0<=c0){if(0>=c0)return zn0;if(!N(x,"Auml"))return jn0;if(!N(x,"Beta"))return Dn0;if(!N(x,"Ccedil"))return Mn0;if(!N(x,"Chi"))return Un0;if(!N(x,"Dagger"))return Ln0;if(!N(x,"Delta"))return On0;if(!N(x,"ETH"))return Rn0}else{if(!N(x,"'int'"))return Cn0;if(!N(x,"AElig"))return Pn0;if(!N(x,"Aacute"))return In0;if(!N(x,"Acirc"))return Nn0;if(!N(x,"Agrave"))return gn0;if(!N(x,"Alpha"))return An0;if(!N(x,"Aring"))return En0}}}}}return 0},bY=function(x,r,e,t){for(var u=x;;){var i=function(t0){for(;;)if(r0(t0,8),FR(m(t0))!==0)return w(t0)};pr(t);var f=m(t),o=gi>>0)var a=w(t);else switch(o){case 0:var a=3;break;case 1:var a=i(t);break;case 2:var a=4;break;case 3:r0(t,4);var a=le(m(t))===0?4:w(t);break;case 4:r0(t,8);var y=BY(m(t));if(y===0){var h=hY(m(t));if(h===0)for(;;){var k=_Y(m(t));if(k!==0){var a=k===1?6:w(t);break}}else if(h===1&&Ir(m(t))===0)for(;;){var A=KY(m(t));if(A!==0){var a=A===1?5:w(t);break}}else var a=w(t)}else if(y===1&&ar(m(t))===0){var g=Kt(m(t));if(g===0){var I=Kt(m(t));if(I===0){var C=Kt(m(t));if(C===0){var R=Kt(m(t));if(R===0){var L=Kt(m(t));if(L===0)var U=Kt(m(t)),a=U===0?MY(m(t))===0?7:w(t):U===1?7:w(t);else var a=L===1?7:w(t)}else var a=R===1?7:w(t)}else var a=C===1?7:w(t)}else var a=I===1?7:w(t)}else var a=g===1?7:w(t)}else var a=w(t);break;case 5:var a=0;break;case 6:r0(t,1);var a=FR(m(t))===0?i(t):w(t);break;default:r0(t,2);var a=FR(m(t))===0?i(t):w(t)}if(8>>0)return Rx(Vt0);switch(a){case 0:return $a(t),u;case 1:return qR(u,Yr(u,t),$t0,Zt0);case 2:return qR(u,Yr(u,t),Qt0,Ft0);case 3:return ot(u,Yr(u,t));case 4:var B=Kx(t);vr(e,B),vr(r,B);var u=Y2(u,t);continue;case 5:var X=Kx(t),J=z2(X,3,Gx(X)-4|0);vr(e,X),qc(r,it(Zx(Ht0,J)));continue;case 6:var e0=Kx(t),i0=z2(e0,2,Gx(e0)-3|0);vr(e,e0),qc(r,it(i0));continue;case 7:var j=Kx(t),Y=z2(j,1,Gx(j)-2|0);vr(e,j);var z=GY(Y);z?qc(r,z[1]):vr(r,Zx(Gt0,Zx(Y,qt0)));continue;default:var F=Kx(t);vr(e,F),vr(r,F);continue}}},VT0=function(x,r){pr(r);var e=YT0(m(r));if(14>>0)var t=w(r);else switch(e){case 0:var t=0;break;case 1:var t=14;break;case 2:if(r0(r,2),bc(m(r))===0){for(;;)if(r0(r,2),bc(m(r))!==0){var t=w(r);break}}else var t=w(r);break;case 3:var t=1;break;case 4:r0(r,1);var t=le(m(r))===0?1:w(r);break;case 5:var t=12;break;case 6:var t=13;break;case 7:var t=10;break;case 8:r0(r,6);var u=Md(m(r)),t=u===0?4:u===1?3:w(r);break;case 9:var t=9;break;case 10:var t=5;break;case 11:var t=11;break;case 12:var t=7;break;case 13:if(r0(r,14),Co(m(r))===0){var i=Kv(m(r));if(i===0)var t=Ir(m(r))===0&&Ir(m(r))===0&&Ir(m(r))===0?13:w(r);else if(i===1&&Ir(m(r))===0)for(;;){var f=zv(m(r));if(f!==0){var t=f===1?13:w(r);break}}else var t=w(r)}else var t=w(r);break;default:var t=8}if(14>>0)return Rx(Sn0);switch(t){case 0:return[0,x,Er];case 1:return[2,Y2(x,r)];case 2:return[2,x];case 3:var o=m2(x,r),a=Zr(Jr),y=Ga(x,a,r),h=y[1];return[1,h,Jt(h,o,y[2],a,0)];case 4:var k=m2(x,r),A=Zr(Jr),g=Jv(x,A,r),I=g[1];return[1,I,Jt(I,k,g[2],A,1)];case 5:return[0,x,98];case 6:return[0,x,Ue];case 7:return[0,x,99];case 8:return[0,x,0];case 9:return[0,x,86];case 10:return[0,x,10];case 11:return[0,x,82];case 12:var C=Kx(r),R=m2(x,r),L=Zr(Jr),U=Zr(Jr);vr(U,C);for(var B=Nr(C,"'"),X=x;;){pr(r);var J=m(r),e0=39>>0)var i0=w(r);else switch(e0){case 0:var i0=2;break;case 1:for(;;){r0(r,7);var j=m(r),Y=-1>>0)var k0=Rx(bt0);else switch(i0){case 0:if(!B){ct(U,39),ct(L,39);continue}var k0=X;break;case 1:if(B){ct(U,34),ct(L,34);continue}var k0=X;break;case 2:var k0=ot(X,Yr(X,r));break;case 3:var M0=Kx(r);vr(U,M0),vr(L,M0);var X=Y2(X,r);continue;case 4:var D0=Kx(r),cx=z2(D0,3,Gx(D0)-4|0);vr(U,D0),qc(L,it(Zx(xn0,cx)));continue;case 5:var g0=Kx(r),Z0=z2(g0,2,Gx(g0)-3|0);vr(U,g0),qc(L,it(Z0));continue;case 6:var n0=Kx(r),nx=z2(n0,1,Gx(n0)-2|0);vr(U,n0);var xx=GY(nx);xx?qc(L,xx[1]):vr(L,Zx(en0,Zx(nx,rn0)));continue;default:var yx=Kx(r);vr(U,yx),vr(L,yx);continue}var px=pe(k0,r);vr(U,C);var Tx=z1(L),O0=z1(U);return[0,k0,[10,[0,k0[1],R,px],Tx,O0]]}case 13:for(var P0=r[6];;){pr(r);var N0=m(r),J0=qr>>0)var I0=w(r);else switch(J0){case 0:var I0=1;break;case 1:var I0=2;break;case 2:var I0=0;break;default:if(r0(r,2),Co(m(r))===0){var Q=Kv(m(r));if(Q===0)var I0=Ir(m(r))===0&&Ir(m(r))===0&&Ir(m(r))===0?0:w(r);else if(Q===1&&Ir(m(r))===0)for(;;){var G=zv(m(r));if(G!==0){var I0=G===1?0:w(r);break}}else var I0=w(r)}else var I0=w(r)}if(2>>0)throw q0([0,Tr,It0],1);switch(I0){case 0:continue;case 1:break;default:if(YR(FJ(r)))continue;HJ(r,1)}var V=r[3];UR(r,P0);var l0=n1(r),d0=ql(x,P0,V);return[0,x,[8,Zl(l0),d0]]}default:return[0,x,[7,Kx(r)]]}},ZT0=function(x,r){pr(r);var e=m(r),t=-1>>0)var u=w(r);else switch(t){case 0:var u=5;break;case 1:if(r0(r,1),bc(m(r))===0){for(;;)if(r0(r,1),bc(m(r))!==0){var u=w(r);break}}else var u=w(r);break;case 2:var u=0;break;case 3:r0(r,0);var u=le(m(r))===0?0:w(r);break;case 4:r0(r,5);var i=Md(m(r)),u=i===0?3:i===1?2:w(r);break;default:var u=4}if(5>>0)return Rx(hn0);switch(u){case 0:return[2,Y2(x,r)];case 1:return[2,x];case 2:var f=m2(x,r),o=Zr(Jr),a=Ga(x,o,r),y=a[1];return[1,y,Jt(y,f,a[2],o,0)];case 3:var h=m2(x,r),k=Zr(Jr),A=Jv(x,k,r),g=A[1];return[1,g,Jt(g,h,A[2],k,1)];case 4:var I=m2(x,r),C=Zr(Jr),R=Zr(Jr),L=qY(x,C,R,r),U=L[1],B=L[2],X=pe(U,r),J=[0,U[1],I,X],e0=z1(R);return[0,U,[3,[0,J,z1(C),e0,0,B]]];default:var i0=ot(x,Yr(x,r));return[0,i0,[3,[0,Yr(i0,r),wn0,_n0,0,1]]]}},$T0=function(x,r){function e(T){for(;;)if(r0(T,29),ar(m(T))!==0)return w(T)}function t(T){r0(T,28);var K=L1(m(T));if(K!==0)return K===1?e(T):w(T);for(;;)if(r0(T,26),ar(m(T))!==0)return w(T)}function u(T){r0(T,27);var K=L1(m(T));if(K!==0)return K===1?e(T):w(T);for(;;)if(r0(T,25),ar(m(T))!==0)return w(T)}function i(T){r0(T,30);var K=Qa(m(T));if(2>>0)return w(T);switch(K){case 0:return e(T);case 1:for(;;){r0(T,30);var H0=rs(m(T));if(3>>0)return w(T);switch(H0){case 0:return e(T);case 1:continue;case 2:x:for(;;){if(yr(m(T))!==0)return w(T);for(;;){r0(T,30);var sx=rs(m(T));if(3>>0)return w(T);switch(sx){case 0:return e(T);case 1:continue;case 2:continue x;default:return u(T)}}}default:return u(T)}}default:return u(T)}}function f(T){x:for(;;){if(yr(m(T))!==0)return w(T);for(;;){r0(T,30);var K=UY(m(T));if(4>>0)return w(T);switch(K){case 0:return e(T);case 1:return i(T);case 2:continue;case 3:continue x;default:return t(T)}}}}function o(T){for(;;)if(r0(T,19),ar(m(T))!==0)return w(T)}function a(T){for(;;)if(r0(T,19),ar(m(T))!==0)return w(T)}function y(T){for(;;)if(r0(T,13),ar(m(T))!==0)return w(T)}function h(T){for(;;)if(r0(T,13),ar(m(T))!==0)return w(T)}function k(T){for(;;)if(r0(T,9),ar(m(T))!==0)return w(T)}function A(T){for(;;)if(r0(T,9),ar(m(T))!==0)return w(T)}function g(T){for(;;)if(r0(T,15),ar(m(T))!==0)return w(T)}function I(T){r0(T,15);var K=L1(m(T));if(K!==0)return K===1?g(T):w(T);for(;;)if(r0(T,15),ar(m(T))!==0)return w(T)}function C(T){for(;;)if(r0(T,23),ar(m(T))!==0)return w(T)}function R(T){r0(T,22);var K=L1(m(T));if(K!==0)return K===1?C(T):w(T);for(;;)if(r0(T,21),ar(m(T))!==0)return w(T)}function L(T){for(;;)if(r0(T,23),ar(m(T))!==0)return w(T)}function U(T){r0(T,22);var K=L1(m(T));if(K!==0)return K===1?L(T):w(T);for(;;)if(r0(T,21),ar(m(T))!==0)return w(T)}function B(T){x:for(;;){if(yr(m(T))!==0)return w(T);for(;;){r0(T,24);var K=rs(m(T));if(3>>0)return w(T);switch(K){case 0:return L(T);case 1:continue;case 2:continue x;default:return U(T)}}}}function X(T){r0(T,29);var K=DY(m(T));if(3>>0)return w(T);switch(K){case 0:return e(T);case 1:var H0=go(m(T));if(H0===0)for(;;){r0(T,24);var sx=Qa(m(T));if(2>>0)return w(T);switch(sx){case 0:return L(T);case 1:continue;default:return U(T)}}if(H0!==1)return w(T);for(;;){r0(T,24);var ux=rs(m(T));if(3>>0)return w(T);switch(ux){case 0:return L(T);case 1:continue;case 2:return B(T);default:return U(T)}}case 2:for(;;){r0(T,24);var z0=Qa(m(T));if(2>>0)return w(T);switch(z0){case 0:return C(T);case 1:continue;default:return R(T)}}default:for(;;){r0(T,24);var Px=rs(m(T));if(3>>0)return w(T);switch(Px){case 0:return C(T);case 1:continue;case 2:return B(T);default:return R(T)}}}}function J(T){r0(T,30);var K=AY(m(T));if(3>>0)return w(T);switch(K){case 0:return e(T);case 1:for(;;){r0(T,30);var H0=No(m(T));if(4>>0)return w(T);switch(H0){case 0:return e(T);case 1:continue;case 2:return X(T);case 3:x:for(;;){if(yr(m(T))!==0)return w(T);for(;;){r0(T,30);var sx=No(m(T));if(4>>0)return w(T);switch(sx){case 0:return e(T);case 1:continue;case 2:return X(T);case 3:continue x;default:return u(T)}}}default:return u(T)}}case 2:return X(T);default:return u(T)}}function e0(T){return Rd(m(T))===0&&Nd(m(T))===0&&zY(m(T))===0&&NY(m(T))===0&&IY(m(T))===0&&HR(m(T))===0&&Ql(m(T))===0&&Rd(m(T))===0&&Co(m(T))===0&&PY(m(T))===0&&Hl(m(T))===0?3:w(T)}function i0(T){return r0(T,3),YY(m(T))===0?3:w(T)}function j(T){var K=JT0(m(T));if(30>>0)return w(T);switch(K){case 0:return 64;case 1:return 65;case 2:if(r0(T,1),bc(m(T))!==0)return w(T);for(;;)if(r0(T,1),bc(m(T))!==0)return w(T);case 3:return 0;case 4:return r0(T,0),le(m(T))===0?0:w(T);case 5:return 6;case 6:return 63;case 7:if(r0(T,65),Ql(m(T))!==0)return w(T);var H0=m(T),sx=tt>>0)return w(T);switch(Qx){case 0:return e(T);case 1:continue;case 2:return X(T);case 3:x:for(;;){if(yr(m(T))!==0)return w(T);for(;;){r0(T,30);var j0=No(m(T));if(4>>0)return w(T);switch(j0){case 0:return e(T);case 1:continue;case 2:return X(T);case 3:continue x;default:return u(T)}}}default:return u(T)}}case 16:r0(T,65);var rr=Md(m(T));if(rr!==0)return rr===1?5:w(T);r0(T,2);var zx=wd(m(T));if(2>>0)return w(T);switch(zx){case 0:for(;;){var X0=wd(m(T));if(2>>0)return w(T);switch(X0){case 0:continue;case 1:return i0(T);default:return e0(T)}}case 1:return i0(T);default:return e0(T)}case 17:r0(T,30);var ir=RY(m(T));if(8>>0)return w(T);switch(ir){case 0:return e(T);case 1:return J(T);case 2:for(;;){r0(T,16);var K0=jY(m(T));if(4>>0)return w(T);switch(K0){case 0:return g(T);case 1:return i(T);case 2:continue;case 3:for(;;){r0(T,15);var Sr=_d(m(T));if(3>>0)return w(T);switch(Sr){case 0:return g(T);case 1:return i(T);case 2:continue;default:return I(T)}}default:return I(T)}}case 3:for(;;){r0(T,30);var Dr=_d(m(T));if(3>>0)return w(T);switch(Dr){case 0:return e(T);case 1:return i(T);case 2:continue;default:return t(T)}}case 4:r0(T,29);var ax=CY(m(T));if(ax===0)return e(T);if(ax!==1)return w(T);for(;;){r0(T,10);var br=Dd(m(T));if(3
>>0)return w(T);switch(br){case 0:return A(T);case 1:continue;case 2:x:for(;;){if(xs(m(T))!==0)return w(T);for(;;){r0(T,10);var t2=Dd(m(T));if(3>>0)return w(T);switch(t2){case 0:return k(T);case 1:continue;case 2:continue x;default:r0(T,8);var k1=L1(m(T));if(k1!==0)return k1===1?k(T):w(T);for(;;)if(r0(T,7),ar(m(T))!==0)return w(T)}}}default:r0(T,8);var Rr=L1(m(T));if(Rr!==0)return Rr===1?A(T):w(T);for(;;)if(r0(T,7),ar(m(T))!==0)return w(T)}}case 5:return X(T);case 6:r0(T,29);var U1=OY(m(T));if(U1===0)return e(T);if(U1!==1)return w(T);for(;;){r0(T,14);var _=Ud(m(T));if(3<_>>>0)return w(T);switch(_){case 0:return h(T);case 1:continue;case 2:x:for(;;){if(J2(m(T))!==0)return w(T);for(;;){r0(T,14);var b=Ud(m(T));if(3>>0)return w(T);switch(b){case 0:return y(T);case 1:continue;case 2:continue x;default:r0(T,12);var x0=L1(m(T));if(x0!==0)return x0===1?y(T):w(T);for(;;)if(r0(T,11),ar(m(T))!==0)return w(T)}}}default:r0(T,12);var S0=L1(m(T));if(S0!==0)return S0===1?h(T):w(T);for(;;)if(r0(T,11),ar(m(T))!==0)return w(T)}}case 7:r0(T,29);var H=wY(m(T));if(H===0)return e(T);if(H!==1)return w(T);for(;;){r0(T,20);var h0=jd(m(T));if(3>>0)return w(T);switch(h0){case 0:return a(T);case 1:continue;case 2:x:for(;;){if(Ir(m(T))!==0)return w(T);for(;;){r0(T,20);var Y0=jd(m(T));if(3>>0)return w(T);switch(Y0){case 0:return o(T);case 1:continue;case 2:continue x;default:r0(T,18);var U0=L1(m(T));if(U0!==0)return U0===1?o(T):w(T);for(;;)if(r0(T,17),ar(m(T))!==0)return w(T)}}}default:r0(T,18);var tx=L1(m(T));if(tx!==0)return tx===1?a(T):w(T);for(;;)if(r0(T,17),ar(m(T))!==0)return w(T)}}default:return t(T)}case 18:r0(T,30);var Wx=Sd(m(T));if(5>>0)return w(T);switch(Wx){case 0:return e(T);case 1:return J(T);case 2:for(;;){r0(T,30);var Lx=Sd(m(T));if(5>>0)return w(T);switch(Lx){case 0:return e(T);case 1:return J(T);case 2:continue;case 3:return X(T);case 4:return f(T);default:return t(T)}}case 3:return X(T);case 4:return f(T);default:return t(T)}case 19:return 44;case 20:return 42;case 21:return 49;case 22:r0(T,51);var ur=m(T),Vx=61>>0)return Rx(yn0);var z=Y;if(33>z)switch(z){case 0:return[2,Y2(x,r)];case 1:return[2,x];case 2:var F=m2(x,r),t0=Zr(Jr),$=Jv(x,t0,r),f0=$[1];return[1,f0,Jt(f0,F,$[2],t0,1)];case 3:var c0=Kx(r);if(!x[5]){var v0=m2(x,r),s0=Zr(Jr);vr(s0,c0);var o0=Jv(x,s0,r),E0=o0[1];return[1,E0,Jt(E0,v0,o0[2],s0,1)]}var k0=x[4]?VY(x,Yr(x,r),c0):x,M0=ld(1,k0),D0=sd(r);return Nr(Vl(r,D0-1|0,1),Nv)&&N(Vl(r,D0-2|0,1),Nv)?[0,M0,86]:[2,M0];case 4:if(x[4])return[2,ld(0,x)];$a(r),pr(r);var cx=EY(m(r))===0?0:w(r);return cx===0?[0,x,_1]:Rx(dn0);case 5:var g0=m2(x,r),Z0=Zr(Jr),n0=Ga(x,Z0,r),nx=n0[1];return[1,nx,Jt(nx,g0,n0[2],Z0,0)];case 6:var xx=Kx(r),yx=m2(x,r),px=Zr(Jr),Tx=Zr(Jr);vr(Tx,xx);var O0=HY(x,xx,px,Tx,0,r),P0=O0[1],N0=O0[3],J0=[0,P0[1],yx,O0[2]],I0=z1(Tx);return[0,P0,[2,[0,J0,z1(px),I0,N0]]];case 7:return N1(x,r,function(T,K){if(pr(K),ae(m(K))===0&&Ad(m(K))===0&&xs(m(K))===0)for(;;){var H0=kd(m(K));if(2>>0)var z0=w(K);else switch(H0){case 0:continue;case 1:x:for(;;){if(xs(m(K))===0)for(;;){var sx=kd(m(K));if(2>>0)var ux=w(K);else switch(sx){case 0:continue;case 1:continue x;default:var ux=0}break}else var ux=w(K);var z0=ux;break}break;default:var z0=0}break}else var z0=w(K);return z0===0?[0,T,Bt(0,n1(K))]:Rx(pn0)});case 8:return[0,x,Bt(0,n1(r))];case 9:return N1(x,r,function(T,K){if(pr(K),ae(m(K))===0&&Ad(m(K))===0&&xs(m(K))===0)for(;;){r0(K,0);var H0=md(m(K));if(H0!==0){if(H0===1)x:for(;;){if(xs(m(K))===0)for(;;){r0(K,0);var sx=md(m(K));if(sx!==0){if(sx===1)continue x;var ux=w(K);break}}else var ux=w(K);var z0=ux;break}else var z0=w(K);break}}else var z0=w(K);return z0===0?[0,T,Yt(0,n1(K))]:Rx(ln0)});case 10:return[0,x,Yt(0,n1(r))];case 11:return N1(x,r,function(T,K){if(pr(K),ae(m(K))===0&&Pd(m(K))===0&&J2(m(K))===0)for(;;){var H0=Ed(m(K));if(2>>0)var z0=w(K);else switch(H0){case 0:continue;case 1:x:for(;;){if(J2(m(K))===0)for(;;){var sx=Ed(m(K));if(2>>0)var ux=w(K);else switch(sx){case 0:continue;case 1:continue x;default:var ux=0}break}else var ux=w(K);var z0=ux;break}break;default:var z0=0}break}else var z0=w(K);return z0===0?[0,T,Bt(1,n1(K))]:Rx(an0)});case 12:return[0,x,Bt(1,n1(r))];case 13:return N1(x,r,function(T,K){if(pr(K),ae(m(K))===0&&Pd(m(K))===0&&J2(m(K))===0)for(;;){r0(K,0);var H0=Td(m(K));if(H0!==0){if(H0===1)x:for(;;){if(J2(m(K))===0)for(;;){r0(K,0);var sx=Td(m(K));if(sx!==0){if(sx===1)continue x;var ux=w(K);break}}else var ux=w(K);var z0=ux;break}else var z0=w(K);break}}else var z0=w(K);return z0===0?[0,T,Yt(3,n1(K))]:Rx(vn0)});case 14:return[0,x,Yt(3,n1(r))];case 15:return N1(x,r,function(T,K){if(pr(K),ae(m(K))===0&&J2(m(K))===0){for(;;)if(r0(K,0),J2(m(K))!==0){var H0=w(K);break}}else var H0=w(K);return H0===0?[0,T,Yt(1,n1(K))]:Rx(on0)});case 16:return[0,x,Yt(1,n1(r))];case 17:return N1(x,r,function(T,K){if(pr(K),ae(m(K))===0&&yd(m(K))===0&&Ir(m(K))===0)for(;;){var H0=hd(m(K));if(2>>0)var z0=w(K);else switch(H0){case 0:continue;case 1:x:for(;;){if(Ir(m(K))===0)for(;;){var sx=hd(m(K));if(2>>0)var ux=w(K);else switch(sx){case 0:continue;case 1:continue x;default:var ux=0}break}else var ux=w(K);var z0=ux;break}break;default:var z0=0}break}else var z0=w(K);return z0===0?[0,T,Bt(2,n1(K))]:Rx(sn0)});case 18:return[0,x,Bt(2,n1(r))];case 19:return N1(x,r,function(T,K){if(pr(K),ae(m(K))===0&&yd(m(K))===0&&Ir(m(K))===0)for(;;){r0(K,0);var H0=Od(m(K));if(H0!==0){if(H0===1)x:for(;;){if(Ir(m(K))===0)for(;;){r0(K,0);var sx=Od(m(K));if(sx!==0){if(sx===1)continue x;var ux=w(K);break}}else var ux=w(K);var z0=ux;break}else var z0=w(K);break}}else var z0=w(K);return z0===0?[0,T,Yt(4,n1(K))]:Rx(cn0)});case 20:return[0,x,Yt(4,n1(r))];case 21:return N1(x,r,function(T,K){function H0(K0){for(;;){var Sr=zt(m(K0));if(2>>0)return w(K0);switch(Sr){case 0:continue;case 1:x:for(;;){if(yr(m(K0))!==0)return w(K0);for(;;){var Dr=zt(m(K0));if(2>>0)return w(K0);switch(Dr){case 0:continue;case 1:continue x;default:return 0}}}default:return 0}}}function sx(K0){for(;;){var Sr=Ha(m(K0));if(Sr!==0)return Sr===1?0:w(K0)}}function ux(K0){var Sr=zd(m(K0));if(2>>0)return w(K0);switch(Sr){case 0:var Dr=go(m(K0));return Dr===0?sx(K0):Dr===1?H0(K0):w(K0);case 1:return sx(K0);default:return H0(K0)}}function z0(K0){var Sr=Cd(m(K0));if(Sr!==0)return Sr===1?ux(K0):w(K0);for(;;){var Dr=G2(m(K0));if(2>>0)return w(K0);switch(Dr){case 0:continue;case 1:return ux(K0);default:x:for(;;){if(yr(m(K0))!==0)return w(K0);for(;;){var ax=G2(m(K0));if(2>>0)return w(K0);switch(ax){case 0:continue;case 1:return ux(K0);default:continue x}}}}}}pr(K);var Px=Ao(m(K));if(2>>0)var kx=w(K);else switch(Px){case 0:if(yr(m(K))===0)for(;;){var $x=G2(m(K));if(2<$x>>>0)var kx=w(K);else switch($x){case 0:continue;case 1:var kx=ux(K);break;default:x:for(;;){if(yr(m(K))===0)for(;;){var Qx=G2(m(K));if(2>>0)var j0=w(K);else switch(Qx){case 0:continue;case 1:var j0=ux(K);break;default:continue x}break}else var j0=w(K);var kx=j0;break}}break}else var kx=w(K);break;case 1:var rr=dd(m(K)),kx=rr===0?z0(K):rr===1?ux(K):w(K);break;default:for(;;){var zx=Id(m(K));if(2>>0)var kx=w(K);else switch(zx){case 0:var kx=z0(K);break;case 1:continue;default:var kx=ux(K)}break}}if(kx!==0)return Rx(fn0);var X0=n1(K),ir=k2(T,Yr(T,K),47);return[0,ir,Bt(2,X0)]});case 22:var Q=n1(r),G=k2(x,Yr(x,r),47);return[0,G,Bt(2,Q)];case 23:return N1(x,r,function(T,K){function H0(X0){for(;;){r0(X0,0);var ir=Io(m(X0));if(ir!==0){if(ir!==1)return w(X0);x:for(;;){if(yr(m(X0))!==0)return w(X0);for(;;){r0(X0,0);var K0=Io(m(X0));if(K0!==0){if(K0===1)continue x;return w(X0)}}}}}}function sx(X0){for(;;)if(r0(X0,0),yr(m(X0))!==0)return w(X0)}function ux(X0){var ir=zd(m(X0));if(2>>0)return w(X0);switch(ir){case 0:var K0=go(m(X0));return K0===0?sx(X0):K0===1?H0(X0):w(X0);case 1:return sx(X0);default:return H0(X0)}}function z0(X0){var ir=Cd(m(X0));if(ir!==0)return ir===1?ux(X0):w(X0);for(;;){var K0=G2(m(X0));if(2>>0)return w(X0);switch(K0){case 0:continue;case 1:return ux(X0);default:x:for(;;){if(yr(m(X0))!==0)return w(X0);for(;;){var Sr=G2(m(X0));if(2>>0)return w(X0);switch(Sr){case 0:continue;case 1:return ux(X0);default:continue x}}}}}}pr(K);var Px=Ao(m(K));if(2>>0)var kx=w(K);else switch(Px){case 0:if(yr(m(K))===0)for(;;){var $x=G2(m(K));if(2<$x>>>0)var kx=w(K);else switch($x){case 0:continue;case 1:var kx=ux(K);break;default:x:for(;;){if(yr(m(K))===0)for(;;){var Qx=G2(m(K));if(2>>0)var j0=w(K);else switch(Qx){case 0:continue;case 1:var j0=ux(K);break;default:continue x}break}else var j0=w(K);var kx=j0;break}}break}else var kx=w(K);break;case 1:var rr=dd(m(K)),kx=rr===0?z0(K):rr===1?ux(K):w(K);break;default:for(;;){var zx=Id(m(K));if(2>>0)var kx=w(K);else switch(zx){case 0:var kx=z0(K);break;case 1:continue;default:var kx=ux(K)}break}}return kx===0?[0,T,Yt(4,n1(K))]:Rx(in0)});case 24:return[0,x,Yt(4,n1(r))];case 25:return N1(x,r,function(T,K){function H0(zx){for(;;){var X0=zt(m(zx));if(2>>0)return w(zx);switch(X0){case 0:continue;case 1:x:for(;;){if(yr(m(zx))!==0)return w(zx);for(;;){var ir=zt(m(zx));if(2>>0)return w(zx);switch(ir){case 0:continue;case 1:continue x;default:return 0}}}default:return 0}}}function sx(zx){var X0=Ha(m(zx));return X0===0?H0(zx):X0===1?0:w(zx)}pr(K);var ux=Ao(m(K));if(2>>0)var z0=w(K);else switch(ux){case 0:var z0=yr(m(K))===0?H0(K):w(K);break;case 1:for(;;){var Px=qa(m(K));if(Px===0)var z0=sx(K);else{if(Px===1)continue;var z0=w(K)}break}break;default:for(;;){var kx=Po(m(K));if(2>>0)var z0=w(K);else switch(kx){case 0:var z0=sx(K);break;case 1:continue;default:x:for(;;){if(yr(m(K))===0)for(;;){var $x=Po(m(K));if(2<$x>>>0)var Qx=w(K);else switch($x){case 0:var Qx=sx(K);break;case 1:continue;default:continue x}break}else var Qx=w(K);var z0=Qx;break}}break}}if(z0!==0)return Rx(un0);var j0=n1(K),rr=k2(T,Yr(T,K),38);return[0,rr,Bt(2,j0)]});case 26:return N1(x,r,function(T,K){pr(K);var H0=go(m(K));if(H0===0)for(;;){var sx=Ha(m(K));if(sx!==0){var kx=sx===1?0:w(K);break}}else if(H0===1)for(;;){var ux=zt(m(K));if(2>>0)var kx=w(K);else switch(ux){case 0:continue;case 1:x:for(;;){if(yr(m(K))===0)for(;;){var z0=zt(m(K));if(2>>0)var Px=w(K);else switch(z0){case 0:continue;case 1:continue x;default:var Px=0}break}else var Px=w(K);var kx=Px;break}break;default:var kx=0}break}else var kx=w(K);return kx===0?[0,T,Bt(2,n1(K))]:Rx(nn0)});case 27:var V=n1(r),l0=k2(x,Yr(x,r),38);return[0,l0,Bt(2,V)];case 28:return[0,x,Bt(2,n1(r))];case 29:return N1(x,r,function(T,K){function H0(j0){for(;;){r0(j0,0);var rr=Io(m(j0));if(rr!==0){if(rr!==1)return w(j0);x:for(;;){if(yr(m(j0))!==0)return w(j0);for(;;){r0(j0,0);var zx=Io(m(j0));if(zx!==0){if(zx===1)continue x;return w(j0)}}}}}}function sx(j0){return r0(j0,0),yr(m(j0))===0?H0(j0):w(j0)}pr(K);var ux=Ao(m(K));if(2>>0)var z0=w(K);else switch(ux){case 0:var z0=yr(m(K))===0?H0(K):w(K);break;case 1:for(;;){r0(K,0);var Px=qa(m(K));if(Px===0)var z0=sx(K);else{if(Px===1)continue;var z0=w(K)}break}break;default:for(;;){r0(K,0);var kx=Po(m(K));if(2>>0)var z0=w(K);else switch(kx){case 0:var z0=sx(K);break;case 1:continue;default:x:for(;;){if(yr(m(K))===0)for(;;){r0(K,0);var $x=Po(m(K));if(2<$x>>>0)var Qx=w(K);else switch($x){case 0:var Qx=sx(K);break;case 1:continue;default:continue x}break}else var Qx=w(K);var z0=Qx;break}}break}}return z0===0?[0,T,Yt(4,n1(K))]:Rx(tn0)});case 30:return[0,x,Yt(4,n1(r))];case 31:return[0,x,66];default:return[0,x,6]}switch(z){case 33:return[0,x,7];case 34:return[0,x,0];case 35:return[0,x,1];case 36:return[0,x,2];case 37:return[0,x,3];case 38:return[0,x,4];case 39:return[0,x,5];case 40:return[0,x,12];case 41:return[0,x,10];case 42:return[0,x,8];case 43:return[0,x,9];case 44:return[0,x,86];case 45:return[0,x,83];case 46:return[0,x,85];case 47:return[0,x,6];case 48:return[0,x,7];case 49:return[0,x,98];case 50:return[0,x,99];case 51:return[0,x,82];case 52:return[0,x,85];case 53:return[0,x,_1];case 54:return[0,x,86];case 55:return[0,x,88];case 56:return[0,x,87];case 57:return[0,x,89];case 58:return[0,x,91];case 59:return[0,x,11];case 60:return[0,x,82];case 61:return[0,x,tt];case 62:return[0,x,ln];case 63:var d0=r[6];XY(r);var A0=ql(x,d0,r[3]);UR(r,d0);var M=n1(r),L0=FY(x,M),V0=L0[2],B0=L0[1],vx=Ex(V0,op);if(0<=vx){if(0>=vx)return[0,B0,Ps];var b0=Ex(V0,_x);if(0<=b0){if(0>=b0)return[0,B0,G3];if(!N(V0,Ts))return[0,B0,31];if(!N(V0,ws))return[0,B0,46];if(!N(V0,G5))return[0,B0,Ra];if(!N(V0,g5))return[0,B0,qr];if(!N(V0,gs))return[0,B0,Ef]}else{if(!N(V0,I8))return[0,B0,Rt];if(!N(V0,lv))return[0,B0,29];if(!N(V0,ka))return[0,B0,aa];if(!N(V0,Ta))return[0,B0,U4];if(!N(V0,De))return[0,B0,42];if(!N(V0,La))return[0,B0,xl]}}else{var hx=Ex(V0,Ic);if(0<=hx){if(0>=hx)return[0,B0,41];if(!N(V0,As))return[0,B0,30];if(!N(V0,PD))return[0,B0,Jr];if(!N(V0,F2))return[0,B0,53];if(!N(V0,al))return[0,B0,m1];if(!N(V0,N8))return[0,B0,gi]}else{if(!N(V0,n5))return[0,B0,Vi];if(!N(V0,da))return[0,B0,yl];if(!N(V0,pv))return[0,B0,pa];if(!N(V0,S5))return[0,B0,kn0];if(!N(V0,F3))return[0,B0,mn0];if(!N(V0,ce))return[0,B0,Ns]}}return[0,B0,[4,A0,V0,Zl(M)]];case 64:var W0=x[4]?k2(x,Yr(x,r),95):x;return[0,W0,Er];default:return[0,x,[7,Kx(r)]]}},Gl=function(x){return function(r){for(var e=0,t=r;;){var u=p(x,t,t[2]);switch(u[0]){case 0:var i=u[2],f=u[1],o=WY(f,i),a=e===0?0:gx(e),y=f[6];if(y===0)return[0,[0,f[1],f[2],f[3],f[4],f[5],f[6],o],[0,i,o,0,a]];var h=[0,i,o,gx(y),a];return[0,[0,f[1],f[2],f[3],f[4],f[5],pY,o],h];case 1:var k=u[2],A=u[1],e=[0,k,e],t=[0,A[1],A[2],A[3],A[4],A[5],A[6],k[1]];continue;default:var t=u[1];continue}}}},FT0=Gl(WT0),QT0=Gl(VT0),HT0=Gl(ZT0),qT0=Gl($T0),GT0=Gl(BT0),h2=uY([0,fT0]),bl=function(x,r){return[0,0,0,r,yY(x)]},Jd=function(x){var r=x[4];switch(x[3]){case 0:var Y=l(GT0,r);break;case 1:var Y=l(qT0,r);break;case 2:var Y=l(QT0,r);break;case 3:var e=pe(r,r[2]),t=Zr(Jr),u=Zr(Jr),i=r[2];pr(i);var f=m(i),o=Rt>>0)var a=w(i);else switch(o){case 0:var a=1;break;case 1:var a=4;break;case 2:var a=0;break;case 3:r0(i,0);var a=le(m(i))===0?0:w(i);break;case 4:var a=2;break;default:var a=3}if(4
>>0)var y=Rx(Tn0);else switch(a){case 0:var h=Kx(i);vr(u,h),vr(t,h);var k=bY(Y2(r,i),t,u,i),A=pe(k,i),g=z1(t),I=z1(u),y=[0,k,[9,[0,k[1],e,A],g,I]];break;case 1:var y=[0,r,Er];break;case 2:var y=[0,r,98];break;case 3:var y=[0,r,0];break;default:$a(i);var C=bY(r,t,u,i),R=pe(C,i),L=z1(t),U=z1(u),y=[0,C,[9,[0,C[1],e,R],L,U]]}var B=y[2],X=y[1],J=WY(X,B),e0=X[6];if(e0===0)var j=[0,X,[0,B,J,0,0]];else var i0=[0,B,J,gx(e0),0],j=[0,[0,X[1],X[2],X[3],X[4],X[5],0,X[7]],i0];var Y=j;break;case 4:var Y=l(HT0,r);break;default:var Y=l(FT0,r)}var z=Y[1],F=Y[2],t0=[0,yY(z),F];return x[4]=z,x[1]?x[2]=[0,t0]:x[1]=[0,t0],t0},xB=function(x){var r=x[1];return r?r[1][2]:Jd(x)[2]},ba=function(x){return Ol(x[24][1])},T1=function(x){return x[28][4]},ex=function(x,r){var e=r[2];x[1][1]=[0,[0,r[1],e],x[1][1]];var t=x[23];return t?p(t[1],x,e):0},x6=function(x,r){return x[31][1]=r,0},Ro=function(x,r){if(x===0)return xB(r[26][1]);if(x!==1)throw q0([0,Tr,rs0],1);var e=r[26][1];e[1]||Jd(e);var t=e[2];return t?t[1][2]:Jd(e)[2]},Qs=function(x,r){return x===r[5]?r:[0,r[1],r[2],r[3],r[4],x,r[6],r[7],r[8],r[9],r[10],r[11],r[12],r[13],r[14],r[15],r[16],r[17],r[18],r[19],r[20],r[21],r[22],r[23],r[24],r[25],r[26],r[27],r[28],r[29],r[30],r[31]]},rB=function(x,r){return x===r[10]?r:[0,r[1],r[2],r[3],r[4],r[5],r[6],r[7],r[8],r[9],x,r[11],r[12],r[13],r[14],r[15],r[16],r[17],r[18],r[19],r[20],r[21],r[22],r[23],r[24],r[25],r[26],r[27],r[28],r[29],r[30],r[31]]},GR=function(x,r){return x===r[18]?r:[0,r[1],r[2],r[3],r[4],r[5],r[6],r[7],r[8],r[9],r[10],r[11],r[12],r[13],r[14],r[15],r[16],r[17],x,r[19],r[20],r[21],r[22],r[23],r[24],r[25],r[26],r[27],r[28],r[29],r[30],r[31]]},bR=function(x,r){return x===r[19]?r:[0,r[1],r[2],r[3],r[4],r[5],r[6],r[7],r[8],r[9],r[10],r[11],r[12],r[13],r[14],r[15],r[16],r[17],r[18],x,r[20],r[21],r[22],r[23],r[24],r[25],r[26],r[27],r[28],r[29],r[30],r[31]]},eB=function(x,r){return x===r[20]?r:[0,r[1],r[2],r[3],r[4],r[5],r[6],r[7],r[8],r[9],r[10],r[11],r[12],r[13],r[14],r[15],r[16],r[17],r[18],r[19],x,r[21],r[22],r[23],r[24],r[25],r[26],r[27],r[28],r[29],r[30],r[31]]},Yv=function(x,r){return x===r[22]?r:[0,r[1],r[2],r[3],r[4],r[5],r[6],r[7],r[8],r[9],r[10],r[11],r[12],r[13],r[14],r[15],r[16],r[17],r[18],r[19],r[20],r[21],x,r[23],r[24],r[25],r[26],r[27],r[28],r[29],r[30],r[31]]},xO=function(x,r){return x===r[14]?r:[0,r[1],r[2],r[3],r[4],r[5],r[6],r[7],r[8],r[9],r[10],r[11],r[12],r[13],x,r[15],r[16],r[17],r[18],r[19],r[20],r[21],r[22],r[23],r[24],r[25],r[26],r[27],r[28],r[29],r[30],r[31]]},r6=function(x,r){return x===r[8]?r:[0,r[1],r[2],r[3],r[4],r[5],r[6],r[7],x,r[9],r[10],r[11],r[12],r[13],r[14],r[15],r[16],r[17],r[18],r[19],r[20],r[21],r[22],r[23],r[24],r[25],r[26],r[27],r[28],r[29],r[30],r[31]]},e6=function(x,r){return x===r[12]?r:[0,r[1],r[2],r[3],r[4],r[5],r[6],r[7],r[8],r[9],r[10],r[11],x,r[13],r[14],r[15],r[16],r[17],r[18],r[19],r[20],r[21],r[22],r[23],r[24],r[25],r[26],r[27],r[28],r[29],r[30],r[31]]},Bv=function(x,r){return x===r[15]?r:[0,r[1],r[2],r[3],r[4],r[5],r[6],r[7],r[8],r[9],r[10],r[11],r[12],r[13],r[14],x,r[16],r[17],r[18],r[19],r[20],r[21],r[22],r[23],r[24],r[25],r[26],r[27],r[28],r[29],r[30],r[31]]},rO=function(x,r){return x===r[16]?r:[0,r[1],r[2],r[3],r[4],r[5],r[6],r[7],r[8],r[9],r[10],r[11],r[12],r[13],r[14],r[15],x,r[17],r[18],r[19],r[20],r[21],r[22],r[23],r[24],r[25],r[26],r[27],r[28],r[29],r[30],r[31]]},tB=function(x,r){return x===r[6]?r:[0,r[1],r[2],r[3],r[4],r[5],x,r[7],r[8],r[9],r[10],r[11],r[12],r[13],r[14],r[15],r[16],r[17],r[18],r[19],r[20],r[21],r[22],r[23],r[24],r[25],r[26],r[27],r[28],r[29],r[30],r[31]]},nB=function(x,r){return x===r[7]?r:[0,r[1],r[2],r[3],r[4],r[5],r[6],x,r[8],r[9],r[10],r[11],r[12],r[13],r[14],r[15],r[16],r[17],r[18],r[19],r[20],r[21],r[22],r[23],r[24],r[25],r[26],r[27],r[28],r[29],r[30],r[31]]},eO=function(x,r){return x===r[13]?r:[0,r[1],r[2],r[3],r[4],r[5],r[6],r[7],r[8],r[9],r[10],r[11],r[12],x,r[14],r[15],r[16],r[17],r[18],r[19],r[20],r[21],r[22],r[23],r[24],r[25],r[26],r[27],r[28],r[29],r[30],r[31]]},Yd=function(x,r){return[0,r[1],r[2],r[3],r[4],r[5],r[6],r[7],r[8],r[9],r[10],r[11],r[12],r[13],r[14],r[15],r[16],r[17],r[18],r[19],r[20],r[21],r[22],[0,x],r[24],r[25],r[26],r[27],r[28],r[29],r[30],r[31]]},tO=function(x){function r(e){return ex(x,e)}return function(e){return S2(r,e)}},x3=function(x){var r=x[4][1];return r?[0,r[1][2]]:0},uB=function(x){var r=x[4][1];return r?[0,r[1][1]]:0},iB=function(x){return[0,x[1],x[2],x[3],x[4],x[5],x[6],x[7],x[8],x[9],x[10],x[11],x[12],x[13],x[14],x[15],x[16],x[17],x[18],x[19],x[20],x[21],x[22],0,x[24],x[25],x[26],x[27],x[28],x[29],x[30],x[31]]},fB=function(x,r,e,t){return[0,x[1],x[2],h2[1],x[4],x[5],0,0,0,0,0,1,x[12],x[13],x[14],x[15],x[16],x[17],e,r,x[20],t,x[22],x[23],x[24],x[25],x[26],x[27],x[28],x[29],x[30],x[31]]},r3=function(x){return N(x,dv)&&N(x,F2)&&N(x,ya)&&N(x,Zp)&&N(x,kl)&&N(x,W3)&&N(x,j3)&&N(x,De)&&N(x,U2)?0:1},Xv=function(x){return N(x,hN)&&N(x,"eval")?0:1},Bd=function(x){var r=Ex(x,Hp),e=0;if(0<=r){if(0>>0){if(fe>=t+1>>>0)return 1}else if(t===6)return 0}return n6(x,r)},e3=function(x){return oB(0,x)},Oo=function(x,r){var e=hr(x,r),t=0;if(typeof e=="number")switch(e){case 28:case 42:case 52:case 53:case 54:case 55:case 56:case 57:case 58:var u=1;break;default:t=1}else if(e[0]===4)var u=r3(e[2]);else t=1;if(t)var u=0;if(u)return 1;var i=0;if(typeof e=="number")switch(e){case 14:case 48:case 60:case 61:case 62:case 63:case 64:case 65:case 126:i=1;break}else e[0]===4&&(i=1);return i?1:0},Xd=function(x,r){return cB(r,hr(x,r))},vB=function(x,r){var e=Oo(x,r);return e||Xd(x,r)},es=function(x){return Oo(0,x)},Lo=function(x){var r=W(x)===15?1:0;if(r)var e=r;else{var t=W(x)===64?1:0;if(t){var u=hr(1,x)===15?1:0;if(u)var i=t6(1,x)[2][1],e=Nx(x)[3][1]===i?1:0;else var e=u}else var e=t}return e},u6=function(x){var r=W(x);if(typeof r=="number")switch(r){case 13:case 40:return 1}else if(r[0]===4&&!N(r[3],Zh)&&hr(1,x)===40)return 1;return 0},iO=function(x){var r=x[28][1];if(r){var e=W(x);if(typeof e!="number"&&e[0]===4&&!N(e[3],vo)&&Oo(1,x))return 1;var t=0}else var t=r;return t},fO=function(x){var r=W(x);return typeof r!="number"&&r[0]===4&&!N(r[3],$1)?1:0},Bx=function(x,r){return ex(x,[0,Nx(x),r])},aB=function(x,r){var e=ZR(0,r);return x?[25,e,x[1]]:[23,e]},S1=function(x,r){var e=uO(r);return l(tO(r),e),Bx(r,aB(x,W(r)))},Wd=function(x){function r(e){return ex(x,[0,e[1],fe])}return function(e){return S2(r,e)}},lB=function(x,r){var e=x[6]?G0(Ar(Gc0),r,r,r):bc0;return S1([0,e],x)},Xt=function(x,r){var e=x[5];return e&&Bx(x,r)},vt=function(x,r){var e=x[5],t=r[2],u=r[1];return e&&ex(x,[0,u,t])},Wv=function(x,r){return ex(x,[0,r,[14,x[5]]])},$0=function(x){var r=x[27][1];if(r){var e=r[1],t=ba(x),u=W(x);l(e,[0,Nx(x),u,t])}var i=x[26][1],f=i[1],o=f?f[1][1]:Jd(i)[1];x[25][1]=o;var a=uO(x);l(tO(x),a);var y=x[2][1],h=Qc(Ro(0,x)[4],y);x[2][1]=h;var k=[0,Ro(0,x)];x[4][1]=k;var A=x[26][1];return A[2]?(A[1]=A[2],A[2]=0,0):(xB(A),A[1]=0,0)},v1=function(x,r){var e=p(BR,W(x),r);return e&&$0(x),e},J1=function(x,r){x[24][1]=[0,r,x[24][1]];var e=ba(x),t=bl(x[25][1],e);return x[26][1]=t,0},W1=function(x){var r=x[24][1],e=r?r[2]:Rx(qc0);x[24][1]=e;var t=ba(x),u=bl(x[25][1],t);return x[26][1]=u,0},mx=function(x){var r=Nx(x);if(W(x)===9&&n6(1,x)){var e=w0(x),t=Ro(1,x)[4],u=Fx(e,l(Ul(function(f){return f[1][2][1]<=r[3][1]?1:0}),t));return x6(x,[0,r[3][1]+1|0,0]),u}var i=w0(x);return x6(x,r[3]),i},Uo=function(x){var r=x[4][1];if(!r)return 0;var e=r[1][2],t=w0(x),u=l(Ul(function(i){return i[1][2][1]<=e[3][1]?1:0}),t);return x6(x,[0,e[3][1]+1|0,0]),u},Hs=function(x,r){return S1([0,ZR(Fc0,r)],x)},u0=function(x,r){return 1-p(BR,W(x),r)&&Hs(x,r),$0(x)},pB=function(x,r){var e=v1(x,r);return 1-e&&Hs(x,r),e},Vd=function(x,r){return pB(x,r),0},ts=function(x,r){var e=W(x),t=0;return typeof e!="number"&&e[0]===4&&Nr(e[3],r)&&(t=1),t||S1([0,l(Ar($c0),r)],x),$0(x)},ns=[Qr,fs0,zs(0)],yB=function(x,r,e){if(!e)return 0;var t=e[1],u=t[1],i=t[2];if(r[27][1]=[0,u],!x)return x;for(var f=i[2];;){if(!f)return 0;var o=f[2];l(u,f[1]);var f=o}},cO=function(x,r){var e=x[27][1];if(e){var t=e[1],u=xJ(0),i=[0,function(B){return iR(B,u)}];x[27][1]=i;var f=[0,[0,t,u]]}else var f=0;var o=x[31][1],a=x[25][1],y=x[24][1],h=x[4][1],k=x[2][1],A=x[1][1];try{var g=l(r,x);yB(1,x,f);var I=[0,g];return I}catch(U){var C=R1(U);if(C!==ns)throw q0(C,0);yB(0,x,f),x[1][1]=A,x[2][1]=k,x[4][1]=h,x[24][1]=y,x[25][1]=a,x[31][1]=o;var R=ba(x),L=bl(x[25][1],R);return x[26][1]=L,0}},Zd=function(x,r,e){var t=cO(x,e);return t?t[1]:r},i6=function(x,r){var e=gx(r);if(!e)return r;var t=e[1],u=e[2],i=l(x,t);return t===i?r:gx([0,i,u])},dB=id(as0,function(x){var r=PR(x,ss0),e=NR(x,vs0),t=e[24],u=e[28],i=e[41],f=e[90],o=e[OT],a=e[pA],y=e[yv],h=e[Uj],k=e[iM],A=e[aj],g=e[6],I=e[7],C=e[10],R=e[17],L=e[23],U=e[29],B=e[39],X=e[42],J=e[52],e0=e[60],i0=e[Ue],j=e[wv],Y=e[Ps],z=e[aa],F=e[pa],t0=e[lh],$=e[k_],f0=e[zM],c0=e[dj],v0=e[zS],s0=e[DN],o0=e[RT],E0=e[e5],k0=e[mk],M0=e[ey],D0=e[Bw],cx=e[Fg],g0=e[dT],Z0=e[$5],n0=e[V4],nx=e[Pv],xx=e[ZM],yx=e[YM],px=e[Dj],Tx=e[Hx],O0=e[TM],P0=e[tz],N0=e[ek],J0=e[sj],I0=e[ED],Q=RR(x,0,0,BK,zR,1)[1];function G(x0,S0,H){var h0=H[2],Y0=h0[2],U0=h0[1],tx=H[1];if(Y0){var Wx=Y0[1],Lx=function(Vx){return[0,tx,[0,U0,[0,Vx]]]};return Q0(l(x0[1][1+a],x0),Wx,H,Lx)}function ur(Vx){return[0,tx,[0,Vx,Y0]]}return Q0(p(x0[1][1+g],x0,S0),U0,H,ur)}function V(x0,S0,H){var h0=H[2],Y0=H[1],U0=Y0[3],tx=Y0[2],Wx=Y0[1];if(U0)var Lx=i6(l(x0[1][1+u],x0),U0),ur=tx;else var Lx=0,ur=p(x0[1][1+u],x0,tx);var Vx=p(x0[1][1+i],x0,h0);return tx===ur&&U0===Lx&&h0===Vx?H:[0,[0,Wx,ur,Lx],Vx]}function l0(x0,S0){var H=S0[2],h0=H[2],Y0=H[1],U0=S0[1];function tx(Wx){return[0,U0,[0,Y0,Wx]]}return Q0(l(x0[1][1+i],x0),h0,S0,tx)}function d0(x0,S0,H){var h0=H[3];function Y0(U0){return[0,H[1],H[2],U0]}return Q0(l(x0[1][1+i],x0),h0,H,Y0)}function A0(x0,S0){var H=S0[2];function h0(Y0){return[0,S0[1],Y0]}return Q0(l(x0[1][1+i],x0),H,S0,h0)}function M(x0,S0,H){var h0=H[3];function Y0(U0){return[0,H[1],H[2],U0]}return Q0(l(x0[1][1+i],x0),h0,H,Y0)}function L0(x0,S0,H){var h0=H[2],Y0=H[1],U0=i6(l(x0[1][1+a],x0),Y0),tx=p(x0[1][1+i],x0,h0);return Y0===U0&&h0===tx?H:[0,U0,tx]}function V0(x0,S0){var H=S0[2],h0=H[2],Y0=H[1],U0=S0[1];function tx(Wx){return[0,U0,[0,Y0,Wx]]}return Q0(l(x0[1][1+i],x0),h0,S0,tx)}function B0(x0,S0,H){var h0=H[4];function Y0(U0){return[0,H[1],H[2],H[3],U0]}return Q0(l(x0[1][1+i],x0),h0,H,Y0)}function vx(x0,S0,H){var h0=H[2];function Y0(U0){return[0,H[1],U0]}return Q0(l(x0[1][1+i],x0),h0,H,Y0)}function b0(x0,S0,H){var h0=H[3],Y0=H[2],U0=p(x0[1][1+Y],x0,Y0),tx=p(x0[1][1+i],x0,h0);return Y0===U0&&h0===tx?H:[0,H[1],U0,tx]}function hx(x0,S0,H){var h0=H[4],Y0=H[3],U0=H[2],tx=H[1],Wx=p(x0[1][1+i],x0,h0);if(Y0){var Lx=Yx(l(x0[1][1+A],x0),Y0);return Y0===Lx&&h0===Wx?H:[0,H[1],H[2],Lx,Wx]}if(U0){var ur=Yx(l(x0[1][1+k],x0),U0);return U0===ur&&h0===Wx?H:[0,H[1],ur,H[3],Wx]}var Vx=p(x0[1][1+a],x0,tx);return tx===Vx&&h0===Wx?H:[0,Vx,H[2],H[3],Wx]}function W0(x0,S0,H){var h0=H[4],Y0=H[3],U0=p(x0[1][1+a],x0,Y0),tx=p(x0[1][1+i],x0,h0);return Y0===U0&&h0===tx?H:[0,H[1],H[2],U0,tx]}function T(x0,S0,H){var h0=H[4];function Y0(U0){return[0,H[1],H[2],H[3],U0]}return Q0(l(x0[1][1+i],x0),h0,H,Y0)}function K(x0,S0,H){var h0=H[4];function Y0(U0){return[0,H[1],H[2],H[3],U0]}return Q0(l(x0[1][1+i],x0),h0,H,Y0)}function H0(x0,S0,H){var h0=H[2],Y0=H[1],U0=Y0[3],tx=Y0[2],Wx=Y0[1];if(U0)var Lx=i6(l(x0[1][1+u],x0),U0),ur=tx;else var Lx=0,ur=p(x0[1][1+u],x0,tx);var Vx=p(x0[1][1+i],x0,h0);return tx===ur&&U0===Lx&&h0===Vx?H:[0,[0,Wx,ur,Lx],Vx]}function sx(x0,S0,H){var h0=H[3],Y0=H[1],U0=r2(l(x0[1][1+f],x0),Y0),tx=p(x0[1][1+i],x0,h0);return Y0===U0&&h0===tx?H:[0,U0,H[2],tx]}function ux(x0,S0,H){var h0=H[2];function Y0(U0){return[0,H[1],U0]}return Q0(l(x0[1][1+i],x0),h0,H,Y0)}function z0(x0,S0){if(S0[0]===0){var H=S0[1],h0=function(ur){return[0,ur]};return Q0(l(x0[1][1+o],x0),H,S0,h0)}var Y0=S0[1],U0=Y0[2],tx=U0[2],Wx=Y0[1],Lx=p(x0[1][1+o],x0,tx);return tx===Lx?S0:[1,[0,Wx,[0,U0[1],Lx]]]}function Px(x0,S0,H){var h0=H[4],Y0=H[3],U0=p(x0[1][1+o0],x0,Y0),tx=p(x0[1][1+i],x0,h0);return Y0===U0&&h0===tx?H:[0,H[1],H[2],U0,tx]}function kx(x0,S0){var H=S0[2],h0=S0[1],Y0=H[4];function U0(tx){return[0,h0,[0,H[1],H[2],H[3],tx]]}return Q0(l(x0[1][1+i],x0),Y0,[0,h0,H],U0)}function $x(x0,S0,H){var h0=H[9],Y0=H[3],U0=p(x0[1][1+M0],x0,Y0),tx=p(x0[1][1+i],x0,h0);return Y0===U0&&h0===tx?H:[0,H[1],H[2],U0,H[4],H[5],H[6],H[7],H[8],tx,H[10]]}function Qx(x0,S0,H){var h0=H[4],Y0=H[3],U0=p(x0[1][1+a],x0,Y0),tx=p(x0[1][1+i],x0,h0);return Y0===U0&&h0===tx?H:[0,H[1],H[2],U0,tx]}function j0(x0,S0){var H=S0[2],h0=H[2],Y0=H[1],U0=S0[1];function tx(Wx){return[0,U0,[0,Y0,Wx]]}return Q0(l(x0[1][1+i],x0),h0,S0,tx)}function rr(x0,S0){var H=S0[2],h0=S0[1],Y0=H[3];function U0(tx){return[0,h0,[0,H[1],H[2],tx]]}return Q0(l(x0[1][1+i],x0),Y0,[0,h0,H],U0)}function zx(x0,S0,H){var h0=H[6],Y0=H[5],U0=p(x0[1][1+nx],x0,Y0),tx=p(x0[1][1+i],x0,h0);return Y0===U0&&h0===tx?H:[0,H[1],H[2],H[3],H[4],U0,tx,H[7]]}function X0(x0,S0){var H=S0[2],h0=H[2],Y0=H[1],U0=S0[1];if(h0===0){var tx=function(ur){return[0,U0,[0,ur,h0]]};return Q0(l(x0[1][1+o],x0),Y0,S0,tx)}function Wx(ur){return[0,U0,[0,Y0,ur]]}var Lx=l(x0[1][1+t],x0);return Q0(function(ur){return Yx(Lx,ur)},h0,S0,Wx)}function ir(x0,S0){var H=S0[2],h0=H[2],Y0=H[1],U0=S0[1];function tx(Lx){return[0,U0,[0,Lx,h0]]}var Wx=l(x0[1][1+y],x0);return Q0(function(Lx){return i6(Wx,Lx)},Y0,S0,tx)}function K0(x0,S0,H){var h0=H[2],Y0=H[1];if(h0===0){var U0=function(Lx){return[0,Lx,H[2],H[3]]};return Q0(l(x0[1][1+a],x0),Y0,H,U0)}function tx(Lx){return[0,H[1],Lx,H[3]]}var Wx=l(x0[1][1+t],x0);return Q0(function(Lx){return Yx(Wx,Lx)},h0,H,tx)}function Sr(x0,S0){var H=S0[2],h0=H[2],Y0=H[1],U0=S0[1];function tx(Wx){return[0,U0,[0,Y0,Wx]]}return Q0(l(x0[1][1+i],x0),h0,S0,tx)}function Dr(x0,S0,H){var h0=H[7],Y0=H[2],U0=p(x0[1][1+h],x0,Y0),tx=p(x0[1][1+i],x0,h0);return Y0===U0&&h0===tx?H:[0,H[1],U0,H[3],H[4],H[5],H[6],tx]}function ax(x0,S0){var H=S0[2],h0=H[2],Y0=H[1],U0=S0[1];function tx(Wx){return[0,U0,[0,Y0,Wx]]}return Q0(l(x0[1][1+i],x0),h0,S0,tx)}function br(x0,S0){var H=S0[2],h0=H[2],Y0=H[1],U0=S0[1];function tx(Wx){return[0,U0,[0,Y0,Wx]]}return Q0(l(x0[1][1+i],x0),h0,S0,tx)}function t2(x0,S0,H){var h0=H[4],Y0=H[3],U0=p(x0[1][1+A],x0,Y0),tx=p(x0[1][1+i],x0,h0);return Y0===U0&&h0===tx?H:[0,H[1],H[2],U0,tx]}function k1(x0,S0,H){var h0=H[2];function Y0(U0){return[0,H[1],U0]}return Q0(l(x0[1][1+i],x0),h0,H,Y0)}function Rr(x0,S0,H){var h0=H[4],Y0=H[3],U0=p(x0[1][1+a],x0,Y0),tx=p(x0[1][1+i],x0,h0);return Y0===U0&&h0===tx?H:[0,H[1],H[2],U0,tx]}function U1(x0,S0,H){var h0=H[4],Y0=H[3],U0=p(x0[1][1+a],x0,Y0),tx=p(x0[1][1+i],x0,h0);return Y0===U0&&h0===tx?H:[0,H[1],H[2],U0,tx]}function _(x0,S0){var H=S0[2];function h0(Y0){return[0,S0[1],Y0]}return Q0(l(x0[1][1+i],x0),H,S0,h0)}function b(x0,S0,H){var h0=H[2];function Y0(U0){return[0,H[1],U0]}return Q0(l(x0[1][1+i],x0),h0,H,Y0)}return LR(x,[0,X,function(x0,S0){var H=S0[2],h0=l(Ul(function(U0){return Fs(U0[1][2],x0[1+r])<0?1:0}),H),Y0=Fc(h0);return Fc(H)===Y0?S0:[0,S0[1],h0,S0[3]]},I0,b,J0,_,N0,U1,P0,Rr,O0,k1,Tx,t2,A,br,k,ax,px,Dr,h,Sr,yx,K0,xx,ir,y,X0,n0,zx,Z0,rr,g0,j0,cx,Qx,D0,$x,k0,kx,E0,Px,s0,z0,v0,ux,c0,sx,f0,H0,$,K,t0,T,F,W0,j,hx,z,b0,i0,vx,f,B0,e0,V0,J,L0,B,M,U,A0,L,d0,R,l0,C,V,I,G]),function(x0,S0,H){var h0=fd(S0,x);return h0[1+r]=H,l(Q,h0),OR(S0,h0,x)}}),$d=function(x){var r=x3(x);if(r)var e=r[1],t=sB(x)?(x6(x,e[3]),[0,p(dB[1],0,e[3])]):0,u=t;else var u=0;return[0,0,function(i,f){return u?p(f,u[1],i):i}]},f6=function(x){var r=x3(x);if(r){var e=r[1];if(sB(x)){x6(x,e[3]);var t=Uo(x),u=[0,p(dB[1],0,[0,e[3][1]+1|0,0])],i=t}else var u=0,i=Uo(x)}else var u=0,i=0;return[0,i,function(f,o){return u?p(o,u[1],f):f}]},I1=function(x){return b2(x)?f6(x):$d(x)},Tn=function(x,r){var e=I1(x)[2];return p(e,r,function(t,u){return p(qx(t,Na,2),t,u)})},xe=function(x,r){if(!r)return 0;var e=r[1],t=I1(x)[2];return[0,p(t,e,function(u,i){return p(qx(u,WP,5),u,i)})]},sO=function(x,r){var e=I1(x)[2];return p(e,r,function(t,u){return p(qx(t,pM,7),t,u)})},t3=function(x,r){var e=I1(x)[2];return p(e,r,function(t,u){return p(qx(t,-1045824777,8),t,u)})},c6=function(x,r){var e=I1(x)[2];return p(e,r,function(t,u){return p(qx(t,-455772979,9),t,u)})},mB=function(x,r){if(!r)return 0;var e=r[1],t=I1(x)[2];return[0,p(t,e,function(u,i){return p(qx(u,VD,12),u,i)})]},Sn=function(x,r){var e=I1(x)[2];return p(e,r,function(t,u){return p(qx(t,GU,13),t,u)})},kB=function(x,r){var e=I1(x)[2];return p(e,r,function(t,u){var i=l(qx(t,zj,15),t);return i6(function(f){return r2(i,f)},u)})},hB=function(x,r){var e=I1(x)[2];return p(e,r,function(t,u){return p(qx(t,-21476009,16),t,u)})},bT0=function(x,r){var e=x[2],t=x[1];function u(br){return g2(br,r)}switch(e[0]){case 0:var i=e[1],f=JR(i[2],r),ax=[0,[0,i[1],f]];break;case 1:var o=e[1],a=u(o[2]),ax=[1,[0,o[1],a]];break;case 2:var y=e[1],h=u(y[7]),ax=[2,[0,y[1],y[2],y[3],y[4],y[5],y[6],h]];break;case 3:var k=e[1],A=k[7],g=u(k[6]),ax=[3,[0,k[1],k[2],k[3],k[4],k[5],g,A]];break;case 4:var I=e[1],C=u(I[2]),ax=[4,[0,I[1],C]];break;case 5:var ax=[5,[0,u(e[1][1])]];break;case 6:var R=e[1],L=u(R[7]),ax=[6,[0,R[1],R[2],R[3],R[4],R[5],R[6],L]];break;case 7:var U=e[1],B=u(U[5]),ax=[7,[0,U[1],U[2],U[3],U[4],B]];break;case 8:var X=e[1],J=u(X[3]),ax=[8,[0,X[1],X[2],J]];break;case 9:var e0=e[1],i0=u(e0[5]),ax=[9,[0,e0[1],e0[2],e0[3],e0[4],i0]];break;case 10:var j=e[1],Y=u(j[4]),ax=[10,[0,j[1],j[2],j[3],Y]];break;case 11:var z=e[1],F=u(z[5]),ax=[11,[0,z[1],z[2],z[3],z[4],F]];break;case 12:var t0=e[1],$=u(t0[4]),ax=[12,[0,t0[1],t0[2],t0[3],$]];break;case 13:var f0=e[1],c0=u(f0[2]),ax=[13,[0,f0[1],c0]];break;case 14:var v0=e[1],s0=u(v0[4]),ax=[14,[0,v0[1],v0[2],v0[3],s0]];break;case 15:var o0=e[1],E0=u(o0[5]),ax=[15,[0,o0[1],o0[2],o0[3],o0[4],E0]];break;case 16:var k0=e[1],M0=u(k0[4]),ax=[16,[0,k0[1],k0[2],k0[3],M0]];break;case 17:var D0=e[1],cx=u(D0[3]),ax=[17,[0,D0[1],D0[2],cx]];break;case 18:var ax=[18,[0,u(e[1][1])]];break;case 19:var g0=e[1],Z0=u(g0[3]),ax=[19,[0,g0[1],g0[2],Z0]];break;case 20:var n0=e[1],nx=u(n0[3]),ax=[20,[0,n0[1],n0[2],nx]];break;case 21:var xx=e[1],yx=u(xx[5]),ax=[21,[0,xx[1],xx[2],xx[3],xx[4],yx]];break;case 22:var px=e[1],Tx=u(px[3]),ax=[22,[0,px[1],px[2],Tx]];break;case 23:var O0=e[1],P0=u(O0[5]),ax=[23,[0,O0[1],O0[2],O0[3],O0[4],P0]];break;case 24:var N0=e[1],J0=u(N0[5]),ax=[24,[0,N0[1],N0[2],N0[3],N0[4],J0]];break;case 25:var I0=e[1],Q=u(I0[5]),ax=[25,[0,I0[1],I0[2],I0[3],I0[4],Q]];break;case 26:var G=e[1],V=G[10],l0=u(G[9]),ax=[26,[0,G[1],G[2],G[3],G[4],G[5],G[6],G[7],G[8],l0,V]];break;case 27:var d0=e[1],A0=u(d0[4]),ax=[27,[0,d0[1],d0[2],d0[3],A0]];break;case 28:var M=e[1],L0=u(M[5]),ax=[28,[0,M[1],M[2],M[3],M[4],L0]];break;case 29:var V0=e[1],B0=u(V0[5]),ax=[29,[0,V0[1],V0[2],V0[3],V0[4],B0]];break;case 30:var vx=e[1],b0=u(vx[3]),ax=[30,[0,vx[1],vx[2],b0]];break;case 31:var hx=e[1],W0=hx[3],T=u(hx[2]),ax=[31,[0,hx[1],T,W0]];break;case 32:var K=e[1],H0=K[4],sx=u(K[3]),ax=[32,[0,K[1],K[2],sx,H0]];break;case 33:var ux=e[1],z0=u(ux[2]),ax=[33,[0,ux[1],z0]];break;case 34:var Px=e[1],kx=u(Px[4]),ax=[34,[0,Px[1],Px[2],Px[3],kx]];break;case 35:var $x=e[1],Qx=u($x[4]),ax=[35,[0,$x[1],$x[2],$x[3],Qx]];break;case 36:var j0=e[1],rr=u(j0[5]),ax=[36,[0,j0[1],j0[2],j0[3],j0[4],rr]];break;case 37:var zx=e[1],X0=u(zx[3]),ax=[37,[0,zx[1],zx[2],X0]];break;case 38:var ir=e[1],K0=u(ir[3]),ax=[38,[0,ir[1],ir[2],K0]];break;default:var Sr=e[1],Dr=u(Sr[3]),ax=[39,[0,Sr[1],Sr[2],Dr]]}return[0,t,ax]};id(ls0,function(x){var r=PR(x,cs0),e=CR(os0),t=e.length-1,u=YK.length-1,i=za(t+u|0,0),f=t-1|0,o=0;if(f>=0)for(var a=o;;){var y=Xl(x,X1(e,a)[1+a]);X1(i,a)[1+a]=y;var h=a+1|0;if(f!==a){var a=h;continue}break}var k=u-1|0,A=0;if(k>=0)for(var g=A;;){var I=g+t|0,C=PR(x,X1(YK,g)[1+g]);X1(i,I)[1+I]=C;var R=g+1|0;if(k!==g){var g=R;continue}break}var L=i[4],U=i[5],B=i[B3],X=i[yv],J=i[292],e0=i[293],i0=i[44],j=i[H8],Y=i[Jz],z=RR(x,0,0,BK,zR,1)[1];function F(s0,o0,E0){return p(s0[1][1+B],s0,E0[2]),E0}function t0(s0,o0){return p(s0[1][1+X],s0,o0),o0}function $(s0,o0){var E0=o0[1],k0=s0[1+e0];if(k0){var M0=Fs(k0[1][1][2],E0[2])<0?1:0,D0=M0&&(s0[1+e0]=[0,o0],0);return D0}var cx=0<=Fs(E0[2],s0[1+r][3])?1:0,g0=cx&&(s0[1+e0]=[0,o0],0);return g0}function f0(s0,o0){var E0=o0[1],k0=s0[1+J];if(k0){var M0=Fs(E0[2],k0[1][1][2])<0?1:0,D0=M0&&(s0[1+J]=[0,o0],0);return D0}var cx=Fs(E0[2],s0[1+r][2])<0?1:0,g0=cx&&(s0[1+J]=[0,o0],0);return g0}function c0(s0,o0){return o0?p(s0[1][1+X],s0,o0[1]):0}function v0(s0,o0){var E0=o0[2],k0=o0[1];return S2(l(s0[1][1+U],s0),k0),S2(l(s0[1][1+L],s0),E0)}return LR(x,[0,j,function(s0){return[0,s0[1+J],s0[1+e0]]},X,v0,B,c0,U,f0,L,$,i0,t0,Y,F]),function(s0,o0,E0){var k0=fd(o0,x);return k0[1+r]=E0,l(z,k0),k0[1+J]=0,k0[1+e0]=0,OR(o0,k0,x)}});var _B=function(x){var r=W(x),e=0;if(typeof r=="number"){var t=r;if(49<=t)switch(t){case 49:var u=Fs0;break;case 50:var u=Qs0;break;case 51:var u=Hs0;break;case 52:var u=qs0;break;case 53:var u=Gs0;break;case 54:var u=bs0;break;case 55:var u=xo0;break;case 56:var u=ro0;break;case 57:var u=eo0;break;case 58:var u=to0;break;case 59:var u=no0;break;case 60:var u=uo0;break;case 61:var u=io0;break;case 62:var u=fo0;break;case 63:var u=co0;break;case 64:var u=so0;break;case 65:var u=oo0;break;case 114:var u=vo0;break;case 115:var u=ao0;break;case 116:var u=lo0;break;case 117:var u=po0;break;case 118:var u=yo0;break;case 119:var u=do0;break;case 120:var u=mo0;break;case 121:var u=ko0;break;case 122:var u=ho0;break;case 123:var u=_o0;break;case 124:var u=wo0;break;case 125:var u=To0;break;case 126:var u=So0;break;case 128:var u=Eo0;break;case 129:var u=Ao0;break;default:e=1}else switch(t){case 15:var u=ps0;break;case 16:var u=ys0;break;case 17:var u=ds0;break;case 18:var u=ms0;break;case 19:var u=ks0;break;case 20:var u=hs0;break;case 21:var u=_s0;break;case 22:var u=ws0;break;case 23:var u=Ts0;break;case 24:var u=Ss0;break;case 25:var u=Es0;break;case 26:var u=As0;break;case 27:var u=gs0;break;case 28:var u=Ns0;break;case 29:var u=Is0;break;case 30:var u=Ps0;break;case 31:var u=Cs0;break;case 32:var u=Rs0;break;case 33:var u=Os0;break;case 34:var u=Ls0;break;case 35:var u=Us0;break;case 36:var u=Ms0;break;case 37:var u=Ds0;break;case 38:var u=js0;break;case 39:var u=zs0;break;case 40:var u=Ks0;break;case 41:var u=Js0;break;case 42:var u=Ys0;break;case 43:var u=Bs0;break;case 44:var u=Xs0;break;case 45:var u=Ws0;break;case 46:var u=Vs0;break;case 47:var u=Zs0;break;case 48:var u=$s0;break;default:e=1}}else switch(r[0]){case 4:var u=r[2];break;case 11:var i=r[1]?go0:No0,u=i;break;default:e=1}if(e){S1(Io0,x);var u=Po0}return $0(x),u},_2=function(x){var r=Nx(x),e=w0(x),t=_B(x);return[0,r,[0,t,m0([0,e],[0,mx(x)],0)]]},wB=function(x){var r=Nx(x),e=w0(x);u0(x,14);var t=Nx(x),u=_B(x),i=m0([0,e],[0,mx(x)],0),f=i1(r,t),o=t[2],a=r[3],y=a[1]===o[1]?1:0,h=y&&(a[2]===o[2]?1:0);return 1-h&&ex(x,[0,f,Vi]),[0,f,[0,u,i]]},Vv=function(x){var r=x[2],e=r[3]===0?1:0,t=r[2];if(!e)return e;for(var u=t;;){if(!u)return 1;var i=u[1][2],f=0,o=u[2];if(i[1][2][0]===2&&!i[2]){var a=1;f=1}if(!f)var a=0;if(!a)return a;var u=o}},s6=function(x){for(var r=x;;){var e=r[2];if(e[0]!==30)return 0;var t=e[1][2];if(t[2][0]===26)return 1;var r=t}},Fd=function(x,r,e){var t=e[2][1],u=e[1];if(!N(t,_v)){var i=r[19];return i&&ex(r,[0,u,6])}if(N(t,ya)){if(!N(t,U2))return r[18]?ex(r,[0,u,99]):vt(r,[0,u,84])}else if(r[14])return ex(r,[0,u,[23,pd(t)]]);if(r3(t))return vt(r,[0,u,84]);if(Bd(t))return ex(r,[0,u,99]);if(x){var f=x[1];if(Xv(t))return vt(r,[0,u,f])}return 0},a0=function(x,r,e){var t=x?x[1]:Nx(e),u=l(r,e),i=x3(e),f=i?i1(t,i[1]):t;return[0,f,u]},Qd=function(x,r,e){var t=a0(x,r,e),u=t[2];return[0,[0,t[1],u[1]],u[2]]},Hd=function(x){J1(x,0);var r=W(x);W1(x);var e=hr(1,x),t=0;if(typeof r=="number")r===21&&(t=1);else if(r[0]===4)if(N(r[3],da))t=1;else{var u=0;typeof e=="number"?e===21&&(u=1):e[0]===4&&(u=1),t=u?2:1}var i=0;switch(t){case 1:typeof e=="number"?m1===e&&(i=1):e[0]===4&&!N(e[3],al)&&(i=1);break;case 0:break;default:i=1}return i?1:0},TB=function(x){switch(x){case 3:return 2;case 4:return 1;case 5:return 1;case 6:return 1;case 7:return 1;default:return 1}},oO=function(x,r,e){if(e){var t=e[1],u=0;if(t===8232||H1===t)u=1;else var i=t===10?6:t===13?5:b3<=t?3:vP<=t?2:m1<=t?1:0;if(u)var i=7;var f=i}else var f=4;return[0,f,x]},xS0=[Qr,fv0,zs(0)],SB=function(x,r,e,t){try{var u=X1(x,r)[1+r];return u}catch(f){var i=R1(f);throw i[1]===qC?q0([0,xS0,e,G0(Ar(uv0),t,r,x.length-1)],1):q0(i,0)}},qd=function(x,r){if(r[1]===0&&r[2]===0)return 0;var e=SB(x,r[1]-1|0,r,tv0);return SB(e,r[2],r,nv0)},EB=function(x){var r=[0,Ov0,h2[1],0,0];function e(o){var a=W(o);if(typeof a=="number"){var y=0;if(8<=a?10>a&&(y=1):a===1&&(y=1),y)return 1}return 0}function t(o){var a=Nx(o),y=w0(o),h=W(o);if(typeof h=="number")switch(h){case 30:case 31:$0(o);var k=mx(o);return e(o)?[1,a,[0,h===31?1:0,m0([0,y],[0,k],0)]]:[0,a]}else switch(h[0]){case 0:var A=h[2],g=G0(x[24],o,h[1],A),I=mx(o);return e(o)?[2,a,[0,g,A,m0([0,y],[0,I],0)]]:[0,a];case 1:var C=h[2],R=G0(x[26],o,h[1],C),L=mx(o);return e(o)?[4,a,[0,R,C,m0([0,y],[0,L],0)]]:[0,a];case 2:var U=h[1],B=U[1],X=U[3],J=U[2];U[4]&&Xt(o,80),$0(o);var e0=mx(o);return e(o)?[3,B,[0,J,X,m0([0,y],[0,e0],0)]]:[0,B]}return $0(o),[0,a]}function u(o){var a=_2(o),y=W(o),h=0;if(typeof y=="number")if(y===82){u0(o,82);var k=t(o)}else if(y===86){Bx(o,[8,a[2][1]]),u0(o,86);var k=t(o)}else h=1;else h=1;if(h)var k=0;return[0,a,k]}var i=0;function f(o,a,y,h,k,A,g){var I=Fc(k),C=Fc(A);function R(U){return[2,[0,[0,A],y,h,g]]}function L(U){return[2,[0,[1,k],y,h,g]]}return I===0?R(0):C===0?L(0):I>>0){if(fe>=i0+1>>>0){var j=J[3],Y=J[4],z=gx(J[1][5]),F=gx(J[1][4]),t0=gx(J[1][3]),$=gx(J[1][2]),f0=gx(J[1][1]),c0=Fx(Y,w0(C));u0(C,1);var v0=W(C),s0=0;if(typeof v0=="number"){var o0=0;if(v0===1||Er===v0?o0=1:s0=1,o0)var E0=mx(C)}else s0=1;if(s0)var E0=b2(C)?Uo(C):0;var k0=K1([0,X],[0,E0],c0,0);if(B){switch(B[1]){case 0:var M0=[0,[0,f0,1,j,k0]];break;case 1:var M0=[1,[0,$,1,j,k0]];break;case 2:var M0=f(C,A,1,j,t0,z,k0);break;case 3:var M0=[3,[0,z,j,k0]];break;default:var M0=[4,[0,F,1,j,k0]]}var D0=M0}else{var cx=Fc(f0),g0=Fc($),Z0=Fc(t0),n0=Fc(z),nx=function(b){return[2,[0,gv0,0,j,k0]]},xx=0;if(cx===0&&g0===0){var yx=0;if(Z0===0&&n0===0)var px=nx(0);else yx=1;if(yx)var px=f(C,A,0,j,t0,z,k0)}else xx=1;if(xx){var Tx=0;if(g0===0&&Z0===0&&n0<=cx){S2(function(x0){return ex(C,[0,x0[1],[3,A,x0[2][1][2][1]]])},z);var px=[0,[0,f0,0,j,k0]];Tx=1}if(!Tx){var O0=0;if(cx===0&&Z0===0&&n0<=g0){S2(function(x0){return ex(C,[0,x0[1],[11,A,x0[2][1][2][1]]])},z);var px=[1,[0,$,0,j,k0]];O0=1}if(!O0){ex(C,[0,g,[5,A]]);var px=nx(0)}}}var D0=px}return D0}}else if(i0===10){var P0=Nx(C),N0=w0(C);$0(C);var J0=W(C),I0=0;if(typeof J0=="number"){var Q=J0-2|0,G=0;if(P1>>0)fe>=Q+1>>>0&&(G=1);else if(Q===7){u0(C,9);var V=W(C),l0=0;if(typeof V=="number"){var d0=0;if((V===1||Er===V)&&(d0=1),d0){var A0=1;l0=1}}if(!l0)var A0=0;ex(C,[0,P0,[6,A0]]),G=1}G&&(I0=1)}I0||ex(C,[0,P0,Av0]);var J=[0,J[1],J[2],1,N0];continue}}var M=J[2],L0=J[1],V0=a0(i,u,C),B0=V0[2],vx=B0[2],b0=B0[1],hx=V0[1],W0=b0[2][1],T=b0[1];if(Nr(W0,wx))var K=J;else{var H0=C1(W0,0),sx=97<=H0?1:0,ux=sx&&(H0<=qr?1:0);ux&&ex(C,[0,T,[10,A,W0]]),p(h2[3],W0,M)&&ex(C,[0,T,[4,A,W0]]);var z0=J[4],Px=J[3],kx=p(h2[4],W0,M),$x=[0,J[1],kx,Px,z0],Qx=function(_){return function(b,x0){return B&&B[1]!==b?ex(C,[0,x0,[9,A,B,_]]):0}}(W0);if(typeof vx=="number"){var j0=0;if(B)switch(B[1]){case 0:ex(C,[0,hx,[3,A,W0]]);var K=$x;break;case 1:ex(C,[0,hx,[11,A,W0]]);var K=$x;break;case 4:ex(C,[0,hx,[2,A,W0]]);var K=$x;break;default:j0=1}else j0=1;if(j0)var K=[0,[0,L0[1],L0[2],L0[3],L0[4],[0,[0,hx,[0,b0]],L0[5]]],kx,Px,z0]}else switch(vx[0]){case 0:ex(C,[0,vx[1],[9,A,B,W0]]);var K=$x;break;case 1:var rr=vx[1],zx=vx[2];Qx(0,rr);var K=[0,[0,[0,[0,hx,[0,b0,[0,rr,zx]]],L0[1]],L0[2],L0[3],L0[4],L0[5]],kx,Px,z0];break;case 2:var X0=vx[1],ir=vx[2];Qx(1,X0);var K=[0,[0,L0[1],[0,[0,hx,[0,b0,[0,X0,ir]]],L0[2]],L0[3],L0[4],L0[5]],kx,Px,z0];break;case 3:var K0=vx[1],Sr=vx[2];Qx(2,K0);var K=[0,[0,L0[1],L0[2],[0,[0,hx,[0,b0,[0,K0,Sr]]],L0[3]],L0[4],L0[5]],kx,Px,z0];break;default:var Dr=vx[1],ax=vx[2];Qx(4,Dr);var K=[0,[0,L0[1],L0[2],L0[3],[0,[0,hx,[0,b0,[0,Dr,ax]]],L0[4]],L0[5]],kx,Px,z0]}}var br=W(C),t2=0;if(typeof br=="number"){var k1=br-2|0,Rr=0;P1>>0?fe>=k1+1>>>0&&(Rr=1):k1===6&&(Bx(C,22),u0(C,8),Rr=1),Rr&&(t2=1)}t2||u0(C,9);var J=K}},a);return[0,k,I,m0([0,h],0,0)]}]},Gd=function(x,r,e){if(typeof e=="number")return[0,x,r];if(e[0]===0){var t=e[1],u=Ex(x,t),i=e[2];return u===0?i===r?e:[0,t,r]:0<=u?[1,2,x,r,e,0]:[1,2,x,r,0,e]}var f=e[5],o=e[4],a=e[3],y=e[2],h=Ex(x,y),k=e[1];if(h===0)return a===r?e:[1,k,x,r,o,f];if(0<=h){var A=Gd(x,r,f);return f===A?e:qJ(o,y,a,A)}var g=Gd(x,r,o);return o===g?e:qJ(g,y,a,f)},n3=function(x){return[0,wn(x)]},vO=uY([0,function(x,r){var e=r[2],t=x[2],u=vY(x[1],r[1]);return u===0?p(aY,t,e):u}]),o6=function(x,r,e){var t=e[2][1],u=e[1];return Nr(t,wx)?r:p(h2[3],t,r)?(ex(x,[0,u,[0,t]]),r):p(h2[4],t,r)},aO=function(x){return function(r){var e=r[2];switch(e[0]){case 0:var t=e[1][1];return b1(function(i,f){var o=f[0]===0?f[1][2][2]:f[1][2][1];return l(aO(i),o)},x,t);case 1:var u=e[1][1];return b1(function(i,f){if(f[0]===2)return i;var o=f[1][2][1];return l(aO(i),o)},x,u);case 2:return[0,e[1][1],x];default:return Rx(Ul0)}}},lx=UJ(Dl0,Ml0[1]),bd=function(x,r,e){var t=x?x[1]:0,u=r?r[1]:0,i=Nx(e),f=W(e);if(typeof f=="number")switch(f){case 103:var o=w0(e);return $0(e),[0,[0,i,[0,0,m0([0,o],0,0)]]];case 104:var a=w0(e);return $0(e),[0,[0,i,[0,1,m0([0,a],0,0)]]];case 126:if(t){var y=w0(e);return $0(e),[0,[0,i,[0,2,m0([0,y],0,0)]]]}break}else if(f[0]===4){var h=f[3];if(N(h,mo)){if(!N(h,__)&&u&&Xd(1,e)){var k=w0(e);return $0(e),[0,[0,i,[0,4,m0([0,k],0,0)]]]}}else if(u&&Xd(1,e)){var A=w0(e);$0(e);var g=W(e),I=0;if(typeof g!="number"&&g[0]===4&&!N(g[3],__)){var C=Nx(e);$0(e);var R=i1(i,C),L=5;I=1}if(!I)var R=i,L=3;return[0,[0,R,[0,L,m0([0,A],0,0)]]]}}return 0},AB=function(x,r,e,t,u){r===1&&Xt(u,80);var i=w0(u);$0(u);var f=mx(u);if(x)var o=m0([0,Fx(x[1],i)],[0,f],0),a=o,y=Zx(ev0,t),h=-e;else var a=m0([0,i],[0,f],0),y=t,h=e;return[29,[0,h,y,a]]},gB=function(x,r,e,t){var u=w0(t);$0(t);var i=mx(t);if(x)var f=m0([0,Fx(x[1],u)],[0,i],0),o=Zx(rv0,e),a=f,y=o,h=Fy(BC,r);else var a=m0([0,u],[0,i],0),y=e,h=r;return[30,[0,h,y,a]]},Gr=function x(r){return x.fun(r)},u3=function x(r){return x.fun(r)},NB=function x(r){return x.fun(r)},IB=function x(r){return x.fun(r)},lO=function x(r,e,t){return x.fun(r,e,t)},xm=function x(r){return x.fun(r)},pO=function x(r,e,t,u){return x.fun(r,e,t,u)},yO=function x(r){return x.fun(r)},dO=function x(r,e,t,u){return x.fun(r,e,t,u)},mO=function x(r){return x.fun(r)},kO=function x(r,e){return x.fun(r,e)},hO=function x(r){return x.fun(r)},PB=function x(r){return x.fun(r)},rm=function x(r,e,t,u){return x.fun(r,e,t,u)},em=function x(r,e,t,u,i){return x.fun(r,e,t,u,i)},CB=function x(r){return x.fun(r)},RB=function x(r,e){return x.fun(r,e)},_O=function x(r){return x.fun(r)},OB=function x(r){return x.fun(r)},LB=function x(r){return x.fun(r)},UB=function x(r){return x.fun(r)},MB=function x(r){return x.fun(r)},wO=function x(r,e){return x.fun(r,e)},DB=function x(r){return x.fun(r)},jB=function x(r){return x.fun(r)},v6=function x(r,e){return x.fun(r,e)},zB=function x(r){return x.fun(r)},Zv=function x(r){return x.fun(r)},tm=function x(r){return x.fun(r)},KB=function x(r,e){return x.fun(r,e)},TO=function x(r){return x.fun(r)},JB=function x(r){return x.fun(r)},YB=function x(r){return x.fun(r)},BB=function x(r){return x.fun(r)},XB=function x(r){return x.fun(r)},nm=function x(r,e,t,u){return x.fun(r,e,t,u)},SO=function x(r){return x.fun(r)},um=function x(r){return x.fun(r)},EO=function x(r,e){return x.fun(r,e)},im=function x(r,e,t,u){return x.fun(r,e,t,u)},AO=function x(r){return x.fun(r)},Mo=function x(r){return x.fun(r)},WB=function x(r){return x.fun(r)},$v=function x(r){return x.fun(r)},gO=function x(r){return x.fun(r)},fm=function x(r){return x.fun(r)},NO=function x(r,e){return x.fun(r,e)},VB=function x(r,e){return x.fun(r,e)},ZB=function x(r){return x.fun(r)},$B=function x(r){return x.fun(r)},IO=function x(r){return x.fun(r)},FB=function x(r,e,t){return x.fun(r,e,t)};C0(Gr,function(x){return l(IB,x)}),C0(u3,function(x){return 1-T1(x)&&Bx(x,_1),a0(0,function(r){return u0(r,86),l(Gr,r)},x)}),C0(NB,function(x){1-T1(x)&&Bx(x,_1);var r=Nx(x);return u0(x,86),Hd(x)?[2,p(EO,x,r)]:[1,a0([0,r],Gr,x)]}),C0(IB,function(x){var r=Nx(x),e=rO(0,x);return G0(lO,e,r,l(xm,e))}),C0(lO,function(x,r,e){var t=W(x);return typeof t=="number"&&t===41?a0([0,r],function(u){u0(u,41);var i=l(xm,rO(1,u));Vd(u,85);var f=l(Gr,u);Vd(u,86);var o=l(Gr,u);return[17,[0,e,i,f,o,m0(0,[0,mx(u)],0)]]},x):e}),C0(xm,function(x){var r=Nx(x);if(W(x)===89){var e=w0(x);$0(x);var t=e}else var t=0;return oe(pO,x,[0,t],r,l(yO,x))}),C0(pO,function(x,r,e,t){var u=r?r[1]:0;if(W(x)!==89)return t;var i=[0,t,0];return a0([0,e],function(f){for(var o=i;;){if(v1(f,89)){var o=[0,l(yO,f),o];continue}var a=gx(o);if(a){var y=a[2];if(y){var h=y[2],k=y[1],A=a[1];return[22,[0,[0,A,k,h],m0([0,u],0,0)]]}}throw q0([0,Tr,xv0],1)}},x)}),C0(yO,function(x){var r=Nx(x);if(W(x)===91){var e=w0(x);$0(x);var t=e}else var t=0;return oe(dO,x,[0,t],r,l(mO,x))}),C0(dO,function(x,r,e,t){var u=r?r[1]:0;if(W(x)!==91)return t;var i=[0,t,0];return a0([0,e],function(f){for(var o=i;;){if(v1(f,91)){var o=[0,l(mO,f),o];continue}var a=gx(o);if(a){var y=a[2];if(y){var h=y[2],k=y[1],A=a[1];return[23,[0,[0,A,k,h],m0([0,u],0,0)]]}}throw q0([0,Tr,bo0],1)}},x)}),C0(mO,function(x){return p(kO,x,l(hO,x))}),C0(kO,function(x,r){var e=W(x);if(typeof e=="number"&&e===11&&!x[15]){var t=p(v6,x,r);return oe(nm,x,t[1],0,[0,t[1],[0,0,[0,t,0],0,0]])}return r}),C0(hO,function(x){var r=W(x);return typeof r=="number"&&r===85?a0(0,function(e){var t=w0(e);u0(e,85);var u=m0([0,t],0,0);return[11,[0,l(hO,e),u]]},x):l(PB,x)}),C0(PB,function(x){var r=Nx(x);return oe(rm,0,x,r,l(LB,x))}),C0(rm,function(x,r,e,t){var u=x?x[1]:0;if(b2(r))return t;var i=W(r);if(typeof i=="number"){if(i===6)return $0(r),Je(em,u,0,r,e,t);if(i===10){var f=hr(1,r);return typeof f=="number"&&f===6?(Bx(r,qo0),u0(r,10),u0(r,6),Je(em,u,0,r,e,t)):(Bx(r,Go0),t)}if(i===83)return $0(r),W(r)!==6&&Bx(r,45),u0(r,6),Je(em,1,1,r,e,t)}return t}),C0(em,function(x,r,e,t,u){return oe(rm,[0,x],e,t,a0([0,t],function(i){if(!r&&v1(i,7))return[16,[0,u,m0(0,[0,mx(i)],0)]];var f=l(Gr,i);u0(i,7);var o=[0,u,f,m0(0,[0,mx(i)],0)];return x?[21,[0,o,r]]:[20,o]},e))}),C0(CB,function(x){return p(RB,x,p(lx[13],0,x))}),C0(RB,function(x,r){for(var e=[0,r[1],[0,r]];;){var t=e[2],u=e[1];if(W(x)===10&&vB(1,x)){var i=a0([0,u],function(a){return function(y){return u0(y,10),[0,a,_2(y)]}}(t),x),f=i[1],e=[0,f,[1,[0,f,i[2]]]];continue}return t}}),C0(_O,function(x){if(J1(x,0),W(x)===4){$0(x);var r=l(_O,x);u0(x,5);var e=r}else var e=es(x)?[0,l(CB,x)]:(Bx(x,50),0);return W1(x),e}),C0(OB,function(x){return a0(0,function(r){var e=w0(r);u0(r,46);var t=l(_O,r);if(!t)return Ho0;var u=t[1];return[24,[0,u,m0([0,e],0,0)]]},x)}),C0(LB,function(x){var r=Nx(x),e=W(x),t=0;if(typeof e=="number")switch(e){case 4:return l(BB,x);case 6:return l(jB,x);case 46:return l(OB,x);case 53:return a0(0,function(J){var e0=w0(J);$0(J);var i0=l(AO,J),j=i0[2],Y=i0[1];return[15,[0,j,Y,m0([0,e0],0,0)]]},x);case 98:return l(XB,x);case 104:return a0(0,UB,x);case 106:var u=w0(x);return $0(x),[0,r,[10,m0([0,u],[0,mx(x)],0)]];case 125:return a0(0,function(J){var e0=w0(J);$0(J);var i0=mx(J),j=l(Gr,J);return[25,[0,j,m0([0,e0],[0,i0],0)]]},x);case 126:return a0(0,function(J){var e0=w0(J);$0(J);var i0=mx(J),j=l(Gr,J);return[26,[0,j,m0([0,e0],[0,i0],0)]]},x);case 127:return a0(0,function(J){var e0=w0(J);$0(J);var i0=mx(J),j=a0(0,function(Y){var z=l(Mo,Y);function F(t0){if(1-v1(t0,41))throw q0(ns,1);var $=l(xm,t0);if(!t0[16]&&W(t0)===85)throw q0(ns,1);return[1,[0,$[1],$]]}return[0,z,Zd(Y,[0,Nx(Y)],F),1,0,0]},J);return[18,[0,j,m0([0,e0],[0,i0],0)]]},x);case 0:case 2:var i=oe(im,0,1,1,x);return[0,i[1],[14,i[2]]];case 41:case 42:t=1;break;case 30:case 31:var f=w0(x);return $0(x),[0,r,[31,[0,e===31?1:0,m0([0,f],[0,mx(x)],0)]]]}else switch(e[0]){case 2:var o=e[1],a=o[3],y=o[2],h=o[1];o[4]&&Xt(x,80);var k=w0(x);return $0(x),[0,h,[28,[0,y,a,m0([0,k],[0,mx(x)],0)]]];case 4:if(N(e[3],vo))t=1;else{if(x[28][1])return a0(0,function(J){var e0=w0(J);ts(J,Zo0);var i0=xe(J,l($v,J)),j=l(TO,J);if(fO(J))var F=sO(J,l(IO,J)),t0=j;else var Y=[0,wn(J)],z=I1(J)[2],F=Y,t0=p(z,j,function($,f0){return p(qx($,420776873,11),$,f0)});return[13,[0,i0,t0,F,m0([0,e0],0,0)]]},x);t=1}break;case 7:if(!N(e[1],D3))return Bx(x,88),[0,r,$o0];break;case 12:var A=e[3],g=e[2],I=e[1],C=0;return a0(0,function(J){return AB(C,I,g,A,J)},x);case 13:var R=e[3],L=e[2],U=0;return a0(0,function(J){return gB(U,L,R,J)},x)}if(t){var B=l(fm,x);return[0,B[1],[19,B[2]]]}var X=l(DB,x);return X?[0,r,X[1]]:(S1(Fo0,x),[0,r,Qo0])}),C0(UB,function(x){var r=w0(x);$0(x);var e=W(x);if(typeof e!="number")switch(e[0]){case 12:return AB([0,r],e[1],e[2],e[3],x);case 13:return gB([0,r],e[2],e[3],x)}return S1(Wo0,x),Vo0}),C0(MB,function(x){var r=0;if(typeof x=="number")switch(x){case 29:case 114:case 115:case 116:case 117:case 118:case 119:case 120:case 121:case 122:case 123:case 124:r=1;break}else x[0]===11&&(r=1);return r?1:0}),C0(wO,function(x,r){var e=w0(x),t=a0(0,$0,x)[1],u=m0([0,e],[0,mx(x)],0);return[0,[19,[0,[0,hn(0,[0,t,r])],0,u]]]}),C0(DB,function(x){var r=w0(x),e=W(x);if(typeof e=="number")switch(e){case 29:return $0(x),[0,[4,m0([0,r],[0,mx(x)],0)]];case 114:return $0(x),[0,[0,m0([0,r],[0,mx(x)],0)]];case 115:return $0(x),[0,[1,m0([0,r],[0,mx(x)],0)]];case 116:return $0(x),[0,[2,m0([0,r],[0,mx(x)],0)]];case 117:return $0(x),[0,[5,m0([0,r],[0,mx(x)],0)]];case 118:return $0(x),[0,[6,m0([0,r],[0,mx(x)],0)]];case 119:return $0(x),[0,[7,m0([0,r],[0,mx(x)],0)]];case 120:return $0(x),[0,[3,m0([0,r],[0,mx(x)],0)]];case 121:return $0(x),[0,[9,m0([0,r],[0,mx(x)],0)]];case 122:return $0(x),[0,[32,m0([0,r],[0,mx(x)],0)]];case 123:return $0(x),[0,[33,m0([0,r],[0,mx(x)],0)]];case 124:return $0(x),[0,[34,m0([0,r],[0,mx(x)],0)]];case 128:return p(wO,x,Bo0);case 129:return p(wO,x,Xo0)}else if(e[0]===11){var t=e[1];$0(x);var u=mx(x),i=t?-883944824:737456202;return[0,[8,i,m0([0,r],[0,u],0)]]}return 0}),C0(jB,function(x){return a0(0,function(r){var e=w0(r);u0(r,6);for(var t=Bv(0,r),u=0;;){var i=W(t);if(typeof i=="number"){var f=0;if(i!==7&&Er!==i&&(f=1),!f){var o=gx(u);return u0(r,7),[27,[0,o,m0([0,e],[0,mx(r)],0)]]}}var a=[0,a0(0,function(h){if(!v1(h,12)){var k=W(h),A=0;if(typeof k=="number"&&(tt===k||ln===k&&Oo(1,h))){var g=bd(0,0,h);A=1}if(!A)var g=0;var I=es(h),C=hr(1,h);if(I&&typeof C=="number"&&1>=C+Ev>>>0){var R=_2(h),L=v1(h,85);return u0(h,86),[1,[0,R,l(Gr,h),g,L]]}var U=g?1:0;return U&&Bx(h,49),[0,l(Gr,h)]}var B=es(h),X=hr(1,h),J=0;if(B&&typeof X=="number"&&1>=X+Ev>>>0){var e0=_2(h);W(h)===85&&(Bx(h,48),$0(h)),u0(h,86);var i0=[0,e0];J=1}if(!J)var i0=0;return[2,[0,i0,l(Gr,h)]]},t),u];W(t)!==7&&u0(t,9);var u=a}},x)}),C0(v6,function(x,r){return[0,r[1],[0,0,r,0]]}),C0(zB,function(x){return a0(0,function(r){J1(r,0);var e=p(lx[13],0,r);W1(r),1-T1(r)&&Bx(r,_1);var t=v1(r,85);return u0(r,86),[0,[0,e],l(Gr,r),t]},x)});var QB=function(x){var r=hr(1,x);return typeof r=="number"&&1>=r+Ev>>>0?l(zB,x):p(v6,x,l(Gr,x))};C0(Zv,function(x){var r=0;return function(e){for(var t=r,u=e;;){var i=W(x);if(typeof i=="number")switch(i){case 5:case 12:case 113:var f=i===12?[0,a0(0,function(g){var I=w0(g);u0(g,12);var C=m0([0,I],0,0);return[0,QB(g),C]},x)]:0;return[0,t,gx(u),f,0]}else if(i[0]===4&&!N(i[3],fv)){var o=0;if(hr(1,x)!==86&&hr(1,x)!==85&&(o=1),!o){var a=t!==0?1:0,y=a||(u!==0?1:0);y&&Bx(x,93);var h=a0(0,function(I){var C=w0(I);$0(I),W(I)===85&&Bx(I,92);var R=m0([0,C],0,0);return[0,l(u3,I),R]},x);W(x)!==5&&u0(x,9);var t=[0,h];continue}}var k=[0,QB(x),u];W(x)!==5&&u0(x,9);var u=k}}}),C0(tm,function(x){return a0(0,function(r){var e=w0(r);u0(r,4);var t=p(Zv,r,0),u=w0(r);u0(r,5);var i=K1([0,e],[0,mx(r)],u,0);return[0,t[1],t[2],t[3],i]},x)}),C0(KB,function(x,r){for(var e=r;;){var t=W(x);if(typeof t=="number"){var u=t-5|0,i=0;if(7>>0?fn===u&&(i=1):5>>0&&(i=1),i){var f=t===12?[0,a0(0,function(y){var h=w0(y);u0(y,12);var k=hr(1,y),A=0;if(typeof k=="number")if(k===85){J1(y,0);var g=p(lx[13],0,y);W1(y),u0(y,85),u0(y,86);var C=1,R=[0,g]}else if(k===86){J1(y,0);var I=p(lx[13],0,y);W1(y),u0(y,86);var C=0,R=[0,I]}else A=1;else A=1;if(A)var C=0,R=0;var L=l(Gr,y);return[0,R,L,C,m0([0,h],0,0)]},x)]:0;return[0,gx(e),f,0]}}var o=[0,a0(0,function(y){var h=W(y),k=0;if(typeof h!="number"&&h[0]===2){var A=h[1],g=A[4],I=A[3],C=A[2],R=A[1];g&&Xt(y,80),u0(y,[2,[0,R,C,I,g]]);var L=[1,[0,R,[0,C,I,m0(0,[0,mx(y)],0)]]];k=1}if(!k){J1(y,0);var U=p(lx[13],0,y);W1(y);var L=[0,U]}var B=v1(y,85);return[0,L,l(u3,y),B]},x),e];W(x)!==5&&u0(x,9);var e=o}}),C0(TO,function(x){return a0(0,function(r){var e=w0(r);u0(r,4);var t=p(KB,r,0),u=w0(r);u0(r,5);var i=K1([0,e],[0,mx(r)],u,0);return[0,t[1],t[2],i]},x)}),C0(JB,function(x){var r=w0(x);u0(x,4);var e=Bv(0,x),t=W(e),u=0;if(typeof t=="number")switch(t){case 5:var i=Yo0;break;case 42:u=2;break;case 12:case 113:var i=[0,p(Zv,e,0)];break;default:u=1}else t[0]===4?u=2:u=1;switch(u){case 1:if(l(MB,t)){var f=hr(1,e),o=0;if(typeof f=="number"&&1>=f+Ev>>>0){var a=[0,p(Zv,e,0)];o=1}if(!o)var a=[1,l(Gr,e)];var i=a}else var i=[1,l(Gr,e)];break;case 2:var i=l(YB,e);break}if(i[0]===0)var y=i;else{var h=i[1];if(x[15])var k=i;else{var A=W(x),g=0;if(typeof A=="number")if(A===5)var I=hr(1,x)===11?[0,p(Zv,x,[0,p(v6,x,h),0])]:[1,h];else if(A===9){u0(x,9);var I=[0,p(Zv,x,[0,p(v6,x,h),0])]}else g=1;else g=1;if(g)var I=i;var k=I}var y=k}var C=w0(x);u0(x,5);var R=mx(x);if(y[0]===0)var L=y[1],U=K1([0,r],[0,R],C,0),B=[0,[0,L[1],L[2],L[3],U]];else var B=[1,G0(FB,y[1],r,R)];return B}),C0(YB,function(x){var r=hr(1,x);if(typeof r=="number"&&1>=r+Ev>>>0)return[0,p(Zv,x,0)];var e=Nx(x),t=p(VB,x,l(Mo,x)),u=l(G0(rm,0,x,e),t),i=l(l(kO,x),u),f=l(p(l(dO,x),0,e),i),o=l(p(l(pO,x),0,e),f);return[1,l(p(lO,rO(0,x),e),o)]}),C0(BB,function(x){var r=Nx(x),e=a0(0,JB,x),t=e[2],u=e[1];return t[0]===0?oe(nm,x,r,0,[0,u,t[1]]):t[1]}),C0(XB,function(x){var r=Nx(x),e=xe(x,l($v,x));return oe(nm,x,r,e,l(tm,x))}),C0(nm,function(x,r,e,t){return a0([0,r],function(u){return u0(u,11),[12,[0,e,t,l(SO,u),0]]},x)}),C0(SO,function(x){return Hd(x)?[1,l(um,x)]:[0,l(Gr,x)]}),C0(um,function(x){return a0(0,function(r){var e=w0(r),t=v1(r,yl);J1(r,0);var u=_2(r);W1(r);var i=W(r),f=0;if(typeof i=="number"&&m1===i){var o=w0(r);u0(r,m1);var a=Fx(o,w0(r)),y=a,h=[0,l(Gr,r)];f=1}if(!f)var y=0,h=0;return[0,t,[0,u,h],K1([0,e],0,y,0)]},x)}),C0(EO,function(x,r){return a0([0,r],um,x)});var cm=function(x,r,e){return a0([0,r],function(t){var u=l(tm,t);return u0(t,86),[0,e,u,l(SO,t),0]},x)},HB=function(x,r,e,t,u){var i=Sn(x,t),f=cm(x,r,xe(x,l($v,x))),o=[0,f[1],[12,f[2]]],a=[0,i,[0,o],0,e!==0?1:0,0,1,0,m0([0,u],0,0)];return[0,[0,o[1],a]]},sm=function(x,r,e,t,u,i,f){var o=f[2],a=f[1];return 1-T1(x)&&Bx(x,_1),[0,a0([0,r],function(y){var h=v1(y,85),k=pB(y,86)?l(Gr,y):[0,a,Jo0];return[0,o,[0,k],h,t!==0?1:0,u!==0?1:0,0,e,m0([0,i],0,0)]},x)]},a6=function(x,r){var e=W(r);if(typeof e=="number"&&10>e)switch(e){case 1:if(!x)return 0;break;case 3:if(x)return 0;break;case 8:case 9:return $0(r)}return Hs(r,9)},l6=function(x,r){return r?ex(x,[0,r[1][1],ut]):0},p6=function(x,r){return r?ex(x,[0,r[1],98]):0},rS0=function(x,r,e,t,u,i,f,o,a){for(var y=e,h=t,k=u,A=i,g=f,I=o;;){var C=W(x);if(typeof C=="number")switch(C){case 6:p6(x,g);var R=hr(1,x);if(typeof R=="number"&&R===6)return l6(x,k),[4,a0([0,a],function(O0){var P0=Fx(I,w0(O0));u0(O0,6),u0(O0,6);var N0=_2(O0);u0(O0,7),u0(O0,7);var J0=W(O0),I0=0;if(typeof J0=="number"){var Q=0;if((J0===4||J0===98)&&(Q=1),Q){var G=cm(O0,a,xe(O0,l($v,O0))),V=0,l0=[0,G[1],[12,G[2]]],d0=1,A0=0;I0=1}}if(!I0){var M=v1(O0,85),L0=mx(O0);u0(O0,86);var V=L0,l0=l(Gr,O0),d0=0,A0=M}return[0,N0,l0,A0,A!==0?1:0,d0,m0([0,P0],[0,V],0)]},x)];var L=Fx(I,w0(x));u0(x,6);var U=hr(1,x);return typeof U!="number"&&U[0]===4&&!N(U[3],mo)&&A===0?[5,a0([0,a],function(O0){var P0=l(Mo,O0),N0=P0[1];$0(O0);var J0=l(Gr,O0);u0(O0,7);var I0=W(O0),Q=0,G=[0,P0,[0,N0],0,0,0];if(typeof I0=="number"){var V=I0+MN|0,l0=0;if(1>>0)if(V===-18){$0(O0);var d0=2}else l0=1;else var d0=V?($0(O0),u0(O0,85),1):($0(O0),u0(O0,85),0);if(!l0){var A0=d0;Q=1}}if(!Q)var A0=3;u0(O0,86);var M=l(Gr,O0);return[0,[0,N0,G],M,J0,k,A0,m0([0,L],[0,mx(O0)],0)]},x)]:[2,a0([0,a],function(O0){if(hr(1,O0)===86){var P0=_2(O0);u0(O0,86);var N0=[0,P0]}else var N0=0;var J0=l(Gr,O0);u0(O0,7);var I0=mx(O0);u0(O0,86);var Q=l(Gr,O0);return[0,N0,J0,Q,A!==0?1:0,k,m0([0,L],[0,I0],0)]},x)];case 42:if(y){if(k!==0)throw q0([0,Tr,Lo0],1);var B=[0,Nx(x)],X=Fx(I,w0(x));$0(x);var y=0,h=0,A=B,I=X;continue}break;case 126:if(k===0){var J=0;if((Oo(1,x)||hr(1,x)===6)&&(J=1),J){var y=0,h=0,k=bd(Uo0,0,x);continue}}break;case 103:case 104:if(k===0){var y=0,h=0,k=bd(0,0,x);continue}break;case 4:case 98:return p6(x,g),l6(x,k),[3,a0([0,a],function(O0){var P0=Nx(O0),N0=cm(O0,P0,xe(O0,l($v,O0)));return[0,N0,A!==0?1:0,m0([0,I],0,0)]},x)]}else if(C[0]===4&&!N(C[3],RP)&&h){if(k!==0)throw q0([0,Tr,Mo0],1);var e0=[0,Nx(x)],i0=Fx(I,w0(x));$0(x);var y=0,h=0,g=e0,I=i0;continue}if(A){var j=A[1];if(g)return Rx(Do0);if(typeof C=="number"&&1>=C+Ev>>>0)return sm(x,a,k,0,g,0,[0,j,[3,hn(m0([0,I],0,0),[0,j,jo0])]])}else if(g){var Y=g[1];if(typeof C=="number"&&1>=C+Ev>>>0)return sm(x,a,k,A,0,0,[0,Y,[3,hn(m0([0,I],0,0),[0,Y,zo0])]])}var z=function(O0){J1(O0,0);var P0=p(lx[20],0,O0);return W1(O0),P0},F=w0(x),t0=z(x),$=t0[1],f0=t0[2];if(f0[0]===3){var c0=f0[1][2][1],v0=0;if(N(c0,Tv)&&N(c0,Oa)&&(v0=1),!v0){var s0=W(x);if(typeof s0=="number"){var o0=s0-5|0;if(92>>0){if(94>=o0+1>>>0)return p6(x,g),l6(x,k),HB(x,a,A,f0,I)}else if(1>=o0+QM>>>0)return sm(x,a,k,A,g,I,[0,$,f0])}Sn(x,f0);var E0=z(x),k0=Nr(c0,Tv),M0=Fx(I,F);return p6(x,g),l6(x,k),[0,a0([0,a],function(O0){var P0=E0[1],N0=Sn(O0,E0[2]),J0=cm(O0,a,0),I0=J0[2][2];if(k0){var Q=I0[2],G=0;if(Q[1])ex(O0,[0,P0,28]),G=1;else{var V=0;Q[2]||Q[3]?V=1:G=1,V&&ex(O0,[0,P0,27])}}else{var l0=I0[2],d0=0;if(l0[1])ex(O0,[0,P0,70]);else{var A0=l0[2],M=0;if(l0[3])ex(O0,[0,P0,69]),M=1;else{var L0=0;A0&&!A0[2]?M=1:L0=1,L0&&(ex(O0,[0,P0,69]),d0=1)}}}var V0=m0([0,M0],0,0),B0=0,vx=0,b0=0,hx=A!==0?1:0,W0=0,T=k0?[1,J0]:[2,J0];return[0,N0,T,W0,hx,b0,vx,B0,V0]},x)]}}var D0=t0[2],cx=W(x);if(typeof cx=="number"){var g0=0;if(cx!==4&&cx!==98&&(g0=1),!g0)return p6(x,g),l6(x,k),HB(x,a,A,D0,I)}var Z0=A!==0?1:0,n0=0;if(D0[0]===3){var nx=D0[1],xx=nx[2][1],yx=0,px=nx[1];if(r){var Tx=0;(Nr(kv,xx)||Z0&&Nr(yo,xx))&&(Tx=1),Tx&&(ex(x,[0,px,[15,xx,Z0,0,0]]),n0=1,yx=1)}}return sm(x,a,k,A,g,I,[0,$,D0])}};C0(im,function(x,r,e,t){var u=r&&(W(t)===2?1:0),i=r&&1-u;return a0(0,function(f){var o=w0(f),a=u?2:0;u0(f,a);for(var y=Bv(0,f),h=Ko0;;){var k=h[3],A=h[2],g=h[1];if(x&&e)throw q0([0,Tr,Ro0],1);if(i&&!e)throw q0([0,Tr,Oo0],1);var I=Nx(y),C=W(y);if(typeof C=="number"){var R=0;if(13<=C){if(Er===C){var L=[0,gx(g),A,k];R=1}}else if(C)switch(C-1|0){case 0:if(!u){var L=[0,gx(g),A,k];R=1}break;case 2:if(u){var L=[0,gx(g),A,k];R=1}break;case 11:if(!e){$0(y);var U=W(y);if(typeof U=="number"&&10>U)switch(U){case 1:case 3:case 8:case 9:ex(y,[0,I,36]),a6(u,y);continue}var B=uO(y);l(tO(y),B),ex(y,[0,I,Pt]),$0(y),a6(u,y);continue}var X=w0(y);$0(y);var J=W(y),e0=0;if(typeof J=="number"&&10>J)switch(J){case 1:case 3:case 8:case 9:a6(u,y);var i0=W(y),j=0;if(typeof i0=="number"){var Y=i0-1|0;if(2>=Y>>>0)switch(Y){case 0:if(i){var L=[0,gx(g),1,X];R=1,e0=1,j=1}break;case 1:break;default:ex(y,[0,I,35]);var L=[0,gx(g),A,k];R=1,e0=1,j=1}}if(!j){ex(y,[0,I,96]);continue}break}if(!e0){var z=[1,a0([0,I],function(E0){return function(k0){var M0=m0([0,E0],0,0);return[0,l(Gr,k0),M0]}}(X),y)];a6(u,y);var h=[0,[0,z,g],A,k];continue}break}if(R){var F=L[3],t0=L[2],$=L[1],f0=Fx(F,w0(f)),c0=u?3:1;return u0(f,c0),[0,u,t0,$,K1([0,o],[0,mx(f)],f0,0)]}}var v0=rS0(y,x,x,x,0,0,0,0,I);a6(u,y);var h=[0,[0,v0,g],A,k]}},t)}),C0(AO,function(x){if(v1(x,41))for(var r=0;;){var e=[0,l(fm,x),r],t=W(x);if(typeof t=="number"&&t===9){u0(x,9);var r=e;continue}var u=kB(x,gx(e));break}else var u=0;return[0,u,oe(im,0,0,0,x)]}),C0(Mo,function(x){var r=_2(x),e=r[2],t=e[1],u=r[1],i=e[2];return nO(t)&&ex(x,[0,u,Uc]),[0,u,[0,t,i]]}),C0(WB,function(x){return a0(0,function(r){var e=l(Mo,r),t=W(r),u=0;if(typeof t=="number")if(t===41)var i=1,f=i,o=[1,a0(0,function(a){return $0(a),l(Gr,a)},r)];else if(t===86)var f=0,o=[1,l(u3,r)];else u=1;else u=1;if(u)var f=0,o=[0,wn(r)];return[0,e,o,f]},x)});var qB=function(x,r){var e=cB(x,r);if(e)var t=e;else{var u=0;if(typeof r=="number"&&1>=r+MN>>>0){var i=1;u=1}if(!u)var i=0;if(!i){var f=0;if(typeof r=="number")switch(r){case 15:case 29:case 30:case 31:case 41:case 42:case 46:case 53:case 114:case 115:case 116:case 117:case 118:case 119:case 120:case 121:case 122:case 123:case 124:case 125:case 126:f=1;break}else switch(r[0]){case 4:if(nO(r[3]))return 1;break;case 11:f=1;break}return f?1:0}var t=i}return t};C0($v,function(x){if(W(x)!==98)return 0;1-T1(x)&&Bx(x,_1);var r=a0(0,function(t){var u=w0(t);u0(t,98);for(var i=0,f=0;;){if(qB(t,W(t)))var o=Qd(0,function(J){return function(e0){var i0=bd(0,Co0,e0),j=l(WB,e0),Y=j[2],z=Y[3],F=Y[2],t0=Y[1],$=j[1],f0=W(e0),c0=0;if(typeof f0=="number"&&f0===82){$0(e0);var v0=1,s0=[0,l(Gr,e0)];c0=1}if(!c0){J&&ex(e0,[0,$,56]);var v0=J,s0=0}return[0,[0,t0,F,z,i0,s0],v0]}}(i),t),a=o[2],y=[0,o[1],f];else var a=i,y=f;var h=W(t),k=0;if(typeof h=="number"){var A=h+yz|0;if(14>>0){if(A===-90){$0(t);var i=a,f=y;continue}}else if(12>>0){var g=gx(y);k=1}}if(!k){var I=0;if(typeof h=="number")switch(h){case 4:case 82:I=2;break}else if(h[0]===4){var C=h[3],R=0;if(Bd(C))R=1;else{var L=0;if(N(C,_v)&&N(C,U2)){var U=0;L=1}if(!L)var U=1;if(U)R=1;else if(N(C,cl))(!N(C,dv)||!N(C,bu))&&(I=2);else if(t[28][2]){var B=1;I=1}}if(R){var B=1;I=1}}switch(I){case 0:var B=0;break;case 2:var B=1;break}if(!B){if(qB(t,h)){Hs(t,9);var i=a,f=y;continue}u0(t,9);var i=a,f=y;continue}Hs(t,99);var g=gx(y)}var X=w0(t);return Vd(t,99),[0,g,K1([0,u],[0,mx(t)],X,0)]}},x),e=r[1];return r[2][1]||ex(x,[0,e,55]),[0,r]}),C0(gO,function(x){return W(x)===98?[0,a0(0,function(r){var e=w0(r);u0(r,98);for(var t=Bv(0,r),u=0;;){var i=W(t);if(typeof i=="number"){var f=0;if(i!==99&&Er!==i&&(f=1),!f){var o=gx(u),a=w0(t);return u0(t,99),[0,o,K1([0,e],[0,mx(t)],a,0)]}}var y=[0,l(Gr,t),u];W(t)!==99&&u0(t,9);var u=y}},x)]:0}),C0(fm,function(x){return p(NO,x,l(Mo,x))}),C0(NO,function(x,r){function e(t){for(var u=[0,r[1],[0,r]];;){var i=u[2],f=u[1];if(W(t)===10&&Xd(1,t)){var o=a0([0,f],function(A){return function(g){return u0(g,10),[0,A,l(Mo,g)]}}(i),t),a=o[1],u=[0,a,[1,[0,a,o[2]]]];continue}if(W(t)===98)var y=I1(t)[2],h=p(y,i,function(k,A){return p(qx(k,-860373976,60),k,A)});else var h=i;return[0,h,l(gO,t),0]}}return a0([0,r[1]],e,x)}),C0(VB,function(x,r){var e=p(NO,x,r);return[0,e[1],[19,e[2]]]}),C0(ZB,function(x){var r=W(x);return typeof r=="number"&&r===86?l(NB,x):[0,wn(x)]}),C0($B,function(x){var r=W(x);return typeof r=="number"&&r===86?[1,l(u3,x)]:[0,wn(x)]}),C0(IO,function(x){var r=W(x);return typeof r!="number"&&r[0]===4&&!N(r[3],$1)?(1-T1(x)&&Bx(x,_1),$0(x),[1,a0(0,function(e){return l(Gr,e)},x)]):[0,wn(x)]}),C0(FB,function(x,r,e){var t=x[2],u=x[1];function i(Q){return g2(Q,m0([0,r],[0,e],0))}switch(t[0]){case 0:var I0=[0,i(t[1])];break;case 1:var I0=[1,i(t[1])];break;case 2:var I0=[2,i(t[1])];break;case 3:var I0=[3,i(t[1])];break;case 4:var I0=[4,i(t[1])];break;case 5:var I0=[5,i(t[1])];break;case 6:var I0=[6,i(t[1])];break;case 7:var I0=[7,i(t[1])];break;case 8:var f=i(t[2]),I0=[8,t[1],f];break;case 9:var I0=[9,i(t[1])];break;case 10:var I0=[10,i(t[1])];break;case 11:var o=t[1],a=i(o[2]),I0=[11,[0,o[1],a]];break;case 12:var y=t[1],h=i(y[4]),I0=[12,[0,y[1],y[2],y[3],h]];break;case 13:var k=t[1],A=i(k[4]),I0=[13,[0,k[1],k[2],k[3],A]];break;case 14:var g=t[1],I=g[4],C=JR(I,m0([0,r],[0,e],0)),I0=[14,[0,g[1],g[2],g[3],C]];break;case 15:var R=t[1],L=i(R[3]),I0=[15,[0,R[1],R[2],L]];break;case 16:var U=t[1],B=i(U[2]),I0=[16,[0,U[1],B]];break;case 17:var X=t[1],J=i(X[5]),I0=[17,[0,X[1],X[2],X[3],X[4],J]];break;case 18:var e0=t[1],i0=i(e0[2]),I0=[18,[0,e0[1],i0]];break;case 19:var j=t[1],Y=i(j[3]),I0=[19,[0,j[1],j[2],Y]];break;case 20:var z=t[1],F=i(z[3]),I0=[20,[0,z[1],z[2],F]];break;case 21:var t0=t[1],$=t0[1],f0=t0[2],c0=i($[3]),I0=[21,[0,[0,$[1],$[2],c0],f0]];break;case 22:var v0=t[1],s0=i(v0[2]),I0=[22,[0,v0[1],s0]];break;case 23:var o0=t[1],E0=i(o0[2]),I0=[23,[0,o0[1],E0]];break;case 24:var k0=t[1],M0=i(k0[2]),I0=[24,[0,k0[1],M0]];break;case 25:var D0=t[1],cx=i(D0[2]),I0=[25,[0,D0[1],cx]];break;case 26:var g0=t[1],Z0=i(g0[2]),I0=[26,[0,g0[1],Z0]];break;case 27:var n0=t[1],nx=i(n0[2]),I0=[27,[0,n0[1],nx]];break;case 28:var xx=t[1],yx=i(xx[3]),I0=[28,[0,xx[1],xx[2],yx]];break;case 29:var px=t[1],Tx=i(px[3]),I0=[29,[0,px[1],px[2],Tx]];break;case 30:var O0=t[1],P0=i(O0[3]),I0=[30,[0,O0[1],O0[2],P0]];break;case 31:var N0=t[1],J0=i(N0[2]),I0=[31,[0,N0[1],J0]];break;case 32:var I0=[32,i(t[1])];break;case 33:var I0=[33,i(t[1])];break;default:var I0=[34,i(t[1])]}return[0,u,I0]});var GB=function(x,r){if(W(x)!==4)return[0,0,m0([0,r],[0,mx(x)],0)];var e=Fx(r,w0(x));u0(x,4),J1(x,0);var t=l(lx[9],x);return W1(x),u0(x,5),[0,[0,t],m0([0,e],[0,mx(x)],0)]},eS0=function(x){var r=w0(x);return u0(x,66),GB(x,r)},tS0=0,bB=function(x){var r=Bv(0,x),e=W(r);return typeof e=="number"&&e===66?[0,a0(tS0,eS0,r)]:0},nS0=function(x){var r=W(x);if(typeof r=="number"&&r===86){1-T1(x)&&Bx(x,_1);var e=wn(x),t=Nx(x);u0(x,86);var u=W(x);if(typeof u=="number"&&u===66){var i=Bv(0,x);return[0,[0,e],[0,a0([0,t],function(a){var y=w0(a);return u0(a,66),GB(a,y)},i)]]}if(Hd(x))return[0,[2,p(EO,x,t)],0];var f=[1,a0([0,t],Gr,x)],o=W(x)===66?t3(x,f):f;return[0,o,bB(x)]}return[0,[0,wn(x)],0]},ye=function(x,r){var e=Qs(1,r);J1(e,1);var t=l(x,e);return W1(e),t},qs=function(x){return ye(Gr,x)},us=function(x){return ye(Mo,x)},Ve=function(x){return ye($v,x)},xX=function(x){return ye(gO,x)},Fv=function(x){return ye(u3,x)},rX=function(x){return ye($B,x)},PO=function(x){return ye(ZB,x)},CO=function(x){return ye(nS0,x)},eX=function(x){return ye(fm,x)},tX=function(x){return ye(IO,x)},uS0=EB(lx),Do=function(x,r){var e=r[2],t=r[1],u=x[1];switch(e[0]){case 0:return b1(iS0,x,e[1][1]);case 1:return b1(fS0,x,e[1][1]);case 2:var i=e[1][1],f=i[2][1],o=x[2],a=x[1],y=i[1];p(h2[3],f,o)&&ex(a,[0,y,81]);var h=i[2][1],k=i[1];return Xv(h)&&vt(a,[0,k,82]),r3(h)&&vt(a,[0,k,84]),[0,a,p(h2[4],f,o)];default:return ex(u,[0,t,24]),x}},iS0=function(x){return function(r){return r[0]===0?Do(x,r[1][2][2]):Do(x,r[1][2][1])}},fS0=function(x){return function(r){switch(r[0]){case 0:return Do(x,r[1][2][1]);case 1:return Do(x,r[1][2][1]);default:return x}}},nX=function(x,r){var e=r[2],t=e[3],u=e[2],i=[0,x,h2[1]],f=b1(function(o,a){return Do(o,a[2][1])},i,u);return t&&Do(f,t[1][2][1]),0},uX=function(x,r,e,t){var u=x[5],i=t[0]===0?Vv(t[1]):0,f=Qs(u?0:r,x),o=r||u||1-i;if(!o)return o;if(e){var a=e[1],y=a[2][1],h=a[1];Xv(y)&&vt(f,[0,h,74]),r3(y)&&vt(f,[0,h,84])}if(t[0]===0)return nX(f,t[1]);var k=t[1][2],A=k[2],g=k[1],I=[0,Ja,[0,[0,Hc(function(R){var L=R[2],U=L[1],B=L[4],X=L[3],J=L[2],e0=U[0]===0?[3,U[1]]:[0,[0,Ja,U[1][2]]];return[0,[0,Ja,[0,e0,J,X,B]]]},g),[0,Ja],0]]],C=Do([0,f,h2[1]],I);return A&&Do(C,A[1][2][1]),0},i3=function(x,r,e,t){return uX(x,r,e,[0,t])},iX=function(x,r){if(r!==12)return 0;var e=w0(x),t=a0(0,function(f){return u0(f,12),p(lx[18],f,82)},x),u=t[2],i=t[1];return[0,[0,i,u,m0([0,e],0,0)]]},RO=function x(r,e){return x.fun(r,e)},cS0=function(x){W(x)===21&&Bx(x,93);var r=p(lx[18],x,82),e=W(x)===82?(u0(x,82),[0,l(lx[10],x)]):0;return[0,r,e]},sS0=0;C0(RO,function(x,r){var e=W(x);if(typeof e=="number"){var t=e-5|0,u=0;if(7>>0?fn===t&&(u=1):5>>0&&(u=1),u){var i=iX(x,e),f=Fy(function(a){return[0,a[1],[0,a[2],a[3]]]},i);return W(x)!==5&&Bx(x,65),[0,gx(r),f]}}var o=a0(sS0,cS0,x);return W(x)!==5&&u0(x,9),p(RO,x,[0,o,r])});var f3=function(x,r){function e(u){var i=rB(1,GR(r,bR(x,u))),f=w0(i);u0(i,4);var o=0;if(T1(i)&&W(i)===21){var a=w0(i),y=a0(0,function(B){return u0(B,21),W(B)===86?[0,Fv(B)]:(Bx(B,89),0)},i),h=y[2],k=y[1];if(h){var A=h[1];W(i)===9&&$0(i);var g=[0,[0,k,[0,A,m0([0,a],0,0)]]]}else var g=0}else o=1;if(o)var g=0;var I=p(RO,i,0),C=I[2],R=I[1],L=w0(i);return u0(i,5),[0,g,R,C,K1([0,f],[0,mx(i)],L,0)]}var t=0;return function(u){return a0(t,e,u)}},fX=function(x,r,e,t,u){var i=fB(x,r,e,u);return p(lx[16],t,i)},y6=function(x,r,e,t,u){var i=fX(x,r,e,t,u);return[0,[0,i[1]],i[2]]},c3=function(x){if(_1!==W(x))return Bv0;var r=w0(x);return $0(x),[0,1,r]},om=function(x){if(W(x)===64&&!n6(1,x)){var r=w0(x);return $0(x),[0,1,r]}return Yv0},oS0=function(x){var r=om(x),e=r[1],t=r[2],u=a0(0,function(R){var L=w0(R);u0(R,15);var U=c3(R),B=U[1],X=Ll([0,t,[0,L,[0,U[2],0]]]),J=R[7],e0=W(R),i0=0;if(J&&typeof e0=="number"){if(e0===4){var F=0,t0=0;i0=1}else if(e0===98){var j=xe(R,Ve(R)),Y=W(R)===4?0:[0,Tn(R,p(lx[13],jv0,R))],F=Y,t0=j;i0=1}}if(!i0)var z=es(R)?Tn(R,p(lx[13],zv0,R)):(lB(R,Kv0),[0,Nx(R),Jv0]),F=[0,z],t0=xe(R,Ve(R));var $=l(f3(e,B),R),f0=W(R)===86?$:c6(R,$),c0=CO(R),v0=c0[2],s0=c0[1];if(v0)var o0=mB(R,v0),E0=s0;else var o0=v0,E0=t3(R,s0);return[0,B,t0,F,f0,E0,o0,X]},x),i=u[2],f=i[4],o=i[3],a=i[1],y=i[7],h=i[6],k=i[5],A=i[2],g=u[1],I=y6(x,e,a,0,Vv(f)),C=I[1];return i3(x,I[2],o,f),[26,[0,o,f,C,e,a,h,k,A,m0([0,y],0,0),g]]},vS0=0,d6=function(x){return a0(vS0,oS0,x)},OO=function(x,r){var e=w0(r);u0(r,x);var t=r[28][2];if(t)var u=x===27?1:0,i=u&&(W(r)===48?1:0);else var i=t;i&&Bx(r,23);for(var f=0,o=0;;){var a=a0(0,function(I){var C=p(lx[18],I,85);if(v1(I,82))var R=0,L=[0,l(lx[10],I)];else{var U=C[1];if(C[2][0]===2)var R=0,L=0;else var R=[0,[0,U,62]],L=0}return[0,[0,C,L],R]},r),y=a[2],h=y[2],k=[0,[0,a[1],y[1]],f],A=h?[0,h[1],o]:o;if(v1(r,9)){var f=k,o=A;continue}var g=gx(A);return[0,gx(k),e,g]}},aS0=24,cX=function(x){return OO(aS0,x)},sX=function(x){var r=OO(27,xO(1,x)),e=r[1],t=r[3],u=r[2];return[0,e,u,gx(b1(function(i,f){return f[2][2]?i:[0,[0,f[1],61],i]},t,e))]},oX=function(x){return OO(28,xO(1,x))},vX=function(x){function r(t){return[19,p(uS0[1],x,t)]}var e=0;return function(t){return a0(e,r,t)}},LO=function x(r,e){return x.fun(r,e)},lS0=function(x){var r=w0(x),e=W(x),t=hr(1,x),u=0;if(typeof e!="number"&&e[0]===2&&typeof t!="number"&&t[0]===4){var i=e[1],f=i[4],o=i[3],a=i[2],y=i[1];if(!N(t[3],Ct)){f&&Xt(x,80),u0(x,[2,[0,y,a,o,f]]);var h=[1,[0,y,[0,a,o,m0([0,r],[0,mx(x)],0)]]];ts(x,Mv0);var k=0,A=p(lx[18],x,82),g=h;u=1}}if(!u){var I=0;if(typeof t!="number"&&t[0]===4&&!N(t[3],Ct)){var C=[0,_2(x)];ts(x,Dv0);var k=0,A=p(lx[18],x,82),g=C;I=1}if(!I)var R=G0(lx[14],x,0,82),L=R[2],k=1,A=[0,R[1],[2,L]],g=[0,L[1]]}var U=W(x)===82?(u0(x,82),[0,l(lx[10],x)]):0;return[0,g,A,U,k]},pS0=0;C0(LO,function(x,r){var e=W(x);if(typeof e=="number"){var t=e-5|0,u=0;if(7>>0?fn===t&&(u=1):5>>0&&(u=1),u){var i=iX(x,e),f=Fy(function(a){return[0,a[1],[0,a[2],a[3]]]},i);return W(x)!==5&&Bx(x,65),[0,gx(r),f]}}var o=a0(pS0,lS0,x);return W(x)!==5&&u0(x,9),p(LO,x,[0,o,r])});var yS0=function(x){var r=rB(1,x),e=w0(r);u0(r,4);var t=p(LO,r,0),u=t[2],i=t[1],f=w0(r);return u0(r,5),[0,i,u,K1([0,e],[0,mx(r)],f,0)]},dS0=0,mS0=function(x){var r=a0(0,function(k){var A=w0(k);ts(k,Lv0);var g=Tn(k,p(lx[13],Uv0,k)),I=xe(k,Ve(k)),C=a0(dS0,yS0,k);if(fO(k))var L=C;else var R=I1(k)[2],L=p(R,C,function(U,B){return p(qx(U,842685896,10),U,B)});return[0,I,g,L,sO(k,tX(k)),A]},x),e=r[2],t=e[3],u=e[2],i=e[5],f=e[4],o=e[1],a=r[1],y=fX(x,0,0,0,0),h=y[1];return uX(x,y[2],[0,u],[1,t]),[3,[0,u,o,t,f,h,m0([0,i],0,0),a]]},kS0=0,UO=function(x){return a0(kS0,mS0,x)},v2=function(x,r){if(r[0]===0)return r[1];var e=r[2][1],t=r[1];return S2(function(u){return ex(x,u)},e),t},MO=function(x,r,e){var t=x?x[1]:40;if(e[0]===0)var u=e[1];else{var i=e[2][2],f=e[1];S2(function(k){return ex(r,k)},i);var u=f}1-l(lx[23],u)&&ex(r,[0,u[1],t]);var o=u[2],a=0;if(o[0]===8){var y=u[1];Xv(o[1][2][1])&&(vt(r,[0,y,75]),a=1)}return p(lx[19],r,u)},DO=function(x,r){var e=Qc(x[2],r[2]);return[0,Qc(x[1],r[1]),e]},aX=function(x){var r=gx(x[2]);return[0,gx(x[1]),r]},lX=function(x,r){var e=x[0]===0?x[1]:x[1]-1|0,t=(r[0]===0,r[1]);return t<=e?1:0},s3=function x(r){return x.fun(r)},Wt=function x(r){return x.fun(r)},pX=function x(r){return x.fun(r)},jO=function x(r){return x.fun(r)},yX=function x(r){return x.fun(r)},zO=function x(r){return x.fun(r)},dX=function x(r){return x.fun(r)},mX=function x(r){return x.fun(r)},m6=function x(r){return x.fun(r)},KO=function x(r){return x.fun(r)},JO=function x(r){return x.fun(r)},YO=function x(r){return x.fun(r)},kX=function x(r){return x.fun(r)},BO=function x(r){return x.fun(r)},vm=function x(r){return x.fun(r)},XO=function x(r){return x.fun(r)},hX=function x(r){return x.fun(r)},Qv=function x(r,e,t,u,i){return x.fun(r,e,t,u,i)},WO=function x(r,e,t,u){return x.fun(r,e,t,u)},VO=function x(r){return x.fun(r)},am=function x(r){return x.fun(r)},ZO=function x(r){return x.fun(r)},$O=function x(r,e,t,u,i){return x.fun(r,e,t,u,i)},_X=function x(r,e,t,u){return x.fun(r,e,t,u)},FO=function x(r){return x.fun(r)},lm=function x(r,e,t){return x.fun(r,e,t)},wX=function x(r){return x.fun(r)},pm=function x(r,e,t){return x.fun(r,e,t)},QO=function x(r){return x.fun(r)},TX=function x(r){return x.fun(r)},HO=function x(r,e){return x.fun(r,e)},qO=function x(r,e,t,u){return x.fun(r,e,t,u)},SX=function x(r){return x.fun(r)},GO=function x(r,e,t){return x.fun(r,e,t)},EX=function x(r){return x.fun(r)},AX=function x(r){return x.fun(r)},bO=function x(r){return x.fun(r)},ym=function x(r,e,t){return x.fun(r,e,t)},hS0=function(x){var r=x[2];switch(r[0]){case 21:var e=r[1],t=e[1][2][1];if(N(t,R2)){if(!N(t,iv)&&!N(e[2][2][1],CS))return 0}else if(!N(e[2][2][1],pl))return 0;break;case 0:case 8:case 20:case 23:break;default:return 0}return 1},xL=function(x){var r=Nx(x),e=l(zO,x),t=l(yX,x);if(!t)return e;var u=t[1];return[0,a0([0,r],function(i){var f=MO(0,i,e);return[2,[0,u,f,l(Wt,i),0]]},x)]},_S0=function(x,r){if(typeof r=="number"&&r===84)return 0;throw q0(ns,1)},gX=function(x){var r=Yd(_S0,x),e=xL(r),t=W(r);if(typeof t=="number"){if(t===11)throw q0(ns,1);if(t===86){var u=uB(r),i=0;if(u){var f=u[1];if(typeof f=="number"&&f===5){var o=1;i=1}}if(!i)var o=0;if(o)throw q0(ns,1)}}if(!es(r))return e;if(e[0]===0){var a=e[1][2];if(a[0]===8&&!N(a[1][2][1],ko)&&!b2(r))throw q0(ns,1)}return e};C0(s3,function(x){var r=es(x);if(r){var e=W(x),t=0;if(typeof e=="number"){if(e===58){if(x[18]){var u=0;t=1}}else if(e===65&&x[19]){var u=0;t=1}}if(!t)var u=1;var i=u}else var i=r;var f=W(x),o=0;if(typeof f=="number"){var a=0;if(22<=f)if(f===58){if(x[18])return[0,l(pX,x)];a=1}else f!==98&&(a=1);else f!==4&&21>f&&(a=1);a||(o=1)}if(!o&&!i)return xL(x);var y=0;if(f===64&&T1(x)&&hr(1,x)===98){var h=gX,k=bO;y=1}if(!y)var h=bO,k=gX;var A=cO(x,k);if(A)return A[1];var g=cO(x,h);return g?g[1]:xL(x)}),C0(Wt,function(x){return v2(x,l(s3,x))}),C0(pX,function(x){return a0(0,function(r){r[10]&&Bx(r,Ns);var e=w0(r),t=Nx(r);u0(r,58);var u=Nx(r);if(e3(r))var i=0,f=0;else{var o=v1(r,_1),a=W(r),y=0;if(typeof a=="number"){var h=0;if(a===86)h=1;else if(10>a)switch(a){case 0:case 2:case 3:case 4:case 6:break;default:h=1}if(h){var k=0;y=1}}if(!y)var k=1;var A=0;if(!o&&!k){var g=0;A=1}if(!A)var g=[0,l(Wt,r)];var i=o,f=g}var I=f?0:mx(r),C=i1(t,u);return[35,[0,f,m0([0,e],[0,I],0),i,C]]},x)}),C0(jO,function(x){var r=x[2];switch(r[0]){case 21:var e=r[1],t=e[1][2][1];if(N(t,R2)){if(!N(t,iv)&&!N(e[2][2][1],CS))return 0}else if(!N(e[2][2][1],pl))return 0;break;case 8:case 20:break;default:return 0}return 1}),C0(yX,function(x){var r=W(x),e=0;if(typeof r=="number"){var t=r-67|0;if(15>=t>>>0){switch(t){case 0:var u=t30;break;case 1:var u=n30;break;case 2:var u=u30;break;case 3:var u=i30;break;case 4:var u=f30;break;case 5:var u=c30;break;case 6:var u=s30;break;case 7:var u=o30;break;case 8:var u=v30;break;case 9:var u=a30;break;case 10:var u=l30;break;case 11:var u=p30;break;case 12:var u=y30;break;case 13:var u=d30;break;case 14:var u=m30;break;default:var u=k30}var i=u;e=1}}if(!e)var i=0;return i!==0&&$0(x),i}),C0(zO,function(x){var r=Nx(x),e=l(mX,x);if(W(x)!==85)return e;$0(x);var t=l(Wt,e6(0,x));u0(x,86);var u=a0([0,r],Wt,x),i=u[2],f=u[1];return[0,[0,f,[6,[0,v2(x,e),t,i,0]]]]}),C0(dX,function(x){return v2(x,l(zO,x))});var rL=function(x,r,e,t,u){var i=v2(x,r);return[0,[0,u,[19,[0,t,i,v2(x,e),0]]]]},eL=function(x,r,e){for(var t=r,u=e;;){var i=W(x);if(typeof i=="number"&&i===88){$0(x);var f=a0(0,m6,x),o=f[2],a=i1(u,f[1]),y=tL(0,x,rL(x,t,o,1,a),a),t=y[2],u=y[1];continue}return[0,u,t]}},NX=function(x,r,e){for(var t=r,u=e;;){var i=W(x);if(typeof i=="number"&&i===87){$0(x);var f=a0(0,m6,x),o=eL(x,f[2],f[1]),a=o[2],y=i1(u,o[1]),h=tL(0,x,rL(x,t,a,0,y),y),t=h[2],u=h[1];continue}return[0,u,t]}},tL=function(x,r,e,t){for(var u=x,i=e,f=t;;){var o=W(r);if(typeof o=="number"&&o===84){1-u&&Bx(r,e30),u0(r,84);var a=a0(0,m6,r),y=a[2],h=a[1],k=W(r),A=0;if(typeof k=="number"&&1>=k-87>>>0){Bx(r,[19,VR(k)]);var g=eL(r,y,h),I=NX(r,g[2],g[1]),C=I[2],R=I[1];A=1}if(!A)var C=y,R=h;var L=i1(f,R),u=1,i=rL(r,i,C,2,L),f=L;continue}return[0,f,i]}};C0(mX,function(x){var r=a0(0,m6,x),e=r[2],t=r[1],u=W(x),i=0;if(typeof u=="number"&&u===84){var o=tL(1,x,e,t);i=1}if(!i)var f=eL(x,e,t),o=NX(x,f[2],f[1]);return o[2]});var nL=function(x,r,e,t){return[0,t,[3,[0,e,x,r,0]]]},wS0=function(x,r){var e=r;x:for(;;){var t=a0(0,function(b0){var hx=l(KO,b0)!==0?1:0;return[0,hx,l(JO,e6(0,b0))]},x),u=t[2],i=u[2],f=u[1],o=t[1],a=W(x);if(a===98){var y=0;i[0]===0&&i[1][2][0]===10&&(Bx(x,2),y=1)}var h=0;if(typeof a!="number"&&a[0]===4){var k=a[3],A=0;if((!N(k,Ct)||!N(k,XD))&&(A=1),A&&T1(x)){$0(x);var g=v2(x,i),I=0;if(e){var C=e[1],R=C[2],L=e[2],U=C[3],B=R[1],X=C[1];if(lX(R[2],La0)){var J=nL(X,g,B,i1(U,o)),e0=L;I=1}}if(!I)var J=g,e0=e;var i0=J[1];if(Nr(k,XD))var j=qs(x),F=j[1],t0=[1,j];else if(W(x)===27){var Y=Nx(x);$0(x);var F=Y,t0=0}else var z=qs(x),F=z[1],t0=[0,z];var $=[0,[0,i1(i0,F),[32,[0,J,t0,0]]]],f0=e0;h=1}}if(!h)var $=i,f0=e;var c0=W(x),v0=0;if(typeof c0=="number"){var s0=c0-17|0,o0=0;if(1>>0)if(72<=s0){var E0=0;switch(s0-72|0){case 0:var k0=Ua0;break;case 1:var k0=Ma0;break;case 2:var k0=Da0;break;case 3:var k0=ja0;break;case 4:var k0=za0;break;case 5:var k0=Ka0;break;case 6:var k0=Ja0;break;case 7:var k0=Ya0;break;case 8:var k0=Ba0;break;case 9:var k0=Xa0;break;case 10:var k0=Wa0;break;case 11:var k0=Va0;break;case 12:var k0=Za0;break;case 13:var k0=$a0;break;case 14:var k0=Fa0;break;case 15:var k0=Qa0;break;case 16:var k0=Ha0;break;case 17:var k0=qa0;break;case 18:var k0=Ga0;break;case 19:var k0=ba0;break;default:o0=1,E0=1}if(!E0)var M0=k0}else o0=1;else var M0=s0?x30:x[12]?0:r30;if(!o0){var D0=M0;v0=1}}if(!v0)var D0=0;if(D0!==0&&$0(x),!f0&&!D0)return $;if(!D0)for(var cx=v2(x,$),g0=o,Z0=f0;;){if(!Z0)return[0,cx];var n0=Z0[1],nx=Z0[2],xx=n0[2][1],yx=n0[1],px=i1(n0[3],g0),cx=nL(yx,cx,xx,px),g0=px,Z0=nx}var Tx=D0[1],O0=Tx[1],P0=Tx[2],N0=f&&(O0===14?1:0);N0&&ex(x,[0,o,41]);for(var J0=v2(x,$),I0=[0,O0,P0],Q=o,G=f0;;){var V=I0[2],l0=I0[1];if(G){var d0=G[1],A0=d0[2],M=G[2],L0=d0[3],V0=A0[1],B0=d0[1];if(lX(A0[2],V)){var vx=i1(L0,Q),J0=nL(B0,J0,V0,vx),I0=[0,l0,V],Q=vx,G=M;continue}}var e=[0,[0,J0,[0,l0,V],Q],G];continue x}}};C0(m6,function(x){return wS0(x,0)}),C0(KO,function(x){var r=W(x);if(typeof r=="number"){if(48<=r){if(tt<=r){if(ut>r)switch(r+MN|0){case 0:return Aa0;case 1:return ga0;case 6:return Na0;case 7:return Ia0}}else if(r===65&&x[19])return x[10]&&Bx(x,7),Pa0}else if(45<=r)switch(r+dE|0){case 0:return Ca0;case 1:return Ra0;default:return Oa0}}return 0}),C0(JO,function(x){var r=Nx(x),e=w0(x),t=l(KO,x);if(t){var u=t[1];$0(x);var i=a0([0,r],YO,x),f=i[2],o=i[1],a=0;if(u===6){var y=f[2],h=0;switch(y[0]){case 8:vt(x,[0,o,72]),h=1;break;case 20:y[1][2][0]===1&&ex(x,[0,o,66]),h=1;break}h&&(a=1)}return[0,[0,o,[33,[0,u,f,m0([0,e],0,0)]]]]}var k=W(x),A=0;if(typeof k=="number")if(ut===k)var g=Ea0;else if(fe===k)var g=Sa0;else A=1;else A=1;if(A)var g=0;if(!g)return l(kX,x);var I=g[1];$0(x);var C=a0([0,r],YO,x),R=C[2],L=C[1];1-l(jO,R)&&ex(x,[0,R[1],40]);var U=R[2],B=0;return U[0]===8&&Xv(U[1][2][1])&&(Xt(x,77),B=1),[0,[0,L,[34,[0,I,R,1,m0([0,e],0,0)]]]]}),C0(YO,function(x){return v2(x,l(JO,x))}),C0(kX,function(x){var r=l(BO,x);if(b2(x))return r;var e=W(x),t=0;if(typeof e=="number")if(ut===e)var u=Ta0;else if(fe===e)var u=wa0;else t=1;else t=1;if(t)var u=0;if(!u)return r;var i=u[1],f=v2(x,r);1-l(jO,f)&&ex(x,[0,f[1],40]);var o=f[2],a=0;o[0]===8&&Xv(o[1][2][1])&&(Xt(x,76),a=1);var y=Nx(x);$0(x);var h=mx(x),k=i1(f[1],y);return[0,[0,k,[34,[0,i,f,0,m0(0,[0,h],0)]]]]}),C0(BO,function(x){var r=Nx(x),e=1-x[17],t=0,u=x[17]===0?x:[0,x[1],x[2],x[3],x[4],x[5],x[6],x[7],x[8],x[9],x[10],x[11],x[12],x[13],x[14],x[15],x[16],t,x[18],x[19],x[20],x[21],x[22],x[23],x[24],x[25],x[26],x[27],x[28],x[29],x[30],x[31]],i=W(u),f=0;if(typeof i=="number"){var o=i-44|0;if(7>=o>>>0){var a=0;switch(o){case 0:if(e)var y=[0,l(VO,u)];else a=1;break;case 6:var y=[0,l(hX,u)];break;case 7:var y=[0,l(XO,u)];break;default:a=1}if(!a){var h=y;f=1}}}if(!f)var h=Lo(u)?[0,l(FO,u)]:l(QO,u);return Je(Qv,0,0,u,r,h)}),C0(vm,function(x){return v2(x,l(BO,x))}),C0(XO,function(x){switch(x[22]){case 0:var r=0,e=0;break;case 1:var r=0,e=1;break;default:var r=1,e=1}var t=Nx(x),u=w0(x);u0(x,51);var i=[0,t,[27,[0,m0([0,u],[0,mx(x)],0)]]],f=W(x);if(typeof f=="number"&&11>f)switch(f){case 4:var o=r?i:(ex(x,[0,t,ln]),[0,t,[8,hn(0,[0,t,ka0])]]);return oe(WO,0,x,t,o);case 6:case 10:var a=e?i:(ex(x,[0,t,tt]),[0,t,[8,hn(0,[0,t,_a0])]]);return oe(WO,0,x,t,a)}return e?S1(ha0,x):ex(x,[0,t,tt]),i}),C0(hX,function(x){return a0(0,function(r){var e=w0(r),t=Nx(r);if(u0(r,50),v1(r,10)){var u=hn(0,[0,t,ya0]),i=Nx(r);ts(r,da0);var f=hn(0,[0,i,ma0]);return[21,[0,u,f,m0([0,e],[0,mx(r)],0)]]}var o=w0(r);u0(r,4);var a=G0(GO,[0,o],0,l(Wt,e6(0,r)));return u0(r,5),[9,[0,a,m0([0,e],[0,mx(r)],0)]]},x)}),C0(Qv,function(x,r,e,t,u){var i=x?x[1]:1,f=r?r[1]:0,o=Je($O,[0,i],[0,f],e,t,u),a=uB(e),y=0;if(a){var h=a[1];if(typeof h=="number"&&h===83){var k=1;y=1}}if(!y)var k=0;function A(L){var U=I1(L)[2];function B(X,J){return p(qx(X,an,61),X,J)}return p(U,v2(L,o),B)}function g(L,U,B){var X=l(ZO,U),J=X[1],e0=X[2],i0=i1(t,J),j=[0,B,L,[0,J,e0],0],Y=0;if(!k&&!f){var z=[4,j];Y=1}if(!Y)var z=[24,[0,j,i0,k]];var F=f||k;return Je(Qv,[0,i],[0,F],U,t,[0,[0,i0,z]])}if(e[13])return o;var I=W(e);if(typeof I=="number"){var C=I-98|0;if(2>>0){if(C===-94)return g(0,e,A(e))}else if(C!==1&&T1(e)){var R=Yd(function(L,U){throw q0(ns,1)},e);return Zd(R,o,function(L){var U=A(L);return g(l(am,L),L,U)})}}return o}),C0(WO,function(x,r,e,t){var u=x?x[1]:1;return v2(r,Je(Qv,[0,u],0,r,e,[0,t]))}),C0(VO,function(x){return a0(0,function(r){var e=Nx(r),t=w0(r);if(u0(r,44),r[11]&&W(r)===10){var u=mx(r);$0(r);var i=hn(m0([0,t],[0,u],0),[0,e,aa0]),f=W(r);return typeof f!="number"&&f[0]===4&&!N(f[3],CS)?[21,[0,i,p(lx[13],0,r),0]]:(S1(la0,r),$0(r),[8,i])}var o=Nx(r),a=W(r),y=0;if(typeof a=="number")if(a===44)var h=l(VO,r);else if(a===51)var h=l(XO,eO(1,r));else y=1;else y=1;if(y)var h=Lo(r)?l(FO,r):l(TX,r);var k=oe(_X,pa0,eO(1,r),o,h),A=W(r),g=0;if(typeof A!="number"&&A[0]===3){var I=oe(qO,r,o,k,A[1]);g=1}if(!g)var I=k;var C=0;if(W(r)!==4){var R=0;if((!T1(r)||W(r)!==98)&&(R=1),R){var U=I;C=1}}if(!C)var L=I1(r)[2],U=p(L,I,function(i0,j){return p(qx(i0,an,62),i0,j)});var B=T1(r)?Zd(Yd(function(i0,j){throw q0(ns,1)},r),0,am):0,X=W(r),J=0;if(typeof X=="number"&&X===4){var e0=[0,l(ZO,r)];J=1}if(!J)var e0=0;return[22,[0,U,B,e0,m0([0,t],0,0)]]},x)});var TS0=function(x){var r=w0(x);u0(x,98);for(var e=0;;){var t=W(x);if(typeof t=="number"){var u=0;if(t!==99&&Er!==t&&(u=1),!u){var i=gx(e),f=w0(x);u0(x,99);var o=W(x)===4?I1(x)[1]:mx(x);return[0,i,K1([0,r],[0,o],f,0)]}}var a=W(x),y=0;if(typeof a!="number"&&a[0]===4&&!N(a[2],ga)){var h=Nx(x),k=w0(x);ts(x,va0);var A=[1,[0,h,[0,m0([0,k],[0,mx(x)],0)]]];y=1}if(!y)var A=[0,qs(x)];var g=[0,A,e];W(x)!==99&&u0(x,9);var e=g}};C0(am,function(x){J1(x,1);var r=W(x)===98?[0,a0(0,TS0,x)]:0;return W1(x),r});var SS0=function(x){var r=w0(x);u0(x,12);var e=l(Wt,x);return[0,e,m0([0,r],0,0)]};C0(ZO,function(x){return a0(0,function(r){var e=w0(r);u0(r,4);for(var t=0;;){var u=W(r);if(typeof u=="number"){var i=0;if(u!==5&&Er!==u&&(i=1),!i){var f=gx(t),o=w0(r);return u0(r,5),[0,f,K1([0,e],[0,mx(r)],o,0)]}}var a=W(r),y=0;if(typeof a=="number"&&a===12){var h=[1,a0(0,SS0,r)];y=1}if(!y)var h=[0,l(Wt,r)];var k=[0,h,t];W(r)!==5&&u0(r,9);var t=k}},x)});var IX=function(x,r,e,t,u,i){var f=x?x[1]:1,o=r?r[1]:0,a=e?e[1]:0,y=eO(0,t),h=l(lx[7],y),k=Nx(t);u0(t,7);var A=mx(t),g=i1(u,k),I=m0(0,[0,A],0),C=[0,v2(t,i),[2,h],I],R=o?[25,[0,C,g,a]]:[20,C];return Je(Qv,[0,f],[0,o],t,u,[0,[0,g,R]])},PX=function(x,r,e,t,u,i){var f=x?x[1]:1,o=r?r[1]:0,a=e?e[1]:0,y=W(t),h=0;if(typeof y=="number"&&y===14){var k=wB(t),A=k[1],g=t[30][1],I=k[2][1];if(g){var C=g[1];t[30][1]=[0,[0,C[1],[0,[0,I,A],C[2]]],g[2]]}else ex(t,[0,A,67]);var L=[1,k],U=A;h=1}if(!h)var R=_2(t),L=[0,R],U=R[1];var B=i1(u,U),X=0;i[0]===0&&i[1][2][0]===27&&L[0]===1&&(ex(t,[0,B,86]),X=1);var J=[0,v2(t,i),L,0],e0=o?[25,[0,J,B,a]]:[20,J];return Je(Qv,[0,f],[0,o],t,u,[0,[0,B,e0]])};C0($O,function(x,r,e,t,u){var i=x?x[1]:1,f=r?r[1]:0,o=W(e);if(typeof o=="number")switch(o){case 6:return $0(e),IX([0,i],[0,f],0,e,t,u);case 10:return $0(e),PX([0,i],[0,f],0,e,t,u);case 83:1-i&&Bx(e,63),u0(e,83);var a=W(e);if(typeof a=="number")switch(a){case 4:return u;case 6:return $0(e),IX([0,i],fa0,ia0,e,t,u);case 98:if(T1(e))return u;break}else if(a[0]===3)return Bx(e,64),u;return PX([0,i],sa0,ca0,e,t,u)}else if(o[0]===3){var y=o[1];return f&&Bx(e,64),Je(Qv,oa0,0,e,t,[0,oe(qO,e,t,v2(e,u),y)])}return u}),C0(_X,function(x,r,e,t){var u=x?x[1]:1;return v2(r,Je($O,[0,u],0,r,e,[0,t]))}),C0(FO,function(x){return a0(0,function(r){var e=om(r),t=e[1],u=e[2],i=a0(0,function(L){var U=w0(L);u0(L,15);var B=c3(L),X=B[1],J=Ll([0,u,[0,U,[0,B[2],0]]]);if(W(L)===4)var e0=0,i0=0;else{var j=W(L),Y=0;if(typeof j=="number"&&j===98){var F=0;Y=1}if(!Y)var z=GR(X,bR(t,L)),F=[0,Tn(z,p(lx[13],ua0,z))];var e0=xe(L,Ve(L)),i0=F}var t0=Yv(0,L),$=t||t0[19],f0=l(f3($,X),t0),c0=W(t0)===86?f0:c6(t0,f0),v0=CO(t0),s0=v0[2],o0=v0[1];if(s0)var E0=mB(t0,s0),k0=o0;else var E0=s0,k0=t3(t0,o0);return[0,i0,c0,X,E0,k0,e0,J]},r),f=i[2],o=f[3],a=f[2],y=f[1],h=f[7],k=f[6],A=f[5],g=f[4],I=i[1],C=y6(r,t,o,1,Vv(a)),R=C[1];return i3(r,C[2],y,a),[7,[0,y,a,R,t,o,g,A,k,m0([0,h],0,0),I]]},x)}),C0(lm,function(x,r,e){switch(r){case 1:Xt(x,80);try{var t=By(Sl(Zx(xa0,e))),u=t}catch(A){var i=R1(A);if(i[1]!==mn)throw q0(i,0);var u=Rx(Zx(ra0,e))}break;case 2:Xt(x,79);try{var f=zC(e),u=f}catch(A){var o=R1(A);if(o[1]!==mn)throw q0(o,0);var u=Rx(Zx(ea0,e))}break;case 4:try{var a=zC(e),u=a}catch(A){var y=R1(A);if(y[1]!==mn)throw q0(y,0);var u=Rx(Zx(ta0,e))}break;default:try{var h=By(Sl(e)),u=h}catch(A){var k=R1(A);if(k[1]!==mn)throw q0(k,0);var u=Rx(Zx(na0,e))}}return u0(x,[0,r,e]),u}),C0(wX,function(x){var r=Gx(x),e=0;if(r!==0&&P1===C1(x,r-1|0)){var t=z2(x,0,r-1|0);e=1}if(!e)var t=x;return t}),C0(pm,function(x,r,e){var t=bK(l(wX,e));return u0(x,[1,r,e]),t}),C0(QO,function(x){var r=Nx(x),e=w0(x),t=W(x);if(typeof t=="number")switch(t){case 0:var u=l(lx[12],x);return[1,[0,u[1],[23,u[2]]],u[3]];case 4:return[0,l(SX,x)];case 6:var i=a0(0,EX,x),f=i[2];return[1,[0,i[1],[0,f[1]]],f[2]];case 21:return $0(x),[0,[0,r,[30,[0,m0([0,e],[0,mx(x)],0)]]]];case 29:return $0(x),[0,[0,r,[14,m0([0,e],[0,mx(x)],0)]]];case 40:return[0,l(lx[22],x)];case 98:var o=l(lx[17],x),a=o[2],y=o[1],h=tn<=a[1]?[11,a[2]]:[10,a[2]];return[0,[0,y,h]];case 30:case 31:return $0(x),[0,[0,r,[13,[0,t===31?1:0,m0([0,e],[0,mx(x)],0)]]]];case 74:case 105:return[0,l(AX,x)]}else switch(t[0]){case 0:var k=t[2],A=G0(lm,x,t[1],k);return[0,[0,r,[15,[0,A,k,m0([0,e],[0,mx(x)],0)]]]];case 1:var g=t[2],I=G0(pm,x,t[1],g);return[0,[0,r,[16,[0,I,g,m0([0,e],[0,mx(x)],0)]]]];case 2:var C=t[1],R=C[3],L=C[2],U=C[1];C[4]&&Xt(x,80),$0(x);var B=m0([0,e],[0,mx(x)],0),X=x[28],J=X[6],e0=X[7],i0=0;if(J){var j=J[1];if(qK(j,L))var Y=[18,[0,L,U,Gx(j),0,R,B]];else i0=1}else i0=1;if(i0){var z=0;if(e0){var F=e0[1];if(qK(F,L)){var Y=[18,[0,L,U,Gx(F),1,R,B]];z=1}}if(!z)var Y=[12,[0,L,R,B]]}return[0,[0,U,Y]];case 3:var t0=p(HO,x,t[1]);return[0,[0,t0[1],[29,t0[2]]]];case 4:if(!N(t[3],Zh)&&hr(1,x)===40)return[0,l(lx[22],x)];break}if(es(x)){var $=p(lx[13],0,x);return[0,[0,$[1],[8,$]]]}S1(0,x);var f0=0;return typeof t!="number"&&t[0]===7&&($0(x),f0=1),[0,[0,r,[14,m0([0,e],bv0,0)]]]}),C0(TX,function(x){return v2(x,l(QO,x))}),C0(HO,function(x,r){var e=r[5],t=r[1],u=r[3],i=r[2],f=w0(x);u0(x,[3,r]);var o=[0,t,[0,[0,u,i],e]];if(e)var a=0,y=[0,o,0],h=t;else for(var k=[0,o,0],A=0;;){var g=l(lx[7],x),I=[0,g,A],C=W(x),R=0;if(typeof C=="number"&&C===1){J1(x,4);var L=W(x),U=0;if(typeof L=="number"||L[0]!==3)U=1;else{var B=L[1],X=B[5],J=B[1],e0=B[3],i0=B[2];$0(x),W1(x);var j=[0,[0,J,[0,[0,e0,i0],X]],k];if(!X){var k=j,A=I;continue}var Y=gx(I),z=[0,J,gx(j),Y];R=1}if(U)throw q0([0,Tr,Hv0],1)}if(!R){S1(qv0,x);var F=[0,g[1],Gv0],t0=gx(I),$=gx([0,F,k]),z=[0,g[1],$,t0]}var a=z[3],y=z[2],h=z[1];break}var f0=mx(x),c0=i1(t,h);return[0,c0,[0,y,a,m0([0,f],[0,f0],0)]]}),C0(qO,function(x,r,e,t){var u=I1(x)[2],i=p(u,e,function(o,a){return p(qx(o,an,3),o,a)}),f=p(HO,x,t);return[0,i1(r,f[1]),[28,[0,i,f,0]]]}),C0(SX,function(x){var r=w0(x),e=a0(0,function(o){u0(o,4);var a=Nx(o),y=l(Wt,o),h=W(o),k=0;if(typeof h=="number")if(h===9)var A=[0,G0(ym,o,a,[0,y,0])];else if(h===86)var A=[1,[0,y,Fv(o),0]];else k=1;else k=1;if(k)var A=[0,y];return u0(o,5),A},x),t=e[2],u=e[1],i=mx(x),f=t[0]===0?t[1]:[0,u,[31,t[1]]];return G0(GO,[0,r],[0,i],f)}),C0(GO,function(x,r,e){var t=e[2],u=e[1],i=x?x[1]:0,f=r?r[1]:0;function o(br){return g2(br,m0([0,i],[0,f],0))}function a(br){return JR(br,m0([0,i],[0,f],0))}switch(t[0]){case 0:var y=t[1],h=a(y[2]),ax=[0,[0,y[1],h]];break;case 1:var k=t[1],A=k[10],g=o(k[9]),ax=[1,[0,k[1],k[2],k[3],k[4],k[5],k[6],k[7],k[8],g,A]];break;case 2:var I=t[1],C=o(I[4]),ax=[2,[0,I[1],I[2],I[3],C]];break;case 3:var R=t[1],L=o(R[4]),ax=[3,[0,R[1],R[2],R[3],L]];break;case 4:var U=t[1],B=o(U[4]),ax=[4,[0,U[1],U[2],U[3],B]];break;case 5:var X=t[1],J=o(X[7]),ax=[5,[0,X[1],X[2],X[3],X[4],X[5],X[6],J]];break;case 6:var e0=t[1],i0=o(e0[4]),ax=[6,[0,e0[1],e0[2],e0[3],i0]];break;case 7:var j=t[1],Y=j[10],z=o(j[9]),ax=[7,[0,j[1],j[2],j[3],j[4],j[5],j[6],j[7],j[8],z,Y]];break;case 8:var F=t[1],t0=F[2],$=F[1],f0=o(t0[2]),ax=[8,[0,$,[0,t0[1],f0]]];break;case 9:var c0=t[1],v0=o(c0[2]),ax=[9,[0,c0[1],v0]];break;case 10:var s0=t[1],o0=o(s0[4]),ax=[10,[0,s0[1],s0[2],s0[3],o0]];break;case 11:var E0=t[1],k0=o(E0[4]),ax=[11,[0,E0[1],E0[2],E0[3],k0]];break;case 12:var M0=t[1],D0=o(M0[3]),ax=[12,[0,M0[1],M0[2],D0]];break;case 13:var cx=t[1],g0=o(cx[2]),ax=[13,[0,cx[1],g0]];break;case 14:var ax=[14,o(t[1])];break;case 15:var Z0=t[1],n0=o(Z0[3]),ax=[15,[0,Z0[1],Z0[2],n0]];break;case 16:var nx=t[1],xx=o(nx[3]),ax=[16,[0,nx[1],nx[2],xx]];break;case 17:var yx=t[1],px=o(yx[4]),ax=[17,[0,yx[1],yx[2],yx[3],px]];break;case 18:var Tx=t[1],O0=o(Tx[6]),ax=[18,[0,Tx[1],Tx[2],Tx[3],Tx[4],Tx[5],O0]];break;case 19:var P0=t[1],N0=o(P0[4]),ax=[19,[0,P0[1],P0[2],P0[3],N0]];break;case 20:var J0=t[1],I0=o(J0[3]),ax=[20,[0,J0[1],J0[2],I0]];break;case 21:var Q=t[1],G=o(Q[3]),ax=[21,[0,Q[1],Q[2],G]];break;case 22:var V=t[1],l0=o(V[4]),ax=[22,[0,V[1],V[2],V[3],l0]];break;case 23:var d0=t[1],A0=a(d0[2]),ax=[23,[0,d0[1],A0]];break;case 24:var M=t[1],L0=M[1],V0=M[3],B0=M[2],vx=o(L0[4]),ax=[24,[0,[0,L0[1],L0[2],L0[3],vx],B0,V0]];break;case 25:var b0=t[1],hx=b0[1],W0=b0[3],T=b0[2],K=o(hx[3]),ax=[25,[0,[0,hx[1],hx[2],K],T,W0]];break;case 26:var H0=t[1],sx=o(H0[2]),ax=[26,[0,H0[1],sx]];break;case 27:var ax=[27,[0,o(t[1][1])]];break;case 28:var ux=t[1],z0=o(ux[3]),ax=[28,[0,ux[1],ux[2],z0]];break;case 29:var Px=t[1],kx=o(Px[3]),ax=[29,[0,Px[1],Px[2],kx]];break;case 30:var ax=[30,[0,o(t[1][1])]];break;case 31:var $x=t[1],Qx=o($x[3]),ax=[31,[0,$x[1],$x[2],Qx]];break;case 32:var ax=t;break;case 33:var j0=t[1],rr=o(j0[3]),ax=[33,[0,j0[1],j0[2],rr]];break;case 34:var zx=t[1],X0=o(zx[4]),ax=[34,[0,zx[1],zx[2],zx[3],X0]];break;default:var ir=t[1],K0=ir[4],Sr=ir[3],Dr=o(ir[2]),ax=[35,[0,ir[1],Dr,Sr,K0]]}return[0,u,ax]}),C0(EX,function(x){var r=w0(x);u0(x,6);for(var e=[0,0,kn];;){var t=e[2],u=e[1],i=W(x);if(typeof i=="number"){var f=0;if(13<=i)Er===i&&(f=1);else if(7<=i)switch(i-7|0){case 0:f=1;break;case 2:var o=Nx(x);$0(x);var e=[0,[0,[2,o],u],t];continue;case 5:var a=w0(x),y=a0(0,function(z){$0(z);var F=l(s3,z);return F[0]===0?[0,F[1],kn]:[0,F[1],F[2]]},x),h=y[2],k=h[2],A=y[1],g=h[1],I=[1,[0,A,[0,g,m0([0,a],0,0)]]],C=W(x)===7?1:0,R=0;if(!C&&hr(1,x)===7){var L=[0,k[1],[0,[0,A,20],k[2]]];R=1}if(!R)var L=k;1-C&&u0(x,9);var e=[0,[0,I,u],DO(L,t)];continue}if(f){var U=aX(t),B=gx(u),X=w0(x);return u0(x,7),[0,[0,B,K1([0,r],[0,mx(x)],X,0)],U]}}var J=l(s3,x);if(J[0]===0)var e0=kn,i0=J[1];else var e0=J[2],i0=J[1];W(x)!==7&&u0(x,9);var e=[0,[0,[0,i0],u],DO(e0,t)]}}),C0(AX,function(x){J1(x,5);var r=Nx(x),e=w0(x),t=W(x),u=0;if(typeof t!="number"&&t[0]===5){var i=t[3],f=t[2];$0(x);var o=mx(x),a=o,y=i,h=f,k=Zx(Vv0,Zx(f,Zx(Wv0,i)));u=1}if(!u){S1(Zv0,x);var a=0,y=$v0,h=Fv0,k=Qv0}W1(x);var A=Zr(Gx(y)),g=Gx(y)-1|0,I=0;if(g>=0)for(var C=I;;){var R=ix(y,C),L=R-100|0,U=0;if(21>=L>>>0)switch(L){case 0:case 3:case 5:case 9:case 15:case 17:case 21:ct(A,R),U=1;break}var B=C+1|0;if(g!==C){var C=B;continue}break}var X=z1(A);return N(X,y)&&Bx(x,[17,y]),[0,r,[17,[0,h,X,k,m0([0,e],[0,a],0)]]]});var ES0=function(x){return function(r){if(typeof r=="number"){var e=0;if(65<=r){var t=r+lM|0;if(49>>0)e=1;else{var u=t-15|0;if(9>=u>>>0)switch(u){case 0:case 1:case 3:case 9:e=1;break}}}else 8<=r?r===59&&(e=1):6<=r&&(e=1);if(e)return 0}throw q0(ns,1)}},AS0=function(x){var r=W(x);if(typeof r=="number"&&!r){var e=p(lx[16],1,x);return[0,[0,e[1]],e[2]]}return[0,[1,l(lx[10],x)],0]};C0(bO,function(x){var r=Yd(ES0,x),e=Nx(r);if(hr(1,r)===11)var u=0,i=0;else var t=om(r),u=t[2],i=t[1];var f=i||r[19],o=bR(f,r),a=o[18],y=a0(0,function(o0){var E0=xe(o0,Ve(o0));if(es(o0)&&E0===0){var k0=p(lx[13],Xv0,o0),M0=k0[1],D0=[0,M0,[0,[0,M0,[2,[0,k0,[0,wn(o0)],0]]],0]];return[0,E0,[0,M0,[0,0,[0,D0,0],0,0]],[0,[0,M0[1],M0[3],M0[3]]],0]}var cx=l(f3(f,a),o0);nX(o0,cx);var g0=CO(Bv(1,o0));return[0,E0,cx,g0[1],g0[2]]},o),h=y[2],k=h[2],A=k[2],g=0,I=h[4],C=h[3],R=h[1],L=y[1];if(!A[1]){var U=0,B=A[2];if((A[3]||!B)&&(U=1),U){var X=iB(o);g=1}}if(!g)var X=o;var J=k[2],e0=J[1];if(e0){var i0=k[1];ex(X,[0,e0[1][1],90]);var j=[0,i0,[0,0,J[2],J[3],J[4]]]}else var j=k;var Y=Vv(j),z=b2(X),F=z&&(W(X)===11?1:0);F&&Bx(X,59),u0(X,11);var t0=fB(iB(X),i,0,Y),$=a0(0,AS0,t0),f0=$[2],c0=f0[1],v0=$[1];i3(t0,f0[2],0,j);var s0=i1(e,v0);return[0,[0,s0,[1,[0,0,j,c0,i,0,I,C,R,m0([0,u],0,0),L]]]]}),C0(ym,function(x,r,e){return a0([0,r],function(t){for(var u=e;;){var i=W(t);if(typeof i=="number"&&i===9){$0(t);var u=[0,l(Wt,t),u];continue}return[26,[0,gx(u),0]]}},x)});var gS0=function(x){var r=w0(x);$0(x);var e=m0([0,r],0,0),t=l(vm,x),u=b2(x)?f6(x):$d(x),i=u[2];return[0,p(i,t,function(f,o){return p(qx(f,an,63),f,o)}),e]},uL=function(x){if(!x[28][3])return 0;for(var r=0;;){var e=W(x);if(typeof e=="number"&&e===13){var r=[0,a0(0,gS0,x),r];continue}return gx(r)}},jo=function(x,r){var e=x?x[1]:0,t=w0(r),u=W(r);if(typeof u=="number")switch(u){case 6:var i=a0(0,function(v0){var s0=w0(v0);u0(v0,6);var o0=e6(0,v0),E0=l(lx[10],o0);return u0(v0,7),[0,E0,m0([0,s0],[0,mx(v0)],0)]},r),f=i[1];return[0,f,[5,[0,f,i[2]]]];case 14:if(!e){var o=a0(0,function(v0){return $0(v0),[3,_2(v0)]},r),a=o[1],y=o[2];return ex(r,[0,a,67]),[0,a,y]}var h=wB(r),k=r[30][1],A=h[2][1],g=h[1];if(k){var I=k[1],C=k[2],R=I[2],L=[0,[0,p(h2[4],A,I[1]),R],C];r[30][1]=L}else Rx(es0);return[0,g,[4,h]]}else switch(u[0]){case 0:var U=u[2],B=u[1],X=Nx(r),J=G0(lm,r,B,U);return[0,X,[1,[0,X,[0,J,U,m0([0,t],[0,mx(r)],0)]]]];case 1:var e0=u[2],i0=u[1],j=Nx(r),Y=G0(pm,r,i0,e0);return[0,j,[2,[0,j,[0,Y,e0,m0([0,t],[0,mx(r)],0)]]]];case 2:var z=u[1],F=z[4],t0=z[3],$=z[2],f0=z[1];return F&&Xt(r,80),u0(r,[2,[0,f0,$,t0,F]]),[0,f0,[0,[0,f0,[0,$,t0,m0([0,t],[0,mx(r)],0)]]]]}var c0=_2(r);return[0,c0[1],[3,c0]]},dm=function(x,r,e){var t=c3(x),u=t[1],i=t[2],f=jo([0,r],x),o=f[1],a=0,y=Sn(x,f[2]);return[0,y,a0(0,function(h){var k=Yv(1,h),A=a0(0,function(X){var J=l(f3(0,0),X),e0=0,i0=W(X)===86?J:c6(X,J);if(e){var j=i0[2],Y=0;if(j[1])ex(X,[0,o,28]),Y=1;else{var z=0;j[2]||j[3]?z=1:Y=1,z&&ex(X,[0,o,27])}}else{var F=i0[2];if(F[1])ex(X,[0,o,70]);else{var t0=F[2],$=0;t0&&!t0[2]&&!F[3]&&($=1),$||(F[3]?ex(X,[0,o,69]):ex(X,[0,o,69]))}}return[0,e0,i0,t3(X,PO(X))]},k),g=A[2],I=g[2],C=g[3],R=g[1],L=A[1],U=y6(k,a,u,0,Vv(I)),B=U[1];return i3(k,U[2],0,I),[0,0,I,B,a,u,0,C,R,m0([0,i],0,0),L]},x)]},CX=function(x){var r=l(s3,x);return r[0]===0?[0,r[1],kn]:[0,r[1],r[2]]},RX=function(x,r){switch(r[0]){case 0:var e=r[1],t=e[1],u=e[2];return ex(x,[0,t,52]),[0,t,[12,u]];case 1:var i=r[1],f=i[1],o=i[2];return ex(x,[0,f,52]),[0,f,[15,o]];case 2:var a=r[1],y=a[1],h=a[2];return ex(x,[0,y,52]),[0,y,[16,h]];case 3:var k=r[1],A=k[2][1],g=k[1];return Bd(A)?ex(x,[0,g,99]):r3(A)&&vt(x,[0,g,84]),[0,g,[8,k]];case 4:return Rx(R30);default:var I=r[1][2][1];return ex(x,[0,I[1],8]),I}},OX=function(x,r,e){function t(i){var f=Yv(1,i),o=a0(0,function(C){var R=xe(C,Ve(C)),L=l(f3(x,r),C),U=W(C)===86?L:c6(C,L);return[0,R,U,t3(C,PO(C))]},f),a=o[2],y=a[2],h=a[3],k=a[1],A=o[1],g=y6(f,x,r,0,Vv(y)),I=g[1];return i3(f,g[2],0,y),[0,0,y,I,x,r,0,h,k,m0([0,e],0,0),A]}var u=0;return function(i){return a0(u,t,i)}},LX=function(x){return u0(x,86),CX(x)},iL=function(x,r,e,t,u,i){var f=a0([0,r],function(a){if(!t&&!u){var y=W(a);if(typeof y=="number"){var h=0;if(86<=y){if(y===98)h=1;else if(87>y){var k=LX(a);return[0,[0,e,k[1],0],k[2]]}}else{if(y===82){if(e[0]===3)var A=e[1],g=Nx(a),I=function(B){var X=w0(B);u0(B,82);var J=mx(B),e0=p(lx[19],B,[0,A[1],[8,A]]),i0=l(lx[10],B);return[2,[0,0,e0,i0,m0([0,X],[0,J],0)]]},C=a0([0,A[1]],I,a),R=[0,C,[0,[0,[0,g,[23,pd(C30)]],0],0]];else var R=LX(a);return[0,[0,e,R[1],1],R[2]]}if(10>y)switch(y){case 4:h=1;break;case 1:case 9:return[0,[0,e,RX(a,e),1],kn]}}if(h){var L=Sn(a,e);return[0,[1,L,l(OX(t,u,i),a)],kn]}}return[0,[0,e,RX(a,e),1],kn]}var U=Sn(a,e);return[0,[1,U,l(OX(t,u,i),a)],kn]},x),o=f[2];return[0,[0,[0,f[1],o[1]]],o[2]]},NS0=function(x){if(W(x)===12){var r=w0(x),e=a0(0,function(M0){return u0(M0,12),CX(M0)},x),t=e[2],u=t[2],i=t[1],f=e[1];return[0,[1,[0,f,[0,i,m0([0,r],0,0)]]],u]}var o=Nx(x),a=hr(1,x),y=0;if(typeof a=="number"){var h=0;if(86<=a)a!==98&&87<=a&&(h=1);else if(a!==82)if(10<=a)h=1;else switch(a){case 1:case 4:case 9:break;default:h=1}if(!h){var A=0,g=0;y=1}}if(!y)var k=om(x),A=k[2],g=k[1];var I=c3(x),C=I[1],R=Fx(A,I[2]),L=W(x);if(!g&&!C&&typeof L!="number"&&L[0]===4){var U=L[3];if(!N(U,Tv)){var B=w0(x),X=jo(0,x)[2],J=W(x);if(typeof J=="number"){var e0=0;if(86<=J)J!==98&&87<=J&&(e0=1);else if(J!==82)if(10<=J)e0=1;else switch(J){case 1:case 4:case 9:break;default:e0=1}if(!e0)return iL(x,o,X,0,0,0)}Sn(x,X);var i0=a0([0,o],function(M0){return dm(M0,0,1)},x),j=i0[2],Y=j[2],z=j[1],F=i0[1];return[0,[0,[0,F,[2,z,Y,m0([0,B],0,0)]]],kn]}if(!N(U,Oa)){var t0=w0(x),$=jo(0,x)[2],f0=W(x);if(typeof f0=="number"){var c0=0;if(86<=f0)f0!==98&&87<=f0&&(c0=1);else if(f0!==82)if(10<=f0)c0=1;else switch(f0){case 1:case 4:case 9:break;default:c0=1}if(!c0)return iL(x,o,$,0,0,0)}Sn(x,$);var v0=a0([0,o],function(M0){return dm(M0,0,0)},x),s0=v0[2],o0=s0[2],E0=s0[1],k0=v0[1];return[0,[0,[0,k0,[3,E0,o0,m0([0,t0],0,0)]]],kn]}}return iL(x,o,jo(0,x)[2],g,C,R)},IS0=function(x){var r=a0(0,function(t){var u=w0(t);u0(t,0);for(var i=0,f=[0,0,kn];;){var o=f[2],a=f[1],y=W(t);if(typeof y=="number"){var h=0;if(y!==1&&Er!==y&&(h=1),!h){var k=i?[0,o[1],[0,[0,i[1],94],o[2]]]:o,A=aX(k),g=gx(a),I=w0(t);return u0(t,1),[0,[0,g,K1([0,u],[0,mx(t)],I,0)],A]}}var C=NS0(t),R=C[1],L=0,U=C[2];if(R[0]===1&&W(t)===9){var B=[0,Nx(t)];L=1}if(!L)var B=0;var X=DO(U,o),J=W(t),e0=0;if(typeof J=="number"){var i0=J-2|0,j=0;if(P1>>0?fe>=i0+1>>>0&&(j=1):i0===7&&($0(t),j=1),j){var Y=X;e0=1}}if(!e0){var z=ZR(Qc0,9),F=aB([0,z],W(t)),t0=[0,Nx(t),F];v1(t,8);var Y=[0,[0,t0,X[1]],[0,t0,X[2]]]}var i=B,f=[0,[0,R,a],Y]}},x),e=r[2];return[0,r[1],e[1],e[2]]},mm=function(x,r,e,t){var u=e[2][1],i=e[1];if(Nr(u,kv))return ex(x,[0,i,[15,u,0,Oj===t?1:0,1]]),r;for(var f=r;;){if(typeof f=="number")var a=0;else if(f[0]===0)var o=f[2],a=Ex(u,f[1])===0?[0,o]:0;else{var y=Ex(u,f[2]),h=f[5],k=f[4],A=f[3];if(y!==0){var g=0<=y?h:k,f=g;continue}var a=[0,A]}if(!a)return Gd(u,t,r);var I=a[1],C=0;return IN===t?YP===I&&(C=1):YP===t&&IN===I&&(C=1),C||ex(x,[0,i,[1,u]]),Gd(u,MD,r)}},UX=function(x,r){return a0(0,function(e){var t=r?w0(e):0;u0(e,52);for(var u=0;;){var i=[0,a0(0,function(a){var y=us(a);if(W(a)===98)var h=I1(a)[2],k=p(h,y,function(A,g){return p(qx(A,Na,64),A,g)});else var k=y;return[0,k,xX(a)]},e),u],f=W(e);if(typeof f=="number"&&f===9){u0(e,9);var u=i;continue}var o=gx(i);return[0,o,m0([0,t],0,0)]}},x)},fL=function(x){switch(x[0]){case 0:case 3:var r=x[1];return[0,[0,r[1],r[2][1]]];default:return 0}},cL=function(x,r){return r?ex(x,[0,r[1][1],ut]):0},sL=function(x,r){return r?ex(x,[0,r[1],13]):0},MX=function(x,r,e,t,u,i,f,o){var a=a0([0,r],function(C){var R=rX(C),L=W(C);if(i){var U=0;if(typeof L=="number"&&L===82){Bx(C,14),$0(C);var B=0}else U=1;if(U)var B=0}else{var X=0;if(typeof L=="number"&&L===82){$0(C);var J=Yv(1,C),B=[0,l(lx[7],J)];X=1}if(!X)var B=1}var e0=W(C),i0=0;if(typeof e0=="number"&&9>e0)switch(e0){case 8:$0(C);var j=W(C),Y=0;if(typeof j=="number"){var z=0;if(j===1||Er===j?z=1:Y=1,z)var F=mx(C)}else Y=1;if(Y)var F=b2(C)?Uo(C):0;var t0=[0,t,R,B,F];i0=1;break;case 4:case 6:S1(0,C);var t0=[0,t,R,B,0];i0=1;break}if(!i0){var $=W(C),f0=0;if(typeof $=="number"){var c0=0;if($===1||Er===$?c0=1:f0=1,c0)var v0=[0,0,function(px,Tx){return px}]}else f0=1;if(f0)var v0=b2(C)?f6(C):$d(C);if(typeof B=="number")if(R[0]===0)var s0=function(yx,px){return p(qx(yx,GU,67),yx,px)},D0=B,cx=R,g0=p(v0[2],t,s0);else var o0=R[1],E0=function(yx,px){return p(qx(yx,KP,68),yx,px)},D0=B,cx=[1,p(v0[2],o0,E0)],g0=t;else var k0=B[1],M0=function(yx,px){return p(qx(yx,an,69),yx,px)},D0=[0,p(v0[2],k0,M0)],cx=R,g0=t;var t0=[0,g0,cx,D0,0]}var Z0=t0[3],n0=t0[2],nx=t0[1];return[0,nx,n0,Z0,m0([0,o],[0,t0[4]],0)]},x),y=a[2],h=y[4],k=y[3],A=y[2],g=y[1],I=a[1];return g[0]===4?[2,[0,I,[0,g[1],k,A,u,f,e,h]]]:[1,[0,I,[0,g,k,A,u,f,e,h]]]},oL=function(x,r,e,t,u,i,f,o,a,y){for(;;){var h=W(x);if(typeof h=="number"){var k=h-1|0,A=0;if(7>>0){var g=k-81|0;if(4>=g>>>0)switch(g){case 3:S1(0,x),$0(x);continue;case 0:case 4:A=1;break}}else 5>>0&&(A=1);if(A&&!u&&!i)return MX(x,r,e,t,f,o,a,y)}var I=W(x),C=0;if(typeof I=="number"&&(I===4||I===98))var R=0;else C=1;if(C)var R=e3(x)?1:0;if(R)return MX(x,r,e,t,f,o,a,y);sL(x,o),cL(x,a);var L=fL(t),U=0;if(f){if(L){var B=L[1],X=B[1];if(!N(B[2],yo)){ex(x,[0,X,[15,S30,f,1,0]]);var i0=Yv(1,x),j=1;U=1}}}else if(L){var J=L[1],e0=J[1];if(!N(J[2],kv)){u&&ex(x,[0,e0,10]),i&&ex(x,[0,e0,11]);var i0=Yv(2,x),j=0;U=1}}if(!U)var i0=Yv(1,x),j=1;var Y=Sn(i0,t),z=a0(0,function(t0){var $=a0(0,function(M0){var D0=xe(M0,Ve(M0)),cx=l(f3(u,i),M0),g0=W(M0)===86?cx:c6(M0,cx),Z0=g0[2],n0=Z0[1],nx=0;if(n0){var xx=n0[1][1],yx=g0[1];if(j===0){ex(M0,[0,xx,91]);var px=[0,yx,[0,0,Z0[2],Z0[3],Z0[4]]];nx=1}}if(!nx)var px=g0;return[0,D0,px,t3(M0,PO(M0))]},t0),f0=$[2],c0=f0[2],v0=f0[3],s0=f0[1],o0=$[1],E0=y6(t0,u,i,0,Vv(c0)),k0=E0[1];return i3(t0,E0[2],0,c0),[0,0,c0,k0,u,i,0,v0,s0,0,o0]},i0),F=[0,j,Y,z,f,e,m0([0,y],0,0)];return[0,[0,i1(r,z[1]),F]]}},vL=function(x,r){var e=hr(x,r);if(typeof e=="number"){var t=0;if(86<=e)e!==98&&87<=e&&(t=1);else if(e!==82)if(9<=e)t=1;else switch(e){case 1:case 4:case 8:break;default:t=1}if(!t)return 1}return 0},PS0=0,DX=function(x){return vL(PS0,x)},CS0=function(x){var r=Nx(x),e=uL(x),t=W(x),u=0;if(typeof t=="number"&&t===60&&!vL(1,x)){var i=[0,Nx(x)],f=w0(x);$0(x);var o=f,a=i;u=1}if(!u)var o=0,a=0;var y=W(x),h=0;if(typeof y=="number"&&2>=y+tj>>>0&&Oo(1,x)){var k=0;if(typeof y=="number"){var A=y+tj|0;if(2>=A>>>0){switch(A){case 0:var g=Wz;break;case 1:var g=rl;break;default:var g=ol}var I=g;k=1}}if(!k)var I=Rx(E30);Bx(x,[21,I]),$0(x),h=1}var C=W(x)===42?1:0;if(C){var R=hr(1,x),L=0;if(typeof R=="number"){var U=0;if(87<=R)R!==98&&Er!==R&&(U=1);else{var B=R-9|0;if(76>>0){if(77>B)switch(B+9|0){case 1:case 4:case 8:break;default:U=1}}else B!==73&&(U=1)}if(!U){var X=0;L=1}}if(!L)var X=1;var J=X}else var J=C;if(J){var e0=w0(x);$0(x);var i0=e0}else var i0=0;var j=W(x)===64?1:0;if(j)var Y=1-vL(1,x),z=Y&&1-n6(1,x);else var z=j;if(z){var F=w0(x);$0(x);var t0=F}else var t0=0;var $=c3(x),f0=$[1],c0=$[2],v0=Oo(1,x),s0=v0||(hr(1,x)===6?1:0),o0=Nx(x),E0=W(x),k0=0;if(typeof E0=="number")switch(E0){case 103:var M0=w0(x);$0(x);var g0=[0,[0,o0,[0,0,m0([0,M0],0,0)]]];k0=1;break;case 104:var D0=w0(x);$0(x);var g0=[0,[0,o0,[0,1,m0([0,D0],0,0)]]];k0=1;break}else if(E0[0]===4&&!N(E0[3],Ta)&&s0){var cx=w0(x);$0(x);var g0=[0,[0,o0,[0,2,m0([0,cx],0,0)]]];k0=1}if(!k0)var g0=0;var Z0=0;if(g0){var n0=0,nx=g0[1][1];if((z||f0)&&(n0=1),n0){ex(x,[0,nx,ut]);var xx=0;Z0=1}}if(!Z0)var xx=g0;var yx=0;if(!f0&&xx){var px=c3(x),Tx=px[2],O0=px[1];yx=1}if(!yx)var Tx=c0,O0=f0;var P0=Ll([0,o,[0,i0,[0,t0,[0,Tx,0]]]]),N0=W(x);if(!z&&!O0&&typeof N0!="number"&&N0[0]===4){var J0=N0[3];if(!N(J0,Tv)){var I0=w0(x),Q=jo(g30,x)[2];if(DX(x))return oL(x,r,e,Q,z,O0,J,a,xx,P0);sL(x,a),cL(x,xx),Sn(x,Q);var G=Fx(P0,I0),V=a0([0,r],function(X0){return dm(X0,1,1)},x),l0=V[2],d0=l0[1],A0=l0[2],M=V[1],L0=fL(d0),V0=0;if(J){if(L0){var B0=L0[1],vx=B0[1];N(B0[2],yo)||(ex(x,[0,vx,[15,P30,J,0,0]]),V0=1)}}else if(L0){var b0=L0[1],hx=b0[1];N(b0[2],kv)||(ex(x,[0,hx,9]),V0=1)}return[0,[0,M,[0,2,d0,A0,J,e,m0([0,G],0,0)]]]}if(!N(J0,Oa)){var W0=w0(x),T=jo(A30,x)[2];if(DX(x))return oL(x,r,e,T,z,O0,J,a,xx,P0);sL(x,a),cL(x,xx),Sn(x,T);var K=Fx(P0,W0),H0=a0([0,r],function(X0){return dm(X0,1,0)},x),sx=H0[2],ux=sx[1],z0=sx[2],Px=H0[1],kx=fL(ux),$x=0;if(J){if(kx){var Qx=kx[1],j0=Qx[1];N(Qx[2],yo)||(ex(x,[0,j0,[15,I30,J,0,0]]),$x=1)}}else if(kx){var rr=kx[1],zx=rr[1];N(rr[2],kv)||(ex(x,[0,zx,9]),$x=1)}return[0,[0,Px,[0,3,ux,z0,J,e,m0([0,K],0,0)]]]}}return oL(x,r,e,jo(N30,x)[2],z,O0,J,a,xx,P0)},jX=function(x,r,e,t){var u=x?x[1]:0,i=Qs(1,r),f=Fx(u,uL(i)),o=w0(i),a=W(i),y=0;typeof a!="number"&&a[0]===4&&!N(a[3],Zh)&&(Bx(i,87),$0(i),y=1),u0(i,40);var h=xO(1,i),k=W(h),A=0;if(e&&typeof k=="number"){var g=0;if(52<=k?k!==98&&53<=k&&(g=1):k!==41&&k&&(g=1),!g){var R=0;A=1}}if(!A)if(es(i))var I=p(lx[13],0,h),C=I1(i)[2],R=[0,p(C,I,function($,f0){return p(qx($,Na,71),$,f0)})];else{lB(i,h30);var R=[0,[0,Nx(i),_30]]}var L=Ve(i);if(L)var U=L[1],B=I1(i)[2],X=[0,p(B,U,function($,f0){return p(qx($,WP,70),$,f0)})];else var X=0;var J=w0(i);if(v1(i,41))var e0=a0(0,function($){var f0=l(vm,GR(0,$));if(W($)===98)var c0=I1($)[2],v0=p(c0,f0,function(o0,E0){return p(qx(o0,an,65),o0,E0)});else var v0=f0;var s0=xX($);return[0,v0,s0,m0([0,J],0,0)]},i),i0=e0[1],j=e0[2],Y=I1(i)[2],z=[0,[0,i0,p(Y,j,function($,f0){return G0(qx($,-663447790,66),$,i0,f0)})]];else var z=0;if(W(i)===52){1-T1(i)&&Bx(i,P1);var F=[0,hB(i,UX(i,1))]}else var F=0;var t0=a0(0,function($){var f0=w0($);if(!v1($,0))return Hs($,0),T30;$[30][1]=[0,[0,h2[1],0],$[30][1]];for(var c0=0,v0=RT0,s0=0;;){var o0=W($);if(typeof o0=="number"){var E0=o0-2|0;if(P1>>0){if(fe>=E0+1>>>0){var k0=gx(s0),M0=function(j0,rr){return l(Ul(function(zx){return 1-p(h2[3],zx[1],j0)}),rr)},D0=$[30][1];if(D0){var cx=D0[1],g0=cx[1];if(D0[2]){var Z0=D0[2],n0=M0(g0,cx[2]),nx=Ol(Z0),xx=nx[2],yx=nx[1],px=ZK(Z0),Tx=[0,[0,yx,Fx(xx,n0)],px];$[30][1]=Tx}else{var O0=M0(g0,cx[2]);S2(function(j0){return ex($,[0,j0[2],[22,j0[1]]])},O0),$[30][1]=0}}else Rx(ts0);u0($,1);var P0=W($),N0=0;if(!t){var J0=0;if((typeof P0!="number"||P0!==1&&Er!==P0)&&(J0=1),J0)if(b2($)){var I0=Uo($);N0=1}else{var I0=0;N0=1}}if(!N0)var I0=mx($);return[0,k0,m0([0,f0],[0,I0],0)]}}else if(E0===6){u0($,8);continue}}var Q=CS0($);switch(Q[0]){case 0:var G=Q[1],V=G[2],l0=G[1];switch(V[1]){case 0:if(V[4])var z0=v0,Px=c0;else{c0&&ex($,[0,l0,18]);var z0=v0,Px=1}break;case 1:var d0=V[2],A0=d0[0]===4?mm($,v0,d0[1],Oj):v0,z0=A0,Px=c0;break;case 2:var M=V[2],L0=M[0]===4?mm($,v0,M[1],IN):v0,z0=L0,Px=c0;break;default:var V0=V[2],B0=V0[0]===4?mm($,v0,V0[1],YP):v0,z0=B0,Px=c0}break;case 1:var vx=Q[1][2],b0=vx[4],hx=vx[1];switch(hx[0]){case 4:Rx(w30);break;case 0:case 3:var W0=hx[1],T=W0[2][1],K=Nr(T,kv),H0=W0[1];if(K)var ux=K;else var sx=Nr(T,yo),ux=sx&&b0;ux&&ex($,[0,H0,[15,T,b0,0,0]]);break}var z0=v0,Px=c0;break;default:var z0=mm($,v0,Q[1][2][1],MD),Px=c0}var c0=Px,v0=z0,s0=[0,Q,s0]}},i);return[0,R,t0,X,z,F,f,m0([0,o],0,0)]},km=function(x,r){return a0(0,function(e){return[2,jX([0,r],e,e[7],0)]},x)},RS0=function(x){return[5,jX(0,x,1,1)]},OS0=0,LS0=function(x){return a0(OS0,RS0,x)},zX=EB(lx),KX=function(x){var r=d6(x);if(x[5])Wv(x,r[1]);else{var e=r[2],t=0;if(e[0]===26){var u=e[1],i=r[1],f=0;u[4]?(ex(x,[0,i,5]),f=1):u[5]&&(ex(x,[0,i,26]),f=1),f&&(t=1)}}return r},hm=function(x,r){var e=r[4],t=r[3],u=r[2],i=r[1];e&&Xt(x,80);var f=w0(x);return u0(x,[2,[0,i,u,t,e]]),[0,i,[0,u,t,m0([0,f],[0,mx(x)],0)]]},e2=function(x,r,e){var t=x?x[1]:al0,u=r?r[1]:1,i=W(e);if(typeof i=="number"){var f=i-2|0;if(P1>>0){if(fe>=f+1>>>0){var o=function(h,k){return h};return[1,[0,mx(e),o]]}}else if(f===6){$0(e);var a=W(e);if(typeof a=="number"){var y=0;if(a!==1&&Er!==a&&(y=1),!y)return[0,mx(e)]}return b2(e)?[0,Uo(e)]:ll0}}return b2(e)?[1,f6(e)]:(u&&S1([0,t],e),pl0)},Gs=function(x){var r=W(x);if(typeof r=="number"){var e=0;if(r!==1&&Er!==r&&(e=1),!e){var t=function(u,i){return u};return[0,mx(x),t]}}return b2(x)?f6(x):$d(x)},aL=function(x,r,e){var t=e2(0,0,r);if(t[0]===0)return[0,t[1],e];var u=t[1][2],i=gx(e);if(i)var f=i[2],o=i[1],a=gx([0,p(u,o,function(y,h){return G0(qx(y,634872468,72),y,x,h)}),f]);else var a=0;return[0,0,a]},JX=function x(r){return x.fun(r)},YX=function x(r){return x.fun(r)},BX=function x(r){return x.fun(r)},XX=function x(r){return x.fun(r)},WX=function x(r){return x.fun(r)},k6=function x(r,e){return x.fun(r,e)},VX=function x(r){return x.fun(r)},ZX=function x(r){return x.fun(r)},h6=function x(r,e,t){return x.fun(r,e,t)},$X=function x(r){return x.fun(r)},FX=function x(r){return x.fun(r)},_6=function x(r,e){return x.fun(r,e)},QX=function x(r){return x.fun(r)},HX=function x(r){return x.fun(r)},_m=function x(r,e){return x.fun(r,e)},qX=function x(r){return x.fun(r)},wm=function x(r,e){return x.fun(r,e)},GX=function x(r){return x.fun(r)},bX=function x(r){return x.fun(r)},Tm=function x(r,e){return x.fun(r,e)},xW=function x(r){return x.fun(r)},w6=function x(r,e,t){return x.fun(r,e,t)},T6=function x(r,e){return x.fun(r,e)},rW=function x(r,e){return x.fun(r,e)},eW=function x(r,e){return x.fun(r,e)},lL=function x(r,e){return x.fun(r,e)},tW=function x(r){return x.fun(r)},o3=function x(r){return x.fun(r)},Sm=function x(r,e,t){return x.fun(r,e,t)},pL=function x(r,e){return x.fun(r,e)},nW=function x(r,e){return x.fun(r,e)},yL=function x(r){return x.fun(r)},US0=function(x){var r=w0(x);u0(x,59);var e=W(x)===8?mx(x):0,t=e2(0,0,x),u=t[0]===0?t[1]:t[1][1];return[5,[0,m0([0,r],[0,Fx(e,u)],0)]]},MS0=0,DS0=function(x){var r=w0(x);u0(x,37);var e=r6(1,x),t=l(lx[2],e),u=1-x[5],i=u&&s6(t);i&&Wv(x,t[1]);var f=mx(x);u0(x,25);var o=mx(x);u0(x,4);var a=l(lx[7],x);u0(x,5);var y=W(x)===8?mx(x):0,h=e2(0,vl0,x),k=h[0]===0?Fx(y,h[1]):h[1][1];return[17,[0,t,a,m0([0,r],[0,Fx(f,Fx(o,k))],0)]]},jS0=0,uW=function(x,r,e){var t=e[2][1],u=e[1];return t&&!t[1][2][2]&&!t[2]?0:ex(x,[0,u,r])},dL=function(x,r){return!x[5]&&s6(r)?Wv(x,r[1]):0},zS0=function(x){var r=w0(x);u0(x,39);var e=x[19],t=e&&v1(x,65),u=Fx(r,w0(x));u0(x,4);var i=m0([0,u],0,0),f=W(x),o=0;if(typeof f=="number"&&f===64){var a=1;o=1}if(!o)var a=0;var y=e6(1,x),h=W(y),k=0;if(typeof h=="number"){if(24<=h){if(29>h)switch(h+mT|0){case 0:var A=a0(0,cX,y),g=A[2],I=g[3],C=g[1],R=A[1],F=I,t0=[0,[1,[0,R,[0,C,0,m0([0,g[2]],0,0)]]]];k=1;break;case 3:var L=a0(0,sX,y),U=L[2],B=U[3],X=U[1],J=L[1],F=B,t0=[0,[1,[0,J,[0,X,2,m0([0,U[2]],0,0)]]]];k=1;break;case 4:if(hr(1,y)!==17){var e0=a0(0,oX,y),i0=e0[2],j=i0[3],Y=i0[1],z=e0[1],F=j,t0=[0,[1,[0,z,[0,Y,1,m0([0,i0[2]],0,0)]]]];k=1}break}}else if(h===8){var F=0,t0=0;k=1}}if(!k)var F=0,t0=[0,[0,l(lx[8],y)]];var $=W(x);if(typeof $=="number"){if($===17){if(!t0)throw q0([0,Tr,ol0],1);var f0=t0[1];if(f0[0]===0)var c0=[1,MO(sl0,x,f0[1])];else{var v0=f0[1];uW(x,42,v0);var c0=[0,v0]}t?u0(x,63):u0(x,17);var s0=l(lx[7],x);u0(x,5);var o0=r6(1,x),E0=l(lx[2],o0);return dL(x,E0),[24,[0,c0,s0,E0,0,i]]}if($===63){if(!t0)throw q0([0,Tr,cl0],1);var k0=t0[1];if(k0[0]===0){var M0=MO(fl0,x,k0[1]),D0=1-t,cx=D0&&a,g0=0;if(cx){var Z0=M0[2];if(Z0[0]===2){var n0=Z0[1][1],nx=n0[1];N(n0[2][1],ko)||(ex(x,[0,nx,43]),g0=1)}}var xx=[1,M0]}else{var yx=k0[1];uW(x,43,yx);var xx=[0,yx]}u0(x,63);var px=l(lx[10],x);u0(x,5);var Tx=r6(1,x),O0=l(lx[2],Tx);return dL(x,O0),[25,[0,xx,px,O0,t,i]]}}if(S2(function(L0){return ex(x,L0)},F),t?u0(x,63):u0(x,8),t0)var P0=t0[1],N0=P0[0]===0?[0,[1,v2(x,P0[1])]]:[0,[0,P0[1]]],J0=N0;else var J0=0;var I0=W(x),Q=0;if(typeof I0=="number"&&I0===8){var G=0;Q=1}if(!Q)var G=[0,l(lx[7],x)];u0(x,8);var V=W(x),l0=0;if(typeof V=="number"&&V===5){var d0=0;l0=1}if(!l0)var d0=[0,l(lx[7],x)];u0(x,5);var A0=r6(1,x),M=l(lx[2],A0);return dL(x,M),[23,[0,J0,G,d0,M,i]]},KS0=0,iW=function(x){var r=Lo(x)?KX(x):l(lx[2],x),e=1-x[5],t=e&&s6(r);return t&&Wv(x,r[1]),r},JS0=function(x){var r=w0(x);u0(x,43);var e=iW(x);return[0,e,m0([0,r],0,0)]},YS0=function(x){var r=w0(x);u0(x,16);var e=Fx(r,w0(x));u0(x,4);var t=l(lx[7],x);u0(x,5);var u=iW(x),i=W(x)===43?[0,a0(0,JS0,x)]:0;return[27,[0,t,u,i,m0([0,e],0,0)]]},BS0=0,fW=function(x){return a0(BS0,YS0,x)},XS0=function(x){1-x[11]&&Bx(x,31);var r=w0(x),e=Nx(x);u0(x,19);var t=W(x)===8?mx(x):0,u=0;if(W(x)!==8&&!e3(x)){var i=[0,l(lx[7],x)];u=1}if(!u)var i=0;var f=i1(e,Nx(x)),o=e2(0,0,x),a=0;if(o[0]===0)var y=o[1];else{var h=o[1],k=h[1];if(i){var A=i[1],g=h[2],I=[0,p(g,A,function(B,X){return p(qx(B,an,73),B,X)})],C=t;a=1}else var y=k}if(!a)var I=i,C=Fx(t,y);return[31,[0,I,m0([0,r],[0,C],0),f]]},WS0=0,VS0=function(x){var r=w0(x);u0(x,20),u0(x,4);var e=l(lx[7],x);u0(x,5),u0(x,0);for(var t=il0;;){var u=t[2],i=t[1],f=W(x);if(typeof f=="number"){var o=0;if(f!==1&&Er!==f&&(o=1),!o){var a=gx(u);u0(x,1);var y=Gs(x)[1],h=e[1];return[32,[0,e,a,m0([0,r],[0,y],0),h]]}}var k=Qd(0,function(g){return function(I){var C=w0(I),R=W(I),L=0;if(typeof R=="number"&&R===36){g&&Bx(I,57),u0(I,36);var U=mx(I),B=0;L=1}if(!L){u0(I,33);var U=0,B=[0,l(lx[7],I)]}var X=g||(B===0?1:0);u0(I,86);var J=Fx(U,Gs(I)[1]);function e0(z){if(typeof z=="number"){var F=z-1|0,t0=0;if(32>>0?F===35&&(t0=1):30>>0&&(t0=1),t0)return 1}return 0}var i0=1,j=I[9]===1?I:[0,I[1],I[2],I[3],I[4],I[5],I[6],I[7],I[8],i0,I[10],I[11],I[12],I[13],I[14],I[15],I[16],I[17],I[18],I[19],I[20],I[21],I[22],I[23],I[24],I[25],I[26],I[27],I[28],I[29],I[30],I[31]],Y=p(lx[4],e0,j);return[0,[0,B,Y,m0([0,C],[0,J],0)],X]}}(i),x),t=[0,k[2],[0,k[1],u]]}},ZS0=0,$S0=function(x){var r=w0(x),e=Nx(x);u0(x,22),b2(x)&&ex(x,[0,e,58]);var t=l(lx[7],x),u=e2(0,0,x);if(u[0]===0)var o=t,a=u[1];else var i=u[1][2],f=0,o=p(i,t,function(y,h){return p(qx(y,an,74),y,h)}),a=f;return[33,[0,o,m0([0,r],[0,a],0)]]},FS0=0,QS0=function(x){var r=w0(x);u0(x,23);var e=l(lx[15],x);if(W(x)===34)var t=I1(x)[2],u=p(t,e,function(L,U){var B=U[1];return[0,B,G0(qx(L,Vp,4),L,B,U[2])]});else var u=e;var i=W(x),f=0;if(typeof i=="number"&&i===34){var o=[0,a0(0,function(U){var B=w0(U);u0(U,34);var X=mx(U);if(W(U)===4){u0(U,4);var J=[0,p(lx[18],U,71)];u0(U,5);var e0=J}else var e0=0;var i0=l(lx[15],U);if(W(U)===38)var Y=i0;else var j=Gs(U)[2],Y=p(j,i0,function(z,F){var t0=F[1];return[0,t0,G0(qx(z,Vp,75),z,t0,F[2])]});return[0,e0,Y,m0([0,B],[0,X],0)]},x)];f=1}if(!f)var o=0;var a=W(x),y=0;if(typeof a=="number"&&a===38){u0(x,38);var h=l(lx[15],x),k=h[1],A=h[2],g=Gs(x)[2],I=[0,[0,k,p(g,A,function(U,B){return G0(qx(U,Vp,76),U,k,B)})]];y=1}if(!y)var I=0;var C=o===0?1:0,R=C&&(I===0?1:0);return R&&ex(x,[0,u[1],60]),[34,[0,u,o,I,m0([0,r],0,0)]]},HS0=0,qS0=function(x){var r=cX(x),e=r[3],t=r[2],u=aL(0,x,r[1]),i=0,f=u[2],o=u[1];return S2(function(a){return ex(x,a)},e),[37,[0,f,i,m0([0,t],[0,o],0)]]},GS0=0,bS0=function(x){var r=sX(x),e=r[3],t=r[2],u=aL(2,x,r[1]),i=2,f=u[2],o=u[1];return S2(function(a){return ex(x,a)},e),[37,[0,f,i,m0([0,t],[0,o],0)]]},xE0=0,rE0=function(x){var r=oX(x),e=r[3],t=r[2],u=aL(1,x,r[1]),i=1,f=u[2],o=u[1];return S2(function(a){return ex(x,a)},e),[37,[0,f,i,m0([0,t],[0,o],0)]]},eE0=0,tE0=function(x){var r=w0(x);u0(x,25);var e=Fx(r,w0(x));u0(x,4);var t=l(lx[7],x);u0(x,5);var u=r6(1,x),i=l(lx[2],u),f=1-x[5],o=f&&s6(i);return o&&Wv(x,i[1]),[38,[0,t,i,m0([0,e],0,0)]]},nE0=0,uE0=function(x){var r=w0(x),e=l(lx[7],x),t=W(x),u=e[2];if(u[0]===8&&typeof t=="number"&&t===86){var i=u[1],f=i[2][1],o=e[1];u0(x,86),p(h2[3],f,x[3])&&ex(x,[0,o,[20,nl0,f]]);var a=x[31],y=x[30],h=x[29],k=x[28],A=x[27],g=x[26],I=x[25],C=x[24],R=x[23],L=x[22],U=x[21],B=x[20],X=x[19],J=x[18],e0=x[17],i0=x[16],j=x[15],Y=x[14],z=x[13],F=x[12],t0=x[11],$=x[10],f0=x[9],c0=x[8],v0=x[7],s0=x[6],o0=x[5],E0=x[4],k0=p(h2[4],f,x[3]),M0=[0,x[1],x[2],k0,E0,o0,s0,v0,c0,f0,$,t0,F,z,Y,j,i0,e0,J,X,B,U,L,R,C,I,g,A,k,h,y,a],D0=Lo(M0)?KX(M0):l(lx[2],M0);return[30,[0,i,D0,m0([0,r],0,0)]]}var cx=e2(ul0,0,x);if(cx[0]===0)var n0=e,nx=cx[1];else var g0=cx[1][2],Z0=0,n0=p(g0,e,function(xx,yx){return p(qx(xx,an,77),xx,yx)}),nx=Z0;return[22,[0,n0,0,m0(0,[0,nx],0)]]},iE0=0,fE0=function(x){var r=l(lx[7],x),e=e2(tl0,0,x);if(e[0]===0)var i=r,f=e[1];else var t=e[1][2],u=0,i=p(t,r,function(I,C){return p(qx(I,an,78),I,C)}),f=u;if(x[20]){var o=i[2];if(o[0]===12){var a=o[1][2],y=0;if(1i)switch(i-53|0){case 0:return a0([0,u],function(a){1-T1(a)&&Bx(a,fn);var y=a0(0,l(_6,0),a),h=[0,y[1],[29,y[2]]];return[21,[0,[0,h],0,0,0,m0([0,t],0,0)]]},e);case 8:if(hr(1,e)!==0)return a0([0,u],function(a){1-T1(a)&&Bx(a,fn);var y=hr(1,a);if(typeof y=="number"){if(y===48)return Bx(a,21),u0(a,61),[21,[0,0,0,0,0,m0([0,t],0,0)]];if(_1===y){u0(a,61);var h=Nx(a);u0(a,_1);var k=l(o3,a),A=k[1];return[21,[0,0,[0,[1,[0,h,0]]],[0,A],0,m0([0,t],[0,k[2]],0)]]}}var g=a0(0,l(k6,0),a),I=[0,g[1],[35,g[2]]];return[21,[0,[0,I],0,0,0,m0([0,t],0,0)]]},e);break;case 9:return a0([0,u],function(a){var y=a0(0,function(k){return l(p(h6,0,0),k)},a),h=[0,y[1],[36,y[2]]];return[21,[0,[0,h],0,0,0,m0([0,t],0,0)]]},e)}}else if(i===36)return a0([0,u],function(a){var y=Fx(t,w0(a)),h=a0(0,function(X){return u0(X,36)},a)[1],k=nB(1,a);if(Lo(k))var A=0,g=[0,d6(k)];else if(u6(k))var A=0,g=[0,km(k,x)];else if(W(k)===48)var A=0,g=[0,l(vX(0),k)];else if(iO(k))var A=0,g=[0,UO(k)];else{var I=l(lx[10],k),C=e2(0,0,k);if(C[0]===0)var U=C[1],B=I;else var R=C[1][2],L=0,U=L,B=p(R,I,function(e0,i0){return p(qx(e0,an,96),e0,i0)});var A=U,g=[1,B]}return[20,[0,h,g,m0([0,y],[0,A],0)]]},e)}if(u6(e))return a0([0,u],function(a){var y=km(a,x);return[21,[0,[0,y],0,0,1,m0([0,t],0,0)]]},e);if(Lo(e))return a0([0,u],function(a){l(Wd(a),x);var y=d6(a);return[21,[0,[0,y],0,0,1,m0([0,t],0,0)]]},e);if(typeof i=="number"){var f=i+mT|0;if(4>>0){if(f===24&&e[28][2])return a0([0,u],function(a){var y=p(lx[3],[0,x],a);return[21,[0,[0,y],0,0,1,m0([0,t],0,0)]]},e)}else if(1>>0)return a0([0,u],function(a){var y=p(lx[3],[0,x],a);return[21,[0,[0,y],0,0,1,m0([0,t],0,0)]]},e)}if(iO(e))return a0([0,u],function(a){var y=UO(a);return[21,[0,[0,y],0,0,1,m0([0,t],0,0)]]},e);if(typeof i=="number"&&_1===i)return a0([0,u],function(a){var y=Nx(a);u0(a,_1);var h=W(a),k=0;if(typeof h!="number"&&h[0]===4&&!N(h[3],Ct)){$0(a);var A=[0,_2(a)];k=1}if(!k)var A=0;var g=l(o3,a),I=g[1];return[21,[0,0,[0,[1,[0,y,A]]],[0,I],1,m0([0,t],[0,g[2]],0)]]},e);var o=v1(e,61)?0:1;return v1(e,0)?a0([0,u],function(a){var y=G0(Sm,0,a,0);u0(a,1);var h=W(a),k=0;if(typeof h!="number"&&h[0]===4&&!N(h[3],il)){var A=l(o3,a),g=A[2],I=[0,A[1]];k=1}if(!k){p(pL,a,y);var C=e2(0,0,a),R=C[0]===0?C[1]:C[1][1],g=R,I=0}return[21,[0,0,[0,[0,y]],I,o,m0([0,t],[0,g],0)]]},e):(S1(U30,e),p(lx[3],[0,x],e))}),C0(yL,function(x){var r=x?x[1]:0;function e(u){1-T1(u)&&Bx(u,Rs);var i=w0(u);u0(u,60);var f=tB(1,Qs(1,u)),o=Fx(i,w0(f));u0(f,49);var a=W(f);if(typeof a=="number")switch(a){case 36:var y=Fx(o,w0(f)),h=a0(0,function(N0){return u0(N0,36)},f)[1],k=nB(1,f),A=W(k),g=0;if(typeof A=="number")switch(A){case 15:var I=0,C=I,R=[0,[1,a0(0,function(N0){return p(Tm,0,N0)},k)]];g=1;break;case 40:var C=0,R=[0,[2,a0(0,l(_m,0),k)]];g=1;break}else if(A[0]===4&&!N(A[3],vo)&&k[28][1]){var C=0,R=[0,[3,a0(0,l(wm,0),k)]];g=1}if(!g){var L=qs(k),U=e2(0,0,k);if(U[0]===0)var J=U[1],e0=L;else var B=U[1][2],X=0,J=X,e0=p(B,L,function(I0,Q){return p(qx(I0,Sa,97),I0,Q)});var C=J,R=[0,[4,e0]]}return[9,[0,[0,h],R,0,0,m0([0,y],[0,C],0)]];case 48:if(f[28][2]){var i0=zX[1],j=a0(0,function(N0){return p(i0,0,N0)},f);return[9,[0,0,[0,[8,j]],0,0,m0([0,o],0,0)]]}break;case 53:if(r){var Y=a0(0,l(_6,0),f);return[9,[0,0,[0,[7,Y]],0,0,m0([0,o],0,0)]]}break;case 61:if(r){var z=a0(0,l(k6,0),f);return[9,[0,0,[0,[5,z]],0,0,m0([0,o],0,0)]]}break;case 62:var F=a0(0,p(h6,O30,0),f);return[9,[0,0,[0,[6,F]],0,0,m0([0,o],0,0)]];case 106:var t0=Nx(f);u0(f,_1);var $=W(f),f0=0;if(typeof $!="number"&&$[0]===4&&!N($[3],Ct)){$0(f);var c0=[0,p(lx[13],0,f)];f0=1}if(!f0)var c0=0;var v0=l(o3,f),s0=v0[1];return[9,[0,0,0,[0,[1,[0,t0,c0]]],[0,s0],m0([0,o],[0,v0[2]],0)]];case 15:case 24:case 27:case 28:case 40:var o0=W(f);if(typeof o0=="number"){var E0=0;if(24<=o0){if(41>o0){var k0=0;switch(o0+mT|0){case 0:var M0=[0,[0,a0(0,function(N0){return G0(w6,0,N0,0)},f)]];break;case 3:var M0=[0,[0,a0(0,function(N0){return G0(w6,2,N0,0)},f)]];break;case 4:var M0=[0,[0,a0(0,function(N0){return G0(w6,1,N0,0)},f)]];break;case 16:var M0=[0,[2,a0(0,l(_m,0),f)]];break;default:k0=1}if(!k0){var D0=M0;E0=1}}}else if(o0===15){var D0=[0,[1,a0(0,function(J0){return p(Tm,0,J0)},f)]];E0=1}if(E0)return[9,[0,0,D0,0,0,m0([0,o],0,0)]]}throw q0([0,Tr,L30],1)}else if(a[0]===4&&!N(a[3],vo)&&f[28][1]){var cx=[0,[3,a0(0,l(wm,0),f)]];return[9,[0,0,cx,0,0,m0([0,o],0,0)]]}var g0=W(f),Z0=0;typeof g0=="number"?g0===53?Bx(f,15):g0===61?Bx(f,16):Z0=1:Z0=1,u0(f,0);var n0=G0(Sm,0,f,0);u0(f,1);var nx=W(f),xx=0;if(typeof nx!="number"&&nx[0]===4&&!N(nx[3],il)){var yx=l(o3,f),px=yx[2],Tx=[0,yx[1]];xx=1}if(!xx){p(pL,f,n0);var O0=e2(0,0,f),P0=O0[0]===0?O0[1]:O0[1][1],px=P0,Tx=0}return[9,[0,0,0,[0,[0,n0]],Tx,m0([0,o],[0,px],0)]]}var t=0;return function(u){return a0(t,e,u)}});var vW=function x(r,e){return x.fun(r,e)},aW=function x(r,e){return x.fun(r,e)},A6=function x(r,e){return x.fun(r,e)},gm=function(x,r){return function(e){if(!e)return gx(r);var t=e[1];if(t[0]!==0){var u=t[1],i=u[1];if(e[2]){var f=e[2];return ex(x,[0,i,68]),l(gm(x,r),f)}var o=u[2],a=o[2];return l(gm(x,[0,[1,[0,i,[0,p(A6,x,o[1]),a]]],r]),0)}var y=t[1],h=y[2],k=e[2],A=y[1];switch(h[0]){case 0:var g=h[2],I=h[1],C=h[3];switch(I[0]){case 0:var R=[0,I[1]];break;case 1:var R=[1,I[1]];break;case 2:var R=[2,I[1]];break;case 3:var R=[3,I[1]];break;case 4:var R=Rx(ml0);break;default:var R=[4,I[1]]}var L=g[2],U=0;if(L[0]===2){var B=L[1];if(!B[1]){var X=[0,B[3]],J=B[2];U=1}}if(!U)var X=0,J=p(A6,x,g);var e0=[0,[0,[0,A,[0,R,J,X,C]]],r];break;case 1:ex(x,[0,h[2][1],54]);var e0=r;break;default:ex(x,[0,h[2][1],kl0]);var e0=r}return l(gm(x,e0),k)}};C0(vW,function(x,r){var e=r[2],t=e[2],u=e[1],i=r[1],f=n3(x);return[0,i,[0,[0,l(gm(x,0),u),f,t]]]});var lW=function(x,r){var e=r[1];return l(lx[23],r)?[0,p(A6,x,r)]:(ex(x,[0,e,40]),0)},v3=function(x,r){return function(e){if(!e)return gx(r);var t=e[1];switch(t[0]){case 0:var u=t[1],i=u[2];if(i[0]===2){var f=i[1];if(!f[1]){var o=e[2];return l(v3(x,[0,[0,[0,u[1],[0,f[2],[0,f[3]]]]],r]),o)}}var a=e[2],y=lW(x,u);if(y)var h=y[1],k=[0,[0,[0,h[1],[0,h,0]]],r];else var k=r;return l(v3(x,k),a);case 1:var A=t[1],g=A[1];if(e[2]){var I=e[2];return ex(x,[0,g,20]),l(v3(x,r),I)}var C=A[2],R=C[2],L=lW(x,C[1]),U=L?[0,[1,[0,g,[0,L[1],R]]],r]:r;return l(v3(x,U),0);default:var B=e[2];return l(v3(x,[0,[2,t[1]],r]),B)}}};C0(aW,function(x,r){var e=r[2],t=e[2],u=e[1],i=r[1],f=n3(x);return[0,i,[1,[0,l(v3(x,0),u),f,t]]]}),C0(A6,function(x,r){var e=r[2],t=r[1];switch(e[0]){case 0:return p(aW,x,[0,t,e[1]]);case 8:var u=e[1],i=u[2][1],f=u[1],o=0;if(x[5]&&Xv(i)?ex(x,[0,f,75]):o=1,o&&1-x[5]){var a=0;if(x[18]&&Nr(i,U2)?ex(x,[0,f,Ps]):a=1,a){var y=x[19],h=y&&Nr(i,_v);h&&ex(x,[0,f,6])}}return[0,t,[2,[0,u,n3(x),0]]];case 23:return p(vW,x,[0,t,e[1]]);default:return[0,t,[3,[0,t,e]]]}});var g6=function(x,r){var e=W(x);if(typeof e=="number"){if(e===6)return a0(0,function(i){var f=w0(i);u0(i,6);for(var o=0;;){var a=W(i);if(typeof a=="number"){var y=0;if(13<=a)Er===a&&(y=1);else if(7<=a)switch(a-7|0){case 0:y=1;break;case 2:var h=Nx(i);u0(i,9);var o=[0,[2,h],o];continue;case 5:var k=w0(i),A=a0(0,function(j){return u0(j,12),g6(j,r)},i),g=A[1],I=A[2],C=[1,[0,g,[0,I,m0([0,k],0,0)]]];W(i)!==7&&(ex(i,[0,g,20]),W(i)===9&&$0(i));var o=[0,C,o];continue}if(y){var R=gx(o),L=w0(i);u0(i,7);var U=W(i)===86?[1,Fv(i)]:n3(i);return[1,[0,R,U,K1([0,f],[0,mx(i)],L,0)]]}}var B=a0(0,function(i0){var j=g6(i0,r),Y=W(i0),z=0;if(typeof Y=="number"&&Y===82){u0(i0,82);var F=[0,l(lx[10],i0)];z=1}if(!z)var F=0;return[0,j,F]},i),X=B[2],J=[0,[0,B[1],[0,X[1],X[2]]]];W(i)!==7&&u0(i,9);var o=[0,J,o]}},x);if(!e){var t=function(i){var f=W(i);return typeof f=="number"&&f===82?(u0(i,82),[0,l(lx[10],i)]):0};return a0(0,function(i){var f=w0(i);u0(i,0);for(var o=0,a=0,y=0;;){var h=W(i);if(typeof h=="number"){var k=0;if(h!==1&&Er!==h&&(k=1),!k){a&&ex(i,[0,a[1],94]);var A=gx(y),g=w0(i);u0(i,1);var I=mx(i),C=W(i)===86?[1,Fv(i)]:n3(i);return[0,[0,A,C,K1([0,f],[0,I],g,0)]]}}if(W(i)===12)var R=w0(i),L=a0(0,function(Tx){return u0(Tx,12),g6(Tx,r)},i),U=L[2],B=L[1],X=[0,[1,[0,B,[0,U,m0([0,R],0,0)]]]];else{var J=Nx(i),e0=p(lx[20],0,i),i0=W(i),j=0;if(typeof i0=="number"&&i0===86){u0(i,86);var Y=a0([0,J],function(O0){var P0=g6(O0,r);return[0,P0,t(O0)]},i),z=Y[2],F=e0[2],t0=z[2],$=z[1],f0=Y[1];switch(F[0]){case 0:var c0=[0,F[1]];break;case 1:var c0=[1,F[1]];break;case 2:var c0=[2,F[1]];break;case 3:var c0=[3,F[1]];break;case 4:var c0=Rx(yl0);break;default:var c0=[4,F[1]]}var X=[0,[0,[0,f0,[0,c0,$,t0,0]]]]}else j=1;if(j){var v0=e0[2];if(v0[0]===3){var s0=v0[1],o0=s0[2][1],E0=s0[1];Bd(o0)?ex(i,[0,E0,99]):r3(o0)&&vt(i,[0,E0,84]);var k0=a0([0,J],function(O0,P0){return function(N0){var J0=[0,P0,[2,[0,O0,n3(N0),0]]];return[0,J0,t(N0)]}}(s0,E0),i),M0=k0[2],X=[0,[0,[0,k0[1],[0,[3,s0],M0[1],M0[2],1]]]]}else{S1(dl0,i);var X=0}}}if(X){var D0=X[1],cx=D0[1][1],g0=o?(ex(i,[0,cx,68]),0):a;if(D0[0]===0)var n0=g0,nx=o;else var Z0=W(i)===9?[0,Nx(i)]:0,n0=Z0,nx=1;W(i)!==1&&u0(i,9);var o=nx,a=n0,y=[0,D0,y]}}},x)}}var u=G0(lx[14],x,0,r);return[0,u[1],[2,u[2]]]},Nm=function(x){var r=W(x);if(typeof r=="number"){var e=r+yz|0,t=0;if(6>>0?e===14&&(t=1):4>>0&&(t=1),t)return mx(x)}return b2(x)?Uo(x):0},pW=function(x){return W(x)===1?0:[0,l(lx[7],x)]},bs=function(x){var r=Nx(x),e=W(x),t=0;if(typeof e!="number"&&e[0]===8){var u=e[1];t=1}if(!t){S1(Al0,x);var u=gl0}var i=w0(x);$0(x);var f=W(x),o=0;if(typeof f=="number"){var a=f+CM|0,y=0;if(72>>0?a===76&&(y=1):70>>0&&(y=1),y){var h=mx(x);o=1}}if(!o)var h=Nm(x);return[0,r,[0,u,m0([0,i],[0,h],0)]]},yW=function(x){var r=hr(1,x);if(typeof r=="number"){if(r===10)for(var e=a0(0,function(i){var f=[0,bs(i)];return u0(i,10),[0,f,bs(i)]},x);;){var t=W(x);if(typeof t=="number"&&t===10){var u=e[1],e=a0([0,u],function(f){return function(o){return u0(o,10),[0,[1,f],bs(o)]}}(e),x);continue}return[2,e]}if(r===86)return[1,a0(0,function(i){var f=bs(i);return u0(i,86),[0,f,bs(i)]},x)]}return[0,bs(x)]},N6=function(x,r){return Nr(x[2][1],r[2][1])},dW=function(x,r){var e=x[2],t=e[1],u=r[2],i=u[1],f=0,o=e[2],a=u[2];if(t[0]===0){var y=t[1];if(i[0]===0)var k=N6(y,i[1]);else f=1}else{var h=t[1];if(i[0]===0)f=1;else var k=dW(h,i[1])}if(f)var k=0;return k&&N6(o,a)},Im=function(x,r){switch(x[0]){case 0:var e=x[1];if(r[0]===0)return N6(e,r[1]);break;case 1:var t=x[1];if(r[0]===1){var u=t[2],i=r[1][2],f=u[2],o=i[2],a=N6(u[1],i[1]);return a&&N6(f,o)}break;default:var y=x[1];if(r[0]===2)return dW(y,r[1])}return 0},hL=function(x){switch(x[0]){case 0:return x[1][1];case 1:return x[1][1];default:return x[1][1]}},mW=function x(r,e){return x.fun(r,e)},_L=function x(r,e){return x.fun(r,e)},wL=function x(r,e){return x.fun(r,e)};C0(mW,function(x,r){var e=W(r);if(typeof e=="number"){if(e===0){J1(r,0);var t=a0(0,function(A){u0(A,0);var g=W(A),I=0;if(typeof g=="number"&&g===12){var C=w0(A);u0(A,12);var R=l(lx[10],A),B=[3,[0,R,m0([0,C],0,0)]];I=1}if(!I)var L=pW(A),U=L?0:w0(A),B=[2,[0,L,K1(0,0,U,0)]];return u0(A,1),B},r),u=t[2],i=t[1];return W1(r),[0,i,u]}}else if(e[0]===9){var f=e[3],o=e[2],a=e[1];return u0(r,e),[0,a,[4,[0,o,f]]]}var y=p(wL,x,r),h=y[2],k=y[1];return tn<=h[1]?[0,k,[1,h[2]]]:[0,k,[0,h[2]]]});var Pm=function(x){switch(x[0]){case 0:return x[1][2][1];case 1:var r=x[1][2],e=r[1],t=Zx(hl0,r[2][2][1]);return Zx(e[2][1],t);default:var u=x[1][2],i=u[1],f=u[2],o=i[0]===0?i[1][2][1]:Pm([2,i[1]]);return Zx(o,Zx(_l0,f[2][1]))}};C0(_L,function(x,r){var e=w0(r),t=a0(0,function(Rr){u0(Rr,98);var U1=W(Rr);if(typeof U1=="number"){if(U1===99)return $0(Rr),Tl0}else if(U1[0]===8){var _=yW(Rr),b=0;if(T1(Rr)&&W(Rr)===98&&Ue!==hr(1,Rr)){var x0=Zd(Rr,0,am);b=1}if(!b)var x0=0;for(var S0=0;;){var H=W(Rr);if(typeof H=="number"){if(H===0){var h0=w0(Rr);J1(Rr,0);var Y0=a0(0,function(Vx){u0(Vx,0),u0(Vx,12);var er=l(lx[10],Vx);return u0(Vx,1),er},Rr),U0=Y0[2],tx=Y0[1];W1(Rr);var S0=[0,[1,[0,tx,[0,U0,m0([0,h0],[0,Nm(Rr)],0)]]],S0];continue}}else if(H[0]===8){var S0=[0,[0,a0(0,function(Vx){var er=hr(1,Vx),Jx=0;if(typeof er=="number"&&er===86){var Or=[1,a0(0,function(ke){var lt=bs(ke);return u0(ke,86),[0,lt,bs(ke)]},Vx)];Jx=1}if(!Jx)var Or=[0,bs(Vx)];var Xx=W(Vx),X2=0;if(typeof Xx=="number"&&Xx===82){u0(Vx,82);var at=w0(Vx),de=W(Vx),En=0;if(typeof de=="number")if(de===0){var ro=w0(Vx);J1(Vx,0);var An=a0(0,function(ke){u0(ke,0);var lt=pW(ke);return u0(ke,1),lt},Vx),fs=An[1],me=An[2];W1(Vx);var gn=[0,me,K1([0,ro],[0,Nm(Vx)],0,0)];gn[1]||ex(Vx,[0,fs,51]);var re=[0,[1,[0,fs,gn]]]}else En=1;else if(de[0]===10){var Vt=de[3],dr=de[2],Zt=de[1];u0(Vx,de);var re=[0,[0,[0,Zt,[0,dr,Vt,m0([0,at],[0,Nm(Vx)],0)]]]]}else En=1;if(En){Bx(Vx,39);var re=[0,[0,[0,Nx(Vx),El0]]]}var Nn=re;X2=1}if(!X2)var Nn=0;return[0,Or,Nn]},Rr)],S0];continue}var Wx=gx(S0),Lx=[0,ao,[0,_,x0,v1(Rr,Ue),Wx]];return v1(Rr,99)?[0,Lx]:(Hs(Rr,99),[1,Lx])}}return Hs(Rr,99),Sl0},r);W1(r);var u=t[2];if(u[0]===0)var i=u[1],f=typeof i=="number"?0:i[2][3];else var f=1;if(f)var o=Og,a=o,y=a0(0,function(Rr){return 0},r);else{J1(r,3);for(var h=t[2][1],k=typeof h=="number"?0:[0,h[2][1]],A=Nx(r),g=0;;){var I=x3(r),C=0;if(g&&k){var R=g[1],L=R[2],U=0,B=k[1],X=g[2];if(L[0]===0){var J=L[1],e0=J[2];if(e0)var i0=e0[1][2][1],j=1-Im(J[1][2][1],i0),Y=j&&Im(B,i0);else U=1}else U=1;if(U)var Y=0;if(Y){var z=R[2],F=0;if(z[0]===0){var t0=z[1],$=t0[2];if($){var f0=$[1],c0=i1(R[1],t0[3][1]),v0=[0,ao,f0],s0=[0,c0,[0,[0,t0[1],0,t0[3],t0[4]]]];F=1}}if(!F)var v0=Og,s0=R;W1(r);var o0=[0,gx([0,s0,X]),I,v0];C=1}}if(!C){var E0=W(r),k0=0;if(typeof E0=="number"){if(E0===98){J1(r,2);var M0=W(r),D0=hr(1,r),cx=0;if(typeof M0=="number"&&M0===98&&typeof D0=="number"){var g0=0;if((Ue===D0||Er===D0)&&(g0=1),g0){var Z0=a0(0,function(b){u0(b,98),u0(b,Ue);var x0=W(b);if(typeof x0=="number"){if(x0===99)return $0(b),tn}else if(x0[0]===8){var S0=yW(b);return Vd(b,99),[0,ao,[0,S0]]}return Hs(b,99),tn},r),n0=Z0[2],nx=Z0[1],xx=typeof n0=="number"?[0,tn,nx]:[0,ao,[0,nx,n0[2]]],yx=r[24][1],px=0;if(yx){var Tx=yx[2];if(Tx){var O0=Tx[2];px=1}}if(!px)var O0=Rx(Hc0);r[24][1]=O0;var P0=ba(r),N0=bl(r[25][1],P0);r[26][1]=N0;var o0=[0,gx(g),I,xx];k0=1,cx=1}}if(!cx){var J0=p(_L,k,r),I0=J0[2],Q=J0[1],G=tn<=I0[1]?[0,Q,[1,I0[2]]]:[0,Q,[0,I0[2]]],g=[0,G,g];continue}}else if(Er===E0){S1(0,r);var o0=[0,gx(g),I,Og];k0=1}}if(!k0){var g=[0,p(mW,k,r),g];continue}}var V=o0[3],l0=o0[1],d0=I?I[1]:A,a=V,y=[0,i1(A,d0),l0];break}}var A0=mx(r),M=0;if(typeof a!="number"){var L0=a[1],V0=0;if(ao===L0){var B0=a[2],vx=B0[2][1],b0=t[2],hx=B0[1];if(b0[0]===0){var W0=b0[1];if(typeof W0=="number")ex(r,[0,hL(vx),wl0]);else{var T=W0[2][1];if(1-Im(vx,T)){var K=0;if(x&&Im(x[1],vx)){var H0=[18,Pm(T)];ex(r,[0,hL(T),H0]),K=1}if(!K){var sx=[13,Pm(T)];ex(r,[0,hL(vx),sx])}}}}var ux=hx;V0=1}else if(tn===L0){var z0=a[2],Px=t[2];if(Px[0]===0){var kx=Px[1];typeof kx!="number"&&ex(r,[0,z0,[13,Pm(kx[2][1])]])}var ux=z0;V0=1}if(V0){var $x=ux;M=1}}if(!M)var $x=t[1];var Qx=t[2][1],j0=t[1];if(typeof Qx=="number"){var rr=0,zx=m0([0,e],[0,A0],0);if(typeof a!="number"){var X0=a[1],ir=0;if(ao===X0){var K0=a[2][1];ir=1}else if(tn===X0){var K0=a[2];ir=1}if(ir){var Sr=K0;rr=1}}if(!rr)var Sr=$x;var Dr=[0,tn,[0,j0,Sr,y,zx]]}else{var ax=Qx[2],br=0,t2=m0([0,e],[0,A0],0);if(typeof a!="number"&&ao===a[1]){var k1=[0,a[2]];br=1}if(!br)var k1=0;var Dr=[0,ao,[0,[0,j0,ax],k1,y,t2]]}return[0,i1(t[1],$x),Dr]}),C0(wL,function(x,r){return J1(r,2),p(_L,x,r)});var kW=function(x,r){var e=_2(r);return Fd(x,r,e),e},hW=function x(r){return x.fun(r)},TL=function x(r,e,t){return x.fun(r,e,t)},SL=function x(r){return x.fun(r)},_W=function x(r,e){return x.fun(r,e)},EL=function x(r,e){return x.fun(r,e)},AL=function x(r,e){return x.fun(r,e)},Cm=function x(r,e){return x.fun(r,e)},I6=function x(r,e){return x.fun(r,e)},Rm=function x(r){return x.fun(r)},wW=function x(r){return x.fun(r)},TW=function x(r){return x.fun(r)},SW=function x(r,e,t){return x.fun(r,e,t)},EW=function x(r){return x.fun(r)},AW=function x(r){return x.fun(r)},aE0=l(wL,0);C0(hW,function(x){var r=W(x),e=0;if(typeof r!="number"&&r[0]===6){var t=r[2],u=r[1];$0(x);var i=[0,[0,u,t]];e=1}if(!e)var i=0;var f=w0(x),o=gx(f),a=5;x:for(;;){if(o)for(var y=o[2],h=o[1],k=h[2],A=h[1],g=k[2],I=0,C=Gx(g);;){if(C<(I+5|0))var R=0;else{var L=Nr(z2(g,I,a),"@flow");if(!L){var I=I+1|0;continue}var R=L}if(!R){var o=y;continue x}x[31][1]=A[3];var U=gx([0,[0,A,k],y]);break}else var U=0;if(U===0){var B=0;if(f){var X=f[1],J=X[2];if(!J[1]){var e0=J[2],i0=0,j=X[1];if(1<=Gx(e0)&&C1(e0,0)===42){x[31][1]=j[3];var Y=[0,X,0];B=1}else i0=1}}if(!B)var Y=0}else var Y=U;var z=p(_W,x,function(v0){return 0}),F=Nx(x);u0(x,Er);var t0=h2[1];if(b1(function(v0,s0){var o0=s0[2];switch(o0[0]){case 20:return o6(x,v0,hn(0,[0,o0[1][1],Ll0]));case 21:var E0=o0[1],k0=E0[1];if(k0){if(!E0[2]){var M0=k0[1],D0=M0[2],cx=0,g0=M0[1];switch(D0[0]){case 37:var Z0=D0[1][1],n0=0,nx=b1(function(P0,N0){return b1(aO,P0,[0,N0[2][1],0])},n0,Z0);return b1(function(P0,N0){return o6(x,P0,N0)},v0,nx);case 2:case 26:var xx=D0[1][1];if(xx)var yx=xx[1];else cx=1;break;case 3:case 19:case 29:case 35:case 36:var yx=D0[1][1];break;default:cx=1}return cx?v0:o6(x,v0,hn(0,[0,g0,yx[2][1]]))}}else{var px=E0[2];if(px){var Tx=px[1];if(Tx[0]!==0)return v0;var O0=Tx[1];return b1(function(P0,N0){var J0=N0[2],I0=J0[2],Q=J0[1];return I0?o6(x,P0,I0[1]):o6(x,P0,Q)},v0,O0)}}return v0;default:return v0}},t0,z),z)var $=Ol(gx(z))[1],f0=i1(Ol(z)[1],$);else var f0=F;var c0=gx(x[2][1]);return[0,f0,[0,z,i,m0([0,Y],0,0),c0]]}});var lE0=function(x,r,e,t){for(var u=x,i=t;;){var f=i[3],o=i[2],a=i[1],y=W(u);if(typeof y=="number"&&Er===y)return[0,u,a,o,f];if(l(r,y))return[0,u,a,o,f];if(typeof y!="number"&&y[0]===2){var h=l(e,u),k=[0,h,o],A=h[2];if(A[0]===22){var g=A[1][2];if(g){var I=Nr(g[1],"use strict"),C=h[1],R=I&&1-u[21];R&&ex(u,[0,C,83]);var L=I?Qs(1,u):u,U=[0,y,a],B=f||I,u=L,i=[0,U,k,B];continue}}return[0,u,a,k,f]}return[0,u,a,o,f]}};C0(TL,function(x,r,e){var t=lE0(eB(1,x),r,e,Cl0),u=t[4],i=t[3],f=t[2],o=eB(0,t[1]),a=gx(f);return S2(function(y){if(typeof y!="number"&&y[0]===2){var h=y[1],k=h[4],A=h[1];return k&&vt(o,[0,A,80])}return Rx(Zx(Ol0,Zx(kY(y),Rl0)))},a),[0,o,i,u]}),C0(SL,function(x){var r=uL(x),e=W(x);if(typeof e=="number"){var t=e-49|0;if(11>=t>>>0)switch(t){case 0:return p(nW,r,x);case 1:l(Wd(x),r);var u=hr(1,x),i=0;if(typeof u=="number"){var f=0;if((u===4||u===10)&&(f=1),f){var o=S6(x);i=1}}if(!i)var o=kL(x);return o;case 11:if(hr(1,x)===49)return l(Wd(x),r),p(yL,0,x);break}}return p(I6,[0,r],x)}),C0(_W,function(x,r){var e=G0(TL,x,r,SL),t=e[2],u=p(EL,r,e[1]);return b1(function(i,f){return[0,f,i]},u,t)}),C0(EL,function(x,r){for(var e=0;;){var t=W(r);if(typeof t=="number"&&Er===t||l(x,t))return gx(e);var e=[0,l(SL,r),e]}}),C0(AL,function(x,r){var e=G0(TL,r,x,function(f){return p(I6,0,f)}),t=e[3],u=e[2],i=p(Cm,x,e[1]);return[0,b1(function(f,o){return[0,o,f]},i,u),t]}),C0(Cm,function(x,r){for(var e=0;;){var t=W(r);if(typeof t=="number"&&Er===t||l(x,t))return gx(e);var e=[0,p(I6,0,r),e]}}),C0(I6,function(x,r){var e=x?x[1]:0;1-u6(r)&&l(Wd(r),e);var t=W(r);if(typeof t=="number"){if(t===27)return a0(xE0,bS0,r);if(t===28)return a0(eE0,rE0,r)}if(Lo(r))return d6(r);if(u6(r))return km(r,e);if(typeof t=="number"){var u=t+B1|0;if(14>=u>>>0)switch(u){case 0:if(r[28][2])return l(vX(0),r);break;case 5:return l(HX,r);case 12:return p(lL,0,r);case 13:return l(ZX,r);case 14:return l(FX,r)}}return iO(r)?UO(r):l(Rm,r)}),C0(Rm,function(x){var r=W(x);if(typeof r=="number"&&Vi>r)switch(r){case 0:return l(WX,x);case 8:return l(JX,x);case 16:return fW(x);case 19:return a0(WS0,XS0,x);case 20:return a0(ZS0,VS0,x);case 22:return a0(FS0,$S0,x);case 23:return a0(HS0,QS0,x);case 24:return a0(GS0,qS0,x);case 25:return a0(nE0,tE0,x);case 26:return l(XX,x);case 32:return l(YX,x);case 35:return l(BX,x);case 37:return a0(jS0,DS0,x);case 39:return a0(KS0,zS0,x);case 43:return fW(x);case 59:return a0(MS0,US0,x);case 113:return S1(Nl0,x),[0,Nx(x),Il0];case 1:case 5:case 7:case 9:case 10:case 11:case 12:case 17:case 18:case 33:case 34:case 36:case 38:case 41:case 42:case 49:case 83:case 86:return S1(Pl0,x),$0(x),l(Rm,x)}if(Lo(x)){var e=d6(x);return Wv(x,e[1]),e}if(typeof r=="number"&&r===28&&hr(1,x)===6){var t=t6(1,x);return ex(x,[0,i1(Nx(x),t),4]),S6(x)}return es(x)?a0(iE0,uE0,x):(u6(x)&&(S1(0,x),$0(x)),S6(x))}),C0(wW,function(x){var r=Nx(x),e=l(Wt,x),t=W(x);return typeof t=="number"&&t===9?G0(ym,x,r,[0,e,0]):e}),C0(TW,function(x){var r=Nx(x),e=l(s3,x),t=W(x);return typeof t=="number"&&t===9?[0,G0(ym,x,r,[0,v2(x,e),0])]:e}),C0(SW,function(x,r,e){var t=r?r[1]:0;return a0(0,function(u){var i=1-t,f=kW([0,e],u),o=i&&(W(u)===85?1:0);return o&&(1-T1(u)&&Bx(u,_1),u0(u,85)),[0,f,rX(u),o]},x)}),C0(EW,function(x){var r=Nx(x),e=w0(x);u0(x,0);var t=p(Cm,function(o){return o===1?1:0},x),u=Nx(x),i=t===0?w0(x):0;u0(x,1);var f=[0,t,K1([0,e],[0,mx(x)],i,0)];return[0,i1(r,u),f]}),C0(AW,function(x){function r(t){var u=w0(t);u0(t,0);var i=p(AL,function(g){return g===1?1:0},t),f=i[1],o=i[2],a=f===0?w0(t):0;u0(t,1);var y=W(t),h=0;if(!x){var k=0;if((typeof y!="number"||y!==1&&Er!==y)&&(k=1),k)if(b2(t)){var A=Uo(t);h=1}else{var A=0;h=1}}if(!h)var A=mx(t);return[0,[0,f,K1([0,u],[0,A],a,0)],o]}var e=0;return function(t){return Qd(e,r,t)}}),MJ(jl0[1],lx,[0,hW,Rm,I6,Cm,AL,EL,wW,TW,dX,Wt,vm,IS0,kW,SW,EW,AW,aE0,g6,A6,jo,km,LS0,hS0,lm,Fv,pm]);var gL=[Qr,$w0,zs(0)],NL=[0,gL,[0]],pE0=id(Zw0,function(x){var r=NR(x,Vw0)[41],e=RR(x,0,0,Ww0,zR,1)[1];return LJ(x,r,function(t,u){return 0}),function(t,u){var i=fd(u,x);return l(e,i),OR(u,i,x)}}),yE0=Ov(NL)===Qr?NL:NL[1];FC(UE,yE0);var xo=p0,B2=null,gW=void 0,dE0=function(x){throw x},Om=function(x){return x!==gW?1:0};xo.String,xo.RegExp,xo.Object,xo.Date,xo.Math;var mE0=xo.Array,kE0=xo.Error,NW=function(x){return l(dE0,x)};xo.JSON,sJ(function(x){return x[1]===gL?[0,Mt(x[2].toString())]:0}),sJ(function(x){return x instanceof mE0?0:[0,Mt(x.toString())]});var IW=[0,0],hE0=nr,is=function(x){return UV(Ml(x))},Y1=function(x){return LV(Ml(x))},Lr=function(x,r){return Y1(gx(Qy(x,r)))},Ox=function(x,r){return r?l(x,r[1]):B2},zo=function(x,r){return r[0]===0?B2:l(x,r[1])},PW=function(x){return is([0,[0,Xw0,x[1]],[0,[0,Bw0,x[2]],0]])},CW=function(x){var r=x[1],e=r?nr(r[1][1]):B2,t=[0,[0,Kw0,PW(x[3])],0];return is([0,[0,Yw0,e],[0,[0,Jw0,PW(x[2])],t]])},E1=function(x){if(!x)return 0;var r=x[1],e=r[1];return m0([0,e],[0,Fx(r[3],r[2])],0)},P6=function(x,r,e){var t=r[e];return Om(t)?t|0:x},_E0=function(x,r){var e=jy(r,gW)?{}:r,t=Mt(x),u=P6(Pl[5],e,Qw0),i=P6(Pl[4],e,Hw0),f=P6(Pl[3],e,qw0),o=P6(Pl[2],e,Gw0),a=[0,P6(Pl[1],e,bw0),o,f,i,u,0,0],y=e[aM],h=Om(y),k=h&&y|0,A=e[XU],g=Om(A)?A|0:1,I=e.all_comments,C=Om(I)?I|0:1,R=[0,0],L=k?[0,function(dt){return R[1]=[0,dt,R[1]],0}]:0,U=Fw0[1],B=0;try{var X=0,J=QJ(t),e0=X,i0=J}catch(dt){var j=R1(dt);if(j!==To)throw q0(j,0);var Y=[0,[0,[0,B,Ja[2],Ja[3]],53],0],e0=Y,i0=QJ(ns0)}var z=[0,B,i0,Z00,0,a[4],pY,$00],F=[0,bl(z,0)],t0=[0,[0,e0],[0,0],h2[1],[0,0],a[5],0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,[0,is0],[0,z],F,[0,L],a,B,[0,0],[0,us0]],$=l(lx[1],t0),f0=gx(t0[1][1]),c0=[0,vO[1],0],v0=gx(b1(function(dt,m3){var q=dt[2],P=dt[1];return p(vO[3],m3,P)?[0,P,q]:[0,p(vO[4],m3,P),[0,m3,q]]},c0,f0)[2]);if(v0){var s0=v0[2],o0=v0[1];if(U)throw q0([0,jT0,o0,s0],1)}IW[1]=0;for(var E0=Gx(t)-0|0,k0=Vc(t),M0=0,D0=0;;){if(D0===E0)var cx=M0;else{var g0=se(k0,D0),Z0=0;if(0<=g0&&!(Jr=g0){var n0=4;yx=1}if(!yx)var n0=0}}}if(n0===0){var M0=oO(M0,D0,0),D0=D0+1|0;continue}if((E0-D0|0)>=n0){var px=n0-1|0,Tx=D0+n0|0;if(3>>0)throw q0([0,Tr,KQ],1);switch(px){case 0:var O0=se(k0,D0);break;case 1:var O0=(se(k0,D0)&31)<<6|se(k0,D0+1|0)&63;break;case 2:var O0=(se(k0,D0)&15)<<12|(se(k0,D0+1|0)&63)<<6|se(k0,D0+2|0)&63;break;default:var O0=(se(k0,D0)&7)<<18|(se(k0,D0+1|0)&63)<<12|(se(k0,D0+2|0)&63)<<6|se(k0,D0+3|0)&63}var M0=oO(M0,D0,[0,O0]),D0=Tx;continue}var cx=oO(M0,D0,0)}for(var P0=iv0,N0=gx([0,6,cx]);;){var J0=P0[3],I0=P0[2],Q=P0[1];if(!N0){var G=Ml(gx(J0));if(g)var l0=$;else var V=l(pE0[1],0),l0=p(qx(V,-201766268,98),V,$);if(C)var A0=l0;else var d0=l0[2],A0=[0,l0[1],[0,d0[1],d0[2],d0[3],0]];var M=function(q,P,D,T0){var R0=[0,qd(G,P[3]),0],rx=[0,[0,zl0,Y1([0,qd(G,P[2]),R0])],0],Sx=Fx(rx,[0,[0,Kl0,CW(P)],0]);if(D){var Dx=D[1],jx=Dx[1];if(jx){var bx=Dx[2];if(bx)var mr=[0,[0,Jl0,Pn(bx)],0],or=[0,[0,Yl0,Pn(jx)],mr];else var or=[0,[0,Bl0,Pn(jx)],0];var sr=or}else var _r=Dx[2],cr=_r?[0,[0,Xl0,Pn(_r)],0]:0,sr=cr;var Pr=sr}else var Pr=0;return is(Qc(Fx(Sx,Fx(Pr,[0,[0,Wl0,nr(q)],0])),T0))},L0=function(q){return Lr(z0,q)},V0=function(q){var P=q[2],D=P[3],T0=P[1],R0=q[1],rx=[0,[0,T90,nr(An(P[2]))],0];return M(E90,R0,D,[0,[0,S90,Lr(fs,T0)],rx])},B0=function(q){var P=q[2],D=P[5],T0=P[4],R0=P[2],rx=P[1],Sx=q[1],Dx=[0,[0,Kd0,Lr(U0,P[3])],0],jx=[0,[0,Jd0,re(0,T0)],Dx],bx=[0,[0,Yd0,Ox(a2,R0)],jx];return M(Xd0,Sx,D,[0,[0,Bd0,X0(rx)],bx])},vx=function(q,P){var D=P[2],T0=D[7],R0=D[5],rx=D[4],Sx=D[2],Dx=D[6],jx=D[3],bx=D[1],mr=P[1];if(rx)var or=rx[1][2],_r=or[2],cr=or[1],sr=g2(or[3],T0),Pr=_r,$r=[0,cr];else var sr=T0,Pr=0,$r=0;if(R0)var Wr=R0[1][2],Vr=Wr[1],Ur=g2(Wr[2],sr),Fr=Ur,x1=Lr(S0,Vr);else var Fr=sr,x1=Y1(0);var l1=[0,[0,q50,x1],[0,[0,H50,Lr(x0,Dx)],0]],p1=[0,[0,G50,Ox(In,Pr)],l1],f1=[0,[0,b50,Ox(K0,$r)],p1],h1=[0,[0,xy0,Ox(a2,jx)],f1],Cr=Sx[2],D1=Cr[2],n2=Sx[1],A1=[0,[0,ry0,M(sy0,n2,D1,[0,[0,cy0,Lr(H,Cr[1])],0])],h1];return M(q,mr,Fr,[0,[0,ey0,Ox(X0,bx)],A1])},b0=function(q,P){var D=P[2],T0=D[5],R0=D[4],rx=D[3],Sx=D[2],Dx=D[1],jx=P[1],bx=q?B50:X50,mr=[0,[0,W50,Ox(dr,R0)],0],or=[0,[0,V50,Ox(dr,rx)],mr],_r=[0,[0,Z50,Ox(a2,Sx)],or];return M(bx,jx,T0,[0,[0,$50,X0(Dx)],_r])},hx=function(q){var P=q[2],D=P[4],T0=P[2],R0=P[1],rx=q[1],Sx=[0,[0,z50,dr(P[3])],0],Dx=[0,[0,K50,Ox(a2,T0)],Sx];return M(Y50,rx,D,[0,[0,J50,X0(R0)],Dx])},W0=function(q){var P=q[2],D=P[3],T0=P[1],R0=q[1],rx=[0,[0,T50,Y0(P[2])],0];return M(E50,R0,D,[0,[0,S50,X0(T0)],rx])},T=function(q){var P=q[2],D=P[3],T0=q[1],R0=P[5],rx=P[4],Sx=P[2],Dx=P[1],jx=g2(E1(D[2][3]),R0),bx=D[2],mr=bx[1],or=bx[2],_r=[0,[0,i50,Ox(a2,Sx)],0],cr=[0,[0,f50,zo(Jx,rx)],_r],sr=[0,[0,c50,k1(mr)],cr],Pr=[0,[0,s50,Ox(U1,or)],sr],$r=[0,[0,o50,k1(mr)],Pr];return M(a50,T0,jx,[0,[0,v50,X0(Dx)],$r])},K=function(q){var P=q[2],D=P[6],T0=P[4],R0=P[7],rx=P[5],Sx=P[3],Dx=P[2],jx=P[1],bx=q[1],mr=Y1(T0?[0,U0(T0[1]),0]:0),or=D?Lr(S0,D[1][2][1]):Y1(0),_r=[0,[0,r50,mr],[0,[0,x50,or],[0,[0,b80,Lr(U0,rx)],0]]],cr=[0,[0,e50,re(0,Sx)],_r],sr=[0,[0,t50,Ox(a2,Dx)],cr];return M(u50,bx,R0,[0,[0,n50,X0(jx)],sr])},H0=function(q){var P=q[2],D=P[2],T0=P[1],R0=P[4],rx=P[3],Sx=q[1],Dx=i1(T0[1],D[1]),jx=[0,[0,H80,Ox(fo,rx)],0];return M(G80,Sx,R0,[0,[0,q80,Dr(Dx,[0,T0,[1,D],0])],jx])},sx=function(q){var P=q[2],D=P[2],T0=P[1],R0=P[4],rx=P[3],Sx=q[1],Dx=i1(T0[1],D[1]),jx=[0,[0,$80,nr(An(rx))],0];return M(Q80,Sx,R0,[0,[0,F80,Dr(Dx,[0,T0,[1,D],0])],jx])},ux=function(q){var P=q[2],D=P[2],T0=q[1],R0=[0,[0,V80,L0(P[1])],0];return M(Z80,T0,E1(D),R0)},z0=function(q){var P=q[2],D=q[1];switch(P[0]){case 0:return ux([0,D,P[1]]);case 1:var T0=P[1],R0=T0[2];return M(Gl0,D,R0,[0,[0,ql0,Ox(X0,T0[1])],0]);case 2:return vx(F50,[0,D,P[1]]);case 3:var rx=P[1],Sx=rx[4],Dx=rx[3],jx=rx[6],bx=rx[5],mr=Dx[2][3],or=rx[2],_r=rx[1],cr=Sx[0]===0?0:[0,Sx[1]],sr=g2(E1(mr),jx),Pr=[0,[0,Jy0,Ox(a2,or)],0],$r=[0,[0,Yy0,Ox(Jx,cr)],Pr],Wr=Dx[2],Vr=Wr[2],Ur=Wr[1];if(Vr)var Fr=Vr[1],x1=Fr[2],l1=x1[2],p1=Fr[1],f1=M($y0,p1,l1,[0,[0,Zy0,tx(x1[1])],0]),h1=Y1(gx([0,f1,Qy(h0,Ur)]));else var h1=Y1(Hc(h0,Ur));var Cr=[0,[0,Xy0,X0(_r)],[0,[0,By0,h1],$r]];return M(Vy0,D,sr,[0,[0,Wy0,ux(bx)],Cr]);case 4:var D1=P[1],n2=D1[2];return M(x60,D,n2,[0,[0,bl0,Ox(X0,D1[1])],0]);case 5:return M(r60,D,P[1][1],0);case 6:return K([0,D,P[1]]);case 7:return T([0,D,P[1]]);case 8:return W0([0,D,P[1]]);case 9:var A1=P[1],W2=A1[5],ee=A1[4],Ax=A1[3],Kr=A1[2],r1=A1[1];if(Ax){var lr=Ax[1];if(lr[0]!==0&&!lr[1][2])return M(t60,D,W2,[0,[0,e60,Ox(j0,ee)],0])}if(Kr){var Br=Kr[1];switch(Br[0]){case 0:var V1=sx(Br[1]);break;case 1:var V1=H0(Br[1]);break;case 2:var V1=K(Br[1]);break;case 3:var V1=T(Br[1]);break;case 4:var V1=dr(Br[1]);break;case 5:var V1=hx(Br[1]);break;case 6:var V1=b0(1,Br[1]);break;case 7:var V1=B0(Br[1]);break;default:var V1=W0(Br[1])}var he=V1}else var he=B2;var V2=[0,[0,n60,Ox(j0,ee)],0],_e=[0,[0,i60,he],[0,[0,u60,b(Ax)],V2]],$t=r1?1:0;return M(c60,D,W2,[0,[0,f60,!!$t],_e]);case 10:return H0([0,D,P[1]]);case 11:var N2=P[1],u2=N2[5],I2=N2[4],l2=N2[2],mt=N2[1],P2=[0,[0,A50,Lr(U0,N2[3])],0],kt=[0,[0,g50,re(0,I2)],P2],Ze=[0,[0,N50,Ox(a2,l2)],kt];return M(P50,D,u2,[0,[0,I50,X0(mt)],Ze]);case 12:var we=P[1],Te=we[1],Se=we[4],Ee=we[3],Ae=we[2],Z1=Te[0]===0?X0(Te[1]):j0(Te[1]),ge=0,ht=Ee?"ES":"CommonJS";return M(a60,D,Se,[0,[0,v60,Z1],[0,[0,o60,ux(Ae)],[0,[0,s60,ht],ge]]]);case 13:var $e=P[1],te=$e[2];return M(p60,D,te,[0,[0,l60,Jx($e[1])],0]);case 14:var C2=P[1],Ft=C2[4],os=C2[2],_t=C2[1],wt=[0,[0,U50,dr(C2[3])],0],Qt=[0,[0,M50,Ox(a2,os)],wt];return M(j50,D,Ft,[0,[0,D50,X0(_t)],Qt]);case 15:return b0(1,[0,D,P[1]]);case 16:return sx([0,D,P[1]]);case 17:var ne=P[1],Tt=ne[3],Ht=ne[1],ue=[0,[0,y60,K0(ne[2])],0];return M(m60,D,Tt,[0,[0,d60,z0(Ht)],ue]);case 18:return M(k60,D,P[1][1],0);case 19:var qt=P[1],Cn=qt[3],Gt=qt[1],Rn=[0,[0,Dd0,Y0(qt[2])],0];return M(zd0,D,Cn,[0,[0,jd0,X0(Gt)],Rn]);case 20:var bt=P[1],On=bt[2],$o=bt[3],xn=On[0]===0?z0(On[1]):K0(On[1]);return M(w60,D,$o,[0,[0,_60,xn],[0,[0,h60,nr(_(1))],0]]);case 21:var St=P[1],vs=St[5],as=St[4],ls=St[3],Fo=St[2],k3=St[1];if(Fo){var co=Fo[1];if(co[0]!==0){var Qo=co[1][2],ea=[0,[0,T60,nr(_(as))],0],h3=[0,[0,S60,Ox(X0,Qo)],ea];return M(A60,D,vs,[0,[0,E60,Ox(j0,ls)],h3])}}var _3=[0,[0,g60,nr(_(as))],0],ta=[0,[0,N60,Ox(j0,ls)],_3],na=[0,[0,I60,b(Fo)],ta];return M(C60,D,vs,[0,[0,P60,Ox(z0,k3)],na]);case 22:var Ln=P[1],w3=Ln[3],T3=Ln[1],S3=[0,[0,R60,Ox(hE0,Ln[2])],0];return M(L60,D,w3,[0,[0,O60,K0(T3)],S3]);case 23:var Ne=P[1],E3=Ne[5],A3=Ne[4],ua=Ne[3],ps=Ne[2],so=Ne[1],Ho=function(K6){return K6[0]===0?V0(K6[1]):K0(K6[1])},qo=[0,[0,U60,z0(A3)],0],g3=[0,[0,M60,Ox(K0,ua)],qo],ia=[0,[0,D60,Ox(K0,ps)],g3];return M(z60,D,E3,[0,[0,j60,Ox(Ho,so)],ia]);case 24:var ys=P[1],oo=ys[1],Go=ys[5],Et=ys[4],Fe=ys[3],ds=ys[2],At=oo[0]===0?V0(oo[1]):tx(oo[1]),rn=[0,[0,J60,z0(Fe)],[0,[0,K60,!!Et],0]];return M(X60,D,Go,[0,[0,B60,At],[0,[0,Y60,K0(ds)],rn]]);case 25:var en=P[1],bo=en[1],N3=en[5],I3=en[4],xv=en[3],P3=en[2],fa=bo[0]===0?V0(bo[1]):tx(bo[1]),Km=[0,[0,V60,z0(xv)],[0,[0,W60,!!I3],0]];return M(F60,D,N3,[0,[0,$60,fa],[0,[0,Z60,K0(P3)],Km]]);case 26:var Un=P[1],Jm=Un[3],Ym=Un[2],IL=Un[9],PL=Un[8],CL=Un[7],RL=Un[6],OL=Un[5],LL=Un[4],UL=Ym[2][4],ML=Un[1],DL=Jm[0]===0?Jm[1]:Rx(u80),jL=g2(E1(UL),IL),zL=[0,[0,i80,Ox(a2,PL)],0],KL=[0,[0,c80,!1],[0,[0,f80,Or(CL)],zL]],JL=[0,[0,v80,!!LL],[0,[0,o80,!!OL],[0,[0,s80,Ox(fo,RL)],KL]]],YL=[0,[0,a80,ux(DL)],JL],BL=[0,[0,l80,ur(Ym)],YL];return M(y80,D,jL,[0,[0,p80,Ox(X0,ML)],BL]);case 27:var C3=P[1],Bm=C3[3],XL=C3[4],WL=C3[2],VL=C3[1];if(Bm)var Xm=Bm[1][2],Wm=z0(bT0(Xm[1],Xm[2]));else var Wm=B2;var ZL=[0,[0,H60,z0(WL)],[0,[0,Q60,Wm],0]];return M(G60,D,XL,[0,[0,q60,K0(VL)],ZL]);case 28:var ca=P[1],Vm=ca[4],Zm=ca[3],$L=ca[5],FL=ca[2],QL=ca[1];if(Vm){var O6=Vm[1];if(O6[0]===0)var HL=O6[1],Fm=Hc(function(J6){var O3=J6[3],L3=J6[2],bm=J6[1],hU=L3?i1(O3[1],L3[1][1]):O3[1],_U=L3?L3[1]:O3,x9=0,wU=0;if(bm){var Y6=0;switch(bm[1]){case 0:var r9=bu;Y6=1;break;case 1:var r9=ws;Y6=1;break}if(Y6){var e9=r9;x9=1}}if(!x9)var e9=B2;var TU=[0,[0,Tw0,X0(_U)],[0,[0,ww0,e9],wU]];return M(Ew0,hU,0,[0,[0,Sw0,X0(O3)],TU])},HL);else var $m=O6[1],qL=$m[1],Fm=[0,M(_w0,qL,0,[0,[0,hw0,X0($m[2])],0]),0];var L6=Fm}else var L6=0;if(Zm)var Qm=Zm[1][1],GL=[0,[0,mw0,X0(Qm)],0],Hm=[0,M(kw0,Qm[1],0,GL),L6];else var Hm=L6;switch(QL){case 0:var U6=b60;break;case 1:var U6=x40;break;default:var U6=r40}var bL=[0,[0,t40,j0(FL)],[0,[0,e40,nr(U6)],0]];return M(u40,D,$L,[0,[0,n40,Y1(Hm)],bL]);case 29:return B0([0,D,P[1]]);case 30:var M6=P[1],xU=M6[3],rU=M6[1],eU=[0,[0,i40,z0(M6[2])],0];return M(c40,D,xU,[0,[0,f40,X0(rU)],eU]);case 31:var qm=P[1],tU=qm[2];return M(o40,D,tU,[0,[0,s40,Ox(K0,qm[1])],0]);case 32:var D6=P[1],nU=D6[3],uU=D6[1],iU=[0,[0,v40,Lr(br,D6[2])],0];return M(l40,D,nU,[0,[0,a40,K0(uU)],iU]);case 33:var Gm=P[1],fU=Gm[2];return M(y40,D,fU,[0,[0,p40,K0(Gm[1])],0]);case 34:var R3=P[1],cU=R3[4],sU=R3[2],oU=R3[1],vU=[0,[0,d40,Ox(ux,R3[3])],0],aU=[0,[0,m40,Ox(t2,sU)],vU];return M(h40,D,cU,[0,[0,k40,ux(oU)],aU]);case 35:return hx([0,D,P[1]]);case 36:return b0(0,[0,D,P[1]]);case 37:return V0([0,D,P[1]]);case 38:var j6=P[1],lU=j6[3],pU=j6[1],yU=[0,[0,_40,z0(j6[2])],0];return M(T40,D,lU,[0,[0,w40,K0(pU)],yU]);default:var z6=P[1],dU=z6[3],mU=z6[1],kU=[0,[0,S40,z0(z6[2])],0];return M(A40,D,dU,[0,[0,E40,K0(mU)],kU])}},Px=function(q){var P=q[2],D=P[4],T0=P[3][2],R0=P[1],rx=q[1],Sx=[0,[0,U_0,M(Z_0,P[2],0,0)],0],Dx=[0,[0,M_0,Lr(uo,T0)],Sx];return M(j_0,rx,D,[0,[0,D_0,M(X_0,R0,0,0)],Dx])},kx=function(q){var P=q[2],D=P[1],T0=P[4],R0=P[2],rx=q[1],Sx=[0,[0,C_0,Lr(uo,P[3][2])],0],Dx=[0,[0,R_0,Ox(qv,R0)],Sx],jx=D[2],bx=jx[2],mr=jx[4],or=jx[3],_r=jx[1],cr=D[1],sr=bx?[0,[0,z_0,pt(bx[1])],0]:0,Pr=[0,[0,J_0,Lr(no,mr)],[0,[0,K_0,!!or],0]];return M(L_0,rx,T0,[0,[0,O_0,M(B_0,cr,0,Fx([0,[0,Y_0,io(_r)],Pr],sr))],Dx])},$x=function(q){var P=q[2],D=P[3],T0=P[1],R0=q[1],rx=[0,[0,c90,Lr(K0,P[2])],0];return M(o90,R0,D,[0,[0,s90,Lr(ro,T0)],rx])},Qx=function(q){var P=q[2],D=P[1],T0=P[2],R0=q[1],rx=D?Fm0:Qm0;return M(Gm0,R0,T0,[0,[0,qm0,!!D],[0,[0,Hm0,nr(rx)],0]])},j0=function(q){var P=q[2];return M($m0,q[1],P[3],[0,[0,Zm0,nr(P[1])],[0,[0,Vm0,nr(P[2])],0]])},rr=function(q){var P=q[2],D=P[2],T0=P[3],R0=q[1];return M(Wm0,R0,T0,[0,[0,Xm0,B2],[0,[0,Bm0,nr(z2(D,0,Gx(D)-1|0))],[0,[0,Ym0,nr(D)],0]]])},zx=function(q){var P=q[2];return M(Jm0,q[1],P[3],[0,[0,Km0,P[1]],[0,[0,zm0,nr(P[2])],0]])},X0=function(q){var P=q[2];return M(C80,q[1],P[2],[0,[0,P80,nr(P[1])],[0,[0,I80,B2],[0,[0,N80,!1],0]]])},ir=function(q){var P=q[2],D=P[3],T0=P[2],R0=P[9],rx=P[8],Sx=P[7],Dx=P[6],jx=P[5],bx=P[4],mr=T0[2][4],or=P[1],_r=q[1],cr=D[0]===0?D[1]:Rx(d80),sr=g2(E1(mr),R0),Pr=[0,[0,m80,Ox(a2,rx)],0],$r=[0,[0,h80,!1],[0,[0,k80,Or(Sx)],Pr]],Wr=[0,[0,T80,!!bx],[0,[0,w80,!!jx],[0,[0,_80,Ox(fo,Dx)],$r]]],Vr=[0,[0,S80,ux(cr)],Wr],Ur=[0,[0,E80,ur(T0)],Vr];return M(g80,_r,sr,[0,[0,A80,Ox(X0,or)],Ur])},K0=function(q){var P=q[2],D=q[1];switch(P[0]){case 0:var T0=P[1],R0=T0[2],rx=[0,[0,g40,Lr(En,T0[1])],0];return M(N40,D,E1(R0),rx);case 1:var Sx=P[1],Dx=Sx[3],jx=Sx[2],bx=Sx[9],mr=Sx[8],or=Sx[7],_r=Sx[6],cr=Sx[4],sr=jx[2][4];if(Dx[0]===0)var Pr=0,$r=ux(Dx[1]);else var Pr=1,$r=K0(Dx[1]);var Wr=g2(E1(sr),bx),Vr=[0,[0,I40,Ox(a2,mr)],0],Ur=[0,[0,C40,!!Pr],[0,[0,P40,Or(or)],Vr]],Fr=[0,[0,U40,$r],[0,[0,L40,!!cr],[0,[0,O40,!1],[0,[0,R40,Ox(fo,_r)],Ur]]]];return M(j40,D,Wr,[0,[0,D40,B2],[0,[0,M40,ur(jx)],Fr]]);case 2:var x1=P[1],l1=x1[1],p1=x1[4],f1=x1[3],h1=x1[2];if(l1){switch(l1[1]){case 0:var Cr=QH;break;case 1:var Cr=HH;break;case 2:var Cr=qH;break;case 3:var Cr=GH;break;case 4:var Cr=bH;break;case 5:var Cr=xq;break;case 6:var Cr=rq;break;case 7:var Cr=eq;break;case 8:var Cr=tq;break;case 9:var Cr=nq;break;case 10:var Cr=uq;break;case 11:var Cr=iq;break;case 12:var Cr=fq;break;case 13:var Cr=cq;break;default:var Cr=sq}var D1=Cr}else var D1=z40;var n2=[0,[0,K40,K0(f1)],0];return M(B40,D,p1,[0,[0,Y40,nr(D1)],[0,[0,J40,tx(h1)],n2]]);case 3:var A1=P[1],W2=A1[4],ee=A1[2],Ax=A1[1],Kr=[0,[0,X40,K0(A1[3])],0],r1=[0,[0,W40,K0(ee)],Kr];switch(Ax){case 0:var lr=NH;break;case 1:var lr=IH;break;case 2:var lr=PH;break;case 3:var lr=CH;break;case 4:var lr=RH;break;case 5:var lr=OH;break;case 6:var lr=LH;break;case 7:var lr=UH;break;case 8:var lr=MH;break;case 9:var lr=DH;break;case 10:var lr=jH;break;case 11:var lr=zH;break;case 12:var lr=KH;break;case 13:var lr=JH;break;case 14:var lr=YH;break;case 15:var lr=BH;break;case 16:var lr=XH;break;case 17:var lr=WH;break;case 18:var lr=VH;break;case 19:var lr=ZH;break;case 20:var lr=$H;break;default:var lr=FH}return M(Z40,D,W2,[0,[0,V40,nr(lr)],r1]);case 4:var Br=P[1],V1=Br[4],he=g2(E1(Br[3][2][2]),V1);return M($40,D,he,Wo(Br));case 5:return vx(Q50,[0,D,P[1]]);case 6:var V2=P[1],_e=V2[4],$t=V2[2],N2=V2[1],u2=[0,[0,F40,K0(V2[3])],0],I2=[0,[0,Q40,K0($t)],u2];return M(q40,D,_e,[0,[0,H40,K0(N2)],I2]);case 7:return ir([0,D,P[1]]);case 8:return X0(P[1]);case 9:var l2=P[1],mt=l2[2];return M(b40,D,mt,[0,[0,G40,K0(l2[1])],0]);case 10:return kx([0,D,P[1]]);case 11:return Px([0,D,P[1]]);case 12:return j0([0,D,P[1]]);case 13:return Qx([0,D,P[1]]);case 14:return M(f90,D,P[1],[0,[0,i90,B2],[0,[0,u90,lv],0]]);case 15:return zx([0,D,P[1]]);case 16:return rr([0,D,P[1]]);case 17:var P2=P[1],kt=P2[2],Ze=P2[1],we=P2[4],Te=P2[3];try{var Se=new RegExp(nr(Ze),nr(kt)),Ee=Se}catch{var Ee=B2}return M(n90,D,we,[0,[0,t90,Ee],[0,[0,e90,nr(Te)],[0,[0,r90,is([0,[0,x90,nr(Ze)],[0,[0,bm0,nr(kt)],0]])],0]]]);case 18:var Ae=P[1];return j0([0,D,[0,Ae[1],Ae[5],Ae[6]]]);case 19:var Z1=P[1],ge=Z1[4],ht=Z1[3],$e=Z1[2];switch(Z1[1]){case 0:var te=xp0;break;case 1:var te=rp0;break;default:var te=ep0}var C2=[0,[0,tp0,K0(ht)],0];return M(ip0,D,ge,[0,[0,up0,nr(te)],[0,[0,np0,K0($e)],C2]]);case 20:var Ft=P[1],os=Ft[3];return M(fp0,D,os,bv(Ft));case 21:var _t=P[1],wt=_t[3],Qt=_t[1],ne=[0,[0,cp0,X0(_t[2])],0];return M(op0,D,wt,[0,[0,sp0,X0(Qt)],ne]);case 22:var Tt=P[1],Ht=Tt[4],ue=Tt[3],qt=Tt[2],Cn=Tt[1];if(ue)var Gt=ue[1],Rn=g2(E1(Gt[2][2]),Ht),bt=Rn,On=ax(Gt);else var bt=Ht,On=Y1(0);var $o=[0,[0,ap0,Ox(pt,qt)],[0,[0,vp0,On],0]];return M(pp0,D,bt,[0,[0,lp0,K0(Cn)],$o]);case 23:var xn=P[1],St=xn[2],vs=[0,[0,yp0,Lr(Xx,xn[1])],0];return M(dp0,D,E1(St),vs);case 24:var as=P[1],ls=as[1],Fo=as[3],k3=ls[4],co=g2(E1(ls[3][2][2]),k3);return M(kp0,D,co,Fx(Wo(ls),[0,[0,mp0,!!Fo],0]));case 25:var Qo=P[1],ea=Qo[1],h3=ea[3],_3=[0,[0,hp0,!!Qo[3]],0];return M(_p0,D,h3,Fx(bv(ea),_3));case 26:var ta=P[1],na=ta[2];return M(Tp0,D,na,[0,[0,wp0,Lr(K0,ta[1])],0]);case 27:return M(Sp0,D,P[1][1],0);case 28:var Ln=P[1],w3=Ln[3],T3=Ln[1],S3=[0,[0,d90,$x(Ln[2])],0];return M(k90,D,w3,[0,[0,m90,K0(T3)],S3]);case 29:return $x([0,D,P[1]]);case 30:return M(Ep0,D,P[1][1],0);case 31:var Ne=P[1],E3=Ne[3],A3=Ne[1],ua=[0,[0,Ap0,Jx(Ne[2])],0];return M(Np0,D,E3,[0,[0,gp0,K0(A3)],ua]);case 32:var ps=P[1],so=ps[2],Ho=ps[1];if(typeof so=="number"){var qo=ps[3];return M(Pp0,D,qo,[0,[0,Ip0,K0(Ho)],0])}if(so[0]===0){var g3=ps[3],ia=[0,[0,Cp0,dr(so[1])],0];return M(Op0,D,g3,[0,[0,Rp0,K0(Ho)],ia])}var ys=ps[3],oo=[0,[0,Lp0,dr(so[1])],0];return M(Mp0,D,ys,[0,[0,Up0,K0(Ho)],oo]);case 33:var Go=P[1],Et=Go[3],Fe=Go[2],ds=Go[1];if(7<=ds)return M(jp0,D,Et,[0,[0,Dp0,K0(Fe)],0]);switch(ds){case 0:var At=zp0;break;case 1:var At=Kp0;break;case 2:var At=Jp0;break;case 3:var At=Yp0;break;case 4:var At=Bp0;break;case 5:var At=Xp0;break;case 6:var At=Wp0;break;default:var At=Rx(Vp0)}return M(Qp0,D,Et,[0,[0,Fp0,nr(At)],[0,[0,$p0,!0],[0,[0,Zp0,K0(Fe)],0]]]);case 34:var rn=P[1],en=rn[4],bo=rn[3],N3=rn[2],I3=rn[1]?Hp0:qp0;return M(r80,D,en,[0,[0,x80,nr(I3)],[0,[0,bp0,K0(N3)],[0,[0,Gp0,!!bo],0]]]);default:var xv=P[1],P3=xv[2],fa=[0,[0,e80,!!xv[3]],0];return M(n80,D,P3,[0,[0,t80,Ox(K0,xv[1])],fa])}},Sr=function(q){var P=q[2];return M(U80,q[1],P[2],[0,[0,L80,nr(P[1])],[0,[0,O80,B2],[0,[0,R80,!1],0]]])},Dr=function(q,P){var D=P[1][2],T0=D[2],R0=D[1],rx=[0,[0,M80,!!P[3]],0];return M(z80,q,T0,[0,[0,j80,nr(R0)],[0,[0,D80,zo(Jx,P[2])],rx]])},ax=function(q){return Lr(de,q[2][1])},br=function(q){var P=q[2],D=P[3],T0=P[1],R0=q[1],rx=[0,[0,K80,Lr(z0,P[2])],0];return M(Y80,R0,D,[0,[0,J80,Ox(K0,T0)],rx])},t2=function(q){var P=q[2],D=P[3],T0=P[1],R0=q[1],rx=[0,[0,B80,ux(P[2])],0];return M(W80,R0,D,[0,[0,X80,Ox(tx,T0)],rx])},k1=function(q){return Y1(Hc(function(P){var D=P[2];return Rr(0,D[3],P[1],[0,D[1]],D[2][2])},q))},Rr=function(q,P,D,T0,R0){if(T0)var rx=T0[1],Sx=rx[0]===0?Ox(X0,[0,rx[1]]):Ox(j0,[0,rx[1]]),Dx=Sx;else var Dx=Ox(X0,0);return M(w50,D,q,[0,[0,_50,Dx],[0,[0,h50,dr(R0)],[0,[0,k50,!!P],0]]])},U1=function(q){var P=q[2],D=P[4],T0=P[3],R0=P[2],rx=P[1],Sx=q[1];return Rr(D,T0,Sx,Fy(function(Dx){return[0,Dx]},rx),R0)},_=function(q){return q?C50:R50},b=function(q){if(!q)return Y1(0);var P=q[1];if(P[0]===0)return Lr(Xo,P[1]);var D=P[1],T0=D[2],R0=D[1];return Y1(T0?[0,M(L50,R0,0,[0,[0,O50,X0(T0[1])],0]),0]:0)},x0=function(q){var P=q[2],D=P[2],T0=q[1];return M(ny0,T0,D,[0,[0,ty0,K0(P[1])],0])},S0=function(q){var P=q[2],D=P[1],T0=q[1],R0=[0,[0,uy0,Ox(In,P[2])],0];return M(fy0,T0,0,[0,[0,iy0,X0(D)],R0])},H=function(q){switch(q[0]){case 0:var P=q[1],D=P[2],T0=D[6],R0=D[2],rx=D[5],Sx=D[4],Dx=D[3],jx=D[1],bx=P[1];switch(R0[0]){case 0:var cr=T0,sr=0,Pr=j0(R0[1]);break;case 1:var cr=T0,sr=0,Pr=zx(R0[1]);break;case 2:var cr=T0,sr=0,Pr=rr(R0[1]);break;case 3:var cr=T0,sr=0,Pr=X0(R0[1]);break;case 4:var cr=T0,sr=0,Pr=Sr(R0[1]);break;default:var mr=R0[1][2],or=mr[1],_r=g2(mr[2],T0),cr=_r,sr=1,Pr=K0(or)}switch(jx){case 0:var $r=oy0;break;case 1:var $r=vy0;break;case 2:var $r=ay0;break;default:var $r=ly0}var Wr=[0,[0,my0,nr($r)],[0,[0,dy0,!!Sx],[0,[0,yy0,!!sr],[0,[0,py0,Lr(x0,rx)],0]]]];return M(_y0,bx,cr,[0,[0,hy0,Pr],[0,[0,ky0,ir(Dx)],Wr]]);case 1:var Vr=q[1],Ur=Vr[2],Fr=Ur[7],x1=Ur[6],l1=Ur[2],p1=Ur[1],f1=Ur[5],h1=Ur[4],Cr=Ur[3],D1=Vr[1];switch(p1[0]){case 0:var Ax=Fr,Kr=0,r1=j0(p1[1]);break;case 1:var Ax=Fr,Kr=0,r1=zx(p1[1]);break;case 2:var Ax=Fr,Kr=0,r1=rr(p1[1]);break;case 3:var Ax=Fr,Kr=0,r1=X0(p1[1]);break;case 4:var n2=Rx(Cy0),Ax=n2[3],Kr=n2[2],r1=n2[1];break;default:var A1=p1[1][2],W2=A1[1],ee=g2(A1[2],Fr),Ax=ee,Kr=1,r1=K0(W2)}if(typeof l1=="number")if(l1)var lr=0,Br=0;else var lr=1,Br=0;else var lr=0,Br=[0,l1[1]];var V1=lr?[0,[0,Ry0,!!lr],0]:0,he=x1===0?0:[0,[0,Oy0,Lr(x0,x1)],0],V2=Fx(he,V1),_e=[0,[0,My0,!!Kr],[0,[0,Uy0,!!h1],[0,[0,Ly0,Ox(me,f1)],0]]],$t=[0,[0,Dy0,zo(Jx,Cr)],_e];return M(Ky0,D1,Ax,Fx([0,[0,zy0,r1],[0,[0,jy0,Ox(K0,Br)],$t]],V2));default:var N2=q[1],u2=N2[2],I2=u2[6],l2=u2[2],mt=u2[7],P2=u2[5],kt=u2[4],Ze=u2[3],we=u2[1],Te=N2[1];if(typeof l2=="number")if(l2)var Se=0,Ee=0;else var Se=1,Ee=0;else var Se=0,Ee=[0,l2[1]];var Ae=Se?[0,[0,wy0,!!Se],0]:0,Z1=I2===0?0:[0,[0,Ty0,Lr(x0,I2)],0],ge=Fx(Z1,Ae),ht=[0,[0,Ay0,!1],[0,[0,Ey0,!!kt],[0,[0,Sy0,Ox(me,P2)],0]]],$e=[0,[0,gy0,zo(Jx,Ze)],ht],te=[0,[0,Ny0,Ox(K0,Ee)],$e];return M(Py0,Te,mt,Fx([0,[0,Iy0,Sr(we)],te],ge))}},h0=function(q){var P=q[2],D=P[3],T0=P[2],R0=P[1],rx=q[1],Sx=P[4],Dx=R0[0]===0?X0(R0[1]):j0(R0[1]);if(D)var jx=[0,[0,Fy0,K0(D[1])],0],bx=M(Hy0,rx,0,[0,[0,Qy0,tx(T0)],jx]);else var bx=tx(T0);return M(xd0,rx,0,[0,[0,by0,Dx],[0,[0,Gy0,bx],[0,[0,qy0,!!Sx],0]]])},Y0=function(q){var P=q[2],D=q[1];switch(P[0]){case 0:var T0=P[1],R0=T0[4],rx=T0[1],Sx=[0,[0,kd0,!!T0[2]],[0,[0,md0,!!T0[3]],0]],Dx=[0,[0,hd0,Lr(function(Ax){var Kr=Ax[2],r1=Kr[1],lr=Ax[1],Br=[0,[0,pd0,Qx(Kr[2])],0];return M(dd0,lr,0,[0,[0,yd0,X0(r1)],Br])},rx)],Sx];return M(_d0,D,E1(R0),Dx);case 1:var jx=P[1],bx=jx[4],mr=jx[1],or=[0,[0,Td0,!!jx[2]],[0,[0,wd0,!!jx[3]],0]],_r=[0,[0,Sd0,Lr(function(Ax){var Kr=Ax[2],r1=Kr[1],lr=Ax[1],Br=[0,[0,vd0,zx(Kr[2])],0];return M(ld0,lr,0,[0,[0,ad0,X0(r1)],Br])},mr)],or];return M(Ed0,D,E1(bx),_r);case 2:var cr=P[1],sr=cr[1],Pr=cr[4],$r=cr[3],Wr=cr[2];if(sr[0]===0)var Vr=sr[1],Fr=Hc(function(Ax){var Kr=Ax[1];return M(od0,Kr,0,[0,[0,sd0,X0(Ax[2][1])],0])},Vr);else var Ur=sr[1],Fr=Hc(function(Ax){var Kr=Ax[2],r1=Kr[1],lr=Ax[1],Br=[0,[0,id0,j0(Kr[2])],0];return M(cd0,lr,0,[0,[0,fd0,X0(r1)],Br])},Ur);var x1=[0,[0,Nd0,Y1(Fr)],[0,[0,gd0,!!Wr],[0,[0,Ad0,!!$r],0]]];return M(Id0,D,E1(Pr),x1);case 3:var l1=P[1],p1=l1[3],f1=l1[1],h1=[0,[0,Pd0,!!l1[2]],0],Cr=[0,[0,Cd0,Lr(function(Ax){var Kr=Ax[1];return M(ud0,Kr,0,[0,[0,nd0,X0(Ax[2][1])],0])},f1)],h1];return M(Rd0,D,E1(p1),Cr);default:var D1=P[1],n2=D1[4],A1=D1[1],W2=[0,[0,Ld0,!!D1[2]],[0,[0,Od0,!!D1[3]],0]],ee=[0,[0,Ud0,Lr(function(Ax){var Kr=Ax[2],r1=Kr[1],lr=Ax[1],Br=[0,[0,rd0,rr(Kr[2])],0];return M(td0,lr,0,[0,[0,ed0,X0(r1)],Br])},A1)],W2];return M(Md0,D,E1(n2),ee)}},U0=function(q){var P=q[2],D=P[1],T0=P[3],R0=P[2],rx=q[1],Sx=D[0]===0?X0(D[1]):lt(D[1]);return M(Zd0,rx,T0,[0,[0,Vd0,Sx],[0,[0,Wd0,Ox(In,R0)],0]])},tx=function(q){var P=q[2],D=q[1];switch(P[0]){case 0:var T0=P[1],R0=T0[3],rx=T0[1],Sx=[0,[0,$d0,zo(Jx,T0[2])],0],Dx=[0,[0,Fd0,Lr(X2,rx)],Sx];return M(Qd0,D,E1(R0),Dx);case 1:var jx=P[1],bx=jx[3],mr=jx[1],or=[0,[0,Hd0,zo(Jx,jx[2])],0],_r=[0,[0,qd0,Lr(er,mr)],or];return M(Gd0,D,E1(bx),_r);case 2:return Dr(D,P[1]);default:return K0(P[1])}},Wx=function(q){var P=q[2],D=P[2],T0=P[1],R0=q[1];if(!D)return tx(T0);var rx=[0,[0,bd0,K0(D[1])],0];return M(rm0,R0,0,[0,[0,xm0,tx(T0)],rx])},Lx=function(q){var P=q[2],D=P[2],T0=q[1];return M(nm0,T0,D,[0,[0,tm0,fv],[0,[0,em0,Jx(P[1])],0]])},ur=function(q){var P=q[2],D=P[3],T0=P[2],R0=P[1];if(D){var rx=D[1],Sx=rx[2],Dx=Sx[2],jx=rx[1],bx=M(im0,jx,Dx,[0,[0,um0,tx(Sx[1])],0]),mr=gx([0,bx,Qy(Wx,T0)]),or=R0?[0,Lx(R0[1]),mr]:mr;return Y1(or)}var _r=Hc(Wx,T0),cr=R0?[0,Lx(R0[1]),_r]:_r;return Y1(cr)},Vx=function(q,P){var D=P[2];return M(cm0,q,D,[0,[0,fm0,tx(P[1])],0])},er=function(q){switch(q[0]){case 0:var P=q[1],D=P[2],T0=D[2],R0=D[1],rx=P[1];if(!T0)return tx(R0);var Sx=[0,[0,sm0,K0(T0[1])],0];return M(vm0,rx,0,[0,[0,om0,tx(R0)],Sx]);case 1:var Dx=q[1];return Vx(Dx[1],Dx[2]);default:return B2}},Jx=function(q){var P=q[1];return M(p_0,P,0,[0,[0,l_0,dr(q[2])],0])},Or=function(q){switch(q[0]){case 0:return B2;case 1:return Jx(q[1]);default:var P=q[1],D=P[2],T0=P[1];return M(d_0,T0,0,[0,[0,y_0,Zt([0,D[1],D[2]])],0])}},Xx=function(q){if(q[0]===0){var P=q[1],D=P[2],T0=P[1];switch(D[0]){case 0:var R0=D[3],rx=D[1],sr=0,Pr=R0,$r=0,Wr=am0,Vr=K0(D[2]),Ur=rx;break;case 1:var Sx=D[2],Dx=D[1],sr=0,Pr=0,$r=1,Wr=lm0,Vr=ir([0,Sx[1],Sx[2]]),Ur=Dx;break;case 2:var jx=D[2],bx=D[3],mr=D[1],sr=bx,Pr=0,$r=0,Wr=pm0,Vr=ir([0,jx[1],jx[2]]),Ur=mr;break;default:var or=D[2],_r=D[3],cr=D[1],sr=_r,Pr=0,$r=0,Wr=ym0,Vr=ir([0,or[1],or[2]]),Ur=cr}switch(Ur[0]){case 0:var f1=sr,h1=0,Cr=j0(Ur[1]);break;case 1:var f1=sr,h1=0,Cr=zx(Ur[1]);break;case 2:var f1=sr,h1=0,Cr=rr(Ur[1]);break;case 3:var f1=sr,h1=0,Cr=X0(Ur[1]);break;case 4:var Fr=Rx(dm0),f1=Fr[3],h1=Fr[2],Cr=Fr[1];break;default:var x1=Ur[1][2],l1=x1[1],p1=g2(x1[2],sr),f1=p1,h1=1,Cr=K0(l1)}return M(Sm0,T0,f1,[0,[0,Tm0,Cr],[0,[0,wm0,Vr],[0,[0,_m0,nr(Wr)],[0,[0,hm0,!!$r],[0,[0,km0,!!Pr],[0,[0,mm0,!!h1],0]]]]]])}var D1=q[1],n2=D1[2],A1=n2[2],W2=D1[1];return M(Am0,W2,A1,[0,[0,Em0,K0(n2[1])],0])},X2=function(q){if(q[0]!==0){var P=q[1];return Vx(P[1],P[2])}var D=q[1],T0=D[2],R0=T0[3],rx=T0[2],Sx=T0[1],Dx=T0[4],jx=D[1];switch(Sx[0]){case 0:var or=0,_r=0,cr=j0(Sx[1]);break;case 1:var or=0,_r=0,cr=zx(Sx[1]);break;case 2:var or=0,_r=0,cr=rr(Sx[1]);break;case 3:var or=0,_r=0,cr=X0(Sx[1]);break;default:var bx=Sx[1][2],mr=bx[2],or=mr,_r=1,cr=K0(bx[1])}if(R0)var sr=R0[1],Pr=i1(rx[1],sr[1]),$r=[0,[0,gm0,K0(sr)],0],Wr=M(Im0,Pr,0,[0,[0,Nm0,tx(rx)],$r]);else var Wr=tx(rx);return M(Mm0,jx,or,[0,[0,Um0,cr],[0,[0,Lm0,Wr],[0,[0,Om0,vu],[0,[0,Rm0,!1],[0,[0,Cm0,!!Dx],[0,[0,Pm0,!!_r],0]]]]]])},at=function(q){var P=q[2],D=P[2],T0=q[1];return M(jm0,T0,D,[0,[0,Dm0,K0(P[1])],0])},de=function(q){return q[0]===0?K0(q[1]):at(q[1])},En=function(q){switch(q[0]){case 0:return K0(q[1]);case 1:return at(q[1]);default:return B2}},ro=function(q){var P=q[2],D=P[1],T0=P[2],R0=q[1];return M(y90,R0,0,[0,[0,p90,is([0,[0,a90,nr(D[1])],[0,[0,v90,nr(D[2])],0]])],[0,[0,l90,!!T0],0]])},An=function(q){switch(q){case 0:return h90;case 1:return _90;default:return w90}},fs=function(q){var P=q[2],D=P[1],T0=q[1],R0=[0,[0,A90,Ox(K0,P[2])],0];return M(N90,T0,0,[0,[0,g90,tx(D)],R0])},me=function(q){var P=q[2],D=P[2],T0=q[1];switch(P[1]){case 0:var R0=I90;break;case 1:var R0=P90;break;case 2:var R0=C90;break;case 3:var R0=R90;break;case 4:var R0=O90;break;default:var R0=L90}return M(M90,T0,D,[0,[0,U90,nr(R0)],0])},gn=function(q){var P=q[2],D=P[1],T0=P[3],R0=P[2],rx=q[1],Sx=D[0]===0?X0(D[1]):lt(D[1]);return M(Sh0,rx,T0,[0,[0,Th0,Sx],[0,[0,wh0,Ox(In,R0)],0]])},re=function(q,P){var D=P[2],T0=D[4],R0=D[3],rx=D[2],Sx=D[1],Dx=P[1],jx=b1(function(Wr,Vr){var Ur=Wr[4],Fr=Wr[3],x1=Wr[2],l1=Wr[1];switch(Vr[0]){case 0:var p1=Vr[1],f1=p1[2],h1=f1[2],Cr=f1[1],D1=f1[8],n2=f1[7],A1=f1[6],W2=f1[5],ee=f1[4],Ax=f1[3],Kr=p1[1];switch(Cr[0]){case 0:var r1=j0(Cr[1]);break;case 1:var r1=zx(Cr[1]);break;case 2:var r1=rr(Cr[1]);break;case 3:var r1=X0(Cr[1]);break;case 4:var r1=Rx(Sk0);break;default:var r1=Rx(Ek0)}switch(h1[0]){case 0:var V1=Ak0,he=dr(h1[1]);break;case 1:var lr=h1[1],V1=gk0,he=Vt([0,lr[1],lr[2]]);break;default:var Br=h1[1],V1=Nk0,he=Vt([0,Br[1],Br[2]])}return[0,[0,M(Dk0,Kr,D1,[0,[0,Mk0,r1],[0,[0,Uk0,he],[0,[0,Lk0,!!A1],[0,[0,Ok0,!!Ax],[0,[0,Rk0,!!ee],[0,[0,Ck0,!!W2],[0,[0,Pk0,Ox(me,n2)],[0,[0,Ik0,nr(V1)],0]]]]]]]]),l1],x1,Fr,Ur];case 1:var V2=Vr[1],_e=V2[2],$t=_e[2],N2=V2[1];return[0,[0,M(zk0,N2,$t,[0,[0,jk0,dr(_e[1])],0]),l1],x1,Fr,Ur];case 2:var u2=Vr[1],I2=u2[2],l2=I2[6],mt=I2[4],P2=I2[3],kt=I2[2],Ze=I2[1],we=u2[1],Te=[0,[0,Jk0,!!mt],[0,[0,Kk0,Ox(me,I2[5])],0]],Se=[0,[0,Yk0,dr(P2)],Te],Ee=[0,[0,Bk0,dr(kt)],Se];return[0,l1,[0,M(Wk0,we,l2,[0,[0,Xk0,Ox(X0,Ze)],Ee]),x1],Fr,Ur];case 3:var Ae=Vr[1],Z1=Ae[2],ge=Z1[3],ht=Ae[1],$e=[0,[0,Vk0,!!Z1[2]],0];return[0,l1,x1,[0,M($k0,ht,ge,[0,[0,Zk0,Vt(Z1[1])],$e]),Fr],Ur];case 4:var te=Vr[1],C2=te[2],Ft=C2[6],os=C2[5],_t=C2[4],wt=C2[3],Qt=C2[1],ne=te[1],Tt=[0,[0,th0,!!wt],[0,[0,eh0,!!_t],[0,[0,rh0,!!os],[0,[0,xh0,dr(C2[2])],0]]]];return[0,l1,x1,Fr,[0,M(uh0,ne,Ft,[0,[0,nh0,X0(Qt)],Tt]),Ur]];default:var Ht=Vr[1],ue=Ht[2],qt=ue[6],Cn=ue[4],Gt=ue[3],Rn=ue[2],bt=ue[1],On=Ht[1],$o=0;switch(ue[5]){case 0:var xn="PlusOptional";break;case 1:var xn="MinusOptional";break;case 2:var xn="Optional";break;default:var xn=B2}var St=[0,[0,Qk0,Ox(me,Cn)],[0,[0,Fk0,xn],$o]],vs=[0,[0,Hk0,dr(Gt)],St],as=[0,[0,qk0,dr(Rn)],vs];return[0,[0,M(bk0,On,qt,[0,[0,Gk0,to(bt)],as]),l1],x1,Fr,Ur]}},yk0,R0),bx=jx[3],mr=jx[2],or=jx[1],_r=[0,[0,dk0,Y1(gx(jx[4]))],0],cr=[0,[0,mk0,Y1(gx(bx))],_r],sr=[0,[0,kk0,Y1(gx(mr))],cr],Pr=[0,[0,_k0,!!Sx],[0,[0,hk0,Y1(gx(or))],sr]],$r=q?[0,[0,wk0,!!rx],Pr]:Pr;return M(Tk0,Dx,E1(T0),$r)},Vt=function(q){var P=q[2],D=P[3],T0=P[2][2],R0=P[4],rx=T0[3],Sx=T0[2],Dx=T0[1],jx=P[1],bx=q[1],mr=g2(E1(T0[4]),R0),or=[0,[0,rk0,Ox(a2,jx)],0],_r=[0,[0,ek0,Ox(Hv,rx)],or],cr=D[0]===0?dr(D[1]):Zt(D[1]),sr=[0,[0,nk0,Ox(ke,Dx)],[0,[0,tk0,cr],_r]];return M(ik0,bx,mr,[0,[0,uk0,Lr(function(Pr){return Nn(0,Pr)},Sx)],sr])},dr=function(q){var P=q[2],D=q[1];switch(P[0]){case 0:return M(D90,D,P[1],0);case 1:return M(j90,D,P[1],0);case 2:return M(z90,D,P[1],0);case 3:return M(K90,D,P[1],0);case 4:return M(J90,D,P[1],0);case 5:return M(B90,D,P[1],0);case 6:return M(X90,D,P[1],0);case 7:return M(W90,D,P[1],0);case 8:return M(V90,D,P[2],0);case 9:return M(Y90,D,P[1],0);case 10:return M(a_0,D,P[1],0);case 11:var T0=P[1],R0=T0[2];return M($90,D,R0,[0,[0,Z90,dr(T0[1])],0]);case 12:return Vt([0,D,P[1]]);case 13:var rx=P[1],Sx=rx[2],Dx=rx[4],jx=rx[3],bx=rx[1],mr=g2(E1(Sx[2][3]),Dx),or=Sx[2],_r=or[2],cr=or[1],sr=[0,[0,l50,Ox(a2,bx)],0],Pr=[0,[0,p50,zo(Jx,jx)],sr],$r=[0,[0,y50,Ox(U1,_r)],Pr];return M(m50,D,mr,[0,[0,d50,k1(cr)],$r]);case 14:return re(1,[0,D,P[1]]);case 15:var Wr=P[1],Vr=Wr[3],Ur=Wr[2],Fr=[0,[0,ih0,re(0,Wr[1])],0];return M(ch0,D,Vr,[0,[0,fh0,Lr(U0,Ur)],Fr]);case 16:var x1=P[1],l1=x1[2];return M(oh0,D,l1,[0,[0,sh0,dr(x1[1])],0]);case 17:var p1=P[1],f1=p1[5],h1=p1[3],Cr=p1[2],D1=p1[1],n2=[0,[0,vh0,dr(p1[4])],0],A1=[0,[0,ah0,dr(h1)],n2],W2=[0,[0,lh0,dr(Cr)],A1];return M(yh0,D,f1,[0,[0,ph0,dr(D1)],W2]);case 18:var ee=P[1],Ax=ee[2];return M(mh0,D,Ax,[0,[0,dh0,to(ee[1])],0]);case 19:return gn([0,D,P[1]]);case 20:var Kr=P[1],r1=Kr[3];return M(gh0,D,r1,Ko(Kr));case 21:var lr=P[1],Br=lr[1],V1=Br[3],he=[0,[0,Nh0,!!lr[2]],0];return M(Ih0,D,V1,Fx(Ko(Br),he));case 22:var V2=P[1],_e=V2[1],$t=V2[2];return M(Ch0,D,$t,[0,[0,Ph0,Lr(dr,[0,_e[1],[0,_e[2],_e[3]]])],0]);case 23:var N2=P[1],u2=N2[1],I2=N2[2];return M(Oh0,D,I2,[0,[0,Rh0,Lr(dr,[0,u2[1],[0,u2[2],u2[3]]])],0]);case 24:var l2=P[1],mt=l2[2];return M(Uh0,D,mt,[0,[0,Lh0,eo(l2[1])],0]);case 25:var P2=P[1],kt=P2[2];return M(Kh0,D,kt,[0,[0,zh0,dr(P2[1])],0]);case 26:var Ze=P[1],we=Ze[2];return M(Yh0,D,we,[0,[0,Jh0,dr(Ze[1])],0]);case 27:var Te=P[1],Se=Te[2],Ee=Te[1],Ae=0;return M(Xh0,D,Se,[0,[0,Bh0,Lr(function(_t){var wt=_t[2],Qt=_t[1];switch(wt[0]){case 0:return dr(wt[1]);case 1:var ne=wt[1],Tt=ne[2],Ht=ne[1],ue=[0,[0,Wh0,!!ne[4]],0],qt=[0,[0,Vh0,Ox(me,ne[3])],ue],Cn=[0,[0,Zh0,dr(Tt)],qt];return M(Fh0,Qt,0,[0,[0,$h0,X0(Ht)],Cn]);default:var Gt=wt[1],Rn=Gt[1],bt=[0,[0,Qh0,dr(Gt[2])],0];return M(qh0,Qt,0,[0,[0,Hh0,Ox(X0,Rn)],bt])}},Ee)],Ae]);case 28:var Z1=P[1];return M(x_0,D,Z1[3],[0,[0,bh0,nr(Z1[1])],[0,[0,Gh0,nr(Z1[2])],0]]);case 29:var ge=P[1];return M(t_0,D,ge[3],[0,[0,e_0,ge[1]],[0,[0,r_0,nr(ge[2])],0]]);case 30:var ht=P[1];return M(i_0,D,ht[3],[0,[0,u_0,B2],[0,[0,n_0,nr(ht[2])],0]]);case 31:var $e=P[1],te=$e[1],C2=$e[2],Ft=0,os=te?f_0:c_0;return M(v_0,D,C2,[0,[0,o_0,!!te],[0,[0,s_0,nr(os)],Ft]]);case 32:return M(F90,D,P[1],0);case 33:return M(Q90,D,P[1],0);default:return M(H90,D,P[1],0)}},Zt=function(q){var P=q[2],D=P[2],T0=P[3],R0=D[1],rx=q[1],Sx=[0,[0,q90,!!P[1]],0],Dx=[0,[0,G90,Ox(dr,D[2])],Sx],jx=[0,[0,b90,X0(R0)],Dx];return M(xk0,rx,E1(T0),jx)},Nn=function(q,P){var D=P[2],T0=D[1],R0=P[1],rx=[0,[0,fk0,!!D[3]],0],Sx=[0,[0,ck0,dr(D[2])],rx];return M(ok0,R0,q,[0,[0,sk0,Ox(X0,T0)],Sx])},Hv=function(q){var P=q[2];return Nn(P[2],P[1])},ke=function(q){var P=q[2],D=P[2],T0=q[1],R0=[0,[0,ak0,dr(P[1][2])],[0,[0,vk0,!1],0]];return M(pk0,T0,D,[0,[0,lk0,Ox(X0,0)],R0])},lt=function(q){var P=q[2],D=P[1],T0=P[2],R0=q[1],rx=D[0]===0?X0(D[1]):lt(D[1]);return M(_h0,R0,0,[0,[0,hh0,rx],[0,[0,kh0,X0(T0)],0]])},Ko=function(q){var P=q[1],D=[0,[0,Eh0,dr(q[2])],0];return[0,[0,Ah0,dr(P)],D]},eo=function(q){if(q[0]===0)return X0(q[1]);var P=q[1],D=P[2],T0=D[2],R0=P[1],rx=eo(D[1]);return M(jh0,R0,0,[0,[0,Dh0,rx],[0,[0,Mh0,X0(T0)],0]])},a2=function(q){var P=q[2],D=P[2],T0=q[1],R0=[0,[0,m_0,Lr(to,P[1])],0];return M(k_0,T0,E1(D),R0)},to=function(q){var P=q[2],D=P[1][2],T0=P[5],R0=P[4],rx=P[2],Sx=D[2],Dx=D[1],jx=q[1],bx=P[3]?[0,[0,h_0,!0],0]:0,mr=[0,[0,__0,Ox(dr,T0)],0],or=[0,[0,w_0,Ox(me,R0)],mr];return M(E_0,jx,Sx,Fx([0,[0,S_0,nr(Dx)],[0,[0,T_0,zo(Jx,rx)],or]],bx))},In=function(q){var P=q[2],D=P[2],T0=q[1],R0=[0,[0,A_0,Lr(dr,P[1])],0];return M(g_0,T0,E1(D),R0)},pt=function(q){var P=q[2],D=P[2],T0=q[1],R0=[0,[0,N_0,Lr(Jo,P[1])],0];return M(I_0,T0,E1(D),R0)},Jo=function(q){if(q[0]===0)return dr(q[1]);var P=q[1],D=P[1],T0=P[2][1];return gn([0,D,[0,[0,hn(0,[0,D,P_0])],0,T0]])},no=function(q){if(q[0]===0){var P=q[1],D=P[2],T0=D[1],R0=D[2],rx=P[1],Sx=T0[0]===0?yt(T0[1]):cs(T0[1]);return M(Q_0,rx,0,[0,[0,F_0,Sx],[0,[0,$_0,Ox(a3,R0)],0]])}var Dx=q[1],jx=Dx[2],bx=jx[2],mr=Dx[1];return M(q_0,mr,bx,[0,[0,H_0,K0(jx[1])],0])},qv=function(q){var P=q[1];return M(V_0,P,0,[0,[0,W_0,io(q[2][1])],0])},Yo=function(q){var P=q[2],D=P[1],T0=q[1],R0=P[2],rx=D?K0(D[1]):M(G_0,[0,T0[1],[0,T0[2][1],T0[2][2]+1|0],[0,T0[3][1],T0[3][2]-1|0]],0,0);return M(xw0,T0,E1(R0),[0,[0,b_0,rx],0])},uo=function(q){var P=q[2],D=q[1];switch(P[0]){case 0:return kx([0,D,P[1]]);case 1:return Px([0,D,P[1]]);case 2:return Yo([0,D,P[1]]);case 3:var T0=P[1],R0=T0[2];return M(ew0,D,R0,[0,[0,rw0,K0(T0[1])],0]);default:var rx=P[1];return M(uw0,D,0,[0,[0,nw0,nr(rx[1])],[0,[0,tw0,nr(rx[2])],0]])}},yt=function(q){var P=q[2];return M(lw0,q[1],P[2],[0,[0,aw0,nr(P[1])],0])},cs=function(q){var P=q[2],D=P[1],T0=q[1],R0=[0,[0,sw0,yt(P[2])],0];return M(vw0,T0,0,[0,[0,ow0,yt(D)],R0])},Bo=function(q){var P=q[2],D=P[1],T0=P[2],R0=q[1],rx=D[0]===0?yt(D[1]):Bo(D[1]);return M(cw0,R0,0,[0,[0,fw0,rx],[0,[0,iw0,yt(T0)],0]])},io=function(q){switch(q[0]){case 0:return yt(q[1]);case 1:return cs(q[1]);default:return Bo(q[1])}},a3=function(q){if(q[0]===0){var P=q[1];return j0([0,P[1],P[2]])}var D=q[1];return Yo([0,D[1],D[2]])},Xo=function(q){var P=q[2],D=P[2],T0=P[1],R0=q[1],rx=X0(D?D[1]:T0);return M(dw0,R0,0,[0,[0,yw0,X0(T0)],[0,[0,pw0,rx],0]])},Pn=function(q){return Lr(Gv,q)},Gv=function(q){var P=q[2],D=q[1];if(P[1])var T0=P[2],R0=Aw0;else var T0=P[2],R0=gw0;return M(R0,D,0,[0,[0,Nw0,nr(T0)],0])},fo=function(q){var P=q[2],D=P[1],T0=P[2],R0=q[1];if(D)var rx=[0,[0,Iw0,K0(D[1])],0],Sx=Pw0;else var rx=0,Sx=Cw0;return M(Sx,R0,T0,rx)},Wo=function(q){var P=q[2],D=q[1],T0=[0,[0,Rw0,ax(q[3])],0],R0=[0,[0,Ow0,Ox(pt,P)],T0];return[0,[0,Lw0,K0(D)],R0]},bv=function(q){var P=q[2],D=q[1];switch(P[0]){case 0:var T0=0,R0=X0(P[1]);break;case 1:var T0=0,R0=Sr(P[1]);break;default:var T0=1,R0=K0(P[1])}return[0,[0,Dw0,K0(D)],[0,[0,Mw0,R0],[0,[0,Uw0,!!T0],0]]]},ss=A0[2],Vo=ss[2],Zo=ss[4],xa=ss[3],l3=A0[1],Lm=L0(ss[1]),p3=[0,[0,Zl0,Lm],[0,[0,Vl0,Pn(Zo)],0]];if(Vo)var C6=Vo[1],R6=Fx(p3,[0,[0,Ql0,M(Fl0,C6[1],0,[0,[0,$l0,nr(C6[2])],0])],0]);else var R6=p3;var y3=M(Hl0,l3,xa,R6),Um=Fx(v0,IW[1]);if(y3.errors=Lr(function(q){var P=q[1],D=[0,[0,jw0,nr(zT0(q[2]))],0];return is([0,[0,zw0,CW(P)],D])},Um),k){var Mm=R[1];y3[aM]=Y1(Qy(function(q){var P=q[2],D=q[1],T0=q[3],R0=[0,[0,cv0,nr(VR(P))],0],rx=[0,qd(G,D[3]),0],Sx=[0,[0,sv0,Y1([0,qd(G,D[2]),rx])],R0],Dx=[0,[0,av0,is([0,[0,vv0,D[3][1]],[0,[0,ov0,D[3][2]],0]])],0],jx=[0,[0,dv0,is([0,[0,yv0,is([0,[0,pv0,D[2][1]],[0,[0,lv0,D[2][2]],0]])],Dx])],Sx];switch(T0){case 0:var bx=mv0;break;case 1:var bx=kv0;break;case 2:var bx=hv0;break;case 3:var bx=_v0;break;case 4:var bx=wv0;break;default:var bx=Tv0}return is([0,[0,Ev0,nr(kY(P))],[0,[0,Sv0,nr(bx)],jx]])},Mm))}return y3}var ra=N0[1];if(ra===5){var d3=N0[2];if(d3&&d3[1]===6){var Dm=d3[2],P0=[0,Q+2|0,0,[0,Ml(gx([0,Q,I0])),J0]],N0=Dm;continue}}else if(6>ra){var jm=N0[2],P0=[0,Q+TB(ra)|0,[0,Q,I0],J0],N0=jm;continue}var zm=N0[2],M1=[0,Ml(gx([0,Q,I0])),J0],P0=[0,Q+TB(ra)|0,0,M1],N0=zm}}};if(typeof EU<"u")var RW=EU;else{var OW={};xo.flow=OW;var RW=OW}RW.parse=DV(function(x,r){try{var e=_E0(x,r);return e}catch(u){var t=R1(u);return t[1]===gL?NW(t[2]):NW(new kE0(nr(Zx(xT0,rd(t)))))}}),rR(0);return}}})(globalThis)});var XW=LW(sa=>{"use strict";Object.defineProperty(sa,"__esModule",{value:!0});sa.extract=NI0;sa.parse=PI0;sa.parseWithComments=BW;sa.print=CI0;sa.strip=II0;var TI0=/\*\/$/,SI0=/^\/\*\*?/,JW=/^\s*(\/\*\*?(.|\r?\n)*?\*\/)/,EI0=/(^|\s+)\/\/([^\r\n]*)/g,jW=/^(\r?\n)+/,AI0=/(?:^|\r?\n) *(@[^\r\n]*?) *\r?\n *(?![^@\r\n]*\/\/[^]*)([^@\r\n\s][^@\r\n]+?) *\r?\n/g,zW=/(?:^|\r?\n) *@(\S+) *([^\r\n]*)/g,gI0=/(\r?\n|^) *\* ?/g,YW=[];function NI0(p0){let _x=p0.match(JW);return _x?_x[0].trimLeft():""}function II0(p0){let _x=p0.match(JW);return _x&&_x[0]?p0.substring(_x[0].length):p0}function PI0(p0){return BW(p0).pragmas}function BW(p0){let _x=` -`;p0=p0.replace(SI0,"").replace(TI0,"").replace(gI0,"$1");let Hx="";for(;Hx!==p0;)Hx=p0,p0=p0.replace(AI0,`${_x}$1 $2${_x}`);p0=p0.replace(jW,"").trimRight();let kr=Object.create(null),$1=p0.replace(zW,"").replace(jW,"").trimRight(),tr;for(;tr=zW.exec(p0);){let xr=tr[2].replace(EI0,"");typeof kr[tr[1]]=="string"||Array.isArray(kr[tr[1]])?kr[tr[1]]=YW.concat(kr[tr[1]],xr):kr[tr[1]]=xr}return{comments:$1,pragmas:kr}}function CI0({comments:p0="",pragmas:_x={}}){let Hx=` -`,kr="/**",$1=" *",tr=" */",xr=Object.keys(_x),e1=xr.map(F1=>KW(F1,_x[F1])).reduce((F1,M3)=>F1.concat(M3),[]).map(F1=>`${$1} ${F1}${Hx}`).join("");if(!p0){if(xr.length===0)return"";if(xr.length===1&&!Array.isArray(_x[xr[0]])){let F1=_x[xr[0]];return`${kr} ${KW(xr[0],F1)[0]}${tr}`}}let ev=p0.split(Hx).map(F1=>`${$1} ${F1}`).join(Hx)+Hx;return kr+Hx+(p0?ev:"")+(p0&&xr.length?$1+Hx:"")+e1+tr}function KW(p0,_x){return YW.concat(_x).map(Hx=>`@${p0} ${Hx}`.trim())}});var CU={};UW(CU,{parsers:()=>i9});var i9={};UW(i9,{flow:()=>QI0});var rV=MW(DW(),1);function wI0(p0,_x){let Hx=new SyntaxError(p0+" ("+_x.loc.start.line+":"+_x.loc.start.column+")");return Object.assign(Hx,_x)}var t9=wI0;var U3=MW(XW(),1);function RI0(p0){if(!p0.startsWith("#!"))return"";let _x=p0.indexOf(` -`);return _x===-1?p0:p0.slice(0,_x)}var WW=RI0;function OI0(p0){let _x=WW(p0);_x&&(p0=p0.slice(_x.length+1));let Hx=(0,U3.extract)(p0),{pragmas:kr,comments:$1}=(0,U3.parseWithComments)(Hx);return{shebang:_x,text:p0,pragmas:kr,comments:$1}}function VW(p0){let{pragmas:_x}=OI0(p0);return Object.prototype.hasOwnProperty.call(_x,"prettier")||Object.prototype.hasOwnProperty.call(_x,"format")}function LI0(p0){return Array.isArray(p0)&&p0.length>0}var N4=LI0;function Nt(p0){var kr;let _x=p0.range?p0.range[0]:p0.start,Hx=((kr=p0.declaration)==null?void 0:kr.decorators)??p0.decorators;return N4(Hx)?Math.min(Nt(Hx[0]),_x):_x}function _s(p0){return p0.range?p0.range[1]:p0.end}function UI0(p0){return p0=typeof p0=="function"?{parse:p0}:p0,{astFormat:"estree",hasPragma:VW,locStart:Nt,locEnd:_s,...p0}}var ZW=UI0;function MI0(p0){return p0.charAt(0)==="#"&&p0.charAt(1)==="!"?"//"+p0.slice(2):p0}var $W=MI0;var DI0=(p0,_x,Hx)=>{if(!(p0&&_x==null))return Array.isArray(_x)||typeof _x=="string"?_x[Hx<0?_x.length+Hx:Hx]:_x.at(Hx)},AU=DI0;function jI0(p0){return p0=new Set(p0),_x=>p0.has(_x==null?void 0:_x.type)}var FW=jI0;var zI0=FW(["Block","CommentBlock","MultiLine"]),I4=zI0;function KI0(p0){return I4(p0)&&p0.value[0]==="*"&&/@(?:type|satisfies)\b/.test(p0.value)}var QW=KI0;function JI0(p0){let _x=`*${p0.value}*`.split(` -`);return _x.length>1&&_x.every(Hx=>Hx.trimStart()[0]==="*")}var gU=JI0;var P4=null;function C4(p0){if(P4!==null&&typeof P4.property){let _x=P4;return P4=C4.prototype=null,_x}return P4=C4.prototype=p0??Object.create(null),new C4}var YI0=10;for(let p0=0;p0<=YI0;p0++)C4();function NU(p0){return C4(p0)}function BI0(p0,_x="type"){NU(p0);function Hx(kr){let $1=kr[_x],tr=p0[$1];if(!Array.isArray(tr))throw Object.assign(new Error(`Missing visitor keys for '${$1}'.`),{node:kr});return tr}return Hx}var HW=BI0;var qW={ArrayExpression:["elements"],AssignmentExpression:["left","right"],BinaryExpression:["left","right"],InterpreterDirective:[],Directive:["value"],DirectiveLiteral:[],BlockStatement:["directives","body"],BreakStatement:["label"],CallExpression:["callee","arguments","typeParameters","typeArguments"],CatchClause:["param","body"],ConditionalExpression:["test","consequent","alternate"],ContinueStatement:["label"],DebuggerStatement:[],DoWhileStatement:["test","body"],EmptyStatement:[],ExpressionStatement:["expression"],File:["program"],ForInStatement:["left","right","body"],ForStatement:["init","test","update","body"],FunctionDeclaration:["id","params","body","returnType","typeParameters","predicate"],FunctionExpression:["id","params","body","returnType","typeParameters"],Identifier:["typeAnnotation","decorators"],IfStatement:["test","consequent","alternate"],LabeledStatement:["label","body"],StringLiteral:[],NumericLiteral:[],NullLiteral:[],BooleanLiteral:[],RegExpLiteral:[],LogicalExpression:["left","right"],MemberExpression:["object","property"],NewExpression:["callee","arguments","typeParameters","typeArguments"],Program:["directives","body"],ObjectExpression:["properties"],ObjectMethod:["key","params","body","decorators","returnType","typeParameters"],ObjectProperty:["key","value","decorators"],RestElement:["argument","typeAnnotation","decorators"],ReturnStatement:["argument"],SequenceExpression:["expressions"],ParenthesizedExpression:["expression"],SwitchCase:["test","consequent"],SwitchStatement:["discriminant","cases"],ThisExpression:[],ThrowStatement:["argument"],TryStatement:["block","handler","finalizer"],UnaryExpression:["argument"],UpdateExpression:["argument"],VariableDeclaration:["declarations"],VariableDeclarator:["id","init"],WhileStatement:["test","body"],WithStatement:["object","body"],AssignmentPattern:["left","right","decorators","typeAnnotation"],ArrayPattern:["elements","typeAnnotation","decorators"],ArrowFunctionExpression:["params","body","returnType","typeParameters","predicate"],ClassBody:["body"],ClassExpression:["id","body","superClass","mixins","typeParameters","superTypeParameters","implements","decorators"],ClassDeclaration:["id","body","superClass","mixins","typeParameters","superTypeParameters","implements","decorators"],ExportAllDeclaration:["source","attributes","assertions","exported"],ExportDefaultDeclaration:["declaration"],ExportNamedDeclaration:["declaration","specifiers","source","attributes","assertions"],ExportSpecifier:["local","exported"],ForOfStatement:["left","right","body"],ImportDeclaration:["specifiers","source","attributes","assertions"],ImportDefaultSpecifier:["local"],ImportNamespaceSpecifier:["local"],ImportSpecifier:["local","imported"],MetaProperty:["meta","property"],ClassMethod:["key","params","body","decorators","returnType","typeParameters"],ObjectPattern:["properties","typeAnnotation","decorators"],SpreadElement:["argument"],Super:[],TaggedTemplateExpression:["tag","quasi","typeParameters"],TemplateElement:[],TemplateLiteral:["quasis","expressions"],YieldExpression:["argument"],AwaitExpression:["argument"],Import:[],BigIntLiteral:[],ExportNamespaceSpecifier:["exported"],OptionalMemberExpression:["object","property"],OptionalCallExpression:["callee","arguments","typeParameters","typeArguments"],ClassProperty:["key","value","typeAnnotation","decorators","variance"],ClassAccessorProperty:["key","value","typeAnnotation","decorators"],ClassPrivateProperty:["key","value","decorators","typeAnnotation","variance"],ClassPrivateMethod:["key","params","body","decorators","returnType","typeParameters"],PrivateName:["id"],StaticBlock:["body"],AnyTypeAnnotation:[],ArrayTypeAnnotation:["elementType"],BooleanTypeAnnotation:[],BooleanLiteralTypeAnnotation:[],NullLiteralTypeAnnotation:[],ClassImplements:["id","typeParameters"],DeclareClass:["id","typeParameters","extends","mixins","implements","body"],DeclareFunction:["id","predicate"],DeclareInterface:["id","typeParameters","extends","body"],DeclareModule:["id","body"],DeclareModuleExports:["typeAnnotation"],DeclareTypeAlias:["id","typeParameters","right"],DeclareOpaqueType:["id","typeParameters","supertype"],DeclareVariable:["id"],DeclareExportDeclaration:["declaration","specifiers","source"],DeclareExportAllDeclaration:["source"],DeclaredPredicate:["value"],ExistsTypeAnnotation:[],FunctionTypeAnnotation:["typeParameters","params","rest","returnType","this"],FunctionTypeParam:["name","typeAnnotation"],GenericTypeAnnotation:["id","typeParameters"],InferredPredicate:[],InterfaceExtends:["id","typeParameters"],InterfaceDeclaration:["id","typeParameters","extends","body"],InterfaceTypeAnnotation:["extends","body"],IntersectionTypeAnnotation:["types"],MixedTypeAnnotation:[],EmptyTypeAnnotation:[],NullableTypeAnnotation:["typeAnnotation"],NumberLiteralTypeAnnotation:[],NumberTypeAnnotation:[],ObjectTypeAnnotation:["properties","indexers","callProperties","internalSlots"],ObjectTypeInternalSlot:["id","value","optional","static","method"],ObjectTypeCallProperty:["value"],ObjectTypeIndexer:["id","key","value","variance"],ObjectTypeProperty:["key","value","variance"],ObjectTypeSpreadProperty:["argument"],OpaqueType:["id","typeParameters","supertype","impltype"],QualifiedTypeIdentifier:["id","qualification"],StringLiteralTypeAnnotation:[],StringTypeAnnotation:[],SymbolTypeAnnotation:[],ThisTypeAnnotation:[],TupleTypeAnnotation:["types","elementTypes"],TypeofTypeAnnotation:["argument"],TypeAlias:["id","typeParameters","right"],TypeAnnotation:["typeAnnotation"],TypeCastExpression:["expression","typeAnnotation"],TypeParameter:["bound","default","variance"],TypeParameterDeclaration:["params"],TypeParameterInstantiation:["params"],UnionTypeAnnotation:["types"],Variance:[],VoidTypeAnnotation:[],EnumDeclaration:["id","body"],EnumBooleanBody:["members"],EnumNumberBody:["members"],EnumStringBody:["members"],EnumSymbolBody:["members"],EnumBooleanMember:["id","init"],EnumNumberMember:["id","init"],EnumStringMember:["id","init"],EnumDefaultedMember:["id"],IndexedAccessType:["objectType","indexType"],OptionalIndexedAccessType:["objectType","indexType"],JSXAttribute:["name","value"],JSXClosingElement:["name"],JSXElement:["openingElement","children","closingElement"],JSXEmptyExpression:[],JSXExpressionContainer:["expression"],JSXSpreadChild:["expression"],JSXIdentifier:[],JSXMemberExpression:["object","property"],JSXNamespacedName:["namespace","name"],JSXOpeningElement:["name","attributes","typeParameters"],JSXSpreadAttribute:["argument"],JSXText:[],JSXFragment:["openingFragment","children","closingFragment"],JSXOpeningFragment:[],JSXClosingFragment:[],Noop:[],Placeholder:[],V8IntrinsicIdentifier:[],ArgumentPlaceholder:[],BindExpression:["object","callee"],ImportAttribute:["key","value"],Decorator:["expression"],DoExpression:["body"],ExportDefaultSpecifier:["exported"],RecordExpression:["properties"],TupleExpression:["elements"],DecimalLiteral:[],ModuleExpression:["body"],TopicReference:[],PipelineTopicExpression:["expression"],PipelineBareFunction:["callee"],PipelinePrimaryTopicReference:[],TSParameterProperty:["parameter","decorators"],TSDeclareFunction:["id","typeParameters","params","returnType","body"],TSDeclareMethod:["decorators","key","typeParameters","params","returnType"],TSQualifiedName:["left","right"],TSCallSignatureDeclaration:["typeParameters","parameters","typeAnnotation","params","returnType"],TSConstructSignatureDeclaration:["typeParameters","parameters","typeAnnotation","params","returnType"],TSPropertySignature:["key","typeAnnotation"],TSMethodSignature:["key","typeParameters","parameters","typeAnnotation","params","returnType"],TSIndexSignature:["parameters","typeAnnotation"],TSAnyKeyword:[],TSBooleanKeyword:[],TSBigIntKeyword:[],TSIntrinsicKeyword:[],TSNeverKeyword:[],TSNullKeyword:[],TSNumberKeyword:[],TSObjectKeyword:[],TSStringKeyword:[],TSSymbolKeyword:[],TSUndefinedKeyword:[],TSUnknownKeyword:[],TSVoidKeyword:[],TSThisType:[],TSFunctionType:["typeParameters","parameters","typeAnnotation","params","returnType"],TSConstructorType:["typeParameters","parameters","typeAnnotation","params","returnType"],TSTypeReference:["typeName","typeParameters"],TSTypePredicate:["parameterName","typeAnnotation"],TSTypeQuery:["exprName","typeParameters"],TSTypeLiteral:["members"],TSArrayType:["elementType"],TSTupleType:["elementTypes"],TSOptionalType:["typeAnnotation"],TSRestType:["typeAnnotation"],TSNamedTupleMember:["label","elementType"],TSUnionType:["types"],TSIntersectionType:["types"],TSConditionalType:["checkType","extendsType","trueType","falseType"],TSInferType:["typeParameter"],TSParenthesizedType:["typeAnnotation"],TSTypeOperator:["typeAnnotation"],TSIndexedAccessType:["objectType","indexType"],TSMappedType:["typeParameter","typeAnnotation","nameType"],TSLiteralType:["literal"],TSExpressionWithTypeArguments:["expression","typeParameters"],TSInterfaceDeclaration:["id","typeParameters","extends","body"],TSInterfaceBody:["body"],TSTypeAliasDeclaration:["id","typeParameters","typeAnnotation"],TSInstantiationExpression:["expression","typeParameters"],TSAsExpression:["expression","typeAnnotation"],TSSatisfiesExpression:["expression","typeAnnotation"],TSTypeAssertion:["typeAnnotation","expression"],TSEnumDeclaration:["id","members"],TSEnumMember:["id","initializer"],TSModuleDeclaration:["id","body"],TSModuleBlock:["body"],TSImportType:["argument","qualifier","typeParameters","parameter"],TSImportEqualsDeclaration:["id","moduleReference"],TSExternalModuleReference:["expression"],TSNonNullExpression:["expression"],TSExportAssignment:["expression"],TSNamespaceExportDeclaration:["id"],TSTypeAnnotation:["typeAnnotation"],TSTypeParameterInstantiation:["params"],TSTypeParameterDeclaration:["params"],TSTypeParameter:["constraint","default","name"],ChainExpression:["expression"],ExperimentalRestProperty:["argument"],ExperimentalSpreadProperty:["argument"],ImportExpression:["source","attributes"],Literal:[],MethodDefinition:["decorators","key","value"],PrivateIdentifier:[],Property:["key","value"],PropertyDefinition:["decorators","key","typeAnnotation","value","variance"],AccessorProperty:["decorators","key","typeAnnotation","value"],TSAbstractAccessorProperty:["decorators","key","typeAnnotation"],TSAbstractKeyword:[],TSAbstractMethodDefinition:["key","value"],TSAbstractPropertyDefinition:["decorators","key","typeAnnotation"],TSAsyncKeyword:[],TSClassImplements:["expression","typeParameters"],TSDeclareKeyword:[],TSEmptyBodyFunctionExpression:["id","typeParameters","params","returnType"],TSExportKeyword:[],TSInterfaceHeritage:["expression","typeParameters"],TSPrivateKeyword:[],TSProtectedKeyword:[],TSPublicKeyword:[],TSReadonlyKeyword:[],TSStaticKeyword:[],TSTemplateLiteralType:["quasis","types"],BigIntLiteralTypeAnnotation:[],BigIntTypeAnnotation:[],ConditionalTypeAnnotation:["checkType","extendsType","trueType","falseType"],DeclareEnum:["id","body"],InferTypeAnnotation:["typeParameter"],KeyofTypeAnnotation:["argument"],ObjectTypeMappedTypeProperty:["keyTparam","propType","sourceType","variance"],QualifiedTypeofIdentifier:["qualification","id"],TupleTypeLabeledElement:["label","elementType","variance"],TupleTypeSpreadElement:["label","typeAnnotation"],TypePredicate:["parameterName","typeAnnotation","asserts"],NGRoot:["node"],NGPipeExpression:["left","right","arguments"],NGChainedExpression:["expressions"],NGEmptyExpression:[],NGMicrosyntax:["body"],NGMicrosyntaxKey:[],NGMicrosyntaxExpression:["expression","alias"],NGMicrosyntaxKeyedExpression:["key","expression"],NGMicrosyntaxLet:["key","value"],NGMicrosyntaxAs:["key","alias"],JsExpressionRoot:["node"],JsonRoot:["node"],TSJSDocAllType:[],TSJSDocUnknownType:[],TSJSDocNullableType:["typeAnnotation"],TSJSDocNonNullableType:["typeAnnotation"],NeverTypeAnnotation:[],UndefinedTypeAnnotation:[],UnknownTypeAnnotation:[]};var XI0=HW(qW),GW=XI0;function IU(p0,_x){if(!(p0!==null&&typeof p0=="object"))return p0;if(Array.isArray(p0)){for(let kr=0;kr{var e1;(e1=xr.leadingComments)!=null&&e1.some(QW)&&tr.add(Nt(xr))}),p0=n9(p0,xr=>{if(xr.type==="ParenthesizedExpression"){let{expression:e1}=xr;if(e1.type==="TypeCastExpression")return e1.range=xr.range,e1;let ev=Nt(xr);if(!tr.has(ev))return e1.extra={...e1.extra,parenthesized:!0},e1}})}if(p0=n9(p0,tr=>{switch(tr.type){case"LogicalExpression":if(bW(tr))return PU(tr);break;case"VariableDeclaration":{let xr=AU(!1,tr.declarations,-1);xr!=null&&xr.init&&$1(tr,xr);break}case"TSParenthesizedType":return tr.typeAnnotation;case"TSTypeParameter":if(typeof tr.name=="string"){let xr=Nt(tr);tr.name={type:"Identifier",name:tr.name,range:[xr,xr+tr.name.length]}}break;case"ObjectExpression":if(Hx==="typescript"){let xr=tr.properties.find(e1=>e1.type==="Property"&&e1.value.type==="TSEmptyBodyFunctionExpression");xr&&u9(xr.value,"Unexpected token.")}break;case"TSInterfaceDeclaration":N4(tr.implements)&&u9(tr.implements[0],"Interface declaration cannot have 'implements' clause.");break;case"TSPropertySignature":tr.initializer&&u9(tr.initializer,"An interface property cannot have an initializer.");break;case"TopicReference":p0.extra={...p0.extra,__isUsingHackPipeline:!0};break;case"ExportAllDeclaration":{let{exported:xr}=tr;if(Hx==="meriyah"&&(xr==null?void 0:xr.type)==="Identifier"){let e1=kr.slice(Nt(xr),_s(xr));(e1.startsWith('"')||e1.startsWith("'"))&&(tr.exported={...tr.exported,type:"Literal",value:tr.exported.name,raw:e1})}break}case"TSUnionType":case"TSIntersectionType":if(tr.types.length===1)return tr.types[0];break}}),N4(p0.comments)){let tr=AU(!1,p0.comments,-1);for(let xr=p0.comments.length-2;xr>=0;xr--){let e1=p0.comments[xr];_s(e1)===Nt(tr)&&I4(e1)&&I4(tr)&&gU(e1)&&gU(tr)&&(p0.comments.splice(xr+1,1),e1.value+="*//*"+tr.value,e1.range=[Nt(e1),_s(tr)]),tr=e1}}return p0.type==="Program"&&(p0.range=[0,kr.length]),p0;function $1(tr,xr){kr[_s(xr)]!==";"&&(tr.range=[Nt(tr),_s(xr)])}}function bW(p0){return p0.type==="LogicalExpression"&&p0.right.type==="LogicalExpression"&&p0.operator===p0.right.operator}function PU(p0){return bW(p0)?PU({type:"LogicalExpression",operator:p0.operator,left:PU({type:"LogicalExpression",operator:p0.operator,left:p0.left,right:p0.right.left,range:[Nt(p0.left),_s(p0.right.left)]}),right:p0.right.right,range:[Nt(p0),_s(p0)]}):p0}var xV=VI0;var ZI0={comments:!1,enums:!0,esproposal_decorators:!0,esproposal_export_star_as:!0,tokens:!0};function $I0(p0){let{message:_x,loc:{start:Hx,end:kr}}=p0;return t9(_x,{loc:{start:{line:Hx.line,column:Hx.column+1},end:{line:kr.line,column:kr.column+1}},cause:p0})}function FI0(p0){let _x=rV.default.parse($W(p0),ZI0),[Hx]=_x.errors;if(Hx)throw $I0(Hx);return xV(_x,{text:p0})}var QI0=ZW(FI0);var GP0=CU;export{GP0 as default,i9 as parsers}; + -- too many open files. Try running with OCAMLRUNPARAM=b=2)`],kW=[3,0,3],mW=Mf,hW=W3,dW="File_key.LibFile@ "],VW=[0,[3,0,0],q3],GW=[0,[17,0,[12,41,0]],f4],WW=[0,[12,40,[18,[1,[0,[11,ht,0],ht]],[11,"File_key.SourceFile",[17,[0,be,1,0],0]]]],"(@[<2>File_key.SourceFile@ "],$W=[0,[3,0,0],q3],HW=[0,[17,0,[12,41,0]],f4],QW=[0,[12,40,[18,[1,[0,[11,ht,0],ht]],[11,"File_key.JsonFile",[17,[0,be,1,0],0]]]],"(@[<2>File_key.JsonFile@ "],ZW=[0,[3,0,0],q3],x$=[0,[17,0,[12,41,0]],f4],r$=[0,[12,40,[18,[1,[0,[11,ht,0],ht]],[11,"File_key.ResourceFile",[17,[0,be,1,0],0]]]],"(@[<2>File_key.ResourceFile@ "],e$=[0,[3,0,0],q3],t$=[0,[17,0,[12,41,0]],f4],n$=[0,1],u$=[0,0],i$=[0,1],f$=[0,2],c$=[0,2],s$=[0,0],a$=[0,1],o$=[0,1],v$=[0,1],l$=[0,1],p$=[0,1],k$=[0,1],m$=[0,0,0],h$=[0,0,0],d$=[0,M1,Xu,Hi,gf,L1,oi,jc,Mu,A7,On,lc,ju,Hu,h7,n7,N7,If,Nf,si,d7,bn,Zu,bc,e7,gc,xi,Af,ii,Pn,En,Jf,nu,fu,Gi,Ac,je,cf,ai,kc,xf,df,P7,au,Pe,Li,x7,Ai,Ei,oc,a7,Pu,ec,Se,Gn,o7,Pi,Z7,ku,z7,tc,Ie,G7,rc,_f,eu,Sc,Tf,M7,Rf,Wf,lu,di,Wn,Jn,yu,S7,i7,ac,xc,y7,ou,dc,$t,af,Iu,Rn,Lf,D7,$u,Bf,Ju,nf,Ku,Ln,_c,Ki,Tc,ji,q7,jf,yf,ki,s7,tf,T7,pc,Tu,mc,yc,Xn,Du,nc,mu,Vu,Bn,Er,Fi,X7,_n,v7,li,Tn,du,m7,Uf,Oi,Cf,Df,An,F7,qn,l7,zu,wc,Bu,ru,rf,Fn,Yf,vc,Au,gi,dn,H7,L7,Oc,K7,bi,wf,Nn,Lu,W1,c7,Ef,V7,$i,Kn,bu,B7,ti,R1,t7,Un,r7,dt,su,W7,ni,Q7,Si,Ec,ui,gn,Qi,Uu,kf,Ru,Fu,p7,wn,Zn,zf,yn,O7,Xf,Ou,Y7,iu,hu,mi,U7,I7,ef,hf,zn,w7,In,Cu,ri,V2,_7,Sf,Vn,ff,jn,Hn,Xi,gu,vu,Hf,fc,qi,yi,pu,Mn,uu,Ri,zi,Cn,hi,ie,vi,sc,sf,Kf,Vi,Wi,qf,wu,mf,Qn,_i,uc,Zi,_u,we,_e,Ci,Zf,Gf,Sn,Of,Ji,Qu,ic,Mi,Nu,b7,Pc,Yn,J7,Ii,Ff,Gu,fi,Ui,ei,cu,E7,Ic,Di,wi,tu,g7,Yi,Dn,cc,Nc,Wu,u7,Pf,Bi,C7,f7,Ee,Qf,Eu,Bt,pf,Ti,k7,Vf,xu,pi,j7,Su,vf,$n,Yu,lf,uf],y$=[0,oc,dn,Ru,su,gn,f7,mc,jf,zu,Nn,Eu,gc,Bf,Pe,D7,Sf,Yi,fu,Ki,Yf,Xn,c7,Au,Ri,yi,Xu,i7,Q7,iu,Jn,Uf,Vi,ic,ni,uu,mu,dt,gf,hf,Wf,mf,Bi,Fu,Pf,rf,gu,G7,Ec,hu,au,ki,Un,Ai,$i,zi,m7,nc,wi,Ui,af,uf,Sc,Yn,Zu,q7,_f,F7,E7,Ju,Ie,_c,Qi,Iu,Vu,wc,Fn,W7,v7,Zf,Af,fc,qn,li,kf,Rf,$n,qf,Hn,Fi,Z7,dc,Yu,hi,C7,ec,L1,rc,uc,N7,o7,t7,k7,Y7,Ac,Oc,g7,T7,P7,ie,I7,xi,M1,Tn,Gi,_i,Tf,ju,y7,Zi,ku,Vf,lc,fi,Qn,Tu,Mu,vc,j7,En,wf,pu,In,$u,Vn,du,xc,zn,Nf,Pn,J7,oi,Jf,a7,If,x7,On,Ic,Ef,mi,ei,_n,Uu,Ii,A7,Gu,pc,Cf,Mi,xu,X7,Nc,tu,b7,ac,Df,Pc,Er,R1,Se,n7,si,Li,S7,je,we,yc,r7,Lf,ri,gi,$t,Qf,zf,Mn,V7,cu,_7,p7,H7,ui,h7,qi,tc,Xf,B7,Hf,jn,Of,tf,Pu,yf,Kn,Ku,di,ii,ji,eu,Ln,d7,Wi,Wu,wu,pf,K7,df,Cn,nu,Si,z7,ti,Tc,cc,s7,ru,Di,Lu,vi,e7,lf,jc,sc,u7,bc,sf,Bu,L7,Gf,Oi,Wn,Du,bi,w7,An,bn,kc,pi,Ji,yu,Su,Ti,V2,ou,Ff,Cu,yn,O7,Ei,_e,wn,Nu,M7,Xi,Kf,ai,xf,Ou,ff,Hu,U7,Rn,Bt,bu,Dn,l7,nf,Zn,_u,Gn,vu,Ee,vf,W1,Ci,Hi,Qu,Pi,ef,Sn,lu,cf,Bn],g$=fR,_$=YR,b$=uR,w$=JR,T$=zb,E$=AR,S$=W3,A$=EL,I$=xR,j$=yR,P$=UD,N$=ys,O$=rt,C$=_M,D$=MR,R$=G1,F$=zR,L$=kU,M$=Ik,U$=Mp,q$=aa,B$=G3,X$=gR,J$=lU,K$=uF,Y$=lR,z$=iU,V$=RD,G$=NL,W$=_R,$$=yM,H$=PF,Q$=HM,Z$=aR,xH=YF,rH=nU,eH=QL,tH=[0,[18,[1,[0,[11,ht,0],ht]],[11,xF,0]],zM],nH="Loc.line",uH=[0,[18,[1,[0,0,H0]],[2,0,[11,Y3,[17,[0,be,1,0],0]]]],J3],iH=[0,[4,0,0,0,0],Lv],fH=[0,[17,0,0],vv],cH=[0,[12,59,[17,[0,be,1,0],0]],Vy],sH=pl,aH=[0,[18,[1,[0,0,H0]],[2,0,[11,Y3,[17,[0,be,1,0],0]]]],J3],oH=[0,[4,0,0,0,0],Lv],vH=[0,[17,0,0],vv],lH=[0,[17,[0,be,1,0],[12,ms,[17,0,0]]],vF],pH=[0,[15,0],FF],kH="(Some ",mH=Yw,hH="None",dH=[0,[18,[1,[0,[11,ht,0],ht]],[11,xF,0]],zM],yH="Loc.source",gH=[0,[18,[1,[0,0,H0]],[2,0,[11,Y3,[17,[0,be,1,0],0]]]],J3],_H=[0,[17,0,0],vv],bH=[0,[12,59,[17,[0,be,1,0],0]],Vy],wH=P5,TH=[0,[18,[1,[0,0,H0]],[2,0,[11,Y3,[17,[0,be,1,0],0]]]],J3],EH=[0,[17,0,0],vv],SH=[0,[12,59,[17,[0,be,1,0],0]],Vy],AH="_end",IH=[0,[18,[1,[0,0,H0]],[2,0,[11,Y3,[17,[0,be,1,0],0]]]],J3],jH=[0,[17,0,0],vv],PH=[0,[17,[0,be,1,0],[12,ms,[17,0,0]]],vF],NH=H0,OH="Object literal may not have data and accessor property with the same name",CH="Object literal may not have multiple get/set accessors with the same name",DH="Unexpected token <. Remember, adjacent JSX elements must be wrapped in an enclosing parent tag",RH="`let [` is ambiguous in this position because it is either a `let` binding pattern, or a member expression.",FH="Async functions can only be declared at top level or immediately within another function.",LH="`await` is an invalid identifier in async functions",MH="`await` is not allowed in async function parameters.",UH="Computed properties must have a value.",qH="Constructor can't be an accessor.",BH="Constructor can't be an async function.",XH="Constructor can't be a generator.",JH="It is sufficient for your declare function to just have a Promise return type.",KH="async is an implementation detail and isn't necessary for your declare function statement. ",YH="`declare` modifier can only appear on class fields.",zH="Unexpected token `=`. Initializers are not allowed in a `declare`.",VH="Unexpected token `=`. Initializers are not allowed in a `declare opaque type`.",GH="Classes may only have one constructor",WH="Rest element must be final element of an array pattern",$H="Cannot export an enum with `export type`, try `export enum E {}` or `module.exports = E;` instead.",HH="Enum members are separated with `,`. Replace `;` with `,`.",QH="`const` enums are not supported. Flow Enums are designed to allow for inlining, however the inlining itself needs to be part of the build system (whatever you use) rather than Flow itself.",ZH="Expected an object pattern, array pattern, or an identifier but found an expression instead",xQ="Missing comma between export specifiers",rQ="Generators can only be declared at top level or immediately within another function.",eQ="Getter should have zero parameters",tQ="A getter cannot have a `this` parameter.",nQ="Illegal break statement",uQ="Illegal continue statement",iQ="Illegal return statement",fQ="Illegal Unicode escape",cQ="Missing comma between import specifiers",sQ="It cannot be used with `import type` or `import typeof` statements",aQ="The `type` and `typeof` keywords on named imports can only be used on regular `import` statements. ",oQ="Explicit inexact syntax cannot appear inside an explicit exact object type",vQ="Explicit inexact syntax can only appear inside an object type",lQ="Component params must be an identifier. If you'd like to destructure, you should use `name as {destructure}`",pQ="Components use `renders` instead of `:` to annotate the render type of a component.",kQ="A bigint literal must be an integer",mQ="JSX value should be either an expression or a quoted JSX text",hQ="Invalid left-hand side in assignment",dQ="Invalid left-hand side in exponentiation expression",yQ="Invalid left-hand side in for-in",gQ="Invalid left-hand side in for-of",_Q="Invalid optional indexed access. Indexed access uses bracket notation. Use the format `T?.[K]`.",bQ="Invalid regular expression",wQ="A bigint literal cannot use exponential notation",TQ="Tuple spread elements cannot be optional.",EQ="Tuple variance annotations can only be used with labeled tuple elements, e.g. `[+foo: number]`",SQ="`typeof` can only be used to get the type of variables.",AQ="JSX attributes must only be assigned a non-empty expression",IQ="Literals cannot be used as shorthand properties.",jQ="Malformed unicode",PQ="Object pattern can't contain methods",NQ="Expected at least one type parameter.",OQ="Type parameter declaration needs a default, since a preceding type parameter declaration has a default.",CQ="More than one default clause in switch statement",DQ="Illegal newline after throw",RQ="Illegal newline before arrow",FQ="Missing catch or finally after try",LQ="Const must be initialized",MQ="Destructuring assignment must be initialized",UQ="An optional chain may not be used in a `new` expression.",qQ="Template literals may not be used in an optional chain.",BQ="Rest parameter must be final parameter of an argument list",XQ="Private fields may not be deleted.",JQ="Private fields can only be referenced from within a class.",KQ="Rest property must be final property of an object pattern",YQ="Setter should have exactly one parameter",zQ="A setter cannot have a `this` parameter.",VQ="Catch variable may not be eval or arguments in strict mode",GQ="Delete of an unqualified identifier in strict mode.",WQ="Duplicate data property in object literal not allowed in strict mode",$Q="Function name may not be eval or arguments in strict mode",HQ="Assignment to eval or arguments is not allowed in strict mode",QQ="Postfix increment/decrement may not have eval or arguments operand in strict mode",ZQ="Prefix increment/decrement may not have eval or arguments operand in strict mode",xZ="Strict mode code may not include a with statement",rZ="Number literals with leading zeros are not allowed in strict mode.",eZ="Octal literals are not allowed in strict mode.",tZ="Strict mode function may not have duplicate parameter names",nZ="Parameter name eval or arguments is not allowed in strict mode",uZ='Illegal "use strict" directive in function with non-simple parameter list',iZ="Use of reserved word in strict mode",fZ="Variable name may not be eval or arguments in strict mode",cZ="You may not access a private field through the `super` keyword.",sZ="Flow does not support abstract classes.",aZ="Flow does not support template literal types.",oZ="A type annotation is required for the `this` parameter.",vZ="Arrow functions cannot have a `this` parameter; arrow functions automatically bind `this` when declared.",lZ="Constructors cannot have a `this` parameter; constructors don't bind `this` like other functions.",pZ="The `this` parameter cannot be optional.",kZ="The `this` parameter must be the first function parameter.",mZ="A trailing comma is not permitted after the rest element",hZ="Unexpected end of input",dZ="Explicit inexact syntax must come at the end of an object type",yZ="Opaque type aliases are not allowed in untyped mode",gZ="Unexpected proto modifier",_Z="Unexpected reserved word",bZ="Unexpected reserved type",wZ="Spreading a type is only allowed inside an object type",TZ="Unexpected static modifier",EZ="Unexpected `super` outside of a class method",SZ="`super()` is only valid in a class constructor",AZ="Type aliases are not allowed in untyped mode",IZ="Type annotations are not allowed in untyped mode",jZ="Type declarations are not allowed in untyped mode",PZ="Type exports are not allowed in untyped mode",NZ="Type imports are not allowed in untyped mode",OZ="Interfaces are not allowed in untyped mode",CZ="Unexpected variance sigil",DZ="Found a decorator in an unsupported position.",RZ="Invalid regular expression: missing /",FZ="Unexpected whitespace between `#` and identifier",LZ="`yield` is an invalid identifier in generators",MZ="Yield expression not allowed in formal parameter",UZ=[0,[11,"Duplicate export for `",[2,0,[12,96,0]]],"Duplicate export for `%s`"],qZ=[0,[11,"Private fields may only be declared once. `#",[2,0,[11,"` is declared more than once.",0]]],"Private fields may only be declared once. `#%s` is declared more than once."],BZ=[0,[11,"bigint enum members need to be initialized, e.g. `",[2,0,[11," = 1n,` in enum `",[2,0,[11,vs,0]]]]],"bigint enum members need to be initialized, e.g. `%s = 1n,` in enum `%s`."],XZ=[0,[11,"Boolean enum members need to be initialized. Use either `",[2,0,[11," = true,` or `",[2,0,[11," = false,` in enum `",[2,0,[11,vs,0]]]]]]],"Boolean enum members need to be initialized. Use either `%s = true,` or `%s = false,` in enum `%s`."],JZ=[0,[11,"Enum member names need to be unique, but the name `",[2,0,[11,"` has already been used before in enum `",[2,0,[11,vs,0]]]]],"Enum member names need to be unique, but the name `%s` has already been used before in enum `%s`."],KZ=[0,[11,ER,[2,0,[11,"` has inconsistent member initializers. Either use no initializers, or consistently use literals (either booleans, numbers, or strings) for all member initializers.",0]]],"Enum `%s` has inconsistent member initializers. Either use no initializers, or consistently use literals (either booleans, numbers, or strings) for all member initializers."],YZ="The `...` must come at the end of the enum body. Remove the trailing comma.",zZ="The `...` must come after all enum members. Move it to the end of the enum body.",VZ=[0,[11,"Use one of `boolean`, `number`, `string`, `symbol`, or `bigint` in enum `",[2,0,[11,vs,0]]],"Use one of `boolean`, `number`, `string`, `symbol`, or `bigint` in enum `%s`."],GZ=[0,[11,"Enum type `",[2,0,[11,"` is not valid. ",[2,0,0]]]],"Enum type `%s` is not valid. %s"],WZ=[0,[11,"Supplied enum type is not valid. ",[2,0,0]],"Supplied enum type is not valid. %s"],$Z=[0,[11,"Enum member names and initializers are separated with `=`. Replace `",[2,0,[11,":` with `",[2,0,[11," =`.",0]]]]],"Enum member names and initializers are separated with `=`. Replace `%s:` with `%s =`."],HZ=[0,[11,ER,[2,0,[11,"` has type `",[2,0,[11,"`, so the initializer of `",[2,0,[11,"` needs to be a ",[2,0,[11," literal.",0]]]]]]]]],"Enum `%s` has type `%s`, so the initializer of `%s` needs to be a %s literal."],QZ=[0,[11,"Symbol enum members cannot be initialized. Use `",[2,0,[11,",` in enum `",[2,0,[11,vs,0]]]]],"Symbol enum members cannot be initialized. Use `%s,` in enum `%s`."],ZZ=[0,[11,"The enum member initializer for `",[2,0,[11,"` needs to be a literal (either a boolean, number, or string) in enum `",[2,0,[11,vs,0]]]]],"The enum member initializer for `%s` needs to be a literal (either a boolean, number, or string) in enum `%s`."],x00=[0,[11,"Enum member names cannot start with lowercase 'a' through 'z'. Instead of using `",[2,0,[11,"`, consider using `",[2,0,[11,"`, in enum `",[2,0,[11,vs,0]]]]]]],"Enum member names cannot start with lowercase 'a' through 'z'. Instead of using `%s`, consider using `%s`, in enum `%s`."],r00=[0,[11,"Number enum members need to be initialized, e.g. `",[2,0,[11," = 1,` in enum `",[2,0,[11,vs,0]]]]],"Number enum members need to be initialized, e.g. `%s = 1,` in enum `%s`."],e00=[0,[11,"String enum members need to consistently either all use initializers, or use no initializers, in enum ",[2,0,[12,46,0]]],"String enum members need to consistently either all use initializers, or use no initializers, in enum %s."],t00=[0,[11,"Expected corresponding JSX closing tag for ",[2,0,0]],"Expected corresponding JSX closing tag for %s"],n00="immediately within another function.",u00="In strict mode code, functions can only be declared at top level or ",i00="inside a block, or as the body of an if statement.",f00="In non-strict mode code, functions can only be declared at top level, ",c00="static ",s00=H0,a00="methods",o00="fields",v00=XD,l00=[0,[11,"Classes may not have ",[2,0,[2,0,[11," named `",[2,0,[11,vs,0]]]]]],"Classes may not have %s%s named `%s`."],p00=$L,k00=H0,m00=[0,[11,"String params require local bindings using `as` renaming. You can use `'",[2,0,[11,"' as ",[2,0,[2,0,[11,": ` ",0]]]]]],"String params require local bindings using `as` renaming. You can use `'%s' as %s%s: ` "],h00="Remove the period.",d00="Indexed access uses bracket notation.",y00=[0,[11,"Invalid indexed access. ",[2,0,[11," Use the format `T[K]`.",0]]],"Invalid indexed access. %s Use the format `T[K]`."],g00=[0,[11,"Invalid flags supplied to RegExp constructor '",[2,0,[12,39,0]]],"Invalid flags supplied to RegExp constructor '%s'"],_00=[0,[11,"JSX element ",[2,0,[11," has no corresponding closing tag.",0]]],"JSX element %s has no corresponding closing tag."],b00=[0,[11,NR,[2,0,[11,"`. Parentheses are required to combine `??` with `&&` or `||` expressions.",0]]],"Unexpected token `%s`. Parentheses are required to combine `??` with `&&` or `||` expressions."],w00=[0,[2,0,[11," '",[2,0,[11,"' has already been declared",0]]]],"%s '%s' has already been declared"],T00=H0,E00=z3,S00=" You can try using JavaScript private fields by prepending `#` to the field name.",A00=_l,I00=" Fields and methods are public by default. You can simply omit the `public` keyword.",j00=U3,P00=[0,[11,"Flow does not support using `",[2,0,[11,"` in classes.",[2,0,0]]]],"Flow does not support using `%s` in classes.%s"],N00=[0,[11,"Private fields must be declared before they can be referenced. `#",[2,0,[11,"` has not been declared.",0]]],"Private fields must be declared before they can be referenced. `#%s` has not been declared."],O00=[0,[11,hL,[2,0,0]],"Unexpected %s"],C00=[0,[11,NR,[2,0,[11,"`. Did you mean `",[2,0,[11,"`?",0]]]]],"Unexpected token `%s`. Did you mean `%s`?"],D00=[0,[11,hL,[2,0,[11,", expected ",[2,0,0]]]],"Unexpected %s, expected %s"],R00=[0,[11,"Undefined label '",[2,0,[12,39,0]]],"Undefined label '%s'"],F00="Parse_error.Error",L00=[0,[0,36,37],[0,48,58],[0,65,91],[0,95,96],[0,97,Vt],[0,Wp,Ly],[0,PP,n9],[0,vj,tm],[0,P4,uE],[0,dv,Db],[0,$I,xl],[0,x2,706],[0,GR,722],[0,736,741],[0,748,749],[0,750,751],[0,768,885],[0,886,888],[0,890,894],[0,895,896],[0,902,907],[0,908,909],[0,910,930],[0,MM,1014],[0,1015,1154],[0,1155,1160],[0,1162,1328],[0,1329,1367],[0,1369,1370],[0,1376,1417],[0,1425,1470],[0,1471,1472],[0,1473,1475],[0,1476,1478],[0,1479,1480],[0,1488,1515],[0,1519,1523],[0,hR,1563],[0,1568,1642],[0,1646,1748],[0,1749,1757],[0,1759,1769],[0,1770,1789],[0,1791,1792],[0,1808,1867],[0,1869,1970],[0,1984,2038],[0,2042,2043],[0,2045,2046],[0,kj,2094],[0,2112,2140],[0,2144,2155],[0,2208,2229],[0,2230,2238],[0,2259,2274],[0,2275,2404],[0,2406,2416],[0,2417,2436],[0,2437,2445],[0,2447,2449],[0,2451,2473],[0,2474,2481],[0,2482,2483],[0,2486,2490],[0,2492,2501],[0,2503,2505],[0,2507,2511],[0,2519,2520],[0,2524,2526],[0,2527,2532],[0,2534,2546],[0,2556,2557],[0,2558,2559],[0,2561,2564],[0,2565,2571],[0,2575,2577],[0,2579,2601],[0,2602,2609],[0,2610,2612],[0,2613,2615],[0,2616,2618],[0,2620,2621],[0,2622,2627],[0,2631,2633],[0,2635,2638],[0,2641,2642],[0,2649,2653],[0,2654,2655],[0,2662,2678],[0,2689,2692],[0,2693,2702],[0,2703,2706],[0,2707,2729],[0,2730,2737],[0,2738,2740],[0,2741,2746],[0,2748,2758],[0,2759,2762],[0,2763,2766],[0,2768,2769],[0,2784,2788],[0,2790,2800],[0,2809,2816],[0,2817,2820],[0,2821,2829],[0,2831,2833],[0,2835,2857],[0,2858,2865],[0,2866,2868],[0,2869,2874],[0,2876,2885],[0,2887,2889],[0,2891,2894],[0,2902,2904],[0,2908,2910],[0,2911,2916],[0,2918,2928],[0,2929,2930],[0,2946,2948],[0,2949,2955],[0,2958,2961],[0,2962,2966],[0,2969,2971],[0,2972,2973],[0,2974,2976],[0,2979,2981],[0,2984,2987],[0,2990,3002],[0,3006,3011],[0,3014,3017],[0,3018,3022],[0,3024,3025],[0,3031,3032],[0,3046,3056],[0,3072,3085],[0,3086,3089],[0,3090,3113],[0,3114,3130],[0,3133,3141],[0,3142,3145],[0,3146,3150],[0,3157,3159],[0,3160,3163],[0,3168,3172],[0,3174,3184],[0,3200,3204],[0,3205,3213],[0,3214,3217],[0,3218,3241],[0,3242,3252],[0,3253,3258],[0,3260,3269],[0,3270,3273],[0,3274,3278],[0,3285,3287],[0,3294,3295],[0,3296,3300],[0,3302,3312],[0,3313,3315],[0,3328,3332],[0,3333,3341],[0,3342,3345],[0,3346,3397],[0,3398,3401],[0,3402,3407],[0,3412,3416],[0,3423,3428],[0,3430,3440],[0,3450,3456],[0,3458,3460],[0,3461,3479],[0,3482,3506],[0,3507,3516],[0,3517,3518],[0,3520,3527],[0,3530,3531],[0,3535,3541],[0,3542,3543],[0,3544,3552],[0,3558,3568],[0,3570,3572],[0,3585,3643],[0,3648,3663],[0,3664,3674],[0,3713,3715],[0,3716,3717],[0,3718,3723],[0,3724,3748],[0,3749,3750],[0,3751,3774],[0,3776,3781],[0,3782,3783],[0,3784,3790],[0,3792,3802],[0,3804,3808],[0,3840,3841],[0,3864,3866],[0,3872,3882],[0,3893,3894],[0,3895,3896],[0,3897,3898],[0,3902,3912],[0,3913,3949],[0,3953,3973],[0,3974,3992],[0,3993,4029],[0,4038,4039],[0,uL,4170],[0,4176,4254],[0,4256,4294],[0,4295,4296],[0,4301,4302],[0,4304,4347],[0,4348,4681],[0,4682,4686],[0,4688,4695],[0,4696,4697],[0,4698,4702],[0,4704,4745],[0,4746,4750],[0,4752,4785],[0,4786,4790],[0,4792,4799],[0,4800,4801],[0,4802,4806],[0,4808,4823],[0,4824,4881],[0,4882,4886],[0,4888,4955],[0,4957,4960],[0,4969,4978],[0,4992,5008],[0,5024,5110],[0,5112,5118],[0,5121,5741],[0,5743,xw],[0,5761,5787],[0,5792,5867],[0,5870,5881],[0,5888,5901],[0,5902,5909],[0,5920,5941],[0,5952,5972],[0,5984,5997],[0,5998,6001],[0,6002,6004],[0,6016,6100],[0,6103,6104],[0,6108,6110],[0,6112,6122],[0,6155,6158],[0,6160,6170],[0,6176,6265],[0,6272,6315],[0,6320,6390],[0,6400,6431],[0,6432,6444],[0,6448,6460],[0,6470,6510],[0,6512,6517],[0,6528,6572],[0,6576,6602],[0,6608,6619],[0,6656,6684],[0,6688,6751],[0,6752,6781],[0,6783,6794],[0,6800,6810],[0,6823,6824],[0,6832,6846],[0,6912,6988],[0,6992,7002],[0,7019,7028],[0,7040,7156],[0,7168,7224],[0,7232,7242],[0,7245,7294],[0,7296,7305],[0,7312,7355],[0,7357,7360],[0,7376,7379],[0,7380,7419],[0,7424,7674],[0,7675,7958],[0,7960,7966],[0,7968,8006],[0,8008,8014],[0,8016,8024],[0,8025,8026],[0,8027,8028],[0,8029,8030],[0,8031,8062],[0,8064,8117],[0,8118,8125],[0,8126,8127],[0,8130,8133],[0,8134,8141],[0,8144,8148],[0,8150,8156],[0,8160,8173],[0,8178,8181],[0,8182,8189],[0,XL,GF],[0,8255,8257],[0,8276,8277],[0,Yk,8306],[0,sm,8320],[0,8336,8349],[0,8400,8413],[0,8417,8418],[0,8421,8433],[0,Am,8451],[0,U8,8456],[0,8458,Fk],[0,fk,8470],[0,UM,8478],[0,Dm,d4],[0,yk,gk],[0,V4,H4],[0,8490,8506],[0,8508,8512],[0,8517,8522],[0,mk,8527],[0,8544,8585],[0,11264,11311],[0,11312,11359],[0,11360,11493],[0,11499,11508],[0,11520,Yp],[0,Kk,11560],[0,Kp,11566],[0,11568,11624],[0,L8,11632],[0,r8,11671],[0,11680,S4],[0,11688,Tk],[0,11696,Zp],[0,11704,Ok],[0,11712,Z8],[0,11720,z8],[0,11728,J4],[0,11736,11743],[0,11744,11776],[0,12293,12296],[0,12321,Jp],[0,12337,12342],[0,12344,12349],[0,12353,12439],[0,12441,G8],[0,12449,gm],[0,12540,12544],[0,12549,D8],[0,12593,12687],[0,12704,12731],[0,12784,12800],[0,13312,19894],[0,19968,40944],[0,40960,42125],[0,42192,42238],[0,42240,42509],[0,42512,42540],[0,42560,42608],[0,42612,rm],[0,42623,42738],[0,42775,42784],[0,42786,42889],[0,42891,42944],[0,42946,42951],[0,zk,43048],[0,43072,43124],[0,43136,43206],[0,43216,43226],[0,43232,43256],[0,K8,nm],[0,43261,43310],[0,43312,43348],[0,43360,43389],[0,43392,43457],[0,D4,43482],[0,43488,dm],[0,43520,43575],[0,43584,43598],[0,43600,43610],[0,43616,43639],[0,Ck,43715],[0,43739,43742],[0,43744,43760],[0,43762,43767],[0,43777,43783],[0,43785,43791],[0,43793,43799],[0,43808,s8],[0,43816,lk],[0,43824,l8],[0,43868,hk],[0,43888,44011],[0,44012,44014],[0,44016,44026],[0,44032,55204],[0,55216,55239],[0,55243,55292],[0,63744,64110],[0,64112,64218],[0,64256,64263],[0,64275,64280],[0,U4,Qk],[0,64298,ym],[0,64312,im],[0,t8,o4],[0,64320,C4],[0,64323,_8],[0,64326,64434],[0,64467,64830],[0,64848,64912],[0,64914,64968],[0,65008,65020],[0,65024,65040],[0,65056,65072],[0,65075,65077],[0,65101,65104],[0,65136,O4],[0,65142,65277],[0,65296,65306],[0,65313,65339],[0,65343,X8],[0,65345,65371],[0,65382,65471],[0,65474,65480],[0,65482,65488],[0,65490,65496],[0,65498,65501],[0,el,bk],[0,65549,Ak],[0,65576,g4],[0,65596,T8],[0,65599,65614],[0,65616,65630],[0,65664,65787],[0,65856,65909],[0,66045,66046],[0,66176,66205],[0,66208,66257],[0,66272,66273],[0,66304,66336],[0,66349,66379],[0,66384,66427],[0,66432,66462],[0,66464,66500],[0,66504,y8],[0,66513,66518],[0,66560,66718],[0,66720,66730],[0,66736,66772],[0,66776,66812],[0,66816,66856],[0,66864,66916],[0,67072,67383],[0,67392,67414],[0,67424,67432],[0,67584,67590],[0,hm,b8],[0,67594,H8],[0,67639,67641],[0,um,67645],[0,67647,67670],[0,67680,67703],[0,67712,67743],[0,67808,Im],[0,67828,67830],[0,67840,67862],[0,67872,67898],[0,67968,68024],[0,68030,68032],[0,Um,68100],[0,68101,68103],[0,68108,p4],[0,68117,Nm],[0,68121,68150],[0,68152,68155],[0,68159,68160],[0,68192,68221],[0,68224,68253],[0,68288,$p],[0,68297,68327],[0,68352,68406],[0,68416,68438],[0,68448,68467],[0,68480,68498],[0,68608,68681],[0,68736,68787],[0,68800,68851],[0,68864,68904],[0,68912,68922],[0,69376,69405],[0,dk,69416],[0,69424,69457],[0,69600,69623],[0,69632,69703],[0,69734,I4],[0,69759,69819],[0,69840,69865],[0,69872,69882],[0,69888,69941],[0,69942,69952],[0,Wk,_k],[0,69968,70004],[0,e4,70007],[0,70016,70085],[0,70089,70093],[0,70096,Qp],[0,Om,70109],[0,70144,om],[0,70163,70200],[0,70206,70207],[0,70272,Nk],[0,h8,k4],[0,70282,c8],[0,70287,i4],[0,70303,70313],[0,70320,70379],[0,70384,70394],[0,70400,Uk],[0,70405,70413],[0,70415,70417],[0,70419,qk],[0,70442,w4],[0,70450,Pm],[0,70453,70458],[0,70459,70469],[0,70471,70473],[0,70475,70478],[0,Cm,70481],[0,70487,70488],[0,70493,70500],[0,70502,70509],[0,70512,70517],[0,70656,70731],[0,70736,70746],[0,Q8,70752],[0,70784,N8],[0,A8,70856],[0,70864,70874],[0,71040,71094],[0,71096,71105],[0,71128,71134],[0,71168,71233],[0,xk,71237],[0,71248,71258],[0,71296,71353],[0,71360,71370],[0,71424,71451],[0,71453,71468],[0,71472,71482],[0,71680,71739],[0,71840,71914],[0,71935,71936],[0,72096,72104],[0,72106,72152],[0,72154,Rk],[0,Up,72165],[0,vm,72255],[0,72263,72264],[0,m8,72346],[0,pk,72350],[0,72384,72441],[0,72704,o8],[0,72714,72759],[0,72760,72769],[0,72784,72794],[0,72818,72848],[0,72850,72872],[0,72873,72887],[0,72960,r4],[0,72968,P8],[0,72971,73015],[0,73018,73019],[0,73020,73022],[0,73023,73032],[0,73040,73050],[0,73056,mm],[0,73063,Bk],[0,73066,73103],[0,73104,73106],[0,73107,73113],[0,73120,73130],[0,73440,73463],[0,73728,74650],[0,74752,74863],[0,74880,75076],[0,77824,78895],[0,82944,83527],[0,92160,92729],[0,92736,92767],[0,92768,92778],[0,92880,92910],[0,92912,92917],[0,92928,92983],[0,92992,92996],[0,93008,93018],[0,93027,93048],[0,93053,93072],[0,93760,93824],[0,93952,94027],[0,Vk,94088],[0,94095,94112],[0,94176,ck],[0,X4,94180],[0,94208,100344],[0,100352,101107],[0,110592,110879],[0,110928,110931],[0,110948,110952],[0,110960,111356],[0,113664,113771],[0,113776,113789],[0,113792,113801],[0,113808,113818],[0,113821,113823],[0,119141,119146],[0,119149,119155],[0,119163,119171],[0,119173,119180],[0,119210,119214],[0,119362,119365],[0,119808,Xp],[0,119894,Xk],[0,119966,119968],[0,Mm,119971],[0,119973,119975],[0,119977,tk],[0,119982,q4],[0,B8,j8],[0,119997,k8],[0,120005,L4],[0,120071,120075],[0,120077,nk],[0,120086,g8],[0,120094,vk],[0,120123,W4],[0,120128,am],[0,K4,120135],[0,120138,z4],[0,120146,120486],[0,120488,_m],[0,120514,jk],[0,120540,a8],[0,120572,Gp],[0,120598,n4],[0,120630,pm],[0,120656,V8],[0,120688,Rm],[0,120714,u8],[0,120746,Sm],[0,120772,120780],[0,120782,120832],[0,121344,121399],[0,121403,121453],[0,121461,121462],[0,121476,121477],[0,121499,121504],[0,121505,121520],[0,122880,122887],[0,122888,122905],[0,122907,122914],[0,122915,122917],[0,122918,122923],[0,123136,123181],[0,123184,123198],[0,123200,123210],[0,j4,123215],[0,123584,123642],[0,124928,125125],[0,125136,125143],[0,125184,125260],[0,125264,125274],[0,126464,R8],[0,126469,Tm],[0,126497,W8],[0,G4,126501],[0,u4,E8],[0,126505,c4],[0,126516,Q4],[0,qp,e8],[0,Zk,126524],[0,J8,126531],[0,Y8,N4],[0,I8,w8],[0,bm,q8],[0,126541,Dk],[0,126545,T4],[0,$x,126549],[0,S8,wm],[0,b4,kk],[0,uk,Fm],[0,Vp,fm],[0,t4,Em],[0,126561,Z4],[0,x4,126565],[0,126567,em],[0,126572,Hp],[0,126580,wk],[0,126585,R4],[0,v4,Lm],[0,126592,n8],[0,126603,126620],[0,126625,Jk],[0,126629,Hk],[0,126635,126652],[0,131072,173783],[0,173824,177973],[0,177984,178206],[0,178208,183970],[0,183984,191457],[0,194560,195102],[0,917760,918e3]],M00=[0,1,0],U00=[0,0,[0,1,0],[0,1,0]],q00=vL,B00="end of input",X00=yl,J00="template literal part",K00=yl,Y00=tL,z00=vL,V00=yl,G00=yv,W00=yl,$00=vo,H00=yl,Q00=Rv,Z00="an",xx0=dt,rx0=bf,ex0=[0,[11,"token `",[2,0,[12,96,0]]],"token `%s`"],tx0="{",nx0=$k,ux0="{|",ix0="|}",fx0=LD,cx0=Yw,sx0="[",ax0="]",ox0=Ib,vx0=JD,lx0=Mf,px0="=>",kx0="...",mx0=yF,hx0=XD,dx0=pv,yx0=ik,gx0=aa,_x0=G3,bx0=Se,wx0=Pe,Tx0=uo,Ex0=je,Sx0=lm,Ax0=al,Ix0=Y4,jx0=y4,Px0=ul,Nx0=mv,Ox0=oo,Cx0=ls,Dx0=as,Rx0=Ee,Fx0=$4,Lx0=x8,Mx0=_e,Ux0=io,qx0=xm,Bx0=F4,Xx0=Sk,Jx0=K3,Kx0=hc,Yx0=Ae,zx0=B4,Vx0=no,Gx0=nl,Wx0=ss,$x0=ps,Hx0=sl,Qx0=ok,Zx0=R1,xr0=jv,rr0=lo,er0=W1,tr0=ek,nr0=_l,ur0=z3,ir0=U3,fr0=M1,cr0=we,sr0=H3,ar0=qu,or0=U9,vr0=W9,lr0=oa,pr0=_o,kr0="%checks",mr0=yM,hr0=_R,dr0=NL,yr0=HM,gr0=PF,_r0=aR,br0=RD,wr0=iU,Tr0=uF,Er0=lR,Sr0=lU,Ar0=gR,Ir0=YF,jr0=nU,Pr0=QL,Nr0=Ug,Or0="?.",Cr0=m5,Dr0=$L,Rr0=Ao,Fr0=pF,Lr0=cU,Mr0=kU,Ur0=Ik,qr0=Mp,Br0=fR,Xr0=YR,Jr0=uR,Kr0=JR,Yr0=AR,zr0=EL,Vr0=zb,Gr0=W3,Wr0=xR,$r0=yR,Hr0=UD,Qr0=ys,Zr0=rt,x20=G1,r20=_M,e20=MR,t20=zR,n20=UR,u20=iM,i20=DM,f20=SF,c20=H0,s20=p8,a20=h4,o20=ie,v20=yv,l20=vo,p20=Rv,k20=ps,m20=ox,h20=F8,d20=Mk,y20=cm,g20=Lk,_20=ko,b20=DF,w20=ll,T20=hv,E20=ov,S20=OL,A20=rF,I20=M3,j20=M3,P20=fU,N20=M3,O20=M3,C20=$k,D20=$k,R20=fU,F20=G1,L20=G1,M20=$3,U20=C8,q20="T_LCURLY",B20="T_RCURLY",X20="T_LCURLYBAR",J20="T_RCURLYBAR",K20="T_LPAREN",Y20="T_RPAREN",z20="T_LBRACKET",V20="T_RBRACKET",G20="T_SEMICOLON",W20="T_COMMA",$20="T_PERIOD",H20="T_ARROW",Q20="T_ELLIPSIS",Z20="T_AT",x10="T_POUND",r10="T_FUNCTION",e10="T_IF",t10="T_IN",n10="T_INSTANCEOF",u10="T_RETURN",i10="T_SWITCH",f10="T_THIS",c10="T_THROW",s10="T_TRY",a10="T_VAR",o10="T_WHILE",v10="T_WITH",l10="T_CONST",p10="T_LET",k10="T_NULL",m10="T_FALSE",h10="T_TRUE",d10="T_BREAK",y10="T_CASE",g10="T_CATCH",_10="T_CONTINUE",b10="T_DEFAULT",w10="T_DO",T10="T_FINALLY",E10="T_FOR",S10="T_CLASS",A10="T_EXTENDS",I10="T_STATIC",j10="T_ELSE",P10="T_NEW",N10="T_DELETE",O10="T_TYPEOF",C10="T_VOID",D10="T_ENUM",R10="T_EXPORT",F10="T_IMPORT",L10="T_SUPER",M10="T_IMPLEMENTS",U10="T_INTERFACE",q10="T_PACKAGE",B10="T_PRIVATE",X10="T_PROTECTED",J10="T_PUBLIC",K10="T_YIELD",Y10="T_DEBUGGER",z10="T_DECLARE",V10="T_TYPE",G10="T_OPAQUE",W10="T_OF",$10="T_ASYNC",H10="T_AWAIT",Q10="T_CHECKS",Z10="T_RSHIFT3_ASSIGN",xe0="T_RSHIFT_ASSIGN",re0="T_LSHIFT_ASSIGN",ee0="T_BIT_XOR_ASSIGN",te0="T_BIT_OR_ASSIGN",ne0="T_BIT_AND_ASSIGN",ue0="T_MOD_ASSIGN",ie0="T_DIV_ASSIGN",fe0="T_MULT_ASSIGN",ce0="T_EXP_ASSIGN",se0="T_MINUS_ASSIGN",ae0="T_PLUS_ASSIGN",oe0="T_NULLISH_ASSIGN",ve0="T_AND_ASSIGN",le0="T_OR_ASSIGN",pe0="T_ASSIGN",ke0="T_PLING_PERIOD",me0="T_PLING_PLING",he0="T_PLING",de0="T_COLON",ye0="T_OR",ge0="T_AND",_e0="T_BIT_OR",be0="T_BIT_XOR",we0="T_BIT_AND",Te0="T_EQUAL",Ee0="T_NOT_EQUAL",Se0="T_STRICT_EQUAL",Ae0="T_STRICT_NOT_EQUAL",Ie0="T_LESS_THAN_EQUAL",je0="T_GREATER_THAN_EQUAL",Pe0="T_LESS_THAN",Ne0="T_GREATER_THAN",Oe0="T_LSHIFT",Ce0="T_RSHIFT",De0="T_RSHIFT3",Re0="T_PLUS",Fe0="T_MINUS",Le0="T_DIV",Me0="T_MULT",Ue0="T_EXP",qe0="T_MOD",Be0="T_NOT",Xe0="T_BIT_NOT",Je0="T_INCR",Ke0="T_DECR",Ye0="T_EOF",ze0="T_ANY_TYPE",Ve0="T_MIXED_TYPE",Ge0="T_EMPTY_TYPE",We0="T_NUMBER_TYPE",$e0="T_BIGINT_TYPE",He0="T_STRING_TYPE",Qe0="T_VOID_TYPE",Ze0="T_SYMBOL_TYPE",xt0="T_UNKNOWN_TYPE",rt0="T_NEVER_TYPE",et0="T_UNDEFINED_TYPE",tt0="T_KEYOF",nt0="T_READONLY",ut0="T_INFER",it0="T_IS",ft0="T_ASSERTS",ct0="T_IMPLIES",st0=VR,at0=VR,ot0="T_NUMBER",vt0="T_BIGINT",lt0="T_STRING",pt0="T_TEMPLATE_PART",kt0="T_IDENTIFIER",mt0="T_REGEXP",ht0="T_INTERPRETER",dt0="T_ERROR",yt0="T_JSX_IDENTIFIER",gt0=tU,_t0=tU,bt0="T_BOOLEAN_TYPE",wt0="T_NUMBER_SINGLETON_TYPE",Tt0="T_BIGINT_SINGLETON_TYPE",Et0=[0,ZF,Fw,9],St0=[0,ZF,Qb,9],At0=aF,It0="*/",jt0=aF,Pt0="unreachable line_comment",Nt0="unreachable string_quote",Ot0="\\",Ct0="unreachable template_part",Dt0=`\r +`,Rt0=gb,Ft0="unreachable regexp_class",Lt0=AM,Mt0="unreachable regexp_body",Ut0=H0,qt0=H0,Bt0=H0,Xt0=H0,Jt0=gM,Kt0="{'>'}",Yt0=W3,zt0="{'}'}",Vt0=$k,Gt0=fa,Wt0=Ib,$t0=Mp,Ht0=gM,Qt0=fa,Zt0=Ib,xn0=Mp,rn0="unreachable type_token wholenumber",en0="unreachable type_token wholebigint",tn0="unreachable type_token floatbigint",nn0="unreachable type_token scinumber",un0="unreachable type_token scibigint",in0="unreachable type_token hexnumber",fn0="unreachable type_token hexbigint",cn0="unreachable type_token legacyoctnumber",sn0="unreachable type_token octnumber",an0="unreachable type_token octbigint",on0="unreachable type_token binnumber",vn0="unreachable type_token bigbigint",ln0="unreachable type_token",pn0=EM,kn0=[11,1],mn0=[11,0],hn0="unreachable template_tail",dn0=H0,yn0=H0,gn0="unreachable jsx_child",_n0="unreachable jsx_tag",bn0=[0,pR],wn0=[0,913],Tn0=[0,dv],En0=[0,T9],Sn0=[0,KR],An0=[0,ZM],In0=[0,8747],jn0=[0,hM],Pn0=[0,916],Nn0=[0,8225],On0=[0,935],Cn0=[0,pL],Dn0=[0,914],Rn0=[0,RL],Fn0=[0,XR],Ln0=[0,qM],Mn0=[0,915],Un0=[0,$M],qn0=[0,919],Bn0=[0,917],Xn0=[0,AP],Jn0=[0,sM],Kn0=[0,jR],Yn0=[0,924],zn0=[0,923],Vn0=[0,922],Gn0=[0,sU],Wn0=[0,921],$n0=[0,$R],Hn0=[0,Qb],Qn0=[0,KD],Zn0=[0,$I],x70=[0,927],r70=[0,937],e70=[0,rU],t70=[0,eL],n70=[0,k_],u70=[0,338],i70=[0,352],f70=[0,929],c70=[0,936],s70=[0,8243],a70=[0,928],o70=[0,934],v70=[0,tM],l70=[0,MD],p70=[0,933],k70=[0,LL],m70=[0,fM],h70=[0,BM],d70=[0,920],y70=[0,932],g70=[0,WD],_70=[0,VF],b70=[0,UF],w70=[0,IL],T70=[0,918],E70=[0,376],S70=[0,HF],A70=[0,926],I70=[0,PL],j70=[0,MM],P70=[0,925],N70=[0,39],O70=[0,8736],C70=[0,8743],D70=[0,38],R70=[0,945],F70=[0,8501],L70=[0,Tv],M70=[0,8226],U70=[0,RF],q70=[0,946],B70=[0,8222],X70=[0,jL],J70=[0,eU],K70=[0,8776],Y70=[0,bM],z70=[0,8773],V70=[0,9827],G70=[0,GR],W70=[0,967],$70=[0,KF],H70=[0,tm],Q70=[0,cL],Z70=[0,Eb],xu0=[0,8595],ru0=[0,8224],eu0=[0,8659],tu0=[0,gF],nu0=[0,8746],uu0=[0,8629],iu0=[0,v8],fu0=[0,8745],cu0=[0,8195],su0=[0,8709],au0=[0,oU],ou0=[0,pU],vu0=[0,wF],lu0=[0,xl],pu0=[0,9830],ku0=[0,8707],mu0=[0,8364],hu0=[0,OM],du0=[0,po],yu0=[0,951],gu0=[0,8801],_u0=[0,949],bu0=[0,8194],wu0=[0,8805],Tu0=[0,947],Eu0=[0,8260],Su0=[0,bR],Au0=[0,_L],Iu0=[0,Fw],ju0=[0,8704],Pu0=[0,oF],Nu0=[0,UL],Ou0=[0,8230],Cu0=[0,9829],Du0=[0,8596],Ru0=[0,8660],Fu0=[0,62],Lu0=[0,402],Mu0=[0,948],Uu0=[0,OF],qu0=[0,Gk],Bu0=[0,8712],Xu0=[0,fL],Ju0=[0,953],Ku0=[0,8734],Yu0=[0,8465],zu0=[0,YM],Vu0=[0,8220],Gu0=[0,8968],Wu0=[0,8592],$u0=[0,Ly],Hu0=[0,10216],Qu0=[0,955],Zu0=[0,8656],xi0=[0,954],ri0=[0,60],ei0=[0,8216],ti0=[0,8249],ni0=[0,GF],ui0=[0,9674],ii0=[0,8727],fi0=[0,8970],ci0=[0,WF],si0=[0,8711],ai0=[0,956],oi0=[0,8722],vi0=[0,vj],li0=[0,PP],pi0=[0,8212],ki0=[0,nR],mi0=[0,8804],hi0=[0,957],di0=[0,FD],yi0=[0,8836],gi0=[0,8713],_i0=[0,LF],bi0=[0,8715],wi0=[0,8800],Ti0=[0,8853],Ei0=[0,959],Si0=[0,969],Ai0=[0,8254],Ii0=[0,dM],ji0=[0,339],Pi0=[0,NI],Ni0=[0,YL],Oi0=[0,n9],Ci0=[0,Pk],Di0=[0,8855],Ri0=[0,MF],Fi0=[0,x2],Li0=[0,P4],Mi0=[0,Wp],Ui0=[0,RM],qi0=[0,wR],Bi0=[0,982],Xi0=[0,960],Ji0=[0,966],Ki0=[0,8869],Yi0=[0,8240],zi0=[0,8706],Vi0=[0,8744],Gi0=[0,8211],Wi0=[0,10217],$i0=[0,8730],Hi0=[0,8658],Qi0=[0,34],Zi0=[0,968],xf0=[0,8733],rf0=[0,8719],ef0=[0,961],tf0=[0,8971],nf0=[0,uU],uf0=[0,8476],if0=[0,8221],ff0=[0,8969],cf0=[0,8594],sf0=[0,uE],af0=[0,FL],of0=[0,eM],vf0=[0,8901],lf0=[0,353],pf0=[0,8218],kf0=[0,8217],mf0=[0,8250],hf0=[0,8835],df0=[0,8721],yf0=[0,8838],gf0=[0,8834],_f0=[0,9824],bf0=[0,8764],wf0=[0,962],Tf0=[0,963],Ef0=[0,8207],Sf0=[0,952],Af0=[0,8756],If0=[0,964],jf0=[0,ak],Pf0=[0,8839],Nf0=[0,qD],Of0=[0,fI],Cf0=[0,Mv],Df0=[0,8657],Rf0=[0,8482],Ff0=[0,Db],Lf0=[0,732],Mf0=[0,Pv],Uf0=[0,8201],qf0=[0,977],Bf0=[0,UM],Xf0=[0,go],Jf0=[0,965],Kf0=[0,978],Yf0=[0,Mb],zf0=[0,vy],Vf0=[0,bL],Gf0=[0,XL],Wf0=[0,8205],$f0=[0,950],Hf0=[0,m4],Qf0=[0,oj],Zf0=[0,i8],xc0=[0,958],rc0=[0,8593],ec0=[0,tF],tc0=[0,8242],nc0=[0,pT],uc0="unreachable regexp",ic0="unreachable token wholenumber",fc0="unreachable token wholebigint",cc0="unreachable token floatbigint",sc0="unreachable token scinumber",ac0="unreachable token scibigint",oc0="unreachable token hexnumber",vc0="unreachable token hexbigint",lc0="unreachable token legacyoctnumber",pc0="unreachable token legacynonoctnumber",kc0="unreachable token octnumber",mc0="unreachable token octbigint",hc0="unreachable token bignumber",dc0="unreachable token bigint",yc0="unreachable token",gc0=EM,_c0=[7,"#!"],bc0="expected ?",wc0="unreachable string_escape",Tc0=$1,Ec0=X3,Sc0=X3,Ac0=$1,Ic0=QT,jc0=ZL,Pc0="n",Nc0="r",Oc0="t",Cc0=BR,Dc0=X3,Rc0=fa,Fc0=fa,Lc0="unreachable id_char",Mc0=fa,Uc0=fa,qc0=X3,Bc0=OR,Xc0=NF,Jc0=uw,Kc0=[24,"token ILLEGAL"],Yc0=[0,[11,"the identifier `",[2,0,[12,96,0]]],"the identifier `%s`"],zc0=[0,1],Vc0=[0,1],Gc0=sF,Wc0=sF,$c0=[0,[11,"an identifier. When exporting a ",[2,0,[11," as a named export, you must specify a ",[2,0,[11," name. Did you mean `export default ",[2,0,[11," ...`?",0]]]]]]],"an identifier. When exporting a %s as a named export, you must specify a %s name. Did you mean `export default %s ...`?"],Hc0=l4,Qc0="Peeking current location when not available",Zc0=[0,"src/parser/parser_env.ml",351,9],xs0="Internal Error: Tried to add_declared_private with outside of class scope.",rs0="Internal Error: `exit_class` called before a matching `enter_class`",es0=H0,ts0=[0,0,0],ns0=[0,0,0],us0="Parser_env.Try.Rollback",is0=H0,fs0=H0,cs0=[0,M1,Xu,Hi,iF,EF,gf,L1,oi,jc,Mu,A7,On,lc,ju,Hu,h7,n7,N7,If,Nf,si,d7,bn,Zu,bc,e7,gc,xi,Af,ii,Pn,En,Jf,nu,fu,Gi,Ac,je,cf,ai,kc,xf,df,P7,au,Pe,Li,x7,Ai,Ei,oc,a7,Pu,ec,Se,Gn,o7,Pi,Z7,ku,z7,tc,Ie,G7,rc,_f,eu,Sc,Tf,M7,Rf,Wf,lu,di,Wn,Jn,yu,S7,i7,ac,xc,y7,ou,dc,$t,af,Iu,Rn,Lf,D7,$u,Bf,Ju,nf,Ku,Ln,_c,Ki,Tc,ji,q7,jf,yf,ki,s7,tf,T7,pc,Tu,mc,yc,Xn,Du,nc,mu,Vu,Bn,Er,Fi,X7,_n,v7,li,Tn,du,m7,Uf,Oi,Cf,Df,An,F7,qn,l7,zu,wc,Bu,ru,rf,Fn,Yf,vc,Au,gi,dn,H7,L7,Oc,K7,bi,wf,Nn,Lu,W1,c7,Ef,V7,$i,Kn,bu,B7,ti,R1,t7,Un,r7,dt,su,W7,ni,Q7,Si,Ec,ui,gn,Qi,Uu,kf,Ru,Fu,p7,wn,Zn,zf,yn,O7,Xf,Ou,Y7,iu,hu,mi,U7,I7,ef,hf,zn,w7,In,Cu,ri,V2,_7,Sf,Vn,ff,jn,Hn,Xi,gu,vu,Hf,fc,qi,yi,pu,Mn,uu,Ri,zi,Cn,hi,ie,vi,sc,sf,Kf,Vi,Wi,qf,wu,mf,Qn,_i,uc,Zi,_u,we,_e,Ci,Zf,Gf,Sn,Of,Ji,Qu,ic,Mi,Nu,b7,Pc,Yn,J7,Ii,Ff,aL,Gu,uM,HR,fi,Ui,ei,cu,E7,Ic,Di,wi,tu,g7,Yi,Dn,cc,Nc,Wu,u7,Pf,Bi,C7,f7,Ee,Qf,Eu,Bt,pf,Ti,k7,Vf,xu,pi,j7,Su,vf,$n,Yu,lf,uf],ss0=[0,M1,Xu,Hi,gf,L1,oi,jc,Mu,A7,On,lc,ju,Hu,h7,n7,N7,If,Nf,si,d7,bn,Zu,bc,e7,gc,xi,Af,ii,Pn,En,Jf,nu,fu,Gi,Ac,je,cf,ai,kc,xf,df,P7,au,Pe,Li,x7,Ai,Ei,oc,a7,Pu,ec,Se,Gn,o7,Pi,Z7,ku,z7,tc,Ie,G7,rc,_f,eu,Sc,Tf,M7,Rf,Wf,lu,di,Wn,Jn,yu,S7,i7,ac,xc,y7,ou,dc,$t,af,Iu,Rn,Lf,D7,$u,Bf,Ju,nf,Ku,Ln,_c,Ki,Tc,ji,q7,jf,yf,ki,s7,tf,T7,pc,Tu,mc,yc,Xn,Du,nc,mu,Vu,Bn,Er,Fi,X7,_n,v7,li,Tn,du,m7,Uf,Oi,Cf,Df,An,F7,qn,l7,zu,wc,Bu,ru,rf,Fn,Yf,vc,Au,gi,dn,H7,L7,Oc,K7,bi,wf,Nn,Lu,W1,c7,Ef,V7,$i,Kn,bu,B7,ti,R1,t7,Un,r7,dt,su,W7,ni,Q7,Si,Ec,ui,gn,Qi,Uu,kf,Ru,Fu,p7,wn,Zn,zf,yn,O7,Xf,Ou,Y7,iu,hu,mi,U7,I7,ef,hf,zn,w7,In,Cu,ri,V2,_7,Sf,Vn,ff,jn,Hn,Xi,gu,vu,Hf,fc,qi,yi,pu,Mn,uu,Ri,zi,Cn,hi,ie,vi,sc,sf,Kf,Vi,Wi,qf,wu,mf,Qn,_i,uc,Zi,_u,we,_e,Ci,Zf,Gf,Sn,Of,Ji,Qu,ic,Mi,Nu,b7,Pc,Yn,J7,Ii,Ff,Gu,fi,Ui,ei,cu,E7,Ic,Di,wi,tu,g7,Yi,Dn,cc,Nc,Wu,u7,Pf,Bi,C7,f7,Ee,Qf,Eu,Bt,pf,Ti,k7,Vf,xu,pi,j7,Su,vf,$n,Yu,lf,uf],as0=[0,oc,dn,Ru,su,gn,f7,mc,jf,zu,Nn,Eu,gc,Bf,Pe,D7,Sf,Yi,fu,Ki,Yf,Xn,c7,Au,Ri,yi,Xu,i7,Q7,iu,Jn,Uf,Vi,ic,ni,uu,mu,dt,gf,hf,Wf,mf,Bi,Fu,Pf,rf,gu,G7,Ec,hu,au,ki,Un,Ai,$i,zi,m7,nc,wi,Ui,af,uf,Sc,Yn,Zu,q7,_f,F7,E7,Ju,Ie,_c,Qi,Iu,Vu,wc,Fn,W7,v7,Zf,Af,fc,qn,li,kf,Rf,$n,qf,Hn,Fi,Z7,dc,Yu,hi,C7,ec,L1,rc,uc,N7,o7,t7,k7,Y7,Ac,Oc,g7,T7,P7,ie,I7,xi,M1,Tn,Gi,_i,Tf,ju,y7,Zi,ku,Vf,lc,fi,Qn,Tu,Mu,vc,j7,En,wf,pu,In,$u,Vn,du,xc,zn,Nf,Pn,J7,oi,Jf,a7,If,x7,On,Ic,Ef,mi,ei,_n,Uu,Ii,A7,Gu,pc,Cf,Mi,xu,X7,Nc,tu,b7,ac,Df,Pc,Er,R1,Se,n7,si,Li,S7,je,we,yc,r7,Lf,ri,gi,$t,Qf,zf,Mn,V7,cu,_7,p7,H7,ui,h7,qi,tc,Xf,B7,Hf,jn,Of,tf,Pu,yf,Kn,Ku,di,ii,ji,eu,Ln,d7,Wi,Wu,wu,pf,K7,df,Cn,nu,Si,z7,ti,Tc,cc,s7,ru,Di,Lu,vi,e7,lf,jc,sc,u7,bc,sf,Bu,L7,Gf,Oi,Wn,Du,bi,w7,An,bn,kc,pi,Ji,yu,Su,Ti,V2,ou,Ff,Cu,yn,O7,Ei,_e,wn,Nu,M7,Xi,Kf,ai,xf,Ou,ff,Hu,U7,Rn,Bt,bu,Dn,l7,nf,Zn,_u,Gn,vu,Ee,vf,W1,Ci,Hi,Qu,Pi,ef,Sn,lu,cf,Bn],os0=[0,oc,dn,Ru,su,gn,f7,mc,jf,zu,Nn,Eu,gc,Bf,Pe,D7,Sf,Yi,fu,Ki,Yf,Xn,c7,Au,Ri,yi,Xu,i7,Q7,iu,Jn,Uf,Vi,ic,ni,uu,mu,dt,gf,EF,hf,Wf,mf,Bi,Fu,Pf,rf,gu,G7,Ec,hu,au,ki,Un,Ai,$i,zi,m7,nc,wi,Ui,af,uf,Sc,Yn,uM,Zu,q7,_f,F7,E7,Ju,Ie,_c,Qi,Iu,Vu,wc,Fn,W7,v7,Zf,Af,fc,qn,li,kf,Rf,$n,qf,Hn,Fi,Z7,dc,Yu,hi,C7,ec,L1,rc,uc,N7,o7,t7,k7,Y7,Ac,Oc,g7,T7,P7,ie,I7,xi,M1,Tn,Gi,_i,Tf,ju,y7,Zi,ku,Vf,lc,fi,Qn,Tu,Mu,vc,j7,En,wf,pu,In,$u,Vn,du,xc,zn,Nf,Pn,J7,oi,Jf,a7,If,x7,On,Ic,Ef,mi,ei,_n,Uu,Ii,A7,Gu,pc,Cf,Mi,xu,X7,Nc,tu,b7,ac,Df,Pc,Er,R1,Se,n7,si,Li,S7,je,we,yc,r7,Lf,ri,gi,$t,Qf,zf,Mn,V7,cu,_7,p7,H7,ui,h7,qi,tc,Xf,B7,Hf,jn,Of,tf,Pu,yf,Kn,Ku,di,ii,ji,eu,Ln,d7,Wi,Wu,wu,pf,K7,HR,df,Cn,nu,Si,z7,ti,Tc,cc,s7,ru,Di,Lu,vi,e7,aL,lf,jc,sc,u7,bc,iF,sf,Bu,L7,Gf,Oi,Wn,Du,bi,w7,An,bn,kc,pi,Ji,yu,Su,Ti,V2,ou,Ff,Cu,yn,O7,Ei,_e,wn,Nu,M7,Xi,Kf,ai,xf,Ou,ff,Hu,U7,Rn,Bt,bu,Dn,l7,nf,Zn,_u,Gn,vu,Ee,vf,W1,Ci,Hi,Qu,Pi,ef,Sn,lu,cf,Bn],vs0=pv,ls0=ik,ps0=aa,ks0=G3,ms0=Se,hs0=Pe,ds0=uo,ys0=je,gs0=lm,_s0=al,bs0=Y4,ws0=y4,Ts0=ul,Es0=mv,Ss0=oo,As0=ls,Is0=as,js0=Ee,Ps0=$4,Ns0=x8,Os0=_e,Cs0=io,Ds0=xm,Rs0=F4,Fs0=Sk,Ls0=K3,Ms0=hc,Us0=Ae,qs0=B4,Bs0=no,Xs0=nl,Js0=ss,Ks0=ps,Ys0=sl,zs0=ok,Vs0=R1,Gs0=jv,Ws0=lo,$s0=W1,Hs0=ek,Qs0=_l,Zs0=z3,xa0=U3,ra0=M1,ea0=we,ta0=H3,na0=qu,ua0=U9,ia0=W9,fa0=oa,ca0=_o,sa0=p8,aa0=h4,oa0=ie,va0=yv,la0=vo,pa0=Rv,ka0=ps,ma0=ox,ha0=F8,da0=Mk,ya0=cm,ga0=Lk,_a0=ko,ba0=ll,wa0=hv,Ta0=ov,Ea0=$3,Sa0=C8,Aa0=[0,l4],Ia0=H0,ja0=[0,1],Pa0=[0,_v,1429,6],Na0=[0,_v,1432,6],Oa0=[0,_v,1535,8],Ca0=[0,1],Da0=[0,_v,hR,8],Ra0="Can not have both `static` and `proto`",Fa0=Ae,La0=Rj,Ma0=[0,0,0,0],Ua0=[0,0],qa0=[0,[0,0,0,0,0]],Ba0="You should only call render_type after making sure the next token is a renders variant",Xa0=[0,"the end of a tuple type (no trailing comma is allowed in inexact tuple type)."],Ja0=ll,Ka0=hv,Ya0=ov,za0=[0,"a number literal type"],Va0=[0,0],Ga0=ta,Wa0=[0,0],$a0=[0,"a type"],Ha0=[0,0],Qa0=[0,0],Za0=[17,1],xo0=[17,0],ro0=[0,_v,k_,15],eo0=[0,_v,fI,15],to0=rt,no0=rt,uo0=M8,io0=pl,fo0=[0,[11,"Failure while looking up ",[2,0,[11,". Index: ",[4,0,0,0,[11,". Length: ",[4,0,0,0,[12,46,0]]]]]]],"Failure while looking up %s. Index: %d. Length: %d."],co0=[0,0,0,0],so0="Offset_utils.Offset_lookup_failed",ao0=l2,oo0=CF,vo0=pl,lo0=M8,po0=AL,ko0=pl,mo0=M8,ho0=P5,do0=jE,yo0="normal",go0=qu,_o0="jsxTag",bo0="jsxChild",wo0="template",To0=tL,Eo0="context",So0=qu,Ao0=[6,0],Io0=[0,0],jo0=[0,1],Po0=[0,4],No0=[0,2],Oo0=[0,3],Co0=[0,0],Do0=rt,Ro0=[0,0,0,0,0,0],Fo0=[0,1],Lo0=[0,Wy,1773,21],Mo0=[0,"a declaration, statement or export specifiers"],Uo0=[0,81],qo0=fl,Bo0=[0,H0,H0,0],Xo0=[0,ZD],Jo0="exports",Ko0=Xw,Yo0=aM,zo0=[0,81],Vo0=ta,Go0=[0,70],Wo0=[0,0],$o0=[0,1],Ho0=[0,"the keyword `as`"],Qo0=[0,30],Zo0=[0,30],xv0=[0,0],rv0=[0,1],ev0=[0,ZD],tv0=[0,"the keyword `from`"],nv0=[0,H0,H0,0],uv0=[0,GL],iv0="Label",fv0=[0,GL],cv0=[0,0,0],sv0=[0,40],av0=[0,Wy,371,22],ov0=[0,39],vv0=[0,Wy,390,22],lv0=[0,0],pv0="the token `;`",kv0=[0,0],mv0=[0,0],hv0=DR,dv0=[0,l4],yv0=DR,gv0=[24,dt],_v0=ta,bv0=[0,70],wv0=[0,H0,0],Tv0=Jt,Ev0=[0,70],Sv0=[0,70],Av0=pv,Iv0=[0,H0,0],jv0=[0,0,0],Pv0=[0,0,0],Nv0=[0,78],Ov0=G1,Cv0=G1,Dv0=[0,"a regular expression"],Rv0=H0,Fv0=H0,Lv0=H0,Mv0=[0,"src/parser/expression_parser.ml",1365,17],Uv0=[0,"a template literal part"],qv0=[0,[0,H0,H0],1],Bv0=[0,0],Xv0=X3,Jv0=OR,Kv0=uw,Yv0=uw,zv0=NF,Vv0=[0,70],Gv0=[0,1],Wv0=[0,1],$v0=[0,1],Hv0=[0,1],Qv0=[0,1],Zv0=Sv,x30=no,r30=[0,"the identifier `target`"],e30=[0,0],t30=R1,n30=ml,u30=ml,i30=jv,f30=[0,"either a call or access of `super`"],c30=jv,s30=[0,1],a30=[0,0],o30=[0,1],v30=[0,0],l30=[0,1],p30=[0,0],k30=[0,2],m30=[0,3],h30=[0,7],d30=[0,6],y30=[0,4],g30=[0,5],_30=[0,6],b30=[0,[0,17,[0,2]]],w30=[0,[0,18,[0,3]]],T30=[0,[0,19,[0,4]]],E30=[0,[0,0,[0,5]]],S30=[0,[0,1,[0,5]]],A30=[0,[0,2,[0,5]]],I30=[0,[0,3,[0,5]]],j30=[0,[0,5,[0,6]]],P30=[0,[0,7,[0,6]]],N30=[0,[0,4,[0,6]]],O30=[0,[0,6,[0,6]]],C30=[0,[0,8,[0,7]]],D30=[0,[0,9,[0,7]]],R30=[0,[0,10,[0,7]]],F30=[0,[0,11,[0,8]]],L30=[0,[0,12,[0,8]]],M30=[0,[0,15,[0,9]]],U30=[0,[0,13,[0,9]]],q30=[0,[0,14,[1,10]]],B30=[0,[0,16,[0,9]]],X30=[0,[0,21,[0,6]]],J30=[0,[0,20,[0,6]]],K30=[20,m5],Y30=[0,[0,8]],z30=[0,[0,7]],V30=[0,[0,6]],G30=[0,[0,10]],W30=[0,[0,9]],$30=[0,[0,11]],H30=[0,[0,5]],Q30=[0,[0,4]],Z30=[0,[0,2]],xl0=[0,[0,3]],rl0=[0,[0,1]],el0=[0,[0,0]],tl0=[0,[0,12]],nl0=[0,[0,13]],ul0=[0,[0,14]],il0=[0,0],fl0=Ao,cl0=Mf,sl0=[13,"JSX fragment"],al0=[0,Ut],ol0=[1,Ut],vl0=[0,H0,H0,0],ll0=[0,l4],pl0=H0,kl0=K3,ml0=[0,H0,0],hl0="unexpected PrivateName in Property, expected a PrivateField",dl0=[0,0,0],yl0=sa,gl0="Must be one of the above",_l0=[0,1],bl0=[0,1],wl0=[0,1],Tl0=sa,El0=sa,Sl0=Ug,Al0="Internal Error: private name found in object props",Il0=[0,XF],jl0=[19,[0,0]],Pl0=[0,XF],Nl0=[0,0,0,0],Ol0=gb,Cl0="Nooo: ",Dl0=io,Rl0="Parser error: No such thing as an expression pattern!",Fl0=[0,[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]],Ll0=[0,"src/parser/parser_flow.ml",v8,28],Ml0=[0,[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]],Ul0=CF,ql0=jE,Bl0=lF,Xl0=BL,Jl0=BL,Kl0=lF,Yl0=qu,zl0=VD,Vl0=P2,Gl0=l2,Wl0="InterpreterDirective",$l0="interpreter",Hl0="Program",Ql0=gl,Zl0="BreakStatement",x60=gl,r60="ContinueStatement",e60="DebuggerStatement",t60=Io,n60="DeclareExportAllDeclaration",u60=Io,i60=I_,f60=VI,c60=io,s60="DeclareExportDeclaration",a60=P2,o60=Hr,v60="DeclareModule",l60=Y2,p60="DeclareModuleExports",k60=P2,m60=Hr,h60="DeclareNamespace",d60=bv,y60=P2,g60="DoWhileStatement",_60="EmptyStatement",b60=J9,w60=VI,T60="ExportDefaultDeclaration",E60=J9,S60=Nb,A60=Io,I60="ExportAllDeclaration",j60=J9,P60=Io,N60=I_,O60=VI,C60="ExportNamedDeclaration",D60="directive",R60=V2,F60="ExpressionStatement",L60=P2,M60="update",U60=bv,q60=$7,B60="ForStatement",X60="each",J60=P2,K60=Gt,Y60=os,z60="ForInStatement",V60=_o,G60=P2,W60=Gt,$60=os,H60="ForOfStatement",Q60=oM,Z60=iI,xp0=bv,rp0="IfStatement",ep0=qu,tp0=ss,np0=l2,up0=SR,ip0=Io,fp0=I_,cp0="ImportDeclaration",sp0=P2,ap0=gl,op0="LabeledStatement",vp0=ne,lp0="ReturnStatement",pp0="cases",kp0="discriminant",mp0="SwitchStatement",hp0=ne,dp0="ThrowStatement",yp0="finalizer",gp0="handler",_p0=Bt,bp0="TryStatement",wp0=P2,Tp0=bv,Ep0="WhileStatement",Sp0=P2,Ap0=tb,Ip0="WithStatement",jp0=IF,Pp0="ArrayExpression",Np0=F1,Op0=O8,Cp0=V2,Dp0=Ie,Rp0=VT,Fp0=oa,Lp0=P2,Mp0=Kt,Up0=Hr,qp0="ArrowFunctionExpression",Bp0=V2,Xp0="AsConstExpression",Jp0=Y2,Kp0=V2,Yp0="AsExpression",zp0=Ug,Vp0=Gt,Gp0=os,Wp0=Iv,$p0="AssignmentExpression",Hp0=Gt,Qp0=os,Zp0=Iv,x40="BinaryExpression",r40="CallExpression",e40=oM,t40=iI,n40=bv,u40="ConditionalExpression",i40=Io,f40="ImportExpression",c40=pF,s40=cU,a40=m5,o40=Gt,v40=os,l40=Iv,p40="LogicalExpression",k40="MemberExpression",m40=qA,h40=ml,d40="MetaProperty",y40=_A,g40=A4,_40=XM,b40="NewExpression",w40=y5,T40="ObjectExpression",E40=xt,S40="OptionalCallExpression",A40=xt,I40="OptionalMemberExpression",j40=PM,P40="SequenceExpression",N40="Super",O40="ThisExpression",C40=Y2,D40=V2,R40="TypeCastExpression",F40=Y2,L40=V2,M40="SatisfiesExpression",U40=ne,q40="AwaitExpression",B40=rt,X40=ys,J40=UR,K40=iM,Y40=ss,z40=ps,V40=nl,G40="matched above",W40=ne,$40=rR,H40=Iv,Q40="UnaryExpression",Z40=SF,xk0=DM,rk0=rR,ek0=ne,tk0=Iv,nk0="UpdateExpression",uk0="delegate",ik0=ne,fk0="YieldExpression",ck0="Unexpected FunctionDeclaration with BodyExpression",sk0="HookDeclaration",ak0=V2,ok0=Ie,vk0=VT,lk0=oa,pk0="FunctionDeclaration",kk0=F1,mk0=O8,hk0=P2,dk0=Kt,yk0=Hr,gk0="Unexpected FunctionExpression with BodyExpression",_k0=F1,bk0=O8,wk0=V2,Tk0=Ie,Ek0=VT,Sk0=oa,Ak0=P2,Ik0=Kt,jk0=Hr,Pk0="FunctionExpression",Nk0=xt,Ok0=Y2,Ck0=Te,Dk0=IE,Rk0=xt,Fk0=Y2,Lk0=Te,Mk0="PrivateIdentifier",Uk0=xt,qk0=Y2,Bk0=Te,Xk0=IE,Jk0=iI,Kk0=bv,Yk0="SwitchCase",zk0=P2,Vk0="param",Gk0="CatchClause",Wk0=P2,$k0="BlockStatement",Hk0=ca,Qk0=Hr,Zk0="DeclareVariable",x80="DeclareHook",r80=Ie,e80="DeclareFunction",t80=Hr,n80=kF,u80=lo,i80=hc,f80=P2,c80=F1,s80=Hr,a80="DeclareClass",o80=F1,v80=Gg,l80=Kt,p80=y_,k80=Kt,m80=Hr,h80="DeclareComponent",d80=F1,y80=Gg,g80=y_,_80=Kt,b80="ComponentTypeAnnotation",w80=xt,T80=Y2,E80=Te,S80="ComponentTypeParameter",A80=P2,I80=Hr,j80="DeclareEnum",P80=hc,N80=P2,O80=F1,C80=Hr,D80="DeclareInterface",R80=l2,F80=qu,L80=Nb,M80="ExportNamespaceSpecifier",U80=Gt,q80=F1,B80=Hr,X80="DeclareTypeAlias",J80=Gt,K80=F1,Y80=Hr,z80="TypeAlias",V80="DeclareOpaqueType",G80="OpaqueType",W80="supertype",$80="impltype",H80=F1,Q80=Hr,Z80="ClassDeclaration",xm0="ClassExpression",rm0=km,em0=lo,tm0="superTypeParameters",nm0="superClass",um0=F1,im0=P2,fm0=Hr,cm0=V2,sm0="Decorator",am0=F1,om0=Hr,vm0="ClassImplements",lm0=P2,pm0="ClassBody",km0=ho,mm0=Z3,hm0=bo,dm0=Dv,ym0=km,gm0=Nv,_m0=Ae,bm0=ca,wm0=l2,Tm0=co,Em0="MethodDefinition",Sm0=H3,Am0=km,Im0=L1,jm0=Ae,Pm0=Nv,Nm0=Y2,Om0=l2,Cm0=co,Dm0=cF,Rm0="Internal Error: Private name found in class prop",Fm0=H3,Lm0=km,Mm0=L1,Um0=Ae,qm0=Nv,Bm0=Y2,Xm0=l2,Jm0=co,Km0=cF,Ym0=F1,zm0=Gg,Vm0=Kt,Gm0=Hr,Wm0=P2,$m0="ComponentDeclaration",Hm0=ne,Qm0=I5,Zm0=Gt,xh0=os,rh0=M4,eh0=Iw,th0=cl,nh0=Te,uh0="ComponentParameter",ih0=$7,fh0=Hr,ch0="EnumBigIntMember",sh0=Hr,ah0=iR,oh0=$7,vh0=Hr,lh0="EnumStringMember",ph0=Hr,kh0=iR,mh0=$7,hh0=Hr,dh0="EnumNumberMember",yh0=$7,gh0=Hr,_h0="EnumBooleanMember",bh0=V3,wh0=jm,Th0=Q3,Eh0="EnumBooleanBody",Sh0=V3,Ah0=jm,Ih0=Q3,jh0="EnumNumberBody",Ph0=V3,Nh0=jm,Oh0=Q3,Ch0="EnumStringBody",Dh0=V3,Rh0=Q3,Fh0="EnumSymbolBody",Lh0=V3,Mh0=jm,Uh0=Q3,qh0="EnumBigIntBody",Bh0=P2,Xh0=Hr,Jh0="EnumDeclaration",Kh0=hc,Yh0=P2,zh0=F1,Vh0=Hr,Gh0="InterfaceDeclaration",Wh0=F1,$h0=Hr,Hh0="InterfaceExtends",Qh0=Y2,Zh0=y5,xd0="ObjectPattern",rd0=Y2,ed0=IF,td0="ArrayPattern",nd0=Gt,ud0=os,id0=M4,fd0=Y2,cd0=Te,sd0=IE,ad0=ne,od0=I5,vd0=ne,ld0=I5,pd0=Gt,kd0=os,md0=M4,hd0=$7,dd0=$7,yd0=bo,gd0=Dv,_d0=xM,bd0=Nv,wd0=Iw,Td0=Z3,Ed0=ca,Sd0=l2,Ad0=co,Id0=mL,jd0=ne,Pd0=cM,Nd0=Gt,Od0=os,Cd0=M4,Dd0=Nv,Rd0=Iw,Fd0=Z3,Ld0=ca,Md0=l2,Ud0=co,qd0=mL,Bd0=ne,Xd0=cM,Jd0=bt,Kd0=l2,Yd0=lv,zd0=H0,Vd0=bt,Gd0=vo,Wd0=l2,$d0=lv,Hd0=bt,Qd0=l2,Zd0=lv,x50=as,r50=ls,e50=bt,t50=l2,n50=lv,u50="flags",i50=$t,f50="regex",c50=bt,s50=l2,a50=lv,o50=bt,v50=l2,l50=lv,p50=PM,k50="quasis",m50="TemplateLiteral",h50="cooked",d50=bt,y50="tail",g50=l2,_50="TemplateElement",b50="quasi",w50="tag",T50="TaggedTemplateExpression",E50=al,S50=mv,A50=ul,I50=ca,j50="declarations",P50="VariableDeclaration",N50=$7,O50=Hr,C50="VariableDeclarator",D50="plus",R50=CR,F50=ko,L50=aa,M50=Eg,U50="in-out",q50=ca,B50="Variance",X50="AnyTypeAnnotation",J50="MixedTypeAnnotation",K50="EmptyTypeAnnotation",Y50="VoidTypeAnnotation",z50="NullLiteralTypeAnnotation",V50="SymbolTypeAnnotation",G50="NumberTypeAnnotation",W50="BigIntTypeAnnotation",$50="StringTypeAnnotation",H50="BooleanTypeAnnotation",Q50=Y2,Z50="NullableTypeAnnotation",xy0="UnknownTypeAnnotation",ry0="NeverTypeAnnotation",ey0="UndefinedTypeAnnotation",ty0=ca,ny0=Y2,uy0="parameterName",iy0="TypePredicate",fy0="HookTypeAnnotation",cy0="FunctionTypeAnnotation",sy0=uo,ay0=F1,oy0=y_,vy0=O8,ly0=Kt,py0=xt,ky0=Y2,my0=Te,hy0=FR,dy0=xt,yy0=Y2,gy0=Te,_y0=FR,by0=[0,0,0,0,0],wy0="internalSlots",Ty0="callProperties",Ey0="indexers",Sy0=y5,Ay0="exact",Iy0=TR,jy0="ObjectTypeAnnotation",Py0=xM,Ny0="There should not be computed object type property keys",Oy0=$7,Cy0=bo,Dy0=Dv,Ry0=ca,Fy0=L1,Ly0=Rj,My0=Ae,Uy0=xt,qy0=Z3,By0=l2,Xy0=co,Jy0="ObjectTypeProperty",Ky0=ne,Yy0="ObjectTypeSpreadProperty",zy0=L1,Vy0=Ae,Gy0=l2,Wy0=co,$y0=Hr,Hy0="ObjectTypeIndexer",Qy0=Ae,Zy0=l2,x90="ObjectTypeCallProperty",r90=xt,e90=L1,t90="sourceType",n90="propType",u90="keyTparam",i90="ObjectTypeMappedTypeProperty",f90=l2,c90=Z3,s90=Ae,a90=xt,o90=Hr,v90="ObjectTypeInternalSlot",l90=P2,p90=hc,k90="InterfaceTypeAnnotation",m90=JF,h90="ArrayTypeAnnotation",d90="falseType",y90="trueType",g90="extendsType",_90="checkType",b90="ConditionalTypeAnnotation",w90="typeParameter",T90="InferTypeAnnotation",E90=Hr,S90=FM,A90="QualifiedTypeIdentifier",I90=F1,j90=Hr,P90="GenericTypeAnnotation",N90="indexType",O90="objectType",C90="IndexedAccessType",D90=xt,R90="OptionalIndexedAccessType",F90=lE,L90="UnionTypeAnnotation",M90=lE,U90="IntersectionTypeAnnotation",q90=A4,B90=ne,X90="TypeofTypeAnnotation",J90=Hr,K90=FM,Y90="QualifiedTypeofIdentifier",z90=ne,V90="KeyofTypeAnnotation",G90=dr,W90=OL,$90=rF,H90=Y2,Q90=Iv,Z90="TypeOperator",xg0=ko,rg0=TR,eg0="elementTypes",tg0="TupleTypeAnnotation",ng0=xt,ug0=L1,ig0=JF,fg0=gl,cg0="TupleTypeLabeledElement",sg0=Y2,ag0=gl,og0="TupleTypeSpreadElement",vg0=bt,lg0=l2,pg0="StringLiteralTypeAnnotation",kg0=bt,mg0=l2,hg0="NumberLiteralTypeAnnotation",dg0=bt,yg0=l2,gg0="BigIntLiteralTypeAnnotation",_g0=as,bg0=ls,wg0=bt,Tg0=l2,Eg0="BooleanLiteralTypeAnnotation",Sg0="ExistsTypeAnnotation",Ag0=Y2,Ig0=kR,jg0=Y2,Pg0=kR,Ng0=Kt,Og0="TypeParameterDeclaration",Cg0="usesExtendsBound",Dg0=io,Rg0=L1,Fg0="bound",Lg0=Te,Mg0="TypeParameter",Ug0=Kt,qg0=vR,Bg0=Kt,Xg0=vR,Jg0=Sv,Kg0=nM,Yg0="closingElement",zg0="openingElement",Vg0="JSXElement",Gg0="closingFragment",Wg0=nM,$g0="openingFragment",Hg0="JSXFragment",Qg0=A4,Zg0="selfClosing",x_0="attributes",r_0=Te,e_0="JSXOpeningElement",t_0="JSXOpeningFragment",n_0=Te,u_0="JSXClosingElement",i_0="JSXClosingFragment",f_0=l2,c_0=Te,s_0="JSXAttribute",a_0=ne,o_0="JSXSpreadAttribute",v_0="JSXEmptyExpression",l_0=V2,p_0="JSXExpressionContainer",k_0=V2,m_0="JSXSpreadChild",h_0=bt,d_0=l2,y_0="JSXText",g_0=qA,__0=tb,b_0="JSXMemberExpression",w_0=Te,T_0=Xw,E_0="JSXNamespacedName",S_0=Te,A_0="JSXIdentifier",I_0=Nb,j_0=cl,P_0="ExportSpecifier",N_0=cl,O_0="ImportDefaultSpecifier",C_0=cl,D_0="ImportNamespaceSpecifier",R_0=SR,F_0=cl,L_0="imported",M_0="ImportSpecifier",U_0="Line",q_0="Block",B_0=l2,X_0=l2,J_0="DeclaredPredicate",K_0="InferredPredicate",Y_0=_A,z_0=A4,V_0=XM,G_0=Nv,W_0=qA,$_0=tb,H_0="message",Q_0=jE,Z_0=AL,xb0=P5,rb0=Io,eb0=pl,tb0=M8,nb0=[0,M1,Xu,Hi,gf,L1,oi,jc,Mu,A7,On,lc,ju,Hu,h7,n7,N7,If,Nf,si,d7,bn,Zu,bc,e7,gc,xi,Af,ii,Pn,En,Jf,nu,fu,Gi,Ac,je,cf,ai,kc,xf,df,P7,au,Pe,Li,x7,Ai,Ei,oc,a7,Pu,ec,Se,Gn,o7,Pi,Z7,ku,z7,tc,Ie,G7,rc,_f,eu,Sc,Tf,M7,Rf,Wf,lu,di,Wn,Jn,yu,S7,i7,ac,xc,y7,ou,dc,$t,af,Iu,Rn,Lf,D7,$u,Bf,Ju,nf,Ku,Ln,_c,Ki,Tc,ji,q7,jf,yf,ki,s7,tf,T7,pc,Tu,mc,yc,Xn,Du,nc,mu,Vu,Bn,Er,Fi,X7,_n,v7,li,Tn,du,m7,Uf,Oi,Cf,Df,An,F7,qn,l7,zu,wc,Bu,ru,rf,Fn,Yf,vc,Au,gi,dn,H7,L7,Oc,K7,bi,wf,Nn,Lu,W1,c7,Ef,V7,$i,Kn,bu,B7,ti,R1,t7,Un,r7,dt,su,W7,ni,Q7,Si,Ec,ui,gn,Qi,Uu,kf,Ru,Fu,p7,wn,Zn,zf,yn,O7,Xf,Ou,Y7,iu,hu,mi,U7,I7,ef,hf,zn,w7,In,Cu,ri,V2,_7,Sf,Vn,ff,jn,Hn,Xi,gu,vu,Hf,fc,qi,yi,pu,Mn,uu,Ri,zi,Cn,hi,ie,vi,sc,sf,Kf,Vi,Wi,qf,wu,mf,Qn,_i,uc,Zi,_u,we,_e,Ci,Zf,Gf,Sn,Of,Ji,Qu,ic,Mi,Nu,b7,Pc,Yn,J7,Ii,Ff,Gu,fi,Ui,ei,cu,E7,Ic,Di,wi,tu,g7,Yi,Dn,cc,Nc,Wu,u7,Pf,Bi,C7,f7,Ee,Qf,Eu,Bt,pf,Ti,k7,Vf,xu,pi,j7,Su,vf,$n,Yu,lf,uf],ub0=[0,oc,dn,Ru,su,gn,f7,mc,jf,zu,Nn,Eu,gc,Bf,Pe,D7,Sf,Yi,fu,Ki,Yf,Xn,c7,Au,Ri,yi,Xu,i7,Q7,iu,Jn,Uf,Vi,ic,ni,uu,mu,dt,gf,hf,Wf,mf,Bi,Fu,Pf,rf,gu,G7,Ec,hu,au,ki,Un,Ai,$i,zi,m7,nc,wi,Ui,af,uf,Sc,Yn,Zu,q7,_f,F7,E7,Ju,Ie,_c,Qi,Iu,Vu,wc,Fn,W7,v7,Zf,Af,fc,qn,li,kf,Rf,$n,qf,Hn,Fi,Z7,dc,Yu,hi,C7,ec,L1,rc,uc,N7,o7,t7,k7,Y7,Ac,Oc,g7,T7,P7,ie,I7,xi,M1,Tn,Gi,_i,Tf,ju,y7,Zi,ku,Vf,lc,fi,Qn,Tu,Mu,vc,j7,En,wf,pu,In,$u,Vn,du,xc,zn,Nf,Pn,J7,oi,Jf,a7,If,x7,On,Ic,Ef,mi,ei,_n,Uu,Ii,A7,Gu,pc,Cf,Mi,xu,X7,Nc,tu,b7,ac,Df,Pc,Er,R1,Se,n7,si,Li,S7,je,we,yc,r7,Lf,ri,gi,$t,Qf,zf,Mn,V7,cu,_7,p7,H7,ui,h7,qi,tc,Xf,B7,Hf,jn,Of,tf,Pu,yf,Kn,Ku,di,ii,ji,eu,Ln,d7,Wi,Wu,wu,pf,K7,df,Cn,nu,Si,z7,ti,Tc,cc,s7,ru,Di,Lu,vi,e7,lf,jc,sc,u7,bc,sf,Bu,L7,Gf,Oi,Wn,Du,bi,w7,An,bn,kc,pi,Ji,yu,Su,Ti,V2,ou,Ff,Cu,yn,O7,Ei,_e,wn,Nu,M7,Xi,Kf,ai,xf,Ou,ff,Hu,U7,Rn,Bt,bu,Dn,l7,nf,Zn,_u,Gn,vu,Ee,vf,W1,Ci,Hi,Qu,Pi,ef,Sn,lu,cf,Bn],ib0=[0,uf,lf,Yu,$n,vf,Su,j7,pi,xu,Vf,k7,Ti,pf,Bt,Eu,Qf,Ee,f7,C7,Bi,Pf,u7,Wu,Nc,cc,Dn,Yi,g7,tu,wi,Di,Ic,E7,cu,ei,Ui,fi,Gu,Ff,Ii,J7,Yn,Pc,b7,Nu,Mi,ic,Qu,Ji,Of,Sn,Gf,Zf,Ci,_e,we,_u,Zi,uc,_i,Qn,mf,wu,qf,Wi,Vi,Kf,sf,sc,vi,ie,hi,Cn,zi,Ri,uu,Mn,pu,yi,qi,fc,Hf,vu,gu,Xi,Hn,jn,ff,Vn,Sf,_7,V2,ri,Cu,In,w7,zn,hf,ef,I7,U7,mi,hu,iu,Y7,Ou,Xf,O7,yn,zf,Zn,wn,p7,Fu,Ru,kf,Uu,Qi,gn,ui,Ec,Si,Q7,ni,W7,su,dt,r7,Un,t7,R1,ti,B7,bu,Kn,$i,V7,Ef,c7,W1,Lu,Nn,wf,bi,K7,Oc,L7,H7,dn,gi,Au,vc,Yf,Fn,rf,ru,Bu,wc,zu,l7,qn,F7,An,Df,Cf,Oi,Uf,m7,du,Tn,li,v7,_n,X7,Fi,Er,Bn,Vu,mu,nc,Du,Xn,yc,mc,Tu,pc,T7,tf,s7,ki,yf,jf,q7,ji,Tc,Ki,_c,Ln,Ku,nf,Ju,Bf,$u,D7,Lf,Rn,Iu,af,$t,dc,ou,y7,xc,ac,i7,S7,yu,Jn,Wn,di,lu,Wf,Rf,M7,Tf,Sc,eu,_f,rc,G7,Ie,tc,z7,ku,Z7,Pi,o7,Gn,Se,ec,Pu,a7,oc,Ei,Ai,x7,Li,Pe,au,P7,df,xf,kc,ai,cf,je,Ac,Gi,fu,nu,Jf,En,Pn,ii,Af,xi,gc,e7,bc,Zu,bn,d7,si,Nf,If,N7,n7,h7,Hu,ju,lc,On,A7,Mu,jc,oi,L1,gf,Hi,Xu,M1],fb0="Jsoo_runtime.Error.Exn",cb0=[0,0],sb0="use_strict",ab0=lE,ob0="esproposal_decorators",vb0="enums",lb0="components",pb0="Internal error: ";function C2(x){if(typeof x=="number")return 0;switch(x[0]){case 0:return[0,C2(x[1])];case 1:return[1,C2(x[1])];case 2:return[2,C2(x[1])];case 3:return[3,C2(x[1])];case 4:return[4,C2(x[1])];case 5:return[5,C2(x[1])];case 6:return[6,C2(x[1])];case 7:return[7,C2(x[1])];case 8:var r=x[1];return[8,r,C2(x[2])];case 9:var e=x[1];return[9,e,e,C2(x[3])];case 10:return[10,C2(x[1])];case 11:return[11,C2(x[1])];case 12:return[12,C2(x[1])];case 13:return[13,C2(x[1])];default:return[14,C2(x[1])]}}function Q1(x,r){if(typeof x=="number")return r;switch(x[0]){case 0:return[0,Q1(x[1],r)];case 1:return[1,Q1(x[1],r)];case 2:return[2,Q1(x[1],r)];case 3:return[3,Q1(x[1],r)];case 4:return[4,Q1(x[1],r)];case 5:return[5,Q1(x[1],r)];case 6:return[6,Q1(x[1],r)];case 7:return[7,Q1(x[1],r)];case 8:var e=x[1];return[8,e,Q1(x[2],r)];case 9:var t=x[2],u=x[1];return[9,u,t,Q1(x[3],r)];case 10:return[10,Q1(x[1],r)];case 11:return[11,Q1(x[1],r)];case 12:return[12,Q1(x[1],r)];case 13:return[13,Q1(x[1],r)];default:return[14,Q1(x[1],r)]}}function E2(x,r){if(typeof x=="number")return r;switch(x[0]){case 0:return[0,E2(x[1],r)];case 1:return[1,E2(x[1],r)];case 2:var e=x[1];return[2,e,E2(x[2],r)];case 3:var t=x[1];return[3,t,E2(x[2],r)];case 4:var u=x[3],i=x[2],c=x[1];return[4,c,i,u,E2(x[4],r)];case 5:var v=x[3],a=x[2],p=x[1];return[5,p,a,v,E2(x[4],r)];case 6:var _=x[3],y=x[2],S=x[1];return[6,S,y,_,E2(x[4],r)];case 7:var E=x[3],j=x[2],C=x[1];return[7,C,j,E,E2(x[4],r)];case 8:var P=x[3],O=x[2],F=x[1];return[8,F,O,P,E2(x[4],r)];case 9:var K=x[1];return[9,K,E2(x[2],r)];case 10:return[10,E2(x[1],r)];case 11:var U=x[1];return[11,U,E2(x[2],r)];case 12:var V=x[1];return[12,V,E2(x[2],r)];case 13:var Q=x[2],$=x[1];return[13,$,Q,E2(x[3],r)];case 14:var x0=x[2],e0=x[1];return[14,e0,x0,E2(x[3],r)];case 15:return[15,E2(x[1],r)];case 16:return[16,E2(x[1],r)];case 17:var Z=x[1];return[17,Z,E2(x[2],r)];case 18:var c0=x[1];return[18,c0,E2(x[2],r)];case 19:return[19,E2(x[1],r)];case 20:var d0=x[2],n0=x[1];return[20,n0,d0,E2(x[3],r)];case 21:var P0=x[1];return[21,P0,E2(x[2],r)];case 22:return[22,E2(x[1],r)];case 23:var h0=x[1];return[23,h0,E2(x[2],r)];default:var g0=x[2],v0=x[1];return[24,v0,g0,E2(x[3],r)]}}function nN(x,r,e){return x[1]===r?(x[1]=e,1):0}function gx(x){throw U0([0,Qt,x],1)}function B1(x){throw U0([0,eN,x],1)}function rh(x){return 0<=x?x:-x|0}var kb0=$D;function Bx(x,r){var e=Nx(x),t=Nx(r),u=T2(e+t|0);return Dc(x,0,u,0,e),Dc(r,0,u,e,t),A1(u)}function mb0(x){return x?sz:az}function Fx(x,r){if(!x)return r;var e=x[1];return[0,e,Fx(x[2],r)]}KY(0);var hb0=KU(1),Lc=KU(2);function db0(x){for(var r=YY(0);;){if(!r)return 0;var e=r[2],t=r[1];try{Rc(t)}catch(c){var u=O2(c);if(u[1]!==GU)throw U0(u,0)}var r=e}}function Ol(x,r){HP(x,r,0,Nx(r))}function ZU(x){return Ol(Lc,x),YU(Lc,10),Rc(Lc)}var uN=[0,db0];function iN(x){return l(uN[1],0)}ZP(QR,iN);var xq=xz(0)[1],Cl=(4*QY(0)|0)-1|0,yb0=[x2,oz,Ts(0)];function gb0(x){throw U0(yb0,1)}function eh(x,r){return r?[0,l(x,r[1])]:0}function rq(x){return 25>>0?x:x+YD|0}function Is(x){for(var r=0,e=x;;){if(!e)return r;var r=r+1|0,e=e[2]}}function Dl(x){return x?x[1]:gx(gz)}function eq(x){return x?x[2]:gx(yz)}function zv(x,r){for(var e=x,t=r;;){if(!e)return t;var u=[0,e[1],t],e=e[2],t=u}}function vx(x){return zv(x,0)}function Rl(x){if(!x)return 0;var r=x[1];return Fx(r,Rl(x[2]))}function xn(x,r){if(!r)return 0;var e=r[2],t=x(r[1]);return[0,t,xn(x,e)]}function th(x,r){for(var e=0,t=r;;){if(!t)return e;var u=t[2],e=[0,x(t[1]),e],t=u}}function p1(x,r){for(var e=r;;){if(!e)return 0;var t=e[2];l(x,e[1]);var e=t}}function u1(x,r,e){for(var t=r,u=e;;){if(!u)return t;var i=u[2],t=k(x,t,u[1]),u=i}}function fN(x,r,e){if(!r)return e;var t=r[1];return x(t,fN(x,r[2],e))}function tq(x,r,e){for(var t=r,u=e;;){if(t){if(u){var i=u[2],c=t[2];x(t[1],u[1]);var t=c,u=i;continue}}else if(!u)return;return B1(dz)}}function cN(x,r){for(var e=r;;){if(!e)return 0;var t=e[2],u=x(e[1]);if(u)return u;var e=t}}function sN(x,r){for(var e=r;;){if(!e)return 0;var t=e[2],u=CU(e[1],x)===0?1:0;if(u)return u;var e=t}}function Fl(x){var r=0;return function(e){for(var t=r,u=e;;){if(!u)return vx(t);var i=u[2],c=u[1];if(x(c))var t=[0,c,t],u=i;else var u=i}}}function No(x,r){var e=T2(x);return EY(e,0,x,r),e}function nq(x){var r=nt(x),e=T2(r);return gs(x,0,e,0,r),e}function uq(x,r,e){if(0<=r&&0<=e&&(nt(x)-e|0)>=r){var t=T2(e);return gs(x,r,t,0,e),t}return B1(wz)}function Vv(x,r,e){return A1(uq(x,r,e))}function iq(x,r,e,t,u){if(0<=u&&0<=r&&(nt(x)-u|0)>=r&&0<=t&&(nt(e)-u|0)>=t){gs(x,r,e,t,u);return}return B1(bz)}function js(x,r,e,t,u){if(0<=u&&0<=r&&(Nx(x)-u|0)>=r&&0<=t&&(nt(e)-u|0)>=t){Dc(x,r,e,t,u);return}return B1(_z)}function nh(x,r){return A1(No(x,r))}function k1(x,r,e){return A1(uq(Cc(x),r,e))}function fq(x,r){if(!r)return Tz;var e=Nx(x);x:{r:{for(var t=0,u=r,i=0;u;){var c=u[1];if(!u[2])break r;var v=(Nx(c)+e|0)+t|0,a=u[2],p=t<=v?v:B1(Ez),t=p,u=a}var _=t;break x}var _=Nx(c)+t|0}for(var y=T2(_),S=i,E=r;;){if(E){var j=E[1];if(E[2]){var C=E[2];Dc(j,0,y,S,Nx(j)),Dc(x,0,y,S+Nx(j)|0,e);var S=(S+Nx(j)|0)+e|0,E=C;continue}Dc(j,0,y,S,Nx(j))}return A1(y)}}function cq(x){var r=Cc(x);if(nt(r)===0)var e=r;else{var t=nq(r);Vr(t,0,rq(fe(r,0)));var e=t}return A1(e)}function sq(x,r){var e=Nx(x),t=e<=Nx(r)?1:0;if(!t)return t;for(var u=0;;){if(u===e)return 1;if(F0(r,u)!==F0(x,u))return 0;var u=u+1|0}}function aq(x,r){var e=[0,0],t=[0,Nx(r)],u=Nx(r)-1|0;if(u>=0)for(var i=u;;){if(F0(r,i)===x){var c=e[1];e[1]=[0,k1(r,i+1|0,(t[1]-i|0)-1|0),c],t[1]=i}var v=i-1|0;if(i===0)break;var i=v}var a=e[1];return[0,k1(r,0,t[1]),a]}var _b0=ix;function oq(x,r){var e=r.length-1-1|0,t=0;if(e>=0)for(var u=t;;){x(r[1+u]);var i=u+1|0;if(e===u)break;var u=i}}function uh(x,r){var e=r.length-1;if(e===0)return[0];var t=Jv(e,x(r[1])),u=e-1|0,i=1;if(u>=1)for(var c=i;;){t[1+c]=x(r[1+c]);var v=c+1|0;if(u===c)break;var c=v}return t}function Ll(x){if(!x)return[0];for(var r=0,e=x,t=x[2],u=x[1];e;)var r=r+1|0,e=e[2];for(var i=Jv(r,u),c=1,v=t;;){if(!v)return i;var a=v[2];i[1+c]=v[1];var c=c+1|0,v=a}}function vq(x){try{var r=[0,El(x)];return r}catch(t){var e=O2(t);if(e[1]===Qt)return 0;throw U0(e,0)}}function aN(x){function r(a){return a?a[5]:0}function e(a,p,_,y){var S=r(a),E=r(y),j=E<=S?S+1|0:E+1|0;return[0,a,p,_,y,j]}function t(a,p,_,y){var S=a?a[5]:0,E=y?y[5]:0;if((E+2|0)=E){var $=E<=S?S+1|0:E+1|0;return[0,a,p,_,y,$]}if(!y)return B1(Nz);var x0=y[4],e0=y[3],Z=y[2],c0=y[1],d0=r(c0);if(d0<=r(x0))return e(e(a,p,_,c0),Z,e0,x0);if(!c0)return B1(Pz);var n0=c0[3],P0=c0[2],h0=c0[1],g0=e(c0[4],Z,e0,x0);return e(e(a,p,_,h0),P0,n0,g0)}var u=0;function i(a,p,_){if(!_)return[0,0,a,p,0,1];var y=_[4],S=_[3],E=_[2],j=_[1],C=_[5],P=k(x[1],a,E);if(P===0)return S===p?_:[0,j,a,p,y,C];if(0<=P){var O=i(a,p,y);return y===O?_:t(j,E,S,O)}var F=i(a,p,j);return j===F?_:t(F,E,S,y)}function c(a,p){for(var _=p;;){if(!_)throw U0(Fc,1);var y=_[4],S=_[3],E=_[1],j=k(x[1],a,_[2]);if(j===0)return S;var C=0<=j?y:E,_=C}}function v(a,p,_){for(var y=p,S=_;;){if(!y)return S;var E=y[4],j=y[3],C=y[2],P=a(C,j,v(a,y[1],S)),y=E,S=P}}return[0,u,,,i,,,,,,,,,v,,,,,,,,,,,,,,,c]}function Ml(x){return[0,0,0]}function Ul(x){x[1]=0,x[2]=0}function Oo(x,r){r[1]=[0,x,r[1]],r[2]=r[2]+1|0}function Gv(x){var r=x[1];if(!r)return 0;var e=r[1];return x[1]=r[2],x[2]=x[2]-1|0,[0,e]}function Wv(x){var r=x[1];return r?[0,r[1]]:0}var bb0=[x2,Oz,Ts(0)];function lq(x){return[0,0,0,0]}function oN(x){x[1]=0,x[2]=0,x[3]=0}function vN(x,r){var e=[0,x,0],t=r[3];return t?(r[1]=r[1]+1|0,t[2]=e,r[3]=e,0):(r[1]=1,r[2]=e,r[3]=e,0)}function Qr(x){var r=1<=x?x:1,e=Cl=(e+r|0));)t[1]=2*t[1]|0;Clx[3])throw U0([0,Ar,Rz],1);if(!((e+r|0)<=x[3]))throw U0([0,Ar,Fz],1)}function ut(x,r){var e=x[2];x[3]<=e&&lN(x,1),Vr(x[1],e,r),x[2]=e+1|0}function pq(x,r,e,t){var u=e<0?1:0;if(u)var c=u;else var i=t<0?1:0,c=i||((Nx(r)-t|0)u){if(u!==32){if(43>u)break x;switch(u+L5|0){case 5:e:if(t<(e+2|0)&&1=(e+1|0))break x;var c=No(e+1|0,48);return qv(c,0,u),js(r,1,c,(e-t|0)+2|0,t-1|0),A1(c)}if(71<=u){if(5>>0)break x}else if(65>u)break x}if(t>>0){if(33>>0)break e}else if(t===2)break;var r=r+1|0}break r}var u=Cc(x),i=[0,0],c=nt(u)-1|0,v=0;if(c>=0)for(var a=v;;){var p=fe(u,a);r:{e:{t:{if(32<=p){var _=p-34|0;if(58<_>>>0){if(93<=_)break t}else if(56<_-1>>>0)break e;var y=1;break r}if(11<=p){if(p===13)break e}else if(8<=p)break e}var y=4;break r}var y=2}i[1]=i[1]+y|0;var S=a+1|0;if(c===a)break;var a=S}if(i[1]===nt(u))var E=nq(u);else{var j=T2(i[1]);i[1]=0;var C=nt(u)-1|0,P=0;if(C>=0)for(var O=P;;){var F=fe(u,O);r:{e:{t:{if(35<=F){if(F!==92){if(Yr<=F)break t;break e}}else{if(32>F){if(14<=F)break t;switch(F){case 8:Vr(j,i[1],92),i[1]++,Vr(j,i[1],98);break r;case 9:Vr(j,i[1],92),i[1]++,Vr(j,i[1],ua);break r;case 10:Vr(j,i[1],92),i[1]++,Vr(j,i[1],j2);break r;case 13:Vr(j,i[1],92),i[1]++,Vr(j,i[1],ia);break r;default:break t}}if(34>F)break e}Vr(j,i[1],92),i[1]++,Vr(j,i[1],F);break r}Vr(j,i[1],92),i[1]++,Vr(j,i[1],48+(F/et|0)|0),i[1]++,Vr(j,i[1],48+((F/10|0)%10|0)|0),i[1]++,Vr(j,i[1],48+(F%10|0)|0);break r}Vr(j,i[1],F)}i[1]++;var K=O+1|0;if(C===O)break;var O=K}var E=j}var U=A1(E)}var V=Nx(U),Q=No(V+2|0,34);return Dc(U,0,Q,1,V),A1(Q)}function yq(x,r){var e=rh(r),t=CV[1];switch(x[2]){case 0:var u=S1;break;case 1:var u=yt;break;case 2:var u=69;break;case 3:var u=Ze;break;case 4:var u=71;break;case 5:var u=t;break;case 6:var u=_t;break;case 7:var u=72;break;default:var u=70}var i=kq(16);switch($v(i,37),x[1]){case 0:break;case 1:$v(i,43);break;default:$v(i,32)}return 8<=x[2]&&$v(i,35),$v(i,46),j1(i,H0+e),$v(i,u),hq(i)}function fh(x,r){if(13>x)return r;var e=[0,0],t=Nx(r)-1|0,u=0;if(t>=0)for(var i=u;;){9>=F0(r,i)+B2>>>0&&e[1]++;var c=i+1|0;if(t===i)break;var i=c}var v=e[1],a=T2(Nx(r)+((v-1|0)/3|0)|0),p=[0,0];function _(O){qv(a,p[1],O),p[1]++}var y=[0,((v-1|0)%3|0)+1|0],S=Nx(r)-1|0,E=0;if(S>=0)for(var j=E;;){var C=F0(r,j);9>>0||(y[1]===0&&(_(95),y[1]=3),y[1]+=-1),_(C);var P=j+1|0;if(S===j)break;var j=P}return A1(a)}function Tb0(x,r){switch(x){case 1:var e=yG;break;case 2:var e=gG;break;case 4:var e=_G;break;case 5:var e=bG;break;case 6:var e=wG;break;case 7:var e=TG;break;case 8:var e=EG;break;case 9:var e=SG;break;case 10:var e=AG;break;case 11:var e=IG;break;case 0:case 13:var e=jG;break;case 3:case 14:var e=PG;break;default:var e=NG}return fh(x,zm(e,r))}function Eb0(x,r){switch(x){case 1:var e=VV;break;case 2:var e=GV;break;case 4:var e=WV;break;case 5:var e=$V;break;case 6:var e=HV;break;case 7:var e=QV;break;case 8:var e=ZV;break;case 9:var e=xG;break;case 10:var e=rG;break;case 11:var e=eG;break;case 0:case 13:var e=tG;break;case 3:case 14:var e=nG;break;default:var e=uG}return fh(x,zm(e,r))}function Sb0(x,r){switch(x){case 1:var e=DV;break;case 2:var e=RV;break;case 4:var e=FV;break;case 5:var e=LV;break;case 6:var e=MV;break;case 7:var e=UV;break;case 8:var e=qV;break;case 9:var e=BV;break;case 10:var e=XV;break;case 11:var e=JV;break;case 0:case 13:var e=KV;break;case 3:case 14:var e=YV;break;default:var e=zV}return fh(x,zm(e,r))}function Ab0(x,r){switch(x){case 1:var e=iG;break;case 2:var e=fG;break;case 4:var e=cG;break;case 5:var e=sG;break;case 6:var e=aG;break;case 7:var e=oG;break;case 8:var e=vG;break;case 9:var e=lG;break;case 10:var e=pG;break;case 11:var e=kG;break;case 0:case 13:var e=mG;break;case 3:case 14:var e=hG;break;default:var e=dG}return fh(x,FU(e,r))}function Ps(x,r,e){function t(K){switch(x[1]){case 0:var U=45;break;case 1:var U=43;break;default:var U=32}return AY(e,r,U)}function u(K){var U=sY(e);return U===3?e<0?PV:NV:4<=U?jV:K}switch(x[2]){case 5:for(var i=zP(yq(x,r),e),c=0,v=Nx(i);;){if(c===v)var a=0;else{var p=N2(i,c)+So|0;x:{if(23

>>0){if(p===55)break x}else if(21>>0)break x;var c=c+1|0;continue}var a=1}var _=a?i:Bx(i,OV);return u(_)}case 6:return t(R);case 7:var y=Cc(t(R)),S=nt(y);if(S===0)var E=y;else{var j=T2(S),C=S-1|0,P=0;if(C>=0)for(var O=P;;){Vr(j,O,rq(fe(y,O)));var F=O+1|0;if(C===O)break;var O=F}var E=j}return A1(E);case 8:return u(t(R));default:return zP(yq(x,r),e)}}function ch(x,r,e,t,u,i,c){if(typeof t=="number"){if(typeof u=="number")return u?function(E,j){return Lr(x,[4,r,Hv(E,i(c,j))],e)}:function(E){return Lr(x,[4,r,i(c,E)],e)};var v=u[1];return function(E){return Lr(x,[4,r,Hv(v,i(c,E))],e)}}if(t[0]===0){var a=t[2],p=t[1];if(typeof u=="number")return u?function(E,j){return Lr(x,[4,r,Oe(p,a,Hv(E,i(c,j)))],e)}:function(E){return Lr(x,[4,r,Oe(p,a,i(c,E))],e)};var _=u[1];return function(E){return Lr(x,[4,r,Oe(p,a,Hv(_,i(c,E)))],e)}}var y=t[1];if(typeof u=="number")return u?function(E,j,C){return Lr(x,[4,r,Oe(y,E,Hv(j,i(c,C)))],e)}:function(E,j){return Lr(x,[4,r,Oe(y,E,i(c,j))],e)};var S=u[1];return function(E,j){return Lr(x,[4,r,Oe(y,E,Hv(S,i(c,j)))],e)}}function hN(x,r,e,t,u){if(typeof t=="number")return function(a){return Lr(x,[4,r,u(a)],e)};if(t[0]===0){var i=t[2],c=t[1];return function(a){return Lr(x,[4,r,Oe(c,i,u(a))],e)}}var v=t[1];return function(a,p){return Lr(x,[4,r,Oe(v,a,u(p))],e)}}function Bl(x,r,e,t){for(var u=r,i=e,c=t;;){if(typeof c=="number")return u(i);switch(c[0]){case 0:var v=c[1];return function(S0){return Lr(u,[5,i,S0],v)};case 1:var a=c[1];return function(S0){x:{r:{if(40<=S0){if(S0===92){var cx=vz;break x}if(Yr>S0)break r}else{if(32<=S0){if(39>S0)break r;var cx=lz;break x}if(14>S0)switch(S0){case 8:var cx=pz;break x;case 9:var cx=kz;break x;case 10:var cx=mz;break x;case 13:var cx=hz;break x}}var q0=T2(4);Vr(q0,0,92),Vr(q0,1,48+(S0/et|0)|0),Vr(q0,2,48+((S0/10|0)%10|0)|0),Vr(q0,3,48+(S0%10|0)|0);var cx=A1(q0);break x}var yx=T2(1);Vr(yx,0,S0);var cx=A1(yx)}var Dx=Nx(cx),Ix=No(Dx+2|0,39);return Dc(cx,0,Ix,1,Dx),Lr(u,[4,i,A1(Ix)],a)};case 2:var p=c[2],_=c[1];return hN(u,i,p,_,function(S0){return S0});case 3:return hN(u,i,c[2],c[1],wb0);case 4:return ch(u,i,c[4],c[2],c[3],Tb0,c[1]);case 5:return ch(u,i,c[4],c[2],c[3],Eb0,c[1]);case 6:return ch(u,i,c[4],c[2],c[3],Sb0,c[1]);case 7:return ch(u,i,c[4],c[2],c[3],Ab0,c[1]);case 8:var y=c[4],S=c[3],E=c[2],j=c[1];if(typeof E=="number"){if(typeof S=="number")return S?function(S0,q0){return Lr(u,[4,i,Ps(j,S0,q0)],y)}:function(S0){return Lr(u,[4,i,Ps(j,kN(j),S0)],y)};var C=S[1];return function(S0){return Lr(u,[4,i,Ps(j,C,S0)],y)}}if(E[0]===0){var P=E[2],O=E[1];if(typeof S=="number")return S?function(S0,q0){return Lr(u,[4,i,Oe(O,P,Ps(j,S0,q0))],y)}:function(S0){return Lr(u,[4,i,Oe(O,P,Ps(j,kN(j),S0))],y)};var F=S[1];return function(S0){return Lr(u,[4,i,Oe(O,P,Ps(j,F,S0))],y)}}var K=E[1];if(typeof S=="number")return S?function(S0,q0,yx){return Lr(u,[4,i,Oe(K,S0,Ps(j,q0,yx))],y)}:function(S0,q0){return Lr(u,[4,i,Oe(K,S0,Ps(j,kN(j),q0))],y)};var U=S[1];return function(S0,q0){return Lr(u,[4,i,Oe(K,S0,Ps(j,U,q0))],y)};case 9:return hN(u,i,c[2],c[1],mb0);case 10:var i=[7,i],c=c[1];break;case 11:var i=[2,i,c[1]],c=c[2];break;case 12:var i=[3,i,c[1]],c=c[2];break;case 13:var V=c[3],Q=c[2],$=kq(16);mN($,Q);var x0=hq($);return function(S0){return Lr(u,[4,i,x0],V)};case 14:var e0=c[3],Z=c[2];return function(S0){var q0=S0[1],yx=a2(q0,C2(Q2(Z)));if(typeof yx[2]=="number")return Lr(u,i,E2(yx[1],e0));throw U0(m1,1)};case 15:var c0=c[1];return function(S0,q0){return Lr(u,[6,i,function(yx){return k(S0,yx,q0)}],c0)};case 16:var d0=c[1];return function(S0){return Lr(u,[6,i,S0],d0)};case 17:var i=[0,i,c[1]],c=c[2];break;case 18:var n0=c[1];if(n0[0]===0)var P0=c[2],h0=n0[1][1],g0=0,u=function(S0,q0,yx){return function(cx){return Lr(q0,[1,S0,[0,cx]],yx)}}(i,u,P0),i=g0,c=h0;else var v0=c[2],p0=n0[1][1],w0=0,u=function(S0,q0,yx){return function(cx){return Lr(q0,[1,S0,[1,cx]],yx)}}(i,u,v0),i=w0,c=p0;break;case 19:throw U0([0,Ar,hV],1);case 20:var T0=c[3],E0=[8,i,dV];return function(S0){return Lr(u,E0,T0)};case 21:var N0=c[2];return function(S0){return Lr(u,[4,i,zm(iL,S0)],N0)};case 22:var X0=c[1];return function(S0){return Lr(u,[5,i,S0],X0)};case 23:var A0=c[2],rx=c[1];if(typeof rx=="number")switch(rx){case 0:return x<50?u2(x+1|0,u,i,A0):l1(u2,[0,u,i,A0]);case 1:return x<50?u2(x+1|0,u,i,A0):l1(u2,[0,u,i,A0]);case 2:throw U0([0,Ar,yV],1);default:return x<50?u2(x+1|0,u,i,A0):l1(u2,[0,u,i,A0])}switch(rx[0]){case 0:return x<50?u2(x+1|0,u,i,A0):l1(u2,[0,u,i,A0]);case 1:return x<50?u2(x+1|0,u,i,A0):l1(u2,[0,u,i,A0]);case 2:return x<50?u2(x+1|0,u,i,A0):l1(u2,[0,u,i,A0]);case 3:return x<50?u2(x+1|0,u,i,A0):l1(u2,[0,u,i,A0]);case 4:return x<50?u2(x+1|0,u,i,A0):l1(u2,[0,u,i,A0]);case 5:return x<50?u2(x+1|0,u,i,A0):l1(u2,[0,u,i,A0]);case 6:return x<50?u2(x+1|0,u,i,A0):l1(u2,[0,u,i,A0]);case 7:return x<50?u2(x+1|0,u,i,A0):l1(u2,[0,u,i,A0]);case 8:return x<50?u2(x+1|0,u,i,A0):l1(u2,[0,u,i,A0]);case 9:var B=rx[2];return x<50?dN(x+1|0,u,i,B,A0):l1(dN,[0,u,i,B,A0]);case 10:return x<50?u2(x+1|0,u,i,A0):l1(u2,[0,u,i,A0]);default:return x<50?u2(x+1|0,u,i,A0):l1(u2,[0,u,i,A0])}default:var G0=c[3],W0=c[1],Y0=l(c[2],0);return x<50?yN(x+1|0,u,i,G0,W0,Y0):l1(yN,[0,u,i,G0,W0,Y0])}}}function dN(x,r,e,t,u){if(typeof t=="number")return x<50?u2(x+1|0,r,e,u):l1(u2,[0,r,e,u]);switch(t[0]){case 0:var i=t[1];return function(U){return it(r,e,i,u)};case 1:var c=t[1];return function(U){return it(r,e,c,u)};case 2:var v=t[1];return function(U){return it(r,e,v,u)};case 3:var a=t[1];return function(U){return it(r,e,a,u)};case 4:var p=t[1];return function(U){return it(r,e,p,u)};case 5:var _=t[1];return function(U){return it(r,e,_,u)};case 6:var y=t[1];return function(U){return it(r,e,y,u)};case 7:var S=t[1];return function(U){return it(r,e,S,u)};case 8:var E=t[2];return function(U){return it(r,e,E,u)};case 9:var j=t[3],C=t[2],P=i1(Q2(t[1]),C);return function(U){return it(r,e,Q1(P,j),u)};case 10:var O=t[1];return function(U,V){return it(r,e,O,u)};case 11:var F=t[1];return function(U){return it(r,e,F,u)};case 12:var K=t[1];return function(U){return it(r,e,K,u)};case 13:throw U0([0,Ar,gV],1);default:throw U0([0,Ar,_V],1)}}function u2(x,r,e,t){var u=[8,e,bV];return x<50?Bl(x+1|0,r,u,t):l1(Bl,[0,r,u,t])}function yN(x,r,e,t,u,i){if(u){var c=u[1];return function(a){return Ib0(r,e,t,c,l(i,a))}}var v=[4,e,i];return x<50?Bl(x+1|0,r,v,t):l1(Bl,[0,r,v,t])}function Lr(x,r,e){return xN(Bl(0,x,r,e))}function it(x,r,e,t){return xN(dN(0,x,r,e,t))}function Ib0(x,r,e,t,u){return xN(yN(0,x,r,e,t,u))}function Ns(x,r){for(var e=r;;){if(typeof e=="number")return;switch(e[0]){case 0:var t=e[1],u=dq(e[2]);return Ns(x,t),Ol(x,u);case 1:var i=e[2],c=e[1];if(i[0]===0){var v=i[1];Ns(x,c),Ol(x,wV);var e=v}else{var a=i[1];Ns(x,c),Ol(x,TV);var e=a}break;case 6:var p=e[2];return Ns(x,e[1]),l(p,x);case 7:Ns(x,e[1]),Rc(x);return;case 8:var _=e[2];return Ns(x,e[1]),B1(_);case 2:case 4:var y=e[2];return Ns(x,e[1]),Ol(x,y);default:var S=e[2];Ns(x,e[1]),YU(x,S);return}}}function Os(x,r){for(var e=r;;){if(typeof e=="number")return;switch(e[0]){case 0:var t=e[1],u=dq(e[2]);return Os(x,t),ar(x,u);case 1:var i=e[2],c=e[1];if(i[0]===0){var v=i[1];Os(x,c),ar(x,EV);var e=v}else{var a=i[1];Os(x,c),ar(x,SV);var e=a}break;case 6:var p=e[2];return Os(x,e[1]),ar(x,l(p,0));case 7:var e=e[1];break;case 8:var _=e[2];return Os(x,e[1]),B1(_);case 2:case 4:var y=e[2];return Os(x,e[1]),ar(x,y);default:var S=e[2];return Os(x,e[1]),ut(x,S)}}}function gq(x,r){var e=r[1],t=0;return Lr(function(u){return Ns(x,u),0},t,e)}function gN(x){return gq(Lc,x)}function yr(x){var r=x[1];return Lr(function(e){var t=Qr(64);return Os(t,e),R2(t)},0,r)}var _N=[0,0];function bN(x,r){var e=x[1+r];if(!(1-(typeof e=="number"?1:0)))return l(yr(oW),e);if(Po(e)===go)return l(yr(vW),e);if(Po(e)!==i8)return lW;for(var t=zP("%.12g",e),u=0,i=Nx(t);;){if(i<=u)return Bx(t,cz);var c=N2(t,u);x:{if(48<=c){if(58>c)break x}else if(c===45)break x;return t}var u=u+1|0}}function _q(x,r){if(x.length-1<=r)return BG;var e=_q(x,r+1|0),t=bN(x,r);return k(yr(XG),t,e)}function sh(x){x:{r:{for(var r=_N[1];r;){e:{var e=r[2],t=r[1];try{var u=l(t,x)}catch{break e}if(u)break r}var r=e}var i=0;break x}var i=[0,u[1]]}if(i)return i[1];if(x===rN)return eW;if(x===$U)return tW;if(x[1]===WU){var c=x[2],v=c[3],a=c[2],p=c[1];return I1(yr(tN),p,a,v,v+5|0,nW)}if(x[1]===Ar){var _=x[2],y=_[3],S=_[2],E=_[1];return I1(yr(tN),E,S,y,y+6|0,uW)}if(x[1]===Pl){var j=x[2],C=j[3],P=j[2],O=j[1];return I1(yr(tN),O,P,C,C+6|0,iW)}if(Po(x)!==0)return x[1];var F=x.length-1,K=x[1][1];if(2>>0)var U=_q(x,2),V=bN(x,1),Q=k(yr(fW),V,U);else switch(F){case 0:var Q=cW;break;case 1:var Q=sW;break;default:var $=bN(x,1),Q=l(yr(aW),$)}return Bx(K,Q)}function wN(x,r){var e=TY(r),t=e.length-1-1|0,u=0;if(t>=0)for(var i=u;;){var c=$2(e,i)[1+i],v=function(U){return function(V){return V?U===0?GG:WG:U===0?$G:HG}}(i);if(c[0]===0)var a=c[5],p=c[4],_=c[3],y=c[6]?QG:ZG,S=c[2],E=c[7],j=v(c[1]),P=[0,uz(yr(xW),j,E,S,y,_,p,a)];else if(c[1])var P=0;else var C=v(0),P=[0,l(yr(rW),C)];if(P){var O=P[1];l(gq(x,VG),O)}var F=i+1|0;if(t===i)break;var i=F}}function bq(x){for(;;){var r=_N[1],e=1-nN(_N,r,[0,x,r]);if(!e)return e}}var jb0=pW.slice(),Pb0=[0];ZP(cR,function(x,r){try{try{var e=r?Pb0:RU(0);try{iN(R)}catch{}try{var t=sh(x);l(gN(zG),t),wN(Lc,e);var u=MY(0);if(u<0){var i=rh(u);ZU($2(jb0,i)[1+i])}var c=Rc(Lc),v=c}catch(E){var a=O2(E),p=sh(x);l(gN(JG),p),wN(Lc,e);var _=sh(a);l(gN(KG),_),wN(Lc,RU(0));var v=Rc(Lc)}var y=v}catch(E){var S=O2(E);if(S!==rN)throw U0(S,0);var y=ZU(YG)}return y}catch{return 0}});var TN=[x2,DW,Ts(0)],ah=0,wq=-1;function Xl(x,r){return x[13]=x[13]+r[3]|0,vN(r,x[28])}var Tq=1000000010;function EN(x,r){return B0(x[17],r,0,Nx(r))}function oh(x){return l(x[19],0)}function Eq(x,r,e){x[9]=x[9]-r|0,EN(x,e),x[11]=0}function vh(x,r){var e=I(r,H0);return e&&Eq(x,Nx(r),r)}function Co(x,r,e){var t=r[3],u=r[2];vh(x,r[1]),oh(x),x[11]=1;var i=(x[6]-e|0)+u|0,c=x[8],v=c<=i?c:i;return x[10]=v,x[9]=x[6]-x[10]|0,l(x[21],x[10]),vh(x,t)}function Sq(x,r){return Co(x,CW,r)}function Qv(x,r){var e=r[2],t=r[3];return vh(x,r[1]),x[9]=x[9]-e|0,l(x[20],e),vh(x,t)}function Nb0(x,r,e){if(typeof e=="number")switch(e){case 0:var t=Wv(x[3]);if(!t)return;var u=t[1][1],i=function(Y0,V0){if(!V0)return[0,Y0,0];var ex=V0[1],Q0=V0[2];return LY(Y0,ex)?[0,Y0,V0]:[0,ex,i(Y0,Q0)]};u[1]=i(x[6]-x[9]|0,u[1]);return;case 1:Gv(x[2]);return;case 2:Gv(x[3]);return;case 3:var c=Wv(x[2]);return c?Sq(x,c[1][2]):oh(x);case 4:var v=x[10]!==(x[6]-x[9]|0)?1:0;if(!v)return v;var a=x[28],p=a[2];if(p){var _=p[1];if(p[2]){var y=p[2];a[1]=a[1]-1|0,a[2]=y;var S=[0,_]}else{oN(a);var S=[0,_]}}else var S=0;if(!S)return;var E=S[1],j=E[1];x[12]=x[12]-E[3]|0,x[9]=x[9]+j|0;return;default:var C=Gv(x[5]);return C?EN(x,l(x[25],C[1])):void 0}switch(e[0]){case 0:return Eq(x,r,e[1]);case 1:var P=e[2],O=e[1],F=P[1],K=P[2],U=Wv(x[2]);if(!U)return;var V=U[1],Q=V[2];switch(V[1]){case 0:return Qv(x,O);case 1:return Co(x,P,Q);case 2:return Co(x,P,Q);case 3:return x[9]<(r+Nx(F)|0)?Co(x,P,Q):Qv(x,O);case 4:return x[11]?Qv(x,O):x[9]<(r+Nx(F)|0)||((x[6]-Q|0)+K|0)h0){var n0=g0;continue}var v0=h0}else var v0=P0;var p0=v0;break}else var p0=$;var w0=p0-$|0;return 0<=w0?Qv(x,[0,PW,w0+e0|0,jW]):Co(x,[0,OW,p0+x0|0,NW],x[6]);case 3:var T0=e[2],E0=e[1];if(x[8]<(x[6]-x[9]|0)){var N0=Wv(x[2]);if(N0){var X0=N0[1],A0=X0[2],rx=X0[1];x[9]=rx-1>>>0&&Sq(x,A0)}else oh(x)}var B=x[9]-E0|0,G0=T0===1?1:x[9]=x[14]);)Oq(x,R);return x[13]=Tq,Aq(x),r&&oh(x),x[12]=1,x[13]=1,oN(x[28]),SN(x[1]),Ul(x[2]),Ul(x[3]),Ul(x[4]),Ul(x[5]),x[10]=0,x[14]=0,x[9]=x[6],Nq(x,0,3)}function jN(x,r,e){var t=x[14]=e)return B0(x[17],Rq,0,e);B0(x[17],Rq,0,80);var e=e+ZR|0}}function Ob0(x){return x[1]===TN?Bx(_W,Bx(x[2],gW)):bW}function Cb0(x){return x[1]===TN?Bx(dW,Bx(x[2],hW)):yW}function Db0(x){return 0}function Rb0(x){return 0}function Lq(x,r){function e(S){return 0}function t(S){return 0}function u(S){return 0}var i=lq(R),c=[0,wq,kW,0];vN(c,i);var v=Ml(R);SN(v),Oo([0,1,c],v);var a=Ml(R),p=Ml(R),_=Ml(R),y=[0,v,Ml(R),_,p,a,78,10,68,78,0,1,1,1,1,kb0,mW,x,r,u,t,e,0,0,Ob0,Cb0,Db0,Rb0,i];return y[19]=function(S){return B0(y[17],wW,0,1)},y[20]=function(S){return Fq(y,S)},y[21]=function(S){return Fq(y,S)},y}function Mq(x){function r(e){return Rc(x)}return Lq(function(e,t,u){return 0<=t&&0<=u&&(Nx(e)-u|0)>=t?HP(x,e,t,u):B1(fz)},r)}function PN(x){function r(e){return 0}return Lq(function(e,t,u){return pq(x,e,t,u)},r)}var Fb0=g_;function Uq(x){return Qr(Fb0)}var Lb0=Uq(R),Mb0=Mq(hb0),Ub0=Mq(Lc);PN(Lb0);function qq(x,r){var e=Qr(16),t=PN(e);x(t,r),Kl(t,R);var u=e[2];if(2>u)return R2(e);var i=u-2|0,c=1;return 0<=i&&(e[2]-i|0)>=1?Vv(e[1],c,i):B1(Lz)}function Ce(x,r){if(typeof r!="number"){x:{r:{e:{switch(r[0]){case 0:var e=r[2];if(Ce(x,r[1]),typeof e=="number")switch(e){case 0:return Oq(x,R);case 1:return Cq(x,R);case 2:return Kl(x,R);case 3:var t=x[14]>>0)break;var $=$+1|0}break t}var x0=k1(O,Q,$-Q|0),e0=V($);t:n:{for(var Z=e0;;){if(Z===K)break n;var c0=N2(O,Z);if(48<=c0){if(58<=c0)break}else if(c0!==45)break;var Z=Z+1|0}break t}if(e0===Z)var d0=0;else try{var n0=tt(k1(O,e0,Z-e0|0)),d0=n0}catch(Dx){var P0=O2(Dx);if(P0[1]!==Qt)throw U0(P0,0);var d0=U(R)}V(Z)!==K&&U(R);t:{if(I(x0,H0)&&I(x0,QT)){if(!I(x0,"h")){var h0=0;break t}if(!I(x0,"hov")){var h0=3;break t}if(!I(x0,"hv")){var h0=2;break t}if(I(x0,BR)){var h0=U(R);break t}var h0=1;break t}var h0=4}var F=[0,d0,h0]}return Nq(x,F[1],F[2]);case 2:var g0=r[1];if(typeof g0!="number"&&g0[0]===0){var v0=g0[2];if(typeof v0!="number"&&v0[0]===1){var p0=r[2],w0=v0[2],T0=g0[1];break r}}var W0=r[2],Y0=g0;break x;case 3:var E0=r[1];if(typeof E0!="number"&&E0[0]===0){var N0=E0[2];if(typeof N0!="number"&&N0[0]===1){var X0=r[2],A0=N0[2],rx=E0[1];break}}var Q0=r[2],S0=E0;break e;case 4:var B=r[1];if(typeof B!="number"&&B[0]===0){var G0=B[2];if(typeof G0!="number"&&G0[0]===1){var p0=r[2],w0=G0[2],T0=B[1];break r}}var W0=r[2],Y0=B;break x;case 5:var V0=r[1];if(typeof V0!="number"&&V0[0]===0){var ex=V0[2];if(typeof ex!="number"&&ex[0]===1){var X0=r[2],A0=ex[2],rx=V0[1];break}}var Q0=r[2],S0=V0;break e;case 6:var q0=r[2];return Ce(x,r[1]),l(q0,x);case 7:return Ce(x,r[1]),Kl(x,R);default:var yx=r[2];return Ce(x,r[1]),B1(yx)}return Ce(x,rx),jN(x,A0,nh(1,X0))}return Ce(x,S0),Jl(x,Q0)}return Ce(x,T0),jN(x,w0,p0)}return Ce(x,Y0),lh(x,W0)}}function e2(x){return function(r){var e=r[1],t=0;return Lr(function(u){return Ce(x,u),0},t,e)}}for(;;){var Bq=uN[1],qb0=[0,1];if(!(1-nN(uN,Bq,function(x,r){return function(e){return nN(x,1,0)&&(Kl(Mb0,R),Kl(Ub0,R)),l(r,0)}}(qb0,Bq))))break}var Bb0=2;function Xb0(x){var r=[0,0],e=Nx(x)-1|0,t=0;if(e>=0)for(var u=t;;){var i=N2(x,u);r[1]=(ak*r[1]|0)+i|0;var c=u+1|0;if(e===u)break;var u=c}r[1]=r[1]&$D;var v=1073741823=0)for(var c=i;;){var v=(c*2|0)+3|0,a=$2(x,c)[1+c];$2(e,v)[1+v]=a;var p=c+1|0;if(u===c)break;var c=p}return[0,Bb0,e,Do[1],pa[1],0,0,Cs[1],0]}function NN(x,r){var e=x[2].length-1;if(e=0&&(t.length-1-e|0)>=0){tY(u,0,t,0,e);break x}B1(Sz)}x[2]=t}}var Kb0=[0,0];function ON(x){var r=x[2].length-1;return NN(x,r+1|0),r}function Yl(x,r){try{var e=Do[28].call(null,r,x[3]);return e}catch(i){var t=O2(i);if(t!==Fc)throw U0(t,0);var u=ON(x);return x[3]=Do[4].call(null,r,u,x[3]),x[4]=pa[4].call(null,u,1,x[4]),u}}function CN(x,r){return uh(function(e){return Yl(x,e)},r)}function Yq(x,r,e){if(Kb0[1]++,pa[28].call(null,r,x[4])){NN(x,r+1|0),$2(x[2],r)[1+r]=e;return}x[6]=[0,[0,r,e],x[6]]}function DN(x){if(x===0)return 0;for(var r=x.length-1-1|0,e=0;;){if(0>r)return e;var t=[0,x[1+r],e],r=r-1|0,e=t}}function RN(x,r){try{var e=Cs[28].call(null,r,x[7]);return e}catch(i){var t=O2(i);if(t!==Fc)throw U0(t,0);var u=x[1];return x[1]=u+1|0,I(r,H0)&&(x[7]=Cs[4].call(null,r,u,x[7])),u}}function FN(x){return Xv(x,0)?[0]:x}function LN(x,r,e,t,u,i){var c=u[2],v=u[4],a=DN(r),p=DN(e),_=DN(t),y=xn(function(v0){return Yl(x,v0)},p),S=xn(function(v0){return Yl(x,v0)},_);x[5]=[0,[0,x[3],x[4],x[6],x[7],y,a],x[5]];var E=Cs[1],j=x[7];function C(v0,p0,w0){return sN(v0,a)?Cs[4].call(null,v0,p0,w0):w0}x[7]=Cs[13].call(null,C,j,E);var P=[0,Do[1]],O=[0,pa[1]];tq(function(v0,p0){P[1]=Do[4].call(null,v0,p0,P[1]);var w0=O[1];try{var T0=pa[28].call(null,p0,x[4]),E0=T0}catch(X0){var N0=O2(X0);if(N0!==Fc)throw U0(N0,0);var E0=1}O[1]=pa[4].call(null,p0,E0,w0)},_,S),tq(function(v0,p0){P[1]=Do[4].call(null,v0,p0,P[1]),O[1]=pa[4].call(null,p0,0,O[1])},p,y),x[3]=P[1],x[4]=O[1];var F=0,K=x[6];x[6]=fN(function(v0,p0){return sN(v0[1],y)?p0:[0,v0,p0]},K,F);var U=i?l(c(x),v):c(x),V=Dl(x[5]),Q=V[6],$=V[5],x0=V[4],e0=V[3],Z=V[2],c0=V[1];x[5]=eq(x[5]),x[7]=u1(function(v0,p0){var w0=Cs[28].call(null,p0,x[7]);return Cs[4].call(null,p0,w0,v0)},x0,Q),x[3]=c0,x[4]=Z;var d0=x[6];x[6]=fN(function(v0,p0){return sN(v0[1],$)?p0:[0,v0,p0]},d0,e0);var n0=0,P0=FN(t),h0=[0,uh(function(v0){var p0=Yl(x,v0);try{for(var w0=x[6];;){if(!w0)throw U0(Fc,1);var T0=w0[1],E0=w0[2],N0=T0[2];if(CU(T0[1],p0)===0)return N0;var w0=E0}}catch(A0){var X0=O2(A0);if(X0===Fc)return $2(x[2],p0)[1+p0];throw U0(X0,0)}},P0),n0],g0=FN(r);return nY([0,[0,U],[0,uh(function(v0){try{var p0=Cs[28].call(null,v0,x[7]);return p0}catch(T0){var w0=O2(T0);throw w0===Fc?U0([0,Ar,RW],1):U0(w0,0)}},g0),h0]])}function ph(x,r){if(x===0)var e=Kq([0]);else{var t=Kq(uh(Xb0,x)),u=x.length-1-1|0,i=0;if(u>=0)for(var c=i;;){var v=(c*2|0)+2|0;t[3]=Do[4].call(null,x[1+c],v,t[3]),t[4]=pa[4].call(null,v,1,t[4]);var a=c+1|0;if(u===c)break;var c=a}var e=t}var p=r(e);return e[8]=vx(e[8]),NN(e,3+(($2(e[2],1)[2]*16|0)/32|0)|0),[0,l(p,0),r,,0]}function kh(x,r){if(x)return x;var e=QP(x2,r[1]);return e[1]=r[2],$Y(e)}function MN(x,r,e){if(x)return r;var t=e[8];if(t!==0)for(var u=t;u;){var i=u[2];l(u[1],r);var u=i}return r}function mh(x){var r=ON(x);x:{if(r%2|0&&(2+(($2(x[2],1)[2]*16|0)/32|0)|0)>=r){var e=ON(x);break x}var e=r}return $2(x[2],e)[1+e]=0,e}function UN(x,r){for(var e=[0,0],t=r.length-1;;){if(e[1]>=t)return;var u=e[1],i=$2(r,u)[1+u],c=function(Ur){e[1]++;var px=e[1];return $2(r,px)[1+px]},v=c(R);if(typeof v=="number")switch(v){case 0:var a=c(R),Yx=function(px){return function(w){return px}}(a);break;case 1:var p=c(R),Yx=function(px){return function(w){return w[1+px]}}(p);break;case 2:var _=c(R),y=c(R),Yx=function(px,w){return function(L){return L[1+px][1+w]}}(_,y);break;case 3:var S=c(R),Yx=function(px){return function(w){return l(w[1][1+px],w)}}(S);break;case 4:var E=c(R),Yx=function(px){return function(w,L){return w[1+px]=L,0}}(E);break;case 5:var j=c(R),C=c(R),Yx=function(px,w){return function(L){return l(px,w)}}(j,C);break;case 6:var P=c(R),O=c(R),Yx=function(px,w){return function(L){return l(px,L[1+w])}}(P,O);break;case 7:var F=c(R),K=c(R),U=c(R),Yx=function(px,w,L){return function(L0){return l(px,L0[1+w][1+L])}}(F,K,U);break;case 8:var V=c(R),Q=c(R),Yx=function(px,w){return function(L){return l(px,l(L[1][1+w],L))}}(V,Q);break;case 9:var $=c(R),x0=c(R),e0=c(R),Yx=function(px,w,L){return function(L0){return k(px,w,L)}}($,x0,e0);break;case 10:var Z=c(R),c0=c(R),d0=c(R),Yx=function(px,w,L){return function(L0){return k(px,w,L0[1+L])}}(Z,c0,d0);break;case 11:var n0=c(R),P0=c(R),h0=c(R),g0=c(R),Yx=function(px,w,L,L0){return function(sx){return k(px,w,sx[1+L][1+L0])}}(n0,P0,h0,g0);break;case 12:var v0=c(R),p0=c(R),w0=c(R),Yx=function(px,w,L){return function(L0){return k(px,w,l(L0[1][1+L],L0))}}(v0,p0,w0);break;case 13:var T0=c(R),E0=c(R),N0=c(R),Yx=function(px,w,L){return function(L0){return k(px,L0[1+w],L)}}(T0,E0,N0);break;case 14:var X0=c(R),A0=c(R),rx=c(R),B=c(R),Yx=function(px,w,L,L0){return function(sx){return k(px,sx[1+w][1+L],L0)}}(X0,A0,rx,B);break;case 15:var G0=c(R),W0=c(R),Y0=c(R),Yx=function(px,w,L){return function(L0){return k(px,l(L0[1][1+w],L0),L)}}(G0,W0,Y0);break;case 16:var V0=c(R),ex=c(R),Yx=function(px,w){return function(L){return k(L[1][1+px],L,w)}}(V0,ex);break;case 17:var Q0=c(R),S0=c(R),Yx=function(px,w){return function(L){return k(L[1][1+px],L,L[1+w])}}(Q0,S0);break;case 18:var q0=c(R),yx=c(R),cx=c(R),Yx=function(px,w,L){return function(L0){return k(L0[1][1+px],L0,L0[1+w][1+L])}}(q0,yx,cx);break;case 19:var Dx=c(R),Ix=c(R),Yx=function(px,w){return function(L){var L0=l(L[1][1+w],L);return k(L[1][1+px],L,L0)}}(Dx,Ix);break;case 20:var Xx=c(R),Z0=c(R);mh(x);var Yx=function(px,w){return function(L){return l(Wx(w,px,0),w)}}(Xx,Z0);break;case 21:var rr=c(R),xr=c(R);mh(x);var Yx=function(px,w){return function(L){var L0=L[1+w];return l(Wx(L0,px,0),L0)}}(rr,xr);break;case 22:var fr=c(R),Hx=c(R),Y=c(R);mh(x);var Yx=function(px,w,L){return function(L0){var sx=L0[1+w][1+L];return l(Wx(sx,px,0),sx)}}(fr,Hx,Y);break;default:var jx=c(R),hr=c(R);mh(x);var Yx=function(px,w){return function(L){var L0=l(L[1][1+w],L);return l(Wx(L0,px,0),L0)}}(jx,hr)}else var Yx=v;Yq(x,i,Yx),e[1]++}}function zq(x,r){var e=r.length-1,t=QP(0,e),u=e-1|0,i=0;if(u>=0)for(var c=i;;){var v=$2(r,c)[1+c];if(typeof v=="number")switch(v){case 0:var _=function(j){function C(P){var O=t[1+j];if(C===O)throw U0([0,Pl,x],1);return l(O,P)}return C}(c);break;case 1:var a=[];m0(a,[Pk,function(j,C){return function(P){var O=t[1+C];if(j===O)throw U0([0,Pl,x],1);var F=Po(O);if(Mv===F)return O[1];if(Pk!==F)return O;var K=O[1];O[1]=gb0;try{var U=l(K,0);return GY(O,U),U}catch(Q){var V=O2(Q);throw O[1]=function($){throw U0(V,0)},U0(V,0)}}}(a,c)]);var _=a;break;default:var p=function(j){throw U0([0,Pl,x],1)},_=[0,p,p,p,0]}else var _=v[0]===0?zq(x,v[1]):v[1];t[1+c]=_;var y=c+1|0;if(u===c)break;var c=y}return t}function Vq(x,r,e){if(Po(e)===0&&x.length-1<=e.length-1){var t=x.length-1-1|0,u=0;if(t>=0)for(var i=u;;){var c=e[1+i],v=$2(x,i)[1+i];x:if(typeof v=="number"){if(v===2){if(Po(c)===0&&c.length-1===4){for(var a=0,p=r[1+i];;){p[1+a]=c[1+a];var _=a+1|0;if(a===3)break;var a=_}break x}throw U0([0,Ar,FW],1)}r[1+i]=c}else v[0]===0&&Vq(v[1],r[1+i],c);var y=i+1|0;if(t===i)break;var i=y}return}throw U0([0,Ar,LW],1)}try{zU("TMPDIR")}catch(x){var Gq=O2(x);if(Gq!==Fc)throw U0(Gq,0)}try{zU("TEMP")}catch(x){var Wq=O2(x);if(Wq!==Fc)throw U0(Wq,0)}I(xq,IM)&&I(xq,"Win32");function Mc(x,r){function e(t){return ut(x,t)}return el<=r?(e(po|r>>>18|0),e(y2|(r>>>12|0)&63),e(y2|(r>>>6|0)&63),e(y2|r&63)):kj<=r?(e(Tv|r>>>12|0),e(y2|(r>>>6|0)&63),e(y2|r&63)):y2<=r?(e(dv|r>>>6|0),e(y2|r&63)):e(r)}var ka=[x2,qW,Ts(0)],$q=0,Hq=0,Qq=0,Zq=0,xB=0,rB=0,eB=0,tB=0,nB=0,uB=0;function h(x){if(x[3]===x[2])return-1;var r=x[1][1+x[3]];return x[3]=x[3]+1|0,r===10&&(x[5]!==0&&(x[5]=x[5]+1|0),x[4]=x[3]),r}function z(x,r){x[9]=x[3],x[10]=x[4],x[11]=x[5],x[12]=r}function kr(x){return x[6]=x[3],x[7]=x[4],x[8]=x[5],z(x,-1)}function d(x){return x[3]=x[9],x[4]=x[10],x[5]=x[11],x[12]}function Zv(x){x[3]=x[6],x[4]=x[7],x[5]=x[8]}function qN(x,r){x[6]=r}function hh(x){return x[3]-x[6]|0}function i2(x){var r=x[3]-x[6]|0,e=x[6],t=x[1];return 0<=e&&0<=r&&(t.length-1-r|0)>=e?uY(t,e,r):B1(Az)}function iB(x){var r=x[6];return $2(x[1],r)[1+r]}function zl(x,r,e,t){for(var u=[0,r],i=[0,e],c=[0,0];;){if(0>=i[1])return c[1];var v=x[1+u[1]];if(0>v)throw U0(ka,1);if(Yr>>18|0),Vr(t,c[1]+1|0,y2|(v>>>12|0)&63),Vr(t,c[1]+2|0,y2|(v>>>6|0)&63),Vr(t,c[1]+3|0,y2|v&63),c[1]=c[1]+4|0}else Vr(t,c[1],Tv|v>>>12|0),Vr(t,c[1]+1|0,y2|(v>>>6|0)&63),Vr(t,c[1]+2|0,y2|v&63),c[1]=c[1]+3|0;else Vr(t,c[1],dv|v>>>6|0),Vr(t,c[1]+1|0,y2|v&63),c[1]=c[1]+2|0;else Vr(t,c[1],v),c[1]++;u[1]++,i[1]+=-1}}function fB(x){for(var r=Nx(x),e=Jv(r,0),t=[0,0],u=[0,0];;){if(t[1]>=r)return[0,e,u[1],uB,nB,tB,eB,rB,xB,Zq,Qq,Hq,$q];var i=F0(x,t[1]);x:{if(dv<=i){if(po>i){if(Tv>i){var c=F0(x,t[1]+1|0);if((c>>>6|0)!==2)throw U0(ka,1);e[1+u[1]]=(i&31)<<6|c&63,t[1]=t[1]+2|0;break x}var v=F0(x,t[1]+1|0),a=F0(x,t[1]+2|0),p=(i&15)<<12|(v&63)<<6|a&63,_=(v>>>6|0)!==2?1:0,y=_||((a>>>6|0)!==2?1:0);if(y)var E=y;else var S=55296<=p?1:0,E=S&&(p<=57343?1:0);if(E)throw U0(ka,1);e[1+u[1]]=p,t[1]=t[1]+3|0;break x}if(x2>i){var j=F0(x,t[1]+1|0),C=F0(x,t[1]+2|0),P=F0(x,t[1]+3|0),O=(j>>>6|0)!==2?1:0;if(O)var K=O;else var F=(C>>>6|0)!==2?1:0,K=F||((P>>>6|0)!==2?1:0);if(K)throw U0(ka,1);var U=(i&7)<<18|(j&63)<<12|(C&63)<<6|P&63;if(d8i){e[1+u[1]]=i,t[1]++;break x}throw U0(ka,1)}u[1]++}}function Vl(x,r,e){var t=x[6]+r|0,u=T2(e*4|0),i=x[1];if((t+e|0)<=i.length-1)return Vv(u,0,zl(i,t,e,u));throw U0([0,Ar,UW],1)}function Ox(x){var r=x[6],e=x[3]-r|0,t=T2(e*4|0);return Vv(t,0,zl(x[1],r,e,t))}function dh(x,r){var e=x[6],t=x[3]-e|0,u=T2(t*4|0);return pN(r,u,0,zl(x[1],e,t,u))}function Gl(x){var r=x.length-1,e=T2(r*4|0);return Vv(e,0,zl(x,0,r,e))}function cB(x,r){x[3]=x[3]-r|0}function Uc(x){return typeof x=="number"?0:x[0]===0?1:x[1]}function Ro(x,r,e,t){var u=Uc(x),i=Uc(t),c=i<=u?u+1|0:i+1|0;return c===1?[0,r,e]:[1,c,r,e,x,t]}function yh(x,r,e,t){var u=Uc(x),i=Uc(t),c=i<=u?u+1|0:i+1|0;return[1,c,r,e,x,t]}function sB(x,r,e,t){var u=Uc(x),i=Uc(t);if((i+2|0)=i)return Ro(x,r,e,t);var C=t[5],P=t[4],O=t[3],F=t[2],K=Uc(P);if(K<=Uc(C))return yh(Ro(x,r,e,P),F,O,C);var U=P[4],V=P[3],Q=P[2],$=Ro(P[5],F,O,C);return yh(Ro(x,r,e,U),Q,V,$)}var Yb0=0;function ma(x){return typeof x=="number"?0:x[0]===0?1:x[1]}function Ds(x,r,e){x:{r:{if(typeof x=="number"){if(typeof e=="number")return[0,r];if(e[0]===1)break r}else{if(x[0]!==0){var t=x[1];if(typeof e!="number"&&e[0]===1){var u=e[1],i=u<=t?t+1|0:u+1|0;return[1,i,r,x,e]}var c=t;break x}if(typeof e!="number"&&e[0]===1)break r}return[1,2,r,x,e]}var c=e[1]}return[1,c+1|0,r,x,e]}function gh(x,r,e){var t=ma(x),u=ma(e),i=u<=t?t+1|0:u+1|0;return[1,i,r,x,e]}function aB(x,r,e){var t=ma(x),u=ma(e);if((u+2|0)=u)return Ds(x,r,e);var S=e[4],E=e[3],j=e[2],C=ma(E);if(C<=ma(S))return gh(Ds(x,r,E),j,S);var P=E[3],O=E[2],F=Ds(E[4],j,S);return gh(Ds(x,r,P),O,F)}var BN=0;function oB(x){function r(e,t){if(typeof t=="number")return[0,e];if(t[0]===0){var u=t[1],i=k(x[1],e,u);return i===0?t:0<=i?Ds(t,e,BN):Ds([0,e],u,BN)}var c=t[4],v=t[3],a=t[2],p=k(x[1],e,a);if(p===0)return t;if(0<=p){var _=r(e,c);return c===_?t:aB(v,a,_)}var y=r(e,v);return v===y?t:aB(y,a,c)}return[0,BN,,function(e,t){for(var u=t;;){if(typeof u=="number")return 0;if(u[0]===0)return k(x[1],e,u[1])===0?1:0;var i=u[4],c=u[3],v=k(x[1],e,u[2]),a=v===0?1:0;if(a)return a;var p=0<=v?i:c,u=p}},r]}function vB(x){switch(x[0]){case 0:return 1;case 1:return 2;case 2:return 2;default:return 3}}function Cx(x,r){if(!r)return r;var e=r[1],t=l(x,e);return e===t?r:[0,t]}function R0(x,r,e,t,u){var i=k(x,r,e);return e===i?t:u(i)}function I0(x,r,e,t){var u=l(x,r);return r===u?e:t(u)}function X2(x,r){var e=r[1],t=r[2];return R0(x,e,t,r,function(u){return[0,e,u]})}function lB(x,r){return Cx(function(e){var t=e[1],u=e[2];return R0(x,t,u,e,function(i){return[0,t,i]})},r)}function wr(x,r){var e=u1(function(u,i){var c=u[2],v=u[1],a=l(x,i),p=c||(a!==i?1:0);return[0,[0,a,v],p]},h$,r),t=e[1];return e[2]?vx(t):r}var XN=ph(y$,function(x){var r=CN(x,d$),e=r[1],t=r[2],u=r[3],i=r[4],c=r[5],v=r[6],a=r[7],p=r[8],_=r[9],y=r[10],S=r[11],E=r[12],j=r[13],C=r[14],P=r[15],O=r[16],F=r[17],K=r[18],U=r[19],V=r[20],Q=r[21],$=r[22],x0=r[23],e0=r[24],Z=r[25],c0=r[26],d0=r[27],n0=r[28],P0=r[29],h0=r[30],g0=r[31],v0=r[32],p0=r[33],w0=r[34],T0=r[35],E0=r[36],N0=r[37],X0=r[38],A0=r[39],rx=r[40],B=r[41],G0=r[42],W0=r[43],Y0=r[44],V0=r[45],ex=r[46],Q0=r[47],S0=r[48],q0=r[49],yx=r[50],cx=r[51],Dx=r[52],Ix=r[53],Xx=r[54],Z0=r[55],rr=r[56],xr=r[57],fr=r[59],Hx=r[60],Y=r[61],jx=r[62],hr=r[63],Yx=r[64],Ur=r[65],px=r[66],w=r[67],L=r[68],L0=r[69],sx=r[70],lx=r[71],ax=r[72],Vx=r[73],_x=r[74],zx=r[75],Lx=r[76],M0=r[77],qr=r[78],Ex=r[79],$0=r[80],Gx=r[81],j0=r[82],cr=r[83],tx=r[84],Mx=r[85],b2=r[86],Ux=r[87],c1=r[88],Rr=r[89],U2=r[90],g=r[91],G=r[92],H=r[93],l0=r[94],J=r[95],s0=r[96],_0=r[97],y0=r[98],J0=r[99],Rx=r[et],kx=r[yt],Jx=r[S1],gr=r[Ze],Zx=r[_t],er=r[gt],Fr=r[z2],hx=r[$f],z1=r[R7],Ks=r[Ni],un=r[j2],fn=r[zt],Go=r[ue],Wo=r[Dr],$o=r[ia],Na=r[Ov],Ho=r[ua],st=r[B3],Ys=r[kv],Oa=r[Ev],Ca=r[of],at=r[rl],Gc=r[r2],_r=r[Vt],Da=r[Cv],Ra=r[ms],Qo=r[Bp],Fa=r[Yr],zs=r[y2],La=r[dl],Vs=r[kl],ot=r[_4],K2=r[hl],Wc=r[HD],cn=r[DL],Gs=r[aU],Ma=r[qF],Ws=r[LR],Ua=r[M_],qa=r[_F],Ba=r[mM],vt=r[141],Xa=r[142],Ja=r[143],Zo=r[144],xv=r[145],y3=r[146],sn=r[147],rv=r[148],an=r[SL],Ka=r[xL],O6=r[151],$s=r[152],C6=r[153],D6=r[154],Xd=r[155],Jd=r[156],Kd=r[157],R6=r[158],F6=r[159],L6=r[WF],g3=r[pT],Yd=r[KF],zd=r[RM],X=r[gF],A=r[oj],D=r[RF],u0=r[eM],k0=r[Mb],C0=r[v8],nx=r[Wp],Sx=r[Ly],Px=r[LF],qx=r[FL],lr=r[uU],tr=r[nR],br=r[Eb],pr=r[wR],ur=r[fI],Tr=r[qD],Br=r[VF],Or=r[PP],Wr=r[n9],Pr=r[vj],t2=r[tm],p2=r[tF],o2=r[P4],n2=r[uE],c2=r[_L],w2=r[Fw],k2=r[bR],v2=r[fL],q2=r[dv],s1=r[KR],O1=r[T9],xe=r[XR],sr=r[RL],Xr=r[pR],Cr=r[ZM],Jr=r[pL],bx=r[AP],le=r[KD],pe=r[sM],Re=r[$M],b1=r[$R],$r=r[qM],re=r[Qb],x1=r[sU],C1=r[hM],w1=r[jR],lt=r[rU],Rt=r[k_],Fe=r[eL],D1=r[MD],Le=r[tM],ke=r[Db],ee=r[$I],a1=r[LL],Me=r[BM],V1=r[fM],Ft=r[PL],Ue=r[HF],qe=r[WD],r1=r[ak],T1=r[Tv],Be=r[IL],$c=r[UF],Hc=r[eU],Qc=r[jL],me=r[bM],Xe=r[OF],Lt=r[cL],Je=r[oU],E1=r[wF],on=r[pU],vn=r[OM],Zc=r[YM],Ke=r[UL],Ye=r[oF],ln=r[Gk],pn=r[po],he=r[FD],kn=r[dM],Hs=r[YL],xs=r[NI],Qs=r[MF],Ya=r[Pk],za=r[xl],ev=r[x2],tv=r[vy],nv=r[Mv],Zs=r[bL],_3=r[go],b3=r[i8],rs=r[Pv],Va=r[m4],uv=r[gv],w3=r[257],es=r[lL],iv=r[o_],fv=r[WR],xa=r[261],T3=r[TF],E3=r[263],S3=r[264],mn=r[265],A3=r[266],I3=r[WM],hn=r[VM],ts=r[269],j3=r[270],P3=r[271],Ga=r[HL],Wa=r[273],$a=r[kL],cv=r[275],Mt=r[276],de=r[277],te=r[pM],pt=r[279],ra=r[280],N3=r[sy],ea=r[282],ns=r[gL],ye=r[zF],sv=r[285],O3=r[286],Vd=r[287],Gd=r[KM],Wd=r[289],$d=r[mR],M6=r[PR],DC=r[58];function RC(n,s,f){var o=f[2],m=f[1],b=f[4],T=f[3],N=Cx(l(n[1][1+bx],n),m),q=k(n[1][1+B],n,o);return o===q&&m===N?f:[0,N,q,T,b]}function FC(n,s,f){var o=f[4],m=f[3],b=f[2],T=f[1],N=k(n[1][1+pt],n,T),q=Cx(l(n[1][1+F],n),b),i0=k(n[1][1+n0],n,m),o0=k(n[1][1+B],n,o);return T===N&&m===i0&&b===q&&o===o0?f:[0,N,q,i0,o0]}function LC(n,s,f){var o=f[3],m=f[2],b=f[1],T=k(n[1][1+bx],n,b),N=k(n[1][1+q0],n,m),q=k(n[1][1+B],n,o);return b===T&&m===N&&o===q?f:[0,T,N,q]}function MC(n,s,f){var o=f[3],m=f[2],b=f[1],T=k(n[1][1+Hx],n,b),N=k(n[1][1+q0],n,m),q=k(n[1][1+B],n,o);return b===T&&m===N&&o===q?f:[0,T,N,q]}function UC(n,s,f){var o=f[2],m=o[2],b=o[1],T=f[1],N=B0(n[1][1+v],n,s,b),q=Cx(l(n[1][1+bx],n),m);return b===N&&m===q?f:[0,T,[0,N,q]]}function Hd(n,s,f){var o=f[3],m=f[2],b=f[1],T=wr(k(n[1][1+a],n,m),b),N=k(n[1][1+B],n,o);return b===T&&o===N?f:[0,T,m,N]}function Qd(n,s,f){var o=f[4],m=f[2],b=k(n[1][1+bx],n,m),T=k(n[1][1+B],n,o);return m===b&&o===T?f:[0,f[1],b,f[3],T]}function qC(n,s,f){var o=f[3],m=f[2],b=k(n[1][1+bx],n,m),T=k(n[1][1+B],n,o);return m===b&&o===T?f:[0,f[1],b,T]}function BC(n,s,f){var o=f[3],m=f[2],b=f[1],T=k(n[1][1+bx],n,b),N=k(n[1][1+c0],n,m),q=k(n[1][1+B],n,o);return T===b&&Xv(N,m)&&q===o?f:[0,T,N,q]}function XC(n,s,f){var o=f[3],m=f[2],b=f[1],T=k(n[1][1+bx],n,b),N=k(n[1][1+c0],n,m),q=k(n[1][1+B],n,o);return T===b&&N===m&&q===o?f:[0,T,N,q]}function JC(n,s,f){var o=f[4],m=f[3],b=f[2],T=f[1],N=X2(l(n[1][1+te],n),T);if(b)var q=b[1],i0=q[1],o0=q[2],O0=function(d2){return[0,[0,i0,d2]]},K0=R0(l(n[1][1+j3],n),i0,o0,b,O0);else var K0=b;if(m)var Ax=m[1],ux=Ax[1],Kr=Ax[2],m2=function(d2){return[0,[0,ux,d2]]},s2=R0(l(n[1][1+te],n),ux,Kr,m,m2);else var s2=m;var h2=k(n[1][1+B],n,o);return T===N&&b===K0&&m===s2&&o===h2?f:[0,N,K0,s2,h2]}function C3(n,s,f){var o=f[2],m=f[1],b=k(n[1][1+bx],n,m),T=k(n[1][1+B],n,o);return m===b&&o===T?f:[0,b,T]}function Zd(n,s,f){var o=f[1],m=k(n[1][1+B],n,o);return o===m?f:[0,m]}function KC(n,s){return s}function YC(n,s,f){var o=f[3],m=f[2],b=f[1],T=wr(l(n[1][1+X0],n),b),N=wr(l(n[1][1+bx],n),m),q=k(n[1][1+B],n,o);return b===T&&m===N&&o===q?f:[0,T,N,q]}function zC(n,s,f){var o=f[3],m=f[2],b=f[1],T=k(n[1][1+bx],n,b),N=X2(l(n[1][1+A0],n),m),q=k(n[1][1+B],n,o);return b===T&&m===N&&o===q?f:[0,T,N,q]}function x5(n,s){var f=s[2],o=f[3],m=f[2],b=f[1],T=s[1],N=Cx(l(n[1][1+bx],n),b),q=k(n[1][1+Q0],n,m),i0=k(n[1][1+B],n,o);return b===N&&m===q&&o===i0?s:[0,T,[0,N,q,i0]]}function r5(n,s,f){var o=f[3],m=f[2],b=f[1],T=f[4],N=k(n[1][1+bx],n,b),q=wr(l(n[1][1+W0],n),m),i0=k(n[1][1+B],n,o);return b===N&&m===q&&o===i0?f:[0,N,q,i0,T]}function VC(n,s,f){var o=f[1],m=k(n[1][1+B],n,o);return o===m?f:[0,m]}function av(n,s){var f=s[2],o=f[2],m=f[1],b=s[1],T=k(n[1][1+bx],n,m),N=k(n[1][1+B],n,o);return m===T&&o===N?s:[0,b,[0,T,N]]}function e5(n,s){var f=s[2],o=f[2],m=f[1],b=s[1],T=k(n[1][1+bx],n,m),N=k(n[1][1+B],n,o);return m===T&&o===N?s:[0,b,[0,T,N]]}function t5(n,s){return[0,k(n[1][1+q0],n,s),0]}function GC(n,s){var f=l(n[1][1+S0],n),o=u1(function(b,T){var N=b[2],q=b[1],i0=l(f,T);if(!i0)return[0,q,1];if(i0[2])return[0,zv(i0,q),1];var o0=i0[1],O0=N||(T!==o0?1:0);return[0,[0,o0,q],O0]},m$,s),m=o[1];return o[2]?vx(m):s}function WC(n,s){return k(n[1][1+Q0],n,s)}function $C(n,s,f){var o=f[2],m=f[1],b=wr(l(n[1][1+bx],n),m),T=k(n[1][1+B],n,o);return m===b&&o===T?f:[0,b,T]}function U6(n,s,f){var o=f[2],m=f[1],b=f[3],T=Cx(l(n[1][1+bx],n),m),N=k(n[1][1+B],n,o);return m===T&&o===N?f:[0,T,N,b]}function HC(n,s){var f=s[2],o=f[2],m=f[1],b=s[1],T=k(n[1][1+ur],n,m),N=k(n[1][1+B],n,o);return m===T&&o===N?s:[0,b,[0,T,N]]}function n5(n,s){var f=s[2],o=f[3],m=f[2],b=m[2],T=m[1],N=f[1],q=s[1],i0=k(n[1][1+A],n,T),o0=Cx(l(n[1][1+n0],n),b),O0=k(n[1][1+B],n,o);return i0===T&&o0===b&&O0===o?s:[0,q,[0,N,[0,i0,o0],O0]]}function QC(n,s){var f=s[2],o=s[1],m=k(n[1][1+$],n,f);return Xv(m,f)?s:[0,o,m]}function u5(n,s){return k(n[1][1+bx],n,s)}function q6(n,s){var f=s[2],o=f[2],m=f[1],b=s[1];if(m)var T=m[1],N=function(o0){return[0,o0]},q=I0(l(n[1][1+bx],n),T,m,N);else var q=m;var i0=k(n[1][1+B],n,o);return m===q&&o===i0?s:[0,b,[0,q,i0]]}function i5(n,s){return k(n[1][1+bx],n,s)}function ZC(n,s,f){return B0(n[1][1+cr],n,s,f)}function f5(n,s,f){var o=f[2],m=o[2],b=o[1],T=f[1],N=B0(n[1][1+qr],n,s,b),q=k(n[1][1+B],n,m);return N===b&&m===q?f:[0,T,[0,N,q]]}function B6(n,s,f){return B0(n[1][1+cr],n,s,f)}function xD(n,s,f){var o=f[2],m=o[2],b=o[1],T=f[1],N=B0(n[1][1+$0],n,s,b),q=k(n[1][1+r1],n,m);return b===N&&m===q?f:[0,T,[0,N,q]]}function X6(n,s,f){switch(f[0]){case 0:var o=f[1],m=function(N){return[0,N]};return I0(k(n[1][1+Gx],n,s),o,f,m);case 1:var b=f[1],T=function(N){return[1,N]};return I0(k(n[1][1+Ex],n,s),b,f,T);default:return f}}function rD(n,s,f){return B0(n[1][1+cr],n,s,f)}function eD(n,s,f){return B0(n[1][1+cr],n,s,f)}function tD(n,s,f){var o=f[2],m=o[2],b=o[1],T=f[1],N=B0(n[1][1+hr],n,s,b),q=k(n[1][1+B],n,m);return N===b&&m===q?f:[0,T,[0,N,q]]}function c5(n,s,f){return k(n[1][1+pn],n,f)}function nD(n,s,f){return B0(n[1][1+zx],n,s,f)}function J6(n,s,f){var o=f[1],m=f[2];function b(T){return[0,o,T]}return R0(k(n[1][1+M0],n,s),o,m,f,b)}function uD(n,s,f){var o=f[1],m=f[2];function b(T){return[0,o,T]}return R0(k(n[1][1+_x],n,s),o,m,f,b)}function iD(n,s,f){var o=f[1],m=f[2];function b(T){return[0,o,T]}return R0(k(n[1][1+jx],n,s),o,m,f,b)}function fD(n,s,f){switch(f[0]){case 0:var o=f[1],m=function(Ax){return[0,Ax]};return I0(k(n[1][1+Ur],n,s),o,f,m);case 1:var b=f[1],T=function(Ax){return[1,Ax]};return I0(k(n[1][1+w],n,s),b,f,T);case 2:var N=f[1],q=function(Ax){return[2,Ax]};return I0(k(n[1][1+lx],n,s),N,f,q);case 3:var i0=f[1],o0=function(Ax){return[3,Ax]};return I0(k(n[1][1+L0],n,s),i0,f,o0);default:var O0=f[1],K0=function(Ax){return[4,Ax]};return I0(k(n[1][1+sx],n,s),O0,f,K0)}}function s5(n,s,f){var o=f[2],m=o[4],b=o[3],T=o[2],N=o[1],q=f[1],i0=B0(n[1][1+L],n,s,N),o0=B0(n[1][1+px],n,s,T),O0=k(n[1][1+r1],n,b);x:if(m){if(i0[0]===3){var K0=o0[2];if(K0[0]===2){var ux=Sr(i0[1][2][1],K0[1][1][2][1]);break x}}var Ax=N===i0?1:0,ux=Ax&&(T===o0?1:0)}else var ux=m;return i0===N&&o0===T&&O0===b&&m===ux?f:[0,q,[0,i0,o0,O0,ux]]}function cD(n,s,f){if(f[0]===0){var o=f[1],m=function(N){return[0,N]};return I0(k(n[1][1+ax],n,s),o,f,m)}var b=f[1];function T(N){return[1,N]}return I0(k(n[1][1+Yx],n,s),b,f,T)}function D3(n,s,f,o){return B0(n[1][1+ea],n,f,o)}function sD(n,s,f,o){return B0(n[1][1+hx],n,f,o)}function aD(n,s,f,o){return B0(n[1][1+ex],n,f,o)}function oD(n,s,f){return k(n[1][1+A],n,f)}function vD(n,s,f){var o=f[2],m=f[1];switch(o[0]){case 0:var b=o[1],T=b[3],N=b[2],q=b[1],i0=wr(k(n[1][1+Vx],n,s),q),o0=k(n[1][1+Z],n,N),O0=k(n[1][1+B],n,T);x:{if(i0===q&&o0===N&&O0===T){var K0=o;break x}var K0=[0,[0,i0,o0,O0]]}var He=K0;break;case 1:var Ax=o[1],ux=Ax[3],Kr=Ax[2],m2=Ax[1],s2=wr(k(n[1][1+j0],n,s),m2),h2=k(n[1][1+Z],n,Kr),d2=k(n[1][1+B],n,ux);x:{if(ux===d2&&s2===m2&&h2===Kr){var o1=o;break x}var o1=[1,[0,s2,h2,d2]]}var He=o1;break;case 2:var ge=o[1],ze=ge[2],Ve=ge[1],kt=ge[3],Ge=B0(n[1][1+zx],n,s,Ve),We=k(n[1][1+Z],n,ze);x:{if(Ve===Ge&&ze===We){var $e=o;break x}var $e=[2,[0,Ge,We,kt]]}var He=$e;break;default:var us=o[1],is=function(fs){return[3,fs]},He=I0(l(n[1][1+Lx],n),us,o,is)}return o===He?f:[0,m,He]}function lD(n,s){return B0(n[1][1+cr],n,0,s)}function K6(n,s,f){var o=s?s[1]:0;return B0(n[1][1+cr],n,[0,o],f)}function pD(n,s){return k(n[1][1+ns],n,s)}function kD(n,s){return k(n[1][1+ns],n,s)}function mD(n,s){return B0(n[1][1+ra],n,k$,s)}function Y6(n,s,f){return B0(n[1][1+ra],n,[0,s],f)}function hD(n,s){return B0(n[1][1+ra],n,p$,s)}function dD(n,s,f){var o=f[5],m=f[4],b=f[3],T=f[2],N=f[1],q=k(n[1][1+pt],n,N),i0=Cx(l(n[1][1+F],n),T),o0=Cx(l(n[1][1+n0],n),b),O0=Cx(l(n[1][1+n0],n),m),K0=k(n[1][1+B],n,o);return N===q&&b===o0&&T===i0&&b===o0&&m===O0&&o===K0?f:[0,q,i0,o0,O0,K0]}function yD(n,s){return k(n[1][1+pn],n,s)}function z6(n,s){return k(n[1][1+A],n,s)}function V6(n,s){var f=s[1],o=s[2];function m(b){return[0,f,b]}return R0(l(n[1][1+ea],n),f,o,s,m)}function R3(n,s){var f=s[1],o=s[2];function m(b){return[0,f,b]}return R0(l(n[1][1+hx],n),f,o,s,m)}function F3(n,s){var f=s[1],o=s[2];function m(b){return[0,f,b]}return R0(l(n[1][1+ex],n),f,o,s,m)}function a5(n,s){switch(s[0]){case 0:var f=s[1],o=function(ux){return[0,ux]};return I0(l(n[1][1+_0],n),f,s,o);case 1:var m=s[1],b=function(ux){return[1,ux]};return I0(l(n[1][1+y0],n),m,s,b);case 2:var T=s[1],N=function(ux){return[2,ux]};return I0(l(n[1][1+kx],n),T,s,N);case 3:var q=s[1],i0=function(ux){return[3,ux]};return I0(l(n[1][1+J0],n),q,s,i0);case 4:var o0=s[1],O0=function(ux){return[4,ux]};return I0(l(n[1][1+fr],n),o0,s,O0);default:var K0=s[1],Ax=function(ux){return[5,ux]};return I0(l(n[1][1+Rx],n),K0,s,Ax)}}function gD(n,s){var f=s[2],o=s[1];switch(f[0]){case 0:var m=f[3],b=f[2],T=f[1],N=k(n[1][1+Jx],n,T),q=k(n[1][1+bx],n,b);x:if(m){if(N[0]===3){var i0=q[2];if(i0[0]===10){var O0=Sr(N[1][2][1],i0[1][2][1]);break x}}var o0=T===N?1:0,O0=o0&&(b===q?1:0)}else var O0=m;return T===N&&b===q&&m===O0?s:[0,o,[0,N,q,O0]];case 1:var K0=f[2],Ax=f[1],ux=k(n[1][1+Jx],n,Ax),Kr=X2(l(n[1][1+Or],n),K0);return Ax===ux&&K0===Kr?s:[0,o,[1,ux,Kr]];case 2:var m2=f[3],s2=f[2],h2=f[1],d2=k(n[1][1+Jx],n,h2),o1=X2(l(n[1][1+Or],n),s2),ge=k(n[1][1+B],n,m2);return h2===d2&&s2===o1&&m2===ge?s:[0,o,[2,d2,o1,ge]];default:var ze=f[3],Ve=f[2],kt=f[1],Ge=k(n[1][1+Jx],n,kt),We=X2(l(n[1][1+Or],n),Ve),$e=k(n[1][1+B],n,ze);return kt===Ge&&Ve===We&&ze===$e?s:[0,o,[3,Ge,We,$e]]}}function _D(n,s,f){var o=f[2],m=f[1],b=wr(function(N){if(N[0]===0){var q=N[1],i0=k(n[1][1+J],n,q);return q===i0?N:[0,i0]}var o0=N[1],O0=k(n[1][1+yx],n,o0);return o0===O0?N:[1,O0]},m),T=k(n[1][1+B],n,o);return m===b&&o===T?f:[0,b,T]}function bD(n,s,f){var o=f[4],m=f[3],b=f[2],T=f[1],N=k(n[1][1+bx],n,T),q=Cx(l(n[1][1+Ga],n),b),i0=Cx(l(n[1][1+M6],n),m),o0=k(n[1][1+B],n,o);return T===N&&b===q&&m===i0&&o===o0?f:[0,N,q,i0,o0]}function o5(n,s,f){var o=f[3],m=f[2],b=f[1],T=k(n[1][1+A],n,b),N=k(n[1][1+A],n,m),q=k(n[1][1+B],n,o);return b===T&&m===N&&o===q?f:[0,T,N,q]}function v5(n,s){return k(n[1][1+bx],n,s)}function wD(n,s){return k(n[1][1+fr],n,s)}function DT0(n,s){return k(n[1][1+A],n,s)}function RT0(n,s){switch(s[0]){case 0:var f=s[1],o=function(q){return[0,q]};return I0(l(n[1][1+$o],n),f,s,o);case 1:var m=s[1],b=function(q){return[1,q]};return I0(l(n[1][1+st],n),m,s,b);default:var T=s[1],N=function(q){return[2,q]};return I0(l(n[1][1+Na],n),T,s,N)}}function FT0(n,s,f){var o=f[1],m=B0(n[1][1+Ys],n,s,o);return o===m?f:[0,m,f[2],f[3]]}function LT0(n,s,f){var o=f[3],m=f[2],b=f[1],T=k(n[1][1+bx],n,b),N=k(n[1][1+Ho],n,m),q=k(n[1][1+B],n,o);return b===T&&m===N&&o===q?f:[0,T,N,q]}function MT0(n,s,f){var o=f[4],m=f[3],b=f[2],T=k(n[1][1+bx],n,b),N=k(n[1][1+bx],n,m),q=k(n[1][1+B],n,o);return b===T&&m===N&&o===q?f:[0,f[1],T,N,q]}function UT0(n,s,f){var o=f[3],m=f[2],b=f[1],T=k(n[1][1+at],n,b),N=k(n[1][1+q0],n,m),q=k(n[1][1+B],n,o);return b===T&&m===N&&o===q?f:[0,T,N,q]}function qT0(n,s){var f=s[2],o=f[2],m=f[1],b=s[1],T=k(n[1][1+B],n,o);return o===T?s:[0,b,[0,m,T]]}function BT0(n,s){return k(n[1][1+Ma],n,s)}function XT0(n,s){if(s[0]===0){var f=s[1],o=function(T){return[0,T]};return I0(l(n[1][1+La],n),f,s,o)}var m=s[1];function b(T){return[1,T]}return I0(l(n[1][1+Vs],n),m,s,b)}function JT0(n,s){var f=s[2],o=f[2],m=f[1],b=s[1],T=k(n[1][1+zs],n,m),N=k(n[1][1+ot],n,o);return m===T&&o===N?s:[0,b,[0,T,N]]}function KT0(n,s){var f=s[2],o=f[2],m=f[1],b=s[1],T=k(n[1][1+ot],n,m),N=k(n[1][1+ot],n,o);return m===T&&o===N?s:[0,b,[0,T,N]]}function YT0(n,s){return k(n[1][1+Vs],n,s)}function zT0(n,s){return k(n[1][1+Fa],n,s)}function VT0(n,s){return k(n[1][1+ot],n,s)}function GT0(n,s){switch(s[0]){case 0:var f=s[1],o=function(q){return[0,q]};return I0(l(n[1][1+Ma],n),f,s,o);case 1:var m=s[1],b=function(q){return[1,q]};return I0(l(n[1][1+cn],n),m,s,b);default:var T=s[1],N=function(q){return[2,q]};return I0(l(n[1][1+Gs],n),T,s,N)}}function WT0(n,s){var f=s[2],o=s[1],m=k(n[1][1+bx],n,o),b=k(n[1][1+B],n,f);return o===m&&f===b?s:[0,m,b]}function $T0(n,s,f){var o=f[2],m=f[1],b=k(n[1][1+B],n,o);if(!m)return o===b?f:[0,0,b];var T=m[1],N=k(n[1][1+bx],n,T);return T===N&&o===b?f:[0,[0,N],b]}function HT0(n,s){var f=s[2],o=s[1];switch(f[0]){case 0:var m=f[1],b=function(K0){return[0,o,[0,K0]]};return R0(l(n[1][1+Ua],n),o,m,s,b);case 1:var T=f[1],N=function(K0){return[0,o,[1,K0]]};return R0(l(n[1][1+K2],n),o,T,s,N);case 2:var q=f[1],i0=function(K0){return[0,o,[2,K0]]};return R0(l(n[1][1+Wc],n),o,q,s,i0);case 3:var o0=f[1],O0=function(K0){return[0,o,[3,K0]]};return I0(l(n[1][1+_r],n),o0,s,O0);default:return s}}function QT0(n,s){var f=s[2],o=s[1],m=wr(l(n[1][1+vt],n),f);return f===m?s:[0,o,m]}function ZT0(n,s,f){return B0(n[1][1+ex],n,s,f)}function xE0(n,s,f){return B0(n[1][1+Wc],n,s,f)}function rE0(n,s){if(s[0]===0){var f=s[1],o=f[1],m=f[2],b=function(o0){return[0,[0,o,o0]]};return R0(l(n[1][1+Xa],n),o,m,s,b)}var T=s[1],N=T[1],q=T[2];function i0(o0){return[1,[0,N,o0]]}return R0(l(n[1][1+Ja],n),N,q,s,i0)}function eE0(n,s){return k(n[1][1+Fa],n,s)}function tE0(n,s){return k(n[1][1+ot],n,s)}function nE0(n,s){if(s[0]===0){var f=s[1],o=function(T){return[0,T]};return I0(l(n[1][1+y3],n),f,s,o)}var m=s[1];function b(T){return[1,T]}return I0(l(n[1][1+xv],n),m,s,b)}function uE0(n,s){var f=s[2],o=f[2],m=f[1],b=s[1],T=k(n[1][1+sn],n,m),N=Cx(l(n[1][1+Zo],n),o);return m===T&&o===N?s:[0,b,[0,T,N]]}function iE0(n,s,f){var o=f[2],m=f[1],b=k(n[1][1+bx],n,m),T=k(n[1][1+B],n,o);return m===b&&o===T?f:[0,b,T]}function fE0(n,s){if(s[0]===0){var f=s[1],o=function(q){return[0,q]};return I0(l(n[1][1+rv],n),f,s,o)}var m=s[1],b=m[1],T=m[2];function N(q){return[1,[0,b,q]]}return R0(l(n[1][1+Da],n),b,T,s,N)}function cE0(n,s){var f=s[2][1],o=s[1],m=k(n[1][1+Ws],n,f);return f===m?s:[0,o,[0,m]]}function sE0(n,s){var f=s[2],o=f[4],m=f[2],b=f[1],T=f[3],N=s[1],q=k(n[1][1+Ws],n,b),i0=Cx(l(n[1][1+Ga],n),m),o0=wr(l(n[1][1+Qo],n),o);return b===q&&m===i0&&o===o0?s:[0,N,[0,q,i0,T,o0]]}function aE0(n,s,f){var o=f[4],m=f[3],b=k(n[1][1+Ba],n,m),T=k(n[1][1+B],n,o);return m===b&&o===T?f:[0,f[1],f[2],b,T]}function oE0(n,s,f){var o=f[4],m=f[3],b=f[2],T=f[1],N=k(n[1][1+Ra],n,T),q=Cx(l(n[1][1+qa],n),b),i0=k(n[1][1+Ba],n,m),o0=k(n[1][1+B],n,o);return T===N&&b===q&&m===i0&&o===o0?f:[0,N,q,i0,o0]}function vE0(n,s,f,o){var m=2<=s?k(n[1][1+zx],n,l$):l(n[1][1+pt],n);return l(m,o)}function lE0(n,s,f){var o=2<=s?k(n[1][1+zx],n,v$):l(n[1][1+pt],n);return l(o,f)}function pE0(n,s,f){var o=f[3],m=f[2],b=f[1];x:{r:{var T=f[4];if(s){e:{if(b)switch(b[1]){case 0:break r;case 1:break e}if(2<=s){var N=0,q=0;break x}}var N=1,q=0;break x}}var N=1,q=1}var i0=m?k(n[1][1+Z0],n,o):q?k(n[1][1+pt],n,o):B0(n[1][1+zx],n,a$,o);if(m)var o0=m[1],O0=N?l(n[1][1+pt],n):k(n[1][1+zx],n,o$),K0=I0(O0,o0,m,function(Ax){return[0,Ax]});else var K0=0;return m===K0&&o===i0?f:[0,b,K0,i0,T]}function kE0(n,s){return k(n[1][1+A],n,s)}function mE0(n,s,f){if(f[0]===0){var o=f[1],m=wr(k(n[1][1+R6],n,s),o);return o===m?f:[0,m]}var b=f[1],T=b[1],N=b[2];function q(i0){return[1,[0,T,i0]]}return R0(k(n[1][1+Kd],n,s),T,N,f,q)}function hE0(n,s,f){var o=f[3],m=f[2],b=f[1],T=k(n[1][1+B],n,o);return o===T?f:[0,b,m,T]}function dE0(n,s,f){var o=f[5],m=f[4],b=f[3],T=f[2],N=f[1],q=X2(l(n[1][1+Jd],n),T),i0=Cx(k(n[1][1+Xd],n,N),m),o0=Cx(function(K0){var Ax=K0[1],ux=K0[2],Kr=B0(n[1][1+F6],n,N,Ax);return Kr===Ax?K0:[0,Kr,ux]},b),O0=k(n[1][1+B],n,o);return T===q&&m===i0&&b===o0&&o===O0?f:[0,N,q,o0,i0,O0]}function yE0(n,s,f){var o=f[4],m=f[3],b=f[2],T=f[1],N=k(n[1][1+Hx],n,T),q=B0(n[1][1+zd],n,m!==0?1:0,b),i0=l(n[1][1+X],n),o0=Cx(function(K0){return X2(i0,K0)},m),O0=k(n[1][1+B],n,o);return T===N&&b===q&&m===o0&&o===O0?f:[0,N,q,o0,O0]}function gE0(n,s,f){var o=f[2],m=f[1],b=k(n[1][1+q0],n,m),T=k(n[1][1+B],n,o);return m===b&&o===T?f:[0,b,T]}function _E0(n,s,f){return k(n[1][1+q0],n,f)}function bE0(n,s,f){var o=f[2],m=f[1],b=k(n[1][1+bx],n,m),T=k(n[1][1+B],n,o);return m===b&&o===T?f:[0,b,T]}function wE0(n,s){var f=s[2],o=f[2],m=f[1],b=s[1],T=k(n[1][1+bx],n,m),N=k(n[1][1+B],n,o);return m===T&&o===N?s:[0,b,[0,T,N]]}function TE0(n,s){var f=s[2],o=f[2],m=f[1],b=s[1],T=k(n[1][1+B],n,o);return o===T?s:[0,b,[0,m,T]]}function EE0(n,s,f){return B0(n[1][1+$s],n,s,f)}function SE0(n,s,f){var o=f[5],m=f[4],b=f[3],T=f[2],N=f[1],q=k(n[1][1+pt],n,N),i0=Cx(l(n[1][1+F],n),T),o0=l(n[1][1+D],n),O0=wr(function(ux){return X2(o0,ux)},b),K0=X2(l(n[1][1+g],n),m),Ax=k(n[1][1+B],n,o);return q===N&&i0===T&&O0===b&&K0===m&&Ax===o?f:[0,q,i0,O0,K0,Ax]}function AE0(n,s){return k(n[1][1+V],n,s)}function IE0(n,s){return k(n[1][1+V],n,s)}function jE0(n,s){return k(n[1][1+A],n,s)}function PE0(n,s){var f=s[2],o=f[2],m=f[1],b=s[1],T=k(n[1][1+B],n,o);return o===T?s:[0,b,[0,m,T]]}function NE0(n,s){return B0(n[1][1+zx],n,s$,s)}function OE0(n,s){return k(n[1][1+bx],n,s)}function CE0(n,s){var f=s[1],o=s[2];function m(b){return[0,f,b]}return R0(l(n[1][1+te],n),f,o,s,m)}function DE0(n,s){if(s[0]===0){var f=s[1],o=function(T){return[0,T]};return I0(l(n[1][1+p2],n),f,s,o)}var m=s[1];function b(T){return[1,T]}return I0(l(n[1][1+de],n),m,s,b)}function RE0(n,s){switch(s[0]){case 0:return s;case 1:var f=s[1],o=function(T){return[1,T]};return I0(l(n[1][1+c0],n),f,s,o);default:var m=s[1],b=function(T){return[2,T]};return I0(l(n[1][1+Q],n),m,s,b)}}function FE0(n,s){var f=s[2],o=f[2],m=f[1],b=s[1],T=k(n[1][1+ur],n,m),N=k(n[1][1+r1],n,o);return m===T&&o===N?s:[0,b,[0,T,N]]}function LE0(n,s){var f=s[2],o=f[2],m=f[1],b=s[1],T=k(n[1][1+c0],n,m),N=k(n[1][1+B],n,o);return T===m&&N===o?s:[0,b,[0,T,N]]}function ME0(n,s){var f=s[2],o=f[4],m=f[3],b=f[2],T=f[1],N=s[1],q=wr(l(n[1][1+Tr],n),b),i0=Cx(l(n[1][1+tr],n),m),o0=Cx(l(n[1][1+Px],n),T),O0=k(n[1][1+B],n,o);return b===q&&m===i0&&o===O0&&T===o0?s:[0,N,[0,o0,q,i0,O0]]}function UE0(n,s,f){var o=f[10],m=f[9],b=f[8],T=f[7],N=f[3],q=f[2],i0=f[1],o0=f[11],O0=f[6],K0=f[5],Ax=f[4],ux=Cx(l(n[1][1+Br],n),i0),Kr=Cx(l(n[1][1+F],n),m),m2=k(n[1][1+br],n,q),s2=k(n[1][1+qx],n,b),h2=k(n[1][1+t2],n,N),d2=Cx(l(n[1][1+Y],n),T),o1=k(n[1][1+B],n,o);return i0===ux&&q===m2&&N===h2&&T===d2&&b===s2&&m===Kr&&o===o1?f:[0,ux,m2,h2,Ax,K0,O0,d2,s2,Kr,o1,o0]}function qE0(n,s,f){return B0(n[1][1+o2],n,s,f)}function BE0(n,s,f){return B0(n[1][1+Or],n,s,f)}function XE0(n,s,f){return B0(n[1][1+o2],n,s,f)}function JE0(n,s){if(s[0]===0)return s;var f=s[2],o=s[1],m=k(n[1][1+Xx],n,f);return m===f?s:[1,o,m]}function KE0(n,s){if(s[0]===0)return s;var f=s[1];function o(m){return[1,m]}return I0(l(n[1][1+c0],n),f,s,o)}function YE0(n,s){var f=s[2],o=s[1];function m(b){return[0,o,b]}return I0(l(n[1][1+n0],n),f,s,m)}function zE0(n,s){var f=s[2],o=s[1];switch(f[0]){case 0:var m=f[1],b=function(wx){return[0,o,[0,wx]]};return I0(l(n[1][1+B],n),m,s,b);case 1:var T=f[1],N=function(wx){return[0,o,[1,wx]]};return I0(l(n[1][1+B],n),T,s,N);case 2:var q=f[1],i0=function(wx){return[0,o,[2,wx]]};return I0(l(n[1][1+B],n),q,s,i0);case 3:var o0=f[1],O0=function(wx){return[0,o,[3,wx]]};return I0(l(n[1][1+B],n),o0,s,O0);case 4:var K0=f[1],Ax=function(wx){return[0,o,[4,wx]]};return I0(l(n[1][1+B],n),K0,s,Ax);case 5:var ux=f[1],Kr=function(wx){return[0,o,[5,wx]]};return I0(l(n[1][1+B],n),ux,s,Kr);case 6:var m2=f[1],s2=function(wx){return[0,o,[6,wx]]};return I0(l(n[1][1+B],n),m2,s,s2);case 7:var h2=f[1],d2=function(wx){return[0,o,[7,wx]]};return I0(l(n[1][1+B],n),h2,s,d2);case 8:var o1=f[2],ge=f[1],ze=function(wx){return[0,o,[8,ge,wx]]};return I0(l(n[1][1+B],n),o1,s,ze);case 9:var Ve=f[1],kt=function(wx){return[0,o,[9,wx]]};return I0(l(n[1][1+B],n),Ve,s,kt);case 10:var Ge=f[1],We=function(wx){return[0,o,[10,wx]]};return I0(l(n[1][1+B],n),Ge,s,We);case 11:var $e=f[1],us=function(wx){return[0,o,[11,wx]]};return I0(l(n[1][1+z1],n),$e,s,us);case 12:var is=f[1],He=function(wx){return[0,o,[12,wx]]};return R0(l(n[1][1+nx],n),o,is,s,He);case 13:var fs=f[1],Ha=function(wx){return[0,o,[13,wx]]};return R0(l(n[1][1+xs],n),o,fs,s,Ha);case 14:var Qa=f[1],Za=function(wx){return[0,o,[14,wx]]};return R0(l(n[1][1+g],n),o,Qa,s,Za);case 15:var xo=f[1],G6=function(wx){return[0,o,[15,wx]]};return R0(l(n[1][1+Ka],n),o,xo,s,G6);case 16:var W6=f[1],$6=function(wx){return[0,o,[16,wx]]};return I0(l(n[1][1+Gd],n),W6,s,$6);case 17:var H6=f[1],Q6=function(wx){return[0,o,[17,wx]]};return I0(l(n[1][1+Ye],n),H6,s,Q6);case 18:var Z6=f[1],xp=function(wx){return[0,o,[18,wx]]};return I0(l(n[1][1+C6],n),Z6,s,xp);case 19:var rp=f[1],ep=function(wx){return[0,o,[19,wx]]};return R0(l(n[1][1+D],n),o,rp,s,ep);case 20:var tp=f[1],np=function(wx){return[0,o,[20,wx]]};return R0(l(n[1][1+D6],n),o,tp,s,np);case 21:var up=f[1],ip=function(wx){return[0,o,[21,wx]]};return R0(l(n[1][1+Mx],n),o,up,s,ip);case 22:var fp=f[1],cp=function(wx){return[0,o,[22,wx]]};return R0(l(n[1][1+y],n),o,fp,s,cp);case 23:var sp=f[1],ap=function(wx){return[0,o,[23,wx]]};return R0(l(n[1][1+an],n),o,sp,s,ap);case 24:var op=f[1],vp=function(wx){return[0,o,[24,wx]]};return I0(l(n[1][1+E],n),op,s,vp);case 25:var lp=f[1],pp=function(wx){return[0,o,[25,wx]]};return I0(l(n[1][1+Gc],n),lp,s,pp);case 26:var kp=f[1],mp=function(wx){return[0,o,[26,wx]]};return I0(l(n[1][1+Xx],n),kp,s,mp);case 27:var hp=f[1],dp=function(wx){return[0,o,[27,wx]]};return I0(l(n[1][1+xr],n),hp,s,dp);case 28:var yp=f[1],gp=function(wx){return[0,o,[28,wx]]};return I0(l(n[1][1+P0],n),yp,s,gp);case 29:var _p=f[1],bp=function(wx){return[0,o,[29,wx]]};return R0(l(n[1][1+ex],n),o,_p,s,bp);case 30:var wp=f[1],Tp=function(wx){return[0,o,[30,wx]]};return R0(l(n[1][1+hx],n),o,wp,s,Tp);case 31:var Ep=f[1],Sp=function(wx){return[0,o,[31,wx]]};return R0(l(n[1][1+ea],n),o,Ep,s,Sp);case 32:var Ap=f[1],Ip=function(wx){return[0,o,[32,wx]]};return R0(l(n[1][1+Mt],n),o,Ap,s,Ip);case 33:var jp=f[1],Pp=function(wx){return[0,o,[33,wx]]};return I0(l(n[1][1+B],n),jp,s,Pp);case 34:var Np=f[1],Op=function(wx){return[0,o,[34,wx]]};return I0(l(n[1][1+B],n),Np,s,Op);default:var Cp=f[1],Dp=function(wx){return[0,o,[35,wx]]};return I0(l(n[1][1+B],n),Cp,s,Dp)}}function VE0(n,s,f){var o=f[2],m=f[1],b=m[3],T=m[2],N=m[1],q=k(n[1][1+n0],n,N),i0=k(n[1][1+n0],n,T),o0=wr(l(n[1][1+n0],n),b),O0=k(n[1][1+B],n,o);return q===N&&i0===T&&o0===b&&O0===o?f:[0,[0,q,i0,o0],O0]}function GE0(n,s,f){var o=f[2],m=f[1],b=m[3],T=m[2],N=m[1],q=k(n[1][1+n0],n,N),i0=k(n[1][1+n0],n,T),o0=wr(l(n[1][1+n0],n),b),O0=k(n[1][1+B],n,o);return q===N&&i0===T&&o0===b&&O0===o?f:[0,[0,q,i0,o0],O0]}function WE0(n,s){var f=s[2],o=s[1],m=k(n[1][1+n0],n,o),b=k(n[1][1+B],n,f);return o===m&&f===b?s:[0,m,b]}function $E0(n,s){var f=s[2],o=s[1],m=k(n[1][1+n0],n,f);return m===f?s:[0,o,m]}function HE0(n,s){var f=s[3],o=s[2],m=s[4],b=s[1],T=k(n[1][1+n0],n,o),N=k(n[1][1+i],n,f);return T===o&&N===f?s:[0,b,T,N,m]}function QE0(n,s){var f=s[2],o=s[1];switch(f[0]){case 0:var m=f[1],b=function(o0){return[0,o,[0,o0]]};return I0(l(n[1][1+n0],n),m,s,b);case 1:var T=f[1],N=function(o0){return[0,o,[1,o0]]};return I0(l(n[1][1+g0],n),T,s,N);default:var q=f[1],i0=function(o0){return[0,o,[2,o0]]};return I0(l(n[1][1+h0],n),q,s,i0)}}function ZE0(n,s){var f=s[3],o=s[1],m=s[2],b=wr(l(n[1][1+v0],n),o),T=k(n[1][1+B],n,f);return o===b&&f===T?s:[0,b,m,T]}function xS0(n,s){var f=s[2],o=s[1],m=k(n[1][1+n0],n,o),b=k(n[1][1+B],n,f);return o===m&&f===b?s:[0,m,b]}function rS0(n,s){var f=s[3],o=s[2],m=s[4],b=s[1],T=k(n[1][1+n0],n,o),N=k(n[1][1+B],n,f);return o===T&&f===N?s:[0,b,T,N,m]}function eS0(n,s){var f=s[2],o=s[1],m=k(n[1][1+n0],n,o),b=k(n[1][1+B],n,f);return o===m&&f===b?s:[0,m,b]}function tS0(n,s){var f=s[2],o=f[2],m=f[1],b=s[1],T=k(n[1][1+O],n,m),N=k(n[1][1+C],n,o);return T===m&&N===o?s:[0,b,[0,T,N]]}function nS0(n,s){return k(n[1][1+A],n,s)}function uS0(n,s){return k(n[1][1+A],n,s)}function iS0(n,s){if(s[0]===0){var f=s[1],o=function(T){return[0,T]};return I0(l(n[1][1+P],n),f,s,o)}var m=s[1];function b(T){return[1,T]}return I0(l(n[1][1+j],n),m,s,b)}function fS0(n,s){var f=s[3],o=s[2],m=s[1],b=k(n[1][1+O],n,m),T=Cx(l(n[1][1+e0],n),o),N=k(n[1][1+B],n,f);return m===b&&Xv(o,T)&&f===N?s:[0,b,T,N]}function cS0(n,s){var f=s[2],o=s[1],m=k(n[1][1+K],n,o),b=k(n[1][1+B],n,f);return o===m&&f===b?s:[0,m,b]}function sS0(n,s){var f=s[5],o=s[4],m=s[3],b=s[2],T=s[1],N=k(n[1][1+n0],n,T),q=k(n[1][1+n0],n,b),i0=k(n[1][1+n0],n,m),o0=k(n[1][1+n0],n,o),O0=k(n[1][1+B],n,f);return T===N&&b===q&&m===i0&&o===o0&&f===O0?s:[0,N,q,i0,o0,O0]}function aS0(n,s){var f=s[2],o=s[1],m=k(n[1][1+n0],n,o),b=k(n[1][1+B],n,f);return o===m&&f===b?s:[0,m,b]}function oS0(n,s,f){var o=f[6],m=f[5],b=f[4],T=f[3],N=f[2],q=f[1];return o===k(n[1][1+B],n,o)?f:[0,q,N,T,b,m,o]}function vS0(n,s,f){var o=f[4],m=f[3],b=f[2],T=f[1],N=k(n[1][1+B],n,o);return o===N?f:[0,T,b,m,N]}function lS0(n,s,f){return k(n[1][1+B],n,f)}function pS0(n,s,f){var o=f[2],m=f[1],b=k(n[1][1+B],n,o);return o===b?f:[0,m,b]}function kS0(n,s,f){var o=f[3],m=f[2],b=f[1],T=k(n[1][1+B],n,o);return o===T?f:[0,b,m,T]}function mS0(n,s,f){var o=f[3],m=f[2],b=f[1],T=k(n[1][1+B],n,o);return o===T?f:[0,b,m,T]}function hS0(n,s,f){var o=f[3],m=f[2],b=f[1],T=k(n[1][1+B],n,o);return o===T?f:[0,b,m,T]}function dS0(n,s,f){var o=f[1],m=f[2],b=B0(n[1][1+D6],n,s,o);return b===o?f:[0,b,m]}function yS0(n,s,f){var o=f[3],m=f[2],b=f[1],T=k(n[1][1+n0],n,b),N=k(n[1][1+n0],n,m),q=k(n[1][1+B],n,o);return T===b&&N===m&&q===o?f:[0,T,N,q]}function gS0(n,s,f){var o=f[3],m=f[2],b=f[1],T=k(n[1][1+k0],n,b),N=Cx(l(n[1][1+e0],n),m),q=k(n[1][1+B],n,o);return T===b&&N===m&&q===o?f:[0,T,N,q]}function _S0(n,s){var f=s[2],o=f[5],m=f[4],b=f[2],T=f[1],N=f[3],q=s[1],i0=k(n[1][1+Z],n,b),o0=k(n[1][1+i],n,m),O0=Cx(l(n[1][1+n0],n),o),K0=k(n[1][1+pt],n,T);return K0===T&&i0===b&&o0===m&&O0===o?s:[0,q,[0,K0,i0,N,o0,O0]]}function bS0(n,s){var f=s[2],o=f[2],m=f[1],b=s[1],T=wr(l(n[1][1+K],n),m),N=k(n[1][1+B],n,o);return T===m&&N===o?s:[0,b,[0,T,N]]}function wS0(n,s){var f=s[2],o=f[2],m=f[1],b=s[1],T=wr(l(n[1][1+n0],n),m),N=k(n[1][1+B],n,o);return m===T&&o===N?s:[0,b,[0,T,N]]}function TS0(n,s){return Cx(l(n[1][1+c],n),s)}function ES0(n,s){var f=s[2],o=f[2],m=f[1],b=s[1],T=k(n[1][1+B],n,o);return o===T?s:[0,b,[0,m,T]]}function SS0(n,s){return k(n[1][1+A],n,s)}function AS0(n,s){var f=s[2],o=f[2],m=f[1],b=s[1],T=k(n[1][1+k0],n,m),N=k(n[1][1+Wo],n,o);return T===m&&N===o?s:[0,b,[0,T,N]]}function IS0(n,s){if(s[0]===0){var f=s[1],o=function(T){return[0,T]};return I0(l(n[1][1+U],n),f,s,o)}var m=s[1];function b(T){return[1,T]}return I0(l(n[1][1+u0],n),m,s,b)}function jS0(n,s,f){var o=f[3],m=f[2],b=f[1],T=l(n[1][1+D],n),N=wr(function(o0){return X2(T,o0)},m),q=X2(l(n[1][1+g],n),b),i0=k(n[1][1+B],n,o);return N===m&&q===b&&o===i0?f:[0,q,N,i0]}function PS0(n,s){switch(s[0]){case 0:var f=s[1],o=function(ux){return[0,ux]};return I0(l(n[1][1+l0],n),f,s,o);case 1:var m=s[1],b=function(ux){return[1,ux]};return I0(l(n[1][1+G],n),m,s,b);case 2:var T=s[1],N=function(ux){return[2,ux]};return I0(l(n[1][1+Zx],n),T,s,N);case 3:var q=s[1],i0=function(ux){return[3,ux]};return I0(l(n[1][1+er],n),q,s,i0);case 4:var o0=s[1],O0=function(ux){return[4,ux]};return I0(l(n[1][1+gr],n),o0,s,O0);default:var K0=s[1],Ax=function(ux){return[5,ux]};return I0(l(n[1][1+s0],n),K0,s,Ax)}}function NS0(n,s,f){var o=f[4],m=f[3],b=f[2],T=f[1],N=wr(l(n[1][1+U2],n),m),q=k(n[1][1+B],n,o);return N===m&&o===q?f:[0,T,b,N,q]}function OS0(n,s){var f=s[2],o=f[6],m=f[4],b=f[3],T=f[2],N=f[1],q=f[5],i0=s[1],o0=k(n[1][1+K],n,N),O0=k(n[1][1+n0],n,T),K0=k(n[1][1+n0],n,b),Ax=k(n[1][1+i],n,m),ux=k(n[1][1+B],n,o);return o0===N&&O0===T&&K0===b&&Ax===m&&ux===o?s:[0,i0,[0,o0,O0,K0,Ax,q,ux]]}function CS0(n,s){var f=s[2],o=f[3],m=f[1],b=m[2],T=m[1],N=f[2],q=s[1],i0=B0(n[1][1+nx],n,T,b),o0=k(n[1][1+B],n,o);return b===i0&&o===o0?s:[0,q,[0,[0,T,i0],N,o0]]}function DS0(n,s){var f=s[2],o=f[6],m=f[2],b=f[1],T=f[5],N=f[4],q=f[3],i0=s[1],o0=k(n[1][1+A],n,b),O0=k(n[1][1+n0],n,m),K0=k(n[1][1+B],n,o);return b===o0&&m===O0&&o===K0?s:[0,i0,[0,o0,O0,q,N,T,K0]]}function RS0(n,s){var f=s[2],o=f[6],m=f[5],b=f[3],T=f[2],N=f[4],q=f[1],i0=s[1],o0=k(n[1][1+n0],n,T),O0=k(n[1][1+n0],n,b),K0=k(n[1][1+i],n,m),Ax=k(n[1][1+B],n,o);return o0===T&&O0===b&&K0===m&&Ax===o?s:[0,i0,[0,q,o0,O0,N,K0,Ax]]}function FS0(n,s){var f=s[2],o=f[2],m=f[1],b=s[1],T=k(n[1][1+n0],n,m),N=k(n[1][1+B],n,o);return T===m&&o===N?s:[0,b,[0,T,N]]}function LS0(n,s){var f=s[2],o=f[8],m=f[7],b=f[2],T=f[1],N=f[6],q=f[5],i0=f[4],o0=f[3],O0=s[1],K0=k(n[1][1+Jx],n,T),Ax=k(n[1][1+H],n,b),ux=k(n[1][1+i],n,m),Kr=k(n[1][1+B],n,o);return K0===T&&Ax===b&&ux===m&&Kr===o?s:[0,O0,[0,K0,Ax,o0,i0,q,N,ux,Kr]]}function MS0(n,s){var f=s[1],o=s[2];function m(b){return[0,f,b]}return R0(l(n[1][1+nx],n),f,o,s,m)}function US0(n,s){var f=s[1],o=s[2];function m(b){return[0,f,b]}return R0(l(n[1][1+nx],n),f,o,s,m)}function qS0(n,s){switch(s[0]){case 0:var f=s[1],o=function(q){return[0,q]};return I0(l(n[1][1+n0],n),f,s,o);case 1:var m=s[1],b=function(q){return[1,q]};return I0(l(n[1][1+Rr],n),m,s,b);default:var T=s[1],N=function(q){return[2,q]};return I0(l(n[1][1+c1],n),T,s,N)}}function BS0(n,s){return k(n[1][1+A],n,s)}function XS0(n,s,f){var o=f[4],m=f[3],b=f[2],T=b[2],N=T[4],q=T[3],i0=T[2],o0=T[1],O0=f[1],K0=f[5],Ax=b[1],ux=Cx(l(n[1][1+F],n),O0),Kr=Cx(l(n[1][1+Sx],n),o0),m2=wr(l(n[1][1+pr],n),i0),s2=Cx(l(n[1][1+lr],n),q),h2=k(n[1][1+C0],n,m),d2=k(n[1][1+B],n,o),o1=k(n[1][1+B],n,N);return m2===i0&&s2===q&&h2===m&&ux===O0&&d2===o&&o1===N&&Kr===o0?f:[0,ux,[0,Ax,[0,Kr,m2,s2,o1]],h2,d2,K0]}function JS0(n,s){if(s[0]===0){var f=s[1],o=function(T){return[0,T]};return I0(l(n[1][1+n0],n),f,s,o)}var m=s[1];function b(T){return[1,T]}return I0(l(n[1][1+$],n),m,s,b)}function KS0(n,s){var f=s[2],o=f[2],m=f[1],b=s[1],T=k(n[1][1+c0],n,m),N=k(n[1][1+B],n,o);return T===m&&N===o?s:[0,b,[0,T,N]]}function YS0(n,s){var f=s[2],o=f[2],m=f[1],b=s[1],T=k(n[1][1+pr],n,m),N=k(n[1][1+B],n,o);return T===m&&N===o?s:[0,b,[0,T,N]]}function zS0(n,s){var f=s[2],o=f[2],m=f[1],b=f[3],T=s[1],N=k(n[1][1+n0],n,o),q=Cx(l(n[1][1+A],n),m);return N===o&&q===m?s:[0,T,[0,q,N,b]]}function VS0(n,s){var f=s[1],o=s[2];function m(b){return[0,f,b]}return R0(l(n[1][1+p],n),f,o,s,m)}function GS0(n,s){if(s[0]===0){var f=s[1],o=function(T){return[0,T]};return I0(l(n[1][1+s1],n),f,s,o)}var m=s[1];function b(T){return[1,T]}return I0(l(n[1][1+bx],n),m,s,b)}function WS0(n,s,f){var o=f[5],m=f[4],b=f[3],T=f[2],N=f[1],q=Cx(l(n[1][1+n2],n),N),i0=Cx(l(n[1][1+Hx],n),T),o0=Cx(l(n[1][1+bx],n),b),O0=k(n[1][1+q0],n,m),K0=k(n[1][1+B],n,o);return N===q&&T===i0&&b===o0&&m===O0&&o===K0?f:[0,q,i0,o0,O0,K0]}function $S0(n,s){var f=s[1],o=s[2];function m(b){return[0,f,b]}return R0(l(n[1][1+p],n),f,o,s,m)}function HS0(n,s){if(s[0]===0){var f=s[1],o=function(T){return[0,T]};return I0(l(n[1][1+v2],n),f,s,o)}var m=s[1];function b(T){return[1,T]}return I0(l(n[1][1+q2],n),m,s,b)}function QS0(n,s,f){var o=f[5],m=f[3],b=f[2],T=f[1],N=f[4],q=k(n[1][1+w2],n,T),i0=k(n[1][1+bx],n,b),o0=k(n[1][1+q0],n,m),O0=k(n[1][1+B],n,o);return T===q&&b===i0&&m===o0&&o===O0?f:[0,q,i0,o0,N,O0]}function ZS0(n,s){var f=s[1],o=s[2];function m(b){return[0,f,b]}return R0(l(n[1][1+p],n),f,o,s,m)}function xA0(n,s){if(s[0]===0){var f=s[1],o=function(T){return[0,T]};return I0(l(n[1][1+sr],n),f,s,o)}var m=s[1];function b(T){return[1,T]}return I0(l(n[1][1+Xr],n),m,s,b)}function rA0(n,s,f){var o=f[5],m=f[3],b=f[2],T=f[1],N=f[4],q=k(n[1][1+O1],n,T),i0=k(n[1][1+bx],n,b),o0=k(n[1][1+q0],n,m),O0=k(n[1][1+B],n,o);return T===q&&b===i0&&m===o0&&o===O0?f:[0,q,i0,o0,N,O0]}function eA0(n,s){if(s[0]===0){var f=s[1],o=function(T){return[0,T]};return I0(l(n[1][1+bx],n),f,s,o)}var m=s[1];function b(T){return[1,T]}return I0(l(n[1][1+cx],n),m,s,b)}function tA0(n,s,f){var o=f[3],m=f[1],b=f[2],T=k(n[1][1+bx],n,m),N=k(n[1][1+B],n,o);return m===T&&o===N?f:[0,T,b,N]}function nA0(n,s,f){var o=f[3],m=f[2],b=f[1],T=k(n[1][1+B],n,o);return o===T?f:[0,b,m,T]}function uA0(n,s){if(s[0]===0){var f=s[1],o=wr(l(n[1][1+Re],n),f);return f===o?s:[0,o]}var m=s[1],b=k(n[1][1+x1],n,m);return m===b?s:[1,b]}function iA0(n,s){var f=s[2],o=s[1],m=Cx(l(n[1][1+A],n),f);return f===m?s:[0,o,m]}function fA0(n,s){var f=s[2],o=f[2],m=f[1],b=s[1],T=k(n[1][1+A],n,m),N=Cx(l(n[1][1+A],n),o);return m===T&&o===N?s:[0,b,[0,T,N]]}function cA0(n,s,f){var o=f[5],m=f[3],b=f[2],T=f[1],N=f[4],q=lB(l(n[1][1+le],n),m),i0=Cx(l(n[1][1+pe],n),b),o0=Cx(l(n[1][1+q0],n),T),O0=k(n[1][1+B],n,o);return m===q&&b===i0&&T===o0&&o===O0?f:[0,o0,i0,q,N,O0]}function sA0(n,s){if(s[0]===0){var f=s[1],o=function(T){return[0,T]};return I0(l(n[1][1+q0],n),f,s,o)}var m=s[1];function b(T){return[1,T]}return I0(l(n[1][1+bx],n),m,s,b)}function aA0(n,s,f){var o=f[3],m=f[2],b=f[1],T=k(n[1][1+$r],n,m),N=k(n[1][1+B],n,o);return T===m&&N===o?f:[0,b,T,N]}function oA0(n,s){return k(n[1][1+A],n,s)}function vA0(n,s){var f=s[2],o=f[1],m=f[2],b=s[1],T=k(n[1][1+D1],n,o);return o===T?s:[0,b,[0,T,m]]}function lA0(n,s){var f=s[2],o=f[1],m=f[2],b=s[1],T=k(n[1][1+D1],n,o);return o===T?s:[0,b,[0,T,m]]}function pA0(n,s){var f=s[2],o=f[1],m=f[2],b=s[1],T=k(n[1][1+D1],n,o);return o===T?s:[0,b,[0,T,m]]}function kA0(n,s){var f=s[2],o=f[1],m=f[2],b=s[1],T=k(n[1][1+D1],n,o);return o===T?s:[0,b,[0,T,m]]}function mA0(n,s){var f=s[2][1],o=s[1],m=k(n[1][1+D1],n,f);return f===m?s:[0,o,[0,m]]}function hA0(n,s){var f=s[4],o=s[1],m=wr(l(n[1][1+V1],n),o),b=k(n[1][1+B],n,f);return o===m&&f===b?s:[0,m,s[2],s[3],b]}function dA0(n,s){var f=s[3],o=s[1],m=wr(l(n[1][1+Le],n),o),b=k(n[1][1+B],n,f);return o===m&&f===b?s:[0,m,s[2],b]}function yA0(n,s){var f=s[4],o=s[1];if(o[0]===0)var m=o[1],b=function(K0){return[0,K0]},T=l(n[1][1+Le],n),o0=I0(function(K0){return wr(T,K0)},m,o,b);else var N=o[1],q=function(K0){return[1,K0]},i0=l(n[1][1+w1],n),o0=I0(function(K0){return wr(i0,K0)},N,o,q);var O0=k(n[1][1+B],n,f);return o===o0&&f===O0?s:[0,o0,s[2],s[3],O0]}function gA0(n,s){var f=s[4],o=s[1],m=wr(l(n[1][1+Rt],n),o),b=k(n[1][1+B],n,f);return o===m&&f===b?s:[0,m,s[2],s[3],b]}function _A0(n,s){var f=s[4],o=s[1],m=wr(l(n[1][1+ee],n),o),b=k(n[1][1+B],n,f);return o===m&&f===b?s:[0,m,s[2],s[3],b]}function bA0(n,s){var f=s[2],o=s[1];switch(f[0]){case 0:var m=f[1],b=function(ux){return[0,o,[0,ux]]};return I0(l(n[1][1+a1],n),m,s,b);case 1:var T=f[1],N=function(ux){return[0,o,[1,ux]]};return I0(l(n[1][1+Fe],n),T,s,N);case 2:var q=f[1],i0=function(ux){return[0,o,[2,ux]]};return I0(l(n[1][1+lt],n),q,s,i0);case 3:var o0=f[1],O0=function(ux){return[0,o,[3,ux]]};return I0(l(n[1][1+C1],n),o0,s,O0);default:var K0=f[1],Ax=function(ux){return[0,o,[4,ux]]};return I0(l(n[1][1+Ft],n),K0,s,Ax)}}function wA0(n,s,f){var o=f[3],m=f[2],b=f[1],T=B0(n[1][1+zx],n,c$,b),N=k(n[1][1+Me],n,m),q=k(n[1][1+B],n,o);return b===T&&m===N&&o===q?f:[0,T,N,q]}function TA0(n,s,f){var o=f[1],m=k(n[1][1+B],n,o);return o===m?f:[0,m]}function EA0(n,s,f){var o=f[3],m=f[2],b=f[1],T=k(n[1][1+q0],n,b),N=k(n[1][1+Hx],n,m),q=k(n[1][1+B],n,o);return b===T&&m===N&&o===q?f:[0,T,N,q]}function SA0(n,s,f){var o=f[4],m=f[3],b=f[2],T=f[1],N=B0(n[1][1+zx],n,[0,m],T),q=k(n[1][1+c0],n,b),i0=k(n[1][1+B],n,o);return N===T&&q===b&&i0===o?f:[0,N,q,m,i0]}function AA0(n,s,f){return B0(n[1][1+d0],n,s,f)}function IA0(n,s,f){var o=f[3],m=f[2],b=f[1],T=B0(n[1][1+zx],n,f$,b),N=X2(l(n[1][1+te],n),m),q=k(n[1][1+B],n,o);return T===b&&N===m&&o===q?f:[0,T,N,q]}function jA0(n,s,f){var o=f[2],m=f[1],b=k(n[1][1+c0],n,m),T=k(n[1][1+B],n,o);return m===b&&o===T?f:[0,b,T]}function PA0(n,s,f){var o=f[3],m=f[2],b=f[1],T=X2(l(n[1][1+te],n),m),N=k(n[1][1+B],n,o);return T===m&&o===N?f:[0,b,T,N]}function NA0(n,s,f){return B0(n[1][1+$s],n,s,f)}function OA0(n,s,f){var o=f[4],m=f[3],b=f[2],T=f[1],N=k(n[1][1+Br],n,T),q=k(n[1][1+c0],n,b),i0=Cx(l(n[1][1+Y],n),m),o0=k(n[1][1+B],n,o);return N===T&&q===b&&i0===m&&o0===o?f:[0,N,q,i0,o0]}function CA0(n,s){switch(s[0]){case 0:var f=s[1],o=f[2],m=f[1],b=B0(n[1][1+T1],n,m,o);return b===o?s:[0,[0,m,b]];case 1:var T=s[1],N=T[2],q=T[1],i0=B0(n[1][1+Xe],n,q,N);return i0===N?s:[1,[0,q,i0]];case 2:var o0=s[1],O0=o0[2],K0=o0[1],Ax=B0(n[1][1+vn],n,K0,O0);return Ax===O0?s:[2,[0,K0,Ax]];case 3:var ux=s[1],Kr=ux[2],m2=ux[1],s2=B0(n[1][1+on],n,m2,Kr);return s2===Kr?s:[3,[0,m2,s2]];case 4:var h2=s[1],d2=k(n[1][1+n0],n,h2);return d2===h2?s:[4,d2];case 5:var o1=s[1],ge=o1[2],ze=o1[1],Ve=B0(n[1][1+d0],n,ze,ge);return Ve===ge?s:[5,[0,ze,Ve]];case 6:var kt=s[1],Ge=kt[2],We=kt[1],$e=B0(n[1][1+Ux],n,We,Ge);return $e===Ge?s:[6,[0,We,$e]];case 7:var us=s[1],is=us[2],He=us[1],fs=B0(n[1][1+$s],n,He,is);return fs===is?s:[7,[0,He,fs]];default:var Ha=s[1],Qa=Ha[2],Za=Ha[1],xo=B0(n[1][1+ke],n,Za,Qa);return xo===Qa?s:[8,[0,Za,xo]]}}function DA0(n,s,f){var o=f[5],m=f[4],b=f[3],T=f[2],N=f[1],q=lB(l(n[1][1+le],n),m),i0=Cx(l(n[1][1+pe],n),b),o0=Cx(l(n[1][1+Lt],n),T),O0=k(n[1][1+B],n,o);return m===q&&b===i0&&T===o0&&o===O0?f:[0,N,o0,i0,q,O0]}function RA0(n,s,f){return B0(n[1][1+ke],n,s,f)}function FA0(n,s){var f=s[2],o=f[4],m=f[2],b=f[1],T=f[3],N=s[1],q=Cx(l(n[1][1+A],n),b),i0=k(n[1][1+n0],n,m),o0=k(n[1][1+B],n,o);return b===q&&m===i0&&o===o0?s:[0,N,[0,q,i0,T,o0]]}function LA0(n,s){var f=s[2],o=f[2],m=f[1],b=f[3],T=s[1],N=k(n[1][1+tv],n,m),q=k(n[1][1+c0],n,o);return m===N&&o===q?s:[0,T,[0,N,q,b]]}function MA0(n,s){var f=s[2],o=f[3],m=f[2],b=f[1],T=s[1],N=wr(l(n[1][1+Hs],n),b),q=Cx(l(n[1][1+he],n),m),i0=k(n[1][1+B],n,o);return b===N&&m===q&&o===i0?s:[0,T,[0,N,q,i0]]}function UA0(n,s,f){var o=f[4],m=f[3],b=f[2],T=f[1],N=Cx(l(n[1][1+F],n),T),q=k(n[1][1+kn],n,b),i0=k(n[1][1+Ya],n,m),o0=k(n[1][1+B],n,o);return T===N&&b===q&&m===i0&&o===o0?f:[0,N,q,i0,o0]}function qA0(n,s,f){var o=f[5],m=f[4],b=f[3],T=f[2],N=f[1],q=k(n[1][1+Zs],n,N),i0=Cx(l(n[1][1+F],n),T),o0=k(n[1][1+kn],n,b),O0=k(n[1][1+Ya],n,m),K0=k(n[1][1+B],n,o);return N===q&&T===i0&&b===o0&&m===O0&&o===K0?f:[0,q,i0,o0,O0,K0]}function BA0(n,s,f){var o=f[7],m=f[6],b=f[5],T=f[4],N=f[3],q=f[2],i0=f[1],o0=k(n[1][1+xa],n,i0),O0=Cx(l(n[1][1+F],n),q),K0=X2(l(n[1][1+g],n),N),Ax=l(n[1][1+D],n),ux=Cx(function(d2){return X2(Ax,d2)},T),Kr=l(n[1][1+D],n),m2=wr(function(d2){return X2(Kr,d2)},b),s2=Cx(l(n[1][1+fv],n),m),h2=k(n[1][1+B],n,o);return o0===i0&&O0===q&&K0===N&&ux===T&&m2===b&&s2===m&&h2===o?f:[0,o0,O0,K0,ux,m2,s2,h2]}function XA0(n,s,f){var o=f[1],m=k(n[1][1+B],n,o);return o===m?f:[0,m]}function JA0(n,s,f){var o=f[2],m=f[1],b=Cx(l(n[1][1+at],n),m),T=k(n[1][1+B],n,o);return m===b&&o===T?f:[0,b,T]}function KA0(n,s,f){var o=f[4],m=f[3],b=f[2],T=f[1],N=k(n[1][1+Hx],n,T),q=k(n[1][1+bx],n,b),i0=k(n[1][1+bx],n,m),o0=k(n[1][1+B],n,o);return T===N&&b===q&&m===i0&&o===o0?f:[0,N,q,i0,o0]}function YA0(n,s){var f=s[1],o=s[2];function m(b){return[0,f,b]}return R0(l(n[1][1+te],n),f,o,s,m)}function zA0(n,s){var f=s[2],o=f[2],m=f[1],b=s[1],T=k(n[1][1+ev],n,m),N=k(n[1][1+B],n,o);return m===T&&o===N?s:[0,b,[0,T,N]]}function VA0(n,s){return B0(n[1][1+ra],n,i$,s)}function GA0(n,s){if(s[0]===0)return[0,k(n[1][1+A],n,s[1])];var f=s[1],o=f[1];return[1,[0,o,B0(n[1][1+ex],n,o,f[2])]]}function WA0(n,s){var f=s[2],o=f[3],m=f[2],b=f[1],T=f[4],N=s[1],q=k(n[1][1+tv],n,b),i0=k(n[1][1+ev],n,m),o0=k(n[1][1+r1],n,o);return b===q&&m===i0&&o===o0?s:[0,N,[0,q,i0,o0,T]]}function $A0(n,s){var f=s[2],o=f[3],m=f[2],b=f[1],T=s[1],N=wr(l(n[1][1+nv],n),b),q=Cx(l(n[1][1+Qs],n),m),i0=k(n[1][1+B],n,o);return b===N&&m===q&&o===i0?s:[0,T,[0,N,q,i0]]}function HA0(n,s){return B0(n[1][1+zx],n,u$,s)}function QA0(n,s,f){var o=f[6],m=f[5],b=f[4],T=f[3],N=f[2],q=f[1],i0=f[7],o0=k(n[1][1+Zs],n,q),O0=Cx(l(n[1][1+F],n),N),K0=k(n[1][1+za],n,T),Ax=k(n[1][1+b3],n,m),ux=k(n[1][1+Ya],n,b),Kr=k(n[1][1+B],n,o);return q===o0&&N===O0&&T===K0&&m===Ax&&b===ux&&o===Kr?f:[0,o0,O0,K0,ux,Ax,Kr,i0]}function ZA0(n,s){return Cx(l(n[1][1+bx],n),s)}function xI0(n,s,f){var o=f[7],m=f[6],b=f[5],T=f[3],N=f[2],q=f[1],i0=k(n[1][1+fr],n,q),o0=k(n[1][1+Va],n,N),O0=k(n[1][1+Z],n,T),K0=k(n[1][1+i],n,b),Ax=wr(l(n[1][1+mn],n),m),ux=k(n[1][1+B],n,o);return q===i0&&N===o0&&O0===T&&K0===b&&Ax===m&&ux===o?f:[0,i0,o0,O0,f[4],K0,Ax,ux]}function rI0(n,s){if(typeof s=="number")return s;var f=s[1],o=k(n[1][1+bx],n,f);return f===o?s:[0,o]}function eI0(n,s,f){var o=f[7],m=f[6],b=f[5],T=f[3],N=f[2],q=f[1],i0=k(n[1][1+Jx],n,q),o0=k(n[1][1+Va],n,N),O0=k(n[1][1+Z],n,T),K0=k(n[1][1+i],n,b),Ax=wr(l(n[1][1+mn],n),m),ux=k(n[1][1+B],n,o);return q===i0&&N===o0&&O0===T&&K0===b&&Ax===m&&ux===o?f:[0,i0,o0,O0,f[4],K0,Ax,ux]}function tI0(n,s,f){var o=f[6],m=f[5],b=f[3],T=f[2],N=k(n[1][1+Jx],n,T),q=X2(l(n[1][1+Or],n),b),i0=wr(l(n[1][1+mn],n),m),o0=k(n[1][1+B],n,o);return T===N&&b===q&&m===i0&&o===o0?f:[0,f[1],N,q,f[4],i0,o0]}function nI0(n,s){var f=s[2],o=f[2],m=f[1],b=s[1],T=k(n[1][1+U],n,m),N=Cx(l(n[1][1+e0],n),o);return m===T&&o===N?s:[0,b,[0,T,N]]}function uI0(n,s){var f=s[2],o=f[2],m=f[1],b=s[1],T=wr(l(n[1][1+iv],n),m),N=k(n[1][1+B],n,o);return m===T&&o===N?s:[0,b,[0,T,N]]}function iI0(n,s){switch(s[0]){case 0:var f=s[1],o=f[1],m=f[2],b=function(ux){return[0,[0,o,ux]]};return R0(l(n[1][1+es],n),o,m,s,b);case 1:var T=s[1],N=T[1],q=T[2],i0=function(ux){return[1,[0,N,ux]]};return R0(l(n[1][1+uv],n),N,q,s,i0);default:var o0=s[1],O0=o0[1],K0=o0[2],Ax=function(ux){return[2,[0,O0,ux]]};return R0(l(n[1][1+w3],n),O0,K0,s,Ax)}}function fI0(n,s){var f=s[2],o=f[2],m=f[1],b=s[1],T=k(n[1][1+bx],n,m),N=k(n[1][1+B],n,o);return m===T&&o===N?s:[0,b,[0,T,N]]}function cI0(n,s){var f=s[2],o=f[2],m=f[1],b=s[1],T=wr(l(n[1][1+S3],n),m),N=k(n[1][1+B],n,o);return m===T&&o===N?s:[0,b,[0,T,N]]}function sI0(n,s){return B0(n[1][1+zx],n,n$,s)}function aI0(n,s,f){var o=f[3],m=f[2],b=f[1],T=k(n[1][1+bx],n,b),N=Cx(l(n[1][1+e0],n),m),q=k(n[1][1+B],n,o);return b===T&&m===N&&o===q?f:[0,T,N,q]}function oI0(n,s,f){var o=f[7],m=f[6],b=f[5],T=f[4],N=f[3],q=f[2],i0=f[1],o0=Cx(l(n[1][1+xa],n),i0),O0=Cx(l(n[1][1+F],n),N),K0=k(n[1][1+I3],n,q),Ax=l(n[1][1+T3],n),ux=Cx(function(h2){return X2(Ax,h2)},T),Kr=Cx(l(n[1][1+fv],n),b),m2=wr(l(n[1][1+mn],n),m),s2=k(n[1][1+B],n,o);return i0===o0&&q===K0&&T===ux&&b===Kr&&m===m2&&o===s2&&N===O0?f:[0,o0,K0,O0,ux,Kr,m2,s2]}function vI0(n,s,f){return B0(n[1][1+hn],n,s,f)}function lI0(n,s,f){return B0(n[1][1+hn],n,s,f)}function pI0(n,s,f){var o=f[3],m=f[2],b=f[1],T=Cx(l(n[1][1+ts],n),b),N=k(n[1][1+P3],n,m),q=k(n[1][1+B],n,o);return b===T&&m===N&&o===q?f:[0,T,N,q]}function kI0(n,s){return X2(l(n[1][1+te],n),s)}function mI0(n,s){if(s[0]===0){var f=s[1],o=k(n[1][1+n0],n,f);return o===f?s:[0,o]}var m=s[1],b=m[2][1],T=m[1],N=k(n[1][1+B],n,b);return b===N?s:[1,[0,T,[0,N]]]}function hI0(n,s){var f=s[2],o=f[2],m=f[1],b=s[1],T=wr(l(n[1][1+Wa],n),m),N=k(n[1][1+B],n,o);return m===T&&o===N?s:[0,b,[0,T,N]]}function dI0(n,s,f){var o=f[1],m=B0(n[1][1+$a],n,s,o);return o===m?f:[0,m,f[2],f[3]]}function yI0(n,s){var f=s[2],o=f[2],m=f[1],b=s[1],T=wr(l(n[1][1+Jr],n),m),N=k(n[1][1+B],n,o);return m===T&&o===N?s:[0,b,[0,T,N]]}function gI0(n,s,f){var o=f[4],m=f[3],b=f[2],T=f[1],N=k(n[1][1+bx],n,T),q=Cx(l(n[1][1+Ga],n),b),i0=k(n[1][1+M6],n,m),o0=k(n[1][1+B],n,o);return T===N&&b===q&&m===i0&&o===o0?f:[0,N,q,i0,o0]}function _I0(n,s,f){var o=f[2],m=f[1],b=Cx(l(n[1][1+at],n),m),T=k(n[1][1+B],n,o);return m===b&&o===T?f:[0,b,T]}function bI0(n,s,f){var o=f[2],m=f[1],b=k(n[1][1+Q0],n,m),T=k(n[1][1+B],n,o);return m===b&&o===T?f:[0,b,T]}function wI0(n,s,f){var o=f[4],m=f[3],b=f[2],T=k(n[1][1+bx],n,b),N=k(n[1][1+bx],n,m),q=k(n[1][1+B],n,o);return b===T&&m===N&&o===q?f:[0,f[1],T,N,q]}function TI0(n,s,f){var o=f[4],m=f[3],b=f[2],T=k(n[1][1+ns],n,b),N=k(n[1][1+bx],n,m),q=k(n[1][1+B],n,o);return b===T&&m===N&&o===q?f:[0,f[1],T,N,q]}function EI0(n,s,f){var o=f[3],m=f[2],b=f[1],T=k(n[1][1+bx],n,b),N=k(n[1][1+c0],n,m),q=k(n[1][1+B],n,o);return T===b&&N===m&&q===o?f:[0,T,N,q]}function SI0(n,s,f){var o=f[2],m=f[1],b=k(n[1][1+bx],n,m),T=k(n[1][1+B],n,o);return b===m&&T===o?f:[0,b,T]}function AI0(n,s,f){return B0(n[1][1+o2],n,s,f)}function II0(n,s){switch(s[0]){case 0:var f=s[1],o=function(T){return[0,T]};return I0(l(n[1][1+bx],n),f,s,o);case 1:var m=s[1],b=function(T){return[1,T]};return I0(l(n[1][1+cx],n),m,s,b);default:return s}}function jI0(n,s,f){var o=f[2],m=f[1],b=wr(l(n[1][1+Wd],n),m),T=k(n[1][1+B],n,o);return m===b&&o===T?f:[0,b,T]}function PI0(n,s){var f=s[2],o=s[1];switch(f[0]){case 0:var m=f[1],b=function(dx){return[0,o,[0,dx]]};return R0(l(n[1][1+$d],n),o,m,s,b);case 1:var T=f[1],N=function(dx){return[0,o,[1,dx]]};return R0(l(n[1][1+Vd],n),o,T,s,N);case 2:var q=f[1],i0=function(dx){return[0,o,[2,dx]]};return R0(l(n[1][1+O3],n),o,q,s,i0);case 3:var o0=f[1],O0=function(dx){return[0,o,[3,dx]]};return R0(l(n[1][1+sv],n),o,o0,s,O0);case 4:var K0=f[1],Ax=function(dx){return[0,o,[4,dx]]};return R0(l(n[1][1+ye],n),o,K0,s,Ax);case 5:var ux=f[1],Kr=function(dx){return[0,o,[5,dx]]};return R0(l(n[1][1+N3],n),o,ux,s,Kr);case 6:var m2=f[1],s2=function(dx){return[0,o,[6,dx]]};return R0(l(n[1][1+$a],n),o,m2,s,s2);case 7:var h2=f[1],d2=function(dx){return[0,o,[7,dx]]};return R0(l(n[1][1+E3],n),o,h2,s,d2);case 8:var o1=f[1],ge=function(dx){return[0,o,[8,dx]]};return R0(l(n[1][1+ln],n),o,o1,s,ge);case 9:var ze=f[1],Ve=function(dx){return[0,o,[9,dx]]};return R0(l(n[1][1+Wr],n),o,ze,s,Ve);case 10:var kt=f[1],Ge=function(dx){return[0,o,[10,dx]]};return I0(l(n[1][1+A],n),kt,s,Ge);case 11:var We=f[1],$e=function(dx){return[0,o,[11,dx]]};return I0(k(n[1][1+g3],n,o),We,s,$e);case 12:var us=f[1],is=function(dx){return[0,o,[12,dx]]};return R0(l(n[1][1+Ua],n),o,us,s,is);case 13:var He=f[1],fs=function(dx){return[0,o,[13,dx]]};return R0(l(n[1][1+K2],n),o,He,s,fs);case 14:var Ha=f[1],Qa=function(dx){return[0,o,[14,dx]]};return R0(l(n[1][1+ex],n),o,Ha,s,Qa);case 15:var Za=f[1],xo=function(dx){return[0,o,[15,dx]]};return R0(l(n[1][1+Mt],n),o,Za,s,xo);case 16:var G6=f[1],W6=function(dx){return[0,o,[16,dx]]};return R0(l(n[1][1+Ks],n),o,G6,s,W6);case 17:var $6=f[1],H6=function(dx){return[0,o,[17,dx]]};return R0(l(n[1][1+hx],n),o,$6,s,H6);case 18:var Q6=f[1],Z6=function(dx){return[0,o,[18,dx]]};return R0(l(n[1][1+ea],n),o,Q6,s,Z6);case 19:var xp=f[1],rp=function(dx){return[0,o,[19,dx]]};return R0(l(n[1][1+rr],n),o,xp,s,rp);case 20:var ep=f[1],tp=function(dx){return[0,o,[20,dx]]};return R0(l(n[1][1+fn],n),o,ep,s,tp);case 21:var np=f[1],up=function(dx){return[0,o,[21,dx]]};return R0(l(n[1][1+Oa],n),o,np,s,up);case 22:var ip=f[1],fp=function(dx){return[0,o,[22,dx]]};return R0(l(n[1][1+Ys],n),o,ip,s,fp);case 23:var cp=f[1],sp=function(dx){return[0,o,[23,dx]]};return R0(l(n[1][1+Go],n),o,cp,s,sp);case 24:var ap=f[1],op=function(dx){return[0,o,[24,dx]]};return R0(l(n[1][1+un],n),o,ap,s,op);case 25:var vp=f[1],lp=function(dx){return[0,o,[25,dx]]};return R0(l(n[1][1+Fr],n),o,vp,s,lp);case 26:var pp=f[1],kp=function(dx){return[0,o,[26,dx]]};return I0(k(n[1][1+b2],n,o),pp,s,kp);case 27:var mp=f[1],hp=function(dx){return[0,o,[27,dx]]};return R0(l(n[1][1+tx],n),o,mp,s,hp);case 28:var dp=f[1],yp=function(dx){return[0,o,[28,dx]]};return R0(l(n[1][1+Dx],n),o,dp,s,yp);case 29:var gp=f[1],_p=function(dx){return[0,o,[29,dx]]};return R0(l(n[1][1+V0],n),o,gp,s,_p);case 30:var bp=f[1],wp=function(dx){return[0,o,[30,dx]]};return R0(l(n[1][1+rx],n),o,bp,s,wp);case 31:var Tp=f[1],Ep=function(dx){return[0,o,[31,dx]]};return R0(l(n[1][1+A0],n),o,Tp,s,Ep);case 32:var Sp=f[1],Ap=function(dx){return[0,o,[32,dx]]};return R0(l(n[1][1+N0],n),o,Sp,s,Ap);case 33:var Ip=f[1],jp=function(dx){return[0,o,[33,dx]]};return R0(l(n[1][1+x0],n),o,Ip,s,jp);case 34:var Pp=f[1],Np=function(dx){return[0,o,[34,dx]]};return R0(l(n[1][1+p0],n),o,Pp,s,Np);case 35:var Op=f[1],Cp=function(dx){return[0,o,[35,dx]]};return R0(l(n[1][1+S],n),o,Op,s,Cp);case 36:var Dp=f[1],wx=function(dx){return[0,o,[36,dx]]};return R0(l(n[1][1+_],n),o,Dp,s,wx);default:var TD=f[1],ED=function(dx){return[0,o,[37,dx]]};return R0(l(n[1][1+e],n),o,TD,s,ED)}}function NI0(n,s){var f=s[2],o=s[1],m=s[3],b=wr(l(n[1][1+rs],n),o),T=wr(l(n[1][1+rs],n),f);return o===b&&f===T?s:[0,b,T,m]}function OI0(n){var s=l(n[1][1+G0],n);return function(f){return Cx(s,f)}}function CI0(n,s){return s}function DI0(n,s){var f=s[2],o=s[1];switch(f[0]){case 0:var m=f[1],b=function(mx){return[0,o,[0,mx]]};return R0(l(n[1][1+te],n),o,m,s,b);case 1:var T=f[1],N=function(mx){return[0,o,[1,mx]]};return R0(l(n[1][1+cv],n),o,T,s,N);case 2:var q=f[1],i0=function(mx){return[0,o,[2,mx]]};return R0(l(n[1][1+A3],n),o,q,s,i0);case 3:var o0=f[1],O0=function(mx){return[0,o,[3,mx]]};return R0(l(n[1][1+_3],n),o,o0,s,O0);case 4:var K0=f[1],Ax=function(mx){return[0,o,[4,mx]]};return R0(l(n[1][1+Ke],n),o,K0,s,Ax);case 5:var ux=f[1],Kr=function(mx){return[0,o,[5,mx]]};return R0(l(n[1][1+Zc],n),o,ux,s,Kr);case 6:var m2=f[1],s2=function(mx){return[0,o,[6,mx]]};return R0(l(n[1][1+vn],n),o,m2,s,s2);case 7:var h2=f[1],d2=function(mx){return[0,o,[7,mx]]};return R0(l(n[1][1+on],n),o,h2,s,d2);case 8:var o1=f[1],ge=function(mx){return[0,o,[8,mx]]};return R0(l(n[1][1+E1],n),o,o1,s,ge);case 9:var ze=f[1],Ve=function(mx){return[0,o,[9,mx]]};return R0(l(n[1][1+Je],n),o,ze,s,Ve);case 10:var kt=f[1],Ge=function(mx){return[0,o,[10,mx]]};return R0(l(n[1][1+Xe],n),o,kt,s,Ge);case 11:var We=f[1],$e=function(mx){return[0,o,[11,mx]]};return R0(l(n[1][1+me],n),o,We,s,$e);case 12:var us=f[1],is=function(mx){return[0,o,[12,mx]]};return R0(l(n[1][1+Qc],n),o,us,s,is);case 13:var He=f[1],fs=function(mx){return[0,o,[13,mx]]};return R0(l(n[1][1+Hc],n),o,He,s,fs);case 14:var Ha=f[1],Qa=function(mx){return[0,o,[14,mx]]};return R0(l(n[1][1+$c],n),o,Ha,s,Qa);case 15:var Za=f[1],xo=function(mx){return[0,o,[15,mx]]};return R0(l(n[1][1+Be],n),o,Za,s,xo);case 16:var G6=f[1],W6=function(mx){return[0,o,[16,mx]]};return R0(l(n[1][1+Ux],n),o,G6,s,W6);case 17:var $6=f[1],H6=function(mx){return[0,o,[17,mx]]};return R0(l(n[1][1+T1],n),o,$6,s,H6);case 18:var Q6=f[1],Z6=function(mx){return[0,o,[18,mx]]};return R0(l(n[1][1+qe],n),o,Q6,s,Z6);case 19:var xp=f[1],rp=function(mx){return[0,o,[19,mx]]};return R0(l(n[1][1+Ue],n),o,xp,s,rp);case 20:var ep=f[1],tp=function(mx){return[0,o,[20,mx]]};return R0(l(n[1][1+ke],n),o,ep,s,tp);case 21:var np=f[1],up=function(mx){return[0,o,[21,mx]]};return R0(l(n[1][1+re],n),o,np,s,up);case 22:var ip=f[1],fp=function(mx){return[0,o,[22,mx]]};return R0(l(n[1][1+b1],n),o,ip,s,fp);case 23:var cp=f[1],sp=function(mx){return[0,o,[23,mx]]};return R0(l(n[1][1+Cr],n),o,cp,s,sp);case 24:var ap=f[1],op=function(mx){return[0,o,[24,mx]]};return R0(l(n[1][1+c2],n),o,ap,s,op);case 25:var vp=f[1],lp=function(mx){return[0,o,[25,mx]]};return R0(l(n[1][1+xe],n),o,vp,s,lp);case 26:var pp=f[1],kp=function(mx){return[0,o,[26,mx]]};return R0(l(n[1][1+k2],n),o,pp,s,kp);case 27:var mp=f[1],hp=function(mx){return[0,o,[27,mx]]};return R0(l(n[1][1+Pr],n),o,mp,s,hp);case 28:var dp=f[1],yp=function(mx){return[0,o,[28,mx]]};return R0(l(n[1][1+Yd],n),o,dp,s,yp);case 29:var gp=f[1],_p=function(mx){return[0,o,[29,mx]]};return R0(l(n[1][1+L6],n),o,gp,s,_p);case 30:var bp=f[1],wp=function(mx){return[0,o,[30,mx]]};return R0(l(n[1][1+O6],n),o,bp,s,wp);case 31:var Tp=f[1],Ep=function(mx){return[0,o,[31,mx]]};return R0(l(n[1][1+Ca],n),o,Tp,s,Ep);case 32:var Sp=f[1],Ap=function(mx){return[0,o,[32,mx]]};return R0(l(n[1][1+Ix],n),o,Sp,s,Ap);case 33:var Ip=f[1],jp=function(mx){return[0,o,[33,mx]]};return R0(l(n[1][1+Y0],n),o,Ip,s,jp);case 34:var Pp=f[1],Np=function(mx){return[0,o,[34,mx]]};return R0(l(n[1][1+E0],n),o,Pp,s,Np);case 35:var Op=f[1],Cp=function(mx){return[0,o,[35,mx]]};return R0(l(n[1][1+w0],n),o,Op,s,Cp);case 36:var Dp=f[1],wx=function(mx){return[0,o,[36,mx]]};return R0(l(n[1][1+d0],n),o,Dp,s,wx);case 37:var TD=f[1],ED=function(mx){return[0,o,[37,mx]]};return R0(l(n[1][1+Ux],n),o,TD,s,ED);case 38:var dx=f[1],RI0=function(mx){return[0,o,[38,mx]]};return R0(l(n[1][1+p],n),o,dx,s,RI0);case 39:var FI0=f[1],LI0=function(mx){return[0,o,[39,mx]]};return R0(l(n[1][1+u],n),o,FI0,s,LI0);default:var MI0=f[1],UI0=function(mx){return[0,o,[40,mx]]};return R0(l(n[1][1+t],n),o,MI0,s,UI0)}}return UN(x,[0,DC,function(n,s){var f=s[2],o=f[4],m=f[3],b=f[1],T=f[2],N=s[1],q=k(n[1][1+T0],n,b),i0=k(n[1][1+B],n,m),o0=wr(l(n[1][1+rs],n),o);return b===q&&m===i0&&o===o0?s:[0,N,[0,q,T,i0,o0]]},q0,DI0,rs,CI0,B,OI0,G0,NI0,bx,PI0,$d,jI0,Wd,II0,Vd,AI0,O3,SI0,sv,EI0,ye,TI0,N3,wI0,te,bI0,cv,_I0,$a,gI0,M6,yI0,b2,dI0,Ga,hI0,Wa,mI0,P3,kI0,j3,pI0,A3,lI0,E3,vI0,hn,oI0,T3,aI0,xa,sI0,I3,cI0,mn,fI0,S3,iI0,fv,uI0,iv,nI0,es,tI0,uv,eI0,Va,rI0,w3,xI0,r1,ZA0,_3,QA0,Zs,HA0,za,$A0,nv,WA0,tv,GA0,ev,VA0,Qs,zA0,b3,YA0,ln,KA0,Ke,JA0,Zc,XA0,vn,BA0,on,qA0,xs,UA0,kn,MA0,Hs,LA0,he,FA0,E1,RA0,Je,DA0,Lt,CA0,Xe,OA0,me,NA0,Qc,PA0,Hc,jA0,$c,IA0,Be,AA0,T1,SA0,qe,EA0,Ue,TA0,ke,wA0,Me,bA0,a1,_A0,Fe,gA0,lt,yA0,C1,dA0,Ft,hA0,Le,mA0,ee,kA0,Rt,pA0,w1,lA0,V1,vA0,D1,oA0,re,aA0,$r,sA0,b1,cA0,Re,fA0,x1,iA0,pe,uA0,le,nA0,Cr,tA0,Jr,eA0,xe,rA0,O1,xA0,sr,ZS0,k2,QS0,w2,HS0,v2,$S0,c2,WS0,n2,GS0,s1,VS0,pr,zS0,lr,YS0,Sx,KS0,C0,JS0,nx,XS0,at,BS0,H,qS0,Rr,US0,c1,MS0,l0,LS0,G,FS0,Zx,RS0,gr,DS0,er,CS0,s0,OS0,g,NS0,U2,PS0,Ka,jS0,k0,IS0,u0,AS0,Wo,SS0,c,ES0,i,TS0,e0,wS0,F,bS0,K,_S0,D,gS0,D6,yS0,Mx,dS0,ex,hS0,hx,mS0,ea,kS0,Mt,pS0,Ks,lS0,rr,vS0,fn,oS0,z1,aS0,Ye,sS0,C6,cS0,E,fS0,O,iS0,P,uS0,C,nS0,j,tS0,Gc,eS0,Xx,rS0,xr,xS0,P0,ZE0,v0,QE0,g0,HE0,h0,$E0,Gd,WE0,y,GE0,an,VE0,n0,zE0,c0,YE0,Z,KE0,Ya,JE0,Pr,XE0,Wr,BE0,Or,qE0,o2,UE0,br,ME0,Px,LE0,Tr,FE0,qx,RE0,t2,DE0,p2,CE0,de,OE0,Br,NE0,A,PE0,V,jE0,U,IE0,pt,AE0,$s,SE0,O6,EE0,fr,TE0,pn,wE0,g3,bE0,zd,_E0,X,gE0,Yd,yE0,L6,dE0,Jd,hE0,Xd,mE0,Z0,kE0,R6,pE0,F6,lE0,Kd,vE0,Ua,oE0,K2,aE0,Ra,sE0,qa,cE0,Qo,fE0,Da,iE0,rv,uE0,sn,nE0,y3,tE0,xv,eE0,Zo,rE0,Ja,xE0,Xa,ZT0,Ba,QT0,vt,HT0,Wc,$T0,_r,WT0,Ws,GT0,Ma,VT0,cn,zT0,Gs,YT0,Fa,KT0,Vs,JT0,zs,XT0,La,BT0,ot,qT0,Ca,UT0,Oa,MT0,Ys,LT0,tx,FT0,Ho,RT0,$o,DT0,st,wD,Na,v5,Go,o5,un,bD,Fr,_D,J,gD,Jx,a5,_0,F3,y0,R3,kx,V6,J0,z6,Rx,yD,Ux,dD,ur,hD,v,Y6,ts,mD,Xr,kD,q2,pD,ra,K6,ns,lD,cr,vD,zx,oD,jx,aD,_x,sD,M0,D3,Vx,cD,ax,s5,L,fD,Ur,iD,w,uD,lx,J6,L0,nD,sx,c5,Yx,tD,px,eD,hr,rD,j0,X6,Gx,xD,$0,B6,Ex,f5,qr,ZC,Lx,i5,Y,q6,Hx,u5,Q,QC,$,n5,tr,HC,Ix,U6,Dx,$C,T0,WC,Q0,GC,S0,t5,cx,e5,yx,av,V0,VC,Y0,r5,W0,x5,rx,zC,A0,YC,X0,KC,N0,Zd,E0,C3,w0,JC,x0,XC,p0,BC,S,qC,_,Qd,p,Hd,a,UC,u,MC,t,LC,d0,FC,e,RC]),function(n,s){return kh(s,x)}}),JN=function x(r,e,t){return x.fun(r,e,t)};m0(JN,function(x,r,e){var t=e[2];switch(t[0]){case 0:var u=t[1][1];return u1(function(c){return function(v){var a=v[0]===0?v[1][2][2]:v[1][2][1];return B0(JN,x,c,a)}},r,u);case 1:var i=t[1][1];return u1(function(c){return function(v){return v[0]===2?c:B0(JN,x,c,v[1][2][1])}},r,i);case 2:return k(x,r,t[1][1]);default:return r}});var KN=function x(r){return x.fun(r)};function zb0(x){var r=x[0]===0?x[1][2][2]:x[1][2][1];return l(KN,r)}function Vb0(x){return x[0]===2?0:l(KN,x[1][2][1])}m0(KN,function(x){var r=x[2];switch(r[0]){case 0:return cN(zb0,r[1][1]);case 1:return cN(Vb0,r[1][1]);case 2:return 1;default:return 0}});function rn(x,r){return[0,r[1],[0,r[2],x]]}function pB(x,r,e){var t=x?x[1]:0,u=r?r[1]:0;return[0,t,u,e]}function t0(x,r,e){var t=x?x[1]:0,u=r?r[1]:0;return!t&&!u?0:[0,pB([0,t],[0,u],0)]}function F2(x,r,e,t){var u=x?x[1]:0,i=r?r[1]:0;return!u&&!i&&!e?0:[0,pB([0,u],[0,i],e)]}function N1(x,r){if(x){if(r){var e=r[1],t=x[1],u=[0,Fx(t[2],e[2])];return t0([0,Fx(e[1],t[1])],u,R)}var i=x}else var i=r;return i}function YN(x,r){if(!r)return x;if(x){var e=r[1],t=x[1],u=e[1],i=t[3],c=t[1],v=[0,Fx(t[2],e[2])];return F2([0,Fx(u,c)],v,i,R)}var a=r[1];return F2([0,a[1]],[0,a[2]],0,R)}function kB(x,r){e2(x)(tH),l(e2(x)(uH),nH);var e=r[1];l(e2(x)(iH),e),e2(x)(fH),e2(x)(cH),l(e2(x)(aH),sH);var t=r[2];return l(e2(x)(oH),t),e2(x)(vH),e2(x)(lH)}var mB=function x(r,e){return x.fun(r,e)},Gb0=function x(r){return x.fun(r)};m0(mB,function(x,r){e2(x)(dH),l(e2(x)(gH),yH);var e=r[1];if(e){var t=e[1];switch(lh(x,kH),t[0]){case 0:var u=t[1];e2(x)(zW),l(e2(x)(VW),u),e2(x)(GW);break;case 1:var i=t[1];e2(x)(WW),l(e2(x)($W),i),e2(x)(HW);break;case 2:var c=t[1];e2(x)(QW),l(e2(x)(ZW),c),e2(x)(x$);break;default:var v=t[1];e2(x)(r$),l(e2(x)(e$),v),e2(x)(t$)}lh(x,mH)}else lh(x,hH);return e2(x)(_H),e2(x)(bH),l(e2(x)(TH),wH),kB(x,r[2]),e2(x)(EH),e2(x)(SH),l(e2(x)(IH),AH),kB(x,r[3]),e2(x)(jH),e2(x)(PH)}),m0(Gb0,function(x){var r=pH[1],e=Uq(R),t=PN(e);return k(Lr(function(u){Ce(t,u),IN(t,0);var i=R2(e);return e[2]=0,e[1]=e[4],e[3]=nt(e[1]),i},0,r),mB,x)});function Zr(x,r){return[0,x[1],x[2],r[3]]}function Rs(x,r){var e=x[1]-r[1]|0;return e===0?x[2]-r[2]|0:e}function hB(x,r){var e=r[1],t=x[1];if(t){var u=t[1];if(e)var i=e[1],c=vB(i),v=vB(u)-c|0,a=v===0?ix(u[1],i[1]):v;else var a=-1}else var a=e?1:0;if(a!==0)return a;var p=Rs(x[2],r[2]);return p===0?Rs(x[3],r[3]):p}function ha(x,r){return hB(x,r)===0?1:0}var dB=function x(r,e){return x.fun(r,e)};m0(dB,function(x,r){if(typeof x=="number"){var e=x;if(57<=e)switch(e){case 57:if(typeof r=="number"&&r===57)return 0;break;case 58:if(typeof r=="number"&&r===58)return 0;break;case 59:if(typeof r=="number"&&r===59)return 0;break;case 60:if(typeof r=="number"&&r===60)return 0;break;case 61:if(typeof r=="number"&&r===61)return 0;break;case 62:if(typeof r=="number"&&r===62)return 0;break;case 63:if(typeof r=="number"&&r===63)return 0;break;case 64:if(typeof r=="number"&&r===64)return 0;break;case 65:if(typeof r=="number"&&r===65)return 0;break;case 66:if(typeof r=="number"&&r===66)return 0;break;case 67:if(typeof r=="number"&&r===67)return 0;break;case 68:if(typeof r=="number"&&r===68)return 0;break;case 69:if(typeof r=="number"&&r===69)return 0;break;case 70:if(typeof r=="number"&&r===70)return 0;break;case 71:if(typeof r=="number"&&r===71)return 0;break;case 72:if(typeof r=="number"&&r===72)return 0;break;case 73:if(typeof r=="number"&&r===73)return 0;break;case 74:if(typeof r=="number"&&r===74)return 0;break;case 75:if(typeof r=="number"&&r===75)return 0;break;case 76:if(typeof r=="number"&&r===76)return 0;break;case 77:if(typeof r=="number"&&r===77)return 0;break;case 78:if(typeof r=="number"&&r===78)return 0;break;case 79:if(typeof r=="number"&&r===79)return 0;break;case 80:if(typeof r=="number"&&r===80)return 0;break;case 81:if(typeof r=="number"&&r===81)return 0;break;case 82:if(typeof r=="number"&&r===82)return 0;break;case 83:if(typeof r=="number"&&r===83)return 0;break;case 84:if(typeof r=="number"&&r===84)return 0;break;case 85:if(typeof r=="number"&&r===85)return 0;break;case 86:if(typeof r=="number"&&r===86)return 0;break;case 87:if(typeof r=="number"&&r===87)return 0;break;case 88:if(typeof r=="number"&&r===88)return 0;break;case 89:if(typeof r=="number"&&r===89)return 0;break;case 90:if(typeof r=="number"&&r===90)return 0;break;case 91:if(typeof r=="number"&&r===91)return 0;break;case 92:if(typeof r=="number"&&r===92)return 0;break;case 93:if(typeof r=="number"&&r===93)return 0;break;case 94:if(typeof r=="number"&&r===94)return 0;break;case 95:if(typeof r=="number"&&r===95)return 0;break;case 96:if(typeof r=="number"&&r===96)return 0;break;case 97:if(typeof r=="number"&&r===97)return 0;break;case 98:if(typeof r=="number"&&r===98)return 0;break;case 99:if(typeof r=="number"&&r===99)return 0;break;case 100:if(typeof r=="number"&&et===r)return 0;break;case 101:if(typeof r=="number"&&yt===r)return 0;break;case 102:if(typeof r=="number"&&S1===r)return 0;break;case 103:if(typeof r=="number"&&Ze===r)return 0;break;case 104:if(typeof r=="number"&&_t===r)return 0;break;case 105:if(typeof r=="number"&>===r)return 0;break;case 106:if(typeof r=="number"&&z2===r)return 0;break;case 107:if(typeof r=="number"&&$f===r)return 0;break;case 108:if(typeof r=="number"&&R7===r)return 0;break;case 109:if(typeof r=="number"&&Ni===r)return 0;break;case 110:if(typeof r=="number"&&j2===r)return 0;break;case 111:if(typeof r=="number"&&zt===r)return 0;break;default:if(typeof r=="number"&&ue<=r)return 0}else switch(e){case 0:if(typeof r=="number"&&!r)return 0;break;case 1:if(typeof r=="number"&&r===1)return 0;break;case 2:if(typeof r=="number"&&r===2)return 0;break;case 3:if(typeof r=="number"&&r===3)return 0;break;case 4:if(typeof r=="number"&&r===4)return 0;break;case 5:if(typeof r=="number"&&r===5)return 0;break;case 6:if(typeof r=="number"&&r===6)return 0;break;case 7:if(typeof r=="number"&&r===7)return 0;break;case 8:if(typeof r=="number"&&r===8)return 0;break;case 9:if(typeof r=="number"&&r===9)return 0;break;case 10:if(typeof r=="number"&&r===10)return 0;break;case 11:if(typeof r=="number"&&r===11)return 0;break;case 12:if(typeof r=="number"&&r===12)return 0;break;case 13:if(typeof r=="number"&&r===13)return 0;break;case 14:if(typeof r=="number"&&r===14)return 0;break;case 15:if(typeof r=="number"&&r===15)return 0;break;case 16:if(typeof r=="number"&&r===16)return 0;break;case 17:if(typeof r=="number"&&r===17)return 0;break;case 18:if(typeof r=="number"&&r===18)return 0;break;case 19:if(typeof r=="number"&&r===19)return 0;break;case 20:if(typeof r=="number"&&r===20)return 0;break;case 21:if(typeof r=="number"&&r===21)return 0;break;case 22:if(typeof r=="number"&&r===22)return 0;break;case 23:if(typeof r=="number"&&r===23)return 0;break;case 24:if(typeof r=="number"&&r===24)return 0;break;case 25:if(typeof r=="number"&&r===25)return 0;break;case 26:if(typeof r=="number"&&r===26)return 0;break;case 27:if(typeof r=="number"&&r===27)return 0;break;case 28:if(typeof r=="number"&&r===28)return 0;break;case 29:if(typeof r=="number"&&r===29)return 0;break;case 30:if(typeof r=="number"&&r===30)return 0;break;case 31:if(typeof r=="number"&&r===31)return 0;break;case 32:if(typeof r=="number"&&r===32)return 0;break;case 33:if(typeof r=="number"&&r===33)return 0;break;case 34:if(typeof r=="number"&&r===34)return 0;break;case 35:if(typeof r=="number"&&r===35)return 0;break;case 36:if(typeof r=="number"&&r===36)return 0;break;case 37:if(typeof r=="number"&&r===37)return 0;break;case 38:if(typeof r=="number"&&r===38)return 0;break;case 39:if(typeof r=="number"&&r===39)return 0;break;case 40:if(typeof r=="number"&&r===40)return 0;break;case 41:if(typeof r=="number"&&r===41)return 0;break;case 42:if(typeof r=="number"&&r===42)return 0;break;case 43:if(typeof r=="number"&&r===43)return 0;break;case 44:if(typeof r=="number"&&r===44)return 0;break;case 45:if(typeof r=="number"&&r===45)return 0;break;case 46:if(typeof r=="number"&&r===46)return 0;break;case 47:if(typeof r=="number"&&r===47)return 0;break;case 48:if(typeof r=="number"&&r===48)return 0;break;case 49:if(typeof r=="number"&&r===49)return 0;break;case 50:if(typeof r=="number"&&r===50)return 0;break;case 51:if(typeof r=="number"&&r===51)return 0;break;case 52:if(typeof r=="number"&&r===52)return 0;break;case 53:if(typeof r=="number"&&r===53)return 0;break;case 54:if(typeof r=="number"&&r===54)return 0;break;case 55:if(typeof r=="number"&&r===55)return 0;break;default:if(typeof r=="number"&&r===56)return 0}}else switch(x[0]){case 0:if(typeof r!="number"&&r[0]===0)return ix(x[1],r[1]);break;case 1:if(typeof r!="number"&&r[0]===1)return ix(x[1],r[1]);break;case 2:if(typeof r!="number"&&r[0]===2){var t=ix(x[1],r[1]),u=r[2],i=x[2];return t===0?ix(i,u):t}break;case 3:if(typeof r!="number"&&r[0]===3){var c=ix(x[1],r[1]),v=r[2],a=x[2];return c===0?ix(a,v):c}break;case 4:if(typeof r!="number"&&r[0]===4){var p=ix(x[1],r[1]),_=r[2],y=x[2];return p===0?ix(y,_):p}break;case 5:if(typeof r!="number"&&r[0]===5)return ix(x[1],r[1]);break;case 6:if(typeof r!="number"&&r[0]===6)return wt(x[1],r[1]);break;case 7:if(typeof r!="number"&&r[0]===7){var S=r[2],E=x[2],j=ix(x[1],r[1]);if(j!==0)return j;if(!E)return S?-1:0;var C=E[1];return S?ix(C,S[1]):1}break;case 8:if(typeof r!="number"&&r[0]===8)return ix(x[1],r[1]);break;case 9:if(typeof r!="number"&&r[0]===9){var P=r[2],O=x[2],F=ix(x[1],r[1]),K=r[3],U=x[3];if(F!==0)return F;if(O){var V=O[1];if(P){var Q=P[1];x:{switch(V){case 0:if(!Q){var e0=0;break x}break;case 1:if(Q===1){var e0=0;break x}break;case 2:if(Q===2){var e0=0;break x}break;case 3:if(Q===3){var e0=0;break x}break;default:if(4<=Q){var e0=0;break x}}var $=function(jx){switch(jx){case 0:return 0;case 1:return 1;case 2:return 2;case 3:return 3;default:return 4}},x0=$(Q),e0=wt($(V),x0)}var Z=e0}else var Z=1}else var Z=P?-1:0;return Z===0?ix(U,K):Z}break;case 10:if(typeof r!="number"&&r[0]===10){var c0=ix(x[1],r[1]),d0=r[2],n0=x[2];return c0===0?ix(n0,d0):c0}break;case 11:if(typeof r!="number"&&r[0]===11){var P0=ix(x[1],r[1]),h0=r[2],g0=x[2];return P0===0?ix(g0,h0):P0}break;case 12:if(typeof r!="number"&&r[0]===12)return ix(x[1],r[1]);break;case 13:if(typeof r!="number"&&r[0]===13)return ix(x[1],r[1]);break;case 14:if(typeof r!="number"&&r[0]===14)return wt(x[1],r[1]);break;case 15:if(typeof r!="number"&&r[0]===15){var v0=ix(x[1],r[1]),p0=r[4],w0=r[3],T0=r[2],E0=x[4],N0=x[3],X0=x[2];if(v0!==0)return v0;var A0=wt(X0,T0);if(A0!==0)return A0;var rx=wt(N0,w0);return rx===0?wt(E0,p0):rx}break;case 16:if(typeof r!="number"&&r[0]===16){var B=wt(x[1],r[1]),G0=r[2],W0=x[2];return B===0?ix(W0,G0):B}break;case 17:if(typeof r!="number"&&r[0]===17)return wt(x[1],r[1]);break;case 18:if(typeof r!="number"&&r[0]===18)return ix(x[1],r[1]);break;case 19:if(typeof r!="number"&&r[0]===19)return ix(x[1],r[1]);break;case 20:if(typeof r!="number"&&r[0]===20)return ix(x[1],r[1]);break;case 21:if(typeof r!="number"&&r[0]===21){var Y0=ix(x[1],r[1]),V0=r[2],ex=x[2];return Y0===0?ix(ex,V0):Y0}break;case 22:if(typeof r!="number"&&r[0]===22){var Q0=r[1],S0=x[1];if(ol===S0){if(ol===Q0)return 0}else if(tl<=S0){if(tl===Q0)return 0}else if(xU===Q0)return 0;var q0=function(Hx){return ol===Hx?0:tl<=Hx?2:1},yx=q0(Q0);return wt(q0(S0),yx)}break;case 23:if(typeof r!="number"&&r[0]===23)return ix(x[1],r[1]);break;case 24:if(typeof r!="number"&&r[0]===24)return ix(x[1],r[1]);break;case 25:if(typeof r!="number"&&r[0]===25){var cx=ix(x[1],r[1]),Dx=r[2],Ix=x[2];return cx===0?ix(Ix,Dx):cx}break;case 26:if(typeof r!="number"&&r[0]===26){var Xx=ix(x[1],r[1]),Z0=r[2],rr=x[2];return Xx===0?ix(rr,Z0):Xx}break;default:if(typeof r!="number"&&r[0]===27)return ix(x[1],r[1])}function xr(Hx){if(typeof Hx!="number")switch(Hx[0]){case 0:return 16;case 1:return 17;case 2:return 19;case 3:return 20;case 4:return 21;case 5:return 22;case 6:return 23;case 7:return 24;case 8:return 26;case 9:return 27;case 10:return 28;case 11:return 30;case 12:return 31;case 13:return 33;case 14:return 36;case 15:return 48;case 16:return 51;case 17:return 53;case 18:return 61;case 19:return 70;case 20:return 79;case 21:return 86;case 22:return z2;case 23:return ia;case 24:return Ov;case 25:return Bp;case 26:return DL;default:return aU}var Y=Hx;if(57<=Y)switch(Y){case 57:return 77;case 58:return 78;case 59:return 80;case 60:return 81;case 61:return 82;case 62:return 83;case 63:return 84;case 64:return 85;case 65:return 87;case 66:return 88;case 67:return 89;case 68:return 90;case 69:return 91;case 70:return 92;case 71:return 93;case 72:return 94;case 73:return 95;case 74:return 96;case 75:return 97;case 76:return 98;case 77:return 99;case 78:return et;case 79:return yt;case 80:return S1;case 81:return Ze;case 82:return _t;case 83:return gt;case 84:return $f;case 85:return R7;case 86:return Ni;case 87:return j2;case 88:return zt;case 89:return ue;case 90:return Dr;case 91:return ua;case 92:return B3;case 93:return kv;case 94:return Ev;case 95:return of;case 96:return rl;case 97:return r2;case 98:return Vt;case 99:return Cv;case 100:return ms;case 101:return Yr;case 102:return y2;case 103:return dl;case 104:return kl;case 105:return _4;case 106:return hl;case 107:return HD;case 108:return qF;case 109:return LR;case 110:return M_;case 111:return _F;default:return mM}switch(Y){case 0:return 0;case 1:return 1;case 2:return 2;case 3:return 3;case 4:return 4;case 5:return 5;case 6:return 6;case 7:return 7;case 8:return 8;case 9:return 9;case 10:return 10;case 11:return 11;case 12:return 12;case 13:return 13;case 14:return 14;case 15:return 15;case 16:return 18;case 17:return 25;case 18:return 29;case 19:return 32;case 20:return 34;case 21:return 35;case 22:return 37;case 23:return 38;case 24:return 39;case 25:return 40;case 26:return 41;case 27:return 42;case 28:return 43;case 29:return 44;case 30:return 45;case 31:return 46;case 32:return 47;case 33:return 49;case 34:return 50;case 35:return 52;case 36:return 54;case 37:return 55;case 38:return 56;case 39:return 57;case 40:return 58;case 41:return 59;case 42:return 60;case 43:return 62;case 44:return 63;case 45:return 64;case 46:return 65;case 47:return 66;case 48:return 67;case 49:return 68;case 50:return 69;case 51:return 71;case 52:return 72;case 53:return 73;case 54:return 74;case 55:return 75;default:return 76}}var fr=xr(r);return wt(xr(x),fr)});var Wb0=[x2,F00,Ts(0)];function $b0(x){if(typeof x=="number"){var r=x;if(57<=r)switch(r){case 57:return LQ;case 58:return MQ;case 59:return UQ;case 60:return qQ;case 61:return BQ;case 62:return XQ;case 63:return JQ;case 64:return KQ;case 65:return YQ;case 66:return zQ;case 67:return VQ;case 68:return GQ;case 69:return WQ;case 70:return $Q;case 71:return HQ;case 72:return QQ;case 73:return ZQ;case 74:return xZ;case 75:return rZ;case 76:return eZ;case 77:return tZ;case 78:return nZ;case 79:return uZ;case 80:return iZ;case 81:return fZ;case 82:return cZ;case 83:return sZ;case 84:return aZ;case 85:return oZ;case 86:return vZ;case 87:return lZ;case 88:return pZ;case 89:return kZ;case 90:return mZ;case 91:return hZ;case 92:return dZ;case 93:return yZ;case 94:return gZ;case 95:return _Z;case 96:return bZ;case 97:return wZ;case 98:return TZ;case 99:return EZ;case 100:return SZ;case 101:return AZ;case 102:return IZ;case 103:return jZ;case 104:return PZ;case 105:return NZ;case 106:return OZ;case 107:return CZ;case 108:return DZ;case 109:return RZ;case 110:return FZ;case 111:return LZ;default:return MZ}switch(r){case 0:return OH;case 1:return CH;case 2:return DH;case 3:return RH;case 4:return FH;case 5:return LH;case 6:return MH;case 7:return UH;case 8:return qH;case 9:return BH;case 10:return XH;case 11:return Bx(KH,JH);case 12:return YH;case 13:return zH;case 14:return VH;case 15:return GH;case 16:return WH;case 17:return $H;case 18:return HH;case 19:return QH;case 20:return ZH;case 21:return xQ;case 22:return rQ;case 23:return eQ;case 24:return tQ;case 25:return nQ;case 26:return uQ;case 27:return iQ;case 28:return fQ;case 29:return cQ;case 30:return Bx(aQ,sQ);case 31:return oQ;case 32:return vQ;case 33:return lQ;case 34:return pQ;case 35:return kQ;case 36:return mQ;case 37:return hQ;case 38:return dQ;case 39:return yQ;case 40:return gQ;case 41:return _Q;case 42:return bQ;case 43:return wQ;case 44:return TQ;case 45:return EQ;case 46:return SQ;case 47:return AQ;case 48:return IQ;case 49:return jQ;case 50:return PQ;case 51:return NQ;case 52:return OQ;case 53:return CQ;case 54:return DQ;case 55:return RQ;default:return FQ}}switch(x[0]){case 0:var e=x[1];return l(yr(UZ),e);case 1:var t=x[1];return l(yr(qZ),t);case 2:var u=x[2],i=x[1];return k(yr(BZ),u,i);case 3:var c=x[2],v=x[1];return B0(yr(XZ),c,c,v);case 4:var a=x[2],p=x[1];return k(yr(JZ),a,p);case 5:var _=x[1];return l(yr(KZ),_);case 6:return x[1]?YZ:zZ;case 7:var y=x[2],S=x[1],E=l(yr(VZ),S);if(!y)return l(yr(WZ),E);var j=y[1];return k(yr(GZ),j,E);case 8:var C=x[1];return k(yr($Z),C,C);case 9:var P=x[3],O=x[2],F=x[1];if(!O)return k(yr(ZZ),P,F);var K=O[1];if(K===3)return k(yr(QZ),P,F);switch(K){case 0:var U=BW;break;case 1:var U=XW;break;case 2:var U=JW;break;case 3:var U=KW;break;default:var U=YW}return St(yr(HZ),F,U,P,U);case 10:var V=x[2],Q=x[1],$=cq(V);return B0(yr(x00),V,$,Q);case 11:var x0=x[2],e0=x[1];return k(yr(r00),x0,e0);case 12:var Z=x[1];return l(yr(e00),Z);case 13:var c0=x[1];return l(yr(t00),c0);case 14:return x[1]?Bx(u00,n00):Bx(f00,i00);case 15:var d0=x[1],n0=x[4],P0=x[3],h0=x[2]?c00:s00,g0=P0?a00:o00,v0=n0?Bx(v00,d0):d0;return B0(yr(l00),h0,g0,v0);case 16:var p0=x[2],w0=x[1],T0=aq(45,p0);if(T0)var E0=T0[1],N0=T0[2]?fq(NH,[0,E0,xn(cq,T0[2])]):E0;else var N0=p0;var X0=w0?p00:k00;return B0(yr(m00),p0,N0,X0);case 17:var A0=x[1]?h00:d00;return l(yr(y00),A0);case 18:var rx=x[1];return l(yr(g00),rx);case 19:var B=x[1];return l(yr(_00),B);case 20:var G0=x[1];return l(yr(b00),G0);case 21:var W0=x[2],Y0=x[1];return k(yr(w00),Y0,W0);case 22:var V0=x[1];if(ol===V0)var ex=I00,Q0=j00;else if(tl<=V0)var ex=T00,Q0=E00;else var ex=S00,Q0=A00;return k(yr(P00),Q0,ex);case 23:var S0=x[1];return l(yr(N00),S0);case 24:var q0=x[1];return l(yr(O00),q0);case 25:var yx=x[2],cx=x[1];return k(yr(C00),cx,yx);case 26:var Dx=x[2],Ix=x[1];return k(yr(D00),Ix,Dx);default:var Xx=x[1];return l(yr(R00),Xx)}}var yB=L00.slice();function zN(x){for(var r=0,e=yB.length-1-1|0;;){if(ex)return 1;var r=t+1|0}}}var gB=0;function _B(x){var r=x[2];return[0,x[1],[0,r[1],r[2],r[3],r[4],r[5],r[6],r[7],r[8],r[9],r[10],r[11],r[12]],x[3],x[4],x[5],x[6],x[7]]}function bB(x){return x[3][1]}function _h(x,r){return x!==r[4]?[0,r[1],r[2],r[3],x,r[5],r[6],r[7]]:r}var VN=function x(r,e){return x.fun(r,e)},wB=function x(r,e){return x.fun(r,e)},GN=function x(r,e){return x.fun(r,e)},WN=function x(r,e){return x.fun(r,e)};m0(VN,function(x,r){if(typeof x=="number"){var e=x;if(67<=e)if(et<=e)switch(e){case 100:if(typeof r=="number"&&et===r)return 1;break;case 101:if(typeof r=="number"&&yt===r)return 1;break;case 102:if(typeof r=="number"&&S1===r)return 1;break;case 103:if(typeof r=="number"&&Ze===r)return 1;break;case 104:if(typeof r=="number"&&_t===r)return 1;break;case 105:if(typeof r=="number"&>===r)return 1;break;case 106:if(typeof r=="number"&&z2===r)return 1;break;case 107:if(typeof r=="number"&&$f===r)return 1;break;case 108:if(typeof r=="number"&&R7===r)return 1;break;case 109:if(typeof r=="number"&&Ni===r)return 1;break;case 110:if(typeof r=="number"&&j2===r)return 1;break;case 111:if(typeof r=="number"&&zt===r)return 1;break;case 112:if(typeof r=="number"&&ue===r)return 1;break;case 113:if(typeof r=="number"&&Dr===r)return 1;break;case 114:if(typeof r=="number"&&ia===r)return 1;break;case 115:if(typeof r=="number"&&Ov===r)return 1;break;case 116:if(typeof r=="number"&&ua===r)return 1;break;case 117:if(typeof r=="number"&&B3===r)return 1;break;case 118:if(typeof r=="number"&&kv===r)return 1;break;case 119:if(typeof r=="number"&&Ev===r)return 1;break;case 120:if(typeof r=="number"&&of===r)return 1;break;case 121:if(typeof r=="number"&&rl===r)return 1;break;case 122:if(typeof r=="number"&&r2===r)return 1;break;case 123:if(typeof r=="number"&&Vt===r)return 1;break;case 124:if(typeof r=="number"&&Cv===r)return 1;break;case 125:if(typeof r=="number"&&ms===r)return 1;break;case 126:if(typeof r=="number"&&Bp===r)return 1;break;case 127:if(typeof r=="number"&&Yr===r)return 1;break;case 128:if(typeof r=="number"&&y2===r)return 1;break;case 129:if(typeof r=="number"&&dl===r)return 1;break;case 130:if(typeof r=="number"&&kl===r)return 1;break;case 131:if(typeof r=="number"&&_4===r)return 1;break;default:if(typeof r=="number"&&hl<=r)return 1}else switch(e){case 67:if(typeof r=="number"&&r===67)return 1;break;case 68:if(typeof r=="number"&&r===68)return 1;break;case 69:if(typeof r=="number"&&r===69)return 1;break;case 70:if(typeof r=="number"&&r===70)return 1;break;case 71:if(typeof r=="number"&&r===71)return 1;break;case 72:if(typeof r=="number"&&r===72)return 1;break;case 73:if(typeof r=="number"&&r===73)return 1;break;case 74:if(typeof r=="number"&&r===74)return 1;break;case 75:if(typeof r=="number"&&r===75)return 1;break;case 76:if(typeof r=="number"&&r===76)return 1;break;case 77:if(typeof r=="number"&&r===77)return 1;break;case 78:if(typeof r=="number"&&r===78)return 1;break;case 79:if(typeof r=="number"&&r===79)return 1;break;case 80:if(typeof r=="number"&&r===80)return 1;break;case 81:if(typeof r=="number"&&r===81)return 1;break;case 82:if(typeof r=="number"&&r===82)return 1;break;case 83:if(typeof r=="number"&&r===83)return 1;break;case 84:if(typeof r=="number"&&r===84)return 1;break;case 85:if(typeof r=="number"&&r===85)return 1;break;case 86:if(typeof r=="number"&&r===86)return 1;break;case 87:if(typeof r=="number"&&r===87)return 1;break;case 88:if(typeof r=="number"&&r===88)return 1;break;case 89:if(typeof r=="number"&&r===89)return 1;break;case 90:if(typeof r=="number"&&r===90)return 1;break;case 91:if(typeof r=="number"&&r===91)return 1;break;case 92:if(typeof r=="number"&&r===92)return 1;break;case 93:if(typeof r=="number"&&r===93)return 1;break;case 94:if(typeof r=="number"&&r===94)return 1;break;case 95:if(typeof r=="number"&&r===95)return 1;break;case 96:if(typeof r=="number"&&r===96)return 1;break;case 97:if(typeof r=="number"&&r===97)return 1;break;case 98:if(typeof r=="number"&&r===98)return 1;break;default:if(typeof r=="number"&&r===99)return 1}else if(34<=e)switch(e){case 34:if(typeof r=="number"&&r===34)return 1;break;case 35:if(typeof r=="number"&&r===35)return 1;break;case 36:if(typeof r=="number"&&r===36)return 1;break;case 37:if(typeof r=="number"&&r===37)return 1;break;case 38:if(typeof r=="number"&&r===38)return 1;break;case 39:if(typeof r=="number"&&r===39)return 1;break;case 40:if(typeof r=="number"&&r===40)return 1;break;case 41:if(typeof r=="number"&&r===41)return 1;break;case 42:if(typeof r=="number"&&r===42)return 1;break;case 43:if(typeof r=="number"&&r===43)return 1;break;case 44:if(typeof r=="number"&&r===44)return 1;break;case 45:if(typeof r=="number"&&r===45)return 1;break;case 46:if(typeof r=="number"&&r===46)return 1;break;case 47:if(typeof r=="number"&&r===47)return 1;break;case 48:if(typeof r=="number"&&r===48)return 1;break;case 49:if(typeof r=="number"&&r===49)return 1;break;case 50:if(typeof r=="number"&&r===50)return 1;break;case 51:if(typeof r=="number"&&r===51)return 1;break;case 52:if(typeof r=="number"&&r===52)return 1;break;case 53:if(typeof r=="number"&&r===53)return 1;break;case 54:if(typeof r=="number"&&r===54)return 1;break;case 55:if(typeof r=="number"&&r===55)return 1;break;case 56:if(typeof r=="number"&&r===56)return 1;break;case 57:if(typeof r=="number"&&r===57)return 1;break;case 58:if(typeof r=="number"&&r===58)return 1;break;case 59:if(typeof r=="number"&&r===59)return 1;break;case 60:if(typeof r=="number"&&r===60)return 1;break;case 61:if(typeof r=="number"&&r===61)return 1;break;case 62:if(typeof r=="number"&&r===62)return 1;break;case 63:if(typeof r=="number"&&r===63)return 1;break;case 64:if(typeof r=="number"&&r===64)return 1;break;case 65:if(typeof r=="number"&&r===65)return 1;break;default:if(typeof r=="number"&&r===66)return 1}else switch(e){case 0:if(typeof r=="number"&&!r)return 1;break;case 1:if(typeof r=="number"&&r===1)return 1;break;case 2:if(typeof r=="number"&&r===2)return 1;break;case 3:if(typeof r=="number"&&r===3)return 1;break;case 4:if(typeof r=="number"&&r===4)return 1;break;case 5:if(typeof r=="number"&&r===5)return 1;break;case 6:if(typeof r=="number"&&r===6)return 1;break;case 7:if(typeof r=="number"&&r===7)return 1;break;case 8:if(typeof r=="number"&&r===8)return 1;break;case 9:if(typeof r=="number"&&r===9)return 1;break;case 10:if(typeof r=="number"&&r===10)return 1;break;case 11:if(typeof r=="number"&&r===11)return 1;break;case 12:if(typeof r=="number"&&r===12)return 1;break;case 13:if(typeof r=="number"&&r===13)return 1;break;case 14:if(typeof r=="number"&&r===14)return 1;break;case 15:if(typeof r=="number"&&r===15)return 1;break;case 16:if(typeof r=="number"&&r===16)return 1;break;case 17:if(typeof r=="number"&&r===17)return 1;break;case 18:if(typeof r=="number"&&r===18)return 1;break;case 19:if(typeof r=="number"&&r===19)return 1;break;case 20:if(typeof r=="number"&&r===20)return 1;break;case 21:if(typeof r=="number"&&r===21)return 1;break;case 22:if(typeof r=="number"&&r===22)return 1;break;case 23:if(typeof r=="number"&&r===23)return 1;break;case 24:if(typeof r=="number"&&r===24)return 1;break;case 25:if(typeof r=="number"&&r===25)return 1;break;case 26:if(typeof r=="number"&&r===26)return 1;break;case 27:if(typeof r=="number"&&r===27)return 1;break;case 28:if(typeof r=="number"&&r===28)return 1;break;case 29:if(typeof r=="number"&&r===29)return 1;break;case 30:if(typeof r=="number"&&r===30)return 1;break;case 31:if(typeof r=="number"&&r===31)return 1;break;case 32:if(typeof r=="number"&&r===32)return 1;break;default:if(typeof r=="number"&&r===33)return 1}}else switch(x[0]){case 0:if(typeof r!="number"&&r[0]===0){var t=r[2],u=r[1],i=x[2],c=l(l(GN,x[1]),u);return c&&Sr(i,t)}break;case 1:if(typeof r!="number"&&r[0]===1){var v=r[2],a=r[1],p=x[2],_=l(l(WN,x[1]),a);return _&&Sr(p,v)}break;case 2:if(typeof r!="number"&&r[0]===2){var y=r[1],S=x[1],E=y[4],j=y[3],C=y[2],P=S[4],O=S[3],F=S[2],K=ha(S[1],y[1]),U=K&&Sr(F,C),V=U&&Sr(O,j);return V&&(P===E?1:0)}break;case 3:if(typeof r!="number"&&r[0]===3){var Q=r[1],$=x[1],x0=Q[5],e0=Q[4],Z=Q[3],c0=Q[2],d0=$[5],n0=$[4],P0=$[3],h0=$[2],g0=ha($[1],Q[1]),v0=g0&&Sr(h0,c0),p0=v0&&Sr(P0,Z),w0=p0&&(n0===e0?1:0);return w0&&(d0===x0?1:0)}break;case 4:if(typeof r!="number"&&r[0]===4){var T0=r[3],E0=r[2],N0=x[3],X0=x[2],A0=ha(x[1],r[1]),rx=A0&&Sr(X0,E0);return rx&&Sr(N0,T0)}break;case 5:if(typeof r!="number"&&r[0]===5){var B=r[3],G0=r[2],W0=x[3],Y0=x[2],V0=ha(x[1],r[1]),ex=V0&&Sr(Y0,G0);return ex&&Sr(W0,B)}break;case 6:if(typeof r!="number"&&r[0]===6){var Q0=r[2],S0=x[2],q0=ha(x[1],r[1]);return q0&&Sr(S0,Q0)}break;case 7:if(typeof r!="number"&&r[0]===7)return Sr(x[1],r[1]);break;case 8:if(typeof r!="number"&&r[0]===8){var yx=Sr(x[1],r[1]),cx=r[2],Dx=x[2];return yx&&ha(Dx,cx)}break;case 9:if(typeof r!="number"&&r[0]===9){var Ix=r[3],Xx=r[2],Z0=x[3],rr=x[2],xr=ha(x[1],r[1]),fr=xr&&Sr(rr,Xx);return fr&&Sr(Z0,Ix)}break;case 10:if(typeof r!="number"&&r[0]===10){var Hx=r[3],Y=r[2],jx=x[3],hr=x[2],Yx=ha(x[1],r[1]),Ur=Yx&&Sr(hr,Y);return Ur&&Sr(jx,Hx)}break;case 11:if(typeof r!="number"&&r[0]===11){var px=r[1];return l(l(wB,x[1]),px)}break;case 12:if(typeof r!="number"&&r[0]===12){var w=r[3],L=r[2],L0=r[1],sx=x[3],lx=x[2],ax=l(l(GN,x[1]),L0),Vx=ax&&(lx==L?1:0);return Vx&&Sr(sx,w)}break;default:if(typeof r!="number"&&r[0]===13){var _x=r[2],zx=x[2],Lx=r[3],M0=r[1],qr=x[3],Ex=l(l(WN,x[1]),M0);if(Ex){x:{if(zx){if(_x){var $0=Xv(zx[1],_x[1]);break x}}else if(!_x){var $0=1;break x}var $0=0}var Gx=$0}else var Gx=Ex;return Gx&&Sr(qr,Lx)}}return 0}),m0(wB,function(x,r){if(x){if(r)return 1}else if(!r)return 1;return 0}),m0(GN,function(x,r){switch(x){case 0:if(!r)return 1;break;case 1:if(r===1)return 1;break;case 2:if(r===2)return 1;break;case 3:if(r===3)return 1;break;default:if(4<=r)return 1}return 0}),m0(WN,function(x,r){switch(x){case 0:if(!r)return 1;break;case 1:if(r===1)return 1;break;default:if(2<=r)return 1}return 0});function TB(x){if(typeof x!="number")switch(x[0]){case 0:return ot0;case 1:return vt0;case 2:return lt0;case 3:return pt0;case 4:return kt0;case 5:return mt0;case 6:return ht0;case 7:return dt0;case 8:return yt0;case 9:return gt0;case 10:return _t0;case 11:return bt0;case 12:return wt0;default:return Tt0}var r=x;if(67<=r){if(et<=r)switch(r){case 100:return Oe0;case 101:return Ce0;case 102:return De0;case 103:return Re0;case 104:return Fe0;case 105:return Le0;case 106:return Me0;case 107:return Ue0;case 108:return qe0;case 109:return Be0;case 110:return Xe0;case 111:return Je0;case 112:return Ke0;case 113:return Ye0;case 114:return ze0;case 115:return Ve0;case 116:return Ge0;case 117:return We0;case 118:return $e0;case 119:return He0;case 120:return Qe0;case 121:return Ze0;case 122:return xt0;case 123:return rt0;case 124:return et0;case 125:return tt0;case 126:return nt0;case 127:return ut0;case 128:return it0;case 129:return ft0;case 130:return ct0;case 131:return st0;default:return at0}switch(r){case 67:return Z10;case 68:return xe0;case 69:return re0;case 70:return ee0;case 71:return te0;case 72:return ne0;case 73:return ue0;case 74:return ie0;case 75:return fe0;case 76:return ce0;case 77:return se0;case 78:return ae0;case 79:return oe0;case 80:return ve0;case 81:return le0;case 82:return pe0;case 83:return ke0;case 84:return me0;case 85:return he0;case 86:return de0;case 87:return ye0;case 88:return ge0;case 89:return _e0;case 90:return be0;case 91:return we0;case 92:return Te0;case 93:return Ee0;case 94:return Se0;case 95:return Ae0;case 96:return Ie0;case 97:return je0;case 98:return Pe0;default:return Ne0}}if(34<=r)switch(r){case 34:return g10;case 35:return _10;case 36:return b10;case 37:return w10;case 38:return T10;case 39:return E10;case 40:return S10;case 41:return A10;case 42:return I10;case 43:return j10;case 44:return P10;case 45:return N10;case 46:return O10;case 47:return C10;case 48:return D10;case 49:return R10;case 50:return F10;case 51:return L10;case 52:return M10;case 53:return U10;case 54:return q10;case 55:return B10;case 56:return X10;case 57:return J10;case 58:return K10;case 59:return Y10;case 60:return z10;case 61:return V10;case 62:return G10;case 63:return W10;case 64:return $10;case 65:return H10;default:return Q10}switch(r){case 0:return q20;case 1:return B20;case 2:return X20;case 3:return J20;case 4:return K20;case 5:return Y20;case 6:return z20;case 7:return V20;case 8:return G20;case 9:return W20;case 10:return $20;case 11:return H20;case 12:return Q20;case 13:return Z20;case 14:return x10;case 15:return r10;case 16:return e10;case 17:return t10;case 18:return n10;case 19:return u10;case 20:return i10;case 21:return f10;case 22:return c10;case 23:return s10;case 24:return a10;case 25:return o10;case 26:return v10;case 27:return l10;case 28:return p10;case 29:return k10;case 30:return m10;case 31:return h10;case 32:return d10;default:return y10}}function $N(x){if(typeof x!="number")switch(x[0]){case 0:return x[2];case 1:return x[2];case 2:return x[1][3];case 3:var r=x[1],e=r[5],t=r[4],u=r[3];return t&&e?Bx(j20,Bx(u,I20)):t?Bx(N20,Bx(u,P20)):e?Bx(C20,Bx(u,O20)):Bx(R20,Bx(u,D20));case 4:return x[3];case 5:var i=x[2];return Bx(L20,Bx(i,Bx(F20,x[3])));case 6:return x[2];case 7:return x[1];case 8:return x[1];case 9:return x[3];case 10:return x[3];case 11:return x[1]?M20:U20;case 12:return x[3];default:return x[3]}var c=x;if(67<=c){if(et<=c)switch(c){case 100:return Wr0;case 101:return $r0;case 102:return Hr0;case 103:return Qr0;case 104:return Zr0;case 105:return x20;case 106:return r20;case 107:return e20;case 108:return t20;case 109:return n20;case 110:return u20;case 111:return i20;case 112:return f20;case 113:return c20;case 114:return s20;case 115:return a20;case 116:return o20;case 117:return v20;case 118:return l20;case 119:return p20;case 120:return k20;case 121:return m20;case 122:return h20;case 123:return d20;case 124:return y20;case 125:return g20;case 126:return _20;case 127:return b20;case 128:return w20;case 129:return T20;case 130:return E20;case 131:return S20;default:return A20}switch(c){case 67:return mr0;case 68:return hr0;case 69:return dr0;case 70:return yr0;case 71:return gr0;case 72:return _r0;case 73:return br0;case 74:return wr0;case 75:return Tr0;case 76:return Er0;case 77:return Sr0;case 78:return Ar0;case 79:return Ir0;case 80:return jr0;case 81:return Pr0;case 82:return Nr0;case 83:return Or0;case 84:return Cr0;case 85:return Dr0;case 86:return Rr0;case 87:return Fr0;case 88:return Lr0;case 89:return Mr0;case 90:return Ur0;case 91:return qr0;case 92:return Br0;case 93:return Xr0;case 94:return Jr0;case 95:return Kr0;case 96:return Yr0;case 97:return zr0;case 98:return Vr0;default:return Gr0}}if(34<=c)switch(c){case 34:return Lx0;case 35:return Mx0;case 36:return Ux0;case 37:return qx0;case 38:return Bx0;case 39:return Xx0;case 40:return Jx0;case 41:return Kx0;case 42:return Yx0;case 43:return zx0;case 44:return Vx0;case 45:return Gx0;case 46:return Wx0;case 47:return $x0;case 48:return Hx0;case 49:return Qx0;case 50:return Zx0;case 51:return xr0;case 52:return rr0;case 53:return er0;case 54:return tr0;case 55:return nr0;case 56:return ur0;case 57:return ir0;case 58:return fr0;case 59:return cr0;case 60:return sr0;case 61:return ar0;case 62:return or0;case 63:return vr0;case 64:return lr0;case 65:return pr0;default:return kr0}switch(c){case 0:return tx0;case 1:return nx0;case 2:return ux0;case 3:return ix0;case 4:return fx0;case 5:return cx0;case 6:return sx0;case 7:return ax0;case 8:return ox0;case 9:return vx0;case 10:return lx0;case 11:return px0;case 12:return kx0;case 13:return mx0;case 14:return hx0;case 15:return dx0;case 16:return yx0;case 17:return gx0;case 18:return _x0;case 19:return bx0;case 20:return wx0;case 21:return Tx0;case 22:return Ex0;case 23:return Sx0;case 24:return Ax0;case 25:return Ix0;case 26:return jx0;case 27:return Px0;case 28:return Nx0;case 29:return Ox0;case 30:return Cx0;case 31:return Dx0;case 32:return Rx0;default:return Fx0}}function bh(x){return l(yr(ex0),x)}function HN(x,r){var e=x?x[1]:0;x:{if(typeof r=="number"){if(Dr===r){var t=q00,u=B00;break x}}else switch(r[0]){case 3:var t=X00,u=J00;break x;case 5:var t=K00,u=Y00;break x;case 0:case 12:var t=V00,u=G00;break x;case 1:case 13:var t=W00,u=$00;break x;case 4:case 8:var t=Z00,u=xx0;break x;case 6:case 7:case 11:break;default:var t=H00,u=Q00;break x}var t=z00,u=bh($N(r))}return e?Bx(t,Bx(rx0,u)):u}function Hb0(x){return Eo>>0)var t=d(x);else switch(e){case 0:var t=1;break;case 1:var t=2;break;case 2:var t=0;break;default:if(z(x,2),wa(h(x))===0){var u=Lo(h(x));if(u===0)var t=Ir(h(x))===0&&Ir(h(x))===0&&Ir(h(x))===0?0:d(x);else if(u===1&&Ir(h(x))===0){for(;;){var i=Fo(h(x));if(i!==0)break}var t=i===1?0:d(x)}else var t=d(x)}else var t=d(x)}if(2>>0)throw U0([0,Ar,Et0],1);switch(t){case 0:break;case 1:return;default:if(!zN(iB(x))){cB(x,1);return}}}}function Vh(x,r){var e=r-x[3][2]|0;return[0,bB(x),e]}function Hl(x,r,e){var t=Vh(x,e),u=Vh(x,r);return[0,x[1],u,t]}function h1(x,r){return Vh(x,r[6])}function oe(x,r){return Vh(x,r[3])}function zr(x,r){return Hl(x,r[6],r[3])}function GB(x,r){x:if(typeof r!="number"){switch(r[0]){case 2:var e=r[1][1];break;case 3:return r[1][1];case 4:var e=r[1];break;case 5:return r[1];case 8:var e=r[2];break;case 9:return r[1];case 10:return r[1];default:break x}return e}return zr(x,x[2])}function d1(x,r,e){return[0,x[1],x[2],x[3],x[4],x[5],[0,[0,r,e],x[6]],x[7]]}function WB(x,r,e){return d1(x,r,[24,bh(e)])}function tO(x,r,e,t){return d1(x,r,[25,e,t])}function ft(x,r){return d1(x,r,Kc0)}function J1(x,r){var e=r[3],t=[0,bB(x)+1|0,e];return[0,x[1],x[2],t,x[4],x[5],x[6],x[7]]}function jt(x,r,e,t,u){var i=[0,x[1],r,e],c=R2(t),v=u?0:1;return[0,i,[0,v,c,x[7][3][1]>>0)var a=d(t);else switch(v){case 0:var a=2;break;case 1:for(;;){z(t,3);var p=h(t),_=-1>>0)return gx(Lc0);switch(a){case 0:var E=HB(i,e,t,2,0),j=E[1],C=tt(Bx(Mc0,E[2])),P=0<=C?1:0,O=P&&(C<=55295?1:0);if(O)var K=O;else var F=57344<=C?1:0,K=F&&(C<=d8?1:0);var U=K?$B(i,j,C):d1(i,j,28);Mc(u,C);var i=U;break;case 1:var V=HB(i,e,t,3,1),Q=V[1],$=tt(Bx(Uc0,V[2])),x0=$B(i,Q,$);Mc(u,$);var i=x0;break;case 2:return[0,i,R2(u)];default:dh(t,u)}}}function A2(x,r,e){var t=ft(x,zr(x,r));return Zv(r),e(t,r)}function Uo(x,r,e){for(var t=x;;){kr(e);var u=h(e),i=-1>>0)var c=d(e);else switch(i){case 0:for(;;){z(e,3);var v=h(e),a=-1>>0){var y=ft(t,zr(t,e));return[0,y,oe(y,e)]}switch(c){case 0:var S=J1(t,e);dh(e,r);var t=S;break;case 1:var E=t[4]?tO(t,zr(t,e),It0,At0):t;return[0,E,oe(E,e)];case 2:if(t[4])return[0,t,oe(t,e)];ar(r,jt0);break;default:dh(e,r)}}}function t3(x,r,e){for(;;){kr(e);var t=h(e),u=13>>0)var i=d(e);else switch(u){case 0:var i=0;break;case 1:for(;;){z(e,2);var c=h(e),v=-1>>0)return gx(Pt0);switch(i){case 0:return[0,x,oe(x,e)];case 1:var a=oe(x,e),p=a[2],_=a[1],y=J1(x,e);return[0,y,[0,_,p-hh(e)|0]];default:dh(e,r)}}}function ZB(x,r){function e(Q){return z(Q,3),X1(h(Q))===0?2:d(Q)}kr(r);var t=h(r),u=of>>0)var i=d(r);else switch(u){case 0:var i=0;break;case 1:var i=16;break;case 2:var i=15;break;case 3:z(r,15);var i=ae(h(r))===0?15:d(r);break;case 4:z(r,4);var i=X1(h(r))===0?e(r):d(r);break;case 5:z(r,11);var i=X1(h(r))===0?e(r):d(r);break;case 6:var i=0;break;case 7:var i=5;break;case 8:var i=6;break;case 9:var i=7;break;case 10:var i=8;break;case 11:var i=9;break;case 12:z(r,14);var c=Lo(h(r));if(c===0)var i=Ir(h(r))===0&&Ir(h(r))===0&&Ir(h(r))===0?12:d(r);else if(c===1&&Ir(h(r))===0){for(;;){var v=Fo(h(r));if(v!==0)break}var i=v===1?13:d(r)}else var i=d(r);break;case 13:var i=10;break;default:z(r,14);var i=Ir(h(r))===0&&Ir(h(r))===0?1:d(r)}if(16>>0)return gx(wc0);switch(i){case 0:var a=Ox(r);return[0,x,a,i2(r),0];case 1:var p=Ox(r);return[0,x,p,[0,tt(Bx(Tc0,p))],0];case 2:var _=Ox(r),y=tt(Bx(Ec0,_));return gv<=y?[0,x,_,[0,y>>>3|0,48+(y&7)|0],1]:[0,x,_,[0,y],1];case 3:var S=Ox(r);return[0,x,S,[0,tt(Bx(Sc0,S))],1];case 4:return[0,x,Ac0,[0,0],0];case 5:return[0,x,Ic0,[0,8],0];case 6:return[0,x,jc0,[0,12],0];case 7:return[0,x,Pc0,[0,10],0];case 8:return[0,x,Nc0,[0,13],0];case 9:return[0,x,Oc0,[0,9],0];case 10:return[0,x,Cc0,[0,11],0];case 11:var E=Ox(r);return[0,x,E,[0,tt(Bx(Dc0,E))],1];case 12:var j=Ox(r);return[0,x,j,[0,tt(Bx(Rc0,k1(j,1,Nx(j)-1|0)))],0];case 13:var C=Ox(r),P=tt(Bx(Fc0,k1(C,2,Nx(C)-3|0))),O=d8>>0)var _=d(i);else switch(p){case 0:var _=3;break;case 1:for(;;){z(i,4);var y=h(i),S=-1>>0)return gx(Nt0);switch(_){case 0:var E=Ox(i);if(ar(t,E),Sr(r,E))return[0,c,oe(c,i),v];ar(e,E);break;case 1:ar(t,Ot0);var j=ZB(c,i),C=j[4],P=j[3],O=j[2],F=j[1],K=C||v;ar(t,O),oq(function(P0){return Mc(e,P0)},P);var c=F,v=K;break;case 2:var U=Ox(i);ar(t,U);var V=J1(ft(c,zr(c,i)),i);return ar(e,U),[0,V,oe(V,i),v];case 3:var Q=Ox(i);ar(t,Q);var $=ft(c,zr(c,i));return ar(e,Q),[0,$,oe($,i),v];default:var x0=i[6],e0=i[3]-x0|0,Z=T2(e0*4|0),c0=zl(i[1],x0,e0,Z);pN(t,Z,0,c0),pN(e,Z,0,c0)}}}function rX(x,r,e,t){for(var u=x;;){kr(t);var i=h(t),c=96>>0)var v=d(t);else switch(c){case 0:var v=0;break;case 1:for(;;){z(t,6);var a=h(t),p=-1>>0)return gx(Ct0);switch(v){case 0:return[0,ft(u,zr(u,t)),1];case 1:return[0,u,1];case 2:return[0,u,0];case 3:ut(e,92);var S=ZB(u,t),E=S[3],j=S[1];ar(e,S[2]),oq(function(O){return Mc(r,O)},E);var u=j;break;case 4:ar(e,Dt0),ar(r,Rt0);var u=J1(u,t);break;case 5:ar(e,Ox(t)),ut(r,10);var u=J1(u,t);break;default:var C=Ox(t);ar(e,C),ar(r,C)}}}function xw0(x,r){function e(g){for(;;)if(z(g,33),or(h(g))!==0)return d(g)}function t(g){z(g,32);var G=D2(h(g));if(G!==0)return G===1?e(g):d(g);for(;;)if(z(g,30),or(h(g))!==0)return d(g)}function u(g){z(g,31);var G=D2(h(g));if(G!==0)return G===1?e(g):d(g);for(;;)if(z(g,29),or(h(g))!==0)return d(g)}function i(g){z(g,34);var G=x3(h(g));if(2>>0)return d(g);switch(G){case 0:return e(g);case 1:x:for(;;){z(g,34);var H=Xc(h(g));if(3>>0)return d(g);switch(H){case 0:return e(g);case 1:break;case 2:break x;default:return u(g)}}for(;;){if(mr(h(g))!==0)return d(g);x:for(;;){z(g,34);var l0=Xc(h(g));if(3>>0)return d(g);switch(l0){case 0:return e(g);case 1:break;case 2:break x;default:return u(g)}}}break;default:return u(g)}}function c(g){for(;;){if(mr(h(g))!==0)return d(g);x:for(;;){z(g,34);var G=MB(h(g));if(4>>0)return d(g);switch(G){case 0:return e(g);case 1:return i(g);case 2:break;case 3:break x;default:return t(g)}}}}function v(g){for(;;)if(z(g,23),or(h(g))!==0)return d(g)}function a(g){for(;;)if(z(g,23),or(h(g))!==0)return d(g)}function p(g){for(;;)if(z(g,15),or(h(g))!==0)return d(g)}function _(g){for(;;)if(z(g,15),or(h(g))!==0)return d(g)}function y(g){for(;;)if(z(g,11),or(h(g))!==0)return d(g)}function S(g){for(;;)if(z(g,11),or(h(g))!==0)return d(g)}function E(g){for(;;)if(z(g,17),or(h(g))!==0)return d(g)}function j(g){for(;;)if(z(g,17),or(h(g))!==0)return d(g)}function C(g){for(;;)if(z(g,19),or(h(g))!==0)return d(g)}function P(g){for(;;)if(z(g,27),or(h(g))!==0)return d(g)}function O(g){z(g,26);var G=D2(h(g));if(G!==0)return G===1?P(g):d(g);for(;;)if(z(g,25),or(h(g))!==0)return d(g)}function F(g){for(;;)if(z(g,27),or(h(g))!==0)return d(g)}function K(g){z(g,26);var G=D2(h(g));if(G!==0)return G===1?F(g):d(g);for(;;)if(z(g,25),or(h(g))!==0)return d(g)}function U(g){for(;;){if(mr(h(g))!==0)return d(g);x:for(;;){z(g,28);var G=Xc(h(g));if(3>>0)return d(g);switch(G){case 0:return F(g);case 1:break;case 2:break x;default:return K(g)}}}}function V(g){z(g,33);var G=qB(h(g));if(3>>0)return d(g);switch(G){case 0:return e(g);case 1:var H=ya(h(g));if(H===0)for(;;){z(g,28);var l0=x3(h(g));if(2>>0)return d(g);switch(l0){case 0:return F(g);case 1:break;default:return K(g)}}else{if(H!==1)return d(g);for(;;){z(g,28);var J=Xc(h(g));if(3>>0)return d(g);switch(J){case 0:return F(g);case 1:break;case 2:return U(g);default:return K(g)}}}break;case 2:for(;;){z(g,28);var s0=x3(h(g));if(2>>0)return d(g);switch(s0){case 0:return P(g);case 1:break;default:return O(g)}}break;default:for(;;){z(g,28);var _0=Xc(h(g));if(3<_0>>>0)return d(g);switch(_0){case 0:return P(g);case 1:break;case 2:return U(g);default:return O(g)}}}}function Q(g){z(g,34);var G=PB(h(g));if(3>>0)return d(g);switch(G){case 0:return e(g);case 1:x:for(;;){z(g,34);var H=ga(h(g));if(4>>0)return d(g);switch(H){case 0:return e(g);case 1:break;case 2:return V(g);case 3:break x;default:return u(g)}}for(;;){if(mr(h(g))!==0)return d(g);x:for(;;){z(g,34);var l0=ga(h(g));if(4>>0)return d(g);switch(l0){case 0:return e(g);case 1:break;case 2:return V(g);case 3:break x;default:return u(g)}}}break;case 2:return V(g);default:return u(g)}}function $(g){return qh(h(g))===0&&Fh(h(g))===0&&XB(h(g))===0&&OB(h(g))===0&&CB(h(g))===0&&Rh(h(g))===0&&Wl(h(g))===0&&qh(h(g))===0&&wa(h(g))===0&&eO(h(g))===0&&Mo(h(g))===0?3:d(g)}function x0(g){return z(g,3),YB(h(g))===0?3:d(g)}function e0(g){var G=Hb0(h(g));if(36>>0)return d(g);switch(G){case 0:return 98;case 1:return 99;case 2:if(z(g,1),qc(h(g))!==0)return d(g);for(;;)if(z(g,1),qc(h(g))!==0)return d(g);break;case 3:return 0;case 4:return z(g,0),ae(h(g))===0?0:d(g);case 5:return z(g,88),en(h(g))===0?(z(g,58),en(h(g))===0?54:d(g)):d(g);case 6:return 7;case 7:z(g,95);var H=h(g),l0=32>>0)return d(g);switch(_0){case 0:return z(g,83),en(h(g))===0?70:d(g);case 1:return 4;default:return 69}case 14:z(g,80);var y0=h(g),J0=42>>0)return d(g);switch(gr){case 0:return e(g);case 1:break;case 2:return V(g);case 3:break x;default:return u(g)}}for(;;){if(mr(h(g))!==0)return d(g);x:for(;;){z(g,34);var Zx=ga(h(g));if(4>>0)return d(g);switch(Zx){case 0:return e(g);case 1:break;case 2:return V(g);case 3:break x;default:return u(g)}}}break;case 18:z(g,93);var er=NB(h(g));if(2>>0)return d(g);switch(er){case 0:z(g,2);var Fr=jh(h(g));if(2>>0)return d(g);switch(Fr){case 0:for(;;){var hx=jh(h(g));if(2>>0)return d(g);switch(hx){case 0:break;case 1:return x0(g);default:return $(g)}}break;case 1:return x0(g);default:return $(g)}break;case 1:return 5;default:return 92}break;case 19:z(g,34);var z1=RB(h(g));if(8>>0)return d(g);switch(z1){case 0:return e(g);case 1:return Q(g);case 2:x:{r:for(;;){z(g,20);var Ks=BB(h(g));if(4>>0)return d(g);switch(Ks){case 0:return C(g);case 1:return i(g);case 2:break;case 3:break x;default:break r}}z(g,19);var un=D2(h(g));if(un!==0)return un===1?C(g):d(g);for(;;)if(z(g,19),or(h(g))!==0)return d(g)}x:for(;;){z(g,18);var fn=Ih(h(g));if(3>>0)return d(g);switch(fn){case 0:return j(g);case 1:return i(g);case 2:break;default:break x}}z(g,17);var Go=D2(h(g));if(Go!==0)return Go===1?j(g):d(g);for(;;)if(z(g,17),or(h(g))!==0)return d(g);break;case 3:x:for(;;){z(g,18);var Wo=Ih(h(g));if(3>>0)return d(g);switch(Wo){case 0:return E(g);case 1:return i(g);case 2:break;default:break x}}z(g,17);var $o=D2(h(g));if($o!==0)return $o===1?E(g):d(g);for(;;)if(z(g,17),or(h(g))!==0)return d(g);break;case 4:z(g,33);var Na=DB(h(g));if(Na===0)return e(g);if(Na!==1)return d(g);x:{r:for(;;){z(g,12);var Ho=Kh(h(g));if(3>>0)return d(g);switch(Ho){case 0:return S(g);case 1:break;case 2:break x;default:break r}}z(g,10);var st=D2(h(g));if(st!==0)return st===1?S(g):d(g);for(;;)if(z(g,9),or(h(g))!==0)return d(g)}x:for(;;){if(Bc(h(g))!==0)return d(g);r:for(;;){z(g,12);var Ys=Kh(h(g));if(3>>0)return d(g);switch(Ys){case 0:return y(g);case 1:break;case 2:break r;default:break x}}}z(g,10);var Oa=D2(h(g));if(Oa!==0)return Oa===1?y(g):d(g);for(;;)if(z(g,9),or(h(g))!==0)return d(g);break;case 5:return V(g);case 6:z(g,33);var Ca=FB(h(g));if(Ca===0)return e(g);if(Ca!==1)return d(g);x:{r:for(;;){z(g,16);var at=Xh(h(g));if(3>>0)return d(g);switch(at){case 0:return _(g);case 1:break;case 2:break x;default:break r}}z(g,14);var Gc=D2(h(g));if(Gc!==0)return Gc===1?_(g):d(g);for(;;)if(z(g,13),or(h(g))!==0)return d(g)}x:for(;;){if(X1(h(g))!==0)return d(g);r:for(;;){z(g,16);var _r=Xh(h(g));if(3<_r>>>0)return d(g);switch(_r){case 0:return p(g);case 1:break;case 2:break r;default:break x}}}z(g,14);var Da=D2(h(g));if(Da!==0)return Da===1?p(g):d(g);for(;;)if(z(g,13),or(h(g))!==0)return d(g);break;case 7:z(g,33);var Ra=AB(h(g));if(Ra===0)return e(g);if(Ra!==1)return d(g);x:{r:for(;;){z(g,24);var Qo=Yh(h(g));if(3>>0)return d(g);switch(Qo){case 0:return a(g);case 1:break;case 2:break x;default:break r}}z(g,22);var Fa=D2(h(g));if(Fa!==0)return Fa===1?a(g):d(g);for(;;)if(z(g,21),or(h(g))!==0)return d(g)}x:for(;;){if(Ir(h(g))!==0)return d(g);r:for(;;){z(g,24);var zs=Yh(h(g));if(3>>0)return d(g);switch(zs){case 0:return v(g);case 1:break;case 2:break r;default:break x}}}z(g,22);var La=D2(h(g));if(La!==0)return La===1?v(g):d(g);for(;;)if(z(g,21),or(h(g))!==0)return d(g);break;default:return t(g)}break;case 20:z(g,34);var Vs=Nh(h(g));if(5>>0)return d(g);switch(Vs){case 0:return e(g);case 1:return Q(g);case 2:for(;;){z(g,34);var ot=Nh(h(g));if(5>>0)return d(g);switch(ot){case 0:return e(g);case 1:return Q(g);case 2:break;case 3:return V(g);case 4:return c(g);default:return t(g)}}break;case 3:return V(g);case 4:return c(g);default:return t(g)}break;case 21:return 46;case 22:return 44;case 23:z(g,78);var K2=h(g),Wc=59>>0)return gx(yc0);var c0=Z;if(50>c0)switch(c0){case 0:return[2,J1(x,r)];case 1:return[2,x];case 2:var d0=h1(x,r),n0=Qr(Yr),P0=Uo(x,n0,r),h0=P0[1];return[1,h0,jt(h0,d0,P0[2],n0,1)];case 3:var g0=Ox(r);if(!x[5]){var v0=h1(x,r),p0=Qr(Yr);ar(p0,k1(g0,2,Nx(g0)-2|0));var w0=Uo(x,p0,r),T0=w0[1];return[1,T0,jt(T0,v0,w0[2],p0,1)]}var E0=x[4]?WB(x,zr(x,r),g0):x,N0=_h(1,E0),X0=hh(r);return Sr(Vl(r,X0-1|0,1),Ao)&&I(Vl(r,X0-2|0,1),Ao)?[0,N0,86]:[2,N0];case 4:if(x[4])return[2,_h(0,x)];Zv(r),kr(r);var A0=jB(h(r))===0?0:d(r);return A0===0?[0,x,z2]:gx(gc0);case 5:var rx=h1(x,r),B=Qr(Yr),G0=t3(x,B,r),W0=G0[1];return[1,W0,jt(W0,rx,G0[2],B,0)];case 6:if(r[6]!==0)return[0,x,_c0];var Y0=h1(x,r),V0=Qr(Yr),ex=t3(x,V0,r),Q0=ex[1],S0=[0,Q0[1],Y0,ex[2]];return[0,Q0,[6,S0,R2(V0)]];case 7:var q0=Ox(r),yx=h1(x,r),cx=Qr(Yr),Dx=Qr(Yr);ar(Dx,q0);var Ix=xX(x,q0,cx,Dx,0,r),Xx=Ix[1],Z0=Ix[3],rr=[0,Xx[1],yx,Ix[2]],xr=R2(Dx);return[0,Xx,[2,[0,rr,R2(cx),xr,Z0]]];case 8:var fr=Qr(Yr),Hx=Qr(Yr),Y=h1(x,r),jx=rX(x,fr,Hx,r),hr=jx[1],Yx=jx[2],Ur=oe(hr,r),px=[0,hr[1],Y,Ur],w=R2(Hx);return[0,hr,[3,[0,px,R2(fr),w,1,Yx]]];case 9:return A2(x,r,function(g,G){kr(G);x:if(se(h(G))===0&&Ch(h(G))===0&&Bc(h(G))===0){r:for(;;){var H=Sh(h(G));if(2>>0){var s0=d(G);break x}switch(H){case 0:break;case 1:break r;default:var s0=0;break x}}for(;;){r:{if(Bc(h(G))===0){e:for(;;){var l0=Sh(h(G));if(2>>0){var J=d(G);break r}switch(l0){case 0:break;case 1:break e;default:var J=0;break r}}continue}var J=d(G)}var s0=J;break}}else var s0=d(G);return s0===0?[0,g,[1,0,Ox(G)]]:gx(dc0)});case 10:return[0,x,[1,0,Ox(r)]];case 11:return A2(x,r,function(g,G){if(kr(G),se(h(G))===0&&Ch(h(G))===0&&Bc(h(G))===0){for(;;){z(G,0);var H=Eh(h(G));if(H!==0)break}if(H===1)for(;;){if(Bc(h(G))===0){for(;;){z(G,0);var l0=Eh(h(G));if(l0!==0)break}if(l0===1)continue;var J=d(G)}else var J=d(G);var s0=J;break}else var s0=d(G)}else var s0=d(G);return s0===0?[0,g,[0,0,Ox(G)]]:gx(hc0)});case 12:return[0,x,[0,0,Ox(r)]];case 13:return A2(x,r,function(g,G){kr(G);x:if(se(h(G))===0&&Mh(h(G))===0&&X1(h(G))===0){r:for(;;){var H=Oh(h(G));if(2>>0){var s0=d(G);break x}switch(H){case 0:break;case 1:break r;default:var s0=0;break x}}for(;;){r:{if(X1(h(G))===0){e:for(;;){var l0=Oh(h(G));if(2>>0){var J=d(G);break r}switch(l0){case 0:break;case 1:break e;default:var J=0;break r}}continue}var J=d(G)}var s0=J;break}}else var s0=d(G);return s0===0?[0,g,[1,1,Ox(G)]]:gx(mc0)});case 14:return[0,x,[1,1,Ox(r)]];case 15:return A2(x,r,function(g,G){if(kr(G),se(h(G))===0&&Mh(h(G))===0&&X1(h(G))===0){for(;;){z(G,0);var H=Ph(h(G));if(H!==0)break}if(H===1)for(;;){if(X1(h(G))===0){for(;;){z(G,0);var l0=Ph(h(G));if(l0!==0)break}if(l0===1)continue;var J=d(G)}else var J=d(G);var s0=J;break}else var s0=d(G)}else var s0=d(G);return s0===0?[0,g,[0,3,Ox(G)]]:gx(kc0)});case 16:return[0,x,[0,3,Ox(r)]];case 17:return A2(x,r,function(g,G){if(kr(G),se(h(G))===0){for(;;){var H=h(G),l0=47>>0){var s0=d(G);break x}switch(H){case 0:break;case 1:break r;default:var s0=0;break x}}for(;;){r:{if(Ir(h(G))===0){e:for(;;){var l0=Ah(h(G));if(2>>0){var J=d(G);break r}switch(l0){case 0:break;case 1:break e;default:var J=0;break r}}continue}var J=d(G)}var s0=J;break}}else var s0=d(G);return s0===0?[0,g,[1,2,Ox(G)]]:gx(vc0)});case 22:return[0,x,[1,2,Ox(r)]];case 23:return A2(x,r,function(g,G){if(kr(G),se(h(G))===0&&wh(h(G))===0&&Ir(h(G))===0){for(;;){z(G,0);var H=Bh(h(G));if(H!==0)break}if(H===1)for(;;){if(Ir(h(G))===0){for(;;){z(G,0);var l0=Bh(h(G));if(l0!==0)break}if(l0===1)continue;var J=d(G)}else var J=d(G);var s0=J;break}else var s0=d(G)}else var s0=d(G);return s0===0?[0,g,[0,4,Ox(G)]]:gx(oc0)});case 24:return[0,x,[0,4,Ox(r)]];case 25:return A2(x,r,function(g,G){function H(er){for(;;){var Fr=At(h(er));if(2>>0)return d(er);switch(Fr){case 0:break;case 1:for(;;){if(mr(h(er))!==0)return d(er);x:for(;;){var hx=At(h(er));if(2>>0)return d(er);switch(hx){case 0:break;case 1:break x;default:return 0}}}break;default:return 0}}}function l0(er){for(;;){var Fr=r3(h(er));if(Fr!==0)return Fr===1?0:d(er)}}function J(er){var Fr=zh(h(er));if(2>>0)return d(er);switch(Fr){case 0:var hx=ya(h(er));return hx===0?l0(er):hx===1?H(er):d(er);case 1:return l0(er);default:return H(er)}}function s0(er){var Fr=Uh(h(er));if(Fr!==0)return Fr===1?J(er):d(er);x:for(;;){var hx=Z1(h(er));if(2>>0)return d(er);switch(hx){case 0:break;case 1:return J(er);default:break x}}for(;;){if(mr(h(er))!==0)return d(er);x:for(;;){var z1=Z1(h(er));if(2>>0)return d(er);switch(z1){case 0:break;case 1:return J(er);default:break x}}}}kr(G);var _0=da(h(G));if(2<_0>>>0)var y0=d(G);else x:switch(_0){case 0:if(mr(h(G))===0){r:for(;;){var J0=Z1(h(G));if(2>>0){var y0=d(G);break x}switch(J0){case 0:break;case 1:var y0=J(G);break x;default:break r}}for(;;){r:{if(mr(h(G))===0){e:for(;;){var Rx=Z1(h(G));if(2>>0){var kx=d(G);break r}switch(Rx){case 0:break;case 1:var kx=J(G);break r;default:break e}}continue}var kx=d(G)}var y0=kx;break}}else var y0=d(G);break;case 1:var Jx=Th(h(G)),y0=Jx===0?s0(G):Jx===1?J(G):d(G);break;default:r:for(;;){var gr=Lh(h(G));if(2>>0){var y0=d(G);break}switch(gr){case 0:var y0=s0(G);break r;case 1:break;default:var y0=J(G);break r}}}if(y0!==0)return gx(ac0);var Zx=d1(g,zr(g,G),43);return[0,Zx,[1,2,Ox(G)]]});case 26:var L=d1(x,zr(x,r),43);return[0,L,[1,2,Ox(r)]];case 27:return A2(x,r,function(g,G){function H(Zx){for(;;){z(Zx,0);var er=_a(h(Zx));if(er!==0){if(er!==1)return d(Zx);for(;;){if(mr(h(Zx))!==0)return d(Zx);for(;;){z(Zx,0);var Fr=_a(h(Zx));if(Fr!==0)break}if(Fr!==1)return d(Zx)}}}}function l0(Zx){for(;;)if(z(Zx,0),mr(h(Zx))!==0)return d(Zx)}function J(Zx){var er=zh(h(Zx));if(2>>0)return d(Zx);switch(er){case 0:var Fr=ya(h(Zx));return Fr===0?l0(Zx):Fr===1?H(Zx):d(Zx);case 1:return l0(Zx);default:return H(Zx)}}function s0(Zx){var er=Uh(h(Zx));if(er!==0)return er===1?J(Zx):d(Zx);x:for(;;){var Fr=Z1(h(Zx));if(2>>0)return d(Zx);switch(Fr){case 0:break;case 1:return J(Zx);default:break x}}for(;;){if(mr(h(Zx))!==0)return d(Zx);x:for(;;){var hx=Z1(h(Zx));if(2>>0)return d(Zx);switch(hx){case 0:break;case 1:return J(Zx);default:break x}}}}kr(G);var _0=da(h(G));if(2<_0>>>0)var y0=d(G);else x:switch(_0){case 0:if(mr(h(G))===0){r:for(;;){var J0=Z1(h(G));if(2>>0){var y0=d(G);break x}switch(J0){case 0:break;case 1:var y0=J(G);break x;default:break r}}for(;;){r:{if(mr(h(G))===0){e:for(;;){var Rx=Z1(h(G));if(2>>0){var kx=d(G);break r}switch(Rx){case 0:break;case 1:var kx=J(G);break r;default:break e}}continue}var kx=d(G)}var y0=kx;break}}else var y0=d(G);break;case 1:var Jx=Th(h(G)),y0=Jx===0?s0(G):Jx===1?J(G):d(G);break;default:r:for(;;){var gr=Lh(h(G));if(2>>0){var y0=d(G);break}switch(gr){case 0:var y0=s0(G);break r;case 1:break;default:var y0=J(G);break r}}}return y0===0?[0,g,[0,4,Ox(G)]]:gx(sc0)});case 28:return[0,x,[0,4,Ox(r)]];case 29:return A2(x,r,function(g,G){function H(Jx){for(;;){var gr=At(h(Jx));if(2>>0)return d(Jx);switch(gr){case 0:break;case 1:for(;;){if(mr(h(Jx))!==0)return d(Jx);x:for(;;){var Zx=At(h(Jx));if(2>>0)return d(Jx);switch(Zx){case 0:break;case 1:break x;default:return 0}}}break;default:return 0}}}function l0(Jx){var gr=r3(h(Jx));return gr===0?H(Jx):gr===1?0:d(Jx)}kr(G);var J=da(h(G));if(2>>0)var s0=d(G);else x:switch(J){case 0:var s0=mr(h(G))===0?H(G):d(G);break;case 1:for(;;){var _0=e3(h(G));if(_0===0){var s0=l0(G);break}if(_0!==1){var s0=d(G);break}}break;default:r:for(;;){var y0=ba(h(G));if(2>>0){var s0=d(G);break x}switch(y0){case 0:var s0=l0(G);break x;case 1:break;default:break r}}for(;;){r:{if(mr(h(G))===0){e:for(;;){var J0=ba(h(G));if(2>>0){var Rx=d(G);break r}switch(J0){case 0:var Rx=l0(G);break r;case 1:break;default:break e}}continue}var Rx=d(G)}var s0=Rx;break}}if(s0!==0)return gx(cc0);var kx=d1(g,zr(g,G),35);return[0,kx,[1,2,Ox(G)]]});case 30:return A2(x,r,function(g,G){kr(G);var H=ya(h(G));x:if(H===0)for(;;){var l0=r3(h(G));if(l0!==0){if(l0===1){var y0=0;break}var y0=d(G);break}}else if(H===1){r:for(;;){var J=At(h(G));if(2>>0){var y0=d(G);break x}switch(J){case 0:break;case 1:break r;default:var y0=0;break x}}for(;;){r:{if(mr(h(G))===0){e:for(;;){var s0=At(h(G));if(2>>0){var _0=d(G);break r}switch(s0){case 0:break;case 1:break e;default:var _0=0;break r}}continue}var _0=d(G)}var y0=_0;break}}else var y0=d(G);return y0===0?[0,g,[1,2,Ox(G)]]:gx(fc0)});case 31:var L0=d1(x,zr(x,r),35);return[0,L0,[1,2,Ox(r)]];case 32:return[0,x,[1,2,Ox(r)]];case 33:return A2(x,r,function(g,G){function H(kx){for(;;){z(kx,0);var Jx=_a(h(kx));if(Jx!==0){if(Jx!==1)return d(kx);for(;;){if(mr(h(kx))!==0)return d(kx);for(;;){z(kx,0);var gr=_a(h(kx));if(gr!==0)break}if(gr!==1)return d(kx)}}}}function l0(kx){return z(kx,0),mr(h(kx))===0?H(kx):d(kx)}kr(G);var J=da(h(G));if(2>>0)var s0=d(G);else x:switch(J){case 0:var s0=mr(h(G))===0?H(G):d(G);break;case 1:for(;;){z(G,0);var _0=e3(h(G));if(_0===0){var s0=l0(G);break}if(_0!==1){var s0=d(G);break}}break;default:r:for(;;){z(G,0);var y0=ba(h(G));if(2>>0){var s0=d(G);break x}switch(y0){case 0:var s0=l0(G);break x;case 1:break;default:break r}}for(;;){r:{if(mr(h(G))===0){e:for(;;){z(G,0);var J0=ba(h(G));if(2>>0){var Rx=d(G);break r}switch(J0){case 0:var Rx=l0(G);break r;case 1:break;default:break e}}continue}var Rx=d(G)}var s0=Rx;break}}return s0===0?[0,g,[0,4,Ox(G)]]:gx(ic0)});case 34:return[0,x,[0,4,Ox(r)]];case 35:var sx=zr(x,r),lx=Ox(r);return[0,x,[4,sx,lx,lx]];case 36:return[0,x,0];case 37:return[0,x,1];case 38:return[0,x,4];case 39:return[0,x,5];case 40:return[0,x,6];case 41:return[0,x,7];case 42:return[0,x,12];case 43:return[0,x,10];case 44:return[0,x,8];case 45:return[0,x,9];case 46:return[0,x,86];case 47:Zv(r),kr(r);var ax=h(r),Vx=62=qr)return[0,x,18];var Ex=ix(M0,jv);if(0<=Ex){if(0>=Ex)return[0,x,51];var $0=ix(M0,ss);if(0<=$0){if(0>=$0)return[0,x,46];if(!I(M0,al))return[0,x,24];if(!I(M0,ps))return[0,x,47];if(!I(M0,Y4))return[0,x,25];if(!I(M0,y4))return[0,x,26];if(!I(M0,M1))return[0,x,58]}else{if(!I(M0,Pe))return[0,x,20];if(!I(M0,uo))return[0,x,21];if(!I(M0,je))return[0,x,22];if(!I(M0,as))return[0,x,31];if(!I(M0,lm))return[0,x,23];if(!I(M0,qu))return[0,x,61]}}else{var Gx=ix(M0,ek);if(0<=Gx){if(0>=Gx)return[0,x,54];if(!I(M0,_l))return[0,x,55];if(!I(M0,z3))return[0,x,56];if(!I(M0,U3))return[0,x,57];if(!I(M0,Se))return[0,x,19];if(!I(M0,Ae))return[0,x,42]}else{if(!I(M0,W1))return[0,x,53];if(!I(M0,mv))return[0,x,28];if(!I(M0,no))return[0,x,44];if(!I(M0,oo))return[0,x,29];if(!I(M0,W9))return[0,x,63];if(!I(M0,U9))return[0,x,62]}}}else{var j0=ix(M0,xm);if(0<=j0){if(0>=j0)return[0,x,37];var cr=ix(M0,Sk);if(0<=cr){if(0>=cr)return[0,x,39];if(!I(M0,pv))return[0,x,15];if(!I(M0,ik))return[0,x,16];if(!I(M0,lo))return[0,x,52];if(!I(M0,R1))return[0,x,50];if(!I(M0,aa))return[0,x,17]}else{if(!I(M0,B4))return[0,x,43];if(!I(M0,sl))return[0,x,48];if(!I(M0,ok))return[0,x,49];if(!I(M0,hc))return[0,x,41];if(!I(M0,ls))return[0,x,30];if(!I(M0,F4))return[0,x,38]}}else{var tx=ix(M0,ul);if(0<=tx){if(0>=tx)return[0,x,27];if(!I(M0,_e))return[0,x,35];if(!I(M0,we))return[0,x,59];if(!I(M0,H3))return[0,x,60];if(!I(M0,io))return[0,x,36];if(!I(M0,nl))return[0,x,45]}else{if(!I(M0,oa))return[0,x,64];if(!I(M0,_o))return[0,x,65];if(!I(M0,Ee))return[0,x,32];if(!I(M0,$4))return[0,x,33];if(!I(M0,x8))return[0,x,34];if(!I(M0,K3))return[0,x,40]}}}var Mx=i2(r),b2=QB(x,Mx),Ux=b2[2],c1=b2[1];return[0,c1,[4,Lx,Ux,Gl(Mx)]];case 98:var Rr=x[4]?d1(x,zr(x,r),91):x;return[0,Rr,Dr];default:var U2=ft(x,zr(x,r));return[0,U2,[7,Ox(r)]]}}function rw0(x,r,e){for(var t=x;;){kr(e);var u=h(e),i=92>>0)var c=d(e);else switch(i){case 0:var c=0;break;case 1:for(;;){z(e,7);var v=h(e),a=-1>>0)var c=d(e);else switch(_){case 0:var c=2;break;case 1:var c=1;break;default:z(e,1);var c=ae(h(e))===0?1:d(e)}}if(7>>0)return gx(Mt0);switch(c){case 0:return[0,d1(t,zr(t,e),Ni),Ut0];case 1:return[0,J1(d1(t,zr(t,e),Ni),e),qt0];case 2:ar(r,Ox(e));break;case 3:var y=Ox(e);return[0,t,k1(y,1,Nx(y)-1|0)];case 4:return[0,t,Bt0];case 5:ut(r,91);x:{r:{e:{t:{n:for(;;){kr(e);var S=h(e),E=93>>0)var j=d(e);else switch(E){case 0:var j=0;break;case 1:for(;;){z(e,5);var C=h(e),P=-1>>0)break r;switch(j){case 0:break e;case 1:ar(r,Lt0);break;case 2:ut(r,92),ut(r,93);break;case 3:break t;case 4:break n;default:ar(r,Ox(e))}}var K=J1(d1(t,zr(t,e),Ni),e);break x}ut(r,93);var K=t;break x}var K=t;break x}var K=gx(Ft0)}var t=K;break;case 6:return[0,J1(d1(t,zr(t,e),Ni),e),Xt0];default:ar(r,Ox(e))}}}function ew0(x,r){kr(r);var e=h(r),t=Eo>>0)var u=d(r);else switch(t){case 0:var u=0;break;case 1:var u=6;break;case 2:if(z(r,2),qc(h(r))===0){for(;z(r,2),qc(h(r))===0;);var u=d(r)}else var u=d(r);break;case 3:var u=1;break;case 4:z(r,1);var u=ae(h(r))===0?1:d(r);break;default:z(r,5);var i=Jh(h(r)),u=i===0?4:i===1?3:d(r)}if(6>>0)return gx(uc0);switch(u){case 0:return[0,x,Dr];case 1:return[2,J1(x,r)];case 2:return[2,x];case 3:var c=h1(x,r),v=Qr(Yr),a=t3(x,v,r),p=a[1];return[1,p,jt(p,c,a[2],v,0)];case 4:var _=h1(x,r),y=Qr(Yr),S=Uo(x,y,r),E=S[1];return[1,E,jt(E,_,S[2],y,1)];case 5:var j=h1(x,r),C=Qr(Yr),P=rw0(x,C,r),O=P[1],F=P[2],K=oe(O,r),U=[0,O[1],j,K];return[0,O,[5,U,R2(C),F]];default:var V=ft(x,zr(x,r));return[0,V,[7,Ox(r)]]}}function eX(x){var r=ix(x,"iexcl");if(0<=r){if(0>=r)return nc0;var e=ix(x,"prime");if(0<=e){if(0>=e)return tc0;var t=ix(x,"sup1");if(0<=t){if(0>=t)return ec0;var u=ix(x,"uarr");if(0<=u){if(0>=u)return rc0;var i=ix(x,"xi");if(0<=i){if(0>=i)return xc0;if(!I(x,"yacute"))return Zf0;if(!I(x,"yen"))return Qf0;if(!I(x,"yuml"))return Hf0;if(!I(x,"zeta"))return $f0;if(!I(x,"zwj"))return Wf0;if(!I(x,"zwnj"))return Gf0}else{if(!I(x,"ucirc"))return Vf0;if(!I(x,"ugrave"))return zf0;if(!I(x,"uml"))return Yf0;if(!I(x,"upsih"))return Kf0;if(!I(x,"upsilon"))return Jf0;if(!I(x,"uuml"))return Xf0;if(!I(x,"weierp"))return Bf0}}else{var c=ix(x,"thetasym");if(0<=c){if(0>=c)return qf0;if(!I(x,"thinsp"))return Uf0;if(!I(x,"thorn"))return Mf0;if(!I(x,"tilde"))return Lf0;if(!I(x,"times"))return Ff0;if(!I(x,"trade"))return Rf0;if(!I(x,"uArr"))return Df0;if(!I(x,"uacute"))return Cf0}else{if(!I(x,"sup2"))return Of0;if(!I(x,"sup3"))return Nf0;if(!I(x,"supe"))return Pf0;if(!I(x,"szlig"))return jf0;if(!I(x,"tau"))return If0;if(!I(x,"there4"))return Af0;if(!I(x,"theta"))return Sf0}}}else{var v=ix(x,"rlm");if(0<=v){if(0>=v)return Ef0;var a=ix(x,"sigma");if(0<=a){if(0>=a)return Tf0;if(!I(x,"sigmaf"))return wf0;if(!I(x,"sim"))return bf0;if(!I(x,"spades"))return _f0;if(!I(x,"sub"))return gf0;if(!I(x,"sube"))return yf0;if(!I(x,"sum"))return df0;if(!I(x,"sup"))return hf0}else{if(!I(x,"rsaquo"))return mf0;if(!I(x,"rsquo"))return kf0;if(!I(x,"sbquo"))return pf0;if(!I(x,"scaron"))return lf0;if(!I(x,"sdot"))return vf0;if(!I(x,"sect"))return of0;if(!I(x,"shy"))return af0}}else{var p=ix(x,"raquo");if(0<=p){if(0>=p)return sf0;if(!I(x,"rarr"))return cf0;if(!I(x,"rceil"))return ff0;if(!I(x,"rdquo"))return if0;if(!I(x,"real"))return uf0;if(!I(x,"reg"))return nf0;if(!I(x,"rfloor"))return tf0;if(!I(x,"rho"))return ef0}else{if(!I(x,"prod"))return rf0;if(!I(x,"prop"))return xf0;if(!I(x,"psi"))return Zi0;if(!I(x,"quot"))return Qi0;if(!I(x,"rArr"))return Hi0;if(!I(x,"radic"))return $i0;if(!I(x,"rang"))return Wi0}}}}else{var _=ix(x,"ndash");if(0<=_){if(0>=_)return Gi0;var y=ix(x,"or");if(0<=y){if(0>=y)return Vi0;var S=ix(x,"part");if(0<=S){if(0>=S)return zi0;if(!I(x,"permil"))return Yi0;if(!I(x,"perp"))return Ki0;if(!I(x,"phi"))return Ji0;if(!I(x,"pi"))return Xi0;if(!I(x,"piv"))return Bi0;if(!I(x,"plusmn"))return qi0;if(!I(x,"pound"))return Ui0}else{if(!I(x,"ordf"))return Mi0;if(!I(x,"ordm"))return Li0;if(!I(x,"oslash"))return Fi0;if(!I(x,"otilde"))return Ri0;if(!I(x,"otimes"))return Di0;if(!I(x,"ouml"))return Ci0;if(!I(x,"para"))return Oi0}}else{var E=ix(x,"oacute");if(0<=E){if(0>=E)return Ni0;if(!I(x,"ocirc"))return Pi0;if(!I(x,"oelig"))return ji0;if(!I(x,"ograve"))return Ii0;if(!I(x,"oline"))return Ai0;if(!I(x,"omega"))return Si0;if(!I(x,"omicron"))return Ei0;if(!I(x,"oplus"))return Ti0}else{if(!I(x,"ne"))return wi0;if(!I(x,"ni"))return bi0;if(!I(x,"not"))return _i0;if(!I(x,"notin"))return gi0;if(!I(x,"nsub"))return yi0;if(!I(x,"ntilde"))return di0;if(!I(x,"nu"))return hi0}}}else{var j=ix(x,"le");if(0<=j){if(0>=j)return mi0;var C=ix(x,"macr");if(0<=C){if(0>=C)return ki0;if(!I(x,"mdash"))return pi0;if(!I(x,"micro"))return li0;if(!I(x,"middot"))return vi0;if(!I(x,CR))return oi0;if(!I(x,"mu"))return ai0;if(!I(x,"nabla"))return si0;if(!I(x,"nbsp"))return ci0}else{if(!I(x,"lfloor"))return fi0;if(!I(x,"lowast"))return ii0;if(!I(x,"loz"))return ui0;if(!I(x,"lrm"))return ni0;if(!I(x,"lsaquo"))return ti0;if(!I(x,"lsquo"))return ei0;if(!I(x,"lt"))return ri0}}else{var P=ix(x,"kappa");if(0<=P){if(0>=P)return xi0;if(!I(x,"lArr"))return Zu0;if(!I(x,"lambda"))return Qu0;if(!I(x,"lang"))return Hu0;if(!I(x,"laquo"))return $u0;if(!I(x,"larr"))return Wu0;if(!I(x,"lceil"))return Gu0;if(!I(x,"ldquo"))return Vu0}else{if(!I(x,"igrave"))return zu0;if(!I(x,"image"))return Yu0;if(!I(x,"infin"))return Ku0;if(!I(x,"iota"))return Ju0;if(!I(x,"iquest"))return Xu0;if(!I(x,"isin"))return Bu0;if(!I(x,"iuml"))return qu0}}}}}else{var O=ix(x,"aelig");if(0<=O){if(0>=O)return Uu0;var F=ix(x,"delta");if(0<=F){if(0>=F)return Mu0;var K=ix(x,"fnof");if(0<=K){if(0>=K)return Lu0;var U=ix(x,"gt");if(0<=U){if(0>=U)return Fu0;if(!I(x,"hArr"))return Ru0;if(!I(x,"harr"))return Du0;if(!I(x,"hearts"))return Cu0;if(!I(x,"hellip"))return Ou0;if(!I(x,"iacute"))return Nu0;if(!I(x,"icirc"))return Pu0}else{if(!I(x,"forall"))return ju0;if(!I(x,"frac12"))return Iu0;if(!I(x,"frac14"))return Au0;if(!I(x,"frac34"))return Su0;if(!I(x,"frasl"))return Eu0;if(!I(x,"gamma"))return Tu0;if(!I(x,"ge"))return wu0}}else{var V=ix(x,"ensp");if(0<=V){if(0>=V)return bu0;if(!I(x,"epsilon"))return _u0;if(!I(x,"equiv"))return gu0;if(!I(x,"eta"))return yu0;if(!I(x,"eth"))return du0;if(!I(x,"euml"))return hu0;if(!I(x,"euro"))return mu0;if(!I(x,"exist"))return ku0}else{if(!I(x,"diams"))return pu0;if(!I(x,"divide"))return lu0;if(!I(x,"eacute"))return vu0;if(!I(x,"ecirc"))return ou0;if(!I(x,"egrave"))return au0;if(!I(x,ie))return su0;if(!I(x,"emsp"))return cu0}}}else{var Q=ix(x,"cap");if(0<=Q){if(0>=Q)return fu0;var $=ix(x,"copy");if(0<=$){if(0>=$)return iu0;if(!I(x,"crarr"))return uu0;if(!I(x,"cup"))return nu0;if(!I(x,"curren"))return tu0;if(!I(x,"dArr"))return eu0;if(!I(x,"dagger"))return ru0;if(!I(x,"darr"))return xu0;if(!I(x,"deg"))return Z70}else{if(!I(x,"ccedil"))return Q70;if(!I(x,"cedil"))return H70;if(!I(x,"cent"))return $70;if(!I(x,"chi"))return W70;if(!I(x,"circ"))return G70;if(!I(x,"clubs"))return V70;if(!I(x,"cong"))return z70}}else{var x0=ix(x,"aring");if(0<=x0){if(0>=x0)return Y70;if(!I(x,"asymp"))return K70;if(!I(x,"atilde"))return J70;if(!I(x,"auml"))return X70;if(!I(x,"bdquo"))return B70;if(!I(x,"beta"))return q70;if(!I(x,"brvbar"))return U70;if(!I(x,"bull"))return M70}else{if(!I(x,"agrave"))return L70;if(!I(x,"alefsym"))return F70;if(!I(x,"alpha"))return R70;if(!I(x,"amp"))return D70;if(!I(x,"and"))return C70;if(!I(x,"ang"))return O70;if(!I(x,"apos"))return N70}}}}else{var e0=ix(x,"Nu");if(0<=e0){if(0>=e0)return P70;var Z=ix(x,"Sigma");if(0<=Z){if(0>=Z)return j70;var c0=ix(x,"Uuml");if(0<=c0){if(0>=c0)return I70;if(!I(x,"Xi"))return A70;if(!I(x,"Yacute"))return S70;if(!I(x,"Yuml"))return E70;if(!I(x,"Zeta"))return T70;if(!I(x,"aacute"))return w70;if(!I(x,"acirc"))return b70;if(!I(x,"acute"))return _70}else{if(!I(x,"THORN"))return g70;if(!I(x,"Tau"))return y70;if(!I(x,"Theta"))return d70;if(!I(x,"Uacute"))return h70;if(!I(x,"Ucirc"))return m70;if(!I(x,"Ugrave"))return k70;if(!I(x,"Upsilon"))return p70}}else{var d0=ix(x,"Otilde");if(0<=d0){if(0>=d0)return l70;if(!I(x,"Ouml"))return v70;if(!I(x,"Phi"))return o70;if(!I(x,"Pi"))return a70;if(!I(x,"Prime"))return s70;if(!I(x,"Psi"))return c70;if(!I(x,"Rho"))return f70;if(!I(x,"Scaron"))return i70}else{if(!I(x,"OElig"))return u70;if(!I(x,"Oacute"))return n70;if(!I(x,"Ocirc"))return t70;if(!I(x,"Ograve"))return e70;if(!I(x,"Omega"))return r70;if(!I(x,"Omicron"))return x70;if(!I(x,"Oslash"))return Zn0}}}else{var n0=ix(x,"Eacute");if(0<=n0){if(0>=n0)return Qn0;var P0=ix(x,"Icirc");if(0<=P0){if(0>=P0)return Hn0;if(!I(x,"Igrave"))return $n0;if(!I(x,"Iota"))return Wn0;if(!I(x,"Iuml"))return Gn0;if(!I(x,"Kappa"))return Vn0;if(!I(x,"Lambda"))return zn0;if(!I(x,"Mu"))return Yn0;if(!I(x,"Ntilde"))return Kn0}else{if(!I(x,"Ecirc"))return Jn0;if(!I(x,"Egrave"))return Xn0;if(!I(x,"Epsilon"))return Bn0;if(!I(x,"Eta"))return qn0;if(!I(x,"Euml"))return Un0;if(!I(x,"Gamma"))return Mn0;if(!I(x,"Iacute"))return Ln0}}else{var h0=ix(x,"Atilde");if(0<=h0){if(0>=h0)return Fn0;if(!I(x,"Auml"))return Rn0;if(!I(x,"Beta"))return Dn0;if(!I(x,"Ccedil"))return Cn0;if(!I(x,"Chi"))return On0;if(!I(x,"Dagger"))return Nn0;if(!I(x,"Delta"))return Pn0;if(!I(x,"ETH"))return jn0}else{if(!I(x,"'int'"))return In0;if(!I(x,"AElig"))return An0;if(!I(x,"Aacute"))return Sn0;if(!I(x,"Acirc"))return En0;if(!I(x,"Agrave"))return Tn0;if(!I(x,"Alpha"))return wn0;if(!I(x,"Aring"))return bn0}}}}}return 0}function tX(x,r,e,t){for(var u=x;;){var i=function(d0){for(;;)if(z(d0,8),ZN(h(d0))!==0)return d(d0)};kr(t);var c=h(t),v=ms>>0)var a=d(t);else switch(v){case 0:var a=3;break;case 1:var a=i(t);break;case 2:var a=4;break;case 3:z(t,4);var a=ae(h(t))===0?4:d(t);break;case 4:z(t,8);var p=zB(h(t));if(p===0){var _=EB(h(t));if(_===0){for(;;){var y=SB(h(t));if(y!==0)break}var a=y===1?6:d(t)}else if(_===1&&Ir(h(t))===0){for(;;){var S=JB(h(t));if(S!==0)break}var a=S===1?5:d(t)}else var a=d(t)}else if(p===1&&or(h(t))===0){var E=It(h(t));if(E===0){var j=It(h(t));if(j===0){var C=It(h(t));if(C===0){var P=It(h(t));if(P===0){var O=It(h(t));if(O===0)var F=It(h(t)),a=F===0?UB(h(t))===0?7:d(t):F===1?7:d(t);else var a=O===1?7:d(t)}else var a=P===1?7:d(t)}else var a=C===1?7:d(t)}else var a=j===1?7:d(t)}else var a=E===1?7:d(t)}else var a=d(t);break;case 5:var a=0;break;case 6:z(t,1);var a=ZN(h(t))===0?i(t):d(t);break;default:z(t,2);var a=ZN(h(t))===0?i(t):d(t)}if(8>>0)return gx(Jt0);switch(a){case 0:return Zv(t),u;case 1:return tO(u,zr(u,t),Yt0,Kt0);case 2:return tO(u,zr(u,t),Vt0,zt0);case 3:return ft(u,zr(u,t));case 4:var K=Ox(t);ar(e,K),ar(r,K);var u=J1(u,t);break;case 5:var U=Ox(t),V=k1(U,3,Nx(U)-4|0);ar(e,U),Mc(r,tt(Bx(Gt0,V)));break;case 6:var Q=Ox(t),$=k1(Q,2,Nx(Q)-3|0);ar(e,Q),Mc(r,tt($));break;case 7:var x0=Ox(t),e0=k1(x0,1,Nx(x0)-2|0);ar(e,x0);var Z=eX(e0);Z?Mc(r,Z[1]):ar(r,Bx($t0,Bx(e0,Wt0)));break;default:var c0=Ox(t);ar(e,c0),ar(r,c0)}}}function tw0(x,r){kr(r);var e=Zb0(h(r));if(14>>0)var t=d(r);else switch(e){case 0:var t=0;break;case 1:var t=14;break;case 2:if(z(r,2),qc(h(r))===0){for(;z(r,2),qc(h(r))===0;);var t=d(r)}else var t=d(r);break;case 3:var t=1;break;case 4:z(r,1);var t=ae(h(r))===0?1:d(r);break;case 5:var t=12;break;case 6:var t=13;break;case 7:var t=10;break;case 8:z(r,6);var u=Jh(h(r)),t=u===0?4:u===1?3:d(r);break;case 9:var t=9;break;case 10:var t=5;break;case 11:var t=11;break;case 12:var t=7;break;case 13:if(z(r,14),wa(h(r))===0){var i=Lo(h(r));if(i===0)var t=Ir(h(r))===0&&Ir(h(r))===0&&Ir(h(r))===0?13:d(r);else if(i===1&&Ir(h(r))===0){for(;;){var c=Fo(h(r));if(c!==0)break}var t=c===1?13:d(r)}else var t=d(r)}else var t=d(r);break;default:var t=8}if(14>>0)return gx(_n0);switch(t){case 0:return[0,x,Dr];case 1:return[2,J1(x,r)];case 2:return[2,x];case 3:var v=h1(x,r),a=Qr(Yr),p=t3(x,a,r),_=p[1];return[1,_,jt(_,v,p[2],a,0)];case 4:var y=h1(x,r),S=Qr(Yr),E=Uo(x,S,r),j=E[1];return[1,j,jt(j,y,E[2],S,1)];case 5:return[0,x,98];case 6:return[0,x,gt];case 7:return[0,x,99];case 8:return[0,x,0];case 9:return[0,x,86];case 10:return[0,x,10];case 11:return[0,x,82];case 12:var C=Ox(r),P=h1(x,r),O=Qr(Yr),F=Qr(Yr);ar(F,C);for(var K=Sr(C,"'"),U=x;;){kr(r);var V=h(r),Q=39>>0)var $=d(r);else switch(Q){case 0:var $=2;break;case 1:for(;;){z(r,7);var x0=h(r),e0=-1>>0)var T0=gx(Ht0);else switch($){case 0:if(!K){ut(F,39),ut(O,39);continue}var T0=U;break;case 1:if(K){ut(F,34),ut(O,34);continue}var T0=U;break;case 2:var T0=ft(U,zr(U,r));break;case 3:var E0=Ox(r);ar(F,E0),ar(O,E0);var U=J1(U,r);continue;case 4:var N0=Ox(r),X0=k1(N0,3,Nx(N0)-4|0);ar(F,N0),Mc(O,tt(Bx(Qt0,X0)));continue;case 5:var A0=Ox(r),rx=k1(A0,2,Nx(A0)-3|0);ar(F,A0),Mc(O,tt(rx));continue;case 6:var B=Ox(r),G0=k1(B,1,Nx(B)-2|0);ar(F,B);var W0=eX(G0);W0?Mc(O,W0[1]):ar(O,Bx(xn0,Bx(G0,Zt0)));continue;default:var Y0=Ox(r);ar(F,Y0),ar(O,Y0);continue}var V0=oe(T0,r);ar(F,C);var ex=R2(O),Q0=R2(F);return[0,T0,[10,[0,T0[1],P,V0],ex,Q0]]}case 13:for(var S0=r[6];;){kr(r);var q0=h(r),yx=r2>>0)var cx=d(r);else switch(yx){case 0:var cx=1;break;case 1:var cx=2;break;case 2:var cx=0;break;default:if(z(r,2),wa(h(r))===0){var Dx=Lo(h(r));if(Dx===0)var cx=Ir(h(r))===0&&Ir(h(r))===0&&Ir(h(r))===0?0:d(r);else if(Dx===1&&Ir(h(r))===0){for(;;){var Ix=Fo(h(r));if(Ix!==0)break}var cx=Ix===1?0:d(r)}else var cx=d(r)}else var cx=d(r)}if(2>>0)throw U0([0,Ar,St0],1);switch(cx){case 0:continue;case 1:break;default:if(zN(iB(r)))continue;cB(r,1)}var Xx=r[3];qN(r,S0);var Z0=i2(r),rr=Hl(x,S0,Xx);return[0,x,[8,Gl(Z0),rr]]}default:return[0,x,[7,Ox(r)]]}}function nw0(x,r){kr(r);var e=h(r),t=-1>>0)var u=d(r);else switch(t){case 0:var u=5;break;case 1:if(z(r,1),qc(h(r))===0){for(;z(r,1),qc(h(r))===0;);var u=d(r)}else var u=d(r);break;case 2:var u=0;break;case 3:z(r,0);var u=ae(h(r))===0?0:d(r);break;case 4:z(r,5);var i=Jh(h(r)),u=i===0?3:i===1?2:d(r);break;default:var u=4}if(5>>0)return gx(hn0);switch(u){case 0:return[2,J1(x,r)];case 1:return[2,x];case 2:var c=h1(x,r),v=Qr(Yr),a=t3(x,v,r),p=a[1];return[1,p,jt(p,c,a[2],v,0)];case 3:var _=h1(x,r),y=Qr(Yr),S=Uo(x,y,r),E=S[1];return[1,E,jt(E,_,S[2],y,1)];case 4:var j=h1(x,r),C=Qr(Yr),P=Qr(Yr),O=rX(x,C,P,r),F=O[1],K=O[2],U=oe(F,r),V=[0,F[1],j,U],Q=R2(P);return[0,F,[3,[0,V,R2(C),Q,0,K]]];default:var $=ft(x,zr(x,r));return[0,$,[3,[0,zr($,r),yn0,dn0,0,1]]]}}function uw0(x,r){function e(w){for(;;)if(z(w,29),or(h(w))!==0)return d(w)}function t(w){z(w,28);var L=D2(h(w));if(L!==0)return L===1?e(w):d(w);for(;;)if(z(w,26),or(h(w))!==0)return d(w)}function u(w){z(w,27);var L=D2(h(w));if(L!==0)return L===1?e(w):d(w);for(;;)if(z(w,25),or(h(w))!==0)return d(w)}function i(w){z(w,30);var L=x3(h(w));if(2>>0)return d(w);switch(L){case 0:return e(w);case 1:x:for(;;){z(w,30);var L0=Xc(h(w));if(3>>0)return d(w);switch(L0){case 0:return e(w);case 1:break;case 2:break x;default:return u(w)}}for(;;){if(mr(h(w))!==0)return d(w);x:for(;;){z(w,30);var sx=Xc(h(w));if(3>>0)return d(w);switch(sx){case 0:return e(w);case 1:break;case 2:break x;default:return u(w)}}}break;default:return u(w)}}function c(w){for(;;){if(mr(h(w))!==0)return d(w);x:for(;;){z(w,30);var L=MB(h(w));if(4>>0)return d(w);switch(L){case 0:return e(w);case 1:return i(w);case 2:break;case 3:break x;default:return t(w)}}}}function v(w){for(;;)if(z(w,19),or(h(w))!==0)return d(w)}function a(w){for(;;)if(z(w,19),or(h(w))!==0)return d(w)}function p(w){for(;;)if(z(w,13),or(h(w))!==0)return d(w)}function _(w){for(;;)if(z(w,13),or(h(w))!==0)return d(w)}function y(w){for(;;)if(z(w,9),or(h(w))!==0)return d(w)}function S(w){for(;;)if(z(w,9),or(h(w))!==0)return d(w)}function E(w){for(;;)if(z(w,15),or(h(w))!==0)return d(w)}function j(w){z(w,15);var L=D2(h(w));if(L!==0)return L===1?E(w):d(w);for(;;)if(z(w,15),or(h(w))!==0)return d(w)}function C(w){for(;;)if(z(w,23),or(h(w))!==0)return d(w)}function P(w){z(w,22);var L=D2(h(w));if(L!==0)return L===1?C(w):d(w);for(;;)if(z(w,21),or(h(w))!==0)return d(w)}function O(w){for(;;)if(z(w,23),or(h(w))!==0)return d(w)}function F(w){z(w,22);var L=D2(h(w));if(L!==0)return L===1?O(w):d(w);for(;;)if(z(w,21),or(h(w))!==0)return d(w)}function K(w){for(;;){if(mr(h(w))!==0)return d(w);x:for(;;){z(w,24);var L=Xc(h(w));if(3>>0)return d(w);switch(L){case 0:return O(w);case 1:break;case 2:break x;default:return F(w)}}}}function U(w){z(w,29);var L=qB(h(w));if(3>>0)return d(w);switch(L){case 0:return e(w);case 1:var L0=ya(h(w));if(L0===0)for(;;){z(w,24);var sx=x3(h(w));if(2>>0)return d(w);switch(sx){case 0:return O(w);case 1:break;default:return F(w)}}else{if(L0!==1)return d(w);for(;;){z(w,24);var lx=Xc(h(w));if(3>>0)return d(w);switch(lx){case 0:return O(w);case 1:break;case 2:return K(w);default:return F(w)}}}break;case 2:for(;;){z(w,24);var ax=x3(h(w));if(2>>0)return d(w);switch(ax){case 0:return C(w);case 1:break;default:return P(w)}}break;default:for(;;){z(w,24);var Vx=Xc(h(w));if(3>>0)return d(w);switch(Vx){case 0:return C(w);case 1:break;case 2:return K(w);default:return P(w)}}}}function V(w){z(w,30);var L=PB(h(w));if(3>>0)return d(w);switch(L){case 0:return e(w);case 1:x:for(;;){z(w,30);var L0=ga(h(w));if(4>>0)return d(w);switch(L0){case 0:return e(w);case 1:break;case 2:return U(w);case 3:break x;default:return u(w)}}for(;;){if(mr(h(w))!==0)return d(w);x:for(;;){z(w,30);var sx=ga(h(w));if(4>>0)return d(w);switch(sx){case 0:return e(w);case 1:break;case 2:return U(w);case 3:break x;default:return u(w)}}}break;case 2:return U(w);default:return u(w)}}function Q(w){return qh(h(w))===0&&Fh(h(w))===0&&XB(h(w))===0&&OB(h(w))===0&&CB(h(w))===0&&Rh(h(w))===0&&Wl(h(w))===0&&qh(h(w))===0&&wa(h(w))===0&&eO(h(w))===0&&Mo(h(w))===0?3:d(w)}function $(w){return z(w,3),YB(h(w))===0?3:d(w)}function x0(w){var L=Qb0(h(w));if(31>>0)return d(w);switch(L){case 0:return 66;case 1:return 67;case 2:if(z(w,1),qc(h(w))!==0)return d(w);for(;;)if(z(w,1),qc(h(w))!==0)return d(w);break;case 3:return 0;case 4:return z(w,0),ae(h(w))===0?0:d(w);case 5:return 6;case 6:return 65;case 7:if(z(w,67),Wl(h(w))!==0)return d(w);var L0=h(w),sx=Ze>>0)return d(w);switch(Lx){case 0:return e(w);case 1:break;case 2:return U(w);case 3:break x;default:return u(w)}}for(;;){if(mr(h(w))!==0)return d(w);x:for(;;){z(w,30);var M0=ga(h(w));if(4>>0)return d(w);switch(M0){case 0:return e(w);case 1:break;case 2:return U(w);case 3:break x;default:return u(w)}}}break;case 16:z(w,67);var qr=Jh(h(w));if(qr!==0)return qr===1?5:d(w);z(w,2);var Ex=jh(h(w));if(2>>0)return d(w);switch(Ex){case 0:for(;;){var $0=jh(h(w));if(2<$0>>>0)return d(w);switch($0){case 0:break;case 1:return $(w);default:return Q(w)}}break;case 1:return $(w);default:return Q(w)}break;case 17:z(w,30);var Gx=RB(h(w));if(8>>0)return d(w);switch(Gx){case 0:return e(w);case 1:return V(w);case 2:x:for(;;){z(w,16);var j0=BB(h(w));if(4>>0)return d(w);switch(j0){case 0:return E(w);case 1:return i(w);case 2:break;case 3:break x;default:return j(w)}}for(;;){z(w,15);var cr=Ih(h(w));if(3>>0)return d(w);switch(cr){case 0:return E(w);case 1:return i(w);case 2:break;default:return j(w)}}break;case 3:for(;;){z(w,30);var tx=Ih(h(w));if(3>>0)return d(w);switch(tx){case 0:return e(w);case 1:return i(w);case 2:break;default:return t(w)}}break;case 4:z(w,29);var Mx=DB(h(w));if(Mx===0)return e(w);if(Mx!==1)return d(w);x:{r:for(;;){z(w,10);var b2=Kh(h(w));if(3>>0)return d(w);switch(b2){case 0:return S(w);case 1:break;case 2:break x;default:break r}}z(w,8);var Ux=D2(h(w));if(Ux!==0)return Ux===1?S(w):d(w);for(;;)if(z(w,7),or(h(w))!==0)return d(w)}x:for(;;){if(Bc(h(w))!==0)return d(w);r:for(;;){z(w,10);var c1=Kh(h(w));if(3>>0)return d(w);switch(c1){case 0:return y(w);case 1:break;case 2:break r;default:break x}}}z(w,8);var Rr=D2(h(w));if(Rr!==0)return Rr===1?y(w):d(w);for(;;)if(z(w,7),or(h(w))!==0)return d(w);break;case 5:return U(w);case 6:z(w,29);var U2=FB(h(w));if(U2===0)return e(w);if(U2!==1)return d(w);x:{r:for(;;){z(w,14);var g=Xh(h(w));if(3>>0)return d(w);switch(g){case 0:return _(w);case 1:break;case 2:break x;default:break r}}z(w,12);var G=D2(h(w));if(G!==0)return G===1?_(w):d(w);for(;;)if(z(w,11),or(h(w))!==0)return d(w)}x:for(;;){if(X1(h(w))!==0)return d(w);r:for(;;){z(w,14);var H=Xh(h(w));if(3>>0)return d(w);switch(H){case 0:return p(w);case 1:break;case 2:break r;default:break x}}}z(w,12);var l0=D2(h(w));if(l0!==0)return l0===1?p(w):d(w);for(;;)if(z(w,11),or(h(w))!==0)return d(w);break;case 7:z(w,29);var J=AB(h(w));if(J===0)return e(w);if(J!==1)return d(w);x:{r:for(;;){z(w,20);var s0=Yh(h(w));if(3>>0)return d(w);switch(s0){case 0:return a(w);case 1:break;case 2:break x;default:break r}}z(w,18);var _0=D2(h(w));if(_0!==0)return _0===1?a(w):d(w);for(;;)if(z(w,17),or(h(w))!==0)return d(w)}x:for(;;){if(Ir(h(w))!==0)return d(w);r:for(;;){z(w,20);var y0=Yh(h(w));if(3>>0)return d(w);switch(y0){case 0:return v(w);case 1:break;case 2:break r;default:break x}}}z(w,18);var J0=D2(h(w));if(J0!==0)return J0===1?v(w):d(w);for(;;)if(z(w,17),or(h(w))!==0)return d(w);break;default:return t(w)}break;case 18:z(w,30);var Rx=Nh(h(w));if(5>>0)return d(w);switch(Rx){case 0:return e(w);case 1:return V(w);case 2:for(;;){z(w,30);var kx=Nh(h(w));if(5>>0)return d(w);switch(kx){case 0:return e(w);case 1:return V(w);case 2:break;case 3:return U(w);case 4:return c(w);default:return t(w)}}break;case 3:return U(w);case 4:return c(w);default:return t(w)}break;case 19:return 44;case 20:return 42;case 21:return 49;case 22:z(w,51);var Jx=h(w),gr=61>>0)return gx(ln0);var Z=e0;if(34>Z)switch(Z){case 0:return[2,J1(x,r)];case 1:return[2,x];case 2:var c0=h1(x,r),d0=Qr(Yr),n0=Uo(x,d0,r),P0=n0[1];return[1,P0,jt(P0,c0,n0[2],d0,1)];case 3:var h0=Ox(r);if(!x[5]){var g0=h1(x,r),v0=Qr(Yr);ar(v0,h0);var p0=Uo(x,v0,r),w0=p0[1];return[1,w0,jt(w0,g0,p0[2],v0,1)]}var T0=x[4]?WB(x,zr(x,r),h0):x,E0=_h(1,T0),N0=hh(r);return Sr(Vl(r,N0-1|0,1),Ao)&&I(Vl(r,N0-2|0,1),Ao)?[0,E0,86]:[2,E0];case 4:if(x[4])return[2,_h(0,x)];Zv(r),kr(r);var X0=jB(h(r))===0?0:d(r);return X0===0?[0,x,z2]:gx(pn0);case 5:var A0=h1(x,r),rx=Qr(Yr),B=t3(x,rx,r),G0=B[1];return[1,G0,jt(G0,A0,B[2],rx,0)];case 6:var W0=Ox(r),Y0=h1(x,r),V0=Qr(Yr),ex=Qr(Yr);ar(ex,W0);var Q0=xX(x,W0,V0,ex,0,r),S0=Q0[1],q0=Q0[3],yx=[0,S0[1],Y0,Q0[2]],cx=R2(ex);return[0,S0,[2,[0,yx,R2(V0),cx,q0]]];case 7:return A2(x,r,function(w,L){kr(L);x:if(se(h(L))===0&&Ch(h(L))===0&&Bc(h(L))===0){r:for(;;){var L0=Sh(h(L));if(2>>0){var ax=d(L);break x}switch(L0){case 0:break;case 1:break r;default:var ax=0;break x}}for(;;){r:{if(Bc(h(L))===0){e:for(;;){var sx=Sh(h(L));if(2>>0){var lx=d(L);break r}switch(sx){case 0:break;case 1:break e;default:var lx=0;break r}}continue}var lx=d(L)}var ax=lx;break}}else var ax=d(L);return ax===0?[0,w,Nt(0,i2(L))]:gx(vn0)});case 8:return[0,x,Nt(0,i2(r))];case 9:return A2(x,r,function(w,L){if(kr(L),se(h(L))===0&&Ch(h(L))===0&&Bc(h(L))===0){for(;;){z(L,0);var L0=Eh(h(L));if(L0!==0)break}if(L0===1)for(;;){if(Bc(h(L))===0){for(;;){z(L,0);var sx=Eh(h(L));if(sx!==0)break}if(sx===1)continue;var lx=d(L)}else var lx=d(L);var ax=lx;break}else var ax=d(L)}else var ax=d(L);return ax===0?[0,w,Pt(0,i2(L))]:gx(on0)});case 10:return[0,x,Pt(0,i2(r))];case 11:return A2(x,r,function(w,L){kr(L);x:if(se(h(L))===0&&Mh(h(L))===0&&X1(h(L))===0){r:for(;;){var L0=Oh(h(L));if(2>>0){var ax=d(L);break x}switch(L0){case 0:break;case 1:break r;default:var ax=0;break x}}for(;;){r:{if(X1(h(L))===0){e:for(;;){var sx=Oh(h(L));if(2>>0){var lx=d(L);break r}switch(sx){case 0:break;case 1:break e;default:var lx=0;break r}}continue}var lx=d(L)}var ax=lx;break}}else var ax=d(L);return ax===0?[0,w,Nt(1,i2(L))]:gx(an0)});case 12:return[0,x,Nt(1,i2(r))];case 13:return A2(x,r,function(w,L){if(kr(L),se(h(L))===0&&Mh(h(L))===0&&X1(h(L))===0){for(;;){z(L,0);var L0=Ph(h(L));if(L0!==0)break}if(L0===1)for(;;){if(X1(h(L))===0){for(;;){z(L,0);var sx=Ph(h(L));if(sx!==0)break}if(sx===1)continue;var lx=d(L)}else var lx=d(L);var ax=lx;break}else var ax=d(L)}else var ax=d(L);return ax===0?[0,w,Pt(3,i2(L))]:gx(sn0)});case 14:return[0,x,Pt(3,i2(r))];case 15:return A2(x,r,function(w,L){if(kr(L),se(h(L))===0&&X1(h(L))===0){for(;;)if(z(L,0),X1(h(L))!==0){var L0=d(L);break}}else var L0=d(L);return L0===0?[0,w,Pt(1,i2(L))]:gx(cn0)});case 16:return[0,x,Pt(1,i2(r))];case 17:return A2(x,r,function(w,L){kr(L);x:if(se(h(L))===0&&wh(h(L))===0&&Ir(h(L))===0){r:for(;;){var L0=Ah(h(L));if(2>>0){var ax=d(L);break x}switch(L0){case 0:break;case 1:break r;default:var ax=0;break x}}for(;;){r:{if(Ir(h(L))===0){e:for(;;){var sx=Ah(h(L));if(2>>0){var lx=d(L);break r}switch(sx){case 0:break;case 1:break e;default:var lx=0;break r}}continue}var lx=d(L)}var ax=lx;break}}else var ax=d(L);return ax===0?[0,w,Nt(2,i2(L))]:gx(fn0)});case 18:return[0,x,Nt(2,i2(r))];case 19:return A2(x,r,function(w,L){if(kr(L),se(h(L))===0&&wh(h(L))===0&&Ir(h(L))===0){for(;;){z(L,0);var L0=Bh(h(L));if(L0!==0)break}if(L0===1)for(;;){if(Ir(h(L))===0){for(;;){z(L,0);var sx=Bh(h(L));if(sx!==0)break}if(sx===1)continue;var lx=d(L)}else var lx=d(L);var ax=lx;break}else var ax=d(L)}else var ax=d(L);return ax===0?[0,w,Pt(4,i2(L))]:gx(in0)});case 20:return[0,x,Pt(4,i2(r))];case 21:return A2(x,r,function(w,L){function L0(j0){for(;;){var cr=At(h(j0));if(2>>0)return d(j0);switch(cr){case 0:break;case 1:for(;;){if(mr(h(j0))!==0)return d(j0);x:for(;;){var tx=At(h(j0));if(2>>0)return d(j0);switch(tx){case 0:break;case 1:break x;default:return 0}}}break;default:return 0}}}function sx(j0){for(;;){var cr=r3(h(j0));if(cr!==0)return cr===1?0:d(j0)}}function lx(j0){var cr=zh(h(j0));if(2>>0)return d(j0);switch(cr){case 0:var tx=ya(h(j0));return tx===0?sx(j0):tx===1?L0(j0):d(j0);case 1:return sx(j0);default:return L0(j0)}}function ax(j0){var cr=Uh(h(j0));if(cr!==0)return cr===1?lx(j0):d(j0);x:for(;;){var tx=Z1(h(j0));if(2>>0)return d(j0);switch(tx){case 0:break;case 1:return lx(j0);default:break x}}for(;;){if(mr(h(j0))!==0)return d(j0);x:for(;;){var Mx=Z1(h(j0));if(2>>0)return d(j0);switch(Mx){case 0:break;case 1:return lx(j0);default:break x}}}}kr(L);var Vx=da(h(L));if(2>>0)var _x=d(L);else x:switch(Vx){case 0:if(mr(h(L))===0){r:for(;;){var zx=Z1(h(L));if(2>>0){var _x=d(L);break x}switch(zx){case 0:break;case 1:var _x=lx(L);break x;default:break r}}for(;;){r:{if(mr(h(L))===0){e:for(;;){var Lx=Z1(h(L));if(2>>0){var M0=d(L);break r}switch(Lx){case 0:break;case 1:var M0=lx(L);break r;default:break e}}continue}var M0=d(L)}var _x=M0;break}}else var _x=d(L);break;case 1:var qr=Th(h(L)),_x=qr===0?ax(L):qr===1?lx(L):d(L);break;default:r:for(;;){var Ex=Lh(h(L));if(2>>0){var _x=d(L);break}switch(Ex){case 0:var _x=ax(L);break r;case 1:break;default:var _x=lx(L);break r}}}if(_x!==0)return gx(un0);var $0=i2(L),Gx=d1(w,zr(w,L),43);return[0,Gx,Nt(2,$0)]});case 22:var Dx=i2(r),Ix=d1(x,zr(x,r),43);return[0,Ix,Nt(2,Dx)];case 23:return A2(x,r,function(w,L){function L0($0){for(;;){z($0,0);var Gx=_a(h($0));if(Gx!==0){if(Gx!==1)return d($0);for(;;){if(mr(h($0))!==0)return d($0);for(;;){z($0,0);var j0=_a(h($0));if(j0!==0)break}if(j0!==1)return d($0)}}}}function sx($0){for(;;)if(z($0,0),mr(h($0))!==0)return d($0)}function lx($0){var Gx=zh(h($0));if(2>>0)return d($0);switch(Gx){case 0:var j0=ya(h($0));return j0===0?sx($0):j0===1?L0($0):d($0);case 1:return sx($0);default:return L0($0)}}function ax($0){var Gx=Uh(h($0));if(Gx!==0)return Gx===1?lx($0):d($0);x:for(;;){var j0=Z1(h($0));if(2>>0)return d($0);switch(j0){case 0:break;case 1:return lx($0);default:break x}}for(;;){if(mr(h($0))!==0)return d($0);x:for(;;){var cr=Z1(h($0));if(2>>0)return d($0);switch(cr){case 0:break;case 1:return lx($0);default:break x}}}}kr(L);var Vx=da(h(L));if(2>>0)var _x=d(L);else x:switch(Vx){case 0:if(mr(h(L))===0){r:for(;;){var zx=Z1(h(L));if(2>>0){var _x=d(L);break x}switch(zx){case 0:break;case 1:var _x=lx(L);break x;default:break r}}for(;;){r:{if(mr(h(L))===0){e:for(;;){var Lx=Z1(h(L));if(2>>0){var M0=d(L);break r}switch(Lx){case 0:break;case 1:var M0=lx(L);break r;default:break e}}continue}var M0=d(L)}var _x=M0;break}}else var _x=d(L);break;case 1:var qr=Th(h(L)),_x=qr===0?ax(L):qr===1?lx(L):d(L);break;default:r:for(;;){var Ex=Lh(h(L));if(2>>0){var _x=d(L);break}switch(Ex){case 0:var _x=ax(L);break r;case 1:break;default:var _x=lx(L);break r}}}return _x===0?[0,w,Pt(4,i2(L))]:gx(nn0)});case 24:return[0,x,Pt(4,i2(r))];case 25:return A2(x,r,function(w,L){function L0(Ex){for(;;){var $0=At(h(Ex));if(2<$0>>>0)return d(Ex);switch($0){case 0:break;case 1:for(;;){if(mr(h(Ex))!==0)return d(Ex);x:for(;;){var Gx=At(h(Ex));if(2>>0)return d(Ex);switch(Gx){case 0:break;case 1:break x;default:return 0}}}break;default:return 0}}}function sx(Ex){var $0=r3(h(Ex));return $0===0?L0(Ex):$0===1?0:d(Ex)}kr(L);var lx=da(h(L));if(2>>0)var ax=d(L);else x:switch(lx){case 0:var ax=mr(h(L))===0?L0(L):d(L);break;case 1:for(;;){var Vx=e3(h(L));if(Vx===0){var ax=sx(L);break}if(Vx!==1){var ax=d(L);break}}break;default:r:for(;;){var _x=ba(h(L));if(2<_x>>>0){var ax=d(L);break x}switch(_x){case 0:var ax=sx(L);break x;case 1:break;default:break r}}for(;;){r:{if(mr(h(L))===0){e:for(;;){var zx=ba(h(L));if(2>>0){var Lx=d(L);break r}switch(zx){case 0:var Lx=sx(L);break r;case 1:break;default:break e}}continue}var Lx=d(L)}var ax=Lx;break}}if(ax!==0)return gx(tn0);var M0=i2(L),qr=d1(w,zr(w,L),35);return[0,qr,Nt(2,M0)]});case 26:return A2(x,r,function(w,L){kr(L);var L0=ya(h(L));x:if(L0===0)for(;;){var sx=r3(h(L));if(sx!==0){if(sx===1){var _x=0;break}var _x=d(L);break}}else if(L0===1){r:for(;;){var lx=At(h(L));if(2>>0){var _x=d(L);break x}switch(lx){case 0:break;case 1:break r;default:var _x=0;break x}}for(;;){r:{if(mr(h(L))===0){e:for(;;){var ax=At(h(L));if(2>>0){var Vx=d(L);break r}switch(ax){case 0:break;case 1:break e;default:var Vx=0;break r}}continue}var Vx=d(L)}var _x=Vx;break}}else var _x=d(L);return _x===0?[0,w,Nt(2,i2(L))]:gx(en0)});case 27:var Xx=i2(r),Z0=d1(x,zr(x,r),35);return[0,Z0,Nt(2,Xx)];case 28:return[0,x,Nt(2,i2(r))];case 29:return A2(x,r,function(w,L){function L0(M0){for(;;){z(M0,0);var qr=_a(h(M0));if(qr!==0){if(qr!==1)return d(M0);for(;;){if(mr(h(M0))!==0)return d(M0);for(;;){z(M0,0);var Ex=_a(h(M0));if(Ex!==0)break}if(Ex!==1)return d(M0)}}}}function sx(M0){return z(M0,0),mr(h(M0))===0?L0(M0):d(M0)}kr(L);var lx=da(h(L));if(2>>0)var ax=d(L);else x:switch(lx){case 0:var ax=mr(h(L))===0?L0(L):d(L);break;case 1:for(;;){z(L,0);var Vx=e3(h(L));if(Vx===0){var ax=sx(L);break}if(Vx!==1){var ax=d(L);break}}break;default:r:for(;;){z(L,0);var _x=ba(h(L));if(2<_x>>>0){var ax=d(L);break x}switch(_x){case 0:var ax=sx(L);break x;case 1:break;default:break r}}for(;;){r:{if(mr(h(L))===0){e:for(;;){z(L,0);var zx=ba(h(L));if(2>>0){var Lx=d(L);break r}switch(zx){case 0:var Lx=sx(L);break r;case 1:break;default:break e}}continue}var Lx=d(L)}var ax=Lx;break}}return ax===0?[0,w,Pt(4,i2(L))]:gx(rn0)});case 30:return[0,x,Pt(4,i2(r))];case 31:return[0,x,66];case 32:return[0,x,6];default:return[0,x,7]}switch(Z){case 34:return[0,x,0];case 35:return[0,x,1];case 36:return[0,x,2];case 37:return[0,x,3];case 38:return[0,x,4];case 39:return[0,x,5];case 40:return[0,x,12];case 41:return[0,x,10];case 42:return[0,x,8];case 43:return[0,x,9];case 44:return[0,x,86];case 45:return[0,x,83];case 46:return[0,x,85];case 47:return[0,x,6];case 48:return[0,x,7];case 49:return[0,x,98];case 50:return[0,x,99];case 51:return[0,x,82];case 52:return[0,x,85];case 53:return[0,x,z2];case 54:return[0,x,86];case 55:return[0,x,88];case 56:return[0,x,87];case 57:return[0,x,89];case 58:return[0,x,91];case 59:return[0,x,11];case 60:return[0,x,82];case 61:return[0,x,Ze];case 62:return[0,x,_t];case 63:return[0,x,_4];case 64:return[0,x,hl];case 65:var rr=r[6];VB(r);var xr=Hl(x,rr,r[3]);qN(r,rr);var fr=i2(r),Hx=QB(x,fr),Y=Hx[2],jx=Hx[1],hr=ix(Y,h4);if(0<=hr){if(0>=hr)return[0,jx,Ov];var Yx=ix(Y,ox);if(0<=Yx){if(0>=Yx)return[0,jx,rl];if(!I(Y,as))return[0,jx,31];if(!I(Y,ss))return[0,jx,46];if(!I(Y,cm))return[0,jx,Cv];if(!I(Y,F8))return[0,jx,r2];if(!I(Y,ps))return[0,jx,of]}else{if(!I(Y,Mk))return[0,jx,Vt];if(!I(Y,oo))return[0,jx,29];if(!I(Y,yv))return[0,jx,B3];if(!I(Y,ko))return[0,jx,Bp];if(!I(Y,Ae))return[0,jx,42];if(!I(Y,Rv))return[0,jx,Ev]}}else{var Ur=ix(Y,hc);if(0<=Ur){if(0>=Ur)return[0,jx,41];if(!I(Y,ls))return[0,jx,30];if(!I(Y,ov))return[0,jx,kl];if(!I(Y,DF))return[0,jx,Yr];if(!I(Y,W1))return[0,jx,53];if(!I(Y,ll))return[0,jx,y2];if(!I(Y,Lk))return[0,jx,ms]}else{if(!I(Y,p8))return[0,jx,ia];if(!I(Y,hv))return[0,jx,dl];if(!I(Y,vo))return[0,jx,kv];if(!I(Y,C8))return[0,jx,mn0];if(!I(Y,$3))return[0,jx,kn0];if(!I(Y,ie))return[0,jx,ua]}}return[0,jx,[4,xr,Y,Gl(fr)]];case 66:var px=x[4]?d1(x,zr(x,r),91):x;return[0,px,Dr];default:return[0,x,[7,Ox(r)]]}}function Ql(x){return function(r){var e=0,t=r;x:for(;;){var u=x(t,t[2]);switch(u[0]){case 0:break x;case 1:var i=u[2],c=u[1],e=[0,i,e],t=[0,c[1],c[2],c[3],c[4],c[5],c[6],i[1]];break;default:var t=u[1]}}var v=u[2],a=u[1],p=GB(a,v),_=e===0?0:vx(e),y=a[6];if(y===0)return[0,[0,a[1],a[2],a[3],a[4],a[5],a[6],p],[0,v,p,0,_]];var S=[0,v,p,vx(y),_];return[0,[0,a[1],a[2],a[3],a[4],a[5],gB,p],S]}}var iw0=Ql(ew0),fw0=Ql(tw0),cw0=Ql(nw0),sw0=Ql(uw0),aw0=Ql(xw0),y1=oB([0,_b0]);function Zl(x,r){return[0,0,0,r,_B(x)]}function Gh(x){var r=x[4];switch(x[3]){case 0:var e0=aw0(r);break;case 1:var e0=sw0(r);break;case 2:var e0=fw0(r);break;case 3:var e=oe(r,r[2]),t=Qr(Yr),u=Qr(Yr),i=r[2];kr(i);var c=h(i),v=Vt>>0)var a=d(i);else switch(v){case 0:var a=1;break;case 1:var a=4;break;case 2:var a=0;break;case 3:z(i,0);var a=ae(h(i))===0?0:d(i);break;case 4:var a=2;break;default:var a=3}if(4>>0)var p=gx(gn0);else switch(a){case 0:var _=Ox(i);ar(u,_),ar(t,_);var y=tX(J1(r,i),t,u,i),S=oe(y,i),E=R2(t),j=R2(u),p=[0,y,[9,[0,y[1],e,S],E,j]];break;case 1:var p=[0,r,Dr];break;case 2:var p=[0,r,98];break;case 3:var p=[0,r,0];break;default:Zv(i);var C=tX(r,t,u,i),P=oe(C,i),O=R2(t),F=R2(u),p=[0,C,[9,[0,C[1],e,P],O,F]]}var K=p[2],U=p[1],V=GB(U,K),Q=U[6];if(Q===0)var x0=[0,U,[0,K,V,0,0]];else var $=[0,K,V,vx(Q),0],x0=[0,[0,U[1],U[2],U[3],U[4],U[5],0,U[7]],$];var e0=x0;break;case 4:var e0=cw0(r);break;default:var e0=iw0(r)}var Z=e0[1],c0=e0[2],d0=[0,_B(Z),c0];return x[4]=Z,x[1]?x[2]=[0,d0]:x[1]=[0,d0],d0}function nX(x){var r=x[1];return r?r[1][2]:Gh(x)[2]}function n3(x){return Dl(x[24][1])}function g2(x){return x[28][4]}function D0(x,r){var e=r[2];x[1][1]=[0,[0,r[1],e],x[1][1]];var t=x[23];if(t)return k(t[1],x,e)}function x6(x,r){x[31][1]=r}function Ta(x,r){if(x===0)return nX(r[26][1]);if(x!==1)throw U0([0,Ar,Zc0],1);var e=r[26][1];e[1]||Gh(e);var t=e[2];return t?t[1][2]:Gh(e)[2]}function Fs(x,r){return x===r[5]?r:[0,r[1],r[2],r[3],r[4],x,r[6],r[7],r[8],r[9],r[10],r[11],r[12],r[13],r[14],r[15],r[16],r[17],r[18],r[19],r[20],r[21],r[22],r[23],r[24],r[25],r[26],r[27],r[28],r[29],r[30],r[31]]}function uX(x,r){return x===r[10]?r:[0,r[1],r[2],r[3],r[4],r[5],r[6],r[7],r[8],r[9],x,r[11],r[12],r[13],r[14],r[15],r[16],r[17],r[18],r[19],r[20],r[21],r[22],r[23],r[24],r[25],r[26],r[27],r[28],r[29],r[30],r[31]]}function nO(x,r){return x===r[18]?r:[0,r[1],r[2],r[3],r[4],r[5],r[6],r[7],r[8],r[9],r[10],r[11],r[12],r[13],r[14],r[15],r[16],r[17],x,r[19],r[20],r[21],r[22],r[23],r[24],r[25],r[26],r[27],r[28],r[29],r[30],r[31]]}function uO(x,r){return x===r[19]?r:[0,r[1],r[2],r[3],r[4],r[5],r[6],r[7],r[8],r[9],r[10],r[11],r[12],r[13],r[14],r[15],r[16],r[17],r[18],x,r[20],r[21],r[22],r[23],r[24],r[25],r[26],r[27],r[28],r[29],r[30],r[31]]}function iX(x,r){return x===r[20]?r:[0,r[1],r[2],r[3],r[4],r[5],r[6],r[7],r[8],r[9],r[10],r[11],r[12],r[13],r[14],r[15],r[16],r[17],r[18],r[19],x,r[21],r[22],r[23],r[24],r[25],r[26],r[27],r[28],r[29],r[30],r[31]]}function qo(x,r){return x===r[22]?r:[0,r[1],r[2],r[3],r[4],r[5],r[6],r[7],r[8],r[9],r[10],r[11],r[12],r[13],r[14],r[15],r[16],r[17],r[18],r[19],r[20],r[21],x,r[23],r[24],r[25],r[26],r[27],r[28],r[29],r[30],r[31]]}function iO(x,r){return x===r[14]?r:[0,r[1],r[2],r[3],r[4],r[5],r[6],r[7],r[8],r[9],r[10],r[11],r[12],r[13],x,r[15],r[16],r[17],r[18],r[19],r[20],r[21],r[22],r[23],r[24],r[25],r[26],r[27],r[28],r[29],r[30],r[31]]}function r6(x,r){return x===r[8]?r:[0,r[1],r[2],r[3],r[4],r[5],r[6],r[7],x,r[9],r[10],r[11],r[12],r[13],r[14],r[15],r[16],r[17],r[18],r[19],r[20],r[21],r[22],r[23],r[24],r[25],r[26],r[27],r[28],r[29],r[30],r[31]]}function e6(x,r){return x===r[12]?r:[0,r[1],r[2],r[3],r[4],r[5],r[6],r[7],r[8],r[9],r[10],r[11],x,r[13],r[14],r[15],r[16],r[17],r[18],r[19],r[20],r[21],r[22],r[23],r[24],r[25],r[26],r[27],r[28],r[29],r[30],r[31]]}function Bo(x,r){return x===r[15]?r:[0,r[1],r[2],r[3],r[4],r[5],r[6],r[7],r[8],r[9],r[10],r[11],r[12],r[13],r[14],x,r[16],r[17],r[18],r[19],r[20],r[21],r[22],r[23],r[24],r[25],r[26],r[27],r[28],r[29],r[30],r[31]]}function fO(x,r){return x===r[16]?r:[0,r[1],r[2],r[3],r[4],r[5],r[6],r[7],r[8],r[9],r[10],r[11],r[12],r[13],r[14],r[15],x,r[17],r[18],r[19],r[20],r[21],r[22],r[23],r[24],r[25],r[26],r[27],r[28],r[29],r[30],r[31]]}function fX(x,r){return x===r[6]?r:[0,r[1],r[2],r[3],r[4],r[5],x,r[7],r[8],r[9],r[10],r[11],r[12],r[13],r[14],r[15],r[16],r[17],r[18],r[19],r[20],r[21],r[22],r[23],r[24],r[25],r[26],r[27],r[28],r[29],r[30],r[31]]}function cX(x,r){return x===r[7]?r:[0,r[1],r[2],r[3],r[4],r[5],r[6],x,r[8],r[9],r[10],r[11],r[12],r[13],r[14],r[15],r[16],r[17],r[18],r[19],r[20],r[21],r[22],r[23],r[24],r[25],r[26],r[27],r[28],r[29],r[30],r[31]]}function cO(x,r){return x===r[13]?r:[0,r[1],r[2],r[3],r[4],r[5],r[6],r[7],r[8],r[9],r[10],r[11],r[12],x,r[14],r[15],r[16],r[17],r[18],r[19],r[20],r[21],r[22],r[23],r[24],r[25],r[26],r[27],r[28],r[29],r[30],r[31]]}function Wh(x,r){return[0,r[1],r[2],r[3],r[4],r[5],r[6],r[7],r[8],r[9],r[10],r[11],r[12],r[13],r[14],r[15],r[16],r[17],r[18],r[19],r[20],r[21],r[22],[0,x],r[24],r[25],r[26],r[27],r[28],r[29],r[30],r[31]]}function sO(x){function r(e){return D0(x,e)}return function(e){return p1(r,e)}}function u3(x){var r=x[4][1];return r?[0,r[1][2]]:0}function sX(x){var r=x[4][1];return r?[0,r[1][1]]:0}function aX(x){return[0,x[1],x[2],x[3],x[4],x[5],x[6],x[7],x[8],x[9],x[10],x[11],x[12],x[13],x[14],x[15],x[16],x[17],x[18],x[19],x[20],x[21],x[22],0,x[24],x[25],x[26],x[27],x[28],x[29],x[30],x[31]]}function oX(x,r,e,t){return[0,x[1],x[2],y1[1],x[4],x[5],0,0,0,0,0,1,x[12],x[13],x[14],x[15],x[16],x[17],e,r,x[20],t,x[22],x[23],x[24],x[25],x[26],x[27],x[28],x[29],x[30],x[31]]}function i3(x){return I(x,lo)&&I(x,W1)&&I(x,mv)&&I(x,ek)&&I(x,_l)&&I(x,z3)&&I(x,U3)&&I(x,Ae)&&I(x,M1)?0:1}function Xo(x){return I(x,_A)&&I(x,"eval")?0:1}function $h(x){var r=ix(x,ik);x:{if(0<=r){if(0>>0){if(ue>=t+1>>>0)return 1}else if(t===6)return 0}return t6(x,r)}function c3(x){return pX(0,x)}function Ms(x,r){var e=vr(x,r);x:{if(typeof e=="number")switch(e){case 28:case 42:case 52:case 53:case 54:case 55:case 56:case 57:case 58:var t=1;break x}else if(e[0]===4){var t=i3(e[2]);break x}var t=0}if(t)return 1;x:{if(typeof e=="number")switch(e){case 14:case 48:case 60:case 61:case 62:case 63:case 64:case 65:case 126:break;default:break x}else if(e[0]!==4)break x;return 1}return 0}function Hh(x,r){return vX(r,vr(x,r))}function kX(x,r){var e=Ms(x,r);return e||Hh(x,r)}function Jc(x){return Ms(0,x)}function Ea(x){var r=M(x)===15?1:0;if(r)var e=r;else{var t=M(x)===64?1:0;if(t){var u=vr(1,x)===15?1:0;if(u)var i=f3(1,x)[2][1],e=fx(x)[3][1]===i?1:0;else var e=u}else var e=t}return e}function Qh(x){var r=M(x);if(typeof r!="number"&&r[0]===4&&!I(r[3],wo)){var e=x[28][1];if(e){var t=Ms(1,x);if(t)var u=f3(1,x)[2][1],i=fx(x)[3][1]===u?1:0;else var i=t}else var i=e;return i}return 0}function n6(x){var r=M(x);if(typeof r=="number")switch(r){case 13:case 40:return 1}else if(r[0]===4&&!I(r[3],Z9)&&vr(1,x)===40)return 1;return 0}function vO(x){var r=x[28][1];if(r){var e=M(x);if(typeof e!="number"&&e[0]===4&&!I(e[3],ta)&&Ms(1,x))return 1;var t=0}else var t=r;return t}function lO(x){var r=M(x);return typeof r!="number"&&r[0]===4&&!I(r[3],dr)?1:0}function Kx(x,r){return D0(x,[0,fx(x),r])}function mX(x,r){var e=HN(0,r);return x?[26,e,x[1]]:[24,e]}function _2(x,r){var e=oO(r);return sO(r)(e),Kx(r,mX(x,M(r)))}function Zh(x){function r(e){return D0(x,[0,e[1],R7])}return function(e){return p1(r,e)}}function hX(x,r){var e=x[6]?B0(yr($c0),r,r,r):Hc0;return _2([0,e],x)}function Ot(x,r){var e=x[5];return e&&Kx(x,r)}function ct(x,r){var e=x[5],t=r[2],u=r[1];return e&&D0(x,[0,u,t])}function Jo(x,r){return D0(x,[0,r,[14,x[5]]])}function b0(x){var r=x[27][1];if(r){var e=r[1],t=n3(x),u=M(x);l(e,[0,fx(x),u,t])}var i=x[26][1],c=i[1],v=c?c[1][1]:Gh(i)[1];x[25][1]=v;var a=oO(x);sO(x)(a);var p=x[2][1],_=zv(Ta(0,x)[4],p);x[2][1]=_;var y=[0,Ta(0,x)];x[4][1]=y;var S=x[26][1];return S[2]?(S[1]=S[2],S[2]=0,0):(nX(S),S[1]=0,0)}function f2(x,r){var e=k(VN,M(x),r);return e&&b0(x),e}function L2(x,r){x[24][1]=[0,r,x[24][1]];var e=n3(x),t=Zl(x[25][1],e);x[26][1]=t}function J2(x){var r=x[24][1],e=r?r[2]:gx(Wc0);x[24][1]=e;var t=n3(x),u=Zl(x[25][1],t);x[26][1]=u}function xx(x){var r=fx(x);if(M(x)===9&&t6(1,x)){var e=f0(x),t=Ta(1,x)[4],u=Fx(e,Fl(function(c){return c[1][2][1]<=r[3][1]?1:0})(t));return x6(x,[0,r[3][1]+1|0,0]),u}var i=f0(x);return x6(x,r[3]),i}function Sa(x){var r=x[4][1];if(!r)return 0;var e=r[1][2],t=f0(x),u=Fl(function(i){return i[1][2][1]<=e[3][1]?1:0})(t);return x6(x,[0,e[3][1]+1|0,0]),u}function tn(x,r){return _2([0,HN(zc0,r)],x)}function W(x,r){return 1-k(VN,M(x),r)&&tn(x,r),b0(x)}function dX(x,r){var e=f2(x,r);return 1-e&&tn(x,r),e}function xd(x,r){dX(x,r)}function Kc(x,r){var e=M(x);x:{if(typeof e!="number"&&e[0]===4&&Sr(e[3],r))break x;_2([0,l(yr(Yc0),r)],x)}return b0(x)}var Yc=[x2,us0,Ts(0)];function yX(x,r,e){if(e){var t=e[1],u=t[1],i=t[2];if(r[27][1]=[0,u],!x)return x;for(var c=i[2];;){if(!c)return;var v=c[2];l(u,c[1]);var c=v}}}function pO(x,r){var e=x[27][1];if(e){var t=e[1],u=lq(R),i=[0,function(K){return vN(K,u)}];x[27][1]=i;var c=[0,[0,t,u]]}else var c=0;var v=x[31][1],a=x[25][1],p=x[24][1],_=x[4][1],y=x[2][1],S=x[1][1];try{var E=l(r,x);yX(1,x,c);var j=[0,E];return j}catch(F){var C=O2(F);if(C!==Yc)throw U0(C,0);yX(0,x,c),x[1][1]=S,x[2][1]=y,x[4][1]=_,x[24][1]=p,x[25][1]=a,x[31][1]=v;var P=n3(x),O=Zl(x[25][1],P);return x[26][1]=O,0}}function rd(x,r,e){var t=pO(x,e);return t?t[1]:r}function u6(x,r){var e=vx(r);if(!e)return r;var t=e[1],u=e[2],i=l(x,t);return t===i?r:vx([0,i,u])}var gX=ph(as0,function(x){var r=RN(x,fs0),e=CN(x,ss0),t=e[24],u=e[28],i=e[41],c=e[91],v=e[oj],a=e[AP],p=e[o_],_=e[WM],y=e[HL],S=e[PR],E=e[6],j=e[7],C=e[10],P=e[17],O=e[23],F=e[29],K=e[39],U=e[42],V=e[52],Q=e[61],$=e[z2],x0=e[j2],e0=e[ua],Z=e[kv],c0=e[Ev],d0=e[hl],n0=e[M_],P0=e[SL],h0=e[xL],g0=e[pT],v0=e[Mb],p0=e[v8],w0=e[Wp],T0=e[Eb],E0=e[tm],N0=e[P4],X0=e[Gk],A0=e[po],rx=e[xl],B=e[go],G0=e[i8],W0=e[WR],Y0=e[TF],V0=e[VM],ex=e[kL],Q0=e[pM],S0=e[sy],q0=e[zF],yx=e[KM],cx=e[mR],Dx=LN(x,0,0,QU,XN,1)[1];function Ix(H,l0,J){var s0=J[2],_0=s0[2],y0=s0[1],J0=J[1];if(_0){var Rx=_0[1],kx=function(gr){return[0,J0,[0,y0,[0,gr]]]};return I0(l(H[1][1+a],H),Rx,J,kx)}function Jx(gr){return[0,J0,[0,gr,_0]]}return I0(k(H[1][1+E],H,l0),y0,J,Jx)}function Xx(H,l0,J){var s0=J[2],_0=J[1],y0=_0[3],J0=_0[2],Rx=_0[1];if(y0)var kx=u6(l(H[1][1+u],H),y0),Jx=J0;else var kx=0,Jx=k(H[1][1+u],H,J0);var gr=k(H[1][1+i],H,s0);return J0===Jx&&y0===kx&&s0===gr?J:[0,[0,Rx,Jx,kx],gr]}function Z0(H,l0){var J=l0[2],s0=J[2],_0=J[1],y0=l0[1];function J0(Rx){return[0,y0,[0,_0,Rx]]}return I0(l(H[1][1+i],H),s0,l0,J0)}function rr(H,l0,J){var s0=J[3];function _0(y0){return[0,J[1],J[2],y0]}return I0(l(H[1][1+i],H),s0,J,_0)}function xr(H,l0){var J=l0[3];function s0(_0){return[0,l0[1],l0[2],_0]}return I0(l(H[1][1+i],H),J,l0,s0)}function fr(H,l0,J){var s0=J[3];function _0(y0){return[0,J[1],J[2],y0]}return I0(l(H[1][1+i],H),s0,J,_0)}function Hx(H,l0,J){var s0=J[2],_0=J[1],y0=u6(l(H[1][1+a],H),_0),J0=k(H[1][1+i],H,s0);return _0===y0&&s0===J0?J:[0,y0,J0]}function Y(H,l0){var J=l0[2],s0=J[2],_0=J[1],y0=l0[1];function J0(Rx){return[0,y0,[0,_0,Rx]]}return I0(l(H[1][1+i],H),s0,l0,J0)}function jx(H,l0,J){var s0=J[4];function _0(y0){return[0,J[1],J[2],J[3],y0]}return I0(l(H[1][1+i],H),s0,J,_0)}function hr(H,l0,J){var s0=J[2];function _0(y0){return[0,J[1],y0]}return I0(l(H[1][1+i],H),s0,J,_0)}function Yx(H,l0,J){var s0=J[3],_0=J[2],y0=k(H[1][1+e0],H,_0),J0=k(H[1][1+i],H,s0);return _0===y0&&s0===J0?J:[0,J[1],y0,J0]}function Ur(H,l0,J){var s0=J[4],_0=J[3],y0=J[2],J0=J[1],Rx=k(H[1][1+i],H,s0);if(_0){var kx=Cx(l(H[1][1+S],H),_0);return _0===kx&&s0===Rx?J:[0,J[1],J[2],kx,Rx]}if(y0){var Jx=Cx(l(H[1][1+y],H),y0);return y0===Jx&&s0===Rx?J:[0,J[1],Jx,J[3],Rx]}var gr=k(H[1][1+a],H,J0);return J0===gr&&s0===Rx?J:[0,gr,J[2],J[3],Rx]}function px(H,l0,J){var s0=J[4],_0=J[3],y0=k(H[1][1+a],H,_0),J0=k(H[1][1+i],H,s0);return _0===y0&&s0===J0?J:[0,J[1],J[2],y0,J0]}function w(H,l0,J){var s0=J[4];function _0(y0){return[0,J[1],J[2],J[3],y0]}return I0(l(H[1][1+i],H),s0,J,_0)}function L(H,l0,J){var s0=J[4];function _0(y0){return[0,J[1],J[2],J[3],y0]}return I0(l(H[1][1+i],H),s0,J,_0)}function L0(H,l0,J){var s0=J[2],_0=J[1],y0=_0[3],J0=_0[2],Rx=_0[1];if(y0)var kx=u6(l(H[1][1+u],H),y0),Jx=J0;else var kx=0,Jx=k(H[1][1+u],H,J0);var gr=k(H[1][1+i],H,s0);return J0===Jx&&y0===kx&&s0===gr?J:[0,[0,Rx,Jx,kx],gr]}function sx(H,l0,J){var s0=J[3],_0=J[1],y0=X2(l(H[1][1+c],H),_0),J0=k(H[1][1+i],H,s0);return _0===y0&&s0===J0?J:[0,y0,J[2],J0]}function lx(H,l0,J){var s0=J[2];function _0(y0){return[0,J[1],y0]}return I0(l(H[1][1+i],H),s0,J,_0)}function ax(H,l0){if(l0[0]===0){var J=l0[1],s0=function(Jx){return[0,Jx]};return I0(l(H[1][1+v],H),J,l0,s0)}var _0=l0[1],y0=_0[2],J0=y0[2],Rx=_0[1],kx=k(H[1][1+v],H,J0);return J0===kx?l0:[1,[0,Rx,[0,y0[1],kx]]]}function Vx(H,l0,J){var s0=J[4],_0=J[3],y0=k(H[1][1+p0],H,_0),J0=k(H[1][1+i],H,s0);return _0===y0&&s0===J0?J:[0,J[1],J[2],y0,J0,J[5]]}function _x(H,l0){var J=l0[2],s0=l0[1],_0=J[4];function y0(J0){return[0,s0,[0,J[1],J[2],J[3],J0]]}return I0(l(H[1][1+i],H),_0,[0,s0,J],y0)}function zx(H,l0,J){var s0=J[10],_0=J[3],y0=k(H[1][1+E0],H,_0),J0=k(H[1][1+i],H,s0);return _0===y0&&s0===J0?J:[0,J[1],J[2],y0,J[4],J[5],J[6],J[7],J[8],J[9],J0,J[11]]}function Lx(H,l0,J){var s0=J[4],_0=J[3],y0=k(H[1][1+a],H,_0),J0=k(H[1][1+i],H,s0);return _0===y0&&s0===J0?J:[0,J[1],J[2],y0,J0]}function M0(H,l0){var J=l0[2],s0=J[2],_0=J[1],y0=l0[1];function J0(Rx){return[0,y0,[0,_0,Rx]]}return I0(l(H[1][1+i],H),s0,l0,J0)}function qr(H,l0){var J=l0[2],s0=l0[1],_0=J[3];function y0(J0){return[0,s0,[0,J[1],J[2],J0]]}return I0(l(H[1][1+i],H),_0,[0,s0,J],y0)}function Ex(H,l0,J){var s0=J[6],_0=J[5],y0=k(H[1][1+G0],H,_0),J0=k(H[1][1+i],H,s0);return _0===y0&&s0===J0?J:[0,J[1],J[2],J[3],J[4],y0,J0,J[7]]}function $0(H,l0){var J=l0[2],s0=J[2],_0=J[1],y0=l0[1];if(s0===0){var J0=function(Jx){return[0,y0,[0,Jx,s0]]};return I0(l(H[1][1+v],H),_0,l0,J0)}function Rx(Jx){return[0,y0,[0,_0,Jx]]}var kx=l(H[1][1+t],H);return I0(function(Jx){return Cx(kx,Jx)},s0,l0,Rx)}function Gx(H,l0){var J=l0[2],s0=J[2],_0=J[1],y0=l0[1];function J0(kx){return[0,y0,[0,kx,s0]]}var Rx=l(H[1][1+p],H);return I0(function(kx){return u6(Rx,kx)},_0,l0,J0)}function j0(H,l0,J){var s0=J[2],_0=J[1];if(s0===0){var y0=function(kx){return[0,kx,J[2],J[3]]};return I0(l(H[1][1+a],H),_0,J,y0)}function J0(kx){return[0,J[1],kx,J[3]]}var Rx=l(H[1][1+t],H);return I0(function(kx){return Cx(Rx,kx)},s0,J,J0)}function cr(H,l0){var J=l0[2],s0=J[2],_0=J[1],y0=l0[1];function J0(Rx){return[0,y0,[0,_0,Rx]]}return I0(l(H[1][1+i],H),s0,l0,J0)}function tx(H,l0,J){var s0=J[7],_0=J[2],y0=k(H[1][1+_],H,_0),J0=k(H[1][1+i],H,s0);return _0===y0&&s0===J0?J:[0,J[1],y0,J[3],J[4],J[5],J[6],J0]}function Mx(H,l0){var J=l0[2],s0=J[2],_0=J[1],y0=l0[1];function J0(Rx){return[0,y0,[0,_0,Rx]]}return I0(l(H[1][1+i],H),s0,l0,J0)}function b2(H,l0){var J=l0[2],s0=J[2],_0=J[1],y0=l0[1];function J0(Rx){return[0,y0,[0,_0,Rx]]}return I0(l(H[1][1+i],H),s0,l0,J0)}function Ux(H,l0,J){var s0=J[4],_0=J[3],y0=k(H[1][1+S],H,_0),J0=k(H[1][1+i],H,s0);return _0===y0&&s0===J0?J:[0,J[1],J[2],y0,J0]}function c1(H,l0,J){var s0=J[2];function _0(y0){return[0,J[1],y0]}return I0(l(H[1][1+i],H),s0,J,_0)}function Rr(H,l0,J){var s0=J[4],_0=J[3],y0=k(H[1][1+a],H,_0),J0=k(H[1][1+i],H,s0);return _0===y0&&s0===J0?J:[0,J[1],J[2],y0,J0]}function U2(H,l0,J){var s0=J[4],_0=J[3],y0=k(H[1][1+a],H,_0),J0=k(H[1][1+i],H,s0);return _0===y0&&s0===J0?J:[0,J[1],J[2],y0,J0]}function g(H,l0){var J=l0[2];function s0(_0){return[0,l0[1],_0]}return I0(l(H[1][1+i],H),J,l0,s0)}function G(H,l0,J){var s0=J[2];function _0(y0){return[0,J[1],y0]}return I0(l(H[1][1+i],H),s0,J,_0)}return UN(x,[0,U,function(H,l0){var J=l0[2],s0=Fl(function(y0){return Rs(y0[1][2],H[1+r])<0?1:0})(J),_0=Is(s0);return Is(J)===_0?l0:[0,l0[1],s0,l0[3]]},cx,G,yx,g,q0,U2,S0,Rr,Q0,c1,ex,Ux,S,b2,y,Mx,V0,tx,_,cr,Y0,j0,W0,Gx,p,$0,B,Ex,rx,qr,A0,M0,X0,Lx,N0,zx,T0,_x,w0,Vx,v0,ax,g0,lx,h0,sx,P0,L0,n0,L,d0,w,c0,px,x0,Ur,Z,Yx,$,hr,c,jx,Q,Y,V,Hx,K,fr,F,xr,O,rr,P,Z0,C,Xx,j,Ix]),function(H,l0,J){var s0=kh(l0,x);return s0[1+r]=J,l(Dx,s0),MN(l0,s0,x)}});function ed(x){var r=u3(x);if(r)var e=r[1],t=lX(x)?(x6(x,e[3]),[0,k(gX[1],0,e[3])]):0,u=t;else var u=0;return[0,0,function(i,c){return u?c(u[1],i):i}]}function i6(x){var r=u3(x);if(r){var e=r[1];if(lX(x)){x6(x,e[3]);var t=Sa(x),u=[0,k(gX[1],0,[0,e[3][1]+1|0,0])],i=t}else var u=0,i=Sa(x)}else var u=0,i=0;return[0,i,function(c,v){return u?k(v,u[1],c):c}]}function I2(x){return K1(x)?i6(x):ed(x)}function Ct(x,r){var e=I2(x)[2];return k(e,r,function(t,u){return k(Wx(t,Av,2),t,u)})}function Y1(x,r){if(!r)return 0;var e=r[1],t=I2(x)[2];return[0,k(t,e,function(u,i){return k(Wx(u,Gj,5),u,i)})]}function kO(x,r){var e=I2(x)[2];return k(e,r,function(t,u){return k(Wx(t,IR,8),t,u)})}function s3(x,r){var e=I2(x)[2];return k(e,r,function(t,u){return k(Wx(t,-1045824777,9),t,u)})}function f6(x,r){var e=I2(x)[2];return k(e,r,function(t,u){return k(Wx(t,-455772979,10),t,u)})}function _X(x,r){if(!r)return 0;var e=r[1],t=I2(x)[2];return[0,k(t,e,function(u,i){return k(Wx(u,QF,13),u,i)})]}function nn(x,r){var e=I2(x)[2];return k(e,r,function(t,u){return k(Wx(t,eR,14),t,u)})}function bX(x,r){var e=I2(x)[2];return k(e,r,function(t,u){var i=l(Wx(t,VL,16),t);return u6(function(c){return X2(i,c)},u)})}function wX(x,r){var e=I2(x)[2];return k(e,r,function(t,u){return k(Wx(t,-21476009,17),t,u)})}function ow0(x,r){var e=x[2],t=x[1];function u(c1){return N1(c1,r)}switch(e[0]){case 0:var i=e[1],c=YN(i[2],r),Ux=[0,[0,i[1],c]];break;case 1:var v=e[1],a=u(v[2]),Ux=[1,[0,v[1],a]];break;case 2:var p=e[1],_=u(p[7]),Ux=[2,[0,p[1],p[2],p[3],p[4],p[5],p[6],_]];break;case 3:var y=e[1],S=y[7],E=u(y[6]),Ux=[3,[0,y[1],y[2],y[3],y[4],y[5],E,S]];break;case 4:var j=e[1],C=u(j[2]),Ux=[4,[0,j[1],C]];break;case 5:var Ux=[5,[0,u(e[1][1])]];break;case 6:var P=e[1],O=u(P[7]),Ux=[6,[0,P[1],P[2],P[3],P[4],P[5],P[6],O]];break;case 7:var F=e[1],K=u(F[5]),Ux=[7,[0,F[1],F[2],F[3],F[4],K]];break;case 8:var U=e[1],V=u(U[3]),Ux=[8,[0,U[1],U[2],V]];break;case 9:var Q=e[1],$=u(Q[5]),Ux=[9,[0,Q[1],Q[2],Q[3],Q[4],$]];break;case 10:var x0=e[1],e0=u(x0[4]),Ux=[10,[0,x0[1],x0[2],x0[3],e0]];break;case 11:var Z=e[1],c0=u(Z[5]),Ux=[11,[0,Z[1],Z[2],Z[3],Z[4],c0]];break;case 12:var d0=e[1],n0=u(d0[3]),Ux=[12,[0,d0[1],d0[2],n0]];break;case 13:var P0=e[1],h0=u(P0[2]),Ux=[13,[0,P0[1],h0]];break;case 14:var g0=e[1],v0=u(g0[3]),Ux=[14,[0,g0[1],g0[2],v0]];break;case 15:var p0=e[1],w0=u(p0[4]),Ux=[15,[0,p0[1],p0[2],p0[3],w0]];break;case 16:var T0=e[1],E0=u(T0[5]),Ux=[16,[0,T0[1],T0[2],T0[3],T0[4],E0]];break;case 17:var N0=e[1],X0=u(N0[4]),Ux=[17,[0,N0[1],N0[2],N0[3],X0]];break;case 18:var A0=e[1],rx=u(A0[3]),Ux=[18,[0,A0[1],A0[2],rx]];break;case 19:var Ux=[19,[0,u(e[1][1])]];break;case 20:var B=e[1],G0=u(B[3]),Ux=[20,[0,B[1],B[2],G0]];break;case 21:var W0=e[1],Y0=u(W0[3]),Ux=[21,[0,W0[1],W0[2],Y0]];break;case 22:var V0=e[1],ex=u(V0[5]),Ux=[22,[0,V0[1],V0[2],V0[3],V0[4],ex]];break;case 23:var Q0=e[1],S0=u(Q0[3]),Ux=[23,[0,Q0[1],Q0[2],S0]];break;case 24:var q0=e[1],yx=u(q0[5]),Ux=[24,[0,q0[1],q0[2],q0[3],q0[4],yx]];break;case 25:var cx=e[1],Dx=u(cx[5]),Ux=[25,[0,cx[1],cx[2],cx[3],cx[4],Dx]];break;case 26:var Ix=e[1],Xx=u(Ix[5]),Ux=[26,[0,Ix[1],Ix[2],Ix[3],Ix[4],Xx]];break;case 27:var Z0=e[1],rr=Z0[11],xr=u(Z0[10]),Ux=[27,[0,Z0[1],Z0[2],Z0[3],Z0[4],Z0[5],Z0[6],Z0[7],Z0[8],Z0[9],xr,rr]];break;case 28:var fr=e[1],Hx=u(fr[4]),Ux=[28,[0,fr[1],fr[2],fr[3],Hx]];break;case 29:var Y=e[1],jx=u(Y[5]),Ux=[29,[0,Y[1],Y[2],Y[3],Y[4],jx]];break;case 30:var hr=e[1],Yx=u(hr[5]),Ux=[30,[0,hr[1],hr[2],hr[3],hr[4],Yx]];break;case 31:var Ur=e[1],px=u(Ur[3]),Ux=[31,[0,Ur[1],Ur[2],px]];break;case 32:var w=e[1],L=w[3],L0=u(w[2]),Ux=[32,[0,w[1],L0,L]];break;case 33:var sx=e[1],lx=sx[4],ax=u(sx[3]),Ux=[33,[0,sx[1],sx[2],ax,lx]];break;case 34:var Vx=e[1],_x=u(Vx[2]),Ux=[34,[0,Vx[1],_x]];break;case 35:var zx=e[1],Lx=u(zx[4]),Ux=[35,[0,zx[1],zx[2],zx[3],Lx]];break;case 36:var M0=e[1],qr=u(M0[4]),Ux=[36,[0,M0[1],M0[2],M0[3],qr]];break;case 37:var Ex=e[1],$0=u(Ex[5]),Ux=[37,[0,Ex[1],Ex[2],Ex[3],Ex[4],$0]];break;case 38:var Gx=e[1],j0=u(Gx[3]),Ux=[38,[0,Gx[1],Gx[2],j0]];break;case 39:var cr=e[1],tx=u(cr[3]),Ux=[39,[0,cr[1],cr[2],tx]];break;default:var Mx=e[1],b2=u(Mx[3]),Ux=[40,[0,Mx[1],Mx[2],b2]]}return[0,t,Ux]}ph(os0,function(x){var r=RN(x,is0),e=FN(cs0),t=e.length-1,u=HU.length-1,i=Jv(t+u|0,0),c=t-1|0,v=0;if(c>=0)for(var a=v;;){var p=Yl(x,$2(e,a)[1+a]);$2(i,a)[1+a]=p;var _=a+1|0;if(c===a)break;var a=_}var y=u-1|0,S=0;if(y>=0)for(var E=S;;){var j=E+t|0,C=RN(x,$2(HU,E)[1+E]);$2(i,j)[1+j]=C;var P=E+1|0;if(y===E)break;var E=P}var O=i[4],F=i[5],K=i[lL],U=i[o_],V=i[297],Q=i[298],$=i[44],x0=i[gv],e0=i[gL],Z=LN(x,0,0,QU,XN,1)[1];function c0(v0,p0,w0){return k(v0[1][1+K],v0,w0[2]),w0}function d0(v0,p0){return k(v0[1][1+U],v0,p0),p0}function n0(v0,p0){var w0=p0[1],T0=v0[1+Q];if(T0){var E0=Rs(T0[1][1][2],w0[2])<0?1:0,N0=E0&&(v0[1+Q]=[0,p0],0);return N0}var X0=0<=Rs(w0[2],v0[1+r][3])?1:0,A0=X0&&(v0[1+Q]=[0,p0],0);return A0}function P0(v0,p0){var w0=p0[1],T0=v0[1+V];if(T0){var E0=Rs(w0[2],T0[1][1][2])<0?1:0,N0=E0&&(v0[1+V]=[0,p0],0);return N0}var X0=Rs(w0[2],v0[1+r][2])<0?1:0,A0=X0&&(v0[1+V]=[0,p0],0);return A0}function h0(v0,p0){return p0?k(v0[1][1+U],v0,p0[1]):0}function g0(v0,p0){var w0=p0[2],T0=p0[1];return p1(l(v0[1][1+F],v0),T0),p1(l(v0[1][1+O],v0),w0)}return UN(x,[0,x0,function(v0){return[0,v0[1+V],v0[1+Q]]},U,g0,K,h0,F,P0,O,n0,$,d0,e0,c0]),function(v0,p0,w0){var T0=kh(p0,x);return T0[1+r]=w0,l(Z,T0),T0[1+V]=0,T0[1+Q]=0,MN(p0,T0,x)}});function TX(x){var r=M(x);x:{if(typeof r=="number"){var e=r;if(50<=e)switch(e){case 50:var u=Vs0;break x;case 51:var u=Gs0;break x;case 52:var u=Ws0;break x;case 53:var u=$s0;break x;case 54:var u=Hs0;break x;case 55:var u=Qs0;break x;case 56:var u=Zs0;break x;case 57:var u=xa0;break x;case 58:var u=ra0;break x;case 59:var u=ea0;break x;case 60:var u=ta0;break x;case 61:var u=na0;break x;case 62:var u=ua0;break x;case 63:var u=ia0;break x;case 64:var u=fa0;break x;case 65:var u=ca0;break x;case 114:var u=sa0;break x;case 115:var u=aa0;break x;case 116:var u=oa0;break x;case 117:var u=va0;break x;case 118:var u=la0;break x;case 119:var u=pa0;break x;case 120:var u=ka0;break x;case 121:var u=ma0;break x;case 122:var u=ha0;break x;case 123:var u=da0;break x;case 124:var u=ya0;break x;case 125:var u=ga0;break x;case 126:var u=_a0;break x;case 128:var u=ba0;break x;case 129:var u=wa0;break x;case 130:var u=Ta0;break x}else switch(e){case 15:var u=vs0;break x;case 16:var u=ls0;break x;case 17:var u=ps0;break x;case 18:var u=ks0;break x;case 19:var u=ms0;break x;case 20:var u=hs0;break x;case 21:var u=ds0;break x;case 22:var u=ys0;break x;case 23:var u=gs0;break x;case 24:var u=_s0;break x;case 25:var u=bs0;break x;case 26:var u=ws0;break x;case 27:var u=Ts0;break x;case 28:var u=Es0;break x;case 29:var u=Ss0;break x;case 30:var u=As0;break x;case 31:var u=Is0;break x;case 32:var u=js0;break x;case 33:var u=Ps0;break x;case 34:var u=Ns0;break x;case 35:var u=Os0;break x;case 36:var u=Cs0;break x;case 37:var u=Ds0;break x;case 38:var u=Rs0;break x;case 39:var u=Fs0;break x;case 40:var u=Ls0;break x;case 41:var u=Ms0;break x;case 42:var u=Us0;break x;case 43:var u=qs0;break x;case 44:var u=Bs0;break x;case 45:var u=Xs0;break x;case 46:var u=Js0;break x;case 47:var u=Ks0;break x;case 48:var u=Ys0;break x;case 49:var u=zs0;break x}}else switch(r[0]){case 4:var u=r[2];break x;case 11:var t=r[1]?Ea0:Sa0,u=t;break x}_2(Aa0,x);var u=Ia0}return b0(x),u}function g1(x){var r=fx(x),e=f0(x),t=TX(x);return[0,r,[0,t,t0([0,e],[0,xx(x)],R)]]}function EX(x){var r=fx(x),e=f0(x);W(x,14);var t=fx(x),u=TX(x),i=t0([0,e],[0,xx(x)],R),c=Zr(r,t),v=t[2],a=r[3],p=a[1]===v[1]?1:0,_=p&&(a[2]===v[2]?1:0);return 1-_&&D0(x,[0,c,j2]),[0,c,[0,u,i]]}function Ko(x){var r=x[2],e=r[3]===0?1:0,t=r[2];if(!e)return e;for(var u=t;;){if(!u)return 1;var i=u[1][2],c=u[2];x:{if(i[1][2][0]===2&&!i[2]){var v=1;break x}var v=0}if(!v)return v;var u=c}}function c6(x){for(var r=x;;){var e=r[2];if(e[0]!==31)return 0;var t=e[1][2];if(t[2][0]===27)return 1;var r=t}}function td(x,r,e){var t=e[2][1],u=e[1];if(!I(t,_o)){var i=r[19];return i&&D0(r,[0,u,5])}if(I(t,mv)){if(!I(t,M1))return r[18]?D0(r,[0,u,95]):ct(r,[0,u,80])}else if(r[14])return D0(r,[0,u,[24,bh(t)]]);if(i3(t))return ct(r,[0,u,80]);if($h(t))return D0(r,[0,u,95]);if(x){var c=x[1];if(Xo(t))return ct(r,[0,u,c])}}function r0(x,r,e){var t=x?x[1]:fx(e),u=l(r,e),i=u3(e),c=i?Zr(t,i[1]):t;return[0,c,u]}function mO(x,r,e){var t=r0(x,r,e),u=t[2];return[0,[0,t[1],u[1]],u[2]]}function nd(x){L2(x,0);var r=M(x);J2(x);var e=vr(1,x);x:{r:{if(typeof r=="number"){if(r!==21)break x}else{if(r[0]!==4)break x;var t=r[3];if(I(t,hv)){if(!I(t,ov))e:{if(typeof e=="number"){if(e!==21)break e}else if(e[0]!==4)break e;break r}}else e:{if(typeof e=="number"){if(e!==21)break e}else if(e[0]!==4)break e;break r}}if(typeof e=="number"){if(y2!==e)break x}else if(e[0]!==4||I(e[3],ll))break x}return 1}return 0}function SX(x){switch(x){case 3:return 2;case 4:return 1;case 5:return 1;case 6:return 1;case 7:return 1;default:return 1}}function hO(x,r,e){if(e){var t=e[1];x:{if(t!==8232&&G2!==t){if(t===10){var u=6;break x}if(t===13){var u=5;break x}if(el<=t){var u=3;break x}if(kj<=t){var u=2;break x}if(y2<=t){var u=1;break x}var u=0;break x}var u=7}var i=u}else var i=4;return[0,i,x]}var vw0=[x2,so0,Ts(0)];function AX(x,r,e,t){try{var u=$2(x,r)[1+r];return u}catch(c){var i=O2(c);throw i[1]===eN?U0([0,vw0,e,B0(yr(fo0),t,r,x.length-1)],1):U0(i,0)}}function ud(x,r){if(r[1]===0&&r[2]===0)return 0;var e=AX(x,r[1]-1|0,r,uo0);return AX(e,r[2],r,io0)}function IX(x){var r=[0,Ro0,y1[1],0,0];function e(a){var p=M(a);x:if(typeof p=="number"){if(8<=p){if(10<=p)break x}else if(p!==1)break x;return 1}return 0}function t(a,p,_,y,S,E){var j=B0(x[24],a,S,E);if(_)var C=Bx(Do0,E),P=-j;else var C=E,P=j;var O=xx(a);return e(a)?[2,p,[0,P,C,t0([0,y],[0,O],R)]]:[0,p]}function u(a){var p=fx(a),_=f0(a),y=M(a);if(typeof y=="number")switch(y){case 104:b0(a);var S=M(a);return typeof S!="number"&&S[0]===0?t(a,p,1,_,S[1],S[2]):[0,p];case 30:case 31:b0(a);var E=xx(a);return e(a)?[1,p,[0,y===31?1:0,t0([0,_],[0,E],R)]]:[0,p]}else switch(y[0]){case 0:return t(a,p,0,_,y[1],y[2]);case 1:var j=y[2],C=B0(x[26],a,y[1],j),P=xx(a);return e(a)?[4,p,[0,C,j,t0([0,_],[0,P],R)]]:[0,p];case 2:var O=y[1],F=O[1],K=O[3],U=O[2];O[4]&&Ot(a,76),b0(a);var V=xx(a);return e(a)?[3,F,[0,U,K,t0([0,_],[0,V],R)]]:[0,F]}return b0(a),[0,p]}function i(a){var p=g1(a),_=M(a);x:{if(typeof _=="number"){if(_===82){W(a,82);var y=u(a);break x}if(_===86){Kx(a,[8,p[2][1]]),W(a,86);var y=u(a);break x}}var y=0}return[0,p,y]}var c=0;function v(a,p,_,y,S,E,j){var C=Is(S),P=Is(E);function O(K){return[2,[0,[0,E],_,y,j]]}function F(K){return[2,[0,[1,S],_,y,j]]}return C===0?O(R):P===0?F(R):C>>0){if(ue>=$+1>>>0)break}else if($===10){var x0=fx(P),e0=f0(P);b0(P);var Z=M(P);x:{r:if(typeof Z=="number"){var c0=Z-2|0;if(j2>>0){if(ue>>0)break r}else{if(c0!==7)break r;W(P,9);var d0=M(P);e:{t:if(typeof d0=="number"){if(d0!==1&&Dr!==d0)break t;var n0=1;break e}var n0=0}D0(P,[0,x0,[6,n0]])}break x}D0(P,[0,x0,Ao0])}var V=[0,V[1],V[2],1,e0];continue}}var P0=V[2],h0=V[1],g0=r0(c,i,P),v0=g0[2],p0=v0[2],w0=v0[1],T0=g0[1],E0=w0[2][1],N0=w0[1];x:if(Sr(E0,H0))var X0=V;else{var A0=N2(E0,0),rx=97<=A0?1:0,B=rx&&(A0<=r2?1:0);B&&D0(P,[0,N0,[10,E,E0]]),y1[3].call(null,E0,P0)&&D0(P,[0,N0,[4,E,E0]]);var G0=V[4],W0=V[3],Y0=y1[4].call(null,E0,P0),V0=[0,V[1],Y0,W0,G0],ex=function(Ex){return function($0,Gx){if(K&&K[1]!==$0)return D0(P,[0,Gx,[9,E,K,Ex]])}}(E0);if(typeof p0=="number"){if(K)switch(K[1]){case 0:D0(P,[0,T0,[3,E,E0]]);var X0=V0;break x;case 1:D0(P,[0,T0,[11,E,E0]]);var X0=V0;break x;case 4:D0(P,[0,T0,[2,E,E0]]);var X0=V0;break x}var X0=[0,[0,h0[1],h0[2],h0[3],h0[4],[0,[0,T0,[0,w0]],h0[5]]],Y0,W0,G0]}else switch(p0[0]){case 0:D0(P,[0,p0[1],[9,E,K,E0]]);var X0=V0;break;case 1:var Q0=p0[1],S0=p0[2];ex(0,Q0);var X0=[0,[0,[0,[0,T0,[0,w0,[0,Q0,S0]]],h0[1]],h0[2],h0[3],h0[4],h0[5]],Y0,W0,G0];break;case 2:var q0=p0[1],yx=p0[2];ex(1,q0);var X0=[0,[0,h0[1],[0,[0,T0,[0,w0,[0,q0,yx]]],h0[2]],h0[3],h0[4],h0[5]],Y0,W0,G0];break;case 3:var cx=p0[1],Dx=p0[2];ex(2,cx);var X0=[0,[0,h0[1],h0[2],[0,[0,T0,[0,w0,[0,cx,Dx]]],h0[3]],h0[4],h0[5]],Y0,W0,G0];break;default:var Ix=p0[1],Xx=p0[2];ex(4,Ix);var X0=[0,[0,h0[1],h0[2],h0[3],[0,[0,T0,[0,w0,[0,Ix,Xx]]],h0[4]],h0[5]],Y0,W0,G0]}}var Z0=M(P);x:{r:if(typeof Z0=="number"){var rr=Z0-2|0;if(j2>>0){if(ue>>0)break r}else{if(rr!==6)break r;Kx(P,18),W(P,8)}break x}W(P,9)}var V=X0}var xr=V[3],fr=V[4],Hx=vx(V[1][5]),Y=vx(V[1][4]),jx=vx(V[1][3]),hr=vx(V[1][2]),Yx=vx(V[1][1]),Ur=Fx(fr,f0(P));W(P,1);var px=M(P);x:{r:if(typeof px=="number"){if(px!==1&&Dr!==px)break r;var w=xx(P);break x}var w=K1(P)?Sa(P):0}var L=F2([0,U],[0,w],Ur,R);if(K){switch(K[1]){case 0:var L0=[0,[0,Yx,1,xr,L]];break;case 1:var L0=[1,[0,hr,1,xr,L]];break;case 2:var L0=v(P,E,1,xr,jx,Hx,L);break;case 3:var L0=[3,[0,Hx,xr,L]];break;default:var L0=[4,[0,Y,1,xr,L]]}var sx=L0}else{var lx=Is(Yx),ax=Is(hr),Vx=Is(Y),_x=Is(jx),zx=Is(Hx),Lx=function(Ex){return[2,[0,Io0,0,xr,L]]};x:{if(lx===0&&ax===0&&Vx===0){if(_x===0&&zx===0){var M0=Lx(R);break x}var M0=v(P,E,0,xr,jx,Hx,L);break x}if(ax===0&&Vx===0&&_x===0&&zx<=lx){p1(function($0){return D0(P,[0,$0[1],[3,E,$0[2][1][2][1]]])},Hx);var M0=[0,[0,Yx,0,xr,L]];break x}if(lx===0){if(Vx===0&&_x===0&&zx<=ax){p1(function($0){return D0(P,[0,$0[1],[11,E,$0[2][1][2][1]]])},Hx);var M0=[1,[0,hr,0,xr,L]];break x}if(ax===0&&_x===0&&zx<=Vx){p1(function($0){return D0(P,[0,$0[1],[11,E,$0[2][1][2][1]]])},Hx);var M0=[4,[0,Y,0,xr,L]];break x}}D0(P,[0,j,[5,E]]);var M0=Lx(R)}var sx=M0}return sx},p);return[0,S,C,t0([0,y],0,R)]}]}function a3(x){return[0,Ls(x)]}function id(x,r,e){if(typeof e=="number")return[0,x,r];if(e[0]===0){var t=e[1],u=ix(x,t),i=e[2];return u===0?i===r?e:[0,t,r]:0<=u?[1,2,x,r,e,0]:[1,2,x,r,0,e]}var c=e[5],v=e[4],a=e[3],p=e[2],_=ix(x,p),y=e[1];if(_===0)return a===r?e:[1,y,x,r,v,c];if(0<=_){var S=id(x,r,c);return c===S?e:sB(v,p,a,S)}var E=id(x,r,v);return v===E?e:sB(E,p,a,c)}var dO=oB([0,function(x,r){var e=r[2],t=x[2],u=hB(x[1],r[1]);return u===0?k(dB,t,e):u}]);function s6(x,r,e){var t=e[2][1],u=e[1];return Sr(t,H0)?r:y1[3].call(null,t,r)?(D0(x,[0,u,[0,t]]),r):y1[4].call(null,t,r)}function yO(x){return function(r){var e=r[2];switch(e[0]){case 0:var t=e[1][1];return u1(function(i,c){var v=c[0]===0?c[1][2][2]:c[1][2][1];return yO(i)(v)},x,t);case 1:var u=e[1][1];return u1(function(i,c){if(c[0]===2)return i;var v=c[1][2][1];return yO(i)(v)},x,u);case 2:return[0,e[1][1],x];default:return gx(Rl0)}}}var z0=zq(Ll0,Fl0[1]);function fd(x,r,e){var t=x?x[1]:0,u=r?r[1]:0,i=fx(e),c=M(e);if(typeof c=="number")switch(c){case 103:var v=f0(e);return b0(e),[0,[0,i,[0,0,t0([0,v],0,R)]]];case 104:var a=f0(e);return b0(e),[0,[0,i,[0,1,t0([0,a],0,R)]]];case 126:if(t){var p=f0(e);return b0(e),[0,[0,i,[0,2,t0([0,p],0,R)]]]}break}else if(c[0]===4){var _=c[3];if(I(_,aa)){if(!I(_,Eg)&&u&&Hh(1,e)){var y=f0(e);return b0(e),[0,[0,i,[0,4,t0([0,y],0,R)]]]}}else if(u&&Hh(1,e)){var S=f0(e);b0(e);var E=M(e);x:{if(typeof E!="number"&&E[0]===4&&!I(E[3],Eg)){var j=fx(e);b0(e);var C=Zr(i,j),P=5;break x}var C=i,P=3}return[0,[0,C,[0,P,t0([0,S],0,R)]]]}}return 0}function jX(x,r,e,t,u){r===1&&Ot(u,76);var i=f0(u);b0(u);var c=xx(u);if(x)var v=t0([0,Fx(x[1],i)],[0,c],R),a=v,p=Bx(no0,t),_=-e;else var a=t0([0,i],[0,c],R),p=t,_=e;return[30,[0,_,p,a]]}function PX(x,r,e,t){var u=f0(t);b0(t);var i=xx(t);if(x)var c=t0([0,Fx(x[1],u)],[0,i],R),v=Bx(to0,e),a=c,p=v,_=eh(VP,r);else var a=t0([0,u],[0,i],R),p=e,_=r;return[31,[0,_,p,a]]}var Gr=function x(r){return x.fun(r)},o3=function x(r){return x.fun(r)},NX=function x(r){return x.fun(r)},OX=function x(r){return x.fun(r)},gO=function x(r,e,t){return x.fun(r,e,t)},cd=function x(r){return x.fun(r)},_O=function x(r,e,t,u){return x.fun(r,e,t,u)},bO=function x(r){return x.fun(r)},wO=function x(r,e,t,u){return x.fun(r,e,t,u)},TO=function x(r){return x.fun(r)},EO=function x(r,e){return x.fun(r,e)},sd=function x(r){return x.fun(r)},CX=function x(r){return x.fun(r)},ad=function x(r,e,t,u){return x.fun(r,e,t,u)},od=function x(r,e,t,u,i){return x.fun(r,e,t,u,i)},DX=function x(r){return x.fun(r)},RX=function x(r,e){return x.fun(r,e)},SO=function x(r){return x.fun(r)},FX=function x(r){return x.fun(r)},LX=function x(r){return x.fun(r)},MX=function x(r){return x.fun(r)},UX=function x(r){return x.fun(r)},vd=function x(r,e){return x.fun(r,e)},qX=function x(r){return x.fun(r)},BX=function x(r){return x.fun(r)},AO=function x(r){return x.fun(r)},a6=function x(r,e){return x.fun(r,e)},XX=function x(r){return x.fun(r)},Us=function x(r){return x.fun(r)},o6=function x(r){return x.fun(r)},JX=function x(r,e){return x.fun(r,e)},IO=function x(r){return x.fun(r)},KX=function x(r){return x.fun(r)},YX=function x(r){return x.fun(r)},zX=function x(r){return x.fun(r)},VX=function x(r){return x.fun(r)},v6=function x(r,e,t,u,i){return x.fun(r,e,t,u,i)},GX=function x(r){return x.fun(r)},jO=function x(r){return x.fun(r)},ld=function x(r){return x.fun(r)},PO=function x(r,e){return x.fun(r,e)},pd=function x(r,e,t,u){return x.fun(r,e,t,u)},NO=function x(r){return x.fun(r)},Aa=function x(r){return x.fun(r)},WX=function x(r){return x.fun(r)},Ia=function x(r){return x.fun(r)},kd=function x(r){return x.fun(r)},l6=function x(r){return x.fun(r)},OO=function x(r,e){return x.fun(r,e)},$X=function x(r,e){return x.fun(r,e)},HX=function x(r){return x.fun(r)},QX=function x(r){return x.fun(r)},md=function x(r){return x.fun(r)},ZX=function x(r,e,t){return x.fun(r,e,t)};m0(Gr,function(x){return l(OX,x)}),m0(o3,function(x){return 1-g2(x)&&Kx(x,S1),r0(0,function(r){return W(r,86),l(Gr,r)},x)}),m0(NX,function(x){1-g2(x)&&Kx(x,S1);var r=fx(x);return W(x,86),nd(x)?[2,k(PO,x,r)]:[1,r0([0,r],Gr,x)]}),m0(OX,function(x){var r=fx(x),e=fO(0,x);return B0(gO,e,r,l(cd,e))}),m0(gO,function(x,r,e){var t=M(x);return typeof t=="number"&&t===41?r0([0,r],function(u){W(u,41);var i=l(cd,fO(1,u));xd(u,85);var c=l(Gr,u);xd(u,86);var v=l(Gr,u);return[17,[0,e,i,c,v,t0(0,[0,xx(u)],R)]]},x):e}),m0(cd,function(x){var r=fx(x);if(M(x)===89){var e=f0(x);b0(x);var t=e}else var t=0;return St(_O,x,[0,t],r,l(bO,x))}),m0(_O,function(x,r,e,t){var u=r?r[1]:0;if(M(x)!==89)return t;var i=[0,t,0];return r0([0,e],function(c){for(var v=i;;){if(!f2(c,89)){var a=vx(v);if(a){var p=a[2];if(p){var _=p[2],y=p[1],S=a[1];return[22,[0,[0,S,y,_],t0([0,u],0,R)]]}}throw U0([0,Ar,eo0],1)}var v=[0,l(bO,c),v]}},x)}),m0(bO,function(x){var r=fx(x);if(M(x)===91){var e=f0(x);b0(x);var t=e}else var t=0;return St(wO,x,[0,t],r,l(TO,x))}),m0(wO,function(x,r,e,t){var u=r?r[1]:0;if(M(x)!==91)return t;var i=[0,t,0];return r0([0,e],function(c){for(var v=i;;){if(!f2(c,91)){var a=vx(v);if(a){var p=a[2];if(p){var _=p[2],y=p[1],S=a[1];return[23,[0,[0,S,y,_],t0([0,u],0,R)]]}}throw U0([0,Ar,ro0],1)}var v=[0,l(TO,c),v]}},x)}),m0(TO,function(x){return k(EO,x,l(sd,x))}),m0(EO,function(x,r){var e=M(x);if(typeof e=="number"&&e===11&&!x[15]){var t=k(a6,x,r);return I1(v6,1,x,t[1],0,[0,t[1],[0,0,[0,t,0],0,0]])}return r}),m0(sd,function(x){var r=M(x);return typeof r=="number"&&r===85?r0(0,function(e){var t=f0(e);W(e,85);var u=t0([0,t],0,R);return[11,[0,l(sd,e),u]]},x):l(CX,x)}),m0(CX,function(x){var r=fx(x);return St(ad,0,x,r,l(LX,x))}),m0(ad,function(x,r,e,t){var u=x?x[1]:0;if(K1(r))return t;var i=M(r);if(typeof i=="number"){if(i===6)return b0(r),I1(od,u,0,r,e,t);if(i===10){var c=vr(1,r);return typeof c=="number"&&c===6?(Kx(r,Za0),W(r,10),W(r,6),I1(od,u,0,r,e,t)):(Kx(r,xo0),t)}if(i===83)return b0(r),M(r)!==6&&Kx(r,41),W(r,6),I1(od,1,1,r,e,t)}return t}),m0(od,function(x,r,e,t,u){return St(ad,[0,x],e,t,r0([0,t],function(i){if(!r&&f2(i,7))return[16,[0,u,t0(0,[0,xx(i)],R)]];var c=l(Gr,i);W(i,7);var v=[0,u,c,t0(0,[0,xx(i)],R)];return x?[21,[0,v,r]]:[20,v]},e))}),m0(DX,function(x){return k(RX,x,k(z0[13],0,x))}),m0(RX,function(x,r){for(var e=[0,r[1],[0,r]];;){var t=e[2],u=e[1];if(M(x)===10&&kX(1,x)){var i=r0([0,u],function(a){return function(p){return W(p,10),[0,a,g1(p)]}}(t),x),c=i[1],e=[0,c,[1,[0,c,i[2]]]];continue}return t}}),m0(SO,function(x){if(L2(x,0),M(x)===4){b0(x);var r=l(SO,x);W(x,5);var e=r}else var e=Jc(x)?[0,l(DX,x)]:(Kx(x,46),0);return J2(x),e}),m0(FX,function(x){return r0(0,function(r){var e=f0(r);W(r,46);var t=l(SO,r);if(!t)return Qa0;var u=t[1],i=K1(r)?0:l(kd,r);return[24,[0,u,i,t0([0,e],0,R)]]},x)}),m0(LX,function(x){var r=fx(x),e=M(x);x:{r:{if(typeof e=="number")switch(e){case 4:return l(zX,x);case 6:return l(BX,x);case 46:return l(FX,x);case 53:return r0(0,function($){var x0=f0($);b0($);var e0=l(NO,$),Z=e0[2],c0=e0[1];return[15,[0,Z,c0,t0([0,x0],0,R)]]},x);case 98:return l(VX,x);case 104:return r0(0,MX,x);case 106:var t=f0(x);return b0(x),[0,r,[10,t0([0,t],[0,xx(x)],R)]];case 125:return r0(0,function($){var x0=f0($);b0($);var e0=xx($),Z=l(Gr,$);return[25,[0,Z,t0([0,x0],[0,e0],R)]]},x);case 126:return r0(0,function($){var x0=f0($);b0($);var e0=xx($),Z=l(Gr,$);return[27,[0,Z,t0([0,x0],[0,e0],R)]]},x);case 127:return r0(0,function($){var x0=f0($);b0($);var e0=xx($),Z=r0(0,function(c0){var d0=l(Aa,c0);function n0(P0){if(1-f2(P0,41))throw U0(Yc,1);var h0=l(cd,P0);if(!P0[16]&&M(P0)===85)throw U0(Yc,1);return[1,[0,h0[1],h0]]}return[0,d0,rd(c0,[0,fx(c0)],n0),1,0,0]},$);return[18,[0,Z,t0([0,x0],[0,e0],R)]]},x);case 0:case 2:var u=St(pd,0,1,1,x);return[0,u[1],[14,u[2]]];case 131:case 132:break r;case 41:case 42:break;case 30:case 31:var i=f0(x);return b0(x),[0,r,[32,[0,e===31?1:0,t0([0,i],[0,xx(x)],R)]]];default:break x}else switch(e[0]){case 2:var c=e[1],v=c[3],a=c[2],p=c[1];c[4]&&Ot(x,76);var _=f0(x);return b0(x),[0,p,[29,[0,a,v,t0([0,_],[0,xx(x)],R)]]];case 4:var y=e[3];if(I(y,ta)){if(I(y,wo)){if(!I(y,dr))break r}else if(x[28][1]){var S=vr(1,x);e:if(typeof S=="number"){if(S!==4&&S!==98)break e;return l(GX,x)}var E=l(l6,x);return[0,E[1],[19,E[2]]]}}else if(x[28][1])return r0(0,function($){var x0=f0($);Kc($,Ga0);var e0=Y1($,l(Ia,$)),Z=l(IO,$);if(lO($))var n0=kO($,l(md,$)),P0=Z;else var c0=l(md,$),d0=I2($)[2],n0=c0,P0=k(d0,Z,function(h0,g0){return k(Wx(h0,420776873,12),h0,g0)});return[13,[0,e0,P0,n0,t0([0,x0],0,R)]]},x);break;case 7:if(I(e[1],M3))break x;return Kx(x,84),[0,r,Wa0];case 12:var j=e[3],C=e[2],P=e[1],O=0;return r0(0,function($){return jX(O,P,C,j,$)},x);case 13:var F=e[3],K=e[2],U=0;return r0(0,function($){return PX(U,K,F,$)},x);default:break x}var V=l(l6,x);return[0,V[1],[19,V[2]]]}return r0(0,function($){return[26,l(AO,$)]},x)}var Q=l(qX,x);return Q?[0,r,Q[1]]:(_2($a0,x),[0,r,Ha0])}),m0(MX,function(x){var r=f0(x);b0(x);var e=M(x);if(typeof e!="number")switch(e[0]){case 12:return jX([0,r],e[1],e[2],e[3],x);case 13:return PX([0,r],e[2],e[3],x)}return _2(za0,x),Va0}),m0(UX,function(x){x:{if(typeof x=="number")switch(x){case 29:case 114:case 115:case 116:case 117:case 118:case 119:case 120:case 121:case 122:case 123:case 124:break;default:break x}else if(x[0]!==11)break x;return 1}return 0}),m0(vd,function(x,r){var e=f0(x),t=r0(0,b0,x)[1],u=t0([0,e],[0,xx(x)],R);return[0,[19,[0,[0,rn(0,[0,t,r])],0,u]]]}),m0(qX,function(x){var r=f0(x),e=M(x);if(typeof e=="number")switch(e){case 29:return b0(x),[0,[4,t0([0,r],[0,xx(x)],R)]];case 114:return b0(x),[0,[0,t0([0,r],[0,xx(x)],R)]];case 115:return b0(x),[0,[1,t0([0,r],[0,xx(x)],R)]];case 116:return b0(x),[0,[2,t0([0,r],[0,xx(x)],R)]];case 117:return b0(x),[0,[5,t0([0,r],[0,xx(x)],R)]];case 118:return b0(x),[0,[6,t0([0,r],[0,xx(x)],R)]];case 119:return b0(x),[0,[7,t0([0,r],[0,xx(x)],R)]];case 120:return b0(x),[0,[3,t0([0,r],[0,xx(x)],R)]];case 121:return b0(x),[0,[9,t0([0,r],[0,xx(x)],R)]];case 122:return b0(x),[0,[33,t0([0,r],[0,xx(x)],R)]];case 123:return b0(x),[0,[34,t0([0,r],[0,xx(x)],R)]];case 124:return b0(x),[0,[35,t0([0,r],[0,xx(x)],R)]];case 128:return k(vd,x,Ja0);case 129:return k(vd,x,Ka0);case 130:return k(vd,x,Ya0)}else if(e[0]===11){var t=e[1];b0(x);var u=xx(x),i=t?-883944824:737456202;return[0,[8,i,t0([0,r],[0,u],R)]]}return 0}),m0(BX,function(x){return r0(0,function(r){var e=f0(r);W(r,6);for(var t=Bo(0,r),u=0;;){var i=M(t);x:{r:if(typeof i=="number"){if(i!==7&&Dr!==i)break r;var _=[0,vx(u),0];break x}var c=r0(0,function(E){if(!f2(E,12)){var j=M(E);r:{if(typeof j=="number"&&(Ze===j||_t===j&&Ms(1,E))){var C=fd(0,0,E);break r}var C=0}var P=Jc(E),O=vr(1,E);if(P&&typeof O=="number"&&1>=O+hs>>>0){var F=g1(E),K=f2(E,85);return W(E,86),[0,[1,[0,F,l(Gr,E),C,K]]]}var U=C?1:0;return U&&Kx(E,45),[0,[0,l(Gr,E)]]}var V=M(E);r:if(typeof V=="number"){if(10<=V){if(Dr!==V)break r}else{if(7>V)break r;switch(V-7|0){case 0:break;case 1:break r;default:return _2(Xa0,E),b0(E),0}}return 0}var Q=Jc(E),$=vr(1,E);r:{if(Q&&typeof $=="number"&&1>=$+hs>>>0){var x0=g1(E);M(E)===85&&(Kx(E,44),b0(E)),W(E,86);var e0=[0,x0];break r}var e0=0}return[0,[2,[0,e0,l(Gr,E)]]]},t),v=c[2],a=c[1];if(v){var p=[0,[0,a,v[1]],u];M(t)!==7&&W(t,9);var u=p;continue}var _=[0,vx(u),1]}var y=_[2],S=_[1];return W(r,7),[28,[0,S,y,t0([0,e],[0,xx(r)],R)]]}},x)}),m0(AO,function(x){var r=f0(x),e=M(x);x:{if(typeof e=="number")switch(e){case 131:var t=1;break x;case 132:var t=2;break x}else if(e[0]===4&&!I(e[3],dr)){var t=0;break x}var t=gx(Ba0)}var u=fx(x);b0(x);var i=xx(x),c=l(sd,x);return[0,u,c,t0([0,r],[0,i],R),t]}),m0(a6,function(x,r){return[0,r[1],[0,0,r,0]]}),m0(XX,function(x){return r0(0,function(r){L2(r,0);var e=k(z0[13],0,r);J2(r),1-g2(r)&&Kx(r,S1);var t=f2(r,85);return W(r,86),[0,[0,e],l(Gr,r),t]},x)});function xJ(x){var r=vr(1,x);return typeof r=="number"&&1>=r+hs>>>0?l(XX,x):k(a6,x,l(Gr,x))}function lw0(x,r,e){for(var t=r,u=e;;){var i=M(x);x:if(typeof i=="number")switch(i){case 5:case 12:case 113:var c=i===12?[0,r0(0,function(S){var E=f0(S);W(S,12);var j=t0([0,E],0,R);return[0,xJ(S),j]},x)]:0;return[0,t,vx(u),c,0]}else if(i[0]===4&&!I(i[3],uo)){if(vr(1,x)!==86&&vr(1,x)!==85)break x;var v=t!==0?1:0,a=v||(u!==0?1:0);a&&Kx(x,89);var p=r0(0,function(E){var j=f0(E);b0(E),M(E)===85&&Kx(E,88);var C=t0([0,j],0,R);return[0,l(o3,E),C]},x);M(x)!==5&&W(x,9);var t=[0,p];continue}var _=[0,xJ(x),u];M(x)!==5&&W(x,9);var u=_}}m0(Us,function(x){var r=0;return function(e){return lw0(x,r,e)}}),m0(o6,function(x){return r0(0,function(r){var e=f0(r);W(r,4);var t=k(Us,r,0),u=f0(r);W(r,5);var i=F2([0,e],[0,xx(r)],u,R);return[0,t[1],t[2],t[3],i]},x)}),m0(JX,function(x,r){for(var e=r;;){var t=M(x);x:if(typeof t=="number"){var u=t-5|0;if(7>>0){if(R7!==u)break x}else if(5>=u-1>>>0)break x;var i=t===12?[0,r0(0,function(a){var p=f0(a);W(a,12);var _=vr(1,a);r:{if(typeof _=="number"){if(_===85){L2(a,0);var y=k(z0[13],0,a);J2(a),W(a,85),W(a,86);var E=1,j=[0,y];break r}if(_===86){L2(a,0);var S=k(z0[13],0,a);J2(a),W(a,86);var E=0,j=[0,S];break r}}var E=0,j=0}var C=l(Gr,a);return[0,j,C,E,t0([0,p],0,R)]},x)]:0;return[0,vx(e),i,0]}var c=[0,r0(0,function(a){var p=M(a);x:{if(typeof p!="number"&&p[0]===2){var _=p[1],y=_[4],S=_[3],E=_[2],j=_[1];y&&Ot(a,76),W(a,[2,[0,j,E,S,y]]);var P=[1,[0,j,[0,E,S,t0(0,[0,xx(a)],R)]]];break x}L2(a,0);var C=k(z0[13],0,a);J2(a);var P=[0,C]}var O=f2(a,85);return[0,P,l(o3,a),O]},x),e];M(x)!==5&&W(x,9);var e=c}}),m0(IO,function(x){return r0(0,function(r){var e=f0(r);W(r,4);var t=k(JX,r,0),u=f0(r);W(r,5);var i=F2([0,e],[0,xx(r)],u,R);return[0,t[1],t[2],i]},x)}),m0(KX,function(x){var r=f0(x);W(x,4);var e=Bo(0,x),t=M(e);x:{r:{if(typeof t=="number")switch(t){case 5:var _=qa0;break x;case 131:var u=vr(1,e);e:{if(typeof u=="number"&&u===86){var i=[0,k(Us,e,0)];break e}var i=[1,l(Gr,e)]}var _=i;break x;case 42:break;case 12:case 113:var _=[0,k(Us,e,0)];break x;default:break r}else{if(t[0]!==4)break r;if(!I(t[3],dr)){var c=vr(1,e);e:{if(typeof c=="number"&&1>=c+hs>>>0){var v=[0,k(Us,e,0)];break e}var v=[1,l(Gr,e)]}var _=v;break x}}var _=l(YX,e);break x}if(l(UX,t)){var a=vr(1,e);r:{if(typeof a=="number"&&1>=a+hs>>>0){var p=[0,k(Us,e,0)];break r}var p=[1,l(Gr,e)]}var _=p}else var _=[1,l(Gr,e)]}if(_[0]===0)var y=_;else{var S=_[1];if(x[15])var E=_;else{var j=M(x);x:{if(typeof j=="number"){if(j===5){if(vr(1,x)===11){var C=[0,k(Us,x,[0,k(a6,x,S),0])];break x}var C=[1,S];break x}if(j===9){W(x,9);var C=[0,k(Us,x,[0,k(a6,x,S),0])];break x}}var C=_}var E=C}var y=E}var P=f0(x);W(x,5);var O=xx(x);if(y[0]===0)var F=y[1],K=F2([0,r],[0,O],P,R),U=[0,[0,F[1],F[2],F[3],K]];else var U=[1,B0(ZX,y[1],r,O)];return U}),m0(YX,function(x){var r=vr(1,x);if(typeof r=="number"&&1>=r+hs>>>0)return[0,k(Us,x,0)];var e=fx(x),t=k($X,x,l(Aa,x)),u=l(B0(ad,0,x,e),t),i=l(l(EO,x),u),c=l(k(l(wO,x),0,e),i),v=l(k(l(_O,x),0,e),c);return[1,l(k(gO,fO(0,x),e),v)]}),m0(zX,function(x){var r=fx(x),e=r0(0,KX,x),t=e[2],u=e[1];return t[0]===0?I1(v6,1,x,r,0,[0,u,t[1]]):t[1]}),m0(VX,function(x){var r=fx(x),e=Y1(x,l(Ia,x));return I1(v6,1,x,r,e,l(o6,x))}),m0(v6,function(x,r,e,t,u){return r0([0,e],function(i){return W(i,11),[12,[0,t,u,l(jO,i),0,x]]},r)}),m0(GX,function(x){var r=fx(x);b0(x);var e=Y1(x,l(Ia,x));return I1(v6,0,x,r,e,l(o6,x))}),m0(jO,function(x){return nd(x)?[1,l(ld,x)]:[0,l(Gr,x)]}),m0(ld,function(x){function r(e){var t=f0(e);W(e,y2);var u=Fx(t,f0(e));return[0,[0,l(Gr,e)],u]}return r0(0,function(e){var t=f0(e),u=f2(e,dl)?1:f2(e,kl)?2:0;L2(e,0);var i=g1(e);J2(e);x:if(u===2)var c=r(e),v=c[2],a=c[1];else{var p=M(e);if(typeof p=="number"&&y2===p){var _=r(e),v=_[2],a=_[1];break x}var v=0,a=0}return[0,u,[0,i,a],F2([0,t],0,v,R)]},x)}),m0(PO,function(x,r){return r0([0,r],ld,x)});function hd(x,r,e){return r0([0,r],function(t){var u=l(o6,t);return W(t,86),[0,e,u,l(jO,t),0,1]},x)}function rJ(x,r,e,t,u){var i=nn(x,t),c=hd(x,r,Y1(x,l(Ia,x))),v=[0,c[1],[12,c[2]]],a=[0,i,[0,v],0,e!==0?1:0,0,1,0,t0([0,u],0,R)];return[0,[0,v[1],a]]}function dd(x,r,e,t,u,i,c){var v=c[2],a=c[1];return 1-g2(x)&&Kx(x,S1),[0,r0([0,r],function(p){var _=f2(p,85),y=dX(p,86)?l(Gr,p):[0,a,Ua0];return[0,v,[0,y],_,t!==0?1:0,u!==0?1:0,0,e,t0([0,i],0,R)]},x)]}function p6(x,r){var e=M(r);if(typeof e=="number"&&10>e)switch(e){case 1:if(!x)return;break;case 3:if(x)return;break;case 8:case 9:return b0(r)}return tn(r,9)}function k6(x,r){if(r)return D0(x,[0,r[1][1],$f])}function m6(x,r){if(r)return D0(x,[0,r[1],94])}function pw0(x,r,e,t,u,i,c,v,a){for(var p=e,_=t,y=u,S=i,E=c,j=v;;){var C=M(x);if(typeof C=="number")switch(C){case 6:m6(x,E);var P=vr(1,x);if(typeof P=="number"&&P===6)return k6(x,y),[4,r0([0,a],function(B){var G0=Fx(j,f0(B));W(B,6),W(B,6);var W0=g1(B);W(B,7),W(B,7);var Y0=M(B);x:{r:if(typeof Y0=="number"){if(Y0!==4&&Y0!==98)break r;var V0=hd(B,a,Y1(B,l(Ia,B))),S0=0,q0=[0,V0[1],[12,V0[2]]],yx=1,cx=0;break x}var ex=f2(B,85),Q0=xx(B);W(B,86);var S0=Q0,q0=l(Gr,B),yx=0,cx=ex}return[0,W0,q0,cx,S!==0?1:0,yx,t0([0,G0],[0,S0],R)]},x)];var O=Fx(j,f0(x));W(x,6);var F=vr(1,x);return typeof F!="number"&&F[0]===4&&!I(F[3],aa)&&S===0?[5,r0([0,a],function(B){var G0=l(Aa,B),W0=G0[1];b0(B);var Y0=l(Gr,B);W(B,7);var V0=M(B);x:{r:{var ex=[0,G0,[0,W0],0,0,0];if(typeof V0=="number"){var Q0=V0+LA|0;if(1>>0){if(Q0!==-18)break r;b0(B);var S0=2}else var S0=Q0?(b0(B),W(B,85),1):(b0(B),W(B,85),0);var q0=S0;break x}}var q0=3}W(B,86);var yx=l(Gr,B);return[0,[0,W0,ex],yx,Y0,y,q0,t0([0,O],[0,xx(B)],R)]},x)]:[2,r0([0,a],function(B){if(vr(1,B)===86){var G0=g1(B);W(B,86);var W0=[0,G0]}else var W0=0;var Y0=l(Gr,B);W(B,7);var V0=xx(B);W(B,86);var ex=l(Gr,B);return[0,W0,Y0,ex,S!==0?1:0,y,t0([0,O],[0,V0],R)]},x)];case 42:if(p){if(y!==0)throw U0([0,Ar,Oa0],1);var K=[0,fx(x)],U=Fx(j,f0(x));b0(x);var p=0,_=0,S=K,j=U;continue}break;case 126:if(y===0){if(!Ms(1,x)&&vr(1,x)!==6)break;var p=0,_=0,y=fd(Ca0,0,x);continue}break;case 103:case 104:if(y===0){var p=0,_=0,y=fd(0,0,x);continue}break;case 4:case 98:return m6(x,E),k6(x,y),[3,r0([0,a],function(B){var G0=fx(B),W0=hd(B,G0,Y1(B,l(Ia,B)));return[0,W0,S!==0?1:0,t0([0,j],0,R)]},x)]}else if(C[0]===4&&!I(C[3],Rj)&&_){if(y!==0)throw U0([0,Ar,Da0],1);var V=[0,fx(x)],Q=Fx(j,f0(x));b0(x);var p=0,_=0,E=V,j=Q;continue}if(S){var $=S[1];if(E)return gx(Ra0);if(typeof C=="number"&&1>=C+hs>>>0)return dd(x,a,y,0,E,0,[0,$,[3,rn(t0([0,j],0,R),[0,$,Fa0])]])}else if(E){var x0=E[1];if(typeof C=="number"&&1>=C+hs>>>0)return dd(x,a,y,S,0,0,[0,x0,[3,rn(t0([0,j],0,R),[0,x0,La0])]])}var e0=function(B){L2(B,0);var G0=k(z0[20],0,B);return J2(B),G0},Z=f0(x),c0=e0(x),d0=c0[1],n0=c0[2];x:if(n0[0]===3){var P0=n0[1][2][1];if(I(P0,bo)&&I(P0,Dv))break x;var h0=M(x);if(typeof h0=="number"){var g0=h0-5|0;if(92>>0){if(94>=g0+1>>>0)return m6(x,E),k6(x,y),rJ(x,a,S,n0,j)}else if(1>=g0+ZR>>>0)return dd(x,a,y,S,E,j,[0,d0,n0])}nn(x,n0);var v0=e0(x),p0=Sr(P0,bo),w0=Fx(j,Z);return m6(x,E),k6(x,y),[0,r0([0,a],function(B){var G0=v0[1],W0=nn(B,v0[2]),Y0=hd(B,a,0),V0=Y0[2][2];r:if(p0){var ex=V0[2];e:{if(!ex[1]){if(!ex[2]&&!ex[3])break e;D0(B,[0,G0,23]);break r}D0(B,[0,G0,24])}}else{var Q0=V0[2];if(Q0[1])D0(B,[0,G0,66]);else{var S0=Q0[2];e:{if(!Q0[3]){if(S0&&!S0[2])break e;D0(B,[0,G0,65]);break r}D0(B,[0,G0,65])}}}var q0=t0([0,w0],0,R),yx=0,cx=0,Dx=0,Ix=S!==0?1:0,Xx=0,Z0=p0?[1,Y0]:[2,Y0];return[0,W0,Z0,Xx,Ix,Dx,cx,yx,q0]},x)]}var T0=c0[2],E0=M(x);x:if(typeof E0=="number"){if(E0!==4&&E0!==98)break x;return m6(x,E),k6(x,y),rJ(x,a,S,T0,j)}var N0=S!==0?1:0;x:if(T0[0]===3){var X0=T0[1],A0=X0[2][1];r:{var rx=X0[1];if(r){if(!Sr(ho,A0)&&(!N0||!Sr(sa,A0)))break r;D0(x,[0,rx,[15,A0,N0,0,0]]);break x}}}return dd(x,a,y,S,E,j,[0,d0,T0])}}m0(pd,function(x,r,e,t){var u=r&&(M(t)===2?1:0),i=r&&1-u;return r0(0,function(c){var v=f0(c),a=u?2:0;W(c,a);var p=Bo(0,c);x:{r:{e:{t:{n:{var _=Ma0;u:for(;;){var y=_[3],S=_[2],E=_[1];if(x&&e)throw U0([0,Ar,Pa0],1);if(i&&!e)throw U0([0,Ar,Na0],1);var j=fx(p),C=M(p);if(typeof C=="number"){if(13<=C){if(Dr===C)break r}else if(C)switch(C-1|0){case 0:if(!u)break e;break;case 2:if(u)break t;break;case 11:if(!e){b0(p);var P=M(p);if(typeof P=="number"&&10>P)switch(P){case 1:case 3:case 8:case 9:D0(p,[0,j,32]),p6(u,p);continue}var O=oO(p);sO(p)(O),D0(p,[0,j,97]),b0(p),p6(u,p);continue}var F=f0(p);b0(p);var K=M(p);if(typeof K=="number"&&10>K)switch(K){case 1:case 3:case 8:case 9:p6(u,p);var U=M(p);if(typeof U=="number"){var V=U-1|0;if(2>=V>>>0)switch(V){case 0:if(i)break n;break;case 1:break;default:break u}}D0(p,[0,j,92]);continue}var Q=[1,r0([0,j],function(T0){return function(E0){var N0=t0([0,T0],0,R);return[0,l(Gr,E0),N0]}}(F),p)];p6(u,p);var _=[0,[0,Q,E],S,y];continue}}var $=pw0(p,x,x,x,0,0,0,0,j);p6(u,p);var _=[0,[0,$,E],S,y]}D0(p,[0,j,31]);var x0=[0,vx(E),S,y];break x}var x0=[0,vx(E),1,F];break x}var x0=[0,vx(E),S,y];break x}var x0=[0,vx(E),S,y];break x}var x0=[0,vx(E),S,y]}var e0=x0[3],Z=x0[2],c0=x0[1],d0=Fx(e0,f0(c)),n0=u?3:1;return W(c,n0),[0,u,Z,c0,F2([0,v],[0,xx(c)],d0,R)]},t)}),m0(NO,function(x){if(f2(x,41))for(var r=0;;){var e=[0,l(l6,x),r],t=M(x);if(typeof t=="number"&&t===9){W(x,9);var r=e;continue}var u=bX(x,vx(e));break}else var u=0;return[0,u,St(pd,0,0,0,x)]}),m0(Aa,function(x){var r=g1(x),e=r[2],t=e[1],u=r[1],i=e[2];return aO(t)&&D0(x,[0,u,96]),[0,u,[0,t,i]]}),m0(WX,function(x){return r0(0,function(r){var e=l(Aa,r),t=M(r);x:{if(typeof t=="number"){if(t===41){var u=1,i=u,c=[1,r0(0,function(p){return b0(p),l(Gr,p)},r)];break x}if(t===86){var i=0,c=[1,l(o3,r)];break x}}var i=0,c=[0,Ls(r)]}return[0,e,c,i]},x)});function eJ(x,r){var e=vX(x,r);if(e)var t=e;else{x:{if(typeof r=="number"&&1>=r+LA>>>0){var u=1;break x}var u=0}if(!u){x:{if(typeof r=="number")switch(r){case 15:case 29:case 30:case 31:case 41:case 42:case 46:case 53:case 114:case 115:case 116:case 117:case 118:case 119:case 120:case 121:case 122:case 123:case 124:case 125:case 126:break;default:break x}else switch(r[0]){case 4:if(aO(r[3]))return 1;break x;case 11:break;default:break x}return 1}return 0}var t=u}return t}m0(Ia,function(x){if(M(x)!==98)return 0;1-g2(x)&&Kx(x,S1);var r=r0(0,function(t){var u=f0(t);W(t,98);for(var i=0,c=0;;){if(eJ(t,M(t)))var v=mO(0,function(O){return function(F){var K=fd(0,ja0,F),U=l(WX,F),V=U[2],Q=V[3],$=V[2],x0=V[1],e0=U[1],Z=M(F);x:{if(typeof Z=="number"&&Z===82){b0(F);var c0=1,d0=[0,l(Gr,F)];break x}O&&D0(F,[0,e0,52]);var c0=O,d0=0}return[0,[0,x0,$,Q,K,d0],c0]}}(i),t),a=v[2],p=[0,v[1],c];else var a=i,p=c;var _=M(t);x:{if(typeof _=="number"){var y=_+TM|0;if(14>>0){if(y===-90){b0(t);var i=a,c=p;continue}}else if(12>>0){var C=vx(p);break x}}r:{e:{t:{if(typeof _!="number"){if(_[0]!==4)break e;var S=_[3];if(!$h(S)){n:{if(I(S,_o)&&I(S,M1)){var E=0;break n}var E=1}if(!E){if(I(S,sl)){if(!I(S,lo))break t;if(I(S,qu))break e;break t}if(!t[28][2])break e;var j=1;break r}}var j=1;break r}switch(_){case 4:case 82:break;default:break e}}var j=1;break r}var j=0}if(!j){if(eJ(t,_)){tn(t,9);var i=a,c=p;continue}W(t,9);var i=a,c=p;continue}tn(t,99);var C=vx(p)}var P=f0(t);return xd(t,99),[0,C,F2([0,u],[0,xx(t)],P,R)]}},x),e=r[1];return r[2][1]||D0(x,[0,e,51]),[0,r]}),m0(kd,function(x){return M(x)===98?[0,r0(0,function(r){var e=f0(r);W(r,98);for(var t=Bo(0,r),u=0;;){var i=M(t);x:if(typeof i=="number"){if(i!==99&&Dr!==i)break x;var c=vx(u),v=f0(t);return W(t,99),[0,c,F2([0,e],[0,xx(t)],v,R)]}var a=[0,l(Gr,t),u];M(t)!==99&&W(t,9);var u=a}},x)]:0}),m0(l6,function(x){return k(OO,x,l(Aa,x))}),m0(OO,function(x,r){function e(t){for(var u=[0,r[1],[0,r]];;){var i=u[2],c=u[1];if(M(t)===10&&Hh(1,t)){var v=r0([0,c],function(S){return function(E){return W(E,10),[0,S,l(Aa,E)]}}(i),t),a=v[1],u=[0,a,[1,[0,a,v[2]]]];continue}if(M(t)===98)var p=I2(t)[2],_=k(p,i,function(y,S){return k(Wx(y,-860373976,61),y,S)});else var _=i;return[0,_,l(kd,t),0]}}return r0([0,r[1]],e,x)}),m0($X,function(x,r){var e=k(OO,x,r);return[0,e[1],[19,e[2]]]}),m0(HX,function(x){var r=M(x);return typeof r=="number"&&r===86?l(NX,x):[0,Ls(x)]}),m0(QX,function(x){var r=M(x);return typeof r=="number"&&r===86?[1,l(o3,x)]:[0,Ls(x)]}),m0(md,function(x){var r=M(x);x:{if(typeof r=="number")switch(r){case 86:var e=fx(x);1-g2(x)&&Kx(x,S1),Kx(x,34),b0(x);var t=r0(0,Gr,x);return[1,t[1],[0,e,t[2],0,0]];case 131:case 132:break;default:break x}else if(r[0]!==4||I(r[3],dr))break x;1-g2(x)&&Kx(x,S1);var u=r0([0,fx(x)],AO,x);return[1,u[1],u[2]]}return[0,Ls(x)]}),m0(ZX,function(x,r,e){var t=x[2],u=x[1];function i(rr){return N1(rr,t0([0,r],[0,e],R))}switch(t[0]){case 0:var Z0=[0,i(t[1])];break;case 1:var Z0=[1,i(t[1])];break;case 2:var Z0=[2,i(t[1])];break;case 3:var Z0=[3,i(t[1])];break;case 4:var Z0=[4,i(t[1])];break;case 5:var Z0=[5,i(t[1])];break;case 6:var Z0=[6,i(t[1])];break;case 7:var Z0=[7,i(t[1])];break;case 8:var c=i(t[2]),Z0=[8,t[1],c];break;case 9:var Z0=[9,i(t[1])];break;case 10:var Z0=[10,i(t[1])];break;case 11:var v=t[1],a=i(v[2]),Z0=[11,[0,v[1],a]];break;case 12:var p=t[1],_=p[5],y=i(p[4]),Z0=[12,[0,p[1],p[2],p[3],y,_]];break;case 13:var S=t[1],E=i(S[4]),Z0=[13,[0,S[1],S[2],S[3],E]];break;case 14:var j=t[1],C=j[4],P=YN(C,t0([0,r],[0,e],R)),Z0=[14,[0,j[1],j[2],j[3],P]];break;case 15:var O=t[1],F=i(O[3]),Z0=[15,[0,O[1],O[2],F]];break;case 16:var K=t[1],U=i(K[2]),Z0=[16,[0,K[1],U]];break;case 17:var V=t[1],Q=i(V[5]),Z0=[17,[0,V[1],V[2],V[3],V[4],Q]];break;case 18:var $=t[1],x0=i($[2]),Z0=[18,[0,$[1],x0]];break;case 19:var e0=t[1],Z=i(e0[3]),Z0=[19,[0,e0[1],e0[2],Z]];break;case 20:var c0=t[1],d0=i(c0[3]),Z0=[20,[0,c0[1],c0[2],d0]];break;case 21:var n0=t[1],P0=n0[1],h0=n0[2],g0=i(P0[3]),Z0=[21,[0,[0,P0[1],P0[2],g0],h0]];break;case 22:var v0=t[1],p0=i(v0[2]),Z0=[22,[0,v0[1],p0]];break;case 23:var w0=t[1],T0=i(w0[2]),Z0=[23,[0,w0[1],T0]];break;case 24:var E0=t[1],N0=i(E0[3]),Z0=[24,[0,E0[1],E0[2],N0]];break;case 25:var X0=t[1],A0=i(X0[2]),Z0=[25,[0,X0[1],A0]];break;case 26:var rx=t[1],B=rx[4],G0=i(rx[3]),Z0=[26,[0,rx[1],rx[2],G0,B]];break;case 27:var W0=t[1],Y0=i(W0[2]),Z0=[27,[0,W0[1],Y0]];break;case 28:var V0=t[1],ex=i(V0[3]),Z0=[28,[0,V0[1],V0[2],ex]];break;case 29:var Q0=t[1],S0=i(Q0[3]),Z0=[29,[0,Q0[1],Q0[2],S0]];break;case 30:var q0=t[1],yx=i(q0[3]),Z0=[30,[0,q0[1],q0[2],yx]];break;case 31:var cx=t[1],Dx=i(cx[3]),Z0=[31,[0,cx[1],cx[2],Dx]];break;case 32:var Ix=t[1],Xx=i(Ix[2]),Z0=[32,[0,Ix[1],Xx]];break;case 33:var Z0=[33,i(t[1])];break;case 34:var Z0=[34,i(t[1])];break;default:var Z0=[35,i(t[1])]}return[0,u,Z0]});function tJ(x,r){if(M(x)!==4)return[0,0,t0([0,r],[0,xx(x)],R)];var e=Fx(r,f0(x));W(x,4),L2(x,0);var t=l(z0[9],x);return J2(x),W(x,5),[0,[0,t],t0([0,e],[0,xx(x)],R)]}function kw0(x){var r=f0(x);return W(x,66),tJ(x,r)}var mw0=0;function nJ(x){var r=Bo(0,x),e=M(r);return typeof e=="number"&&e===66?[0,r0(mw0,kw0,r)]:0}function hw0(x){var r=M(x);if(typeof r=="number"&&r===86){1-g2(x)&&Kx(x,S1);var e=Ls(x),t=fx(x);W(x,86);var u=M(x);if(typeof u=="number"&&u===66){var i=Bo(0,x);return[0,[0,e],[0,r0([0,t],function(a){var p=f0(a);return W(a,66),tJ(a,p)},i)]]}if(nd(x))return[0,[2,k(PO,x,t)],0];var c=[1,r0([0,t],Gr,x)],v=M(x)===66?s3(x,c):c;return[0,v,nJ(x)]}return[0,[0,Ls(x)],0]}function ve(x,r){var e=Fs(1,r);L2(e,1);var t=l(x,e);return J2(e),t}function qs(x){return ve(Gr,x)}function zc(x){return ve(Aa,x)}function De(x){return ve(Ia,x)}function uJ(x){return ve(kd,x)}function Yo(x){return ve(o3,x)}function CO(x){return ve(QX,x)}function DO(x){return ve(HX,x)}function RO(x){return ve(hw0,x)}function iJ(x){return ve(l6,x)}function FO(x){return ve(md,x)}var dw0=IX(z0);function ja(x,r){var e=r[2],t=r[1],u=x[1];switch(e[0]){case 0:return u1(yw0,x,e[1][1]);case 1:return u1(gw0,x,e[1][1]);case 2:var i=e[1][1],c=i[2][1],v=x[2],a=x[1],p=i[1];y1[3].call(null,c,v)&&D0(a,[0,p,77]);var _=i[2][1],y=i[1];return Xo(_)&&ct(a,[0,y,78]),i3(_)&&ct(a,[0,y,80]),[0,a,y1[4].call(null,c,v)];default:return D0(u,[0,t,20]),x}}function yw0(x){return function(r){return r[0]===0?ja(x,r[1][2][2]):ja(x,r[1][2][1])}}function gw0(x){return function(r){switch(r[0]){case 0:return ja(x,r[1][2][1]);case 1:return ja(x,r[1][2][1]);default:return x}}}function fJ(x,r){var e=r[2],t=e[3],u=e[2],i=[0,x,y1[1]],c=u1(function(v,a){return ja(v,a[2][1])},i,u);t&&ja(c,t[1][2][1])}function cJ(x,r,e,t){var u=x[5],i=t[0]===0?Ko(t[1]):0,c=Fs(u?0:r,x),v=r||u||1-i;if(!v)return v;if(e){var a=e[1],p=a[2][1],_=a[1];Xo(p)&&ct(c,[0,_,70]),i3(p)&&ct(c,[0,_,80])}if(t[0]===0)return fJ(c,t[1]);var y=t[1][2],S=y[2],E=y[1],j=[0,Yv,[0,[0,xn(function(P){var O=P[2],F=O[1],K=O[4],U=O[3],V=O[2],Q=F[0]===0?[3,F[1]]:[0,[0,Yv,F[1][2]]];return[0,[0,Yv,[0,Q,V,U,K]]]},E),[0,Yv],0]]],C=ja([0,c,y1[1]],j);S&&ja(C,S[1][2][1])}function v3(x,r,e,t){return cJ(x,r,e,[0,t])}function sJ(x,r){if(r!==12)return 0;var e=f0(x),t=r0(0,function(c){return W(c,12),k(z0[18],c,78)},x),u=t[2],i=t[1];return[0,[0,i,u,t0([0,e],0,R)]]}var LO=function x(r,e){return x.fun(r,e)};function _w0(x){M(x)===21&&Kx(x,89);var r=k(z0[18],x,78),e=M(x)===82?(W(x,82),[0,l(z0[10],x)]):0;return[0,r,e]}var bw0=0;m0(LO,function(x,r){var e=M(x);x:if(typeof e=="number"){var t=e-5|0;if(7>>0){if(R7!==t)break x}else if(5>=t-1>>>0)break x;var u=sJ(x,e),i=eh(function(v){return[0,v[1],[0,v[2],v[3]]]},u);return M(x)!==5&&Kx(x,61),[0,vx(r),i]}var c=r0(bw0,_w0,x);return M(x)!==5&&W(x,9),k(LO,x,[0,c,r])});function l3(x,r){function e(u){var i=uX(1,nO(r,uO(x,u))),c=f0(i);W(i,4);x:{if(g2(i)&&M(i)===21){var v=f0(i),a=r0(0,function(F){return W(F,21),M(F)===86?[0,Yo(F)]:(Kx(F,85),0)},i),p=a[2],_=a[1];if(!p){var S=0;break x}var y=p[1];M(i)===9&&b0(i);var S=[0,[0,_,[0,y,t0([0,v],0,R)]]];break x}var S=0}var E=k(LO,i,0),j=E[2],C=E[1],P=f0(i);return W(i,5),[0,S,C,j,F2([0,c],[0,xx(i)],P,R)]}var t=0;return function(u){return r0(t,e,u)}}function aJ(x,r,e,t,u){var i=oX(x,r,e,u);return k(z0[16],t,i)}function h6(x,r,e,t,u){var i=aJ(x,r,e,t,u);return[0,[0,i[1]],i[2]]}function ww0(x,r,e,t){var u=fx(x),i=M(x);x:{if(typeof i=="number")switch(i){case 103:var c=f0(x);b0(x);var p=[0,[0,u,[0,0,t0([0,c],0,R)]]];break x;case 104:var v=f0(x);b0(x);var p=[0,[0,u,[0,1,t0([0,v],0,R)]]];break x}else if(i[0]===4&&!I(i[3],ko)&&r){var a=f0(x);b0(x);var p=[0,[0,u,[0,2,t0([0,a],0,R)]]];break x}var p=0}x:if(p){var _=p[1][1];if(!e&&!t)break x;return D0(x,[0,_,$f]),0}return p}function zo(x){if(z2!==M(x))return Pv0;var r=f0(x);return b0(x),[0,1,r]}function yd(x){if(M(x)===64&&!t6(1,x)){var r=f0(x);return b0(x),[0,1,r]}return jv0}function Tw0(x){var r=yd(x),e=r[1],t=r[2],u=r0(0,function(O){var F=f0(O),K=M(O);x:{if(typeof K=="number"){if(K===15){b0(O);var U=zo(O),Q=U[2],$=U[1],x0=1;break x}}else if(K[0]===4&&!I(K[3],wo)&&!e){b0(O);var Q=0,$=0,x0=0;break x}tn(O,K);var V=zo(O),Q=V[2],$=V[1],x0=1}var e0=Rl([0,t,[0,F,[0,Q,0]]]),Z=O[7],c0=M(O);x:{if(Z&&typeof c0=="number"){if(c0===4){var h0=0,g0=0;break x}if(c0===98){var d0=Y1(O,De(O)),n0=M(O)===4?0:[0,Ct(O,k(z0[13],Ev0,O))],h0=n0,g0=d0;break x}}var P0=Jc(O)?Ct(O,k(z0[13],Sv0,O)):(hX(O,Av0),[0,fx(O),Iv0]),h0=[0,P0],g0=Y1(O,De(O))}var v0=l3(e,$)(O),p0=M(O)===86?v0:f6(O,v0),w0=RO(O),T0=w0[2],E0=w0[1];if(T0)var N0=_X(O,T0),X0=E0;else var N0=T0,X0=s3(O,E0);return[0,$,x0,g0,h0,p0,X0,N0,e0]},x),i=u[2],c=i[5],v=i[4],a=i[1],p=i[8],_=i[7],y=i[6],S=i[3],E=i[2],j=u[1],C=h6(x,e,a,0,Ko(c)),P=C[1];return v3(x,C[2],v,c),[27,[0,v,c,P,e,a,E,_,y,S,t0([0,p],0,R),j]]}var Ew0=0;function d6(x){return r0(Ew0,Tw0,x)}function MO(x,r){var e=f0(r);W(r,x);var t=r[28][2];if(t)var u=x===27?1:0,i=u&&(M(r)===48?1:0);else var i=t;i&&Kx(r,19);for(var c=0,v=0;;){var a=r0(0,function(P){var O=k(z0[18],P,81);if(f2(P,82))var F=0,K=[0,l(z0[10],P)];else{var U=O[1];if(O[2][0]===2)var F=0,K=0;else var F=[0,[0,U,58]],K=0}return[0,[0,O,K],F]},r),p=a[2],_=p[2],y=[0,[0,a[1],p[1]],c],S=_?[0,_[1],v]:v;if(!f2(r,9)){var E=vx(S);return[0,vx(y),e,E]}var c=y,v=S}}var Sw0=24;function oJ(x){return MO(Sw0,x)}function vJ(x){var r=MO(27,iO(1,x)),e=r[1],t=r[3],u=r[2];return[0,e,u,vx(u1(function(i,c){return c[2][2]?i:[0,[0,c[1],57],i]},t,e))]}function lJ(x){return MO(28,iO(1,x))}function pJ(x){function r(t){return[20,dw0[1].call(null,x,t)]}var e=0;return function(t){return r0(e,r,t)}}var UO=function x(r,e){return x.fun(r,e)};function Aw0(x){var r=f0(x),e=M(x),t=vr(1,x);x:{r:if(typeof e!="number"&&e[0]===2){var u=e[1],i=u[4],c=u[3],v=u[2],a=u[1];e:{if(typeof t=="number")switch(t){case 85:case 86:break;default:break e}else{if(t[0]!==4)break e;if(I(t[3],Jt))break r}i&&Ot(x,76),W(x,[2,[0,a,v,c,i]]);var p=[1,[0,a,[0,v,c,t0([0,r],[0,xx(x)],R)]]];if(typeof t=="number"&&1>=t+hs>>>0){var _=t===85?1:0;Kx(x,[16,_,v]),_&&b0(x);var y=fx(x),C=0,P=[0,y,[2,[0,[0,y,wv0],CO(x),_]]],O=p;break x}b0(x);var C=0,P=k(z0[18],x,78),O=p;break x}}if(typeof t!="number"&&t[0]===4&&!I(t[3],Jt)){var S=[0,g1(x)];Kc(x,Tv0);var C=0,P=k(z0[18],x,78),O=S;break x}var E=B0(z0[14],x,0,78),j=E[2],C=1,P=[0,E[1],[2,j]],O=[0,j[1]]}var F=M(x)===82?(W(x,82),[0,l(z0[10],x)]):0;return[0,O,P,F,C]}var Iw0=0;m0(UO,function(x,r){var e=M(x);x:if(typeof e=="number"){var t=e-5|0;if(7>>0){if(R7!==t)break x}else if(5>=t-1>>>0)break x;var u=sJ(x,e),i=eh(function(v){return[0,v[1],[0,v[2],v[3]]]},u);return M(x)!==5&&Kx(x,61),[0,vx(r),i]}var c=r0(Iw0,Aw0,x);return M(x)!==5&&W(x,9),k(UO,x,[0,c,r])});function jw0(x){var r=uX(1,x),e=f0(r);W(r,4);var t=k(UO,r,0),u=t[2],i=t[1],c=f0(r);return W(r,5),[0,i,u,F2([0,e],[0,xx(r)],c,R)]}var Pw0=0;function Nw0(x){var r=r0(0,function(y){var S=f0(y);Kc(y,_v0);var E=Ct(y,k(z0[13],bv0,y)),j=Y1(y,De(y)),C=r0(Pw0,jw0,y);if(lO(y))var O=C;else var P=I2(y)[2],O=k(P,C,function(F,K){return k(Wx(F,842685896,11),F,K)});return[0,j,E,O,kO(y,FO(y)),S]},x),e=r[2],t=e[3],u=e[2],i=e[5],c=e[4],v=e[1],a=r[1],p=aJ(x,0,0,0,0),_=p[1];return cJ(x,p[2],[0,u],[1,t]),[3,[0,u,v,t,c,_,t0([0,i],0,R),a]]}var Ow0=0;function qO(x){return r0(Ow0,Nw0,x)}function f1(x,r){if(r[0]===0)return r[1];var e=r[2][1],t=r[1];return p1(function(u){return D0(x,u)},e),t}function BO(x,r,e){var t=x?x[1]:37;if(e[0]===0)var u=e[1];else{var i=e[2][2],c=e[1];p1(function(_){return D0(r,_)},i);var u=c}1-l(z0[23],u)&&D0(r,[0,u[1],t]);var v=u[2];x:if(v[0]===10){var a=u[1];if(Xo(v[1][2][1])){ct(r,[0,a,71]);break x}}return k(z0[19],r,u)}function XO(x,r){var e=zv(x[2],r[2]);return[0,zv(x[1],r[1]),e]}function kJ(x){var r=vx(x[2]);return[0,vx(x[1]),r]}function mJ(x,r){var e=x[0]===0?x[1]:x[1]-1|0,t=(r[0]===0,r[1]);return t<=e?1:0}var p3=function x(r){return x.fun(r)},Dt=function x(r){return x.fun(r)},hJ=function x(r){return x.fun(r)},JO=function x(r){return x.fun(r)},dJ=function x(r){return x.fun(r)},KO=function x(r){return x.fun(r)},yJ=function x(r){return x.fun(r)},gJ=function x(r){return x.fun(r)},y6=function x(r){return x.fun(r)},YO=function x(r){return x.fun(r)},zO=function x(r){return x.fun(r)},VO=function x(r){return x.fun(r)},_J=function x(r){return x.fun(r)},GO=function x(r){return x.fun(r)},gd=function x(r){return x.fun(r)},WO=function x(r){return x.fun(r)},bJ=function x(r){return x.fun(r)},Vo=function x(r,e,t,u,i){return x.fun(r,e,t,u,i)},$O=function x(r,e,t,u){return x.fun(r,e,t,u)},HO=function x(r){return x.fun(r)},_d=function x(r){return x.fun(r)},QO=function x(r){return x.fun(r)},ZO=function x(r,e,t,u,i){return x.fun(r,e,t,u,i)},wJ=function x(r,e,t,u){return x.fun(r,e,t,u)},xC=function x(r){return x.fun(r)},bd=function x(r,e,t){return x.fun(r,e,t)},TJ=function x(r){return x.fun(r)},wd=function x(r,e,t){return x.fun(r,e,t)},rC=function x(r){return x.fun(r)},EJ=function x(r){return x.fun(r)},eC=function x(r,e){return x.fun(r,e)},tC=function x(r,e,t,u){return x.fun(r,e,t,u)},SJ=function x(r){return x.fun(r)},nC=function x(r,e,t){return x.fun(r,e,t)},AJ=function x(r){return x.fun(r)},IJ=function x(r){return x.fun(r)},uC=function x(r){return x.fun(r)},Td=function x(r,e,t){return x.fun(r,e,t)};function Cw0(x){var r=x[2];switch(r[0]){case 23:var e=r[1],t=e[1][2][1];if(I(t,R1)){if(!I(t,no)&&!I(e[2][2][1],Rw))return 0}else if(!I(e[2][2][1],ml))return 0;break;case 0:case 10:case 22:case 25:break;default:return 0}return 1}function iC(x){var r=fx(x),e=l(KO,x),t=l(dJ,x);if(!t)return e;var u=t[1];return[0,r0([0,r],function(i){var c=BO(0,i,e);return[4,[0,u,c,l(Dt,i),0]]},x)]}function Dw0(x,r){if(typeof r=="number"&&r===80)return 0;throw U0(Yc,1)}function jJ(x){var r=Wh(Dw0,x),e=iC(r),t=M(r);if(typeof t=="number"){if(t===11)throw U0(Yc,1);if(t===86){var u=sX(r);x:{if(u){var i=u[1];if(typeof i=="number"&&i===5){var c=1;break x}}var c=0}if(c)throw U0(Yc,1)}}if(!Jc(r))return e;if(e[0]===0){var v=e[1][2];if(v[0]===10&&!I(v[1][2][1],oa)&&!K1(r))throw U0(Yc,1)}return e}m0(p3,function(x){var r=Jc(x);if(r){var e=M(x);x:{if(typeof e=="number"){if(e===58){if(x[18]){var t=0;break x}}else if(e===65&&x[19]){var t=0;break x}}var t=1}var u=t}else var u=r;var i=M(x);x:{r:if(typeof i=="number"){if(22<=i){if(i===58){if(x[18])return[0,l(hJ,x)];break r}if(i!==98)break r}else if(i!==4&&21>i)break r;break x}if(!u)return iC(x)}x:{if(i===64&&g2(x)&&vr(1,x)===98){var c=jJ,v=uC;break x}var c=uC,v=jJ}var a=pO(x,v);if(a)return a[1];var p=pO(x,c);return p?p[1]:iC(x)}),m0(Dt,function(x){return f1(x,l(p3,x))}),m0(hJ,function(x){return r0(0,function(r){r[10]&&Kx(r,ue);var e=f0(r),t=fx(r);W(r,58);var u=fx(r);if(c3(r))var i=0,c=0;else{var v=f2(r,z2),a=M(r);x:{r:if(typeof a=="number"){if(a!==86){if(10<=a)break r;switch(a){case 0:case 2:case 3:case 4:case 6:break r}}var p=0;break x}var p=1}x:{if(!v&&!p){var _=0;break x}var _=[0,l(Dt,r)]}var i=v,c=_}var y=c?0:xx(r),S=Zr(t,u);return[37,[0,c,t0([0,e],[0,y],R),i,S]]},x)}),m0(JO,function(x){var r=x[2];switch(r[0]){case 23:var e=r[1],t=e[1][2][1];if(I(t,R1)){if(!I(t,no)&&!I(e[2][2][1],Rw))return 0}else if(!I(e[2][2][1],ml))return 0;break;case 10:case 22:break;default:return 0}return 1}),m0(dJ,function(x){var r=M(x);x:{if(typeof r=="number"){var e=r-67|0;if(15>=e>>>0){switch(e){case 0:var t=Y30;break;case 1:var t=z30;break;case 2:var t=V30;break;case 3:var t=G30;break;case 4:var t=W30;break;case 5:var t=$30;break;case 6:var t=H30;break;case 7:var t=Q30;break;case 8:var t=Z30;break;case 9:var t=xl0;break;case 10:var t=rl0;break;case 11:var t=el0;break;case 12:var t=tl0;break;case 13:var t=nl0;break;case 14:var t=ul0;break;default:var t=il0}var u=t;break x}}var u=0}return u!==0&&b0(x),u}),m0(KO,function(x){var r=fx(x),e=l(gJ,x);if(M(x)!==85)return e;b0(x);var t=l(Dt,e6(0,x));W(x,86);var u=r0([0,r],Dt,x),i=u[2],c=u[1];return[0,[0,c,[8,[0,f1(x,e),t,i,0]]]]}),m0(yJ,function(x){return f1(x,l(KO,x))});function fC(x,r,e,t,u){var i=f1(x,r);return[0,[0,u,[21,[0,t,i,f1(x,e),0]]]]}function cC(x,r,e){for(var t=r,u=e;;){var i=M(x);if(typeof i=="number"&&i===88){b0(x);var c=r0(0,y6,x),v=c[2],a=Zr(u,c[1]),p=sC(0,x,fC(x,t,v,1,a),a),t=p[2],u=p[1];continue}return[0,u,t]}}function PJ(x,r,e){for(var t=r,u=e;;){var i=M(x);if(typeof i=="number"&&i===87){b0(x);var c=r0(0,y6,x),v=cC(x,c[2],c[1]),a=v[2],p=Zr(u,v[1]),_=sC(0,x,fC(x,t,a,0,p),p),t=_[2],u=_[1];continue}return[0,u,t]}}function sC(x,r,e,t){for(var u=x,i=e,c=t;;){var v=M(r);if(typeof v=="number"&&v===84){1-u&&Kx(r,K30),W(r,84);var a=r0(0,y6,r),p=a[2],_=a[1],y=M(r);x:{if(typeof y=="number"&&1>=y-87>>>0){Kx(r,[20,$N(y)]);var S=cC(r,p,_),E=PJ(r,S[2],S[1]),j=E[2],C=E[1];break x}var j=p,C=_}var P=Zr(c,C),u=1,i=fC(r,i,j,2,P),c=P;continue}return[0,c,i]}}m0(gJ,function(x){var r=r0(0,y6,x),e=r[2],t=r[1],u=M(x);x:{if(typeof u=="number"&&u===84){var c=sC(1,x,e,t);break x}var i=cC(x,e,t),c=PJ(x,i[2],i[1])}return c[2]});function aC(x,r,e,t){return[0,t,[5,[0,e,x,r,0]]]}m0(y6,function(x){for(var r=0;;){var e=r0(0,function(rx){var B=l(YO,rx)!==0?1:0;return[0,B,l(zO,e6(0,rx))]},x),t=e[2],u=t[2],i=t[1],c=e[1];x:if(M(x)===98&&u[0]===0&&u[1][2][0]===12){Kx(x,2);break x}var v=function(rx){return function(B,G0){for(var W0=B,Y0=G0;;){var V0=M(x);x:if(typeof V0!="number"&&V0[0]===4){var ex=V0[3];if(I(ex,Jt)&&I(ex,$F))break x;if(g2(x)){b0(x);var Q0=f1(x,Y0);r:{if(W0){var S0=W0[1],q0=S0[2],yx=W0[2],cx=S0[3],Dx=q0[1],Ix=S0[1];if(mJ(q0[2],_30)){var Xx=aC(Ix,Q0,Dx,Zr(cx,rx)),Z0=yx;break r}}var Xx=Q0,Z0=W0}var rr=Xx[1];if(Sr(ex,$F))var xr=qs(x),fr=xr[1],hr=[0,[0,Zr(rr,fr),[34,[0,Xx,[0,fr,xr],0]]]];else if(M(x)===27){var Hx=Zr(rr,fx(x));b0(x);var hr=[0,[0,Hx,[2,[0,Xx,0]]]]}else var Y=qs(x),jx=Y[1],hr=[0,[0,Zr(rr,jx),[3,[0,Xx,[0,jx,Y],0]]]];var W0=Z0,Y0=hr;continue}}return[0,W0,Y0]}}}(c)(r,u),a=v[2],p=v[1],_=M(x);x:{r:if(typeof _=="number"){var y=_-17|0;if(1>>0){if(72>y)break r;switch(y-72|0){case 0:var S=b30;break;case 1:var S=w30;break;case 2:var S=T30;break;case 3:var S=E30;break;case 4:var S=S30;break;case 5:var S=A30;break;case 6:var S=I30;break;case 7:var S=j30;break;case 8:var S=P30;break;case 9:var S=N30;break;case 10:var S=O30;break;case 11:var S=C30;break;case 12:var S=D30;break;case 13:var S=R30;break;case 14:var S=F30;break;case 15:var S=L30;break;case 16:var S=M30;break;case 17:var S=U30;break;case 18:var S=q30;break;case 19:var S=B30;break;default:break r}var E=S}else var E=y?X30:x[12]?0:J30;var j=E;break x}var j=0}if(j!==0&&b0(x),!p&&!j)return a;if(!j)break;var C=j[1],P=C[1],O=C[2],F=i&&(P===14?1:0);F&&D0(x,[0,c,38]);x:for(var K=f1(x,a),U=[0,P,O],V=c,Q=p;;){var $=U[2],x0=U[1];if(!Q)break x;var e0=Q[1],Z=e0[2],c0=Q[2],d0=e0[3],n0=Z[1],P0=e0[1];if(!mJ(Z[2],$))break;var h0=Zr(d0,V),K=aC(P0,K,n0,h0),U=[0,x0,$],V=h0,Q=c0}var r=[0,[0,K,[0,x0,$],V],Q]}for(var g0=f1(x,a),v0=c,p0=p;;){if(!p0)return[0,g0];var w0=p0[1],T0=p0[2],E0=w0[2][1],N0=w0[1],X0=Zr(w0[3],v0),g0=aC(N0,g0,E0,X0),v0=X0,p0=T0}}),m0(YO,function(x){var r=M(x);if(typeof r=="number"){if(48<=r){if(Ze<=r){if(zt>r)switch(r+LA|0){case 0:return l30;case 1:return p30;case 6:return k30;case 7:return m30}}else if(r===65&&x[19])return x[10]&&Kx(x,6),h30}else if(45<=r)switch(r+gT|0){case 0:return d30;case 1:return y30;default:return g30}}return 0}),m0(zO,function(x){var r=fx(x),e=f0(x),t=l(YO,x);if(t){var u=t[1];b0(x);var i=r0([0,r],VO,x),c=i[2],v=i[1];x:r:if(u===6){var a=c[2];switch(a[0]){case 10:ct(x,[0,v,68]);break;case 22:a[1][2][0]===1&&D0(x,[0,v,62]);break;default:break r}break x}return[0,[0,v,[35,[0,u,c,t0([0,e],0,R)]]]]}var p=M(x);x:{if(typeof p=="number"){if(zt===p){var _=v30;break x}if(ue===p){var _=o30;break x}}var _=0}if(!_)return l(_J,x);var y=_[1];b0(x);var S=r0([0,r],VO,x),E=S[2],j=S[1];1-l(JO,E)&&D0(x,[0,E[1],37]);var C=E[2];x:if(C[0]===10&&Xo(C[1][2][1])){Ot(x,73);break x}return[0,[0,j,[36,[0,y,E,1,t0([0,e],0,R)]]]]}),m0(VO,function(x){return f1(x,l(zO,x))}),m0(_J,function(x){var r=l(GO,x);if(K1(x))return r;var e=M(x);x:{if(typeof e=="number"){if(zt===e){var t=a30;break x}if(ue===e){var t=s30;break x}}var t=0}if(!t)return r;var u=t[1],i=f1(x,r);1-l(JO,i)&&D0(x,[0,i[1],37]);var c=i[2];x:if(c[0]===10&&Xo(c[1][2][1])){Ot(x,72);break x}var v=fx(x);b0(x);var a=xx(x),p=Zr(i[1],v);return[0,[0,p,[36,[0,u,i,0,t0(0,[0,a],R)]]]]}),m0(GO,function(x){var r=fx(x),e=1-x[17],t=0,u=x[17]===0?x:[0,x[1],x[2],x[3],x[4],x[5],x[6],x[7],x[8],x[9],x[10],x[11],x[12],x[13],x[14],x[15],x[16],t,x[18],x[19],x[20],x[21],x[22],x[23],x[24],x[25],x[26],x[27],x[28],x[29],x[30],x[31]],i=M(u);x:{r:if(typeof i=="number"){var c=i-44|0;if(7>=c>>>0){switch(c){case 0:if(!e)break r;var v=[0,l(HO,u)];break;case 6:var v=[0,l(bJ,u)];break;case 7:var v=[0,l(WO,u)];break;default:break r}var a=v;break x}}var a=Ea(u)?[0,l(xC,u)]:l(rC,u)}return I1(Vo,0,0,u,r,a)}),m0(gd,function(x){return f1(x,l(GO,x))}),m0(WO,function(x){switch(x[22]){case 0:var r=0,e=0;break;case 1:var r=0,e=1;break;default:var r=1,e=1}var t=fx(x),u=f0(x);W(x,51);var i=[0,t,[29,[0,t0([0,u],[0,xx(x)],R)]]],c=M(x);if(typeof c=="number"&&11>c)switch(c){case 4:var v=r?i:(D0(x,[0,t,et]),[0,t,[10,rn(0,[0,t,i30])]]);return St($O,0,x,t,v);case 6:case 10:var a=e?i:(D0(x,[0,t,99]),[0,t,[10,rn(0,[0,t,c30])]]);return St($O,0,x,t,a)}return e?_2(f30,x):D0(x,[0,t,99]),i}),m0(bJ,function(x){return r0(0,function(r){var e=f0(r),t=fx(r);if(W(r,50),f2(r,10)){var u=rn(0,[0,t,t30]),i=fx(r);Kc(r,n30);var c=rn(0,[0,i,u30]);return[23,[0,u,c,t0([0,e],[0,xx(r)],R)]]}var v=f0(r);W(r,4);var a=B0(nC,[0,v],0,l(Dt,e6(0,r)));return W(r,5),[11,[0,a,t0([0,e],[0,xx(r)],R)]]},x)}),m0(Vo,function(x,r,e,t,u){var i=x?x[1]:1,c=r?r[1]:0,v=I1(ZO,[0,i],[0,c],e,t,u),a=sX(e);x:{if(a){var p=a[1];if(typeof p=="number"&&p===83){var _=1;break x}}var _=0}function y(P){var O=I2(P)[2];function F(K,U){return k(Wx(K,Wt,88),K,U)}return k(O,f1(P,v),F)}function S(P,O,F){var K=l(QO,O),U=K[1],V=K[2],Q=Zr(t,U),$=[0,F,P,[0,U,V],0];x:{if(!_&&!c){var x0=[6,$];break x}var x0=[26,[0,$,Q,_]]}var e0=c||_;return I1(Vo,[0,i],[0,e0],O,t,[0,[0,Q,x0]])}if(e[13])return v;var E=M(e);if(typeof E=="number"){var j=E-98|0;if(2>>0){if(j===-94)return S(0,e,y(e))}else if(j!==1&&g2(e)){var C=Wh(function(P,O){throw U0(Yc,1)},e);return rd(C,v,function(P){var O=y(P);return S(l(_d,P),P,O)})}}return v}),m0($O,function(x,r,e,t){var u=x?x[1]:1;return f1(r,I1(Vo,[0,u],0,r,e,[0,t]))}),m0(HO,function(x){return r0(0,function(r){var e=fx(r),t=f0(r);if(W(r,44),r[11]&&M(r)===10){var u=xx(r);b0(r);var i=rn(t0([0,t],[0,u],R),[0,e,x30]),c=M(r);return typeof c!="number"&&c[0]===4&&!I(c[3],Rw)?[23,[0,i,k(z0[13],0,r),0]]:(_2(r30,r),b0(r),[10,i])}var v=fx(r),a=M(r);x:{if(typeof a=="number"){if(a===44){var p=l(HO,r);break x}if(a===51){var p=l(WO,cO(1,r));break x}}var p=Ea(r)?l(xC,r):l(EJ,r)}var _=St(wJ,e30,cO(1,r),v,p),y=M(r);x:{if(typeof y!="number"&&y[0]===3){var S=St(tC,r,v,_,y[1]);break x}var S=_}x:{r:if(M(r)!==4){if(g2(r)&&M(r)===98)break r;var j=S;break x}var E=I2(r)[2],j=k(E,S,function(F,K){return k(Wx(F,Wt,89),F,K)})}var C=g2(r)?rd(Wh(function(F,K){throw U0(Yc,1)},r),0,_d):0,P=M(r);x:{if(typeof P=="number"&&P===4){var O=[0,l(QO,r)];break x}var O=0}return[24,[0,j,C,O,t0([0,t],0,R)]]},x)});function Rw0(x){var r=f0(x);W(x,98);for(var e=0;;){var t=M(x);x:if(typeof t=="number"){if(t!==99&&Dr!==t)break x;var u=vx(e),i=f0(x);W(x,99);var c=M(x)===4?I2(x)[1]:xx(x);return[0,u,F2([0,r],[0,c],i,R)]}var v=M(x);x:{if(typeof v!="number"&&v[0]===4&&!I(v[2],Sv)){var a=fx(x),p=f0(x);Kc(x,Zv0);var _=[1,[0,a,[0,t0([0,p],[0,xx(x)],R)]]];break x}var _=[0,qs(x)]}var y=[0,_,e];M(x)!==99&&W(x,9);var e=y}}m0(_d,function(x){L2(x,1);var r=M(x)===98?[0,r0(0,Rw0,x)]:0;return J2(x),r});function Fw0(x){var r=f0(x);W(x,12);var e=l(Dt,x);return[0,e,t0([0,r],0,R)]}m0(QO,function(x){return r0(0,function(r){var e=f0(r);W(r,4);for(var t=0;;){var u=M(r);x:if(typeof u=="number"){if(u!==5&&Dr!==u)break x;var i=vx(t),c=f0(r);return W(r,5),[0,i,F2([0,e],[0,xx(r)],c,R)]}var v=M(r);x:{if(typeof v=="number"&&v===12){var a=[1,r0(0,Fw0,r)];break x}var a=[0,l(Dt,r)]}var p=[0,a,t];M(r)!==5&&W(r,9);var t=p}},x)});function NJ(x,r,e,t,u,i){var c=x?x[1]:1,v=r?r[1]:0,a=e?e[1]:0,p=cO(0,t),_=l(z0[7],p),y=fx(t);W(t,7);var S=xx(t),E=Zr(u,y),j=t0(0,[0,S],R),C=[0,f1(t,i),[2,_],j],P=v?[27,[0,C,E,a]]:[22,C];return I1(Vo,[0,c],[0,v],t,u,[0,[0,E,P]])}function OJ(x,r,e,t,u,i){var c=x?x[1]:1,v=r?r[1]:0,a=e?e[1]:0,p=M(t);x:{if(typeof p=="number"&&p===14){var _=EX(t),y=_[1],S=t[30][1],E=_[2][1];if(S){var j=S[1];t[30][1]=[0,[0,j[1],[0,[0,E,y],j[2]]],S[2]]}else D0(t,[0,y,63]);var P=[1,_],O=y;break x}var C=g1(t),P=[0,C],O=C[1]}var F=Zr(u,O);x:if(i[0]===0&&i[1][2][0]===29&&P[0]===1){D0(t,[0,F,82]);break x}var K=[0,f1(t,i),P,0],U=v?[27,[0,K,F,a]]:[22,K];return I1(Vo,[0,c],[0,v],t,u,[0,[0,F,U]])}m0(ZO,function(x,r,e,t,u){var i=x?x[1]:1,c=r?r[1]:0,v=M(e);if(typeof v=="number")switch(v){case 6:return b0(e),NJ([0,i],[0,c],0,e,t,u);case 10:return b0(e),OJ([0,i],[0,c],0,e,t,u);case 83:1-i&&Kx(e,59),W(e,83);var a=M(e);if(typeof a=="number")switch(a){case 4:return u;case 6:return b0(e),NJ([0,i],Wv0,Gv0,e,t,u);case 98:if(g2(e))return u;break}else if(a[0]===3)return Kx(e,60),u;return OJ([0,i],Hv0,$v0,e,t,u)}else if(v[0]===3){var p=v[1];return c&&Kx(e,60),I1(Vo,Qv0,0,e,t,[0,St(tC,e,t,f1(e,u),p)])}return u}),m0(wJ,function(x,r,e,t){var u=x?x[1]:1;return f1(r,I1(ZO,[0,u],0,r,e,[0,t]))}),m0(xC,function(x){return r0(0,function(r){var e=yd(r),t=e[1],u=e[2],i=r0(0,function(O){var F=f0(O);W(O,15);var K=zo(O),U=K[1],V=Rl([0,u,[0,F,[0,K[2],0]]]);if(M(O)===4)var Q=0,$=0;else{var x0=M(O);x:{if(typeof x0=="number"&&x0===98){var Z=0;break x}var e0=nO(U,uO(t,O)),Z=[0,Ct(e0,k(z0[13],Vv0,e0))]}var Q=Y1(O,De(O)),$=Z}var c0=qo(0,O),d0=t||c0[19],n0=l3(d0,U)(c0),P0=M(c0)===86?n0:f6(c0,n0),h0=RO(c0),g0=h0[2],v0=h0[1];if(g0)var p0=_X(c0,g0),w0=v0;else var p0=g0,w0=s3(c0,v0);return[0,$,P0,U,p0,w0,Q,V]},r),c=i[2],v=c[3],a=c[2],p=c[1],_=c[7],y=c[6],S=c[5],E=c[4],j=i[1],C=h6(r,t,v,1,Ko(a)),P=C[1];return v3(r,C[2],p,a),[9,[0,p,a,P,t,v,1,E,S,y,t0([0,_],0,R),j]]},x)}),m0(bd,function(x,r,e){switch(r){case 1:Ot(x,76);try{var t=$m(El(Bx(Xv0,e))),u=t}catch(S){var i=O2(S);if(i[1]!==Qt)throw U0(i,0);var u=gx(Bx(Jv0,e))}break;case 2:Ot(x,75);try{var c=JP(e),u=c}catch(S){var v=O2(S);if(v[1]!==Qt)throw U0(v,0);var u=gx(Bx(Kv0,e))}break;case 4:try{var a=JP(e),u=a}catch(S){var p=O2(S);if(p[1]!==Qt)throw U0(p,0);var u=gx(Bx(Yv0,e))}break;default:try{var _=$m(El(e)),u=_}catch(S){var y=O2(S);if(y[1]!==Qt)throw U0(y,0);var u=gx(Bx(zv0,e))}}return W(x,[0,r,e]),u}),m0(TJ,function(x){var r=Nx(x);x:{if(r!==0&&j2===N2(x,r-1|0)){var e=k1(x,0,r-1|0);break x}var e=x}return e}),m0(wd,function(x,r,e){var t=vq(l(TJ,e));return W(x,[1,r,e]),t}),m0(rC,function(x){var r=fx(x),e=f0(x),t=M(x);if(typeof t=="number")switch(t){case 0:var u=l(z0[12],x);return[1,[0,u[1],[25,u[2]]],u[3]];case 4:return[0,l(SJ,x)];case 6:var i=r0(0,AJ,x),c=i[2];return[1,[0,i[1],[0,c[1]]],c[2]];case 21:return b0(x),[0,[0,r,[32,[0,t0([0,e],[0,xx(x)],R)]]]];case 29:return b0(x),[0,[0,r,[16,t0([0,e],[0,xx(x)],R)]]];case 40:return[0,l(z0[22],x)];case 98:var v=l(z0[17],x),a=v[2],p=v[1],_=Ut<=a[1]?[13,a[2]]:[12,a[2]];return[0,[0,p,_]];case 30:case 31:return b0(x),[0,[0,r,[15,[0,t===31?1:0,t0([0,e],[0,xx(x)],R)]]]];case 74:case 105:return[0,l(IJ,x)]}else switch(t[0]){case 0:var y=t[2],S=B0(bd,x,t[1],y);return[0,[0,r,[17,[0,S,y,t0([0,e],[0,xx(x)],R)]]]];case 1:var E=t[2],j=B0(wd,x,t[1],E);return[0,[0,r,[18,[0,j,E,t0([0,e],[0,xx(x)],R)]]]];case 2:var C=t[1],P=C[3],O=C[2],F=C[1];C[4]&&Ot(x,76),b0(x);var K=t0([0,e],[0,xx(x)],R),U=x[28],V=U[6],Q=U[7];x:{if(V){var $=V[1];if(sq($,O)){var e0=[20,[0,O,F,Nx($),0,P,K]];break x}}if(Q){var x0=Q[1];if(sq(x0,O)){var e0=[20,[0,O,F,Nx(x0),1,P,K]];break x}}var e0=[14,[0,O,P,K]]}return[0,[0,F,e0]];case 3:var Z=k(eC,x,t[1]);return[0,[0,Z[1],[31,Z[2]]]];case 4:if(!I(t[3],Z9)&&vr(1,x)===40)return[0,l(z0[22],x)];break}if(Jc(x)){var c0=k(z0[13],0,x);return[0,[0,c0[1],[10,c0]]]}_2(0,x);x:if(typeof t!="number"&&t[0]===7){b0(x);break x}return[0,[0,r,[16,t0([0,e],Bv0,R)]]]}),m0(EJ,function(x){return f1(x,l(rC,x))}),m0(eC,function(x,r){var e=r[5],t=r[1],u=r[3],i=r[2],c=f0(x);W(x,[3,r]);var v=[0,t,[0,[0,u,i],e]];if(e)var a=0,p=[0,v,0],_=t;else for(var y=[0,v,0],S=0;;){var E=l(z0[7],x),j=[0,E,S],C=M(x);x:{if(typeof C=="number"&&C===1){L2(x,4);var P=M(x);if(typeof P!="number"&&P[0]===3){var O=P[1],F=O[5],K=O[1],U=O[3],V=O[2];b0(x),J2(x);var Q=[0,[0,K,[0,[0,U,V],F]],y];if(F){var $=vx(j),c0=[0,K,vx(Q),$];break x}var y=Q,S=j;continue}throw U0([0,Ar,Mv0],1)}_2(Uv0,x);var x0=[0,E[1],qv0],e0=vx(j),Z=vx([0,x0,y]),c0=[0,E[1],Z,e0]}var a=c0[3],p=c0[2],_=c0[1];break}var d0=xx(x),n0=Zr(t,_);return[0,n0,[0,p,a,t0([0,c],[0,d0],R)]]}),m0(tC,function(x,r,e,t){var u=I2(x)[2],i=k(u,e,function(v,a){return k(Wx(v,Wt,3),v,a)}),c=k(eC,x,t);return[0,Zr(r,c[1]),[30,[0,i,c,0]]]}),m0(SJ,function(x){var r=f0(x),e=r0(0,function(v){W(v,4);var a=fx(v),p=l(Dt,v),_=M(v);x:{if(typeof _=="number"){if(_===9){var y=[0,B0(Td,v,a,[0,p,0])];break x}if(_===86){var y=[1,[0,p,Yo(v),0]];break x}}var y=[0,p]}return W(v,5),y},x),t=e[2],u=e[1],i=xx(x),c=t[0]===0?t[1]:[0,u,[33,t[1]]];return B0(nC,[0,r],[0,i],c)}),m0(nC,function(x,r,e){var t=e[2],u=e[1],i=x?x[1]:0,c=r?r[1]:0;function v(b2){return N1(b2,t0([0,i],[0,c],R))}function a(b2){return YN(b2,t0([0,i],[0,c],R))}switch(t[0]){case 0:var p=t[1],_=a(p[2]),Mx=[0,[0,p[1],_]];break;case 1:var y=t[1],S=y[11],E=v(y[10]),Mx=[1,[0,y[1],y[2],y[3],y[4],y[5],y[6],y[7],y[8],y[9],E,S]];break;case 4:var j=t[1],C=v(j[4]),Mx=[4,[0,j[1],j[2],j[3],C]];break;case 5:var P=t[1],O=v(P[4]),Mx=[5,[0,P[1],P[2],P[3],O]];break;case 6:var F=t[1],K=v(F[4]),Mx=[6,[0,F[1],F[2],F[3],K]];break;case 7:var U=t[1],V=v(U[7]),Mx=[7,[0,U[1],U[2],U[3],U[4],U[5],U[6],V]];break;case 8:var Q=t[1],$=v(Q[4]),Mx=[8,[0,Q[1],Q[2],Q[3],$]];break;case 9:var x0=t[1],e0=x0[11],Z=v(x0[10]),Mx=[9,[0,x0[1],x0[2],x0[3],x0[4],x0[5],x0[6],x0[7],x0[8],x0[9],Z,e0]];break;case 10:var c0=t[1],d0=c0[2],n0=c0[1],P0=v(d0[2]),Mx=[10,[0,n0,[0,d0[1],P0]]];break;case 11:var h0=t[1],g0=v(h0[2]),Mx=[11,[0,h0[1],g0]];break;case 12:var v0=t[1],p0=v(v0[4]),Mx=[12,[0,v0[1],v0[2],v0[3],p0]];break;case 13:var w0=t[1],T0=v(w0[4]),Mx=[13,[0,w0[1],w0[2],w0[3],T0]];break;case 14:var E0=t[1],N0=v(E0[3]),Mx=[14,[0,E0[1],E0[2],N0]];break;case 15:var X0=t[1],A0=v(X0[2]),Mx=[15,[0,X0[1],A0]];break;case 16:var Mx=[16,v(t[1])];break;case 17:var rx=t[1],B=v(rx[3]),Mx=[17,[0,rx[1],rx[2],B]];break;case 18:var G0=t[1],W0=v(G0[3]),Mx=[18,[0,G0[1],G0[2],W0]];break;case 19:var Y0=t[1],V0=v(Y0[4]),Mx=[19,[0,Y0[1],Y0[2],Y0[3],V0]];break;case 20:var ex=t[1],Q0=v(ex[6]),Mx=[20,[0,ex[1],ex[2],ex[3],ex[4],ex[5],Q0]];break;case 21:var S0=t[1],q0=v(S0[4]),Mx=[21,[0,S0[1],S0[2],S0[3],q0]];break;case 22:var yx=t[1],cx=v(yx[3]),Mx=[22,[0,yx[1],yx[2],cx]];break;case 23:var Dx=t[1],Ix=v(Dx[3]),Mx=[23,[0,Dx[1],Dx[2],Ix]];break;case 24:var Xx=t[1],Z0=v(Xx[4]),Mx=[24,[0,Xx[1],Xx[2],Xx[3],Z0]];break;case 25:var rr=t[1],xr=a(rr[2]),Mx=[25,[0,rr[1],xr]];break;case 26:var fr=t[1],Hx=fr[1],Y=fr[3],jx=fr[2],hr=v(Hx[4]),Mx=[26,[0,[0,Hx[1],Hx[2],Hx[3],hr],jx,Y]];break;case 27:var Yx=t[1],Ur=Yx[1],px=Yx[3],w=Yx[2],L=v(Ur[3]),Mx=[27,[0,[0,Ur[1],Ur[2],L],w,px]];break;case 28:var L0=t[1],sx=v(L0[2]),Mx=[28,[0,L0[1],sx]];break;case 29:var Mx=[29,[0,v(t[1][1])]];break;case 30:var lx=t[1],ax=v(lx[3]),Mx=[30,[0,lx[1],lx[2],ax]];break;case 31:var Vx=t[1],_x=v(Vx[3]),Mx=[31,[0,Vx[1],Vx[2],_x]];break;case 32:var Mx=[32,[0,v(t[1][1])]];break;case 33:var zx=t[1],Lx=v(zx[3]),Mx=[33,[0,zx[1],zx[2],Lx]];break;case 35:var M0=t[1],qr=v(M0[3]),Mx=[35,[0,M0[1],M0[2],qr]];break;case 36:var Ex=t[1],$0=v(Ex[4]),Mx=[36,[0,Ex[1],Ex[2],Ex[3],$0]];break;case 37:var Gx=t[1],j0=Gx[4],cr=Gx[3],tx=v(Gx[2]),Mx=[37,[0,Gx[1],tx,cr,j0]];break;default:var Mx=t}return[0,u,Mx]}),m0(AJ,function(x){var r=f0(x);W(x,6);for(var e=[0,0,Zt];;){var t=e[2],u=e[1],i=M(x);x:if(typeof i=="number"){if(13<=i){if(Dr!==i)break x}else{if(7>i)break x;switch(i-7|0){case 0:break;case 2:var c=fx(x);b0(x);var e=[0,[0,[2,c],u],t];continue;case 5:var v=f0(x),a=r0(0,function(x0){b0(x0);var e0=l(p3,x0);return e0[0]===0?[0,e0[1],Zt]:[0,e0[1],e0[2]]},x),p=a[2],_=p[2],y=a[1],S=p[1],E=[1,[0,y,[0,S,t0([0,v],0,R)]]],j=M(x)===7?1:0;r:{if(!j&&vr(1,x)===7){var C=[0,_[1],[0,[0,y,16],_[2]]];break r}var C=_}1-j&&W(x,9);var e=[0,[0,E,u],XO(C,t)];continue;default:break x}}var P=kJ(t),O=vx(u),F=f0(x);return W(x,7),[0,[0,O,F2([0,r],[0,xx(x)],F,R)],P]}var K=l(p3,x);if(K[0]===0)var U=Zt,V=K[1];else var U=K[2],V=K[1];M(x)!==7&&W(x,9);var e=[0,[0,[0,V],u],XO(U,t)]}}),m0(IJ,function(x){L2(x,5);var r=fx(x),e=f0(x),t=M(x);x:{if(typeof t!="number"&&t[0]===5){var u=t[3],i=t[2];b0(x);var c=xx(x),v=c,a=u,p=i,_=Bx(Cv0,Bx(i,Bx(Ov0,u)));break x}_2(Dv0,x);var v=0,a=Rv0,p=Fv0,_=Lv0}J2(x);var y=Qr(Nx(a)),S=Nx(a)-1|0,E=0;if(S>=0)for(var j=E;;){var C=F0(a,j),P=C-100|0;x:if(21>=P>>>0)switch(P){case 0:case 3:case 5:case 9:case 15:case 17:case 21:ut(y,C);break x}var O=j+1|0;if(S===j)break;var j=O}var F=R2(y);return I(F,a)&&Kx(x,[18,a]),[0,r,[19,[0,p,F,_,t0([0,e],[0,v],R)]]]});function Lw0(x){return function(r){x:if(typeof r=="number"){if(61<=r){var e=r-62|0;if(49>=e>>>0){var t=e-15|0;if(9>>0)break x;switch(t){case 0:case 1:case 3:case 9:break;default:break x}}}else if(7<=r){if(r!==55)break x}else if(5>r)break x;return 0}throw U0(Yc,1)}}function Mw0(x){var r=M(x);if(typeof r=="number"&&!r){var e=k(z0[16],1,x);return[0,[0,e[1]],e[2]]}return[0,[1,l(z0[10],x)],0]}m0(uC,function(x){var r=Wh(Lw0,x),e=fx(r);if(vr(1,r)===11)var u=0,i=0;else var t=yd(r),u=t[2],i=t[1];var c=i||r[19],v=uO(c,r),a=v[18],p=r0(0,function(g0){var v0=Y1(g0,De(g0));if(Jc(g0)&&v0===0){var p0=k(z0[13],Nv0,g0),w0=p0[1],T0=[0,w0,[0,[0,w0,[2,[0,p0,[0,Ls(g0)],0]]],0]];return[0,v0,[0,w0,[0,0,[0,T0,0],0,0]],[0,[0,w0[1],w0[3],w0[3]]],0]}var E0=l3(c,a)(g0);fJ(g0,E0);var N0=RO(Bo(1,g0));return[0,v0,E0,N0[1],N0[2]]},v),_=p[2],y=_[2],S=y[2];x:{r:{var E=_[4],j=_[3],C=_[1],P=p[1];if(!S[1]){var O=S[2];if(!S[3]&&O)break r;var F=aX(v);break x}}var F=v}var K=y[2],U=K[1];if(U){var V=y[1];D0(F,[0,U[1][1],86]);var Q=[0,V,[0,0,K[2],K[3],K[4]]]}else var Q=y;var $=Ko(Q),x0=K1(F),e0=x0&&(M(F)===11?1:0);e0&&Kx(F,55),W(F,11);var Z=oX(aX(F),i,0,$),c0=r0(0,Mw0,Z),d0=c0[2],n0=d0[1],P0=c0[1];v3(Z,d0[2],0,Q);var h0=Zr(e,P0);return[0,[0,h0,[1,[0,0,Q,n0,i,0,1,E,j,C,t0([0,u],0,R),P]]]]}),m0(Td,function(x,r,e){return r0([0,r],function(t){for(var u=e;;){var i=M(t);if(typeof i=="number"&&i===9){b0(t);var u=[0,l(Dt,t),u];continue}return[28,[0,vx(u),0]]}},x)});function Uw0(x){var r=f0(x);b0(x);var e=t0([0,r],0,R),t=l(gd,x),u=K1(x)?i6(x):ed(x),i=u[2];return[0,k(i,t,function(c,v){return k(Wx(c,Wt,90),c,v)}),e]}function oC(x){if(!x[28][3])return 0;for(var r=0;;){var e=M(x);if(typeof e=="number"&&e===13){var r=[0,r0(0,Uw0,x),r];continue}return vx(r)}}function Pa(x,r){var e=x?x[1]:0,t=f0(r),u=M(r);if(typeof u=="number")switch(u){case 6:var i=r0(0,function(g0){var v0=f0(g0);W(g0,6);var p0=e6(0,g0),w0=l(z0[10],p0);return W(g0,7),[0,w0,t0([0,v0],[0,xx(g0)],R)]},r),c=i[1];return[0,c,[5,[0,c,i[2]]]];case 14:if(!e){var v=r0(0,function(g0){return b0(g0),[3,g1(g0)]},r),a=v[1],p=v[2];return D0(r,[0,a,63]),[0,a,p]}var _=EX(r),y=r[30][1],S=_[2][1],E=_[1];if(y){var j=y[1],C=y[2],P=j[2],O=[0,[0,y1[4].call(null,S,j[1]),P],C];r[30][1]=O}else gx(xs0);return[0,E,[4,_]]}else switch(u[0]){case 0:var F=u[2],K=u[1],U=fx(r),V=B0(bd,r,K,F);return[0,U,[1,[0,U,[0,V,F,t0([0,t],[0,xx(r)],R)]]]];case 1:var Q=u[2],$=u[1],x0=fx(r),e0=B0(wd,r,$,Q);return[0,x0,[2,[0,x0,[0,e0,Q,t0([0,t],[0,xx(r)],R)]]]];case 2:var Z=u[1],c0=Z[4],d0=Z[3],n0=Z[2],P0=Z[1];return c0&&Ot(r,76),W(r,[2,[0,P0,n0,d0,c0]]),[0,P0,[0,[0,P0,[0,n0,d0,t0([0,t],[0,xx(r)],R)]]]]}var h0=g1(r);return[0,h0[1],[3,h0]]}function Ed(x,r,e){var t=zo(x),u=t[1],i=t[2],c=Pa([0,r],x),v=c[1],a=0,p=nn(x,c[2]);return[0,p,r0(0,function(_){var y=qo(1,_),S=r0(0,function(U){var V=l3(0,0)(U),Q=0,$=M(U)===86?V:f6(U,V);x:if(e){var x0=$[2];r:{if(!x0[1]){if(!x0[2]&&!x0[3])break r;D0(U,[0,v,23]);break x}D0(U,[0,v,24])}}else{var e0=$[2];r:if(e0[1])D0(U,[0,v,66]);else{var Z=e0[2];if(Z&&!Z[2]&&!e0[3])break r;e0[3]?D0(U,[0,v,65]):D0(U,[0,v,65])}}return[0,Q,$,s3(U,DO(U))]},y),E=S[2],j=E[2],C=E[3],P=E[1],O=S[1],F=h6(y,a,u,0,Ko(j)),K=F[1];return v3(y,F[2],0,j),[0,0,j,K,a,u,1,0,C,P,t0([0,i],0,R),O]},x)]}function CJ(x){var r=l(p3,x);return r[0]===0?[0,r[1],Zt]:[0,r[1],r[2]]}function DJ(x,r){switch(r[0]){case 0:var e=r[1],t=e[1],u=e[2];return D0(x,[0,t,48]),[0,t,[14,u]];case 1:var i=r[1],c=i[1],v=i[2];return D0(x,[0,c,48]),[0,c,[17,v]];case 2:var a=r[1],p=a[1],_=a[2];return D0(x,[0,p,48]),[0,p,[18,_]];case 3:var y=r[1],S=y[2][1],E=y[1];return $h(S)?D0(x,[0,E,95]):i3(S)&&ct(x,[0,E,80]),[0,E,[10,y]];case 4:return gx(Al0);default:var j=r[1][2][1];return D0(x,[0,j[1],7]),j}}function RJ(x,r,e){function t(i){var c=qo(1,i),v=r0(0,function(C){var P=Y1(C,De(C)),O=l3(x,r)(C),F=M(C)===86?O:f6(C,O);return[0,P,F,s3(C,DO(C))]},c),a=v[2],p=a[2],_=a[3],y=a[1],S=v[1],E=h6(c,x,r,0,Ko(p)),j=E[1];return v3(c,E[2],0,p),[0,0,p,j,x,r,1,0,_,y,t0([0,e],0,R),S]}var u=0;return function(i){return r0(u,t,i)}}function FJ(x){return W(x,86),CJ(x)}function vC(x,r,e,t,u,i){var c=r0([0,r],function(a){if(!t&&!u){var p=M(a);x:if(typeof p=="number"){if(86<=p){if(p!==98){if(87<=p)break x;var _=FJ(a);return[0,[0,e,_[1],0],_[2]]}}else{if(p===82){if(e[0]===3)var y=e[1],S=fx(a),E=function(F){var K=f0(F);W(F,82);var U=xx(F),V=k(z0[19],F,[0,y[1],[10,y]]),Q=l(z0[10],F);return[4,[0,0,V,Q,t0([0,K],[0,U],R)]]},j=r0([0,y[1]],E,a),C=[0,j,[0,[0,[0,S,[24,bh(Sl0)]],0],0]];else var C=FJ(a);return[0,[0,e,C[1],1],C[2]]}if(10<=p)break x;switch(p){case 4:break;case 1:case 9:return[0,[0,e,DJ(a,e),1],Zt];default:break x}}var P=nn(a,e);return[0,[1,P,RJ(t,u,i)(a)],Zt]}return[0,[0,e,DJ(a,e),1],Zt]}var O=nn(a,e);return[0,[1,O,RJ(t,u,i)(a)],Zt]},x),v=c[2];return[0,[0,[0,c[1],v[1]]],v[2]]}function qw0(x){if(M(x)===12){var r=f0(x),e=r0(0,function(v0){return W(v0,12),CJ(v0)},x),t=e[2],u=t[2],i=t[1],c=e[1];return[0,[1,[0,c,[0,i,t0([0,r],0,R)]]],u]}var v=fx(x),a=vr(1,x);x:{r:if(typeof a=="number"){if(86<=a){if(a!==98&&87<=a)break r}else if(a!==82){if(10<=a)break r;switch(a){case 1:case 4:case 9:break;default:break r}}var _=0,y=0;break x}var p=yd(x),_=p[2],y=p[1]}var S=zo(x),E=S[1],j=Fx(_,S[2]),C=M(x);if(!y&&!E&&typeof C!="number"&&C[0]===4){var P=C[3];if(!I(P,bo)){var O=f0(x),F=Pa(0,x)[2],K=M(x);x:if(typeof K=="number"){if(86<=K){if(K!==98&&87<=K)break x}else if(K!==82){if(10<=K)break x;switch(K){case 1:case 4:case 9:break;default:break x}}return vC(x,v,F,0,0,0)}nn(x,F);var U=r0([0,v],function(v0){return Ed(v0,0,1)},x),V=U[2],Q=V[2],$=V[1],x0=U[1];return[0,[0,[0,x0,[2,$,Q,t0([0,O],0,R)]]],Zt]}if(!I(P,Dv)){var e0=f0(x),Z=Pa(0,x)[2],c0=M(x);x:if(typeof c0=="number"){if(86<=c0){if(c0!==98&&87<=c0)break x}else if(c0!==82){if(10<=c0)break x;switch(c0){case 1:case 4:case 9:break;default:break x}}return vC(x,v,Z,0,0,0)}nn(x,Z);var d0=r0([0,v],function(v0){return Ed(v0,0,0)},x),n0=d0[2],P0=n0[2],h0=n0[1],g0=d0[1];return[0,[0,[0,g0,[3,h0,P0,t0([0,e0],0,R)]]],Zt]}}return vC(x,v,Pa(0,x)[2],y,E,j)}function Bw0(x){var r=r0(0,function(t){var u=f0(t);W(t,0);x:for(var i=0,c=[0,0,Zt];;){var v=c[2],a=c[1],p=M(t);if(typeof p=="number"){if(p===1)break x;if(Dr===p)break}var _=qw0(t),y=_[1],S=_[2];r:{if(y[0]===1&&M(t)===9){var E=[0,fx(t)];break r}var E=0}var j=XO(S,v),C=M(t);r:{e:if(typeof C=="number"){var P=C-2|0;if(j2

>>0){if(ue>>0)break e}else{if(P!==7)break e;b0(t)}var U=j;break r}var O=HN(Vc0,9),F=mX([0,O],M(t)),K=[0,fx(t),F];f2(t,8);var U=[0,[0,K,j[1]],[0,K,j[2]]]}var i=E,c=[0,[0,y,a],U]}var V=i?[0,v[1],[0,[0,i[1],90],v[2]]]:v,Q=kJ(V),$=vx(a),x0=f0(t);return W(t,1),[0,[0,$,F2([0,u],[0,xx(t)],x0,R)],Q]},x),e=r[2];return[0,r[1],e[1],e[2]]}function Sd(x,r,e,t){var u=e[2][1],i=e[1];if(Sr(u,ho))return D0(x,[0,i,[15,u,0,JL===t?1:0,1]]),r;x:{r:{e:{for(var c=r;;){if(typeof c=="number")break r;if(c[0]===0)break e;var v=ix(u,c[2]),a=c[5],p=c[4],_=c[3];if(v===0)break;var y=0<=v?a:p,c=y}var E=[0,_];break x}var S=c[2];if(ix(u,c[1])===0){var E=[0,S];break x}var E=0;break x}var E=0}if(!E)return id(u,t,r);var j=E[1];x:r:{if(PA===t){if(Yj===j)break r}else if(Yj===t&&PA===j)break r;D0(x,[0,i,[1,u]]);break x}return id(u,BF,r)}function LJ(x,r){return r0(0,function(e){var t=r?f0(e):0;W(e,52);for(var u=0;;){var i=[0,r0(0,function(a){var p=zc(a);if(M(a)===98)var _=I2(a)[2],y=k(_,p,function(S,E){return k(Wx(S,Av,91),S,E)});else var y=p;return[0,y,uJ(a)]},e),u],c=M(e);if(typeof c=="number"&&c===9){W(e,9);var u=i;continue}var v=vx(i);return[0,v,t0([0,t],0,R)]}},x)}function lC(x){switch(x[0]){case 0:case 3:var r=x[1];return[0,[0,r[1],r[2][1]]];default:return 0}}function pC(x,r){if(r)return D0(x,[0,r[1][1],$f])}function kC(x,r){if(r)return D0(x,[0,r[1],12])}function MJ(x,r,e,t,u,i,c,v){var a=r0([0,r],function(C){var P=CO(C),O=M(C);x:if(i){if(typeof O=="number"&&O===82){Kx(C,13),b0(C);var F=0;break x}var F=0}else{if(typeof O=="number"&&O===82){b0(C);var K=qo(1,C),F=[0,l(z0[7],K)];break x}var F=1}var U=M(C);x:{if(typeof U=="number"&&9>U)switch(U){case 8:b0(C);var V=M(C);r:{e:if(typeof V=="number"){if(V!==1&&Dr!==V)break e;var Q=xx(C);break r}var Q=K1(C)?Sa(C):0}var v0=[0,t,P,F,Q];break x;case 4:case 6:_2(0,C);var v0=[0,t,P,F,0];break x}var $=M(C);r:{e:if(typeof $=="number"){if($!==1&&Dr!==$)break e;var x0=[0,,function(N0,X0){return N0}];break r}var x0=K1(C)?i6(C):ed(C)}if(typeof F=="number")if(P[0]===0)var e0=function(E0,N0){return k(Wx(E0,eR,94),E0,N0)},P0=F,h0=P,g0=k(x0[2],t,e0);else var Z=P[1],c0=function(E0,N0){return k(Wx(E0,Jj,95),E0,N0)},P0=F,h0=[1,k(x0[2],Z,c0)],g0=t;else var d0=F[1],n0=function(E0,N0){return k(Wx(E0,Wt,96),E0,N0)},P0=[0,k(x0[2],d0,n0)],h0=P,g0=t;var v0=[0,g0,h0,P0,0]}var p0=v0[3],w0=v0[2],T0=v0[1];return[0,T0,w0,p0,t0([0,v],[0,v0[4]],R)]},x),p=a[2],_=p[4],y=p[3],S=p[2],E=p[1],j=a[1];return E[0]===4?[2,[0,j,[0,E[1],y,S,u,c,e,_]]]:[1,[0,j,[0,E,y,S,u,c,e,_]]]}function mC(x,r,e,t,u,i,c,v,a,p){for(;;){var _=M(x);x:if(typeof _=="number"){var y=_-1|0;if(7>>0){var S=y-81|0;if(4>>0)break x;switch(S){case 3:_2(0,x),b0(x);continue;case 0:case 4:break;default:break x}}else if(5>=y-1>>>0)break x;if(!u&&!i)return MJ(x,r,e,t,c,v,a,p)}var E=M(x);x:{if(typeof E=="number"&&(E===4||E===98)){var j=0;break x}var j=c3(x)?1:0}if(j)return MJ(x,r,e,t,c,v,a,p);kC(x,v),pC(x,a);var C=lC(t);x:{if(c){if(C){var P=C[1],O=P[1];if(!I(P[2],sa)){D0(x,[0,O,[15,yl0,c,1,0]]);var U=qo(1,x),V=1;break x}}}else if(C){var F=C[1],K=F[1];if(!I(F[2],ho)){u&&D0(x,[0,K,9]),i&&D0(x,[0,K,10]);var U=qo(2,x),V=0;break x}}var U=qo(1,x),V=1}var Q=nn(U,t),$=r0(0,function(e0){var Z=r0(0,function(p0){var w0=Y1(p0,De(p0)),T0=l3(u,i)(p0),E0=M(p0)===86?T0:f6(p0,T0),N0=E0[2],X0=N0[1];x:{if(X0){var A0=X0[1][1],rx=E0[1];if(V===0){D0(p0,[0,A0,87]);var B=[0,rx,[0,0,N0[2],N0[3],N0[4]]];break x}}var B=E0}return[0,w0,B,s3(p0,DO(p0))]},e0),c0=Z[2],d0=c0[2],n0=c0[3],P0=c0[1],h0=Z[1],g0=h6(e0,u,i,0,Ko(d0)),v0=g0[1];return v3(e0,g0[2],0,d0),[0,0,d0,v0,u,i,1,0,n0,P0,0,h0]},U),x0=[0,V,Q,$,c,e,t0([0,p],0,R)];return[0,[0,Zr(r,$[1]),x0]]}}function hC(x,r){var e=vr(x,r);x:if(typeof e=="number"){if(86<=e){if(e!==98&&87<=e)break x}else if(e!==82){if(9<=e)break x;switch(e){case 1:case 4:case 8:break;default:break x}}return 1}return 0}var Xw0=0;function UJ(x){return hC(Xw0,x)}function Jw0(x){var r=fx(x),e=oC(x),t=M(x);x:{if(typeof t=="number"&&t===60&&!hC(1,x)){var u=[0,fx(x)],i=f0(x);b0(x);var c=i,v=u;break x}var c=0,v=0}var a=M(x);x:if(typeof a=="number"&&2>=a+oL>>>0&&Ms(1,x)){r:{if(typeof a=="number"){var p=a+oL|0;if(2>=p>>>0){switch(p){case 0:var _=xU;break;case 1:var _=tl;break;default:var _=ol}var y=_;break r}}var y=gx(gl0)}Kx(x,[22,y]),b0(x);break x}var S=M(x)===42?1:0;if(S){var E=vr(1,x);x:{r:if(typeof E=="number"){if(87<=E){if(E!==98&&Dr!==E)break r}else{var j=E-9|0;if(76>>0){if(77>j)switch(j+9|0){case 1:case 4:case 8:break;default:break r}}else if(j!==73)break r}var C=0;break x}var C=1}var P=C}else var P=S;if(P){var O=f0(x);b0(x);var F=O}else var F=0;var K=M(x)===64?1:0;if(K)var U=1-hC(1,x),V=U&&1-t6(1,x);else var V=K;if(V){var Q=f0(x);b0(x);var $=Q}else var $=0;var x0=zo(x),e0=x0[1],Z=x0[2],c0=Ms(1,x),d0=c0||(vr(1,x)===6?1:0),n0=ww0(x,d0,V,e0);x:{if(!e0&&n0){var P0=zo(x),h0=P0[2],g0=P0[1];break x}var h0=Z,g0=e0}var v0=Rl([0,c,[0,F,[0,$,[0,h0,0]]]]),p0=M(x);if(!V&&!g0&&typeof p0!="number"&&p0[0]===4){var w0=p0[3];if(!I(w0,bo)){var T0=f0(x),E0=Pa(bl0,x)[2];if(UJ(x))return mC(x,r,e,E0,V,g0,P,v,n0,v0);kC(x,v),pC(x,n0),nn(x,E0);var N0=Fx(v0,T0),X0=r0([0,r],function(jx){return Ed(jx,1,1)},x),A0=X0[2],rx=A0[1],B=A0[2],G0=X0[1],W0=lC(rx);x:if(P){if(W0){var Y0=W0[1],V0=Y0[1];if(!I(Y0[2],sa)){D0(x,[0,V0,[15,El0,P,0,0]]);break x}}}else if(W0){var ex=W0[1],Q0=ex[1];if(!I(ex[2],ho)){D0(x,[0,Q0,8]);break x}}return[0,[0,G0,[0,2,rx,B,P,e,t0([0,N0],0,R)]]]}if(!I(w0,Dv)){var S0=f0(x),q0=Pa(_l0,x)[2];if(UJ(x))return mC(x,r,e,q0,V,g0,P,v,n0,v0);kC(x,v),pC(x,n0),nn(x,q0);var yx=Fx(v0,S0),cx=r0([0,r],function(jx){return Ed(jx,1,0)},x),Dx=cx[2],Ix=Dx[1],Xx=Dx[2],Z0=cx[1],rr=lC(Ix);x:if(P){if(rr){var xr=rr[1],fr=xr[1];if(!I(xr[2],sa)){D0(x,[0,fr,[15,Tl0,P,0,0]]);break x}}}else if(rr){var Hx=rr[1],Y=Hx[1];if(!I(Hx[2],ho)){D0(x,[0,Y,8]);break x}}return[0,[0,Z0,[0,3,Ix,Xx,P,e,t0([0,yx],0,R)]]]}}return mC(x,r,e,Pa(wl0,x)[2],V,g0,P,v,n0,v0)}function qJ(x,r,e,t){var u=x?x[1]:0,i=Fs(1,r),c=Fx(u,oC(i)),v=f0(i),a=M(i);x:if(typeof a!="number"&&a[0]===4&&!I(a[3],Z9)){Kx(i,83),b0(i);break x}W(i,40);var p=iO(1,i),_=M(p);x:{r:if(e&&typeof _=="number"){if(52<=_){if(_!==98&&53<=_)break r}else if(_!==41&&_)break r;var E=0;break x}if(Jc(i))var y=k(z0[13],0,p),S=I2(i)[2],E=[0,k(S,y,function(Z,c0){return k(Wx(Z,Av,98),Z,c0)})];else{hX(i,kl0);var E=[0,[0,fx(i),ml0]]}}var j=De(i);if(j)var C=j[1],P=I2(i)[2],O=[0,k(P,C,function(Z,c0){return k(Wx(Z,Gj,97),Z,c0)})];else var O=0;var F=f0(i);if(f2(i,41))var K=r0(0,function(Z){var c0=l(gd,nO(0,Z));if(M(Z)===98)var d0=I2(Z)[2],n0=k(d0,c0,function(h0,g0){return k(Wx(h0,Wt,92),h0,g0)});else var n0=c0;var P0=uJ(Z);return[0,n0,P0,t0([0,F],0,R)]},i),U=K[1],V=K[2],Q=I2(i)[2],$=[0,[0,U,k(Q,V,function(Z,c0){return B0(Wx(Z,-663447790,93),Z,U,c0)})]];else var $=0;if(M(i)===52){1-g2(i)&&Kx(i,z2);var x0=[0,wX(i,LJ(i,1))]}else var x0=0;var e0=r0(0,function(Z){var c0=f0(Z);if(!f2(Z,0))return tn(Z,0),dl0;Z[30][1]=[0,[0,y1[1],0],Z[30][1]];for(var d0=0,n0=Yb0,P0=0;;){var h0=M(Z);if(typeof h0=="number"){var g0=h0-2|0;if(j2>>0){if(ue>=g0+1>>>0)break}else if(g0===6){W(Z,8);continue}}var v0=Jw0(Z);switch(v0[0]){case 0:var p0=v0[1],w0=p0[2],T0=p0[1];switch(w0[1]){case 0:if(w0[4])var cx=n0,Dx=d0;else{d0&&D0(Z,[0,T0,15]);var cx=n0,Dx=1}break;case 1:var E0=w0[2],N0=E0[0]===4?Sd(Z,n0,E0[1],JL):n0,cx=N0,Dx=d0;break;case 2:var X0=w0[2],A0=X0[0]===4?Sd(Z,n0,X0[1],PA):n0,cx=A0,Dx=d0;break;default:var rx=w0[2],B=rx[0]===4?Sd(Z,n0,rx[1],Yj):n0,cx=B,Dx=d0}break;case 1:var G0=v0[1][2],W0=G0[4],Y0=G0[1];switch(Y0[0]){case 4:gx(hl0);break;case 0:case 3:var V0=Y0[1],ex=V0[2][1],Q0=Sr(ex,ho),S0=V0[1];if(Q0)var yx=Q0;else var q0=Sr(ex,sa),yx=q0&&W0;yx&&D0(Z,[0,S0,[15,ex,W0,0,0]]);break}var cx=n0,Dx=d0;break;default:var cx=Sd(Z,n0,v0[1][2][1],BF),Dx=d0}var d0=Dx,n0=cx,P0=[0,v0,P0]}var Ix=vx(P0);function Xx(L0,sx){return Fl(function(lx){return 1-y1[3].call(null,lx[1],L0)})(sx)}var Z0=Z[30][1];if(Z0){var rr=Z0[1],xr=rr[1];if(Z0[2]){var fr=Z0[2],Hx=Xx(xr,rr[2]),Y=Dl(fr),jx=Y[2],hr=Y[1],Yx=eq(fr),Ur=[0,[0,hr,Fx(jx,Hx)],Yx];Z[30][1]=Ur}else{var px=Xx(xr,rr[2]);p1(function(L0){return D0(Z,[0,L0[2],[23,L0[1]]])},px),Z[30][1]=0}}else gx(rs0);W(Z,1);var w=M(Z);x:{r:if(!t){if(typeof w=="number"&&(w===1||Dr===w))break r;if(K1(Z)){var L=Sa(Z);break x}var L=0;break x}var L=xx(Z)}return[0,Ix,t0([0,c0],[0,L],R)]},i);return[0,E,e0,O,$,x0,c,t0([0,v],0,R)]}function Ad(x,r){return r0(0,function(e){return[2,qJ([0,r],e,e[7],0)]},x)}function Kw0(x){return[7,qJ(0,x,1,1)]}var Yw0=0;function zw0(x){return r0(Yw0,Kw0,x)}var BJ=IX(z0);function XJ(x){var r=d6(x);x:if(x[5])Jo(x,r[1]);else{var e=r[2];r:if(e[0]===27){var t=e[1],u=r[1];if(t[4])D0(x,[0,u,4]);else{if(!t[5])break r;D0(x,[0,u,22])}break x}}return r}function Id(x,r){var e=r[4],t=r[3],u=r[2],i=r[1];e&&Ot(x,76);var c=f0(x);return W(x,[2,[0,i,u,t,e]]),[0,i,[0,u,t,t0([0,c],[0,xx(x)],R)]]}function Z2(x,r,e){var t=x?x[1]:pv0,u=r?r[1]:1,i=M(e);if(typeof i=="number"){var c=i-2|0;if(j2>>0){if(ue>=c+1>>>0){var v=function(p,_){return p};return[1,[0,xx(e),v]]}}else if(c===6){b0(e);var a=M(e);x:if(typeof a=="number"){if(a!==1&&Dr!==a)break x;return[0,xx(e)]}return K1(e)?[0,Sa(e)]:kv0}}return K1(e)?[1,i6(e)]:(u&&_2([0,t],e),mv0)}function Bs(x){var r=M(x);x:if(typeof r=="number"){if(r!==1&&Dr!==r)break x;var e=function(t,u){return t};return[0,xx(x),e]}return K1(x)?i6(x):ed(x)}function dC(x,r,e){var t=Z2(0,0,r);if(t[0]===0)return[0,t[1],e];var u=t[1][2],i=vx(e);if(i)var c=i[2],v=i[1],a=vx([0,k(u,v,function(p,_){return B0(Wx(p,634872468,62),p,x,_)}),c]);else var a=0;return[0,0,a]}var JJ=function x(r){return x.fun(r)},KJ=function x(r){return x.fun(r)},YJ=function x(r){return x.fun(r)},zJ=function x(r){return x.fun(r)},VJ=function x(r){return x.fun(r)},g6=function x(r,e){return x.fun(r,e)},GJ=function x(r){return x.fun(r)},WJ=function x(r){return x.fun(r)},_6=function x(r,e,t){return x.fun(r,e,t)},$J=function x(r){return x.fun(r)},HJ=function x(r){return x.fun(r)},b6=function x(r,e){return x.fun(r,e)},QJ=function x(r){return x.fun(r)},ZJ=function x(r){return x.fun(r)},jd=function x(r,e){return x.fun(r,e)},xK=function x(r){return x.fun(r)},Pd=function x(r,e){return x.fun(r,e)},rK=function x(r){return x.fun(r)},eK=function x(r){return x.fun(r)},k3=function x(r,e,t){return x.fun(r,e,t)},yC=function x(r){return x.fun(r)},w6=function x(r,e,t){return x.fun(r,e,t)},T6=function x(r,e){return x.fun(r,e)},gC=function x(r){return x.fun(r)},tK=function x(r){return x.fun(r)},nK=function x(r){return x.fun(r)},uK=function x(r,e){return x.fun(r,e)},iK=function x(r,e){return x.fun(r,e)},fK=function x(r){return x.fun(r)},m3=function x(r){return x.fun(r)},Nd=function x(r,e,t){return x.fun(r,e,t)},_C=function x(r,e){return x.fun(r,e)},cK=function x(r,e){return x.fun(r,e)},bC=function x(r){return x.fun(r)};function Vw0(x){var r=f0(x);W(x,59);var e=M(x)===8?xx(x):0,t=Z2(0,0,x),u=t[0]===0?t[1]:t[1][1];return[5,[0,t0([0,r],[0,Fx(e,u)],R)]]}var Gw0=0;function Ww0(x){var r=f0(x);W(x,37);var e=r6(1,x),t=l(z0[2],e),u=1-x[5],i=u&&c6(t);i&&Jo(x,t[1]);var c=xx(x);W(x,25);var v=xx(x);W(x,4);var a=l(z0[7],x);W(x,5);var p=M(x)===8?xx(x):0,_=Z2(0,lv0,x),y=_[0]===0?Fx(p,_[1]):_[1][1];return[18,[0,t,a,t0([0,r],[0,Fx(c,Fx(v,y))],R)]]}var $w0=0;function sK(x,r,e){var t=e[2][1],u=e[1];if(!(t&&!t[1][2][2]&&!t[2]))return D0(x,[0,u,r])}function wC(x,r){if(!x[5]&&c6(r))return Jo(x,r[1])}function Hw0(x){var r=f0(x);W(x,39);var e=x[19],t=e&&f2(x,65),u=Fx(r,f0(x));W(x,4);var i=t0([0,u],0,R),c=M(x);x:{if(typeof c=="number"&&c===64){var v=1;break x}var v=0}var a=e6(1,x),p=M(a);x:{if(typeof p=="number"){if(24<=p){if(29>p)switch(p+wb|0){case 0:var _=r0(0,oJ,a),y=_[2],S=y[3],E=y[1],j=_[1],e0=S,Z=[0,[1,[0,j,[0,E,0,t0([0,y[2]],0,R)]]]];break x;case 3:var C=r0(0,vJ,a),P=C[2],O=P[3],F=P[1],K=C[1],e0=O,Z=[0,[1,[0,K,[0,F,2,t0([0,P[2]],0,R)]]]];break x;case 4:if(vr(1,a)!==17){var U=r0(0,lJ,a),V=U[2],Q=V[3],$=V[1],x0=U[1],e0=Q,Z=[0,[1,[0,x0,[0,$,1,t0([0,V[2]],0,R)]]]];break x}break}}else if(p===8){var e0=0,Z=0;break x}}var e0=0,Z=[0,[0,l(z0[8],a)]]}var c0=M(x);if(typeof c0=="number"){if(c0===17){if(!Z)throw U0([0,Ar,vv0],1);var d0=Z[1];if(d0[0]===0)var n0=[1,BO(ov0,x,d0[1])];else{var P0=d0[1];sK(x,39,P0);var n0=[0,P0]}t?W(x,63):W(x,17);var h0=l(z0[7],x);W(x,5);var g0=r6(1,x),v0=l(z0[2],g0);return wC(x,v0),[25,[0,n0,h0,v0,0,i]]}if(c0===63){if(!Z)throw U0([0,Ar,av0],1);var p0=Z[1];if(p0[0]===0){var w0=BO(sv0,x,p0[1]),T0=1-t,E0=T0&&v;x:if(E0){var N0=w0[2];if(N0[0]===2){var X0=N0[1][1],A0=X0[1];if(!I(X0[2][1],oa)){D0(x,[0,A0,40]);break x}}}var rx=[1,w0]}else{var B=p0[1];sK(x,40,B);var rx=[0,B]}W(x,63);var G0=l(z0[10],x);W(x,5);var W0=r6(1,x),Y0=l(z0[2],W0);return wC(x,Y0),[26,[0,rx,G0,Y0,t,i]]}}if(p1(function(Xx){return D0(x,Xx)},e0),t?W(x,63):W(x,8),Z)var V0=Z[1],ex=V0[0]===0?[0,[1,f1(x,V0[1])]]:[0,[0,V0[1]]],Q0=ex;else var Q0=0;var S0=M(x);x:{if(typeof S0=="number"&&S0===8){var q0=0;break x}var q0=[0,l(z0[7],x)]}W(x,8);var yx=M(x);x:{if(typeof yx=="number"&&yx===5){var cx=0;break x}var cx=[0,l(z0[7],x)]}W(x,5);var Dx=r6(1,x),Ix=l(z0[2],Dx);return wC(x,Ix),[24,[0,Q0,q0,cx,Ix,i]]}var Qw0=0;function aK(x){var r=Ea(x)?XJ(x):l(z0[2],x),e=1-x[5],t=e&&c6(r);return t&&Jo(x,r[1]),r}function Zw0(x){var r=f0(x);W(x,43);var e=aK(x);return[0,e,t0([0,r],0,R)]}function xT0(x){var r=f0(x);W(x,16);var e=Fx(r,f0(x));W(x,4);var t=l(z0[7],x);W(x,5);var u=aK(x),i=M(x)===43?[0,r0(0,Zw0,x)]:0;return[28,[0,t,u,i,t0([0,e],0,R)]]}var rT0=0;function oK(x){return r0(rT0,xT0,x)}function eT0(x){1-x[11]&&Kx(x,27);var r=f0(x),e=fx(x);W(x,19);var t=M(x)===8?xx(x):0;x:{if(M(x)!==8&&!c3(x)){var u=[0,l(z0[7],x)];break x}var u=0}var i=Zr(e,fx(x)),c=Z2(0,0,x);x:{if(c[0]===0)var v=c[1];else{var a=c[1],p=a[1];if(u){var _=u[1],y=a[2],S=[0,k(y,_,function(O,F){return k(Wx(O,Wt,63),O,F)})],E=t;break x}var v=p}var S=u,E=Fx(t,v)}return[32,[0,S,t0([0,r],[0,E],R),i]]}var tT0=0;function nT0(x){var r=f0(x);W(x,20),W(x,4);var e=l(z0[7],x);W(x,5),W(x,0);for(var t=cv0;;){var u=t[2],i=t[1],c=M(x);x:if(typeof c=="number"){if(c!==1&&Dr!==c)break x;var v=vx(u);W(x,1);var a=Bs(x)[1],p=e[1];return[33,[0,e,v,t0([0,r],[0,a],R),p]]}var _=mO(0,function(S){return function(E){var j=f0(E),C=M(E);x:{if(typeof C=="number"&&C===36){S&&Kx(E,53),W(E,36);var P=xx(E),O=0;break x}W(E,33);var P=0,O=[0,l(z0[7],E)]}var F=S||(O===0?1:0);W(E,86);var K=Fx(P,Bs(E)[1]);function U(x0){x:if(typeof x0=="number"){var e0=x0-1|0;if(32>>0){if(e0!==35)break x}else if(30>=e0-1>>>0)break x;return 1}return 0}var V=1,Q=E[9]===1?E:[0,E[1],E[2],E[3],E[4],E[5],E[6],E[7],E[8],V,E[10],E[11],E[12],E[13],E[14],E[15],E[16],E[17],E[18],E[19],E[20],E[21],E[22],E[23],E[24],E[25],E[26],E[27],E[28],E[29],E[30],E[31]],$=k(z0[4],U,Q);return[0,[0,O,$,t0([0,j],[0,K],R)],F]}}(i),x),t=[0,_[2],[0,_[1],u]]}}var uT0=0;function iT0(x){var r=f0(x),e=fx(x);W(x,22),K1(x)&&D0(x,[0,e,54]);var t=l(z0[7],x),u=Z2(0,0,x);if(u[0]===0)var v=t,a=u[1];else var i=u[1][2],c=0,v=k(i,t,function(p,_){return k(Wx(p,Wt,64),p,_)}),a=c;return[34,[0,v,t0([0,r],[0,a],R)]]}var fT0=0;function cT0(x){var r=f0(x);W(x,23);var e=l(z0[15],x);if(M(x)===34)var t=I2(x)[2],u=k(t,e,function(C,P){var O=P[1];return[0,O,B0(Wx(C,rk,4),C,O,P[2])]});else var u=e;var i=M(x);x:{if(typeof i=="number"&&i===34){var c=[0,r0(0,function(P){var O=f0(P);W(P,34);var F=xx(P);if(M(P)===4){W(P,4);var K=[0,k(z0[18],P,67)];W(P,5);var U=K}else var U=0;var V=l(z0[15],P);if(M(P)===38)var $=V;else var Q=Bs(P)[2],$=k(Q,V,function(x0,e0){var Z=e0[1];return[0,Z,B0(Wx(x0,rk,65),x0,Z,e0[2])]});return[0,U,$,t0([0,O],[0,F],R)]},x)];break x}var c=0}var v=M(x);x:{if(typeof v=="number"&&v===38){W(x,38);var a=l(z0[15],x),p=a[1],_=a[2],y=Bs(x)[2],S=[0,[0,p,k(y,_,function(P,O){return B0(Wx(P,rk,66),P,p,O)})]];break x}var S=0}var E=c===0?1:0,j=E&&(S===0?1:0);return j&&D0(x,[0,u[1],56]),[35,[0,u,c,S,t0([0,r],0,R)]]}var sT0=0;function aT0(x){var r=oJ(x),e=r[3],t=r[2],u=dC(0,x,r[1]),i=0,c=u[2],v=u[1];return p1(function(a){return D0(x,a)},e),[38,[0,c,i,t0([0,t],[0,v],R)]]}var oT0=0;function vT0(x){var r=vJ(x),e=r[3],t=r[2],u=dC(2,x,r[1]),i=2,c=u[2],v=u[1];return p1(function(a){return D0(x,a)},e),[38,[0,c,i,t0([0,t],[0,v],R)]]}var lT0=0;function pT0(x){var r=lJ(x),e=r[3],t=r[2],u=dC(1,x,r[1]),i=1,c=u[2],v=u[1];return p1(function(a){return D0(x,a)},e),[38,[0,c,i,t0([0,t],[0,v],R)]]}var kT0=0;function mT0(x){var r=f0(x);W(x,25);var e=Fx(r,f0(x));W(x,4);var t=l(z0[7],x);W(x,5);var u=r6(1,x),i=l(z0[2],u),c=1-x[5],v=c&&c6(i);return v&&Jo(x,i[1]),[39,[0,t,i,t0([0,e],0,R)]]}var hT0=0;function dT0(x){var r=f0(x),e=l(z0[7],x),t=M(x),u=e[2];if(u[0]===10&&typeof t=="number"&&t===86){var i=u[1],c=i[2][1],v=e[1];W(x,86),y1[3].call(null,c,x[3])&&D0(x,[0,v,[21,iv0,c]]);var a=x[31],p=x[30],_=x[29],y=x[28],S=x[27],E=x[26],j=x[25],C=x[24],P=x[23],O=x[22],F=x[21],K=x[20],U=x[19],V=x[18],Q=x[17],$=x[16],x0=x[15],e0=x[14],Z=x[13],c0=x[12],d0=x[11],n0=x[10],P0=x[9],h0=x[8],g0=x[7],v0=x[6],p0=x[5],w0=x[4],T0=y1[4].call(null,c,x[3]),E0=[0,x[1],x[2],T0,w0,p0,v0,g0,h0,P0,n0,d0,c0,Z,e0,x0,$,Q,V,U,K,F,O,P,C,j,E,S,y,_,p,a],N0=Ea(E0)?XJ(E0):l(z0[2],E0);return[31,[0,i,N0,t0([0,r],0,R)]]}var X0=Z2(fv0,0,x);if(X0[0]===0)var B=e,G0=X0[1];else var A0=X0[1][2],rx=0,B=k(A0,e,function(W0,Y0){return k(Wx(W0,Wt,67),W0,Y0)}),G0=rx;return[23,[0,B,0,t0(0,[0,G0],R)]]}var yT0=0;function gT0(x){var r=l(z0[7],x),e=Z2(uv0,0,x);if(e[0]===0)var i=r,c=e[1];else var t=e[1][2],u=0,i=k(t,r,function(E,j){return k(Wx(E,Wt,68),E,j)}),c=u;if(x[20]){var v=i[2];if(v[0]===14){var a=v[1][2];x:{if(1i)switch(i-53|0){case 0:return r0([0,u],function(a){1-g2(a)&&Kx(a,_t);var p=r0(0,l(b6,0),a),_=[0,p[1],[30,p[2]]];return[22,[0,[0,_],0,0,0,t0([0,t],0,R)]]},e);case 8:if(vr(1,e)!==0)return r0([0,u],function(a){1-g2(a)&&Kx(a,_t);var p=vr(1,a);if(typeof p=="number"){if(p===48)return Kx(a,17),W(a,61),[22,[0,0,0,0,0,t0([0,t],0,R)]];if(z2===p){W(a,61);var _=fx(a);W(a,z2);var y=l(m3,a),S=y[1];return[22,[0,0,[0,[1,[0,_,0]]],[0,S],0,t0([0,t],[0,y[2]],R)]]}}var E=r0(0,l(g6,0),a),j=[0,E[1],[36,E[2]]];return[22,[0,[0,j],0,0,0,t0([0,t],0,R)]]},e);break;case 9:return r0([0,u],function(a){var p=r0(0,function(y){return l(k(_6,0,0),y)},a),_=[0,p[1],[37,p[2]]];return[22,[0,[0,_],0,0,0,t0([0,t],0,R)]]},e)}}else if(i===36)return r0([0,u],function(a){var p=Fx(t,f0(a)),_=r0(0,function(U){return W(U,36)},a)[1],y=cX(1,a);x:{if(!Ea(y)&&!Qh(y)){if(n6(y)){var F=0,K=[0,Ad(y,x)];break x}if(M(y)===48){var F=0,K=[0,pJ(0)(y)];break x}if(vO(y)){var F=0,K=[0,qO(y)];break x}var S=l(z0[10],y),E=Z2(0,0,y);if(E[0]===0)var P=E[1],O=S;else var j=E[1][2],C=0,P=C,O=k(j,S,function(Q,$){return k(Wx(Q,Wt,86),Q,$)});var F=P,K=[1,O];break x}var F=0,K=[0,d6(y)]}return[21,[0,_,K,t0([0,p],[0,F],R)]]},e)}if(n6(e))return r0([0,u],function(a){var p=Ad(a,x);return[22,[0,[0,p],0,0,1,t0([0,t],0,R)]]},e);if(!Ea(e)&&!Qh(e)){if(typeof i=="number"){var c=i+wb|0;if(4>>0){if(c===24&&e[28][2])return r0([0,u],function(a){var p=k(z0[3],[0,x],a);return[22,[0,[0,p],0,0,1,t0([0,t],0,R)]]},e)}else if(1>>0)return r0([0,u],function(a){var p=k(z0[3],[0,x],a);return[22,[0,[0,p],0,0,1,t0([0,t],0,R)]]},e)}if(vO(e))return r0([0,u],function(a){var p=qO(a);return[22,[0,[0,p],0,0,1,t0([0,t],0,R)]]},e);if(typeof i=="number"&&z2===i)return r0([0,u],function(a){var p=fx(a);W(a,z2);var _=M(a);x:{if(typeof _!="number"&&_[0]===4&&!I(_[3],Jt)){b0(a);var y=[0,g1(a)];break x}var y=0}var S=l(m3,a),E=S[1];return[22,[0,0,[0,[1,[0,p,y]]],[0,E],1,t0([0,t],[0,S[2]],R)]]},e);var v=f2(e,61)?0:1;return f2(e,0)?r0([0,u],function(a){var p=B0(Nd,0,a,0);W(a,1);var _=M(a);x:{if(typeof _!="number"&&_[0]===4&&!I(_[3],fl)){var y=l(m3,a),j=y[2],C=[0,y[1]];break x}k(_C,a,p);var S=Z2(0,0,a),E=S[0]===0?S[1]:S[1][1],j=E,C=0}return[22,[0,0,[0,[0,p]],C,v,t0([0,t],[0,j],R)]]},e):(_2(Mo0,e),k(z0[3],[0,x],e))}return r0([0,u],function(a){Zh(a)(x);var p=d6(a);return[22,[0,[0,p],0,0,1,t0([0,t],0,R)]]},e)}),m0(bC,function(x){return r0(0,function(r){1-g2(r)&&Kx(r,Ze);var e=f0(r);W(r,60);var t=fX(1,Fs(1,r)),u=Fx(e,f0(t));W(t,49);var i=M(t);if(typeof i=="number")switch(i){case 36:var c=Fx(u,f0(t)),v=r0(0,function(Q0){return W(Q0,36)},t)[1],a=cX(1,t),p=M(a);x:{if(typeof p=="number")switch(p){case 15:var _=l(k3,0),y=0,V=y,Q=[0,[1,r0(0,function(q0){return k(_,0,q0)},a)]];break x;case 40:var V=0,Q=[0,[2,r0(0,l(jd,0),a)]];break x}else if(p[0]===4){var S=p[3];if(I(S,ta)){if(!I(S,wo)&&a[28][1]){var E=l(k3,0),j=0,V=j,Q=[0,[1,r0(0,function(q0){return k(E,0,q0)},a)]];break x}}else if(a[28][1]){var V=0,Q=[0,[3,r0(0,l(Pd,0),a)]];break x}}var C=qs(a),P=Z2(0,0,a);if(P[0]===0)var K=P[1],U=C;else var O=P[1][2],F=0,K=F,U=k(O,C,function(Q0,S0){return k(Wx(Q0,wv,87),Q0,S0)});var V=K,Q=[0,[4,U]]}return[9,[0,[0,v],Q,0,0,t0([0,c],[0,V],R)]];case 48:if(t[28][2]){var $=BJ[1],x0=r0(0,function(Q0){return $(0,Q0)},t);return[9,[0,0,[0,[8,x0]],0,0,t0([0,u],0,R)]]}break;case 53:var e0=r0(0,l(b6,0),t);return[9,[0,0,[0,[7,e0]],0,0,t0([0,u],0,R)]];case 61:var Z=r0(0,l(g6,0),t);return[9,[0,0,[0,[5,Z]],0,0,t0([0,u],0,R)]];case 62:var c0=r0(0,k(_6,Fo0,0),t);return[9,[0,0,[0,[6,c0]],0,0,t0([0,u],0,R)]];case 106:var d0=fx(t);W(t,z2);var n0=M(t);x:{if(typeof n0!="number"&&n0[0]===4&&!I(n0[3],Jt)){b0(t);var P0=[0,k(z0[13],0,t)];break x}var P0=0}var h0=l(m3,t),g0=h0[1];return[9,[0,0,0,[0,[1,[0,d0,P0]]],[0,g0],t0([0,u],[0,h0[2]],R)]];case 15:case 24:case 27:case 28:case 40:var v0=M(t);x:if(typeof v0=="number"){if(24<=v0){if(41<=v0)break x;switch(v0+wb|0){case 0:var p0=[0,[0,r0(0,function(Q0){return B0(w6,0,Q0,0)},t)]];break;case 3:var p0=[0,[0,r0(0,function(Q0){return B0(w6,2,Q0,0)},t)]];break;case 4:var p0=[0,[0,r0(0,function(Q0){return B0(w6,1,Q0,0)},t)]];break;case 16:var p0=[0,[2,r0(0,l(jd,0),t)]];break;default:break x}var w0=p0}else{if(v0!==15)break x;var T0=l(k3,0),w0=[0,[1,r0(0,function(S0){return k(T0,0,S0)},t)]]}return[9,[0,0,w0,0,0,t0([0,u],0,R)]]}throw U0([0,Ar,Lo0],1)}else if(i[0]===4){var E0=i[3];if(I(E0,ta)){if(!I(E0,wo)&&t[28][1]){var N0=l(k3,0),X0=[0,[1,r0(0,function(Q0){return k(N0,0,Q0)},t)]];return[9,[0,0,X0,0,0,t0([0,u],0,R)]]}}else if(t[28][1]){var A0=[0,[3,r0(0,l(Pd,0),t)]];return[9,[0,0,A0,0,0,t0([0,u],0,R)]]}}W(t,0);var rx=B0(Nd,0,t,0);W(t,1);var B=M(t);x:{if(typeof B!="number"&&B[0]===4&&!I(B[3],fl)){var G0=l(m3,t),V0=G0[2],ex=[0,G0[1]];break x}k(_C,t,rx);var W0=Z2(0,0,t),Y0=W0[0]===0?W0[1]:W0[1][1],V0=Y0,ex=0}return[9,[0,0,0,[0,[0,rx]],ex,t0([0,u],[0,V0],R)]]},x)});var kK=function x(r,e){return x.fun(r,e)},mK=function x(r,e){return x.fun(r,e)},A6=function x(r,e){return x.fun(r,e)};function Rd(x,r){return function(e){if(!e)return vx(r);var t=e[1];if(t[0]!==0){var u=t[1],i=u[1];if(e[2]){var c=e[2];return D0(x,[0,i,64]),Rd(x,r)(c)}var v=u[2],a=v[2];return Rd(x,[0,[1,[0,i,[0,k(A6,x,v[1]),a]]],r])(0)}var p=t[1],_=p[2],y=e[2],S=p[1];switch(_[0]){case 0:var E=_[2],j=_[1],C=_[3];switch(j[0]){case 0:var P=[0,j[1]];break;case 1:var P=[1,j[1]];break;case 2:var P=[2,j[1]];break;case 3:var P=[3,j[1]];break;case 4:var P=gx(yv0);break;default:var P=[4,j[1]]}var O=E[2];x:{if(O[0]===4){var F=O[1];if(!F[1]){var K=[0,F[3]],U=F[2];break x}}var K=0,U=k(A6,x,E)}var V=[0,[0,[0,S,[0,P,U,K,C]]],r];break;case 1:D0(x,[0,_[2][1],50]);var V=r;break;default:D0(x,[0,_[2][1],gv0]);var V=r}return Rd(x,V)(y)}}m0(kK,function(x,r){var e=r[2],t=e[2],u=e[1],i=r[1],c=a3(x);return[0,i,[0,[0,Rd(x,0)(u),c,t]]]});function hK(x,r){var e=r[1];return l(z0[23],r)?[0,k(A6,x,r)]:(D0(x,[0,e,37]),0)}function h3(x,r){return function(e){if(!e)return vx(r);var t=e[1];switch(t[0]){case 0:var u=t[1],i=u[2];if(i[0]===4){var c=i[1];if(!c[1]){var v=e[2];return h3(x,[0,[0,[0,u[1],[0,c[2],[0,c[3]]]]],r])(v)}}var a=e[2],p=hK(x,u);if(p)var _=p[1],y=[0,[0,[0,_[1],[0,_,0]]],r];else var y=r;return h3(x,y)(a);case 1:var S=t[1],E=S[1];if(e[2]){var j=e[2];return D0(x,[0,E,16]),h3(x,r)(j)}var C=S[2],P=C[2],O=hK(x,C[1]),F=O?[0,[1,[0,E,[0,O[1],P]]],r]:r;return h3(x,F)(0);default:var K=e[2];return h3(x,[0,[2,t[1]],r])(K)}}}m0(mK,function(x,r){var e=r[2],t=e[2],u=e[1],i=r[1],c=a3(x);return[0,i,[1,[0,h3(x,0)(u),c,t]]]}),m0(A6,function(x,r){var e=r[2],t=r[1];switch(e[0]){case 0:return k(mK,x,[0,t,e[1]]);case 10:var u=e[1],i=u[2][1],c=u[1];x:{if(x[5]&&Xo(i)){D0(x,[0,c,71]);break x}if(1-x[5]){if(x[18]&&Sr(i,M1)){D0(x,[0,c,zt]);break x}var v=x[19],a=v&&Sr(i,_o);a&&D0(x,[0,c,5])}}return[0,t,[2,[0,u,a3(x),0]]];case 25:return k(kK,x,[0,t,e[1]]);default:return[0,t,[3,[0,t,e]]]}});function I6(x,r){var e=M(x);if(typeof e=="number"){if(e===6)return r0(0,function(i){var c=f0(i);W(i,6);x:r:{var v=0;e:for(;;){var a=M(i);if(typeof a=="number"){if(13<=a){if(Dr===a)break r}else if(7<=a)switch(a-7|0){case 0:break e;case 2:var p=fx(i);W(i,9);var v=[0,[2,p],v];continue;case 5:var _=f0(i),y=r0(0,function($){return W($,12),I6($,r)},i),S=y[1],E=y[2],j=[1,[0,S,[0,E,t0([0,_],0,R)]]];M(i)!==7&&(D0(i,[0,S,16]),M(i)===9&&b0(i));var v=[0,j,v];continue}}var C=r0(0,function(Q){var $=I6(Q,r),x0=M(Q);t:{if(typeof x0=="number"&&x0===82){W(Q,82);var e0=[0,l(z0[10],Q)];break t}var e0=0}return[0,$,e0]},i),P=C[2],O=[0,[0,C[1],[0,P[1],P[2]]]];M(i)!==7&&W(i,9);var v=[0,O,v]}break x}var F=vx(v),K=f0(i);W(i,7);var U=M(i)===86?[1,Yo(i)]:a3(i);return[1,[0,F,U,F2([0,c],[0,xx(i)],K,R)]]},x);if(!e){var t=function(i){var c=M(i);return typeof c=="number"&&c===82?(W(i,82),[0,l(z0[10],i)]):0};return r0(0,function(i){var c=f0(i);W(i,0);x:for(var v=0,a=0,p=0;;){var _=M(i);if(typeof _=="number"){if(_===1)break x;if(Dr===_)break}r:if(M(i)===12)var y=f0(i),S=r0(0,function(B){return W(B,12),I6(B,r)},i),E=S[2],j=S[1],C=[0,[1,[0,j,[0,E,t0([0,y],0,R)]]]];else{var P=fx(i),O=k(z0[20],0,i),F=M(i);if(typeof F=="number"&&F===86){W(i,86);var K=r0([0,P],function(G0){var W0=I6(G0,r);return[0,W0,t(G0)]},i),U=K[2],V=O[2],Q=U[2],$=U[1],x0=K[1];switch(V[0]){case 0:var e0=[0,V[1]];break;case 1:var e0=[1,V[1]];break;case 2:var e0=[2,V[1]];break;case 3:var e0=[3,V[1]];break;case 4:var e0=gx(hv0);break;default:var e0=[4,V[1]]}var C=[0,[0,[0,x0,[0,e0,$,Q,0]]]];break r}var Z=O[2];if(Z[0]===3){var c0=Z[1],d0=c0[2][1],n0=c0[1];$h(d0)?D0(i,[0,n0,95]):i3(d0)&&ct(i,[0,n0,80]);var P0=r0([0,P],function(G0,W0){return function(Y0){var V0=[0,W0,[2,[0,G0,a3(Y0),0]]];return[0,V0,t(Y0)]}}(c0,n0),i),h0=P0[2],C=[0,[0,[0,P0[1],[0,[3,c0],h0[1],h0[2],1]]]]}else{_2(dv0,i);var C=0}}if(C){var g0=C[1],v0=g0[1][1],p0=v?(D0(i,[0,v0,64]),0):a;if(g0[0]===0)var T0=p0,E0=v;else var w0=M(i)===9?[0,fx(i)]:0,T0=w0,E0=1;M(i)!==1&&W(i,9);var v=E0,a=T0,p=[0,g0,p]}}a&&D0(i,[0,a[1],90]);var N0=vx(p),X0=f0(i);W(i,1);var A0=xx(i),rx=M(i)===86?[1,Yo(i)]:a3(i);return[0,[0,N0,rx,F2([0,c],[0,A0],X0,R)]]},x)}}var u=B0(z0[14],x,0,r);return[0,u[1],[2,u[2]]]}function Fd(x){var r=M(x);x:if(typeof r=="number"){var e=r+TM|0;if(6>>0){if(e!==14)break x}else if(4>=e-1>>>0)break x;return xx(x)}return K1(x)?Sa(x):0}function dK(x){return M(x)===1?0:[0,l(z0[7],x)]}function Xs(x){var r=fx(x),e=M(x);x:{if(typeof e!="number"&&e[0]===8){var t=e[1];break x}_2(ll0,x);var t=pl0}var u=f0(x);b0(x);var i=M(x);x:{r:if(typeof i=="number"){var c=i+RR|0;if(72>>0){if(c!==76)break r}else if(70>=c-1>>>0)break r;var v=xx(x);break x}var v=Fd(x)}return[0,r,[0,t,t0([0,u],[0,v],R)]]}function yK(x){var r=vr(1,x);if(typeof r=="number"){if(r===10)for(var e=r0(0,function(i){var c=[0,Xs(i)];return W(i,10),[0,c,Xs(i)]},x);;){var t=M(x);if(typeof t=="number"&&t===10){var u=e[1],e=r0([0,u],function(c){return function(v){return W(v,10),[0,[1,c],Xs(v)]}}(e),x);continue}return[2,e]}if(r===86)return[1,r0(0,function(i){var c=Xs(i);return W(i,86),[0,c,Xs(i)]},x)]}return[0,Xs(x)]}function j6(x,r){return Sr(x[2][1],r[2][1])}function gK(x,r){var e=x[2],t=e[1],u=r[2],i=u[1],c=e[2],v=u[2];x:{if(t[0]===0){var a=t[1];if(i[0]===0){var _=j6(a,i[1]);break x}}else{var p=t[1];if(i[0]!==0){var _=gK(p,i[1]);break x}}var _=0}return _&&j6(c,v)}function Ld(x,r){switch(x[0]){case 0:var e=x[1];if(r[0]===0)return j6(e,r[1]);break;case 1:var t=x[1];if(r[0]===1){var u=t[2],i=r[1][2],c=u[2],v=i[2],a=j6(u[1],i[1]);return a&&j6(c,v)}break;default:var p=x[1];if(r[0]===2)return gK(p,r[1])}return 0}function EC(x){switch(x[0]){case 0:return x[1][1];case 1:return x[1][1];default:return x[1][1]}}var _K=function x(r,e){return x.fun(r,e)},SC=function x(r,e){return x.fun(r,e)},AC=function x(r,e){return x.fun(r,e)};m0(_K,function(x,r){var e=M(r);if(typeof e=="number"){if(e===0){L2(r,0);var t=r0(0,function(S){W(S,0);var E=M(S);x:{if(typeof E=="number"&&E===12){var j=f0(S);W(S,12);var C=l(z0[10],S),F=[3,[0,C,t0([0,j],0,R)]];break x}var P=dK(S),O=P?0:f0(S),F=[2,[0,P,F2(0,0,O,R)]]}return W(S,1),F},r),u=t[2],i=t[1];return J2(r),[0,i,u]}}else if(e[0]===9){var c=e[3],v=e[2],a=e[1];return W(r,e),[0,a,[4,[0,v,c]]]}var p=k(AC,x,r),_=p[2],y=p[1];return Ut<=_[1]?[0,y,[1,_[2]]]:[0,y,[0,_[2]]]});function Md(x){switch(x[0]){case 0:return x[1][2][1];case 1:var r=x[1][2],e=r[1],t=Bx(fl0,r[2][2][1]);return Bx(e[2][1],t);default:var u=x[1][2],i=u[1],c=u[2],v=i[0]===0?i[1][2][1]:Md([2,i[1]]);return Bx(v,Bx(cl0,c[2][1]))}}m0(SC,function(x,r){var e=f0(r),t=r0(0,function(Lx){W(Lx,98);var M0=M(Lx);if(typeof M0=="number"){if(M0===99)return b0(Lx),al0}else if(M0[0]===8){var qr=yK(Lx);x:{if(g2(Lx)&&M(Lx)===98&>!==vr(1,Lx)){var Ex=rd(Lx,0,_d);break x}var Ex=0}for(var $0=0;;){var Gx=M(Lx);if(typeof Gx=="number"){if(Gx===0){var j0=f0(Lx);L2(Lx,0);var cr=r0(0,function(Rr){W(Rr,0),W(Rr,12);var U2=l(z0[10],Rr);return W(Rr,1),U2},Lx),tx=cr[2],Mx=cr[1];J2(Lx);var $0=[0,[1,[0,Mx,[0,tx,t0([0,j0],[0,Fd(Lx)],R)]]],$0];continue}}else if(Gx[0]===8){var $0=[0,[0,r0(0,function(Rr){var U2=vr(1,Rr);x:{if(typeof U2=="number"&&U2===86){var g=[1,r0(0,function(Fr){var hx=Xs(Fr);return W(Fr,86),[0,hx,Xs(Fr)]},Rr)];break x}var g=[0,Xs(Rr)]}var G=M(Rr);x:{if(typeof G=="number"&&G===82){W(Rr,82);var H=f0(Rr),l0=M(Rr);r:{if(typeof l0=="number"){if(l0===0){var J=f0(Rr);L2(Rr,0);var s0=r0(0,function(hx){W(hx,0);var z1=dK(hx);return W(hx,1),z1},Rr),_0=s0[1],y0=s0[2];J2(Rr);var J0=[0,y0,F2([0,J],[0,Fd(Rr)],0,R)];J0[1]||D0(Rr,[0,_0,47]);var gr=[0,[1,[0,_0,J0]]];break r}}else if(l0[0]===10){var Rx=l0[3],kx=l0[2],Jx=l0[1];W(Rr,l0);var gr=[0,[0,[0,Jx,[0,kx,Rx,t0([0,H],[0,Fd(Rr)],R)]]]];break r}Kx(Rr,36);var gr=[0,[0,[0,fx(Rr),vl0]]]}var Zx=gr;break x}var Zx=0}return[0,g,Zx]},Lx)],$0];continue}var b2=vx($0),Ux=[0,na,[0,qr,Ex,f2(Lx,gt),b2]];return f2(Lx,99)?[0,Ux]:(tn(Lx,99),[1,Ux])}}return tn(Lx,99),ol0},r);J2(r);var u=t[2];if(u[0]===0)var i=u[1],c=typeof i=="number"?0:i[2][3];else var c=1;if(c)var v=RS,a=v,p=r0(0,function(Lx){return 0},r);else{L2(r,3);var _=t[2][1],y=typeof _=="number"?0:[0,_[2][1]],S=fx(r);x:{r:{e:{t:for(var E=0;;){var j=u3(r);if(E&&y){var C=E[1],P=C[2],O=y[1],F=E[2];n:{if(P[0]===0){var K=P[1],U=K[2];if(U){var V=U[1][2][1],Q=1-Ld(K[1][2][1],V);if(Q){var $=Ld(O,V);break n}var $=Q;break n}}var $=0}if($)break r}var x0=M(r);if(typeof x0=="number"){if(x0===98){L2(r,2);var e0=M(r),Z=vr(1,r);if(typeof e0=="number"&&e0===98&&typeof Z=="number"){if(gt===Z)break t;if(Dr===Z)break}var c0=k(SC,y,r),d0=c0[2],n0=c0[1],P0=Ut<=d0[1]?[0,n0,[1,d0[2]]]:[0,n0,[0,d0[2]]],E=[0,P0,E];continue}if(Dr===x0)break e}var E=[0,k(_K,y,r),E]}var h0=r0(0,function($0){W($0,98),W($0,gt);var Gx=M($0);if(typeof Gx=="number"){if(Gx===99)return b0($0),Ut}else if(Gx[0]===8){var j0=yK($0);return xd($0,99),[0,na,[0,j0]]}return tn($0,99),Ut},r),g0=h0[2],v0=h0[1],p0=typeof g0=="number"?[0,Ut,v0]:[0,na,[0,v0,g0[2]]],w0=r[24][1];t:{if(w0){var T0=w0[2];if(T0){var E0=T0[2];break t}}var E0=gx(Gc0)}r[24][1]=E0;var N0=n3(r),X0=Zl(r[25][1],N0);r[26][1]=X0;var ex=[0,vx(E),,p0];break x}_2(0,r);var ex=[0,vx(E),,RS];break x}var A0=C[2];r:{if(A0[0]===0){var rx=A0[1],B=rx[2];if(B){var G0=B[1],W0=Zr(C[1],rx[3][1]),Y0=[0,na,G0],V0=[0,W0,[0,[0,rx[1],0,rx[3],rx[4]]]];break r}}var Y0=RS,V0=C}J2(r);var ex=[0,vx([0,V0,F]),,Y0]}var Q0=ex[3],S0=ex[1],q0=j?j[1]:S,a=Q0,p=[0,Zr(S,q0),S0]}var yx=xx(r);x:{r:if(typeof a!="number"){var cx=a[1];if(na===cx){var Dx=a[2],Ix=Dx[2][1],Xx=t[2],Z0=Dx[1];if(Xx[0]===0){var rr=Xx[1];if(typeof rr=="number")D0(r,[0,EC(Ix),sl0]);else{var xr=rr[2][1];e:if(1-Ld(Ix,xr)){if(x&&Ld(x[1],Ix)){var fr=[19,Md(xr)];D0(r,[0,EC(xr),fr]);break e}var Hx=[13,Md(xr)];D0(r,[0,EC(Ix),Hx])}}}var Y=Z0}else{if(Ut!==cx)break r;var jx=a[2],hr=t[2];if(hr[0]===0){var Yx=hr[1];typeof Yx!="number"&&D0(r,[0,jx,[13,Md(Yx[2][1])]])}var Y=jx}var Ur=Y;break x}var Ur=t[1]}var px=t[2][1],w=t[1];if(typeof px=="number"){x:{r:{var L=t0([0,e],[0,yx],R);if(typeof a!="number"){var L0=a[1];if(na===L0)var sx=a[2][1];else{if(Ut!==L0)break r;var sx=a[2]}var lx=sx;break x}}var lx=Ur}var ax=[0,Ut,[0,w,lx,p,L]]}else{var Vx=px[2];x:{var _x=t0([0,e],[0,yx],R);if(typeof a!="number"&&na===a[1]){var zx=[0,a[2]];break x}var zx=0}var ax=[0,na,[0,[0,w,Vx],zx,p,_x]]}return[0,Zr(t[1],Ur),ax]}),m0(AC,function(x,r){return L2(r,2),k(SC,x,r)});function bK(x,r){var e=g1(r);return td(x,r,e),e}var wK=function x(r){return x.fun(r)},IC=function x(r,e,t){return x.fun(r,e,t)},jC=function x(r){return x.fun(r)},TK=function x(r,e){return x.fun(r,e)},PC=function x(r,e){return x.fun(r,e)},NC=function x(r,e){return x.fun(r,e)},Ud=function x(r,e){return x.fun(r,e)},P6=function x(r,e){return x.fun(r,e)},qd=function x(r){return x.fun(r)},EK=function x(r){return x.fun(r)},SK=function x(r){return x.fun(r)},AK=function x(r,e,t){return x.fun(r,e,t)},IK=function x(r){return x.fun(r)},jK=function x(r){return x.fun(r)},ET0=l(AC,0);m0(wK,function(x){var r=M(x);x:{if(typeof r!="number"&&r[0]===6){var e=r[2],t=r[1];b0(x);var u=[0,[0,t,e]];break x}var u=0}var i=f0(x);x:{r:{for(var c=vx(i),v=5;c;){var a=c[2],p=c[1],_=p[2],y=p[1],S=_[2];e:{t:{for(var E=0,j=Nx(S);;){if(j<(E+5|0))break t;var C=Sr(k1(S,E,v),"@flow");if(C)break;var E=E+1|0}var P=C;break e}var P=0}if(P)break r;var c=a}var O=0;break x}x[31][1]=y[3];var O=vx([0,[0,y,_],a])}x:if(O===0){if(i){var F=i[1],K=F[2];if(!K[1]){var U=K[2],V=F[1];if(1<=Nx(U)&&N2(U,0)===42){x[31][1]=V[3];var Q=[0,F,0];break x}}}var Q=0}else var Q=O;var $=k(TK,x,function(n0){return 0}),x0=fx(x);W(x,Dr);var e0=y1[1];if(u1(function(n0,P0){var h0=P0[2];switch(h0[0]){case 21:return s6(x,n0,rn(0,[0,h0[1][1],Dl0]));case 22:var g0=h0[1],v0=g0[1];if(v0){if(!g0[2]){var p0=v0[1],w0=p0[2],T0=p0[1];x:{switch(w0[0]){case 38:var E0=w0[1][1],N0=0,X0=u1(function(Y0,V0){return u1(yO,Y0,[0,V0[2][1],0])},N0,E0);return u1(function(Y0,V0){return s6(x,Y0,V0)},n0,X0);case 2:case 27:var A0=w0[1][1];if(A0){var rx=A0[1];break x}break;case 3:case 20:case 30:case 36:case 37:var rx=w0[1][1];break x}return n0}return s6(x,n0,rn(0,[0,T0,rx[2][1]]))}}else{var B=g0[2];if(B){var G0=B[1];if(G0[0]!==0)return n0;var W0=G0[1];return u1(function(Y0,V0){var ex=V0[2],Q0=ex[2],S0=ex[1];return Q0?s6(x,Y0,Q0[1]):s6(x,Y0,S0)},n0,W0)}}return n0;default:return n0}},e0,$),$)var Z=Dl(vx($))[1],c0=Zr(Dl($)[1],Z);else var c0=x0;var d0=vx(x[2][1]);return[0,c0,[0,$,u,t0([0,Q],0,R),d0]]});function ST0(x,r,e,t){for(var u=x,i=t;;){var c=i[3],v=i[2],a=i[1],p=M(u);if(typeof p=="number"&&Dr===p)return[0,u,a,v,c];if(l(r,p))return[0,u,a,v,c];if(typeof p!="number"&&p[0]===2){var _=l(e,u),y=[0,_,v],S=_[2];if(S[0]===23){var E=S[1][2];if(E){var j=Sr(E[1],"use strict"),C=_[1],P=j&&1-u[21];P&&D0(u,[0,C,79]);var O=j?Fs(1,u):u,F=[0,p,a],K=c||j,u=O,i=[0,F,y,K];continue}}return[0,u,a,y,c]}return[0,u,a,v,c]}}m0(IC,function(x,r,e){var t=ST0(iX(1,x),r,e,Nl0),u=t[4],i=t[3],c=t[2],v=iX(0,t[1]),a=vx(c);return p1(function(p){if(typeof p!="number"&&p[0]===2){var _=p[1],y=_[4],S=_[1];return y&&ct(v,[0,S,76])}return gx(Bx(Cl0,Bx(TB(p),Ol0)))},a),[0,v,i,u]}),m0(jC,function(x){var r=oC(x),e=M(x);if(typeof e=="number"){var t=e-49|0;if(11>=t>>>0)switch(t){case 0:return k(cK,r,x);case 1:Zh(x)(r);var u=vr(1,x);x:{r:if(typeof u=="number"){if(u!==4&&u!==10)break r;var i=E6(x);break x}var i=Dd(x)}return i;case 11:if(vr(1,x)===49)return Zh(x)(r),l(bC,x);break}}return k(P6,[0,r],x)}),m0(TK,function(x,r){var e=B0(IC,x,r,jC),t=e[2],u=k(PC,r,e[1]);return u1(function(i,c){return[0,c,i]},u,t)}),m0(PC,function(x,r){for(var e=0;;){var t=M(r);if(typeof t=="number"&&Dr===t||l(x,t))return vx(e);var e=[0,l(jC,r),e]}}),m0(NC,function(x,r){var e=B0(IC,r,x,function(c){return k(P6,0,c)}),t=e[3],u=e[2],i=k(Ud,x,e[1]);return[0,u1(function(c,v){return[0,v,c]},i,u),t]}),m0(Ud,function(x,r){for(var e=0;;){var t=M(r);if(typeof t=="number"&&Dr===t||l(x,t))return vx(e);var e=[0,k(P6,0,r),e]}}),m0(P6,function(x,r){var e=x?x[1]:0;1-n6(r)&&Zh(r)(e);var t=M(r);if(typeof t=="number"){if(t===27)return r0(lT0,vT0,r);if(t===28)return r0(kT0,pT0,r)}if(!Ea(r)&&!Qh(r)){if(n6(r))return Ad(r,e);if(typeof t=="number"){var u=t+B2|0;if(14>=u>>>0)switch(u){case 0:if(r[28][2])return pJ(0)(r);break;case 5:return l(ZJ,r);case 12:return k(iK,0,r);case 13:return l(WJ,r);case 14:return l(HJ,r)}}return vO(r)?qO(r):l(qd,r)}return d6(r)}),m0(qd,function(x){var r=M(x);if(typeof r=="number"&&ia>r)switch(r){case 0:return l(VJ,x);case 8:return l(JJ,x);case 16:return oK(x);case 19:return r0(tT0,eT0,x);case 20:return r0(uT0,nT0,x);case 22:return r0(fT0,iT0,x);case 23:return r0(sT0,cT0,x);case 24:return r0(oT0,aT0,x);case 25:return r0(hT0,mT0,x);case 26:return l(zJ,x);case 32:return l(KJ,x);case 35:return l(YJ,x);case 37:return r0($w0,Ww0,x);case 39:return r0(Qw0,Hw0,x);case 43:return oK(x);case 59:return r0(Gw0,Vw0,x);case 113:return _2(Il0,x),[0,fx(x),jl0];case 1:case 5:case 7:case 9:case 10:case 11:case 12:case 17:case 18:case 33:case 34:case 36:case 38:case 41:case 42:case 49:case 83:case 86:return _2(Pl0,x),b0(x),l(qd,x)}if(!Ea(x)&&!Qh(x)){if(typeof r=="number"&&r===28&&vr(1,x)===6){var e=f3(1,x);return D0(x,[0,Zr(fx(x),e),3]),E6(x)}return Jc(x)?r0(yT0,dT0,x):(n6(x)&&(_2(0,x),b0(x)),E6(x))}var t=d6(x);return Jo(x,t[1]),t}),m0(EK,function(x){var r=fx(x),e=l(Dt,x),t=M(x);return typeof t=="number"&&t===9?B0(Td,x,r,[0,e,0]):e}),m0(SK,function(x){var r=fx(x),e=l(p3,x),t=M(x);return typeof t=="number"&&t===9?[0,B0(Td,x,r,[0,f1(x,e),0])]:e}),m0(AK,function(x,r,e){var t=r?r[1]:0;return r0(0,function(u){var i=1-t,c=bK([0,e],u),v=i&&(M(u)===85?1:0);return v&&(1-g2(u)&&Kx(u,S1),W(u,85)),[0,c,CO(u),v]},x)}),m0(IK,function(x){var r=fx(x),e=f0(x);W(x,0);var t=k(Ud,function(v){return v===1?1:0},x),u=fx(x),i=t===0?f0(x):0;W(x,1);var c=[0,t,F2([0,e],[0,xx(x)],i,R)];return[0,Zr(r,u),c]}),m0(jK,function(x){function r(t){var u=f0(t);W(t,0);var i=k(NC,function(y){return y===1?1:0},t),c=i[1],v=i[2],a=c===0?f0(t):0;W(t,1);var p=M(t);x:{r:if(!x){if(typeof p=="number"&&(p===1||Dr===p))break r;if(K1(t)){var _=Sa(t);break x}var _=0;break x}var _=xx(t)}return[0,[0,c,F2([0,u],[0,_],a,R)],v]}var e=0;return function(t){return mO(e,r,t)}}),Vq(Ml0[1],z0,[0,wK,qd,P6,Ud,NC,PC,EK,SK,yJ,Dt,gd,Bw0,bK,AK,IK,jK,ET0,I6,A6,Pa,Ad,zw0,Cw0,bd,Yo,wd]);var OC=[x2,fb0,Ts(0)],CC=[0,OC,[0]],AT0=ph(ub0,function(x){var r=CN(x,nb0)[41],e=LN(x,0,0,ib0,XN,1)[1];return Yq(x,r,function(t,u){return 0}),function(t,u){var i=kh(u,x);return l(e,i),MN(u,i,x)}}),IT0=Po(CC)===x2?CC:CC[1];ZP(MT,IT0);var Js=a0,_1=null,PK=void 0;function jT0(x){throw x}function Bd(x){return 1-(x===PK?1:0)}Js.String,Js.RegExp,Js.Object,Js.Date,Js.Math;var PT0=Js.Array,NT0=Js.Error;function NK(x){return l(jT0,x)}Js.JSON,bq(function(x){return x[1]===OC?[0,Tt(x[2].toString())]:0}),bq(function(x){return x instanceof PT0?0:[0,Tt(x.toString())]});var OK=[0,0],OT0=Qx;function Vc(x){return DY(Ll(x))}function M2(x){return CY(Ll(x))}function jr(x,r){return M2(vx(th(x,r)))}function Tx(x,r){return r?l(x,r[1]):_1}function d3(x,r){return r[0]===0?_1:x(r[1])}function CK(x){return Vc([0,[0,tb0,x[1]],[0,[0,eb0,x[2]],0]])}function DK(x){var r=x[1],e=r?Qx(r[1][1]):_1,t=[0,[0,Z_0,CK(x[3])],0];return Vc([0,[0,rb0,e],[0,[0,xb0,CK(x[2])],t]])}function S2(x){if(!x)return 0;var r=x[1],e=r[1];return t0([0,e],[0,Fx(r[3],r[2])],R)}function N6(x,r,e){var t=r[e];return Bd(t)?t|0:x}function CT0(x,r){var e=Xv(r,PK)?{}:r,t=Tt(x),u=N6(Nl[5],e,sb0),i=N6(Nl[4],e,ab0),c=N6(Nl[3],e,ob0),v=N6(Nl[2],e,vb0),a=[0,N6(Nl[1],e,lb0),v,c,i,u,0,0],p=e[dR],_=Bd(p),y=_&&p|0,S=e[VD],E=Bd(S)?S|0:1,j=e.all_comments,C=Bd(j)?j|0:1,P=[0,0],O=y?[0,function(X){return P[1]=[0,X,P[1]],0}]:0,F=cb0[1],K=0;try{var U=0,V=fB(t),Q=U,$=V}catch(X){var x0=O2(X);if(x0!==ka)throw U0(x0,0);var e0=[0,[0,[0,K,Yv[2],Yv[3]],49],0],Q=e0,$=fB(es0)}var Z=[0,K,$,M00,0,a[4],gB,U00],c0=[0,Zl(Z,0)],d0=[0,[0,Q],[0,0],y1[1],[0,0],a[5],0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,[0,ns0],[0,Z],c0,[0,O],a,K,[0,0],[0,ts0]],n0=l(z0[1],d0),P0=vx(d0[1][1]),h0=[0,dO[1],0],g0=vx(u1(function(X,A){var D=X[2],u0=X[1];return dO[3].call(null,A,u0)?[0,u0,D]:[0,dO[4].call(null,A,u0),[0,A,D]]},h0,P0)[2]);if(g0){var v0=g0[2],p0=g0[1];if(F)throw U0([0,Wb0,p0,v0],1)}OK[1]=0;var w0=Nx(t)-0|0,T0=Cc(t);x:{r:{for(var E0=0,N0=0;;){if(N0===w0)break r;var X0=fe(T0,N0);e:{if(0<=X0&&Yr>=X0){var A0=1;break e}if(T9<=X0&&ak>=X0){var A0=2;break e}if(Tv<=X0&&Gk>=X0){var A0=3;break e}if(po<=X0&&NI>=X0){var A0=4;break e}var A0=0}if(A0===0)var E0=hO(E0,N0,0),N0=N0+1|0;else{if((w0-N0|0)>>0)throw U0([0,Ar,MW],1);switch(rx){case 0:var G0=fe(T0,N0);break;case 1:var G0=(fe(T0,N0)&31)<<6|fe(T0,N0+1|0)&63;break;case 2:var G0=(fe(T0,N0)&15)<<12|(fe(T0,N0+1|0)&63)<<6|fe(T0,N0+2|0)&63;break;default:var G0=(fe(T0,N0)&7)<<18|(fe(T0,N0+1|0)&63)<<12|(fe(T0,N0+2|0)&63)<<6|fe(T0,N0+3|0)&63}var E0=hO(E0,N0,[0,G0]),N0=B}}var W0=hO(E0,N0,0);break x}var W0=E0}for(var Y0=co0,V0=vx([0,6,W0]);;){var ex=Y0[3],Q0=Y0[2],S0=Y0[1];if(!V0)break;var q0=V0[1];if(q0===5){var yx=V0[2];if(yx&&yx[1]===6){var cx=yx[2],Y0=[0,S0+2|0,0,[0,Ll(vx([0,S0,Q0])),ex]],V0=cx;continue}}else if(6>q0){var Dx=V0[2],Y0=[0,S0+SX(q0)|0,[0,S0,Q0],ex],V0=Dx;continue}var Ix=V0[2],Xx=[0,Ll(vx([0,S0,Q0])),ex],Y0=[0,S0+SX(q0)|0,0,Xx],V0=Ix}var Z0=Ll(vx(ex));if(E)var xr=n0;else var rr=l(AT0[1],0),xr=k(Wx(rr,-201766268,99),rr,n0);if(C)var Hx=xr;else var fr=xr[2],Hx=[0,xr[1],[0,fr[1],fr[2],fr[3],0]];function Y(X,A,D,u0){var k0=[0,ud(Z0,A[3]),0],C0=[0,[0,Ul0,M2([0,ud(Z0,A[2]),k0])],0],nx=Fx(C0,[0,[0,ql0,DK(A)],0]);if(D){var Sx=D[1],Px=Sx[1];if(Px){var qx=Sx[2];if(qx)var lr=[0,[0,Bl0,sn(qx)],0],tr=[0,[0,Xl0,sn(Px)],lr];else var tr=[0,[0,Jl0,sn(Px)],0];var ur=tr}else var br=Sx[2],pr=br?[0,[0,Kl0,sn(br)],0]:0,ur=pr;var Tr=ur}else var Tr=0;return Vc(zv(Fx(nx,Fx(Tr,[0,[0,Yl0,Qx(X)],0])),u0))}function jx(X){return jr(_x,X)}function hr(X){var A=X[2],D=A[3],u0=A[1],k0=X[1],C0=[0,[0,I50,Qx(Na(A[2]))],0];return Y(P50,k0,D,[0,[0,j50,jr(Ho,u0)],C0])}function Yx(X){var A=X[2],D=A[5],u0=A[4],k0=A[2],C0=A[1],nx=X[1],Sx=[0,[0,Kh0,jr(Rx,A[3])],0],Px=[0,[0,Yh0,at(0,u0)],Sx],qx=[0,[0,zh0,Tx(K2,k0)],Px];return Y(Gh0,nx,D,[0,[0,Vh0,j0(C0)],qx])}function Ur(X,A){var D=A[2],u0=D[7],k0=D[5],C0=D[4],nx=D[2],Sx=D[6],Px=D[3],qx=D[1],lr=A[1];if(C0)var tr=C0[1][2],br=tr[2],pr=tr[1],ur=N1(tr[3],u0),Tr=br,Br=[0,pr];else var ur=u0,Tr=0,Br=0;if(k0)var Or=k0[1][2],Wr=Or[1],Pr=N1(Or[2],ur),t2=Pr,p2=jr(s0,Wr);else var t2=ur,p2=M2(0);var o2=[0,[0,em0,p2],[0,[0,rm0,jr(J,Sx)],0]],n2=[0,[0,tm0,Tx(cn,Tr)],o2],c2=[0,[0,nm0,Tx(tx,Br)],n2],w2=[0,[0,um0,Tx(K2,Px)],c2],k2=nx[2],v2=k2[2],q2=nx[1],s1=[0,[0,im0,Y(pm0,q2,v2,[0,[0,lm0,jr(_0,k2[1])],0])],w2];return Y(X,lr,t2,[0,[0,fm0,Tx(j0,qx)],s1])}function px(X,A){var D=A[2],u0=D[5],k0=D[4],C0=D[3],nx=D[2],Sx=D[1],Px=A[1],qx=X?V80:G80,lr=[0,[0,W80,Tx(_r,k0)],0],tr=[0,[0,$80,Tx(_r,C0)],lr],br=[0,[0,H80,Tx(K2,nx)],tr];return Y(qx,Px,u0,[0,[0,Q80,j0(Sx)],br])}function w(X){var A=X[2],D=A[4],u0=A[2],k0=A[1],C0=X[1],nx=[0,[0,J80,_r(A[3])],0],Sx=[0,[0,K80,Tx(K2,u0)],nx];return Y(z80,C0,D,[0,[0,Y80,j0(k0)],Sx])}function L(X){var A=X[2],D=A[3],u0=A[1],k0=X[1],C0=[0,[0,A80,J0(A[2])],0];return Y(j80,k0,D,[0,[0,I80,j0(u0)],C0])}function L0(X){var A=X[2],D=A[3],u0=X[1],k0=A[5],C0=A[4],nx=A[2],Sx=A[1],Px=N1(S2(D[2][3]),k0),qx=D[2],lr=qx[1],tr=qx[2],br=[0,[0,o80,Tx(K2,nx)],0],pr=[0,[0,v80,ot(C0)],br],ur=[0,[0,l80,U2(lr)],pr],Tr=[0,[0,p80,Tx(G,tr)],ur],Br=[0,[0,k80,U2(lr)],Tr];return Y(h80,u0,Px,[0,[0,m80,j0(Sx)],Br])}function sx(X){var A=X[2],D=A[6],u0=A[4],k0=A[7],C0=A[5],nx=A[3],Sx=A[2],Px=A[1],qx=X[1],lr=M2(u0?[0,Rx(u0[1]),0]:0),tr=D?jr(s0,D[1][2][1]):M2(0),br=[0,[0,i80,lr],[0,[0,u80,tr],[0,[0,n80,jr(Rx,C0)],0]]],pr=[0,[0,f80,at(0,nx)],br],ur=[0,[0,c80,Tx(K2,Sx)],pr];return Y(a80,qx,k0,[0,[0,s80,j0(Px)],ur])}function lx(X){var A=X[2],D=A[2],u0=A[1],k0=A[4],C0=A[3],nx=X[1],Sx=Zr(u0[1],D[1]),Px=D[2][2];x:{if(Px[0]===12){var qx=Px[1][5];if(typeof qx=="number"&&!qx){var lr=0,tr=x80;break x}}var lr=[0,[0,r80,Tx(an,C0)],0],tr=e80}return Y(tr,nx,k0,Fx([0,[0,t80,b2(Sx,[0,u0,[1,D],0])],0],lr))}function ax(X){var A=X[2],D=A[2],u0=A[1],k0=A[4],C0=A[3],nx=X[1],Sx=Zr(u0[1],D[1]),Px=[0,[0,Hk0,Qx(Na(C0))],0];return Y(Zk0,nx,k0,[0,[0,Qk0,b2(Sx,[0,u0,[1,D],0])],Px])}function Vx(X){var A=X[2],D=A[2],u0=X[1],k0=[0,[0,Wk0,jx(A[1])],0];return Y($k0,u0,S2(D),k0)}function _x(X){var A=X[2],D=X[1];switch(A[0]){case 0:return Vx([0,D,A[1]]);case 1:var u0=A[1],k0=u0[2];return Y(Zl0,D,k0,[0,[0,Ql0,Tx(j0,u0[1])],0]);case 2:return Ur(Z80,[0,D,A[1]]);case 3:var C0=A[1],nx=C0[3],Sx=C0[6],Px=C0[5],qx=C0[4],lr=C0[2],tr=C0[1],br=N1(S2(nx[2][3]),Sx),pr=[0,[0,Ym0,Tx(K2,lr)],0],ur=[0,[0,zm0,ot(qx)],pr],Tr=nx[2],Br=Tr[2],Or=Tr[1];if(Br)var Wr=Br[1],Pr=Wr[2],t2=Pr[2],p2=Wr[1],o2=Y(Qm0,p2,t2,[0,[0,Hm0,kx(Pr[1])],0]),n2=M2(vx([0,o2,th(y0,Or)]));else var n2=M2(xn(y0,Or));var c2=[0,[0,Gm0,j0(tr)],[0,[0,Vm0,n2],ur]];return Y($m0,D,br,[0,[0,Wm0,Vx(Px)],c2]);case 4:var w2=A[1],k2=w2[2];return Y(r60,D,k2,[0,[0,x60,Tx(j0,w2[1])],0]);case 5:return Y(e60,D,A[1][1],0);case 6:return sx([0,D,A[1]]);case 7:return L0([0,D,A[1]]);case 8:return L([0,D,A[1]]);case 9:var v2=A[1],q2=v2[5],s1=v2[4],O1=v2[3],xe=v2[2],sr=v2[1];if(O1){var Xr=O1[1];if(Xr[0]!==0&&!Xr[1][2])return Y(n60,D,q2,[0,[0,t60,Tx(Ex,s1)],0])}if(xe){var Cr=xe[1];switch(Cr[0]){case 0:var Jr=ax(Cr[1]);break;case 1:var Jr=lx(Cr[1]);break;case 2:var Jr=sx(Cr[1]);break;case 3:var Jr=L0(Cr[1]);break;case 4:var Jr=_r(Cr[1]);break;case 5:var Jr=w(Cr[1]);break;case 6:var Jr=px(1,Cr[1]);break;case 7:var Jr=Yx(Cr[1]);break;default:var Jr=L(Cr[1])}var bx=Jr}else var bx=_1;var le=[0,[0,u60,Tx(Ex,s1)],0],pe=[0,[0,f60,bx],[0,[0,i60,l0(O1)],le]],Re=sr?1:0;return Y(s60,D,q2,[0,[0,c60,!!Re],pe]);case 10:return lx([0,D,A[1]]);case 11:var b1=A[1],$r=b1[5],re=b1[4],x1=b1[2],C1=b1[1],w1=[0,[0,P80,jr(Rx,b1[3])],0],lt=[0,[0,N80,at(0,re)],w1],Rt=[0,[0,O80,Tx(K2,x1)],lt];return Y(D80,D,$r,[0,[0,C80,j0(C1)],Rt]);case 12:var Fe=A[1],D1=Fe[1],Le=Fe[3],ke=Fe[2],ee=D1[0]===0?j0(D1[1]):Ex(D1[1]);return Y(v60,D,Le,[0,[0,o60,ee],[0,[0,a60,Vx(ke)],0]]);case 13:var a1=A[1],Me=a1[2];return Y(p60,D,Me,[0,[0,l60,hx(a1[1])],0]);case 14:var V1=A[1],Ft=V1[3],Ue=V1[2],qe=j0(V1[1]);return Y(h60,D,Ft,[0,[0,m60,qe],[0,[0,k60,Vx(Ue)],0]]);case 15:var r1=A[1],T1=r1[4],Be=r1[2],$c=r1[1],Hc=[0,[0,U80,_r(r1[3])],0],Qc=[0,[0,q80,Tx(K2,Be)],Hc];return Y(X80,D,T1,[0,[0,B80,j0($c)],Qc]);case 16:return px(1,[0,D,A[1]]);case 17:return ax([0,D,A[1]]);case 18:var me=A[1],Xe=me[3],Lt=me[1],Je=[0,[0,d60,tx(me[2])],0];return Y(g60,D,Xe,[0,[0,y60,_x(Lt)],Je]);case 19:return Y(_60,D,A[1][1],0);case 20:var E1=A[1],on=E1[3],vn=E1[1],Zc=[0,[0,Bh0,J0(E1[2])],0];return Y(Jh0,D,on,[0,[0,Xh0,j0(vn)],Zc]);case 21:var Ke=A[1],Ye=Ke[2],ln=Ke[3],pn=Ye[0]===0?_x(Ye[1]):tx(Ye[1]);return Y(T60,D,ln,[0,[0,w60,pn],[0,[0,b60,Qx(H(1))],0]]);case 22:var he=A[1],kn=he[5],Hs=he[4],xs=he[3],Qs=he[2],Ya=he[1];if(Qs){var za=Qs[1];if(za[0]!==0){var ev=za[1][2],tv=[0,[0,E60,Qx(H(Hs))],0],nv=[0,[0,S60,Tx(j0,ev)],tv];return Y(I60,D,kn,[0,[0,A60,Tx(Ex,xs)],nv])}}var Zs=[0,[0,j60,Qx(H(Hs))],0],_3=[0,[0,P60,Tx(Ex,xs)],Zs],b3=[0,[0,N60,l0(Qs)],_3];return Y(C60,D,kn,[0,[0,O60,Tx(_x,Ya)],b3]);case 23:var rs=A[1],Va=rs[3],uv=rs[1],w3=[0,[0,D60,Tx(OT0,rs[2])],0];return Y(F60,D,Va,[0,[0,R60,tx(uv)],w3]);case 24:var es=A[1],iv=es[5],fv=es[4],xa=es[3],T3=es[2],E3=es[1],S3=function(z6){return z6[0]===0?hr(z6[1]):tx(z6[1])},mn=[0,[0,L60,_x(fv)],0],A3=[0,[0,M60,Tx(tx,xa)],mn],I3=[0,[0,U60,Tx(tx,T3)],A3];return Y(B60,D,iv,[0,[0,q60,Tx(S3,E3)],I3]);case 25:var hn=A[1],ts=hn[1],j3=hn[5],P3=hn[4],Ga=hn[3],Wa=hn[2],$a=ts[0]===0?hr(ts[1]):kx(ts[1]),cv=[0,[0,J60,_x(Ga)],[0,[0,X60,!!P3],0]];return Y(z60,D,j3,[0,[0,Y60,$a],[0,[0,K60,tx(Wa)],cv]]);case 26:var Mt=A[1],de=Mt[1],te=Mt[5],pt=Mt[4],ra=Mt[3],N3=Mt[2],ea=de[0]===0?hr(de[1]):kx(de[1]),ns=[0,[0,G60,_x(ra)],[0,[0,V60,!!pt],0]];return Y(H60,D,te,[0,[0,$60,ea],[0,[0,W60,tx(N3)],ns]]);case 27:var ye=A[1],sv=ye[3],O3=ye[2],Vd=ye[10],Gd=ye[9],Wd=ye[8],$d=ye[7],M6=ye[6],DC=ye[5],RC=ye[4],FC=O3[2][4],LC=ye[1],MC=sv[0]===0?sv[1]:gx(ck0),UC=N1(S2(FC),Vd);if(M6===0)var Hd=0,Qd=sk0;else var Hd=[0,[0,lk0,!!RC],[0,[0,vk0,!!DC],[0,[0,ok0,Tx(an,$d)],[0,[0,ak0,!1],0]]]],Qd=pk0;var qC=[0,[0,kk0,Tx(K2,Gd)],0],BC=[0,[0,mk0,z1(Wd)],qC],XC=[0,[0,hk0,Vx(MC)],BC],JC=[0,[0,dk0,Zx(O3)],XC];return Y(Qd,D,UC,Fx([0,[0,yk0,Tx(j0,LC)],JC],Hd));case 28:var C3=A[1],Zd=C3[3],KC=C3[4],YC=C3[2],zC=C3[1];if(Zd)var x5=Zd[1][2],r5=_x(ow0(x5[1],x5[2]));else var r5=_1;var VC=[0,[0,Z60,_x(YC)],[0,[0,Q60,r5],0]];return Y(rp0,D,KC,[0,[0,xp0,tx(zC)],VC]);case 29:var av=A[1],e5=av[4],t5=av[3],GC=av[5],WC=av[2],$C=av[1];if(e5){var U6=e5[1];if(U6[0]===0)var HC=U6[1],u5=xn(function(V6){var R3=V6[3],F3=V6[2],a5=V6[1],gD=F3?Zr(R3[1],F3[1][1]):R3[1],_D=F3?F3[1]:R3;x:{r:{var bD=0;if(a5){switch(a5[1]){case 0:var o5=qu;break;case 1:var o5=ss;break;default:break r}var v5=o5;break x}}var v5=_1}var wD=[0,[0,F_0,j0(_D)],[0,[0,R_0,v5],bD]];return Y(M_0,gD,0,[0,[0,L_0,j0(R3)],wD])},HC);else var n5=U6[1],QC=n5[1],u5=[0,Y(D_0,QC,0,[0,[0,C_0,j0(n5[2])],0]),0];var q6=u5}else var q6=0;if(t5)var i5=t5[1][1],ZC=[0,[0,N_0,j0(i5)],0],f5=[0,Y(O_0,i5[1],0,ZC),q6];else var f5=q6;switch($C){case 0:var B6=ep0;break;case 1:var B6=tp0;break;default:var B6=np0}var xD=[0,[0,ip0,Ex(WC)],[0,[0,up0,Qx(B6)],0]];return Y(cp0,D,GC,[0,[0,fp0,M2(f5)],xD]);case 30:return Yx([0,D,A[1]]);case 31:var X6=A[1],rD=X6[3],eD=X6[1],tD=[0,[0,sp0,_x(X6[2])],0];return Y(op0,D,rD,[0,[0,ap0,j0(eD)],tD]);case 32:var c5=A[1],nD=c5[2];return Y(lp0,D,nD,[0,[0,vp0,Tx(tx,c5[1])],0]);case 33:var J6=A[1],uD=J6[3],iD=J6[1],fD=[0,[0,pp0,jr(c1,J6[2])],0];return Y(mp0,D,uD,[0,[0,kp0,tx(iD)],fD]);case 34:var s5=A[1],cD=s5[2];return Y(dp0,D,cD,[0,[0,hp0,tx(s5[1])],0]);case 35:var D3=A[1],sD=D3[4],aD=D3[2],oD=D3[1],vD=[0,[0,yp0,Tx(Vx,D3[3])],0],lD=[0,[0,gp0,Tx(Rr,aD)],vD];return Y(bp0,D,sD,[0,[0,_p0,Vx(oD)],lD]);case 36:return w([0,D,A[1]]);case 37:return px(0,[0,D,A[1]]);case 38:return hr([0,D,A[1]]);case 39:var K6=A[1],pD=K6[3],kD=K6[1],mD=[0,[0,wp0,_x(K6[2])],0];return Y(Ep0,D,pD,[0,[0,Tp0,tx(kD)],mD]);default:var Y6=A[1],hD=Y6[3],dD=Y6[1],yD=[0,[0,Sp0,_x(Y6[2])],0];return Y(Ip0,D,hD,[0,[0,Ap0,tx(dD)],yD])}}function zx(X){var A=X[2],D=A[4],u0=A[3][2],k0=A[1],C0=X[1],nx=[0,[0,Gg0,Y(i_0,A[2],0,0)],0],Sx=[0,[0,Wg0,jr(Ba,u0)],nx];return Y(Hg0,C0,D,[0,[0,$g0,Y(t_0,k0,0,0)],Sx])}function Lx(X){var A=X[2],D=A[1],u0=A[4],k0=A[2],C0=X[1],nx=[0,[0,Kg0,jr(Ba,A[3][2])],0],Sx=[0,[0,Yg0,Tx(Ua,k0)],nx],Px=D[2],qx=Px[2],lr=Px[4],tr=Px[3],br=Px[1],pr=D[1],ur=qx?[0,[0,Qg0,Gs(qx[1])],0]:0,Tr=[0,[0,x_0,jr(Ws,lr)],[0,[0,Zg0,!!tr],0]];return Y(Vg0,C0,u0,[0,[0,zg0,Y(e_0,pr,0,Fx([0,[0,r_0,Zo(br)],Tr],ur))],Sx])}function M0(X){var A=X[2],D=A[3],u0=A[1],k0=X[1],C0=[0,[0,p50,jr(tx,A[2])],0];return Y(m50,k0,D,[0,[0,k50,jr($o,u0)],C0])}function qr(X){var A=X[2],D=A[1],u0=A[2],k0=X[1],C0=D?x50:r50;return Y(n50,k0,u0,[0,[0,t50,!!D],[0,[0,e50,Qx(C0)],0]])}function Ex(X){var A=X[2];return Y(Zd0,X[1],A[3],[0,[0,Qd0,Qx(A[1])],[0,[0,Hd0,Qx(A[2])],0]])}function $0(X){var A=X[2],D=A[2],u0=A[1],k0=A[3],C0=X[1],nx=u0?FU(Lv,u0[1]):fq(zd0,aq(95,k1(D,0,Nx(D)-1|0)));return Y($d0,C0,k0,[0,[0,Wd0,_1],[0,[0,Gd0,Qx(nx)],[0,[0,Vd0,Qx(D)],0]]])}function Gx(X){var A=X[2];return Y(Yd0,X[1],A[3],[0,[0,Kd0,A[1]],[0,[0,Jd0,Qx(A[2])],0]])}function j0(X){var A=X[2];return Y(Dk0,X[1],A[2],[0,[0,Ck0,Qx(A[1])],[0,[0,Ok0,_1],[0,[0,Nk0,!1],0]]])}function cr(X){var A=X[2],D=A[3],u0=A[2],k0=A[10],C0=A[9],nx=A[8],Sx=A[7],Px=A[5],qx=A[4],lr=u0[2][4],tr=A[1],br=X[1],pr=D[0]===0?D[1]:gx(gk0),ur=N1(S2(lr),k0),Tr=[0,[0,_k0,Tx(K2,C0)],0],Br=[0,[0,wk0,!1],[0,[0,bk0,z1(nx)],Tr]],Or=[0,[0,Sk0,!!qx],[0,[0,Ek0,!!Px],[0,[0,Tk0,Tx(an,Sx)],Br]]],Wr=[0,[0,Ak0,Vx(pr)],Or],Pr=[0,[0,Ik0,Zx(u0)],Wr];return Y(Pk0,br,ur,[0,[0,jk0,Tx(j0,tr)],Pr])}function tx(X){var A=X[2],D=X[1];switch(A[0]){case 0:var u0=A[1],k0=u0[2],C0=[0,[0,jp0,jr(Wo,u0[1])],0];return Y(Pp0,D,S2(k0),C0);case 1:var nx=A[1],Sx=nx[3],Px=nx[2],qx=nx[10],lr=nx[9],tr=nx[8],br=nx[7],pr=nx[4],ur=Px[2][4];if(Sx[0]===0)var Tr=0,Br=Vx(Sx[1]);else var Tr=1,Br=tx(Sx[1]);var Or=N1(S2(ur),qx),Wr=[0,[0,Np0,Tx(K2,lr)],0],Pr=[0,[0,Cp0,!!Tr],[0,[0,Op0,z1(tr)],Wr]],t2=[0,[0,Lp0,Br],[0,[0,Fp0,!!pr],[0,[0,Rp0,!1],[0,[0,Dp0,Tx(an,br)],Pr]]]];return Y(qp0,D,Or,[0,[0,Up0,_1],[0,[0,Mp0,Zx(Px)],t2]]);case 2:var p2=A[1],o2=p2[2];return Y(Xp0,D,o2,[0,[0,Bp0,tx(p2[1])],0]);case 3:var n2=A[1],c2=n2[3],w2=n2[1],k2=[0,[0,Jp0,_r(n2[2][2])],0];return Y(Yp0,D,c2,[0,[0,Kp0,tx(w2)],k2]);case 4:var v2=A[1],q2=v2[1],s1=v2[4],O1=v2[3],xe=v2[2];if(q2){switch(q2[1]){case 0:var sr=X$;break;case 1:var sr=J$;break;case 2:var sr=K$;break;case 3:var sr=Y$;break;case 4:var sr=z$;break;case 5:var sr=V$;break;case 6:var sr=G$;break;case 7:var sr=W$;break;case 8:var sr=$$;break;case 9:var sr=H$;break;case 10:var sr=Q$;break;case 11:var sr=Z$;break;case 12:var sr=xH;break;case 13:var sr=rH;break;default:var sr=eH}var Xr=sr}else var Xr=zp0;var Cr=[0,[0,Vp0,tx(O1)],0];return Y($p0,D,s1,[0,[0,Wp0,Qx(Xr)],[0,[0,Gp0,kx(xe)],Cr]]);case 5:var Jr=A[1],bx=Jr[4],le=Jr[2],pe=Jr[1],Re=[0,[0,Hp0,tx(Jr[3])],0],b1=[0,[0,Qp0,tx(le)],Re];switch(pe){case 0:var $r=g$;break;case 1:var $r=_$;break;case 2:var $r=b$;break;case 3:var $r=w$;break;case 4:var $r=T$;break;case 5:var $r=E$;break;case 6:var $r=S$;break;case 7:var $r=A$;break;case 8:var $r=I$;break;case 9:var $r=j$;break;case 10:var $r=P$;break;case 11:var $r=N$;break;case 12:var $r=O$;break;case 13:var $r=C$;break;case 14:var $r=D$;break;case 15:var $r=R$;break;case 16:var $r=F$;break;case 17:var $r=L$;break;case 18:var $r=M$;break;case 19:var $r=U$;break;case 20:var $r=q$;break;default:var $r=B$}return Y(x40,D,bx,[0,[0,Zp0,Qx($r)],b1]);case 6:var re=A[1],x1=re[4],C1=N1(S2(re[3][2][2]),x1);return Y(r40,D,C1,Ka(re));case 7:return Ur(xm0,[0,D,A[1]]);case 8:var w1=A[1],lt=w1[4],Rt=w1[2],Fe=w1[1],D1=[0,[0,e40,tx(w1[3])],0],Le=[0,[0,t40,tx(Rt)],D1];return Y(u40,D,lt,[0,[0,n40,tx(Fe)],Le]);case 9:return cr([0,D,A[1]]);case 10:return j0(A[1]);case 11:var ke=A[1],ee=ke[2];return Y(f40,D,ee,[0,[0,i40,tx(ke[1])],0]);case 12:return Lx([0,D,A[1]]);case 13:return zx([0,D,A[1]]);case 14:return Ex([0,D,A[1]]);case 15:return qr([0,D,A[1]]);case 16:return Y(l50,D,A[1],[0,[0,v50,_1],[0,[0,o50,oo],0]]);case 17:return Gx([0,D,A[1]]);case 18:return $0([0,D,A[1]]);case 19:var a1=A[1],Me=a1[2],V1=a1[1],Ft=a1[4],Ue=a1[3];try{var qe=new RegExp(Qx(V1),Qx(Me)),r1=qe}catch{var r1=_1}return Y(a50,D,Ft,[0,[0,s50,r1],[0,[0,c50,Qx(Ue)],[0,[0,f50,Vc([0,[0,i50,Qx(V1)],[0,[0,u50,Qx(Me)],0]])],0]]]);case 20:var T1=A[1];return Ex([0,D,[0,T1[1],T1[5],T1[6]]]);case 21:var Be=A[1],$c=Be[4],Hc=Be[3],Qc=Be[2];switch(Be[1]){case 0:var me=c40;break;case 1:var me=s40;break;default:var me=a40}var Xe=[0,[0,o40,tx(Hc)],0];return Y(p40,D,$c,[0,[0,l40,Qx(me)],[0,[0,v40,tx(Qc)],Xe]]);case 22:var Lt=A[1],Je=Lt[3];return Y(k40,D,Je,O6(Lt));case 23:var E1=A[1],on=E1[3],vn=E1[1],Zc=[0,[0,m40,j0(E1[2])],0];return Y(d40,D,on,[0,[0,h40,j0(vn)],Zc]);case 24:var Ke=A[1],Ye=Ke[4],ln=Ke[3],pn=Ke[2],he=Ke[1];if(ln)var kn=ln[1],Hs=N1(S2(kn[2][2]),Ye),xs=Hs,Qs=Ux(kn);else var xs=Ye,Qs=M2(0);var Ya=[0,[0,g40,Tx(Gs,pn)],[0,[0,y40,Qs],0]];return Y(b40,D,xs,[0,[0,_40,tx(he)],Ya]);case 25:var za=A[1],ev=za[2],tv=[0,[0,w40,jr(Ks,za[1])],0];return Y(T40,D,S2(ev),tv);case 26:var nv=A[1],Zs=nv[1],_3=nv[3],b3=Zs[4],rs=N1(S2(Zs[3][2][2]),b3);return Y(S40,D,rs,Fx(Ka(Zs),[0,[0,E40,!!_3],0]));case 27:var Va=A[1],uv=Va[1],w3=uv[3],es=[0,[0,A40,!!Va[3]],0];return Y(I40,D,w3,Fx(O6(uv),es));case 28:var iv=A[1],fv=iv[2];return Y(P40,D,fv,[0,[0,j40,jr(tx,iv[1])],0]);case 29:return Y(N40,D,A[1][1],0);case 30:var xa=A[1],T3=xa[3],E3=xa[1],S3=[0,[0,b50,M0(xa[2])],0];return Y(T50,D,T3,[0,[0,w50,tx(E3)],S3]);case 31:return M0([0,D,A[1]]);case 32:return Y(O40,D,A[1][1],0);case 33:var mn=A[1],A3=mn[3],I3=mn[1],hn=[0,[0,C40,hx(mn[2])],0];return Y(R40,D,A3,[0,[0,D40,tx(I3)],hn]);case 34:var ts=A[1],j3=ts[3],P3=ts[1],Ga=[0,[0,F40,_r(ts[2][2])],0];return Y(M40,D,j3,[0,[0,L40,tx(P3)],Ga]);case 35:var Wa=A[1],$a=Wa[3],cv=Wa[2],Mt=Wa[1];if(7<=Mt)return Y(q40,D,$a,[0,[0,U40,tx(cv)],0]);switch(Mt){case 0:var de=B40;break;case 1:var de=X40;break;case 2:var de=J40;break;case 3:var de=K40;break;case 4:var de=Y40;break;case 5:var de=z40;break;case 6:var de=V40;break;default:var de=gx(G40)}return Y(Q40,D,$a,[0,[0,H40,Qx(de)],[0,[0,$40,!0],[0,[0,W40,tx(cv)],0]]]);case 36:var te=A[1],pt=te[4],ra=te[3],N3=te[2],ea=te[1]?Z40:xk0;return Y(nk0,D,pt,[0,[0,tk0,Qx(ea)],[0,[0,ek0,tx(N3)],[0,[0,rk0,!!ra],0]]]);default:var ns=A[1],ye=ns[2],sv=[0,[0,uk0,!!ns[3]],0];return Y(fk0,D,ye,[0,[0,ik0,Tx(tx,ns[1])],sv])}}function Mx(X){var A=X[2];return Y(Mk0,X[1],A[2],[0,[0,Lk0,Qx(A[1])],[0,[0,Fk0,_1],[0,[0,Rk0,!1],0]]])}function b2(X,A){var D=A[1][2],u0=D[2],k0=D[1],C0=[0,[0,Uk0,!!A[3]],0];return Y(Xk0,X,u0,[0,[0,Bk0,Qx(k0)],[0,[0,qk0,d3(hx,A[2])],C0]])}function Ux(X){return jr(Go,X[2][1])}function c1(X){var A=X[2],D=A[3],u0=A[1],k0=X[1],C0=[0,[0,Jk0,jr(_x,A[2])],0];return Y(Yk0,k0,D,[0,[0,Kk0,Tx(tx,u0)],C0])}function Rr(X){var A=X[2],D=A[3],u0=A[1],k0=X[1],C0=[0,[0,zk0,Vx(A[2])],0];return Y(Gk0,k0,D,[0,[0,Vk0,Tx(kx,u0)],C0])}function U2(X){return M2(xn(function(A){var D=A[2];return g(0,D[3],A[1],[0,D[1]],D[2][2])},X))}function g(X,A,D,u0,k0){if(u0)var C0=u0[1],nx=C0[0]===0?Tx(j0,[0,C0[1]]):Tx(Ex,[0,C0[1]]),Sx=nx;else var Sx=Tx(j0,0);return Y(S80,D,X,[0,[0,E80,Sx],[0,[0,T80,_r(k0)],[0,[0,w80,!!A],0]]])}function G(X){var A=X[2],D=A[4],u0=A[3],k0=A[2],C0=A[1],nx=X[1];return g(D,u0,nx,eh(function(Sx){return[0,Sx]},C0),k0)}function H(X){return X?R80:F80}function l0(X){if(!X)return M2(0);var A=X[1];if(A[0]===0)return jr(y3,A[1]);var D=A[1],u0=D[2],k0=D[1];return M2(u0?[0,Y(M80,k0,0,[0,[0,L80,j0(u0[1])],0]),0]:0)}function J(X){var A=X[2],D=A[2],u0=X[1];return Y(sm0,u0,D,[0,[0,cm0,tx(A[1])],0])}function s0(X){var A=X[2],D=A[1],u0=X[1],k0=[0,[0,am0,Tx(cn,A[2])],0];return Y(vm0,u0,0,[0,[0,om0,j0(D)],k0])}function _0(X){switch(X[0]){case 0:var A=X[1],D=A[2],u0=D[6],k0=D[2],C0=D[5],nx=D[4],Sx=D[3],Px=D[1],qx=A[1];switch(k0[0]){case 0:var pr=u0,ur=0,Tr=Ex(k0[1]);break;case 1:var pr=u0,ur=0,Tr=Gx(k0[1]);break;case 2:var pr=u0,ur=0,Tr=$0(k0[1]);break;case 3:var pr=u0,ur=0,Tr=j0(k0[1]);break;case 4:var pr=u0,ur=0,Tr=Mx(k0[1]);break;default:var lr=k0[1][2],tr=lr[1],br=N1(lr[2],u0),pr=br,ur=1,Tr=tx(tr)}switch(Px){case 0:var Br=km0;break;case 1:var Br=mm0;break;case 2:var Br=hm0;break;default:var Br=dm0}var Or=[0,[0,bm0,Qx(Br)],[0,[0,_m0,!!nx],[0,[0,gm0,!!ur],[0,[0,ym0,jr(J,C0)],0]]]];return Y(Em0,qx,pr,[0,[0,Tm0,Tr],[0,[0,wm0,cr(Sx)],Or]]);case 1:var Wr=X[1],Pr=Wr[2],t2=Pr[7],p2=Pr[6],o2=Pr[2],n2=Pr[1],c2=Pr[5],w2=Pr[4],k2=Pr[3],v2=Wr[1];switch(n2[0]){case 0:var sr=t2,Xr=0,Cr=Ex(n2[1]);break;case 1:var sr=t2,Xr=0,Cr=Gx(n2[1]);break;case 2:var sr=t2,Xr=0,Cr=$0(n2[1]);break;case 3:var sr=t2,Xr=0,Cr=j0(n2[1]);break;case 4:var q2=gx(Rm0),sr=q2[3],Xr=q2[2],Cr=q2[1];break;default:var s1=n2[1][2],O1=s1[1],xe=N1(s1[2],t2),sr=xe,Xr=1,Cr=tx(O1)}if(typeof o2=="number")if(o2)var Jr=0,bx=0;else var Jr=1,bx=0;else var Jr=0,bx=[0,o2[1]];var le=Jr?[0,[0,Fm0,!!Jr],0]:0,pe=p2===0?0:[0,[0,Lm0,jr(J,p2)],0],Re=Fx(pe,le),b1=[0,[0,qm0,!!Xr],[0,[0,Um0,!!w2],[0,[0,Mm0,Tx(st,c2)],0]]],$r=[0,[0,Bm0,d3(hx,k2)],b1];return Y(Km0,v2,sr,Fx([0,[0,Jm0,Cr],[0,[0,Xm0,Tx(tx,bx)],$r]],Re));default:var re=X[1],x1=re[2],C1=x1[6],w1=x1[2],lt=x1[7],Rt=x1[5],Fe=x1[4],D1=x1[3],Le=x1[1],ke=re[1];if(typeof w1=="number")if(w1)var ee=0,a1=0;else var ee=1,a1=0;else var ee=0,a1=[0,w1[1]];var Me=ee?[0,[0,Sm0,!!ee],0]:0,V1=C1===0?0:[0,[0,Am0,jr(J,C1)],0],Ft=Fx(V1,Me),Ue=[0,[0,Pm0,!1],[0,[0,jm0,!!Fe],[0,[0,Im0,Tx(st,Rt)],0]]],qe=[0,[0,Nm0,d3(hx,D1)],Ue],r1=[0,[0,Om0,Tx(tx,a1)],qe];return Y(Dm0,ke,lt,Fx([0,[0,Cm0,Mx(Le)],r1],Ft))}}function y0(X){var A=X[2],D=A[3],u0=A[2],k0=A[1],C0=X[1],nx=A[4],Sx=k0[0]===0?j0(k0[1]):Ex(k0[1]);if(D)var Px=[0,[0,Zm0,tx(D[1])],0],qx=Y(rh0,C0,0,[0,[0,xh0,kx(u0)],Px]);else var qx=kx(u0);return Y(uh0,C0,0,[0,[0,nh0,Sx],[0,[0,th0,qx],[0,[0,eh0,!!nx],0]]])}function J0(X){var A=X[2],D=X[1];switch(A[0]){case 0:var u0=A[1],k0=u0[4],C0=u0[1],nx=[0,[0,wh0,!!u0[2]],[0,[0,bh0,!!u0[3]],0]],Sx=[0,[0,Th0,jr(function(sr){var Xr=sr[2],Cr=Xr[1],Jr=sr[1],bx=[0,[0,yh0,qr(Xr[2])],0];return Y(_h0,Jr,0,[0,[0,gh0,j0(Cr)],bx])},C0)],nx];return Y(Eh0,D,S2(k0),Sx);case 1:var Px=A[1],qx=Px[4],lr=Px[1],tr=[0,[0,Ah0,!!Px[2]],[0,[0,Sh0,!!Px[3]],0]],br=[0,[0,Ih0,jr(function(sr){var Xr=sr[2],Cr=Xr[1],Jr=sr[1],bx=[0,[0,mh0,Gx(Xr[2])],0];return Y(dh0,Jr,0,[0,[0,hh0,j0(Cr)],bx])},lr)],tr];return Y(jh0,D,S2(qx),br);case 2:var pr=A[1],ur=pr[1],Tr=pr[4],Br=pr[3],Or=pr[2];if(ur[0]===0)var Wr=ur[1],t2=xn(function(sr){var Xr=sr[1];return Y(kh0,Xr,0,[0,[0,ph0,j0(sr[2][1])],0])},Wr);else var Pr=ur[1],t2=xn(function(sr){var Xr=sr[2],Cr=Xr[1],Jr=sr[1],bx=[0,[0,oh0,Ex(Xr[2])],0];return Y(lh0,Jr,0,[0,[0,vh0,j0(Cr)],bx])},Pr);var p2=[0,[0,Oh0,M2(t2)],[0,[0,Nh0,!!Or],[0,[0,Ph0,!!Br],0]]];return Y(Ch0,D,S2(Tr),p2);case 3:var o2=A[1],n2=o2[3],c2=o2[1],w2=[0,[0,Dh0,!!o2[2]],0],k2=[0,[0,Rh0,jr(function(sr){var Xr=sr[1];return Y(ah0,Xr,0,[0,[0,sh0,j0(sr[2][1])],0])},c2)],w2];return Y(Fh0,D,S2(n2),k2);default:var v2=A[1],q2=v2[4],s1=v2[1],O1=[0,[0,Mh0,!!v2[2]],[0,[0,Lh0,!!v2[3]],0]],xe=[0,[0,Uh0,jr(function(sr){var Xr=sr[2],Cr=Xr[1],Jr=sr[1],bx=[0,[0,ih0,$0(Xr[2])],0];return Y(ch0,Jr,0,[0,[0,fh0,j0(Cr)],bx])},s1)],O1];return Y(qh0,D,S2(q2),xe)}}function Rx(X){var A=X[2],D=A[1],u0=A[3],k0=A[2],C0=X[1],nx=D[0]===0?j0(D[1]):zs(D[1]);return Y(Hh0,C0,u0,[0,[0,$h0,nx],[0,[0,Wh0,Tx(cn,k0)],0]])}function kx(X){var A=X[2],D=X[1];switch(A[0]){case 0:var u0=A[1],k0=u0[3],C0=u0[1],nx=[0,[0,Qh0,d3(hx,u0[2])],0],Sx=[0,[0,Zh0,jr(un,C0)],nx];return Y(xd0,D,S2(k0),Sx);case 1:var Px=A[1],qx=Px[3],lr=Px[1],tr=[0,[0,rd0,d3(hx,Px[2])],0],br=[0,[0,ed0,jr(Fr,lr)],tr];return Y(td0,D,S2(qx),br);case 2:return b2(D,A[1]);default:return tx(A[1])}}function Jx(X){var A=X[2],D=A[2],u0=A[1],k0=X[1];if(!D)return kx(u0);var C0=[0,[0,nd0,tx(D[1])],0];return Y(id0,k0,0,[0,[0,ud0,kx(u0)],C0])}function gr(X){var A=X[2],D=A[2],u0=X[1];return Y(sd0,u0,D,[0,[0,cd0,uo],[0,[0,fd0,hx(A[1])],0]])}function Zx(X){var A=X[2],D=A[3],u0=A[2],k0=A[1];if(D){var C0=D[1],nx=C0[2],Sx=nx[2],Px=C0[1],qx=Y(od0,Px,Sx,[0,[0,ad0,kx(nx[1])],0]),lr=vx([0,qx,th(Jx,u0)]),tr=k0?[0,gr(k0[1]),lr]:lr;return M2(tr)}var br=xn(Jx,u0),pr=k0?[0,gr(k0[1]),br]:br;return M2(pr)}function er(X,A){var D=A[2];return Y(ld0,X,D,[0,[0,vd0,kx(A[1])],0])}function Fr(X){switch(X[0]){case 0:var A=X[1],D=A[2],u0=D[2],k0=D[1],C0=A[1];if(!u0)return kx(k0);var nx=[0,[0,pd0,tx(u0[1])],0];return Y(md0,C0,0,[0,[0,kd0,kx(k0)],nx]);case 1:var Sx=X[1];return er(Sx[1],Sx[2]);default:return _1}}function hx(X){var A=X[1];return Y(Ig0,A,0,[0,[0,Ag0,_r(X[2])],0])}function z1(X){switch(X[0]){case 0:return _1;case 1:return hx(X[1]);default:var A=X[1],D=A[2],u0=A[1];return Y(Pg0,u0,0,[0,[0,jg0,Da([0,D[1],D[2]])],0])}}function Ks(X){if(X[0]===0){var A=X[1],D=A[2],u0=A[1];switch(D[0]){case 0:var k0=D[3],C0=D[1],ur=0,Tr=k0,Br=0,Or=hd0,Wr=tx(D[2]),Pr=C0;break;case 1:var nx=D[2],Sx=D[1],ur=0,Tr=0,Br=1,Or=dd0,Wr=cr([0,nx[1],nx[2]]),Pr=Sx;break;case 2:var Px=D[2],qx=D[3],lr=D[1],ur=qx,Tr=0,Br=0,Or=yd0,Wr=cr([0,Px[1],Px[2]]),Pr=lr;break;default:var tr=D[2],br=D[3],pr=D[1],ur=br,Tr=0,Br=0,Or=gd0,Wr=cr([0,tr[1],tr[2]]),Pr=pr}switch(Pr[0]){case 0:var c2=ur,w2=0,k2=Ex(Pr[1]);break;case 1:var c2=ur,w2=0,k2=Gx(Pr[1]);break;case 2:var c2=ur,w2=0,k2=$0(Pr[1]);break;case 3:var c2=ur,w2=0,k2=j0(Pr[1]);break;case 4:var t2=gx(_d0),c2=t2[3],w2=t2[2],k2=t2[1];break;default:var p2=Pr[1][2],o2=p2[1],n2=N1(p2[2],ur),c2=n2,w2=1,k2=tx(o2)}return Y(Id0,u0,c2,[0,[0,Ad0,k2],[0,[0,Sd0,Wr],[0,[0,Ed0,Qx(Or)],[0,[0,Td0,!!Br],[0,[0,wd0,!!Tr],[0,[0,bd0,!!w2],0]]]]]])}var v2=X[1],q2=v2[2],s1=q2[2],O1=v2[1];return Y(Pd0,O1,s1,[0,[0,jd0,tx(q2[1])],0])}function un(X){if(X[0]!==0){var A=X[1];return er(A[1],A[2])}var D=X[1],u0=D[2],k0=u0[3],C0=u0[2],nx=u0[1],Sx=u0[4],Px=D[1];switch(nx[0]){case 0:var tr=0,br=0,pr=Ex(nx[1]);break;case 1:var tr=0,br=0,pr=Gx(nx[1]);break;case 2:var tr=0,br=0,pr=$0(nx[1]);break;case 3:var tr=0,br=0,pr=j0(nx[1]);break;default:var qx=nx[1][2],lr=qx[2],tr=lr,br=1,pr=tx(qx[1])}if(k0)var ur=k0[1],Tr=Zr(C0[1],ur[1]),Br=[0,[0,Nd0,tx(ur)],0],Or=Y(Cd0,Tr,0,[0,[0,Od0,kx(C0)],Br]);else var Or=kx(C0);return Y(qd0,Px,tr,[0,[0,Ud0,pr],[0,[0,Md0,Or],[0,[0,Ld0,$7],[0,[0,Fd0,!1],[0,[0,Rd0,!!Sx],[0,[0,Dd0,!!br],0]]]]]])}function fn(X){var A=X[2],D=A[2],u0=X[1];return Y(Xd0,u0,D,[0,[0,Bd0,tx(A[1])],0])}function Go(X){return X[0]===0?tx(X[1]):fn(X[1])}function Wo(X){switch(X[0]){case 0:return tx(X[1]);case 1:return fn(X[1]);default:return _1}}function $o(X){var A=X[2],D=A[1],u0=A[2],k0=X[1];return Y(_50,k0,0,[0,[0,g50,Vc([0,[0,d50,Qx(D[1])],[0,[0,h50,Qx(D[2])],0]])],[0,[0,y50,!!u0],0]])}function Na(X){switch(X){case 0:return E50;case 1:return S50;default:return A50}}function Ho(X){var A=X[2],D=A[1],u0=X[1],k0=[0,[0,N50,Tx(tx,A[2])],0];return Y(C50,u0,0,[0,[0,O50,kx(D)],k0])}function st(X){var A=X[2],D=A[2],u0=X[1];switch(A[1]){case 0:var k0=D50;break;case 1:var k0=R50;break;case 2:var k0=F50;break;case 3:var k0=L50;break;case 4:var k0=M50;break;default:var k0=U50}return Y(B50,u0,D,[0,[0,q50,Qx(k0)],0])}function Ys(X,A,D,u0){return Y(Z90,X,A,[0,[0,Q90,Qx(D)],[0,[0,H90,_r(u0)],0]])}function Oa(X,A){var D=A[3],u0=A[2];switch(A[4]){case 0:var k0=G90;break;case 1:var k0=W90;break;default:var k0=$90}return Ys(X,D,k0,u0)}function Ca(X){var A=X[2],D=A[1],u0=A[3],k0=A[2],C0=X[1],nx=D[0]===0?j0(D[1]):zs(D[1]);return Y(P90,C0,u0,[0,[0,j90,nx],[0,[0,I90,Tx(cn,k0)],0]])}function at(X,A){var D=A[2],u0=D[4],k0=D[3],C0=D[2],nx=D[1],Sx=A[1],Px=u1(function(Or,Wr){var Pr=Or[4],t2=Or[3],p2=Or[2],o2=Or[1];switch(Wr[0]){case 0:var n2=Wr[1],c2=n2[2],w2=c2[2],k2=c2[1],v2=c2[8],q2=c2[7],s1=c2[6],O1=c2[5],xe=c2[4],sr=c2[3],Xr=n2[1];switch(k2[0]){case 0:var Cr=Ex(k2[1]);break;case 1:var Cr=Gx(k2[1]);break;case 2:var Cr=$0(k2[1]);break;case 3:var Cr=j0(k2[1]);break;case 4:var Cr=gx(Py0);break;default:var Cr=gx(Ny0)}switch(w2[0]){case 0:var le=Oy0,pe=_r(w2[1]);break;case 1:var Jr=w2[1],le=Cy0,pe=Gc([0,Jr[1],Jr[2]]);break;default:var bx=w2[1],le=Dy0,pe=Gc([0,bx[1],bx[2]])}return[0,[0,Y(Jy0,Xr,v2,[0,[0,Xy0,Cr],[0,[0,By0,pe],[0,[0,qy0,!!s1],[0,[0,Uy0,!!sr],[0,[0,My0,!!xe],[0,[0,Ly0,!!O1],[0,[0,Fy0,Tx(st,q2)],[0,[0,Ry0,Qx(le)],0]]]]]]]]),o2],p2,t2,Pr];case 1:var Re=Wr[1],b1=Re[2],$r=b1[2],re=Re[1];return[0,[0,Y(Yy0,re,$r,[0,[0,Ky0,_r(b1[1])],0]),o2],p2,t2,Pr];case 2:var x1=Wr[1],C1=x1[2],w1=C1[6],lt=C1[4],Rt=C1[3],Fe=C1[2],D1=C1[1],Le=x1[1],ke=[0,[0,Vy0,!!lt],[0,[0,zy0,Tx(st,C1[5])],0]],ee=[0,[0,Gy0,_r(Rt)],ke],a1=[0,[0,Wy0,_r(Fe)],ee];return[0,o2,[0,Y(Hy0,Le,w1,[0,[0,$y0,Tx(j0,D1)],a1]),p2],t2,Pr];case 3:var Me=Wr[1],V1=Me[2],Ft=V1[3],Ue=Me[1],qe=[0,[0,Qy0,!!V1[2]],0];return[0,o2,p2,[0,Y(x90,Ue,Ft,[0,[0,Zy0,Gc(V1[1])],qe]),t2],Pr];case 4:var r1=Wr[1],T1=r1[2],Be=T1[6],$c=T1[5],Hc=T1[4],Qc=T1[3],me=T1[1],Xe=r1[1],Lt=[0,[0,a90,!!Qc],[0,[0,s90,!!Hc],[0,[0,c90,!!$c],[0,[0,f90,_r(T1[2])],0]]]];return[0,o2,p2,t2,[0,Y(v90,Xe,Be,[0,[0,o90,j0(me)],Lt]),Pr]];default:var Je=Wr[1],E1=Je[2],on=E1[6],vn=E1[4],Zc=E1[3],Ke=E1[2],Ye=E1[1],ln=Je[1],pn=0;switch(E1[5]){case 0:var he="PlusOptional";break;case 1:var he="MinusOptional";break;case 2:var he="Optional";break;default:var he=_1}var kn=[0,[0,e90,Tx(st,vn)],[0,[0,r90,he],pn]],Hs=[0,[0,t90,_r(Zc)],kn],xs=[0,[0,n90,_r(Ke)],Hs];return[0,[0,Y(i90,ln,on,[0,[0,u90,Wc(Ye)],xs]),o2],p2,t2,Pr]}},by0,k0),qx=Px[3],lr=Px[2],tr=Px[1],br=[0,[0,wy0,M2(vx(Px[4]))],0],pr=[0,[0,Ty0,M2(vx(qx))],br],ur=[0,[0,Ey0,M2(vx(lr))],pr],Tr=[0,[0,Ay0,!!nx],[0,[0,Sy0,M2(vx(tr))],ur]],Br=X?[0,[0,Iy0,!!C0],Tr]:Tr;return Y(jy0,Sx,S2(u0),Br)}function Gc(X){var A=X[2],D=A[5],u0=A[3],k0=A[2][2],C0=A[4],nx=k0[3],Sx=k0[2],Px=k0[1],qx=A[1],lr=X[1],tr=N1(S2(k0[4]),C0),br=D===0?fy0:cy0,pr=D===0?0:[0,[0,sy0,Tx(Fa,Px)],0],ur=[0,[0,ay0,Tx(K2,qx)],0],Tr=[0,[0,oy0,Tx(Qo,nx)],ur],Br=u0[0]===0?_r(u0[1]):Da(u0[1]),Or=[0,[0,vy0,Br],Tr];return Y(br,lr,tr,Fx([0,[0,ly0,jr(function(Wr){return Ra(0,Wr)},Sx)],Or],pr))}function _r(X){var A=X[2],D=X[1];switch(A[0]){case 0:return Y(X50,D,A[1],0);case 1:return Y(J50,D,A[1],0);case 2:return Y(K50,D,A[1],0);case 3:return Y(Y50,D,A[1],0);case 4:return Y(z50,D,A[1],0);case 5:return Y(G50,D,A[1],0);case 6:return Y(W50,D,A[1],0);case 7:return Y($50,D,A[1],0);case 8:return Y(H50,D,A[2],0);case 9:return Y(V50,D,A[1],0);case 10:return Y(Sg0,D,A[1],0);case 11:var u0=A[1],k0=u0[2];return Y(Z50,D,k0,[0,[0,Q50,_r(u0[1])],0]);case 12:return Gc([0,D,A[1]]);case 13:var C0=A[1],nx=C0[2],Sx=C0[4],Px=C0[3],qx=C0[1],lr=N1(S2(nx[2][3]),Sx),tr=nx[2],br=tr[2],pr=tr[1],ur=[0,[0,d80,Tx(K2,qx)],0],Tr=[0,[0,y80,ot(Px)],ur],Br=[0,[0,g80,Tx(G,br)],Tr];return Y(b80,D,lr,[0,[0,_80,U2(pr)],Br]);case 14:return at(1,[0,D,A[1]]);case 15:var Or=A[1],Wr=Or[3],Pr=Or[2],t2=[0,[0,l90,at(0,Or[1])],0];return Y(k90,D,Wr,[0,[0,p90,jr(Rx,Pr)],t2]);case 16:var p2=A[1],o2=p2[2];return Y(h90,D,o2,[0,[0,m90,_r(p2[1])],0]);case 17:var n2=A[1],c2=n2[5],w2=n2[3],k2=n2[2],v2=n2[1],q2=[0,[0,d90,_r(n2[4])],0],s1=[0,[0,y90,_r(w2)],q2],O1=[0,[0,g90,_r(k2)],s1];return Y(b90,D,c2,[0,[0,_90,_r(v2)],O1]);case 18:var xe=A[1],sr=xe[2];return Y(T90,D,sr,[0,[0,w90,Wc(xe[1])],0]);case 19:return Ca([0,D,A[1]]);case 20:var Xr=A[1],Cr=Xr[3];return Y(C90,D,Cr,La(Xr));case 21:var Jr=A[1],bx=Jr[1],le=bx[3],pe=[0,[0,D90,!!Jr[2]],0];return Y(R90,D,le,Fx(La(bx),pe));case 22:var Re=A[1],b1=Re[1],$r=Re[2];return Y(L90,D,$r,[0,[0,F90,jr(_r,[0,b1[1],[0,b1[2],b1[3]]])],0]);case 23:var re=A[1],x1=re[1],C1=re[2];return Y(U90,D,C1,[0,[0,M90,jr(_r,[0,x1[1],[0,x1[2],x1[3]]])],0]);case 24:var w1=A[1],lt=w1[2],Rt=w1[3],Fe=w1[1],D1=lt?[0,[0,q90,cn(lt[1])],0]:0;return Y(X90,D,Rt,[0,[0,B90,Vs(Fe)],D1]);case 25:var Le=A[1],ke=Le[2];return Y(V90,D,ke,[0,[0,z90,_r(Le[1])],0]);case 26:return Oa(D,A[1]);case 27:var ee=A[1];return Ys(D,ee[2],xg0,ee[1]);case 28:var a1=A[1],Me=a1[3],V1=a1[1],Ft=[0,[0,rg0,!!a1[2]],0];return Y(tg0,D,Me,[0,[0,eg0,jr(function(me){var Xe=me[2],Lt=me[1];switch(Xe[0]){case 0:return _r(Xe[1]);case 1:var Je=Xe[1],E1=Je[2],on=Je[1],vn=[0,[0,ng0,!!Je[4]],0],Zc=[0,[0,ug0,Tx(st,Je[3])],vn],Ke=[0,[0,ig0,_r(E1)],Zc];return Y(cg0,Lt,0,[0,[0,fg0,j0(on)],Ke]);default:var Ye=Xe[1],ln=Ye[1],pn=[0,[0,sg0,_r(Ye[2])],0];return Y(og0,Lt,0,[0,[0,ag0,Tx(j0,ln)],pn])}},V1)],Ft]);case 29:var Ue=A[1];return Y(pg0,D,Ue[3],[0,[0,lg0,Qx(Ue[1])],[0,[0,vg0,Qx(Ue[2])],0]]);case 30:var qe=A[1];return Y(hg0,D,qe[3],[0,[0,mg0,qe[1]],[0,[0,kg0,Qx(qe[2])],0]]);case 31:var r1=A[1];return Y(gg0,D,r1[3],[0,[0,yg0,_1],[0,[0,dg0,Qx(r1[2])],0]]);case 32:var T1=A[1],Be=T1[1],$c=T1[2],Hc=0,Qc=Be?_g0:bg0;return Y(Eg0,D,$c,[0,[0,Tg0,!!Be],[0,[0,wg0,Qx(Qc)],Hc]]);case 33:return Y(xy0,D,A[1],0);case 34:return Y(ry0,D,A[1],0);default:return Y(ey0,D,A[1],0)}}function Da(X){var A=X[2],D=A[2],u0=A[3],k0=D[2],C0=D[1],nx=X[1];switch(A[1]){case 0:var Sx=_1;break;case 1:var Sx=hv;break;default:var Sx=ov}var Px=[0,[0,ny0,Tx(_r,k0)],[0,[0,ty0,Sx],0]],qx=[0,[0,uy0,j0(C0)],Px];return Y(iy0,nx,S2(u0),qx)}function Ra(X,A){var D=A[2],u0=D[1],k0=A[1],C0=[0,[0,py0,!!D[3]],0],nx=[0,[0,ky0,_r(D[2])],C0];return Y(hy0,k0,X,[0,[0,my0,Tx(j0,u0)],nx])}function Qo(X){var A=X[2];return Ra(A[2],A[1])}function Fa(X){var A=X[2],D=A[2],u0=X[1],k0=[0,[0,yy0,_r(A[1][2])],[0,[0,dy0,!1],0]];return Y(_y0,u0,D,[0,[0,gy0,Tx(j0,0)],k0])}function zs(X){var A=X[2],D=A[1],u0=A[2],k0=X[1],C0=D[0]===0?j0(D[1]):zs(D[1]);return Y(A90,k0,0,[0,[0,S90,C0],[0,[0,E90,j0(u0)],0]])}function La(X){var A=X[1],D=[0,[0,N90,_r(X[2])],0];return[0,[0,O90,_r(A)],D]}function Vs(X){if(X[0]===0)return j0(X[1]);var A=X[1],D=A[2],u0=D[2],k0=A[1],C0=Vs(D[1]);return Y(Y90,k0,0,[0,[0,K90,C0],[0,[0,J90,j0(u0)],0]])}function ot(X){return X[0]===0?_1:Oa(X[1],X[2])}function K2(X){var A=X[2],D=A[2],u0=X[1],k0=[0,[0,Ng0,jr(Wc,A[1])],0];return Y(Og0,u0,S2(D),k0)}function Wc(X){var A=X[2],D=A[1][2],u0=A[5],k0=A[4],C0=A[2],nx=D[2],Sx=D[1],Px=X[1],qx=A[3]?[0,[0,Cg0,!0],0]:0,lr=[0,[0,Dg0,Tx(_r,u0)],0],tr=[0,[0,Rg0,Tx(st,k0)],lr];return Y(Mg0,Px,nx,Fx([0,[0,Lg0,Qx(Sx)],[0,[0,Fg0,d3(hx,C0)],tr]],qx))}function cn(X){var A=X[2],D=A[2],u0=X[1],k0=[0,[0,Ug0,jr(_r,A[1])],0];return Y(qg0,u0,S2(D),k0)}function Gs(X){var A=X[2],D=A[2],u0=X[1],k0=[0,[0,Bg0,jr(Ma,A[1])],0];return Y(Xg0,u0,S2(D),k0)}function Ma(X){if(X[0]===0)return _r(X[1]);var A=X[1],D=A[1],u0=A[2][1];return Ca([0,D,[0,[0,rn(0,[0,D,Jg0])],0,u0]])}function Ws(X){if(X[0]===0){var A=X[1],D=A[2],u0=D[1],k0=D[2],C0=A[1],nx=u0[0]===0?vt(u0[1]):Xa(u0[1]);return Y(s_0,C0,0,[0,[0,c_0,nx],[0,[0,f_0,Tx(xv,k0)],0]])}var Sx=X[1],Px=Sx[2],qx=Px[2],lr=Sx[1];return Y(o_0,lr,qx,[0,[0,a_0,tx(Px[1])],0])}function Ua(X){var A=X[1];return Y(u_0,A,0,[0,[0,n_0,Zo(X[2][1])],0])}function qa(X){var A=X[2],D=A[1],u0=X[1],k0=A[2],C0=D?tx(D[1]):Y(v_0,[0,u0[1],[0,u0[2][1],u0[2][2]+1|0],[0,u0[3][1],u0[3][2]-1|0]],0,0);return Y(p_0,u0,S2(k0),[0,[0,l_0,C0],0])}function Ba(X){var A=X[2],D=X[1];switch(A[0]){case 0:return Lx([0,D,A[1]]);case 1:return zx([0,D,A[1]]);case 2:return qa([0,D,A[1]]);case 3:var u0=A[1],k0=u0[2];return Y(m_0,D,k0,[0,[0,k_0,tx(u0[1])],0]);default:var C0=A[1];return Y(y_0,D,0,[0,[0,d_0,Qx(C0[1])],[0,[0,h_0,Qx(C0[2])],0]])}}function vt(X){var A=X[2];return Y(A_0,X[1],A[2],[0,[0,S_0,Qx(A[1])],0])}function Xa(X){var A=X[2],D=A[1],u0=X[1],k0=[0,[0,w_0,vt(A[2])],0];return Y(E_0,u0,0,[0,[0,T_0,vt(D)],k0])}function Ja(X){var A=X[2],D=A[1],u0=A[2],k0=X[1],C0=D[0]===0?vt(D[1]):Ja(D[1]);return Y(b_0,k0,0,[0,[0,__0,C0],[0,[0,g_0,vt(u0)],0]])}function Zo(X){switch(X[0]){case 0:return vt(X[1]);case 1:return Xa(X[1]);default:return Ja(X[1])}}function xv(X){if(X[0]===0){var A=X[1];return Ex([0,A[1],A[2]])}var D=X[1];return qa([0,D[1],D[2]])}function y3(X){var A=X[2],D=A[2],u0=A[1],k0=X[1],C0=j0(D?D[1]:u0);return Y(P_0,k0,0,[0,[0,j_0,j0(u0)],[0,[0,I_0,C0],0]])}function sn(X){return jr(rv,X)}function rv(X){var A=X[2],D=X[1];if(A[1])var u0=A[2],k0=U_0;else var u0=A[2],k0=q_0;return Y(k0,D,0,[0,[0,B_0,Qx(u0)],0])}function an(X){var A=X[2],D=A[1],u0=A[2],k0=X[1];if(D)var C0=[0,[0,X_0,tx(D[1])],0],nx=J_0;else var C0=0,nx=K_0;return Y(nx,k0,u0,C0)}function Ka(X){var A=X[2],D=X[1],u0=[0,[0,Y_0,Ux(X[3])],0],k0=[0,[0,z_0,Tx(Gs,A)],u0];return[0,[0,V_0,tx(D)],k0]}function O6(X){var A=X[2],D=X[1];switch(A[0]){case 0:var u0=0,k0=j0(A[1]);break;case 1:var u0=0,k0=Mx(A[1]);break;default:var u0=1,k0=tx(A[1])}return[0,[0,$_0,tx(D)],[0,[0,W_0,k0],[0,[0,G_0,!!u0],0]]]}var $s=Hx[2],C6=$s[2],D6=$s[4],Xd=$s[3],Jd=Hx[1],Kd=jx($s[1]),R6=[0,[0,Vl0,Kd],[0,[0,zl0,sn(D6)],0]];if(C6)var F6=C6[1],L6=Fx(R6,[0,[0,$l0,Y(Wl0,F6[1],0,[0,[0,Gl0,Qx(F6[2])],0])],0]);else var L6=R6;var g3=Y(Hl0,Jd,Xd,L6),Yd=Fx(g0,OK[1]);if(g3.errors=jr(function(X){var A=X[1],D=[0,[0,H_0,Qx($b0(X[2]))],0];return Vc([0,[0,Q_0,DK(A)],D])},Yd),y){var zd=P[1];g3[dR]=M2(th(function(X){var A=X[2],D=X[1],u0=X[3],k0=[0,[0,ao0,Qx($N(A))],0],C0=[0,ud(Z0,D[3]),0],nx=[0,[0,oo0,M2([0,ud(Z0,D[2]),C0])],k0],Sx=[0,[0,po0,Vc([0,[0,lo0,D[3][1]],[0,[0,vo0,D[3][2]],0]])],0],Px=[0,[0,do0,Vc([0,[0,ho0,Vc([0,[0,mo0,D[2][1]],[0,[0,ko0,D[2][2]],0]])],Sx])],nx];switch(u0){case 0:var qx=yo0;break;case 1:var qx=go0;break;case 2:var qx=_o0;break;case 3:var qx=bo0;break;case 4:var qx=wo0;break;default:var qx=To0}return Vc([0,[0,So0,Qx(TB(A))],[0,[0,Eo0,Qx(qx)],Px]])},zd))}return g3}if(typeof AD<"u")var RK=AD;else{var FK={};Js.flow=FK;var RK=FK}RK.parse=FY(function(x,r){try{var e=CT0(x,r);return e}catch(u){var t=O2(u);return t[1]===OC?NK(t[2]):NK(new NT0(Qx(Bx(pb0,sh(t)))))}}),iN(R)})(globalThis)});var DD={};LK(DD,{parsers:()=>CD});var CD={};LK(CD,{flow:()=>gj0});var eY=VI0(MK(),1);function GI0(a0,ox){let $x=new SyntaxError(a0+" ("+ox.loc.start.line+":"+ox.loc.start.column+")");return Object.assign($x,ox)}var UK=GI0;var WI0=(a0,ox,$x)=>{if(!(a0&&ox==null))return Array.isArray(ox)||typeof ox=="string"?ox[$x<0?ox.length+$x:$x]:ox.at($x)},ID=WI0;function $I0(a0){return Array.isArray(a0)&&a0.length>0}var qK=$I0;function mt(a0){var dr,nr,Er;let ox=((dr=a0.range)==null?void 0:dr[0])??a0.start,$x=(Er=((nr=a0.declaration)==null?void 0:nr.decorators)??a0.decorators)==null?void 0:Er[0];return $x?Math.min(mt($x),ox):ox}function cs(a0){var ox;return((ox=a0.range)==null?void 0:ox[1])??a0.end}function HI0(a0){let ox=new Set(a0);return $x=>ox.has($x==null?void 0:$x.type)}var BK=HI0;var QI0=BK(["Block","CommentBlock","MultiLine"]),Rp=QI0;function ZI0(a0){let ox=`*${a0.value}*`.split(` +`);return ox.length>1&&ox.every($x=>$x.trimStart()[0]==="*")}var jD=ZI0;function xj0(a0){return Rp(a0)&&a0.value[0]==="*"&&/@(?:type|satisfies)\b/u.test(a0.value)}var XK=xj0;var Fp=null;function Lp(a0){if(Fp!==null&&typeof Fp.property){let ox=Fp;return Fp=Lp.prototype=null,ox}return Fp=Lp.prototype=a0??Object.create(null),new Lp}var rj0=10;for(let a0=0;a0<=rj0;a0++)Lp();function PD(a0){return Lp(a0)}function ej0(a0,ox="type"){PD(a0);function $x(dr){let nr=dr[ox],Er=a0[nr];if(!Array.isArray(Er))throw Object.assign(new Error(`Missing visitor keys for '${nr}'.`),{node:dr});return Er}return $x}var JK=ej0;var KK={ArrayExpression:["elements"],AssignmentExpression:["left","right"],BinaryExpression:["left","right"],InterpreterDirective:[],Directive:["value"],DirectiveLiteral:[],BlockStatement:["directives","body"],BreakStatement:["label"],CallExpression:["callee","arguments","typeParameters","typeArguments"],CatchClause:["param","body"],ConditionalExpression:["test","consequent","alternate"],ContinueStatement:["label"],DebuggerStatement:[],DoWhileStatement:["test","body"],EmptyStatement:[],ExpressionStatement:["expression"],File:["program"],ForInStatement:["left","right","body"],ForStatement:["init","test","update","body"],FunctionDeclaration:["id","params","body","returnType","typeParameters","predicate"],FunctionExpression:["id","params","body","returnType","typeParameters"],Identifier:["typeAnnotation","decorators"],IfStatement:["test","consequent","alternate"],LabeledStatement:["label","body"],StringLiteral:[],NumericLiteral:[],NullLiteral:[],BooleanLiteral:[],RegExpLiteral:[],LogicalExpression:["left","right"],MemberExpression:["object","property"],NewExpression:["callee","arguments","typeParameters","typeArguments"],Program:["directives","body"],ObjectExpression:["properties"],ObjectMethod:["key","params","body","decorators","returnType","typeParameters"],ObjectProperty:["key","value","decorators"],RestElement:["argument","typeAnnotation","decorators"],ReturnStatement:["argument"],SequenceExpression:["expressions"],ParenthesizedExpression:["expression"],SwitchCase:["test","consequent"],SwitchStatement:["discriminant","cases"],ThisExpression:[],ThrowStatement:["argument"],TryStatement:["block","handler","finalizer"],UnaryExpression:["argument"],UpdateExpression:["argument"],VariableDeclaration:["declarations"],VariableDeclarator:["id","init"],WhileStatement:["test","body"],WithStatement:["object","body"],AssignmentPattern:["left","right","decorators","typeAnnotation"],ArrayPattern:["elements","typeAnnotation","decorators"],ArrowFunctionExpression:["params","body","returnType","typeParameters","predicate"],ClassBody:["body"],ClassExpression:["id","body","superClass","mixins","typeParameters","superTypeParameters","implements","decorators","superTypeArguments"],ClassDeclaration:["id","body","superClass","mixins","typeParameters","superTypeParameters","implements","decorators","superTypeArguments"],ExportAllDeclaration:["source","attributes","exported"],ExportDefaultDeclaration:["declaration"],ExportNamedDeclaration:["declaration","specifiers","source","attributes"],ExportSpecifier:["local","exported"],ForOfStatement:["left","right","body"],ImportDeclaration:["specifiers","source","attributes"],ImportDefaultSpecifier:["local"],ImportNamespaceSpecifier:["local"],ImportSpecifier:["local","imported"],ImportExpression:["source","options","attributes"],MetaProperty:["meta","property"],ClassMethod:["key","params","body","decorators","returnType","typeParameters"],ObjectPattern:["properties","typeAnnotation","decorators"],SpreadElement:["argument"],Super:[],TaggedTemplateExpression:["tag","quasi","typeParameters","typeArguments"],TemplateElement:[],TemplateLiteral:["quasis","expressions"],YieldExpression:["argument"],AwaitExpression:["argument"],Import:[],BigIntLiteral:[],ExportNamespaceSpecifier:["exported"],OptionalMemberExpression:["object","property"],OptionalCallExpression:["callee","arguments","typeParameters","typeArguments"],ClassProperty:["key","value","typeAnnotation","decorators","variance"],ClassAccessorProperty:["key","value","typeAnnotation","decorators"],ClassPrivateProperty:["key","value","decorators","typeAnnotation","variance"],ClassPrivateMethod:["key","params","body","decorators","returnType","typeParameters"],PrivateName:["id"],StaticBlock:["body"],AnyTypeAnnotation:[],ArrayTypeAnnotation:["elementType"],BooleanTypeAnnotation:[],BooleanLiteralTypeAnnotation:[],NullLiteralTypeAnnotation:[],ClassImplements:["id","typeParameters"],DeclareClass:["id","typeParameters","extends","mixins","implements","body"],DeclareFunction:["id","predicate"],DeclareInterface:["id","typeParameters","extends","body"],DeclareModule:["id","body"],DeclareModuleExports:["typeAnnotation"],DeclareTypeAlias:["id","typeParameters","right"],DeclareOpaqueType:["id","typeParameters","supertype"],DeclareVariable:["id"],DeclareExportDeclaration:["declaration","specifiers","source"],DeclareExportAllDeclaration:["source"],DeclaredPredicate:["value"],ExistsTypeAnnotation:[],FunctionTypeAnnotation:["typeParameters","params","rest","returnType","this"],FunctionTypeParam:["name","typeAnnotation"],GenericTypeAnnotation:["id","typeParameters"],InferredPredicate:[],InterfaceExtends:["id","typeParameters"],InterfaceDeclaration:["id","typeParameters","extends","body"],InterfaceTypeAnnotation:["extends","body"],IntersectionTypeAnnotation:["types"],MixedTypeAnnotation:[],EmptyTypeAnnotation:[],NullableTypeAnnotation:["typeAnnotation"],NumberLiteralTypeAnnotation:[],NumberTypeAnnotation:[],ObjectTypeAnnotation:["properties","indexers","callProperties","internalSlots"],ObjectTypeInternalSlot:["id","value"],ObjectTypeCallProperty:["value"],ObjectTypeIndexer:["id","key","value","variance"],ObjectTypeProperty:["key","value","variance"],ObjectTypeSpreadProperty:["argument"],OpaqueType:["id","typeParameters","supertype","impltype"],QualifiedTypeIdentifier:["id","qualification"],StringLiteralTypeAnnotation:[],StringTypeAnnotation:[],SymbolTypeAnnotation:[],ThisTypeAnnotation:[],TupleTypeAnnotation:["types","elementTypes"],TypeofTypeAnnotation:["argument","typeArguments"],TypeAlias:["id","typeParameters","right"],TypeAnnotation:["typeAnnotation"],TypeCastExpression:["expression","typeAnnotation"],TypeParameter:["bound","default","variance"],TypeParameterDeclaration:["params"],TypeParameterInstantiation:["params"],UnionTypeAnnotation:["types"],Variance:[],VoidTypeAnnotation:[],EnumDeclaration:["id","body"],EnumBooleanBody:["members"],EnumNumberBody:["members"],EnumStringBody:["members"],EnumSymbolBody:["members"],EnumBooleanMember:["id","init"],EnumNumberMember:["id","init"],EnumStringMember:["id","init"],EnumDefaultedMember:["id"],IndexedAccessType:["objectType","indexType"],OptionalIndexedAccessType:["objectType","indexType"],JSXAttribute:["name","value"],JSXClosingElement:["name"],JSXElement:["openingElement","children","closingElement"],JSXEmptyExpression:[],JSXExpressionContainer:["expression"],JSXSpreadChild:["expression"],JSXIdentifier:[],JSXMemberExpression:["object","property"],JSXNamespacedName:["namespace","name"],JSXOpeningElement:["name","attributes","typeArguments","typeParameters"],JSXSpreadAttribute:["argument"],JSXText:[],JSXFragment:["openingFragment","children","closingFragment"],JSXOpeningFragment:[],JSXClosingFragment:[],Noop:[],Placeholder:[],V8IntrinsicIdentifier:[],ArgumentPlaceholder:[],BindExpression:["object","callee"],ImportAttribute:["key","value"],Decorator:["expression"],DoExpression:["body"],ExportDefaultSpecifier:["exported"],RecordExpression:["properties"],TupleExpression:["elements"],DecimalLiteral:[],ModuleExpression:["body"],TopicReference:[],PipelineTopicExpression:["expression"],PipelineBareFunction:["callee"],PipelinePrimaryTopicReference:[],TSParameterProperty:["parameter","decorators"],TSDeclareFunction:["id","typeParameters","params","returnType","body"],TSDeclareMethod:["decorators","key","typeParameters","params","returnType"],TSQualifiedName:["left","right"],TSCallSignatureDeclaration:["typeParameters","parameters","typeAnnotation","params","returnType"],TSConstructSignatureDeclaration:["typeParameters","parameters","typeAnnotation","params","returnType"],TSPropertySignature:["key","typeAnnotation"],TSMethodSignature:["key","typeParameters","parameters","typeAnnotation","params","returnType"],TSIndexSignature:["parameters","typeAnnotation"],TSAnyKeyword:[],TSBooleanKeyword:[],TSBigIntKeyword:[],TSIntrinsicKeyword:[],TSNeverKeyword:[],TSNullKeyword:[],TSNumberKeyword:[],TSObjectKeyword:[],TSStringKeyword:[],TSSymbolKeyword:[],TSUndefinedKeyword:[],TSUnknownKeyword:[],TSVoidKeyword:[],TSThisType:[],TSFunctionType:["typeParameters","parameters","typeAnnotation","params","returnType"],TSConstructorType:["typeParameters","parameters","typeAnnotation","params","returnType"],TSTypeReference:["typeName","typeParameters","typeArguments"],TSTypePredicate:["parameterName","typeAnnotation"],TSTypeQuery:["exprName","typeParameters","typeArguments"],TSTypeLiteral:["members"],TSArrayType:["elementType"],TSTupleType:["elementTypes"],TSOptionalType:["typeAnnotation"],TSRestType:["typeAnnotation"],TSNamedTupleMember:["label","elementType"],TSUnionType:["types"],TSIntersectionType:["types"],TSConditionalType:["checkType","extendsType","trueType","falseType"],TSInferType:["typeParameter"],TSParenthesizedType:["typeAnnotation"],TSTypeOperator:["typeAnnotation"],TSIndexedAccessType:["objectType","indexType"],TSMappedType:["typeParameter","typeAnnotation","nameType"],TSLiteralType:["literal"],TSExpressionWithTypeArguments:["expression","typeParameters"],TSInterfaceDeclaration:["id","typeParameters","extends","body"],TSInterfaceBody:["body"],TSTypeAliasDeclaration:["id","typeParameters","typeAnnotation"],TSInstantiationExpression:["expression","typeParameters","typeArguments"],TSAsExpression:["expression","typeAnnotation"],TSSatisfiesExpression:["expression","typeAnnotation"],TSTypeAssertion:["typeAnnotation","expression"],TSEnumDeclaration:["id","members"],TSEnumMember:["id","initializer"],TSModuleDeclaration:["id","body"],TSModuleBlock:["body"],TSImportType:["argument","qualifier","typeParameters","typeArguments"],TSImportEqualsDeclaration:["id","moduleReference"],TSExternalModuleReference:["expression"],TSNonNullExpression:["expression"],TSExportAssignment:["expression"],TSNamespaceExportDeclaration:["id"],TSTypeAnnotation:["typeAnnotation"],TSTypeParameterInstantiation:["params"],TSTypeParameterDeclaration:["params"],TSTypeParameter:["constraint","default","name"],ChainExpression:["expression"],ExperimentalRestProperty:["argument"],ExperimentalSpreadProperty:["argument"],Literal:[],MethodDefinition:["decorators","key","value"],PrivateIdentifier:[],Property:["key","value"],PropertyDefinition:["decorators","key","typeAnnotation","value","variance"],AccessorProperty:["decorators","key","typeAnnotation","value"],TSAbstractAccessorProperty:["decorators","key","typeAnnotation"],TSAbstractKeyword:[],TSAbstractMethodDefinition:["key","value"],TSAbstractPropertyDefinition:["decorators","key","typeAnnotation"],TSAsyncKeyword:[],TSClassImplements:["expression","typeArguments","typeParameters"],TSDeclareKeyword:[],TSEmptyBodyFunctionExpression:["id","typeParameters","params","returnType"],TSEnumBody:["members"],TSExportKeyword:[],TSInterfaceHeritage:["expression","typeArguments","typeParameters"],TSPrivateKeyword:[],TSProtectedKeyword:[],TSPublicKeyword:[],TSReadonlyKeyword:[],TSStaticKeyword:[],TSTemplateLiteralType:["quasis","types"],AsConstExpression:["expression"],AsExpression:["expression","typeAnnotation"],BigIntLiteralTypeAnnotation:[],BigIntTypeAnnotation:[],ComponentDeclaration:["id","params","body","typeParameters","rendersType"],ComponentParameter:["name","local"],ComponentTypeAnnotation:["params","rest","typeParameters","rendersType"],ComponentTypeParameter:["name","typeAnnotation"],ConditionalTypeAnnotation:["checkType","extendsType","trueType","falseType"],DeclareComponent:["id","params","rest","typeParameters","rendersType"],DeclareEnum:["id","body"],DeclareHook:["id"],DeclareNamespace:["id","body"],EnumBigIntBody:["members"],EnumBigIntMember:["id","init"],HookDeclaration:["id","params","body","typeParameters","returnType"],HookTypeAnnotation:["params","returnType","rest","typeParameters"],InferTypeAnnotation:["typeParameter"],KeyofTypeAnnotation:["argument"],ObjectTypeMappedTypeProperty:["keyTparam","propType","sourceType","variance"],QualifiedTypeofIdentifier:["qualification","id"],TupleTypeLabeledElement:["label","elementType","variance"],TupleTypeSpreadElement:["label","typeAnnotation"],TypeOperator:["typeAnnotation"],TypePredicate:["parameterName","typeAnnotation","asserts"],NGRoot:["node"],NGPipeExpression:["left","right","arguments"],NGChainedExpression:["expressions"],NGEmptyExpression:[],NGMicrosyntax:["body"],NGMicrosyntaxKey:[],NGMicrosyntaxExpression:["expression","alias"],NGMicrosyntaxKeyedExpression:["key","expression"],NGMicrosyntaxLet:["key","value"],NGMicrosyntaxAs:["key","alias"],JsExpressionRoot:["node"],JsonRoot:["node"],TSJSDocAllType:[],TSJSDocUnknownType:[],TSJSDocNullableType:["typeAnnotation"],TSJSDocNonNullableType:["typeAnnotation"],NeverTypeAnnotation:[],UndefinedTypeAnnotation:[],UnknownTypeAnnotation:[],SatisfiesExpression:["expression","typeAnnotation"]};var tj0=JK(KK),YK=tj0;function ND(a0,ox){if(!(a0!==null&&typeof a0=="object"))return a0;if(Array.isArray(a0)){for(let dr=0;dr{var Mr;(Mr=Er.leadingComments)!=null&&Mr.some(XK)&&nr.add(mt(Er))}),a0=l5(a0,Er=>{if(Er.type==="ParenthesizedExpression"){let{expression:Mr}=Er;if(Mr.type==="TypeCastExpression")return Mr.range=[...Er.range],Mr;let Qe=mt(Er);if(!nr.has(Qe))return Mr.extra={...Mr.extra,parenthesized:!0},Mr}})}if(a0=l5(a0,nr=>{var Er;switch(nr.type){case"LogicalExpression":if(zK(nr))return OD(nr);break;case"VariableDeclaration":{let Mr=ID(!1,nr.declarations,-1);Mr!=null&&Mr.init&&dr[cs(Mr)]!==";"&&(nr.range=[mt(nr),cs(Mr)]);break}case"TSParenthesizedType":return nr.typeAnnotation;case"TSTypeParameter":if(typeof nr.name=="string"){let Mr=mt(nr);nr.name={type:"Identifier",name:nr.name,range:[Mr,Mr+nr.name.length]}}break;case"TopicReference":a0.extra={...a0.extra,__isUsingHackPipeline:!0};break;case"ExportAllDeclaration":if($x==="meriyah"&&((Er=nr.exported)==null?void 0:Er.type)==="Identifier"){let{exported:Mr}=nr,Qe=dr.slice(mt(Mr),cs(Mr));(Qe.startsWith('"')||Qe.startsWith("'"))&&(nr.exported={...nr.exported,type:"Literal",value:nr.exported.name,raw:Qe})}break;case"TSUnionType":case"TSIntersectionType":if(nr.types.length===1)return nr.types[0];break}}),qK(a0.comments)){let nr=ID(!1,a0.comments,-1);for(let Er=a0.comments.length-2;Er>=0;Er--){let Mr=a0.comments[Er];cs(Mr)===mt(nr)&&Rp(Mr)&&Rp(nr)&&jD(Mr)&&jD(nr)&&(a0.comments.splice(Er+1,1),Mr.value+="*//*"+nr.value,Mr.range=[mt(Mr),cs(nr)]),nr=Mr}}return a0.type==="Program"&&(a0.range=[0,dr.length]),a0}function zK(a0){return a0.type==="LogicalExpression"&&a0.right.type==="LogicalExpression"&&a0.operator===a0.right.operator}function OD(a0){return zK(a0)?OD({type:"LogicalExpression",operator:a0.operator,left:OD({type:"LogicalExpression",operator:a0.operator,left:a0.left,right:a0.right.left,range:[mt(a0.left),cs(a0.right.left)]}),right:a0.right.right,range:[mt(a0),cs(a0)]}):a0}var VK=nj0;var uj0=(a0,ox,$x,dr)=>{if(!(a0&&ox==null))return ox.replaceAll?ox.replaceAll($x,dr):$x.global?ox.replace($x,dr):ox.split($x).join(dr)},L3=uj0;var ij0=/\*\/$/,fj0=/^\/\*\*?/,cj0=/^\s*(\/\*\*?(.|\r?\n)*?\*\/)/,sj0=/(^|\s+)\/\/([^\n\r]*)/g,GK=/^(\r?\n)+/,aj0=/(?:^|\r?\n) *(@[^\n\r]*?) *\r?\n *(?![^\n\r@]*\/\/[^]*)([^\s@][^\n\r@]+?) *\r?\n/g,WK=/(?:^|\r?\n) *@(\S+) *([^\n\r]*)/g,oj0=/(\r?\n|^) *\* ?/g,vj0=[];function $K(a0){let ox=a0.match(cj0);return ox?ox[0].trimStart():""}function HK(a0){let ox=` +`;a0=L3(!1,a0.replace(fj0,"").replace(ij0,""),oj0,"$1");let $x="";for(;$x!==a0;)$x=a0,a0=L3(!1,a0,aj0,`${ox}$1 $2${ox}`);a0=a0.replace(GK,"").trimEnd();let dr=Object.create(null),nr=L3(!1,a0,WK,"").replace(GK,"").trimEnd(),Er;for(;Er=WK.exec(a0);){let Mr=L3(!1,Er[2],sj0,"");if(typeof dr[Er[1]]=="string"||Array.isArray(dr[Er[1]])){let Qe=dr[Er[1]];dr[Er[1]]=[...vj0,...Array.isArray(Qe)?Qe:[Qe],Mr]}else dr[Er[1]]=Mr}return{comments:nr,pragmas:dr}}function lj0(a0){if(!a0.startsWith("#!"))return"";let ox=a0.indexOf(` +`);return ox===-1?a0:a0.slice(0,ox)}var QK=lj0;function pj0(a0){let ox=QK(a0);ox&&(a0=a0.slice(ox.length+1));let $x=$K(a0),{pragmas:dr,comments:nr}=HK($x);return{shebang:ox,text:a0,pragmas:dr,comments:nr}}function ZK(a0){let{pragmas:ox}=pj0(a0);return Object.prototype.hasOwnProperty.call(ox,"prettier")||Object.prototype.hasOwnProperty.call(ox,"format")}function kj0(a0){return a0=typeof a0=="function"?{parse:a0}:a0,{astFormat:"estree",hasPragma:ZK,locStart:mt,locEnd:cs,...a0}}var xY=kj0;function mj0(a0){return a0.charAt(0)==="#"&&a0.charAt(1)==="!"?"//"+a0.slice(2):a0}var rY=mj0;var hj0={comments:!1,components:!0,enums:!0,esproposal_decorators:!0,esproposal_export_star_as:!0,tokens:!0};function dj0(a0){let{message:ox,loc:{start:$x,end:dr}}=a0;return UK(ox,{loc:{start:{line:$x.line,column:$x.column+1},end:{line:dr.line,column:dr.column+1}},cause:a0})}function yj0(a0){let ox=eY.default.parse(rY(a0),hj0),[$x]=ox.errors;if($x)throw dj0($x);return VK(ox,{text:a0})}var gj0=xY(yj0);var bP0=DD;export{bP0 as default,CD as parsers}; diff --git a/node_modules/prettier/plugins/glimmer.js b/node_modules/prettier/plugins/glimmer.js index 453ebc77e9..202645a69e 100644 --- a/node_modules/prettier/plugins/glimmer.js +++ b/node_modules/prettier/plugins/glimmer.js @@ -1,20 +1,20 @@ -(function(f){function e(){var i=f();return i.default||i}if(typeof exports=="object"&&typeof module=="object")module.exports=e();else if(typeof define=="function"&&define.amd)define(e);else{var t=typeof globalThis<"u"?globalThis:typeof global<"u"?global:typeof self<"u"?self:this||{};t.prettierPlugins=t.prettierPlugins||{},t.prettierPlugins.glimmer=e()}})(function(){"use strict";var Wt=Object.defineProperty;var Jn=Object.getOwnPropertyDescriptor;var Xn=Object.getOwnPropertyNames;var $n=Object.prototype.hasOwnProperty;var Kt=(t,e)=>{for(var r in e)Wt(t,r,{get:e[r],enumerable:!0})},Zn=(t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of Xn(e))!$n.call(t,i)&&i!==r&&Wt(t,i,{get:()=>e[i],enumerable:!(n=Jn(e,i))||n.enumerable});return t};var ei=t=>Zn(Wt({},"__esModule",{value:!0}),t);var Br=(t,e,r)=>{if(!e.has(t))throw TypeError("Cannot "+r)};var $=(t,e,r)=>(Br(t,e,"read from private field"),r?r.call(t):e.get(t)),Rr=(t,e,r)=>{if(e.has(t))throw TypeError("Cannot add the same private member more than once");e instanceof WeakSet?e.add(t):e.set(t,r)},qr=(t,e,r,n)=>(Br(t,e,"write to private field"),n?n.call(t,r):e.set(t,r),r);var na={};Kt(na,{languages:()=>Yn,parsers:()=>qt,printers:()=>ra});var ti=(t,e,r,n)=>{if(!(t&&e==null))return e.replaceAll?e.replaceAll(r,n):r.global?e.replace(r,n):e.split(r).join(n)},jt=ti;var ze="string",We="array",Ke="cursor",De="indent",Oe="align",je="trim",Ie="group",Be="fill",Re="if-break",Qe="indent-if-break",Je="line-suffix",Xe="line-suffix-boundary",Z="line",$e="label",qe="break-parent",pt=new Set([Ke,De,Oe,je,Ie,Be,Re,Qe,Je,Xe,Z,$e,qe]);function ri(t){if(typeof t=="string")return ze;if(Array.isArray(t))return We;if(!t)return;let{type:e}=t;if(pt.has(e))return e}var Ze=ri;var ni=t=>new Intl.ListFormat("en-US",{type:"disjunction"}).format(t);function ii(t){let e=t===null?"null":typeof t;if(e!=="string"&&e!=="object")return`Unexpected doc '${e}', -Expected it to be 'string' or 'object'.`;if(Ze(t))throw new Error("doc is valid.");let r=Object.prototype.toString.call(t);if(r!=="[object Object]")return`Unexpected doc '${r}'.`;let n=ni([...pt].map(i=>`'${i}'`));return`Unexpected doc.type '${t.type}'. -Expected it to be ${n}.`}var Qt=class extends Error{name="InvalidDocError";constructor(e){super(ii(e)),this.doc=e}},Jt=Qt;var Vr=()=>{},Te=Vr,ft=Vr;function O(t){return Te(t),{type:De,contents:t}}function si(t,e){return Te(e),{type:Oe,contents:e,n:t}}function I(t,e={}){return Te(t),ft(e.expandedStates,!0),{type:Ie,id:e.id,contents:t,break:!!e.shouldBreak,expandedStates:e.expandedStates}}function Xt(t){return si(-1,t)}function $t(t){return ft(t),{type:Be,parts:t}}function Zt(t,e="",r={}){return Te(t),e!==""&&Te(e),{type:Re,breakContents:t,flatContents:e,groupId:r.groupId}}var Hr={type:qe};var ai={type:Z,hard:!0},oi={type:Z,hard:!0,literal:!0},_={type:Z},M={type:Z,soft:!0},ve=[ai,Hr],Ur=[oi,Hr];function we(t,e){Te(t),ft(e);let r=[];for(let n=0;n{if(!(t&&e==null))return Array.isArray(e)||typeof e=="string"?e[r<0?e.length+r:r]:e.at(r)},he=li;function ci(t,e){if(typeof t=="string")return e(t);let r=new Map;return n(t);function n(s){if(r.has(s))return r.get(s);let a=i(s);return r.set(s,a),a}function i(s){switch(Ze(s)){case We:return e(s.map(n));case Be:return e({...s,parts:s.parts.map(n)});case Re:return e({...s,breakContents:n(s.breakContents),flatContents:n(s.flatContents)});case Ie:{let{expandedStates:a,contents:l}=s;return a?(a=a.map(n),l=a[0]):l=n(l),e({...s,contents:l,expandedStates:a})}case Oe:case De:case Qe:case $e:case Je:return e({...s,contents:n(s.contents)});case ze:case Ke:case je:case Xe:case Z:case qe:return e(s);default:throw new Jt(s)}}}function Fr(t,e=Ur){return ci(t,r=>typeof r=="string"?we(e,r.split(` -`)):r)}var dt="'",Mr='"';function ui(t,e){let r=e===!0||e===dt?dt:Mr,n=r===dt?Mr:dt,i=0,s=0;for(let a of t)a===r?i++:a===n&&s++;return i>s?n:r}var mt=ui;function hi(t){return Array.isArray(t)&&t.length>0}var et=hi;var er=class extends Error{name="UnexpectedNodeError";constructor(e,r,n="type"){super(`Unexpected ${r} node ${n}: ${JSON.stringify(e[n])}.`),this.node=e}},Gr=er;function tr(t){if(typeof t!="string")throw new TypeError("Expected a string");return t.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}var U,rr=class{constructor(e){Rr(this,U,void 0);qr(this,U,new Set(e))}getLeadingWhitespaceCount(e){let r=$(this,U),n=0;for(let i=0;i=0&&r.has(e.charAt(i));i--)n++;return n}getLeadingWhitespace(e){let r=this.getLeadingWhitespaceCount(e);return e.slice(0,r)}getTrailingWhitespace(e){let r=this.getTrailingWhitespaceCount(e);return e.slice(e.length-r)}hasLeadingWhitespace(e){return $(this,U).has(e.charAt(0))}hasTrailingWhitespace(e){return $(this,U).has(he(!1,e,-1))}trimStart(e){let r=this.getLeadingWhitespaceCount(e);return e.slice(r)}trimEnd(e){let r=this.getTrailingWhitespaceCount(e);return e.slice(0,e.length-r)}trim(e){return this.trimEnd(this.trimStart(e))}split(e,r=!1){let n=`[${tr([...$(this,U)].join(""))}]+`,i=new RegExp(r?`(${n})`:n);return e.split(i)}hasWhitespaceCharacter(e){let r=$(this,U);return Array.prototype.some.call(e,n=>r.has(n))}hasNonWhitespaceCharacter(e){let r=$(this,U);return Array.prototype.some.call(e,n=>!r.has(n))}isWhitespaceOnly(e){let r=$(this,U);return Array.prototype.every.call(e,n=>r.has(n))}};U=new WeakMap;var Yr=rr;var pi=[" ",` -`,"\f","\r"," "],fi=new Yr(pi),G=fi;function xe(t){return t.loc.start.offset}function tt(t){return t.loc.end.offset}function zr(t,e){if(t.type==="TextNode"){let r=t.chars.trim();if(!r)return null;e.chars=G.split(r).join(" ")}t.type==="AttrNode"&&t.name.toLowerCase()==="class"&&delete e.value}zr.ignoredProperties=new Set(["loc","selfClosing"]);var Wr=zr;var Kr=["area","base","br","col","command","embed","hr","img","input","keygen","link","meta","param","source","track","wbr"];function Qr(t){return t.toUpperCase()===t}function di(t){return t.type==="ElementNode"&&typeof t.tag=="string"&&!t.tag.startsWith(":")&&(Qr(t.tag[0])||t.tag.includes("."))}var mi=new Set(Kr);function gi(t){return mi.has(t.toLowerCase())&&!Qr(t[0])}function nr(t){return t.selfClosing===!0||gi(t.tag)||di(t)&&t.children.every(e=>gt(e))}function gt(t){return t.type==="TextNode"&&!/\S/.test(t.chars)}function jr(t){return(t==null?void 0:t.type)==="MustacheCommentStatement"&&typeof t.value=="string"&&t.value.trim()==="prettier-ignore"}function Jr(t){return jr(t.node)||t.isInArray&&(t.key==="children"||t.key==="body"||t.key==="parts")&&jr(t.siblings[t.index-2])}var rt=null;function nt(t){if(rt!==null&&typeof rt.property){let e=rt;return rt=nt.prototype=null,e}return rt=nt.prototype=t??Object.create(null),new nt}var bi=10;for(let t=0;t<=bi;t++)nt();function ir(t){return nt(t)}function yi(t,e="type"){ir(t);function r(n){let i=n[e],s=t[i];if(!Array.isArray(s))throw Object.assign(new Error(`Missing visitor keys for '${i}'.`),{node:n});return s}return r}var Xr=yi;var $r={Program:["body"],Template:["body"],Block:["body"],MustacheStatement:["path","params","hash"],BlockStatement:["path","params","hash","program","inverse"],ElementModifierStatement:["path","params","hash"],PartialStatement:["name","params","hash"],CommentStatement:[],MustacheCommentStatement:[],ElementNode:["attributes","modifiers","children","comments"],AttrNode:["value"],TextNode:[],ConcatStatement:["parts"],SubExpression:["path","params","hash"],PathExpression:[],PathHead:[],StringLiteral:[],BooleanLiteral:[],NumberLiteral:[],NullLiteral:[],UndefinedLiteral:[],Hash:["pairs"],HashPair:["value"],NamedBlock:["attributes","modifiers","children","comments"],SimpleElement:["attributes","modifiers","children","comments"],Component:["head","attributes","modifiers","children","comments"]};var Si=Xr($r),Zr=Si;var ln=2;function Ei(t,e,r){var i,s,a,l,c,h,g,y,F;let{node:n}=t;switch(n.type){case"Block":case"Program":case"Template":return I(t.map(r,"body"));case"ElementNode":{let b=I(vi(t,r)),k=e.htmlWhitespaceSensitivity==="ignore"&&((i=t.next)==null?void 0:i.type)==="ElementNode"?M:"";if(nr(n))return[b,k];let N=[""];return n.children.length===0?[b,O(N),k]:e.htmlWhitespaceSensitivity==="ignore"?[b,O(en(t,e,r)),ve,O(N),k]:[b,O(I(en(t,e,r))),O(N),k]}case"BlockStatement":return Ci(t)?[Ai(t,r),nn(t,r,e),sn(t,r,e)]:[Pi(t,r),I([nn(t,r,e),sn(t,r,e),_i(t,r,e)])];case"ElementModifierStatement":return I(["{{",on(t,r),"}}"]);case"MustacheStatement":return I([bt(n),on(t,r),yt(n)]);case"SubExpression":return I(["(",qi(t,r),M,")"]);case"AttrNode":{let{name:b,value:k}=n,N=k.type==="TextNode";if(N&&k.chars===""&&xe(k)===tt(k))return b;let w=N?mt(k.chars,e.singleQuote):k.type==="ConcatStatement"?mt(k.parts.map(R=>R.type==="TextNode"?R.chars:"").join(""),e.singleQuote):"",se=r("value");return[b,"=",w,b==="class"&&w?I(O(se)):se,w]}case"ConcatStatement":return t.map(r,"parts");case"Hash":return we(_,t.map(r,"pairs"));case"HashPair":return[n.key,"=",r("value")];case"TextNode":{let b=jt(!1,n.chars,"{{","\\{{"),k=Di(t);if(k){if(k==="class"){let J=b.trim().split(/\s+/).join(" "),ae=!1,q=!1;return t.parent.type==="ConcatStatement"&&(((s=t.previous)==null?void 0:s.type)==="MustacheStatement"&&/^\s/.test(b)&&(ae=!0),((a=t.next)==null?void 0:a.type)==="MustacheStatement"&&/\s$/.test(b)&&J!==""&&(q=!0)),[ae?_:"",J,q?_:""]}return Fr(b)}let N=G.isWhitespaceOnly(b),{isFirst:B,isLast:w}=t;if(e.htmlWhitespaceSensitivity!=="ignore"){let J=w&&t.parent.type==="Template",ae=B&&t.parent.type==="Template";if(N){if(ae||J)return"";let A=[_],le=Ve(b);return le&&(A=it(le)),w&&(A=A.map(ct=>Xt(ct))),A}let q=G.getLeadingWhitespace(b),Ae=[];if(q){Ae=[_];let A=Ve(q);A&&(Ae=it(A)),b=b.slice(q.length)}let V=G.getTrailingWhitespace(b),oe=[];if(V){if(!J){oe=[_];let A=Ve(V);A&&(oe=it(A)),w&&(oe=oe.map(le=>Xt(le)))}b=b.slice(0,-V.length)}return[...Ae,$t(an(b)),...oe]}let se=Ve(b),R=Oi(b),Q=Ii(b);if((B||w)&&N&&(t.parent.type==="Block"||t.parent.type==="ElementNode"||t.parent.type==="Template"))return"";N&&se?(R=Math.min(se,ln),Q=0):((((l=t.next)==null?void 0:l.type)==="BlockStatement"||((c=t.next)==null?void 0:c.type)==="ElementNode")&&(Q=Math.max(Q,1)),(((h=t.previous)==null?void 0:h.type)==="BlockStatement"||((g=t.previous)==null?void 0:g.type)==="ElementNode")&&(R=Math.max(R,1)));let Ne="",Ce="";return Q===0&&((y=t.next)==null?void 0:y.type)==="MustacheStatement"&&(Ce=" "),R===0&&((F=t.previous)==null?void 0:F.type)==="MustacheStatement"&&(Ne=" "),B&&(R=0,Ne=""),w&&(Q=0,Ce=""),G.hasLeadingWhitespace(b)&&(b=Ne+G.trimStart(b)),G.hasTrailingWhitespace(b)&&(b=G.trimEnd(b)+Ce),[...it(R),$t(an(b)),...it(Q)]}case"MustacheCommentStatement":{let b=xe(n),k=tt(n),N=e.originalText.charAt(b+2)==="~",B=e.originalText.charAt(k-3)==="~",w=n.value.includes("}}")?"--":"";return["{{",N?"~":"","!",w,n.value,w,B?"~":"","}}"]}case"PathExpression":return n.original;case"BooleanLiteral":return String(n.value);case"CommentStatement":return[""];case"StringLiteral":return Bi(t,e);case"NumberLiteral":return String(n.value);case"UndefinedLiteral":return"undefined";case"NullLiteral":return"null";default:throw new Gr(n,"Handlebars")}}function Ti(t,e){return xe(t)-xe(e)}function vi(t,e){let{node:r}=t,n=["attributes","modifiers","comments"].filter(s=>et(r[s])),i=n.flatMap(s=>r[s]).sort(Ti);for(let s of n)t.each(({node:a})=>{let l=i.indexOf(a);i.splice(l,1,[_,e()])},s);return et(r.blockParams)&&i.push(_,ar(r)),["<",r.tag,O(i),wi(r)]}function en(t,e,r){let{node:n}=t,i=n.children.every(s=>gt(s));return e.htmlWhitespaceSensitivity==="ignore"&&i?"":t.map(({isFirst:s})=>{let a=r();return s&&e.htmlWhitespaceSensitivity==="ignore"?[M,a]:a},"children")}function wi(t){return nr(t)?Zt([M,"/>"],[" />",M]):Zt([M,">"],">")}function bt(t){var n;let e=t.escaped===!1?"{{{":"{{",r=(n=t.strip)!=null&&n.open?"~":"";return[e,r]}function yt(t){var n;let e=t.escaped===!1?"}}}":"}}";return[(n=t.strip)!=null&&n.close?"~":"",e]}function xi(t){let e=bt(t),r=t.openStrip.open?"~":"";return[e,r,"#"]}function ki(t){let e=yt(t);return[t.openStrip.close?"~":"",e]}function tn(t){let e=bt(t),r=t.closeStrip.open?"~":"";return[e,r,"/"]}function rn(t){let e=yt(t);return[t.closeStrip.close?"~":"",e]}function cn(t){let e=bt(t),r=t.inverseStrip.open?"~":"";return[e,r]}function un(t){let e=yt(t);return[t.inverseStrip.close?"~":"",e]}function Pi(t,e){let{node:r}=t,n=[],i=St(t,e);return i&&n.push(I(i)),et(r.program.blockParams)&&n.push(ar(r.program)),I([xi(r),sr(t,e),n.length>0?O([_,we(_,n)]):"",M,ki(r)])}function Ni(t,e){return[e.htmlWhitespaceSensitivity==="ignore"?ve:"",cn(t),"else",un(t)]}function Ci(t){var n;let{grandparent:e,node:r}=t;return((n=e==null?void 0:e.inverse)==null?void 0:n.body.length)===1&&e.inverse.body[0]===r&&e.inverse.body[0].path.parts[0]===e.path.parts[0]}function Ai(t,e){let{node:r,grandparent:n}=t;return I([cn(n),["else"," ",n.inverse.body[0].path.parts[0]],O([_,I(St(t,e)),...et(r.program.blockParams)?[_,ar(r.program)]:[]]),M,un(n)])}function _i(t,e,r){let{node:n}=t;return r.htmlWhitespaceSensitivity==="ignore"?[hn(n)?M:ve,tn(n),e("path"),rn(n)]:[tn(n),e("path"),rn(n)]}function hn(t){return t.type==="BlockStatement"&&t.program.body.every(e=>gt(e))}function Li(t){return pn(t)&&t.inverse.body.length===1&&t.inverse.body[0].type==="BlockStatement"&&t.inverse.body[0].path.parts[0]===t.path.parts[0]}function pn(t){return t.type==="BlockStatement"&&t.inverse}function nn(t,e,r){let{node:n}=t;if(hn(n))return"";let i=e("program");return r.htmlWhitespaceSensitivity==="ignore"?O([ve,i]):O(i)}function sn(t,e,r){let{node:n}=t,i=e("inverse"),s=r.htmlWhitespaceSensitivity==="ignore"?[ve,i]:i;return Li(n)?s:pn(n)?[Ni(n,r),O(s)]:""}function an(t){return we(_,G.split(t))}function Di(t){for(let e=0;e<2;e++){let r=t.getParentNode(e);if((r==null?void 0:r.type)==="AttrNode")return r.name.toLowerCase()}}function Ve(t){return t=typeof t=="string"?t:"",t.split(` -`).length-1}function Oi(t){t=typeof t=="string"?t:"";let e=(t.match(/^([^\S\n\r]*[\n\r])+/g)||[])[0]||"";return Ve(e)}function Ii(t){t=typeof t=="string"?t:"";let e=(t.match(/([\n\r][^\S\n\r]*)+$/g)||[])[0]||"";return Ve(e)}function it(t=0){return Array.from({length:Math.min(t,ln)}).fill(ve)}function Bi(t,e){let{node:{value:r}}=t,n=mt(r,Ri(t)?!e.singleQuote:e.singleQuote);return[n,jt(!1,r,n,`\\${n}`),n]}function Ri(t){let{ancestors:e}=t,r=e.findIndex(n=>n.type!=="SubExpression");return r!==-1&&e[r+1].type==="ConcatStatement"&&e[r+2].type==="AttrNode"}function qi(t,e){let r=sr(t,e),n=St(t,e);return n?O([r,_,I(n)]):r}function on(t,e){let r=sr(t,e),n=St(t,e);return n?[O([r,_,n]),M]:r}function sr(t,e){return e("path")}function St(t,e){var i;let{node:r}=t,n=[];return r.params.length>0&&n.push(...t.map(e,"params")),((i=r.hash)==null?void 0:i.pairs.length)>0&&n.push(e("hash")),n.length===0?"":we(_,n)}function ar(t){return["as |",t.blockParams.join(" "),"|"]}var Vi={print:Ei,massageAstNode:Wr,hasPrettierIgnore:Jr,getVisitorKeys:Zr},fn=Vi;var qt={};Kt(qt,{glimmer:()=>ta});var Hi=Object.freeze([]);function dn(){return Hi}var mo=dn(),go=dn();var pe=Object.assign;var No=function(){return typeof Symbol!="function"?!1:typeof Symbol()=="symbol"}();var T=(...t)=>t;function Fi(t){return t&-536870913}function Mi(t){return t|536870912}function Gi(t){return~t}function Yi(t){return~t}function zi(t){return t|=0,t<0?Fi(t):Gi(t)}function Wi(t){return t|=0,t>-536870913?Yi(t):Mi(t)}[1,2,3].forEach(t=>t);[1,-1].forEach(t=>Wi(zi(t)));function He(t){return t.length>0}function mn(t,e="unexpected empty list"){if(!He(t))throw new Error(e)}var Ki;if(!1){let t=n=>{let i=n.name;if(i===void 0){let s=Function.prototype.toString.call(n).match(/function (\w+)\s*\(/);i=s&&s[1]||""}return i.replace(/^bound /,"")},e=n=>{let i,s;return n.constructor&&typeof n.constructor=="function"&&(s=t(n.constructor)),"toString"in n&&n.toString!==Object.prototype.toString&&n.toString!==Function.prototype.toString&&(i=n.toString()),i&&i.match(/<.*:ember\d+>/)&&s&&s[0]!=="_"&&s.length>2&&s!=="Class"?i.replace(/<.*:/,`<${s}:`):i||s},r=n=>String(n);Ki=n=>typeof n=="function"?t(n)||"(unknown function)":typeof n=="object"&&n!==null?e(n)||"(unknown object)":r(n)}var gn=console;function bn(t,e="unexpected unreachable branch"){throw gn.log("unreachable",t),gn.log(`${e} :: ${JSON.stringify(t)} (${t})`),new Error("code reached unreachable")}var ji=function(){var t=function(ce,p,m,f){for(m=m||{},f=ce.length;f--;m[ce[f]]=p);return m},e=[2,44],r=[1,20],n=[5,14,15,19,29,34,39,44,47,48,52,56,60],i=[1,35],s=[1,38],a=[1,30],l=[1,31],c=[1,32],h=[1,33],g=[1,34],y=[1,37],F=[14,15,19,29,34,39,44,47,48,52,56,60],b=[14,15,19,29,34,44,47,48,52,56,60],k=[15,18],N=[14,15,19,29,34,47,48,52,56,60],B=[33,64,71,79,80,81,82,83,84],w=[23,33,55,64,67,71,74,79,80,81,82,83,84],se=[1,51],R=[23,33,55,64,67,71,74,79,80,81,82,83,84,86],Q=[2,43],Ne=[55,64,71,79,80,81,82,83,84],Ce=[1,58],J=[1,59],ae=[1,66],q=[33,64,71,74,79,80,81,82,83,84],Ae=[23,64,71,79,80,81,82,83,84],V=[1,76],oe=[64,67,71,79,80,81,82,83,84],A=[33,74],le=[23,33,55,67,71,74],ct=[1,106],Vt=[1,118],Lr=[71,76],Ht={trace:function(){},yy:{},symbols_:{error:2,root:3,program:4,EOF:5,program_repetition0:6,statement:7,mustache:8,block:9,rawBlock:10,partial:11,partialBlock:12,content:13,COMMENT:14,CONTENT:15,openRawBlock:16,rawBlock_repetition0:17,END_RAW_BLOCK:18,OPEN_RAW_BLOCK:19,helperName:20,openRawBlock_repetition0:21,openRawBlock_option0:22,CLOSE_RAW_BLOCK:23,openBlock:24,block_option0:25,closeBlock:26,openInverse:27,block_option1:28,OPEN_BLOCK:29,openBlock_repetition0:30,openBlock_option0:31,openBlock_option1:32,CLOSE:33,OPEN_INVERSE:34,openInverse_repetition0:35,openInverse_option0:36,openInverse_option1:37,openInverseChain:38,OPEN_INVERSE_CHAIN:39,openInverseChain_repetition0:40,openInverseChain_option0:41,openInverseChain_option1:42,inverseAndProgram:43,INVERSE:44,inverseChain:45,inverseChain_option0:46,OPEN_ENDBLOCK:47,OPEN:48,expr:49,mustache_repetition0:50,mustache_option0:51,OPEN_UNESCAPED:52,mustache_repetition1:53,mustache_option1:54,CLOSE_UNESCAPED:55,OPEN_PARTIAL:56,partial_repetition0:57,partial_option0:58,openPartialBlock:59,OPEN_PARTIAL_BLOCK:60,openPartialBlock_repetition0:61,openPartialBlock_option0:62,sexpr:63,OPEN_SEXPR:64,sexpr_repetition0:65,sexpr_option0:66,CLOSE_SEXPR:67,hash:68,hash_repetition_plus0:69,hashSegment:70,ID:71,EQUALS:72,blockParams:73,OPEN_BLOCK_PARAMS:74,blockParams_repetition_plus0:75,CLOSE_BLOCK_PARAMS:76,path:77,dataName:78,STRING:79,NUMBER:80,BOOLEAN:81,UNDEFINED:82,NULL:83,DATA:84,pathSegments:85,SEP:86,$accept:0,$end:1},terminals_:{2:"error",5:"EOF",14:"COMMENT",15:"CONTENT",18:"END_RAW_BLOCK",19:"OPEN_RAW_BLOCK",23:"CLOSE_RAW_BLOCK",29:"OPEN_BLOCK",33:"CLOSE",34:"OPEN_INVERSE",39:"OPEN_INVERSE_CHAIN",44:"INVERSE",47:"OPEN_ENDBLOCK",48:"OPEN",52:"OPEN_UNESCAPED",55:"CLOSE_UNESCAPED",56:"OPEN_PARTIAL",60:"OPEN_PARTIAL_BLOCK",64:"OPEN_SEXPR",67:"CLOSE_SEXPR",71:"ID",72:"EQUALS",74:"OPEN_BLOCK_PARAMS",76:"CLOSE_BLOCK_PARAMS",79:"STRING",80:"NUMBER",81:"BOOLEAN",82:"UNDEFINED",83:"NULL",84:"DATA",86:"SEP"},productions_:[0,[3,2],[4,1],[7,1],[7,1],[7,1],[7,1],[7,1],[7,1],[7,1],[13,1],[10,3],[16,5],[9,4],[9,4],[24,6],[27,6],[38,6],[43,2],[45,3],[45,1],[26,3],[8,5],[8,5],[11,5],[12,3],[59,5],[49,1],[49,1],[63,5],[68,1],[70,3],[73,3],[20,1],[20,1],[20,1],[20,1],[20,1],[20,1],[20,1],[78,2],[77,1],[85,3],[85,1],[6,0],[6,2],[17,0],[17,2],[21,0],[21,2],[22,0],[22,1],[25,0],[25,1],[28,0],[28,1],[30,0],[30,2],[31,0],[31,1],[32,0],[32,1],[35,0],[35,2],[36,0],[36,1],[37,0],[37,1],[40,0],[40,2],[41,0],[41,1],[42,0],[42,1],[46,0],[46,1],[50,0],[50,2],[51,0],[51,1],[53,0],[53,2],[54,0],[54,1],[57,0],[57,2],[58,0],[58,1],[61,0],[61,2],[62,0],[62,1],[65,0],[65,2],[66,0],[66,1],[69,1],[69,2],[75,1],[75,2]],performAction:function(p,m,f,d,v,o,_e){var u=o.length-1;switch(v){case 1:return o[u-1];case 2:this.$=d.prepareProgram(o[u]);break;case 3:case 4:case 5:case 6:case 7:case 8:case 20:case 27:case 28:case 33:case 34:this.$=o[u];break;case 9:this.$={type:"CommentStatement",value:d.stripComment(o[u]),strip:d.stripFlags(o[u],o[u]),loc:d.locInfo(this._$)};break;case 10:this.$={type:"ContentStatement",original:o[u],value:o[u],loc:d.locInfo(this._$)};break;case 11:this.$=d.prepareRawBlock(o[u-2],o[u-1],o[u],this._$);break;case 12:this.$={path:o[u-3],params:o[u-2],hash:o[u-1]};break;case 13:this.$=d.prepareBlock(o[u-3],o[u-2],o[u-1],o[u],!1,this._$);break;case 14:this.$=d.prepareBlock(o[u-3],o[u-2],o[u-1],o[u],!0,this._$);break;case 15:this.$={open:o[u-5],path:o[u-4],params:o[u-3],hash:o[u-2],blockParams:o[u-1],strip:d.stripFlags(o[u-5],o[u])};break;case 16:case 17:this.$={path:o[u-4],params:o[u-3],hash:o[u-2],blockParams:o[u-1],strip:d.stripFlags(o[u-5],o[u])};break;case 18:this.$={strip:d.stripFlags(o[u-1],o[u-1]),program:o[u]};break;case 19:var ue=d.prepareBlock(o[u-2],o[u-1],o[u],o[u],!1,this._$),Ye=d.prepareProgram([ue],o[u-1].loc);Ye.chained=!0,this.$={strip:o[u-2].strip,program:Ye,chain:!0};break;case 21:this.$={path:o[u-1],strip:d.stripFlags(o[u-2],o[u])};break;case 22:case 23:this.$=d.prepareMustache(o[u-3],o[u-2],o[u-1],o[u-4],d.stripFlags(o[u-4],o[u]),this._$);break;case 24:this.$={type:"PartialStatement",name:o[u-3],params:o[u-2],hash:o[u-1],indent:"",strip:d.stripFlags(o[u-4],o[u]),loc:d.locInfo(this._$)};break;case 25:this.$=d.preparePartialBlock(o[u-2],o[u-1],o[u],this._$);break;case 26:this.$={path:o[u-3],params:o[u-2],hash:o[u-1],strip:d.stripFlags(o[u-4],o[u])};break;case 29:this.$={type:"SubExpression",path:o[u-3],params:o[u-2],hash:o[u-1],loc:d.locInfo(this._$)};break;case 30:this.$={type:"Hash",pairs:o[u],loc:d.locInfo(this._$)};break;case 31:this.$={type:"HashPair",key:d.id(o[u-2]),value:o[u],loc:d.locInfo(this._$)};break;case 32:this.$=d.id(o[u-1]);break;case 35:this.$={type:"StringLiteral",value:o[u],original:o[u],loc:d.locInfo(this._$)};break;case 36:this.$={type:"NumberLiteral",value:Number(o[u]),original:Number(o[u]),loc:d.locInfo(this._$)};break;case 37:this.$={type:"BooleanLiteral",value:o[u]==="true",original:o[u]==="true",loc:d.locInfo(this._$)};break;case 38:this.$={type:"UndefinedLiteral",original:void 0,value:void 0,loc:d.locInfo(this._$)};break;case 39:this.$={type:"NullLiteral",original:null,value:null,loc:d.locInfo(this._$)};break;case 40:this.$=d.preparePath(!0,o[u],this._$);break;case 41:this.$=d.preparePath(!1,o[u],this._$);break;case 42:o[u-2].push({part:d.id(o[u]),original:o[u],separator:o[u-1]}),this.$=o[u-2];break;case 43:this.$=[{part:d.id(o[u]),original:o[u]}];break;case 44:case 46:case 48:case 56:case 62:case 68:case 76:case 80:case 84:case 88:case 92:this.$=[];break;case 45:case 47:case 49:case 57:case 63:case 69:case 77:case 81:case 85:case 89:case 93:case 97:case 99:o[u-1].push(o[u]);break;case 96:case 98:this.$=[o[u]];break}},table:[t([5,14,15,19,29,34,48,52,56,60],e,{3:1,4:2,6:3}),{1:[3]},{5:[1,4]},t([5,39,44,47],[2,2],{7:5,8:6,9:7,10:8,11:9,12:10,13:11,24:15,27:16,16:17,59:19,14:[1,12],15:r,19:[1,23],29:[1,21],34:[1,22],48:[1,13],52:[1,14],56:[1,18],60:[1,24]}),{1:[2,1]},t(n,[2,45]),t(n,[2,3]),t(n,[2,4]),t(n,[2,5]),t(n,[2,6]),t(n,[2,7]),t(n,[2,8]),t(n,[2,9]),{20:26,49:25,63:27,64:i,71:s,77:28,78:29,79:a,80:l,81:c,82:h,83:g,84:y,85:36},{20:26,49:39,63:27,64:i,71:s,77:28,78:29,79:a,80:l,81:c,82:h,83:g,84:y,85:36},t(F,e,{6:3,4:40}),t(b,e,{6:3,4:41}),t(k,[2,46],{17:42}),{20:26,49:43,63:27,64:i,71:s,77:28,78:29,79:a,80:l,81:c,82:h,83:g,84:y,85:36},t(N,e,{6:3,4:44}),t([5,14,15,18,19,29,34,39,44,47,48,52,56,60],[2,10]),{20:45,71:s,77:28,78:29,79:a,80:l,81:c,82:h,83:g,84:y,85:36},{20:46,71:s,77:28,78:29,79:a,80:l,81:c,82:h,83:g,84:y,85:36},{20:47,71:s,77:28,78:29,79:a,80:l,81:c,82:h,83:g,84:y,85:36},{20:26,49:48,63:27,64:i,71:s,77:28,78:29,79:a,80:l,81:c,82:h,83:g,84:y,85:36},t(B,[2,76],{50:49}),t(w,[2,27]),t(w,[2,28]),t(w,[2,33]),t(w,[2,34]),t(w,[2,35]),t(w,[2,36]),t(w,[2,37]),t(w,[2,38]),t(w,[2,39]),{20:26,49:50,63:27,64:i,71:s,77:28,78:29,79:a,80:l,81:c,82:h,83:g,84:y,85:36},t(w,[2,41],{86:se}),{71:s,85:52},t(R,Q),t(Ne,[2,80],{53:53}),{25:54,38:56,39:Ce,43:57,44:J,45:55,47:[2,52]},{28:60,43:61,44:J,47:[2,54]},{13:63,15:r,18:[1,62]},t(B,[2,84],{57:64}),{26:65,47:ae},t(q,[2,56],{30:67}),t(q,[2,62],{35:68}),t(Ae,[2,48],{21:69}),t(B,[2,88],{61:70}),{20:26,33:[2,78],49:72,51:71,63:27,64:i,68:73,69:74,70:75,71:V,77:28,78:29,79:a,80:l,81:c,82:h,83:g,84:y,85:36},t(oe,[2,92],{65:77}),{71:[1,78]},t(w,[2,40],{86:se}),{20:26,49:80,54:79,55:[2,82],63:27,64:i,68:81,69:74,70:75,71:V,77:28,78:29,79:a,80:l,81:c,82:h,83:g,84:y,85:36},{26:82,47:ae},{47:[2,53]},t(F,e,{6:3,4:83}),{47:[2,20]},{20:84,71:s,77:28,78:29,79:a,80:l,81:c,82:h,83:g,84:y,85:36},t(N,e,{6:3,4:85}),{26:86,47:ae},{47:[2,55]},t(n,[2,11]),t(k,[2,47]),{20:26,33:[2,86],49:88,58:87,63:27,64:i,68:89,69:74,70:75,71:V,77:28,78:29,79:a,80:l,81:c,82:h,83:g,84:y,85:36},t(n,[2,25]),{20:90,71:s,77:28,78:29,79:a,80:l,81:c,82:h,83:g,84:y,85:36},t(A,[2,58],{20:26,63:27,77:28,78:29,85:36,69:74,70:75,31:91,49:92,68:93,64:i,71:V,79:a,80:l,81:c,82:h,83:g,84:y}),t(A,[2,64],{20:26,63:27,77:28,78:29,85:36,69:74,70:75,36:94,49:95,68:96,64:i,71:V,79:a,80:l,81:c,82:h,83:g,84:y}),{20:26,22:97,23:[2,50],49:98,63:27,64:i,68:99,69:74,70:75,71:V,77:28,78:29,79:a,80:l,81:c,82:h,83:g,84:y,85:36},{20:26,33:[2,90],49:101,62:100,63:27,64:i,68:102,69:74,70:75,71:V,77:28,78:29,79:a,80:l,81:c,82:h,83:g,84:y,85:36},{33:[1,103]},t(B,[2,77]),{33:[2,79]},t([23,33,55,67,74],[2,30],{70:104,71:[1,105]}),t(le,[2,96]),t(R,Q,{72:ct}),{20:26,49:108,63:27,64:i,66:107,67:[2,94],68:109,69:74,70:75,71:V,77:28,78:29,79:a,80:l,81:c,82:h,83:g,84:y,85:36},t(R,[2,42]),{55:[1,110]},t(Ne,[2,81]),{55:[2,83]},t(n,[2,13]),{38:56,39:Ce,43:57,44:J,45:112,46:111,47:[2,74]},t(q,[2,68],{40:113}),{47:[2,18]},t(n,[2,14]),{33:[1,114]},t(B,[2,85]),{33:[2,87]},{33:[1,115]},{32:116,33:[2,60],73:117,74:Vt},t(q,[2,57]),t(A,[2,59]),{33:[2,66],37:119,73:120,74:Vt},t(q,[2,63]),t(A,[2,65]),{23:[1,121]},t(Ae,[2,49]),{23:[2,51]},{33:[1,122]},t(B,[2,89]),{33:[2,91]},t(n,[2,22]),t(le,[2,97]),{72:ct},{20:26,49:123,63:27,64:i,71:s,77:28,78:29,79:a,80:l,81:c,82:h,83:g,84:y,85:36},{67:[1,124]},t(oe,[2,93]),{67:[2,95]},t(n,[2,23]),{47:[2,19]},{47:[2,75]},t(A,[2,70],{20:26,63:27,77:28,78:29,85:36,69:74,70:75,41:125,49:126,68:127,64:i,71:V,79:a,80:l,81:c,82:h,83:g,84:y}),t(n,[2,24]),t(n,[2,21]),{33:[1,128]},{33:[2,61]},{71:[1,130],75:129},{33:[1,131]},{33:[2,67]},t(k,[2,12]),t(N,[2,26]),t(le,[2,31]),t(w,[2,29]),{33:[2,72],42:132,73:133,74:Vt},t(q,[2,69]),t(A,[2,71]),t(F,[2,15]),{71:[1,135],76:[1,134]},t(Lr,[2,98]),t(b,[2,16]),{33:[1,136]},{33:[2,73]},{33:[2,32]},t(Lr,[2,99]),t(F,[2,17])],defaultActions:{4:[2,1],55:[2,53],57:[2,20],61:[2,55],73:[2,79],81:[2,83],85:[2,18],89:[2,87],99:[2,51],102:[2,91],109:[2,95],111:[2,19],112:[2,75],117:[2,61],120:[2,67],133:[2,73],134:[2,32]},parseError:function(p,m){if(m.recoverable)this.trace(p);else{var f=new Error(p);throw f.hash=m,f}},parse:function(p){var m=this,f=[0],d=[],v=[null],o=[],_e=this.table,u="",ue=0,Ye=0,Dr=0,Wn=2,Or=1,Kn=o.slice.call(arguments,1),C=Object.create(this.lexer),Se={yy:{}};for(var Ft in this.yy)Object.prototype.hasOwnProperty.call(this.yy,Ft)&&(Se.yy[Ft]=this.yy[Ft]);C.setInput(p,Se.yy),Se.yy.lexer=C,Se.yy.parser=this,typeof C.yylloc>"u"&&(C.yylloc={});var Mt=C.yylloc;o.push(Mt);var jn=C.options&&C.options.ranges;typeof Se.yy.parseError=="function"?this.parseError=Se.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function ia(W){f.length=f.length-2*W,v.length=v.length-W,o.length=o.length-W}e:var Qn=function(){var W;return W=C.lex()||Or,typeof W!="number"&&(W=m.symbols_[W]||W),W};for(var D,Gt,Ee,H,sa,Yt,Le={},ut,X,Ir,ht;;){if(Ee=f[f.length-1],this.defaultActions[Ee]?H=this.defaultActions[Ee]:((D===null||typeof D>"u")&&(D=Qn()),H=_e[Ee]&&_e[Ee][D]),typeof H>"u"||!H.length||!H[0]){var zt="";ht=[];for(ut in _e[Ee])this.terminals_[ut]&&ut>Wn&&ht.push("'"+this.terminals_[ut]+"'");C.showPosition?zt="Parse error on line "+(ue+1)+`: -`+C.showPosition()+` -Expecting `+ht.join(", ")+", got '"+(this.terminals_[D]||D)+"'":zt="Parse error on line "+(ue+1)+": Unexpected "+(D==Or?"end of input":"'"+(this.terminals_[D]||D)+"'"),this.parseError(zt,{text:C.match,token:this.terminals_[D]||D,line:C.yylineno,loc:Mt,expected:ht})}if(H[0]instanceof Array&&H.length>1)throw new Error("Parse Error: multiple actions possible at state: "+Ee+", token: "+D);switch(H[0]){case 1:f.push(D),v.push(C.yytext),o.push(C.yylloc),f.push(H[1]),D=null,Gt?(D=Gt,Gt=null):(Ye=C.yyleng,u=C.yytext,ue=C.yylineno,Mt=C.yylloc,Dr>0&&Dr--);break;case 2:if(X=this.productions_[H[1]][1],Le.$=v[v.length-X],Le._$={first_line:o[o.length-(X||1)].first_line,last_line:o[o.length-1].last_line,first_column:o[o.length-(X||1)].first_column,last_column:o[o.length-1].last_column},jn&&(Le._$.range=[o[o.length-(X||1)].range[0],o[o.length-1].range[1]]),Yt=this.performAction.apply(Le,[u,Ye,ue,Se.yy,H[1],v,o].concat(Kn)),typeof Yt<"u")return Yt;X&&(f=f.slice(0,-1*X*2),v=v.slice(0,-1*X),o=o.slice(0,-1*X)),f.push(this.productions_[H[1]][0]),v.push(Le.$),o.push(Le._$),Ir=_e[f[f.length-2]][f[f.length-1]],f.push(Ir);break;case 3:return!0}}return!0}},zn=function(){var ce={EOF:1,parseError:function(m,f){if(this.yy.parser)this.yy.parser.parseError(m,f);else throw new Error(m)},setInput:function(p,m){return this.yy=m||this.yy||{},this._input=p,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var p=this._input[0];this.yytext+=p,this.yyleng++,this.offset++,this.match+=p,this.matched+=p;var m=p.match(/(?:\r\n?|\n).*/g);return m?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),p},unput:function(p){var m=p.length,f=p.split(/(?:\r\n?|\n)/g);this._input=p+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-m),this.offset-=m;var d=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),f.length-1&&(this.yylineno-=f.length-1);var v=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:f?(f.length===d.length?this.yylloc.first_column:0)+d[d.length-f.length].length-f[0].length:this.yylloc.first_column-m},this.options.ranges&&(this.yylloc.range=[v[0],v[0]+this.yyleng-m]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject:function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError("Lexical error on line "+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true). -`+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},less:function(p){this.unput(this.match.slice(p))},pastInput:function(){var p=this.matched.substr(0,this.matched.length-this.match.length);return(p.length>20?"...":"")+p.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var p=this.match;return p.length<20&&(p+=this._input.substr(0,20-p.length)),(p.substr(0,20)+(p.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var p=this.pastInput(),m=new Array(p.length+1).join("-");return p+this.upcomingInput()+` -`+m+"^"},test_match:function(p,m){var f,d,v;if(this.options.backtrack_lexer&&(v={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(v.yylloc.range=this.yylloc.range.slice(0))),d=p[0].match(/(?:\r\n?|\n).*/g),d&&(this.yylineno+=d.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:d?d[d.length-1].length-d[d.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+p[0].length},this.yytext+=p[0],this.match+=p[0],this.matches=p,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(p[0].length),this.matched+=p[0],f=this.performAction.call(this,this.yy,this,m,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),f)return f;if(this._backtrack){for(var o in v)this[o]=v[o];return!1}return!1},next:function(){if(this.done)return this.EOF;this._input||(this.done=!0);var p,m,f,d;this._more||(this.yytext="",this.match="");for(var v=this._currentRules(),o=0;om[0].length)){if(m=f,d=o,this.options.backtrack_lexer){if(p=this.test_match(f,v[o]),p!==!1)return p;if(this._backtrack){m=!1;continue}else return!1}else if(!this.options.flex)break}return m?(p=this.test_match(m,v[d]),p!==!1?p:!1):this._input===""?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+`. Unrecognized text. -`+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){var m=this.next();return m||this.lex()},begin:function(m){this.conditionStack.push(m)},popState:function(){var m=this.conditionStack.length-1;return m>0?this.conditionStack.pop():this.conditionStack[0]},_currentRules:function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},topState:function(m){return m=this.conditionStack.length-1-Math.abs(m||0),m>=0?this.conditionStack[m]:"INITIAL"},pushState:function(m){this.begin(m)},stateStackSize:function(){return this.conditionStack.length},options:{},performAction:function(m,f,d,v){function o(u,ue){return f.yytext=f.yytext.substring(u,f.yyleng-ue+u)}var _e=v;switch(d){case 0:if(f.yytext.slice(-2)==="\\\\"?(o(0,1),this.begin("mu")):f.yytext.slice(-1)==="\\"?(o(0,1),this.begin("emu")):this.begin("mu"),f.yytext)return 15;break;case 1:return 15;case 2:return this.popState(),15;break;case 3:return this.begin("raw"),15;break;case 4:return this.popState(),this.conditionStack[this.conditionStack.length-1]==="raw"?15:(o(5,9),18);case 5:return 15;case 6:return this.popState(),14;break;case 7:return 64;case 8:return 67;case 9:return 19;case 10:return this.popState(),this.begin("raw"),23;break;case 11:return 56;case 12:return 60;case 13:return 29;case 14:return 47;case 15:return this.popState(),44;break;case 16:return this.popState(),44;break;case 17:return 34;case 18:return 39;case 19:return 52;case 20:return 48;case 21:this.unput(f.yytext),this.popState(),this.begin("com");break;case 22:return this.popState(),14;break;case 23:return 48;case 24:return 72;case 25:return 71;case 26:return 71;case 27:return 86;case 28:break;case 29:return this.popState(),55;break;case 30:return this.popState(),33;break;case 31:return f.yytext=o(1,2).replace(/\\"/g,'"'),79;break;case 32:return f.yytext=o(1,2).replace(/\\'/g,"'"),79;break;case 33:return 84;case 34:return 81;case 35:return 81;case 36:return 82;case 37:return 83;case 38:return 80;case 39:return 74;case 40:return 76;case 41:return 71;case 42:return f.yytext=f.yytext.replace(/\\([\\\]])/g,"$1"),71;break;case 43:return"INVALID";case 44:return 5}},rules:[/^(?:[^\x00]*?(?=(\{\{)))/,/^(?:[^\x00]+)/,/^(?:[^\x00]{2,}?(?=(\{\{|\\\{\{|\\\\\{\{|$)))/,/^(?:\{\{\{\{(?=[^/]))/,/^(?:\{\{\{\{\/[^\s!"#%-,\.\/;->@\[-\^`\{-~]+(?=[=}\s\/.])\}\}\}\})/,/^(?:[^\x00]+?(?=(\{\{\{\{)))/,/^(?:[\s\S]*?--(~)?\}\})/,/^(?:\()/,/^(?:\))/,/^(?:\{\{\{\{)/,/^(?:\}\}\}\})/,/^(?:\{\{(~)?>)/,/^(?:\{\{(~)?#>)/,/^(?:\{\{(~)?#\*?)/,/^(?:\{\{(~)?\/)/,/^(?:\{\{(~)?\^\s*(~)?\}\})/,/^(?:\{\{(~)?\s*else\s*(~)?\}\})/,/^(?:\{\{(~)?\^)/,/^(?:\{\{(~)?\s*else\b)/,/^(?:\{\{(~)?\{)/,/^(?:\{\{(~)?&)/,/^(?:\{\{(~)?!--)/,/^(?:\{\{(~)?![\s\S]*?\}\})/,/^(?:\{\{(~)?\*?)/,/^(?:=)/,/^(?:\.\.)/,/^(?:\.(?=([=~}\s\/.)|])))/,/^(?:[\/.])/,/^(?:\s+)/,/^(?:\}(~)?\}\})/,/^(?:(~)?\}\})/,/^(?:"(\\["]|[^"])*")/,/^(?:'(\\[']|[^'])*')/,/^(?:@)/,/^(?:true(?=([~}\s)])))/,/^(?:false(?=([~}\s)])))/,/^(?:undefined(?=([~}\s)])))/,/^(?:null(?=([~}\s)])))/,/^(?:-?[0-9]+(?:\.[0-9]+)?(?=([~}\s)])))/,/^(?:as\s+\|)/,/^(?:\|)/,/^(?:([^\s!"#%-,\.\/;->@\[-\^`\{-~]+(?=([=~}\s\/.)|]))))/,/^(?:\[(\\\]|[^\]])*\])/,/^(?:.)/,/^(?:$)/],conditions:{mu:{rules:[7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44],inclusive:!1},emu:{rules:[2],inclusive:!1},com:{rules:[6],inclusive:!1},raw:{rules:[3,4,5],inclusive:!1},INITIAL:{rules:[0,1,44],inclusive:!0}}};return ce}();Ht.lexer=zn;function Ut(){this.yy={}}return Ut.prototype=Ht,Ht.Parser=Ut,new Ut}(),Et=ji;var or=["description","fileName","lineNumber","endLineNumber","message","name","number","stack"];function lr(t,e){var r=e&&e.loc,n,i,s,a;r&&(n=r.start.line,i=r.end.line,s=r.start.column,a=r.end.column,t+=" - "+n+":"+s);for(var l=Error.prototype.constructor.call(this,t),c=0;cpr,id:()=>Qi,prepareBlock:()=>ts,prepareMustache:()=>Zi,preparePartialBlock:()=>ns,preparePath:()=>$i,prepareProgram:()=>rs,prepareRawBlock:()=>es,stripComment:()=>Xi,stripFlags:()=>Ji});function hr(t,e){if(e=e.path?e.path.original:e,t.path.original!==e){var r={loc:t.path.loc};throw new fe(t.path.original+" doesn't match "+e,r)}}function pr(t,e){this.source=t,this.start={line:e.first_line,column:e.first_column},this.end={line:e.last_line,column:e.last_column}}function Qi(t){return/^\[.*\]$/.test(t)?t.substring(1,t.length-1):t}function Ji(t,e){return{open:t.charAt(2)==="~",close:e.charAt(e.length-3)==="~"}}function Xi(t){return t.replace(/^\{\{~?!-?-?/,"").replace(/-?-?~?\}\}$/,"")}function $i(t,e,r){r=this.locInfo(r);for(var n=t?"@":"",i=[],s=0,a=0,l=e.length;a0)throw new fe("Invalid path: "+n,{loc:r});c===".."&&s++}else i.push(c)}return{type:"PathExpression",data:t,depth:s,parts:i,original:n,loc:r}}function Zi(t,e,r,n,i,s){var a=n.charAt(3)||n.charAt(2),l=a!=="{"&&a!=="&",c=/\*/.test(n);return{type:c?"Decorator":"MustacheStatement",path:t,params:e,hash:r,escaped:l,strip:i,loc:this.locInfo(s)}}function es(t,e,r,n){hr(t,r),n=this.locInfo(n);var i={type:"Program",body:e,strip:{},loc:n};return{type:"BlockStatement",path:t.path,params:t.params,hash:t.hash,program:i,openStrip:{},inverseStrip:{},closeStrip:{},loc:n}}function ts(t,e,r,n,i,s){n&&n.path&&hr(t,n);var a=/\*/.test(t.open);e.blockParams=t.blockParams;var l,c;if(r){if(a)throw new fe("Unexpected inverse block on decorator",r);r.chain&&(r.program.body[0].closeStrip=n.strip),c=r.strip,l=r.program}return i&&(i=l,l=e,e=i),{type:a?"DecoratorBlock":"BlockStatement",path:t.path,params:t.params,hash:t.hash,program:e,inverse:l,openStrip:t.strip,inverseStrip:c,closeStrip:n&&n.strip,loc:this.locInfo(s)}}function rs(t,e){if(!e&&t.length){var r=t[0].loc,n=t[t.length-1].loc;r&&n&&(e={source:r.source,start:{line:r.start.line,column:r.start.column},end:{line:n.end.line,column:n.end.column}})}return{type:"Program",body:t,strip:{},loc:e}}function ns(t,e,r,n){return hr(t,r),{type:"PartialBlockStatement",name:t.path,params:t.params,hash:t.hash,program:e,openStrip:t.strip,closeStrip:r&&r.strip,loc:this.locInfo(n)}}var vn={};for(wt in st)Object.prototype.hasOwnProperty.call(st,wt)&&(vn[wt]=st[wt]);var wt;function xt(t,e){if(t.type==="Program")return t;Et.yy=vn,Et.yy.locInfo=function(n){return new pr(e&&e.srcName,n)};var r=Et.parse(t);return r}function fr(t,e){var r=xt(t,e),n=new Tn(e);return n.accept(r)}var xn={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:"&",andand:"\u2A55",And:"\u2A53",and:"\u2227",andd:"\u2A5C",andslope:"\u2A58",andv:"\u2A5A",ang:"\u2220",ange:"\u29A4",angle:"\u2220",angmsdaa:"\u29A8",angmsdab:"\u29A9",angmsdac:"\u29AA",angmsdad:"\u29AB",angmsdae:"\u29AC",angmsdaf:"\u29AD",angmsdag:"\u29AE",angmsdah:"\u29AF",angmsd:"\u2221",angrt:"\u221F",angrtvb:"\u22BE",angrtvbd:"\u299D",angsph:"\u2222",angst:"\xC5",angzarr:"\u237C",Aogon:"\u0104",aogon:"\u0105",Aopf:"\u{1D538}",aopf:"\u{1D552}",apacir:"\u2A6F",ap:"\u2248",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:"\u2305",Barwed:"\u2306",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:"\u2510",boxdL:"\u2555",boxDl:"\u2556",boxDL:"\u2557",boxdr:"\u250C",boxdR:"\u2552",boxDr:"\u2553",boxDR:"\u2554",boxh:"\u2500",boxH:"\u2550",boxhd:"\u252C",boxHd:"\u2564",boxhD:"\u2565",boxHD:"\u2566",boxhu:"\u2534",boxHu:"\u2567",boxhU:"\u2568",boxHU:"\u2569",boxminus:"\u229F",boxplus:"\u229E",boxtimes:"\u22A0",boxul:"\u2518",boxuL:"\u255B",boxUl:"\u255C",boxUL:"\u255D",boxur:"\u2514",boxuR:"\u2558",boxUr:"\u2559",boxUR:"\u255A",boxv:"\u2502",boxV:"\u2551",boxvh:"\u253C",boxvH:"\u256A",boxVh:"\u256B",boxVH:"\u256C",boxvl:"\u2524",boxvL:"\u2561",boxVl:"\u2562",boxVL:"\u2563",boxvr:"\u251C",boxvR:"\u255E",boxVr:"\u255F",boxVR:"\u2560",bprime:"\u2035",breve:"\u02D8",Breve:"\u02D8",brvbar:"\xA6",bscr:"\u{1D4B7}",Bscr:"\u212C",bsemi:"\u204F",bsim:"\u223D",bsime:"\u22CD",bsolb:"\u29C5",bsol:"\\",bsolhsub:"\u27C8",bull:"\u2022",bullet:"\u2022",bump:"\u224E",bumpE:"\u2AAE",bumpe:"\u224F",Bumpeq:"\u224E",bumpeq:"\u224F",Cacute:"\u0106",cacute:"\u0107",capand:"\u2A44",capbrcup:"\u2A49",capcap:"\u2A4B",cap:"\u2229",Cap:"\u22D2",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:"\u{1D520}",Cfr:"\u212D",CHcy:"\u0427",chcy:"\u0447",check:"\u2713",checkmark:"\u2713",Chi:"\u03A7",chi:"\u03C7",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",cir:"\u25CB",cirE:"\u29C3",cire:"\u2257",cirfnint:"\u2A10",cirmid:"\u2AEF",cirscir:"\u29C2",ClockwiseContourIntegral:"\u2232",CloseCurlyDoubleQuote:"\u201D",CloseCurlyQuote:"\u2019",clubs:"\u2663",clubsuit:"\u2663",colon:":",Colon:"\u2237",Colone:"\u2A74",colone:"\u2254",coloneq:"\u2254",comma:",",commat:"@",comp:"\u2201",compfn:"\u2218",complement:"\u2201",complexes:"\u2102",cong:"\u2245",congdot:"\u2A6D",Congruent:"\u2261",conint:"\u222E",Conint:"\u222F",ContourIntegral:"\u222E",copf:"\u{1D554}",Copf:"\u2102",coprod:"\u2210",Coproduct:"\u2210",copy:"\xA9",COPY:"\xA9",copysr:"\u2117",CounterClockwiseContourIntegral:"\u2233",crarr:"\u21B5",cross:"\u2717",Cross:"\u2A2F",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",cupbrcap:"\u2A48",cupcap:"\u2A46",CupCap:"\u224D",cup:"\u222A",Cup:"\u22D3",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:"\u2020",Dagger:"\u2021",daleth:"\u2138",darr:"\u2193",Darr:"\u21A1",dArr:"\u21D3",dash:"\u2010",Dashv:"\u2AE4",dashv:"\u22A3",dbkarow:"\u290F",dblac:"\u02DD",Dcaron:"\u010E",dcaron:"\u010F",Dcy:"\u0414",dcy:"\u0434",ddagger:"\u2021",ddarr:"\u21CA",DD:"\u2145",dd:"\u2146",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",DownArrowBar:"\u2913",downarrow:"\u2193",DownArrow:"\u2193",Downarrow:"\u21D3",DownArrowUpArrow:"\u21F5",DownBreve:"\u0311",downdownarrows:"\u21CA",downharpoonleft:"\u21C3",downharpoonright:"\u21C2",DownLeftRightVector:"\u2950",DownLeftTeeVector:"\u295E",DownLeftVectorBar:"\u2956",DownLeftVector:"\u21BD",DownRightTeeVector:"\u295F",DownRightVectorBar:"\u2957",DownRightVector:"\u21C1",DownTeeArrow:"\u21A7",DownTee:"\u22A4",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",Ecirc:"\xCA",ecirc:"\xEA",ecir:"\u2256",ecolon:"\u2255",Ecy:"\u042D",ecy:"\u044D",eDDot:"\u2A77",Edot:"\u0116",edot:"\u0117",eDot:"\u2251",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",emsp13:"\u2004",emsp14:"\u2005",emsp:"\u2003",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:"\u212F",Escr:"\u2130",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:"\u{1D4BB}",Fscr:"\u2131",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:"\u2265",gE:"\u2267",gEl:"\u2A8C",gel:"\u22DB",geq:"\u2265",geqq:"\u2267",geqslant:"\u2A7E",gescc:"\u2AA9",ges:"\u2A7E",gesdot:"\u2A80",gesdoto:"\u2A82",gesdotol:"\u2A84",gesl:"\u22DB\uFE00",gesles:"\u2A94",Gfr:"\u{1D50A}",gfr:"\u{1D524}",gg:"\u226B",Gg:"\u22D9",ggg:"\u22D9",gimel:"\u2137",GJcy:"\u0403",gjcy:"\u0453",gla:"\u2AA5",gl:"\u2277",glE:"\u2A92",glj:"\u2AA4",gnap:"\u2A8A",gnapprox:"\u2A8A",gne:"\u2A88",gnE:"\u2269",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",gtcc:"\u2AA7",gtcir:"\u2A7A",gt:">",GT:">",Gt:"\u226B",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",harrcir:"\u2948",harr:"\u2194",hArr:"\u21D4",harrw:"\u21AD",Hat:"^",hbar:"\u210F",Hcirc:"\u0124",hcirc:"\u0125",hearts:"\u2665",heartsuit:"\u2665",hellip:"\u2026",hercon:"\u22B9",hfr:"\u{1D525}",Hfr:"\u210C",HilbertSpace:"\u210B",hksearow:"\u2925",hkswarow:"\u2926",hoarr:"\u21FF",homtht:"\u223B",hookleftarrow:"\u21A9",hookrightarrow:"\u21AA",hopf:"\u{1D559}",Hopf:"\u210D",horbar:"\u2015",HorizontalLine:"\u2500",hscr:"\u{1D4BD}",Hscr:"\u210B",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:"\u{1D526}",Ifr:"\u2111",Igrave:"\xCC",igrave:"\xEC",ii:"\u2148",iiiint:"\u2A0C",iiint:"\u222D",iinfin:"\u29DC",iiota:"\u2129",IJlig:"\u0132",ijlig:"\u0133",Imacr:"\u012A",imacr:"\u012B",image:"\u2111",ImaginaryI:"\u2148",imagline:"\u2110",imagpart:"\u2111",imath:"\u0131",Im:"\u2111",imof:"\u22B7",imped:"\u01B5",Implies:"\u21D2",incare:"\u2105",in:"\u2208",infin:"\u221E",infintie:"\u29DD",inodot:"\u0131",intcal:"\u22BA",int:"\u222B",Int:"\u222C",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:"\u{1D4BE}",Iscr:"\u2110",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:"\u27E8",Lang:"\u27EA",langd:"\u2991",langle:"\u27E8",lap:"\u2A85",Laplacetrf:"\u2112",laquo:"\xAB",larrb:"\u21E4",larrbfs:"\u291F",larr:"\u2190",Larr:"\u219E",lArr:"\u21D0",larrfs:"\u291D",larrhk:"\u21A9",larrlp:"\u21AB",larrpl:"\u2939",larrsim:"\u2973",larrtl:"\u21A2",latail:"\u2919",lAtail:"\u291B",lat:"\u2AAB",late:"\u2AAD",lates:"\u2AAD\uFE00",lbarr:"\u290C",lBarr:"\u290E",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:"\u2264",lE:"\u2266",LeftAngleBracket:"\u27E8",LeftArrowBar:"\u21E4",leftarrow:"\u2190",LeftArrow:"\u2190",Leftarrow:"\u21D0",LeftArrowRightArrow:"\u21C6",leftarrowtail:"\u21A2",LeftCeiling:"\u2308",LeftDoubleBracket:"\u27E6",LeftDownTeeVector:"\u2961",LeftDownVectorBar:"\u2959",LeftDownVector:"\u21C3",LeftFloor:"\u230A",leftharpoondown:"\u21BD",leftharpoonup:"\u21BC",leftleftarrows:"\u21C7",leftrightarrow:"\u2194",LeftRightArrow:"\u2194",Leftrightarrow:"\u21D4",leftrightarrows:"\u21C6",leftrightharpoons:"\u21CB",leftrightsquigarrow:"\u21AD",LeftRightVector:"\u294E",LeftTeeArrow:"\u21A4",LeftTee:"\u22A3",LeftTeeVector:"\u295A",leftthreetimes:"\u22CB",LeftTriangleBar:"\u29CF",LeftTriangle:"\u22B2",LeftTriangleEqual:"\u22B4",LeftUpDownVector:"\u2951",LeftUpTeeVector:"\u2960",LeftUpVectorBar:"\u2958",LeftUpVector:"\u21BF",LeftVectorBar:"\u2952",LeftVector:"\u21BC",lEg:"\u2A8B",leg:"\u22DA",leq:"\u2264",leqq:"\u2266",leqslant:"\u2A7D",lescc:"\u2AA8",les:"\u2A7D",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",llarr:"\u21C7",ll:"\u226A",Ll:"\u22D8",llcorner:"\u231E",Lleftarrow:"\u21DA",llhard:"\u296B",lltri:"\u25FA",Lmidot:"\u013F",lmidot:"\u0140",lmoustache:"\u23B0",lmoust:"\u23B0",lnap:"\u2A89",lnapprox:"\u2A89",lne:"\u2A87",lnE:"\u2268",lneq:"\u2A87",lneqq:"\u2268",lnsim:"\u22E6",loang:"\u27EC",loarr:"\u21FD",lobrk:"\u27E6",longleftarrow:"\u27F5",LongLeftArrow:"\u27F5",Longleftarrow:"\u27F8",longleftrightarrow:"\u27F7",LongLeftRightArrow:"\u27F7",Longleftrightarrow:"\u27FA",longmapsto:"\u27FC",longrightarrow:"\u27F6",LongRightArrow:"\u27F6",Longrightarrow:"\u27F9",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:"\u{1D4C1}",Lscr:"\u2112",lsh:"\u21B0",Lsh:"\u21B0",lsim:"\u2272",lsime:"\u2A8D",lsimg:"\u2A8F",lsqb:"[",lsquo:"\u2018",lsquor:"\u201A",Lstrok:"\u0141",lstrok:"\u0142",ltcc:"\u2AA6",ltcir:"\u2A79",lt:"<",LT:"<",Lt:"\u226A",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",midast:"*",midcir:"\u2AF0",mid:"\u2223",middot:"\xB7",minusb:"\u229F",minus:"\u2212",minusd:"\u2238",minusdu:"\u2A2A",MinusPlus:"\u2213",mlcp:"\u2ADB",mldr:"\u2026",mnplus:"\u2213",models:"\u22A7",Mopf:"\u{1D544}",mopf:"\u{1D55E}",mp:"\u2213",mscr:"\u{1D4C2}",Mscr:"\u2133",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",natural:"\u266E",naturals:"\u2115",natur:"\u266E",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",nearhk:"\u2924",nearr:"\u2197",neArr:"\u21D7",nearrow:"\u2197",ne:"\u2260",nedot:"\u2250\u0338",NegativeMediumSpace:"\u200B",NegativeThickSpace:"\u200B",NegativeThinSpace:"\u200B",NegativeVeryThinSpace:"\u200B",nequiv:"\u2262",nesear:"\u2928",nesim:"\u2242\u0338",NestedGreaterGreater:"\u226B",NestedLessLess:"\u226A",NewLine:` -`,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:"\u21AE",nhArr:"\u21CE",nhpar:"\u2AF2",ni:"\u220B",nis:"\u22FC",nisd:"\u22FA",niv:"\u220B",NJcy:"\u040A",njcy:"\u045A",nlarr:"\u219A",nlArr:"\u21CD",nldr:"\u2025",nlE:"\u2266\u0338",nle:"\u2270",nleftarrow:"\u219A",nLeftarrow:"\u21CD",nleftrightarrow:"\u21AE",nLeftrightarrow:"\u21CE",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:"\u{1D55F}",Nopf:"\u2115",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",NotLeftTriangleBar:"\u29CF\u0338",NotLeftTriangle:"\u22EA",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",NotRightTriangleBar:"\u29D0\u0338",NotRightTriangle:"\u22EB",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",nparallel:"\u2226",npar:"\u2226",nparsl:"\u2AFD\u20E5",npart:"\u2202\u0338",npolint:"\u2A14",npr:"\u2280",nprcue:"\u22E0",nprec:"\u2280",npreceq:"\u2AAF\u0338",npre:"\u2AAF\u0338",nrarrc:"\u2933\u0338",nrarr:"\u219B",nrArr:"\u21CF",nrarrw:"\u219D\u0338",nrightarrow:"\u219B",nRightarrow:"\u21CF",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:"\u22AC",nvDash:"\u22AD",nVdash:"\u22AE",nVDash:"\u22AF",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:"\u2196",nwArr:"\u21D6",nwarrow:"\u2196",nwnear:"\u2927",Oacute:"\xD3",oacute:"\xF3",oast:"\u229B",Ocirc:"\xD4",ocirc:"\xF4",ocir:"\u229A",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",orarr:"\u21BB",Or:"\u2A54",or:"\u2228",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",otimesas:"\u2A36",Otimes:"\u2A37",otimes:"\u2297",Ouml:"\xD6",ouml:"\xF6",ovbar:"\u233D",OverBar:"\u203E",OverBrace:"\u23DE",OverBracket:"\u23B4",OverParenthesis:"\u23DC",para:"\xB6",parallel:"\u2225",par:"\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",plusacir:"\u2A23",plusb:"\u229E",pluscir:"\u2A22",plus:"+",plusdo:"\u2214",plusdu:"\u2A25",pluse:"\u2A72",PlusMinus:"\xB1",plusmn:"\xB1",plussim:"\u2A26",plustwo:"\u2A27",pm:"\xB1",Poincareplane:"\u210C",pointint:"\u2A15",popf:"\u{1D561}",Popf:"\u2119",pound:"\xA3",prap:"\u2AB7",Pr:"\u2ABB",pr:"\u227A",prcue:"\u227C",precapprox:"\u2AB7",prec:"\u227A",preccurlyeq:"\u227C",Precedes:"\u227A",PrecedesEqual:"\u2AAF",PrecedesSlantEqual:"\u227C",PrecedesTilde:"\u227E",preceq:"\u2AAF",precnapprox:"\u2AB9",precneqq:"\u2AB5",precnsim:"\u22E8",pre:"\u2AAF",prE:"\u2AB3",precsim:"\u227E",prime:"\u2032",Prime:"\u2033",primes:"\u2119",prnap:"\u2AB9",prnE:"\u2AB5",prnsim:"\u22E8",prod:"\u220F",Product:"\u220F",profalar:"\u232E",profline:"\u2312",profsurf:"\u2313",prop:"\u221D",Proportional:"\u221D",Proportion:"\u2237",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:"\u{1D562}",Qopf:"\u211A",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:"\u27E9",Rang:"\u27EB",rangd:"\u2992",range:"\u29A5",rangle:"\u27E9",raquo:"\xBB",rarrap:"\u2975",rarrb:"\u21E5",rarrbfs:"\u2920",rarrc:"\u2933",rarr:"\u2192",Rarr:"\u21A0",rArr:"\u21D2",rarrfs:"\u291E",rarrhk:"\u21AA",rarrlp:"\u21AC",rarrpl:"\u2945",rarrsim:"\u2974",Rarrtl:"\u2916",rarrtl:"\u21A3",rarrw:"\u219D",ratail:"\u291A",rAtail:"\u291C",ratio:"\u2236",rationals:"\u211A",rbarr:"\u290D",rBarr:"\u290F",RBarr:"\u2910",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",real:"\u211C",realine:"\u211B",realpart:"\u211C",reals:"\u211D",Re:"\u211C",rect:"\u25AD",reg:"\xAE",REG:"\xAE",ReverseElement:"\u220B",ReverseEquilibrium:"\u21CB",ReverseUpEquilibrium:"\u296F",rfisht:"\u297D",rfloor:"\u230B",rfr:"\u{1D52F}",Rfr:"\u211C",rHar:"\u2964",rhard:"\u21C1",rharu:"\u21C0",rharul:"\u296C",Rho:"\u03A1",rho:"\u03C1",rhov:"\u03F1",RightAngleBracket:"\u27E9",RightArrowBar:"\u21E5",rightarrow:"\u2192",RightArrow:"\u2192",Rightarrow:"\u21D2",RightArrowLeftArrow:"\u21C4",rightarrowtail:"\u21A3",RightCeiling:"\u2309",RightDoubleBracket:"\u27E7",RightDownTeeVector:"\u295D",RightDownVectorBar:"\u2955",RightDownVector:"\u21C2",RightFloor:"\u230B",rightharpoondown:"\u21C1",rightharpoonup:"\u21C0",rightleftarrows:"\u21C4",rightleftharpoons:"\u21CC",rightrightarrows:"\u21C9",rightsquigarrow:"\u219D",RightTeeArrow:"\u21A6",RightTee:"\u22A2",RightTeeVector:"\u295B",rightthreetimes:"\u22CC",RightTriangleBar:"\u29D0",RightTriangle:"\u22B3",RightTriangleEqual:"\u22B5",RightUpDownVector:"\u294F",RightUpTeeVector:"\u295C",RightUpVectorBar:"\u2954",RightUpVector:"\u21BE",RightVectorBar:"\u2953",RightVector:"\u21C0",ring:"\u02DA",risingdotseq:"\u2253",rlarr:"\u21C4",rlhar:"\u21CC",rlm:"\u200F",rmoustache:"\u23B1",rmoust:"\u23B1",rnmid:"\u2AEE",roang:"\u27ED",roarr:"\u21FE",robrk:"\u27E7",ropar:"\u2986",ropf:"\u{1D563}",Ropf:"\u211D",roplus:"\u2A2E",rotimes:"\u2A35",RoundImplies:"\u2970",rpar:")",rpargt:"\u2994",rppolint:"\u2A12",rrarr:"\u21C9",Rrightarrow:"\u21DB",rsaquo:"\u203A",rscr:"\u{1D4C7}",Rscr:"\u211B",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",scap:"\u2AB8",Scaron:"\u0160",scaron:"\u0161",Sc:"\u2ABC",sc:"\u227B",sccue:"\u227D",sce:"\u2AB0",scE:"\u2AB4",Scedil:"\u015E",scedil:"\u015F",Scirc:"\u015C",scirc:"\u015D",scnap:"\u2ABA",scnE:"\u2AB6",scnsim:"\u22E9",scpolint:"\u2A13",scsim:"\u227F",Scy:"\u0421",scy:"\u0441",sdotb:"\u22A1",sdot:"\u22C5",sdote:"\u2A66",searhk:"\u2925",searr:"\u2198",seArr:"\u21D8",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",solbar:"\u233F",solb:"\u29C4",sol:"/",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",square:"\u25A1",Square:"\u25A1",SquareIntersection:"\u2293",SquareSubset:"\u228F",SquareSubsetEqual:"\u2291",SquareSuperset:"\u2290",SquareSupersetEqual:"\u2292",SquareUnion:"\u2294",squarf:"\u25AA",squ:"\u25A1",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:"\u2282",Sub:"\u22D0",subdot:"\u2ABD",subE:"\u2AC5",sube:"\u2286",subedot:"\u2AC3",submult:"\u2AC1",subnE:"\u2ACB",subne:"\u228A",subplus:"\u2ABF",subrarr:"\u2979",subset:"\u2282",Subset:"\u22D0",subseteq:"\u2286",subseteqq:"\u2AC5",SubsetEqual:"\u2286",subsetneq:"\u228A",subsetneqq:"\u2ACB",subsim:"\u2AC7",subsub:"\u2AD5",subsup:"\u2AD3",succapprox:"\u2AB8",succ:"\u227B",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",sup1:"\xB9",sup2:"\xB2",sup3:"\xB3",sup:"\u2283",Sup:"\u22D1",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:"\u2283",Supset:"\u22D1",supseteq:"\u2287",supseteqq:"\u2AC6",supsetneq:"\u228B",supsetneqq:"\u2ACC",supsim:"\u2AC8",supsub:"\u2AD4",supsup:"\u2AD6",swarhk:"\u2926",swarr:"\u2199",swArr:"\u21D9",swarrow:"\u2199",swnwar:"\u292A",szlig:"\xDF",Tab:" ",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",ThinSpace:"\u2009",thinsp:"\u2009",thkap:"\u2248",thksim:"\u223C",THORN:"\xDE",thorn:"\xFE",tilde:"\u02DC",Tilde:"\u223C",TildeEqual:"\u2243",TildeFullEqual:"\u2245",TildeTilde:"\u2248",timesbar:"\u2A31",timesb:"\u22A0",times:"\xD7",timesd:"\u2A30",tint:"\u222D",toea:"\u2928",topbot:"\u2336",topcir:"\u2AF1",top:"\u22A4",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:"\u2191",Uarr:"\u219F",uArr:"\u21D1",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}",UpArrowBar:"\u2912",uparrow:"\u2191",UpArrow:"\u2191",Uparrow:"\u21D1",UpArrowDownArrow:"\u21C5",updownarrow:"\u2195",UpDownArrow:"\u2195",Updownarrow:"\u21D5",UpEquilibrium:"\u296E",upharpoonleft:"\u21BF",upharpoonright:"\u21BE",uplus:"\u228E",UpperLeftArrow:"\u2196",UpperRightArrow:"\u2197",upsi:"\u03C5",Upsi:"\u03D2",upsih:"\u03D2",Upsilon:"\u03A5",upsilon:"\u03C5",UpTeeArrow:"\u21A5",UpTee:"\u22A5",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:"\u2195",vArr:"\u21D5",varrho:"\u03F1",varsigma:"\u03C2",varsubsetneq:"\u228A\uFE00",varsubsetneqq:"\u2ACB\uFE00",varsupsetneq:"\u228B\uFE00",varsupsetneqq:"\u2ACC\uFE00",vartheta:"\u03D1",vartriangleleft:"\u22B2",vartriangleright:"\u22B3",vBar:"\u2AE8",Vbar:"\u2AEB",vBarv:"\u2AE9",Vcy:"\u0412",vcy:"\u0432",vdash:"\u22A2",vDash:"\u22A8",Vdash:"\u22A9",VDash:"\u22AB",Vdashl:"\u2AE6",veebar:"\u22BB",vee:"\u2228",Vee:"\u22C1",veeeq:"\u225A",vellip:"\u22EE",verbar:"|",Verbar:"\u2016",vert:"|",Vert:"\u2016",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:"\u2227",Wedge:"\u22C0",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:"\u27F7",xhArr:"\u27FA",Xi:"\u039E",xi:"\u03BE",xlarr:"\u27F5",xlArr:"\u27F8",xmap:"\u27FC",xnis:"\u22FB",xodot:"\u2A00",Xopf:"\u{1D54F}",xopf:"\u{1D569}",xoplus:"\u2A01",xotime:"\u2A02",xrarr:"\u27F6",xrArr:"\u27F9",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:"\xFF",Yuml:"\u0178",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:"\u{1D537}",Zfr:"\u2128",ZHcy:"\u0416",zhcy:"\u0436",zigrarr:"\u21DD",zopf:"\u{1D56B}",Zopf:"\u2124",Zscr:"\u{1D4B5}",zscr:"\u{1D4CF}",zwj:"\u200D",zwnj:"\u200C"},is=/^#[xX]([A-Fa-f0-9]+)$/,ss=/^#([0-9]+)$/,as=/^([A-Za-z0-9]+)$/,kt=function(){function t(e){this.named=e}return t.prototype.parse=function(e){if(e){var r=e.match(is);if(r)return String.fromCharCode(parseInt(r[1],16));if(r=e.match(ss),r)return String.fromCharCode(parseInt(r[1],10));if(r=e.match(as),r)return this.named[r[1]]}},t}(),os=/[\t\n\f ]/,ls=/[A-Za-z]/,cs=/\r\n?/g;function L(t){return os.test(t)}function wn(t){return ls.test(t)}function us(t){return t.replace(cs,` -`)}var dr=function(){function t(e,r,n){n===void 0&&(n="precompile"),this.delegate=e,this.entityParser=r,this.mode=n,this.state="beforeData",this.line=-1,this.column=-1,this.input="",this.index=-1,this.tagNameBuffer="",this.states={beforeData:function(){var i=this.peek();if(i==="<"&&!this.isIgnoredEndTag())this.transitionTo("tagOpen"),this.markTagStart(),this.consume();else{if(this.mode==="precompile"&&i===` -`){var s=this.tagNameBuffer.toLowerCase();(s==="pre"||s==="textarea")&&this.consume()}this.transitionTo("data"),this.delegate.beginData()}},data:function(){var i=this.peek(),s=this.tagNameBuffer;i==="<"&&!this.isIgnoredEndTag()?(this.delegate.finishData(),this.transitionTo("tagOpen"),this.markTagStart(),this.consume()):i==="&"&&s!=="script"&&s!=="style"?(this.consume(),this.delegate.appendToData(this.consumeCharRef()||"&")):(this.consume(),this.delegate.appendToData(i))},tagOpen:function(){var i=this.consume();i==="!"?this.transitionTo("markupDeclarationOpen"):i==="/"?this.transitionTo("endTagOpen"):(i==="@"||i===":"||wn(i))&&(this.transitionTo("tagName"),this.tagNameBuffer="",this.delegate.beginStartTag(),this.appendToTagName(i))},markupDeclarationOpen:function(){var i=this.consume();if(i==="-"&&this.peek()==="-")this.consume(),this.transitionTo("commentStart"),this.delegate.beginComment();else{var s=i.toUpperCase()+this.input.substring(this.index,this.index+6).toUpperCase();s==="DOCTYPE"&&(this.consume(),this.consume(),this.consume(),this.consume(),this.consume(),this.consume(),this.transitionTo("doctype"),this.delegate.beginDoctype&&this.delegate.beginDoctype())}},doctype:function(){var i=this.consume();L(i)&&this.transitionTo("beforeDoctypeName")},beforeDoctypeName:function(){var i=this.consume();L(i)||(this.transitionTo("doctypeName"),this.delegate.appendToDoctypeName&&this.delegate.appendToDoctypeName(i.toLowerCase()))},doctypeName:function(){var i=this.consume();L(i)?this.transitionTo("afterDoctypeName"):i===">"?(this.delegate.endDoctype&&this.delegate.endDoctype(),this.transitionTo("beforeData")):this.delegate.appendToDoctypeName&&this.delegate.appendToDoctypeName(i.toLowerCase())},afterDoctypeName:function(){var i=this.consume();if(!L(i))if(i===">")this.delegate.endDoctype&&this.delegate.endDoctype(),this.transitionTo("beforeData");else{var s=i.toUpperCase()+this.input.substring(this.index,this.index+5).toUpperCase(),a=s.toUpperCase()==="PUBLIC",l=s.toUpperCase()==="SYSTEM";(a||l)&&(this.consume(),this.consume(),this.consume(),this.consume(),this.consume(),this.consume()),a?this.transitionTo("afterDoctypePublicKeyword"):l&&this.transitionTo("afterDoctypeSystemKeyword")}},afterDoctypePublicKeyword:function(){var i=this.peek();L(i)?(this.transitionTo("beforeDoctypePublicIdentifier"),this.consume()):i==='"'?(this.transitionTo("doctypePublicIdentifierDoubleQuoted"),this.consume()):i==="'"?(this.transitionTo("doctypePublicIdentifierSingleQuoted"),this.consume()):i===">"&&(this.consume(),this.delegate.endDoctype&&this.delegate.endDoctype(),this.transitionTo("beforeData"))},doctypePublicIdentifierDoubleQuoted:function(){var i=this.consume();i==='"'?this.transitionTo("afterDoctypePublicIdentifier"):i===">"?(this.delegate.endDoctype&&this.delegate.endDoctype(),this.transitionTo("beforeData")):this.delegate.appendToDoctypePublicIdentifier&&this.delegate.appendToDoctypePublicIdentifier(i)},doctypePublicIdentifierSingleQuoted:function(){var i=this.consume();i==="'"?this.transitionTo("afterDoctypePublicIdentifier"):i===">"?(this.delegate.endDoctype&&this.delegate.endDoctype(),this.transitionTo("beforeData")):this.delegate.appendToDoctypePublicIdentifier&&this.delegate.appendToDoctypePublicIdentifier(i)},afterDoctypePublicIdentifier:function(){var i=this.consume();L(i)?this.transitionTo("betweenDoctypePublicAndSystemIdentifiers"):i===">"?(this.delegate.endDoctype&&this.delegate.endDoctype(),this.transitionTo("beforeData")):i==='"'?this.transitionTo("doctypeSystemIdentifierDoubleQuoted"):i==="'"&&this.transitionTo("doctypeSystemIdentifierSingleQuoted")},betweenDoctypePublicAndSystemIdentifiers:function(){var i=this.consume();L(i)||(i===">"?(this.delegate.endDoctype&&this.delegate.endDoctype(),this.transitionTo("beforeData")):i==='"'?this.transitionTo("doctypeSystemIdentifierDoubleQuoted"):i==="'"&&this.transitionTo("doctypeSystemIdentifierSingleQuoted"))},doctypeSystemIdentifierDoubleQuoted:function(){var i=this.consume();i==='"'?this.transitionTo("afterDoctypeSystemIdentifier"):i===">"?(this.delegate.endDoctype&&this.delegate.endDoctype(),this.transitionTo("beforeData")):this.delegate.appendToDoctypeSystemIdentifier&&this.delegate.appendToDoctypeSystemIdentifier(i)},doctypeSystemIdentifierSingleQuoted:function(){var i=this.consume();i==="'"?this.transitionTo("afterDoctypeSystemIdentifier"):i===">"?(this.delegate.endDoctype&&this.delegate.endDoctype(),this.transitionTo("beforeData")):this.delegate.appendToDoctypeSystemIdentifier&&this.delegate.appendToDoctypeSystemIdentifier(i)},afterDoctypeSystemIdentifier:function(){var i=this.consume();L(i)||i===">"&&(this.delegate.endDoctype&&this.delegate.endDoctype(),this.transitionTo("beforeData"))},commentStart:function(){var i=this.consume();i==="-"?this.transitionTo("commentStartDash"):i===">"?(this.delegate.finishComment(),this.transitionTo("beforeData")):(this.delegate.appendToCommentData(i),this.transitionTo("comment"))},commentStartDash:function(){var i=this.consume();i==="-"?this.transitionTo("commentEnd"):i===">"?(this.delegate.finishComment(),this.transitionTo("beforeData")):(this.delegate.appendToCommentData("-"),this.transitionTo("comment"))},comment:function(){var i=this.consume();i==="-"?this.transitionTo("commentEndDash"):this.delegate.appendToCommentData(i)},commentEndDash:function(){var i=this.consume();i==="-"?this.transitionTo("commentEnd"):(this.delegate.appendToCommentData("-"+i),this.transitionTo("comment"))},commentEnd:function(){var i=this.consume();i===">"?(this.delegate.finishComment(),this.transitionTo("beforeData")):(this.delegate.appendToCommentData("--"+i),this.transitionTo("comment"))},tagName:function(){var i=this.consume();L(i)?this.transitionTo("beforeAttributeName"):i==="/"?this.transitionTo("selfClosingStartTag"):i===">"?(this.delegate.finishTag(),this.transitionTo("beforeData")):this.appendToTagName(i)},endTagName:function(){var i=this.consume();L(i)?(this.transitionTo("beforeAttributeName"),this.tagNameBuffer=""):i==="/"?(this.transitionTo("selfClosingStartTag"),this.tagNameBuffer=""):i===">"?(this.delegate.finishTag(),this.transitionTo("beforeData"),this.tagNameBuffer=""):this.appendToTagName(i)},beforeAttributeName:function(){var i=this.peek();if(L(i)){this.consume();return}else i==="/"?(this.transitionTo("selfClosingStartTag"),this.consume()):i===">"?(this.consume(),this.delegate.finishTag(),this.transitionTo("beforeData")):i==="="?(this.delegate.reportSyntaxError("attribute name cannot start with equals sign"),this.transitionTo("attributeName"),this.delegate.beginAttribute(),this.consume(),this.delegate.appendToAttributeName(i)):(this.transitionTo("attributeName"),this.delegate.beginAttribute())},attributeName:function(){var i=this.peek();L(i)?(this.transitionTo("afterAttributeName"),this.consume()):i==="/"?(this.delegate.beginAttributeValue(!1),this.delegate.finishAttributeValue(),this.consume(),this.transitionTo("selfClosingStartTag")):i==="="?(this.transitionTo("beforeAttributeValue"),this.consume()):i===">"?(this.delegate.beginAttributeValue(!1),this.delegate.finishAttributeValue(),this.consume(),this.delegate.finishTag(),this.transitionTo("beforeData")):i==='"'||i==="'"||i==="<"?(this.delegate.reportSyntaxError(i+" is not a valid character within attribute names"),this.consume(),this.delegate.appendToAttributeName(i)):(this.consume(),this.delegate.appendToAttributeName(i))},afterAttributeName:function(){var i=this.peek();if(L(i)){this.consume();return}else i==="/"?(this.delegate.beginAttributeValue(!1),this.delegate.finishAttributeValue(),this.consume(),this.transitionTo("selfClosingStartTag")):i==="="?(this.consume(),this.transitionTo("beforeAttributeValue")):i===">"?(this.delegate.beginAttributeValue(!1),this.delegate.finishAttributeValue(),this.consume(),this.delegate.finishTag(),this.transitionTo("beforeData")):(this.delegate.beginAttributeValue(!1),this.delegate.finishAttributeValue(),this.transitionTo("attributeName"),this.delegate.beginAttribute(),this.consume(),this.delegate.appendToAttributeName(i))},beforeAttributeValue:function(){var i=this.peek();L(i)?this.consume():i==='"'?(this.transitionTo("attributeValueDoubleQuoted"),this.delegate.beginAttributeValue(!0),this.consume()):i==="'"?(this.transitionTo("attributeValueSingleQuoted"),this.delegate.beginAttributeValue(!0),this.consume()):i===">"?(this.delegate.beginAttributeValue(!1),this.delegate.finishAttributeValue(),this.consume(),this.delegate.finishTag(),this.transitionTo("beforeData")):(this.transitionTo("attributeValueUnquoted"),this.delegate.beginAttributeValue(!1),this.consume(),this.delegate.appendToAttributeValue(i))},attributeValueDoubleQuoted:function(){var i=this.consume();i==='"'?(this.delegate.finishAttributeValue(),this.transitionTo("afterAttributeValueQuoted")):i==="&"?this.delegate.appendToAttributeValue(this.consumeCharRef()||"&"):this.delegate.appendToAttributeValue(i)},attributeValueSingleQuoted:function(){var i=this.consume();i==="'"?(this.delegate.finishAttributeValue(),this.transitionTo("afterAttributeValueQuoted")):i==="&"?this.delegate.appendToAttributeValue(this.consumeCharRef()||"&"):this.delegate.appendToAttributeValue(i)},attributeValueUnquoted:function(){var i=this.peek();L(i)?(this.delegate.finishAttributeValue(),this.consume(),this.transitionTo("beforeAttributeName")):i==="/"?(this.delegate.finishAttributeValue(),this.consume(),this.transitionTo("selfClosingStartTag")):i==="&"?(this.consume(),this.delegate.appendToAttributeValue(this.consumeCharRef()||"&")):i===">"?(this.delegate.finishAttributeValue(),this.consume(),this.delegate.finishTag(),this.transitionTo("beforeData")):(this.consume(),this.delegate.appendToAttributeValue(i))},afterAttributeValueQuoted:function(){var i=this.peek();L(i)?(this.consume(),this.transitionTo("beforeAttributeName")):i==="/"?(this.consume(),this.transitionTo("selfClosingStartTag")):i===">"?(this.consume(),this.delegate.finishTag(),this.transitionTo("beforeData")):this.transitionTo("beforeAttributeName")},selfClosingStartTag:function(){var i=this.peek();i===">"?(this.consume(),this.delegate.markTagAsSelfClosing(),this.delegate.finishTag(),this.transitionTo("beforeData")):this.transitionTo("beforeAttributeName")},endTagOpen:function(){var i=this.consume();(i==="@"||i===":"||wn(i))&&(this.transitionTo("endTagName"),this.tagNameBuffer="",this.delegate.beginEndTag(),this.appendToTagName(i))}},this.reset()}return t.prototype.reset=function(){this.transitionTo("beforeData"),this.input="",this.tagNameBuffer="",this.index=0,this.line=1,this.column=0,this.delegate.reset()},t.prototype.transitionTo=function(e){this.state=e},t.prototype.tokenize=function(e){this.reset(),this.tokenizePart(e),this.tokenizeEOF()},t.prototype.tokenizePart=function(e){for(this.input+=us(e);this.index"||e==="style"&&this.input.substring(this.index,this.index+8)!==""||e==="script"&&this.input.substring(this.index,this.index+9)!=="<\/script>"},t}(),zl=function(){function t(e,r){r===void 0&&(r={}),this.options=r,this.token=null,this.startLine=1,this.startColumn=0,this.tokens=[],this.tokenizer=new dr(this,e,r.mode),this._currentAttribute=void 0}return t.prototype.tokenize=function(e){return this.tokens=[],this.tokenizer.tokenize(e),this.tokens},t.prototype.tokenizePart=function(e){return this.tokens=[],this.tokenizer.tokenizePart(e),this.tokens},t.prototype.tokenizeEOF=function(){return this.tokens=[],this.tokenizer.tokenizeEOF(),this.tokens[0]},t.prototype.reset=function(){this.token=null,this.startLine=1,this.startColumn=0},t.prototype.current=function(){var e=this.token;if(e===null)throw new Error("token was unexpectedly null");if(arguments.length===0)return e;for(var r=0;r]/,jl=new RegExp(ps.source,"g");var Pt=Object.create(null),fs="area base br col command embed hr img input keygen link meta param source track wbr";fs.split(" ").forEach(t=>{Pt[t]=!0});var Y=Object.freeze({line:1,column:0}),kn=Object.freeze({source:"(synthetic)",start:Y,end:Y});var sc=Object.freeze({source:"(temporary)",start:Y,end:Y}),Fe=Object.freeze({source:"(nonexistent)",start:Y,end:Y}),ee=Object.freeze({source:"(broken)",start:Y,end:Y});var Nt=class t{constructor(e){this.loc=e.loc,this.chars=e.chars}static synthetic(e){let r=P.synthetic(e);return new t({loc:r,chars:e})}static load(e,r){return new t({loc:P.load(e,r[1]),chars:r[0]})}getString(){return this.chars}serialize(){return[this.chars,this.loc.serialize()]}};var Pe="MATCH_ANY",At="IS_INVISIBLE",mr=class{constructor(e){this._whens=e}first(e){for(let r of this._whens){let n=r.match(e);if(He(n))return n[0]}return null}},Ct=class{constructor(){this._map=new Map}get(e,r){let n=this._map.get(e);return n||(n=r(),this._map.set(e,n),n)}add(e,r){this._map.set(e,r)}match(e){let r=ds(e),n=[],i=this._map.get(r),s=this._map.get(Pe);return i&&n.push(i),s&&n.push(s),n}};function _t(t){return t(new gr).check()}var gr=class{constructor(){this._whens=new Ct}check(){return(e,r)=>this.matchFor(e.kind,r.kind)(e,r)}matchFor(e,r){let n=this._whens.match(e);return new mr(n).first(r)}when(e,r,n){return this._whens.get(e,()=>new Ct).add(r,n),this}};function ds(t){switch(t){case"Broken":case"InternalsSynthetic":case"NonExistent":return At;default:return t}}var te="BROKEN",me=class t{constructor(e){this.data=e}static forHbsPos(e,r){return new re(e,r,null).wrap()}static broken(e=Y){return new Me("Broken",e).wrap()}get offset(){let e=this.data.toCharPos();return e===null?null:e.offset}eql(e){return ms(this.data,e.data)}until(e){return z(this.data,e.data)}move(e){let r=this.data.toCharPos();if(r===null)return t.broken();{let n=r.offset+e;return r.source.check(n)?new ge(r.source,n).wrap():t.broken()}}collapsed(){return z(this.data,this.data)}toJSON(){return this.data.toJSON()}},ge=class{constructor(e,r){this.source=e,this.charPos=r,this.kind="CharPosition",this._locPos=null}toCharPos(){return this}toJSON(){let e=this.toHbsPos();return e===null?Y:e.toJSON()}wrap(){return new me(this)}get offset(){return this.charPos}toHbsPos(){let e=this._locPos;if(e===null){let r=this.source.hbsPosFor(this.charPos);r===null?this._locPos=e=te:this._locPos=e=new re(this.source,r,this.charPos)}return e===te?null:e}},re=class{constructor(e,r,n=null){this.source=e,this.hbsPos=r,this.kind="HbsPosition",this._charPos=n===null?null:new ge(e,n)}toCharPos(){let e=this._charPos;if(e===null){let r=this.source.charPosFor(this.hbsPos);r===null?this._charPos=e=te:this._charPos=e=new ge(this.source,r)}return e===te?null:e}toJSON(){return this.hbsPos}wrap(){return new me(this)}toHbsPos(){return this}},Me=class{constructor(e,r){this.kind=e,this.pos=r}toCharPos(){return null}toJSON(){return this.pos}wrap(){return new me(this)}get offset(){return null}},ms=_t(t=>t.when("HbsPosition","HbsPosition",({hbsPos:e},{hbsPos:r})=>e.column===r.column&&e.line===r.line).when("CharPosition","CharPosition",({charPos:e},{charPos:r})=>e===r).when("CharPosition","HbsPosition",({offset:e},r)=>{var n;return e===((n=r.toCharPos())===null||n===void 0?void 0:n.offset)}).when("HbsPosition","CharPosition",(e,{offset:r})=>{var n;return((n=e.toCharPos())===null||n===void 0?void 0:n.offset)===r}).when(Pe,Pe,()=>!1));var P=class t{constructor(e){this.data=e,this.isInvisible=e.kind!=="CharPosition"&&e.kind!=="HbsPosition"}static get NON_EXISTENT(){return new ne("NonExistent",Fe).wrap()}static load(e,r){if(typeof r=="number")return t.forCharPositions(e,r,r);if(typeof r=="string")return t.synthetic(r);if(Array.isArray(r))return t.forCharPositions(e,r[0],r[1]);if(r==="NonExistent")return t.NON_EXISTENT;if(r==="Broken")return t.broken(ee);bn(r)}static forHbsLoc(e,r){let n=new re(e,r.start),i=new re(e,r.end);return new ot(e,{start:n,end:i},r).wrap()}static forCharPositions(e,r,n){let i=new ge(e,r),s=new ge(e,n);return new at(e,{start:i,end:s}).wrap()}static synthetic(e){return new ne("InternalsSynthetic",Fe,e).wrap()}static broken(e=ee){return new ne("Broken",e).wrap()}getStart(){return this.data.getStart().wrap()}getEnd(){return this.data.getEnd().wrap()}get loc(){let e=this.data.toHbsSpan();return e===null?ee:e.toHbsLoc()}get module(){return this.data.getModule()}get startPosition(){return this.loc.start}get endPosition(){return this.loc.end}toJSON(){return this.loc}withStart(e){return z(e.data,this.data.getEnd())}withEnd(e){return z(this.data.getStart(),e.data)}asString(){return this.data.asString()}toSlice(e){let r=this.data.asString();return!1&&e!==void 0&&r!==e&&console.warn(`unexpectedly found ${JSON.stringify(r)} when slicing source, but expected ${JSON.stringify(e)}`),new Nt({loc:this,chars:e||r})}get start(){return this.loc.start}set start(e){this.data.locDidUpdate({start:e})}get end(){return this.loc.end}set end(e){this.data.locDidUpdate({end:e})}get source(){return this.module}collapse(e){switch(e){case"start":return this.getStart().collapsed();case"end":return this.getEnd().collapsed()}}extend(e){return z(this.data.getStart(),e.data.getEnd())}serialize(){return this.data.serialize()}slice({skipStart:e=0,skipEnd:r=0}){return z(this.getStart().move(e).data,this.getEnd().move(-r).data)}sliceStartChars({skipStart:e=0,chars:r}){return z(this.getStart().move(e).data,this.getStart().move(e+r).data)}sliceEndChars({skipEnd:e=0,chars:r}){return z(this.getEnd().move(e-r).data,this.getStart().move(-e).data)}},at=class{constructor(e,r){this.source=e,this.charPositions=r,this.kind="CharPosition",this._locPosSpan=null}wrap(){return new P(this)}asString(){return this.source.slice(this.charPositions.start.charPos,this.charPositions.end.charPos)}getModule(){return this.source.module}getStart(){return this.charPositions.start}getEnd(){return this.charPositions.end}locDidUpdate(){}toHbsSpan(){let e=this._locPosSpan;if(e===null){let r=this.charPositions.start.toHbsPos(),n=this.charPositions.end.toHbsPos();r===null||n===null?e=this._locPosSpan=te:e=this._locPosSpan=new ot(this.source,{start:r,end:n})}return e===te?null:e}serialize(){let{start:{charPos:e},end:{charPos:r}}=this.charPositions;return e===r?e:[e,r]}toCharPosSpan(){return this}},ot=class{constructor(e,r,n=null){this.source=e,this.hbsPositions=r,this.kind="HbsPosition",this._charPosSpan=null,this._providedHbsLoc=n}serialize(){let e=this.toCharPosSpan();return e===null?"Broken":e.wrap().serialize()}wrap(){return new P(this)}updateProvided(e,r){this._providedHbsLoc&&(this._providedHbsLoc[r]=e),this._charPosSpan=null,this._providedHbsLoc={start:e,end:e}}locDidUpdate({start:e,end:r}){e!==void 0&&(this.updateProvided(e,"start"),this.hbsPositions.start=new re(this.source,e,null)),r!==void 0&&(this.updateProvided(r,"end"),this.hbsPositions.end=new re(this.source,r,null))}asString(){let e=this.toCharPosSpan();return e===null?"":e.asString()}getModule(){return this.source.module}getStart(){return this.hbsPositions.start}getEnd(){return this.hbsPositions.end}toHbsLoc(){return{start:this.hbsPositions.start.hbsPos,end:this.hbsPositions.end.hbsPos}}toHbsSpan(){return this}toCharPosSpan(){let e=this._charPosSpan;if(e===null){let r=this.hbsPositions.start.toCharPos(),n=this.hbsPositions.end.toCharPos();if(r&&n)e=this._charPosSpan=new at(this.source,{start:r,end:n});else return e=this._charPosSpan=te,null}return e===te?null:e}},ne=class{constructor(e,r,n=null){this.kind=e,this.loc=r,this.string=n}serialize(){switch(this.kind){case"Broken":case"NonExistent":return this.kind;case"InternalsSynthetic":return this.string||""}}wrap(){return new P(this)}asString(){return this.string||""}locDidUpdate({start:e,end:r}){e!==void 0&&(this.loc.start=e),r!==void 0&&(this.loc.end=r)}getModule(){return"an unknown module"}getStart(){return new Me(this.kind,this.loc.start)}getEnd(){return new Me(this.kind,this.loc.end)}toCharPosSpan(){return this}toHbsSpan(){return null}toHbsLoc(){return ee}},z=_t(t=>t.when("HbsPosition","HbsPosition",(e,r)=>new ot(e.source,{start:e,end:r}).wrap()).when("CharPosition","CharPosition",(e,r)=>new at(e.source,{start:e,end:r}).wrap()).when("CharPosition","HbsPosition",(e,r)=>{let n=r.toCharPos();return n===null?new ne("Broken",ee).wrap():z(e,n)}).when("HbsPosition","CharPosition",(e,r)=>{let n=e.toCharPos();return n===null?new ne("Broken",ee).wrap():z(n,r)}).when(At,Pe,e=>new ne(e.kind,ee).wrap()).when(Pe,At,(e,r)=>new ne(r.kind,ee).wrap()));var ie=class{constructor(e,r="an unknown module"){this.source=e,this.module=r}check(e){return e>=0&&e<=this.source.length}slice(e,r){return this.source.slice(e,r)}offsetFor(e,r){return me.forHbsPos(this,{line:e,column:r})}spanFor({start:e,end:r}){return P.forHbsLoc(this,{start:{line:e.line,column:e.column},end:{line:r.line,column:r.column}})}hbsPosFor(e){let r=0,n=0;if(e>this.source.length)return null;for(;;){let i=this.source.indexOf(` -`,n);if(e<=i||i===-1)return{line:r+1,column:e-n};r+=1,n=i+1}}charPosFor(e){let{line:r,column:n}=e,s=this.source.length,a=0,l=0;for(;;){if(l>=s)return s;let c=this.source.indexOf(` -`,l);if(c===-1&&(c=this.source.length),a===r-1){if(l+n>c)return c;if(!1){let h=this.hbsPosFor(l+n)}return l+n}else{if(c===-1)return 0;a+=1,l=c+1}}}};function S(t,e){let{module:r,loc:n}=e,{line:i,column:s}=n.start,a=e.asString(),l=a?` +(function(f){function e(){var i=f();return i.default||i}if(typeof exports=="object"&&typeof module=="object")module.exports=e();else if(typeof define=="function"&&define.amd)define(e);else{var t=typeof globalThis<"u"?globalThis:typeof global<"u"?global:typeof self<"u"?self:this||{};t.prettierPlugins=t.prettierPlugins||{},t.prettierPlugins.glimmer=e()}})(function(){"use strict";var zt=Object.defineProperty;var rs=Object.getOwnPropertyDescriptor;var ns=Object.getOwnPropertyNames;var ss=Object.prototype.hasOwnProperty;var Fr=t=>{throw TypeError(t)};var Gt=(t,e)=>{for(var r in e)zt(t,r,{get:e[r],enumerable:!0})},is=(t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let s of ns(e))!ss.call(t,s)&&s!==r&&zt(t,s,{get:()=>e[s],enumerable:!(n=rs(e,s))||n.enumerable});return t};var as=t=>is(zt({},"__esModule",{value:!0}),t);var Mr=(t,e,r)=>e.has(t)||Fr("Cannot "+r);var $=(t,e,r)=>(Mr(t,e,"read from private field"),r?r.call(t):e.get(t)),Yt=(t,e,r)=>e.has(t)?Fr("Cannot add the same private member more than once"):e instanceof WeakSet?e.add(t):e.set(t,r),Kt=(t,e,r,n)=>(Mr(t,e,"write to private field"),n?n.call(t,r):e.set(t,r),r);var ba={};Gt(ba,{languages:()=>Sn,parsers:()=>Rr,printers:()=>ga});var os=(t,e,r,n)=>{if(!(t&&e==null))return e.replaceAll?e.replaceAll(r,n):r.global?e.replace(r,n):e.split(r).join(n)},Wt=os;var ze="string",Ge="array",Ye="cursor",Le="indent",_e="align",Ke="trim",De="group",Oe="fill",Be="if-break",We="indent-if-break",$e="line-suffix",je="line-suffix-boundary",ee="line",Qe="label",Ie="break-parent",ft=new Set([Ye,Le,_e,Ke,De,Oe,Be,We,$e,je,ee,Qe,Ie]);function ls(t){if(typeof t=="string")return ze;if(Array.isArray(t))return Ge;if(!t)return;let{type:e}=t;if(ft.has(e))return e}var Xe=ls;var cs=t=>new Intl.ListFormat("en-US",{type:"disjunction"}).format(t);function us(t){let e=t===null?"null":typeof t;if(e!=="string"&&e!=="object")return`Unexpected doc '${e}', +Expected it to be 'string' or 'object'.`;if(Xe(t))throw new Error("doc is valid.");let r=Object.prototype.toString.call(t);if(r!=="[object Object]")return`Unexpected doc '${r}'.`;let n=cs([...ft].map(s=>`'${s}'`));return`Unexpected doc.type '${t.type}'. +Expected it to be ${n}.`}var $t=class extends Error{name="InvalidDocError";constructor(e){super(us(e)),this.doc=e}},jt=$t;var zr=()=>{},be=zr,dt=zr;function R(t){return be(t),{type:Le,contents:t}}function hs(t,e){return be(e),{type:_e,contents:e,n:t}}function q(t,e={}){return be(t),dt(e.expandedStates,!0),{type:De,id:e.id,contents:t,break:!!e.shouldBreak,expandedStates:e.expandedStates}}function Qt(t){return hs(-1,t)}function Xt(t){return dt(t),{type:Oe,parts:t}}function Jt(t,e="",r={}){return be(t),e!==""&&be(e),{type:Be,breakContents:t,flatContents:e,groupId:r.groupId}}var Gr={type:Ie};var ps={type:ee,hard:!0},fs={type:ee,hard:!0,literal:!0},D={type:ee},Y={type:ee,soft:!0},ye=[ps,Gr],Yr=[fs,Gr];function Ee(t,e){be(t),dt(e);let r=[];for(let n=0;n{if(!(t&&e==null))return Array.isArray(e)||typeof e=="string"?e[r<0?e.length+r:r]:e.at(r)},oe=ds;function ms(t,e){if(typeof t=="string")return e(t);let r=new Map;return n(t);function n(i){if(r.has(i))return r.get(i);let a=s(i);return r.set(i,a),a}function s(i){switch(Xe(i)){case Ge:return e(i.map(n));case Oe:return e({...i,parts:i.parts.map(n)});case Be:return e({...i,breakContents:n(i.breakContents),flatContents:n(i.flatContents)});case De:{let{expandedStates:a,contents:o}=i;return a?(a=a.map(n),o=a[0]):o=n(o),e({...i,contents:o,expandedStates:a})}case _e:case Le:case We:case Qe:case $e:return e({...i,contents:n(i.contents)});case ze:case Ye:case Ke:case je:case ee:case Ie:return e(i);default:throw new jt(i)}}}function Kr(t,e=Yr){return ms(t,r=>typeof r=="string"?Ee(e,r.split(` +`)):r)}var mt="'",Wr='"';function gs(t,e){let r=e===!0||e===mt?mt:Wr,n=r===mt?Wr:mt,s=0,i=0;for(let a of t)a===r?s++:a===n&&i++;return s>i?n:r}var gt=gs;function Zt(t){if(typeof t!="string")throw new TypeError("Expected a string");return t.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}var G,er=class{constructor(e){Yt(this,G);Kt(this,G,new Set(e))}getLeadingWhitespaceCount(e){let r=$(this,G),n=0;for(let s=0;s=0&&r.has(e.charAt(s));s--)n++;return n}getLeadingWhitespace(e){let r=this.getLeadingWhitespaceCount(e);return e.slice(0,r)}getTrailingWhitespace(e){let r=this.getTrailingWhitespaceCount(e);return e.slice(e.length-r)}hasLeadingWhitespace(e){return $(this,G).has(e.charAt(0))}hasTrailingWhitespace(e){return $(this,G).has(oe(!1,e,-1))}trimStart(e){let r=this.getLeadingWhitespaceCount(e);return e.slice(r)}trimEnd(e){let r=this.getTrailingWhitespaceCount(e);return e.slice(0,e.length-r)}trim(e){return this.trimEnd(this.trimStart(e))}split(e,r=!1){let n=`[${Zt([...$(this,G)].join(""))}]+`,s=new RegExp(r?`(${n})`:n,"u");return e.split(s)}hasWhitespaceCharacter(e){let r=$(this,G);return Array.prototype.some.call(e,n=>r.has(n))}hasNonWhitespaceCharacter(e){let r=$(this,G);return Array.prototype.some.call(e,n=>!r.has(n))}isWhitespaceOnly(e){let r=$(this,G);return Array.prototype.every.call(e,n=>r.has(n))}};G=new WeakMap;var $r=er;var bs=[" ",` +`,"\f","\r"," "],ys=new $r(bs),K=ys;function Es(t){return Array.isArray(t)&&t.length>0}var Je=Es;var tr=class extends Error{name="UnexpectedNodeError";constructor(e,r,n="type"){super(`Unexpected ${r} node ${n}: ${JSON.stringify(e[n])}.`),this.node=e}},jr=tr;function Qr(t,e){if(t.type==="TextNode"){let r=t.chars.trim();if(!r)return null;e.chars=K.split(r).join(" ")}t.type==="ElementNode"&&(delete e.startTag,delete e.openTag,delete e.parts,delete e.endTag,delete e.closeTag,delete e.nameNode,delete e.body,delete e.blockParamNodes,delete e.params,delete e.path),t.type==="Block"&&(delete e.blockParamNodes,delete e.params),t.type==="AttrNode"&&t.name.toLowerCase()==="class"&&delete e.value,t.type==="PathExpression"&&(e.head=t.head.original)}Qr.ignoredProperties=new Set(["loc","selfClosing"]);var Xr=Qr;var Ze=null;function et(t){if(Ze!==null&&typeof Ze.property){let e=Ze;return Ze=et.prototype=null,e}return Ze=et.prototype=t??Object.create(null),new et}var Ss=10;for(let t=0;t<=Ss;t++)et();function rr(t){return et(t)}function ws(t,e="type"){rr(t);function r(n){let s=n[e],i=t[s];if(!Array.isArray(i))throw Object.assign(new Error(`Missing visitor keys for '${s}'.`),{node:n});return i}return r}var Jr=ws;var Zr={Template:["body"],Block:["body"],MustacheStatement:["path","params","hash"],BlockStatement:["path","params","hash","program","inverse"],ElementModifierStatement:["path","params","hash"],CommentStatement:[],MustacheCommentStatement:[],ElementNode:["attributes","modifiers","children","comments"],AttrNode:["value"],TextNode:[],ConcatStatement:["parts"],SubExpression:["path","params","hash"],PathExpression:[],StringLiteral:[],BooleanLiteral:[],NumberLiteral:[],NullLiteral:[],UndefinedLiteral:[],Hash:["pairs"],HashPair:["value"]};var ks=Jr(Zr),en=ks;function Se(t){return t.loc.start.offset}function tt(t){return t.loc.end.offset}var tn=new Set(["area","base","br","col","command","embed","hr","img","input","keygen","link","meta","param","source","track","wbr"]);function nn(t){return t.toUpperCase()===t}function Ts(t){return t.type==="ElementNode"&&typeof t.tag=="string"&&!t.tag.startsWith(":")&&(nn(t.tag[0])||t.tag.includes("."))}function Ns(t){return tn.has(t.toLowerCase())&&!nn(t[0])}function nr(t){return t.selfClosing===!0||Ns(t.tag)||Ts(t)&&t.children.every(e=>bt(e))}function bt(t){return t.type==="TextNode"&&!/\S/u.test(t.chars)}function rn(t){return(t==null?void 0:t.type)==="MustacheCommentStatement"&&typeof t.value=="string"&&t.value.trim()==="prettier-ignore"}function sn(t){return rn(t.node)||t.isInArray&&(t.key==="children"||t.key==="body"||t.key==="parts")&&rn(t.siblings[t.index-2])}var fn=2;function vs(t,e,r){var s,i,a,o,c,p,h,d,N;let{node:n}=t;switch(n.type){case"Block":case"Program":case"Template":return q(t.map(r,"body"));case"ElementNode":{let g=q(Ps(t,r)),T=e.htmlWhitespaceSensitivity==="ignore"&&((s=t.next)==null?void 0:s.type)==="ElementNode"?Y:"";if(nr(n))return[g,T];let x=[""];return n.children.length===0?[g,R(x),T]:e.htmlWhitespaceSensitivity==="ignore"?[g,R(an(t,e,r)),ye,R(x),T]:[g,R(q(an(t,e,r))),R(x),T]}case"BlockStatement":return Os(t)?[Bs(t,r),cn(t,r,e),un(t,r,e)]:[_s(t,r),q([cn(t,r,e),un(t,r,e),Is(t,r,e)])];case"ElementModifierStatement":return q(["{{",pn(t,r),"}}"]);case"MustacheStatement":return q([yt(n),pn(t,r),Et(n)]);case"SubExpression":return q(["(",Ms(t,r),Y,")"]);case"AttrNode":{let{name:g,value:T}=n,x=T.type==="TextNode";if(x&&T.chars===""&&Se(T)===tt(T))return g;let v=x?gt(T.chars,e.singleQuote):T.type==="ConcatStatement"?gt(T.parts.map(H=>H.type==="TextNode"?H.chars:"").join(""),e.singleQuote):"",M=r("value");return[g,"=",v,g==="class"&&v?q(R(M)):M,v]}case"ConcatStatement":return t.map(r,"parts");case"Hash":return Ee(D,t.map(r,"pairs"));case"HashPair":return[n.key,"=",r("value")];case"TextNode":{let g=Wt(!1,n.chars,"{{",String.raw`\{{`),T=qs(t);if(T){if(T==="class"){let J=g.trim().split(/\s+/u).join(" "),re=!1,V=!1;return t.parent.type==="ConcatStatement"&&(((i=t.previous)==null?void 0:i.type)==="MustacheStatement"&&/^\s/u.test(g)&&(re=!0),((a=t.next)==null?void 0:a.type)==="MustacheStatement"&&/\s$/u.test(g)&&J!==""&&(V=!0)),[re?D:"",J,V?D:""]}return Kr(g)}let x=K.isWhitespaceOnly(g),{isFirst:C,isLast:v}=t;if(e.htmlWhitespaceSensitivity!=="ignore"){let J=v&&t.parent.type==="Template",re=C&&t.parent.type==="Template";if(x){if(re||J)return"";let _=[D],se=Re(g);return se&&(_=rt(se)),v&&(_=_.map(ut=>Qt(ut))),_}let V=K.getLeadingWhitespace(g),Pe=[];if(V){Pe=[D];let _=Re(V);_&&(Pe=rt(_)),g=g.slice(V.length)}let U=K.getTrailingWhitespace(g),ne=[];if(U){if(!J){ne=[D];let _=Re(U);_&&(ne=rt(_)),v&&(ne=ne.map(se=>Qt(se)))}g=g.slice(0,-U.length)}return[...Pe,Xt(hn(g)),...ne]}let M=Re(g),H=Hs(g),X=Vs(g);if((C||v)&&x&&(t.parent.type==="Block"||t.parent.type==="ElementNode"||t.parent.type==="Template"))return"";x&&M?(H=Math.min(M,fn),X=0):((((o=t.next)==null?void 0:o.type)==="BlockStatement"||((c=t.next)==null?void 0:c.type)==="ElementNode")&&(X=Math.max(X,1)),(((p=t.previous)==null?void 0:p.type)==="BlockStatement"||((h=t.previous)==null?void 0:h.type)==="ElementNode")&&(H=Math.max(H,1)));let ve="",Ae="";return X===0&&((d=t.next)==null?void 0:d.type)==="MustacheStatement"&&(Ae=" "),H===0&&((N=t.previous)==null?void 0:N.type)==="MustacheStatement"&&(ve=" "),C&&(H=0,ve=""),v&&(X=0,Ae=""),K.hasLeadingWhitespace(g)&&(g=ve+K.trimStart(g)),K.hasTrailingWhitespace(g)&&(g=K.trimEnd(g)+Ae),[...rt(H),Xt(hn(g)),...rt(X)]}case"MustacheCommentStatement":{let g=Se(n),T=tt(n),x=e.originalText.charAt(g+2)==="~",C=e.originalText.charAt(T-3)==="~",v=n.value.includes("}}")?"--":"";return["{{",x?"~":"","!",v,n.value,v,C?"~":"","}}"]}case"PathExpression":return Ks(n);case"BooleanLiteral":return String(n.value);case"CommentStatement":return[""];case"StringLiteral":return Us(t,e);case"NumberLiteral":return String(n.value);case"UndefinedLiteral":return"undefined";case"NullLiteral":return"null";case"AtHead":case"VarHead":case"ThisHead":default:throw new jr(n,"Handlebars")}}function As(t,e){return Se(t)-Se(e)}function Ps(t,e){let{node:r}=t,n=["attributes","modifiers","comments"].filter(i=>Je(r[i])),s=n.flatMap(i=>r[i]).sort(As);for(let i of n)t.each(({node:a})=>{let o=s.indexOf(a);s.splice(o,1,[D,e()])},i);return Je(r.blockParams)&&s.push(D,ir(r)),["<",r.tag,R(s),xs(r)]}function an(t,e,r){let{node:n}=t,s=n.children.every(i=>bt(i));return e.htmlWhitespaceSensitivity==="ignore"&&s?"":t.map(({isFirst:i})=>{let a=r();return i&&e.htmlWhitespaceSensitivity==="ignore"?[Y,a]:a},"children")}function xs(t){return nr(t)?Jt([Y,"/>"],[" />",Y]):Jt([Y,">"],">")}function yt(t){var n;let e=t.trusting?"{{{":"{{",r=(n=t.strip)!=null&&n.open?"~":"";return[e,r]}function Et(t){var n;let e=t.trusting?"}}}":"}}";return[(n=t.strip)!=null&&n.close?"~":"",e]}function Cs(t){let e=yt(t),r=t.openStrip.open?"~":"";return[e,r,"#"]}function Ls(t){let e=Et(t);return[t.openStrip.close?"~":"",e]}function on(t){let e=yt(t),r=t.closeStrip.open?"~":"";return[e,r,"/"]}function ln(t){let e=Et(t);return[t.closeStrip.close?"~":"",e]}function dn(t){let e=yt(t),r=t.inverseStrip.open?"~":"";return[e,r]}function mn(t){let e=Et(t);return[t.inverseStrip.close?"~":"",e]}function _s(t,e){let{node:r}=t,n=[],s=St(t,e);return s&&n.push(q(s)),Je(r.program.blockParams)&&n.push(ir(r.program)),q([Cs(r),sr(t,e),n.length>0?R([D,Ee(D,n)]):"",Y,Ls(r)])}function Ds(t,e){return[e.htmlWhitespaceSensitivity==="ignore"?ye:"",dn(t),"else",mn(t)]}var gn=(t,e)=>t.head.type==="VarHead"&&e.head.type==="VarHead"&&t.head.name===e.head.name;function Os(t){var n;let{grandparent:e,node:r}=t;return((n=e==null?void 0:e.inverse)==null?void 0:n.body.length)===1&&e.inverse.body[0]===r&&gn(e.inverse.body[0].path,e.path)}function Bs(t,e){let{node:r,grandparent:n}=t;return q([dn(n),["else"," ",n.inverse.body[0].path.head.name],R([D,q(St(t,e)),...Je(r.program.blockParams)?[D,ir(r.program)]:[]]),Y,mn(n)])}function Is(t,e,r){let{node:n}=t;return r.htmlWhitespaceSensitivity==="ignore"?[bn(n)?Y:ye,on(n),e("path"),ln(n)]:[on(n),e("path"),ln(n)]}function bn(t){return t.type==="BlockStatement"&&t.program.body.every(e=>bt(e))}function Rs(t){return yn(t)&&t.inverse.body.length===1&&t.inverse.body[0].type==="BlockStatement"&&gn(t.inverse.body[0].path,t.path)}function yn(t){return t.type==="BlockStatement"&&t.inverse}function cn(t,e,r){let{node:n}=t;if(bn(n))return"";let s=e("program");return r.htmlWhitespaceSensitivity==="ignore"?R([ye,s]):R(s)}function un(t,e,r){let{node:n}=t,s=e("inverse"),i=r.htmlWhitespaceSensitivity==="ignore"?[ye,s]:s;return Rs(n)?i:yn(n)?[Ds(n,r),R(i)]:""}function hn(t){return Ee(D,K.split(t))}function qs(t){for(let e=0;e<2;e++){let r=t.getParentNode(e);if((r==null?void 0:r.type)==="AttrNode")return r.name.toLowerCase()}}function Re(t){return t=typeof t=="string"?t:"",t.split(` +`).length-1}function Hs(t){t=typeof t=="string"?t:"";let e=(t.match(/^([^\S\n\r]*[\n\r])+/gu)||[])[0]||"";return Re(e)}function Vs(t){t=typeof t=="string"?t:"";let e=(t.match(/([\n\r][^\S\n\r]*)+$/gu)||[])[0]||"";return Re(e)}function rt(t=0){return Array.from({length:Math.min(t,fn)}).fill(ye)}function Us(t,e){let{node:{value:r}}=t,n=gt(r,Fs(t)?!e.singleQuote:e.singleQuote);return[n,Wt(!1,r,n,`\\${n}`),n]}function Fs(t){let{ancestors:e}=t,r=e.findIndex(n=>n.type!=="SubExpression");return r!==-1&&e[r+1].type==="ConcatStatement"&&e[r+2].type==="AttrNode"}function Ms(t,e){let r=sr(t,e),n=St(t,e);return n?R([r,D,q(n)]):r}function pn(t,e){let r=sr(t,e),n=St(t,e);return n?[R([r,D,n]),Y]:r}function sr(t,e){return e("path")}function St(t,e){var s;let{node:r}=t,n=[];return r.params.length>0&&n.push(...t.map(e,"params")),((s=r.hash)==null?void 0:s.pairs.length)>0&&n.push(e("hash")),n.length===0?"":Ee(D,n)}function ir(t){return["as |",t.blockParams.join(" "),"|"]}var zs=new Set("!\"#%&'()*+,./;<=>@[\\]^`{|}~"),Gs=new Set(["true","false","null","undefined"]),Ys=(t,e)=>e===0&&t.startsWith("@")?!1:e!==0&&Gs.has(t)||/\s/u.test(t)||/^\d/u.test(t)||Array.prototype.some.call(t,r=>zs.has(r));function Ks(t){return t.tail.length===0&&t.original.includes("/")?t.original:[t.head.original,...t.tail].map((r,n)=>Ys(r,n)?`[${r}]`:r).join(".")}var Ws={print:vs,massageAstNode:Xr,hasPrettierIgnore:sn,getVisitorKeys:en},En=Ws;var Sn=[{linguistLanguageId:155,name:"Handlebars",type:"markup",color:"#f7931e",aliases:["hbs","htmlbars"],extensions:[".handlebars",".hbs"],tmScope:"text.html.handlebars",aceMode:"handlebars",parsers:["glimmer"],vscodeLanguageIds:["handlebars"]}];var Rr={};Gt(Rr,{glimmer:()=>ma});var $s=Object.freeze([]);function kn(){return $s}var Do=kn(),Oo=kn();function w(t,e){if(!t)throw new Error(e||"assertion failure")}function F(t){ri.warn(`DEPRECATION: ${t}`)}function kt(t){if(t==null)throw new Error("Expected value to be present");return t}function Tn(t,e){if(t==null)throw new Error(e);return t}function we(t){return t.length>0}function Tt(t,e="unexpected empty list"){if(!we(t))throw new Error(e)}function qe(t,e="unexpected empty list"){return Tt(t,e),t}function Nt(t){return t.length===0?void 0:t[t.length-1]}function Nn(t){return t.length===0?void 0:t[0]}var js;if(!1){let t=n=>{let s=n.name;if(s===void 0){let i=/function (\w+)\s*\(/u.exec(String(n));s=i&&i[1]||""}return s.replace(/^bound /u,"")},e=n=>{let s,i;return n.constructor&&typeof n.constructor=="function"&&(i=t(n.constructor)),"toString"in n&&n.toString!==Object.prototype.toString&&n.toString!==Function.prototype.toString&&(s=n.toString()),s&&/<.*:ember\d+>/u.test(s)&&i&&i[0]!=="_"&&i.length>2&&i!=="Class"?s.replace(/<.*:/u,`<${i}:`):s||i},r=n=>String(n);js=n=>typeof n=="function"?t(n)||"(unknown function)":typeof n=="object"&&n!==null?e(n)||"(unknown object)":r(n)}var ar=function(t){return t[t.MAX_SMI=1073741823]="MAX_SMI",t[t.MIN_SMI=-1073741824]="MIN_SMI",t[t.SIGN_BIT=-536870913]="SIGN_BIT",t[t.MAX_INT=536870911]="MAX_INT",t[t.MIN_INT=-536870912]="MIN_INT",t[t.FALSE_HANDLE=0]="FALSE_HANDLE",t[t.TRUE_HANDLE=1]="TRUE_HANDLE",t[t.NULL_HANDLE=2]="NULL_HANDLE",t[t.UNDEFINED_HANDLE=3]="UNDEFINED_HANDLE",t[t.ENCODED_FALSE_HANDLE=0]="ENCODED_FALSE_HANDLE",t[t.ENCODED_TRUE_HANDLE=1]="ENCODED_TRUE_HANDLE",t[t.ENCODED_NULL_HANDLE=2]="ENCODED_NULL_HANDLE",t[t.ENCODED_UNDEFINED_HANDLE=3]="ENCODED_UNDEFINED_HANDLE",t}({});function Qs(t){return t&ar.SIGN_BIT}function Xs(t){return t|~ar.SIGN_BIT}function Js(t){return~t}function Zs(t){return~t}function ei(t){return t|=0,t<0?Qs(t):Js(t)}function ti(t){return t|=0,t>ar.SIGN_BIT?Zs(t):Xs(t)}[1,-1].forEach(t=>ti(ei(t)));var or=Object.assign;var ri=console,wn=console;function vn(t,e="unexpected unreachable branch"){throw wn.log("unreachable",t),wn.log(`${e} :: ${JSON.stringify(t)} (${t})`),new Error("code reached unreachable")}var ni=function(){var t=function(ie,m,E,b){for(E=E||{},b=ie.length;b--;E[ie[b]]=m);return E},e=[2,44],r=[1,20],n=[5,14,15,19,29,34,39,44,47,48,52,56,60],s=[1,35],i=[1,38],a=[1,30],o=[1,31],c=[1,32],p=[1,33],h=[1,34],d=[1,37],N=[14,15,19,29,34,39,44,47,48,52,56,60],g=[14,15,19,29,34,44,47,48,52,56,60],T=[15,18],x=[14,15,19,29,34,47,48,52,56,60],C=[33,64,71,79,80,81,82,83,84],v=[23,33,55,64,67,71,74,79,80,81,82,83,84],M=[1,51],H=[23,33,55,64,67,71,74,79,80,81,82,83,84,86],X=[2,43],ve=[55,64,71,79,80,81,82,83,84],Ae=[1,58],J=[1,59],re=[1,66],V=[33,64,71,74,79,80,81,82,83,84],Pe=[23,64,71,79,80,81,82,83,84],U=[1,76],ne=[64,67,71,79,80,81,82,83,84],_=[33,74],se=[23,33,55,67,71,74],ut=[1,106],It=[1,118],qr=[71,76],Rt={trace:function(){},yy:{},symbols_:{error:2,root:3,program:4,EOF:5,program_repetition0:6,statement:7,mustache:8,block:9,rawBlock:10,partial:11,partialBlock:12,content:13,COMMENT:14,CONTENT:15,openRawBlock:16,rawBlock_repetition0:17,END_RAW_BLOCK:18,OPEN_RAW_BLOCK:19,helperName:20,openRawBlock_repetition0:21,openRawBlock_option0:22,CLOSE_RAW_BLOCK:23,openBlock:24,block_option0:25,closeBlock:26,openInverse:27,block_option1:28,OPEN_BLOCK:29,openBlock_repetition0:30,openBlock_option0:31,openBlock_option1:32,CLOSE:33,OPEN_INVERSE:34,openInverse_repetition0:35,openInverse_option0:36,openInverse_option1:37,openInverseChain:38,OPEN_INVERSE_CHAIN:39,openInverseChain_repetition0:40,openInverseChain_option0:41,openInverseChain_option1:42,inverseAndProgram:43,INVERSE:44,inverseChain:45,inverseChain_option0:46,OPEN_ENDBLOCK:47,OPEN:48,expr:49,mustache_repetition0:50,mustache_option0:51,OPEN_UNESCAPED:52,mustache_repetition1:53,mustache_option1:54,CLOSE_UNESCAPED:55,OPEN_PARTIAL:56,partial_repetition0:57,partial_option0:58,openPartialBlock:59,OPEN_PARTIAL_BLOCK:60,openPartialBlock_repetition0:61,openPartialBlock_option0:62,sexpr:63,OPEN_SEXPR:64,sexpr_repetition0:65,sexpr_option0:66,CLOSE_SEXPR:67,hash:68,hash_repetition_plus0:69,hashSegment:70,ID:71,EQUALS:72,blockParams:73,OPEN_BLOCK_PARAMS:74,blockParams_repetition_plus0:75,CLOSE_BLOCK_PARAMS:76,path:77,dataName:78,STRING:79,NUMBER:80,BOOLEAN:81,UNDEFINED:82,NULL:83,DATA:84,pathSegments:85,SEP:86,$accept:0,$end:1},terminals_:{2:"error",5:"EOF",14:"COMMENT",15:"CONTENT",18:"END_RAW_BLOCK",19:"OPEN_RAW_BLOCK",23:"CLOSE_RAW_BLOCK",29:"OPEN_BLOCK",33:"CLOSE",34:"OPEN_INVERSE",39:"OPEN_INVERSE_CHAIN",44:"INVERSE",47:"OPEN_ENDBLOCK",48:"OPEN",52:"OPEN_UNESCAPED",55:"CLOSE_UNESCAPED",56:"OPEN_PARTIAL",60:"OPEN_PARTIAL_BLOCK",64:"OPEN_SEXPR",67:"CLOSE_SEXPR",71:"ID",72:"EQUALS",74:"OPEN_BLOCK_PARAMS",76:"CLOSE_BLOCK_PARAMS",79:"STRING",80:"NUMBER",81:"BOOLEAN",82:"UNDEFINED",83:"NULL",84:"DATA",86:"SEP"},productions_:[0,[3,2],[4,1],[7,1],[7,1],[7,1],[7,1],[7,1],[7,1],[7,1],[13,1],[10,3],[16,5],[9,4],[9,4],[24,6],[27,6],[38,6],[43,2],[45,3],[45,1],[26,3],[8,5],[8,5],[11,5],[12,3],[59,5],[49,1],[49,1],[63,5],[68,1],[70,3],[73,3],[20,1],[20,1],[20,1],[20,1],[20,1],[20,1],[20,1],[78,2],[77,1],[85,3],[85,1],[6,0],[6,2],[17,0],[17,2],[21,0],[21,2],[22,0],[22,1],[25,0],[25,1],[28,0],[28,1],[30,0],[30,2],[31,0],[31,1],[32,0],[32,1],[35,0],[35,2],[36,0],[36,1],[37,0],[37,1],[40,0],[40,2],[41,0],[41,1],[42,0],[42,1],[46,0],[46,1],[50,0],[50,2],[51,0],[51,1],[53,0],[53,2],[54,0],[54,1],[57,0],[57,2],[58,0],[58,1],[61,0],[61,2],[62,0],[62,1],[65,0],[65,2],[66,0],[66,1],[69,1],[69,2],[75,1],[75,2]],performAction:function(m,E,b,y,P,l,xe){var u=l.length-1;switch(P){case 1:return l[u-1];case 2:this.$=y.prepareProgram(l[u]);break;case 3:case 4:case 5:case 6:case 7:case 8:case 20:case 27:case 28:case 33:case 34:this.$=l[u];break;case 9:this.$={type:"CommentStatement",value:y.stripComment(l[u]),strip:y.stripFlags(l[u],l[u]),loc:y.locInfo(this._$)};break;case 10:this.$={type:"ContentStatement",original:l[u],value:l[u],loc:y.locInfo(this._$)};break;case 11:this.$=y.prepareRawBlock(l[u-2],l[u-1],l[u],this._$);break;case 12:this.$={path:l[u-3],params:l[u-2],hash:l[u-1]};break;case 13:this.$=y.prepareBlock(l[u-3],l[u-2],l[u-1],l[u],!1,this._$);break;case 14:this.$=y.prepareBlock(l[u-3],l[u-2],l[u-1],l[u],!0,this._$);break;case 15:this.$={open:l[u-5],path:l[u-4],params:l[u-3],hash:l[u-2],blockParams:l[u-1],strip:y.stripFlags(l[u-5],l[u])};break;case 16:case 17:this.$={path:l[u-4],params:l[u-3],hash:l[u-2],blockParams:l[u-1],strip:y.stripFlags(l[u-5],l[u])};break;case 18:this.$={strip:y.stripFlags(l[u-1],l[u-1]),program:l[u]};break;case 19:var ae=y.prepareBlock(l[u-2],l[u-1],l[u],l[u],!1,this._$),Me=y.prepareProgram([ae],l[u-1].loc);Me.chained=!0,this.$={strip:l[u-2].strip,program:Me,chain:!0};break;case 21:this.$={path:l[u-1],strip:y.stripFlags(l[u-2],l[u])};break;case 22:case 23:this.$=y.prepareMustache(l[u-3],l[u-2],l[u-1],l[u-4],y.stripFlags(l[u-4],l[u]),this._$);break;case 24:this.$={type:"PartialStatement",name:l[u-3],params:l[u-2],hash:l[u-1],indent:"",strip:y.stripFlags(l[u-4],l[u]),loc:y.locInfo(this._$)};break;case 25:this.$=y.preparePartialBlock(l[u-2],l[u-1],l[u],this._$);break;case 26:this.$={path:l[u-3],params:l[u-2],hash:l[u-1],strip:y.stripFlags(l[u-4],l[u])};break;case 29:this.$={type:"SubExpression",path:l[u-3],params:l[u-2],hash:l[u-1],loc:y.locInfo(this._$)};break;case 30:this.$={type:"Hash",pairs:l[u],loc:y.locInfo(this._$)};break;case 31:this.$={type:"HashPair",key:y.id(l[u-2]),value:l[u],loc:y.locInfo(this._$)};break;case 32:this.$=y.id(l[u-1]);break;case 35:this.$={type:"StringLiteral",value:l[u],original:l[u],loc:y.locInfo(this._$)};break;case 36:this.$={type:"NumberLiteral",value:Number(l[u]),original:Number(l[u]),loc:y.locInfo(this._$)};break;case 37:this.$={type:"BooleanLiteral",value:l[u]==="true",original:l[u]==="true",loc:y.locInfo(this._$)};break;case 38:this.$={type:"UndefinedLiteral",original:void 0,value:void 0,loc:y.locInfo(this._$)};break;case 39:this.$={type:"NullLiteral",original:null,value:null,loc:y.locInfo(this._$)};break;case 40:this.$=y.preparePath(!0,l[u],this._$);break;case 41:this.$=y.preparePath(!1,l[u],this._$);break;case 42:l[u-2].push({part:y.id(l[u]),original:l[u],separator:l[u-1]}),this.$=l[u-2];break;case 43:this.$=[{part:y.id(l[u]),original:l[u]}];break;case 44:case 46:case 48:case 56:case 62:case 68:case 76:case 80:case 84:case 88:case 92:this.$=[];break;case 45:case 47:case 49:case 57:case 63:case 69:case 77:case 81:case 85:case 89:case 93:case 97:case 99:l[u-1].push(l[u]);break;case 96:case 98:this.$=[l[u]];break}},table:[t([5,14,15,19,29,34,48,52,56,60],e,{3:1,4:2,6:3}),{1:[3]},{5:[1,4]},t([5,39,44,47],[2,2],{7:5,8:6,9:7,10:8,11:9,12:10,13:11,24:15,27:16,16:17,59:19,14:[1,12],15:r,19:[1,23],29:[1,21],34:[1,22],48:[1,13],52:[1,14],56:[1,18],60:[1,24]}),{1:[2,1]},t(n,[2,45]),t(n,[2,3]),t(n,[2,4]),t(n,[2,5]),t(n,[2,6]),t(n,[2,7]),t(n,[2,8]),t(n,[2,9]),{20:26,49:25,63:27,64:s,71:i,77:28,78:29,79:a,80:o,81:c,82:p,83:h,84:d,85:36},{20:26,49:39,63:27,64:s,71:i,77:28,78:29,79:a,80:o,81:c,82:p,83:h,84:d,85:36},t(N,e,{6:3,4:40}),t(g,e,{6:3,4:41}),t(T,[2,46],{17:42}),{20:26,49:43,63:27,64:s,71:i,77:28,78:29,79:a,80:o,81:c,82:p,83:h,84:d,85:36},t(x,e,{6:3,4:44}),t([5,14,15,18,19,29,34,39,44,47,48,52,56,60],[2,10]),{20:45,71:i,77:28,78:29,79:a,80:o,81:c,82:p,83:h,84:d,85:36},{20:46,71:i,77:28,78:29,79:a,80:o,81:c,82:p,83:h,84:d,85:36},{20:47,71:i,77:28,78:29,79:a,80:o,81:c,82:p,83:h,84:d,85:36},{20:26,49:48,63:27,64:s,71:i,77:28,78:29,79:a,80:o,81:c,82:p,83:h,84:d,85:36},t(C,[2,76],{50:49}),t(v,[2,27]),t(v,[2,28]),t(v,[2,33]),t(v,[2,34]),t(v,[2,35]),t(v,[2,36]),t(v,[2,37]),t(v,[2,38]),t(v,[2,39]),{20:26,49:50,63:27,64:s,71:i,77:28,78:29,79:a,80:o,81:c,82:p,83:h,84:d,85:36},t(v,[2,41],{86:M}),{71:i,85:52},t(H,X),t(ve,[2,80],{53:53}),{25:54,38:56,39:Ae,43:57,44:J,45:55,47:[2,52]},{28:60,43:61,44:J,47:[2,54]},{13:63,15:r,18:[1,62]},t(C,[2,84],{57:64}),{26:65,47:re},t(V,[2,56],{30:67}),t(V,[2,62],{35:68}),t(Pe,[2,48],{21:69}),t(C,[2,88],{61:70}),{20:26,33:[2,78],49:72,51:71,63:27,64:s,68:73,69:74,70:75,71:U,77:28,78:29,79:a,80:o,81:c,82:p,83:h,84:d,85:36},t(ne,[2,92],{65:77}),{71:[1,78]},t(v,[2,40],{86:M}),{20:26,49:80,54:79,55:[2,82],63:27,64:s,68:81,69:74,70:75,71:U,77:28,78:29,79:a,80:o,81:c,82:p,83:h,84:d,85:36},{26:82,47:re},{47:[2,53]},t(N,e,{6:3,4:83}),{47:[2,20]},{20:84,71:i,77:28,78:29,79:a,80:o,81:c,82:p,83:h,84:d,85:36},t(x,e,{6:3,4:85}),{26:86,47:re},{47:[2,55]},t(n,[2,11]),t(T,[2,47]),{20:26,33:[2,86],49:88,58:87,63:27,64:s,68:89,69:74,70:75,71:U,77:28,78:29,79:a,80:o,81:c,82:p,83:h,84:d,85:36},t(n,[2,25]),{20:90,71:i,77:28,78:29,79:a,80:o,81:c,82:p,83:h,84:d,85:36},t(_,[2,58],{20:26,63:27,77:28,78:29,85:36,69:74,70:75,31:91,49:92,68:93,64:s,71:U,79:a,80:o,81:c,82:p,83:h,84:d}),t(_,[2,64],{20:26,63:27,77:28,78:29,85:36,69:74,70:75,36:94,49:95,68:96,64:s,71:U,79:a,80:o,81:c,82:p,83:h,84:d}),{20:26,22:97,23:[2,50],49:98,63:27,64:s,68:99,69:74,70:75,71:U,77:28,78:29,79:a,80:o,81:c,82:p,83:h,84:d,85:36},{20:26,33:[2,90],49:101,62:100,63:27,64:s,68:102,69:74,70:75,71:U,77:28,78:29,79:a,80:o,81:c,82:p,83:h,84:d,85:36},{33:[1,103]},t(C,[2,77]),{33:[2,79]},t([23,33,55,67,74],[2,30],{70:104,71:[1,105]}),t(se,[2,96]),t(H,X,{72:ut}),{20:26,49:108,63:27,64:s,66:107,67:[2,94],68:109,69:74,70:75,71:U,77:28,78:29,79:a,80:o,81:c,82:p,83:h,84:d,85:36},t(H,[2,42]),{55:[1,110]},t(ve,[2,81]),{55:[2,83]},t(n,[2,13]),{38:56,39:Ae,43:57,44:J,45:112,46:111,47:[2,74]},t(V,[2,68],{40:113}),{47:[2,18]},t(n,[2,14]),{33:[1,114]},t(C,[2,85]),{33:[2,87]},{33:[1,115]},{32:116,33:[2,60],73:117,74:It},t(V,[2,57]),t(_,[2,59]),{33:[2,66],37:119,73:120,74:It},t(V,[2,63]),t(_,[2,65]),{23:[1,121]},t(Pe,[2,49]),{23:[2,51]},{33:[1,122]},t(C,[2,89]),{33:[2,91]},t(n,[2,22]),t(se,[2,97]),{72:ut},{20:26,49:123,63:27,64:s,71:i,77:28,78:29,79:a,80:o,81:c,82:p,83:h,84:d,85:36},{67:[1,124]},t(ne,[2,93]),{67:[2,95]},t(n,[2,23]),{47:[2,19]},{47:[2,75]},t(_,[2,70],{20:26,63:27,77:28,78:29,85:36,69:74,70:75,41:125,49:126,68:127,64:s,71:U,79:a,80:o,81:c,82:p,83:h,84:d}),t(n,[2,24]),t(n,[2,21]),{33:[1,128]},{33:[2,61]},{71:[1,130],75:129},{33:[1,131]},{33:[2,67]},t(T,[2,12]),t(x,[2,26]),t(se,[2,31]),t(v,[2,29]),{33:[2,72],42:132,73:133,74:It},t(V,[2,69]),t(_,[2,71]),t(N,[2,15]),{71:[1,135],76:[1,134]},t(qr,[2,98]),t(g,[2,16]),{33:[1,136]},{33:[2,73]},{33:[2,32]},t(qr,[2,99]),t(N,[2,17])],defaultActions:{4:[2,1],55:[2,53],57:[2,20],61:[2,55],73:[2,79],81:[2,83],85:[2,18],89:[2,87],99:[2,51],102:[2,91],109:[2,95],111:[2,19],112:[2,75],117:[2,61],120:[2,67],133:[2,73],134:[2,32]},parseError:function(m,E){if(E.recoverable)this.trace(m);else{var b=new Error(m);throw b.hash=E,b}},parse:function(m){var E=this,b=[0],y=[],P=[null],l=[],xe=this.table,u="",ae=0,Me=0,Hr=0,Jn=2,Vr=1,Zn=l.slice.call(arguments,1),L=Object.create(this.lexer),me={yy:{}};for(var Ht in this.yy)Object.prototype.hasOwnProperty.call(this.yy,Ht)&&(me.yy[Ht]=this.yy[Ht]);L.setInput(m,me.yy),me.yy.lexer=L,me.yy.parser=this,typeof L.yylloc>"u"&&(L.yylloc={});var Vt=L.yylloc;l.push(Vt);var es=L.options&&L.options.ranges;typeof me.yy.parseError=="function"?this.parseError=me.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function ya(W){b.length=b.length-2*W,P.length=P.length-W,l.length=l.length-W}for(var ts=function(){var W;return W=L.lex()||Vr,typeof W!="number"&&(W=E.symbols_[W]||W),W},I,Ut,ge,z,Ea,Ft,Ce={},ht,Z,Ur,pt;;){if(ge=b[b.length-1],this.defaultActions[ge]?z=this.defaultActions[ge]:((I===null||typeof I>"u")&&(I=ts()),z=xe[ge]&&xe[ge][I]),typeof z>"u"||!z.length||!z[0]){var Mt="";pt=[];for(ht in xe[ge])this.terminals_[ht]&&ht>Jn&&pt.push("'"+this.terminals_[ht]+"'");L.showPosition?Mt="Parse error on line "+(ae+1)+`: +`+L.showPosition()+` +Expecting `+pt.join(", ")+", got '"+(this.terminals_[I]||I)+"'":Mt="Parse error on line "+(ae+1)+": Unexpected "+(I==Vr?"end of input":"'"+(this.terminals_[I]||I)+"'"),this.parseError(Mt,{text:L.match,token:this.terminals_[I]||I,line:L.yylineno,loc:Vt,expected:pt})}if(z[0]instanceof Array&&z.length>1)throw new Error("Parse Error: multiple actions possible at state: "+ge+", token: "+I);switch(z[0]){case 1:b.push(I),P.push(L.yytext),l.push(L.yylloc),b.push(z[1]),I=null,Ut?(I=Ut,Ut=null):(Me=L.yyleng,u=L.yytext,ae=L.yylineno,Vt=L.yylloc,Hr>0&&Hr--);break;case 2:if(Z=this.productions_[z[1]][1],Ce.$=P[P.length-Z],Ce._$={first_line:l[l.length-(Z||1)].first_line,last_line:l[l.length-1].last_line,first_column:l[l.length-(Z||1)].first_column,last_column:l[l.length-1].last_column},es&&(Ce._$.range=[l[l.length-(Z||1)].range[0],l[l.length-1].range[1]]),Ft=this.performAction.apply(Ce,[u,Me,ae,me.yy,z[1],P,l].concat(Zn)),typeof Ft<"u")return Ft;Z&&(b=b.slice(0,-1*Z*2),P=P.slice(0,-1*Z),l=l.slice(0,-1*Z)),b.push(this.productions_[z[1]][0]),P.push(Ce.$),l.push(Ce._$),Ur=xe[b[b.length-2]][b[b.length-1]],b.push(Ur);break;case 3:return!0}}return!0}},Xn=function(){var ie={EOF:1,parseError:function(E,b){if(this.yy.parser)this.yy.parser.parseError(E,b);else throw new Error(E)},setInput:function(m,E){return this.yy=E||this.yy||{},this._input=m,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var m=this._input[0];this.yytext+=m,this.yyleng++,this.offset++,this.match+=m,this.matched+=m;var E=m.match(/(?:\r\n?|\n).*/g);return E?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),m},unput:function(m){var E=m.length,b=m.split(/(?:\r\n?|\n)/g);this._input=m+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-E),this.offset-=E;var y=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),b.length-1&&(this.yylineno-=b.length-1);var P=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:b?(b.length===y.length?this.yylloc.first_column:0)+y[y.length-b.length].length-b[0].length:this.yylloc.first_column-E},this.options.ranges&&(this.yylloc.range=[P[0],P[0]+this.yyleng-E]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject:function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError("Lexical error on line "+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true). +`+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},less:function(m){this.unput(this.match.slice(m))},pastInput:function(){var m=this.matched.substr(0,this.matched.length-this.match.length);return(m.length>20?"...":"")+m.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var m=this.match;return m.length<20&&(m+=this._input.substr(0,20-m.length)),(m.substr(0,20)+(m.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var m=this.pastInput(),E=new Array(m.length+1).join("-");return m+this.upcomingInput()+` +`+E+"^"},test_match:function(m,E){var b,y,P;if(this.options.backtrack_lexer&&(P={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(P.yylloc.range=this.yylloc.range.slice(0))),y=m[0].match(/(?:\r\n?|\n).*/g),y&&(this.yylineno+=y.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:y?y[y.length-1].length-y[y.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+m[0].length},this.yytext+=m[0],this.match+=m[0],this.matches=m,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(m[0].length),this.matched+=m[0],b=this.performAction.call(this,this.yy,this,E,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),b)return b;if(this._backtrack){for(var l in P)this[l]=P[l];return!1}return!1},next:function(){if(this.done)return this.EOF;this._input||(this.done=!0);var m,E,b,y;this._more||(this.yytext="",this.match="");for(var P=this._currentRules(),l=0;lE[0].length)){if(E=b,y=l,this.options.backtrack_lexer){if(m=this.test_match(b,P[l]),m!==!1)return m;if(this._backtrack){E=!1;continue}else return!1}else if(!this.options.flex)break}return E?(m=this.test_match(E,P[y]),m!==!1?m:!1):this._input===""?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+`. Unrecognized text. +`+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){var E=this.next();return E||this.lex()},begin:function(E){this.conditionStack.push(E)},popState:function(){var E=this.conditionStack.length-1;return E>0?this.conditionStack.pop():this.conditionStack[0]},_currentRules:function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},topState:function(E){return E=this.conditionStack.length-1-Math.abs(E||0),E>=0?this.conditionStack[E]:"INITIAL"},pushState:function(E){this.begin(E)},stateStackSize:function(){return this.conditionStack.length},options:{},performAction:function(E,b,y,P){function l(u,ae){return b.yytext=b.yytext.substring(u,b.yyleng-ae+u)}var xe=P;switch(y){case 0:if(b.yytext.slice(-2)==="\\\\"?(l(0,1),this.begin("mu")):b.yytext.slice(-1)==="\\"?(l(0,1),this.begin("emu")):this.begin("mu"),b.yytext)return 15;break;case 1:return 15;case 2:return this.popState(),15;break;case 3:return this.begin("raw"),15;break;case 4:return this.popState(),this.conditionStack[this.conditionStack.length-1]==="raw"?15:(l(5,9),18);case 5:return 15;case 6:return this.popState(),14;break;case 7:return 64;case 8:return 67;case 9:return 19;case 10:return this.popState(),this.begin("raw"),23;break;case 11:return 56;case 12:return 60;case 13:return 29;case 14:return 47;case 15:return this.popState(),44;break;case 16:return this.popState(),44;break;case 17:return 34;case 18:return 39;case 19:return 52;case 20:return 48;case 21:this.unput(b.yytext),this.popState(),this.begin("com");break;case 22:return this.popState(),14;break;case 23:return 48;case 24:return 72;case 25:return 71;case 26:return 71;case 27:return 86;case 28:break;case 29:return this.popState(),55;break;case 30:return this.popState(),33;break;case 31:return b.yytext=l(1,2).replace(/\\"/g,'"'),79;break;case 32:return b.yytext=l(1,2).replace(/\\'/g,"'"),79;break;case 33:return 84;case 34:return 81;case 35:return 81;case 36:return 82;case 37:return 83;case 38:return 80;case 39:return 74;case 40:return 76;case 41:return 71;case 42:return b.yytext=b.yytext.replace(/\\([\\\]])/g,"$1"),71;break;case 43:return"INVALID";case 44:return 5}},rules:[/^(?:[^\x00]*?(?=(\{\{)))/,/^(?:[^\x00]+)/,/^(?:[^\x00]{2,}?(?=(\{\{|\\\{\{|\\\\\{\{|$)))/,/^(?:\{\{\{\{(?=[^/]))/,/^(?:\{\{\{\{\/[^\s!"#%-,\.\/;->@\[-\^`\{-~]+(?=[=}\s\/.])\}\}\}\})/,/^(?:[^\x00]+?(?=(\{\{\{\{)))/,/^(?:[\s\S]*?--(~)?\}\})/,/^(?:\()/,/^(?:\))/,/^(?:\{\{\{\{)/,/^(?:\}\}\}\})/,/^(?:\{\{(~)?>)/,/^(?:\{\{(~)?#>)/,/^(?:\{\{(~)?#\*?)/,/^(?:\{\{(~)?\/)/,/^(?:\{\{(~)?\^\s*(~)?\}\})/,/^(?:\{\{(~)?\s*else\s*(~)?\}\})/,/^(?:\{\{(~)?\^)/,/^(?:\{\{(~)?\s*else\b)/,/^(?:\{\{(~)?\{)/,/^(?:\{\{(~)?&)/,/^(?:\{\{(~)?!--)/,/^(?:\{\{(~)?![\s\S]*?\}\})/,/^(?:\{\{(~)?\*?)/,/^(?:=)/,/^(?:\.\.)/,/^(?:\.(?=([=~}\s\/.)|])))/,/^(?:[\/.])/,/^(?:\s+)/,/^(?:\}(~)?\}\})/,/^(?:(~)?\}\})/,/^(?:"(\\["]|[^"])*")/,/^(?:'(\\[']|[^'])*')/,/^(?:@)/,/^(?:true(?=([~}\s)])))/,/^(?:false(?=([~}\s)])))/,/^(?:undefined(?=([~}\s)])))/,/^(?:null(?=([~}\s)])))/,/^(?:-?[0-9]+(?:\.[0-9]+)?(?=([~}\s)])))/,/^(?:as\s+\|)/,/^(?:\|)/,/^(?:([^\s!"#%-,\.\/;->@\[-\^`\{-~]+(?=([=~}\s\/.)|]))))/,/^(?:\[(\\\]|[^\]])*\])/,/^(?:.)/,/^(?:$)/],conditions:{mu:{rules:[7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44],inclusive:!1},emu:{rules:[2],inclusive:!1},com:{rules:[6],inclusive:!1},raw:{rules:[3,4,5],inclusive:!1},INITIAL:{rules:[0,1,44],inclusive:!0}}};return ie}();Rt.lexer=Xn;function qt(){this.yy={}}return qt.prototype=Rt,Rt.Parser=qt,new qt}(),vt=ni;var lr=["description","fileName","lineNumber","endLineNumber","message","name","number","stack"];function cr(t,e){var r=e&&e.loc,n,s,i,a;r&&(n=r.start.line,s=r.end.line,i=r.start.column,a=r.end.column,t+=" - "+n+":"+i);for(var o=Error.prototype.constructor.call(this,t),c=0;cfr,id:()=>si,prepareBlock:()=>ui,prepareMustache:()=>li,preparePartialBlock:()=>pi,preparePath:()=>oi,prepareProgram:()=>hi,prepareRawBlock:()=>ci,stripComment:()=>ai,stripFlags:()=>ii});function pr(t,e){if(e=e.path?e.path.original:e,t.path.original!==e){var r={loc:t.path.loc};throw new le(t.path.original+" doesn't match "+e,r)}}function fr(t,e){this.source=t,this.start={line:e.first_line,column:e.first_column},this.end={line:e.last_line,column:e.last_column}}function si(t){return/^\[.*\]$/.test(t)?t.substring(1,t.length-1):t}function ii(t,e){return{open:t.charAt(2)==="~",close:e.charAt(e.length-3)==="~"}}function ai(t){return t.replace(/^\{\{~?!-?-?/,"").replace(/-?-?~?\}\}$/,"")}function oi(t,e,r){r=this.locInfo(r);for(var n=t?"@":"",s=[],i=0,a=0,o=e.length;a0)throw new le("Invalid path: "+n,{loc:r});c===".."&&i++}else s.push(c)}return{type:"PathExpression",data:t,depth:i,parts:s,original:n,loc:r}}function li(t,e,r,n,s,i){var a=n.charAt(3)||n.charAt(2),o=a!=="{"&&a!=="&",c=/\*/.test(n);return{type:c?"Decorator":"MustacheStatement",path:t,params:e,hash:r,escaped:o,strip:s,loc:this.locInfo(i)}}function ci(t,e,r,n){pr(t,r),n=this.locInfo(n);var s={type:"Program",body:e,strip:{},loc:n};return{type:"BlockStatement",path:t.path,params:t.params,hash:t.hash,program:s,openStrip:{},inverseStrip:{},closeStrip:{},loc:n}}function ui(t,e,r,n,s,i){n&&n.path&&pr(t,n);var a=/\*/.test(t.open);e.blockParams=t.blockParams;var o,c;if(r){if(a)throw new le("Unexpected inverse block on decorator",r);r.chain&&(r.program.body[0].closeStrip=n.strip),c=r.strip,o=r.program}return s&&(s=o,o=e,e=s),{type:a?"DecoratorBlock":"BlockStatement",path:t.path,params:t.params,hash:t.hash,program:e,inverse:o,openStrip:t.strip,inverseStrip:c,closeStrip:n&&n.strip,loc:this.locInfo(i)}}function hi(t,e){if(!e&&t.length){var r=t[0].loc,n=t[t.length-1].loc;r&&n&&(e={source:r.source,start:{line:r.start.line,column:r.start.column},end:{line:n.end.line,column:n.end.column}})}return{type:"Program",body:t,strip:{},loc:e}}function pi(t,e,r,n){return pr(t,r),{type:"PartialBlockStatement",name:t.path,params:t.params,hash:t.hash,program:e,openStrip:t.strip,closeStrip:r&&r.strip,loc:this.locInfo(n)}}var Ln={};for(xt in nt)Object.prototype.hasOwnProperty.call(nt,xt)&&(Ln[xt]=nt[xt]);var xt;function Ct(t,e){if(t.type==="Program")return t;vt.yy=Ln,vt.yy.locInfo=function(n){return new fr(e&&e.srcName,n)};var r=vt.parse(t);return r}function dr(t,e){var r=Ct(t,e),n=new Cn(e);return n.accept(r)}var Dn={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:"&",andand:"\u2A55",And:"\u2A53",and:"\u2227",andd:"\u2A5C",andslope:"\u2A58",andv:"\u2A5A",ang:"\u2220",ange:"\u29A4",angle:"\u2220",angmsdaa:"\u29A8",angmsdab:"\u29A9",angmsdac:"\u29AA",angmsdad:"\u29AB",angmsdae:"\u29AC",angmsdaf:"\u29AD",angmsdag:"\u29AE",angmsdah:"\u29AF",angmsd:"\u2221",angrt:"\u221F",angrtvb:"\u22BE",angrtvbd:"\u299D",angsph:"\u2222",angst:"\xC5",angzarr:"\u237C",Aogon:"\u0104",aogon:"\u0105",Aopf:"\u{1D538}",aopf:"\u{1D552}",apacir:"\u2A6F",ap:"\u2248",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:"\u2305",Barwed:"\u2306",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:"\u2510",boxdL:"\u2555",boxDl:"\u2556",boxDL:"\u2557",boxdr:"\u250C",boxdR:"\u2552",boxDr:"\u2553",boxDR:"\u2554",boxh:"\u2500",boxH:"\u2550",boxhd:"\u252C",boxHd:"\u2564",boxhD:"\u2565",boxHD:"\u2566",boxhu:"\u2534",boxHu:"\u2567",boxhU:"\u2568",boxHU:"\u2569",boxminus:"\u229F",boxplus:"\u229E",boxtimes:"\u22A0",boxul:"\u2518",boxuL:"\u255B",boxUl:"\u255C",boxUL:"\u255D",boxur:"\u2514",boxuR:"\u2558",boxUr:"\u2559",boxUR:"\u255A",boxv:"\u2502",boxV:"\u2551",boxvh:"\u253C",boxvH:"\u256A",boxVh:"\u256B",boxVH:"\u256C",boxvl:"\u2524",boxvL:"\u2561",boxVl:"\u2562",boxVL:"\u2563",boxvr:"\u251C",boxvR:"\u255E",boxVr:"\u255F",boxVR:"\u2560",bprime:"\u2035",breve:"\u02D8",Breve:"\u02D8",brvbar:"\xA6",bscr:"\u{1D4B7}",Bscr:"\u212C",bsemi:"\u204F",bsim:"\u223D",bsime:"\u22CD",bsolb:"\u29C5",bsol:"\\",bsolhsub:"\u27C8",bull:"\u2022",bullet:"\u2022",bump:"\u224E",bumpE:"\u2AAE",bumpe:"\u224F",Bumpeq:"\u224E",bumpeq:"\u224F",Cacute:"\u0106",cacute:"\u0107",capand:"\u2A44",capbrcup:"\u2A49",capcap:"\u2A4B",cap:"\u2229",Cap:"\u22D2",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:"\u{1D520}",Cfr:"\u212D",CHcy:"\u0427",chcy:"\u0447",check:"\u2713",checkmark:"\u2713",Chi:"\u03A7",chi:"\u03C7",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",cir:"\u25CB",cirE:"\u29C3",cire:"\u2257",cirfnint:"\u2A10",cirmid:"\u2AEF",cirscir:"\u29C2",ClockwiseContourIntegral:"\u2232",CloseCurlyDoubleQuote:"\u201D",CloseCurlyQuote:"\u2019",clubs:"\u2663",clubsuit:"\u2663",colon:":",Colon:"\u2237",Colone:"\u2A74",colone:"\u2254",coloneq:"\u2254",comma:",",commat:"@",comp:"\u2201",compfn:"\u2218",complement:"\u2201",complexes:"\u2102",cong:"\u2245",congdot:"\u2A6D",Congruent:"\u2261",conint:"\u222E",Conint:"\u222F",ContourIntegral:"\u222E",copf:"\u{1D554}",Copf:"\u2102",coprod:"\u2210",Coproduct:"\u2210",copy:"\xA9",COPY:"\xA9",copysr:"\u2117",CounterClockwiseContourIntegral:"\u2233",crarr:"\u21B5",cross:"\u2717",Cross:"\u2A2F",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",cupbrcap:"\u2A48",cupcap:"\u2A46",CupCap:"\u224D",cup:"\u222A",Cup:"\u22D3",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:"\u2020",Dagger:"\u2021",daleth:"\u2138",darr:"\u2193",Darr:"\u21A1",dArr:"\u21D3",dash:"\u2010",Dashv:"\u2AE4",dashv:"\u22A3",dbkarow:"\u290F",dblac:"\u02DD",Dcaron:"\u010E",dcaron:"\u010F",Dcy:"\u0414",dcy:"\u0434",ddagger:"\u2021",ddarr:"\u21CA",DD:"\u2145",dd:"\u2146",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",DownArrowBar:"\u2913",downarrow:"\u2193",DownArrow:"\u2193",Downarrow:"\u21D3",DownArrowUpArrow:"\u21F5",DownBreve:"\u0311",downdownarrows:"\u21CA",downharpoonleft:"\u21C3",downharpoonright:"\u21C2",DownLeftRightVector:"\u2950",DownLeftTeeVector:"\u295E",DownLeftVectorBar:"\u2956",DownLeftVector:"\u21BD",DownRightTeeVector:"\u295F",DownRightVectorBar:"\u2957",DownRightVector:"\u21C1",DownTeeArrow:"\u21A7",DownTee:"\u22A4",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",Ecirc:"\xCA",ecirc:"\xEA",ecir:"\u2256",ecolon:"\u2255",Ecy:"\u042D",ecy:"\u044D",eDDot:"\u2A77",Edot:"\u0116",edot:"\u0117",eDot:"\u2251",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",emsp13:"\u2004",emsp14:"\u2005",emsp:"\u2003",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:"\u212F",Escr:"\u2130",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:"\u{1D4BB}",Fscr:"\u2131",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:"\u2265",gE:"\u2267",gEl:"\u2A8C",gel:"\u22DB",geq:"\u2265",geqq:"\u2267",geqslant:"\u2A7E",gescc:"\u2AA9",ges:"\u2A7E",gesdot:"\u2A80",gesdoto:"\u2A82",gesdotol:"\u2A84",gesl:"\u22DB\uFE00",gesles:"\u2A94",Gfr:"\u{1D50A}",gfr:"\u{1D524}",gg:"\u226B",Gg:"\u22D9",ggg:"\u22D9",gimel:"\u2137",GJcy:"\u0403",gjcy:"\u0453",gla:"\u2AA5",gl:"\u2277",glE:"\u2A92",glj:"\u2AA4",gnap:"\u2A8A",gnapprox:"\u2A8A",gne:"\u2A88",gnE:"\u2269",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",gtcc:"\u2AA7",gtcir:"\u2A7A",gt:">",GT:">",Gt:"\u226B",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",harrcir:"\u2948",harr:"\u2194",hArr:"\u21D4",harrw:"\u21AD",Hat:"^",hbar:"\u210F",Hcirc:"\u0124",hcirc:"\u0125",hearts:"\u2665",heartsuit:"\u2665",hellip:"\u2026",hercon:"\u22B9",hfr:"\u{1D525}",Hfr:"\u210C",HilbertSpace:"\u210B",hksearow:"\u2925",hkswarow:"\u2926",hoarr:"\u21FF",homtht:"\u223B",hookleftarrow:"\u21A9",hookrightarrow:"\u21AA",hopf:"\u{1D559}",Hopf:"\u210D",horbar:"\u2015",HorizontalLine:"\u2500",hscr:"\u{1D4BD}",Hscr:"\u210B",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:"\u{1D526}",Ifr:"\u2111",Igrave:"\xCC",igrave:"\xEC",ii:"\u2148",iiiint:"\u2A0C",iiint:"\u222D",iinfin:"\u29DC",iiota:"\u2129",IJlig:"\u0132",ijlig:"\u0133",Imacr:"\u012A",imacr:"\u012B",image:"\u2111",ImaginaryI:"\u2148",imagline:"\u2110",imagpart:"\u2111",imath:"\u0131",Im:"\u2111",imof:"\u22B7",imped:"\u01B5",Implies:"\u21D2",incare:"\u2105",in:"\u2208",infin:"\u221E",infintie:"\u29DD",inodot:"\u0131",intcal:"\u22BA",int:"\u222B",Int:"\u222C",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:"\u{1D4BE}",Iscr:"\u2110",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:"\u27E8",Lang:"\u27EA",langd:"\u2991",langle:"\u27E8",lap:"\u2A85",Laplacetrf:"\u2112",laquo:"\xAB",larrb:"\u21E4",larrbfs:"\u291F",larr:"\u2190",Larr:"\u219E",lArr:"\u21D0",larrfs:"\u291D",larrhk:"\u21A9",larrlp:"\u21AB",larrpl:"\u2939",larrsim:"\u2973",larrtl:"\u21A2",latail:"\u2919",lAtail:"\u291B",lat:"\u2AAB",late:"\u2AAD",lates:"\u2AAD\uFE00",lbarr:"\u290C",lBarr:"\u290E",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:"\u2264",lE:"\u2266",LeftAngleBracket:"\u27E8",LeftArrowBar:"\u21E4",leftarrow:"\u2190",LeftArrow:"\u2190",Leftarrow:"\u21D0",LeftArrowRightArrow:"\u21C6",leftarrowtail:"\u21A2",LeftCeiling:"\u2308",LeftDoubleBracket:"\u27E6",LeftDownTeeVector:"\u2961",LeftDownVectorBar:"\u2959",LeftDownVector:"\u21C3",LeftFloor:"\u230A",leftharpoondown:"\u21BD",leftharpoonup:"\u21BC",leftleftarrows:"\u21C7",leftrightarrow:"\u2194",LeftRightArrow:"\u2194",Leftrightarrow:"\u21D4",leftrightarrows:"\u21C6",leftrightharpoons:"\u21CB",leftrightsquigarrow:"\u21AD",LeftRightVector:"\u294E",LeftTeeArrow:"\u21A4",LeftTee:"\u22A3",LeftTeeVector:"\u295A",leftthreetimes:"\u22CB",LeftTriangleBar:"\u29CF",LeftTriangle:"\u22B2",LeftTriangleEqual:"\u22B4",LeftUpDownVector:"\u2951",LeftUpTeeVector:"\u2960",LeftUpVectorBar:"\u2958",LeftUpVector:"\u21BF",LeftVectorBar:"\u2952",LeftVector:"\u21BC",lEg:"\u2A8B",leg:"\u22DA",leq:"\u2264",leqq:"\u2266",leqslant:"\u2A7D",lescc:"\u2AA8",les:"\u2A7D",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",llarr:"\u21C7",ll:"\u226A",Ll:"\u22D8",llcorner:"\u231E",Lleftarrow:"\u21DA",llhard:"\u296B",lltri:"\u25FA",Lmidot:"\u013F",lmidot:"\u0140",lmoustache:"\u23B0",lmoust:"\u23B0",lnap:"\u2A89",lnapprox:"\u2A89",lne:"\u2A87",lnE:"\u2268",lneq:"\u2A87",lneqq:"\u2268",lnsim:"\u22E6",loang:"\u27EC",loarr:"\u21FD",lobrk:"\u27E6",longleftarrow:"\u27F5",LongLeftArrow:"\u27F5",Longleftarrow:"\u27F8",longleftrightarrow:"\u27F7",LongLeftRightArrow:"\u27F7",Longleftrightarrow:"\u27FA",longmapsto:"\u27FC",longrightarrow:"\u27F6",LongRightArrow:"\u27F6",Longrightarrow:"\u27F9",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:"\u{1D4C1}",Lscr:"\u2112",lsh:"\u21B0",Lsh:"\u21B0",lsim:"\u2272",lsime:"\u2A8D",lsimg:"\u2A8F",lsqb:"[",lsquo:"\u2018",lsquor:"\u201A",Lstrok:"\u0141",lstrok:"\u0142",ltcc:"\u2AA6",ltcir:"\u2A79",lt:"<",LT:"<",Lt:"\u226A",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",midast:"*",midcir:"\u2AF0",mid:"\u2223",middot:"\xB7",minusb:"\u229F",minus:"\u2212",minusd:"\u2238",minusdu:"\u2A2A",MinusPlus:"\u2213",mlcp:"\u2ADB",mldr:"\u2026",mnplus:"\u2213",models:"\u22A7",Mopf:"\u{1D544}",mopf:"\u{1D55E}",mp:"\u2213",mscr:"\u{1D4C2}",Mscr:"\u2133",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",natural:"\u266E",naturals:"\u2115",natur:"\u266E",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",nearhk:"\u2924",nearr:"\u2197",neArr:"\u21D7",nearrow:"\u2197",ne:"\u2260",nedot:"\u2250\u0338",NegativeMediumSpace:"\u200B",NegativeThickSpace:"\u200B",NegativeThinSpace:"\u200B",NegativeVeryThinSpace:"\u200B",nequiv:"\u2262",nesear:"\u2928",nesim:"\u2242\u0338",NestedGreaterGreater:"\u226B",NestedLessLess:"\u226A",NewLine:` +`,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:"\u21AE",nhArr:"\u21CE",nhpar:"\u2AF2",ni:"\u220B",nis:"\u22FC",nisd:"\u22FA",niv:"\u220B",NJcy:"\u040A",njcy:"\u045A",nlarr:"\u219A",nlArr:"\u21CD",nldr:"\u2025",nlE:"\u2266\u0338",nle:"\u2270",nleftarrow:"\u219A",nLeftarrow:"\u21CD",nleftrightarrow:"\u21AE",nLeftrightarrow:"\u21CE",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:"\u{1D55F}",Nopf:"\u2115",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",NotLeftTriangleBar:"\u29CF\u0338",NotLeftTriangle:"\u22EA",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",NotRightTriangleBar:"\u29D0\u0338",NotRightTriangle:"\u22EB",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",nparallel:"\u2226",npar:"\u2226",nparsl:"\u2AFD\u20E5",npart:"\u2202\u0338",npolint:"\u2A14",npr:"\u2280",nprcue:"\u22E0",nprec:"\u2280",npreceq:"\u2AAF\u0338",npre:"\u2AAF\u0338",nrarrc:"\u2933\u0338",nrarr:"\u219B",nrArr:"\u21CF",nrarrw:"\u219D\u0338",nrightarrow:"\u219B",nRightarrow:"\u21CF",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:"\u22AC",nvDash:"\u22AD",nVdash:"\u22AE",nVDash:"\u22AF",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:"\u2196",nwArr:"\u21D6",nwarrow:"\u2196",nwnear:"\u2927",Oacute:"\xD3",oacute:"\xF3",oast:"\u229B",Ocirc:"\xD4",ocirc:"\xF4",ocir:"\u229A",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",orarr:"\u21BB",Or:"\u2A54",or:"\u2228",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",otimesas:"\u2A36",Otimes:"\u2A37",otimes:"\u2297",Ouml:"\xD6",ouml:"\xF6",ovbar:"\u233D",OverBar:"\u203E",OverBrace:"\u23DE",OverBracket:"\u23B4",OverParenthesis:"\u23DC",para:"\xB6",parallel:"\u2225",par:"\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",plusacir:"\u2A23",plusb:"\u229E",pluscir:"\u2A22",plus:"+",plusdo:"\u2214",plusdu:"\u2A25",pluse:"\u2A72",PlusMinus:"\xB1",plusmn:"\xB1",plussim:"\u2A26",plustwo:"\u2A27",pm:"\xB1",Poincareplane:"\u210C",pointint:"\u2A15",popf:"\u{1D561}",Popf:"\u2119",pound:"\xA3",prap:"\u2AB7",Pr:"\u2ABB",pr:"\u227A",prcue:"\u227C",precapprox:"\u2AB7",prec:"\u227A",preccurlyeq:"\u227C",Precedes:"\u227A",PrecedesEqual:"\u2AAF",PrecedesSlantEqual:"\u227C",PrecedesTilde:"\u227E",preceq:"\u2AAF",precnapprox:"\u2AB9",precneqq:"\u2AB5",precnsim:"\u22E8",pre:"\u2AAF",prE:"\u2AB3",precsim:"\u227E",prime:"\u2032",Prime:"\u2033",primes:"\u2119",prnap:"\u2AB9",prnE:"\u2AB5",prnsim:"\u22E8",prod:"\u220F",Product:"\u220F",profalar:"\u232E",profline:"\u2312",profsurf:"\u2313",prop:"\u221D",Proportional:"\u221D",Proportion:"\u2237",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:"\u{1D562}",Qopf:"\u211A",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:"\u27E9",Rang:"\u27EB",rangd:"\u2992",range:"\u29A5",rangle:"\u27E9",raquo:"\xBB",rarrap:"\u2975",rarrb:"\u21E5",rarrbfs:"\u2920",rarrc:"\u2933",rarr:"\u2192",Rarr:"\u21A0",rArr:"\u21D2",rarrfs:"\u291E",rarrhk:"\u21AA",rarrlp:"\u21AC",rarrpl:"\u2945",rarrsim:"\u2974",Rarrtl:"\u2916",rarrtl:"\u21A3",rarrw:"\u219D",ratail:"\u291A",rAtail:"\u291C",ratio:"\u2236",rationals:"\u211A",rbarr:"\u290D",rBarr:"\u290F",RBarr:"\u2910",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",real:"\u211C",realine:"\u211B",realpart:"\u211C",reals:"\u211D",Re:"\u211C",rect:"\u25AD",reg:"\xAE",REG:"\xAE",ReverseElement:"\u220B",ReverseEquilibrium:"\u21CB",ReverseUpEquilibrium:"\u296F",rfisht:"\u297D",rfloor:"\u230B",rfr:"\u{1D52F}",Rfr:"\u211C",rHar:"\u2964",rhard:"\u21C1",rharu:"\u21C0",rharul:"\u296C",Rho:"\u03A1",rho:"\u03C1",rhov:"\u03F1",RightAngleBracket:"\u27E9",RightArrowBar:"\u21E5",rightarrow:"\u2192",RightArrow:"\u2192",Rightarrow:"\u21D2",RightArrowLeftArrow:"\u21C4",rightarrowtail:"\u21A3",RightCeiling:"\u2309",RightDoubleBracket:"\u27E7",RightDownTeeVector:"\u295D",RightDownVectorBar:"\u2955",RightDownVector:"\u21C2",RightFloor:"\u230B",rightharpoondown:"\u21C1",rightharpoonup:"\u21C0",rightleftarrows:"\u21C4",rightleftharpoons:"\u21CC",rightrightarrows:"\u21C9",rightsquigarrow:"\u219D",RightTeeArrow:"\u21A6",RightTee:"\u22A2",RightTeeVector:"\u295B",rightthreetimes:"\u22CC",RightTriangleBar:"\u29D0",RightTriangle:"\u22B3",RightTriangleEqual:"\u22B5",RightUpDownVector:"\u294F",RightUpTeeVector:"\u295C",RightUpVectorBar:"\u2954",RightUpVector:"\u21BE",RightVectorBar:"\u2953",RightVector:"\u21C0",ring:"\u02DA",risingdotseq:"\u2253",rlarr:"\u21C4",rlhar:"\u21CC",rlm:"\u200F",rmoustache:"\u23B1",rmoust:"\u23B1",rnmid:"\u2AEE",roang:"\u27ED",roarr:"\u21FE",robrk:"\u27E7",ropar:"\u2986",ropf:"\u{1D563}",Ropf:"\u211D",roplus:"\u2A2E",rotimes:"\u2A35",RoundImplies:"\u2970",rpar:")",rpargt:"\u2994",rppolint:"\u2A12",rrarr:"\u21C9",Rrightarrow:"\u21DB",rsaquo:"\u203A",rscr:"\u{1D4C7}",Rscr:"\u211B",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",scap:"\u2AB8",Scaron:"\u0160",scaron:"\u0161",Sc:"\u2ABC",sc:"\u227B",sccue:"\u227D",sce:"\u2AB0",scE:"\u2AB4",Scedil:"\u015E",scedil:"\u015F",Scirc:"\u015C",scirc:"\u015D",scnap:"\u2ABA",scnE:"\u2AB6",scnsim:"\u22E9",scpolint:"\u2A13",scsim:"\u227F",Scy:"\u0421",scy:"\u0441",sdotb:"\u22A1",sdot:"\u22C5",sdote:"\u2A66",searhk:"\u2925",searr:"\u2198",seArr:"\u21D8",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",solbar:"\u233F",solb:"\u29C4",sol:"/",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",square:"\u25A1",Square:"\u25A1",SquareIntersection:"\u2293",SquareSubset:"\u228F",SquareSubsetEqual:"\u2291",SquareSuperset:"\u2290",SquareSupersetEqual:"\u2292",SquareUnion:"\u2294",squarf:"\u25AA",squ:"\u25A1",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:"\u2282",Sub:"\u22D0",subdot:"\u2ABD",subE:"\u2AC5",sube:"\u2286",subedot:"\u2AC3",submult:"\u2AC1",subnE:"\u2ACB",subne:"\u228A",subplus:"\u2ABF",subrarr:"\u2979",subset:"\u2282",Subset:"\u22D0",subseteq:"\u2286",subseteqq:"\u2AC5",SubsetEqual:"\u2286",subsetneq:"\u228A",subsetneqq:"\u2ACB",subsim:"\u2AC7",subsub:"\u2AD5",subsup:"\u2AD3",succapprox:"\u2AB8",succ:"\u227B",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",sup1:"\xB9",sup2:"\xB2",sup3:"\xB3",sup:"\u2283",Sup:"\u22D1",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:"\u2283",Supset:"\u22D1",supseteq:"\u2287",supseteqq:"\u2AC6",supsetneq:"\u228B",supsetneqq:"\u2ACC",supsim:"\u2AC8",supsub:"\u2AD4",supsup:"\u2AD6",swarhk:"\u2926",swarr:"\u2199",swArr:"\u21D9",swarrow:"\u2199",swnwar:"\u292A",szlig:"\xDF",Tab:" ",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",ThinSpace:"\u2009",thinsp:"\u2009",thkap:"\u2248",thksim:"\u223C",THORN:"\xDE",thorn:"\xFE",tilde:"\u02DC",Tilde:"\u223C",TildeEqual:"\u2243",TildeFullEqual:"\u2245",TildeTilde:"\u2248",timesbar:"\u2A31",timesb:"\u22A0",times:"\xD7",timesd:"\u2A30",tint:"\u222D",toea:"\u2928",topbot:"\u2336",topcir:"\u2AF1",top:"\u22A4",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:"\u2191",Uarr:"\u219F",uArr:"\u21D1",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}",UpArrowBar:"\u2912",uparrow:"\u2191",UpArrow:"\u2191",Uparrow:"\u21D1",UpArrowDownArrow:"\u21C5",updownarrow:"\u2195",UpDownArrow:"\u2195",Updownarrow:"\u21D5",UpEquilibrium:"\u296E",upharpoonleft:"\u21BF",upharpoonright:"\u21BE",uplus:"\u228E",UpperLeftArrow:"\u2196",UpperRightArrow:"\u2197",upsi:"\u03C5",Upsi:"\u03D2",upsih:"\u03D2",Upsilon:"\u03A5",upsilon:"\u03C5",UpTeeArrow:"\u21A5",UpTee:"\u22A5",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:"\u2195",vArr:"\u21D5",varrho:"\u03F1",varsigma:"\u03C2",varsubsetneq:"\u228A\uFE00",varsubsetneqq:"\u2ACB\uFE00",varsupsetneq:"\u228B\uFE00",varsupsetneqq:"\u2ACC\uFE00",vartheta:"\u03D1",vartriangleleft:"\u22B2",vartriangleright:"\u22B3",vBar:"\u2AE8",Vbar:"\u2AEB",vBarv:"\u2AE9",Vcy:"\u0412",vcy:"\u0432",vdash:"\u22A2",vDash:"\u22A8",Vdash:"\u22A9",VDash:"\u22AB",Vdashl:"\u2AE6",veebar:"\u22BB",vee:"\u2228",Vee:"\u22C1",veeeq:"\u225A",vellip:"\u22EE",verbar:"|",Verbar:"\u2016",vert:"|",Vert:"\u2016",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:"\u2227",Wedge:"\u22C0",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:"\u27F7",xhArr:"\u27FA",Xi:"\u039E",xi:"\u03BE",xlarr:"\u27F5",xlArr:"\u27F8",xmap:"\u27FC",xnis:"\u22FB",xodot:"\u2A00",Xopf:"\u{1D54F}",xopf:"\u{1D569}",xoplus:"\u2A01",xotime:"\u2A02",xrarr:"\u27F6",xrArr:"\u27F9",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:"\xFF",Yuml:"\u0178",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:"\u{1D537}",Zfr:"\u2128",ZHcy:"\u0416",zhcy:"\u0436",zigrarr:"\u21DD",zopf:"\u{1D56B}",Zopf:"\u2124",Zscr:"\u{1D4B5}",zscr:"\u{1D4CF}",zwj:"\u200D",zwnj:"\u200C"},fi=/^#[xX]([A-Fa-f0-9]+)$/,di=/^#([0-9]+)$/,mi=/^([A-Za-z0-9]+)$/,mr=function(){function t(e){this.named=e}return t.prototype.parse=function(e){if(e){var r=e.match(fi);if(r)return String.fromCharCode(parseInt(r[1],16));if(r=e.match(di),r)return String.fromCharCode(parseInt(r[1],10));if(r=e.match(mi),r)return this.named[r[1]]}},t}(),gi=/[\t\n\f ]/,bi=/[A-Za-z]/,yi=/\r\n?/g;function B(t){return gi.test(t)}function _n(t){return bi.test(t)}function Ei(t){return t.replace(yi,` +`)}var gr=function(){function t(e,r,n){n===void 0&&(n="precompile"),this.delegate=e,this.entityParser=r,this.mode=n,this.state="beforeData",this.line=-1,this.column=-1,this.input="",this.index=-1,this.tagNameBuffer="",this.states={beforeData:function(){var s=this.peek();if(s==="<"&&!this.isIgnoredEndTag())this.transitionTo("tagOpen"),this.markTagStart(),this.consume();else{if(this.mode==="precompile"&&s===` +`){var i=this.tagNameBuffer.toLowerCase();(i==="pre"||i==="textarea")&&this.consume()}this.transitionTo("data"),this.delegate.beginData()}},data:function(){var s=this.peek(),i=this.tagNameBuffer;s==="<"&&!this.isIgnoredEndTag()?(this.delegate.finishData(),this.transitionTo("tagOpen"),this.markTagStart(),this.consume()):s==="&"&&i!=="script"&&i!=="style"?(this.consume(),this.delegate.appendToData(this.consumeCharRef()||"&")):(this.consume(),this.delegate.appendToData(s))},tagOpen:function(){var s=this.consume();s==="!"?this.transitionTo("markupDeclarationOpen"):s==="/"?this.transitionTo("endTagOpen"):(s==="@"||s===":"||_n(s))&&(this.transitionTo("tagName"),this.tagNameBuffer="",this.delegate.beginStartTag(),this.appendToTagName(s))},markupDeclarationOpen:function(){var s=this.consume();if(s==="-"&&this.peek()==="-")this.consume(),this.transitionTo("commentStart"),this.delegate.beginComment();else{var i=s.toUpperCase()+this.input.substring(this.index,this.index+6).toUpperCase();i==="DOCTYPE"&&(this.consume(),this.consume(),this.consume(),this.consume(),this.consume(),this.consume(),this.transitionTo("doctype"),this.delegate.beginDoctype&&this.delegate.beginDoctype())}},doctype:function(){var s=this.consume();B(s)&&this.transitionTo("beforeDoctypeName")},beforeDoctypeName:function(){var s=this.consume();B(s)||(this.transitionTo("doctypeName"),this.delegate.appendToDoctypeName&&this.delegate.appendToDoctypeName(s.toLowerCase()))},doctypeName:function(){var s=this.consume();B(s)?this.transitionTo("afterDoctypeName"):s===">"?(this.delegate.endDoctype&&this.delegate.endDoctype(),this.transitionTo("beforeData")):this.delegate.appendToDoctypeName&&this.delegate.appendToDoctypeName(s.toLowerCase())},afterDoctypeName:function(){var s=this.consume();if(!B(s))if(s===">")this.delegate.endDoctype&&this.delegate.endDoctype(),this.transitionTo("beforeData");else{var i=s.toUpperCase()+this.input.substring(this.index,this.index+5).toUpperCase(),a=i.toUpperCase()==="PUBLIC",o=i.toUpperCase()==="SYSTEM";(a||o)&&(this.consume(),this.consume(),this.consume(),this.consume(),this.consume(),this.consume()),a?this.transitionTo("afterDoctypePublicKeyword"):o&&this.transitionTo("afterDoctypeSystemKeyword")}},afterDoctypePublicKeyword:function(){var s=this.peek();B(s)?(this.transitionTo("beforeDoctypePublicIdentifier"),this.consume()):s==='"'?(this.transitionTo("doctypePublicIdentifierDoubleQuoted"),this.consume()):s==="'"?(this.transitionTo("doctypePublicIdentifierSingleQuoted"),this.consume()):s===">"&&(this.consume(),this.delegate.endDoctype&&this.delegate.endDoctype(),this.transitionTo("beforeData"))},doctypePublicIdentifierDoubleQuoted:function(){var s=this.consume();s==='"'?this.transitionTo("afterDoctypePublicIdentifier"):s===">"?(this.delegate.endDoctype&&this.delegate.endDoctype(),this.transitionTo("beforeData")):this.delegate.appendToDoctypePublicIdentifier&&this.delegate.appendToDoctypePublicIdentifier(s)},doctypePublicIdentifierSingleQuoted:function(){var s=this.consume();s==="'"?this.transitionTo("afterDoctypePublicIdentifier"):s===">"?(this.delegate.endDoctype&&this.delegate.endDoctype(),this.transitionTo("beforeData")):this.delegate.appendToDoctypePublicIdentifier&&this.delegate.appendToDoctypePublicIdentifier(s)},afterDoctypePublicIdentifier:function(){var s=this.consume();B(s)?this.transitionTo("betweenDoctypePublicAndSystemIdentifiers"):s===">"?(this.delegate.endDoctype&&this.delegate.endDoctype(),this.transitionTo("beforeData")):s==='"'?this.transitionTo("doctypeSystemIdentifierDoubleQuoted"):s==="'"&&this.transitionTo("doctypeSystemIdentifierSingleQuoted")},betweenDoctypePublicAndSystemIdentifiers:function(){var s=this.consume();B(s)||(s===">"?(this.delegate.endDoctype&&this.delegate.endDoctype(),this.transitionTo("beforeData")):s==='"'?this.transitionTo("doctypeSystemIdentifierDoubleQuoted"):s==="'"&&this.transitionTo("doctypeSystemIdentifierSingleQuoted"))},doctypeSystemIdentifierDoubleQuoted:function(){var s=this.consume();s==='"'?this.transitionTo("afterDoctypeSystemIdentifier"):s===">"?(this.delegate.endDoctype&&this.delegate.endDoctype(),this.transitionTo("beforeData")):this.delegate.appendToDoctypeSystemIdentifier&&this.delegate.appendToDoctypeSystemIdentifier(s)},doctypeSystemIdentifierSingleQuoted:function(){var s=this.consume();s==="'"?this.transitionTo("afterDoctypeSystemIdentifier"):s===">"?(this.delegate.endDoctype&&this.delegate.endDoctype(),this.transitionTo("beforeData")):this.delegate.appendToDoctypeSystemIdentifier&&this.delegate.appendToDoctypeSystemIdentifier(s)},afterDoctypeSystemIdentifier:function(){var s=this.consume();B(s)||s===">"&&(this.delegate.endDoctype&&this.delegate.endDoctype(),this.transitionTo("beforeData"))},commentStart:function(){var s=this.consume();s==="-"?this.transitionTo("commentStartDash"):s===">"?(this.delegate.finishComment(),this.transitionTo("beforeData")):(this.delegate.appendToCommentData(s),this.transitionTo("comment"))},commentStartDash:function(){var s=this.consume();s==="-"?this.transitionTo("commentEnd"):s===">"?(this.delegate.finishComment(),this.transitionTo("beforeData")):(this.delegate.appendToCommentData("-"),this.transitionTo("comment"))},comment:function(){var s=this.consume();s==="-"?this.transitionTo("commentEndDash"):this.delegate.appendToCommentData(s)},commentEndDash:function(){var s=this.consume();s==="-"?this.transitionTo("commentEnd"):(this.delegate.appendToCommentData("-"+s),this.transitionTo("comment"))},commentEnd:function(){var s=this.consume();s===">"?(this.delegate.finishComment(),this.transitionTo("beforeData")):(this.delegate.appendToCommentData("--"+s),this.transitionTo("comment"))},tagName:function(){var s=this.consume();B(s)?this.transitionTo("beforeAttributeName"):s==="/"?this.transitionTo("selfClosingStartTag"):s===">"?(this.delegate.finishTag(),this.transitionTo("beforeData")):this.appendToTagName(s)},endTagName:function(){var s=this.consume();B(s)?(this.transitionTo("beforeAttributeName"),this.tagNameBuffer=""):s==="/"?(this.transitionTo("selfClosingStartTag"),this.tagNameBuffer=""):s===">"?(this.delegate.finishTag(),this.transitionTo("beforeData"),this.tagNameBuffer=""):this.appendToTagName(s)},beforeAttributeName:function(){var s=this.peek();if(B(s)){this.consume();return}else s==="/"?(this.transitionTo("selfClosingStartTag"),this.consume()):s===">"?(this.consume(),this.delegate.finishTag(),this.transitionTo("beforeData")):s==="="?(this.delegate.reportSyntaxError("attribute name cannot start with equals sign"),this.transitionTo("attributeName"),this.delegate.beginAttribute(),this.consume(),this.delegate.appendToAttributeName(s)):(this.transitionTo("attributeName"),this.delegate.beginAttribute())},attributeName:function(){var s=this.peek();B(s)?(this.transitionTo("afterAttributeName"),this.consume()):s==="/"?(this.delegate.beginAttributeValue(!1),this.delegate.finishAttributeValue(),this.consume(),this.transitionTo("selfClosingStartTag")):s==="="?(this.transitionTo("beforeAttributeValue"),this.consume()):s===">"?(this.delegate.beginAttributeValue(!1),this.delegate.finishAttributeValue(),this.consume(),this.delegate.finishTag(),this.transitionTo("beforeData")):s==='"'||s==="'"||s==="<"?(this.delegate.reportSyntaxError(s+" is not a valid character within attribute names"),this.consume(),this.delegate.appendToAttributeName(s)):(this.consume(),this.delegate.appendToAttributeName(s))},afterAttributeName:function(){var s=this.peek();if(B(s)){this.consume();return}else s==="/"?(this.delegate.beginAttributeValue(!1),this.delegate.finishAttributeValue(),this.consume(),this.transitionTo("selfClosingStartTag")):s==="="?(this.consume(),this.transitionTo("beforeAttributeValue")):s===">"?(this.delegate.beginAttributeValue(!1),this.delegate.finishAttributeValue(),this.consume(),this.delegate.finishTag(),this.transitionTo("beforeData")):(this.delegate.beginAttributeValue(!1),this.delegate.finishAttributeValue(),this.transitionTo("attributeName"),this.delegate.beginAttribute(),this.consume(),this.delegate.appendToAttributeName(s))},beforeAttributeValue:function(){var s=this.peek();B(s)?this.consume():s==='"'?(this.transitionTo("attributeValueDoubleQuoted"),this.delegate.beginAttributeValue(!0),this.consume()):s==="'"?(this.transitionTo("attributeValueSingleQuoted"),this.delegate.beginAttributeValue(!0),this.consume()):s===">"?(this.delegate.beginAttributeValue(!1),this.delegate.finishAttributeValue(),this.consume(),this.delegate.finishTag(),this.transitionTo("beforeData")):(this.transitionTo("attributeValueUnquoted"),this.delegate.beginAttributeValue(!1),this.consume(),this.delegate.appendToAttributeValue(s))},attributeValueDoubleQuoted:function(){var s=this.consume();s==='"'?(this.delegate.finishAttributeValue(),this.transitionTo("afterAttributeValueQuoted")):s==="&"?this.delegate.appendToAttributeValue(this.consumeCharRef()||"&"):this.delegate.appendToAttributeValue(s)},attributeValueSingleQuoted:function(){var s=this.consume();s==="'"?(this.delegate.finishAttributeValue(),this.transitionTo("afterAttributeValueQuoted")):s==="&"?this.delegate.appendToAttributeValue(this.consumeCharRef()||"&"):this.delegate.appendToAttributeValue(s)},attributeValueUnquoted:function(){var s=this.peek();B(s)?(this.delegate.finishAttributeValue(),this.consume(),this.transitionTo("beforeAttributeName")):s==="/"?(this.delegate.finishAttributeValue(),this.consume(),this.transitionTo("selfClosingStartTag")):s==="&"?(this.consume(),this.delegate.appendToAttributeValue(this.consumeCharRef()||"&")):s===">"?(this.delegate.finishAttributeValue(),this.consume(),this.delegate.finishTag(),this.transitionTo("beforeData")):(this.consume(),this.delegate.appendToAttributeValue(s))},afterAttributeValueQuoted:function(){var s=this.peek();B(s)?(this.consume(),this.transitionTo("beforeAttributeName")):s==="/"?(this.consume(),this.transitionTo("selfClosingStartTag")):s===">"?(this.consume(),this.delegate.finishTag(),this.transitionTo("beforeData")):this.transitionTo("beforeAttributeName")},selfClosingStartTag:function(){var s=this.peek();s===">"?(this.consume(),this.delegate.markTagAsSelfClosing(),this.delegate.finishTag(),this.transitionTo("beforeData")):this.transitionTo("beforeAttributeName")},endTagOpen:function(){var s=this.consume();(s==="@"||s===":"||_n(s))&&(this.transitionTo("endTagName"),this.tagNameBuffer="",this.delegate.beginEndTag(),this.appendToTagName(s))}},this.reset()}return t.prototype.reset=function(){this.transitionTo("beforeData"),this.input="",this.tagNameBuffer="",this.index=0,this.line=1,this.column=0,this.delegate.reset()},t.prototype.transitionTo=function(e){this.state=e},t.prototype.tokenize=function(e){this.reset(),this.tokenizePart(e),this.tokenizeEOF()},t.prototype.tokenizePart=function(e){for(this.input+=Ei(e);this.index"||e==="style"&&this.input.substring(this.index,this.index+8)!==""||e==="script"&&this.input.substring(this.index,this.index+9)!=="<\/script>"},t}(),Yo=function(){function t(e,r){r===void 0&&(r={}),this.options=r,this.token=null,this.startLine=1,this.startColumn=0,this.tokens=[],this.tokenizer=new gr(this,e,r.mode),this._currentAttribute=void 0}return t.prototype.tokenize=function(e){return this.tokens=[],this.tokenizer.tokenize(e),this.tokens},t.prototype.tokenizePart=function(e){return this.tokens=[],this.tokenizer.tokenizePart(e),this.tokens},t.prototype.tokenizeEOF=function(){return this.tokens=[],this.tokenizer.tokenizeEOF(),this.tokens[0]},t.prototype.reset=function(){this.token=null,this.startLine=1,this.startColumn=0},t.prototype.current=function(){var e=this.token;if(e===null)throw new Error("token was unexpectedly null");if(arguments.length===0)return e;for(var r=0;r\xA0]/u,il=new RegExp(wi.source,"gu");var Tr=new Set(["area","base","br","col","command","embed","hr","img","input","keygen","link","meta","param","source","track","wbr"]);function ki(t){var e;return Tr.has(t.toLowerCase())&&((e=t[0])==null?void 0:e.toLowerCase())===t[0]}var pe=Object.freeze({line:1,column:0}),Ti=Object.freeze({source:"(synthetic)",start:pe,end:pe}),st=Object.freeze({source:"(nonexistent)",start:pe,end:pe}),ue=Object.freeze({source:"(broken)",start:pe,end:pe}),k=function(t){return t.CharPosition="CharPosition",t.HbsPosition="HbsPosition",t.InternalsSynthetic="InternalsSynthetic",t.NonExistent="NonExistent",t.Broken="Broken",t}({}),it="MATCH_ANY",Nr="IS_INVISIBLE",vr=class{_whens;constructor(e){this._whens=e}first(e){for(let r of this._whens){let n=r.match(e);if(we(n))return n[0]}return null}},Dt=class{_map=new Map;get(e,r){let n=this._map.get(e);return n||(n=r(),this._map.set(e,n),n)}add(e,r){this._map.set(e,r)}match(e){let r=Ni(e),n=[],s=this._map.get(r),i=this._map.get(it);return s&&n.push(s),i&&n.push(i),n}};function Hn(t){return t(new Ar).check()}var Ar=class{_whens=new Dt;check(){return(e,r)=>this.matchFor(e.kind,r.kind)(e,r)}matchFor(e,r){let n=this._whens.match(e);w(we(n),`no match defined for (${e}, ${r}) and no AnyMatch defined either`);let s=new vr(n).first(r);return w(s!==null,`no match defined for (${e}, ${r}) and no AnyMatch defined either`),s}when(e,r,n){return this._whens.get(e,()=>new Dt).add(r,n),this}};function Ni(t){switch(t){case k.Broken:case k.InternalsSynthetic:case k.NonExistent:return Nr;default:return t}}var Pr=class t{static synthetic(e){let r=O.synthetic(e);return new t({loc:r,chars:e})}static load(e,r){return new t({loc:O.load(e,r[1]),chars:r[0]})}chars;loc;constructor(e){this.loc=e.loc,this.chars=e.chars}getString(){return this.chars}serialize(){return[this.chars,this.loc.serialize()]}},O=class t{static get NON_EXISTENT(){return new te(k.NonExistent,st).wrap()}static load(e,r){if(typeof r=="number")return t.forCharPositions(e,r,r);if(typeof r=="string")return t.synthetic(r);if(Array.isArray(r))return t.forCharPositions(e,r[0],r[1]);if(r===k.NonExistent)return t.NON_EXISTENT;if(r===k.Broken)return t.broken(ue);vn(r)}static forHbsLoc(e,r){let n=new de(e,r.start),s=new de(e,r.end);return new ot(e,{start:n,end:s},r).wrap()}static forCharPositions(e,r,n){let s=new Ne(e,r),i=new Ne(e,n);return new at(e,{start:s,end:i}).wrap()}static synthetic(e){return new te(k.InternalsSynthetic,st,e).wrap()}static broken(e=ue){return new te(k.Broken,e).wrap()}isInvisible;constructor(e){this.data=e,this.isInvisible=e.kind!==k.CharPosition&&e.kind!==k.HbsPosition}getStart(){return this.data.getStart().wrap()}getEnd(){return this.data.getEnd().wrap()}get loc(){let e=this.data.toHbsSpan();return e===null?ue:e.toHbsLoc()}get module(){return this.data.getModule()}get startPosition(){return this.loc.start}get endPosition(){return this.loc.end}toJSON(){return this.loc}withStart(e){return Q(e.data,this.data.getEnd())}withEnd(e){return Q(this.data.getStart(),e.data)}asString(){return this.data.asString()}toSlice(e){let r=this.data.asString();return!1,new Pr({loc:this,chars:e||r})}get start(){return this.loc.start}set start(e){this.data.locDidUpdate({start:e})}get end(){return this.loc.end}set end(e){this.data.locDidUpdate({end:e})}get source(){return this.module}collapse(e){switch(e){case"start":return this.getStart().collapsed();case"end":return this.getEnd().collapsed()}}extend(e){return Q(this.data.getStart(),e.data.getEnd())}serialize(){return this.data.serialize()}slice({skipStart:e=0,skipEnd:r=0}){return Q(this.getStart().move(e).data,this.getEnd().move(-r).data)}sliceStartChars({skipStart:e=0,chars:r}){return Q(this.getStart().move(e).data,this.getStart().move(e+r).data)}sliceEndChars({skipEnd:e=0,chars:r}){return Q(this.getEnd().move(e-r).data,this.getStart().move(-e).data)}},at=class{kind=k.CharPosition;_locPosSpan=null;constructor(e,r){this.source=e,this.charPositions=r}wrap(){return new O(this)}asString(){return this.source.slice(this.charPositions.start.charPos,this.charPositions.end.charPos)}getModule(){return this.source.module}getStart(){return this.charPositions.start}getEnd(){return this.charPositions.end}locDidUpdate(){}toHbsSpan(){let e=this._locPosSpan;if(e===null){let r=this.charPositions.start.toHbsPos(),n=this.charPositions.end.toHbsPos();r===null||n===null?e=this._locPosSpan=fe:e=this._locPosSpan=new ot(this.source,{start:r,end:n})}return e===fe?null:e}serialize(){let{start:{charPos:e},end:{charPos:r}}=this.charPositions;return e===r?e:[e,r]}toCharPosSpan(){return this}},ot=class{kind=k.HbsPosition;_charPosSpan=null;_providedHbsLoc;constructor(e,r,n=null){this.source=e,this.hbsPositions=r,this._providedHbsLoc=n}serialize(){let e=this.toCharPosSpan();return e===null?k.Broken:e.wrap().serialize()}wrap(){return new O(this)}updateProvided(e,r){this._providedHbsLoc&&(this._providedHbsLoc[r]=e),this._charPosSpan=null,this._providedHbsLoc={start:e,end:e}}locDidUpdate({start:e,end:r}){e!==void 0&&(this.updateProvided(e,"start"),this.hbsPositions.start=new de(this.source,e,null)),r!==void 0&&(this.updateProvided(r,"end"),this.hbsPositions.end=new de(this.source,r,null))}asString(){let e=this.toCharPosSpan();return e===null?"":e.asString()}getModule(){return this.source.module}getStart(){return this.hbsPositions.start}getEnd(){return this.hbsPositions.end}toHbsLoc(){return{start:this.hbsPositions.start.hbsPos,end:this.hbsPositions.end.hbsPos}}toHbsSpan(){return this}toCharPosSpan(){let e=this._charPosSpan;if(e===null){let r=this.hbsPositions.start.toCharPos(),n=this.hbsPositions.end.toCharPos();if(r&&n)e=this._charPosSpan=new at(this.source,{start:r,end:n});else return e=this._charPosSpan=fe,null}return e===fe?null:e}},te=class{constructor(e,r,n=null){this.kind=e,this.loc=r,this.string=n}serialize(){switch(this.kind){case k.Broken:case k.NonExistent:return this.kind;case k.InternalsSynthetic:return this.string||""}}wrap(){return new O(this)}asString(){return this.string||""}locDidUpdate({start:e,end:r}){e!==void 0&&(this.loc.start=e),r!==void 0&&(this.loc.end=r)}getModule(){return"an unknown module"}getStart(){return new lt(this.kind,this.loc.start)}getEnd(){return new lt(this.kind,this.loc.end)}toCharPosSpan(){return this}toHbsSpan(){return null}toHbsLoc(){return ue}},Q=Hn(t=>t.when(k.HbsPosition,k.HbsPosition,(e,r)=>new ot(e.source,{start:e,end:r}).wrap()).when(k.CharPosition,k.CharPosition,(e,r)=>new at(e.source,{start:e,end:r}).wrap()).when(k.CharPosition,k.HbsPosition,(e,r)=>{let n=r.toCharPos();return n===null?new te(k.Broken,ue).wrap():Q(e,n)}).when(k.HbsPosition,k.CharPosition,(e,r)=>{let n=e.toCharPos();return n===null?new te(k.Broken,ue).wrap():Q(n,r)}).when(Nr,it,e=>new te(e.kind,ue).wrap()).when(it,Nr,(e,r)=>new te(r.kind,ue).wrap())),fe="BROKEN",Ue=class t{static forHbsPos(e,r){return new de(e,r,null).wrap()}static broken(e=pe){return new lt(k.Broken,e).wrap()}constructor(e){this.data=e}get offset(){let e=this.data.toCharPos();return e===null?null:e.offset}eql(e){return vi(this.data,e.data)}until(e){return Q(this.data,e.data)}move(e){let r=this.data.toCharPos();if(r===null)return t.broken();{let n=r.offset+e;return r.source.check(n)?new Ne(r.source,n).wrap():t.broken()}}collapsed(){return Q(this.data,this.data)}toJSON(){return this.data.toJSON()}},Ne=class{kind=k.CharPosition;_locPos=null;constructor(e,r){this.source=e,this.charPos=r}toCharPos(){return this}toJSON(){let e=this.toHbsPos();return e===null?pe:e.toJSON()}wrap(){return new Ue(this)}get offset(){return this.charPos}toHbsPos(){let e=this._locPos;if(e===null){let r=this.source.hbsPosFor(this.charPos);r===null?this._locPos=e=fe:this._locPos=e=new de(this.source,r,this.charPos)}return e===fe?null:e}},de=class{kind=k.HbsPosition;_charPos;constructor(e,r,n=null){this.source=e,this.hbsPos=r,this._charPos=n===null?null:new Ne(e,n)}toCharPos(){let e=this._charPos;if(e===null){let r=this.source.charPosFor(this.hbsPos);r===null?this._charPos=e=fe:this._charPos=e=new Ne(this.source,r)}return e===fe?null:e}toJSON(){return this.hbsPos}wrap(){return new Ue(this)}toHbsPos(){return this}},lt=class{constructor(e,r){this.kind=e,this.pos=r}toCharPos(){return null}toJSON(){return this.pos}wrap(){return new Ue(this)}get offset(){return null}},vi=Hn(t=>t.when(k.HbsPosition,k.HbsPosition,({hbsPos:e},{hbsPos:r})=>e.column===r.column&&e.line===r.line).when(k.CharPosition,k.CharPosition,({charPos:e},{charPos:r})=>e===r).when(k.CharPosition,k.HbsPosition,({offset:e},r)=>{var n;return e===((n=r.toCharPos())==null?void 0:n.offset)}).when(k.HbsPosition,k.CharPosition,(e,{offset:r})=>{var n;return((n=e.toCharPos())==null?void 0:n.offset)===r}).when(it,it,()=>!1)),Te=class t{static from(e,r={}){var n;return new t(e,(n=r.meta)==null?void 0:n.moduleName)}constructor(e,r="an unknown module"){this.source=e,this.module=r}check(e){return e>=0&&e<=this.source.length}slice(e,r){return this.source.slice(e,r)}offsetFor(e,r){return Ue.forHbsPos(this,{line:e,column:r})}spanFor({start:e,end:r}){return O.forHbsLoc(this,{start:{line:e.line,column:e.column},end:{line:r.line,column:r.column}})}hbsPosFor(e){let r=0,n=0;if(e>this.source.length)return null;for(;;){let s=this.source.indexOf(` +`,n);if(e<=s||s===-1)return{line:r+1,column:e-n};r+=1,n=s+1}}charPosFor(e){let{line:r,column:n}=e,i=this.source.length,a=0,o=0;for(;oc)return c;if(!1){let p=this.hbsPosFor(o+n);w(p!==null,"the returned offset failed to round-trip"),w(p.line===r,"the round-tripped line didn't match the original line"),w(p.column===n,"the round-tripped column didn't match the original column")}return o+n}else{if(c===-1)return 0;a+=1,o=c+1}}return i}};function S(t,e){let{module:r,loc:n}=e,{line:s,column:i}=n.start,a=e.asString(),o=a?` | | ${a.split(` @@ -22,9 +22,9 @@ Expecting `+ht.join(", ")+", got '"+(this.terminals_[D]||D)+"'":zt="Parse error | `)} | -`:"",c=new Error(`${t}: ${l}(error occurred in '${r}' @ line ${i} : column ${s})`);return c.name="SyntaxError",c.location=e,c.code=a,c}var gs={Program:T("body"),Template:T("body"),Block:T("body"),MustacheStatement:T("path","params","hash"),BlockStatement:T("path","params","hash","program","inverse"),ElementModifierStatement:T("path","params","hash"),PartialStatement:T("name","params","hash"),CommentStatement:T(),MustacheCommentStatement:T(),ElementNode:T("attributes","modifiers","children","comments"),AttrNode:T("value"),TextNode:T(),ConcatStatement:T("parts"),SubExpression:T("path","params","hash"),PathExpression:T(),PathHead:T(),StringLiteral:T(),BooleanLiteral:T(),NumberLiteral:T(),NullLiteral:T(),UndefinedLiteral:T(),Hash:T("pairs"),HashPair:T("value"),NamedBlock:T("attributes","modifiers","children","comments"),SimpleElement:T("attributes","modifiers","children","comments"),Component:T("head","attributes","modifiers","children","comments")},Pn=gs;var br=function(){t.prototype=Object.create(Error.prototype),t.prototype.constructor=t;function t(e,r,n,i){let s=Error.call(this,e);this.key=i,this.message=e,this.node=r,this.parent=n,this.stack=s.stack}return t}();function yr(t,e,r){return new br("Cannot remove a node unless it is part of an array",t,e,r)}function Nn(t,e,r){return new br("Cannot replace a node with multiple nodes unless it is part of an array",t,e,r)}function Sr(t,e){return new br("Replacing and removing in key handlers is not yet supported.",t,null,e)}var be=class{constructor(e,r=null,n=null){this.node=e,this.parent=r,this.parentKey=n}get parentNode(){return this.parent?this.parent.node:null}parents(){return{[Symbol.iterator]:()=>new Er(this)}}},Er=class{constructor(e){this.path=e}next(){return this.path.parent?(this.path=this.path.parent,{done:!1,value:this.path}):{done:!0,value:null}}};function An(t){return typeof t=="function"?t:t.enter}function _n(t){if(typeof t!="function")return t.exit}function bs(t,e){let r=typeof t!="function"?t.keys:void 0;if(r===void 0)return;let n=r[e];return n!==void 0?n:r.All}function ys(t,e){if((e==="Template"||e==="Block")&&t.Program)return t.Program;let r=t[e];return r!==void 0?r:t.All}function Lt(t,e){let{node:r,parent:n,parentKey:i}=e,s=ys(t,r.type),a,l;s!==void 0&&(a=An(s),l=_n(s));let c;if(a!==void 0&&(c=a(r,e)),c!=null)if(JSON.stringify(r)===JSON.stringify(c))c=void 0;else{if(Array.isArray(c))return Ln(t,c,n,i),c;{let h=new be(c,n,i);return Lt(t,h)||c}}if(c===void 0){let h=Pn[r.type];for(let g=0;g@\[-\^`\{-~]/;function Dn(t){let e=xs(t);e&&(t.blockParams=e)}function xs(t){let e=t.attributes.length,r=[];for(let i=0;i0&&r[r.length-1].charAt(0)==="|")throw S("Block parameters must be preceded by the `as` keyword, detected block parameters without `as`",t.loc);if(n!==-1&&e>n&&r[n+1].charAt(0)==="|"){let i=r.slice(n).join(" ");if(i.charAt(i.length-1)!=="|"||i.match(/\|/g).length!==2)throw S("Invalid block parameters syntax, '"+i+"'",t.loc);let s=[];for(let a=n+1;at.acceptNode(a)):[],i=n.length>0?n[n.length-1].loc:r.loc,s=e.hash?t.Hash(e.hash):{type:"Hash",pairs:[],loc:t.source.spanFor(i).collapse("end")};return{path:r,params:n,hash:s}}function Cr(t,e){let{path:r,params:n,hash:i,loc:s}=e;if(vr(r)){let l=`{{${On(r)}}}`,c=`<${t.name} ... ${l} ...`;throw S(`In ${c}, ${l} is not a valid modifier`,e.loc)}let a=x.elementModifier({path:r,params:n,hash:i,loc:s});t.modifiers.push(a)}var Ar=class extends Bt{constructor(){super(...arguments),this.tagOpenLine=0,this.tagOpenColumn=0}reset(){this.currentNode=null}beginComment(){this.currentNode=x.comment("",this.source.offsetFor(this.tagOpenLine,this.tagOpenColumn))}appendToCommentData(e){this.currentComment.value+=e}finishComment(){ye(this.currentElement(),this.finish(this.currentComment))}beginData(){this.currentNode=x.text({chars:"",loc:this.offset().collapsed()})}appendToData(e){this.currentData.chars+=e}finishData(){this.currentData.loc=this.currentData.loc.withEnd(this.offset()),ye(this.currentElement(),this.currentData)}tagOpen(){this.tagOpenLine=this.tokenizer.line,this.tagOpenColumn=this.tokenizer.column}beginStartTag(){this.currentNode={type:"StartTag",name:"",attributes:[],modifiers:[],comments:[],selfClosing:!1,loc:this.source.offsetFor(this.tagOpenLine,this.tagOpenColumn)}}beginEndTag(){this.currentNode={type:"EndTag",name:"",attributes:[],modifiers:[],comments:[],selfClosing:!1,loc:this.source.offsetFor(this.tagOpenLine,this.tagOpenColumn)}}finishTag(){let e=this.finish(this.currentTag);if(e.type==="StartTag"){if(this.finishStartTag(),e.name===":")throw S("Invalid named block named detected, you may have created a named block without a name, or you may have began your name with a number. Named blocks must have names that are at least one character long, and begin with a lower case letter",this.source.spanFor({start:this.currentTag.loc.toJSON(),end:this.offset().toJSON()}));(Pt[e.name]||e.selfClosing)&&this.finishEndTag(!0)}else e.type==="EndTag"&&this.finishEndTag(!1)}finishStartTag(){let{name:e,attributes:r,modifiers:n,comments:i,selfClosing:s,loc:a}=this.finish(this.currentStartTag),l=x.element({tag:e,selfClosing:s,attrs:r,modifiers:n,comments:i,children:[],blockParams:[],loc:a});this.elementStack.push(l)}finishEndTag(e){let r=this.finish(this.currentTag),n=this.elementStack.pop(),i=this.currentElement();this.validateEndTag(r,n,e),n.loc=n.loc.withEnd(this.offset()),Dn(n),ye(i,n)}markTagAsSelfClosing(){this.currentTag.selfClosing=!0}appendToTagName(e){this.currentTag.name+=e}beginAttribute(){let e=this.offset();this.currentAttribute={name:"",parts:[],currentPart:null,isQuoted:!1,isDynamic:!1,start:e,valueSpan:e.collapsed()}}appendToAttributeName(e){this.currentAttr.name+=e}beginAttributeValue(e){this.currentAttr.isQuoted=e,this.startTextPart(),this.currentAttr.valueSpan=this.offset().collapsed()}appendToAttributeValue(e){let r=this.currentAttr.parts,n=r[r.length-1],i=this.currentAttr.currentPart;if(i)i.chars+=e,i.loc=i.loc.withEnd(this.offset());else{let s=this.offset();e===` -`?s=n?n.loc.getEnd():this.currentAttr.valueSpan.getStart():s=s.move(-1),this.currentAttr.currentPart=x.text({chars:e,loc:s.collapsed()})}}finishAttributeValue(){this.finalizeTextPart();let e=this.currentTag,r=this.offset();if(e.type==="EndTag")throw S("Invalid end tag: closing tag must not have attributes",this.source.spanFor({start:e.loc.toJSON(),end:r.toJSON()}));let{name:n,parts:i,start:s,isQuoted:a,isDynamic:l,valueSpan:c}=this.currentAttr,h=this.assembleAttributeValue(i,a,l,s.until(r));h.loc=c.withEnd(r);let g=x.attr({name:n,value:h,loc:s.until(r)});this.currentStartTag.attributes.push(g)}reportSyntaxError(e){throw S(e,this.offset().collapsed())}assembleConcatenatedValue(e){for(let i=0;i elements do not need end tags. You should remove it`:r.tag===void 0?i=`Closing tag without an open tag`:r.tag!==e.name&&(i=`Closing tag did not match last open tag <${r.tag}> (on line ${r.loc.startPosition.line})`),i)throw S(i,e.loc)}assembleAttributeValue(e,r,n,i){if(n){if(r)return this.assembleConcatenatedValue(e);if(e.length===1||e.length===2&&e[1].type==="TextNode"&&e[1].chars==="/")return e[0];throw S("An unquoted attribute value must be a string or a mustache, preceded by whitespace or a '=' character, and followed by whitespace, a '>' character, or '/>'",i)}else return e.length>0?e[0]:x.text({chars:"",loc:i})}},js={},_r=class extends kt{constructor(){super({})}parse(){}};function Un(t,e={}){var r,n,i;let s=e.mode||"precompile",a,l;typeof t=="string"?(a=new ie(t,(r=e.meta)===null||r===void 0?void 0:r.moduleName),s==="codemod"?l=xt(t,e.parseOptions):l=fr(t,e.parseOptions)):t instanceof ie?(a=t,s==="codemod"?l=xt(t.source,e.parseOptions):l=fr(t.source,e.parseOptions)):(a=new ie("",(n=e.meta)===null||n===void 0?void 0:n.moduleName),l=t);let c;s==="codemod"&&(c=new _r);let h=P.forCharPositions(a,0,a.source.length);l.loc={source:"(program)",start:h.startPosition,end:h.endPosition};let g=new Ar(a,c,s).acceptTemplate(l);if(e.strictMode&&(g.blockParams=(i=e.locals)!==null&&i!==void 0?i:[]),e&&e.plugins&&e.plugins.ast)for(let y=0,F=e.plugins.ast.length;ythis.length)return null;for(var r=0,n=this.offsets;n[r+1]<=e;)r++;var i=e-n[r];return{line:r,column:i}},t.prototype.indexForLocation=function(e){var r=e.line,n=e.column;return r<0||r>=this.offsets.length||n<0||n>this.lengthOfLine(r)?null:this.offsets[r]+n},t.prototype.lengthOfLine=function(e){var r=this.offsets[e],n=e===this.offsets.length-1?this.length:this.offsets[e+1];return n-r},t}();function Qs(t,e){let r=new SyntaxError(t+" ("+e.loc.start.line+":"+e.loc.start.column+")");return Object.assign(r,e)}var Gn=Qs;function Js(t){let e=t.children??t.body;if(e)for(let r=0;re.indexForLocation({line:i-1,column:s}),n=i=>{let{start:s,end:a}=i.loc;s.offset=r(s),a.offset=r(a)};return()=>({name:"prettierParsePlugin",visitor:{All(i){n(i),Js(i)}}})}function $s(t){let e;try{e=Un(t,{mode:"codemod",plugins:{ast:[Xs(t)]}})}catch(r){let n=ea(r);if(n){let i=Zs(r);throw Gn(i,{loc:n,cause:r})}throw r}return e}function Zs(t){let{message:e}=t,r=e.split(` -`);return r.length>=4&&/^Parse error on line \d+:$/.test(r[0])&&/^-*\^$/.test(he(!1,r,-2))?he(!1,r,-1):r.length>=4&&/:\s?$/.test(r[0])&&/^\(error occurred in '.*?' @ line \d+ : column \d+\)$/.test(he(!1,r,-1))&&r[1]===""&&he(!1,r,-2)===""&&r.slice(2,-2).every(n=>n.startsWith("|"))?r[0].trim().slice(0,-1):e}function ea(t){let{location:e,hash:r}=t;if(e){let{start:n,end:i}=e;return typeof i.line!="number"?{start:n}:e}if(r){let{loc:{last_line:n,last_column:i}}=r;return{start:{line:n,column:i+1}}}}var ta={parse:$s,astFormat:"glimmer",locStart:xe,locEnd:tt};var Yn=[{linguistLanguageId:155,name:"Handlebars",type:"markup",color:"#f7931e",aliases:["hbs","htmlbars"],extensions:[".handlebars",".hbs"],tmScope:"text.html.handlebars",aceMode:"handlebars",parsers:["glimmer"],vscodeLanguageIds:["handlebars"]}];var ra={glimmer:fn};return ei(na);}); \ No newline at end of file +`:"",c=new Error(`${t}: ${o}(error occurred in '${r}' @ line ${s} : column ${i})`);return c.name="SyntaxError",c.location=e,c.code=a,c}var Ai={Template:["body"],Block:["body"],MustacheStatement:["path","params","hash"],BlockStatement:["path","params","hash","program","inverse"],ElementModifierStatement:["path","params","hash"],CommentStatement:[],MustacheCommentStatement:[],ElementNode:["attributes","modifiers","children","comments"],AttrNode:["value"],TextNode:[],ConcatStatement:["parts"],SubExpression:["path","params","hash"],PathExpression:[],StringLiteral:[],BooleanLiteral:[],NumberLiteral:[],NullLiteral:[],UndefinedLiteral:[],Hash:["pairs"],HashPair:["value"]},Br=function(){t.prototype=Object.create(Error.prototype),t.prototype.constructor=t;function t(e,r,n,s){let i=Error.call(this,e);this.key=s,this.message=e,this.node=r,this.parent=n,i.stack&&(this.stack=i.stack)}return t}();function Bn(t,e,r){return new Br("Cannot remove a node unless it is part of an array",t,e,r)}function Pi(t,e,r){return new Br("Cannot replace a node with multiple nodes unless it is part of an array",t,e,r)}function In(t,e){return new Br("Replacing and removing in key handlers is not yet supported.",t,null,e)}var Fe=class{node;parent;parentKey;constructor(e,r=null,n=null){this.node=e,this.parent=r,this.parentKey=n}get parentNode(){return this.parent?this.parent.node:null}parents(){return{[Symbol.iterator]:()=>new xr(this)}}},xr=class{path;constructor(e){this.path=e}next(){return this.path.parent?(this.path=this.path.parent,{done:!1,value:this.path}):{done:!0,value:null}}};function Vn(t){return typeof t=="function"?t:t.enter}function Un(t){if(typeof t!="function")return t.exit}function xi(t,e){let r=typeof t!="function"?t.keys:void 0;if(r===void 0)return;let n=r[e];return n!==void 0?n:r.All}function Ci(t,e){if(t.Program&&(e==="Template"&&!t.Template||e==="Block"&&!t.Block))return F(`The 'Program' visitor node is deprecated. Use 'Template' or 'Block' instead (node was '${e}') `),t.Program;let r=t[e];return r!==void 0?r:t.All}function Ot(t,e){let{node:r,parent:n,parentKey:s}=e,i=Ci(t,r.type),a,o;i!==void 0&&(a=Vn(i),o=Un(i));let c;if(a!==void 0&&(c=a(r,e)),c!=null)if(JSON.stringify(r)===JSON.stringify(c))c=void 0;else{if(Array.isArray(c))return Fn(t,c,n,s),c;{let p=new Fe(c,n,s);return Ot(t,p)||c}}if(c===void 0){let p=Ai[r.type];for(let h=0;htypeof T=="string"?zn(T):T),g=null;return c?g=A(c||null):c===void 0&&(g=d||ki(h.original)?null:A(null)),f.element({path:h,selfClosing:d||!1,attributes:r||[],params:N||[],modifiers:s||[],comments:i||[],children:a||[],openTag:A(o||null),closeTag:g,loc:A(p||null)})}function Gi(t,e,r){return f.attr({name:t,value:e,loc:A(r||null)})}function Yi(t="",e){return f.text({chars:t,loc:A(e||null)})}function Ki(t,e=[],r=ct([]),n){return f.sexpr({path:he(t),params:e,hash:r,loc:A(n||null)})}function Wi(t,e){let[r,...n]=qe(t.split(".")),s=f.head({original:r,loc:A(e||null)});return f.path({head:s,tail:n,loc:A(e||null)})}function $i(t){return f.this({loc:A(t||null)})}function ji(t,e){return f.atName({name:t,loc:A(e||null)})}function zn(t,e){return f.var({name:t,loc:A(e||null)})}function Qi(t,e){return f.head({original:t,loc:A(e||null)})}function Xi(t,e=[],r){return f.path({head:t,tail:e,loc:A(r||null)})}function he(t,e){let r=A(e||null);if(typeof t!="string"){if("type"in t)return t;{w(t.head.indexOf(".")===-1,"builder.path({ head, tail }) should not be called with a head with dots in it");let{head:i,tail:a}=t;return f.path({head:f.head({original:i,loc:r.sliceStartChars({chars:i.length})}),tail:a,loc:A(e||null)})}}let{head:n,tail:s}=Wi(t,r);return f.path({head:n,tail:s,loc:r})}function _t(t,e,r){return f.literal({type:t,value:e,loc:A(r||null)})}function ct(t=[],e){return f.hash({pairs:t,loc:A(e||null)})}function Ji(t,e,r){return f.pair({key:t,value:e,loc:A(r||null)})}function Zi(t,e,r){return F("b.program is deprecated. Use b.template or b.blockItself instead."),e&&e.length?Yn(t,e,!1,r):Kn(t,[],r)}function Gn(t){return t.map(e=>typeof e=="string"?f.var({name:e,loc:O.synthetic(e)}):e)}function Yn(t=[],e=[],r=!1,n){return f.blockItself({body:t,params:Gn(e),chained:r,loc:A(n||null)})}function Kn(t=[],e=[],r){return f.template({body:t,blockParams:e,loc:A(r||null)})}function ea(t,e){return f.pos({line:t,column:e})}function A(...t){if(t.length===1){let e=t[0];return e&&typeof e=="object"?O.forHbsLoc(Er(),e):O.forHbsLoc(Er(),Ti)}else{let[e,r,n,s,i]=t,a=i?new Te("",i):Er();return O.forHbsLoc(a,{start:{line:e,column:r},end:{line:n||e,column:s||r}})}}var ta={mustache:qi,block:Hi,comment:Ui,mustacheComment:Fi,element:zi,elementModifier:Vi,attr:Gi,text:Yi,sexpr:Ki,concat:Mi,hash:ct,pair:Ji,literal:_t,program:Zi,blockItself:Yn,template:Kn,loc:A,pos:ea,path:he,fullPath:Xi,head:Qi,at:ji,var:zn,this:$i,string:Sr("StringLiteral"),boolean:Sr("BooleanLiteral"),number:Sr("NumberLiteral"),undefined(){return _t("UndefinedLiteral",void 0)},null(){return _t("NullLiteral",null)}};function Sr(t){return function(e,r){return _t(t,e,r)}}function ra({path:t,params:e,hash:r,trusting:n,strip:s,loc:i}){let a={type:"MustacheStatement",path:t,params:e,hash:r,trusting:n,strip:s,loc:i};return Object.defineProperty(a,"escaped",{enumerable:!1,get(){return F("The escaped property on mustache nodes is deprecated, use trusting instead"),!this.trusting},set(o){F("The escaped property on mustache nodes is deprecated, use trusting instead"),this.trusting=!o}}),a}function na({head:t,tail:e,loc:r}){let n={type:"PathExpression",head:t,tail:e,get original(){return[this.head.original,...this.tail].join(".")},set original(s){let[i,...a]=qe(s.split("."));this.head=ta.head(i,this.head.loc),this.tail=a},loc:r};return Object.defineProperty(n,"parts",{enumerable:!1,get(){F("The parts property on path nodes is deprecated, use head and tail instead");let s=qe(this.original.split("."));return s[0]==="this"?s.shift():s[0].startsWith("@")&&(s[0]=s[0].slice(1)),Object.freeze(s)},set(s){var a;F("The parts property on mustache nodes is deprecated, use head and tail instead");let i=[...s];i[0]!=="this"&&!((a=i[0])!=null&&a.startsWith("@"))&&(this.head.type==="ThisHead"?i.unshift("this"):this.head.type==="AtHead"&&(i[0]=`@${i[0]}`)),this.original=i.join(".")}}),Object.defineProperty(n,"this",{enumerable:!1,get(){return F("The this property on path nodes is deprecated, use head.type instead"),this.head.type==="ThisHead"}}),Object.defineProperty(n,"data",{enumerable:!1,get(){return F("The data property on path nodes is deprecated, use head.type instead"),this.head.type==="AtHead"}}),n}function sa({type:t,value:e,loc:r}){let n={type:t,value:e,loc:r};return Object.defineProperty(n,"original",{enumerable:!1,get(){return F("The original property on literal nodes is deprecated, use value instead"),this.value},set(s){F("The original property on literal nodes is deprecated, use value instead"),this.value=s}}),n}var Lt={close:!1,open:!1},Cr=class{pos({line:e,column:r}){return{line:e,column:r}}blockItself({body:e,params:r,chained:n=!1,loc:s}){return{type:"Block",body:e,params:r,get blockParams(){return this.params.map(i=>i.name)},set blockParams(i){this.params=i.map(a=>f.var({name:a,loc:O.synthetic(a)}))},chained:n,loc:s}}template({body:e,blockParams:r,loc:n}){return{type:"Template",body:e,blockParams:r,loc:n}}mustache({path:e,params:r,hash:n,trusting:s,loc:i,strip:a=Lt}){return ra({path:e,params:r,hash:n,trusting:s,strip:a,loc:i})}block({path:e,params:r,hash:n,defaultBlock:s,elseBlock:i=null,loc:a,openStrip:o=Lt,inverseStrip:c=Lt,closeStrip:p=Lt}){return{type:"BlockStatement",path:e,params:r,hash:n,program:s,inverse:i,loc:a,openStrip:o,inverseStrip:c,closeStrip:p}}comment({value:e,loc:r}){return{type:"CommentStatement",value:e,loc:r}}mustacheComment({value:e,loc:r}){return{type:"MustacheCommentStatement",value:e,loc:r}}concat({parts:e,loc:r}){return{type:"ConcatStatement",parts:e,loc:r}}element({path:e,selfClosing:r,attributes:n,modifiers:s,params:i,comments:a,children:o,openTag:c,closeTag:p,loc:h}){let d=r;return{type:"ElementNode",path:e,attributes:n,modifiers:s,params:i,comments:a,children:o,openTag:c,closeTag:p,loc:h,get tag(){return this.path.original},set tag(N){this.path.original=N},get blockParams(){return this.params.map(N=>N.name)},set blockParams(N){this.params=N.map(g=>f.var({name:g,loc:O.synthetic(g)}))},get selfClosing(){return d},set selfClosing(N){d=N,N?this.closeTag=null:this.closeTag=O.synthetic(``)}}}elementModifier({path:e,params:r,hash:n,loc:s}){return{type:"ElementModifierStatement",path:e,params:r,hash:n,loc:s}}attr({name:e,value:r,loc:n}){return{type:"AttrNode",name:e,value:r,loc:n}}text({chars:e,loc:r}){return{type:"TextNode",chars:e,loc:r}}sexpr({path:e,params:r,hash:n,loc:s}){return{type:"SubExpression",path:e,params:r,hash:n,loc:s}}path({head:e,tail:r,loc:n}){return na({head:e,tail:r,loc:n})}head({original:e,loc:r}){return e==="this"?this.this({loc:r}):e[0]==="@"?this.atName({name:e,loc:r}):this.var({name:e,loc:r})}this({loc:e}){return{type:"ThisHead",get original(){return"this"},loc:e}}atName({name:e,loc:r}){let n="",s={type:"AtHead",get name(){return n},set name(i){w(i[0]==="@","call builders.at() with a string that starts with '@'"),w(i.indexOf(".")===-1,"builder.at() should not be called with a name with dots in it"),n=i},get original(){return this.name},set original(i){this.name=i},loc:r};return s.name=e,s}var({name:e,loc:r}){let n="",s={type:"VarHead",get name(){return n},set name(i){w(i!=="this","You called builders.var() with 'this'. Call builders.this instead"),w(i[0]!=="@",`You called builders.var() with '${e}'. Call builders.at('${e}') instead`),w(i.indexOf(".")===-1,"builder.var() should not be called with a name with dots in it"),n=i},get original(){return this.name},set original(i){this.name=i},loc:r};return s.name=e,s}hash({pairs:e,loc:r}){return{type:"Hash",pairs:e,loc:r}}pair({key:e,value:r,loc:n}){return{type:"HashPair",key:e,value:r,loc:n}}literal({type:e,value:r,loc:n}){return sa({type:e,value:r,loc:n})}},f=new Cr,Lr=class{elementStack=[];lines;source;currentAttribute=null;currentNode=null;tokenizer;constructor(e,r=new mr(Dn),n="precompile"){this.source=e,this.lines=e.source.split(/\r\n?|\n/u),this.tokenizer=new gr(this,r,n)}offset(){let{line:e,column:r}=this.tokenizer;return this.source.offsetFor(e,r)}pos({line:e,column:r}){return this.source.offsetFor(e,r)}finish(e){return or({},e,{loc:e.start.until(this.offset())})}get currentAttr(){return Tn(this.currentAttribute,"expected attribute")}get currentTag(){let e=this.currentNode;return w(e&&(e.type==="StartTag"||e.type==="EndTag"),"expected tag"),e}get currentStartTag(){let e=this.currentNode;return w(e&&e.type==="StartTag","expected start tag"),e}get currentEndTag(){let e=this.currentNode;return w(e&&e.type==="EndTag","expected end tag"),e}get currentComment(){let e=this.currentNode;return w(e&&e.type==="CommentStatement","expected a comment"),e}get currentData(){let e=this.currentNode;return w(e&&e.type==="TextNode","expected a text node"),e}acceptNode(e){return this[e.type](e)}currentElement(){return Nt(qe(this.elementStack))}sourceForNode(e,r){let n=e.loc.start.line-1,s=n-1,i=e.loc.start.column,a=[],o,c,p;for(r?(c=r.loc.end.line-1,p=r.loc.end.column):(c=e.loc.end.line-1,p=e.loc.end.column);s=x?v=-1:v=g.indexOf(C,T),v===-1||v+C.length>x?(T=x,M=this.source.spanFor(st)):(T=v,M=N.sliceStartChars({skipStart:T,chars:C.length}),T+=C.length),a.push(f.var({name:C,loc:M}))}}e.program.loc||(e.program.loc=st),e.inverse&&!e.inverse.loc&&(e.inverse.loc=st);let o=this.Program(e.program,a),c=e.inverse?this.Program(e.inverse,[]):null,p=f.block({path:r,params:n,hash:s,defaultBlock:o,elseBlock:c,loc:this.source.spanFor(e.loc),openStrip:e.openStrip,inverseStrip:e.inverseStrip,closeStrip:e.closeStrip}),h=this.currentElement();Ve(h,p)}MustacheStatement(e){var o;(o=this.pendingError)==null||o.mustache(this.source.spanFor(e.loc));let{tokenizer:r}=this;if(r.state==="comment"){this.appendToCommentData(this.sourceForNode(e));return}let n,{escaped:s,loc:i,strip:a}=e;if("original"in e.path&&e.path.original==="...attributes")throw S("Illegal use of ...attributes",this.source.spanFor(e.loc));if(Mn(e.path))n=f.mustache({path:this.acceptNode(e.path),params:[],hash:f.hash({pairs:[],loc:this.source.spanFor(e.path.loc).collapse("end")}),trusting:!s,loc:this.source.spanFor(i),strip:a});else{let{path:c,params:p,hash:h}=wr(this,e);n=f.mustache({path:c,params:p,hash:h,trusting:!s,loc:this.source.spanFor(i),strip:a})}switch(r.state){case"tagOpen":case"tagName":throw S("Cannot use mustaches in an elements tagname",n.loc);case"beforeAttributeName":kr(this.currentStartTag,n);break;case"attributeName":case"afterAttributeName":this.beginAttributeValue(!1),this.finishAttributeValue(),kr(this.currentStartTag,n),r.transitionTo(qn);break;case"afterAttributeValueQuoted":kr(this.currentStartTag,n),r.transitionTo(qn);break;case"beforeAttributeValue":this.beginAttributeValue(!1),this.appendDynamicAttributeValuePart(n),r.transitionTo(ia);break;case"attributeValueDoubleQuoted":case"attributeValueSingleQuoted":case"attributeValueUnquoted":this.appendDynamicAttributeValuePart(n);break;default:Ve(this.currentElement(),n)}return n}appendDynamicAttributeValuePart(e){this.finalizeTextPart();let r=this.currentAttr;r.isDynamic=!0,r.parts.push(e)}finalizeTextPart(){let r=this.currentAttr.currentPart;r!==null&&(this.currentAttr.parts.push(r),this.startTextPart())}startTextPart(){this.currentAttr.currentPart=null}ContentStatement(e){oa(this.tokenizer,e),this.tokenizer.tokenizePart(e.value),this.tokenizer.flushData()}CommentStatement(e){let{tokenizer:r}=this;if(r.state==="comment")return this.appendToCommentData(this.sourceForNode(e)),null;let{value:n,loc:s}=e,i=f.mustacheComment({value:n,loc:this.source.spanFor(s)});switch(r.state){case"beforeAttributeName":case"afterAttributeName":this.currentStartTag.comments.push(i);break;case"beforeData":case"data":Ve(this.currentElement(),i);break;default:throw S(`Using a Handlebars comment when in the \`${r.state}\` state is not supported`,this.source.spanFor(e.loc))}return i}PartialStatement(e){throw S("Handlebars partials are not supported",this.source.spanFor(e.loc))}PartialBlockStatement(e){throw S("Handlebars partial blocks are not supported",this.source.spanFor(e.loc))}Decorator(e){throw S("Handlebars decorators are not supported",this.source.spanFor(e.loc))}DecoratorBlock(e){throw S("Handlebars decorator blocks are not supported",this.source.spanFor(e.loc))}SubExpression(e){let{path:r,params:n,hash:s}=wr(this,e);return f.sexpr({path:r,params:n,hash:s,loc:this.source.spanFor(e.loc)})}PathExpression(e){let{original:r}=e,n;if(r.indexOf("/")!==-1){if(r.slice(0,2)==="./")throw S('Using "./" is not supported in Glimmer and unnecessary',this.source.spanFor(e.loc));if(r.slice(0,3)==="../")throw S('Changing context using "../" is not supported in Glimmer',this.source.spanFor(e.loc));if(r.indexOf(".")!==-1)throw S("Mixing '.' and '/' in paths is not supported in Glimmer; use only '.' to separate property paths",this.source.spanFor(e.loc));n=[e.parts.join("/")]}else{if(r===".")throw S("'.' is not a supported path in Glimmer; check for a path with a trailing '.'",this.source.spanFor(e.loc));n=e.parts}let s=!1;/^this(?:\..+)?$/u.test(r)&&(s=!0);let i;if(s)i=f.this({loc:this.source.spanFor({start:e.loc.start,end:{line:e.loc.start.line,column:e.loc.start.column+4}})});else if(e.data){let a=n.shift();if(a===void 0)throw S("Attempted to parse a path expression, but it was not valid. Paths beginning with @ must start with a-z.",this.source.spanFor(e.loc));i=f.atName({name:`@${a}`,loc:this.source.spanFor({start:e.loc.start,end:{line:e.loc.start.line,column:e.loc.start.column+a.length+1}})})}else{let a=n.shift();if(a===void 0)throw S("Attempted to parse a path expression, but it was not valid. Paths must start with a-z or A-Z.",this.source.spanFor(e.loc));i=f.var({name:a,loc:this.source.spanFor({start:e.loc.start,end:{line:e.loc.start.line,column:e.loc.start.column+a.length}})})}return f.path({head:i,tail:n,loc:this.source.spanFor(e.loc)})}Hash(e){let r=e.pairs.map(n=>f.pair({key:n.key,value:this.acceptNode(n.value),loc:this.source.spanFor(n.loc)}));return f.hash({pairs:r,loc:this.source.spanFor(e.loc)})}StringLiteral(e){return f.literal({type:"StringLiteral",value:e.value,loc:this.source.spanFor(e.loc)})}BooleanLiteral(e){return f.literal({type:"BooleanLiteral",value:e.value,loc:this.source.spanFor(e.loc)})}NumberLiteral(e){return f.literal({type:"NumberLiteral",value:e.value,loc:this.source.spanFor(e.loc)})}UndefinedLiteral(e){return f.literal({type:"UndefinedLiteral",value:void 0,loc:this.source.spanFor(e.loc)})}NullLiteral(e){return f.literal({type:"NullLiteral",value:null,loc:this.source.spanFor(e.loc)})}};function aa(t,e){if(e==="")return{lines:t.split(` +`).length-1,columns:0};let[r]=t.split(e),n=r.split(/\n/u),s=n.length-1;return{lines:s,columns:kt(n[s]).length}}function oa(t,e){let r=e.loc.start.line,n=e.loc.start.column,s=aa(e.original,e.value);r=r+s.lines,s.lines?n=s.columns:n=n+s.columns,t.line=r,t.column=n}function wr(t,e){let r;switch(e.path.type){case"PathExpression":r=t.PathExpression(e.path);break;case"SubExpression":r=t.SubExpression(e.path);break;case"StringLiteral":case"UndefinedLiteral":case"NullLiteral":case"NumberLiteral":case"BooleanLiteral":{let a;throw e.path.type==="BooleanLiteral"?a=e.path.original.toString():e.path.type==="StringLiteral"?a=`"${e.path.original}"`:e.path.type==="NullLiteral"?a="null":e.path.type==="NumberLiteral"?a=e.path.value.toString():a="undefined",S(`${e.path.type} "${e.path.type==="StringLiteral"?e.path.original:a}" cannot be called as a sub-expression, replace (${a}) with ${a}`,t.source.spanFor(e.path.loc))}}let n=e.params?e.params.map(a=>t.acceptNode(a)):[],s=we(n)?Nt(n).loc:r.loc,i=e.hash?t.Hash(e.hash):f.hash({pairs:[],loc:t.source.spanFor(s).collapse("end")});return{path:r,params:n,hash:i}}function kr(t,e){let{path:r,params:n,hash:s,loc:i}=e;if(Mn(r)){let o=`{{${Ri(r)}}}`,c=`<${t.name} ... ${o} ...`;throw S(`In ${c}, ${o} is not a valid modifier`,e.loc)}let a=f.elementModifier({path:r,params:n,hash:s,loc:i});t.modifiers.push(a)}function He(t){return/[\t\n\f ]/u.test(t)}var Dr=class extends _r{tagOpenLine=0;tagOpenColumn=0;reset(){this.currentNode=null}beginComment(){this.currentNode={type:"CommentStatement",value:"",start:this.source.offsetFor(this.tagOpenLine,this.tagOpenColumn)}}appendToCommentData(e){this.currentComment.value+=e}finishComment(){Ve(this.currentElement(),f.comment(this.finish(this.currentComment)))}beginData(){this.currentNode={type:"TextNode",chars:"",start:this.offset()}}appendToData(e){this.currentData.chars+=e}finishData(){Ve(this.currentElement(),f.text(this.finish(this.currentData)))}tagOpen(){this.tagOpenLine=this.tokenizer.line,this.tagOpenColumn=this.tokenizer.column}beginStartTag(){this.currentNode={type:"StartTag",name:"",nameStart:null,nameEnd:null,attributes:[],modifiers:[],comments:[],params:[],selfClosing:!1,start:this.source.offsetFor(this.tagOpenLine,this.tagOpenColumn)}}beginEndTag(){this.currentNode={type:"EndTag",name:"",start:this.source.offsetFor(this.tagOpenLine,this.tagOpenColumn)}}finishTag(){let e=this.finish(this.currentTag);if(e.type==="StartTag"){if(this.finishStartTag(),e.name===":")throw S("Invalid named block named detected, you may have created a named block without a name, or you may have began your name with a number. Named blocks must have names that are at least one character long, and begin with a lower case letter",this.source.spanFor({start:this.currentTag.start.toJSON(),end:this.offset().toJSON()}));(Tr.has(e.name)||e.selfClosing)&&this.finishEndTag(!0)}else e.type==="EndTag"&&this.finishEndTag(!1)}finishStartTag(){let{name:e,nameStart:r,nameEnd:n}=this.currentStartTag;w(e!=="","tag name cannot be empty"),w(r!==null,"nameStart unexpectedly null"),w(n!==null,"nameEnd unexpectedly null");let s=r.until(n),[i,...a]=qe(e.split(".")),o=f.path({head:f.head({original:i,loc:s.sliceStartChars({chars:i.length})}),tail:a,loc:s}),{attributes:c,modifiers:p,comments:h,params:d,selfClosing:N,loc:g}=this.finish(this.currentStartTag),T=f.element({path:o,selfClosing:N,attributes:c,modifiers:p,comments:h,params:d,children:[],openTag:g,closeTag:N?null:O.broken(),loc:g});this.elementStack.push(T)}finishEndTag(e){let{start:r}=this.currentTag,n=this.finish(this.currentTag),s=this.elementStack.pop();this.validateEndTag(n,s,e);let i=this.currentElement();e?s.closeTag=null:s.selfClosing?w(s.closeTag===null,"element.closeTag unexpectedly present"):s.closeTag=r.until(this.offset()),s.loc=s.loc.withEnd(this.offset()),Ve(i,f.element(s))}markTagAsSelfClosing(){let e=this.currentTag;if(e.type==="StartTag")e.selfClosing=!0;else throw S("Invalid end tag: closing tag must not be self-closing",this.source.spanFor({start:e.start.toJSON(),end:this.offset().toJSON()}))}appendToTagName(e){let r=this.currentTag;if(r.name+=e,r.type==="StartTag"){let n=this.offset();r.nameStart===null&&(w(r.nameEnd===null,"nameStart and nameEnd must both be null"),r.nameStart=n.move(-1)),r.nameEnd=n}}beginAttribute(){let e=this.offset();this.currentAttribute={name:"",parts:[],currentPart:null,isQuoted:!1,isDynamic:!1,start:e,valueSpan:e.collapsed()}}appendToAttributeName(e){this.currentAttr.name+=e,this.currentAttr.name==="as"&&this.parsePossibleBlockParams()}beginAttributeValue(e){this.currentAttr.isQuoted=e,this.startTextPart(),this.currentAttr.valueSpan=this.offset().collapsed()}appendToAttributeValue(e){let r=this.currentAttr.parts,n=r[r.length-1],s=this.currentAttr.currentPart;if(s)s.chars+=e,s.loc=s.loc.withEnd(this.offset());else{let i=this.offset();e===` +`?i=n?n.loc.getEnd():this.currentAttr.valueSpan.getStart():i=i.move(-1),this.currentAttr.currentPart=f.text({chars:e,loc:i.collapsed()})}}finishAttributeValue(){this.finalizeTextPart();let e=this.currentTag,r=this.offset();if(e.type==="EndTag")throw S("Invalid end tag: closing tag must not have attributes",this.source.spanFor({start:e.start.toJSON(),end:r.toJSON()}));let{name:n,parts:s,start:i,isQuoted:a,isDynamic:o,valueSpan:c}=this.currentAttr;if(n.startsWith("|")&&s.length===0&&!a&&!o)throw S("Invalid block parameters syntax: block parameters must be preceded by the `as` keyword",i.until(i.move(n.length)));let p=this.assembleAttributeValue(s,a,o,i.until(r));p.loc=c.withEnd(r);let h=f.attr({name:n,value:p,loc:i.until(r)});this.currentStartTag.attributes.push(h)}parsePossibleBlockParams(){let e="beforeAttributeName",r="attributeName",n="afterAttributeName",s=/[!"#%&'()*+./;<=>@[\\\]^`{|}~]/u;w(this.tokenizer.state===r,"must be in TokenizerState.attributeName");let i=this.currentStartTag,a=this.currentAttr,o={state:"PossibleAs"},c={PossibleAs:h=>{if(w(o.state==="PossibleAs","bug in block params parser"),He(h))o={state:"BeforeStartPipe"},this.tokenizer.transitionTo(n),this.tokenizer.consume();else{if(h==="|")throw S('Invalid block parameters syntax: expecting at least one space character between "as" and "|"',a.start.until(this.offset().move(1)));o={state:"Done"}}},BeforeStartPipe:h=>{w(o.state==="BeforeStartPipe","bug in block params parser"),He(h)?this.tokenizer.consume():h==="|"?(o={state:"BeforeBlockParamName"},this.tokenizer.transitionTo(e),this.tokenizer.consume()):o={state:"Done"}},BeforeBlockParamName:h=>{if(w(o.state==="BeforeBlockParamName","bug in block params parser"),He(h))this.tokenizer.consume();else if(h==="")o={state:"Done"},this.pendingError={mustache(d){throw S("Invalid block parameters syntax: mustaches cannot be used inside parameters list",d)},eof(d){throw S('Invalid block parameters syntax: expecting the tag to be closed with ">" or "/>" after parameters list',a.start.until(d))}};else if(h==="|"){if(i.params.length===0)throw S("Invalid block parameters syntax: empty parameters list, expecting at least one identifier",a.start.until(this.offset().move(1)));o={state:"AfterEndPipe"},this.tokenizer.consume()}else{if(h===">"||h==="/")throw S('Invalid block parameters syntax: incomplete parameters list, expecting "|" but the tag was closed prematurely',a.start.until(this.offset().move(1)));o={state:"BlockParamName",name:h,start:this.offset()},this.tokenizer.consume()}},BlockParamName:h=>{if(w(o.state==="BlockParamName","bug in block params parser"),h==="")o={state:"Done"},this.pendingError={mustache(d){throw S("Invalid block parameters syntax: mustaches cannot be used inside parameters list",d)},eof(d){throw S('Invalid block parameters syntax: expecting the tag to be closed with ">" or "/>" after parameters list',a.start.until(d))}};else if(h==="|"||He(h)){let d=o.start.until(this.offset());if(o.name==="this"||s.test(o.name))throw S(`Invalid block parameters syntax: invalid identifier name \`${o.name}\``,d);i.params.push(f.var({name:o.name,loc:d})),o=h==="|"?{state:"AfterEndPipe"}:{state:"BeforeBlockParamName"},this.tokenizer.consume()}else{if(h===">"||h==="/")throw S('Invalid block parameters syntax: expecting "|" but the tag was closed prematurely',a.start.until(this.offset().move(1)));o.name+=h,this.tokenizer.consume()}},AfterEndPipe:h=>{w(o.state==="AfterEndPipe","bug in block params parser"),He(h)?this.tokenizer.consume():h===""?(o={state:"Done"},this.pendingError={mustache(d){throw S("Invalid block parameters syntax: modifiers cannot follow parameters list",d)},eof(d){throw S('Invalid block parameters syntax: expecting the tag to be closed with ">" or "/>" after parameters list',a.start.until(d))}}):h===">"||h==="/"?o={state:"Done"}:(o={state:"Error",message:'Invalid block parameters syntax: expecting the tag to be closed with ">" or "/>" after parameters list',start:this.offset()},this.tokenizer.consume())},Error:h=>{if(w(o.state==="Error","bug in block params parser"),h===""||h==="/"||h===">"||He(h))throw S(o.message,o.start.until(this.offset()));this.tokenizer.consume()},Done:()=>{w(!1,"This should never be called")}},p;do p=this.tokenizer.peek(),c[o.state](p);while(o.state!=="Done"&&p!=="");w(o.state==="Done","bug in block params parser")}reportSyntaxError(e){throw S(e,this.offset().collapsed())}assembleConcatenatedValue(e){for(let s of e)if(s.type!=="MustacheStatement"&&s.type!=="TextNode")throw S(`Unsupported node in quoted attribute value: ${s.type}`,s.loc);Tt(e,"the concatenation parts of an element should not be empty");let r=Nn(e),n=Nt(e);return f.concat({parts:e,loc:this.source.spanFor(r.loc).extend(this.source.spanFor(n.loc))})}validateEndTag(e,r,n){if(Tr.has(e.name)&&!n)throw S(`<${e.name}> elements do not need end tags. You should remove it`,e.loc);if(r.tag===void 0)throw S(`Closing tag without an open tag`,e.loc);if(r.tag!==e.name)throw S(`Closing tag did not match last open tag <${r.tag}> (on line ${r.loc.startPosition.line})`,e.loc)}assembleAttributeValue(e,r,n,s){if(n){if(r)return this.assembleConcatenatedValue(e);{Tt(e);let[i,a]=e;if(a===void 0||a.type==="TextNode"&&a.chars==="/")return i;throw S("An unquoted attribute value must be a string or a mustache, preceded by whitespace or a '=' character, and followed by whitespace, a '>' character, or '/>'",s)}}else return we(e)?e[0]:f.text({chars:"",loc:s})}},la={},Or=class extends mr{constructor(){super({})}parse(){}};function Wn(t,e={}){var c,p,h;let r=e.mode||"precompile",n,s;typeof t=="string"?(n=new Te(t,(c=e.meta)==null?void 0:c.moduleName),r==="codemod"?s=Ct(t,e.parseOptions):s=dr(t,e.parseOptions)):t instanceof Te?(n=t,r==="codemod"?s=Ct(t.source,e.parseOptions):s=dr(t.source,e.parseOptions)):(n=new Te("",(p=e.meta)==null?void 0:p.moduleName),s=t);let i;r==="codemod"&&(i=new Or);let a=O.forCharPositions(n,0,n.source.length);s.loc={source:"(program)",start:a.startPosition,end:a.endPosition};let o=new Dr(n,i,r).parse(s,e.locals??[]);if((h=e==null?void 0:e.plugins)!=null&&h.ast)for(let d of e.plugins.ast){let N=or({},e,{syntax:la},{plugins:void 0}),g=d(N);Bi(o,g.visitor)}return o}var Ir=function(t){return t.Helper="Helper",t.Modifier="Modifier",t.Component="Component",t}({}),al=Ir.Helper,ol=Ir.Modifier,ll=Ir.Component;var Bt=` +`,$n="\r",jn=function(){function t(e){this.length=e.length;for(var r=[0],n=0;nthis.length)return null;for(var r=0,n=this.offsets;n[r+1]<=e;)r++;var s=e-n[r];return{line:r,column:s}},t.prototype.indexForLocation=function(e){var r=e.line,n=e.column;return r<0||r>=this.offsets.length||n<0||n>this.lengthOfLine(r)?null:this.offsets[r]+n},t.prototype.lengthOfLine=function(e){var r=this.offsets[e],n=e===this.offsets.length-1?this.length:this.offsets[e+1];return n-r},t}();function ca(t,e){let r=new SyntaxError(t+" ("+e.loc.start.line+":"+e.loc.start.column+")");return Object.assign(r,e)}var Qn=ca;function ua(t){let e=t.children??t.body;if(e)for(let r=0;re.indexForLocation({line:s-1,column:i}),n=s=>{let{start:i,end:a}=s.loc;i.offset=r(i),a.offset=r(a)};return()=>({name:"prettierParsePlugin",visitor:{All(s){n(s),ua(s)}}})}function pa(t){let e;try{e=Wn(t,{mode:"codemod",plugins:{ast:[ha(t)]}})}catch(r){let n=da(r);if(n){let s=fa(r);throw Qn(s,{loc:n,cause:r})}throw r}return e}function fa(t){let{message:e}=t,r=e.split(` +`);return r.length>=4&&/^Parse error on line \d+:$/u.test(r[0])&&/^-*\^$/u.test(oe(!1,r,-2))?oe(!1,r,-1):r.length>=4&&/:\s?$/u.test(r[0])&&/^\(error occurred in '.*?' @ line \d+ : column \d+\)$/u.test(oe(!1,r,-1))&&r[1]===""&&oe(!1,r,-2)===""&&r.slice(2,-2).every(n=>n.startsWith("|"))?r[0].trim().slice(0,-1):e}function da(t){let{location:e,hash:r}=t;if(e){let{start:n,end:s}=e;return typeof s.line!="number"?{start:n}:e}if(r){let{loc:{last_line:n,last_column:s}}=r;return{start:{line:n,column:s+1}}}}var ma={parse:pa,astFormat:"glimmer",locStart:Se,locEnd:tt};var ga={glimmer:En};return as(ba);}); \ No newline at end of file diff --git a/node_modules/prettier/plugins/glimmer.mjs b/node_modules/prettier/plugins/glimmer.mjs index 5cfd41a653..fa4287176c 100644 --- a/node_modules/prettier/plugins/glimmer.mjs +++ b/node_modules/prettier/plugins/glimmer.mjs @@ -1,20 +1,20 @@ -var Jn=Object.defineProperty;var Wt=(t,e)=>{for(var r in e)Jn(t,r,{get:e[r],enumerable:!0})};var Br=(t,e,r)=>{if(!e.has(t))throw TypeError("Cannot "+r)};var $=(t,e,r)=>(Br(t,e,"read from private field"),r?r.call(t):e.get(t)),Rr=(t,e,r)=>{if(e.has(t))throw TypeError("Cannot add the same private member more than once");e instanceof WeakSet?e.add(t):e.set(t,r)},qr=(t,e,r,n)=>(Br(t,e,"write to private field"),n?n.call(t,r):e.set(t,r),r);var _r={};Wt(_r,{languages:()=>Yn,parsers:()=>qt,printers:()=>$s});var Xn=(t,e,r,n)=>{if(!(t&&e==null))return e.replaceAll?e.replaceAll(r,n):r.global?e.replace(r,n):e.split(r).join(n)},Kt=Xn;var ze="string",We="array",Ke="cursor",De="indent",Oe="align",je="trim",Ie="group",Be="fill",Re="if-break",Qe="indent-if-break",Je="line-suffix",Xe="line-suffix-boundary",Z="line",$e="label",qe="break-parent",pt=new Set([Ke,De,Oe,je,Ie,Be,Re,Qe,Je,Xe,Z,$e,qe]);function $n(t){if(typeof t=="string")return ze;if(Array.isArray(t))return We;if(!t)return;let{type:e}=t;if(pt.has(e))return e}var Ze=$n;var Zn=t=>new Intl.ListFormat("en-US",{type:"disjunction"}).format(t);function ei(t){let e=t===null?"null":typeof t;if(e!=="string"&&e!=="object")return`Unexpected doc '${e}', -Expected it to be 'string' or 'object'.`;if(Ze(t))throw new Error("doc is valid.");let r=Object.prototype.toString.call(t);if(r!=="[object Object]")return`Unexpected doc '${r}'.`;let n=Zn([...pt].map(i=>`'${i}'`));return`Unexpected doc.type '${t.type}'. -Expected it to be ${n}.`}var jt=class extends Error{name="InvalidDocError";constructor(e){super(ei(e)),this.doc=e}},Qt=jt;var Vr=()=>{},Te=Vr,ft=Vr;function O(t){return Te(t),{type:De,contents:t}}function ti(t,e){return Te(e),{type:Oe,contents:e,n:t}}function I(t,e={}){return Te(t),ft(e.expandedStates,!0),{type:Ie,id:e.id,contents:t,break:!!e.shouldBreak,expandedStates:e.expandedStates}}function Jt(t){return ti(-1,t)}function Xt(t){return ft(t),{type:Be,parts:t}}function $t(t,e="",r={}){return Te(t),e!==""&&Te(e),{type:Re,breakContents:t,flatContents:e,groupId:r.groupId}}var Hr={type:qe};var ri={type:Z,hard:!0},ni={type:Z,hard:!0,literal:!0},_={type:Z},M={type:Z,soft:!0},ve=[ri,Hr],Ur=[ni,Hr];function we(t,e){Te(t),ft(e);let r=[];for(let n=0;n{if(!(t&&e==null))return Array.isArray(e)||typeof e=="string"?e[r<0?e.length+r:r]:e.at(r)},he=ii;function si(t,e){if(typeof t=="string")return e(t);let r=new Map;return n(t);function n(s){if(r.has(s))return r.get(s);let a=i(s);return r.set(s,a),a}function i(s){switch(Ze(s)){case We:return e(s.map(n));case Be:return e({...s,parts:s.parts.map(n)});case Re:return e({...s,breakContents:n(s.breakContents),flatContents:n(s.flatContents)});case Ie:{let{expandedStates:a,contents:l}=s;return a?(a=a.map(n),l=a[0]):l=n(l),e({...s,contents:l,expandedStates:a})}case Oe:case De:case Qe:case $e:case Je:return e({...s,contents:n(s.contents)});case ze:case Ke:case je:case Xe:case Z:case qe:return e(s);default:throw new Qt(s)}}}function Fr(t,e=Ur){return si(t,r=>typeof r=="string"?we(e,r.split(` -`)):r)}var dt="'",Mr='"';function ai(t,e){let r=e===!0||e===dt?dt:Mr,n=r===dt?Mr:dt,i=0,s=0;for(let a of t)a===r?i++:a===n&&s++;return i>s?n:r}var mt=ai;function oi(t){return Array.isArray(t)&&t.length>0}var et=oi;var Zt=class extends Error{name="UnexpectedNodeError";constructor(e,r,n="type"){super(`Unexpected ${r} node ${n}: ${JSON.stringify(e[n])}.`),this.node=e}},Gr=Zt;function er(t){if(typeof t!="string")throw new TypeError("Expected a string");return t.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}var U,tr=class{constructor(e){Rr(this,U,void 0);qr(this,U,new Set(e))}getLeadingWhitespaceCount(e){let r=$(this,U),n=0;for(let i=0;i=0&&r.has(e.charAt(i));i--)n++;return n}getLeadingWhitespace(e){let r=this.getLeadingWhitespaceCount(e);return e.slice(0,r)}getTrailingWhitespace(e){let r=this.getTrailingWhitespaceCount(e);return e.slice(e.length-r)}hasLeadingWhitespace(e){return $(this,U).has(e.charAt(0))}hasTrailingWhitespace(e){return $(this,U).has(he(!1,e,-1))}trimStart(e){let r=this.getLeadingWhitespaceCount(e);return e.slice(r)}trimEnd(e){let r=this.getTrailingWhitespaceCount(e);return e.slice(0,e.length-r)}trim(e){return this.trimEnd(this.trimStart(e))}split(e,r=!1){let n=`[${er([...$(this,U)].join(""))}]+`,i=new RegExp(r?`(${n})`:n);return e.split(i)}hasWhitespaceCharacter(e){let r=$(this,U);return Array.prototype.some.call(e,n=>r.has(n))}hasNonWhitespaceCharacter(e){let r=$(this,U);return Array.prototype.some.call(e,n=>!r.has(n))}isWhitespaceOnly(e){let r=$(this,U);return Array.prototype.every.call(e,n=>r.has(n))}};U=new WeakMap;var Yr=tr;var li=[" ",` -`,"\f","\r"," "],ci=new Yr(li),G=ci;function xe(t){return t.loc.start.offset}function tt(t){return t.loc.end.offset}function zr(t,e){if(t.type==="TextNode"){let r=t.chars.trim();if(!r)return null;e.chars=G.split(r).join(" ")}t.type==="AttrNode"&&t.name.toLowerCase()==="class"&&delete e.value}zr.ignoredProperties=new Set(["loc","selfClosing"]);var Wr=zr;var Kr=["area","base","br","col","command","embed","hr","img","input","keygen","link","meta","param","source","track","wbr"];function Qr(t){return t.toUpperCase()===t}function ui(t){return t.type==="ElementNode"&&typeof t.tag=="string"&&!t.tag.startsWith(":")&&(Qr(t.tag[0])||t.tag.includes("."))}var hi=new Set(Kr);function pi(t){return hi.has(t.toLowerCase())&&!Qr(t[0])}function rr(t){return t.selfClosing===!0||pi(t.tag)||ui(t)&&t.children.every(e=>gt(e))}function gt(t){return t.type==="TextNode"&&!/\S/.test(t.chars)}function jr(t){return(t==null?void 0:t.type)==="MustacheCommentStatement"&&typeof t.value=="string"&&t.value.trim()==="prettier-ignore"}function Jr(t){return jr(t.node)||t.isInArray&&(t.key==="children"||t.key==="body"||t.key==="parts")&&jr(t.siblings[t.index-2])}var rt=null;function nt(t){if(rt!==null&&typeof rt.property){let e=rt;return rt=nt.prototype=null,e}return rt=nt.prototype=t??Object.create(null),new nt}var fi=10;for(let t=0;t<=fi;t++)nt();function nr(t){return nt(t)}function di(t,e="type"){nr(t);function r(n){let i=n[e],s=t[i];if(!Array.isArray(s))throw Object.assign(new Error(`Missing visitor keys for '${i}'.`),{node:n});return s}return r}var Xr=di;var $r={Program:["body"],Template:["body"],Block:["body"],MustacheStatement:["path","params","hash"],BlockStatement:["path","params","hash","program","inverse"],ElementModifierStatement:["path","params","hash"],PartialStatement:["name","params","hash"],CommentStatement:[],MustacheCommentStatement:[],ElementNode:["attributes","modifiers","children","comments"],AttrNode:["value"],TextNode:[],ConcatStatement:["parts"],SubExpression:["path","params","hash"],PathExpression:[],PathHead:[],StringLiteral:[],BooleanLiteral:[],NumberLiteral:[],NullLiteral:[],UndefinedLiteral:[],Hash:["pairs"],HashPair:["value"],NamedBlock:["attributes","modifiers","children","comments"],SimpleElement:["attributes","modifiers","children","comments"],Component:["head","attributes","modifiers","children","comments"]};var mi=Xr($r),Zr=mi;var ln=2;function gi(t,e,r){var i,s,a,l,c,h,g,y,F;let{node:n}=t;switch(n.type){case"Block":case"Program":case"Template":return I(t.map(r,"body"));case"ElementNode":{let b=I(yi(t,r)),k=e.htmlWhitespaceSensitivity==="ignore"&&((i=t.next)==null?void 0:i.type)==="ElementNode"?M:"";if(rr(n))return[b,k];let N=[""];return n.children.length===0?[b,O(N),k]:e.htmlWhitespaceSensitivity==="ignore"?[b,O(en(t,e,r)),ve,O(N),k]:[b,O(I(en(t,e,r))),O(N),k]}case"BlockStatement":return xi(t)?[ki(t,r),nn(t,r,e),sn(t,r,e)]:[vi(t,r),I([nn(t,r,e),sn(t,r,e),Pi(t,r,e)])];case"ElementModifierStatement":return I(["{{",on(t,r),"}}"]);case"MustacheStatement":return I([bt(n),on(t,r),yt(n)]);case"SubExpression":return I(["(",Oi(t,r),M,")"]);case"AttrNode":{let{name:b,value:k}=n,N=k.type==="TextNode";if(N&&k.chars===""&&xe(k)===tt(k))return b;let w=N?mt(k.chars,e.singleQuote):k.type==="ConcatStatement"?mt(k.parts.map(R=>R.type==="TextNode"?R.chars:"").join(""),e.singleQuote):"",se=r("value");return[b,"=",w,b==="class"&&w?I(O(se)):se,w]}case"ConcatStatement":return t.map(r,"parts");case"Hash":return we(_,t.map(r,"pairs"));case"HashPair":return[n.key,"=",r("value")];case"TextNode":{let b=Kt(!1,n.chars,"{{","\\{{"),k=Ci(t);if(k){if(k==="class"){let J=b.trim().split(/\s+/).join(" "),ae=!1,q=!1;return t.parent.type==="ConcatStatement"&&(((s=t.previous)==null?void 0:s.type)==="MustacheStatement"&&/^\s/.test(b)&&(ae=!0),((a=t.next)==null?void 0:a.type)==="MustacheStatement"&&/\s$/.test(b)&&J!==""&&(q=!0)),[ae?_:"",J,q?_:""]}return Fr(b)}let N=G.isWhitespaceOnly(b),{isFirst:B,isLast:w}=t;if(e.htmlWhitespaceSensitivity!=="ignore"){let J=w&&t.parent.type==="Template",ae=B&&t.parent.type==="Template";if(N){if(ae||J)return"";let A=[_],le=Ve(b);return le&&(A=it(le)),w&&(A=A.map(ct=>Jt(ct))),A}let q=G.getLeadingWhitespace(b),Ae=[];if(q){Ae=[_];let A=Ve(q);A&&(Ae=it(A)),b=b.slice(q.length)}let V=G.getTrailingWhitespace(b),oe=[];if(V){if(!J){oe=[_];let A=Ve(V);A&&(oe=it(A)),w&&(oe=oe.map(le=>Jt(le)))}b=b.slice(0,-V.length)}return[...Ae,Xt(an(b)),...oe]}let se=Ve(b),R=Ai(b),Q=_i(b);if((B||w)&&N&&(t.parent.type==="Block"||t.parent.type==="ElementNode"||t.parent.type==="Template"))return"";N&&se?(R=Math.min(se,ln),Q=0):((((l=t.next)==null?void 0:l.type)==="BlockStatement"||((c=t.next)==null?void 0:c.type)==="ElementNode")&&(Q=Math.max(Q,1)),(((h=t.previous)==null?void 0:h.type)==="BlockStatement"||((g=t.previous)==null?void 0:g.type)==="ElementNode")&&(R=Math.max(R,1)));let Ne="",Ce="";return Q===0&&((y=t.next)==null?void 0:y.type)==="MustacheStatement"&&(Ce=" "),R===0&&((F=t.previous)==null?void 0:F.type)==="MustacheStatement"&&(Ne=" "),B&&(R=0,Ne=""),w&&(Q=0,Ce=""),G.hasLeadingWhitespace(b)&&(b=Ne+G.trimStart(b)),G.hasTrailingWhitespace(b)&&(b=G.trimEnd(b)+Ce),[...it(R),Xt(an(b)),...it(Q)]}case"MustacheCommentStatement":{let b=xe(n),k=tt(n),N=e.originalText.charAt(b+2)==="~",B=e.originalText.charAt(k-3)==="~",w=n.value.includes("}}")?"--":"";return["{{",N?"~":"","!",w,n.value,w,B?"~":"","}}"]}case"PathExpression":return n.original;case"BooleanLiteral":return String(n.value);case"CommentStatement":return[""];case"StringLiteral":return Li(t,e);case"NumberLiteral":return String(n.value);case"UndefinedLiteral":return"undefined";case"NullLiteral":return"null";default:throw new Gr(n,"Handlebars")}}function bi(t,e){return xe(t)-xe(e)}function yi(t,e){let{node:r}=t,n=["attributes","modifiers","comments"].filter(s=>et(r[s])),i=n.flatMap(s=>r[s]).sort(bi);for(let s of n)t.each(({node:a})=>{let l=i.indexOf(a);i.splice(l,1,[_,e()])},s);return et(r.blockParams)&&i.push(_,sr(r)),["<",r.tag,O(i),Si(r)]}function en(t,e,r){let{node:n}=t,i=n.children.every(s=>gt(s));return e.htmlWhitespaceSensitivity==="ignore"&&i?"":t.map(({isFirst:s})=>{let a=r();return s&&e.htmlWhitespaceSensitivity==="ignore"?[M,a]:a},"children")}function Si(t){return rr(t)?$t([M,"/>"],[" />",M]):$t([M,">"],">")}function bt(t){var n;let e=t.escaped===!1?"{{{":"{{",r=(n=t.strip)!=null&&n.open?"~":"";return[e,r]}function yt(t){var n;let e=t.escaped===!1?"}}}":"}}";return[(n=t.strip)!=null&&n.close?"~":"",e]}function Ei(t){let e=bt(t),r=t.openStrip.open?"~":"";return[e,r,"#"]}function Ti(t){let e=yt(t);return[t.openStrip.close?"~":"",e]}function tn(t){let e=bt(t),r=t.closeStrip.open?"~":"";return[e,r,"/"]}function rn(t){let e=yt(t);return[t.closeStrip.close?"~":"",e]}function cn(t){let e=bt(t),r=t.inverseStrip.open?"~":"";return[e,r]}function un(t){let e=yt(t);return[t.inverseStrip.close?"~":"",e]}function vi(t,e){let{node:r}=t,n=[],i=St(t,e);return i&&n.push(I(i)),et(r.program.blockParams)&&n.push(sr(r.program)),I([Ei(r),ir(t,e),n.length>0?O([_,we(_,n)]):"",M,Ti(r)])}function wi(t,e){return[e.htmlWhitespaceSensitivity==="ignore"?ve:"",cn(t),"else",un(t)]}function xi(t){var n;let{grandparent:e,node:r}=t;return((n=e==null?void 0:e.inverse)==null?void 0:n.body.length)===1&&e.inverse.body[0]===r&&e.inverse.body[0].path.parts[0]===e.path.parts[0]}function ki(t,e){let{node:r,grandparent:n}=t;return I([cn(n),["else"," ",n.inverse.body[0].path.parts[0]],O([_,I(St(t,e)),...et(r.program.blockParams)?[_,sr(r.program)]:[]]),M,un(n)])}function Pi(t,e,r){let{node:n}=t;return r.htmlWhitespaceSensitivity==="ignore"?[hn(n)?M:ve,tn(n),e("path"),rn(n)]:[tn(n),e("path"),rn(n)]}function hn(t){return t.type==="BlockStatement"&&t.program.body.every(e=>gt(e))}function Ni(t){return pn(t)&&t.inverse.body.length===1&&t.inverse.body[0].type==="BlockStatement"&&t.inverse.body[0].path.parts[0]===t.path.parts[0]}function pn(t){return t.type==="BlockStatement"&&t.inverse}function nn(t,e,r){let{node:n}=t;if(hn(n))return"";let i=e("program");return r.htmlWhitespaceSensitivity==="ignore"?O([ve,i]):O(i)}function sn(t,e,r){let{node:n}=t,i=e("inverse"),s=r.htmlWhitespaceSensitivity==="ignore"?[ve,i]:i;return Ni(n)?s:pn(n)?[wi(n,r),O(s)]:""}function an(t){return we(_,G.split(t))}function Ci(t){for(let e=0;e<2;e++){let r=t.getParentNode(e);if((r==null?void 0:r.type)==="AttrNode")return r.name.toLowerCase()}}function Ve(t){return t=typeof t=="string"?t:"",t.split(` -`).length-1}function Ai(t){t=typeof t=="string"?t:"";let e=(t.match(/^([^\S\n\r]*[\n\r])+/g)||[])[0]||"";return Ve(e)}function _i(t){t=typeof t=="string"?t:"";let e=(t.match(/([\n\r][^\S\n\r]*)+$/g)||[])[0]||"";return Ve(e)}function it(t=0){return Array.from({length:Math.min(t,ln)}).fill(ve)}function Li(t,e){let{node:{value:r}}=t,n=mt(r,Di(t)?!e.singleQuote:e.singleQuote);return[n,Kt(!1,r,n,`\\${n}`),n]}function Di(t){let{ancestors:e}=t,r=e.findIndex(n=>n.type!=="SubExpression");return r!==-1&&e[r+1].type==="ConcatStatement"&&e[r+2].type==="AttrNode"}function Oi(t,e){let r=ir(t,e),n=St(t,e);return n?O([r,_,I(n)]):r}function on(t,e){let r=ir(t,e),n=St(t,e);return n?[O([r,_,n]),M]:r}function ir(t,e){return e("path")}function St(t,e){var i;let{node:r}=t,n=[];return r.params.length>0&&n.push(...t.map(e,"params")),((i=r.hash)==null?void 0:i.pairs.length)>0&&n.push(e("hash")),n.length===0?"":we(_,n)}function sr(t){return["as |",t.blockParams.join(" "),"|"]}var Ii={print:gi,massageAstNode:Wr,hasPrettierIgnore:Jr,getVisitorKeys:Zr},fn=Ii;var qt={};Wt(qt,{glimmer:()=>Xs});var Bi=Object.freeze([]);function dn(){return Bi}var co=dn(),uo=dn();var pe=Object.assign;var vo=function(){return typeof Symbol!="function"?!1:typeof Symbol()=="symbol"}();var T=(...t)=>t;function qi(t){return t&-536870913}function Vi(t){return t|536870912}function Hi(t){return~t}function Ui(t){return~t}function Fi(t){return t|=0,t<0?qi(t):Hi(t)}function Mi(t){return t|=0,t>-536870913?Ui(t):Vi(t)}[1,2,3].forEach(t=>t);[1,-1].forEach(t=>Mi(Fi(t)));function He(t){return t.length>0}function mn(t,e="unexpected empty list"){if(!He(t))throw new Error(e)}var Gi;if(!1){let t=n=>{let i=n.name;if(i===void 0){let s=Function.prototype.toString.call(n).match(/function (\w+)\s*\(/);i=s&&s[1]||""}return i.replace(/^bound /,"")},e=n=>{let i,s;return n.constructor&&typeof n.constructor=="function"&&(s=t(n.constructor)),"toString"in n&&n.toString!==Object.prototype.toString&&n.toString!==Function.prototype.toString&&(i=n.toString()),i&&i.match(/<.*:ember\d+>/)&&s&&s[0]!=="_"&&s.length>2&&s!=="Class"?i.replace(/<.*:/,`<${s}:`):i||s},r=n=>String(n);Gi=n=>typeof n=="function"?t(n)||"(unknown function)":typeof n=="object"&&n!==null?e(n)||"(unknown object)":r(n)}var gn=console;function bn(t,e="unexpected unreachable branch"){throw gn.log("unreachable",t),gn.log(`${e} :: ${JSON.stringify(t)} (${t})`),new Error("code reached unreachable")}var Yi=function(){var t=function(ce,p,m,f){for(m=m||{},f=ce.length;f--;m[ce[f]]=p);return m},e=[2,44],r=[1,20],n=[5,14,15,19,29,34,39,44,47,48,52,56,60],i=[1,35],s=[1,38],a=[1,30],l=[1,31],c=[1,32],h=[1,33],g=[1,34],y=[1,37],F=[14,15,19,29,34,39,44,47,48,52,56,60],b=[14,15,19,29,34,44,47,48,52,56,60],k=[15,18],N=[14,15,19,29,34,47,48,52,56,60],B=[33,64,71,79,80,81,82,83,84],w=[23,33,55,64,67,71,74,79,80,81,82,83,84],se=[1,51],R=[23,33,55,64,67,71,74,79,80,81,82,83,84,86],Q=[2,43],Ne=[55,64,71,79,80,81,82,83,84],Ce=[1,58],J=[1,59],ae=[1,66],q=[33,64,71,74,79,80,81,82,83,84],Ae=[23,64,71,79,80,81,82,83,84],V=[1,76],oe=[64,67,71,79,80,81,82,83,84],A=[33,74],le=[23,33,55,67,71,74],ct=[1,106],Vt=[1,118],Lr=[71,76],Ht={trace:function(){},yy:{},symbols_:{error:2,root:3,program:4,EOF:5,program_repetition0:6,statement:7,mustache:8,block:9,rawBlock:10,partial:11,partialBlock:12,content:13,COMMENT:14,CONTENT:15,openRawBlock:16,rawBlock_repetition0:17,END_RAW_BLOCK:18,OPEN_RAW_BLOCK:19,helperName:20,openRawBlock_repetition0:21,openRawBlock_option0:22,CLOSE_RAW_BLOCK:23,openBlock:24,block_option0:25,closeBlock:26,openInverse:27,block_option1:28,OPEN_BLOCK:29,openBlock_repetition0:30,openBlock_option0:31,openBlock_option1:32,CLOSE:33,OPEN_INVERSE:34,openInverse_repetition0:35,openInverse_option0:36,openInverse_option1:37,openInverseChain:38,OPEN_INVERSE_CHAIN:39,openInverseChain_repetition0:40,openInverseChain_option0:41,openInverseChain_option1:42,inverseAndProgram:43,INVERSE:44,inverseChain:45,inverseChain_option0:46,OPEN_ENDBLOCK:47,OPEN:48,expr:49,mustache_repetition0:50,mustache_option0:51,OPEN_UNESCAPED:52,mustache_repetition1:53,mustache_option1:54,CLOSE_UNESCAPED:55,OPEN_PARTIAL:56,partial_repetition0:57,partial_option0:58,openPartialBlock:59,OPEN_PARTIAL_BLOCK:60,openPartialBlock_repetition0:61,openPartialBlock_option0:62,sexpr:63,OPEN_SEXPR:64,sexpr_repetition0:65,sexpr_option0:66,CLOSE_SEXPR:67,hash:68,hash_repetition_plus0:69,hashSegment:70,ID:71,EQUALS:72,blockParams:73,OPEN_BLOCK_PARAMS:74,blockParams_repetition_plus0:75,CLOSE_BLOCK_PARAMS:76,path:77,dataName:78,STRING:79,NUMBER:80,BOOLEAN:81,UNDEFINED:82,NULL:83,DATA:84,pathSegments:85,SEP:86,$accept:0,$end:1},terminals_:{2:"error",5:"EOF",14:"COMMENT",15:"CONTENT",18:"END_RAW_BLOCK",19:"OPEN_RAW_BLOCK",23:"CLOSE_RAW_BLOCK",29:"OPEN_BLOCK",33:"CLOSE",34:"OPEN_INVERSE",39:"OPEN_INVERSE_CHAIN",44:"INVERSE",47:"OPEN_ENDBLOCK",48:"OPEN",52:"OPEN_UNESCAPED",55:"CLOSE_UNESCAPED",56:"OPEN_PARTIAL",60:"OPEN_PARTIAL_BLOCK",64:"OPEN_SEXPR",67:"CLOSE_SEXPR",71:"ID",72:"EQUALS",74:"OPEN_BLOCK_PARAMS",76:"CLOSE_BLOCK_PARAMS",79:"STRING",80:"NUMBER",81:"BOOLEAN",82:"UNDEFINED",83:"NULL",84:"DATA",86:"SEP"},productions_:[0,[3,2],[4,1],[7,1],[7,1],[7,1],[7,1],[7,1],[7,1],[7,1],[13,1],[10,3],[16,5],[9,4],[9,4],[24,6],[27,6],[38,6],[43,2],[45,3],[45,1],[26,3],[8,5],[8,5],[11,5],[12,3],[59,5],[49,1],[49,1],[63,5],[68,1],[70,3],[73,3],[20,1],[20,1],[20,1],[20,1],[20,1],[20,1],[20,1],[78,2],[77,1],[85,3],[85,1],[6,0],[6,2],[17,0],[17,2],[21,0],[21,2],[22,0],[22,1],[25,0],[25,1],[28,0],[28,1],[30,0],[30,2],[31,0],[31,1],[32,0],[32,1],[35,0],[35,2],[36,0],[36,1],[37,0],[37,1],[40,0],[40,2],[41,0],[41,1],[42,0],[42,1],[46,0],[46,1],[50,0],[50,2],[51,0],[51,1],[53,0],[53,2],[54,0],[54,1],[57,0],[57,2],[58,0],[58,1],[61,0],[61,2],[62,0],[62,1],[65,0],[65,2],[66,0],[66,1],[69,1],[69,2],[75,1],[75,2]],performAction:function(p,m,f,d,v,o,_e){var u=o.length-1;switch(v){case 1:return o[u-1];case 2:this.$=d.prepareProgram(o[u]);break;case 3:case 4:case 5:case 6:case 7:case 8:case 20:case 27:case 28:case 33:case 34:this.$=o[u];break;case 9:this.$={type:"CommentStatement",value:d.stripComment(o[u]),strip:d.stripFlags(o[u],o[u]),loc:d.locInfo(this._$)};break;case 10:this.$={type:"ContentStatement",original:o[u],value:o[u],loc:d.locInfo(this._$)};break;case 11:this.$=d.prepareRawBlock(o[u-2],o[u-1],o[u],this._$);break;case 12:this.$={path:o[u-3],params:o[u-2],hash:o[u-1]};break;case 13:this.$=d.prepareBlock(o[u-3],o[u-2],o[u-1],o[u],!1,this._$);break;case 14:this.$=d.prepareBlock(o[u-3],o[u-2],o[u-1],o[u],!0,this._$);break;case 15:this.$={open:o[u-5],path:o[u-4],params:o[u-3],hash:o[u-2],blockParams:o[u-1],strip:d.stripFlags(o[u-5],o[u])};break;case 16:case 17:this.$={path:o[u-4],params:o[u-3],hash:o[u-2],blockParams:o[u-1],strip:d.stripFlags(o[u-5],o[u])};break;case 18:this.$={strip:d.stripFlags(o[u-1],o[u-1]),program:o[u]};break;case 19:var ue=d.prepareBlock(o[u-2],o[u-1],o[u],o[u],!1,this._$),Ye=d.prepareProgram([ue],o[u-1].loc);Ye.chained=!0,this.$={strip:o[u-2].strip,program:Ye,chain:!0};break;case 21:this.$={path:o[u-1],strip:d.stripFlags(o[u-2],o[u])};break;case 22:case 23:this.$=d.prepareMustache(o[u-3],o[u-2],o[u-1],o[u-4],d.stripFlags(o[u-4],o[u]),this._$);break;case 24:this.$={type:"PartialStatement",name:o[u-3],params:o[u-2],hash:o[u-1],indent:"",strip:d.stripFlags(o[u-4],o[u]),loc:d.locInfo(this._$)};break;case 25:this.$=d.preparePartialBlock(o[u-2],o[u-1],o[u],this._$);break;case 26:this.$={path:o[u-3],params:o[u-2],hash:o[u-1],strip:d.stripFlags(o[u-4],o[u])};break;case 29:this.$={type:"SubExpression",path:o[u-3],params:o[u-2],hash:o[u-1],loc:d.locInfo(this._$)};break;case 30:this.$={type:"Hash",pairs:o[u],loc:d.locInfo(this._$)};break;case 31:this.$={type:"HashPair",key:d.id(o[u-2]),value:o[u],loc:d.locInfo(this._$)};break;case 32:this.$=d.id(o[u-1]);break;case 35:this.$={type:"StringLiteral",value:o[u],original:o[u],loc:d.locInfo(this._$)};break;case 36:this.$={type:"NumberLiteral",value:Number(o[u]),original:Number(o[u]),loc:d.locInfo(this._$)};break;case 37:this.$={type:"BooleanLiteral",value:o[u]==="true",original:o[u]==="true",loc:d.locInfo(this._$)};break;case 38:this.$={type:"UndefinedLiteral",original:void 0,value:void 0,loc:d.locInfo(this._$)};break;case 39:this.$={type:"NullLiteral",original:null,value:null,loc:d.locInfo(this._$)};break;case 40:this.$=d.preparePath(!0,o[u],this._$);break;case 41:this.$=d.preparePath(!1,o[u],this._$);break;case 42:o[u-2].push({part:d.id(o[u]),original:o[u],separator:o[u-1]}),this.$=o[u-2];break;case 43:this.$=[{part:d.id(o[u]),original:o[u]}];break;case 44:case 46:case 48:case 56:case 62:case 68:case 76:case 80:case 84:case 88:case 92:this.$=[];break;case 45:case 47:case 49:case 57:case 63:case 69:case 77:case 81:case 85:case 89:case 93:case 97:case 99:o[u-1].push(o[u]);break;case 96:case 98:this.$=[o[u]];break}},table:[t([5,14,15,19,29,34,48,52,56,60],e,{3:1,4:2,6:3}),{1:[3]},{5:[1,4]},t([5,39,44,47],[2,2],{7:5,8:6,9:7,10:8,11:9,12:10,13:11,24:15,27:16,16:17,59:19,14:[1,12],15:r,19:[1,23],29:[1,21],34:[1,22],48:[1,13],52:[1,14],56:[1,18],60:[1,24]}),{1:[2,1]},t(n,[2,45]),t(n,[2,3]),t(n,[2,4]),t(n,[2,5]),t(n,[2,6]),t(n,[2,7]),t(n,[2,8]),t(n,[2,9]),{20:26,49:25,63:27,64:i,71:s,77:28,78:29,79:a,80:l,81:c,82:h,83:g,84:y,85:36},{20:26,49:39,63:27,64:i,71:s,77:28,78:29,79:a,80:l,81:c,82:h,83:g,84:y,85:36},t(F,e,{6:3,4:40}),t(b,e,{6:3,4:41}),t(k,[2,46],{17:42}),{20:26,49:43,63:27,64:i,71:s,77:28,78:29,79:a,80:l,81:c,82:h,83:g,84:y,85:36},t(N,e,{6:3,4:44}),t([5,14,15,18,19,29,34,39,44,47,48,52,56,60],[2,10]),{20:45,71:s,77:28,78:29,79:a,80:l,81:c,82:h,83:g,84:y,85:36},{20:46,71:s,77:28,78:29,79:a,80:l,81:c,82:h,83:g,84:y,85:36},{20:47,71:s,77:28,78:29,79:a,80:l,81:c,82:h,83:g,84:y,85:36},{20:26,49:48,63:27,64:i,71:s,77:28,78:29,79:a,80:l,81:c,82:h,83:g,84:y,85:36},t(B,[2,76],{50:49}),t(w,[2,27]),t(w,[2,28]),t(w,[2,33]),t(w,[2,34]),t(w,[2,35]),t(w,[2,36]),t(w,[2,37]),t(w,[2,38]),t(w,[2,39]),{20:26,49:50,63:27,64:i,71:s,77:28,78:29,79:a,80:l,81:c,82:h,83:g,84:y,85:36},t(w,[2,41],{86:se}),{71:s,85:52},t(R,Q),t(Ne,[2,80],{53:53}),{25:54,38:56,39:Ce,43:57,44:J,45:55,47:[2,52]},{28:60,43:61,44:J,47:[2,54]},{13:63,15:r,18:[1,62]},t(B,[2,84],{57:64}),{26:65,47:ae},t(q,[2,56],{30:67}),t(q,[2,62],{35:68}),t(Ae,[2,48],{21:69}),t(B,[2,88],{61:70}),{20:26,33:[2,78],49:72,51:71,63:27,64:i,68:73,69:74,70:75,71:V,77:28,78:29,79:a,80:l,81:c,82:h,83:g,84:y,85:36},t(oe,[2,92],{65:77}),{71:[1,78]},t(w,[2,40],{86:se}),{20:26,49:80,54:79,55:[2,82],63:27,64:i,68:81,69:74,70:75,71:V,77:28,78:29,79:a,80:l,81:c,82:h,83:g,84:y,85:36},{26:82,47:ae},{47:[2,53]},t(F,e,{6:3,4:83}),{47:[2,20]},{20:84,71:s,77:28,78:29,79:a,80:l,81:c,82:h,83:g,84:y,85:36},t(N,e,{6:3,4:85}),{26:86,47:ae},{47:[2,55]},t(n,[2,11]),t(k,[2,47]),{20:26,33:[2,86],49:88,58:87,63:27,64:i,68:89,69:74,70:75,71:V,77:28,78:29,79:a,80:l,81:c,82:h,83:g,84:y,85:36},t(n,[2,25]),{20:90,71:s,77:28,78:29,79:a,80:l,81:c,82:h,83:g,84:y,85:36},t(A,[2,58],{20:26,63:27,77:28,78:29,85:36,69:74,70:75,31:91,49:92,68:93,64:i,71:V,79:a,80:l,81:c,82:h,83:g,84:y}),t(A,[2,64],{20:26,63:27,77:28,78:29,85:36,69:74,70:75,36:94,49:95,68:96,64:i,71:V,79:a,80:l,81:c,82:h,83:g,84:y}),{20:26,22:97,23:[2,50],49:98,63:27,64:i,68:99,69:74,70:75,71:V,77:28,78:29,79:a,80:l,81:c,82:h,83:g,84:y,85:36},{20:26,33:[2,90],49:101,62:100,63:27,64:i,68:102,69:74,70:75,71:V,77:28,78:29,79:a,80:l,81:c,82:h,83:g,84:y,85:36},{33:[1,103]},t(B,[2,77]),{33:[2,79]},t([23,33,55,67,74],[2,30],{70:104,71:[1,105]}),t(le,[2,96]),t(R,Q,{72:ct}),{20:26,49:108,63:27,64:i,66:107,67:[2,94],68:109,69:74,70:75,71:V,77:28,78:29,79:a,80:l,81:c,82:h,83:g,84:y,85:36},t(R,[2,42]),{55:[1,110]},t(Ne,[2,81]),{55:[2,83]},t(n,[2,13]),{38:56,39:Ce,43:57,44:J,45:112,46:111,47:[2,74]},t(q,[2,68],{40:113}),{47:[2,18]},t(n,[2,14]),{33:[1,114]},t(B,[2,85]),{33:[2,87]},{33:[1,115]},{32:116,33:[2,60],73:117,74:Vt},t(q,[2,57]),t(A,[2,59]),{33:[2,66],37:119,73:120,74:Vt},t(q,[2,63]),t(A,[2,65]),{23:[1,121]},t(Ae,[2,49]),{23:[2,51]},{33:[1,122]},t(B,[2,89]),{33:[2,91]},t(n,[2,22]),t(le,[2,97]),{72:ct},{20:26,49:123,63:27,64:i,71:s,77:28,78:29,79:a,80:l,81:c,82:h,83:g,84:y,85:36},{67:[1,124]},t(oe,[2,93]),{67:[2,95]},t(n,[2,23]),{47:[2,19]},{47:[2,75]},t(A,[2,70],{20:26,63:27,77:28,78:29,85:36,69:74,70:75,41:125,49:126,68:127,64:i,71:V,79:a,80:l,81:c,82:h,83:g,84:y}),t(n,[2,24]),t(n,[2,21]),{33:[1,128]},{33:[2,61]},{71:[1,130],75:129},{33:[1,131]},{33:[2,67]},t(k,[2,12]),t(N,[2,26]),t(le,[2,31]),t(w,[2,29]),{33:[2,72],42:132,73:133,74:Vt},t(q,[2,69]),t(A,[2,71]),t(F,[2,15]),{71:[1,135],76:[1,134]},t(Lr,[2,98]),t(b,[2,16]),{33:[1,136]},{33:[2,73]},{33:[2,32]},t(Lr,[2,99]),t(F,[2,17])],defaultActions:{4:[2,1],55:[2,53],57:[2,20],61:[2,55],73:[2,79],81:[2,83],85:[2,18],89:[2,87],99:[2,51],102:[2,91],109:[2,95],111:[2,19],112:[2,75],117:[2,61],120:[2,67],133:[2,73],134:[2,32]},parseError:function(p,m){if(m.recoverable)this.trace(p);else{var f=new Error(p);throw f.hash=m,f}},parse:function(p){var m=this,f=[0],d=[],v=[null],o=[],_e=this.table,u="",ue=0,Ye=0,Dr=0,Wn=2,Or=1,Kn=o.slice.call(arguments,1),C=Object.create(this.lexer),Se={yy:{}};for(var Ft in this.yy)Object.prototype.hasOwnProperty.call(this.yy,Ft)&&(Se.yy[Ft]=this.yy[Ft]);C.setInput(p,Se.yy),Se.yy.lexer=C,Se.yy.parser=this,typeof C.yylloc>"u"&&(C.yylloc={});var Mt=C.yylloc;o.push(Mt);var jn=C.options&&C.options.ranges;typeof Se.yy.parseError=="function"?this.parseError=Se.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function Zs(W){f.length=f.length-2*W,v.length=v.length-W,o.length=o.length-W}e:var Qn=function(){var W;return W=C.lex()||Or,typeof W!="number"&&(W=m.symbols_[W]||W),W};for(var D,Gt,Ee,H,ea,Yt,Le={},ut,X,Ir,ht;;){if(Ee=f[f.length-1],this.defaultActions[Ee]?H=this.defaultActions[Ee]:((D===null||typeof D>"u")&&(D=Qn()),H=_e[Ee]&&_e[Ee][D]),typeof H>"u"||!H.length||!H[0]){var zt="";ht=[];for(ut in _e[Ee])this.terminals_[ut]&&ut>Wn&&ht.push("'"+this.terminals_[ut]+"'");C.showPosition?zt="Parse error on line "+(ue+1)+`: -`+C.showPosition()+` -Expecting `+ht.join(", ")+", got '"+(this.terminals_[D]||D)+"'":zt="Parse error on line "+(ue+1)+": Unexpected "+(D==Or?"end of input":"'"+(this.terminals_[D]||D)+"'"),this.parseError(zt,{text:C.match,token:this.terminals_[D]||D,line:C.yylineno,loc:Mt,expected:ht})}if(H[0]instanceof Array&&H.length>1)throw new Error("Parse Error: multiple actions possible at state: "+Ee+", token: "+D);switch(H[0]){case 1:f.push(D),v.push(C.yytext),o.push(C.yylloc),f.push(H[1]),D=null,Gt?(D=Gt,Gt=null):(Ye=C.yyleng,u=C.yytext,ue=C.yylineno,Mt=C.yylloc,Dr>0&&Dr--);break;case 2:if(X=this.productions_[H[1]][1],Le.$=v[v.length-X],Le._$={first_line:o[o.length-(X||1)].first_line,last_line:o[o.length-1].last_line,first_column:o[o.length-(X||1)].first_column,last_column:o[o.length-1].last_column},jn&&(Le._$.range=[o[o.length-(X||1)].range[0],o[o.length-1].range[1]]),Yt=this.performAction.apply(Le,[u,Ye,ue,Se.yy,H[1],v,o].concat(Kn)),typeof Yt<"u")return Yt;X&&(f=f.slice(0,-1*X*2),v=v.slice(0,-1*X),o=o.slice(0,-1*X)),f.push(this.productions_[H[1]][0]),v.push(Le.$),o.push(Le._$),Ir=_e[f[f.length-2]][f[f.length-1]],f.push(Ir);break;case 3:return!0}}return!0}},zn=function(){var ce={EOF:1,parseError:function(m,f){if(this.yy.parser)this.yy.parser.parseError(m,f);else throw new Error(m)},setInput:function(p,m){return this.yy=m||this.yy||{},this._input=p,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var p=this._input[0];this.yytext+=p,this.yyleng++,this.offset++,this.match+=p,this.matched+=p;var m=p.match(/(?:\r\n?|\n).*/g);return m?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),p},unput:function(p){var m=p.length,f=p.split(/(?:\r\n?|\n)/g);this._input=p+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-m),this.offset-=m;var d=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),f.length-1&&(this.yylineno-=f.length-1);var v=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:f?(f.length===d.length?this.yylloc.first_column:0)+d[d.length-f.length].length-f[0].length:this.yylloc.first_column-m},this.options.ranges&&(this.yylloc.range=[v[0],v[0]+this.yyleng-m]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject:function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError("Lexical error on line "+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true). -`+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},less:function(p){this.unput(this.match.slice(p))},pastInput:function(){var p=this.matched.substr(0,this.matched.length-this.match.length);return(p.length>20?"...":"")+p.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var p=this.match;return p.length<20&&(p+=this._input.substr(0,20-p.length)),(p.substr(0,20)+(p.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var p=this.pastInput(),m=new Array(p.length+1).join("-");return p+this.upcomingInput()+` -`+m+"^"},test_match:function(p,m){var f,d,v;if(this.options.backtrack_lexer&&(v={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(v.yylloc.range=this.yylloc.range.slice(0))),d=p[0].match(/(?:\r\n?|\n).*/g),d&&(this.yylineno+=d.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:d?d[d.length-1].length-d[d.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+p[0].length},this.yytext+=p[0],this.match+=p[0],this.matches=p,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(p[0].length),this.matched+=p[0],f=this.performAction.call(this,this.yy,this,m,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),f)return f;if(this._backtrack){for(var o in v)this[o]=v[o];return!1}return!1},next:function(){if(this.done)return this.EOF;this._input||(this.done=!0);var p,m,f,d;this._more||(this.yytext="",this.match="");for(var v=this._currentRules(),o=0;om[0].length)){if(m=f,d=o,this.options.backtrack_lexer){if(p=this.test_match(f,v[o]),p!==!1)return p;if(this._backtrack){m=!1;continue}else return!1}else if(!this.options.flex)break}return m?(p=this.test_match(m,v[d]),p!==!1?p:!1):this._input===""?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+`. Unrecognized text. -`+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){var m=this.next();return m||this.lex()},begin:function(m){this.conditionStack.push(m)},popState:function(){var m=this.conditionStack.length-1;return m>0?this.conditionStack.pop():this.conditionStack[0]},_currentRules:function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},topState:function(m){return m=this.conditionStack.length-1-Math.abs(m||0),m>=0?this.conditionStack[m]:"INITIAL"},pushState:function(m){this.begin(m)},stateStackSize:function(){return this.conditionStack.length},options:{},performAction:function(m,f,d,v){function o(u,ue){return f.yytext=f.yytext.substring(u,f.yyleng-ue+u)}var _e=v;switch(d){case 0:if(f.yytext.slice(-2)==="\\\\"?(o(0,1),this.begin("mu")):f.yytext.slice(-1)==="\\"?(o(0,1),this.begin("emu")):this.begin("mu"),f.yytext)return 15;break;case 1:return 15;case 2:return this.popState(),15;break;case 3:return this.begin("raw"),15;break;case 4:return this.popState(),this.conditionStack[this.conditionStack.length-1]==="raw"?15:(o(5,9),18);case 5:return 15;case 6:return this.popState(),14;break;case 7:return 64;case 8:return 67;case 9:return 19;case 10:return this.popState(),this.begin("raw"),23;break;case 11:return 56;case 12:return 60;case 13:return 29;case 14:return 47;case 15:return this.popState(),44;break;case 16:return this.popState(),44;break;case 17:return 34;case 18:return 39;case 19:return 52;case 20:return 48;case 21:this.unput(f.yytext),this.popState(),this.begin("com");break;case 22:return this.popState(),14;break;case 23:return 48;case 24:return 72;case 25:return 71;case 26:return 71;case 27:return 86;case 28:break;case 29:return this.popState(),55;break;case 30:return this.popState(),33;break;case 31:return f.yytext=o(1,2).replace(/\\"/g,'"'),79;break;case 32:return f.yytext=o(1,2).replace(/\\'/g,"'"),79;break;case 33:return 84;case 34:return 81;case 35:return 81;case 36:return 82;case 37:return 83;case 38:return 80;case 39:return 74;case 40:return 76;case 41:return 71;case 42:return f.yytext=f.yytext.replace(/\\([\\\]])/g,"$1"),71;break;case 43:return"INVALID";case 44:return 5}},rules:[/^(?:[^\x00]*?(?=(\{\{)))/,/^(?:[^\x00]+)/,/^(?:[^\x00]{2,}?(?=(\{\{|\\\{\{|\\\\\{\{|$)))/,/^(?:\{\{\{\{(?=[^/]))/,/^(?:\{\{\{\{\/[^\s!"#%-,\.\/;->@\[-\^`\{-~]+(?=[=}\s\/.])\}\}\}\})/,/^(?:[^\x00]+?(?=(\{\{\{\{)))/,/^(?:[\s\S]*?--(~)?\}\})/,/^(?:\()/,/^(?:\))/,/^(?:\{\{\{\{)/,/^(?:\}\}\}\})/,/^(?:\{\{(~)?>)/,/^(?:\{\{(~)?#>)/,/^(?:\{\{(~)?#\*?)/,/^(?:\{\{(~)?\/)/,/^(?:\{\{(~)?\^\s*(~)?\}\})/,/^(?:\{\{(~)?\s*else\s*(~)?\}\})/,/^(?:\{\{(~)?\^)/,/^(?:\{\{(~)?\s*else\b)/,/^(?:\{\{(~)?\{)/,/^(?:\{\{(~)?&)/,/^(?:\{\{(~)?!--)/,/^(?:\{\{(~)?![\s\S]*?\}\})/,/^(?:\{\{(~)?\*?)/,/^(?:=)/,/^(?:\.\.)/,/^(?:\.(?=([=~}\s\/.)|])))/,/^(?:[\/.])/,/^(?:\s+)/,/^(?:\}(~)?\}\})/,/^(?:(~)?\}\})/,/^(?:"(\\["]|[^"])*")/,/^(?:'(\\[']|[^'])*')/,/^(?:@)/,/^(?:true(?=([~}\s)])))/,/^(?:false(?=([~}\s)])))/,/^(?:undefined(?=([~}\s)])))/,/^(?:null(?=([~}\s)])))/,/^(?:-?[0-9]+(?:\.[0-9]+)?(?=([~}\s)])))/,/^(?:as\s+\|)/,/^(?:\|)/,/^(?:([^\s!"#%-,\.\/;->@\[-\^`\{-~]+(?=([=~}\s\/.)|]))))/,/^(?:\[(\\\]|[^\]])*\])/,/^(?:.)/,/^(?:$)/],conditions:{mu:{rules:[7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44],inclusive:!1},emu:{rules:[2],inclusive:!1},com:{rules:[6],inclusive:!1},raw:{rules:[3,4,5],inclusive:!1},INITIAL:{rules:[0,1,44],inclusive:!0}}};return ce}();Ht.lexer=zn;function Ut(){this.yy={}}return Ut.prototype=Ht,Ht.Parser=Ut,new Ut}(),Et=Yi;var ar=["description","fileName","lineNumber","endLineNumber","message","name","number","stack"];function or(t,e){var r=e&&e.loc,n,i,s,a;r&&(n=r.start.line,i=r.end.line,s=r.start.column,a=r.end.column,t+=" - "+n+":"+s);for(var l=Error.prototype.constructor.call(this,t),c=0;chr,id:()=>zi,prepareBlock:()=>Xi,prepareMustache:()=>Qi,preparePartialBlock:()=>Zi,preparePath:()=>ji,prepareProgram:()=>$i,prepareRawBlock:()=>Ji,stripComment:()=>Ki,stripFlags:()=>Wi});function ur(t,e){if(e=e.path?e.path.original:e,t.path.original!==e){var r={loc:t.path.loc};throw new fe(t.path.original+" doesn't match "+e,r)}}function hr(t,e){this.source=t,this.start={line:e.first_line,column:e.first_column},this.end={line:e.last_line,column:e.last_column}}function zi(t){return/^\[.*\]$/.test(t)?t.substring(1,t.length-1):t}function Wi(t,e){return{open:t.charAt(2)==="~",close:e.charAt(e.length-3)==="~"}}function Ki(t){return t.replace(/^\{\{~?!-?-?/,"").replace(/-?-?~?\}\}$/,"")}function ji(t,e,r){r=this.locInfo(r);for(var n=t?"@":"",i=[],s=0,a=0,l=e.length;a0)throw new fe("Invalid path: "+n,{loc:r});c===".."&&s++}else i.push(c)}return{type:"PathExpression",data:t,depth:s,parts:i,original:n,loc:r}}function Qi(t,e,r,n,i,s){var a=n.charAt(3)||n.charAt(2),l=a!=="{"&&a!=="&",c=/\*/.test(n);return{type:c?"Decorator":"MustacheStatement",path:t,params:e,hash:r,escaped:l,strip:i,loc:this.locInfo(s)}}function Ji(t,e,r,n){ur(t,r),n=this.locInfo(n);var i={type:"Program",body:e,strip:{},loc:n};return{type:"BlockStatement",path:t.path,params:t.params,hash:t.hash,program:i,openStrip:{},inverseStrip:{},closeStrip:{},loc:n}}function Xi(t,e,r,n,i,s){n&&n.path&&ur(t,n);var a=/\*/.test(t.open);e.blockParams=t.blockParams;var l,c;if(r){if(a)throw new fe("Unexpected inverse block on decorator",r);r.chain&&(r.program.body[0].closeStrip=n.strip),c=r.strip,l=r.program}return i&&(i=l,l=e,e=i),{type:a?"DecoratorBlock":"BlockStatement",path:t.path,params:t.params,hash:t.hash,program:e,inverse:l,openStrip:t.strip,inverseStrip:c,closeStrip:n&&n.strip,loc:this.locInfo(s)}}function $i(t,e){if(!e&&t.length){var r=t[0].loc,n=t[t.length-1].loc;r&&n&&(e={source:r.source,start:{line:r.start.line,column:r.start.column},end:{line:n.end.line,column:n.end.column}})}return{type:"Program",body:t,strip:{},loc:e}}function Zi(t,e,r,n){return ur(t,r),{type:"PartialBlockStatement",name:t.path,params:t.params,hash:t.hash,program:e,openStrip:t.strip,closeStrip:r&&r.strip,loc:this.locInfo(n)}}var vn={};for(wt in st)Object.prototype.hasOwnProperty.call(st,wt)&&(vn[wt]=st[wt]);var wt;function xt(t,e){if(t.type==="Program")return t;Et.yy=vn,Et.yy.locInfo=function(n){return new hr(e&&e.srcName,n)};var r=Et.parse(t);return r}function pr(t,e){var r=xt(t,e),n=new Tn(e);return n.accept(r)}var xn={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:"&",andand:"\u2A55",And:"\u2A53",and:"\u2227",andd:"\u2A5C",andslope:"\u2A58",andv:"\u2A5A",ang:"\u2220",ange:"\u29A4",angle:"\u2220",angmsdaa:"\u29A8",angmsdab:"\u29A9",angmsdac:"\u29AA",angmsdad:"\u29AB",angmsdae:"\u29AC",angmsdaf:"\u29AD",angmsdag:"\u29AE",angmsdah:"\u29AF",angmsd:"\u2221",angrt:"\u221F",angrtvb:"\u22BE",angrtvbd:"\u299D",angsph:"\u2222",angst:"\xC5",angzarr:"\u237C",Aogon:"\u0104",aogon:"\u0105",Aopf:"\u{1D538}",aopf:"\u{1D552}",apacir:"\u2A6F",ap:"\u2248",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:"\u2305",Barwed:"\u2306",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:"\u2510",boxdL:"\u2555",boxDl:"\u2556",boxDL:"\u2557",boxdr:"\u250C",boxdR:"\u2552",boxDr:"\u2553",boxDR:"\u2554",boxh:"\u2500",boxH:"\u2550",boxhd:"\u252C",boxHd:"\u2564",boxhD:"\u2565",boxHD:"\u2566",boxhu:"\u2534",boxHu:"\u2567",boxhU:"\u2568",boxHU:"\u2569",boxminus:"\u229F",boxplus:"\u229E",boxtimes:"\u22A0",boxul:"\u2518",boxuL:"\u255B",boxUl:"\u255C",boxUL:"\u255D",boxur:"\u2514",boxuR:"\u2558",boxUr:"\u2559",boxUR:"\u255A",boxv:"\u2502",boxV:"\u2551",boxvh:"\u253C",boxvH:"\u256A",boxVh:"\u256B",boxVH:"\u256C",boxvl:"\u2524",boxvL:"\u2561",boxVl:"\u2562",boxVL:"\u2563",boxvr:"\u251C",boxvR:"\u255E",boxVr:"\u255F",boxVR:"\u2560",bprime:"\u2035",breve:"\u02D8",Breve:"\u02D8",brvbar:"\xA6",bscr:"\u{1D4B7}",Bscr:"\u212C",bsemi:"\u204F",bsim:"\u223D",bsime:"\u22CD",bsolb:"\u29C5",bsol:"\\",bsolhsub:"\u27C8",bull:"\u2022",bullet:"\u2022",bump:"\u224E",bumpE:"\u2AAE",bumpe:"\u224F",Bumpeq:"\u224E",bumpeq:"\u224F",Cacute:"\u0106",cacute:"\u0107",capand:"\u2A44",capbrcup:"\u2A49",capcap:"\u2A4B",cap:"\u2229",Cap:"\u22D2",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:"\u{1D520}",Cfr:"\u212D",CHcy:"\u0427",chcy:"\u0447",check:"\u2713",checkmark:"\u2713",Chi:"\u03A7",chi:"\u03C7",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",cir:"\u25CB",cirE:"\u29C3",cire:"\u2257",cirfnint:"\u2A10",cirmid:"\u2AEF",cirscir:"\u29C2",ClockwiseContourIntegral:"\u2232",CloseCurlyDoubleQuote:"\u201D",CloseCurlyQuote:"\u2019",clubs:"\u2663",clubsuit:"\u2663",colon:":",Colon:"\u2237",Colone:"\u2A74",colone:"\u2254",coloneq:"\u2254",comma:",",commat:"@",comp:"\u2201",compfn:"\u2218",complement:"\u2201",complexes:"\u2102",cong:"\u2245",congdot:"\u2A6D",Congruent:"\u2261",conint:"\u222E",Conint:"\u222F",ContourIntegral:"\u222E",copf:"\u{1D554}",Copf:"\u2102",coprod:"\u2210",Coproduct:"\u2210",copy:"\xA9",COPY:"\xA9",copysr:"\u2117",CounterClockwiseContourIntegral:"\u2233",crarr:"\u21B5",cross:"\u2717",Cross:"\u2A2F",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",cupbrcap:"\u2A48",cupcap:"\u2A46",CupCap:"\u224D",cup:"\u222A",Cup:"\u22D3",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:"\u2020",Dagger:"\u2021",daleth:"\u2138",darr:"\u2193",Darr:"\u21A1",dArr:"\u21D3",dash:"\u2010",Dashv:"\u2AE4",dashv:"\u22A3",dbkarow:"\u290F",dblac:"\u02DD",Dcaron:"\u010E",dcaron:"\u010F",Dcy:"\u0414",dcy:"\u0434",ddagger:"\u2021",ddarr:"\u21CA",DD:"\u2145",dd:"\u2146",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",DownArrowBar:"\u2913",downarrow:"\u2193",DownArrow:"\u2193",Downarrow:"\u21D3",DownArrowUpArrow:"\u21F5",DownBreve:"\u0311",downdownarrows:"\u21CA",downharpoonleft:"\u21C3",downharpoonright:"\u21C2",DownLeftRightVector:"\u2950",DownLeftTeeVector:"\u295E",DownLeftVectorBar:"\u2956",DownLeftVector:"\u21BD",DownRightTeeVector:"\u295F",DownRightVectorBar:"\u2957",DownRightVector:"\u21C1",DownTeeArrow:"\u21A7",DownTee:"\u22A4",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",Ecirc:"\xCA",ecirc:"\xEA",ecir:"\u2256",ecolon:"\u2255",Ecy:"\u042D",ecy:"\u044D",eDDot:"\u2A77",Edot:"\u0116",edot:"\u0117",eDot:"\u2251",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",emsp13:"\u2004",emsp14:"\u2005",emsp:"\u2003",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:"\u212F",Escr:"\u2130",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:"\u{1D4BB}",Fscr:"\u2131",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:"\u2265",gE:"\u2267",gEl:"\u2A8C",gel:"\u22DB",geq:"\u2265",geqq:"\u2267",geqslant:"\u2A7E",gescc:"\u2AA9",ges:"\u2A7E",gesdot:"\u2A80",gesdoto:"\u2A82",gesdotol:"\u2A84",gesl:"\u22DB\uFE00",gesles:"\u2A94",Gfr:"\u{1D50A}",gfr:"\u{1D524}",gg:"\u226B",Gg:"\u22D9",ggg:"\u22D9",gimel:"\u2137",GJcy:"\u0403",gjcy:"\u0453",gla:"\u2AA5",gl:"\u2277",glE:"\u2A92",glj:"\u2AA4",gnap:"\u2A8A",gnapprox:"\u2A8A",gne:"\u2A88",gnE:"\u2269",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",gtcc:"\u2AA7",gtcir:"\u2A7A",gt:">",GT:">",Gt:"\u226B",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",harrcir:"\u2948",harr:"\u2194",hArr:"\u21D4",harrw:"\u21AD",Hat:"^",hbar:"\u210F",Hcirc:"\u0124",hcirc:"\u0125",hearts:"\u2665",heartsuit:"\u2665",hellip:"\u2026",hercon:"\u22B9",hfr:"\u{1D525}",Hfr:"\u210C",HilbertSpace:"\u210B",hksearow:"\u2925",hkswarow:"\u2926",hoarr:"\u21FF",homtht:"\u223B",hookleftarrow:"\u21A9",hookrightarrow:"\u21AA",hopf:"\u{1D559}",Hopf:"\u210D",horbar:"\u2015",HorizontalLine:"\u2500",hscr:"\u{1D4BD}",Hscr:"\u210B",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:"\u{1D526}",Ifr:"\u2111",Igrave:"\xCC",igrave:"\xEC",ii:"\u2148",iiiint:"\u2A0C",iiint:"\u222D",iinfin:"\u29DC",iiota:"\u2129",IJlig:"\u0132",ijlig:"\u0133",Imacr:"\u012A",imacr:"\u012B",image:"\u2111",ImaginaryI:"\u2148",imagline:"\u2110",imagpart:"\u2111",imath:"\u0131",Im:"\u2111",imof:"\u22B7",imped:"\u01B5",Implies:"\u21D2",incare:"\u2105",in:"\u2208",infin:"\u221E",infintie:"\u29DD",inodot:"\u0131",intcal:"\u22BA",int:"\u222B",Int:"\u222C",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:"\u{1D4BE}",Iscr:"\u2110",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:"\u27E8",Lang:"\u27EA",langd:"\u2991",langle:"\u27E8",lap:"\u2A85",Laplacetrf:"\u2112",laquo:"\xAB",larrb:"\u21E4",larrbfs:"\u291F",larr:"\u2190",Larr:"\u219E",lArr:"\u21D0",larrfs:"\u291D",larrhk:"\u21A9",larrlp:"\u21AB",larrpl:"\u2939",larrsim:"\u2973",larrtl:"\u21A2",latail:"\u2919",lAtail:"\u291B",lat:"\u2AAB",late:"\u2AAD",lates:"\u2AAD\uFE00",lbarr:"\u290C",lBarr:"\u290E",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:"\u2264",lE:"\u2266",LeftAngleBracket:"\u27E8",LeftArrowBar:"\u21E4",leftarrow:"\u2190",LeftArrow:"\u2190",Leftarrow:"\u21D0",LeftArrowRightArrow:"\u21C6",leftarrowtail:"\u21A2",LeftCeiling:"\u2308",LeftDoubleBracket:"\u27E6",LeftDownTeeVector:"\u2961",LeftDownVectorBar:"\u2959",LeftDownVector:"\u21C3",LeftFloor:"\u230A",leftharpoondown:"\u21BD",leftharpoonup:"\u21BC",leftleftarrows:"\u21C7",leftrightarrow:"\u2194",LeftRightArrow:"\u2194",Leftrightarrow:"\u21D4",leftrightarrows:"\u21C6",leftrightharpoons:"\u21CB",leftrightsquigarrow:"\u21AD",LeftRightVector:"\u294E",LeftTeeArrow:"\u21A4",LeftTee:"\u22A3",LeftTeeVector:"\u295A",leftthreetimes:"\u22CB",LeftTriangleBar:"\u29CF",LeftTriangle:"\u22B2",LeftTriangleEqual:"\u22B4",LeftUpDownVector:"\u2951",LeftUpTeeVector:"\u2960",LeftUpVectorBar:"\u2958",LeftUpVector:"\u21BF",LeftVectorBar:"\u2952",LeftVector:"\u21BC",lEg:"\u2A8B",leg:"\u22DA",leq:"\u2264",leqq:"\u2266",leqslant:"\u2A7D",lescc:"\u2AA8",les:"\u2A7D",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",llarr:"\u21C7",ll:"\u226A",Ll:"\u22D8",llcorner:"\u231E",Lleftarrow:"\u21DA",llhard:"\u296B",lltri:"\u25FA",Lmidot:"\u013F",lmidot:"\u0140",lmoustache:"\u23B0",lmoust:"\u23B0",lnap:"\u2A89",lnapprox:"\u2A89",lne:"\u2A87",lnE:"\u2268",lneq:"\u2A87",lneqq:"\u2268",lnsim:"\u22E6",loang:"\u27EC",loarr:"\u21FD",lobrk:"\u27E6",longleftarrow:"\u27F5",LongLeftArrow:"\u27F5",Longleftarrow:"\u27F8",longleftrightarrow:"\u27F7",LongLeftRightArrow:"\u27F7",Longleftrightarrow:"\u27FA",longmapsto:"\u27FC",longrightarrow:"\u27F6",LongRightArrow:"\u27F6",Longrightarrow:"\u27F9",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:"\u{1D4C1}",Lscr:"\u2112",lsh:"\u21B0",Lsh:"\u21B0",lsim:"\u2272",lsime:"\u2A8D",lsimg:"\u2A8F",lsqb:"[",lsquo:"\u2018",lsquor:"\u201A",Lstrok:"\u0141",lstrok:"\u0142",ltcc:"\u2AA6",ltcir:"\u2A79",lt:"<",LT:"<",Lt:"\u226A",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",midast:"*",midcir:"\u2AF0",mid:"\u2223",middot:"\xB7",minusb:"\u229F",minus:"\u2212",minusd:"\u2238",minusdu:"\u2A2A",MinusPlus:"\u2213",mlcp:"\u2ADB",mldr:"\u2026",mnplus:"\u2213",models:"\u22A7",Mopf:"\u{1D544}",mopf:"\u{1D55E}",mp:"\u2213",mscr:"\u{1D4C2}",Mscr:"\u2133",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",natural:"\u266E",naturals:"\u2115",natur:"\u266E",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",nearhk:"\u2924",nearr:"\u2197",neArr:"\u21D7",nearrow:"\u2197",ne:"\u2260",nedot:"\u2250\u0338",NegativeMediumSpace:"\u200B",NegativeThickSpace:"\u200B",NegativeThinSpace:"\u200B",NegativeVeryThinSpace:"\u200B",nequiv:"\u2262",nesear:"\u2928",nesim:"\u2242\u0338",NestedGreaterGreater:"\u226B",NestedLessLess:"\u226A",NewLine:` -`,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:"\u21AE",nhArr:"\u21CE",nhpar:"\u2AF2",ni:"\u220B",nis:"\u22FC",nisd:"\u22FA",niv:"\u220B",NJcy:"\u040A",njcy:"\u045A",nlarr:"\u219A",nlArr:"\u21CD",nldr:"\u2025",nlE:"\u2266\u0338",nle:"\u2270",nleftarrow:"\u219A",nLeftarrow:"\u21CD",nleftrightarrow:"\u21AE",nLeftrightarrow:"\u21CE",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:"\u{1D55F}",Nopf:"\u2115",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",NotLeftTriangleBar:"\u29CF\u0338",NotLeftTriangle:"\u22EA",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",NotRightTriangleBar:"\u29D0\u0338",NotRightTriangle:"\u22EB",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",nparallel:"\u2226",npar:"\u2226",nparsl:"\u2AFD\u20E5",npart:"\u2202\u0338",npolint:"\u2A14",npr:"\u2280",nprcue:"\u22E0",nprec:"\u2280",npreceq:"\u2AAF\u0338",npre:"\u2AAF\u0338",nrarrc:"\u2933\u0338",nrarr:"\u219B",nrArr:"\u21CF",nrarrw:"\u219D\u0338",nrightarrow:"\u219B",nRightarrow:"\u21CF",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:"\u22AC",nvDash:"\u22AD",nVdash:"\u22AE",nVDash:"\u22AF",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:"\u2196",nwArr:"\u21D6",nwarrow:"\u2196",nwnear:"\u2927",Oacute:"\xD3",oacute:"\xF3",oast:"\u229B",Ocirc:"\xD4",ocirc:"\xF4",ocir:"\u229A",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",orarr:"\u21BB",Or:"\u2A54",or:"\u2228",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",otimesas:"\u2A36",Otimes:"\u2A37",otimes:"\u2297",Ouml:"\xD6",ouml:"\xF6",ovbar:"\u233D",OverBar:"\u203E",OverBrace:"\u23DE",OverBracket:"\u23B4",OverParenthesis:"\u23DC",para:"\xB6",parallel:"\u2225",par:"\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",plusacir:"\u2A23",plusb:"\u229E",pluscir:"\u2A22",plus:"+",plusdo:"\u2214",plusdu:"\u2A25",pluse:"\u2A72",PlusMinus:"\xB1",plusmn:"\xB1",plussim:"\u2A26",plustwo:"\u2A27",pm:"\xB1",Poincareplane:"\u210C",pointint:"\u2A15",popf:"\u{1D561}",Popf:"\u2119",pound:"\xA3",prap:"\u2AB7",Pr:"\u2ABB",pr:"\u227A",prcue:"\u227C",precapprox:"\u2AB7",prec:"\u227A",preccurlyeq:"\u227C",Precedes:"\u227A",PrecedesEqual:"\u2AAF",PrecedesSlantEqual:"\u227C",PrecedesTilde:"\u227E",preceq:"\u2AAF",precnapprox:"\u2AB9",precneqq:"\u2AB5",precnsim:"\u22E8",pre:"\u2AAF",prE:"\u2AB3",precsim:"\u227E",prime:"\u2032",Prime:"\u2033",primes:"\u2119",prnap:"\u2AB9",prnE:"\u2AB5",prnsim:"\u22E8",prod:"\u220F",Product:"\u220F",profalar:"\u232E",profline:"\u2312",profsurf:"\u2313",prop:"\u221D",Proportional:"\u221D",Proportion:"\u2237",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:"\u{1D562}",Qopf:"\u211A",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:"\u27E9",Rang:"\u27EB",rangd:"\u2992",range:"\u29A5",rangle:"\u27E9",raquo:"\xBB",rarrap:"\u2975",rarrb:"\u21E5",rarrbfs:"\u2920",rarrc:"\u2933",rarr:"\u2192",Rarr:"\u21A0",rArr:"\u21D2",rarrfs:"\u291E",rarrhk:"\u21AA",rarrlp:"\u21AC",rarrpl:"\u2945",rarrsim:"\u2974",Rarrtl:"\u2916",rarrtl:"\u21A3",rarrw:"\u219D",ratail:"\u291A",rAtail:"\u291C",ratio:"\u2236",rationals:"\u211A",rbarr:"\u290D",rBarr:"\u290F",RBarr:"\u2910",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",real:"\u211C",realine:"\u211B",realpart:"\u211C",reals:"\u211D",Re:"\u211C",rect:"\u25AD",reg:"\xAE",REG:"\xAE",ReverseElement:"\u220B",ReverseEquilibrium:"\u21CB",ReverseUpEquilibrium:"\u296F",rfisht:"\u297D",rfloor:"\u230B",rfr:"\u{1D52F}",Rfr:"\u211C",rHar:"\u2964",rhard:"\u21C1",rharu:"\u21C0",rharul:"\u296C",Rho:"\u03A1",rho:"\u03C1",rhov:"\u03F1",RightAngleBracket:"\u27E9",RightArrowBar:"\u21E5",rightarrow:"\u2192",RightArrow:"\u2192",Rightarrow:"\u21D2",RightArrowLeftArrow:"\u21C4",rightarrowtail:"\u21A3",RightCeiling:"\u2309",RightDoubleBracket:"\u27E7",RightDownTeeVector:"\u295D",RightDownVectorBar:"\u2955",RightDownVector:"\u21C2",RightFloor:"\u230B",rightharpoondown:"\u21C1",rightharpoonup:"\u21C0",rightleftarrows:"\u21C4",rightleftharpoons:"\u21CC",rightrightarrows:"\u21C9",rightsquigarrow:"\u219D",RightTeeArrow:"\u21A6",RightTee:"\u22A2",RightTeeVector:"\u295B",rightthreetimes:"\u22CC",RightTriangleBar:"\u29D0",RightTriangle:"\u22B3",RightTriangleEqual:"\u22B5",RightUpDownVector:"\u294F",RightUpTeeVector:"\u295C",RightUpVectorBar:"\u2954",RightUpVector:"\u21BE",RightVectorBar:"\u2953",RightVector:"\u21C0",ring:"\u02DA",risingdotseq:"\u2253",rlarr:"\u21C4",rlhar:"\u21CC",rlm:"\u200F",rmoustache:"\u23B1",rmoust:"\u23B1",rnmid:"\u2AEE",roang:"\u27ED",roarr:"\u21FE",robrk:"\u27E7",ropar:"\u2986",ropf:"\u{1D563}",Ropf:"\u211D",roplus:"\u2A2E",rotimes:"\u2A35",RoundImplies:"\u2970",rpar:")",rpargt:"\u2994",rppolint:"\u2A12",rrarr:"\u21C9",Rrightarrow:"\u21DB",rsaquo:"\u203A",rscr:"\u{1D4C7}",Rscr:"\u211B",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",scap:"\u2AB8",Scaron:"\u0160",scaron:"\u0161",Sc:"\u2ABC",sc:"\u227B",sccue:"\u227D",sce:"\u2AB0",scE:"\u2AB4",Scedil:"\u015E",scedil:"\u015F",Scirc:"\u015C",scirc:"\u015D",scnap:"\u2ABA",scnE:"\u2AB6",scnsim:"\u22E9",scpolint:"\u2A13",scsim:"\u227F",Scy:"\u0421",scy:"\u0441",sdotb:"\u22A1",sdot:"\u22C5",sdote:"\u2A66",searhk:"\u2925",searr:"\u2198",seArr:"\u21D8",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",solbar:"\u233F",solb:"\u29C4",sol:"/",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",square:"\u25A1",Square:"\u25A1",SquareIntersection:"\u2293",SquareSubset:"\u228F",SquareSubsetEqual:"\u2291",SquareSuperset:"\u2290",SquareSupersetEqual:"\u2292",SquareUnion:"\u2294",squarf:"\u25AA",squ:"\u25A1",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:"\u2282",Sub:"\u22D0",subdot:"\u2ABD",subE:"\u2AC5",sube:"\u2286",subedot:"\u2AC3",submult:"\u2AC1",subnE:"\u2ACB",subne:"\u228A",subplus:"\u2ABF",subrarr:"\u2979",subset:"\u2282",Subset:"\u22D0",subseteq:"\u2286",subseteqq:"\u2AC5",SubsetEqual:"\u2286",subsetneq:"\u228A",subsetneqq:"\u2ACB",subsim:"\u2AC7",subsub:"\u2AD5",subsup:"\u2AD3",succapprox:"\u2AB8",succ:"\u227B",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",sup1:"\xB9",sup2:"\xB2",sup3:"\xB3",sup:"\u2283",Sup:"\u22D1",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:"\u2283",Supset:"\u22D1",supseteq:"\u2287",supseteqq:"\u2AC6",supsetneq:"\u228B",supsetneqq:"\u2ACC",supsim:"\u2AC8",supsub:"\u2AD4",supsup:"\u2AD6",swarhk:"\u2926",swarr:"\u2199",swArr:"\u21D9",swarrow:"\u2199",swnwar:"\u292A",szlig:"\xDF",Tab:" ",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",ThinSpace:"\u2009",thinsp:"\u2009",thkap:"\u2248",thksim:"\u223C",THORN:"\xDE",thorn:"\xFE",tilde:"\u02DC",Tilde:"\u223C",TildeEqual:"\u2243",TildeFullEqual:"\u2245",TildeTilde:"\u2248",timesbar:"\u2A31",timesb:"\u22A0",times:"\xD7",timesd:"\u2A30",tint:"\u222D",toea:"\u2928",topbot:"\u2336",topcir:"\u2AF1",top:"\u22A4",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:"\u2191",Uarr:"\u219F",uArr:"\u21D1",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}",UpArrowBar:"\u2912",uparrow:"\u2191",UpArrow:"\u2191",Uparrow:"\u21D1",UpArrowDownArrow:"\u21C5",updownarrow:"\u2195",UpDownArrow:"\u2195",Updownarrow:"\u21D5",UpEquilibrium:"\u296E",upharpoonleft:"\u21BF",upharpoonright:"\u21BE",uplus:"\u228E",UpperLeftArrow:"\u2196",UpperRightArrow:"\u2197",upsi:"\u03C5",Upsi:"\u03D2",upsih:"\u03D2",Upsilon:"\u03A5",upsilon:"\u03C5",UpTeeArrow:"\u21A5",UpTee:"\u22A5",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:"\u2195",vArr:"\u21D5",varrho:"\u03F1",varsigma:"\u03C2",varsubsetneq:"\u228A\uFE00",varsubsetneqq:"\u2ACB\uFE00",varsupsetneq:"\u228B\uFE00",varsupsetneqq:"\u2ACC\uFE00",vartheta:"\u03D1",vartriangleleft:"\u22B2",vartriangleright:"\u22B3",vBar:"\u2AE8",Vbar:"\u2AEB",vBarv:"\u2AE9",Vcy:"\u0412",vcy:"\u0432",vdash:"\u22A2",vDash:"\u22A8",Vdash:"\u22A9",VDash:"\u22AB",Vdashl:"\u2AE6",veebar:"\u22BB",vee:"\u2228",Vee:"\u22C1",veeeq:"\u225A",vellip:"\u22EE",verbar:"|",Verbar:"\u2016",vert:"|",Vert:"\u2016",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:"\u2227",Wedge:"\u22C0",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:"\u27F7",xhArr:"\u27FA",Xi:"\u039E",xi:"\u03BE",xlarr:"\u27F5",xlArr:"\u27F8",xmap:"\u27FC",xnis:"\u22FB",xodot:"\u2A00",Xopf:"\u{1D54F}",xopf:"\u{1D569}",xoplus:"\u2A01",xotime:"\u2A02",xrarr:"\u27F6",xrArr:"\u27F9",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:"\xFF",Yuml:"\u0178",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:"\u{1D537}",Zfr:"\u2128",ZHcy:"\u0416",zhcy:"\u0436",zigrarr:"\u21DD",zopf:"\u{1D56B}",Zopf:"\u2124",Zscr:"\u{1D4B5}",zscr:"\u{1D4CF}",zwj:"\u200D",zwnj:"\u200C"},es=/^#[xX]([A-Fa-f0-9]+)$/,ts=/^#([0-9]+)$/,rs=/^([A-Za-z0-9]+)$/,kt=function(){function t(e){this.named=e}return t.prototype.parse=function(e){if(e){var r=e.match(es);if(r)return String.fromCharCode(parseInt(r[1],16));if(r=e.match(ts),r)return String.fromCharCode(parseInt(r[1],10));if(r=e.match(rs),r)return this.named[r[1]]}},t}(),ns=/[\t\n\f ]/,is=/[A-Za-z]/,ss=/\r\n?/g;function L(t){return ns.test(t)}function wn(t){return is.test(t)}function as(t){return t.replace(ss,` -`)}var fr=function(){function t(e,r,n){n===void 0&&(n="precompile"),this.delegate=e,this.entityParser=r,this.mode=n,this.state="beforeData",this.line=-1,this.column=-1,this.input="",this.index=-1,this.tagNameBuffer="",this.states={beforeData:function(){var i=this.peek();if(i==="<"&&!this.isIgnoredEndTag())this.transitionTo("tagOpen"),this.markTagStart(),this.consume();else{if(this.mode==="precompile"&&i===` -`){var s=this.tagNameBuffer.toLowerCase();(s==="pre"||s==="textarea")&&this.consume()}this.transitionTo("data"),this.delegate.beginData()}},data:function(){var i=this.peek(),s=this.tagNameBuffer;i==="<"&&!this.isIgnoredEndTag()?(this.delegate.finishData(),this.transitionTo("tagOpen"),this.markTagStart(),this.consume()):i==="&"&&s!=="script"&&s!=="style"?(this.consume(),this.delegate.appendToData(this.consumeCharRef()||"&")):(this.consume(),this.delegate.appendToData(i))},tagOpen:function(){var i=this.consume();i==="!"?this.transitionTo("markupDeclarationOpen"):i==="/"?this.transitionTo("endTagOpen"):(i==="@"||i===":"||wn(i))&&(this.transitionTo("tagName"),this.tagNameBuffer="",this.delegate.beginStartTag(),this.appendToTagName(i))},markupDeclarationOpen:function(){var i=this.consume();if(i==="-"&&this.peek()==="-")this.consume(),this.transitionTo("commentStart"),this.delegate.beginComment();else{var s=i.toUpperCase()+this.input.substring(this.index,this.index+6).toUpperCase();s==="DOCTYPE"&&(this.consume(),this.consume(),this.consume(),this.consume(),this.consume(),this.consume(),this.transitionTo("doctype"),this.delegate.beginDoctype&&this.delegate.beginDoctype())}},doctype:function(){var i=this.consume();L(i)&&this.transitionTo("beforeDoctypeName")},beforeDoctypeName:function(){var i=this.consume();L(i)||(this.transitionTo("doctypeName"),this.delegate.appendToDoctypeName&&this.delegate.appendToDoctypeName(i.toLowerCase()))},doctypeName:function(){var i=this.consume();L(i)?this.transitionTo("afterDoctypeName"):i===">"?(this.delegate.endDoctype&&this.delegate.endDoctype(),this.transitionTo("beforeData")):this.delegate.appendToDoctypeName&&this.delegate.appendToDoctypeName(i.toLowerCase())},afterDoctypeName:function(){var i=this.consume();if(!L(i))if(i===">")this.delegate.endDoctype&&this.delegate.endDoctype(),this.transitionTo("beforeData");else{var s=i.toUpperCase()+this.input.substring(this.index,this.index+5).toUpperCase(),a=s.toUpperCase()==="PUBLIC",l=s.toUpperCase()==="SYSTEM";(a||l)&&(this.consume(),this.consume(),this.consume(),this.consume(),this.consume(),this.consume()),a?this.transitionTo("afterDoctypePublicKeyword"):l&&this.transitionTo("afterDoctypeSystemKeyword")}},afterDoctypePublicKeyword:function(){var i=this.peek();L(i)?(this.transitionTo("beforeDoctypePublicIdentifier"),this.consume()):i==='"'?(this.transitionTo("doctypePublicIdentifierDoubleQuoted"),this.consume()):i==="'"?(this.transitionTo("doctypePublicIdentifierSingleQuoted"),this.consume()):i===">"&&(this.consume(),this.delegate.endDoctype&&this.delegate.endDoctype(),this.transitionTo("beforeData"))},doctypePublicIdentifierDoubleQuoted:function(){var i=this.consume();i==='"'?this.transitionTo("afterDoctypePublicIdentifier"):i===">"?(this.delegate.endDoctype&&this.delegate.endDoctype(),this.transitionTo("beforeData")):this.delegate.appendToDoctypePublicIdentifier&&this.delegate.appendToDoctypePublicIdentifier(i)},doctypePublicIdentifierSingleQuoted:function(){var i=this.consume();i==="'"?this.transitionTo("afterDoctypePublicIdentifier"):i===">"?(this.delegate.endDoctype&&this.delegate.endDoctype(),this.transitionTo("beforeData")):this.delegate.appendToDoctypePublicIdentifier&&this.delegate.appendToDoctypePublicIdentifier(i)},afterDoctypePublicIdentifier:function(){var i=this.consume();L(i)?this.transitionTo("betweenDoctypePublicAndSystemIdentifiers"):i===">"?(this.delegate.endDoctype&&this.delegate.endDoctype(),this.transitionTo("beforeData")):i==='"'?this.transitionTo("doctypeSystemIdentifierDoubleQuoted"):i==="'"&&this.transitionTo("doctypeSystemIdentifierSingleQuoted")},betweenDoctypePublicAndSystemIdentifiers:function(){var i=this.consume();L(i)||(i===">"?(this.delegate.endDoctype&&this.delegate.endDoctype(),this.transitionTo("beforeData")):i==='"'?this.transitionTo("doctypeSystemIdentifierDoubleQuoted"):i==="'"&&this.transitionTo("doctypeSystemIdentifierSingleQuoted"))},doctypeSystemIdentifierDoubleQuoted:function(){var i=this.consume();i==='"'?this.transitionTo("afterDoctypeSystemIdentifier"):i===">"?(this.delegate.endDoctype&&this.delegate.endDoctype(),this.transitionTo("beforeData")):this.delegate.appendToDoctypeSystemIdentifier&&this.delegate.appendToDoctypeSystemIdentifier(i)},doctypeSystemIdentifierSingleQuoted:function(){var i=this.consume();i==="'"?this.transitionTo("afterDoctypeSystemIdentifier"):i===">"?(this.delegate.endDoctype&&this.delegate.endDoctype(),this.transitionTo("beforeData")):this.delegate.appendToDoctypeSystemIdentifier&&this.delegate.appendToDoctypeSystemIdentifier(i)},afterDoctypeSystemIdentifier:function(){var i=this.consume();L(i)||i===">"&&(this.delegate.endDoctype&&this.delegate.endDoctype(),this.transitionTo("beforeData"))},commentStart:function(){var i=this.consume();i==="-"?this.transitionTo("commentStartDash"):i===">"?(this.delegate.finishComment(),this.transitionTo("beforeData")):(this.delegate.appendToCommentData(i),this.transitionTo("comment"))},commentStartDash:function(){var i=this.consume();i==="-"?this.transitionTo("commentEnd"):i===">"?(this.delegate.finishComment(),this.transitionTo("beforeData")):(this.delegate.appendToCommentData("-"),this.transitionTo("comment"))},comment:function(){var i=this.consume();i==="-"?this.transitionTo("commentEndDash"):this.delegate.appendToCommentData(i)},commentEndDash:function(){var i=this.consume();i==="-"?this.transitionTo("commentEnd"):(this.delegate.appendToCommentData("-"+i),this.transitionTo("comment"))},commentEnd:function(){var i=this.consume();i===">"?(this.delegate.finishComment(),this.transitionTo("beforeData")):(this.delegate.appendToCommentData("--"+i),this.transitionTo("comment"))},tagName:function(){var i=this.consume();L(i)?this.transitionTo("beforeAttributeName"):i==="/"?this.transitionTo("selfClosingStartTag"):i===">"?(this.delegate.finishTag(),this.transitionTo("beforeData")):this.appendToTagName(i)},endTagName:function(){var i=this.consume();L(i)?(this.transitionTo("beforeAttributeName"),this.tagNameBuffer=""):i==="/"?(this.transitionTo("selfClosingStartTag"),this.tagNameBuffer=""):i===">"?(this.delegate.finishTag(),this.transitionTo("beforeData"),this.tagNameBuffer=""):this.appendToTagName(i)},beforeAttributeName:function(){var i=this.peek();if(L(i)){this.consume();return}else i==="/"?(this.transitionTo("selfClosingStartTag"),this.consume()):i===">"?(this.consume(),this.delegate.finishTag(),this.transitionTo("beforeData")):i==="="?(this.delegate.reportSyntaxError("attribute name cannot start with equals sign"),this.transitionTo("attributeName"),this.delegate.beginAttribute(),this.consume(),this.delegate.appendToAttributeName(i)):(this.transitionTo("attributeName"),this.delegate.beginAttribute())},attributeName:function(){var i=this.peek();L(i)?(this.transitionTo("afterAttributeName"),this.consume()):i==="/"?(this.delegate.beginAttributeValue(!1),this.delegate.finishAttributeValue(),this.consume(),this.transitionTo("selfClosingStartTag")):i==="="?(this.transitionTo("beforeAttributeValue"),this.consume()):i===">"?(this.delegate.beginAttributeValue(!1),this.delegate.finishAttributeValue(),this.consume(),this.delegate.finishTag(),this.transitionTo("beforeData")):i==='"'||i==="'"||i==="<"?(this.delegate.reportSyntaxError(i+" is not a valid character within attribute names"),this.consume(),this.delegate.appendToAttributeName(i)):(this.consume(),this.delegate.appendToAttributeName(i))},afterAttributeName:function(){var i=this.peek();if(L(i)){this.consume();return}else i==="/"?(this.delegate.beginAttributeValue(!1),this.delegate.finishAttributeValue(),this.consume(),this.transitionTo("selfClosingStartTag")):i==="="?(this.consume(),this.transitionTo("beforeAttributeValue")):i===">"?(this.delegate.beginAttributeValue(!1),this.delegate.finishAttributeValue(),this.consume(),this.delegate.finishTag(),this.transitionTo("beforeData")):(this.delegate.beginAttributeValue(!1),this.delegate.finishAttributeValue(),this.transitionTo("attributeName"),this.delegate.beginAttribute(),this.consume(),this.delegate.appendToAttributeName(i))},beforeAttributeValue:function(){var i=this.peek();L(i)?this.consume():i==='"'?(this.transitionTo("attributeValueDoubleQuoted"),this.delegate.beginAttributeValue(!0),this.consume()):i==="'"?(this.transitionTo("attributeValueSingleQuoted"),this.delegate.beginAttributeValue(!0),this.consume()):i===">"?(this.delegate.beginAttributeValue(!1),this.delegate.finishAttributeValue(),this.consume(),this.delegate.finishTag(),this.transitionTo("beforeData")):(this.transitionTo("attributeValueUnquoted"),this.delegate.beginAttributeValue(!1),this.consume(),this.delegate.appendToAttributeValue(i))},attributeValueDoubleQuoted:function(){var i=this.consume();i==='"'?(this.delegate.finishAttributeValue(),this.transitionTo("afterAttributeValueQuoted")):i==="&"?this.delegate.appendToAttributeValue(this.consumeCharRef()||"&"):this.delegate.appendToAttributeValue(i)},attributeValueSingleQuoted:function(){var i=this.consume();i==="'"?(this.delegate.finishAttributeValue(),this.transitionTo("afterAttributeValueQuoted")):i==="&"?this.delegate.appendToAttributeValue(this.consumeCharRef()||"&"):this.delegate.appendToAttributeValue(i)},attributeValueUnquoted:function(){var i=this.peek();L(i)?(this.delegate.finishAttributeValue(),this.consume(),this.transitionTo("beforeAttributeName")):i==="/"?(this.delegate.finishAttributeValue(),this.consume(),this.transitionTo("selfClosingStartTag")):i==="&"?(this.consume(),this.delegate.appendToAttributeValue(this.consumeCharRef()||"&")):i===">"?(this.delegate.finishAttributeValue(),this.consume(),this.delegate.finishTag(),this.transitionTo("beforeData")):(this.consume(),this.delegate.appendToAttributeValue(i))},afterAttributeValueQuoted:function(){var i=this.peek();L(i)?(this.consume(),this.transitionTo("beforeAttributeName")):i==="/"?(this.consume(),this.transitionTo("selfClosingStartTag")):i===">"?(this.consume(),this.delegate.finishTag(),this.transitionTo("beforeData")):this.transitionTo("beforeAttributeName")},selfClosingStartTag:function(){var i=this.peek();i===">"?(this.consume(),this.delegate.markTagAsSelfClosing(),this.delegate.finishTag(),this.transitionTo("beforeData")):this.transitionTo("beforeAttributeName")},endTagOpen:function(){var i=this.consume();(i==="@"||i===":"||wn(i))&&(this.transitionTo("endTagName"),this.tagNameBuffer="",this.delegate.beginEndTag(),this.appendToTagName(i))}},this.reset()}return t.prototype.reset=function(){this.transitionTo("beforeData"),this.input="",this.tagNameBuffer="",this.index=0,this.line=1,this.column=0,this.delegate.reset()},t.prototype.transitionTo=function(e){this.state=e},t.prototype.tokenize=function(e){this.reset(),this.tokenizePart(e),this.tokenizeEOF()},t.prototype.tokenizePart=function(e){for(this.input+=as(e);this.index"||e==="style"&&this.input.substring(this.index,this.index+8)!==""||e==="script"&&this.input.substring(this.index,this.index+9)!=="<\/script>"},t}(),Ul=function(){function t(e,r){r===void 0&&(r={}),this.options=r,this.token=null,this.startLine=1,this.startColumn=0,this.tokens=[],this.tokenizer=new fr(this,e,r.mode),this._currentAttribute=void 0}return t.prototype.tokenize=function(e){return this.tokens=[],this.tokenizer.tokenize(e),this.tokens},t.prototype.tokenizePart=function(e){return this.tokens=[],this.tokenizer.tokenizePart(e),this.tokens},t.prototype.tokenizeEOF=function(){return this.tokens=[],this.tokenizer.tokenizeEOF(),this.tokens[0]},t.prototype.reset=function(){this.token=null,this.startLine=1,this.startColumn=0},t.prototype.current=function(){var e=this.token;if(e===null)throw new Error("token was unexpectedly null");if(arguments.length===0)return e;for(var r=0;r]/,Gl=new RegExp(ls.source,"g");var Pt=Object.create(null),cs="area base br col command embed hr img input keygen link meta param source track wbr";cs.split(" ").forEach(t=>{Pt[t]=!0});var Y=Object.freeze({line:1,column:0}),kn=Object.freeze({source:"(synthetic)",start:Y,end:Y});var ec=Object.freeze({source:"(temporary)",start:Y,end:Y}),Fe=Object.freeze({source:"(nonexistent)",start:Y,end:Y}),ee=Object.freeze({source:"(broken)",start:Y,end:Y});var Nt=class t{constructor(e){this.loc=e.loc,this.chars=e.chars}static synthetic(e){let r=P.synthetic(e);return new t({loc:r,chars:e})}static load(e,r){return new t({loc:P.load(e,r[1]),chars:r[0]})}getString(){return this.chars}serialize(){return[this.chars,this.loc.serialize()]}};var Pe="MATCH_ANY",At="IS_INVISIBLE",dr=class{constructor(e){this._whens=e}first(e){for(let r of this._whens){let n=r.match(e);if(He(n))return n[0]}return null}},Ct=class{constructor(){this._map=new Map}get(e,r){let n=this._map.get(e);return n||(n=r(),this._map.set(e,n),n)}add(e,r){this._map.set(e,r)}match(e){let r=us(e),n=[],i=this._map.get(r),s=this._map.get(Pe);return i&&n.push(i),s&&n.push(s),n}};function _t(t){return t(new mr).check()}var mr=class{constructor(){this._whens=new Ct}check(){return(e,r)=>this.matchFor(e.kind,r.kind)(e,r)}matchFor(e,r){let n=this._whens.match(e);return new dr(n).first(r)}when(e,r,n){return this._whens.get(e,()=>new Ct).add(r,n),this}};function us(t){switch(t){case"Broken":case"InternalsSynthetic":case"NonExistent":return At;default:return t}}var te="BROKEN",me=class t{constructor(e){this.data=e}static forHbsPos(e,r){return new re(e,r,null).wrap()}static broken(e=Y){return new Me("Broken",e).wrap()}get offset(){let e=this.data.toCharPos();return e===null?null:e.offset}eql(e){return hs(this.data,e.data)}until(e){return z(this.data,e.data)}move(e){let r=this.data.toCharPos();if(r===null)return t.broken();{let n=r.offset+e;return r.source.check(n)?new ge(r.source,n).wrap():t.broken()}}collapsed(){return z(this.data,this.data)}toJSON(){return this.data.toJSON()}},ge=class{constructor(e,r){this.source=e,this.charPos=r,this.kind="CharPosition",this._locPos=null}toCharPos(){return this}toJSON(){let e=this.toHbsPos();return e===null?Y:e.toJSON()}wrap(){return new me(this)}get offset(){return this.charPos}toHbsPos(){let e=this._locPos;if(e===null){let r=this.source.hbsPosFor(this.charPos);r===null?this._locPos=e=te:this._locPos=e=new re(this.source,r,this.charPos)}return e===te?null:e}},re=class{constructor(e,r,n=null){this.source=e,this.hbsPos=r,this.kind="HbsPosition",this._charPos=n===null?null:new ge(e,n)}toCharPos(){let e=this._charPos;if(e===null){let r=this.source.charPosFor(this.hbsPos);r===null?this._charPos=e=te:this._charPos=e=new ge(this.source,r)}return e===te?null:e}toJSON(){return this.hbsPos}wrap(){return new me(this)}toHbsPos(){return this}},Me=class{constructor(e,r){this.kind=e,this.pos=r}toCharPos(){return null}toJSON(){return this.pos}wrap(){return new me(this)}get offset(){return null}},hs=_t(t=>t.when("HbsPosition","HbsPosition",({hbsPos:e},{hbsPos:r})=>e.column===r.column&&e.line===r.line).when("CharPosition","CharPosition",({charPos:e},{charPos:r})=>e===r).when("CharPosition","HbsPosition",({offset:e},r)=>{var n;return e===((n=r.toCharPos())===null||n===void 0?void 0:n.offset)}).when("HbsPosition","CharPosition",(e,{offset:r})=>{var n;return((n=e.toCharPos())===null||n===void 0?void 0:n.offset)===r}).when(Pe,Pe,()=>!1));var P=class t{constructor(e){this.data=e,this.isInvisible=e.kind!=="CharPosition"&&e.kind!=="HbsPosition"}static get NON_EXISTENT(){return new ne("NonExistent",Fe).wrap()}static load(e,r){if(typeof r=="number")return t.forCharPositions(e,r,r);if(typeof r=="string")return t.synthetic(r);if(Array.isArray(r))return t.forCharPositions(e,r[0],r[1]);if(r==="NonExistent")return t.NON_EXISTENT;if(r==="Broken")return t.broken(ee);bn(r)}static forHbsLoc(e,r){let n=new re(e,r.start),i=new re(e,r.end);return new ot(e,{start:n,end:i},r).wrap()}static forCharPositions(e,r,n){let i=new ge(e,r),s=new ge(e,n);return new at(e,{start:i,end:s}).wrap()}static synthetic(e){return new ne("InternalsSynthetic",Fe,e).wrap()}static broken(e=ee){return new ne("Broken",e).wrap()}getStart(){return this.data.getStart().wrap()}getEnd(){return this.data.getEnd().wrap()}get loc(){let e=this.data.toHbsSpan();return e===null?ee:e.toHbsLoc()}get module(){return this.data.getModule()}get startPosition(){return this.loc.start}get endPosition(){return this.loc.end}toJSON(){return this.loc}withStart(e){return z(e.data,this.data.getEnd())}withEnd(e){return z(this.data.getStart(),e.data)}asString(){return this.data.asString()}toSlice(e){let r=this.data.asString();return!1&&e!==void 0&&r!==e&&console.warn(`unexpectedly found ${JSON.stringify(r)} when slicing source, but expected ${JSON.stringify(e)}`),new Nt({loc:this,chars:e||r})}get start(){return this.loc.start}set start(e){this.data.locDidUpdate({start:e})}get end(){return this.loc.end}set end(e){this.data.locDidUpdate({end:e})}get source(){return this.module}collapse(e){switch(e){case"start":return this.getStart().collapsed();case"end":return this.getEnd().collapsed()}}extend(e){return z(this.data.getStart(),e.data.getEnd())}serialize(){return this.data.serialize()}slice({skipStart:e=0,skipEnd:r=0}){return z(this.getStart().move(e).data,this.getEnd().move(-r).data)}sliceStartChars({skipStart:e=0,chars:r}){return z(this.getStart().move(e).data,this.getStart().move(e+r).data)}sliceEndChars({skipEnd:e=0,chars:r}){return z(this.getEnd().move(e-r).data,this.getStart().move(-e).data)}},at=class{constructor(e,r){this.source=e,this.charPositions=r,this.kind="CharPosition",this._locPosSpan=null}wrap(){return new P(this)}asString(){return this.source.slice(this.charPositions.start.charPos,this.charPositions.end.charPos)}getModule(){return this.source.module}getStart(){return this.charPositions.start}getEnd(){return this.charPositions.end}locDidUpdate(){}toHbsSpan(){let e=this._locPosSpan;if(e===null){let r=this.charPositions.start.toHbsPos(),n=this.charPositions.end.toHbsPos();r===null||n===null?e=this._locPosSpan=te:e=this._locPosSpan=new ot(this.source,{start:r,end:n})}return e===te?null:e}serialize(){let{start:{charPos:e},end:{charPos:r}}=this.charPositions;return e===r?e:[e,r]}toCharPosSpan(){return this}},ot=class{constructor(e,r,n=null){this.source=e,this.hbsPositions=r,this.kind="HbsPosition",this._charPosSpan=null,this._providedHbsLoc=n}serialize(){let e=this.toCharPosSpan();return e===null?"Broken":e.wrap().serialize()}wrap(){return new P(this)}updateProvided(e,r){this._providedHbsLoc&&(this._providedHbsLoc[r]=e),this._charPosSpan=null,this._providedHbsLoc={start:e,end:e}}locDidUpdate({start:e,end:r}){e!==void 0&&(this.updateProvided(e,"start"),this.hbsPositions.start=new re(this.source,e,null)),r!==void 0&&(this.updateProvided(r,"end"),this.hbsPositions.end=new re(this.source,r,null))}asString(){let e=this.toCharPosSpan();return e===null?"":e.asString()}getModule(){return this.source.module}getStart(){return this.hbsPositions.start}getEnd(){return this.hbsPositions.end}toHbsLoc(){return{start:this.hbsPositions.start.hbsPos,end:this.hbsPositions.end.hbsPos}}toHbsSpan(){return this}toCharPosSpan(){let e=this._charPosSpan;if(e===null){let r=this.hbsPositions.start.toCharPos(),n=this.hbsPositions.end.toCharPos();if(r&&n)e=this._charPosSpan=new at(this.source,{start:r,end:n});else return e=this._charPosSpan=te,null}return e===te?null:e}},ne=class{constructor(e,r,n=null){this.kind=e,this.loc=r,this.string=n}serialize(){switch(this.kind){case"Broken":case"NonExistent":return this.kind;case"InternalsSynthetic":return this.string||""}}wrap(){return new P(this)}asString(){return this.string||""}locDidUpdate({start:e,end:r}){e!==void 0&&(this.loc.start=e),r!==void 0&&(this.loc.end=r)}getModule(){return"an unknown module"}getStart(){return new Me(this.kind,this.loc.start)}getEnd(){return new Me(this.kind,this.loc.end)}toCharPosSpan(){return this}toHbsSpan(){return null}toHbsLoc(){return ee}},z=_t(t=>t.when("HbsPosition","HbsPosition",(e,r)=>new ot(e.source,{start:e,end:r}).wrap()).when("CharPosition","CharPosition",(e,r)=>new at(e.source,{start:e,end:r}).wrap()).when("CharPosition","HbsPosition",(e,r)=>{let n=r.toCharPos();return n===null?new ne("Broken",ee).wrap():z(e,n)}).when("HbsPosition","CharPosition",(e,r)=>{let n=e.toCharPos();return n===null?new ne("Broken",ee).wrap():z(n,r)}).when(At,Pe,e=>new ne(e.kind,ee).wrap()).when(Pe,At,(e,r)=>new ne(r.kind,ee).wrap()));var ie=class{constructor(e,r="an unknown module"){this.source=e,this.module=r}check(e){return e>=0&&e<=this.source.length}slice(e,r){return this.source.slice(e,r)}offsetFor(e,r){return me.forHbsPos(this,{line:e,column:r})}spanFor({start:e,end:r}){return P.forHbsLoc(this,{start:{line:e.line,column:e.column},end:{line:r.line,column:r.column}})}hbsPosFor(e){let r=0,n=0;if(e>this.source.length)return null;for(;;){let i=this.source.indexOf(` -`,n);if(e<=i||i===-1)return{line:r+1,column:e-n};r+=1,n=i+1}}charPosFor(e){let{line:r,column:n}=e,s=this.source.length,a=0,l=0;for(;;){if(l>=s)return s;let c=this.source.indexOf(` -`,l);if(c===-1&&(c=this.source.length),a===r-1){if(l+n>c)return c;if(!1){let h=this.hbsPosFor(l+n)}return l+n}else{if(c===-1)return 0;a+=1,l=c+1}}}};function S(t,e){let{module:r,loc:n}=e,{line:i,column:s}=n.start,a=e.asString(),l=a?` +var rs=Object.defineProperty;var Fr=t=>{throw TypeError(t)};var zt=(t,e)=>{for(var r in e)rs(t,r,{get:e[r],enumerable:!0})};var Mr=(t,e,r)=>e.has(t)||Fr("Cannot "+r);var $=(t,e,r)=>(Mr(t,e,"read from private field"),r?r.call(t):e.get(t)),Gt=(t,e,r)=>e.has(t)?Fr("Cannot add the same private member more than once"):e instanceof WeakSet?e.add(t):e.set(t,r),Yt=(t,e,r,n)=>(Mr(t,e,"write to private field"),n?n.call(t,r):e.set(t,r),r);var Rr={};zt(Rr,{languages:()=>Sn,parsers:()=>Ir,printers:()=>pa});var ns=(t,e,r,n)=>{if(!(t&&e==null))return e.replaceAll?e.replaceAll(r,n):r.global?e.replace(r,n):e.split(r).join(n)},Kt=ns;var ze="string",Ge="array",Ye="cursor",Le="indent",_e="align",Ke="trim",De="group",Oe="fill",Be="if-break",We="indent-if-break",$e="line-suffix",je="line-suffix-boundary",ee="line",Qe="label",Ie="break-parent",ft=new Set([Ye,Le,_e,Ke,De,Oe,Be,We,$e,je,ee,Qe,Ie]);function ss(t){if(typeof t=="string")return ze;if(Array.isArray(t))return Ge;if(!t)return;let{type:e}=t;if(ft.has(e))return e}var Xe=ss;var is=t=>new Intl.ListFormat("en-US",{type:"disjunction"}).format(t);function as(t){let e=t===null?"null":typeof t;if(e!=="string"&&e!=="object")return`Unexpected doc '${e}', +Expected it to be 'string' or 'object'.`;if(Xe(t))throw new Error("doc is valid.");let r=Object.prototype.toString.call(t);if(r!=="[object Object]")return`Unexpected doc '${r}'.`;let n=is([...ft].map(s=>`'${s}'`));return`Unexpected doc.type '${t.type}'. +Expected it to be ${n}.`}var Wt=class extends Error{name="InvalidDocError";constructor(e){super(as(e)),this.doc=e}},$t=Wt;var zr=()=>{},be=zr,dt=zr;function R(t){return be(t),{type:Le,contents:t}}function os(t,e){return be(e),{type:_e,contents:e,n:t}}function q(t,e={}){return be(t),dt(e.expandedStates,!0),{type:De,id:e.id,contents:t,break:!!e.shouldBreak,expandedStates:e.expandedStates}}function jt(t){return os(-1,t)}function Qt(t){return dt(t),{type:Oe,parts:t}}function Xt(t,e="",r={}){return be(t),e!==""&&be(e),{type:Be,breakContents:t,flatContents:e,groupId:r.groupId}}var Gr={type:Ie};var ls={type:ee,hard:!0},cs={type:ee,hard:!0,literal:!0},D={type:ee},Y={type:ee,soft:!0},ye=[ls,Gr],Yr=[cs,Gr];function Ee(t,e){be(t),dt(e);let r=[];for(let n=0;n{if(!(t&&e==null))return Array.isArray(e)||typeof e=="string"?e[r<0?e.length+r:r]:e.at(r)},oe=us;function hs(t,e){if(typeof t=="string")return e(t);let r=new Map;return n(t);function n(i){if(r.has(i))return r.get(i);let a=s(i);return r.set(i,a),a}function s(i){switch(Xe(i)){case Ge:return e(i.map(n));case Oe:return e({...i,parts:i.parts.map(n)});case Be:return e({...i,breakContents:n(i.breakContents),flatContents:n(i.flatContents)});case De:{let{expandedStates:a,contents:o}=i;return a?(a=a.map(n),o=a[0]):o=n(o),e({...i,contents:o,expandedStates:a})}case _e:case Le:case We:case Qe:case $e:return e({...i,contents:n(i.contents)});case ze:case Ye:case Ke:case je:case ee:case Ie:return e(i);default:throw new $t(i)}}}function Kr(t,e=Yr){return hs(t,r=>typeof r=="string"?Ee(e,r.split(` +`)):r)}var mt="'",Wr='"';function ps(t,e){let r=e===!0||e===mt?mt:Wr,n=r===mt?Wr:mt,s=0,i=0;for(let a of t)a===r?s++:a===n&&i++;return s>i?n:r}var gt=ps;function Jt(t){if(typeof t!="string")throw new TypeError("Expected a string");return t.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}var G,Zt=class{constructor(e){Gt(this,G);Yt(this,G,new Set(e))}getLeadingWhitespaceCount(e){let r=$(this,G),n=0;for(let s=0;s=0&&r.has(e.charAt(s));s--)n++;return n}getLeadingWhitespace(e){let r=this.getLeadingWhitespaceCount(e);return e.slice(0,r)}getTrailingWhitespace(e){let r=this.getTrailingWhitespaceCount(e);return e.slice(e.length-r)}hasLeadingWhitespace(e){return $(this,G).has(e.charAt(0))}hasTrailingWhitespace(e){return $(this,G).has(oe(!1,e,-1))}trimStart(e){let r=this.getLeadingWhitespaceCount(e);return e.slice(r)}trimEnd(e){let r=this.getTrailingWhitespaceCount(e);return e.slice(0,e.length-r)}trim(e){return this.trimEnd(this.trimStart(e))}split(e,r=!1){let n=`[${Jt([...$(this,G)].join(""))}]+`,s=new RegExp(r?`(${n})`:n,"u");return e.split(s)}hasWhitespaceCharacter(e){let r=$(this,G);return Array.prototype.some.call(e,n=>r.has(n))}hasNonWhitespaceCharacter(e){let r=$(this,G);return Array.prototype.some.call(e,n=>!r.has(n))}isWhitespaceOnly(e){let r=$(this,G);return Array.prototype.every.call(e,n=>r.has(n))}};G=new WeakMap;var $r=Zt;var fs=[" ",` +`,"\f","\r"," "],ds=new $r(fs),K=ds;function ms(t){return Array.isArray(t)&&t.length>0}var Je=ms;var er=class extends Error{name="UnexpectedNodeError";constructor(e,r,n="type"){super(`Unexpected ${r} node ${n}: ${JSON.stringify(e[n])}.`),this.node=e}},jr=er;function Qr(t,e){if(t.type==="TextNode"){let r=t.chars.trim();if(!r)return null;e.chars=K.split(r).join(" ")}t.type==="ElementNode"&&(delete e.startTag,delete e.openTag,delete e.parts,delete e.endTag,delete e.closeTag,delete e.nameNode,delete e.body,delete e.blockParamNodes,delete e.params,delete e.path),t.type==="Block"&&(delete e.blockParamNodes,delete e.params),t.type==="AttrNode"&&t.name.toLowerCase()==="class"&&delete e.value,t.type==="PathExpression"&&(e.head=t.head.original)}Qr.ignoredProperties=new Set(["loc","selfClosing"]);var Xr=Qr;var Ze=null;function et(t){if(Ze!==null&&typeof Ze.property){let e=Ze;return Ze=et.prototype=null,e}return Ze=et.prototype=t??Object.create(null),new et}var gs=10;for(let t=0;t<=gs;t++)et();function tr(t){return et(t)}function bs(t,e="type"){tr(t);function r(n){let s=n[e],i=t[s];if(!Array.isArray(i))throw Object.assign(new Error(`Missing visitor keys for '${s}'.`),{node:n});return i}return r}var Jr=bs;var Zr={Template:["body"],Block:["body"],MustacheStatement:["path","params","hash"],BlockStatement:["path","params","hash","program","inverse"],ElementModifierStatement:["path","params","hash"],CommentStatement:[],MustacheCommentStatement:[],ElementNode:["attributes","modifiers","children","comments"],AttrNode:["value"],TextNode:[],ConcatStatement:["parts"],SubExpression:["path","params","hash"],PathExpression:[],StringLiteral:[],BooleanLiteral:[],NumberLiteral:[],NullLiteral:[],UndefinedLiteral:[],Hash:["pairs"],HashPair:["value"]};var ys=Jr(Zr),en=ys;function Se(t){return t.loc.start.offset}function tt(t){return t.loc.end.offset}var tn=new Set(["area","base","br","col","command","embed","hr","img","input","keygen","link","meta","param","source","track","wbr"]);function nn(t){return t.toUpperCase()===t}function Es(t){return t.type==="ElementNode"&&typeof t.tag=="string"&&!t.tag.startsWith(":")&&(nn(t.tag[0])||t.tag.includes("."))}function Ss(t){return tn.has(t.toLowerCase())&&!nn(t[0])}function rr(t){return t.selfClosing===!0||Ss(t.tag)||Es(t)&&t.children.every(e=>bt(e))}function bt(t){return t.type==="TextNode"&&!/\S/u.test(t.chars)}function rn(t){return(t==null?void 0:t.type)==="MustacheCommentStatement"&&typeof t.value=="string"&&t.value.trim()==="prettier-ignore"}function sn(t){return rn(t.node)||t.isInArray&&(t.key==="children"||t.key==="body"||t.key==="parts")&&rn(t.siblings[t.index-2])}var fn=2;function ws(t,e,r){var s,i,a,o,c,p,h,d,N;let{node:n}=t;switch(n.type){case"Block":case"Program":case"Template":return q(t.map(r,"body"));case"ElementNode":{let g=q(Ts(t,r)),T=e.htmlWhitespaceSensitivity==="ignore"&&((s=t.next)==null?void 0:s.type)==="ElementNode"?Y:"";if(rr(n))return[g,T];let x=[""];return n.children.length===0?[g,R(x),T]:e.htmlWhitespaceSensitivity==="ignore"?[g,R(an(t,e,r)),ye,R(x),T]:[g,R(q(an(t,e,r))),R(x),T]}case"BlockStatement":return Cs(t)?[Ls(t,r),cn(t,r,e),un(t,r,e)]:[Ps(t,r),q([cn(t,r,e),un(t,r,e),_s(t,r,e)])];case"ElementModifierStatement":return q(["{{",pn(t,r),"}}"]);case"MustacheStatement":return q([yt(n),pn(t,r),Et(n)]);case"SubExpression":return q(["(",Hs(t,r),Y,")"]);case"AttrNode":{let{name:g,value:T}=n,x=T.type==="TextNode";if(x&&T.chars===""&&Se(T)===tt(T))return g;let v=x?gt(T.chars,e.singleQuote):T.type==="ConcatStatement"?gt(T.parts.map(H=>H.type==="TextNode"?H.chars:"").join(""),e.singleQuote):"",M=r("value");return[g,"=",v,g==="class"&&v?q(R(M)):M,v]}case"ConcatStatement":return t.map(r,"parts");case"Hash":return Ee(D,t.map(r,"pairs"));case"HashPair":return[n.key,"=",r("value")];case"TextNode":{let g=Kt(!1,n.chars,"{{",String.raw`\{{`),T=Os(t);if(T){if(T==="class"){let J=g.trim().split(/\s+/u).join(" "),re=!1,V=!1;return t.parent.type==="ConcatStatement"&&(((i=t.previous)==null?void 0:i.type)==="MustacheStatement"&&/^\s/u.test(g)&&(re=!0),((a=t.next)==null?void 0:a.type)==="MustacheStatement"&&/\s$/u.test(g)&&J!==""&&(V=!0)),[re?D:"",J,V?D:""]}return Kr(g)}let x=K.isWhitespaceOnly(g),{isFirst:C,isLast:v}=t;if(e.htmlWhitespaceSensitivity!=="ignore"){let J=v&&t.parent.type==="Template",re=C&&t.parent.type==="Template";if(x){if(re||J)return"";let _=[D],se=Re(g);return se&&(_=rt(se)),v&&(_=_.map(ut=>jt(ut))),_}let V=K.getLeadingWhitespace(g),Pe=[];if(V){Pe=[D];let _=Re(V);_&&(Pe=rt(_)),g=g.slice(V.length)}let U=K.getTrailingWhitespace(g),ne=[];if(U){if(!J){ne=[D];let _=Re(U);_&&(ne=rt(_)),v&&(ne=ne.map(se=>jt(se)))}g=g.slice(0,-U.length)}return[...Pe,Qt(hn(g)),...ne]}let M=Re(g),H=Bs(g),X=Is(g);if((C||v)&&x&&(t.parent.type==="Block"||t.parent.type==="ElementNode"||t.parent.type==="Template"))return"";x&&M?(H=Math.min(M,fn),X=0):((((o=t.next)==null?void 0:o.type)==="BlockStatement"||((c=t.next)==null?void 0:c.type)==="ElementNode")&&(X=Math.max(X,1)),(((p=t.previous)==null?void 0:p.type)==="BlockStatement"||((h=t.previous)==null?void 0:h.type)==="ElementNode")&&(H=Math.max(H,1)));let ve="",Ae="";return X===0&&((d=t.next)==null?void 0:d.type)==="MustacheStatement"&&(Ae=" "),H===0&&((N=t.previous)==null?void 0:N.type)==="MustacheStatement"&&(ve=" "),C&&(H=0,ve=""),v&&(X=0,Ae=""),K.hasLeadingWhitespace(g)&&(g=ve+K.trimStart(g)),K.hasTrailingWhitespace(g)&&(g=K.trimEnd(g)+Ae),[...rt(H),Qt(hn(g)),...rt(X)]}case"MustacheCommentStatement":{let g=Se(n),T=tt(n),x=e.originalText.charAt(g+2)==="~",C=e.originalText.charAt(T-3)==="~",v=n.value.includes("}}")?"--":"";return["{{",x?"~":"","!",v,n.value,v,C?"~":"","}}"]}case"PathExpression":return Ms(n);case"BooleanLiteral":return String(n.value);case"CommentStatement":return[""];case"StringLiteral":return Rs(t,e);case"NumberLiteral":return String(n.value);case"UndefinedLiteral":return"undefined";case"NullLiteral":return"null";case"AtHead":case"VarHead":case"ThisHead":default:throw new jr(n,"Handlebars")}}function ks(t,e){return Se(t)-Se(e)}function Ts(t,e){let{node:r}=t,n=["attributes","modifiers","comments"].filter(i=>Je(r[i])),s=n.flatMap(i=>r[i]).sort(ks);for(let i of n)t.each(({node:a})=>{let o=s.indexOf(a);s.splice(o,1,[D,e()])},i);return Je(r.blockParams)&&s.push(D,sr(r)),["<",r.tag,R(s),Ns(r)]}function an(t,e,r){let{node:n}=t,s=n.children.every(i=>bt(i));return e.htmlWhitespaceSensitivity==="ignore"&&s?"":t.map(({isFirst:i})=>{let a=r();return i&&e.htmlWhitespaceSensitivity==="ignore"?[Y,a]:a},"children")}function Ns(t){return rr(t)?Xt([Y,"/>"],[" />",Y]):Xt([Y,">"],">")}function yt(t){var n;let e=t.trusting?"{{{":"{{",r=(n=t.strip)!=null&&n.open?"~":"";return[e,r]}function Et(t){var n;let e=t.trusting?"}}}":"}}";return[(n=t.strip)!=null&&n.close?"~":"",e]}function vs(t){let e=yt(t),r=t.openStrip.open?"~":"";return[e,r,"#"]}function As(t){let e=Et(t);return[t.openStrip.close?"~":"",e]}function on(t){let e=yt(t),r=t.closeStrip.open?"~":"";return[e,r,"/"]}function ln(t){let e=Et(t);return[t.closeStrip.close?"~":"",e]}function dn(t){let e=yt(t),r=t.inverseStrip.open?"~":"";return[e,r]}function mn(t){let e=Et(t);return[t.inverseStrip.close?"~":"",e]}function Ps(t,e){let{node:r}=t,n=[],s=St(t,e);return s&&n.push(q(s)),Je(r.program.blockParams)&&n.push(sr(r.program)),q([vs(r),nr(t,e),n.length>0?R([D,Ee(D,n)]):"",Y,As(r)])}function xs(t,e){return[e.htmlWhitespaceSensitivity==="ignore"?ye:"",dn(t),"else",mn(t)]}var gn=(t,e)=>t.head.type==="VarHead"&&e.head.type==="VarHead"&&t.head.name===e.head.name;function Cs(t){var n;let{grandparent:e,node:r}=t;return((n=e==null?void 0:e.inverse)==null?void 0:n.body.length)===1&&e.inverse.body[0]===r&&gn(e.inverse.body[0].path,e.path)}function Ls(t,e){let{node:r,grandparent:n}=t;return q([dn(n),["else"," ",n.inverse.body[0].path.head.name],R([D,q(St(t,e)),...Je(r.program.blockParams)?[D,sr(r.program)]:[]]),Y,mn(n)])}function _s(t,e,r){let{node:n}=t;return r.htmlWhitespaceSensitivity==="ignore"?[bn(n)?Y:ye,on(n),e("path"),ln(n)]:[on(n),e("path"),ln(n)]}function bn(t){return t.type==="BlockStatement"&&t.program.body.every(e=>bt(e))}function Ds(t){return yn(t)&&t.inverse.body.length===1&&t.inverse.body[0].type==="BlockStatement"&&gn(t.inverse.body[0].path,t.path)}function yn(t){return t.type==="BlockStatement"&&t.inverse}function cn(t,e,r){let{node:n}=t;if(bn(n))return"";let s=e("program");return r.htmlWhitespaceSensitivity==="ignore"?R([ye,s]):R(s)}function un(t,e,r){let{node:n}=t,s=e("inverse"),i=r.htmlWhitespaceSensitivity==="ignore"?[ye,s]:s;return Ds(n)?i:yn(n)?[xs(n,r),R(i)]:""}function hn(t){return Ee(D,K.split(t))}function Os(t){for(let e=0;e<2;e++){let r=t.getParentNode(e);if((r==null?void 0:r.type)==="AttrNode")return r.name.toLowerCase()}}function Re(t){return t=typeof t=="string"?t:"",t.split(` +`).length-1}function Bs(t){t=typeof t=="string"?t:"";let e=(t.match(/^([^\S\n\r]*[\n\r])+/gu)||[])[0]||"";return Re(e)}function Is(t){t=typeof t=="string"?t:"";let e=(t.match(/([\n\r][^\S\n\r]*)+$/gu)||[])[0]||"";return Re(e)}function rt(t=0){return Array.from({length:Math.min(t,fn)}).fill(ye)}function Rs(t,e){let{node:{value:r}}=t,n=gt(r,qs(t)?!e.singleQuote:e.singleQuote);return[n,Kt(!1,r,n,`\\${n}`),n]}function qs(t){let{ancestors:e}=t,r=e.findIndex(n=>n.type!=="SubExpression");return r!==-1&&e[r+1].type==="ConcatStatement"&&e[r+2].type==="AttrNode"}function Hs(t,e){let r=nr(t,e),n=St(t,e);return n?R([r,D,q(n)]):r}function pn(t,e){let r=nr(t,e),n=St(t,e);return n?[R([r,D,n]),Y]:r}function nr(t,e){return e("path")}function St(t,e){var s;let{node:r}=t,n=[];return r.params.length>0&&n.push(...t.map(e,"params")),((s=r.hash)==null?void 0:s.pairs.length)>0&&n.push(e("hash")),n.length===0?"":Ee(D,n)}function sr(t){return["as |",t.blockParams.join(" "),"|"]}var Vs=new Set("!\"#%&'()*+,./;<=>@[\\]^`{|}~"),Us=new Set(["true","false","null","undefined"]),Fs=(t,e)=>e===0&&t.startsWith("@")?!1:e!==0&&Us.has(t)||/\s/u.test(t)||/^\d/u.test(t)||Array.prototype.some.call(t,r=>Vs.has(r));function Ms(t){return t.tail.length===0&&t.original.includes("/")?t.original:[t.head.original,...t.tail].map((r,n)=>Fs(r,n)?`[${r}]`:r).join(".")}var zs={print:ws,massageAstNode:Xr,hasPrettierIgnore:sn,getVisitorKeys:en},En=zs;var Sn=[{linguistLanguageId:155,name:"Handlebars",type:"markup",color:"#f7931e",aliases:["hbs","htmlbars"],extensions:[".handlebars",".hbs"],tmScope:"text.html.handlebars",aceMode:"handlebars",parsers:["glimmer"],vscodeLanguageIds:["handlebars"]}];var Ir={};zt(Ir,{glimmer:()=>ha});var Gs=Object.freeze([]);function kn(){return Gs}var Po=kn(),xo=kn();function w(t,e){if(!t)throw new Error(e||"assertion failure")}function F(t){Js.warn(`DEPRECATION: ${t}`)}function kt(t){if(t==null)throw new Error("Expected value to be present");return t}function Tn(t,e){if(t==null)throw new Error(e);return t}function we(t){return t.length>0}function Tt(t,e="unexpected empty list"){if(!we(t))throw new Error(e)}function qe(t,e="unexpected empty list"){return Tt(t,e),t}function Nt(t){return t.length===0?void 0:t[t.length-1]}function Nn(t){return t.length===0?void 0:t[0]}var Ys;if(!1){let t=n=>{let s=n.name;if(s===void 0){let i=/function (\w+)\s*\(/u.exec(String(n));s=i&&i[1]||""}return s.replace(/^bound /u,"")},e=n=>{let s,i;return n.constructor&&typeof n.constructor=="function"&&(i=t(n.constructor)),"toString"in n&&n.toString!==Object.prototype.toString&&n.toString!==Function.prototype.toString&&(s=n.toString()),s&&/<.*:ember\d+>/u.test(s)&&i&&i[0]!=="_"&&i.length>2&&i!=="Class"?s.replace(/<.*:/u,`<${i}:`):s||i},r=n=>String(n);Ys=n=>typeof n=="function"?t(n)||"(unknown function)":typeof n=="object"&&n!==null?e(n)||"(unknown object)":r(n)}var ir=function(t){return t[t.MAX_SMI=1073741823]="MAX_SMI",t[t.MIN_SMI=-1073741824]="MIN_SMI",t[t.SIGN_BIT=-536870913]="SIGN_BIT",t[t.MAX_INT=536870911]="MAX_INT",t[t.MIN_INT=-536870912]="MIN_INT",t[t.FALSE_HANDLE=0]="FALSE_HANDLE",t[t.TRUE_HANDLE=1]="TRUE_HANDLE",t[t.NULL_HANDLE=2]="NULL_HANDLE",t[t.UNDEFINED_HANDLE=3]="UNDEFINED_HANDLE",t[t.ENCODED_FALSE_HANDLE=0]="ENCODED_FALSE_HANDLE",t[t.ENCODED_TRUE_HANDLE=1]="ENCODED_TRUE_HANDLE",t[t.ENCODED_NULL_HANDLE=2]="ENCODED_NULL_HANDLE",t[t.ENCODED_UNDEFINED_HANDLE=3]="ENCODED_UNDEFINED_HANDLE",t}({});function Ks(t){return t&ir.SIGN_BIT}function Ws(t){return t|~ir.SIGN_BIT}function $s(t){return~t}function js(t){return~t}function Qs(t){return t|=0,t<0?Ks(t):$s(t)}function Xs(t){return t|=0,t>ir.SIGN_BIT?js(t):Ws(t)}[1,-1].forEach(t=>Xs(Qs(t)));var ar=Object.assign;var Js=console,wn=console;function vn(t,e="unexpected unreachable branch"){throw wn.log("unreachable",t),wn.log(`${e} :: ${JSON.stringify(t)} (${t})`),new Error("code reached unreachable")}var Zs=function(){var t=function(ie,m,E,b){for(E=E||{},b=ie.length;b--;E[ie[b]]=m);return E},e=[2,44],r=[1,20],n=[5,14,15,19,29,34,39,44,47,48,52,56,60],s=[1,35],i=[1,38],a=[1,30],o=[1,31],c=[1,32],p=[1,33],h=[1,34],d=[1,37],N=[14,15,19,29,34,39,44,47,48,52,56,60],g=[14,15,19,29,34,44,47,48,52,56,60],T=[15,18],x=[14,15,19,29,34,47,48,52,56,60],C=[33,64,71,79,80,81,82,83,84],v=[23,33,55,64,67,71,74,79,80,81,82,83,84],M=[1,51],H=[23,33,55,64,67,71,74,79,80,81,82,83,84,86],X=[2,43],ve=[55,64,71,79,80,81,82,83,84],Ae=[1,58],J=[1,59],re=[1,66],V=[33,64,71,74,79,80,81,82,83,84],Pe=[23,64,71,79,80,81,82,83,84],U=[1,76],ne=[64,67,71,79,80,81,82,83,84],_=[33,74],se=[23,33,55,67,71,74],ut=[1,106],It=[1,118],qr=[71,76],Rt={trace:function(){},yy:{},symbols_:{error:2,root:3,program:4,EOF:5,program_repetition0:6,statement:7,mustache:8,block:9,rawBlock:10,partial:11,partialBlock:12,content:13,COMMENT:14,CONTENT:15,openRawBlock:16,rawBlock_repetition0:17,END_RAW_BLOCK:18,OPEN_RAW_BLOCK:19,helperName:20,openRawBlock_repetition0:21,openRawBlock_option0:22,CLOSE_RAW_BLOCK:23,openBlock:24,block_option0:25,closeBlock:26,openInverse:27,block_option1:28,OPEN_BLOCK:29,openBlock_repetition0:30,openBlock_option0:31,openBlock_option1:32,CLOSE:33,OPEN_INVERSE:34,openInverse_repetition0:35,openInverse_option0:36,openInverse_option1:37,openInverseChain:38,OPEN_INVERSE_CHAIN:39,openInverseChain_repetition0:40,openInverseChain_option0:41,openInverseChain_option1:42,inverseAndProgram:43,INVERSE:44,inverseChain:45,inverseChain_option0:46,OPEN_ENDBLOCK:47,OPEN:48,expr:49,mustache_repetition0:50,mustache_option0:51,OPEN_UNESCAPED:52,mustache_repetition1:53,mustache_option1:54,CLOSE_UNESCAPED:55,OPEN_PARTIAL:56,partial_repetition0:57,partial_option0:58,openPartialBlock:59,OPEN_PARTIAL_BLOCK:60,openPartialBlock_repetition0:61,openPartialBlock_option0:62,sexpr:63,OPEN_SEXPR:64,sexpr_repetition0:65,sexpr_option0:66,CLOSE_SEXPR:67,hash:68,hash_repetition_plus0:69,hashSegment:70,ID:71,EQUALS:72,blockParams:73,OPEN_BLOCK_PARAMS:74,blockParams_repetition_plus0:75,CLOSE_BLOCK_PARAMS:76,path:77,dataName:78,STRING:79,NUMBER:80,BOOLEAN:81,UNDEFINED:82,NULL:83,DATA:84,pathSegments:85,SEP:86,$accept:0,$end:1},terminals_:{2:"error",5:"EOF",14:"COMMENT",15:"CONTENT",18:"END_RAW_BLOCK",19:"OPEN_RAW_BLOCK",23:"CLOSE_RAW_BLOCK",29:"OPEN_BLOCK",33:"CLOSE",34:"OPEN_INVERSE",39:"OPEN_INVERSE_CHAIN",44:"INVERSE",47:"OPEN_ENDBLOCK",48:"OPEN",52:"OPEN_UNESCAPED",55:"CLOSE_UNESCAPED",56:"OPEN_PARTIAL",60:"OPEN_PARTIAL_BLOCK",64:"OPEN_SEXPR",67:"CLOSE_SEXPR",71:"ID",72:"EQUALS",74:"OPEN_BLOCK_PARAMS",76:"CLOSE_BLOCK_PARAMS",79:"STRING",80:"NUMBER",81:"BOOLEAN",82:"UNDEFINED",83:"NULL",84:"DATA",86:"SEP"},productions_:[0,[3,2],[4,1],[7,1],[7,1],[7,1],[7,1],[7,1],[7,1],[7,1],[13,1],[10,3],[16,5],[9,4],[9,4],[24,6],[27,6],[38,6],[43,2],[45,3],[45,1],[26,3],[8,5],[8,5],[11,5],[12,3],[59,5],[49,1],[49,1],[63,5],[68,1],[70,3],[73,3],[20,1],[20,1],[20,1],[20,1],[20,1],[20,1],[20,1],[78,2],[77,1],[85,3],[85,1],[6,0],[6,2],[17,0],[17,2],[21,0],[21,2],[22,0],[22,1],[25,0],[25,1],[28,0],[28,1],[30,0],[30,2],[31,0],[31,1],[32,0],[32,1],[35,0],[35,2],[36,0],[36,1],[37,0],[37,1],[40,0],[40,2],[41,0],[41,1],[42,0],[42,1],[46,0],[46,1],[50,0],[50,2],[51,0],[51,1],[53,0],[53,2],[54,0],[54,1],[57,0],[57,2],[58,0],[58,1],[61,0],[61,2],[62,0],[62,1],[65,0],[65,2],[66,0],[66,1],[69,1],[69,2],[75,1],[75,2]],performAction:function(m,E,b,y,P,l,xe){var u=l.length-1;switch(P){case 1:return l[u-1];case 2:this.$=y.prepareProgram(l[u]);break;case 3:case 4:case 5:case 6:case 7:case 8:case 20:case 27:case 28:case 33:case 34:this.$=l[u];break;case 9:this.$={type:"CommentStatement",value:y.stripComment(l[u]),strip:y.stripFlags(l[u],l[u]),loc:y.locInfo(this._$)};break;case 10:this.$={type:"ContentStatement",original:l[u],value:l[u],loc:y.locInfo(this._$)};break;case 11:this.$=y.prepareRawBlock(l[u-2],l[u-1],l[u],this._$);break;case 12:this.$={path:l[u-3],params:l[u-2],hash:l[u-1]};break;case 13:this.$=y.prepareBlock(l[u-3],l[u-2],l[u-1],l[u],!1,this._$);break;case 14:this.$=y.prepareBlock(l[u-3],l[u-2],l[u-1],l[u],!0,this._$);break;case 15:this.$={open:l[u-5],path:l[u-4],params:l[u-3],hash:l[u-2],blockParams:l[u-1],strip:y.stripFlags(l[u-5],l[u])};break;case 16:case 17:this.$={path:l[u-4],params:l[u-3],hash:l[u-2],blockParams:l[u-1],strip:y.stripFlags(l[u-5],l[u])};break;case 18:this.$={strip:y.stripFlags(l[u-1],l[u-1]),program:l[u]};break;case 19:var ae=y.prepareBlock(l[u-2],l[u-1],l[u],l[u],!1,this._$),Me=y.prepareProgram([ae],l[u-1].loc);Me.chained=!0,this.$={strip:l[u-2].strip,program:Me,chain:!0};break;case 21:this.$={path:l[u-1],strip:y.stripFlags(l[u-2],l[u])};break;case 22:case 23:this.$=y.prepareMustache(l[u-3],l[u-2],l[u-1],l[u-4],y.stripFlags(l[u-4],l[u]),this._$);break;case 24:this.$={type:"PartialStatement",name:l[u-3],params:l[u-2],hash:l[u-1],indent:"",strip:y.stripFlags(l[u-4],l[u]),loc:y.locInfo(this._$)};break;case 25:this.$=y.preparePartialBlock(l[u-2],l[u-1],l[u],this._$);break;case 26:this.$={path:l[u-3],params:l[u-2],hash:l[u-1],strip:y.stripFlags(l[u-4],l[u])};break;case 29:this.$={type:"SubExpression",path:l[u-3],params:l[u-2],hash:l[u-1],loc:y.locInfo(this._$)};break;case 30:this.$={type:"Hash",pairs:l[u],loc:y.locInfo(this._$)};break;case 31:this.$={type:"HashPair",key:y.id(l[u-2]),value:l[u],loc:y.locInfo(this._$)};break;case 32:this.$=y.id(l[u-1]);break;case 35:this.$={type:"StringLiteral",value:l[u],original:l[u],loc:y.locInfo(this._$)};break;case 36:this.$={type:"NumberLiteral",value:Number(l[u]),original:Number(l[u]),loc:y.locInfo(this._$)};break;case 37:this.$={type:"BooleanLiteral",value:l[u]==="true",original:l[u]==="true",loc:y.locInfo(this._$)};break;case 38:this.$={type:"UndefinedLiteral",original:void 0,value:void 0,loc:y.locInfo(this._$)};break;case 39:this.$={type:"NullLiteral",original:null,value:null,loc:y.locInfo(this._$)};break;case 40:this.$=y.preparePath(!0,l[u],this._$);break;case 41:this.$=y.preparePath(!1,l[u],this._$);break;case 42:l[u-2].push({part:y.id(l[u]),original:l[u],separator:l[u-1]}),this.$=l[u-2];break;case 43:this.$=[{part:y.id(l[u]),original:l[u]}];break;case 44:case 46:case 48:case 56:case 62:case 68:case 76:case 80:case 84:case 88:case 92:this.$=[];break;case 45:case 47:case 49:case 57:case 63:case 69:case 77:case 81:case 85:case 89:case 93:case 97:case 99:l[u-1].push(l[u]);break;case 96:case 98:this.$=[l[u]];break}},table:[t([5,14,15,19,29,34,48,52,56,60],e,{3:1,4:2,6:3}),{1:[3]},{5:[1,4]},t([5,39,44,47],[2,2],{7:5,8:6,9:7,10:8,11:9,12:10,13:11,24:15,27:16,16:17,59:19,14:[1,12],15:r,19:[1,23],29:[1,21],34:[1,22],48:[1,13],52:[1,14],56:[1,18],60:[1,24]}),{1:[2,1]},t(n,[2,45]),t(n,[2,3]),t(n,[2,4]),t(n,[2,5]),t(n,[2,6]),t(n,[2,7]),t(n,[2,8]),t(n,[2,9]),{20:26,49:25,63:27,64:s,71:i,77:28,78:29,79:a,80:o,81:c,82:p,83:h,84:d,85:36},{20:26,49:39,63:27,64:s,71:i,77:28,78:29,79:a,80:o,81:c,82:p,83:h,84:d,85:36},t(N,e,{6:3,4:40}),t(g,e,{6:3,4:41}),t(T,[2,46],{17:42}),{20:26,49:43,63:27,64:s,71:i,77:28,78:29,79:a,80:o,81:c,82:p,83:h,84:d,85:36},t(x,e,{6:3,4:44}),t([5,14,15,18,19,29,34,39,44,47,48,52,56,60],[2,10]),{20:45,71:i,77:28,78:29,79:a,80:o,81:c,82:p,83:h,84:d,85:36},{20:46,71:i,77:28,78:29,79:a,80:o,81:c,82:p,83:h,84:d,85:36},{20:47,71:i,77:28,78:29,79:a,80:o,81:c,82:p,83:h,84:d,85:36},{20:26,49:48,63:27,64:s,71:i,77:28,78:29,79:a,80:o,81:c,82:p,83:h,84:d,85:36},t(C,[2,76],{50:49}),t(v,[2,27]),t(v,[2,28]),t(v,[2,33]),t(v,[2,34]),t(v,[2,35]),t(v,[2,36]),t(v,[2,37]),t(v,[2,38]),t(v,[2,39]),{20:26,49:50,63:27,64:s,71:i,77:28,78:29,79:a,80:o,81:c,82:p,83:h,84:d,85:36},t(v,[2,41],{86:M}),{71:i,85:52},t(H,X),t(ve,[2,80],{53:53}),{25:54,38:56,39:Ae,43:57,44:J,45:55,47:[2,52]},{28:60,43:61,44:J,47:[2,54]},{13:63,15:r,18:[1,62]},t(C,[2,84],{57:64}),{26:65,47:re},t(V,[2,56],{30:67}),t(V,[2,62],{35:68}),t(Pe,[2,48],{21:69}),t(C,[2,88],{61:70}),{20:26,33:[2,78],49:72,51:71,63:27,64:s,68:73,69:74,70:75,71:U,77:28,78:29,79:a,80:o,81:c,82:p,83:h,84:d,85:36},t(ne,[2,92],{65:77}),{71:[1,78]},t(v,[2,40],{86:M}),{20:26,49:80,54:79,55:[2,82],63:27,64:s,68:81,69:74,70:75,71:U,77:28,78:29,79:a,80:o,81:c,82:p,83:h,84:d,85:36},{26:82,47:re},{47:[2,53]},t(N,e,{6:3,4:83}),{47:[2,20]},{20:84,71:i,77:28,78:29,79:a,80:o,81:c,82:p,83:h,84:d,85:36},t(x,e,{6:3,4:85}),{26:86,47:re},{47:[2,55]},t(n,[2,11]),t(T,[2,47]),{20:26,33:[2,86],49:88,58:87,63:27,64:s,68:89,69:74,70:75,71:U,77:28,78:29,79:a,80:o,81:c,82:p,83:h,84:d,85:36},t(n,[2,25]),{20:90,71:i,77:28,78:29,79:a,80:o,81:c,82:p,83:h,84:d,85:36},t(_,[2,58],{20:26,63:27,77:28,78:29,85:36,69:74,70:75,31:91,49:92,68:93,64:s,71:U,79:a,80:o,81:c,82:p,83:h,84:d}),t(_,[2,64],{20:26,63:27,77:28,78:29,85:36,69:74,70:75,36:94,49:95,68:96,64:s,71:U,79:a,80:o,81:c,82:p,83:h,84:d}),{20:26,22:97,23:[2,50],49:98,63:27,64:s,68:99,69:74,70:75,71:U,77:28,78:29,79:a,80:o,81:c,82:p,83:h,84:d,85:36},{20:26,33:[2,90],49:101,62:100,63:27,64:s,68:102,69:74,70:75,71:U,77:28,78:29,79:a,80:o,81:c,82:p,83:h,84:d,85:36},{33:[1,103]},t(C,[2,77]),{33:[2,79]},t([23,33,55,67,74],[2,30],{70:104,71:[1,105]}),t(se,[2,96]),t(H,X,{72:ut}),{20:26,49:108,63:27,64:s,66:107,67:[2,94],68:109,69:74,70:75,71:U,77:28,78:29,79:a,80:o,81:c,82:p,83:h,84:d,85:36},t(H,[2,42]),{55:[1,110]},t(ve,[2,81]),{55:[2,83]},t(n,[2,13]),{38:56,39:Ae,43:57,44:J,45:112,46:111,47:[2,74]},t(V,[2,68],{40:113}),{47:[2,18]},t(n,[2,14]),{33:[1,114]},t(C,[2,85]),{33:[2,87]},{33:[1,115]},{32:116,33:[2,60],73:117,74:It},t(V,[2,57]),t(_,[2,59]),{33:[2,66],37:119,73:120,74:It},t(V,[2,63]),t(_,[2,65]),{23:[1,121]},t(Pe,[2,49]),{23:[2,51]},{33:[1,122]},t(C,[2,89]),{33:[2,91]},t(n,[2,22]),t(se,[2,97]),{72:ut},{20:26,49:123,63:27,64:s,71:i,77:28,78:29,79:a,80:o,81:c,82:p,83:h,84:d,85:36},{67:[1,124]},t(ne,[2,93]),{67:[2,95]},t(n,[2,23]),{47:[2,19]},{47:[2,75]},t(_,[2,70],{20:26,63:27,77:28,78:29,85:36,69:74,70:75,41:125,49:126,68:127,64:s,71:U,79:a,80:o,81:c,82:p,83:h,84:d}),t(n,[2,24]),t(n,[2,21]),{33:[1,128]},{33:[2,61]},{71:[1,130],75:129},{33:[1,131]},{33:[2,67]},t(T,[2,12]),t(x,[2,26]),t(se,[2,31]),t(v,[2,29]),{33:[2,72],42:132,73:133,74:It},t(V,[2,69]),t(_,[2,71]),t(N,[2,15]),{71:[1,135],76:[1,134]},t(qr,[2,98]),t(g,[2,16]),{33:[1,136]},{33:[2,73]},{33:[2,32]},t(qr,[2,99]),t(N,[2,17])],defaultActions:{4:[2,1],55:[2,53],57:[2,20],61:[2,55],73:[2,79],81:[2,83],85:[2,18],89:[2,87],99:[2,51],102:[2,91],109:[2,95],111:[2,19],112:[2,75],117:[2,61],120:[2,67],133:[2,73],134:[2,32]},parseError:function(m,E){if(E.recoverable)this.trace(m);else{var b=new Error(m);throw b.hash=E,b}},parse:function(m){var E=this,b=[0],y=[],P=[null],l=[],xe=this.table,u="",ae=0,Me=0,Hr=0,Jn=2,Vr=1,Zn=l.slice.call(arguments,1),L=Object.create(this.lexer),me={yy:{}};for(var Ht in this.yy)Object.prototype.hasOwnProperty.call(this.yy,Ht)&&(me.yy[Ht]=this.yy[Ht]);L.setInput(m,me.yy),me.yy.lexer=L,me.yy.parser=this,typeof L.yylloc>"u"&&(L.yylloc={});var Vt=L.yylloc;l.push(Vt);var es=L.options&&L.options.ranges;typeof me.yy.parseError=="function"?this.parseError=me.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function fa(W){b.length=b.length-2*W,P.length=P.length-W,l.length=l.length-W}for(var ts=function(){var W;return W=L.lex()||Vr,typeof W!="number"&&(W=E.symbols_[W]||W),W},I,Ut,ge,z,da,Ft,Ce={},ht,Z,Ur,pt;;){if(ge=b[b.length-1],this.defaultActions[ge]?z=this.defaultActions[ge]:((I===null||typeof I>"u")&&(I=ts()),z=xe[ge]&&xe[ge][I]),typeof z>"u"||!z.length||!z[0]){var Mt="";pt=[];for(ht in xe[ge])this.terminals_[ht]&&ht>Jn&&pt.push("'"+this.terminals_[ht]+"'");L.showPosition?Mt="Parse error on line "+(ae+1)+`: +`+L.showPosition()+` +Expecting `+pt.join(", ")+", got '"+(this.terminals_[I]||I)+"'":Mt="Parse error on line "+(ae+1)+": Unexpected "+(I==Vr?"end of input":"'"+(this.terminals_[I]||I)+"'"),this.parseError(Mt,{text:L.match,token:this.terminals_[I]||I,line:L.yylineno,loc:Vt,expected:pt})}if(z[0]instanceof Array&&z.length>1)throw new Error("Parse Error: multiple actions possible at state: "+ge+", token: "+I);switch(z[0]){case 1:b.push(I),P.push(L.yytext),l.push(L.yylloc),b.push(z[1]),I=null,Ut?(I=Ut,Ut=null):(Me=L.yyleng,u=L.yytext,ae=L.yylineno,Vt=L.yylloc,Hr>0&&Hr--);break;case 2:if(Z=this.productions_[z[1]][1],Ce.$=P[P.length-Z],Ce._$={first_line:l[l.length-(Z||1)].first_line,last_line:l[l.length-1].last_line,first_column:l[l.length-(Z||1)].first_column,last_column:l[l.length-1].last_column},es&&(Ce._$.range=[l[l.length-(Z||1)].range[0],l[l.length-1].range[1]]),Ft=this.performAction.apply(Ce,[u,Me,ae,me.yy,z[1],P,l].concat(Zn)),typeof Ft<"u")return Ft;Z&&(b=b.slice(0,-1*Z*2),P=P.slice(0,-1*Z),l=l.slice(0,-1*Z)),b.push(this.productions_[z[1]][0]),P.push(Ce.$),l.push(Ce._$),Ur=xe[b[b.length-2]][b[b.length-1]],b.push(Ur);break;case 3:return!0}}return!0}},Xn=function(){var ie={EOF:1,parseError:function(E,b){if(this.yy.parser)this.yy.parser.parseError(E,b);else throw new Error(E)},setInput:function(m,E){return this.yy=E||this.yy||{},this._input=m,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var m=this._input[0];this.yytext+=m,this.yyleng++,this.offset++,this.match+=m,this.matched+=m;var E=m.match(/(?:\r\n?|\n).*/g);return E?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),m},unput:function(m){var E=m.length,b=m.split(/(?:\r\n?|\n)/g);this._input=m+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-E),this.offset-=E;var y=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),b.length-1&&(this.yylineno-=b.length-1);var P=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:b?(b.length===y.length?this.yylloc.first_column:0)+y[y.length-b.length].length-b[0].length:this.yylloc.first_column-E},this.options.ranges&&(this.yylloc.range=[P[0],P[0]+this.yyleng-E]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject:function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError("Lexical error on line "+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true). +`+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},less:function(m){this.unput(this.match.slice(m))},pastInput:function(){var m=this.matched.substr(0,this.matched.length-this.match.length);return(m.length>20?"...":"")+m.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var m=this.match;return m.length<20&&(m+=this._input.substr(0,20-m.length)),(m.substr(0,20)+(m.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var m=this.pastInput(),E=new Array(m.length+1).join("-");return m+this.upcomingInput()+` +`+E+"^"},test_match:function(m,E){var b,y,P;if(this.options.backtrack_lexer&&(P={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(P.yylloc.range=this.yylloc.range.slice(0))),y=m[0].match(/(?:\r\n?|\n).*/g),y&&(this.yylineno+=y.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:y?y[y.length-1].length-y[y.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+m[0].length},this.yytext+=m[0],this.match+=m[0],this.matches=m,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(m[0].length),this.matched+=m[0],b=this.performAction.call(this,this.yy,this,E,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),b)return b;if(this._backtrack){for(var l in P)this[l]=P[l];return!1}return!1},next:function(){if(this.done)return this.EOF;this._input||(this.done=!0);var m,E,b,y;this._more||(this.yytext="",this.match="");for(var P=this._currentRules(),l=0;lE[0].length)){if(E=b,y=l,this.options.backtrack_lexer){if(m=this.test_match(b,P[l]),m!==!1)return m;if(this._backtrack){E=!1;continue}else return!1}else if(!this.options.flex)break}return E?(m=this.test_match(E,P[y]),m!==!1?m:!1):this._input===""?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+`. Unrecognized text. +`+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){var E=this.next();return E||this.lex()},begin:function(E){this.conditionStack.push(E)},popState:function(){var E=this.conditionStack.length-1;return E>0?this.conditionStack.pop():this.conditionStack[0]},_currentRules:function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},topState:function(E){return E=this.conditionStack.length-1-Math.abs(E||0),E>=0?this.conditionStack[E]:"INITIAL"},pushState:function(E){this.begin(E)},stateStackSize:function(){return this.conditionStack.length},options:{},performAction:function(E,b,y,P){function l(u,ae){return b.yytext=b.yytext.substring(u,b.yyleng-ae+u)}var xe=P;switch(y){case 0:if(b.yytext.slice(-2)==="\\\\"?(l(0,1),this.begin("mu")):b.yytext.slice(-1)==="\\"?(l(0,1),this.begin("emu")):this.begin("mu"),b.yytext)return 15;break;case 1:return 15;case 2:return this.popState(),15;break;case 3:return this.begin("raw"),15;break;case 4:return this.popState(),this.conditionStack[this.conditionStack.length-1]==="raw"?15:(l(5,9),18);case 5:return 15;case 6:return this.popState(),14;break;case 7:return 64;case 8:return 67;case 9:return 19;case 10:return this.popState(),this.begin("raw"),23;break;case 11:return 56;case 12:return 60;case 13:return 29;case 14:return 47;case 15:return this.popState(),44;break;case 16:return this.popState(),44;break;case 17:return 34;case 18:return 39;case 19:return 52;case 20:return 48;case 21:this.unput(b.yytext),this.popState(),this.begin("com");break;case 22:return this.popState(),14;break;case 23:return 48;case 24:return 72;case 25:return 71;case 26:return 71;case 27:return 86;case 28:break;case 29:return this.popState(),55;break;case 30:return this.popState(),33;break;case 31:return b.yytext=l(1,2).replace(/\\"/g,'"'),79;break;case 32:return b.yytext=l(1,2).replace(/\\'/g,"'"),79;break;case 33:return 84;case 34:return 81;case 35:return 81;case 36:return 82;case 37:return 83;case 38:return 80;case 39:return 74;case 40:return 76;case 41:return 71;case 42:return b.yytext=b.yytext.replace(/\\([\\\]])/g,"$1"),71;break;case 43:return"INVALID";case 44:return 5}},rules:[/^(?:[^\x00]*?(?=(\{\{)))/,/^(?:[^\x00]+)/,/^(?:[^\x00]{2,}?(?=(\{\{|\\\{\{|\\\\\{\{|$)))/,/^(?:\{\{\{\{(?=[^/]))/,/^(?:\{\{\{\{\/[^\s!"#%-,\.\/;->@\[-\^`\{-~]+(?=[=}\s\/.])\}\}\}\})/,/^(?:[^\x00]+?(?=(\{\{\{\{)))/,/^(?:[\s\S]*?--(~)?\}\})/,/^(?:\()/,/^(?:\))/,/^(?:\{\{\{\{)/,/^(?:\}\}\}\})/,/^(?:\{\{(~)?>)/,/^(?:\{\{(~)?#>)/,/^(?:\{\{(~)?#\*?)/,/^(?:\{\{(~)?\/)/,/^(?:\{\{(~)?\^\s*(~)?\}\})/,/^(?:\{\{(~)?\s*else\s*(~)?\}\})/,/^(?:\{\{(~)?\^)/,/^(?:\{\{(~)?\s*else\b)/,/^(?:\{\{(~)?\{)/,/^(?:\{\{(~)?&)/,/^(?:\{\{(~)?!--)/,/^(?:\{\{(~)?![\s\S]*?\}\})/,/^(?:\{\{(~)?\*?)/,/^(?:=)/,/^(?:\.\.)/,/^(?:\.(?=([=~}\s\/.)|])))/,/^(?:[\/.])/,/^(?:\s+)/,/^(?:\}(~)?\}\})/,/^(?:(~)?\}\})/,/^(?:"(\\["]|[^"])*")/,/^(?:'(\\[']|[^'])*')/,/^(?:@)/,/^(?:true(?=([~}\s)])))/,/^(?:false(?=([~}\s)])))/,/^(?:undefined(?=([~}\s)])))/,/^(?:null(?=([~}\s)])))/,/^(?:-?[0-9]+(?:\.[0-9]+)?(?=([~}\s)])))/,/^(?:as\s+\|)/,/^(?:\|)/,/^(?:([^\s!"#%-,\.\/;->@\[-\^`\{-~]+(?=([=~}\s\/.)|]))))/,/^(?:\[(\\\]|[^\]])*\])/,/^(?:.)/,/^(?:$)/],conditions:{mu:{rules:[7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44],inclusive:!1},emu:{rules:[2],inclusive:!1},com:{rules:[6],inclusive:!1},raw:{rules:[3,4,5],inclusive:!1},INITIAL:{rules:[0,1,44],inclusive:!0}}};return ie}();Rt.lexer=Xn;function qt(){this.yy={}}return qt.prototype=Rt,Rt.Parser=qt,new qt}(),vt=Zs;var or=["description","fileName","lineNumber","endLineNumber","message","name","number","stack"];function lr(t,e){var r=e&&e.loc,n,s,i,a;r&&(n=r.start.line,s=r.end.line,i=r.start.column,a=r.end.column,t+=" - "+n+":"+i);for(var o=Error.prototype.constructor.call(this,t),c=0;cpr,id:()=>ei,prepareBlock:()=>ai,prepareMustache:()=>si,preparePartialBlock:()=>li,preparePath:()=>ni,prepareProgram:()=>oi,prepareRawBlock:()=>ii,stripComment:()=>ri,stripFlags:()=>ti});function hr(t,e){if(e=e.path?e.path.original:e,t.path.original!==e){var r={loc:t.path.loc};throw new le(t.path.original+" doesn't match "+e,r)}}function pr(t,e){this.source=t,this.start={line:e.first_line,column:e.first_column},this.end={line:e.last_line,column:e.last_column}}function ei(t){return/^\[.*\]$/.test(t)?t.substring(1,t.length-1):t}function ti(t,e){return{open:t.charAt(2)==="~",close:e.charAt(e.length-3)==="~"}}function ri(t){return t.replace(/^\{\{~?!-?-?/,"").replace(/-?-?~?\}\}$/,"")}function ni(t,e,r){r=this.locInfo(r);for(var n=t?"@":"",s=[],i=0,a=0,o=e.length;a0)throw new le("Invalid path: "+n,{loc:r});c===".."&&i++}else s.push(c)}return{type:"PathExpression",data:t,depth:i,parts:s,original:n,loc:r}}function si(t,e,r,n,s,i){var a=n.charAt(3)||n.charAt(2),o=a!=="{"&&a!=="&",c=/\*/.test(n);return{type:c?"Decorator":"MustacheStatement",path:t,params:e,hash:r,escaped:o,strip:s,loc:this.locInfo(i)}}function ii(t,e,r,n){hr(t,r),n=this.locInfo(n);var s={type:"Program",body:e,strip:{},loc:n};return{type:"BlockStatement",path:t.path,params:t.params,hash:t.hash,program:s,openStrip:{},inverseStrip:{},closeStrip:{},loc:n}}function ai(t,e,r,n,s,i){n&&n.path&&hr(t,n);var a=/\*/.test(t.open);e.blockParams=t.blockParams;var o,c;if(r){if(a)throw new le("Unexpected inverse block on decorator",r);r.chain&&(r.program.body[0].closeStrip=n.strip),c=r.strip,o=r.program}return s&&(s=o,o=e,e=s),{type:a?"DecoratorBlock":"BlockStatement",path:t.path,params:t.params,hash:t.hash,program:e,inverse:o,openStrip:t.strip,inverseStrip:c,closeStrip:n&&n.strip,loc:this.locInfo(i)}}function oi(t,e){if(!e&&t.length){var r=t[0].loc,n=t[t.length-1].loc;r&&n&&(e={source:r.source,start:{line:r.start.line,column:r.start.column},end:{line:n.end.line,column:n.end.column}})}return{type:"Program",body:t,strip:{},loc:e}}function li(t,e,r,n){return hr(t,r),{type:"PartialBlockStatement",name:t.path,params:t.params,hash:t.hash,program:e,openStrip:t.strip,closeStrip:r&&r.strip,loc:this.locInfo(n)}}var Ln={};for(xt in nt)Object.prototype.hasOwnProperty.call(nt,xt)&&(Ln[xt]=nt[xt]);var xt;function Ct(t,e){if(t.type==="Program")return t;vt.yy=Ln,vt.yy.locInfo=function(n){return new pr(e&&e.srcName,n)};var r=vt.parse(t);return r}function fr(t,e){var r=Ct(t,e),n=new Cn(e);return n.accept(r)}var Dn={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:"&",andand:"\u2A55",And:"\u2A53",and:"\u2227",andd:"\u2A5C",andslope:"\u2A58",andv:"\u2A5A",ang:"\u2220",ange:"\u29A4",angle:"\u2220",angmsdaa:"\u29A8",angmsdab:"\u29A9",angmsdac:"\u29AA",angmsdad:"\u29AB",angmsdae:"\u29AC",angmsdaf:"\u29AD",angmsdag:"\u29AE",angmsdah:"\u29AF",angmsd:"\u2221",angrt:"\u221F",angrtvb:"\u22BE",angrtvbd:"\u299D",angsph:"\u2222",angst:"\xC5",angzarr:"\u237C",Aogon:"\u0104",aogon:"\u0105",Aopf:"\u{1D538}",aopf:"\u{1D552}",apacir:"\u2A6F",ap:"\u2248",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:"\u2305",Barwed:"\u2306",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:"\u2510",boxdL:"\u2555",boxDl:"\u2556",boxDL:"\u2557",boxdr:"\u250C",boxdR:"\u2552",boxDr:"\u2553",boxDR:"\u2554",boxh:"\u2500",boxH:"\u2550",boxhd:"\u252C",boxHd:"\u2564",boxhD:"\u2565",boxHD:"\u2566",boxhu:"\u2534",boxHu:"\u2567",boxhU:"\u2568",boxHU:"\u2569",boxminus:"\u229F",boxplus:"\u229E",boxtimes:"\u22A0",boxul:"\u2518",boxuL:"\u255B",boxUl:"\u255C",boxUL:"\u255D",boxur:"\u2514",boxuR:"\u2558",boxUr:"\u2559",boxUR:"\u255A",boxv:"\u2502",boxV:"\u2551",boxvh:"\u253C",boxvH:"\u256A",boxVh:"\u256B",boxVH:"\u256C",boxvl:"\u2524",boxvL:"\u2561",boxVl:"\u2562",boxVL:"\u2563",boxvr:"\u251C",boxvR:"\u255E",boxVr:"\u255F",boxVR:"\u2560",bprime:"\u2035",breve:"\u02D8",Breve:"\u02D8",brvbar:"\xA6",bscr:"\u{1D4B7}",Bscr:"\u212C",bsemi:"\u204F",bsim:"\u223D",bsime:"\u22CD",bsolb:"\u29C5",bsol:"\\",bsolhsub:"\u27C8",bull:"\u2022",bullet:"\u2022",bump:"\u224E",bumpE:"\u2AAE",bumpe:"\u224F",Bumpeq:"\u224E",bumpeq:"\u224F",Cacute:"\u0106",cacute:"\u0107",capand:"\u2A44",capbrcup:"\u2A49",capcap:"\u2A4B",cap:"\u2229",Cap:"\u22D2",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:"\u{1D520}",Cfr:"\u212D",CHcy:"\u0427",chcy:"\u0447",check:"\u2713",checkmark:"\u2713",Chi:"\u03A7",chi:"\u03C7",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",cir:"\u25CB",cirE:"\u29C3",cire:"\u2257",cirfnint:"\u2A10",cirmid:"\u2AEF",cirscir:"\u29C2",ClockwiseContourIntegral:"\u2232",CloseCurlyDoubleQuote:"\u201D",CloseCurlyQuote:"\u2019",clubs:"\u2663",clubsuit:"\u2663",colon:":",Colon:"\u2237",Colone:"\u2A74",colone:"\u2254",coloneq:"\u2254",comma:",",commat:"@",comp:"\u2201",compfn:"\u2218",complement:"\u2201",complexes:"\u2102",cong:"\u2245",congdot:"\u2A6D",Congruent:"\u2261",conint:"\u222E",Conint:"\u222F",ContourIntegral:"\u222E",copf:"\u{1D554}",Copf:"\u2102",coprod:"\u2210",Coproduct:"\u2210",copy:"\xA9",COPY:"\xA9",copysr:"\u2117",CounterClockwiseContourIntegral:"\u2233",crarr:"\u21B5",cross:"\u2717",Cross:"\u2A2F",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",cupbrcap:"\u2A48",cupcap:"\u2A46",CupCap:"\u224D",cup:"\u222A",Cup:"\u22D3",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:"\u2020",Dagger:"\u2021",daleth:"\u2138",darr:"\u2193",Darr:"\u21A1",dArr:"\u21D3",dash:"\u2010",Dashv:"\u2AE4",dashv:"\u22A3",dbkarow:"\u290F",dblac:"\u02DD",Dcaron:"\u010E",dcaron:"\u010F",Dcy:"\u0414",dcy:"\u0434",ddagger:"\u2021",ddarr:"\u21CA",DD:"\u2145",dd:"\u2146",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",DownArrowBar:"\u2913",downarrow:"\u2193",DownArrow:"\u2193",Downarrow:"\u21D3",DownArrowUpArrow:"\u21F5",DownBreve:"\u0311",downdownarrows:"\u21CA",downharpoonleft:"\u21C3",downharpoonright:"\u21C2",DownLeftRightVector:"\u2950",DownLeftTeeVector:"\u295E",DownLeftVectorBar:"\u2956",DownLeftVector:"\u21BD",DownRightTeeVector:"\u295F",DownRightVectorBar:"\u2957",DownRightVector:"\u21C1",DownTeeArrow:"\u21A7",DownTee:"\u22A4",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",Ecirc:"\xCA",ecirc:"\xEA",ecir:"\u2256",ecolon:"\u2255",Ecy:"\u042D",ecy:"\u044D",eDDot:"\u2A77",Edot:"\u0116",edot:"\u0117",eDot:"\u2251",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",emsp13:"\u2004",emsp14:"\u2005",emsp:"\u2003",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:"\u212F",Escr:"\u2130",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:"\u{1D4BB}",Fscr:"\u2131",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:"\u2265",gE:"\u2267",gEl:"\u2A8C",gel:"\u22DB",geq:"\u2265",geqq:"\u2267",geqslant:"\u2A7E",gescc:"\u2AA9",ges:"\u2A7E",gesdot:"\u2A80",gesdoto:"\u2A82",gesdotol:"\u2A84",gesl:"\u22DB\uFE00",gesles:"\u2A94",Gfr:"\u{1D50A}",gfr:"\u{1D524}",gg:"\u226B",Gg:"\u22D9",ggg:"\u22D9",gimel:"\u2137",GJcy:"\u0403",gjcy:"\u0453",gla:"\u2AA5",gl:"\u2277",glE:"\u2A92",glj:"\u2AA4",gnap:"\u2A8A",gnapprox:"\u2A8A",gne:"\u2A88",gnE:"\u2269",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",gtcc:"\u2AA7",gtcir:"\u2A7A",gt:">",GT:">",Gt:"\u226B",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",harrcir:"\u2948",harr:"\u2194",hArr:"\u21D4",harrw:"\u21AD",Hat:"^",hbar:"\u210F",Hcirc:"\u0124",hcirc:"\u0125",hearts:"\u2665",heartsuit:"\u2665",hellip:"\u2026",hercon:"\u22B9",hfr:"\u{1D525}",Hfr:"\u210C",HilbertSpace:"\u210B",hksearow:"\u2925",hkswarow:"\u2926",hoarr:"\u21FF",homtht:"\u223B",hookleftarrow:"\u21A9",hookrightarrow:"\u21AA",hopf:"\u{1D559}",Hopf:"\u210D",horbar:"\u2015",HorizontalLine:"\u2500",hscr:"\u{1D4BD}",Hscr:"\u210B",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:"\u{1D526}",Ifr:"\u2111",Igrave:"\xCC",igrave:"\xEC",ii:"\u2148",iiiint:"\u2A0C",iiint:"\u222D",iinfin:"\u29DC",iiota:"\u2129",IJlig:"\u0132",ijlig:"\u0133",Imacr:"\u012A",imacr:"\u012B",image:"\u2111",ImaginaryI:"\u2148",imagline:"\u2110",imagpart:"\u2111",imath:"\u0131",Im:"\u2111",imof:"\u22B7",imped:"\u01B5",Implies:"\u21D2",incare:"\u2105",in:"\u2208",infin:"\u221E",infintie:"\u29DD",inodot:"\u0131",intcal:"\u22BA",int:"\u222B",Int:"\u222C",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:"\u{1D4BE}",Iscr:"\u2110",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:"\u27E8",Lang:"\u27EA",langd:"\u2991",langle:"\u27E8",lap:"\u2A85",Laplacetrf:"\u2112",laquo:"\xAB",larrb:"\u21E4",larrbfs:"\u291F",larr:"\u2190",Larr:"\u219E",lArr:"\u21D0",larrfs:"\u291D",larrhk:"\u21A9",larrlp:"\u21AB",larrpl:"\u2939",larrsim:"\u2973",larrtl:"\u21A2",latail:"\u2919",lAtail:"\u291B",lat:"\u2AAB",late:"\u2AAD",lates:"\u2AAD\uFE00",lbarr:"\u290C",lBarr:"\u290E",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:"\u2264",lE:"\u2266",LeftAngleBracket:"\u27E8",LeftArrowBar:"\u21E4",leftarrow:"\u2190",LeftArrow:"\u2190",Leftarrow:"\u21D0",LeftArrowRightArrow:"\u21C6",leftarrowtail:"\u21A2",LeftCeiling:"\u2308",LeftDoubleBracket:"\u27E6",LeftDownTeeVector:"\u2961",LeftDownVectorBar:"\u2959",LeftDownVector:"\u21C3",LeftFloor:"\u230A",leftharpoondown:"\u21BD",leftharpoonup:"\u21BC",leftleftarrows:"\u21C7",leftrightarrow:"\u2194",LeftRightArrow:"\u2194",Leftrightarrow:"\u21D4",leftrightarrows:"\u21C6",leftrightharpoons:"\u21CB",leftrightsquigarrow:"\u21AD",LeftRightVector:"\u294E",LeftTeeArrow:"\u21A4",LeftTee:"\u22A3",LeftTeeVector:"\u295A",leftthreetimes:"\u22CB",LeftTriangleBar:"\u29CF",LeftTriangle:"\u22B2",LeftTriangleEqual:"\u22B4",LeftUpDownVector:"\u2951",LeftUpTeeVector:"\u2960",LeftUpVectorBar:"\u2958",LeftUpVector:"\u21BF",LeftVectorBar:"\u2952",LeftVector:"\u21BC",lEg:"\u2A8B",leg:"\u22DA",leq:"\u2264",leqq:"\u2266",leqslant:"\u2A7D",lescc:"\u2AA8",les:"\u2A7D",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",llarr:"\u21C7",ll:"\u226A",Ll:"\u22D8",llcorner:"\u231E",Lleftarrow:"\u21DA",llhard:"\u296B",lltri:"\u25FA",Lmidot:"\u013F",lmidot:"\u0140",lmoustache:"\u23B0",lmoust:"\u23B0",lnap:"\u2A89",lnapprox:"\u2A89",lne:"\u2A87",lnE:"\u2268",lneq:"\u2A87",lneqq:"\u2268",lnsim:"\u22E6",loang:"\u27EC",loarr:"\u21FD",lobrk:"\u27E6",longleftarrow:"\u27F5",LongLeftArrow:"\u27F5",Longleftarrow:"\u27F8",longleftrightarrow:"\u27F7",LongLeftRightArrow:"\u27F7",Longleftrightarrow:"\u27FA",longmapsto:"\u27FC",longrightarrow:"\u27F6",LongRightArrow:"\u27F6",Longrightarrow:"\u27F9",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:"\u{1D4C1}",Lscr:"\u2112",lsh:"\u21B0",Lsh:"\u21B0",lsim:"\u2272",lsime:"\u2A8D",lsimg:"\u2A8F",lsqb:"[",lsquo:"\u2018",lsquor:"\u201A",Lstrok:"\u0141",lstrok:"\u0142",ltcc:"\u2AA6",ltcir:"\u2A79",lt:"<",LT:"<",Lt:"\u226A",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",midast:"*",midcir:"\u2AF0",mid:"\u2223",middot:"\xB7",minusb:"\u229F",minus:"\u2212",minusd:"\u2238",minusdu:"\u2A2A",MinusPlus:"\u2213",mlcp:"\u2ADB",mldr:"\u2026",mnplus:"\u2213",models:"\u22A7",Mopf:"\u{1D544}",mopf:"\u{1D55E}",mp:"\u2213",mscr:"\u{1D4C2}",Mscr:"\u2133",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",natural:"\u266E",naturals:"\u2115",natur:"\u266E",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",nearhk:"\u2924",nearr:"\u2197",neArr:"\u21D7",nearrow:"\u2197",ne:"\u2260",nedot:"\u2250\u0338",NegativeMediumSpace:"\u200B",NegativeThickSpace:"\u200B",NegativeThinSpace:"\u200B",NegativeVeryThinSpace:"\u200B",nequiv:"\u2262",nesear:"\u2928",nesim:"\u2242\u0338",NestedGreaterGreater:"\u226B",NestedLessLess:"\u226A",NewLine:` +`,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:"\u21AE",nhArr:"\u21CE",nhpar:"\u2AF2",ni:"\u220B",nis:"\u22FC",nisd:"\u22FA",niv:"\u220B",NJcy:"\u040A",njcy:"\u045A",nlarr:"\u219A",nlArr:"\u21CD",nldr:"\u2025",nlE:"\u2266\u0338",nle:"\u2270",nleftarrow:"\u219A",nLeftarrow:"\u21CD",nleftrightarrow:"\u21AE",nLeftrightarrow:"\u21CE",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:"\u{1D55F}",Nopf:"\u2115",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",NotLeftTriangleBar:"\u29CF\u0338",NotLeftTriangle:"\u22EA",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",NotRightTriangleBar:"\u29D0\u0338",NotRightTriangle:"\u22EB",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",nparallel:"\u2226",npar:"\u2226",nparsl:"\u2AFD\u20E5",npart:"\u2202\u0338",npolint:"\u2A14",npr:"\u2280",nprcue:"\u22E0",nprec:"\u2280",npreceq:"\u2AAF\u0338",npre:"\u2AAF\u0338",nrarrc:"\u2933\u0338",nrarr:"\u219B",nrArr:"\u21CF",nrarrw:"\u219D\u0338",nrightarrow:"\u219B",nRightarrow:"\u21CF",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:"\u22AC",nvDash:"\u22AD",nVdash:"\u22AE",nVDash:"\u22AF",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:"\u2196",nwArr:"\u21D6",nwarrow:"\u2196",nwnear:"\u2927",Oacute:"\xD3",oacute:"\xF3",oast:"\u229B",Ocirc:"\xD4",ocirc:"\xF4",ocir:"\u229A",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",orarr:"\u21BB",Or:"\u2A54",or:"\u2228",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",otimesas:"\u2A36",Otimes:"\u2A37",otimes:"\u2297",Ouml:"\xD6",ouml:"\xF6",ovbar:"\u233D",OverBar:"\u203E",OverBrace:"\u23DE",OverBracket:"\u23B4",OverParenthesis:"\u23DC",para:"\xB6",parallel:"\u2225",par:"\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",plusacir:"\u2A23",plusb:"\u229E",pluscir:"\u2A22",plus:"+",plusdo:"\u2214",plusdu:"\u2A25",pluse:"\u2A72",PlusMinus:"\xB1",plusmn:"\xB1",plussim:"\u2A26",plustwo:"\u2A27",pm:"\xB1",Poincareplane:"\u210C",pointint:"\u2A15",popf:"\u{1D561}",Popf:"\u2119",pound:"\xA3",prap:"\u2AB7",Pr:"\u2ABB",pr:"\u227A",prcue:"\u227C",precapprox:"\u2AB7",prec:"\u227A",preccurlyeq:"\u227C",Precedes:"\u227A",PrecedesEqual:"\u2AAF",PrecedesSlantEqual:"\u227C",PrecedesTilde:"\u227E",preceq:"\u2AAF",precnapprox:"\u2AB9",precneqq:"\u2AB5",precnsim:"\u22E8",pre:"\u2AAF",prE:"\u2AB3",precsim:"\u227E",prime:"\u2032",Prime:"\u2033",primes:"\u2119",prnap:"\u2AB9",prnE:"\u2AB5",prnsim:"\u22E8",prod:"\u220F",Product:"\u220F",profalar:"\u232E",profline:"\u2312",profsurf:"\u2313",prop:"\u221D",Proportional:"\u221D",Proportion:"\u2237",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:"\u{1D562}",Qopf:"\u211A",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:"\u27E9",Rang:"\u27EB",rangd:"\u2992",range:"\u29A5",rangle:"\u27E9",raquo:"\xBB",rarrap:"\u2975",rarrb:"\u21E5",rarrbfs:"\u2920",rarrc:"\u2933",rarr:"\u2192",Rarr:"\u21A0",rArr:"\u21D2",rarrfs:"\u291E",rarrhk:"\u21AA",rarrlp:"\u21AC",rarrpl:"\u2945",rarrsim:"\u2974",Rarrtl:"\u2916",rarrtl:"\u21A3",rarrw:"\u219D",ratail:"\u291A",rAtail:"\u291C",ratio:"\u2236",rationals:"\u211A",rbarr:"\u290D",rBarr:"\u290F",RBarr:"\u2910",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",real:"\u211C",realine:"\u211B",realpart:"\u211C",reals:"\u211D",Re:"\u211C",rect:"\u25AD",reg:"\xAE",REG:"\xAE",ReverseElement:"\u220B",ReverseEquilibrium:"\u21CB",ReverseUpEquilibrium:"\u296F",rfisht:"\u297D",rfloor:"\u230B",rfr:"\u{1D52F}",Rfr:"\u211C",rHar:"\u2964",rhard:"\u21C1",rharu:"\u21C0",rharul:"\u296C",Rho:"\u03A1",rho:"\u03C1",rhov:"\u03F1",RightAngleBracket:"\u27E9",RightArrowBar:"\u21E5",rightarrow:"\u2192",RightArrow:"\u2192",Rightarrow:"\u21D2",RightArrowLeftArrow:"\u21C4",rightarrowtail:"\u21A3",RightCeiling:"\u2309",RightDoubleBracket:"\u27E7",RightDownTeeVector:"\u295D",RightDownVectorBar:"\u2955",RightDownVector:"\u21C2",RightFloor:"\u230B",rightharpoondown:"\u21C1",rightharpoonup:"\u21C0",rightleftarrows:"\u21C4",rightleftharpoons:"\u21CC",rightrightarrows:"\u21C9",rightsquigarrow:"\u219D",RightTeeArrow:"\u21A6",RightTee:"\u22A2",RightTeeVector:"\u295B",rightthreetimes:"\u22CC",RightTriangleBar:"\u29D0",RightTriangle:"\u22B3",RightTriangleEqual:"\u22B5",RightUpDownVector:"\u294F",RightUpTeeVector:"\u295C",RightUpVectorBar:"\u2954",RightUpVector:"\u21BE",RightVectorBar:"\u2953",RightVector:"\u21C0",ring:"\u02DA",risingdotseq:"\u2253",rlarr:"\u21C4",rlhar:"\u21CC",rlm:"\u200F",rmoustache:"\u23B1",rmoust:"\u23B1",rnmid:"\u2AEE",roang:"\u27ED",roarr:"\u21FE",robrk:"\u27E7",ropar:"\u2986",ropf:"\u{1D563}",Ropf:"\u211D",roplus:"\u2A2E",rotimes:"\u2A35",RoundImplies:"\u2970",rpar:")",rpargt:"\u2994",rppolint:"\u2A12",rrarr:"\u21C9",Rrightarrow:"\u21DB",rsaquo:"\u203A",rscr:"\u{1D4C7}",Rscr:"\u211B",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",scap:"\u2AB8",Scaron:"\u0160",scaron:"\u0161",Sc:"\u2ABC",sc:"\u227B",sccue:"\u227D",sce:"\u2AB0",scE:"\u2AB4",Scedil:"\u015E",scedil:"\u015F",Scirc:"\u015C",scirc:"\u015D",scnap:"\u2ABA",scnE:"\u2AB6",scnsim:"\u22E9",scpolint:"\u2A13",scsim:"\u227F",Scy:"\u0421",scy:"\u0441",sdotb:"\u22A1",sdot:"\u22C5",sdote:"\u2A66",searhk:"\u2925",searr:"\u2198",seArr:"\u21D8",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",solbar:"\u233F",solb:"\u29C4",sol:"/",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",square:"\u25A1",Square:"\u25A1",SquareIntersection:"\u2293",SquareSubset:"\u228F",SquareSubsetEqual:"\u2291",SquareSuperset:"\u2290",SquareSupersetEqual:"\u2292",SquareUnion:"\u2294",squarf:"\u25AA",squ:"\u25A1",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:"\u2282",Sub:"\u22D0",subdot:"\u2ABD",subE:"\u2AC5",sube:"\u2286",subedot:"\u2AC3",submult:"\u2AC1",subnE:"\u2ACB",subne:"\u228A",subplus:"\u2ABF",subrarr:"\u2979",subset:"\u2282",Subset:"\u22D0",subseteq:"\u2286",subseteqq:"\u2AC5",SubsetEqual:"\u2286",subsetneq:"\u228A",subsetneqq:"\u2ACB",subsim:"\u2AC7",subsub:"\u2AD5",subsup:"\u2AD3",succapprox:"\u2AB8",succ:"\u227B",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",sup1:"\xB9",sup2:"\xB2",sup3:"\xB3",sup:"\u2283",Sup:"\u22D1",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:"\u2283",Supset:"\u22D1",supseteq:"\u2287",supseteqq:"\u2AC6",supsetneq:"\u228B",supsetneqq:"\u2ACC",supsim:"\u2AC8",supsub:"\u2AD4",supsup:"\u2AD6",swarhk:"\u2926",swarr:"\u2199",swArr:"\u21D9",swarrow:"\u2199",swnwar:"\u292A",szlig:"\xDF",Tab:" ",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",ThinSpace:"\u2009",thinsp:"\u2009",thkap:"\u2248",thksim:"\u223C",THORN:"\xDE",thorn:"\xFE",tilde:"\u02DC",Tilde:"\u223C",TildeEqual:"\u2243",TildeFullEqual:"\u2245",TildeTilde:"\u2248",timesbar:"\u2A31",timesb:"\u22A0",times:"\xD7",timesd:"\u2A30",tint:"\u222D",toea:"\u2928",topbot:"\u2336",topcir:"\u2AF1",top:"\u22A4",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:"\u2191",Uarr:"\u219F",uArr:"\u21D1",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}",UpArrowBar:"\u2912",uparrow:"\u2191",UpArrow:"\u2191",Uparrow:"\u21D1",UpArrowDownArrow:"\u21C5",updownarrow:"\u2195",UpDownArrow:"\u2195",Updownarrow:"\u21D5",UpEquilibrium:"\u296E",upharpoonleft:"\u21BF",upharpoonright:"\u21BE",uplus:"\u228E",UpperLeftArrow:"\u2196",UpperRightArrow:"\u2197",upsi:"\u03C5",Upsi:"\u03D2",upsih:"\u03D2",Upsilon:"\u03A5",upsilon:"\u03C5",UpTeeArrow:"\u21A5",UpTee:"\u22A5",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:"\u2195",vArr:"\u21D5",varrho:"\u03F1",varsigma:"\u03C2",varsubsetneq:"\u228A\uFE00",varsubsetneqq:"\u2ACB\uFE00",varsupsetneq:"\u228B\uFE00",varsupsetneqq:"\u2ACC\uFE00",vartheta:"\u03D1",vartriangleleft:"\u22B2",vartriangleright:"\u22B3",vBar:"\u2AE8",Vbar:"\u2AEB",vBarv:"\u2AE9",Vcy:"\u0412",vcy:"\u0432",vdash:"\u22A2",vDash:"\u22A8",Vdash:"\u22A9",VDash:"\u22AB",Vdashl:"\u2AE6",veebar:"\u22BB",vee:"\u2228",Vee:"\u22C1",veeeq:"\u225A",vellip:"\u22EE",verbar:"|",Verbar:"\u2016",vert:"|",Vert:"\u2016",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:"\u2227",Wedge:"\u22C0",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:"\u27F7",xhArr:"\u27FA",Xi:"\u039E",xi:"\u03BE",xlarr:"\u27F5",xlArr:"\u27F8",xmap:"\u27FC",xnis:"\u22FB",xodot:"\u2A00",Xopf:"\u{1D54F}",xopf:"\u{1D569}",xoplus:"\u2A01",xotime:"\u2A02",xrarr:"\u27F6",xrArr:"\u27F9",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:"\xFF",Yuml:"\u0178",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:"\u{1D537}",Zfr:"\u2128",ZHcy:"\u0416",zhcy:"\u0436",zigrarr:"\u21DD",zopf:"\u{1D56B}",Zopf:"\u2124",Zscr:"\u{1D4B5}",zscr:"\u{1D4CF}",zwj:"\u200D",zwnj:"\u200C"},ci=/^#[xX]([A-Fa-f0-9]+)$/,ui=/^#([0-9]+)$/,hi=/^([A-Za-z0-9]+)$/,dr=function(){function t(e){this.named=e}return t.prototype.parse=function(e){if(e){var r=e.match(ci);if(r)return String.fromCharCode(parseInt(r[1],16));if(r=e.match(ui),r)return String.fromCharCode(parseInt(r[1],10));if(r=e.match(hi),r)return this.named[r[1]]}},t}(),pi=/[\t\n\f ]/,fi=/[A-Za-z]/,di=/\r\n?/g;function B(t){return pi.test(t)}function _n(t){return fi.test(t)}function mi(t){return t.replace(di,` +`)}var mr=function(){function t(e,r,n){n===void 0&&(n="precompile"),this.delegate=e,this.entityParser=r,this.mode=n,this.state="beforeData",this.line=-1,this.column=-1,this.input="",this.index=-1,this.tagNameBuffer="",this.states={beforeData:function(){var s=this.peek();if(s==="<"&&!this.isIgnoredEndTag())this.transitionTo("tagOpen"),this.markTagStart(),this.consume();else{if(this.mode==="precompile"&&s===` +`){var i=this.tagNameBuffer.toLowerCase();(i==="pre"||i==="textarea")&&this.consume()}this.transitionTo("data"),this.delegate.beginData()}},data:function(){var s=this.peek(),i=this.tagNameBuffer;s==="<"&&!this.isIgnoredEndTag()?(this.delegate.finishData(),this.transitionTo("tagOpen"),this.markTagStart(),this.consume()):s==="&"&&i!=="script"&&i!=="style"?(this.consume(),this.delegate.appendToData(this.consumeCharRef()||"&")):(this.consume(),this.delegate.appendToData(s))},tagOpen:function(){var s=this.consume();s==="!"?this.transitionTo("markupDeclarationOpen"):s==="/"?this.transitionTo("endTagOpen"):(s==="@"||s===":"||_n(s))&&(this.transitionTo("tagName"),this.tagNameBuffer="",this.delegate.beginStartTag(),this.appendToTagName(s))},markupDeclarationOpen:function(){var s=this.consume();if(s==="-"&&this.peek()==="-")this.consume(),this.transitionTo("commentStart"),this.delegate.beginComment();else{var i=s.toUpperCase()+this.input.substring(this.index,this.index+6).toUpperCase();i==="DOCTYPE"&&(this.consume(),this.consume(),this.consume(),this.consume(),this.consume(),this.consume(),this.transitionTo("doctype"),this.delegate.beginDoctype&&this.delegate.beginDoctype())}},doctype:function(){var s=this.consume();B(s)&&this.transitionTo("beforeDoctypeName")},beforeDoctypeName:function(){var s=this.consume();B(s)||(this.transitionTo("doctypeName"),this.delegate.appendToDoctypeName&&this.delegate.appendToDoctypeName(s.toLowerCase()))},doctypeName:function(){var s=this.consume();B(s)?this.transitionTo("afterDoctypeName"):s===">"?(this.delegate.endDoctype&&this.delegate.endDoctype(),this.transitionTo("beforeData")):this.delegate.appendToDoctypeName&&this.delegate.appendToDoctypeName(s.toLowerCase())},afterDoctypeName:function(){var s=this.consume();if(!B(s))if(s===">")this.delegate.endDoctype&&this.delegate.endDoctype(),this.transitionTo("beforeData");else{var i=s.toUpperCase()+this.input.substring(this.index,this.index+5).toUpperCase(),a=i.toUpperCase()==="PUBLIC",o=i.toUpperCase()==="SYSTEM";(a||o)&&(this.consume(),this.consume(),this.consume(),this.consume(),this.consume(),this.consume()),a?this.transitionTo("afterDoctypePublicKeyword"):o&&this.transitionTo("afterDoctypeSystemKeyword")}},afterDoctypePublicKeyword:function(){var s=this.peek();B(s)?(this.transitionTo("beforeDoctypePublicIdentifier"),this.consume()):s==='"'?(this.transitionTo("doctypePublicIdentifierDoubleQuoted"),this.consume()):s==="'"?(this.transitionTo("doctypePublicIdentifierSingleQuoted"),this.consume()):s===">"&&(this.consume(),this.delegate.endDoctype&&this.delegate.endDoctype(),this.transitionTo("beforeData"))},doctypePublicIdentifierDoubleQuoted:function(){var s=this.consume();s==='"'?this.transitionTo("afterDoctypePublicIdentifier"):s===">"?(this.delegate.endDoctype&&this.delegate.endDoctype(),this.transitionTo("beforeData")):this.delegate.appendToDoctypePublicIdentifier&&this.delegate.appendToDoctypePublicIdentifier(s)},doctypePublicIdentifierSingleQuoted:function(){var s=this.consume();s==="'"?this.transitionTo("afterDoctypePublicIdentifier"):s===">"?(this.delegate.endDoctype&&this.delegate.endDoctype(),this.transitionTo("beforeData")):this.delegate.appendToDoctypePublicIdentifier&&this.delegate.appendToDoctypePublicIdentifier(s)},afterDoctypePublicIdentifier:function(){var s=this.consume();B(s)?this.transitionTo("betweenDoctypePublicAndSystemIdentifiers"):s===">"?(this.delegate.endDoctype&&this.delegate.endDoctype(),this.transitionTo("beforeData")):s==='"'?this.transitionTo("doctypeSystemIdentifierDoubleQuoted"):s==="'"&&this.transitionTo("doctypeSystemIdentifierSingleQuoted")},betweenDoctypePublicAndSystemIdentifiers:function(){var s=this.consume();B(s)||(s===">"?(this.delegate.endDoctype&&this.delegate.endDoctype(),this.transitionTo("beforeData")):s==='"'?this.transitionTo("doctypeSystemIdentifierDoubleQuoted"):s==="'"&&this.transitionTo("doctypeSystemIdentifierSingleQuoted"))},doctypeSystemIdentifierDoubleQuoted:function(){var s=this.consume();s==='"'?this.transitionTo("afterDoctypeSystemIdentifier"):s===">"?(this.delegate.endDoctype&&this.delegate.endDoctype(),this.transitionTo("beforeData")):this.delegate.appendToDoctypeSystemIdentifier&&this.delegate.appendToDoctypeSystemIdentifier(s)},doctypeSystemIdentifierSingleQuoted:function(){var s=this.consume();s==="'"?this.transitionTo("afterDoctypeSystemIdentifier"):s===">"?(this.delegate.endDoctype&&this.delegate.endDoctype(),this.transitionTo("beforeData")):this.delegate.appendToDoctypeSystemIdentifier&&this.delegate.appendToDoctypeSystemIdentifier(s)},afterDoctypeSystemIdentifier:function(){var s=this.consume();B(s)||s===">"&&(this.delegate.endDoctype&&this.delegate.endDoctype(),this.transitionTo("beforeData"))},commentStart:function(){var s=this.consume();s==="-"?this.transitionTo("commentStartDash"):s===">"?(this.delegate.finishComment(),this.transitionTo("beforeData")):(this.delegate.appendToCommentData(s),this.transitionTo("comment"))},commentStartDash:function(){var s=this.consume();s==="-"?this.transitionTo("commentEnd"):s===">"?(this.delegate.finishComment(),this.transitionTo("beforeData")):(this.delegate.appendToCommentData("-"),this.transitionTo("comment"))},comment:function(){var s=this.consume();s==="-"?this.transitionTo("commentEndDash"):this.delegate.appendToCommentData(s)},commentEndDash:function(){var s=this.consume();s==="-"?this.transitionTo("commentEnd"):(this.delegate.appendToCommentData("-"+s),this.transitionTo("comment"))},commentEnd:function(){var s=this.consume();s===">"?(this.delegate.finishComment(),this.transitionTo("beforeData")):(this.delegate.appendToCommentData("--"+s),this.transitionTo("comment"))},tagName:function(){var s=this.consume();B(s)?this.transitionTo("beforeAttributeName"):s==="/"?this.transitionTo("selfClosingStartTag"):s===">"?(this.delegate.finishTag(),this.transitionTo("beforeData")):this.appendToTagName(s)},endTagName:function(){var s=this.consume();B(s)?(this.transitionTo("beforeAttributeName"),this.tagNameBuffer=""):s==="/"?(this.transitionTo("selfClosingStartTag"),this.tagNameBuffer=""):s===">"?(this.delegate.finishTag(),this.transitionTo("beforeData"),this.tagNameBuffer=""):this.appendToTagName(s)},beforeAttributeName:function(){var s=this.peek();if(B(s)){this.consume();return}else s==="/"?(this.transitionTo("selfClosingStartTag"),this.consume()):s===">"?(this.consume(),this.delegate.finishTag(),this.transitionTo("beforeData")):s==="="?(this.delegate.reportSyntaxError("attribute name cannot start with equals sign"),this.transitionTo("attributeName"),this.delegate.beginAttribute(),this.consume(),this.delegate.appendToAttributeName(s)):(this.transitionTo("attributeName"),this.delegate.beginAttribute())},attributeName:function(){var s=this.peek();B(s)?(this.transitionTo("afterAttributeName"),this.consume()):s==="/"?(this.delegate.beginAttributeValue(!1),this.delegate.finishAttributeValue(),this.consume(),this.transitionTo("selfClosingStartTag")):s==="="?(this.transitionTo("beforeAttributeValue"),this.consume()):s===">"?(this.delegate.beginAttributeValue(!1),this.delegate.finishAttributeValue(),this.consume(),this.delegate.finishTag(),this.transitionTo("beforeData")):s==='"'||s==="'"||s==="<"?(this.delegate.reportSyntaxError(s+" is not a valid character within attribute names"),this.consume(),this.delegate.appendToAttributeName(s)):(this.consume(),this.delegate.appendToAttributeName(s))},afterAttributeName:function(){var s=this.peek();if(B(s)){this.consume();return}else s==="/"?(this.delegate.beginAttributeValue(!1),this.delegate.finishAttributeValue(),this.consume(),this.transitionTo("selfClosingStartTag")):s==="="?(this.consume(),this.transitionTo("beforeAttributeValue")):s===">"?(this.delegate.beginAttributeValue(!1),this.delegate.finishAttributeValue(),this.consume(),this.delegate.finishTag(),this.transitionTo("beforeData")):(this.delegate.beginAttributeValue(!1),this.delegate.finishAttributeValue(),this.transitionTo("attributeName"),this.delegate.beginAttribute(),this.consume(),this.delegate.appendToAttributeName(s))},beforeAttributeValue:function(){var s=this.peek();B(s)?this.consume():s==='"'?(this.transitionTo("attributeValueDoubleQuoted"),this.delegate.beginAttributeValue(!0),this.consume()):s==="'"?(this.transitionTo("attributeValueSingleQuoted"),this.delegate.beginAttributeValue(!0),this.consume()):s===">"?(this.delegate.beginAttributeValue(!1),this.delegate.finishAttributeValue(),this.consume(),this.delegate.finishTag(),this.transitionTo("beforeData")):(this.transitionTo("attributeValueUnquoted"),this.delegate.beginAttributeValue(!1),this.consume(),this.delegate.appendToAttributeValue(s))},attributeValueDoubleQuoted:function(){var s=this.consume();s==='"'?(this.delegate.finishAttributeValue(),this.transitionTo("afterAttributeValueQuoted")):s==="&"?this.delegate.appendToAttributeValue(this.consumeCharRef()||"&"):this.delegate.appendToAttributeValue(s)},attributeValueSingleQuoted:function(){var s=this.consume();s==="'"?(this.delegate.finishAttributeValue(),this.transitionTo("afterAttributeValueQuoted")):s==="&"?this.delegate.appendToAttributeValue(this.consumeCharRef()||"&"):this.delegate.appendToAttributeValue(s)},attributeValueUnquoted:function(){var s=this.peek();B(s)?(this.delegate.finishAttributeValue(),this.consume(),this.transitionTo("beforeAttributeName")):s==="/"?(this.delegate.finishAttributeValue(),this.consume(),this.transitionTo("selfClosingStartTag")):s==="&"?(this.consume(),this.delegate.appendToAttributeValue(this.consumeCharRef()||"&")):s===">"?(this.delegate.finishAttributeValue(),this.consume(),this.delegate.finishTag(),this.transitionTo("beforeData")):(this.consume(),this.delegate.appendToAttributeValue(s))},afterAttributeValueQuoted:function(){var s=this.peek();B(s)?(this.consume(),this.transitionTo("beforeAttributeName")):s==="/"?(this.consume(),this.transitionTo("selfClosingStartTag")):s===">"?(this.consume(),this.delegate.finishTag(),this.transitionTo("beforeData")):this.transitionTo("beforeAttributeName")},selfClosingStartTag:function(){var s=this.peek();s===">"?(this.consume(),this.delegate.markTagAsSelfClosing(),this.delegate.finishTag(),this.transitionTo("beforeData")):this.transitionTo("beforeAttributeName")},endTagOpen:function(){var s=this.consume();(s==="@"||s===":"||_n(s))&&(this.transitionTo("endTagName"),this.tagNameBuffer="",this.delegate.beginEndTag(),this.appendToTagName(s))}},this.reset()}return t.prototype.reset=function(){this.transitionTo("beforeData"),this.input="",this.tagNameBuffer="",this.index=0,this.line=1,this.column=0,this.delegate.reset()},t.prototype.transitionTo=function(e){this.state=e},t.prototype.tokenize=function(e){this.reset(),this.tokenizePart(e),this.tokenizeEOF()},t.prototype.tokenizePart=function(e){for(this.input+=mi(e);this.index"||e==="style"&&this.input.substring(this.index,this.index+8)!==""||e==="script"&&this.input.substring(this.index,this.index+9)!=="<\/script>"},t}(),Uo=function(){function t(e,r){r===void 0&&(r={}),this.options=r,this.token=null,this.startLine=1,this.startColumn=0,this.tokens=[],this.tokenizer=new mr(this,e,r.mode),this._currentAttribute=void 0}return t.prototype.tokenize=function(e){return this.tokens=[],this.tokenizer.tokenize(e),this.tokens},t.prototype.tokenizePart=function(e){return this.tokens=[],this.tokenizer.tokenizePart(e),this.tokens},t.prototype.tokenizeEOF=function(){return this.tokens=[],this.tokenizer.tokenizeEOF(),this.tokens[0]},t.prototype.reset=function(){this.token=null,this.startLine=1,this.startColumn=0},t.prototype.current=function(){var e=this.token;if(e===null)throw new Error("token was unexpectedly null");if(arguments.length===0)return e;for(var r=0;r\xA0]/u,el=new RegExp(bi.source,"gu");var kr=new Set(["area","base","br","col","command","embed","hr","img","input","keygen","link","meta","param","source","track","wbr"]);function yi(t){var e;return kr.has(t.toLowerCase())&&((e=t[0])==null?void 0:e.toLowerCase())===t[0]}var pe=Object.freeze({line:1,column:0}),Ei=Object.freeze({source:"(synthetic)",start:pe,end:pe}),st=Object.freeze({source:"(nonexistent)",start:pe,end:pe}),ue=Object.freeze({source:"(broken)",start:pe,end:pe}),k=function(t){return t.CharPosition="CharPosition",t.HbsPosition="HbsPosition",t.InternalsSynthetic="InternalsSynthetic",t.NonExistent="NonExistent",t.Broken="Broken",t}({}),it="MATCH_ANY",Tr="IS_INVISIBLE",Nr=class{_whens;constructor(e){this._whens=e}first(e){for(let r of this._whens){let n=r.match(e);if(we(n))return n[0]}return null}},Dt=class{_map=new Map;get(e,r){let n=this._map.get(e);return n||(n=r(),this._map.set(e,n),n)}add(e,r){this._map.set(e,r)}match(e){let r=Si(e),n=[],s=this._map.get(r),i=this._map.get(it);return s&&n.push(s),i&&n.push(i),n}};function Hn(t){return t(new vr).check()}var vr=class{_whens=new Dt;check(){return(e,r)=>this.matchFor(e.kind,r.kind)(e,r)}matchFor(e,r){let n=this._whens.match(e);w(we(n),`no match defined for (${e}, ${r}) and no AnyMatch defined either`);let s=new Nr(n).first(r);return w(s!==null,`no match defined for (${e}, ${r}) and no AnyMatch defined either`),s}when(e,r,n){return this._whens.get(e,()=>new Dt).add(r,n),this}};function Si(t){switch(t){case k.Broken:case k.InternalsSynthetic:case k.NonExistent:return Tr;default:return t}}var Ar=class t{static synthetic(e){let r=O.synthetic(e);return new t({loc:r,chars:e})}static load(e,r){return new t({loc:O.load(e,r[1]),chars:r[0]})}chars;loc;constructor(e){this.loc=e.loc,this.chars=e.chars}getString(){return this.chars}serialize(){return[this.chars,this.loc.serialize()]}},O=class t{static get NON_EXISTENT(){return new te(k.NonExistent,st).wrap()}static load(e,r){if(typeof r=="number")return t.forCharPositions(e,r,r);if(typeof r=="string")return t.synthetic(r);if(Array.isArray(r))return t.forCharPositions(e,r[0],r[1]);if(r===k.NonExistent)return t.NON_EXISTENT;if(r===k.Broken)return t.broken(ue);vn(r)}static forHbsLoc(e,r){let n=new de(e,r.start),s=new de(e,r.end);return new ot(e,{start:n,end:s},r).wrap()}static forCharPositions(e,r,n){let s=new Ne(e,r),i=new Ne(e,n);return new at(e,{start:s,end:i}).wrap()}static synthetic(e){return new te(k.InternalsSynthetic,st,e).wrap()}static broken(e=ue){return new te(k.Broken,e).wrap()}isInvisible;constructor(e){this.data=e,this.isInvisible=e.kind!==k.CharPosition&&e.kind!==k.HbsPosition}getStart(){return this.data.getStart().wrap()}getEnd(){return this.data.getEnd().wrap()}get loc(){let e=this.data.toHbsSpan();return e===null?ue:e.toHbsLoc()}get module(){return this.data.getModule()}get startPosition(){return this.loc.start}get endPosition(){return this.loc.end}toJSON(){return this.loc}withStart(e){return Q(e.data,this.data.getEnd())}withEnd(e){return Q(this.data.getStart(),e.data)}asString(){return this.data.asString()}toSlice(e){let r=this.data.asString();return!1,new Ar({loc:this,chars:e||r})}get start(){return this.loc.start}set start(e){this.data.locDidUpdate({start:e})}get end(){return this.loc.end}set end(e){this.data.locDidUpdate({end:e})}get source(){return this.module}collapse(e){switch(e){case"start":return this.getStart().collapsed();case"end":return this.getEnd().collapsed()}}extend(e){return Q(this.data.getStart(),e.data.getEnd())}serialize(){return this.data.serialize()}slice({skipStart:e=0,skipEnd:r=0}){return Q(this.getStart().move(e).data,this.getEnd().move(-r).data)}sliceStartChars({skipStart:e=0,chars:r}){return Q(this.getStart().move(e).data,this.getStart().move(e+r).data)}sliceEndChars({skipEnd:e=0,chars:r}){return Q(this.getEnd().move(e-r).data,this.getStart().move(-e).data)}},at=class{kind=k.CharPosition;_locPosSpan=null;constructor(e,r){this.source=e,this.charPositions=r}wrap(){return new O(this)}asString(){return this.source.slice(this.charPositions.start.charPos,this.charPositions.end.charPos)}getModule(){return this.source.module}getStart(){return this.charPositions.start}getEnd(){return this.charPositions.end}locDidUpdate(){}toHbsSpan(){let e=this._locPosSpan;if(e===null){let r=this.charPositions.start.toHbsPos(),n=this.charPositions.end.toHbsPos();r===null||n===null?e=this._locPosSpan=fe:e=this._locPosSpan=new ot(this.source,{start:r,end:n})}return e===fe?null:e}serialize(){let{start:{charPos:e},end:{charPos:r}}=this.charPositions;return e===r?e:[e,r]}toCharPosSpan(){return this}},ot=class{kind=k.HbsPosition;_charPosSpan=null;_providedHbsLoc;constructor(e,r,n=null){this.source=e,this.hbsPositions=r,this._providedHbsLoc=n}serialize(){let e=this.toCharPosSpan();return e===null?k.Broken:e.wrap().serialize()}wrap(){return new O(this)}updateProvided(e,r){this._providedHbsLoc&&(this._providedHbsLoc[r]=e),this._charPosSpan=null,this._providedHbsLoc={start:e,end:e}}locDidUpdate({start:e,end:r}){e!==void 0&&(this.updateProvided(e,"start"),this.hbsPositions.start=new de(this.source,e,null)),r!==void 0&&(this.updateProvided(r,"end"),this.hbsPositions.end=new de(this.source,r,null))}asString(){let e=this.toCharPosSpan();return e===null?"":e.asString()}getModule(){return this.source.module}getStart(){return this.hbsPositions.start}getEnd(){return this.hbsPositions.end}toHbsLoc(){return{start:this.hbsPositions.start.hbsPos,end:this.hbsPositions.end.hbsPos}}toHbsSpan(){return this}toCharPosSpan(){let e=this._charPosSpan;if(e===null){let r=this.hbsPositions.start.toCharPos(),n=this.hbsPositions.end.toCharPos();if(r&&n)e=this._charPosSpan=new at(this.source,{start:r,end:n});else return e=this._charPosSpan=fe,null}return e===fe?null:e}},te=class{constructor(e,r,n=null){this.kind=e,this.loc=r,this.string=n}serialize(){switch(this.kind){case k.Broken:case k.NonExistent:return this.kind;case k.InternalsSynthetic:return this.string||""}}wrap(){return new O(this)}asString(){return this.string||""}locDidUpdate({start:e,end:r}){e!==void 0&&(this.loc.start=e),r!==void 0&&(this.loc.end=r)}getModule(){return"an unknown module"}getStart(){return new lt(this.kind,this.loc.start)}getEnd(){return new lt(this.kind,this.loc.end)}toCharPosSpan(){return this}toHbsSpan(){return null}toHbsLoc(){return ue}},Q=Hn(t=>t.when(k.HbsPosition,k.HbsPosition,(e,r)=>new ot(e.source,{start:e,end:r}).wrap()).when(k.CharPosition,k.CharPosition,(e,r)=>new at(e.source,{start:e,end:r}).wrap()).when(k.CharPosition,k.HbsPosition,(e,r)=>{let n=r.toCharPos();return n===null?new te(k.Broken,ue).wrap():Q(e,n)}).when(k.HbsPosition,k.CharPosition,(e,r)=>{let n=e.toCharPos();return n===null?new te(k.Broken,ue).wrap():Q(n,r)}).when(Tr,it,e=>new te(e.kind,ue).wrap()).when(it,Tr,(e,r)=>new te(r.kind,ue).wrap())),fe="BROKEN",Ue=class t{static forHbsPos(e,r){return new de(e,r,null).wrap()}static broken(e=pe){return new lt(k.Broken,e).wrap()}constructor(e){this.data=e}get offset(){let e=this.data.toCharPos();return e===null?null:e.offset}eql(e){return wi(this.data,e.data)}until(e){return Q(this.data,e.data)}move(e){let r=this.data.toCharPos();if(r===null)return t.broken();{let n=r.offset+e;return r.source.check(n)?new Ne(r.source,n).wrap():t.broken()}}collapsed(){return Q(this.data,this.data)}toJSON(){return this.data.toJSON()}},Ne=class{kind=k.CharPosition;_locPos=null;constructor(e,r){this.source=e,this.charPos=r}toCharPos(){return this}toJSON(){let e=this.toHbsPos();return e===null?pe:e.toJSON()}wrap(){return new Ue(this)}get offset(){return this.charPos}toHbsPos(){let e=this._locPos;if(e===null){let r=this.source.hbsPosFor(this.charPos);r===null?this._locPos=e=fe:this._locPos=e=new de(this.source,r,this.charPos)}return e===fe?null:e}},de=class{kind=k.HbsPosition;_charPos;constructor(e,r,n=null){this.source=e,this.hbsPos=r,this._charPos=n===null?null:new Ne(e,n)}toCharPos(){let e=this._charPos;if(e===null){let r=this.source.charPosFor(this.hbsPos);r===null?this._charPos=e=fe:this._charPos=e=new Ne(this.source,r)}return e===fe?null:e}toJSON(){return this.hbsPos}wrap(){return new Ue(this)}toHbsPos(){return this}},lt=class{constructor(e,r){this.kind=e,this.pos=r}toCharPos(){return null}toJSON(){return this.pos}wrap(){return new Ue(this)}get offset(){return null}},wi=Hn(t=>t.when(k.HbsPosition,k.HbsPosition,({hbsPos:e},{hbsPos:r})=>e.column===r.column&&e.line===r.line).when(k.CharPosition,k.CharPosition,({charPos:e},{charPos:r})=>e===r).when(k.CharPosition,k.HbsPosition,({offset:e},r)=>{var n;return e===((n=r.toCharPos())==null?void 0:n.offset)}).when(k.HbsPosition,k.CharPosition,(e,{offset:r})=>{var n;return((n=e.toCharPos())==null?void 0:n.offset)===r}).when(it,it,()=>!1)),Te=class t{static from(e,r={}){var n;return new t(e,(n=r.meta)==null?void 0:n.moduleName)}constructor(e,r="an unknown module"){this.source=e,this.module=r}check(e){return e>=0&&e<=this.source.length}slice(e,r){return this.source.slice(e,r)}offsetFor(e,r){return Ue.forHbsPos(this,{line:e,column:r})}spanFor({start:e,end:r}){return O.forHbsLoc(this,{start:{line:e.line,column:e.column},end:{line:r.line,column:r.column}})}hbsPosFor(e){let r=0,n=0;if(e>this.source.length)return null;for(;;){let s=this.source.indexOf(` +`,n);if(e<=s||s===-1)return{line:r+1,column:e-n};r+=1,n=s+1}}charPosFor(e){let{line:r,column:n}=e,i=this.source.length,a=0,o=0;for(;oc)return c;if(!1){let p=this.hbsPosFor(o+n);w(p!==null,"the returned offset failed to round-trip"),w(p.line===r,"the round-tripped line didn't match the original line"),w(p.column===n,"the round-tripped column didn't match the original column")}return o+n}else{if(c===-1)return 0;a+=1,o=c+1}}return i}};function S(t,e){let{module:r,loc:n}=e,{line:s,column:i}=n.start,a=e.asString(),o=a?` | | ${a.split(` @@ -22,9 +22,9 @@ Expecting `+ht.join(", ")+", got '"+(this.terminals_[D]||D)+"'":zt="Parse error | `)} | -`:"",c=new Error(`${t}: ${l}(error occurred in '${r}' @ line ${i} : column ${s})`);return c.name="SyntaxError",c.location=e,c.code=a,c}var ps={Program:T("body"),Template:T("body"),Block:T("body"),MustacheStatement:T("path","params","hash"),BlockStatement:T("path","params","hash","program","inverse"),ElementModifierStatement:T("path","params","hash"),PartialStatement:T("name","params","hash"),CommentStatement:T(),MustacheCommentStatement:T(),ElementNode:T("attributes","modifiers","children","comments"),AttrNode:T("value"),TextNode:T(),ConcatStatement:T("parts"),SubExpression:T("path","params","hash"),PathExpression:T(),PathHead:T(),StringLiteral:T(),BooleanLiteral:T(),NumberLiteral:T(),NullLiteral:T(),UndefinedLiteral:T(),Hash:T("pairs"),HashPair:T("value"),NamedBlock:T("attributes","modifiers","children","comments"),SimpleElement:T("attributes","modifiers","children","comments"),Component:T("head","attributes","modifiers","children","comments")},Pn=ps;var gr=function(){t.prototype=Object.create(Error.prototype),t.prototype.constructor=t;function t(e,r,n,i){let s=Error.call(this,e);this.key=i,this.message=e,this.node=r,this.parent=n,this.stack=s.stack}return t}();function br(t,e,r){return new gr("Cannot remove a node unless it is part of an array",t,e,r)}function Nn(t,e,r){return new gr("Cannot replace a node with multiple nodes unless it is part of an array",t,e,r)}function yr(t,e){return new gr("Replacing and removing in key handlers is not yet supported.",t,null,e)}var be=class{constructor(e,r=null,n=null){this.node=e,this.parent=r,this.parentKey=n}get parentNode(){return this.parent?this.parent.node:null}parents(){return{[Symbol.iterator]:()=>new Sr(this)}}},Sr=class{constructor(e){this.path=e}next(){return this.path.parent?(this.path=this.path.parent,{done:!1,value:this.path}):{done:!0,value:null}}};function An(t){return typeof t=="function"?t:t.enter}function _n(t){if(typeof t!="function")return t.exit}function fs(t,e){let r=typeof t!="function"?t.keys:void 0;if(r===void 0)return;let n=r[e];return n!==void 0?n:r.All}function ds(t,e){if((e==="Template"||e==="Block")&&t.Program)return t.Program;let r=t[e];return r!==void 0?r:t.All}function Lt(t,e){let{node:r,parent:n,parentKey:i}=e,s=ds(t,r.type),a,l;s!==void 0&&(a=An(s),l=_n(s));let c;if(a!==void 0&&(c=a(r,e)),c!=null)if(JSON.stringify(r)===JSON.stringify(c))c=void 0;else{if(Array.isArray(c))return Ln(t,c,n,i),c;{let h=new be(c,n,i);return Lt(t,h)||c}}if(c===void 0){let h=Pn[r.type];for(let g=0;g@\[-\^`\{-~]/;function Dn(t){let e=Es(t);e&&(t.blockParams=e)}function Es(t){let e=t.attributes.length,r=[];for(let i=0;i0&&r[r.length-1].charAt(0)==="|")throw S("Block parameters must be preceded by the `as` keyword, detected block parameters without `as`",t.loc);if(n!==-1&&e>n&&r[n+1].charAt(0)==="|"){let i=r.slice(n).join(" ");if(i.charAt(i.length-1)!=="|"||i.match(/\|/g).length!==2)throw S("Invalid block parameters syntax, '"+i+"'",t.loc);let s=[];for(let a=n+1;at.acceptNode(a)):[],i=n.length>0?n[n.length-1].loc:r.loc,s=e.hash?t.Hash(e.hash):{type:"Hash",pairs:[],loc:t.source.spanFor(i).collapse("end")};return{path:r,params:n,hash:s}}function Nr(t,e){let{path:r,params:n,hash:i,loc:s}=e;if(Tr(r)){let l=`{{${On(r)}}}`,c=`<${t.name} ... ${l} ...`;throw S(`In ${c}, ${l} is not a valid modifier`,e.loc)}let a=x.elementModifier({path:r,params:n,hash:i,loc:s});t.modifiers.push(a)}var Cr=class extends Bt{constructor(){super(...arguments),this.tagOpenLine=0,this.tagOpenColumn=0}reset(){this.currentNode=null}beginComment(){this.currentNode=x.comment("",this.source.offsetFor(this.tagOpenLine,this.tagOpenColumn))}appendToCommentData(e){this.currentComment.value+=e}finishComment(){ye(this.currentElement(),this.finish(this.currentComment))}beginData(){this.currentNode=x.text({chars:"",loc:this.offset().collapsed()})}appendToData(e){this.currentData.chars+=e}finishData(){this.currentData.loc=this.currentData.loc.withEnd(this.offset()),ye(this.currentElement(),this.currentData)}tagOpen(){this.tagOpenLine=this.tokenizer.line,this.tagOpenColumn=this.tokenizer.column}beginStartTag(){this.currentNode={type:"StartTag",name:"",attributes:[],modifiers:[],comments:[],selfClosing:!1,loc:this.source.offsetFor(this.tagOpenLine,this.tagOpenColumn)}}beginEndTag(){this.currentNode={type:"EndTag",name:"",attributes:[],modifiers:[],comments:[],selfClosing:!1,loc:this.source.offsetFor(this.tagOpenLine,this.tagOpenColumn)}}finishTag(){let e=this.finish(this.currentTag);if(e.type==="StartTag"){if(this.finishStartTag(),e.name===":")throw S("Invalid named block named detected, you may have created a named block without a name, or you may have began your name with a number. Named blocks must have names that are at least one character long, and begin with a lower case letter",this.source.spanFor({start:this.currentTag.loc.toJSON(),end:this.offset().toJSON()}));(Pt[e.name]||e.selfClosing)&&this.finishEndTag(!0)}else e.type==="EndTag"&&this.finishEndTag(!1)}finishStartTag(){let{name:e,attributes:r,modifiers:n,comments:i,selfClosing:s,loc:a}=this.finish(this.currentStartTag),l=x.element({tag:e,selfClosing:s,attrs:r,modifiers:n,comments:i,children:[],blockParams:[],loc:a});this.elementStack.push(l)}finishEndTag(e){let r=this.finish(this.currentTag),n=this.elementStack.pop(),i=this.currentElement();this.validateEndTag(r,n,e),n.loc=n.loc.withEnd(this.offset()),Dn(n),ye(i,n)}markTagAsSelfClosing(){this.currentTag.selfClosing=!0}appendToTagName(e){this.currentTag.name+=e}beginAttribute(){let e=this.offset();this.currentAttribute={name:"",parts:[],currentPart:null,isQuoted:!1,isDynamic:!1,start:e,valueSpan:e.collapsed()}}appendToAttributeName(e){this.currentAttr.name+=e}beginAttributeValue(e){this.currentAttr.isQuoted=e,this.startTextPart(),this.currentAttr.valueSpan=this.offset().collapsed()}appendToAttributeValue(e){let r=this.currentAttr.parts,n=r[r.length-1],i=this.currentAttr.currentPart;if(i)i.chars+=e,i.loc=i.loc.withEnd(this.offset());else{let s=this.offset();e===` -`?s=n?n.loc.getEnd():this.currentAttr.valueSpan.getStart():s=s.move(-1),this.currentAttr.currentPart=x.text({chars:e,loc:s.collapsed()})}}finishAttributeValue(){this.finalizeTextPart();let e=this.currentTag,r=this.offset();if(e.type==="EndTag")throw S("Invalid end tag: closing tag must not have attributes",this.source.spanFor({start:e.loc.toJSON(),end:r.toJSON()}));let{name:n,parts:i,start:s,isQuoted:a,isDynamic:l,valueSpan:c}=this.currentAttr,h=this.assembleAttributeValue(i,a,l,s.until(r));h.loc=c.withEnd(r);let g=x.attr({name:n,value:h,loc:s.until(r)});this.currentStartTag.attributes.push(g)}reportSyntaxError(e){throw S(e,this.offset().collapsed())}assembleConcatenatedValue(e){for(let i=0;i elements do not need end tags. You should remove it`:r.tag===void 0?i=`Closing tag without an open tag`:r.tag!==e.name&&(i=`Closing tag did not match last open tag <${r.tag}> (on line ${r.loc.startPosition.line})`),i)throw S(i,e.loc)}assembleAttributeValue(e,r,n,i){if(n){if(r)return this.assembleConcatenatedValue(e);if(e.length===1||e.length===2&&e[1].type==="TextNode"&&e[1].chars==="/")return e[0];throw S("An unquoted attribute value must be a string or a mustache, preceded by whitespace or a '=' character, and followed by whitespace, a '>' character, or '/>'",i)}else return e.length>0?e[0]:x.text({chars:"",loc:i})}},Ys={},Ar=class extends kt{constructor(){super({})}parse(){}};function Un(t,e={}){var r,n,i;let s=e.mode||"precompile",a,l;typeof t=="string"?(a=new ie(t,(r=e.meta)===null||r===void 0?void 0:r.moduleName),s==="codemod"?l=xt(t,e.parseOptions):l=pr(t,e.parseOptions)):t instanceof ie?(a=t,s==="codemod"?l=xt(t.source,e.parseOptions):l=pr(t.source,e.parseOptions)):(a=new ie("",(n=e.meta)===null||n===void 0?void 0:n.moduleName),l=t);let c;s==="codemod"&&(c=new Ar);let h=P.forCharPositions(a,0,a.source.length);l.loc={source:"(program)",start:h.startPosition,end:h.endPosition};let g=new Cr(a,c,s).acceptTemplate(l);if(e.strictMode&&(g.blockParams=(i=e.locals)!==null&&i!==void 0?i:[]),e&&e.plugins&&e.plugins.ast)for(let y=0,F=e.plugins.ast.length;ythis.length)return null;for(var r=0,n=this.offsets;n[r+1]<=e;)r++;var i=e-n[r];return{line:r,column:i}},t.prototype.indexForLocation=function(e){var r=e.line,n=e.column;return r<0||r>=this.offsets.length||n<0||n>this.lengthOfLine(r)?null:this.offsets[r]+n},t.prototype.lengthOfLine=function(e){var r=this.offsets[e],n=e===this.offsets.length-1?this.length:this.offsets[e+1];return n-r},t}();function zs(t,e){let r=new SyntaxError(t+" ("+e.loc.start.line+":"+e.loc.start.column+")");return Object.assign(r,e)}var Gn=zs;function Ws(t){let e=t.children??t.body;if(e)for(let r=0;re.indexForLocation({line:i-1,column:s}),n=i=>{let{start:s,end:a}=i.loc;s.offset=r(s),a.offset=r(a)};return()=>({name:"prettierParsePlugin",visitor:{All(i){n(i),Ws(i)}}})}function js(t){let e;try{e=Un(t,{mode:"codemod",plugins:{ast:[Ks(t)]}})}catch(r){let n=Js(r);if(n){let i=Qs(r);throw Gn(i,{loc:n,cause:r})}throw r}return e}function Qs(t){let{message:e}=t,r=e.split(` -`);return r.length>=4&&/^Parse error on line \d+:$/.test(r[0])&&/^-*\^$/.test(he(!1,r,-2))?he(!1,r,-1):r.length>=4&&/:\s?$/.test(r[0])&&/^\(error occurred in '.*?' @ line \d+ : column \d+\)$/.test(he(!1,r,-1))&&r[1]===""&&he(!1,r,-2)===""&&r.slice(2,-2).every(n=>n.startsWith("|"))?r[0].trim().slice(0,-1):e}function Js(t){let{location:e,hash:r}=t;if(e){let{start:n,end:i}=e;return typeof i.line!="number"?{start:n}:e}if(r){let{loc:{last_line:n,last_column:i}}=r;return{start:{line:n,column:i+1}}}}var Xs={parse:js,astFormat:"glimmer",locStart:xe,locEnd:tt};var Yn=[{linguistLanguageId:155,name:"Handlebars",type:"markup",color:"#f7931e",aliases:["hbs","htmlbars"],extensions:[".handlebars",".hbs"],tmScope:"text.html.handlebars",aceMode:"handlebars",parsers:["glimmer"],vscodeLanguageIds:["handlebars"]}];var $s={glimmer:fn};var Fu=_r;export{Fu as default,Yn as languages,qt as parsers,$s as printers}; +`:"",c=new Error(`${t}: ${o}(error occurred in '${r}' @ line ${s} : column ${i})`);return c.name="SyntaxError",c.location=e,c.code=a,c}var ki={Template:["body"],Block:["body"],MustacheStatement:["path","params","hash"],BlockStatement:["path","params","hash","program","inverse"],ElementModifierStatement:["path","params","hash"],CommentStatement:[],MustacheCommentStatement:[],ElementNode:["attributes","modifiers","children","comments"],AttrNode:["value"],TextNode:[],ConcatStatement:["parts"],SubExpression:["path","params","hash"],PathExpression:[],StringLiteral:[],BooleanLiteral:[],NumberLiteral:[],NullLiteral:[],UndefinedLiteral:[],Hash:["pairs"],HashPair:["value"]},Or=function(){t.prototype=Object.create(Error.prototype),t.prototype.constructor=t;function t(e,r,n,s){let i=Error.call(this,e);this.key=s,this.message=e,this.node=r,this.parent=n,i.stack&&(this.stack=i.stack)}return t}();function Bn(t,e,r){return new Or("Cannot remove a node unless it is part of an array",t,e,r)}function Ti(t,e,r){return new Or("Cannot replace a node with multiple nodes unless it is part of an array",t,e,r)}function In(t,e){return new Or("Replacing and removing in key handlers is not yet supported.",t,null,e)}var Fe=class{node;parent;parentKey;constructor(e,r=null,n=null){this.node=e,this.parent=r,this.parentKey=n}get parentNode(){return this.parent?this.parent.node:null}parents(){return{[Symbol.iterator]:()=>new Pr(this)}}},Pr=class{path;constructor(e){this.path=e}next(){return this.path.parent?(this.path=this.path.parent,{done:!1,value:this.path}):{done:!0,value:null}}};function Vn(t){return typeof t=="function"?t:t.enter}function Un(t){if(typeof t!="function")return t.exit}function Ni(t,e){let r=typeof t!="function"?t.keys:void 0;if(r===void 0)return;let n=r[e];return n!==void 0?n:r.All}function vi(t,e){if(t.Program&&(e==="Template"&&!t.Template||e==="Block"&&!t.Block))return F(`The 'Program' visitor node is deprecated. Use 'Template' or 'Block' instead (node was '${e}') `),t.Program;let r=t[e];return r!==void 0?r:t.All}function Ot(t,e){let{node:r,parent:n,parentKey:s}=e,i=vi(t,r.type),a,o;i!==void 0&&(a=Vn(i),o=Un(i));let c;if(a!==void 0&&(c=a(r,e)),c!=null)if(JSON.stringify(r)===JSON.stringify(c))c=void 0;else{if(Array.isArray(c))return Fn(t,c,n,s),c;{let p=new Fe(c,n,s);return Ot(t,p)||c}}if(c===void 0){let p=ki[r.type];for(let h=0;htypeof T=="string"?zn(T):T),g=null;return c?g=A(c||null):c===void 0&&(g=d||yi(h.original)?null:A(null)),f.element({path:h,selfClosing:d||!1,attributes:r||[],params:N||[],modifiers:s||[],comments:i||[],children:a||[],openTag:A(o||null),closeTag:g,loc:A(p||null)})}function Ui(t,e,r){return f.attr({name:t,value:e,loc:A(r||null)})}function Fi(t="",e){return f.text({chars:t,loc:A(e||null)})}function Mi(t,e=[],r=ct([]),n){return f.sexpr({path:he(t),params:e,hash:r,loc:A(n||null)})}function zi(t,e){let[r,...n]=qe(t.split(".")),s=f.head({original:r,loc:A(e||null)});return f.path({head:s,tail:n,loc:A(e||null)})}function Gi(t){return f.this({loc:A(t||null)})}function Yi(t,e){return f.atName({name:t,loc:A(e||null)})}function zn(t,e){return f.var({name:t,loc:A(e||null)})}function Ki(t,e){return f.head({original:t,loc:A(e||null)})}function Wi(t,e=[],r){return f.path({head:t,tail:e,loc:A(r||null)})}function he(t,e){let r=A(e||null);if(typeof t!="string"){if("type"in t)return t;{w(t.head.indexOf(".")===-1,"builder.path({ head, tail }) should not be called with a head with dots in it");let{head:i,tail:a}=t;return f.path({head:f.head({original:i,loc:r.sliceStartChars({chars:i.length})}),tail:a,loc:A(e||null)})}}let{head:n,tail:s}=zi(t,r);return f.path({head:n,tail:s,loc:r})}function _t(t,e,r){return f.literal({type:t,value:e,loc:A(r||null)})}function ct(t=[],e){return f.hash({pairs:t,loc:A(e||null)})}function $i(t,e,r){return f.pair({key:t,value:e,loc:A(r||null)})}function ji(t,e,r){return F("b.program is deprecated. Use b.template or b.blockItself instead."),e&&e.length?Yn(t,e,!1,r):Kn(t,[],r)}function Gn(t){return t.map(e=>typeof e=="string"?f.var({name:e,loc:O.synthetic(e)}):e)}function Yn(t=[],e=[],r=!1,n){return f.blockItself({body:t,params:Gn(e),chained:r,loc:A(n||null)})}function Kn(t=[],e=[],r){return f.template({body:t,blockParams:e,loc:A(r||null)})}function Qi(t,e){return f.pos({line:t,column:e})}function A(...t){if(t.length===1){let e=t[0];return e&&typeof e=="object"?O.forHbsLoc(yr(),e):O.forHbsLoc(yr(),Ei)}else{let[e,r,n,s,i]=t,a=i?new Te("",i):yr();return O.forHbsLoc(a,{start:{line:e,column:r},end:{line:n||e,column:s||r}})}}var Xi={mustache:Oi,block:Bi,comment:Ri,mustacheComment:qi,element:Vi,elementModifier:Ii,attr:Ui,text:Fi,sexpr:Mi,concat:Hi,hash:ct,pair:$i,literal:_t,program:ji,blockItself:Yn,template:Kn,loc:A,pos:Qi,path:he,fullPath:Wi,head:Ki,at:Yi,var:zn,this:Gi,string:Er("StringLiteral"),boolean:Er("BooleanLiteral"),number:Er("NumberLiteral"),undefined(){return _t("UndefinedLiteral",void 0)},null(){return _t("NullLiteral",null)}};function Er(t){return function(e,r){return _t(t,e,r)}}function Ji({path:t,params:e,hash:r,trusting:n,strip:s,loc:i}){let a={type:"MustacheStatement",path:t,params:e,hash:r,trusting:n,strip:s,loc:i};return Object.defineProperty(a,"escaped",{enumerable:!1,get(){return F("The escaped property on mustache nodes is deprecated, use trusting instead"),!this.trusting},set(o){F("The escaped property on mustache nodes is deprecated, use trusting instead"),this.trusting=!o}}),a}function Zi({head:t,tail:e,loc:r}){let n={type:"PathExpression",head:t,tail:e,get original(){return[this.head.original,...this.tail].join(".")},set original(s){let[i,...a]=qe(s.split("."));this.head=Xi.head(i,this.head.loc),this.tail=a},loc:r};return Object.defineProperty(n,"parts",{enumerable:!1,get(){F("The parts property on path nodes is deprecated, use head and tail instead");let s=qe(this.original.split("."));return s[0]==="this"?s.shift():s[0].startsWith("@")&&(s[0]=s[0].slice(1)),Object.freeze(s)},set(s){var a;F("The parts property on mustache nodes is deprecated, use head and tail instead");let i=[...s];i[0]!=="this"&&!((a=i[0])!=null&&a.startsWith("@"))&&(this.head.type==="ThisHead"?i.unshift("this"):this.head.type==="AtHead"&&(i[0]=`@${i[0]}`)),this.original=i.join(".")}}),Object.defineProperty(n,"this",{enumerable:!1,get(){return F("The this property on path nodes is deprecated, use head.type instead"),this.head.type==="ThisHead"}}),Object.defineProperty(n,"data",{enumerable:!1,get(){return F("The data property on path nodes is deprecated, use head.type instead"),this.head.type==="AtHead"}}),n}function ea({type:t,value:e,loc:r}){let n={type:t,value:e,loc:r};return Object.defineProperty(n,"original",{enumerable:!1,get(){return F("The original property on literal nodes is deprecated, use value instead"),this.value},set(s){F("The original property on literal nodes is deprecated, use value instead"),this.value=s}}),n}var Lt={close:!1,open:!1},xr=class{pos({line:e,column:r}){return{line:e,column:r}}blockItself({body:e,params:r,chained:n=!1,loc:s}){return{type:"Block",body:e,params:r,get blockParams(){return this.params.map(i=>i.name)},set blockParams(i){this.params=i.map(a=>f.var({name:a,loc:O.synthetic(a)}))},chained:n,loc:s}}template({body:e,blockParams:r,loc:n}){return{type:"Template",body:e,blockParams:r,loc:n}}mustache({path:e,params:r,hash:n,trusting:s,loc:i,strip:a=Lt}){return Ji({path:e,params:r,hash:n,trusting:s,strip:a,loc:i})}block({path:e,params:r,hash:n,defaultBlock:s,elseBlock:i=null,loc:a,openStrip:o=Lt,inverseStrip:c=Lt,closeStrip:p=Lt}){return{type:"BlockStatement",path:e,params:r,hash:n,program:s,inverse:i,loc:a,openStrip:o,inverseStrip:c,closeStrip:p}}comment({value:e,loc:r}){return{type:"CommentStatement",value:e,loc:r}}mustacheComment({value:e,loc:r}){return{type:"MustacheCommentStatement",value:e,loc:r}}concat({parts:e,loc:r}){return{type:"ConcatStatement",parts:e,loc:r}}element({path:e,selfClosing:r,attributes:n,modifiers:s,params:i,comments:a,children:o,openTag:c,closeTag:p,loc:h}){let d=r;return{type:"ElementNode",path:e,attributes:n,modifiers:s,params:i,comments:a,children:o,openTag:c,closeTag:p,loc:h,get tag(){return this.path.original},set tag(N){this.path.original=N},get blockParams(){return this.params.map(N=>N.name)},set blockParams(N){this.params=N.map(g=>f.var({name:g,loc:O.synthetic(g)}))},get selfClosing(){return d},set selfClosing(N){d=N,N?this.closeTag=null:this.closeTag=O.synthetic(``)}}}elementModifier({path:e,params:r,hash:n,loc:s}){return{type:"ElementModifierStatement",path:e,params:r,hash:n,loc:s}}attr({name:e,value:r,loc:n}){return{type:"AttrNode",name:e,value:r,loc:n}}text({chars:e,loc:r}){return{type:"TextNode",chars:e,loc:r}}sexpr({path:e,params:r,hash:n,loc:s}){return{type:"SubExpression",path:e,params:r,hash:n,loc:s}}path({head:e,tail:r,loc:n}){return Zi({head:e,tail:r,loc:n})}head({original:e,loc:r}){return e==="this"?this.this({loc:r}):e[0]==="@"?this.atName({name:e,loc:r}):this.var({name:e,loc:r})}this({loc:e}){return{type:"ThisHead",get original(){return"this"},loc:e}}atName({name:e,loc:r}){let n="",s={type:"AtHead",get name(){return n},set name(i){w(i[0]==="@","call builders.at() with a string that starts with '@'"),w(i.indexOf(".")===-1,"builder.at() should not be called with a name with dots in it"),n=i},get original(){return this.name},set original(i){this.name=i},loc:r};return s.name=e,s}var({name:e,loc:r}){let n="",s={type:"VarHead",get name(){return n},set name(i){w(i!=="this","You called builders.var() with 'this'. Call builders.this instead"),w(i[0]!=="@",`You called builders.var() with '${e}'. Call builders.at('${e}') instead`),w(i.indexOf(".")===-1,"builder.var() should not be called with a name with dots in it"),n=i},get original(){return this.name},set original(i){this.name=i},loc:r};return s.name=e,s}hash({pairs:e,loc:r}){return{type:"Hash",pairs:e,loc:r}}pair({key:e,value:r,loc:n}){return{type:"HashPair",key:e,value:r,loc:n}}literal({type:e,value:r,loc:n}){return ea({type:e,value:r,loc:n})}},f=new xr,Cr=class{elementStack=[];lines;source;currentAttribute=null;currentNode=null;tokenizer;constructor(e,r=new dr(Dn),n="precompile"){this.source=e,this.lines=e.source.split(/\r\n?|\n/u),this.tokenizer=new mr(this,r,n)}offset(){let{line:e,column:r}=this.tokenizer;return this.source.offsetFor(e,r)}pos({line:e,column:r}){return this.source.offsetFor(e,r)}finish(e){return ar({},e,{loc:e.start.until(this.offset())})}get currentAttr(){return Tn(this.currentAttribute,"expected attribute")}get currentTag(){let e=this.currentNode;return w(e&&(e.type==="StartTag"||e.type==="EndTag"),"expected tag"),e}get currentStartTag(){let e=this.currentNode;return w(e&&e.type==="StartTag","expected start tag"),e}get currentEndTag(){let e=this.currentNode;return w(e&&e.type==="EndTag","expected end tag"),e}get currentComment(){let e=this.currentNode;return w(e&&e.type==="CommentStatement","expected a comment"),e}get currentData(){let e=this.currentNode;return w(e&&e.type==="TextNode","expected a text node"),e}acceptNode(e){return this[e.type](e)}currentElement(){return Nt(qe(this.elementStack))}sourceForNode(e,r){let n=e.loc.start.line-1,s=n-1,i=e.loc.start.column,a=[],o,c,p;for(r?(c=r.loc.end.line-1,p=r.loc.end.column):(c=e.loc.end.line-1,p=e.loc.end.column);s=x?v=-1:v=g.indexOf(C,T),v===-1||v+C.length>x?(T=x,M=this.source.spanFor(st)):(T=v,M=N.sliceStartChars({skipStart:T,chars:C.length}),T+=C.length),a.push(f.var({name:C,loc:M}))}}e.program.loc||(e.program.loc=st),e.inverse&&!e.inverse.loc&&(e.inverse.loc=st);let o=this.Program(e.program,a),c=e.inverse?this.Program(e.inverse,[]):null,p=f.block({path:r,params:n,hash:s,defaultBlock:o,elseBlock:c,loc:this.source.spanFor(e.loc),openStrip:e.openStrip,inverseStrip:e.inverseStrip,closeStrip:e.closeStrip}),h=this.currentElement();Ve(h,p)}MustacheStatement(e){var o;(o=this.pendingError)==null||o.mustache(this.source.spanFor(e.loc));let{tokenizer:r}=this;if(r.state==="comment"){this.appendToCommentData(this.sourceForNode(e));return}let n,{escaped:s,loc:i,strip:a}=e;if("original"in e.path&&e.path.original==="...attributes")throw S("Illegal use of ...attributes",this.source.spanFor(e.loc));if(Mn(e.path))n=f.mustache({path:this.acceptNode(e.path),params:[],hash:f.hash({pairs:[],loc:this.source.spanFor(e.path.loc).collapse("end")}),trusting:!s,loc:this.source.spanFor(i),strip:a});else{let{path:c,params:p,hash:h}=Sr(this,e);n=f.mustache({path:c,params:p,hash:h,trusting:!s,loc:this.source.spanFor(i),strip:a})}switch(r.state){case"tagOpen":case"tagName":throw S("Cannot use mustaches in an elements tagname",n.loc);case"beforeAttributeName":wr(this.currentStartTag,n);break;case"attributeName":case"afterAttributeName":this.beginAttributeValue(!1),this.finishAttributeValue(),wr(this.currentStartTag,n),r.transitionTo(qn);break;case"afterAttributeValueQuoted":wr(this.currentStartTag,n),r.transitionTo(qn);break;case"beforeAttributeValue":this.beginAttributeValue(!1),this.appendDynamicAttributeValuePart(n),r.transitionTo(ta);break;case"attributeValueDoubleQuoted":case"attributeValueSingleQuoted":case"attributeValueUnquoted":this.appendDynamicAttributeValuePart(n);break;default:Ve(this.currentElement(),n)}return n}appendDynamicAttributeValuePart(e){this.finalizeTextPart();let r=this.currentAttr;r.isDynamic=!0,r.parts.push(e)}finalizeTextPart(){let r=this.currentAttr.currentPart;r!==null&&(this.currentAttr.parts.push(r),this.startTextPart())}startTextPart(){this.currentAttr.currentPart=null}ContentStatement(e){na(this.tokenizer,e),this.tokenizer.tokenizePart(e.value),this.tokenizer.flushData()}CommentStatement(e){let{tokenizer:r}=this;if(r.state==="comment")return this.appendToCommentData(this.sourceForNode(e)),null;let{value:n,loc:s}=e,i=f.mustacheComment({value:n,loc:this.source.spanFor(s)});switch(r.state){case"beforeAttributeName":case"afterAttributeName":this.currentStartTag.comments.push(i);break;case"beforeData":case"data":Ve(this.currentElement(),i);break;default:throw S(`Using a Handlebars comment when in the \`${r.state}\` state is not supported`,this.source.spanFor(e.loc))}return i}PartialStatement(e){throw S("Handlebars partials are not supported",this.source.spanFor(e.loc))}PartialBlockStatement(e){throw S("Handlebars partial blocks are not supported",this.source.spanFor(e.loc))}Decorator(e){throw S("Handlebars decorators are not supported",this.source.spanFor(e.loc))}DecoratorBlock(e){throw S("Handlebars decorator blocks are not supported",this.source.spanFor(e.loc))}SubExpression(e){let{path:r,params:n,hash:s}=Sr(this,e);return f.sexpr({path:r,params:n,hash:s,loc:this.source.spanFor(e.loc)})}PathExpression(e){let{original:r}=e,n;if(r.indexOf("/")!==-1){if(r.slice(0,2)==="./")throw S('Using "./" is not supported in Glimmer and unnecessary',this.source.spanFor(e.loc));if(r.slice(0,3)==="../")throw S('Changing context using "../" is not supported in Glimmer',this.source.spanFor(e.loc));if(r.indexOf(".")!==-1)throw S("Mixing '.' and '/' in paths is not supported in Glimmer; use only '.' to separate property paths",this.source.spanFor(e.loc));n=[e.parts.join("/")]}else{if(r===".")throw S("'.' is not a supported path in Glimmer; check for a path with a trailing '.'",this.source.spanFor(e.loc));n=e.parts}let s=!1;/^this(?:\..+)?$/u.test(r)&&(s=!0);let i;if(s)i=f.this({loc:this.source.spanFor({start:e.loc.start,end:{line:e.loc.start.line,column:e.loc.start.column+4}})});else if(e.data){let a=n.shift();if(a===void 0)throw S("Attempted to parse a path expression, but it was not valid. Paths beginning with @ must start with a-z.",this.source.spanFor(e.loc));i=f.atName({name:`@${a}`,loc:this.source.spanFor({start:e.loc.start,end:{line:e.loc.start.line,column:e.loc.start.column+a.length+1}})})}else{let a=n.shift();if(a===void 0)throw S("Attempted to parse a path expression, but it was not valid. Paths must start with a-z or A-Z.",this.source.spanFor(e.loc));i=f.var({name:a,loc:this.source.spanFor({start:e.loc.start,end:{line:e.loc.start.line,column:e.loc.start.column+a.length}})})}return f.path({head:i,tail:n,loc:this.source.spanFor(e.loc)})}Hash(e){let r=e.pairs.map(n=>f.pair({key:n.key,value:this.acceptNode(n.value),loc:this.source.spanFor(n.loc)}));return f.hash({pairs:r,loc:this.source.spanFor(e.loc)})}StringLiteral(e){return f.literal({type:"StringLiteral",value:e.value,loc:this.source.spanFor(e.loc)})}BooleanLiteral(e){return f.literal({type:"BooleanLiteral",value:e.value,loc:this.source.spanFor(e.loc)})}NumberLiteral(e){return f.literal({type:"NumberLiteral",value:e.value,loc:this.source.spanFor(e.loc)})}UndefinedLiteral(e){return f.literal({type:"UndefinedLiteral",value:void 0,loc:this.source.spanFor(e.loc)})}NullLiteral(e){return f.literal({type:"NullLiteral",value:null,loc:this.source.spanFor(e.loc)})}};function ra(t,e){if(e==="")return{lines:t.split(` +`).length-1,columns:0};let[r]=t.split(e),n=r.split(/\n/u),s=n.length-1;return{lines:s,columns:kt(n[s]).length}}function na(t,e){let r=e.loc.start.line,n=e.loc.start.column,s=ra(e.original,e.value);r=r+s.lines,s.lines?n=s.columns:n=n+s.columns,t.line=r,t.column=n}function Sr(t,e){let r;switch(e.path.type){case"PathExpression":r=t.PathExpression(e.path);break;case"SubExpression":r=t.SubExpression(e.path);break;case"StringLiteral":case"UndefinedLiteral":case"NullLiteral":case"NumberLiteral":case"BooleanLiteral":{let a;throw e.path.type==="BooleanLiteral"?a=e.path.original.toString():e.path.type==="StringLiteral"?a=`"${e.path.original}"`:e.path.type==="NullLiteral"?a="null":e.path.type==="NumberLiteral"?a=e.path.value.toString():a="undefined",S(`${e.path.type} "${e.path.type==="StringLiteral"?e.path.original:a}" cannot be called as a sub-expression, replace (${a}) with ${a}`,t.source.spanFor(e.path.loc))}}let n=e.params?e.params.map(a=>t.acceptNode(a)):[],s=we(n)?Nt(n).loc:r.loc,i=e.hash?t.Hash(e.hash):f.hash({pairs:[],loc:t.source.spanFor(s).collapse("end")});return{path:r,params:n,hash:i}}function wr(t,e){let{path:r,params:n,hash:s,loc:i}=e;if(Mn(r)){let o=`{{${Di(r)}}}`,c=`<${t.name} ... ${o} ...`;throw S(`In ${c}, ${o} is not a valid modifier`,e.loc)}let a=f.elementModifier({path:r,params:n,hash:s,loc:i});t.modifiers.push(a)}function He(t){return/[\t\n\f ]/u.test(t)}var _r=class extends Lr{tagOpenLine=0;tagOpenColumn=0;reset(){this.currentNode=null}beginComment(){this.currentNode={type:"CommentStatement",value:"",start:this.source.offsetFor(this.tagOpenLine,this.tagOpenColumn)}}appendToCommentData(e){this.currentComment.value+=e}finishComment(){Ve(this.currentElement(),f.comment(this.finish(this.currentComment)))}beginData(){this.currentNode={type:"TextNode",chars:"",start:this.offset()}}appendToData(e){this.currentData.chars+=e}finishData(){Ve(this.currentElement(),f.text(this.finish(this.currentData)))}tagOpen(){this.tagOpenLine=this.tokenizer.line,this.tagOpenColumn=this.tokenizer.column}beginStartTag(){this.currentNode={type:"StartTag",name:"",nameStart:null,nameEnd:null,attributes:[],modifiers:[],comments:[],params:[],selfClosing:!1,start:this.source.offsetFor(this.tagOpenLine,this.tagOpenColumn)}}beginEndTag(){this.currentNode={type:"EndTag",name:"",start:this.source.offsetFor(this.tagOpenLine,this.tagOpenColumn)}}finishTag(){let e=this.finish(this.currentTag);if(e.type==="StartTag"){if(this.finishStartTag(),e.name===":")throw S("Invalid named block named detected, you may have created a named block without a name, or you may have began your name with a number. Named blocks must have names that are at least one character long, and begin with a lower case letter",this.source.spanFor({start:this.currentTag.start.toJSON(),end:this.offset().toJSON()}));(kr.has(e.name)||e.selfClosing)&&this.finishEndTag(!0)}else e.type==="EndTag"&&this.finishEndTag(!1)}finishStartTag(){let{name:e,nameStart:r,nameEnd:n}=this.currentStartTag;w(e!=="","tag name cannot be empty"),w(r!==null,"nameStart unexpectedly null"),w(n!==null,"nameEnd unexpectedly null");let s=r.until(n),[i,...a]=qe(e.split(".")),o=f.path({head:f.head({original:i,loc:s.sliceStartChars({chars:i.length})}),tail:a,loc:s}),{attributes:c,modifiers:p,comments:h,params:d,selfClosing:N,loc:g}=this.finish(this.currentStartTag),T=f.element({path:o,selfClosing:N,attributes:c,modifiers:p,comments:h,params:d,children:[],openTag:g,closeTag:N?null:O.broken(),loc:g});this.elementStack.push(T)}finishEndTag(e){let{start:r}=this.currentTag,n=this.finish(this.currentTag),s=this.elementStack.pop();this.validateEndTag(n,s,e);let i=this.currentElement();e?s.closeTag=null:s.selfClosing?w(s.closeTag===null,"element.closeTag unexpectedly present"):s.closeTag=r.until(this.offset()),s.loc=s.loc.withEnd(this.offset()),Ve(i,f.element(s))}markTagAsSelfClosing(){let e=this.currentTag;if(e.type==="StartTag")e.selfClosing=!0;else throw S("Invalid end tag: closing tag must not be self-closing",this.source.spanFor({start:e.start.toJSON(),end:this.offset().toJSON()}))}appendToTagName(e){let r=this.currentTag;if(r.name+=e,r.type==="StartTag"){let n=this.offset();r.nameStart===null&&(w(r.nameEnd===null,"nameStart and nameEnd must both be null"),r.nameStart=n.move(-1)),r.nameEnd=n}}beginAttribute(){let e=this.offset();this.currentAttribute={name:"",parts:[],currentPart:null,isQuoted:!1,isDynamic:!1,start:e,valueSpan:e.collapsed()}}appendToAttributeName(e){this.currentAttr.name+=e,this.currentAttr.name==="as"&&this.parsePossibleBlockParams()}beginAttributeValue(e){this.currentAttr.isQuoted=e,this.startTextPart(),this.currentAttr.valueSpan=this.offset().collapsed()}appendToAttributeValue(e){let r=this.currentAttr.parts,n=r[r.length-1],s=this.currentAttr.currentPart;if(s)s.chars+=e,s.loc=s.loc.withEnd(this.offset());else{let i=this.offset();e===` +`?i=n?n.loc.getEnd():this.currentAttr.valueSpan.getStart():i=i.move(-1),this.currentAttr.currentPart=f.text({chars:e,loc:i.collapsed()})}}finishAttributeValue(){this.finalizeTextPart();let e=this.currentTag,r=this.offset();if(e.type==="EndTag")throw S("Invalid end tag: closing tag must not have attributes",this.source.spanFor({start:e.start.toJSON(),end:r.toJSON()}));let{name:n,parts:s,start:i,isQuoted:a,isDynamic:o,valueSpan:c}=this.currentAttr;if(n.startsWith("|")&&s.length===0&&!a&&!o)throw S("Invalid block parameters syntax: block parameters must be preceded by the `as` keyword",i.until(i.move(n.length)));let p=this.assembleAttributeValue(s,a,o,i.until(r));p.loc=c.withEnd(r);let h=f.attr({name:n,value:p,loc:i.until(r)});this.currentStartTag.attributes.push(h)}parsePossibleBlockParams(){let e="beforeAttributeName",r="attributeName",n="afterAttributeName",s=/[!"#%&'()*+./;<=>@[\\\]^`{|}~]/u;w(this.tokenizer.state===r,"must be in TokenizerState.attributeName");let i=this.currentStartTag,a=this.currentAttr,o={state:"PossibleAs"},c={PossibleAs:h=>{if(w(o.state==="PossibleAs","bug in block params parser"),He(h))o={state:"BeforeStartPipe"},this.tokenizer.transitionTo(n),this.tokenizer.consume();else{if(h==="|")throw S('Invalid block parameters syntax: expecting at least one space character between "as" and "|"',a.start.until(this.offset().move(1)));o={state:"Done"}}},BeforeStartPipe:h=>{w(o.state==="BeforeStartPipe","bug in block params parser"),He(h)?this.tokenizer.consume():h==="|"?(o={state:"BeforeBlockParamName"},this.tokenizer.transitionTo(e),this.tokenizer.consume()):o={state:"Done"}},BeforeBlockParamName:h=>{if(w(o.state==="BeforeBlockParamName","bug in block params parser"),He(h))this.tokenizer.consume();else if(h==="")o={state:"Done"},this.pendingError={mustache(d){throw S("Invalid block parameters syntax: mustaches cannot be used inside parameters list",d)},eof(d){throw S('Invalid block parameters syntax: expecting the tag to be closed with ">" or "/>" after parameters list',a.start.until(d))}};else if(h==="|"){if(i.params.length===0)throw S("Invalid block parameters syntax: empty parameters list, expecting at least one identifier",a.start.until(this.offset().move(1)));o={state:"AfterEndPipe"},this.tokenizer.consume()}else{if(h===">"||h==="/")throw S('Invalid block parameters syntax: incomplete parameters list, expecting "|" but the tag was closed prematurely',a.start.until(this.offset().move(1)));o={state:"BlockParamName",name:h,start:this.offset()},this.tokenizer.consume()}},BlockParamName:h=>{if(w(o.state==="BlockParamName","bug in block params parser"),h==="")o={state:"Done"},this.pendingError={mustache(d){throw S("Invalid block parameters syntax: mustaches cannot be used inside parameters list",d)},eof(d){throw S('Invalid block parameters syntax: expecting the tag to be closed with ">" or "/>" after parameters list',a.start.until(d))}};else if(h==="|"||He(h)){let d=o.start.until(this.offset());if(o.name==="this"||s.test(o.name))throw S(`Invalid block parameters syntax: invalid identifier name \`${o.name}\``,d);i.params.push(f.var({name:o.name,loc:d})),o=h==="|"?{state:"AfterEndPipe"}:{state:"BeforeBlockParamName"},this.tokenizer.consume()}else{if(h===">"||h==="/")throw S('Invalid block parameters syntax: expecting "|" but the tag was closed prematurely',a.start.until(this.offset().move(1)));o.name+=h,this.tokenizer.consume()}},AfterEndPipe:h=>{w(o.state==="AfterEndPipe","bug in block params parser"),He(h)?this.tokenizer.consume():h===""?(o={state:"Done"},this.pendingError={mustache(d){throw S("Invalid block parameters syntax: modifiers cannot follow parameters list",d)},eof(d){throw S('Invalid block parameters syntax: expecting the tag to be closed with ">" or "/>" after parameters list',a.start.until(d))}}):h===">"||h==="/"?o={state:"Done"}:(o={state:"Error",message:'Invalid block parameters syntax: expecting the tag to be closed with ">" or "/>" after parameters list',start:this.offset()},this.tokenizer.consume())},Error:h=>{if(w(o.state==="Error","bug in block params parser"),h===""||h==="/"||h===">"||He(h))throw S(o.message,o.start.until(this.offset()));this.tokenizer.consume()},Done:()=>{w(!1,"This should never be called")}},p;do p=this.tokenizer.peek(),c[o.state](p);while(o.state!=="Done"&&p!=="");w(o.state==="Done","bug in block params parser")}reportSyntaxError(e){throw S(e,this.offset().collapsed())}assembleConcatenatedValue(e){for(let s of e)if(s.type!=="MustacheStatement"&&s.type!=="TextNode")throw S(`Unsupported node in quoted attribute value: ${s.type}`,s.loc);Tt(e,"the concatenation parts of an element should not be empty");let r=Nn(e),n=Nt(e);return f.concat({parts:e,loc:this.source.spanFor(r.loc).extend(this.source.spanFor(n.loc))})}validateEndTag(e,r,n){if(kr.has(e.name)&&!n)throw S(`<${e.name}> elements do not need end tags. You should remove it`,e.loc);if(r.tag===void 0)throw S(`Closing tag without an open tag`,e.loc);if(r.tag!==e.name)throw S(`Closing tag did not match last open tag <${r.tag}> (on line ${r.loc.startPosition.line})`,e.loc)}assembleAttributeValue(e,r,n,s){if(n){if(r)return this.assembleConcatenatedValue(e);{Tt(e);let[i,a]=e;if(a===void 0||a.type==="TextNode"&&a.chars==="/")return i;throw S("An unquoted attribute value must be a string or a mustache, preceded by whitespace or a '=' character, and followed by whitespace, a '>' character, or '/>'",s)}}else return we(e)?e[0]:f.text({chars:"",loc:s})}},sa={},Dr=class extends dr{constructor(){super({})}parse(){}};function Wn(t,e={}){var c,p,h;let r=e.mode||"precompile",n,s;typeof t=="string"?(n=new Te(t,(c=e.meta)==null?void 0:c.moduleName),r==="codemod"?s=Ct(t,e.parseOptions):s=fr(t,e.parseOptions)):t instanceof Te?(n=t,r==="codemod"?s=Ct(t.source,e.parseOptions):s=fr(t.source,e.parseOptions)):(n=new Te("",(p=e.meta)==null?void 0:p.moduleName),s=t);let i;r==="codemod"&&(i=new Dr);let a=O.forCharPositions(n,0,n.source.length);s.loc={source:"(program)",start:a.startPosition,end:a.endPosition};let o=new _r(n,i,r).parse(s,e.locals??[]);if((h=e==null?void 0:e.plugins)!=null&&h.ast)for(let d of e.plugins.ast){let N=ar({},e,{syntax:sa},{plugins:void 0}),g=d(N);Li(o,g.visitor)}return o}var Br=function(t){return t.Helper="Helper",t.Modifier="Modifier",t.Component="Component",t}({}),tl=Br.Helper,rl=Br.Modifier,nl=Br.Component;var Bt=` +`,$n="\r",jn=function(){function t(e){this.length=e.length;for(var r=[0],n=0;nthis.length)return null;for(var r=0,n=this.offsets;n[r+1]<=e;)r++;var s=e-n[r];return{line:r,column:s}},t.prototype.indexForLocation=function(e){var r=e.line,n=e.column;return r<0||r>=this.offsets.length||n<0||n>this.lengthOfLine(r)?null:this.offsets[r]+n},t.prototype.lengthOfLine=function(e){var r=this.offsets[e],n=e===this.offsets.length-1?this.length:this.offsets[e+1];return n-r},t}();function ia(t,e){let r=new SyntaxError(t+" ("+e.loc.start.line+":"+e.loc.start.column+")");return Object.assign(r,e)}var Qn=ia;function aa(t){let e=t.children??t.body;if(e)for(let r=0;re.indexForLocation({line:s-1,column:i}),n=s=>{let{start:i,end:a}=s.loc;i.offset=r(i),a.offset=r(a)};return()=>({name:"prettierParsePlugin",visitor:{All(s){n(s),aa(s)}}})}function la(t){let e;try{e=Wn(t,{mode:"codemod",plugins:{ast:[oa(t)]}})}catch(r){let n=ua(r);if(n){let s=ca(r);throw Qn(s,{loc:n,cause:r})}throw r}return e}function ca(t){let{message:e}=t,r=e.split(` +`);return r.length>=4&&/^Parse error on line \d+:$/u.test(r[0])&&/^-*\^$/u.test(oe(!1,r,-2))?oe(!1,r,-1):r.length>=4&&/:\s?$/u.test(r[0])&&/^\(error occurred in '.*?' @ line \d+ : column \d+\)$/u.test(oe(!1,r,-1))&&r[1]===""&&oe(!1,r,-2)===""&&r.slice(2,-2).every(n=>n.startsWith("|"))?r[0].trim().slice(0,-1):e}function ua(t){let{location:e,hash:r}=t;if(e){let{start:n,end:s}=e;return typeof s.line!="number"?{start:n}:e}if(r){let{loc:{last_line:n,last_column:s}}=r;return{start:{line:n,column:s+1}}}}var ha={parse:la,astFormat:"glimmer",locStart:Se,locEnd:tt};var pa={glimmer:En};var bl=Rr;export{bl as default,Sn as languages,Ir as parsers,pa as printers}; diff --git a/node_modules/prettier/plugins/graphql.js b/node_modules/prettier/plugins/graphql.js index 04ef4c26c5..0ee3ce8ea2 100644 --- a/node_modules/prettier/plugins/graphql.js +++ b/node_modules/prettier/plugins/graphql.js @@ -1,21 +1,21 @@ -(function(f){function e(){var i=f();return i.default||i}if(typeof exports=="object"&&typeof module=="object")module.exports=e();else if(typeof define=="function"&&define.amd)define(e);else{var t=typeof globalThis<"u"?globalThis:typeof global<"u"?global:typeof self<"u"?self:this||{};t.prettierPlugins=t.prettierPlugins||{},t.prettierPlugins.graphql=e()}})(function(){"use strict";var se=Object.defineProperty;var tt=Object.getOwnPropertyDescriptor;var nt=Object.getOwnPropertyNames;var it=Object.prototype.hasOwnProperty;var Ne=(e,t)=>{for(var n in t)se(e,n,{get:t[n],enumerable:!0})},rt=(e,t,n,r)=>{if(t&&typeof t=="object"||typeof t=="function")for(let i of nt(t))!it.call(e,i)&&i!==n&&se(e,i,{get:()=>t[i],enumerable:!(r=tt(t,i))||r.enumerable});return e};var st=e=>rt(se({},"__esModule",{value:!0}),e);var un={};Ne(un,{languages:()=>Ke,options:()=>et,parsers:()=>ie,printers:()=>cn});var ot=(e,t,n,r)=>{if(!(e&&t==null))return t.replaceAll?t.replaceAll(n,r):n.global?t.replace(n,r):t.split(n).join(r)},Y=ot;var oe="indent";var ae="group";var ce="if-break";var P="line";var ue="break-parent";var xe=()=>{},b=xe,le=xe;function x(e){return b(e),{type:oe,contents:e}}function y(e,t={}){return b(e),le(t.expandedStates,!0),{type:ae,id:t.id,contents:e,break:!!t.shouldBreak,expandedStates:t.expandedStates}}function O(e,t="",n={}){return b(e),t!==""&&b(t),{type:ce,breakContents:e,flatContents:t,groupId:n.groupId}}var xt={type:ue};var _t={type:P,hard:!0};var k={type:P},p={type:P,soft:!0},f=[_t,xt];function E(e,t){b(e),le(t);let n=[];for(let r=0;r{for(var n in t)re(e,n,{get:t[n],enumerable:!0})},rt=(e,t,n,r)=>{if(t&&typeof t=="object"||typeof t=="function")for(let i of nt(t))!it.call(e,i)&&i!==n&&re(e,i,{get:()=>t[i],enumerable:!(r=tt(t,i))||r.enumerable});return e};var st=e=>rt(re({},"__esModule",{value:!0}),e);var ln={};Ne(ln,{languages:()=>Pe,options:()=>we,parsers:()=>Te,printers:()=>un});var ot=(e,t,n,r)=>{if(!(e&&t==null))return t.replaceAll?t.replaceAll(n,r):n.global?t.replace(n,r):t.split(n).join(r)},Y=ot;var se="indent";var oe="group";var ae="if-break";var P="line";var ce="break-parent";var xe=()=>{},b=xe,ue=xe;function x(e){return b(e),{type:se,contents:e}}function y(e,t={}){return b(e),ue(t.expandedStates,!0),{type:oe,id:t.id,contents:e,break:!!t.shouldBreak,expandedStates:t.expandedStates}}function O(e,t="",n={}){return b(e),t!==""&&b(t),{type:ae,breakContents:e,flatContents:t,groupId:n.groupId}}var xt={type:ce};var _t={type:P,hard:!0};var k={type:P},p={type:P,soft:!0},f=[_t,xt];function E(e,t){b(e),ue(t);let n=[];for(let r=0;r{let i=!!(r!=null&&r.backwards);if(n===!1)return!1;let{length:s}=t,a=n;for(;a>=0&&a{let i=!!(r!=null&&r.backwards);if(n===!1)return!1;let{length:s}=t,a=n;for(;a>=0&&a0}var pe=At;var fe=class extends Error{name="UnexpectedNodeError";constructor(t,n,r="type"){super(`Unexpected ${n} node ${r}: ${JSON.stringify(t[r])}.`),this.node=t}},Ae=fe;function ke(e){return/^\s*#[^\S\n]*@(?:format|prettier)\s*(?:\n|$)/.test(e)}function Ce(e){return`# @format +`||i==="\r"||i==="\u2028"||i==="\u2029")return t+1}return t}var $=yt;function It(e,t,n={}){let r=G(e,n.backwards?t-1:t,n),i=$(e,r,n);return r!==i}var Ie=It;function Ot(e,t){if(t===!1)return!1;if(e.charAt(t)==="/"&&e.charAt(t+1)==="*"){for(let n=t+2;n0}var le=gt;var pe=class extends Error{name="UnexpectedNodeError";constructor(t,n,r="type"){super(`Unexpected ${n} node ${r}: ${JSON.stringify(t[r])}.`),this.node=t}},ge=pe;var F=null;function w(e){if(F!==null&&typeof F.property){let t=F;return F=w.prototype=null,t}return F=w.prototype=e??Object.create(null),new w}var kt=10;for(let e=0;e<=kt;e++)w();function fe(e){return w(e)}function St(e,t="type"){fe(e);function n(r){let i=r[t],s=e[i];if(!Array.isArray(s))throw Object.assign(new Error(`Missing visitor keys for '${i}'.`),{node:r});return s}return n}var ke=St;var J=class{constructor(t,n,r){this.start=t.start,this.end=n.end,this.startToken=t,this.endToken=n,this.source=r}get[Symbol.toStringTag](){return"Location"}toJSON(){return{start:this.start,end:this.end}}},V=class{constructor(t,n,r,i,s,a){this.kind=t,this.start=n,this.end=r,this.line=i,this.column=s,this.value=a,this.prev=null,this.next=null}get[Symbol.toStringTag](){return"Token"}toJSON(){return{kind:this.kind,value:this.value,line:this.line,column:this.column}}},X={Name:[],Document:["definitions"],OperationDefinition:["name","variableDefinitions","directives","selectionSet"],VariableDefinition:["variable","type","defaultValue","directives"],Variable:["name"],SelectionSet:["selections"],Field:["alias","name","arguments","directives","selectionSet"],Argument:["name","value"],FragmentSpread:["name","directives"],InlineFragment:["typeCondition","directives","selectionSet"],FragmentDefinition:["name","variableDefinitions","typeCondition","directives","selectionSet"],IntValue:[],FloatValue:[],StringValue:[],BooleanValue:[],NullValue:[],EnumValue:[],ListValue:["values"],ObjectValue:["fields"],ObjectField:["name","value"],Directive:["name","arguments"],NamedType:["name"],ListType:["type"],NonNullType:["type"],SchemaDefinition:["description","directives","operationTypes"],OperationTypeDefinition:["type"],ScalarTypeDefinition:["description","name","directives"],ObjectTypeDefinition:["description","name","interfaces","directives","fields"],FieldDefinition:["description","name","arguments","type","directives"],InputValueDefinition:["description","name","type","defaultValue","directives"],InterfaceTypeDefinition:["description","name","interfaces","directives","fields"],UnionTypeDefinition:["description","name","directives","types"],EnumTypeDefinition:["description","name","directives","values"],EnumValueDefinition:["description","name","directives"],InputObjectTypeDefinition:["description","name","directives","fields"],DirectiveDefinition:["description","name","arguments","locations"],SchemaExtension:["directives","operationTypes"],ScalarTypeExtension:["name","directives"],ObjectTypeExtension:["name","interfaces","directives","fields"],InterfaceTypeExtension:["name","interfaces","directives","fields"],UnionTypeExtension:["name","directives","types"],EnumTypeExtension:["name","directives","values"],InputObjectTypeExtension:["name","directives","fields"]},Hn=new Set(Object.keys(X));var S;(function(e){e.QUERY="query",e.MUTATION="mutation",e.SUBSCRIPTION="subscription"})(S||(S={}));var Ct=ke(X,"kind"),Se=Ct;function q(e){return e.loc.start}function Q(e){return e.loc.end}function Ce(e){return/^\s*#[^\S\n]*@(?:format|prettier)\s*(?:\n|$)/u.test(e)}function ve(e){return`# @format -`+e}function J(e){return e.kind==="Comment"?e.start:e.loc.start}function X(e){return e.kind==="Comment"?e.end:e.loc.end}var F=null;function w(e){if(F!==null&&typeof F.property){let t=F;return F=w.prototype=null,t}return F=w.prototype=e??Object.create(null),new w}var kt=10;for(let e=0;e<=kt;e++)w();function he(e){return w(e)}function Ct(e,t="type"){he(e);function n(r){let i=r[t],s=e[i];if(!Array.isArray(s))throw Object.assign(new Error(`Missing visitor keys for '${i}'.`),{node:r});return s}return n}var Se=Ct;var q=class{constructor(t,n,r){this.start=t.start,this.end=n.end,this.startToken=t,this.endToken=n,this.source=r}get[Symbol.toStringTag](){return"Location"}toJSON(){return{start:this.start,end:this.end}}},V=class{constructor(t,n,r,i,s,a){this.kind=t,this.start=n,this.end=r,this.line=i,this.column=s,this.value=a,this.prev=null,this.next=null}get[Symbol.toStringTag](){return"Token"}toJSON(){return{kind:this.kind,value:this.value,line:this.line,column:this.column}}},Q={Name:[],Document:["definitions"],OperationDefinition:["name","variableDefinitions","directives","selectionSet"],VariableDefinition:["variable","type","defaultValue","directives"],Variable:["name"],SelectionSet:["selections"],Field:["alias","name","arguments","directives","selectionSet"],Argument:["name","value"],FragmentSpread:["name","directives"],InlineFragment:["typeCondition","directives","selectionSet"],FragmentDefinition:["name","variableDefinitions","typeCondition","directives","selectionSet"],IntValue:[],FloatValue:[],StringValue:[],BooleanValue:[],NullValue:[],EnumValue:[],ListValue:["values"],ObjectValue:["fields"],ObjectField:["name","value"],Directive:["name","arguments"],NamedType:["name"],ListType:["type"],NonNullType:["type"],SchemaDefinition:["description","directives","operationTypes"],OperationTypeDefinition:["type"],ScalarTypeDefinition:["description","name","directives"],ObjectTypeDefinition:["description","name","interfaces","directives","fields"],FieldDefinition:["description","name","arguments","type","directives"],InputValueDefinition:["description","name","type","defaultValue","directives"],InterfaceTypeDefinition:["description","name","interfaces","directives","fields"],UnionTypeDefinition:["description","name","directives","types"],EnumTypeDefinition:["description","name","directives","values"],EnumValueDefinition:["description","name","directives"],InputObjectTypeDefinition:["description","name","directives","fields"],DirectiveDefinition:["description","name","arguments","locations"],SchemaExtension:["directives","operationTypes"],ScalarTypeExtension:["name","directives"],ObjectTypeExtension:["name","interfaces","directives","fields"],InterfaceTypeExtension:["name","interfaces","directives","fields"],UnionTypeExtension:["name","directives","types"],EnumTypeExtension:["name","directives","values"],InputObjectTypeExtension:["name","directives","fields"]},zn=new Set(Object.keys(Q));var C;(function(e){e.QUERY="query",e.MUTATION="mutation",e.SUBSCRIPTION="subscription"})(C||(C={}));var St=Se(Q,"kind"),ve=St;function vt(e,t,n){let{node:r}=e;if(!r.description)return"";let i=[n("description")];return r.kind==="InputValueDefinition"&&!r.description.block?i.push(k):i.push(f),i}var g=vt;function bt(e,t,n){let{node:r}=e;switch(r.kind){case"Document":return[...E(f,A(e,t,n,"definitions")),f];case"OperationDefinition":{let i=t.originalText[J(r)]!=="{",s=!!r.name;return[i?r.operation:"",i&&s?[" ",n("name")]:"",i&&!s&&pe(r.variableDefinitions)?" ":"",be(e,n),_(e,n,r),!i&&!s?"":" ",n("selectionSet")]}case"FragmentDefinition":return["fragment ",n("name"),be(e,n)," on ",n("typeCondition"),_(e,n,r)," ",n("selectionSet")];case"SelectionSet":return["{",x([f,E(f,A(e,t,n,"selections"))]),f,"}"];case"Field":return y([r.alias?[n("alias"),": "]:"",n("name"),r.arguments.length>0?y(["(",x([p,E([O("",", "),p],A(e,t,n,"arguments"))]),p,")"]):"",_(e,n,r),r.selectionSet?" ":"",n("selectionSet")]);case"Name":return r.value;case"StringValue":if(r.block){let i=Y(!1,r.value,'"""','\\"""').split(` -`);return i.length===1&&(i[0]=i[0].trim()),i.every(s=>s==="")&&(i.length=0),E(f,['"""',...i,'"""'])}return['"',Y(!1,Y(!1,r.value,/["\\]/g,"\\$&"),` -`,"\\n"),'"'];case"IntValue":case"FloatValue":case"EnumValue":return r.value;case"BooleanValue":return r.value?"true":"false";case"NullValue":return"null";case"Variable":return["$",n("name")];case"ListValue":return y(["[",x([p,E([O("",", "),p],e.map(n,"values"))]),p,"]"]);case"ObjectValue":{let i=t.bracketSpacing&&r.fields.length>0?" ":"";return y(["{",i,x([p,E([O("",", "),p],e.map(n,"fields"))]),p,O("",i),"}"])}case"ObjectField":case"Argument":return[n("name"),": ",n("value")];case"Directive":return["@",n("name"),r.arguments.length>0?y(["(",x([p,E([O("",", "),p],A(e,t,n,"arguments"))]),p,")"]):""];case"NamedType":return n("name");case"VariableDefinition":return[n("variable"),": ",n("type"),r.defaultValue?[" = ",n("defaultValue")]:"",_(e,n,r)];case"ObjectTypeExtension":case"ObjectTypeDefinition":case"InputObjectTypeExtension":case"InputObjectTypeDefinition":case"InterfaceTypeExtension":case"InterfaceTypeDefinition":{let{kind:i}=r,s=[];return i.endsWith("TypeDefinition")?s.push(g(e,t,n)):s.push("extend "),i.startsWith("ObjectType")?s.push("type"):i.startsWith("InputObjectType")?s.push("input"):s.push("interface"),s.push(" ",n("name")),!i.startsWith("InputObjectType")&&r.interfaces.length>0&&s.push(" implements ",...Pt(e,t,n)),s.push(_(e,n,r)),r.fields.length>0&&s.push([" {",x([f,E(f,A(e,t,n,"fields"))]),f,"}"]),s}case"FieldDefinition":return[g(e,t,n),n("name"),r.arguments.length>0?y(["(",x([p,E([O("",", "),p],A(e,t,n,"arguments"))]),p,")"]):"",": ",n("type"),_(e,n,r)];case"DirectiveDefinition":return[g(e,t,n),"directive ","@",n("name"),r.arguments.length>0?y(["(",x([p,E([O("",", "),p],A(e,t,n,"arguments"))]),p,")"]):"",r.repeatable?" repeatable":""," on ",...E(" | ",e.map(n,"locations"))];case"EnumTypeExtension":case"EnumTypeDefinition":return[g(e,t,n),r.kind==="EnumTypeExtension"?"extend ":"","enum ",n("name"),_(e,n,r),r.values.length>0?[" {",x([f,E(f,A(e,t,n,"values"))]),f,"}"]:""];case"EnumValueDefinition":return[g(e,t,n),n("name"),_(e,n,r)];case"InputValueDefinition":return[g(e,t,n),n("name"),": ",n("type"),r.defaultValue?[" = ",n("defaultValue")]:"",_(e,n,r)];case"SchemaExtension":return["extend schema",_(e,n,r),...r.operationTypes.length>0?[" {",x([f,E(f,A(e,t,n,"operationTypes"))]),f,"}"]:[]];case"SchemaDefinition":return[g(e,t,n),"schema",_(e,n,r)," {",r.operationTypes.length>0?x([f,E(f,A(e,t,n,"operationTypes"))]):"",f,"}"];case"OperationTypeDefinition":return[r.operation,": ",n("type")];case"FragmentSpread":return["...",n("name"),_(e,n,r)];case"InlineFragment":return["...",r.typeCondition?[" on ",n("typeCondition")]:"",_(e,n,r)," ",n("selectionSet")];case"UnionTypeExtension":case"UnionTypeDefinition":return y([g(e,t,n),y([r.kind==="UnionTypeExtension"?"extend ":"","union ",n("name"),_(e,n,r),r.types.length>0?[" =",O(""," "),x([O([k," "]),E([k,"| "],e.map(n,"types"))])]:""])]);case"ScalarTypeExtension":case"ScalarTypeDefinition":return[g(e,t,n),r.kind==="ScalarTypeExtension"?"extend ":"","scalar ",n("name"),_(e,n,r)];case"NonNullType":return[n("type"),"!"];case"ListType":return["[",n("type"),"]"];default:throw new Ae(r,"Graphql","kind")}}function _(e,t,n){if(n.directives.length===0)return"";let r=E(k,e.map(t,"directives"));return n.kind==="FragmentDefinition"||n.kind==="OperationDefinition"?y([k,r]):[" ",y(x([p,r]))]}function A(e,t,n,r){return e.map(({isLast:i,node:s})=>{let a=n();return!i&&ge(t.originalText,X(s))?[a,f]:a},r)}function Lt(e){return e.kind!=="Comment"}function Rt(e){let t=e.node;if(t.kind==="Comment")return"#"+t.value.trimEnd();throw new Error("Not a comment: "+JSON.stringify(t))}function Pt(e,t,n){let{node:r}=e,i=[],{interfaces:s}=r,a=e.map(n,"interfaces");for(let u=0;ur.value.trim()==="prettier-ignore")}var wt={print:bt,massageAstNode:Le,hasPrettierIgnore:Ft,insertPragma:Ce,printComment:Rt,canAttachComment:Lt,getVisitorKeys:ve},Re=wt;var ie={};Ne(ie,{graphql:()=>on});function Pe(e){return typeof e=="object"&&e!==null}function Fe(e,t){if(!!!e)throw new Error(t??"Unexpected invariant triggered.")}var Vt=/\r\n|[\n\r]/g;function B(e,t){let n=0,r=1;for(let i of e.body.matchAll(Vt)){if(typeof i.index=="number"||Fe(!1),i.index>=t)break;n=i.index+i[0].length,r+=1}return{line:r,column:t+1-n}}function Ve(e){return de(e.source,B(e.source,e.start))}function de(e,t){let n=e.locationOffset.column-1,r="".padStart(n)+e.body,i=t.line-1,s=e.locationOffset.line-1,a=t.line+s,u=t.line===1?n:0,l=t.column+u,T=`${e.name}:${a}:${l} -`,h=r.split(/\r\n|[\n\r]/g),D=h[i];if(D.length>120){let I=Math.floor(l/80),re=l%80,N=[];for(let v=0;v["|",v]),["|","^".padStart(re)],["|",N[I+1]]])}return T+we([[`${a-1} |`,h[i-1]],[`${a} |`,D],["|","^".padStart(l)],[`${a+1} |`,h[i+1]]])}function we(e){let t=e.filter(([r,i])=>i!==void 0),n=Math.max(...t.map(([r])=>r.length));return t.map(([r,i])=>r.padStart(n)+(i?" "+i:"")).join(` -`)}function Bt(e){let t=e[0];return t==null||"kind"in t||"length"in t?{nodes:t,source:e[1],positions:e[2],path:e[3],originalError:e[4],extensions:e[5]}:t}var W=class e extends Error{constructor(t,...n){var r,i,s;let{nodes:a,source:u,positions:l,path:T,originalError:h,extensions:D}=Bt(n);super(t),this.name="GraphQLError",this.path=T??void 0,this.originalError=h??void 0,this.nodes=Be(Array.isArray(a)?a:a?[a]:void 0);let I=Be((r=this.nodes)===null||r===void 0?void 0:r.map(N=>N.loc).filter(N=>N!=null));this.source=u??(I==null||(i=I[0])===null||i===void 0?void 0:i.source),this.positions=l??(I==null?void 0:I.map(N=>N.start)),this.locations=l&&u?l.map(N=>B(u,N)):I==null?void 0:I.map(N=>B(N.source,N.start));let re=Pe(h==null?void 0:h.extensions)?h==null?void 0:h.extensions:void 0;this.extensions=(s=D??re)!==null&&s!==void 0?s:Object.create(null),Object.defineProperties(this,{message:{writable:!0,enumerable:!0},name:{enumerable:!1},nodes:{enumerable:!1},source:{enumerable:!1},positions:{enumerable:!1},originalError:{enumerable:!1}}),h!=null&&h.stack?Object.defineProperty(this,"stack",{value:h.stack,writable:!0,configurable:!0}):Error.captureStackTrace?Error.captureStackTrace(this,e):Object.defineProperty(this,"stack",{value:Error().stack,writable:!0,configurable:!0})}get[Symbol.toStringTag](){return"GraphQLError"}toString(){let t=this.message;if(this.nodes)for(let n of this.nodes)n.loc&&(t+=` +`+e}function vt(e,t,n){let{node:r}=e;if(!r.description)return"";let i=[n("description")];return r.kind==="InputValueDefinition"&&!r.description.block?i.push(k):i.push(f),i}var A=vt;function bt(e,t,n){let{node:r}=e;switch(r.kind){case"Document":return[...E(f,g(e,t,n,"definitions")),f];case"OperationDefinition":{let i=t.originalText[q(r)]!=="{",s=!!r.name;return[i?r.operation:"",i&&s?[" ",n("name")]:"",i&&!s&&le(r.variableDefinitions)?" ":"",be(e,n),_(e,n,r),!i&&!s?"":" ",n("selectionSet")]}case"FragmentDefinition":return["fragment ",n("name"),be(e,n)," on ",n("typeCondition"),_(e,n,r)," ",n("selectionSet")];case"SelectionSet":return["{",x([f,E(f,g(e,t,n,"selections"))]),f,"}"];case"Field":return y([r.alias?[n("alias"),": "]:"",n("name"),r.arguments.length>0?y(["(",x([p,E([O("",", "),p],g(e,t,n,"arguments"))]),p,")"]):"",_(e,n,r),r.selectionSet?" ":"",n("selectionSet")]);case"Name":return r.value;case"StringValue":if(r.block){let i=Y(!1,r.value,'"""',String.raw`\"""`).split(` +`);return i.length===1&&(i[0]=i[0].trim()),i.every(s=>s==="")&&(i.length=0),E(f,['"""',...i,'"""'])}return['"',Y(!1,Y(!1,r.value,/["\\]/gu,String.raw`\$&`),` +`,String.raw`\n`),'"'];case"IntValue":case"FloatValue":case"EnumValue":return r.value;case"BooleanValue":return r.value?"true":"false";case"NullValue":return"null";case"Variable":return["$",n("name")];case"ListValue":return y(["[",x([p,E([O("",", "),p],e.map(n,"values"))]),p,"]"]);case"ObjectValue":{let i=t.bracketSpacing&&r.fields.length>0?" ":"";return y(["{",i,x([p,E([O("",", "),p],e.map(n,"fields"))]),p,O("",i),"}"])}case"ObjectField":case"Argument":return[n("name"),": ",n("value")];case"Directive":return["@",n("name"),r.arguments.length>0?y(["(",x([p,E([O("",", "),p],g(e,t,n,"arguments"))]),p,")"]):""];case"NamedType":return n("name");case"VariableDefinition":return[n("variable"),": ",n("type"),r.defaultValue?[" = ",n("defaultValue")]:"",_(e,n,r)];case"ObjectTypeExtension":case"ObjectTypeDefinition":case"InputObjectTypeExtension":case"InputObjectTypeDefinition":case"InterfaceTypeExtension":case"InterfaceTypeDefinition":{let{kind:i}=r,s=[];return i.endsWith("TypeDefinition")?s.push(A(e,t,n)):s.push("extend "),i.startsWith("ObjectType")?s.push("type"):i.startsWith("InputObjectType")?s.push("input"):s.push("interface"),s.push(" ",n("name")),!i.startsWith("InputObjectType")&&r.interfaces.length>0&&s.push(" implements ",...Pt(e,t,n)),s.push(_(e,n,r)),r.fields.length>0&&s.push([" {",x([f,E(f,g(e,t,n,"fields"))]),f,"}"]),s}case"FieldDefinition":return[A(e,t,n),n("name"),r.arguments.length>0?y(["(",x([p,E([O("",", "),p],g(e,t,n,"arguments"))]),p,")"]):"",": ",n("type"),_(e,n,r)];case"DirectiveDefinition":return[A(e,t,n),"directive ","@",n("name"),r.arguments.length>0?y(["(",x([p,E([O("",", "),p],g(e,t,n,"arguments"))]),p,")"]):"",r.repeatable?" repeatable":""," on ",...E(" | ",e.map(n,"locations"))];case"EnumTypeExtension":case"EnumTypeDefinition":return[A(e,t,n),r.kind==="EnumTypeExtension"?"extend ":"","enum ",n("name"),_(e,n,r),r.values.length>0?[" {",x([f,E(f,g(e,t,n,"values"))]),f,"}"]:""];case"EnumValueDefinition":return[A(e,t,n),n("name"),_(e,n,r)];case"InputValueDefinition":return[A(e,t,n),n("name"),": ",n("type"),r.defaultValue?[" = ",n("defaultValue")]:"",_(e,n,r)];case"SchemaExtension":return["extend schema",_(e,n,r),...r.operationTypes.length>0?[" {",x([f,E(f,g(e,t,n,"operationTypes"))]),f,"}"]:[]];case"SchemaDefinition":return[A(e,t,n),"schema",_(e,n,r)," {",r.operationTypes.length>0?x([f,E(f,g(e,t,n,"operationTypes"))]):"",f,"}"];case"OperationTypeDefinition":return[r.operation,": ",n("type")];case"FragmentSpread":return["...",n("name"),_(e,n,r)];case"InlineFragment":return["...",r.typeCondition?[" on ",n("typeCondition")]:"",_(e,n,r)," ",n("selectionSet")];case"UnionTypeExtension":case"UnionTypeDefinition":return y([A(e,t,n),y([r.kind==="UnionTypeExtension"?"extend ":"","union ",n("name"),_(e,n,r),r.types.length>0?[" =",O(""," "),x([O([k,"| "]),E([k,"| "],e.map(n,"types"))])]:""])]);case"ScalarTypeExtension":case"ScalarTypeDefinition":return[A(e,t,n),r.kind==="ScalarTypeExtension"?"extend ":"","scalar ",n("name"),_(e,n,r)];case"NonNullType":return[n("type"),"!"];case"ListType":return["[",n("type"),"]"];default:throw new ge(r,"Graphql","kind")}}function _(e,t,n){if(n.directives.length===0)return"";let r=E(k,e.map(t,"directives"));return n.kind==="FragmentDefinition"||n.kind==="OperationDefinition"?y([k,r]):[" ",y(x([p,r]))]}function g(e,t,n,r){return e.map(({isLast:i,node:s})=>{let a=n();return!i&&Ae(t.originalText,Q(s))?[a,f]:a},r)}function Lt(e){return e.kind!=="Comment"}function Rt(e){let t=e.node;if(t.kind==="Comment")return"#"+t.value.trimEnd();throw new Error("Not a comment: "+JSON.stringify(t))}function Pt(e,t,n){let{node:r}=e,i=[],{interfaces:s}=r,a=e.map(n,"interfaces");for(let u=0;ur.value.trim()==="prettier-ignore")}var wt={print:bt,massageAstNode:Le,hasPrettierIgnore:Ft,insertPragma:ve,printComment:Rt,canAttachComment:Lt,getVisitorKeys:Se},Re=wt;var Pe=[{linguistLanguageId:139,name:"GraphQL",type:"data",color:"#e10098",extensions:[".graphql",".gql",".graphqls"],tmScope:"source.graphql",aceMode:"text",parsers:["graphql"],vscodeLanguageIds:["graphql"]}];var Fe={bracketSpacing:{category:"Common",type:"boolean",default:!0,description:"Print spaces between brackets.",oppositeDescription:"Do not print spaces between brackets."},singleQuote:{category:"Common",type:"boolean",default:!1,description:"Use single quotes instead of double quotes."},proseWrap:{category:"Common",type:"choice",default:"preserve",description:"How to wrap prose.",choices:[{value:"always",description:"Wrap prose if it exceeds the print width."},{value:"never",description:"Do not wrap prose."},{value:"preserve",description:"Wrap prose as-is."}]},bracketSameLine:{category:"Common",type:"boolean",default:!1,description:"Put > of opening tags on the last line instead of on a new line."},singleAttributePerLine:{category:"Common",type:"boolean",default:!1,description:"Enforce single attribute per line in HTML, Vue and JSX."}};var Vt={bracketSpacing:Fe.bracketSpacing},we=Vt;var Te={};Ne(Te,{graphql:()=>cn});function Ve(e){return typeof e=="object"&&e!==null}function Be(e,t){if(!!!e)throw new Error(t??"Unexpected invariant triggered.")}var Bt=/\r\n|[\n\r]/g;function B(e,t){let n=0,r=1;for(let i of e.body.matchAll(Bt)){if(typeof i.index=="number"||Be(!1),i.index>=t)break;n=i.index+i[0].length,r+=1}return{line:r,column:t+1-n}}function Me(e){return he(e.source,B(e.source,e.start))}function he(e,t){let n=e.locationOffset.column-1,r="".padStart(n)+e.body,i=t.line-1,s=e.locationOffset.line-1,a=t.line+s,u=t.line===1?n:0,l=t.column+u,T=`${e.name}:${a}:${l} +`,h=r.split(/\r\n|[\n\r]/g),D=h[i];if(D.length>120){let I=Math.floor(l/80),ie=l%80,N=[];for(let v=0;v["|",v]),["|","^".padStart(ie)],["|",N[I+1]]])}return T+Ue([[`${a-1} |`,h[i-1]],[`${a} |`,D],["|","^".padStart(l)],[`${a+1} |`,h[i+1]]])}function Ue(e){let t=e.filter(([r,i])=>i!==void 0),n=Math.max(...t.map(([r])=>r.length));return t.map(([r,i])=>r.padStart(n)+(i?" "+i:"")).join(` +`)}function Ut(e){let t=e[0];return t==null||"kind"in t||"length"in t?{nodes:t,source:e[1],positions:e[2],path:e[3],originalError:e[4],extensions:e[5]}:t}var W=class e extends Error{constructor(t,...n){var r,i,s;let{nodes:a,source:u,positions:l,path:T,originalError:h,extensions:D}=Ut(n);super(t),this.name="GraphQLError",this.path=T??void 0,this.originalError=h??void 0,this.nodes=Ye(Array.isArray(a)?a:a?[a]:void 0);let I=Ye((r=this.nodes)===null||r===void 0?void 0:r.map(N=>N.loc).filter(N=>N!=null));this.source=u??(I==null||(i=I[0])===null||i===void 0?void 0:i.source),this.positions=l??(I==null?void 0:I.map(N=>N.start)),this.locations=l&&u?l.map(N=>B(u,N)):I==null?void 0:I.map(N=>B(N.source,N.start));let ie=Ve(h==null?void 0:h.extensions)?h==null?void 0:h.extensions:void 0;this.extensions=(s=D??ie)!==null&&s!==void 0?s:Object.create(null),Object.defineProperties(this,{message:{writable:!0,enumerable:!0},name:{enumerable:!1},nodes:{enumerable:!1},source:{enumerable:!1},positions:{enumerable:!1},originalError:{enumerable:!1}}),h!=null&&h.stack?Object.defineProperty(this,"stack",{value:h.stack,writable:!0,configurable:!0}):Error.captureStackTrace?Error.captureStackTrace(this,e):Object.defineProperty(this,"stack",{value:Error().stack,writable:!0,configurable:!0})}get[Symbol.toStringTag](){return"GraphQLError"}toString(){let t=this.message;if(this.nodes)for(let n of this.nodes)n.loc&&(t+=` -`+Ve(n.loc));else if(this.source&&this.locations)for(let n of this.locations)t+=` +`+Me(n.loc));else if(this.source&&this.locations)for(let n of this.locations)t+=` -`+de(this.source,n);return t}toJSON(){let t={message:this.message};return this.locations!=null&&(t.locations=this.locations),this.path!=null&&(t.path=this.path),this.extensions!=null&&Object.keys(this.extensions).length>0&&(t.extensions=this.extensions),t}};function Be(e){return e===void 0||e.length===0?void 0:e}function d(e,t,n){return new W(`Syntax Error: ${n}`,{source:e,positions:[t]})}var H;(function(e){e.QUERY="QUERY",e.MUTATION="MUTATION",e.SUBSCRIPTION="SUBSCRIPTION",e.FIELD="FIELD",e.FRAGMENT_DEFINITION="FRAGMENT_DEFINITION",e.FRAGMENT_SPREAD="FRAGMENT_SPREAD",e.INLINE_FRAGMENT="INLINE_FRAGMENT",e.VARIABLE_DEFINITION="VARIABLE_DEFINITION",e.SCHEMA="SCHEMA",e.SCALAR="SCALAR",e.OBJECT="OBJECT",e.FIELD_DEFINITION="FIELD_DEFINITION",e.ARGUMENT_DEFINITION="ARGUMENT_DEFINITION",e.INTERFACE="INTERFACE",e.UNION="UNION",e.ENUM="ENUM",e.ENUM_VALUE="ENUM_VALUE",e.INPUT_OBJECT="INPUT_OBJECT",e.INPUT_FIELD_DEFINITION="INPUT_FIELD_DEFINITION"})(H||(H={}));var c;(function(e){e.NAME="Name",e.DOCUMENT="Document",e.OPERATION_DEFINITION="OperationDefinition",e.VARIABLE_DEFINITION="VariableDefinition",e.SELECTION_SET="SelectionSet",e.FIELD="Field",e.ARGUMENT="Argument",e.FRAGMENT_SPREAD="FragmentSpread",e.INLINE_FRAGMENT="InlineFragment",e.FRAGMENT_DEFINITION="FragmentDefinition",e.VARIABLE="Variable",e.INT="IntValue",e.FLOAT="FloatValue",e.STRING="StringValue",e.BOOLEAN="BooleanValue",e.NULL="NullValue",e.ENUM="EnumValue",e.LIST="ListValue",e.OBJECT="ObjectValue",e.OBJECT_FIELD="ObjectField",e.DIRECTIVE="Directive",e.NAMED_TYPE="NamedType",e.LIST_TYPE="ListType",e.NON_NULL_TYPE="NonNullType",e.SCHEMA_DEFINITION="SchemaDefinition",e.OPERATION_TYPE_DEFINITION="OperationTypeDefinition",e.SCALAR_TYPE_DEFINITION="ScalarTypeDefinition",e.OBJECT_TYPE_DEFINITION="ObjectTypeDefinition",e.FIELD_DEFINITION="FieldDefinition",e.INPUT_VALUE_DEFINITION="InputValueDefinition",e.INTERFACE_TYPE_DEFINITION="InterfaceTypeDefinition",e.UNION_TYPE_DEFINITION="UnionTypeDefinition",e.ENUM_TYPE_DEFINITION="EnumTypeDefinition",e.ENUM_VALUE_DEFINITION="EnumValueDefinition",e.INPUT_OBJECT_TYPE_DEFINITION="InputObjectTypeDefinition",e.DIRECTIVE_DEFINITION="DirectiveDefinition",e.SCHEMA_EXTENSION="SchemaExtension",e.SCALAR_TYPE_EXTENSION="ScalarTypeExtension",e.OBJECT_TYPE_EXTENSION="ObjectTypeExtension",e.INTERFACE_TYPE_EXTENSION="InterfaceTypeExtension",e.UNION_TYPE_EXTENSION="UnionTypeExtension",e.ENUM_TYPE_EXTENSION="EnumTypeExtension",e.INPUT_OBJECT_TYPE_EXTENSION="InputObjectTypeExtension"})(c||(c={}));function Ue(e){return e===9||e===32}function L(e){return e>=48&&e<=57}function Me(e){return e>=97&&e<=122||e>=65&&e<=90}function me(e){return Me(e)||e===95}function Ye(e){return Me(e)||L(e)||e===95}function je(e){var t;let n=Number.MAX_SAFE_INTEGER,r=null,i=-1;for(let a=0;au===0?a:a.slice(n)).slice((t=r)!==null&&t!==void 0?t:0,i+1)}function Ut(e){let t=0;for(;t=0&&e<=55295||e>=57344&&e<=1114111}function K(e,t){return Je(e.charCodeAt(t))&&Xe(e.charCodeAt(t+1))}function Je(e){return e>=55296&&e<=56319}function Xe(e){return e>=56320&&e<=57343}function S(e,t){let n=e.source.body.codePointAt(t);if(n===void 0)return o.EOF;if(n>=32&&n<=126){let r=String.fromCodePoint(n);return r==='"'?`'"'`:`"${r}"`}return"U+"+n.toString(16).toUpperCase().padStart(4,"0")}function m(e,t,n,r,i){let s=e.line,a=1+n-e.lineStart;return new V(t,n,r,s,a,i)}function Mt(e,t){let n=e.source.body,r=n.length,i=t;for(;i=48&&e<=57?e-48:e>=65&&e<=70?e-55:e>=97&&e<=102?e-87:-1}function Xt(e,t){let n=e.source.body;switch(n.charCodeAt(t+1)){case 34:return{value:'"',size:2};case 92:return{value:"\\",size:2};case 47:return{value:"/",size:2};case 98:return{value:"\b",size:2};case 102:return{value:"\f",size:2};case 110:return{value:` -`,size:2};case 114:return{value:"\r",size:2};case 116:return{value:" ",size:2}}throw d(e.source,t,`Invalid character escape sequence: "${n.slice(t,t+2)}".`)}function qt(e,t){let n=e.source.body,r=n.length,i=e.lineStart,s=t+3,a=s,u="",l=[];for(;s2?"["+Zt(e)+"]":"{ "+n.map(([i,s])=>i+": "+te(s,t)).join(", ")+" }"}function Kt(e,t){if(e.length===0)return"[]";if(t.length>2)return"[Array]";let n=Math.min(10,e.length),r=e.length-n,i=[];for(let s=0;s1&&i.push(`... ${r} more items`),"["+i.join(", ")+"]"}function Zt(e){let t=Object.prototype.toString.call(e).replace(/^\[object /,"").replace(/]$/,"");if(t==="Object"&&typeof e.constructor=="function"){let n=e.constructor.name;if(typeof n=="string"&&n!=="")return n}return t}var qe=globalThis.process&&globalThis.process.env.NODE_ENV==="production"?function(t,n){return t instanceof n}:function(t,n){if(t instanceof n)return!0;if(typeof t=="object"&&t!==null){var r;let i=n.prototype[Symbol.toStringTag],s=Symbol.toStringTag in t?t[Symbol.toStringTag]:(r=t.constructor)===null||r===void 0?void 0:r.name;if(i===s){let a=ee(t);throw new Error(`Cannot use ${i} "${a}" from another module or realm. +`+he(this.source,n);return t}toJSON(){let t={message:this.message};return this.locations!=null&&(t.locations=this.locations),this.path!=null&&(t.path=this.path),this.extensions!=null&&Object.keys(this.extensions).length>0&&(t.extensions=this.extensions),t}};function Ye(e){return e===void 0||e.length===0?void 0:e}function d(e,t,n){return new W(`Syntax Error: ${n}`,{source:e,positions:[t]})}var H;(function(e){e.QUERY="QUERY",e.MUTATION="MUTATION",e.SUBSCRIPTION="SUBSCRIPTION",e.FIELD="FIELD",e.FRAGMENT_DEFINITION="FRAGMENT_DEFINITION",e.FRAGMENT_SPREAD="FRAGMENT_SPREAD",e.INLINE_FRAGMENT="INLINE_FRAGMENT",e.VARIABLE_DEFINITION="VARIABLE_DEFINITION",e.SCHEMA="SCHEMA",e.SCALAR="SCALAR",e.OBJECT="OBJECT",e.FIELD_DEFINITION="FIELD_DEFINITION",e.ARGUMENT_DEFINITION="ARGUMENT_DEFINITION",e.INTERFACE="INTERFACE",e.UNION="UNION",e.ENUM="ENUM",e.ENUM_VALUE="ENUM_VALUE",e.INPUT_OBJECT="INPUT_OBJECT",e.INPUT_FIELD_DEFINITION="INPUT_FIELD_DEFINITION"})(H||(H={}));var c;(function(e){e.NAME="Name",e.DOCUMENT="Document",e.OPERATION_DEFINITION="OperationDefinition",e.VARIABLE_DEFINITION="VariableDefinition",e.SELECTION_SET="SelectionSet",e.FIELD="Field",e.ARGUMENT="Argument",e.FRAGMENT_SPREAD="FragmentSpread",e.INLINE_FRAGMENT="InlineFragment",e.FRAGMENT_DEFINITION="FragmentDefinition",e.VARIABLE="Variable",e.INT="IntValue",e.FLOAT="FloatValue",e.STRING="StringValue",e.BOOLEAN="BooleanValue",e.NULL="NullValue",e.ENUM="EnumValue",e.LIST="ListValue",e.OBJECT="ObjectValue",e.OBJECT_FIELD="ObjectField",e.DIRECTIVE="Directive",e.NAMED_TYPE="NamedType",e.LIST_TYPE="ListType",e.NON_NULL_TYPE="NonNullType",e.SCHEMA_DEFINITION="SchemaDefinition",e.OPERATION_TYPE_DEFINITION="OperationTypeDefinition",e.SCALAR_TYPE_DEFINITION="ScalarTypeDefinition",e.OBJECT_TYPE_DEFINITION="ObjectTypeDefinition",e.FIELD_DEFINITION="FieldDefinition",e.INPUT_VALUE_DEFINITION="InputValueDefinition",e.INTERFACE_TYPE_DEFINITION="InterfaceTypeDefinition",e.UNION_TYPE_DEFINITION="UnionTypeDefinition",e.ENUM_TYPE_DEFINITION="EnumTypeDefinition",e.ENUM_VALUE_DEFINITION="EnumValueDefinition",e.INPUT_OBJECT_TYPE_DEFINITION="InputObjectTypeDefinition",e.DIRECTIVE_DEFINITION="DirectiveDefinition",e.SCHEMA_EXTENSION="SchemaExtension",e.SCALAR_TYPE_EXTENSION="ScalarTypeExtension",e.OBJECT_TYPE_EXTENSION="ObjectTypeExtension",e.INTERFACE_TYPE_EXTENSION="InterfaceTypeExtension",e.UNION_TYPE_EXTENSION="UnionTypeExtension",e.ENUM_TYPE_EXTENSION="EnumTypeExtension",e.INPUT_OBJECT_TYPE_EXTENSION="InputObjectTypeExtension"})(c||(c={}));function je(e){return e===9||e===32}function L(e){return e>=48&&e<=57}function Ge(e){return e>=97&&e<=122||e>=65&&e<=90}function de(e){return Ge(e)||e===95}function $e(e){return Ge(e)||L(e)||e===95}function Je(e){var t;let n=Number.MAX_SAFE_INTEGER,r=null,i=-1;for(let a=0;au===0?a:a.slice(n)).slice((t=r)!==null&&t!==void 0?t:0,i+1)}function Mt(e){let t=0;for(;t=0&&e<=55295||e>=57344&&e<=1114111}function K(e,t){return Qe(e.charCodeAt(t))&&We(e.charCodeAt(t+1))}function Qe(e){return e>=55296&&e<=56319}function We(e){return e>=56320&&e<=57343}function C(e,t){let n=e.source.body.codePointAt(t);if(n===void 0)return o.EOF;if(n>=32&&n<=126){let r=String.fromCodePoint(n);return r==='"'?`'"'`:`"${r}"`}return"U+"+n.toString(16).toUpperCase().padStart(4,"0")}function m(e,t,n,r,i){let s=e.line,a=1+n-e.lineStart;return new V(t,n,r,s,a,i)}function Yt(e,t){let n=e.source.body,r=n.length,i=t;for(;i=48&&e<=57?e-48:e>=65&&e<=70?e-55:e>=97&&e<=102?e-87:-1}function qt(e,t){let n=e.source.body;switch(n.charCodeAt(t+1)){case 34:return{value:'"',size:2};case 92:return{value:"\\",size:2};case 47:return{value:"/",size:2};case 98:return{value:"\b",size:2};case 102:return{value:"\f",size:2};case 110:return{value:` +`,size:2};case 114:return{value:"\r",size:2};case 116:return{value:" ",size:2}}throw d(e.source,t,`Invalid character escape sequence: "${n.slice(t,t+2)}".`)}function Qt(e,t){let n=e.source.body,r=n.length,i=e.lineStart,s=t+3,a=s,u="",l=[];for(;s2?"["+en(e)+"]":"{ "+n.map(([i,s])=>i+": "+te(s,t)).join(", ")+" }"}function Zt(e,t){if(e.length===0)return"[]";if(t.length>2)return"[Array]";let n=Math.min(10,e.length),r=e.length-n,i=[];for(let s=0;s1&&i.push(`... ${r} more items`),"["+i.join(", ")+"]"}function en(e){let t=Object.prototype.toString.call(e).replace(/^\[object /,"").replace(/]$/,"");if(t==="Object"&&typeof e.constructor=="function"){let n=e.constructor.name;if(typeof n=="string"&&n!=="")return n}return t}var tn=globalThis.process&&!0,He=tn?function(t,n){return t instanceof n}:function(t,n){if(t instanceof n)return!0;if(typeof t=="object"&&t!==null){var r;let i=n.prototype[Symbol.toStringTag],s=Symbol.toStringTag in t?t[Symbol.toStringTag]:(r=t.constructor)===null||r===void 0?void 0:r.name;if(i===s){let a=ee(t);throw new Error(`Cannot use ${i} "${a}" from another module or realm. Ensure that there is only one instance of "graphql" in the node_modules directory. If different versions of "graphql" are the dependencies of other @@ -26,4 +26,4 @@ https://yarnpkg.com/en/docs/selective-version-resolutions Duplicate "graphql" modules cannot be used at the same time since different versions may have different capabilities and behavior. The data from one version used in the function from another could produce confusing and -spurious results.`)}}return!1};var M=class{constructor(t,n="GraphQL request",r={line:1,column:1}){typeof t=="string"||Z(!1,`Body must be a string. Received: ${ee(t)}.`),this.body=t,this.name=n,this.locationOffset=r,this.locationOffset.line>0||Z(!1,"line in locationOffset is 1-indexed and must be positive."),this.locationOffset.column>0||Z(!1,"column in locationOffset is 1-indexed and must be positive.")}get[Symbol.toStringTag](){return"Source"}};function Qe(e){return qe(e,M)}function We(e,t){return new Te(e,t).parseDocument()}var Te=class{constructor(t,n={}){let r=Qe(t)?t:new M(t);this._lexer=new z(r),this._options=n,this._tokenCounter=0}parseName(){let t=this.expectToken(o.NAME);return this.node(t,{kind:c.NAME,value:t.value})}parseDocument(){return this.node(this._lexer.token,{kind:c.DOCUMENT,definitions:this.many(o.SOF,this.parseDefinition,o.EOF)})}parseDefinition(){if(this.peek(o.BRACE_L))return this.parseOperationDefinition();let t=this.peekDescription(),n=t?this._lexer.lookahead():this._lexer.token;if(n.kind===o.NAME){switch(n.value){case"schema":return this.parseSchemaDefinition();case"scalar":return this.parseScalarTypeDefinition();case"type":return this.parseObjectTypeDefinition();case"interface":return this.parseInterfaceTypeDefinition();case"union":return this.parseUnionTypeDefinition();case"enum":return this.parseEnumTypeDefinition();case"input":return this.parseInputObjectTypeDefinition();case"directive":return this.parseDirectiveDefinition()}if(t)throw d(this._lexer.source,this._lexer.token.start,"Unexpected description, descriptions are supported only on type definitions.");switch(n.value){case"query":case"mutation":case"subscription":return this.parseOperationDefinition();case"fragment":return this.parseFragmentDefinition();case"extend":return this.parseTypeSystemExtension()}}throw this.unexpected(n)}parseOperationDefinition(){let t=this._lexer.token;if(this.peek(o.BRACE_L))return this.node(t,{kind:c.OPERATION_DEFINITION,operation:C.QUERY,name:void 0,variableDefinitions:[],directives:[],selectionSet:this.parseSelectionSet()});let n=this.parseOperationType(),r;return this.peek(o.NAME)&&(r=this.parseName()),this.node(t,{kind:c.OPERATION_DEFINITION,operation:n,name:r,variableDefinitions:this.parseVariableDefinitions(),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet()})}parseOperationType(){let t=this.expectToken(o.NAME);switch(t.value){case"query":return C.QUERY;case"mutation":return C.MUTATION;case"subscription":return C.SUBSCRIPTION}throw this.unexpected(t)}parseVariableDefinitions(){return this.optionalMany(o.PAREN_L,this.parseVariableDefinition,o.PAREN_R)}parseVariableDefinition(){return this.node(this._lexer.token,{kind:c.VARIABLE_DEFINITION,variable:this.parseVariable(),type:(this.expectToken(o.COLON),this.parseTypeReference()),defaultValue:this.expectOptionalToken(o.EQUALS)?this.parseConstValueLiteral():void 0,directives:this.parseConstDirectives()})}parseVariable(){let t=this._lexer.token;return this.expectToken(o.DOLLAR),this.node(t,{kind:c.VARIABLE,name:this.parseName()})}parseSelectionSet(){return this.node(this._lexer.token,{kind:c.SELECTION_SET,selections:this.many(o.BRACE_L,this.parseSelection,o.BRACE_R)})}parseSelection(){return this.peek(o.SPREAD)?this.parseFragment():this.parseField()}parseField(){let t=this._lexer.token,n=this.parseName(),r,i;return this.expectOptionalToken(o.COLON)?(r=n,i=this.parseName()):i=n,this.node(t,{kind:c.FIELD,alias:r,name:i,arguments:this.parseArguments(!1),directives:this.parseDirectives(!1),selectionSet:this.peek(o.BRACE_L)?this.parseSelectionSet():void 0})}parseArguments(t){let n=t?this.parseConstArgument:this.parseArgument;return this.optionalMany(o.PAREN_L,n,o.PAREN_R)}parseArgument(t=!1){let n=this._lexer.token,r=this.parseName();return this.expectToken(o.COLON),this.node(n,{kind:c.ARGUMENT,name:r,value:this.parseValueLiteral(t)})}parseConstArgument(){return this.parseArgument(!0)}parseFragment(){let t=this._lexer.token;this.expectToken(o.SPREAD);let n=this.expectOptionalKeyword("on");return!n&&this.peek(o.NAME)?this.node(t,{kind:c.FRAGMENT_SPREAD,name:this.parseFragmentName(),directives:this.parseDirectives(!1)}):this.node(t,{kind:c.INLINE_FRAGMENT,typeCondition:n?this.parseNamedType():void 0,directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet()})}parseFragmentDefinition(){let t=this._lexer.token;return this.expectKeyword("fragment"),this._options.allowLegacyFragmentVariables===!0?this.node(t,{kind:c.FRAGMENT_DEFINITION,name:this.parseFragmentName(),variableDefinitions:this.parseVariableDefinitions(),typeCondition:(this.expectKeyword("on"),this.parseNamedType()),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet()}):this.node(t,{kind:c.FRAGMENT_DEFINITION,name:this.parseFragmentName(),typeCondition:(this.expectKeyword("on"),this.parseNamedType()),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet()})}parseFragmentName(){if(this._lexer.token.value==="on")throw this.unexpected();return this.parseName()}parseValueLiteral(t){let n=this._lexer.token;switch(n.kind){case o.BRACKET_L:return this.parseList(t);case o.BRACE_L:return this.parseObject(t);case o.INT:return this.advanceLexer(),this.node(n,{kind:c.INT,value:n.value});case o.FLOAT:return this.advanceLexer(),this.node(n,{kind:c.FLOAT,value:n.value});case o.STRING:case o.BLOCK_STRING:return this.parseStringLiteral();case o.NAME:switch(this.advanceLexer(),n.value){case"true":return this.node(n,{kind:c.BOOLEAN,value:!0});case"false":return this.node(n,{kind:c.BOOLEAN,value:!1});case"null":return this.node(n,{kind:c.NULL});default:return this.node(n,{kind:c.ENUM,value:n.value})}case o.DOLLAR:if(t)if(this.expectToken(o.DOLLAR),this._lexer.token.kind===o.NAME){let r=this._lexer.token.value;throw d(this._lexer.source,n.start,`Unexpected variable "$${r}" in constant value.`)}else throw this.unexpected(n);return this.parseVariable();default:throw this.unexpected()}}parseConstValueLiteral(){return this.parseValueLiteral(!0)}parseStringLiteral(){let t=this._lexer.token;return this.advanceLexer(),this.node(t,{kind:c.STRING,value:t.value,block:t.kind===o.BLOCK_STRING})}parseList(t){let n=()=>this.parseValueLiteral(t);return this.node(this._lexer.token,{kind:c.LIST,values:this.any(o.BRACKET_L,n,o.BRACKET_R)})}parseObject(t){let n=()=>this.parseObjectField(t);return this.node(this._lexer.token,{kind:c.OBJECT,fields:this.any(o.BRACE_L,n,o.BRACE_R)})}parseObjectField(t){let n=this._lexer.token,r=this.parseName();return this.expectToken(o.COLON),this.node(n,{kind:c.OBJECT_FIELD,name:r,value:this.parseValueLiteral(t)})}parseDirectives(t){let n=[];for(;this.peek(o.AT);)n.push(this.parseDirective(t));return n}parseConstDirectives(){return this.parseDirectives(!0)}parseDirective(t){let n=this._lexer.token;return this.expectToken(o.AT),this.node(n,{kind:c.DIRECTIVE,name:this.parseName(),arguments:this.parseArguments(t)})}parseTypeReference(){let t=this._lexer.token,n;if(this.expectOptionalToken(o.BRACKET_L)){let r=this.parseTypeReference();this.expectToken(o.BRACKET_R),n=this.node(t,{kind:c.LIST_TYPE,type:r})}else n=this.parseNamedType();return this.expectOptionalToken(o.BANG)?this.node(t,{kind:c.NON_NULL_TYPE,type:n}):n}parseNamedType(){return this.node(this._lexer.token,{kind:c.NAMED_TYPE,name:this.parseName()})}peekDescription(){return this.peek(o.STRING)||this.peek(o.BLOCK_STRING)}parseDescription(){if(this.peekDescription())return this.parseStringLiteral()}parseSchemaDefinition(){let t=this._lexer.token,n=this.parseDescription();this.expectKeyword("schema");let r=this.parseConstDirectives(),i=this.many(o.BRACE_L,this.parseOperationTypeDefinition,o.BRACE_R);return this.node(t,{kind:c.SCHEMA_DEFINITION,description:n,directives:r,operationTypes:i})}parseOperationTypeDefinition(){let t=this._lexer.token,n=this.parseOperationType();this.expectToken(o.COLON);let r=this.parseNamedType();return this.node(t,{kind:c.OPERATION_TYPE_DEFINITION,operation:n,type:r})}parseScalarTypeDefinition(){let t=this._lexer.token,n=this.parseDescription();this.expectKeyword("scalar");let r=this.parseName(),i=this.parseConstDirectives();return this.node(t,{kind:c.SCALAR_TYPE_DEFINITION,description:n,name:r,directives:i})}parseObjectTypeDefinition(){let t=this._lexer.token,n=this.parseDescription();this.expectKeyword("type");let r=this.parseName(),i=this.parseImplementsInterfaces(),s=this.parseConstDirectives(),a=this.parseFieldsDefinition();return this.node(t,{kind:c.OBJECT_TYPE_DEFINITION,description:n,name:r,interfaces:i,directives:s,fields:a})}parseImplementsInterfaces(){return this.expectOptionalKeyword("implements")?this.delimitedMany(o.AMP,this.parseNamedType):[]}parseFieldsDefinition(){return this.optionalMany(o.BRACE_L,this.parseFieldDefinition,o.BRACE_R)}parseFieldDefinition(){let t=this._lexer.token,n=this.parseDescription(),r=this.parseName(),i=this.parseArgumentDefs();this.expectToken(o.COLON);let s=this.parseTypeReference(),a=this.parseConstDirectives();return this.node(t,{kind:c.FIELD_DEFINITION,description:n,name:r,arguments:i,type:s,directives:a})}parseArgumentDefs(){return this.optionalMany(o.PAREN_L,this.parseInputValueDef,o.PAREN_R)}parseInputValueDef(){let t=this._lexer.token,n=this.parseDescription(),r=this.parseName();this.expectToken(o.COLON);let i=this.parseTypeReference(),s;this.expectOptionalToken(o.EQUALS)&&(s=this.parseConstValueLiteral());let a=this.parseConstDirectives();return this.node(t,{kind:c.INPUT_VALUE_DEFINITION,description:n,name:r,type:i,defaultValue:s,directives:a})}parseInterfaceTypeDefinition(){let t=this._lexer.token,n=this.parseDescription();this.expectKeyword("interface");let r=this.parseName(),i=this.parseImplementsInterfaces(),s=this.parseConstDirectives(),a=this.parseFieldsDefinition();return this.node(t,{kind:c.INTERFACE_TYPE_DEFINITION,description:n,name:r,interfaces:i,directives:s,fields:a})}parseUnionTypeDefinition(){let t=this._lexer.token,n=this.parseDescription();this.expectKeyword("union");let r=this.parseName(),i=this.parseConstDirectives(),s=this.parseUnionMemberTypes();return this.node(t,{kind:c.UNION_TYPE_DEFINITION,description:n,name:r,directives:i,types:s})}parseUnionMemberTypes(){return this.expectOptionalToken(o.EQUALS)?this.delimitedMany(o.PIPE,this.parseNamedType):[]}parseEnumTypeDefinition(){let t=this._lexer.token,n=this.parseDescription();this.expectKeyword("enum");let r=this.parseName(),i=this.parseConstDirectives(),s=this.parseEnumValuesDefinition();return this.node(t,{kind:c.ENUM_TYPE_DEFINITION,description:n,name:r,directives:i,values:s})}parseEnumValuesDefinition(){return this.optionalMany(o.BRACE_L,this.parseEnumValueDefinition,o.BRACE_R)}parseEnumValueDefinition(){let t=this._lexer.token,n=this.parseDescription(),r=this.parseEnumValueName(),i=this.parseConstDirectives();return this.node(t,{kind:c.ENUM_VALUE_DEFINITION,description:n,name:r,directives:i})}parseEnumValueName(){if(this._lexer.token.value==="true"||this._lexer.token.value==="false"||this._lexer.token.value==="null")throw d(this._lexer.source,this._lexer.token.start,`${ne(this._lexer.token)} is reserved and cannot be used for an enum value.`);return this.parseName()}parseInputObjectTypeDefinition(){let t=this._lexer.token,n=this.parseDescription();this.expectKeyword("input");let r=this.parseName(),i=this.parseConstDirectives(),s=this.parseInputFieldsDefinition();return this.node(t,{kind:c.INPUT_OBJECT_TYPE_DEFINITION,description:n,name:r,directives:i,fields:s})}parseInputFieldsDefinition(){return this.optionalMany(o.BRACE_L,this.parseInputValueDef,o.BRACE_R)}parseTypeSystemExtension(){let t=this._lexer.lookahead();if(t.kind===o.NAME)switch(t.value){case"schema":return this.parseSchemaExtension();case"scalar":return this.parseScalarTypeExtension();case"type":return this.parseObjectTypeExtension();case"interface":return this.parseInterfaceTypeExtension();case"union":return this.parseUnionTypeExtension();case"enum":return this.parseEnumTypeExtension();case"input":return this.parseInputObjectTypeExtension()}throw this.unexpected(t)}parseSchemaExtension(){let t=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("schema");let n=this.parseConstDirectives(),r=this.optionalMany(o.BRACE_L,this.parseOperationTypeDefinition,o.BRACE_R);if(n.length===0&&r.length===0)throw this.unexpected();return this.node(t,{kind:c.SCHEMA_EXTENSION,directives:n,operationTypes:r})}parseScalarTypeExtension(){let t=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("scalar");let n=this.parseName(),r=this.parseConstDirectives();if(r.length===0)throw this.unexpected();return this.node(t,{kind:c.SCALAR_TYPE_EXTENSION,name:n,directives:r})}parseObjectTypeExtension(){let t=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("type");let n=this.parseName(),r=this.parseImplementsInterfaces(),i=this.parseConstDirectives(),s=this.parseFieldsDefinition();if(r.length===0&&i.length===0&&s.length===0)throw this.unexpected();return this.node(t,{kind:c.OBJECT_TYPE_EXTENSION,name:n,interfaces:r,directives:i,fields:s})}parseInterfaceTypeExtension(){let t=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("interface");let n=this.parseName(),r=this.parseImplementsInterfaces(),i=this.parseConstDirectives(),s=this.parseFieldsDefinition();if(r.length===0&&i.length===0&&s.length===0)throw this.unexpected();return this.node(t,{kind:c.INTERFACE_TYPE_EXTENSION,name:n,interfaces:r,directives:i,fields:s})}parseUnionTypeExtension(){let t=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("union");let n=this.parseName(),r=this.parseConstDirectives(),i=this.parseUnionMemberTypes();if(r.length===0&&i.length===0)throw this.unexpected();return this.node(t,{kind:c.UNION_TYPE_EXTENSION,name:n,directives:r,types:i})}parseEnumTypeExtension(){let t=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("enum");let n=this.parseName(),r=this.parseConstDirectives(),i=this.parseEnumValuesDefinition();if(r.length===0&&i.length===0)throw this.unexpected();return this.node(t,{kind:c.ENUM_TYPE_EXTENSION,name:n,directives:r,values:i})}parseInputObjectTypeExtension(){let t=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("input");let n=this.parseName(),r=this.parseConstDirectives(),i=this.parseInputFieldsDefinition();if(r.length===0&&i.length===0)throw this.unexpected();return this.node(t,{kind:c.INPUT_OBJECT_TYPE_EXTENSION,name:n,directives:r,fields:i})}parseDirectiveDefinition(){let t=this._lexer.token,n=this.parseDescription();this.expectKeyword("directive"),this.expectToken(o.AT);let r=this.parseName(),i=this.parseArgumentDefs(),s=this.expectOptionalKeyword("repeatable");this.expectKeyword("on");let a=this.parseDirectiveLocations();return this.node(t,{kind:c.DIRECTIVE_DEFINITION,description:n,name:r,arguments:i,repeatable:s,locations:a})}parseDirectiveLocations(){return this.delimitedMany(o.PIPE,this.parseDirectiveLocation)}parseDirectiveLocation(){let t=this._lexer.token,n=this.parseName();if(Object.prototype.hasOwnProperty.call(H,n.value))return n;throw this.unexpected(t)}node(t,n){return this._options.noLocation!==!0&&(n.loc=new q(t,this._lexer.lastToken,this._lexer.source)),n}peek(t){return this._lexer.token.kind===t}expectToken(t){let n=this._lexer.token;if(n.kind===t)return this.advanceLexer(),n;throw d(this._lexer.source,n.start,`Expected ${He(t)}, found ${ne(n)}.`)}expectOptionalToken(t){return this._lexer.token.kind===t?(this.advanceLexer(),!0):!1}expectKeyword(t){let n=this._lexer.token;if(n.kind===o.NAME&&n.value===t)this.advanceLexer();else throw d(this._lexer.source,n.start,`Expected "${t}", found ${ne(n)}.`)}expectOptionalKeyword(t){let n=this._lexer.token;return n.kind===o.NAME&&n.value===t?(this.advanceLexer(),!0):!1}unexpected(t){let n=t??this._lexer.token;return d(this._lexer.source,n.start,`Unexpected ${ne(n)}.`)}any(t,n,r){this.expectToken(t);let i=[];for(;!this.expectOptionalToken(r);)i.push(n.call(this));return i}optionalMany(t,n,r){if(this.expectOptionalToken(t)){let i=[];do i.push(n.call(this));while(!this.expectOptionalToken(r));return i}return[]}many(t,n,r){this.expectToken(t);let i=[];do i.push(n.call(this));while(!this.expectOptionalToken(r));return i}delimitedMany(t,n){this.expectOptionalToken(t);let r=[];do r.push(n.call(this));while(this.expectOptionalToken(t));return r}advanceLexer(){let{maxTokens:t}=this._options,n=this._lexer.advance();if(t!==void 0&&n.kind!==o.EOF&&(++this._tokenCounter,this._tokenCounter>t))throw d(this._lexer.source,n.start,`Document contains more that ${t} tokens. Parsing aborted.`)}};function ne(e){let t=e.value;return He(e.kind)+(t!=null?` "${t}"`:"")}function He(e){return $e(e)?`"${e}"`:e}function en(e,t){let n=new SyntaxError(e+" ("+t.loc.start.line+":"+t.loc.start.column+")");return Object.assign(n,t)}var ze=en;function tn(e){let t=[],{startToken:n,endToken:r}=e.loc;for(let i=n;i!==r;i=i.next)i.kind==="Comment"&&t.push(i);return t}var nn={allowLegacyFragmentVariables:!0};function rn(e){if((e==null?void 0:e.name)==="GraphQLError"){let{message:t,locations:[n]}=e;return ze(t,{loc:{start:n},cause:e})}return e}function sn(e){let t;try{t=We(e,nn)}catch(n){throw rn(n)}return t.comments=tn(t),t}var on={parse:sn,astFormat:"graphql",hasPragma:ke,locStart:J,locEnd:X};var Ke=[{linguistLanguageId:139,name:"GraphQL",type:"data",color:"#e10098",extensions:[".graphql",".gql",".graphqls"],tmScope:"source.graphql",aceMode:"text",parsers:["graphql"],vscodeLanguageIds:["graphql"]}];var Ze={bracketSpacing:{category:"Common",type:"boolean",default:!0,description:"Print spaces between brackets.",oppositeDescription:"Do not print spaces between brackets."},singleQuote:{category:"Common",type:"boolean",default:!1,description:"Use single quotes instead of double quotes."},proseWrap:{category:"Common",type:"choice",default:"preserve",description:"How to wrap prose.",choices:[{value:"always",description:"Wrap prose if it exceeds the print width."},{value:"never",description:"Do not wrap prose."},{value:"preserve",description:"Wrap prose as-is."}]},bracketSameLine:{category:"Common",type:"boolean",default:!1,description:"Put > of opening tags on the last line instead of on a new line."},singleAttributePerLine:{category:"Common",type:"boolean",default:!1,description:"Enforce single attribute per line in HTML, Vue and JSX."}};var an={bracketSpacing:Ze.bracketSpacing},et=an;var cn={graphql:Re};return st(un);}); \ No newline at end of file +spurious results.`)}}return!1};var M=class{constructor(t,n="GraphQL request",r={line:1,column:1}){typeof t=="string"||Z(!1,`Body must be a string. Received: ${ee(t)}.`),this.body=t,this.name=n,this.locationOffset=r,this.locationOffset.line>0||Z(!1,"line in locationOffset is 1-indexed and must be positive."),this.locationOffset.column>0||Z(!1,"column in locationOffset is 1-indexed and must be positive.")}get[Symbol.toStringTag](){return"Source"}};function ze(e){return He(e,M)}function Ke(e,t){return new Ee(e,t).parseDocument()}var Ee=class{constructor(t,n={}){let r=ze(t)?t:new M(t);this._lexer=new z(r),this._options=n,this._tokenCounter=0}parseName(){let t=this.expectToken(o.NAME);return this.node(t,{kind:c.NAME,value:t.value})}parseDocument(){return this.node(this._lexer.token,{kind:c.DOCUMENT,definitions:this.many(o.SOF,this.parseDefinition,o.EOF)})}parseDefinition(){if(this.peek(o.BRACE_L))return this.parseOperationDefinition();let t=this.peekDescription(),n=t?this._lexer.lookahead():this._lexer.token;if(n.kind===o.NAME){switch(n.value){case"schema":return this.parseSchemaDefinition();case"scalar":return this.parseScalarTypeDefinition();case"type":return this.parseObjectTypeDefinition();case"interface":return this.parseInterfaceTypeDefinition();case"union":return this.parseUnionTypeDefinition();case"enum":return this.parseEnumTypeDefinition();case"input":return this.parseInputObjectTypeDefinition();case"directive":return this.parseDirectiveDefinition()}if(t)throw d(this._lexer.source,this._lexer.token.start,"Unexpected description, descriptions are supported only on type definitions.");switch(n.value){case"query":case"mutation":case"subscription":return this.parseOperationDefinition();case"fragment":return this.parseFragmentDefinition();case"extend":return this.parseTypeSystemExtension()}}throw this.unexpected(n)}parseOperationDefinition(){let t=this._lexer.token;if(this.peek(o.BRACE_L))return this.node(t,{kind:c.OPERATION_DEFINITION,operation:S.QUERY,name:void 0,variableDefinitions:[],directives:[],selectionSet:this.parseSelectionSet()});let n=this.parseOperationType(),r;return this.peek(o.NAME)&&(r=this.parseName()),this.node(t,{kind:c.OPERATION_DEFINITION,operation:n,name:r,variableDefinitions:this.parseVariableDefinitions(),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet()})}parseOperationType(){let t=this.expectToken(o.NAME);switch(t.value){case"query":return S.QUERY;case"mutation":return S.MUTATION;case"subscription":return S.SUBSCRIPTION}throw this.unexpected(t)}parseVariableDefinitions(){return this.optionalMany(o.PAREN_L,this.parseVariableDefinition,o.PAREN_R)}parseVariableDefinition(){return this.node(this._lexer.token,{kind:c.VARIABLE_DEFINITION,variable:this.parseVariable(),type:(this.expectToken(o.COLON),this.parseTypeReference()),defaultValue:this.expectOptionalToken(o.EQUALS)?this.parseConstValueLiteral():void 0,directives:this.parseConstDirectives()})}parseVariable(){let t=this._lexer.token;return this.expectToken(o.DOLLAR),this.node(t,{kind:c.VARIABLE,name:this.parseName()})}parseSelectionSet(){return this.node(this._lexer.token,{kind:c.SELECTION_SET,selections:this.many(o.BRACE_L,this.parseSelection,o.BRACE_R)})}parseSelection(){return this.peek(o.SPREAD)?this.parseFragment():this.parseField()}parseField(){let t=this._lexer.token,n=this.parseName(),r,i;return this.expectOptionalToken(o.COLON)?(r=n,i=this.parseName()):i=n,this.node(t,{kind:c.FIELD,alias:r,name:i,arguments:this.parseArguments(!1),directives:this.parseDirectives(!1),selectionSet:this.peek(o.BRACE_L)?this.parseSelectionSet():void 0})}parseArguments(t){let n=t?this.parseConstArgument:this.parseArgument;return this.optionalMany(o.PAREN_L,n,o.PAREN_R)}parseArgument(t=!1){let n=this._lexer.token,r=this.parseName();return this.expectToken(o.COLON),this.node(n,{kind:c.ARGUMENT,name:r,value:this.parseValueLiteral(t)})}parseConstArgument(){return this.parseArgument(!0)}parseFragment(){let t=this._lexer.token;this.expectToken(o.SPREAD);let n=this.expectOptionalKeyword("on");return!n&&this.peek(o.NAME)?this.node(t,{kind:c.FRAGMENT_SPREAD,name:this.parseFragmentName(),directives:this.parseDirectives(!1)}):this.node(t,{kind:c.INLINE_FRAGMENT,typeCondition:n?this.parseNamedType():void 0,directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet()})}parseFragmentDefinition(){let t=this._lexer.token;return this.expectKeyword("fragment"),this._options.allowLegacyFragmentVariables===!0?this.node(t,{kind:c.FRAGMENT_DEFINITION,name:this.parseFragmentName(),variableDefinitions:this.parseVariableDefinitions(),typeCondition:(this.expectKeyword("on"),this.parseNamedType()),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet()}):this.node(t,{kind:c.FRAGMENT_DEFINITION,name:this.parseFragmentName(),typeCondition:(this.expectKeyword("on"),this.parseNamedType()),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet()})}parseFragmentName(){if(this._lexer.token.value==="on")throw this.unexpected();return this.parseName()}parseValueLiteral(t){let n=this._lexer.token;switch(n.kind){case o.BRACKET_L:return this.parseList(t);case o.BRACE_L:return this.parseObject(t);case o.INT:return this.advanceLexer(),this.node(n,{kind:c.INT,value:n.value});case o.FLOAT:return this.advanceLexer(),this.node(n,{kind:c.FLOAT,value:n.value});case o.STRING:case o.BLOCK_STRING:return this.parseStringLiteral();case o.NAME:switch(this.advanceLexer(),n.value){case"true":return this.node(n,{kind:c.BOOLEAN,value:!0});case"false":return this.node(n,{kind:c.BOOLEAN,value:!1});case"null":return this.node(n,{kind:c.NULL});default:return this.node(n,{kind:c.ENUM,value:n.value})}case o.DOLLAR:if(t)if(this.expectToken(o.DOLLAR),this._lexer.token.kind===o.NAME){let r=this._lexer.token.value;throw d(this._lexer.source,n.start,`Unexpected variable "$${r}" in constant value.`)}else throw this.unexpected(n);return this.parseVariable();default:throw this.unexpected()}}parseConstValueLiteral(){return this.parseValueLiteral(!0)}parseStringLiteral(){let t=this._lexer.token;return this.advanceLexer(),this.node(t,{kind:c.STRING,value:t.value,block:t.kind===o.BLOCK_STRING})}parseList(t){let n=()=>this.parseValueLiteral(t);return this.node(this._lexer.token,{kind:c.LIST,values:this.any(o.BRACKET_L,n,o.BRACKET_R)})}parseObject(t){let n=()=>this.parseObjectField(t);return this.node(this._lexer.token,{kind:c.OBJECT,fields:this.any(o.BRACE_L,n,o.BRACE_R)})}parseObjectField(t){let n=this._lexer.token,r=this.parseName();return this.expectToken(o.COLON),this.node(n,{kind:c.OBJECT_FIELD,name:r,value:this.parseValueLiteral(t)})}parseDirectives(t){let n=[];for(;this.peek(o.AT);)n.push(this.parseDirective(t));return n}parseConstDirectives(){return this.parseDirectives(!0)}parseDirective(t){let n=this._lexer.token;return this.expectToken(o.AT),this.node(n,{kind:c.DIRECTIVE,name:this.parseName(),arguments:this.parseArguments(t)})}parseTypeReference(){let t=this._lexer.token,n;if(this.expectOptionalToken(o.BRACKET_L)){let r=this.parseTypeReference();this.expectToken(o.BRACKET_R),n=this.node(t,{kind:c.LIST_TYPE,type:r})}else n=this.parseNamedType();return this.expectOptionalToken(o.BANG)?this.node(t,{kind:c.NON_NULL_TYPE,type:n}):n}parseNamedType(){return this.node(this._lexer.token,{kind:c.NAMED_TYPE,name:this.parseName()})}peekDescription(){return this.peek(o.STRING)||this.peek(o.BLOCK_STRING)}parseDescription(){if(this.peekDescription())return this.parseStringLiteral()}parseSchemaDefinition(){let t=this._lexer.token,n=this.parseDescription();this.expectKeyword("schema");let r=this.parseConstDirectives(),i=this.many(o.BRACE_L,this.parseOperationTypeDefinition,o.BRACE_R);return this.node(t,{kind:c.SCHEMA_DEFINITION,description:n,directives:r,operationTypes:i})}parseOperationTypeDefinition(){let t=this._lexer.token,n=this.parseOperationType();this.expectToken(o.COLON);let r=this.parseNamedType();return this.node(t,{kind:c.OPERATION_TYPE_DEFINITION,operation:n,type:r})}parseScalarTypeDefinition(){let t=this._lexer.token,n=this.parseDescription();this.expectKeyword("scalar");let r=this.parseName(),i=this.parseConstDirectives();return this.node(t,{kind:c.SCALAR_TYPE_DEFINITION,description:n,name:r,directives:i})}parseObjectTypeDefinition(){let t=this._lexer.token,n=this.parseDescription();this.expectKeyword("type");let r=this.parseName(),i=this.parseImplementsInterfaces(),s=this.parseConstDirectives(),a=this.parseFieldsDefinition();return this.node(t,{kind:c.OBJECT_TYPE_DEFINITION,description:n,name:r,interfaces:i,directives:s,fields:a})}parseImplementsInterfaces(){return this.expectOptionalKeyword("implements")?this.delimitedMany(o.AMP,this.parseNamedType):[]}parseFieldsDefinition(){return this.optionalMany(o.BRACE_L,this.parseFieldDefinition,o.BRACE_R)}parseFieldDefinition(){let t=this._lexer.token,n=this.parseDescription(),r=this.parseName(),i=this.parseArgumentDefs();this.expectToken(o.COLON);let s=this.parseTypeReference(),a=this.parseConstDirectives();return this.node(t,{kind:c.FIELD_DEFINITION,description:n,name:r,arguments:i,type:s,directives:a})}parseArgumentDefs(){return this.optionalMany(o.PAREN_L,this.parseInputValueDef,o.PAREN_R)}parseInputValueDef(){let t=this._lexer.token,n=this.parseDescription(),r=this.parseName();this.expectToken(o.COLON);let i=this.parseTypeReference(),s;this.expectOptionalToken(o.EQUALS)&&(s=this.parseConstValueLiteral());let a=this.parseConstDirectives();return this.node(t,{kind:c.INPUT_VALUE_DEFINITION,description:n,name:r,type:i,defaultValue:s,directives:a})}parseInterfaceTypeDefinition(){let t=this._lexer.token,n=this.parseDescription();this.expectKeyword("interface");let r=this.parseName(),i=this.parseImplementsInterfaces(),s=this.parseConstDirectives(),a=this.parseFieldsDefinition();return this.node(t,{kind:c.INTERFACE_TYPE_DEFINITION,description:n,name:r,interfaces:i,directives:s,fields:a})}parseUnionTypeDefinition(){let t=this._lexer.token,n=this.parseDescription();this.expectKeyword("union");let r=this.parseName(),i=this.parseConstDirectives(),s=this.parseUnionMemberTypes();return this.node(t,{kind:c.UNION_TYPE_DEFINITION,description:n,name:r,directives:i,types:s})}parseUnionMemberTypes(){return this.expectOptionalToken(o.EQUALS)?this.delimitedMany(o.PIPE,this.parseNamedType):[]}parseEnumTypeDefinition(){let t=this._lexer.token,n=this.parseDescription();this.expectKeyword("enum");let r=this.parseName(),i=this.parseConstDirectives(),s=this.parseEnumValuesDefinition();return this.node(t,{kind:c.ENUM_TYPE_DEFINITION,description:n,name:r,directives:i,values:s})}parseEnumValuesDefinition(){return this.optionalMany(o.BRACE_L,this.parseEnumValueDefinition,o.BRACE_R)}parseEnumValueDefinition(){let t=this._lexer.token,n=this.parseDescription(),r=this.parseEnumValueName(),i=this.parseConstDirectives();return this.node(t,{kind:c.ENUM_VALUE_DEFINITION,description:n,name:r,directives:i})}parseEnumValueName(){if(this._lexer.token.value==="true"||this._lexer.token.value==="false"||this._lexer.token.value==="null")throw d(this._lexer.source,this._lexer.token.start,`${ne(this._lexer.token)} is reserved and cannot be used for an enum value.`);return this.parseName()}parseInputObjectTypeDefinition(){let t=this._lexer.token,n=this.parseDescription();this.expectKeyword("input");let r=this.parseName(),i=this.parseConstDirectives(),s=this.parseInputFieldsDefinition();return this.node(t,{kind:c.INPUT_OBJECT_TYPE_DEFINITION,description:n,name:r,directives:i,fields:s})}parseInputFieldsDefinition(){return this.optionalMany(o.BRACE_L,this.parseInputValueDef,o.BRACE_R)}parseTypeSystemExtension(){let t=this._lexer.lookahead();if(t.kind===o.NAME)switch(t.value){case"schema":return this.parseSchemaExtension();case"scalar":return this.parseScalarTypeExtension();case"type":return this.parseObjectTypeExtension();case"interface":return this.parseInterfaceTypeExtension();case"union":return this.parseUnionTypeExtension();case"enum":return this.parseEnumTypeExtension();case"input":return this.parseInputObjectTypeExtension()}throw this.unexpected(t)}parseSchemaExtension(){let t=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("schema");let n=this.parseConstDirectives(),r=this.optionalMany(o.BRACE_L,this.parseOperationTypeDefinition,o.BRACE_R);if(n.length===0&&r.length===0)throw this.unexpected();return this.node(t,{kind:c.SCHEMA_EXTENSION,directives:n,operationTypes:r})}parseScalarTypeExtension(){let t=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("scalar");let n=this.parseName(),r=this.parseConstDirectives();if(r.length===0)throw this.unexpected();return this.node(t,{kind:c.SCALAR_TYPE_EXTENSION,name:n,directives:r})}parseObjectTypeExtension(){let t=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("type");let n=this.parseName(),r=this.parseImplementsInterfaces(),i=this.parseConstDirectives(),s=this.parseFieldsDefinition();if(r.length===0&&i.length===0&&s.length===0)throw this.unexpected();return this.node(t,{kind:c.OBJECT_TYPE_EXTENSION,name:n,interfaces:r,directives:i,fields:s})}parseInterfaceTypeExtension(){let t=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("interface");let n=this.parseName(),r=this.parseImplementsInterfaces(),i=this.parseConstDirectives(),s=this.parseFieldsDefinition();if(r.length===0&&i.length===0&&s.length===0)throw this.unexpected();return this.node(t,{kind:c.INTERFACE_TYPE_EXTENSION,name:n,interfaces:r,directives:i,fields:s})}parseUnionTypeExtension(){let t=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("union");let n=this.parseName(),r=this.parseConstDirectives(),i=this.parseUnionMemberTypes();if(r.length===0&&i.length===0)throw this.unexpected();return this.node(t,{kind:c.UNION_TYPE_EXTENSION,name:n,directives:r,types:i})}parseEnumTypeExtension(){let t=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("enum");let n=this.parseName(),r=this.parseConstDirectives(),i=this.parseEnumValuesDefinition();if(r.length===0&&i.length===0)throw this.unexpected();return this.node(t,{kind:c.ENUM_TYPE_EXTENSION,name:n,directives:r,values:i})}parseInputObjectTypeExtension(){let t=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("input");let n=this.parseName(),r=this.parseConstDirectives(),i=this.parseInputFieldsDefinition();if(r.length===0&&i.length===0)throw this.unexpected();return this.node(t,{kind:c.INPUT_OBJECT_TYPE_EXTENSION,name:n,directives:r,fields:i})}parseDirectiveDefinition(){let t=this._lexer.token,n=this.parseDescription();this.expectKeyword("directive"),this.expectToken(o.AT);let r=this.parseName(),i=this.parseArgumentDefs(),s=this.expectOptionalKeyword("repeatable");this.expectKeyword("on");let a=this.parseDirectiveLocations();return this.node(t,{kind:c.DIRECTIVE_DEFINITION,description:n,name:r,arguments:i,repeatable:s,locations:a})}parseDirectiveLocations(){return this.delimitedMany(o.PIPE,this.parseDirectiveLocation)}parseDirectiveLocation(){let t=this._lexer.token,n=this.parseName();if(Object.prototype.hasOwnProperty.call(H,n.value))return n;throw this.unexpected(t)}node(t,n){return this._options.noLocation!==!0&&(n.loc=new J(t,this._lexer.lastToken,this._lexer.source)),n}peek(t){return this._lexer.token.kind===t}expectToken(t){let n=this._lexer.token;if(n.kind===t)return this.advanceLexer(),n;throw d(this._lexer.source,n.start,`Expected ${Ze(t)}, found ${ne(n)}.`)}expectOptionalToken(t){return this._lexer.token.kind===t?(this.advanceLexer(),!0):!1}expectKeyword(t){let n=this._lexer.token;if(n.kind===o.NAME&&n.value===t)this.advanceLexer();else throw d(this._lexer.source,n.start,`Expected "${t}", found ${ne(n)}.`)}expectOptionalKeyword(t){let n=this._lexer.token;return n.kind===o.NAME&&n.value===t?(this.advanceLexer(),!0):!1}unexpected(t){let n=t??this._lexer.token;return d(this._lexer.source,n.start,`Unexpected ${ne(n)}.`)}any(t,n,r){this.expectToken(t);let i=[];for(;!this.expectOptionalToken(r);)i.push(n.call(this));return i}optionalMany(t,n,r){if(this.expectOptionalToken(t)){let i=[];do i.push(n.call(this));while(!this.expectOptionalToken(r));return i}return[]}many(t,n,r){this.expectToken(t);let i=[];do i.push(n.call(this));while(!this.expectOptionalToken(r));return i}delimitedMany(t,n){this.expectOptionalToken(t);let r=[];do r.push(n.call(this));while(this.expectOptionalToken(t));return r}advanceLexer(){let{maxTokens:t}=this._options,n=this._lexer.advance();if(t!==void 0&&n.kind!==o.EOF&&(++this._tokenCounter,this._tokenCounter>t))throw d(this._lexer.source,n.start,`Document contains more that ${t} tokens. Parsing aborted.`)}};function ne(e){let t=e.value;return Ze(e.kind)+(t!=null?` "${t}"`:"")}function Ze(e){return qe(e)?`"${e}"`:e}function nn(e,t){let n=new SyntaxError(e+" ("+t.loc.start.line+":"+t.loc.start.column+")");return Object.assign(n,t)}var et=nn;function rn(e){let t=[],{startToken:n,endToken:r}=e.loc;for(let i=n;i!==r;i=i.next)i.kind==="Comment"&&t.push({...i,loc:{start:i.start,end:i.end}});return t}var sn={allowLegacyFragmentVariables:!0};function on(e){if((e==null?void 0:e.name)==="GraphQLError"){let{message:t,locations:[n]}=e;return et(t,{loc:{start:n},cause:e})}return e}function an(e){let t;try{t=Ke(e,sn)}catch(n){throw on(n)}return t.comments=rn(t),t}var cn={parse:an,astFormat:"graphql",hasPragma:Ce,locStart:q,locEnd:Q};var un={graphql:Re};return st(ln);}); \ No newline at end of file diff --git a/node_modules/prettier/plugins/graphql.mjs b/node_modules/prettier/plugins/graphql.mjs index e504feffba..f83b12c109 100644 --- a/node_modules/prettier/plugins/graphql.mjs +++ b/node_modules/prettier/plugins/graphql.mjs @@ -1,21 +1,21 @@ -var tt=Object.defineProperty;var Ne=(e,t)=>{for(var n in t)tt(e,n,{get:t[n],enumerable:!0})};var Te={};Ne(Te,{languages:()=>Ke,options:()=>et,parsers:()=>ie,printers:()=>rn});var nt=(e,t,n,r)=>{if(!(e&&t==null))return t.replaceAll?t.replaceAll(n,r):n.global?t.replace(n,r):t.split(n).join(r)},Y=nt;var se="indent";var oe="group";var ae="if-break";var P="line";var ce="break-parent";var xe=()=>{},b=xe,ue=xe;function x(e){return b(e),{type:se,contents:e}}function y(e,t={}){return b(e),ue(t.expandedStates,!0),{type:oe,id:t.id,contents:e,break:!!t.shouldBreak,expandedStates:t.expandedStates}}function O(e,t="",n={}){return b(e),t!==""&&b(t),{type:ae,breakContents:e,flatContents:t,groupId:n.groupId}}var mt={type:ce};var Et={type:P,hard:!0};var k={type:P},p={type:P,soft:!0},f=[Et,mt];function E(e,t){b(e),ue(t);let n=[];for(let r=0;r{for(var n in t)tt(e,n,{get:t[n],enumerable:!0})};var Te={};Ne(Te,{languages:()=>Pe,options:()=>we,parsers:()=>Ee,printers:()=>sn});var nt=(e,t,n,r)=>{if(!(e&&t==null))return t.replaceAll?t.replaceAll(n,r):n.global?t.replace(n,r):t.split(n).join(r)},Y=nt;var re="indent";var se="group";var oe="if-break";var P="line";var ae="break-parent";var xe=()=>{},b=xe,ce=xe;function x(e){return b(e),{type:re,contents:e}}function y(e,t={}){return b(e),ce(t.expandedStates,!0),{type:se,id:t.id,contents:e,break:!!t.shouldBreak,expandedStates:t.expandedStates}}function O(e,t="",n={}){return b(e),t!==""&&b(t),{type:oe,breakContents:e,flatContents:t,groupId:n.groupId}}var mt={type:ae};var Et={type:P,hard:!0};var k={type:P},p={type:P,soft:!0},f=[Et,mt];function E(e,t){b(e),ce(t);let n=[];for(let r=0;r{let i=!!(r!=null&&r.backwards);if(n===!1)return!1;let{length:s}=t,a=n;for(;a>=0&&a{let i=!!(r!=null&&r.backwards);if(n===!1)return!1;let{length:s}=t,a=n;for(;a>=0&&a0}var le=It;var pe=class extends Error{name="UnexpectedNodeError";constructor(t,n,r="type"){super(`Unexpected ${n} node ${r}: ${JSON.stringify(t[r])}.`),this.node=t}},Ae=pe;function ke(e){return/^\s*#[^\S\n]*@(?:format|prettier)\s*(?:\n|$)/.test(e)}function Ce(e){return`# @format +`||i==="\r"||i==="\u2028"||i==="\u2029")return t+1}return t}var $=Tt;function Nt(e,t,n={}){let r=G(e,n.backwards?t-1:t,n),i=$(e,r,n);return r!==i}var Ie=Nt;function xt(e,t){if(t===!1)return!1;if(e.charAt(t)==="/"&&e.charAt(t+1)==="*"){for(let n=t+2;n0}var ue=It;var le=class extends Error{name="UnexpectedNodeError";constructor(t,n,r="type"){super(`Unexpected ${n} node ${r}: ${JSON.stringify(t[r])}.`),this.node=t}},ge=le;var F=null;function w(e){if(F!==null&&typeof F.property){let t=F;return F=w.prototype=null,t}return F=w.prototype=e??Object.create(null),new w}var Ot=10;for(let e=0;e<=Ot;e++)w();function pe(e){return w(e)}function Dt(e,t="type"){pe(e);function n(r){let i=r[t],s=e[i];if(!Array.isArray(s))throw Object.assign(new Error(`Missing visitor keys for '${i}'.`),{node:r});return s}return n}var ke=Dt;var J=class{constructor(t,n,r){this.start=t.start,this.end=n.end,this.startToken=t,this.endToken=n,this.source=r}get[Symbol.toStringTag](){return"Location"}toJSON(){return{start:this.start,end:this.end}}},V=class{constructor(t,n,r,i,s,a){this.kind=t,this.start=n,this.end=r,this.line=i,this.column=s,this.value=a,this.prev=null,this.next=null}get[Symbol.toStringTag](){return"Token"}toJSON(){return{kind:this.kind,value:this.value,line:this.line,column:this.column}}},X={Name:[],Document:["definitions"],OperationDefinition:["name","variableDefinitions","directives","selectionSet"],VariableDefinition:["variable","type","defaultValue","directives"],Variable:["name"],SelectionSet:["selections"],Field:["alias","name","arguments","directives","selectionSet"],Argument:["name","value"],FragmentSpread:["name","directives"],InlineFragment:["typeCondition","directives","selectionSet"],FragmentDefinition:["name","variableDefinitions","typeCondition","directives","selectionSet"],IntValue:[],FloatValue:[],StringValue:[],BooleanValue:[],NullValue:[],EnumValue:[],ListValue:["values"],ObjectValue:["fields"],ObjectField:["name","value"],Directive:["name","arguments"],NamedType:["name"],ListType:["type"],NonNullType:["type"],SchemaDefinition:["description","directives","operationTypes"],OperationTypeDefinition:["type"],ScalarTypeDefinition:["description","name","directives"],ObjectTypeDefinition:["description","name","interfaces","directives","fields"],FieldDefinition:["description","name","arguments","type","directives"],InputValueDefinition:["description","name","type","defaultValue","directives"],InterfaceTypeDefinition:["description","name","interfaces","directives","fields"],UnionTypeDefinition:["description","name","directives","types"],EnumTypeDefinition:["description","name","directives","values"],EnumValueDefinition:["description","name","directives"],InputObjectTypeDefinition:["description","name","directives","fields"],DirectiveDefinition:["description","name","arguments","locations"],SchemaExtension:["directives","operationTypes"],ScalarTypeExtension:["name","directives"],ObjectTypeExtension:["name","interfaces","directives","fields"],InterfaceTypeExtension:["name","interfaces","directives","fields"],UnionTypeExtension:["name","directives","types"],EnumTypeExtension:["name","directives","values"],InputObjectTypeExtension:["name","directives","fields"]},Jn=new Set(Object.keys(X));var S;(function(e){e.QUERY="query",e.MUTATION="mutation",e.SUBSCRIPTION="subscription"})(S||(S={}));var At=ke(X,"kind"),Se=At;function q(e){return e.loc.start}function Q(e){return e.loc.end}function Ce(e){return/^\s*#[^\S\n]*@(?:format|prettier)\s*(?:\n|$)/u.test(e)}function ve(e){return`# @format -`+e}function J(e){return e.kind==="Comment"?e.start:e.loc.start}function X(e){return e.kind==="Comment"?e.end:e.loc.end}var F=null;function w(e){if(F!==null&&typeof F.property){let t=F;return F=w.prototype=null,t}return F=w.prototype=e??Object.create(null),new w}var Ot=10;for(let e=0;e<=Ot;e++)w();function fe(e){return w(e)}function Dt(e,t="type"){fe(e);function n(r){let i=r[t],s=e[i];if(!Array.isArray(s))throw Object.assign(new Error(`Missing visitor keys for '${i}'.`),{node:r});return s}return n}var Se=Dt;var q=class{constructor(t,n,r){this.start=t.start,this.end=n.end,this.startToken=t,this.endToken=n,this.source=r}get[Symbol.toStringTag](){return"Location"}toJSON(){return{start:this.start,end:this.end}}},V=class{constructor(t,n,r,i,s,a){this.kind=t,this.start=n,this.end=r,this.line=i,this.column=s,this.value=a,this.prev=null,this.next=null}get[Symbol.toStringTag](){return"Token"}toJSON(){return{kind:this.kind,value:this.value,line:this.line,column:this.column}}},Q={Name:[],Document:["definitions"],OperationDefinition:["name","variableDefinitions","directives","selectionSet"],VariableDefinition:["variable","type","defaultValue","directives"],Variable:["name"],SelectionSet:["selections"],Field:["alias","name","arguments","directives","selectionSet"],Argument:["name","value"],FragmentSpread:["name","directives"],InlineFragment:["typeCondition","directives","selectionSet"],FragmentDefinition:["name","variableDefinitions","typeCondition","directives","selectionSet"],IntValue:[],FloatValue:[],StringValue:[],BooleanValue:[],NullValue:[],EnumValue:[],ListValue:["values"],ObjectValue:["fields"],ObjectField:["name","value"],Directive:["name","arguments"],NamedType:["name"],ListType:["type"],NonNullType:["type"],SchemaDefinition:["description","directives","operationTypes"],OperationTypeDefinition:["type"],ScalarTypeDefinition:["description","name","directives"],ObjectTypeDefinition:["description","name","interfaces","directives","fields"],FieldDefinition:["description","name","arguments","type","directives"],InputValueDefinition:["description","name","type","defaultValue","directives"],InterfaceTypeDefinition:["description","name","interfaces","directives","fields"],UnionTypeDefinition:["description","name","directives","types"],EnumTypeDefinition:["description","name","directives","values"],EnumValueDefinition:["description","name","directives"],InputObjectTypeDefinition:["description","name","directives","fields"],DirectiveDefinition:["description","name","arguments","locations"],SchemaExtension:["directives","operationTypes"],ScalarTypeExtension:["name","directives"],ObjectTypeExtension:["name","interfaces","directives","fields"],InterfaceTypeExtension:["name","interfaces","directives","fields"],UnionTypeExtension:["name","directives","types"],EnumTypeExtension:["name","directives","values"],InputObjectTypeExtension:["name","directives","fields"]},Xn=new Set(Object.keys(Q));var C;(function(e){e.QUERY="query",e.MUTATION="mutation",e.SUBSCRIPTION="subscription"})(C||(C={}));var gt=Se(Q,"kind"),ve=gt;function At(e,t,n){let{node:r}=e;if(!r.description)return"";let i=[n("description")];return r.kind==="InputValueDefinition"&&!r.description.block?i.push(k):i.push(f),i}var g=At;function kt(e,t,n){let{node:r}=e;switch(r.kind){case"Document":return[...E(f,A(e,t,n,"definitions")),f];case"OperationDefinition":{let i=t.originalText[J(r)]!=="{",s=!!r.name;return[i?r.operation:"",i&&s?[" ",n("name")]:"",i&&!s&&le(r.variableDefinitions)?" ":"",be(e,n),_(e,n,r),!i&&!s?"":" ",n("selectionSet")]}case"FragmentDefinition":return["fragment ",n("name"),be(e,n)," on ",n("typeCondition"),_(e,n,r)," ",n("selectionSet")];case"SelectionSet":return["{",x([f,E(f,A(e,t,n,"selections"))]),f,"}"];case"Field":return y([r.alias?[n("alias"),": "]:"",n("name"),r.arguments.length>0?y(["(",x([p,E([O("",", "),p],A(e,t,n,"arguments"))]),p,")"]):"",_(e,n,r),r.selectionSet?" ":"",n("selectionSet")]);case"Name":return r.value;case"StringValue":if(r.block){let i=Y(!1,r.value,'"""','\\"""').split(` -`);return i.length===1&&(i[0]=i[0].trim()),i.every(s=>s==="")&&(i.length=0),E(f,['"""',...i,'"""'])}return['"',Y(!1,Y(!1,r.value,/["\\]/g,"\\$&"),` -`,"\\n"),'"'];case"IntValue":case"FloatValue":case"EnumValue":return r.value;case"BooleanValue":return r.value?"true":"false";case"NullValue":return"null";case"Variable":return["$",n("name")];case"ListValue":return y(["[",x([p,E([O("",", "),p],e.map(n,"values"))]),p,"]"]);case"ObjectValue":{let i=t.bracketSpacing&&r.fields.length>0?" ":"";return y(["{",i,x([p,E([O("",", "),p],e.map(n,"fields"))]),p,O("",i),"}"])}case"ObjectField":case"Argument":return[n("name"),": ",n("value")];case"Directive":return["@",n("name"),r.arguments.length>0?y(["(",x([p,E([O("",", "),p],A(e,t,n,"arguments"))]),p,")"]):""];case"NamedType":return n("name");case"VariableDefinition":return[n("variable"),": ",n("type"),r.defaultValue?[" = ",n("defaultValue")]:"",_(e,n,r)];case"ObjectTypeExtension":case"ObjectTypeDefinition":case"InputObjectTypeExtension":case"InputObjectTypeDefinition":case"InterfaceTypeExtension":case"InterfaceTypeDefinition":{let{kind:i}=r,s=[];return i.endsWith("TypeDefinition")?s.push(g(e,t,n)):s.push("extend "),i.startsWith("ObjectType")?s.push("type"):i.startsWith("InputObjectType")?s.push("input"):s.push("interface"),s.push(" ",n("name")),!i.startsWith("InputObjectType")&&r.interfaces.length>0&&s.push(" implements ",...vt(e,t,n)),s.push(_(e,n,r)),r.fields.length>0&&s.push([" {",x([f,E(f,A(e,t,n,"fields"))]),f,"}"]),s}case"FieldDefinition":return[g(e,t,n),n("name"),r.arguments.length>0?y(["(",x([p,E([O("",", "),p],A(e,t,n,"arguments"))]),p,")"]):"",": ",n("type"),_(e,n,r)];case"DirectiveDefinition":return[g(e,t,n),"directive ","@",n("name"),r.arguments.length>0?y(["(",x([p,E([O("",", "),p],A(e,t,n,"arguments"))]),p,")"]):"",r.repeatable?" repeatable":""," on ",...E(" | ",e.map(n,"locations"))];case"EnumTypeExtension":case"EnumTypeDefinition":return[g(e,t,n),r.kind==="EnumTypeExtension"?"extend ":"","enum ",n("name"),_(e,n,r),r.values.length>0?[" {",x([f,E(f,A(e,t,n,"values"))]),f,"}"]:""];case"EnumValueDefinition":return[g(e,t,n),n("name"),_(e,n,r)];case"InputValueDefinition":return[g(e,t,n),n("name"),": ",n("type"),r.defaultValue?[" = ",n("defaultValue")]:"",_(e,n,r)];case"SchemaExtension":return["extend schema",_(e,n,r),...r.operationTypes.length>0?[" {",x([f,E(f,A(e,t,n,"operationTypes"))]),f,"}"]:[]];case"SchemaDefinition":return[g(e,t,n),"schema",_(e,n,r)," {",r.operationTypes.length>0?x([f,E(f,A(e,t,n,"operationTypes"))]):"",f,"}"];case"OperationTypeDefinition":return[r.operation,": ",n("type")];case"FragmentSpread":return["...",n("name"),_(e,n,r)];case"InlineFragment":return["...",r.typeCondition?[" on ",n("typeCondition")]:"",_(e,n,r)," ",n("selectionSet")];case"UnionTypeExtension":case"UnionTypeDefinition":return y([g(e,t,n),y([r.kind==="UnionTypeExtension"?"extend ":"","union ",n("name"),_(e,n,r),r.types.length>0?[" =",O(""," "),x([O([k," "]),E([k,"| "],e.map(n,"types"))])]:""])]);case"ScalarTypeExtension":case"ScalarTypeDefinition":return[g(e,t,n),r.kind==="ScalarTypeExtension"?"extend ":"","scalar ",n("name"),_(e,n,r)];case"NonNullType":return[n("type"),"!"];case"ListType":return["[",n("type"),"]"];default:throw new Ae(r,"Graphql","kind")}}function _(e,t,n){if(n.directives.length===0)return"";let r=E(k,e.map(t,"directives"));return n.kind==="FragmentDefinition"||n.kind==="OperationDefinition"?y([k,r]):[" ",y(x([p,r]))]}function A(e,t,n,r){return e.map(({isLast:i,node:s})=>{let a=n();return!i&&ge(t.originalText,X(s))?[a,f]:a},r)}function Ct(e){return e.kind!=="Comment"}function St(e){let t=e.node;if(t.kind==="Comment")return"#"+t.value.trimEnd();throw new Error("Not a comment: "+JSON.stringify(t))}function vt(e,t,n){let{node:r}=e,i=[],{interfaces:s}=r,a=e.map(n,"interfaces");for(let u=0;ur.value.trim()==="prettier-ignore")}var Lt={print:kt,massageAstNode:Le,hasPrettierIgnore:bt,insertPragma:Ce,printComment:St,canAttachComment:Ct,getVisitorKeys:ve},Re=Lt;var ie={};Ne(ie,{graphql:()=>tn});function Pe(e){return typeof e=="object"&&e!==null}function Fe(e,t){if(!!!e)throw new Error(t??"Unexpected invariant triggered.")}var Rt=/\r\n|[\n\r]/g;function B(e,t){let n=0,r=1;for(let i of e.body.matchAll(Rt)){if(typeof i.index=="number"||Fe(!1),i.index>=t)break;n=i.index+i[0].length,r+=1}return{line:r,column:t+1-n}}function Ve(e){return he(e.source,B(e.source,e.start))}function he(e,t){let n=e.locationOffset.column-1,r="".padStart(n)+e.body,i=t.line-1,s=e.locationOffset.line-1,a=t.line+s,u=t.line===1?n:0,l=t.column+u,T=`${e.name}:${a}:${l} -`,h=r.split(/\r\n|[\n\r]/g),D=h[i];if(D.length>120){let I=Math.floor(l/80),re=l%80,N=[];for(let v=0;v["|",v]),["|","^".padStart(re)],["|",N[I+1]]])}return T+we([[`${a-1} |`,h[i-1]],[`${a} |`,D],["|","^".padStart(l)],[`${a+1} |`,h[i+1]]])}function we(e){let t=e.filter(([r,i])=>i!==void 0),n=Math.max(...t.map(([r])=>r.length));return t.map(([r,i])=>r.padStart(n)+(i?" "+i:"")).join(` -`)}function Pt(e){let t=e[0];return t==null||"kind"in t||"length"in t?{nodes:t,source:e[1],positions:e[2],path:e[3],originalError:e[4],extensions:e[5]}:t}var W=class e extends Error{constructor(t,...n){var r,i,s;let{nodes:a,source:u,positions:l,path:T,originalError:h,extensions:D}=Pt(n);super(t),this.name="GraphQLError",this.path=T??void 0,this.originalError=h??void 0,this.nodes=Be(Array.isArray(a)?a:a?[a]:void 0);let I=Be((r=this.nodes)===null||r===void 0?void 0:r.map(N=>N.loc).filter(N=>N!=null));this.source=u??(I==null||(i=I[0])===null||i===void 0?void 0:i.source),this.positions=l??(I==null?void 0:I.map(N=>N.start)),this.locations=l&&u?l.map(N=>B(u,N)):I==null?void 0:I.map(N=>B(N.source,N.start));let re=Pe(h==null?void 0:h.extensions)?h==null?void 0:h.extensions:void 0;this.extensions=(s=D??re)!==null&&s!==void 0?s:Object.create(null),Object.defineProperties(this,{message:{writable:!0,enumerable:!0},name:{enumerable:!1},nodes:{enumerable:!1},source:{enumerable:!1},positions:{enumerable:!1},originalError:{enumerable:!1}}),h!=null&&h.stack?Object.defineProperty(this,"stack",{value:h.stack,writable:!0,configurable:!0}):Error.captureStackTrace?Error.captureStackTrace(this,e):Object.defineProperty(this,"stack",{value:Error().stack,writable:!0,configurable:!0})}get[Symbol.toStringTag](){return"GraphQLError"}toString(){let t=this.message;if(this.nodes)for(let n of this.nodes)n.loc&&(t+=` +`+e}function gt(e,t,n){let{node:r}=e;if(!r.description)return"";let i=[n("description")];return r.kind==="InputValueDefinition"&&!r.description.block?i.push(k):i.push(f),i}var A=gt;function kt(e,t,n){let{node:r}=e;switch(r.kind){case"Document":return[...E(f,g(e,t,n,"definitions")),f];case"OperationDefinition":{let i=t.originalText[q(r)]!=="{",s=!!r.name;return[i?r.operation:"",i&&s?[" ",n("name")]:"",i&&!s&&ue(r.variableDefinitions)?" ":"",be(e,n),_(e,n,r),!i&&!s?"":" ",n("selectionSet")]}case"FragmentDefinition":return["fragment ",n("name"),be(e,n)," on ",n("typeCondition"),_(e,n,r)," ",n("selectionSet")];case"SelectionSet":return["{",x([f,E(f,g(e,t,n,"selections"))]),f,"}"];case"Field":return y([r.alias?[n("alias"),": "]:"",n("name"),r.arguments.length>0?y(["(",x([p,E([O("",", "),p],g(e,t,n,"arguments"))]),p,")"]):"",_(e,n,r),r.selectionSet?" ":"",n("selectionSet")]);case"Name":return r.value;case"StringValue":if(r.block){let i=Y(!1,r.value,'"""',String.raw`\"""`).split(` +`);return i.length===1&&(i[0]=i[0].trim()),i.every(s=>s==="")&&(i.length=0),E(f,['"""',...i,'"""'])}return['"',Y(!1,Y(!1,r.value,/["\\]/gu,String.raw`\$&`),` +`,String.raw`\n`),'"'];case"IntValue":case"FloatValue":case"EnumValue":return r.value;case"BooleanValue":return r.value?"true":"false";case"NullValue":return"null";case"Variable":return["$",n("name")];case"ListValue":return y(["[",x([p,E([O("",", "),p],e.map(n,"values"))]),p,"]"]);case"ObjectValue":{let i=t.bracketSpacing&&r.fields.length>0?" ":"";return y(["{",i,x([p,E([O("",", "),p],e.map(n,"fields"))]),p,O("",i),"}"])}case"ObjectField":case"Argument":return[n("name"),": ",n("value")];case"Directive":return["@",n("name"),r.arguments.length>0?y(["(",x([p,E([O("",", "),p],g(e,t,n,"arguments"))]),p,")"]):""];case"NamedType":return n("name");case"VariableDefinition":return[n("variable"),": ",n("type"),r.defaultValue?[" = ",n("defaultValue")]:"",_(e,n,r)];case"ObjectTypeExtension":case"ObjectTypeDefinition":case"InputObjectTypeExtension":case"InputObjectTypeDefinition":case"InterfaceTypeExtension":case"InterfaceTypeDefinition":{let{kind:i}=r,s=[];return i.endsWith("TypeDefinition")?s.push(A(e,t,n)):s.push("extend "),i.startsWith("ObjectType")?s.push("type"):i.startsWith("InputObjectType")?s.push("input"):s.push("interface"),s.push(" ",n("name")),!i.startsWith("InputObjectType")&&r.interfaces.length>0&&s.push(" implements ",...vt(e,t,n)),s.push(_(e,n,r)),r.fields.length>0&&s.push([" {",x([f,E(f,g(e,t,n,"fields"))]),f,"}"]),s}case"FieldDefinition":return[A(e,t,n),n("name"),r.arguments.length>0?y(["(",x([p,E([O("",", "),p],g(e,t,n,"arguments"))]),p,")"]):"",": ",n("type"),_(e,n,r)];case"DirectiveDefinition":return[A(e,t,n),"directive ","@",n("name"),r.arguments.length>0?y(["(",x([p,E([O("",", "),p],g(e,t,n,"arguments"))]),p,")"]):"",r.repeatable?" repeatable":""," on ",...E(" | ",e.map(n,"locations"))];case"EnumTypeExtension":case"EnumTypeDefinition":return[A(e,t,n),r.kind==="EnumTypeExtension"?"extend ":"","enum ",n("name"),_(e,n,r),r.values.length>0?[" {",x([f,E(f,g(e,t,n,"values"))]),f,"}"]:""];case"EnumValueDefinition":return[A(e,t,n),n("name"),_(e,n,r)];case"InputValueDefinition":return[A(e,t,n),n("name"),": ",n("type"),r.defaultValue?[" = ",n("defaultValue")]:"",_(e,n,r)];case"SchemaExtension":return["extend schema",_(e,n,r),...r.operationTypes.length>0?[" {",x([f,E(f,g(e,t,n,"operationTypes"))]),f,"}"]:[]];case"SchemaDefinition":return[A(e,t,n),"schema",_(e,n,r)," {",r.operationTypes.length>0?x([f,E(f,g(e,t,n,"operationTypes"))]):"",f,"}"];case"OperationTypeDefinition":return[r.operation,": ",n("type")];case"FragmentSpread":return["...",n("name"),_(e,n,r)];case"InlineFragment":return["...",r.typeCondition?[" on ",n("typeCondition")]:"",_(e,n,r)," ",n("selectionSet")];case"UnionTypeExtension":case"UnionTypeDefinition":return y([A(e,t,n),y([r.kind==="UnionTypeExtension"?"extend ":"","union ",n("name"),_(e,n,r),r.types.length>0?[" =",O(""," "),x([O([k,"| "]),E([k,"| "],e.map(n,"types"))])]:""])]);case"ScalarTypeExtension":case"ScalarTypeDefinition":return[A(e,t,n),r.kind==="ScalarTypeExtension"?"extend ":"","scalar ",n("name"),_(e,n,r)];case"NonNullType":return[n("type"),"!"];case"ListType":return["[",n("type"),"]"];default:throw new ge(r,"Graphql","kind")}}function _(e,t,n){if(n.directives.length===0)return"";let r=E(k,e.map(t,"directives"));return n.kind==="FragmentDefinition"||n.kind==="OperationDefinition"?y([k,r]):[" ",y(x([p,r]))]}function g(e,t,n,r){return e.map(({isLast:i,node:s})=>{let a=n();return!i&&Ae(t.originalText,Q(s))?[a,f]:a},r)}function St(e){return e.kind!=="Comment"}function Ct(e){let t=e.node;if(t.kind==="Comment")return"#"+t.value.trimEnd();throw new Error("Not a comment: "+JSON.stringify(t))}function vt(e,t,n){let{node:r}=e,i=[],{interfaces:s}=r,a=e.map(n,"interfaces");for(let u=0;ur.value.trim()==="prettier-ignore")}var Lt={print:kt,massageAstNode:Le,hasPrettierIgnore:bt,insertPragma:ve,printComment:Ct,canAttachComment:St,getVisitorKeys:Se},Re=Lt;var Pe=[{linguistLanguageId:139,name:"GraphQL",type:"data",color:"#e10098",extensions:[".graphql",".gql",".graphqls"],tmScope:"source.graphql",aceMode:"text",parsers:["graphql"],vscodeLanguageIds:["graphql"]}];var Fe={bracketSpacing:{category:"Common",type:"boolean",default:!0,description:"Print spaces between brackets.",oppositeDescription:"Do not print spaces between brackets."},singleQuote:{category:"Common",type:"boolean",default:!1,description:"Use single quotes instead of double quotes."},proseWrap:{category:"Common",type:"choice",default:"preserve",description:"How to wrap prose.",choices:[{value:"always",description:"Wrap prose if it exceeds the print width."},{value:"never",description:"Do not wrap prose."},{value:"preserve",description:"Wrap prose as-is."}]},bracketSameLine:{category:"Common",type:"boolean",default:!1,description:"Put > of opening tags on the last line instead of on a new line."},singleAttributePerLine:{category:"Common",type:"boolean",default:!1,description:"Enforce single attribute per line in HTML, Vue and JSX."}};var Rt={bracketSpacing:Fe.bracketSpacing},we=Rt;var Ee={};Ne(Ee,{graphql:()=>rn});function Ve(e){return typeof e=="object"&&e!==null}function Be(e,t){if(!!!e)throw new Error(t??"Unexpected invariant triggered.")}var Pt=/\r\n|[\n\r]/g;function B(e,t){let n=0,r=1;for(let i of e.body.matchAll(Pt)){if(typeof i.index=="number"||Be(!1),i.index>=t)break;n=i.index+i[0].length,r+=1}return{line:r,column:t+1-n}}function Me(e){return fe(e.source,B(e.source,e.start))}function fe(e,t){let n=e.locationOffset.column-1,r="".padStart(n)+e.body,i=t.line-1,s=e.locationOffset.line-1,a=t.line+s,u=t.line===1?n:0,l=t.column+u,T=`${e.name}:${a}:${l} +`,h=r.split(/\r\n|[\n\r]/g),D=h[i];if(D.length>120){let I=Math.floor(l/80),ie=l%80,N=[];for(let v=0;v["|",v]),["|","^".padStart(ie)],["|",N[I+1]]])}return T+Ue([[`${a-1} |`,h[i-1]],[`${a} |`,D],["|","^".padStart(l)],[`${a+1} |`,h[i+1]]])}function Ue(e){let t=e.filter(([r,i])=>i!==void 0),n=Math.max(...t.map(([r])=>r.length));return t.map(([r,i])=>r.padStart(n)+(i?" "+i:"")).join(` +`)}function Ft(e){let t=e[0];return t==null||"kind"in t||"length"in t?{nodes:t,source:e[1],positions:e[2],path:e[3],originalError:e[4],extensions:e[5]}:t}var W=class e extends Error{constructor(t,...n){var r,i,s;let{nodes:a,source:u,positions:l,path:T,originalError:h,extensions:D}=Ft(n);super(t),this.name="GraphQLError",this.path=T??void 0,this.originalError=h??void 0,this.nodes=Ye(Array.isArray(a)?a:a?[a]:void 0);let I=Ye((r=this.nodes)===null||r===void 0?void 0:r.map(N=>N.loc).filter(N=>N!=null));this.source=u??(I==null||(i=I[0])===null||i===void 0?void 0:i.source),this.positions=l??(I==null?void 0:I.map(N=>N.start)),this.locations=l&&u?l.map(N=>B(u,N)):I==null?void 0:I.map(N=>B(N.source,N.start));let ie=Ve(h==null?void 0:h.extensions)?h==null?void 0:h.extensions:void 0;this.extensions=(s=D??ie)!==null&&s!==void 0?s:Object.create(null),Object.defineProperties(this,{message:{writable:!0,enumerable:!0},name:{enumerable:!1},nodes:{enumerable:!1},source:{enumerable:!1},positions:{enumerable:!1},originalError:{enumerable:!1}}),h!=null&&h.stack?Object.defineProperty(this,"stack",{value:h.stack,writable:!0,configurable:!0}):Error.captureStackTrace?Error.captureStackTrace(this,e):Object.defineProperty(this,"stack",{value:Error().stack,writable:!0,configurable:!0})}get[Symbol.toStringTag](){return"GraphQLError"}toString(){let t=this.message;if(this.nodes)for(let n of this.nodes)n.loc&&(t+=` -`+Ve(n.loc));else if(this.source&&this.locations)for(let n of this.locations)t+=` +`+Me(n.loc));else if(this.source&&this.locations)for(let n of this.locations)t+=` -`+he(this.source,n);return t}toJSON(){let t={message:this.message};return this.locations!=null&&(t.locations=this.locations),this.path!=null&&(t.path=this.path),this.extensions!=null&&Object.keys(this.extensions).length>0&&(t.extensions=this.extensions),t}};function Be(e){return e===void 0||e.length===0?void 0:e}function d(e,t,n){return new W(`Syntax Error: ${n}`,{source:e,positions:[t]})}var H;(function(e){e.QUERY="QUERY",e.MUTATION="MUTATION",e.SUBSCRIPTION="SUBSCRIPTION",e.FIELD="FIELD",e.FRAGMENT_DEFINITION="FRAGMENT_DEFINITION",e.FRAGMENT_SPREAD="FRAGMENT_SPREAD",e.INLINE_FRAGMENT="INLINE_FRAGMENT",e.VARIABLE_DEFINITION="VARIABLE_DEFINITION",e.SCHEMA="SCHEMA",e.SCALAR="SCALAR",e.OBJECT="OBJECT",e.FIELD_DEFINITION="FIELD_DEFINITION",e.ARGUMENT_DEFINITION="ARGUMENT_DEFINITION",e.INTERFACE="INTERFACE",e.UNION="UNION",e.ENUM="ENUM",e.ENUM_VALUE="ENUM_VALUE",e.INPUT_OBJECT="INPUT_OBJECT",e.INPUT_FIELD_DEFINITION="INPUT_FIELD_DEFINITION"})(H||(H={}));var c;(function(e){e.NAME="Name",e.DOCUMENT="Document",e.OPERATION_DEFINITION="OperationDefinition",e.VARIABLE_DEFINITION="VariableDefinition",e.SELECTION_SET="SelectionSet",e.FIELD="Field",e.ARGUMENT="Argument",e.FRAGMENT_SPREAD="FragmentSpread",e.INLINE_FRAGMENT="InlineFragment",e.FRAGMENT_DEFINITION="FragmentDefinition",e.VARIABLE="Variable",e.INT="IntValue",e.FLOAT="FloatValue",e.STRING="StringValue",e.BOOLEAN="BooleanValue",e.NULL="NullValue",e.ENUM="EnumValue",e.LIST="ListValue",e.OBJECT="ObjectValue",e.OBJECT_FIELD="ObjectField",e.DIRECTIVE="Directive",e.NAMED_TYPE="NamedType",e.LIST_TYPE="ListType",e.NON_NULL_TYPE="NonNullType",e.SCHEMA_DEFINITION="SchemaDefinition",e.OPERATION_TYPE_DEFINITION="OperationTypeDefinition",e.SCALAR_TYPE_DEFINITION="ScalarTypeDefinition",e.OBJECT_TYPE_DEFINITION="ObjectTypeDefinition",e.FIELD_DEFINITION="FieldDefinition",e.INPUT_VALUE_DEFINITION="InputValueDefinition",e.INTERFACE_TYPE_DEFINITION="InterfaceTypeDefinition",e.UNION_TYPE_DEFINITION="UnionTypeDefinition",e.ENUM_TYPE_DEFINITION="EnumTypeDefinition",e.ENUM_VALUE_DEFINITION="EnumValueDefinition",e.INPUT_OBJECT_TYPE_DEFINITION="InputObjectTypeDefinition",e.DIRECTIVE_DEFINITION="DirectiveDefinition",e.SCHEMA_EXTENSION="SchemaExtension",e.SCALAR_TYPE_EXTENSION="ScalarTypeExtension",e.OBJECT_TYPE_EXTENSION="ObjectTypeExtension",e.INTERFACE_TYPE_EXTENSION="InterfaceTypeExtension",e.UNION_TYPE_EXTENSION="UnionTypeExtension",e.ENUM_TYPE_EXTENSION="EnumTypeExtension",e.INPUT_OBJECT_TYPE_EXTENSION="InputObjectTypeExtension"})(c||(c={}));function Ue(e){return e===9||e===32}function L(e){return e>=48&&e<=57}function Me(e){return e>=97&&e<=122||e>=65&&e<=90}function de(e){return Me(e)||e===95}function Ye(e){return Me(e)||L(e)||e===95}function je(e){var t;let n=Number.MAX_SAFE_INTEGER,r=null,i=-1;for(let a=0;au===0?a:a.slice(n)).slice((t=r)!==null&&t!==void 0?t:0,i+1)}function Ft(e){let t=0;for(;t=0&&e<=55295||e>=57344&&e<=1114111}function K(e,t){return Je(e.charCodeAt(t))&&Xe(e.charCodeAt(t+1))}function Je(e){return e>=55296&&e<=56319}function Xe(e){return e>=56320&&e<=57343}function S(e,t){let n=e.source.body.codePointAt(t);if(n===void 0)return o.EOF;if(n>=32&&n<=126){let r=String.fromCodePoint(n);return r==='"'?`'"'`:`"${r}"`}return"U+"+n.toString(16).toUpperCase().padStart(4,"0")}function m(e,t,n,r,i){let s=e.line,a=1+n-e.lineStart;return new V(t,n,r,s,a,i)}function wt(e,t){let n=e.source.body,r=n.length,i=t;for(;i=48&&e<=57?e-48:e>=65&&e<=70?e-55:e>=97&&e<=102?e-87:-1}function jt(e,t){let n=e.source.body;switch(n.charCodeAt(t+1)){case 34:return{value:'"',size:2};case 92:return{value:"\\",size:2};case 47:return{value:"/",size:2};case 98:return{value:"\b",size:2};case 102:return{value:"\f",size:2};case 110:return{value:` -`,size:2};case 114:return{value:"\r",size:2};case 116:return{value:" ",size:2}}throw d(e.source,t,`Invalid character escape sequence: "${n.slice(t,t+2)}".`)}function Gt(e,t){let n=e.source.body,r=n.length,i=e.lineStart,s=t+3,a=s,u="",l=[];for(;s2?"["+Wt(e)+"]":"{ "+n.map(([i,s])=>i+": "+te(s,t)).join(", ")+" }"}function Qt(e,t){if(e.length===0)return"[]";if(t.length>2)return"[Array]";let n=Math.min(10,e.length),r=e.length-n,i=[];for(let s=0;s1&&i.push(`... ${r} more items`),"["+i.join(", ")+"]"}function Wt(e){let t=Object.prototype.toString.call(e).replace(/^\[object /,"").replace(/]$/,"");if(t==="Object"&&typeof e.constructor=="function"){let n=e.constructor.name;if(typeof n=="string"&&n!=="")return n}return t}var qe=globalThis.process&&globalThis.process.env.NODE_ENV==="production"?function(t,n){return t instanceof n}:function(t,n){if(t instanceof n)return!0;if(typeof t=="object"&&t!==null){var r;let i=n.prototype[Symbol.toStringTag],s=Symbol.toStringTag in t?t[Symbol.toStringTag]:(r=t.constructor)===null||r===void 0?void 0:r.name;if(i===s){let a=ee(t);throw new Error(`Cannot use ${i} "${a}" from another module or realm. +`+fe(this.source,n);return t}toJSON(){let t={message:this.message};return this.locations!=null&&(t.locations=this.locations),this.path!=null&&(t.path=this.path),this.extensions!=null&&Object.keys(this.extensions).length>0&&(t.extensions=this.extensions),t}};function Ye(e){return e===void 0||e.length===0?void 0:e}function d(e,t,n){return new W(`Syntax Error: ${n}`,{source:e,positions:[t]})}var H;(function(e){e.QUERY="QUERY",e.MUTATION="MUTATION",e.SUBSCRIPTION="SUBSCRIPTION",e.FIELD="FIELD",e.FRAGMENT_DEFINITION="FRAGMENT_DEFINITION",e.FRAGMENT_SPREAD="FRAGMENT_SPREAD",e.INLINE_FRAGMENT="INLINE_FRAGMENT",e.VARIABLE_DEFINITION="VARIABLE_DEFINITION",e.SCHEMA="SCHEMA",e.SCALAR="SCALAR",e.OBJECT="OBJECT",e.FIELD_DEFINITION="FIELD_DEFINITION",e.ARGUMENT_DEFINITION="ARGUMENT_DEFINITION",e.INTERFACE="INTERFACE",e.UNION="UNION",e.ENUM="ENUM",e.ENUM_VALUE="ENUM_VALUE",e.INPUT_OBJECT="INPUT_OBJECT",e.INPUT_FIELD_DEFINITION="INPUT_FIELD_DEFINITION"})(H||(H={}));var c;(function(e){e.NAME="Name",e.DOCUMENT="Document",e.OPERATION_DEFINITION="OperationDefinition",e.VARIABLE_DEFINITION="VariableDefinition",e.SELECTION_SET="SelectionSet",e.FIELD="Field",e.ARGUMENT="Argument",e.FRAGMENT_SPREAD="FragmentSpread",e.INLINE_FRAGMENT="InlineFragment",e.FRAGMENT_DEFINITION="FragmentDefinition",e.VARIABLE="Variable",e.INT="IntValue",e.FLOAT="FloatValue",e.STRING="StringValue",e.BOOLEAN="BooleanValue",e.NULL="NullValue",e.ENUM="EnumValue",e.LIST="ListValue",e.OBJECT="ObjectValue",e.OBJECT_FIELD="ObjectField",e.DIRECTIVE="Directive",e.NAMED_TYPE="NamedType",e.LIST_TYPE="ListType",e.NON_NULL_TYPE="NonNullType",e.SCHEMA_DEFINITION="SchemaDefinition",e.OPERATION_TYPE_DEFINITION="OperationTypeDefinition",e.SCALAR_TYPE_DEFINITION="ScalarTypeDefinition",e.OBJECT_TYPE_DEFINITION="ObjectTypeDefinition",e.FIELD_DEFINITION="FieldDefinition",e.INPUT_VALUE_DEFINITION="InputValueDefinition",e.INTERFACE_TYPE_DEFINITION="InterfaceTypeDefinition",e.UNION_TYPE_DEFINITION="UnionTypeDefinition",e.ENUM_TYPE_DEFINITION="EnumTypeDefinition",e.ENUM_VALUE_DEFINITION="EnumValueDefinition",e.INPUT_OBJECT_TYPE_DEFINITION="InputObjectTypeDefinition",e.DIRECTIVE_DEFINITION="DirectiveDefinition",e.SCHEMA_EXTENSION="SchemaExtension",e.SCALAR_TYPE_EXTENSION="ScalarTypeExtension",e.OBJECT_TYPE_EXTENSION="ObjectTypeExtension",e.INTERFACE_TYPE_EXTENSION="InterfaceTypeExtension",e.UNION_TYPE_EXTENSION="UnionTypeExtension",e.ENUM_TYPE_EXTENSION="EnumTypeExtension",e.INPUT_OBJECT_TYPE_EXTENSION="InputObjectTypeExtension"})(c||(c={}));function je(e){return e===9||e===32}function L(e){return e>=48&&e<=57}function Ge(e){return e>=97&&e<=122||e>=65&&e<=90}function he(e){return Ge(e)||e===95}function $e(e){return Ge(e)||L(e)||e===95}function Je(e){var t;let n=Number.MAX_SAFE_INTEGER,r=null,i=-1;for(let a=0;au===0?a:a.slice(n)).slice((t=r)!==null&&t!==void 0?t:0,i+1)}function wt(e){let t=0;for(;t=0&&e<=55295||e>=57344&&e<=1114111}function K(e,t){return Qe(e.charCodeAt(t))&&We(e.charCodeAt(t+1))}function Qe(e){return e>=55296&&e<=56319}function We(e){return e>=56320&&e<=57343}function C(e,t){let n=e.source.body.codePointAt(t);if(n===void 0)return o.EOF;if(n>=32&&n<=126){let r=String.fromCodePoint(n);return r==='"'?`'"'`:`"${r}"`}return"U+"+n.toString(16).toUpperCase().padStart(4,"0")}function m(e,t,n,r,i){let s=e.line,a=1+n-e.lineStart;return new V(t,n,r,s,a,i)}function Vt(e,t){let n=e.source.body,r=n.length,i=t;for(;i=48&&e<=57?e-48:e>=65&&e<=70?e-55:e>=97&&e<=102?e-87:-1}function Gt(e,t){let n=e.source.body;switch(n.charCodeAt(t+1)){case 34:return{value:'"',size:2};case 92:return{value:"\\",size:2};case 47:return{value:"/",size:2};case 98:return{value:"\b",size:2};case 102:return{value:"\f",size:2};case 110:return{value:` +`,size:2};case 114:return{value:"\r",size:2};case 116:return{value:" ",size:2}}throw d(e.source,t,`Invalid character escape sequence: "${n.slice(t,t+2)}".`)}function $t(e,t){let n=e.source.body,r=n.length,i=e.lineStart,s=t+3,a=s,u="",l=[];for(;s2?"["+Ht(e)+"]":"{ "+n.map(([i,s])=>i+": "+te(s,t)).join(", ")+" }"}function Wt(e,t){if(e.length===0)return"[]";if(t.length>2)return"[Array]";let n=Math.min(10,e.length),r=e.length-n,i=[];for(let s=0;s1&&i.push(`... ${r} more items`),"["+i.join(", ")+"]"}function Ht(e){let t=Object.prototype.toString.call(e).replace(/^\[object /,"").replace(/]$/,"");if(t==="Object"&&typeof e.constructor=="function"){let n=e.constructor.name;if(typeof n=="string"&&n!=="")return n}return t}var zt=globalThis.process&&!0,He=zt?function(t,n){return t instanceof n}:function(t,n){if(t instanceof n)return!0;if(typeof t=="object"&&t!==null){var r;let i=n.prototype[Symbol.toStringTag],s=Symbol.toStringTag in t?t[Symbol.toStringTag]:(r=t.constructor)===null||r===void 0?void 0:r.name;if(i===s){let a=ee(t);throw new Error(`Cannot use ${i} "${a}" from another module or realm. Ensure that there is only one instance of "graphql" in the node_modules directory. If different versions of "graphql" are the dependencies of other @@ -26,4 +26,4 @@ https://yarnpkg.com/en/docs/selective-version-resolutions Duplicate "graphql" modules cannot be used at the same time since different versions may have different capabilities and behavior. The data from one version used in the function from another could produce confusing and -spurious results.`)}}return!1};var M=class{constructor(t,n="GraphQL request",r={line:1,column:1}){typeof t=="string"||Z(!1,`Body must be a string. Received: ${ee(t)}.`),this.body=t,this.name=n,this.locationOffset=r,this.locationOffset.line>0||Z(!1,"line in locationOffset is 1-indexed and must be positive."),this.locationOffset.column>0||Z(!1,"column in locationOffset is 1-indexed and must be positive.")}get[Symbol.toStringTag](){return"Source"}};function Qe(e){return qe(e,M)}function We(e,t){return new Ee(e,t).parseDocument()}var Ee=class{constructor(t,n={}){let r=Qe(t)?t:new M(t);this._lexer=new z(r),this._options=n,this._tokenCounter=0}parseName(){let t=this.expectToken(o.NAME);return this.node(t,{kind:c.NAME,value:t.value})}parseDocument(){return this.node(this._lexer.token,{kind:c.DOCUMENT,definitions:this.many(o.SOF,this.parseDefinition,o.EOF)})}parseDefinition(){if(this.peek(o.BRACE_L))return this.parseOperationDefinition();let t=this.peekDescription(),n=t?this._lexer.lookahead():this._lexer.token;if(n.kind===o.NAME){switch(n.value){case"schema":return this.parseSchemaDefinition();case"scalar":return this.parseScalarTypeDefinition();case"type":return this.parseObjectTypeDefinition();case"interface":return this.parseInterfaceTypeDefinition();case"union":return this.parseUnionTypeDefinition();case"enum":return this.parseEnumTypeDefinition();case"input":return this.parseInputObjectTypeDefinition();case"directive":return this.parseDirectiveDefinition()}if(t)throw d(this._lexer.source,this._lexer.token.start,"Unexpected description, descriptions are supported only on type definitions.");switch(n.value){case"query":case"mutation":case"subscription":return this.parseOperationDefinition();case"fragment":return this.parseFragmentDefinition();case"extend":return this.parseTypeSystemExtension()}}throw this.unexpected(n)}parseOperationDefinition(){let t=this._lexer.token;if(this.peek(o.BRACE_L))return this.node(t,{kind:c.OPERATION_DEFINITION,operation:C.QUERY,name:void 0,variableDefinitions:[],directives:[],selectionSet:this.parseSelectionSet()});let n=this.parseOperationType(),r;return this.peek(o.NAME)&&(r=this.parseName()),this.node(t,{kind:c.OPERATION_DEFINITION,operation:n,name:r,variableDefinitions:this.parseVariableDefinitions(),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet()})}parseOperationType(){let t=this.expectToken(o.NAME);switch(t.value){case"query":return C.QUERY;case"mutation":return C.MUTATION;case"subscription":return C.SUBSCRIPTION}throw this.unexpected(t)}parseVariableDefinitions(){return this.optionalMany(o.PAREN_L,this.parseVariableDefinition,o.PAREN_R)}parseVariableDefinition(){return this.node(this._lexer.token,{kind:c.VARIABLE_DEFINITION,variable:this.parseVariable(),type:(this.expectToken(o.COLON),this.parseTypeReference()),defaultValue:this.expectOptionalToken(o.EQUALS)?this.parseConstValueLiteral():void 0,directives:this.parseConstDirectives()})}parseVariable(){let t=this._lexer.token;return this.expectToken(o.DOLLAR),this.node(t,{kind:c.VARIABLE,name:this.parseName()})}parseSelectionSet(){return this.node(this._lexer.token,{kind:c.SELECTION_SET,selections:this.many(o.BRACE_L,this.parseSelection,o.BRACE_R)})}parseSelection(){return this.peek(o.SPREAD)?this.parseFragment():this.parseField()}parseField(){let t=this._lexer.token,n=this.parseName(),r,i;return this.expectOptionalToken(o.COLON)?(r=n,i=this.parseName()):i=n,this.node(t,{kind:c.FIELD,alias:r,name:i,arguments:this.parseArguments(!1),directives:this.parseDirectives(!1),selectionSet:this.peek(o.BRACE_L)?this.parseSelectionSet():void 0})}parseArguments(t){let n=t?this.parseConstArgument:this.parseArgument;return this.optionalMany(o.PAREN_L,n,o.PAREN_R)}parseArgument(t=!1){let n=this._lexer.token,r=this.parseName();return this.expectToken(o.COLON),this.node(n,{kind:c.ARGUMENT,name:r,value:this.parseValueLiteral(t)})}parseConstArgument(){return this.parseArgument(!0)}parseFragment(){let t=this._lexer.token;this.expectToken(o.SPREAD);let n=this.expectOptionalKeyword("on");return!n&&this.peek(o.NAME)?this.node(t,{kind:c.FRAGMENT_SPREAD,name:this.parseFragmentName(),directives:this.parseDirectives(!1)}):this.node(t,{kind:c.INLINE_FRAGMENT,typeCondition:n?this.parseNamedType():void 0,directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet()})}parseFragmentDefinition(){let t=this._lexer.token;return this.expectKeyword("fragment"),this._options.allowLegacyFragmentVariables===!0?this.node(t,{kind:c.FRAGMENT_DEFINITION,name:this.parseFragmentName(),variableDefinitions:this.parseVariableDefinitions(),typeCondition:(this.expectKeyword("on"),this.parseNamedType()),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet()}):this.node(t,{kind:c.FRAGMENT_DEFINITION,name:this.parseFragmentName(),typeCondition:(this.expectKeyword("on"),this.parseNamedType()),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet()})}parseFragmentName(){if(this._lexer.token.value==="on")throw this.unexpected();return this.parseName()}parseValueLiteral(t){let n=this._lexer.token;switch(n.kind){case o.BRACKET_L:return this.parseList(t);case o.BRACE_L:return this.parseObject(t);case o.INT:return this.advanceLexer(),this.node(n,{kind:c.INT,value:n.value});case o.FLOAT:return this.advanceLexer(),this.node(n,{kind:c.FLOAT,value:n.value});case o.STRING:case o.BLOCK_STRING:return this.parseStringLiteral();case o.NAME:switch(this.advanceLexer(),n.value){case"true":return this.node(n,{kind:c.BOOLEAN,value:!0});case"false":return this.node(n,{kind:c.BOOLEAN,value:!1});case"null":return this.node(n,{kind:c.NULL});default:return this.node(n,{kind:c.ENUM,value:n.value})}case o.DOLLAR:if(t)if(this.expectToken(o.DOLLAR),this._lexer.token.kind===o.NAME){let r=this._lexer.token.value;throw d(this._lexer.source,n.start,`Unexpected variable "$${r}" in constant value.`)}else throw this.unexpected(n);return this.parseVariable();default:throw this.unexpected()}}parseConstValueLiteral(){return this.parseValueLiteral(!0)}parseStringLiteral(){let t=this._lexer.token;return this.advanceLexer(),this.node(t,{kind:c.STRING,value:t.value,block:t.kind===o.BLOCK_STRING})}parseList(t){let n=()=>this.parseValueLiteral(t);return this.node(this._lexer.token,{kind:c.LIST,values:this.any(o.BRACKET_L,n,o.BRACKET_R)})}parseObject(t){let n=()=>this.parseObjectField(t);return this.node(this._lexer.token,{kind:c.OBJECT,fields:this.any(o.BRACE_L,n,o.BRACE_R)})}parseObjectField(t){let n=this._lexer.token,r=this.parseName();return this.expectToken(o.COLON),this.node(n,{kind:c.OBJECT_FIELD,name:r,value:this.parseValueLiteral(t)})}parseDirectives(t){let n=[];for(;this.peek(o.AT);)n.push(this.parseDirective(t));return n}parseConstDirectives(){return this.parseDirectives(!0)}parseDirective(t){let n=this._lexer.token;return this.expectToken(o.AT),this.node(n,{kind:c.DIRECTIVE,name:this.parseName(),arguments:this.parseArguments(t)})}parseTypeReference(){let t=this._lexer.token,n;if(this.expectOptionalToken(o.BRACKET_L)){let r=this.parseTypeReference();this.expectToken(o.BRACKET_R),n=this.node(t,{kind:c.LIST_TYPE,type:r})}else n=this.parseNamedType();return this.expectOptionalToken(o.BANG)?this.node(t,{kind:c.NON_NULL_TYPE,type:n}):n}parseNamedType(){return this.node(this._lexer.token,{kind:c.NAMED_TYPE,name:this.parseName()})}peekDescription(){return this.peek(o.STRING)||this.peek(o.BLOCK_STRING)}parseDescription(){if(this.peekDescription())return this.parseStringLiteral()}parseSchemaDefinition(){let t=this._lexer.token,n=this.parseDescription();this.expectKeyword("schema");let r=this.parseConstDirectives(),i=this.many(o.BRACE_L,this.parseOperationTypeDefinition,o.BRACE_R);return this.node(t,{kind:c.SCHEMA_DEFINITION,description:n,directives:r,operationTypes:i})}parseOperationTypeDefinition(){let t=this._lexer.token,n=this.parseOperationType();this.expectToken(o.COLON);let r=this.parseNamedType();return this.node(t,{kind:c.OPERATION_TYPE_DEFINITION,operation:n,type:r})}parseScalarTypeDefinition(){let t=this._lexer.token,n=this.parseDescription();this.expectKeyword("scalar");let r=this.parseName(),i=this.parseConstDirectives();return this.node(t,{kind:c.SCALAR_TYPE_DEFINITION,description:n,name:r,directives:i})}parseObjectTypeDefinition(){let t=this._lexer.token,n=this.parseDescription();this.expectKeyword("type");let r=this.parseName(),i=this.parseImplementsInterfaces(),s=this.parseConstDirectives(),a=this.parseFieldsDefinition();return this.node(t,{kind:c.OBJECT_TYPE_DEFINITION,description:n,name:r,interfaces:i,directives:s,fields:a})}parseImplementsInterfaces(){return this.expectOptionalKeyword("implements")?this.delimitedMany(o.AMP,this.parseNamedType):[]}parseFieldsDefinition(){return this.optionalMany(o.BRACE_L,this.parseFieldDefinition,o.BRACE_R)}parseFieldDefinition(){let t=this._lexer.token,n=this.parseDescription(),r=this.parseName(),i=this.parseArgumentDefs();this.expectToken(o.COLON);let s=this.parseTypeReference(),a=this.parseConstDirectives();return this.node(t,{kind:c.FIELD_DEFINITION,description:n,name:r,arguments:i,type:s,directives:a})}parseArgumentDefs(){return this.optionalMany(o.PAREN_L,this.parseInputValueDef,o.PAREN_R)}parseInputValueDef(){let t=this._lexer.token,n=this.parseDescription(),r=this.parseName();this.expectToken(o.COLON);let i=this.parseTypeReference(),s;this.expectOptionalToken(o.EQUALS)&&(s=this.parseConstValueLiteral());let a=this.parseConstDirectives();return this.node(t,{kind:c.INPUT_VALUE_DEFINITION,description:n,name:r,type:i,defaultValue:s,directives:a})}parseInterfaceTypeDefinition(){let t=this._lexer.token,n=this.parseDescription();this.expectKeyword("interface");let r=this.parseName(),i=this.parseImplementsInterfaces(),s=this.parseConstDirectives(),a=this.parseFieldsDefinition();return this.node(t,{kind:c.INTERFACE_TYPE_DEFINITION,description:n,name:r,interfaces:i,directives:s,fields:a})}parseUnionTypeDefinition(){let t=this._lexer.token,n=this.parseDescription();this.expectKeyword("union");let r=this.parseName(),i=this.parseConstDirectives(),s=this.parseUnionMemberTypes();return this.node(t,{kind:c.UNION_TYPE_DEFINITION,description:n,name:r,directives:i,types:s})}parseUnionMemberTypes(){return this.expectOptionalToken(o.EQUALS)?this.delimitedMany(o.PIPE,this.parseNamedType):[]}parseEnumTypeDefinition(){let t=this._lexer.token,n=this.parseDescription();this.expectKeyword("enum");let r=this.parseName(),i=this.parseConstDirectives(),s=this.parseEnumValuesDefinition();return this.node(t,{kind:c.ENUM_TYPE_DEFINITION,description:n,name:r,directives:i,values:s})}parseEnumValuesDefinition(){return this.optionalMany(o.BRACE_L,this.parseEnumValueDefinition,o.BRACE_R)}parseEnumValueDefinition(){let t=this._lexer.token,n=this.parseDescription(),r=this.parseEnumValueName(),i=this.parseConstDirectives();return this.node(t,{kind:c.ENUM_VALUE_DEFINITION,description:n,name:r,directives:i})}parseEnumValueName(){if(this._lexer.token.value==="true"||this._lexer.token.value==="false"||this._lexer.token.value==="null")throw d(this._lexer.source,this._lexer.token.start,`${ne(this._lexer.token)} is reserved and cannot be used for an enum value.`);return this.parseName()}parseInputObjectTypeDefinition(){let t=this._lexer.token,n=this.parseDescription();this.expectKeyword("input");let r=this.parseName(),i=this.parseConstDirectives(),s=this.parseInputFieldsDefinition();return this.node(t,{kind:c.INPUT_OBJECT_TYPE_DEFINITION,description:n,name:r,directives:i,fields:s})}parseInputFieldsDefinition(){return this.optionalMany(o.BRACE_L,this.parseInputValueDef,o.BRACE_R)}parseTypeSystemExtension(){let t=this._lexer.lookahead();if(t.kind===o.NAME)switch(t.value){case"schema":return this.parseSchemaExtension();case"scalar":return this.parseScalarTypeExtension();case"type":return this.parseObjectTypeExtension();case"interface":return this.parseInterfaceTypeExtension();case"union":return this.parseUnionTypeExtension();case"enum":return this.parseEnumTypeExtension();case"input":return this.parseInputObjectTypeExtension()}throw this.unexpected(t)}parseSchemaExtension(){let t=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("schema");let n=this.parseConstDirectives(),r=this.optionalMany(o.BRACE_L,this.parseOperationTypeDefinition,o.BRACE_R);if(n.length===0&&r.length===0)throw this.unexpected();return this.node(t,{kind:c.SCHEMA_EXTENSION,directives:n,operationTypes:r})}parseScalarTypeExtension(){let t=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("scalar");let n=this.parseName(),r=this.parseConstDirectives();if(r.length===0)throw this.unexpected();return this.node(t,{kind:c.SCALAR_TYPE_EXTENSION,name:n,directives:r})}parseObjectTypeExtension(){let t=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("type");let n=this.parseName(),r=this.parseImplementsInterfaces(),i=this.parseConstDirectives(),s=this.parseFieldsDefinition();if(r.length===0&&i.length===0&&s.length===0)throw this.unexpected();return this.node(t,{kind:c.OBJECT_TYPE_EXTENSION,name:n,interfaces:r,directives:i,fields:s})}parseInterfaceTypeExtension(){let t=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("interface");let n=this.parseName(),r=this.parseImplementsInterfaces(),i=this.parseConstDirectives(),s=this.parseFieldsDefinition();if(r.length===0&&i.length===0&&s.length===0)throw this.unexpected();return this.node(t,{kind:c.INTERFACE_TYPE_EXTENSION,name:n,interfaces:r,directives:i,fields:s})}parseUnionTypeExtension(){let t=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("union");let n=this.parseName(),r=this.parseConstDirectives(),i=this.parseUnionMemberTypes();if(r.length===0&&i.length===0)throw this.unexpected();return this.node(t,{kind:c.UNION_TYPE_EXTENSION,name:n,directives:r,types:i})}parseEnumTypeExtension(){let t=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("enum");let n=this.parseName(),r=this.parseConstDirectives(),i=this.parseEnumValuesDefinition();if(r.length===0&&i.length===0)throw this.unexpected();return this.node(t,{kind:c.ENUM_TYPE_EXTENSION,name:n,directives:r,values:i})}parseInputObjectTypeExtension(){let t=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("input");let n=this.parseName(),r=this.parseConstDirectives(),i=this.parseInputFieldsDefinition();if(r.length===0&&i.length===0)throw this.unexpected();return this.node(t,{kind:c.INPUT_OBJECT_TYPE_EXTENSION,name:n,directives:r,fields:i})}parseDirectiveDefinition(){let t=this._lexer.token,n=this.parseDescription();this.expectKeyword("directive"),this.expectToken(o.AT);let r=this.parseName(),i=this.parseArgumentDefs(),s=this.expectOptionalKeyword("repeatable");this.expectKeyword("on");let a=this.parseDirectiveLocations();return this.node(t,{kind:c.DIRECTIVE_DEFINITION,description:n,name:r,arguments:i,repeatable:s,locations:a})}parseDirectiveLocations(){return this.delimitedMany(o.PIPE,this.parseDirectiveLocation)}parseDirectiveLocation(){let t=this._lexer.token,n=this.parseName();if(Object.prototype.hasOwnProperty.call(H,n.value))return n;throw this.unexpected(t)}node(t,n){return this._options.noLocation!==!0&&(n.loc=new q(t,this._lexer.lastToken,this._lexer.source)),n}peek(t){return this._lexer.token.kind===t}expectToken(t){let n=this._lexer.token;if(n.kind===t)return this.advanceLexer(),n;throw d(this._lexer.source,n.start,`Expected ${He(t)}, found ${ne(n)}.`)}expectOptionalToken(t){return this._lexer.token.kind===t?(this.advanceLexer(),!0):!1}expectKeyword(t){let n=this._lexer.token;if(n.kind===o.NAME&&n.value===t)this.advanceLexer();else throw d(this._lexer.source,n.start,`Expected "${t}", found ${ne(n)}.`)}expectOptionalKeyword(t){let n=this._lexer.token;return n.kind===o.NAME&&n.value===t?(this.advanceLexer(),!0):!1}unexpected(t){let n=t??this._lexer.token;return d(this._lexer.source,n.start,`Unexpected ${ne(n)}.`)}any(t,n,r){this.expectToken(t);let i=[];for(;!this.expectOptionalToken(r);)i.push(n.call(this));return i}optionalMany(t,n,r){if(this.expectOptionalToken(t)){let i=[];do i.push(n.call(this));while(!this.expectOptionalToken(r));return i}return[]}many(t,n,r){this.expectToken(t);let i=[];do i.push(n.call(this));while(!this.expectOptionalToken(r));return i}delimitedMany(t,n){this.expectOptionalToken(t);let r=[];do r.push(n.call(this));while(this.expectOptionalToken(t));return r}advanceLexer(){let{maxTokens:t}=this._options,n=this._lexer.advance();if(t!==void 0&&n.kind!==o.EOF&&(++this._tokenCounter,this._tokenCounter>t))throw d(this._lexer.source,n.start,`Document contains more that ${t} tokens. Parsing aborted.`)}};function ne(e){let t=e.value;return He(e.kind)+(t!=null?` "${t}"`:"")}function He(e){return $e(e)?`"${e}"`:e}function Ht(e,t){let n=new SyntaxError(e+" ("+t.loc.start.line+":"+t.loc.start.column+")");return Object.assign(n,t)}var ze=Ht;function zt(e){let t=[],{startToken:n,endToken:r}=e.loc;for(let i=n;i!==r;i=i.next)i.kind==="Comment"&&t.push(i);return t}var Kt={allowLegacyFragmentVariables:!0};function Zt(e){if((e==null?void 0:e.name)==="GraphQLError"){let{message:t,locations:[n]}=e;return ze(t,{loc:{start:n},cause:e})}return e}function en(e){let t;try{t=We(e,Kt)}catch(n){throw Zt(n)}return t.comments=zt(t),t}var tn={parse:en,astFormat:"graphql",hasPragma:ke,locStart:J,locEnd:X};var Ke=[{linguistLanguageId:139,name:"GraphQL",type:"data",color:"#e10098",extensions:[".graphql",".gql",".graphqls"],tmScope:"source.graphql",aceMode:"text",parsers:["graphql"],vscodeLanguageIds:["graphql"]}];var Ze={bracketSpacing:{category:"Common",type:"boolean",default:!0,description:"Print spaces between brackets.",oppositeDescription:"Do not print spaces between brackets."},singleQuote:{category:"Common",type:"boolean",default:!1,description:"Use single quotes instead of double quotes."},proseWrap:{category:"Common",type:"choice",default:"preserve",description:"How to wrap prose.",choices:[{value:"always",description:"Wrap prose if it exceeds the print width."},{value:"never",description:"Do not wrap prose."},{value:"preserve",description:"Wrap prose as-is."}]},bracketSameLine:{category:"Common",type:"boolean",default:!1,description:"Put > of opening tags on the last line instead of on a new line."},singleAttributePerLine:{category:"Common",type:"boolean",default:!1,description:"Enforce single attribute per line in HTML, Vue and JSX."}};var nn={bracketSpacing:Ze.bracketSpacing},et=nn;var rn={graphql:Re};var pr=Te;export{pr as default,Ke as languages,et as options,ie as parsers,rn as printers}; +spurious results.`)}}return!1};var M=class{constructor(t,n="GraphQL request",r={line:1,column:1}){typeof t=="string"||Z(!1,`Body must be a string. Received: ${ee(t)}.`),this.body=t,this.name=n,this.locationOffset=r,this.locationOffset.line>0||Z(!1,"line in locationOffset is 1-indexed and must be positive."),this.locationOffset.column>0||Z(!1,"column in locationOffset is 1-indexed and must be positive.")}get[Symbol.toStringTag](){return"Source"}};function ze(e){return He(e,M)}function Ke(e,t){return new me(e,t).parseDocument()}var me=class{constructor(t,n={}){let r=ze(t)?t:new M(t);this._lexer=new z(r),this._options=n,this._tokenCounter=0}parseName(){let t=this.expectToken(o.NAME);return this.node(t,{kind:c.NAME,value:t.value})}parseDocument(){return this.node(this._lexer.token,{kind:c.DOCUMENT,definitions:this.many(o.SOF,this.parseDefinition,o.EOF)})}parseDefinition(){if(this.peek(o.BRACE_L))return this.parseOperationDefinition();let t=this.peekDescription(),n=t?this._lexer.lookahead():this._lexer.token;if(n.kind===o.NAME){switch(n.value){case"schema":return this.parseSchemaDefinition();case"scalar":return this.parseScalarTypeDefinition();case"type":return this.parseObjectTypeDefinition();case"interface":return this.parseInterfaceTypeDefinition();case"union":return this.parseUnionTypeDefinition();case"enum":return this.parseEnumTypeDefinition();case"input":return this.parseInputObjectTypeDefinition();case"directive":return this.parseDirectiveDefinition()}if(t)throw d(this._lexer.source,this._lexer.token.start,"Unexpected description, descriptions are supported only on type definitions.");switch(n.value){case"query":case"mutation":case"subscription":return this.parseOperationDefinition();case"fragment":return this.parseFragmentDefinition();case"extend":return this.parseTypeSystemExtension()}}throw this.unexpected(n)}parseOperationDefinition(){let t=this._lexer.token;if(this.peek(o.BRACE_L))return this.node(t,{kind:c.OPERATION_DEFINITION,operation:S.QUERY,name:void 0,variableDefinitions:[],directives:[],selectionSet:this.parseSelectionSet()});let n=this.parseOperationType(),r;return this.peek(o.NAME)&&(r=this.parseName()),this.node(t,{kind:c.OPERATION_DEFINITION,operation:n,name:r,variableDefinitions:this.parseVariableDefinitions(),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet()})}parseOperationType(){let t=this.expectToken(o.NAME);switch(t.value){case"query":return S.QUERY;case"mutation":return S.MUTATION;case"subscription":return S.SUBSCRIPTION}throw this.unexpected(t)}parseVariableDefinitions(){return this.optionalMany(o.PAREN_L,this.parseVariableDefinition,o.PAREN_R)}parseVariableDefinition(){return this.node(this._lexer.token,{kind:c.VARIABLE_DEFINITION,variable:this.parseVariable(),type:(this.expectToken(o.COLON),this.parseTypeReference()),defaultValue:this.expectOptionalToken(o.EQUALS)?this.parseConstValueLiteral():void 0,directives:this.parseConstDirectives()})}parseVariable(){let t=this._lexer.token;return this.expectToken(o.DOLLAR),this.node(t,{kind:c.VARIABLE,name:this.parseName()})}parseSelectionSet(){return this.node(this._lexer.token,{kind:c.SELECTION_SET,selections:this.many(o.BRACE_L,this.parseSelection,o.BRACE_R)})}parseSelection(){return this.peek(o.SPREAD)?this.parseFragment():this.parseField()}parseField(){let t=this._lexer.token,n=this.parseName(),r,i;return this.expectOptionalToken(o.COLON)?(r=n,i=this.parseName()):i=n,this.node(t,{kind:c.FIELD,alias:r,name:i,arguments:this.parseArguments(!1),directives:this.parseDirectives(!1),selectionSet:this.peek(o.BRACE_L)?this.parseSelectionSet():void 0})}parseArguments(t){let n=t?this.parseConstArgument:this.parseArgument;return this.optionalMany(o.PAREN_L,n,o.PAREN_R)}parseArgument(t=!1){let n=this._lexer.token,r=this.parseName();return this.expectToken(o.COLON),this.node(n,{kind:c.ARGUMENT,name:r,value:this.parseValueLiteral(t)})}parseConstArgument(){return this.parseArgument(!0)}parseFragment(){let t=this._lexer.token;this.expectToken(o.SPREAD);let n=this.expectOptionalKeyword("on");return!n&&this.peek(o.NAME)?this.node(t,{kind:c.FRAGMENT_SPREAD,name:this.parseFragmentName(),directives:this.parseDirectives(!1)}):this.node(t,{kind:c.INLINE_FRAGMENT,typeCondition:n?this.parseNamedType():void 0,directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet()})}parseFragmentDefinition(){let t=this._lexer.token;return this.expectKeyword("fragment"),this._options.allowLegacyFragmentVariables===!0?this.node(t,{kind:c.FRAGMENT_DEFINITION,name:this.parseFragmentName(),variableDefinitions:this.parseVariableDefinitions(),typeCondition:(this.expectKeyword("on"),this.parseNamedType()),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet()}):this.node(t,{kind:c.FRAGMENT_DEFINITION,name:this.parseFragmentName(),typeCondition:(this.expectKeyword("on"),this.parseNamedType()),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet()})}parseFragmentName(){if(this._lexer.token.value==="on")throw this.unexpected();return this.parseName()}parseValueLiteral(t){let n=this._lexer.token;switch(n.kind){case o.BRACKET_L:return this.parseList(t);case o.BRACE_L:return this.parseObject(t);case o.INT:return this.advanceLexer(),this.node(n,{kind:c.INT,value:n.value});case o.FLOAT:return this.advanceLexer(),this.node(n,{kind:c.FLOAT,value:n.value});case o.STRING:case o.BLOCK_STRING:return this.parseStringLiteral();case o.NAME:switch(this.advanceLexer(),n.value){case"true":return this.node(n,{kind:c.BOOLEAN,value:!0});case"false":return this.node(n,{kind:c.BOOLEAN,value:!1});case"null":return this.node(n,{kind:c.NULL});default:return this.node(n,{kind:c.ENUM,value:n.value})}case o.DOLLAR:if(t)if(this.expectToken(o.DOLLAR),this._lexer.token.kind===o.NAME){let r=this._lexer.token.value;throw d(this._lexer.source,n.start,`Unexpected variable "$${r}" in constant value.`)}else throw this.unexpected(n);return this.parseVariable();default:throw this.unexpected()}}parseConstValueLiteral(){return this.parseValueLiteral(!0)}parseStringLiteral(){let t=this._lexer.token;return this.advanceLexer(),this.node(t,{kind:c.STRING,value:t.value,block:t.kind===o.BLOCK_STRING})}parseList(t){let n=()=>this.parseValueLiteral(t);return this.node(this._lexer.token,{kind:c.LIST,values:this.any(o.BRACKET_L,n,o.BRACKET_R)})}parseObject(t){let n=()=>this.parseObjectField(t);return this.node(this._lexer.token,{kind:c.OBJECT,fields:this.any(o.BRACE_L,n,o.BRACE_R)})}parseObjectField(t){let n=this._lexer.token,r=this.parseName();return this.expectToken(o.COLON),this.node(n,{kind:c.OBJECT_FIELD,name:r,value:this.parseValueLiteral(t)})}parseDirectives(t){let n=[];for(;this.peek(o.AT);)n.push(this.parseDirective(t));return n}parseConstDirectives(){return this.parseDirectives(!0)}parseDirective(t){let n=this._lexer.token;return this.expectToken(o.AT),this.node(n,{kind:c.DIRECTIVE,name:this.parseName(),arguments:this.parseArguments(t)})}parseTypeReference(){let t=this._lexer.token,n;if(this.expectOptionalToken(o.BRACKET_L)){let r=this.parseTypeReference();this.expectToken(o.BRACKET_R),n=this.node(t,{kind:c.LIST_TYPE,type:r})}else n=this.parseNamedType();return this.expectOptionalToken(o.BANG)?this.node(t,{kind:c.NON_NULL_TYPE,type:n}):n}parseNamedType(){return this.node(this._lexer.token,{kind:c.NAMED_TYPE,name:this.parseName()})}peekDescription(){return this.peek(o.STRING)||this.peek(o.BLOCK_STRING)}parseDescription(){if(this.peekDescription())return this.parseStringLiteral()}parseSchemaDefinition(){let t=this._lexer.token,n=this.parseDescription();this.expectKeyword("schema");let r=this.parseConstDirectives(),i=this.many(o.BRACE_L,this.parseOperationTypeDefinition,o.BRACE_R);return this.node(t,{kind:c.SCHEMA_DEFINITION,description:n,directives:r,operationTypes:i})}parseOperationTypeDefinition(){let t=this._lexer.token,n=this.parseOperationType();this.expectToken(o.COLON);let r=this.parseNamedType();return this.node(t,{kind:c.OPERATION_TYPE_DEFINITION,operation:n,type:r})}parseScalarTypeDefinition(){let t=this._lexer.token,n=this.parseDescription();this.expectKeyword("scalar");let r=this.parseName(),i=this.parseConstDirectives();return this.node(t,{kind:c.SCALAR_TYPE_DEFINITION,description:n,name:r,directives:i})}parseObjectTypeDefinition(){let t=this._lexer.token,n=this.parseDescription();this.expectKeyword("type");let r=this.parseName(),i=this.parseImplementsInterfaces(),s=this.parseConstDirectives(),a=this.parseFieldsDefinition();return this.node(t,{kind:c.OBJECT_TYPE_DEFINITION,description:n,name:r,interfaces:i,directives:s,fields:a})}parseImplementsInterfaces(){return this.expectOptionalKeyword("implements")?this.delimitedMany(o.AMP,this.parseNamedType):[]}parseFieldsDefinition(){return this.optionalMany(o.BRACE_L,this.parseFieldDefinition,o.BRACE_R)}parseFieldDefinition(){let t=this._lexer.token,n=this.parseDescription(),r=this.parseName(),i=this.parseArgumentDefs();this.expectToken(o.COLON);let s=this.parseTypeReference(),a=this.parseConstDirectives();return this.node(t,{kind:c.FIELD_DEFINITION,description:n,name:r,arguments:i,type:s,directives:a})}parseArgumentDefs(){return this.optionalMany(o.PAREN_L,this.parseInputValueDef,o.PAREN_R)}parseInputValueDef(){let t=this._lexer.token,n=this.parseDescription(),r=this.parseName();this.expectToken(o.COLON);let i=this.parseTypeReference(),s;this.expectOptionalToken(o.EQUALS)&&(s=this.parseConstValueLiteral());let a=this.parseConstDirectives();return this.node(t,{kind:c.INPUT_VALUE_DEFINITION,description:n,name:r,type:i,defaultValue:s,directives:a})}parseInterfaceTypeDefinition(){let t=this._lexer.token,n=this.parseDescription();this.expectKeyword("interface");let r=this.parseName(),i=this.parseImplementsInterfaces(),s=this.parseConstDirectives(),a=this.parseFieldsDefinition();return this.node(t,{kind:c.INTERFACE_TYPE_DEFINITION,description:n,name:r,interfaces:i,directives:s,fields:a})}parseUnionTypeDefinition(){let t=this._lexer.token,n=this.parseDescription();this.expectKeyword("union");let r=this.parseName(),i=this.parseConstDirectives(),s=this.parseUnionMemberTypes();return this.node(t,{kind:c.UNION_TYPE_DEFINITION,description:n,name:r,directives:i,types:s})}parseUnionMemberTypes(){return this.expectOptionalToken(o.EQUALS)?this.delimitedMany(o.PIPE,this.parseNamedType):[]}parseEnumTypeDefinition(){let t=this._lexer.token,n=this.parseDescription();this.expectKeyword("enum");let r=this.parseName(),i=this.parseConstDirectives(),s=this.parseEnumValuesDefinition();return this.node(t,{kind:c.ENUM_TYPE_DEFINITION,description:n,name:r,directives:i,values:s})}parseEnumValuesDefinition(){return this.optionalMany(o.BRACE_L,this.parseEnumValueDefinition,o.BRACE_R)}parseEnumValueDefinition(){let t=this._lexer.token,n=this.parseDescription(),r=this.parseEnumValueName(),i=this.parseConstDirectives();return this.node(t,{kind:c.ENUM_VALUE_DEFINITION,description:n,name:r,directives:i})}parseEnumValueName(){if(this._lexer.token.value==="true"||this._lexer.token.value==="false"||this._lexer.token.value==="null")throw d(this._lexer.source,this._lexer.token.start,`${ne(this._lexer.token)} is reserved and cannot be used for an enum value.`);return this.parseName()}parseInputObjectTypeDefinition(){let t=this._lexer.token,n=this.parseDescription();this.expectKeyword("input");let r=this.parseName(),i=this.parseConstDirectives(),s=this.parseInputFieldsDefinition();return this.node(t,{kind:c.INPUT_OBJECT_TYPE_DEFINITION,description:n,name:r,directives:i,fields:s})}parseInputFieldsDefinition(){return this.optionalMany(o.BRACE_L,this.parseInputValueDef,o.BRACE_R)}parseTypeSystemExtension(){let t=this._lexer.lookahead();if(t.kind===o.NAME)switch(t.value){case"schema":return this.parseSchemaExtension();case"scalar":return this.parseScalarTypeExtension();case"type":return this.parseObjectTypeExtension();case"interface":return this.parseInterfaceTypeExtension();case"union":return this.parseUnionTypeExtension();case"enum":return this.parseEnumTypeExtension();case"input":return this.parseInputObjectTypeExtension()}throw this.unexpected(t)}parseSchemaExtension(){let t=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("schema");let n=this.parseConstDirectives(),r=this.optionalMany(o.BRACE_L,this.parseOperationTypeDefinition,o.BRACE_R);if(n.length===0&&r.length===0)throw this.unexpected();return this.node(t,{kind:c.SCHEMA_EXTENSION,directives:n,operationTypes:r})}parseScalarTypeExtension(){let t=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("scalar");let n=this.parseName(),r=this.parseConstDirectives();if(r.length===0)throw this.unexpected();return this.node(t,{kind:c.SCALAR_TYPE_EXTENSION,name:n,directives:r})}parseObjectTypeExtension(){let t=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("type");let n=this.parseName(),r=this.parseImplementsInterfaces(),i=this.parseConstDirectives(),s=this.parseFieldsDefinition();if(r.length===0&&i.length===0&&s.length===0)throw this.unexpected();return this.node(t,{kind:c.OBJECT_TYPE_EXTENSION,name:n,interfaces:r,directives:i,fields:s})}parseInterfaceTypeExtension(){let t=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("interface");let n=this.parseName(),r=this.parseImplementsInterfaces(),i=this.parseConstDirectives(),s=this.parseFieldsDefinition();if(r.length===0&&i.length===0&&s.length===0)throw this.unexpected();return this.node(t,{kind:c.INTERFACE_TYPE_EXTENSION,name:n,interfaces:r,directives:i,fields:s})}parseUnionTypeExtension(){let t=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("union");let n=this.parseName(),r=this.parseConstDirectives(),i=this.parseUnionMemberTypes();if(r.length===0&&i.length===0)throw this.unexpected();return this.node(t,{kind:c.UNION_TYPE_EXTENSION,name:n,directives:r,types:i})}parseEnumTypeExtension(){let t=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("enum");let n=this.parseName(),r=this.parseConstDirectives(),i=this.parseEnumValuesDefinition();if(r.length===0&&i.length===0)throw this.unexpected();return this.node(t,{kind:c.ENUM_TYPE_EXTENSION,name:n,directives:r,values:i})}parseInputObjectTypeExtension(){let t=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("input");let n=this.parseName(),r=this.parseConstDirectives(),i=this.parseInputFieldsDefinition();if(r.length===0&&i.length===0)throw this.unexpected();return this.node(t,{kind:c.INPUT_OBJECT_TYPE_EXTENSION,name:n,directives:r,fields:i})}parseDirectiveDefinition(){let t=this._lexer.token,n=this.parseDescription();this.expectKeyword("directive"),this.expectToken(o.AT);let r=this.parseName(),i=this.parseArgumentDefs(),s=this.expectOptionalKeyword("repeatable");this.expectKeyword("on");let a=this.parseDirectiveLocations();return this.node(t,{kind:c.DIRECTIVE_DEFINITION,description:n,name:r,arguments:i,repeatable:s,locations:a})}parseDirectiveLocations(){return this.delimitedMany(o.PIPE,this.parseDirectiveLocation)}parseDirectiveLocation(){let t=this._lexer.token,n=this.parseName();if(Object.prototype.hasOwnProperty.call(H,n.value))return n;throw this.unexpected(t)}node(t,n){return this._options.noLocation!==!0&&(n.loc=new J(t,this._lexer.lastToken,this._lexer.source)),n}peek(t){return this._lexer.token.kind===t}expectToken(t){let n=this._lexer.token;if(n.kind===t)return this.advanceLexer(),n;throw d(this._lexer.source,n.start,`Expected ${Ze(t)}, found ${ne(n)}.`)}expectOptionalToken(t){return this._lexer.token.kind===t?(this.advanceLexer(),!0):!1}expectKeyword(t){let n=this._lexer.token;if(n.kind===o.NAME&&n.value===t)this.advanceLexer();else throw d(this._lexer.source,n.start,`Expected "${t}", found ${ne(n)}.`)}expectOptionalKeyword(t){let n=this._lexer.token;return n.kind===o.NAME&&n.value===t?(this.advanceLexer(),!0):!1}unexpected(t){let n=t??this._lexer.token;return d(this._lexer.source,n.start,`Unexpected ${ne(n)}.`)}any(t,n,r){this.expectToken(t);let i=[];for(;!this.expectOptionalToken(r);)i.push(n.call(this));return i}optionalMany(t,n,r){if(this.expectOptionalToken(t)){let i=[];do i.push(n.call(this));while(!this.expectOptionalToken(r));return i}return[]}many(t,n,r){this.expectToken(t);let i=[];do i.push(n.call(this));while(!this.expectOptionalToken(r));return i}delimitedMany(t,n){this.expectOptionalToken(t);let r=[];do r.push(n.call(this));while(this.expectOptionalToken(t));return r}advanceLexer(){let{maxTokens:t}=this._options,n=this._lexer.advance();if(t!==void 0&&n.kind!==o.EOF&&(++this._tokenCounter,this._tokenCounter>t))throw d(this._lexer.source,n.start,`Document contains more that ${t} tokens. Parsing aborted.`)}};function ne(e){let t=e.value;return Ze(e.kind)+(t!=null?` "${t}"`:"")}function Ze(e){return qe(e)?`"${e}"`:e}function Kt(e,t){let n=new SyntaxError(e+" ("+t.loc.start.line+":"+t.loc.start.column+")");return Object.assign(n,t)}var et=Kt;function Zt(e){let t=[],{startToken:n,endToken:r}=e.loc;for(let i=n;i!==r;i=i.next)i.kind==="Comment"&&t.push({...i,loc:{start:i.start,end:i.end}});return t}var en={allowLegacyFragmentVariables:!0};function tn(e){if((e==null?void 0:e.name)==="GraphQLError"){let{message:t,locations:[n]}=e;return et(t,{loc:{start:n},cause:e})}return e}function nn(e){let t;try{t=Ke(e,en)}catch(n){throw tn(n)}return t.comments=Zt(t),t}var rn={parse:nn,astFormat:"graphql",hasPragma:Ce,locStart:q,locEnd:Q};var sn={graphql:Re};var fr=Te;export{fr as default,Pe as languages,we as options,Ee as parsers,sn as printers}; diff --git a/node_modules/prettier/plugins/html.js b/node_modules/prettier/plugins/html.js index c08672982e..c9844c38ac 100644 --- a/node_modules/prettier/plugins/html.js +++ b/node_modules/prettier/plugins/html.js @@ -1,19 +1,22 @@ -(function(f){function e(){var i=f();return i.default||i}if(typeof exports=="object"&&typeof module=="object")module.exports=e();else if(typeof define=="function"&&define.amd)define(e);else{var t=typeof globalThis<"u"?globalThis:typeof global<"u"?global:typeof self<"u"?self:this||{};t.prettierPlugins=t.prettierPlugins||{},t.prettierPlugins.html=e()}})(function(){"use strict";var Jt=Object.defineProperty;var Ps=Object.getOwnPropertyDescriptor;var Is=Object.getOwnPropertyNames;var Rs=Object.prototype.hasOwnProperty;var qr=(t,e)=>{for(var r in e)Jt(t,r,{get:e[r],enumerable:!0})},$s=(t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let s of Is(e))!Rs.call(t,s)&&s!==r&&Jt(t,s,{get:()=>e[s],enumerable:!(n=Ps(e,s))||n.enumerable});return t};var Ms=t=>$s(Jt({},"__esModule",{value:!0}),t);var Hr=(t,e,r)=>{if(!e.has(t))throw TypeError("Cannot "+r)};var z=(t,e,r)=>(Hr(t,e,"read from private field"),r?r.call(t):e.get(t)),Vr=(t,e,r)=>{if(e.has(t))throw TypeError("Cannot add the same private member more than once");e instanceof WeakSet?e.add(t):e.set(t,r)},Ur=(t,e,r,n)=>(Hr(t,e,"write to private field"),n?n.call(t,r):e.set(t,r),r);var cu={};qr(cu,{languages:()=>Bs,options:()=>Fs,parsers:()=>Qt,printers:()=>lu});var Os=(t,e,r,n)=>{if(!(t&&e==null))return e.replaceAll?e.replaceAll(r,n):r.global?e.replace(r,n):e.split(r).join(n)},v=Os;var Ae="string",_e="array",De="cursor",ne="indent",se="align",ve="trim",X="group",ie="fill",ae="if-break",ue="indent-if-break",ye="line-suffix",be="line-suffix-boundary",V="line",we="label",oe="break-parent",lt=new Set([De,ne,se,ve,X,ie,ae,ue,ye,be,V,we,oe]);function qs(t){if(typeof t=="string")return Ae;if(Array.isArray(t))return _e;if(!t)return;let{type:e}=t;if(lt.has(e))return e}var Te=qs;var Hs=t=>new Intl.ListFormat("en-US",{type:"disjunction"}).format(t);function Vs(t){let e=t===null?"null":typeof t;if(e!=="string"&&e!=="object")return`Unexpected doc '${e}', -Expected it to be 'string' or 'object'.`;if(Te(t))throw new Error("doc is valid.");let r=Object.prototype.toString.call(t);if(r!=="[object Object]")return`Unexpected doc '${r}'.`;let n=Hs([...lt].map(s=>`'${s}'`));return`Unexpected doc.type '${t.type}'. -Expected it to be ${n}.`}var Zt=class extends Error{name="InvalidDocError";constructor(e){super(Vs(e)),this.doc=e}},ct=Zt;var Wr=()=>{},Q=Wr,pt=Wr;function U(t){return Q(t),{type:ne,contents:t}}function Gr(t,e){return Q(e),{type:se,contents:e,n:t}}function D(t,e={}){return Q(t),pt(e.expandedStates,!0),{type:X,id:e.id,contents:t,break:!!e.shouldBreak,expandedStates:e.expandedStates}}function zr(t){return Gr(Number.NEGATIVE_INFINITY,t)}function Yr(t){return Gr({type:"root"},t)}function ht(t){return pt(t),{type:ie,parts:t}}function le(t,e="",r={}){return Q(t),e!==""&&Q(e),{type:ae,breakContents:t,flatContents:e,groupId:r.groupId}}function jr(t,e){return Q(t),{type:ue,contents:t,groupId:e.groupId,negate:e.negate}}var J={type:oe};var Us={type:V,hard:!0},Ws={type:V,hard:!0,literal:!0},_={type:V},x={type:V,soft:!0},S=[Us,J],Kr=[Ws,J];function Z(t,e){Q(t),pt(e);let r=[];for(let n=0;n{if(!(t&&e==null))return Array.isArray(e)||typeof e=="string"?e[r<0?e.length+r:r]:e.at(r)},xe=Gs;function ft(t,e){if(typeof t=="string")return e(t);let r=new Map;return n(t);function n(i){if(r.has(i))return r.get(i);let a=s(i);return r.set(i,a),a}function s(i){switch(Te(i)){case _e:return e(i.map(n));case ie:return e({...i,parts:i.parts.map(n)});case ae:return e({...i,breakContents:n(i.breakContents),flatContents:n(i.flatContents)});case X:{let{expandedStates:a,contents:u}=i;return a?(a=a.map(n),u=a[0]):u=n(u),e({...i,contents:u,expandedStates:a})}case se:case ne:case ue:case we:case ye:return e({...i,contents:n(i.contents)});case Ae:case De:case ve:case be:case V:case oe:return e(i);default:throw new ct(i)}}}function zs(t){switch(Te(t)){case ie:if(t.parts.every(e=>e===""))return"";break;case X:if(!t.contents&&!t.id&&!t.break&&!t.expandedStates)return"";if(t.contents.type===X&&t.contents.id===t.id&&t.contents.break===t.break&&t.contents.expandedStates===t.expandedStates)return t.contents;break;case se:case ne:case ue:case ye:if(!t.contents)return"";break;case ae:if(!t.flatContents&&!t.breakContents)return"";break;case _e:{let e=[];for(let r of t){if(!r)continue;let[n,...s]=Array.isArray(r)?r:[r];typeof n=="string"&&typeof xe(!1,e,-1)=="string"?e[e.length-1]+=n:e.push(n),e.push(...s)}return e.length===0?"":e.length===1?e[0]:e}case Ae:case De:case ve:case be:case V:case we:case oe:break;default:throw new ct(t)}return t}function Xr(t){return ft(t,e=>zs(e))}function T(t,e=Kr){return ft(t,r=>typeof r=="string"?Z(e,r.split(` -`)):r)}var er=class extends Error{name="UnexpectedNodeError";constructor(e,r,n="type"){super(`Unexpected ${r} node ${n}: ${JSON.stringify(e[n])}.`),this.node=e}},Qr=er;var mt="'",Jr='"';function Ys(t,e){let r=e===!0||e===mt?mt:Jr,n=r===mt?Jr:mt,s=0,i=0;for(let a of t)a===r?s++:a===n&&i++;return s>i?n:r}var Zr=Ys;function js(t){return(t==null?void 0:t.type)==="front-matter"}var ke=js;var Ks=new Set(["sourceSpan","startSourceSpan","endSourceSpan","nameSpan","valueSpan","keySpan","tagDefinition","tokens","valueTokens"]);function en(t,e){if(t.type==="text"||t.type==="comment"||ke(t)||t.type==="yaml"||t.type==="toml")return null;t.type==="attribute"&&delete e.value,t.type==="docType"&&delete e.value}en.ignoredProperties=Ks;var tn=en;var Xs=t=>t.split(/[/\\]/).pop();function rn(t,e){if(!e)return;let r=Xs(e).toLowerCase();return t.find(n=>{var s,i;return((s=n.extensions)==null?void 0:s.some(a=>r.endsWith(a)))||((i=n.filenames)==null?void 0:i.some(a=>a.toLowerCase()===r))})}function Qs(t,e){if(e)return t.find(({name:r})=>r.toLowerCase()===e)??t.find(({aliases:r})=>r==null?void 0:r.includes(e))??t.find(({extensions:r})=>r==null?void 0:r.includes(`.${e}`))}function Js(t,e){let r=t.plugins.flatMap(s=>s.languages??[]),n=Qs(r,e.language)??rn(r,e.physicalFile)??rn(r,e.file)??(e.physicalFile,void 0);return n==null?void 0:n.parsers[0]}var Be=Js;var nn="inline",sn={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",search:"block"},an="normal",un={listing:"pre",plaintext:"pre",pre:"pre",xmp:"pre",nobr:"nowrap",table:"initial",textarea:"pre-wrap"};function tr(t){if(typeof t!="string")throw new TypeError("Expected a string");return t.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}var R,rr=class{constructor(e){Vr(this,R,void 0);Ur(this,R,new Set(e))}getLeadingWhitespaceCount(e){let r=z(this,R),n=0;for(let s=0;s=0&&r.has(e.charAt(s));s--)n++;return n}getLeadingWhitespace(e){let r=this.getLeadingWhitespaceCount(e);return e.slice(0,r)}getTrailingWhitespace(e){let r=this.getTrailingWhitespaceCount(e);return e.slice(e.length-r)}hasLeadingWhitespace(e){return z(this,R).has(e.charAt(0))}hasTrailingWhitespace(e){return z(this,R).has(xe(!1,e,-1))}trimStart(e){let r=this.getLeadingWhitespaceCount(e);return e.slice(r)}trimEnd(e){let r=this.getTrailingWhitespaceCount(e);return e.slice(0,e.length-r)}trim(e){return this.trimEnd(this.trimStart(e))}split(e,r=!1){let n=`[${tr([...z(this,R)].join(""))}]+`,s=new RegExp(r?`(${n})`:n);return e.split(s)}hasWhitespaceCharacter(e){let r=z(this,R);return Array.prototype.some.call(e,n=>r.has(n))}hasNonWhitespaceCharacter(e){let r=z(this,R);return Array.prototype.some.call(e,n=>!r.has(n))}isWhitespaceOnly(e){let r=z(this,R);return Array.prototype.every.call(e,n=>r.has(n))}};R=new WeakMap;var on=rr;var Zs=[" ",` -`,"\f","\r"," "],ei=new on(Zs),Y=ei;function ti(t){return t.type==="element"&&!t.hasExplicitNamespace&&!["html","svg"].includes(t.namespace)}var ce=ti;var ri=t=>v(!1,t,/^[\t\f\r ]*\n/g,""),nr=t=>ri(Y.trimEnd(t)),ln=t=>{let e=t,r=Y.getLeadingWhitespace(e);r&&(e=e.slice(r.length));let n=Y.getTrailingWhitespace(e);return n&&(e=e.slice(0,-n.length)),{leadingWhitespace:r,trailingWhitespace:n,text:e}};function dt(t,e){return!!(t.type==="ieConditionalComment"&&t.lastChild&&!t.lastChild.isSelfClosing&&!t.lastChild.endSourceSpan||t.type==="ieConditionalComment"&&!t.complete||pe(t)&&t.children.some(r=>r.type!=="text"&&r.type!=="interpolation")||St(t,e)&&!M(t)&&t.type!=="interpolation")}function He(t){return t.type==="attribute"||!t.parent||!t.prev?!1:ni(t.prev)}function ni(t){return t.type==="comment"&&t.value.trim()==="prettier-ignore"}function L(t){return t.type==="text"||t.type==="comment"}function M(t){return t.type==="element"&&(t.fullName==="script"||t.fullName==="style"||t.fullName==="svg:style"||t.fullName==="svg:script"||ce(t)&&(t.name==="script"||t.name==="style"))}function cn(t){return t.children&&!M(t)}function pn(t){return M(t)||t.type==="interpolation"||sr(t)}function sr(t){return Dn(t).startsWith("pre")}function hn(t,e){var s,i;let r=n();if(r&&!t.prev&&((i=(s=t.parent)==null?void 0:s.tagDefinition)!=null&&i.ignoreFirstLf))return t.type==="interpolation";return r;function n(){return ke(t)?!1:(t.type==="text"||t.type==="interpolation")&&t.prev&&(t.prev.type==="text"||t.prev.type==="interpolation")?!0:!t.parent||t.parent.cssDisplay==="none"?!1:pe(t.parent)?!0:!(!t.prev&&(t.parent.type==="root"||pe(t)&&t.parent||M(t.parent)||We(t.parent,e)||!li(t.parent.cssDisplay))||t.prev&&!hi(t.prev.cssDisplay))}}function fn(t,e){return ke(t)?!1:(t.type==="text"||t.type==="interpolation")&&t.next&&(t.next.type==="text"||t.next.type==="interpolation")?!0:!t.parent||t.parent.cssDisplay==="none"?!1:pe(t.parent)?!0:!(!t.next&&(t.parent.type==="root"||pe(t)&&t.parent||M(t.parent)||We(t.parent,e)||!ci(t.parent.cssDisplay))||t.next&&!pi(t.next.cssDisplay))}function mn(t){return fi(t.cssDisplay)&&!M(t)}function Ve(t){return ke(t)||t.next&&t.sourceSpan.end&&t.sourceSpan.end.line+10&&(["body","script","style"].includes(t.name)||t.children.some(e=>ii(e)))||t.firstChild&&t.firstChild===t.lastChild&&t.firstChild.type!=="text"&&Cn(t.firstChild)&&(!t.lastChild.isTrailingSpaceSensitive||Sn(t.lastChild))}function ir(t){return t.type==="element"&&t.children.length>0&&(["html","head","ul","ol","select"].includes(t.name)||t.cssDisplay.startsWith("table")&&t.cssDisplay!=="table-cell")}function gt(t){return En(t)||t.prev&&si(t.prev)||gn(t)}function si(t){return En(t)||t.type==="element"&&t.fullName==="br"||gn(t)}function gn(t){return Cn(t)&&Sn(t)}function Cn(t){return t.hasLeadingSpaces&&(t.prev?t.prev.sourceSpan.end.linet.sourceSpan.end.line:t.parent.type==="root"||t.parent.endSourceSpan&&t.parent.endSourceSpan.start.line>t.sourceSpan.end.line)}function En(t){switch(t.type){case"ieConditionalComment":case"comment":case"directive":return!0;case"element":return["script","select"].includes(t.name)}return!1}function Ct(t){return t.lastChild?Ct(t.lastChild):t}function ii(t){var e;return(e=t.children)==null?void 0:e.some(r=>r.type!=="text")}function An(t){if(t)switch(t){case"module":case"text/javascript":case"text/babel":case"application/javascript":return"babel";case"application/x-typescript":return"typescript";case"text/markdown":return"markdown";case"text/html":return"html";case"text/x-handlebars-template":return"glimmer";default:if(t.endsWith("json")||t.endsWith("importmap")||t==="speculationrules")return"json"}}function ai(t,e){let{name:r,attrMap:n}=t;if(r!=="script"||Object.prototype.hasOwnProperty.call(n,"src"))return;let{type:s,lang:i}=t.attrMap;return!i&&!s?"babel":Be(e,{language:i})??An(s)}function ui(t,e){if(!St(t,e))return;let{attrMap:r}=t;if(Object.prototype.hasOwnProperty.call(r,"src"))return;let{type:n,lang:s}=r;return Be(e,{language:s})??An(n)}function oi(t,e){if(t.name!=="style")return;let{lang:r}=t.attrMap;return r?Be(e,{language:r}):"css"}function ar(t,e){return ai(t,e)??oi(t,e)??ui(t,e)}function Ue(t){return t==="block"||t==="list-item"||t.startsWith("table")}function li(t){return!Ue(t)&&t!=="inline-block"}function ci(t){return!Ue(t)&&t!=="inline-block"}function pi(t){return!Ue(t)}function hi(t){return!Ue(t)}function fi(t){return!Ue(t)&&t!=="inline-block"}function pe(t){return Dn(t).startsWith("pre")}function mi(t,e){let r=t;for(;r;){if(e(r))return!0;r=r.parent}return!1}function _n(t,e){var n;if(he(t,e))return"block";if(((n=t.prev)==null?void 0:n.type)==="comment"){let s=t.prev.value.match(/^\s*display:\s*([a-z]+)\s*$/);if(s)return s[1]}let r=!1;if(t.type==="element"&&t.namespace==="svg")if(mi(t,s=>s.fullName==="svg:foreignObject"))r=!0;else return t.name==="svg"?"inline-block":"block";switch(e.htmlWhitespaceSensitivity){case"strict":return"inline";case"ignore":return"block";default:return t.type==="element"&&(!t.namespace||r||ce(t))&&sn[t.name]||nn}}function Dn(t){return t.type==="element"&&(!t.namespace||ce(t))&&un[t.name]||an}function di(t){let e=Number.POSITIVE_INFINITY;for(let r of t.split(` -`)){if(r.length===0)continue;let n=Y.getLeadingWhitespaceCount(r);if(n===0)return 0;r.length!==n&&n{throw TypeError(t)};var Jr=(t,e)=>{for(var r in e)lr(t,r,{get:e[r],enumerable:!0})},ai=(t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let s of si(e))!ii.call(t,s)&&s!==r&&lr(t,s,{get:()=>e[s],enumerable:!(n=ni(e,s))||n.enumerable});return t};var oi=t=>ai(lr({},"__esModule",{value:!0}),t);var Zr=(t,e,r)=>e.has(t)||Xr("Cannot "+r);var Q=(t,e,r)=>(Zr(t,e,"read from private field"),r?r.call(t):e.get(t)),en=(t,e,r)=>e.has(t)?Xr("Cannot add the same private member more than once"):e instanceof WeakSet?e.add(t):e.set(t,r),tn=(t,e,r,n)=>(Zr(t,e,"write to private field"),n?n.call(t,r):e.set(t,r),r);var Vo={};Jr(Vo,{languages:()=>Ds,options:()=>ys,parsers:()=>Yr,printers:()=>Ho});var ui=(t,e,r,n)=>{if(!(t&&e==null))return e.replaceAll?e.replaceAll(r,n):r.global?e.replace(r,n):e.split(r).join(n)},w=ui;var ke="string",Be="array",Le="cursor",ce="indent",pe="align",Fe="trim",te="group",he="fill",me="if-break",fe="indent-if-break",Ne="line-suffix",Pe="line-suffix-boundary",Y="line",Ie="label",de="break-parent",St=new Set([Le,ce,pe,Fe,te,he,me,fe,Ne,Pe,Y,Ie,de]);function li(t){if(typeof t=="string")return ke;if(Array.isArray(t))return Be;if(!t)return;let{type:e}=t;if(St.has(e))return e}var Re=li;var ci=t=>new Intl.ListFormat("en-US",{type:"disjunction"}).format(t);function pi(t){let e=t===null?"null":typeof t;if(e!=="string"&&e!=="object")return`Unexpected doc '${e}', +Expected it to be 'string' or 'object'.`;if(Re(t))throw new Error("doc is valid.");let r=Object.prototype.toString.call(t);if(r!=="[object Object]")return`Unexpected doc '${r}'.`;let n=ci([...St].map(s=>`'${s}'`));return`Unexpected doc.type '${t.type}'. +Expected it to be ${n}.`}var cr=class extends Error{name="InvalidDocError";constructor(e){super(pi(e)),this.doc=e}},_t=cr;var rn=()=>{},re=rn,Et=rn;function k(t){return re(t),{type:ce,contents:t}}function nn(t,e){return re(e),{type:pe,contents:e,n:t}}function _(t,e={}){return re(t),Et(e.expandedStates,!0),{type:te,id:e.id,contents:t,break:!!e.shouldBreak,expandedStates:e.expandedStates}}function sn(t){return nn(Number.NEGATIVE_INFINITY,t)}function an(t){return nn({type:"root"},t)}function At(t){return Et(t),{type:he,parts:t}}function ge(t,e="",r={}){return re(t),e!==""&&re(e),{type:me,breakContents:t,flatContents:e,groupId:r.groupId}}function on(t,e){return re(t),{type:fe,contents:t,groupId:e.groupId,negate:e.negate}}var ne={type:de};var hi={type:Y,hard:!0},mi={type:Y,hard:!0,literal:!0},E={type:Y},v={type:Y,soft:!0},S=[hi,ne],un=[mi,ne];function q(t,e){re(t),Et(e);let r=[];for(let n=0;n{if(!(t&&e==null))return Array.isArray(e)||typeof e=="string"?e[r<0?e.length+r:r]:e.at(r)},X=fi;function Dt(t,e){if(typeof t=="string")return e(t);let r=new Map;return n(t);function n(i){if(r.has(i))return r.get(i);let a=s(i);return r.set(i,a),a}function s(i){switch(Re(i)){case Be:return e(i.map(n));case he:return e({...i,parts:i.parts.map(n)});case me:return e({...i,breakContents:n(i.breakContents),flatContents:n(i.flatContents)});case te:{let{expandedStates:a,contents:o}=i;return a?(a=a.map(n),o=a[0]):o=n(o),e({...i,contents:o,expandedStates:a})}case pe:case ce:case fe:case Ie:case Ne:return e({...i,contents:n(i.contents)});case ke:case Le:case Fe:case Pe:case Y:case de:return e(i);default:throw new _t(i)}}}function di(t){switch(Re(t)){case he:if(t.parts.every(e=>e===""))return"";break;case te:if(!t.contents&&!t.id&&!t.break&&!t.expandedStates)return"";if(t.contents.type===te&&t.contents.id===t.id&&t.contents.break===t.break&&t.contents.expandedStates===t.expandedStates)return t.contents;break;case pe:case ce:case fe:case Ne:if(!t.contents)return"";break;case me:if(!t.flatContents&&!t.breakContents)return"";break;case Be:{let e=[];for(let r of t){if(!r)continue;let[n,...s]=Array.isArray(r)?r:[r];typeof n=="string"&&typeof X(!1,e,-1)=="string"?e[e.length-1]+=n:e.push(n),e.push(...s)}return e.length===0?"":e.length===1?e[0]:e}case ke:case Le:case Fe:case Pe:case Y:case Ie:case de:break;default:throw new _t(t)}return t}function ln(t){return Dt(t,e=>di(e))}function B(t,e=un){return Dt(t,r=>typeof r=="string"?q(e,r.split(` +`)):r)}var vt="'",cn='"';function gi(t,e){let r=e===!0||e===vt?vt:cn,n=r===vt?cn:vt,s=0,i=0;for(let a of t)a===r?s++:a===n&&i++;return s>i?n:r}var pn=gi;function pr(t){if(typeof t!="string")throw new TypeError("Expected a string");return t.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}var H,hr=class{constructor(e){en(this,H);tn(this,H,new Set(e))}getLeadingWhitespaceCount(e){let r=Q(this,H),n=0;for(let s=0;s=0&&r.has(e.charAt(s));s--)n++;return n}getLeadingWhitespace(e){let r=this.getLeadingWhitespaceCount(e);return e.slice(0,r)}getTrailingWhitespace(e){let r=this.getTrailingWhitespaceCount(e);return e.slice(e.length-r)}hasLeadingWhitespace(e){return Q(this,H).has(e.charAt(0))}hasTrailingWhitespace(e){return Q(this,H).has(X(!1,e,-1))}trimStart(e){let r=this.getLeadingWhitespaceCount(e);return e.slice(r)}trimEnd(e){let r=this.getTrailingWhitespaceCount(e);return e.slice(0,e.length-r)}trim(e){return this.trimEnd(this.trimStart(e))}split(e,r=!1){let n=`[${pr([...Q(this,H)].join(""))}]+`,s=new RegExp(r?`(${n})`:n,"u");return e.split(s)}hasWhitespaceCharacter(e){let r=Q(this,H);return Array.prototype.some.call(e,n=>r.has(n))}hasNonWhitespaceCharacter(e){let r=Q(this,H);return Array.prototype.some.call(e,n=>!r.has(n))}isWhitespaceOnly(e){let r=Q(this,H);return Array.prototype.every.call(e,n=>r.has(n))}};H=new WeakMap;var hn=hr;var Ci=[" ",` +`,"\f","\r"," "],Si=new hn(Ci),N=Si;var mr=class extends Error{name="UnexpectedNodeError";constructor(e,r,n="type"){super(`Unexpected ${r} node ${n}: ${JSON.stringify(e[n])}.`),this.node=e}},mn=mr;function _i(t){return(t==null?void 0:t.type)==="front-matter"}var $e=_i;var Ei=new Set(["sourceSpan","startSourceSpan","endSourceSpan","nameSpan","valueSpan","keySpan","tagDefinition","tokens","valueTokens","switchValueSourceSpan","expSourceSpan","valueSourceSpan"]),Ai=new Set(["if","else if","for","switch","case"]);function fn(t,e){var r;if(t.type==="text"||t.type==="comment"||$e(t)||t.type==="yaml"||t.type==="toml")return null;if(t.type==="attribute"&&delete e.value,t.type==="docType"&&delete e.value,t.type==="angularControlFlowBlock"&&((r=t.parameters)!=null&&r.children))for(let n of e.parameters.children)Ai.has(t.name)?delete n.expression:n.expression=n.expression.trim();t.type==="angularIcuExpression"&&(e.switchValue=t.switchValue.trim()),t.type==="angularLetDeclarationInitializer"&&delete e.value}fn.ignoredProperties=Ei;var dn=fn;async function Di(t,e){if(t.language==="yaml"){let r=t.value.trim(),n=r?await e(r,{parser:"yaml"}):"";return an([t.startDelimiter,t.explicitLanguage,S,n,n?S:"",t.endDelimiter])}}var gn=Di;function Ce(t,e=!0){return[k([v,t]),e?v:""]}function j(t,e){let r=t.type==="NGRoot"?t.node.type==="NGMicrosyntax"&&t.node.body.length===1&&t.node.body[0].type==="NGMicrosyntaxExpression"?t.node.body[0].expression:t.node:t.type==="JsExpressionRoot"?t.node:t;return r&&(r.type==="ObjectExpression"||r.type==="ArrayExpression"||(e.parser==="__vue_expression"||e.parser==="__vue_ts_expression")&&(r.type==="TemplateLiteral"||r.type==="StringLiteral"))}async function T(t,e,r,n){r={__isInHtmlAttribute:!0,__embeddedInHtml:!0,...r};let s=!0;n&&(r.__onHtmlBindingRoot=(a,o)=>{s=n(a,o)});let i=await e(t,r,e);return s?_(i):Ce(i)}function vi(t,e,r,n){let{node:s}=r,i=n.originalText.slice(s.sourceSpan.start.offset,s.sourceSpan.end.offset);return/^\s*$/u.test(i)?"":T(i,t,{parser:"__ng_directive",__isInHtmlAttribute:!1},j)}var Cn=vi;var yi=t=>String(t).split(/[/\\]/u).pop();function Sn(t,e){if(!e)return;let r=yi(e).toLowerCase();return t.find(({filenames:n})=>n==null?void 0:n.some(s=>s.toLowerCase()===r))??t.find(({extensions:n})=>n==null?void 0:n.some(s=>r.endsWith(s)))}function wi(t,e){if(e)return t.find(({name:r})=>r.toLowerCase()===e)??t.find(({aliases:r})=>r==null?void 0:r.includes(e))??t.find(({extensions:r})=>r==null?void 0:r.includes(`.${e}`))}function bi(t,e){let r=t.plugins.flatMap(s=>s.languages??[]),n=wi(r,e.language)??Sn(r,e.physicalFile)??Sn(r,e.file)??(e.physicalFile,void 0);return n==null?void 0:n.parsers[0]}var Oe=bi;var _n="inline",En={area:"none",base:"none",basefont:"none",datalist:"none",head:"none",link:"none",meta:"none",noembed:"none",noframes:"none",param:"block",rp:"none",script:"block",style:"none",template:"inline",title:"none",html:"block",body:"block",address:"block",blockquote:"block",center:"block",dialog:"block",div:"block",figure:"block",figcaption:"block",footer:"block",form:"block",header:"block",hr:"block",legend:"block",listing:"block",main:"block",p:"block",plaintext:"block",pre:"block",search:"block",xmp:"block",slot:"contents",ruby:"ruby",rt:"ruby-text",article:"block",aside:"block",h1:"block",h2:"block",h3:"block",h4:"block",h5:"block",h6:"block",hgroup:"block",nav:"block",section:"block",dir:"block",dd:"block",dl:"block",dt:"block",menu:"block",ol:"block",ul:"block",li:"list-item",table:"table",caption:"table-caption",colgroup:"table-column-group",col:"table-column",thead:"table-header-group",tbody:"table-row-group",tfoot:"table-footer-group",tr:"table-row",td:"table-cell",th:"table-cell",input:"inline-block",button:"inline-block",fieldset:"block",marquee:"inline-block",source:"block",track:"block",details:"block",summary:"block",meter:"inline-block",progress:"inline-block",object:"inline-block",video:"inline-block",audio:"inline-block",select:"inline-block",option:"block",optgroup:"block"},An="normal",Dn={listing:"pre",plaintext:"pre",pre:"pre",xmp:"pre",nobr:"nowrap",table:"initial",textarea:"pre-wrap"};function Ti(t){return t.type==="element"&&!t.hasExplicitNamespace&&!["html","svg"].includes(t.namespace)}var Se=Ti;var xi=t=>w(!1,t,/^[\t\f\r ]*\n/gu,""),fr=t=>xi(N.trimEnd(t)),vn=t=>{let e=t,r=N.getLeadingWhitespace(e);r&&(e=e.slice(r.length));let n=N.getTrailingWhitespace(e);return n&&(e=e.slice(0,-n.length)),{leadingWhitespace:r,trailingWhitespace:n,text:e}};function yt(t,e){return!!(t.type==="ieConditionalComment"&&t.lastChild&&!t.lastChild.isSelfClosing&&!t.lastChild.endSourceSpan||t.type==="ieConditionalComment"&&!t.complete||_e(t)&&t.children.some(r=>r.type!=="text"&&r.type!=="interpolation")||Tt(t,e)&&!U(t)&&t.type!=="interpolation")}function Ee(t){return t.type==="attribute"||!t.parent||!t.prev?!1:ki(t.prev)}function ki(t){return t.type==="comment"&&t.value.trim()==="prettier-ignore"}function $(t){return t.type==="text"||t.type==="comment"}function U(t){return t.type==="element"&&(t.fullName==="script"||t.fullName==="style"||t.fullName==="svg:style"||t.fullName==="svg:script"||Se(t)&&(t.name==="script"||t.name==="style"))}function yn(t){return t.children&&!U(t)}function wn(t){return U(t)||t.type==="interpolation"||dr(t)}function dr(t){return Rn(t).startsWith("pre")}function bn(t,e){var s,i;let r=n();if(r&&!t.prev&&((i=(s=t.parent)==null?void 0:s.tagDefinition)!=null&&i.ignoreFirstLf))return t.type==="interpolation";return r;function n(){return $e(t)||t.type==="angularControlFlowBlock"?!1:(t.type==="text"||t.type==="interpolation")&&t.prev&&(t.prev.type==="text"||t.prev.type==="interpolation")?!0:!t.parent||t.parent.cssDisplay==="none"?!1:_e(t.parent)?!0:!(!t.prev&&(t.parent.type==="root"||_e(t)&&t.parent||U(t.parent)||Je(t.parent,e)||!Ii(t.parent.cssDisplay))||t.prev&&!Oi(t.prev.cssDisplay))}}function Tn(t,e){return $e(t)||t.type==="angularControlFlowBlock"?!1:(t.type==="text"||t.type==="interpolation")&&t.next&&(t.next.type==="text"||t.next.type==="interpolation")?!0:!t.parent||t.parent.cssDisplay==="none"?!1:_e(t.parent)?!0:!(!t.next&&(t.parent.type==="root"||_e(t)&&t.parent||U(t.parent)||Je(t.parent,e)||!Ri(t.parent.cssDisplay))||t.next&&!$i(t.next.cssDisplay))}function xn(t){return Mi(t.cssDisplay)&&!U(t)}function Qe(t){return $e(t)||t.next&&t.sourceSpan.end&&t.sourceSpan.end.line+10&&(["body","script","style"].includes(t.name)||t.children.some(e=>Li(e)))||t.firstChild&&t.firstChild===t.lastChild&&t.firstChild.type!=="text"&&Ln(t.firstChild)&&(!t.lastChild.isTrailingSpaceSensitive||Fn(t.lastChild))}function gr(t){return t.type==="element"&&t.children.length>0&&(["html","head","ul","ol","select"].includes(t.name)||t.cssDisplay.startsWith("table")&&t.cssDisplay!=="table-cell")}function wt(t){return Nn(t)||t.prev&&Bi(t.prev)||Bn(t)}function Bi(t){return Nn(t)||t.type==="element"&&t.fullName==="br"||Bn(t)}function Bn(t){return Ln(t)&&Fn(t)}function Ln(t){return t.hasLeadingSpaces&&(t.prev?t.prev.sourceSpan.end.linet.sourceSpan.end.line:t.parent.type==="root"||t.parent.endSourceSpan&&t.parent.endSourceSpan.start.line>t.sourceSpan.end.line)}function Nn(t){switch(t.type){case"ieConditionalComment":case"comment":case"directive":return!0;case"element":return["script","select"].includes(t.name)}return!1}function bt(t){return t.lastChild?bt(t.lastChild):t}function Li(t){var e;return(e=t.children)==null?void 0:e.some(r=>r.type!=="text")}function Pn(t){if(t)switch(t){case"module":case"text/javascript":case"text/babel":case"application/javascript":return"babel";case"application/x-typescript":return"typescript";case"text/markdown":return"markdown";case"text/html":return"html";case"text/x-handlebars-template":return"glimmer";default:if(t.endsWith("json")||t.endsWith("importmap")||t==="speculationrules")return"json"}}function Fi(t,e){let{name:r,attrMap:n}=t;if(r!=="script"||Object.prototype.hasOwnProperty.call(n,"src"))return;let{type:s,lang:i}=t.attrMap;return!i&&!s?"babel":Oe(e,{language:i})??Pn(s)}function Ni(t,e){if(!Tt(t,e))return;let{attrMap:r}=t;if(Object.prototype.hasOwnProperty.call(r,"src"))return;let{type:n,lang:s}=r;return Oe(e,{language:s})??Pn(n)}function Pi(t,e){if(t.name!=="style")return;let{lang:r}=t.attrMap;return r?Oe(e,{language:r}):"css"}function Cr(t,e){return Fi(t,e)??Pi(t,e)??Ni(t,e)}function Xe(t){return t==="block"||t==="list-item"||t.startsWith("table")}function Ii(t){return!Xe(t)&&t!=="inline-block"}function Ri(t){return!Xe(t)&&t!=="inline-block"}function $i(t){return!Xe(t)}function Oi(t){return!Xe(t)}function Mi(t){return!Xe(t)&&t!=="inline-block"}function _e(t){return Rn(t).startsWith("pre")}function qi(t,e){let r=t;for(;r;){if(e(r))return!0;r=r.parent}return!1}function In(t,e){var n;if(Ae(t,e))return"block";if(((n=t.prev)==null?void 0:n.type)==="comment"){let s=t.prev.value.match(/^\s*display:\s*([a-z]+)\s*$/u);if(s)return s[1]}let r=!1;if(t.type==="element"&&t.namespace==="svg")if(qi(t,s=>s.fullName==="svg:foreignObject"))r=!0;else return t.name==="svg"?"inline-block":"block";switch(e.htmlWhitespaceSensitivity){case"strict":return"inline";case"ignore":return"block";default:return t.type==="element"&&(!t.namespace||r||Se(t))&&En[t.name]||_n}}function Rn(t){return t.type==="element"&&(!t.namespace||Se(t))&&Dn[t.name]||An}function Hi(t){let e=Number.POSITIVE_INFINITY;for(let r of t.split(` +`)){if(r.length===0)continue;let n=N.getLeadingWhitespaceCount(r);if(n===0)return 0;r.length!==n&&nr.slice(e)).join(` -`)}function or(t){return v(!1,v(!1,t,"'","'"),""",'"')}function N(t){return or(t.value)}var gi=new Set(["template","style","script"]);function We(t,e){return he(t,e)&&!gi.has(t.fullName)}function he(t,e){return e.parser==="vue"&&t.type==="element"&&t.parent.type==="root"&&t.fullName.toLowerCase()!=="html"}function St(t,e){return he(t,e)&&(We(t,e)||t.attrMap.lang&&t.attrMap.lang!=="html")}function vn(t){let e=t.fullName;return e.charAt(0)==="#"||e==="slot-scope"||e==="v-slot"||e.startsWith("v-slot:")}function yn(t,e){let r=t.parent;if(!he(r,e))return!1;let n=r.fullName,s=t.fullName;return n==="script"&&s==="setup"||n==="style"&&s==="vars"}function Et(t,e=t.value){return t.parent.isWhitespaceSensitive?t.parent.isIndentationSensitive?T(e):T(ur(nr(e)),S):Z(_,Y.split(e))}function bn(t,e){return he(t,e)&&t.name==="script"}function lr(t){return t>=9&&t<=32||t==160}function Ci(t){return 48<=t&&t<=57}function cr(t){return t>=97&&t<=122||t>=65&&t<=90}function wn(t){return t>=97&&t<=102||t>=65&&t<=70||Ci(t)}function pr(t){return t===10||t===13}function hr(t){return 48<=t&&t<=55}function Tn(t){return t===39||t===34||t===96}var Si=/-+([a-z0-9])/g;function kn(t){return t.replace(Si,(...e)=>e[1].toUpperCase())}var ee=class t{constructor(e,r,n,s){this.file=e,this.offset=r,this.line=n,this.col=s}toString(){return this.offset!=null?`${this.file.url}@${this.line}:${this.col}`:this.file.url}moveBy(e){let r=this.file.content,n=r.length,s=this.offset,i=this.line,a=this.col;for(;s>0&&e<0;)if(s--,e++,r.charCodeAt(s)==10){i--;let o=r.substring(0,s-1).lastIndexOf(String.fromCharCode(10));a=o>0?s-o:s}else a--;for(;s0;){let u=r.charCodeAt(s);s++,e--,u==10?(i++,a=0):a++}return new t(this.file,s,i,a)}getContext(e,r){let n=this.file.content,s=this.offset;if(s!=null){s>n.length-1&&(s=n.length-1);let i=s,a=0,u=0;for(;a0&&(s--,a++,!(n[s]==` -`&&++u==r)););for(a=0,u=0;a]${e.after}")`:this.msg}toString(){let e=this.span.details?`, ${this.span.details}`:"";return`${this.contextualMessage()}: ${this.span.start}${e}`}};var Ei=[_i,Di,yi,wi,Ti,Bi,xi,ki,Li,bi];function Ai(t,e){for(let r of Ei)r(t,e);return t}function _i(t){t.walk(e=>{if(e.type==="element"&&e.tagDefinition.ignoreFirstLf&&e.children.length>0&&e.children[0].type==="text"&&e.children[0].value[0]===` -`){let r=e.children[0];r.value.length===1?e.removeChild(r):r.value=r.value.slice(1)}})}function Di(t){let e=r=>{var n,s;return r.type==="element"&&((n=r.prev)==null?void 0:n.type)==="ieConditionalStartComment"&&r.prev.sourceSpan.end.offset===r.startSourceSpan.start.offset&&((s=r.firstChild)==null?void 0:s.type)==="ieConditionalEndComment"&&r.firstChild.sourceSpan.start.offset===r.startSourceSpan.end.offset};t.walk(r=>{if(r.children)for(let n=0;n{if(n.children)for(let s=0;se.type==="cdata",e=>``)}function bi(t){let e=r=>{var n,s;return r.type==="element"&&r.attrs.length===0&&r.children.length===1&&r.firstChild.type==="text"&&!Y.hasWhitespaceCharacter(r.children[0].value)&&!r.firstChild.hasLeadingSpaces&&!r.firstChild.hasTrailingSpaces&&r.isLeadingSpaceSensitive&&!r.hasLeadingSpaces&&r.isTrailingSpaceSensitive&&!r.hasTrailingSpaces&&((n=r.prev)==null?void 0:n.type)==="text"&&((s=r.next)==null?void 0:s.type)==="text"};t.walk(r=>{if(r.children)for(let n=0;n`+s.firstChild.value+``+a.value,i.sourceSpan=new m(i.sourceSpan.start,a.sourceSpan.end),i.isTrailingSpaceSensitive=a.isTrailingSpaceSensitive,i.hasTrailingSpaces=a.hasTrailingSpaces,r.removeChild(s),n--,r.removeChild(a)}})}function wi(t,e){if(e.parser==="html")return;let r=/{{(.+?)}}/s;t.walk(n=>{if(cn(n))for(let s of n.children){if(s.type!=="text")continue;let i=s.sourceSpan.start,a=null,u=s.value.split(r);for(let o=0;o0&&n.insertChildBefore(s,{type:"text",value:p,sourceSpan:new m(i,a)});continue}a=i.moveBy(p.length+4),n.insertChildBefore(s,{type:"interpolation",sourceSpan:new m(i,a),children:p.length===0?[]:[{type:"text",value:p,sourceSpan:new m(i.moveBy(2),a.moveBy(-2))}]})}n.removeChild(s)}})}function Ti(t){t.walk(e=>{if(!e.children)return;if(e.children.length===0||e.children.length===1&&e.children[0].type==="text"&&Y.trim(e.children[0].value).length===0){e.hasDanglingSpaces=e.children.length>0,e.children=[];return}let r=pn(e),n=sr(e);if(!r)for(let s=0;s{e.isSelfClosing=!e.children||e.type==="element"&&(e.tagDefinition.isVoid||e.endSourceSpan&&e.startSourceSpan.start===e.endSourceSpan.start&&e.startSourceSpan.end===e.endSourceSpan.end)})}function ki(t,e){t.walk(r=>{r.type==="element"&&(r.hasHtmComponentClosingTag=r.endSourceSpan&&/^<\s*\/\s*\/\s*>$/.test(e.originalText.slice(r.endSourceSpan.start.offset,r.endSourceSpan.end.offset)))})}function Bi(t,e){t.walk(r=>{r.cssDisplay=_n(r,e)})}function Li(t,e){t.walk(r=>{let{children:n}=r;if(n){if(n.length===0){r.isDanglingSpaceSensitive=mn(r);return}for(let s of n)s.isLeadingSpaceSensitive=hn(s,e),s.isTrailingSpaceSensitive=fn(s,e);for(let s=0;s/.test(t)}function Fn(t){return` +`)}function _r(t){return w(!1,w(!1,t,"'","'"),""",'"')}function P(t){return _r(t.value)}var Vi=new Set(["template","style","script"]);function Je(t,e){return Ae(t,e)&&!Vi.has(t.fullName)}function Ae(t,e){return e.parser==="vue"&&t.type==="element"&&t.parent.type==="root"&&t.fullName.toLowerCase()!=="html"}function Tt(t,e){return Ae(t,e)&&(Je(t,e)||t.attrMap.lang&&t.attrMap.lang!=="html")}function $n(t){let e=t.fullName;return e.charAt(0)==="#"||e==="slot-scope"||e==="v-slot"||e.startsWith("v-slot:")}function On(t,e){let r=t.parent;if(!Ae(r,e))return!1;let n=r.fullName,s=t.fullName;return n==="script"&&s==="setup"||n==="style"&&s==="vars"}function xt(t,e=t.value){return t.parent.isWhitespaceSensitive?t.parent.isIndentationSensitive?B(e):B(Sr(fr(e)),S):q(E,N.split(e))}function kt(t,e){return Ae(t,e)&&t.name==="script"}var Er=/\{\{(.+?)\}\}/su;async function Mn(t,e){let r=[];for(let[n,s]of t.split(Er).entries())if(n%2===0)r.push(B(s));else try{r.push(_(["{{",k([E,await T(s,e,{parser:"__ng_interpolation",__isInHtmlInterpolation:!0})]),E,"}}"]))}catch{r.push("{{",B(s),"}}")}return r}function Ar({parser:t}){return(e,r,n)=>T(P(n.node),e,{parser:t},j)}var Ui=Ar({parser:"__ng_action"}),Wi=Ar({parser:"__ng_binding"}),zi=Ar({parser:"__ng_directive"});function Gi(t,e){if(e.parser!=="angular")return;let{node:r}=t,n=r.fullName;if(n.startsWith("(")&&n.endsWith(")")||n.startsWith("on-"))return Ui;if(n.startsWith("[")&&n.endsWith("]")||/^bind(?:on)?-/u.test(n)||/^ng-(?:if|show|hide|class|style)$/u.test(n))return Wi;if(n.startsWith("*"))return zi;let s=P(r);if(/^i18n(?:-.+)?$/u.test(n))return()=>Ce(At(xt(r,s.trim())),!s.includes("@@"));if(Er.test(s))return i=>Mn(s,i)}var qn=Gi;function Yi(t,e){let{node:r}=t,n=P(r);if(r.fullName==="class"&&!e.parentParser&&!n.includes("{{"))return()=>n.trim().split(/\s+/u).join(" ")}var Hn=Yi;function Vn(t){return t===" "||t===` +`||t==="\f"||t==="\r"||t===" "}var ji=/^[ \t\n\r\u000c]+/,Ki=/^[, \t\n\r\u000c]+/,Qi=/^[^ \t\n\r\u000c]+/,Xi=/[,]+$/,Un=/^\d+$/,Ji=/^-?(?:[0-9]+|[0-9]*\.[0-9]+)(?:[eE][+-]?[0-9]+)?$/;function Zi(t){let e=t.length,r,n,s,i,a,o=0,u;function p(C){let A,D=C.exec(t.substring(o));if(D)return[A]=D,o+=A.length,A}let l=[];for(;;){if(p(Ki),o>=e){if(l.length===0)throw new Error("Must contain one or more image candidate strings.");return l}u=o,r=p(Qi),n=[],r.slice(-1)===","?(r=r.replace(Xi,""),d()):f()}function f(){for(p(ji),s="",i="in descriptor";;){if(a=t.charAt(o),i==="in descriptor")if(Vn(a))s&&(n.push(s),s="",i="after descriptor");else if(a===","){o+=1,s&&n.push(s),d();return}else if(a==="(")s+=a,i="in parens";else if(a===""){s&&n.push(s),d();return}else s+=a;else if(i==="in parens")if(a===")")s+=a,i="in descriptor";else if(a===""){n.push(s),d();return}else s+=a;else if(i==="after descriptor"&&!Vn(a))if(a===""){d();return}else i="in descriptor",o-=1;o+=1}}function d(){let C=!1,A,D,R,F,c={},g,y,M,x,V;for(F=0;Fra(P(t.node))}var zn={width:"w",height:"h",density:"x"},ta=Object.keys(zn);function ra(t){let e=Wn(t),r=ta.filter(l=>e.some(f=>Object.prototype.hasOwnProperty.call(f,l)));if(r.length>1)throw new Error("Mixed descriptor in srcset is not supported");let[n]=r,s=zn[n],i=e.map(l=>l.source.value),a=Math.max(...i.map(l=>l.length)),o=e.map(l=>l[n]?String(l[n].value):""),u=o.map(l=>{let f=l.indexOf(".");return f===-1?l.length:f}),p=Math.max(...u);return Ce(q([",",E],i.map((l,f)=>{let d=[l],C=o[f];if(C){let A=a-l.length+1,D=p-u[f],R=" ".repeat(A+D);d.push(ge(R," "),C+s)}return d})))}var Gn=ea;function Yn(t,e){let{node:r}=t,n=P(t.node).trim();if(r.fullName==="style"&&!e.parentParser&&!n.includes("{{"))return async s=>Ce(await s(n,{parser:"css",__isHTMLStyleAttribute:!0}))}var Dr=new WeakMap;function na(t,e){let{root:r}=t;return Dr.has(r)||Dr.set(r,r.children.some(n=>kt(n,e)&&["ts","typescript"].includes(n.attrMap.lang))),Dr.get(r)}var Me=na;function jn(t,e,r){let{node:n}=r,s=P(n);return T(`type T<${s}> = any`,t,{parser:"babel-ts",__isEmbeddedTypescriptGenericParameters:!0},j)}function Kn(t,e,{parseWithTs:r}){return T(`function _(${t}) {}`,e,{parser:r?"babel-ts":"babel",__isVueBindings:!0})}function Qn(t){let e=/^(?:[\w$]+|\([^)]*\))\s*=>|^function\s*\(/u,r=/^[$_a-z][\w$]*(?:\.[$_a-z][\w$]*|\['[^']*'\]|\["[^"]*"\]|\[\d+\]|\[[$_a-z][\w$]*\])*$/iu,n=t.trim();return e.test(n)||r.test(n)}async function Xn(t,e,r,n){let s=P(r.node),{left:i,operator:a,right:o}=sa(s),u=Me(r,n);return[_(await T(`function _(${i}) {}`,t,{parser:u?"babel-ts":"babel",__isVueForBindingLeft:!0}))," ",a," ",await T(o,t,{parser:u?"__ts_expression":"__js_expression"})]}function sa(t){let e=/(.*?)\s+(in|of)\s+(.*)/su,r=/,([^,\]}]*)(?:,([^,\]}]*))?$/u,n=/^\(|\)$/gu,s=t.match(e);if(!s)return;let i={};if(i.for=s[3].trim(),!i.for)return;let a=w(!1,s[1].trim(),n,""),o=a.match(r);o?(i.alias=a.replace(r,""),i.iterator1=o[1].trim(),o[2]&&(i.iterator2=o[2].trim())):i.alias=a;let u=[i.alias,i.iterator1,i.iterator2];if(!u.some((p,l)=>!p&&(l===0||u.slice(l+1).some(Boolean))))return{left:u.filter(Boolean).join(","),operator:s[2],right:i.for}}function ia(t,e){if(e.parser!=="vue")return;let{node:r}=t,n=r.fullName;if(n==="v-for")return Xn;if(n==="generic"&&kt(r.parent,e))return jn;let s=P(r),i=Me(t,e);if($n(r)||On(r,e))return a=>Kn(s,a,{parseWithTs:i});if(n.startsWith("@")||n.startsWith("v-on:"))return a=>aa(s,a,{parseWithTs:i});if(n.startsWith(":")||n.startsWith("v-bind:"))return a=>oa(s,a,{parseWithTs:i});if(n.startsWith("v-"))return a=>Jn(s,a,{parseWithTs:i})}function aa(t,e,{parseWithTs:r}){return Qn(t)?Jn(t,e,{parseWithTs:r}):T(t,e,{parser:r?"__vue_ts_event_binding":"__vue_event_binding"},j)}function oa(t,e,{parseWithTs:r}){return T(t,e,{parser:r?"__vue_ts_expression":"__vue_expression"},j)}function Jn(t,e,{parseWithTs:r}){return T(t,e,{parser:r?"__ts_expression":"__js_expression"},j)}var Zn=ia;function ua(t,e){let{node:r}=t;if(r.value){if(/^PRETTIER_HTML_PLACEHOLDER_\d+_\d+_IN_JS$/u.test(e.originalText.slice(r.valueSpan.start.offset,r.valueSpan.end.offset))||e.parser==="lwc"&&r.value.startsWith("{")&&r.value.endsWith("}"))return[r.rawName,"=",r.value];for(let n of[Gn,Yn,Hn,Zn,qn]){let s=n(t,e);if(s)return la(s)}}}function la(t){return async(e,r,n,s)=>{let i=await t(e,r,n,s);if(i)return i=Dt(i,a=>typeof a=="string"?w(!1,a,'"',"""):a),[n.node.rawName,'="',_(i),'"']}}var es=ua;var ts=new Proxy(()=>{},{get:()=>ts}),vr=ts;function ca(t){return Array.isArray(t)&&t.length>0}var qe=ca;function se(t){return t.sourceSpan.start.offset}function ie(t){return t.sourceSpan.end.offset}function Ze(t,e){return[t.isSelfClosing?"":pa(t,e),De(t,e)]}function pa(t,e){return t.lastChild&&we(t.lastChild)?"":[ha(t,e),Bt(t,e)]}function De(t,e){return(t.next?K(t.next):ye(t.parent))?"":[ve(t,e),W(t,e)]}function ha(t,e){return ye(t)?ve(t.lastChild,e):""}function W(t,e){return we(t)?Bt(t.parent,e):et(t)?Lt(t.next):""}function Bt(t,e){if(vr(!t.isSelfClosing),rs(t,e))return"";switch(t.type){case"ieConditionalComment":return"";case"ieConditionalStartComment":return"]>";case"interpolation":return"}}";case"angularIcuExpression":return"}";case"element":if(t.isSelfClosing)return"/>";default:return">"}}function rs(t,e){return!t.isSelfClosing&&!t.endSourceSpan&&(Ee(t)||yt(t.parent,e))}function K(t){return t.prev&&t.prev.type!=="docType"&&t.type!=="angularControlFlowBlock"&&!$(t.prev)&&t.isLeadingSpaceSensitive&&!t.hasLeadingSpaces}function ye(t){var e;return((e=t.lastChild)==null?void 0:e.isTrailingSpaceSensitive)&&!t.lastChild.hasTrailingSpaces&&!$(bt(t.lastChild))&&!_e(t)}function we(t){return!t.next&&!t.hasTrailingSpaces&&t.isTrailingSpaceSensitive&&$(bt(t))}function et(t){return t.next&&!$(t.next)&&$(t)&&t.isTrailingSpaceSensitive&&!t.hasTrailingSpaces}function ma(t){let e=t.trim().match(/^prettier-ignore-attribute(?:\s+(.+))?$/su);return e?e[1]?e[1].split(/\s+/u):!0:!1}function tt(t){return!t.prev&&t.isLeadingSpaceSensitive&&!t.hasLeadingSpaces}function fa(t,e,r){var f;let{node:n}=t;if(!qe(n.attrs))return n.isSelfClosing?" ":"";let s=((f=n.prev)==null?void 0:f.type)==="comment"&&ma(n.prev.value),i=typeof s=="boolean"?()=>s:Array.isArray(s)?d=>s.includes(d.rawName):()=>!1,a=t.map(({node:d})=>i(d)?B(e.originalText.slice(se(d),ie(d))):r(),"attrs"),o=n.type==="element"&&n.fullName==="script"&&n.attrs.length===1&&n.attrs[0].fullName==="src"&&n.children.length===0,p=e.singleAttributePerLine&&n.attrs.length>1&&!Ae(n,e)?S:E,l=[k([o?" ":E,q(p,a)])];return n.firstChild&&tt(n.firstChild)||n.isSelfClosing&&ye(n.parent)||o?l.push(n.isSelfClosing?" ":""):l.push(e.bracketSameLine?n.isSelfClosing?" ":"":n.isSelfClosing?E:v),l}function da(t){return t.firstChild&&tt(t.firstChild)?"":Ft(t)}function rt(t,e,r){let{node:n}=t;return[be(n,e),fa(t,e,r),n.isSelfClosing?"":da(n)]}function be(t,e){return t.prev&&et(t.prev)?"":[z(t,e),Lt(t)]}function z(t,e){return tt(t)?Ft(t.parent):K(t)?ve(t.prev,e):""}function Lt(t){switch(t.type){case"ieConditionalComment":case"ieConditionalStartComment":return`<${t.rawName}`;default:return`<${t.rawName}`}}function Ft(t){switch(vr(!t.isSelfClosing),t.type){case"ieConditionalComment":return"]>";case"element":if(t.condition)return">";default:return">"}}function ga(t,e){if(!t.endSourceSpan)return"";let r=t.startSourceSpan.end.offset;t.firstChild&&tt(t.firstChild)&&(r-=Ft(t).length);let n=t.endSourceSpan.start.offset;return t.lastChild&&we(t.lastChild)?n+=Bt(t,e).length:ye(t)&&(n-=ve(t.lastChild,e).length),e.originalText.slice(r,n)}var Nt=ga;var Ca=new Set(["if","else if","for","switch","case"]);function Sa(t,e){let{node:r}=t;switch(r.type){case"element":if(U(r)||r.type==="interpolation")return;if(!r.isSelfClosing&&Tt(r,e)){let n=Cr(r,e);return n?async(s,i)=>{let a=Nt(r,e),o=/^\s*$/u.test(a),u="";return o||(u=await s(fr(a),{parser:n,__embeddedInHtml:!0}),o=u===""),[z(r,e),_(rt(t,e,i)),o?"":S,u,o?"":S,Ze(r,e),W(r,e)]}:void 0}break;case"text":if(U(r.parent)){let n=Cr(r.parent,e);if(n)return async s=>{let i=n==="markdown"?Sr(r.value.replace(/^[^\S\n]*\n/u,"")):r.value,a={parser:n,__embeddedInHtml:!0};if(e.parser==="html"&&n==="babel"){let o="script",{attrMap:u}=r.parent;u&&(u.type==="module"||u.type==="text/babel"&&u["data-type"]==="module")&&(o="module"),a.__babelSourceType=o}return[ne,z(r,e),await s(i,a),W(r,e)]}}else if(r.parent.type==="interpolation")return async n=>{let s={__isInHtmlInterpolation:!0,__embeddedInHtml:!0};return e.parser==="angular"?s.parser="__ng_interpolation":e.parser==="vue"?s.parser=Me(t,e)?"__vue_ts_expression":"__vue_expression":s.parser="__js_expression",[k([E,await n(r.value,s)]),r.parent.next&&K(r.parent.next)?" ":E]};break;case"attribute":return es(t,e);case"front-matter":return n=>gn(r,n);case"angularControlFlowBlockParameters":return Ca.has(t.parent.name)?Cn:void 0;case"angularLetDeclarationInitializer":return n=>T(r.value,n,{parser:"__ng_binding",__isInHtmlAttribute:!1})}}var ns=Sa;var nt=null;function st(t){if(nt!==null&&typeof nt.property){let e=nt;return nt=st.prototype=null,e}return nt=st.prototype=t??Object.create(null),new st}var _a=10;for(let t=0;t<=_a;t++)st();function yr(t){return st(t)}function Ea(t,e="type"){yr(t);function r(n){let s=n[e],i=t[s];if(!Array.isArray(i))throw Object.assign(new Error(`Missing visitor keys for '${s}'.`),{node:n});return i}return r}var ss=Ea;var Aa={"front-matter":[],root:["children"],element:["attrs","children"],ieConditionalComment:["children"],ieConditionalStartComment:[],ieConditionalEndComment:[],interpolation:["children"],text:["children"],docType:[],comment:[],attribute:[],cdata:[],angularControlFlowBlock:["children","parameters"],angularControlFlowBlockParameters:["children"],angularControlFlowBlockParameter:[],angularLetDeclaration:["init"],angularLetDeclarationInitializer:[],angularIcuExpression:["cases"],angularIcuCase:["expression"]},is=Aa;var Da=ss(is),as=Da;function os(t){return/^\s*/u.test(t)}function us(t){return` -`+t}function te(t){return t.sourceSpan.start.offset}function re(t){return t.sourceSpan.end.offset}async function Fi(t,e){if(t.lang==="yaml"){let r=t.value.trim(),n=r?await e(r,{parser:"yaml"}):"";return Yr([t.startDelimiter,S,n,n?S:"",t.endDelimiter])}}var Nn=Fi;var Ge=()=>{};Ge.ok=Ge;Ge.strictEqual=Ge;var fr=Ge;function Ni(t){return Array.isArray(t)&&t.length>0}var Pn=Ni;function ze(t,e){return[t.isSelfClosing?"":Pi(t,e),Ye(t,e)]}function Pi(t,e){return t.lastChild&&ge(t.lastChild)?"":[Ii(t,e),_t(t,e)]}function Ye(t,e){return(t.next?W(t.next):de(t.parent))?"":[me(t,e),O(t,e)]}function Ii(t,e){return de(t)?me(t.lastChild,e):""}function O(t,e){return ge(t)?_t(t.parent,e):je(t)?Dt(t.next):""}function _t(t,e){if(fr(!t.isSelfClosing),In(t,e))return"";switch(t.type){case"ieConditionalComment":return"";case"ieConditionalStartComment":return"]>";case"interpolation":return"}}";case"element":if(t.isSelfClosing)return"/>";default:return">"}}function In(t,e){return!t.isSelfClosing&&!t.endSourceSpan&&(He(t)||dt(t.parent,e))}function W(t){return t.prev&&t.prev.type!=="docType"&&!L(t.prev)&&t.isLeadingSpaceSensitive&&!t.hasLeadingSpaces}function de(t){var e;return((e=t.lastChild)==null?void 0:e.isTrailingSpaceSensitive)&&!t.lastChild.hasTrailingSpaces&&!L(Ct(t.lastChild))&&!pe(t)}function ge(t){return!t.next&&!t.hasTrailingSpaces&&t.isTrailingSpaceSensitive&&L(Ct(t))}function je(t){return t.next&&!L(t.next)&&L(t)&&t.isTrailingSpaceSensitive&&!t.hasTrailingSpaces}function Ri(t){let e=t.trim().match(/^prettier-ignore-attribute(?:\s+(.+))?$/s);return e?e[1]?e[1].split(/\s+/):!0:!1}function Ke(t){return!t.prev&&t.isLeadingSpaceSensitive&&!t.hasLeadingSpaces}function $i(t,e,r){var g;let{node:n}=t;if(!Pn(n.attrs))return n.isSelfClosing?" ":"";let s=((g=n.prev)==null?void 0:g.type)==="comment"&&Ri(n.prev.value),i=typeof s=="boolean"?()=>s:Array.isArray(s)?h=>s.includes(h.rawName):()=>!1,a=t.map(({node:h})=>i(h)?T(e.originalText.slice(te(h),re(h))):r(),"attrs"),u=n.type==="element"&&n.fullName==="script"&&n.attrs.length===1&&n.attrs[0].fullName==="src"&&n.children.length===0,p=e.singleAttributePerLine&&n.attrs.length>1&&!he(n,e)?S:_,c=[U([u?" ":_,Z(p,a)])];return n.firstChild&&Ke(n.firstChild)||n.isSelfClosing&&de(n.parent)||u?c.push(n.isSelfClosing?" ":""):c.push(e.bracketSameLine?n.isSelfClosing?" ":"":n.isSelfClosing?_:x),c}function Mi(t){return t.firstChild&&Ke(t.firstChild)?"":vt(t)}function Xe(t,e,r){let{node:n}=t;return[Qe(n,e),$i(t,e,r),n.isSelfClosing?"":Mi(n)]}function Qe(t,e){return t.prev&&je(t.prev)?"":[q(t,e),Dt(t)]}function q(t,e){return Ke(t)?vt(t.parent):W(t)?me(t.prev,e):""}function Dt(t){switch(t.type){case"ieConditionalComment":case"ieConditionalStartComment":return`<${t.rawName}`;default:return`<${t.rawName}`}}function vt(t){switch(fr(!t.isSelfClosing),t.type){case"ieConditionalComment":return"]>";case"element":if(t.condition)return">";default:return">"}}var mr=new WeakMap;function Oi(t,e){let{root:r}=t;return mr.has(r)||mr.set(r,r.children.some(n=>bn(n,e)&&["ts","typescript"].includes(n.attrMap.lang))),mr.get(r)}var Ne=Oi;function qi(t,e){if(!t.endSourceSpan)return"";let r=t.startSourceSpan.end.offset;t.firstChild&&Ke(t.firstChild)&&(r-=vt(t).length);let n=t.endSourceSpan.start.offset;return t.lastChild&&ge(t.lastChild)?n+=_t(t,e).length:de(t)&&(n-=me(t.lastChild,e).length),e.originalText.slice(r,n)}var yt=qi;function Rn(t){return t===" "||t===` -`||t==="\f"||t==="\r"||t===" "}var Hi=/^[ \t\n\r\u000c]+/,Vi=/^[, \t\n\r\u000c]+/,Ui=/^[^ \t\n\r\u000c]+/,Wi=/[,]+$/,$n=/^\d+$/,Gi=/^-?(?:[0-9]+|[0-9]*\.[0-9]+)(?:[eE][+-]?[0-9]+)?$/;function zi(t){let e=t.length,r,n,s,i,a,u=0,o;function p(C){let E,A=C.exec(t.substring(u));if(A)return[E]=A,u+=E.length,E}let c=[];for(;;){if(p(Vi),u>=e){if(c.length===0)throw new Error("Must contain one or more image candidate strings.");return c}o=u,r=p(Ui),n=[],r.slice(-1)===","?(r=r.replace(Wi,""),h()):g()}function g(){for(p(Hi),s="",i="in descriptor";;){if(a=t.charAt(u),i==="in descriptor")if(Rn(a))s&&(n.push(s),s="",i="after descriptor");else if(a===","){u+=1,s&&n.push(s),h();return}else if(a==="(")s+=a,i="in parens";else if(a===""){s&&n.push(s),h();return}else s+=a;else if(i==="in parens")if(a===")")s+=a,i="in descriptor";else if(a===""){n.push(s),h();return}else s+=a;else if(i==="after descriptor"&&!Rn(a))if(a===""){h();return}else i="in descriptor",u-=1;u+=1}}function h(){let C=!1,E,A,B,y,l={},d,b,I,w,$;for(y=0;y{s=n(a,u)});let i=await e(t,r,e);return s?D(i):Ce(i)}function Yi(t){if(t.node.fullName==="srcset"&&(t.parent.fullName==="img"||t.parent.fullName==="source"))return()=>ji(N(t.node))}function ji(t){let e=Mn(t),r=e.some(({width:h})=>h),n=e.some(({height:h})=>h),s=e.some(({density:h})=>h);if(r+n+s>1)throw new Error("Mixed descriptor in srcset is not supported");let i=r?"width":n?"height":"density",a=r?"w":n?"h":"x",u=e.map(h=>h.source.value),o=Math.max(...u.map(h=>h.length)),p=e.map(h=>h[i]?String(h[i].value):""),c=p.map(h=>{let C=h.indexOf(".");return C===-1?h.length:C}),g=Math.max(...c);return Ce(Z([",",_],u.map((h,C)=>{let E=[h],A=p[C];if(A){let B=o-h.length+1,y=g-c[C],l=" ".repeat(B+y);E.push(le(l," "),A+a)}return E})))}var On=Yi;function Ki(t,e){let{node:r}=t,n=N(r);if(r.fullName==="class"&&!e.parentParser&&!n.includes("{{"))return()=>n.trim().split(/\s+/).join(" ")}var qn=Ki;function Hn(t,e){let{node:r}=t,n=N(t.node).trim();if(r.fullName==="style"&&!e.parentParser&&!n.includes("{{"))return async s=>Ce(await s(n,{parser:"css",__isHTMLStyleAttribute:!0}))}async function Vn(t,e,r,n){let s=N(r.node),{left:i,operator:a,right:u}=Xi(s),o=Ne(r,n);return[D(await P(`function _(${i}) {}`,t,{parser:o?"babel-ts":"babel",__isVueForBindingLeft:!0}))," ",a," ",await P(u,t,{parser:o?"__ts_expression":"__js_expression"})]}function Xi(t){let e=/(.*?)\s+(in|of)\s+(.*)/s,r=/,([^,\]}]*)(?:,([^,\]}]*))?$/,n=/^\(|\)$/g,s=t.match(e);if(!s)return;let i={};if(i.for=s[3].trim(),!i.for)return;let a=v(!1,s[1].trim(),n,""),u=a.match(r);u?(i.alias=a.replace(r,""),i.iterator1=u[1].trim(),u[2]&&(i.iterator2=u[2].trim())):i.alias=a;let o=[i.alias,i.iterator1,i.iterator2];if(!o.some((p,c)=>!p&&(c===0||o.slice(c+1).some(Boolean))))return{left:o.filter(Boolean).join(","),operator:s[2],right:i.for}}function Un(t,e,{parseWithTs:r}){return P(`function _(${t}) {}`,e,{parser:r?"babel-ts":"babel",__isVueBindings:!0})}function Wn(t){let e=/^(?:[\w$]+|\([^)]*\))\s*=>|^function\s*\(/,r=/^[$A-Z_a-z][\w$]*(?:\.[$A-Z_a-z][\w$]*|\['[^']*']|\["[^"]*"]|\[\d+]|\[[$A-Z_a-z][\w$]*])*$/,n=t.trim();return e.test(n)||r.test(n)}function Qi(t,e){if(e.parser!=="vue")return;let{node:r}=t,n=r.fullName;if(n==="v-for")return Vn;let s=N(r),i=Ne(t,e);if(vn(r)||yn(r,e))return a=>Un(s,a,{parseWithTs:i});if(n.startsWith("@")||n.startsWith("v-on:"))return a=>Ji(s,a,{parseWithTs:i});if(n.startsWith(":")||n.startsWith("v-bind:"))return a=>Zi(s,a,{parseWithTs:i});if(n.startsWith("v-"))return a=>Gn(s,a,{parseWithTs:i})}function Ji(t,e,{parseWithTs:r}){return Wn(t)?Gn(t,e,{parseWithTs:r}):P(t,e,{parser:r?"__vue_ts_event_binding":"__vue_event_binding"},Pe)}function Zi(t,e,{parseWithTs:r}){return P(t,e,{parser:r?"__vue_ts_expression":"__vue_expression"},Pe)}function Gn(t,e,{parseWithTs:r}){return P(t,e,{parser:r?"__ts_expression":"__js_expression"},Pe)}var zn=Qi;var dr=/{{(.+?)}}/s;async function Yn(t,e){let r=[];for(let[n,s]of t.split(dr).entries())if(n%2===0)r.push(T(s));else try{r.push(D(["{{",U([_,await P(s,e,{parser:"__ng_interpolation",__isInHtmlInterpolation:!0,trailingComma:"none"})]),_,"}}"]))}catch{r.push("{{",T(s),"}}")}return r}function gr({parser:t}){return(e,r,n)=>P(N(n.node),e,{parser:t,trailingComma:"none"},Pe)}var ea=gr({parser:"__ng_action"}),ta=gr({parser:"__ng_binding"}),ra=gr({parser:"__ng_directive"});function na(t,e){if(e.parser!=="angular")return;let{node:r}=t,n=r.fullName;if(n.startsWith("(")&&n.endsWith(")")||n.startsWith("on-"))return ea;if(n.startsWith("[")&&n.endsWith("]")||/^bind(?:on)?-/.test(n)||/^ng-(?:if|show|hide|class|style)$/.test(n))return ta;if(n.startsWith("*"))return ra;let s=N(r);if(/^i18n(?:-.+)?$/.test(n))return()=>Ce(ht(Et(r,s.trim())),!s.includes("@@"));if(dr.test(s))return i=>Yn(s,i)}var jn=na;function sa(t,e){let{node:r}=t;if(r.value){if(/^PRETTIER_HTML_PLACEHOLDER_\d+_\d+_IN_JS$/.test(e.originalText.slice(r.valueSpan.start.offset,r.valueSpan.end.offset))||e.parser==="lwc"&&r.value.startsWith("{")&&r.value.endsWith("}"))return[r.rawName,"=",r.value];for(let n of[On,Hn,qn,zn,jn]){let s=n(t,e);if(s)return ia(s)}}}function ia(t){return async(e,r,n,s)=>{let i=await t(e,r,n,s);if(i)return i=ft(i,a=>typeof a=="string"?v(!1,a,'"',"""):a),[n.node.rawName,'="',D(i),'"']}}var Kn=sa;function aa(t,e){let{node:r}=t;switch(r.type){case"element":if(M(r)||r.type==="interpolation")return;if(!r.isSelfClosing&&St(r,e)){let n=ar(r,e);return n?async(s,i)=>{let a=yt(r,e),u=/^\s*$/.test(a),o="";return u||(o=await s(nr(a),{parser:n,__embeddedInHtml:!0}),u=o===""),[q(r,e),D(Xe(t,e,i)),u?"":S,o,u?"":S,ze(r,e),O(r,e)]}:void 0}break;case"text":if(M(r.parent)){let n=ar(r.parent,e);if(n)return async s=>{let i=n==="markdown"?ur(r.value.replace(/^[^\S\n]*\n/,"")):r.value,a={parser:n,__embeddedInHtml:!0};if(e.parser==="html"&&n==="babel"){let u="script",{attrMap:o}=r.parent;o&&(o.type==="module"||o.type==="text/babel"&&o["data-type"]==="module")&&(u="module"),a.__babelSourceType=u}return[J,q(r,e),await s(i,a,{stripTrailingHardline:!0}),O(r,e)]}}else if(r.parent.type==="interpolation")return async n=>{let s={__isInHtmlInterpolation:!0,__embeddedInHtml:!0};return e.parser==="angular"?(s.parser="__ng_interpolation",s.trailingComma="none"):e.parser==="vue"?s.parser=Ne(t,e)?"__vue_ts_expression":"__vue_expression":s.parser="__js_expression",[U([_,await n(r.value,s)]),r.parent.next&&W(r.parent.next)?" ":_]};break;case"attribute":return Kn(t,e);case"front-matter":return n=>Nn(r,n)}}var Xn=aa;function Je(t,e,r){let n=t.node;return He(n)?[q(n,e),T(e.originalText.slice(te(n)+(n.prev&&je(n.prev)?Dt(n).length:0),re(n)-(n.next&&W(n.next)?me(n,e).length:0))),O(n,e)]:r()}function bt(t,e){return L(t)&&L(e)?t.isTrailingSpaceSensitive?t.hasTrailingSpaces?gt(e)?S:_:"":gt(e)?S:x:je(t)&&(He(e)||e.firstChild||e.isSelfClosing||e.type==="element"&&e.attrs.length>0)||t.type==="element"&&t.isSelfClosing&&W(e)?"":!e.isLeadingSpaceSensitive||gt(e)||W(e)&&t.lastChild&&ge(t.lastChild)&&t.lastChild.lastChild&&ge(t.lastChild.lastChild)?S:e.hasLeadingSpaces?_:x}function wt(t,e,r){let{node:n}=t;if(ir(n))return[J,...t.map(i=>{let a=i.node,u=a.prev?bt(a.prev,a):"";return[u?[u,Ve(a.prev)?S:""]:"",Je(i,e,r)]},"children")];let s=n.children.map(()=>Symbol(""));return t.map((i,a)=>{let u=i.node;if(L(u)){if(u.prev&&L(u.prev)){let E=bt(u.prev,u);if(E)return Ve(u.prev)?[S,S,Je(i,e,r)]:[E,Je(i,e,r)]}return Je(i,e,r)}let o=[],p=[],c=[],g=[],h=u.prev?bt(u.prev,u):"",C=u.next?bt(u,u.next):"";return h&&(Ve(u.prev)?o.push(S,S):h===S?o.push(S):L(u.prev)?p.push(h):p.push(le("",x,{groupId:s[a-1]}))),C&&(Ve(u)?L(u.next)&&g.push(S,S):C===S?L(u.next)&&g.push(S):c.push(C)),[...o,D([...p,D([Je(i,e,r),...c],{id:s[a]})]),...g]},"children")}function Qn(t,e,r){let{node:n}=t;if(dt(n,e))return[q(n,e),D(Xe(t,e,r)),T(yt(n,e)),...ze(n,e),O(n,e)];let s=n.children.length===1&&n.firstChild.type==="interpolation"&&n.firstChild.isLeadingSpaceSensitive&&!n.firstChild.hasLeadingSpaces&&n.lastChild.isTrailingSpaceSensitive&&!n.lastChild.hasTrailingSpaces,i=Symbol("element-attr-group-id"),a=c=>D([D(Xe(t,e,r),{id:i}),c,ze(n,e)]),u=c=>s?jr(c,{groupId:i}):(M(n)||We(n,e))&&n.parent.type==="root"&&e.parser==="vue"&&!e.vueIndentScriptAndStyle?c:U(c),o=()=>s?le(x,"",{groupId:i}):n.firstChild.hasLeadingSpaces&&n.firstChild.isLeadingSpaceSensitive?_:n.firstChild.type==="text"&&n.isWhitespaceSensitive&&n.isIndentationSensitive?zr(x):x,p=()=>(n.next?W(n.next):de(n.parent))?n.lastChild.hasTrailingSpaces&&n.lastChild.isTrailingSpaceSensitive?" ":"":s?le(x,"",{groupId:i}):n.lastChild.hasTrailingSpaces&&n.lastChild.isTrailingSpaceSensitive?_:(n.lastChild.type==="comment"||n.lastChild.type==="text"&&n.isWhitespaceSensitive&&n.isIndentationSensitive)&&new RegExp(`\\n[\\t ]{${e.tabWidth*(t.ancestors.length-1)}}$`).test(n.lastChild.value)?"":x;return n.children.length===0?a(n.hasDanglingSpaces&&n.isDanglingSpaceSensitive?_:""):a([dn(n)?J:"",u([o(),wt(t,e,r)]),p()])}var Ze=null;function et(t){if(Ze!==null&&typeof Ze.property){let e=Ze;return Ze=et.prototype=null,e}return Ze=et.prototype=t??Object.create(null),new et}var ua=10;for(let t=0;t<=ua;t++)et();function Cr(t){return et(t)}function oa(t,e="type"){Cr(t);function r(n){let s=n[e],i=t[s];if(!Array.isArray(i))throw Object.assign(new Error(`Missing visitor keys for '${s}'.`),{node:n});return i}return r}var Jn=oa;var la={"front-matter":[],root:["children"],element:["attrs","children"],ieConditionalComment:["children"],ieConditionalStartComment:[],ieConditionalEndComment:[],interpolation:["children"],text:["children"],docType:[],comment:[],attribute:[],cdata:[]},Zn=la;var ca=Jn(Zn),es=ca;function pa(t,e,r){let{node:n}=t;switch(n.type){case"front-matter":return T(n.raw);case"root":return e.__onHtmlRoot&&e.__onHtmlRoot(n),[D(wt(t,e,r)),S];case"element":case"ieConditionalComment":return Qn(t,e,r);case"ieConditionalStartComment":case"ieConditionalEndComment":return[Qe(n),Ye(n)];case"interpolation":return[Qe(n,e),...t.map(r,"children"),Ye(n,e)];case"text":{if(n.parent.type==="interpolation"){let i=/\n[^\S\n]*$/,a=i.test(n.value),u=a?n.value.replace(i,""):n.value;return[T(u),a?S:""]}let s=Xr([q(n,e),...Et(n),O(n,e)]);return Array.isArray(s)?ht(s):s}case"docType":return[D([Qe(n,e)," ",v(!1,n.value.replace(/^html\b/i,"html"),/\s+/g," ")]),Ye(n,e)];case"comment":return[q(n,e),T(e.originalText.slice(te(n),re(n))),O(n,e)];case"attribute":{if(n.value===null)return n.rawName;let s=or(n.value),i=Zr(s,'"');return[n.rawName,"=",i,T(i==='"'?v(!1,s,'"',"""):v(!1,s,"'","'")),i]}case"cdata":default:throw new Qr(n,"HTML")}}var ha={preprocess:Bn,print:pa,insertPragma:Fn,massageAstNode:tn,embed:Xn,getVisitorKeys:es},ts=ha;var Qt={};qr(Qt,{angular:()=>iu,html:()=>su,lwc:()=>uu,vue:()=>au});var Ec=new RegExp(`(\\:not\\()|(([\\.\\#]?)[-\\w]+)|(?:\\[([-.\\w*\\\\$]+)(?:=(["']?)([^\\]"']*)\\5)?\\])|(\\))|(\\s*,\\s*)`,"g");var rs;(function(t){t[t.Emulated=0]="Emulated",t[t.None=2]="None",t[t.ShadowDom=3]="ShadowDom"})(rs||(rs={}));var ns;(function(t){t[t.OnPush=0]="OnPush",t[t.Default=1]="Default"})(ns||(ns={}));var Sr={name:"custom-elements"},Er={name:"no-errors-schema"};var j;(function(t){t[t.NONE=0]="NONE",t[t.HTML=1]="HTML",t[t.STYLE=2]="STYLE",t[t.SCRIPT=3]="SCRIPT",t[t.URL=4]="URL",t[t.RESOURCE_URL=5]="RESOURCE_URL"})(j||(j={}));var ss;(function(t){t[t.Error=0]="Error",t[t.Warning=1]="Warning",t[t.Ignore=2]="Ignore"})(ss||(ss={}));var k;(function(t){t[t.RAW_TEXT=0]="RAW_TEXT",t[t.ESCAPABLE_RAW_TEXT=1]="ESCAPABLE_RAW_TEXT",t[t.PARSABLE_DATA=2]="PARSABLE_DATA"})(k||(k={}));function tt(t){if(t[0]!=":")return[null,t];let e=t.indexOf(":",1);if(e===-1)throw new Error(`Unsupported format "${t}" expecting ":namespace:name"`);return[t.slice(1,e),t.slice(e+1)]}function Ar(t){return tt(t)[1]==="ng-container"}function _r(t){return tt(t)[1]==="ng-content"}function Ie(t){return t===null?null:tt(t)[0]}function Re(t,e){return t?`:${t}:${e}`:e}var xt;function Dr(){return xt||(xt={},Tt(j.HTML,["iframe|srcdoc","*|innerHTML","*|outerHTML"]),Tt(j.STYLE,["*|style"]),Tt(j.URL,["*|formAction","area|href","area|ping","audio|src","a|href","a|ping","blockquote|cite","body|background","del|cite","form|action","img|src","input|src","ins|cite","q|cite","source|src","track|src","video|poster","video|src"]),Tt(j.RESOURCE_URL,["applet|code","applet|codebase","base|href","embed|src","frame|src","head|profile","html|manifest","iframe|src","link|href","media|src","object|codebase","object|data","script|src"])),xt}function Tt(t,e){for(let r of e)xt[r.toLowerCase()]=t}var kt=class{};var fa="boolean",ma="number",da="string",ga="object",Ca=["[Element]|textContent,%ariaAtomic,%ariaAutoComplete,%ariaBusy,%ariaChecked,%ariaColCount,%ariaColIndex,%ariaColSpan,%ariaCurrent,%ariaDescription,%ariaDisabled,%ariaExpanded,%ariaHasPopup,%ariaHidden,%ariaKeyShortcuts,%ariaLabel,%ariaLevel,%ariaLive,%ariaModal,%ariaMultiLine,%ariaMultiSelectable,%ariaOrientation,%ariaPlaceholder,%ariaPosInSet,%ariaPressed,%ariaReadOnly,%ariaRelevant,%ariaRequired,%ariaRoleDescription,%ariaRowCount,%ariaRowIndex,%ariaRowSpan,%ariaSelected,%ariaSetSize,%ariaSort,%ariaValueMax,%ariaValueMin,%ariaValueNow,%ariaValueText,%classList,className,elementTiming,id,innerHTML,*beforecopy,*beforecut,*beforepaste,*fullscreenchange,*fullscreenerror,*search,*webkitfullscreenchange,*webkitfullscreenerror,outerHTML,%part,#scrollLeft,#scrollTop,slot,*message,*mozfullscreenchange,*mozfullscreenerror,*mozpointerlockchange,*mozpointerlockerror,*webglcontextcreationerror,*webglcontextlost,*webglcontextrestored","[HTMLElement]^[Element]|accessKey,autocapitalize,!autofocus,contentEditable,dir,!draggable,enterKeyHint,!hidden,innerText,inputMode,lang,nonce,*abort,*animationend,*animationiteration,*animationstart,*auxclick,*beforexrselect,*blur,*cancel,*canplay,*canplaythrough,*change,*click,*close,*contextmenu,*copy,*cuechange,*cut,*dblclick,*drag,*dragend,*dragenter,*dragleave,*dragover,*dragstart,*drop,*durationchange,*emptied,*ended,*error,*focus,*formdata,*gotpointercapture,*input,*invalid,*keydown,*keypress,*keyup,*load,*loadeddata,*loadedmetadata,*loadstart,*lostpointercapture,*mousedown,*mouseenter,*mouseleave,*mousemove,*mouseout,*mouseover,*mouseup,*mousewheel,*paste,*pause,*play,*playing,*pointercancel,*pointerdown,*pointerenter,*pointerleave,*pointermove,*pointerout,*pointerover,*pointerrawupdate,*pointerup,*progress,*ratechange,*reset,*resize,*scroll,*securitypolicyviolation,*seeked,*seeking,*select,*selectionchange,*selectstart,*slotchange,*stalled,*submit,*suspend,*timeupdate,*toggle,*transitioncancel,*transitionend,*transitionrun,*transitionstart,*volumechange,*waiting,*webkitanimationend,*webkitanimationiteration,*webkitanimationstart,*webkittransitionend,*wheel,outerText,!spellcheck,%style,#tabIndex,title,!translate,virtualKeyboardPolicy","abbr,address,article,aside,b,bdi,bdo,cite,content,code,dd,dfn,dt,em,figcaption,figure,footer,header,hgroup,i,kbd,main,mark,nav,noscript,rb,rp,rt,rtc,ruby,s,samp,section,small,strong,sub,sup,u,var,wbr^[HTMLElement]|accessKey,autocapitalize,!autofocus,contentEditable,dir,!draggable,enterKeyHint,!hidden,innerText,inputMode,lang,nonce,*abort,*animationend,*animationiteration,*animationstart,*auxclick,*beforexrselect,*blur,*cancel,*canplay,*canplaythrough,*change,*click,*close,*contextmenu,*copy,*cuechange,*cut,*dblclick,*drag,*dragend,*dragenter,*dragleave,*dragover,*dragstart,*drop,*durationchange,*emptied,*ended,*error,*focus,*formdata,*gotpointercapture,*input,*invalid,*keydown,*keypress,*keyup,*load,*loadeddata,*loadedmetadata,*loadstart,*lostpointercapture,*mousedown,*mouseenter,*mouseleave,*mousemove,*mouseout,*mouseover,*mouseup,*mousewheel,*paste,*pause,*play,*playing,*pointercancel,*pointerdown,*pointerenter,*pointerleave,*pointermove,*pointerout,*pointerover,*pointerrawupdate,*pointerup,*progress,*ratechange,*reset,*resize,*scroll,*securitypolicyviolation,*seeked,*seeking,*select,*selectionchange,*selectstart,*slotchange,*stalled,*submit,*suspend,*timeupdate,*toggle,*transitioncancel,*transitionend,*transitionrun,*transitionstart,*volumechange,*waiting,*webkitanimationend,*webkitanimationiteration,*webkitanimationstart,*webkittransitionend,*wheel,outerText,!spellcheck,%style,#tabIndex,title,!translate,virtualKeyboardPolicy","media^[HTMLElement]|!autoplay,!controls,%controlsList,%crossOrigin,#currentTime,!defaultMuted,#defaultPlaybackRate,!disableRemotePlayback,!loop,!muted,*encrypted,*waitingforkey,#playbackRate,preload,!preservesPitch,src,%srcObject,#volume",":svg:^[HTMLElement]|!autofocus,nonce,*abort,*animationend,*animationiteration,*animationstart,*auxclick,*beforexrselect,*blur,*cancel,*canplay,*canplaythrough,*change,*click,*close,*contextmenu,*copy,*cuechange,*cut,*dblclick,*drag,*dragend,*dragenter,*dragleave,*dragover,*dragstart,*drop,*durationchange,*emptied,*ended,*error,*focus,*formdata,*gotpointercapture,*input,*invalid,*keydown,*keypress,*keyup,*load,*loadeddata,*loadedmetadata,*loadstart,*lostpointercapture,*mousedown,*mouseenter,*mouseleave,*mousemove,*mouseout,*mouseover,*mouseup,*mousewheel,*paste,*pause,*play,*playing,*pointercancel,*pointerdown,*pointerenter,*pointerleave,*pointermove,*pointerout,*pointerover,*pointerrawupdate,*pointerup,*progress,*ratechange,*reset,*resize,*scroll,*securitypolicyviolation,*seeked,*seeking,*select,*selectionchange,*selectstart,*slotchange,*stalled,*submit,*suspend,*timeupdate,*toggle,*transitioncancel,*transitionend,*transitionrun,*transitionstart,*volumechange,*waiting,*webkitanimationend,*webkitanimationiteration,*webkitanimationstart,*webkittransitionend,*wheel,%style,#tabIndex",":svg:graphics^:svg:|",":svg:animation^:svg:|*begin,*end,*repeat",":svg:geometry^:svg:|",":svg:componentTransferFunction^:svg:|",":svg:gradient^:svg:|",":svg:textContent^:svg:graphics|",":svg:textPositioning^:svg:textContent|","a^[HTMLElement]|charset,coords,download,hash,host,hostname,href,hreflang,name,password,pathname,ping,port,protocol,referrerPolicy,rel,%relList,rev,search,shape,target,text,type,username","area^[HTMLElement]|alt,coords,download,hash,host,hostname,href,!noHref,password,pathname,ping,port,protocol,referrerPolicy,rel,%relList,search,shape,target,username","audio^media|","br^[HTMLElement]|clear","base^[HTMLElement]|href,target","body^[HTMLElement]|aLink,background,bgColor,link,*afterprint,*beforeprint,*beforeunload,*blur,*error,*focus,*hashchange,*languagechange,*load,*message,*messageerror,*offline,*online,*pagehide,*pageshow,*popstate,*rejectionhandled,*resize,*scroll,*storage,*unhandledrejection,*unload,text,vLink","button^[HTMLElement]|!disabled,formAction,formEnctype,formMethod,!formNoValidate,formTarget,name,type,value","canvas^[HTMLElement]|#height,#width","content^[HTMLElement]|select","dl^[HTMLElement]|!compact","data^[HTMLElement]|value","datalist^[HTMLElement]|","details^[HTMLElement]|!open","dialog^[HTMLElement]|!open,returnValue","dir^[HTMLElement]|!compact","div^[HTMLElement]|align","embed^[HTMLElement]|align,height,name,src,type,width","fieldset^[HTMLElement]|!disabled,name","font^[HTMLElement]|color,face,size","form^[HTMLElement]|acceptCharset,action,autocomplete,encoding,enctype,method,name,!noValidate,target","frame^[HTMLElement]|frameBorder,longDesc,marginHeight,marginWidth,name,!noResize,scrolling,src","frameset^[HTMLElement]|cols,*afterprint,*beforeprint,*beforeunload,*blur,*error,*focus,*hashchange,*languagechange,*load,*message,*messageerror,*offline,*online,*pagehide,*pageshow,*popstate,*rejectionhandled,*resize,*scroll,*storage,*unhandledrejection,*unload,rows","hr^[HTMLElement]|align,color,!noShade,size,width","head^[HTMLElement]|","h1,h2,h3,h4,h5,h6^[HTMLElement]|align","html^[HTMLElement]|version","iframe^[HTMLElement]|align,allow,!allowFullscreen,!allowPaymentRequest,csp,frameBorder,height,loading,longDesc,marginHeight,marginWidth,name,referrerPolicy,%sandbox,scrolling,src,srcdoc,width","img^[HTMLElement]|align,alt,border,%crossOrigin,decoding,#height,#hspace,!isMap,loading,longDesc,lowsrc,name,referrerPolicy,sizes,src,srcset,useMap,#vspace,#width","input^[HTMLElement]|accept,align,alt,autocomplete,!checked,!defaultChecked,defaultValue,dirName,!disabled,%files,formAction,formEnctype,formMethod,!formNoValidate,formTarget,#height,!incremental,!indeterminate,max,#maxLength,min,#minLength,!multiple,name,pattern,placeholder,!readOnly,!required,selectionDirection,#selectionEnd,#selectionStart,#size,src,step,type,useMap,value,%valueAsDate,#valueAsNumber,#width","li^[HTMLElement]|type,#value","label^[HTMLElement]|htmlFor","legend^[HTMLElement]|align","link^[HTMLElement]|as,charset,%crossOrigin,!disabled,href,hreflang,imageSizes,imageSrcset,integrity,media,referrerPolicy,rel,%relList,rev,%sizes,target,type","map^[HTMLElement]|name","marquee^[HTMLElement]|behavior,bgColor,direction,height,#hspace,#loop,#scrollAmount,#scrollDelay,!trueSpeed,#vspace,width","menu^[HTMLElement]|!compact","meta^[HTMLElement]|content,httpEquiv,media,name,scheme","meter^[HTMLElement]|#high,#low,#max,#min,#optimum,#value","ins,del^[HTMLElement]|cite,dateTime","ol^[HTMLElement]|!compact,!reversed,#start,type","object^[HTMLElement]|align,archive,border,code,codeBase,codeType,data,!declare,height,#hspace,name,standby,type,useMap,#vspace,width","optgroup^[HTMLElement]|!disabled,label","option^[HTMLElement]|!defaultSelected,!disabled,label,!selected,text,value","output^[HTMLElement]|defaultValue,%htmlFor,name,value","p^[HTMLElement]|align","param^[HTMLElement]|name,type,value,valueType","picture^[HTMLElement]|","pre^[HTMLElement]|#width","progress^[HTMLElement]|#max,#value","q,blockquote,cite^[HTMLElement]|","script^[HTMLElement]|!async,charset,%crossOrigin,!defer,event,htmlFor,integrity,!noModule,%referrerPolicy,src,text,type","select^[HTMLElement]|autocomplete,!disabled,#length,!multiple,name,!required,#selectedIndex,#size,value","slot^[HTMLElement]|name","source^[HTMLElement]|#height,media,sizes,src,srcset,type,#width","span^[HTMLElement]|","style^[HTMLElement]|!disabled,media,type","caption^[HTMLElement]|align","th,td^[HTMLElement]|abbr,align,axis,bgColor,ch,chOff,#colSpan,headers,height,!noWrap,#rowSpan,scope,vAlign,width","col,colgroup^[HTMLElement]|align,ch,chOff,#span,vAlign,width","table^[HTMLElement]|align,bgColor,border,%caption,cellPadding,cellSpacing,frame,rules,summary,%tFoot,%tHead,width","tr^[HTMLElement]|align,bgColor,ch,chOff,vAlign","tfoot,thead,tbody^[HTMLElement]|align,ch,chOff,vAlign","template^[HTMLElement]|","textarea^[HTMLElement]|autocomplete,#cols,defaultValue,dirName,!disabled,#maxLength,#minLength,name,placeholder,!readOnly,!required,#rows,selectionDirection,#selectionEnd,#selectionStart,value,wrap","time^[HTMLElement]|dateTime","title^[HTMLElement]|text","track^[HTMLElement]|!default,kind,label,src,srclang","ul^[HTMLElement]|!compact,type","unknown^[HTMLElement]|","video^media|!disablePictureInPicture,#height,*enterpictureinpicture,*leavepictureinpicture,!playsInline,poster,#width",":svg:a^:svg:graphics|",":svg:animate^:svg:animation|",":svg:animateMotion^:svg:animation|",":svg:animateTransform^:svg:animation|",":svg:circle^:svg:geometry|",":svg:clipPath^:svg:graphics|",":svg:defs^:svg:graphics|",":svg:desc^:svg:|",":svg:discard^:svg:|",":svg:ellipse^:svg:geometry|",":svg:feBlend^:svg:|",":svg:feColorMatrix^:svg:|",":svg:feComponentTransfer^:svg:|",":svg:feComposite^:svg:|",":svg:feConvolveMatrix^:svg:|",":svg:feDiffuseLighting^:svg:|",":svg:feDisplacementMap^:svg:|",":svg:feDistantLight^:svg:|",":svg:feDropShadow^:svg:|",":svg:feFlood^:svg:|",":svg:feFuncA^:svg:componentTransferFunction|",":svg:feFuncB^:svg:componentTransferFunction|",":svg:feFuncG^:svg:componentTransferFunction|",":svg:feFuncR^:svg:componentTransferFunction|",":svg:feGaussianBlur^:svg:|",":svg:feImage^:svg:|",":svg:feMerge^:svg:|",":svg:feMergeNode^:svg:|",":svg:feMorphology^:svg:|",":svg:feOffset^:svg:|",":svg:fePointLight^:svg:|",":svg:feSpecularLighting^:svg:|",":svg:feSpotLight^:svg:|",":svg:feTile^:svg:|",":svg:feTurbulence^:svg:|",":svg:filter^:svg:|",":svg:foreignObject^:svg:graphics|",":svg:g^:svg:graphics|",":svg:image^:svg:graphics|decoding",":svg:line^:svg:geometry|",":svg:linearGradient^:svg:gradient|",":svg:mpath^:svg:|",":svg:marker^:svg:|",":svg:mask^:svg:|",":svg:metadata^:svg:|",":svg:path^:svg:geometry|",":svg:pattern^:svg:|",":svg:polygon^:svg:geometry|",":svg:polyline^:svg:geometry|",":svg:radialGradient^:svg:gradient|",":svg:rect^:svg:geometry|",":svg:svg^:svg:graphics|#currentScale,#zoomAndPan",":svg:script^:svg:|type",":svg:set^:svg:animation|",":svg:stop^:svg:|",":svg:style^:svg:|!disabled,media,title,type",":svg:switch^:svg:graphics|",":svg:symbol^:svg:|",":svg:tspan^:svg:textPositioning|",":svg:text^:svg:textPositioning|",":svg:textPath^:svg:textContent|",":svg:title^:svg:|",":svg:use^:svg:graphics|",":svg:view^:svg:|#zoomAndPan","data^[HTMLElement]|value","keygen^[HTMLElement]|!autofocus,challenge,!disabled,form,keytype,name","menuitem^[HTMLElement]|type,label,icon,!disabled,!checked,radiogroup,!default","summary^[HTMLElement]|","time^[HTMLElement]|dateTime",":svg:cursor^:svg:|"],is=new Map(Object.entries({class:"className",for:"htmlFor",formaction:"formAction",innerHtml:"innerHTML",readonly:"readOnly",tabindex:"tabIndex"})),Sa=Array.from(is).reduce((t,[e,r])=>(t.set(e,r),t),new Map),Bt=class extends kt{constructor(){super(),this._schema=new Map,this._eventSchema=new Map,Ca.forEach(e=>{let r=new Map,n=new Set,[s,i]=e.split("|"),a=i.split(","),[u,o]=s.split("^");u.split(",").forEach(c=>{this._schema.set(c.toLowerCase(),r),this._eventSchema.set(c.toLowerCase(),n)});let p=o&&this._schema.get(o.toLowerCase());if(p){for(let[c,g]of p)r.set(c,g);for(let c of this._eventSchema.get(o.toLowerCase()))n.add(c)}a.forEach(c=>{if(c.length>0)switch(c[0]){case"*":n.add(c.substring(1));break;case"!":r.set(c.substring(1),fa);break;case"#":r.set(c.substring(1),ma);break;case"%":r.set(c.substring(1),ga);break;default:r.set(c,da)}})})}hasProperty(e,r,n){if(n.some(i=>i.name===Er.name))return!0;if(e.indexOf("-")>-1){if(Ar(e)||_r(e))return!1;if(n.some(i=>i.name===Sr.name))return!0}return(this._schema.get(e.toLowerCase())||this._schema.get("unknown")).has(r)}hasElement(e,r){return r.some(n=>n.name===Er.name)||e.indexOf("-")>-1&&(Ar(e)||_r(e)||r.some(n=>n.name===Sr.name))?!0:this._schema.has(e.toLowerCase())}securityContext(e,r,n){n&&(r=this.getMappedPropName(r)),e=e.toLowerCase(),r=r.toLowerCase();let s=Dr()[e+"|"+r];return s||(s=Dr()["*|"+r],s||j.NONE)}getMappedPropName(e){return is.get(e)??e}getDefaultComponentElementName(){return"ng-component"}validateProperty(e){return e.toLowerCase().startsWith("on")?{error:!0,msg:`Binding to event property '${e}' is disallowed for security reasons, please use (${e.slice(2)})=... -If '${e}' is a directive input, make sure the directive is imported by the current module.`}:{error:!1}}validateAttribute(e){return e.toLowerCase().startsWith("on")?{error:!0,msg:`Binding to event attribute '${e}' is disallowed for security reasons, please use (${e.slice(2)})=...`}:{error:!1}}allKnownElementNames(){return Array.from(this._schema.keys())}allKnownAttributesOfElement(e){let r=this._schema.get(e.toLowerCase())||this._schema.get("unknown");return Array.from(r.keys()).map(n=>Sa.get(n)??n)}allKnownEventsOfElement(e){return Array.from(this._eventSchema.get(e.toLowerCase())??[])}normalizeAnimationStyleProperty(e){return kn(e)}normalizeAnimationStyleValue(e,r,n){let s="",i=n.toString().trim(),a=null;if(Ea(e)&&n!==0&&n!=="0")if(typeof n=="number")s="px";else{let u=n.match(/^[+-]?[\d\.]+([a-z]*)$/);u&&u[1].length==0&&(a=`Please provide a CSS unit value for ${r}:${n}`)}return{error:a,value:i+s}}};function Ea(t){switch(t){case"width":case"height":case"minWidth":case"minHeight":case"maxWidth":case"maxHeight":case"left":case"top":case"bottom":case"right":case"fontSize":case"outlineWidth":case"outlineOffset":case"paddingTop":case"paddingLeft":case"paddingBottom":case"paddingRight":case"marginTop":case"marginLeft":case"marginBottom":case"marginRight":case"borderRadius":case"borderWidth":case"borderTopWidth":case"borderLeftWidth":case"borderRightWidth":case"borderBottomWidth":case"textIndent":return!0;default:return!1}}var f=class{constructor({closedByChildren:e,implicitNamespacePrefix:r,contentType:n=k.PARSABLE_DATA,closedByParent:s=!1,isVoid:i=!1,ignoreFirstLf:a=!1,preventNamespaceInheritance:u=!1,canSelfClose:o=!1}={}){this.closedByChildren={},this.closedByParent=!1,e&&e.length>0&&e.forEach(p=>this.closedByChildren[p]=!0),this.isVoid=i,this.closedByParent=s||i,this.implicitNamespacePrefix=r||null,this.contentType=n,this.ignoreFirstLf=a,this.preventNamespaceInheritance=u,this.canSelfClose=o??i}isClosedByChild(e){return this.isVoid||e.toLowerCase()in this.closedByChildren}getContentType(e){return typeof this.contentType=="object"?(e===void 0?void 0:this.contentType[e])??this.contentType.default:this.contentType}},as,rt;function $e(t){return rt||(as=new f({canSelfClose:!0}),rt={base:new f({isVoid:!0}),meta:new f({isVoid:!0}),area:new f({isVoid:!0}),embed:new f({isVoid:!0}),link:new f({isVoid:!0}),img:new f({isVoid:!0}),input:new f({isVoid:!0}),param:new f({isVoid:!0}),hr:new f({isVoid:!0}),br:new f({isVoid:!0}),source:new f({isVoid:!0}),track:new f({isVoid:!0}),wbr:new f({isVoid:!0}),p:new f({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 f({closedByChildren:["tbody","tfoot"]}),tbody:new f({closedByChildren:["tbody","tfoot"],closedByParent:!0}),tfoot:new f({closedByChildren:["tbody"],closedByParent:!0}),tr:new f({closedByChildren:["tr"],closedByParent:!0}),td:new f({closedByChildren:["td","th"],closedByParent:!0}),th:new f({closedByChildren:["td","th"],closedByParent:!0}),col:new f({isVoid:!0}),svg:new f({implicitNamespacePrefix:"svg"}),foreignObject:new f({implicitNamespacePrefix:"svg",preventNamespaceInheritance:!0}),math:new f({implicitNamespacePrefix:"math"}),li:new f({closedByChildren:["li"],closedByParent:!0}),dt:new f({closedByChildren:["dt","dd"]}),dd:new f({closedByChildren:["dt","dd"],closedByParent:!0}),rb:new f({closedByChildren:["rb","rt","rtc","rp"],closedByParent:!0}),rt:new f({closedByChildren:["rb","rt","rtc","rp"],closedByParent:!0}),rtc:new f({closedByChildren:["rb","rtc","rp"],closedByParent:!0}),rp:new f({closedByChildren:["rb","rt","rtc","rp"],closedByParent:!0}),optgroup:new f({closedByChildren:["optgroup"],closedByParent:!0}),option:new f({closedByChildren:["option","optgroup"],closedByParent:!0}),pre:new f({ignoreFirstLf:!0}),listing:new f({ignoreFirstLf:!0}),style:new f({contentType:k.RAW_TEXT}),script:new f({contentType:k.RAW_TEXT}),title:new f({contentType:{default:k.ESCAPABLE_RAW_TEXT,svg:k.PARSABLE_DATA}}),textarea:new f({contentType:k.ESCAPABLE_RAW_TEXT,ignoreFirstLf:!0})},new Bt().allKnownElementNames().forEach(e=>{!rt.hasOwnProperty(e)&&Ie(e)===null&&(rt[e]=new f({canSelfClose:!1}))})),rt[t]??as}var Se=class{constructor(e,r){this.sourceSpan=e,this.i18n=r}},Lt=class extends Se{constructor(e,r,n,s){super(r,s),this.value=e,this.tokens=n,this.type="text"}visit(e,r){return e.visitText(this,r)}},Ft=class extends Se{constructor(e,r,n,s){super(r,s),this.value=e,this.tokens=n,this.type="cdata"}visit(e,r){return e.visitCdata(this,r)}},Nt=class extends Se{constructor(e,r,n,s,i,a){super(s,a),this.switchValue=e,this.type=r,this.cases=n,this.switchValueSourceSpan=i}visit(e,r){return e.visitExpansion(this,r)}},Pt=class{constructor(e,r,n,s,i){this.value=e,this.expression=r,this.sourceSpan=n,this.valueSourceSpan=s,this.expSourceSpan=i}visit(e,r){return e.visitExpansionCase(this,r)}},It=class extends Se{constructor(e,r,n,s,i,a,u){super(n,u),this.name=e,this.value=r,this.keySpan=s,this.valueSpan=i,this.valueTokens=a,this.type="attribute"}visit(e,r){return e.visitAttribute(this,r)}get nameSpan(){return this.keySpan}},Rt=class extends Se{constructor(e,r,n,s,i,a=null,u=null,o){super(s,o),this.name=e,this.attrs=r,this.children=n,this.startSourceSpan=i,this.endSourceSpan=a,this.nameSpan=u,this.type="element"}visit(e,r){return e.visitElement(this,r)}},$t=class{constructor(e,r){this.value=e,this.sourceSpan=r,this.type="comment"}visit(e,r){return e.visitComment(this,r)}},Mt=class{constructor(e,r){this.value=e,this.sourceSpan=r,this.type="docType"}visit(e,r){return e.visitDocType(this,r)}};function Ot(t,e,r=null){let n=[],s=t.visit?i=>t.visit(i,r)||i.visit(t,r):i=>i.visit(t,r);return e.forEach(i=>{let a=s(i);a&&n.push(a)}),n}var nt=class{constructor(){}visitElement(e,r){this.visitChildren(r,n=>{n(e.attrs),n(e.children)})}visitAttribute(e,r){}visitText(e,r){}visitCdata(e,r){}visitComment(e,r){}visitDocType(e,r){}visitExpansion(e,r){return this.visitChildren(r,n=>{n(e.cases)})}visitExpansionCase(e,r){}visitChildren(e,r){let n=[],s=this;function i(a){a&&n.push(Ot(s,a,e))}return r(i),Array.prototype.concat.apply([],n)}};var Me={AElig:"\xC6",AMP:"&",amp:"&",Aacute:"\xC1",Abreve:"\u0102",Acirc:"\xC2",Acy:"\u0410",Afr:"\u{1D504}",Agrave:"\xC0",Alpha:"\u0391",Amacr:"\u0100",And:"\u2A53",Aogon:"\u0104",Aopf:"\u{1D538}",ApplyFunction:"\u2061",af:"\u2061",Aring:"\xC5",angst:"\xC5",Ascr:"\u{1D49C}",Assign:"\u2254",colone:"\u2254",coloneq:"\u2254",Atilde:"\xC3",Auml:"\xC4",Backslash:"\u2216",setminus:"\u2216",setmn:"\u2216",smallsetminus:"\u2216",ssetmn:"\u2216",Barv:"\u2AE7",Barwed:"\u2306",doublebarwedge:"\u2306",Bcy:"\u0411",Because:"\u2235",becaus:"\u2235",because:"\u2235",Bernoullis:"\u212C",Bscr:"\u212C",bernou:"\u212C",Beta:"\u0392",Bfr:"\u{1D505}",Bopf:"\u{1D539}",Breve:"\u02D8",breve:"\u02D8",Bumpeq:"\u224E",HumpDownHump:"\u224E",bump:"\u224E",CHcy:"\u0427",COPY:"\xA9",copy:"\xA9",Cacute:"\u0106",Cap:"\u22D2",CapitalDifferentialD:"\u2145",DD:"\u2145",Cayleys:"\u212D",Cfr:"\u212D",Ccaron:"\u010C",Ccedil:"\xC7",Ccirc:"\u0108",Cconint:"\u2230",Cdot:"\u010A",Cedilla:"\xB8",cedil:"\xB8",CenterDot:"\xB7",centerdot:"\xB7",middot:"\xB7",Chi:"\u03A7",CircleDot:"\u2299",odot:"\u2299",CircleMinus:"\u2296",ominus:"\u2296",CirclePlus:"\u2295",oplus:"\u2295",CircleTimes:"\u2297",otimes:"\u2297",ClockwiseContourIntegral:"\u2232",cwconint:"\u2232",CloseCurlyDoubleQuote:"\u201D",rdquo:"\u201D",rdquor:"\u201D",CloseCurlyQuote:"\u2019",rsquo:"\u2019",rsquor:"\u2019",Colon:"\u2237",Proportion:"\u2237",Colone:"\u2A74",Congruent:"\u2261",equiv:"\u2261",Conint:"\u222F",DoubleContourIntegral:"\u222F",ContourIntegral:"\u222E",conint:"\u222E",oint:"\u222E",Copf:"\u2102",complexes:"\u2102",Coproduct:"\u2210",coprod:"\u2210",CounterClockwiseContourIntegral:"\u2233",awconint:"\u2233",Cross:"\u2A2F",Cscr:"\u{1D49E}",Cup:"\u22D3",CupCap:"\u224D",asympeq:"\u224D",DDotrahd:"\u2911",DJcy:"\u0402",DScy:"\u0405",DZcy:"\u040F",Dagger:"\u2021",ddagger:"\u2021",Darr:"\u21A1",Dashv:"\u2AE4",DoubleLeftTee:"\u2AE4",Dcaron:"\u010E",Dcy:"\u0414",Del:"\u2207",nabla:"\u2207",Delta:"\u0394",Dfr:"\u{1D507}",DiacriticalAcute:"\xB4",acute:"\xB4",DiacriticalDot:"\u02D9",dot:"\u02D9",DiacriticalDoubleAcute:"\u02DD",dblac:"\u02DD",DiacriticalGrave:"`",grave:"`",DiacriticalTilde:"\u02DC",tilde:"\u02DC",Diamond:"\u22C4",diam:"\u22C4",diamond:"\u22C4",DifferentialD:"\u2146",dd:"\u2146",Dopf:"\u{1D53B}",Dot:"\xA8",DoubleDot:"\xA8",die:"\xA8",uml:"\xA8",DotDot:"\u20DC",DotEqual:"\u2250",doteq:"\u2250",esdot:"\u2250",DoubleDownArrow:"\u21D3",Downarrow:"\u21D3",dArr:"\u21D3",DoubleLeftArrow:"\u21D0",Leftarrow:"\u21D0",lArr:"\u21D0",DoubleLeftRightArrow:"\u21D4",Leftrightarrow:"\u21D4",hArr:"\u21D4",iff:"\u21D4",DoubleLongLeftArrow:"\u27F8",Longleftarrow:"\u27F8",xlArr:"\u27F8",DoubleLongLeftRightArrow:"\u27FA",Longleftrightarrow:"\u27FA",xhArr:"\u27FA",DoubleLongRightArrow:"\u27F9",Longrightarrow:"\u27F9",xrArr:"\u27F9",DoubleRightArrow:"\u21D2",Implies:"\u21D2",Rightarrow:"\u21D2",rArr:"\u21D2",DoubleRightTee:"\u22A8",vDash:"\u22A8",DoubleUpArrow:"\u21D1",Uparrow:"\u21D1",uArr:"\u21D1",DoubleUpDownArrow:"\u21D5",Updownarrow:"\u21D5",vArr:"\u21D5",DoubleVerticalBar:"\u2225",par:"\u2225",parallel:"\u2225",shortparallel:"\u2225",spar:"\u2225",DownArrow:"\u2193",ShortDownArrow:"\u2193",darr:"\u2193",downarrow:"\u2193",DownArrowBar:"\u2913",DownArrowUpArrow:"\u21F5",duarr:"\u21F5",DownBreve:"\u0311",DownLeftRightVector:"\u2950",DownLeftTeeVector:"\u295E",DownLeftVector:"\u21BD",leftharpoondown:"\u21BD",lhard:"\u21BD",DownLeftVectorBar:"\u2956",DownRightTeeVector:"\u295F",DownRightVector:"\u21C1",rhard:"\u21C1",rightharpoondown:"\u21C1",DownRightVectorBar:"\u2957",DownTee:"\u22A4",top:"\u22A4",DownTeeArrow:"\u21A7",mapstodown:"\u21A7",Dscr:"\u{1D49F}",Dstrok:"\u0110",ENG:"\u014A",ETH:"\xD0",Eacute:"\xC9",Ecaron:"\u011A",Ecirc:"\xCA",Ecy:"\u042D",Edot:"\u0116",Efr:"\u{1D508}",Egrave:"\xC8",Element:"\u2208",in:"\u2208",isin:"\u2208",isinv:"\u2208",Emacr:"\u0112",EmptySmallSquare:"\u25FB",EmptyVerySmallSquare:"\u25AB",Eogon:"\u0118",Eopf:"\u{1D53C}",Epsilon:"\u0395",Equal:"\u2A75",EqualTilde:"\u2242",eqsim:"\u2242",esim:"\u2242",Equilibrium:"\u21CC",rightleftharpoons:"\u21CC",rlhar:"\u21CC",Escr:"\u2130",expectation:"\u2130",Esim:"\u2A73",Eta:"\u0397",Euml:"\xCB",Exists:"\u2203",exist:"\u2203",ExponentialE:"\u2147",ee:"\u2147",exponentiale:"\u2147",Fcy:"\u0424",Ffr:"\u{1D509}",FilledSmallSquare:"\u25FC",FilledVerySmallSquare:"\u25AA",blacksquare:"\u25AA",squarf:"\u25AA",squf:"\u25AA",Fopf:"\u{1D53D}",ForAll:"\u2200",forall:"\u2200",Fouriertrf:"\u2131",Fscr:"\u2131",GJcy:"\u0403",GT:">",gt:">",Gamma:"\u0393",Gammad:"\u03DC",Gbreve:"\u011E",Gcedil:"\u0122",Gcirc:"\u011C",Gcy:"\u0413",Gdot:"\u0120",Gfr:"\u{1D50A}",Gg:"\u22D9",ggg:"\u22D9",Gopf:"\u{1D53E}",GreaterEqual:"\u2265",ge:"\u2265",geq:"\u2265",GreaterEqualLess:"\u22DB",gel:"\u22DB",gtreqless:"\u22DB",GreaterFullEqual:"\u2267",gE:"\u2267",geqq:"\u2267",GreaterGreater:"\u2AA2",GreaterLess:"\u2277",gl:"\u2277",gtrless:"\u2277",GreaterSlantEqual:"\u2A7E",geqslant:"\u2A7E",ges:"\u2A7E",GreaterTilde:"\u2273",gsim:"\u2273",gtrsim:"\u2273",Gscr:"\u{1D4A2}",Gt:"\u226B",NestedGreaterGreater:"\u226B",gg:"\u226B",HARDcy:"\u042A",Hacek:"\u02C7",caron:"\u02C7",Hat:"^",Hcirc:"\u0124",Hfr:"\u210C",Poincareplane:"\u210C",HilbertSpace:"\u210B",Hscr:"\u210B",hamilt:"\u210B",Hopf:"\u210D",quaternions:"\u210D",HorizontalLine:"\u2500",boxh:"\u2500",Hstrok:"\u0126",HumpEqual:"\u224F",bumpe:"\u224F",bumpeq:"\u224F",IEcy:"\u0415",IJlig:"\u0132",IOcy:"\u0401",Iacute:"\xCD",Icirc:"\xCE",Icy:"\u0418",Idot:"\u0130",Ifr:"\u2111",Im:"\u2111",image:"\u2111",imagpart:"\u2111",Igrave:"\xCC",Imacr:"\u012A",ImaginaryI:"\u2148",ii:"\u2148",Int:"\u222C",Integral:"\u222B",int:"\u222B",Intersection:"\u22C2",bigcap:"\u22C2",xcap:"\u22C2",InvisibleComma:"\u2063",ic:"\u2063",InvisibleTimes:"\u2062",it:"\u2062",Iogon:"\u012E",Iopf:"\u{1D540}",Iota:"\u0399",Iscr:"\u2110",imagline:"\u2110",Itilde:"\u0128",Iukcy:"\u0406",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",LT:"<",lt:"<",Lacute:"\u0139",Lambda:"\u039B",Lang:"\u27EA",Laplacetrf:"\u2112",Lscr:"\u2112",lagran:"\u2112",Larr:"\u219E",twoheadleftarrow:"\u219E",Lcaron:"\u013D",Lcedil:"\u013B",Lcy:"\u041B",LeftAngleBracket:"\u27E8",lang:"\u27E8",langle:"\u27E8",LeftArrow:"\u2190",ShortLeftArrow:"\u2190",larr:"\u2190",leftarrow:"\u2190",slarr:"\u2190",LeftArrowBar:"\u21E4",larrb:"\u21E4",LeftArrowRightArrow:"\u21C6",leftrightarrows:"\u21C6",lrarr:"\u21C6",LeftCeiling:"\u2308",lceil:"\u2308",LeftDoubleBracket:"\u27E6",lobrk:"\u27E6",LeftDownTeeVector:"\u2961",LeftDownVector:"\u21C3",dharl:"\u21C3",downharpoonleft:"\u21C3",LeftDownVectorBar:"\u2959",LeftFloor:"\u230A",lfloor:"\u230A",LeftRightArrow:"\u2194",harr:"\u2194",leftrightarrow:"\u2194",LeftRightVector:"\u294E",LeftTee:"\u22A3",dashv:"\u22A3",LeftTeeArrow:"\u21A4",mapstoleft:"\u21A4",LeftTeeVector:"\u295A",LeftTriangle:"\u22B2",vartriangleleft:"\u22B2",vltri:"\u22B2",LeftTriangleBar:"\u29CF",LeftTriangleEqual:"\u22B4",ltrie:"\u22B4",trianglelefteq:"\u22B4",LeftUpDownVector:"\u2951",LeftUpTeeVector:"\u2960",LeftUpVector:"\u21BF",uharl:"\u21BF",upharpoonleft:"\u21BF",LeftUpVectorBar:"\u2958",LeftVector:"\u21BC",leftharpoonup:"\u21BC",lharu:"\u21BC",LeftVectorBar:"\u2952",LessEqualGreater:"\u22DA",leg:"\u22DA",lesseqgtr:"\u22DA",LessFullEqual:"\u2266",lE:"\u2266",leqq:"\u2266",LessGreater:"\u2276",lessgtr:"\u2276",lg:"\u2276",LessLess:"\u2AA1",LessSlantEqual:"\u2A7D",leqslant:"\u2A7D",les:"\u2A7D",LessTilde:"\u2272",lesssim:"\u2272",lsim:"\u2272",Lfr:"\u{1D50F}",Ll:"\u22D8",Lleftarrow:"\u21DA",lAarr:"\u21DA",Lmidot:"\u013F",LongLeftArrow:"\u27F5",longleftarrow:"\u27F5",xlarr:"\u27F5",LongLeftRightArrow:"\u27F7",longleftrightarrow:"\u27F7",xharr:"\u27F7",LongRightArrow:"\u27F6",longrightarrow:"\u27F6",xrarr:"\u27F6",Lopf:"\u{1D543}",LowerLeftArrow:"\u2199",swarr:"\u2199",swarrow:"\u2199",LowerRightArrow:"\u2198",searr:"\u2198",searrow:"\u2198",Lsh:"\u21B0",lsh:"\u21B0",Lstrok:"\u0141",Lt:"\u226A",NestedLessLess:"\u226A",ll:"\u226A",Map:"\u2905",Mcy:"\u041C",MediumSpace:"\u205F",Mellintrf:"\u2133",Mscr:"\u2133",phmmat:"\u2133",Mfr:"\u{1D510}",MinusPlus:"\u2213",mnplus:"\u2213",mp:"\u2213",Mopf:"\u{1D544}",Mu:"\u039C",NJcy:"\u040A",Nacute:"\u0143",Ncaron:"\u0147",Ncedil:"\u0145",Ncy:"\u041D",NegativeMediumSpace:"\u200B",NegativeThickSpace:"\u200B",NegativeThinSpace:"\u200B",NegativeVeryThinSpace:"\u200B",ZeroWidthSpace:"\u200B",NewLine:` -`,Nfr:"\u{1D511}",NoBreak:"\u2060",NonBreakingSpace:"\xA0",nbsp:"\xA0",Nopf:"\u2115",naturals:"\u2115",Not:"\u2AEC",NotCongruent:"\u2262",nequiv:"\u2262",NotCupCap:"\u226D",NotDoubleVerticalBar:"\u2226",npar:"\u2226",nparallel:"\u2226",nshortparallel:"\u2226",nspar:"\u2226",NotElement:"\u2209",notin:"\u2209",notinva:"\u2209",NotEqual:"\u2260",ne:"\u2260",NotEqualTilde:"\u2242\u0338",nesim:"\u2242\u0338",NotExists:"\u2204",nexist:"\u2204",nexists:"\u2204",NotGreater:"\u226F",ngt:"\u226F",ngtr:"\u226F",NotGreaterEqual:"\u2271",nge:"\u2271",ngeq:"\u2271",NotGreaterFullEqual:"\u2267\u0338",ngE:"\u2267\u0338",ngeqq:"\u2267\u0338",NotGreaterGreater:"\u226B\u0338",nGtv:"\u226B\u0338",NotGreaterLess:"\u2279",ntgl:"\u2279",NotGreaterSlantEqual:"\u2A7E\u0338",ngeqslant:"\u2A7E\u0338",nges:"\u2A7E\u0338",NotGreaterTilde:"\u2275",ngsim:"\u2275",NotHumpDownHump:"\u224E\u0338",nbump:"\u224E\u0338",NotHumpEqual:"\u224F\u0338",nbumpe:"\u224F\u0338",NotLeftTriangle:"\u22EA",nltri:"\u22EA",ntriangleleft:"\u22EA",NotLeftTriangleBar:"\u29CF\u0338",NotLeftTriangleEqual:"\u22EC",nltrie:"\u22EC",ntrianglelefteq:"\u22EC",NotLess:"\u226E",nless:"\u226E",nlt:"\u226E",NotLessEqual:"\u2270",nle:"\u2270",nleq:"\u2270",NotLessGreater:"\u2278",ntlg:"\u2278",NotLessLess:"\u226A\u0338",nLtv:"\u226A\u0338",NotLessSlantEqual:"\u2A7D\u0338",nleqslant:"\u2A7D\u0338",nles:"\u2A7D\u0338",NotLessTilde:"\u2274",nlsim:"\u2274",NotNestedGreaterGreater:"\u2AA2\u0338",NotNestedLessLess:"\u2AA1\u0338",NotPrecedes:"\u2280",npr:"\u2280",nprec:"\u2280",NotPrecedesEqual:"\u2AAF\u0338",npre:"\u2AAF\u0338",npreceq:"\u2AAF\u0338",NotPrecedesSlantEqual:"\u22E0",nprcue:"\u22E0",NotReverseElement:"\u220C",notni:"\u220C",notniva:"\u220C",NotRightTriangle:"\u22EB",nrtri:"\u22EB",ntriangleright:"\u22EB",NotRightTriangleBar:"\u29D0\u0338",NotRightTriangleEqual:"\u22ED",nrtrie:"\u22ED",ntrianglerighteq:"\u22ED",NotSquareSubset:"\u228F\u0338",NotSquareSubsetEqual:"\u22E2",nsqsube:"\u22E2",NotSquareSuperset:"\u2290\u0338",NotSquareSupersetEqual:"\u22E3",nsqsupe:"\u22E3",NotSubset:"\u2282\u20D2",nsubset:"\u2282\u20D2",vnsub:"\u2282\u20D2",NotSubsetEqual:"\u2288",nsube:"\u2288",nsubseteq:"\u2288",NotSucceeds:"\u2281",nsc:"\u2281",nsucc:"\u2281",NotSucceedsEqual:"\u2AB0\u0338",nsce:"\u2AB0\u0338",nsucceq:"\u2AB0\u0338",NotSucceedsSlantEqual:"\u22E1",nsccue:"\u22E1",NotSucceedsTilde:"\u227F\u0338",NotSuperset:"\u2283\u20D2",nsupset:"\u2283\u20D2",vnsup:"\u2283\u20D2",NotSupersetEqual:"\u2289",nsupe:"\u2289",nsupseteq:"\u2289",NotTilde:"\u2241",nsim:"\u2241",NotTildeEqual:"\u2244",nsime:"\u2244",nsimeq:"\u2244",NotTildeFullEqual:"\u2247",ncong:"\u2247",NotTildeTilde:"\u2249",nap:"\u2249",napprox:"\u2249",NotVerticalBar:"\u2224",nmid:"\u2224",nshortmid:"\u2224",nsmid:"\u2224",Nscr:"\u{1D4A9}",Ntilde:"\xD1",Nu:"\u039D",OElig:"\u0152",Oacute:"\xD3",Ocirc:"\xD4",Ocy:"\u041E",Odblac:"\u0150",Ofr:"\u{1D512}",Ograve:"\xD2",Omacr:"\u014C",Omega:"\u03A9",ohm:"\u03A9",Omicron:"\u039F",Oopf:"\u{1D546}",OpenCurlyDoubleQuote:"\u201C",ldquo:"\u201C",OpenCurlyQuote:"\u2018",lsquo:"\u2018",Or:"\u2A54",Oscr:"\u{1D4AA}",Oslash:"\xD8",Otilde:"\xD5",Otimes:"\u2A37",Ouml:"\xD6",OverBar:"\u203E",oline:"\u203E",OverBrace:"\u23DE",OverBracket:"\u23B4",tbrk:"\u23B4",OverParenthesis:"\u23DC",PartialD:"\u2202",part:"\u2202",Pcy:"\u041F",Pfr:"\u{1D513}",Phi:"\u03A6",Pi:"\u03A0",PlusMinus:"\xB1",plusmn:"\xB1",pm:"\xB1",Popf:"\u2119",primes:"\u2119",Pr:"\u2ABB",Precedes:"\u227A",pr:"\u227A",prec:"\u227A",PrecedesEqual:"\u2AAF",pre:"\u2AAF",preceq:"\u2AAF",PrecedesSlantEqual:"\u227C",prcue:"\u227C",preccurlyeq:"\u227C",PrecedesTilde:"\u227E",precsim:"\u227E",prsim:"\u227E",Prime:"\u2033",Product:"\u220F",prod:"\u220F",Proportional:"\u221D",prop:"\u221D",propto:"\u221D",varpropto:"\u221D",vprop:"\u221D",Pscr:"\u{1D4AB}",Psi:"\u03A8",QUOT:'"',quot:'"',Qfr:"\u{1D514}",Qopf:"\u211A",rationals:"\u211A",Qscr:"\u{1D4AC}",RBarr:"\u2910",drbkarow:"\u2910",REG:"\xAE",circledR:"\xAE",reg:"\xAE",Racute:"\u0154",Rang:"\u27EB",Rarr:"\u21A0",twoheadrightarrow:"\u21A0",Rarrtl:"\u2916",Rcaron:"\u0158",Rcedil:"\u0156",Rcy:"\u0420",Re:"\u211C",Rfr:"\u211C",real:"\u211C",realpart:"\u211C",ReverseElement:"\u220B",SuchThat:"\u220B",ni:"\u220B",niv:"\u220B",ReverseEquilibrium:"\u21CB",leftrightharpoons:"\u21CB",lrhar:"\u21CB",ReverseUpEquilibrium:"\u296F",duhar:"\u296F",Rho:"\u03A1",RightAngleBracket:"\u27E9",rang:"\u27E9",rangle:"\u27E9",RightArrow:"\u2192",ShortRightArrow:"\u2192",rarr:"\u2192",rightarrow:"\u2192",srarr:"\u2192",RightArrowBar:"\u21E5",rarrb:"\u21E5",RightArrowLeftArrow:"\u21C4",rightleftarrows:"\u21C4",rlarr:"\u21C4",RightCeiling:"\u2309",rceil:"\u2309",RightDoubleBracket:"\u27E7",robrk:"\u27E7",RightDownTeeVector:"\u295D",RightDownVector:"\u21C2",dharr:"\u21C2",downharpoonright:"\u21C2",RightDownVectorBar:"\u2955",RightFloor:"\u230B",rfloor:"\u230B",RightTee:"\u22A2",vdash:"\u22A2",RightTeeArrow:"\u21A6",map:"\u21A6",mapsto:"\u21A6",RightTeeVector:"\u295B",RightTriangle:"\u22B3",vartriangleright:"\u22B3",vrtri:"\u22B3",RightTriangleBar:"\u29D0",RightTriangleEqual:"\u22B5",rtrie:"\u22B5",trianglerighteq:"\u22B5",RightUpDownVector:"\u294F",RightUpTeeVector:"\u295C",RightUpVector:"\u21BE",uharr:"\u21BE",upharpoonright:"\u21BE",RightUpVectorBar:"\u2954",RightVector:"\u21C0",rharu:"\u21C0",rightharpoonup:"\u21C0",RightVectorBar:"\u2953",Ropf:"\u211D",reals:"\u211D",RoundImplies:"\u2970",Rrightarrow:"\u21DB",rAarr:"\u21DB",Rscr:"\u211B",realine:"\u211B",Rsh:"\u21B1",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}",ShortUpArrow:"\u2191",UpArrow:"\u2191",uarr:"\u2191",uparrow:"\u2191",Sigma:"\u03A3",SmallCircle:"\u2218",compfn:"\u2218",Sopf:"\u{1D54A}",Sqrt:"\u221A",radic:"\u221A",Square:"\u25A1",squ:"\u25A1",square:"\u25A1",SquareIntersection:"\u2293",sqcap:"\u2293",SquareSubset:"\u228F",sqsub:"\u228F",sqsubset:"\u228F",SquareSubsetEqual:"\u2291",sqsube:"\u2291",sqsubseteq:"\u2291",SquareSuperset:"\u2290",sqsup:"\u2290",sqsupset:"\u2290",SquareSupersetEqual:"\u2292",sqsupe:"\u2292",sqsupseteq:"\u2292",SquareUnion:"\u2294",sqcup:"\u2294",Sscr:"\u{1D4AE}",Star:"\u22C6",sstarf:"\u22C6",Sub:"\u22D0",Subset:"\u22D0",SubsetEqual:"\u2286",sube:"\u2286",subseteq:"\u2286",Succeeds:"\u227B",sc:"\u227B",succ:"\u227B",SucceedsEqual:"\u2AB0",sce:"\u2AB0",succeq:"\u2AB0",SucceedsSlantEqual:"\u227D",sccue:"\u227D",succcurlyeq:"\u227D",SucceedsTilde:"\u227F",scsim:"\u227F",succsim:"\u227F",Sum:"\u2211",sum:"\u2211",Sup:"\u22D1",Supset:"\u22D1",Superset:"\u2283",sup:"\u2283",supset:"\u2283",SupersetEqual:"\u2287",supe:"\u2287",supseteq:"\u2287",THORN:"\xDE",TRADE:"\u2122",trade:"\u2122",TSHcy:"\u040B",TScy:"\u0426",Tab:" ",Tau:"\u03A4",Tcaron:"\u0164",Tcedil:"\u0162",Tcy:"\u0422",Tfr:"\u{1D517}",Therefore:"\u2234",there4:"\u2234",therefore:"\u2234",Theta:"\u0398",ThickSpace:"\u205F\u200A",ThinSpace:"\u2009",thinsp:"\u2009",Tilde:"\u223C",sim:"\u223C",thicksim:"\u223C",thksim:"\u223C",TildeEqual:"\u2243",sime:"\u2243",simeq:"\u2243",TildeFullEqual:"\u2245",cong:"\u2245",TildeTilde:"\u2248",ap:"\u2248",approx:"\u2248",asymp:"\u2248",thickapprox:"\u2248",thkap:"\u2248",Topf:"\u{1D54B}",TripleDot:"\u20DB",tdot:"\u20DB",Tscr:"\u{1D4AF}",Tstrok:"\u0166",Uacute:"\xDA",Uarr:"\u219F",Uarrocir:"\u2949",Ubrcy:"\u040E",Ubreve:"\u016C",Ucirc:"\xDB",Ucy:"\u0423",Udblac:"\u0170",Ufr:"\u{1D518}",Ugrave:"\xD9",Umacr:"\u016A",UnderBar:"_",lowbar:"_",UnderBrace:"\u23DF",UnderBracket:"\u23B5",bbrk:"\u23B5",UnderParenthesis:"\u23DD",Union:"\u22C3",bigcup:"\u22C3",xcup:"\u22C3",UnionPlus:"\u228E",uplus:"\u228E",Uogon:"\u0172",Uopf:"\u{1D54C}",UpArrowBar:"\u2912",UpArrowDownArrow:"\u21C5",udarr:"\u21C5",UpDownArrow:"\u2195",updownarrow:"\u2195",varr:"\u2195",UpEquilibrium:"\u296E",udhar:"\u296E",UpTee:"\u22A5",bot:"\u22A5",bottom:"\u22A5",perp:"\u22A5",UpTeeArrow:"\u21A5",mapstoup:"\u21A5",UpperLeftArrow:"\u2196",nwarr:"\u2196",nwarrow:"\u2196",UpperRightArrow:"\u2197",nearr:"\u2197",nearrow:"\u2197",Upsi:"\u03D2",upsih:"\u03D2",Upsilon:"\u03A5",Uring:"\u016E",Uscr:"\u{1D4B0}",Utilde:"\u0168",Uuml:"\xDC",VDash:"\u22AB",Vbar:"\u2AEB",Vcy:"\u0412",Vdash:"\u22A9",Vdashl:"\u2AE6",Vee:"\u22C1",bigvee:"\u22C1",xvee:"\u22C1",Verbar:"\u2016",Vert:"\u2016",VerticalBar:"\u2223",mid:"\u2223",shortmid:"\u2223",smid:"\u2223",VerticalLine:"|",verbar:"|",vert:"|",VerticalSeparator:"\u2758",VerticalTilde:"\u2240",wr:"\u2240",wreath:"\u2240",VeryThinSpace:"\u200A",hairsp:"\u200A",Vfr:"\u{1D519}",Vopf:"\u{1D54D}",Vscr:"\u{1D4B1}",Vvdash:"\u22AA",Wcirc:"\u0174",Wedge:"\u22C0",bigwedge:"\u22C0",xwedge:"\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",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",Zeta:"\u0396",Zfr:"\u2128",zeetrf:"\u2128",Zopf:"\u2124",integers:"\u2124",Zscr:"\u{1D4B5}",aacute:"\xE1",abreve:"\u0103",ac:"\u223E",mstpos:"\u223E",acE:"\u223E\u0333",acd:"\u223F",acirc:"\xE2",acy:"\u0430",aelig:"\xE6",afr:"\u{1D51E}",agrave:"\xE0",alefsym:"\u2135",aleph:"\u2135",alpha:"\u03B1",amacr:"\u0101",amalg:"\u2A3F",and:"\u2227",wedge:"\u2227",andand:"\u2A55",andd:"\u2A5C",andslope:"\u2A58",andv:"\u2A5A",ang:"\u2220",angle:"\u2220",ange:"\u29A4",angmsd:"\u2221",measuredangle:"\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",angzarr:"\u237C",aogon:"\u0105",aopf:"\u{1D552}",apE:"\u2A70",apacir:"\u2A6F",ape:"\u224A",approxeq:"\u224A",apid:"\u224B",apos:"'",aring:"\xE5",ascr:"\u{1D4B6}",ast:"*",midast:"*",atilde:"\xE3",auml:"\xE4",awint:"\u2A11",bNot:"\u2AED",backcong:"\u224C",bcong:"\u224C",backepsilon:"\u03F6",bepsi:"\u03F6",backprime:"\u2035",bprime:"\u2035",backsim:"\u223D",bsim:"\u223D",backsimeq:"\u22CD",bsime:"\u22CD",barvee:"\u22BD",barwed:"\u2305",barwedge:"\u2305",bbrktbrk:"\u23B6",bcy:"\u0431",bdquo:"\u201E",ldquor:"\u201E",bemptyv:"\u29B0",beta:"\u03B2",beth:"\u2136",between:"\u226C",twixt:"\u226C",bfr:"\u{1D51F}",bigcirc:"\u25EF",xcirc:"\u25EF",bigodot:"\u2A00",xodot:"\u2A00",bigoplus:"\u2A01",xoplus:"\u2A01",bigotimes:"\u2A02",xotime:"\u2A02",bigsqcup:"\u2A06",xsqcup:"\u2A06",bigstar:"\u2605",starf:"\u2605",bigtriangledown:"\u25BD",xdtri:"\u25BD",bigtriangleup:"\u25B3",xutri:"\u25B3",biguplus:"\u2A04",xuplus:"\u2A04",bkarow:"\u290D",rbarr:"\u290D",blacklozenge:"\u29EB",lozf:"\u29EB",blacktriangle:"\u25B4",utrif:"\u25B4",blacktriangledown:"\u25BE",dtrif:"\u25BE",blacktriangleleft:"\u25C2",ltrif:"\u25C2",blacktriangleright:"\u25B8",rtrif:"\u25B8",blank:"\u2423",blk12:"\u2592",blk14:"\u2591",blk34:"\u2593",block:"\u2588",bne:"=\u20E5",bnequiv:"\u2261\u20E5",bnot:"\u2310",bopf:"\u{1D553}",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",boxhD:"\u2565",boxhU:"\u2568",boxhd:"\u252C",boxhu:"\u2534",boxminus:"\u229F",minusb:"\u229F",boxplus:"\u229E",plusb:"\u229E",boxtimes:"\u22A0",timesb:"\u22A0",boxuL:"\u255B",boxuR:"\u2558",boxul:"\u2518",boxur:"\u2514",boxv:"\u2502",boxvH:"\u256A",boxvL:"\u2561",boxvR:"\u255E",boxvh:"\u253C",boxvl:"\u2524",boxvr:"\u251C",brvbar:"\xA6",bscr:"\u{1D4B7}",bsemi:"\u204F",bsol:"\\",bsolb:"\u29C5",bsolhsub:"\u27C8",bull:"\u2022",bullet:"\u2022",bumpE:"\u2AAE",cacute:"\u0107",cap:"\u2229",capand:"\u2A44",capbrcup:"\u2A49",capcap:"\u2A4B",capcup:"\u2A47",capdot:"\u2A40",caps:"\u2229\uFE00",caret:"\u2041",ccaps:"\u2A4D",ccaron:"\u010D",ccedil:"\xE7",ccirc:"\u0109",ccups:"\u2A4C",ccupssm:"\u2A50",cdot:"\u010B",cemptyv:"\u29B2",cent:"\xA2",cfr:"\u{1D520}",chcy:"\u0447",check:"\u2713",checkmark:"\u2713",chi:"\u03C7",cir:"\u25CB",cirE:"\u29C3",circ:"\u02C6",circeq:"\u2257",cire:"\u2257",circlearrowleft:"\u21BA",olarr:"\u21BA",circlearrowright:"\u21BB",orarr:"\u21BB",circledS:"\u24C8",oS:"\u24C8",circledast:"\u229B",oast:"\u229B",circledcirc:"\u229A",ocir:"\u229A",circleddash:"\u229D",odash:"\u229D",cirfnint:"\u2A10",cirmid:"\u2AEF",cirscir:"\u29C2",clubs:"\u2663",clubsuit:"\u2663",colon:":",comma:",",commat:"@",comp:"\u2201",complement:"\u2201",congdot:"\u2A6D",copf:"\u{1D554}",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",curlyeqprec:"\u22DE",cuesc:"\u22DF",curlyeqsucc:"\u22DF",cularr:"\u21B6",curvearrowleft:"\u21B6",cularrp:"\u293D",cup:"\u222A",cupbrcap:"\u2A48",cupcap:"\u2A46",cupcup:"\u2A4A",cupdot:"\u228D",cupor:"\u2A45",cups:"\u222A\uFE00",curarr:"\u21B7",curvearrowright:"\u21B7",curarrm:"\u293C",curlyvee:"\u22CE",cuvee:"\u22CE",curlywedge:"\u22CF",cuwed:"\u22CF",curren:"\xA4",cwint:"\u2231",cylcty:"\u232D",dHar:"\u2965",dagger:"\u2020",daleth:"\u2138",dash:"\u2010",hyphen:"\u2010",dbkarow:"\u290F",rBarr:"\u290F",dcaron:"\u010F",dcy:"\u0434",ddarr:"\u21CA",downdownarrows:"\u21CA",ddotseq:"\u2A77",eDDot:"\u2A77",deg:"\xB0",delta:"\u03B4",demptyv:"\u29B1",dfisht:"\u297F",dfr:"\u{1D521}",diamondsuit:"\u2666",diams:"\u2666",digamma:"\u03DD",gammad:"\u03DD",disin:"\u22F2",div:"\xF7",divide:"\xF7",divideontimes:"\u22C7",divonx:"\u22C7",djcy:"\u0452",dlcorn:"\u231E",llcorner:"\u231E",dlcrop:"\u230D",dollar:"$",dopf:"\u{1D555}",doteqdot:"\u2251",eDot:"\u2251",dotminus:"\u2238",minusd:"\u2238",dotplus:"\u2214",plusdo:"\u2214",dotsquare:"\u22A1",sdotb:"\u22A1",drcorn:"\u231F",lrcorner:"\u231F",drcrop:"\u230C",dscr:"\u{1D4B9}",dscy:"\u0455",dsol:"\u29F6",dstrok:"\u0111",dtdot:"\u22F1",dtri:"\u25BF",triangledown:"\u25BF",dwangle:"\u29A6",dzcy:"\u045F",dzigrarr:"\u27FF",eacute:"\xE9",easter:"\u2A6E",ecaron:"\u011B",ecir:"\u2256",eqcirc:"\u2256",ecirc:"\xEA",ecolon:"\u2255",eqcolon:"\u2255",ecy:"\u044D",edot:"\u0117",efDot:"\u2252",fallingdotseq:"\u2252",efr:"\u{1D522}",eg:"\u2A9A",egrave:"\xE8",egs:"\u2A96",eqslantgtr:"\u2A96",egsdot:"\u2A98",el:"\u2A99",elinters:"\u23E7",ell:"\u2113",els:"\u2A95",eqslantless:"\u2A95",elsdot:"\u2A97",emacr:"\u0113",empty:"\u2205",emptyset:"\u2205",emptyv:"\u2205",varnothing:"\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",straightepsilon:"\u03F5",varepsilon:"\u03F5",equals:"=",equest:"\u225F",questeq:"\u225F",equivDD:"\u2A78",eqvparsl:"\u29E5",erDot:"\u2253",risingdotseq:"\u2253",erarr:"\u2971",escr:"\u212F",eta:"\u03B7",eth:"\xF0",euml:"\xEB",euro:"\u20AC",excl:"!",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}",fork:"\u22D4",pitchfork:"\u22D4",forkv:"\u2AD9",fpartint:"\u2A0D",frac12:"\xBD",half:"\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",sfrown:"\u2322",fscr:"\u{1D4BB}",gEl:"\u2A8C",gtreqqless:"\u2A8C",gacute:"\u01F5",gamma:"\u03B3",gap:"\u2A86",gtrapprox:"\u2A86",gbreve:"\u011F",gcirc:"\u011D",gcy:"\u0433",gdot:"\u0121",gescc:"\u2AA9",gesdot:"\u2A80",gesdoto:"\u2A82",gesdotol:"\u2A84",gesl:"\u22DB\uFE00",gesles:"\u2A94",gfr:"\u{1D524}",gimel:"\u2137",gjcy:"\u0453",glE:"\u2A92",gla:"\u2AA5",glj:"\u2AA4",gnE:"\u2269",gneqq:"\u2269",gnap:"\u2A8A",gnapprox:"\u2A8A",gne:"\u2A88",gneq:"\u2A88",gnsim:"\u22E7",gopf:"\u{1D558}",gscr:"\u210A",gsime:"\u2A8E",gsiml:"\u2A90",gtcc:"\u2AA7",gtcir:"\u2A7A",gtdot:"\u22D7",gtrdot:"\u22D7",gtlPar:"\u2995",gtquest:"\u2A7C",gtrarr:"\u2978",gvertneqq:"\u2269\uFE00",gvnE:"\u2269\uFE00",hardcy:"\u044A",harrcir:"\u2948",harrw:"\u21AD",leftrightsquigarrow:"\u21AD",hbar:"\u210F",hslash:"\u210F",planck:"\u210F",plankv:"\u210F",hcirc:"\u0125",hearts:"\u2665",heartsuit:"\u2665",hellip:"\u2026",mldr:"\u2026",hercon:"\u22B9",hfr:"\u{1D525}",hksearow:"\u2925",searhk:"\u2925",hkswarow:"\u2926",swarhk:"\u2926",hoarr:"\u21FF",homtht:"\u223B",hookleftarrow:"\u21A9",larrhk:"\u21A9",hookrightarrow:"\u21AA",rarrhk:"\u21AA",hopf:"\u{1D559}",horbar:"\u2015",hscr:"\u{1D4BD}",hstrok:"\u0127",hybull:"\u2043",iacute:"\xED",icirc:"\xEE",icy:"\u0438",iecy:"\u0435",iexcl:"\xA1",ifr:"\u{1D526}",igrave:"\xEC",iiiint:"\u2A0C",qint:"\u2A0C",iiint:"\u222D",tint:"\u222D",iinfin:"\u29DC",iiota:"\u2129",ijlig:"\u0133",imacr:"\u012B",imath:"\u0131",inodot:"\u0131",imof:"\u22B7",imped:"\u01B5",incare:"\u2105",infin:"\u221E",infintie:"\u29DD",intcal:"\u22BA",intercal:"\u22BA",intlarhk:"\u2A17",intprod:"\u2A3C",iprod:"\u2A3C",iocy:"\u0451",iogon:"\u012F",iopf:"\u{1D55A}",iota:"\u03B9",iquest:"\xBF",iscr:"\u{1D4BE}",isinE:"\u22F9",isindot:"\u22F5",isins:"\u22F4",isinsv:"\u22F3",itilde:"\u0129",iukcy:"\u0456",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",varkappa:"\u03F0",kcedil:"\u0137",kcy:"\u043A",kfr:"\u{1D528}",kgreen:"\u0138",khcy:"\u0445",kjcy:"\u045C",kopf:"\u{1D55C}",kscr:"\u{1D4C0}",lAtail:"\u291B",lBarr:"\u290E",lEg:"\u2A8B",lesseqqgtr:"\u2A8B",lHar:"\u2962",lacute:"\u013A",laemptyv:"\u29B4",lambda:"\u03BB",langd:"\u2991",lap:"\u2A85",lessapprox:"\u2A85",laquo:"\xAB",larrbfs:"\u291F",larrfs:"\u291D",larrlp:"\u21AB",looparrowleft:"\u21AB",larrpl:"\u2939",larrsim:"\u2973",larrtl:"\u21A2",leftarrowtail:"\u21A2",lat:"\u2AAB",latail:"\u2919",late:"\u2AAD",lates:"\u2AAD\uFE00",lbarr:"\u290C",lbbrk:"\u2772",lbrace:"{",lcub:"{",lbrack:"[",lsqb:"[",lbrke:"\u298B",lbrksld:"\u298F",lbrkslu:"\u298D",lcaron:"\u013E",lcedil:"\u013C",lcy:"\u043B",ldca:"\u2936",ldrdhar:"\u2967",ldrushar:"\u294B",ldsh:"\u21B2",le:"\u2264",leq:"\u2264",leftleftarrows:"\u21C7",llarr:"\u21C7",leftthreetimes:"\u22CB",lthree:"\u22CB",lescc:"\u2AA8",lesdot:"\u2A7F",lesdoto:"\u2A81",lesdotor:"\u2A83",lesg:"\u22DA\uFE00",lesges:"\u2A93",lessdot:"\u22D6",ltdot:"\u22D6",lfisht:"\u297C",lfr:"\u{1D529}",lgE:"\u2A91",lharul:"\u296A",lhblk:"\u2584",ljcy:"\u0459",llhard:"\u296B",lltri:"\u25FA",lmidot:"\u0140",lmoust:"\u23B0",lmoustache:"\u23B0",lnE:"\u2268",lneqq:"\u2268",lnap:"\u2A89",lnapprox:"\u2A89",lne:"\u2A87",lneq:"\u2A87",lnsim:"\u22E6",loang:"\u27EC",loarr:"\u21FD",longmapsto:"\u27FC",xmap:"\u27FC",looparrowright:"\u21AC",rarrlp:"\u21AC",lopar:"\u2985",lopf:"\u{1D55D}",loplus:"\u2A2D",lotimes:"\u2A34",lowast:"\u2217",loz:"\u25CA",lozenge:"\u25CA",lpar:"(",lparlt:"\u2993",lrhard:"\u296D",lrm:"\u200E",lrtri:"\u22BF",lsaquo:"\u2039",lscr:"\u{1D4C1}",lsime:"\u2A8D",lsimg:"\u2A8F",lsquor:"\u201A",sbquo:"\u201A",lstrok:"\u0142",ltcc:"\u2AA6",ltcir:"\u2A79",ltimes:"\u22C9",ltlarr:"\u2976",ltquest:"\u2A7B",ltrPar:"\u2996",ltri:"\u25C3",triangleleft:"\u25C3",lurdshar:"\u294A",luruhar:"\u2966",lvertneqq:"\u2268\uFE00",lvnE:"\u2268\uFE00",mDDot:"\u223A",macr:"\xAF",strns:"\xAF",male:"\u2642",malt:"\u2720",maltese:"\u2720",marker:"\u25AE",mcomma:"\u2A29",mcy:"\u043C",mdash:"\u2014",mfr:"\u{1D52A}",mho:"\u2127",micro:"\xB5",midcir:"\u2AF0",minus:"\u2212",minusdu:"\u2A2A",mlcp:"\u2ADB",models:"\u22A7",mopf:"\u{1D55E}",mscr:"\u{1D4C2}",mu:"\u03BC",multimap:"\u22B8",mumap:"\u22B8",nGg:"\u22D9\u0338",nGt:"\u226B\u20D2",nLeftarrow:"\u21CD",nlArr:"\u21CD",nLeftrightarrow:"\u21CE",nhArr:"\u21CE",nLl:"\u22D8\u0338",nLt:"\u226A\u20D2",nRightarrow:"\u21CF",nrArr:"\u21CF",nVDash:"\u22AF",nVdash:"\u22AE",nacute:"\u0144",nang:"\u2220\u20D2",napE:"\u2A70\u0338",napid:"\u224B\u0338",napos:"\u0149",natur:"\u266E",natural:"\u266E",ncap:"\u2A43",ncaron:"\u0148",ncedil:"\u0146",ncongdot:"\u2A6D\u0338",ncup:"\u2A42",ncy:"\u043D",ndash:"\u2013",neArr:"\u21D7",nearhk:"\u2924",nedot:"\u2250\u0338",nesear:"\u2928",toea:"\u2928",nfr:"\u{1D52B}",nharr:"\u21AE",nleftrightarrow:"\u21AE",nhpar:"\u2AF2",nis:"\u22FC",nisd:"\u22FA",njcy:"\u045A",nlE:"\u2266\u0338",nleqq:"\u2266\u0338",nlarr:"\u219A",nleftarrow:"\u219A",nldr:"\u2025",nopf:"\u{1D55F}",not:"\xAC",notinE:"\u22F9\u0338",notindot:"\u22F5\u0338",notinvb:"\u22F7",notinvc:"\u22F6",notnivb:"\u22FE",notnivc:"\u22FD",nparsl:"\u2AFD\u20E5",npart:"\u2202\u0338",npolint:"\u2A14",nrarr:"\u219B",nrightarrow:"\u219B",nrarrc:"\u2933\u0338",nrarrw:"\u219D\u0338",nscr:"\u{1D4C3}",nsub:"\u2284",nsubE:"\u2AC5\u0338",nsubseteqq:"\u2AC5\u0338",nsup:"\u2285",nsupE:"\u2AC6\u0338",nsupseteqq:"\u2AC6\u0338",ntilde:"\xF1",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",nwnear:"\u2927",oacute:"\xF3",ocirc:"\xF4",ocy:"\u043E",odblac:"\u0151",odiv:"\u2A38",odsold:"\u29BC",oelig:"\u0153",ofcir:"\u29BF",ofr:"\u{1D52C}",ogon:"\u02DB",ograve:"\xF2",ogt:"\u29C1",ohbar:"\u29B5",olcir:"\u29BE",olcross:"\u29BB",olt:"\u29C0",omacr:"\u014D",omega:"\u03C9",omicron:"\u03BF",omid:"\u29B6",oopf:"\u{1D560}",opar:"\u29B7",operp:"\u29B9",or:"\u2228",vee:"\u2228",ord:"\u2A5D",order:"\u2134",orderof:"\u2134",oscr:"\u2134",ordf:"\xAA",ordm:"\xBA",origof:"\u22B6",oror:"\u2A56",orslope:"\u2A57",orv:"\u2A5B",oslash:"\xF8",osol:"\u2298",otilde:"\xF5",otimesas:"\u2A36",ouml:"\xF6",ovbar:"\u233D",para:"\xB6",parsim:"\u2AF3",parsl:"\u2AFD",pcy:"\u043F",percnt:"%",period:".",permil:"\u2030",pertenk:"\u2031",pfr:"\u{1D52D}",phi:"\u03C6",phiv:"\u03D5",straightphi:"\u03D5",varphi:"\u03D5",phone:"\u260E",pi:"\u03C0",piv:"\u03D6",varpi:"\u03D6",planckh:"\u210E",plus:"+",plusacir:"\u2A23",pluscir:"\u2A22",plusdu:"\u2A25",pluse:"\u2A72",plussim:"\u2A26",plustwo:"\u2A27",pointint:"\u2A15",popf:"\u{1D561}",pound:"\xA3",prE:"\u2AB3",prap:"\u2AB7",precapprox:"\u2AB7",precnapprox:"\u2AB9",prnap:"\u2AB9",precneqq:"\u2AB5",prnE:"\u2AB5",precnsim:"\u22E8",prnsim:"\u22E8",prime:"\u2032",profalar:"\u232E",profline:"\u2312",profsurf:"\u2313",prurel:"\u22B0",pscr:"\u{1D4C5}",psi:"\u03C8",puncsp:"\u2008",qfr:"\u{1D52E}",qopf:"\u{1D562}",qprime:"\u2057",qscr:"\u{1D4C6}",quatint:"\u2A16",quest:"?",rAtail:"\u291C",rHar:"\u2964",race:"\u223D\u0331",racute:"\u0155",raemptyv:"\u29B3",rangd:"\u2992",range:"\u29A5",raquo:"\xBB",rarrap:"\u2975",rarrbfs:"\u2920",rarrc:"\u2933",rarrfs:"\u291E",rarrpl:"\u2945",rarrsim:"\u2974",rarrtl:"\u21A3",rightarrowtail:"\u21A3",rarrw:"\u219D",rightsquigarrow:"\u219D",ratail:"\u291A",ratio:"\u2236",rbbrk:"\u2773",rbrace:"}",rcub:"}",rbrack:"]",rsqb:"]",rbrke:"\u298C",rbrksld:"\u298E",rbrkslu:"\u2990",rcaron:"\u0159",rcedil:"\u0157",rcy:"\u0440",rdca:"\u2937",rdldhar:"\u2969",rdsh:"\u21B3",rect:"\u25AD",rfisht:"\u297D",rfr:"\u{1D52F}",rharul:"\u296C",rho:"\u03C1",rhov:"\u03F1",varrho:"\u03F1",rightrightarrows:"\u21C9",rrarr:"\u21C9",rightthreetimes:"\u22CC",rthree:"\u22CC",ring:"\u02DA",rlm:"\u200F",rmoust:"\u23B1",rmoustache:"\u23B1",rnmid:"\u2AEE",roang:"\u27ED",roarr:"\u21FE",ropar:"\u2986",ropf:"\u{1D563}",roplus:"\u2A2E",rotimes:"\u2A35",rpar:")",rpargt:"\u2994",rppolint:"\u2A12",rsaquo:"\u203A",rscr:"\u{1D4C7}",rtimes:"\u22CA",rtri:"\u25B9",triangleright:"\u25B9",rtriltri:"\u29CE",ruluhar:"\u2968",rx:"\u211E",sacute:"\u015B",scE:"\u2AB4",scap:"\u2AB8",succapprox:"\u2AB8",scaron:"\u0161",scedil:"\u015F",scirc:"\u015D",scnE:"\u2AB6",succneqq:"\u2AB6",scnap:"\u2ABA",succnapprox:"\u2ABA",scnsim:"\u22E9",succnsim:"\u22E9",scpolint:"\u2A13",scy:"\u0441",sdot:"\u22C5",sdote:"\u2A66",seArr:"\u21D8",sect:"\xA7",semi:";",seswar:"\u2929",tosa:"\u2929",sext:"\u2736",sfr:"\u{1D530}",sharp:"\u266F",shchcy:"\u0449",shcy:"\u0448",shy:"\xAD",sigma:"\u03C3",sigmaf:"\u03C2",sigmav:"\u03C2",varsigma:"\u03C2",simdot:"\u2A6A",simg:"\u2A9E",simgE:"\u2AA0",siml:"\u2A9D",simlE:"\u2A9F",simne:"\u2246",simplus:"\u2A24",simrarr:"\u2972",smashp:"\u2A33",smeparsl:"\u29E4",smile:"\u2323",ssmile:"\u2323",smt:"\u2AAA",smte:"\u2AAC",smtes:"\u2AAC\uFE00",softcy:"\u044C",sol:"/",solb:"\u29C4",solbar:"\u233F",sopf:"\u{1D564}",spades:"\u2660",spadesuit:"\u2660",sqcaps:"\u2293\uFE00",sqcups:"\u2294\uFE00",sscr:"\u{1D4C8}",star:"\u2606",sub:"\u2282",subset:"\u2282",subE:"\u2AC5",subseteqq:"\u2AC5",subdot:"\u2ABD",subedot:"\u2AC3",submult:"\u2AC1",subnE:"\u2ACB",subsetneqq:"\u2ACB",subne:"\u228A",subsetneq:"\u228A",subplus:"\u2ABF",subrarr:"\u2979",subsim:"\u2AC7",subsub:"\u2AD5",subsup:"\u2AD3",sung:"\u266A",sup1:"\xB9",sup2:"\xB2",sup3:"\xB3",supE:"\u2AC6",supseteqq:"\u2AC6",supdot:"\u2ABE",supdsub:"\u2AD8",supedot:"\u2AC4",suphsol:"\u27C9",suphsub:"\u2AD7",suplarr:"\u297B",supmult:"\u2AC2",supnE:"\u2ACC",supsetneqq:"\u2ACC",supne:"\u228B",supsetneq:"\u228B",supplus:"\u2AC0",supsim:"\u2AC8",supsub:"\u2AD4",supsup:"\u2AD6",swArr:"\u21D9",swnwar:"\u292A",szlig:"\xDF",target:"\u2316",tau:"\u03C4",tcaron:"\u0165",tcedil:"\u0163",tcy:"\u0442",telrec:"\u2315",tfr:"\u{1D531}",theta:"\u03B8",thetasym:"\u03D1",thetav:"\u03D1",vartheta:"\u03D1",thorn:"\xFE",times:"\xD7",timesbar:"\u2A31",timesd:"\u2A30",topbot:"\u2336",topcir:"\u2AF1",topf:"\u{1D565}",topfork:"\u2ADA",tprime:"\u2034",triangle:"\u25B5",utri:"\u25B5",triangleq:"\u225C",trie:"\u225C",tridot:"\u25EC",triminus:"\u2A3A",triplus:"\u2A39",trisb:"\u29CD",tritime:"\u2A3B",trpezium:"\u23E2",tscr:"\u{1D4C9}",tscy:"\u0446",tshcy:"\u045B",tstrok:"\u0167",uHar:"\u2963",uacute:"\xFA",ubrcy:"\u045E",ubreve:"\u016D",ucirc:"\xFB",ucy:"\u0443",udblac:"\u0171",ufisht:"\u297E",ufr:"\u{1D532}",ugrave:"\xF9",uhblk:"\u2580",ulcorn:"\u231C",ulcorner:"\u231C",ulcrop:"\u230F",ultri:"\u25F8",umacr:"\u016B",uogon:"\u0173",uopf:"\u{1D566}",upsi:"\u03C5",upsilon:"\u03C5",upuparrows:"\u21C8",uuarr:"\u21C8",urcorn:"\u231D",urcorner:"\u231D",urcrop:"\u230E",uring:"\u016F",urtri:"\u25F9",uscr:"\u{1D4CA}",utdot:"\u22F0",utilde:"\u0169",uuml:"\xFC",uwangle:"\u29A7",vBar:"\u2AE8",vBarv:"\u2AE9",vangrt:"\u299C",varsubsetneq:"\u228A\uFE00",vsubne:"\u228A\uFE00",varsubsetneqq:"\u2ACB\uFE00",vsubnE:"\u2ACB\uFE00",varsupsetneq:"\u228B\uFE00",vsupne:"\u228B\uFE00",varsupsetneqq:"\u2ACC\uFE00",vsupnE:"\u2ACC\uFE00",vcy:"\u0432",veebar:"\u22BB",veeeq:"\u225A",vellip:"\u22EE",vfr:"\u{1D533}",vopf:"\u{1D567}",vscr:"\u{1D4CB}",vzigzag:"\u299A",wcirc:"\u0175",wedbar:"\u2A5F",wedgeq:"\u2259",weierp:"\u2118",wp:"\u2118",wfr:"\u{1D534}",wopf:"\u{1D568}",wscr:"\u{1D4CC}",xfr:"\u{1D535}",xi:"\u03BE",xnis:"\u22FB",xopf:"\u{1D569}",xscr:"\u{1D4CD}",yacute:"\xFD",yacy:"\u044F",ycirc:"\u0177",ycy:"\u044B",yen:"\xA5",yfr:"\u{1D536}",yicy:"\u0457",yopf:"\u{1D56A}",yscr:"\u{1D4CE}",yucy:"\u044E",yuml:"\xFF",zacute:"\u017A",zcaron:"\u017E",zcy:"\u0437",zdot:"\u017C",zeta:"\u03B6",zfr:"\u{1D537}",zhcy:"\u0436",zigrarr:"\u21DD",zopf:"\u{1D56B}",zscr:"\u{1D4CF}",zwj:"\u200D",zwnj:"\u200C"},_a="\uE500";Me.ngsp=_a;var Da=[/^\s*$/,/[<>]/,/^[{}]$/,/&(#|[a-z])/i,/^\/\//];function us(t,e){if(e!=null&&!(Array.isArray(e)&&e.length==2))throw new Error(`Expected '${t}' to be an array, [start, end].`);if(e!=null){let r=e[0],n=e[1];Da.forEach(s=>{if(s.test(r)||s.test(n))throw new Error(`['${r}', '${n}'] contains unusable interpolation symbol.`)})}}var vr=class t{static fromArray(e){return e?(us("interpolation",e),new t(e[0],e[1])):yr}constructor(e,r){this.start=e,this.end=r}},yr=new vr("{{","}}");var at=class extends Fe{constructor(e,r,n){super(n,e),this.tokenType=r}},Tr=class{constructor(e,r,n){this.tokens=e,this.errors=r,this.nonNormalizedIcuExpressions=n}};function Ss(t,e,r,n={}){let s=new xr(new fe(t,e),r,n);return s.tokenize(),new Tr(Ya(s.tokens),s.errors,s.nonNormalizedIcuExpressions)}var qa=/\r\n?/g;function Oe(t){return`Unexpected character "${t===0?"EOF":String.fromCharCode(t)}"`}function ps(t){return`Unknown entity "${t}" - use the "&#;" or "&#x;" syntax`}function Ha(t,e){return`Unable to parse entity "${e}" - ${t} character reference entities must end with ";"`}var Ut;(function(t){t.HEX="hexadecimal",t.DEC="decimal"})(Ut||(Ut={}));var ut=class{constructor(e){this.error=e}},xr=class{constructor(e,r,n){this._getTagContentType=r,this._currentTokenStart=null,this._currentTokenType=null,this._expansionCaseStack=[],this._inInterpolation=!1,this._fullNameStack=[],this.tokens=[],this.errors=[],this.nonNormalizedIcuExpressions=[],this._tokenizeIcu=n.tokenizeExpansionForms||!1,this._interpolationConfig=n.interpolationConfig||yr,this._leadingTriviaCodePoints=n.leadingTriviaChars&&n.leadingTriviaChars.map(i=>i.codePointAt(0)||0),this._canSelfClose=n.canSelfClose||!1,this._allowHtmComponentClosingTags=n.allowHtmComponentClosingTags||!1;let s=n.range||{endPos:e.content.length,startPos:0,startLine:0,startCol:0};this._cursor=n.escapedString?new kr(e,s):new Wt(e,s),this._preserveLineEndings=n.preserveLineEndings||!1,this._escapedString=n.escapedString||!1,this._i18nNormalizeLineEndingsInICUs=n.i18nNormalizeLineEndingsInICUs||!1;try{this._cursor.init()}catch(i){this.handleError(i)}}_processCarriageReturns(e){return this._preserveLineEndings?e:e.replace(qa,` -`)}tokenize(){for(;this._cursor.peek()!==0;){let e=this._cursor.clone();try{if(this._attemptCharCode(60))if(this._attemptCharCode(33))this._attemptStr("[CDATA[")?this._consumeCdata(e):this._attemptStr("--")?this._consumeComment(e):this._attemptStrCaseInsensitive("doctype")?this._consumeDocType(e):this._consumeBogusComment(e);else if(this._attemptCharCode(47))this._consumeTagClose(e);else{let r=this._cursor.clone();this._attemptCharCode(63)?(this._cursor=r,this._consumeBogusComment(e)):this._consumeTagOpen(e)}else this._tokenizeIcu&&this._tokenizeExpansionForm()||this._consumeWithInterpolation(5,8,()=>this._isTextEnd(),()=>this._isTagStart())}catch(r){this.handleError(r)}}this._beginToken(25),this._endToken([])}_tokenizeExpansionForm(){if(this.isExpansionFormStart())return this._consumeExpansionFormStart(),!0;if(Ga(this._cursor.peek())&&this._isInExpansionForm())return this._consumeExpansionCaseStart(),!0;if(this._cursor.peek()===125){if(this._isInExpansionCase())return this._consumeExpansionCaseEnd(),!0;if(this._isInExpansionForm())return this._consumeExpansionFormEnd(),!0}return!1}_beginToken(e,r=this._cursor.clone()){this._currentTokenStart=r,this._currentTokenType=e}_endToken(e,r){if(this._currentTokenStart===null)throw new at("Programming error - attempted to end a token when there was no start to the token",this._currentTokenType,this._cursor.getSpan(r));if(this._currentTokenType===null)throw new at("Programming error - attempted to end a token which has no token type",null,this._cursor.getSpan(this._currentTokenStart));let n={type:this._currentTokenType,parts:e,sourceSpan:(r??this._cursor).getSpan(this._currentTokenStart,this._leadingTriviaCodePoints)};return this.tokens.push(n),this._currentTokenStart=null,this._currentTokenType=null,n}_createError(e,r){this._isInExpansionForm()&&(e+=` (Do you have an unescaped "{" in your template? Use "{{ '{' }}") to escape it.)`);let n=new at(e,this._currentTokenType,r);return this._currentTokenStart=null,this._currentTokenType=null,new ut(n)}handleError(e){if(e instanceof ot&&(e=this._createError(e.msg,this._cursor.getSpan(e.cursor))),e instanceof ut)this.errors.push(e.error);else throw e}_attemptCharCode(e){return this._cursor.peek()===e?(this._cursor.advance(),!0):!1}_attemptCharCodeCaseInsensitive(e){return za(this._cursor.peek(),e)?(this._cursor.advance(),!0):!1}_requireCharCode(e){let r=this._cursor.clone();if(!this._attemptCharCode(e))throw this._createError(Oe(this._cursor.peek()),this._cursor.getSpan(r))}_attemptStr(e){let r=e.length;if(this._cursor.charsLeft()this._attemptStr("-->")),this._beginToken(11),this._requireStr("-->"),this._endToken([])}_consumeBogusComment(e){this._beginToken(10,e),this._endToken([]),this._consumeRawText(!1,()=>this._cursor.peek()===62),this._beginToken(11),this._cursor.advance(),this._endToken([])}_consumeCdata(e){this._beginToken(12,e),this._endToken([]),this._consumeRawText(!1,()=>this._attemptStr("]]>")),this._beginToken(13),this._requireStr("]]>"),this._endToken([])}_consumeDocType(e){this._beginToken(18,e),this._endToken([]),this._consumeRawText(!1,()=>this._cursor.peek()===62),this._beginToken(19),this._cursor.advance(),this._endToken([])}_consumePrefixAndName(){let e=this._cursor.clone(),r="";for(;this._cursor.peek()!==58&&!Va(this._cursor.peek());)this._cursor.advance();let n;this._cursor.peek()===58?(r=this._cursor.getChars(e),this._cursor.advance(),n=this._cursor.clone()):n=e,this._requireCharCodeUntilFn(hs,r===""?0:1);let s=this._cursor.getChars(n);return[r,s]}_consumeTagOpen(e){let r,n,s,i=[];try{if(!cr(this._cursor.peek()))throw this._createError(Oe(this._cursor.peek()),this._cursor.getSpan(e));for(s=this._consumeTagOpenStart(e),n=s.parts[0],r=s.parts[1],this._attemptCharCodeUntilFn(F);this._cursor.peek()!==47&&this._cursor.peek()!==62&&this._cursor.peek()!==60&&this._cursor.peek()!==0;){let[u,o]=this._consumeAttributeName();if(this._attemptCharCodeUntilFn(F),this._attemptCharCode(61)){this._attemptCharCodeUntilFn(F);let p=this._consumeAttributeValue();i.push({prefix:u,name:o,value:p})}else i.push({prefix:u,name:o});this._attemptCharCodeUntilFn(F)}this._consumeTagOpenEnd()}catch(u){if(u instanceof ut){s?s.type=4:(this._beginToken(5,e),this._endToken(["<"]));return}throw u}if(this._canSelfClose&&this.tokens[this.tokens.length-1].type===2)return;let a=this._getTagContentType(r,n,this._fullNameStack.length>0,i);this._handleFullNameStackForTagOpen(n,r),a===k.RAW_TEXT?this._consumeRawTextWithTagClose(n,r,!1):a===k.ESCAPABLE_RAW_TEXT&&this._consumeRawTextWithTagClose(n,r,!0)}_consumeRawTextWithTagClose(e,r,n){this._consumeRawText(n,()=>!this._attemptCharCode(60)||!this._attemptCharCode(47)||(this._attemptCharCodeUntilFn(F),!this._attemptStrCaseInsensitive(e?`${e}:${r}`:r))?!1:(this._attemptCharCodeUntilFn(F),this._attemptCharCode(62))),this._beginToken(3),this._requireCharCodeUntilFn(s=>s===62,3),this._cursor.advance(),this._endToken([e,r]),this._handleFullNameStackForTagClose(e,r)}_consumeTagOpenStart(e){this._beginToken(0,e);let r=this._consumePrefixAndName();return this._endToken(r)}_consumeAttributeName(){let e=this._cursor.peek();if(e===39||e===34)throw this._createError(Oe(e),this._cursor.getSpan());this._beginToken(14);let r=this._consumePrefixAndName();return this._endToken(r),r}_consumeAttributeValue(){let e;if(this._cursor.peek()===39||this._cursor.peek()===34){let r=this._cursor.peek();this._consumeQuote(r);let n=()=>this._cursor.peek()===r;e=this._consumeWithInterpolation(16,17,n,n),this._consumeQuote(r)}else{let r=()=>hs(this._cursor.peek());e=this._consumeWithInterpolation(16,17,r,r)}return e}_consumeQuote(e){this._beginToken(15),this._requireCharCode(e),this._endToken([String.fromCodePoint(e)])}_consumeTagOpenEnd(){let e=this._attemptCharCode(47)?2:1;this._beginToken(e),this._requireCharCode(62),this._endToken([])}_consumeTagClose(e){if(this._beginToken(3,e),this._attemptCharCodeUntilFn(F),this._allowHtmComponentClosingTags&&this._attemptCharCode(47))this._attemptCharCodeUntilFn(F),this._requireCharCode(62),this._endToken([]);else{let[r,n]=this._consumePrefixAndName();this._attemptCharCodeUntilFn(F),this._requireCharCode(62),this._endToken([r,n]),this._handleFullNameStackForTagClose(r,n)}}_consumeExpansionFormStart(){this._beginToken(20),this._requireCharCode(123),this._endToken([]),this._expansionCaseStack.push(20),this._beginToken(7);let e=this._readUntil(44),r=this._processCarriageReturns(e);if(this._i18nNormalizeLineEndingsInICUs)this._endToken([r]);else{let s=this._endToken([e]);r!==e&&this.nonNormalizedIcuExpressions.push(s)}this._requireCharCode(44),this._attemptCharCodeUntilFn(F),this._beginToken(7);let n=this._readUntil(44);this._endToken([n]),this._requireCharCode(44),this._attemptCharCodeUntilFn(F)}_consumeExpansionCaseStart(){this._beginToken(21);let e=this._readUntil(123).trim();this._endToken([e]),this._attemptCharCodeUntilFn(F),this._beginToken(22),this._requireCharCode(123),this._endToken([]),this._attemptCharCodeUntilFn(F),this._expansionCaseStack.push(22)}_consumeExpansionCaseEnd(){this._beginToken(23),this._requireCharCode(125),this._endToken([]),this._attemptCharCodeUntilFn(F),this._expansionCaseStack.pop()}_consumeExpansionFormEnd(){this._beginToken(24),this._requireCharCode(125),this._endToken([]),this._expansionCaseStack.pop()}_consumeWithInterpolation(e,r,n,s){this._beginToken(e);let i=[];for(;!n();){let u=this._cursor.clone();this._interpolationConfig&&this._attemptStr(this._interpolationConfig.start)?(this._endToken([this._processCarriageReturns(i.join(""))],u),i.length=0,this._consumeInterpolation(r,u,s),this._beginToken(e)):this._cursor.peek()===38?(this._endToken([this._processCarriageReturns(i.join(""))]),i.length=0,this._consumeEntity(e),this._beginToken(e)):i.push(this._readChar())}this._inInterpolation=!1;let a=this._processCarriageReturns(i.join(""));return this._endToken([a]),a}_consumeInterpolation(e,r,n){let s=[];this._beginToken(e,r),s.push(this._interpolationConfig.start);let i=this._cursor.clone(),a=null,u=!1;for(;this._cursor.peek()!==0&&(n===null||!n());){let o=this._cursor.clone();if(this._isTagStart()){this._cursor=o,s.push(this._getProcessedChars(i,o)),this._endToken(s);return}if(a===null)if(this._attemptStr(this._interpolationConfig.end)){s.push(this._getProcessedChars(i,o)),s.push(this._interpolationConfig.end),this._endToken(s);return}else this._attemptStr("//")&&(u=!0);let p=this._cursor.peek();this._cursor.advance(),p===92?this._cursor.advance():p===a?a=null:!u&&a===null&&Tn(p)&&(a=p)}s.push(this._getProcessedChars(i,this._cursor)),this._endToken(s)}_getProcessedChars(e,r){return this._processCarriageReturns(r.getChars(e))}_isTextEnd(){return!!(this._isTagStart()||this._cursor.peek()===0||this._tokenizeIcu&&!this._inInterpolation&&(this.isExpansionFormStart()||this._cursor.peek()===125&&this._isInExpansionCase()))}_isTagStart(){if(this._cursor.peek()===60){let e=this._cursor.clone();e.advance();let r=e.peek();if(97<=r&&r<=122||65<=r&&r<=90||r===47||r===33)return!0}return!1}_readUntil(e){let r=this._cursor.clone();return this._attemptUntilChar(e),this._cursor.getChars(r)}_isInExpansionCase(){return this._expansionCaseStack.length>0&&this._expansionCaseStack[this._expansionCaseStack.length-1]===22}_isInExpansionForm(){return this._expansionCaseStack.length>0&&this._expansionCaseStack[this._expansionCaseStack.length-1]===20}isExpansionFormStart(){if(this._cursor.peek()!==123)return!1;if(this._interpolationConfig){let e=this._cursor.clone(),r=this._attemptStr(this._interpolationConfig.start);return this._cursor=e,!r}return!0}_handleFullNameStackForTagOpen(e,r){let n=Re(e,r);(this._fullNameStack.length===0||this._fullNameStack[this._fullNameStack.length-1]===n)&&this._fullNameStack.push(n)}_handleFullNameStackForTagClose(e,r){let n=Re(e,r);this._fullNameStack.length!==0&&this._fullNameStack[this._fullNameStack.length-1]===n&&this._fullNameStack.pop()}};function F(t){return!lr(t)||t===0}function hs(t){return lr(t)||t===62||t===60||t===47||t===39||t===34||t===61||t===0}function Va(t){return(t<97||12257)}function Ua(t){return t===59||t===0||!wn(t)}function Wa(t){return t===59||t===0||!cr(t)}function Ga(t){return t!==125}function za(t,e){return fs(t)===fs(e)}function fs(t){return t>=97&&t<=122?t-97+65:t}function Ya(t){let e=[],r;for(let n=0;n0&&r.indexOf(e.peek())!==-1;)n===e&&(e=e.clone()),e.advance();let s=this.locationFromCursor(e),i=this.locationFromCursor(this),a=n!==e?this.locationFromCursor(n):s;return new m(s,i,a)}getChars(e){return this.input.substring(e.state.offset,this.state.offset)}charAt(e){return this.input.charCodeAt(e)}advanceState(e){if(e.offset>=this.end)throw this.state=e,new ot('Unexpected character "EOF"',this);let r=this.charAt(e.offset);r===10?(e.line++,e.column=0):pr(r)||e.column++,e.offset++,this.updatePeek(e)}updatePeek(e){e.peek=e.offset>=this.end?0:this.charAt(e.offset)}locationFromCursor(e){return new ee(e.file,e.state.offset,e.state.line,e.state.column)}},kr=class t extends Wt{constructor(e,r){e instanceof t?(super(e),this.internalState={...e.internalState}):(super(e,r),this.internalState=this.state)}advance(){this.state=this.internalState,super.advance(),this.processEscapeSequence()}init(){super.init(),this.processEscapeSequence()}clone(){return new t(this)}getChars(e){let r=e.clone(),n="";for(;r.internalState.offsetthis.internalState.peek;if(e()===92)if(this.internalState={...this.state},this.advanceState(this.internalState),e()===110)this.state.peek=10;else if(e()===114)this.state.peek=13;else if(e()===118)this.state.peek=11;else if(e()===116)this.state.peek=9;else if(e()===98)this.state.peek=8;else if(e()===102)this.state.peek=12;else if(e()===117)if(this.advanceState(this.internalState),e()===123){this.advanceState(this.internalState);let r=this.clone(),n=0;for(;e()!==125;)this.advanceState(this.internalState),n++;this.state.peek=this.decodeHexDigits(r,n)}else{let r=this.clone();this.advanceState(this.internalState),this.advanceState(this.internalState),this.advanceState(this.internalState),this.state.peek=this.decodeHexDigits(r,4)}else if(e()===120){this.advanceState(this.internalState);let r=this.clone();this.advanceState(this.internalState),this.state.peek=this.decodeHexDigits(r,2)}else if(hr(e())){let r="",n=0,s=this.clone();for(;hr(e())&&n<3;)s=this.clone(),r+=String.fromCodePoint(e()),this.advanceState(this.internalState),n++;this.state.peek=parseInt(r,8),this.internalState=s.internalState}else pr(this.internalState.peek)?(this.advanceState(this.internalState),this.state=this.internalState):this.state.peek=this.internalState.peek}decodeHexDigits(e,r){let n=this.input.slice(e.internalState.offset,e.internalState.offset+r),s=parseInt(n,16);if(isNaN(s))throw e.state=e.internalState,new ot("Invalid hexadecimal escape sequence",e);return s}},ot=class{constructor(e,r){this.msg=e,this.cursor=r}};var H=class t extends Fe{static create(e,r,n){return new t(e,r,n)}constructor(e,r,n){super(r,n),this.elementName=e}},Fr=class{constructor(e,r){this.rootNodes=e,this.errors=r}},Gt=class{constructor(e){this.getTagDefinition=e}parse(e,r,n,s=!1,i){let a=A=>(B,...y)=>A(B.toLowerCase(),...y),u=s?this.getTagDefinition:a(this.getTagDefinition),o=A=>u(A).getContentType(),p=s?i:a(i),g=Ss(e,r,i?(A,B,y,l)=>{let d=p(A,B,y,l);return d!==void 0?d:o(A)}:o,n),h=n&&n.canSelfClose||!1,C=n&&n.allowHtmComponentClosingTags||!1,E=new Nr(g.tokens,u,h,C,s);return E.build(),new Fr(E.rootNodes,g.errors.concat(E.errors))}},Nr=class t{constructor(e,r,n,s,i){this.tokens=e,this.getTagDefinition=r,this.canSelfClose=n,this.allowHtmComponentClosingTags=s,this.isTagNameCaseSensitive=i,this._index=-1,this._elementStack=[],this.rootNodes=[],this.errors=[],this._advance()}build(){for(;this._peek.type!==25;)this._peek.type===0||this._peek.type===4?this._consumeStartTag(this._advance()):this._peek.type===3?(this._closeVoidElement(),this._consumeEndTag(this._advance())):this._peek.type===12?(this._closeVoidElement(),this._consumeCdata(this._advance())):this._peek.type===10?(this._closeVoidElement(),this._consumeComment(this._advance())):this._peek.type===5||this._peek.type===7||this._peek.type===6?(this._closeVoidElement(),this._consumeText(this._advance())):this._peek.type===20?this._consumeExpansion(this._advance()):this._peek.type===18?this._consumeDocType(this._advance()):this._advance()}_advance(){let e=this._peek;return this._index0)return this.errors=this.errors.concat(i.errors),null;let a=new m(e.sourceSpan.start,s.sourceSpan.end,e.sourceSpan.fullStart),u=new m(r.sourceSpan.start,s.sourceSpan.end,r.sourceSpan.fullStart);return new Pt(e.parts[0],i.rootNodes,a,e.sourceSpan,u)}_collectExpansionExpTokens(e){let r=[],n=[22];for(;;){if((this._peek.type===20||this._peek.type===22)&&n.push(this._peek.type),this._peek.type===23)if(Es(n,22)){if(n.pop(),n.length===0)return r}else return this.errors.push(H.create(null,e.sourceSpan,"Invalid ICU message. Missing '}'.")),null;if(this._peek.type===24)if(Es(n,20))n.pop();else return this.errors.push(H.create(null,e.sourceSpan,"Invalid ICU message. Missing '}'.")),null;if(this._peek.type===25)return this.errors.push(H.create(null,e.sourceSpan,"Invalid ICU message. Missing '}'.")),null;r.push(this._advance())}}_getText(e){let r=e.parts[0];if(r.length>0&&r[0]==` -`){let n=this._getParentElement();n!=null&&n.children.length==0&&this.getTagDefinition(n.name).ignoreFirstLf&&(r=r.substring(1))}return r}_consumeText(e){let r=[e],n=e.sourceSpan,s=e.parts[0];if(s.length>0&&s[0]===` -`){let i=this._getParentElement();i!=null&&i.children.length===0&&this.getTagDefinition(i.name).ignoreFirstLf&&(s=s.substring(1),r[0]={type:e.type,sourceSpan:e.sourceSpan,parts:[s]})}for(;this._peek.type===8||this._peek.type===5||this._peek.type===9;)e=this._advance(),r.push(e),e.type===8?s+=e.parts.join("").replace(/&([^;]+);/g,As):e.type===9?s+=e.parts[0]:s+=e.parts.join("");if(s.length>0){let i=e.sourceSpan;this._addToParent(new Lt(s,new m(n.start,i.end,n.fullStart,n.details),r))}}_closeVoidElement(){let e=this._getParentElement();e&&this.getTagDefinition(e.name).isVoid&&this._elementStack.pop()}_consumeStartTag(e){let[r,n]=e.parts,s=[];for(;this._peek.type===14;)s.push(this._consumeAttr(this._advance()));let i=this._getElementFullName(r,n,this._getParentElement()),a=!1;if(this._peek.type===2){this._advance(),a=!0;let h=this.getTagDefinition(i);this.canSelfClose||h.canSelfClose||Ie(i)!==null||h.isVoid||this.errors.push(H.create(i,e.sourceSpan,`Only void, custom and foreign elements can be self closed "${e.parts[1]}"`))}else this._peek.type===1&&(this._advance(),a=!1);let u=this._peek.sourceSpan.fullStart,o=new m(e.sourceSpan.start,u,e.sourceSpan.fullStart),p=new m(e.sourceSpan.start,u,e.sourceSpan.fullStart),c=new m(e.sourceSpan.start.moveBy(1),e.sourceSpan.end),g=new Rt(i,s,[],o,p,void 0,c);this._pushElement(g),a?this._popElement(i,o):e.type===4&&(this._popElement(i,null),this.errors.push(H.create(i,o,`Opening tag "${i}" not terminated.`)))}_pushElement(e){let r=this._getParentElement();r&&this.getTagDefinition(r.name).isClosedByChild(e.name)&&this._elementStack.pop(),this._addToParent(e),this._elementStack.push(e)}_consumeEndTag(e){let r=this.allowHtmComponentClosingTags&&e.parts.length===0?null:this._getElementFullName(e.parts[0],e.parts[1],this._getParentElement());if(r&&this.getTagDefinition(r).isVoid)this.errors.push(H.create(r,e.sourceSpan,`Void elements do not have end tags "${e.parts[1]}"`));else if(!this._popElement(r,e.sourceSpan)){let n=`Unexpected closing tag "${r}". It may happen when the tag has already been closed by another tag. For more info see https://www.w3.org/TR/html5/syntax.html#closing-elements-that-have-implied-end-tags`;this.errors.push(H.create(r,e.sourceSpan,n))}}_popElement(e,r){let n=!1;for(let s=this._elementStack.length-1;s>=0;s--){let i=this._elementStack[s];if(!e||(Ie(i.name)?i.name==e:i.name.toLowerCase()==e.toLowerCase()))return i.endSourceSpan=r,i.sourceSpan.end=r!==null?r.end:i.sourceSpan.end,this._elementStack.splice(s,this._elementStack.length-s),!n;this.getTagDefinition(i.name).closedByParent||(n=!0)}return!1}_consumeAttr(e){let r=Re(e.parts[0],e.parts[1]),n=e.sourceSpan.end,s;this._peek.type===15&&(s=this._advance());let i="",a=[],u,o;if(this._peek.type===16)for(u=this._peek.sourceSpan,o=this._peek.sourceSpan.end;this._peek.type===16||this._peek.type===17||this._peek.type===9;){let g=this._advance();a.push(g),g.type===17?i+=g.parts.join("").replace(/&([^;]+);/g,As):g.type===9?i+=g.parts[0]:i+=g.parts.join(""),o=n=g.sourceSpan.end}this._peek.type===15&&(o=n=this._advance().sourceSpan.end);let c=u&&o&&new m((s==null?void 0:s.sourceSpan.start)??u.start,o,(s==null?void 0:s.sourceSpan.fullStart)??u.fullStart);return new It(r,i,new m(e.sourceSpan.start,n,e.sourceSpan.fullStart),e.sourceSpan,c,a.length>0?a:void 0,void 0)}_getParentElement(){return this._elementStack.length>0?this._elementStack[this._elementStack.length-1]:null}_addToParent(e){let r=this._getParentElement();r!=null?r.children.push(e):this.rootNodes.push(e)}_getElementFullName(e,r,n){if(e===""&&(e=this.getTagDefinition(r).implicitNamespacePrefix||"",e===""&&n!=null)){let s=tt(n.name)[1];this.getTagDefinition(s).preventNamespaceInheritance||(e=Ie(n.name))}return Re(e,r)}};function Es(t,e){return t.length>0&&t[t.length-1]===e}function As(t,e){return Me[e]!==void 0?Me[e]||t:/^#x[a-f0-9]+$/i.test(e)?String.fromCodePoint(parseInt(e.slice(2),16)):/^#\d+$/.test(e)?String.fromCodePoint(parseInt(e.slice(1),10)):t}var zt=class extends Gt{constructor(){super($e)}parse(e,r,n,s=!1,i){return super.parse(e,r,n,s,i)}};var Pr=null,ja=()=>(Pr||(Pr=new zt),Pr);function Ir(t,e={}){let{canSelfClose:r=!1,allowHtmComponentClosingTags:n=!1,isTagNameCaseSensitive:s=!1,getTagContentType:i}=e;return ja().parse(t,"angular-html-parser",{tokenizeExpansionForms:!1,interpolationConfig:void 0,canSelfClose:r,allowHtmComponentClosingTags:n},s,i)}var Ka=new RegExp("^(?-{3}|\\+{3})(?[^\\n]*)\\n(?:|(?.*?)\\n)(?\\k|\\.{3})[^\\S\\n]*(?:\\n|$)","s");function Xa(t){let e=t.match(Ka);if(!e)return{content:t};let{startDelimiter:r,language:n,value:s="",endDelimiter:i}=e.groups,a=n.trim()||"yaml";if(r==="+++"&&(a="toml"),a!=="yaml"&&r!==i)return{content:t};let[u]=e;return{frontMatter:{type:"front-matter",lang:a,value:s,startDelimiter:r,endDelimiter:i,raw:u.replace(/\n$/,"")},content:v(!1,u,/[^\n]/g," ")+t.slice(u.length)}}var _s=Xa;function Qa(t,e){let r=new SyntaxError(t+" ("+e.loc.start.line+":"+e.loc.start.column+")");return Object.assign(r,e)}var Ds=Qa;var vs=new Set(["a","abbr","acronym","address","applet","area","article","aside","audio","b","base","basefont","bdi","bdo","bgsound","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","command","content","data","datalist","dd","del","details","dfn","dialog","dir","div","dl","dt","element","em","embed","fieldset","figcaption","figure","font","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","image","img","input","ins","isindex","kbd","keygen","label","legend","li","link","listing","main","map","mark","marquee","math","menu","menuitem","meta","meter","multicol","nav","nextid","nobr","noembed","noframes","noscript","object","ol","optgroup","option","output","p","param","picture","plaintext","pre","progress","q","rb","rbc","rp","rt","rtc","ruby","s","samp","script","search","section","select","shadow","slot","small","source","spacer","span","strike","strong","style","sub","summary","sup","svg","table","tbody","td","template","textarea","tfoot","th","thead","time","title","tr","track","tt","u","ul","var","video","wbr","xmp"]);var Yt=new Map([["*",new Set(["accesskey","autocapitalize","autofocus","class","contenteditable","dir","draggable","enterkeyhint","hidden","id","inert","inputmode","is","itemid","itemprop","itemref","itemscope","itemtype","lang","nonce","popover","slot","spellcheck","style","tabindex","title","translate"])],["a",new Set(["charset","coords","download","href","hreflang","name","ping","referrerpolicy","rel","rev","shape","target","type"])],["applet",new Set(["align","alt","archive","code","codebase","height","hspace","name","object","vspace","width"])],["area",new Set(["alt","coords","download","href","hreflang","nohref","ping","referrerpolicy","rel","shape","target","type"])],["audio",new Set(["autoplay","controls","crossorigin","loop","muted","preload","src"])],["base",new Set(["href","target"])],["basefont",new Set(["color","face","size"])],["blockquote",new Set(["cite"])],["body",new Set(["alink","background","bgcolor","link","text","vlink"])],["br",new Set(["clear"])],["button",new Set(["disabled","form","formaction","formenctype","formmethod","formnovalidate","formtarget","name","popovertarget","popovertargetaction","type","value"])],["canvas",new Set(["height","width"])],["caption",new Set(["align"])],["col",new Set(["align","char","charoff","span","valign","width"])],["colgroup",new Set(["align","char","charoff","span","valign","width"])],["data",new Set(["value"])],["del",new Set(["cite","datetime"])],["details",new Set(["open"])],["dialog",new Set(["open"])],["dir",new Set(["compact"])],["div",new Set(["align"])],["dl",new Set(["compact"])],["embed",new Set(["height","src","type","width"])],["fieldset",new Set(["disabled","form","name"])],["font",new Set(["color","face","size"])],["form",new Set(["accept","accept-charset","action","autocomplete","enctype","method","name","novalidate","target"])],["frame",new Set(["frameborder","longdesc","marginheight","marginwidth","name","noresize","scrolling","src"])],["frameset",new Set(["cols","rows"])],["h1",new Set(["align"])],["h2",new Set(["align"])],["h3",new Set(["align"])],["h4",new Set(["align"])],["h5",new Set(["align"])],["h6",new Set(["align"])],["head",new Set(["profile"])],["hr",new Set(["align","noshade","size","width"])],["html",new Set(["manifest","version"])],["iframe",new Set(["align","allow","allowfullscreen","allowpaymentrequest","allowusermedia","frameborder","height","loading","longdesc","marginheight","marginwidth","name","referrerpolicy","sandbox","scrolling","src","srcdoc","width"])],["img",new Set(["align","alt","border","crossorigin","decoding","fetchpriority","height","hspace","ismap","loading","longdesc","name","referrerpolicy","sizes","src","srcset","usemap","vspace","width"])],["input",new Set(["accept","align","alt","autocomplete","checked","dirname","disabled","form","formaction","formenctype","formmethod","formnovalidate","formtarget","height","ismap","list","max","maxlength","min","minlength","multiple","name","pattern","placeholder","popovertarget","popovertargetaction","readonly","required","size","src","step","type","usemap","value","width"])],["ins",new Set(["cite","datetime"])],["isindex",new Set(["prompt"])],["label",new Set(["for","form"])],["legend",new Set(["align"])],["li",new Set(["type","value"])],["link",new Set(["as","blocking","charset","color","crossorigin","disabled","fetchpriority","href","hreflang","imagesizes","imagesrcset","integrity","media","referrerpolicy","rel","rev","sizes","target","type"])],["map",new Set(["name"])],["menu",new Set(["compact"])],["meta",new Set(["charset","content","http-equiv","media","name","scheme"])],["meter",new Set(["high","low","max","min","optimum","value"])],["object",new Set(["align","archive","border","classid","codebase","codetype","data","declare","form","height","hspace","name","standby","type","typemustmatch","usemap","vspace","width"])],["ol",new Set(["compact","reversed","start","type"])],["optgroup",new Set(["disabled","label"])],["option",new Set(["disabled","label","selected","value"])],["output",new Set(["for","form","name"])],["p",new Set(["align"])],["param",new Set(["name","type","value","valuetype"])],["pre",new Set(["width"])],["progress",new Set(["max","value"])],["q",new Set(["cite"])],["script",new Set(["async","blocking","charset","crossorigin","defer","fetchpriority","integrity","language","nomodule","referrerpolicy","src","type"])],["select",new Set(["autocomplete","disabled","form","multiple","name","required","size"])],["slot",new Set(["name"])],["source",new Set(["height","media","sizes","src","srcset","type","width"])],["style",new Set(["blocking","media","type"])],["table",new Set(["align","bgcolor","border","cellpadding","cellspacing","frame","rules","summary","width"])],["tbody",new Set(["align","char","charoff","valign"])],["td",new Set(["abbr","align","axis","bgcolor","char","charoff","colspan","headers","height","nowrap","rowspan","scope","valign","width"])],["textarea",new Set(["autocomplete","cols","dirname","disabled","form","maxlength","minlength","name","placeholder","readonly","required","rows","wrap"])],["tfoot",new Set(["align","char","charoff","valign"])],["th",new Set(["abbr","align","axis","bgcolor","char","charoff","colspan","headers","height","nowrap","rowspan","scope","valign","width"])],["thead",new Set(["align","char","charoff","valign"])],["time",new Set(["datetime"])],["tr",new Set(["align","bgcolor","char","charoff","valign"])],["track",new Set(["default","kind","label","src","srclang"])],["ul",new Set(["compact","type"])],["video",new Set(["autoplay","controls","crossorigin","height","loop","muted","playsinline","poster","preload","src","width"])]]);var jt={attrs:!0,children:!0},ys=new Set(["parent"]),Kt=class t{constructor(e={}){for(let r of new Set([...ys,...Object.keys(e)]))this.setProperty(r,e[r])}setProperty(e,r){if(this[e]!==r){if(e in jt&&(r=r.map(n=>this.createChild(n))),!ys.has(e)){this[e]=r;return}Object.defineProperty(this,e,{value:r,enumerable:!1,configurable:!0})}}map(e){let r;for(let n in jt){let s=this[n];if(s){let i=Ja(s,a=>a.map(e));r!==s&&(r||(r=new t({parent:this.parent})),r.setProperty(n,i))}}if(r)for(let n in this)n in jt||(r[n]=this[n]);return e(r||this)}walk(e){for(let r in jt){let n=this[r];if(n)for(let s=0;s[e.fullName,e.value]))}};function Ja(t,e){let r=t.map(e);return r.some((n,s)=>n!==t[s])?r:t}var Za=[{regex:/^(\[if([^\]]*)]>)(.*?){try{return[!0,e(i,u).children]}catch{return[!1,[{type:"text",value:i,sourceSpan:new m(u,o)}]]}})();return{type:"ieConditionalComment",complete:p,children:c,condition:v(!1,s.trim(),/\s+/g," "),sourceSpan:t.sourceSpan,startSourceSpan:new m(t.sourceSpan.start,u),endSourceSpan:new m(o,t.sourceSpan.end)}}function tu(t,e,r){let[,n]=r;return{type:"ieConditionalStartComment",condition:v(!1,n.trim(),/\s+/g," "),sourceSpan:t.sourceSpan}}function ru(t){return{type:"ieConditionalEndComment",sourceSpan:t.sourceSpan}}function Ts(t,e,r){let{name:n,canSelfClose:s=!0,normalizeTagName:i=!1,normalizeAttributeName:a=!1,allowHtmComponentClosingTags:u=!1,isTagNameCaseSensitive:o=!1,shouldParseAsRawText:p}=e,{rootNodes:c,errors:g}=Ir(t,{canSelfClose:s,allowHtmComponentClosingTags:u,isTagNameCaseSensitive:o,getTagContentType:p?(...l)=>p(...l)?k.RAW_TEXT:void 0:void 0});if(n==="vue"){if(c.some(w=>w.type==="docType"&&w.value==="html"||w.type==="element"&&w.name.toLowerCase()==="html"))return Ts(t,ks,r);let d,b=()=>d??(d=Ir(t,{canSelfClose:s,allowHtmComponentClosingTags:u,isTagNameCaseSensitive:o})),I=w=>b().rootNodes.find(({startSourceSpan:$})=>$&&$.start.offset===w.startSourceSpan.start.offset)??w;for(let[w,$]of c.entries()){let{endSourceSpan:$r,startSourceSpan:Ns}=$;if($r===null)g=b().errors,c[w]=I($);else if(nu($,r)){let Mr=b().errors.find(Or=>Or.span.start.offset>Ns.start.offset&&Or.span.start.offset<$r.end.offset);Mr&&ws(Mr),c[w]=I($)}}}g.length>0&&ws(g[0]);let h=l=>{let d=l.name.startsWith(":")?l.name.slice(1).split(":")[0]:null,b=l.nameSpan.toString(),I=d!==null&&b.startsWith(`${d}:`),w=I?b.slice(d.length+1):b;l.name=w,l.namespace=d,l.hasExplicitNamespace=I},C=l=>{switch(l.type){case"element":h(l);for(let d of l.attrs)h(d),d.valueSpan?(d.value=d.valueSpan.toString(),/["']/.test(d.value[0])&&(d.value=d.value.slice(1,-1))):d.value=null;break;case"comment":l.value=l.sourceSpan.toString().slice(4,-3);break;case"text":l.value=l.sourceSpan.toString();break}},E=(l,d)=>{let b=l.toLowerCase();return d(b)?b:l},A=l=>{if(l.type==="element"&&(i&&(!l.namespace||l.namespace===l.tagDefinition.implicitNamespacePrefix||ce(l))&&(l.name=E(l.name,d=>vs.has(d))),a))for(let d of l.attrs)d.namespace||(d.name=E(d.name,b=>Yt.has(l.name)&&(Yt.get("*").has(b)||Yt.get(l.name).has(b))))},B=l=>{l.sourceSpan&&l.endSourceSpan&&(l.sourceSpan=new m(l.sourceSpan.start,l.endSourceSpan.end))},y=l=>{if(l.type==="element"){let d=$e(o?l.name:l.name.toLowerCase());!l.namespace||l.namespace===d.implicitNamespacePrefix||ce(l)?l.tagDefinition=d:l.tagDefinition=$e("")}};return Ot(new class extends nt{visit(l){C(l),y(l),A(l),B(l)}},c),c}function nu(t,e){var n;if(t.type!=="element"||t.name!=="template")return!1;let r=(n=t.attrs.find(s=>s.name==="lang"))==null?void 0:n.value;return!r||Be(e,{language:r})==="html"}function ws(t){let{msg:e,span:{start:r,end:n}}=t;throw Ds(e,{loc:{start:{line:r.line+1,column:r.col+1},end:{line:n.line+1,column:n.col+1}},cause:t})}function xs(t,e,r={},n=!0){let{frontMatter:s,content:i}=n?_s(t):{frontMatter:null,content:t},a=new fe(t,r.filepath),u=new ee(a,0,0,0),o=u.moveBy(t.length),p={type:"root",sourceSpan:new m(u,o),children:Ts(i,e,r)};if(s){let h=new ee(a,0,0,0),C=h.moveBy(s.raw.length);s.sourceSpan=new m(h,C),p.children.unshift(s)}let c=new Kt(p),g=(h,C)=>{let{offset:E}=C,A=v(!1,t.slice(0,E),/[^\n\r]/g," "),y=xs(A+h,e,r,!1);y.sourceSpan=new m(C,xe(!1,y.children,-1).sourceSpan.end);let l=y.children[0];return l.length===E?y.children.shift():(l.sourceSpan=new m(l.sourceSpan.start.moveBy(E),l.sourceSpan.end),l.value=l.value.slice(E)),y};return c.walk(h=>{if(h.type==="comment"){let C=bs(h,g);C&&h.parent.replaceChild(h,C)}}),c}function Xt(t){return{parse:(e,r)=>xs(e,t,r),hasPragma:Ln,astFormat:"html",locStart:te,locEnd:re}}var ks={name:"html",normalizeTagName:!0,normalizeAttributeName:!0,allowHtmComponentClosingTags:!0},su=Xt(ks),iu=Xt({name:"angular"}),au=Xt({name:"vue",isTagNameCaseSensitive:!0,shouldParseAsRawText(t,e,r,n){return t.toLowerCase()!=="html"&&!r&&(t!=="template"||n.some(({name:s,value:i})=>s==="lang"&&i!=="html"&&i!==""&&i!==void 0))}}),uu=Xt({name:"lwc",canSelfClose:!1});var Bs=[{linguistLanguageId:146,name:"Angular",type:"markup",tmScope:"text.html.basic",aceMode:"html",codemirrorMode:"htmlmixed",codemirrorMimeType:"text/html",color:"#e34c26",aliases:["xhtml"],extensions:[".component.html"],parsers:["angular"],vscodeLanguageIds:["html"],filenames:[]},{linguistLanguageId:146,name:"HTML",type:"markup",tmScope:"text.html.basic",aceMode:"html",codemirrorMode:"htmlmixed",codemirrorMimeType:"text/html",color:"#e34c26",aliases:["xhtml"],extensions:[".html",".hta",".htm",".html.hl",".inc",".xht",".xhtml",".mjml"],parsers:["html"],vscodeLanguageIds:["html"]},{linguistLanguageId:146,name:"Lightning Web Components",type:"markup",tmScope:"text.html.basic",aceMode:"html",codemirrorMode:"htmlmixed",codemirrorMimeType:"text/html",color:"#e34c26",aliases:["xhtml"],extensions:[],parsers:["lwc"],vscodeLanguageIds:["html"],filenames:[]},{linguistLanguageId:391,name:"Vue",type:"markup",color:"#41b883",extensions:[".vue"],tmScope:"text.html.vue",aceMode:"html",parsers:["vue"],vscodeLanguageIds:["vue"]}];var Rr={bracketSpacing:{category:"Common",type:"boolean",default:!0,description:"Print spaces between brackets.",oppositeDescription:"Do not print spaces between brackets."},singleQuote:{category:"Common",type:"boolean",default:!1,description:"Use single quotes instead of double quotes."},proseWrap:{category:"Common",type:"choice",default:"preserve",description:"How to wrap prose.",choices:[{value:"always",description:"Wrap prose if it exceeds the print width."},{value:"never",description:"Do not wrap prose."},{value:"preserve",description:"Wrap prose as-is."}]},bracketSameLine:{category:"Common",type:"boolean",default:!1,description:"Put > of opening tags on the last line instead of on a new line."},singleAttributePerLine:{category:"Common",type:"boolean",default:!1,description:"Enforce single attribute per line in HTML, Vue and JSX."}};var Ls="HTML",ou={bracketSameLine:Rr.bracketSameLine,htmlWhitespaceSensitivity:{category:Ls,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:Rr.singleAttributePerLine,vueIndentScriptAndStyle:{category:Ls,type:"boolean",default:!1,description:"Indent script and style tags in Vue files."}},Fs=ou;var lu={html:ts};return Ms(cu);}); \ No newline at end of file +`+t}var ls=new Map([["if",new Set(["else if","else"])],["else if",new Set(["else if","else"])],["for",new Set(["empty"])],["defer",new Set(["placeholder","error","loading"])],["placeholder",new Set(["placeholder","error","loading"])],["error",new Set(["placeholder","error","loading"])],["loading",new Set(["placeholder","error","loading"])]]);function cs(t){let e=ie(t);return t.type==="element"&&!t.endSourceSpan&&qe(t.children)?Math.max(e,cs(X(!1,t.children,-1))):e}function it(t,e,r){let n=t.node;if(Ee(n)){let s=cs(n);return[z(n,e),B(N.trimEnd(e.originalText.slice(se(n)+(n.prev&&et(n.prev)?Lt(n).length:0),s-(n.next&&K(n.next)?ve(n,e).length:0)))),W(n,e)]}return r()}function Pt(t,e){return $(t)&&$(e)?t.isTrailingSpaceSensitive?t.hasTrailingSpaces?wt(e)?S:E:"":wt(e)?S:v:et(t)&&(Ee(e)||e.firstChild||e.isSelfClosing||e.type==="element"&&e.attrs.length>0)||t.type==="element"&&t.isSelfClosing&&K(e)?"":!e.isLeadingSpaceSensitive||wt(e)||K(e)&&t.lastChild&&we(t.lastChild)&&t.lastChild.lastChild&&we(t.lastChild.lastChild)?S:e.hasLeadingSpaces?E:v}function He(t,e,r){let{node:n}=t;if(gr(n))return[ne,...t.map(i=>{let a=i.node,o=a.prev?Pt(a.prev,a):"";return[o?[o,Qe(a.prev)?S:""]:"",it(i,e,r)]},"children")];let s=n.children.map(()=>Symbol(""));return t.map((i,a)=>{let o=i.node;if($(o)){if(o.prev&&$(o.prev)){let A=Pt(o.prev,o);if(A)return Qe(o.prev)?[S,S,it(i,e,r)]:[A,it(i,e,r)]}return it(i,e,r)}let u=[],p=[],l=[],f=[],d=o.prev?Pt(o.prev,o):"",C=o.next?Pt(o,o.next):"";return d&&(Qe(o.prev)?u.push(S,S):d===S?u.push(S):$(o.prev)?p.push(d):p.push(ge("",v,{groupId:s[a-1]}))),C&&(Qe(o)?$(o.next)&&f.push(S,S):C===S?$(o.next)&&f.push(S):l.push(C)),[...u,_([...p,_([it(i,e,r),...l],{id:s[a]})]),...f]},"children")}function ps(t,e,r){let{node:n}=t,s=[];va(t)&&s.push("} "),s.push("@",n.name),n.parameters&&s.push(" (",_(r("parameters")),")"),s.push(" {");let i=hs(n);return n.children.length>0?(n.firstChild.hasLeadingSpaces=!0,n.lastChild.hasTrailingSpaces=!0,s.push(k([S,He(t,e,r)])),i&&s.push(S,"}")):i&&s.push("}"),_(s,{shouldBreak:!0})}function hs(t){var e,r;return!(((e=t.next)==null?void 0:e.type)==="angularControlFlowBlock"&&((r=ls.get(t.name))!=null&&r.has(t.next.name)))}function va(t){let{previous:e}=t;return(e==null?void 0:e.type)==="angularControlFlowBlock"&&!Ee(e)&&!hs(e)}function ms(t,e,r){return[k([v,q([";",E],t.map(r,"children"))]),v]}function fs(t,e,r){let{node:n}=t;return[be(n,e),_([n.switchValue.trim(),", ",n.clause,n.cases.length>0?[",",k([E,q(E,t.map(r,"cases"))])]:"",v]),De(n,e)]}function ds(t,e,r){let{node:n}=t;return[n.value," {",_([k([v,t.map(({node:s})=>s.type==="text"&&!N.trim(s.value)?"":r(),"expression")]),v]),"}"]}function gs(t,e,r){let{node:n}=t;if(yt(n,e))return[z(n,e),_(rt(t,e,r)),B(Nt(n,e)),...Ze(n,e),W(n,e)];let s=n.children.length===1&&(n.firstChild.type==="interpolation"||n.firstChild.type==="angularIcuExpression")&&n.firstChild.isLeadingSpaceSensitive&&!n.firstChild.hasLeadingSpaces&&n.lastChild.isTrailingSpaceSensitive&&!n.lastChild.hasTrailingSpaces,i=Symbol("element-attr-group-id"),a=l=>_([_(rt(t,e,r),{id:i}),l,Ze(n,e)]),o=l=>s?on(l,{groupId:i}):(U(n)||Je(n,e))&&n.parent.type==="root"&&e.parser==="vue"&&!e.vueIndentScriptAndStyle?l:k(l),u=()=>s?ge(v,"",{groupId:i}):n.firstChild.hasLeadingSpaces&&n.firstChild.isLeadingSpaceSensitive?E:n.firstChild.type==="text"&&n.isWhitespaceSensitive&&n.isIndentationSensitive?sn(v):v,p=()=>(n.next?K(n.next):ye(n.parent))?n.lastChild.hasTrailingSpaces&&n.lastChild.isTrailingSpaceSensitive?" ":"":s?ge(v,"",{groupId:i}):n.lastChild.hasTrailingSpaces&&n.lastChild.isTrailingSpaceSensitive?E:(n.lastChild.type==="comment"||n.lastChild.type==="text"&&n.isWhitespaceSensitive&&n.isIndentationSensitive)&&new RegExp(`\\n[\\t ]{${e.tabWidth*(t.ancestors.length-1)}}$`,"u").test(n.lastChild.value)?"":v;return n.children.length===0?a(n.hasDanglingSpaces&&n.isDanglingSpaceSensitive?E:""):a([kn(n)?ne:"",o([u(),He(t,e,r)]),p()])}function at(t){return t>=9&&t<=32||t==160}function It(t){return 48<=t&&t<=57}function ot(t){return t>=97&&t<=122||t>=65&&t<=90}function Cs(t){return t>=97&&t<=102||t>=65&&t<=70||It(t)}function Rt(t){return t===10||t===13}function wr(t){return 48<=t&&t<=55}function $t(t){return t===39||t===34||t===96}var ya=/-+([a-z0-9])/g;function _s(t){return t.replace(ya,(...e)=>e[1].toUpperCase())}var ae=class t{constructor(e,r,n,s){this.file=e,this.offset=r,this.line=n,this.col=s}toString(){return this.offset!=null?`${this.file.url}@${this.line}:${this.col}`:this.file.url}moveBy(e){let r=this.file.content,n=r.length,s=this.offset,i=this.line,a=this.col;for(;s>0&&e<0;)if(s--,e++,r.charCodeAt(s)==10){i--;let u=r.substring(0,s-1).lastIndexOf(String.fromCharCode(10));a=u>0?s-u:s}else a--;for(;s0;){let o=r.charCodeAt(s);s++,e--,o==10?(i++,a=0):a++}return new t(this.file,s,i,a)}getContext(e,r){let n=this.file.content,s=this.offset;if(s!=null){s>n.length-1&&(s=n.length-1);let i=s,a=0,o=0;for(;a0&&(s--,a++,!(n[s]==` +`&&++o==r)););for(a=0,o=0;a]${e.after}")`:this.msg}toString(){let e=this.span.details?`, ${this.span.details}`:"";return`${this.contextualMessage()}: ${this.span.start}${e}`}};var wa=[Ta,xa,Ba,Fa,Na,Ra,Pa,Ia,$a,La];function ba(t,e){for(let r of wa)r(t,e);return t}function Ta(t){t.walk(e=>{if(e.type==="element"&&e.tagDefinition.ignoreFirstLf&&e.children.length>0&&e.children[0].type==="text"&&e.children[0].value[0]===` +`){let r=e.children[0];r.value.length===1?e.removeChild(r):r.value=r.value.slice(1)}})}function xa(t){let e=r=>{var n,s;return r.type==="element"&&((n=r.prev)==null?void 0:n.type)==="ieConditionalStartComment"&&r.prev.sourceSpan.end.offset===r.startSourceSpan.start.offset&&((s=r.firstChild)==null?void 0:s.type)==="ieConditionalEndComment"&&r.firstChild.sourceSpan.start.offset===r.startSourceSpan.end.offset};t.walk(r=>{if(r.children)for(let n=0;n{if(n.children)for(let s=0;se.type==="cdata",e=>``)}function La(t){let e=r=>{var n,s;return r.type==="element"&&r.attrs.length===0&&r.children.length===1&&r.firstChild.type==="text"&&!N.hasWhitespaceCharacter(r.children[0].value)&&!r.firstChild.hasLeadingSpaces&&!r.firstChild.hasTrailingSpaces&&r.isLeadingSpaceSensitive&&!r.hasLeadingSpaces&&r.isTrailingSpaceSensitive&&!r.hasTrailingSpaces&&((n=r.prev)==null?void 0:n.type)==="text"&&((s=r.next)==null?void 0:s.type)==="text"};t.walk(r=>{if(r.children)for(let n=0;n`+s.firstChild.value+``+a.value,i.sourceSpan=new h(i.sourceSpan.start,a.sourceSpan.end),i.isTrailingSpaceSensitive=a.isTrailingSpaceSensitive,i.hasTrailingSpaces=a.hasTrailingSpaces,r.removeChild(s),n--,r.removeChild(a)}})}function Fa(t,e){if(e.parser==="html")return;let r=/\{\{(.+?)\}\}/su;t.walk(n=>{if(yn(n))for(let s of n.children){if(s.type!=="text")continue;let i=s.sourceSpan.start,a=null,o=s.value.split(r);for(let u=0;u0&&n.insertChildBefore(s,{type:"text",value:p,sourceSpan:new h(i,a)});continue}a=i.moveBy(p.length+4),n.insertChildBefore(s,{type:"interpolation",sourceSpan:new h(i,a),children:p.length===0?[]:[{type:"text",value:p,sourceSpan:new h(i.moveBy(2),a.moveBy(-2))}]})}n.removeChild(s)}})}function Na(t){t.walk(e=>{if(!e.children)return;if(e.children.length===0||e.children.length===1&&e.children[0].type==="text"&&N.trim(e.children[0].value).length===0){e.hasDanglingSpaces=e.children.length>0,e.children=[];return}let r=wn(e),n=dr(e);if(!r)for(let s=0;s{e.isSelfClosing=!e.children||e.type==="element"&&(e.tagDefinition.isVoid||e.endSourceSpan&&e.startSourceSpan.start===e.endSourceSpan.start&&e.startSourceSpan.end===e.endSourceSpan.end)})}function Ia(t,e){t.walk(r=>{r.type==="element"&&(r.hasHtmComponentClosingTag=r.endSourceSpan&&/^<\s*\/\s*\/\s*>$/u.test(e.originalText.slice(r.endSourceSpan.start.offset,r.endSourceSpan.end.offset)))})}function Ra(t,e){t.walk(r=>{r.cssDisplay=In(r,e)})}function $a(t,e){t.walk(r=>{let{children:n}=r;if(n){if(n.length===0){r.isDanglingSpaceSensitive=xn(r);return}for(let s of n)s.isLeadingSpaceSensitive=bn(s,e),s.isTrailingSpaceSensitive=Tn(s,e);for(let s=0;s of opening tags on the last line instead of on a new line."},singleAttributePerLine:{category:"Common",type:"boolean",default:!1,description:"Enforce single attribute per line in HTML, Vue and JSX."}};var vs="HTML",qa={bracketSameLine:br.bracketSameLine,htmlWhitespaceSensitivity:{category:vs,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:br.singleAttributePerLine,vueIndentScriptAndStyle:{category:vs,type:"boolean",default:!1,description:"Indent script and style tags in Vue files."}},ys=qa;var Yr={};Jr(Yr,{angular:()=>Oo,html:()=>$o,lwc:()=>qo,vue:()=>Mo});var yp=new RegExp(`(\\:not\\()|(([\\.\\#]?)[-\\w]+)|(?:\\[([-.\\w*\\\\$]+)(?:=(["']?)([^\\]"']*)\\5)?\\])|(\\))|(\\s*,\\s*)`,"g");var ws;(function(t){t[t.Emulated=0]="Emulated",t[t.None=2]="None",t[t.ShadowDom=3]="ShadowDom"})(ws||(ws={}));var bs;(function(t){t[t.OnPush=0]="OnPush",t[t.Default=1]="Default"})(bs||(bs={}));var Ts;(function(t){t[t.None=0]="None",t[t.SignalBased=1]="SignalBased",t[t.HasDecoratorInputTransform=2]="HasDecoratorInputTransform"})(Ts||(Ts={}));var Tr={name:"custom-elements"},xr={name:"no-errors-schema"};var J;(function(t){t[t.NONE=0]="NONE",t[t.HTML=1]="HTML",t[t.STYLE=2]="STYLE",t[t.SCRIPT=3]="SCRIPT",t[t.URL=4]="URL",t[t.RESOURCE_URL=5]="RESOURCE_URL"})(J||(J={}));var xs;(function(t){t[t.Error=0]="Error",t[t.Warning=1]="Warning",t[t.Ignore=2]="Ignore"})(xs||(xs={}));var I;(function(t){t[t.RAW_TEXT=0]="RAW_TEXT",t[t.ESCAPABLE_RAW_TEXT=1]="ESCAPABLE_RAW_TEXT",t[t.PARSABLE_DATA=2]="PARSABLE_DATA"})(I||(I={}));function ut(t,e=!0){if(t[0]!=":")return[null,t];let r=t.indexOf(":",1);if(r===-1){if(e)throw new Error(`Unsupported format "${t}" expecting ":namespace:name"`);return[null,t]}return[t.slice(1,r),t.slice(r+1)]}function kr(t){return ut(t)[1]==="ng-container"}function Br(t){return ut(t)[1]==="ng-content"}function We(t){return t===null?null:ut(t)[0]}function ze(t,e){return t?`:${t}:${e}`:e}var qt;function Lr(){return qt||(qt={},Mt(J.HTML,["iframe|srcdoc","*|innerHTML","*|outerHTML"]),Mt(J.STYLE,["*|style"]),Mt(J.URL,["*|formAction","area|href","area|ping","audio|src","a|href","a|ping","blockquote|cite","body|background","del|cite","form|action","img|src","input|src","ins|cite","q|cite","source|src","track|src","video|poster","video|src"]),Mt(J.RESOURCE_URL,["applet|code","applet|codebase","base|href","embed|src","frame|src","head|profile","html|manifest","iframe|src","link|href","media|src","object|codebase","object|data","script|src"])),qt}function Mt(t,e){for(let r of e)qt[r.toLowerCase()]=t}var Ht=class{};var Ha="boolean",Va="number",Ua="string",Wa="object",za=["[Element]|textContent,%ariaAtomic,%ariaAutoComplete,%ariaBusy,%ariaChecked,%ariaColCount,%ariaColIndex,%ariaColSpan,%ariaCurrent,%ariaDescription,%ariaDisabled,%ariaExpanded,%ariaHasPopup,%ariaHidden,%ariaKeyShortcuts,%ariaLabel,%ariaLevel,%ariaLive,%ariaModal,%ariaMultiLine,%ariaMultiSelectable,%ariaOrientation,%ariaPlaceholder,%ariaPosInSet,%ariaPressed,%ariaReadOnly,%ariaRelevant,%ariaRequired,%ariaRoleDescription,%ariaRowCount,%ariaRowIndex,%ariaRowSpan,%ariaSelected,%ariaSetSize,%ariaSort,%ariaValueMax,%ariaValueMin,%ariaValueNow,%ariaValueText,%classList,className,elementTiming,id,innerHTML,*beforecopy,*beforecut,*beforepaste,*fullscreenchange,*fullscreenerror,*search,*webkitfullscreenchange,*webkitfullscreenerror,outerHTML,%part,#scrollLeft,#scrollTop,slot,*message,*mozfullscreenchange,*mozfullscreenerror,*mozpointerlockchange,*mozpointerlockerror,*webglcontextcreationerror,*webglcontextlost,*webglcontextrestored","[HTMLElement]^[Element]|accessKey,autocapitalize,!autofocus,contentEditable,dir,!draggable,enterKeyHint,!hidden,!inert,innerText,inputMode,lang,nonce,*abort,*animationend,*animationiteration,*animationstart,*auxclick,*beforexrselect,*blur,*cancel,*canplay,*canplaythrough,*change,*click,*close,*contextmenu,*copy,*cuechange,*cut,*dblclick,*drag,*dragend,*dragenter,*dragleave,*dragover,*dragstart,*drop,*durationchange,*emptied,*ended,*error,*focus,*formdata,*gotpointercapture,*input,*invalid,*keydown,*keypress,*keyup,*load,*loadeddata,*loadedmetadata,*loadstart,*lostpointercapture,*mousedown,*mouseenter,*mouseleave,*mousemove,*mouseout,*mouseover,*mouseup,*mousewheel,*paste,*pause,*play,*playing,*pointercancel,*pointerdown,*pointerenter,*pointerleave,*pointermove,*pointerout,*pointerover,*pointerrawupdate,*pointerup,*progress,*ratechange,*reset,*resize,*scroll,*securitypolicyviolation,*seeked,*seeking,*select,*selectionchange,*selectstart,*slotchange,*stalled,*submit,*suspend,*timeupdate,*toggle,*transitioncancel,*transitionend,*transitionrun,*transitionstart,*volumechange,*waiting,*webkitanimationend,*webkitanimationiteration,*webkitanimationstart,*webkittransitionend,*wheel,outerText,!spellcheck,%style,#tabIndex,title,!translate,virtualKeyboardPolicy","abbr,address,article,aside,b,bdi,bdo,cite,content,code,dd,dfn,dt,em,figcaption,figure,footer,header,hgroup,i,kbd,main,mark,nav,noscript,rb,rp,rt,rtc,ruby,s,samp,section,small,strong,sub,sup,u,var,wbr^[HTMLElement]|accessKey,autocapitalize,!autofocus,contentEditable,dir,!draggable,enterKeyHint,!hidden,innerText,inputMode,lang,nonce,*abort,*animationend,*animationiteration,*animationstart,*auxclick,*beforexrselect,*blur,*cancel,*canplay,*canplaythrough,*change,*click,*close,*contextmenu,*copy,*cuechange,*cut,*dblclick,*drag,*dragend,*dragenter,*dragleave,*dragover,*dragstart,*drop,*durationchange,*emptied,*ended,*error,*focus,*formdata,*gotpointercapture,*input,*invalid,*keydown,*keypress,*keyup,*load,*loadeddata,*loadedmetadata,*loadstart,*lostpointercapture,*mousedown,*mouseenter,*mouseleave,*mousemove,*mouseout,*mouseover,*mouseup,*mousewheel,*paste,*pause,*play,*playing,*pointercancel,*pointerdown,*pointerenter,*pointerleave,*pointermove,*pointerout,*pointerover,*pointerrawupdate,*pointerup,*progress,*ratechange,*reset,*resize,*scroll,*securitypolicyviolation,*seeked,*seeking,*select,*selectionchange,*selectstart,*slotchange,*stalled,*submit,*suspend,*timeupdate,*toggle,*transitioncancel,*transitionend,*transitionrun,*transitionstart,*volumechange,*waiting,*webkitanimationend,*webkitanimationiteration,*webkitanimationstart,*webkittransitionend,*wheel,outerText,!spellcheck,%style,#tabIndex,title,!translate,virtualKeyboardPolicy","media^[HTMLElement]|!autoplay,!controls,%controlsList,%crossOrigin,#currentTime,!defaultMuted,#defaultPlaybackRate,!disableRemotePlayback,!loop,!muted,*encrypted,*waitingforkey,#playbackRate,preload,!preservesPitch,src,%srcObject,#volume",":svg:^[HTMLElement]|!autofocus,nonce,*abort,*animationend,*animationiteration,*animationstart,*auxclick,*beforexrselect,*blur,*cancel,*canplay,*canplaythrough,*change,*click,*close,*contextmenu,*copy,*cuechange,*cut,*dblclick,*drag,*dragend,*dragenter,*dragleave,*dragover,*dragstart,*drop,*durationchange,*emptied,*ended,*error,*focus,*formdata,*gotpointercapture,*input,*invalid,*keydown,*keypress,*keyup,*load,*loadeddata,*loadedmetadata,*loadstart,*lostpointercapture,*mousedown,*mouseenter,*mouseleave,*mousemove,*mouseout,*mouseover,*mouseup,*mousewheel,*paste,*pause,*play,*playing,*pointercancel,*pointerdown,*pointerenter,*pointerleave,*pointermove,*pointerout,*pointerover,*pointerrawupdate,*pointerup,*progress,*ratechange,*reset,*resize,*scroll,*securitypolicyviolation,*seeked,*seeking,*select,*selectionchange,*selectstart,*slotchange,*stalled,*submit,*suspend,*timeupdate,*toggle,*transitioncancel,*transitionend,*transitionrun,*transitionstart,*volumechange,*waiting,*webkitanimationend,*webkitanimationiteration,*webkitanimationstart,*webkittransitionend,*wheel,%style,#tabIndex",":svg:graphics^:svg:|",":svg:animation^:svg:|*begin,*end,*repeat",":svg:geometry^:svg:|",":svg:componentTransferFunction^:svg:|",":svg:gradient^:svg:|",":svg:textContent^:svg:graphics|",":svg:textPositioning^:svg:textContent|","a^[HTMLElement]|charset,coords,download,hash,host,hostname,href,hreflang,name,password,pathname,ping,port,protocol,referrerPolicy,rel,%relList,rev,search,shape,target,text,type,username","area^[HTMLElement]|alt,coords,download,hash,host,hostname,href,!noHref,password,pathname,ping,port,protocol,referrerPolicy,rel,%relList,search,shape,target,username","audio^media|","br^[HTMLElement]|clear","base^[HTMLElement]|href,target","body^[HTMLElement]|aLink,background,bgColor,link,*afterprint,*beforeprint,*beforeunload,*blur,*error,*focus,*hashchange,*languagechange,*load,*message,*messageerror,*offline,*online,*pagehide,*pageshow,*popstate,*rejectionhandled,*resize,*scroll,*storage,*unhandledrejection,*unload,text,vLink","button^[HTMLElement]|!disabled,formAction,formEnctype,formMethod,!formNoValidate,formTarget,name,type,value","canvas^[HTMLElement]|#height,#width","content^[HTMLElement]|select","dl^[HTMLElement]|!compact","data^[HTMLElement]|value","datalist^[HTMLElement]|","details^[HTMLElement]|!open","dialog^[HTMLElement]|!open,returnValue","dir^[HTMLElement]|!compact","div^[HTMLElement]|align","embed^[HTMLElement]|align,height,name,src,type,width","fieldset^[HTMLElement]|!disabled,name","font^[HTMLElement]|color,face,size","form^[HTMLElement]|acceptCharset,action,autocomplete,encoding,enctype,method,name,!noValidate,target","frame^[HTMLElement]|frameBorder,longDesc,marginHeight,marginWidth,name,!noResize,scrolling,src","frameset^[HTMLElement]|cols,*afterprint,*beforeprint,*beforeunload,*blur,*error,*focus,*hashchange,*languagechange,*load,*message,*messageerror,*offline,*online,*pagehide,*pageshow,*popstate,*rejectionhandled,*resize,*scroll,*storage,*unhandledrejection,*unload,rows","hr^[HTMLElement]|align,color,!noShade,size,width","head^[HTMLElement]|","h1,h2,h3,h4,h5,h6^[HTMLElement]|align","html^[HTMLElement]|version","iframe^[HTMLElement]|align,allow,!allowFullscreen,!allowPaymentRequest,csp,frameBorder,height,loading,longDesc,marginHeight,marginWidth,name,referrerPolicy,%sandbox,scrolling,src,srcdoc,width","img^[HTMLElement]|align,alt,border,%crossOrigin,decoding,#height,#hspace,!isMap,loading,longDesc,lowsrc,name,referrerPolicy,sizes,src,srcset,useMap,#vspace,#width","input^[HTMLElement]|accept,align,alt,autocomplete,!checked,!defaultChecked,defaultValue,dirName,!disabled,%files,formAction,formEnctype,formMethod,!formNoValidate,formTarget,#height,!incremental,!indeterminate,max,#maxLength,min,#minLength,!multiple,name,pattern,placeholder,!readOnly,!required,selectionDirection,#selectionEnd,#selectionStart,#size,src,step,type,useMap,value,%valueAsDate,#valueAsNumber,#width","li^[HTMLElement]|type,#value","label^[HTMLElement]|htmlFor","legend^[HTMLElement]|align","link^[HTMLElement]|as,charset,%crossOrigin,!disabled,href,hreflang,imageSizes,imageSrcset,integrity,media,referrerPolicy,rel,%relList,rev,%sizes,target,type","map^[HTMLElement]|name","marquee^[HTMLElement]|behavior,bgColor,direction,height,#hspace,#loop,#scrollAmount,#scrollDelay,!trueSpeed,#vspace,width","menu^[HTMLElement]|!compact","meta^[HTMLElement]|content,httpEquiv,media,name,scheme","meter^[HTMLElement]|#high,#low,#max,#min,#optimum,#value","ins,del^[HTMLElement]|cite,dateTime","ol^[HTMLElement]|!compact,!reversed,#start,type","object^[HTMLElement]|align,archive,border,code,codeBase,codeType,data,!declare,height,#hspace,name,standby,type,useMap,#vspace,width","optgroup^[HTMLElement]|!disabled,label","option^[HTMLElement]|!defaultSelected,!disabled,label,!selected,text,value","output^[HTMLElement]|defaultValue,%htmlFor,name,value","p^[HTMLElement]|align","param^[HTMLElement]|name,type,value,valueType","picture^[HTMLElement]|","pre^[HTMLElement]|#width","progress^[HTMLElement]|#max,#value","q,blockquote,cite^[HTMLElement]|","script^[HTMLElement]|!async,charset,%crossOrigin,!defer,event,htmlFor,integrity,!noModule,%referrerPolicy,src,text,type","select^[HTMLElement]|autocomplete,!disabled,#length,!multiple,name,!required,#selectedIndex,#size,value","slot^[HTMLElement]|name","source^[HTMLElement]|#height,media,sizes,src,srcset,type,#width","span^[HTMLElement]|","style^[HTMLElement]|!disabled,media,type","caption^[HTMLElement]|align","th,td^[HTMLElement]|abbr,align,axis,bgColor,ch,chOff,#colSpan,headers,height,!noWrap,#rowSpan,scope,vAlign,width","col,colgroup^[HTMLElement]|align,ch,chOff,#span,vAlign,width","table^[HTMLElement]|align,bgColor,border,%caption,cellPadding,cellSpacing,frame,rules,summary,%tFoot,%tHead,width","tr^[HTMLElement]|align,bgColor,ch,chOff,vAlign","tfoot,thead,tbody^[HTMLElement]|align,ch,chOff,vAlign","template^[HTMLElement]|","textarea^[HTMLElement]|autocomplete,#cols,defaultValue,dirName,!disabled,#maxLength,#minLength,name,placeholder,!readOnly,!required,#rows,selectionDirection,#selectionEnd,#selectionStart,value,wrap","time^[HTMLElement]|dateTime","title^[HTMLElement]|text","track^[HTMLElement]|!default,kind,label,src,srclang","ul^[HTMLElement]|!compact,type","unknown^[HTMLElement]|","video^media|!disablePictureInPicture,#height,*enterpictureinpicture,*leavepictureinpicture,!playsInline,poster,#width",":svg:a^:svg:graphics|",":svg:animate^:svg:animation|",":svg:animateMotion^:svg:animation|",":svg:animateTransform^:svg:animation|",":svg:circle^:svg:geometry|",":svg:clipPath^:svg:graphics|",":svg:defs^:svg:graphics|",":svg:desc^:svg:|",":svg:discard^:svg:|",":svg:ellipse^:svg:geometry|",":svg:feBlend^:svg:|",":svg:feColorMatrix^:svg:|",":svg:feComponentTransfer^:svg:|",":svg:feComposite^:svg:|",":svg:feConvolveMatrix^:svg:|",":svg:feDiffuseLighting^:svg:|",":svg:feDisplacementMap^:svg:|",":svg:feDistantLight^:svg:|",":svg:feDropShadow^:svg:|",":svg:feFlood^:svg:|",":svg:feFuncA^:svg:componentTransferFunction|",":svg:feFuncB^:svg:componentTransferFunction|",":svg:feFuncG^:svg:componentTransferFunction|",":svg:feFuncR^:svg:componentTransferFunction|",":svg:feGaussianBlur^:svg:|",":svg:feImage^:svg:|",":svg:feMerge^:svg:|",":svg:feMergeNode^:svg:|",":svg:feMorphology^:svg:|",":svg:feOffset^:svg:|",":svg:fePointLight^:svg:|",":svg:feSpecularLighting^:svg:|",":svg:feSpotLight^:svg:|",":svg:feTile^:svg:|",":svg:feTurbulence^:svg:|",":svg:filter^:svg:|",":svg:foreignObject^:svg:graphics|",":svg:g^:svg:graphics|",":svg:image^:svg:graphics|decoding",":svg:line^:svg:geometry|",":svg:linearGradient^:svg:gradient|",":svg:mpath^:svg:|",":svg:marker^:svg:|",":svg:mask^:svg:|",":svg:metadata^:svg:|",":svg:path^:svg:geometry|",":svg:pattern^:svg:|",":svg:polygon^:svg:geometry|",":svg:polyline^:svg:geometry|",":svg:radialGradient^:svg:gradient|",":svg:rect^:svg:geometry|",":svg:svg^:svg:graphics|#currentScale,#zoomAndPan",":svg:script^:svg:|type",":svg:set^:svg:animation|",":svg:stop^:svg:|",":svg:style^:svg:|!disabled,media,title,type",":svg:switch^:svg:graphics|",":svg:symbol^:svg:|",":svg:tspan^:svg:textPositioning|",":svg:text^:svg:textPositioning|",":svg:textPath^:svg:textContent|",":svg:title^:svg:|",":svg:use^:svg:graphics|",":svg:view^:svg:|#zoomAndPan","data^[HTMLElement]|value","keygen^[HTMLElement]|!autofocus,challenge,!disabled,form,keytype,name","menuitem^[HTMLElement]|type,label,icon,!disabled,!checked,radiogroup,!default","summary^[HTMLElement]|","time^[HTMLElement]|dateTime",":svg:cursor^:svg:|",":math:^[HTMLElement]|!autofocus,nonce,*abort,*animationend,*animationiteration,*animationstart,*auxclick,*beforeinput,*beforematch,*beforetoggle,*beforexrselect,*blur,*cancel,*canplay,*canplaythrough,*change,*click,*close,*contentvisibilityautostatechange,*contextlost,*contextmenu,*contextrestored,*copy,*cuechange,*cut,*dblclick,*drag,*dragend,*dragenter,*dragleave,*dragover,*dragstart,*drop,*durationchange,*emptied,*ended,*error,*focus,*formdata,*gotpointercapture,*input,*invalid,*keydown,*keypress,*keyup,*load,*loadeddata,*loadedmetadata,*loadstart,*lostpointercapture,*mousedown,*mouseenter,*mouseleave,*mousemove,*mouseout,*mouseover,*mouseup,*mousewheel,*paste,*pause,*play,*playing,*pointercancel,*pointerdown,*pointerenter,*pointerleave,*pointermove,*pointerout,*pointerover,*pointerrawupdate,*pointerup,*progress,*ratechange,*reset,*resize,*scroll,*scrollend,*securitypolicyviolation,*seeked,*seeking,*select,*selectionchange,*selectstart,*slotchange,*stalled,*submit,*suspend,*timeupdate,*toggle,*transitioncancel,*transitionend,*transitionrun,*transitionstart,*volumechange,*waiting,*webkitanimationend,*webkitanimationiteration,*webkitanimationstart,*webkittransitionend,*wheel,%style,#tabIndex",":math:math^:math:|",":math:maction^:math:|",":math:menclose^:math:|",":math:merror^:math:|",":math:mfenced^:math:|",":math:mfrac^:math:|",":math:mi^:math:|",":math:mmultiscripts^:math:|",":math:mn^:math:|",":math:mo^:math:|",":math:mover^:math:|",":math:mpadded^:math:|",":math:mphantom^:math:|",":math:mroot^:math:|",":math:mrow^:math:|",":math:ms^:math:|",":math:mspace^:math:|",":math:msqrt^:math:|",":math:mstyle^:math:|",":math:msub^:math:|",":math:msubsup^:math:|",":math:msup^:math:|",":math:mtable^:math:|",":math:mtd^:math:|",":math:mtext^:math:|",":math:mtr^:math:|",":math:munder^:math:|",":math:munderover^:math:|",":math:semantics^:math:|"],ks=new Map(Object.entries({class:"className",for:"htmlFor",formaction:"formAction",innerHtml:"innerHTML",readonly:"readOnly",tabindex:"tabIndex"})),Ga=Array.from(ks).reduce((t,[e,r])=>(t.set(e,r),t),new Map),Vt=class extends Ht{constructor(){super(),this._schema=new Map,this._eventSchema=new Map,za.forEach(e=>{let r=new Map,n=new Set,[s,i]=e.split("|"),a=i.split(","),[o,u]=s.split("^");o.split(",").forEach(l=>{this._schema.set(l.toLowerCase(),r),this._eventSchema.set(l.toLowerCase(),n)});let p=u&&this._schema.get(u.toLowerCase());if(p){for(let[l,f]of p)r.set(l,f);for(let l of this._eventSchema.get(u.toLowerCase()))n.add(l)}a.forEach(l=>{if(l.length>0)switch(l[0]){case"*":n.add(l.substring(1));break;case"!":r.set(l.substring(1),Ha);break;case"#":r.set(l.substring(1),Va);break;case"%":r.set(l.substring(1),Wa);break;default:r.set(l,Ua)}})})}hasProperty(e,r,n){if(n.some(i=>i.name===xr.name))return!0;if(e.indexOf("-")>-1){if(kr(e)||Br(e))return!1;if(n.some(i=>i.name===Tr.name))return!0}return(this._schema.get(e.toLowerCase())||this._schema.get("unknown")).has(r)}hasElement(e,r){return r.some(n=>n.name===xr.name)||e.indexOf("-")>-1&&(kr(e)||Br(e)||r.some(n=>n.name===Tr.name))?!0:this._schema.has(e.toLowerCase())}securityContext(e,r,n){n&&(r=this.getMappedPropName(r)),e=e.toLowerCase(),r=r.toLowerCase();let s=Lr()[e+"|"+r];return s||(s=Lr()["*|"+r],s||J.NONE)}getMappedPropName(e){return ks.get(e)??e}getDefaultComponentElementName(){return"ng-component"}validateProperty(e){return e.toLowerCase().startsWith("on")?{error:!0,msg:`Binding to event property '${e}' is disallowed for security reasons, please use (${e.slice(2)})=... +If '${e}' is a directive input, make sure the directive is imported by the current module.`}:{error:!1}}validateAttribute(e){return e.toLowerCase().startsWith("on")?{error:!0,msg:`Binding to event attribute '${e}' is disallowed for security reasons, please use (${e.slice(2)})=...`}:{error:!1}}allKnownElementNames(){return Array.from(this._schema.keys())}allKnownAttributesOfElement(e){let r=this._schema.get(e.toLowerCase())||this._schema.get("unknown");return Array.from(r.keys()).map(n=>Ga.get(n)??n)}allKnownEventsOfElement(e){return Array.from(this._eventSchema.get(e.toLowerCase())??[])}normalizeAnimationStyleProperty(e){return _s(e)}normalizeAnimationStyleValue(e,r,n){let s="",i=n.toString().trim(),a=null;if(Ya(e)&&n!==0&&n!=="0")if(typeof n=="number")s="px";else{let o=n.match(/^[+-]?[\d\.]+([a-z]*)$/);o&&o[1].length==0&&(a=`Please provide a CSS unit value for ${r}:${n}`)}return{error:a,value:i+s}}};function Ya(t){switch(t){case"width":case"height":case"minWidth":case"minHeight":case"maxWidth":case"maxHeight":case"left":case"top":case"bottom":case"right":case"fontSize":case"outlineWidth":case"outlineOffset":case"paddingTop":case"paddingLeft":case"paddingBottom":case"paddingRight":case"marginTop":case"marginLeft":case"marginBottom":case"marginRight":case"borderRadius":case"borderWidth":case"borderTopWidth":case"borderLeftWidth":case"borderRightWidth":case"borderBottomWidth":case"textIndent":return!0;default:return!1}}var m=class{constructor({closedByChildren:e,implicitNamespacePrefix:r,contentType:n=I.PARSABLE_DATA,closedByParent:s=!1,isVoid:i=!1,ignoreFirstLf:a=!1,preventNamespaceInheritance:o=!1,canSelfClose:u=!1}={}){this.closedByChildren={},this.closedByParent=!1,e&&e.length>0&&e.forEach(p=>this.closedByChildren[p]=!0),this.isVoid=i,this.closedByParent=s||i,this.implicitNamespacePrefix=r||null,this.contentType=n,this.ignoreFirstLf=a,this.preventNamespaceInheritance=o,this.canSelfClose=u??i}isClosedByChild(e){return this.isVoid||e.toLowerCase()in this.closedByChildren}getContentType(e){return typeof this.contentType=="object"?(e===void 0?void 0:this.contentType[e])??this.contentType.default:this.contentType}},Bs,lt;function Ge(t){return lt||(Bs=new m({canSelfClose:!0}),lt=Object.assign(Object.create(null),{base:new m({isVoid:!0}),meta:new m({isVoid:!0}),area:new m({isVoid:!0}),embed:new m({isVoid:!0}),link:new m({isVoid:!0}),img:new m({isVoid:!0}),input:new m({isVoid:!0}),param:new m({isVoid:!0}),hr:new m({isVoid:!0}),br:new m({isVoid:!0}),source:new m({isVoid:!0}),track:new m({isVoid:!0}),wbr:new m({isVoid:!0}),p:new m({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 m({closedByChildren:["tbody","tfoot"]}),tbody:new m({closedByChildren:["tbody","tfoot"],closedByParent:!0}),tfoot:new m({closedByChildren:["tbody"],closedByParent:!0}),tr:new m({closedByChildren:["tr"],closedByParent:!0}),td:new m({closedByChildren:["td","th"],closedByParent:!0}),th:new m({closedByChildren:["td","th"],closedByParent:!0}),col:new m({isVoid:!0}),svg:new m({implicitNamespacePrefix:"svg"}),foreignObject:new m({implicitNamespacePrefix:"svg",preventNamespaceInheritance:!0}),math:new m({implicitNamespacePrefix:"math"}),li:new m({closedByChildren:["li"],closedByParent:!0}),dt:new m({closedByChildren:["dt","dd"]}),dd:new m({closedByChildren:["dt","dd"],closedByParent:!0}),rb:new m({closedByChildren:["rb","rt","rtc","rp"],closedByParent:!0}),rt:new m({closedByChildren:["rb","rt","rtc","rp"],closedByParent:!0}),rtc:new m({closedByChildren:["rb","rtc","rp"],closedByParent:!0}),rp:new m({closedByChildren:["rb","rt","rtc","rp"],closedByParent:!0}),optgroup:new m({closedByChildren:["optgroup"],closedByParent:!0}),option:new m({closedByChildren:["option","optgroup"],closedByParent:!0}),pre:new m({ignoreFirstLf:!0}),listing:new m({ignoreFirstLf:!0}),style:new m({contentType:I.RAW_TEXT}),script:new m({contentType:I.RAW_TEXT}),title:new m({contentType:{default:I.ESCAPABLE_RAW_TEXT,svg:I.PARSABLE_DATA}}),textarea:new m({contentType:I.ESCAPABLE_RAW_TEXT,ignoreFirstLf:!0})}),new Vt().allKnownElementNames().forEach(e=>{!lt[e]&&We(e)===null&&(lt[e]=new m({canSelfClose:!1}))})),lt[t]??Bs}var oe=class{constructor(e,r){this.sourceSpan=e,this.i18n=r}},Ut=class extends oe{constructor(e,r,n,s){super(r,s),this.value=e,this.tokens=n,this.type="text"}visit(e,r){return e.visitText(this,r)}},Wt=class extends oe{constructor(e,r,n,s){super(r,s),this.value=e,this.tokens=n,this.type="cdata"}visit(e,r){return e.visitCdata(this,r)}},zt=class extends oe{constructor(e,r,n,s,i,a){super(s,a),this.switchValue=e,this.type=r,this.cases=n,this.switchValueSourceSpan=i}visit(e,r){return e.visitExpansion(this,r)}},Gt=class{constructor(e,r,n,s,i){this.value=e,this.expression=r,this.sourceSpan=n,this.valueSourceSpan=s,this.expSourceSpan=i,this.type="expansionCase"}visit(e,r){return e.visitExpansionCase(this,r)}},Yt=class extends oe{constructor(e,r,n,s,i,a,o){super(n,o),this.name=e,this.value=r,this.keySpan=s,this.valueSpan=i,this.valueTokens=a,this.type="attribute"}visit(e,r){return e.visitAttribute(this,r)}get nameSpan(){return this.keySpan}},G=class extends oe{constructor(e,r,n,s,i,a=null,o=null,u){super(s,u),this.name=e,this.attrs=r,this.children=n,this.startSourceSpan=i,this.endSourceSpan=a,this.nameSpan=o,this.type="element"}visit(e,r){return e.visitElement(this,r)}},jt=class{constructor(e,r){this.value=e,this.sourceSpan=r,this.type="comment"}visit(e,r){return e.visitComment(this,r)}},Kt=class{constructor(e,r){this.value=e,this.sourceSpan=r,this.type="docType"}visit(e,r){return e.visitDocType(this,r)}},Z=class extends oe{constructor(e,r,n,s,i,a,o=null,u){super(s,u),this.name=e,this.parameters=r,this.children=n,this.nameSpan=i,this.startSourceSpan=a,this.endSourceSpan=o,this.type="block"}visit(e,r){return e.visitBlock(this,r)}},ct=class{constructor(e,r){this.expression=e,this.sourceSpan=r,this.type="blockParameter",this.startSourceSpan=null,this.endSourceSpan=null}visit(e,r){return e.visitBlockParameter(this,r)}},pt=class{constructor(e,r,n,s,i){this.name=e,this.value=r,this.sourceSpan=n,this.nameSpan=s,this.valueSpan=i,this.type="letDeclaration",this.startSourceSpan=null,this.endSourceSpan=null}visit(e,r){return e.visitLetDeclaration(this,r)}};function Qt(t,e,r=null){let n=[],s=t.visit?i=>t.visit(i,r)||i.visit(t,r):i=>i.visit(t,r);return e.forEach(i=>{let a=s(i);a&&n.push(a)}),n}var ht=class{constructor(){}visitElement(e,r){this.visitChildren(r,n=>{n(e.attrs),n(e.children)})}visitAttribute(e,r){}visitText(e,r){}visitCdata(e,r){}visitComment(e,r){}visitDocType(e,r){}visitExpansion(e,r){return this.visitChildren(r,n=>{n(e.cases)})}visitExpansionCase(e,r){}visitBlock(e,r){this.visitChildren(r,n=>{n(e.parameters),n(e.children)})}visitBlockParameter(e,r){}visitLetDeclaration(e,r){}visitChildren(e,r){let n=[],s=this;function i(a){a&&n.push(Qt(s,a,e))}return r(i),Array.prototype.concat.apply([],n)}};var Ye={AElig:"\xC6",AMP:"&",amp:"&",Aacute:"\xC1",Abreve:"\u0102",Acirc:"\xC2",Acy:"\u0410",Afr:"\u{1D504}",Agrave:"\xC0",Alpha:"\u0391",Amacr:"\u0100",And:"\u2A53",Aogon:"\u0104",Aopf:"\u{1D538}",ApplyFunction:"\u2061",af:"\u2061",Aring:"\xC5",angst:"\xC5",Ascr:"\u{1D49C}",Assign:"\u2254",colone:"\u2254",coloneq:"\u2254",Atilde:"\xC3",Auml:"\xC4",Backslash:"\u2216",setminus:"\u2216",setmn:"\u2216",smallsetminus:"\u2216",ssetmn:"\u2216",Barv:"\u2AE7",Barwed:"\u2306",doublebarwedge:"\u2306",Bcy:"\u0411",Because:"\u2235",becaus:"\u2235",because:"\u2235",Bernoullis:"\u212C",Bscr:"\u212C",bernou:"\u212C",Beta:"\u0392",Bfr:"\u{1D505}",Bopf:"\u{1D539}",Breve:"\u02D8",breve:"\u02D8",Bumpeq:"\u224E",HumpDownHump:"\u224E",bump:"\u224E",CHcy:"\u0427",COPY:"\xA9",copy:"\xA9",Cacute:"\u0106",Cap:"\u22D2",CapitalDifferentialD:"\u2145",DD:"\u2145",Cayleys:"\u212D",Cfr:"\u212D",Ccaron:"\u010C",Ccedil:"\xC7",Ccirc:"\u0108",Cconint:"\u2230",Cdot:"\u010A",Cedilla:"\xB8",cedil:"\xB8",CenterDot:"\xB7",centerdot:"\xB7",middot:"\xB7",Chi:"\u03A7",CircleDot:"\u2299",odot:"\u2299",CircleMinus:"\u2296",ominus:"\u2296",CirclePlus:"\u2295",oplus:"\u2295",CircleTimes:"\u2297",otimes:"\u2297",ClockwiseContourIntegral:"\u2232",cwconint:"\u2232",CloseCurlyDoubleQuote:"\u201D",rdquo:"\u201D",rdquor:"\u201D",CloseCurlyQuote:"\u2019",rsquo:"\u2019",rsquor:"\u2019",Colon:"\u2237",Proportion:"\u2237",Colone:"\u2A74",Congruent:"\u2261",equiv:"\u2261",Conint:"\u222F",DoubleContourIntegral:"\u222F",ContourIntegral:"\u222E",conint:"\u222E",oint:"\u222E",Copf:"\u2102",complexes:"\u2102",Coproduct:"\u2210",coprod:"\u2210",CounterClockwiseContourIntegral:"\u2233",awconint:"\u2233",Cross:"\u2A2F",Cscr:"\u{1D49E}",Cup:"\u22D3",CupCap:"\u224D",asympeq:"\u224D",DDotrahd:"\u2911",DJcy:"\u0402",DScy:"\u0405",DZcy:"\u040F",Dagger:"\u2021",ddagger:"\u2021",Darr:"\u21A1",Dashv:"\u2AE4",DoubleLeftTee:"\u2AE4",Dcaron:"\u010E",Dcy:"\u0414",Del:"\u2207",nabla:"\u2207",Delta:"\u0394",Dfr:"\u{1D507}",DiacriticalAcute:"\xB4",acute:"\xB4",DiacriticalDot:"\u02D9",dot:"\u02D9",DiacriticalDoubleAcute:"\u02DD",dblac:"\u02DD",DiacriticalGrave:"`",grave:"`",DiacriticalTilde:"\u02DC",tilde:"\u02DC",Diamond:"\u22C4",diam:"\u22C4",diamond:"\u22C4",DifferentialD:"\u2146",dd:"\u2146",Dopf:"\u{1D53B}",Dot:"\xA8",DoubleDot:"\xA8",die:"\xA8",uml:"\xA8",DotDot:"\u20DC",DotEqual:"\u2250",doteq:"\u2250",esdot:"\u2250",DoubleDownArrow:"\u21D3",Downarrow:"\u21D3",dArr:"\u21D3",DoubleLeftArrow:"\u21D0",Leftarrow:"\u21D0",lArr:"\u21D0",DoubleLeftRightArrow:"\u21D4",Leftrightarrow:"\u21D4",hArr:"\u21D4",iff:"\u21D4",DoubleLongLeftArrow:"\u27F8",Longleftarrow:"\u27F8",xlArr:"\u27F8",DoubleLongLeftRightArrow:"\u27FA",Longleftrightarrow:"\u27FA",xhArr:"\u27FA",DoubleLongRightArrow:"\u27F9",Longrightarrow:"\u27F9",xrArr:"\u27F9",DoubleRightArrow:"\u21D2",Implies:"\u21D2",Rightarrow:"\u21D2",rArr:"\u21D2",DoubleRightTee:"\u22A8",vDash:"\u22A8",DoubleUpArrow:"\u21D1",Uparrow:"\u21D1",uArr:"\u21D1",DoubleUpDownArrow:"\u21D5",Updownarrow:"\u21D5",vArr:"\u21D5",DoubleVerticalBar:"\u2225",par:"\u2225",parallel:"\u2225",shortparallel:"\u2225",spar:"\u2225",DownArrow:"\u2193",ShortDownArrow:"\u2193",darr:"\u2193",downarrow:"\u2193",DownArrowBar:"\u2913",DownArrowUpArrow:"\u21F5",duarr:"\u21F5",DownBreve:"\u0311",DownLeftRightVector:"\u2950",DownLeftTeeVector:"\u295E",DownLeftVector:"\u21BD",leftharpoondown:"\u21BD",lhard:"\u21BD",DownLeftVectorBar:"\u2956",DownRightTeeVector:"\u295F",DownRightVector:"\u21C1",rhard:"\u21C1",rightharpoondown:"\u21C1",DownRightVectorBar:"\u2957",DownTee:"\u22A4",top:"\u22A4",DownTeeArrow:"\u21A7",mapstodown:"\u21A7",Dscr:"\u{1D49F}",Dstrok:"\u0110",ENG:"\u014A",ETH:"\xD0",Eacute:"\xC9",Ecaron:"\u011A",Ecirc:"\xCA",Ecy:"\u042D",Edot:"\u0116",Efr:"\u{1D508}",Egrave:"\xC8",Element:"\u2208",in:"\u2208",isin:"\u2208",isinv:"\u2208",Emacr:"\u0112",EmptySmallSquare:"\u25FB",EmptyVerySmallSquare:"\u25AB",Eogon:"\u0118",Eopf:"\u{1D53C}",Epsilon:"\u0395",Equal:"\u2A75",EqualTilde:"\u2242",eqsim:"\u2242",esim:"\u2242",Equilibrium:"\u21CC",rightleftharpoons:"\u21CC",rlhar:"\u21CC",Escr:"\u2130",expectation:"\u2130",Esim:"\u2A73",Eta:"\u0397",Euml:"\xCB",Exists:"\u2203",exist:"\u2203",ExponentialE:"\u2147",ee:"\u2147",exponentiale:"\u2147",Fcy:"\u0424",Ffr:"\u{1D509}",FilledSmallSquare:"\u25FC",FilledVerySmallSquare:"\u25AA",blacksquare:"\u25AA",squarf:"\u25AA",squf:"\u25AA",Fopf:"\u{1D53D}",ForAll:"\u2200",forall:"\u2200",Fouriertrf:"\u2131",Fscr:"\u2131",GJcy:"\u0403",GT:">",gt:">",Gamma:"\u0393",Gammad:"\u03DC",Gbreve:"\u011E",Gcedil:"\u0122",Gcirc:"\u011C",Gcy:"\u0413",Gdot:"\u0120",Gfr:"\u{1D50A}",Gg:"\u22D9",ggg:"\u22D9",Gopf:"\u{1D53E}",GreaterEqual:"\u2265",ge:"\u2265",geq:"\u2265",GreaterEqualLess:"\u22DB",gel:"\u22DB",gtreqless:"\u22DB",GreaterFullEqual:"\u2267",gE:"\u2267",geqq:"\u2267",GreaterGreater:"\u2AA2",GreaterLess:"\u2277",gl:"\u2277",gtrless:"\u2277",GreaterSlantEqual:"\u2A7E",geqslant:"\u2A7E",ges:"\u2A7E",GreaterTilde:"\u2273",gsim:"\u2273",gtrsim:"\u2273",Gscr:"\u{1D4A2}",Gt:"\u226B",NestedGreaterGreater:"\u226B",gg:"\u226B",HARDcy:"\u042A",Hacek:"\u02C7",caron:"\u02C7",Hat:"^",Hcirc:"\u0124",Hfr:"\u210C",Poincareplane:"\u210C",HilbertSpace:"\u210B",Hscr:"\u210B",hamilt:"\u210B",Hopf:"\u210D",quaternions:"\u210D",HorizontalLine:"\u2500",boxh:"\u2500",Hstrok:"\u0126",HumpEqual:"\u224F",bumpe:"\u224F",bumpeq:"\u224F",IEcy:"\u0415",IJlig:"\u0132",IOcy:"\u0401",Iacute:"\xCD",Icirc:"\xCE",Icy:"\u0418",Idot:"\u0130",Ifr:"\u2111",Im:"\u2111",image:"\u2111",imagpart:"\u2111",Igrave:"\xCC",Imacr:"\u012A",ImaginaryI:"\u2148",ii:"\u2148",Int:"\u222C",Integral:"\u222B",int:"\u222B",Intersection:"\u22C2",bigcap:"\u22C2",xcap:"\u22C2",InvisibleComma:"\u2063",ic:"\u2063",InvisibleTimes:"\u2062",it:"\u2062",Iogon:"\u012E",Iopf:"\u{1D540}",Iota:"\u0399",Iscr:"\u2110",imagline:"\u2110",Itilde:"\u0128",Iukcy:"\u0406",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",LT:"<",lt:"<",Lacute:"\u0139",Lambda:"\u039B",Lang:"\u27EA",Laplacetrf:"\u2112",Lscr:"\u2112",lagran:"\u2112",Larr:"\u219E",twoheadleftarrow:"\u219E",Lcaron:"\u013D",Lcedil:"\u013B",Lcy:"\u041B",LeftAngleBracket:"\u27E8",lang:"\u27E8",langle:"\u27E8",LeftArrow:"\u2190",ShortLeftArrow:"\u2190",larr:"\u2190",leftarrow:"\u2190",slarr:"\u2190",LeftArrowBar:"\u21E4",larrb:"\u21E4",LeftArrowRightArrow:"\u21C6",leftrightarrows:"\u21C6",lrarr:"\u21C6",LeftCeiling:"\u2308",lceil:"\u2308",LeftDoubleBracket:"\u27E6",lobrk:"\u27E6",LeftDownTeeVector:"\u2961",LeftDownVector:"\u21C3",dharl:"\u21C3",downharpoonleft:"\u21C3",LeftDownVectorBar:"\u2959",LeftFloor:"\u230A",lfloor:"\u230A",LeftRightArrow:"\u2194",harr:"\u2194",leftrightarrow:"\u2194",LeftRightVector:"\u294E",LeftTee:"\u22A3",dashv:"\u22A3",LeftTeeArrow:"\u21A4",mapstoleft:"\u21A4",LeftTeeVector:"\u295A",LeftTriangle:"\u22B2",vartriangleleft:"\u22B2",vltri:"\u22B2",LeftTriangleBar:"\u29CF",LeftTriangleEqual:"\u22B4",ltrie:"\u22B4",trianglelefteq:"\u22B4",LeftUpDownVector:"\u2951",LeftUpTeeVector:"\u2960",LeftUpVector:"\u21BF",uharl:"\u21BF",upharpoonleft:"\u21BF",LeftUpVectorBar:"\u2958",LeftVector:"\u21BC",leftharpoonup:"\u21BC",lharu:"\u21BC",LeftVectorBar:"\u2952",LessEqualGreater:"\u22DA",leg:"\u22DA",lesseqgtr:"\u22DA",LessFullEqual:"\u2266",lE:"\u2266",leqq:"\u2266",LessGreater:"\u2276",lessgtr:"\u2276",lg:"\u2276",LessLess:"\u2AA1",LessSlantEqual:"\u2A7D",leqslant:"\u2A7D",les:"\u2A7D",LessTilde:"\u2272",lesssim:"\u2272",lsim:"\u2272",Lfr:"\u{1D50F}",Ll:"\u22D8",Lleftarrow:"\u21DA",lAarr:"\u21DA",Lmidot:"\u013F",LongLeftArrow:"\u27F5",longleftarrow:"\u27F5",xlarr:"\u27F5",LongLeftRightArrow:"\u27F7",longleftrightarrow:"\u27F7",xharr:"\u27F7",LongRightArrow:"\u27F6",longrightarrow:"\u27F6",xrarr:"\u27F6",Lopf:"\u{1D543}",LowerLeftArrow:"\u2199",swarr:"\u2199",swarrow:"\u2199",LowerRightArrow:"\u2198",searr:"\u2198",searrow:"\u2198",Lsh:"\u21B0",lsh:"\u21B0",Lstrok:"\u0141",Lt:"\u226A",NestedLessLess:"\u226A",ll:"\u226A",Map:"\u2905",Mcy:"\u041C",MediumSpace:"\u205F",Mellintrf:"\u2133",Mscr:"\u2133",phmmat:"\u2133",Mfr:"\u{1D510}",MinusPlus:"\u2213",mnplus:"\u2213",mp:"\u2213",Mopf:"\u{1D544}",Mu:"\u039C",NJcy:"\u040A",Nacute:"\u0143",Ncaron:"\u0147",Ncedil:"\u0145",Ncy:"\u041D",NegativeMediumSpace:"\u200B",NegativeThickSpace:"\u200B",NegativeThinSpace:"\u200B",NegativeVeryThinSpace:"\u200B",ZeroWidthSpace:"\u200B",NewLine:` +`,Nfr:"\u{1D511}",NoBreak:"\u2060",NonBreakingSpace:"\xA0",nbsp:"\xA0",Nopf:"\u2115",naturals:"\u2115",Not:"\u2AEC",NotCongruent:"\u2262",nequiv:"\u2262",NotCupCap:"\u226D",NotDoubleVerticalBar:"\u2226",npar:"\u2226",nparallel:"\u2226",nshortparallel:"\u2226",nspar:"\u2226",NotElement:"\u2209",notin:"\u2209",notinva:"\u2209",NotEqual:"\u2260",ne:"\u2260",NotEqualTilde:"\u2242\u0338",nesim:"\u2242\u0338",NotExists:"\u2204",nexist:"\u2204",nexists:"\u2204",NotGreater:"\u226F",ngt:"\u226F",ngtr:"\u226F",NotGreaterEqual:"\u2271",nge:"\u2271",ngeq:"\u2271",NotGreaterFullEqual:"\u2267\u0338",ngE:"\u2267\u0338",ngeqq:"\u2267\u0338",NotGreaterGreater:"\u226B\u0338",nGtv:"\u226B\u0338",NotGreaterLess:"\u2279",ntgl:"\u2279",NotGreaterSlantEqual:"\u2A7E\u0338",ngeqslant:"\u2A7E\u0338",nges:"\u2A7E\u0338",NotGreaterTilde:"\u2275",ngsim:"\u2275",NotHumpDownHump:"\u224E\u0338",nbump:"\u224E\u0338",NotHumpEqual:"\u224F\u0338",nbumpe:"\u224F\u0338",NotLeftTriangle:"\u22EA",nltri:"\u22EA",ntriangleleft:"\u22EA",NotLeftTriangleBar:"\u29CF\u0338",NotLeftTriangleEqual:"\u22EC",nltrie:"\u22EC",ntrianglelefteq:"\u22EC",NotLess:"\u226E",nless:"\u226E",nlt:"\u226E",NotLessEqual:"\u2270",nle:"\u2270",nleq:"\u2270",NotLessGreater:"\u2278",ntlg:"\u2278",NotLessLess:"\u226A\u0338",nLtv:"\u226A\u0338",NotLessSlantEqual:"\u2A7D\u0338",nleqslant:"\u2A7D\u0338",nles:"\u2A7D\u0338",NotLessTilde:"\u2274",nlsim:"\u2274",NotNestedGreaterGreater:"\u2AA2\u0338",NotNestedLessLess:"\u2AA1\u0338",NotPrecedes:"\u2280",npr:"\u2280",nprec:"\u2280",NotPrecedesEqual:"\u2AAF\u0338",npre:"\u2AAF\u0338",npreceq:"\u2AAF\u0338",NotPrecedesSlantEqual:"\u22E0",nprcue:"\u22E0",NotReverseElement:"\u220C",notni:"\u220C",notniva:"\u220C",NotRightTriangle:"\u22EB",nrtri:"\u22EB",ntriangleright:"\u22EB",NotRightTriangleBar:"\u29D0\u0338",NotRightTriangleEqual:"\u22ED",nrtrie:"\u22ED",ntrianglerighteq:"\u22ED",NotSquareSubset:"\u228F\u0338",NotSquareSubsetEqual:"\u22E2",nsqsube:"\u22E2",NotSquareSuperset:"\u2290\u0338",NotSquareSupersetEqual:"\u22E3",nsqsupe:"\u22E3",NotSubset:"\u2282\u20D2",nsubset:"\u2282\u20D2",vnsub:"\u2282\u20D2",NotSubsetEqual:"\u2288",nsube:"\u2288",nsubseteq:"\u2288",NotSucceeds:"\u2281",nsc:"\u2281",nsucc:"\u2281",NotSucceedsEqual:"\u2AB0\u0338",nsce:"\u2AB0\u0338",nsucceq:"\u2AB0\u0338",NotSucceedsSlantEqual:"\u22E1",nsccue:"\u22E1",NotSucceedsTilde:"\u227F\u0338",NotSuperset:"\u2283\u20D2",nsupset:"\u2283\u20D2",vnsup:"\u2283\u20D2",NotSupersetEqual:"\u2289",nsupe:"\u2289",nsupseteq:"\u2289",NotTilde:"\u2241",nsim:"\u2241",NotTildeEqual:"\u2244",nsime:"\u2244",nsimeq:"\u2244",NotTildeFullEqual:"\u2247",ncong:"\u2247",NotTildeTilde:"\u2249",nap:"\u2249",napprox:"\u2249",NotVerticalBar:"\u2224",nmid:"\u2224",nshortmid:"\u2224",nsmid:"\u2224",Nscr:"\u{1D4A9}",Ntilde:"\xD1",Nu:"\u039D",OElig:"\u0152",Oacute:"\xD3",Ocirc:"\xD4",Ocy:"\u041E",Odblac:"\u0150",Ofr:"\u{1D512}",Ograve:"\xD2",Omacr:"\u014C",Omega:"\u03A9",ohm:"\u03A9",Omicron:"\u039F",Oopf:"\u{1D546}",OpenCurlyDoubleQuote:"\u201C",ldquo:"\u201C",OpenCurlyQuote:"\u2018",lsquo:"\u2018",Or:"\u2A54",Oscr:"\u{1D4AA}",Oslash:"\xD8",Otilde:"\xD5",Otimes:"\u2A37",Ouml:"\xD6",OverBar:"\u203E",oline:"\u203E",OverBrace:"\u23DE",OverBracket:"\u23B4",tbrk:"\u23B4",OverParenthesis:"\u23DC",PartialD:"\u2202",part:"\u2202",Pcy:"\u041F",Pfr:"\u{1D513}",Phi:"\u03A6",Pi:"\u03A0",PlusMinus:"\xB1",plusmn:"\xB1",pm:"\xB1",Popf:"\u2119",primes:"\u2119",Pr:"\u2ABB",Precedes:"\u227A",pr:"\u227A",prec:"\u227A",PrecedesEqual:"\u2AAF",pre:"\u2AAF",preceq:"\u2AAF",PrecedesSlantEqual:"\u227C",prcue:"\u227C",preccurlyeq:"\u227C",PrecedesTilde:"\u227E",precsim:"\u227E",prsim:"\u227E",Prime:"\u2033",Product:"\u220F",prod:"\u220F",Proportional:"\u221D",prop:"\u221D",propto:"\u221D",varpropto:"\u221D",vprop:"\u221D",Pscr:"\u{1D4AB}",Psi:"\u03A8",QUOT:'"',quot:'"',Qfr:"\u{1D514}",Qopf:"\u211A",rationals:"\u211A",Qscr:"\u{1D4AC}",RBarr:"\u2910",drbkarow:"\u2910",REG:"\xAE",circledR:"\xAE",reg:"\xAE",Racute:"\u0154",Rang:"\u27EB",Rarr:"\u21A0",twoheadrightarrow:"\u21A0",Rarrtl:"\u2916",Rcaron:"\u0158",Rcedil:"\u0156",Rcy:"\u0420",Re:"\u211C",Rfr:"\u211C",real:"\u211C",realpart:"\u211C",ReverseElement:"\u220B",SuchThat:"\u220B",ni:"\u220B",niv:"\u220B",ReverseEquilibrium:"\u21CB",leftrightharpoons:"\u21CB",lrhar:"\u21CB",ReverseUpEquilibrium:"\u296F",duhar:"\u296F",Rho:"\u03A1",RightAngleBracket:"\u27E9",rang:"\u27E9",rangle:"\u27E9",RightArrow:"\u2192",ShortRightArrow:"\u2192",rarr:"\u2192",rightarrow:"\u2192",srarr:"\u2192",RightArrowBar:"\u21E5",rarrb:"\u21E5",RightArrowLeftArrow:"\u21C4",rightleftarrows:"\u21C4",rlarr:"\u21C4",RightCeiling:"\u2309",rceil:"\u2309",RightDoubleBracket:"\u27E7",robrk:"\u27E7",RightDownTeeVector:"\u295D",RightDownVector:"\u21C2",dharr:"\u21C2",downharpoonright:"\u21C2",RightDownVectorBar:"\u2955",RightFloor:"\u230B",rfloor:"\u230B",RightTee:"\u22A2",vdash:"\u22A2",RightTeeArrow:"\u21A6",map:"\u21A6",mapsto:"\u21A6",RightTeeVector:"\u295B",RightTriangle:"\u22B3",vartriangleright:"\u22B3",vrtri:"\u22B3",RightTriangleBar:"\u29D0",RightTriangleEqual:"\u22B5",rtrie:"\u22B5",trianglerighteq:"\u22B5",RightUpDownVector:"\u294F",RightUpTeeVector:"\u295C",RightUpVector:"\u21BE",uharr:"\u21BE",upharpoonright:"\u21BE",RightUpVectorBar:"\u2954",RightVector:"\u21C0",rharu:"\u21C0",rightharpoonup:"\u21C0",RightVectorBar:"\u2953",Ropf:"\u211D",reals:"\u211D",RoundImplies:"\u2970",Rrightarrow:"\u21DB",rAarr:"\u21DB",Rscr:"\u211B",realine:"\u211B",Rsh:"\u21B1",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}",ShortUpArrow:"\u2191",UpArrow:"\u2191",uarr:"\u2191",uparrow:"\u2191",Sigma:"\u03A3",SmallCircle:"\u2218",compfn:"\u2218",Sopf:"\u{1D54A}",Sqrt:"\u221A",radic:"\u221A",Square:"\u25A1",squ:"\u25A1",square:"\u25A1",SquareIntersection:"\u2293",sqcap:"\u2293",SquareSubset:"\u228F",sqsub:"\u228F",sqsubset:"\u228F",SquareSubsetEqual:"\u2291",sqsube:"\u2291",sqsubseteq:"\u2291",SquareSuperset:"\u2290",sqsup:"\u2290",sqsupset:"\u2290",SquareSupersetEqual:"\u2292",sqsupe:"\u2292",sqsupseteq:"\u2292",SquareUnion:"\u2294",sqcup:"\u2294",Sscr:"\u{1D4AE}",Star:"\u22C6",sstarf:"\u22C6",Sub:"\u22D0",Subset:"\u22D0",SubsetEqual:"\u2286",sube:"\u2286",subseteq:"\u2286",Succeeds:"\u227B",sc:"\u227B",succ:"\u227B",SucceedsEqual:"\u2AB0",sce:"\u2AB0",succeq:"\u2AB0",SucceedsSlantEqual:"\u227D",sccue:"\u227D",succcurlyeq:"\u227D",SucceedsTilde:"\u227F",scsim:"\u227F",succsim:"\u227F",Sum:"\u2211",sum:"\u2211",Sup:"\u22D1",Supset:"\u22D1",Superset:"\u2283",sup:"\u2283",supset:"\u2283",SupersetEqual:"\u2287",supe:"\u2287",supseteq:"\u2287",THORN:"\xDE",TRADE:"\u2122",trade:"\u2122",TSHcy:"\u040B",TScy:"\u0426",Tab:" ",Tau:"\u03A4",Tcaron:"\u0164",Tcedil:"\u0162",Tcy:"\u0422",Tfr:"\u{1D517}",Therefore:"\u2234",there4:"\u2234",therefore:"\u2234",Theta:"\u0398",ThickSpace:"\u205F\u200A",ThinSpace:"\u2009",thinsp:"\u2009",Tilde:"\u223C",sim:"\u223C",thicksim:"\u223C",thksim:"\u223C",TildeEqual:"\u2243",sime:"\u2243",simeq:"\u2243",TildeFullEqual:"\u2245",cong:"\u2245",TildeTilde:"\u2248",ap:"\u2248",approx:"\u2248",asymp:"\u2248",thickapprox:"\u2248",thkap:"\u2248",Topf:"\u{1D54B}",TripleDot:"\u20DB",tdot:"\u20DB",Tscr:"\u{1D4AF}",Tstrok:"\u0166",Uacute:"\xDA",Uarr:"\u219F",Uarrocir:"\u2949",Ubrcy:"\u040E",Ubreve:"\u016C",Ucirc:"\xDB",Ucy:"\u0423",Udblac:"\u0170",Ufr:"\u{1D518}",Ugrave:"\xD9",Umacr:"\u016A",UnderBar:"_",lowbar:"_",UnderBrace:"\u23DF",UnderBracket:"\u23B5",bbrk:"\u23B5",UnderParenthesis:"\u23DD",Union:"\u22C3",bigcup:"\u22C3",xcup:"\u22C3",UnionPlus:"\u228E",uplus:"\u228E",Uogon:"\u0172",Uopf:"\u{1D54C}",UpArrowBar:"\u2912",UpArrowDownArrow:"\u21C5",udarr:"\u21C5",UpDownArrow:"\u2195",updownarrow:"\u2195",varr:"\u2195",UpEquilibrium:"\u296E",udhar:"\u296E",UpTee:"\u22A5",bot:"\u22A5",bottom:"\u22A5",perp:"\u22A5",UpTeeArrow:"\u21A5",mapstoup:"\u21A5",UpperLeftArrow:"\u2196",nwarr:"\u2196",nwarrow:"\u2196",UpperRightArrow:"\u2197",nearr:"\u2197",nearrow:"\u2197",Upsi:"\u03D2",upsih:"\u03D2",Upsilon:"\u03A5",Uring:"\u016E",Uscr:"\u{1D4B0}",Utilde:"\u0168",Uuml:"\xDC",VDash:"\u22AB",Vbar:"\u2AEB",Vcy:"\u0412",Vdash:"\u22A9",Vdashl:"\u2AE6",Vee:"\u22C1",bigvee:"\u22C1",xvee:"\u22C1",Verbar:"\u2016",Vert:"\u2016",VerticalBar:"\u2223",mid:"\u2223",shortmid:"\u2223",smid:"\u2223",VerticalLine:"|",verbar:"|",vert:"|",VerticalSeparator:"\u2758",VerticalTilde:"\u2240",wr:"\u2240",wreath:"\u2240",VeryThinSpace:"\u200A",hairsp:"\u200A",Vfr:"\u{1D519}",Vopf:"\u{1D54D}",Vscr:"\u{1D4B1}",Vvdash:"\u22AA",Wcirc:"\u0174",Wedge:"\u22C0",bigwedge:"\u22C0",xwedge:"\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",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",Zeta:"\u0396",Zfr:"\u2128",zeetrf:"\u2128",Zopf:"\u2124",integers:"\u2124",Zscr:"\u{1D4B5}",aacute:"\xE1",abreve:"\u0103",ac:"\u223E",mstpos:"\u223E",acE:"\u223E\u0333",acd:"\u223F",acirc:"\xE2",acy:"\u0430",aelig:"\xE6",afr:"\u{1D51E}",agrave:"\xE0",alefsym:"\u2135",aleph:"\u2135",alpha:"\u03B1",amacr:"\u0101",amalg:"\u2A3F",and:"\u2227",wedge:"\u2227",andand:"\u2A55",andd:"\u2A5C",andslope:"\u2A58",andv:"\u2A5A",ang:"\u2220",angle:"\u2220",ange:"\u29A4",angmsd:"\u2221",measuredangle:"\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",angzarr:"\u237C",aogon:"\u0105",aopf:"\u{1D552}",apE:"\u2A70",apacir:"\u2A6F",ape:"\u224A",approxeq:"\u224A",apid:"\u224B",apos:"'",aring:"\xE5",ascr:"\u{1D4B6}",ast:"*",midast:"*",atilde:"\xE3",auml:"\xE4",awint:"\u2A11",bNot:"\u2AED",backcong:"\u224C",bcong:"\u224C",backepsilon:"\u03F6",bepsi:"\u03F6",backprime:"\u2035",bprime:"\u2035",backsim:"\u223D",bsim:"\u223D",backsimeq:"\u22CD",bsime:"\u22CD",barvee:"\u22BD",barwed:"\u2305",barwedge:"\u2305",bbrktbrk:"\u23B6",bcy:"\u0431",bdquo:"\u201E",ldquor:"\u201E",bemptyv:"\u29B0",beta:"\u03B2",beth:"\u2136",between:"\u226C",twixt:"\u226C",bfr:"\u{1D51F}",bigcirc:"\u25EF",xcirc:"\u25EF",bigodot:"\u2A00",xodot:"\u2A00",bigoplus:"\u2A01",xoplus:"\u2A01",bigotimes:"\u2A02",xotime:"\u2A02",bigsqcup:"\u2A06",xsqcup:"\u2A06",bigstar:"\u2605",starf:"\u2605",bigtriangledown:"\u25BD",xdtri:"\u25BD",bigtriangleup:"\u25B3",xutri:"\u25B3",biguplus:"\u2A04",xuplus:"\u2A04",bkarow:"\u290D",rbarr:"\u290D",blacklozenge:"\u29EB",lozf:"\u29EB",blacktriangle:"\u25B4",utrif:"\u25B4",blacktriangledown:"\u25BE",dtrif:"\u25BE",blacktriangleleft:"\u25C2",ltrif:"\u25C2",blacktriangleright:"\u25B8",rtrif:"\u25B8",blank:"\u2423",blk12:"\u2592",blk14:"\u2591",blk34:"\u2593",block:"\u2588",bne:"=\u20E5",bnequiv:"\u2261\u20E5",bnot:"\u2310",bopf:"\u{1D553}",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",boxhD:"\u2565",boxhU:"\u2568",boxhd:"\u252C",boxhu:"\u2534",boxminus:"\u229F",minusb:"\u229F",boxplus:"\u229E",plusb:"\u229E",boxtimes:"\u22A0",timesb:"\u22A0",boxuL:"\u255B",boxuR:"\u2558",boxul:"\u2518",boxur:"\u2514",boxv:"\u2502",boxvH:"\u256A",boxvL:"\u2561",boxvR:"\u255E",boxvh:"\u253C",boxvl:"\u2524",boxvr:"\u251C",brvbar:"\xA6",bscr:"\u{1D4B7}",bsemi:"\u204F",bsol:"\\",bsolb:"\u29C5",bsolhsub:"\u27C8",bull:"\u2022",bullet:"\u2022",bumpE:"\u2AAE",cacute:"\u0107",cap:"\u2229",capand:"\u2A44",capbrcup:"\u2A49",capcap:"\u2A4B",capcup:"\u2A47",capdot:"\u2A40",caps:"\u2229\uFE00",caret:"\u2041",ccaps:"\u2A4D",ccaron:"\u010D",ccedil:"\xE7",ccirc:"\u0109",ccups:"\u2A4C",ccupssm:"\u2A50",cdot:"\u010B",cemptyv:"\u29B2",cent:"\xA2",cfr:"\u{1D520}",chcy:"\u0447",check:"\u2713",checkmark:"\u2713",chi:"\u03C7",cir:"\u25CB",cirE:"\u29C3",circ:"\u02C6",circeq:"\u2257",cire:"\u2257",circlearrowleft:"\u21BA",olarr:"\u21BA",circlearrowright:"\u21BB",orarr:"\u21BB",circledS:"\u24C8",oS:"\u24C8",circledast:"\u229B",oast:"\u229B",circledcirc:"\u229A",ocir:"\u229A",circleddash:"\u229D",odash:"\u229D",cirfnint:"\u2A10",cirmid:"\u2AEF",cirscir:"\u29C2",clubs:"\u2663",clubsuit:"\u2663",colon:":",comma:",",commat:"@",comp:"\u2201",complement:"\u2201",congdot:"\u2A6D",copf:"\u{1D554}",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",curlyeqprec:"\u22DE",cuesc:"\u22DF",curlyeqsucc:"\u22DF",cularr:"\u21B6",curvearrowleft:"\u21B6",cularrp:"\u293D",cup:"\u222A",cupbrcap:"\u2A48",cupcap:"\u2A46",cupcup:"\u2A4A",cupdot:"\u228D",cupor:"\u2A45",cups:"\u222A\uFE00",curarr:"\u21B7",curvearrowright:"\u21B7",curarrm:"\u293C",curlyvee:"\u22CE",cuvee:"\u22CE",curlywedge:"\u22CF",cuwed:"\u22CF",curren:"\xA4",cwint:"\u2231",cylcty:"\u232D",dHar:"\u2965",dagger:"\u2020",daleth:"\u2138",dash:"\u2010",hyphen:"\u2010",dbkarow:"\u290F",rBarr:"\u290F",dcaron:"\u010F",dcy:"\u0434",ddarr:"\u21CA",downdownarrows:"\u21CA",ddotseq:"\u2A77",eDDot:"\u2A77",deg:"\xB0",delta:"\u03B4",demptyv:"\u29B1",dfisht:"\u297F",dfr:"\u{1D521}",diamondsuit:"\u2666",diams:"\u2666",digamma:"\u03DD",gammad:"\u03DD",disin:"\u22F2",div:"\xF7",divide:"\xF7",divideontimes:"\u22C7",divonx:"\u22C7",djcy:"\u0452",dlcorn:"\u231E",llcorner:"\u231E",dlcrop:"\u230D",dollar:"$",dopf:"\u{1D555}",doteqdot:"\u2251",eDot:"\u2251",dotminus:"\u2238",minusd:"\u2238",dotplus:"\u2214",plusdo:"\u2214",dotsquare:"\u22A1",sdotb:"\u22A1",drcorn:"\u231F",lrcorner:"\u231F",drcrop:"\u230C",dscr:"\u{1D4B9}",dscy:"\u0455",dsol:"\u29F6",dstrok:"\u0111",dtdot:"\u22F1",dtri:"\u25BF",triangledown:"\u25BF",dwangle:"\u29A6",dzcy:"\u045F",dzigrarr:"\u27FF",eacute:"\xE9",easter:"\u2A6E",ecaron:"\u011B",ecir:"\u2256",eqcirc:"\u2256",ecirc:"\xEA",ecolon:"\u2255",eqcolon:"\u2255",ecy:"\u044D",edot:"\u0117",efDot:"\u2252",fallingdotseq:"\u2252",efr:"\u{1D522}",eg:"\u2A9A",egrave:"\xE8",egs:"\u2A96",eqslantgtr:"\u2A96",egsdot:"\u2A98",el:"\u2A99",elinters:"\u23E7",ell:"\u2113",els:"\u2A95",eqslantless:"\u2A95",elsdot:"\u2A97",emacr:"\u0113",empty:"\u2205",emptyset:"\u2205",emptyv:"\u2205",varnothing:"\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",straightepsilon:"\u03F5",varepsilon:"\u03F5",equals:"=",equest:"\u225F",questeq:"\u225F",equivDD:"\u2A78",eqvparsl:"\u29E5",erDot:"\u2253",risingdotseq:"\u2253",erarr:"\u2971",escr:"\u212F",eta:"\u03B7",eth:"\xF0",euml:"\xEB",euro:"\u20AC",excl:"!",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}",fork:"\u22D4",pitchfork:"\u22D4",forkv:"\u2AD9",fpartint:"\u2A0D",frac12:"\xBD",half:"\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",sfrown:"\u2322",fscr:"\u{1D4BB}",gEl:"\u2A8C",gtreqqless:"\u2A8C",gacute:"\u01F5",gamma:"\u03B3",gap:"\u2A86",gtrapprox:"\u2A86",gbreve:"\u011F",gcirc:"\u011D",gcy:"\u0433",gdot:"\u0121",gescc:"\u2AA9",gesdot:"\u2A80",gesdoto:"\u2A82",gesdotol:"\u2A84",gesl:"\u22DB\uFE00",gesles:"\u2A94",gfr:"\u{1D524}",gimel:"\u2137",gjcy:"\u0453",glE:"\u2A92",gla:"\u2AA5",glj:"\u2AA4",gnE:"\u2269",gneqq:"\u2269",gnap:"\u2A8A",gnapprox:"\u2A8A",gne:"\u2A88",gneq:"\u2A88",gnsim:"\u22E7",gopf:"\u{1D558}",gscr:"\u210A",gsime:"\u2A8E",gsiml:"\u2A90",gtcc:"\u2AA7",gtcir:"\u2A7A",gtdot:"\u22D7",gtrdot:"\u22D7",gtlPar:"\u2995",gtquest:"\u2A7C",gtrarr:"\u2978",gvertneqq:"\u2269\uFE00",gvnE:"\u2269\uFE00",hardcy:"\u044A",harrcir:"\u2948",harrw:"\u21AD",leftrightsquigarrow:"\u21AD",hbar:"\u210F",hslash:"\u210F",planck:"\u210F",plankv:"\u210F",hcirc:"\u0125",hearts:"\u2665",heartsuit:"\u2665",hellip:"\u2026",mldr:"\u2026",hercon:"\u22B9",hfr:"\u{1D525}",hksearow:"\u2925",searhk:"\u2925",hkswarow:"\u2926",swarhk:"\u2926",hoarr:"\u21FF",homtht:"\u223B",hookleftarrow:"\u21A9",larrhk:"\u21A9",hookrightarrow:"\u21AA",rarrhk:"\u21AA",hopf:"\u{1D559}",horbar:"\u2015",hscr:"\u{1D4BD}",hstrok:"\u0127",hybull:"\u2043",iacute:"\xED",icirc:"\xEE",icy:"\u0438",iecy:"\u0435",iexcl:"\xA1",ifr:"\u{1D526}",igrave:"\xEC",iiiint:"\u2A0C",qint:"\u2A0C",iiint:"\u222D",tint:"\u222D",iinfin:"\u29DC",iiota:"\u2129",ijlig:"\u0133",imacr:"\u012B",imath:"\u0131",inodot:"\u0131",imof:"\u22B7",imped:"\u01B5",incare:"\u2105",infin:"\u221E",infintie:"\u29DD",intcal:"\u22BA",intercal:"\u22BA",intlarhk:"\u2A17",intprod:"\u2A3C",iprod:"\u2A3C",iocy:"\u0451",iogon:"\u012F",iopf:"\u{1D55A}",iota:"\u03B9",iquest:"\xBF",iscr:"\u{1D4BE}",isinE:"\u22F9",isindot:"\u22F5",isins:"\u22F4",isinsv:"\u22F3",itilde:"\u0129",iukcy:"\u0456",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",varkappa:"\u03F0",kcedil:"\u0137",kcy:"\u043A",kfr:"\u{1D528}",kgreen:"\u0138",khcy:"\u0445",kjcy:"\u045C",kopf:"\u{1D55C}",kscr:"\u{1D4C0}",lAtail:"\u291B",lBarr:"\u290E",lEg:"\u2A8B",lesseqqgtr:"\u2A8B",lHar:"\u2962",lacute:"\u013A",laemptyv:"\u29B4",lambda:"\u03BB",langd:"\u2991",lap:"\u2A85",lessapprox:"\u2A85",laquo:"\xAB",larrbfs:"\u291F",larrfs:"\u291D",larrlp:"\u21AB",looparrowleft:"\u21AB",larrpl:"\u2939",larrsim:"\u2973",larrtl:"\u21A2",leftarrowtail:"\u21A2",lat:"\u2AAB",latail:"\u2919",late:"\u2AAD",lates:"\u2AAD\uFE00",lbarr:"\u290C",lbbrk:"\u2772",lbrace:"{",lcub:"{",lbrack:"[",lsqb:"[",lbrke:"\u298B",lbrksld:"\u298F",lbrkslu:"\u298D",lcaron:"\u013E",lcedil:"\u013C",lcy:"\u043B",ldca:"\u2936",ldrdhar:"\u2967",ldrushar:"\u294B",ldsh:"\u21B2",le:"\u2264",leq:"\u2264",leftleftarrows:"\u21C7",llarr:"\u21C7",leftthreetimes:"\u22CB",lthree:"\u22CB",lescc:"\u2AA8",lesdot:"\u2A7F",lesdoto:"\u2A81",lesdotor:"\u2A83",lesg:"\u22DA\uFE00",lesges:"\u2A93",lessdot:"\u22D6",ltdot:"\u22D6",lfisht:"\u297C",lfr:"\u{1D529}",lgE:"\u2A91",lharul:"\u296A",lhblk:"\u2584",ljcy:"\u0459",llhard:"\u296B",lltri:"\u25FA",lmidot:"\u0140",lmoust:"\u23B0",lmoustache:"\u23B0",lnE:"\u2268",lneqq:"\u2268",lnap:"\u2A89",lnapprox:"\u2A89",lne:"\u2A87",lneq:"\u2A87",lnsim:"\u22E6",loang:"\u27EC",loarr:"\u21FD",longmapsto:"\u27FC",xmap:"\u27FC",looparrowright:"\u21AC",rarrlp:"\u21AC",lopar:"\u2985",lopf:"\u{1D55D}",loplus:"\u2A2D",lotimes:"\u2A34",lowast:"\u2217",loz:"\u25CA",lozenge:"\u25CA",lpar:"(",lparlt:"\u2993",lrhard:"\u296D",lrm:"\u200E",lrtri:"\u22BF",lsaquo:"\u2039",lscr:"\u{1D4C1}",lsime:"\u2A8D",lsimg:"\u2A8F",lsquor:"\u201A",sbquo:"\u201A",lstrok:"\u0142",ltcc:"\u2AA6",ltcir:"\u2A79",ltimes:"\u22C9",ltlarr:"\u2976",ltquest:"\u2A7B",ltrPar:"\u2996",ltri:"\u25C3",triangleleft:"\u25C3",lurdshar:"\u294A",luruhar:"\u2966",lvertneqq:"\u2268\uFE00",lvnE:"\u2268\uFE00",mDDot:"\u223A",macr:"\xAF",strns:"\xAF",male:"\u2642",malt:"\u2720",maltese:"\u2720",marker:"\u25AE",mcomma:"\u2A29",mcy:"\u043C",mdash:"\u2014",mfr:"\u{1D52A}",mho:"\u2127",micro:"\xB5",midcir:"\u2AF0",minus:"\u2212",minusdu:"\u2A2A",mlcp:"\u2ADB",models:"\u22A7",mopf:"\u{1D55E}",mscr:"\u{1D4C2}",mu:"\u03BC",multimap:"\u22B8",mumap:"\u22B8",nGg:"\u22D9\u0338",nGt:"\u226B\u20D2",nLeftarrow:"\u21CD",nlArr:"\u21CD",nLeftrightarrow:"\u21CE",nhArr:"\u21CE",nLl:"\u22D8\u0338",nLt:"\u226A\u20D2",nRightarrow:"\u21CF",nrArr:"\u21CF",nVDash:"\u22AF",nVdash:"\u22AE",nacute:"\u0144",nang:"\u2220\u20D2",napE:"\u2A70\u0338",napid:"\u224B\u0338",napos:"\u0149",natur:"\u266E",natural:"\u266E",ncap:"\u2A43",ncaron:"\u0148",ncedil:"\u0146",ncongdot:"\u2A6D\u0338",ncup:"\u2A42",ncy:"\u043D",ndash:"\u2013",neArr:"\u21D7",nearhk:"\u2924",nedot:"\u2250\u0338",nesear:"\u2928",toea:"\u2928",nfr:"\u{1D52B}",nharr:"\u21AE",nleftrightarrow:"\u21AE",nhpar:"\u2AF2",nis:"\u22FC",nisd:"\u22FA",njcy:"\u045A",nlE:"\u2266\u0338",nleqq:"\u2266\u0338",nlarr:"\u219A",nleftarrow:"\u219A",nldr:"\u2025",nopf:"\u{1D55F}",not:"\xAC",notinE:"\u22F9\u0338",notindot:"\u22F5\u0338",notinvb:"\u22F7",notinvc:"\u22F6",notnivb:"\u22FE",notnivc:"\u22FD",nparsl:"\u2AFD\u20E5",npart:"\u2202\u0338",npolint:"\u2A14",nrarr:"\u219B",nrightarrow:"\u219B",nrarrc:"\u2933\u0338",nrarrw:"\u219D\u0338",nscr:"\u{1D4C3}",nsub:"\u2284",nsubE:"\u2AC5\u0338",nsubseteqq:"\u2AC5\u0338",nsup:"\u2285",nsupE:"\u2AC6\u0338",nsupseteqq:"\u2AC6\u0338",ntilde:"\xF1",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",nwnear:"\u2927",oacute:"\xF3",ocirc:"\xF4",ocy:"\u043E",odblac:"\u0151",odiv:"\u2A38",odsold:"\u29BC",oelig:"\u0153",ofcir:"\u29BF",ofr:"\u{1D52C}",ogon:"\u02DB",ograve:"\xF2",ogt:"\u29C1",ohbar:"\u29B5",olcir:"\u29BE",olcross:"\u29BB",olt:"\u29C0",omacr:"\u014D",omega:"\u03C9",omicron:"\u03BF",omid:"\u29B6",oopf:"\u{1D560}",opar:"\u29B7",operp:"\u29B9",or:"\u2228",vee:"\u2228",ord:"\u2A5D",order:"\u2134",orderof:"\u2134",oscr:"\u2134",ordf:"\xAA",ordm:"\xBA",origof:"\u22B6",oror:"\u2A56",orslope:"\u2A57",orv:"\u2A5B",oslash:"\xF8",osol:"\u2298",otilde:"\xF5",otimesas:"\u2A36",ouml:"\xF6",ovbar:"\u233D",para:"\xB6",parsim:"\u2AF3",parsl:"\u2AFD",pcy:"\u043F",percnt:"%",period:".",permil:"\u2030",pertenk:"\u2031",pfr:"\u{1D52D}",phi:"\u03C6",phiv:"\u03D5",straightphi:"\u03D5",varphi:"\u03D5",phone:"\u260E",pi:"\u03C0",piv:"\u03D6",varpi:"\u03D6",planckh:"\u210E",plus:"+",plusacir:"\u2A23",pluscir:"\u2A22",plusdu:"\u2A25",pluse:"\u2A72",plussim:"\u2A26",plustwo:"\u2A27",pointint:"\u2A15",popf:"\u{1D561}",pound:"\xA3",prE:"\u2AB3",prap:"\u2AB7",precapprox:"\u2AB7",precnapprox:"\u2AB9",prnap:"\u2AB9",precneqq:"\u2AB5",prnE:"\u2AB5",precnsim:"\u22E8",prnsim:"\u22E8",prime:"\u2032",profalar:"\u232E",profline:"\u2312",profsurf:"\u2313",prurel:"\u22B0",pscr:"\u{1D4C5}",psi:"\u03C8",puncsp:"\u2008",qfr:"\u{1D52E}",qopf:"\u{1D562}",qprime:"\u2057",qscr:"\u{1D4C6}",quatint:"\u2A16",quest:"?",rAtail:"\u291C",rHar:"\u2964",race:"\u223D\u0331",racute:"\u0155",raemptyv:"\u29B3",rangd:"\u2992",range:"\u29A5",raquo:"\xBB",rarrap:"\u2975",rarrbfs:"\u2920",rarrc:"\u2933",rarrfs:"\u291E",rarrpl:"\u2945",rarrsim:"\u2974",rarrtl:"\u21A3",rightarrowtail:"\u21A3",rarrw:"\u219D",rightsquigarrow:"\u219D",ratail:"\u291A",ratio:"\u2236",rbbrk:"\u2773",rbrace:"}",rcub:"}",rbrack:"]",rsqb:"]",rbrke:"\u298C",rbrksld:"\u298E",rbrkslu:"\u2990",rcaron:"\u0159",rcedil:"\u0157",rcy:"\u0440",rdca:"\u2937",rdldhar:"\u2969",rdsh:"\u21B3",rect:"\u25AD",rfisht:"\u297D",rfr:"\u{1D52F}",rharul:"\u296C",rho:"\u03C1",rhov:"\u03F1",varrho:"\u03F1",rightrightarrows:"\u21C9",rrarr:"\u21C9",rightthreetimes:"\u22CC",rthree:"\u22CC",ring:"\u02DA",rlm:"\u200F",rmoust:"\u23B1",rmoustache:"\u23B1",rnmid:"\u2AEE",roang:"\u27ED",roarr:"\u21FE",ropar:"\u2986",ropf:"\u{1D563}",roplus:"\u2A2E",rotimes:"\u2A35",rpar:")",rpargt:"\u2994",rppolint:"\u2A12",rsaquo:"\u203A",rscr:"\u{1D4C7}",rtimes:"\u22CA",rtri:"\u25B9",triangleright:"\u25B9",rtriltri:"\u29CE",ruluhar:"\u2968",rx:"\u211E",sacute:"\u015B",scE:"\u2AB4",scap:"\u2AB8",succapprox:"\u2AB8",scaron:"\u0161",scedil:"\u015F",scirc:"\u015D",scnE:"\u2AB6",succneqq:"\u2AB6",scnap:"\u2ABA",succnapprox:"\u2ABA",scnsim:"\u22E9",succnsim:"\u22E9",scpolint:"\u2A13",scy:"\u0441",sdot:"\u22C5",sdote:"\u2A66",seArr:"\u21D8",sect:"\xA7",semi:";",seswar:"\u2929",tosa:"\u2929",sext:"\u2736",sfr:"\u{1D530}",sharp:"\u266F",shchcy:"\u0449",shcy:"\u0448",shy:"\xAD",sigma:"\u03C3",sigmaf:"\u03C2",sigmav:"\u03C2",varsigma:"\u03C2",simdot:"\u2A6A",simg:"\u2A9E",simgE:"\u2AA0",siml:"\u2A9D",simlE:"\u2A9F",simne:"\u2246",simplus:"\u2A24",simrarr:"\u2972",smashp:"\u2A33",smeparsl:"\u29E4",smile:"\u2323",ssmile:"\u2323",smt:"\u2AAA",smte:"\u2AAC",smtes:"\u2AAC\uFE00",softcy:"\u044C",sol:"/",solb:"\u29C4",solbar:"\u233F",sopf:"\u{1D564}",spades:"\u2660",spadesuit:"\u2660",sqcaps:"\u2293\uFE00",sqcups:"\u2294\uFE00",sscr:"\u{1D4C8}",star:"\u2606",sub:"\u2282",subset:"\u2282",subE:"\u2AC5",subseteqq:"\u2AC5",subdot:"\u2ABD",subedot:"\u2AC3",submult:"\u2AC1",subnE:"\u2ACB",subsetneqq:"\u2ACB",subne:"\u228A",subsetneq:"\u228A",subplus:"\u2ABF",subrarr:"\u2979",subsim:"\u2AC7",subsub:"\u2AD5",subsup:"\u2AD3",sung:"\u266A",sup1:"\xB9",sup2:"\xB2",sup3:"\xB3",supE:"\u2AC6",supseteqq:"\u2AC6",supdot:"\u2ABE",supdsub:"\u2AD8",supedot:"\u2AC4",suphsol:"\u27C9",suphsub:"\u2AD7",suplarr:"\u297B",supmult:"\u2AC2",supnE:"\u2ACC",supsetneqq:"\u2ACC",supne:"\u228B",supsetneq:"\u228B",supplus:"\u2AC0",supsim:"\u2AC8",supsub:"\u2AD4",supsup:"\u2AD6",swArr:"\u21D9",swnwar:"\u292A",szlig:"\xDF",target:"\u2316",tau:"\u03C4",tcaron:"\u0165",tcedil:"\u0163",tcy:"\u0442",telrec:"\u2315",tfr:"\u{1D531}",theta:"\u03B8",thetasym:"\u03D1",thetav:"\u03D1",vartheta:"\u03D1",thorn:"\xFE",times:"\xD7",timesbar:"\u2A31",timesd:"\u2A30",topbot:"\u2336",topcir:"\u2AF1",topf:"\u{1D565}",topfork:"\u2ADA",tprime:"\u2034",triangle:"\u25B5",utri:"\u25B5",triangleq:"\u225C",trie:"\u225C",tridot:"\u25EC",triminus:"\u2A3A",triplus:"\u2A39",trisb:"\u29CD",tritime:"\u2A3B",trpezium:"\u23E2",tscr:"\u{1D4C9}",tscy:"\u0446",tshcy:"\u045B",tstrok:"\u0167",uHar:"\u2963",uacute:"\xFA",ubrcy:"\u045E",ubreve:"\u016D",ucirc:"\xFB",ucy:"\u0443",udblac:"\u0171",ufisht:"\u297E",ufr:"\u{1D532}",ugrave:"\xF9",uhblk:"\u2580",ulcorn:"\u231C",ulcorner:"\u231C",ulcrop:"\u230F",ultri:"\u25F8",umacr:"\u016B",uogon:"\u0173",uopf:"\u{1D566}",upsi:"\u03C5",upsilon:"\u03C5",upuparrows:"\u21C8",uuarr:"\u21C8",urcorn:"\u231D",urcorner:"\u231D",urcrop:"\u230E",uring:"\u016F",urtri:"\u25F9",uscr:"\u{1D4CA}",utdot:"\u22F0",utilde:"\u0169",uuml:"\xFC",uwangle:"\u29A7",vBar:"\u2AE8",vBarv:"\u2AE9",vangrt:"\u299C",varsubsetneq:"\u228A\uFE00",vsubne:"\u228A\uFE00",varsubsetneqq:"\u2ACB\uFE00",vsubnE:"\u2ACB\uFE00",varsupsetneq:"\u228B\uFE00",vsupne:"\u228B\uFE00",varsupsetneqq:"\u2ACC\uFE00",vsupnE:"\u2ACC\uFE00",vcy:"\u0432",veebar:"\u22BB",veeeq:"\u225A",vellip:"\u22EE",vfr:"\u{1D533}",vopf:"\u{1D567}",vscr:"\u{1D4CB}",vzigzag:"\u299A",wcirc:"\u0175",wedbar:"\u2A5F",wedgeq:"\u2259",weierp:"\u2118",wp:"\u2118",wfr:"\u{1D534}",wopf:"\u{1D568}",wscr:"\u{1D4CC}",xfr:"\u{1D535}",xi:"\u03BE",xnis:"\u22FB",xopf:"\u{1D569}",xscr:"\u{1D4CD}",yacute:"\xFD",yacy:"\u044F",ycirc:"\u0177",ycy:"\u044B",yen:"\xA5",yfr:"\u{1D536}",yicy:"\u0457",yopf:"\u{1D56A}",yscr:"\u{1D4CE}",yucy:"\u044E",yuml:"\xFF",zacute:"\u017A",zcaron:"\u017E",zcy:"\u0437",zdot:"\u017C",zeta:"\u03B6",zfr:"\u{1D537}",zhcy:"\u0436",zigrarr:"\u21DD",zopf:"\u{1D56B}",zscr:"\u{1D4CF}",zwj:"\u200D",zwnj:"\u200C"},Ka="\uE500";Ye.ngsp=Ka;var Qa=[/@/,/^\s*$/,/[<>]/,/^[{}]$/,/&(#|[a-z])/i,/^\/\//];function Ls(t,e){if(e!=null&&!(Array.isArray(e)&&e.length==2))throw new Error(`Expected '${t}' to be an array, [start, end].`);if(e!=null){let r=e[0],n=e[1];Qa.forEach(s=>{if(s.test(r)||s.test(n))throw new Error(`['${r}', '${n}'] contains unusable interpolation symbol.`)})}}var Fr=class t{static fromArray(e){return e?(Ls("interpolation",e),new t(e[0],e[1])):Nr}constructor(e,r){this.start=e,this.end=r}},Nr=new Fr("{{","}}");var ft=class extends Ue{constructor(e,r,n){super(n,e),this.tokenType=r}},Or=class{constructor(e,r,n){this.tokens=e,this.errors=r,this.nonNormalizedIcuExpressions=n}};function Ws(t,e,r,n={}){let s=new Mr(new Te(t,e),r,n);return s.tokenize(),new Or(vo(s.tokens),s.errors,s.nonNormalizedIcuExpressions)}var go=/\r\n?/g;function je(t){return`Unexpected character "${t===0?"EOF":String.fromCharCode(t)}"`}function Rs(t){return`Unknown entity "${t}" - use the "&#;" or "&#x;" syntax`}function Co(t,e){return`Unable to parse entity "${e}" - ${t} character reference entities must end with ";"`}var tr;(function(t){t.HEX="hexadecimal",t.DEC="decimal"})(tr||(tr={}));var dt=class{constructor(e){this.error=e}},Mr=class{constructor(e,r,n){this._getTagContentType=r,this._currentTokenStart=null,this._currentTokenType=null,this._expansionCaseStack=[],this._inInterpolation=!1,this._fullNameStack=[],this.tokens=[],this.errors=[],this.nonNormalizedIcuExpressions=[],this._tokenizeIcu=n.tokenizeExpansionForms||!1,this._interpolationConfig=n.interpolationConfig||Nr,this._leadingTriviaCodePoints=n.leadingTriviaChars&&n.leadingTriviaChars.map(i=>i.codePointAt(0)||0),this._canSelfClose=n.canSelfClose||!1,this._allowHtmComponentClosingTags=n.allowHtmComponentClosingTags||!1;let s=n.range||{endPos:e.content.length,startPos:0,startLine:0,startCol:0};this._cursor=n.escapedString?new qr(e,s):new rr(e,s),this._preserveLineEndings=n.preserveLineEndings||!1,this._i18nNormalizeLineEndingsInICUs=n.i18nNormalizeLineEndingsInICUs||!1,this._tokenizeBlocks=n.tokenizeBlocks??!0,this._tokenizeLet=n.tokenizeLet??!0;try{this._cursor.init()}catch(i){this.handleError(i)}}_processCarriageReturns(e){return this._preserveLineEndings?e:e.replace(go,` +`)}tokenize(){for(;this._cursor.peek()!==0;){let e=this._cursor.clone();try{if(this._attemptCharCode(60))if(this._attemptCharCode(33))this._attemptStr("[CDATA[")?this._consumeCdata(e):this._attemptStr("--")?this._consumeComment(e):this._attemptStrCaseInsensitive("doctype")?this._consumeDocType(e):this._consumeBogusComment(e);else if(this._attemptCharCode(47))this._consumeTagClose(e);else{let r=this._cursor.clone();this._attemptCharCode(63)?(this._cursor=r,this._consumeBogusComment(e)):this._consumeTagOpen(e)}else this._tokenizeLet&&this._cursor.peek()===64&&!this._inInterpolation&&this._attemptStr("@let")?this._consumeLetDeclaration(e):this._tokenizeBlocks&&this._attemptCharCode(64)?this._consumeBlockStart(e):this._tokenizeBlocks&&!this._inInterpolation&&!this._isInExpansionCase()&&!this._isInExpansionForm()&&this._attemptCharCode(125)?this._consumeBlockEnd(e):this._tokenizeIcu&&this._tokenizeExpansionForm()||this._consumeWithInterpolation(5,8,()=>this._isTextEnd(),()=>this._isTagStart())}catch(r){this.handleError(r)}}this._beginToken(34),this._endToken([])}_getBlockName(){let e=!1,r=this._cursor.clone();return this._attemptCharCodeUntilFn(n=>at(n)?!e:Ms(n)?(e=!0,!1):!0),this._cursor.getChars(r).trim()}_consumeBlockStart(e){this._beginToken(25,e);let r=this._endToken([this._getBlockName()]);if(this._cursor.peek()===40)if(this._cursor.advance(),this._consumeBlockParameters(),this._attemptCharCodeUntilFn(b),this._attemptCharCode(41))this._attemptCharCodeUntilFn(b);else{r.type=29;return}this._attemptCharCode(123)?(this._beginToken(26),this._endToken([])):r.type=29}_consumeBlockEnd(e){this._beginToken(27,e),this._endToken([])}_consumeBlockParameters(){for(this._attemptCharCodeUntilFn(qs);this._cursor.peek()!==41&&this._cursor.peek()!==0;){this._beginToken(28);let e=this._cursor.clone(),r=null,n=0;for(;this._cursor.peek()!==59&&this._cursor.peek()!==0||r!==null;){let s=this._cursor.peek();if(s===92)this._cursor.advance();else if(s===r)r=null;else if(r===null&&$t(s))r=s;else if(s===40&&r===null)n++;else if(s===41&&r===null){if(n===0)break;n>0&&n--}this._cursor.advance()}this._endToken([this._cursor.getChars(e)]),this._attemptCharCodeUntilFn(qs)}}_consumeLetDeclaration(e){if(this._beginToken(30,e),at(this._cursor.peek()))this._attemptCharCodeUntilFn(b);else{let s=this._endToken([this._cursor.getChars(e)]);s.type=33;return}let r=this._endToken([this._getLetDeclarationName()]);if(this._attemptCharCodeUntilFn(b),!this._attemptCharCode(61)){r.type=33;return}this._attemptCharCodeUntilFn(s=>b(s)&&!Rt(s)),this._consumeLetDeclarationValue(),this._cursor.peek()===59?(this._beginToken(32),this._endToken([]),this._cursor.advance()):(r.type=33,r.sourceSpan=this._cursor.getSpan(e))}_getLetDeclarationName(){let e=this._cursor.clone(),r=!1;return this._attemptCharCodeUntilFn(n=>ot(n)||n==36||n===95||r&&It(n)?(r=!0,!1):!0),this._cursor.getChars(e).trim()}_consumeLetDeclarationValue(){let e=this._cursor.clone();for(this._beginToken(31,e);this._cursor.peek()!==0;){let r=this._cursor.peek();if(r===59)break;$t(r)&&(this._cursor.advance(),this._attemptCharCodeUntilFn(n=>n===92?(this._cursor.advance(),!1):n===r)),this._cursor.advance()}this._endToken([this._cursor.getChars(e)])}_tokenizeExpansionForm(){if(this.isExpansionFormStart())return this._consumeExpansionFormStart(),!0;if(Ao(this._cursor.peek())&&this._isInExpansionForm())return this._consumeExpansionCaseStart(),!0;if(this._cursor.peek()===125){if(this._isInExpansionCase())return this._consumeExpansionCaseEnd(),!0;if(this._isInExpansionForm())return this._consumeExpansionFormEnd(),!0}return!1}_beginToken(e,r=this._cursor.clone()){this._currentTokenStart=r,this._currentTokenType=e}_endToken(e,r){if(this._currentTokenStart===null)throw new ft("Programming error - attempted to end a token when there was no start to the token",this._currentTokenType,this._cursor.getSpan(r));if(this._currentTokenType===null)throw new ft("Programming error - attempted to end a token which has no token type",null,this._cursor.getSpan(this._currentTokenStart));let n={type:this._currentTokenType,parts:e,sourceSpan:(r??this._cursor).getSpan(this._currentTokenStart,this._leadingTriviaCodePoints)};return this.tokens.push(n),this._currentTokenStart=null,this._currentTokenType=null,n}_createError(e,r){this._isInExpansionForm()&&(e+=` (Do you have an unescaped "{" in your template? Use "{{ '{' }}") to escape it.)`);let n=new ft(e,this._currentTokenType,r);return this._currentTokenStart=null,this._currentTokenType=null,new dt(n)}handleError(e){if(e instanceof gt&&(e=this._createError(e.msg,this._cursor.getSpan(e.cursor))),e instanceof dt)this.errors.push(e.error);else throw e}_attemptCharCode(e){return this._cursor.peek()===e?(this._cursor.advance(),!0):!1}_attemptCharCodeCaseInsensitive(e){return Do(this._cursor.peek(),e)?(this._cursor.advance(),!0):!1}_requireCharCode(e){let r=this._cursor.clone();if(!this._attemptCharCode(e))throw this._createError(je(this._cursor.peek()),this._cursor.getSpan(r))}_attemptStr(e){let r=e.length;if(this._cursor.charsLeft()this._attemptStr("-->")),this._beginToken(11),this._requireStr("-->"),this._endToken([])}_consumeBogusComment(e){this._beginToken(10,e),this._endToken([]),this._consumeRawText(!1,()=>this._cursor.peek()===62),this._beginToken(11),this._cursor.advance(),this._endToken([])}_consumeCdata(e){this._beginToken(12,e),this._endToken([]),this._consumeRawText(!1,()=>this._attemptStr("]]>")),this._beginToken(13),this._requireStr("]]>"),this._endToken([])}_consumeDocType(e){this._beginToken(18,e),this._endToken([]),this._consumeRawText(!1,()=>this._cursor.peek()===62),this._beginToken(19),this._cursor.advance(),this._endToken([])}_consumePrefixAndName(){let e=this._cursor.clone(),r="";for(;this._cursor.peek()!==58&&!So(this._cursor.peek());)this._cursor.advance();let n;this._cursor.peek()===58?(r=this._cursor.getChars(e),this._cursor.advance(),n=this._cursor.clone()):n=e,this._requireCharCodeUntilFn($s,r===""?0:1);let s=this._cursor.getChars(n);return[r,s]}_consumeTagOpen(e){let r,n,s,i=[];try{if(!ot(this._cursor.peek()))throw this._createError(je(this._cursor.peek()),this._cursor.getSpan(e));for(s=this._consumeTagOpenStart(e),n=s.parts[0],r=s.parts[1],this._attemptCharCodeUntilFn(b);this._cursor.peek()!==47&&this._cursor.peek()!==62&&this._cursor.peek()!==60&&this._cursor.peek()!==0;){let[o,u]=this._consumeAttributeName();if(this._attemptCharCodeUntilFn(b),this._attemptCharCode(61)){this._attemptCharCodeUntilFn(b);let p=this._consumeAttributeValue();i.push({prefix:o,name:u,value:p})}else i.push({prefix:o,name:u});this._attemptCharCodeUntilFn(b)}this._consumeTagOpenEnd()}catch(o){if(o instanceof dt){s?s.type=4:(this._beginToken(5,e),this._endToken(["<"]));return}throw o}if(this._canSelfClose&&this.tokens[this.tokens.length-1].type===2)return;let a=this._getTagContentType(r,n,this._fullNameStack.length>0,i);this._handleFullNameStackForTagOpen(n,r),a===I.RAW_TEXT?this._consumeRawTextWithTagClose(n,r,!1):a===I.ESCAPABLE_RAW_TEXT&&this._consumeRawTextWithTagClose(n,r,!0)}_consumeRawTextWithTagClose(e,r,n){this._consumeRawText(n,()=>!this._attemptCharCode(60)||!this._attemptCharCode(47)||(this._attemptCharCodeUntilFn(b),!this._attemptStrCaseInsensitive(e?`${e}:${r}`:r))?!1:(this._attemptCharCodeUntilFn(b),this._attemptCharCode(62))),this._beginToken(3),this._requireCharCodeUntilFn(s=>s===62,3),this._cursor.advance(),this._endToken([e,r]),this._handleFullNameStackForTagClose(e,r)}_consumeTagOpenStart(e){this._beginToken(0,e);let r=this._consumePrefixAndName();return this._endToken(r)}_consumeAttributeName(){let e=this._cursor.peek();if(e===39||e===34)throw this._createError(je(e),this._cursor.getSpan());this._beginToken(14);let r=this._consumePrefixAndName();return this._endToken(r),r}_consumeAttributeValue(){let e;if(this._cursor.peek()===39||this._cursor.peek()===34){let r=this._cursor.peek();this._consumeQuote(r);let n=()=>this._cursor.peek()===r;e=this._consumeWithInterpolation(16,17,n,n),this._consumeQuote(r)}else{let r=()=>$s(this._cursor.peek());e=this._consumeWithInterpolation(16,17,r,r)}return e}_consumeQuote(e){this._beginToken(15),this._requireCharCode(e),this._endToken([String.fromCodePoint(e)])}_consumeTagOpenEnd(){let e=this._attemptCharCode(47)?2:1;this._beginToken(e),this._requireCharCode(62),this._endToken([])}_consumeTagClose(e){if(this._beginToken(3,e),this._attemptCharCodeUntilFn(b),this._allowHtmComponentClosingTags&&this._attemptCharCode(47))this._attemptCharCodeUntilFn(b),this._requireCharCode(62),this._endToken([]);else{let[r,n]=this._consumePrefixAndName();this._attemptCharCodeUntilFn(b),this._requireCharCode(62),this._endToken([r,n]),this._handleFullNameStackForTagClose(r,n)}}_consumeExpansionFormStart(){this._beginToken(20),this._requireCharCode(123),this._endToken([]),this._expansionCaseStack.push(20),this._beginToken(7);let e=this._readUntil(44),r=this._processCarriageReturns(e);if(this._i18nNormalizeLineEndingsInICUs)this._endToken([r]);else{let s=this._endToken([e]);r!==e&&this.nonNormalizedIcuExpressions.push(s)}this._requireCharCode(44),this._attemptCharCodeUntilFn(b),this._beginToken(7);let n=this._readUntil(44);this._endToken([n]),this._requireCharCode(44),this._attemptCharCodeUntilFn(b)}_consumeExpansionCaseStart(){this._beginToken(21);let e=this._readUntil(123).trim();this._endToken([e]),this._attemptCharCodeUntilFn(b),this._beginToken(22),this._requireCharCode(123),this._endToken([]),this._attemptCharCodeUntilFn(b),this._expansionCaseStack.push(22)}_consumeExpansionCaseEnd(){this._beginToken(23),this._requireCharCode(125),this._endToken([]),this._attemptCharCodeUntilFn(b),this._expansionCaseStack.pop()}_consumeExpansionFormEnd(){this._beginToken(24),this._requireCharCode(125),this._endToken([]),this._expansionCaseStack.pop()}_consumeWithInterpolation(e,r,n,s){this._beginToken(e);let i=[];for(;!n();){let o=this._cursor.clone();this._interpolationConfig&&this._attemptStr(this._interpolationConfig.start)?(this._endToken([this._processCarriageReturns(i.join(""))],o),i.length=0,this._consumeInterpolation(r,o,s),this._beginToken(e)):this._cursor.peek()===38?(this._endToken([this._processCarriageReturns(i.join(""))]),i.length=0,this._consumeEntity(e),this._beginToken(e)):i.push(this._readChar())}this._inInterpolation=!1;let a=this._processCarriageReturns(i.join(""));return this._endToken([a]),a}_consumeInterpolation(e,r,n){let s=[];this._beginToken(e,r),s.push(this._interpolationConfig.start);let i=this._cursor.clone(),a=null,o=!1;for(;this._cursor.peek()!==0&&(n===null||!n());){let u=this._cursor.clone();if(this._isTagStart()){this._cursor=u,s.push(this._getProcessedChars(i,u)),this._endToken(s);return}if(a===null)if(this._attemptStr(this._interpolationConfig.end)){s.push(this._getProcessedChars(i,u)),s.push(this._interpolationConfig.end),this._endToken(s);return}else this._attemptStr("//")&&(o=!0);let p=this._cursor.peek();this._cursor.advance(),p===92?this._cursor.advance():p===a?a=null:!o&&a===null&&$t(p)&&(a=p)}s.push(this._getProcessedChars(i,this._cursor)),this._endToken(s)}_getProcessedChars(e,r){return this._processCarriageReturns(r.getChars(e))}_isTextEnd(){return!!(this._isTagStart()||this._cursor.peek()===0||this._tokenizeIcu&&!this._inInterpolation&&(this.isExpansionFormStart()||this._cursor.peek()===125&&this._isInExpansionCase())||this._tokenizeBlocks&&!this._inInterpolation&&!this._isInExpansion()&&(this._isBlockStart()||this._cursor.peek()===64||this._cursor.peek()===125))}_isTagStart(){if(this._cursor.peek()===60){let e=this._cursor.clone();e.advance();let r=e.peek();if(97<=r&&r<=122||65<=r&&r<=90||r===47||r===33)return!0}return!1}_isBlockStart(){if(this._tokenizeBlocks&&this._cursor.peek()===64){let e=this._cursor.clone();if(e.advance(),Ms(e.peek()))return!0}return!1}_readUntil(e){let r=this._cursor.clone();return this._attemptUntilChar(e),this._cursor.getChars(r)}_isInExpansion(){return this._isInExpansionCase()||this._isInExpansionForm()}_isInExpansionCase(){return this._expansionCaseStack.length>0&&this._expansionCaseStack[this._expansionCaseStack.length-1]===22}_isInExpansionForm(){return this._expansionCaseStack.length>0&&this._expansionCaseStack[this._expansionCaseStack.length-1]===20}isExpansionFormStart(){if(this._cursor.peek()!==123)return!1;if(this._interpolationConfig){let e=this._cursor.clone(),r=this._attemptStr(this._interpolationConfig.start);return this._cursor=e,!r}return!0}_handleFullNameStackForTagOpen(e,r){let n=ze(e,r);(this._fullNameStack.length===0||this._fullNameStack[this._fullNameStack.length-1]===n)&&this._fullNameStack.push(n)}_handleFullNameStackForTagClose(e,r){let n=ze(e,r);this._fullNameStack.length!==0&&this._fullNameStack[this._fullNameStack.length-1]===n&&this._fullNameStack.pop()}};function b(t){return!at(t)||t===0}function $s(t){return at(t)||t===62||t===60||t===47||t===39||t===34||t===61||t===0}function So(t){return(t<97||12257)}function _o(t){return t===59||t===0||!Cs(t)}function Eo(t){return t===59||t===0||!ot(t)}function Ao(t){return t!==125}function Do(t,e){return Os(t)===Os(e)}function Os(t){return t>=97&&t<=122?t-97+65:t}function Ms(t){return ot(t)||It(t)||t===95}function qs(t){return t!==59&&b(t)}function vo(t){let e=[],r;for(let n=0;n0&&r.indexOf(e.peek())!==-1;)n===e&&(e=e.clone()),e.advance();let s=this.locationFromCursor(e),i=this.locationFromCursor(this),a=n!==e?this.locationFromCursor(n):s;return new h(s,i,a)}getChars(e){return this.input.substring(e.state.offset,this.state.offset)}charAt(e){return this.input.charCodeAt(e)}advanceState(e){if(e.offset>=this.end)throw this.state=e,new gt('Unexpected character "EOF"',this);let r=this.charAt(e.offset);r===10?(e.line++,e.column=0):Rt(r)||e.column++,e.offset++,this.updatePeek(e)}updatePeek(e){e.peek=e.offset>=this.end?0:this.charAt(e.offset)}locationFromCursor(e){return new ae(e.file,e.state.offset,e.state.line,e.state.column)}},qr=class t extends rr{constructor(e,r){e instanceof t?(super(e),this.internalState={...e.internalState}):(super(e,r),this.internalState=this.state)}advance(){this.state=this.internalState,super.advance(),this.processEscapeSequence()}init(){super.init(),this.processEscapeSequence()}clone(){return new t(this)}getChars(e){let r=e.clone(),n="";for(;r.internalState.offsetthis.internalState.peek;if(e()===92)if(this.internalState={...this.state},this.advanceState(this.internalState),e()===110)this.state.peek=10;else if(e()===114)this.state.peek=13;else if(e()===118)this.state.peek=11;else if(e()===116)this.state.peek=9;else if(e()===98)this.state.peek=8;else if(e()===102)this.state.peek=12;else if(e()===117)if(this.advanceState(this.internalState),e()===123){this.advanceState(this.internalState);let r=this.clone(),n=0;for(;e()!==125;)this.advanceState(this.internalState),n++;this.state.peek=this.decodeHexDigits(r,n)}else{let r=this.clone();this.advanceState(this.internalState),this.advanceState(this.internalState),this.advanceState(this.internalState),this.state.peek=this.decodeHexDigits(r,4)}else if(e()===120){this.advanceState(this.internalState);let r=this.clone();this.advanceState(this.internalState),this.state.peek=this.decodeHexDigits(r,2)}else if(wr(e())){let r="",n=0,s=this.clone();for(;wr(e())&&n<3;)s=this.clone(),r+=String.fromCodePoint(e()),this.advanceState(this.internalState),n++;this.state.peek=parseInt(r,8),this.internalState=s.internalState}else Rt(this.internalState.peek)?(this.advanceState(this.internalState),this.state=this.internalState):this.state.peek=this.internalState.peek}decodeHexDigits(e,r){let n=this.input.slice(e.internalState.offset,e.internalState.offset+r),s=parseInt(n,16);if(isNaN(s))throw e.state=e.internalState,new gt("Invalid hexadecimal escape sequence",e);return s}},gt=class{constructor(e,r){this.msg=e,this.cursor=r}};var L=class t extends Ue{static create(e,r,n){return new t(e,r,n)}constructor(e,r,n){super(r,n),this.elementName=e}},Ur=class{constructor(e,r){this.rootNodes=e,this.errors=r}},nr=class{constructor(e){this.getTagDefinition=e}parse(e,r,n,s=!1,i){let a=D=>(R,...F)=>D(R.toLowerCase(),...F),o=s?this.getTagDefinition:a(this.getTagDefinition),u=D=>o(D).getContentType(),p=s?i:a(i),f=Ws(e,r,i?(D,R,F,c)=>{let g=p(D,R,F,c);return g!==void 0?g:u(D)}:u,n),d=n&&n.canSelfClose||!1,C=n&&n.allowHtmComponentClosingTags||!1,A=new Wr(f.tokens,o,d,C,s);return A.build(),new Ur(A.rootNodes,f.errors.concat(A.errors))}},Wr=class t{constructor(e,r,n,s,i){this.tokens=e,this.getTagDefinition=r,this.canSelfClose=n,this.allowHtmComponentClosingTags=s,this.isTagNameCaseSensitive=i,this._index=-1,this._containerStack=[],this.rootNodes=[],this.errors=[],this._advance()}build(){for(;this._peek.type!==34;)this._peek.type===0||this._peek.type===4?this._consumeStartTag(this._advance()):this._peek.type===3?(this._closeVoidElement(),this._consumeEndTag(this._advance())):this._peek.type===12?(this._closeVoidElement(),this._consumeCdata(this._advance())):this._peek.type===10?(this._closeVoidElement(),this._consumeComment(this._advance())):this._peek.type===5||this._peek.type===7||this._peek.type===6?(this._closeVoidElement(),this._consumeText(this._advance())):this._peek.type===20?this._consumeExpansion(this._advance()):this._peek.type===25?(this._closeVoidElement(),this._consumeBlockOpen(this._advance())):this._peek.type===27?(this._closeVoidElement(),this._consumeBlockClose(this._advance())):this._peek.type===29?(this._closeVoidElement(),this._consumeIncompleteBlock(this._advance())):this._peek.type===30?(this._closeVoidElement(),this._consumeLet(this._advance())):this._peek.type===18?this._consumeDocType(this._advance()):this._peek.type===33?(this._closeVoidElement(),this._consumeIncompleteLet(this._advance())):this._advance();for(let e of this._containerStack)e instanceof Z&&this.errors.push(L.create(e.name,e.sourceSpan,`Unclosed block "${e.name}"`))}_advance(){let e=this._peek;return this._index0)return this.errors=this.errors.concat(i.errors),null;let a=new h(e.sourceSpan.start,s.sourceSpan.end,e.sourceSpan.fullStart),o=new h(r.sourceSpan.start,s.sourceSpan.end,r.sourceSpan.fullStart);return new Gt(e.parts[0],i.rootNodes,a,e.sourceSpan,o)}_collectExpansionExpTokens(e){let r=[],n=[22];for(;;){if((this._peek.type===20||this._peek.type===22)&&n.push(this._peek.type),this._peek.type===23)if(zs(n,22)){if(n.pop(),n.length===0)return r}else return this.errors.push(L.create(null,e.sourceSpan,"Invalid ICU message. Missing '}'.")),null;if(this._peek.type===24)if(zs(n,20))n.pop();else return this.errors.push(L.create(null,e.sourceSpan,"Invalid ICU message. Missing '}'.")),null;if(this._peek.type===34)return this.errors.push(L.create(null,e.sourceSpan,"Invalid ICU message. Missing '}'.")),null;r.push(this._advance())}}_getText(e){let r=e.parts[0];if(r.length>0&&r[0]==` +`){let n=this._getClosestParentElement();n!=null&&n.children.length==0&&this.getTagDefinition(n.name).ignoreFirstLf&&(r=r.substring(1))}return r}_consumeText(e){let r=[e],n=e.sourceSpan,s=e.parts[0];if(s.length>0&&s[0]===` +`){let i=this._getContainer();i!=null&&i.children.length===0&&this.getTagDefinition(i.name).ignoreFirstLf&&(s=s.substring(1),r[0]={type:e.type,sourceSpan:e.sourceSpan,parts:[s]})}for(;this._peek.type===8||this._peek.type===5||this._peek.type===9;)e=this._advance(),r.push(e),e.type===8?s+=e.parts.join("").replace(/&([^;]+);/g,Gs):e.type===9?s+=e.parts[0]:s+=e.parts.join("");if(s.length>0){let i=e.sourceSpan;this._addToParent(new Ut(s,new h(n.start,i.end,n.fullStart,n.details),r))}}_closeVoidElement(){let e=this._getContainer();e instanceof G&&this.getTagDefinition(e.name).isVoid&&this._containerStack.pop()}_consumeStartTag(e){let[r,n]=e.parts,s=[];for(;this._peek.type===14;)s.push(this._consumeAttr(this._advance()));let i=this._getElementFullName(r,n,this._getClosestParentElement()),a=!1;if(this._peek.type===2){this._advance(),a=!0;let C=this.getTagDefinition(i);this.canSelfClose||C.canSelfClose||We(i)!==null||C.isVoid||this.errors.push(L.create(i,e.sourceSpan,`Only void, custom and foreign elements can be self closed "${e.parts[1]}"`))}else this._peek.type===1&&(this._advance(),a=!1);let o=this._peek.sourceSpan.fullStart,u=new h(e.sourceSpan.start,o,e.sourceSpan.fullStart),p=new h(e.sourceSpan.start,o,e.sourceSpan.fullStart),l=new h(e.sourceSpan.start.moveBy(1),e.sourceSpan.end),f=new G(i,s,[],u,p,void 0,l),d=this._getContainer();this._pushContainer(f,d instanceof G&&this.getTagDefinition(d.name).isClosedByChild(f.name)),a?this._popContainer(i,G,u):e.type===4&&(this._popContainer(i,G,null),this.errors.push(L.create(i,u,`Opening tag "${i}" not terminated.`)))}_pushContainer(e,r){r&&this._containerStack.pop(),this._addToParent(e),this._containerStack.push(e)}_consumeEndTag(e){let r=this.allowHtmComponentClosingTags&&e.parts.length===0?null:this._getElementFullName(e.parts[0],e.parts[1],this._getClosestParentElement());if(r&&this.getTagDefinition(r).isVoid)this.errors.push(L.create(r,e.sourceSpan,`Void elements do not have end tags "${e.parts[1]}"`));else if(!this._popContainer(r,G,e.sourceSpan)){let n=`Unexpected closing tag "${r}". It may happen when the tag has already been closed by another tag. For more info see https://www.w3.org/TR/html5/syntax.html#closing-elements-that-have-implied-end-tags`;this.errors.push(L.create(r,e.sourceSpan,n))}}_popContainer(e,r,n){let s=!1;for(let i=this._containerStack.length-1;i>=0;i--){let a=this._containerStack[i];if(We(a.name)?a.name===e:(e==null||a.name.toLowerCase()===e.toLowerCase())&&a instanceof r)return a.endSourceSpan=n,a.sourceSpan.end=n!==null?n.end:a.sourceSpan.end,this._containerStack.splice(i,this._containerStack.length-i),!s;(a instanceof Z||a instanceof G&&!this.getTagDefinition(a.name).closedByParent)&&(s=!0)}return!1}_consumeAttr(e){let r=ze(e.parts[0],e.parts[1]),n=e.sourceSpan.end,s;this._peek.type===15&&(s=this._advance());let i="",a=[],o,u;if(this._peek.type===16)for(o=this._peek.sourceSpan,u=this._peek.sourceSpan.end;this._peek.type===16||this._peek.type===17||this._peek.type===9;){let f=this._advance();a.push(f),f.type===17?i+=f.parts.join("").replace(/&([^;]+);/g,Gs):f.type===9?i+=f.parts[0]:i+=f.parts.join(""),u=n=f.sourceSpan.end}this._peek.type===15&&(u=n=this._advance().sourceSpan.end);let l=o&&u&&new h((s==null?void 0:s.sourceSpan.start)??o.start,u,(s==null?void 0:s.sourceSpan.fullStart)??o.fullStart);return new Yt(r,i,new h(e.sourceSpan.start,n,e.sourceSpan.fullStart),e.sourceSpan,l,a.length>0?a:void 0,void 0)}_consumeBlockOpen(e){let r=[];for(;this._peek.type===28;){let o=this._advance();r.push(new ct(o.parts[0],o.sourceSpan))}this._peek.type===26&&this._advance();let n=this._peek.sourceSpan.fullStart,s=new h(e.sourceSpan.start,n,e.sourceSpan.fullStart),i=new h(e.sourceSpan.start,n,e.sourceSpan.fullStart),a=new Z(e.parts[0],r,[],s,e.sourceSpan,i);this._pushContainer(a,!1)}_consumeBlockClose(e){this._popContainer(null,Z,e.sourceSpan)||this.errors.push(L.create(null,e.sourceSpan,'Unexpected closing block. The block may have been closed earlier. If you meant to write the } character, you should use the "}" HTML entity instead.'))}_consumeIncompleteBlock(e){let r=[];for(;this._peek.type===28;){let o=this._advance();r.push(new ct(o.parts[0],o.sourceSpan))}let n=this._peek.sourceSpan.fullStart,s=new h(e.sourceSpan.start,n,e.sourceSpan.fullStart),i=new h(e.sourceSpan.start,n,e.sourceSpan.fullStart),a=new Z(e.parts[0],r,[],s,e.sourceSpan,i);this._pushContainer(a,!1),this._popContainer(null,Z,null),this.errors.push(L.create(e.parts[0],s,`Incomplete block "${e.parts[0]}". If you meant to write the @ character, you should use the "@" HTML entity instead.`))}_consumeLet(e){let r=e.parts[0],n,s;if(this._peek.type!==31){this.errors.push(L.create(e.parts[0],e.sourceSpan,`Invalid @let declaration "${r}". Declaration must have a value.`));return}else n=this._advance();if(this._peek.type!==32){this.errors.push(L.create(e.parts[0],e.sourceSpan,`Unterminated @let declaration "${r}". Declaration must be terminated with a semicolon.`));return}else s=this._advance();let i=s.sourceSpan.fullStart,a=new h(e.sourceSpan.start,i,e.sourceSpan.fullStart),o=e.sourceSpan.toString().lastIndexOf(r),u=e.sourceSpan.start.moveBy(o),p=new h(u,e.sourceSpan.end),l=new pt(r,n.parts[0],a,p,n.sourceSpan);this._addToParent(l)}_consumeIncompleteLet(e){let r=e.parts[0]??"",n=r?` "${r}"`:"";if(r.length>0){let s=e.sourceSpan.toString().lastIndexOf(r),i=e.sourceSpan.start.moveBy(s),a=new h(i,e.sourceSpan.end),o=new h(e.sourceSpan.start,e.sourceSpan.start.moveBy(0)),u=new pt(r,"",e.sourceSpan,a,o);this._addToParent(u)}this.errors.push(L.create(e.parts[0],e.sourceSpan,`Incomplete @let declaration${n}. @let declarations must be written as \`@let = ;\``))}_getContainer(){return this._containerStack.length>0?this._containerStack[this._containerStack.length-1]:null}_getClosestParentElement(){for(let e=this._containerStack.length-1;e>-1;e--)if(this._containerStack[e]instanceof G)return this._containerStack[e];return null}_addToParent(e){let r=this._getContainer();r===null?this.rootNodes.push(e):r.children.push(e)}_getElementFullName(e,r,n){if(e===""&&(e=this.getTagDefinition(r).implicitNamespacePrefix||"",e===""&&n!=null)){let s=ut(n.name)[1];this.getTagDefinition(s).preventNamespaceInheritance||(e=We(n.name))}return ze(e,r)}};function zs(t,e){return t.length>0&&t[t.length-1]===e}function Gs(t,e){return Ye[e]!==void 0?Ye[e]||t:/^#x[a-f0-9]+$/i.test(e)?String.fromCodePoint(parseInt(e.slice(2),16)):/^#\d+$/.test(e)?String.fromCodePoint(parseInt(e.slice(1),10)):t}var sr=class extends nr{constructor(){super(Ge)}parse(e,r,n,s=!1,i){return super.parse(e,r,n,s,i)}};var zr=null,yo=()=>(zr||(zr=new sr),zr);function Gr(t,e={}){let{canSelfClose:r=!1,allowHtmComponentClosingTags:n=!1,isTagNameCaseSensitive:s=!1,getTagContentType:i,tokenizeAngularBlocks:a=!1,tokenizeAngularLetDeclaration:o=!1}=e;return yo().parse(t,"angular-html-parser",{tokenizeExpansionForms:a,interpolationConfig:void 0,canSelfClose:r,allowHtmComponentClosingTags:n,tokenizeBlocks:a,tokenizeLet:o},s,i)}function wo(t,e){let r=new SyntaxError(t+" ("+e.loc.start.line+":"+e.loc.start.column+")");return Object.assign(r,e)}var Ys=wo;var Ct=3;function bo(t){let e=t.slice(0,Ct);if(e!=="---"&&e!=="+++")return;let r=t.indexOf(` +`,Ct);if(r===-1)return;let n=t.slice(Ct,r).trim(),s=t.indexOf(` +${e}`,r),i=n;if(i||(i=e==="+++"?"toml":"yaml"),s===-1&&e==="---"&&i==="yaml"&&(s=t.indexOf(` +...`,r)),s===-1)return;let a=s+1+Ct,o=t.charAt(a+1);if(!/\s?/u.test(o))return;let u=t.slice(0,a);return{type:"front-matter",language:i,explicitLanguage:n,value:t.slice(r+1,s),startDelimiter:e,endDelimiter:u.slice(-Ct),raw:u}}function To(t){let e=bo(t);if(!e)return{content:t};let{raw:r}=e;return{frontMatter:e,content:w(!1,r,/[^\n]/gu," ")+t.slice(r.length)}}var js=To;var ir={attrs:!0,children:!0,cases:!0,expression:!0},Ks=new Set(["parent"]),ar=class t{constructor(e={}){for(let r of new Set([...Ks,...Object.keys(e)]))this.setProperty(r,e[r])}setProperty(e,r){if(this[e]!==r){if(e in ir&&(r=r.map(n=>this.createChild(n))),!Ks.has(e)){this[e]=r;return}Object.defineProperty(this,e,{value:r,enumerable:!1,configurable:!0})}}map(e){let r;for(let n in ir){let s=this[n];if(s){let i=xo(s,a=>a.map(e));r!==s&&(r||(r=new t({parent:this.parent})),r.setProperty(n,i))}}if(r)for(let n in this)n in ir||(r[n]=this[n]);return e(r||this)}walk(e){for(let r in ir){let n=this[r];if(n)for(let s=0;s[e.fullName,e.value]))}};function xo(t,e){let r=t.map(e);return r.some((n,s)=>n!==t[s])?r:t}var ko=[{regex:/^(\[if([^\]]*)\]>)(.*?){try{return[!0,e(i,o).children]}catch{return[!1,[{type:"text",value:i,sourceSpan:new h(o,u)}]]}})();return{type:"ieConditionalComment",complete:p,children:l,condition:w(!1,s.trim(),/\s+/gu," "),sourceSpan:t.sourceSpan,startSourceSpan:new h(t.sourceSpan.start,o),endSourceSpan:new h(u,t.sourceSpan.end)}}function Lo(t,e,r){let[,n]=r;return{type:"ieConditionalStartComment",condition:w(!1,n.trim(),/\s+/gu," "),sourceSpan:t.sourceSpan}}function Fo(t){return{type:"ieConditionalEndComment",sourceSpan:t.sourceSpan}}var or=new Map([["*",new Set(["accesskey","autocapitalize","autofocus","class","contenteditable","dir","draggable","enterkeyhint","hidden","id","inert","inputmode","is","itemid","itemprop","itemref","itemscope","itemtype","lang","nonce","popover","slot","spellcheck","style","tabindex","title","translate","writingsuggestions"])],["a",new Set(["charset","coords","download","href","hreflang","name","ping","referrerpolicy","rel","rev","shape","target","type"])],["applet",new Set(["align","alt","archive","code","codebase","height","hspace","name","object","vspace","width"])],["area",new Set(["alt","coords","download","href","hreflang","nohref","ping","referrerpolicy","rel","shape","target","type"])],["audio",new Set(["autoplay","controls","crossorigin","loop","muted","preload","src"])],["base",new Set(["href","target"])],["basefont",new Set(["color","face","size"])],["blockquote",new Set(["cite"])],["body",new Set(["alink","background","bgcolor","link","text","vlink"])],["br",new Set(["clear"])],["button",new Set(["disabled","form","formaction","formenctype","formmethod","formnovalidate","formtarget","name","popovertarget","popovertargetaction","type","value"])],["canvas",new Set(["height","width"])],["caption",new Set(["align"])],["col",new Set(["align","char","charoff","span","valign","width"])],["colgroup",new Set(["align","char","charoff","span","valign","width"])],["data",new Set(["value"])],["del",new Set(["cite","datetime"])],["details",new Set(["name","open"])],["dialog",new Set(["open"])],["dir",new Set(["compact"])],["div",new Set(["align"])],["dl",new Set(["compact"])],["embed",new Set(["height","src","type","width"])],["fieldset",new Set(["disabled","form","name"])],["font",new Set(["color","face","size"])],["form",new Set(["accept","accept-charset","action","autocomplete","enctype","method","name","novalidate","target"])],["frame",new Set(["frameborder","longdesc","marginheight","marginwidth","name","noresize","scrolling","src"])],["frameset",new Set(["cols","rows"])],["h1",new Set(["align"])],["h2",new Set(["align"])],["h3",new Set(["align"])],["h4",new Set(["align"])],["h5",new Set(["align"])],["h6",new Set(["align"])],["head",new Set(["profile"])],["hr",new Set(["align","noshade","size","width"])],["html",new Set(["manifest","version"])],["iframe",new Set(["align","allow","allowfullscreen","allowpaymentrequest","allowusermedia","frameborder","height","loading","longdesc","marginheight","marginwidth","name","referrerpolicy","sandbox","scrolling","src","srcdoc","width"])],["img",new Set(["align","alt","border","crossorigin","decoding","fetchpriority","height","hspace","ismap","loading","longdesc","name","referrerpolicy","sizes","src","srcset","usemap","vspace","width"])],["input",new Set(["accept","align","alt","autocomplete","checked","dirname","disabled","form","formaction","formenctype","formmethod","formnovalidate","formtarget","height","ismap","list","max","maxlength","min","minlength","multiple","name","pattern","placeholder","popovertarget","popovertargetaction","readonly","required","size","src","step","type","usemap","value","width"])],["ins",new Set(["cite","datetime"])],["isindex",new Set(["prompt"])],["label",new Set(["for","form"])],["legend",new Set(["align"])],["li",new Set(["type","value"])],["link",new Set(["as","blocking","charset","color","crossorigin","disabled","fetchpriority","href","hreflang","imagesizes","imagesrcset","integrity","media","referrerpolicy","rel","rev","sizes","target","type"])],["map",new Set(["name"])],["menu",new Set(["compact"])],["meta",new Set(["charset","content","http-equiv","media","name","scheme"])],["meter",new Set(["high","low","max","min","optimum","value"])],["object",new Set(["align","archive","border","classid","codebase","codetype","data","declare","form","height","hspace","name","standby","type","typemustmatch","usemap","vspace","width"])],["ol",new Set(["compact","reversed","start","type"])],["optgroup",new Set(["disabled","label"])],["option",new Set(["disabled","label","selected","value"])],["output",new Set(["for","form","name"])],["p",new Set(["align"])],["param",new Set(["name","type","value","valuetype"])],["pre",new Set(["width"])],["progress",new Set(["max","value"])],["q",new Set(["cite"])],["script",new Set(["async","blocking","charset","crossorigin","defer","fetchpriority","integrity","language","nomodule","referrerpolicy","src","type"])],["select",new Set(["autocomplete","disabled","form","multiple","name","required","size"])],["slot",new Set(["name"])],["source",new Set(["height","media","sizes","src","srcset","type","width"])],["style",new Set(["blocking","media","type"])],["table",new Set(["align","bgcolor","border","cellpadding","cellspacing","frame","rules","summary","width"])],["tbody",new Set(["align","char","charoff","valign"])],["td",new Set(["abbr","align","axis","bgcolor","char","charoff","colspan","headers","height","nowrap","rowspan","scope","valign","width"])],["template",new Set(["shadowrootclonable","shadowrootdelegatesfocus","shadowrootmode"])],["textarea",new Set(["autocomplete","cols","dirname","disabled","form","maxlength","minlength","name","placeholder","readonly","required","rows","wrap"])],["tfoot",new Set(["align","char","charoff","valign"])],["th",new Set(["abbr","align","axis","bgcolor","char","charoff","colspan","headers","height","nowrap","rowspan","scope","valign","width"])],["thead",new Set(["align","char","charoff","valign"])],["time",new Set(["datetime"])],["tr",new Set(["align","bgcolor","char","charoff","valign"])],["track",new Set(["default","kind","label","src","srclang"])],["ul",new Set(["compact","type"])],["video",new Set(["autoplay","controls","crossorigin","height","loop","muted","playsinline","poster","preload","src","width"])]]);var Xs=new Set(["a","abbr","acronym","address","applet","area","article","aside","audio","b","base","basefont","bdi","bdo","bgsound","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","command","content","data","datalist","dd","del","details","dfn","dialog","dir","div","dl","dt","element","em","embed","fieldset","figcaption","figure","font","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","image","img","input","ins","isindex","kbd","keygen","label","legend","li","link","listing","main","map","mark","marquee","math","menu","menuitem","meta","meter","multicol","nav","nextid","nobr","noembed","noframes","noscript","object","ol","optgroup","option","output","p","param","picture","plaintext","pre","progress","q","rb","rbc","rp","rt","rtc","ruby","s","samp","script","search","section","select","shadow","slot","small","source","spacer","span","strike","strong","style","sub","summary","sup","svg","table","tbody","td","template","textarea","tfoot","th","thead","time","title","tr","track","tt","u","ul","var","video","wbr","xmp"]);function No(t){if(t.type==="block"){if(t.name=w(!1,t.name.toLowerCase(),/\s+/gu," ").trim(),t.type="angularControlFlowBlock",!qe(t.parameters)){delete t.parameters;return}for(let e of t.parameters)e.type="angularControlFlowBlockParameter";t.parameters={type:"angularControlFlowBlockParameters",children:t.parameters,sourceSpan:new h(t.parameters[0].sourceSpan.start,X(!1,t.parameters,-1).sourceSpan.end)}}}function Po(t){t.type==="letDeclaration"&&(t.type="angularLetDeclaration",t.id=t.name,t.init={type:"angularLetDeclarationInitializer",sourceSpan:new h(t.valueSpan.start,t.valueSpan.end),value:t.value},delete t.name,delete t.value)}function Io(t){(t.type==="plural"||t.type==="select")&&(t.clause=t.type,t.type="angularIcuExpression"),t.type==="expansionCase"&&(t.type="angularIcuCase")}function Zs(t,e,r){let{name:n,canSelfClose:s=!0,normalizeTagName:i=!1,normalizeAttributeName:a=!1,allowHtmComponentClosingTags:o=!1,isTagNameCaseSensitive:u=!1,shouldParseAsRawText:p}=e,{rootNodes:l,errors:f}=Gr(t,{canSelfClose:s,allowHtmComponentClosingTags:o,isTagNameCaseSensitive:u,getTagContentType:p?(...c)=>p(...c)?I.RAW_TEXT:void 0:void 0,tokenizeAngularBlocks:n==="angular"?!0:void 0,tokenizeAngularLetDeclaration:n==="angular"?!0:void 0});if(n==="vue"){if(l.some(x=>x.type==="docType"&&x.value==="html"||x.type==="element"&&x.name.toLowerCase()==="html"))return Zs(t,ti,r);let g,y=()=>g??(g=Gr(t,{canSelfClose:s,allowHtmComponentClosingTags:o,isTagNameCaseSensitive:u})),M=x=>y().rootNodes.find(({startSourceSpan:V})=>V&&V.start.offset===x.startSourceSpan.start.offset)??x;for(let[x,V]of l.entries()){let{endSourceSpan:jr,startSourceSpan:ri}=V;if(jr===null)f=y().errors,l[x]=M(V);else if(Ro(V,r)){let Kr=y().errors.find(Qr=>Qr.span.start.offset>ri.start.offset&&Qr.span.start.offset0&&Js(f[0]);let d=c=>{let g=c.name.startsWith(":")?c.name.slice(1).split(":")[0]:null,y=c.nameSpan.toString(),M=g!==null&&y.startsWith(`${g}:`),x=M?y.slice(g.length+1):y;c.name=x,c.namespace=g,c.hasExplicitNamespace=M},C=c=>{switch(c.type){case"element":d(c);for(let g of c.attrs)d(g),g.valueSpan?(g.value=g.valueSpan.toString(),/["']/u.test(g.value[0])&&(g.value=g.value.slice(1,-1))):g.value=null;break;case"comment":c.value=c.sourceSpan.toString().slice(4,-3);break;case"text":c.value=c.sourceSpan.toString();break}},A=(c,g)=>{let y=c.toLowerCase();return g(y)?y:c},D=c=>{if(c.type==="element"&&(i&&(!c.namespace||c.namespace===c.tagDefinition.implicitNamespacePrefix||Se(c))&&(c.name=A(c.name,g=>Xs.has(g))),a))for(let g of c.attrs)g.namespace||(g.name=A(g.name,y=>or.has(c.name)&&(or.get("*").has(y)||or.get(c.name).has(y))))},R=c=>{c.sourceSpan&&c.endSourceSpan&&(c.sourceSpan=new h(c.sourceSpan.start,c.endSourceSpan.end))},F=c=>{if(c.type==="element"){let g=Ge(u?c.name:c.name.toLowerCase());!c.namespace||c.namespace===g.implicitNamespacePrefix||Se(c)?c.tagDefinition=g:c.tagDefinition=Ge("")}};return Qt(new class extends ht{visitExpansionCase(c,g){n==="angular"&&this.visitChildren(g,y=>{y(c.expression)})}visit(c){C(c),F(c),D(c),R(c)}},l),l}function Ro(t,e){var n;if(t.type!=="element"||t.name!=="template")return!1;let r=(n=t.attrs.find(s=>s.name==="lang"))==null?void 0:n.value;return!r||Oe(e,{language:r})==="html"}function Js(t){let{msg:e,span:{start:r,end:n}}=t;throw Ys(e,{loc:{start:{line:r.line+1,column:r.col+1},end:{line:n.line+1,column:n.col+1}},cause:t})}function ei(t,e,r={},n=!0){let{frontMatter:s,content:i}=n?js(t):{frontMatter:null,content:t},a=new Te(t,r.filepath),o=new ae(a,0,0,0),u=o.moveBy(t.length),p={type:"root",sourceSpan:new h(o,u),children:Zs(i,e,r)};if(s){let d=new ae(a,0,0,0),C=d.moveBy(s.raw.length);s.sourceSpan=new h(d,C),p.children.unshift(s)}let l=new ar(p),f=(d,C)=>{let{offset:A}=C,D=w(!1,t.slice(0,A),/[^\n\r]/gu," "),F=ei(D+d,e,r,!1);F.sourceSpan=new h(C,X(!1,F.children,-1).sourceSpan.end);let c=F.children[0];return c.length===A?F.children.shift():(c.sourceSpan=new h(c.sourceSpan.start.moveBy(A),c.sourceSpan.end),c.value=c.value.slice(A)),F};return l.walk(d=>{if(d.type==="comment"){let C=Qs(d,f);C&&d.parent.replaceChild(d,C)}No(d),Po(d),Io(d)}),l}function ur(t){return{parse:(e,r)=>ei(e,t,r),hasPragma:os,astFormat:"html",locStart:se,locEnd:ie}}var ti={name:"html",normalizeTagName:!0,normalizeAttributeName:!0,allowHtmComponentClosingTags:!0},$o=ur(ti),Oo=ur({name:"angular"}),Mo=ur({name:"vue",isTagNameCaseSensitive:!0,shouldParseAsRawText(t,e,r,n){return t.toLowerCase()!=="html"&&!r&&(t!=="template"||n.some(({name:s,value:i})=>s==="lang"&&i!=="html"&&i!==""&&i!==void 0))}}),qo=ur({name:"lwc",canSelfClose:!1});var Ho={html:As};return oi(Vo);}); \ No newline at end of file diff --git a/node_modules/prettier/plugins/html.mjs b/node_modules/prettier/plugins/html.mjs index 8cea45a601..bbb65ed197 100644 --- a/node_modules/prettier/plugins/html.mjs +++ b/node_modules/prettier/plugins/html.mjs @@ -1,19 +1,22 @@ -var Ps=Object.defineProperty;var qr=(t,e)=>{for(var r in e)Ps(t,r,{get:e[r],enumerable:!0})};var Hr=(t,e,r)=>{if(!e.has(t))throw TypeError("Cannot "+r)};var z=(t,e,r)=>(Hr(t,e,"read from private field"),r?r.call(t):e.get(t)),Vr=(t,e,r)=>{if(e.has(t))throw TypeError("Cannot add the same private member more than once");e instanceof WeakSet?e.add(t):e.set(t,r)},Ur=(t,e,r,n)=>(Hr(t,e,"write to private field"),n?n.call(t,r):e.set(t,r),r);var Rr={};qr(Rr,{languages:()=>Bs,options:()=>Fs,parsers:()=>Qt,printers:()=>iu});var Is=(t,e,r,n)=>{if(!(t&&e==null))return e.replaceAll?e.replaceAll(r,n):r.global?e.replace(r,n):e.split(r).join(n)},v=Is;var Ae="string",_e="array",De="cursor",ne="indent",se="align",ve="trim",X="group",ie="fill",ae="if-break",ue="indent-if-break",ye="line-suffix",be="line-suffix-boundary",V="line",we="label",oe="break-parent",lt=new Set([De,ne,se,ve,X,ie,ae,ue,ye,be,V,we,oe]);function Rs(t){if(typeof t=="string")return Ae;if(Array.isArray(t))return _e;if(!t)return;let{type:e}=t;if(lt.has(e))return e}var Te=Rs;var $s=t=>new Intl.ListFormat("en-US",{type:"disjunction"}).format(t);function Ms(t){let e=t===null?"null":typeof t;if(e!=="string"&&e!=="object")return`Unexpected doc '${e}', -Expected it to be 'string' or 'object'.`;if(Te(t))throw new Error("doc is valid.");let r=Object.prototype.toString.call(t);if(r!=="[object Object]")return`Unexpected doc '${r}'.`;let n=$s([...lt].map(s=>`'${s}'`));return`Unexpected doc.type '${t.type}'. -Expected it to be ${n}.`}var Jt=class extends Error{name="InvalidDocError";constructor(e){super(Ms(e)),this.doc=e}},ct=Jt;var Wr=()=>{},Q=Wr,pt=Wr;function U(t){return Q(t),{type:ne,contents:t}}function Gr(t,e){return Q(e),{type:se,contents:e,n:t}}function D(t,e={}){return Q(t),pt(e.expandedStates,!0),{type:X,id:e.id,contents:t,break:!!e.shouldBreak,expandedStates:e.expandedStates}}function zr(t){return Gr(Number.NEGATIVE_INFINITY,t)}function Yr(t){return Gr({type:"root"},t)}function ht(t){return pt(t),{type:ie,parts:t}}function le(t,e="",r={}){return Q(t),e!==""&&Q(e),{type:ae,breakContents:t,flatContents:e,groupId:r.groupId}}function jr(t,e){return Q(t),{type:ue,contents:t,groupId:e.groupId,negate:e.negate}}var J={type:oe};var Os={type:V,hard:!0},qs={type:V,hard:!0,literal:!0},_={type:V},x={type:V,soft:!0},S=[Os,J],Kr=[qs,J];function Z(t,e){Q(t),pt(e);let r=[];for(let n=0;n{if(!(t&&e==null))return Array.isArray(e)||typeof e=="string"?e[r<0?e.length+r:r]:e.at(r)},xe=Hs;function ft(t,e){if(typeof t=="string")return e(t);let r=new Map;return n(t);function n(i){if(r.has(i))return r.get(i);let a=s(i);return r.set(i,a),a}function s(i){switch(Te(i)){case _e:return e(i.map(n));case ie:return e({...i,parts:i.parts.map(n)});case ae:return e({...i,breakContents:n(i.breakContents),flatContents:n(i.flatContents)});case X:{let{expandedStates:a,contents:u}=i;return a?(a=a.map(n),u=a[0]):u=n(u),e({...i,contents:u,expandedStates:a})}case se:case ne:case ue:case we:case ye:return e({...i,contents:n(i.contents)});case Ae:case De:case ve:case be:case V:case oe:return e(i);default:throw new ct(i)}}}function Vs(t){switch(Te(t)){case ie:if(t.parts.every(e=>e===""))return"";break;case X:if(!t.contents&&!t.id&&!t.break&&!t.expandedStates)return"";if(t.contents.type===X&&t.contents.id===t.id&&t.contents.break===t.break&&t.contents.expandedStates===t.expandedStates)return t.contents;break;case se:case ne:case ue:case ye:if(!t.contents)return"";break;case ae:if(!t.flatContents&&!t.breakContents)return"";break;case _e:{let e=[];for(let r of t){if(!r)continue;let[n,...s]=Array.isArray(r)?r:[r];typeof n=="string"&&typeof xe(!1,e,-1)=="string"?e[e.length-1]+=n:e.push(n),e.push(...s)}return e.length===0?"":e.length===1?e[0]:e}case Ae:case De:case ve:case be:case V:case we:case oe:break;default:throw new ct(t)}return t}function Xr(t){return ft(t,e=>Vs(e))}function T(t,e=Kr){return ft(t,r=>typeof r=="string"?Z(e,r.split(` -`)):r)}var Zt=class extends Error{name="UnexpectedNodeError";constructor(e,r,n="type"){super(`Unexpected ${r} node ${n}: ${JSON.stringify(e[n])}.`),this.node=e}},Qr=Zt;var mt="'",Jr='"';function Us(t,e){let r=e===!0||e===mt?mt:Jr,n=r===mt?Jr:mt,s=0,i=0;for(let a of t)a===r?s++:a===n&&i++;return s>i?n:r}var Zr=Us;function Ws(t){return(t==null?void 0:t.type)==="front-matter"}var ke=Ws;var Gs=new Set(["sourceSpan","startSourceSpan","endSourceSpan","nameSpan","valueSpan","keySpan","tagDefinition","tokens","valueTokens"]);function en(t,e){if(t.type==="text"||t.type==="comment"||ke(t)||t.type==="yaml"||t.type==="toml")return null;t.type==="attribute"&&delete e.value,t.type==="docType"&&delete e.value}en.ignoredProperties=Gs;var tn=en;var zs=t=>t.split(/[/\\]/).pop();function rn(t,e){if(!e)return;let r=zs(e).toLowerCase();return t.find(n=>{var s,i;return((s=n.extensions)==null?void 0:s.some(a=>r.endsWith(a)))||((i=n.filenames)==null?void 0:i.some(a=>a.toLowerCase()===r))})}function Ys(t,e){if(e)return t.find(({name:r})=>r.toLowerCase()===e)??t.find(({aliases:r})=>r==null?void 0:r.includes(e))??t.find(({extensions:r})=>r==null?void 0:r.includes(`.${e}`))}function js(t,e){let r=t.plugins.flatMap(s=>s.languages??[]),n=Ys(r,e.language)??rn(r,e.physicalFile)??rn(r,e.file)??(e.physicalFile,void 0);return n==null?void 0:n.parsers[0]}var Be=js;var nn="inline",sn={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",search:"block"},an="normal",un={listing:"pre",plaintext:"pre",pre:"pre",xmp:"pre",nobr:"nowrap",table:"initial",textarea:"pre-wrap"};function er(t){if(typeof t!="string")throw new TypeError("Expected a string");return t.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}var R,tr=class{constructor(e){Vr(this,R,void 0);Ur(this,R,new Set(e))}getLeadingWhitespaceCount(e){let r=z(this,R),n=0;for(let s=0;s=0&&r.has(e.charAt(s));s--)n++;return n}getLeadingWhitespace(e){let r=this.getLeadingWhitespaceCount(e);return e.slice(0,r)}getTrailingWhitespace(e){let r=this.getTrailingWhitespaceCount(e);return e.slice(e.length-r)}hasLeadingWhitespace(e){return z(this,R).has(e.charAt(0))}hasTrailingWhitespace(e){return z(this,R).has(xe(!1,e,-1))}trimStart(e){let r=this.getLeadingWhitespaceCount(e);return e.slice(r)}trimEnd(e){let r=this.getTrailingWhitespaceCount(e);return e.slice(0,e.length-r)}trim(e){return this.trimEnd(this.trimStart(e))}split(e,r=!1){let n=`[${er([...z(this,R)].join(""))}]+`,s=new RegExp(r?`(${n})`:n);return e.split(s)}hasWhitespaceCharacter(e){let r=z(this,R);return Array.prototype.some.call(e,n=>r.has(n))}hasNonWhitespaceCharacter(e){let r=z(this,R);return Array.prototype.some.call(e,n=>!r.has(n))}isWhitespaceOnly(e){let r=z(this,R);return Array.prototype.every.call(e,n=>r.has(n))}};R=new WeakMap;var on=tr;var Ks=[" ",` -`,"\f","\r"," "],Xs=new on(Ks),Y=Xs;function Qs(t){return t.type==="element"&&!t.hasExplicitNamespace&&!["html","svg"].includes(t.namespace)}var ce=Qs;var Js=t=>v(!1,t,/^[\t\f\r ]*\n/g,""),rr=t=>Js(Y.trimEnd(t)),ln=t=>{let e=t,r=Y.getLeadingWhitespace(e);r&&(e=e.slice(r.length));let n=Y.getTrailingWhitespace(e);return n&&(e=e.slice(0,-n.length)),{leadingWhitespace:r,trailingWhitespace:n,text:e}};function dt(t,e){return!!(t.type==="ieConditionalComment"&&t.lastChild&&!t.lastChild.isSelfClosing&&!t.lastChild.endSourceSpan||t.type==="ieConditionalComment"&&!t.complete||pe(t)&&t.children.some(r=>r.type!=="text"&&r.type!=="interpolation")||St(t,e)&&!M(t)&&t.type!=="interpolation")}function He(t){return t.type==="attribute"||!t.parent||!t.prev?!1:Zs(t.prev)}function Zs(t){return t.type==="comment"&&t.value.trim()==="prettier-ignore"}function L(t){return t.type==="text"||t.type==="comment"}function M(t){return t.type==="element"&&(t.fullName==="script"||t.fullName==="style"||t.fullName==="svg:style"||t.fullName==="svg:script"||ce(t)&&(t.name==="script"||t.name==="style"))}function cn(t){return t.children&&!M(t)}function pn(t){return M(t)||t.type==="interpolation"||nr(t)}function nr(t){return Dn(t).startsWith("pre")}function hn(t,e){var s,i;let r=n();if(r&&!t.prev&&((i=(s=t.parent)==null?void 0:s.tagDefinition)!=null&&i.ignoreFirstLf))return t.type==="interpolation";return r;function n(){return ke(t)?!1:(t.type==="text"||t.type==="interpolation")&&t.prev&&(t.prev.type==="text"||t.prev.type==="interpolation")?!0:!t.parent||t.parent.cssDisplay==="none"?!1:pe(t.parent)?!0:!(!t.prev&&(t.parent.type==="root"||pe(t)&&t.parent||M(t.parent)||We(t.parent,e)||!ii(t.parent.cssDisplay))||t.prev&&!oi(t.prev.cssDisplay))}}function fn(t,e){return ke(t)?!1:(t.type==="text"||t.type==="interpolation")&&t.next&&(t.next.type==="text"||t.next.type==="interpolation")?!0:!t.parent||t.parent.cssDisplay==="none"?!1:pe(t.parent)?!0:!(!t.next&&(t.parent.type==="root"||pe(t)&&t.parent||M(t.parent)||We(t.parent,e)||!ai(t.parent.cssDisplay))||t.next&&!ui(t.next.cssDisplay))}function mn(t){return li(t.cssDisplay)&&!M(t)}function Ve(t){return ke(t)||t.next&&t.sourceSpan.end&&t.sourceSpan.end.line+10&&(["body","script","style"].includes(t.name)||t.children.some(e=>ti(e)))||t.firstChild&&t.firstChild===t.lastChild&&t.firstChild.type!=="text"&&Cn(t.firstChild)&&(!t.lastChild.isTrailingSpaceSensitive||Sn(t.lastChild))}function sr(t){return t.type==="element"&&t.children.length>0&&(["html","head","ul","ol","select"].includes(t.name)||t.cssDisplay.startsWith("table")&&t.cssDisplay!=="table-cell")}function gt(t){return En(t)||t.prev&&ei(t.prev)||gn(t)}function ei(t){return En(t)||t.type==="element"&&t.fullName==="br"||gn(t)}function gn(t){return Cn(t)&&Sn(t)}function Cn(t){return t.hasLeadingSpaces&&(t.prev?t.prev.sourceSpan.end.linet.sourceSpan.end.line:t.parent.type==="root"||t.parent.endSourceSpan&&t.parent.endSourceSpan.start.line>t.sourceSpan.end.line)}function En(t){switch(t.type){case"ieConditionalComment":case"comment":case"directive":return!0;case"element":return["script","select"].includes(t.name)}return!1}function Ct(t){return t.lastChild?Ct(t.lastChild):t}function ti(t){var e;return(e=t.children)==null?void 0:e.some(r=>r.type!=="text")}function An(t){if(t)switch(t){case"module":case"text/javascript":case"text/babel":case"application/javascript":return"babel";case"application/x-typescript":return"typescript";case"text/markdown":return"markdown";case"text/html":return"html";case"text/x-handlebars-template":return"glimmer";default:if(t.endsWith("json")||t.endsWith("importmap")||t==="speculationrules")return"json"}}function ri(t,e){let{name:r,attrMap:n}=t;if(r!=="script"||Object.prototype.hasOwnProperty.call(n,"src"))return;let{type:s,lang:i}=t.attrMap;return!i&&!s?"babel":Be(e,{language:i})??An(s)}function ni(t,e){if(!St(t,e))return;let{attrMap:r}=t;if(Object.prototype.hasOwnProperty.call(r,"src"))return;let{type:n,lang:s}=r;return Be(e,{language:s})??An(n)}function si(t,e){if(t.name!=="style")return;let{lang:r}=t.attrMap;return r?Be(e,{language:r}):"css"}function ir(t,e){return ri(t,e)??si(t,e)??ni(t,e)}function Ue(t){return t==="block"||t==="list-item"||t.startsWith("table")}function ii(t){return!Ue(t)&&t!=="inline-block"}function ai(t){return!Ue(t)&&t!=="inline-block"}function ui(t){return!Ue(t)}function oi(t){return!Ue(t)}function li(t){return!Ue(t)&&t!=="inline-block"}function pe(t){return Dn(t).startsWith("pre")}function ci(t,e){let r=t;for(;r;){if(e(r))return!0;r=r.parent}return!1}function _n(t,e){var n;if(he(t,e))return"block";if(((n=t.prev)==null?void 0:n.type)==="comment"){let s=t.prev.value.match(/^\s*display:\s*([a-z]+)\s*$/);if(s)return s[1]}let r=!1;if(t.type==="element"&&t.namespace==="svg")if(ci(t,s=>s.fullName==="svg:foreignObject"))r=!0;else return t.name==="svg"?"inline-block":"block";switch(e.htmlWhitespaceSensitivity){case"strict":return"inline";case"ignore":return"block";default:return t.type==="element"&&(!t.namespace||r||ce(t))&&sn[t.name]||nn}}function Dn(t){return t.type==="element"&&(!t.namespace||ce(t))&&un[t.name]||an}function pi(t){let e=Number.POSITIVE_INFINITY;for(let r of t.split(` -`)){if(r.length===0)continue;let n=Y.getLeadingWhitespaceCount(r);if(n===0)return 0;r.length!==n&&n{throw TypeError(t)};var Jr=(t,e)=>{for(var r in e)ni(t,r,{get:e[r],enumerable:!0})};var Zr=(t,e,r)=>e.has(t)||Xr("Cannot "+r);var Q=(t,e,r)=>(Zr(t,e,"read from private field"),r?r.call(t):e.get(t)),en=(t,e,r)=>e.has(t)?Xr("Cannot add the same private member more than once"):e instanceof WeakSet?e.add(t):e.set(t,r),tn=(t,e,r,n)=>(Zr(t,e,"write to private field"),n?n.call(t,r):e.set(t,r),r);var Yr={};Jr(Yr,{languages:()=>Ds,options:()=>ys,parsers:()=>Gr,printers:()=>$o});var si=(t,e,r,n)=>{if(!(t&&e==null))return e.replaceAll?e.replaceAll(r,n):r.global?e.replace(r,n):e.split(r).join(n)},w=si;var ke="string",Be="array",Le="cursor",ce="indent",pe="align",Fe="trim",te="group",he="fill",me="if-break",fe="indent-if-break",Ne="line-suffix",Pe="line-suffix-boundary",Y="line",Ie="label",de="break-parent",St=new Set([Le,ce,pe,Fe,te,he,me,fe,Ne,Pe,Y,Ie,de]);function ii(t){if(typeof t=="string")return ke;if(Array.isArray(t))return Be;if(!t)return;let{type:e}=t;if(St.has(e))return e}var Re=ii;var ai=t=>new Intl.ListFormat("en-US",{type:"disjunction"}).format(t);function oi(t){let e=t===null?"null":typeof t;if(e!=="string"&&e!=="object")return`Unexpected doc '${e}', +Expected it to be 'string' or 'object'.`;if(Re(t))throw new Error("doc is valid.");let r=Object.prototype.toString.call(t);if(r!=="[object Object]")return`Unexpected doc '${r}'.`;let n=ai([...St].map(s=>`'${s}'`));return`Unexpected doc.type '${t.type}'. +Expected it to be ${n}.`}var lr=class extends Error{name="InvalidDocError";constructor(e){super(oi(e)),this.doc=e}},_t=lr;var rn=()=>{},re=rn,Et=rn;function k(t){return re(t),{type:ce,contents:t}}function nn(t,e){return re(e),{type:pe,contents:e,n:t}}function _(t,e={}){return re(t),Et(e.expandedStates,!0),{type:te,id:e.id,contents:t,break:!!e.shouldBreak,expandedStates:e.expandedStates}}function sn(t){return nn(Number.NEGATIVE_INFINITY,t)}function an(t){return nn({type:"root"},t)}function At(t){return Et(t),{type:he,parts:t}}function ge(t,e="",r={}){return re(t),e!==""&&re(e),{type:me,breakContents:t,flatContents:e,groupId:r.groupId}}function on(t,e){return re(t),{type:fe,contents:t,groupId:e.groupId,negate:e.negate}}var ne={type:de};var ui={type:Y,hard:!0},li={type:Y,hard:!0,literal:!0},E={type:Y},v={type:Y,soft:!0},S=[ui,ne],un=[li,ne];function q(t,e){re(t),Et(e);let r=[];for(let n=0;n{if(!(t&&e==null))return Array.isArray(e)||typeof e=="string"?e[r<0?e.length+r:r]:e.at(r)},X=ci;function Dt(t,e){if(typeof t=="string")return e(t);let r=new Map;return n(t);function n(i){if(r.has(i))return r.get(i);let a=s(i);return r.set(i,a),a}function s(i){switch(Re(i)){case Be:return e(i.map(n));case he:return e({...i,parts:i.parts.map(n)});case me:return e({...i,breakContents:n(i.breakContents),flatContents:n(i.flatContents)});case te:{let{expandedStates:a,contents:o}=i;return a?(a=a.map(n),o=a[0]):o=n(o),e({...i,contents:o,expandedStates:a})}case pe:case ce:case fe:case Ie:case Ne:return e({...i,contents:n(i.contents)});case ke:case Le:case Fe:case Pe:case Y:case de:return e(i);default:throw new _t(i)}}}function pi(t){switch(Re(t)){case he:if(t.parts.every(e=>e===""))return"";break;case te:if(!t.contents&&!t.id&&!t.break&&!t.expandedStates)return"";if(t.contents.type===te&&t.contents.id===t.id&&t.contents.break===t.break&&t.contents.expandedStates===t.expandedStates)return t.contents;break;case pe:case ce:case fe:case Ne:if(!t.contents)return"";break;case me:if(!t.flatContents&&!t.breakContents)return"";break;case Be:{let e=[];for(let r of t){if(!r)continue;let[n,...s]=Array.isArray(r)?r:[r];typeof n=="string"&&typeof X(!1,e,-1)=="string"?e[e.length-1]+=n:e.push(n),e.push(...s)}return e.length===0?"":e.length===1?e[0]:e}case ke:case Le:case Fe:case Pe:case Y:case Ie:case de:break;default:throw new _t(t)}return t}function ln(t){return Dt(t,e=>pi(e))}function B(t,e=un){return Dt(t,r=>typeof r=="string"?q(e,r.split(` +`)):r)}var vt="'",cn='"';function hi(t,e){let r=e===!0||e===vt?vt:cn,n=r===vt?cn:vt,s=0,i=0;for(let a of t)a===r?s++:a===n&&i++;return s>i?n:r}var pn=hi;function cr(t){if(typeof t!="string")throw new TypeError("Expected a string");return t.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}var H,pr=class{constructor(e){en(this,H);tn(this,H,new Set(e))}getLeadingWhitespaceCount(e){let r=Q(this,H),n=0;for(let s=0;s=0&&r.has(e.charAt(s));s--)n++;return n}getLeadingWhitespace(e){let r=this.getLeadingWhitespaceCount(e);return e.slice(0,r)}getTrailingWhitespace(e){let r=this.getTrailingWhitespaceCount(e);return e.slice(e.length-r)}hasLeadingWhitespace(e){return Q(this,H).has(e.charAt(0))}hasTrailingWhitespace(e){return Q(this,H).has(X(!1,e,-1))}trimStart(e){let r=this.getLeadingWhitespaceCount(e);return e.slice(r)}trimEnd(e){let r=this.getTrailingWhitespaceCount(e);return e.slice(0,e.length-r)}trim(e){return this.trimEnd(this.trimStart(e))}split(e,r=!1){let n=`[${cr([...Q(this,H)].join(""))}]+`,s=new RegExp(r?`(${n})`:n,"u");return e.split(s)}hasWhitespaceCharacter(e){let r=Q(this,H);return Array.prototype.some.call(e,n=>r.has(n))}hasNonWhitespaceCharacter(e){let r=Q(this,H);return Array.prototype.some.call(e,n=>!r.has(n))}isWhitespaceOnly(e){let r=Q(this,H);return Array.prototype.every.call(e,n=>r.has(n))}};H=new WeakMap;var hn=pr;var mi=[" ",` +`,"\f","\r"," "],fi=new hn(mi),N=fi;var hr=class extends Error{name="UnexpectedNodeError";constructor(e,r,n="type"){super(`Unexpected ${r} node ${n}: ${JSON.stringify(e[n])}.`),this.node=e}},mn=hr;function di(t){return(t==null?void 0:t.type)==="front-matter"}var $e=di;var gi=new Set(["sourceSpan","startSourceSpan","endSourceSpan","nameSpan","valueSpan","keySpan","tagDefinition","tokens","valueTokens","switchValueSourceSpan","expSourceSpan","valueSourceSpan"]),Ci=new Set(["if","else if","for","switch","case"]);function fn(t,e){var r;if(t.type==="text"||t.type==="comment"||$e(t)||t.type==="yaml"||t.type==="toml")return null;if(t.type==="attribute"&&delete e.value,t.type==="docType"&&delete e.value,t.type==="angularControlFlowBlock"&&((r=t.parameters)!=null&&r.children))for(let n of e.parameters.children)Ci.has(t.name)?delete n.expression:n.expression=n.expression.trim();t.type==="angularIcuExpression"&&(e.switchValue=t.switchValue.trim()),t.type==="angularLetDeclarationInitializer"&&delete e.value}fn.ignoredProperties=gi;var dn=fn;async function Si(t,e){if(t.language==="yaml"){let r=t.value.trim(),n=r?await e(r,{parser:"yaml"}):"";return an([t.startDelimiter,t.explicitLanguage,S,n,n?S:"",t.endDelimiter])}}var gn=Si;function Ce(t,e=!0){return[k([v,t]),e?v:""]}function j(t,e){let r=t.type==="NGRoot"?t.node.type==="NGMicrosyntax"&&t.node.body.length===1&&t.node.body[0].type==="NGMicrosyntaxExpression"?t.node.body[0].expression:t.node:t.type==="JsExpressionRoot"?t.node:t;return r&&(r.type==="ObjectExpression"||r.type==="ArrayExpression"||(e.parser==="__vue_expression"||e.parser==="__vue_ts_expression")&&(r.type==="TemplateLiteral"||r.type==="StringLiteral"))}async function T(t,e,r,n){r={__isInHtmlAttribute:!0,__embeddedInHtml:!0,...r};let s=!0;n&&(r.__onHtmlBindingRoot=(a,o)=>{s=n(a,o)});let i=await e(t,r,e);return s?_(i):Ce(i)}function _i(t,e,r,n){let{node:s}=r,i=n.originalText.slice(s.sourceSpan.start.offset,s.sourceSpan.end.offset);return/^\s*$/u.test(i)?"":T(i,t,{parser:"__ng_directive",__isInHtmlAttribute:!1},j)}var Cn=_i;var Ei=t=>String(t).split(/[/\\]/u).pop();function Sn(t,e){if(!e)return;let r=Ei(e).toLowerCase();return t.find(({filenames:n})=>n==null?void 0:n.some(s=>s.toLowerCase()===r))??t.find(({extensions:n})=>n==null?void 0:n.some(s=>r.endsWith(s)))}function Ai(t,e){if(e)return t.find(({name:r})=>r.toLowerCase()===e)??t.find(({aliases:r})=>r==null?void 0:r.includes(e))??t.find(({extensions:r})=>r==null?void 0:r.includes(`.${e}`))}function Di(t,e){let r=t.plugins.flatMap(s=>s.languages??[]),n=Ai(r,e.language)??Sn(r,e.physicalFile)??Sn(r,e.file)??(e.physicalFile,void 0);return n==null?void 0:n.parsers[0]}var Oe=Di;var _n="inline",En={area:"none",base:"none",basefont:"none",datalist:"none",head:"none",link:"none",meta:"none",noembed:"none",noframes:"none",param:"block",rp:"none",script:"block",style:"none",template:"inline",title:"none",html:"block",body:"block",address:"block",blockquote:"block",center:"block",dialog:"block",div:"block",figure:"block",figcaption:"block",footer:"block",form:"block",header:"block",hr:"block",legend:"block",listing:"block",main:"block",p:"block",plaintext:"block",pre:"block",search:"block",xmp:"block",slot:"contents",ruby:"ruby",rt:"ruby-text",article:"block",aside:"block",h1:"block",h2:"block",h3:"block",h4:"block",h5:"block",h6:"block",hgroup:"block",nav:"block",section:"block",dir:"block",dd:"block",dl:"block",dt:"block",menu:"block",ol:"block",ul:"block",li:"list-item",table:"table",caption:"table-caption",colgroup:"table-column-group",col:"table-column",thead:"table-header-group",tbody:"table-row-group",tfoot:"table-footer-group",tr:"table-row",td:"table-cell",th:"table-cell",input:"inline-block",button:"inline-block",fieldset:"block",marquee:"inline-block",source:"block",track:"block",details:"block",summary:"block",meter:"inline-block",progress:"inline-block",object:"inline-block",video:"inline-block",audio:"inline-block",select:"inline-block",option:"block",optgroup:"block"},An="normal",Dn={listing:"pre",plaintext:"pre",pre:"pre",xmp:"pre",nobr:"nowrap",table:"initial",textarea:"pre-wrap"};function vi(t){return t.type==="element"&&!t.hasExplicitNamespace&&!["html","svg"].includes(t.namespace)}var Se=vi;var yi=t=>w(!1,t,/^[\t\f\r ]*\n/gu,""),mr=t=>yi(N.trimEnd(t)),vn=t=>{let e=t,r=N.getLeadingWhitespace(e);r&&(e=e.slice(r.length));let n=N.getTrailingWhitespace(e);return n&&(e=e.slice(0,-n.length)),{leadingWhitespace:r,trailingWhitespace:n,text:e}};function yt(t,e){return!!(t.type==="ieConditionalComment"&&t.lastChild&&!t.lastChild.isSelfClosing&&!t.lastChild.endSourceSpan||t.type==="ieConditionalComment"&&!t.complete||_e(t)&&t.children.some(r=>r.type!=="text"&&r.type!=="interpolation")||Tt(t,e)&&!U(t)&&t.type!=="interpolation")}function Ee(t){return t.type==="attribute"||!t.parent||!t.prev?!1:wi(t.prev)}function wi(t){return t.type==="comment"&&t.value.trim()==="prettier-ignore"}function $(t){return t.type==="text"||t.type==="comment"}function U(t){return t.type==="element"&&(t.fullName==="script"||t.fullName==="style"||t.fullName==="svg:style"||t.fullName==="svg:script"||Se(t)&&(t.name==="script"||t.name==="style"))}function yn(t){return t.children&&!U(t)}function wn(t){return U(t)||t.type==="interpolation"||fr(t)}function fr(t){return Rn(t).startsWith("pre")}function bn(t,e){var s,i;let r=n();if(r&&!t.prev&&((i=(s=t.parent)==null?void 0:s.tagDefinition)!=null&&i.ignoreFirstLf))return t.type==="interpolation";return r;function n(){return $e(t)||t.type==="angularControlFlowBlock"?!1:(t.type==="text"||t.type==="interpolation")&&t.prev&&(t.prev.type==="text"||t.prev.type==="interpolation")?!0:!t.parent||t.parent.cssDisplay==="none"?!1:_e(t.parent)?!0:!(!t.prev&&(t.parent.type==="root"||_e(t)&&t.parent||U(t.parent)||Je(t.parent,e)||!Li(t.parent.cssDisplay))||t.prev&&!Pi(t.prev.cssDisplay))}}function Tn(t,e){return $e(t)||t.type==="angularControlFlowBlock"?!1:(t.type==="text"||t.type==="interpolation")&&t.next&&(t.next.type==="text"||t.next.type==="interpolation")?!0:!t.parent||t.parent.cssDisplay==="none"?!1:_e(t.parent)?!0:!(!t.next&&(t.parent.type==="root"||_e(t)&&t.parent||U(t.parent)||Je(t.parent,e)||!Fi(t.parent.cssDisplay))||t.next&&!Ni(t.next.cssDisplay))}function xn(t){return Ii(t.cssDisplay)&&!U(t)}function Qe(t){return $e(t)||t.next&&t.sourceSpan.end&&t.sourceSpan.end.line+10&&(["body","script","style"].includes(t.name)||t.children.some(e=>Ti(e)))||t.firstChild&&t.firstChild===t.lastChild&&t.firstChild.type!=="text"&&Ln(t.firstChild)&&(!t.lastChild.isTrailingSpaceSensitive||Fn(t.lastChild))}function dr(t){return t.type==="element"&&t.children.length>0&&(["html","head","ul","ol","select"].includes(t.name)||t.cssDisplay.startsWith("table")&&t.cssDisplay!=="table-cell")}function wt(t){return Nn(t)||t.prev&&bi(t.prev)||Bn(t)}function bi(t){return Nn(t)||t.type==="element"&&t.fullName==="br"||Bn(t)}function Bn(t){return Ln(t)&&Fn(t)}function Ln(t){return t.hasLeadingSpaces&&(t.prev?t.prev.sourceSpan.end.linet.sourceSpan.end.line:t.parent.type==="root"||t.parent.endSourceSpan&&t.parent.endSourceSpan.start.line>t.sourceSpan.end.line)}function Nn(t){switch(t.type){case"ieConditionalComment":case"comment":case"directive":return!0;case"element":return["script","select"].includes(t.name)}return!1}function bt(t){return t.lastChild?bt(t.lastChild):t}function Ti(t){var e;return(e=t.children)==null?void 0:e.some(r=>r.type!=="text")}function Pn(t){if(t)switch(t){case"module":case"text/javascript":case"text/babel":case"application/javascript":return"babel";case"application/x-typescript":return"typescript";case"text/markdown":return"markdown";case"text/html":return"html";case"text/x-handlebars-template":return"glimmer";default:if(t.endsWith("json")||t.endsWith("importmap")||t==="speculationrules")return"json"}}function xi(t,e){let{name:r,attrMap:n}=t;if(r!=="script"||Object.prototype.hasOwnProperty.call(n,"src"))return;let{type:s,lang:i}=t.attrMap;return!i&&!s?"babel":Oe(e,{language:i})??Pn(s)}function ki(t,e){if(!Tt(t,e))return;let{attrMap:r}=t;if(Object.prototype.hasOwnProperty.call(r,"src"))return;let{type:n,lang:s}=r;return Oe(e,{language:s})??Pn(n)}function Bi(t,e){if(t.name!=="style")return;let{lang:r}=t.attrMap;return r?Oe(e,{language:r}):"css"}function gr(t,e){return xi(t,e)??Bi(t,e)??ki(t,e)}function Xe(t){return t==="block"||t==="list-item"||t.startsWith("table")}function Li(t){return!Xe(t)&&t!=="inline-block"}function Fi(t){return!Xe(t)&&t!=="inline-block"}function Ni(t){return!Xe(t)}function Pi(t){return!Xe(t)}function Ii(t){return!Xe(t)&&t!=="inline-block"}function _e(t){return Rn(t).startsWith("pre")}function Ri(t,e){let r=t;for(;r;){if(e(r))return!0;r=r.parent}return!1}function In(t,e){var n;if(Ae(t,e))return"block";if(((n=t.prev)==null?void 0:n.type)==="comment"){let s=t.prev.value.match(/^\s*display:\s*([a-z]+)\s*$/u);if(s)return s[1]}let r=!1;if(t.type==="element"&&t.namespace==="svg")if(Ri(t,s=>s.fullName==="svg:foreignObject"))r=!0;else return t.name==="svg"?"inline-block":"block";switch(e.htmlWhitespaceSensitivity){case"strict":return"inline";case"ignore":return"block";default:return t.type==="element"&&(!t.namespace||r||Se(t))&&En[t.name]||_n}}function Rn(t){return t.type==="element"&&(!t.namespace||Se(t))&&Dn[t.name]||An}function $i(t){let e=Number.POSITIVE_INFINITY;for(let r of t.split(` +`)){if(r.length===0)continue;let n=N.getLeadingWhitespaceCount(r);if(n===0)return 0;r.length!==n&&nr.slice(e)).join(` -`)}function ur(t){return v(!1,v(!1,t,"'","'"),""",'"')}function N(t){return ur(t.value)}var hi=new Set(["template","style","script"]);function We(t,e){return he(t,e)&&!hi.has(t.fullName)}function he(t,e){return e.parser==="vue"&&t.type==="element"&&t.parent.type==="root"&&t.fullName.toLowerCase()!=="html"}function St(t,e){return he(t,e)&&(We(t,e)||t.attrMap.lang&&t.attrMap.lang!=="html")}function vn(t){let e=t.fullName;return e.charAt(0)==="#"||e==="slot-scope"||e==="v-slot"||e.startsWith("v-slot:")}function yn(t,e){let r=t.parent;if(!he(r,e))return!1;let n=r.fullName,s=t.fullName;return n==="script"&&s==="setup"||n==="style"&&s==="vars"}function Et(t,e=t.value){return t.parent.isWhitespaceSensitive?t.parent.isIndentationSensitive?T(e):T(ar(rr(e)),S):Z(_,Y.split(e))}function bn(t,e){return he(t,e)&&t.name==="script"}function or(t){return t>=9&&t<=32||t==160}function fi(t){return 48<=t&&t<=57}function lr(t){return t>=97&&t<=122||t>=65&&t<=90}function wn(t){return t>=97&&t<=102||t>=65&&t<=70||fi(t)}function cr(t){return t===10||t===13}function pr(t){return 48<=t&&t<=55}function Tn(t){return t===39||t===34||t===96}var mi=/-+([a-z0-9])/g;function kn(t){return t.replace(mi,(...e)=>e[1].toUpperCase())}var ee=class t{constructor(e,r,n,s){this.file=e,this.offset=r,this.line=n,this.col=s}toString(){return this.offset!=null?`${this.file.url}@${this.line}:${this.col}`:this.file.url}moveBy(e){let r=this.file.content,n=r.length,s=this.offset,i=this.line,a=this.col;for(;s>0&&e<0;)if(s--,e++,r.charCodeAt(s)==10){i--;let o=r.substring(0,s-1).lastIndexOf(String.fromCharCode(10));a=o>0?s-o:s}else a--;for(;s0;){let u=r.charCodeAt(s);s++,e--,u==10?(i++,a=0):a++}return new t(this.file,s,i,a)}getContext(e,r){let n=this.file.content,s=this.offset;if(s!=null){s>n.length-1&&(s=n.length-1);let i=s,a=0,u=0;for(;a0&&(s--,a++,!(n[s]==` -`&&++u==r)););for(a=0,u=0;a]${e.after}")`:this.msg}toString(){let e=this.span.details?`, ${this.span.details}`:"";return`${this.contextualMessage()}: ${this.span.start}${e}`}};var di=[Ci,Si,Ai,Di,vi,wi,yi,bi,Ti,_i];function gi(t,e){for(let r of di)r(t,e);return t}function Ci(t){t.walk(e=>{if(e.type==="element"&&e.tagDefinition.ignoreFirstLf&&e.children.length>0&&e.children[0].type==="text"&&e.children[0].value[0]===` -`){let r=e.children[0];r.value.length===1?e.removeChild(r):r.value=r.value.slice(1)}})}function Si(t){let e=r=>{var n,s;return r.type==="element"&&((n=r.prev)==null?void 0:n.type)==="ieConditionalStartComment"&&r.prev.sourceSpan.end.offset===r.startSourceSpan.start.offset&&((s=r.firstChild)==null?void 0:s.type)==="ieConditionalEndComment"&&r.firstChild.sourceSpan.start.offset===r.startSourceSpan.end.offset};t.walk(r=>{if(r.children)for(let n=0;n{if(n.children)for(let s=0;se.type==="cdata",e=>``)}function _i(t){let e=r=>{var n,s;return r.type==="element"&&r.attrs.length===0&&r.children.length===1&&r.firstChild.type==="text"&&!Y.hasWhitespaceCharacter(r.children[0].value)&&!r.firstChild.hasLeadingSpaces&&!r.firstChild.hasTrailingSpaces&&r.isLeadingSpaceSensitive&&!r.hasLeadingSpaces&&r.isTrailingSpaceSensitive&&!r.hasTrailingSpaces&&((n=r.prev)==null?void 0:n.type)==="text"&&((s=r.next)==null?void 0:s.type)==="text"};t.walk(r=>{if(r.children)for(let n=0;n`+s.firstChild.value+``+a.value,i.sourceSpan=new m(i.sourceSpan.start,a.sourceSpan.end),i.isTrailingSpaceSensitive=a.isTrailingSpaceSensitive,i.hasTrailingSpaces=a.hasTrailingSpaces,r.removeChild(s),n--,r.removeChild(a)}})}function Di(t,e){if(e.parser==="html")return;let r=/{{(.+?)}}/s;t.walk(n=>{if(cn(n))for(let s of n.children){if(s.type!=="text")continue;let i=s.sourceSpan.start,a=null,u=s.value.split(r);for(let o=0;o0&&n.insertChildBefore(s,{type:"text",value:p,sourceSpan:new m(i,a)});continue}a=i.moveBy(p.length+4),n.insertChildBefore(s,{type:"interpolation",sourceSpan:new m(i,a),children:p.length===0?[]:[{type:"text",value:p,sourceSpan:new m(i.moveBy(2),a.moveBy(-2))}]})}n.removeChild(s)}})}function vi(t){t.walk(e=>{if(!e.children)return;if(e.children.length===0||e.children.length===1&&e.children[0].type==="text"&&Y.trim(e.children[0].value).length===0){e.hasDanglingSpaces=e.children.length>0,e.children=[];return}let r=pn(e),n=nr(e);if(!r)for(let s=0;s{e.isSelfClosing=!e.children||e.type==="element"&&(e.tagDefinition.isVoid||e.endSourceSpan&&e.startSourceSpan.start===e.endSourceSpan.start&&e.startSourceSpan.end===e.endSourceSpan.end)})}function bi(t,e){t.walk(r=>{r.type==="element"&&(r.hasHtmComponentClosingTag=r.endSourceSpan&&/^<\s*\/\s*\/\s*>$/.test(e.originalText.slice(r.endSourceSpan.start.offset,r.endSourceSpan.end.offset)))})}function wi(t,e){t.walk(r=>{r.cssDisplay=_n(r,e)})}function Ti(t,e){t.walk(r=>{let{children:n}=r;if(n){if(n.length===0){r.isDanglingSpaceSensitive=mn(r);return}for(let s of n)s.isLeadingSpaceSensitive=hn(s,e),s.isTrailingSpaceSensitive=fn(s,e);for(let s=0;s/.test(t)}function Fn(t){return` +`)}function Sr(t){return w(!1,w(!1,t,"'","'"),""",'"')}function P(t){return Sr(t.value)}var Oi=new Set(["template","style","script"]);function Je(t,e){return Ae(t,e)&&!Oi.has(t.fullName)}function Ae(t,e){return e.parser==="vue"&&t.type==="element"&&t.parent.type==="root"&&t.fullName.toLowerCase()!=="html"}function Tt(t,e){return Ae(t,e)&&(Je(t,e)||t.attrMap.lang&&t.attrMap.lang!=="html")}function $n(t){let e=t.fullName;return e.charAt(0)==="#"||e==="slot-scope"||e==="v-slot"||e.startsWith("v-slot:")}function On(t,e){let r=t.parent;if(!Ae(r,e))return!1;let n=r.fullName,s=t.fullName;return n==="script"&&s==="setup"||n==="style"&&s==="vars"}function xt(t,e=t.value){return t.parent.isWhitespaceSensitive?t.parent.isIndentationSensitive?B(e):B(Cr(mr(e)),S):q(E,N.split(e))}function kt(t,e){return Ae(t,e)&&t.name==="script"}var _r=/\{\{(.+?)\}\}/su;async function Mn(t,e){let r=[];for(let[n,s]of t.split(_r).entries())if(n%2===0)r.push(B(s));else try{r.push(_(["{{",k([E,await T(s,e,{parser:"__ng_interpolation",__isInHtmlInterpolation:!0})]),E,"}}"]))}catch{r.push("{{",B(s),"}}")}return r}function Er({parser:t}){return(e,r,n)=>T(P(n.node),e,{parser:t},j)}var Mi=Er({parser:"__ng_action"}),qi=Er({parser:"__ng_binding"}),Hi=Er({parser:"__ng_directive"});function Vi(t,e){if(e.parser!=="angular")return;let{node:r}=t,n=r.fullName;if(n.startsWith("(")&&n.endsWith(")")||n.startsWith("on-"))return Mi;if(n.startsWith("[")&&n.endsWith("]")||/^bind(?:on)?-/u.test(n)||/^ng-(?:if|show|hide|class|style)$/u.test(n))return qi;if(n.startsWith("*"))return Hi;let s=P(r);if(/^i18n(?:-.+)?$/u.test(n))return()=>Ce(At(xt(r,s.trim())),!s.includes("@@"));if(_r.test(s))return i=>Mn(s,i)}var qn=Vi;function Ui(t,e){let{node:r}=t,n=P(r);if(r.fullName==="class"&&!e.parentParser&&!n.includes("{{"))return()=>n.trim().split(/\s+/u).join(" ")}var Hn=Ui;function Vn(t){return t===" "||t===` +`||t==="\f"||t==="\r"||t===" "}var Wi=/^[ \t\n\r\u000c]+/,zi=/^[, \t\n\r\u000c]+/,Gi=/^[^ \t\n\r\u000c]+/,Yi=/[,]+$/,Un=/^\d+$/,ji=/^-?(?:[0-9]+|[0-9]*\.[0-9]+)(?:[eE][+-]?[0-9]+)?$/;function Ki(t){let e=t.length,r,n,s,i,a,o=0,u;function p(C){let A,D=C.exec(t.substring(o));if(D)return[A]=D,o+=A.length,A}let l=[];for(;;){if(p(zi),o>=e){if(l.length===0)throw new Error("Must contain one or more image candidate strings.");return l}u=o,r=p(Gi),n=[],r.slice(-1)===","?(r=r.replace(Yi,""),d()):f()}function f(){for(p(Wi),s="",i="in descriptor";;){if(a=t.charAt(o),i==="in descriptor")if(Vn(a))s&&(n.push(s),s="",i="after descriptor");else if(a===","){o+=1,s&&n.push(s),d();return}else if(a==="(")s+=a,i="in parens";else if(a===""){s&&n.push(s),d();return}else s+=a;else if(i==="in parens")if(a===")")s+=a,i="in descriptor";else if(a===""){n.push(s),d();return}else s+=a;else if(i==="after descriptor"&&!Vn(a))if(a===""){d();return}else i="in descriptor",o-=1;o+=1}}function d(){let C=!1,A,D,R,F,c={},g,y,M,x,V;for(F=0;FJi(P(t.node))}var zn={width:"w",height:"h",density:"x"},Xi=Object.keys(zn);function Ji(t){let e=Wn(t),r=Xi.filter(l=>e.some(f=>Object.prototype.hasOwnProperty.call(f,l)));if(r.length>1)throw new Error("Mixed descriptor in srcset is not supported");let[n]=r,s=zn[n],i=e.map(l=>l.source.value),a=Math.max(...i.map(l=>l.length)),o=e.map(l=>l[n]?String(l[n].value):""),u=o.map(l=>{let f=l.indexOf(".");return f===-1?l.length:f}),p=Math.max(...u);return Ce(q([",",E],i.map((l,f)=>{let d=[l],C=o[f];if(C){let A=a-l.length+1,D=p-u[f],R=" ".repeat(A+D);d.push(ge(R," "),C+s)}return d})))}var Gn=Qi;function Yn(t,e){let{node:r}=t,n=P(t.node).trim();if(r.fullName==="style"&&!e.parentParser&&!n.includes("{{"))return async s=>Ce(await s(n,{parser:"css",__isHTMLStyleAttribute:!0}))}var Ar=new WeakMap;function Zi(t,e){let{root:r}=t;return Ar.has(r)||Ar.set(r,r.children.some(n=>kt(n,e)&&["ts","typescript"].includes(n.attrMap.lang))),Ar.get(r)}var Me=Zi;function jn(t,e,r){let{node:n}=r,s=P(n);return T(`type T<${s}> = any`,t,{parser:"babel-ts",__isEmbeddedTypescriptGenericParameters:!0},j)}function Kn(t,e,{parseWithTs:r}){return T(`function _(${t}) {}`,e,{parser:r?"babel-ts":"babel",__isVueBindings:!0})}function Qn(t){let e=/^(?:[\w$]+|\([^)]*\))\s*=>|^function\s*\(/u,r=/^[$_a-z][\w$]*(?:\.[$_a-z][\w$]*|\['[^']*'\]|\["[^"]*"\]|\[\d+\]|\[[$_a-z][\w$]*\])*$/iu,n=t.trim();return e.test(n)||r.test(n)}async function Xn(t,e,r,n){let s=P(r.node),{left:i,operator:a,right:o}=ea(s),u=Me(r,n);return[_(await T(`function _(${i}) {}`,t,{parser:u?"babel-ts":"babel",__isVueForBindingLeft:!0}))," ",a," ",await T(o,t,{parser:u?"__ts_expression":"__js_expression"})]}function ea(t){let e=/(.*?)\s+(in|of)\s+(.*)/su,r=/,([^,\]}]*)(?:,([^,\]}]*))?$/u,n=/^\(|\)$/gu,s=t.match(e);if(!s)return;let i={};if(i.for=s[3].trim(),!i.for)return;let a=w(!1,s[1].trim(),n,""),o=a.match(r);o?(i.alias=a.replace(r,""),i.iterator1=o[1].trim(),o[2]&&(i.iterator2=o[2].trim())):i.alias=a;let u=[i.alias,i.iterator1,i.iterator2];if(!u.some((p,l)=>!p&&(l===0||u.slice(l+1).some(Boolean))))return{left:u.filter(Boolean).join(","),operator:s[2],right:i.for}}function ta(t,e){if(e.parser!=="vue")return;let{node:r}=t,n=r.fullName;if(n==="v-for")return Xn;if(n==="generic"&&kt(r.parent,e))return jn;let s=P(r),i=Me(t,e);if($n(r)||On(r,e))return a=>Kn(s,a,{parseWithTs:i});if(n.startsWith("@")||n.startsWith("v-on:"))return a=>ra(s,a,{parseWithTs:i});if(n.startsWith(":")||n.startsWith("v-bind:"))return a=>na(s,a,{parseWithTs:i});if(n.startsWith("v-"))return a=>Jn(s,a,{parseWithTs:i})}function ra(t,e,{parseWithTs:r}){return Qn(t)?Jn(t,e,{parseWithTs:r}):T(t,e,{parser:r?"__vue_ts_event_binding":"__vue_event_binding"},j)}function na(t,e,{parseWithTs:r}){return T(t,e,{parser:r?"__vue_ts_expression":"__vue_expression"},j)}function Jn(t,e,{parseWithTs:r}){return T(t,e,{parser:r?"__ts_expression":"__js_expression"},j)}var Zn=ta;function sa(t,e){let{node:r}=t;if(r.value){if(/^PRETTIER_HTML_PLACEHOLDER_\d+_\d+_IN_JS$/u.test(e.originalText.slice(r.valueSpan.start.offset,r.valueSpan.end.offset))||e.parser==="lwc"&&r.value.startsWith("{")&&r.value.endsWith("}"))return[r.rawName,"=",r.value];for(let n of[Gn,Yn,Hn,Zn,qn]){let s=n(t,e);if(s)return ia(s)}}}function ia(t){return async(e,r,n,s)=>{let i=await t(e,r,n,s);if(i)return i=Dt(i,a=>typeof a=="string"?w(!1,a,'"',"""):a),[n.node.rawName,'="',_(i),'"']}}var es=sa;var ts=new Proxy(()=>{},{get:()=>ts}),Dr=ts;function aa(t){return Array.isArray(t)&&t.length>0}var qe=aa;function se(t){return t.sourceSpan.start.offset}function ie(t){return t.sourceSpan.end.offset}function Ze(t,e){return[t.isSelfClosing?"":oa(t,e),De(t,e)]}function oa(t,e){return t.lastChild&&we(t.lastChild)?"":[ua(t,e),Bt(t,e)]}function De(t,e){return(t.next?K(t.next):ye(t.parent))?"":[ve(t,e),W(t,e)]}function ua(t,e){return ye(t)?ve(t.lastChild,e):""}function W(t,e){return we(t)?Bt(t.parent,e):et(t)?Lt(t.next):""}function Bt(t,e){if(Dr(!t.isSelfClosing),rs(t,e))return"";switch(t.type){case"ieConditionalComment":return"";case"ieConditionalStartComment":return"]>";case"interpolation":return"}}";case"angularIcuExpression":return"}";case"element":if(t.isSelfClosing)return"/>";default:return">"}}function rs(t,e){return!t.isSelfClosing&&!t.endSourceSpan&&(Ee(t)||yt(t.parent,e))}function K(t){return t.prev&&t.prev.type!=="docType"&&t.type!=="angularControlFlowBlock"&&!$(t.prev)&&t.isLeadingSpaceSensitive&&!t.hasLeadingSpaces}function ye(t){var e;return((e=t.lastChild)==null?void 0:e.isTrailingSpaceSensitive)&&!t.lastChild.hasTrailingSpaces&&!$(bt(t.lastChild))&&!_e(t)}function we(t){return!t.next&&!t.hasTrailingSpaces&&t.isTrailingSpaceSensitive&&$(bt(t))}function et(t){return t.next&&!$(t.next)&&$(t)&&t.isTrailingSpaceSensitive&&!t.hasTrailingSpaces}function la(t){let e=t.trim().match(/^prettier-ignore-attribute(?:\s+(.+))?$/su);return e?e[1]?e[1].split(/\s+/u):!0:!1}function tt(t){return!t.prev&&t.isLeadingSpaceSensitive&&!t.hasLeadingSpaces}function ca(t,e,r){var f;let{node:n}=t;if(!qe(n.attrs))return n.isSelfClosing?" ":"";let s=((f=n.prev)==null?void 0:f.type)==="comment"&&la(n.prev.value),i=typeof s=="boolean"?()=>s:Array.isArray(s)?d=>s.includes(d.rawName):()=>!1,a=t.map(({node:d})=>i(d)?B(e.originalText.slice(se(d),ie(d))):r(),"attrs"),o=n.type==="element"&&n.fullName==="script"&&n.attrs.length===1&&n.attrs[0].fullName==="src"&&n.children.length===0,p=e.singleAttributePerLine&&n.attrs.length>1&&!Ae(n,e)?S:E,l=[k([o?" ":E,q(p,a)])];return n.firstChild&&tt(n.firstChild)||n.isSelfClosing&&ye(n.parent)||o?l.push(n.isSelfClosing?" ":""):l.push(e.bracketSameLine?n.isSelfClosing?" ":"":n.isSelfClosing?E:v),l}function pa(t){return t.firstChild&&tt(t.firstChild)?"":Ft(t)}function rt(t,e,r){let{node:n}=t;return[be(n,e),ca(t,e,r),n.isSelfClosing?"":pa(n)]}function be(t,e){return t.prev&&et(t.prev)?"":[z(t,e),Lt(t)]}function z(t,e){return tt(t)?Ft(t.parent):K(t)?ve(t.prev,e):""}function Lt(t){switch(t.type){case"ieConditionalComment":case"ieConditionalStartComment":return`<${t.rawName}`;default:return`<${t.rawName}`}}function Ft(t){switch(Dr(!t.isSelfClosing),t.type){case"ieConditionalComment":return"]>";case"element":if(t.condition)return">";default:return">"}}function ha(t,e){if(!t.endSourceSpan)return"";let r=t.startSourceSpan.end.offset;t.firstChild&&tt(t.firstChild)&&(r-=Ft(t).length);let n=t.endSourceSpan.start.offset;return t.lastChild&&we(t.lastChild)?n+=Bt(t,e).length:ye(t)&&(n-=ve(t.lastChild,e).length),e.originalText.slice(r,n)}var Nt=ha;var ma=new Set(["if","else if","for","switch","case"]);function fa(t,e){let{node:r}=t;switch(r.type){case"element":if(U(r)||r.type==="interpolation")return;if(!r.isSelfClosing&&Tt(r,e)){let n=gr(r,e);return n?async(s,i)=>{let a=Nt(r,e),o=/^\s*$/u.test(a),u="";return o||(u=await s(mr(a),{parser:n,__embeddedInHtml:!0}),o=u===""),[z(r,e),_(rt(t,e,i)),o?"":S,u,o?"":S,Ze(r,e),W(r,e)]}:void 0}break;case"text":if(U(r.parent)){let n=gr(r.parent,e);if(n)return async s=>{let i=n==="markdown"?Cr(r.value.replace(/^[^\S\n]*\n/u,"")):r.value,a={parser:n,__embeddedInHtml:!0};if(e.parser==="html"&&n==="babel"){let o="script",{attrMap:u}=r.parent;u&&(u.type==="module"||u.type==="text/babel"&&u["data-type"]==="module")&&(o="module"),a.__babelSourceType=o}return[ne,z(r,e),await s(i,a),W(r,e)]}}else if(r.parent.type==="interpolation")return async n=>{let s={__isInHtmlInterpolation:!0,__embeddedInHtml:!0};return e.parser==="angular"?s.parser="__ng_interpolation":e.parser==="vue"?s.parser=Me(t,e)?"__vue_ts_expression":"__vue_expression":s.parser="__js_expression",[k([E,await n(r.value,s)]),r.parent.next&&K(r.parent.next)?" ":E]};break;case"attribute":return es(t,e);case"front-matter":return n=>gn(r,n);case"angularControlFlowBlockParameters":return ma.has(t.parent.name)?Cn:void 0;case"angularLetDeclarationInitializer":return n=>T(r.value,n,{parser:"__ng_binding",__isInHtmlAttribute:!1})}}var ns=fa;var nt=null;function st(t){if(nt!==null&&typeof nt.property){let e=nt;return nt=st.prototype=null,e}return nt=st.prototype=t??Object.create(null),new st}var da=10;for(let t=0;t<=da;t++)st();function vr(t){return st(t)}function ga(t,e="type"){vr(t);function r(n){let s=n[e],i=t[s];if(!Array.isArray(i))throw Object.assign(new Error(`Missing visitor keys for '${s}'.`),{node:n});return i}return r}var ss=ga;var Ca={"front-matter":[],root:["children"],element:["attrs","children"],ieConditionalComment:["children"],ieConditionalStartComment:[],ieConditionalEndComment:[],interpolation:["children"],text:["children"],docType:[],comment:[],attribute:[],cdata:[],angularControlFlowBlock:["children","parameters"],angularControlFlowBlockParameters:["children"],angularControlFlowBlockParameter:[],angularLetDeclaration:["init"],angularLetDeclarationInitializer:[],angularIcuExpression:["cases"],angularIcuCase:["expression"]},is=Ca;var Sa=ss(is),as=Sa;function os(t){return/^\s*/u.test(t)}function us(t){return` -`+t}function te(t){return t.sourceSpan.start.offset}function re(t){return t.sourceSpan.end.offset}async function xi(t,e){if(t.lang==="yaml"){let r=t.value.trim(),n=r?await e(r,{parser:"yaml"}):"";return Yr([t.startDelimiter,S,n,n?S:"",t.endDelimiter])}}var Nn=xi;var Ge=()=>{};Ge.ok=Ge;Ge.strictEqual=Ge;var hr=Ge;function ki(t){return Array.isArray(t)&&t.length>0}var Pn=ki;function ze(t,e){return[t.isSelfClosing?"":Bi(t,e),Ye(t,e)]}function Bi(t,e){return t.lastChild&&ge(t.lastChild)?"":[Li(t,e),_t(t,e)]}function Ye(t,e){return(t.next?W(t.next):de(t.parent))?"":[me(t,e),O(t,e)]}function Li(t,e){return de(t)?me(t.lastChild,e):""}function O(t,e){return ge(t)?_t(t.parent,e):je(t)?Dt(t.next):""}function _t(t,e){if(hr(!t.isSelfClosing),In(t,e))return"";switch(t.type){case"ieConditionalComment":return"";case"ieConditionalStartComment":return"]>";case"interpolation":return"}}";case"element":if(t.isSelfClosing)return"/>";default:return">"}}function In(t,e){return!t.isSelfClosing&&!t.endSourceSpan&&(He(t)||dt(t.parent,e))}function W(t){return t.prev&&t.prev.type!=="docType"&&!L(t.prev)&&t.isLeadingSpaceSensitive&&!t.hasLeadingSpaces}function de(t){var e;return((e=t.lastChild)==null?void 0:e.isTrailingSpaceSensitive)&&!t.lastChild.hasTrailingSpaces&&!L(Ct(t.lastChild))&&!pe(t)}function ge(t){return!t.next&&!t.hasTrailingSpaces&&t.isTrailingSpaceSensitive&&L(Ct(t))}function je(t){return t.next&&!L(t.next)&&L(t)&&t.isTrailingSpaceSensitive&&!t.hasTrailingSpaces}function Fi(t){let e=t.trim().match(/^prettier-ignore-attribute(?:\s+(.+))?$/s);return e?e[1]?e[1].split(/\s+/):!0:!1}function Ke(t){return!t.prev&&t.isLeadingSpaceSensitive&&!t.hasLeadingSpaces}function Ni(t,e,r){var g;let{node:n}=t;if(!Pn(n.attrs))return n.isSelfClosing?" ":"";let s=((g=n.prev)==null?void 0:g.type)==="comment"&&Fi(n.prev.value),i=typeof s=="boolean"?()=>s:Array.isArray(s)?h=>s.includes(h.rawName):()=>!1,a=t.map(({node:h})=>i(h)?T(e.originalText.slice(te(h),re(h))):r(),"attrs"),u=n.type==="element"&&n.fullName==="script"&&n.attrs.length===1&&n.attrs[0].fullName==="src"&&n.children.length===0,p=e.singleAttributePerLine&&n.attrs.length>1&&!he(n,e)?S:_,c=[U([u?" ":_,Z(p,a)])];return n.firstChild&&Ke(n.firstChild)||n.isSelfClosing&&de(n.parent)||u?c.push(n.isSelfClosing?" ":""):c.push(e.bracketSameLine?n.isSelfClosing?" ":"":n.isSelfClosing?_:x),c}function Pi(t){return t.firstChild&&Ke(t.firstChild)?"":vt(t)}function Xe(t,e,r){let{node:n}=t;return[Qe(n,e),Ni(t,e,r),n.isSelfClosing?"":Pi(n)]}function Qe(t,e){return t.prev&&je(t.prev)?"":[q(t,e),Dt(t)]}function q(t,e){return Ke(t)?vt(t.parent):W(t)?me(t.prev,e):""}function Dt(t){switch(t.type){case"ieConditionalComment":case"ieConditionalStartComment":return`<${t.rawName}`;default:return`<${t.rawName}`}}function vt(t){switch(hr(!t.isSelfClosing),t.type){case"ieConditionalComment":return"]>";case"element":if(t.condition)return">";default:return">"}}var fr=new WeakMap;function Ii(t,e){let{root:r}=t;return fr.has(r)||fr.set(r,r.children.some(n=>bn(n,e)&&["ts","typescript"].includes(n.attrMap.lang))),fr.get(r)}var Ne=Ii;function Ri(t,e){if(!t.endSourceSpan)return"";let r=t.startSourceSpan.end.offset;t.firstChild&&Ke(t.firstChild)&&(r-=vt(t).length);let n=t.endSourceSpan.start.offset;return t.lastChild&&ge(t.lastChild)?n+=_t(t,e).length:de(t)&&(n-=me(t.lastChild,e).length),e.originalText.slice(r,n)}var yt=Ri;function Rn(t){return t===" "||t===` -`||t==="\f"||t==="\r"||t===" "}var $i=/^[ \t\n\r\u000c]+/,Mi=/^[, \t\n\r\u000c]+/,Oi=/^[^ \t\n\r\u000c]+/,qi=/[,]+$/,$n=/^\d+$/,Hi=/^-?(?:[0-9]+|[0-9]*\.[0-9]+)(?:[eE][+-]?[0-9]+)?$/;function Vi(t){let e=t.length,r,n,s,i,a,u=0,o;function p(C){let E,A=C.exec(t.substring(u));if(A)return[E]=A,u+=E.length,E}let c=[];for(;;){if(p(Mi),u>=e){if(c.length===0)throw new Error("Must contain one or more image candidate strings.");return c}o=u,r=p(Oi),n=[],r.slice(-1)===","?(r=r.replace(qi,""),h()):g()}function g(){for(p($i),s="",i="in descriptor";;){if(a=t.charAt(u),i==="in descriptor")if(Rn(a))s&&(n.push(s),s="",i="after descriptor");else if(a===","){u+=1,s&&n.push(s),h();return}else if(a==="(")s+=a,i="in parens";else if(a===""){s&&n.push(s),h();return}else s+=a;else if(i==="in parens")if(a===")")s+=a,i="in descriptor";else if(a===""){n.push(s),h();return}else s+=a;else if(i==="after descriptor"&&!Rn(a))if(a===""){h();return}else i="in descriptor",u-=1;u+=1}}function h(){let C=!1,E,A,B,y,l={},d,b,I,w,$;for(y=0;y{s=n(a,u)});let i=await e(t,r,e);return s?D(i):Ce(i)}function Ui(t){if(t.node.fullName==="srcset"&&(t.parent.fullName==="img"||t.parent.fullName==="source"))return()=>Wi(N(t.node))}function Wi(t){let e=Mn(t),r=e.some(({width:h})=>h),n=e.some(({height:h})=>h),s=e.some(({density:h})=>h);if(r+n+s>1)throw new Error("Mixed descriptor in srcset is not supported");let i=r?"width":n?"height":"density",a=r?"w":n?"h":"x",u=e.map(h=>h.source.value),o=Math.max(...u.map(h=>h.length)),p=e.map(h=>h[i]?String(h[i].value):""),c=p.map(h=>{let C=h.indexOf(".");return C===-1?h.length:C}),g=Math.max(...c);return Ce(Z([",",_],u.map((h,C)=>{let E=[h],A=p[C];if(A){let B=o-h.length+1,y=g-c[C],l=" ".repeat(B+y);E.push(le(l," "),A+a)}return E})))}var On=Ui;function Gi(t,e){let{node:r}=t,n=N(r);if(r.fullName==="class"&&!e.parentParser&&!n.includes("{{"))return()=>n.trim().split(/\s+/).join(" ")}var qn=Gi;function Hn(t,e){let{node:r}=t,n=N(t.node).trim();if(r.fullName==="style"&&!e.parentParser&&!n.includes("{{"))return async s=>Ce(await s(n,{parser:"css",__isHTMLStyleAttribute:!0}))}async function Vn(t,e,r,n){let s=N(r.node),{left:i,operator:a,right:u}=zi(s),o=Ne(r,n);return[D(await P(`function _(${i}) {}`,t,{parser:o?"babel-ts":"babel",__isVueForBindingLeft:!0}))," ",a," ",await P(u,t,{parser:o?"__ts_expression":"__js_expression"})]}function zi(t){let e=/(.*?)\s+(in|of)\s+(.*)/s,r=/,([^,\]}]*)(?:,([^,\]}]*))?$/,n=/^\(|\)$/g,s=t.match(e);if(!s)return;let i={};if(i.for=s[3].trim(),!i.for)return;let a=v(!1,s[1].trim(),n,""),u=a.match(r);u?(i.alias=a.replace(r,""),i.iterator1=u[1].trim(),u[2]&&(i.iterator2=u[2].trim())):i.alias=a;let o=[i.alias,i.iterator1,i.iterator2];if(!o.some((p,c)=>!p&&(c===0||o.slice(c+1).some(Boolean))))return{left:o.filter(Boolean).join(","),operator:s[2],right:i.for}}function Un(t,e,{parseWithTs:r}){return P(`function _(${t}) {}`,e,{parser:r?"babel-ts":"babel",__isVueBindings:!0})}function Wn(t){let e=/^(?:[\w$]+|\([^)]*\))\s*=>|^function\s*\(/,r=/^[$A-Z_a-z][\w$]*(?:\.[$A-Z_a-z][\w$]*|\['[^']*']|\["[^"]*"]|\[\d+]|\[[$A-Z_a-z][\w$]*])*$/,n=t.trim();return e.test(n)||r.test(n)}function Yi(t,e){if(e.parser!=="vue")return;let{node:r}=t,n=r.fullName;if(n==="v-for")return Vn;let s=N(r),i=Ne(t,e);if(vn(r)||yn(r,e))return a=>Un(s,a,{parseWithTs:i});if(n.startsWith("@")||n.startsWith("v-on:"))return a=>ji(s,a,{parseWithTs:i});if(n.startsWith(":")||n.startsWith("v-bind:"))return a=>Ki(s,a,{parseWithTs:i});if(n.startsWith("v-"))return a=>Gn(s,a,{parseWithTs:i})}function ji(t,e,{parseWithTs:r}){return Wn(t)?Gn(t,e,{parseWithTs:r}):P(t,e,{parser:r?"__vue_ts_event_binding":"__vue_event_binding"},Pe)}function Ki(t,e,{parseWithTs:r}){return P(t,e,{parser:r?"__vue_ts_expression":"__vue_expression"},Pe)}function Gn(t,e,{parseWithTs:r}){return P(t,e,{parser:r?"__ts_expression":"__js_expression"},Pe)}var zn=Yi;var mr=/{{(.+?)}}/s;async function Yn(t,e){let r=[];for(let[n,s]of t.split(mr).entries())if(n%2===0)r.push(T(s));else try{r.push(D(["{{",U([_,await P(s,e,{parser:"__ng_interpolation",__isInHtmlInterpolation:!0,trailingComma:"none"})]),_,"}}"]))}catch{r.push("{{",T(s),"}}")}return r}function dr({parser:t}){return(e,r,n)=>P(N(n.node),e,{parser:t,trailingComma:"none"},Pe)}var Xi=dr({parser:"__ng_action"}),Qi=dr({parser:"__ng_binding"}),Ji=dr({parser:"__ng_directive"});function Zi(t,e){if(e.parser!=="angular")return;let{node:r}=t,n=r.fullName;if(n.startsWith("(")&&n.endsWith(")")||n.startsWith("on-"))return Xi;if(n.startsWith("[")&&n.endsWith("]")||/^bind(?:on)?-/.test(n)||/^ng-(?:if|show|hide|class|style)$/.test(n))return Qi;if(n.startsWith("*"))return Ji;let s=N(r);if(/^i18n(?:-.+)?$/.test(n))return()=>Ce(ht(Et(r,s.trim())),!s.includes("@@"));if(mr.test(s))return i=>Yn(s,i)}var jn=Zi;function ea(t,e){let{node:r}=t;if(r.value){if(/^PRETTIER_HTML_PLACEHOLDER_\d+_\d+_IN_JS$/.test(e.originalText.slice(r.valueSpan.start.offset,r.valueSpan.end.offset))||e.parser==="lwc"&&r.value.startsWith("{")&&r.value.endsWith("}"))return[r.rawName,"=",r.value];for(let n of[On,Hn,qn,zn,jn]){let s=n(t,e);if(s)return ta(s)}}}function ta(t){return async(e,r,n,s)=>{let i=await t(e,r,n,s);if(i)return i=ft(i,a=>typeof a=="string"?v(!1,a,'"',"""):a),[n.node.rawName,'="',D(i),'"']}}var Kn=ea;function ra(t,e){let{node:r}=t;switch(r.type){case"element":if(M(r)||r.type==="interpolation")return;if(!r.isSelfClosing&&St(r,e)){let n=ir(r,e);return n?async(s,i)=>{let a=yt(r,e),u=/^\s*$/.test(a),o="";return u||(o=await s(rr(a),{parser:n,__embeddedInHtml:!0}),u=o===""),[q(r,e),D(Xe(t,e,i)),u?"":S,o,u?"":S,ze(r,e),O(r,e)]}:void 0}break;case"text":if(M(r.parent)){let n=ir(r.parent,e);if(n)return async s=>{let i=n==="markdown"?ar(r.value.replace(/^[^\S\n]*\n/,"")):r.value,a={parser:n,__embeddedInHtml:!0};if(e.parser==="html"&&n==="babel"){let u="script",{attrMap:o}=r.parent;o&&(o.type==="module"||o.type==="text/babel"&&o["data-type"]==="module")&&(u="module"),a.__babelSourceType=u}return[J,q(r,e),await s(i,a,{stripTrailingHardline:!0}),O(r,e)]}}else if(r.parent.type==="interpolation")return async n=>{let s={__isInHtmlInterpolation:!0,__embeddedInHtml:!0};return e.parser==="angular"?(s.parser="__ng_interpolation",s.trailingComma="none"):e.parser==="vue"?s.parser=Ne(t,e)?"__vue_ts_expression":"__vue_expression":s.parser="__js_expression",[U([_,await n(r.value,s)]),r.parent.next&&W(r.parent.next)?" ":_]};break;case"attribute":return Kn(t,e);case"front-matter":return n=>Nn(r,n)}}var Xn=ra;function Je(t,e,r){let n=t.node;return He(n)?[q(n,e),T(e.originalText.slice(te(n)+(n.prev&&je(n.prev)?Dt(n).length:0),re(n)-(n.next&&W(n.next)?me(n,e).length:0))),O(n,e)]:r()}function bt(t,e){return L(t)&&L(e)?t.isTrailingSpaceSensitive?t.hasTrailingSpaces?gt(e)?S:_:"":gt(e)?S:x:je(t)&&(He(e)||e.firstChild||e.isSelfClosing||e.type==="element"&&e.attrs.length>0)||t.type==="element"&&t.isSelfClosing&&W(e)?"":!e.isLeadingSpaceSensitive||gt(e)||W(e)&&t.lastChild&&ge(t.lastChild)&&t.lastChild.lastChild&&ge(t.lastChild.lastChild)?S:e.hasLeadingSpaces?_:x}function wt(t,e,r){let{node:n}=t;if(sr(n))return[J,...t.map(i=>{let a=i.node,u=a.prev?bt(a.prev,a):"";return[u?[u,Ve(a.prev)?S:""]:"",Je(i,e,r)]},"children")];let s=n.children.map(()=>Symbol(""));return t.map((i,a)=>{let u=i.node;if(L(u)){if(u.prev&&L(u.prev)){let E=bt(u.prev,u);if(E)return Ve(u.prev)?[S,S,Je(i,e,r)]:[E,Je(i,e,r)]}return Je(i,e,r)}let o=[],p=[],c=[],g=[],h=u.prev?bt(u.prev,u):"",C=u.next?bt(u,u.next):"";return h&&(Ve(u.prev)?o.push(S,S):h===S?o.push(S):L(u.prev)?p.push(h):p.push(le("",x,{groupId:s[a-1]}))),C&&(Ve(u)?L(u.next)&&g.push(S,S):C===S?L(u.next)&&g.push(S):c.push(C)),[...o,D([...p,D([Je(i,e,r),...c],{id:s[a]})]),...g]},"children")}function Qn(t,e,r){let{node:n}=t;if(dt(n,e))return[q(n,e),D(Xe(t,e,r)),T(yt(n,e)),...ze(n,e),O(n,e)];let s=n.children.length===1&&n.firstChild.type==="interpolation"&&n.firstChild.isLeadingSpaceSensitive&&!n.firstChild.hasLeadingSpaces&&n.lastChild.isTrailingSpaceSensitive&&!n.lastChild.hasTrailingSpaces,i=Symbol("element-attr-group-id"),a=c=>D([D(Xe(t,e,r),{id:i}),c,ze(n,e)]),u=c=>s?jr(c,{groupId:i}):(M(n)||We(n,e))&&n.parent.type==="root"&&e.parser==="vue"&&!e.vueIndentScriptAndStyle?c:U(c),o=()=>s?le(x,"",{groupId:i}):n.firstChild.hasLeadingSpaces&&n.firstChild.isLeadingSpaceSensitive?_:n.firstChild.type==="text"&&n.isWhitespaceSensitive&&n.isIndentationSensitive?zr(x):x,p=()=>(n.next?W(n.next):de(n.parent))?n.lastChild.hasTrailingSpaces&&n.lastChild.isTrailingSpaceSensitive?" ":"":s?le(x,"",{groupId:i}):n.lastChild.hasTrailingSpaces&&n.lastChild.isTrailingSpaceSensitive?_:(n.lastChild.type==="comment"||n.lastChild.type==="text"&&n.isWhitespaceSensitive&&n.isIndentationSensitive)&&new RegExp(`\\n[\\t ]{${e.tabWidth*(t.ancestors.length-1)}}$`).test(n.lastChild.value)?"":x;return n.children.length===0?a(n.hasDanglingSpaces&&n.isDanglingSpaceSensitive?_:""):a([dn(n)?J:"",u([o(),wt(t,e,r)]),p()])}var Ze=null;function et(t){if(Ze!==null&&typeof Ze.property){let e=Ze;return Ze=et.prototype=null,e}return Ze=et.prototype=t??Object.create(null),new et}var na=10;for(let t=0;t<=na;t++)et();function gr(t){return et(t)}function sa(t,e="type"){gr(t);function r(n){let s=n[e],i=t[s];if(!Array.isArray(i))throw Object.assign(new Error(`Missing visitor keys for '${s}'.`),{node:n});return i}return r}var Jn=sa;var ia={"front-matter":[],root:["children"],element:["attrs","children"],ieConditionalComment:["children"],ieConditionalStartComment:[],ieConditionalEndComment:[],interpolation:["children"],text:["children"],docType:[],comment:[],attribute:[],cdata:[]},Zn=ia;var aa=Jn(Zn),es=aa;function ua(t,e,r){let{node:n}=t;switch(n.type){case"front-matter":return T(n.raw);case"root":return e.__onHtmlRoot&&e.__onHtmlRoot(n),[D(wt(t,e,r)),S];case"element":case"ieConditionalComment":return Qn(t,e,r);case"ieConditionalStartComment":case"ieConditionalEndComment":return[Qe(n),Ye(n)];case"interpolation":return[Qe(n,e),...t.map(r,"children"),Ye(n,e)];case"text":{if(n.parent.type==="interpolation"){let i=/\n[^\S\n]*$/,a=i.test(n.value),u=a?n.value.replace(i,""):n.value;return[T(u),a?S:""]}let s=Xr([q(n,e),...Et(n),O(n,e)]);return Array.isArray(s)?ht(s):s}case"docType":return[D([Qe(n,e)," ",v(!1,n.value.replace(/^html\b/i,"html"),/\s+/g," ")]),Ye(n,e)];case"comment":return[q(n,e),T(e.originalText.slice(te(n),re(n))),O(n,e)];case"attribute":{if(n.value===null)return n.rawName;let s=ur(n.value),i=Zr(s,'"');return[n.rawName,"=",i,T(i==='"'?v(!1,s,'"',"""):v(!1,s,"'","'")),i]}case"cdata":default:throw new Qr(n,"HTML")}}var oa={preprocess:Bn,print:ua,insertPragma:Fn,massageAstNode:tn,embed:Xn,getVisitorKeys:es},ts=oa;var Qt={};qr(Qt,{angular:()=>tu,html:()=>eu,lwc:()=>nu,vue:()=>ru});var mc=new RegExp(`(\\:not\\()|(([\\.\\#]?)[-\\w]+)|(?:\\[([-.\\w*\\\\$]+)(?:=(["']?)([^\\]"']*)\\5)?\\])|(\\))|(\\s*,\\s*)`,"g");var rs;(function(t){t[t.Emulated=0]="Emulated",t[t.None=2]="None",t[t.ShadowDom=3]="ShadowDom"})(rs||(rs={}));var ns;(function(t){t[t.OnPush=0]="OnPush",t[t.Default=1]="Default"})(ns||(ns={}));var Cr={name:"custom-elements"},Sr={name:"no-errors-schema"};var j;(function(t){t[t.NONE=0]="NONE",t[t.HTML=1]="HTML",t[t.STYLE=2]="STYLE",t[t.SCRIPT=3]="SCRIPT",t[t.URL=4]="URL",t[t.RESOURCE_URL=5]="RESOURCE_URL"})(j||(j={}));var ss;(function(t){t[t.Error=0]="Error",t[t.Warning=1]="Warning",t[t.Ignore=2]="Ignore"})(ss||(ss={}));var k;(function(t){t[t.RAW_TEXT=0]="RAW_TEXT",t[t.ESCAPABLE_RAW_TEXT=1]="ESCAPABLE_RAW_TEXT",t[t.PARSABLE_DATA=2]="PARSABLE_DATA"})(k||(k={}));function tt(t){if(t[0]!=":")return[null,t];let e=t.indexOf(":",1);if(e===-1)throw new Error(`Unsupported format "${t}" expecting ":namespace:name"`);return[t.slice(1,e),t.slice(e+1)]}function Er(t){return tt(t)[1]==="ng-container"}function Ar(t){return tt(t)[1]==="ng-content"}function Ie(t){return t===null?null:tt(t)[0]}function Re(t,e){return t?`:${t}:${e}`:e}var xt;function _r(){return xt||(xt={},Tt(j.HTML,["iframe|srcdoc","*|innerHTML","*|outerHTML"]),Tt(j.STYLE,["*|style"]),Tt(j.URL,["*|formAction","area|href","area|ping","audio|src","a|href","a|ping","blockquote|cite","body|background","del|cite","form|action","img|src","input|src","ins|cite","q|cite","source|src","track|src","video|poster","video|src"]),Tt(j.RESOURCE_URL,["applet|code","applet|codebase","base|href","embed|src","frame|src","head|profile","html|manifest","iframe|src","link|href","media|src","object|codebase","object|data","script|src"])),xt}function Tt(t,e){for(let r of e)xt[r.toLowerCase()]=t}var kt=class{};var la="boolean",ca="number",pa="string",ha="object",fa=["[Element]|textContent,%ariaAtomic,%ariaAutoComplete,%ariaBusy,%ariaChecked,%ariaColCount,%ariaColIndex,%ariaColSpan,%ariaCurrent,%ariaDescription,%ariaDisabled,%ariaExpanded,%ariaHasPopup,%ariaHidden,%ariaKeyShortcuts,%ariaLabel,%ariaLevel,%ariaLive,%ariaModal,%ariaMultiLine,%ariaMultiSelectable,%ariaOrientation,%ariaPlaceholder,%ariaPosInSet,%ariaPressed,%ariaReadOnly,%ariaRelevant,%ariaRequired,%ariaRoleDescription,%ariaRowCount,%ariaRowIndex,%ariaRowSpan,%ariaSelected,%ariaSetSize,%ariaSort,%ariaValueMax,%ariaValueMin,%ariaValueNow,%ariaValueText,%classList,className,elementTiming,id,innerHTML,*beforecopy,*beforecut,*beforepaste,*fullscreenchange,*fullscreenerror,*search,*webkitfullscreenchange,*webkitfullscreenerror,outerHTML,%part,#scrollLeft,#scrollTop,slot,*message,*mozfullscreenchange,*mozfullscreenerror,*mozpointerlockchange,*mozpointerlockerror,*webglcontextcreationerror,*webglcontextlost,*webglcontextrestored","[HTMLElement]^[Element]|accessKey,autocapitalize,!autofocus,contentEditable,dir,!draggable,enterKeyHint,!hidden,innerText,inputMode,lang,nonce,*abort,*animationend,*animationiteration,*animationstart,*auxclick,*beforexrselect,*blur,*cancel,*canplay,*canplaythrough,*change,*click,*close,*contextmenu,*copy,*cuechange,*cut,*dblclick,*drag,*dragend,*dragenter,*dragleave,*dragover,*dragstart,*drop,*durationchange,*emptied,*ended,*error,*focus,*formdata,*gotpointercapture,*input,*invalid,*keydown,*keypress,*keyup,*load,*loadeddata,*loadedmetadata,*loadstart,*lostpointercapture,*mousedown,*mouseenter,*mouseleave,*mousemove,*mouseout,*mouseover,*mouseup,*mousewheel,*paste,*pause,*play,*playing,*pointercancel,*pointerdown,*pointerenter,*pointerleave,*pointermove,*pointerout,*pointerover,*pointerrawupdate,*pointerup,*progress,*ratechange,*reset,*resize,*scroll,*securitypolicyviolation,*seeked,*seeking,*select,*selectionchange,*selectstart,*slotchange,*stalled,*submit,*suspend,*timeupdate,*toggle,*transitioncancel,*transitionend,*transitionrun,*transitionstart,*volumechange,*waiting,*webkitanimationend,*webkitanimationiteration,*webkitanimationstart,*webkittransitionend,*wheel,outerText,!spellcheck,%style,#tabIndex,title,!translate,virtualKeyboardPolicy","abbr,address,article,aside,b,bdi,bdo,cite,content,code,dd,dfn,dt,em,figcaption,figure,footer,header,hgroup,i,kbd,main,mark,nav,noscript,rb,rp,rt,rtc,ruby,s,samp,section,small,strong,sub,sup,u,var,wbr^[HTMLElement]|accessKey,autocapitalize,!autofocus,contentEditable,dir,!draggable,enterKeyHint,!hidden,innerText,inputMode,lang,nonce,*abort,*animationend,*animationiteration,*animationstart,*auxclick,*beforexrselect,*blur,*cancel,*canplay,*canplaythrough,*change,*click,*close,*contextmenu,*copy,*cuechange,*cut,*dblclick,*drag,*dragend,*dragenter,*dragleave,*dragover,*dragstart,*drop,*durationchange,*emptied,*ended,*error,*focus,*formdata,*gotpointercapture,*input,*invalid,*keydown,*keypress,*keyup,*load,*loadeddata,*loadedmetadata,*loadstart,*lostpointercapture,*mousedown,*mouseenter,*mouseleave,*mousemove,*mouseout,*mouseover,*mouseup,*mousewheel,*paste,*pause,*play,*playing,*pointercancel,*pointerdown,*pointerenter,*pointerleave,*pointermove,*pointerout,*pointerover,*pointerrawupdate,*pointerup,*progress,*ratechange,*reset,*resize,*scroll,*securitypolicyviolation,*seeked,*seeking,*select,*selectionchange,*selectstart,*slotchange,*stalled,*submit,*suspend,*timeupdate,*toggle,*transitioncancel,*transitionend,*transitionrun,*transitionstart,*volumechange,*waiting,*webkitanimationend,*webkitanimationiteration,*webkitanimationstart,*webkittransitionend,*wheel,outerText,!spellcheck,%style,#tabIndex,title,!translate,virtualKeyboardPolicy","media^[HTMLElement]|!autoplay,!controls,%controlsList,%crossOrigin,#currentTime,!defaultMuted,#defaultPlaybackRate,!disableRemotePlayback,!loop,!muted,*encrypted,*waitingforkey,#playbackRate,preload,!preservesPitch,src,%srcObject,#volume",":svg:^[HTMLElement]|!autofocus,nonce,*abort,*animationend,*animationiteration,*animationstart,*auxclick,*beforexrselect,*blur,*cancel,*canplay,*canplaythrough,*change,*click,*close,*contextmenu,*copy,*cuechange,*cut,*dblclick,*drag,*dragend,*dragenter,*dragleave,*dragover,*dragstart,*drop,*durationchange,*emptied,*ended,*error,*focus,*formdata,*gotpointercapture,*input,*invalid,*keydown,*keypress,*keyup,*load,*loadeddata,*loadedmetadata,*loadstart,*lostpointercapture,*mousedown,*mouseenter,*mouseleave,*mousemove,*mouseout,*mouseover,*mouseup,*mousewheel,*paste,*pause,*play,*playing,*pointercancel,*pointerdown,*pointerenter,*pointerleave,*pointermove,*pointerout,*pointerover,*pointerrawupdate,*pointerup,*progress,*ratechange,*reset,*resize,*scroll,*securitypolicyviolation,*seeked,*seeking,*select,*selectionchange,*selectstart,*slotchange,*stalled,*submit,*suspend,*timeupdate,*toggle,*transitioncancel,*transitionend,*transitionrun,*transitionstart,*volumechange,*waiting,*webkitanimationend,*webkitanimationiteration,*webkitanimationstart,*webkittransitionend,*wheel,%style,#tabIndex",":svg:graphics^:svg:|",":svg:animation^:svg:|*begin,*end,*repeat",":svg:geometry^:svg:|",":svg:componentTransferFunction^:svg:|",":svg:gradient^:svg:|",":svg:textContent^:svg:graphics|",":svg:textPositioning^:svg:textContent|","a^[HTMLElement]|charset,coords,download,hash,host,hostname,href,hreflang,name,password,pathname,ping,port,protocol,referrerPolicy,rel,%relList,rev,search,shape,target,text,type,username","area^[HTMLElement]|alt,coords,download,hash,host,hostname,href,!noHref,password,pathname,ping,port,protocol,referrerPolicy,rel,%relList,search,shape,target,username","audio^media|","br^[HTMLElement]|clear","base^[HTMLElement]|href,target","body^[HTMLElement]|aLink,background,bgColor,link,*afterprint,*beforeprint,*beforeunload,*blur,*error,*focus,*hashchange,*languagechange,*load,*message,*messageerror,*offline,*online,*pagehide,*pageshow,*popstate,*rejectionhandled,*resize,*scroll,*storage,*unhandledrejection,*unload,text,vLink","button^[HTMLElement]|!disabled,formAction,formEnctype,formMethod,!formNoValidate,formTarget,name,type,value","canvas^[HTMLElement]|#height,#width","content^[HTMLElement]|select","dl^[HTMLElement]|!compact","data^[HTMLElement]|value","datalist^[HTMLElement]|","details^[HTMLElement]|!open","dialog^[HTMLElement]|!open,returnValue","dir^[HTMLElement]|!compact","div^[HTMLElement]|align","embed^[HTMLElement]|align,height,name,src,type,width","fieldset^[HTMLElement]|!disabled,name","font^[HTMLElement]|color,face,size","form^[HTMLElement]|acceptCharset,action,autocomplete,encoding,enctype,method,name,!noValidate,target","frame^[HTMLElement]|frameBorder,longDesc,marginHeight,marginWidth,name,!noResize,scrolling,src","frameset^[HTMLElement]|cols,*afterprint,*beforeprint,*beforeunload,*blur,*error,*focus,*hashchange,*languagechange,*load,*message,*messageerror,*offline,*online,*pagehide,*pageshow,*popstate,*rejectionhandled,*resize,*scroll,*storage,*unhandledrejection,*unload,rows","hr^[HTMLElement]|align,color,!noShade,size,width","head^[HTMLElement]|","h1,h2,h3,h4,h5,h6^[HTMLElement]|align","html^[HTMLElement]|version","iframe^[HTMLElement]|align,allow,!allowFullscreen,!allowPaymentRequest,csp,frameBorder,height,loading,longDesc,marginHeight,marginWidth,name,referrerPolicy,%sandbox,scrolling,src,srcdoc,width","img^[HTMLElement]|align,alt,border,%crossOrigin,decoding,#height,#hspace,!isMap,loading,longDesc,lowsrc,name,referrerPolicy,sizes,src,srcset,useMap,#vspace,#width","input^[HTMLElement]|accept,align,alt,autocomplete,!checked,!defaultChecked,defaultValue,dirName,!disabled,%files,formAction,formEnctype,formMethod,!formNoValidate,formTarget,#height,!incremental,!indeterminate,max,#maxLength,min,#minLength,!multiple,name,pattern,placeholder,!readOnly,!required,selectionDirection,#selectionEnd,#selectionStart,#size,src,step,type,useMap,value,%valueAsDate,#valueAsNumber,#width","li^[HTMLElement]|type,#value","label^[HTMLElement]|htmlFor","legend^[HTMLElement]|align","link^[HTMLElement]|as,charset,%crossOrigin,!disabled,href,hreflang,imageSizes,imageSrcset,integrity,media,referrerPolicy,rel,%relList,rev,%sizes,target,type","map^[HTMLElement]|name","marquee^[HTMLElement]|behavior,bgColor,direction,height,#hspace,#loop,#scrollAmount,#scrollDelay,!trueSpeed,#vspace,width","menu^[HTMLElement]|!compact","meta^[HTMLElement]|content,httpEquiv,media,name,scheme","meter^[HTMLElement]|#high,#low,#max,#min,#optimum,#value","ins,del^[HTMLElement]|cite,dateTime","ol^[HTMLElement]|!compact,!reversed,#start,type","object^[HTMLElement]|align,archive,border,code,codeBase,codeType,data,!declare,height,#hspace,name,standby,type,useMap,#vspace,width","optgroup^[HTMLElement]|!disabled,label","option^[HTMLElement]|!defaultSelected,!disabled,label,!selected,text,value","output^[HTMLElement]|defaultValue,%htmlFor,name,value","p^[HTMLElement]|align","param^[HTMLElement]|name,type,value,valueType","picture^[HTMLElement]|","pre^[HTMLElement]|#width","progress^[HTMLElement]|#max,#value","q,blockquote,cite^[HTMLElement]|","script^[HTMLElement]|!async,charset,%crossOrigin,!defer,event,htmlFor,integrity,!noModule,%referrerPolicy,src,text,type","select^[HTMLElement]|autocomplete,!disabled,#length,!multiple,name,!required,#selectedIndex,#size,value","slot^[HTMLElement]|name","source^[HTMLElement]|#height,media,sizes,src,srcset,type,#width","span^[HTMLElement]|","style^[HTMLElement]|!disabled,media,type","caption^[HTMLElement]|align","th,td^[HTMLElement]|abbr,align,axis,bgColor,ch,chOff,#colSpan,headers,height,!noWrap,#rowSpan,scope,vAlign,width","col,colgroup^[HTMLElement]|align,ch,chOff,#span,vAlign,width","table^[HTMLElement]|align,bgColor,border,%caption,cellPadding,cellSpacing,frame,rules,summary,%tFoot,%tHead,width","tr^[HTMLElement]|align,bgColor,ch,chOff,vAlign","tfoot,thead,tbody^[HTMLElement]|align,ch,chOff,vAlign","template^[HTMLElement]|","textarea^[HTMLElement]|autocomplete,#cols,defaultValue,dirName,!disabled,#maxLength,#minLength,name,placeholder,!readOnly,!required,#rows,selectionDirection,#selectionEnd,#selectionStart,value,wrap","time^[HTMLElement]|dateTime","title^[HTMLElement]|text","track^[HTMLElement]|!default,kind,label,src,srclang","ul^[HTMLElement]|!compact,type","unknown^[HTMLElement]|","video^media|!disablePictureInPicture,#height,*enterpictureinpicture,*leavepictureinpicture,!playsInline,poster,#width",":svg:a^:svg:graphics|",":svg:animate^:svg:animation|",":svg:animateMotion^:svg:animation|",":svg:animateTransform^:svg:animation|",":svg:circle^:svg:geometry|",":svg:clipPath^:svg:graphics|",":svg:defs^:svg:graphics|",":svg:desc^:svg:|",":svg:discard^:svg:|",":svg:ellipse^:svg:geometry|",":svg:feBlend^:svg:|",":svg:feColorMatrix^:svg:|",":svg:feComponentTransfer^:svg:|",":svg:feComposite^:svg:|",":svg:feConvolveMatrix^:svg:|",":svg:feDiffuseLighting^:svg:|",":svg:feDisplacementMap^:svg:|",":svg:feDistantLight^:svg:|",":svg:feDropShadow^:svg:|",":svg:feFlood^:svg:|",":svg:feFuncA^:svg:componentTransferFunction|",":svg:feFuncB^:svg:componentTransferFunction|",":svg:feFuncG^:svg:componentTransferFunction|",":svg:feFuncR^:svg:componentTransferFunction|",":svg:feGaussianBlur^:svg:|",":svg:feImage^:svg:|",":svg:feMerge^:svg:|",":svg:feMergeNode^:svg:|",":svg:feMorphology^:svg:|",":svg:feOffset^:svg:|",":svg:fePointLight^:svg:|",":svg:feSpecularLighting^:svg:|",":svg:feSpotLight^:svg:|",":svg:feTile^:svg:|",":svg:feTurbulence^:svg:|",":svg:filter^:svg:|",":svg:foreignObject^:svg:graphics|",":svg:g^:svg:graphics|",":svg:image^:svg:graphics|decoding",":svg:line^:svg:geometry|",":svg:linearGradient^:svg:gradient|",":svg:mpath^:svg:|",":svg:marker^:svg:|",":svg:mask^:svg:|",":svg:metadata^:svg:|",":svg:path^:svg:geometry|",":svg:pattern^:svg:|",":svg:polygon^:svg:geometry|",":svg:polyline^:svg:geometry|",":svg:radialGradient^:svg:gradient|",":svg:rect^:svg:geometry|",":svg:svg^:svg:graphics|#currentScale,#zoomAndPan",":svg:script^:svg:|type",":svg:set^:svg:animation|",":svg:stop^:svg:|",":svg:style^:svg:|!disabled,media,title,type",":svg:switch^:svg:graphics|",":svg:symbol^:svg:|",":svg:tspan^:svg:textPositioning|",":svg:text^:svg:textPositioning|",":svg:textPath^:svg:textContent|",":svg:title^:svg:|",":svg:use^:svg:graphics|",":svg:view^:svg:|#zoomAndPan","data^[HTMLElement]|value","keygen^[HTMLElement]|!autofocus,challenge,!disabled,form,keytype,name","menuitem^[HTMLElement]|type,label,icon,!disabled,!checked,radiogroup,!default","summary^[HTMLElement]|","time^[HTMLElement]|dateTime",":svg:cursor^:svg:|"],is=new Map(Object.entries({class:"className",for:"htmlFor",formaction:"formAction",innerHtml:"innerHTML",readonly:"readOnly",tabindex:"tabIndex"})),ma=Array.from(is).reduce((t,[e,r])=>(t.set(e,r),t),new Map),Bt=class extends kt{constructor(){super(),this._schema=new Map,this._eventSchema=new Map,fa.forEach(e=>{let r=new Map,n=new Set,[s,i]=e.split("|"),a=i.split(","),[u,o]=s.split("^");u.split(",").forEach(c=>{this._schema.set(c.toLowerCase(),r),this._eventSchema.set(c.toLowerCase(),n)});let p=o&&this._schema.get(o.toLowerCase());if(p){for(let[c,g]of p)r.set(c,g);for(let c of this._eventSchema.get(o.toLowerCase()))n.add(c)}a.forEach(c=>{if(c.length>0)switch(c[0]){case"*":n.add(c.substring(1));break;case"!":r.set(c.substring(1),la);break;case"#":r.set(c.substring(1),ca);break;case"%":r.set(c.substring(1),ha);break;default:r.set(c,pa)}})})}hasProperty(e,r,n){if(n.some(i=>i.name===Sr.name))return!0;if(e.indexOf("-")>-1){if(Er(e)||Ar(e))return!1;if(n.some(i=>i.name===Cr.name))return!0}return(this._schema.get(e.toLowerCase())||this._schema.get("unknown")).has(r)}hasElement(e,r){return r.some(n=>n.name===Sr.name)||e.indexOf("-")>-1&&(Er(e)||Ar(e)||r.some(n=>n.name===Cr.name))?!0:this._schema.has(e.toLowerCase())}securityContext(e,r,n){n&&(r=this.getMappedPropName(r)),e=e.toLowerCase(),r=r.toLowerCase();let s=_r()[e+"|"+r];return s||(s=_r()["*|"+r],s||j.NONE)}getMappedPropName(e){return is.get(e)??e}getDefaultComponentElementName(){return"ng-component"}validateProperty(e){return e.toLowerCase().startsWith("on")?{error:!0,msg:`Binding to event property '${e}' is disallowed for security reasons, please use (${e.slice(2)})=... -If '${e}' is a directive input, make sure the directive is imported by the current module.`}:{error:!1}}validateAttribute(e){return e.toLowerCase().startsWith("on")?{error:!0,msg:`Binding to event attribute '${e}' is disallowed for security reasons, please use (${e.slice(2)})=...`}:{error:!1}}allKnownElementNames(){return Array.from(this._schema.keys())}allKnownAttributesOfElement(e){let r=this._schema.get(e.toLowerCase())||this._schema.get("unknown");return Array.from(r.keys()).map(n=>ma.get(n)??n)}allKnownEventsOfElement(e){return Array.from(this._eventSchema.get(e.toLowerCase())??[])}normalizeAnimationStyleProperty(e){return kn(e)}normalizeAnimationStyleValue(e,r,n){let s="",i=n.toString().trim(),a=null;if(da(e)&&n!==0&&n!=="0")if(typeof n=="number")s="px";else{let u=n.match(/^[+-]?[\d\.]+([a-z]*)$/);u&&u[1].length==0&&(a=`Please provide a CSS unit value for ${r}:${n}`)}return{error:a,value:i+s}}};function da(t){switch(t){case"width":case"height":case"minWidth":case"minHeight":case"maxWidth":case"maxHeight":case"left":case"top":case"bottom":case"right":case"fontSize":case"outlineWidth":case"outlineOffset":case"paddingTop":case"paddingLeft":case"paddingBottom":case"paddingRight":case"marginTop":case"marginLeft":case"marginBottom":case"marginRight":case"borderRadius":case"borderWidth":case"borderTopWidth":case"borderLeftWidth":case"borderRightWidth":case"borderBottomWidth":case"textIndent":return!0;default:return!1}}var f=class{constructor({closedByChildren:e,implicitNamespacePrefix:r,contentType:n=k.PARSABLE_DATA,closedByParent:s=!1,isVoid:i=!1,ignoreFirstLf:a=!1,preventNamespaceInheritance:u=!1,canSelfClose:o=!1}={}){this.closedByChildren={},this.closedByParent=!1,e&&e.length>0&&e.forEach(p=>this.closedByChildren[p]=!0),this.isVoid=i,this.closedByParent=s||i,this.implicitNamespacePrefix=r||null,this.contentType=n,this.ignoreFirstLf=a,this.preventNamespaceInheritance=u,this.canSelfClose=o??i}isClosedByChild(e){return this.isVoid||e.toLowerCase()in this.closedByChildren}getContentType(e){return typeof this.contentType=="object"?(e===void 0?void 0:this.contentType[e])??this.contentType.default:this.contentType}},as,rt;function $e(t){return rt||(as=new f({canSelfClose:!0}),rt={base:new f({isVoid:!0}),meta:new f({isVoid:!0}),area:new f({isVoid:!0}),embed:new f({isVoid:!0}),link:new f({isVoid:!0}),img:new f({isVoid:!0}),input:new f({isVoid:!0}),param:new f({isVoid:!0}),hr:new f({isVoid:!0}),br:new f({isVoid:!0}),source:new f({isVoid:!0}),track:new f({isVoid:!0}),wbr:new f({isVoid:!0}),p:new f({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 f({closedByChildren:["tbody","tfoot"]}),tbody:new f({closedByChildren:["tbody","tfoot"],closedByParent:!0}),tfoot:new f({closedByChildren:["tbody"],closedByParent:!0}),tr:new f({closedByChildren:["tr"],closedByParent:!0}),td:new f({closedByChildren:["td","th"],closedByParent:!0}),th:new f({closedByChildren:["td","th"],closedByParent:!0}),col:new f({isVoid:!0}),svg:new f({implicitNamespacePrefix:"svg"}),foreignObject:new f({implicitNamespacePrefix:"svg",preventNamespaceInheritance:!0}),math:new f({implicitNamespacePrefix:"math"}),li:new f({closedByChildren:["li"],closedByParent:!0}),dt:new f({closedByChildren:["dt","dd"]}),dd:new f({closedByChildren:["dt","dd"],closedByParent:!0}),rb:new f({closedByChildren:["rb","rt","rtc","rp"],closedByParent:!0}),rt:new f({closedByChildren:["rb","rt","rtc","rp"],closedByParent:!0}),rtc:new f({closedByChildren:["rb","rtc","rp"],closedByParent:!0}),rp:new f({closedByChildren:["rb","rt","rtc","rp"],closedByParent:!0}),optgroup:new f({closedByChildren:["optgroup"],closedByParent:!0}),option:new f({closedByChildren:["option","optgroup"],closedByParent:!0}),pre:new f({ignoreFirstLf:!0}),listing:new f({ignoreFirstLf:!0}),style:new f({contentType:k.RAW_TEXT}),script:new f({contentType:k.RAW_TEXT}),title:new f({contentType:{default:k.ESCAPABLE_RAW_TEXT,svg:k.PARSABLE_DATA}}),textarea:new f({contentType:k.ESCAPABLE_RAW_TEXT,ignoreFirstLf:!0})},new Bt().allKnownElementNames().forEach(e=>{!rt.hasOwnProperty(e)&&Ie(e)===null&&(rt[e]=new f({canSelfClose:!1}))})),rt[t]??as}var Se=class{constructor(e,r){this.sourceSpan=e,this.i18n=r}},Lt=class extends Se{constructor(e,r,n,s){super(r,s),this.value=e,this.tokens=n,this.type="text"}visit(e,r){return e.visitText(this,r)}},Ft=class extends Se{constructor(e,r,n,s){super(r,s),this.value=e,this.tokens=n,this.type="cdata"}visit(e,r){return e.visitCdata(this,r)}},Nt=class extends Se{constructor(e,r,n,s,i,a){super(s,a),this.switchValue=e,this.type=r,this.cases=n,this.switchValueSourceSpan=i}visit(e,r){return e.visitExpansion(this,r)}},Pt=class{constructor(e,r,n,s,i){this.value=e,this.expression=r,this.sourceSpan=n,this.valueSourceSpan=s,this.expSourceSpan=i}visit(e,r){return e.visitExpansionCase(this,r)}},It=class extends Se{constructor(e,r,n,s,i,a,u){super(n,u),this.name=e,this.value=r,this.keySpan=s,this.valueSpan=i,this.valueTokens=a,this.type="attribute"}visit(e,r){return e.visitAttribute(this,r)}get nameSpan(){return this.keySpan}},Rt=class extends Se{constructor(e,r,n,s,i,a=null,u=null,o){super(s,o),this.name=e,this.attrs=r,this.children=n,this.startSourceSpan=i,this.endSourceSpan=a,this.nameSpan=u,this.type="element"}visit(e,r){return e.visitElement(this,r)}},$t=class{constructor(e,r){this.value=e,this.sourceSpan=r,this.type="comment"}visit(e,r){return e.visitComment(this,r)}},Mt=class{constructor(e,r){this.value=e,this.sourceSpan=r,this.type="docType"}visit(e,r){return e.visitDocType(this,r)}};function Ot(t,e,r=null){let n=[],s=t.visit?i=>t.visit(i,r)||i.visit(t,r):i=>i.visit(t,r);return e.forEach(i=>{let a=s(i);a&&n.push(a)}),n}var nt=class{constructor(){}visitElement(e,r){this.visitChildren(r,n=>{n(e.attrs),n(e.children)})}visitAttribute(e,r){}visitText(e,r){}visitCdata(e,r){}visitComment(e,r){}visitDocType(e,r){}visitExpansion(e,r){return this.visitChildren(r,n=>{n(e.cases)})}visitExpansionCase(e,r){}visitChildren(e,r){let n=[],s=this;function i(a){a&&n.push(Ot(s,a,e))}return r(i),Array.prototype.concat.apply([],n)}};var Me={AElig:"\xC6",AMP:"&",amp:"&",Aacute:"\xC1",Abreve:"\u0102",Acirc:"\xC2",Acy:"\u0410",Afr:"\u{1D504}",Agrave:"\xC0",Alpha:"\u0391",Amacr:"\u0100",And:"\u2A53",Aogon:"\u0104",Aopf:"\u{1D538}",ApplyFunction:"\u2061",af:"\u2061",Aring:"\xC5",angst:"\xC5",Ascr:"\u{1D49C}",Assign:"\u2254",colone:"\u2254",coloneq:"\u2254",Atilde:"\xC3",Auml:"\xC4",Backslash:"\u2216",setminus:"\u2216",setmn:"\u2216",smallsetminus:"\u2216",ssetmn:"\u2216",Barv:"\u2AE7",Barwed:"\u2306",doublebarwedge:"\u2306",Bcy:"\u0411",Because:"\u2235",becaus:"\u2235",because:"\u2235",Bernoullis:"\u212C",Bscr:"\u212C",bernou:"\u212C",Beta:"\u0392",Bfr:"\u{1D505}",Bopf:"\u{1D539}",Breve:"\u02D8",breve:"\u02D8",Bumpeq:"\u224E",HumpDownHump:"\u224E",bump:"\u224E",CHcy:"\u0427",COPY:"\xA9",copy:"\xA9",Cacute:"\u0106",Cap:"\u22D2",CapitalDifferentialD:"\u2145",DD:"\u2145",Cayleys:"\u212D",Cfr:"\u212D",Ccaron:"\u010C",Ccedil:"\xC7",Ccirc:"\u0108",Cconint:"\u2230",Cdot:"\u010A",Cedilla:"\xB8",cedil:"\xB8",CenterDot:"\xB7",centerdot:"\xB7",middot:"\xB7",Chi:"\u03A7",CircleDot:"\u2299",odot:"\u2299",CircleMinus:"\u2296",ominus:"\u2296",CirclePlus:"\u2295",oplus:"\u2295",CircleTimes:"\u2297",otimes:"\u2297",ClockwiseContourIntegral:"\u2232",cwconint:"\u2232",CloseCurlyDoubleQuote:"\u201D",rdquo:"\u201D",rdquor:"\u201D",CloseCurlyQuote:"\u2019",rsquo:"\u2019",rsquor:"\u2019",Colon:"\u2237",Proportion:"\u2237",Colone:"\u2A74",Congruent:"\u2261",equiv:"\u2261",Conint:"\u222F",DoubleContourIntegral:"\u222F",ContourIntegral:"\u222E",conint:"\u222E",oint:"\u222E",Copf:"\u2102",complexes:"\u2102",Coproduct:"\u2210",coprod:"\u2210",CounterClockwiseContourIntegral:"\u2233",awconint:"\u2233",Cross:"\u2A2F",Cscr:"\u{1D49E}",Cup:"\u22D3",CupCap:"\u224D",asympeq:"\u224D",DDotrahd:"\u2911",DJcy:"\u0402",DScy:"\u0405",DZcy:"\u040F",Dagger:"\u2021",ddagger:"\u2021",Darr:"\u21A1",Dashv:"\u2AE4",DoubleLeftTee:"\u2AE4",Dcaron:"\u010E",Dcy:"\u0414",Del:"\u2207",nabla:"\u2207",Delta:"\u0394",Dfr:"\u{1D507}",DiacriticalAcute:"\xB4",acute:"\xB4",DiacriticalDot:"\u02D9",dot:"\u02D9",DiacriticalDoubleAcute:"\u02DD",dblac:"\u02DD",DiacriticalGrave:"`",grave:"`",DiacriticalTilde:"\u02DC",tilde:"\u02DC",Diamond:"\u22C4",diam:"\u22C4",diamond:"\u22C4",DifferentialD:"\u2146",dd:"\u2146",Dopf:"\u{1D53B}",Dot:"\xA8",DoubleDot:"\xA8",die:"\xA8",uml:"\xA8",DotDot:"\u20DC",DotEqual:"\u2250",doteq:"\u2250",esdot:"\u2250",DoubleDownArrow:"\u21D3",Downarrow:"\u21D3",dArr:"\u21D3",DoubleLeftArrow:"\u21D0",Leftarrow:"\u21D0",lArr:"\u21D0",DoubleLeftRightArrow:"\u21D4",Leftrightarrow:"\u21D4",hArr:"\u21D4",iff:"\u21D4",DoubleLongLeftArrow:"\u27F8",Longleftarrow:"\u27F8",xlArr:"\u27F8",DoubleLongLeftRightArrow:"\u27FA",Longleftrightarrow:"\u27FA",xhArr:"\u27FA",DoubleLongRightArrow:"\u27F9",Longrightarrow:"\u27F9",xrArr:"\u27F9",DoubleRightArrow:"\u21D2",Implies:"\u21D2",Rightarrow:"\u21D2",rArr:"\u21D2",DoubleRightTee:"\u22A8",vDash:"\u22A8",DoubleUpArrow:"\u21D1",Uparrow:"\u21D1",uArr:"\u21D1",DoubleUpDownArrow:"\u21D5",Updownarrow:"\u21D5",vArr:"\u21D5",DoubleVerticalBar:"\u2225",par:"\u2225",parallel:"\u2225",shortparallel:"\u2225",spar:"\u2225",DownArrow:"\u2193",ShortDownArrow:"\u2193",darr:"\u2193",downarrow:"\u2193",DownArrowBar:"\u2913",DownArrowUpArrow:"\u21F5",duarr:"\u21F5",DownBreve:"\u0311",DownLeftRightVector:"\u2950",DownLeftTeeVector:"\u295E",DownLeftVector:"\u21BD",leftharpoondown:"\u21BD",lhard:"\u21BD",DownLeftVectorBar:"\u2956",DownRightTeeVector:"\u295F",DownRightVector:"\u21C1",rhard:"\u21C1",rightharpoondown:"\u21C1",DownRightVectorBar:"\u2957",DownTee:"\u22A4",top:"\u22A4",DownTeeArrow:"\u21A7",mapstodown:"\u21A7",Dscr:"\u{1D49F}",Dstrok:"\u0110",ENG:"\u014A",ETH:"\xD0",Eacute:"\xC9",Ecaron:"\u011A",Ecirc:"\xCA",Ecy:"\u042D",Edot:"\u0116",Efr:"\u{1D508}",Egrave:"\xC8",Element:"\u2208",in:"\u2208",isin:"\u2208",isinv:"\u2208",Emacr:"\u0112",EmptySmallSquare:"\u25FB",EmptyVerySmallSquare:"\u25AB",Eogon:"\u0118",Eopf:"\u{1D53C}",Epsilon:"\u0395",Equal:"\u2A75",EqualTilde:"\u2242",eqsim:"\u2242",esim:"\u2242",Equilibrium:"\u21CC",rightleftharpoons:"\u21CC",rlhar:"\u21CC",Escr:"\u2130",expectation:"\u2130",Esim:"\u2A73",Eta:"\u0397",Euml:"\xCB",Exists:"\u2203",exist:"\u2203",ExponentialE:"\u2147",ee:"\u2147",exponentiale:"\u2147",Fcy:"\u0424",Ffr:"\u{1D509}",FilledSmallSquare:"\u25FC",FilledVerySmallSquare:"\u25AA",blacksquare:"\u25AA",squarf:"\u25AA",squf:"\u25AA",Fopf:"\u{1D53D}",ForAll:"\u2200",forall:"\u2200",Fouriertrf:"\u2131",Fscr:"\u2131",GJcy:"\u0403",GT:">",gt:">",Gamma:"\u0393",Gammad:"\u03DC",Gbreve:"\u011E",Gcedil:"\u0122",Gcirc:"\u011C",Gcy:"\u0413",Gdot:"\u0120",Gfr:"\u{1D50A}",Gg:"\u22D9",ggg:"\u22D9",Gopf:"\u{1D53E}",GreaterEqual:"\u2265",ge:"\u2265",geq:"\u2265",GreaterEqualLess:"\u22DB",gel:"\u22DB",gtreqless:"\u22DB",GreaterFullEqual:"\u2267",gE:"\u2267",geqq:"\u2267",GreaterGreater:"\u2AA2",GreaterLess:"\u2277",gl:"\u2277",gtrless:"\u2277",GreaterSlantEqual:"\u2A7E",geqslant:"\u2A7E",ges:"\u2A7E",GreaterTilde:"\u2273",gsim:"\u2273",gtrsim:"\u2273",Gscr:"\u{1D4A2}",Gt:"\u226B",NestedGreaterGreater:"\u226B",gg:"\u226B",HARDcy:"\u042A",Hacek:"\u02C7",caron:"\u02C7",Hat:"^",Hcirc:"\u0124",Hfr:"\u210C",Poincareplane:"\u210C",HilbertSpace:"\u210B",Hscr:"\u210B",hamilt:"\u210B",Hopf:"\u210D",quaternions:"\u210D",HorizontalLine:"\u2500",boxh:"\u2500",Hstrok:"\u0126",HumpEqual:"\u224F",bumpe:"\u224F",bumpeq:"\u224F",IEcy:"\u0415",IJlig:"\u0132",IOcy:"\u0401",Iacute:"\xCD",Icirc:"\xCE",Icy:"\u0418",Idot:"\u0130",Ifr:"\u2111",Im:"\u2111",image:"\u2111",imagpart:"\u2111",Igrave:"\xCC",Imacr:"\u012A",ImaginaryI:"\u2148",ii:"\u2148",Int:"\u222C",Integral:"\u222B",int:"\u222B",Intersection:"\u22C2",bigcap:"\u22C2",xcap:"\u22C2",InvisibleComma:"\u2063",ic:"\u2063",InvisibleTimes:"\u2062",it:"\u2062",Iogon:"\u012E",Iopf:"\u{1D540}",Iota:"\u0399",Iscr:"\u2110",imagline:"\u2110",Itilde:"\u0128",Iukcy:"\u0406",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",LT:"<",lt:"<",Lacute:"\u0139",Lambda:"\u039B",Lang:"\u27EA",Laplacetrf:"\u2112",Lscr:"\u2112",lagran:"\u2112",Larr:"\u219E",twoheadleftarrow:"\u219E",Lcaron:"\u013D",Lcedil:"\u013B",Lcy:"\u041B",LeftAngleBracket:"\u27E8",lang:"\u27E8",langle:"\u27E8",LeftArrow:"\u2190",ShortLeftArrow:"\u2190",larr:"\u2190",leftarrow:"\u2190",slarr:"\u2190",LeftArrowBar:"\u21E4",larrb:"\u21E4",LeftArrowRightArrow:"\u21C6",leftrightarrows:"\u21C6",lrarr:"\u21C6",LeftCeiling:"\u2308",lceil:"\u2308",LeftDoubleBracket:"\u27E6",lobrk:"\u27E6",LeftDownTeeVector:"\u2961",LeftDownVector:"\u21C3",dharl:"\u21C3",downharpoonleft:"\u21C3",LeftDownVectorBar:"\u2959",LeftFloor:"\u230A",lfloor:"\u230A",LeftRightArrow:"\u2194",harr:"\u2194",leftrightarrow:"\u2194",LeftRightVector:"\u294E",LeftTee:"\u22A3",dashv:"\u22A3",LeftTeeArrow:"\u21A4",mapstoleft:"\u21A4",LeftTeeVector:"\u295A",LeftTriangle:"\u22B2",vartriangleleft:"\u22B2",vltri:"\u22B2",LeftTriangleBar:"\u29CF",LeftTriangleEqual:"\u22B4",ltrie:"\u22B4",trianglelefteq:"\u22B4",LeftUpDownVector:"\u2951",LeftUpTeeVector:"\u2960",LeftUpVector:"\u21BF",uharl:"\u21BF",upharpoonleft:"\u21BF",LeftUpVectorBar:"\u2958",LeftVector:"\u21BC",leftharpoonup:"\u21BC",lharu:"\u21BC",LeftVectorBar:"\u2952",LessEqualGreater:"\u22DA",leg:"\u22DA",lesseqgtr:"\u22DA",LessFullEqual:"\u2266",lE:"\u2266",leqq:"\u2266",LessGreater:"\u2276",lessgtr:"\u2276",lg:"\u2276",LessLess:"\u2AA1",LessSlantEqual:"\u2A7D",leqslant:"\u2A7D",les:"\u2A7D",LessTilde:"\u2272",lesssim:"\u2272",lsim:"\u2272",Lfr:"\u{1D50F}",Ll:"\u22D8",Lleftarrow:"\u21DA",lAarr:"\u21DA",Lmidot:"\u013F",LongLeftArrow:"\u27F5",longleftarrow:"\u27F5",xlarr:"\u27F5",LongLeftRightArrow:"\u27F7",longleftrightarrow:"\u27F7",xharr:"\u27F7",LongRightArrow:"\u27F6",longrightarrow:"\u27F6",xrarr:"\u27F6",Lopf:"\u{1D543}",LowerLeftArrow:"\u2199",swarr:"\u2199",swarrow:"\u2199",LowerRightArrow:"\u2198",searr:"\u2198",searrow:"\u2198",Lsh:"\u21B0",lsh:"\u21B0",Lstrok:"\u0141",Lt:"\u226A",NestedLessLess:"\u226A",ll:"\u226A",Map:"\u2905",Mcy:"\u041C",MediumSpace:"\u205F",Mellintrf:"\u2133",Mscr:"\u2133",phmmat:"\u2133",Mfr:"\u{1D510}",MinusPlus:"\u2213",mnplus:"\u2213",mp:"\u2213",Mopf:"\u{1D544}",Mu:"\u039C",NJcy:"\u040A",Nacute:"\u0143",Ncaron:"\u0147",Ncedil:"\u0145",Ncy:"\u041D",NegativeMediumSpace:"\u200B",NegativeThickSpace:"\u200B",NegativeThinSpace:"\u200B",NegativeVeryThinSpace:"\u200B",ZeroWidthSpace:"\u200B",NewLine:` -`,Nfr:"\u{1D511}",NoBreak:"\u2060",NonBreakingSpace:"\xA0",nbsp:"\xA0",Nopf:"\u2115",naturals:"\u2115",Not:"\u2AEC",NotCongruent:"\u2262",nequiv:"\u2262",NotCupCap:"\u226D",NotDoubleVerticalBar:"\u2226",npar:"\u2226",nparallel:"\u2226",nshortparallel:"\u2226",nspar:"\u2226",NotElement:"\u2209",notin:"\u2209",notinva:"\u2209",NotEqual:"\u2260",ne:"\u2260",NotEqualTilde:"\u2242\u0338",nesim:"\u2242\u0338",NotExists:"\u2204",nexist:"\u2204",nexists:"\u2204",NotGreater:"\u226F",ngt:"\u226F",ngtr:"\u226F",NotGreaterEqual:"\u2271",nge:"\u2271",ngeq:"\u2271",NotGreaterFullEqual:"\u2267\u0338",ngE:"\u2267\u0338",ngeqq:"\u2267\u0338",NotGreaterGreater:"\u226B\u0338",nGtv:"\u226B\u0338",NotGreaterLess:"\u2279",ntgl:"\u2279",NotGreaterSlantEqual:"\u2A7E\u0338",ngeqslant:"\u2A7E\u0338",nges:"\u2A7E\u0338",NotGreaterTilde:"\u2275",ngsim:"\u2275",NotHumpDownHump:"\u224E\u0338",nbump:"\u224E\u0338",NotHumpEqual:"\u224F\u0338",nbumpe:"\u224F\u0338",NotLeftTriangle:"\u22EA",nltri:"\u22EA",ntriangleleft:"\u22EA",NotLeftTriangleBar:"\u29CF\u0338",NotLeftTriangleEqual:"\u22EC",nltrie:"\u22EC",ntrianglelefteq:"\u22EC",NotLess:"\u226E",nless:"\u226E",nlt:"\u226E",NotLessEqual:"\u2270",nle:"\u2270",nleq:"\u2270",NotLessGreater:"\u2278",ntlg:"\u2278",NotLessLess:"\u226A\u0338",nLtv:"\u226A\u0338",NotLessSlantEqual:"\u2A7D\u0338",nleqslant:"\u2A7D\u0338",nles:"\u2A7D\u0338",NotLessTilde:"\u2274",nlsim:"\u2274",NotNestedGreaterGreater:"\u2AA2\u0338",NotNestedLessLess:"\u2AA1\u0338",NotPrecedes:"\u2280",npr:"\u2280",nprec:"\u2280",NotPrecedesEqual:"\u2AAF\u0338",npre:"\u2AAF\u0338",npreceq:"\u2AAF\u0338",NotPrecedesSlantEqual:"\u22E0",nprcue:"\u22E0",NotReverseElement:"\u220C",notni:"\u220C",notniva:"\u220C",NotRightTriangle:"\u22EB",nrtri:"\u22EB",ntriangleright:"\u22EB",NotRightTriangleBar:"\u29D0\u0338",NotRightTriangleEqual:"\u22ED",nrtrie:"\u22ED",ntrianglerighteq:"\u22ED",NotSquareSubset:"\u228F\u0338",NotSquareSubsetEqual:"\u22E2",nsqsube:"\u22E2",NotSquareSuperset:"\u2290\u0338",NotSquareSupersetEqual:"\u22E3",nsqsupe:"\u22E3",NotSubset:"\u2282\u20D2",nsubset:"\u2282\u20D2",vnsub:"\u2282\u20D2",NotSubsetEqual:"\u2288",nsube:"\u2288",nsubseteq:"\u2288",NotSucceeds:"\u2281",nsc:"\u2281",nsucc:"\u2281",NotSucceedsEqual:"\u2AB0\u0338",nsce:"\u2AB0\u0338",nsucceq:"\u2AB0\u0338",NotSucceedsSlantEqual:"\u22E1",nsccue:"\u22E1",NotSucceedsTilde:"\u227F\u0338",NotSuperset:"\u2283\u20D2",nsupset:"\u2283\u20D2",vnsup:"\u2283\u20D2",NotSupersetEqual:"\u2289",nsupe:"\u2289",nsupseteq:"\u2289",NotTilde:"\u2241",nsim:"\u2241",NotTildeEqual:"\u2244",nsime:"\u2244",nsimeq:"\u2244",NotTildeFullEqual:"\u2247",ncong:"\u2247",NotTildeTilde:"\u2249",nap:"\u2249",napprox:"\u2249",NotVerticalBar:"\u2224",nmid:"\u2224",nshortmid:"\u2224",nsmid:"\u2224",Nscr:"\u{1D4A9}",Ntilde:"\xD1",Nu:"\u039D",OElig:"\u0152",Oacute:"\xD3",Ocirc:"\xD4",Ocy:"\u041E",Odblac:"\u0150",Ofr:"\u{1D512}",Ograve:"\xD2",Omacr:"\u014C",Omega:"\u03A9",ohm:"\u03A9",Omicron:"\u039F",Oopf:"\u{1D546}",OpenCurlyDoubleQuote:"\u201C",ldquo:"\u201C",OpenCurlyQuote:"\u2018",lsquo:"\u2018",Or:"\u2A54",Oscr:"\u{1D4AA}",Oslash:"\xD8",Otilde:"\xD5",Otimes:"\u2A37",Ouml:"\xD6",OverBar:"\u203E",oline:"\u203E",OverBrace:"\u23DE",OverBracket:"\u23B4",tbrk:"\u23B4",OverParenthesis:"\u23DC",PartialD:"\u2202",part:"\u2202",Pcy:"\u041F",Pfr:"\u{1D513}",Phi:"\u03A6",Pi:"\u03A0",PlusMinus:"\xB1",plusmn:"\xB1",pm:"\xB1",Popf:"\u2119",primes:"\u2119",Pr:"\u2ABB",Precedes:"\u227A",pr:"\u227A",prec:"\u227A",PrecedesEqual:"\u2AAF",pre:"\u2AAF",preceq:"\u2AAF",PrecedesSlantEqual:"\u227C",prcue:"\u227C",preccurlyeq:"\u227C",PrecedesTilde:"\u227E",precsim:"\u227E",prsim:"\u227E",Prime:"\u2033",Product:"\u220F",prod:"\u220F",Proportional:"\u221D",prop:"\u221D",propto:"\u221D",varpropto:"\u221D",vprop:"\u221D",Pscr:"\u{1D4AB}",Psi:"\u03A8",QUOT:'"',quot:'"',Qfr:"\u{1D514}",Qopf:"\u211A",rationals:"\u211A",Qscr:"\u{1D4AC}",RBarr:"\u2910",drbkarow:"\u2910",REG:"\xAE",circledR:"\xAE",reg:"\xAE",Racute:"\u0154",Rang:"\u27EB",Rarr:"\u21A0",twoheadrightarrow:"\u21A0",Rarrtl:"\u2916",Rcaron:"\u0158",Rcedil:"\u0156",Rcy:"\u0420",Re:"\u211C",Rfr:"\u211C",real:"\u211C",realpart:"\u211C",ReverseElement:"\u220B",SuchThat:"\u220B",ni:"\u220B",niv:"\u220B",ReverseEquilibrium:"\u21CB",leftrightharpoons:"\u21CB",lrhar:"\u21CB",ReverseUpEquilibrium:"\u296F",duhar:"\u296F",Rho:"\u03A1",RightAngleBracket:"\u27E9",rang:"\u27E9",rangle:"\u27E9",RightArrow:"\u2192",ShortRightArrow:"\u2192",rarr:"\u2192",rightarrow:"\u2192",srarr:"\u2192",RightArrowBar:"\u21E5",rarrb:"\u21E5",RightArrowLeftArrow:"\u21C4",rightleftarrows:"\u21C4",rlarr:"\u21C4",RightCeiling:"\u2309",rceil:"\u2309",RightDoubleBracket:"\u27E7",robrk:"\u27E7",RightDownTeeVector:"\u295D",RightDownVector:"\u21C2",dharr:"\u21C2",downharpoonright:"\u21C2",RightDownVectorBar:"\u2955",RightFloor:"\u230B",rfloor:"\u230B",RightTee:"\u22A2",vdash:"\u22A2",RightTeeArrow:"\u21A6",map:"\u21A6",mapsto:"\u21A6",RightTeeVector:"\u295B",RightTriangle:"\u22B3",vartriangleright:"\u22B3",vrtri:"\u22B3",RightTriangleBar:"\u29D0",RightTriangleEqual:"\u22B5",rtrie:"\u22B5",trianglerighteq:"\u22B5",RightUpDownVector:"\u294F",RightUpTeeVector:"\u295C",RightUpVector:"\u21BE",uharr:"\u21BE",upharpoonright:"\u21BE",RightUpVectorBar:"\u2954",RightVector:"\u21C0",rharu:"\u21C0",rightharpoonup:"\u21C0",RightVectorBar:"\u2953",Ropf:"\u211D",reals:"\u211D",RoundImplies:"\u2970",Rrightarrow:"\u21DB",rAarr:"\u21DB",Rscr:"\u211B",realine:"\u211B",Rsh:"\u21B1",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}",ShortUpArrow:"\u2191",UpArrow:"\u2191",uarr:"\u2191",uparrow:"\u2191",Sigma:"\u03A3",SmallCircle:"\u2218",compfn:"\u2218",Sopf:"\u{1D54A}",Sqrt:"\u221A",radic:"\u221A",Square:"\u25A1",squ:"\u25A1",square:"\u25A1",SquareIntersection:"\u2293",sqcap:"\u2293",SquareSubset:"\u228F",sqsub:"\u228F",sqsubset:"\u228F",SquareSubsetEqual:"\u2291",sqsube:"\u2291",sqsubseteq:"\u2291",SquareSuperset:"\u2290",sqsup:"\u2290",sqsupset:"\u2290",SquareSupersetEqual:"\u2292",sqsupe:"\u2292",sqsupseteq:"\u2292",SquareUnion:"\u2294",sqcup:"\u2294",Sscr:"\u{1D4AE}",Star:"\u22C6",sstarf:"\u22C6",Sub:"\u22D0",Subset:"\u22D0",SubsetEqual:"\u2286",sube:"\u2286",subseteq:"\u2286",Succeeds:"\u227B",sc:"\u227B",succ:"\u227B",SucceedsEqual:"\u2AB0",sce:"\u2AB0",succeq:"\u2AB0",SucceedsSlantEqual:"\u227D",sccue:"\u227D",succcurlyeq:"\u227D",SucceedsTilde:"\u227F",scsim:"\u227F",succsim:"\u227F",Sum:"\u2211",sum:"\u2211",Sup:"\u22D1",Supset:"\u22D1",Superset:"\u2283",sup:"\u2283",supset:"\u2283",SupersetEqual:"\u2287",supe:"\u2287",supseteq:"\u2287",THORN:"\xDE",TRADE:"\u2122",trade:"\u2122",TSHcy:"\u040B",TScy:"\u0426",Tab:" ",Tau:"\u03A4",Tcaron:"\u0164",Tcedil:"\u0162",Tcy:"\u0422",Tfr:"\u{1D517}",Therefore:"\u2234",there4:"\u2234",therefore:"\u2234",Theta:"\u0398",ThickSpace:"\u205F\u200A",ThinSpace:"\u2009",thinsp:"\u2009",Tilde:"\u223C",sim:"\u223C",thicksim:"\u223C",thksim:"\u223C",TildeEqual:"\u2243",sime:"\u2243",simeq:"\u2243",TildeFullEqual:"\u2245",cong:"\u2245",TildeTilde:"\u2248",ap:"\u2248",approx:"\u2248",asymp:"\u2248",thickapprox:"\u2248",thkap:"\u2248",Topf:"\u{1D54B}",TripleDot:"\u20DB",tdot:"\u20DB",Tscr:"\u{1D4AF}",Tstrok:"\u0166",Uacute:"\xDA",Uarr:"\u219F",Uarrocir:"\u2949",Ubrcy:"\u040E",Ubreve:"\u016C",Ucirc:"\xDB",Ucy:"\u0423",Udblac:"\u0170",Ufr:"\u{1D518}",Ugrave:"\xD9",Umacr:"\u016A",UnderBar:"_",lowbar:"_",UnderBrace:"\u23DF",UnderBracket:"\u23B5",bbrk:"\u23B5",UnderParenthesis:"\u23DD",Union:"\u22C3",bigcup:"\u22C3",xcup:"\u22C3",UnionPlus:"\u228E",uplus:"\u228E",Uogon:"\u0172",Uopf:"\u{1D54C}",UpArrowBar:"\u2912",UpArrowDownArrow:"\u21C5",udarr:"\u21C5",UpDownArrow:"\u2195",updownarrow:"\u2195",varr:"\u2195",UpEquilibrium:"\u296E",udhar:"\u296E",UpTee:"\u22A5",bot:"\u22A5",bottom:"\u22A5",perp:"\u22A5",UpTeeArrow:"\u21A5",mapstoup:"\u21A5",UpperLeftArrow:"\u2196",nwarr:"\u2196",nwarrow:"\u2196",UpperRightArrow:"\u2197",nearr:"\u2197",nearrow:"\u2197",Upsi:"\u03D2",upsih:"\u03D2",Upsilon:"\u03A5",Uring:"\u016E",Uscr:"\u{1D4B0}",Utilde:"\u0168",Uuml:"\xDC",VDash:"\u22AB",Vbar:"\u2AEB",Vcy:"\u0412",Vdash:"\u22A9",Vdashl:"\u2AE6",Vee:"\u22C1",bigvee:"\u22C1",xvee:"\u22C1",Verbar:"\u2016",Vert:"\u2016",VerticalBar:"\u2223",mid:"\u2223",shortmid:"\u2223",smid:"\u2223",VerticalLine:"|",verbar:"|",vert:"|",VerticalSeparator:"\u2758",VerticalTilde:"\u2240",wr:"\u2240",wreath:"\u2240",VeryThinSpace:"\u200A",hairsp:"\u200A",Vfr:"\u{1D519}",Vopf:"\u{1D54D}",Vscr:"\u{1D4B1}",Vvdash:"\u22AA",Wcirc:"\u0174",Wedge:"\u22C0",bigwedge:"\u22C0",xwedge:"\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",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",Zeta:"\u0396",Zfr:"\u2128",zeetrf:"\u2128",Zopf:"\u2124",integers:"\u2124",Zscr:"\u{1D4B5}",aacute:"\xE1",abreve:"\u0103",ac:"\u223E",mstpos:"\u223E",acE:"\u223E\u0333",acd:"\u223F",acirc:"\xE2",acy:"\u0430",aelig:"\xE6",afr:"\u{1D51E}",agrave:"\xE0",alefsym:"\u2135",aleph:"\u2135",alpha:"\u03B1",amacr:"\u0101",amalg:"\u2A3F",and:"\u2227",wedge:"\u2227",andand:"\u2A55",andd:"\u2A5C",andslope:"\u2A58",andv:"\u2A5A",ang:"\u2220",angle:"\u2220",ange:"\u29A4",angmsd:"\u2221",measuredangle:"\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",angzarr:"\u237C",aogon:"\u0105",aopf:"\u{1D552}",apE:"\u2A70",apacir:"\u2A6F",ape:"\u224A",approxeq:"\u224A",apid:"\u224B",apos:"'",aring:"\xE5",ascr:"\u{1D4B6}",ast:"*",midast:"*",atilde:"\xE3",auml:"\xE4",awint:"\u2A11",bNot:"\u2AED",backcong:"\u224C",bcong:"\u224C",backepsilon:"\u03F6",bepsi:"\u03F6",backprime:"\u2035",bprime:"\u2035",backsim:"\u223D",bsim:"\u223D",backsimeq:"\u22CD",bsime:"\u22CD",barvee:"\u22BD",barwed:"\u2305",barwedge:"\u2305",bbrktbrk:"\u23B6",bcy:"\u0431",bdquo:"\u201E",ldquor:"\u201E",bemptyv:"\u29B0",beta:"\u03B2",beth:"\u2136",between:"\u226C",twixt:"\u226C",bfr:"\u{1D51F}",bigcirc:"\u25EF",xcirc:"\u25EF",bigodot:"\u2A00",xodot:"\u2A00",bigoplus:"\u2A01",xoplus:"\u2A01",bigotimes:"\u2A02",xotime:"\u2A02",bigsqcup:"\u2A06",xsqcup:"\u2A06",bigstar:"\u2605",starf:"\u2605",bigtriangledown:"\u25BD",xdtri:"\u25BD",bigtriangleup:"\u25B3",xutri:"\u25B3",biguplus:"\u2A04",xuplus:"\u2A04",bkarow:"\u290D",rbarr:"\u290D",blacklozenge:"\u29EB",lozf:"\u29EB",blacktriangle:"\u25B4",utrif:"\u25B4",blacktriangledown:"\u25BE",dtrif:"\u25BE",blacktriangleleft:"\u25C2",ltrif:"\u25C2",blacktriangleright:"\u25B8",rtrif:"\u25B8",blank:"\u2423",blk12:"\u2592",blk14:"\u2591",blk34:"\u2593",block:"\u2588",bne:"=\u20E5",bnequiv:"\u2261\u20E5",bnot:"\u2310",bopf:"\u{1D553}",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",boxhD:"\u2565",boxhU:"\u2568",boxhd:"\u252C",boxhu:"\u2534",boxminus:"\u229F",minusb:"\u229F",boxplus:"\u229E",plusb:"\u229E",boxtimes:"\u22A0",timesb:"\u22A0",boxuL:"\u255B",boxuR:"\u2558",boxul:"\u2518",boxur:"\u2514",boxv:"\u2502",boxvH:"\u256A",boxvL:"\u2561",boxvR:"\u255E",boxvh:"\u253C",boxvl:"\u2524",boxvr:"\u251C",brvbar:"\xA6",bscr:"\u{1D4B7}",bsemi:"\u204F",bsol:"\\",bsolb:"\u29C5",bsolhsub:"\u27C8",bull:"\u2022",bullet:"\u2022",bumpE:"\u2AAE",cacute:"\u0107",cap:"\u2229",capand:"\u2A44",capbrcup:"\u2A49",capcap:"\u2A4B",capcup:"\u2A47",capdot:"\u2A40",caps:"\u2229\uFE00",caret:"\u2041",ccaps:"\u2A4D",ccaron:"\u010D",ccedil:"\xE7",ccirc:"\u0109",ccups:"\u2A4C",ccupssm:"\u2A50",cdot:"\u010B",cemptyv:"\u29B2",cent:"\xA2",cfr:"\u{1D520}",chcy:"\u0447",check:"\u2713",checkmark:"\u2713",chi:"\u03C7",cir:"\u25CB",cirE:"\u29C3",circ:"\u02C6",circeq:"\u2257",cire:"\u2257",circlearrowleft:"\u21BA",olarr:"\u21BA",circlearrowright:"\u21BB",orarr:"\u21BB",circledS:"\u24C8",oS:"\u24C8",circledast:"\u229B",oast:"\u229B",circledcirc:"\u229A",ocir:"\u229A",circleddash:"\u229D",odash:"\u229D",cirfnint:"\u2A10",cirmid:"\u2AEF",cirscir:"\u29C2",clubs:"\u2663",clubsuit:"\u2663",colon:":",comma:",",commat:"@",comp:"\u2201",complement:"\u2201",congdot:"\u2A6D",copf:"\u{1D554}",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",curlyeqprec:"\u22DE",cuesc:"\u22DF",curlyeqsucc:"\u22DF",cularr:"\u21B6",curvearrowleft:"\u21B6",cularrp:"\u293D",cup:"\u222A",cupbrcap:"\u2A48",cupcap:"\u2A46",cupcup:"\u2A4A",cupdot:"\u228D",cupor:"\u2A45",cups:"\u222A\uFE00",curarr:"\u21B7",curvearrowright:"\u21B7",curarrm:"\u293C",curlyvee:"\u22CE",cuvee:"\u22CE",curlywedge:"\u22CF",cuwed:"\u22CF",curren:"\xA4",cwint:"\u2231",cylcty:"\u232D",dHar:"\u2965",dagger:"\u2020",daleth:"\u2138",dash:"\u2010",hyphen:"\u2010",dbkarow:"\u290F",rBarr:"\u290F",dcaron:"\u010F",dcy:"\u0434",ddarr:"\u21CA",downdownarrows:"\u21CA",ddotseq:"\u2A77",eDDot:"\u2A77",deg:"\xB0",delta:"\u03B4",demptyv:"\u29B1",dfisht:"\u297F",dfr:"\u{1D521}",diamondsuit:"\u2666",diams:"\u2666",digamma:"\u03DD",gammad:"\u03DD",disin:"\u22F2",div:"\xF7",divide:"\xF7",divideontimes:"\u22C7",divonx:"\u22C7",djcy:"\u0452",dlcorn:"\u231E",llcorner:"\u231E",dlcrop:"\u230D",dollar:"$",dopf:"\u{1D555}",doteqdot:"\u2251",eDot:"\u2251",dotminus:"\u2238",minusd:"\u2238",dotplus:"\u2214",plusdo:"\u2214",dotsquare:"\u22A1",sdotb:"\u22A1",drcorn:"\u231F",lrcorner:"\u231F",drcrop:"\u230C",dscr:"\u{1D4B9}",dscy:"\u0455",dsol:"\u29F6",dstrok:"\u0111",dtdot:"\u22F1",dtri:"\u25BF",triangledown:"\u25BF",dwangle:"\u29A6",dzcy:"\u045F",dzigrarr:"\u27FF",eacute:"\xE9",easter:"\u2A6E",ecaron:"\u011B",ecir:"\u2256",eqcirc:"\u2256",ecirc:"\xEA",ecolon:"\u2255",eqcolon:"\u2255",ecy:"\u044D",edot:"\u0117",efDot:"\u2252",fallingdotseq:"\u2252",efr:"\u{1D522}",eg:"\u2A9A",egrave:"\xE8",egs:"\u2A96",eqslantgtr:"\u2A96",egsdot:"\u2A98",el:"\u2A99",elinters:"\u23E7",ell:"\u2113",els:"\u2A95",eqslantless:"\u2A95",elsdot:"\u2A97",emacr:"\u0113",empty:"\u2205",emptyset:"\u2205",emptyv:"\u2205",varnothing:"\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",straightepsilon:"\u03F5",varepsilon:"\u03F5",equals:"=",equest:"\u225F",questeq:"\u225F",equivDD:"\u2A78",eqvparsl:"\u29E5",erDot:"\u2253",risingdotseq:"\u2253",erarr:"\u2971",escr:"\u212F",eta:"\u03B7",eth:"\xF0",euml:"\xEB",euro:"\u20AC",excl:"!",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}",fork:"\u22D4",pitchfork:"\u22D4",forkv:"\u2AD9",fpartint:"\u2A0D",frac12:"\xBD",half:"\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",sfrown:"\u2322",fscr:"\u{1D4BB}",gEl:"\u2A8C",gtreqqless:"\u2A8C",gacute:"\u01F5",gamma:"\u03B3",gap:"\u2A86",gtrapprox:"\u2A86",gbreve:"\u011F",gcirc:"\u011D",gcy:"\u0433",gdot:"\u0121",gescc:"\u2AA9",gesdot:"\u2A80",gesdoto:"\u2A82",gesdotol:"\u2A84",gesl:"\u22DB\uFE00",gesles:"\u2A94",gfr:"\u{1D524}",gimel:"\u2137",gjcy:"\u0453",glE:"\u2A92",gla:"\u2AA5",glj:"\u2AA4",gnE:"\u2269",gneqq:"\u2269",gnap:"\u2A8A",gnapprox:"\u2A8A",gne:"\u2A88",gneq:"\u2A88",gnsim:"\u22E7",gopf:"\u{1D558}",gscr:"\u210A",gsime:"\u2A8E",gsiml:"\u2A90",gtcc:"\u2AA7",gtcir:"\u2A7A",gtdot:"\u22D7",gtrdot:"\u22D7",gtlPar:"\u2995",gtquest:"\u2A7C",gtrarr:"\u2978",gvertneqq:"\u2269\uFE00",gvnE:"\u2269\uFE00",hardcy:"\u044A",harrcir:"\u2948",harrw:"\u21AD",leftrightsquigarrow:"\u21AD",hbar:"\u210F",hslash:"\u210F",planck:"\u210F",plankv:"\u210F",hcirc:"\u0125",hearts:"\u2665",heartsuit:"\u2665",hellip:"\u2026",mldr:"\u2026",hercon:"\u22B9",hfr:"\u{1D525}",hksearow:"\u2925",searhk:"\u2925",hkswarow:"\u2926",swarhk:"\u2926",hoarr:"\u21FF",homtht:"\u223B",hookleftarrow:"\u21A9",larrhk:"\u21A9",hookrightarrow:"\u21AA",rarrhk:"\u21AA",hopf:"\u{1D559}",horbar:"\u2015",hscr:"\u{1D4BD}",hstrok:"\u0127",hybull:"\u2043",iacute:"\xED",icirc:"\xEE",icy:"\u0438",iecy:"\u0435",iexcl:"\xA1",ifr:"\u{1D526}",igrave:"\xEC",iiiint:"\u2A0C",qint:"\u2A0C",iiint:"\u222D",tint:"\u222D",iinfin:"\u29DC",iiota:"\u2129",ijlig:"\u0133",imacr:"\u012B",imath:"\u0131",inodot:"\u0131",imof:"\u22B7",imped:"\u01B5",incare:"\u2105",infin:"\u221E",infintie:"\u29DD",intcal:"\u22BA",intercal:"\u22BA",intlarhk:"\u2A17",intprod:"\u2A3C",iprod:"\u2A3C",iocy:"\u0451",iogon:"\u012F",iopf:"\u{1D55A}",iota:"\u03B9",iquest:"\xBF",iscr:"\u{1D4BE}",isinE:"\u22F9",isindot:"\u22F5",isins:"\u22F4",isinsv:"\u22F3",itilde:"\u0129",iukcy:"\u0456",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",varkappa:"\u03F0",kcedil:"\u0137",kcy:"\u043A",kfr:"\u{1D528}",kgreen:"\u0138",khcy:"\u0445",kjcy:"\u045C",kopf:"\u{1D55C}",kscr:"\u{1D4C0}",lAtail:"\u291B",lBarr:"\u290E",lEg:"\u2A8B",lesseqqgtr:"\u2A8B",lHar:"\u2962",lacute:"\u013A",laemptyv:"\u29B4",lambda:"\u03BB",langd:"\u2991",lap:"\u2A85",lessapprox:"\u2A85",laquo:"\xAB",larrbfs:"\u291F",larrfs:"\u291D",larrlp:"\u21AB",looparrowleft:"\u21AB",larrpl:"\u2939",larrsim:"\u2973",larrtl:"\u21A2",leftarrowtail:"\u21A2",lat:"\u2AAB",latail:"\u2919",late:"\u2AAD",lates:"\u2AAD\uFE00",lbarr:"\u290C",lbbrk:"\u2772",lbrace:"{",lcub:"{",lbrack:"[",lsqb:"[",lbrke:"\u298B",lbrksld:"\u298F",lbrkslu:"\u298D",lcaron:"\u013E",lcedil:"\u013C",lcy:"\u043B",ldca:"\u2936",ldrdhar:"\u2967",ldrushar:"\u294B",ldsh:"\u21B2",le:"\u2264",leq:"\u2264",leftleftarrows:"\u21C7",llarr:"\u21C7",leftthreetimes:"\u22CB",lthree:"\u22CB",lescc:"\u2AA8",lesdot:"\u2A7F",lesdoto:"\u2A81",lesdotor:"\u2A83",lesg:"\u22DA\uFE00",lesges:"\u2A93",lessdot:"\u22D6",ltdot:"\u22D6",lfisht:"\u297C",lfr:"\u{1D529}",lgE:"\u2A91",lharul:"\u296A",lhblk:"\u2584",ljcy:"\u0459",llhard:"\u296B",lltri:"\u25FA",lmidot:"\u0140",lmoust:"\u23B0",lmoustache:"\u23B0",lnE:"\u2268",lneqq:"\u2268",lnap:"\u2A89",lnapprox:"\u2A89",lne:"\u2A87",lneq:"\u2A87",lnsim:"\u22E6",loang:"\u27EC",loarr:"\u21FD",longmapsto:"\u27FC",xmap:"\u27FC",looparrowright:"\u21AC",rarrlp:"\u21AC",lopar:"\u2985",lopf:"\u{1D55D}",loplus:"\u2A2D",lotimes:"\u2A34",lowast:"\u2217",loz:"\u25CA",lozenge:"\u25CA",lpar:"(",lparlt:"\u2993",lrhard:"\u296D",lrm:"\u200E",lrtri:"\u22BF",lsaquo:"\u2039",lscr:"\u{1D4C1}",lsime:"\u2A8D",lsimg:"\u2A8F",lsquor:"\u201A",sbquo:"\u201A",lstrok:"\u0142",ltcc:"\u2AA6",ltcir:"\u2A79",ltimes:"\u22C9",ltlarr:"\u2976",ltquest:"\u2A7B",ltrPar:"\u2996",ltri:"\u25C3",triangleleft:"\u25C3",lurdshar:"\u294A",luruhar:"\u2966",lvertneqq:"\u2268\uFE00",lvnE:"\u2268\uFE00",mDDot:"\u223A",macr:"\xAF",strns:"\xAF",male:"\u2642",malt:"\u2720",maltese:"\u2720",marker:"\u25AE",mcomma:"\u2A29",mcy:"\u043C",mdash:"\u2014",mfr:"\u{1D52A}",mho:"\u2127",micro:"\xB5",midcir:"\u2AF0",minus:"\u2212",minusdu:"\u2A2A",mlcp:"\u2ADB",models:"\u22A7",mopf:"\u{1D55E}",mscr:"\u{1D4C2}",mu:"\u03BC",multimap:"\u22B8",mumap:"\u22B8",nGg:"\u22D9\u0338",nGt:"\u226B\u20D2",nLeftarrow:"\u21CD",nlArr:"\u21CD",nLeftrightarrow:"\u21CE",nhArr:"\u21CE",nLl:"\u22D8\u0338",nLt:"\u226A\u20D2",nRightarrow:"\u21CF",nrArr:"\u21CF",nVDash:"\u22AF",nVdash:"\u22AE",nacute:"\u0144",nang:"\u2220\u20D2",napE:"\u2A70\u0338",napid:"\u224B\u0338",napos:"\u0149",natur:"\u266E",natural:"\u266E",ncap:"\u2A43",ncaron:"\u0148",ncedil:"\u0146",ncongdot:"\u2A6D\u0338",ncup:"\u2A42",ncy:"\u043D",ndash:"\u2013",neArr:"\u21D7",nearhk:"\u2924",nedot:"\u2250\u0338",nesear:"\u2928",toea:"\u2928",nfr:"\u{1D52B}",nharr:"\u21AE",nleftrightarrow:"\u21AE",nhpar:"\u2AF2",nis:"\u22FC",nisd:"\u22FA",njcy:"\u045A",nlE:"\u2266\u0338",nleqq:"\u2266\u0338",nlarr:"\u219A",nleftarrow:"\u219A",nldr:"\u2025",nopf:"\u{1D55F}",not:"\xAC",notinE:"\u22F9\u0338",notindot:"\u22F5\u0338",notinvb:"\u22F7",notinvc:"\u22F6",notnivb:"\u22FE",notnivc:"\u22FD",nparsl:"\u2AFD\u20E5",npart:"\u2202\u0338",npolint:"\u2A14",nrarr:"\u219B",nrightarrow:"\u219B",nrarrc:"\u2933\u0338",nrarrw:"\u219D\u0338",nscr:"\u{1D4C3}",nsub:"\u2284",nsubE:"\u2AC5\u0338",nsubseteqq:"\u2AC5\u0338",nsup:"\u2285",nsupE:"\u2AC6\u0338",nsupseteqq:"\u2AC6\u0338",ntilde:"\xF1",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",nwnear:"\u2927",oacute:"\xF3",ocirc:"\xF4",ocy:"\u043E",odblac:"\u0151",odiv:"\u2A38",odsold:"\u29BC",oelig:"\u0153",ofcir:"\u29BF",ofr:"\u{1D52C}",ogon:"\u02DB",ograve:"\xF2",ogt:"\u29C1",ohbar:"\u29B5",olcir:"\u29BE",olcross:"\u29BB",olt:"\u29C0",omacr:"\u014D",omega:"\u03C9",omicron:"\u03BF",omid:"\u29B6",oopf:"\u{1D560}",opar:"\u29B7",operp:"\u29B9",or:"\u2228",vee:"\u2228",ord:"\u2A5D",order:"\u2134",orderof:"\u2134",oscr:"\u2134",ordf:"\xAA",ordm:"\xBA",origof:"\u22B6",oror:"\u2A56",orslope:"\u2A57",orv:"\u2A5B",oslash:"\xF8",osol:"\u2298",otilde:"\xF5",otimesas:"\u2A36",ouml:"\xF6",ovbar:"\u233D",para:"\xB6",parsim:"\u2AF3",parsl:"\u2AFD",pcy:"\u043F",percnt:"%",period:".",permil:"\u2030",pertenk:"\u2031",pfr:"\u{1D52D}",phi:"\u03C6",phiv:"\u03D5",straightphi:"\u03D5",varphi:"\u03D5",phone:"\u260E",pi:"\u03C0",piv:"\u03D6",varpi:"\u03D6",planckh:"\u210E",plus:"+",plusacir:"\u2A23",pluscir:"\u2A22",plusdu:"\u2A25",pluse:"\u2A72",plussim:"\u2A26",plustwo:"\u2A27",pointint:"\u2A15",popf:"\u{1D561}",pound:"\xA3",prE:"\u2AB3",prap:"\u2AB7",precapprox:"\u2AB7",precnapprox:"\u2AB9",prnap:"\u2AB9",precneqq:"\u2AB5",prnE:"\u2AB5",precnsim:"\u22E8",prnsim:"\u22E8",prime:"\u2032",profalar:"\u232E",profline:"\u2312",profsurf:"\u2313",prurel:"\u22B0",pscr:"\u{1D4C5}",psi:"\u03C8",puncsp:"\u2008",qfr:"\u{1D52E}",qopf:"\u{1D562}",qprime:"\u2057",qscr:"\u{1D4C6}",quatint:"\u2A16",quest:"?",rAtail:"\u291C",rHar:"\u2964",race:"\u223D\u0331",racute:"\u0155",raemptyv:"\u29B3",rangd:"\u2992",range:"\u29A5",raquo:"\xBB",rarrap:"\u2975",rarrbfs:"\u2920",rarrc:"\u2933",rarrfs:"\u291E",rarrpl:"\u2945",rarrsim:"\u2974",rarrtl:"\u21A3",rightarrowtail:"\u21A3",rarrw:"\u219D",rightsquigarrow:"\u219D",ratail:"\u291A",ratio:"\u2236",rbbrk:"\u2773",rbrace:"}",rcub:"}",rbrack:"]",rsqb:"]",rbrke:"\u298C",rbrksld:"\u298E",rbrkslu:"\u2990",rcaron:"\u0159",rcedil:"\u0157",rcy:"\u0440",rdca:"\u2937",rdldhar:"\u2969",rdsh:"\u21B3",rect:"\u25AD",rfisht:"\u297D",rfr:"\u{1D52F}",rharul:"\u296C",rho:"\u03C1",rhov:"\u03F1",varrho:"\u03F1",rightrightarrows:"\u21C9",rrarr:"\u21C9",rightthreetimes:"\u22CC",rthree:"\u22CC",ring:"\u02DA",rlm:"\u200F",rmoust:"\u23B1",rmoustache:"\u23B1",rnmid:"\u2AEE",roang:"\u27ED",roarr:"\u21FE",ropar:"\u2986",ropf:"\u{1D563}",roplus:"\u2A2E",rotimes:"\u2A35",rpar:")",rpargt:"\u2994",rppolint:"\u2A12",rsaquo:"\u203A",rscr:"\u{1D4C7}",rtimes:"\u22CA",rtri:"\u25B9",triangleright:"\u25B9",rtriltri:"\u29CE",ruluhar:"\u2968",rx:"\u211E",sacute:"\u015B",scE:"\u2AB4",scap:"\u2AB8",succapprox:"\u2AB8",scaron:"\u0161",scedil:"\u015F",scirc:"\u015D",scnE:"\u2AB6",succneqq:"\u2AB6",scnap:"\u2ABA",succnapprox:"\u2ABA",scnsim:"\u22E9",succnsim:"\u22E9",scpolint:"\u2A13",scy:"\u0441",sdot:"\u22C5",sdote:"\u2A66",seArr:"\u21D8",sect:"\xA7",semi:";",seswar:"\u2929",tosa:"\u2929",sext:"\u2736",sfr:"\u{1D530}",sharp:"\u266F",shchcy:"\u0449",shcy:"\u0448",shy:"\xAD",sigma:"\u03C3",sigmaf:"\u03C2",sigmav:"\u03C2",varsigma:"\u03C2",simdot:"\u2A6A",simg:"\u2A9E",simgE:"\u2AA0",siml:"\u2A9D",simlE:"\u2A9F",simne:"\u2246",simplus:"\u2A24",simrarr:"\u2972",smashp:"\u2A33",smeparsl:"\u29E4",smile:"\u2323",ssmile:"\u2323",smt:"\u2AAA",smte:"\u2AAC",smtes:"\u2AAC\uFE00",softcy:"\u044C",sol:"/",solb:"\u29C4",solbar:"\u233F",sopf:"\u{1D564}",spades:"\u2660",spadesuit:"\u2660",sqcaps:"\u2293\uFE00",sqcups:"\u2294\uFE00",sscr:"\u{1D4C8}",star:"\u2606",sub:"\u2282",subset:"\u2282",subE:"\u2AC5",subseteqq:"\u2AC5",subdot:"\u2ABD",subedot:"\u2AC3",submult:"\u2AC1",subnE:"\u2ACB",subsetneqq:"\u2ACB",subne:"\u228A",subsetneq:"\u228A",subplus:"\u2ABF",subrarr:"\u2979",subsim:"\u2AC7",subsub:"\u2AD5",subsup:"\u2AD3",sung:"\u266A",sup1:"\xB9",sup2:"\xB2",sup3:"\xB3",supE:"\u2AC6",supseteqq:"\u2AC6",supdot:"\u2ABE",supdsub:"\u2AD8",supedot:"\u2AC4",suphsol:"\u27C9",suphsub:"\u2AD7",suplarr:"\u297B",supmult:"\u2AC2",supnE:"\u2ACC",supsetneqq:"\u2ACC",supne:"\u228B",supsetneq:"\u228B",supplus:"\u2AC0",supsim:"\u2AC8",supsub:"\u2AD4",supsup:"\u2AD6",swArr:"\u21D9",swnwar:"\u292A",szlig:"\xDF",target:"\u2316",tau:"\u03C4",tcaron:"\u0165",tcedil:"\u0163",tcy:"\u0442",telrec:"\u2315",tfr:"\u{1D531}",theta:"\u03B8",thetasym:"\u03D1",thetav:"\u03D1",vartheta:"\u03D1",thorn:"\xFE",times:"\xD7",timesbar:"\u2A31",timesd:"\u2A30",topbot:"\u2336",topcir:"\u2AF1",topf:"\u{1D565}",topfork:"\u2ADA",tprime:"\u2034",triangle:"\u25B5",utri:"\u25B5",triangleq:"\u225C",trie:"\u225C",tridot:"\u25EC",triminus:"\u2A3A",triplus:"\u2A39",trisb:"\u29CD",tritime:"\u2A3B",trpezium:"\u23E2",tscr:"\u{1D4C9}",tscy:"\u0446",tshcy:"\u045B",tstrok:"\u0167",uHar:"\u2963",uacute:"\xFA",ubrcy:"\u045E",ubreve:"\u016D",ucirc:"\xFB",ucy:"\u0443",udblac:"\u0171",ufisht:"\u297E",ufr:"\u{1D532}",ugrave:"\xF9",uhblk:"\u2580",ulcorn:"\u231C",ulcorner:"\u231C",ulcrop:"\u230F",ultri:"\u25F8",umacr:"\u016B",uogon:"\u0173",uopf:"\u{1D566}",upsi:"\u03C5",upsilon:"\u03C5",upuparrows:"\u21C8",uuarr:"\u21C8",urcorn:"\u231D",urcorner:"\u231D",urcrop:"\u230E",uring:"\u016F",urtri:"\u25F9",uscr:"\u{1D4CA}",utdot:"\u22F0",utilde:"\u0169",uuml:"\xFC",uwangle:"\u29A7",vBar:"\u2AE8",vBarv:"\u2AE9",vangrt:"\u299C",varsubsetneq:"\u228A\uFE00",vsubne:"\u228A\uFE00",varsubsetneqq:"\u2ACB\uFE00",vsubnE:"\u2ACB\uFE00",varsupsetneq:"\u228B\uFE00",vsupne:"\u228B\uFE00",varsupsetneqq:"\u2ACC\uFE00",vsupnE:"\u2ACC\uFE00",vcy:"\u0432",veebar:"\u22BB",veeeq:"\u225A",vellip:"\u22EE",vfr:"\u{1D533}",vopf:"\u{1D567}",vscr:"\u{1D4CB}",vzigzag:"\u299A",wcirc:"\u0175",wedbar:"\u2A5F",wedgeq:"\u2259",weierp:"\u2118",wp:"\u2118",wfr:"\u{1D534}",wopf:"\u{1D568}",wscr:"\u{1D4CC}",xfr:"\u{1D535}",xi:"\u03BE",xnis:"\u22FB",xopf:"\u{1D569}",xscr:"\u{1D4CD}",yacute:"\xFD",yacy:"\u044F",ycirc:"\u0177",ycy:"\u044B",yen:"\xA5",yfr:"\u{1D536}",yicy:"\u0457",yopf:"\u{1D56A}",yscr:"\u{1D4CE}",yucy:"\u044E",yuml:"\xFF",zacute:"\u017A",zcaron:"\u017E",zcy:"\u0437",zdot:"\u017C",zeta:"\u03B6",zfr:"\u{1D537}",zhcy:"\u0436",zigrarr:"\u21DD",zopf:"\u{1D56B}",zscr:"\u{1D4CF}",zwj:"\u200D",zwnj:"\u200C"},Ca="\uE500";Me.ngsp=Ca;var Sa=[/^\s*$/,/[<>]/,/^[{}]$/,/&(#|[a-z])/i,/^\/\//];function us(t,e){if(e!=null&&!(Array.isArray(e)&&e.length==2))throw new Error(`Expected '${t}' to be an array, [start, end].`);if(e!=null){let r=e[0],n=e[1];Sa.forEach(s=>{if(s.test(r)||s.test(n))throw new Error(`['${r}', '${n}'] contains unusable interpolation symbol.`)})}}var Dr=class t{static fromArray(e){return e?(us("interpolation",e),new t(e[0],e[1])):vr}constructor(e,r){this.start=e,this.end=r}},vr=new Dr("{{","}}");var at=class extends Fe{constructor(e,r,n){super(n,e),this.tokenType=r}},wr=class{constructor(e,r,n){this.tokens=e,this.errors=r,this.nonNormalizedIcuExpressions=n}};function Ss(t,e,r,n={}){let s=new Tr(new fe(t,e),r,n);return s.tokenize(),new wr(Ua(s.tokens),s.errors,s.nonNormalizedIcuExpressions)}var Ra=/\r\n?/g;function Oe(t){return`Unexpected character "${t===0?"EOF":String.fromCharCode(t)}"`}function ps(t){return`Unknown entity "${t}" - use the "&#;" or "&#x;" syntax`}function $a(t,e){return`Unable to parse entity "${e}" - ${t} character reference entities must end with ";"`}var Ut;(function(t){t.HEX="hexadecimal",t.DEC="decimal"})(Ut||(Ut={}));var ut=class{constructor(e){this.error=e}},Tr=class{constructor(e,r,n){this._getTagContentType=r,this._currentTokenStart=null,this._currentTokenType=null,this._expansionCaseStack=[],this._inInterpolation=!1,this._fullNameStack=[],this.tokens=[],this.errors=[],this.nonNormalizedIcuExpressions=[],this._tokenizeIcu=n.tokenizeExpansionForms||!1,this._interpolationConfig=n.interpolationConfig||vr,this._leadingTriviaCodePoints=n.leadingTriviaChars&&n.leadingTriviaChars.map(i=>i.codePointAt(0)||0),this._canSelfClose=n.canSelfClose||!1,this._allowHtmComponentClosingTags=n.allowHtmComponentClosingTags||!1;let s=n.range||{endPos:e.content.length,startPos:0,startLine:0,startCol:0};this._cursor=n.escapedString?new xr(e,s):new Wt(e,s),this._preserveLineEndings=n.preserveLineEndings||!1,this._escapedString=n.escapedString||!1,this._i18nNormalizeLineEndingsInICUs=n.i18nNormalizeLineEndingsInICUs||!1;try{this._cursor.init()}catch(i){this.handleError(i)}}_processCarriageReturns(e){return this._preserveLineEndings?e:e.replace(Ra,` -`)}tokenize(){for(;this._cursor.peek()!==0;){let e=this._cursor.clone();try{if(this._attemptCharCode(60))if(this._attemptCharCode(33))this._attemptStr("[CDATA[")?this._consumeCdata(e):this._attemptStr("--")?this._consumeComment(e):this._attemptStrCaseInsensitive("doctype")?this._consumeDocType(e):this._consumeBogusComment(e);else if(this._attemptCharCode(47))this._consumeTagClose(e);else{let r=this._cursor.clone();this._attemptCharCode(63)?(this._cursor=r,this._consumeBogusComment(e)):this._consumeTagOpen(e)}else this._tokenizeIcu&&this._tokenizeExpansionForm()||this._consumeWithInterpolation(5,8,()=>this._isTextEnd(),()=>this._isTagStart())}catch(r){this.handleError(r)}}this._beginToken(25),this._endToken([])}_tokenizeExpansionForm(){if(this.isExpansionFormStart())return this._consumeExpansionFormStart(),!0;if(Ha(this._cursor.peek())&&this._isInExpansionForm())return this._consumeExpansionCaseStart(),!0;if(this._cursor.peek()===125){if(this._isInExpansionCase())return this._consumeExpansionCaseEnd(),!0;if(this._isInExpansionForm())return this._consumeExpansionFormEnd(),!0}return!1}_beginToken(e,r=this._cursor.clone()){this._currentTokenStart=r,this._currentTokenType=e}_endToken(e,r){if(this._currentTokenStart===null)throw new at("Programming error - attempted to end a token when there was no start to the token",this._currentTokenType,this._cursor.getSpan(r));if(this._currentTokenType===null)throw new at("Programming error - attempted to end a token which has no token type",null,this._cursor.getSpan(this._currentTokenStart));let n={type:this._currentTokenType,parts:e,sourceSpan:(r??this._cursor).getSpan(this._currentTokenStart,this._leadingTriviaCodePoints)};return this.tokens.push(n),this._currentTokenStart=null,this._currentTokenType=null,n}_createError(e,r){this._isInExpansionForm()&&(e+=` (Do you have an unescaped "{" in your template? Use "{{ '{' }}") to escape it.)`);let n=new at(e,this._currentTokenType,r);return this._currentTokenStart=null,this._currentTokenType=null,new ut(n)}handleError(e){if(e instanceof ot&&(e=this._createError(e.msg,this._cursor.getSpan(e.cursor))),e instanceof ut)this.errors.push(e.error);else throw e}_attemptCharCode(e){return this._cursor.peek()===e?(this._cursor.advance(),!0):!1}_attemptCharCodeCaseInsensitive(e){return Va(this._cursor.peek(),e)?(this._cursor.advance(),!0):!1}_requireCharCode(e){let r=this._cursor.clone();if(!this._attemptCharCode(e))throw this._createError(Oe(this._cursor.peek()),this._cursor.getSpan(r))}_attemptStr(e){let r=e.length;if(this._cursor.charsLeft()this._attemptStr("-->")),this._beginToken(11),this._requireStr("-->"),this._endToken([])}_consumeBogusComment(e){this._beginToken(10,e),this._endToken([]),this._consumeRawText(!1,()=>this._cursor.peek()===62),this._beginToken(11),this._cursor.advance(),this._endToken([])}_consumeCdata(e){this._beginToken(12,e),this._endToken([]),this._consumeRawText(!1,()=>this._attemptStr("]]>")),this._beginToken(13),this._requireStr("]]>"),this._endToken([])}_consumeDocType(e){this._beginToken(18,e),this._endToken([]),this._consumeRawText(!1,()=>this._cursor.peek()===62),this._beginToken(19),this._cursor.advance(),this._endToken([])}_consumePrefixAndName(){let e=this._cursor.clone(),r="";for(;this._cursor.peek()!==58&&!Ma(this._cursor.peek());)this._cursor.advance();let n;this._cursor.peek()===58?(r=this._cursor.getChars(e),this._cursor.advance(),n=this._cursor.clone()):n=e,this._requireCharCodeUntilFn(hs,r===""?0:1);let s=this._cursor.getChars(n);return[r,s]}_consumeTagOpen(e){let r,n,s,i=[];try{if(!lr(this._cursor.peek()))throw this._createError(Oe(this._cursor.peek()),this._cursor.getSpan(e));for(s=this._consumeTagOpenStart(e),n=s.parts[0],r=s.parts[1],this._attemptCharCodeUntilFn(F);this._cursor.peek()!==47&&this._cursor.peek()!==62&&this._cursor.peek()!==60&&this._cursor.peek()!==0;){let[u,o]=this._consumeAttributeName();if(this._attemptCharCodeUntilFn(F),this._attemptCharCode(61)){this._attemptCharCodeUntilFn(F);let p=this._consumeAttributeValue();i.push({prefix:u,name:o,value:p})}else i.push({prefix:u,name:o});this._attemptCharCodeUntilFn(F)}this._consumeTagOpenEnd()}catch(u){if(u instanceof ut){s?s.type=4:(this._beginToken(5,e),this._endToken(["<"]));return}throw u}if(this._canSelfClose&&this.tokens[this.tokens.length-1].type===2)return;let a=this._getTagContentType(r,n,this._fullNameStack.length>0,i);this._handleFullNameStackForTagOpen(n,r),a===k.RAW_TEXT?this._consumeRawTextWithTagClose(n,r,!1):a===k.ESCAPABLE_RAW_TEXT&&this._consumeRawTextWithTagClose(n,r,!0)}_consumeRawTextWithTagClose(e,r,n){this._consumeRawText(n,()=>!this._attemptCharCode(60)||!this._attemptCharCode(47)||(this._attemptCharCodeUntilFn(F),!this._attemptStrCaseInsensitive(e?`${e}:${r}`:r))?!1:(this._attemptCharCodeUntilFn(F),this._attemptCharCode(62))),this._beginToken(3),this._requireCharCodeUntilFn(s=>s===62,3),this._cursor.advance(),this._endToken([e,r]),this._handleFullNameStackForTagClose(e,r)}_consumeTagOpenStart(e){this._beginToken(0,e);let r=this._consumePrefixAndName();return this._endToken(r)}_consumeAttributeName(){let e=this._cursor.peek();if(e===39||e===34)throw this._createError(Oe(e),this._cursor.getSpan());this._beginToken(14);let r=this._consumePrefixAndName();return this._endToken(r),r}_consumeAttributeValue(){let e;if(this._cursor.peek()===39||this._cursor.peek()===34){let r=this._cursor.peek();this._consumeQuote(r);let n=()=>this._cursor.peek()===r;e=this._consumeWithInterpolation(16,17,n,n),this._consumeQuote(r)}else{let r=()=>hs(this._cursor.peek());e=this._consumeWithInterpolation(16,17,r,r)}return e}_consumeQuote(e){this._beginToken(15),this._requireCharCode(e),this._endToken([String.fromCodePoint(e)])}_consumeTagOpenEnd(){let e=this._attemptCharCode(47)?2:1;this._beginToken(e),this._requireCharCode(62),this._endToken([])}_consumeTagClose(e){if(this._beginToken(3,e),this._attemptCharCodeUntilFn(F),this._allowHtmComponentClosingTags&&this._attemptCharCode(47))this._attemptCharCodeUntilFn(F),this._requireCharCode(62),this._endToken([]);else{let[r,n]=this._consumePrefixAndName();this._attemptCharCodeUntilFn(F),this._requireCharCode(62),this._endToken([r,n]),this._handleFullNameStackForTagClose(r,n)}}_consumeExpansionFormStart(){this._beginToken(20),this._requireCharCode(123),this._endToken([]),this._expansionCaseStack.push(20),this._beginToken(7);let e=this._readUntil(44),r=this._processCarriageReturns(e);if(this._i18nNormalizeLineEndingsInICUs)this._endToken([r]);else{let s=this._endToken([e]);r!==e&&this.nonNormalizedIcuExpressions.push(s)}this._requireCharCode(44),this._attemptCharCodeUntilFn(F),this._beginToken(7);let n=this._readUntil(44);this._endToken([n]),this._requireCharCode(44),this._attemptCharCodeUntilFn(F)}_consumeExpansionCaseStart(){this._beginToken(21);let e=this._readUntil(123).trim();this._endToken([e]),this._attemptCharCodeUntilFn(F),this._beginToken(22),this._requireCharCode(123),this._endToken([]),this._attemptCharCodeUntilFn(F),this._expansionCaseStack.push(22)}_consumeExpansionCaseEnd(){this._beginToken(23),this._requireCharCode(125),this._endToken([]),this._attemptCharCodeUntilFn(F),this._expansionCaseStack.pop()}_consumeExpansionFormEnd(){this._beginToken(24),this._requireCharCode(125),this._endToken([]),this._expansionCaseStack.pop()}_consumeWithInterpolation(e,r,n,s){this._beginToken(e);let i=[];for(;!n();){let u=this._cursor.clone();this._interpolationConfig&&this._attemptStr(this._interpolationConfig.start)?(this._endToken([this._processCarriageReturns(i.join(""))],u),i.length=0,this._consumeInterpolation(r,u,s),this._beginToken(e)):this._cursor.peek()===38?(this._endToken([this._processCarriageReturns(i.join(""))]),i.length=0,this._consumeEntity(e),this._beginToken(e)):i.push(this._readChar())}this._inInterpolation=!1;let a=this._processCarriageReturns(i.join(""));return this._endToken([a]),a}_consumeInterpolation(e,r,n){let s=[];this._beginToken(e,r),s.push(this._interpolationConfig.start);let i=this._cursor.clone(),a=null,u=!1;for(;this._cursor.peek()!==0&&(n===null||!n());){let o=this._cursor.clone();if(this._isTagStart()){this._cursor=o,s.push(this._getProcessedChars(i,o)),this._endToken(s);return}if(a===null)if(this._attemptStr(this._interpolationConfig.end)){s.push(this._getProcessedChars(i,o)),s.push(this._interpolationConfig.end),this._endToken(s);return}else this._attemptStr("//")&&(u=!0);let p=this._cursor.peek();this._cursor.advance(),p===92?this._cursor.advance():p===a?a=null:!u&&a===null&&Tn(p)&&(a=p)}s.push(this._getProcessedChars(i,this._cursor)),this._endToken(s)}_getProcessedChars(e,r){return this._processCarriageReturns(r.getChars(e))}_isTextEnd(){return!!(this._isTagStart()||this._cursor.peek()===0||this._tokenizeIcu&&!this._inInterpolation&&(this.isExpansionFormStart()||this._cursor.peek()===125&&this._isInExpansionCase()))}_isTagStart(){if(this._cursor.peek()===60){let e=this._cursor.clone();e.advance();let r=e.peek();if(97<=r&&r<=122||65<=r&&r<=90||r===47||r===33)return!0}return!1}_readUntil(e){let r=this._cursor.clone();return this._attemptUntilChar(e),this._cursor.getChars(r)}_isInExpansionCase(){return this._expansionCaseStack.length>0&&this._expansionCaseStack[this._expansionCaseStack.length-1]===22}_isInExpansionForm(){return this._expansionCaseStack.length>0&&this._expansionCaseStack[this._expansionCaseStack.length-1]===20}isExpansionFormStart(){if(this._cursor.peek()!==123)return!1;if(this._interpolationConfig){let e=this._cursor.clone(),r=this._attemptStr(this._interpolationConfig.start);return this._cursor=e,!r}return!0}_handleFullNameStackForTagOpen(e,r){let n=Re(e,r);(this._fullNameStack.length===0||this._fullNameStack[this._fullNameStack.length-1]===n)&&this._fullNameStack.push(n)}_handleFullNameStackForTagClose(e,r){let n=Re(e,r);this._fullNameStack.length!==0&&this._fullNameStack[this._fullNameStack.length-1]===n&&this._fullNameStack.pop()}};function F(t){return!or(t)||t===0}function hs(t){return or(t)||t===62||t===60||t===47||t===39||t===34||t===61||t===0}function Ma(t){return(t<97||12257)}function Oa(t){return t===59||t===0||!wn(t)}function qa(t){return t===59||t===0||!lr(t)}function Ha(t){return t!==125}function Va(t,e){return fs(t)===fs(e)}function fs(t){return t>=97&&t<=122?t-97+65:t}function Ua(t){let e=[],r;for(let n=0;n0&&r.indexOf(e.peek())!==-1;)n===e&&(e=e.clone()),e.advance();let s=this.locationFromCursor(e),i=this.locationFromCursor(this),a=n!==e?this.locationFromCursor(n):s;return new m(s,i,a)}getChars(e){return this.input.substring(e.state.offset,this.state.offset)}charAt(e){return this.input.charCodeAt(e)}advanceState(e){if(e.offset>=this.end)throw this.state=e,new ot('Unexpected character "EOF"',this);let r=this.charAt(e.offset);r===10?(e.line++,e.column=0):cr(r)||e.column++,e.offset++,this.updatePeek(e)}updatePeek(e){e.peek=e.offset>=this.end?0:this.charAt(e.offset)}locationFromCursor(e){return new ee(e.file,e.state.offset,e.state.line,e.state.column)}},xr=class t extends Wt{constructor(e,r){e instanceof t?(super(e),this.internalState={...e.internalState}):(super(e,r),this.internalState=this.state)}advance(){this.state=this.internalState,super.advance(),this.processEscapeSequence()}init(){super.init(),this.processEscapeSequence()}clone(){return new t(this)}getChars(e){let r=e.clone(),n="";for(;r.internalState.offsetthis.internalState.peek;if(e()===92)if(this.internalState={...this.state},this.advanceState(this.internalState),e()===110)this.state.peek=10;else if(e()===114)this.state.peek=13;else if(e()===118)this.state.peek=11;else if(e()===116)this.state.peek=9;else if(e()===98)this.state.peek=8;else if(e()===102)this.state.peek=12;else if(e()===117)if(this.advanceState(this.internalState),e()===123){this.advanceState(this.internalState);let r=this.clone(),n=0;for(;e()!==125;)this.advanceState(this.internalState),n++;this.state.peek=this.decodeHexDigits(r,n)}else{let r=this.clone();this.advanceState(this.internalState),this.advanceState(this.internalState),this.advanceState(this.internalState),this.state.peek=this.decodeHexDigits(r,4)}else if(e()===120){this.advanceState(this.internalState);let r=this.clone();this.advanceState(this.internalState),this.state.peek=this.decodeHexDigits(r,2)}else if(pr(e())){let r="",n=0,s=this.clone();for(;pr(e())&&n<3;)s=this.clone(),r+=String.fromCodePoint(e()),this.advanceState(this.internalState),n++;this.state.peek=parseInt(r,8),this.internalState=s.internalState}else cr(this.internalState.peek)?(this.advanceState(this.internalState),this.state=this.internalState):this.state.peek=this.internalState.peek}decodeHexDigits(e,r){let n=this.input.slice(e.internalState.offset,e.internalState.offset+r),s=parseInt(n,16);if(isNaN(s))throw e.state=e.internalState,new ot("Invalid hexadecimal escape sequence",e);return s}},ot=class{constructor(e,r){this.msg=e,this.cursor=r}};var H=class t extends Fe{static create(e,r,n){return new t(e,r,n)}constructor(e,r,n){super(r,n),this.elementName=e}},Lr=class{constructor(e,r){this.rootNodes=e,this.errors=r}},Gt=class{constructor(e){this.getTagDefinition=e}parse(e,r,n,s=!1,i){let a=A=>(B,...y)=>A(B.toLowerCase(),...y),u=s?this.getTagDefinition:a(this.getTagDefinition),o=A=>u(A).getContentType(),p=s?i:a(i),g=Ss(e,r,i?(A,B,y,l)=>{let d=p(A,B,y,l);return d!==void 0?d:o(A)}:o,n),h=n&&n.canSelfClose||!1,C=n&&n.allowHtmComponentClosingTags||!1,E=new Fr(g.tokens,u,h,C,s);return E.build(),new Lr(E.rootNodes,g.errors.concat(E.errors))}},Fr=class t{constructor(e,r,n,s,i){this.tokens=e,this.getTagDefinition=r,this.canSelfClose=n,this.allowHtmComponentClosingTags=s,this.isTagNameCaseSensitive=i,this._index=-1,this._elementStack=[],this.rootNodes=[],this.errors=[],this._advance()}build(){for(;this._peek.type!==25;)this._peek.type===0||this._peek.type===4?this._consumeStartTag(this._advance()):this._peek.type===3?(this._closeVoidElement(),this._consumeEndTag(this._advance())):this._peek.type===12?(this._closeVoidElement(),this._consumeCdata(this._advance())):this._peek.type===10?(this._closeVoidElement(),this._consumeComment(this._advance())):this._peek.type===5||this._peek.type===7||this._peek.type===6?(this._closeVoidElement(),this._consumeText(this._advance())):this._peek.type===20?this._consumeExpansion(this._advance()):this._peek.type===18?this._consumeDocType(this._advance()):this._advance()}_advance(){let e=this._peek;return this._index0)return this.errors=this.errors.concat(i.errors),null;let a=new m(e.sourceSpan.start,s.sourceSpan.end,e.sourceSpan.fullStart),u=new m(r.sourceSpan.start,s.sourceSpan.end,r.sourceSpan.fullStart);return new Pt(e.parts[0],i.rootNodes,a,e.sourceSpan,u)}_collectExpansionExpTokens(e){let r=[],n=[22];for(;;){if((this._peek.type===20||this._peek.type===22)&&n.push(this._peek.type),this._peek.type===23)if(Es(n,22)){if(n.pop(),n.length===0)return r}else return this.errors.push(H.create(null,e.sourceSpan,"Invalid ICU message. Missing '}'.")),null;if(this._peek.type===24)if(Es(n,20))n.pop();else return this.errors.push(H.create(null,e.sourceSpan,"Invalid ICU message. Missing '}'.")),null;if(this._peek.type===25)return this.errors.push(H.create(null,e.sourceSpan,"Invalid ICU message. Missing '}'.")),null;r.push(this._advance())}}_getText(e){let r=e.parts[0];if(r.length>0&&r[0]==` -`){let n=this._getParentElement();n!=null&&n.children.length==0&&this.getTagDefinition(n.name).ignoreFirstLf&&(r=r.substring(1))}return r}_consumeText(e){let r=[e],n=e.sourceSpan,s=e.parts[0];if(s.length>0&&s[0]===` -`){let i=this._getParentElement();i!=null&&i.children.length===0&&this.getTagDefinition(i.name).ignoreFirstLf&&(s=s.substring(1),r[0]={type:e.type,sourceSpan:e.sourceSpan,parts:[s]})}for(;this._peek.type===8||this._peek.type===5||this._peek.type===9;)e=this._advance(),r.push(e),e.type===8?s+=e.parts.join("").replace(/&([^;]+);/g,As):e.type===9?s+=e.parts[0]:s+=e.parts.join("");if(s.length>0){let i=e.sourceSpan;this._addToParent(new Lt(s,new m(n.start,i.end,n.fullStart,n.details),r))}}_closeVoidElement(){let e=this._getParentElement();e&&this.getTagDefinition(e.name).isVoid&&this._elementStack.pop()}_consumeStartTag(e){let[r,n]=e.parts,s=[];for(;this._peek.type===14;)s.push(this._consumeAttr(this._advance()));let i=this._getElementFullName(r,n,this._getParentElement()),a=!1;if(this._peek.type===2){this._advance(),a=!0;let h=this.getTagDefinition(i);this.canSelfClose||h.canSelfClose||Ie(i)!==null||h.isVoid||this.errors.push(H.create(i,e.sourceSpan,`Only void, custom and foreign elements can be self closed "${e.parts[1]}"`))}else this._peek.type===1&&(this._advance(),a=!1);let u=this._peek.sourceSpan.fullStart,o=new m(e.sourceSpan.start,u,e.sourceSpan.fullStart),p=new m(e.sourceSpan.start,u,e.sourceSpan.fullStart),c=new m(e.sourceSpan.start.moveBy(1),e.sourceSpan.end),g=new Rt(i,s,[],o,p,void 0,c);this._pushElement(g),a?this._popElement(i,o):e.type===4&&(this._popElement(i,null),this.errors.push(H.create(i,o,`Opening tag "${i}" not terminated.`)))}_pushElement(e){let r=this._getParentElement();r&&this.getTagDefinition(r.name).isClosedByChild(e.name)&&this._elementStack.pop(),this._addToParent(e),this._elementStack.push(e)}_consumeEndTag(e){let r=this.allowHtmComponentClosingTags&&e.parts.length===0?null:this._getElementFullName(e.parts[0],e.parts[1],this._getParentElement());if(r&&this.getTagDefinition(r).isVoid)this.errors.push(H.create(r,e.sourceSpan,`Void elements do not have end tags "${e.parts[1]}"`));else if(!this._popElement(r,e.sourceSpan)){let n=`Unexpected closing tag "${r}". It may happen when the tag has already been closed by another tag. For more info see https://www.w3.org/TR/html5/syntax.html#closing-elements-that-have-implied-end-tags`;this.errors.push(H.create(r,e.sourceSpan,n))}}_popElement(e,r){let n=!1;for(let s=this._elementStack.length-1;s>=0;s--){let i=this._elementStack[s];if(!e||(Ie(i.name)?i.name==e:i.name.toLowerCase()==e.toLowerCase()))return i.endSourceSpan=r,i.sourceSpan.end=r!==null?r.end:i.sourceSpan.end,this._elementStack.splice(s,this._elementStack.length-s),!n;this.getTagDefinition(i.name).closedByParent||(n=!0)}return!1}_consumeAttr(e){let r=Re(e.parts[0],e.parts[1]),n=e.sourceSpan.end,s;this._peek.type===15&&(s=this._advance());let i="",a=[],u,o;if(this._peek.type===16)for(u=this._peek.sourceSpan,o=this._peek.sourceSpan.end;this._peek.type===16||this._peek.type===17||this._peek.type===9;){let g=this._advance();a.push(g),g.type===17?i+=g.parts.join("").replace(/&([^;]+);/g,As):g.type===9?i+=g.parts[0]:i+=g.parts.join(""),o=n=g.sourceSpan.end}this._peek.type===15&&(o=n=this._advance().sourceSpan.end);let c=u&&o&&new m((s==null?void 0:s.sourceSpan.start)??u.start,o,(s==null?void 0:s.sourceSpan.fullStart)??u.fullStart);return new It(r,i,new m(e.sourceSpan.start,n,e.sourceSpan.fullStart),e.sourceSpan,c,a.length>0?a:void 0,void 0)}_getParentElement(){return this._elementStack.length>0?this._elementStack[this._elementStack.length-1]:null}_addToParent(e){let r=this._getParentElement();r!=null?r.children.push(e):this.rootNodes.push(e)}_getElementFullName(e,r,n){if(e===""&&(e=this.getTagDefinition(r).implicitNamespacePrefix||"",e===""&&n!=null)){let s=tt(n.name)[1];this.getTagDefinition(s).preventNamespaceInheritance||(e=Ie(n.name))}return Re(e,r)}};function Es(t,e){return t.length>0&&t[t.length-1]===e}function As(t,e){return Me[e]!==void 0?Me[e]||t:/^#x[a-f0-9]+$/i.test(e)?String.fromCodePoint(parseInt(e.slice(2),16)):/^#\d+$/.test(e)?String.fromCodePoint(parseInt(e.slice(1),10)):t}var zt=class extends Gt{constructor(){super($e)}parse(e,r,n,s=!1,i){return super.parse(e,r,n,s,i)}};var Nr=null,Wa=()=>(Nr||(Nr=new zt),Nr);function Pr(t,e={}){let{canSelfClose:r=!1,allowHtmComponentClosingTags:n=!1,isTagNameCaseSensitive:s=!1,getTagContentType:i}=e;return Wa().parse(t,"angular-html-parser",{tokenizeExpansionForms:!1,interpolationConfig:void 0,canSelfClose:r,allowHtmComponentClosingTags:n},s,i)}var Ga=new RegExp("^(?-{3}|\\+{3})(?[^\\n]*)\\n(?:|(?.*?)\\n)(?\\k|\\.{3})[^\\S\\n]*(?:\\n|$)","s");function za(t){let e=t.match(Ga);if(!e)return{content:t};let{startDelimiter:r,language:n,value:s="",endDelimiter:i}=e.groups,a=n.trim()||"yaml";if(r==="+++"&&(a="toml"),a!=="yaml"&&r!==i)return{content:t};let[u]=e;return{frontMatter:{type:"front-matter",lang:a,value:s,startDelimiter:r,endDelimiter:i,raw:u.replace(/\n$/,"")},content:v(!1,u,/[^\n]/g," ")+t.slice(u.length)}}var _s=za;function Ya(t,e){let r=new SyntaxError(t+" ("+e.loc.start.line+":"+e.loc.start.column+")");return Object.assign(r,e)}var Ds=Ya;var vs=new Set(["a","abbr","acronym","address","applet","area","article","aside","audio","b","base","basefont","bdi","bdo","bgsound","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","command","content","data","datalist","dd","del","details","dfn","dialog","dir","div","dl","dt","element","em","embed","fieldset","figcaption","figure","font","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","image","img","input","ins","isindex","kbd","keygen","label","legend","li","link","listing","main","map","mark","marquee","math","menu","menuitem","meta","meter","multicol","nav","nextid","nobr","noembed","noframes","noscript","object","ol","optgroup","option","output","p","param","picture","plaintext","pre","progress","q","rb","rbc","rp","rt","rtc","ruby","s","samp","script","search","section","select","shadow","slot","small","source","spacer","span","strike","strong","style","sub","summary","sup","svg","table","tbody","td","template","textarea","tfoot","th","thead","time","title","tr","track","tt","u","ul","var","video","wbr","xmp"]);var Yt=new Map([["*",new Set(["accesskey","autocapitalize","autofocus","class","contenteditable","dir","draggable","enterkeyhint","hidden","id","inert","inputmode","is","itemid","itemprop","itemref","itemscope","itemtype","lang","nonce","popover","slot","spellcheck","style","tabindex","title","translate"])],["a",new Set(["charset","coords","download","href","hreflang","name","ping","referrerpolicy","rel","rev","shape","target","type"])],["applet",new Set(["align","alt","archive","code","codebase","height","hspace","name","object","vspace","width"])],["area",new Set(["alt","coords","download","href","hreflang","nohref","ping","referrerpolicy","rel","shape","target","type"])],["audio",new Set(["autoplay","controls","crossorigin","loop","muted","preload","src"])],["base",new Set(["href","target"])],["basefont",new Set(["color","face","size"])],["blockquote",new Set(["cite"])],["body",new Set(["alink","background","bgcolor","link","text","vlink"])],["br",new Set(["clear"])],["button",new Set(["disabled","form","formaction","formenctype","formmethod","formnovalidate","formtarget","name","popovertarget","popovertargetaction","type","value"])],["canvas",new Set(["height","width"])],["caption",new Set(["align"])],["col",new Set(["align","char","charoff","span","valign","width"])],["colgroup",new Set(["align","char","charoff","span","valign","width"])],["data",new Set(["value"])],["del",new Set(["cite","datetime"])],["details",new Set(["open"])],["dialog",new Set(["open"])],["dir",new Set(["compact"])],["div",new Set(["align"])],["dl",new Set(["compact"])],["embed",new Set(["height","src","type","width"])],["fieldset",new Set(["disabled","form","name"])],["font",new Set(["color","face","size"])],["form",new Set(["accept","accept-charset","action","autocomplete","enctype","method","name","novalidate","target"])],["frame",new Set(["frameborder","longdesc","marginheight","marginwidth","name","noresize","scrolling","src"])],["frameset",new Set(["cols","rows"])],["h1",new Set(["align"])],["h2",new Set(["align"])],["h3",new Set(["align"])],["h4",new Set(["align"])],["h5",new Set(["align"])],["h6",new Set(["align"])],["head",new Set(["profile"])],["hr",new Set(["align","noshade","size","width"])],["html",new Set(["manifest","version"])],["iframe",new Set(["align","allow","allowfullscreen","allowpaymentrequest","allowusermedia","frameborder","height","loading","longdesc","marginheight","marginwidth","name","referrerpolicy","sandbox","scrolling","src","srcdoc","width"])],["img",new Set(["align","alt","border","crossorigin","decoding","fetchpriority","height","hspace","ismap","loading","longdesc","name","referrerpolicy","sizes","src","srcset","usemap","vspace","width"])],["input",new Set(["accept","align","alt","autocomplete","checked","dirname","disabled","form","formaction","formenctype","formmethod","formnovalidate","formtarget","height","ismap","list","max","maxlength","min","minlength","multiple","name","pattern","placeholder","popovertarget","popovertargetaction","readonly","required","size","src","step","type","usemap","value","width"])],["ins",new Set(["cite","datetime"])],["isindex",new Set(["prompt"])],["label",new Set(["for","form"])],["legend",new Set(["align"])],["li",new Set(["type","value"])],["link",new Set(["as","blocking","charset","color","crossorigin","disabled","fetchpriority","href","hreflang","imagesizes","imagesrcset","integrity","media","referrerpolicy","rel","rev","sizes","target","type"])],["map",new Set(["name"])],["menu",new Set(["compact"])],["meta",new Set(["charset","content","http-equiv","media","name","scheme"])],["meter",new Set(["high","low","max","min","optimum","value"])],["object",new Set(["align","archive","border","classid","codebase","codetype","data","declare","form","height","hspace","name","standby","type","typemustmatch","usemap","vspace","width"])],["ol",new Set(["compact","reversed","start","type"])],["optgroup",new Set(["disabled","label"])],["option",new Set(["disabled","label","selected","value"])],["output",new Set(["for","form","name"])],["p",new Set(["align"])],["param",new Set(["name","type","value","valuetype"])],["pre",new Set(["width"])],["progress",new Set(["max","value"])],["q",new Set(["cite"])],["script",new Set(["async","blocking","charset","crossorigin","defer","fetchpriority","integrity","language","nomodule","referrerpolicy","src","type"])],["select",new Set(["autocomplete","disabled","form","multiple","name","required","size"])],["slot",new Set(["name"])],["source",new Set(["height","media","sizes","src","srcset","type","width"])],["style",new Set(["blocking","media","type"])],["table",new Set(["align","bgcolor","border","cellpadding","cellspacing","frame","rules","summary","width"])],["tbody",new Set(["align","char","charoff","valign"])],["td",new Set(["abbr","align","axis","bgcolor","char","charoff","colspan","headers","height","nowrap","rowspan","scope","valign","width"])],["textarea",new Set(["autocomplete","cols","dirname","disabled","form","maxlength","minlength","name","placeholder","readonly","required","rows","wrap"])],["tfoot",new Set(["align","char","charoff","valign"])],["th",new Set(["abbr","align","axis","bgcolor","char","charoff","colspan","headers","height","nowrap","rowspan","scope","valign","width"])],["thead",new Set(["align","char","charoff","valign"])],["time",new Set(["datetime"])],["tr",new Set(["align","bgcolor","char","charoff","valign"])],["track",new Set(["default","kind","label","src","srclang"])],["ul",new Set(["compact","type"])],["video",new Set(["autoplay","controls","crossorigin","height","loop","muted","playsinline","poster","preload","src","width"])]]);var jt={attrs:!0,children:!0},ys=new Set(["parent"]),Kt=class t{constructor(e={}){for(let r of new Set([...ys,...Object.keys(e)]))this.setProperty(r,e[r])}setProperty(e,r){if(this[e]!==r){if(e in jt&&(r=r.map(n=>this.createChild(n))),!ys.has(e)){this[e]=r;return}Object.defineProperty(this,e,{value:r,enumerable:!1,configurable:!0})}}map(e){let r;for(let n in jt){let s=this[n];if(s){let i=ja(s,a=>a.map(e));r!==s&&(r||(r=new t({parent:this.parent})),r.setProperty(n,i))}}if(r)for(let n in this)n in jt||(r[n]=this[n]);return e(r||this)}walk(e){for(let r in jt){let n=this[r];if(n)for(let s=0;s[e.fullName,e.value]))}};function ja(t,e){let r=t.map(e);return r.some((n,s)=>n!==t[s])?r:t}var Ka=[{regex:/^(\[if([^\]]*)]>)(.*?){try{return[!0,e(i,u).children]}catch{return[!1,[{type:"text",value:i,sourceSpan:new m(u,o)}]]}})();return{type:"ieConditionalComment",complete:p,children:c,condition:v(!1,s.trim(),/\s+/g," "),sourceSpan:t.sourceSpan,startSourceSpan:new m(t.sourceSpan.start,u),endSourceSpan:new m(o,t.sourceSpan.end)}}function Qa(t,e,r){let[,n]=r;return{type:"ieConditionalStartComment",condition:v(!1,n.trim(),/\s+/g," "),sourceSpan:t.sourceSpan}}function Ja(t){return{type:"ieConditionalEndComment",sourceSpan:t.sourceSpan}}function Ts(t,e,r){let{name:n,canSelfClose:s=!0,normalizeTagName:i=!1,normalizeAttributeName:a=!1,allowHtmComponentClosingTags:u=!1,isTagNameCaseSensitive:o=!1,shouldParseAsRawText:p}=e,{rootNodes:c,errors:g}=Pr(t,{canSelfClose:s,allowHtmComponentClosingTags:u,isTagNameCaseSensitive:o,getTagContentType:p?(...l)=>p(...l)?k.RAW_TEXT:void 0:void 0});if(n==="vue"){if(c.some(w=>w.type==="docType"&&w.value==="html"||w.type==="element"&&w.name.toLowerCase()==="html"))return Ts(t,ks,r);let d,b=()=>d??(d=Pr(t,{canSelfClose:s,allowHtmComponentClosingTags:u,isTagNameCaseSensitive:o})),I=w=>b().rootNodes.find(({startSourceSpan:$})=>$&&$.start.offset===w.startSourceSpan.start.offset)??w;for(let[w,$]of c.entries()){let{endSourceSpan:$r,startSourceSpan:Ns}=$;if($r===null)g=b().errors,c[w]=I($);else if(Za($,r)){let Mr=b().errors.find(Or=>Or.span.start.offset>Ns.start.offset&&Or.span.start.offset<$r.end.offset);Mr&&ws(Mr),c[w]=I($)}}}g.length>0&&ws(g[0]);let h=l=>{let d=l.name.startsWith(":")?l.name.slice(1).split(":")[0]:null,b=l.nameSpan.toString(),I=d!==null&&b.startsWith(`${d}:`),w=I?b.slice(d.length+1):b;l.name=w,l.namespace=d,l.hasExplicitNamespace=I},C=l=>{switch(l.type){case"element":h(l);for(let d of l.attrs)h(d),d.valueSpan?(d.value=d.valueSpan.toString(),/["']/.test(d.value[0])&&(d.value=d.value.slice(1,-1))):d.value=null;break;case"comment":l.value=l.sourceSpan.toString().slice(4,-3);break;case"text":l.value=l.sourceSpan.toString();break}},E=(l,d)=>{let b=l.toLowerCase();return d(b)?b:l},A=l=>{if(l.type==="element"&&(i&&(!l.namespace||l.namespace===l.tagDefinition.implicitNamespacePrefix||ce(l))&&(l.name=E(l.name,d=>vs.has(d))),a))for(let d of l.attrs)d.namespace||(d.name=E(d.name,b=>Yt.has(l.name)&&(Yt.get("*").has(b)||Yt.get(l.name).has(b))))},B=l=>{l.sourceSpan&&l.endSourceSpan&&(l.sourceSpan=new m(l.sourceSpan.start,l.endSourceSpan.end))},y=l=>{if(l.type==="element"){let d=$e(o?l.name:l.name.toLowerCase());!l.namespace||l.namespace===d.implicitNamespacePrefix||ce(l)?l.tagDefinition=d:l.tagDefinition=$e("")}};return Ot(new class extends nt{visit(l){C(l),y(l),A(l),B(l)}},c),c}function Za(t,e){var n;if(t.type!=="element"||t.name!=="template")return!1;let r=(n=t.attrs.find(s=>s.name==="lang"))==null?void 0:n.value;return!r||Be(e,{language:r})==="html"}function ws(t){let{msg:e,span:{start:r,end:n}}=t;throw Ds(e,{loc:{start:{line:r.line+1,column:r.col+1},end:{line:n.line+1,column:n.col+1}},cause:t})}function xs(t,e,r={},n=!0){let{frontMatter:s,content:i}=n?_s(t):{frontMatter:null,content:t},a=new fe(t,r.filepath),u=new ee(a,0,0,0),o=u.moveBy(t.length),p={type:"root",sourceSpan:new m(u,o),children:Ts(i,e,r)};if(s){let h=new ee(a,0,0,0),C=h.moveBy(s.raw.length);s.sourceSpan=new m(h,C),p.children.unshift(s)}let c=new Kt(p),g=(h,C)=>{let{offset:E}=C,A=v(!1,t.slice(0,E),/[^\n\r]/g," "),y=xs(A+h,e,r,!1);y.sourceSpan=new m(C,xe(!1,y.children,-1).sourceSpan.end);let l=y.children[0];return l.length===E?y.children.shift():(l.sourceSpan=new m(l.sourceSpan.start.moveBy(E),l.sourceSpan.end),l.value=l.value.slice(E)),y};return c.walk(h=>{if(h.type==="comment"){let C=bs(h,g);C&&h.parent.replaceChild(h,C)}}),c}function Xt(t){return{parse:(e,r)=>xs(e,t,r),hasPragma:Ln,astFormat:"html",locStart:te,locEnd:re}}var ks={name:"html",normalizeTagName:!0,normalizeAttributeName:!0,allowHtmComponentClosingTags:!0},eu=Xt(ks),tu=Xt({name:"angular"}),ru=Xt({name:"vue",isTagNameCaseSensitive:!0,shouldParseAsRawText(t,e,r,n){return t.toLowerCase()!=="html"&&!r&&(t!=="template"||n.some(({name:s,value:i})=>s==="lang"&&i!=="html"&&i!==""&&i!==void 0))}}),nu=Xt({name:"lwc",canSelfClose:!1});var Bs=[{linguistLanguageId:146,name:"Angular",type:"markup",tmScope:"text.html.basic",aceMode:"html",codemirrorMode:"htmlmixed",codemirrorMimeType:"text/html",color:"#e34c26",aliases:["xhtml"],extensions:[".component.html"],parsers:["angular"],vscodeLanguageIds:["html"],filenames:[]},{linguistLanguageId:146,name:"HTML",type:"markup",tmScope:"text.html.basic",aceMode:"html",codemirrorMode:"htmlmixed",codemirrorMimeType:"text/html",color:"#e34c26",aliases:["xhtml"],extensions:[".html",".hta",".htm",".html.hl",".inc",".xht",".xhtml",".mjml"],parsers:["html"],vscodeLanguageIds:["html"]},{linguistLanguageId:146,name:"Lightning Web Components",type:"markup",tmScope:"text.html.basic",aceMode:"html",codemirrorMode:"htmlmixed",codemirrorMimeType:"text/html",color:"#e34c26",aliases:["xhtml"],extensions:[],parsers:["lwc"],vscodeLanguageIds:["html"],filenames:[]},{linguistLanguageId:391,name:"Vue",type:"markup",color:"#41b883",extensions:[".vue"],tmScope:"text.html.vue",aceMode:"html",parsers:["vue"],vscodeLanguageIds:["vue"]}];var Ir={bracketSpacing:{category:"Common",type:"boolean",default:!0,description:"Print spaces between brackets.",oppositeDescription:"Do not print spaces between brackets."},singleQuote:{category:"Common",type:"boolean",default:!1,description:"Use single quotes instead of double quotes."},proseWrap:{category:"Common",type:"choice",default:"preserve",description:"How to wrap prose.",choices:[{value:"always",description:"Wrap prose if it exceeds the print width."},{value:"never",description:"Do not wrap prose."},{value:"preserve",description:"Wrap prose as-is."}]},bracketSameLine:{category:"Common",type:"boolean",default:!1,description:"Put > of opening tags on the last line instead of on a new line."},singleAttributePerLine:{category:"Common",type:"boolean",default:!1,description:"Enforce single attribute per line in HTML, Vue and JSX."}};var Ls="HTML",su={bracketSameLine:Ir.bracketSameLine,htmlWhitespaceSensitivity:{category:Ls,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:Ir.singleAttributePerLine,vueIndentScriptAndStyle:{category:Ls,type:"boolean",default:!1,description:"Indent script and style tags in Vue files."}},Fs=su;var iu={html:ts};var Np=Rr;export{Np as default,Bs as languages,Fs as options,Qt as parsers,iu as printers}; +`+t}var ls=new Map([["if",new Set(["else if","else"])],["else if",new Set(["else if","else"])],["for",new Set(["empty"])],["defer",new Set(["placeholder","error","loading"])],["placeholder",new Set(["placeholder","error","loading"])],["error",new Set(["placeholder","error","loading"])],["loading",new Set(["placeholder","error","loading"])]]);function cs(t){let e=ie(t);return t.type==="element"&&!t.endSourceSpan&&qe(t.children)?Math.max(e,cs(X(!1,t.children,-1))):e}function it(t,e,r){let n=t.node;if(Ee(n)){let s=cs(n);return[z(n,e),B(N.trimEnd(e.originalText.slice(se(n)+(n.prev&&et(n.prev)?Lt(n).length:0),s-(n.next&&K(n.next)?ve(n,e).length:0)))),W(n,e)]}return r()}function Pt(t,e){return $(t)&&$(e)?t.isTrailingSpaceSensitive?t.hasTrailingSpaces?wt(e)?S:E:"":wt(e)?S:v:et(t)&&(Ee(e)||e.firstChild||e.isSelfClosing||e.type==="element"&&e.attrs.length>0)||t.type==="element"&&t.isSelfClosing&&K(e)?"":!e.isLeadingSpaceSensitive||wt(e)||K(e)&&t.lastChild&&we(t.lastChild)&&t.lastChild.lastChild&&we(t.lastChild.lastChild)?S:e.hasLeadingSpaces?E:v}function He(t,e,r){let{node:n}=t;if(dr(n))return[ne,...t.map(i=>{let a=i.node,o=a.prev?Pt(a.prev,a):"";return[o?[o,Qe(a.prev)?S:""]:"",it(i,e,r)]},"children")];let s=n.children.map(()=>Symbol(""));return t.map((i,a)=>{let o=i.node;if($(o)){if(o.prev&&$(o.prev)){let A=Pt(o.prev,o);if(A)return Qe(o.prev)?[S,S,it(i,e,r)]:[A,it(i,e,r)]}return it(i,e,r)}let u=[],p=[],l=[],f=[],d=o.prev?Pt(o.prev,o):"",C=o.next?Pt(o,o.next):"";return d&&(Qe(o.prev)?u.push(S,S):d===S?u.push(S):$(o.prev)?p.push(d):p.push(ge("",v,{groupId:s[a-1]}))),C&&(Qe(o)?$(o.next)&&f.push(S,S):C===S?$(o.next)&&f.push(S):l.push(C)),[...u,_([...p,_([it(i,e,r),...l],{id:s[a]})]),...f]},"children")}function ps(t,e,r){let{node:n}=t,s=[];_a(t)&&s.push("} "),s.push("@",n.name),n.parameters&&s.push(" (",_(r("parameters")),")"),s.push(" {");let i=hs(n);return n.children.length>0?(n.firstChild.hasLeadingSpaces=!0,n.lastChild.hasTrailingSpaces=!0,s.push(k([S,He(t,e,r)])),i&&s.push(S,"}")):i&&s.push("}"),_(s,{shouldBreak:!0})}function hs(t){var e,r;return!(((e=t.next)==null?void 0:e.type)==="angularControlFlowBlock"&&((r=ls.get(t.name))!=null&&r.has(t.next.name)))}function _a(t){let{previous:e}=t;return(e==null?void 0:e.type)==="angularControlFlowBlock"&&!Ee(e)&&!hs(e)}function ms(t,e,r){return[k([v,q([";",E],t.map(r,"children"))]),v]}function fs(t,e,r){let{node:n}=t;return[be(n,e),_([n.switchValue.trim(),", ",n.clause,n.cases.length>0?[",",k([E,q(E,t.map(r,"cases"))])]:"",v]),De(n,e)]}function ds(t,e,r){let{node:n}=t;return[n.value," {",_([k([v,t.map(({node:s})=>s.type==="text"&&!N.trim(s.value)?"":r(),"expression")]),v]),"}"]}function gs(t,e,r){let{node:n}=t;if(yt(n,e))return[z(n,e),_(rt(t,e,r)),B(Nt(n,e)),...Ze(n,e),W(n,e)];let s=n.children.length===1&&(n.firstChild.type==="interpolation"||n.firstChild.type==="angularIcuExpression")&&n.firstChild.isLeadingSpaceSensitive&&!n.firstChild.hasLeadingSpaces&&n.lastChild.isTrailingSpaceSensitive&&!n.lastChild.hasTrailingSpaces,i=Symbol("element-attr-group-id"),a=l=>_([_(rt(t,e,r),{id:i}),l,Ze(n,e)]),o=l=>s?on(l,{groupId:i}):(U(n)||Je(n,e))&&n.parent.type==="root"&&e.parser==="vue"&&!e.vueIndentScriptAndStyle?l:k(l),u=()=>s?ge(v,"",{groupId:i}):n.firstChild.hasLeadingSpaces&&n.firstChild.isLeadingSpaceSensitive?E:n.firstChild.type==="text"&&n.isWhitespaceSensitive&&n.isIndentationSensitive?sn(v):v,p=()=>(n.next?K(n.next):ye(n.parent))?n.lastChild.hasTrailingSpaces&&n.lastChild.isTrailingSpaceSensitive?" ":"":s?ge(v,"",{groupId:i}):n.lastChild.hasTrailingSpaces&&n.lastChild.isTrailingSpaceSensitive?E:(n.lastChild.type==="comment"||n.lastChild.type==="text"&&n.isWhitespaceSensitive&&n.isIndentationSensitive)&&new RegExp(`\\n[\\t ]{${e.tabWidth*(t.ancestors.length-1)}}$`,"u").test(n.lastChild.value)?"":v;return n.children.length===0?a(n.hasDanglingSpaces&&n.isDanglingSpaceSensitive?E:""):a([kn(n)?ne:"",o([u(),He(t,e,r)]),p()])}function at(t){return t>=9&&t<=32||t==160}function It(t){return 48<=t&&t<=57}function ot(t){return t>=97&&t<=122||t>=65&&t<=90}function Cs(t){return t>=97&&t<=102||t>=65&&t<=70||It(t)}function Rt(t){return t===10||t===13}function yr(t){return 48<=t&&t<=55}function $t(t){return t===39||t===34||t===96}var Ea=/-+([a-z0-9])/g;function _s(t){return t.replace(Ea,(...e)=>e[1].toUpperCase())}var ae=class t{constructor(e,r,n,s){this.file=e,this.offset=r,this.line=n,this.col=s}toString(){return this.offset!=null?`${this.file.url}@${this.line}:${this.col}`:this.file.url}moveBy(e){let r=this.file.content,n=r.length,s=this.offset,i=this.line,a=this.col;for(;s>0&&e<0;)if(s--,e++,r.charCodeAt(s)==10){i--;let u=r.substring(0,s-1).lastIndexOf(String.fromCharCode(10));a=u>0?s-u:s}else a--;for(;s0;){let o=r.charCodeAt(s);s++,e--,o==10?(i++,a=0):a++}return new t(this.file,s,i,a)}getContext(e,r){let n=this.file.content,s=this.offset;if(s!=null){s>n.length-1&&(s=n.length-1);let i=s,a=0,o=0;for(;a0&&(s--,a++,!(n[s]==` +`&&++o==r)););for(a=0,o=0;a]${e.after}")`:this.msg}toString(){let e=this.span.details?`, ${this.span.details}`:"";return`${this.contextualMessage()}: ${this.span.start}${e}`}};var Aa=[va,ya,ba,xa,ka,Fa,Ba,La,Na,Ta];function Da(t,e){for(let r of Aa)r(t,e);return t}function va(t){t.walk(e=>{if(e.type==="element"&&e.tagDefinition.ignoreFirstLf&&e.children.length>0&&e.children[0].type==="text"&&e.children[0].value[0]===` +`){let r=e.children[0];r.value.length===1?e.removeChild(r):r.value=r.value.slice(1)}})}function ya(t){let e=r=>{var n,s;return r.type==="element"&&((n=r.prev)==null?void 0:n.type)==="ieConditionalStartComment"&&r.prev.sourceSpan.end.offset===r.startSourceSpan.start.offset&&((s=r.firstChild)==null?void 0:s.type)==="ieConditionalEndComment"&&r.firstChild.sourceSpan.start.offset===r.startSourceSpan.end.offset};t.walk(r=>{if(r.children)for(let n=0;n{if(n.children)for(let s=0;se.type==="cdata",e=>``)}function Ta(t){let e=r=>{var n,s;return r.type==="element"&&r.attrs.length===0&&r.children.length===1&&r.firstChild.type==="text"&&!N.hasWhitespaceCharacter(r.children[0].value)&&!r.firstChild.hasLeadingSpaces&&!r.firstChild.hasTrailingSpaces&&r.isLeadingSpaceSensitive&&!r.hasLeadingSpaces&&r.isTrailingSpaceSensitive&&!r.hasTrailingSpaces&&((n=r.prev)==null?void 0:n.type)==="text"&&((s=r.next)==null?void 0:s.type)==="text"};t.walk(r=>{if(r.children)for(let n=0;n`+s.firstChild.value+``+a.value,i.sourceSpan=new h(i.sourceSpan.start,a.sourceSpan.end),i.isTrailingSpaceSensitive=a.isTrailingSpaceSensitive,i.hasTrailingSpaces=a.hasTrailingSpaces,r.removeChild(s),n--,r.removeChild(a)}})}function xa(t,e){if(e.parser==="html")return;let r=/\{\{(.+?)\}\}/su;t.walk(n=>{if(yn(n))for(let s of n.children){if(s.type!=="text")continue;let i=s.sourceSpan.start,a=null,o=s.value.split(r);for(let u=0;u0&&n.insertChildBefore(s,{type:"text",value:p,sourceSpan:new h(i,a)});continue}a=i.moveBy(p.length+4),n.insertChildBefore(s,{type:"interpolation",sourceSpan:new h(i,a),children:p.length===0?[]:[{type:"text",value:p,sourceSpan:new h(i.moveBy(2),a.moveBy(-2))}]})}n.removeChild(s)}})}function ka(t){t.walk(e=>{if(!e.children)return;if(e.children.length===0||e.children.length===1&&e.children[0].type==="text"&&N.trim(e.children[0].value).length===0){e.hasDanglingSpaces=e.children.length>0,e.children=[];return}let r=wn(e),n=fr(e);if(!r)for(let s=0;s{e.isSelfClosing=!e.children||e.type==="element"&&(e.tagDefinition.isVoid||e.endSourceSpan&&e.startSourceSpan.start===e.endSourceSpan.start&&e.startSourceSpan.end===e.endSourceSpan.end)})}function La(t,e){t.walk(r=>{r.type==="element"&&(r.hasHtmComponentClosingTag=r.endSourceSpan&&/^<\s*\/\s*\/\s*>$/u.test(e.originalText.slice(r.endSourceSpan.start.offset,r.endSourceSpan.end.offset)))})}function Fa(t,e){t.walk(r=>{r.cssDisplay=In(r,e)})}function Na(t,e){t.walk(r=>{let{children:n}=r;if(n){if(n.length===0){r.isDanglingSpaceSensitive=xn(r);return}for(let s of n)s.isLeadingSpaceSensitive=bn(s,e),s.isTrailingSpaceSensitive=Tn(s,e);for(let s=0;s of opening tags on the last line instead of on a new line."},singleAttributePerLine:{category:"Common",type:"boolean",default:!1,description:"Enforce single attribute per line in HTML, Vue and JSX."}};var vs="HTML",Ra={bracketSameLine:wr.bracketSameLine,htmlWhitespaceSensitivity:{category:vs,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:wr.singleAttributePerLine,vueIndentScriptAndStyle:{category:vs,type:"boolean",default:!1,description:"Indent script and style tags in Vue files."}},ys=Ra;var Gr={};Jr(Gr,{angular:()=>Po,html:()=>No,lwc:()=>Ro,vue:()=>Io});var _p=new RegExp(`(\\:not\\()|(([\\.\\#]?)[-\\w]+)|(?:\\[([-.\\w*\\\\$]+)(?:=(["']?)([^\\]"']*)\\5)?\\])|(\\))|(\\s*,\\s*)`,"g");var ws;(function(t){t[t.Emulated=0]="Emulated",t[t.None=2]="None",t[t.ShadowDom=3]="ShadowDom"})(ws||(ws={}));var bs;(function(t){t[t.OnPush=0]="OnPush",t[t.Default=1]="Default"})(bs||(bs={}));var Ts;(function(t){t[t.None=0]="None",t[t.SignalBased=1]="SignalBased",t[t.HasDecoratorInputTransform=2]="HasDecoratorInputTransform"})(Ts||(Ts={}));var br={name:"custom-elements"},Tr={name:"no-errors-schema"};var J;(function(t){t[t.NONE=0]="NONE",t[t.HTML=1]="HTML",t[t.STYLE=2]="STYLE",t[t.SCRIPT=3]="SCRIPT",t[t.URL=4]="URL",t[t.RESOURCE_URL=5]="RESOURCE_URL"})(J||(J={}));var xs;(function(t){t[t.Error=0]="Error",t[t.Warning=1]="Warning",t[t.Ignore=2]="Ignore"})(xs||(xs={}));var I;(function(t){t[t.RAW_TEXT=0]="RAW_TEXT",t[t.ESCAPABLE_RAW_TEXT=1]="ESCAPABLE_RAW_TEXT",t[t.PARSABLE_DATA=2]="PARSABLE_DATA"})(I||(I={}));function ut(t,e=!0){if(t[0]!=":")return[null,t];let r=t.indexOf(":",1);if(r===-1){if(e)throw new Error(`Unsupported format "${t}" expecting ":namespace:name"`);return[null,t]}return[t.slice(1,r),t.slice(r+1)]}function xr(t){return ut(t)[1]==="ng-container"}function kr(t){return ut(t)[1]==="ng-content"}function We(t){return t===null?null:ut(t)[0]}function ze(t,e){return t?`:${t}:${e}`:e}var qt;function Br(){return qt||(qt={},Mt(J.HTML,["iframe|srcdoc","*|innerHTML","*|outerHTML"]),Mt(J.STYLE,["*|style"]),Mt(J.URL,["*|formAction","area|href","area|ping","audio|src","a|href","a|ping","blockquote|cite","body|background","del|cite","form|action","img|src","input|src","ins|cite","q|cite","source|src","track|src","video|poster","video|src"]),Mt(J.RESOURCE_URL,["applet|code","applet|codebase","base|href","embed|src","frame|src","head|profile","html|manifest","iframe|src","link|href","media|src","object|codebase","object|data","script|src"])),qt}function Mt(t,e){for(let r of e)qt[r.toLowerCase()]=t}var Ht=class{};var $a="boolean",Oa="number",Ma="string",qa="object",Ha=["[Element]|textContent,%ariaAtomic,%ariaAutoComplete,%ariaBusy,%ariaChecked,%ariaColCount,%ariaColIndex,%ariaColSpan,%ariaCurrent,%ariaDescription,%ariaDisabled,%ariaExpanded,%ariaHasPopup,%ariaHidden,%ariaKeyShortcuts,%ariaLabel,%ariaLevel,%ariaLive,%ariaModal,%ariaMultiLine,%ariaMultiSelectable,%ariaOrientation,%ariaPlaceholder,%ariaPosInSet,%ariaPressed,%ariaReadOnly,%ariaRelevant,%ariaRequired,%ariaRoleDescription,%ariaRowCount,%ariaRowIndex,%ariaRowSpan,%ariaSelected,%ariaSetSize,%ariaSort,%ariaValueMax,%ariaValueMin,%ariaValueNow,%ariaValueText,%classList,className,elementTiming,id,innerHTML,*beforecopy,*beforecut,*beforepaste,*fullscreenchange,*fullscreenerror,*search,*webkitfullscreenchange,*webkitfullscreenerror,outerHTML,%part,#scrollLeft,#scrollTop,slot,*message,*mozfullscreenchange,*mozfullscreenerror,*mozpointerlockchange,*mozpointerlockerror,*webglcontextcreationerror,*webglcontextlost,*webglcontextrestored","[HTMLElement]^[Element]|accessKey,autocapitalize,!autofocus,contentEditable,dir,!draggable,enterKeyHint,!hidden,!inert,innerText,inputMode,lang,nonce,*abort,*animationend,*animationiteration,*animationstart,*auxclick,*beforexrselect,*blur,*cancel,*canplay,*canplaythrough,*change,*click,*close,*contextmenu,*copy,*cuechange,*cut,*dblclick,*drag,*dragend,*dragenter,*dragleave,*dragover,*dragstart,*drop,*durationchange,*emptied,*ended,*error,*focus,*formdata,*gotpointercapture,*input,*invalid,*keydown,*keypress,*keyup,*load,*loadeddata,*loadedmetadata,*loadstart,*lostpointercapture,*mousedown,*mouseenter,*mouseleave,*mousemove,*mouseout,*mouseover,*mouseup,*mousewheel,*paste,*pause,*play,*playing,*pointercancel,*pointerdown,*pointerenter,*pointerleave,*pointermove,*pointerout,*pointerover,*pointerrawupdate,*pointerup,*progress,*ratechange,*reset,*resize,*scroll,*securitypolicyviolation,*seeked,*seeking,*select,*selectionchange,*selectstart,*slotchange,*stalled,*submit,*suspend,*timeupdate,*toggle,*transitioncancel,*transitionend,*transitionrun,*transitionstart,*volumechange,*waiting,*webkitanimationend,*webkitanimationiteration,*webkitanimationstart,*webkittransitionend,*wheel,outerText,!spellcheck,%style,#tabIndex,title,!translate,virtualKeyboardPolicy","abbr,address,article,aside,b,bdi,bdo,cite,content,code,dd,dfn,dt,em,figcaption,figure,footer,header,hgroup,i,kbd,main,mark,nav,noscript,rb,rp,rt,rtc,ruby,s,samp,section,small,strong,sub,sup,u,var,wbr^[HTMLElement]|accessKey,autocapitalize,!autofocus,contentEditable,dir,!draggable,enterKeyHint,!hidden,innerText,inputMode,lang,nonce,*abort,*animationend,*animationiteration,*animationstart,*auxclick,*beforexrselect,*blur,*cancel,*canplay,*canplaythrough,*change,*click,*close,*contextmenu,*copy,*cuechange,*cut,*dblclick,*drag,*dragend,*dragenter,*dragleave,*dragover,*dragstart,*drop,*durationchange,*emptied,*ended,*error,*focus,*formdata,*gotpointercapture,*input,*invalid,*keydown,*keypress,*keyup,*load,*loadeddata,*loadedmetadata,*loadstart,*lostpointercapture,*mousedown,*mouseenter,*mouseleave,*mousemove,*mouseout,*mouseover,*mouseup,*mousewheel,*paste,*pause,*play,*playing,*pointercancel,*pointerdown,*pointerenter,*pointerleave,*pointermove,*pointerout,*pointerover,*pointerrawupdate,*pointerup,*progress,*ratechange,*reset,*resize,*scroll,*securitypolicyviolation,*seeked,*seeking,*select,*selectionchange,*selectstart,*slotchange,*stalled,*submit,*suspend,*timeupdate,*toggle,*transitioncancel,*transitionend,*transitionrun,*transitionstart,*volumechange,*waiting,*webkitanimationend,*webkitanimationiteration,*webkitanimationstart,*webkittransitionend,*wheel,outerText,!spellcheck,%style,#tabIndex,title,!translate,virtualKeyboardPolicy","media^[HTMLElement]|!autoplay,!controls,%controlsList,%crossOrigin,#currentTime,!defaultMuted,#defaultPlaybackRate,!disableRemotePlayback,!loop,!muted,*encrypted,*waitingforkey,#playbackRate,preload,!preservesPitch,src,%srcObject,#volume",":svg:^[HTMLElement]|!autofocus,nonce,*abort,*animationend,*animationiteration,*animationstart,*auxclick,*beforexrselect,*blur,*cancel,*canplay,*canplaythrough,*change,*click,*close,*contextmenu,*copy,*cuechange,*cut,*dblclick,*drag,*dragend,*dragenter,*dragleave,*dragover,*dragstart,*drop,*durationchange,*emptied,*ended,*error,*focus,*formdata,*gotpointercapture,*input,*invalid,*keydown,*keypress,*keyup,*load,*loadeddata,*loadedmetadata,*loadstart,*lostpointercapture,*mousedown,*mouseenter,*mouseleave,*mousemove,*mouseout,*mouseover,*mouseup,*mousewheel,*paste,*pause,*play,*playing,*pointercancel,*pointerdown,*pointerenter,*pointerleave,*pointermove,*pointerout,*pointerover,*pointerrawupdate,*pointerup,*progress,*ratechange,*reset,*resize,*scroll,*securitypolicyviolation,*seeked,*seeking,*select,*selectionchange,*selectstart,*slotchange,*stalled,*submit,*suspend,*timeupdate,*toggle,*transitioncancel,*transitionend,*transitionrun,*transitionstart,*volumechange,*waiting,*webkitanimationend,*webkitanimationiteration,*webkitanimationstart,*webkittransitionend,*wheel,%style,#tabIndex",":svg:graphics^:svg:|",":svg:animation^:svg:|*begin,*end,*repeat",":svg:geometry^:svg:|",":svg:componentTransferFunction^:svg:|",":svg:gradient^:svg:|",":svg:textContent^:svg:graphics|",":svg:textPositioning^:svg:textContent|","a^[HTMLElement]|charset,coords,download,hash,host,hostname,href,hreflang,name,password,pathname,ping,port,protocol,referrerPolicy,rel,%relList,rev,search,shape,target,text,type,username","area^[HTMLElement]|alt,coords,download,hash,host,hostname,href,!noHref,password,pathname,ping,port,protocol,referrerPolicy,rel,%relList,search,shape,target,username","audio^media|","br^[HTMLElement]|clear","base^[HTMLElement]|href,target","body^[HTMLElement]|aLink,background,bgColor,link,*afterprint,*beforeprint,*beforeunload,*blur,*error,*focus,*hashchange,*languagechange,*load,*message,*messageerror,*offline,*online,*pagehide,*pageshow,*popstate,*rejectionhandled,*resize,*scroll,*storage,*unhandledrejection,*unload,text,vLink","button^[HTMLElement]|!disabled,formAction,formEnctype,formMethod,!formNoValidate,formTarget,name,type,value","canvas^[HTMLElement]|#height,#width","content^[HTMLElement]|select","dl^[HTMLElement]|!compact","data^[HTMLElement]|value","datalist^[HTMLElement]|","details^[HTMLElement]|!open","dialog^[HTMLElement]|!open,returnValue","dir^[HTMLElement]|!compact","div^[HTMLElement]|align","embed^[HTMLElement]|align,height,name,src,type,width","fieldset^[HTMLElement]|!disabled,name","font^[HTMLElement]|color,face,size","form^[HTMLElement]|acceptCharset,action,autocomplete,encoding,enctype,method,name,!noValidate,target","frame^[HTMLElement]|frameBorder,longDesc,marginHeight,marginWidth,name,!noResize,scrolling,src","frameset^[HTMLElement]|cols,*afterprint,*beforeprint,*beforeunload,*blur,*error,*focus,*hashchange,*languagechange,*load,*message,*messageerror,*offline,*online,*pagehide,*pageshow,*popstate,*rejectionhandled,*resize,*scroll,*storage,*unhandledrejection,*unload,rows","hr^[HTMLElement]|align,color,!noShade,size,width","head^[HTMLElement]|","h1,h2,h3,h4,h5,h6^[HTMLElement]|align","html^[HTMLElement]|version","iframe^[HTMLElement]|align,allow,!allowFullscreen,!allowPaymentRequest,csp,frameBorder,height,loading,longDesc,marginHeight,marginWidth,name,referrerPolicy,%sandbox,scrolling,src,srcdoc,width","img^[HTMLElement]|align,alt,border,%crossOrigin,decoding,#height,#hspace,!isMap,loading,longDesc,lowsrc,name,referrerPolicy,sizes,src,srcset,useMap,#vspace,#width","input^[HTMLElement]|accept,align,alt,autocomplete,!checked,!defaultChecked,defaultValue,dirName,!disabled,%files,formAction,formEnctype,formMethod,!formNoValidate,formTarget,#height,!incremental,!indeterminate,max,#maxLength,min,#minLength,!multiple,name,pattern,placeholder,!readOnly,!required,selectionDirection,#selectionEnd,#selectionStart,#size,src,step,type,useMap,value,%valueAsDate,#valueAsNumber,#width","li^[HTMLElement]|type,#value","label^[HTMLElement]|htmlFor","legend^[HTMLElement]|align","link^[HTMLElement]|as,charset,%crossOrigin,!disabled,href,hreflang,imageSizes,imageSrcset,integrity,media,referrerPolicy,rel,%relList,rev,%sizes,target,type","map^[HTMLElement]|name","marquee^[HTMLElement]|behavior,bgColor,direction,height,#hspace,#loop,#scrollAmount,#scrollDelay,!trueSpeed,#vspace,width","menu^[HTMLElement]|!compact","meta^[HTMLElement]|content,httpEquiv,media,name,scheme","meter^[HTMLElement]|#high,#low,#max,#min,#optimum,#value","ins,del^[HTMLElement]|cite,dateTime","ol^[HTMLElement]|!compact,!reversed,#start,type","object^[HTMLElement]|align,archive,border,code,codeBase,codeType,data,!declare,height,#hspace,name,standby,type,useMap,#vspace,width","optgroup^[HTMLElement]|!disabled,label","option^[HTMLElement]|!defaultSelected,!disabled,label,!selected,text,value","output^[HTMLElement]|defaultValue,%htmlFor,name,value","p^[HTMLElement]|align","param^[HTMLElement]|name,type,value,valueType","picture^[HTMLElement]|","pre^[HTMLElement]|#width","progress^[HTMLElement]|#max,#value","q,blockquote,cite^[HTMLElement]|","script^[HTMLElement]|!async,charset,%crossOrigin,!defer,event,htmlFor,integrity,!noModule,%referrerPolicy,src,text,type","select^[HTMLElement]|autocomplete,!disabled,#length,!multiple,name,!required,#selectedIndex,#size,value","slot^[HTMLElement]|name","source^[HTMLElement]|#height,media,sizes,src,srcset,type,#width","span^[HTMLElement]|","style^[HTMLElement]|!disabled,media,type","caption^[HTMLElement]|align","th,td^[HTMLElement]|abbr,align,axis,bgColor,ch,chOff,#colSpan,headers,height,!noWrap,#rowSpan,scope,vAlign,width","col,colgroup^[HTMLElement]|align,ch,chOff,#span,vAlign,width","table^[HTMLElement]|align,bgColor,border,%caption,cellPadding,cellSpacing,frame,rules,summary,%tFoot,%tHead,width","tr^[HTMLElement]|align,bgColor,ch,chOff,vAlign","tfoot,thead,tbody^[HTMLElement]|align,ch,chOff,vAlign","template^[HTMLElement]|","textarea^[HTMLElement]|autocomplete,#cols,defaultValue,dirName,!disabled,#maxLength,#minLength,name,placeholder,!readOnly,!required,#rows,selectionDirection,#selectionEnd,#selectionStart,value,wrap","time^[HTMLElement]|dateTime","title^[HTMLElement]|text","track^[HTMLElement]|!default,kind,label,src,srclang","ul^[HTMLElement]|!compact,type","unknown^[HTMLElement]|","video^media|!disablePictureInPicture,#height,*enterpictureinpicture,*leavepictureinpicture,!playsInline,poster,#width",":svg:a^:svg:graphics|",":svg:animate^:svg:animation|",":svg:animateMotion^:svg:animation|",":svg:animateTransform^:svg:animation|",":svg:circle^:svg:geometry|",":svg:clipPath^:svg:graphics|",":svg:defs^:svg:graphics|",":svg:desc^:svg:|",":svg:discard^:svg:|",":svg:ellipse^:svg:geometry|",":svg:feBlend^:svg:|",":svg:feColorMatrix^:svg:|",":svg:feComponentTransfer^:svg:|",":svg:feComposite^:svg:|",":svg:feConvolveMatrix^:svg:|",":svg:feDiffuseLighting^:svg:|",":svg:feDisplacementMap^:svg:|",":svg:feDistantLight^:svg:|",":svg:feDropShadow^:svg:|",":svg:feFlood^:svg:|",":svg:feFuncA^:svg:componentTransferFunction|",":svg:feFuncB^:svg:componentTransferFunction|",":svg:feFuncG^:svg:componentTransferFunction|",":svg:feFuncR^:svg:componentTransferFunction|",":svg:feGaussianBlur^:svg:|",":svg:feImage^:svg:|",":svg:feMerge^:svg:|",":svg:feMergeNode^:svg:|",":svg:feMorphology^:svg:|",":svg:feOffset^:svg:|",":svg:fePointLight^:svg:|",":svg:feSpecularLighting^:svg:|",":svg:feSpotLight^:svg:|",":svg:feTile^:svg:|",":svg:feTurbulence^:svg:|",":svg:filter^:svg:|",":svg:foreignObject^:svg:graphics|",":svg:g^:svg:graphics|",":svg:image^:svg:graphics|decoding",":svg:line^:svg:geometry|",":svg:linearGradient^:svg:gradient|",":svg:mpath^:svg:|",":svg:marker^:svg:|",":svg:mask^:svg:|",":svg:metadata^:svg:|",":svg:path^:svg:geometry|",":svg:pattern^:svg:|",":svg:polygon^:svg:geometry|",":svg:polyline^:svg:geometry|",":svg:radialGradient^:svg:gradient|",":svg:rect^:svg:geometry|",":svg:svg^:svg:graphics|#currentScale,#zoomAndPan",":svg:script^:svg:|type",":svg:set^:svg:animation|",":svg:stop^:svg:|",":svg:style^:svg:|!disabled,media,title,type",":svg:switch^:svg:graphics|",":svg:symbol^:svg:|",":svg:tspan^:svg:textPositioning|",":svg:text^:svg:textPositioning|",":svg:textPath^:svg:textContent|",":svg:title^:svg:|",":svg:use^:svg:graphics|",":svg:view^:svg:|#zoomAndPan","data^[HTMLElement]|value","keygen^[HTMLElement]|!autofocus,challenge,!disabled,form,keytype,name","menuitem^[HTMLElement]|type,label,icon,!disabled,!checked,radiogroup,!default","summary^[HTMLElement]|","time^[HTMLElement]|dateTime",":svg:cursor^:svg:|",":math:^[HTMLElement]|!autofocus,nonce,*abort,*animationend,*animationiteration,*animationstart,*auxclick,*beforeinput,*beforematch,*beforetoggle,*beforexrselect,*blur,*cancel,*canplay,*canplaythrough,*change,*click,*close,*contentvisibilityautostatechange,*contextlost,*contextmenu,*contextrestored,*copy,*cuechange,*cut,*dblclick,*drag,*dragend,*dragenter,*dragleave,*dragover,*dragstart,*drop,*durationchange,*emptied,*ended,*error,*focus,*formdata,*gotpointercapture,*input,*invalid,*keydown,*keypress,*keyup,*load,*loadeddata,*loadedmetadata,*loadstart,*lostpointercapture,*mousedown,*mouseenter,*mouseleave,*mousemove,*mouseout,*mouseover,*mouseup,*mousewheel,*paste,*pause,*play,*playing,*pointercancel,*pointerdown,*pointerenter,*pointerleave,*pointermove,*pointerout,*pointerover,*pointerrawupdate,*pointerup,*progress,*ratechange,*reset,*resize,*scroll,*scrollend,*securitypolicyviolation,*seeked,*seeking,*select,*selectionchange,*selectstart,*slotchange,*stalled,*submit,*suspend,*timeupdate,*toggle,*transitioncancel,*transitionend,*transitionrun,*transitionstart,*volumechange,*waiting,*webkitanimationend,*webkitanimationiteration,*webkitanimationstart,*webkittransitionend,*wheel,%style,#tabIndex",":math:math^:math:|",":math:maction^:math:|",":math:menclose^:math:|",":math:merror^:math:|",":math:mfenced^:math:|",":math:mfrac^:math:|",":math:mi^:math:|",":math:mmultiscripts^:math:|",":math:mn^:math:|",":math:mo^:math:|",":math:mover^:math:|",":math:mpadded^:math:|",":math:mphantom^:math:|",":math:mroot^:math:|",":math:mrow^:math:|",":math:ms^:math:|",":math:mspace^:math:|",":math:msqrt^:math:|",":math:mstyle^:math:|",":math:msub^:math:|",":math:msubsup^:math:|",":math:msup^:math:|",":math:mtable^:math:|",":math:mtd^:math:|",":math:mtext^:math:|",":math:mtr^:math:|",":math:munder^:math:|",":math:munderover^:math:|",":math:semantics^:math:|"],ks=new Map(Object.entries({class:"className",for:"htmlFor",formaction:"formAction",innerHtml:"innerHTML",readonly:"readOnly",tabindex:"tabIndex"})),Va=Array.from(ks).reduce((t,[e,r])=>(t.set(e,r),t),new Map),Vt=class extends Ht{constructor(){super(),this._schema=new Map,this._eventSchema=new Map,Ha.forEach(e=>{let r=new Map,n=new Set,[s,i]=e.split("|"),a=i.split(","),[o,u]=s.split("^");o.split(",").forEach(l=>{this._schema.set(l.toLowerCase(),r),this._eventSchema.set(l.toLowerCase(),n)});let p=u&&this._schema.get(u.toLowerCase());if(p){for(let[l,f]of p)r.set(l,f);for(let l of this._eventSchema.get(u.toLowerCase()))n.add(l)}a.forEach(l=>{if(l.length>0)switch(l[0]){case"*":n.add(l.substring(1));break;case"!":r.set(l.substring(1),$a);break;case"#":r.set(l.substring(1),Oa);break;case"%":r.set(l.substring(1),qa);break;default:r.set(l,Ma)}})})}hasProperty(e,r,n){if(n.some(i=>i.name===Tr.name))return!0;if(e.indexOf("-")>-1){if(xr(e)||kr(e))return!1;if(n.some(i=>i.name===br.name))return!0}return(this._schema.get(e.toLowerCase())||this._schema.get("unknown")).has(r)}hasElement(e,r){return r.some(n=>n.name===Tr.name)||e.indexOf("-")>-1&&(xr(e)||kr(e)||r.some(n=>n.name===br.name))?!0:this._schema.has(e.toLowerCase())}securityContext(e,r,n){n&&(r=this.getMappedPropName(r)),e=e.toLowerCase(),r=r.toLowerCase();let s=Br()[e+"|"+r];return s||(s=Br()["*|"+r],s||J.NONE)}getMappedPropName(e){return ks.get(e)??e}getDefaultComponentElementName(){return"ng-component"}validateProperty(e){return e.toLowerCase().startsWith("on")?{error:!0,msg:`Binding to event property '${e}' is disallowed for security reasons, please use (${e.slice(2)})=... +If '${e}' is a directive input, make sure the directive is imported by the current module.`}:{error:!1}}validateAttribute(e){return e.toLowerCase().startsWith("on")?{error:!0,msg:`Binding to event attribute '${e}' is disallowed for security reasons, please use (${e.slice(2)})=...`}:{error:!1}}allKnownElementNames(){return Array.from(this._schema.keys())}allKnownAttributesOfElement(e){let r=this._schema.get(e.toLowerCase())||this._schema.get("unknown");return Array.from(r.keys()).map(n=>Va.get(n)??n)}allKnownEventsOfElement(e){return Array.from(this._eventSchema.get(e.toLowerCase())??[])}normalizeAnimationStyleProperty(e){return _s(e)}normalizeAnimationStyleValue(e,r,n){let s="",i=n.toString().trim(),a=null;if(Ua(e)&&n!==0&&n!=="0")if(typeof n=="number")s="px";else{let o=n.match(/^[+-]?[\d\.]+([a-z]*)$/);o&&o[1].length==0&&(a=`Please provide a CSS unit value for ${r}:${n}`)}return{error:a,value:i+s}}};function Ua(t){switch(t){case"width":case"height":case"minWidth":case"minHeight":case"maxWidth":case"maxHeight":case"left":case"top":case"bottom":case"right":case"fontSize":case"outlineWidth":case"outlineOffset":case"paddingTop":case"paddingLeft":case"paddingBottom":case"paddingRight":case"marginTop":case"marginLeft":case"marginBottom":case"marginRight":case"borderRadius":case"borderWidth":case"borderTopWidth":case"borderLeftWidth":case"borderRightWidth":case"borderBottomWidth":case"textIndent":return!0;default:return!1}}var m=class{constructor({closedByChildren:e,implicitNamespacePrefix:r,contentType:n=I.PARSABLE_DATA,closedByParent:s=!1,isVoid:i=!1,ignoreFirstLf:a=!1,preventNamespaceInheritance:o=!1,canSelfClose:u=!1}={}){this.closedByChildren={},this.closedByParent=!1,e&&e.length>0&&e.forEach(p=>this.closedByChildren[p]=!0),this.isVoid=i,this.closedByParent=s||i,this.implicitNamespacePrefix=r||null,this.contentType=n,this.ignoreFirstLf=a,this.preventNamespaceInheritance=o,this.canSelfClose=u??i}isClosedByChild(e){return this.isVoid||e.toLowerCase()in this.closedByChildren}getContentType(e){return typeof this.contentType=="object"?(e===void 0?void 0:this.contentType[e])??this.contentType.default:this.contentType}},Bs,lt;function Ge(t){return lt||(Bs=new m({canSelfClose:!0}),lt=Object.assign(Object.create(null),{base:new m({isVoid:!0}),meta:new m({isVoid:!0}),area:new m({isVoid:!0}),embed:new m({isVoid:!0}),link:new m({isVoid:!0}),img:new m({isVoid:!0}),input:new m({isVoid:!0}),param:new m({isVoid:!0}),hr:new m({isVoid:!0}),br:new m({isVoid:!0}),source:new m({isVoid:!0}),track:new m({isVoid:!0}),wbr:new m({isVoid:!0}),p:new m({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 m({closedByChildren:["tbody","tfoot"]}),tbody:new m({closedByChildren:["tbody","tfoot"],closedByParent:!0}),tfoot:new m({closedByChildren:["tbody"],closedByParent:!0}),tr:new m({closedByChildren:["tr"],closedByParent:!0}),td:new m({closedByChildren:["td","th"],closedByParent:!0}),th:new m({closedByChildren:["td","th"],closedByParent:!0}),col:new m({isVoid:!0}),svg:new m({implicitNamespacePrefix:"svg"}),foreignObject:new m({implicitNamespacePrefix:"svg",preventNamespaceInheritance:!0}),math:new m({implicitNamespacePrefix:"math"}),li:new m({closedByChildren:["li"],closedByParent:!0}),dt:new m({closedByChildren:["dt","dd"]}),dd:new m({closedByChildren:["dt","dd"],closedByParent:!0}),rb:new m({closedByChildren:["rb","rt","rtc","rp"],closedByParent:!0}),rt:new m({closedByChildren:["rb","rt","rtc","rp"],closedByParent:!0}),rtc:new m({closedByChildren:["rb","rtc","rp"],closedByParent:!0}),rp:new m({closedByChildren:["rb","rt","rtc","rp"],closedByParent:!0}),optgroup:new m({closedByChildren:["optgroup"],closedByParent:!0}),option:new m({closedByChildren:["option","optgroup"],closedByParent:!0}),pre:new m({ignoreFirstLf:!0}),listing:new m({ignoreFirstLf:!0}),style:new m({contentType:I.RAW_TEXT}),script:new m({contentType:I.RAW_TEXT}),title:new m({contentType:{default:I.ESCAPABLE_RAW_TEXT,svg:I.PARSABLE_DATA}}),textarea:new m({contentType:I.ESCAPABLE_RAW_TEXT,ignoreFirstLf:!0})}),new Vt().allKnownElementNames().forEach(e=>{!lt[e]&&We(e)===null&&(lt[e]=new m({canSelfClose:!1}))})),lt[t]??Bs}var oe=class{constructor(e,r){this.sourceSpan=e,this.i18n=r}},Ut=class extends oe{constructor(e,r,n,s){super(r,s),this.value=e,this.tokens=n,this.type="text"}visit(e,r){return e.visitText(this,r)}},Wt=class extends oe{constructor(e,r,n,s){super(r,s),this.value=e,this.tokens=n,this.type="cdata"}visit(e,r){return e.visitCdata(this,r)}},zt=class extends oe{constructor(e,r,n,s,i,a){super(s,a),this.switchValue=e,this.type=r,this.cases=n,this.switchValueSourceSpan=i}visit(e,r){return e.visitExpansion(this,r)}},Gt=class{constructor(e,r,n,s,i){this.value=e,this.expression=r,this.sourceSpan=n,this.valueSourceSpan=s,this.expSourceSpan=i,this.type="expansionCase"}visit(e,r){return e.visitExpansionCase(this,r)}},Yt=class extends oe{constructor(e,r,n,s,i,a,o){super(n,o),this.name=e,this.value=r,this.keySpan=s,this.valueSpan=i,this.valueTokens=a,this.type="attribute"}visit(e,r){return e.visitAttribute(this,r)}get nameSpan(){return this.keySpan}},G=class extends oe{constructor(e,r,n,s,i,a=null,o=null,u){super(s,u),this.name=e,this.attrs=r,this.children=n,this.startSourceSpan=i,this.endSourceSpan=a,this.nameSpan=o,this.type="element"}visit(e,r){return e.visitElement(this,r)}},jt=class{constructor(e,r){this.value=e,this.sourceSpan=r,this.type="comment"}visit(e,r){return e.visitComment(this,r)}},Kt=class{constructor(e,r){this.value=e,this.sourceSpan=r,this.type="docType"}visit(e,r){return e.visitDocType(this,r)}},Z=class extends oe{constructor(e,r,n,s,i,a,o=null,u){super(s,u),this.name=e,this.parameters=r,this.children=n,this.nameSpan=i,this.startSourceSpan=a,this.endSourceSpan=o,this.type="block"}visit(e,r){return e.visitBlock(this,r)}},ct=class{constructor(e,r){this.expression=e,this.sourceSpan=r,this.type="blockParameter",this.startSourceSpan=null,this.endSourceSpan=null}visit(e,r){return e.visitBlockParameter(this,r)}},pt=class{constructor(e,r,n,s,i){this.name=e,this.value=r,this.sourceSpan=n,this.nameSpan=s,this.valueSpan=i,this.type="letDeclaration",this.startSourceSpan=null,this.endSourceSpan=null}visit(e,r){return e.visitLetDeclaration(this,r)}};function Qt(t,e,r=null){let n=[],s=t.visit?i=>t.visit(i,r)||i.visit(t,r):i=>i.visit(t,r);return e.forEach(i=>{let a=s(i);a&&n.push(a)}),n}var ht=class{constructor(){}visitElement(e,r){this.visitChildren(r,n=>{n(e.attrs),n(e.children)})}visitAttribute(e,r){}visitText(e,r){}visitCdata(e,r){}visitComment(e,r){}visitDocType(e,r){}visitExpansion(e,r){return this.visitChildren(r,n=>{n(e.cases)})}visitExpansionCase(e,r){}visitBlock(e,r){this.visitChildren(r,n=>{n(e.parameters),n(e.children)})}visitBlockParameter(e,r){}visitLetDeclaration(e,r){}visitChildren(e,r){let n=[],s=this;function i(a){a&&n.push(Qt(s,a,e))}return r(i),Array.prototype.concat.apply([],n)}};var Ye={AElig:"\xC6",AMP:"&",amp:"&",Aacute:"\xC1",Abreve:"\u0102",Acirc:"\xC2",Acy:"\u0410",Afr:"\u{1D504}",Agrave:"\xC0",Alpha:"\u0391",Amacr:"\u0100",And:"\u2A53",Aogon:"\u0104",Aopf:"\u{1D538}",ApplyFunction:"\u2061",af:"\u2061",Aring:"\xC5",angst:"\xC5",Ascr:"\u{1D49C}",Assign:"\u2254",colone:"\u2254",coloneq:"\u2254",Atilde:"\xC3",Auml:"\xC4",Backslash:"\u2216",setminus:"\u2216",setmn:"\u2216",smallsetminus:"\u2216",ssetmn:"\u2216",Barv:"\u2AE7",Barwed:"\u2306",doublebarwedge:"\u2306",Bcy:"\u0411",Because:"\u2235",becaus:"\u2235",because:"\u2235",Bernoullis:"\u212C",Bscr:"\u212C",bernou:"\u212C",Beta:"\u0392",Bfr:"\u{1D505}",Bopf:"\u{1D539}",Breve:"\u02D8",breve:"\u02D8",Bumpeq:"\u224E",HumpDownHump:"\u224E",bump:"\u224E",CHcy:"\u0427",COPY:"\xA9",copy:"\xA9",Cacute:"\u0106",Cap:"\u22D2",CapitalDifferentialD:"\u2145",DD:"\u2145",Cayleys:"\u212D",Cfr:"\u212D",Ccaron:"\u010C",Ccedil:"\xC7",Ccirc:"\u0108",Cconint:"\u2230",Cdot:"\u010A",Cedilla:"\xB8",cedil:"\xB8",CenterDot:"\xB7",centerdot:"\xB7",middot:"\xB7",Chi:"\u03A7",CircleDot:"\u2299",odot:"\u2299",CircleMinus:"\u2296",ominus:"\u2296",CirclePlus:"\u2295",oplus:"\u2295",CircleTimes:"\u2297",otimes:"\u2297",ClockwiseContourIntegral:"\u2232",cwconint:"\u2232",CloseCurlyDoubleQuote:"\u201D",rdquo:"\u201D",rdquor:"\u201D",CloseCurlyQuote:"\u2019",rsquo:"\u2019",rsquor:"\u2019",Colon:"\u2237",Proportion:"\u2237",Colone:"\u2A74",Congruent:"\u2261",equiv:"\u2261",Conint:"\u222F",DoubleContourIntegral:"\u222F",ContourIntegral:"\u222E",conint:"\u222E",oint:"\u222E",Copf:"\u2102",complexes:"\u2102",Coproduct:"\u2210",coprod:"\u2210",CounterClockwiseContourIntegral:"\u2233",awconint:"\u2233",Cross:"\u2A2F",Cscr:"\u{1D49E}",Cup:"\u22D3",CupCap:"\u224D",asympeq:"\u224D",DDotrahd:"\u2911",DJcy:"\u0402",DScy:"\u0405",DZcy:"\u040F",Dagger:"\u2021",ddagger:"\u2021",Darr:"\u21A1",Dashv:"\u2AE4",DoubleLeftTee:"\u2AE4",Dcaron:"\u010E",Dcy:"\u0414",Del:"\u2207",nabla:"\u2207",Delta:"\u0394",Dfr:"\u{1D507}",DiacriticalAcute:"\xB4",acute:"\xB4",DiacriticalDot:"\u02D9",dot:"\u02D9",DiacriticalDoubleAcute:"\u02DD",dblac:"\u02DD",DiacriticalGrave:"`",grave:"`",DiacriticalTilde:"\u02DC",tilde:"\u02DC",Diamond:"\u22C4",diam:"\u22C4",diamond:"\u22C4",DifferentialD:"\u2146",dd:"\u2146",Dopf:"\u{1D53B}",Dot:"\xA8",DoubleDot:"\xA8",die:"\xA8",uml:"\xA8",DotDot:"\u20DC",DotEqual:"\u2250",doteq:"\u2250",esdot:"\u2250",DoubleDownArrow:"\u21D3",Downarrow:"\u21D3",dArr:"\u21D3",DoubleLeftArrow:"\u21D0",Leftarrow:"\u21D0",lArr:"\u21D0",DoubleLeftRightArrow:"\u21D4",Leftrightarrow:"\u21D4",hArr:"\u21D4",iff:"\u21D4",DoubleLongLeftArrow:"\u27F8",Longleftarrow:"\u27F8",xlArr:"\u27F8",DoubleLongLeftRightArrow:"\u27FA",Longleftrightarrow:"\u27FA",xhArr:"\u27FA",DoubleLongRightArrow:"\u27F9",Longrightarrow:"\u27F9",xrArr:"\u27F9",DoubleRightArrow:"\u21D2",Implies:"\u21D2",Rightarrow:"\u21D2",rArr:"\u21D2",DoubleRightTee:"\u22A8",vDash:"\u22A8",DoubleUpArrow:"\u21D1",Uparrow:"\u21D1",uArr:"\u21D1",DoubleUpDownArrow:"\u21D5",Updownarrow:"\u21D5",vArr:"\u21D5",DoubleVerticalBar:"\u2225",par:"\u2225",parallel:"\u2225",shortparallel:"\u2225",spar:"\u2225",DownArrow:"\u2193",ShortDownArrow:"\u2193",darr:"\u2193",downarrow:"\u2193",DownArrowBar:"\u2913",DownArrowUpArrow:"\u21F5",duarr:"\u21F5",DownBreve:"\u0311",DownLeftRightVector:"\u2950",DownLeftTeeVector:"\u295E",DownLeftVector:"\u21BD",leftharpoondown:"\u21BD",lhard:"\u21BD",DownLeftVectorBar:"\u2956",DownRightTeeVector:"\u295F",DownRightVector:"\u21C1",rhard:"\u21C1",rightharpoondown:"\u21C1",DownRightVectorBar:"\u2957",DownTee:"\u22A4",top:"\u22A4",DownTeeArrow:"\u21A7",mapstodown:"\u21A7",Dscr:"\u{1D49F}",Dstrok:"\u0110",ENG:"\u014A",ETH:"\xD0",Eacute:"\xC9",Ecaron:"\u011A",Ecirc:"\xCA",Ecy:"\u042D",Edot:"\u0116",Efr:"\u{1D508}",Egrave:"\xC8",Element:"\u2208",in:"\u2208",isin:"\u2208",isinv:"\u2208",Emacr:"\u0112",EmptySmallSquare:"\u25FB",EmptyVerySmallSquare:"\u25AB",Eogon:"\u0118",Eopf:"\u{1D53C}",Epsilon:"\u0395",Equal:"\u2A75",EqualTilde:"\u2242",eqsim:"\u2242",esim:"\u2242",Equilibrium:"\u21CC",rightleftharpoons:"\u21CC",rlhar:"\u21CC",Escr:"\u2130",expectation:"\u2130",Esim:"\u2A73",Eta:"\u0397",Euml:"\xCB",Exists:"\u2203",exist:"\u2203",ExponentialE:"\u2147",ee:"\u2147",exponentiale:"\u2147",Fcy:"\u0424",Ffr:"\u{1D509}",FilledSmallSquare:"\u25FC",FilledVerySmallSquare:"\u25AA",blacksquare:"\u25AA",squarf:"\u25AA",squf:"\u25AA",Fopf:"\u{1D53D}",ForAll:"\u2200",forall:"\u2200",Fouriertrf:"\u2131",Fscr:"\u2131",GJcy:"\u0403",GT:">",gt:">",Gamma:"\u0393",Gammad:"\u03DC",Gbreve:"\u011E",Gcedil:"\u0122",Gcirc:"\u011C",Gcy:"\u0413",Gdot:"\u0120",Gfr:"\u{1D50A}",Gg:"\u22D9",ggg:"\u22D9",Gopf:"\u{1D53E}",GreaterEqual:"\u2265",ge:"\u2265",geq:"\u2265",GreaterEqualLess:"\u22DB",gel:"\u22DB",gtreqless:"\u22DB",GreaterFullEqual:"\u2267",gE:"\u2267",geqq:"\u2267",GreaterGreater:"\u2AA2",GreaterLess:"\u2277",gl:"\u2277",gtrless:"\u2277",GreaterSlantEqual:"\u2A7E",geqslant:"\u2A7E",ges:"\u2A7E",GreaterTilde:"\u2273",gsim:"\u2273",gtrsim:"\u2273",Gscr:"\u{1D4A2}",Gt:"\u226B",NestedGreaterGreater:"\u226B",gg:"\u226B",HARDcy:"\u042A",Hacek:"\u02C7",caron:"\u02C7",Hat:"^",Hcirc:"\u0124",Hfr:"\u210C",Poincareplane:"\u210C",HilbertSpace:"\u210B",Hscr:"\u210B",hamilt:"\u210B",Hopf:"\u210D",quaternions:"\u210D",HorizontalLine:"\u2500",boxh:"\u2500",Hstrok:"\u0126",HumpEqual:"\u224F",bumpe:"\u224F",bumpeq:"\u224F",IEcy:"\u0415",IJlig:"\u0132",IOcy:"\u0401",Iacute:"\xCD",Icirc:"\xCE",Icy:"\u0418",Idot:"\u0130",Ifr:"\u2111",Im:"\u2111",image:"\u2111",imagpart:"\u2111",Igrave:"\xCC",Imacr:"\u012A",ImaginaryI:"\u2148",ii:"\u2148",Int:"\u222C",Integral:"\u222B",int:"\u222B",Intersection:"\u22C2",bigcap:"\u22C2",xcap:"\u22C2",InvisibleComma:"\u2063",ic:"\u2063",InvisibleTimes:"\u2062",it:"\u2062",Iogon:"\u012E",Iopf:"\u{1D540}",Iota:"\u0399",Iscr:"\u2110",imagline:"\u2110",Itilde:"\u0128",Iukcy:"\u0406",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",LT:"<",lt:"<",Lacute:"\u0139",Lambda:"\u039B",Lang:"\u27EA",Laplacetrf:"\u2112",Lscr:"\u2112",lagran:"\u2112",Larr:"\u219E",twoheadleftarrow:"\u219E",Lcaron:"\u013D",Lcedil:"\u013B",Lcy:"\u041B",LeftAngleBracket:"\u27E8",lang:"\u27E8",langle:"\u27E8",LeftArrow:"\u2190",ShortLeftArrow:"\u2190",larr:"\u2190",leftarrow:"\u2190",slarr:"\u2190",LeftArrowBar:"\u21E4",larrb:"\u21E4",LeftArrowRightArrow:"\u21C6",leftrightarrows:"\u21C6",lrarr:"\u21C6",LeftCeiling:"\u2308",lceil:"\u2308",LeftDoubleBracket:"\u27E6",lobrk:"\u27E6",LeftDownTeeVector:"\u2961",LeftDownVector:"\u21C3",dharl:"\u21C3",downharpoonleft:"\u21C3",LeftDownVectorBar:"\u2959",LeftFloor:"\u230A",lfloor:"\u230A",LeftRightArrow:"\u2194",harr:"\u2194",leftrightarrow:"\u2194",LeftRightVector:"\u294E",LeftTee:"\u22A3",dashv:"\u22A3",LeftTeeArrow:"\u21A4",mapstoleft:"\u21A4",LeftTeeVector:"\u295A",LeftTriangle:"\u22B2",vartriangleleft:"\u22B2",vltri:"\u22B2",LeftTriangleBar:"\u29CF",LeftTriangleEqual:"\u22B4",ltrie:"\u22B4",trianglelefteq:"\u22B4",LeftUpDownVector:"\u2951",LeftUpTeeVector:"\u2960",LeftUpVector:"\u21BF",uharl:"\u21BF",upharpoonleft:"\u21BF",LeftUpVectorBar:"\u2958",LeftVector:"\u21BC",leftharpoonup:"\u21BC",lharu:"\u21BC",LeftVectorBar:"\u2952",LessEqualGreater:"\u22DA",leg:"\u22DA",lesseqgtr:"\u22DA",LessFullEqual:"\u2266",lE:"\u2266",leqq:"\u2266",LessGreater:"\u2276",lessgtr:"\u2276",lg:"\u2276",LessLess:"\u2AA1",LessSlantEqual:"\u2A7D",leqslant:"\u2A7D",les:"\u2A7D",LessTilde:"\u2272",lesssim:"\u2272",lsim:"\u2272",Lfr:"\u{1D50F}",Ll:"\u22D8",Lleftarrow:"\u21DA",lAarr:"\u21DA",Lmidot:"\u013F",LongLeftArrow:"\u27F5",longleftarrow:"\u27F5",xlarr:"\u27F5",LongLeftRightArrow:"\u27F7",longleftrightarrow:"\u27F7",xharr:"\u27F7",LongRightArrow:"\u27F6",longrightarrow:"\u27F6",xrarr:"\u27F6",Lopf:"\u{1D543}",LowerLeftArrow:"\u2199",swarr:"\u2199",swarrow:"\u2199",LowerRightArrow:"\u2198",searr:"\u2198",searrow:"\u2198",Lsh:"\u21B0",lsh:"\u21B0",Lstrok:"\u0141",Lt:"\u226A",NestedLessLess:"\u226A",ll:"\u226A",Map:"\u2905",Mcy:"\u041C",MediumSpace:"\u205F",Mellintrf:"\u2133",Mscr:"\u2133",phmmat:"\u2133",Mfr:"\u{1D510}",MinusPlus:"\u2213",mnplus:"\u2213",mp:"\u2213",Mopf:"\u{1D544}",Mu:"\u039C",NJcy:"\u040A",Nacute:"\u0143",Ncaron:"\u0147",Ncedil:"\u0145",Ncy:"\u041D",NegativeMediumSpace:"\u200B",NegativeThickSpace:"\u200B",NegativeThinSpace:"\u200B",NegativeVeryThinSpace:"\u200B",ZeroWidthSpace:"\u200B",NewLine:` +`,Nfr:"\u{1D511}",NoBreak:"\u2060",NonBreakingSpace:"\xA0",nbsp:"\xA0",Nopf:"\u2115",naturals:"\u2115",Not:"\u2AEC",NotCongruent:"\u2262",nequiv:"\u2262",NotCupCap:"\u226D",NotDoubleVerticalBar:"\u2226",npar:"\u2226",nparallel:"\u2226",nshortparallel:"\u2226",nspar:"\u2226",NotElement:"\u2209",notin:"\u2209",notinva:"\u2209",NotEqual:"\u2260",ne:"\u2260",NotEqualTilde:"\u2242\u0338",nesim:"\u2242\u0338",NotExists:"\u2204",nexist:"\u2204",nexists:"\u2204",NotGreater:"\u226F",ngt:"\u226F",ngtr:"\u226F",NotGreaterEqual:"\u2271",nge:"\u2271",ngeq:"\u2271",NotGreaterFullEqual:"\u2267\u0338",ngE:"\u2267\u0338",ngeqq:"\u2267\u0338",NotGreaterGreater:"\u226B\u0338",nGtv:"\u226B\u0338",NotGreaterLess:"\u2279",ntgl:"\u2279",NotGreaterSlantEqual:"\u2A7E\u0338",ngeqslant:"\u2A7E\u0338",nges:"\u2A7E\u0338",NotGreaterTilde:"\u2275",ngsim:"\u2275",NotHumpDownHump:"\u224E\u0338",nbump:"\u224E\u0338",NotHumpEqual:"\u224F\u0338",nbumpe:"\u224F\u0338",NotLeftTriangle:"\u22EA",nltri:"\u22EA",ntriangleleft:"\u22EA",NotLeftTriangleBar:"\u29CF\u0338",NotLeftTriangleEqual:"\u22EC",nltrie:"\u22EC",ntrianglelefteq:"\u22EC",NotLess:"\u226E",nless:"\u226E",nlt:"\u226E",NotLessEqual:"\u2270",nle:"\u2270",nleq:"\u2270",NotLessGreater:"\u2278",ntlg:"\u2278",NotLessLess:"\u226A\u0338",nLtv:"\u226A\u0338",NotLessSlantEqual:"\u2A7D\u0338",nleqslant:"\u2A7D\u0338",nles:"\u2A7D\u0338",NotLessTilde:"\u2274",nlsim:"\u2274",NotNestedGreaterGreater:"\u2AA2\u0338",NotNestedLessLess:"\u2AA1\u0338",NotPrecedes:"\u2280",npr:"\u2280",nprec:"\u2280",NotPrecedesEqual:"\u2AAF\u0338",npre:"\u2AAF\u0338",npreceq:"\u2AAF\u0338",NotPrecedesSlantEqual:"\u22E0",nprcue:"\u22E0",NotReverseElement:"\u220C",notni:"\u220C",notniva:"\u220C",NotRightTriangle:"\u22EB",nrtri:"\u22EB",ntriangleright:"\u22EB",NotRightTriangleBar:"\u29D0\u0338",NotRightTriangleEqual:"\u22ED",nrtrie:"\u22ED",ntrianglerighteq:"\u22ED",NotSquareSubset:"\u228F\u0338",NotSquareSubsetEqual:"\u22E2",nsqsube:"\u22E2",NotSquareSuperset:"\u2290\u0338",NotSquareSupersetEqual:"\u22E3",nsqsupe:"\u22E3",NotSubset:"\u2282\u20D2",nsubset:"\u2282\u20D2",vnsub:"\u2282\u20D2",NotSubsetEqual:"\u2288",nsube:"\u2288",nsubseteq:"\u2288",NotSucceeds:"\u2281",nsc:"\u2281",nsucc:"\u2281",NotSucceedsEqual:"\u2AB0\u0338",nsce:"\u2AB0\u0338",nsucceq:"\u2AB0\u0338",NotSucceedsSlantEqual:"\u22E1",nsccue:"\u22E1",NotSucceedsTilde:"\u227F\u0338",NotSuperset:"\u2283\u20D2",nsupset:"\u2283\u20D2",vnsup:"\u2283\u20D2",NotSupersetEqual:"\u2289",nsupe:"\u2289",nsupseteq:"\u2289",NotTilde:"\u2241",nsim:"\u2241",NotTildeEqual:"\u2244",nsime:"\u2244",nsimeq:"\u2244",NotTildeFullEqual:"\u2247",ncong:"\u2247",NotTildeTilde:"\u2249",nap:"\u2249",napprox:"\u2249",NotVerticalBar:"\u2224",nmid:"\u2224",nshortmid:"\u2224",nsmid:"\u2224",Nscr:"\u{1D4A9}",Ntilde:"\xD1",Nu:"\u039D",OElig:"\u0152",Oacute:"\xD3",Ocirc:"\xD4",Ocy:"\u041E",Odblac:"\u0150",Ofr:"\u{1D512}",Ograve:"\xD2",Omacr:"\u014C",Omega:"\u03A9",ohm:"\u03A9",Omicron:"\u039F",Oopf:"\u{1D546}",OpenCurlyDoubleQuote:"\u201C",ldquo:"\u201C",OpenCurlyQuote:"\u2018",lsquo:"\u2018",Or:"\u2A54",Oscr:"\u{1D4AA}",Oslash:"\xD8",Otilde:"\xD5",Otimes:"\u2A37",Ouml:"\xD6",OverBar:"\u203E",oline:"\u203E",OverBrace:"\u23DE",OverBracket:"\u23B4",tbrk:"\u23B4",OverParenthesis:"\u23DC",PartialD:"\u2202",part:"\u2202",Pcy:"\u041F",Pfr:"\u{1D513}",Phi:"\u03A6",Pi:"\u03A0",PlusMinus:"\xB1",plusmn:"\xB1",pm:"\xB1",Popf:"\u2119",primes:"\u2119",Pr:"\u2ABB",Precedes:"\u227A",pr:"\u227A",prec:"\u227A",PrecedesEqual:"\u2AAF",pre:"\u2AAF",preceq:"\u2AAF",PrecedesSlantEqual:"\u227C",prcue:"\u227C",preccurlyeq:"\u227C",PrecedesTilde:"\u227E",precsim:"\u227E",prsim:"\u227E",Prime:"\u2033",Product:"\u220F",prod:"\u220F",Proportional:"\u221D",prop:"\u221D",propto:"\u221D",varpropto:"\u221D",vprop:"\u221D",Pscr:"\u{1D4AB}",Psi:"\u03A8",QUOT:'"',quot:'"',Qfr:"\u{1D514}",Qopf:"\u211A",rationals:"\u211A",Qscr:"\u{1D4AC}",RBarr:"\u2910",drbkarow:"\u2910",REG:"\xAE",circledR:"\xAE",reg:"\xAE",Racute:"\u0154",Rang:"\u27EB",Rarr:"\u21A0",twoheadrightarrow:"\u21A0",Rarrtl:"\u2916",Rcaron:"\u0158",Rcedil:"\u0156",Rcy:"\u0420",Re:"\u211C",Rfr:"\u211C",real:"\u211C",realpart:"\u211C",ReverseElement:"\u220B",SuchThat:"\u220B",ni:"\u220B",niv:"\u220B",ReverseEquilibrium:"\u21CB",leftrightharpoons:"\u21CB",lrhar:"\u21CB",ReverseUpEquilibrium:"\u296F",duhar:"\u296F",Rho:"\u03A1",RightAngleBracket:"\u27E9",rang:"\u27E9",rangle:"\u27E9",RightArrow:"\u2192",ShortRightArrow:"\u2192",rarr:"\u2192",rightarrow:"\u2192",srarr:"\u2192",RightArrowBar:"\u21E5",rarrb:"\u21E5",RightArrowLeftArrow:"\u21C4",rightleftarrows:"\u21C4",rlarr:"\u21C4",RightCeiling:"\u2309",rceil:"\u2309",RightDoubleBracket:"\u27E7",robrk:"\u27E7",RightDownTeeVector:"\u295D",RightDownVector:"\u21C2",dharr:"\u21C2",downharpoonright:"\u21C2",RightDownVectorBar:"\u2955",RightFloor:"\u230B",rfloor:"\u230B",RightTee:"\u22A2",vdash:"\u22A2",RightTeeArrow:"\u21A6",map:"\u21A6",mapsto:"\u21A6",RightTeeVector:"\u295B",RightTriangle:"\u22B3",vartriangleright:"\u22B3",vrtri:"\u22B3",RightTriangleBar:"\u29D0",RightTriangleEqual:"\u22B5",rtrie:"\u22B5",trianglerighteq:"\u22B5",RightUpDownVector:"\u294F",RightUpTeeVector:"\u295C",RightUpVector:"\u21BE",uharr:"\u21BE",upharpoonright:"\u21BE",RightUpVectorBar:"\u2954",RightVector:"\u21C0",rharu:"\u21C0",rightharpoonup:"\u21C0",RightVectorBar:"\u2953",Ropf:"\u211D",reals:"\u211D",RoundImplies:"\u2970",Rrightarrow:"\u21DB",rAarr:"\u21DB",Rscr:"\u211B",realine:"\u211B",Rsh:"\u21B1",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}",ShortUpArrow:"\u2191",UpArrow:"\u2191",uarr:"\u2191",uparrow:"\u2191",Sigma:"\u03A3",SmallCircle:"\u2218",compfn:"\u2218",Sopf:"\u{1D54A}",Sqrt:"\u221A",radic:"\u221A",Square:"\u25A1",squ:"\u25A1",square:"\u25A1",SquareIntersection:"\u2293",sqcap:"\u2293",SquareSubset:"\u228F",sqsub:"\u228F",sqsubset:"\u228F",SquareSubsetEqual:"\u2291",sqsube:"\u2291",sqsubseteq:"\u2291",SquareSuperset:"\u2290",sqsup:"\u2290",sqsupset:"\u2290",SquareSupersetEqual:"\u2292",sqsupe:"\u2292",sqsupseteq:"\u2292",SquareUnion:"\u2294",sqcup:"\u2294",Sscr:"\u{1D4AE}",Star:"\u22C6",sstarf:"\u22C6",Sub:"\u22D0",Subset:"\u22D0",SubsetEqual:"\u2286",sube:"\u2286",subseteq:"\u2286",Succeeds:"\u227B",sc:"\u227B",succ:"\u227B",SucceedsEqual:"\u2AB0",sce:"\u2AB0",succeq:"\u2AB0",SucceedsSlantEqual:"\u227D",sccue:"\u227D",succcurlyeq:"\u227D",SucceedsTilde:"\u227F",scsim:"\u227F",succsim:"\u227F",Sum:"\u2211",sum:"\u2211",Sup:"\u22D1",Supset:"\u22D1",Superset:"\u2283",sup:"\u2283",supset:"\u2283",SupersetEqual:"\u2287",supe:"\u2287",supseteq:"\u2287",THORN:"\xDE",TRADE:"\u2122",trade:"\u2122",TSHcy:"\u040B",TScy:"\u0426",Tab:" ",Tau:"\u03A4",Tcaron:"\u0164",Tcedil:"\u0162",Tcy:"\u0422",Tfr:"\u{1D517}",Therefore:"\u2234",there4:"\u2234",therefore:"\u2234",Theta:"\u0398",ThickSpace:"\u205F\u200A",ThinSpace:"\u2009",thinsp:"\u2009",Tilde:"\u223C",sim:"\u223C",thicksim:"\u223C",thksim:"\u223C",TildeEqual:"\u2243",sime:"\u2243",simeq:"\u2243",TildeFullEqual:"\u2245",cong:"\u2245",TildeTilde:"\u2248",ap:"\u2248",approx:"\u2248",asymp:"\u2248",thickapprox:"\u2248",thkap:"\u2248",Topf:"\u{1D54B}",TripleDot:"\u20DB",tdot:"\u20DB",Tscr:"\u{1D4AF}",Tstrok:"\u0166",Uacute:"\xDA",Uarr:"\u219F",Uarrocir:"\u2949",Ubrcy:"\u040E",Ubreve:"\u016C",Ucirc:"\xDB",Ucy:"\u0423",Udblac:"\u0170",Ufr:"\u{1D518}",Ugrave:"\xD9",Umacr:"\u016A",UnderBar:"_",lowbar:"_",UnderBrace:"\u23DF",UnderBracket:"\u23B5",bbrk:"\u23B5",UnderParenthesis:"\u23DD",Union:"\u22C3",bigcup:"\u22C3",xcup:"\u22C3",UnionPlus:"\u228E",uplus:"\u228E",Uogon:"\u0172",Uopf:"\u{1D54C}",UpArrowBar:"\u2912",UpArrowDownArrow:"\u21C5",udarr:"\u21C5",UpDownArrow:"\u2195",updownarrow:"\u2195",varr:"\u2195",UpEquilibrium:"\u296E",udhar:"\u296E",UpTee:"\u22A5",bot:"\u22A5",bottom:"\u22A5",perp:"\u22A5",UpTeeArrow:"\u21A5",mapstoup:"\u21A5",UpperLeftArrow:"\u2196",nwarr:"\u2196",nwarrow:"\u2196",UpperRightArrow:"\u2197",nearr:"\u2197",nearrow:"\u2197",Upsi:"\u03D2",upsih:"\u03D2",Upsilon:"\u03A5",Uring:"\u016E",Uscr:"\u{1D4B0}",Utilde:"\u0168",Uuml:"\xDC",VDash:"\u22AB",Vbar:"\u2AEB",Vcy:"\u0412",Vdash:"\u22A9",Vdashl:"\u2AE6",Vee:"\u22C1",bigvee:"\u22C1",xvee:"\u22C1",Verbar:"\u2016",Vert:"\u2016",VerticalBar:"\u2223",mid:"\u2223",shortmid:"\u2223",smid:"\u2223",VerticalLine:"|",verbar:"|",vert:"|",VerticalSeparator:"\u2758",VerticalTilde:"\u2240",wr:"\u2240",wreath:"\u2240",VeryThinSpace:"\u200A",hairsp:"\u200A",Vfr:"\u{1D519}",Vopf:"\u{1D54D}",Vscr:"\u{1D4B1}",Vvdash:"\u22AA",Wcirc:"\u0174",Wedge:"\u22C0",bigwedge:"\u22C0",xwedge:"\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",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",Zeta:"\u0396",Zfr:"\u2128",zeetrf:"\u2128",Zopf:"\u2124",integers:"\u2124",Zscr:"\u{1D4B5}",aacute:"\xE1",abreve:"\u0103",ac:"\u223E",mstpos:"\u223E",acE:"\u223E\u0333",acd:"\u223F",acirc:"\xE2",acy:"\u0430",aelig:"\xE6",afr:"\u{1D51E}",agrave:"\xE0",alefsym:"\u2135",aleph:"\u2135",alpha:"\u03B1",amacr:"\u0101",amalg:"\u2A3F",and:"\u2227",wedge:"\u2227",andand:"\u2A55",andd:"\u2A5C",andslope:"\u2A58",andv:"\u2A5A",ang:"\u2220",angle:"\u2220",ange:"\u29A4",angmsd:"\u2221",measuredangle:"\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",angzarr:"\u237C",aogon:"\u0105",aopf:"\u{1D552}",apE:"\u2A70",apacir:"\u2A6F",ape:"\u224A",approxeq:"\u224A",apid:"\u224B",apos:"'",aring:"\xE5",ascr:"\u{1D4B6}",ast:"*",midast:"*",atilde:"\xE3",auml:"\xE4",awint:"\u2A11",bNot:"\u2AED",backcong:"\u224C",bcong:"\u224C",backepsilon:"\u03F6",bepsi:"\u03F6",backprime:"\u2035",bprime:"\u2035",backsim:"\u223D",bsim:"\u223D",backsimeq:"\u22CD",bsime:"\u22CD",barvee:"\u22BD",barwed:"\u2305",barwedge:"\u2305",bbrktbrk:"\u23B6",bcy:"\u0431",bdquo:"\u201E",ldquor:"\u201E",bemptyv:"\u29B0",beta:"\u03B2",beth:"\u2136",between:"\u226C",twixt:"\u226C",bfr:"\u{1D51F}",bigcirc:"\u25EF",xcirc:"\u25EF",bigodot:"\u2A00",xodot:"\u2A00",bigoplus:"\u2A01",xoplus:"\u2A01",bigotimes:"\u2A02",xotime:"\u2A02",bigsqcup:"\u2A06",xsqcup:"\u2A06",bigstar:"\u2605",starf:"\u2605",bigtriangledown:"\u25BD",xdtri:"\u25BD",bigtriangleup:"\u25B3",xutri:"\u25B3",biguplus:"\u2A04",xuplus:"\u2A04",bkarow:"\u290D",rbarr:"\u290D",blacklozenge:"\u29EB",lozf:"\u29EB",blacktriangle:"\u25B4",utrif:"\u25B4",blacktriangledown:"\u25BE",dtrif:"\u25BE",blacktriangleleft:"\u25C2",ltrif:"\u25C2",blacktriangleright:"\u25B8",rtrif:"\u25B8",blank:"\u2423",blk12:"\u2592",blk14:"\u2591",blk34:"\u2593",block:"\u2588",bne:"=\u20E5",bnequiv:"\u2261\u20E5",bnot:"\u2310",bopf:"\u{1D553}",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",boxhD:"\u2565",boxhU:"\u2568",boxhd:"\u252C",boxhu:"\u2534",boxminus:"\u229F",minusb:"\u229F",boxplus:"\u229E",plusb:"\u229E",boxtimes:"\u22A0",timesb:"\u22A0",boxuL:"\u255B",boxuR:"\u2558",boxul:"\u2518",boxur:"\u2514",boxv:"\u2502",boxvH:"\u256A",boxvL:"\u2561",boxvR:"\u255E",boxvh:"\u253C",boxvl:"\u2524",boxvr:"\u251C",brvbar:"\xA6",bscr:"\u{1D4B7}",bsemi:"\u204F",bsol:"\\",bsolb:"\u29C5",bsolhsub:"\u27C8",bull:"\u2022",bullet:"\u2022",bumpE:"\u2AAE",cacute:"\u0107",cap:"\u2229",capand:"\u2A44",capbrcup:"\u2A49",capcap:"\u2A4B",capcup:"\u2A47",capdot:"\u2A40",caps:"\u2229\uFE00",caret:"\u2041",ccaps:"\u2A4D",ccaron:"\u010D",ccedil:"\xE7",ccirc:"\u0109",ccups:"\u2A4C",ccupssm:"\u2A50",cdot:"\u010B",cemptyv:"\u29B2",cent:"\xA2",cfr:"\u{1D520}",chcy:"\u0447",check:"\u2713",checkmark:"\u2713",chi:"\u03C7",cir:"\u25CB",cirE:"\u29C3",circ:"\u02C6",circeq:"\u2257",cire:"\u2257",circlearrowleft:"\u21BA",olarr:"\u21BA",circlearrowright:"\u21BB",orarr:"\u21BB",circledS:"\u24C8",oS:"\u24C8",circledast:"\u229B",oast:"\u229B",circledcirc:"\u229A",ocir:"\u229A",circleddash:"\u229D",odash:"\u229D",cirfnint:"\u2A10",cirmid:"\u2AEF",cirscir:"\u29C2",clubs:"\u2663",clubsuit:"\u2663",colon:":",comma:",",commat:"@",comp:"\u2201",complement:"\u2201",congdot:"\u2A6D",copf:"\u{1D554}",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",curlyeqprec:"\u22DE",cuesc:"\u22DF",curlyeqsucc:"\u22DF",cularr:"\u21B6",curvearrowleft:"\u21B6",cularrp:"\u293D",cup:"\u222A",cupbrcap:"\u2A48",cupcap:"\u2A46",cupcup:"\u2A4A",cupdot:"\u228D",cupor:"\u2A45",cups:"\u222A\uFE00",curarr:"\u21B7",curvearrowright:"\u21B7",curarrm:"\u293C",curlyvee:"\u22CE",cuvee:"\u22CE",curlywedge:"\u22CF",cuwed:"\u22CF",curren:"\xA4",cwint:"\u2231",cylcty:"\u232D",dHar:"\u2965",dagger:"\u2020",daleth:"\u2138",dash:"\u2010",hyphen:"\u2010",dbkarow:"\u290F",rBarr:"\u290F",dcaron:"\u010F",dcy:"\u0434",ddarr:"\u21CA",downdownarrows:"\u21CA",ddotseq:"\u2A77",eDDot:"\u2A77",deg:"\xB0",delta:"\u03B4",demptyv:"\u29B1",dfisht:"\u297F",dfr:"\u{1D521}",diamondsuit:"\u2666",diams:"\u2666",digamma:"\u03DD",gammad:"\u03DD",disin:"\u22F2",div:"\xF7",divide:"\xF7",divideontimes:"\u22C7",divonx:"\u22C7",djcy:"\u0452",dlcorn:"\u231E",llcorner:"\u231E",dlcrop:"\u230D",dollar:"$",dopf:"\u{1D555}",doteqdot:"\u2251",eDot:"\u2251",dotminus:"\u2238",minusd:"\u2238",dotplus:"\u2214",plusdo:"\u2214",dotsquare:"\u22A1",sdotb:"\u22A1",drcorn:"\u231F",lrcorner:"\u231F",drcrop:"\u230C",dscr:"\u{1D4B9}",dscy:"\u0455",dsol:"\u29F6",dstrok:"\u0111",dtdot:"\u22F1",dtri:"\u25BF",triangledown:"\u25BF",dwangle:"\u29A6",dzcy:"\u045F",dzigrarr:"\u27FF",eacute:"\xE9",easter:"\u2A6E",ecaron:"\u011B",ecir:"\u2256",eqcirc:"\u2256",ecirc:"\xEA",ecolon:"\u2255",eqcolon:"\u2255",ecy:"\u044D",edot:"\u0117",efDot:"\u2252",fallingdotseq:"\u2252",efr:"\u{1D522}",eg:"\u2A9A",egrave:"\xE8",egs:"\u2A96",eqslantgtr:"\u2A96",egsdot:"\u2A98",el:"\u2A99",elinters:"\u23E7",ell:"\u2113",els:"\u2A95",eqslantless:"\u2A95",elsdot:"\u2A97",emacr:"\u0113",empty:"\u2205",emptyset:"\u2205",emptyv:"\u2205",varnothing:"\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",straightepsilon:"\u03F5",varepsilon:"\u03F5",equals:"=",equest:"\u225F",questeq:"\u225F",equivDD:"\u2A78",eqvparsl:"\u29E5",erDot:"\u2253",risingdotseq:"\u2253",erarr:"\u2971",escr:"\u212F",eta:"\u03B7",eth:"\xF0",euml:"\xEB",euro:"\u20AC",excl:"!",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}",fork:"\u22D4",pitchfork:"\u22D4",forkv:"\u2AD9",fpartint:"\u2A0D",frac12:"\xBD",half:"\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",sfrown:"\u2322",fscr:"\u{1D4BB}",gEl:"\u2A8C",gtreqqless:"\u2A8C",gacute:"\u01F5",gamma:"\u03B3",gap:"\u2A86",gtrapprox:"\u2A86",gbreve:"\u011F",gcirc:"\u011D",gcy:"\u0433",gdot:"\u0121",gescc:"\u2AA9",gesdot:"\u2A80",gesdoto:"\u2A82",gesdotol:"\u2A84",gesl:"\u22DB\uFE00",gesles:"\u2A94",gfr:"\u{1D524}",gimel:"\u2137",gjcy:"\u0453",glE:"\u2A92",gla:"\u2AA5",glj:"\u2AA4",gnE:"\u2269",gneqq:"\u2269",gnap:"\u2A8A",gnapprox:"\u2A8A",gne:"\u2A88",gneq:"\u2A88",gnsim:"\u22E7",gopf:"\u{1D558}",gscr:"\u210A",gsime:"\u2A8E",gsiml:"\u2A90",gtcc:"\u2AA7",gtcir:"\u2A7A",gtdot:"\u22D7",gtrdot:"\u22D7",gtlPar:"\u2995",gtquest:"\u2A7C",gtrarr:"\u2978",gvertneqq:"\u2269\uFE00",gvnE:"\u2269\uFE00",hardcy:"\u044A",harrcir:"\u2948",harrw:"\u21AD",leftrightsquigarrow:"\u21AD",hbar:"\u210F",hslash:"\u210F",planck:"\u210F",plankv:"\u210F",hcirc:"\u0125",hearts:"\u2665",heartsuit:"\u2665",hellip:"\u2026",mldr:"\u2026",hercon:"\u22B9",hfr:"\u{1D525}",hksearow:"\u2925",searhk:"\u2925",hkswarow:"\u2926",swarhk:"\u2926",hoarr:"\u21FF",homtht:"\u223B",hookleftarrow:"\u21A9",larrhk:"\u21A9",hookrightarrow:"\u21AA",rarrhk:"\u21AA",hopf:"\u{1D559}",horbar:"\u2015",hscr:"\u{1D4BD}",hstrok:"\u0127",hybull:"\u2043",iacute:"\xED",icirc:"\xEE",icy:"\u0438",iecy:"\u0435",iexcl:"\xA1",ifr:"\u{1D526}",igrave:"\xEC",iiiint:"\u2A0C",qint:"\u2A0C",iiint:"\u222D",tint:"\u222D",iinfin:"\u29DC",iiota:"\u2129",ijlig:"\u0133",imacr:"\u012B",imath:"\u0131",inodot:"\u0131",imof:"\u22B7",imped:"\u01B5",incare:"\u2105",infin:"\u221E",infintie:"\u29DD",intcal:"\u22BA",intercal:"\u22BA",intlarhk:"\u2A17",intprod:"\u2A3C",iprod:"\u2A3C",iocy:"\u0451",iogon:"\u012F",iopf:"\u{1D55A}",iota:"\u03B9",iquest:"\xBF",iscr:"\u{1D4BE}",isinE:"\u22F9",isindot:"\u22F5",isins:"\u22F4",isinsv:"\u22F3",itilde:"\u0129",iukcy:"\u0456",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",varkappa:"\u03F0",kcedil:"\u0137",kcy:"\u043A",kfr:"\u{1D528}",kgreen:"\u0138",khcy:"\u0445",kjcy:"\u045C",kopf:"\u{1D55C}",kscr:"\u{1D4C0}",lAtail:"\u291B",lBarr:"\u290E",lEg:"\u2A8B",lesseqqgtr:"\u2A8B",lHar:"\u2962",lacute:"\u013A",laemptyv:"\u29B4",lambda:"\u03BB",langd:"\u2991",lap:"\u2A85",lessapprox:"\u2A85",laquo:"\xAB",larrbfs:"\u291F",larrfs:"\u291D",larrlp:"\u21AB",looparrowleft:"\u21AB",larrpl:"\u2939",larrsim:"\u2973",larrtl:"\u21A2",leftarrowtail:"\u21A2",lat:"\u2AAB",latail:"\u2919",late:"\u2AAD",lates:"\u2AAD\uFE00",lbarr:"\u290C",lbbrk:"\u2772",lbrace:"{",lcub:"{",lbrack:"[",lsqb:"[",lbrke:"\u298B",lbrksld:"\u298F",lbrkslu:"\u298D",lcaron:"\u013E",lcedil:"\u013C",lcy:"\u043B",ldca:"\u2936",ldrdhar:"\u2967",ldrushar:"\u294B",ldsh:"\u21B2",le:"\u2264",leq:"\u2264",leftleftarrows:"\u21C7",llarr:"\u21C7",leftthreetimes:"\u22CB",lthree:"\u22CB",lescc:"\u2AA8",lesdot:"\u2A7F",lesdoto:"\u2A81",lesdotor:"\u2A83",lesg:"\u22DA\uFE00",lesges:"\u2A93",lessdot:"\u22D6",ltdot:"\u22D6",lfisht:"\u297C",lfr:"\u{1D529}",lgE:"\u2A91",lharul:"\u296A",lhblk:"\u2584",ljcy:"\u0459",llhard:"\u296B",lltri:"\u25FA",lmidot:"\u0140",lmoust:"\u23B0",lmoustache:"\u23B0",lnE:"\u2268",lneqq:"\u2268",lnap:"\u2A89",lnapprox:"\u2A89",lne:"\u2A87",lneq:"\u2A87",lnsim:"\u22E6",loang:"\u27EC",loarr:"\u21FD",longmapsto:"\u27FC",xmap:"\u27FC",looparrowright:"\u21AC",rarrlp:"\u21AC",lopar:"\u2985",lopf:"\u{1D55D}",loplus:"\u2A2D",lotimes:"\u2A34",lowast:"\u2217",loz:"\u25CA",lozenge:"\u25CA",lpar:"(",lparlt:"\u2993",lrhard:"\u296D",lrm:"\u200E",lrtri:"\u22BF",lsaquo:"\u2039",lscr:"\u{1D4C1}",lsime:"\u2A8D",lsimg:"\u2A8F",lsquor:"\u201A",sbquo:"\u201A",lstrok:"\u0142",ltcc:"\u2AA6",ltcir:"\u2A79",ltimes:"\u22C9",ltlarr:"\u2976",ltquest:"\u2A7B",ltrPar:"\u2996",ltri:"\u25C3",triangleleft:"\u25C3",lurdshar:"\u294A",luruhar:"\u2966",lvertneqq:"\u2268\uFE00",lvnE:"\u2268\uFE00",mDDot:"\u223A",macr:"\xAF",strns:"\xAF",male:"\u2642",malt:"\u2720",maltese:"\u2720",marker:"\u25AE",mcomma:"\u2A29",mcy:"\u043C",mdash:"\u2014",mfr:"\u{1D52A}",mho:"\u2127",micro:"\xB5",midcir:"\u2AF0",minus:"\u2212",minusdu:"\u2A2A",mlcp:"\u2ADB",models:"\u22A7",mopf:"\u{1D55E}",mscr:"\u{1D4C2}",mu:"\u03BC",multimap:"\u22B8",mumap:"\u22B8",nGg:"\u22D9\u0338",nGt:"\u226B\u20D2",nLeftarrow:"\u21CD",nlArr:"\u21CD",nLeftrightarrow:"\u21CE",nhArr:"\u21CE",nLl:"\u22D8\u0338",nLt:"\u226A\u20D2",nRightarrow:"\u21CF",nrArr:"\u21CF",nVDash:"\u22AF",nVdash:"\u22AE",nacute:"\u0144",nang:"\u2220\u20D2",napE:"\u2A70\u0338",napid:"\u224B\u0338",napos:"\u0149",natur:"\u266E",natural:"\u266E",ncap:"\u2A43",ncaron:"\u0148",ncedil:"\u0146",ncongdot:"\u2A6D\u0338",ncup:"\u2A42",ncy:"\u043D",ndash:"\u2013",neArr:"\u21D7",nearhk:"\u2924",nedot:"\u2250\u0338",nesear:"\u2928",toea:"\u2928",nfr:"\u{1D52B}",nharr:"\u21AE",nleftrightarrow:"\u21AE",nhpar:"\u2AF2",nis:"\u22FC",nisd:"\u22FA",njcy:"\u045A",nlE:"\u2266\u0338",nleqq:"\u2266\u0338",nlarr:"\u219A",nleftarrow:"\u219A",nldr:"\u2025",nopf:"\u{1D55F}",not:"\xAC",notinE:"\u22F9\u0338",notindot:"\u22F5\u0338",notinvb:"\u22F7",notinvc:"\u22F6",notnivb:"\u22FE",notnivc:"\u22FD",nparsl:"\u2AFD\u20E5",npart:"\u2202\u0338",npolint:"\u2A14",nrarr:"\u219B",nrightarrow:"\u219B",nrarrc:"\u2933\u0338",nrarrw:"\u219D\u0338",nscr:"\u{1D4C3}",nsub:"\u2284",nsubE:"\u2AC5\u0338",nsubseteqq:"\u2AC5\u0338",nsup:"\u2285",nsupE:"\u2AC6\u0338",nsupseteqq:"\u2AC6\u0338",ntilde:"\xF1",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",nwnear:"\u2927",oacute:"\xF3",ocirc:"\xF4",ocy:"\u043E",odblac:"\u0151",odiv:"\u2A38",odsold:"\u29BC",oelig:"\u0153",ofcir:"\u29BF",ofr:"\u{1D52C}",ogon:"\u02DB",ograve:"\xF2",ogt:"\u29C1",ohbar:"\u29B5",olcir:"\u29BE",olcross:"\u29BB",olt:"\u29C0",omacr:"\u014D",omega:"\u03C9",omicron:"\u03BF",omid:"\u29B6",oopf:"\u{1D560}",opar:"\u29B7",operp:"\u29B9",or:"\u2228",vee:"\u2228",ord:"\u2A5D",order:"\u2134",orderof:"\u2134",oscr:"\u2134",ordf:"\xAA",ordm:"\xBA",origof:"\u22B6",oror:"\u2A56",orslope:"\u2A57",orv:"\u2A5B",oslash:"\xF8",osol:"\u2298",otilde:"\xF5",otimesas:"\u2A36",ouml:"\xF6",ovbar:"\u233D",para:"\xB6",parsim:"\u2AF3",parsl:"\u2AFD",pcy:"\u043F",percnt:"%",period:".",permil:"\u2030",pertenk:"\u2031",pfr:"\u{1D52D}",phi:"\u03C6",phiv:"\u03D5",straightphi:"\u03D5",varphi:"\u03D5",phone:"\u260E",pi:"\u03C0",piv:"\u03D6",varpi:"\u03D6",planckh:"\u210E",plus:"+",plusacir:"\u2A23",pluscir:"\u2A22",plusdu:"\u2A25",pluse:"\u2A72",plussim:"\u2A26",plustwo:"\u2A27",pointint:"\u2A15",popf:"\u{1D561}",pound:"\xA3",prE:"\u2AB3",prap:"\u2AB7",precapprox:"\u2AB7",precnapprox:"\u2AB9",prnap:"\u2AB9",precneqq:"\u2AB5",prnE:"\u2AB5",precnsim:"\u22E8",prnsim:"\u22E8",prime:"\u2032",profalar:"\u232E",profline:"\u2312",profsurf:"\u2313",prurel:"\u22B0",pscr:"\u{1D4C5}",psi:"\u03C8",puncsp:"\u2008",qfr:"\u{1D52E}",qopf:"\u{1D562}",qprime:"\u2057",qscr:"\u{1D4C6}",quatint:"\u2A16",quest:"?",rAtail:"\u291C",rHar:"\u2964",race:"\u223D\u0331",racute:"\u0155",raemptyv:"\u29B3",rangd:"\u2992",range:"\u29A5",raquo:"\xBB",rarrap:"\u2975",rarrbfs:"\u2920",rarrc:"\u2933",rarrfs:"\u291E",rarrpl:"\u2945",rarrsim:"\u2974",rarrtl:"\u21A3",rightarrowtail:"\u21A3",rarrw:"\u219D",rightsquigarrow:"\u219D",ratail:"\u291A",ratio:"\u2236",rbbrk:"\u2773",rbrace:"}",rcub:"}",rbrack:"]",rsqb:"]",rbrke:"\u298C",rbrksld:"\u298E",rbrkslu:"\u2990",rcaron:"\u0159",rcedil:"\u0157",rcy:"\u0440",rdca:"\u2937",rdldhar:"\u2969",rdsh:"\u21B3",rect:"\u25AD",rfisht:"\u297D",rfr:"\u{1D52F}",rharul:"\u296C",rho:"\u03C1",rhov:"\u03F1",varrho:"\u03F1",rightrightarrows:"\u21C9",rrarr:"\u21C9",rightthreetimes:"\u22CC",rthree:"\u22CC",ring:"\u02DA",rlm:"\u200F",rmoust:"\u23B1",rmoustache:"\u23B1",rnmid:"\u2AEE",roang:"\u27ED",roarr:"\u21FE",ropar:"\u2986",ropf:"\u{1D563}",roplus:"\u2A2E",rotimes:"\u2A35",rpar:")",rpargt:"\u2994",rppolint:"\u2A12",rsaquo:"\u203A",rscr:"\u{1D4C7}",rtimes:"\u22CA",rtri:"\u25B9",triangleright:"\u25B9",rtriltri:"\u29CE",ruluhar:"\u2968",rx:"\u211E",sacute:"\u015B",scE:"\u2AB4",scap:"\u2AB8",succapprox:"\u2AB8",scaron:"\u0161",scedil:"\u015F",scirc:"\u015D",scnE:"\u2AB6",succneqq:"\u2AB6",scnap:"\u2ABA",succnapprox:"\u2ABA",scnsim:"\u22E9",succnsim:"\u22E9",scpolint:"\u2A13",scy:"\u0441",sdot:"\u22C5",sdote:"\u2A66",seArr:"\u21D8",sect:"\xA7",semi:";",seswar:"\u2929",tosa:"\u2929",sext:"\u2736",sfr:"\u{1D530}",sharp:"\u266F",shchcy:"\u0449",shcy:"\u0448",shy:"\xAD",sigma:"\u03C3",sigmaf:"\u03C2",sigmav:"\u03C2",varsigma:"\u03C2",simdot:"\u2A6A",simg:"\u2A9E",simgE:"\u2AA0",siml:"\u2A9D",simlE:"\u2A9F",simne:"\u2246",simplus:"\u2A24",simrarr:"\u2972",smashp:"\u2A33",smeparsl:"\u29E4",smile:"\u2323",ssmile:"\u2323",smt:"\u2AAA",smte:"\u2AAC",smtes:"\u2AAC\uFE00",softcy:"\u044C",sol:"/",solb:"\u29C4",solbar:"\u233F",sopf:"\u{1D564}",spades:"\u2660",spadesuit:"\u2660",sqcaps:"\u2293\uFE00",sqcups:"\u2294\uFE00",sscr:"\u{1D4C8}",star:"\u2606",sub:"\u2282",subset:"\u2282",subE:"\u2AC5",subseteqq:"\u2AC5",subdot:"\u2ABD",subedot:"\u2AC3",submult:"\u2AC1",subnE:"\u2ACB",subsetneqq:"\u2ACB",subne:"\u228A",subsetneq:"\u228A",subplus:"\u2ABF",subrarr:"\u2979",subsim:"\u2AC7",subsub:"\u2AD5",subsup:"\u2AD3",sung:"\u266A",sup1:"\xB9",sup2:"\xB2",sup3:"\xB3",supE:"\u2AC6",supseteqq:"\u2AC6",supdot:"\u2ABE",supdsub:"\u2AD8",supedot:"\u2AC4",suphsol:"\u27C9",suphsub:"\u2AD7",suplarr:"\u297B",supmult:"\u2AC2",supnE:"\u2ACC",supsetneqq:"\u2ACC",supne:"\u228B",supsetneq:"\u228B",supplus:"\u2AC0",supsim:"\u2AC8",supsub:"\u2AD4",supsup:"\u2AD6",swArr:"\u21D9",swnwar:"\u292A",szlig:"\xDF",target:"\u2316",tau:"\u03C4",tcaron:"\u0165",tcedil:"\u0163",tcy:"\u0442",telrec:"\u2315",tfr:"\u{1D531}",theta:"\u03B8",thetasym:"\u03D1",thetav:"\u03D1",vartheta:"\u03D1",thorn:"\xFE",times:"\xD7",timesbar:"\u2A31",timesd:"\u2A30",topbot:"\u2336",topcir:"\u2AF1",topf:"\u{1D565}",topfork:"\u2ADA",tprime:"\u2034",triangle:"\u25B5",utri:"\u25B5",triangleq:"\u225C",trie:"\u225C",tridot:"\u25EC",triminus:"\u2A3A",triplus:"\u2A39",trisb:"\u29CD",tritime:"\u2A3B",trpezium:"\u23E2",tscr:"\u{1D4C9}",tscy:"\u0446",tshcy:"\u045B",tstrok:"\u0167",uHar:"\u2963",uacute:"\xFA",ubrcy:"\u045E",ubreve:"\u016D",ucirc:"\xFB",ucy:"\u0443",udblac:"\u0171",ufisht:"\u297E",ufr:"\u{1D532}",ugrave:"\xF9",uhblk:"\u2580",ulcorn:"\u231C",ulcorner:"\u231C",ulcrop:"\u230F",ultri:"\u25F8",umacr:"\u016B",uogon:"\u0173",uopf:"\u{1D566}",upsi:"\u03C5",upsilon:"\u03C5",upuparrows:"\u21C8",uuarr:"\u21C8",urcorn:"\u231D",urcorner:"\u231D",urcrop:"\u230E",uring:"\u016F",urtri:"\u25F9",uscr:"\u{1D4CA}",utdot:"\u22F0",utilde:"\u0169",uuml:"\xFC",uwangle:"\u29A7",vBar:"\u2AE8",vBarv:"\u2AE9",vangrt:"\u299C",varsubsetneq:"\u228A\uFE00",vsubne:"\u228A\uFE00",varsubsetneqq:"\u2ACB\uFE00",vsubnE:"\u2ACB\uFE00",varsupsetneq:"\u228B\uFE00",vsupne:"\u228B\uFE00",varsupsetneqq:"\u2ACC\uFE00",vsupnE:"\u2ACC\uFE00",vcy:"\u0432",veebar:"\u22BB",veeeq:"\u225A",vellip:"\u22EE",vfr:"\u{1D533}",vopf:"\u{1D567}",vscr:"\u{1D4CB}",vzigzag:"\u299A",wcirc:"\u0175",wedbar:"\u2A5F",wedgeq:"\u2259",weierp:"\u2118",wp:"\u2118",wfr:"\u{1D534}",wopf:"\u{1D568}",wscr:"\u{1D4CC}",xfr:"\u{1D535}",xi:"\u03BE",xnis:"\u22FB",xopf:"\u{1D569}",xscr:"\u{1D4CD}",yacute:"\xFD",yacy:"\u044F",ycirc:"\u0177",ycy:"\u044B",yen:"\xA5",yfr:"\u{1D536}",yicy:"\u0457",yopf:"\u{1D56A}",yscr:"\u{1D4CE}",yucy:"\u044E",yuml:"\xFF",zacute:"\u017A",zcaron:"\u017E",zcy:"\u0437",zdot:"\u017C",zeta:"\u03B6",zfr:"\u{1D537}",zhcy:"\u0436",zigrarr:"\u21DD",zopf:"\u{1D56B}",zscr:"\u{1D4CF}",zwj:"\u200D",zwnj:"\u200C"},za="\uE500";Ye.ngsp=za;var Ga=[/@/,/^\s*$/,/[<>]/,/^[{}]$/,/&(#|[a-z])/i,/^\/\//];function Ls(t,e){if(e!=null&&!(Array.isArray(e)&&e.length==2))throw new Error(`Expected '${t}' to be an array, [start, end].`);if(e!=null){let r=e[0],n=e[1];Ga.forEach(s=>{if(s.test(r)||s.test(n))throw new Error(`['${r}', '${n}'] contains unusable interpolation symbol.`)})}}var Lr=class t{static fromArray(e){return e?(Ls("interpolation",e),new t(e[0],e[1])):Fr}constructor(e,r){this.start=e,this.end=r}},Fr=new Lr("{{","}}");var ft=class extends Ue{constructor(e,r,n){super(n,e),this.tokenType=r}},$r=class{constructor(e,r,n){this.tokens=e,this.errors=r,this.nonNormalizedIcuExpressions=n}};function Ws(t,e,r,n={}){let s=new Or(new Te(t,e),r,n);return s.tokenize(),new $r(_o(s.tokens),s.errors,s.nonNormalizedIcuExpressions)}var po=/\r\n?/g;function je(t){return`Unexpected character "${t===0?"EOF":String.fromCharCode(t)}"`}function Rs(t){return`Unknown entity "${t}" - use the "&#;" or "&#x;" syntax`}function ho(t,e){return`Unable to parse entity "${e}" - ${t} character reference entities must end with ";"`}var tr;(function(t){t.HEX="hexadecimal",t.DEC="decimal"})(tr||(tr={}));var dt=class{constructor(e){this.error=e}},Or=class{constructor(e,r,n){this._getTagContentType=r,this._currentTokenStart=null,this._currentTokenType=null,this._expansionCaseStack=[],this._inInterpolation=!1,this._fullNameStack=[],this.tokens=[],this.errors=[],this.nonNormalizedIcuExpressions=[],this._tokenizeIcu=n.tokenizeExpansionForms||!1,this._interpolationConfig=n.interpolationConfig||Fr,this._leadingTriviaCodePoints=n.leadingTriviaChars&&n.leadingTriviaChars.map(i=>i.codePointAt(0)||0),this._canSelfClose=n.canSelfClose||!1,this._allowHtmComponentClosingTags=n.allowHtmComponentClosingTags||!1;let s=n.range||{endPos:e.content.length,startPos:0,startLine:0,startCol:0};this._cursor=n.escapedString?new Mr(e,s):new rr(e,s),this._preserveLineEndings=n.preserveLineEndings||!1,this._i18nNormalizeLineEndingsInICUs=n.i18nNormalizeLineEndingsInICUs||!1,this._tokenizeBlocks=n.tokenizeBlocks??!0,this._tokenizeLet=n.tokenizeLet??!0;try{this._cursor.init()}catch(i){this.handleError(i)}}_processCarriageReturns(e){return this._preserveLineEndings?e:e.replace(po,` +`)}tokenize(){for(;this._cursor.peek()!==0;){let e=this._cursor.clone();try{if(this._attemptCharCode(60))if(this._attemptCharCode(33))this._attemptStr("[CDATA[")?this._consumeCdata(e):this._attemptStr("--")?this._consumeComment(e):this._attemptStrCaseInsensitive("doctype")?this._consumeDocType(e):this._consumeBogusComment(e);else if(this._attemptCharCode(47))this._consumeTagClose(e);else{let r=this._cursor.clone();this._attemptCharCode(63)?(this._cursor=r,this._consumeBogusComment(e)):this._consumeTagOpen(e)}else this._tokenizeLet&&this._cursor.peek()===64&&!this._inInterpolation&&this._attemptStr("@let")?this._consumeLetDeclaration(e):this._tokenizeBlocks&&this._attemptCharCode(64)?this._consumeBlockStart(e):this._tokenizeBlocks&&!this._inInterpolation&&!this._isInExpansionCase()&&!this._isInExpansionForm()&&this._attemptCharCode(125)?this._consumeBlockEnd(e):this._tokenizeIcu&&this._tokenizeExpansionForm()||this._consumeWithInterpolation(5,8,()=>this._isTextEnd(),()=>this._isTagStart())}catch(r){this.handleError(r)}}this._beginToken(34),this._endToken([])}_getBlockName(){let e=!1,r=this._cursor.clone();return this._attemptCharCodeUntilFn(n=>at(n)?!e:Ms(n)?(e=!0,!1):!0),this._cursor.getChars(r).trim()}_consumeBlockStart(e){this._beginToken(25,e);let r=this._endToken([this._getBlockName()]);if(this._cursor.peek()===40)if(this._cursor.advance(),this._consumeBlockParameters(),this._attemptCharCodeUntilFn(b),this._attemptCharCode(41))this._attemptCharCodeUntilFn(b);else{r.type=29;return}this._attemptCharCode(123)?(this._beginToken(26),this._endToken([])):r.type=29}_consumeBlockEnd(e){this._beginToken(27,e),this._endToken([])}_consumeBlockParameters(){for(this._attemptCharCodeUntilFn(qs);this._cursor.peek()!==41&&this._cursor.peek()!==0;){this._beginToken(28);let e=this._cursor.clone(),r=null,n=0;for(;this._cursor.peek()!==59&&this._cursor.peek()!==0||r!==null;){let s=this._cursor.peek();if(s===92)this._cursor.advance();else if(s===r)r=null;else if(r===null&&$t(s))r=s;else if(s===40&&r===null)n++;else if(s===41&&r===null){if(n===0)break;n>0&&n--}this._cursor.advance()}this._endToken([this._cursor.getChars(e)]),this._attemptCharCodeUntilFn(qs)}}_consumeLetDeclaration(e){if(this._beginToken(30,e),at(this._cursor.peek()))this._attemptCharCodeUntilFn(b);else{let s=this._endToken([this._cursor.getChars(e)]);s.type=33;return}let r=this._endToken([this._getLetDeclarationName()]);if(this._attemptCharCodeUntilFn(b),!this._attemptCharCode(61)){r.type=33;return}this._attemptCharCodeUntilFn(s=>b(s)&&!Rt(s)),this._consumeLetDeclarationValue(),this._cursor.peek()===59?(this._beginToken(32),this._endToken([]),this._cursor.advance()):(r.type=33,r.sourceSpan=this._cursor.getSpan(e))}_getLetDeclarationName(){let e=this._cursor.clone(),r=!1;return this._attemptCharCodeUntilFn(n=>ot(n)||n==36||n===95||r&&It(n)?(r=!0,!1):!0),this._cursor.getChars(e).trim()}_consumeLetDeclarationValue(){let e=this._cursor.clone();for(this._beginToken(31,e);this._cursor.peek()!==0;){let r=this._cursor.peek();if(r===59)break;$t(r)&&(this._cursor.advance(),this._attemptCharCodeUntilFn(n=>n===92?(this._cursor.advance(),!1):n===r)),this._cursor.advance()}this._endToken([this._cursor.getChars(e)])}_tokenizeExpansionForm(){if(this.isExpansionFormStart())return this._consumeExpansionFormStart(),!0;if(Co(this._cursor.peek())&&this._isInExpansionForm())return this._consumeExpansionCaseStart(),!0;if(this._cursor.peek()===125){if(this._isInExpansionCase())return this._consumeExpansionCaseEnd(),!0;if(this._isInExpansionForm())return this._consumeExpansionFormEnd(),!0}return!1}_beginToken(e,r=this._cursor.clone()){this._currentTokenStart=r,this._currentTokenType=e}_endToken(e,r){if(this._currentTokenStart===null)throw new ft("Programming error - attempted to end a token when there was no start to the token",this._currentTokenType,this._cursor.getSpan(r));if(this._currentTokenType===null)throw new ft("Programming error - attempted to end a token which has no token type",null,this._cursor.getSpan(this._currentTokenStart));let n={type:this._currentTokenType,parts:e,sourceSpan:(r??this._cursor).getSpan(this._currentTokenStart,this._leadingTriviaCodePoints)};return this.tokens.push(n),this._currentTokenStart=null,this._currentTokenType=null,n}_createError(e,r){this._isInExpansionForm()&&(e+=` (Do you have an unescaped "{" in your template? Use "{{ '{' }}") to escape it.)`);let n=new ft(e,this._currentTokenType,r);return this._currentTokenStart=null,this._currentTokenType=null,new dt(n)}handleError(e){if(e instanceof gt&&(e=this._createError(e.msg,this._cursor.getSpan(e.cursor))),e instanceof dt)this.errors.push(e.error);else throw e}_attemptCharCode(e){return this._cursor.peek()===e?(this._cursor.advance(),!0):!1}_attemptCharCodeCaseInsensitive(e){return So(this._cursor.peek(),e)?(this._cursor.advance(),!0):!1}_requireCharCode(e){let r=this._cursor.clone();if(!this._attemptCharCode(e))throw this._createError(je(this._cursor.peek()),this._cursor.getSpan(r))}_attemptStr(e){let r=e.length;if(this._cursor.charsLeft()this._attemptStr("-->")),this._beginToken(11),this._requireStr("-->"),this._endToken([])}_consumeBogusComment(e){this._beginToken(10,e),this._endToken([]),this._consumeRawText(!1,()=>this._cursor.peek()===62),this._beginToken(11),this._cursor.advance(),this._endToken([])}_consumeCdata(e){this._beginToken(12,e),this._endToken([]),this._consumeRawText(!1,()=>this._attemptStr("]]>")),this._beginToken(13),this._requireStr("]]>"),this._endToken([])}_consumeDocType(e){this._beginToken(18,e),this._endToken([]),this._consumeRawText(!1,()=>this._cursor.peek()===62),this._beginToken(19),this._cursor.advance(),this._endToken([])}_consumePrefixAndName(){let e=this._cursor.clone(),r="";for(;this._cursor.peek()!==58&&!mo(this._cursor.peek());)this._cursor.advance();let n;this._cursor.peek()===58?(r=this._cursor.getChars(e),this._cursor.advance(),n=this._cursor.clone()):n=e,this._requireCharCodeUntilFn($s,r===""?0:1);let s=this._cursor.getChars(n);return[r,s]}_consumeTagOpen(e){let r,n,s,i=[];try{if(!ot(this._cursor.peek()))throw this._createError(je(this._cursor.peek()),this._cursor.getSpan(e));for(s=this._consumeTagOpenStart(e),n=s.parts[0],r=s.parts[1],this._attemptCharCodeUntilFn(b);this._cursor.peek()!==47&&this._cursor.peek()!==62&&this._cursor.peek()!==60&&this._cursor.peek()!==0;){let[o,u]=this._consumeAttributeName();if(this._attemptCharCodeUntilFn(b),this._attemptCharCode(61)){this._attemptCharCodeUntilFn(b);let p=this._consumeAttributeValue();i.push({prefix:o,name:u,value:p})}else i.push({prefix:o,name:u});this._attemptCharCodeUntilFn(b)}this._consumeTagOpenEnd()}catch(o){if(o instanceof dt){s?s.type=4:(this._beginToken(5,e),this._endToken(["<"]));return}throw o}if(this._canSelfClose&&this.tokens[this.tokens.length-1].type===2)return;let a=this._getTagContentType(r,n,this._fullNameStack.length>0,i);this._handleFullNameStackForTagOpen(n,r),a===I.RAW_TEXT?this._consumeRawTextWithTagClose(n,r,!1):a===I.ESCAPABLE_RAW_TEXT&&this._consumeRawTextWithTagClose(n,r,!0)}_consumeRawTextWithTagClose(e,r,n){this._consumeRawText(n,()=>!this._attemptCharCode(60)||!this._attemptCharCode(47)||(this._attemptCharCodeUntilFn(b),!this._attemptStrCaseInsensitive(e?`${e}:${r}`:r))?!1:(this._attemptCharCodeUntilFn(b),this._attemptCharCode(62))),this._beginToken(3),this._requireCharCodeUntilFn(s=>s===62,3),this._cursor.advance(),this._endToken([e,r]),this._handleFullNameStackForTagClose(e,r)}_consumeTagOpenStart(e){this._beginToken(0,e);let r=this._consumePrefixAndName();return this._endToken(r)}_consumeAttributeName(){let e=this._cursor.peek();if(e===39||e===34)throw this._createError(je(e),this._cursor.getSpan());this._beginToken(14);let r=this._consumePrefixAndName();return this._endToken(r),r}_consumeAttributeValue(){let e;if(this._cursor.peek()===39||this._cursor.peek()===34){let r=this._cursor.peek();this._consumeQuote(r);let n=()=>this._cursor.peek()===r;e=this._consumeWithInterpolation(16,17,n,n),this._consumeQuote(r)}else{let r=()=>$s(this._cursor.peek());e=this._consumeWithInterpolation(16,17,r,r)}return e}_consumeQuote(e){this._beginToken(15),this._requireCharCode(e),this._endToken([String.fromCodePoint(e)])}_consumeTagOpenEnd(){let e=this._attemptCharCode(47)?2:1;this._beginToken(e),this._requireCharCode(62),this._endToken([])}_consumeTagClose(e){if(this._beginToken(3,e),this._attemptCharCodeUntilFn(b),this._allowHtmComponentClosingTags&&this._attemptCharCode(47))this._attemptCharCodeUntilFn(b),this._requireCharCode(62),this._endToken([]);else{let[r,n]=this._consumePrefixAndName();this._attemptCharCodeUntilFn(b),this._requireCharCode(62),this._endToken([r,n]),this._handleFullNameStackForTagClose(r,n)}}_consumeExpansionFormStart(){this._beginToken(20),this._requireCharCode(123),this._endToken([]),this._expansionCaseStack.push(20),this._beginToken(7);let e=this._readUntil(44),r=this._processCarriageReturns(e);if(this._i18nNormalizeLineEndingsInICUs)this._endToken([r]);else{let s=this._endToken([e]);r!==e&&this.nonNormalizedIcuExpressions.push(s)}this._requireCharCode(44),this._attemptCharCodeUntilFn(b),this._beginToken(7);let n=this._readUntil(44);this._endToken([n]),this._requireCharCode(44),this._attemptCharCodeUntilFn(b)}_consumeExpansionCaseStart(){this._beginToken(21);let e=this._readUntil(123).trim();this._endToken([e]),this._attemptCharCodeUntilFn(b),this._beginToken(22),this._requireCharCode(123),this._endToken([]),this._attemptCharCodeUntilFn(b),this._expansionCaseStack.push(22)}_consumeExpansionCaseEnd(){this._beginToken(23),this._requireCharCode(125),this._endToken([]),this._attemptCharCodeUntilFn(b),this._expansionCaseStack.pop()}_consumeExpansionFormEnd(){this._beginToken(24),this._requireCharCode(125),this._endToken([]),this._expansionCaseStack.pop()}_consumeWithInterpolation(e,r,n,s){this._beginToken(e);let i=[];for(;!n();){let o=this._cursor.clone();this._interpolationConfig&&this._attemptStr(this._interpolationConfig.start)?(this._endToken([this._processCarriageReturns(i.join(""))],o),i.length=0,this._consumeInterpolation(r,o,s),this._beginToken(e)):this._cursor.peek()===38?(this._endToken([this._processCarriageReturns(i.join(""))]),i.length=0,this._consumeEntity(e),this._beginToken(e)):i.push(this._readChar())}this._inInterpolation=!1;let a=this._processCarriageReturns(i.join(""));return this._endToken([a]),a}_consumeInterpolation(e,r,n){let s=[];this._beginToken(e,r),s.push(this._interpolationConfig.start);let i=this._cursor.clone(),a=null,o=!1;for(;this._cursor.peek()!==0&&(n===null||!n());){let u=this._cursor.clone();if(this._isTagStart()){this._cursor=u,s.push(this._getProcessedChars(i,u)),this._endToken(s);return}if(a===null)if(this._attemptStr(this._interpolationConfig.end)){s.push(this._getProcessedChars(i,u)),s.push(this._interpolationConfig.end),this._endToken(s);return}else this._attemptStr("//")&&(o=!0);let p=this._cursor.peek();this._cursor.advance(),p===92?this._cursor.advance():p===a?a=null:!o&&a===null&&$t(p)&&(a=p)}s.push(this._getProcessedChars(i,this._cursor)),this._endToken(s)}_getProcessedChars(e,r){return this._processCarriageReturns(r.getChars(e))}_isTextEnd(){return!!(this._isTagStart()||this._cursor.peek()===0||this._tokenizeIcu&&!this._inInterpolation&&(this.isExpansionFormStart()||this._cursor.peek()===125&&this._isInExpansionCase())||this._tokenizeBlocks&&!this._inInterpolation&&!this._isInExpansion()&&(this._isBlockStart()||this._cursor.peek()===64||this._cursor.peek()===125))}_isTagStart(){if(this._cursor.peek()===60){let e=this._cursor.clone();e.advance();let r=e.peek();if(97<=r&&r<=122||65<=r&&r<=90||r===47||r===33)return!0}return!1}_isBlockStart(){if(this._tokenizeBlocks&&this._cursor.peek()===64){let e=this._cursor.clone();if(e.advance(),Ms(e.peek()))return!0}return!1}_readUntil(e){let r=this._cursor.clone();return this._attemptUntilChar(e),this._cursor.getChars(r)}_isInExpansion(){return this._isInExpansionCase()||this._isInExpansionForm()}_isInExpansionCase(){return this._expansionCaseStack.length>0&&this._expansionCaseStack[this._expansionCaseStack.length-1]===22}_isInExpansionForm(){return this._expansionCaseStack.length>0&&this._expansionCaseStack[this._expansionCaseStack.length-1]===20}isExpansionFormStart(){if(this._cursor.peek()!==123)return!1;if(this._interpolationConfig){let e=this._cursor.clone(),r=this._attemptStr(this._interpolationConfig.start);return this._cursor=e,!r}return!0}_handleFullNameStackForTagOpen(e,r){let n=ze(e,r);(this._fullNameStack.length===0||this._fullNameStack[this._fullNameStack.length-1]===n)&&this._fullNameStack.push(n)}_handleFullNameStackForTagClose(e,r){let n=ze(e,r);this._fullNameStack.length!==0&&this._fullNameStack[this._fullNameStack.length-1]===n&&this._fullNameStack.pop()}};function b(t){return!at(t)||t===0}function $s(t){return at(t)||t===62||t===60||t===47||t===39||t===34||t===61||t===0}function mo(t){return(t<97||12257)}function fo(t){return t===59||t===0||!Cs(t)}function go(t){return t===59||t===0||!ot(t)}function Co(t){return t!==125}function So(t,e){return Os(t)===Os(e)}function Os(t){return t>=97&&t<=122?t-97+65:t}function Ms(t){return ot(t)||It(t)||t===95}function qs(t){return t!==59&&b(t)}function _o(t){let e=[],r;for(let n=0;n0&&r.indexOf(e.peek())!==-1;)n===e&&(e=e.clone()),e.advance();let s=this.locationFromCursor(e),i=this.locationFromCursor(this),a=n!==e?this.locationFromCursor(n):s;return new h(s,i,a)}getChars(e){return this.input.substring(e.state.offset,this.state.offset)}charAt(e){return this.input.charCodeAt(e)}advanceState(e){if(e.offset>=this.end)throw this.state=e,new gt('Unexpected character "EOF"',this);let r=this.charAt(e.offset);r===10?(e.line++,e.column=0):Rt(r)||e.column++,e.offset++,this.updatePeek(e)}updatePeek(e){e.peek=e.offset>=this.end?0:this.charAt(e.offset)}locationFromCursor(e){return new ae(e.file,e.state.offset,e.state.line,e.state.column)}},Mr=class t extends rr{constructor(e,r){e instanceof t?(super(e),this.internalState={...e.internalState}):(super(e,r),this.internalState=this.state)}advance(){this.state=this.internalState,super.advance(),this.processEscapeSequence()}init(){super.init(),this.processEscapeSequence()}clone(){return new t(this)}getChars(e){let r=e.clone(),n="";for(;r.internalState.offsetthis.internalState.peek;if(e()===92)if(this.internalState={...this.state},this.advanceState(this.internalState),e()===110)this.state.peek=10;else if(e()===114)this.state.peek=13;else if(e()===118)this.state.peek=11;else if(e()===116)this.state.peek=9;else if(e()===98)this.state.peek=8;else if(e()===102)this.state.peek=12;else if(e()===117)if(this.advanceState(this.internalState),e()===123){this.advanceState(this.internalState);let r=this.clone(),n=0;for(;e()!==125;)this.advanceState(this.internalState),n++;this.state.peek=this.decodeHexDigits(r,n)}else{let r=this.clone();this.advanceState(this.internalState),this.advanceState(this.internalState),this.advanceState(this.internalState),this.state.peek=this.decodeHexDigits(r,4)}else if(e()===120){this.advanceState(this.internalState);let r=this.clone();this.advanceState(this.internalState),this.state.peek=this.decodeHexDigits(r,2)}else if(yr(e())){let r="",n=0,s=this.clone();for(;yr(e())&&n<3;)s=this.clone(),r+=String.fromCodePoint(e()),this.advanceState(this.internalState),n++;this.state.peek=parseInt(r,8),this.internalState=s.internalState}else Rt(this.internalState.peek)?(this.advanceState(this.internalState),this.state=this.internalState):this.state.peek=this.internalState.peek}decodeHexDigits(e,r){let n=this.input.slice(e.internalState.offset,e.internalState.offset+r),s=parseInt(n,16);if(isNaN(s))throw e.state=e.internalState,new gt("Invalid hexadecimal escape sequence",e);return s}},gt=class{constructor(e,r){this.msg=e,this.cursor=r}};var L=class t extends Ue{static create(e,r,n){return new t(e,r,n)}constructor(e,r,n){super(r,n),this.elementName=e}},Vr=class{constructor(e,r){this.rootNodes=e,this.errors=r}},nr=class{constructor(e){this.getTagDefinition=e}parse(e,r,n,s=!1,i){let a=D=>(R,...F)=>D(R.toLowerCase(),...F),o=s?this.getTagDefinition:a(this.getTagDefinition),u=D=>o(D).getContentType(),p=s?i:a(i),f=Ws(e,r,i?(D,R,F,c)=>{let g=p(D,R,F,c);return g!==void 0?g:u(D)}:u,n),d=n&&n.canSelfClose||!1,C=n&&n.allowHtmComponentClosingTags||!1,A=new Ur(f.tokens,o,d,C,s);return A.build(),new Vr(A.rootNodes,f.errors.concat(A.errors))}},Ur=class t{constructor(e,r,n,s,i){this.tokens=e,this.getTagDefinition=r,this.canSelfClose=n,this.allowHtmComponentClosingTags=s,this.isTagNameCaseSensitive=i,this._index=-1,this._containerStack=[],this.rootNodes=[],this.errors=[],this._advance()}build(){for(;this._peek.type!==34;)this._peek.type===0||this._peek.type===4?this._consumeStartTag(this._advance()):this._peek.type===3?(this._closeVoidElement(),this._consumeEndTag(this._advance())):this._peek.type===12?(this._closeVoidElement(),this._consumeCdata(this._advance())):this._peek.type===10?(this._closeVoidElement(),this._consumeComment(this._advance())):this._peek.type===5||this._peek.type===7||this._peek.type===6?(this._closeVoidElement(),this._consumeText(this._advance())):this._peek.type===20?this._consumeExpansion(this._advance()):this._peek.type===25?(this._closeVoidElement(),this._consumeBlockOpen(this._advance())):this._peek.type===27?(this._closeVoidElement(),this._consumeBlockClose(this._advance())):this._peek.type===29?(this._closeVoidElement(),this._consumeIncompleteBlock(this._advance())):this._peek.type===30?(this._closeVoidElement(),this._consumeLet(this._advance())):this._peek.type===18?this._consumeDocType(this._advance()):this._peek.type===33?(this._closeVoidElement(),this._consumeIncompleteLet(this._advance())):this._advance();for(let e of this._containerStack)e instanceof Z&&this.errors.push(L.create(e.name,e.sourceSpan,`Unclosed block "${e.name}"`))}_advance(){let e=this._peek;return this._index0)return this.errors=this.errors.concat(i.errors),null;let a=new h(e.sourceSpan.start,s.sourceSpan.end,e.sourceSpan.fullStart),o=new h(r.sourceSpan.start,s.sourceSpan.end,r.sourceSpan.fullStart);return new Gt(e.parts[0],i.rootNodes,a,e.sourceSpan,o)}_collectExpansionExpTokens(e){let r=[],n=[22];for(;;){if((this._peek.type===20||this._peek.type===22)&&n.push(this._peek.type),this._peek.type===23)if(zs(n,22)){if(n.pop(),n.length===0)return r}else return this.errors.push(L.create(null,e.sourceSpan,"Invalid ICU message. Missing '}'.")),null;if(this._peek.type===24)if(zs(n,20))n.pop();else return this.errors.push(L.create(null,e.sourceSpan,"Invalid ICU message. Missing '}'.")),null;if(this._peek.type===34)return this.errors.push(L.create(null,e.sourceSpan,"Invalid ICU message. Missing '}'.")),null;r.push(this._advance())}}_getText(e){let r=e.parts[0];if(r.length>0&&r[0]==` +`){let n=this._getClosestParentElement();n!=null&&n.children.length==0&&this.getTagDefinition(n.name).ignoreFirstLf&&(r=r.substring(1))}return r}_consumeText(e){let r=[e],n=e.sourceSpan,s=e.parts[0];if(s.length>0&&s[0]===` +`){let i=this._getContainer();i!=null&&i.children.length===0&&this.getTagDefinition(i.name).ignoreFirstLf&&(s=s.substring(1),r[0]={type:e.type,sourceSpan:e.sourceSpan,parts:[s]})}for(;this._peek.type===8||this._peek.type===5||this._peek.type===9;)e=this._advance(),r.push(e),e.type===8?s+=e.parts.join("").replace(/&([^;]+);/g,Gs):e.type===9?s+=e.parts[0]:s+=e.parts.join("");if(s.length>0){let i=e.sourceSpan;this._addToParent(new Ut(s,new h(n.start,i.end,n.fullStart,n.details),r))}}_closeVoidElement(){let e=this._getContainer();e instanceof G&&this.getTagDefinition(e.name).isVoid&&this._containerStack.pop()}_consumeStartTag(e){let[r,n]=e.parts,s=[];for(;this._peek.type===14;)s.push(this._consumeAttr(this._advance()));let i=this._getElementFullName(r,n,this._getClosestParentElement()),a=!1;if(this._peek.type===2){this._advance(),a=!0;let C=this.getTagDefinition(i);this.canSelfClose||C.canSelfClose||We(i)!==null||C.isVoid||this.errors.push(L.create(i,e.sourceSpan,`Only void, custom and foreign elements can be self closed "${e.parts[1]}"`))}else this._peek.type===1&&(this._advance(),a=!1);let o=this._peek.sourceSpan.fullStart,u=new h(e.sourceSpan.start,o,e.sourceSpan.fullStart),p=new h(e.sourceSpan.start,o,e.sourceSpan.fullStart),l=new h(e.sourceSpan.start.moveBy(1),e.sourceSpan.end),f=new G(i,s,[],u,p,void 0,l),d=this._getContainer();this._pushContainer(f,d instanceof G&&this.getTagDefinition(d.name).isClosedByChild(f.name)),a?this._popContainer(i,G,u):e.type===4&&(this._popContainer(i,G,null),this.errors.push(L.create(i,u,`Opening tag "${i}" not terminated.`)))}_pushContainer(e,r){r&&this._containerStack.pop(),this._addToParent(e),this._containerStack.push(e)}_consumeEndTag(e){let r=this.allowHtmComponentClosingTags&&e.parts.length===0?null:this._getElementFullName(e.parts[0],e.parts[1],this._getClosestParentElement());if(r&&this.getTagDefinition(r).isVoid)this.errors.push(L.create(r,e.sourceSpan,`Void elements do not have end tags "${e.parts[1]}"`));else if(!this._popContainer(r,G,e.sourceSpan)){let n=`Unexpected closing tag "${r}". It may happen when the tag has already been closed by another tag. For more info see https://www.w3.org/TR/html5/syntax.html#closing-elements-that-have-implied-end-tags`;this.errors.push(L.create(r,e.sourceSpan,n))}}_popContainer(e,r,n){let s=!1;for(let i=this._containerStack.length-1;i>=0;i--){let a=this._containerStack[i];if(We(a.name)?a.name===e:(e==null||a.name.toLowerCase()===e.toLowerCase())&&a instanceof r)return a.endSourceSpan=n,a.sourceSpan.end=n!==null?n.end:a.sourceSpan.end,this._containerStack.splice(i,this._containerStack.length-i),!s;(a instanceof Z||a instanceof G&&!this.getTagDefinition(a.name).closedByParent)&&(s=!0)}return!1}_consumeAttr(e){let r=ze(e.parts[0],e.parts[1]),n=e.sourceSpan.end,s;this._peek.type===15&&(s=this._advance());let i="",a=[],o,u;if(this._peek.type===16)for(o=this._peek.sourceSpan,u=this._peek.sourceSpan.end;this._peek.type===16||this._peek.type===17||this._peek.type===9;){let f=this._advance();a.push(f),f.type===17?i+=f.parts.join("").replace(/&([^;]+);/g,Gs):f.type===9?i+=f.parts[0]:i+=f.parts.join(""),u=n=f.sourceSpan.end}this._peek.type===15&&(u=n=this._advance().sourceSpan.end);let l=o&&u&&new h((s==null?void 0:s.sourceSpan.start)??o.start,u,(s==null?void 0:s.sourceSpan.fullStart)??o.fullStart);return new Yt(r,i,new h(e.sourceSpan.start,n,e.sourceSpan.fullStart),e.sourceSpan,l,a.length>0?a:void 0,void 0)}_consumeBlockOpen(e){let r=[];for(;this._peek.type===28;){let o=this._advance();r.push(new ct(o.parts[0],o.sourceSpan))}this._peek.type===26&&this._advance();let n=this._peek.sourceSpan.fullStart,s=new h(e.sourceSpan.start,n,e.sourceSpan.fullStart),i=new h(e.sourceSpan.start,n,e.sourceSpan.fullStart),a=new Z(e.parts[0],r,[],s,e.sourceSpan,i);this._pushContainer(a,!1)}_consumeBlockClose(e){this._popContainer(null,Z,e.sourceSpan)||this.errors.push(L.create(null,e.sourceSpan,'Unexpected closing block. The block may have been closed earlier. If you meant to write the } character, you should use the "}" HTML entity instead.'))}_consumeIncompleteBlock(e){let r=[];for(;this._peek.type===28;){let o=this._advance();r.push(new ct(o.parts[0],o.sourceSpan))}let n=this._peek.sourceSpan.fullStart,s=new h(e.sourceSpan.start,n,e.sourceSpan.fullStart),i=new h(e.sourceSpan.start,n,e.sourceSpan.fullStart),a=new Z(e.parts[0],r,[],s,e.sourceSpan,i);this._pushContainer(a,!1),this._popContainer(null,Z,null),this.errors.push(L.create(e.parts[0],s,`Incomplete block "${e.parts[0]}". If you meant to write the @ character, you should use the "@" HTML entity instead.`))}_consumeLet(e){let r=e.parts[0],n,s;if(this._peek.type!==31){this.errors.push(L.create(e.parts[0],e.sourceSpan,`Invalid @let declaration "${r}". Declaration must have a value.`));return}else n=this._advance();if(this._peek.type!==32){this.errors.push(L.create(e.parts[0],e.sourceSpan,`Unterminated @let declaration "${r}". Declaration must be terminated with a semicolon.`));return}else s=this._advance();let i=s.sourceSpan.fullStart,a=new h(e.sourceSpan.start,i,e.sourceSpan.fullStart),o=e.sourceSpan.toString().lastIndexOf(r),u=e.sourceSpan.start.moveBy(o),p=new h(u,e.sourceSpan.end),l=new pt(r,n.parts[0],a,p,n.sourceSpan);this._addToParent(l)}_consumeIncompleteLet(e){let r=e.parts[0]??"",n=r?` "${r}"`:"";if(r.length>0){let s=e.sourceSpan.toString().lastIndexOf(r),i=e.sourceSpan.start.moveBy(s),a=new h(i,e.sourceSpan.end),o=new h(e.sourceSpan.start,e.sourceSpan.start.moveBy(0)),u=new pt(r,"",e.sourceSpan,a,o);this._addToParent(u)}this.errors.push(L.create(e.parts[0],e.sourceSpan,`Incomplete @let declaration${n}. @let declarations must be written as \`@let = ;\``))}_getContainer(){return this._containerStack.length>0?this._containerStack[this._containerStack.length-1]:null}_getClosestParentElement(){for(let e=this._containerStack.length-1;e>-1;e--)if(this._containerStack[e]instanceof G)return this._containerStack[e];return null}_addToParent(e){let r=this._getContainer();r===null?this.rootNodes.push(e):r.children.push(e)}_getElementFullName(e,r,n){if(e===""&&(e=this.getTagDefinition(r).implicitNamespacePrefix||"",e===""&&n!=null)){let s=ut(n.name)[1];this.getTagDefinition(s).preventNamespaceInheritance||(e=We(n.name))}return ze(e,r)}};function zs(t,e){return t.length>0&&t[t.length-1]===e}function Gs(t,e){return Ye[e]!==void 0?Ye[e]||t:/^#x[a-f0-9]+$/i.test(e)?String.fromCodePoint(parseInt(e.slice(2),16)):/^#\d+$/.test(e)?String.fromCodePoint(parseInt(e.slice(1),10)):t}var sr=class extends nr{constructor(){super(Ge)}parse(e,r,n,s=!1,i){return super.parse(e,r,n,s,i)}};var Wr=null,Eo=()=>(Wr||(Wr=new sr),Wr);function zr(t,e={}){let{canSelfClose:r=!1,allowHtmComponentClosingTags:n=!1,isTagNameCaseSensitive:s=!1,getTagContentType:i,tokenizeAngularBlocks:a=!1,tokenizeAngularLetDeclaration:o=!1}=e;return Eo().parse(t,"angular-html-parser",{tokenizeExpansionForms:a,interpolationConfig:void 0,canSelfClose:r,allowHtmComponentClosingTags:n,tokenizeBlocks:a,tokenizeLet:o},s,i)}function Ao(t,e){let r=new SyntaxError(t+" ("+e.loc.start.line+":"+e.loc.start.column+")");return Object.assign(r,e)}var Ys=Ao;var Ct=3;function Do(t){let e=t.slice(0,Ct);if(e!=="---"&&e!=="+++")return;let r=t.indexOf(` +`,Ct);if(r===-1)return;let n=t.slice(Ct,r).trim(),s=t.indexOf(` +${e}`,r),i=n;if(i||(i=e==="+++"?"toml":"yaml"),s===-1&&e==="---"&&i==="yaml"&&(s=t.indexOf(` +...`,r)),s===-1)return;let a=s+1+Ct,o=t.charAt(a+1);if(!/\s?/u.test(o))return;let u=t.slice(0,a);return{type:"front-matter",language:i,explicitLanguage:n,value:t.slice(r+1,s),startDelimiter:e,endDelimiter:u.slice(-Ct),raw:u}}function vo(t){let e=Do(t);if(!e)return{content:t};let{raw:r}=e;return{frontMatter:e,content:w(!1,r,/[^\n]/gu," ")+t.slice(r.length)}}var js=vo;var ir={attrs:!0,children:!0,cases:!0,expression:!0},Ks=new Set(["parent"]),ar=class t{constructor(e={}){for(let r of new Set([...Ks,...Object.keys(e)]))this.setProperty(r,e[r])}setProperty(e,r){if(this[e]!==r){if(e in ir&&(r=r.map(n=>this.createChild(n))),!Ks.has(e)){this[e]=r;return}Object.defineProperty(this,e,{value:r,enumerable:!1,configurable:!0})}}map(e){let r;for(let n in ir){let s=this[n];if(s){let i=yo(s,a=>a.map(e));r!==s&&(r||(r=new t({parent:this.parent})),r.setProperty(n,i))}}if(r)for(let n in this)n in ir||(r[n]=this[n]);return e(r||this)}walk(e){for(let r in ir){let n=this[r];if(n)for(let s=0;s[e.fullName,e.value]))}};function yo(t,e){let r=t.map(e);return r.some((n,s)=>n!==t[s])?r:t}var wo=[{regex:/^(\[if([^\]]*)\]>)(.*?){try{return[!0,e(i,o).children]}catch{return[!1,[{type:"text",value:i,sourceSpan:new h(o,u)}]]}})();return{type:"ieConditionalComment",complete:p,children:l,condition:w(!1,s.trim(),/\s+/gu," "),sourceSpan:t.sourceSpan,startSourceSpan:new h(t.sourceSpan.start,o),endSourceSpan:new h(u,t.sourceSpan.end)}}function To(t,e,r){let[,n]=r;return{type:"ieConditionalStartComment",condition:w(!1,n.trim(),/\s+/gu," "),sourceSpan:t.sourceSpan}}function xo(t){return{type:"ieConditionalEndComment",sourceSpan:t.sourceSpan}}var or=new Map([["*",new Set(["accesskey","autocapitalize","autofocus","class","contenteditable","dir","draggable","enterkeyhint","hidden","id","inert","inputmode","is","itemid","itemprop","itemref","itemscope","itemtype","lang","nonce","popover","slot","spellcheck","style","tabindex","title","translate","writingsuggestions"])],["a",new Set(["charset","coords","download","href","hreflang","name","ping","referrerpolicy","rel","rev","shape","target","type"])],["applet",new Set(["align","alt","archive","code","codebase","height","hspace","name","object","vspace","width"])],["area",new Set(["alt","coords","download","href","hreflang","nohref","ping","referrerpolicy","rel","shape","target","type"])],["audio",new Set(["autoplay","controls","crossorigin","loop","muted","preload","src"])],["base",new Set(["href","target"])],["basefont",new Set(["color","face","size"])],["blockquote",new Set(["cite"])],["body",new Set(["alink","background","bgcolor","link","text","vlink"])],["br",new Set(["clear"])],["button",new Set(["disabled","form","formaction","formenctype","formmethod","formnovalidate","formtarget","name","popovertarget","popovertargetaction","type","value"])],["canvas",new Set(["height","width"])],["caption",new Set(["align"])],["col",new Set(["align","char","charoff","span","valign","width"])],["colgroup",new Set(["align","char","charoff","span","valign","width"])],["data",new Set(["value"])],["del",new Set(["cite","datetime"])],["details",new Set(["name","open"])],["dialog",new Set(["open"])],["dir",new Set(["compact"])],["div",new Set(["align"])],["dl",new Set(["compact"])],["embed",new Set(["height","src","type","width"])],["fieldset",new Set(["disabled","form","name"])],["font",new Set(["color","face","size"])],["form",new Set(["accept","accept-charset","action","autocomplete","enctype","method","name","novalidate","target"])],["frame",new Set(["frameborder","longdesc","marginheight","marginwidth","name","noresize","scrolling","src"])],["frameset",new Set(["cols","rows"])],["h1",new Set(["align"])],["h2",new Set(["align"])],["h3",new Set(["align"])],["h4",new Set(["align"])],["h5",new Set(["align"])],["h6",new Set(["align"])],["head",new Set(["profile"])],["hr",new Set(["align","noshade","size","width"])],["html",new Set(["manifest","version"])],["iframe",new Set(["align","allow","allowfullscreen","allowpaymentrequest","allowusermedia","frameborder","height","loading","longdesc","marginheight","marginwidth","name","referrerpolicy","sandbox","scrolling","src","srcdoc","width"])],["img",new Set(["align","alt","border","crossorigin","decoding","fetchpriority","height","hspace","ismap","loading","longdesc","name","referrerpolicy","sizes","src","srcset","usemap","vspace","width"])],["input",new Set(["accept","align","alt","autocomplete","checked","dirname","disabled","form","formaction","formenctype","formmethod","formnovalidate","formtarget","height","ismap","list","max","maxlength","min","minlength","multiple","name","pattern","placeholder","popovertarget","popovertargetaction","readonly","required","size","src","step","type","usemap","value","width"])],["ins",new Set(["cite","datetime"])],["isindex",new Set(["prompt"])],["label",new Set(["for","form"])],["legend",new Set(["align"])],["li",new Set(["type","value"])],["link",new Set(["as","blocking","charset","color","crossorigin","disabled","fetchpriority","href","hreflang","imagesizes","imagesrcset","integrity","media","referrerpolicy","rel","rev","sizes","target","type"])],["map",new Set(["name"])],["menu",new Set(["compact"])],["meta",new Set(["charset","content","http-equiv","media","name","scheme"])],["meter",new Set(["high","low","max","min","optimum","value"])],["object",new Set(["align","archive","border","classid","codebase","codetype","data","declare","form","height","hspace","name","standby","type","typemustmatch","usemap","vspace","width"])],["ol",new Set(["compact","reversed","start","type"])],["optgroup",new Set(["disabled","label"])],["option",new Set(["disabled","label","selected","value"])],["output",new Set(["for","form","name"])],["p",new Set(["align"])],["param",new Set(["name","type","value","valuetype"])],["pre",new Set(["width"])],["progress",new Set(["max","value"])],["q",new Set(["cite"])],["script",new Set(["async","blocking","charset","crossorigin","defer","fetchpriority","integrity","language","nomodule","referrerpolicy","src","type"])],["select",new Set(["autocomplete","disabled","form","multiple","name","required","size"])],["slot",new Set(["name"])],["source",new Set(["height","media","sizes","src","srcset","type","width"])],["style",new Set(["blocking","media","type"])],["table",new Set(["align","bgcolor","border","cellpadding","cellspacing","frame","rules","summary","width"])],["tbody",new Set(["align","char","charoff","valign"])],["td",new Set(["abbr","align","axis","bgcolor","char","charoff","colspan","headers","height","nowrap","rowspan","scope","valign","width"])],["template",new Set(["shadowrootclonable","shadowrootdelegatesfocus","shadowrootmode"])],["textarea",new Set(["autocomplete","cols","dirname","disabled","form","maxlength","minlength","name","placeholder","readonly","required","rows","wrap"])],["tfoot",new Set(["align","char","charoff","valign"])],["th",new Set(["abbr","align","axis","bgcolor","char","charoff","colspan","headers","height","nowrap","rowspan","scope","valign","width"])],["thead",new Set(["align","char","charoff","valign"])],["time",new Set(["datetime"])],["tr",new Set(["align","bgcolor","char","charoff","valign"])],["track",new Set(["default","kind","label","src","srclang"])],["ul",new Set(["compact","type"])],["video",new Set(["autoplay","controls","crossorigin","height","loop","muted","playsinline","poster","preload","src","width"])]]);var Xs=new Set(["a","abbr","acronym","address","applet","area","article","aside","audio","b","base","basefont","bdi","bdo","bgsound","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","command","content","data","datalist","dd","del","details","dfn","dialog","dir","div","dl","dt","element","em","embed","fieldset","figcaption","figure","font","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","image","img","input","ins","isindex","kbd","keygen","label","legend","li","link","listing","main","map","mark","marquee","math","menu","menuitem","meta","meter","multicol","nav","nextid","nobr","noembed","noframes","noscript","object","ol","optgroup","option","output","p","param","picture","plaintext","pre","progress","q","rb","rbc","rp","rt","rtc","ruby","s","samp","script","search","section","select","shadow","slot","small","source","spacer","span","strike","strong","style","sub","summary","sup","svg","table","tbody","td","template","textarea","tfoot","th","thead","time","title","tr","track","tt","u","ul","var","video","wbr","xmp"]);function ko(t){if(t.type==="block"){if(t.name=w(!1,t.name.toLowerCase(),/\s+/gu," ").trim(),t.type="angularControlFlowBlock",!qe(t.parameters)){delete t.parameters;return}for(let e of t.parameters)e.type="angularControlFlowBlockParameter";t.parameters={type:"angularControlFlowBlockParameters",children:t.parameters,sourceSpan:new h(t.parameters[0].sourceSpan.start,X(!1,t.parameters,-1).sourceSpan.end)}}}function Bo(t){t.type==="letDeclaration"&&(t.type="angularLetDeclaration",t.id=t.name,t.init={type:"angularLetDeclarationInitializer",sourceSpan:new h(t.valueSpan.start,t.valueSpan.end),value:t.value},delete t.name,delete t.value)}function Lo(t){(t.type==="plural"||t.type==="select")&&(t.clause=t.type,t.type="angularIcuExpression"),t.type==="expansionCase"&&(t.type="angularIcuCase")}function Zs(t,e,r){let{name:n,canSelfClose:s=!0,normalizeTagName:i=!1,normalizeAttributeName:a=!1,allowHtmComponentClosingTags:o=!1,isTagNameCaseSensitive:u=!1,shouldParseAsRawText:p}=e,{rootNodes:l,errors:f}=zr(t,{canSelfClose:s,allowHtmComponentClosingTags:o,isTagNameCaseSensitive:u,getTagContentType:p?(...c)=>p(...c)?I.RAW_TEXT:void 0:void 0,tokenizeAngularBlocks:n==="angular"?!0:void 0,tokenizeAngularLetDeclaration:n==="angular"?!0:void 0});if(n==="vue"){if(l.some(x=>x.type==="docType"&&x.value==="html"||x.type==="element"&&x.name.toLowerCase()==="html"))return Zs(t,ti,r);let g,y=()=>g??(g=zr(t,{canSelfClose:s,allowHtmComponentClosingTags:o,isTagNameCaseSensitive:u})),M=x=>y().rootNodes.find(({startSourceSpan:V})=>V&&V.start.offset===x.startSourceSpan.start.offset)??x;for(let[x,V]of l.entries()){let{endSourceSpan:jr,startSourceSpan:ri}=V;if(jr===null)f=y().errors,l[x]=M(V);else if(Fo(V,r)){let Kr=y().errors.find(Qr=>Qr.span.start.offset>ri.start.offset&&Qr.span.start.offset0&&Js(f[0]);let d=c=>{let g=c.name.startsWith(":")?c.name.slice(1).split(":")[0]:null,y=c.nameSpan.toString(),M=g!==null&&y.startsWith(`${g}:`),x=M?y.slice(g.length+1):y;c.name=x,c.namespace=g,c.hasExplicitNamespace=M},C=c=>{switch(c.type){case"element":d(c);for(let g of c.attrs)d(g),g.valueSpan?(g.value=g.valueSpan.toString(),/["']/u.test(g.value[0])&&(g.value=g.value.slice(1,-1))):g.value=null;break;case"comment":c.value=c.sourceSpan.toString().slice(4,-3);break;case"text":c.value=c.sourceSpan.toString();break}},A=(c,g)=>{let y=c.toLowerCase();return g(y)?y:c},D=c=>{if(c.type==="element"&&(i&&(!c.namespace||c.namespace===c.tagDefinition.implicitNamespacePrefix||Se(c))&&(c.name=A(c.name,g=>Xs.has(g))),a))for(let g of c.attrs)g.namespace||(g.name=A(g.name,y=>or.has(c.name)&&(or.get("*").has(y)||or.get(c.name).has(y))))},R=c=>{c.sourceSpan&&c.endSourceSpan&&(c.sourceSpan=new h(c.sourceSpan.start,c.endSourceSpan.end))},F=c=>{if(c.type==="element"){let g=Ge(u?c.name:c.name.toLowerCase());!c.namespace||c.namespace===g.implicitNamespacePrefix||Se(c)?c.tagDefinition=g:c.tagDefinition=Ge("")}};return Qt(new class extends ht{visitExpansionCase(c,g){n==="angular"&&this.visitChildren(g,y=>{y(c.expression)})}visit(c){C(c),F(c),D(c),R(c)}},l),l}function Fo(t,e){var n;if(t.type!=="element"||t.name!=="template")return!1;let r=(n=t.attrs.find(s=>s.name==="lang"))==null?void 0:n.value;return!r||Oe(e,{language:r})==="html"}function Js(t){let{msg:e,span:{start:r,end:n}}=t;throw Ys(e,{loc:{start:{line:r.line+1,column:r.col+1},end:{line:n.line+1,column:n.col+1}},cause:t})}function ei(t,e,r={},n=!0){let{frontMatter:s,content:i}=n?js(t):{frontMatter:null,content:t},a=new Te(t,r.filepath),o=new ae(a,0,0,0),u=o.moveBy(t.length),p={type:"root",sourceSpan:new h(o,u),children:Zs(i,e,r)};if(s){let d=new ae(a,0,0,0),C=d.moveBy(s.raw.length);s.sourceSpan=new h(d,C),p.children.unshift(s)}let l=new ar(p),f=(d,C)=>{let{offset:A}=C,D=w(!1,t.slice(0,A),/[^\n\r]/gu," "),F=ei(D+d,e,r,!1);F.sourceSpan=new h(C,X(!1,F.children,-1).sourceSpan.end);let c=F.children[0];return c.length===A?F.children.shift():(c.sourceSpan=new h(c.sourceSpan.start.moveBy(A),c.sourceSpan.end),c.value=c.value.slice(A)),F};return l.walk(d=>{if(d.type==="comment"){let C=Qs(d,f);C&&d.parent.replaceChild(d,C)}ko(d),Bo(d),Lo(d)}),l}function ur(t){return{parse:(e,r)=>ei(e,t,r),hasPragma:os,astFormat:"html",locStart:se,locEnd:ie}}var ti={name:"html",normalizeTagName:!0,normalizeAttributeName:!0,allowHtmComponentClosingTags:!0},No=ur(ti),Po=ur({name:"angular"}),Io=ur({name:"vue",isTagNameCaseSensitive:!0,shouldParseAsRawText(t,e,r,n){return t.toLowerCase()!=="html"&&!r&&(t!=="template"||n.some(({name:s,value:i})=>s==="lang"&&i!=="html"&&i!==""&&i!==void 0))}}),Ro=ur({name:"lwc",canSelfClose:!1});var $o={html:As};var Ih=Yr;export{Ih as default,Ds as languages,ys as options,Gr as parsers,$o as printers}; diff --git a/node_modules/prettier/plugins/markdown.js b/node_modules/prettier/plugins/markdown.js index 862aab1c95..3445c7d958 100644 --- a/node_modules/prettier/plugins/markdown.js +++ b/node_modules/prettier/plugins/markdown.js @@ -1,59 +1,62 @@ -(function(n){function e(){var i=n();return i.default||i}if(typeof exports=="object"&&typeof module=="object")module.exports=e();else if(typeof define=="function"&&define.amd)define(e);else{var t=typeof globalThis<"u"?globalThis:typeof global<"u"?global:typeof self<"u"?self:this||{};t.prettierPlugins=t.prettierPlugins||{},t.prettierPlugins.markdown=e()}})(function(){"use strict";var rl=Object.create;var kr=Object.defineProperty;var tl=Object.getOwnPropertyDescriptor;var nl=Object.getOwnPropertyNames;var il=Object.getPrototypeOf,ul=Object.prototype.hasOwnProperty;var C=(e,r)=>()=>(r||e((r={exports:{}}).exports,r),r.exports),On=(e,r)=>{for(var n in r)kr(e,n,{get:r[n],enumerable:!0})},In=(e,r,n,t)=>{if(r&&typeof r=="object"||typeof r=="function")for(let a of nl(r))!ul.call(e,a)&&a!==n&&kr(e,a,{get:()=>r[a],enumerable:!(t=tl(r,a))||t.enumerable});return e};var Ie=(e,r,n)=>(n=e!=null?rl(il(e)):{},In(r||!e||!e.__esModule?kr(n,"default",{value:e,enumerable:!0}):n,e)),al=e=>In(kr({},"__esModule",{value:!0}),e);var wr=C((Sg,Nn)=>{"use strict";Nn.exports=cl;function cl(e){return String(e).replace(/\s+/g," ")}});var Pe=C((Lv,_i)=>{_i.exports=cf;var sf=Object.prototype.hasOwnProperty;function cf(){for(var e={},r=0;r{typeof Object.create=="function"?wt.exports=function(r,n){n&&(r.super_=n,r.prototype=Object.create(n.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}))}:wt.exports=function(r,n){if(n){r.super_=n;var t=function(){};t.prototype=n.prototype,r.prototype=new t,r.prototype.constructor=r}}});var Ii=C((Iv,Oi)=>{"use strict";var lf=Pe(),Li=Pi();Oi.exports=ff;function ff(e){var r,n,t;Li(i,e),Li(a,i),r=i.prototype;for(n in r)t=r[n],t&&typeof t=="object"&&(r[n]="concat"in t?t.concat():lf(t));return i;function a(u){return e.apply(this,u)}function i(){return this instanceof i?e.apply(this,arguments):new a(arguments)}}});var Ri=C((Nv,Ni)=>{"use strict";Ni.exports=Df;function Df(e,r,n){return t;function t(){var a=n||this,i=a[e];return a[e]=!r,u;function u(){a[e]=i}}}});var Mi=C((Rv,zi)=>{"use strict";zi.exports=pf;function pf(e){for(var r=String(e),n=[],t=/\r?\n|\r/g;t.exec(r);)n.push(t.lastIndex);return n.push(r.length+1),{toPoint:a,toPosition:a,toOffset:i};function a(u){var o=-1;if(u>-1&&uu)return{line:o+1,column:u-(n[o-1]||0)+1,offset:u}}return{}}function i(u){var o=u&&u.line,s=u&&u.column,l;return!isNaN(o)&&!isNaN(s)&&o-1 in n&&(l=(n[o-2]||0)+s-1||0),l>-1&&l{"use strict";Ui.exports=df;var At="\\";function df(e,r){return n;function n(t){for(var a=0,i=t.indexOf(At),u=e[r],o=[],s;i!==-1;)o.push(t.slice(a,i)),a=i+1,s=t.charAt(a),(!s||u.indexOf(s)===-1)&&o.push(At),i=t.indexOf(At,a+1);return o.push(t.slice(a)),o.join("")}}});var Vi=C((Mv,hf)=>{hf.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"}});var ji=C((Uv,mf)=>{mf.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"}});var Le=C((Yv,$i)=>{"use strict";$i.exports=gf;function gf(e){var r=typeof e=="string"?e.charCodeAt(0):e;return r>=48&&r<=57}});var Hi=C((Vv,Gi)=>{"use strict";Gi.exports=vf;function vf(e){var r=typeof e=="string"?e.charCodeAt(0):e;return r>=97&&r<=102||r>=65&&r<=70||r>=48&&r<=57}});var ze=C((jv,Wi)=>{"use strict";Wi.exports=Ff;function Ff(e){var r=typeof e=="string"?e.charCodeAt(0):e;return r>=97&&r<=122||r>=65&&r<=90}});var Ji=C(($v,Ki)=>{"use strict";var Ef=ze(),Cf=Le();Ki.exports=bf;function bf(e){return Ef(e)||Cf(e)}});var Xi=C((Gv,xf)=>{xf.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:` -`,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:" ",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"}});var eu=C((Hv,Zi)=>{"use strict";var Qi=Xi();Zi.exports=kf;var yf={}.hasOwnProperty;function kf(e){return yf.call(Qi,e)?Qi[e]:!1}});var lr=C((Wv,pu)=>{"use strict";var ru=Vi(),tu=ji(),wf=Le(),Af=Hi(),au=Ji(),Bf=eu();pu.exports=Uf;var qf={}.hasOwnProperty,Me=String.fromCharCode,Tf=Function.prototype,nu={warning:null,reference:null,text:null,warningContext:null,referenceContext:null,textContext:null,position:{},additional:null,attribute:!1,nonTerminated:!0},Sf=9,iu=10,_f=12,Pf=32,uu=38,Lf=59,Of=60,If=61,Nf=35,Rf=88,zf=120,Mf=65533,Ue="named",qt="hexadecimal",Tt="decimal",St={};St[qt]=16;St[Tt]=10;var zr={};zr[Ue]=au;zr[Tt]=wf;zr[qt]=Af;var ou=1,su=2,cu=3,lu=4,fu=5,Bt=6,Du=7,xe={};xe[ou]="Named character references must be terminated by a semicolon";xe[su]="Numeric character references must be terminated by a semicolon";xe[cu]="Named character references cannot be empty";xe[lu]="Numeric character references cannot be empty";xe[fu]="Named character references must be known";xe[Bt]="Numeric character references cannot be disallowed";xe[Du]="Numeric character references cannot be outside the permissible Unicode range";function Uf(e,r){var n={},t,a;r||(r={});for(a in nu)t=r[a],n[a]=t??nu[a];return(n.position.indent||n.position.start)&&(n.indent=n.position.indent||[],n.position=n.position.start),Yf(e,n)}function Yf(e,r){var n=r.additional,t=r.nonTerminated,a=r.text,i=r.reference,u=r.warning,o=r.textContext,s=r.referenceContext,l=r.warningContext,c=r.position,f=r.indent||[],D=e.length,h=0,p=-1,d=c.column||1,m=c.line||1,g="",x=[],F,B,b,v,y,k,E,w,A,q,T,N,P,_,S,L,we,j,I;for(typeof n=="string"&&(n=n.charCodeAt(0)),L=J(),w=u?K:Tf,h--,D++;++h65535&&(k-=65536,q+=Me(k>>>10|55296),k=56320|k&1023),k=q+Me(k))):_!==Ue&&w(lu,j)),k?(me(),L=J(),h=I-1,d+=I-P+1,x.push(k),we=J(),we.offset++,i&&i.call(s,k,{start:L,end:we},e.slice(P-1,I)),L=we):(v=e.slice(P-1,I),g+=v,d+=v.length,h=I-1)}else y===10&&(m++,p++,d=0),y===y?(g+=Me(y),d++):me();return x.join("");function J(){return{line:m,column:d,offset:h+(c.offset||0)}}function K(ge,M){var Dt=J();Dt.column+=M,Dt.offset+=M,u.call(l,xe[ge],Dt,ge)}function me(){g&&(x.push(g),a&&a.call(o,g,{start:L,end:J()}),g="")}}function Vf(e){return e>=55296&&e<=57343||e>1114111}function jf(e){return e>=1&&e<=8||e===11||e>=13&&e<=31||e>=127&&e<=159||e>=64976&&e<=65007||(e&65535)===65535||(e&65535)===65534}});var mu=C((Kv,hu)=>{"use strict";var $f=Pe(),du=lr();hu.exports=Gf;function Gf(e){return n.raw=t,n;function r(i){for(var u=e.offset,o=i.line,s=[];++o&&o in u;)s.push((u[o]||0)+1);return{start:i,indent:s}}function n(i,u,o){du(i,{position:r(u),warning:a,text:o,reference:o,textContext:e,referenceContext:e})}function t(i,u,o){return du(i,$f(o,{position:r(u),warning:a}))}function a(i,u,o){o!==3&&e.file.message(i,u)}}});var Fu=C((Jv,vu)=>{"use strict";vu.exports=Hf;function Hf(e){return r;function r(n,t){var a=this,i=a.offset,u=[],o=a[e+"Methods"],s=a[e+"Tokenizers"],l=t.line,c=t.column,f,D,h,p,d,m;if(!n)return u;for(k.now=F,k.file=a.file,g("");n;){for(f=-1,D=o.length,d=!1;++f{"use strict";Cu.exports=Mr;var _t=["\\","`","*","{","}","[","]","(",")","#","+","-",".","!","_",">"],Pt=_t.concat(["~","|"]),Eu=Pt.concat([` -`,'"',"$","%","&","'",",","/",":",";","<","=","?","@","^"]);Mr.default=_t;Mr.gfm=Pt;Mr.commonmark=Eu;function Mr(e){var r=e||{};return r.commonmark?Eu:r.gfm?Pt:_t}});var yu=C((Qv,xu)=>{"use strict";xu.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"]});var Lt=C((Zv,ku)=>{"use strict";ku.exports={position:!0,gfm:!0,commonmark:!1,pedantic:!1,blocks:yu()}});var Au=C((eF,wu)=>{"use strict";var Jf=Pe(),Xf=bu(),Qf=Lt();wu.exports=Zf;function Zf(e){var r=this,n=r.options,t,a;if(e==null)e={};else if(typeof e=="object")e=Jf(e);else throw new Error("Invalid value `"+e+"` for setting `options`");for(t in Qf){if(a=e[t],a==null&&(a=n[t]),t!=="blocks"&&typeof a!="boolean"||t==="blocks"&&typeof a!="object")throw new Error("Invalid value `"+a+"` for setting `options."+t+"`");e[t]=a}return r.options=e,r.escape=Xf(e),r}});var Tu=C((rF,qu)=>{"use strict";qu.exports=Bu;function Bu(e){if(e==null)return nD;if(typeof e=="string")return tD(e);if(typeof e=="object")return"length"in e?rD(e):eD(e);if(typeof e=="function")return e;throw new Error("Expected function, string, or object as test")}function eD(e){return r;function r(n){var t;for(t in e)if(n[t]!==e[t])return!1;return!0}}function rD(e){for(var r=[],n=-1;++n{Su.exports=iD;function iD(e){return e}});var Iu=C((nF,Ou)=>{"use strict";Ou.exports=Ur;var uD=Tu(),aD=_u(),Pu=!0,Lu="skip",Ot=!1;Ur.CONTINUE=Pu;Ur.SKIP=Lu;Ur.EXIT=Ot;function Ur(e,r,n,t){var a,i;typeof r=="function"&&typeof n!="function"&&(t=n,n=r,r=null),i=uD(r),a=t?-1:1,u(e,null,[])();function u(o,s,l){var c=typeof o=="object"&&o!==null?o:{},f;return typeof c.type=="string"&&(f=typeof c.tagName=="string"?c.tagName:typeof c.name=="string"?c.name:void 0,D.displayName="node ("+aD(c.type+(f?"<"+f+">":""))+")"),D;function D(){var h=l.concat(o),p=[],d,m;if((!r||i(o,s,l[l.length-1]||null))&&(p=oD(n(o,l)),p[0]===Ot))return p;if(o.children&&p[0]!==Lu)for(m=(t?o.children.length:-1)+a;m>-1&&m{"use strict";Nu.exports=Vr;var Yr=Iu(),sD=Yr.CONTINUE,cD=Yr.SKIP,lD=Yr.EXIT;Vr.CONTINUE=sD;Vr.SKIP=cD;Vr.EXIT=lD;function Vr(e,r,n,t){typeof r=="function"&&typeof n!="function"&&(t=n,n=r,r=null),Yr(e,r,a,t);function a(i,u){var o=u[u.length-1],s=o?o.children.indexOf(i):null;return n(i,s,o)}}});var Mu=C((uF,zu)=>{"use strict";var fD=Ru();zu.exports=DD;function DD(e,r){return fD(e,r?pD:dD),e}function pD(e){delete e.position}function dD(e){e.position=void 0}});var Vu=C((aF,Yu)=>{"use strict";var Uu=Pe(),hD=Mu();Yu.exports=vD;var mD=` -`,gD=/\r\n|\r/g;function vD(){var e=this,r=String(e.file),n={line:1,column:1,offset:0},t=Uu(n),a;return r=r.replace(gD,mD),r.charCodeAt(0)===65279&&(r=r.slice(1),t.column++,t.offset++),a={type:"root",children:e.tokenizeBlock(r,t),position:{start:n,end:e.eof||Uu(n)}},e.options.position||hD(a,!0),a}});var $u=C((oF,ju)=>{"use strict";var FD=/^[ \t]*(\n|$)/;ju.exports=ED;function ED(e,r,n){for(var t,a="",i=0,u=r.length;i{"use strict";var pe="",It;Gu.exports=CD;function CD(e,r){if(typeof e!="string")throw new TypeError("expected a string");if(r===1)return e;if(r===2)return e+e;var n=e.length*r;if(It!==e||typeof It>"u")It=e,pe="";else if(pe.length>=n)return pe.substr(0,n);for(;n>pe.length&&r>1;)r&1&&(pe+=e),r>>=1,e+=e;return pe+=e,pe=pe.substr(0,n),pe}});var Nt=C((cF,Hu)=>{"use strict";Hu.exports=bD;function bD(e){return String(e).replace(/\n+$/,"")}});var Ju=C((lF,Ku)=>{"use strict";var xD=jr(),yD=Nt();Ku.exports=AD;var Rt=` -`,Wu=" ",zt=" ",kD=4,wD=xD(zt,kD);function AD(e,r,n){for(var t=-1,a=r.length,i="",u="",o="",s="",l,c,f;++t{"use strict";Qu.exports=SD;var $r=` -`,fr=" ",Ye=" ",BD="~",Xu="`",qD=3,TD=4;function SD(e,r,n){var t=this,a=t.options.gfm,i=r.length+1,u=0,o="",s,l,c,f,D,h,p,d,m,g,x,F,B;if(a){for(;u=TD)){for(p="";u{Ve=ea.exports=_D;function _D(e){return e.trim?e.trim():Ve.right(Ve.left(e))}Ve.left=function(e){return e.trimLeft?e.trimLeft():e.replace(/^\s\s*/,"")};Ve.right=function(e){if(e.trimRight)return e.trimRight();for(var r=/\s/,n=e.length;r.test(e.charAt(--n)););return e.slice(0,n+1)}});var Gr=C((DF,ra)=>{"use strict";ra.exports=PD;function PD(e,r,n,t){for(var a=e.length,i=-1,u,o;++i{"use strict";var LD=Oe(),OD=Gr();ia.exports=ID;var Mt=` -`,ta=" ",Ut=" ",na=">";function ID(e,r,n){for(var t=this,a=t.offset,i=t.blockTokenizers,u=t.interruptBlockquote,o=e.now(),s=o.line,l=r.length,c=[],f=[],D=[],h,p=0,d,m,g,x,F,B,b,v;p{"use strict";oa.exports=RD;var aa=` -`,Dr=" ",pr=" ",dr="#",ND=6;function RD(e,r,n){for(var t=this,a=t.options.pedantic,i=r.length+1,u=-1,o=e.now(),s="",l="",c,f,D;++uND)&&!(!D||!a&&r.charAt(u+1)===dr)){for(i=r.length+1,f="";++u{"use strict";la.exports=$D;var zD=" ",MD=` -`,ca=" ",UD="*",YD="-",VD="_",jD=3;function $D(e,r,n){for(var t=-1,a=r.length+1,i="",u,o,s,l;++t=jD&&(!u||u===MD)?(i+=l,n?!0:e(i)({type:"thematicBreak"})):void 0}});var Yt=C((mF,pa)=>{"use strict";pa.exports=KD;var Da=" ",GD=" ",HD=1,WD=4;function KD(e){for(var r=0,n=0,t=e.charAt(r),a={},i,u=0;t===Da||t===GD;){for(i=t===Da?WD:HD,n+=i,i>1&&(n=Math.floor(n/i)*i);u{"use strict";var JD=Oe(),XD=jr(),QD=Yt();ha.exports=rp;var da=` -`,ZD=" ",ep="!";function rp(e,r){var n=e.split(da),t=n.length+1,a=1/0,i=[],u,o,s;for(n.unshift(XD(ZD,r)+ep);t--;)if(o=QD(n[t]),i[t]=o.stops,JD(n[t]).length!==0)if(o.indent)o.indent>0&&o.indent{"use strict";var tp=Oe(),np=jr(),ga=Le(),ip=Yt(),up=ma(),ap=Gr();Ca.exports=dp;var Vt="*",op="_",va="+",jt="-",Fa=".",de=" ",te=` -`,Hr=" ",Ea=")",sp="x",ye=4,cp=/\n\n(?!\s*$)/,lp=/^\[([ X\tx])][ \t]/,fp=/^([ \t]*)([*+-]|\d+[.)])( {1,4}(?! )| |\t|$|(?=\n))([^\n]*)/,Dp=/^([ \t]*)([*+-]|\d+[.)])([ \t]+)/,pp=/^( {1,4}|\t)?/gm;function dp(e,r,n){for(var t=this,a=t.options.commonmark,i=t.options.pedantic,u=t.blockTokenizers,o=t.interruptList,s=0,l=r.length,c=null,f,D,h,p,d,m,g,x,F,B,b,v,y,k,E,w,A,q,T,N=!1,P,_,S,L;s=A.indent&&(L=!0),p=r.charAt(s),F=null,!L){if(p===Vt||p===va||p===jt)F=p,s++,f++;else{for(D="";s=A.indent||f>ye),x=!1,s=g;if(b=r.slice(g,m),B=g===s?b:r.slice(s,m),(F===Vt||F===op||F===jt)&&u.thematicBreak.call(t,e,b,!0))break;if(v=y,y=!x&&!tp(B).length,L&&A)A.value=A.value.concat(w,b),E=E.concat(w,b),w=[];else if(x)w.length!==0&&(N=!0,A.value.push(""),A.trail=w.concat()),A={value:[b],indent:f,trail:[]},k.push(A),E=E.concat(w,b),w=[];else if(y){if(v&&!a)break;w.push(b)}else{if(v||ap(o,u,t,[e,b,!0]))break;A.value=A.value.concat(w,b),E=E.concat(w,b),w=[]}s=m+1}for(P=e(E.join(te)).reset({type:"list",ordered:h,start:c,spread:N,children:[]}),q=t.enterList(),T=t.enterBlock(),s=-1,l=k.length;++s{"use strict";ka.exports=xp;var $t=` -`,vp=" ",xa=" ",ya="=",Fp="-",Ep=3,Cp=1,bp=2;function xp(e,r,n){for(var t=this,a=e.now(),i=r.length,u=-1,o="",s,l,c,f,D;++u=Ep){u--;break}o+=c}for(s="",l="";++u{"use strict";var yp="[a-zA-Z_:][a-zA-Z0-9:._-]*",kp="[^\"'=<>`\\u0000-\\u0020]+",wp="'[^']*'",Ap='"[^"]*"',Bp="(?:"+kp+"|"+wp+"|"+Ap+")",qp="(?:\\s+"+yp+"(?:\\s*=\\s*"+Bp+")?)",Aa="<[A-Za-z][A-Za-z0-9\\-]*"+qp+"*\\s*\\/?>",Ba="<\\/[A-Za-z][A-Za-z0-9\\-]*\\s*>",Tp="|",Sp="<[?].*?[?]>",_p="]*>",Pp="";Gt.openCloseTag=new RegExp("^(?:"+Aa+"|"+Ba+")");Gt.tag=new RegExp("^(?:"+Aa+"|"+Ba+"|"+Tp+"|"+Sp+"|"+_p+"|"+Pp+")")});var _a=C((CF,Sa)=>{"use strict";var Lp=Ht().openCloseTag;Sa.exports=Kp;var Op=" ",Ip=" ",qa=` -`,Np="<",Rp=/^<(script|pre|style)(?=(\s|>|$))/i,zp=/<\/(script|pre|style)>/i,Mp=/^/,Yp=/^<\?/,Vp=/\?>/,jp=/^/,Gp=/^/,Ta=/^$/,Wp=new RegExp(Lp.source+"\\s*$");function Kp(e,r,n){for(var t=this,a=t.options.blocks.join("|"),i=new RegExp("^|$))","i"),u=r.length,o=0,s,l,c,f,D,h,p,d=[[Rp,zp,!0],[Mp,Up,!0],[Yp,Vp,!0],[jp,$p,!0],[Gp,Hp,!0],[i,Ta,!0],[Wp,Ta,!1]];o{"use strict";Pa.exports=Qp;var Jp=String.fromCharCode,Xp=/\s/;function Qp(e){return Xp.test(typeof e=="number"?Jp(e):e.charAt(0))}});var Wt=C((xF,La)=>{"use strict";var Zp=wr();La.exports=ed;function ed(e){return Zp(e).toLowerCase()}});var Ua=C((yF,Ma)=>{"use strict";var rd=ne(),td=Wt();Ma.exports=ad;var Oa='"',Ia="'",nd="\\",je=` -`,Wr=" ",Kr=" ",Jt="[",hr="]",id="(",ud=")",Na=":",Ra="<",za=">";function ad(e,r,n){for(var t=this,a=t.options.commonmark,i=0,u=r.length,o="",s,l,c,f,D,h,p,d;i{"use strict";var sd=ne();Va.exports=vd;var cd=" ",Jr=` -`,ld=" ",fd="-",Dd=":",pd="\\",Xt="|",dd=1,hd=2,Ya="left",md="center",gd="right";function vd(e,r,n){var t=this,a,i,u,o,s,l,c,f,D,h,p,d,m,g,x,F,B,b,v,y,k,E;if(t.options.gfm){for(a=0,F=0,l=r.length+1,c=[];ay){if(F1&&(D?(o+=f.slice(0,-1),f=f.charAt(f.length-1)):(o+=f,f="")),g=e.now(),e(o)({type:"tableCell",children:t.tokenizeInline(d,g)},s)),e(f+D),f="",d=""):(f&&(d+=f,f=""),d+=D,D===pd&&a!==l-2&&(d+=B.charAt(a+1),a++)),m=!1,a++}x||e(Jr+i)}return v}}}});var Ha=C((wF,Ga)=>{"use strict";var Fd=Oe(),Ed=Nt(),Cd=Gr();Ga.exports=yd;var bd=" ",mr=` -`,xd=" ",$a=4;function yd(e,r,n){for(var t=this,a=t.options,i=a.commonmark,u=t.blockTokenizers,o=t.interruptParagraph,s=r.indexOf(mr),l=r.length,c,f,D,h,p;s=$a&&D!==mr){s=r.indexOf(mr,s+1);continue}}if(f=r.slice(s+1),Cd(o,u,t,[e,f,!0]))break;if(c=s,s=r.indexOf(mr,s+1),s!==-1&&Fd(r.slice(c,s))===""){s=c;break}}return f=r.slice(0,s),n?!0:(p=e.now(),f=Ed(f),e(f)({type:"paragraph",children:t.tokenizeInline(f,p)}))}});var Ka=C((AF,Wa)=>{"use strict";Wa.exports=kd;function kd(e,r){return e.indexOf("\\",r)}});var Za=C((BF,Qa)=>{"use strict";var wd=Ka();Qa.exports=Xa;Xa.locator=wd;var Ad=` -`,Ja="\\";function Xa(e,r,n){var t=this,a,i;if(r.charAt(0)===Ja&&(a=r.charAt(1),t.escape.indexOf(a)!==-1))return n?!0:(a===Ad?i={type:"break"}:i={type:"text",value:a},e(Ja+a)(i))}});var Qt=C((qF,eo)=>{"use strict";eo.exports=Bd;function Bd(e,r){return e.indexOf("<",r)}});var uo=C((TF,io)=>{"use strict";var ro=ne(),qd=lr(),Td=Qt();io.exports=tn;tn.locator=Td;tn.notInLink=!0;var to="<",Zt=">",no="@",en="/",rn="mailto:",Xr=rn.length;function tn(e,r,n){var t=this,a="",i=r.length,u=0,o="",s=!1,l="",c,f,D,h,p;if(r.charAt(0)===to){for(u++,a=to;u{"use strict";ao.exports=Sd;function Sd(e,r){var n=String(e),t=0,a;if(typeof r!="string")throw new Error("Expected character");for(a=n.indexOf(r);a!==-1;)t++,a=n.indexOf(r,a+r.length);return t}});var lo=C((_F,co)=>{"use strict";co.exports=_d;var so=["www.","http://","https://"];function _d(e,r){var n=-1,t,a,i;if(!this.options.gfm)return n;for(a=so.length,t=-1;++t{"use strict";var fo=oo(),Pd=lr(),Ld=Le(),nn=ze(),Od=ne(),Id=lo();ho.exports=an;an.locator=Id;an.notInLink=!0;var Nd=33,Rd=38,zd=41,Md=42,Ud=44,Yd=45,un=46,Vd=58,jd=59,$d=63,Gd=60,Do=95,Hd=126,Wd="(",po=")";function an(e,r,n){var t=this,a=t.options.gfm,i=t.inlineTokenizers,u=r.length,o=-1,s=!1,l,c,f,D,h,p,d,m,g,x,F,B,b,v;if(a){if(r.slice(0,4)==="www.")s=!0,D=4;else if(r.slice(0,7).toLowerCase()==="http://")D=7;else if(r.slice(0,8).toLowerCase()==="https://")D=8;else return;for(o=D-1,f=D,l=[];Dg;)D=h+p.lastIndexOf(po),p=r.slice(h,D),x--;if(r.charCodeAt(D-1)===jd&&(D--,nn(r.charCodeAt(D-1)))){for(m=D-2;nn(r.charCodeAt(m));)m--;r.charCodeAt(m)===Rd&&(D=m)}return F=r.slice(0,D),b=Pd(F,{nonTerminated:!1}),s&&(b="http://"+b),v=t.enterLink(),t.inlineTokenizers={text:i.text},B=t.tokenizeInline(F,e.now()),t.inlineTokenizers=i,v(),e(F)({type:"link",title:null,url:b,children:B})}}}});var Eo=C((LF,Fo)=>{"use strict";var Kd=Le(),Jd=ze(),Xd=43,Qd=45,Zd=46,eh=95;Fo.exports=vo;function vo(e,r){var n=this,t,a;if(!this.options.gfm||(t=e.indexOf("@",r),t===-1))return-1;if(a=t,a===r||!go(e.charCodeAt(a-1)))return vo.call(n,e,t+1);for(;a>r&&go(e.charCodeAt(a-1));)a--;return a}function go(e){return Kd(e)||Jd(e)||e===Xd||e===Qd||e===Zd||e===eh}});var yo=C((OF,xo)=>{"use strict";var rh=lr(),Co=Le(),bo=ze(),th=Eo();xo.exports=cn;cn.locator=th;cn.notInLink=!0;var nh=43,on=45,Qr=46,ih=64,sn=95;function cn(e,r,n){var t=this,a=t.options.gfm,i=t.inlineTokenizers,u=0,o=r.length,s=-1,l,c,f,D;if(a){for(l=r.charCodeAt(u);Co(l)||bo(l)||l===nh||l===on||l===Qr||l===sn;)l=r.charCodeAt(++u);if(u!==0&&l===ih){for(u++;u{"use strict";var uh=ze(),ah=Qt(),oh=Ht().tag;wo.exports=ko;ko.locator=ah;var sh="<",ch="?",lh="!",fh="/",Dh=/^/i;function ko(e,r,n){var t=this,a=r.length,i,u;if(!(r.charAt(0)!==sh||a<3)&&(i=r.charAt(1),!(!uh(i)&&i!==ch&&i!==lh&&i!==fh)&&(u=r.match(oh),!!u)))return n?!0:(u=u[0],!t.inLink&&Dh.test(u)?t.inLink=!0:t.inLink&&ph.test(u)&&(t.inLink=!1),e(u)({type:"html",value:u}))}});var ln=C((NF,Bo)=>{"use strict";Bo.exports=dh;function dh(e,r){var n=e.indexOf("[",r),t=e.indexOf("![",r);return t===-1||n{"use strict";var gr=ne(),hh=ln();Lo.exports=Po;Po.locator=hh;var mh=` -`,gh="!",qo='"',To="'",$e="(",vr=")",fn="<",Dn=">",So="[",Fr="\\",vh="]",_o="`";function Po(e,r,n){var t=this,a="",i=0,u=r.charAt(0),o=t.options.pedantic,s=t.options.commonmark,l=t.options.gfm,c,f,D,h,p,d,m,g,x,F,B,b,v,y,k,E,w,A;if(u===gh&&(g=!0,a=u,u=r.charAt(++i)),u===So&&!(!g&&t.inLink)){for(a+=u,y="",i++,B=r.length,E=e.now(),v=0,E.column+=i,E.offset+=i;i=D&&(D=0):D=f}else if(u===Fr)i++,d+=r.charAt(i);else if((!D||l)&&u===So)v++;else if((!D||l)&&u===vh)if(v)v--;else{if(r.charAt(i+1)!==$e)return;d+=$e,c=!0,i++;break}y+=d,d="",i++}if(c){for(x=y,a+=y+d,i++;i{"use strict";var Fh=ne(),Eh=ln(),Ch=Wt();No.exports=Io;Io.locator=Eh;var pn="link",bh="image",xh="shortcut",yh="collapsed",dn="full",kh="!",Zr="[",et="\\",rt="]";function Io(e,r,n){var t=this,a=t.options.commonmark,i=r.charAt(0),u=0,o=r.length,s="",l="",c=pn,f=xh,D,h,p,d,m,g,x,F;if(i===kh&&(c=bh,l=i,i=r.charAt(++u)),i===Zr){for(u++,l+=i,g="",F=0;u{"use strict";zo.exports=wh;function wh(e,r){var n=e.indexOf("**",r),t=e.indexOf("__",r);return t===-1?n:n===-1||t{"use strict";var Ah=Oe(),Uo=ne(),Bh=Mo();Vo.exports=Yo;Yo.locator=Bh;var qh="\\",Th="*",Sh="_";function Yo(e,r,n){var t=this,a=0,i=r.charAt(a),u,o,s,l,c,f,D;if(!(i!==Th&&i!==Sh||r.charAt(++a)!==i)&&(o=t.options.pedantic,s=i,c=s+s,f=r.length,a++,l="",i="",!(o&&Uo(r.charAt(a)))))for(;a{"use strict";$o.exports=Lh;var _h=String.fromCharCode,Ph=/\w/;function Lh(e){return Ph.test(typeof e=="number"?_h(e):e.charAt(0))}});var Wo=C((VF,Ho)=>{"use strict";Ho.exports=Oh;function Oh(e,r){var n=e.indexOf("*",r),t=e.indexOf("_",r);return t===-1?n:n===-1||t{"use strict";var Ih=Oe(),Nh=Go(),Ko=ne(),Rh=Wo();Qo.exports=Xo;Xo.locator=Rh;var zh="*",Jo="_",Mh="\\";function Xo(e,r,n){var t=this,a=0,i=r.charAt(a),u,o,s,l,c,f,D;if(!(i!==zh&&i!==Jo)&&(o=t.options.pedantic,c=i,s=i,f=r.length,a++,l="",i="",!(o&&Ko(r.charAt(a)))))for(;a{"use strict";es.exports=Uh;function Uh(e,r){return e.indexOf("~~",r)}});var as=C((GF,us)=>{"use strict";var ts=ne(),Yh=rs();us.exports=is;is.locator=Yh;var tt="~",ns="~~";function is(e,r,n){var t=this,a="",i="",u="",o="",s,l,c;if(!(!t.options.gfm||r.charAt(0)!==tt||r.charAt(1)!==tt||ts(r.charAt(2))))for(s=1,l=r.length,c=e.now(),c.column+=2,c.offset+=2;++s{"use strict";os.exports=Vh;function Vh(e,r){return e.indexOf("`",r)}});var fs=C((WF,ls)=>{"use strict";var jh=ss();ls.exports=cs;cs.locator=jh;var hn=10,mn=32,gn=96;function cs(e,r,n){for(var t=r.length,a=0,i,u,o,s,l,c;a2&&(s===mn||s===hn)&&(l===mn||l===hn)){for(a++,t--;a{"use strict";Ds.exports=$h;function $h(e,r){for(var n=e.indexOf(` -`,r);n>r&&e.charAt(n-1)===" ";)n--;return n}});var ms=C((JF,hs)=>{"use strict";var Gh=ps();hs.exports=ds;ds.locator=Gh;var Hh=" ",Wh=` -`,Kh=2;function ds(e,r,n){for(var t=r.length,a=-1,i="",u;++a{"use strict";gs.exports=Jh;function Jh(e,r,n){var t=this,a,i,u,o,s,l,c,f,D,h;if(n)return!0;for(a=t.inlineMethods,o=a.length,i=t.inlineTokenizers,u=-1,D=r.length;++u{"use strict";var Xh=Pe(),nt=Ri(),Qh=Mi(),Zh=Yi(),em=mu(),vn=Fu();Cs.exports=Fs;function Fs(e,r){this.file=r,this.offset={},this.options=Xh(this.options),this.setOptions({}),this.inList=!1,this.inBlock=!1,this.inLink=!1,this.atStart=!0,this.toOffset=Qh(r).toOffset,this.unescape=Zh(this,"escape"),this.decode=em(this)}var z=Fs.prototype;z.setOptions=Au();z.parse=Vu();z.options=Lt();z.exitStart=nt("atStart",!0);z.enterList=nt("inList",!1);z.enterLink=nt("inLink",!1);z.enterBlock=nt("inBlock",!1);z.interruptParagraph=[["thematicBreak"],["list"],["atxHeading"],["fencedCode"],["blockquote"],["html"],["setextHeading",{commonmark:!1}],["definition",{commonmark:!1}]];z.interruptList=[["atxHeading",{pedantic:!1}],["fencedCode",{pedantic:!1}],["thematicBreak",{pedantic:!1}],["definition",{commonmark:!1}]];z.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}]];z.blockTokenizers={blankLine:$u(),indentedCode:Ju(),fencedCode:Zu(),blockquote:ua(),atxHeading:sa(),thematicBreak:fa(),list:ba(),setextHeading:wa(),html:_a(),definition:Ua(),table:ja(),paragraph:Ha()};z.inlineTokenizers={escape:Za(),autoLink:uo(),url:mo(),email:yo(),html:Ao(),link:Oo(),reference:Ro(),strong:jo(),emphasis:Zo(),deletion:as(),code:fs(),break:ms(),text:vs()};z.blockMethods=Es(z.blockTokenizers);z.inlineMethods=Es(z.inlineTokenizers);z.tokenizeBlock=vn("block");z.tokenizeInline=vn("inline");z.tokenizeFactory=vn;function Es(e){var r=[],n;for(n in e)r.push(n);return r}});var ws=C((ZF,ks)=>{"use strict";var rm=Ii(),tm=Pe(),xs=bs();ks.exports=ys;ys.Parser=xs;function ys(e){var r=this.data("settings"),n=rm(xs);n.prototype.options=tm(n.prototype.options,r,e),this.Parser=n}});var Bs=C((eE,As)=>{"use strict";As.exports=nm;function nm(e){if(e)throw e}});var Fn=C((rE,qs)=>{qs.exports=function(r){return r!=null&&r.constructor!=null&&typeof r.constructor.isBuffer=="function"&&r.constructor.isBuffer(r)}});var Rs=C((tE,Ns)=>{"use strict";var it=Object.prototype.hasOwnProperty,Is=Object.prototype.toString,Ts=Object.defineProperty,Ss=Object.getOwnPropertyDescriptor,_s=function(r){return typeof Array.isArray=="function"?Array.isArray(r):Is.call(r)==="[object Array]"},Ps=function(r){if(!r||Is.call(r)!=="[object Object]")return!1;var n=it.call(r,"constructor"),t=r.constructor&&r.constructor.prototype&&it.call(r.constructor.prototype,"isPrototypeOf");if(r.constructor&&!n&&!t)return!1;var a;for(a in r);return typeof a>"u"||it.call(r,a)},Ls=function(r,n){Ts&&n.name==="__proto__"?Ts(r,n.name,{enumerable:!0,configurable:!0,value:n.newValue,writable:!0}):r[n.name]=n.newValue},Os=function(r,n){if(n==="__proto__")if(it.call(r,n)){if(Ss)return Ss(r,n).value}else return;return r[n]};Ns.exports=function e(){var r,n,t,a,i,u,o=arguments[0],s=1,l=arguments.length,c=!1;for(typeof o=="boolean"&&(c=o,o=arguments[1]||{},s=2),(o==null||typeof o!="object"&&typeof o!="function")&&(o={});s{"use strict";zs.exports=e=>{if(Object.prototype.toString.call(e)!=="[object Object]")return!1;let r=Object.getPrototypeOf(e);return r===null||r===Object.prototype}});var Ys=C((iE,Us)=>{"use strict";var im=[].slice;Us.exports=um;function um(e,r){var n;return t;function t(){var u=im.call(arguments,0),o=e.length>u.length,s;o&&u.push(a);try{s=e.apply(null,u)}catch(l){if(o&&n)throw l;return a(l)}o||(s&&typeof s.then=="function"?s.then(i,a):s instanceof Error?a(s):i(s))}function a(){n||(n=!0,r.apply(null,arguments))}function i(u){a(null,u)}}});var Hs=C((uE,Gs)=>{"use strict";var js=Ys();Gs.exports=$s;$s.wrap=js;var Vs=[].slice;function $s(){var e=[],r={};return r.run=n,r.use=t,r;function n(){var a=-1,i=Vs.call(arguments,0,-1),u=arguments[arguments.length-1];if(typeof u!="function")throw new Error("Expected function as last argument, not "+u);o.apply(null,[null].concat(i));function o(s){var l=e[++a],c=Vs.call(arguments,0),f=c.slice(1),D=i.length,h=-1;if(s){u(s);return}for(;++h{"use strict";var Ge={}.hasOwnProperty;Js.exports=am;function am(e){return!e||typeof e!="object"?"":Ge.call(e,"position")||Ge.call(e,"type")?Ws(e.position):Ge.call(e,"start")||Ge.call(e,"end")?Ws(e):Ge.call(e,"line")||Ge.call(e,"column")?En(e):""}function En(e){return(!e||typeof e!="object")&&(e={}),Ks(e.line)+":"+Ks(e.column)}function Ws(e){return(!e||typeof e!="object")&&(e={}),En(e.start)+"-"+En(e.end)}function Ks(e){return e&&typeof e=="number"?e:1}});var ec=C((oE,Zs)=>{"use strict";var om=Xs();Zs.exports=Cn;function Qs(){}Qs.prototype=Error.prototype;Cn.prototype=new Qs;var ke=Cn.prototype;ke.file="";ke.name="";ke.reason="";ke.message="";ke.stack="";ke.fatal=null;ke.column=null;ke.line=null;function Cn(e,r,n){var t,a,i;typeof r=="string"&&(n=r,r=null),t=sm(n),a=om(r)||"1:1",i={start:{line:null,column:null},end:{line:null,column:null}},r&&r.position&&(r=r.position),r&&(r.start?(i=r,r=r.start):i.start=r),e.stack&&(this.stack=e.stack,e=e.message),this.message=e,this.name=a,this.reason=e,this.line=r?r.line:null,this.column=r?r.column:null,this.location=i,this.source=t[0],this.ruleId=t[1]}function sm(e){var r=[null,null],n;return typeof e=="string"&&(n=e.indexOf(":"),n===-1?r[1]=e:(r[0]=e.slice(0,n),r[1]=e.slice(n+1))),r}});var rc=C(He=>{"use strict";He.basename=cm;He.dirname=lm;He.extname=fm;He.join=Dm;He.sep="/";function cm(e,r){var n=0,t=-1,a,i,u,o;if(r!==void 0&&typeof r!="string")throw new TypeError('"ext" argument must be a string');if(Er(e),a=e.length,r===void 0||!r.length||r.length>e.length){for(;a--;)if(e.charCodeAt(a)===47){if(u){n=a+1;break}}else t<0&&(u=!0,t=a+1);return t<0?"":e.slice(n,t)}if(r===e)return"";for(i=-1,o=r.length-1;a--;)if(e.charCodeAt(a)===47){if(u){n=a+1;break}}else i<0&&(u=!0,i=a+1),o>-1&&(e.charCodeAt(a)===r.charCodeAt(o--)?o<0&&(t=a):(o=-1,t=i));return n===t?t=i:t<0&&(t=e.length),e.slice(n,t)}function lm(e){var r,n,t;if(Er(e),!e.length)return".";for(r=-1,t=e.length;--t;)if(e.charCodeAt(t)===47){if(n){r=t;break}}else n||(n=!0);return r<0?e.charCodeAt(0)===47?"/":".":r===1&&e.charCodeAt(0)===47?"//":e.slice(0,r)}function fm(e){var r=-1,n=0,t=-1,a=0,i,u,o;for(Er(e),o=e.length;o--;){if(u=e.charCodeAt(o),u===47){if(i){n=o+1;break}continue}t<0&&(i=!0,t=o+1),u===46?r<0?r=o:a!==1&&(a=1):r>-1&&(a=-1)}return r<0||t<0||a===0||a===1&&r===t-1&&r===n+1?"":e.slice(r,t)}function Dm(){for(var e=-1,r;++e2){if(s=n.lastIndexOf("/"),s!==n.length-1){s<0?(n="",t=0):(n=n.slice(0,s),t=n.length-1-n.lastIndexOf("/")),a=u,i=0;continue}}else if(n.length){n="",t=0,a=u,i=0;continue}}r&&(n=n.length?n+"/..":"..",t=2)}else n.length?n+="/"+e.slice(a+1,u):n=e.slice(a+1,u),t=u-a-1;a=u,i=0}else o===46&&i>-1?i++:i=-1}return n}function Er(e){if(typeof e!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(e))}});var nc=C(tc=>{"use strict";tc.cwd=hm;function hm(){return"/"}});var ac=C((lE,uc)=>{"use strict";var ie=rc(),mm=nc(),gm=Fn();uc.exports=he;var vm={}.hasOwnProperty,bn=["history","path","basename","stem","extname","dirname"];he.prototype.toString=qm;Object.defineProperty(he.prototype,"path",{get:Fm,set:Em});Object.defineProperty(he.prototype,"dirname",{get:Cm,set:bm});Object.defineProperty(he.prototype,"basename",{get:xm,set:ym});Object.defineProperty(he.prototype,"extname",{get:km,set:wm});Object.defineProperty(he.prototype,"stem",{get:Am,set:Bm});function he(e){var r,n;if(!e)e={};else if(typeof e=="string"||gm(e))e={contents:e};else if("message"in e&&"messages"in e)return e;if(!(this instanceof he))return new he(e);for(this.data={},this.messages=[],this.history=[],this.cwd=mm.cwd(),n=-1;++n-1)throw new Error("`extname` cannot contain multiple dots")}this.path=ie.join(this.dirname,this.stem+(e||""))}function Am(){return typeof this.path=="string"?ie.basename(this.path,this.extname):void 0}function Bm(e){yn(e,"stem"),xn(e,"stem"),this.path=ie.join(this.dirname||"",e+(this.extname||""))}function qm(e){return(this.contents||"").toString(e)}function xn(e,r){if(e&&e.indexOf(ie.sep)>-1)throw new Error("`"+r+"` cannot be a path: did not expect `"+ie.sep+"`")}function yn(e,r){if(!e)throw new Error("`"+r+"` cannot be empty")}function ic(e,r){if(!e)throw new Error("Setting `"+r+"` requires `path` to be set too")}});var sc=C((fE,oc)=>{"use strict";var Tm=ec(),ut=ac();oc.exports=ut;ut.prototype.message=Sm;ut.prototype.info=Pm;ut.prototype.fail=_m;function Sm(e,r,n){var t=new Tm(e,r,n);return this.path&&(t.name=this.path+":"+t.name,t.file=this.path),t.fatal=!1,this.messages.push(t),t}function _m(){var e=this.message.apply(this,arguments);throw e.fatal=!0,e}function Pm(){var e=this.message.apply(this,arguments);return e.fatal=null,e}});var lc=C((DE,cc)=>{"use strict";cc.exports=sc()});var Fc=C((pE,vc)=>{"use strict";var fc=Bs(),Lm=Fn(),at=Rs(),Dc=Ms(),mc=Hs(),Cr=lc();vc.exports=gc().freeze();var Om=[].slice,Im={}.hasOwnProperty,Nm=mc().use(Rm).use(zm).use(Mm);function Rm(e,r){r.tree=e.parse(r.file)}function zm(e,r,n){e.run(r.tree,r.file,t);function t(a,i,u){a?n(a):(r.tree=i,r.file=u,n())}}function Mm(e,r){var n=e.stringify(r.tree,r.file);n==null||(typeof n=="string"||Lm(n)?("value"in r.file&&(r.file.value=n),r.file.contents=n):r.file.result=n)}function gc(){var e=[],r=mc(),n={},t=-1,a;return i.data=o,i.freeze=u,i.attachers=e,i.use=s,i.parse=c,i.stringify=h,i.run=f,i.runSync=D,i.process=p,i.processSync=d,i;function i(){for(var m=gc(),g=-1;++g{Bn.isRemarkParser=Ym;Bn.isRemarkCompiler=Vm;function Ym(e){return!!(e&&e.prototype&&e.prototype.blockTokenizers)}function Vm(e){return!!(e&&e.prototype&&e.prototype.visitors)}});var wc=C((hE,kc)=>{var Ec=qn();kc.exports=Hm;var Cc=9,bc=32,ot=36,jm=48,$m=57,xc=92,Gm=["math","math-inline"],yc="math-display";function Hm(e){let r=this.Parser,n=this.Compiler;Ec.isRemarkParser(r)&&Wm(r,e),Ec.isRemarkCompiler(n)&&Km(n,e)}function Wm(e,r){let n=e.prototype,t=n.inlineMethods;i.locator=a,n.inlineTokenizers.math=i,t.splice(t.indexOf("text"),0,"math");function a(u,o){return u.indexOf("$",o)}function i(u,o,s){let l=o.length,c=!1,f=!1,D=0,h,p,d,m,g,x,F;if(o.charCodeAt(D)===xc&&(f=!0,D++),o.charCodeAt(D)===ot){if(D++,f)return s?!0:u(o.slice(0,D))({type:"text",value:"$"});if(o.charCodeAt(D)===ot&&(c=!0,D++),d=o.charCodeAt(D),!(d===bc||d===Cc)){for(m=D;D$m)&&(!c||d===ot)){g=D-1,D++,c&&D++,x=D;break}}else p===xc&&(D++,d=o.charCodeAt(D+1));D++}if(x!==void 0)return s?!0:(F=o.slice(m,g+1),u(o.slice(0,x))({type:"inlineMath",value:F,data:{hName:"span",hProperties:{className:Gm.concat(c&&r.inlineMathDouble?[yc]:[])},hChildren:[{type:"text",value:F}]}}))}}}}function Km(e){let r=e.prototype;r.visitors.inlineMath=n;function n(t){let a="$";return(t.data&&t.data.hProperties&&t.data.hProperties.className||[]).includes(yc)&&(a="$$"),a+t.value+a}}});var Sc=C((mE,Tc)=>{var Ac=qn();Tc.exports=Zm;var Bc=10,br=32,Tn=36,qc=` -`,Jm="$",Xm=2,Qm=["math","math-display"];function Zm(){let e=this.Parser,r=this.Compiler;Ac.isRemarkParser(e)&&eg(e),Ac.isRemarkCompiler(r)&&rg(r)}function eg(e){let r=e.prototype,n=r.blockMethods,t=r.interruptParagraph,a=r.interruptList,i=r.interruptBlockquote;r.blockTokenizers.math=u,n.splice(n.indexOf("fencedCode")+1,0,"math"),t.splice(t.indexOf("fencedCode")+1,0,["math"]),a.splice(a.indexOf("fencedCode")+1,0,["math"]),i.splice(i.indexOf("fencedCode")+1,0,["math"]);function u(o,s,l){var c=s.length,f=0;let D,h,p,d,m,g,x,F,B,b,v;for(;fb&&s.charCodeAt(d-1)===br;)d--;for(;d>b&&s.charCodeAt(d-1)===Tn;)B++,d--;for(g<=B&&s.indexOf(Jm,b)===d&&(F=!0,v=d);b<=v&&b-fb&&s.charCodeAt(v-1)===br;)v--;if((!F||b!==v)&&h.push(s.slice(b,v)),F)break;f=p+1,p=s.indexOf(qc,f+1),p=p===-1?c:p}return h=h.join(` -`),o(s.slice(0,p))({type:"math",value:h,data:{hName:"div",hProperties:{className:Qm.concat()},hChildren:[{type:"text",value:h}]}})}}}}function rg(e){let r=e.prototype;r.visitors.math=n;function n(t){return`$$ -`+t.value+` -$$`}}});var Pc=C((gE,_c)=>{var tg=wc(),ng=Sc();_c.exports=ig;function ig(e){var r=e||{};ng.call(this,r),tg.call(this,r)}});var Oc=C((vE,Lc)=>{"use strict";Lc.exports=cg;var xr=9,st=10,We=32,ug=33,ag=58,Ke=91,og=92,Sn=93,yr=94,ct=96,lt=4,sg=1024;function cg(e){var r=this.Parser,n=this.Compiler;lg(r)&&Dg(r,e),fg(n)&&pg(n)}function lg(e){return!!(e&&e.prototype&&e.prototype.blockTokenizers)}function fg(e){return!!(e&&e.prototype&&e.prototype.visitors)}function Dg(e,r){for(var n=r||{},t=e.prototype,a=t.blockTokenizers,i=t.inlineTokenizers,u=t.blockMethods,o=t.inlineMethods,s=a.definition,l=i.reference,c=[],f=-1,D=u.length,h;++flt&&(K=void 0,me=q);else{if(K0&&(M=ge[A-1],M.contentStart===M.contentEnd);)A--;for(we=b(v.slice(0,M.contentEnd));++q()=>(r||e((r={exports:{}}).exports,r),r.exports),Pn=(e,r)=>{for(var t in r)xr(e,t,{get:r[t],enumerable:!0})},Ln=(e,r,t,n)=>{if(r&&typeof r=="object"||typeof r=="function")for(let a of tl(r))!il.call(e,a)&&a!==t&&xr(e,a,{get:()=>r[a],enumerable:!(n=rl(r,a))||n.enumerable});return e};var Ue=(e,r,t)=>(t=e!=null?el(nl(e)):{},Ln(r||!e||!e.__esModule?xr(t,"default",{value:e,enumerable:!0}):t,e)),ul=e=>Ln(xr({},"__esModule",{value:!0}),e);var wr=C((Pm,In)=>{"use strict";In.exports=sl;function sl(e){return String(e).replace(/\s+/g," ")}});var Pi=C((ov,Oi)=>{"use strict";Oi.exports=mf;var lr=9,Ur=10,Ye=32,Df=33,pf=58,Ge=91,df=92,xt=93,fr=94,zr=96,Mr=4,hf=1024;function mf(e){var r=this.Parser,t=this.Compiler;Ff(r)&&vf(r,e),gf(t)&&Ef(t)}function Ff(e){return!!(e&&e.prototype&&e.prototype.blockTokenizers)}function gf(e){return!!(e&&e.prototype&&e.prototype.visitors)}function vf(e,r){for(var t=r||{},n=e.prototype,a=n.blockTokenizers,u=n.inlineTokenizers,i=n.blockMethods,o=n.inlineMethods,s=a.definition,l=u.reference,c=[],f=-1,D=i.length,h;++fMr&&(Q=void 0,me=q);else{if(Q0&&(z=Fe[k-1],z.contentStart===z.contentEnd);)k--;for(ke=b(g.slice(0,z.contentEnd));++qZc,options:()=>el,parsers:()=>ft,printers:()=>wg});var ol=(e,r,n,t)=>{if(!(e&&r==null))return r.replaceAll?r.replaceAll(n,t):n.global?r.replace(n,t):r.split(n).join(t)},R=ol;var sl=(e,r,n)=>{if(!(e&&r==null))return Array.isArray(r)||typeof r=="string"?r[n<0?r.length+n:n]:r.at(n)},U=sl;var Ti=Ie(wr(),1);function Je(e){if(typeof e!="string")throw new TypeError("Expected a string");return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}function ll(e,r){let n=e.match(new RegExp(`(${Je(r)})+`,"g"));if(n===null)return 0;let t=new Map,a=0;for(let i of n){let u=i.length/r.length;t.set(u,!0),u>a&&(a=u)}for(let i=1;iMath.max(t,a.length/r.length),0)}var Ar=fl;var zn=()=>/[#*0-9]\uFE0F?\u20E3|[\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u231A\u231B\u2328\u23CF\u23ED-\u23EF\u23F1\u23F2\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB\u25FC\u25FE\u2600-\u2604\u260E\u2611\u2614\u2615\u2618\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638-\u263A\u2640\u2642\u2648-\u2653\u265F\u2660\u2663\u2665\u2666\u2668\u267B\u267E\u267F\u2692\u2694-\u2697\u2699\u269B\u269C\u26A0\u26A7\u26AA\u26B0\u26B1\u26BD\u26BE\u26C4\u26C8\u26CF\u26D1\u26D3\u26E9\u26F0-\u26F5\u26F7\u26F8\u26FA\u2702\u2708\u2709\u270F\u2712\u2714\u2716\u271D\u2721\u2733\u2734\u2744\u2747\u2757\u2763\u27A1\u2934\u2935\u2B05-\u2B07\u2B1B\u2B1C\u2B55\u3030\u303D\u3297\u3299]\uFE0F?|[\u261D\u270C\u270D](?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?|[\u270A\u270B](?:\uD83C[\uDFFB-\uDFFF])?|[\u23E9-\u23EC\u23F0\u23F3\u25FD\u2693\u26A1\u26AB\u26C5\u26CE\u26D4\u26EA\u26FD\u2705\u2728\u274C\u274E\u2753-\u2755\u2795-\u2797\u27B0\u27BF\u2B50]|\u26F9(?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|\u2764\uFE0F?(?:\u200D(?:\uD83D\uDD25|\uD83E\uDE79))?|\uD83C(?:[\uDC04\uDD70\uDD71\uDD7E\uDD7F\uDE02\uDE37\uDF21\uDF24-\uDF2C\uDF36\uDF7D\uDF96\uDF97\uDF99-\uDF9B\uDF9E\uDF9F\uDFCD\uDFCE\uDFD4-\uDFDF\uDFF5\uDFF7]\uFE0F?|[\uDF85\uDFC2\uDFC7](?:\uD83C[\uDFFB-\uDFFF])?|[\uDFC3\uDFC4\uDFCA](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDFCB\uDFCC](?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\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]|\uDDE6\uD83C[\uDDE8-\uDDEC\uDDEE\uDDF1\uDDF2\uDDF4\uDDF6-\uDDFA\uDDFC\uDDFD\uDDFF]|\uDDE7\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEF\uDDF1-\uDDF4\uDDF6-\uDDF9\uDDFB\uDDFC\uDDFE\uDDFF]|\uDDE8\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDEE\uDDF0-\uDDF5\uDDF7\uDDFA-\uDDFF]|\uDDE9\uD83C[\uDDEA\uDDEC\uDDEF\uDDF0\uDDF2\uDDF4\uDDFF]|\uDDEA\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDED\uDDF7-\uDDFA]|\uDDEB\uD83C[\uDDEE-\uDDF0\uDDF2\uDDF4\uDDF7]|\uDDEC\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEE\uDDF1-\uDDF3\uDDF5-\uDDFA\uDDFC\uDDFE]|\uDDED\uD83C[\uDDF0\uDDF2\uDDF3\uDDF7\uDDF9\uDDFA]|\uDDEE\uD83C[\uDDE8-\uDDEA\uDDF1-\uDDF4\uDDF6-\uDDF9]|\uDDEF\uD83C[\uDDEA\uDDF2\uDDF4\uDDF5]|\uDDF0\uD83C[\uDDEA\uDDEC-\uDDEE\uDDF2\uDDF3\uDDF5\uDDF7\uDDFC\uDDFE\uDDFF]|\uDDF1\uD83C[\uDDE6-\uDDE8\uDDEE\uDDF0\uDDF7-\uDDFB\uDDFE]|\uDDF2\uD83C[\uDDE6\uDDE8-\uDDED\uDDF0-\uDDFF]|\uDDF3\uD83C[\uDDE6\uDDE8\uDDEA-\uDDEC\uDDEE\uDDF1\uDDF4\uDDF5\uDDF7\uDDFA\uDDFF]|\uDDF4\uD83C\uDDF2|\uDDF5\uD83C[\uDDE6\uDDEA-\uDDED\uDDF0-\uDDF3\uDDF7-\uDDF9\uDDFC\uDDFE]|\uDDF6\uD83C\uDDE6|\uDDF7\uD83C[\uDDEA\uDDF4\uDDF8\uDDFA\uDDFC]|\uDDF8\uD83C[\uDDE6-\uDDEA\uDDEC-\uDDF4\uDDF7-\uDDF9\uDDFB\uDDFD-\uDDFF]|\uDDF9\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDED\uDDEF-\uDDF4\uDDF7\uDDF9\uDDFB\uDDFC\uDDFF]|\uDDFA\uD83C[\uDDE6\uDDEC\uDDF2\uDDF3\uDDF8\uDDFE\uDDFF]|\uDDFB\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDEE\uDDF3\uDDFA]|\uDDFC\uD83C[\uDDEB\uDDF8]|\uDDFD\uD83C\uDDF0|\uDDFE\uD83C[\uDDEA\uDDF9]|\uDDFF\uD83C[\uDDE6\uDDF2\uDDFC]|\uDFF3\uFE0F?(?:\u200D(?:\u26A7\uFE0F?|\uD83C\uDF08))?|\uDFF4(?:\u200D\u2620\uFE0F?|\uDB40\uDC67\uDB40\uDC62\uDB40(?:\uDC65\uDB40\uDC6E\uDB40\uDC67|\uDC73\uDB40\uDC63\uDB40\uDC74|\uDC77\uDB40\uDC6C\uDB40\uDC73)\uDB40\uDC7F)?)|\uD83D(?:[\uDC08\uDC26](?:\u200D\u2B1B)?|[\uDC3F\uDCFD\uDD49\uDD4A\uDD6F\uDD70\uDD73\uDD76-\uDD79\uDD87\uDD8A-\uDD8D\uDDA5\uDDA8\uDDB1\uDDB2\uDDBC\uDDC2-\uDDC4\uDDD1-\uDDD3\uDDDC-\uDDDE\uDDE1\uDDE3\uDDE8\uDDEF\uDDF3\uDDFA\uDECB\uDECD-\uDECF\uDEE0-\uDEE5\uDEE9\uDEF0\uDEF3]\uFE0F?|[\uDC42\uDC43\uDC46-\uDC50\uDC66\uDC67\uDC6B-\uDC6D\uDC72\uDC74-\uDC76\uDC78\uDC7C\uDC83\uDC85\uDC8F\uDC91\uDCAA\uDD7A\uDD95\uDD96\uDE4C\uDE4F\uDEC0\uDECC](?:\uD83C[\uDFFB-\uDFFF])?|[\uDC6E\uDC70\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDD74\uDD90](?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?|[\uDC00-\uDC07\uDC09-\uDC14\uDC16-\uDC25\uDC27-\uDC3A\uDC3C-\uDC3E\uDC40\uDC44\uDC45\uDC51-\uDC65\uDC6A\uDC79-\uDC7B\uDC7D-\uDC80\uDC84\uDC88-\uDC8E\uDC90\uDC92-\uDCA9\uDCAB-\uDCFC\uDCFF-\uDD3D\uDD4B-\uDD4E\uDD50-\uDD67\uDDA4\uDDFB-\uDE2D\uDE2F-\uDE34\uDE37-\uDE44\uDE48-\uDE4A\uDE80-\uDEA2\uDEA4-\uDEB3\uDEB7-\uDEBF\uDEC1-\uDEC5\uDED0-\uDED2\uDED5-\uDED7\uDEDC-\uDEDF\uDEEB\uDEEC\uDEF4-\uDEFC\uDFE0-\uDFEB\uDFF0]|\uDC15(?:\u200D\uD83E\uDDBA)?|\uDC3B(?:\u200D\u2744\uFE0F?)?|\uDC41\uFE0F?(?:\u200D\uD83D\uDDE8\uFE0F?)?|\uDC68(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDC68\uDC69]\u200D\uD83D(?:\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?)|[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?)|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFC-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFD-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFD\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFE])))?))?|\uDC69(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?[\uDC68\uDC69]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?|\uDC69\u200D\uD83D(?:\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?))|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFC-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB\uDFFD-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB-\uDFFD\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB-\uDFFE])))?))?|\uDC6F(?:\u200D[\u2640\u2642]\uFE0F?)?|\uDD75(?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|\uDE2E(?:\u200D\uD83D\uDCA8)?|\uDE35(?:\u200D\uD83D\uDCAB)?|\uDE36(?:\u200D\uD83C\uDF2B\uFE0F?)?)|\uD83E(?:[\uDD0C\uDD0F\uDD18-\uDD1F\uDD30-\uDD34\uDD36\uDD77\uDDB5\uDDB6\uDDBB\uDDD2\uDDD3\uDDD5\uDEC3-\uDEC5\uDEF0\uDEF2-\uDEF8](?:\uD83C[\uDFFB-\uDFFF])?|[\uDD26\uDD35\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD-\uDDCF\uDDD4\uDDD6-\uDDDD](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDDDE\uDDDF](?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDD0D\uDD0E\uDD10-\uDD17\uDD20-\uDD25\uDD27-\uDD2F\uDD3A\uDD3F-\uDD45\uDD47-\uDD76\uDD78-\uDDB4\uDDB7\uDDBA\uDDBC-\uDDCC\uDDD0\uDDE0-\uDDFF\uDE70-\uDE7C\uDE80-\uDE88\uDE90-\uDEBD\uDEBF-\uDEC2\uDECE-\uDEDB\uDEE0-\uDEE8]|\uDD3C(?:\u200D[\u2640\u2642]\uFE0F?|\uD83C[\uDFFB-\uDFFF])?|\uDDD1(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83E\uDDD1))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFC-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB\uDFFD-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB-\uDFFD\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB-\uDFFE]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?))?|\uDEF1(?:\uD83C(?:\uDFFB(?:\u200D\uD83E\uDEF2\uD83C[\uDFFC-\uDFFF])?|\uDFFC(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB\uDFFD-\uDFFF])?|\uDFFD(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])?|\uDFFE(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB-\uDFFD\uDFFF])?|\uDFFF(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB-\uDFFE])?))?)/g;var Mn={eastAsianWidth(e){var r=e.charCodeAt(0),n=e.length==2?e.charCodeAt(1):0,t=r;return 55296<=r&&r<=56319&&56320<=n&&n<=57343&&(r&=1023,n&=1023,t=r<<10|n,t+=65536),t==12288||65281<=t&&t<=65376||65504<=t&&t<=65510?"F":4352<=t&&t<=4447||4515<=t&&t<=4519||4602<=t&&t<=4607||9001<=t&&t<=9002||11904<=t&&t<=11929||11931<=t&&t<=12019||12032<=t&&t<=12245||12272<=t&&t<=12283||12289<=t&&t<=12350||12353<=t&&t<=12438||12441<=t&&t<=12543||12549<=t&&t<=12589||12593<=t&&t<=12686||12688<=t&&t<=12730||12736<=t&&t<=12771||12784<=t&&t<=12830||12832<=t&&t<=12871||12880<=t&&t<=13054||13056<=t&&t<=19903||19968<=t&&t<=42124||42128<=t&&t<=42182||43360<=t&&t<=43388||44032<=t&&t<=55203||55216<=t&&t<=55238||55243<=t&&t<=55291||63744<=t&&t<=64255||65040<=t&&t<=65049||65072<=t&&t<=65106||65108<=t&&t<=65126||65128<=t&&t<=65131||110592<=t&&t<=110593||127488<=t&&t<=127490||127504<=t&&t<=127546||127552<=t&&t<=127560||127568<=t&&t<=127569||131072<=t&&t<=194367||177984<=t&&t<=196605||196608<=t&&t<=262141?"W":"N"}};var Dl=/[^\x20-\x7F]/;function pl(e){if(!e)return 0;if(!Dl.test(e))return e.length;e=e.replace(zn()," ");let r=0;for(let n of e){let t=n.codePointAt(0);if(t<=31||t>=127&&t<=159||t>=768&&t<=879)continue;let a=Mn.eastAsianWidth(n);r+=a==="F"||a==="W"?2:1}return r}var Xe=pl;var Br="'",Un='"';function dl(e,r){let n=r===!0||r===Br?Br:Un,t=n===Br?Un:Br,a=0,i=0;for(let u of e)u===n?a++:u===t&&i++;return a>i?t:n}var Yn=dl;var ue="string",X="array",ve="cursor",Q="indent",Z="align",ae="trim",G="group",H="fill",W="if-break",oe="indent-if-break",se="line-suffix",ce="line-suffix-boundary",$="line",le="label",ee="break-parent",qr=new Set([ve,Q,Z,ae,G,H,W,oe,se,ce,$,le,ee]);function hl(e){if(typeof e=="string")return ue;if(Array.isArray(e))return X;if(!e)return;let{type:r}=e;if(qr.has(r))return r}var fe=hl;var ml=e=>new Intl.ListFormat("en-US",{type:"disjunction"}).format(e);function gl(e){let r=e===null?"null":typeof e;if(r!=="string"&&r!=="object")return`Unexpected doc '${r}', -Expected it to be 'string' or 'object'.`;if(fe(e))throw new Error("doc is valid.");let n=Object.prototype.toString.call(e);if(n!=="[object Object]")return`Unexpected doc '${n}'.`;let t=ml([...qr].map(a=>`'${a}'`));return`Unexpected doc.type '${e.type}'. -Expected it to be ${t}.`}var pt=class extends Error{name="InvalidDocError";constructor(r){super(gl(r)),this.doc=r}},Ae=pt;var Vn={};function vl(e,r,n,t){let a=[e];for(;a.length>0;){let i=a.pop();if(i===Vn){n(a.pop());continue}n&&a.push(i,Vn);let u=fe(i);if(!u)throw new Ae(i);if((r==null?void 0:r(i))!==!1)switch(u){case X:case H:{let o=u===X?i:i.parts;for(let s=o.length,l=s-1;l>=0;--l)a.push(o[l]);break}case W:a.push(i.flatContents,i.breakContents);break;case G:if(t&&i.expandedStates)for(let o=i.expandedStates.length,s=o-1;s>=0;--s)a.push(i.expandedStates[s]);else a.push(i.contents);break;case Z:case Q:case oe:case le:case se:a.push(i.contents);break;case ue:case ve:case ae:case ce:case $:case ee:break;default:throw new Ae(i)}}}var jn=vl;var $n=()=>{},Be=$n,Tr=$n;function Qe(e){return Be(e),{type:Q,contents:e}}function Fe(e,r){return Be(r),{type:Z,contents:r,n:e}}function Ze(e,r={}){return Be(e),Tr(r.expandedStates,!0),{type:G,id:r.id,contents:e,break:!!r.shouldBreak,expandedStates:r.expandedStates}}function qe(e){return Fe({type:"root"},e)}function Sr(e){return Tr(e),{type:H,parts:e}}function Gn(e,r="",n={}){return Be(e),r!==""&&Be(r),{type:W,breakContents:e,flatContents:r,groupId:n.groupId}}var er={type:ee};var Ne={type:$,hard:!0},Fl={type:$,hard:!0,literal:!0},_r={type:$},rr={type:$,soft:!0},O=[Ne,er],tr=[Fl,er];function nr(e,r){Be(e),Tr(r);let n=[];for(let t=0;t{if(Array.isArray(e))return e;if(e.type!==H)throw new Error(`Expect doc to be 'array' or '${H}'.`);return e.parts};function Jn(e,r){if(typeof e=="string")return r(e);let n=new Map;return t(e);function t(i){if(n.has(i))return n.get(i);let u=a(i);return n.set(i,u),u}function a(i){switch(fe(i)){case X:return r(i.map(t));case H:return r({...i,parts:i.parts.map(t)});case W:return r({...i,breakContents:t(i.breakContents),flatContents:t(i.flatContents)});case G:{let{expandedStates:u,contents:o}=i;return u?(u=u.map(t),o=u[0]):o=t(o),r({...i,contents:o,expandedStates:u})}case Z:case Q:case oe:case le:case se:return r({...i,contents:t(i.contents)});case ue:case ve:case ae:case ce:case $:case ee:return r(i);default:throw new Ae(i)}}}function Hn(e){if(e.length>0){let r=U(!1,e,-1);!r.expandedStates&&!r.break&&(r.break="propagated")}return null}function Xn(e){let r=new Set,n=[];function t(i){if(i.type===ee&&Hn(n),i.type===G){if(n.push(i),r.has(i))return!1;r.add(i)}}function a(i){i.type===G&&n.pop().break&&Hn(n)}jn(e,t,a,!0)}function Wn(e){let r=[],n=e.filter(Boolean);for(;n.length>0;){let t=n.shift();if(t){if(Array.isArray(t)){n.unshift(...t);continue}if(r.length>0&&typeof U(!1,r,-1)=="string"&&typeof t=="string"){r[r.length-1]+=t;continue}r.push(t)}}return r}function Qn(e){return Jn(e,r=>Array.isArray(r)?Wn(r):r.parts?{...r,parts:Wn(r.parts)}:r)}function Ee(e,r=tr){return Jn(e,n=>typeof n=="string"?nr(r,n.split(` -`)):n)}function Zn(e){switch(e){case"cr":return"\r";case"crlf":return`\r -`;default:return` -`}}var V=Symbol("MODE_BREAK"),re=Symbol("MODE_FLAT"),ir=Symbol("cursor");function ei(){return{value:"",length:0,queue:[]}}function El(e,r){return dt(e,{type:"indent"},r)}function Cl(e,r,n){return r===Number.NEGATIVE_INFINITY?e.root||ei():r<0?dt(e,{type:"dedent"},n):r?r.type==="root"?{...e,root:e}:dt(e,{type:typeof r=="string"?"stringAlign":"numberAlign",n:r},n):e}function dt(e,r,n){let t=r.type==="dedent"?e.queue.slice(0,-1):[...e.queue,r],a="",i=0,u=0,o=0;for(let p of t)switch(p.type){case"indent":c(),n.useTabs?s(1):l(n.tabWidth);break;case"stringAlign":c(),a+=p.n,i+=p.n.length;break;case"numberAlign":u+=1,o+=p.n;break;default:throw new Error(`Unexpected type '${p.type}'`)}return D(),{...e,value:a,length:i,queue:t};function s(p){a+=" ".repeat(p),i+=n.tabWidth*p}function l(p){a+=" ".repeat(p),i+=p}function c(){n.useTabs?f():D()}function f(){u>0&&s(u),h()}function D(){o>0&&l(o),h()}function h(){u=0,o=0}}function ht(e){let r=0,n=0,t=e.length;e:for(;t--;){let a=e[t];if(a===ir){n++;continue}for(let i=a.length-1;i>=0;i--){let u=a[i];if(u===" "||u===" ")r++;else{e[t]=a.slice(0,i+1);break e}}}if(r>0||n>0)for(e.length=t+1;n-- >0;)e.push(ir);return r}function Pr(e,r,n,t,a,i){if(n===Number.POSITIVE_INFINITY)return!0;let u=r.length,o=[e],s=[];for(;n>=0;){if(o.length===0){if(u===0)return!0;o.push(r[--u]);continue}let{mode:l,doc:c}=o.pop();switch(fe(c)){case ue:s.push(c),n-=Xe(c);break;case X:case H:{let f=Kn(c);for(let D=f.length-1;D>=0;D--)o.push({mode:l,doc:f[D]});break}case Q:case Z:case oe:case le:o.push({mode:l,doc:c.contents});break;case ae:n+=ht(s);break;case G:{if(i&&c.break)return!1;let f=c.break?V:l,D=c.expandedStates&&f===V?U(!1,c.expandedStates,-1):c.contents;o.push({mode:f,doc:D});break}case W:{let D=(c.groupId?a[c.groupId]||re:l)===V?c.breakContents:c.flatContents;D&&o.push({mode:l,doc:D});break}case $:if(l===V||c.hard)return!0;c.soft||(s.push(" "),n--);break;case se:t=!0;break;case ce:if(t)return!1;break}}return!1}function ri(e,r){let n={},t=r.printWidth,a=Zn(r.endOfLine),i=0,u=[{ind:ei(),mode:V,doc:e}],o=[],s=!1,l=[],c=0;for(Xn(e);u.length>0;){let{ind:D,mode:h,doc:p}=u.pop();switch(fe(p)){case ue:{let d=a!==` -`?R(!1,p,` -`,a):p;o.push(d),u.length>0&&(i+=Xe(d));break}case X:for(let d=p.length-1;d>=0;d--)u.push({ind:D,mode:h,doc:p[d]});break;case ve:if(c>=2)throw new Error("There are too many 'cursor' in doc.");o.push(ir),c++;break;case Q:u.push({ind:El(D,r),mode:h,doc:p.contents});break;case Z:u.push({ind:Cl(D,p.n,r),mode:h,doc:p.contents});break;case ae:i-=ht(o);break;case G:switch(h){case re:if(!s){u.push({ind:D,mode:p.break?V:re,doc:p.contents});break}case V:{s=!1;let d={ind:D,mode:re,doc:p.contents},m=t-i,g=l.length>0;if(!p.break&&Pr(d,u,m,g,n))u.push(d);else if(p.expandedStates){let x=U(!1,p.expandedStates,-1);if(p.break){u.push({ind:D,mode:V,doc:x});break}else for(let F=1;F=p.expandedStates.length){u.push({ind:D,mode:V,doc:x});break}else{let B=p.expandedStates[F],b={ind:D,mode:re,doc:B};if(Pr(b,u,m,g,n)){u.push(b);break}}}else u.push({ind:D,mode:V,doc:p.contents});break}}p.id&&(n[p.id]=U(!1,u,-1).mode);break;case H:{let d=t-i,{parts:m}=p;if(m.length===0)break;let[g,x]=m,F={ind:D,mode:re,doc:g},B={ind:D,mode:V,doc:g},b=Pr(F,[],d,l.length>0,n,!0);if(m.length===1){b?u.push(F):u.push(B);break}let v={ind:D,mode:re,doc:x},y={ind:D,mode:V,doc:x};if(m.length===2){b?u.push(v,F):u.push(y,B);break}m.splice(0,2);let k={ind:D,mode:h,doc:Sr(m)},E=m[0];Pr({ind:D,mode:re,doc:[g,x,E]},[],d,l.length>0,n,!0)?u.push(k,v,F):b?u.push(k,y,F):u.push(k,y,B);break}case W:case oe:{let d=p.groupId?n[p.groupId]:h;if(d===V){let m=p.type===W?p.breakContents:p.negate?p.contents:Qe(p.contents);m&&u.push({ind:D,mode:h,doc:m})}if(d===re){let m=p.type===W?p.flatContents:p.negate?Qe(p.contents):p.contents;m&&u.push({ind:D,mode:h,doc:m})}break}case se:l.push({ind:D,mode:h,doc:p.contents});break;case ce:l.length>0&&u.push({ind:D,mode:h,doc:Ne});break;case $:switch(h){case re:if(p.hard)s=!0;else{p.soft||(o.push(" "),i+=1);break}case V:if(l.length>0){u.push({ind:D,mode:h,doc:p},...l.reverse()),l.length=0;break}p.literal?D.root?(o.push(a,D.root.value),i=D.root.length):(o.push(a),i=0):(i-=ht(o),o.push(a+D.value),i=D.length);break}break;case le:u.push({ind:D,mode:h,doc:p.contents});break;case ee:break;default:throw new Ae(p)}u.length===0&&l.length>0&&(u.push(...l.reverse()),l.length=0)}let f=o.indexOf(ir);if(f!==-1){let D=o.indexOf(ir,f+1),h=o.slice(0,f).join(""),p=o.slice(f+1,D).join(""),d=o.slice(D+1).join("");return{formatted:h+p+d,cursorNodeStart:h.length,cursorNodeText:p}}return{formatted:o.join("")}}var mt=class extends Error{name="UnexpectedNodeError";constructor(r,n,t="type"){super(`Unexpected ${n} node ${t}: ${JSON.stringify(r[t])}.`),this.node=r}},ti=mt;async function bl(e,r){if(e.lang==="yaml"){let n=e.value.trim(),t=n?await r(n,{parser:"yaml"}):"";return qe([e.startDelimiter,O,t,t?O:"",e.endDelimiter])}}var ni=bl;var xl=e=>e.split(/[/\\]/).pop();function ii(e,r){if(!r)return;let n=xl(r).toLowerCase();return e.find(t=>{var a,i;return((a=t.extensions)==null?void 0:a.some(u=>n.endsWith(u)))||((i=t.filenames)==null?void 0:i.some(u=>u.toLowerCase()===n))})}function yl(e,r){if(r)return e.find(({name:n})=>n.toLowerCase()===r)??e.find(({aliases:n})=>n==null?void 0:n.includes(r))??e.find(({extensions:n})=>n==null?void 0:n.includes(`.${r}`))}function kl(e,r){let n=e.plugins.flatMap(a=>a.languages??[]),t=yl(n,r.language)??ii(n,r.physicalFile)??ii(n,r.file)??(r.physicalFile,void 0);return t==null?void 0:t.parsers[0]}var ui=kl;var Lr=()=>{};Lr.ok=Lr;Lr.strictEqual=Lr;function Te(e){return e.position.start.offset}function Se(e){return e.position.end.offset}var ai="(?:[\\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])?",oi=new RegExp("[\\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]",""),ur="[\\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]";var vt=new Set(["liquidNode","inlineCode","emphasis","esComment","strong","delete","wikiLink","link","linkReference","image","imageReference","footnote","footnoteReference","sentence","whitespace","word","break","inlineMath"]),Or=new Set([...vt,"tableCell","paragraph","heading"]),gt=new RegExp(ur),_e="non-cjk",De="cj-letter",Ce="k-letter",ar="cjk-punctuation";function Ir(e){let r=[],n=e.split(/([\t\n ]+)/);for(let[a,i]of n.entries()){if(a%2===1){r.push({type:"whitespace",value:/\n/.test(i)?` -`:" "});continue}if((a===0||a===n.length-1)&&i==="")continue;let u=i.split(new RegExp(`(${ai})`));for(let[o,s]of u.entries())if(!((o===0||o===u.length-1)&&s==="")){if(o%2===0){s!==""&&t({type:"word",value:s,kind:_e,hasLeadingPunctuation:gt.test(s[0]),hasTrailingPunctuation:gt.test(U(!1,s,-1))});continue}t(gt.test(s)?{type:"word",value:s,kind:ar,hasLeadingPunctuation:!0,hasTrailingPunctuation:!0}:{type:"word",value:s,kind:oi.test(s)?Ce:De,hasLeadingPunctuation:!1,hasTrailingPunctuation:!1})}}return r;function t(a){let i=U(!1,r,-1);(i==null?void 0:i.type)==="word"&&!u(_e,ar)&&![i.value,a.value].some(o=>/\u3000/.test(o))&&r.push({type:"whitespace",value:""}),r.push(a);function u(o,s){return i.kind===o&&a.kind===s||i.kind===s&&a.kind===o}}}function Re(e,r){let[,n,t,a]=r.slice(e.position.start.offset,e.position.end.offset).match(/^\s*(\d+)(\.|\))(\s*)/);return{numberText:n,marker:t,leadingSpaces:a}}function si(e,r){if(!e.ordered||e.children.length<2)return!1;let n=Number(Re(e.children[0],r.originalText).numberText),t=Number(Re(e.children[1],r.originalText).numberText);if(n===0&&e.children.length>2){let a=Number(Re(e.children[2],r.originalText).numberText);return t===1&&a===1}return t===1}function Nr(e,r){let{value:n}=e;return e.position.end.offset===r.length&&n.endsWith(` -`)&&r.endsWith(` -`)?n.slice(0,-1):n}function be(e,r){return function n(t,a,i){let u={...r(t,a,i)};return u.children&&(u.children=u.children.map((o,s)=>n(o,s,[u,...i]))),u}(e,null,[])}function Ft(e){if((e==null?void 0:e.type)!=="link"||e.children.length!==1)return!1;let[r]=e.children;return Te(e)===Te(r)&&Se(e)===Se(r)}function wl(e,r){let{node:n}=e;if(n.type==="code"&&n.lang!==null){let t=ui(r,{language:n.lang});if(t)return async a=>{let i=r.__inJsTemplate?"~":"`",u=i.repeat(Math.max(3,Ar(n.value,i)+1)),o={parser:t};n.lang==="tsx"&&(o.filepath="dummy.tsx");let s=await a(Nr(n,r.originalText),o);return qe([u,n.lang,n.meta?" "+n.meta:"",O,Ee(s),O,u])}}switch(n.type){case"front-matter":return t=>ni(n,t);case"import":case"export":return t=>t(n.value,{parser:"babel"});case"jsx":return t=>t(`<$>${n.value}`,{parser:"__js_expression",rootMarker:"mdx"})}return null}var ci=wl;var Al=new RegExp("^(?-{3}|\\+{3})(?[^\\n]*)\\n(?:|(?.*?)\\n)(?\\k|\\.{3})[^\\S\\n]*(?:\\n|$)","s");function Bl(e){let r=e.match(Al);if(!r)return{content:e};let{startDelimiter:n,language:t,value:a="",endDelimiter:i}=r.groups,u=t.trim()||"yaml";if(n==="+++"&&(u="toml"),u!=="yaml"&&n!==i)return{content:e};let[o]=r;return{frontMatter:{type:"front-matter",lang:u,value:a,startDelimiter:n,endDelimiter:i,raw:o.replace(/\n$/,"")},content:R(!1,o,/[^\n]/g," ")+e.slice(o.length)}}var or=Bl;var li=["format","prettier"];function Et(e){let r=`@(${li.join("|")})`,n=new RegExp([``,`{\\s*\\/\\*\\s*${r}\\s*\\*\\/\\s*}`,`|",sd="<[?].*?[?]>",cd="]*>",ld="";Jt.openCloseTag=new RegExp("^(?:"+Va+"|"+ja+")");Jt.tag=new RegExp("^(?:"+Va+"|"+ja+"|"+od+"|"+sd+"|"+cd+"|"+ld+")")});var Ka=C((Zv,Wa)=>{"use strict";var fd=Xt().openCloseTag;Wa.exports=wd;var Dd=" ",pd=" ",$a=` +`,dd="<",hd=/^<(script|pre|style)(?=(\s|>|$))/i,md=/<\/(script|pre|style)>/i,Fd=/^/,vd=/^<\?/,Ed=/\?>/,Cd=/^/,yd=/^/,Ha=/^$/,xd=new RegExp(fd.source+"\\s*$");function wd(e,r,t){for(var n=this,a=n.options.blocks.join("|"),u=new RegExp("^|$))","i"),i=r.length,o=0,s,l,c,f,D,h,p,d=[[hd,md,!0],[Fd,gd,!0],[vd,Ed,!0],[Cd,bd,!0],[yd,Ad,!0],[u,Ha,!0],[xd,Ha,!1]];o{"use strict";Ja.exports=qd;var kd=String.fromCharCode,Bd=/\s/;function qd(e){return Bd.test(typeof e=="number"?kd(e):e.charAt(0))}});var Qt=C((rE,Xa)=>{"use strict";var Td=wr();Xa.exports=_d;function _d(e){return Td(e).toLowerCase()}});var io=C((tE,no)=>{"use strict";var Sd=ue(),Od=Qt();no.exports=Nd;var Qa='"',Za="'",Pd="\\",Ke=` +`,Qr=" ",Zr=" ",en="[",gr="]",Ld="(",Id=")",eo=":",ro="<",to=">";function Nd(e,r,t){for(var n=this,a=n.options.commonmark,u=0,i=r.length,o="",s,l,c,f,D,h,p,d;u{"use strict";var Ud=ue();ao.exports=Kd;var zd=" ",et=` +`,Md=" ",Yd="-",Gd=":",Vd="\\",rn="|",jd=1,$d=2,uo="left",Hd="center",Wd="right";function Kd(e,r,t){var n=this,a,u,i,o,s,l,c,f,D,h,p,d,m,F,y,E,B,b,g,A,x,v;if(n.options.gfm){for(a=0,E=0,l=r.length+1,c=[];aA){if(E<$d)return;break}c.push(r.slice(a,A)),E++,a=A+1}for(o=c.join(et),u=c.splice(1,1)[0]||[],a=0,l=u.length,E--,i=!1,p=[];a1&&(D?(o+=f.slice(0,-1),f=f.charAt(f.length-1)):(o+=f,f="")),F=e.now(),e(o)({type:"tableCell",children:n.tokenizeInline(d,F)},s)),e(f+D),f="",d=""):(f&&(d+=f,f=""),d+=D,D===Vd&&a!==l-2&&(d+=B.charAt(a+1),a++)),m=!1,a++}y||e(et+u)}return g}}}});var lo=C((iE,co)=>{"use strict";var Jd=Re(),Xd=Mt(),Qd=Jr();co.exports=rh;var Zd=" ",vr=` +`,eh=" ",so=4;function rh(e,r,t){for(var n=this,a=n.options,u=a.commonmark,i=n.blockTokenizers,o=n.interruptParagraph,s=r.indexOf(vr),l=r.length,c,f,D,h,p;s=so&&D!==vr){s=r.indexOf(vr,s+1);continue}}if(f=r.slice(s+1),Qd(o,i,n,[e,f,!0]))break;if(c=s,s=r.indexOf(vr,s+1),s!==-1&&Jd(r.slice(c,s))===""){s=c;break}}return f=r.slice(0,s),t?!0:(p=e.now(),f=Xd(f),e(f)({type:"paragraph",children:n.tokenizeInline(f,p)}))}});var Do=C((uE,fo)=>{"use strict";fo.exports=th;function th(e,r){return e.indexOf("\\",r)}});var Fo=C((aE,mo)=>{"use strict";var nh=Do();mo.exports=ho;ho.locator=nh;var ih=` +`,po="\\";function ho(e,r,t){var n=this,a,u;if(r.charAt(0)===po&&(a=r.charAt(1),n.escape.indexOf(a)!==-1))return t?!0:(a===ih?u={type:"break"}:u={type:"text",value:a},e(po+a)(u))}});var tn=C((oE,go)=>{"use strict";go.exports=uh;function uh(e,r){return e.indexOf("<",r)}});var yo=C((sE,bo)=>{"use strict";var vo=ue(),ah=pr(),oh=tn();bo.exports=on;on.locator=oh;on.notInLink=!0;var Eo="<",nn=">",Co="@",un="/",an="mailto:",rt=an.length;function on(e,r,t){var n=this,a="",u=r.length,i=0,o="",s=!1,l="",c,f,D,h,p;if(r.charAt(0)===Eo){for(i++,a=Eo;i{"use strict";Ao.exports=sh;function sh(e,r){var t=String(e),n=0,a;if(typeof r!="string")throw new Error("Expected character");for(a=t.indexOf(r);a!==-1;)n++,a=t.indexOf(r,a+r.length);return n}});var Bo=C((lE,ko)=>{"use strict";ko.exports=ch;var wo=["www.","http://","https://"];function ch(e,r){var t=-1,n,a,u;if(!this.options.gfm)return t;for(a=wo.length,n=-1;++n{"use strict";var qo=xo(),lh=pr(),fh=Ne(),sn=Ve(),Dh=ue(),ph=Bo();So.exports=ln;ln.locator=ph;ln.notInLink=!0;var dh=33,hh=38,mh=41,Fh=42,gh=44,vh=45,cn=46,Eh=58,Ch=59,bh=63,yh=60,To=95,Ah=126,xh="(",_o=")";function ln(e,r,t){var n=this,a=n.options.gfm,u=n.inlineTokenizers,i=r.length,o=-1,s=!1,l,c,f,D,h,p,d,m,F,y,E,B,b,g;if(a){if(r.slice(0,4)==="www.")s=!0,D=4;else if(r.slice(0,7).toLowerCase()==="http://")D=7;else if(r.slice(0,8).toLowerCase()==="https://")D=8;else return;for(o=D-1,f=D,l=[];DF;)D=h+p.lastIndexOf(_o),p=r.slice(h,D),y--;if(r.charCodeAt(D-1)===Ch&&(D--,sn(r.charCodeAt(D-1)))){for(m=D-2;sn(r.charCodeAt(m));)m--;r.charCodeAt(m)===hh&&(D=m)}return E=r.slice(0,D),b=lh(E,{nonTerminated:!1}),s&&(b="http://"+b),g=n.enterLink(),n.inlineTokenizers={text:u.text},B=n.tokenizeInline(E,e.now()),n.inlineTokenizers=u,g(),e(E)({type:"link",title:null,url:b,children:B})}}}});var No=C((DE,Io)=>{"use strict";var wh=Ne(),kh=Ve(),Bh=43,qh=45,Th=46,_h=95;Io.exports=Lo;function Lo(e,r){var t=this,n,a;if(!this.options.gfm||(n=e.indexOf("@",r),n===-1))return-1;if(a=n,a===r||!Po(e.charCodeAt(a-1)))return Lo.call(t,e,n+1);for(;a>r&&Po(e.charCodeAt(a-1));)a--;return a}function Po(e){return wh(e)||kh(e)||e===Bh||e===qh||e===Th||e===_h}});var Mo=C((pE,zo)=>{"use strict";var Sh=pr(),Ro=Ne(),Uo=Ve(),Oh=No();zo.exports=pn;pn.locator=Oh;pn.notInLink=!0;var Ph=43,fn=45,tt=46,Lh=64,Dn=95;function pn(e,r,t){var n=this,a=n.options.gfm,u=n.inlineTokenizers,i=0,o=r.length,s=-1,l,c,f,D;if(a){for(l=r.charCodeAt(i);Ro(l)||Uo(l)||l===Ph||l===fn||l===tt||l===Dn;)l=r.charCodeAt(++i);if(i!==0&&l===Lh){for(i++;i{"use strict";var Ih=Ve(),Nh=tn(),Rh=Xt().tag;Go.exports=Yo;Yo.locator=Nh;var Uh="<",zh="?",Mh="!",Yh="/",Gh=/^/i;function Yo(e,r,t){var n=this,a=r.length,u,i;if(!(r.charAt(0)!==Uh||a<3)&&(u=r.charAt(1),!(!Ih(u)&&u!==zh&&u!==Mh&&u!==Yh)&&(i=r.match(Rh),!!i)))return t?!0:(i=i[0],!n.inLink&&Gh.test(i)?n.inLink=!0:n.inLink&&Vh.test(i)&&(n.inLink=!1),e(i)({type:"html",value:i}))}});var dn=C((hE,jo)=>{"use strict";jo.exports=jh;function jh(e,r){var t=e.indexOf("[",r),n=e.indexOf("![",r);return n===-1||t{"use strict";var Er=ue(),$h=dn();Xo.exports=Jo;Jo.locator=$h;var Hh=` +`,Wh="!",$o='"',Ho="'",Je="(",Cr=")",hn="<",mn=">",Wo="[",br="\\",Kh="]",Ko="`";function Jo(e,r,t){var n=this,a="",u=0,i=r.charAt(0),o=n.options.pedantic,s=n.options.commonmark,l=n.options.gfm,c,f,D,h,p,d,m,F,y,E,B,b,g,A,x,v,w,k;if(i===Wh&&(F=!0,a=i,i=r.charAt(++u)),i===Wo&&!(!F&&n.inLink)){for(a+=i,A="",u++,B=r.length,v=e.now(),g=0,v.column+=u,v.offset+=u;u=D&&(D=0):D=f}else if(i===br)u++,d+=r.charAt(u);else if((!D||l)&&i===Wo)g++;else if((!D||l)&&i===Kh)if(g)g--;else{if(r.charAt(u+1)!==Je)return;d+=Je,c=!0,u++;break}A+=d,d="",u++}if(c){for(y=A,a+=A+d,u++;u{"use strict";var Jh=ue(),Xh=dn(),Qh=Qt();es.exports=Zo;Zo.locator=Xh;var Fn="link",Zh="image",e0="shortcut",r0="collapsed",gn="full",t0="!",nt="[",it="\\",ut="]";function Zo(e,r,t){var n=this,a=n.options.commonmark,u=r.charAt(0),i=0,o=r.length,s="",l="",c=Fn,f=e0,D,h,p,d,m,F,y,E;if(u===t0&&(c=Zh,l=u,u=r.charAt(++i)),u===nt){for(i++,l+=u,F="",E=0;i{"use strict";ts.exports=n0;function n0(e,r){var t=e.indexOf("**",r),n=e.indexOf("__",r);return n===-1?t:t===-1||n{"use strict";var i0=Re(),is=ue(),u0=ns();as.exports=us;us.locator=u0;var a0="\\",o0="*",s0="_";function us(e,r,t){var n=this,a=0,u=r.charAt(a),i,o,s,l,c,f,D;if(!(u!==o0&&u!==s0||r.charAt(++a)!==u)&&(o=n.options.pedantic,s=u,c=s+s,f=r.length,a++,l="",u="",!(o&&is(r.charAt(a)))))for(;a{"use strict";ss.exports=f0;var c0=String.fromCharCode,l0=/\w/;function f0(e){return l0.test(typeof e=="number"?c0(e):e.charAt(0))}});var fs=C((CE,ls)=>{"use strict";ls.exports=D0;function D0(e,r){var t=e.indexOf("*",r),n=e.indexOf("_",r);return n===-1?t:t===-1||n{"use strict";var p0=Re(),d0=cs(),Ds=ue(),h0=fs();hs.exports=ds;ds.locator=h0;var m0="*",ps="_",F0="\\";function ds(e,r,t){var n=this,a=0,u=r.charAt(a),i,o,s,l,c,f,D;if(!(u!==m0&&u!==ps)&&(o=n.options.pedantic,c=u,s=u,f=r.length,a++,l="",u="",!(o&&Ds(r.charAt(a)))))for(;a{"use strict";Fs.exports=g0;function g0(e,r){return e.indexOf("~~",r)}});var ys=C((AE,bs)=>{"use strict";var vs=ue(),v0=gs();bs.exports=Cs;Cs.locator=v0;var at="~",Es="~~";function Cs(e,r,t){var n=this,a="",u="",i="",o="",s,l,c;if(!(!n.options.gfm||r.charAt(0)!==at||r.charAt(1)!==at||vs(r.charAt(2))))for(s=1,l=r.length,c=e.now(),c.column+=2,c.offset+=2;++s{"use strict";As.exports=E0;function E0(e,r){return e.indexOf("`",r)}});var Bs=C((wE,ks)=>{"use strict";var C0=xs();ks.exports=ws;ws.locator=C0;var vn=10,En=32,Cn=96;function ws(e,r,t){for(var n=r.length,a=0,u,i,o,s,l,c;a2&&(s===En||s===vn)&&(l===En||l===vn)){for(a++,n--;a{"use strict";qs.exports=b0;function b0(e,r){for(var t=e.indexOf(` +`,r);t>r&&e.charAt(t-1)===" ";)t--;return t}});var Os=C((BE,Ss)=>{"use strict";var y0=Ts();Ss.exports=_s;_s.locator=y0;var A0=" ",x0=` +`,w0=2;function _s(e,r,t){for(var n=r.length,a=-1,u="",i;++a{"use strict";Ps.exports=k0;function k0(e,r,t){var n=this,a,u,i,o,s,l,c,f,D,h;if(t)return!0;for(a=n.inlineMethods,o=a.length,u=n.inlineTokenizers,i=-1,D=r.length;++i{"use strict";var B0=Ie(),ot=ru(),q0=nu(),T0=uu(),_0=Ou(),bn=Iu();Rs.exports=Is;function Is(e,r){this.file=r,this.offset={},this.options=B0(this.options),this.setOptions({}),this.inList=!1,this.inBlock=!1,this.inLink=!1,this.atStart=!0,this.toOffset=q0(r).toOffset,this.unescape=T0(this,"escape"),this.decode=_0(this)}var U=Is.prototype;U.setOptions=Vu();U.parse=aa();U.options=Rt();U.exitStart=ot("atStart",!0);U.enterList=ot("inList",!1);U.enterLink=ot("inLink",!1);U.enterBlock=ot("inBlock",!1);U.interruptParagraph=[["thematicBreak"],["list"],["atxHeading"],["fencedCode"],["blockquote"],["html"],["setextHeading",{commonmark:!1}],["definition",{commonmark:!1}]];U.interruptList=[["atxHeading",{pedantic:!1}],["fencedCode",{pedantic:!1}],["thematicBreak",{pedantic:!1}],["definition",{commonmark:!1}]];U.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}]];U.blockTokenizers={blankLine:sa(),indentedCode:pa(),fencedCode:ma(),blockquote:ba(),atxHeading:xa(),thematicBreak:Ba(),list:Ua(),setextHeading:Ga(),html:Ka(),definition:io(),table:oo(),paragraph:lo()};U.inlineTokenizers={escape:Fo(),autoLink:yo(),url:Oo(),email:Mo(),html:Vo(),link:Qo(),reference:rs(),strong:os(),emphasis:ms(),deletion:ys(),code:Bs(),break:Os(),text:Ls()};U.blockMethods=Ns(U.blockTokenizers);U.inlineMethods=Ns(U.inlineTokenizers);U.tokenizeBlock=bn("block");U.tokenizeInline=bn("inline");U.tokenizeFactory=bn;function Ns(e){var r=[],t;for(t in e)r.push(t);return r}});var Gs=C((_E,Ys)=>{"use strict";var S0=Zi(),O0=Ie(),zs=Us();Ys.exports=Ms;Ms.Parser=zs;function Ms(e){var r=this.data("settings"),t=S0(zs);t.prototype.options=O0(t.prototype.options,r,e),this.Parser=t}});var js=C((SE,Vs)=>{"use strict";Vs.exports=P0;function P0(e){if(e)throw e}});var yn=C((OE,$s)=>{$s.exports=function(r){return r!=null&&r.constructor!=null&&typeof r.constructor.isBuffer=="function"&&r.constructor.isBuffer(r)}});var rc=C((PE,ec)=>{"use strict";var st=Object.prototype.hasOwnProperty,Zs=Object.prototype.toString,Hs=Object.defineProperty,Ws=Object.getOwnPropertyDescriptor,Ks=function(r){return typeof Array.isArray=="function"?Array.isArray(r):Zs.call(r)==="[object Array]"},Js=function(r){if(!r||Zs.call(r)!=="[object Object]")return!1;var t=st.call(r,"constructor"),n=r.constructor&&r.constructor.prototype&&st.call(r.constructor.prototype,"isPrototypeOf");if(r.constructor&&!t&&!n)return!1;var a;for(a in r);return typeof a>"u"||st.call(r,a)},Xs=function(r,t){Hs&&t.name==="__proto__"?Hs(r,t.name,{enumerable:!0,configurable:!0,value:t.newValue,writable:!0}):r[t.name]=t.newValue},Qs=function(r,t){if(t==="__proto__")if(st.call(r,t)){if(Ws)return Ws(r,t).value}else return;return r[t]};ec.exports=function e(){var r,t,n,a,u,i,o=arguments[0],s=1,l=arguments.length,c=!1;for(typeof o=="boolean"&&(c=o,o=arguments[1]||{},s=2),(o==null||typeof o!="object"&&typeof o!="function")&&(o={});s{"use strict";tc.exports=e=>{if(Object.prototype.toString.call(e)!=="[object Object]")return!1;let r=Object.getPrototypeOf(e);return r===null||r===Object.prototype}});var uc=C((IE,ic)=>{"use strict";var L0=[].slice;ic.exports=I0;function I0(e,r){var t;return n;function n(){var i=L0.call(arguments,0),o=e.length>i.length,s;o&&i.push(a);try{s=e.apply(null,i)}catch(l){if(o&&t)throw l;return a(l)}o||(s&&typeof s.then=="function"?s.then(u,a):s instanceof Error?a(s):u(s))}function a(){t||(t=!0,r.apply(null,arguments))}function u(i){a(null,i)}}});var lc=C((NE,cc)=>{"use strict";var oc=uc();cc.exports=sc;sc.wrap=oc;var ac=[].slice;function sc(){var e=[],r={};return r.run=t,r.use=n,r;function t(){var a=-1,u=ac.call(arguments,0,-1),i=arguments[arguments.length-1];if(typeof i!="function")throw new Error("Expected function as last argument, not "+i);o.apply(null,[null].concat(u));function o(s){var l=e[++a],c=ac.call(arguments,0),f=c.slice(1),D=u.length,h=-1;if(s){i(s);return}for(;++h{"use strict";var Xe={}.hasOwnProperty;pc.exports=N0;function N0(e){return!e||typeof e!="object"?"":Xe.call(e,"position")||Xe.call(e,"type")?fc(e.position):Xe.call(e,"start")||Xe.call(e,"end")?fc(e):Xe.call(e,"line")||Xe.call(e,"column")?An(e):""}function An(e){return(!e||typeof e!="object")&&(e={}),Dc(e.line)+":"+Dc(e.column)}function fc(e){return(!e||typeof e!="object")&&(e={}),An(e.start)+"-"+An(e.end)}function Dc(e){return e&&typeof e=="number"?e:1}});var Fc=C((UE,mc)=>{"use strict";var R0=dc();mc.exports=xn;function hc(){}hc.prototype=Error.prototype;xn.prototype=new hc;var we=xn.prototype;we.file="";we.name="";we.reason="";we.message="";we.stack="";we.fatal=null;we.column=null;we.line=null;function xn(e,r,t){var n,a,u;typeof r=="string"&&(t=r,r=null),n=U0(t),a=R0(r)||"1:1",u={start:{line:null,column:null},end:{line:null,column:null}},r&&r.position&&(r=r.position),r&&(r.start?(u=r,r=r.start):u.start=r),e.stack&&(this.stack=e.stack,e=e.message),this.message=e,this.name=a,this.reason=e,this.line=r?r.line:null,this.column=r?r.column:null,this.location=u,this.source=n[0],this.ruleId=n[1]}function U0(e){var r=[null,null],t;return typeof e=="string"&&(t=e.indexOf(":"),t===-1?r[1]=e:(r[0]=e.slice(0,t),r[1]=e.slice(t+1))),r}});var gc=C(Qe=>{"use strict";Qe.basename=z0;Qe.dirname=M0;Qe.extname=Y0;Qe.join=G0;Qe.sep="/";function z0(e,r){var t=0,n=-1,a,u,i,o;if(r!==void 0&&typeof r!="string")throw new TypeError('"ext" argument must be a string');if(yr(e),a=e.length,r===void 0||!r.length||r.length>e.length){for(;a--;)if(e.charCodeAt(a)===47){if(i){t=a+1;break}}else n<0&&(i=!0,n=a+1);return n<0?"":e.slice(t,n)}if(r===e)return"";for(u=-1,o=r.length-1;a--;)if(e.charCodeAt(a)===47){if(i){t=a+1;break}}else u<0&&(i=!0,u=a+1),o>-1&&(e.charCodeAt(a)===r.charCodeAt(o--)?o<0&&(n=a):(o=-1,n=u));return t===n?n=u:n<0&&(n=e.length),e.slice(t,n)}function M0(e){var r,t,n;if(yr(e),!e.length)return".";for(r=-1,n=e.length;--n;)if(e.charCodeAt(n)===47){if(t){r=n;break}}else t||(t=!0);return r<0?e.charCodeAt(0)===47?"/":".":r===1&&e.charCodeAt(0)===47?"//":e.slice(0,r)}function Y0(e){var r=-1,t=0,n=-1,a=0,u,i,o;for(yr(e),o=e.length;o--;){if(i=e.charCodeAt(o),i===47){if(u){t=o+1;break}continue}n<0&&(u=!0,n=o+1),i===46?r<0?r=o:a!==1&&(a=1):r>-1&&(a=-1)}return r<0||n<0||a===0||a===1&&r===n-1&&r===t+1?"":e.slice(r,n)}function G0(){for(var e=-1,r;++e2){if(s=t.lastIndexOf("/"),s!==t.length-1){s<0?(t="",n=0):(t=t.slice(0,s),n=t.length-1-t.lastIndexOf("/")),a=i,u=0;continue}}else if(t.length){t="",n=0,a=i,u=0;continue}}r&&(t=t.length?t+"/..":"..",n=2)}else t.length?t+="/"+e.slice(a+1,i):t=e.slice(a+1,i),n=i-a-1;a=i,u=0}else o===46&&u>-1?u++:u=-1}return t}function yr(e){if(typeof e!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(e))}});var Ec=C(vc=>{"use strict";vc.cwd=$0;function $0(){return"/"}});var yc=C((YE,bc)=>{"use strict";var ae=gc(),H0=Ec(),W0=yn();bc.exports=he;var K0={}.hasOwnProperty,wn=["history","path","basename","stem","extname","dirname"];he.prototype.toString=am;Object.defineProperty(he.prototype,"path",{get:J0,set:X0});Object.defineProperty(he.prototype,"dirname",{get:Q0,set:Z0});Object.defineProperty(he.prototype,"basename",{get:em,set:rm});Object.defineProperty(he.prototype,"extname",{get:tm,set:nm});Object.defineProperty(he.prototype,"stem",{get:im,set:um});function he(e){var r,t;if(!e)e={};else if(typeof e=="string"||W0(e))e={contents:e};else if("message"in e&&"messages"in e)return e;if(!(this instanceof he))return new he(e);for(this.data={},this.messages=[],this.history=[],this.cwd=H0.cwd(),t=-1;++t-1)throw new Error("`extname` cannot contain multiple dots")}this.path=ae.join(this.dirname,this.stem+(e||""))}function im(){return typeof this.path=="string"?ae.basename(this.path,this.extname):void 0}function um(e){Bn(e,"stem"),kn(e,"stem"),this.path=ae.join(this.dirname||"",e+(this.extname||""))}function am(e){return(this.contents||"").toString(e)}function kn(e,r){if(e&&e.indexOf(ae.sep)>-1)throw new Error("`"+r+"` cannot be a path: did not expect `"+ae.sep+"`")}function Bn(e,r){if(!e)throw new Error("`"+r+"` cannot be empty")}function Cc(e,r){if(!e)throw new Error("Setting `"+r+"` requires `path` to be set too")}});var xc=C((GE,Ac)=>{"use strict";var om=Fc(),ct=yc();Ac.exports=ct;ct.prototype.message=sm;ct.prototype.info=lm;ct.prototype.fail=cm;function sm(e,r,t){var n=new om(e,r,t);return this.path&&(n.name=this.path+":"+n.name,n.file=this.path),n.fatal=!1,this.messages.push(n),n}function cm(){var e=this.message.apply(this,arguments);throw e.fatal=!0,e}function lm(){var e=this.message.apply(this,arguments);return e.fatal=null,e}});var kc=C((VE,wc)=>{"use strict";wc.exports=xc()});var Ic=C((jE,Lc)=>{"use strict";var Bc=js(),fm=yn(),lt=rc(),qc=nc(),Oc=lc(),Ar=kc();Lc.exports=Pc().freeze();var Dm=[].slice,pm={}.hasOwnProperty,dm=Oc().use(hm).use(mm).use(Fm);function hm(e,r){r.tree=e.parse(r.file)}function mm(e,r,t){e.run(r.tree,r.file,n);function n(a,u,i){a?t(a):(r.tree=u,r.file=i,t())}}function Fm(e,r){var t=e.stringify(r.tree,r.file);t==null||(typeof t=="string"||fm(t)?("value"in r.file&&(r.file.value=t),r.file.contents=t):r.file.result=t)}function Pc(){var e=[],r=Oc(),t={},n=-1,a;return u.data=o,u.freeze=i,u.attachers=e,u.use=s,u.parse=c,u.stringify=h,u.run=f,u.runSync=D,u.process=p,u.processSync=d,u;function u(){for(var m=Pc(),F=-1;++F_i,options:()=>Si,parsers:()=>On,printers:()=>qm});var al=(e,r,t,n)=>{if(!(e&&r==null))return r.replaceAll?r.replaceAll(t,n):t.global?r.replace(t,n):r.split(t).join(n)},N=al;var ol=(e,r,t)=>{if(!(e&&r==null))return Array.isArray(r)||typeof r=="string"?r[t<0?r.length+t:t]:r.at(t)},M=ol;var qi=Ue(wr(),1);function Be(e){if(typeof e!="string")throw new TypeError("Expected a string");return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}var $="string",H="array",ge="cursor",ee="indent",re="align",oe="trim",K="group",J="fill",X="if-break",se="indent-if-break",ce="line-suffix",le="line-suffix-boundary",W="line",fe="label",te="break-parent",kr=new Set([ge,ee,re,oe,K,J,X,se,ce,le,W,fe,te]);function cl(e){if(typeof e=="string")return $;if(Array.isArray(e))return H;if(!e)return;let{type:r}=e;if(kr.has(r))return r}var Y=cl;var ll=e=>new Intl.ListFormat("en-US",{type:"disjunction"}).format(e);function fl(e){let r=e===null?"null":typeof e;if(r!=="string"&&r!=="object")return`Unexpected doc '${r}', +Expected it to be 'string' or 'object'.`;if(Y(e))throw new Error("doc is valid.");let t=Object.prototype.toString.call(e);if(t!=="[object Object]")return`Unexpected doc '${t}'.`;let n=ll([...kr].map(a=>`'${a}'`));return`Unexpected doc.type '${e.type}'. +Expected it to be ${n}.`}var Dt=class extends Error{name="InvalidDocError";constructor(r){super(fl(r)),this.doc=r}},qe=Dt;var Nn={};function Dl(e,r,t,n){let a=[e];for(;a.length>0;){let u=a.pop();if(u===Nn){t(a.pop());continue}t&&a.push(u,Nn);let i=Y(u);if(!i)throw new qe(u);if((r==null?void 0:r(u))!==!1)switch(i){case H:case J:{let o=i===H?u:u.parts;for(let s=o.length,l=s-1;l>=0;--l)a.push(o[l]);break}case X:a.push(u.flatContents,u.breakContents);break;case K:if(n&&u.expandedStates)for(let o=u.expandedStates.length,s=o-1;s>=0;--s)a.push(u.expandedStates[s]);else a.push(u.contents);break;case re:case ee:case se:case fe:case ce:a.push(u.contents);break;case $:case ge:case oe:case le:case W:case te:break;default:throw new qe(u)}}}var Rn=Dl;var Un=()=>{},Te=Un,Br=Un;function Ze(e){return Te(e),{type:ee,contents:e}}function ve(e,r){return Te(r),{type:re,contents:r,n:e}}function ze(e,r={}){return Te(e),Br(r.expandedStates,!0),{type:K,id:r.id,contents:e,break:!!r.shouldBreak,expandedStates:r.expandedStates}}function _e(e){return ve({type:"root"},e)}function Ee(e){return Br(e),{type:J,parts:e}}function zn(e,r="",t={}){return Te(e),r!==""&&Te(r),{type:X,breakContents:e,flatContents:r,groupId:t.groupId}}var er={type:te};var rr={type:W,hard:!0},pl={type:W,hard:!0,literal:!0},qr={type:W},Tr={type:W,soft:!0},L=[rr,er],tr=[pl,er];function _r(e,r){Te(e),Br(r);let t=[];for(let n=0;n0){let r=M(!1,e,-1);!r.expandedStates&&!r.break&&(r.break="propagated")}return null}function Yn(e){let r=new Set,t=[];function n(u){if(u.type===te&&Mn(t),u.type===K){if(t.push(u),r.has(u))return!1;r.add(u)}}function a(u){u.type===K&&t.pop().break&&Mn(t)}Rn(e,n,a,!0)}function Ce(e,r=tr){return dl(e,t=>typeof t=="string"?_r(r,t.split(` +`)):t)}function hl(e,r){let t=e.match(new RegExp(`(${Be(r)})+`,"gu"));return t===null?0:t.reduce((n,a)=>Math.max(n,a.length/r.length),0)}var Sr=hl;function ml(e,r){let t=e.match(new RegExp(`(${Be(r)})+`,"gu"));if(t===null)return 0;let n=new Map,a=0;for(let u of t){let i=u.length/r.length;n.set(i,!0),i>a&&(a=i)}for(let u=1;uu?n:t}var jn=Fl;var pt=class extends Error{name="UnexpectedNodeError";constructor(r,t,n="type"){super(`Unexpected ${t} node ${n}: ${JSON.stringify(r[n])}.`),this.node=r}},$n=pt;var Xn=Ue(wr(),1);function gl(e){return(e==null?void 0:e.type)==="front-matter"}var Hn=gl;var nr=3;function vl(e){let r=e.slice(0,nr);if(r!=="---"&&r!=="+++")return;let t=e.indexOf(` +`,nr);if(t===-1)return;let n=e.slice(nr,t).trim(),a=e.indexOf(` +${r}`,t),u=n;if(u||(u=r==="+++"?"toml":"yaml"),a===-1&&r==="---"&&u==="yaml"&&(a=e.indexOf(` +...`,t)),a===-1)return;let i=a+1+nr,o=e.charAt(i+1);if(!/\s?/u.test(o))return;let s=e.slice(0,i);return{type:"front-matter",language:u,explicitLanguage:n,value:e.slice(t+1,a),startDelimiter:r,endDelimiter:s.slice(-nr),raw:s}}function El(e){let r=vl(e);if(!r)return{content:e};let{raw:t}=r;return{frontMatter:r,content:N(!1,t,/[^\n]/gu," ")+e.slice(t.length)}}var ir=El;var Wn=["format","prettier"];function dt(e){let r=`@(${Wn.join("|")})`,t=new RegExp([``,`\\{\\s*\\/\\*\\s*${r}\\s*\\*\\/\\s*\\}`,``].join("|"),"m"),t=e.match(n);return(t==null?void 0:t.index)===0}var fi=e=>Et(or(e).content.trimStart()),Di=e=>{let r=or(e),n=``;return r.frontMatter?`${r.frontMatter.raw} +.*-->`].join("|"),"mu"),n=e.match(t);return(n==null?void 0:n.index)===0}var Kn=e=>dt(ir(e).content.trimStart()),Jn=e=>{let r=ir(e),t=``;return r.frontMatter?`${r.frontMatter.raw} -${n} +${t} -${r.content}`:`${n} +${r.content}`:`${t} -${r.content}`};var ql=/^.$/su;function Tl(e,r){return e=Sl(e,r),e=Pl(e),e=Ol(e,r),e=Il(e,r),e=Ll(e),e}function Sl(e,r){return be(e,n=>n.type!=="text"||n.value==="*"||n.value==="_"||!ql.test(n.value)||n.position.end.offset-n.position.start.offset===n.value.length?n:{...n,value:r.originalText.slice(n.position.start.offset,n.position.end.offset)})}function _l(e,r,n){return be(e,t=>{if(!t.children)return t;let a=t.children.reduce((i,u)=>{let o=U(!1,i,-1);return o&&r(o,u)?i.splice(-1,1,n(o,u)):i.push(u),i},[]);return{...t,children:a}})}function Pl(e){return _l(e,(r,n)=>r.type==="text"&&n.type==="text",(r,n)=>({type:"text",value:r.value+n.value,position:{start:r.position.start,end:n.position.end}}))}function Ll(e){return be(e,(r,n,[t])=>{if(r.type!=="text")return r;let{value:a}=r;return t.type==="paragraph"&&(n===0&&(a=a.trimStart()),n===t.children.length-1&&(a=a.trimEnd())),{type:"sentence",position:r.position,children:Ir(a)}})}function Ol(e,r){return be(e,(n,t,a)=>{if(n.type==="code"){let i=/^\n?(?: {4,}|\t)/.test(r.originalText.slice(n.position.start.offset,n.position.end.offset));if(n.isIndented=i,i)for(let u=0;u{if(a.type==="list"&&a.children.length>0){for(let o=0;o1)return!0;let s=n(i);if(s===-1)return!1;if(a.children.length===1)return s%r.tabWidth===0;let l=n(u);return s!==l?!1:s%r.tabWidth===0?!0:Re(u,r.originalText).leadingSpaces.length>1}}var pi=Tl;var hi=Ie(wr(),1);function Nl(e){return(e==null?void 0:e.type)==="front-matter"}var di=Nl;var Rl=new Set(["position","raw"]);function mi(e,r,n){if((e.type==="front-matter"||e.type==="code"||e.type==="yaml"||e.type==="import"||e.type==="export"||e.type==="jsx")&&delete r.value,e.type==="list"&&delete r.isAligned,(e.type==="list"||e.type==="listItem")&&delete r.spread,e.type==="text"||(e.type==="inlineCode"&&(r.value=R(!1,e.value,` -`," ")),e.type==="wikiLink"&&(r.value=R(!1,e.value.trim(),/[\t\n]+/g," ")),(e.type==="definition"||e.type==="linkReference"||e.type==="imageReference")&&(r.label=(0,hi.default)(e.label)),(e.type==="definition"||e.type==="link"||e.type==="image")&&e.title&&(r.title=R(!1,e.title,/\\(?=["')])/g,"")),(n==null?void 0:n.type)==="root"&&n.children.length>0&&(n.children[0]===e||di(n.children[0])&&n.children[1]===e)&&e.type==="html"&&Et(e.value)))return null}mi.ignoredProperties=Rl;var gi=mi;var sr=null;function cr(e){if(sr!==null&&typeof sr.property){let r=sr;return sr=cr.prototype=null,r}return sr=cr.prototype=e??Object.create(null),new cr}var zl=10;for(let e=0;e<=zl;e++)cr();function Ct(e){return cr(e)}function Ml(e,r="type"){Ct(e);function n(t){let a=t[r],i=e[a];if(!Array.isArray(i))throw Object.assign(new Error(`Missing visitor keys for '${a}'.`),{node:t});return i}return n}var vi=Ml;var Ul={"front-matter":[],root:["children"],paragraph:["children"],sentence:["children"],word:[],whitespace:[],emphasis:["children"],strong:["children"],delete:["children"],inlineCode:[],wikiLink:[],link:["children"],image:[],blockquote:["children"],heading:["children"],code:[],html:[],list:["children"],thematicBreak:[],linkReference:["children"],imageReference:[],definition:[],footnote:["children"],footnoteReference:[],footnoteDefinition:["children"],table:["children"],tableCell:["children"],break:[],liquidNode:[],import:[],export:[],esComment:[],jsx:[],math:[],inlineMath:[],tableRow:["children"],listItem:["children"],text:[]},Fi=Ul;var Yl=vi(Fi),Ei=Yl;var Vl=new Set(["heading","tableCell","link","wikiLink"]),jl=new Set(`$(\xA3\xA5\xB7'"\u3008\u300A\u300C\u300E\u3010\u3014\u3016\u301D\uFE59\uFE5B\uFF04\uFF08\uFF3B\uFF5B\uFFE1\uFFE5[{\u2035\uFE34\uFE35\uFE37\uFE39\uFE3B\uFE3D\uFE3F\uFE41\uFE43\uFE4F\u3018\uFF5F\xAB`),$l=new Set(`!%),.:;?]}\xA2\xB0\xB7'"\u2020\u2021\u203A\u2103\u2236\u3001\u3002\u3003\u3006\u3015\u3017\u301E\uFE5A\uFE5C\uFF01\uFF02\uFF05\uFF07\uFF09\uFF0C\uFF0E\uFF1A\uFF1B\uFF1F\uFF3D\uFF5D\uFF5E\u2013\u2014\u2022\u3009\u300B\u300D\uFE30\uFE31\uFE32\uFE33\uFE50\uFE51\uFE52\uFE53\uFE54\uFE55\uFE56\uFE58\uFE36\uFE38\uFE3A\uFE3C\uFE3E\uFE40\uFE42\uFE57\uFF5C\uFF64\u300F\u3011\u3019\u301F\uFF60\xBB\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\u2010\u30A0\u301C\uFF5E\u203C\u2047\u2048\u2049\u30FB`),Ci=new Set("!\"#$%&'()*+,-./:;<=>?@[\\]^_`{|}~");function Gl({parent:e}){if(e.usesCJSpaces===void 0){let r={" ":0,"":0},{children:n}=e;for(let t=1;tr[""]}return e.usesCJSpaces}function Hl(e,r){if(r)return!0;let{previous:n,next:t}=e;if(!n||!t)return!0;let a=n.kind,i=t.kind;return xi(a)&&xi(i)||a===Ce&&i===De||i===Ce&&a===De?!0:a===ar||i===ar||a===De&&i===De?!1:Ci.has(t.value[0])||Ci.has(U(!1,n.value,-1))?!0:n.hasTrailingPunctuation||t.hasLeadingPunctuation?!1:Gl(e)}function bi(e){return e===_e||e===De||e===Ce}function xi(e){return e===_e||e===Ce}function Wl(e,r,n,t,a){if(n!=="always"||e.hasAncestor(s=>Vl.has(s.type)))return!1;if(t)return r!=="";if(r===" ")return!0;let{previous:i,next:u}=e;return!(r===""&&((i==null?void 0:i.kind)===Ce&&bi(u==null?void 0:u.kind)||(u==null?void 0:u.kind)===Ce&&bi(i==null?void 0:i.kind))||!a&&(u&&$l.has(u.value[0])||i&&jl.has(U(!1,i.value,-1))))}function bt(e,r,n,t){if(n==="preserve"&&r===` -`)return O;let a=r===" "||r===` -`&&Hl(e,t);return Wl(e,r,n,t,a)?a?_r:rr:a?" ":""}var Kl=new Set(["listItem","definition","footnoteDefinition"]);function Jl(e,r,n){var a,i,u;let{node:t}=e;if(nf(e))return Ir(r.originalText.slice(t.position.start.offset,t.position.end.offset)).map(o=>o.type==="word"?o.value:bt(e,o.value,r.proseWrap,!0));switch(t.type){case"front-matter":return r.originalText.slice(t.position.start.offset,t.position.end.offset);case"root":return t.children.length===0?"":[Qn(ef(e,r,n)),O];case"paragraph":return Y(e,r,n,{postprocessor:Sr});case"sentence":return Y(e,r,n);case"word":{let o=R(!1,R(!1,t.value,"*","\\*"),new RegExp([`(^|${ur})(_+)`,`(_+)(${ur}|$)`].join("|"),"g"),(c,f,D,h,p)=>R(!1,D?`${f}${D}`:`${h}${p}`,"_","\\_")),s=(c,f,D)=>c.type==="sentence"&&D===0,l=(c,f,D)=>Ft(c.children[D-1]);return o!==t.value&&(e.match(void 0,s,l)||e.match(void 0,s,(c,f,D)=>c.type==="emphasis"&&D===0,l))&&(o=o.replace(/^(\\?[*_])+/,c=>R(!1,c,"\\",""))),o}case"whitespace":{let{next:o}=e,s=o&&/^>|^(?:[*+-]|#{1,6}|\d+[).])$/.test(o.value)?"never":r.proseWrap;return bt(e,t.value,s)}case"emphasis":{let o;if(Ft(t.children[0]))o=r.originalText[t.position.start.offset];else{let{previous:s,next:l}=e;o=(s==null?void 0:s.type)==="sentence"&&((a=U(!1,s.children,-1))==null?void 0:a.type)==="word"&&!U(!1,s.children,-1).hasTrailingPunctuation||(l==null?void 0:l.type)==="sentence"&&((i=l.children[0])==null?void 0:i.type)==="word"&&!l.children[0].hasLeadingPunctuation||e.hasAncestor(f=>f.type==="emphasis")?"*":"_"}return[o,Y(e,r,n),o]}case"strong":return["**",Y(e,r,n),"**"];case"delete":return["~~",Y(e,r,n),"~~"];case"inlineCode":{let o=r.proseWrap==="preserve"?t.value:R(!1,t.value,` -`," "),s=Rn(o,"`"),l="`".repeat(s||1),c=o.startsWith("`")||o.endsWith("`")||/^[\n ]/.test(o)&&/[\n ]$/.test(o)&&/[^\n ]/.test(o)?" ":"";return[l,c,o,c,l]}case"wikiLink":{let o="";return r.proseWrap==="preserve"?o=t.value:o=R(!1,t.value,/[\t\n]+/g," "),["[[",o,"]]"]}case"link":switch(r.originalText[t.position.start.offset]){case"<":{let o="mailto:";return["<",t.url.startsWith(o)&&r.originalText.slice(t.position.start.offset+1,t.position.start.offset+1+o.length)!==o?t.url.slice(o.length):t.url,">"]}case"[":return["[",Y(e,r,n),"](",xt(t.url,")"),Rr(t.title,r),")"];default:return r.originalText.slice(t.position.start.offset,t.position.end.offset)}case"image":return["![",t.alt||"","](",xt(t.url,")"),Rr(t.title,r),")"];case"blockquote":return["> ",Fe("> ",Y(e,r,n))];case"heading":return["#".repeat(t.depth)+" ",Y(e,r,n)];case"code":{if(t.isIndented){let l=" ".repeat(4);return Fe(l,[l,Ee(t.value,O)])}let o=r.__inJsTemplate?"~":"`",s=o.repeat(Math.max(3,Ar(t.value,o)+1));return[s,t.lang||"",t.meta?" "+t.meta:"",O,Ee(Nr(t,r.originalText),O),O,s]}case"html":{let{parent:o,isLast:s}=e,l=o.type==="root"&&s?t.value.trimEnd():t.value,c=/^$/s.test(l);return Ee(l,c?O:qe(tr))}case"list":{let o=ki(t,e.parent),s=si(t,r);return Y(e,r,n,{processor(l){let c=D(),f=l.node;if(f.children.length===2&&f.children[1].type==="html"&&f.children[0].position.start.column!==f.children[1].position.start.column)return[c,yi(l,r,n,c)];return[c,Fe(" ".repeat(c.length),yi(l,r,n,c))];function D(){let h=t.ordered?(l.isFirst?t.start:s?1:t.start+l.index)+(o%2===0?". ":") "):o%2===0?"- ":"* ";return t.isAligned||t.hasIndentedCodeblock?Xl(h,r):h}}})}case"thematicBreak":{let{ancestors:o}=e,s=o.findIndex(c=>c.type==="list");return s===-1?"---":ki(o[s],o[s+1])%2===0?"***":"---"}case"linkReference":return["[",Y(e,r,n),"]",t.referenceType==="full"?yt(t):t.referenceType==="collapsed"?"[]":""];case"imageReference":switch(t.referenceType){case"full":return["![",t.alt||"","]",yt(t)];default:return["![",t.alt,"]",t.referenceType==="collapsed"?"[]":""]}case"definition":{let o=r.proseWrap==="always"?_r:" ";return Ze([yt(t),":",Qe([o,xt(t.url),t.title===null?"":[o,Rr(t.title,r,!1)]])])}case"footnote":return["[^",Y(e,r,n),"]"];case"footnoteReference":return qi(t);case"footnoteDefinition":{let o=t.children.length===1&&t.children[0].type==="paragraph"&&(r.proseWrap==="never"||r.proseWrap==="preserve"&&t.children[0].position.start.line===t.children[0].position.end.line);return[qi(t),": ",o?Y(e,r,n):Ze([Fe(" ".repeat(4),Y(e,r,n,{processor:({isFirst:s})=>s?Ze([rr,n()]):n()})),((u=e.next)==null?void 0:u.type)==="footnoteDefinition"?rr:""])]}case"table":return Zl(e,r,n);case"tableCell":return Y(e,r,n);case"break":return/\s/.test(r.originalText[t.position.start.offset])?[" ",qe(tr)]:["\\",O];case"liquidNode":return Ee(t.value,O);case"import":case"export":case"jsx":return t.value;case"esComment":return["{/* ",t.value," */}"];case"math":return["$$",O,t.value?[Ee(t.value,O),O]:"","$$"];case"inlineMath":return r.originalText.slice(Te(t),Se(t));case"tableRow":case"listItem":case"text":default:throw new ti(t,"Markdown")}}function yi(e,r,n,t){let{node:a}=e,i=a.checked===null?"":a.checked?"[x] ":"[ ] ";return[i,Y(e,r,n,{processor({node:u,isFirst:o}){if(o&&u.type!=="list")return Fe(" ".repeat(i.length),n());let s=" ".repeat(uf(r.tabWidth-t.length,0,3));return[s,Fe(s,n())]}})]}function Xl(e,r){let n=t();return e+" ".repeat(n>=4?0:n);function t(){let a=e.length%r.tabWidth;return a===0?0:r.tabWidth-a}}function ki(e,r){return Ql(e,r,n=>n.ordered===e.ordered)}function Ql(e,r,n){let t=-1;for(let a of r.children)if(a.type===e.type&&n(a)?t++:t=-1,a===e)return t}function Zl(e,r,n){let{node:t}=e,a=[],i=e.map(()=>e.map(({index:f})=>{let D=ri(n(),r).formatted,h=Xe(D);return a[f]=Math.max(a[f]||3,h),{text:D,width:h}},"children"),"children"),u=s(!1);if(r.proseWrap!=="never")return[er,u];let o=s(!0);return[er,Ze(Gn(o,u))];function s(f){let D=[c(i[0],f),l(f)];return i.length>1&&D.push(nr(Ne,i.slice(1).map(h=>c(h,f)))),nr(Ne,D)}function l(f){return`| ${a.map((h,p)=>{let d=t.align[p],m=d==="center"||d==="left"?":":"-",g=d==="center"||d==="right"?":":"-",x=f?"-":"-".repeat(h-2);return`${m}${x}${g}`}).join(" | ")} |`}function c(f,D){return`| ${f.map(({text:p,width:d},m)=>{if(D)return p;let g=a[m]-d,x=t.align[m],F=0;x==="right"?F=g:x==="center"&&(F=Math.floor(g/2));let B=g-F;return`${" ".repeat(F)}${p}${" ".repeat(B)}`}).join(" | ")} |`}}function ef(e,r,n){let t=[],a=null,{children:i}=e.node;for(let[u,o]of i.entries())switch(kt(o)){case"start":a===null&&(a={index:u,offset:o.position.end.offset});break;case"end":a!==null&&(t.push({start:a,end:{index:u,offset:o.position.start.offset}}),a=null);break;default:break}return Y(e,r,n,{processor({index:u}){if(t.length>0){let o=t[0];if(u===o.start.index)return[wi(i[o.start.index]),r.originalText.slice(o.start.offset,o.end.offset),wi(i[o.end.index])];if(o.start.indexo,processor:i=()=>n()}=t,u=[];return e.each(()=>{let o=i(e);o!==!1&&(u.length>0&&rf(e)&&(u.push(O),(tf(e,r)||Bi(e))&&u.push(O),Bi(e)&&u.push(O)),u.push(o))},"children"),a(u)}function wi(e){if(e.type==="html")return e.value;if(e.type==="paragraph"&&Array.isArray(e.children)&&e.children.length===1&&e.children[0].type==="esComment")return["{/* ",e.children[0].value," */}"]}function kt(e){let r;if(e.type==="html")r=e.value.match(/^$/);else{let n;e.type==="esComment"?n=e:e.type==="paragraph"&&e.children.length===1&&e.children[0].type==="esComment"&&(n=e.children[0]),n&&(r=n.value.match(/^prettier-ignore(?:-(start|end))?$/))}return r?r[1]||"next":!1}function rf({node:e,parent:r}){let n=vt.has(e.type),t=e.type==="html"&&Or.has(r.type);return!n&&!t}function Ai(e,r){return e.type==="listItem"&&(e.spread||r.originalText.charAt(e.position.end.offset-1)===` -`)}function tf({node:e,previous:r,parent:n},t){if(Ai(r,t))return!0;let u=r.type===e.type&&Kl.has(e.type),o=n.type==="listItem"&&!Ai(n,t),s=kt(r)==="next",l=e.type==="html"&&r.type==="html"&&r.position.end.line+1===e.position.start.line,c=e.type==="html"&&n.type==="listItem"&&r.type==="paragraph"&&r.position.end.line+1===e.position.start.line;return!(u||o||s||l||c)}function Bi({node:e,previous:r}){let n=r.type==="list",t=e.type==="code"&&e.isIndented;return n&&t}function nf(e){let r=e.findAncestor(n=>n.type==="linkReference"||n.type==="imageReference");return r&&(r.type!=="linkReference"||r.referenceType!=="full")}function xt(e,r=[]){let n=[" ",...Array.isArray(r)?r:[r]];return new RegExp(n.map(t=>`\\${t}`).join("|")).test(e)?`<${e}>`:e}function Rr(e,r,n=!0){if(!e)return"";if(n)return" "+Rr(e,r,!1);if(e=R(!1,e,/\\(?=["')])/g,""),e.includes('"')&&e.includes("'")&&!e.includes(")"))return`(${e})`;let t=Yn(e,r.singleQuote);return e=R(!1,e,"\\","\\\\"),e=R(!1,e,t,`\\${t}`),`${t}${e}${t}`}function uf(e,r,n){return en?n:e}function af(e){return e.index>0&&kt(e.previous)==="next"}function yt(e){return`[${(0,Ti.default)(e.label)}]`}function qi(e){return`[^${e.label}]`}var of={preprocess:pi,print:Jl,embed:ci,massageAstNode:gi,hasPrettierIgnore:af,insertPragma:Di,getVisitorKeys:Ei},Si=of;var ft={};On(ft,{markdown:()=>xg,mdx:()=>yg,remark:()=>xg});var Hc=Ie(ws(),1),Wc=Ie(Fc(),1),Kc=Ie(Pc(),1),Jc=Ie(Oc(),1);var hg=/^import\s/,mg=/^export\s/,Ic="[a-z][a-z0-9]*(\\.[a-z][a-z0-9]*)*|",Nc=/|/,gg=/^{\s*\/\*(.*)\*\/\s*}/,vg=` +${r.content}`};var Cl=new Set(["position","raw"]);function Qn(e,r,t){if((e.type==="front-matter"||e.type==="code"||e.type==="yaml"||e.type==="import"||e.type==="export"||e.type==="jsx")&&delete r.value,e.type==="list"&&delete r.isAligned,(e.type==="list"||e.type==="listItem")&&delete r.spread,e.type==="text")return null;if(e.type==="inlineCode"&&(r.value=N(!1,e.value,` +`," ")),e.type==="wikiLink"&&(r.value=N(!1,e.value.trim(),/[\t\n]+/gu," ")),(e.type==="definition"||e.type==="linkReference"||e.type==="imageReference")&&(r.label=(0,Xn.default)(e.label)),(e.type==="link"||e.type==="image")&&e.url&&e.url.includes("("))for(let n of"<>")r.url=N(!1,e.url,n,encodeURIComponent(n));if((e.type==="definition"||e.type==="link"||e.type==="image")&&e.title&&(r.title=N(!1,e.title,/\\(?=["')])/gu,"")),(t==null?void 0:t.type)==="root"&&t.children.length>0&&(t.children[0]===e||Hn(t.children[0])&&t.children[1]===e)&&e.type==="html"&&dt(e.value))return null}Qn.ignoredProperties=Cl;var Zn=Qn;var ei=/(?:[\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-\u4dbf\u4e00-\u9fff\ua700-\ua707\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\ud880-\ud883\ud885-\ud887][\udc00-\udfff]|\ud81b[\udfe3]|\ud82b[\udff0-\udff3\udff5-\udffb\udffd-\udffe]|\ud82c[\udc00-\udd22\udd32\udd50-\udd52\udd55\udd64-\udd67]|\ud83c[\ude00\ude50-\ude51]|\ud869[\udc00-\udedf\udf00-\udfff]|\ud86d[\udc00-\udf39\udf40-\udfff]|\ud86e[\udc00-\udc1d\udc20-\udfff]|\ud873[\udc00-\udea1\udeb0-\udfff]|\ud87a[\udc00-\udfe0]|\ud87e[\udc00-\ude1d]|\ud884[\udc00-\udf4a\udf50-\udfff]|\ud888[\udc00-\udfaf])(?:[\ufe00-\ufe0f]|\udb40[\udd00-\uddef])?/u,Se=/(?:[\u0021-\u002f\u003a-\u0040\u005b-\u0060\u007b-\u007e]|\p{General_Category=Connector_Punctuation}|\p{General_Category=Dash_Punctuation}|\p{General_Category=Close_Punctuation}|\p{General_Category=Final_Punctuation}|\p{General_Category=Initial_Punctuation}|\p{General_Category=Other_Punctuation}|\p{General_Category=Open_Punctuation})/u;async function bl(e,r){if(e.language==="yaml"){let t=e.value.trim(),n=t?await r(t,{parser:"yaml"}):"";return _e([e.startDelimiter,e.explicitLanguage,L,n,n?L:"",e.endDelimiter])}}var ri=bl;var yl=e=>String(e).split(/[/\\]/u).pop();function ti(e,r){if(!r)return;let t=yl(r).toLowerCase();return e.find(({filenames:n})=>n==null?void 0:n.some(a=>a.toLowerCase()===t))??e.find(({extensions:n})=>n==null?void 0:n.some(a=>t.endsWith(a)))}function Al(e,r){if(r)return e.find(({name:t})=>t.toLowerCase()===r)??e.find(({aliases:t})=>t==null?void 0:t.includes(r))??e.find(({extensions:t})=>t==null?void 0:t.includes(`.${r}`))}function xl(e,r){let t=e.plugins.flatMap(a=>a.languages??[]),n=Al(t,r.language)??ti(t,r.physicalFile)??ti(t,r.file)??(r.physicalFile,void 0);return n==null?void 0:n.parsers[0]}var ni=xl;var wl=new Proxy(()=>{},{get:()=>wl});function Oe(e){return e.position.start.offset}function Pe(e){return e.position.end.offset}var ht=new Set(["liquidNode","inlineCode","emphasis","esComment","strong","delete","wikiLink","link","linkReference","image","imageReference","footnote","footnoteReference","sentence","whitespace","word","break","inlineMath"]),Pr=new Set([...ht,"tableCell","paragraph","heading"]),Le="non-cjk",De="cj-letter",be="k-letter",ur="cjk-punctuation",kl=/\p{Script_Extensions=Hangul}/u;function Lr(e){let r=[],t=e.split(/([\t\n ]+)/u);for(let[a,u]of t.entries()){if(a%2===1){r.push({type:"whitespace",value:/\n/u.test(u)?` +`:" "});continue}if((a===0||a===t.length-1)&&u==="")continue;let i=u.split(new RegExp(`(${ei.source})`,"u"));for(let[o,s]of i.entries())if(!((o===0||o===i.length-1)&&s==="")){if(o%2===0){s!==""&&n({type:"word",value:s,kind:Le,hasLeadingPunctuation:Se.test(s[0]),hasTrailingPunctuation:Se.test(M(!1,s,-1))});continue}n(Se.test(s)?{type:"word",value:s,kind:ur,hasLeadingPunctuation:!0,hasTrailingPunctuation:!0}:{type:"word",value:s,kind:kl.test(s)?be:De,hasLeadingPunctuation:!1,hasTrailingPunctuation:!1})}}return r;function n(a){let u=M(!1,r,-1);(u==null?void 0:u.type)==="word"&&!i(Le,ur)&&![u.value,a.value].some(o=>/\u3000/u.test(o))&&r.push({type:"whitespace",value:""}),r.push(a);function i(o,s){return u.kind===o&&a.kind===s||u.kind===s&&a.kind===o}}}function Me(e,r){let t=r.originalText.slice(e.position.start.offset,e.position.end.offset),{numberText:n,leadingSpaces:a}=t.match(/^\s*(?\d+)(\.|\))(?\s*)/u).groups;return{number:Number(n),leadingSpaces:a}}function ii(e,r){return!e.ordered||e.children.length<2||Me(e.children[1],r).number!==1?!1:Me(e.children[0],r).number!==0?!0:e.children.length>2&&Me(e.children[2],r).number===1}function Ir(e,r){let{value:t}=e;return e.position.end.offset===r.length&&t.endsWith(` +`)&&r.endsWith(` +`)?t.slice(0,-1):t}function ye(e,r){return function t(n,a,u){let i={...r(n,a,u)};return i.children&&(i.children=i.children.map((o,s)=>t(o,s,[i,...u]))),i}(e,null,[])}function mt(e){if((e==null?void 0:e.type)!=="link"||e.children.length!==1)return!1;let[r]=e.children;return Oe(e)===Oe(r)&&Pe(e)===Pe(r)}function Bl(e,r){let{node:t}=e;if(t.type==="code"&&t.lang!==null){let n=ni(r,{language:t.lang});if(n)return async a=>{let u=r.__inJsTemplate?"~":"`",i=u.repeat(Math.max(3,Sr(t.value,u)+1)),o={parser:n};t.lang==="ts"||t.lang==="typescript"?o.filepath="dummy.ts":t.lang==="tsx"&&(o.filepath="dummy.tsx");let s=await a(Ir(t,r.originalText),o);return _e([i,t.lang,t.meta?" "+t.meta:"",L,Ce(s),L,i])}}switch(t.type){case"front-matter":return n=>ri(t,n);case"import":case"export":return n=>n(t.value,{parser:"babel"});case"jsx":return n=>n(`<$>${t.value}`,{parser:"__js_expression",rootMarker:"mdx"})}return null}var ui=Bl;var ar=null;function or(e){if(ar!==null&&typeof ar.property){let r=ar;return ar=or.prototype=null,r}return ar=or.prototype=e??Object.create(null),new or}var ql=10;for(let e=0;e<=ql;e++)or();function Ft(e){return or(e)}function Tl(e,r="type"){Ft(e);function t(n){let a=n[r],u=e[a];if(!Array.isArray(u))throw Object.assign(new Error(`Missing visitor keys for '${a}'.`),{node:n});return u}return t}var ai=Tl;var _l={"front-matter":[],root:["children"],paragraph:["children"],sentence:["children"],word:[],whitespace:[],emphasis:["children"],strong:["children"],delete:["children"],inlineCode:[],wikiLink:[],link:["children"],image:[],blockquote:["children"],heading:["children"],code:[],html:[],list:["children"],thematicBreak:[],linkReference:["children"],imageReference:[],definition:[],footnote:["children"],footnoteReference:[],footnoteDefinition:["children"],table:["children"],tableCell:["children"],break:[],liquidNode:[],import:[],export:[],esComment:[],jsx:[],math:[],inlineMath:[],tableRow:["children"],listItem:["children"],text:[]},oi=_l;var Sl=ai(oi),si=Sl;function ci(e){switch(e){case"cr":return"\r";case"crlf":return`\r +`;default:return` +`}}var li=()=>/[#*0-9]\uFE0F?\u20E3|[\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u231A\u231B\u2328\u23CF\u23ED-\u23EF\u23F1\u23F2\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB\u25FC\u25FE\u2600-\u2604\u260E\u2611\u2614\u2615\u2618\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638-\u263A\u2640\u2642\u2648-\u2653\u265F\u2660\u2663\u2665\u2666\u2668\u267B\u267E\u267F\u2692\u2694-\u2697\u2699\u269B\u269C\u26A0\u26A7\u26AA\u26B0\u26B1\u26BD\u26BE\u26C4\u26C8\u26CF\u26D1\u26E9\u26F0-\u26F5\u26F7\u26F8\u26FA\u2702\u2708\u2709\u270F\u2712\u2714\u2716\u271D\u2721\u2733\u2734\u2744\u2747\u2757\u2763\u27A1\u2934\u2935\u2B05-\u2B07\u2B1B\u2B1C\u2B55\u3030\u303D\u3297\u3299]\uFE0F?|[\u261D\u270C\u270D](?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?|[\u270A\u270B](?:\uD83C[\uDFFB-\uDFFF])?|[\u23E9-\u23EC\u23F0\u23F3\u25FD\u2693\u26A1\u26AB\u26C5\u26CE\u26D4\u26EA\u26FD\u2705\u2728\u274C\u274E\u2753-\u2755\u2795-\u2797\u27B0\u27BF\u2B50]|\u26D3\uFE0F?(?:\u200D\uD83D\uDCA5)?|\u26F9(?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|\u2764\uFE0F?(?:\u200D(?:\uD83D\uDD25|\uD83E\uDE79))?|\uD83C(?:[\uDC04\uDD70\uDD71\uDD7E\uDD7F\uDE02\uDE37\uDF21\uDF24-\uDF2C\uDF36\uDF7D\uDF96\uDF97\uDF99-\uDF9B\uDF9E\uDF9F\uDFCD\uDFCE\uDFD4-\uDFDF\uDFF5\uDFF7]\uFE0F?|[\uDF85\uDFC2\uDFC7](?:\uD83C[\uDFFB-\uDFFF])?|[\uDFC4\uDFCA](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDFCB\uDFCC](?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDCCF\uDD8E\uDD91-\uDD9A\uDE01\uDE1A\uDE2F\uDE32-\uDE36\uDE38-\uDE3A\uDE50\uDE51\uDF00-\uDF20\uDF2D-\uDF35\uDF37-\uDF43\uDF45-\uDF4A\uDF4C-\uDF7C\uDF7E-\uDF84\uDF86-\uDF93\uDFA0-\uDFC1\uDFC5\uDFC6\uDFC8\uDFC9\uDFCF-\uDFD3\uDFE0-\uDFF0\uDFF8-\uDFFF]|\uDDE6\uD83C[\uDDE8-\uDDEC\uDDEE\uDDF1\uDDF2\uDDF4\uDDF6-\uDDFA\uDDFC\uDDFD\uDDFF]|\uDDE7\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEF\uDDF1-\uDDF4\uDDF6-\uDDF9\uDDFB\uDDFC\uDDFE\uDDFF]|\uDDE8\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDEE\uDDF0-\uDDF5\uDDF7\uDDFA-\uDDFF]|\uDDE9\uD83C[\uDDEA\uDDEC\uDDEF\uDDF0\uDDF2\uDDF4\uDDFF]|\uDDEA\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDED\uDDF7-\uDDFA]|\uDDEB\uD83C[\uDDEE-\uDDF0\uDDF2\uDDF4\uDDF7]|\uDDEC\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEE\uDDF1-\uDDF3\uDDF5-\uDDFA\uDDFC\uDDFE]|\uDDED\uD83C[\uDDF0\uDDF2\uDDF3\uDDF7\uDDF9\uDDFA]|\uDDEE\uD83C[\uDDE8-\uDDEA\uDDF1-\uDDF4\uDDF6-\uDDF9]|\uDDEF\uD83C[\uDDEA\uDDF2\uDDF4\uDDF5]|\uDDF0\uD83C[\uDDEA\uDDEC-\uDDEE\uDDF2\uDDF3\uDDF5\uDDF7\uDDFC\uDDFE\uDDFF]|\uDDF1\uD83C[\uDDE6-\uDDE8\uDDEE\uDDF0\uDDF7-\uDDFB\uDDFE]|\uDDF2\uD83C[\uDDE6\uDDE8-\uDDED\uDDF0-\uDDFF]|\uDDF3\uD83C[\uDDE6\uDDE8\uDDEA-\uDDEC\uDDEE\uDDF1\uDDF4\uDDF5\uDDF7\uDDFA\uDDFF]|\uDDF4\uD83C\uDDF2|\uDDF5\uD83C[\uDDE6\uDDEA-\uDDED\uDDF0-\uDDF3\uDDF7-\uDDF9\uDDFC\uDDFE]|\uDDF6\uD83C\uDDE6|\uDDF7\uD83C[\uDDEA\uDDF4\uDDF8\uDDFA\uDDFC]|\uDDF8\uD83C[\uDDE6-\uDDEA\uDDEC-\uDDF4\uDDF7-\uDDF9\uDDFB\uDDFD-\uDDFF]|\uDDF9\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDED\uDDEF-\uDDF4\uDDF7\uDDF9\uDDFB\uDDFC\uDDFF]|\uDDFA\uD83C[\uDDE6\uDDEC\uDDF2\uDDF3\uDDF8\uDDFE\uDDFF]|\uDDFB\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDEE\uDDF3\uDDFA]|\uDDFC\uD83C[\uDDEB\uDDF8]|\uDDFD\uD83C\uDDF0|\uDDFE\uD83C[\uDDEA\uDDF9]|\uDDFF\uD83C[\uDDE6\uDDF2\uDDFC]|\uDF44(?:\u200D\uD83D\uDFEB)?|\uDF4B(?:\u200D\uD83D\uDFE9)?|\uDFC3(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?|\uDFF3\uFE0F?(?:\u200D(?:\u26A7\uFE0F?|\uD83C\uDF08))?|\uDFF4(?:\u200D\u2620\uFE0F?|\uDB40\uDC67\uDB40\uDC62\uDB40(?:\uDC65\uDB40\uDC6E\uDB40\uDC67|\uDC73\uDB40\uDC63\uDB40\uDC74|\uDC77\uDB40\uDC6C\uDB40\uDC73)\uDB40\uDC7F)?)|\uD83D(?:[\uDC3F\uDCFD\uDD49\uDD4A\uDD6F\uDD70\uDD73\uDD76-\uDD79\uDD87\uDD8A-\uDD8D\uDDA5\uDDA8\uDDB1\uDDB2\uDDBC\uDDC2-\uDDC4\uDDD1-\uDDD3\uDDDC-\uDDDE\uDDE1\uDDE3\uDDE8\uDDEF\uDDF3\uDDFA\uDECB\uDECD-\uDECF\uDEE0-\uDEE5\uDEE9\uDEF0\uDEF3]\uFE0F?|[\uDC42\uDC43\uDC46-\uDC50\uDC66\uDC67\uDC6B-\uDC6D\uDC72\uDC74-\uDC76\uDC78\uDC7C\uDC83\uDC85\uDC8F\uDC91\uDCAA\uDD7A\uDD95\uDD96\uDE4C\uDE4F\uDEC0\uDECC](?:\uD83C[\uDFFB-\uDFFF])?|[\uDC6E\uDC70\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4\uDEB5](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDD74\uDD90](?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?|[\uDC00-\uDC07\uDC09-\uDC14\uDC16-\uDC25\uDC27-\uDC3A\uDC3C-\uDC3E\uDC40\uDC44\uDC45\uDC51-\uDC65\uDC6A\uDC79-\uDC7B\uDC7D-\uDC80\uDC84\uDC88-\uDC8E\uDC90\uDC92-\uDCA9\uDCAB-\uDCFC\uDCFF-\uDD3D\uDD4B-\uDD4E\uDD50-\uDD67\uDDA4\uDDFB-\uDE2D\uDE2F-\uDE34\uDE37-\uDE41\uDE43\uDE44\uDE48-\uDE4A\uDE80-\uDEA2\uDEA4-\uDEB3\uDEB7-\uDEBF\uDEC1-\uDEC5\uDED0-\uDED2\uDED5-\uDED7\uDEDC-\uDEDF\uDEEB\uDEEC\uDEF4-\uDEFC\uDFE0-\uDFEB\uDFF0]|\uDC08(?:\u200D\u2B1B)?|\uDC15(?:\u200D\uD83E\uDDBA)?|\uDC26(?:\u200D(?:\u2B1B|\uD83D\uDD25))?|\uDC3B(?:\u200D\u2744\uFE0F?)?|\uDC41\uFE0F?(?:\u200D\uD83D\uDDE8\uFE0F?)?|\uDC68(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDC68\uDC69]\u200D\uD83D(?:\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?)|[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?)|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFC-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFD-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFD\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFE])))?))?|\uDC69(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?[\uDC68\uDC69]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?|\uDC69\u200D\uD83D(?:\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?))|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFC-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB\uDFFD-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB-\uDFFD\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB-\uDFFE])))?))?|\uDC6F(?:\u200D[\u2640\u2642]\uFE0F?)?|\uDD75(?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|\uDE2E(?:\u200D\uD83D\uDCA8)?|\uDE35(?:\u200D\uD83D\uDCAB)?|\uDE36(?:\u200D\uD83C\uDF2B\uFE0F?)?|\uDE42(?:\u200D[\u2194\u2195]\uFE0F?)?|\uDEB6(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?)|\uD83E(?:[\uDD0C\uDD0F\uDD18-\uDD1F\uDD30-\uDD34\uDD36\uDD77\uDDB5\uDDB6\uDDBB\uDDD2\uDDD3\uDDD5\uDEC3-\uDEC5\uDEF0\uDEF2-\uDEF8](?:\uD83C[\uDFFB-\uDFFF])?|[\uDD26\uDD35\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD\uDDCF\uDDD4\uDDD6-\uDDDD](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDDDE\uDDDF](?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDD0D\uDD0E\uDD10-\uDD17\uDD20-\uDD25\uDD27-\uDD2F\uDD3A\uDD3F-\uDD45\uDD47-\uDD76\uDD78-\uDDB4\uDDB7\uDDBA\uDDBC-\uDDCC\uDDD0\uDDE0-\uDDFF\uDE70-\uDE7C\uDE80-\uDE88\uDE90-\uDEBD\uDEBF-\uDEC2\uDECE-\uDEDB\uDEE0-\uDEE8]|\uDD3C(?:\u200D[\u2640\u2642]\uFE0F?|\uD83C[\uDFFB-\uDFFF])?|\uDDCE(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?|\uDDD1(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1|\uDDD1\u200D\uD83E\uDDD2(?:\u200D\uD83E\uDDD2)?|\uDDD2(?:\u200D\uD83E\uDDD2)?))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFC-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB\uDFFD-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB-\uDFFD\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB-\uDFFE]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?))?|\uDEF1(?:\uD83C(?:\uDFFB(?:\u200D\uD83E\uDEF2\uD83C[\uDFFC-\uDFFF])?|\uDFFC(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB\uDFFD-\uDFFF])?|\uDFFD(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])?|\uDFFE(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB-\uDFFD\uDFFF])?|\uDFFF(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB-\uDFFE])?))?)/g;function fi(e){return e===12288||e>=65281&&e<=65376||e>=65504&&e<=65510}function Di(e){return e>=4352&&e<=4447||e===8986||e===8987||e===9001||e===9002||e>=9193&&e<=9196||e===9200||e===9203||e===9725||e===9726||e===9748||e===9749||e>=9800&&e<=9811||e===9855||e===9875||e===9889||e===9898||e===9899||e===9917||e===9918||e===9924||e===9925||e===9934||e===9940||e===9962||e===9970||e===9971||e===9973||e===9978||e===9981||e===9989||e===9994||e===9995||e===10024||e===10060||e===10062||e>=10067&&e<=10069||e===10071||e>=10133&&e<=10135||e===10160||e===10175||e===11035||e===11036||e===11088||e===11093||e>=11904&&e<=11929||e>=11931&&e<=12019||e>=12032&&e<=12245||e>=12272&&e<=12287||e>=12289&&e<=12350||e>=12353&&e<=12438||e>=12441&&e<=12543||e>=12549&&e<=12591||e>=12593&&e<=12686||e>=12688&&e<=12771||e>=12783&&e<=12830||e>=12832&&e<=12871||e>=12880&&e<=19903||e>=19968&&e<=42124||e>=42128&&e<=42182||e>=43360&&e<=43388||e>=44032&&e<=55203||e>=63744&&e<=64255||e>=65040&&e<=65049||e>=65072&&e<=65106||e>=65108&&e<=65126||e>=65128&&e<=65131||e>=94176&&e<=94180||e===94192||e===94193||e>=94208&&e<=100343||e>=100352&&e<=101589||e>=101632&&e<=101640||e>=110576&&e<=110579||e>=110581&&e<=110587||e===110589||e===110590||e>=110592&&e<=110882||e===110898||e>=110928&&e<=110930||e===110933||e>=110948&&e<=110951||e>=110960&&e<=111355||e===126980||e===127183||e===127374||e>=127377&&e<=127386||e>=127488&&e<=127490||e>=127504&&e<=127547||e>=127552&&e<=127560||e===127568||e===127569||e>=127584&&e<=127589||e>=127744&&e<=127776||e>=127789&&e<=127797||e>=127799&&e<=127868||e>=127870&&e<=127891||e>=127904&&e<=127946||e>=127951&&e<=127955||e>=127968&&e<=127984||e===127988||e>=127992&&e<=128062||e===128064||e>=128066&&e<=128252||e>=128255&&e<=128317||e>=128331&&e<=128334||e>=128336&&e<=128359||e===128378||e===128405||e===128406||e===128420||e>=128507&&e<=128591||e>=128640&&e<=128709||e===128716||e>=128720&&e<=128722||e>=128725&&e<=128727||e>=128732&&e<=128735||e===128747||e===128748||e>=128756&&e<=128764||e>=128992&&e<=129003||e===129008||e>=129292&&e<=129338||e>=129340&&e<=129349||e>=129351&&e<=129535||e>=129648&&e<=129660||e>=129664&&e<=129672||e>=129680&&e<=129725||e>=129727&&e<=129733||e>=129742&&e<=129755||e>=129760&&e<=129768||e>=129776&&e<=129784||e>=131072&&e<=196605||e>=196608&&e<=262141}var pi=e=>!(fi(e)||Di(e));var Ol=/[^\x20-\x7F]/u;function Pl(e){if(!e)return 0;if(!Ol.test(e))return e.length;e=e.replace(li()," ");let r=0;for(let t of e){let n=t.codePointAt(0);n<=31||n>=127&&n<=159||n>=768&&n<=879||(r+=pi(n)?1:2)}return r}var sr=Pl;var G=Symbol("MODE_BREAK"),ne=Symbol("MODE_FLAT"),cr=Symbol("cursor");function di(){return{value:"",length:0,queue:[]}}function Ll(e,r){return gt(e,{type:"indent"},r)}function Il(e,r,t){return r===Number.NEGATIVE_INFINITY?e.root||di():r<0?gt(e,{type:"dedent"},t):r?r.type==="root"?{...e,root:e}:gt(e,{type:typeof r=="string"?"stringAlign":"numberAlign",n:r},t):e}function gt(e,r,t){let n=r.type==="dedent"?e.queue.slice(0,-1):[...e.queue,r],a="",u=0,i=0,o=0;for(let p of n)switch(p.type){case"indent":c(),t.useTabs?s(1):l(t.tabWidth);break;case"stringAlign":c(),a+=p.n,u+=p.n.length;break;case"numberAlign":i+=1,o+=p.n;break;default:throw new Error(`Unexpected type '${p.type}'`)}return D(),{...e,value:a,length:u,queue:n};function s(p){a+=" ".repeat(p),u+=t.tabWidth*p}function l(p){a+=" ".repeat(p),u+=p}function c(){t.useTabs?f():D()}function f(){i>0&&s(i),h()}function D(){o>0&&l(o),h()}function h(){i=0,o=0}}function vt(e){let r=0,t=0,n=e.length;e:for(;n--;){let a=e[n];if(a===cr){t++;continue}for(let u=a.length-1;u>=0;u--){let i=a[u];if(i===" "||i===" ")r++;else{e[n]=a.slice(0,u+1);break e}}}if(r>0||t>0)for(e.length=n+1;t-- >0;)e.push(cr);return r}function Nr(e,r,t,n,a,u){if(t===Number.POSITIVE_INFINITY)return!0;let i=r.length,o=[e],s=[];for(;t>=0;){if(o.length===0){if(i===0)return!0;o.push(r[--i]);continue}let{mode:l,doc:c}=o.pop(),f=Y(c);switch(f){case $:s.push(c),t-=sr(c);break;case H:case J:{let D=f===H?c:c.parts;for(let h=D.length-1;h>=0;h--)o.push({mode:l,doc:D[h]});break}case ee:case re:case se:case fe:o.push({mode:l,doc:c.contents});break;case oe:t+=vt(s);break;case K:{if(u&&c.break)return!1;let D=c.break?G:l,h=c.expandedStates&&D===G?M(!1,c.expandedStates,-1):c.contents;o.push({mode:D,doc:h});break}case X:{let h=(c.groupId?a[c.groupId]||ne:l)===G?c.breakContents:c.flatContents;h&&o.push({mode:l,doc:h});break}case W:if(l===G||c.hard)return!0;c.soft||(s.push(" "),t--);break;case ce:n=!0;break;case le:if(n)return!1;break}}return!1}function hi(e,r){let t={},n=r.printWidth,a=ci(r.endOfLine),u=0,i=[{ind:di(),mode:G,doc:e}],o=[],s=!1,l=[],c=0;for(Yn(e);i.length>0;){let{ind:D,mode:h,doc:p}=i.pop();switch(Y(p)){case $:{let d=a!==` +`?N(!1,p,` +`,a):p;o.push(d),i.length>0&&(u+=sr(d));break}case H:for(let d=p.length-1;d>=0;d--)i.push({ind:D,mode:h,doc:p[d]});break;case ge:if(c>=2)throw new Error("There are too many 'cursor' in doc.");o.push(cr),c++;break;case ee:i.push({ind:Ll(D,r),mode:h,doc:p.contents});break;case re:i.push({ind:Il(D,p.n,r),mode:h,doc:p.contents});break;case oe:u-=vt(o);break;case K:switch(h){case ne:if(!s){i.push({ind:D,mode:p.break?G:ne,doc:p.contents});break}case G:{s=!1;let d={ind:D,mode:ne,doc:p.contents},m=n-u,F=l.length>0;if(!p.break&&Nr(d,i,m,F,t))i.push(d);else if(p.expandedStates){let y=M(!1,p.expandedStates,-1);if(p.break){i.push({ind:D,mode:G,doc:y});break}else for(let E=1;E=p.expandedStates.length){i.push({ind:D,mode:G,doc:y});break}else{let B=p.expandedStates[E],b={ind:D,mode:ne,doc:B};if(Nr(b,i,m,F,t)){i.push(b);break}}}else i.push({ind:D,mode:G,doc:p.contents});break}}p.id&&(t[p.id]=M(!1,i,-1).mode);break;case J:{let d=n-u,{parts:m}=p;if(m.length===0)break;let[F,y]=m,E={ind:D,mode:ne,doc:F},B={ind:D,mode:G,doc:F},b=Nr(E,[],d,l.length>0,t,!0);if(m.length===1){b?i.push(E):i.push(B);break}let g={ind:D,mode:ne,doc:y},A={ind:D,mode:G,doc:y};if(m.length===2){b?i.push(g,E):i.push(A,B);break}m.splice(0,2);let x={ind:D,mode:h,doc:Ee(m)},v=m[0];Nr({ind:D,mode:ne,doc:[F,y,v]},[],d,l.length>0,t,!0)?i.push(x,g,E):b?i.push(x,A,E):i.push(x,A,B);break}case X:case se:{let d=p.groupId?t[p.groupId]:h;if(d===G){let m=p.type===X?p.breakContents:p.negate?p.contents:Ze(p.contents);m&&i.push({ind:D,mode:h,doc:m})}if(d===ne){let m=p.type===X?p.flatContents:p.negate?Ze(p.contents):p.contents;m&&i.push({ind:D,mode:h,doc:m})}break}case ce:l.push({ind:D,mode:h,doc:p.contents});break;case le:l.length>0&&i.push({ind:D,mode:h,doc:rr});break;case W:switch(h){case ne:if(p.hard)s=!0;else{p.soft||(o.push(" "),u+=1);break}case G:if(l.length>0){i.push({ind:D,mode:h,doc:p},...l.reverse()),l.length=0;break}p.literal?D.root?(o.push(a,D.root.value),u=D.root.length):(o.push(a),u=0):(u-=vt(o),o.push(a+D.value),u=D.length);break}break;case fe:i.push({ind:D,mode:h,doc:p.contents});break;case te:break;default:throw new qe(p)}i.length===0&&l.length>0&&(i.push(...l.reverse()),l.length=0)}let f=o.indexOf(cr);if(f!==-1){let D=o.indexOf(cr,f+1),h=o.slice(0,f).join(""),p=o.slice(f+1,D).join(""),d=o.slice(D+1).join("");return{formatted:h+p+d,cursorNodeStart:h.length,cursorNodeText:p}}return{formatted:o.join("")}}function mi(e,r,t){let{node:n}=e,a=[],u=e.map(()=>e.map(({index:f})=>{let D=hi(t(),r).formatted,h=sr(D);return a[f]=Math.max(a[f]??3,h),{text:D,width:h}},"children"),"children"),i=s(!1);if(r.proseWrap!=="never")return[er,i];let o=s(!0);return[er,ze(zn(o,i))];function s(f){return _r(rr,[c(u[0],f),l(f),...u.slice(1).map(D=>c(D,f))].map(D=>`| ${D.join(" | ")} |`))}function l(f){return a.map((D,h)=>{let p=n.align[h],d=p==="center"||p==="left"?":":"-",m=p==="center"||p==="right"?":":"-",F=f?"-":"-".repeat(D-2);return`${d}${F}${m}`})}function c(f,D){return f.map(({text:h,width:p},d)=>{if(D)return h;let m=a[d]-p,F=n.align[d],y=0;F==="right"?y=m:F==="center"&&(y=Math.floor(m/2));let E=m-y;return`${" ".repeat(y)}${h}${" ".repeat(E)}`})}}function Fi(e,r,t){let n=e.map(t,"children");return Nl(n)}function Nl(e){let r=[""];return function t(n){for(let a of n){let u=Y(a);if(u===H){t(a);continue}let i=a,o=[];u===J&&([i,...o]=a.parts),r.push([r.pop(),i],...o)}}(e),Ee(r)}var Rl=/^.$/su;function Ul(e,r){return e=zl(e,r),e=Yl(e),e=Vl(e,r),e=jl(e,r),e=Gl(e),e}function zl(e,r){return ye(e,t=>t.type!=="text"||t.value==="*"||t.value==="_"||!Rl.test(t.value)||t.position.end.offset-t.position.start.offset===t.value.length?t:{...t,value:r.originalText.slice(t.position.start.offset,t.position.end.offset)})}function Ml(e,r,t){return ye(e,n=>{if(!n.children)return n;let a=n.children.reduce((u,i)=>{let o=M(!1,u,-1);return o&&r(o,i)?u.splice(-1,1,t(o,i)):u.push(i),u},[]);return{...n,children:a}})}function Yl(e){return Ml(e,(r,t)=>r.type==="text"&&t.type==="text",(r,t)=>({type:"text",value:r.value+t.value,position:{start:r.position.start,end:t.position.end}}))}function Gl(e){return ye(e,(r,t,[n])=>{if(r.type!=="text")return r;let{value:a}=r;return n.type==="paragraph"&&(t===0&&(a=a.trimStart()),t===n.children.length-1&&(a=a.trimEnd())),{type:"sentence",position:r.position,children:Lr(a)}})}function Vl(e,r){return ye(e,(t,n,a)=>{if(t.type==="code"){let u=/^\n?(?: {4,}|\t)/u.test(r.originalText.slice(t.position.start.offset,t.position.end.offset));if(t.isIndented=u,u)for(let i=0;i{if(a.type==="list"&&a.children.length>0){for(let o=0;o1)return!0;let s=t(u);if(s===-1)return!1;if(a.children.length===1)return s%r.tabWidth===0;let l=t(i);return s!==l?!1:s%r.tabWidth===0?!0:Me(i,r).leadingSpaces.length>1}}var gi=Ul;function vi(e,r){let t=[""];return e.each(()=>{let{node:n}=e,a=r();switch(n.type){case"whitespace":if(Y(a)!==$){t.push(a,"");break}default:t.push([t.pop(),a])}},"children"),Ee(t)}var $l=new Set(["heading","tableCell","link","wikiLink"]),Hl=new Set(`$(\xA3\xA5\xB7'"\u3008\u300A\u300C\u300E\u3010\u3014\u3016\u301D\uFE59\uFE5B\uFF04\uFF08\uFF3B\uFF5B\uFFE1\uFFE5[{\u2035\uFE34\uFE35\uFE37\uFE39\uFE3B\uFE3D\uFE3F\uFE41\uFE43\uFE4F\u3018\uFF5F\xAB`),Wl=new Set(`!%),.:;?]}\xA2\xB0\xB7'"\u2020\u2021\u203A\u2103\u2236\u3001\u3002\u3003\u3006\u3015\u3017\u301E\uFE5A\uFE5C\uFF01\uFF02\uFF05\uFF07\uFF09\uFF0C\uFF0E\uFF1A\uFF1B\uFF1F\uFF3D\uFF5D\uFF5E\u2013\u2014\u2022\u3009\u300B\u300D\uFE30\uFE31\uFE32\uFE33\uFE50\uFE51\uFE52\uFE53\uFE54\uFE55\uFE56\uFE58\uFE36\uFE38\uFE3A\uFE3C\uFE3E\uFE40\uFE42\uFE57\uFF5C\uFF64\u300F\u3011\u3019\u301F\uFF60\xBB\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\u2010\u30A0\u301C\uFF5E\u203C\u2047\u2048\u2049\u30FB\u3099\u309A`),Ei=new Set("!\"#$%&'()*+,-./:;<=>?@[\\]^_`{|}~");function Kl({parent:e}){if(e.usesCJSpaces===void 0){let r={" ":0,"":0},{children:t}=e;for(let n=1;nr[""]}return e.usesCJSpaces}function Jl(e,r){if(r)return!0;let{previous:t,next:n}=e;if(!t||!n)return!0;let a=t.kind,u=n.kind;return bi(a)&&bi(u)||a===be&&u===De||u===be&&a===De?!0:a===ur||u===ur||a===De&&u===De?!1:Ei.has(n.value[0])||Ei.has(M(!1,t.value,-1))?!0:t.hasTrailingPunctuation||n.hasLeadingPunctuation?!1:Kl(e)}function Ci(e){return e===Le||e===De||e===be}function bi(e){return e===Le||e===be}function Xl(e,r,t,n,a){if(t!=="always"||e.hasAncestor(s=>$l.has(s.type)))return!1;if(n)return r!=="";if(r===" ")return!0;let{previous:u,next:i}=e;return!(r===""&&((u==null?void 0:u.kind)===be&&Ci(i==null?void 0:i.kind)||(i==null?void 0:i.kind)===be&&Ci(u==null?void 0:u.kind))||!a&&(i&&Wl.has(i.value[0])||u&&Hl.has(M(!1,u.value,-1))))}function Et(e,r,t,n){if(t==="preserve"&&r===` +`)return L;let a=r===" "||r===` +`&&Jl(e,n);return Xl(e,r,t,n,a)?a?qr:Tr:a?" ":""}var Ql=new Set(["listItem","definition"]);function Zl(e,r,t){var a,u;let{node:n}=e;if(af(e)){let i=[""],o=Lr(r.originalText.slice(n.position.start.offset,n.position.end.offset));for(let s of o){if(s.type==="word"){i.push([i.pop(),s.value]);continue}let l=Et(e,s.value,r.proseWrap,!0);if(Y(l)===$){i.push([i.pop(),l]);continue}i.push(l)}return Ee(i)}switch(n.type){case"front-matter":return r.originalText.slice(n.position.start.offset,n.position.end.offset);case"root":return n.children.length===0?"":[tf(e,r,t),L];case"paragraph":return Fi(e,r,t);case"sentence":return vi(e,t);case"word":{let i=N(!1,N(!1,n.value,"*",String.raw`\*`),new RegExp([`(^|${Se.source})(_+)`,`(_+)(${Se.source}|$)`].join("|"),"gu"),(l,c,f,D,h)=>N(!1,f?`${c}${f}`:`${D}${h}`,"_",String.raw`\_`)),o=(l,c,f)=>l.type==="sentence"&&f===0,s=(l,c,f)=>mt(l.children[f-1]);return i!==n.value&&(e.match(void 0,o,s)||e.match(void 0,o,(l,c,f)=>l.type==="emphasis"&&f===0,s))&&(i=i.replace(/^(\\?[*_])+/u,l=>N(!1,l,"\\",""))),i}case"whitespace":{let{next:i}=e,o=i&&/^>|^(?:[*+-]|#{1,6}|\d+[).])$/u.test(i.value)?"never":r.proseWrap;return Et(e,n.value,o)}case"emphasis":{let i;if(mt(n.children[0]))i=r.originalText[n.position.start.offset];else{let{previous:o,next:s}=e;i=(o==null?void 0:o.type)==="sentence"&&((a=M(!1,o.children,-1))==null?void 0:a.type)==="word"&&!M(!1,o.children,-1).hasTrailingPunctuation||(s==null?void 0:s.type)==="sentence"&&((u=s.children[0])==null?void 0:u.type)==="word"&&!s.children[0].hasLeadingPunctuation||e.hasAncestor(c=>c.type==="emphasis")?"*":"_"}return[i,V(e,r,t),i]}case"strong":return["**",V(e,r,t),"**"];case"delete":return["~~",V(e,r,t),"~~"];case"inlineCode":{let i=r.proseWrap==="preserve"?n.value:N(!1,n.value,` +`," "),o=Gn(i,"`"),s="`".repeat(o||1),l=i.startsWith("`")||i.endsWith("`")||/^[\n ]/u.test(i)&&/[\n ]$/u.test(i)&&/[^\n ]/u.test(i)?" ":"";return[s,l,i,l,s]}case"wikiLink":{let i="";return r.proseWrap==="preserve"?i=n.value:i=N(!1,n.value,/[\t\n]+/gu," "),["[[",i,"]]"]}case"link":switch(r.originalText[n.position.start.offset]){case"<":{let i="mailto:";return["<",n.url.startsWith(i)&&r.originalText.slice(n.position.start.offset+1,n.position.start.offset+1+i.length)!==i?n.url.slice(i.length):n.url,">"]}case"[":return["[",V(e,r,t),"](",Ct(n.url,")"),Rr(n.title,r),")"];default:return r.originalText.slice(n.position.start.offset,n.position.end.offset)}case"image":return["![",n.alt||"","](",Ct(n.url,")"),Rr(n.title,r),")"];case"blockquote":return["> ",ve("> ",V(e,r,t))];case"heading":return["#".repeat(n.depth)+" ",V(e,r,t)];case"code":{if(n.isIndented){let s=" ".repeat(4);return ve(s,[s,Ce(n.value,L)])}let i=r.__inJsTemplate?"~":"`",o=i.repeat(Math.max(3,Sr(n.value,i)+1));return[o,n.lang||"",n.meta?" "+n.meta:"",L,Ce(Ir(n,r.originalText),L),L,o]}case"html":{let{parent:i,isLast:o}=e,s=i.type==="root"&&o?n.value.trimEnd():n.value,l=/^$/su.test(s);return Ce(s,l?L:_e(tr))}case"list":{let i=Ai(n,e.parent),o=ii(n,r);return V(e,r,t,{processor(s){let l=f(),c=s.node;if(c.children.length===2&&c.children[1].type==="html"&&c.children[0].position.start.column!==c.children[1].position.start.column)return[l,yi(s,r,t,l)];return[l,ve(" ".repeat(l.length),yi(s,r,t,l))];function f(){let D=n.ordered?(s.isFirst?n.start:o?1:n.start+s.index)+(i%2===0?". ":") "):i%2===0?"- ":"* ";return n.isAligned||n.hasIndentedCodeblock?ef(D,r):D}}})}case"thematicBreak":{let{ancestors:i}=e,o=i.findIndex(l=>l.type==="list");return o===-1?"---":Ai(i[o],i[o+1])%2===0?"***":"---"}case"linkReference":return["[",V(e,r,t),"]",n.referenceType==="full"?bt(n):n.referenceType==="collapsed"?"[]":""];case"imageReference":switch(n.referenceType){case"full":return["![",n.alt||"","]",bt(n)];default:return["![",n.alt,"]",n.referenceType==="collapsed"?"[]":""]}case"definition":{let i=r.proseWrap==="always"?qr:" ";return ze([bt(n),":",Ze([i,Ct(n.url),n.title===null?"":[i,Rr(n.title,r,!1)]])])}case"footnote":return["[^",V(e,r,t),"]"];case"footnoteReference":return Bi(n);case"footnoteDefinition":{let i=n.children.length===1&&n.children[0].type==="paragraph"&&(r.proseWrap==="never"||r.proseWrap==="preserve"&&n.children[0].position.start.line===n.children[0].position.end.line);return[Bi(n),": ",i?V(e,r,t):ze([ve(" ".repeat(4),V(e,r,t,{processor:({isFirst:o})=>o?ze([Tr,t()]):t()}))])]}case"table":return mi(e,r,t);case"tableCell":return V(e,r,t);case"break":return/\s/u.test(r.originalText[n.position.start.offset])?[" ",_e(tr)]:["\\",L];case"liquidNode":return Ce(n.value,L);case"import":case"export":case"jsx":return n.value;case"esComment":return["{/* ",n.value," */}"];case"math":return["$$",L,n.value?[Ce(n.value,L),L]:"","$$"];case"inlineMath":return r.originalText.slice(Oe(n),Pe(n));case"tableRow":case"listItem":case"text":default:throw new $n(n,"Markdown")}}function yi(e,r,t,n){let{node:a}=e,u=a.checked===null?"":a.checked?"[x] ":"[ ] ";return[u,V(e,r,t,{processor({node:i,isFirst:o}){if(o&&i.type!=="list")return ve(" ".repeat(u.length),t());let s=" ".repeat(sf(r.tabWidth-n.length,0,3));return[s,ve(s,t())]}})]}function ef(e,r){let t=n();return e+" ".repeat(t>=4?0:t);function n(){let a=e.length%r.tabWidth;return a===0?0:r.tabWidth-a}}function Ai(e,r){return rf(e,r,t=>t.ordered===e.ordered)}function rf(e,r,t){let n=-1;for(let a of r.children)if(a.type===e.type&&t(a)?n++:n=-1,a===e)return n}function tf(e,r,t){let n=[],a=null,{children:u}=e.node;for(let[i,o]of u.entries())switch(yt(o)){case"start":a===null&&(a={index:i,offset:o.position.end.offset});break;case"end":a!==null&&(n.push({start:a,end:{index:i,offset:o.position.start.offset}}),a=null);break;default:break}return V(e,r,t,{processor({index:i}){if(n.length>0){let o=n[0];if(i===o.start.index)return[xi(u[o.start.index]),r.originalText.slice(o.start.offset,o.end.offset),xi(u[o.end.index])];if(o.start.index{let i=a(e);i!==!1&&(u.length>0&&nf(e)&&(u.push(L),(uf(e,r)||ki(e))&&u.push(L),ki(e)&&u.push(L)),u.push(i))},"children"),u}function xi(e){if(e.type==="html")return e.value;if(e.type==="paragraph"&&Array.isArray(e.children)&&e.children.length===1&&e.children[0].type==="esComment")return["{/* ",e.children[0].value," */}"]}function yt(e){let r;if(e.type==="html")r=e.value.match(/^$/u);else{let t;e.type==="esComment"?t=e:e.type==="paragraph"&&e.children.length===1&&e.children[0].type==="esComment"&&(t=e.children[0]),t&&(r=t.value.match(/^prettier-ignore(?:-(start|end))?$/u))}return r?r[1]||"next":!1}function nf({node:e,parent:r}){let t=ht.has(e.type),n=e.type==="html"&&Pr.has(r.type);return!t&&!n}function wi(e,r){return e.type==="listItem"&&(e.spread||r.originalText.charAt(e.position.end.offset-1)===` +`)}function uf({node:e,previous:r,parent:t},n){if(wi(r,n))return!0;let i=r.type===e.type&&Ql.has(e.type),o=t.type==="listItem"&&!wi(t,n),s=yt(r)==="next",l=e.type==="html"&&r.type==="html"&&r.position.end.line+1===e.position.start.line,c=e.type==="html"&&t.type==="listItem"&&r.type==="paragraph"&&r.position.end.line+1===e.position.start.line;return!(i||o||s||l||c)}function ki({node:e,previous:r}){let t=r.type==="list",n=e.type==="code"&&e.isIndented;return t&&n}function af(e){let r=e.findAncestor(t=>t.type==="linkReference"||t.type==="imageReference");return r&&(r.type!=="linkReference"||r.referenceType!=="full")}var of=(e,r)=>{for(let t of r)e=N(!1,e,t,encodeURIComponent(t));return e};function Ct(e,r=[]){let t=[" ",...Array.isArray(r)?r:[r]];return new RegExp(t.map(n=>Be(n)).join("|"),"u").test(e)?`<${of(e,"<>")}>`:e}function Rr(e,r,t=!0){if(!e)return"";if(t)return" "+Rr(e,r,!1);if(e=N(!1,e,/\\(?=["')])/gu,""),e.includes('"')&&e.includes("'")&&!e.includes(")"))return`(${e})`;let n=jn(e,r.singleQuote);return e=N(!1,e,"\\","\\\\"),e=N(!1,e,n,`\\${n}`),`${n}${e}${n}`}function sf(e,r,t){return et?t:e}function cf(e){return e.index>0&&yt(e.previous)==="next"}function bt(e){return`[${(0,qi.default)(e.label)}]`}function Bi(e){return`[^${e.label}]`}var lf={preprocess:gi,print:Zl,embed:ui,massageAstNode:Zn,hasPrettierIgnore:cf,insertPragma:Jn,getVisitorKeys:si},Ti=lf;var _i=[{linguistLanguageId:222,name:"Markdown",type:"prose",color:"#083fa1",aliases:["md","pandoc"],aceMode:"markdown",codemirrorMode:"gfm",codemirrorMimeType:"text/x-gfm",wrap:!0,extensions:[".md",".livemd",".markdown",".mdown",".mdwn",".mkd",".mkdn",".mkdown",".ronn",".scd",".workbook"],filenames:["contents.lr","README"],tmScope:"text.md",parsers:["markdown"],vscodeLanguageIds:["markdown"]},{linguistLanguageId:222,name:"MDX",type:"prose",color:"#083fa1",aliases:["md","pandoc"],aceMode:"markdown",codemirrorMode:"gfm",codemirrorMimeType:"text/x-gfm",wrap:!0,extensions:[".mdx"],filenames:[],tmScope:"text.md",parsers:["mdx"],vscodeLanguageIds:["mdx"]}];var At={bracketSpacing:{category:"Common",type:"boolean",default:!0,description:"Print spaces between brackets.",oppositeDescription:"Do not print spaces between brackets."},singleQuote:{category:"Common",type:"boolean",default:!1,description:"Use single quotes instead of double quotes."},proseWrap:{category:"Common",type:"choice",default:"preserve",description:"How to wrap prose.",choices:[{value:"always",description:"Wrap prose if it exceeds the print width."},{value:"never",description:"Do not wrap prose."},{value:"preserve",description:"Wrap prose as-is."}]},bracketSameLine:{category:"Common",type:"boolean",default:!1,description:"Put > of opening tags on the last line instead of on a new line."},singleAttributePerLine:{category:"Common",type:"boolean",default:!1,description:"Enforce single attribute per line in HTML, Vue and JSX."}};var ff={proseWrap:At.proseWrap,singleQuote:At.singleQuote},Si=ff;var On={};Pn(On,{markdown:()=>km,mdx:()=>Bm,remark:()=>km});var Wc=Ue(Pi(),1),Kc=Ue(Wi(),1),Jc=Ue(Gs(),1),Xc=Ue(Ic(),1);var vm=/^import\s/u,Em=/^export\s/u,Nc=String.raw`[a-z][a-z0-9]*(\.[a-z][a-z0-9]*)*|`,Rc=/|/u,Cm=/^\{\s*\/\*(.*)\*\/\s*\}/u,bm=` -`,Rc=e=>hg.test(e),Pn=e=>mg.test(e),zc=(e,r)=>{let n=r.indexOf(vg),t=r.slice(0,n);if(Pn(t)||Rc(t))return e(t)({type:Pn(t)?"export":"import",value:t})},Mc=(e,r)=>{let n=gg.exec(r);if(n)return e(n[0])({type:"esComment",value:n[1].trim()})};zc.locator=e=>Pn(e)||Rc(e)?-1:1;Mc.locator=(e,r)=>e.indexOf("{",r);var Uc=function(){let{Parser:e}=this,{blockTokenizers:r,blockMethods:n,inlineTokenizers:t,inlineMethods:a}=e.prototype;r.esSyntax=zc,t.esComment=Mc,n.splice(n.indexOf("paragraph"),0,"esSyntax"),a.splice(a.indexOf("text"),0,"esComment")};function Fg(){return e=>be(e,(r,n,[t])=>r.type!=="html"||Nc.test(r.value)||Or.has(t.type)?r:{...r,type:"jsx"})}var Yc=Fg;var Eg=function(){let e=this.Parser.prototype;e.blockMethods=["frontMatter",...e.blockMethods],e.blockTokenizers.frontMatter=r;function r(n,t){let a=or(t);if(a.frontMatter)return n(a.frontMatter.raw)(a.frontMatter)}r.onlyAtStart=!0},Vc=Eg;var Cg=function(){let e=this.Parser.prototype,r=e.inlineMethods;r.splice(r.indexOf("text"),0,"liquid"),e.inlineTokenizers.liquid=n;function n(t,a){let i=a.match(/^({%.*?%}|{{.*?}})/s);if(i)return t(i[0])({type:"liquidNode",value:i[0]})}n.locator=function(t,a){return t.indexOf("{",a)}},jc=Cg;var bg=function(){let e="wikiLink",r=/^\[\[(?.+?)]]/s,n=this.Parser.prototype,t=n.inlineMethods;t.splice(t.indexOf("link"),0,e),n.inlineTokenizers.wikiLink=a;function a(i,u){let o=r.exec(u);if(o){let s=o.groups.linkContents.trim();return i(o[0])({type:e,value:s})}}a.locator=function(i,u){return i.indexOf("[",u)}},$c=bg;function Xc({isMDX:e}){return r=>{let n=(0,Wc.default)().use(Hc.default,{commonmark:!0,...e&&{blocks:[Ic]}}).use(Jc.default).use(Vc).use(Kc.default).use(e?Uc:Gc).use(jc).use(e?Yc:Gc).use($c);return n.run(n.parse(r))}}function Gc(){}var Qc={astFormat:"mdast",hasPragma:fi,locStart:Te,locEnd:Se},xg={...Qc,parse:Xc({isMDX:!1})},yg={...Qc,parse:Xc({isMDX:!0})};var Zc=[{linguistLanguageId:222,name:"Markdown",type:"prose",color:"#083fa1",aliases:["pandoc"],aceMode:"markdown",codemirrorMode:"gfm",codemirrorMimeType:"text/x-gfm",wrap:!0,extensions:[".md",".livemd",".markdown",".mdown",".mdwn",".mkd",".mkdn",".mkdown",".ronn",".scd",".workbook"],filenames:["contents.lr","README"],tmScope:"source.gfm",parsers:["markdown"],vscodeLanguageIds:["markdown"]},{linguistLanguageId:222,name:"MDX",type:"prose",color:"#083fa1",aliases:["pandoc"],aceMode:"markdown",codemirrorMode:"gfm",codemirrorMimeType:"text/x-gfm",wrap:!0,extensions:[".mdx"],filenames:[],tmScope:"source.gfm",parsers:["mdx"],vscodeLanguageIds:["mdx"]}];var Ln={bracketSpacing:{category:"Common",type:"boolean",default:!0,description:"Print spaces between brackets.",oppositeDescription:"Do not print spaces between brackets."},singleQuote:{category:"Common",type:"boolean",default:!1,description:"Use single quotes instead of double quotes."},proseWrap:{category:"Common",type:"choice",default:"preserve",description:"How to wrap prose.",choices:[{value:"always",description:"Wrap prose if it exceeds the print width."},{value:"never",description:"Do not wrap prose."},{value:"preserve",description:"Wrap prose as-is."}]},bracketSameLine:{category:"Common",type:"boolean",default:!1,description:"Put > of opening tags on the last line instead of on a new line."},singleAttributePerLine:{category:"Common",type:"boolean",default:!1,description:"Enforce single attribute per line in HTML, Vue and JSX."}};var kg={proseWrap:Ln.proseWrap,singleQuote:Ln.singleQuote},el=kg;var wg={mdast:Si};return al(Ag);}); \ No newline at end of file +`,Uc=e=>vm.test(e),Sn=e=>Em.test(e),zc=(e,r)=>{let t=r.indexOf(bm),n=r.slice(0,t);if(Sn(n)||Uc(n))return e(n)({type:Sn(n)?"export":"import",value:n})},Mc=(e,r)=>{let t=Cm.exec(r);if(t)return e(t[0])({type:"esComment",value:t[1].trim()})};zc.locator=e=>Sn(e)||Uc(e)?-1:1;Mc.locator=(e,r)=>e.indexOf("{",r);var Yc=function(){let{Parser:e}=this,{blockTokenizers:r,blockMethods:t,inlineTokenizers:n,inlineMethods:a}=e.prototype;r.esSyntax=zc,n.esComment=Mc,t.splice(t.indexOf("paragraph"),0,"esSyntax"),a.splice(a.indexOf("text"),0,"esComment")};var ym=function(){let e=this.Parser.prototype;e.blockMethods=["frontMatter",...e.blockMethods],e.blockTokenizers.frontMatter=r;function r(t,n){let a=ir(n);if(a.frontMatter)return t(a.frontMatter.raw)(a.frontMatter)}r.onlyAtStart=!0},Gc=ym;function Am(){return e=>ye(e,(r,t,[n])=>r.type!=="html"||Rc.test(r.value)||Pr.has(n.type)?r:{...r,type:"jsx"})}var Vc=Am;var xm=function(){let e=this.Parser.prototype,r=e.inlineMethods;r.splice(r.indexOf("text"),0,"liquid"),e.inlineTokenizers.liquid=t;function t(n,a){let u=a.match(/^(\{%.*?%\}|\{\{.*?\}\})/su);if(u)return n(u[0])({type:"liquidNode",value:u[0]})}t.locator=function(n,a){return n.indexOf("{",a)}},jc=xm;var wm=function(){let e="wikiLink",r=/^\[\[(?.+?)\]\]/su,t=this.Parser.prototype,n=t.inlineMethods;n.splice(n.indexOf("link"),0,e),t.inlineTokenizers.wikiLink=a;function a(u,i){let o=r.exec(i);if(o){let s=o.groups.linkContents.trim();return u(o[0])({type:e,value:s})}}a.locator=function(u,i){return u.indexOf("[",i)}},$c=wm;function Qc({isMDX:e}){return r=>{let t=(0,Xc.default)().use(Jc.default,{commonmark:!0,...e&&{blocks:[Nc]}}).use(Wc.default).use(Gc).use(Kc.default).use(e?Yc:Hc).use(jc).use(e?Vc:Hc).use($c);return t.run(t.parse(r))}}function Hc(){}var Zc={astFormat:"mdast",hasPragma:Kn,locStart:Oe,locEnd:Pe},km={...Zc,parse:Qc({isMDX:!1})},Bm={...Zc,parse:Qc({isMDX:!0})};var qm={mdast:Ti};return ul(Tm);}); \ No newline at end of file diff --git a/node_modules/prettier/plugins/markdown.mjs b/node_modules/prettier/plugins/markdown.mjs index e15fa35180..8a4f038776 100644 --- a/node_modules/prettier/plugins/markdown.mjs +++ b/node_modules/prettier/plugins/markdown.mjs @@ -1,59 +1,62 @@ -var rl=Object.create;var Dt=Object.defineProperty;var tl=Object.getOwnPropertyDescriptor;var nl=Object.getOwnPropertyNames;var il=Object.getPrototypeOf,ul=Object.prototype.hasOwnProperty;var C=(e,r)=>()=>(r||e((r={exports:{}}).exports,r),r.exports),In=(e,r)=>{for(var n in r)Dt(e,n,{get:r[n],enumerable:!0})},al=(e,r,n,t)=>{if(r&&typeof r=="object"||typeof r=="function")for(let a of nl(r))!ul.call(e,a)&&a!==n&&Dt(e,a,{get:()=>r[a],enumerable:!(t=tl(r,a))||t.enumerable});return e};var Ie=(e,r,n)=>(n=e!=null?rl(il(e)):{},al(r||!e||!e.__esModule?Dt(n,"default",{value:e,enumerable:!0}):n,e));var kr=C((Tg,Nn)=>{"use strict";Nn.exports=cl;function cl(e){return String(e).replace(/\s+/g," ")}});var Pe=C((Pv,_i)=>{_i.exports=cf;var sf=Object.prototype.hasOwnProperty;function cf(){for(var e={},r=0;r{typeof Object.create=="function"?wt.exports=function(r,n){n&&(r.super_=n,r.prototype=Object.create(n.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}))}:wt.exports=function(r,n){if(n){r.super_=n;var t=function(){};t.prototype=n.prototype,r.prototype=new t,r.prototype.constructor=r}}});var Ii=C((Ov,Oi)=>{"use strict";var lf=Pe(),Li=Pi();Oi.exports=ff;function ff(e){var r,n,t;Li(i,e),Li(a,i),r=i.prototype;for(n in r)t=r[n],t&&typeof t=="object"&&(r[n]="concat"in t?t.concat():lf(t));return i;function a(u){return e.apply(this,u)}function i(){return this instanceof i?e.apply(this,arguments):new a(arguments)}}});var Ri=C((Iv,Ni)=>{"use strict";Ni.exports=Df;function Df(e,r,n){return t;function t(){var a=n||this,i=a[e];return a[e]=!r,u;function u(){a[e]=i}}}});var Mi=C((Nv,zi)=>{"use strict";zi.exports=pf;function pf(e){for(var r=String(e),n=[],t=/\r?\n|\r/g;t.exec(r);)n.push(t.lastIndex);return n.push(r.length+1),{toPoint:a,toPosition:a,toOffset:i};function a(u){var o=-1;if(u>-1&&uu)return{line:o+1,column:u-(n[o-1]||0)+1,offset:u}}return{}}function i(u){var o=u&&u.line,s=u&&u.column,l;return!isNaN(o)&&!isNaN(s)&&o-1 in n&&(l=(n[o-2]||0)+s-1||0),l>-1&&l{"use strict";Ui.exports=df;var At="\\";function df(e,r){return n;function n(t){for(var a=0,i=t.indexOf(At),u=e[r],o=[],s;i!==-1;)o.push(t.slice(a,i)),a=i+1,s=t.charAt(a),(!s||u.indexOf(s)===-1)&&o.push(At),i=t.indexOf(At,a+1);return o.push(t.slice(a)),o.join("")}}});var Vi=C((zv,hf)=>{hf.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"}});var ji=C((Mv,mf)=>{mf.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"}});var Le=C((Uv,$i)=>{"use strict";$i.exports=gf;function gf(e){var r=typeof e=="string"?e.charCodeAt(0):e;return r>=48&&r<=57}});var Hi=C((Yv,Gi)=>{"use strict";Gi.exports=vf;function vf(e){var r=typeof e=="string"?e.charCodeAt(0):e;return r>=97&&r<=102||r>=65&&r<=70||r>=48&&r<=57}});var ze=C((Vv,Wi)=>{"use strict";Wi.exports=Ff;function Ff(e){var r=typeof e=="string"?e.charCodeAt(0):e;return r>=97&&r<=122||r>=65&&r<=90}});var Ji=C((jv,Ki)=>{"use strict";var Ef=ze(),Cf=Le();Ki.exports=bf;function bf(e){return Ef(e)||Cf(e)}});var Xi=C(($v,xf)=>{xf.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:` -`,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:" ",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"}});var eu=C((Gv,Zi)=>{"use strict";var Qi=Xi();Zi.exports=kf;var yf={}.hasOwnProperty;function kf(e){return yf.call(Qi,e)?Qi[e]:!1}});var lr=C((Hv,pu)=>{"use strict";var ru=Vi(),tu=ji(),wf=Le(),Af=Hi(),au=Ji(),Bf=eu();pu.exports=Uf;var qf={}.hasOwnProperty,Me=String.fromCharCode,Tf=Function.prototype,nu={warning:null,reference:null,text:null,warningContext:null,referenceContext:null,textContext:null,position:{},additional:null,attribute:!1,nonTerminated:!0},Sf=9,iu=10,_f=12,Pf=32,uu=38,Lf=59,Of=60,If=61,Nf=35,Rf=88,zf=120,Mf=65533,Ue="named",qt="hexadecimal",Tt="decimal",St={};St[qt]=16;St[Tt]=10;var Rr={};Rr[Ue]=au;Rr[Tt]=wf;Rr[qt]=Af;var ou=1,su=2,cu=3,lu=4,fu=5,Bt=6,Du=7,xe={};xe[ou]="Named character references must be terminated by a semicolon";xe[su]="Numeric character references must be terminated by a semicolon";xe[cu]="Named character references cannot be empty";xe[lu]="Numeric character references cannot be empty";xe[fu]="Named character references must be known";xe[Bt]="Numeric character references cannot be disallowed";xe[Du]="Numeric character references cannot be outside the permissible Unicode range";function Uf(e,r){var n={},t,a;r||(r={});for(a in nu)t=r[a],n[a]=t??nu[a];return(n.position.indent||n.position.start)&&(n.indent=n.position.indent||[],n.position=n.position.start),Yf(e,n)}function Yf(e,r){var n=r.additional,t=r.nonTerminated,a=r.text,i=r.reference,u=r.warning,o=r.textContext,s=r.referenceContext,l=r.warningContext,c=r.position,f=r.indent||[],D=e.length,h=0,p=-1,d=c.column||1,m=c.line||1,g="",x=[],F,B,b,v,y,k,E,w,A,q,T,N,P,_,S,L,we,j,I;for(typeof n=="string"&&(n=n.charCodeAt(0)),L=J(),w=u?K:Tf,h--,D++;++h65535&&(k-=65536,q+=Me(k>>>10|55296),k=56320|k&1023),k=q+Me(k))):_!==Ue&&w(lu,j)),k?(me(),L=J(),h=I-1,d+=I-P+1,x.push(k),we=J(),we.offset++,i&&i.call(s,k,{start:L,end:we},e.slice(P-1,I)),L=we):(v=e.slice(P-1,I),g+=v,d+=v.length,h=I-1)}else y===10&&(m++,p++,d=0),y===y?(g+=Me(y),d++):me();return x.join("");function J(){return{line:m,column:d,offset:h+(c.offset||0)}}function K(ge,M){var ft=J();ft.column+=M,ft.offset+=M,u.call(l,xe[ge],ft,ge)}function me(){g&&(x.push(g),a&&a.call(o,g,{start:L,end:J()}),g="")}}function Vf(e){return e>=55296&&e<=57343||e>1114111}function jf(e){return e>=1&&e<=8||e===11||e>=13&&e<=31||e>=127&&e<=159||e>=64976&&e<=65007||(e&65535)===65535||(e&65535)===65534}});var mu=C((Wv,hu)=>{"use strict";var $f=Pe(),du=lr();hu.exports=Gf;function Gf(e){return n.raw=t,n;function r(i){for(var u=e.offset,o=i.line,s=[];++o&&o in u;)s.push((u[o]||0)+1);return{start:i,indent:s}}function n(i,u,o){du(i,{position:r(u),warning:a,text:o,reference:o,textContext:e,referenceContext:e})}function t(i,u,o){return du(i,$f(o,{position:r(u),warning:a}))}function a(i,u,o){o!==3&&e.file.message(i,u)}}});var Fu=C((Kv,vu)=>{"use strict";vu.exports=Hf;function Hf(e){return r;function r(n,t){var a=this,i=a.offset,u=[],o=a[e+"Methods"],s=a[e+"Tokenizers"],l=t.line,c=t.column,f,D,h,p,d,m;if(!n)return u;for(k.now=F,k.file=a.file,g("");n;){for(f=-1,D=o.length,d=!1;++f{"use strict";Cu.exports=zr;var _t=["\\","`","*","{","}","[","]","(",")","#","+","-",".","!","_",">"],Pt=_t.concat(["~","|"]),Eu=Pt.concat([` -`,'"',"$","%","&","'",",","/",":",";","<","=","?","@","^"]);zr.default=_t;zr.gfm=Pt;zr.commonmark=Eu;function zr(e){var r=e||{};return r.commonmark?Eu:r.gfm?Pt:_t}});var yu=C((Xv,xu)=>{"use strict";xu.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"]});var Lt=C((Qv,ku)=>{"use strict";ku.exports={position:!0,gfm:!0,commonmark:!1,pedantic:!1,blocks:yu()}});var Au=C((Zv,wu)=>{"use strict";var Jf=Pe(),Xf=bu(),Qf=Lt();wu.exports=Zf;function Zf(e){var r=this,n=r.options,t,a;if(e==null)e={};else if(typeof e=="object")e=Jf(e);else throw new Error("Invalid value `"+e+"` for setting `options`");for(t in Qf){if(a=e[t],a==null&&(a=n[t]),t!=="blocks"&&typeof a!="boolean"||t==="blocks"&&typeof a!="object")throw new Error("Invalid value `"+a+"` for setting `options."+t+"`");e[t]=a}return r.options=e,r.escape=Xf(e),r}});var Tu=C((eF,qu)=>{"use strict";qu.exports=Bu;function Bu(e){if(e==null)return nD;if(typeof e=="string")return tD(e);if(typeof e=="object")return"length"in e?rD(e):eD(e);if(typeof e=="function")return e;throw new Error("Expected function, string, or object as test")}function eD(e){return r;function r(n){var t;for(t in e)if(n[t]!==e[t])return!1;return!0}}function rD(e){for(var r=[],n=-1;++n{Su.exports=iD;function iD(e){return e}});var Iu=C((tF,Ou)=>{"use strict";Ou.exports=Mr;var uD=Tu(),aD=_u(),Pu=!0,Lu="skip",Ot=!1;Mr.CONTINUE=Pu;Mr.SKIP=Lu;Mr.EXIT=Ot;function Mr(e,r,n,t){var a,i;typeof r=="function"&&typeof n!="function"&&(t=n,n=r,r=null),i=uD(r),a=t?-1:1,u(e,null,[])();function u(o,s,l){var c=typeof o=="object"&&o!==null?o:{},f;return typeof c.type=="string"&&(f=typeof c.tagName=="string"?c.tagName:typeof c.name=="string"?c.name:void 0,D.displayName="node ("+aD(c.type+(f?"<"+f+">":""))+")"),D;function D(){var h=l.concat(o),p=[],d,m;if((!r||i(o,s,l[l.length-1]||null))&&(p=oD(n(o,l)),p[0]===Ot))return p;if(o.children&&p[0]!==Lu)for(m=(t?o.children.length:-1)+a;m>-1&&m{"use strict";Nu.exports=Yr;var Ur=Iu(),sD=Ur.CONTINUE,cD=Ur.SKIP,lD=Ur.EXIT;Yr.CONTINUE=sD;Yr.SKIP=cD;Yr.EXIT=lD;function Yr(e,r,n,t){typeof r=="function"&&typeof n!="function"&&(t=n,n=r,r=null),Ur(e,r,a,t);function a(i,u){var o=u[u.length-1],s=o?o.children.indexOf(i):null;return n(i,s,o)}}});var Mu=C((iF,zu)=>{"use strict";var fD=Ru();zu.exports=DD;function DD(e,r){return fD(e,r?pD:dD),e}function pD(e){delete e.position}function dD(e){e.position=void 0}});var Vu=C((uF,Yu)=>{"use strict";var Uu=Pe(),hD=Mu();Yu.exports=vD;var mD=` -`,gD=/\r\n|\r/g;function vD(){var e=this,r=String(e.file),n={line:1,column:1,offset:0},t=Uu(n),a;return r=r.replace(gD,mD),r.charCodeAt(0)===65279&&(r=r.slice(1),t.column++,t.offset++),a={type:"root",children:e.tokenizeBlock(r,t),position:{start:n,end:e.eof||Uu(n)}},e.options.position||hD(a,!0),a}});var $u=C((aF,ju)=>{"use strict";var FD=/^[ \t]*(\n|$)/;ju.exports=ED;function ED(e,r,n){for(var t,a="",i=0,u=r.length;i{"use strict";var pe="",It;Gu.exports=CD;function CD(e,r){if(typeof e!="string")throw new TypeError("expected a string");if(r===1)return e;if(r===2)return e+e;var n=e.length*r;if(It!==e||typeof It>"u")It=e,pe="";else if(pe.length>=n)return pe.substr(0,n);for(;n>pe.length&&r>1;)r&1&&(pe+=e),r>>=1,e+=e;return pe+=e,pe=pe.substr(0,n),pe}});var Nt=C((sF,Hu)=>{"use strict";Hu.exports=bD;function bD(e){return String(e).replace(/\n+$/,"")}});var Ju=C((cF,Ku)=>{"use strict";var xD=Vr(),yD=Nt();Ku.exports=AD;var Rt=` -`,Wu=" ",zt=" ",kD=4,wD=xD(zt,kD);function AD(e,r,n){for(var t=-1,a=r.length,i="",u="",o="",s="",l,c,f;++t{"use strict";Qu.exports=SD;var jr=` -`,fr=" ",Ye=" ",BD="~",Xu="`",qD=3,TD=4;function SD(e,r,n){var t=this,a=t.options.gfm,i=r.length+1,u=0,o="",s,l,c,f,D,h,p,d,m,g,x,F,B;if(a){for(;u=TD)){for(p="";u{Ve=ea.exports=_D;function _D(e){return e.trim?e.trim():Ve.right(Ve.left(e))}Ve.left=function(e){return e.trimLeft?e.trimLeft():e.replace(/^\s\s*/,"")};Ve.right=function(e){if(e.trimRight)return e.trimRight();for(var r=/\s/,n=e.length;r.test(e.charAt(--n)););return e.slice(0,n+1)}});var $r=C((fF,ra)=>{"use strict";ra.exports=PD;function PD(e,r,n,t){for(var a=e.length,i=-1,u,o;++i{"use strict";var LD=Oe(),OD=$r();ia.exports=ID;var Mt=` -`,ta=" ",Ut=" ",na=">";function ID(e,r,n){for(var t=this,a=t.offset,i=t.blockTokenizers,u=t.interruptBlockquote,o=e.now(),s=o.line,l=r.length,c=[],f=[],D=[],h,p=0,d,m,g,x,F,B,b,v;p{"use strict";oa.exports=RD;var aa=` -`,Dr=" ",pr=" ",dr="#",ND=6;function RD(e,r,n){for(var t=this,a=t.options.pedantic,i=r.length+1,u=-1,o=e.now(),s="",l="",c,f,D;++uND)&&!(!D||!a&&r.charAt(u+1)===dr)){for(i=r.length+1,f="";++u{"use strict";la.exports=$D;var zD=" ",MD=` -`,ca=" ",UD="*",YD="-",VD="_",jD=3;function $D(e,r,n){for(var t=-1,a=r.length+1,i="",u,o,s,l;++t=jD&&(!u||u===MD)?(i+=l,n?!0:e(i)({type:"thematicBreak"})):void 0}});var Yt=C((hF,pa)=>{"use strict";pa.exports=KD;var Da=" ",GD=" ",HD=1,WD=4;function KD(e){for(var r=0,n=0,t=e.charAt(r),a={},i,u=0;t===Da||t===GD;){for(i=t===Da?WD:HD,n+=i,i>1&&(n=Math.floor(n/i)*i);u{"use strict";var JD=Oe(),XD=Vr(),QD=Yt();ha.exports=rp;var da=` -`,ZD=" ",ep="!";function rp(e,r){var n=e.split(da),t=n.length+1,a=1/0,i=[],u,o,s;for(n.unshift(XD(ZD,r)+ep);t--;)if(o=QD(n[t]),i[t]=o.stops,JD(n[t]).length!==0)if(o.indent)o.indent>0&&o.indent{"use strict";var tp=Oe(),np=Vr(),ga=Le(),ip=Yt(),up=ma(),ap=$r();Ca.exports=dp;var Vt="*",op="_",va="+",jt="-",Fa=".",de=" ",te=` -`,Gr=" ",Ea=")",sp="x",ye=4,cp=/\n\n(?!\s*$)/,lp=/^\[([ X\tx])][ \t]/,fp=/^([ \t]*)([*+-]|\d+[.)])( {1,4}(?! )| |\t|$|(?=\n))([^\n]*)/,Dp=/^([ \t]*)([*+-]|\d+[.)])([ \t]+)/,pp=/^( {1,4}|\t)?/gm;function dp(e,r,n){for(var t=this,a=t.options.commonmark,i=t.options.pedantic,u=t.blockTokenizers,o=t.interruptList,s=0,l=r.length,c=null,f,D,h,p,d,m,g,x,F,B,b,v,y,k,E,w,A,q,T,N=!1,P,_,S,L;s=A.indent&&(L=!0),p=r.charAt(s),F=null,!L){if(p===Vt||p===va||p===jt)F=p,s++,f++;else{for(D="";s=A.indent||f>ye),x=!1,s=g;if(b=r.slice(g,m),B=g===s?b:r.slice(s,m),(F===Vt||F===op||F===jt)&&u.thematicBreak.call(t,e,b,!0))break;if(v=y,y=!x&&!tp(B).length,L&&A)A.value=A.value.concat(w,b),E=E.concat(w,b),w=[];else if(x)w.length!==0&&(N=!0,A.value.push(""),A.trail=w.concat()),A={value:[b],indent:f,trail:[]},k.push(A),E=E.concat(w,b),w=[];else if(y){if(v&&!a)break;w.push(b)}else{if(v||ap(o,u,t,[e,b,!0]))break;A.value=A.value.concat(w,b),E=E.concat(w,b),w=[]}s=m+1}for(P=e(E.join(te)).reset({type:"list",ordered:h,start:c,spread:N,children:[]}),q=t.enterList(),T=t.enterBlock(),s=-1,l=k.length;++s{"use strict";ka.exports=xp;var $t=` -`,vp=" ",xa=" ",ya="=",Fp="-",Ep=3,Cp=1,bp=2;function xp(e,r,n){for(var t=this,a=e.now(),i=r.length,u=-1,o="",s,l,c,f,D;++u=Ep){u--;break}o+=c}for(s="",l="";++u{"use strict";var yp="[a-zA-Z_:][a-zA-Z0-9:._-]*",kp="[^\"'=<>`\\u0000-\\u0020]+",wp="'[^']*'",Ap='"[^"]*"',Bp="(?:"+kp+"|"+wp+"|"+Ap+")",qp="(?:\\s+"+yp+"(?:\\s*=\\s*"+Bp+")?)",Aa="<[A-Za-z][A-Za-z0-9\\-]*"+qp+"*\\s*\\/?>",Ba="<\\/[A-Za-z][A-Za-z0-9\\-]*\\s*>",Tp="|",Sp="<[?].*?[?]>",_p="]*>",Pp="";Gt.openCloseTag=new RegExp("^(?:"+Aa+"|"+Ba+")");Gt.tag=new RegExp("^(?:"+Aa+"|"+Ba+"|"+Tp+"|"+Sp+"|"+_p+"|"+Pp+")")});var _a=C((EF,Sa)=>{"use strict";var Lp=Ht().openCloseTag;Sa.exports=Kp;var Op=" ",Ip=" ",qa=` -`,Np="<",Rp=/^<(script|pre|style)(?=(\s|>|$))/i,zp=/<\/(script|pre|style)>/i,Mp=/^/,Yp=/^<\?/,Vp=/\?>/,jp=/^/,Gp=/^/,Ta=/^$/,Wp=new RegExp(Lp.source+"\\s*$");function Kp(e,r,n){for(var t=this,a=t.options.blocks.join("|"),i=new RegExp("^|$))","i"),u=r.length,o=0,s,l,c,f,D,h,p,d=[[Rp,zp,!0],[Mp,Up,!0],[Yp,Vp,!0],[jp,$p,!0],[Gp,Hp,!0],[i,Ta,!0],[Wp,Ta,!1]];o{"use strict";Pa.exports=Qp;var Jp=String.fromCharCode,Xp=/\s/;function Qp(e){return Xp.test(typeof e=="number"?Jp(e):e.charAt(0))}});var Wt=C((bF,La)=>{"use strict";var Zp=kr();La.exports=ed;function ed(e){return Zp(e).toLowerCase()}});var Ua=C((xF,Ma)=>{"use strict";var rd=ne(),td=Wt();Ma.exports=ad;var Oa='"',Ia="'",nd="\\",je=` -`,Hr=" ",Wr=" ",Jt="[",hr="]",id="(",ud=")",Na=":",Ra="<",za=">";function ad(e,r,n){for(var t=this,a=t.options.commonmark,i=0,u=r.length,o="",s,l,c,f,D,h,p,d;i{"use strict";var sd=ne();Va.exports=vd;var cd=" ",Kr=` -`,ld=" ",fd="-",Dd=":",pd="\\",Xt="|",dd=1,hd=2,Ya="left",md="center",gd="right";function vd(e,r,n){var t=this,a,i,u,o,s,l,c,f,D,h,p,d,m,g,x,F,B,b,v,y,k,E;if(t.options.gfm){for(a=0,F=0,l=r.length+1,c=[];ay){if(F1&&(D?(o+=f.slice(0,-1),f=f.charAt(f.length-1)):(o+=f,f="")),g=e.now(),e(o)({type:"tableCell",children:t.tokenizeInline(d,g)},s)),e(f+D),f="",d=""):(f&&(d+=f,f=""),d+=D,D===pd&&a!==l-2&&(d+=B.charAt(a+1),a++)),m=!1,a++}x||e(Kr+i)}return v}}}});var Ha=C((kF,Ga)=>{"use strict";var Fd=Oe(),Ed=Nt(),Cd=$r();Ga.exports=yd;var bd=" ",mr=` -`,xd=" ",$a=4;function yd(e,r,n){for(var t=this,a=t.options,i=a.commonmark,u=t.blockTokenizers,o=t.interruptParagraph,s=r.indexOf(mr),l=r.length,c,f,D,h,p;s=$a&&D!==mr){s=r.indexOf(mr,s+1);continue}}if(f=r.slice(s+1),Cd(o,u,t,[e,f,!0]))break;if(c=s,s=r.indexOf(mr,s+1),s!==-1&&Fd(r.slice(c,s))===""){s=c;break}}return f=r.slice(0,s),n?!0:(p=e.now(),f=Ed(f),e(f)({type:"paragraph",children:t.tokenizeInline(f,p)}))}});var Ka=C((wF,Wa)=>{"use strict";Wa.exports=kd;function kd(e,r){return e.indexOf("\\",r)}});var Za=C((AF,Qa)=>{"use strict";var wd=Ka();Qa.exports=Xa;Xa.locator=wd;var Ad=` -`,Ja="\\";function Xa(e,r,n){var t=this,a,i;if(r.charAt(0)===Ja&&(a=r.charAt(1),t.escape.indexOf(a)!==-1))return n?!0:(a===Ad?i={type:"break"}:i={type:"text",value:a},e(Ja+a)(i))}});var Qt=C((BF,eo)=>{"use strict";eo.exports=Bd;function Bd(e,r){return e.indexOf("<",r)}});var uo=C((qF,io)=>{"use strict";var ro=ne(),qd=lr(),Td=Qt();io.exports=tn;tn.locator=Td;tn.notInLink=!0;var to="<",Zt=">",no="@",en="/",rn="mailto:",Jr=rn.length;function tn(e,r,n){var t=this,a="",i=r.length,u=0,o="",s=!1,l="",c,f,D,h,p;if(r.charAt(0)===to){for(u++,a=to;u{"use strict";ao.exports=Sd;function Sd(e,r){var n=String(e),t=0,a;if(typeof r!="string")throw new Error("Expected character");for(a=n.indexOf(r);a!==-1;)t++,a=n.indexOf(r,a+r.length);return t}});var lo=C((SF,co)=>{"use strict";co.exports=_d;var so=["www.","http://","https://"];function _d(e,r){var n=-1,t,a,i;if(!this.options.gfm)return n;for(a=so.length,t=-1;++t{"use strict";var fo=oo(),Pd=lr(),Ld=Le(),nn=ze(),Od=ne(),Id=lo();ho.exports=an;an.locator=Id;an.notInLink=!0;var Nd=33,Rd=38,zd=41,Md=42,Ud=44,Yd=45,un=46,Vd=58,jd=59,$d=63,Gd=60,Do=95,Hd=126,Wd="(",po=")";function an(e,r,n){var t=this,a=t.options.gfm,i=t.inlineTokenizers,u=r.length,o=-1,s=!1,l,c,f,D,h,p,d,m,g,x,F,B,b,v;if(a){if(r.slice(0,4)==="www.")s=!0,D=4;else if(r.slice(0,7).toLowerCase()==="http://")D=7;else if(r.slice(0,8).toLowerCase()==="https://")D=8;else return;for(o=D-1,f=D,l=[];Dg;)D=h+p.lastIndexOf(po),p=r.slice(h,D),x--;if(r.charCodeAt(D-1)===jd&&(D--,nn(r.charCodeAt(D-1)))){for(m=D-2;nn(r.charCodeAt(m));)m--;r.charCodeAt(m)===Rd&&(D=m)}return F=r.slice(0,D),b=Pd(F,{nonTerminated:!1}),s&&(b="http://"+b),v=t.enterLink(),t.inlineTokenizers={text:i.text},B=t.tokenizeInline(F,e.now()),t.inlineTokenizers=i,v(),e(F)({type:"link",title:null,url:b,children:B})}}}});var Eo=C((PF,Fo)=>{"use strict";var Kd=Le(),Jd=ze(),Xd=43,Qd=45,Zd=46,eh=95;Fo.exports=vo;function vo(e,r){var n=this,t,a;if(!this.options.gfm||(t=e.indexOf("@",r),t===-1))return-1;if(a=t,a===r||!go(e.charCodeAt(a-1)))return vo.call(n,e,t+1);for(;a>r&&go(e.charCodeAt(a-1));)a--;return a}function go(e){return Kd(e)||Jd(e)||e===Xd||e===Qd||e===Zd||e===eh}});var yo=C((LF,xo)=>{"use strict";var rh=lr(),Co=Le(),bo=ze(),th=Eo();xo.exports=cn;cn.locator=th;cn.notInLink=!0;var nh=43,on=45,Xr=46,ih=64,sn=95;function cn(e,r,n){var t=this,a=t.options.gfm,i=t.inlineTokenizers,u=0,o=r.length,s=-1,l,c,f,D;if(a){for(l=r.charCodeAt(u);Co(l)||bo(l)||l===nh||l===on||l===Xr||l===sn;)l=r.charCodeAt(++u);if(u!==0&&l===ih){for(u++;u{"use strict";var uh=ze(),ah=Qt(),oh=Ht().tag;wo.exports=ko;ko.locator=ah;var sh="<",ch="?",lh="!",fh="/",Dh=/^/i;function ko(e,r,n){var t=this,a=r.length,i,u;if(!(r.charAt(0)!==sh||a<3)&&(i=r.charAt(1),!(!uh(i)&&i!==ch&&i!==lh&&i!==fh)&&(u=r.match(oh),!!u)))return n?!0:(u=u[0],!t.inLink&&Dh.test(u)?t.inLink=!0:t.inLink&&ph.test(u)&&(t.inLink=!1),e(u)({type:"html",value:u}))}});var ln=C((IF,Bo)=>{"use strict";Bo.exports=dh;function dh(e,r){var n=e.indexOf("[",r),t=e.indexOf("![",r);return t===-1||n{"use strict";var gr=ne(),hh=ln();Lo.exports=Po;Po.locator=hh;var mh=` -`,gh="!",qo='"',To="'",$e="(",vr=")",fn="<",Dn=">",So="[",Fr="\\",vh="]",_o="`";function Po(e,r,n){var t=this,a="",i=0,u=r.charAt(0),o=t.options.pedantic,s=t.options.commonmark,l=t.options.gfm,c,f,D,h,p,d,m,g,x,F,B,b,v,y,k,E,w,A;if(u===gh&&(g=!0,a=u,u=r.charAt(++i)),u===So&&!(!g&&t.inLink)){for(a+=u,y="",i++,B=r.length,E=e.now(),v=0,E.column+=i,E.offset+=i;i=D&&(D=0):D=f}else if(u===Fr)i++,d+=r.charAt(i);else if((!D||l)&&u===So)v++;else if((!D||l)&&u===vh)if(v)v--;else{if(r.charAt(i+1)!==$e)return;d+=$e,c=!0,i++;break}y+=d,d="",i++}if(c){for(x=y,a+=y+d,i++;i{"use strict";var Fh=ne(),Eh=ln(),Ch=Wt();No.exports=Io;Io.locator=Eh;var pn="link",bh="image",xh="shortcut",yh="collapsed",dn="full",kh="!",Qr="[",Zr="\\",et="]";function Io(e,r,n){var t=this,a=t.options.commonmark,i=r.charAt(0),u=0,o=r.length,s="",l="",c=pn,f=xh,D,h,p,d,m,g,x,F;if(i===kh&&(c=bh,l=i,i=r.charAt(++u)),i===Qr){for(u++,l+=i,g="",F=0;u{"use strict";zo.exports=wh;function wh(e,r){var n=e.indexOf("**",r),t=e.indexOf("__",r);return t===-1?n:n===-1||t{"use strict";var Ah=Oe(),Uo=ne(),Bh=Mo();Vo.exports=Yo;Yo.locator=Bh;var qh="\\",Th="*",Sh="_";function Yo(e,r,n){var t=this,a=0,i=r.charAt(a),u,o,s,l,c,f,D;if(!(i!==Th&&i!==Sh||r.charAt(++a)!==i)&&(o=t.options.pedantic,s=i,c=s+s,f=r.length,a++,l="",i="",!(o&&Uo(r.charAt(a)))))for(;a{"use strict";$o.exports=Lh;var _h=String.fromCharCode,Ph=/\w/;function Lh(e){return Ph.test(typeof e=="number"?_h(e):e.charAt(0))}});var Wo=C((YF,Ho)=>{"use strict";Ho.exports=Oh;function Oh(e,r){var n=e.indexOf("*",r),t=e.indexOf("_",r);return t===-1?n:n===-1||t{"use strict";var Ih=Oe(),Nh=Go(),Ko=ne(),Rh=Wo();Qo.exports=Xo;Xo.locator=Rh;var zh="*",Jo="_",Mh="\\";function Xo(e,r,n){var t=this,a=0,i=r.charAt(a),u,o,s,l,c,f,D;if(!(i!==zh&&i!==Jo)&&(o=t.options.pedantic,c=i,s=i,f=r.length,a++,l="",i="",!(o&&Ko(r.charAt(a)))))for(;a{"use strict";es.exports=Uh;function Uh(e,r){return e.indexOf("~~",r)}});var as=C(($F,us)=>{"use strict";var ts=ne(),Yh=rs();us.exports=is;is.locator=Yh;var rt="~",ns="~~";function is(e,r,n){var t=this,a="",i="",u="",o="",s,l,c;if(!(!t.options.gfm||r.charAt(0)!==rt||r.charAt(1)!==rt||ts(r.charAt(2))))for(s=1,l=r.length,c=e.now(),c.column+=2,c.offset+=2;++s{"use strict";os.exports=Vh;function Vh(e,r){return e.indexOf("`",r)}});var fs=C((HF,ls)=>{"use strict";var jh=ss();ls.exports=cs;cs.locator=jh;var hn=10,mn=32,gn=96;function cs(e,r,n){for(var t=r.length,a=0,i,u,o,s,l,c;a2&&(s===mn||s===hn)&&(l===mn||l===hn)){for(a++,t--;a{"use strict";Ds.exports=$h;function $h(e,r){for(var n=e.indexOf(` -`,r);n>r&&e.charAt(n-1)===" ";)n--;return n}});var ms=C((KF,hs)=>{"use strict";var Gh=ps();hs.exports=ds;ds.locator=Gh;var Hh=" ",Wh=` -`,Kh=2;function ds(e,r,n){for(var t=r.length,a=-1,i="",u;++a{"use strict";gs.exports=Jh;function Jh(e,r,n){var t=this,a,i,u,o,s,l,c,f,D,h;if(n)return!0;for(a=t.inlineMethods,o=a.length,i=t.inlineTokenizers,u=-1,D=r.length;++u{"use strict";var Xh=Pe(),tt=Ri(),Qh=Mi(),Zh=Yi(),em=mu(),vn=Fu();Cs.exports=Fs;function Fs(e,r){this.file=r,this.offset={},this.options=Xh(this.options),this.setOptions({}),this.inList=!1,this.inBlock=!1,this.inLink=!1,this.atStart=!0,this.toOffset=Qh(r).toOffset,this.unescape=Zh(this,"escape"),this.decode=em(this)}var z=Fs.prototype;z.setOptions=Au();z.parse=Vu();z.options=Lt();z.exitStart=tt("atStart",!0);z.enterList=tt("inList",!1);z.enterLink=tt("inLink",!1);z.enterBlock=tt("inBlock",!1);z.interruptParagraph=[["thematicBreak"],["list"],["atxHeading"],["fencedCode"],["blockquote"],["html"],["setextHeading",{commonmark:!1}],["definition",{commonmark:!1}]];z.interruptList=[["atxHeading",{pedantic:!1}],["fencedCode",{pedantic:!1}],["thematicBreak",{pedantic:!1}],["definition",{commonmark:!1}]];z.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}]];z.blockTokenizers={blankLine:$u(),indentedCode:Ju(),fencedCode:Zu(),blockquote:ua(),atxHeading:sa(),thematicBreak:fa(),list:ba(),setextHeading:wa(),html:_a(),definition:Ua(),table:ja(),paragraph:Ha()};z.inlineTokenizers={escape:Za(),autoLink:uo(),url:mo(),email:yo(),html:Ao(),link:Oo(),reference:Ro(),strong:jo(),emphasis:Zo(),deletion:as(),code:fs(),break:ms(),text:vs()};z.blockMethods=Es(z.blockTokenizers);z.inlineMethods=Es(z.inlineTokenizers);z.tokenizeBlock=vn("block");z.tokenizeInline=vn("inline");z.tokenizeFactory=vn;function Es(e){var r=[],n;for(n in e)r.push(n);return r}});var ws=C((QF,ks)=>{"use strict";var rm=Ii(),tm=Pe(),xs=bs();ks.exports=ys;ys.Parser=xs;function ys(e){var r=this.data("settings"),n=rm(xs);n.prototype.options=tm(n.prototype.options,r,e),this.Parser=n}});var Bs=C((ZF,As)=>{"use strict";As.exports=nm;function nm(e){if(e)throw e}});var Fn=C((eE,qs)=>{qs.exports=function(r){return r!=null&&r.constructor!=null&&typeof r.constructor.isBuffer=="function"&&r.constructor.isBuffer(r)}});var Rs=C((rE,Ns)=>{"use strict";var nt=Object.prototype.hasOwnProperty,Is=Object.prototype.toString,Ts=Object.defineProperty,Ss=Object.getOwnPropertyDescriptor,_s=function(r){return typeof Array.isArray=="function"?Array.isArray(r):Is.call(r)==="[object Array]"},Ps=function(r){if(!r||Is.call(r)!=="[object Object]")return!1;var n=nt.call(r,"constructor"),t=r.constructor&&r.constructor.prototype&&nt.call(r.constructor.prototype,"isPrototypeOf");if(r.constructor&&!n&&!t)return!1;var a;for(a in r);return typeof a>"u"||nt.call(r,a)},Ls=function(r,n){Ts&&n.name==="__proto__"?Ts(r,n.name,{enumerable:!0,configurable:!0,value:n.newValue,writable:!0}):r[n.name]=n.newValue},Os=function(r,n){if(n==="__proto__")if(nt.call(r,n)){if(Ss)return Ss(r,n).value}else return;return r[n]};Ns.exports=function e(){var r,n,t,a,i,u,o=arguments[0],s=1,l=arguments.length,c=!1;for(typeof o=="boolean"&&(c=o,o=arguments[1]||{},s=2),(o==null||typeof o!="object"&&typeof o!="function")&&(o={});s{"use strict";zs.exports=e=>{if(Object.prototype.toString.call(e)!=="[object Object]")return!1;let r=Object.getPrototypeOf(e);return r===null||r===Object.prototype}});var Ys=C((nE,Us)=>{"use strict";var im=[].slice;Us.exports=um;function um(e,r){var n;return t;function t(){var u=im.call(arguments,0),o=e.length>u.length,s;o&&u.push(a);try{s=e.apply(null,u)}catch(l){if(o&&n)throw l;return a(l)}o||(s&&typeof s.then=="function"?s.then(i,a):s instanceof Error?a(s):i(s))}function a(){n||(n=!0,r.apply(null,arguments))}function i(u){a(null,u)}}});var Hs=C((iE,Gs)=>{"use strict";var js=Ys();Gs.exports=$s;$s.wrap=js;var Vs=[].slice;function $s(){var e=[],r={};return r.run=n,r.use=t,r;function n(){var a=-1,i=Vs.call(arguments,0,-1),u=arguments[arguments.length-1];if(typeof u!="function")throw new Error("Expected function as last argument, not "+u);o.apply(null,[null].concat(i));function o(s){var l=e[++a],c=Vs.call(arguments,0),f=c.slice(1),D=i.length,h=-1;if(s){u(s);return}for(;++h{"use strict";var Ge={}.hasOwnProperty;Js.exports=am;function am(e){return!e||typeof e!="object"?"":Ge.call(e,"position")||Ge.call(e,"type")?Ws(e.position):Ge.call(e,"start")||Ge.call(e,"end")?Ws(e):Ge.call(e,"line")||Ge.call(e,"column")?En(e):""}function En(e){return(!e||typeof e!="object")&&(e={}),Ks(e.line)+":"+Ks(e.column)}function Ws(e){return(!e||typeof e!="object")&&(e={}),En(e.start)+"-"+En(e.end)}function Ks(e){return e&&typeof e=="number"?e:1}});var ec=C((aE,Zs)=>{"use strict";var om=Xs();Zs.exports=Cn;function Qs(){}Qs.prototype=Error.prototype;Cn.prototype=new Qs;var ke=Cn.prototype;ke.file="";ke.name="";ke.reason="";ke.message="";ke.stack="";ke.fatal=null;ke.column=null;ke.line=null;function Cn(e,r,n){var t,a,i;typeof r=="string"&&(n=r,r=null),t=sm(n),a=om(r)||"1:1",i={start:{line:null,column:null},end:{line:null,column:null}},r&&r.position&&(r=r.position),r&&(r.start?(i=r,r=r.start):i.start=r),e.stack&&(this.stack=e.stack,e=e.message),this.message=e,this.name=a,this.reason=e,this.line=r?r.line:null,this.column=r?r.column:null,this.location=i,this.source=t[0],this.ruleId=t[1]}function sm(e){var r=[null,null],n;return typeof e=="string"&&(n=e.indexOf(":"),n===-1?r[1]=e:(r[0]=e.slice(0,n),r[1]=e.slice(n+1))),r}});var rc=C(He=>{"use strict";He.basename=cm;He.dirname=lm;He.extname=fm;He.join=Dm;He.sep="/";function cm(e,r){var n=0,t=-1,a,i,u,o;if(r!==void 0&&typeof r!="string")throw new TypeError('"ext" argument must be a string');if(Er(e),a=e.length,r===void 0||!r.length||r.length>e.length){for(;a--;)if(e.charCodeAt(a)===47){if(u){n=a+1;break}}else t<0&&(u=!0,t=a+1);return t<0?"":e.slice(n,t)}if(r===e)return"";for(i=-1,o=r.length-1;a--;)if(e.charCodeAt(a)===47){if(u){n=a+1;break}}else i<0&&(u=!0,i=a+1),o>-1&&(e.charCodeAt(a)===r.charCodeAt(o--)?o<0&&(t=a):(o=-1,t=i));return n===t?t=i:t<0&&(t=e.length),e.slice(n,t)}function lm(e){var r,n,t;if(Er(e),!e.length)return".";for(r=-1,t=e.length;--t;)if(e.charCodeAt(t)===47){if(n){r=t;break}}else n||(n=!0);return r<0?e.charCodeAt(0)===47?"/":".":r===1&&e.charCodeAt(0)===47?"//":e.slice(0,r)}function fm(e){var r=-1,n=0,t=-1,a=0,i,u,o;for(Er(e),o=e.length;o--;){if(u=e.charCodeAt(o),u===47){if(i){n=o+1;break}continue}t<0&&(i=!0,t=o+1),u===46?r<0?r=o:a!==1&&(a=1):r>-1&&(a=-1)}return r<0||t<0||a===0||a===1&&r===t-1&&r===n+1?"":e.slice(r,t)}function Dm(){for(var e=-1,r;++e2){if(s=n.lastIndexOf("/"),s!==n.length-1){s<0?(n="",t=0):(n=n.slice(0,s),t=n.length-1-n.lastIndexOf("/")),a=u,i=0;continue}}else if(n.length){n="",t=0,a=u,i=0;continue}}r&&(n=n.length?n+"/..":"..",t=2)}else n.length?n+="/"+e.slice(a+1,u):n=e.slice(a+1,u),t=u-a-1;a=u,i=0}else o===46&&i>-1?i++:i=-1}return n}function Er(e){if(typeof e!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(e))}});var nc=C(tc=>{"use strict";tc.cwd=hm;function hm(){return"/"}});var ac=C((cE,uc)=>{"use strict";var ie=rc(),mm=nc(),gm=Fn();uc.exports=he;var vm={}.hasOwnProperty,bn=["history","path","basename","stem","extname","dirname"];he.prototype.toString=qm;Object.defineProperty(he.prototype,"path",{get:Fm,set:Em});Object.defineProperty(he.prototype,"dirname",{get:Cm,set:bm});Object.defineProperty(he.prototype,"basename",{get:xm,set:ym});Object.defineProperty(he.prototype,"extname",{get:km,set:wm});Object.defineProperty(he.prototype,"stem",{get:Am,set:Bm});function he(e){var r,n;if(!e)e={};else if(typeof e=="string"||gm(e))e={contents:e};else if("message"in e&&"messages"in e)return e;if(!(this instanceof he))return new he(e);for(this.data={},this.messages=[],this.history=[],this.cwd=mm.cwd(),n=-1;++n-1)throw new Error("`extname` cannot contain multiple dots")}this.path=ie.join(this.dirname,this.stem+(e||""))}function Am(){return typeof this.path=="string"?ie.basename(this.path,this.extname):void 0}function Bm(e){yn(e,"stem"),xn(e,"stem"),this.path=ie.join(this.dirname||"",e+(this.extname||""))}function qm(e){return(this.contents||"").toString(e)}function xn(e,r){if(e&&e.indexOf(ie.sep)>-1)throw new Error("`"+r+"` cannot be a path: did not expect `"+ie.sep+"`")}function yn(e,r){if(!e)throw new Error("`"+r+"` cannot be empty")}function ic(e,r){if(!e)throw new Error("Setting `"+r+"` requires `path` to be set too")}});var sc=C((lE,oc)=>{"use strict";var Tm=ec(),it=ac();oc.exports=it;it.prototype.message=Sm;it.prototype.info=Pm;it.prototype.fail=_m;function Sm(e,r,n){var t=new Tm(e,r,n);return this.path&&(t.name=this.path+":"+t.name,t.file=this.path),t.fatal=!1,this.messages.push(t),t}function _m(){var e=this.message.apply(this,arguments);throw e.fatal=!0,e}function Pm(){var e=this.message.apply(this,arguments);return e.fatal=null,e}});var lc=C((fE,cc)=>{"use strict";cc.exports=sc()});var Fc=C((DE,vc)=>{"use strict";var fc=Bs(),Lm=Fn(),ut=Rs(),Dc=Ms(),mc=Hs(),Cr=lc();vc.exports=gc().freeze();var Om=[].slice,Im={}.hasOwnProperty,Nm=mc().use(Rm).use(zm).use(Mm);function Rm(e,r){r.tree=e.parse(r.file)}function zm(e,r,n){e.run(r.tree,r.file,t);function t(a,i,u){a?n(a):(r.tree=i,r.file=u,n())}}function Mm(e,r){var n=e.stringify(r.tree,r.file);n==null||(typeof n=="string"||Lm(n)?("value"in r.file&&(r.file.value=n),r.file.contents=n):r.file.result=n)}function gc(){var e=[],r=mc(),n={},t=-1,a;return i.data=o,i.freeze=u,i.attachers=e,i.use=s,i.parse=c,i.stringify=h,i.run=f,i.runSync=D,i.process=p,i.processSync=d,i;function i(){for(var m=gc(),g=-1;++g{Bn.isRemarkParser=Ym;Bn.isRemarkCompiler=Vm;function Ym(e){return!!(e&&e.prototype&&e.prototype.blockTokenizers)}function Vm(e){return!!(e&&e.prototype&&e.prototype.visitors)}});var wc=C((dE,kc)=>{var Ec=qn();kc.exports=Hm;var Cc=9,bc=32,at=36,jm=48,$m=57,xc=92,Gm=["math","math-inline"],yc="math-display";function Hm(e){let r=this.Parser,n=this.Compiler;Ec.isRemarkParser(r)&&Wm(r,e),Ec.isRemarkCompiler(n)&&Km(n,e)}function Wm(e,r){let n=e.prototype,t=n.inlineMethods;i.locator=a,n.inlineTokenizers.math=i,t.splice(t.indexOf("text"),0,"math");function a(u,o){return u.indexOf("$",o)}function i(u,o,s){let l=o.length,c=!1,f=!1,D=0,h,p,d,m,g,x,F;if(o.charCodeAt(D)===xc&&(f=!0,D++),o.charCodeAt(D)===at){if(D++,f)return s?!0:u(o.slice(0,D))({type:"text",value:"$"});if(o.charCodeAt(D)===at&&(c=!0,D++),d=o.charCodeAt(D),!(d===bc||d===Cc)){for(m=D;D$m)&&(!c||d===at)){g=D-1,D++,c&&D++,x=D;break}}else p===xc&&(D++,d=o.charCodeAt(D+1));D++}if(x!==void 0)return s?!0:(F=o.slice(m,g+1),u(o.slice(0,x))({type:"inlineMath",value:F,data:{hName:"span",hProperties:{className:Gm.concat(c&&r.inlineMathDouble?[yc]:[])},hChildren:[{type:"text",value:F}]}}))}}}}function Km(e){let r=e.prototype;r.visitors.inlineMath=n;function n(t){let a="$";return(t.data&&t.data.hProperties&&t.data.hProperties.className||[]).includes(yc)&&(a="$$"),a+t.value+a}}});var Sc=C((hE,Tc)=>{var Ac=qn();Tc.exports=Zm;var Bc=10,br=32,Tn=36,qc=` -`,Jm="$",Xm=2,Qm=["math","math-display"];function Zm(){let e=this.Parser,r=this.Compiler;Ac.isRemarkParser(e)&&eg(e),Ac.isRemarkCompiler(r)&&rg(r)}function eg(e){let r=e.prototype,n=r.blockMethods,t=r.interruptParagraph,a=r.interruptList,i=r.interruptBlockquote;r.blockTokenizers.math=u,n.splice(n.indexOf("fencedCode")+1,0,"math"),t.splice(t.indexOf("fencedCode")+1,0,["math"]),a.splice(a.indexOf("fencedCode")+1,0,["math"]),i.splice(i.indexOf("fencedCode")+1,0,["math"]);function u(o,s,l){var c=s.length,f=0;let D,h,p,d,m,g,x,F,B,b,v;for(;fb&&s.charCodeAt(d-1)===br;)d--;for(;d>b&&s.charCodeAt(d-1)===Tn;)B++,d--;for(g<=B&&s.indexOf(Jm,b)===d&&(F=!0,v=d);b<=v&&b-fb&&s.charCodeAt(v-1)===br;)v--;if((!F||b!==v)&&h.push(s.slice(b,v)),F)break;f=p+1,p=s.indexOf(qc,f+1),p=p===-1?c:p}return h=h.join(` -`),o(s.slice(0,p))({type:"math",value:h,data:{hName:"div",hProperties:{className:Qm.concat()},hChildren:[{type:"text",value:h}]}})}}}}function rg(e){let r=e.prototype;r.visitors.math=n;function n(t){return`$$ -`+t.value+` -$$`}}});var Pc=C((mE,_c)=>{var tg=wc(),ng=Sc();_c.exports=ig;function ig(e){var r=e||{};ng.call(this,r),tg.call(this,r)}});var Oc=C((gE,Lc)=>{"use strict";Lc.exports=cg;var xr=9,ot=10,We=32,ug=33,ag=58,Ke=91,og=92,Sn=93,yr=94,st=96,ct=4,sg=1024;function cg(e){var r=this.Parser,n=this.Compiler;lg(r)&&Dg(r,e),fg(n)&&pg(n)}function lg(e){return!!(e&&e.prototype&&e.prototype.blockTokenizers)}function fg(e){return!!(e&&e.prototype&&e.prototype.visitors)}function Dg(e,r){for(var n=r||{},t=e.prototype,a=t.blockTokenizers,i=t.inlineTokenizers,u=t.blockMethods,o=t.inlineMethods,s=a.definition,l=i.reference,c=[],f=-1,D=u.length,h;++fct&&(K=void 0,me=q);else{if(K0&&(M=ge[A-1],M.contentStart===M.contentEnd);)A--;for(we=b(v.slice(0,M.contentEnd));++q()=>(r||e((r={exports:{}}).exports,r),r.exports),Ln=(e,r)=>{for(var t in r)ft(e,t,{get:r[t],enumerable:!0})},ul=(e,r,t,n)=>{if(r&&typeof r=="object"||typeof r=="function")for(let a of tl(r))!il.call(e,a)&&a!==t&&ft(e,a,{get:()=>r[a],enumerable:!(n=rl(r,a))||n.enumerable});return e};var Ue=(e,r,t)=>(t=e!=null?el(nl(e)):{},ul(r||!e||!e.__esModule?ft(t,"default",{value:e,enumerable:!0}):t,e));var xr=C((Om,In)=>{"use strict";In.exports=sl;function sl(e){return String(e).replace(/\s+/g," ")}});var Pi=C((av,Oi)=>{"use strict";Oi.exports=mf;var lr=9,Rr=10,Ye=32,Df=33,pf=58,Ge=91,df=92,xt=93,fr=94,Ur=96,zr=4,hf=1024;function mf(e){var r=this.Parser,t=this.Compiler;Ff(r)&&vf(r,e),gf(t)&&Ef(t)}function Ff(e){return!!(e&&e.prototype&&e.prototype.blockTokenizers)}function gf(e){return!!(e&&e.prototype&&e.prototype.visitors)}function vf(e,r){for(var t=r||{},n=e.prototype,a=n.blockTokenizers,u=n.inlineTokenizers,i=n.blockMethods,o=n.inlineMethods,s=a.definition,l=u.reference,c=[],f=-1,D=i.length,h;++fzr&&(Q=void 0,me=q);else{if(Q0&&(z=Fe[k-1],z.contentStart===z.contentEnd);)k--;for(ke=b(g.slice(0,z.contentEnd));++qZc,options:()=>el,parsers:()=>lt,printers:()=>wg});var ol=(e,r,n,t)=>{if(!(e&&r==null))return r.replaceAll?r.replaceAll(n,t):n.global?r.replace(n,t):r.split(n).join(t)},R=ol;var sl=(e,r,n)=>{if(!(e&&r==null))return Array.isArray(r)||typeof r=="string"?r[n<0?r.length+n:n]:r.at(n)},U=sl;var Ti=Ie(kr(),1);function Je(e){if(typeof e!="string")throw new TypeError("Expected a string");return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}function ll(e,r){let n=e.match(new RegExp(`(${Je(r)})+`,"g"));if(n===null)return 0;let t=new Map,a=0;for(let i of n){let u=i.length/r.length;t.set(u,!0),u>a&&(a=u)}for(let i=1;iMath.max(t,a.length/r.length),0)}var wr=fl;var zn=()=>/[#*0-9]\uFE0F?\u20E3|[\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u231A\u231B\u2328\u23CF\u23ED-\u23EF\u23F1\u23F2\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB\u25FC\u25FE\u2600-\u2604\u260E\u2611\u2614\u2615\u2618\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638-\u263A\u2640\u2642\u2648-\u2653\u265F\u2660\u2663\u2665\u2666\u2668\u267B\u267E\u267F\u2692\u2694-\u2697\u2699\u269B\u269C\u26A0\u26A7\u26AA\u26B0\u26B1\u26BD\u26BE\u26C4\u26C8\u26CF\u26D1\u26D3\u26E9\u26F0-\u26F5\u26F7\u26F8\u26FA\u2702\u2708\u2709\u270F\u2712\u2714\u2716\u271D\u2721\u2733\u2734\u2744\u2747\u2757\u2763\u27A1\u2934\u2935\u2B05-\u2B07\u2B1B\u2B1C\u2B55\u3030\u303D\u3297\u3299]\uFE0F?|[\u261D\u270C\u270D](?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?|[\u270A\u270B](?:\uD83C[\uDFFB-\uDFFF])?|[\u23E9-\u23EC\u23F0\u23F3\u25FD\u2693\u26A1\u26AB\u26C5\u26CE\u26D4\u26EA\u26FD\u2705\u2728\u274C\u274E\u2753-\u2755\u2795-\u2797\u27B0\u27BF\u2B50]|\u26F9(?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|\u2764\uFE0F?(?:\u200D(?:\uD83D\uDD25|\uD83E\uDE79))?|\uD83C(?:[\uDC04\uDD70\uDD71\uDD7E\uDD7F\uDE02\uDE37\uDF21\uDF24-\uDF2C\uDF36\uDF7D\uDF96\uDF97\uDF99-\uDF9B\uDF9E\uDF9F\uDFCD\uDFCE\uDFD4-\uDFDF\uDFF5\uDFF7]\uFE0F?|[\uDF85\uDFC2\uDFC7](?:\uD83C[\uDFFB-\uDFFF])?|[\uDFC3\uDFC4\uDFCA](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDFCB\uDFCC](?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\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]|\uDDE6\uD83C[\uDDE8-\uDDEC\uDDEE\uDDF1\uDDF2\uDDF4\uDDF6-\uDDFA\uDDFC\uDDFD\uDDFF]|\uDDE7\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEF\uDDF1-\uDDF4\uDDF6-\uDDF9\uDDFB\uDDFC\uDDFE\uDDFF]|\uDDE8\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDEE\uDDF0-\uDDF5\uDDF7\uDDFA-\uDDFF]|\uDDE9\uD83C[\uDDEA\uDDEC\uDDEF\uDDF0\uDDF2\uDDF4\uDDFF]|\uDDEA\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDED\uDDF7-\uDDFA]|\uDDEB\uD83C[\uDDEE-\uDDF0\uDDF2\uDDF4\uDDF7]|\uDDEC\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEE\uDDF1-\uDDF3\uDDF5-\uDDFA\uDDFC\uDDFE]|\uDDED\uD83C[\uDDF0\uDDF2\uDDF3\uDDF7\uDDF9\uDDFA]|\uDDEE\uD83C[\uDDE8-\uDDEA\uDDF1-\uDDF4\uDDF6-\uDDF9]|\uDDEF\uD83C[\uDDEA\uDDF2\uDDF4\uDDF5]|\uDDF0\uD83C[\uDDEA\uDDEC-\uDDEE\uDDF2\uDDF3\uDDF5\uDDF7\uDDFC\uDDFE\uDDFF]|\uDDF1\uD83C[\uDDE6-\uDDE8\uDDEE\uDDF0\uDDF7-\uDDFB\uDDFE]|\uDDF2\uD83C[\uDDE6\uDDE8-\uDDED\uDDF0-\uDDFF]|\uDDF3\uD83C[\uDDE6\uDDE8\uDDEA-\uDDEC\uDDEE\uDDF1\uDDF4\uDDF5\uDDF7\uDDFA\uDDFF]|\uDDF4\uD83C\uDDF2|\uDDF5\uD83C[\uDDE6\uDDEA-\uDDED\uDDF0-\uDDF3\uDDF7-\uDDF9\uDDFC\uDDFE]|\uDDF6\uD83C\uDDE6|\uDDF7\uD83C[\uDDEA\uDDF4\uDDF8\uDDFA\uDDFC]|\uDDF8\uD83C[\uDDE6-\uDDEA\uDDEC-\uDDF4\uDDF7-\uDDF9\uDDFB\uDDFD-\uDDFF]|\uDDF9\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDED\uDDEF-\uDDF4\uDDF7\uDDF9\uDDFB\uDDFC\uDDFF]|\uDDFA\uD83C[\uDDE6\uDDEC\uDDF2\uDDF3\uDDF8\uDDFE\uDDFF]|\uDDFB\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDEE\uDDF3\uDDFA]|\uDDFC\uD83C[\uDDEB\uDDF8]|\uDDFD\uD83C\uDDF0|\uDDFE\uD83C[\uDDEA\uDDF9]|\uDDFF\uD83C[\uDDE6\uDDF2\uDDFC]|\uDFF3\uFE0F?(?:\u200D(?:\u26A7\uFE0F?|\uD83C\uDF08))?|\uDFF4(?:\u200D\u2620\uFE0F?|\uDB40\uDC67\uDB40\uDC62\uDB40(?:\uDC65\uDB40\uDC6E\uDB40\uDC67|\uDC73\uDB40\uDC63\uDB40\uDC74|\uDC77\uDB40\uDC6C\uDB40\uDC73)\uDB40\uDC7F)?)|\uD83D(?:[\uDC08\uDC26](?:\u200D\u2B1B)?|[\uDC3F\uDCFD\uDD49\uDD4A\uDD6F\uDD70\uDD73\uDD76-\uDD79\uDD87\uDD8A-\uDD8D\uDDA5\uDDA8\uDDB1\uDDB2\uDDBC\uDDC2-\uDDC4\uDDD1-\uDDD3\uDDDC-\uDDDE\uDDE1\uDDE3\uDDE8\uDDEF\uDDF3\uDDFA\uDECB\uDECD-\uDECF\uDEE0-\uDEE5\uDEE9\uDEF0\uDEF3]\uFE0F?|[\uDC42\uDC43\uDC46-\uDC50\uDC66\uDC67\uDC6B-\uDC6D\uDC72\uDC74-\uDC76\uDC78\uDC7C\uDC83\uDC85\uDC8F\uDC91\uDCAA\uDD7A\uDD95\uDD96\uDE4C\uDE4F\uDEC0\uDECC](?:\uD83C[\uDFFB-\uDFFF])?|[\uDC6E\uDC70\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDD74\uDD90](?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?|[\uDC00-\uDC07\uDC09-\uDC14\uDC16-\uDC25\uDC27-\uDC3A\uDC3C-\uDC3E\uDC40\uDC44\uDC45\uDC51-\uDC65\uDC6A\uDC79-\uDC7B\uDC7D-\uDC80\uDC84\uDC88-\uDC8E\uDC90\uDC92-\uDCA9\uDCAB-\uDCFC\uDCFF-\uDD3D\uDD4B-\uDD4E\uDD50-\uDD67\uDDA4\uDDFB-\uDE2D\uDE2F-\uDE34\uDE37-\uDE44\uDE48-\uDE4A\uDE80-\uDEA2\uDEA4-\uDEB3\uDEB7-\uDEBF\uDEC1-\uDEC5\uDED0-\uDED2\uDED5-\uDED7\uDEDC-\uDEDF\uDEEB\uDEEC\uDEF4-\uDEFC\uDFE0-\uDFEB\uDFF0]|\uDC15(?:\u200D\uD83E\uDDBA)?|\uDC3B(?:\u200D\u2744\uFE0F?)?|\uDC41\uFE0F?(?:\u200D\uD83D\uDDE8\uFE0F?)?|\uDC68(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDC68\uDC69]\u200D\uD83D(?:\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?)|[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?)|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFC-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFD-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFD\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFE])))?))?|\uDC69(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?[\uDC68\uDC69]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?|\uDC69\u200D\uD83D(?:\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?))|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFC-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB\uDFFD-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB-\uDFFD\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB-\uDFFE])))?))?|\uDC6F(?:\u200D[\u2640\u2642]\uFE0F?)?|\uDD75(?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|\uDE2E(?:\u200D\uD83D\uDCA8)?|\uDE35(?:\u200D\uD83D\uDCAB)?|\uDE36(?:\u200D\uD83C\uDF2B\uFE0F?)?)|\uD83E(?:[\uDD0C\uDD0F\uDD18-\uDD1F\uDD30-\uDD34\uDD36\uDD77\uDDB5\uDDB6\uDDBB\uDDD2\uDDD3\uDDD5\uDEC3-\uDEC5\uDEF0\uDEF2-\uDEF8](?:\uD83C[\uDFFB-\uDFFF])?|[\uDD26\uDD35\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD-\uDDCF\uDDD4\uDDD6-\uDDDD](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDDDE\uDDDF](?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDD0D\uDD0E\uDD10-\uDD17\uDD20-\uDD25\uDD27-\uDD2F\uDD3A\uDD3F-\uDD45\uDD47-\uDD76\uDD78-\uDDB4\uDDB7\uDDBA\uDDBC-\uDDCC\uDDD0\uDDE0-\uDDFF\uDE70-\uDE7C\uDE80-\uDE88\uDE90-\uDEBD\uDEBF-\uDEC2\uDECE-\uDEDB\uDEE0-\uDEE8]|\uDD3C(?:\u200D[\u2640\u2642]\uFE0F?|\uD83C[\uDFFB-\uDFFF])?|\uDDD1(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83E\uDDD1))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFC-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB\uDFFD-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB-\uDFFD\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB-\uDFFE]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?))?|\uDEF1(?:\uD83C(?:\uDFFB(?:\u200D\uD83E\uDEF2\uD83C[\uDFFC-\uDFFF])?|\uDFFC(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB\uDFFD-\uDFFF])?|\uDFFD(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])?|\uDFFE(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB-\uDFFD\uDFFF])?|\uDFFF(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB-\uDFFE])?))?)/g;var Mn={eastAsianWidth(e){var r=e.charCodeAt(0),n=e.length==2?e.charCodeAt(1):0,t=r;return 55296<=r&&r<=56319&&56320<=n&&n<=57343&&(r&=1023,n&=1023,t=r<<10|n,t+=65536),t==12288||65281<=t&&t<=65376||65504<=t&&t<=65510?"F":4352<=t&&t<=4447||4515<=t&&t<=4519||4602<=t&&t<=4607||9001<=t&&t<=9002||11904<=t&&t<=11929||11931<=t&&t<=12019||12032<=t&&t<=12245||12272<=t&&t<=12283||12289<=t&&t<=12350||12353<=t&&t<=12438||12441<=t&&t<=12543||12549<=t&&t<=12589||12593<=t&&t<=12686||12688<=t&&t<=12730||12736<=t&&t<=12771||12784<=t&&t<=12830||12832<=t&&t<=12871||12880<=t&&t<=13054||13056<=t&&t<=19903||19968<=t&&t<=42124||42128<=t&&t<=42182||43360<=t&&t<=43388||44032<=t&&t<=55203||55216<=t&&t<=55238||55243<=t&&t<=55291||63744<=t&&t<=64255||65040<=t&&t<=65049||65072<=t&&t<=65106||65108<=t&&t<=65126||65128<=t&&t<=65131||110592<=t&&t<=110593||127488<=t&&t<=127490||127504<=t&&t<=127546||127552<=t&&t<=127560||127568<=t&&t<=127569||131072<=t&&t<=194367||177984<=t&&t<=196605||196608<=t&&t<=262141?"W":"N"}};var Dl=/[^\x20-\x7F]/;function pl(e){if(!e)return 0;if(!Dl.test(e))return e.length;e=e.replace(zn()," ");let r=0;for(let n of e){let t=n.codePointAt(0);if(t<=31||t>=127&&t<=159||t>=768&&t<=879)continue;let a=Mn.eastAsianWidth(n);r+=a==="F"||a==="W"?2:1}return r}var Xe=pl;var Ar="'",Un='"';function dl(e,r){let n=r===!0||r===Ar?Ar:Un,t=n===Ar?Un:Ar,a=0,i=0;for(let u of e)u===n?a++:u===t&&i++;return a>i?t:n}var Yn=dl;var ue="string",X="array",ve="cursor",Q="indent",Z="align",ae="trim",G="group",H="fill",W="if-break",oe="indent-if-break",se="line-suffix",ce="line-suffix-boundary",$="line",le="label",ee="break-parent",Br=new Set([ve,Q,Z,ae,G,H,W,oe,se,ce,$,le,ee]);function hl(e){if(typeof e=="string")return ue;if(Array.isArray(e))return X;if(!e)return;let{type:r}=e;if(Br.has(r))return r}var fe=hl;var ml=e=>new Intl.ListFormat("en-US",{type:"disjunction"}).format(e);function gl(e){let r=e===null?"null":typeof e;if(r!=="string"&&r!=="object")return`Unexpected doc '${r}', -Expected it to be 'string' or 'object'.`;if(fe(e))throw new Error("doc is valid.");let n=Object.prototype.toString.call(e);if(n!=="[object Object]")return`Unexpected doc '${n}'.`;let t=ml([...Br].map(a=>`'${a}'`));return`Unexpected doc.type '${e.type}'. -Expected it to be ${t}.`}var pt=class extends Error{name="InvalidDocError";constructor(r){super(gl(r)),this.doc=r}},Ae=pt;var Vn={};function vl(e,r,n,t){let a=[e];for(;a.length>0;){let i=a.pop();if(i===Vn){n(a.pop());continue}n&&a.push(i,Vn);let u=fe(i);if(!u)throw new Ae(i);if((r==null?void 0:r(i))!==!1)switch(u){case X:case H:{let o=u===X?i:i.parts;for(let s=o.length,l=s-1;l>=0;--l)a.push(o[l]);break}case W:a.push(i.flatContents,i.breakContents);break;case G:if(t&&i.expandedStates)for(let o=i.expandedStates.length,s=o-1;s>=0;--s)a.push(i.expandedStates[s]);else a.push(i.contents);break;case Z:case Q:case oe:case le:case se:a.push(i.contents);break;case ue:case ve:case ae:case ce:case $:case ee:break;default:throw new Ae(i)}}}var jn=vl;var $n=()=>{},Be=$n,qr=$n;function Qe(e){return Be(e),{type:Q,contents:e}}function Fe(e,r){return Be(r),{type:Z,contents:r,n:e}}function Ze(e,r={}){return Be(e),qr(r.expandedStates,!0),{type:G,id:r.id,contents:e,break:!!r.shouldBreak,expandedStates:r.expandedStates}}function qe(e){return Fe({type:"root"},e)}function Tr(e){return qr(e),{type:H,parts:e}}function Gn(e,r="",n={}){return Be(e),r!==""&&Be(r),{type:W,breakContents:e,flatContents:r,groupId:n.groupId}}var er={type:ee};var Ne={type:$,hard:!0},Fl={type:$,hard:!0,literal:!0},Sr={type:$},rr={type:$,soft:!0},O=[Ne,er],tr=[Fl,er];function nr(e,r){Be(e),qr(r);let n=[];for(let t=0;t{if(Array.isArray(e))return e;if(e.type!==H)throw new Error(`Expect doc to be 'array' or '${H}'.`);return e.parts};function Jn(e,r){if(typeof e=="string")return r(e);let n=new Map;return t(e);function t(i){if(n.has(i))return n.get(i);let u=a(i);return n.set(i,u),u}function a(i){switch(fe(i)){case X:return r(i.map(t));case H:return r({...i,parts:i.parts.map(t)});case W:return r({...i,breakContents:t(i.breakContents),flatContents:t(i.flatContents)});case G:{let{expandedStates:u,contents:o}=i;return u?(u=u.map(t),o=u[0]):o=t(o),r({...i,contents:o,expandedStates:u})}case Z:case Q:case oe:case le:case se:return r({...i,contents:t(i.contents)});case ue:case ve:case ae:case ce:case $:case ee:return r(i);default:throw new Ae(i)}}}function Hn(e){if(e.length>0){let r=U(!1,e,-1);!r.expandedStates&&!r.break&&(r.break="propagated")}return null}function Xn(e){let r=new Set,n=[];function t(i){if(i.type===ee&&Hn(n),i.type===G){if(n.push(i),r.has(i))return!1;r.add(i)}}function a(i){i.type===G&&n.pop().break&&Hn(n)}jn(e,t,a,!0)}function Wn(e){let r=[],n=e.filter(Boolean);for(;n.length>0;){let t=n.shift();if(t){if(Array.isArray(t)){n.unshift(...t);continue}if(r.length>0&&typeof U(!1,r,-1)=="string"&&typeof t=="string"){r[r.length-1]+=t;continue}r.push(t)}}return r}function Qn(e){return Jn(e,r=>Array.isArray(r)?Wn(r):r.parts?{...r,parts:Wn(r.parts)}:r)}function Ee(e,r=tr){return Jn(e,n=>typeof n=="string"?nr(r,n.split(` -`)):n)}function Zn(e){switch(e){case"cr":return"\r";case"crlf":return`\r -`;default:return` -`}}var V=Symbol("MODE_BREAK"),re=Symbol("MODE_FLAT"),ir=Symbol("cursor");function ei(){return{value:"",length:0,queue:[]}}function El(e,r){return dt(e,{type:"indent"},r)}function Cl(e,r,n){return r===Number.NEGATIVE_INFINITY?e.root||ei():r<0?dt(e,{type:"dedent"},n):r?r.type==="root"?{...e,root:e}:dt(e,{type:typeof r=="string"?"stringAlign":"numberAlign",n:r},n):e}function dt(e,r,n){let t=r.type==="dedent"?e.queue.slice(0,-1):[...e.queue,r],a="",i=0,u=0,o=0;for(let p of t)switch(p.type){case"indent":c(),n.useTabs?s(1):l(n.tabWidth);break;case"stringAlign":c(),a+=p.n,i+=p.n.length;break;case"numberAlign":u+=1,o+=p.n;break;default:throw new Error(`Unexpected type '${p.type}'`)}return D(),{...e,value:a,length:i,queue:t};function s(p){a+=" ".repeat(p),i+=n.tabWidth*p}function l(p){a+=" ".repeat(p),i+=p}function c(){n.useTabs?f():D()}function f(){u>0&&s(u),h()}function D(){o>0&&l(o),h()}function h(){u=0,o=0}}function ht(e){let r=0,n=0,t=e.length;e:for(;t--;){let a=e[t];if(a===ir){n++;continue}for(let i=a.length-1;i>=0;i--){let u=a[i];if(u===" "||u===" ")r++;else{e[t]=a.slice(0,i+1);break e}}}if(r>0||n>0)for(e.length=t+1;n-- >0;)e.push(ir);return r}function _r(e,r,n,t,a,i){if(n===Number.POSITIVE_INFINITY)return!0;let u=r.length,o=[e],s=[];for(;n>=0;){if(o.length===0){if(u===0)return!0;o.push(r[--u]);continue}let{mode:l,doc:c}=o.pop();switch(fe(c)){case ue:s.push(c),n-=Xe(c);break;case X:case H:{let f=Kn(c);for(let D=f.length-1;D>=0;D--)o.push({mode:l,doc:f[D]});break}case Q:case Z:case oe:case le:o.push({mode:l,doc:c.contents});break;case ae:n+=ht(s);break;case G:{if(i&&c.break)return!1;let f=c.break?V:l,D=c.expandedStates&&f===V?U(!1,c.expandedStates,-1):c.contents;o.push({mode:f,doc:D});break}case W:{let D=(c.groupId?a[c.groupId]||re:l)===V?c.breakContents:c.flatContents;D&&o.push({mode:l,doc:D});break}case $:if(l===V||c.hard)return!0;c.soft||(s.push(" "),n--);break;case se:t=!0;break;case ce:if(t)return!1;break}}return!1}function ri(e,r){let n={},t=r.printWidth,a=Zn(r.endOfLine),i=0,u=[{ind:ei(),mode:V,doc:e}],o=[],s=!1,l=[],c=0;for(Xn(e);u.length>0;){let{ind:D,mode:h,doc:p}=u.pop();switch(fe(p)){case ue:{let d=a!==` -`?R(!1,p,` -`,a):p;o.push(d),u.length>0&&(i+=Xe(d));break}case X:for(let d=p.length-1;d>=0;d--)u.push({ind:D,mode:h,doc:p[d]});break;case ve:if(c>=2)throw new Error("There are too many 'cursor' in doc.");o.push(ir),c++;break;case Q:u.push({ind:El(D,r),mode:h,doc:p.contents});break;case Z:u.push({ind:Cl(D,p.n,r),mode:h,doc:p.contents});break;case ae:i-=ht(o);break;case G:switch(h){case re:if(!s){u.push({ind:D,mode:p.break?V:re,doc:p.contents});break}case V:{s=!1;let d={ind:D,mode:re,doc:p.contents},m=t-i,g=l.length>0;if(!p.break&&_r(d,u,m,g,n))u.push(d);else if(p.expandedStates){let x=U(!1,p.expandedStates,-1);if(p.break){u.push({ind:D,mode:V,doc:x});break}else for(let F=1;F=p.expandedStates.length){u.push({ind:D,mode:V,doc:x});break}else{let B=p.expandedStates[F],b={ind:D,mode:re,doc:B};if(_r(b,u,m,g,n)){u.push(b);break}}}else u.push({ind:D,mode:V,doc:p.contents});break}}p.id&&(n[p.id]=U(!1,u,-1).mode);break;case H:{let d=t-i,{parts:m}=p;if(m.length===0)break;let[g,x]=m,F={ind:D,mode:re,doc:g},B={ind:D,mode:V,doc:g},b=_r(F,[],d,l.length>0,n,!0);if(m.length===1){b?u.push(F):u.push(B);break}let v={ind:D,mode:re,doc:x},y={ind:D,mode:V,doc:x};if(m.length===2){b?u.push(v,F):u.push(y,B);break}m.splice(0,2);let k={ind:D,mode:h,doc:Tr(m)},E=m[0];_r({ind:D,mode:re,doc:[g,x,E]},[],d,l.length>0,n,!0)?u.push(k,v,F):b?u.push(k,y,F):u.push(k,y,B);break}case W:case oe:{let d=p.groupId?n[p.groupId]:h;if(d===V){let m=p.type===W?p.breakContents:p.negate?p.contents:Qe(p.contents);m&&u.push({ind:D,mode:h,doc:m})}if(d===re){let m=p.type===W?p.flatContents:p.negate?Qe(p.contents):p.contents;m&&u.push({ind:D,mode:h,doc:m})}break}case se:l.push({ind:D,mode:h,doc:p.contents});break;case ce:l.length>0&&u.push({ind:D,mode:h,doc:Ne});break;case $:switch(h){case re:if(p.hard)s=!0;else{p.soft||(o.push(" "),i+=1);break}case V:if(l.length>0){u.push({ind:D,mode:h,doc:p},...l.reverse()),l.length=0;break}p.literal?D.root?(o.push(a,D.root.value),i=D.root.length):(o.push(a),i=0):(i-=ht(o),o.push(a+D.value),i=D.length);break}break;case le:u.push({ind:D,mode:h,doc:p.contents});break;case ee:break;default:throw new Ae(p)}u.length===0&&l.length>0&&(u.push(...l.reverse()),l.length=0)}let f=o.indexOf(ir);if(f!==-1){let D=o.indexOf(ir,f+1),h=o.slice(0,f).join(""),p=o.slice(f+1,D).join(""),d=o.slice(D+1).join("");return{formatted:h+p+d,cursorNodeStart:h.length,cursorNodeText:p}}return{formatted:o.join("")}}var mt=class extends Error{name="UnexpectedNodeError";constructor(r,n,t="type"){super(`Unexpected ${n} node ${t}: ${JSON.stringify(r[t])}.`),this.node=r}},ti=mt;async function bl(e,r){if(e.lang==="yaml"){let n=e.value.trim(),t=n?await r(n,{parser:"yaml"}):"";return qe([e.startDelimiter,O,t,t?O:"",e.endDelimiter])}}var ni=bl;var xl=e=>e.split(/[/\\]/).pop();function ii(e,r){if(!r)return;let n=xl(r).toLowerCase();return e.find(t=>{var a,i;return((a=t.extensions)==null?void 0:a.some(u=>n.endsWith(u)))||((i=t.filenames)==null?void 0:i.some(u=>u.toLowerCase()===n))})}function yl(e,r){if(r)return e.find(({name:n})=>n.toLowerCase()===r)??e.find(({aliases:n})=>n==null?void 0:n.includes(r))??e.find(({extensions:n})=>n==null?void 0:n.includes(`.${r}`))}function kl(e,r){let n=e.plugins.flatMap(a=>a.languages??[]),t=yl(n,r.language)??ii(n,r.physicalFile)??ii(n,r.file)??(r.physicalFile,void 0);return t==null?void 0:t.parsers[0]}var ui=kl;var Pr=()=>{};Pr.ok=Pr;Pr.strictEqual=Pr;function Te(e){return e.position.start.offset}function Se(e){return e.position.end.offset}var ai="(?:[\\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])?",oi=new RegExp("[\\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]",""),ur="[\\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]";var vt=new Set(["liquidNode","inlineCode","emphasis","esComment","strong","delete","wikiLink","link","linkReference","image","imageReference","footnote","footnoteReference","sentence","whitespace","word","break","inlineMath"]),Lr=new Set([...vt,"tableCell","paragraph","heading"]),gt=new RegExp(ur),_e="non-cjk",De="cj-letter",Ce="k-letter",ar="cjk-punctuation";function Or(e){let r=[],n=e.split(/([\t\n ]+)/);for(let[a,i]of n.entries()){if(a%2===1){r.push({type:"whitespace",value:/\n/.test(i)?` -`:" "});continue}if((a===0||a===n.length-1)&&i==="")continue;let u=i.split(new RegExp(`(${ai})`));for(let[o,s]of u.entries())if(!((o===0||o===u.length-1)&&s==="")){if(o%2===0){s!==""&&t({type:"word",value:s,kind:_e,hasLeadingPunctuation:gt.test(s[0]),hasTrailingPunctuation:gt.test(U(!1,s,-1))});continue}t(gt.test(s)?{type:"word",value:s,kind:ar,hasLeadingPunctuation:!0,hasTrailingPunctuation:!0}:{type:"word",value:s,kind:oi.test(s)?Ce:De,hasLeadingPunctuation:!1,hasTrailingPunctuation:!1})}}return r;function t(a){let i=U(!1,r,-1);(i==null?void 0:i.type)==="word"&&!u(_e,ar)&&![i.value,a.value].some(o=>/\u3000/.test(o))&&r.push({type:"whitespace",value:""}),r.push(a);function u(o,s){return i.kind===o&&a.kind===s||i.kind===s&&a.kind===o}}}function Re(e,r){let[,n,t,a]=r.slice(e.position.start.offset,e.position.end.offset).match(/^\s*(\d+)(\.|\))(\s*)/);return{numberText:n,marker:t,leadingSpaces:a}}function si(e,r){if(!e.ordered||e.children.length<2)return!1;let n=Number(Re(e.children[0],r.originalText).numberText),t=Number(Re(e.children[1],r.originalText).numberText);if(n===0&&e.children.length>2){let a=Number(Re(e.children[2],r.originalText).numberText);return t===1&&a===1}return t===1}function Ir(e,r){let{value:n}=e;return e.position.end.offset===r.length&&n.endsWith(` -`)&&r.endsWith(` -`)?n.slice(0,-1):n}function be(e,r){return function n(t,a,i){let u={...r(t,a,i)};return u.children&&(u.children=u.children.map((o,s)=>n(o,s,[u,...i]))),u}(e,null,[])}function Ft(e){if((e==null?void 0:e.type)!=="link"||e.children.length!==1)return!1;let[r]=e.children;return Te(e)===Te(r)&&Se(e)===Se(r)}function wl(e,r){let{node:n}=e;if(n.type==="code"&&n.lang!==null){let t=ui(r,{language:n.lang});if(t)return async a=>{let i=r.__inJsTemplate?"~":"`",u=i.repeat(Math.max(3,wr(n.value,i)+1)),o={parser:t};n.lang==="tsx"&&(o.filepath="dummy.tsx");let s=await a(Ir(n,r.originalText),o);return qe([u,n.lang,n.meta?" "+n.meta:"",O,Ee(s),O,u])}}switch(n.type){case"front-matter":return t=>ni(n,t);case"import":case"export":return t=>t(n.value,{parser:"babel"});case"jsx":return t=>t(`<$>${n.value}`,{parser:"__js_expression",rootMarker:"mdx"})}return null}var ci=wl;var Al=new RegExp("^(?-{3}|\\+{3})(?[^\\n]*)\\n(?:|(?.*?)\\n)(?\\k|\\.{3})[^\\S\\n]*(?:\\n|$)","s");function Bl(e){let r=e.match(Al);if(!r)return{content:e};let{startDelimiter:n,language:t,value:a="",endDelimiter:i}=r.groups,u=t.trim()||"yaml";if(n==="+++"&&(u="toml"),u!=="yaml"&&n!==i)return{content:e};let[o]=r;return{frontMatter:{type:"front-matter",lang:u,value:a,startDelimiter:n,endDelimiter:i,raw:o.replace(/\n$/,"")},content:R(!1,o,/[^\n]/g," ")+e.slice(o.length)}}var or=Bl;var li=["format","prettier"];function Et(e){let r=`@(${li.join("|")})`,n=new RegExp([``,`{\\s*\\/\\*\\s*${r}\\s*\\*\\/\\s*}`,`|",sd="<[?].*?[?]>",cd="]*>",ld="";Jt.openCloseTag=new RegExp("^(?:"+Va+"|"+ja+")");Jt.tag=new RegExp("^(?:"+Va+"|"+ja+"|"+od+"|"+sd+"|"+cd+"|"+ld+")")});var Ka=C((Qv,Wa)=>{"use strict";var fd=Xt().openCloseTag;Wa.exports=wd;var Dd=" ",pd=" ",$a=` +`,dd="<",hd=/^<(script|pre|style)(?=(\s|>|$))/i,md=/<\/(script|pre|style)>/i,Fd=/^/,vd=/^<\?/,Ed=/\?>/,Cd=/^/,yd=/^/,Ha=/^$/,xd=new RegExp(fd.source+"\\s*$");function wd(e,r,t){for(var n=this,a=n.options.blocks.join("|"),u=new RegExp("^|$))","i"),i=r.length,o=0,s,l,c,f,D,h,p,d=[[hd,md,!0],[Fd,gd,!0],[vd,Ed,!0],[Cd,bd,!0],[yd,Ad,!0],[u,Ha,!0],[xd,Ha,!1]];o{"use strict";Ja.exports=qd;var kd=String.fromCharCode,Bd=/\s/;function qd(e){return Bd.test(typeof e=="number"?kd(e):e.charAt(0))}});var Qt=C((eE,Xa)=>{"use strict";var Td=xr();Xa.exports=_d;function _d(e){return Td(e).toLowerCase()}});var io=C((rE,no)=>{"use strict";var Sd=ue(),Od=Qt();no.exports=Nd;var Qa='"',Za="'",Pd="\\",Ke=` +`,Xr=" ",Qr=" ",en="[",gr="]",Ld="(",Id=")",eo=":",ro="<",to=">";function Nd(e,r,t){for(var n=this,a=n.options.commonmark,u=0,i=r.length,o="",s,l,c,f,D,h,p,d;u{"use strict";var Ud=ue();ao.exports=Kd;var zd=" ",Zr=` +`,Md=" ",Yd="-",Gd=":",Vd="\\",rn="|",jd=1,$d=2,uo="left",Hd="center",Wd="right";function Kd(e,r,t){var n=this,a,u,i,o,s,l,c,f,D,h,p,d,m,F,y,E,B,b,g,A,x,v;if(n.options.gfm){for(a=0,E=0,l=r.length+1,c=[];aA){if(E<$d)return;break}c.push(r.slice(a,A)),E++,a=A+1}for(o=c.join(Zr),u=c.splice(1,1)[0]||[],a=0,l=u.length,E--,i=!1,p=[];a1&&(D?(o+=f.slice(0,-1),f=f.charAt(f.length-1)):(o+=f,f="")),F=e.now(),e(o)({type:"tableCell",children:n.tokenizeInline(d,F)},s)),e(f+D),f="",d=""):(f&&(d+=f,f=""),d+=D,D===Vd&&a!==l-2&&(d+=B.charAt(a+1),a++)),m=!1,a++}y||e(Zr+u)}return g}}}});var lo=C((nE,co)=>{"use strict";var Jd=Re(),Xd=Mt(),Qd=Kr();co.exports=rh;var Zd=" ",vr=` +`,eh=" ",so=4;function rh(e,r,t){for(var n=this,a=n.options,u=a.commonmark,i=n.blockTokenizers,o=n.interruptParagraph,s=r.indexOf(vr),l=r.length,c,f,D,h,p;s=so&&D!==vr){s=r.indexOf(vr,s+1);continue}}if(f=r.slice(s+1),Qd(o,i,n,[e,f,!0]))break;if(c=s,s=r.indexOf(vr,s+1),s!==-1&&Jd(r.slice(c,s))===""){s=c;break}}return f=r.slice(0,s),t?!0:(p=e.now(),f=Xd(f),e(f)({type:"paragraph",children:n.tokenizeInline(f,p)}))}});var Do=C((iE,fo)=>{"use strict";fo.exports=th;function th(e,r){return e.indexOf("\\",r)}});var Fo=C((uE,mo)=>{"use strict";var nh=Do();mo.exports=ho;ho.locator=nh;var ih=` +`,po="\\";function ho(e,r,t){var n=this,a,u;if(r.charAt(0)===po&&(a=r.charAt(1),n.escape.indexOf(a)!==-1))return t?!0:(a===ih?u={type:"break"}:u={type:"text",value:a},e(po+a)(u))}});var tn=C((aE,go)=>{"use strict";go.exports=uh;function uh(e,r){return e.indexOf("<",r)}});var yo=C((oE,bo)=>{"use strict";var vo=ue(),ah=pr(),oh=tn();bo.exports=on;on.locator=oh;on.notInLink=!0;var Eo="<",nn=">",Co="@",un="/",an="mailto:",et=an.length;function on(e,r,t){var n=this,a="",u=r.length,i=0,o="",s=!1,l="",c,f,D,h,p;if(r.charAt(0)===Eo){for(i++,a=Eo;i{"use strict";Ao.exports=sh;function sh(e,r){var t=String(e),n=0,a;if(typeof r!="string")throw new Error("Expected character");for(a=t.indexOf(r);a!==-1;)n++,a=t.indexOf(r,a+r.length);return n}});var Bo=C((cE,ko)=>{"use strict";ko.exports=ch;var wo=["www.","http://","https://"];function ch(e,r){var t=-1,n,a,u;if(!this.options.gfm)return t;for(a=wo.length,n=-1;++n{"use strict";var qo=xo(),lh=pr(),fh=Ne(),sn=Ve(),Dh=ue(),ph=Bo();So.exports=ln;ln.locator=ph;ln.notInLink=!0;var dh=33,hh=38,mh=41,Fh=42,gh=44,vh=45,cn=46,Eh=58,Ch=59,bh=63,yh=60,To=95,Ah=126,xh="(",_o=")";function ln(e,r,t){var n=this,a=n.options.gfm,u=n.inlineTokenizers,i=r.length,o=-1,s=!1,l,c,f,D,h,p,d,m,F,y,E,B,b,g;if(a){if(r.slice(0,4)==="www.")s=!0,D=4;else if(r.slice(0,7).toLowerCase()==="http://")D=7;else if(r.slice(0,8).toLowerCase()==="https://")D=8;else return;for(o=D-1,f=D,l=[];DF;)D=h+p.lastIndexOf(_o),p=r.slice(h,D),y--;if(r.charCodeAt(D-1)===Ch&&(D--,sn(r.charCodeAt(D-1)))){for(m=D-2;sn(r.charCodeAt(m));)m--;r.charCodeAt(m)===hh&&(D=m)}return E=r.slice(0,D),b=lh(E,{nonTerminated:!1}),s&&(b="http://"+b),g=n.enterLink(),n.inlineTokenizers={text:u.text},B=n.tokenizeInline(E,e.now()),n.inlineTokenizers=u,g(),e(E)({type:"link",title:null,url:b,children:B})}}}});var No=C((fE,Io)=>{"use strict";var wh=Ne(),kh=Ve(),Bh=43,qh=45,Th=46,_h=95;Io.exports=Lo;function Lo(e,r){var t=this,n,a;if(!this.options.gfm||(n=e.indexOf("@",r),n===-1))return-1;if(a=n,a===r||!Po(e.charCodeAt(a-1)))return Lo.call(t,e,n+1);for(;a>r&&Po(e.charCodeAt(a-1));)a--;return a}function Po(e){return wh(e)||kh(e)||e===Bh||e===qh||e===Th||e===_h}});var Mo=C((DE,zo)=>{"use strict";var Sh=pr(),Ro=Ne(),Uo=Ve(),Oh=No();zo.exports=pn;pn.locator=Oh;pn.notInLink=!0;var Ph=43,fn=45,rt=46,Lh=64,Dn=95;function pn(e,r,t){var n=this,a=n.options.gfm,u=n.inlineTokenizers,i=0,o=r.length,s=-1,l,c,f,D;if(a){for(l=r.charCodeAt(i);Ro(l)||Uo(l)||l===Ph||l===fn||l===rt||l===Dn;)l=r.charCodeAt(++i);if(i!==0&&l===Lh){for(i++;i{"use strict";var Ih=Ve(),Nh=tn(),Rh=Xt().tag;Go.exports=Yo;Yo.locator=Nh;var Uh="<",zh="?",Mh="!",Yh="/",Gh=/^/i;function Yo(e,r,t){var n=this,a=r.length,u,i;if(!(r.charAt(0)!==Uh||a<3)&&(u=r.charAt(1),!(!Ih(u)&&u!==zh&&u!==Mh&&u!==Yh)&&(i=r.match(Rh),!!i)))return t?!0:(i=i[0],!n.inLink&&Gh.test(i)?n.inLink=!0:n.inLink&&Vh.test(i)&&(n.inLink=!1),e(i)({type:"html",value:i}))}});var dn=C((dE,jo)=>{"use strict";jo.exports=jh;function jh(e,r){var t=e.indexOf("[",r),n=e.indexOf("![",r);return n===-1||t{"use strict";var Er=ue(),$h=dn();Xo.exports=Jo;Jo.locator=$h;var Hh=` +`,Wh="!",$o='"',Ho="'",Je="(",Cr=")",hn="<",mn=">",Wo="[",br="\\",Kh="]",Ko="`";function Jo(e,r,t){var n=this,a="",u=0,i=r.charAt(0),o=n.options.pedantic,s=n.options.commonmark,l=n.options.gfm,c,f,D,h,p,d,m,F,y,E,B,b,g,A,x,v,w,k;if(i===Wh&&(F=!0,a=i,i=r.charAt(++u)),i===Wo&&!(!F&&n.inLink)){for(a+=i,A="",u++,B=r.length,v=e.now(),g=0,v.column+=u,v.offset+=u;u=D&&(D=0):D=f}else if(i===br)u++,d+=r.charAt(u);else if((!D||l)&&i===Wo)g++;else if((!D||l)&&i===Kh)if(g)g--;else{if(r.charAt(u+1)!==Je)return;d+=Je,c=!0,u++;break}A+=d,d="",u++}if(c){for(y=A,a+=A+d,u++;u{"use strict";var Jh=ue(),Xh=dn(),Qh=Qt();es.exports=Zo;Zo.locator=Xh;var Fn="link",Zh="image",e0="shortcut",r0="collapsed",gn="full",t0="!",tt="[",nt="\\",it="]";function Zo(e,r,t){var n=this,a=n.options.commonmark,u=r.charAt(0),i=0,o=r.length,s="",l="",c=Fn,f=e0,D,h,p,d,m,F,y,E;if(u===t0&&(c=Zh,l=u,u=r.charAt(++i)),u===tt){for(i++,l+=u,F="",E=0;i{"use strict";ts.exports=n0;function n0(e,r){var t=e.indexOf("**",r),n=e.indexOf("__",r);return n===-1?t:t===-1||n{"use strict";var i0=Re(),is=ue(),u0=ns();as.exports=us;us.locator=u0;var a0="\\",o0="*",s0="_";function us(e,r,t){var n=this,a=0,u=r.charAt(a),i,o,s,l,c,f,D;if(!(u!==o0&&u!==s0||r.charAt(++a)!==u)&&(o=n.options.pedantic,s=u,c=s+s,f=r.length,a++,l="",u="",!(o&&is(r.charAt(a)))))for(;a{"use strict";ss.exports=f0;var c0=String.fromCharCode,l0=/\w/;function f0(e){return l0.test(typeof e=="number"?c0(e):e.charAt(0))}});var fs=C((EE,ls)=>{"use strict";ls.exports=D0;function D0(e,r){var t=e.indexOf("*",r),n=e.indexOf("_",r);return n===-1?t:t===-1||n{"use strict";var p0=Re(),d0=cs(),Ds=ue(),h0=fs();hs.exports=ds;ds.locator=h0;var m0="*",ps="_",F0="\\";function ds(e,r,t){var n=this,a=0,u=r.charAt(a),i,o,s,l,c,f,D;if(!(u!==m0&&u!==ps)&&(o=n.options.pedantic,c=u,s=u,f=r.length,a++,l="",u="",!(o&&Ds(r.charAt(a)))))for(;a{"use strict";Fs.exports=g0;function g0(e,r){return e.indexOf("~~",r)}});var ys=C((yE,bs)=>{"use strict";var vs=ue(),v0=gs();bs.exports=Cs;Cs.locator=v0;var ut="~",Es="~~";function Cs(e,r,t){var n=this,a="",u="",i="",o="",s,l,c;if(!(!n.options.gfm||r.charAt(0)!==ut||r.charAt(1)!==ut||vs(r.charAt(2))))for(s=1,l=r.length,c=e.now(),c.column+=2,c.offset+=2;++s{"use strict";As.exports=E0;function E0(e,r){return e.indexOf("`",r)}});var Bs=C((xE,ks)=>{"use strict";var C0=xs();ks.exports=ws;ws.locator=C0;var vn=10,En=32,Cn=96;function ws(e,r,t){for(var n=r.length,a=0,u,i,o,s,l,c;a2&&(s===En||s===vn)&&(l===En||l===vn)){for(a++,n--;a{"use strict";qs.exports=b0;function b0(e,r){for(var t=e.indexOf(` +`,r);t>r&&e.charAt(t-1)===" ";)t--;return t}});var Os=C((kE,Ss)=>{"use strict";var y0=Ts();Ss.exports=_s;_s.locator=y0;var A0=" ",x0=` +`,w0=2;function _s(e,r,t){for(var n=r.length,a=-1,u="",i;++a{"use strict";Ps.exports=k0;function k0(e,r,t){var n=this,a,u,i,o,s,l,c,f,D,h;if(t)return!0;for(a=n.inlineMethods,o=a.length,u=n.inlineTokenizers,i=-1,D=r.length;++i{"use strict";var B0=Ie(),at=ru(),q0=nu(),T0=uu(),_0=Ou(),bn=Iu();Rs.exports=Is;function Is(e,r){this.file=r,this.offset={},this.options=B0(this.options),this.setOptions({}),this.inList=!1,this.inBlock=!1,this.inLink=!1,this.atStart=!0,this.toOffset=q0(r).toOffset,this.unescape=T0(this,"escape"),this.decode=_0(this)}var U=Is.prototype;U.setOptions=Vu();U.parse=aa();U.options=Rt();U.exitStart=at("atStart",!0);U.enterList=at("inList",!1);U.enterLink=at("inLink",!1);U.enterBlock=at("inBlock",!1);U.interruptParagraph=[["thematicBreak"],["list"],["atxHeading"],["fencedCode"],["blockquote"],["html"],["setextHeading",{commonmark:!1}],["definition",{commonmark:!1}]];U.interruptList=[["atxHeading",{pedantic:!1}],["fencedCode",{pedantic:!1}],["thematicBreak",{pedantic:!1}],["definition",{commonmark:!1}]];U.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}]];U.blockTokenizers={blankLine:sa(),indentedCode:pa(),fencedCode:ma(),blockquote:ba(),atxHeading:xa(),thematicBreak:Ba(),list:Ua(),setextHeading:Ga(),html:Ka(),definition:io(),table:oo(),paragraph:lo()};U.inlineTokenizers={escape:Fo(),autoLink:yo(),url:Oo(),email:Mo(),html:Vo(),link:Qo(),reference:rs(),strong:os(),emphasis:ms(),deletion:ys(),code:Bs(),break:Os(),text:Ls()};U.blockMethods=Ns(U.blockTokenizers);U.inlineMethods=Ns(U.inlineTokenizers);U.tokenizeBlock=bn("block");U.tokenizeInline=bn("inline");U.tokenizeFactory=bn;function Ns(e){var r=[],t;for(t in e)r.push(t);return r}});var Gs=C((TE,Ys)=>{"use strict";var S0=Zi(),O0=Ie(),zs=Us();Ys.exports=Ms;Ms.Parser=zs;function Ms(e){var r=this.data("settings"),t=S0(zs);t.prototype.options=O0(t.prototype.options,r,e),this.Parser=t}});var js=C((_E,Vs)=>{"use strict";Vs.exports=P0;function P0(e){if(e)throw e}});var yn=C((SE,$s)=>{$s.exports=function(r){return r!=null&&r.constructor!=null&&typeof r.constructor.isBuffer=="function"&&r.constructor.isBuffer(r)}});var rc=C((OE,ec)=>{"use strict";var ot=Object.prototype.hasOwnProperty,Zs=Object.prototype.toString,Hs=Object.defineProperty,Ws=Object.getOwnPropertyDescriptor,Ks=function(r){return typeof Array.isArray=="function"?Array.isArray(r):Zs.call(r)==="[object Array]"},Js=function(r){if(!r||Zs.call(r)!=="[object Object]")return!1;var t=ot.call(r,"constructor"),n=r.constructor&&r.constructor.prototype&&ot.call(r.constructor.prototype,"isPrototypeOf");if(r.constructor&&!t&&!n)return!1;var a;for(a in r);return typeof a>"u"||ot.call(r,a)},Xs=function(r,t){Hs&&t.name==="__proto__"?Hs(r,t.name,{enumerable:!0,configurable:!0,value:t.newValue,writable:!0}):r[t.name]=t.newValue},Qs=function(r,t){if(t==="__proto__")if(ot.call(r,t)){if(Ws)return Ws(r,t).value}else return;return r[t]};ec.exports=function e(){var r,t,n,a,u,i,o=arguments[0],s=1,l=arguments.length,c=!1;for(typeof o=="boolean"&&(c=o,o=arguments[1]||{},s=2),(o==null||typeof o!="object"&&typeof o!="function")&&(o={});s{"use strict";tc.exports=e=>{if(Object.prototype.toString.call(e)!=="[object Object]")return!1;let r=Object.getPrototypeOf(e);return r===null||r===Object.prototype}});var uc=C((LE,ic)=>{"use strict";var L0=[].slice;ic.exports=I0;function I0(e,r){var t;return n;function n(){var i=L0.call(arguments,0),o=e.length>i.length,s;o&&i.push(a);try{s=e.apply(null,i)}catch(l){if(o&&t)throw l;return a(l)}o||(s&&typeof s.then=="function"?s.then(u,a):s instanceof Error?a(s):u(s))}function a(){t||(t=!0,r.apply(null,arguments))}function u(i){a(null,i)}}});var lc=C((IE,cc)=>{"use strict";var oc=uc();cc.exports=sc;sc.wrap=oc;var ac=[].slice;function sc(){var e=[],r={};return r.run=t,r.use=n,r;function t(){var a=-1,u=ac.call(arguments,0,-1),i=arguments[arguments.length-1];if(typeof i!="function")throw new Error("Expected function as last argument, not "+i);o.apply(null,[null].concat(u));function o(s){var l=e[++a],c=ac.call(arguments,0),f=c.slice(1),D=u.length,h=-1;if(s){i(s);return}for(;++h{"use strict";var Xe={}.hasOwnProperty;pc.exports=N0;function N0(e){return!e||typeof e!="object"?"":Xe.call(e,"position")||Xe.call(e,"type")?fc(e.position):Xe.call(e,"start")||Xe.call(e,"end")?fc(e):Xe.call(e,"line")||Xe.call(e,"column")?An(e):""}function An(e){return(!e||typeof e!="object")&&(e={}),Dc(e.line)+":"+Dc(e.column)}function fc(e){return(!e||typeof e!="object")&&(e={}),An(e.start)+"-"+An(e.end)}function Dc(e){return e&&typeof e=="number"?e:1}});var Fc=C((RE,mc)=>{"use strict";var R0=dc();mc.exports=xn;function hc(){}hc.prototype=Error.prototype;xn.prototype=new hc;var we=xn.prototype;we.file="";we.name="";we.reason="";we.message="";we.stack="";we.fatal=null;we.column=null;we.line=null;function xn(e,r,t){var n,a,u;typeof r=="string"&&(t=r,r=null),n=U0(t),a=R0(r)||"1:1",u={start:{line:null,column:null},end:{line:null,column:null}},r&&r.position&&(r=r.position),r&&(r.start?(u=r,r=r.start):u.start=r),e.stack&&(this.stack=e.stack,e=e.message),this.message=e,this.name=a,this.reason=e,this.line=r?r.line:null,this.column=r?r.column:null,this.location=u,this.source=n[0],this.ruleId=n[1]}function U0(e){var r=[null,null],t;return typeof e=="string"&&(t=e.indexOf(":"),t===-1?r[1]=e:(r[0]=e.slice(0,t),r[1]=e.slice(t+1))),r}});var gc=C(Qe=>{"use strict";Qe.basename=z0;Qe.dirname=M0;Qe.extname=Y0;Qe.join=G0;Qe.sep="/";function z0(e,r){var t=0,n=-1,a,u,i,o;if(r!==void 0&&typeof r!="string")throw new TypeError('"ext" argument must be a string');if(yr(e),a=e.length,r===void 0||!r.length||r.length>e.length){for(;a--;)if(e.charCodeAt(a)===47){if(i){t=a+1;break}}else n<0&&(i=!0,n=a+1);return n<0?"":e.slice(t,n)}if(r===e)return"";for(u=-1,o=r.length-1;a--;)if(e.charCodeAt(a)===47){if(i){t=a+1;break}}else u<0&&(i=!0,u=a+1),o>-1&&(e.charCodeAt(a)===r.charCodeAt(o--)?o<0&&(n=a):(o=-1,n=u));return t===n?n=u:n<0&&(n=e.length),e.slice(t,n)}function M0(e){var r,t,n;if(yr(e),!e.length)return".";for(r=-1,n=e.length;--n;)if(e.charCodeAt(n)===47){if(t){r=n;break}}else t||(t=!0);return r<0?e.charCodeAt(0)===47?"/":".":r===1&&e.charCodeAt(0)===47?"//":e.slice(0,r)}function Y0(e){var r=-1,t=0,n=-1,a=0,u,i,o;for(yr(e),o=e.length;o--;){if(i=e.charCodeAt(o),i===47){if(u){t=o+1;break}continue}n<0&&(u=!0,n=o+1),i===46?r<0?r=o:a!==1&&(a=1):r>-1&&(a=-1)}return r<0||n<0||a===0||a===1&&r===n-1&&r===t+1?"":e.slice(r,n)}function G0(){for(var e=-1,r;++e2){if(s=t.lastIndexOf("/"),s!==t.length-1){s<0?(t="",n=0):(t=t.slice(0,s),n=t.length-1-t.lastIndexOf("/")),a=i,u=0;continue}}else if(t.length){t="",n=0,a=i,u=0;continue}}r&&(t=t.length?t+"/..":"..",n=2)}else t.length?t+="/"+e.slice(a+1,i):t=e.slice(a+1,i),n=i-a-1;a=i,u=0}else o===46&&u>-1?u++:u=-1}return t}function yr(e){if(typeof e!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(e))}});var Ec=C(vc=>{"use strict";vc.cwd=$0;function $0(){return"/"}});var yc=C((ME,bc)=>{"use strict";var ae=gc(),H0=Ec(),W0=yn();bc.exports=he;var K0={}.hasOwnProperty,wn=["history","path","basename","stem","extname","dirname"];he.prototype.toString=am;Object.defineProperty(he.prototype,"path",{get:J0,set:X0});Object.defineProperty(he.prototype,"dirname",{get:Q0,set:Z0});Object.defineProperty(he.prototype,"basename",{get:em,set:rm});Object.defineProperty(he.prototype,"extname",{get:tm,set:nm});Object.defineProperty(he.prototype,"stem",{get:im,set:um});function he(e){var r,t;if(!e)e={};else if(typeof e=="string"||W0(e))e={contents:e};else if("message"in e&&"messages"in e)return e;if(!(this instanceof he))return new he(e);for(this.data={},this.messages=[],this.history=[],this.cwd=H0.cwd(),t=-1;++t-1)throw new Error("`extname` cannot contain multiple dots")}this.path=ae.join(this.dirname,this.stem+(e||""))}function im(){return typeof this.path=="string"?ae.basename(this.path,this.extname):void 0}function um(e){Bn(e,"stem"),kn(e,"stem"),this.path=ae.join(this.dirname||"",e+(this.extname||""))}function am(e){return(this.contents||"").toString(e)}function kn(e,r){if(e&&e.indexOf(ae.sep)>-1)throw new Error("`"+r+"` cannot be a path: did not expect `"+ae.sep+"`")}function Bn(e,r){if(!e)throw new Error("`"+r+"` cannot be empty")}function Cc(e,r){if(!e)throw new Error("Setting `"+r+"` requires `path` to be set too")}});var xc=C((YE,Ac)=>{"use strict";var om=Fc(),st=yc();Ac.exports=st;st.prototype.message=sm;st.prototype.info=lm;st.prototype.fail=cm;function sm(e,r,t){var n=new om(e,r,t);return this.path&&(n.name=this.path+":"+n.name,n.file=this.path),n.fatal=!1,this.messages.push(n),n}function cm(){var e=this.message.apply(this,arguments);throw e.fatal=!0,e}function lm(){var e=this.message.apply(this,arguments);return e.fatal=null,e}});var kc=C((GE,wc)=>{"use strict";wc.exports=xc()});var Ic=C((VE,Lc)=>{"use strict";var Bc=js(),fm=yn(),ct=rc(),qc=nc(),Oc=lc(),Ar=kc();Lc.exports=Pc().freeze();var Dm=[].slice,pm={}.hasOwnProperty,dm=Oc().use(hm).use(mm).use(Fm);function hm(e,r){r.tree=e.parse(r.file)}function mm(e,r,t){e.run(r.tree,r.file,n);function n(a,u,i){a?t(a):(r.tree=u,r.file=i,t())}}function Fm(e,r){var t=e.stringify(r.tree,r.file);t==null||(typeof t=="string"||fm(t)?("value"in r.file&&(r.file.value=t),r.file.contents=t):r.file.result=t)}function Pc(){var e=[],r=Oc(),t={},n=-1,a;return u.data=o,u.freeze=i,u.attachers=e,u.use=s,u.parse=c,u.stringify=h,u.run=f,u.runSync=D,u.process=p,u.processSync=d,u;function u(){for(var m=Pc(),F=-1;++F_i,options:()=>Si,parsers:()=>On,printers:()=>qm});var al=(e,r,t,n)=>{if(!(e&&r==null))return r.replaceAll?r.replaceAll(t,n):t.global?r.replace(t,n):r.split(t).join(n)},N=al;var ol=(e,r,t)=>{if(!(e&&r==null))return Array.isArray(r)||typeof r=="string"?r[t<0?r.length+t:t]:r.at(t)},M=ol;var qi=Ue(xr(),1);function Be(e){if(typeof e!="string")throw new TypeError("Expected a string");return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}var $="string",H="array",ge="cursor",ee="indent",re="align",oe="trim",K="group",J="fill",X="if-break",se="indent-if-break",ce="line-suffix",le="line-suffix-boundary",W="line",fe="label",te="break-parent",wr=new Set([ge,ee,re,oe,K,J,X,se,ce,le,W,fe,te]);function cl(e){if(typeof e=="string")return $;if(Array.isArray(e))return H;if(!e)return;let{type:r}=e;if(wr.has(r))return r}var Y=cl;var ll=e=>new Intl.ListFormat("en-US",{type:"disjunction"}).format(e);function fl(e){let r=e===null?"null":typeof e;if(r!=="string"&&r!=="object")return`Unexpected doc '${r}', +Expected it to be 'string' or 'object'.`;if(Y(e))throw new Error("doc is valid.");let t=Object.prototype.toString.call(e);if(t!=="[object Object]")return`Unexpected doc '${t}'.`;let n=ll([...wr].map(a=>`'${a}'`));return`Unexpected doc.type '${e.type}'. +Expected it to be ${n}.`}var Dt=class extends Error{name="InvalidDocError";constructor(r){super(fl(r)),this.doc=r}},qe=Dt;var Nn={};function Dl(e,r,t,n){let a=[e];for(;a.length>0;){let u=a.pop();if(u===Nn){t(a.pop());continue}t&&a.push(u,Nn);let i=Y(u);if(!i)throw new qe(u);if((r==null?void 0:r(u))!==!1)switch(i){case H:case J:{let o=i===H?u:u.parts;for(let s=o.length,l=s-1;l>=0;--l)a.push(o[l]);break}case X:a.push(u.flatContents,u.breakContents);break;case K:if(n&&u.expandedStates)for(let o=u.expandedStates.length,s=o-1;s>=0;--s)a.push(u.expandedStates[s]);else a.push(u.contents);break;case re:case ee:case se:case fe:case ce:a.push(u.contents);break;case $:case ge:case oe:case le:case W:case te:break;default:throw new qe(u)}}}var Rn=Dl;var Un=()=>{},Te=Un,kr=Un;function Ze(e){return Te(e),{type:ee,contents:e}}function ve(e,r){return Te(r),{type:re,contents:r,n:e}}function ze(e,r={}){return Te(e),kr(r.expandedStates,!0),{type:K,id:r.id,contents:e,break:!!r.shouldBreak,expandedStates:r.expandedStates}}function _e(e){return ve({type:"root"},e)}function Ee(e){return kr(e),{type:J,parts:e}}function zn(e,r="",t={}){return Te(e),r!==""&&Te(r),{type:X,breakContents:e,flatContents:r,groupId:t.groupId}}var er={type:te};var rr={type:W,hard:!0},pl={type:W,hard:!0,literal:!0},Br={type:W},qr={type:W,soft:!0},L=[rr,er],tr=[pl,er];function Tr(e,r){Te(e),kr(r);let t=[];for(let n=0;n0){let r=M(!1,e,-1);!r.expandedStates&&!r.break&&(r.break="propagated")}return null}function Yn(e){let r=new Set,t=[];function n(u){if(u.type===te&&Mn(t),u.type===K){if(t.push(u),r.has(u))return!1;r.add(u)}}function a(u){u.type===K&&t.pop().break&&Mn(t)}Rn(e,n,a,!0)}function Ce(e,r=tr){return dl(e,t=>typeof t=="string"?Tr(r,t.split(` +`)):t)}function hl(e,r){let t=e.match(new RegExp(`(${Be(r)})+`,"gu"));return t===null?0:t.reduce((n,a)=>Math.max(n,a.length/r.length),0)}var _r=hl;function ml(e,r){let t=e.match(new RegExp(`(${Be(r)})+`,"gu"));if(t===null)return 0;let n=new Map,a=0;for(let u of t){let i=u.length/r.length;n.set(i,!0),i>a&&(a=i)}for(let u=1;uu?n:t}var jn=Fl;var pt=class extends Error{name="UnexpectedNodeError";constructor(r,t,n="type"){super(`Unexpected ${t} node ${n}: ${JSON.stringify(r[n])}.`),this.node=r}},$n=pt;var Xn=Ue(xr(),1);function gl(e){return(e==null?void 0:e.type)==="front-matter"}var Hn=gl;var nr=3;function vl(e){let r=e.slice(0,nr);if(r!=="---"&&r!=="+++")return;let t=e.indexOf(` +`,nr);if(t===-1)return;let n=e.slice(nr,t).trim(),a=e.indexOf(` +${r}`,t),u=n;if(u||(u=r==="+++"?"toml":"yaml"),a===-1&&r==="---"&&u==="yaml"&&(a=e.indexOf(` +...`,t)),a===-1)return;let i=a+1+nr,o=e.charAt(i+1);if(!/\s?/u.test(o))return;let s=e.slice(0,i);return{type:"front-matter",language:u,explicitLanguage:n,value:e.slice(t+1,a),startDelimiter:r,endDelimiter:s.slice(-nr),raw:s}}function El(e){let r=vl(e);if(!r)return{content:e};let{raw:t}=r;return{frontMatter:r,content:N(!1,t,/[^\n]/gu," ")+e.slice(t.length)}}var ir=El;var Wn=["format","prettier"];function dt(e){let r=`@(${Wn.join("|")})`,t=new RegExp([``,`\\{\\s*\\/\\*\\s*${r}\\s*\\*\\/\\s*\\}`,``].join("|"),"m"),t=e.match(n);return(t==null?void 0:t.index)===0}var fi=e=>Et(or(e).content.trimStart()),Di=e=>{let r=or(e),n=``;return r.frontMatter?`${r.frontMatter.raw} +.*-->`].join("|"),"mu"),n=e.match(t);return(n==null?void 0:n.index)===0}var Kn=e=>dt(ir(e).content.trimStart()),Jn=e=>{let r=ir(e),t=``;return r.frontMatter?`${r.frontMatter.raw} -${n} +${t} -${r.content}`:`${n} +${r.content}`:`${t} -${r.content}`};var ql=/^.$/su;function Tl(e,r){return e=Sl(e,r),e=Pl(e),e=Ol(e,r),e=Il(e,r),e=Ll(e),e}function Sl(e,r){return be(e,n=>n.type!=="text"||n.value==="*"||n.value==="_"||!ql.test(n.value)||n.position.end.offset-n.position.start.offset===n.value.length?n:{...n,value:r.originalText.slice(n.position.start.offset,n.position.end.offset)})}function _l(e,r,n){return be(e,t=>{if(!t.children)return t;let a=t.children.reduce((i,u)=>{let o=U(!1,i,-1);return o&&r(o,u)?i.splice(-1,1,n(o,u)):i.push(u),i},[]);return{...t,children:a}})}function Pl(e){return _l(e,(r,n)=>r.type==="text"&&n.type==="text",(r,n)=>({type:"text",value:r.value+n.value,position:{start:r.position.start,end:n.position.end}}))}function Ll(e){return be(e,(r,n,[t])=>{if(r.type!=="text")return r;let{value:a}=r;return t.type==="paragraph"&&(n===0&&(a=a.trimStart()),n===t.children.length-1&&(a=a.trimEnd())),{type:"sentence",position:r.position,children:Or(a)}})}function Ol(e,r){return be(e,(n,t,a)=>{if(n.type==="code"){let i=/^\n?(?: {4,}|\t)/.test(r.originalText.slice(n.position.start.offset,n.position.end.offset));if(n.isIndented=i,i)for(let u=0;u{if(a.type==="list"&&a.children.length>0){for(let o=0;o1)return!0;let s=n(i);if(s===-1)return!1;if(a.children.length===1)return s%r.tabWidth===0;let l=n(u);return s!==l?!1:s%r.tabWidth===0?!0:Re(u,r.originalText).leadingSpaces.length>1}}var pi=Tl;var hi=Ie(kr(),1);function Nl(e){return(e==null?void 0:e.type)==="front-matter"}var di=Nl;var Rl=new Set(["position","raw"]);function mi(e,r,n){if((e.type==="front-matter"||e.type==="code"||e.type==="yaml"||e.type==="import"||e.type==="export"||e.type==="jsx")&&delete r.value,e.type==="list"&&delete r.isAligned,(e.type==="list"||e.type==="listItem")&&delete r.spread,e.type==="text"||(e.type==="inlineCode"&&(r.value=R(!1,e.value,` -`," ")),e.type==="wikiLink"&&(r.value=R(!1,e.value.trim(),/[\t\n]+/g," ")),(e.type==="definition"||e.type==="linkReference"||e.type==="imageReference")&&(r.label=(0,hi.default)(e.label)),(e.type==="definition"||e.type==="link"||e.type==="image")&&e.title&&(r.title=R(!1,e.title,/\\(?=["')])/g,"")),(n==null?void 0:n.type)==="root"&&n.children.length>0&&(n.children[0]===e||di(n.children[0])&&n.children[1]===e)&&e.type==="html"&&Et(e.value)))return null}mi.ignoredProperties=Rl;var gi=mi;var sr=null;function cr(e){if(sr!==null&&typeof sr.property){let r=sr;return sr=cr.prototype=null,r}return sr=cr.prototype=e??Object.create(null),new cr}var zl=10;for(let e=0;e<=zl;e++)cr();function Ct(e){return cr(e)}function Ml(e,r="type"){Ct(e);function n(t){let a=t[r],i=e[a];if(!Array.isArray(i))throw Object.assign(new Error(`Missing visitor keys for '${a}'.`),{node:t});return i}return n}var vi=Ml;var Ul={"front-matter":[],root:["children"],paragraph:["children"],sentence:["children"],word:[],whitespace:[],emphasis:["children"],strong:["children"],delete:["children"],inlineCode:[],wikiLink:[],link:["children"],image:[],blockquote:["children"],heading:["children"],code:[],html:[],list:["children"],thematicBreak:[],linkReference:["children"],imageReference:[],definition:[],footnote:["children"],footnoteReference:[],footnoteDefinition:["children"],table:["children"],tableCell:["children"],break:[],liquidNode:[],import:[],export:[],esComment:[],jsx:[],math:[],inlineMath:[],tableRow:["children"],listItem:["children"],text:[]},Fi=Ul;var Yl=vi(Fi),Ei=Yl;var Vl=new Set(["heading","tableCell","link","wikiLink"]),jl=new Set(`$(\xA3\xA5\xB7'"\u3008\u300A\u300C\u300E\u3010\u3014\u3016\u301D\uFE59\uFE5B\uFF04\uFF08\uFF3B\uFF5B\uFFE1\uFFE5[{\u2035\uFE34\uFE35\uFE37\uFE39\uFE3B\uFE3D\uFE3F\uFE41\uFE43\uFE4F\u3018\uFF5F\xAB`),$l=new Set(`!%),.:;?]}\xA2\xB0\xB7'"\u2020\u2021\u203A\u2103\u2236\u3001\u3002\u3003\u3006\u3015\u3017\u301E\uFE5A\uFE5C\uFF01\uFF02\uFF05\uFF07\uFF09\uFF0C\uFF0E\uFF1A\uFF1B\uFF1F\uFF3D\uFF5D\uFF5E\u2013\u2014\u2022\u3009\u300B\u300D\uFE30\uFE31\uFE32\uFE33\uFE50\uFE51\uFE52\uFE53\uFE54\uFE55\uFE56\uFE58\uFE36\uFE38\uFE3A\uFE3C\uFE3E\uFE40\uFE42\uFE57\uFF5C\uFF64\u300F\u3011\u3019\u301F\uFF60\xBB\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\u2010\u30A0\u301C\uFF5E\u203C\u2047\u2048\u2049\u30FB`),Ci=new Set("!\"#$%&'()*+,-./:;<=>?@[\\]^_`{|}~");function Gl({parent:e}){if(e.usesCJSpaces===void 0){let r={" ":0,"":0},{children:n}=e;for(let t=1;tr[""]}return e.usesCJSpaces}function Hl(e,r){if(r)return!0;let{previous:n,next:t}=e;if(!n||!t)return!0;let a=n.kind,i=t.kind;return xi(a)&&xi(i)||a===Ce&&i===De||i===Ce&&a===De?!0:a===ar||i===ar||a===De&&i===De?!1:Ci.has(t.value[0])||Ci.has(U(!1,n.value,-1))?!0:n.hasTrailingPunctuation||t.hasLeadingPunctuation?!1:Gl(e)}function bi(e){return e===_e||e===De||e===Ce}function xi(e){return e===_e||e===Ce}function Wl(e,r,n,t,a){if(n!=="always"||e.hasAncestor(s=>Vl.has(s.type)))return!1;if(t)return r!=="";if(r===" ")return!0;let{previous:i,next:u}=e;return!(r===""&&((i==null?void 0:i.kind)===Ce&&bi(u==null?void 0:u.kind)||(u==null?void 0:u.kind)===Ce&&bi(i==null?void 0:i.kind))||!a&&(u&&$l.has(u.value[0])||i&&jl.has(U(!1,i.value,-1))))}function bt(e,r,n,t){if(n==="preserve"&&r===` -`)return O;let a=r===" "||r===` -`&&Hl(e,t);return Wl(e,r,n,t,a)?a?Sr:rr:a?" ":""}var Kl=new Set(["listItem","definition","footnoteDefinition"]);function Jl(e,r,n){var a,i,u;let{node:t}=e;if(nf(e))return Or(r.originalText.slice(t.position.start.offset,t.position.end.offset)).map(o=>o.type==="word"?o.value:bt(e,o.value,r.proseWrap,!0));switch(t.type){case"front-matter":return r.originalText.slice(t.position.start.offset,t.position.end.offset);case"root":return t.children.length===0?"":[Qn(ef(e,r,n)),O];case"paragraph":return Y(e,r,n,{postprocessor:Tr});case"sentence":return Y(e,r,n);case"word":{let o=R(!1,R(!1,t.value,"*","\\*"),new RegExp([`(^|${ur})(_+)`,`(_+)(${ur}|$)`].join("|"),"g"),(c,f,D,h,p)=>R(!1,D?`${f}${D}`:`${h}${p}`,"_","\\_")),s=(c,f,D)=>c.type==="sentence"&&D===0,l=(c,f,D)=>Ft(c.children[D-1]);return o!==t.value&&(e.match(void 0,s,l)||e.match(void 0,s,(c,f,D)=>c.type==="emphasis"&&D===0,l))&&(o=o.replace(/^(\\?[*_])+/,c=>R(!1,c,"\\",""))),o}case"whitespace":{let{next:o}=e,s=o&&/^>|^(?:[*+-]|#{1,6}|\d+[).])$/.test(o.value)?"never":r.proseWrap;return bt(e,t.value,s)}case"emphasis":{let o;if(Ft(t.children[0]))o=r.originalText[t.position.start.offset];else{let{previous:s,next:l}=e;o=(s==null?void 0:s.type)==="sentence"&&((a=U(!1,s.children,-1))==null?void 0:a.type)==="word"&&!U(!1,s.children,-1).hasTrailingPunctuation||(l==null?void 0:l.type)==="sentence"&&((i=l.children[0])==null?void 0:i.type)==="word"&&!l.children[0].hasLeadingPunctuation||e.hasAncestor(f=>f.type==="emphasis")?"*":"_"}return[o,Y(e,r,n),o]}case"strong":return["**",Y(e,r,n),"**"];case"delete":return["~~",Y(e,r,n),"~~"];case"inlineCode":{let o=r.proseWrap==="preserve"?t.value:R(!1,t.value,` -`," "),s=Rn(o,"`"),l="`".repeat(s||1),c=o.startsWith("`")||o.endsWith("`")||/^[\n ]/.test(o)&&/[\n ]$/.test(o)&&/[^\n ]/.test(o)?" ":"";return[l,c,o,c,l]}case"wikiLink":{let o="";return r.proseWrap==="preserve"?o=t.value:o=R(!1,t.value,/[\t\n]+/g," "),["[[",o,"]]"]}case"link":switch(r.originalText[t.position.start.offset]){case"<":{let o="mailto:";return["<",t.url.startsWith(o)&&r.originalText.slice(t.position.start.offset+1,t.position.start.offset+1+o.length)!==o?t.url.slice(o.length):t.url,">"]}case"[":return["[",Y(e,r,n),"](",xt(t.url,")"),Nr(t.title,r),")"];default:return r.originalText.slice(t.position.start.offset,t.position.end.offset)}case"image":return["![",t.alt||"","](",xt(t.url,")"),Nr(t.title,r),")"];case"blockquote":return["> ",Fe("> ",Y(e,r,n))];case"heading":return["#".repeat(t.depth)+" ",Y(e,r,n)];case"code":{if(t.isIndented){let l=" ".repeat(4);return Fe(l,[l,Ee(t.value,O)])}let o=r.__inJsTemplate?"~":"`",s=o.repeat(Math.max(3,wr(t.value,o)+1));return[s,t.lang||"",t.meta?" "+t.meta:"",O,Ee(Ir(t,r.originalText),O),O,s]}case"html":{let{parent:o,isLast:s}=e,l=o.type==="root"&&s?t.value.trimEnd():t.value,c=/^$/s.test(l);return Ee(l,c?O:qe(tr))}case"list":{let o=ki(t,e.parent),s=si(t,r);return Y(e,r,n,{processor(l){let c=D(),f=l.node;if(f.children.length===2&&f.children[1].type==="html"&&f.children[0].position.start.column!==f.children[1].position.start.column)return[c,yi(l,r,n,c)];return[c,Fe(" ".repeat(c.length),yi(l,r,n,c))];function D(){let h=t.ordered?(l.isFirst?t.start:s?1:t.start+l.index)+(o%2===0?". ":") "):o%2===0?"- ":"* ";return t.isAligned||t.hasIndentedCodeblock?Xl(h,r):h}}})}case"thematicBreak":{let{ancestors:o}=e,s=o.findIndex(c=>c.type==="list");return s===-1?"---":ki(o[s],o[s+1])%2===0?"***":"---"}case"linkReference":return["[",Y(e,r,n),"]",t.referenceType==="full"?yt(t):t.referenceType==="collapsed"?"[]":""];case"imageReference":switch(t.referenceType){case"full":return["![",t.alt||"","]",yt(t)];default:return["![",t.alt,"]",t.referenceType==="collapsed"?"[]":""]}case"definition":{let o=r.proseWrap==="always"?Sr:" ";return Ze([yt(t),":",Qe([o,xt(t.url),t.title===null?"":[o,Nr(t.title,r,!1)]])])}case"footnote":return["[^",Y(e,r,n),"]"];case"footnoteReference":return qi(t);case"footnoteDefinition":{let o=t.children.length===1&&t.children[0].type==="paragraph"&&(r.proseWrap==="never"||r.proseWrap==="preserve"&&t.children[0].position.start.line===t.children[0].position.end.line);return[qi(t),": ",o?Y(e,r,n):Ze([Fe(" ".repeat(4),Y(e,r,n,{processor:({isFirst:s})=>s?Ze([rr,n()]):n()})),((u=e.next)==null?void 0:u.type)==="footnoteDefinition"?rr:""])]}case"table":return Zl(e,r,n);case"tableCell":return Y(e,r,n);case"break":return/\s/.test(r.originalText[t.position.start.offset])?[" ",qe(tr)]:["\\",O];case"liquidNode":return Ee(t.value,O);case"import":case"export":case"jsx":return t.value;case"esComment":return["{/* ",t.value," */}"];case"math":return["$$",O,t.value?[Ee(t.value,O),O]:"","$$"];case"inlineMath":return r.originalText.slice(Te(t),Se(t));case"tableRow":case"listItem":case"text":default:throw new ti(t,"Markdown")}}function yi(e,r,n,t){let{node:a}=e,i=a.checked===null?"":a.checked?"[x] ":"[ ] ";return[i,Y(e,r,n,{processor({node:u,isFirst:o}){if(o&&u.type!=="list")return Fe(" ".repeat(i.length),n());let s=" ".repeat(uf(r.tabWidth-t.length,0,3));return[s,Fe(s,n())]}})]}function Xl(e,r){let n=t();return e+" ".repeat(n>=4?0:n);function t(){let a=e.length%r.tabWidth;return a===0?0:r.tabWidth-a}}function ki(e,r){return Ql(e,r,n=>n.ordered===e.ordered)}function Ql(e,r,n){let t=-1;for(let a of r.children)if(a.type===e.type&&n(a)?t++:t=-1,a===e)return t}function Zl(e,r,n){let{node:t}=e,a=[],i=e.map(()=>e.map(({index:f})=>{let D=ri(n(),r).formatted,h=Xe(D);return a[f]=Math.max(a[f]||3,h),{text:D,width:h}},"children"),"children"),u=s(!1);if(r.proseWrap!=="never")return[er,u];let o=s(!0);return[er,Ze(Gn(o,u))];function s(f){let D=[c(i[0],f),l(f)];return i.length>1&&D.push(nr(Ne,i.slice(1).map(h=>c(h,f)))),nr(Ne,D)}function l(f){return`| ${a.map((h,p)=>{let d=t.align[p],m=d==="center"||d==="left"?":":"-",g=d==="center"||d==="right"?":":"-",x=f?"-":"-".repeat(h-2);return`${m}${x}${g}`}).join(" | ")} |`}function c(f,D){return`| ${f.map(({text:p,width:d},m)=>{if(D)return p;let g=a[m]-d,x=t.align[m],F=0;x==="right"?F=g:x==="center"&&(F=Math.floor(g/2));let B=g-F;return`${" ".repeat(F)}${p}${" ".repeat(B)}`}).join(" | ")} |`}}function ef(e,r,n){let t=[],a=null,{children:i}=e.node;for(let[u,o]of i.entries())switch(kt(o)){case"start":a===null&&(a={index:u,offset:o.position.end.offset});break;case"end":a!==null&&(t.push({start:a,end:{index:u,offset:o.position.start.offset}}),a=null);break;default:break}return Y(e,r,n,{processor({index:u}){if(t.length>0){let o=t[0];if(u===o.start.index)return[wi(i[o.start.index]),r.originalText.slice(o.start.offset,o.end.offset),wi(i[o.end.index])];if(o.start.indexo,processor:i=()=>n()}=t,u=[];return e.each(()=>{let o=i(e);o!==!1&&(u.length>0&&rf(e)&&(u.push(O),(tf(e,r)||Bi(e))&&u.push(O),Bi(e)&&u.push(O)),u.push(o))},"children"),a(u)}function wi(e){if(e.type==="html")return e.value;if(e.type==="paragraph"&&Array.isArray(e.children)&&e.children.length===1&&e.children[0].type==="esComment")return["{/* ",e.children[0].value," */}"]}function kt(e){let r;if(e.type==="html")r=e.value.match(/^$/);else{let n;e.type==="esComment"?n=e:e.type==="paragraph"&&e.children.length===1&&e.children[0].type==="esComment"&&(n=e.children[0]),n&&(r=n.value.match(/^prettier-ignore(?:-(start|end))?$/))}return r?r[1]||"next":!1}function rf({node:e,parent:r}){let n=vt.has(e.type),t=e.type==="html"&&Lr.has(r.type);return!n&&!t}function Ai(e,r){return e.type==="listItem"&&(e.spread||r.originalText.charAt(e.position.end.offset-1)===` -`)}function tf({node:e,previous:r,parent:n},t){if(Ai(r,t))return!0;let u=r.type===e.type&&Kl.has(e.type),o=n.type==="listItem"&&!Ai(n,t),s=kt(r)==="next",l=e.type==="html"&&r.type==="html"&&r.position.end.line+1===e.position.start.line,c=e.type==="html"&&n.type==="listItem"&&r.type==="paragraph"&&r.position.end.line+1===e.position.start.line;return!(u||o||s||l||c)}function Bi({node:e,previous:r}){let n=r.type==="list",t=e.type==="code"&&e.isIndented;return n&&t}function nf(e){let r=e.findAncestor(n=>n.type==="linkReference"||n.type==="imageReference");return r&&(r.type!=="linkReference"||r.referenceType!=="full")}function xt(e,r=[]){let n=[" ",...Array.isArray(r)?r:[r]];return new RegExp(n.map(t=>`\\${t}`).join("|")).test(e)?`<${e}>`:e}function Nr(e,r,n=!0){if(!e)return"";if(n)return" "+Nr(e,r,!1);if(e=R(!1,e,/\\(?=["')])/g,""),e.includes('"')&&e.includes("'")&&!e.includes(")"))return`(${e})`;let t=Yn(e,r.singleQuote);return e=R(!1,e,"\\","\\\\"),e=R(!1,e,t,`\\${t}`),`${t}${e}${t}`}function uf(e,r,n){return en?n:e}function af(e){return e.index>0&&kt(e.previous)==="next"}function yt(e){return`[${(0,Ti.default)(e.label)}]`}function qi(e){return`[^${e.label}]`}var of={preprocess:pi,print:Jl,embed:ci,massageAstNode:gi,hasPrettierIgnore:af,insertPragma:Di,getVisitorKeys:Ei},Si=of;var lt={};In(lt,{markdown:()=>xg,mdx:()=>yg,remark:()=>xg});var Hc=Ie(ws(),1),Wc=Ie(Fc(),1),Kc=Ie(Pc(),1),Jc=Ie(Oc(),1);var hg=/^import\s/,mg=/^export\s/,Ic="[a-z][a-z0-9]*(\\.[a-z][a-z0-9]*)*|",Nc=/|/,gg=/^{\s*\/\*(.*)\*\/\s*}/,vg=` +${r.content}`};var Cl=new Set(["position","raw"]);function Qn(e,r,t){if((e.type==="front-matter"||e.type==="code"||e.type==="yaml"||e.type==="import"||e.type==="export"||e.type==="jsx")&&delete r.value,e.type==="list"&&delete r.isAligned,(e.type==="list"||e.type==="listItem")&&delete r.spread,e.type==="text")return null;if(e.type==="inlineCode"&&(r.value=N(!1,e.value,` +`," ")),e.type==="wikiLink"&&(r.value=N(!1,e.value.trim(),/[\t\n]+/gu," ")),(e.type==="definition"||e.type==="linkReference"||e.type==="imageReference")&&(r.label=(0,Xn.default)(e.label)),(e.type==="link"||e.type==="image")&&e.url&&e.url.includes("("))for(let n of"<>")r.url=N(!1,e.url,n,encodeURIComponent(n));if((e.type==="definition"||e.type==="link"||e.type==="image")&&e.title&&(r.title=N(!1,e.title,/\\(?=["')])/gu,"")),(t==null?void 0:t.type)==="root"&&t.children.length>0&&(t.children[0]===e||Hn(t.children[0])&&t.children[1]===e)&&e.type==="html"&&dt(e.value))return null}Qn.ignoredProperties=Cl;var Zn=Qn;var ei=/(?:[\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-\u4dbf\u4e00-\u9fff\ua700-\ua707\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\ud880-\ud883\ud885-\ud887][\udc00-\udfff]|\ud81b[\udfe3]|\ud82b[\udff0-\udff3\udff5-\udffb\udffd-\udffe]|\ud82c[\udc00-\udd22\udd32\udd50-\udd52\udd55\udd64-\udd67]|\ud83c[\ude00\ude50-\ude51]|\ud869[\udc00-\udedf\udf00-\udfff]|\ud86d[\udc00-\udf39\udf40-\udfff]|\ud86e[\udc00-\udc1d\udc20-\udfff]|\ud873[\udc00-\udea1\udeb0-\udfff]|\ud87a[\udc00-\udfe0]|\ud87e[\udc00-\ude1d]|\ud884[\udc00-\udf4a\udf50-\udfff]|\ud888[\udc00-\udfaf])(?:[\ufe00-\ufe0f]|\udb40[\udd00-\uddef])?/u,Se=/(?:[\u0021-\u002f\u003a-\u0040\u005b-\u0060\u007b-\u007e]|\p{General_Category=Connector_Punctuation}|\p{General_Category=Dash_Punctuation}|\p{General_Category=Close_Punctuation}|\p{General_Category=Final_Punctuation}|\p{General_Category=Initial_Punctuation}|\p{General_Category=Other_Punctuation}|\p{General_Category=Open_Punctuation})/u;async function bl(e,r){if(e.language==="yaml"){let t=e.value.trim(),n=t?await r(t,{parser:"yaml"}):"";return _e([e.startDelimiter,e.explicitLanguage,L,n,n?L:"",e.endDelimiter])}}var ri=bl;var yl=e=>String(e).split(/[/\\]/u).pop();function ti(e,r){if(!r)return;let t=yl(r).toLowerCase();return e.find(({filenames:n})=>n==null?void 0:n.some(a=>a.toLowerCase()===t))??e.find(({extensions:n})=>n==null?void 0:n.some(a=>t.endsWith(a)))}function Al(e,r){if(r)return e.find(({name:t})=>t.toLowerCase()===r)??e.find(({aliases:t})=>t==null?void 0:t.includes(r))??e.find(({extensions:t})=>t==null?void 0:t.includes(`.${r}`))}function xl(e,r){let t=e.plugins.flatMap(a=>a.languages??[]),n=Al(t,r.language)??ti(t,r.physicalFile)??ti(t,r.file)??(r.physicalFile,void 0);return n==null?void 0:n.parsers[0]}var ni=xl;var wl=new Proxy(()=>{},{get:()=>wl});function Oe(e){return e.position.start.offset}function Pe(e){return e.position.end.offset}var ht=new Set(["liquidNode","inlineCode","emphasis","esComment","strong","delete","wikiLink","link","linkReference","image","imageReference","footnote","footnoteReference","sentence","whitespace","word","break","inlineMath"]),Or=new Set([...ht,"tableCell","paragraph","heading"]),Le="non-cjk",De="cj-letter",be="k-letter",ur="cjk-punctuation",kl=/\p{Script_Extensions=Hangul}/u;function Pr(e){let r=[],t=e.split(/([\t\n ]+)/u);for(let[a,u]of t.entries()){if(a%2===1){r.push({type:"whitespace",value:/\n/u.test(u)?` +`:" "});continue}if((a===0||a===t.length-1)&&u==="")continue;let i=u.split(new RegExp(`(${ei.source})`,"u"));for(let[o,s]of i.entries())if(!((o===0||o===i.length-1)&&s==="")){if(o%2===0){s!==""&&n({type:"word",value:s,kind:Le,hasLeadingPunctuation:Se.test(s[0]),hasTrailingPunctuation:Se.test(M(!1,s,-1))});continue}n(Se.test(s)?{type:"word",value:s,kind:ur,hasLeadingPunctuation:!0,hasTrailingPunctuation:!0}:{type:"word",value:s,kind:kl.test(s)?be:De,hasLeadingPunctuation:!1,hasTrailingPunctuation:!1})}}return r;function n(a){let u=M(!1,r,-1);(u==null?void 0:u.type)==="word"&&!i(Le,ur)&&![u.value,a.value].some(o=>/\u3000/u.test(o))&&r.push({type:"whitespace",value:""}),r.push(a);function i(o,s){return u.kind===o&&a.kind===s||u.kind===s&&a.kind===o}}}function Me(e,r){let t=r.originalText.slice(e.position.start.offset,e.position.end.offset),{numberText:n,leadingSpaces:a}=t.match(/^\s*(?\d+)(\.|\))(?\s*)/u).groups;return{number:Number(n),leadingSpaces:a}}function ii(e,r){return!e.ordered||e.children.length<2||Me(e.children[1],r).number!==1?!1:Me(e.children[0],r).number!==0?!0:e.children.length>2&&Me(e.children[2],r).number===1}function Lr(e,r){let{value:t}=e;return e.position.end.offset===r.length&&t.endsWith(` +`)&&r.endsWith(` +`)?t.slice(0,-1):t}function ye(e,r){return function t(n,a,u){let i={...r(n,a,u)};return i.children&&(i.children=i.children.map((o,s)=>t(o,s,[i,...u]))),i}(e,null,[])}function mt(e){if((e==null?void 0:e.type)!=="link"||e.children.length!==1)return!1;let[r]=e.children;return Oe(e)===Oe(r)&&Pe(e)===Pe(r)}function Bl(e,r){let{node:t}=e;if(t.type==="code"&&t.lang!==null){let n=ni(r,{language:t.lang});if(n)return async a=>{let u=r.__inJsTemplate?"~":"`",i=u.repeat(Math.max(3,_r(t.value,u)+1)),o={parser:n};t.lang==="ts"||t.lang==="typescript"?o.filepath="dummy.ts":t.lang==="tsx"&&(o.filepath="dummy.tsx");let s=await a(Lr(t,r.originalText),o);return _e([i,t.lang,t.meta?" "+t.meta:"",L,Ce(s),L,i])}}switch(t.type){case"front-matter":return n=>ri(t,n);case"import":case"export":return n=>n(t.value,{parser:"babel"});case"jsx":return n=>n(`<$>${t.value}`,{parser:"__js_expression",rootMarker:"mdx"})}return null}var ui=Bl;var ar=null;function or(e){if(ar!==null&&typeof ar.property){let r=ar;return ar=or.prototype=null,r}return ar=or.prototype=e??Object.create(null),new or}var ql=10;for(let e=0;e<=ql;e++)or();function Ft(e){return or(e)}function Tl(e,r="type"){Ft(e);function t(n){let a=n[r],u=e[a];if(!Array.isArray(u))throw Object.assign(new Error(`Missing visitor keys for '${a}'.`),{node:n});return u}return t}var ai=Tl;var _l={"front-matter":[],root:["children"],paragraph:["children"],sentence:["children"],word:[],whitespace:[],emphasis:["children"],strong:["children"],delete:["children"],inlineCode:[],wikiLink:[],link:["children"],image:[],blockquote:["children"],heading:["children"],code:[],html:[],list:["children"],thematicBreak:[],linkReference:["children"],imageReference:[],definition:[],footnote:["children"],footnoteReference:[],footnoteDefinition:["children"],table:["children"],tableCell:["children"],break:[],liquidNode:[],import:[],export:[],esComment:[],jsx:[],math:[],inlineMath:[],tableRow:["children"],listItem:["children"],text:[]},oi=_l;var Sl=ai(oi),si=Sl;function ci(e){switch(e){case"cr":return"\r";case"crlf":return`\r +`;default:return` +`}}var li=()=>/[#*0-9]\uFE0F?\u20E3|[\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u231A\u231B\u2328\u23CF\u23ED-\u23EF\u23F1\u23F2\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB\u25FC\u25FE\u2600-\u2604\u260E\u2611\u2614\u2615\u2618\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638-\u263A\u2640\u2642\u2648-\u2653\u265F\u2660\u2663\u2665\u2666\u2668\u267B\u267E\u267F\u2692\u2694-\u2697\u2699\u269B\u269C\u26A0\u26A7\u26AA\u26B0\u26B1\u26BD\u26BE\u26C4\u26C8\u26CF\u26D1\u26E9\u26F0-\u26F5\u26F7\u26F8\u26FA\u2702\u2708\u2709\u270F\u2712\u2714\u2716\u271D\u2721\u2733\u2734\u2744\u2747\u2757\u2763\u27A1\u2934\u2935\u2B05-\u2B07\u2B1B\u2B1C\u2B55\u3030\u303D\u3297\u3299]\uFE0F?|[\u261D\u270C\u270D](?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?|[\u270A\u270B](?:\uD83C[\uDFFB-\uDFFF])?|[\u23E9-\u23EC\u23F0\u23F3\u25FD\u2693\u26A1\u26AB\u26C5\u26CE\u26D4\u26EA\u26FD\u2705\u2728\u274C\u274E\u2753-\u2755\u2795-\u2797\u27B0\u27BF\u2B50]|\u26D3\uFE0F?(?:\u200D\uD83D\uDCA5)?|\u26F9(?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|\u2764\uFE0F?(?:\u200D(?:\uD83D\uDD25|\uD83E\uDE79))?|\uD83C(?:[\uDC04\uDD70\uDD71\uDD7E\uDD7F\uDE02\uDE37\uDF21\uDF24-\uDF2C\uDF36\uDF7D\uDF96\uDF97\uDF99-\uDF9B\uDF9E\uDF9F\uDFCD\uDFCE\uDFD4-\uDFDF\uDFF5\uDFF7]\uFE0F?|[\uDF85\uDFC2\uDFC7](?:\uD83C[\uDFFB-\uDFFF])?|[\uDFC4\uDFCA](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDFCB\uDFCC](?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDCCF\uDD8E\uDD91-\uDD9A\uDE01\uDE1A\uDE2F\uDE32-\uDE36\uDE38-\uDE3A\uDE50\uDE51\uDF00-\uDF20\uDF2D-\uDF35\uDF37-\uDF43\uDF45-\uDF4A\uDF4C-\uDF7C\uDF7E-\uDF84\uDF86-\uDF93\uDFA0-\uDFC1\uDFC5\uDFC6\uDFC8\uDFC9\uDFCF-\uDFD3\uDFE0-\uDFF0\uDFF8-\uDFFF]|\uDDE6\uD83C[\uDDE8-\uDDEC\uDDEE\uDDF1\uDDF2\uDDF4\uDDF6-\uDDFA\uDDFC\uDDFD\uDDFF]|\uDDE7\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEF\uDDF1-\uDDF4\uDDF6-\uDDF9\uDDFB\uDDFC\uDDFE\uDDFF]|\uDDE8\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDEE\uDDF0-\uDDF5\uDDF7\uDDFA-\uDDFF]|\uDDE9\uD83C[\uDDEA\uDDEC\uDDEF\uDDF0\uDDF2\uDDF4\uDDFF]|\uDDEA\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDED\uDDF7-\uDDFA]|\uDDEB\uD83C[\uDDEE-\uDDF0\uDDF2\uDDF4\uDDF7]|\uDDEC\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEE\uDDF1-\uDDF3\uDDF5-\uDDFA\uDDFC\uDDFE]|\uDDED\uD83C[\uDDF0\uDDF2\uDDF3\uDDF7\uDDF9\uDDFA]|\uDDEE\uD83C[\uDDE8-\uDDEA\uDDF1-\uDDF4\uDDF6-\uDDF9]|\uDDEF\uD83C[\uDDEA\uDDF2\uDDF4\uDDF5]|\uDDF0\uD83C[\uDDEA\uDDEC-\uDDEE\uDDF2\uDDF3\uDDF5\uDDF7\uDDFC\uDDFE\uDDFF]|\uDDF1\uD83C[\uDDE6-\uDDE8\uDDEE\uDDF0\uDDF7-\uDDFB\uDDFE]|\uDDF2\uD83C[\uDDE6\uDDE8-\uDDED\uDDF0-\uDDFF]|\uDDF3\uD83C[\uDDE6\uDDE8\uDDEA-\uDDEC\uDDEE\uDDF1\uDDF4\uDDF5\uDDF7\uDDFA\uDDFF]|\uDDF4\uD83C\uDDF2|\uDDF5\uD83C[\uDDE6\uDDEA-\uDDED\uDDF0-\uDDF3\uDDF7-\uDDF9\uDDFC\uDDFE]|\uDDF6\uD83C\uDDE6|\uDDF7\uD83C[\uDDEA\uDDF4\uDDF8\uDDFA\uDDFC]|\uDDF8\uD83C[\uDDE6-\uDDEA\uDDEC-\uDDF4\uDDF7-\uDDF9\uDDFB\uDDFD-\uDDFF]|\uDDF9\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDED\uDDEF-\uDDF4\uDDF7\uDDF9\uDDFB\uDDFC\uDDFF]|\uDDFA\uD83C[\uDDE6\uDDEC\uDDF2\uDDF3\uDDF8\uDDFE\uDDFF]|\uDDFB\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDEE\uDDF3\uDDFA]|\uDDFC\uD83C[\uDDEB\uDDF8]|\uDDFD\uD83C\uDDF0|\uDDFE\uD83C[\uDDEA\uDDF9]|\uDDFF\uD83C[\uDDE6\uDDF2\uDDFC]|\uDF44(?:\u200D\uD83D\uDFEB)?|\uDF4B(?:\u200D\uD83D\uDFE9)?|\uDFC3(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?|\uDFF3\uFE0F?(?:\u200D(?:\u26A7\uFE0F?|\uD83C\uDF08))?|\uDFF4(?:\u200D\u2620\uFE0F?|\uDB40\uDC67\uDB40\uDC62\uDB40(?:\uDC65\uDB40\uDC6E\uDB40\uDC67|\uDC73\uDB40\uDC63\uDB40\uDC74|\uDC77\uDB40\uDC6C\uDB40\uDC73)\uDB40\uDC7F)?)|\uD83D(?:[\uDC3F\uDCFD\uDD49\uDD4A\uDD6F\uDD70\uDD73\uDD76-\uDD79\uDD87\uDD8A-\uDD8D\uDDA5\uDDA8\uDDB1\uDDB2\uDDBC\uDDC2-\uDDC4\uDDD1-\uDDD3\uDDDC-\uDDDE\uDDE1\uDDE3\uDDE8\uDDEF\uDDF3\uDDFA\uDECB\uDECD-\uDECF\uDEE0-\uDEE5\uDEE9\uDEF0\uDEF3]\uFE0F?|[\uDC42\uDC43\uDC46-\uDC50\uDC66\uDC67\uDC6B-\uDC6D\uDC72\uDC74-\uDC76\uDC78\uDC7C\uDC83\uDC85\uDC8F\uDC91\uDCAA\uDD7A\uDD95\uDD96\uDE4C\uDE4F\uDEC0\uDECC](?:\uD83C[\uDFFB-\uDFFF])?|[\uDC6E\uDC70\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4\uDEB5](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDD74\uDD90](?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?|[\uDC00-\uDC07\uDC09-\uDC14\uDC16-\uDC25\uDC27-\uDC3A\uDC3C-\uDC3E\uDC40\uDC44\uDC45\uDC51-\uDC65\uDC6A\uDC79-\uDC7B\uDC7D-\uDC80\uDC84\uDC88-\uDC8E\uDC90\uDC92-\uDCA9\uDCAB-\uDCFC\uDCFF-\uDD3D\uDD4B-\uDD4E\uDD50-\uDD67\uDDA4\uDDFB-\uDE2D\uDE2F-\uDE34\uDE37-\uDE41\uDE43\uDE44\uDE48-\uDE4A\uDE80-\uDEA2\uDEA4-\uDEB3\uDEB7-\uDEBF\uDEC1-\uDEC5\uDED0-\uDED2\uDED5-\uDED7\uDEDC-\uDEDF\uDEEB\uDEEC\uDEF4-\uDEFC\uDFE0-\uDFEB\uDFF0]|\uDC08(?:\u200D\u2B1B)?|\uDC15(?:\u200D\uD83E\uDDBA)?|\uDC26(?:\u200D(?:\u2B1B|\uD83D\uDD25))?|\uDC3B(?:\u200D\u2744\uFE0F?)?|\uDC41\uFE0F?(?:\u200D\uD83D\uDDE8\uFE0F?)?|\uDC68(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDC68\uDC69]\u200D\uD83D(?:\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?)|[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?)|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFC-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFD-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFD\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFE])))?))?|\uDC69(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?[\uDC68\uDC69]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?|\uDC69\u200D\uD83D(?:\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?))|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFC-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB\uDFFD-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB-\uDFFD\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB-\uDFFE])))?))?|\uDC6F(?:\u200D[\u2640\u2642]\uFE0F?)?|\uDD75(?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|\uDE2E(?:\u200D\uD83D\uDCA8)?|\uDE35(?:\u200D\uD83D\uDCAB)?|\uDE36(?:\u200D\uD83C\uDF2B\uFE0F?)?|\uDE42(?:\u200D[\u2194\u2195]\uFE0F?)?|\uDEB6(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?)|\uD83E(?:[\uDD0C\uDD0F\uDD18-\uDD1F\uDD30-\uDD34\uDD36\uDD77\uDDB5\uDDB6\uDDBB\uDDD2\uDDD3\uDDD5\uDEC3-\uDEC5\uDEF0\uDEF2-\uDEF8](?:\uD83C[\uDFFB-\uDFFF])?|[\uDD26\uDD35\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD\uDDCF\uDDD4\uDDD6-\uDDDD](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDDDE\uDDDF](?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDD0D\uDD0E\uDD10-\uDD17\uDD20-\uDD25\uDD27-\uDD2F\uDD3A\uDD3F-\uDD45\uDD47-\uDD76\uDD78-\uDDB4\uDDB7\uDDBA\uDDBC-\uDDCC\uDDD0\uDDE0-\uDDFF\uDE70-\uDE7C\uDE80-\uDE88\uDE90-\uDEBD\uDEBF-\uDEC2\uDECE-\uDEDB\uDEE0-\uDEE8]|\uDD3C(?:\u200D[\u2640\u2642]\uFE0F?|\uD83C[\uDFFB-\uDFFF])?|\uDDCE(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?|\uDDD1(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1|\uDDD1\u200D\uD83E\uDDD2(?:\u200D\uD83E\uDDD2)?|\uDDD2(?:\u200D\uD83E\uDDD2)?))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFC-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB\uDFFD-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB-\uDFFD\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB-\uDFFE]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?))?|\uDEF1(?:\uD83C(?:\uDFFB(?:\u200D\uD83E\uDEF2\uD83C[\uDFFC-\uDFFF])?|\uDFFC(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB\uDFFD-\uDFFF])?|\uDFFD(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])?|\uDFFE(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB-\uDFFD\uDFFF])?|\uDFFF(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB-\uDFFE])?))?)/g;function fi(e){return e===12288||e>=65281&&e<=65376||e>=65504&&e<=65510}function Di(e){return e>=4352&&e<=4447||e===8986||e===8987||e===9001||e===9002||e>=9193&&e<=9196||e===9200||e===9203||e===9725||e===9726||e===9748||e===9749||e>=9800&&e<=9811||e===9855||e===9875||e===9889||e===9898||e===9899||e===9917||e===9918||e===9924||e===9925||e===9934||e===9940||e===9962||e===9970||e===9971||e===9973||e===9978||e===9981||e===9989||e===9994||e===9995||e===10024||e===10060||e===10062||e>=10067&&e<=10069||e===10071||e>=10133&&e<=10135||e===10160||e===10175||e===11035||e===11036||e===11088||e===11093||e>=11904&&e<=11929||e>=11931&&e<=12019||e>=12032&&e<=12245||e>=12272&&e<=12287||e>=12289&&e<=12350||e>=12353&&e<=12438||e>=12441&&e<=12543||e>=12549&&e<=12591||e>=12593&&e<=12686||e>=12688&&e<=12771||e>=12783&&e<=12830||e>=12832&&e<=12871||e>=12880&&e<=19903||e>=19968&&e<=42124||e>=42128&&e<=42182||e>=43360&&e<=43388||e>=44032&&e<=55203||e>=63744&&e<=64255||e>=65040&&e<=65049||e>=65072&&e<=65106||e>=65108&&e<=65126||e>=65128&&e<=65131||e>=94176&&e<=94180||e===94192||e===94193||e>=94208&&e<=100343||e>=100352&&e<=101589||e>=101632&&e<=101640||e>=110576&&e<=110579||e>=110581&&e<=110587||e===110589||e===110590||e>=110592&&e<=110882||e===110898||e>=110928&&e<=110930||e===110933||e>=110948&&e<=110951||e>=110960&&e<=111355||e===126980||e===127183||e===127374||e>=127377&&e<=127386||e>=127488&&e<=127490||e>=127504&&e<=127547||e>=127552&&e<=127560||e===127568||e===127569||e>=127584&&e<=127589||e>=127744&&e<=127776||e>=127789&&e<=127797||e>=127799&&e<=127868||e>=127870&&e<=127891||e>=127904&&e<=127946||e>=127951&&e<=127955||e>=127968&&e<=127984||e===127988||e>=127992&&e<=128062||e===128064||e>=128066&&e<=128252||e>=128255&&e<=128317||e>=128331&&e<=128334||e>=128336&&e<=128359||e===128378||e===128405||e===128406||e===128420||e>=128507&&e<=128591||e>=128640&&e<=128709||e===128716||e>=128720&&e<=128722||e>=128725&&e<=128727||e>=128732&&e<=128735||e===128747||e===128748||e>=128756&&e<=128764||e>=128992&&e<=129003||e===129008||e>=129292&&e<=129338||e>=129340&&e<=129349||e>=129351&&e<=129535||e>=129648&&e<=129660||e>=129664&&e<=129672||e>=129680&&e<=129725||e>=129727&&e<=129733||e>=129742&&e<=129755||e>=129760&&e<=129768||e>=129776&&e<=129784||e>=131072&&e<=196605||e>=196608&&e<=262141}var pi=e=>!(fi(e)||Di(e));var Ol=/[^\x20-\x7F]/u;function Pl(e){if(!e)return 0;if(!Ol.test(e))return e.length;e=e.replace(li()," ");let r=0;for(let t of e){let n=t.codePointAt(0);n<=31||n>=127&&n<=159||n>=768&&n<=879||(r+=pi(n)?1:2)}return r}var sr=Pl;var G=Symbol("MODE_BREAK"),ne=Symbol("MODE_FLAT"),cr=Symbol("cursor");function di(){return{value:"",length:0,queue:[]}}function Ll(e,r){return gt(e,{type:"indent"},r)}function Il(e,r,t){return r===Number.NEGATIVE_INFINITY?e.root||di():r<0?gt(e,{type:"dedent"},t):r?r.type==="root"?{...e,root:e}:gt(e,{type:typeof r=="string"?"stringAlign":"numberAlign",n:r},t):e}function gt(e,r,t){let n=r.type==="dedent"?e.queue.slice(0,-1):[...e.queue,r],a="",u=0,i=0,o=0;for(let p of n)switch(p.type){case"indent":c(),t.useTabs?s(1):l(t.tabWidth);break;case"stringAlign":c(),a+=p.n,u+=p.n.length;break;case"numberAlign":i+=1,o+=p.n;break;default:throw new Error(`Unexpected type '${p.type}'`)}return D(),{...e,value:a,length:u,queue:n};function s(p){a+=" ".repeat(p),u+=t.tabWidth*p}function l(p){a+=" ".repeat(p),u+=p}function c(){t.useTabs?f():D()}function f(){i>0&&s(i),h()}function D(){o>0&&l(o),h()}function h(){i=0,o=0}}function vt(e){let r=0,t=0,n=e.length;e:for(;n--;){let a=e[n];if(a===cr){t++;continue}for(let u=a.length-1;u>=0;u--){let i=a[u];if(i===" "||i===" ")r++;else{e[n]=a.slice(0,u+1);break e}}}if(r>0||t>0)for(e.length=n+1;t-- >0;)e.push(cr);return r}function Ir(e,r,t,n,a,u){if(t===Number.POSITIVE_INFINITY)return!0;let i=r.length,o=[e],s=[];for(;t>=0;){if(o.length===0){if(i===0)return!0;o.push(r[--i]);continue}let{mode:l,doc:c}=o.pop(),f=Y(c);switch(f){case $:s.push(c),t-=sr(c);break;case H:case J:{let D=f===H?c:c.parts;for(let h=D.length-1;h>=0;h--)o.push({mode:l,doc:D[h]});break}case ee:case re:case se:case fe:o.push({mode:l,doc:c.contents});break;case oe:t+=vt(s);break;case K:{if(u&&c.break)return!1;let D=c.break?G:l,h=c.expandedStates&&D===G?M(!1,c.expandedStates,-1):c.contents;o.push({mode:D,doc:h});break}case X:{let h=(c.groupId?a[c.groupId]||ne:l)===G?c.breakContents:c.flatContents;h&&o.push({mode:l,doc:h});break}case W:if(l===G||c.hard)return!0;c.soft||(s.push(" "),t--);break;case ce:n=!0;break;case le:if(n)return!1;break}}return!1}function hi(e,r){let t={},n=r.printWidth,a=ci(r.endOfLine),u=0,i=[{ind:di(),mode:G,doc:e}],o=[],s=!1,l=[],c=0;for(Yn(e);i.length>0;){let{ind:D,mode:h,doc:p}=i.pop();switch(Y(p)){case $:{let d=a!==` +`?N(!1,p,` +`,a):p;o.push(d),i.length>0&&(u+=sr(d));break}case H:for(let d=p.length-1;d>=0;d--)i.push({ind:D,mode:h,doc:p[d]});break;case ge:if(c>=2)throw new Error("There are too many 'cursor' in doc.");o.push(cr),c++;break;case ee:i.push({ind:Ll(D,r),mode:h,doc:p.contents});break;case re:i.push({ind:Il(D,p.n,r),mode:h,doc:p.contents});break;case oe:u-=vt(o);break;case K:switch(h){case ne:if(!s){i.push({ind:D,mode:p.break?G:ne,doc:p.contents});break}case G:{s=!1;let d={ind:D,mode:ne,doc:p.contents},m=n-u,F=l.length>0;if(!p.break&&Ir(d,i,m,F,t))i.push(d);else if(p.expandedStates){let y=M(!1,p.expandedStates,-1);if(p.break){i.push({ind:D,mode:G,doc:y});break}else for(let E=1;E=p.expandedStates.length){i.push({ind:D,mode:G,doc:y});break}else{let B=p.expandedStates[E],b={ind:D,mode:ne,doc:B};if(Ir(b,i,m,F,t)){i.push(b);break}}}else i.push({ind:D,mode:G,doc:p.contents});break}}p.id&&(t[p.id]=M(!1,i,-1).mode);break;case J:{let d=n-u,{parts:m}=p;if(m.length===0)break;let[F,y]=m,E={ind:D,mode:ne,doc:F},B={ind:D,mode:G,doc:F},b=Ir(E,[],d,l.length>0,t,!0);if(m.length===1){b?i.push(E):i.push(B);break}let g={ind:D,mode:ne,doc:y},A={ind:D,mode:G,doc:y};if(m.length===2){b?i.push(g,E):i.push(A,B);break}m.splice(0,2);let x={ind:D,mode:h,doc:Ee(m)},v=m[0];Ir({ind:D,mode:ne,doc:[F,y,v]},[],d,l.length>0,t,!0)?i.push(x,g,E):b?i.push(x,A,E):i.push(x,A,B);break}case X:case se:{let d=p.groupId?t[p.groupId]:h;if(d===G){let m=p.type===X?p.breakContents:p.negate?p.contents:Ze(p.contents);m&&i.push({ind:D,mode:h,doc:m})}if(d===ne){let m=p.type===X?p.flatContents:p.negate?Ze(p.contents):p.contents;m&&i.push({ind:D,mode:h,doc:m})}break}case ce:l.push({ind:D,mode:h,doc:p.contents});break;case le:l.length>0&&i.push({ind:D,mode:h,doc:rr});break;case W:switch(h){case ne:if(p.hard)s=!0;else{p.soft||(o.push(" "),u+=1);break}case G:if(l.length>0){i.push({ind:D,mode:h,doc:p},...l.reverse()),l.length=0;break}p.literal?D.root?(o.push(a,D.root.value),u=D.root.length):(o.push(a),u=0):(u-=vt(o),o.push(a+D.value),u=D.length);break}break;case fe:i.push({ind:D,mode:h,doc:p.contents});break;case te:break;default:throw new qe(p)}i.length===0&&l.length>0&&(i.push(...l.reverse()),l.length=0)}let f=o.indexOf(cr);if(f!==-1){let D=o.indexOf(cr,f+1),h=o.slice(0,f).join(""),p=o.slice(f+1,D).join(""),d=o.slice(D+1).join("");return{formatted:h+p+d,cursorNodeStart:h.length,cursorNodeText:p}}return{formatted:o.join("")}}function mi(e,r,t){let{node:n}=e,a=[],u=e.map(()=>e.map(({index:f})=>{let D=hi(t(),r).formatted,h=sr(D);return a[f]=Math.max(a[f]??3,h),{text:D,width:h}},"children"),"children"),i=s(!1);if(r.proseWrap!=="never")return[er,i];let o=s(!0);return[er,ze(zn(o,i))];function s(f){return Tr(rr,[c(u[0],f),l(f),...u.slice(1).map(D=>c(D,f))].map(D=>`| ${D.join(" | ")} |`))}function l(f){return a.map((D,h)=>{let p=n.align[h],d=p==="center"||p==="left"?":":"-",m=p==="center"||p==="right"?":":"-",F=f?"-":"-".repeat(D-2);return`${d}${F}${m}`})}function c(f,D){return f.map(({text:h,width:p},d)=>{if(D)return h;let m=a[d]-p,F=n.align[d],y=0;F==="right"?y=m:F==="center"&&(y=Math.floor(m/2));let E=m-y;return`${" ".repeat(y)}${h}${" ".repeat(E)}`})}}function Fi(e,r,t){let n=e.map(t,"children");return Nl(n)}function Nl(e){let r=[""];return function t(n){for(let a of n){let u=Y(a);if(u===H){t(a);continue}let i=a,o=[];u===J&&([i,...o]=a.parts),r.push([r.pop(),i],...o)}}(e),Ee(r)}var Rl=/^.$/su;function Ul(e,r){return e=zl(e,r),e=Yl(e),e=Vl(e,r),e=jl(e,r),e=Gl(e),e}function zl(e,r){return ye(e,t=>t.type!=="text"||t.value==="*"||t.value==="_"||!Rl.test(t.value)||t.position.end.offset-t.position.start.offset===t.value.length?t:{...t,value:r.originalText.slice(t.position.start.offset,t.position.end.offset)})}function Ml(e,r,t){return ye(e,n=>{if(!n.children)return n;let a=n.children.reduce((u,i)=>{let o=M(!1,u,-1);return o&&r(o,i)?u.splice(-1,1,t(o,i)):u.push(i),u},[]);return{...n,children:a}})}function Yl(e){return Ml(e,(r,t)=>r.type==="text"&&t.type==="text",(r,t)=>({type:"text",value:r.value+t.value,position:{start:r.position.start,end:t.position.end}}))}function Gl(e){return ye(e,(r,t,[n])=>{if(r.type!=="text")return r;let{value:a}=r;return n.type==="paragraph"&&(t===0&&(a=a.trimStart()),t===n.children.length-1&&(a=a.trimEnd())),{type:"sentence",position:r.position,children:Pr(a)}})}function Vl(e,r){return ye(e,(t,n,a)=>{if(t.type==="code"){let u=/^\n?(?: {4,}|\t)/u.test(r.originalText.slice(t.position.start.offset,t.position.end.offset));if(t.isIndented=u,u)for(let i=0;i{if(a.type==="list"&&a.children.length>0){for(let o=0;o1)return!0;let s=t(u);if(s===-1)return!1;if(a.children.length===1)return s%r.tabWidth===0;let l=t(i);return s!==l?!1:s%r.tabWidth===0?!0:Me(i,r).leadingSpaces.length>1}}var gi=Ul;function vi(e,r){let t=[""];return e.each(()=>{let{node:n}=e,a=r();switch(n.type){case"whitespace":if(Y(a)!==$){t.push(a,"");break}default:t.push([t.pop(),a])}},"children"),Ee(t)}var $l=new Set(["heading","tableCell","link","wikiLink"]),Hl=new Set(`$(\xA3\xA5\xB7'"\u3008\u300A\u300C\u300E\u3010\u3014\u3016\u301D\uFE59\uFE5B\uFF04\uFF08\uFF3B\uFF5B\uFFE1\uFFE5[{\u2035\uFE34\uFE35\uFE37\uFE39\uFE3B\uFE3D\uFE3F\uFE41\uFE43\uFE4F\u3018\uFF5F\xAB`),Wl=new Set(`!%),.:;?]}\xA2\xB0\xB7'"\u2020\u2021\u203A\u2103\u2236\u3001\u3002\u3003\u3006\u3015\u3017\u301E\uFE5A\uFE5C\uFF01\uFF02\uFF05\uFF07\uFF09\uFF0C\uFF0E\uFF1A\uFF1B\uFF1F\uFF3D\uFF5D\uFF5E\u2013\u2014\u2022\u3009\u300B\u300D\uFE30\uFE31\uFE32\uFE33\uFE50\uFE51\uFE52\uFE53\uFE54\uFE55\uFE56\uFE58\uFE36\uFE38\uFE3A\uFE3C\uFE3E\uFE40\uFE42\uFE57\uFF5C\uFF64\u300F\u3011\u3019\u301F\uFF60\xBB\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\u2010\u30A0\u301C\uFF5E\u203C\u2047\u2048\u2049\u30FB\u3099\u309A`),Ei=new Set("!\"#$%&'()*+,-./:;<=>?@[\\]^_`{|}~");function Kl({parent:e}){if(e.usesCJSpaces===void 0){let r={" ":0,"":0},{children:t}=e;for(let n=1;nr[""]}return e.usesCJSpaces}function Jl(e,r){if(r)return!0;let{previous:t,next:n}=e;if(!t||!n)return!0;let a=t.kind,u=n.kind;return bi(a)&&bi(u)||a===be&&u===De||u===be&&a===De?!0:a===ur||u===ur||a===De&&u===De?!1:Ei.has(n.value[0])||Ei.has(M(!1,t.value,-1))?!0:t.hasTrailingPunctuation||n.hasLeadingPunctuation?!1:Kl(e)}function Ci(e){return e===Le||e===De||e===be}function bi(e){return e===Le||e===be}function Xl(e,r,t,n,a){if(t!=="always"||e.hasAncestor(s=>$l.has(s.type)))return!1;if(n)return r!=="";if(r===" ")return!0;let{previous:u,next:i}=e;return!(r===""&&((u==null?void 0:u.kind)===be&&Ci(i==null?void 0:i.kind)||(i==null?void 0:i.kind)===be&&Ci(u==null?void 0:u.kind))||!a&&(i&&Wl.has(i.value[0])||u&&Hl.has(M(!1,u.value,-1))))}function Et(e,r,t,n){if(t==="preserve"&&r===` +`)return L;let a=r===" "||r===` +`&&Jl(e,n);return Xl(e,r,t,n,a)?a?Br:qr:a?" ":""}var Ql=new Set(["listItem","definition"]);function Zl(e,r,t){var a,u;let{node:n}=e;if(af(e)){let i=[""],o=Pr(r.originalText.slice(n.position.start.offset,n.position.end.offset));for(let s of o){if(s.type==="word"){i.push([i.pop(),s.value]);continue}let l=Et(e,s.value,r.proseWrap,!0);if(Y(l)===$){i.push([i.pop(),l]);continue}i.push(l)}return Ee(i)}switch(n.type){case"front-matter":return r.originalText.slice(n.position.start.offset,n.position.end.offset);case"root":return n.children.length===0?"":[tf(e,r,t),L];case"paragraph":return Fi(e,r,t);case"sentence":return vi(e,t);case"word":{let i=N(!1,N(!1,n.value,"*",String.raw`\*`),new RegExp([`(^|${Se.source})(_+)`,`(_+)(${Se.source}|$)`].join("|"),"gu"),(l,c,f,D,h)=>N(!1,f?`${c}${f}`:`${D}${h}`,"_",String.raw`\_`)),o=(l,c,f)=>l.type==="sentence"&&f===0,s=(l,c,f)=>mt(l.children[f-1]);return i!==n.value&&(e.match(void 0,o,s)||e.match(void 0,o,(l,c,f)=>l.type==="emphasis"&&f===0,s))&&(i=i.replace(/^(\\?[*_])+/u,l=>N(!1,l,"\\",""))),i}case"whitespace":{let{next:i}=e,o=i&&/^>|^(?:[*+-]|#{1,6}|\d+[).])$/u.test(i.value)?"never":r.proseWrap;return Et(e,n.value,o)}case"emphasis":{let i;if(mt(n.children[0]))i=r.originalText[n.position.start.offset];else{let{previous:o,next:s}=e;i=(o==null?void 0:o.type)==="sentence"&&((a=M(!1,o.children,-1))==null?void 0:a.type)==="word"&&!M(!1,o.children,-1).hasTrailingPunctuation||(s==null?void 0:s.type)==="sentence"&&((u=s.children[0])==null?void 0:u.type)==="word"&&!s.children[0].hasLeadingPunctuation||e.hasAncestor(c=>c.type==="emphasis")?"*":"_"}return[i,V(e,r,t),i]}case"strong":return["**",V(e,r,t),"**"];case"delete":return["~~",V(e,r,t),"~~"];case"inlineCode":{let i=r.proseWrap==="preserve"?n.value:N(!1,n.value,` +`," "),o=Gn(i,"`"),s="`".repeat(o||1),l=i.startsWith("`")||i.endsWith("`")||/^[\n ]/u.test(i)&&/[\n ]$/u.test(i)&&/[^\n ]/u.test(i)?" ":"";return[s,l,i,l,s]}case"wikiLink":{let i="";return r.proseWrap==="preserve"?i=n.value:i=N(!1,n.value,/[\t\n]+/gu," "),["[[",i,"]]"]}case"link":switch(r.originalText[n.position.start.offset]){case"<":{let i="mailto:";return["<",n.url.startsWith(i)&&r.originalText.slice(n.position.start.offset+1,n.position.start.offset+1+i.length)!==i?n.url.slice(i.length):n.url,">"]}case"[":return["[",V(e,r,t),"](",Ct(n.url,")"),Nr(n.title,r),")"];default:return r.originalText.slice(n.position.start.offset,n.position.end.offset)}case"image":return["![",n.alt||"","](",Ct(n.url,")"),Nr(n.title,r),")"];case"blockquote":return["> ",ve("> ",V(e,r,t))];case"heading":return["#".repeat(n.depth)+" ",V(e,r,t)];case"code":{if(n.isIndented){let s=" ".repeat(4);return ve(s,[s,Ce(n.value,L)])}let i=r.__inJsTemplate?"~":"`",o=i.repeat(Math.max(3,_r(n.value,i)+1));return[o,n.lang||"",n.meta?" "+n.meta:"",L,Ce(Lr(n,r.originalText),L),L,o]}case"html":{let{parent:i,isLast:o}=e,s=i.type==="root"&&o?n.value.trimEnd():n.value,l=/^$/su.test(s);return Ce(s,l?L:_e(tr))}case"list":{let i=Ai(n,e.parent),o=ii(n,r);return V(e,r,t,{processor(s){let l=f(),c=s.node;if(c.children.length===2&&c.children[1].type==="html"&&c.children[0].position.start.column!==c.children[1].position.start.column)return[l,yi(s,r,t,l)];return[l,ve(" ".repeat(l.length),yi(s,r,t,l))];function f(){let D=n.ordered?(s.isFirst?n.start:o?1:n.start+s.index)+(i%2===0?". ":") "):i%2===0?"- ":"* ";return n.isAligned||n.hasIndentedCodeblock?ef(D,r):D}}})}case"thematicBreak":{let{ancestors:i}=e,o=i.findIndex(l=>l.type==="list");return o===-1?"---":Ai(i[o],i[o+1])%2===0?"***":"---"}case"linkReference":return["[",V(e,r,t),"]",n.referenceType==="full"?bt(n):n.referenceType==="collapsed"?"[]":""];case"imageReference":switch(n.referenceType){case"full":return["![",n.alt||"","]",bt(n)];default:return["![",n.alt,"]",n.referenceType==="collapsed"?"[]":""]}case"definition":{let i=r.proseWrap==="always"?Br:" ";return ze([bt(n),":",Ze([i,Ct(n.url),n.title===null?"":[i,Nr(n.title,r,!1)]])])}case"footnote":return["[^",V(e,r,t),"]"];case"footnoteReference":return Bi(n);case"footnoteDefinition":{let i=n.children.length===1&&n.children[0].type==="paragraph"&&(r.proseWrap==="never"||r.proseWrap==="preserve"&&n.children[0].position.start.line===n.children[0].position.end.line);return[Bi(n),": ",i?V(e,r,t):ze([ve(" ".repeat(4),V(e,r,t,{processor:({isFirst:o})=>o?ze([qr,t()]):t()}))])]}case"table":return mi(e,r,t);case"tableCell":return V(e,r,t);case"break":return/\s/u.test(r.originalText[n.position.start.offset])?[" ",_e(tr)]:["\\",L];case"liquidNode":return Ce(n.value,L);case"import":case"export":case"jsx":return n.value;case"esComment":return["{/* ",n.value," */}"];case"math":return["$$",L,n.value?[Ce(n.value,L),L]:"","$$"];case"inlineMath":return r.originalText.slice(Oe(n),Pe(n));case"tableRow":case"listItem":case"text":default:throw new $n(n,"Markdown")}}function yi(e,r,t,n){let{node:a}=e,u=a.checked===null?"":a.checked?"[x] ":"[ ] ";return[u,V(e,r,t,{processor({node:i,isFirst:o}){if(o&&i.type!=="list")return ve(" ".repeat(u.length),t());let s=" ".repeat(sf(r.tabWidth-n.length,0,3));return[s,ve(s,t())]}})]}function ef(e,r){let t=n();return e+" ".repeat(t>=4?0:t);function n(){let a=e.length%r.tabWidth;return a===0?0:r.tabWidth-a}}function Ai(e,r){return rf(e,r,t=>t.ordered===e.ordered)}function rf(e,r,t){let n=-1;for(let a of r.children)if(a.type===e.type&&t(a)?n++:n=-1,a===e)return n}function tf(e,r,t){let n=[],a=null,{children:u}=e.node;for(let[i,o]of u.entries())switch(yt(o)){case"start":a===null&&(a={index:i,offset:o.position.end.offset});break;case"end":a!==null&&(n.push({start:a,end:{index:i,offset:o.position.start.offset}}),a=null);break;default:break}return V(e,r,t,{processor({index:i}){if(n.length>0){let o=n[0];if(i===o.start.index)return[xi(u[o.start.index]),r.originalText.slice(o.start.offset,o.end.offset),xi(u[o.end.index])];if(o.start.index{let i=a(e);i!==!1&&(u.length>0&&nf(e)&&(u.push(L),(uf(e,r)||ki(e))&&u.push(L),ki(e)&&u.push(L)),u.push(i))},"children"),u}function xi(e){if(e.type==="html")return e.value;if(e.type==="paragraph"&&Array.isArray(e.children)&&e.children.length===1&&e.children[0].type==="esComment")return["{/* ",e.children[0].value," */}"]}function yt(e){let r;if(e.type==="html")r=e.value.match(/^$/u);else{let t;e.type==="esComment"?t=e:e.type==="paragraph"&&e.children.length===1&&e.children[0].type==="esComment"&&(t=e.children[0]),t&&(r=t.value.match(/^prettier-ignore(?:-(start|end))?$/u))}return r?r[1]||"next":!1}function nf({node:e,parent:r}){let t=ht.has(e.type),n=e.type==="html"&&Or.has(r.type);return!t&&!n}function wi(e,r){return e.type==="listItem"&&(e.spread||r.originalText.charAt(e.position.end.offset-1)===` +`)}function uf({node:e,previous:r,parent:t},n){if(wi(r,n))return!0;let i=r.type===e.type&&Ql.has(e.type),o=t.type==="listItem"&&!wi(t,n),s=yt(r)==="next",l=e.type==="html"&&r.type==="html"&&r.position.end.line+1===e.position.start.line,c=e.type==="html"&&t.type==="listItem"&&r.type==="paragraph"&&r.position.end.line+1===e.position.start.line;return!(i||o||s||l||c)}function ki({node:e,previous:r}){let t=r.type==="list",n=e.type==="code"&&e.isIndented;return t&&n}function af(e){let r=e.findAncestor(t=>t.type==="linkReference"||t.type==="imageReference");return r&&(r.type!=="linkReference"||r.referenceType!=="full")}var of=(e,r)=>{for(let t of r)e=N(!1,e,t,encodeURIComponent(t));return e};function Ct(e,r=[]){let t=[" ",...Array.isArray(r)?r:[r]];return new RegExp(t.map(n=>Be(n)).join("|"),"u").test(e)?`<${of(e,"<>")}>`:e}function Nr(e,r,t=!0){if(!e)return"";if(t)return" "+Nr(e,r,!1);if(e=N(!1,e,/\\(?=["')])/gu,""),e.includes('"')&&e.includes("'")&&!e.includes(")"))return`(${e})`;let n=jn(e,r.singleQuote);return e=N(!1,e,"\\","\\\\"),e=N(!1,e,n,`\\${n}`),`${n}${e}${n}`}function sf(e,r,t){return et?t:e}function cf(e){return e.index>0&&yt(e.previous)==="next"}function bt(e){return`[${(0,qi.default)(e.label)}]`}function Bi(e){return`[^${e.label}]`}var lf={preprocess:gi,print:Zl,embed:ui,massageAstNode:Zn,hasPrettierIgnore:cf,insertPragma:Jn,getVisitorKeys:si},Ti=lf;var _i=[{linguistLanguageId:222,name:"Markdown",type:"prose",color:"#083fa1",aliases:["md","pandoc"],aceMode:"markdown",codemirrorMode:"gfm",codemirrorMimeType:"text/x-gfm",wrap:!0,extensions:[".md",".livemd",".markdown",".mdown",".mdwn",".mkd",".mkdn",".mkdown",".ronn",".scd",".workbook"],filenames:["contents.lr","README"],tmScope:"text.md",parsers:["markdown"],vscodeLanguageIds:["markdown"]},{linguistLanguageId:222,name:"MDX",type:"prose",color:"#083fa1",aliases:["md","pandoc"],aceMode:"markdown",codemirrorMode:"gfm",codemirrorMimeType:"text/x-gfm",wrap:!0,extensions:[".mdx"],filenames:[],tmScope:"text.md",parsers:["mdx"],vscodeLanguageIds:["mdx"]}];var At={bracketSpacing:{category:"Common",type:"boolean",default:!0,description:"Print spaces between brackets.",oppositeDescription:"Do not print spaces between brackets."},singleQuote:{category:"Common",type:"boolean",default:!1,description:"Use single quotes instead of double quotes."},proseWrap:{category:"Common",type:"choice",default:"preserve",description:"How to wrap prose.",choices:[{value:"always",description:"Wrap prose if it exceeds the print width."},{value:"never",description:"Do not wrap prose."},{value:"preserve",description:"Wrap prose as-is."}]},bracketSameLine:{category:"Common",type:"boolean",default:!1,description:"Put > of opening tags on the last line instead of on a new line."},singleAttributePerLine:{category:"Common",type:"boolean",default:!1,description:"Enforce single attribute per line in HTML, Vue and JSX."}};var ff={proseWrap:At.proseWrap,singleQuote:At.singleQuote},Si=ff;var On={};Ln(On,{markdown:()=>km,mdx:()=>Bm,remark:()=>km});var Wc=Ue(Pi(),1),Kc=Ue(Wi(),1),Jc=Ue(Gs(),1),Xc=Ue(Ic(),1);var vm=/^import\s/u,Em=/^export\s/u,Nc=String.raw`[a-z][a-z0-9]*(\.[a-z][a-z0-9]*)*|`,Rc=/|/u,Cm=/^\{\s*\/\*(.*)\*\/\s*\}/u,bm=` -`,Rc=e=>hg.test(e),Pn=e=>mg.test(e),zc=(e,r)=>{let n=r.indexOf(vg),t=r.slice(0,n);if(Pn(t)||Rc(t))return e(t)({type:Pn(t)?"export":"import",value:t})},Mc=(e,r)=>{let n=gg.exec(r);if(n)return e(n[0])({type:"esComment",value:n[1].trim()})};zc.locator=e=>Pn(e)||Rc(e)?-1:1;Mc.locator=(e,r)=>e.indexOf("{",r);var Uc=function(){let{Parser:e}=this,{blockTokenizers:r,blockMethods:n,inlineTokenizers:t,inlineMethods:a}=e.prototype;r.esSyntax=zc,t.esComment=Mc,n.splice(n.indexOf("paragraph"),0,"esSyntax"),a.splice(a.indexOf("text"),0,"esComment")};function Fg(){return e=>be(e,(r,n,[t])=>r.type!=="html"||Nc.test(r.value)||Lr.has(t.type)?r:{...r,type:"jsx"})}var Yc=Fg;var Eg=function(){let e=this.Parser.prototype;e.blockMethods=["frontMatter",...e.blockMethods],e.blockTokenizers.frontMatter=r;function r(n,t){let a=or(t);if(a.frontMatter)return n(a.frontMatter.raw)(a.frontMatter)}r.onlyAtStart=!0},Vc=Eg;var Cg=function(){let e=this.Parser.prototype,r=e.inlineMethods;r.splice(r.indexOf("text"),0,"liquid"),e.inlineTokenizers.liquid=n;function n(t,a){let i=a.match(/^({%.*?%}|{{.*?}})/s);if(i)return t(i[0])({type:"liquidNode",value:i[0]})}n.locator=function(t,a){return t.indexOf("{",a)}},jc=Cg;var bg=function(){let e="wikiLink",r=/^\[\[(?.+?)]]/s,n=this.Parser.prototype,t=n.inlineMethods;t.splice(t.indexOf("link"),0,e),n.inlineTokenizers.wikiLink=a;function a(i,u){let o=r.exec(u);if(o){let s=o.groups.linkContents.trim();return i(o[0])({type:e,value:s})}}a.locator=function(i,u){return i.indexOf("[",u)}},$c=bg;function Xc({isMDX:e}){return r=>{let n=(0,Wc.default)().use(Hc.default,{commonmark:!0,...e&&{blocks:[Ic]}}).use(Jc.default).use(Vc).use(Kc.default).use(e?Uc:Gc).use(jc).use(e?Yc:Gc).use($c);return n.run(n.parse(r))}}function Gc(){}var Qc={astFormat:"mdast",hasPragma:fi,locStart:Te,locEnd:Se},xg={...Qc,parse:Xc({isMDX:!1})},yg={...Qc,parse:Xc({isMDX:!0})};var Zc=[{linguistLanguageId:222,name:"Markdown",type:"prose",color:"#083fa1",aliases:["pandoc"],aceMode:"markdown",codemirrorMode:"gfm",codemirrorMimeType:"text/x-gfm",wrap:!0,extensions:[".md",".livemd",".markdown",".mdown",".mdwn",".mkd",".mkdn",".mkdown",".ronn",".scd",".workbook"],filenames:["contents.lr","README"],tmScope:"source.gfm",parsers:["markdown"],vscodeLanguageIds:["markdown"]},{linguistLanguageId:222,name:"MDX",type:"prose",color:"#083fa1",aliases:["pandoc"],aceMode:"markdown",codemirrorMode:"gfm",codemirrorMimeType:"text/x-gfm",wrap:!0,extensions:[".mdx"],filenames:[],tmScope:"source.gfm",parsers:["mdx"],vscodeLanguageIds:["mdx"]}];var Ln={bracketSpacing:{category:"Common",type:"boolean",default:!0,description:"Print spaces between brackets.",oppositeDescription:"Do not print spaces between brackets."},singleQuote:{category:"Common",type:"boolean",default:!1,description:"Use single quotes instead of double quotes."},proseWrap:{category:"Common",type:"choice",default:"preserve",description:"How to wrap prose.",choices:[{value:"always",description:"Wrap prose if it exceeds the print width."},{value:"never",description:"Do not wrap prose."},{value:"preserve",description:"Wrap prose as-is."}]},bracketSameLine:{category:"Common",type:"boolean",default:!1,description:"Put > of opening tags on the last line instead of on a new line."},singleAttributePerLine:{category:"Common",type:"boolean",default:!1,description:"Enforce single attribute per line in HTML, Vue and JSX."}};var kg={proseWrap:Ln.proseWrap,singleQuote:Ln.singleQuote},el=kg;var wg={mdast:Si};var YE=On;export{YE as default,Zc as languages,el as options,lt as parsers,wg as printers}; +`,Uc=e=>vm.test(e),Sn=e=>Em.test(e),zc=(e,r)=>{let t=r.indexOf(bm),n=r.slice(0,t);if(Sn(n)||Uc(n))return e(n)({type:Sn(n)?"export":"import",value:n})},Mc=(e,r)=>{let t=Cm.exec(r);if(t)return e(t[0])({type:"esComment",value:t[1].trim()})};zc.locator=e=>Sn(e)||Uc(e)?-1:1;Mc.locator=(e,r)=>e.indexOf("{",r);var Yc=function(){let{Parser:e}=this,{blockTokenizers:r,blockMethods:t,inlineTokenizers:n,inlineMethods:a}=e.prototype;r.esSyntax=zc,n.esComment=Mc,t.splice(t.indexOf("paragraph"),0,"esSyntax"),a.splice(a.indexOf("text"),0,"esComment")};var ym=function(){let e=this.Parser.prototype;e.blockMethods=["frontMatter",...e.blockMethods],e.blockTokenizers.frontMatter=r;function r(t,n){let a=ir(n);if(a.frontMatter)return t(a.frontMatter.raw)(a.frontMatter)}r.onlyAtStart=!0},Gc=ym;function Am(){return e=>ye(e,(r,t,[n])=>r.type!=="html"||Rc.test(r.value)||Or.has(n.type)?r:{...r,type:"jsx"})}var Vc=Am;var xm=function(){let e=this.Parser.prototype,r=e.inlineMethods;r.splice(r.indexOf("text"),0,"liquid"),e.inlineTokenizers.liquid=t;function t(n,a){let u=a.match(/^(\{%.*?%\}|\{\{.*?\}\})/su);if(u)return n(u[0])({type:"liquidNode",value:u[0]})}t.locator=function(n,a){return n.indexOf("{",a)}},jc=xm;var wm=function(){let e="wikiLink",r=/^\[\[(?.+?)\]\]/su,t=this.Parser.prototype,n=t.inlineMethods;n.splice(n.indexOf("link"),0,e),t.inlineTokenizers.wikiLink=a;function a(u,i){let o=r.exec(i);if(o){let s=o.groups.linkContents.trim();return u(o[0])({type:e,value:s})}}a.locator=function(u,i){return u.indexOf("[",i)}},$c=wm;function Qc({isMDX:e}){return r=>{let t=(0,Xc.default)().use(Jc.default,{commonmark:!0,...e&&{blocks:[Nc]}}).use(Wc.default).use(Gc).use(Kc.default).use(e?Yc:Hc).use(jc).use(e?Vc:Hc).use($c);return t.run(t.parse(r))}}function Hc(){}var Zc={astFormat:"mdast",hasPragma:Kn,locStart:Oe,locEnd:Pe},km={...Zc,parse:Qc({isMDX:!1})},Bm={...Zc,parse:Qc({isMDX:!0})};var qm={mdast:Ti};var fC=Pn;export{fC as default,_i as languages,Si as options,On as parsers,qm as printers}; diff --git a/node_modules/prettier/plugins/meriyah.js b/node_modules/prettier/plugins/meriyah.js index b8cf4bf00d..85f116aa4d 100644 --- a/node_modules/prettier/plugins/meriyah.js +++ b/node_modules/prettier/plugins/meriyah.js @@ -1,5 +1,4 @@ -(function(f){function e(){var i=f();return i.default||i}if(typeof exports=="object"&&typeof module=="object")module.exports=e();else if(typeof define=="function"&&define.amd)define(e);else{var t=typeof globalThis<"u"?globalThis:typeof global<"u"?global:typeof self<"u"?self:this||{};t.prettierPlugins=t.prettierPlugins||{},t.prettierPlugins.meriyah=e()}})(function(){"use strict";var Nu=Object.create;var I2=Object.defineProperty;var Vu=Object.getOwnPropertyDescriptor;var Ru=Object.getOwnPropertyNames;var Ou=Object.getPrototypeOf,Uu=Object.prototype.hasOwnProperty;var Mu=(e,u)=>()=>(u||e((u={exports:{}}).exports,u),u.exports),we=(e,u)=>{for(var n in u)I2(e,n,{get:u[n],enumerable:!0})},Se=(e,u,n,i)=>{if(u&&typeof u=="object"||typeof u=="function")for(let t of Ru(u))!Uu.call(e,t)&&t!==n&&I2(e,t,{get:()=>u[t],enumerable:!(i=Vu(u,t))||i.enumerable});return e};var Ju=(e,u,n)=>(n=e!=null?Nu(Ou(e)):{},Se(u||!e||!e.__esModule?I2(n,"default",{value:e,enumerable:!0}):n,e)),ju=e=>Se(I2({},"__esModule",{value:!0}),e);var Cu=Mu(a2=>{"use strict";Object.defineProperty(a2,"__esModule",{value:!0});a2.extract=A0;a2.parse=P0;a2.parseWithComments=Au;a2.print=E0;a2.strip=C0;var y0=/\*\/$/,k0=/^\/\*\*?/,Du=/^\s*(\/\*\*?(.|\r?\n)*?\*\/)/,h0=/(^|\s+)\/\/([^\r\n]*)/g,yu=/^(\r?\n)+/,D0=/(?:^|\r?\n) *(@[^\r\n]*?) *\r?\n *(?![^@\r\n]*\/\/[^]*)([^@\r\n\s][^@\r\n]+?) *\r?\n/g,ku=/(?:^|\r?\n) *@(\S+) *([^\r\n]*)/g,b0=/(\r?\n|^) *\* ?/g,bu=[];function A0(e){let u=e.match(Du);return u?u[0].trimLeft():""}function C0(e){let u=e.match(Du);return u&&u[0]?e.substring(u[0].length):e}function P0(e){return Au(e).pragmas}function Au(e){let u=` -`;e=e.replace(k0,"").replace(y0,"").replace(b0,"$1");let n="";for(;n!==e;)n=e,e=e.replace(D0,`${u}$1 $2${u}`);e=e.replace(yu,"").trimRight();let i=Object.create(null),t=e.replace(ku,"").replace(yu,"").trimRight(),o;for(;o=ku.exec(e);){let l=o[2].replace(h0,"");typeof i[o[1]]=="string"||Array.isArray(i[o[1]])?i[o[1]]=bu.concat(i[o[1]],l):i[o[1]]=l}return{comments:t,pragmas:i}}function E0({comments:e="",pragmas:u={}}){let n=` -`,i="/**",t=" *",o=" */",l=Object.keys(u),f=l.map(a=>hu(a,u[a])).reduce((a,g)=>a.concat(g),[]).map(a=>`${t} ${a}${n}`).join("");if(!e){if(l.length===0)return"";if(l.length===1&&!Array.isArray(u[l[0]])){let a=u[l[0]];return`${i} ${hu(l[0],a)[0]}${o}`}}let c=e.split(n).map(a=>`${t} ${a}`).join(n)+n;return i+n+(e?c:"")+(e&&l.length?t+n:"")+f+o}function hu(e,u){return bu.concat(u).map(n=>`@${e} ${n}`.trim())}});var K0={};we(K0,{parsers:()=>G2});var G2={};we(G2,{meriyah:()=>H0});var Xu={0:"Unexpected token",28:"Unexpected token: '%0'",1:"Octal escape sequences are not allowed in strict mode",2:"Octal escape sequences are not allowed in template strings",3:"Unexpected token `#`",4:"Illegal Unicode escape sequence",5:"Invalid code point %0",6:"Invalid hexadecimal escape sequence",8:"Octal literals are not allowed in strict mode",7:"Decimal integer literals with a leading zero are forbidden in strict mode",9:"Expected number in radix %0",146:"Invalid left-hand side assignment to a destructible right-hand side",10:"Non-number found after exponent indicator",11:"Invalid BigIntLiteral",12:"No identifiers allowed directly after numeric literal",13:"Escapes \\8 or \\9 are not syntactically valid escapes",14:"Unterminated string literal",15:"Unterminated template literal",16:"Multiline comment was not closed properly",17:"The identifier contained dynamic unicode escape that was not closed",18:"Illegal character '%0'",19:"Missing hexadecimal digits",20:"Invalid implicit octal",21:"Invalid line break in string literal",22:"Only unicode escapes are legal in identifier names",23:"Expected '%0'",24:"Invalid left-hand side in assignment",25:"Invalid left-hand side in async arrow",26:'Calls to super must be in the "constructor" method of a class expression or class declaration that has a superclass',27:"Member access on super must be in a method",29:"Await expression not allowed in formal parameter",30:"Yield expression not allowed in formal parameter",93:"Unexpected token: 'escaped keyword'",31:"Unary expressions as the left operand of an exponentiation expression must be disambiguated with parentheses",120:"Async functions can only be declared at the top level or inside a block",32:"Unterminated regular expression",33:"Unexpected regular expression flag",34:"Duplicate regular expression flag '%0'",35:"%0 functions must have exactly %1 argument%2",36:"Setter function argument must not be a rest parameter",37:"%0 declaration must have a name in this context",38:"Function name may not contain any reserved words or be eval or arguments in strict mode",39:"The rest operator is missing an argument",40:"A getter cannot be a generator",41:"A setter cannot be a generator",42:"A computed property name must be followed by a colon or paren",131:"Object literal keys that are strings or numbers must be a method or have a colon",44:"Found `* async x(){}` but this should be `async * x(){}`",43:"Getters and setters can not be generators",45:"'%0' can not be generator method",46:"No line break is allowed after '=>'",47:"The left-hand side of the arrow can only be destructed through assignment",48:"The binding declaration is not destructible",49:"Async arrow can not be followed by new expression",50:"Classes may not have a static property named 'prototype'",51:"Class constructor may not be a %0",52:"Duplicate constructor method in class",53:"Invalid increment/decrement operand",54:"Invalid use of `new` keyword on an increment/decrement expression",55:"`=>` is an invalid assignment target",56:"Rest element may not have a trailing comma",57:"Missing initializer in %0 declaration",58:"'for-%0' loop head declarations can not have an initializer",59:"Invalid left-hand side in for-%0 loop: Must have a single binding",60:"Invalid shorthand property initializer",61:"Property name __proto__ appears more than once in object literal",62:"Let is disallowed as a lexically bound name",63:"Invalid use of '%0' inside new expression",64:"Illegal 'use strict' directive in function with non-simple parameter list",65:'Identifier "let" disallowed as left-hand side expression in strict mode',66:"Illegal continue statement",67:"Illegal break statement",68:"Cannot have `let[...]` as a var name in strict mode",69:"Invalid destructuring assignment target",70:"Rest parameter may not have a default initializer",71:"The rest argument must the be last parameter",72:"Invalid rest argument",74:"In strict mode code, functions can only be declared at top level or inside a block",75:"In non-strict mode code, functions can only be declared at top level, inside a block, or as the body of an if statement",76:"Without web compatibility enabled functions can not be declared at top level, inside a block, or as the body of an if statement",77:"Class declaration can't appear in single-statement context",78:"Invalid left-hand side in for-%0",79:"Invalid assignment in for-%0",80:"for await (... of ...) is only valid in async functions and async generators",81:"The first token after the template expression should be a continuation of the template",83:"`let` declaration not allowed here and `let` cannot be a regular var name in strict mode",82:"`let \n [` is a restricted production at the start of a statement",84:"Catch clause requires exactly one parameter, not more (and no trailing comma)",85:"Catch clause parameter does not support default values",86:"Missing catch or finally after try",87:"More than one default clause in switch statement",88:"Illegal newline after throw",89:"Strict mode code may not include a with statement",90:"Illegal return statement",91:"The left hand side of the for-header binding declaration is not destructible",92:"new.target only allowed within functions",94:"'#' not followed by identifier",100:"Invalid keyword",99:"Can not use 'let' as a class name",98:"'A lexical declaration can't define a 'let' binding",97:"Can not use `let` as variable name in strict mode",95:"'%0' may not be used as an identifier in this context",96:"Await is only valid in async functions",101:"The %0 keyword can only be used with the module goal",102:"Unicode codepoint must not be greater than 0x10FFFF",103:"%0 source must be string",104:"Only a identifier can be used to indicate alias",105:"Only '*' or '{...}' can be imported after default",106:"Trailing decorator may be followed by method",107:"Decorators can't be used with a constructor",109:"HTML comments are only allowed with web compatibility (Annex B)",110:"The identifier 'let' must not be in expression position in strict mode",111:"Cannot assign to `eval` and `arguments` in strict mode",112:"The left-hand side of a for-of loop may not start with 'let'",113:"Block body arrows can not be immediately invoked without a group",114:"Block body arrows can not be immediately accessed without a group",115:"Unexpected strict mode reserved word",116:"Unexpected eval or arguments in strict mode",117:"Decorators must not be followed by a semicolon",118:"Calling delete on expression not allowed in strict mode",119:"Pattern can not have a tail",121:"Can not have a `yield` expression on the left side of a ternary",122:"An arrow function can not have a postfix update operator",123:"Invalid object literal key character after generator star",124:"Private fields can not be deleted",126:"Classes may not have a field called constructor",125:"Classes may not have a private element named constructor",127:"A class field initializer may not contain arguments",128:"Generators can only be declared at the top level or inside a block",129:"Async methods are a restricted production and cannot have a newline following it",130:"Unexpected character after object literal property name",132:"Invalid key token",133:"Label '%0' has already been declared",134:"continue statement must be nested within an iteration statement",135:"Undefined label '%0'",136:"Trailing comma is disallowed inside import(...) arguments",137:"import() requires exactly one argument",138:"Cannot use new with import(...)",139:"... is not allowed in import()",140:"Expected '=>'",141:"Duplicate binding '%0'",142:"Cannot export a duplicate name '%0'",145:"Duplicate %0 for-binding",143:"Exported binding '%0' needs to refer to a top-level declared variable",144:"Unexpected private field",148:"Numeric separators are not allowed at the end of numeric literals",147:"Only one underscore is allowed as numeric separator",149:"JSX value should be either an expression or a quoted JSX text",150:"Expected corresponding JSX closing tag for %0",151:"Adjacent JSX elements must be wrapped in an enclosing tag",152:"JSX attributes must only be assigned a non-empty 'expression'",153:"'%0' has already been declared",154:"'%0' shadowed a catch clause binding",155:"Dot property must be an identifier",156:"Encountered invalid input after spread/rest argument",157:"Catch without try",158:"Finally without try",159:"Expected corresponding closing tag for JSX fragment",160:"Coalescing and logical operators used together in the same expression must be disambiguated with parentheses",161:"Invalid tagged template on optional chain",162:"Invalid optional chain from super property",163:"Invalid optional chain from new expression",164:'Cannot use "import.meta" outside a module',165:"Leading decorators must be attached to a class declaration"},k2=class extends SyntaxError{constructor(u,n,i,t,...o){let l="["+n+":"+i+"]: "+Xu[t].replace(/%(\d+)/g,(f,c)=>o[c]);super(`${l}`),this.index=u,this.line=n,this.column=i,this.description=l,this.loc={line:n,column:i}}};function d(e,u,...n){throw new k2(e.index,e.line,e.column,u,...n)}function H2(e){throw new k2(e.index,e.line,e.column,e.type,e.params)}function h2(e,u,n,i,...t){throw new k2(e,u,n,i,...t)}function D2(e,u,n,i){throw new k2(e,u,n,i)}var E2=((e,u)=>{let n=new Uint32Array(104448),i=0,t=0;for(;i<3540;){let o=e[i++];if(o<0)t-=o;else{let l=e[i++];o&2&&(l=u[l]),o&1?n.fill(l,t,t+=e[i++]):n[t++]=l}}return n})([-1,2,24,2,25,2,5,-1,0,77595648,3,44,2,3,0,14,2,57,2,58,3,0,3,0,3168796671,0,4294956992,2,1,2,0,2,59,3,0,4,0,4294966523,3,0,4,2,16,2,60,2,0,0,4294836735,0,3221225471,0,4294901942,2,61,0,134152192,3,0,2,0,4294951935,3,0,2,0,2683305983,0,2684354047,2,17,2,0,0,4294961151,3,0,2,2,19,2,0,0,608174079,2,0,2,131,2,6,2,56,-1,2,37,0,4294443263,2,1,3,0,3,0,4294901711,2,39,0,4089839103,0,2961209759,0,1342439375,0,4294543342,0,3547201023,0,1577204103,0,4194240,0,4294688750,2,2,0,80831,0,4261478351,0,4294549486,2,2,0,2967484831,0,196559,0,3594373100,0,3288319768,0,8469959,2,194,2,3,0,3825204735,0,123747807,0,65487,0,4294828015,0,4092591615,0,1080049119,0,458703,2,3,2,0,0,2163244511,0,4227923919,0,4236247022,2,66,0,4284449919,0,851904,2,4,2,11,0,67076095,-1,2,67,0,1073741743,0,4093591391,-1,0,50331649,0,3265266687,2,32,0,4294844415,0,4278190047,2,18,2,129,-1,3,0,2,2,21,2,0,2,9,2,0,2,14,2,15,3,0,10,2,69,2,0,2,70,2,71,2,72,2,0,2,73,2,0,2,10,0,261632,2,23,3,0,2,2,12,2,4,3,0,18,2,74,2,5,3,0,2,2,75,0,2088959,2,27,2,8,0,909311,3,0,2,0,814743551,2,41,0,67057664,3,0,2,2,40,2,0,2,28,2,0,2,29,2,7,0,268374015,2,26,2,49,2,0,2,76,0,134153215,-1,2,6,2,0,2,7,0,2684354559,0,67044351,0,3221160064,0,1,-1,3,0,2,2,42,0,1046528,3,0,3,2,8,2,0,2,51,0,4294960127,2,9,2,38,2,10,0,4294377472,2,11,3,0,7,0,4227858431,3,0,8,2,12,2,0,2,78,2,9,2,0,2,79,2,80,2,81,-1,2,124,0,1048577,2,82,2,13,-1,2,13,0,131042,2,83,2,84,2,85,2,0,2,33,-83,2,0,2,53,2,7,3,0,4,0,1046559,2,0,2,14,2,0,0,2147516671,2,20,3,86,2,2,0,-16,2,87,0,524222462,2,4,2,0,0,4269801471,2,4,2,0,2,15,2,77,2,16,3,0,2,2,47,2,0,-1,2,17,-16,3,0,206,-2,3,0,655,2,18,3,0,36,2,68,-1,2,17,2,9,3,0,8,2,89,2,121,2,0,0,3220242431,3,0,3,2,19,2,90,2,91,3,0,2,2,92,2,0,2,93,2,94,2,0,0,4351,2,0,2,8,3,0,2,0,67043391,0,3909091327,2,0,2,22,2,8,2,18,3,0,2,0,67076097,2,7,2,0,2,20,0,67059711,0,4236247039,3,0,2,0,939524103,0,8191999,2,97,2,98,2,15,2,21,3,0,3,0,67057663,3,0,349,2,99,2,100,2,6,-264,3,0,11,2,22,3,0,2,2,31,-1,0,3774349439,2,101,2,102,3,0,2,2,19,2,103,3,0,10,2,9,2,17,2,0,2,45,2,0,2,30,2,104,2,23,0,1638399,2,172,2,105,3,0,3,2,18,2,24,2,25,2,5,2,26,2,0,2,7,2,106,-1,2,107,2,108,2,109,-1,3,0,3,2,11,-2,2,0,2,27,-3,2,150,-4,2,18,2,0,2,35,0,1,2,0,2,62,2,28,2,11,2,9,2,0,2,110,-1,3,0,4,2,9,2,21,2,111,2,6,2,0,2,112,2,0,2,48,-4,3,0,9,2,20,2,29,2,30,-4,2,113,2,114,2,29,2,20,2,7,-2,2,115,2,29,2,31,-2,2,0,2,116,-2,0,4277137519,0,2269118463,-1,3,18,2,-1,2,32,2,36,2,0,3,29,2,2,34,2,19,-3,3,0,2,2,33,-1,2,0,2,34,2,0,2,34,2,0,2,46,-10,2,0,0,203775,-2,2,18,2,43,2,35,-2,2,17,2,117,2,20,3,0,2,2,36,0,2147549120,2,0,2,11,2,17,2,135,2,0,2,37,2,52,0,5242879,3,0,2,0,402644511,-1,2,120,0,1090519039,-2,2,122,2,38,2,0,0,67045375,2,39,0,4226678271,0,3766565279,0,2039759,-4,3,0,2,0,3288270847,0,3,3,0,2,0,67043519,-5,2,0,0,4282384383,0,1056964609,-1,3,0,2,0,67043345,-1,2,0,2,40,2,41,-1,2,10,2,42,-6,2,0,2,11,-3,3,0,2,0,2147484671,2,125,0,4190109695,2,50,-2,2,126,0,4244635647,0,27,2,0,2,7,2,43,2,0,2,63,-1,2,0,2,40,-8,2,54,2,44,0,67043329,2,127,2,45,0,8388351,-2,2,128,0,3028287487,2,46,2,130,0,33259519,2,41,-9,2,20,-5,2,64,-2,3,0,28,2,31,-3,3,0,3,2,47,3,0,6,2,48,-85,3,0,33,2,47,-126,3,0,18,2,36,-269,3,0,17,2,40,2,7,2,41,-2,2,17,2,49,2,0,2,20,2,50,2,132,2,23,-21,3,0,2,-4,3,0,2,0,4294936575,2,0,0,4294934783,-2,0,196635,3,0,191,2,51,3,0,38,2,29,-1,2,33,-279,3,0,8,2,7,-1,2,133,2,52,3,0,11,2,6,-72,3,0,3,2,134,0,1677656575,-166,0,4161266656,0,4071,0,15360,-4,0,28,-13,3,0,2,2,37,2,0,2,136,2,137,2,55,2,0,2,138,2,139,2,140,3,0,10,2,141,2,142,2,15,3,37,2,3,53,2,3,54,2,0,4294954999,2,0,-16,2,0,2,88,2,0,0,2105343,0,4160749584,0,65534,-42,0,4194303871,0,2011,-6,2,0,0,1073684479,0,17407,-11,2,0,2,31,-40,3,0,6,0,8323103,-1,3,0,2,2,42,-37,2,55,2,144,2,145,2,146,2,147,2,148,-105,2,24,-32,3,0,1334,2,9,-1,3,0,129,2,27,3,0,6,2,9,3,0,180,2,149,3,0,233,0,1,-96,3,0,16,2,9,-47,3,0,154,2,56,-22381,3,0,7,2,23,-6130,3,5,2,-1,0,69207040,3,44,2,3,0,14,2,57,2,58,-3,0,3168731136,0,4294956864,2,1,2,0,2,59,3,0,4,0,4294966275,3,0,4,2,16,2,60,2,0,2,33,-1,2,17,2,61,-1,2,0,2,56,0,4294885376,3,0,2,0,3145727,0,2617294944,0,4294770688,2,23,2,62,3,0,2,0,131135,2,95,0,70256639,0,71303167,0,272,2,40,2,56,-1,2,37,2,30,-1,2,96,2,63,0,4278255616,0,4294836227,0,4294549473,0,600178175,0,2952806400,0,268632067,0,4294543328,0,57540095,0,1577058304,0,1835008,0,4294688736,2,65,2,64,0,33554435,2,123,2,65,2,151,0,131075,0,3594373096,0,67094296,2,64,-1,0,4294828e3,0,603979263,2,160,0,3,0,4294828001,0,602930687,2,183,0,393219,0,4294828016,0,671088639,0,2154840064,0,4227858435,0,4236247008,2,66,2,36,-1,2,4,0,917503,2,36,-1,2,67,0,537788335,0,4026531935,-1,0,1,-1,2,32,2,68,0,7936,-3,2,0,0,2147485695,0,1010761728,0,4292984930,0,16387,2,0,2,14,2,15,3,0,10,2,69,2,0,2,70,2,71,2,72,2,0,2,73,2,0,2,11,-1,2,23,3,0,2,2,12,2,4,3,0,18,2,74,2,5,3,0,2,2,75,0,253951,3,19,2,0,122879,2,0,2,8,0,276824064,-2,3,0,2,2,40,2,0,0,4294903295,2,0,2,29,2,7,-1,2,17,2,49,2,0,2,76,2,41,-1,2,20,2,0,2,27,-2,0,128,-2,2,77,2,8,0,4064,-1,2,119,0,4227907585,2,0,2,118,2,0,2,48,2,173,2,9,2,38,2,10,-1,0,74440192,3,0,6,-2,3,0,8,2,12,2,0,2,78,2,9,2,0,2,79,2,80,2,81,-3,2,82,2,13,-3,2,83,2,84,2,85,2,0,2,33,-83,2,0,2,53,2,7,3,0,4,0,817183,2,0,2,14,2,0,0,33023,2,20,3,86,2,-17,2,87,0,524157950,2,4,2,0,2,88,2,4,2,0,2,15,2,77,2,16,3,0,2,2,47,2,0,-1,2,17,-16,3,0,206,-2,3,0,655,2,18,3,0,36,2,68,-1,2,17,2,9,3,0,8,2,89,0,3072,2,0,0,2147516415,2,9,3,0,2,2,23,2,90,2,91,3,0,2,2,92,2,0,2,93,2,94,0,4294965179,0,7,2,0,2,8,2,91,2,8,-1,0,1761345536,2,95,0,4294901823,2,36,2,18,2,96,2,34,2,166,0,2080440287,2,0,2,33,2,143,0,3296722943,2,0,0,1046675455,0,939524101,0,1837055,2,97,2,98,2,15,2,21,3,0,3,0,7,3,0,349,2,99,2,100,2,6,-264,3,0,11,2,22,3,0,2,2,31,-1,0,2700607615,2,101,2,102,3,0,2,2,19,2,103,3,0,10,2,9,2,17,2,0,2,45,2,0,2,30,2,104,-3,2,105,3,0,3,2,18,-1,3,5,2,2,26,2,0,2,7,2,106,-1,2,107,2,108,2,109,-1,3,0,3,2,11,-2,2,0,2,27,-8,2,18,2,0,2,35,-1,2,0,2,62,2,28,2,29,2,9,2,0,2,110,-1,3,0,4,2,9,2,17,2,111,2,6,2,0,2,112,2,0,2,48,-4,3,0,9,2,20,2,29,2,30,-4,2,113,2,114,2,29,2,20,2,7,-2,2,115,2,29,2,31,-2,2,0,2,116,-2,0,4277075969,2,29,-1,3,18,2,-1,2,32,2,117,2,0,3,29,2,2,34,2,19,-3,3,0,2,2,33,-1,2,0,2,34,2,0,2,34,2,0,2,48,-10,2,0,0,197631,-2,2,18,2,43,2,118,-2,2,17,2,117,2,20,2,119,2,51,-2,2,119,2,23,2,17,2,33,2,119,2,36,0,4294901904,0,4718591,2,119,2,34,0,335544350,-1,2,120,2,121,-2,2,122,2,38,2,7,-1,2,123,2,65,0,3758161920,0,3,-4,2,0,2,27,0,2147485568,0,3,2,0,2,23,0,176,-5,2,0,2,47,2,186,-1,2,0,2,23,2,197,-1,2,0,0,16779263,-2,2,11,-7,2,0,2,121,-3,3,0,2,2,124,2,125,0,2147549183,0,2,-2,2,126,2,35,0,10,0,4294965249,0,67633151,0,4026597376,2,0,0,536871935,-1,2,0,2,40,-8,2,54,2,47,0,1,2,127,2,23,-3,2,128,2,35,2,129,2,130,0,16778239,-10,2,34,-5,2,64,-2,3,0,28,2,31,-3,3,0,3,2,47,3,0,6,2,48,-85,3,0,33,2,47,-126,3,0,18,2,36,-269,3,0,17,2,40,2,7,-3,2,17,2,131,2,0,2,23,2,48,2,132,2,23,-21,3,0,2,-4,3,0,2,0,67583,-1,2,103,-2,0,11,3,0,191,2,51,3,0,38,2,29,-1,2,33,-279,3,0,8,2,7,-1,2,133,2,52,3,0,11,2,6,-72,3,0,3,2,134,2,135,-187,3,0,2,2,37,2,0,2,136,2,137,2,55,2,0,2,138,2,139,2,140,3,0,10,2,141,2,142,2,15,3,37,2,3,53,2,3,54,2,2,143,-73,2,0,0,1065361407,0,16384,-11,2,0,2,121,-40,3,0,6,2,117,-1,3,0,2,0,2063,-37,2,55,2,144,2,145,2,146,2,147,2,148,-138,3,0,1334,2,9,-1,3,0,129,2,27,3,0,6,2,9,3,0,180,2,149,3,0,233,0,1,-96,3,0,16,2,9,-47,3,0,154,2,56,-28517,2,0,0,1,-1,2,124,2,0,0,8193,-21,2,193,0,10255,0,4,-11,2,64,2,171,-1,0,71680,-1,2,161,0,4292900864,0,805306431,-5,2,150,-1,2,157,-1,0,6144,-2,2,127,-1,2,154,-1,0,2147532800,2,151,2,165,2,0,2,164,0,524032,0,4,-4,2,190,0,205128192,0,1333757536,0,2147483696,0,423953,0,747766272,0,2717763192,0,4286578751,0,278545,2,152,0,4294886464,0,33292336,0,417809,2,152,0,1327482464,0,4278190128,0,700594195,0,1006647527,0,4286497336,0,4160749631,2,153,0,469762560,0,4171219488,0,8323120,2,153,0,202375680,0,3214918176,0,4294508592,2,153,-1,0,983584,0,48,0,58720273,0,3489923072,0,10517376,0,4293066815,0,1,0,2013265920,2,177,2,0,0,2089,0,3221225552,0,201375904,2,0,-2,0,256,0,122880,0,16777216,2,150,0,4160757760,2,0,-6,2,167,-11,0,3263218176,-1,0,49664,0,2160197632,0,8388802,-1,0,12713984,-1,2,154,2,159,2,178,-2,2,162,-20,0,3758096385,-2,2,155,0,4292878336,2,90,2,169,0,4294057984,-2,2,163,2,156,2,175,-2,2,155,-1,2,182,-1,2,170,2,124,0,4026593280,0,14,0,4292919296,-1,2,158,0,939588608,-1,0,805306368,-1,2,124,0,1610612736,2,156,2,157,2,4,2,0,-2,2,158,2,159,-3,0,267386880,-1,2,160,0,7168,-1,0,65024,2,154,2,161,2,179,-7,2,168,-8,2,162,-1,0,1426112704,2,163,-1,2,164,0,271581216,0,2149777408,2,23,2,161,2,124,0,851967,2,180,-1,2,23,2,181,-4,2,158,-20,2,195,2,165,-56,0,3145728,2,185,-4,2,166,2,124,-4,0,32505856,-1,2,167,-1,0,2147385088,2,90,1,2155905152,2,-3,2,103,2,0,2,168,-2,2,169,-6,2,170,0,4026597375,0,1,-1,0,1,-1,2,171,-3,2,117,2,64,-2,2,166,-2,2,176,2,124,-878,2,159,-36,2,172,-1,2,201,-10,2,188,-5,2,174,-6,0,4294965251,2,27,-1,2,173,-1,2,174,-2,0,4227874752,-3,0,2146435072,2,159,-2,0,1006649344,2,124,-1,2,90,0,201375744,-3,0,134217720,2,90,0,4286677377,0,32896,-1,2,158,-3,2,175,-349,2,176,0,1920,2,177,3,0,264,-11,2,157,-2,2,178,2,0,0,520617856,0,2692743168,0,36,-3,0,524284,-11,2,23,-1,2,187,-1,2,184,0,3221291007,2,178,-1,2,202,0,2158720,-3,2,159,0,1,-4,2,124,0,3808625411,0,3489628288,2,200,0,1207959680,0,3221274624,2,0,-3,2,179,0,120,0,7340032,-2,2,180,2,4,2,23,2,163,3,0,4,2,159,-1,2,181,2,177,-1,0,8176,2,182,2,179,2,183,-1,0,4290773232,2,0,-4,2,163,2,189,0,15728640,2,177,-1,2,161,-1,0,4294934512,3,0,4,-9,2,90,2,170,2,184,3,0,4,0,704,0,1849688064,2,185,-1,2,124,0,4294901887,2,0,0,130547712,0,1879048192,2,199,3,0,2,-1,2,186,2,187,-1,0,17829776,0,2025848832,0,4261477888,-2,2,0,-1,0,4286580608,-1,0,29360128,2,192,0,16252928,0,3791388672,2,38,3,0,2,-2,2,196,2,0,-1,2,103,-1,0,66584576,-1,2,191,3,0,9,2,124,-1,0,4294755328,3,0,2,-1,2,161,2,178,3,0,2,2,23,2,188,2,90,-2,0,245760,0,2147418112,-1,2,150,2,203,0,4227923456,-1,2,164,2,161,2,90,-3,0,4292870145,0,262144,2,124,3,0,2,0,1073758848,2,189,-1,0,4227921920,2,190,0,68289024,0,528402016,0,4292927536,3,0,4,-2,0,268435456,2,91,-2,2,191,3,0,5,-1,2,192,2,163,2,0,-2,0,4227923936,2,62,-1,2,155,2,95,2,0,2,154,2,158,3,0,6,-1,2,177,3,0,3,-2,0,2146959360,0,9440640,0,104857600,0,4227923840,3,0,2,0,768,2,193,2,77,-2,2,161,-2,2,119,-1,2,155,3,0,8,0,512,0,8388608,2,194,2,172,2,187,0,4286578944,3,0,2,0,1152,0,1266679808,2,191,0,576,0,4261707776,2,95,3,0,9,2,155,3,0,5,2,16,-1,0,2147221504,-28,2,178,3,0,3,-3,0,4292902912,-6,2,96,3,0,85,-33,0,4294934528,3,0,126,-18,2,195,3,0,269,-17,2,155,2,124,2,198,3,0,2,2,23,0,4290822144,-2,0,67174336,0,520093700,2,17,3,0,21,-2,2,179,3,0,3,-2,0,30720,-1,0,32512,3,0,2,0,4294770656,-191,2,174,-38,2,170,2,0,2,196,3,0,279,-8,2,124,2,0,0,4294508543,0,65295,-11,2,177,3,0,72,-3,0,3758159872,0,201391616,3,0,155,-7,2,170,-1,0,384,-1,0,133693440,-3,2,196,-2,2,26,3,0,4,2,169,-2,2,90,2,155,3,0,4,-2,2,164,-1,2,150,0,335552923,2,197,-1,0,538974272,0,2214592512,0,132e3,-10,0,192,-8,0,12288,-21,0,134213632,0,4294901761,3,0,42,0,100663424,0,4294965284,3,0,6,-1,0,3221282816,2,198,3,0,11,-1,2,199,3,0,40,-6,0,4286578784,2,0,-2,0,1006694400,3,0,24,2,35,-1,2,94,3,0,2,0,1,2,163,3,0,6,2,197,0,4110942569,0,1432950139,0,2701658217,0,4026532864,0,4026532881,2,0,2,45,3,0,8,-1,2,158,-2,2,169,0,98304,0,65537,2,170,-5,0,4294950912,2,0,2,118,0,65528,2,177,0,4294770176,2,26,3,0,4,-30,2,174,0,3758153728,-3,2,169,-2,2,155,2,188,2,158,-1,2,191,-1,2,161,0,4294754304,3,0,2,-3,0,33554432,-2,2,200,-3,2,169,0,4175478784,2,201,0,4286643712,0,4286644216,2,0,-4,2,202,-1,2,165,0,4227923967,3,0,32,-1334,2,163,2,0,-129,2,94,-6,2,163,-180,2,203,-233,2,4,3,0,96,-16,2,163,3,0,47,-154,2,165,3,0,22381,-7,2,17,3,0,6128],[4294967295,4294967291,4092460543,4294828031,4294967294,134217726,268435455,2147483647,1048575,1073741823,3892314111,134217727,1061158911,536805376,4294910143,4160749567,4294901759,4294901760,536870911,262143,8388607,4294902783,4294918143,65535,67043328,2281701374,4294967232,2097151,4294903807,4194303,255,67108863,4294967039,511,524287,131071,127,4292870143,4294902271,4294549487,33554431,1023,67047423,4294901888,4286578687,4294770687,67043583,32767,15,2047999,67043343,16777215,4294902e3,4294934527,4294966783,4294967279,2047,262083,20511,4290772991,41943039,493567,4294959104,603979775,65536,602799615,805044223,4294965206,8191,1031749119,4294917631,2134769663,4286578493,4282253311,4294942719,33540095,4294905855,4294967264,2868854591,1608515583,265232348,534519807,2147614720,1060109444,4093640016,17376,2139062143,224,4169138175,4294909951,4286578688,4294967292,4294965759,2044,4292870144,4294966272,4294967280,8289918,4294934399,4294901775,4294965375,1602223615,4294967259,4294443008,268369920,4292804608,486341884,4294963199,3087007615,1073692671,4128527,4279238655,4294902015,4294966591,2445279231,3670015,3238002687,31,63,4294967288,4294705151,4095,3221208447,4294549472,2147483648,4285526655,4294966527,4294705152,4294966143,64,4294966719,16383,3774873592,458752,536807423,67043839,3758096383,3959414372,3755993023,2080374783,4294835295,4294967103,4160749565,4087,184024726,2862017156,1593309078,268434431,268434414,4294901763,536870912,2952790016,202506752,139264,402653184,4261412864,4227922944,49152,61440,3758096384,117440512,65280,3233808384,3221225472,2097152,4294965248,32768,57152,67108864,4293918720,4290772992,25165824,57344,4227915776,4278190080,4227907584,65520,4026531840,4227858432,4160749568,3758129152,4294836224,63488,1073741824,4294967040,4194304,251658240,196608,4294963200,64512,417808,4227923712,12582912,50331648,65472,4294967168,4294966784,16,4294917120,2080374784,4096,65408,524288,65532]);function h(e){return e.column++,e.currentChar=e.source.charCodeAt(++e.index)}function zu(e,u){if((u&64512)!==55296)return 0;let n=e.source.charCodeAt(e.index+1);return(n&64512)!==56320?0:(u=e.currentChar=65536+((u&1023)<<10)+(n&1023),E2[(u>>>5)+0]>>>u&31&1||d(e,18,G(u)),e.index++,e.column++,1)}function ie(e,u){e.currentChar=e.source.charCodeAt(++e.index),e.flags|=1,u&4||(e.column=0,e.line++)}function c2(e){e.flags|=1,e.currentChar=e.source.charCodeAt(++e.index),e.column=0,e.line++}function Hu(e){return e===160||e===65279||e===133||e===5760||e>=8192&&e<=8203||e===8239||e===8287||e===12288||e===8201||e===65519}function G(e){return e<=65535?String.fromCharCode(e):String.fromCharCode(e>>>10)+String.fromCharCode(e&1023)}function H(e){return e<65?e-48:e-65+10&15}function Ku(e){switch(e){case 134283266:return"NumericLiteral";case 134283267:return"StringLiteral";case 86021:case 86022:return"BooleanLiteral";case 86023:return"NullLiteral";case 65540:return"RegularExpression";case 67174408:case 67174409:case 132:return"TemplateLiteral";default:return(e&143360)===143360?"Identifier":(e&4096)===4096?"Keyword":"Punctuator"}}var L=[0,0,0,0,0,0,0,0,0,0,1032,0,0,2056,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,8192,0,3,0,0,8192,0,0,0,256,0,33024,0,0,242,242,114,114,114,114,114,114,594,594,0,0,16384,0,0,0,0,67,67,67,67,67,67,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,0,1,0,0,4099,0,71,71,71,71,71,71,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,16384,0,0,0,0],$u=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,1,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0],Ve=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,1,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0];function x2(e){return e<=127?$u[e]:E2[(e>>>5)+34816]>>>e&31&1}function M2(e){return e<=127?Ve[e]:E2[(e>>>5)+0]>>>e&31&1||e===8204||e===8205}var Re=["SingleLine","MultiLine","HTMLOpen","HTMLClose","HashbangComment"];function Wu(e){let u=e.source;e.currentChar===35&&u.charCodeAt(e.index+1)===33&&(h(e),h(e),te(e,u,0,4,e.tokenPos,e.linePos,e.colPos))}function ve(e,u,n,i,t,o,l,f){return i&2048&&d(e,0),te(e,u,n,t,o,l,f)}function te(e,u,n,i,t,o,l){let{index:f}=e;for(e.tokenPos=e.index,e.linePos=e.line,e.colPos=e.column;e.index=e.source.length)return d(e,32)}let t=e.index-1,o=0,l=e.currentChar,{index:f}=e;for(;M2(l);){switch(l){case 103:o&2&&d(e,34,"g"),o|=2;break;case 105:o&1&&d(e,34,"i"),o|=1;break;case 109:o&4&&d(e,34,"m"),o|=4;break;case 117:o&16&&d(e,34,"u"),o|=16;break;case 121:o&8&&d(e,34,"y"),o|=8;break;case 115:o&32&&d(e,34,"s"),o|=32;break;case 100:o&64&&d(e,34,"d"),o|=64;break;default:d(e,33)}l=h(e)}let c=e.source.slice(f,e.index),a=e.source.slice(n,t);return e.tokenRegExp={pattern:a,flags:c},u&512&&(e.tokenRaw=e.source.slice(e.tokenPos,e.index)),e.tokenValue=Yu(e,a,c),65540}function Yu(e,u,n){try{return new RegExp(u,n)}catch{try{return new RegExp(u,n.replace("d","")),null}catch{d(e,32)}}}function Qu(e,u,n){let{index:i}=e,t="",o=h(e),l=e.index;for(;!(L[o]&8);){if(o===n)return t+=e.source.slice(l,e.index),h(e),u&512&&(e.tokenRaw=e.source.slice(i,e.index)),e.tokenValue=t,134283267;if((o&8)===8&&o===92){if(t+=e.source.slice(l,e.index),o=h(e),o<127||o===8232||o===8233){let f=Oe(e,u,o);f>=0?t+=G(f):Ue(e,f,0)}else t+=G(o);l=e.index+1}e.index>=e.end&&d(e,14),o=h(e)}d(e,14)}function Oe(e,u,n){switch(n){case 98:return 8;case 102:return 12;case 114:return 13;case 110:return 10;case 116:return 9;case 118:return 11;case 13:if(e.index1114111)return-5;return e.currentChar<1||e.currentChar!==125?-4:t}else{if(!(L[i]&64))return-4;let t=e.source.charCodeAt(e.index+1);if(!(L[t]&64))return-4;let o=e.source.charCodeAt(e.index+2);if(!(L[o]&64))return-4;let l=e.source.charCodeAt(e.index+3);return L[l]&64?(e.index+=3,e.column+=3,e.currentChar=e.source.charCodeAt(e.index),H(i)<<12|H(t)<<8|H(o)<<4|H(l)):-4}}case 56:case 57:if(!(u&256))return-3;default:return n}}function Ue(e,u,n){switch(u){case-1:return;case-2:d(e,n?2:1);case-3:d(e,13);case-4:d(e,6);case-5:d(e,102)}}function Me(e,u){let{index:n}=e,i=67174409,t="",o=h(e);for(;o!==96;){if(o===36&&e.source.charCodeAt(e.index+1)===123){h(e),i=67174408;break}else if((o&8)===8&&o===92)if(o=h(e),o>126)t+=G(o);else{let l=Oe(e,u|1024,o);if(l>=0)t+=G(l);else if(l!==-1&&u&65536){t=void 0,o=Zu(e,o),o<0&&(i=67174408);break}else Ue(e,l,1)}else e.index=e.end&&d(e,15),o=h(e)}return h(e),e.tokenValue=t,e.tokenRaw=e.source.slice(n+1,e.index-(i===67174409?1:2)),i}function Zu(e,u){for(;u!==96;){switch(u){case 36:{let n=e.index+1;if(n=e.end&&d(e,15),u=h(e)}return u}function Gu(e,u){return e.index>=e.end&&d(e,0),e.index--,e.column--,Me(e,u)}function Be(e,u,n){let i=e.currentChar,t=0,o=9,l=n&64?0:1,f=0,c=0;if(n&64)t="."+N2(e,i),i=e.currentChar,i===110&&d(e,11);else{if(i===48)if(i=h(e),(i|32)===120){for(n=136,i=h(e);L[i]&4160;){if(i===95){c||d(e,147),c=0,i=h(e);continue}c=1,t=t*16+H(i),f++,i=h(e)}(f===0||!c)&&d(e,f===0?19:148)}else if((i|32)===111){for(n=132,i=h(e);L[i]&4128;){if(i===95){c||d(e,147),c=0,i=h(e);continue}c=1,t=t*8+(i-48),f++,i=h(e)}(f===0||!c)&&d(e,f===0?0:148)}else if((i|32)===98){for(n=130,i=h(e);L[i]&4224;){if(i===95){c||d(e,147),c=0,i=h(e);continue}c=1,t=t*2+(i-48),f++,i=h(e)}(f===0||!c)&&d(e,f===0?0:148)}else if(L[i]&32)for(u&1024&&d(e,1),n=1;L[i]&16;){if(L[i]&512){n=32,l=0;break}t=t*8+(i-48),i=h(e)}else L[i]&512?(u&1024&&d(e,1),e.flags|=64,n=32):i===95&&d(e,0);if(n&48){if(l){for(;o>=0&&L[i]&4112;){if(i===95){i=h(e),(i===95||n&32)&&D2(e.index,e.line,e.index+1,147),c=1;continue}c=0,t=10*t+(i-48),i=h(e),--o}if(c&&D2(e.index,e.line,e.index+1,148),o>=0&&!x2(i)&&i!==46)return e.tokenValue=t,u&512&&(e.tokenRaw=e.source.slice(e.tokenPos,e.index)),134283266}t+=N2(e,i),i=e.currentChar,i===46&&(h(e)===95&&d(e,0),n=64,t+="."+N2(e,e.currentChar),i=e.currentChar)}}let a=e.index,g=0;if(i===110&&n&128)g=1,i=h(e);else if((i|32)===101){i=h(e),L[i]&256&&(i=h(e));let{index:m}=e;L[i]&16||d(e,10),t+=e.source.substring(a,m)+N2(e,i),i=e.currentChar}return(e.index","(","{",".","...","}",")",";",",","[","]",":","?","'",'"',"","++","--","=","<<=",">>=",">>>=","**=","+=","-=","*=","/=","%=","^=","|=","&=","||=","&&=","??=","typeof","delete","void","!","~","+","-","in","instanceof","*","%","/","**","&&","||","===","!==","==","!=","<=",">=","<",">","<<",">>",">>>","&","|","^","var","let","const","break","case","catch","class","continue","debugger","default","do","else","export","extends","finally","for","function","if","import","new","return","super","switch","this","throw","try","while","with","implements","interface","package","private","protected","public","static","yield","as","async","await","constructor","get","set","from","of","enum","eval","arguments","escaped keyword","escaped future reserved keyword","reserved if strict","#","BigIntLiteral","??","?.","WhiteSpace","Illegal","LineTerminator","PrivateField","Template","@","target","meta","LineFeed","Escaped","JSXText"],Je=Object.create(null,{this:{value:86113},function:{value:86106},if:{value:20571},return:{value:20574},var:{value:86090},else:{value:20565},for:{value:20569},new:{value:86109},in:{value:8738868},typeof:{value:16863277},while:{value:20580},case:{value:20558},break:{value:20557},try:{value:20579},catch:{value:20559},delete:{value:16863278},throw:{value:86114},switch:{value:86112},continue:{value:20561},default:{value:20563},instanceof:{value:8476725},do:{value:20564},void:{value:16863279},finally:{value:20568},async:{value:209007},await:{value:209008},class:{value:86096},const:{value:86092},constructor:{value:12401},debugger:{value:20562},export:{value:20566},extends:{value:20567},false:{value:86021},from:{value:12404},get:{value:12402},implements:{value:36966},import:{value:86108},interface:{value:36967},let:{value:241739},null:{value:86023},of:{value:274549},package:{value:36968},private:{value:36969},protected:{value:36970},public:{value:36971},set:{value:12403},static:{value:36972},super:{value:86111},true:{value:86022},with:{value:20581},yield:{value:241773},enum:{value:86134},eval:{value:537079927},as:{value:77934},arguments:{value:537079928},target:{value:143494},meta:{value:143495}});function Te(e,u,n){for(;Ve[h(e)];);return e.tokenValue=e.source.slice(e.tokenPos,e.index),e.currentChar!==92&&e.currentChar<=126?Je[e.tokenValue]||208897:oe(e,u,0,n)}function xu(e,u){let n=je(e);return M2(n)||d(e,4),e.tokenValue=G(n),oe(e,u,1,L[n]&4)}function oe(e,u,n,i){let t=e.index;for(;e.index=2&&o<=11){let l=Je[e.tokenValue];return l===void 0?208897:n?l===209008?u&4196352?121:l:u&1024?l===36972||(l&36864)===36864?122:(l&20480)===20480?u&1073741824&&!(u&8192)?l:121:143483:u&1073741824&&!(u&8192)&&(l&20480)===20480?l:l===241773?u&1073741824?143483:u&2097152?121:l:l===209007?143483:(l&36864)===36864?l:121:l}return 208897}function pu(e){return x2(h(e))||d(e,94),131}function je(e){return e.source.charCodeAt(e.index+1)!==117&&d(e,4),e.currentChar=e.source.charCodeAt(e.index+=2),e1(e)}function e1(e){let u=0,n=e.currentChar;if(n===123){let l=e.index-2;for(;L[h(e)]&64;)u=u<<4|H(e.currentChar),u>1114111&&D2(l,e.line,e.index+1,102);return e.currentChar!==125&&D2(l,e.line,e.index-1,6),h(e),u}L[n]&64||d(e,6);let i=e.source.charCodeAt(e.index+1);L[i]&64||d(e,6);let t=e.source.charCodeAt(e.index+2);L[t]&64||d(e,6);let o=e.source.charCodeAt(e.index+3);return L[o]&64||d(e,6),u=H(n)<<12|H(i)<<8|H(t)<<4|H(o),e.currentChar=e.source.charCodeAt(e.index+=4),u}var Xe=[129,129,129,129,129,129,129,129,129,128,136,128,128,130,129,129,129,129,129,129,129,129,129,129,129,129,129,129,129,129,129,129,128,16842800,134283267,131,208897,8457015,8455751,134283267,67174411,16,8457014,25233970,18,25233971,67108877,8457016,134283266,134283266,134283266,134283266,134283266,134283266,134283266,134283266,134283266,134283266,21,1074790417,8456258,1077936157,8456259,22,133,208897,208897,208897,208897,208897,208897,208897,208897,208897,208897,208897,208897,208897,208897,208897,208897,208897,208897,208897,208897,208897,208897,208897,208897,208897,208897,69271571,137,20,8455497,208897,132,4096,4096,4096,4096,4096,4096,4096,208897,4096,208897,208897,4096,208897,4096,208897,4096,208897,4096,4096,4096,208897,4096,4096,208897,4096,4096,2162700,8455240,1074790415,16842801,129];function b(e,u){if(e.flags=(e.flags|1)^1,e.startPos=e.index,e.startColumn=e.column,e.startLine=e.line,e.token=ze(e,u,0),e.onToken&&e.token!==1048576){let n={start:{line:e.linePos,column:e.colPos},end:{line:e.line,column:e.column}};e.onToken(Ku(e.token),e.tokenPos,e.index,n)}}function ze(e,u,n){let i=e.index===0,t=e.source,o=e.index,l=e.line,f=e.column;for(;e.index=e.end)return 8457014;let s=e.currentChar;return s===61?(h(e),4194340):s!==42?8457014:h(e)!==61?8457273:(h(e),4194337)}case 8455497:return h(e)!==61?8455497:(h(e),4194343);case 25233970:{h(e);let s=e.currentChar;return s===43?(h(e),33619995):s===61?(h(e),4194338):25233970}case 25233971:{h(e);let s=e.currentChar;if(s===45){if(h(e),(n&1||i)&&e.currentChar===62){u&256||d(e,109),h(e),n=ve(e,t,n,u,3,o,l,f),o=e.tokenPos,l=e.linePos,f=e.colPos;continue}return 33619996}return s===61?(h(e),4194339):25233971}case 8457016:{if(h(e),e.index=48&&m<=57)return Be(e,u,80);if(m===46){let s=e.index+1;if(s=48&&s<=57)))return h(e),67108991}return 22}}}else{if((c^8232)<=1){n=n&-5|1,c2(e);continue}if((c&64512)===55296||E2[(c>>>5)+34816]>>>c&31&1)return(c&64512)===56320&&(c=(c&1023)<<10|c&1023|65536,E2[(c>>>5)+0]>>>c&31&1||d(e,18,G(c)),e.index++,e.currentChar=c),e.column++,e.tokenValue="",oe(e,u,0,0);if(Hu(c)){h(e);continue}d(e,18,G(c))}}return 1048576}function u1(e,u){return e.startPos=e.tokenPos=e.index,e.startColumn=e.colPos=e.column,e.startLine=e.linePos=e.line,e.token=L[e.currentChar]&8192?n1(e,u):ze(e,u,0),e.token}function n1(e,u){let n=e.currentChar,i=h(e),t=e.index;for(;i!==n;)e.index>=e.end&&d(e,14),i=h(e);return i!==n&&d(e,14),e.tokenValue=e.source.slice(t,e.index),h(e),u&512&&(e.tokenRaw=e.source.slice(e.tokenPos,e.index)),134283267}function d2(e,u){if(e.startPos=e.tokenPos=e.index,e.startColumn=e.colPos=e.column,e.startLine=e.linePos=e.line,e.index>=e.end)return e.token=1048576;switch(Xe[e.source.charCodeAt(e.index)]){case 8456258:{h(e),e.currentChar===47?(h(e),e.token=25):e.token=8456258;break}case 2162700:{h(e),e.token=2162700;break}default:{let i=0;for(;e.index1&&t&32&&e.token&262144&&d(e,59,U[e.token&255]),l}function qe(e,u,n,i,t){let{token:o,tokenPos:l,linePos:f,colPos:c}=e,a=null,g=cu(e,u,n,i,t,l,f,c);return e.token===1077936157?(b(e,u|32768),a=R(e,u,1,0,0,e.tokenPos,e.linePos,e.colPos),(t&32||!(o&2097152))&&(e.token===274549||e.token===8738868&&(o&2097152||!(i&4)||u&1024))&&h2(l,e.line,e.index-3,58,e.token===274549?"of":"in")):(i&16||(o&2097152)>0)&&(e.token&262144)!==262144&&d(e,57,i&16?"const":"destructuring"),y(e,u,l,f,c,{type:"VariableDeclarator",id:g,init:a})}function q1(e,u,n,i,t,o,l){b(e,u);let f=((u&4194304)>0||(u&2048)>0&&(u&8192)>0)&&q(e,u,209008);P(e,u|32768,67174411),n&&(n=J(n,1));let c=null,a=null,g=0,m=null,s=e.token===86090||e.token===241739||e.token===86092,k,{token:C,tokenPos:A,linePos:E,colPos:w}=e;if(s?C===241739?(m=I(e,u,0),e.token&2240512?(e.token===8738868?u&1024&&d(e,65):m=y(e,u,A,E,w,{type:"VariableDeclaration",kind:"let",declarations:y2(e,u|134217728,n,8,32)}),e.assignable=1):u&1024?d(e,65):(s=!1,e.assignable=1,m=N(e,u,m,0,0,A,E,w),e.token===274549&&d(e,112))):(b(e,u),m=y(e,u,A,E,w,C===86090?{type:"VariableDeclaration",kind:"var",declarations:y2(e,u|134217728,n,4,32)}:{type:"VariableDeclaration",kind:"const",declarations:y2(e,u|134217728,n,16,32)}),e.assignable=1):C===1074790417?f&&d(e,80):(C&2097152)===2097152?(m=C===2162700?r(e,u,void 0,1,0,0,2,32,A,E,w):_(e,u,void 0,1,0,0,2,32,A,E,w),g=e.destructible,u&256&&g&64&&d(e,61),e.assignable=g&16?2:1,m=N(e,u|134217728,m,0,0,e.tokenPos,e.linePos,e.colPos)):m=W(e,u|134217728,1,0,1,A,E,w),(e.token&262144)===262144){if(e.token===274549){e.assignable&2&&d(e,78,f?"await":"of"),Z(e,m),b(e,u|32768),k=R(e,u,1,0,0,e.tokenPos,e.linePos,e.colPos),P(e,u|32768,16);let S=P2(e,u,n,i);return y(e,u,t,o,l,{type:"ForOfStatement",left:m,right:k,body:S,await:f})}e.assignable&2&&d(e,78,"in"),Z(e,m),b(e,u|32768),f&&d(e,80),k=j(e,u,0,1,e.tokenPos,e.linePos,e.colPos),P(e,u|32768,16);let M=P2(e,u,n,i);return y(e,u,t,o,l,{type:"ForInStatement",body:M,left:m,right:k})}f&&d(e,80),s||(g&8&&e.token!==1077936157&&d(e,78,"loop"),m=O(e,u|134217728,0,0,A,E,w,m)),e.token===18&&(m=u2(e,u,0,e.tokenPos,e.linePos,e.colPos,m)),P(e,u|32768,1074790417),e.token!==1074790417&&(c=j(e,u,0,1,e.tokenPos,e.linePos,e.colPos)),P(e,u|32768,1074790417),e.token!==16&&(a=j(e,u,0,1,e.tokenPos,e.linePos,e.colPos)),P(e,u|32768,16);let B=P2(e,u,n,i);return y(e,u,t,o,l,{type:"ForStatement",init:m,test:c,update:a,body:B})}function Qe(e,u,n){return fe(u,e.token)||d(e,115),(e.token&537079808)===537079808&&d(e,116),n&&t2(e,u,n,e.tokenValue,8,0),I(e,u,0)}function L1(e,u,n){let i=e.tokenPos,t=e.linePos,o=e.colPos;b(e,u);let l=null,{tokenPos:f,linePos:c,colPos:a}=e,g=[];if(e.token===134283267)l=X(e,u);else{if(e.token&143360){let m=Qe(e,u,n);if(g=[y(e,u,f,c,a,{type:"ImportDefaultSpecifier",local:m})],q(e,u,18))switch(e.token){case 8457014:g.push(Le(e,u,n));break;case 2162700:Ie(e,u,n,g);break;default:d(e,105)}}else switch(e.token){case 8457014:g=[Le(e,u,n)];break;case 2162700:Ie(e,u,n,g);break;case 67174411:return Ge(e,u,i,t,o);case 67108877:return Ze(e,u,i,t,o);default:d(e,28,U[e.token&255])}l=I1(e,u)}return z(e,u|32768),y(e,u,i,t,o,{type:"ImportDeclaration",specifiers:g,source:l})}function Le(e,u,n){let{tokenPos:i,linePos:t,colPos:o}=e;return b(e,u),P(e,u,77934),(e.token&134217728)===134217728&&h2(i,e.line,e.index,28,U[e.token&255]),y(e,u,i,t,o,{type:"ImportNamespaceSpecifier",local:Qe(e,u,n)})}function I1(e,u){return q(e,u,12404),e.token!==134283267&&d(e,103,"Import"),X(e,u)}function Ie(e,u,n,i){for(b(e,u);e.token&143360;){let{token:t,tokenValue:o,tokenPos:l,linePos:f,colPos:c}=e,a=I(e,u,0),g;q(e,u,77934)?((e.token&134217728)===134217728||e.token===18?d(e,104):J2(e,u,16,e.token,0),o=e.tokenValue,g=I(e,u,0)):(J2(e,u,16,t,0),g=a),n&&t2(e,u,n,o,8,0),i.push(y(e,u,l,f,c,{type:"ImportSpecifier",local:g,imported:a})),e.token!==1074790415&&P(e,u,18)}return P(e,u,1074790415),i}function Ze(e,u,n,i,t){let o=pe(e,u,y(e,u,n,i,t,{type:"Identifier",name:"import"}),n,i,t);return o=N(e,u,o,0,0,n,i,t),o=O(e,u,0,0,n,i,t,o),b2(e,u,o,n,i,t)}function Ge(e,u,n,i,t){let o=eu(e,u,0,n,i,t);return o=N(e,u,o,0,0,n,i,t),e.token===18&&(o=u2(e,u,0,n,i,t,o)),b2(e,u,o,n,i,t)}function N1(e,u,n){let i=e.tokenPos,t=e.linePos,o=e.colPos;b(e,u|32768);let l=[],f=null,c=null,a;if(q(e,u|32768,20563)){switch(e.token){case 86106:{f=i2(e,u,n,4,1,1,0,e.tokenPos,e.linePos,e.colPos);break}case 133:case 86096:f=ne(e,u,n,1,e.tokenPos,e.linePos,e.colPos);break;case 209007:let{tokenPos:g,linePos:m,colPos:s}=e;f=I(e,u,0);let{flags:k}=e;k&1||(e.token===86106?f=i2(e,u,n,4,1,1,1,g,m,s):e.token===67174411?(f=ke(e,u,f,1,1,0,k,g,m,s),f=N(e,u,f,0,0,g,m,s),f=O(e,u,0,0,g,m,s,f)):e.token&143360&&(n&&(n=K2(e,u,e.tokenValue)),f=I(e,u,0),f=B2(e,u,n,[f],1,g,m,s)));break;default:f=R(e,u,1,0,0,e.tokenPos,e.linePos,e.colPos),z(e,u|32768)}return n&&l2(e,"default"),y(e,u,i,t,o,{type:"ExportDefaultDeclaration",declaration:f})}switch(e.token){case 8457014:{b(e,u);let k=null;return q(e,u,77934)&&(n&&l2(e,e.tokenValue),k=I(e,u,0)),P(e,u,12404),e.token!==134283267&&d(e,103,"Export"),c=X(e,u),z(e,u|32768),y(e,u,i,t,o,{type:"ExportAllDeclaration",source:c,exported:k})}case 2162700:{b(e,u);let k=[],C=[];for(;e.token&143360;){let{tokenPos:A,tokenValue:E,linePos:w,colPos:B}=e,M=I(e,u,0),S;e.token===77934?(b(e,u),(e.token&134217728)===134217728&&d(e,104),n&&(k.push(e.tokenValue),C.push(E)),S=I(e,u,0)):(n&&(k.push(e.tokenValue),C.push(e.tokenValue)),S=M),l.push(y(e,u,A,w,B,{type:"ExportSpecifier",local:M,exported:S})),e.token!==1074790415&&P(e,u,18)}if(P(e,u,1074790415),q(e,u,12404))e.token!==134283267&&d(e,103,"Export"),c=X(e,u);else if(n){let A=0,E=k.length;for(;A0)&8738868,g,m;for(e.assignable=2;e.token&8454144&&(g=e.token,m=g&3840,(g&524288&&f&268435456||f&524288&&g&268435456)&&d(e,160),!(m+((g===8457273)<<8)-((a===g)<<12)<=l));)b(e,u|32768),c=y(e,u,i,t,o,{type:g&524288||g&268435456?"LogicalExpression":"BinaryExpression",left:c,right:n2(e,u,n,e.tokenPos,e.linePos,e.colPos,m,g,W(e,u,0,n,1,e.tokenPos,e.linePos,e.colPos)),operator:U[g&255]});return e.token===1077936157&&d(e,24),c}function V1(e,u,n,i,t,o,l){n||d(e,0);let f=e.token;b(e,u|32768);let c=W(e,u,0,l,1,e.tokenPos,e.linePos,e.colPos);return e.token===8457273&&d(e,31),u&1024&&f===16863278&&(c.type==="Identifier"?d(e,118):i1(c)&&d(e,124)),e.assignable=2,y(e,u,i,t,o,{type:"UnaryExpression",operator:U[f&255],argument:c,prefix:!0})}function R1(e,u,n,i,t,o,l,f,c,a){let{token:g}=e,m=I(e,u,o),{flags:s}=e;if(!(s&1)){if(e.token===86106)return nu(e,u,1,n,f,c,a);if((e.token&143360)===143360)return i||d(e,0),ou(e,u,t,f,c,a)}return!l&&e.token===67174411?ke(e,u,m,t,1,0,s,f,c,a):e.token===10?(ce(e,u,g,1),l&&d(e,49),W2(e,u,e.tokenValue,m,l,t,0,f,c,a)):m}function O1(e,u,n,i,t,o,l){if(n&&(e.destructible|=256),u&2097152){b(e,u|32768),u&8388608&&d(e,30),i||d(e,24),e.token===22&&d(e,121);let f=null,c=!1;return e.flags&1||(c=q(e,u|32768,8457014),(e.token&77824||c)&&(f=R(e,u,1,0,0,e.tokenPos,e.linePos,e.colPos))),e.assignable=2,y(e,u,t,o,l,{type:"YieldExpression",argument:f,delegate:c})}return u&1024&&d(e,95,"yield"),ye(e,u,t,o,l)}function U1(e,u,n,i,t,o,l){if(i&&(e.destructible|=128),u&4194304||u&2048&&u&8192){n&&d(e,0),u&8388608&&h2(e.index,e.line,e.index,29),b(e,u|32768);let f=W(e,u,0,0,1,e.tokenPos,e.linePos,e.colPos);return e.token===8457273&&d(e,31),e.assignable=2,y(e,u,t,o,l,{type:"AwaitExpression",argument:f})}return u&2048&&d(e,96),ye(e,u,t,o,l)}function $2(e,u,n,i,t,o){let{tokenPos:l,linePos:f,colPos:c}=e;P(e,u|32768,2162700);let a=[],g=u;if(e.token!==1074790415){for(;e.token===134283267;){let{index:m,tokenPos:s,tokenValue:k,token:C}=e,A=X(e,u);He(e,m,s,k)&&(u|=1024,e.flags&128&&h2(e.index,e.line,e.tokenPos,64),e.flags&64&&h2(e.index,e.line,e.tokenPos,8)),a.push(se(e,u,A,C,s,e.linePos,e.colPos))}u&1024&&(t&&((t&537079808)===537079808&&d(e,116),(t&36864)===36864&&d(e,38)),e.flags&512&&d(e,116),e.flags&256&&d(e,115)),u&64&&n&&o!==void 0&&!(g&1024)&&!(u&8192)&&H2(o)}for(e.flags=(e.flags|512|256|64)^832,e.destructible=(e.destructible|256)^256;e.token!==1074790415;)a.push(S2(e,u,n,4,{}));return P(e,i&24?u|32768:u,1074790415),e.flags&=-193,e.token===1077936157&&d(e,24),y(e,u,l,f,c,{type:"BlockStatement",body:a})}function M1(e,u,n,i,t){switch(b(e,u),e.token){case 67108991:d(e,162);case 67174411:{u&524288||d(e,26),u&16384&&d(e,27),e.assignable=2;break}case 69271571:case 67108877:{u&262144||d(e,27),u&16384&&d(e,27),e.assignable=1;break}default:d(e,28,"super")}return y(e,u,n,i,t,{type:"Super"})}function W(e,u,n,i,t,o,l,f){let c=K(e,u,2,0,n,0,i,t,o,l,f);return N(e,u,c,i,0,o,l,f)}function J1(e,u,n,i,t,o){e.assignable&2&&d(e,53);let{token:l}=e;return b(e,u),e.assignable=2,y(e,u,i,t,o,{type:"UpdateExpression",argument:n,operator:U[l&255],prefix:!1})}function N(e,u,n,i,t,o,l,f){if((e.token&33619968)===33619968&&!(e.flags&1))n=J1(e,u,n,o,l,f);else if((e.token&67108864)===67108864){switch(u=(u|134217728)^134217728,e.token){case 67108877:{b(e,(u|1073741824|8192)^8192),e.assignable=1;let c=xe(e,u);n=y(e,u,o,l,f,{type:"MemberExpression",object:n,computed:!1,property:c});break}case 69271571:{let c=!1;(e.flags&2048)===2048&&(c=!0,e.flags=(e.flags|2048)^2048),b(e,u|32768);let{tokenPos:a,linePos:g,colPos:m}=e,s=j(e,u,i,1,a,g,m);P(e,u,20),e.assignable=1,n=y(e,u,o,l,f,{type:"MemberExpression",object:n,computed:!0,property:s}),c&&(e.flags|=2048);break}case 67174411:{if((e.flags&1024)===1024)return e.flags=(e.flags|1024)^1024,n;let c=!1;(e.flags&2048)===2048&&(c=!0,e.flags=(e.flags|2048)^2048);let a=ge(e,u,i);e.assignable=2,n=y(e,u,o,l,f,{type:"CallExpression",callee:n,arguments:a}),c&&(e.flags|=2048);break}case 67108991:{b(e,(u|1073741824|8192)^8192),e.flags|=2048,e.assignable=2,n=j1(e,u,n,o,l,f);break}default:(e.flags&2048)===2048&&d(e,161),e.assignable=2,n=y(e,u,o,l,f,{type:"TaggedTemplateExpression",tag:n,quasi:e.token===67174408?me(e,u|65536):ae(e,u,e.tokenPos,e.linePos,e.colPos)})}n=N(e,u,n,0,1,o,l,f)}return t===0&&(e.flags&2048)===2048&&(e.flags=(e.flags|2048)^2048,n=y(e,u,o,l,f,{type:"ChainExpression",expression:n})),n}function j1(e,u,n,i,t,o){let l=!1,f;if((e.token===69271571||e.token===67174411)&&(e.flags&2048)===2048&&(l=!0,e.flags=(e.flags|2048)^2048),e.token===69271571){b(e,u|32768);let{tokenPos:c,linePos:a,colPos:g}=e,m=j(e,u,0,1,c,a,g);P(e,u,20),e.assignable=2,f=y(e,u,i,t,o,{type:"MemberExpression",object:n,computed:!0,optional:!0,property:m})}else if(e.token===67174411){let c=ge(e,u,0);e.assignable=2,f=y(e,u,i,t,o,{type:"CallExpression",callee:n,arguments:c,optional:!0})}else{e.token&143360||d(e,155);let c=I(e,u,0);e.assignable=2,f=y(e,u,i,t,o,{type:"MemberExpression",object:n,computed:!1,optional:!0,property:c})}return l&&(e.flags|=2048),f}function xe(e,u){return!(e.token&143360)&&e.token!==131&&d(e,155),u&1&&e.token===131?z2(e,u,e.tokenPos,e.linePos,e.colPos):I(e,u,0)}function X1(e,u,n,i,t,o,l){n&&d(e,54),i||d(e,0);let{token:f}=e;b(e,u|32768);let c=W(e,u,0,0,1,e.tokenPos,e.linePos,e.colPos);return e.assignable&2&&d(e,53),e.assignable=2,y(e,u,t,o,l,{type:"UpdateExpression",argument:c,operator:U[f&255],prefix:!0})}function K(e,u,n,i,t,o,l,f,c,a,g){if((e.token&143360)===143360){switch(e.token){case 209008:return U1(e,u,i,l,c,a,g);case 241773:return O1(e,u,l,t,c,a,g);case 209007:return R1(e,u,l,f,t,o,i,c,a,g)}let{token:m,tokenValue:s}=e,k=I(e,u|65536,o);return e.token===10?(f||d(e,0),ce(e,u,m,1),W2(e,u,s,k,i,t,0,c,a,g)):(u&16384&&m===537079928&&d(e,127),m===241739&&(u&1024&&d(e,110),n&24&&d(e,98)),e.assignable=u&1024&&(m&537079808)===537079808?2:1,k)}if((e.token&134217728)===134217728)return X(e,u);switch(e.token){case 33619995:case 33619996:return X1(e,u,i,f,c,a,g);case 16863278:case 16842800:case 16842801:case 25233970:case 25233971:case 16863277:case 16863279:return V1(e,u,f,c,a,g,l);case 86106:return nu(e,u,0,l,c,a,g);case 2162700:return _1(e,u,t?0:1,l,c,a,g);case 69271571:return W1(e,u,t?0:1,l,c,a,g);case 67174411:return Y1(e,u,t,1,0,c,a,g);case 86021:case 86022:case 86023:return K1(e,u,c,a,g);case 86113:return $1(e,u);case 65540:return G1(e,u,c,a,g);case 133:case 86096:return x1(e,u,l,c,a,g);case 86111:return M1(e,u,c,a,g);case 67174409:return ae(e,u,c,a,g);case 67174408:return me(e,u);case 86109:return Q1(e,u,l,c,a,g);case 134283389:return uu(e,u,c,a,g);case 131:return z2(e,u,c,a,g);case 86108:return z1(e,u,i,l,c,a,g);case 8456258:if(u&16)return De(e,u,1,c,a,g);default:if(fe(u,e.token))return ye(e,u,c,a,g);d(e,28,U[e.token&255])}}function z1(e,u,n,i,t,o,l){let f=I(e,u,0);return e.token===67108877?pe(e,u,f,t,o,l):(n&&d(e,138),f=eu(e,u,i,t,o,l),e.assignable=2,N(e,u,f,i,0,t,o,l))}function pe(e,u,n,i,t,o){return u&2048||d(e,164),b(e,u),e.token!==143495&&e.tokenValue!=="meta"&&d(e,28,U[e.token&255]),e.assignable=2,y(e,u,i,t,o,{type:"MetaProperty",meta:n,property:I(e,u,0)})}function eu(e,u,n,i,t,o){P(e,u|32768,67174411),e.token===14&&d(e,139);let l=R(e,u,1,0,n,e.tokenPos,e.linePos,e.colPos);return P(e,u,16),y(e,u,i,t,o,{type:"ImportExpression",source:l})}function uu(e,u,n,i,t){let{tokenRaw:o,tokenValue:l}=e;return b(e,u),e.assignable=2,y(e,u,n,i,t,u&512?{type:"Literal",value:l,bigint:o.slice(0,-1),raw:o}:{type:"Literal",value:l,bigint:o.slice(0,-1)})}function ae(e,u,n,i,t){e.assignable=2;let{tokenValue:o,tokenRaw:l,tokenPos:f,linePos:c,colPos:a}=e;P(e,u,67174409);let g=[O2(e,u,o,l,f,c,a,!0)];return y(e,u,n,i,t,{type:"TemplateLiteral",expressions:[],quasis:g})}function me(e,u){u=(u|134217728)^134217728;let{tokenValue:n,tokenRaw:i,tokenPos:t,linePos:o,colPos:l}=e;P(e,u|32768,67174408);let f=[O2(e,u,n,i,t,o,l,!1)],c=[j(e,u,0,1,e.tokenPos,e.linePos,e.colPos)];for(e.token!==1074790415&&d(e,81);(e.token=Gu(e,u))!==67174409;){let{tokenValue:a,tokenRaw:g,tokenPos:m,linePos:s,colPos:k}=e;P(e,u|32768,67174408),f.push(O2(e,u,a,g,m,s,k,!1)),c.push(j(e,u,0,1,e.tokenPos,e.linePos,e.colPos)),e.token!==1074790415&&d(e,81)}{let{tokenValue:a,tokenRaw:g,tokenPos:m,linePos:s,colPos:k}=e;P(e,u,67174409),f.push(O2(e,u,a,g,m,s,k,!0))}return y(e,u,t,o,l,{type:"TemplateLiteral",expressions:c,quasis:f})}function O2(e,u,n,i,t,o,l,f){let c=y(e,u,t,o,l,{type:"TemplateElement",value:{cooked:n,raw:i},tail:f}),a=f?1:2;return u&2&&(c.start+=1,c.range[0]+=1,c.end-=a,c.range[1]-=a),u&4&&(c.loc.start.column+=1,c.loc.end.column-=a),c}function H1(e,u,n,i,t){u=(u|134217728)^134217728,P(e,u|32768,14);let o=R(e,u,1,0,0,e.tokenPos,e.linePos,e.colPos);return e.assignable=1,y(e,u,n,i,t,{type:"SpreadElement",argument:o})}function ge(e,u,n){b(e,u|32768);let i=[];if(e.token===16)return b(e,u),i;for(;e.token!==16&&(e.token===14?i.push(H1(e,u,e.tokenPos,e.linePos,e.colPos)):i.push(R(e,u,1,0,n,e.tokenPos,e.linePos,e.colPos)),!(e.token!==18||(b(e,u|32768),e.token===16))););return P(e,u,16),i}function I(e,u,n){let{tokenValue:i,tokenPos:t,linePos:o,colPos:l}=e;return b(e,u),y(e,u,t,o,l,u&268435456?{type:"Identifier",name:i,pattern:n===1}:{type:"Identifier",name:i})}function X(e,u){let{tokenValue:n,tokenRaw:i,tokenPos:t,linePos:o,colPos:l}=e;return e.token===134283389?uu(e,u,t,o,l):(b(e,u),e.assignable=2,y(e,u,t,o,l,u&512?{type:"Literal",value:n,raw:i}:{type:"Literal",value:n}))}function K1(e,u,n,i,t){let o=U[e.token&255],l=e.token===86023?null:o==="true";return b(e,u),e.assignable=2,y(e,u,n,i,t,u&512?{type:"Literal",value:l,raw:o}:{type:"Literal",value:l})}function $1(e,u){let{tokenPos:n,linePos:i,colPos:t}=e;return b(e,u),e.assignable=2,y(e,u,n,i,t,{type:"ThisExpression"})}function i2(e,u,n,i,t,o,l,f,c,a){b(e,u|32768);let g=t?le(e,u,8457014):0,m=null,s,k=n?s2():void 0;if(e.token===67174411)o&1||d(e,37,"Function");else{let E=i&4&&(!(u&8192)||!(u&2048))?4:64;Ke(e,u|(u&3072)<<11,e.token),n&&(E&4?_e(e,u,n,e.tokenValue,E):t2(e,u,n,e.tokenValue,E,i),k=J(k,256),o&&o&2&&l2(e,e.tokenValue)),s=e.token,e.token&143360?m=I(e,u,0):d(e,28,U[e.token&255])}u=(u|32243712)^32243712|67108864|l*2+g<<21|(g?0:1073741824),n&&(k=J(k,512));let C=tu(e,u|8388608,k,0,1),A=$2(e,(u|8192|4096|131072)^143360,n?J(k,128):k,8,s,n?k.scopeError:void 0);return y(e,u,f,c,a,{type:"FunctionDeclaration",id:m,params:C,body:A,async:l===1,generator:g===1})}function nu(e,u,n,i,t,o,l){b(e,u|32768);let f=le(e,u,8457014),c=n*2+f<<21,a=null,g,m=u&64?s2():void 0;(e.token&176128)>0&&(Ke(e,(u|32243712)^32243712|c,e.token),m&&(m=J(m,256)),g=e.token,a=I(e,u,0)),u=(u|32243712)^32243712|67108864|c|(f?0:1073741824),m&&(m=J(m,512));let s=tu(e,u|8388608,m,i,1),k=$2(e,u&-134377473,m&&J(m,128),0,g,void 0);return e.assignable=2,y(e,u,t,o,l,{type:"FunctionExpression",id:a,params:s,body:k,async:n===1,generator:f===1})}function W1(e,u,n,i,t,o,l){let f=_(e,u,void 0,n,i,0,2,0,t,o,l);return u&256&&e.destructible&64&&d(e,61),e.destructible&8&&d(e,60),f}function _(e,u,n,i,t,o,l,f,c,a,g){b(e,u|32768);let m=[],s=0;for(u=(u|134217728)^134217728;e.token!==20;)if(q(e,u|32768,18))m.push(null);else{let C,{token:A,tokenPos:E,linePos:w,colPos:B,tokenValue:M}=e;if(A&143360)if(C=K(e,u,l,0,1,0,t,1,E,w,B),e.token===1077936157){e.assignable&2&&d(e,24),b(e,u|32768),n&&e2(e,u,n,M,l,f);let S=R(e,u,1,1,t,e.tokenPos,e.linePos,e.colPos);C=y(e,u,E,w,B,o?{type:"AssignmentPattern",left:C,right:S}:{type:"AssignmentExpression",operator:"=",left:C,right:S}),s|=e.destructible&256?256:0|e.destructible&128?128:0}else e.token===18||e.token===20?(e.assignable&2?s|=16:n&&e2(e,u,n,M,l,f),s|=e.destructible&256?256:0|e.destructible&128?128:0):(s|=l&1?32:l&2?0:16,C=N(e,u,C,t,0,E,w,B),e.token!==18&&e.token!==20?(e.token!==1077936157&&(s|=16),C=O(e,u,t,o,E,w,B,C)):e.token!==1077936157&&(s|=e.assignable&2?16:32));else A&2097152?(C=e.token===2162700?r(e,u,n,0,t,o,l,f,E,w,B):_(e,u,n,0,t,o,l,f,E,w,B),s|=e.destructible,e.assignable=e.destructible&16?2:1,e.token===18||e.token===20?e.assignable&2&&(s|=16):e.destructible&8?d(e,69):(C=N(e,u,C,t,0,E,w,B),s=e.assignable&2?16:0,e.token!==18&&e.token!==20?C=O(e,u,t,o,E,w,B,C):e.token!==1077936157&&(s|=e.assignable&2?16:32))):A===14?(C=A2(e,u,n,20,l,f,0,t,o,E,w,B),s|=e.destructible,e.token!==18&&e.token!==20&&d(e,28,U[e.token&255])):(C=W(e,u,1,0,1,E,w,B),e.token!==18&&e.token!==20?(C=O(e,u,t,o,E,w,B,C),!(l&3)&&A===67174411&&(s|=16)):e.assignable&2?s|=16:A===67174411&&(s|=e.assignable&1&&l&3?32:16));if(m.push(C),q(e,u|32768,18)){if(e.token===20)break}else break}P(e,u,20);let k=y(e,u,c,a,g,{type:o?"ArrayPattern":"ArrayExpression",elements:m});return!i&&e.token&4194304?iu(e,u,s,t,o,c,a,g,k):(e.destructible=s,k)}function iu(e,u,n,i,t,o,l,f,c){e.token!==1077936157&&d(e,24),b(e,u|32768),n&16&&d(e,24),t||Z(e,c);let{tokenPos:a,linePos:g,colPos:m}=e,s=R(e,u,1,1,i,a,g,m);return e.destructible=(n|64|8)^72|(e.destructible&128?128:0)|(e.destructible&256?256:0),y(e,u,o,l,f,t?{type:"AssignmentPattern",left:c,right:s}:{type:"AssignmentExpression",left:c,operator:"=",right:s})}function A2(e,u,n,i,t,o,l,f,c,a,g,m){b(e,u|32768);let s=null,k=0,{token:C,tokenValue:A,tokenPos:E,linePos:w,colPos:B}=e;if(C&143360)e.assignable=1,s=K(e,u,t,0,1,0,f,1,E,w,B),C=e.token,s=N(e,u,s,f,0,E,w,B),e.token!==18&&e.token!==i&&(e.assignable&2&&e.token===1077936157&&d(e,69),k|=16,s=O(e,u,f,c,E,w,B,s)),e.assignable&2?k|=16:C===i||C===18?n&&e2(e,u,n,A,t,o):k|=32,k|=e.destructible&128?128:0;else if(C===i)d(e,39);else if(C&2097152)s=e.token===2162700?r(e,u,n,1,f,c,t,o,E,w,B):_(e,u,n,1,f,c,t,o,E,w,B),C=e.token,C!==1077936157&&C!==i&&C!==18?(e.destructible&8&&d(e,69),s=N(e,u,s,f,0,E,w,B),k|=e.assignable&2?16:0,(e.token&4194304)===4194304?(e.token!==1077936157&&(k|=16),s=O(e,u,f,c,E,w,B,s)):((e.token&8454144)===8454144&&(s=n2(e,u,1,E,w,B,4,C,s)),q(e,u|32768,22)&&(s=f2(e,u,s,E,w,B)),k|=e.assignable&2?16:32)):k|=i===1074790415&&C!==1077936157?16:e.destructible;else{k|=32,s=W(e,u,1,f,1,e.tokenPos,e.linePos,e.colPos);let{token:M,tokenPos:S,linePos:V,colPos:D}=e;return M===1077936157&&M!==i&&M!==18?(e.assignable&2&&d(e,24),s=O(e,u,f,c,S,V,D,s),k|=16):(M===18?k|=16:M!==i&&(s=O(e,u,f,c,S,V,D,s)),k|=e.assignable&1?32:16),e.destructible=k,e.token!==i&&e.token!==18&&d(e,156),y(e,u,a,g,m,{type:c?"RestElement":"SpreadElement",argument:s})}if(e.token!==i)if(t&1&&(k|=l?16:32),q(e,u|32768,1077936157)){k&16&&d(e,24),Z(e,s);let M=R(e,u,1,1,f,e.tokenPos,e.linePos,e.colPos);s=y(e,u,E,w,B,c?{type:"AssignmentPattern",left:s,right:M}:{type:"AssignmentExpression",left:s,operator:"=",right:M}),k=16}else k|=16;return e.destructible=k,y(e,u,a,g,m,{type:c?"RestElement":"SpreadElement",argument:s})}function Q(e,u,n,i,t,o,l){let f=n&64?14680064:31981568;u=(u|f)^f|(n&88)<<18|100925440;let c=u&64?J(s2(),512):void 0,a=r1(e,u|8388608,c,n,1,i);c&&(c=J(c,128));let g=$2(e,u&-134230017,c,0,void 0,void 0);return y(e,u,t,o,l,{type:"FunctionExpression",params:a,body:g,async:(n&16)>0,generator:(n&8)>0,id:null})}function _1(e,u,n,i,t,o,l){let f=r(e,u,void 0,n,i,0,2,0,t,o,l);return u&256&&e.destructible&64&&d(e,61),e.destructible&8&&d(e,60),f}function r(e,u,n,i,t,o,l,f,c,a,g){b(e,u);let m=[],s=0,k=0;for(u=(u|134217728)^134217728;e.token!==1074790415;){let{token:A,tokenValue:E,linePos:w,colPos:B,tokenPos:M}=e;if(A===14)m.push(A2(e,u,n,1074790415,l,f,0,t,o,M,w,B));else{let S=0,V=null,D,Y=e.token;if(e.token&143360||e.token===121)if(V=I(e,u,0),e.token===18||e.token===1074790415||e.token===1077936157)if(S|=4,u&1024&&(A&537079808)===537079808?s|=16:J2(e,u,l,A,0),n&&e2(e,u,n,E,l,f),q(e,u|32768,1077936157)){s|=8;let v=R(e,u,1,1,t,e.tokenPos,e.linePos,e.colPos);s|=e.destructible&256?256:0|e.destructible&128?128:0,D=y(e,u,M,w,B,{type:"AssignmentPattern",left:u&-2147483648?Object.assign({},V):V,right:v})}else s|=(A===209008?128:0)|(A===121?16:0),D=u&-2147483648?Object.assign({},V):V;else if(q(e,u|32768,21)){let{tokenPos:v,linePos:F,colPos:T}=e;if(E==="__proto__"&&k++,e.token&143360){let o2=e.token,m2=e.tokenValue;s|=Y===121?16:0,D=K(e,u,l,0,1,0,t,1,v,F,T);let{token:x}=e;D=N(e,u,D,t,0,v,F,T),e.token===18||e.token===1074790415?x===1077936157||x===1074790415||x===18?(s|=e.destructible&128?128:0,e.assignable&2?s|=16:n&&(o2&143360)===143360&&e2(e,u,n,m2,l,f)):s|=e.assignable&1?32:16:(e.token&4194304)===4194304?(e.assignable&2?s|=16:x!==1077936157?s|=32:n&&e2(e,u,n,m2,l,f),D=O(e,u,t,o,v,F,T,D)):(s|=16,(e.token&8454144)===8454144&&(D=n2(e,u,1,v,F,T,4,x,D)),q(e,u|32768,22)&&(D=f2(e,u,D,v,F,T)))}else(e.token&2097152)===2097152?(D=e.token===69271571?_(e,u,n,0,t,o,l,f,v,F,T):r(e,u,n,0,t,o,l,f,v,F,T),s=e.destructible,e.assignable=s&16?2:1,e.token===18||e.token===1074790415?e.assignable&2&&(s|=16):e.destructible&8?d(e,69):(D=N(e,u,D,t,0,v,F,T),s=e.assignable&2?16:0,(e.token&4194304)===4194304?D=V2(e,u,t,o,v,F,T,D):((e.token&8454144)===8454144&&(D=n2(e,u,1,v,F,T,4,A,D)),q(e,u|32768,22)&&(D=f2(e,u,D,v,F,T)),s|=e.assignable&2?16:32))):(D=W(e,u,1,t,1,v,F,T),s|=e.assignable&1?32:16,e.token===18||e.token===1074790415?e.assignable&2&&(s|=16):(D=N(e,u,D,t,0,v,F,T),s=e.assignable&2?16:0,e.token!==18&&A!==1074790415&&(e.token!==1077936157&&(s|=16),D=O(e,u,t,o,v,F,T,D))))}else e.token===69271571?(s|=16,A===209007&&(S|=16),S|=(A===12402?256:A===12403?512:1)|2,V=g2(e,u,t),s|=e.assignable,D=Q(e,u,S,t,e.tokenPos,e.linePos,e.colPos)):e.token&143360?(s|=16,A===121&&d(e,93),A===209007&&(e.flags&1&&d(e,129),S|=16),V=I(e,u,0),S|=A===12402?256:A===12403?512:1,D=Q(e,u,S,t,e.tokenPos,e.linePos,e.colPos)):e.token===67174411?(s|=16,S|=1,D=Q(e,u,S,t,e.tokenPos,e.linePos,e.colPos)):e.token===8457014?(s|=16,A===12402?d(e,40):A===12403?d(e,41):A===143483&&d(e,93),b(e,u),S|=9|(A===209007?16:0),e.token&143360?V=I(e,u,0):(e.token&134217728)===134217728?V=X(e,u):e.token===69271571?(S|=2,V=g2(e,u,t),s|=e.assignable):d(e,28,U[e.token&255]),D=Q(e,u,S,t,e.tokenPos,e.linePos,e.colPos)):(e.token&134217728)===134217728?(A===209007&&(S|=16),S|=A===12402?256:A===12403?512:1,s|=16,V=X(e,u),D=Q(e,u,S,t,e.tokenPos,e.linePos,e.colPos)):d(e,130);else if((e.token&134217728)===134217728)if(V=X(e,u),e.token===21){P(e,u|32768,21);let{tokenPos:v,linePos:F,colPos:T}=e;if(E==="__proto__"&&k++,e.token&143360){D=K(e,u,l,0,1,0,t,1,v,F,T);let{token:o2,tokenValue:m2}=e;D=N(e,u,D,t,0,v,F,T),e.token===18||e.token===1074790415?o2===1077936157||o2===1074790415||o2===18?e.assignable&2?s|=16:n&&e2(e,u,n,m2,l,f):s|=e.assignable&1?32:16:e.token===1077936157?(e.assignable&2&&(s|=16),D=O(e,u,t,o,v,F,T,D)):(s|=16,D=O(e,u,t,o,v,F,T,D))}else(e.token&2097152)===2097152?(D=e.token===69271571?_(e,u,n,0,t,o,l,f,v,F,T):r(e,u,n,0,t,o,l,f,v,F,T),s=e.destructible,e.assignable=s&16?2:1,e.token===18||e.token===1074790415?e.assignable&2&&(s|=16):(e.destructible&8)!==8&&(D=N(e,u,D,t,0,v,F,T),s=e.assignable&2?16:0,(e.token&4194304)===4194304?D=V2(e,u,t,o,v,F,T,D):((e.token&8454144)===8454144&&(D=n2(e,u,1,v,F,T,4,A,D)),q(e,u|32768,22)&&(D=f2(e,u,D,v,F,T)),s|=e.assignable&2?16:32))):(D=W(e,u,1,0,1,v,F,T),s|=e.assignable&1?32:16,e.token===18||e.token===1074790415?e.assignable&2&&(s|=16):(D=N(e,u,D,t,0,v,F,T),s=e.assignable&1?0:16,e.token!==18&&e.token!==1074790415&&(e.token!==1077936157&&(s|=16),D=O(e,u,t,o,v,F,T,D))))}else e.token===67174411?(S|=1,D=Q(e,u,S,t,e.tokenPos,e.linePos,e.colPos),s=e.assignable|16):d(e,131);else if(e.token===69271571)if(V=g2(e,u,t),s|=e.destructible&256?256:0,S|=2,e.token===21){b(e,u|32768);let{tokenPos:v,linePos:F,colPos:T,tokenValue:o2,token:m2}=e;if(e.token&143360){D=K(e,u,l,0,1,0,t,1,v,F,T);let{token:x}=e;D=N(e,u,D,t,0,v,F,T),(e.token&4194304)===4194304?(s|=e.assignable&2?16:x===1077936157?0:32,D=V2(e,u,t,o,v,F,T,D)):e.token===18||e.token===1074790415?x===1077936157||x===1074790415||x===18?e.assignable&2?s|=16:n&&(m2&143360)===143360&&e2(e,u,n,o2,l,f):s|=e.assignable&1?32:16:(s|=16,D=O(e,u,t,o,v,F,T,D))}else(e.token&2097152)===2097152?(D=e.token===69271571?_(e,u,n,0,t,o,l,f,v,F,T):r(e,u,n,0,t,o,l,f,v,F,T),s=e.destructible,e.assignable=s&16?2:1,e.token===18||e.token===1074790415?e.assignable&2&&(s|=16):s&8?d(e,60):(D=N(e,u,D,t,0,v,F,T),s=e.assignable&2?s|16:0,(e.token&4194304)===4194304?(e.token!==1077936157&&(s|=16),D=V2(e,u,t,o,v,F,T,D)):((e.token&8454144)===8454144&&(D=n2(e,u,1,v,F,T,4,A,D)),q(e,u|32768,22)&&(D=f2(e,u,D,v,F,T)),s|=e.assignable&2?16:32))):(D=W(e,u,1,0,1,v,F,T),s|=e.assignable&1?32:16,e.token===18||e.token===1074790415?e.assignable&2&&(s|=16):(D=N(e,u,D,t,0,v,F,T),s=e.assignable&1?0:16,e.token!==18&&e.token!==1074790415&&(e.token!==1077936157&&(s|=16),D=O(e,u,t,o,v,F,T,D))))}else e.token===67174411?(S|=1,D=Q(e,u,S,t,e.tokenPos,w,B),s=16):d(e,42);else if(A===8457014)if(P(e,u|32768,8457014),S|=8,e.token&143360){let{token:v,line:F,index:T}=e;V=I(e,u,0),S|=1,e.token===67174411?(s|=16,D=Q(e,u,S,t,e.tokenPos,e.linePos,e.colPos)):h2(T,F,T,v===209007?44:v===12402||e.token===12403?43:45,U[v&255])}else(e.token&134217728)===134217728?(s|=16,V=X(e,u),S|=1,D=Q(e,u,S,t,M,w,B)):e.token===69271571?(s|=16,S|=3,V=g2(e,u,t),D=Q(e,u,S,t,e.tokenPos,e.linePos,e.colPos)):d(e,123);else d(e,28,U[A&255]);s|=e.destructible&128?128:0,e.destructible=s,m.push(y(e,u,M,w,B,{type:"Property",key:V,value:D,kind:S&768?S&512?"set":"get":"init",computed:(S&2)>0,method:(S&1)>0,shorthand:(S&4)>0}))}if(s|=e.destructible,e.token!==18)break;b(e,u)}P(e,u,1074790415),k>1&&(s|=64);let C=y(e,u,c,a,g,{type:o?"ObjectPattern":"ObjectExpression",properties:m});return!i&&e.token&4194304?iu(e,u,s,t,o,c,a,g,C):(e.destructible=s,C)}function r1(e,u,n,i,t,o){P(e,u,67174411);let l=[];if(e.flags=(e.flags|128)^128,e.token===16)return i&512&&d(e,35,"Setter","one",""),b(e,u),l;i&256&&d(e,35,"Getter","no","s"),i&512&&e.token===14&&d(e,36),u=(u|134217728)^134217728;let f=0,c=0;for(;e.token!==18;){let a=null,{tokenPos:g,linePos:m,colPos:s}=e;if(e.token&143360?(u&1024||((e.token&36864)===36864&&(e.flags|=256),(e.token&537079808)===537079808&&(e.flags|=512)),a=he(e,u,n,i|1,0,g,m,s)):(e.token===2162700?a=r(e,u,n,1,o,1,t,0,g,m,s):e.token===69271571?a=_(e,u,n,1,o,1,t,0,g,m,s):e.token===14&&(a=A2(e,u,n,16,t,0,0,o,1,g,m,s)),c=1,e.destructible&48&&d(e,48)),e.token===1077936157){b(e,u|32768),c=1;let k=R(e,u,1,1,0,e.tokenPos,e.linePos,e.colPos);a=y(e,u,g,m,s,{type:"AssignmentPattern",left:a,right:k})}if(f++,l.push(a),!q(e,u,18)||e.token===16)break}return i&512&&f!==1&&d(e,35,"Setter","one",""),n&&n.scopeError!==void 0&&H2(n.scopeError),c&&(e.flags|=128),P(e,u,16),l}function g2(e,u,n){b(e,u|32768);let i=R(e,(u|134217728)^134217728,1,0,n,e.tokenPos,e.linePos,e.colPos);return P(e,u,20),i}function Y1(e,u,n,i,t,o,l,f){e.flags=(e.flags|128)^128;let{tokenPos:c,linePos:a,colPos:g}=e;b(e,u|32768|1073741824);let m=u&64?J(s2(),1024):void 0;if(u=(u|134217728)^134217728,q(e,u,16))return X2(e,u,m,[],n,0,o,l,f);let s=0;e.destructible&=-385;let k,C=[],A=0,E=0,{tokenPos:w,linePos:B,colPos:M}=e;for(e.assignable=1;e.token!==16;){let{token:S,tokenPos:V,linePos:D,colPos:Y}=e;if(S&143360)m&&t2(e,u,m,e.tokenValue,1,0),k=K(e,u,i,0,1,0,1,1,V,D,Y),e.token===16||e.token===18?e.assignable&2?(s|=16,E=1):((S&537079808)===537079808||(S&36864)===36864)&&(E=1):(e.token===1077936157?E=1:s|=16,k=N(e,u,k,1,0,V,D,Y),e.token!==16&&e.token!==18&&(k=O(e,u,1,0,V,D,Y,k)));else if((S&2097152)===2097152)k=S===2162700?r(e,u|1073741824,m,0,1,0,i,t,V,D,Y):_(e,u|1073741824,m,0,1,0,i,t,V,D,Y),s|=e.destructible,E=1,e.assignable=2,e.token!==16&&e.token!==18&&(s&8&&d(e,119),k=N(e,u,k,0,0,V,D,Y),s|=16,e.token!==16&&e.token!==18&&(k=O(e,u,0,0,V,D,Y,k)));else if(S===14){k=A2(e,u,m,16,i,t,0,1,0,V,D,Y),e.destructible&16&&d(e,72),E=1,A&&(e.token===16||e.token===18)&&C.push(k),s|=8;break}else{if(s|=16,k=R(e,u,1,0,1,V,D,Y),A&&(e.token===16||e.token===18)&&C.push(k),e.token===18&&(A||(A=1,C=[k])),A){for(;q(e,u|32768,18);)C.push(R(e,u,1,0,1,e.tokenPos,e.linePos,e.colPos));e.assignable=2,k=y(e,u,w,B,M,{type:"SequenceExpression",expressions:C})}return P(e,u,16),e.destructible=s,k}if(A&&(e.token===16||e.token===18)&&C.push(k),!q(e,u|32768,18))break;if(A||(A=1,C=[k]),e.token===16){s|=8;break}}return A&&(e.assignable=2,k=y(e,u,w,B,M,{type:"SequenceExpression",expressions:C})),P(e,u,16),s&16&&s&8&&d(e,146),s|=e.destructible&256?256:0|e.destructible&128?128:0,e.token===10?(s&48&&d(e,47),u&4196352&&s&128&&d(e,29),u&2098176&&s&256&&d(e,30),E&&(e.flags|=128),X2(e,u,m,A?C:[k],n,0,o,l,f)):(s&8&&d(e,140),e.destructible=(e.destructible|256)^256|s,u&128?y(e,u,c,a,g,{type:"ParenthesizedExpression",expression:k}):k)}function ye(e,u,n,i,t){let{tokenValue:o}=e,l=I(e,u,0);if(e.assignable=1,e.token===10){let f;return u&64&&(f=K2(e,u,o)),e.flags=(e.flags|128)^128,B2(e,u,f,[l],0,n,i,t)}return l}function W2(e,u,n,i,t,o,l,f,c,a){o||d(e,55),t&&d(e,49),e.flags&=-129;let g=u&64?K2(e,u,n):void 0;return B2(e,u,g,[i],l,f,c,a)}function X2(e,u,n,i,t,o,l,f,c){t||d(e,55);for(let a=0;a0&&e.tokenValue==="constructor"&&d(e,107),e.token===1074790415&&d(e,106),q(e,u,1074790417)){k>0&&d(e,117);continue}m.push(fu(e,u,i,n,t,s,0,l,e.tokenPos,e.linePos,e.colPos))}return P(e,o&8?u|32768:u,1074790415),e.flags=e.flags&-33|g,y(e,u,f,c,a,{type:"ClassBody",body:m})}function fu(e,u,n,i,t,o,l,f,c,a,g){let m=l?32:0,s=null,{token:k,tokenPos:C,linePos:A,colPos:E}=e;if(k&176128)switch(s=I(e,u,0),k){case 36972:if(!l&&e.token!==67174411&&(e.token&1048576)!==1048576&&e.token!==1077936157)return fu(e,u,n,i,t,o,1,f,c,a,g);break;case 209007:if(e.token!==67174411&&!(e.flags&1)){if(u&1&&(e.token&1073741824)===1073741824)return R2(e,u,s,m,o,C,A,E);m|=16|(le(e,u,8457014)?8:0)}break;case 12402:if(e.token!==67174411){if(u&1&&(e.token&1073741824)===1073741824)return R2(e,u,s,m,o,C,A,E);m|=256}break;case 12403:if(e.token!==67174411){if(u&1&&(e.token&1073741824)===1073741824)return R2(e,u,s,m,o,C,A,E);m|=512}break}else if(k===69271571)m|=2,s=g2(e,i,f);else if((k&134217728)===134217728)s=X(e,u);else if(k===8457014)m|=8,b(e,u);else if(u&1&&e.token===131)m|=4096,s=z2(e,u|16384,C,A,E);else if(u&1&&(e.token&1073741824)===1073741824)m|=128;else{if(l&&k===2162700)return B1(e,u,n,C,A,E);k===122?(s=I(e,u,0),e.token!==67174411&&d(e,28,U[e.token&255])):d(e,28,U[e.token&255])}if(m&792&&(e.token&143360?s=I(e,u,0):(e.token&134217728)===134217728?s=X(e,u):e.token===69271571?(m|=2,s=g2(e,u,0)):e.token===122?s=I(e,u,0):u&1&&e.token===131?(m|=4096,s=z2(e,u,C,A,E)):d(e,132)),m&2||(e.tokenValue==="constructor"?((e.token&1073741824)===1073741824?d(e,126):!(m&32)&&e.token===67174411&&(m&920?d(e,51,"accessor"):u&524288||(e.flags&32?d(e,52):e.flags|=32)),m|=64):!(m&4096)&&m&824&&e.tokenValue==="prototype"&&d(e,50)),u&1&&e.token!==67174411)return R2(e,u,s,m,o,C,A,E);let w=Q(e,u,m,f,e.tokenPos,e.linePos,e.colPos);return y(e,u,c,a,g,u&1?{type:"MethodDefinition",kind:!(m&32)&&m&64?"constructor":m&256?"get":m&512?"set":"method",static:(m&32)>0,computed:(m&2)>0,key:s,decorators:o,value:w}:{type:"MethodDefinition",kind:!(m&32)&&m&64?"constructor":m&256?"get":m&512?"set":"method",static:(m&32)>0,computed:(m&2)>0,key:s,value:w})}function z2(e,u,n,i,t){b(e,u);let{tokenValue:o}=e;return o==="constructor"&&d(e,125),b(e,u),y(e,u,n,i,t,{type:"PrivateIdentifier",name:o})}function R2(e,u,n,i,t,o,l,f){let c=null;if(i&8&&d(e,0),e.token===1077936157){b(e,u|32768);let{tokenPos:a,linePos:g,colPos:m}=e;e.token===537079928&&d(e,116),c=K(e,u|16384,2,0,1,0,0,1,a,g,m),(e.token&1073741824)!==1073741824&&(c=N(e,u|16384,c,0,0,a,g,m),c=O(e,u|16384,0,0,a,g,m,c),e.token===18&&(c=u2(e,u,0,o,l,f,c)))}return y(e,u,o,l,f,{type:"PropertyDefinition",key:n,value:c,static:(i&32)>0,computed:(i&2)>0,decorators:t})}function cu(e,u,n,i,t,o,l,f){if(e.token&143360)return he(e,u,n,i,t,o,l,f);(e.token&2097152)!==2097152&&d(e,28,U[e.token&255]);let c=e.token===69271571?_(e,u,n,1,0,1,i,t,o,l,f):r(e,u,n,1,0,1,i,t,o,l,f);return e.destructible&16&&d(e,48),e.destructible&32&&d(e,48),c}function he(e,u,n,i,t,o,l,f){let{tokenValue:c,token:a}=e;return u&1024&&((a&537079808)===537079808?d(e,116):(a&36864)===36864&&d(e,115)),(a&20480)===20480&&d(e,100),u&2099200&&a===241773&&d(e,30),a===241739&&i&24&&d(e,98),u&4196352&&a===209008&&d(e,96),b(e,u),n&&e2(e,u,n,c,i,t),y(e,u,o,l,f,{type:"Identifier",name:c})}function De(e,u,n,i,t,o){if(b(e,u),e.token===8456259)return y(e,u,i,t,o,{type:"JSXFragment",openingFragment:e0(e,u,i,t,o),children:Ne(e,u),closingFragment:n0(e,u,n,e.tokenPos,e.linePos,e.colPos)});let l=null,f=[],c=o0(e,u,n,i,t,o);if(!c.selfClosing){f=Ne(e,u),l=u0(e,u,n,e.tokenPos,e.linePos,e.colPos);let a=j2(l.name);j2(c.name)!==a&&d(e,150,a)}return y(e,u,i,t,o,{type:"JSXElement",children:f,openingElement:c,closingElement:l})}function e0(e,u,n,i,t){return d2(e,u),y(e,u,n,i,t,{type:"JSXOpeningFragment"})}function u0(e,u,n,i,t,o){P(e,u,25);let l=du(e,u,e.tokenPos,e.linePos,e.colPos);return n?P(e,u,8456259):e.token=d2(e,u),y(e,u,i,t,o,{type:"JSXClosingElement",name:l})}function n0(e,u,n,i,t,o){return P(e,u,25),P(e,u,8456259),y(e,u,i,t,o,{type:"JSXClosingFragment"})}function Ne(e,u){let n=[];for(;e.token!==25;)e.index=e.tokenPos=e.startPos,e.column=e.colPos=e.startColumn,e.line=e.linePos=e.startLine,d2(e,u),n.push(i0(e,u,e.tokenPos,e.linePos,e.colPos));return n}function i0(e,u,n,i,t){if(e.token===138)return t0(e,u,n,i,t);if(e.token===2162700)return au(e,u,0,0,n,i,t);if(e.token===8456258)return De(e,u,0,n,i,t);d(e,0)}function t0(e,u,n,i,t){d2(e,u);let o={type:"JSXText",value:e.tokenValue};return u&512&&(o.raw=e.tokenRaw),y(e,u,n,i,t,o)}function o0(e,u,n,i,t,o){(e.token&143360)!==143360&&(e.token&4096)!==4096&&d(e,0);let l=du(e,u,e.tokenPos,e.linePos,e.colPos),f=f0(e,u),c=e.token===8457016;return e.token===8456259?d2(e,u):(P(e,u,8457016),n?P(e,u,8456259):d2(e,u)),y(e,u,i,t,o,{type:"JSXOpeningElement",name:l,attributes:f,selfClosing:c})}function du(e,u,n,i,t){p2(e);let o=r2(e,u,n,i,t);if(e.token===21)return su(e,u,o,n,i,t);for(;q(e,u,67108877);)p2(e),o=l0(e,u,o,n,i,t);return o}function l0(e,u,n,i,t,o){let l=r2(e,u,e.tokenPos,e.linePos,e.colPos);return y(e,u,i,t,o,{type:"JSXMemberExpression",object:n,property:l})}function f0(e,u){let n=[];for(;e.token!==8457016&&e.token!==8456259&&e.token!==1048576;)n.push(d0(e,u,e.tokenPos,e.linePos,e.colPos));return n}function c0(e,u,n,i,t){b(e,u),P(e,u,14);let o=R(e,u,1,0,0,e.tokenPos,e.linePos,e.colPos);return P(e,u,1074790415),y(e,u,n,i,t,{type:"JSXSpreadAttribute",argument:o})}function d0(e,u,n,i,t){if(e.token===2162700)return c0(e,u,n,i,t);p2(e);let o=null,l=r2(e,u,n,i,t);if(e.token===21&&(l=su(e,u,l,n,i,t)),e.token===1077936157){let f=u1(e,u),{tokenPos:c,linePos:a,colPos:g}=e;switch(f){case 134283267:o=X(e,u);break;case 8456258:o=De(e,u,1,c,a,g);break;case 2162700:o=au(e,u,1,1,c,a,g);break;default:d(e,149)}}return y(e,u,n,i,t,{type:"JSXAttribute",value:o,name:l})}function su(e,u,n,i,t,o){P(e,u,21);let l=r2(e,u,e.tokenPos,e.linePos,e.colPos);return y(e,u,i,t,o,{type:"JSXNamespacedName",namespace:n,name:l})}function au(e,u,n,i,t,o,l){b(e,u|32768);let{tokenPos:f,linePos:c,colPos:a}=e;if(e.token===14)return s0(e,u,t,o,l);let g=null;return e.token===1074790415?(i&&d(e,152),g=a0(e,u,e.startPos,e.startLine,e.startColumn)):g=R(e,u,1,0,0,f,c,a),n?P(e,u,1074790415):d2(e,u),y(e,u,t,o,l,{type:"JSXExpressionContainer",expression:g})}function s0(e,u,n,i,t){P(e,u,14);let o=R(e,u,1,0,0,e.tokenPos,e.linePos,e.colPos);return P(e,u,1074790415),y(e,u,n,i,t,{type:"JSXSpreadChild",expression:o})}function a0(e,u,n,i,t){return e.startPos=e.tokenPos,e.startLine=e.linePos,e.startColumn=e.colPos,y(e,u,n,i,t,{type:"JSXEmptyExpression"})}function r2(e,u,n,i,t){let{tokenValue:o}=e;return b(e,u),y(e,u,n,i,t,{type:"JSXIdentifier",name:o})}function mu(e,u){return d1(e,u,0)}function m0(e,u){let n=new SyntaxError(e+" ("+u.loc.start.line+":"+u.loc.start.column+")");return Object.assign(n,u)}var Y2=m0;function g0(e){let u=[];for(let n of e)try{return n()}catch(i){u.push(i)}throw Object.assign(new Error("All combinations failed"),{errors:u})}var gu=g0;var C2=Ju(Cu(),1);function w0(e){if(!e.startsWith("#!"))return"";let u=e.indexOf(` -`);return u===-1?e:e.slice(0,u)}var Pu=w0;function S0(e){let u=Pu(e);u&&(e=e.slice(u.length+1));let n=(0,C2.extract)(e),{pragmas:i,comments:t}=(0,C2.parseWithComments)(n);return{shebang:u,text:e,pragmas:i,comments:t}}function Eu(e){let{pragmas:u}=S0(e);return Object.prototype.hasOwnProperty.call(u,"prettier")||Object.prototype.hasOwnProperty.call(u,"format")}function v0(e){return Array.isArray(e)&&e.length>0}var T2=v0;function $(e){var i;let u=e.range?e.range[0]:e.start,n=((i=e.declaration)==null?void 0:i.decorators)??e.decorators;return T2(n)?Math.min($(n[0]),u):u}function p(e){return e.range?e.range[1]:e.end}function B0(e){return e=typeof e=="function"?{parse:e}:e,{astFormat:"estree",hasPragma:Eu,locStart:$,locEnd:p,...e}}var wu=B0;var T0=(e,u,n)=>{if(!(e&&u==null))return Array.isArray(u)||typeof u=="string"?u[n<0?u.length+n:n]:u.at(n)},be=T0;function F0(e){return e=new Set(e),u=>e.has(u==null?void 0:u.type)}var Su=F0;var q0=Su(["Block","CommentBlock","MultiLine"]),F2=q0;function L0(e){return F2(e)&&e.value[0]==="*"&&/@(?:type|satisfies)\b/.test(e.value)}var vu=L0;function I0(e){let u=`*${e.value}*`.split(` -`);return u.length>1&&u.every(n=>n.trimStart()[0]==="*")}var Ae=I0;var q2=null;function L2(e){if(q2!==null&&typeof q2.property){let u=q2;return q2=L2.prototype=null,u}return q2=L2.prototype=e??Object.create(null),new L2}var N0=10;for(let e=0;e<=N0;e++)L2();function Ce(e){return L2(e)}function V0(e,u="type"){Ce(e);function n(i){let t=i[u],o=e[t];if(!Array.isArray(o))throw Object.assign(new Error(`Missing visitor keys for '${t}'.`),{node:i});return o}return n}var Bu=V0;var Tu={ArrayExpression:["elements"],AssignmentExpression:["left","right"],BinaryExpression:["left","right"],InterpreterDirective:[],Directive:["value"],DirectiveLiteral:[],BlockStatement:["directives","body"],BreakStatement:["label"],CallExpression:["callee","arguments","typeParameters","typeArguments"],CatchClause:["param","body"],ConditionalExpression:["test","consequent","alternate"],ContinueStatement:["label"],DebuggerStatement:[],DoWhileStatement:["test","body"],EmptyStatement:[],ExpressionStatement:["expression"],File:["program"],ForInStatement:["left","right","body"],ForStatement:["init","test","update","body"],FunctionDeclaration:["id","params","body","returnType","typeParameters","predicate"],FunctionExpression:["id","params","body","returnType","typeParameters"],Identifier:["typeAnnotation","decorators"],IfStatement:["test","consequent","alternate"],LabeledStatement:["label","body"],StringLiteral:[],NumericLiteral:[],NullLiteral:[],BooleanLiteral:[],RegExpLiteral:[],LogicalExpression:["left","right"],MemberExpression:["object","property"],NewExpression:["callee","arguments","typeParameters","typeArguments"],Program:["directives","body"],ObjectExpression:["properties"],ObjectMethod:["key","params","body","decorators","returnType","typeParameters"],ObjectProperty:["key","value","decorators"],RestElement:["argument","typeAnnotation","decorators"],ReturnStatement:["argument"],SequenceExpression:["expressions"],ParenthesizedExpression:["expression"],SwitchCase:["test","consequent"],SwitchStatement:["discriminant","cases"],ThisExpression:[],ThrowStatement:["argument"],TryStatement:["block","handler","finalizer"],UnaryExpression:["argument"],UpdateExpression:["argument"],VariableDeclaration:["declarations"],VariableDeclarator:["id","init"],WhileStatement:["test","body"],WithStatement:["object","body"],AssignmentPattern:["left","right","decorators","typeAnnotation"],ArrayPattern:["elements","typeAnnotation","decorators"],ArrowFunctionExpression:["params","body","returnType","typeParameters","predicate"],ClassBody:["body"],ClassExpression:["id","body","superClass","mixins","typeParameters","superTypeParameters","implements","decorators"],ClassDeclaration:["id","body","superClass","mixins","typeParameters","superTypeParameters","implements","decorators"],ExportAllDeclaration:["source","attributes","assertions","exported"],ExportDefaultDeclaration:["declaration"],ExportNamedDeclaration:["declaration","specifiers","source","attributes","assertions"],ExportSpecifier:["local","exported"],ForOfStatement:["left","right","body"],ImportDeclaration:["specifiers","source","attributes","assertions"],ImportDefaultSpecifier:["local"],ImportNamespaceSpecifier:["local"],ImportSpecifier:["local","imported"],MetaProperty:["meta","property"],ClassMethod:["key","params","body","decorators","returnType","typeParameters"],ObjectPattern:["properties","typeAnnotation","decorators"],SpreadElement:["argument"],Super:[],TaggedTemplateExpression:["tag","quasi","typeParameters"],TemplateElement:[],TemplateLiteral:["quasis","expressions"],YieldExpression:["argument"],AwaitExpression:["argument"],Import:[],BigIntLiteral:[],ExportNamespaceSpecifier:["exported"],OptionalMemberExpression:["object","property"],OptionalCallExpression:["callee","arguments","typeParameters","typeArguments"],ClassProperty:["key","value","typeAnnotation","decorators","variance"],ClassAccessorProperty:["key","value","typeAnnotation","decorators"],ClassPrivateProperty:["key","value","decorators","typeAnnotation","variance"],ClassPrivateMethod:["key","params","body","decorators","returnType","typeParameters"],PrivateName:["id"],StaticBlock:["body"],AnyTypeAnnotation:[],ArrayTypeAnnotation:["elementType"],BooleanTypeAnnotation:[],BooleanLiteralTypeAnnotation:[],NullLiteralTypeAnnotation:[],ClassImplements:["id","typeParameters"],DeclareClass:["id","typeParameters","extends","mixins","implements","body"],DeclareFunction:["id","predicate"],DeclareInterface:["id","typeParameters","extends","body"],DeclareModule:["id","body"],DeclareModuleExports:["typeAnnotation"],DeclareTypeAlias:["id","typeParameters","right"],DeclareOpaqueType:["id","typeParameters","supertype"],DeclareVariable:["id"],DeclareExportDeclaration:["declaration","specifiers","source"],DeclareExportAllDeclaration:["source"],DeclaredPredicate:["value"],ExistsTypeAnnotation:[],FunctionTypeAnnotation:["typeParameters","params","rest","returnType","this"],FunctionTypeParam:["name","typeAnnotation"],GenericTypeAnnotation:["id","typeParameters"],InferredPredicate:[],InterfaceExtends:["id","typeParameters"],InterfaceDeclaration:["id","typeParameters","extends","body"],InterfaceTypeAnnotation:["extends","body"],IntersectionTypeAnnotation:["types"],MixedTypeAnnotation:[],EmptyTypeAnnotation:[],NullableTypeAnnotation:["typeAnnotation"],NumberLiteralTypeAnnotation:[],NumberTypeAnnotation:[],ObjectTypeAnnotation:["properties","indexers","callProperties","internalSlots"],ObjectTypeInternalSlot:["id","value","optional","static","method"],ObjectTypeCallProperty:["value"],ObjectTypeIndexer:["id","key","value","variance"],ObjectTypeProperty:["key","value","variance"],ObjectTypeSpreadProperty:["argument"],OpaqueType:["id","typeParameters","supertype","impltype"],QualifiedTypeIdentifier:["id","qualification"],StringLiteralTypeAnnotation:[],StringTypeAnnotation:[],SymbolTypeAnnotation:[],ThisTypeAnnotation:[],TupleTypeAnnotation:["types","elementTypes"],TypeofTypeAnnotation:["argument"],TypeAlias:["id","typeParameters","right"],TypeAnnotation:["typeAnnotation"],TypeCastExpression:["expression","typeAnnotation"],TypeParameter:["bound","default","variance"],TypeParameterDeclaration:["params"],TypeParameterInstantiation:["params"],UnionTypeAnnotation:["types"],Variance:[],VoidTypeAnnotation:[],EnumDeclaration:["id","body"],EnumBooleanBody:["members"],EnumNumberBody:["members"],EnumStringBody:["members"],EnumSymbolBody:["members"],EnumBooleanMember:["id","init"],EnumNumberMember:["id","init"],EnumStringMember:["id","init"],EnumDefaultedMember:["id"],IndexedAccessType:["objectType","indexType"],OptionalIndexedAccessType:["objectType","indexType"],JSXAttribute:["name","value"],JSXClosingElement:["name"],JSXElement:["openingElement","children","closingElement"],JSXEmptyExpression:[],JSXExpressionContainer:["expression"],JSXSpreadChild:["expression"],JSXIdentifier:[],JSXMemberExpression:["object","property"],JSXNamespacedName:["namespace","name"],JSXOpeningElement:["name","attributes","typeParameters"],JSXSpreadAttribute:["argument"],JSXText:[],JSXFragment:["openingFragment","children","closingFragment"],JSXOpeningFragment:[],JSXClosingFragment:[],Noop:[],Placeholder:[],V8IntrinsicIdentifier:[],ArgumentPlaceholder:[],BindExpression:["object","callee"],ImportAttribute:["key","value"],Decorator:["expression"],DoExpression:["body"],ExportDefaultSpecifier:["exported"],RecordExpression:["properties"],TupleExpression:["elements"],DecimalLiteral:[],ModuleExpression:["body"],TopicReference:[],PipelineTopicExpression:["expression"],PipelineBareFunction:["callee"],PipelinePrimaryTopicReference:[],TSParameterProperty:["parameter","decorators"],TSDeclareFunction:["id","typeParameters","params","returnType","body"],TSDeclareMethod:["decorators","key","typeParameters","params","returnType"],TSQualifiedName:["left","right"],TSCallSignatureDeclaration:["typeParameters","parameters","typeAnnotation","params","returnType"],TSConstructSignatureDeclaration:["typeParameters","parameters","typeAnnotation","params","returnType"],TSPropertySignature:["key","typeAnnotation"],TSMethodSignature:["key","typeParameters","parameters","typeAnnotation","params","returnType"],TSIndexSignature:["parameters","typeAnnotation"],TSAnyKeyword:[],TSBooleanKeyword:[],TSBigIntKeyword:[],TSIntrinsicKeyword:[],TSNeverKeyword:[],TSNullKeyword:[],TSNumberKeyword:[],TSObjectKeyword:[],TSStringKeyword:[],TSSymbolKeyword:[],TSUndefinedKeyword:[],TSUnknownKeyword:[],TSVoidKeyword:[],TSThisType:[],TSFunctionType:["typeParameters","parameters","typeAnnotation","params","returnType"],TSConstructorType:["typeParameters","parameters","typeAnnotation","params","returnType"],TSTypeReference:["typeName","typeParameters"],TSTypePredicate:["parameterName","typeAnnotation"],TSTypeQuery:["exprName","typeParameters"],TSTypeLiteral:["members"],TSArrayType:["elementType"],TSTupleType:["elementTypes"],TSOptionalType:["typeAnnotation"],TSRestType:["typeAnnotation"],TSNamedTupleMember:["label","elementType"],TSUnionType:["types"],TSIntersectionType:["types"],TSConditionalType:["checkType","extendsType","trueType","falseType"],TSInferType:["typeParameter"],TSParenthesizedType:["typeAnnotation"],TSTypeOperator:["typeAnnotation"],TSIndexedAccessType:["objectType","indexType"],TSMappedType:["typeParameter","typeAnnotation","nameType"],TSLiteralType:["literal"],TSExpressionWithTypeArguments:["expression","typeParameters"],TSInterfaceDeclaration:["id","typeParameters","extends","body"],TSInterfaceBody:["body"],TSTypeAliasDeclaration:["id","typeParameters","typeAnnotation"],TSInstantiationExpression:["expression","typeParameters"],TSAsExpression:["expression","typeAnnotation"],TSSatisfiesExpression:["expression","typeAnnotation"],TSTypeAssertion:["typeAnnotation","expression"],TSEnumDeclaration:["id","members"],TSEnumMember:["id","initializer"],TSModuleDeclaration:["id","body"],TSModuleBlock:["body"],TSImportType:["argument","qualifier","typeParameters","parameter"],TSImportEqualsDeclaration:["id","moduleReference"],TSExternalModuleReference:["expression"],TSNonNullExpression:["expression"],TSExportAssignment:["expression"],TSNamespaceExportDeclaration:["id"],TSTypeAnnotation:["typeAnnotation"],TSTypeParameterInstantiation:["params"],TSTypeParameterDeclaration:["params"],TSTypeParameter:["constraint","default","name"],ChainExpression:["expression"],ExperimentalRestProperty:["argument"],ExperimentalSpreadProperty:["argument"],ImportExpression:["source","attributes"],Literal:[],MethodDefinition:["decorators","key","value"],PrivateIdentifier:[],Property:["key","value"],PropertyDefinition:["decorators","key","typeAnnotation","value","variance"],AccessorProperty:["decorators","key","typeAnnotation","value"],TSAbstractAccessorProperty:["decorators","key","typeAnnotation"],TSAbstractKeyword:[],TSAbstractMethodDefinition:["key","value"],TSAbstractPropertyDefinition:["decorators","key","typeAnnotation"],TSAsyncKeyword:[],TSClassImplements:["expression","typeParameters"],TSDeclareKeyword:[],TSEmptyBodyFunctionExpression:["id","typeParameters","params","returnType"],TSExportKeyword:[],TSInterfaceHeritage:["expression","typeParameters"],TSPrivateKeyword:[],TSProtectedKeyword:[],TSPublicKeyword:[],TSReadonlyKeyword:[],TSStaticKeyword:[],TSTemplateLiteralType:["quasis","types"],BigIntLiteralTypeAnnotation:[],BigIntTypeAnnotation:[],ConditionalTypeAnnotation:["checkType","extendsType","trueType","falseType"],DeclareEnum:["id","body"],InferTypeAnnotation:["typeParameter"],KeyofTypeAnnotation:["argument"],ObjectTypeMappedTypeProperty:["keyTparam","propType","sourceType","variance"],QualifiedTypeofIdentifier:["qualification","id"],TupleTypeLabeledElement:["label","elementType","variance"],TupleTypeSpreadElement:["label","typeAnnotation"],TypePredicate:["parameterName","typeAnnotation","asserts"],NGRoot:["node"],NGPipeExpression:["left","right","arguments"],NGChainedExpression:["expressions"],NGEmptyExpression:[],NGMicrosyntax:["body"],NGMicrosyntaxKey:[],NGMicrosyntaxExpression:["expression","alias"],NGMicrosyntaxKeyedExpression:["key","expression"],NGMicrosyntaxLet:["key","value"],NGMicrosyntaxAs:["key","alias"],JsExpressionRoot:["node"],JsonRoot:["node"],TSJSDocAllType:[],TSJSDocUnknownType:[],TSJSDocNullableType:["typeAnnotation"],TSJSDocNonNullableType:["typeAnnotation"],NeverTypeAnnotation:[],UndefinedTypeAnnotation:[],UnknownTypeAnnotation:[]};var R0=Bu(Tu),Fu=R0;function Pe(e,u){if(!(e!==null&&typeof e=="object"))return e;if(Array.isArray(e)){for(let i=0;i{var f;(f=l.leadingComments)!=null&&f.some(vu)&&o.add($(l))}),e=Q2(e,l=>{if(l.type==="ParenthesizedExpression"){let{expression:f}=l;if(f.type==="TypeCastExpression")return f.range=l.range,f;let c=$(l);if(!o.has(c))return f.extra={...f.extra,parenthesized:!0},f}})}if(e=Q2(e,o=>{switch(o.type){case"LogicalExpression":if(qu(o))return Ee(o);break;case"VariableDeclaration":{let l=be(!1,o.declarations,-1);l!=null&&l.init&&t(o,l);break}case"TSParenthesizedType":return o.typeAnnotation;case"TSTypeParameter":if(typeof o.name=="string"){let l=$(o);o.name={type:"Identifier",name:o.name,range:[l,l+o.name.length]}}break;case"ObjectExpression":if(n==="typescript"){let l=o.properties.find(f=>f.type==="Property"&&f.value.type==="TSEmptyBodyFunctionExpression");l&&Z2(l.value,"Unexpected token.")}break;case"TSInterfaceDeclaration":T2(o.implements)&&Z2(o.implements[0],"Interface declaration cannot have 'implements' clause.");break;case"TSPropertySignature":o.initializer&&Z2(o.initializer,"An interface property cannot have an initializer.");break;case"TopicReference":e.extra={...e.extra,__isUsingHackPipeline:!0};break;case"ExportAllDeclaration":{let{exported:l}=o;if(n==="meriyah"&&(l==null?void 0:l.type)==="Identifier"){let f=i.slice($(l),p(l));(f.startsWith('"')||f.startsWith("'"))&&(o.exported={...o.exported,type:"Literal",value:o.exported.name,raw:f})}break}case"TSUnionType":case"TSIntersectionType":if(o.types.length===1)return o.types[0];break}}),T2(e.comments)){let o=be(!1,e.comments,-1);for(let l=e.comments.length-2;l>=0;l--){let f=e.comments[l];p(f)===$(o)&&F2(f)&&F2(o)&&Ae(f)&&Ae(o)&&(e.comments.splice(l+1,1),f.value+="*//*"+o.value,f.range=[$(f),p(o)]),o=f}}return e.type==="Program"&&(e.range=[0,i.length]),e;function t(o,l){i[p(l)]!==";"&&(o.range=[$(o),p(l)])}}function qu(e){return e.type==="LogicalExpression"&&e.right.type==="LogicalExpression"&&e.operator===e.right.operator}function Ee(e){return qu(e)?Ee({type:"LogicalExpression",operator:e.operator,left:Ee({type:"LogicalExpression",operator:e.operator,left:e.left,right:e.right.left,range:[$(e.left),p(e.right.left)]}),right:e.right.right,range:[$(e),p(e)]}):e}var Lu=U0;function M0(e){let{filepath:u}=e;if(u){if(u=u.toLowerCase(),u.endsWith(".cjs"))return"script";if(u.endsWith(".mjs"))return"module"}}var Iu=M0;var J0={next:!0,ranges:!0,webcompat:!0,loc:!0,raw:!0,directives:!0,globalReturn:!0,impliedStrict:!1,preserveParens:!1,lexical:!1,identifierPattern:!1,jsx:!0,specDeviation:!0,uniqueKeyInPattern:!1};function j0(e,u){let n=[],i=[],t=mu(e,{...J0,module:u==="module",onComment:n,onToken:i});return t.comments=n,t.tokens=i,t}function X0(e){var o;let{message:u,line:n,column:i}=e,t=(o=u.match(/^\[(?\d+):(?\d+)]: (?.*)$/))==null?void 0:o.groups;return t&&(u=t.message,typeof n!="number"&&(n=Number(t.line),i=Number(t.column))),typeof n!="number"?e:Y2(u,{loc:{start:{line:n,column:i}},cause:e})}function z0(e,u={}){let n=Iu(u),i=(n?[n]:["module","script"]).map(o=>()=>j0(e,o)),t;try{t=gu(i)}catch({errors:[o]}){throw X0(o)}return Lu(t,{parser:"meriyah",text:e})}var H0=wu(z0);return ju(K0);}); \ No newline at end of file +(function(f){function e(){var i=f();return i.default||i}if(typeof exports=="object"&&typeof module=="object")module.exports=e();else if(typeof define=="function"&&define.amd)define(e);else{var t=typeof globalThis<"u"?globalThis:typeof global<"u"?global:typeof self<"u"?self:this||{};t.prettierPlugins=t.prettierPlugins||{},t.prettierPlugins.meriyah=e()}})(function(){"use strict";var _2=Object.defineProperty;var v1=Object.getOwnPropertyDescriptor;var T1=Object.getOwnPropertyNames;var F1=Object.prototype.hasOwnProperty;var be=(e,u)=>{for(var n in u)_2(e,n,{get:u[n],enumerable:!0})},q1=(e,u,n,t)=>{if(u&&typeof u=="object"||typeof u=="function")for(let i of T1(u))!F1.call(e,i)&&i!==n&&_2(e,i,{get:()=>u[i],enumerable:!(t=v1(u,i))||t.enumerable});return e};var L1=e=>q1(_2({},"__esModule",{value:!0}),e);var N0={};be(N0,{parsers:()=>De});var De={};be(De,{meriyah:()=>I0});var I1={0:"Unexpected token",28:"Unexpected token: '%0'",1:"Octal escape sequences are not allowed in strict mode",2:"Octal escape sequences are not allowed in template strings",3:"Unexpected token `#`",4:"Illegal Unicode escape sequence",5:"Invalid code point %0",6:"Invalid hexadecimal escape sequence",8:"Octal literals are not allowed in strict mode",7:"Decimal integer literals with a leading zero are forbidden in strict mode",9:"Expected number in radix %0",146:"Invalid left-hand side assignment to a destructible right-hand side",10:"Non-number found after exponent indicator",11:"Invalid BigIntLiteral",12:"No identifiers allowed directly after numeric literal",13:"Escapes \\8 or \\9 are not syntactically valid escapes",14:"Unterminated string literal",15:"Unterminated template literal",16:"Multiline comment was not closed properly",17:"The identifier contained dynamic unicode escape that was not closed",18:"Illegal character '%0'",19:"Missing hexadecimal digits",20:"Invalid implicit octal",21:"Invalid line break in string literal",22:"Only unicode escapes are legal in identifier names",23:"Expected '%0'",24:"Invalid left-hand side in assignment",25:"Invalid left-hand side in async arrow",26:'Calls to super must be in the "constructor" method of a class expression or class declaration that has a superclass',27:"Member access on super must be in a method",29:"Await expression not allowed in formal parameter",30:"Yield expression not allowed in formal parameter",93:"Unexpected token: 'escaped keyword'",31:"Unary expressions as the left operand of an exponentiation expression must be disambiguated with parentheses",120:"Async functions can only be declared at the top level or inside a block",32:"Unterminated regular expression",33:"Unexpected regular expression flag",34:"Duplicate regular expression flag '%0'",35:"%0 functions must have exactly %1 argument%2",36:"Setter function argument must not be a rest parameter",37:"%0 declaration must have a name in this context",38:"Function name may not contain any reserved words or be eval or arguments in strict mode",39:"The rest operator is missing an argument",40:"A getter cannot be a generator",41:"A setter cannot be a generator",42:"A computed property name must be followed by a colon or paren",131:"Object literal keys that are strings or numbers must be a method or have a colon",44:"Found `* async x(){}` but this should be `async * x(){}`",43:"Getters and setters can not be generators",45:"'%0' can not be generator method",46:"No line break is allowed after '=>'",47:"The left-hand side of the arrow can only be destructed through assignment",48:"The binding declaration is not destructible",49:"Async arrow can not be followed by new expression",50:"Classes may not have a static property named 'prototype'",51:"Class constructor may not be a %0",52:"Duplicate constructor method in class",53:"Invalid increment/decrement operand",54:"Invalid use of `new` keyword on an increment/decrement expression",55:"`=>` is an invalid assignment target",56:"Rest element may not have a trailing comma",57:"Missing initializer in %0 declaration",58:"'for-%0' loop head declarations can not have an initializer",59:"Invalid left-hand side in for-%0 loop: Must have a single binding",60:"Invalid shorthand property initializer",61:"Property name __proto__ appears more than once in object literal",62:"Let is disallowed as a lexically bound name",63:"Invalid use of '%0' inside new expression",64:"Illegal 'use strict' directive in function with non-simple parameter list",65:'Identifier "let" disallowed as left-hand side expression in strict mode',66:"Illegal continue statement",67:"Illegal break statement",68:"Cannot have `let[...]` as a var name in strict mode",69:"Invalid destructuring assignment target",70:"Rest parameter may not have a default initializer",71:"The rest argument must the be last parameter",72:"Invalid rest argument",74:"In strict mode code, functions can only be declared at top level or inside a block",75:"In non-strict mode code, functions can only be declared at top level, inside a block, or as the body of an if statement",76:"Without web compatibility enabled functions can not be declared at top level, inside a block, or as the body of an if statement",77:"Class declaration can't appear in single-statement context",78:"Invalid left-hand side in for-%0",79:"Invalid assignment in for-%0",80:"for await (... of ...) is only valid in async functions and async generators",81:"The first token after the template expression should be a continuation of the template",83:"`let` declaration not allowed here and `let` cannot be a regular var name in strict mode",82:"`let \n [` is a restricted production at the start of a statement",84:"Catch clause requires exactly one parameter, not more (and no trailing comma)",85:"Catch clause parameter does not support default values",86:"Missing catch or finally after try",87:"More than one default clause in switch statement",88:"Illegal newline after throw",89:"Strict mode code may not include a with statement",90:"Illegal return statement",91:"The left hand side of the for-header binding declaration is not destructible",92:"new.target only allowed within functions",94:"'#' not followed by identifier",100:"Invalid keyword",99:"Can not use 'let' as a class name",98:"'A lexical declaration can't define a 'let' binding",97:"Can not use `let` as variable name in strict mode",95:"'%0' may not be used as an identifier in this context",96:"Await is only valid in async functions",101:"The %0 keyword can only be used with the module goal",102:"Unicode codepoint must not be greater than 0x10FFFF",103:"%0 source must be string",104:"Only a identifier can be used to indicate alias",105:"Only '*' or '{...}' can be imported after default",106:"Trailing decorator may be followed by method",107:"Decorators can't be used with a constructor",109:"HTML comments are only allowed with web compatibility (Annex B)",110:"The identifier 'let' must not be in expression position in strict mode",111:"Cannot assign to `eval` and `arguments` in strict mode",112:"The left-hand side of a for-of loop may not start with 'let'",113:"Block body arrows can not be immediately invoked without a group",114:"Block body arrows can not be immediately accessed without a group",115:"Unexpected strict mode reserved word",116:"Unexpected eval or arguments in strict mode",117:"Decorators must not be followed by a semicolon",118:"Calling delete on expression not allowed in strict mode",119:"Pattern can not have a tail",121:"Can not have a `yield` expression on the left side of a ternary",122:"An arrow function can not have a postfix update operator",123:"Invalid object literal key character after generator star",124:"Private fields can not be deleted",126:"Classes may not have a field called constructor",125:"Classes may not have a private element named constructor",127:"A class field initializer may not contain arguments",128:"Generators can only be declared at the top level or inside a block",129:"Async methods are a restricted production and cannot have a newline following it",130:"Unexpected character after object literal property name",132:"Invalid key token",133:"Label '%0' has already been declared",134:"continue statement must be nested within an iteration statement",135:"Undefined label '%0'",136:"Trailing comma is disallowed inside import(...) arguments",137:"import() requires exactly one argument",138:"Cannot use new with import(...)",139:"... is not allowed in import()",140:"Expected '=>'",141:"Duplicate binding '%0'",142:"Cannot export a duplicate name '%0'",145:"Duplicate %0 for-binding",143:"Exported binding '%0' needs to refer to a top-level declared variable",144:"Unexpected private field",148:"Numeric separators are not allowed at the end of numeric literals",147:"Only one underscore is allowed as numeric separator",149:"JSX value should be either an expression or a quoted JSX text",150:"Expected corresponding JSX closing tag for %0",151:"Adjacent JSX elements must be wrapped in an enclosing tag",152:"JSX attributes must only be assigned a non-empty 'expression'",153:"'%0' has already been declared",154:"'%0' shadowed a catch clause binding",155:"Dot property must be an identifier",156:"Encountered invalid input after spread/rest argument",157:"Catch without try",158:"Finally without try",159:"Expected corresponding closing tag for JSX fragment",160:"Coalescing and logical operators used together in the same expression must be disambiguated with parentheses",161:"Invalid tagged template on optional chain",162:"Invalid optional chain from super property",163:"Invalid optional chain from new expression",164:'Cannot use "import.meta" outside a module',165:"Leading decorators must be attached to a class declaration"},y2=class extends SyntaxError{constructor(u,n,t,i,...o){let l="["+n+":"+t+"]: "+I1[i].replace(/%(\d+)/g,(f,c)=>o[c]);super(`${l}`),this.index=u,this.line=n,this.column=t,this.description=l,this.loc={line:n,column:t}}};function s(e,u,...n){throw new y2(e.index,e.line,e.column,u,...n)}function j2(e){throw new y2(e.index,e.line,e.column,e.type,e.params)}function k2(e,u,n,t,...i){throw new y2(e,u,n,t,...i)}function A2(e,u,n,t){throw new y2(e,u,n,t)}var P2=((e,u)=>{let n=new Uint32Array(104448),t=0,i=0;for(;t<3701;){let o=e[t++];if(o<0)i-=o;else{let l=e[t++];o&2&&(l=u[l]),o&1?n.fill(l,i,i+=e[t++]):n[i++]=l}}return n})([-1,2,26,2,27,2,5,-1,0,77595648,3,44,2,3,0,14,2,57,2,58,3,0,3,0,3168796671,0,4294956992,2,1,2,0,2,59,3,0,4,0,4294966523,3,0,4,2,16,2,60,2,0,0,4294836735,0,3221225471,0,4294901942,2,61,0,134152192,3,0,2,0,4294951935,3,0,2,0,2683305983,0,2684354047,2,18,2,0,0,4294961151,3,0,2,2,19,2,0,0,608174079,2,0,2,54,2,7,2,6,0,4278222591,3,0,2,2,1,3,0,3,0,4294901711,2,40,0,4089839103,0,2961209759,0,1342439375,0,4294543342,0,3547201023,0,1577204103,0,4194240,0,4294688750,2,2,0,80831,0,4261478351,0,4294549486,2,2,0,2967484831,0,196559,0,3594373100,0,3288319768,0,8469959,2,200,2,3,0,4093640191,0,660618719,0,65487,0,4294828015,0,4092591615,0,1616920031,0,982991,2,3,2,0,0,2163244511,0,4227923919,0,4236247022,2,66,0,4284449919,0,851904,2,4,2,12,0,67076095,-1,2,67,0,1073741743,0,4093607775,-1,0,50331649,0,3265266687,2,33,0,4294844415,0,4278190047,2,20,2,133,-1,3,0,2,2,23,2,0,2,10,2,0,2,15,2,22,3,0,10,2,69,2,0,2,70,2,71,2,72,2,0,2,73,2,0,2,11,0,261632,2,25,3,0,2,2,13,2,4,3,0,18,2,74,2,5,3,0,2,2,75,0,2151677951,2,29,2,9,0,909311,3,0,2,0,814743551,2,42,0,67090432,3,0,2,2,41,2,0,2,6,2,0,2,30,2,8,0,268374015,2,107,2,48,2,0,2,76,0,134153215,-1,2,7,2,0,2,8,0,2684354559,0,67044351,0,3221160064,2,17,-1,3,0,2,0,67051519,0,1046528,3,0,3,2,9,2,0,2,50,0,4294960127,2,10,2,39,2,11,0,4294377472,2,12,3,0,16,2,13,2,0,2,79,2,10,2,0,2,80,2,81,2,82,2,206,2,129,0,1048577,2,83,2,14,-1,2,14,0,131042,2,84,2,85,2,86,2,0,2,34,-83,3,0,7,0,1046559,2,0,2,15,2,0,0,2147516671,2,21,3,87,2,2,0,-16,2,88,0,524222462,2,4,2,0,0,4269801471,2,4,3,0,2,2,28,2,16,3,0,2,2,17,2,0,-1,2,18,-16,3,0,206,-2,3,0,692,2,68,-1,2,18,2,10,3,0,8,2,90,2,128,2,0,0,3220242431,3,0,3,2,19,2,91,2,92,3,0,2,2,93,2,0,2,94,2,45,2,0,0,4351,2,0,2,9,3,0,2,0,67043391,0,3909091327,2,0,2,24,2,9,2,20,3,0,2,0,67076097,2,8,2,0,2,21,0,67059711,0,4236247039,3,0,2,0,939524103,0,8191999,2,98,2,99,2,22,2,23,3,0,3,0,67057663,3,0,349,2,100,2,101,2,7,-264,3,0,11,2,24,3,0,2,2,32,-1,0,3774349439,2,102,2,103,3,0,2,2,19,2,104,3,0,10,2,10,2,18,2,0,2,46,2,0,2,31,2,105,2,25,0,1638399,2,170,2,106,3,0,3,2,20,2,26,2,27,2,5,2,28,2,0,2,8,2,108,-1,2,109,2,110,2,111,-1,3,0,3,2,12,-2,2,0,2,29,-3,2,159,-4,2,20,2,0,2,36,0,1,2,0,2,62,2,6,2,12,2,10,2,0,2,112,-1,3,0,4,2,10,2,23,2,113,2,7,2,0,2,114,2,0,2,115,2,116,2,117,-2,3,0,9,2,21,2,30,2,31,2,118,2,119,-2,2,120,2,121,2,30,2,21,2,8,-2,2,122,2,30,2,32,-2,2,0,2,38,-2,0,4277137519,0,2269118463,-1,3,20,2,-1,2,33,2,37,2,0,3,30,2,2,35,2,19,-3,3,0,2,2,34,-1,2,0,2,35,2,0,2,35,2,0,2,47,-10,2,0,0,203775,-1,2,164,2,20,2,43,2,36,2,18,2,77,2,18,2,123,2,21,3,0,2,2,37,0,2151677888,2,0,2,12,0,4294901764,2,140,2,0,2,52,2,51,0,5242879,3,0,2,0,402644511,-1,2,125,2,38,0,3,-1,2,126,2,39,2,0,0,67045375,2,40,0,4226678271,0,3766565279,0,2039759,-4,3,0,2,0,3288270847,0,3,3,0,2,0,67043519,-5,2,0,0,4282384383,0,1056964609,-1,3,0,2,0,67043345,-1,2,0,2,41,2,42,-1,2,11,2,55,2,37,-5,2,0,2,12,-3,3,0,2,0,2147484671,2,130,0,4190109695,2,49,-2,2,131,0,4244635647,0,27,2,0,2,8,2,43,2,0,2,63,2,18,2,0,2,41,-8,2,53,2,44,0,67043329,2,45,2,46,0,8388351,-2,2,132,0,3028287487,2,47,2,134,0,33259519,2,42,-9,2,21,0,4294836223,0,3355443199,0,67043335,-2,2,64,-2,3,0,28,2,32,-3,3,0,3,2,17,3,0,6,2,78,-81,2,18,3,0,2,2,36,3,0,33,2,25,2,30,-125,3,0,18,2,37,-269,3,0,17,2,41,2,8,2,23,2,0,2,8,2,23,2,48,2,0,2,21,2,49,2,135,2,25,-21,3,0,2,-4,3,0,2,0,4294936575,2,0,0,4294934783,-2,0,196635,3,0,191,2,50,3,0,38,2,30,-1,2,34,-278,2,136,3,0,9,2,137,2,138,2,51,3,0,11,2,7,-72,3,0,3,2,139,0,1677656575,-147,2,0,2,24,2,37,-16,0,4161266656,0,4071,2,201,-4,0,28,-13,3,0,2,2,52,2,0,2,141,2,142,2,56,2,0,2,143,2,144,2,145,3,0,10,2,146,2,147,2,22,3,52,2,3,148,2,3,53,2,0,4294954999,2,0,-16,2,0,2,89,2,0,0,2105343,0,4160749584,2,174,-34,2,8,2,150,-6,0,4194303871,0,4294903771,2,0,2,54,2,97,-3,2,0,0,1073684479,0,17407,-9,2,18,2,17,2,0,2,32,-14,2,18,2,32,-23,2,151,3,0,6,0,8323103,-1,3,0,2,2,55,-37,2,56,2,152,2,153,2,154,2,155,2,156,-105,2,26,-32,3,0,1335,-1,3,0,129,2,32,3,0,6,2,10,3,0,180,2,157,3,0,233,2,158,3,0,18,2,10,-77,3,0,16,2,10,-47,3,0,154,2,6,3,0,130,2,25,-22250,3,0,7,2,25,-6130,3,5,2,-1,0,69207040,3,44,2,3,0,14,2,57,2,58,-3,0,3168731136,0,4294956864,2,1,2,0,2,59,3,0,4,0,4294966275,3,0,4,2,16,2,60,2,0,2,34,-1,2,18,2,61,-1,2,0,0,2047,0,4294885376,3,0,2,0,3145727,0,2617294944,0,4294770688,2,25,2,62,3,0,2,0,131135,2,95,0,70256639,0,71303167,0,272,2,41,2,6,0,32511,2,0,2,42,-1,2,96,2,63,0,4278255616,0,4294836227,0,4294549473,0,600178175,0,2952806400,0,268632067,0,4294543328,0,57540095,0,1577058304,0,1835008,0,4294688736,2,65,2,64,0,33554435,2,127,2,65,2,160,0,131075,0,3594373096,0,67094296,2,64,-1,0,4294828e3,0,603979263,0,654311424,0,3,0,4294828001,0,602930687,2,167,0,393219,0,4294828016,0,671088639,0,2154840064,0,4227858435,0,4236247008,2,66,2,37,-1,2,4,0,917503,2,37,-1,2,67,0,537788335,0,4026531935,-1,0,1,-1,2,33,2,68,0,7936,-3,2,0,0,2147485695,0,1010761728,0,4292984930,0,16387,2,0,2,15,2,22,3,0,10,2,69,2,0,2,70,2,71,2,72,2,0,2,73,2,0,2,12,-1,2,25,3,0,2,2,13,2,4,3,0,18,2,74,2,5,3,0,2,2,75,0,2147745791,3,19,2,0,122879,2,0,2,9,0,276824064,-2,3,0,2,2,41,2,0,0,4294903295,2,0,2,30,2,8,-1,2,18,2,48,2,0,2,76,2,42,-1,2,21,2,0,2,29,-2,0,128,-2,2,28,2,9,0,8160,-1,2,124,0,4227907585,2,0,2,77,2,0,2,78,2,180,2,10,2,39,2,11,-1,0,74440192,3,0,6,-2,3,0,8,2,13,2,0,2,79,2,10,2,0,2,80,2,81,2,82,-3,2,83,2,14,-3,2,84,2,85,2,86,2,0,2,34,-83,3,0,7,0,817183,2,0,2,15,2,0,0,33023,2,21,3,87,2,-17,2,88,0,524157950,2,4,2,0,2,89,2,4,2,0,2,22,2,28,2,16,3,0,2,2,17,2,0,-1,2,18,-16,3,0,206,-2,3,0,692,2,68,-1,2,18,2,10,3,0,8,2,90,0,3072,2,0,0,2147516415,2,10,3,0,2,2,25,2,91,2,92,3,0,2,2,93,2,0,2,94,2,45,0,4294965179,0,7,2,0,2,9,2,92,2,9,-1,0,1761345536,2,95,0,4294901823,2,37,2,20,2,96,2,35,2,97,0,2080440287,2,0,2,34,2,149,0,3296722943,2,0,0,1046675455,0,939524101,0,1837055,2,98,2,99,2,22,2,23,3,0,3,0,7,3,0,349,2,100,2,101,2,7,-264,3,0,11,2,24,3,0,2,2,32,-1,0,2700607615,2,102,2,103,3,0,2,2,19,2,104,3,0,10,2,10,2,18,2,0,2,46,2,0,2,31,2,105,-3,2,106,3,0,3,2,20,-1,3,5,2,2,107,2,0,2,8,2,108,-1,2,109,2,110,2,111,-1,3,0,3,2,12,-2,2,0,2,29,-8,2,20,2,0,2,36,-1,2,0,2,62,2,6,2,30,2,10,2,0,2,112,-1,3,0,4,2,10,2,18,2,113,2,7,2,0,2,114,2,0,2,115,2,116,2,117,-2,3,0,9,2,21,2,30,2,31,2,118,2,119,-2,2,120,2,121,2,30,2,21,2,8,-2,2,122,2,30,2,32,-2,2,0,2,38,-2,0,4277075969,2,30,-1,3,20,2,-1,2,33,2,123,2,0,3,30,2,2,35,2,19,-3,3,0,2,2,34,-1,2,0,2,35,2,0,2,35,2,0,2,78,-10,2,0,0,197631,-2,2,20,2,43,2,77,2,18,0,3,2,18,2,123,2,21,2,124,2,50,-1,0,2490368,2,124,2,25,2,18,2,34,2,124,2,37,0,4294901904,0,4718591,2,124,2,35,0,335544350,-1,2,125,0,2147487743,0,1,-1,2,126,2,39,2,8,-1,2,127,2,65,0,3758161920,0,3,-4,2,0,2,29,0,2147485568,0,3,2,0,2,25,0,176,-5,2,0,2,17,2,188,-1,2,0,2,25,2,205,-1,2,0,0,16779263,-2,2,12,-1,2,37,-5,2,0,2,128,-3,3,0,2,2,129,2,130,0,2147549183,0,2,-2,2,131,2,36,0,10,0,4294965249,0,67633151,0,4026597376,2,0,0,536871935,2,18,2,0,2,41,-8,2,53,2,17,0,1,2,45,2,25,-3,2,132,2,36,2,133,2,134,0,16778239,-10,2,35,0,4294836212,2,9,-3,2,64,-2,3,0,28,2,32,-3,3,0,3,2,17,3,0,6,2,78,-81,2,18,3,0,2,2,36,3,0,33,2,25,0,126,-125,3,0,18,2,37,-269,3,0,17,2,41,2,8,2,18,2,0,2,8,2,18,2,54,2,0,2,25,2,78,2,135,2,25,-21,3,0,2,-4,3,0,2,0,67583,-1,2,104,-2,0,11,3,0,191,2,50,3,0,38,2,30,-1,2,34,-278,2,136,3,0,9,2,137,2,138,2,51,3,0,11,2,7,-72,3,0,3,2,139,2,140,-187,3,0,2,2,52,2,0,2,141,2,142,2,56,2,0,2,143,2,144,2,145,3,0,10,2,146,2,147,2,22,3,52,2,3,148,2,3,53,2,2,149,-57,2,8,2,150,-7,2,18,2,0,2,54,-4,2,0,0,1065361407,0,16384,-9,2,18,2,54,2,0,2,128,-14,2,18,2,128,-23,2,151,3,0,6,2,123,-1,3,0,2,0,2063,-37,2,56,2,152,2,153,2,154,2,155,2,156,-138,3,0,1335,-1,3,0,129,2,32,3,0,6,2,10,3,0,180,2,157,3,0,233,2,158,3,0,18,2,10,-77,3,0,16,2,10,-47,3,0,154,2,6,3,0,130,2,25,-28386,2,0,0,1,-1,2,129,2,0,0,8193,-21,2,198,0,10255,0,4,-11,2,64,2,179,-1,0,71680,-1,2,171,0,4292900864,0,268435519,-5,2,159,-1,2,169,-1,0,6144,-2,2,45,-1,2,163,-1,0,2147532800,2,160,2,166,0,16744448,-2,0,4,-4,2,194,0,205128192,0,1333757536,0,2147483696,0,423953,0,747766272,0,2717763192,0,4286578751,0,278545,2,161,0,4294886464,0,33292336,0,417809,2,161,0,1327482464,0,4278190128,0,700594195,0,1006647527,0,4286497336,0,4160749631,2,162,0,201327104,0,3634348576,0,8323120,2,162,0,202375680,0,2678047264,0,4293984304,2,162,-1,0,983584,0,48,0,58720273,0,3489923072,0,10517376,0,4293066815,0,1,0,2013265920,2,182,2,0,0,2089,0,3221225552,0,201359520,2,0,-2,0,256,0,122880,0,16777216,2,159,0,4160757760,2,0,-6,2,176,-11,0,3263218176,-1,0,49664,0,2160197632,0,8388802,-1,0,12713984,-1,2,163,2,164,2,183,-2,2,172,-20,0,3758096385,-2,2,165,2,191,2,91,2,177,0,4294057984,-2,2,173,2,168,0,4227874816,-2,2,165,-1,2,166,-1,2,178,2,129,0,4026593280,0,14,0,4292919296,-1,2,175,0,939588608,-1,0,805306368,-1,2,129,2,167,2,168,2,169,2,207,2,0,-2,2,170,2,129,-3,0,267386880,-1,0,117440512,0,7168,-1,2,210,2,163,2,171,2,184,-16,2,172,-1,0,1426112704,2,173,-1,2,192,0,271581216,0,2149777408,2,25,2,171,2,129,0,851967,2,185,-1,2,174,2,186,-4,2,175,-20,2,197,2,204,-56,0,3145728,2,187,-10,0,32505856,-1,2,176,-1,0,2147385088,2,91,1,2155905152,2,-3,2,173,2,0,0,67108864,-2,2,177,-6,2,178,2,25,0,1,-1,0,1,-1,2,179,-3,2,123,2,64,-2,2,97,-2,0,32752,2,129,-915,2,170,-1,2,203,-10,2,190,-5,2,181,-6,0,4229232640,2,19,-1,2,180,-1,2,181,-2,0,4227874752,-3,0,2146435072,2,164,-2,0,1006649344,2,129,-1,2,91,0,201375744,-3,0,134217720,2,91,0,4286677377,0,32896,-1,2,175,-3,0,4227907584,-349,0,65520,0,1920,2,182,3,0,264,-11,2,169,-2,2,183,2,0,0,520617856,0,2692743168,0,36,-3,0,524280,-13,2,189,-1,0,4294934272,2,25,2,183,-1,2,213,0,2158720,-3,2,164,0,1,-4,2,129,0,3808625411,0,3489628288,0,4096,0,1207959680,0,3221274624,2,0,-3,2,184,0,120,0,7340032,-2,2,185,2,4,2,25,2,173,3,0,4,2,164,-1,2,186,2,182,-1,0,8176,2,166,2,184,2,211,-1,0,4290773232,2,0,-4,2,173,2,193,0,15728640,2,182,-1,2,171,-1,0,134250480,0,4720640,0,3825467396,3,0,2,-9,2,91,2,178,0,4294967040,2,133,0,4160880640,3,0,2,0,704,0,1849688064,2,187,-1,2,129,0,4294901887,2,0,0,130547712,0,1879048192,2,208,3,0,2,-1,2,188,2,189,-1,0,17829776,0,2025848832,2,212,-2,2,0,-1,0,4286580608,-1,0,29360128,2,196,0,16252928,0,3791388672,2,39,3,0,2,-2,2,202,2,0,-1,2,104,-1,0,66584576,-1,2,195,3,0,9,2,129,-1,0,4294755328,2,0,2,20,-1,2,171,2,183,2,25,2,95,2,25,2,190,2,91,-2,0,245760,2,191,-1,2,159,2,199,0,4227923456,-1,2,192,2,171,2,91,-3,0,4292870145,0,262144,-1,2,92,2,0,0,1073758848,2,193,-1,0,4227921920,2,194,0,68289024,0,528402016,0,4292927536,3,0,4,-2,0,268435456,2,92,-2,2,195,3,0,5,-1,2,196,2,173,2,0,-2,0,4227923936,2,62,-1,2,183,2,95,2,0,2,163,2,175,2,197,3,0,5,-1,2,182,3,0,3,-2,0,2146959360,0,9440640,0,104857600,0,4227923840,3,0,2,0,768,2,198,2,28,-2,2,171,-2,2,199,-1,2,165,2,95,3,0,7,0,512,0,8388608,2,200,2,170,2,189,0,4286578944,3,0,2,0,1152,0,1266679808,2,195,0,576,0,4261707776,2,95,3,0,9,2,165,0,131072,0,939524096,2,183,3,0,2,2,16,-1,0,2147221504,-28,2,183,3,0,3,-3,0,4292902912,-6,2,96,3,0,81,2,25,-2,2,104,-33,2,18,2,178,3,0,125,-18,2,197,3,0,269,-17,2,165,2,129,2,201,-1,2,129,2,193,0,4290822144,-2,0,67174336,0,520093700,2,18,3,0,21,-2,2,184,3,0,3,-2,0,30720,-1,0,32512,3,0,2,0,4294770656,-191,2,181,-38,2,178,2,0,2,202,3,0,278,0,2417033215,-9,0,4294705144,0,4292411391,0,65295,-11,2,182,3,0,72,-3,0,3758159872,0,201391616,3,0,147,-1,2,169,2,203,-3,2,96,2,0,-7,2,178,-1,0,384,-1,0,133693440,-3,2,204,-2,2,107,3,0,3,3,177,2,-2,2,91,2,165,3,0,4,-2,2,192,-1,2,159,0,335552923,2,205,-1,0,538974272,0,2214592512,0,132e3,-10,0,192,-8,2,206,-21,0,134213632,2,158,3,0,34,2,129,0,4294965279,3,0,6,0,100663424,0,63524,-1,2,209,2,148,3,0,3,-1,0,3221282816,0,4294917120,3,0,9,2,25,2,207,-1,2,208,3,0,14,2,25,2,183,3,0,23,0,2147520640,-6,0,4286578784,2,0,-2,0,1006694400,3,0,24,2,36,-1,0,4292870144,3,0,2,0,1,2,173,3,0,6,2,205,0,4110942569,0,1432950139,0,2701658217,0,4026532864,0,4026532881,2,0,2,46,3,0,8,-1,2,175,-2,2,177,0,98304,0,65537,2,178,-5,2,209,2,0,2,77,2,199,2,182,0,4294770176,2,107,3,0,4,-30,2,188,0,3758153728,-3,0,125829120,-2,2,183,0,4294897664,2,175,-1,2,195,-1,2,171,0,4294754304,3,0,2,-10,2,177,0,3758145536,2,210,2,211,0,4026548160,2,212,-4,2,213,-1,2,204,0,4227923967,3,0,32,-1335,2,0,-129,2,183,-6,2,173,-180,0,65532,-233,2,174,-18,2,173,3,0,77,-16,2,173,3,0,47,-154,2,166,-130,2,18,3,0,22250,-7,2,18,3,0,6128],[4294967295,4294967291,4092460543,4294828031,4294967294,134217726,4294903807,268435455,2147483647,1048575,1073741823,3892314111,134217727,1061158911,536805376,4294910143,4294901759,32767,4294901760,262143,536870911,8388607,4160749567,4294902783,4294918143,65535,67043328,2281701374,4294967264,2097151,4194303,255,67108863,4294967039,511,524287,131071,127,3238002687,4294902271,4294549487,33554431,1023,4294901888,4286578687,4294705152,4294770687,67043583,2047999,67043343,16777215,4294902e3,4292870143,4294966783,16383,67047423,4294967279,262083,20511,4290772991,41943039,493567,4294959104,603979775,65536,602799615,805044223,4294965206,8191,1031749119,4294917631,2134769663,4286578493,4282253311,4294942719,33540095,4294905855,63,15,2868854591,1608515583,265232348,534519807,2147614720,1060109444,4093640016,17376,2139062143,224,4169138175,4294909951,4286578688,4294967292,4294965759,65734655,4294966272,4294967280,32768,8289918,4294934399,4294901775,4294965375,1602223615,4294967259,4294443008,268369920,4292804608,4294967232,486341884,4294963199,3087007615,1073692671,4128527,4279238655,4294902015,4160684047,4290246655,469499899,4294967231,134086655,4294966591,2445279231,3670015,31,4294967288,4294705151,3221208447,4294549472,4095,2147483648,4285526655,4294966527,4294966143,64,4294966719,3774873592,1877934080,262151,2555904,536807423,67043839,3758096383,3959414372,3755993023,2080374783,4294835295,4294967103,4160749565,4294934527,4087,2016,2147446655,184024726,2862017156,1593309078,268434431,268434414,4294901763,4294901761,536870912,2952790016,202506752,139264,402653184,3758096384,4261412864,63488,1610612736,4227922944,49152,57344,65280,3233808384,3221225472,65534,61440,57152,4293918720,4290772992,25165824,4227915776,4278190080,4026531840,4227858432,4160749568,3758129152,4294836224,4194304,251658240,196608,4294963200,2143289344,2097152,64512,417808,4227923712,12582912,4294967168,50331648,65528,65472,15360,4294966784,65408,4294965248,16,12288,4294934528,2080374784,4294950912,65024,1073741824,4261477888,524288]);function A(e){return e.column++,e.currentChar=e.source.charCodeAt(++e.index)}function N1(e,u){if((u&64512)!==55296)return 0;let n=e.source.charCodeAt(e.index+1);return(n&64512)!==56320?0:(u=e.currentChar=65536+((u&1023)<<10)+(n&1023),P2[(u>>>5)+0]>>>u&31&1||s(e,18,G(u)),e.index++,e.column++,1)}function x2(e,u){e.currentChar=e.source.charCodeAt(++e.index),e.flags|=1,u&4||(e.column=0,e.line++)}function c2(e){e.flags|=1,e.currentChar=e.source.charCodeAt(++e.index),e.column=0,e.line++}function V1(e){return e===160||e===65279||e===133||e===5760||e>=8192&&e<=8203||e===8239||e===8287||e===12288||e===8201||e===65519}function G(e){return e<=65535?String.fromCharCode(e):String.fromCharCode(e>>>10)+String.fromCharCode(e&1023)}function z(e){return e<65?e-48:e-65+10&15}function R1(e){switch(e){case 134283266:return"NumericLiteral";case 134283267:return"StringLiteral";case 86021:case 86022:return"BooleanLiteral";case 86023:return"NullLiteral";case 65540:return"RegularExpression";case 67174408:case 67174409:case 132:return"TemplateLiteral";default:return(e&143360)===143360?"Identifier":(e&4096)===4096?"Keyword":"Punctuator"}}var L=[0,0,0,0,0,0,0,0,0,0,1032,0,0,2056,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,8192,0,3,0,0,8192,0,0,0,256,0,33024,0,0,242,242,114,114,114,114,114,114,594,594,0,0,16384,0,0,0,0,67,67,67,67,67,67,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,0,1,0,0,4099,0,71,71,71,71,71,71,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,16384,0,0,0,0],O1=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,1,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0],Fe=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,1,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0];function Y2(e){return e<=127?O1[e]:P2[(e>>>5)+34816]>>>e&31&1}function R2(e){return e<=127?Fe[e]:P2[(e>>>5)+0]>>>e&31&1||e===8204||e===8205}var qe=["SingleLine","MultiLine","HTMLOpen","HTMLClose","HashbangComment"];function U1(e){let u=e.source;e.currentChar===35&&u.charCodeAt(e.index+1)===33&&(A(e),A(e),p2(e,u,0,4,e.tokenPos,e.linePos,e.colPos))}function Ce(e,u,n,t,i,o,l,f){return t&2048&&s(e,0),p2(e,u,n,i,o,l,f)}function p2(e,u,n,t,i,o,l){let{index:f}=e;for(e.tokenPos=e.index,e.linePos=e.line,e.colPos=e.column;e.index=e.source.length)return s(e,32)}let i=e.index-1,o=0,l=e.currentChar,{index:f}=e;for(;R2(l);){switch(l){case 103:o&2&&s(e,34,"g"),o|=2;break;case 105:o&1&&s(e,34,"i"),o|=1;break;case 109:o&4&&s(e,34,"m"),o|=4;break;case 117:o&16&&s(e,34,"u"),o|=16;break;case 121:o&8&&s(e,34,"y"),o|=8;break;case 115:o&32&&s(e,34,"s"),o|=32;break;case 100:o&64&&s(e,34,"d"),o|=64;break;default:s(e,33)}l=A(e)}let c=e.source.slice(f,e.index),m=e.source.slice(n,i);return e.tokenRegExp={pattern:m,flags:c},u&512&&(e.tokenRaw=e.source.slice(e.tokenPos,e.index)),e.tokenValue=j1(e,m,c),65540}function j1(e,u,n){try{return new RegExp(u,n)}catch{try{return new RegExp(u,n.replace("d","")),null}catch{s(e,32)}}}function X1(e,u,n){let{index:t}=e,i="",o=A(e),l=e.index;for(;!(L[o]&8);){if(o===n)return i+=e.source.slice(l,e.index),A(e),u&512&&(e.tokenRaw=e.source.slice(t,e.index)),e.tokenValue=i,134283267;if((o&8)===8&&o===92){if(i+=e.source.slice(l,e.index),o=A(e),o<127||o===8232||o===8233){let f=Le(e,u,o);f>=0?i+=G(f):Ie(e,f,0)}else i+=G(o);l=e.index+1}e.index>=e.end&&s(e,14),o=A(e)}s(e,14)}function Le(e,u,n){switch(n){case 98:return 8;case 102:return 12;case 114:return 13;case 110:return 10;case 116:return 9;case 118:return 11;case 13:if(e.index1114111)return-5;return e.currentChar<1||e.currentChar!==125?-4:i}else{if(!(L[t]&64))return-4;let i=e.source.charCodeAt(e.index+1);if(!(L[i]&64))return-4;let o=e.source.charCodeAt(e.index+2);if(!(L[o]&64))return-4;let l=e.source.charCodeAt(e.index+3);return L[l]&64?(e.index+=3,e.column+=3,e.currentChar=e.source.charCodeAt(e.index),z(t)<<12|z(i)<<8|z(o)<<4|z(l)):-4}}case 56:case 57:if(!(u&256))return-3;default:return n}}function Ie(e,u,n){switch(u){case-1:return;case-2:s(e,n?2:1);case-3:s(e,13);case-4:s(e,6);case-5:s(e,102)}}function Ne(e,u){let{index:n}=e,t=67174409,i="",o=A(e);for(;o!==96;){if(o===36&&e.source.charCodeAt(e.index+1)===123){A(e),t=67174408;break}else if((o&8)===8&&o===92)if(o=A(e),o>126)i+=G(o);else{let l=Le(e,u|1024,o);if(l>=0)i+=G(l);else if(l!==-1&&u&65536){i=void 0,o=H1(e,o),o<0&&(t=67174408);break}else Ie(e,l,1)}else e.index=e.end&&s(e,15),o=A(e)}return A(e),e.tokenValue=i,e.tokenRaw=e.source.slice(n+1,e.index-(t===67174409?1:2)),t}function H1(e,u){for(;u!==96;){switch(u){case 36:{let n=e.index+1;if(n=e.end&&s(e,15),u=A(e)}return u}function z1(e,u){return e.index>=e.end&&s(e,0),e.index--,e.column--,Ne(e,u)}function Pe(e,u,n){let t=e.currentChar,i=0,o=9,l=n&64?0:1,f=0,c=0;if(n&64)i="."+q2(e,t),t=e.currentChar,t===110&&s(e,11);else{if(t===48)if(t=A(e),(t|32)===120){for(n=136,t=A(e);L[t]&4160;){if(t===95){c||s(e,147),c=0,t=A(e);continue}c=1,i=i*16+z(t),f++,t=A(e)}(f===0||!c)&&s(e,f===0?19:148)}else if((t|32)===111){for(n=132,t=A(e);L[t]&4128;){if(t===95){c||s(e,147),c=0,t=A(e);continue}c=1,i=i*8+(t-48),f++,t=A(e)}(f===0||!c)&&s(e,f===0?0:148)}else if((t|32)===98){for(n=130,t=A(e);L[t]&4224;){if(t===95){c||s(e,147),c=0,t=A(e);continue}c=1,i=i*2+(t-48),f++,t=A(e)}(f===0||!c)&&s(e,f===0?0:148)}else if(L[t]&32)for(u&1024&&s(e,1),n=1;L[t]&16;){if(L[t]&512){n=32,l=0;break}i=i*8+(t-48),t=A(e)}else L[t]&512?(u&1024&&s(e,1),e.flags|=64,n=32):t===95&&s(e,0);if(n&48){if(l){for(;o>=0&&L[t]&4112;){if(t===95){t=A(e),(t===95||n&32)&&A2(e.index,e.line,e.index+1,147),c=1;continue}c=0,i=10*i+(t-48),t=A(e),--o}if(c&&A2(e.index,e.line,e.index+1,148),o>=0&&!Y2(t)&&t!==46)return e.tokenValue=i,u&512&&(e.tokenRaw=e.source.slice(e.tokenPos,e.index)),134283266}i+=q2(e,t),t=e.currentChar,t===46&&(A(e)===95&&s(e,0),n=64,i+="."+q2(e,e.currentChar),t=e.currentChar)}}let m=e.index,g=0;if(t===110&&n&128)g=1,t=A(e);else if((t|32)===101){t=A(e),L[t]&256&&(t=A(e));let{index:a}=e;L[t]&16||s(e,10),i+=e.source.substring(m,a)+q2(e,t),t=e.currentChar}return(e.index","(","{",".","...","}",")",";",",","[","]",":","?","'",'"',"","++","--","=","<<=",">>=",">>>=","**=","+=","-=","*=","/=","%=","^=","|=","&=","||=","&&=","??=","typeof","delete","void","!","~","+","-","in","instanceof","*","%","/","**","&&","||","===","!==","==","!=","<=",">=","<",">","<<",">>",">>>","&","|","^","var","let","const","break","case","catch","class","continue","debugger","default","do","else","export","extends","finally","for","function","if","import","new","return","super","switch","this","throw","try","while","with","implements","interface","package","private","protected","public","static","yield","as","async","await","constructor","get","set","from","of","enum","eval","arguments","escaped keyword","escaped future reserved keyword","reserved if strict","#","BigIntLiteral","??","?.","WhiteSpace","Illegal","LineTerminator","PrivateField","Template","@","target","meta","LineFeed","Escaped","JSXText"],Ve=Object.create(null,{this:{value:86113},function:{value:86106},if:{value:20571},return:{value:20574},var:{value:86090},else:{value:20565},for:{value:20569},new:{value:86109},in:{value:8738868},typeof:{value:16863277},while:{value:20580},case:{value:20558},break:{value:20557},try:{value:20579},catch:{value:20559},delete:{value:16863278},throw:{value:86114},switch:{value:86112},continue:{value:20561},default:{value:20563},instanceof:{value:8476725},do:{value:20564},void:{value:16863279},finally:{value:20568},async:{value:209007},await:{value:209008},class:{value:86096},const:{value:86092},constructor:{value:12401},debugger:{value:20562},export:{value:20566},extends:{value:20567},false:{value:86021},from:{value:12404},get:{value:12402},implements:{value:36966},import:{value:86108},interface:{value:36967},let:{value:241739},null:{value:86023},of:{value:274549},package:{value:36968},private:{value:36969},protected:{value:36970},public:{value:36971},set:{value:12403},static:{value:36972},super:{value:86111},true:{value:86022},with:{value:20581},yield:{value:241773},enum:{value:86134},eval:{value:537079927},as:{value:77934},arguments:{value:537079928},target:{value:143494},meta:{value:143495}});function Ee(e,u,n){for(;Fe[A(e)];);return e.tokenValue=e.source.slice(e.tokenPos,e.index),e.currentChar!==92&&e.currentChar<=126?Ve[e.tokenValue]||208897:ee(e,u,0,n)}function K1(e,u){let n=Re(e);return R2(n)||s(e,4),e.tokenValue=G(n),ee(e,u,1,L[n]&4)}function ee(e,u,n,t){let i=e.index;for(;e.index=2&&o<=11){let l=Ve[e.tokenValue];return l===void 0?208897:n?l===209008?u&4196352?121:l:u&1024?l===36972||(l&36864)===36864?122:(l&20480)===20480?u&268435456&&!(u&8192)?l:121:143483:u&268435456&&!(u&8192)&&(l&20480)===20480?l:l===241773?u&268435456?143483:u&2097152?121:l:l===209007?143483:(l&36864)===36864?l:121:l}return 208897}function $1(e){return Y2(A(e))||s(e,94),131}function Re(e){return e.source.charCodeAt(e.index+1)!==117&&s(e,4),e.currentChar=e.source.charCodeAt(e.index+=2),W1(e)}function W1(e){let u=0,n=e.currentChar;if(n===123){let l=e.index-2;for(;L[A(e)]&64;)u=u<<4|z(e.currentChar),u>1114111&&A2(l,e.line,e.index+1,102);return e.currentChar!==125&&A2(l,e.line,e.index-1,6),A(e),u}L[n]&64||s(e,6);let t=e.source.charCodeAt(e.index+1);L[t]&64||s(e,6);let i=e.source.charCodeAt(e.index+2);L[i]&64||s(e,6);let o=e.source.charCodeAt(e.index+3);return L[o]&64||s(e,6),u=z(n)<<12|z(t)<<8|z(i)<<4|z(o),e.currentChar=e.source.charCodeAt(e.index+=4),u}var Oe=[129,129,129,129,129,129,129,129,129,128,136,128,128,130,129,129,129,129,129,129,129,129,129,129,129,129,129,129,129,129,129,129,128,16842800,134283267,131,208897,8457015,8455751,134283267,67174411,16,8457014,25233970,18,25233971,67108877,8457016,134283266,134283266,134283266,134283266,134283266,134283266,134283266,134283266,134283266,134283266,21,1074790417,8456258,1077936157,8456259,22,133,208897,208897,208897,208897,208897,208897,208897,208897,208897,208897,208897,208897,208897,208897,208897,208897,208897,208897,208897,208897,208897,208897,208897,208897,208897,208897,69271571,137,20,8455497,208897,132,4096,4096,4096,4096,4096,4096,4096,208897,4096,208897,208897,4096,208897,4096,208897,4096,208897,4096,4096,4096,208897,4096,4096,208897,4096,4096,2162700,8455240,1074790415,16842801,129];function D(e,u){if(e.flags=(e.flags|1)^1,e.startPos=e.index,e.startColumn=e.column,e.startLine=e.line,e.token=Ue(e,u,0),e.onToken&&e.token!==1048576){let n={start:{line:e.linePos,column:e.colPos},end:{line:e.line,column:e.column}};e.onToken(R1(e.token),e.tokenPos,e.index,n)}}function Ue(e,u,n){let t=e.index===0,i=e.source,o=e.index,l=e.line,f=e.column;for(;e.index=e.end)return 8457014;let d=e.currentChar;return d===61?(A(e),4194340):d!==42?8457014:A(e)!==61?8457273:(A(e),4194337)}case 8455497:return A(e)!==61?8455497:(A(e),4194343);case 25233970:{A(e);let d=e.currentChar;return d===43?(A(e),33619995):d===61?(A(e),4194338):25233970}case 25233971:{A(e);let d=e.currentChar;if(d===45){if(A(e),(n&1||t)&&e.currentChar===62){u&256||s(e,109),A(e),n=Ce(e,i,n,u,3,o,l,f),o=e.tokenPos,l=e.linePos,f=e.colPos;continue}return 33619996}return d===61?(A(e),4194339):25233971}case 8457016:{if(A(e),e.index=48&&a<=57)return Pe(e,u,80);if(a===46){let d=e.index+1;if(d=48&&d<=57)))return A(e),67108991}return 22}}}else{if((c^8232)<=1){n=n&-5|1,c2(e);continue}if((c&64512)===55296||P2[(c>>>5)+34816]>>>c&31&1)return(c&64512)===56320&&(c=(c&1023)<<10|c&1023|65536,P2[(c>>>5)+0]>>>c&31&1||s(e,18,G(c)),e.index++,e.currentChar=c),e.column++,e.tokenValue="",ee(e,u,0,0);if(V1(c)){A(e);continue}s(e,18,G(c))}}return 1048576}function _1(e,u){return e.startPos=e.tokenPos=e.index,e.startColumn=e.colPos=e.column,e.startLine=e.linePos=e.line,e.token=L[e.currentChar]&8192?Y1(e,u):Ue(e,u,0),e.token}function Y1(e,u){let n=e.currentChar,t=A(e),i=e.index;for(;t!==n;)e.index>=e.end&&s(e,14),t=A(e);return t!==n&&s(e,14),e.tokenValue=e.source.slice(i,e.index),A(e),u&512&&(e.tokenRaw=e.source.slice(e.tokenPos,e.index)),134283267}function d2(e,u){if(e.startPos=e.tokenPos=e.index,e.startColumn=e.colPos=e.column,e.startLine=e.linePos=e.line,e.index>=e.end)return e.token=1048576;switch(Oe[e.source.charCodeAt(e.index)]){case 8456258:{A(e),e.currentChar===47?(A(e),e.token=25):e.token=8456258;break}case 2162700:{A(e),e.token=2162700;break}default:{let t=0;for(;e.index1&&i&32&&e.token&262144&&s(e,59,O[e.token&255]),l}function Se(e,u,n,t,i){let{token:o,tokenPos:l,linePos:f,colPos:c}=e,m=null,g=i1(e,u,n,t,i,l,f,c);return e.token===1077936157?(D(e,u|32768),m=R(e,u,1,0,e.tokenPos,e.linePos,e.colPos),(i&32||!(o&2097152))&&(e.token===274549||e.token===8738868&&(o&2097152||!(t&4)||u&1024))&&k2(l,e.line,e.index-3,58,e.token===274549?"of":"in")):(t&16||(o&2097152)>0)&&(e.token&262144)!==262144&&s(e,57,t&16?"const":"destructuring"),y(e,u,l,f,c,{type:"VariableDeclarator",id:g,init:m})}function Cu(e,u,n,t,i,o,l){D(e,u);let f=((u&4194304)>0||(u&2048)>0&&(u&8192)>0)&&q(e,u,209008);P(e,u|32768,67174411),n&&(n=J(n,1));let c=null,m=null,g=0,a=null,d=e.token===86090||e.token===241739||e.token===86092,k,{token:C,tokenPos:b,linePos:E,colPos:w}=e;if(d?C===241739?(a=I(e,u),e.token&2240512?(e.token===8738868?u&1024&&s(e,65):a=y(e,u,b,E,w,{type:"VariableDeclaration",kind:"let",declarations:g2(e,u|134217728,n,8,32)}),e.assignable=1):u&1024?s(e,65):(d=!1,e.assignable=1,a=N(e,u,a,0,0,b,E,w),e.token===274549&&s(e,112))):(D(e,u),a=y(e,u,b,E,w,C===86090?{type:"VariableDeclaration",kind:"var",declarations:g2(e,u|134217728,n,4,32)}:{type:"VariableDeclaration",kind:"const",declarations:g2(e,u|134217728,n,16,32)}),e.assignable=1):C===1074790417?f&&s(e,80):(C&2097152)===2097152?(a=C===2162700?Y(e,u,void 0,1,0,0,2,32,b,E,w):_(e,u,void 0,1,0,0,2,32,b,E,w),g=e.destructible,u&256&&g&64&&s(e,61),e.assignable=g&16?2:1,a=N(e,u|134217728,a,0,0,e.tokenPos,e.linePos,e.colPos)):a=W(e,u|134217728,1,0,1,b,E,w),(e.token&262144)===262144){if(e.token===274549){e.assignable&2&&s(e,78,f?"await":"of"),r(e,a),D(e,u|32768),k=R(e,u,1,0,e.tokenPos,e.linePos,e.colPos),P(e,u|32768,16);let S=C2(e,u,n,t);return y(e,u,i,o,l,{type:"ForOfStatement",left:a,right:k,body:S,await:f})}e.assignable&2&&s(e,78,"in"),r(e,a),D(e,u|32768),f&&s(e,80),k=j(e,u,0,1,e.tokenPos,e.linePos,e.colPos),P(e,u|32768,16);let M=C2(e,u,n,t);return y(e,u,i,o,l,{type:"ForInStatement",body:M,left:a,right:k})}f&&s(e,80),d||(g&8&&e.token!==1077936157&&s(e,78,"loop"),a=U(e,u|134217728,0,0,b,E,w,a)),e.token===18&&(a=p(e,u,0,e.tokenPos,e.linePos,e.colPos,a)),P(e,u|32768,1074790417),e.token!==1074790417&&(c=j(e,u,0,1,e.tokenPos,e.linePos,e.colPos)),P(e,u|32768,1074790417),e.token!==16&&(m=j(e,u,0,1,e.tokenPos,e.linePos,e.colPos)),P(e,u|32768,16);let v=C2(e,u,n,t);return y(e,u,i,o,l,{type:"ForStatement",init:a,test:c,update:m,body:v})}function $e(e,u,n){return ne(u,e.token)||s(e,115),(e.token&537079808)===537079808&&s(e,116),n&&t2(e,u,n,e.tokenValue,8,0),I(e,u)}function Pu(e,u,n){let t=e.tokenPos,i=e.linePos,o=e.colPos;D(e,u);let l=null,{tokenPos:f,linePos:c,colPos:m}=e,g=[];if(e.token===134283267)l=X(e,u);else{if(e.token&143360){let a=$e(e,u,n);if(g=[y(e,u,f,c,m,{type:"ImportDefaultSpecifier",local:a})],q(e,u,18))switch(e.token){case 8457014:g.push(Be(e,u,n));break;case 2162700:ve(e,u,n,g);break;default:s(e,105)}}else switch(e.token){case 8457014:g=[Be(e,u,n)];break;case 2162700:ve(e,u,n,g);break;case 67174411:return _e(e,u,t,i,o);case 67108877:return We(e,u,t,i,o);default:s(e,28,O[e.token&255])}l=Eu(e,u)}return H(e,u|32768),y(e,u,t,i,o,{type:"ImportDeclaration",specifiers:g,source:l})}function Be(e,u,n){let{tokenPos:t,linePos:i,colPos:o}=e;return D(e,u),P(e,u,77934),(e.token&134217728)===134217728&&k2(t,e.line,e.index,28,O[e.token&255]),y(e,u,t,i,o,{type:"ImportNamespaceSpecifier",local:$e(e,u,n)})}function Eu(e,u){return q(e,u,12404)||s(e,28,O[e.token&255]),e.token!==134283267&&s(e,103,"Import"),X(e,u)}function ve(e,u,n,t){for(D(e,u);e.token&143360;){let{token:i,tokenValue:o,tokenPos:l,linePos:f,colPos:c}=e,m=I(e,u),g;q(e,u,77934)?((e.token&134217728)===134217728||e.token===18?s(e,104):O2(e,u,16,e.token,0),o=e.tokenValue,g=I(e,u)):(O2(e,u,16,i,0),g=m),n&&t2(e,u,n,o,8,0),t.push(y(e,u,l,f,c,{type:"ImportSpecifier",local:g,imported:m})),e.token!==1074790415&&P(e,u,18)}return P(e,u,1074790415),t}function We(e,u,n,t,i){let o=Qe(e,u,y(e,u,n,t,i,{type:"Identifier",name:"import"}),n,t,i);return o=N(e,u,o,0,0,n,t,i),o=U(e,u,0,0,n,t,i,o),e.token===18&&(o=p(e,u,0,n,t,i,o)),h2(e,u,o,n,t,i)}function _e(e,u,n,t,i){let o=Ze(e,u,0,n,t,i);return o=N(e,u,o,0,0,n,t,i),e.token===18&&(o=p(e,u,0,n,t,i,o)),h2(e,u,o,n,t,i)}function wu(e,u,n){let t=e.tokenPos,i=e.linePos,o=e.colPos;D(e,u|32768);let l=[],f=null,c=null,m;if(q(e,u|32768,20563)){switch(e.token){case 86106:{f=i2(e,u,n,4,1,1,0,e.tokenPos,e.linePos,e.colPos);break}case 133:case 86096:f=G2(e,u,n,1,e.tokenPos,e.linePos,e.colPos);break;case 209007:let{tokenPos:g,linePos:a,colPos:d}=e;f=I(e,u);let{flags:k}=e;k&1||(e.token===86106?f=i2(e,u,n,4,1,1,1,g,a,d):e.token===67174411?(f=se(e,u,f,1,1,0,k,g,a,d),f=N(e,u,f,0,0,g,a,d),f=U(e,u,0,0,g,a,d,f)):e.token&143360&&(n&&(n=X2(e,u,e.tokenValue)),f=I(e,u),f=B2(e,u,n,[f],1,g,a,d)));break;default:f=R(e,u,1,0,e.tokenPos,e.linePos,e.colPos),H(e,u|32768)}return n&&l2(e,"default"),y(e,u,t,i,o,{type:"ExportDefaultDeclaration",declaration:f})}switch(e.token){case 8457014:{D(e,u);let k=null;return q(e,u,77934)&&(n&&l2(e,e.tokenValue),k=I(e,u)),P(e,u,12404),e.token!==134283267&&s(e,103,"Export"),c=X(e,u),H(e,u|32768),y(e,u,t,i,o,{type:"ExportAllDeclaration",source:c,exported:k})}case 2162700:{D(e,u);let k=[],C=[];for(;e.token&143360;){let{tokenPos:b,tokenValue:E,linePos:w,colPos:v}=e,M=I(e,u),S;e.token===77934?(D(e,u),(e.token&134217728)===134217728&&s(e,104),n&&(k.push(e.tokenValue),C.push(E)),S=I(e,u)):(n&&(k.push(e.tokenValue),C.push(e.tokenValue)),S=M),l.push(y(e,u,b,w,v,{type:"ExportSpecifier",local:M,exported:S})),e.token!==1074790415&&P(e,u,18)}if(P(e,u,1074790415),q(e,u,12404))e.token!==134283267&&s(e,103,"Export"),c=X(e,u);else if(n){let b=0,E=k.length;for(;b0)&8738868,g,a;for(e.assignable=2;e.token&8454144&&(g=e.token,a=g&3840,(g&524288&&f&268435456||f&524288&&g&268435456)&&s(e,160),!(a+((g===8457273)<<8)-((m===g)<<12)<=l));)D(e,u|32768),c=y(e,u,t,i,o,{type:g&524288||g&268435456?"LogicalExpression":"BinaryExpression",left:c,right:n2(e,u,n,e.tokenPos,e.linePos,e.colPos,a,g,W(e,u,0,n,1,e.tokenPos,e.linePos,e.colPos)),operator:O[g&255]});return e.token===1077936157&&s(e,24),c}function Su(e,u,n,t,i,o,l){n||s(e,0);let f=e.token;D(e,u|32768);let c=W(e,u,0,l,1,e.tokenPos,e.linePos,e.colPos);return e.token===8457273&&s(e,31),u&1024&&f===16863278&&(c.type==="Identifier"?s(e,118):Q1(c)&&s(e,124)),e.assignable=2,y(e,u,t,i,o,{type:"UnaryExpression",operator:O[f&255],argument:c,prefix:!0})}function Bu(e,u,n,t,i,o,l,f,c){let{token:m}=e,g=I(e,u),{flags:a}=e;if(!(a&1)){if(e.token===86106)return Ge(e,u,1,n,l,f,c);if((e.token&143360)===143360)return t||s(e,0),e1(e,u,i,l,f,c)}return!o&&e.token===67174411?se(e,u,g,i,1,0,a,l,f,c):e.token===10?(ie(e,u,m),o&&s(e,49),z2(e,u,e.tokenValue,g,o,i,0,l,f,c)):(e.assignable=1,g)}function vu(e,u,n,t,i,o,l){if(n&&(e.destructible|=256),u&2097152){D(e,u|32768),u&8388608&&s(e,30),t||s(e,24),e.token===22&&s(e,121);let f=null,c=!1;return e.flags&1||(c=q(e,u|32768,8457014),(e.token&77824||c)&&(f=R(e,u,1,0,e.tokenPos,e.linePos,e.colPos))),e.assignable=2,y(e,u,i,o,l,{type:"YieldExpression",argument:f,delegate:c})}return u&1024&&s(e,95,"yield"),de(e,u,i,o,l)}function Tu(e,u,n,t,i,o,l){if(t&&(e.destructible|=128),u&4194304||u&2048&&u&8192){n&&s(e,0),u&8388608&&k2(e.index,e.line,e.index,29),D(e,u|32768);let f=W(e,u,0,0,1,e.tokenPos,e.linePos,e.colPos);return e.token===8457273&&s(e,31),e.assignable=2,y(e,u,i,o,l,{type:"AwaitExpression",argument:f})}return u&2048&&s(e,96),de(e,u,i,o,l)}function H2(e,u,n,t,i,o){let{tokenPos:l,linePos:f,colPos:c}=e;P(e,u|32768,2162700);let m=[],g=u;if(e.token!==1074790415){for(;e.token===134283267;){let{index:a,tokenPos:d,tokenValue:k,token:C}=e,b=X(e,u);Me(e,a,d,k)&&(u|=1024,e.flags&128&&k2(e.index,e.line,e.tokenPos,64),e.flags&64&&k2(e.index,e.line,e.tokenPos,8)),m.push(oe(e,u,b,C,d,e.linePos,e.colPos))}u&1024&&(i&&((i&537079808)===537079808&&s(e,116),(i&36864)===36864&&s(e,38)),e.flags&512&&s(e,116),e.flags&256&&s(e,115)),u&64&&n&&o!==void 0&&!(g&1024)&&!(u&8192)&&j2(o)}for(e.flags=(e.flags|512|256|64)^832,e.destructible=(e.destructible|256)^256;e.token!==1074790415;)m.push(w2(e,u,n,4,{}));return P(e,t&24?u|32768:u,1074790415),e.flags&=-193,e.token===1077936157&&s(e,24),y(e,u,l,f,c,{type:"BlockStatement",body:m})}function Fu(e,u,n,t,i){switch(D(e,u),e.token){case 67108991:s(e,162);case 67174411:{u&524288||s(e,26),u&16384&&!(u&33554432)&&s(e,27),e.assignable=2;break}case 69271571:case 67108877:{u&262144||s(e,27),u&16384&&!(u&33554432)&&s(e,27),e.assignable=1;break}default:s(e,28,"super")}return y(e,u,n,t,i,{type:"Super"})}function W(e,u,n,t,i,o,l,f){let c=K(e,u,2,0,n,t,i,o,l,f);return N(e,u,c,t,0,o,l,f)}function qu(e,u,n,t,i,o){e.assignable&2&&s(e,53);let{token:l}=e;return D(e,u),e.assignable=2,y(e,u,t,i,o,{type:"UpdateExpression",argument:n,operator:O[l&255],prefix:!1})}function N(e,u,n,t,i,o,l,f){if((e.token&33619968)===33619968&&!(e.flags&1))n=qu(e,u,n,o,l,f);else if((e.token&67108864)===67108864){switch(u=(u|134217728)^134217728,e.token){case 67108877:{D(e,(u|268435456|8192)^8192),u&16384&&e.token===131&&e.tokenValue==="super"&&s(e,27),e.assignable=1;let c=Ye(e,u|65536);n=y(e,u,o,l,f,{type:"MemberExpression",object:n,computed:!1,property:c});break}case 69271571:{let c=!1;(e.flags&2048)===2048&&(c=!0,e.flags=(e.flags|2048)^2048),D(e,u|32768);let{tokenPos:m,linePos:g,colPos:a}=e,d=j(e,u,t,1,m,g,a);P(e,u,20),e.assignable=1,n=y(e,u,o,l,f,{type:"MemberExpression",object:n,computed:!0,property:d}),c&&(e.flags|=2048);break}case 67174411:{if((e.flags&1024)===1024)return e.flags=(e.flags|1024)^1024,n;let c=!1;(e.flags&2048)===2048&&(c=!0,e.flags=(e.flags|2048)^2048);let m=ce(e,u,t);e.assignable=2,n=y(e,u,o,l,f,{type:"CallExpression",callee:n,arguments:m}),c&&(e.flags|=2048);break}case 67108991:{D(e,(u|268435456|8192)^8192),e.flags|=2048,e.assignable=2,n=Lu(e,u,n,o,l,f);break}default:(e.flags&2048)===2048&&s(e,161),e.assignable=2,n=y(e,u,o,l,f,{type:"TaggedTemplateExpression",tag:n,quasi:e.token===67174408?fe(e,u|65536):le(e,u,e.tokenPos,e.linePos,e.colPos)})}n=N(e,u,n,0,1,o,l,f)}return i===0&&(e.flags&2048)===2048&&(e.flags=(e.flags|2048)^2048,n=y(e,u,o,l,f,{type:"ChainExpression",expression:n})),n}function Lu(e,u,n,t,i,o){let l=!1,f;if((e.token===69271571||e.token===67174411)&&(e.flags&2048)===2048&&(l=!0,e.flags=(e.flags|2048)^2048),e.token===69271571){D(e,u|32768);let{tokenPos:c,linePos:m,colPos:g}=e,a=j(e,u,0,1,c,m,g);P(e,u,20),e.assignable=2,f=y(e,u,t,i,o,{type:"MemberExpression",object:n,computed:!0,optional:!0,property:a})}else if(e.token===67174411){let c=ce(e,u,0);e.assignable=2,f=y(e,u,t,i,o,{type:"CallExpression",callee:n,arguments:c,optional:!0})}else{e.token&143360||s(e,155);let c=I(e,u);e.assignable=2,f=y(e,u,t,i,o,{type:"MemberExpression",object:n,computed:!1,optional:!0,property:c})}return l&&(e.flags|=2048),f}function Ye(e,u){return!(e.token&143360)&&e.token!==131&&s(e,155),u&1&&e.token===131?J2(e,u,e.tokenPos,e.linePos,e.colPos):I(e,u)}function Iu(e,u,n,t,i,o,l){n&&s(e,54),t||s(e,0);let{token:f}=e;D(e,u|32768);let c=W(e,u,0,0,1,e.tokenPos,e.linePos,e.colPos);return e.assignable&2&&s(e,53),e.assignable=2,y(e,u,i,o,l,{type:"UpdateExpression",argument:c,operator:O[f&255],prefix:!0})}function K(e,u,n,t,i,o,l,f,c,m){if((e.token&143360)===143360){switch(e.token){case 209008:return Tu(e,u,t,o,f,c,m);case 241773:return vu(e,u,o,i,f,c,m);case 209007:return Bu(e,u,o,l,i,t,f,c,m)}let{token:g,tokenValue:a}=e,d=I(e,u|65536);return e.token===10?(l||s(e,0),ie(e,u,g),z2(e,u,a,d,t,i,0,f,c,m)):(u&16384&&g===537079928&&s(e,127),g===241739&&(u&1024&&s(e,110),n&24&&s(e,98)),e.assignable=u&1024&&(g&537079808)===537079808?2:1,d)}if((e.token&134217728)===134217728)return X(e,u);switch(e.token){case 33619995:case 33619996:return Iu(e,u,t,l,f,c,m);case 16863278:case 16842800:case 16842801:case 25233970:case 25233971:case 16863277:case 16863279:return Su(e,u,l,f,c,m,o);case 86106:return Ge(e,u,0,o,f,c,m);case 2162700:return Mu(e,u,i?0:1,o,f,c,m);case 69271571:return Uu(e,u,i?0:1,o,f,c,m);case 67174411:return ju(e,u|65536,i,1,0,f,c,m);case 86021:case 86022:case 86023:return Ru(e,u,f,c,m);case 86113:return Ou(e,u);case 65540:return zu(e,u,f,c,m);case 133:case 86096:return Ku(e,u,o,f,c,m);case 86111:return Fu(e,u,f,c,m);case 67174409:return le(e,u,f,c,m);case 67174408:return fe(e,u);case 86109:return Xu(e,u,o,f,c,m);case 134283389:return re(e,u,f,c,m);case 131:return J2(e,u,f,c,m);case 86108:return Nu(e,u,t,o,f,c,m);case 8456258:if(u&16)return me(e,u,1,f,c,m);default:if(ne(u,e.token))return de(e,u,f,c,m);s(e,28,O[e.token&255])}}function Nu(e,u,n,t,i,o,l){let f=I(e,u);return e.token===67108877?Qe(e,u,f,i,o,l):(n&&s(e,138),f=Ze(e,u,t,i,o,l),e.assignable=2,N(e,u,f,t,0,i,o,l))}function Qe(e,u,n,t,i,o){return u&2048||s(e,164),D(e,u),e.token!==143495&&e.tokenValue!=="meta"&&s(e,28,O[e.token&255]),e.assignable=2,y(e,u,t,i,o,{type:"MetaProperty",meta:n,property:I(e,u)})}function Ze(e,u,n,t,i,o){P(e,u|32768,67174411),e.token===14&&s(e,139);let l=R(e,u,1,n,e.tokenPos,e.linePos,e.colPos);return P(e,u,16),y(e,u,t,i,o,{type:"ImportExpression",source:l})}function re(e,u,n,t,i){let{tokenRaw:o,tokenValue:l}=e;return D(e,u),e.assignable=2,y(e,u,n,t,i,u&512?{type:"Literal",value:l,bigint:o.slice(0,-1),raw:o}:{type:"Literal",value:l,bigint:o.slice(0,-1)})}function le(e,u,n,t,i){e.assignable=2;let{tokenValue:o,tokenRaw:l,tokenPos:f,linePos:c,colPos:m}=e;P(e,u,67174409);let g=[N2(e,u,o,l,f,c,m,!0)];return y(e,u,n,t,i,{type:"TemplateLiteral",expressions:[],quasis:g})}function fe(e,u){u=(u|134217728)^134217728;let{tokenValue:n,tokenRaw:t,tokenPos:i,linePos:o,colPos:l}=e;P(e,u|32768,67174408);let f=[N2(e,u,n,t,i,o,l,!1)],c=[j(e,u,0,1,e.tokenPos,e.linePos,e.colPos)];for(e.token!==1074790415&&s(e,81);(e.token=z1(e,u))!==67174409;){let{tokenValue:m,tokenRaw:g,tokenPos:a,linePos:d,colPos:k}=e;P(e,u|32768,67174408),f.push(N2(e,u,m,g,a,d,k,!1)),c.push(j(e,u,0,1,e.tokenPos,e.linePos,e.colPos)),e.token!==1074790415&&s(e,81)}{let{tokenValue:m,tokenRaw:g,tokenPos:a,linePos:d,colPos:k}=e;P(e,u,67174409),f.push(N2(e,u,m,g,a,d,k,!0))}return y(e,u,i,o,l,{type:"TemplateLiteral",expressions:c,quasis:f})}function N2(e,u,n,t,i,o,l,f){let c=y(e,u,i,o,l,{type:"TemplateElement",value:{cooked:n,raw:t},tail:f}),m=f?1:2;return u&2&&(c.start+=1,c.range[0]+=1,c.end-=m,c.range[1]-=m),u&4&&(c.loc.start.column+=1,c.loc.end.column-=m),c}function Vu(e,u,n,t,i){u=(u|134217728)^134217728,P(e,u|32768,14);let o=R(e,u,1,0,e.tokenPos,e.linePos,e.colPos);return e.assignable=1,y(e,u,n,t,i,{type:"SpreadElement",argument:o})}function ce(e,u,n){D(e,u|32768);let t=[];if(e.token===16)return D(e,u|65536),t;for(;e.token!==16&&(e.token===14?t.push(Vu(e,u,e.tokenPos,e.linePos,e.colPos)):t.push(R(e,u,1,n,e.tokenPos,e.linePos,e.colPos)),!(e.token!==18||(D(e,u|32768),e.token===16))););return P(e,u,16),t}function I(e,u){let{tokenValue:n,tokenPos:t,linePos:i,colPos:o}=e;return D(e,u),y(e,u,t,i,o,{type:"Identifier",name:n})}function X(e,u){let{tokenValue:n,tokenRaw:t,tokenPos:i,linePos:o,colPos:l}=e;return e.token===134283389?re(e,u,i,o,l):(D(e,u),e.assignable=2,y(e,u,i,o,l,u&512?{type:"Literal",value:n,raw:t}:{type:"Literal",value:n}))}function Ru(e,u,n,t,i){let o=O[e.token&255],l=e.token===86023?null:o==="true";return D(e,u),e.assignable=2,y(e,u,n,t,i,u&512?{type:"Literal",value:l,raw:o}:{type:"Literal",value:l})}function Ou(e,u){let{tokenPos:n,linePos:t,colPos:i}=e;return D(e,u),e.assignable=2,y(e,u,n,t,i,{type:"ThisExpression"})}function i2(e,u,n,t,i,o,l,f,c,m){D(e,u|32768);let g=i?ue(e,u,8457014):0,a=null,d,k=n?s2():void 0;if(e.token===67174411)o&1||s(e,37,"Function");else{let E=t&4&&(!(u&8192)||!(u&2048))?4:64;Je(e,u|(u&3072)<<11,e.token),n&&(E&4?He(e,u,n,e.tokenValue,E):t2(e,u,n,e.tokenValue,E,t),k=J(k,256),o&&o&2&&l2(e,e.tokenValue)),d=e.token,e.token&143360?a=I(e,u):s(e,28,O[e.token&255])}u=(u|32243712)^32243712|67108864|l*2+g<<21|(g?0:268435456),n&&(k=J(k,512));let C=pe(e,u|8388608,k,0,1),b=H2(e,(u|8192|4096|131072)^143360,n?J(k,128):k,8,d,n?k.scopeError:void 0);return y(e,u,f,c,m,{type:"FunctionDeclaration",id:a,params:C,body:b,async:l===1,generator:g===1})}function Ge(e,u,n,t,i,o,l){D(e,u|32768);let f=ue(e,u,8457014),c=n*2+f<<21,m=null,g,a=u&64?s2():void 0;(e.token&176128)>0&&(Je(e,(u|32243712)^32243712|c,e.token),a&&(a=J(a,256)),g=e.token,m=I(e,u)),u=(u|32243712)^32243712|67108864|c|(f?0:268435456),a&&(a=J(a,512));let d=pe(e,u|8388608,a,t,1),k=H2(e,u&-134377473,a&&J(a,128),0,g,void 0);return e.assignable=2,y(e,u,i,o,l,{type:"FunctionExpression",id:m,params:d,body:k,async:n===1,generator:f===1})}function Uu(e,u,n,t,i,o,l){let f=_(e,u,void 0,n,t,0,2,0,i,o,l);return u&256&&e.destructible&64&&s(e,61),e.destructible&8&&s(e,60),f}function _(e,u,n,t,i,o,l,f,c,m,g){D(e,u|32768);let a=[],d=0;for(u=(u|134217728)^134217728;e.token!==20;)if(q(e,u|32768,18))a.push(null);else{let C,{token:b,tokenPos:E,linePos:w,colPos:v,tokenValue:M}=e;if(b&143360)if(C=K(e,u,l,0,1,i,1,E,w,v),e.token===1077936157){e.assignable&2&&s(e,24),D(e,u|32768),n&&u2(e,u,n,M,l,f);let S=R(e,u,1,i,e.tokenPos,e.linePos,e.colPos);C=y(e,u,E,w,v,o?{type:"AssignmentPattern",left:C,right:S}:{type:"AssignmentExpression",operator:"=",left:C,right:S}),d|=e.destructible&256?256:0|e.destructible&128?128:0}else e.token===18||e.token===20?(e.assignable&2?d|=16:n&&u2(e,u,n,M,l,f),d|=e.destructible&256?256:0|e.destructible&128?128:0):(d|=l&1?32:l&2?0:16,C=N(e,u,C,i,0,E,w,v),e.token!==18&&e.token!==20?(e.token!==1077936157&&(d|=16),C=U(e,u,i,o,E,w,v,C)):e.token!==1077936157&&(d|=e.assignable&2?16:32));else b&2097152?(C=e.token===2162700?Y(e,u,n,0,i,o,l,f,E,w,v):_(e,u,n,0,i,o,l,f,E,w,v),d|=e.destructible,e.assignable=e.destructible&16?2:1,e.token===18||e.token===20?e.assignable&2&&(d|=16):e.destructible&8?s(e,69):(C=N(e,u,C,i,0,E,w,v),d=e.assignable&2?16:0,e.token!==18&&e.token!==20?C=U(e,u,i,o,E,w,v,C):e.token!==1077936157&&(d|=e.assignable&2?16:32))):b===14?(C=D2(e,u,n,20,l,f,0,i,o,E,w,v),d|=e.destructible,e.token!==18&&e.token!==20&&s(e,28,O[e.token&255])):(C=W(e,u,1,0,1,E,w,v),e.token!==18&&e.token!==20?(C=U(e,u,i,o,E,w,v,C),!(l&3)&&b===67174411&&(d|=16)):e.assignable&2?d|=16:b===67174411&&(d|=e.assignable&1&&l&3?32:16));if(a.push(C),q(e,u|32768,18)){if(e.token===20)break}else break}P(e,u,20);let k=y(e,u,c,m,g,{type:o?"ArrayPattern":"ArrayExpression",elements:a});return!t&&e.token&4194304?xe(e,u,d,i,o,c,m,g,k):(e.destructible=d,k)}function xe(e,u,n,t,i,o,l,f,c){e.token!==1077936157&&s(e,24),D(e,u|32768),n&16&&s(e,24),i||r(e,c);let{tokenPos:m,linePos:g,colPos:a}=e,d=R(e,u,1,t,m,g,a);return e.destructible=(n|64|8)^72|(e.destructible&128?128:0)|(e.destructible&256?256:0),y(e,u,o,l,f,i?{type:"AssignmentPattern",left:c,right:d}:{type:"AssignmentExpression",left:c,operator:"=",right:d})}function D2(e,u,n,t,i,o,l,f,c,m,g,a){D(e,u|32768);let d=null,k=0,{token:C,tokenValue:b,tokenPos:E,linePos:w,colPos:v}=e;if(C&143360)e.assignable=1,d=K(e,u,i,0,1,f,1,E,w,v),C=e.token,d=N(e,u,d,f,0,E,w,v),e.token!==18&&e.token!==t&&(e.assignable&2&&e.token===1077936157&&s(e,69),k|=16,d=U(e,u,f,c,E,w,v,d)),e.assignable&2?k|=16:C===t||C===18?n&&u2(e,u,n,b,i,o):k|=32,k|=e.destructible&128?128:0;else if(C===t)s(e,39);else if(C&2097152)d=e.token===2162700?Y(e,u,n,1,f,c,i,o,E,w,v):_(e,u,n,1,f,c,i,o,E,w,v),C=e.token,C!==1077936157&&C!==t&&C!==18?(e.destructible&8&&s(e,69),d=N(e,u,d,f,0,E,w,v),k|=e.assignable&2?16:0,(e.token&4194304)===4194304?(e.token!==1077936157&&(k|=16),d=U(e,u,f,c,E,w,v,d)):((e.token&8454144)===8454144&&(d=n2(e,u,1,E,w,v,4,C,d)),q(e,u|32768,22)&&(d=f2(e,u,d,E,w,v)),k|=e.assignable&2?16:32)):k|=t===1074790415&&C!==1077936157?16:e.destructible;else{k|=32,d=W(e,u,1,f,1,e.tokenPos,e.linePos,e.colPos);let{token:M,tokenPos:S,linePos:V,colPos:h}=e;return M===1077936157&&M!==t&&M!==18?(e.assignable&2&&s(e,24),d=U(e,u,f,c,S,V,h,d),k|=16):(M===18?k|=16:M!==t&&(d=U(e,u,f,c,S,V,h,d)),k|=e.assignable&1?32:16),e.destructible=k,e.token!==t&&e.token!==18&&s(e,156),y(e,u,m,g,a,{type:c?"RestElement":"SpreadElement",argument:d})}if(e.token!==t)if(i&1&&(k|=l?16:32),q(e,u|32768,1077936157)){k&16&&s(e,24),r(e,d);let M=R(e,u,1,f,e.tokenPos,e.linePos,e.colPos);d=y(e,u,E,w,v,c?{type:"AssignmentPattern",left:d,right:M}:{type:"AssignmentExpression",left:d,operator:"=",right:M}),k=16}else k|=16;return e.destructible=k,y(e,u,m,g,a,{type:c?"RestElement":"SpreadElement",argument:d})}function Z(e,u,n,t,i,o,l){let f=n&64?14680064:31981568;u=(u|f)^f|(n&88)<<18|100925440;let c=u&64?J(s2(),512):void 0,m=Ju(e,u|8388608,c,n,1,t);c&&(c=J(c,128));let g=H2(e,u&-134230017,c,0,void 0,void 0);return y(e,u,i,o,l,{type:"FunctionExpression",params:m,body:g,async:(n&16)>0,generator:(n&8)>0,id:null})}function Mu(e,u,n,t,i,o,l){let f=Y(e,u,void 0,n,t,0,2,0,i,o,l);return u&256&&e.destructible&64&&s(e,61),e.destructible&8&&s(e,60),f}function Y(e,u,n,t,i,o,l,f,c,m,g){D(e,u);let a=[],d=0,k=0;for(u=(u|134217728)^134217728;e.token!==1074790415;){let{token:b,tokenValue:E,linePos:w,colPos:v,tokenPos:M}=e;if(b===14)a.push(D2(e,u,n,1074790415,l,f,0,i,o,M,w,v));else{let S=0,V=null,h,Q=e.token;if(e.token&143360||e.token===121)if(V=I(e,u),e.token===18||e.token===1074790415||e.token===1077936157)if(S|=4,u&1024&&(b&537079808)===537079808?d|=16:O2(e,u,l,b,0),n&&u2(e,u,n,E,l,f),q(e,u|32768,1077936157)){d|=8;let B=R(e,u,1,i,e.tokenPos,e.linePos,e.colPos);d|=e.destructible&256?256:0|e.destructible&128?128:0,h=y(e,u,M,w,v,{type:"AssignmentPattern",left:u&536870912?Object.assign({},V):V,right:B})}else d|=(b===209008?128:0)|(b===121?16:0),h=u&536870912?Object.assign({},V):V;else if(q(e,u|32768,21)){let{tokenPos:B,linePos:F,colPos:T}=e;if(E==="__proto__"&&k++,e.token&143360){let o2=e.token,a2=e.tokenValue;d|=Q===121?16:0,h=K(e,u,l,0,1,i,1,B,F,T);let{token:x}=e;h=N(e,u,h,i,0,B,F,T),e.token===18||e.token===1074790415?x===1077936157||x===1074790415||x===18?(d|=e.destructible&128?128:0,e.assignable&2?d|=16:n&&(o2&143360)===143360&&u2(e,u,n,a2,l,f)):d|=e.assignable&1?32:16:(e.token&4194304)===4194304?(e.assignable&2?d|=16:x!==1077936157?d|=32:n&&u2(e,u,n,a2,l,f),h=U(e,u,i,o,B,F,T,h)):(d|=16,(e.token&8454144)===8454144&&(h=n2(e,u,1,B,F,T,4,x,h)),q(e,u|32768,22)&&(h=f2(e,u,h,B,F,T)))}else(e.token&2097152)===2097152?(h=e.token===69271571?_(e,u,n,0,i,o,l,f,B,F,T):Y(e,u,n,0,i,o,l,f,B,F,T),d=e.destructible,e.assignable=d&16?2:1,e.token===18||e.token===1074790415?e.assignable&2&&(d|=16):e.destructible&8?s(e,69):(h=N(e,u,h,i,0,B,F,T),d=e.assignable&2?16:0,(e.token&4194304)===4194304?h=L2(e,u,i,o,B,F,T,h):((e.token&8454144)===8454144&&(h=n2(e,u,1,B,F,T,4,b,h)),q(e,u|32768,22)&&(h=f2(e,u,h,B,F,T)),d|=e.assignable&2?16:32))):(h=W(e,u,1,i,1,B,F,T),d|=e.assignable&1?32:16,e.token===18||e.token===1074790415?e.assignable&2&&(d|=16):(h=N(e,u,h,i,0,B,F,T),d=e.assignable&2?16:0,e.token!==18&&b!==1074790415&&(e.token!==1077936157&&(d|=16),h=U(e,u,i,o,B,F,T,h))))}else e.token===69271571?(d|=16,b===209007&&(S|=16),S|=(b===12402?256:b===12403?512:1)|2,V=m2(e,u,i),d|=e.assignable,h=Z(e,u,S,i,e.tokenPos,e.linePos,e.colPos)):e.token&143360?(d|=16,b===121&&s(e,93),b===209007&&(e.flags&1&&s(e,129),S|=16),V=I(e,u),S|=b===12402?256:b===12403?512:1,h=Z(e,u,S,i,e.tokenPos,e.linePos,e.colPos)):e.token===67174411?(d|=16,S|=1,h=Z(e,u,S,i,e.tokenPos,e.linePos,e.colPos)):e.token===8457014?(d|=16,b===12402?s(e,40):b===12403?s(e,41):b===143483&&s(e,93),D(e,u),S|=9|(b===209007?16:0),e.token&143360?V=I(e,u):(e.token&134217728)===134217728?V=X(e,u):e.token===69271571?(S|=2,V=m2(e,u,i),d|=e.assignable):s(e,28,O[e.token&255]),h=Z(e,u,S,i,e.tokenPos,e.linePos,e.colPos)):(e.token&134217728)===134217728?(b===209007&&(S|=16),S|=b===12402?256:b===12403?512:1,d|=16,V=X(e,u),h=Z(e,u,S,i,e.tokenPos,e.linePos,e.colPos)):s(e,130);else if((e.token&134217728)===134217728)if(V=X(e,u),e.token===21){P(e,u|32768,21);let{tokenPos:B,linePos:F,colPos:T}=e;if(E==="__proto__"&&k++,e.token&143360){h=K(e,u,l,0,1,i,1,B,F,T);let{token:o2,tokenValue:a2}=e;h=N(e,u,h,i,0,B,F,T),e.token===18||e.token===1074790415?o2===1077936157||o2===1074790415||o2===18?e.assignable&2?d|=16:n&&u2(e,u,n,a2,l,f):d|=e.assignable&1?32:16:e.token===1077936157?(e.assignable&2&&(d|=16),h=U(e,u,i,o,B,F,T,h)):(d|=16,h=U(e,u,i,o,B,F,T,h))}else(e.token&2097152)===2097152?(h=e.token===69271571?_(e,u,n,0,i,o,l,f,B,F,T):Y(e,u,n,0,i,o,l,f,B,F,T),d=e.destructible,e.assignable=d&16?2:1,e.token===18||e.token===1074790415?e.assignable&2&&(d|=16):(e.destructible&8)!==8&&(h=N(e,u,h,i,0,B,F,T),d=e.assignable&2?16:0,(e.token&4194304)===4194304?h=L2(e,u,i,o,B,F,T,h):((e.token&8454144)===8454144&&(h=n2(e,u,1,B,F,T,4,b,h)),q(e,u|32768,22)&&(h=f2(e,u,h,B,F,T)),d|=e.assignable&2?16:32))):(h=W(e,u,1,0,1,B,F,T),d|=e.assignable&1?32:16,e.token===18||e.token===1074790415?e.assignable&2&&(d|=16):(h=N(e,u,h,i,0,B,F,T),d=e.assignable&1?0:16,e.token!==18&&e.token!==1074790415&&(e.token!==1077936157&&(d|=16),h=U(e,u,i,o,B,F,T,h))))}else e.token===67174411?(S|=1,h=Z(e,u,S,i,e.tokenPos,e.linePos,e.colPos),d=e.assignable|16):s(e,131);else if(e.token===69271571)if(V=m2(e,u,i),d|=e.destructible&256?256:0,S|=2,e.token===21){D(e,u|32768);let{tokenPos:B,linePos:F,colPos:T,tokenValue:o2,token:a2}=e;if(e.token&143360){h=K(e,u,l,0,1,i,1,B,F,T);let{token:x}=e;h=N(e,u,h,i,0,B,F,T),(e.token&4194304)===4194304?(d|=e.assignable&2?16:x===1077936157?0:32,h=L2(e,u,i,o,B,F,T,h)):e.token===18||e.token===1074790415?x===1077936157||x===1074790415||x===18?e.assignable&2?d|=16:n&&(a2&143360)===143360&&u2(e,u,n,o2,l,f):d|=e.assignable&1?32:16:(d|=16,h=U(e,u,i,o,B,F,T,h))}else(e.token&2097152)===2097152?(h=e.token===69271571?_(e,u,n,0,i,o,l,f,B,F,T):Y(e,u,n,0,i,o,l,f,B,F,T),d=e.destructible,e.assignable=d&16?2:1,e.token===18||e.token===1074790415?e.assignable&2&&(d|=16):d&8?s(e,60):(h=N(e,u,h,i,0,B,F,T),d=e.assignable&2?d|16:0,(e.token&4194304)===4194304?(e.token!==1077936157&&(d|=16),h=L2(e,u,i,o,B,F,T,h)):((e.token&8454144)===8454144&&(h=n2(e,u,1,B,F,T,4,b,h)),q(e,u|32768,22)&&(h=f2(e,u,h,B,F,T)),d|=e.assignable&2?16:32))):(h=W(e,u,1,0,1,B,F,T),d|=e.assignable&1?32:16,e.token===18||e.token===1074790415?e.assignable&2&&(d|=16):(h=N(e,u,h,i,0,B,F,T),d=e.assignable&1?0:16,e.token!==18&&e.token!==1074790415&&(e.token!==1077936157&&(d|=16),h=U(e,u,i,o,B,F,T,h))))}else e.token===67174411?(S|=1,h=Z(e,u,S,i,e.tokenPos,w,v),d=16):s(e,42);else if(b===8457014)if(P(e,u|32768,8457014),S|=8,e.token&143360){let{token:B,line:F,index:T}=e;V=I(e,u),S|=1,e.token===67174411?(d|=16,h=Z(e,u,S,i,e.tokenPos,e.linePos,e.colPos)):k2(T,F,T,B===209007?44:B===12402||e.token===12403?43:45,O[B&255])}else(e.token&134217728)===134217728?(d|=16,V=X(e,u),S|=1,h=Z(e,u,S,i,M,w,v)):e.token===69271571?(d|=16,S|=3,V=m2(e,u,i),h=Z(e,u,S,i,e.tokenPos,e.linePos,e.colPos)):s(e,123);else s(e,28,O[b&255]);d|=e.destructible&128?128:0,e.destructible=d,a.push(y(e,u,M,w,v,{type:"Property",key:V,value:h,kind:S&768?S&512?"set":"get":"init",computed:(S&2)>0,method:(S&1)>0,shorthand:(S&4)>0}))}if(d|=e.destructible,e.token!==18)break;D(e,u)}P(e,u,1074790415),k>1&&(d|=64);let C=y(e,u,c,m,g,{type:o?"ObjectPattern":"ObjectExpression",properties:a});return!t&&e.token&4194304?xe(e,u,d,i,o,c,m,g,C):(e.destructible=d,C)}function Ju(e,u,n,t,i,o){P(e,u,67174411);let l=[];if(e.flags=(e.flags|128)^128,e.token===16)return t&512&&s(e,35,"Setter","one",""),D(e,u),l;t&256&&s(e,35,"Getter","no","s"),t&512&&e.token===14&&s(e,36),u=(u|134217728)^134217728;let f=0,c=0;for(;e.token!==18;){let m=null,{tokenPos:g,linePos:a,colPos:d}=e;if(e.token&143360?(u&1024||((e.token&36864)===36864&&(e.flags|=256),(e.token&537079808)===537079808&&(e.flags|=512)),m=ae(e,u,n,t|1,0,g,a,d)):(e.token===2162700?m=Y(e,u,n,1,o,1,i,0,g,a,d):e.token===69271571?m=_(e,u,n,1,o,1,i,0,g,a,d):e.token===14&&(m=D2(e,u,n,16,i,0,0,o,1,g,a,d)),c=1,e.destructible&48&&s(e,48)),e.token===1077936157){D(e,u|32768),c=1;let k=R(e,u,1,0,e.tokenPos,e.linePos,e.colPos);m=y(e,u,g,a,d,{type:"AssignmentPattern",left:m,right:k})}if(f++,l.push(m),!q(e,u,18)||e.token===16)break}return t&512&&f!==1&&s(e,35,"Setter","one",""),n&&n.scopeError!==void 0&&j2(n.scopeError),c&&(e.flags|=128),P(e,u,16),l}function m2(e,u,n){D(e,u|32768);let t=R(e,(u|134217728)^134217728,1,n,e.tokenPos,e.linePos,e.colPos);return P(e,u,20),t}function ju(e,u,n,t,i,o,l,f){e.flags=(e.flags|128)^128;let{tokenPos:c,linePos:m,colPos:g}=e;D(e,u|32768|268435456);let a=u&64?J(s2(),1024):void 0;if(u=(u|134217728)^134217728,q(e,u,16))return M2(e,u,a,[],n,0,o,l,f);let d=0;e.destructible&=-385;let k,C=[],b=0,E=0,{tokenPos:w,linePos:v,colPos:M}=e;for(e.assignable=1;e.token!==16;){let{token:S,tokenPos:V,linePos:h,colPos:Q}=e;if(S&143360)a&&t2(e,u,a,e.tokenValue,1,0),k=K(e,u,t,0,1,1,1,V,h,Q),e.token===16||e.token===18?e.assignable&2?(d|=16,E=1):((S&537079808)===537079808||(S&36864)===36864)&&(E=1):(e.token===1077936157?E=1:d|=16,k=N(e,u,k,1,0,V,h,Q),e.token!==16&&e.token!==18&&(k=U(e,u,1,0,V,h,Q,k)));else if((S&2097152)===2097152)k=S===2162700?Y(e,u|268435456,a,0,1,0,t,i,V,h,Q):_(e,u|268435456,a,0,1,0,t,i,V,h,Q),d|=e.destructible,E=1,e.assignable=2,e.token!==16&&e.token!==18&&(d&8&&s(e,119),k=N(e,u,k,0,0,V,h,Q),d|=16,e.token!==16&&e.token!==18&&(k=U(e,u,0,0,V,h,Q,k)));else if(S===14){k=D2(e,u,a,16,t,i,0,1,0,V,h,Q),e.destructible&16&&s(e,72),E=1,b&&(e.token===16||e.token===18)&&C.push(k),d|=8;break}else{if(d|=16,k=R(e,u,1,1,V,h,Q),b&&(e.token===16||e.token===18)&&C.push(k),e.token===18&&(b||(b=1,C=[k])),b){for(;q(e,u|32768,18);)C.push(R(e,u,1,1,e.tokenPos,e.linePos,e.colPos));e.assignable=2,k=y(e,u,w,v,M,{type:"SequenceExpression",expressions:C})}return P(e,u,16),e.destructible=d,k}if(b&&(e.token===16||e.token===18)&&C.push(k),!q(e,u|32768,18))break;if(b||(b=1,C=[k]),e.token===16){d|=8;break}}return b&&(e.assignable=2,k=y(e,u,w,v,M,{type:"SequenceExpression",expressions:C})),P(e,u,16),d&16&&d&8&&s(e,146),d|=e.destructible&256?256:0|e.destructible&128?128:0,e.token===10?(d&48&&s(e,47),u&4196352&&d&128&&s(e,29),u&2098176&&d&256&&s(e,30),E&&(e.flags|=128),M2(e,u,a,b?C:[k],n,0,o,l,f)):(d&8&&s(e,140),e.destructible=(e.destructible|256)^256|d,u&128?y(e,u,c,m,g,{type:"ParenthesizedExpression",expression:k}):k)}function de(e,u,n,t,i){let{tokenValue:o}=e,l=I(e,u);if(e.assignable=1,e.token===10){let f;return u&64&&(f=X2(e,u,o)),e.flags=(e.flags|128)^128,B2(e,u,f,[l],0,n,t,i)}return l}function z2(e,u,n,t,i,o,l,f,c,m){o||s(e,55),i&&s(e,49),e.flags&=-129;let g=u&64?X2(e,u,n):void 0;return B2(e,u,g,[t],l,f,c,m)}function M2(e,u,n,t,i,o,l,f,c){i||s(e,55);for(let m=0;m0&&e.tokenValue==="constructor"&&s(e,107),e.token===1074790415&&s(e,106),q(e,u,1074790417)){k>0&&s(e,117);continue}a.push(n1(e,u,t,n,i,d,0,l,e.tokenPos,e.linePos,e.colPos))}return P(e,o&8?u|32768:u,1074790415),e.flags=e.flags&-33|g,y(e,u,f,c,m,{type:"ClassBody",body:a})}function n1(e,u,n,t,i,o,l,f,c,m,g){let a=l?32:0,d=null,{token:k,tokenPos:C,linePos:b,colPos:E}=e;if(k&176128)switch(d=I(e,u),k){case 36972:if(!l&&e.token!==67174411&&(e.token&1048576)!==1048576&&e.token!==1077936157)return n1(e,u,n,t,i,o,1,f,c,m,g);break;case 209007:if(e.token!==67174411&&!(e.flags&1)){if(u&1&&(e.token&1073741824)===1073741824)return I2(e,u,d,a,o,C,b,E);a|=16|(ue(e,u,8457014)?8:0)}break;case 12402:if(e.token!==67174411){if(u&1&&(e.token&1073741824)===1073741824)return I2(e,u,d,a,o,C,b,E);a|=256}break;case 12403:if(e.token!==67174411){if(u&1&&(e.token&1073741824)===1073741824)return I2(e,u,d,a,o,C,b,E);a|=512}break}else if(k===69271571)a|=2,d=m2(e,t,f);else if((k&134217728)===134217728)d=X(e,u);else if(k===8457014)a|=8,D(e,u);else if(u&1&&e.token===131)a|=4096,d=J2(e,u|16384,C,b,E);else if(u&1&&(e.token&1073741824)===1073741824)a|=128;else{if(l&&k===2162700)return hu(e,u,n,C,b,E);k===122?(d=I(e,u),e.token!==67174411&&s(e,28,O[e.token&255])):s(e,28,O[e.token&255])}if(a&792&&(e.token&143360?d=I(e,u):(e.token&134217728)===134217728?d=X(e,u):e.token===69271571?(a|=2,d=m2(e,u,0)):e.token===122?d=I(e,u):u&1&&e.token===131?(a|=4096,d=J2(e,u,C,b,E)):s(e,132)),a&2||(e.tokenValue==="constructor"?((e.token&1073741824)===1073741824?s(e,126):!(a&32)&&e.token===67174411&&(a&920?s(e,51,"accessor"):u&524288||(e.flags&32?s(e,52):e.flags|=32)),a|=64):!(a&4096)&&a&824&&e.tokenValue==="prototype"&&s(e,50)),u&1&&e.token!==67174411)return I2(e,u,d,a,o,C,b,E);let w=Z(e,u,a,f,e.tokenPos,e.linePos,e.colPos);return y(e,u,c,m,g,u&1?{type:"MethodDefinition",kind:!(a&32)&&a&64?"constructor":a&256?"get":a&512?"set":"method",static:(a&32)>0,computed:(a&2)>0,key:d,decorators:o,value:w}:{type:"MethodDefinition",kind:!(a&32)&&a&64?"constructor":a&256?"get":a&512?"set":"method",static:(a&32)>0,computed:(a&2)>0,key:d,value:w})}function J2(e,u,n,t,i){D(e,u);let{tokenValue:o}=e;return o==="constructor"&&s(e,125),D(e,u),y(e,u,n,t,i,{type:"PrivateIdentifier",name:o})}function I2(e,u,n,t,i,o,l,f){let c=null;if(t&8&&s(e,0),e.token===1077936157){D(e,u|32768);let{tokenPos:m,linePos:g,colPos:a}=e;e.token===537079928&&s(e,116);let d=t&64?14680064:31981568;u=(u|d)^d|(t&88)<<18|100925440,c=K(e,u|16384,2,0,1,0,1,m,g,a),((e.token&1073741824)!==1073741824||(e.token&4194304)===4194304)&&(c=N(e,u|16384,c,0,0,m,g,a),c=U(e,u|16384,0,0,m,g,a,c),e.token===18&&(c=p(e,u,0,o,l,f,c)))}return y(e,u,o,l,f,{type:"PropertyDefinition",key:n,value:c,static:(t&32)>0,computed:(t&2)>0,decorators:i})}function i1(e,u,n,t,i,o,l,f){if(e.token&143360)return ae(e,u,n,t,i,o,l,f);(e.token&2097152)!==2097152&&s(e,28,O[e.token&255]);let c=e.token===69271571?_(e,u,n,1,0,1,t,i,o,l,f):Y(e,u,n,1,0,1,t,i,o,l,f);return e.destructible&16&&s(e,48),e.destructible&32&&s(e,48),c}function ae(e,u,n,t,i,o,l,f){let{tokenValue:c,token:m}=e;return u&1024&&((m&537079808)===537079808?s(e,116):(m&36864)===36864&&s(e,115)),(m&20480)===20480&&s(e,100),u&2099200&&m===241773&&s(e,30),m===241739&&t&24&&s(e,98),u&4196352&&m===209008&&s(e,96),D(e,u),n&&u2(e,u,n,c,t,i),y(e,u,o,l,f,{type:"Identifier",name:c})}function me(e,u,n,t,i,o){if(D(e,u),e.token===8456259)return y(e,u,t,i,o,{type:"JSXFragment",openingFragment:Wu(e,u,t,i,o),children:Te(e,u),closingFragment:Yu(e,u,n,e.tokenPos,e.linePos,e.colPos)});let l=null,f=[],c=ru(e,u,n,t,i,o);if(!c.selfClosing){f=Te(e,u),l=_u(e,u,n,e.tokenPos,e.linePos,e.colPos);let m=U2(l.name);U2(c.name)!==m&&s(e,150,m)}return y(e,u,t,i,o,{type:"JSXElement",children:f,openingElement:c,closingElement:l})}function Wu(e,u,n,t,i){return d2(e,u),y(e,u,n,t,i,{type:"JSXOpeningFragment"})}function _u(e,u,n,t,i,o){P(e,u,25);let l=t1(e,u,e.tokenPos,e.linePos,e.colPos);return n?P(e,u,8456259):e.token=d2(e,u),y(e,u,t,i,o,{type:"JSXClosingElement",name:l})}function Yu(e,u,n,t,i,o){return P(e,u,25),P(e,u,8456259),y(e,u,t,i,o,{type:"JSXClosingFragment"})}function Te(e,u){let n=[];for(;e.token!==25;)e.index=e.tokenPos=e.startPos,e.column=e.colPos=e.startColumn,e.line=e.linePos=e.startLine,d2(e,u),n.push(Qu(e,u,e.tokenPos,e.linePos,e.colPos));return n}function Qu(e,u,n,t,i){if(e.token===138)return Zu(e,u,n,t,i);if(e.token===2162700)return l1(e,u,0,0,n,t,i);if(e.token===8456258)return me(e,u,0,n,t,i);s(e,0)}function Zu(e,u,n,t,i){d2(e,u);let o={type:"JSXText",value:e.tokenValue};return u&512&&(o.raw=e.tokenRaw),y(e,u,n,t,i,o)}function ru(e,u,n,t,i,o){(e.token&143360)!==143360&&(e.token&4096)!==4096&&s(e,0);let l=t1(e,u,e.tokenPos,e.linePos,e.colPos),f=xu(e,u),c=e.token===8457016;return e.token===8456259?d2(e,u):(P(e,u,8457016),n?P(e,u,8456259):d2(e,u)),y(e,u,t,i,o,{type:"JSXOpeningElement",name:l,attributes:f,selfClosing:c})}function t1(e,u,n,t,i){Q2(e);let o=$2(e,u,n,t,i);if(e.token===21)return o1(e,u,o,n,t,i);for(;q(e,u,67108877);)Q2(e),o=Gu(e,u,o,n,t,i);return o}function Gu(e,u,n,t,i,o){let l=$2(e,u,e.tokenPos,e.linePos,e.colPos);return y(e,u,t,i,o,{type:"JSXMemberExpression",object:n,property:l})}function xu(e,u){let n=[];for(;e.token!==8457016&&e.token!==8456259&&e.token!==1048576;)n.push(e0(e,u,e.tokenPos,e.linePos,e.colPos));return n}function pu(e,u,n,t,i){D(e,u),P(e,u,14);let o=R(e,u,1,0,e.tokenPos,e.linePos,e.colPos);return P(e,u,1074790415),y(e,u,n,t,i,{type:"JSXSpreadAttribute",argument:o})}function e0(e,u,n,t,i){if(e.token===2162700)return pu(e,u,n,t,i);Q2(e);let o=null,l=$2(e,u,n,t,i);if(e.token===21&&(l=o1(e,u,l,n,t,i)),e.token===1077936157){let f=_1(e,u),{tokenPos:c,linePos:m,colPos:g}=e;switch(f){case 134283267:o=X(e,u);break;case 8456258:o=me(e,u,1,c,m,g);break;case 2162700:o=l1(e,u,1,1,c,m,g);break;default:s(e,149)}}return y(e,u,n,t,i,{type:"JSXAttribute",value:o,name:l})}function o1(e,u,n,t,i,o){P(e,u,21);let l=$2(e,u,e.tokenPos,e.linePos,e.colPos);return y(e,u,t,i,o,{type:"JSXNamespacedName",namespace:n,name:l})}function l1(e,u,n,t,i,o,l){D(e,u|32768);let{tokenPos:f,linePos:c,colPos:m}=e;if(e.token===14)return u0(e,u,i,o,l);let g=null;return e.token===1074790415?(t&&s(e,152),g=n0(e,u,e.startPos,e.startLine,e.startColumn)):g=R(e,u,1,0,f,c,m),n?P(e,u,1074790415):d2(e,u),y(e,u,i,o,l,{type:"JSXExpressionContainer",expression:g})}function u0(e,u,n,t,i){P(e,u,14);let o=R(e,u,1,0,e.tokenPos,e.linePos,e.colPos);return P(e,u,1074790415),y(e,u,n,t,i,{type:"JSXSpreadChild",expression:o})}function n0(e,u,n,t,i){return e.startPos=e.tokenPos,e.startLine=e.linePos,e.startColumn=e.colPos,y(e,u,n,t,i,{type:"JSXEmptyExpression"})}function $2(e,u,n,t,i){let{tokenValue:o}=e;return D(e,u),y(e,u,n,t,i,{type:"JSXIdentifier",name:o})}function f1(e,u){return eu(e,u,0)}function i0(e,u){let n=new SyntaxError(e+" ("+u.loc.start.line+":"+u.loc.start.column+")");return Object.assign(n,u)}var c1=i0;function t0(e){let u=[];for(let n of e)try{return n()}catch(t){u.push(t)}throw Object.assign(new Error("All combinations failed"),{errors:u})}var d1=t0;var o0=(e,u,n)=>{if(!(e&&u==null))return Array.isArray(u)||typeof u=="string"?u[n<0?u.length+n:n]:u.at(n)},ge=o0;function l0(e){return Array.isArray(e)&&e.length>0}var s1=l0;function $(e){var t,i,o;let u=((t=e.range)==null?void 0:t[0])??e.start,n=(o=((i=e.declaration)==null?void 0:i.decorators)??e.decorators)==null?void 0:o[0];return n?Math.min($(n),u):u}function e2(e){var u;return((u=e.range)==null?void 0:u[1])??e.end}function f0(e){let u=new Set(e);return n=>u.has(n==null?void 0:n.type)}var a1=f0;var c0=a1(["Block","CommentBlock","MultiLine"]),v2=c0;function d0(e){let u=`*${e.value}*`.split(` +`);return u.length>1&&u.every(n=>n.trimStart()[0]==="*")}var ye=d0;function s0(e){return v2(e)&&e.value[0]==="*"&&/@(?:type|satisfies)\b/u.test(e.value)}var m1=s0;var T2=null;function F2(e){if(T2!==null&&typeof T2.property){let u=T2;return T2=F2.prototype=null,u}return T2=F2.prototype=e??Object.create(null),new F2}var a0=10;for(let e=0;e<=a0;e++)F2();function ke(e){return F2(e)}function m0(e,u="type"){ke(e);function n(t){let i=t[u],o=e[i];if(!Array.isArray(o))throw Object.assign(new Error(`Missing visitor keys for '${i}'.`),{node:t});return o}return n}var g1=m0;var y1={ArrayExpression:["elements"],AssignmentExpression:["left","right"],BinaryExpression:["left","right"],InterpreterDirective:[],Directive:["value"],DirectiveLiteral:[],BlockStatement:["directives","body"],BreakStatement:["label"],CallExpression:["callee","arguments","typeParameters","typeArguments"],CatchClause:["param","body"],ConditionalExpression:["test","consequent","alternate"],ContinueStatement:["label"],DebuggerStatement:[],DoWhileStatement:["test","body"],EmptyStatement:[],ExpressionStatement:["expression"],File:["program"],ForInStatement:["left","right","body"],ForStatement:["init","test","update","body"],FunctionDeclaration:["id","params","body","returnType","typeParameters","predicate"],FunctionExpression:["id","params","body","returnType","typeParameters"],Identifier:["typeAnnotation","decorators"],IfStatement:["test","consequent","alternate"],LabeledStatement:["label","body"],StringLiteral:[],NumericLiteral:[],NullLiteral:[],BooleanLiteral:[],RegExpLiteral:[],LogicalExpression:["left","right"],MemberExpression:["object","property"],NewExpression:["callee","arguments","typeParameters","typeArguments"],Program:["directives","body"],ObjectExpression:["properties"],ObjectMethod:["key","params","body","decorators","returnType","typeParameters"],ObjectProperty:["key","value","decorators"],RestElement:["argument","typeAnnotation","decorators"],ReturnStatement:["argument"],SequenceExpression:["expressions"],ParenthesizedExpression:["expression"],SwitchCase:["test","consequent"],SwitchStatement:["discriminant","cases"],ThisExpression:[],ThrowStatement:["argument"],TryStatement:["block","handler","finalizer"],UnaryExpression:["argument"],UpdateExpression:["argument"],VariableDeclaration:["declarations"],VariableDeclarator:["id","init"],WhileStatement:["test","body"],WithStatement:["object","body"],AssignmentPattern:["left","right","decorators","typeAnnotation"],ArrayPattern:["elements","typeAnnotation","decorators"],ArrowFunctionExpression:["params","body","returnType","typeParameters","predicate"],ClassBody:["body"],ClassExpression:["id","body","superClass","mixins","typeParameters","superTypeParameters","implements","decorators","superTypeArguments"],ClassDeclaration:["id","body","superClass","mixins","typeParameters","superTypeParameters","implements","decorators","superTypeArguments"],ExportAllDeclaration:["source","attributes","exported"],ExportDefaultDeclaration:["declaration"],ExportNamedDeclaration:["declaration","specifiers","source","attributes"],ExportSpecifier:["local","exported"],ForOfStatement:["left","right","body"],ImportDeclaration:["specifiers","source","attributes"],ImportDefaultSpecifier:["local"],ImportNamespaceSpecifier:["local"],ImportSpecifier:["local","imported"],ImportExpression:["source","options","attributes"],MetaProperty:["meta","property"],ClassMethod:["key","params","body","decorators","returnType","typeParameters"],ObjectPattern:["properties","typeAnnotation","decorators"],SpreadElement:["argument"],Super:[],TaggedTemplateExpression:["tag","quasi","typeParameters","typeArguments"],TemplateElement:[],TemplateLiteral:["quasis","expressions"],YieldExpression:["argument"],AwaitExpression:["argument"],Import:[],BigIntLiteral:[],ExportNamespaceSpecifier:["exported"],OptionalMemberExpression:["object","property"],OptionalCallExpression:["callee","arguments","typeParameters","typeArguments"],ClassProperty:["key","value","typeAnnotation","decorators","variance"],ClassAccessorProperty:["key","value","typeAnnotation","decorators"],ClassPrivateProperty:["key","value","decorators","typeAnnotation","variance"],ClassPrivateMethod:["key","params","body","decorators","returnType","typeParameters"],PrivateName:["id"],StaticBlock:["body"],AnyTypeAnnotation:[],ArrayTypeAnnotation:["elementType"],BooleanTypeAnnotation:[],BooleanLiteralTypeAnnotation:[],NullLiteralTypeAnnotation:[],ClassImplements:["id","typeParameters"],DeclareClass:["id","typeParameters","extends","mixins","implements","body"],DeclareFunction:["id","predicate"],DeclareInterface:["id","typeParameters","extends","body"],DeclareModule:["id","body"],DeclareModuleExports:["typeAnnotation"],DeclareTypeAlias:["id","typeParameters","right"],DeclareOpaqueType:["id","typeParameters","supertype"],DeclareVariable:["id"],DeclareExportDeclaration:["declaration","specifiers","source"],DeclareExportAllDeclaration:["source"],DeclaredPredicate:["value"],ExistsTypeAnnotation:[],FunctionTypeAnnotation:["typeParameters","params","rest","returnType","this"],FunctionTypeParam:["name","typeAnnotation"],GenericTypeAnnotation:["id","typeParameters"],InferredPredicate:[],InterfaceExtends:["id","typeParameters"],InterfaceDeclaration:["id","typeParameters","extends","body"],InterfaceTypeAnnotation:["extends","body"],IntersectionTypeAnnotation:["types"],MixedTypeAnnotation:[],EmptyTypeAnnotation:[],NullableTypeAnnotation:["typeAnnotation"],NumberLiteralTypeAnnotation:[],NumberTypeAnnotation:[],ObjectTypeAnnotation:["properties","indexers","callProperties","internalSlots"],ObjectTypeInternalSlot:["id","value"],ObjectTypeCallProperty:["value"],ObjectTypeIndexer:["id","key","value","variance"],ObjectTypeProperty:["key","value","variance"],ObjectTypeSpreadProperty:["argument"],OpaqueType:["id","typeParameters","supertype","impltype"],QualifiedTypeIdentifier:["id","qualification"],StringLiteralTypeAnnotation:[],StringTypeAnnotation:[],SymbolTypeAnnotation:[],ThisTypeAnnotation:[],TupleTypeAnnotation:["types","elementTypes"],TypeofTypeAnnotation:["argument","typeArguments"],TypeAlias:["id","typeParameters","right"],TypeAnnotation:["typeAnnotation"],TypeCastExpression:["expression","typeAnnotation"],TypeParameter:["bound","default","variance"],TypeParameterDeclaration:["params"],TypeParameterInstantiation:["params"],UnionTypeAnnotation:["types"],Variance:[],VoidTypeAnnotation:[],EnumDeclaration:["id","body"],EnumBooleanBody:["members"],EnumNumberBody:["members"],EnumStringBody:["members"],EnumSymbolBody:["members"],EnumBooleanMember:["id","init"],EnumNumberMember:["id","init"],EnumStringMember:["id","init"],EnumDefaultedMember:["id"],IndexedAccessType:["objectType","indexType"],OptionalIndexedAccessType:["objectType","indexType"],JSXAttribute:["name","value"],JSXClosingElement:["name"],JSXElement:["openingElement","children","closingElement"],JSXEmptyExpression:[],JSXExpressionContainer:["expression"],JSXSpreadChild:["expression"],JSXIdentifier:[],JSXMemberExpression:["object","property"],JSXNamespacedName:["namespace","name"],JSXOpeningElement:["name","attributes","typeArguments","typeParameters"],JSXSpreadAttribute:["argument"],JSXText:[],JSXFragment:["openingFragment","children","closingFragment"],JSXOpeningFragment:[],JSXClosingFragment:[],Noop:[],Placeholder:[],V8IntrinsicIdentifier:[],ArgumentPlaceholder:[],BindExpression:["object","callee"],ImportAttribute:["key","value"],Decorator:["expression"],DoExpression:["body"],ExportDefaultSpecifier:["exported"],RecordExpression:["properties"],TupleExpression:["elements"],DecimalLiteral:[],ModuleExpression:["body"],TopicReference:[],PipelineTopicExpression:["expression"],PipelineBareFunction:["callee"],PipelinePrimaryTopicReference:[],TSParameterProperty:["parameter","decorators"],TSDeclareFunction:["id","typeParameters","params","returnType","body"],TSDeclareMethod:["decorators","key","typeParameters","params","returnType"],TSQualifiedName:["left","right"],TSCallSignatureDeclaration:["typeParameters","parameters","typeAnnotation","params","returnType"],TSConstructSignatureDeclaration:["typeParameters","parameters","typeAnnotation","params","returnType"],TSPropertySignature:["key","typeAnnotation"],TSMethodSignature:["key","typeParameters","parameters","typeAnnotation","params","returnType"],TSIndexSignature:["parameters","typeAnnotation"],TSAnyKeyword:[],TSBooleanKeyword:[],TSBigIntKeyword:[],TSIntrinsicKeyword:[],TSNeverKeyword:[],TSNullKeyword:[],TSNumberKeyword:[],TSObjectKeyword:[],TSStringKeyword:[],TSSymbolKeyword:[],TSUndefinedKeyword:[],TSUnknownKeyword:[],TSVoidKeyword:[],TSThisType:[],TSFunctionType:["typeParameters","parameters","typeAnnotation","params","returnType"],TSConstructorType:["typeParameters","parameters","typeAnnotation","params","returnType"],TSTypeReference:["typeName","typeParameters","typeArguments"],TSTypePredicate:["parameterName","typeAnnotation"],TSTypeQuery:["exprName","typeParameters","typeArguments"],TSTypeLiteral:["members"],TSArrayType:["elementType"],TSTupleType:["elementTypes"],TSOptionalType:["typeAnnotation"],TSRestType:["typeAnnotation"],TSNamedTupleMember:["label","elementType"],TSUnionType:["types"],TSIntersectionType:["types"],TSConditionalType:["checkType","extendsType","trueType","falseType"],TSInferType:["typeParameter"],TSParenthesizedType:["typeAnnotation"],TSTypeOperator:["typeAnnotation"],TSIndexedAccessType:["objectType","indexType"],TSMappedType:["typeParameter","typeAnnotation","nameType"],TSLiteralType:["literal"],TSExpressionWithTypeArguments:["expression","typeParameters"],TSInterfaceDeclaration:["id","typeParameters","extends","body"],TSInterfaceBody:["body"],TSTypeAliasDeclaration:["id","typeParameters","typeAnnotation"],TSInstantiationExpression:["expression","typeParameters","typeArguments"],TSAsExpression:["expression","typeAnnotation"],TSSatisfiesExpression:["expression","typeAnnotation"],TSTypeAssertion:["typeAnnotation","expression"],TSEnumDeclaration:["id","members"],TSEnumMember:["id","initializer"],TSModuleDeclaration:["id","body"],TSModuleBlock:["body"],TSImportType:["argument","qualifier","typeParameters","typeArguments"],TSImportEqualsDeclaration:["id","moduleReference"],TSExternalModuleReference:["expression"],TSNonNullExpression:["expression"],TSExportAssignment:["expression"],TSNamespaceExportDeclaration:["id"],TSTypeAnnotation:["typeAnnotation"],TSTypeParameterInstantiation:["params"],TSTypeParameterDeclaration:["params"],TSTypeParameter:["constraint","default","name"],ChainExpression:["expression"],ExperimentalRestProperty:["argument"],ExperimentalSpreadProperty:["argument"],Literal:[],MethodDefinition:["decorators","key","value"],PrivateIdentifier:[],Property:["key","value"],PropertyDefinition:["decorators","key","typeAnnotation","value","variance"],AccessorProperty:["decorators","key","typeAnnotation","value"],TSAbstractAccessorProperty:["decorators","key","typeAnnotation"],TSAbstractKeyword:[],TSAbstractMethodDefinition:["key","value"],TSAbstractPropertyDefinition:["decorators","key","typeAnnotation"],TSAsyncKeyword:[],TSClassImplements:["expression","typeArguments","typeParameters"],TSDeclareKeyword:[],TSEmptyBodyFunctionExpression:["id","typeParameters","params","returnType"],TSEnumBody:["members"],TSExportKeyword:[],TSInterfaceHeritage:["expression","typeArguments","typeParameters"],TSPrivateKeyword:[],TSProtectedKeyword:[],TSPublicKeyword:[],TSReadonlyKeyword:[],TSStaticKeyword:[],TSTemplateLiteralType:["quasis","types"],AsConstExpression:["expression"],AsExpression:["expression","typeAnnotation"],BigIntLiteralTypeAnnotation:[],BigIntTypeAnnotation:[],ComponentDeclaration:["id","params","body","typeParameters","rendersType"],ComponentParameter:["name","local"],ComponentTypeAnnotation:["params","rest","typeParameters","rendersType"],ComponentTypeParameter:["name","typeAnnotation"],ConditionalTypeAnnotation:["checkType","extendsType","trueType","falseType"],DeclareComponent:["id","params","rest","typeParameters","rendersType"],DeclareEnum:["id","body"],DeclareHook:["id"],DeclareNamespace:["id","body"],EnumBigIntBody:["members"],EnumBigIntMember:["id","init"],HookDeclaration:["id","params","body","typeParameters","returnType"],HookTypeAnnotation:["params","returnType","rest","typeParameters"],InferTypeAnnotation:["typeParameter"],KeyofTypeAnnotation:["argument"],ObjectTypeMappedTypeProperty:["keyTparam","propType","sourceType","variance"],QualifiedTypeofIdentifier:["qualification","id"],TupleTypeLabeledElement:["label","elementType","variance"],TupleTypeSpreadElement:["label","typeAnnotation"],TypeOperator:["typeAnnotation"],TypePredicate:["parameterName","typeAnnotation","asserts"],NGRoot:["node"],NGPipeExpression:["left","right","arguments"],NGChainedExpression:["expressions"],NGEmptyExpression:[],NGMicrosyntax:["body"],NGMicrosyntaxKey:[],NGMicrosyntaxExpression:["expression","alias"],NGMicrosyntaxKeyedExpression:["key","expression"],NGMicrosyntaxLet:["key","value"],NGMicrosyntaxAs:["key","alias"],JsExpressionRoot:["node"],JsonRoot:["node"],TSJSDocAllType:[],TSJSDocUnknownType:[],TSJSDocNullableType:["typeAnnotation"],TSJSDocNonNullableType:["typeAnnotation"],NeverTypeAnnotation:[],UndefinedTypeAnnotation:[],UnknownTypeAnnotation:[],SatisfiesExpression:["expression","typeAnnotation"]};var g0=g1(y1),k1=g0;function Ae(e,u){if(!(e!==null&&typeof e=="object"))return e;if(Array.isArray(e)){for(let t=0;t{var l;(l=o.leadingComments)!=null&&l.some(m1)&&i.add($(o))}),e=W2(e,o=>{if(o.type==="ParenthesizedExpression"){let{expression:l}=o;if(l.type==="TypeCastExpression")return l.range=[...o.range],l;let f=$(o);if(!i.has(f))return l.extra={...l.extra,parenthesized:!0},l}})}if(e=W2(e,i=>{var o;switch(i.type){case"LogicalExpression":if(A1(i))return he(i);break;case"VariableDeclaration":{let l=ge(!1,i.declarations,-1);l!=null&&l.init&&t[e2(l)]!==";"&&(i.range=[$(i),e2(l)]);break}case"TSParenthesizedType":return i.typeAnnotation;case"TSTypeParameter":if(typeof i.name=="string"){let l=$(i);i.name={type:"Identifier",name:i.name,range:[l,l+i.name.length]}}break;case"TopicReference":e.extra={...e.extra,__isUsingHackPipeline:!0};break;case"ExportAllDeclaration":if(n==="meriyah"&&((o=i.exported)==null?void 0:o.type)==="Identifier"){let{exported:l}=i,f=t.slice($(l),e2(l));(f.startsWith('"')||f.startsWith("'"))&&(i.exported={...i.exported,type:"Literal",value:i.exported.name,raw:f})}break;case"TSUnionType":case"TSIntersectionType":if(i.types.length===1)return i.types[0];break}}),s1(e.comments)){let i=ge(!1,e.comments,-1);for(let o=e.comments.length-2;o>=0;o--){let l=e.comments[o];e2(l)===$(i)&&v2(l)&&v2(i)&&ye(l)&&ye(i)&&(e.comments.splice(o+1,1),l.value+="*//*"+i.value,l.range=[$(l),e2(i)]),i=l}}return e.type==="Program"&&(e.range=[0,t.length]),e}function A1(e){return e.type==="LogicalExpression"&&e.right.type==="LogicalExpression"&&e.operator===e.right.operator}function he(e){return A1(e)?he({type:"LogicalExpression",operator:e.operator,left:he({type:"LogicalExpression",operator:e.operator,left:e.left,right:e.right.left,range:[$(e.left),e2(e.right.left)]}),right:e.right.right,range:[$(e),e2(e)]}):e}var h1=y0;var k0=(e,u,n,t)=>{if(!(e&&u==null))return u.replaceAll?u.replaceAll(n,t):n.global?u.replace(n,t):u.split(n).join(t)},b2=k0;var A0=/\*\/$/,h0=/^\/\*\*?/,D0=/^\s*(\/\*\*?(.|\r?\n)*?\*\/)/,b0=/(^|\s+)\/\/([^\n\r]*)/g,D1=/^(\r?\n)+/,C0=/(?:^|\r?\n) *(@[^\n\r]*?) *\r?\n *(?![^\n\r@]*\/\/[^]*)([^\s@][^\n\r@]+?) *\r?\n/g,b1=/(?:^|\r?\n) *@(\S+) *([^\n\r]*)/g,P0=/(\r?\n|^) *\* ?/g,E0=[];function C1(e){let u=e.match(D0);return u?u[0].trimStart():""}function P1(e){let u=` +`;e=b2(!1,e.replace(h0,"").replace(A0,""),P0,"$1");let n="";for(;n!==e;)n=e,e=b2(!1,e,C0,`${u}$1 $2${u}`);e=e.replace(D1,"").trimEnd();let t=Object.create(null),i=b2(!1,e,b1,"").replace(D1,"").trimEnd(),o;for(;o=b1.exec(e);){let l=b2(!1,o[2],b0,"");if(typeof t[o[1]]=="string"||Array.isArray(t[o[1]])){let f=t[o[1]];t[o[1]]=[...E0,...Array.isArray(f)?f:[f],l]}else t[o[1]]=l}return{comments:i,pragmas:t}}function w0(e){if(!e.startsWith("#!"))return"";let u=e.indexOf(` +`);return u===-1?e:e.slice(0,u)}var E1=w0;function S0(e){let u=E1(e);u&&(e=e.slice(u.length+1));let n=C1(e),{pragmas:t,comments:i}=P1(n);return{shebang:u,text:e,pragmas:t,comments:i}}function w1(e){let{pragmas:u}=S0(e);return Object.prototype.hasOwnProperty.call(u,"prettier")||Object.prototype.hasOwnProperty.call(u,"format")}function B0(e){return e=typeof e=="function"?{parse:e}:e,{astFormat:"estree",hasPragma:w1,locStart:$,locEnd:e2,...e}}var S1=B0;function v0(e){let{filepath:u}=e;if(u){if(u=u.toLowerCase(),u.endsWith(".cjs"))return"script";if(u.endsWith(".mjs"))return"module"}}var B1=v0;var T0={next:!0,ranges:!0,webcompat:!0,loc:!0,raw:!0,directives:!0,globalReturn:!0,impliedStrict:!1,preserveParens:!1,lexical:!1,jsx:!0,uniqueKeyInPattern:!1};function F0(e,u){let n=[],t=[],i=f1(e,{...T0,module:u==="module",onComment:n,onToken:t});return i.comments=n,i.tokens=t,i}function q0(e){var o;let{message:u,line:n,column:t}=e,i=(o=u.match(/^\[(?\d+):(?\d+)\]: (?.*)$/u))==null?void 0:o.groups;return i&&(u=i.message,typeof n!="number"&&(n=Number(i.line),t=Number(i.column))),typeof n!="number"?e:c1(u,{loc:{start:{line:n,column:t}},cause:e})}function L0(e,u={}){let n=B1(u),t=(n?[n]:["module","script"]).map(o=>()=>F0(e,o)),i;try{i=d1(t)}catch({errors:[o]}){throw q0(o)}return h1(i,{parser:"meriyah",text:e})}var I0=S1(L0);return L1(N0);}); \ No newline at end of file diff --git a/node_modules/prettier/plugins/meriyah.mjs b/node_modules/prettier/plugins/meriyah.mjs index 20791e54fe..68d1970c51 100644 --- a/node_modules/prettier/plugins/meriyah.mjs +++ b/node_modules/prettier/plugins/meriyah.mjs @@ -1,5 +1,4 @@ -var Nu=Object.create;var G2=Object.defineProperty;var Vu=Object.getOwnPropertyDescriptor;var Ru=Object.getOwnPropertyNames;var Ou=Object.getPrototypeOf,Uu=Object.prototype.hasOwnProperty;var Mu=(e,u)=>()=>(u||e((u={exports:{}}).exports,u),u.exports),Se=(e,u)=>{for(var n in u)G2(e,n,{get:u[n],enumerable:!0})},Ju=(e,u,n,i)=>{if(u&&typeof u=="object"||typeof u=="function")for(let t of Ru(u))!Uu.call(e,t)&&t!==n&&G2(e,t,{get:()=>u[t],enumerable:!(i=Vu(u,t))||i.enumerable});return e};var ju=(e,u,n)=>(n=e!=null?Nu(Ou(e)):{},Ju(u||!e||!e.__esModule?G2(n,"default",{value:e,enumerable:!0}):n,e));var Cu=Mu(a2=>{"use strict";Object.defineProperty(a2,"__esModule",{value:!0});a2.extract=A0;a2.parse=P0;a2.parseWithComments=Au;a2.print=E0;a2.strip=C0;var y0=/\*\/$/,k0=/^\/\*\*?/,Du=/^\s*(\/\*\*?(.|\r?\n)*?\*\/)/,h0=/(^|\s+)\/\/([^\r\n]*)/g,yu=/^(\r?\n)+/,D0=/(?:^|\r?\n) *(@[^\r\n]*?) *\r?\n *(?![^@\r\n]*\/\/[^]*)([^@\r\n\s][^@\r\n]+?) *\r?\n/g,ku=/(?:^|\r?\n) *@(\S+) *([^\r\n]*)/g,b0=/(\r?\n|^) *\* ?/g,bu=[];function A0(e){let u=e.match(Du);return u?u[0].trimLeft():""}function C0(e){let u=e.match(Du);return u&&u[0]?e.substring(u[0].length):e}function P0(e){return Au(e).pragmas}function Au(e){let u=` -`;e=e.replace(k0,"").replace(y0,"").replace(b0,"$1");let n="";for(;n!==e;)n=e,e=e.replace(D0,`${u}$1 $2${u}`);e=e.replace(yu,"").trimRight();let i=Object.create(null),t=e.replace(ku,"").replace(yu,"").trimRight(),o;for(;o=ku.exec(e);){let l=o[2].replace(h0,"");typeof i[o[1]]=="string"||Array.isArray(i[o[1]])?i[o[1]]=bu.concat(i[o[1]],l):i[o[1]]=l}return{comments:t,pragmas:i}}function E0({comments:e="",pragmas:u={}}){let n=` -`,i="/**",t=" *",o=" */",l=Object.keys(u),f=l.map(a=>hu(a,u[a])).reduce((a,g)=>a.concat(g),[]).map(a=>`${t} ${a}${n}`).join("");if(!e){if(l.length===0)return"";if(l.length===1&&!Array.isArray(u[l[0]])){let a=u[l[0]];return`${i} ${hu(l[0],a)[0]}${o}`}}let c=e.split(n).map(a=>`${t} ${a}`).join(n)+n;return i+n+(e?c:"")+(e&&l.length?t+n:"")+f+o}function hu(e,u){return bu.concat(u).map(n=>`@${e} ${n}`.trim())}});var we={};Se(we,{parsers:()=>Z2});var Z2={};Se(Z2,{meriyah:()=>H0});var Xu={0:"Unexpected token",28:"Unexpected token: '%0'",1:"Octal escape sequences are not allowed in strict mode",2:"Octal escape sequences are not allowed in template strings",3:"Unexpected token `#`",4:"Illegal Unicode escape sequence",5:"Invalid code point %0",6:"Invalid hexadecimal escape sequence",8:"Octal literals are not allowed in strict mode",7:"Decimal integer literals with a leading zero are forbidden in strict mode",9:"Expected number in radix %0",146:"Invalid left-hand side assignment to a destructible right-hand side",10:"Non-number found after exponent indicator",11:"Invalid BigIntLiteral",12:"No identifiers allowed directly after numeric literal",13:"Escapes \\8 or \\9 are not syntactically valid escapes",14:"Unterminated string literal",15:"Unterminated template literal",16:"Multiline comment was not closed properly",17:"The identifier contained dynamic unicode escape that was not closed",18:"Illegal character '%0'",19:"Missing hexadecimal digits",20:"Invalid implicit octal",21:"Invalid line break in string literal",22:"Only unicode escapes are legal in identifier names",23:"Expected '%0'",24:"Invalid left-hand side in assignment",25:"Invalid left-hand side in async arrow",26:'Calls to super must be in the "constructor" method of a class expression or class declaration that has a superclass',27:"Member access on super must be in a method",29:"Await expression not allowed in formal parameter",30:"Yield expression not allowed in formal parameter",93:"Unexpected token: 'escaped keyword'",31:"Unary expressions as the left operand of an exponentiation expression must be disambiguated with parentheses",120:"Async functions can only be declared at the top level or inside a block",32:"Unterminated regular expression",33:"Unexpected regular expression flag",34:"Duplicate regular expression flag '%0'",35:"%0 functions must have exactly %1 argument%2",36:"Setter function argument must not be a rest parameter",37:"%0 declaration must have a name in this context",38:"Function name may not contain any reserved words or be eval or arguments in strict mode",39:"The rest operator is missing an argument",40:"A getter cannot be a generator",41:"A setter cannot be a generator",42:"A computed property name must be followed by a colon or paren",131:"Object literal keys that are strings or numbers must be a method or have a colon",44:"Found `* async x(){}` but this should be `async * x(){}`",43:"Getters and setters can not be generators",45:"'%0' can not be generator method",46:"No line break is allowed after '=>'",47:"The left-hand side of the arrow can only be destructed through assignment",48:"The binding declaration is not destructible",49:"Async arrow can not be followed by new expression",50:"Classes may not have a static property named 'prototype'",51:"Class constructor may not be a %0",52:"Duplicate constructor method in class",53:"Invalid increment/decrement operand",54:"Invalid use of `new` keyword on an increment/decrement expression",55:"`=>` is an invalid assignment target",56:"Rest element may not have a trailing comma",57:"Missing initializer in %0 declaration",58:"'for-%0' loop head declarations can not have an initializer",59:"Invalid left-hand side in for-%0 loop: Must have a single binding",60:"Invalid shorthand property initializer",61:"Property name __proto__ appears more than once in object literal",62:"Let is disallowed as a lexically bound name",63:"Invalid use of '%0' inside new expression",64:"Illegal 'use strict' directive in function with non-simple parameter list",65:'Identifier "let" disallowed as left-hand side expression in strict mode',66:"Illegal continue statement",67:"Illegal break statement",68:"Cannot have `let[...]` as a var name in strict mode",69:"Invalid destructuring assignment target",70:"Rest parameter may not have a default initializer",71:"The rest argument must the be last parameter",72:"Invalid rest argument",74:"In strict mode code, functions can only be declared at top level or inside a block",75:"In non-strict mode code, functions can only be declared at top level, inside a block, or as the body of an if statement",76:"Without web compatibility enabled functions can not be declared at top level, inside a block, or as the body of an if statement",77:"Class declaration can't appear in single-statement context",78:"Invalid left-hand side in for-%0",79:"Invalid assignment in for-%0",80:"for await (... of ...) is only valid in async functions and async generators",81:"The first token after the template expression should be a continuation of the template",83:"`let` declaration not allowed here and `let` cannot be a regular var name in strict mode",82:"`let \n [` is a restricted production at the start of a statement",84:"Catch clause requires exactly one parameter, not more (and no trailing comma)",85:"Catch clause parameter does not support default values",86:"Missing catch or finally after try",87:"More than one default clause in switch statement",88:"Illegal newline after throw",89:"Strict mode code may not include a with statement",90:"Illegal return statement",91:"The left hand side of the for-header binding declaration is not destructible",92:"new.target only allowed within functions",94:"'#' not followed by identifier",100:"Invalid keyword",99:"Can not use 'let' as a class name",98:"'A lexical declaration can't define a 'let' binding",97:"Can not use `let` as variable name in strict mode",95:"'%0' may not be used as an identifier in this context",96:"Await is only valid in async functions",101:"The %0 keyword can only be used with the module goal",102:"Unicode codepoint must not be greater than 0x10FFFF",103:"%0 source must be string",104:"Only a identifier can be used to indicate alias",105:"Only '*' or '{...}' can be imported after default",106:"Trailing decorator may be followed by method",107:"Decorators can't be used with a constructor",109:"HTML comments are only allowed with web compatibility (Annex B)",110:"The identifier 'let' must not be in expression position in strict mode",111:"Cannot assign to `eval` and `arguments` in strict mode",112:"The left-hand side of a for-of loop may not start with 'let'",113:"Block body arrows can not be immediately invoked without a group",114:"Block body arrows can not be immediately accessed without a group",115:"Unexpected strict mode reserved word",116:"Unexpected eval or arguments in strict mode",117:"Decorators must not be followed by a semicolon",118:"Calling delete on expression not allowed in strict mode",119:"Pattern can not have a tail",121:"Can not have a `yield` expression on the left side of a ternary",122:"An arrow function can not have a postfix update operator",123:"Invalid object literal key character after generator star",124:"Private fields can not be deleted",126:"Classes may not have a field called constructor",125:"Classes may not have a private element named constructor",127:"A class field initializer may not contain arguments",128:"Generators can only be declared at the top level or inside a block",129:"Async methods are a restricted production and cannot have a newline following it",130:"Unexpected character after object literal property name",132:"Invalid key token",133:"Label '%0' has already been declared",134:"continue statement must be nested within an iteration statement",135:"Undefined label '%0'",136:"Trailing comma is disallowed inside import(...) arguments",137:"import() requires exactly one argument",138:"Cannot use new with import(...)",139:"... is not allowed in import()",140:"Expected '=>'",141:"Duplicate binding '%0'",142:"Cannot export a duplicate name '%0'",145:"Duplicate %0 for-binding",143:"Exported binding '%0' needs to refer to a top-level declared variable",144:"Unexpected private field",148:"Numeric separators are not allowed at the end of numeric literals",147:"Only one underscore is allowed as numeric separator",149:"JSX value should be either an expression or a quoted JSX text",150:"Expected corresponding JSX closing tag for %0",151:"Adjacent JSX elements must be wrapped in an enclosing tag",152:"JSX attributes must only be assigned a non-empty 'expression'",153:"'%0' has already been declared",154:"'%0' shadowed a catch clause binding",155:"Dot property must be an identifier",156:"Encountered invalid input after spread/rest argument",157:"Catch without try",158:"Finally without try",159:"Expected corresponding closing tag for JSX fragment",160:"Coalescing and logical operators used together in the same expression must be disambiguated with parentheses",161:"Invalid tagged template on optional chain",162:"Invalid optional chain from super property",163:"Invalid optional chain from new expression",164:'Cannot use "import.meta" outside a module',165:"Leading decorators must be attached to a class declaration"},k2=class extends SyntaxError{constructor(u,n,i,t,...o){let l="["+n+":"+i+"]: "+Xu[t].replace(/%(\d+)/g,(f,c)=>o[c]);super(`${l}`),this.index=u,this.line=n,this.column=i,this.description=l,this.loc={line:n,column:i}}};function d(e,u,...n){throw new k2(e.index,e.line,e.column,u,...n)}function z2(e){throw new k2(e.index,e.line,e.column,e.type,e.params)}function h2(e,u,n,i,...t){throw new k2(e,u,n,i,...t)}function D2(e,u,n,i){throw new k2(e,u,n,i)}var E2=((e,u)=>{let n=new Uint32Array(104448),i=0,t=0;for(;i<3540;){let o=e[i++];if(o<0)t-=o;else{let l=e[i++];o&2&&(l=u[l]),o&1?n.fill(l,t,t+=e[i++]):n[t++]=l}}return n})([-1,2,24,2,25,2,5,-1,0,77595648,3,44,2,3,0,14,2,57,2,58,3,0,3,0,3168796671,0,4294956992,2,1,2,0,2,59,3,0,4,0,4294966523,3,0,4,2,16,2,60,2,0,0,4294836735,0,3221225471,0,4294901942,2,61,0,134152192,3,0,2,0,4294951935,3,0,2,0,2683305983,0,2684354047,2,17,2,0,0,4294961151,3,0,2,2,19,2,0,0,608174079,2,0,2,131,2,6,2,56,-1,2,37,0,4294443263,2,1,3,0,3,0,4294901711,2,39,0,4089839103,0,2961209759,0,1342439375,0,4294543342,0,3547201023,0,1577204103,0,4194240,0,4294688750,2,2,0,80831,0,4261478351,0,4294549486,2,2,0,2967484831,0,196559,0,3594373100,0,3288319768,0,8469959,2,194,2,3,0,3825204735,0,123747807,0,65487,0,4294828015,0,4092591615,0,1080049119,0,458703,2,3,2,0,0,2163244511,0,4227923919,0,4236247022,2,66,0,4284449919,0,851904,2,4,2,11,0,67076095,-1,2,67,0,1073741743,0,4093591391,-1,0,50331649,0,3265266687,2,32,0,4294844415,0,4278190047,2,18,2,129,-1,3,0,2,2,21,2,0,2,9,2,0,2,14,2,15,3,0,10,2,69,2,0,2,70,2,71,2,72,2,0,2,73,2,0,2,10,0,261632,2,23,3,0,2,2,12,2,4,3,0,18,2,74,2,5,3,0,2,2,75,0,2088959,2,27,2,8,0,909311,3,0,2,0,814743551,2,41,0,67057664,3,0,2,2,40,2,0,2,28,2,0,2,29,2,7,0,268374015,2,26,2,49,2,0,2,76,0,134153215,-1,2,6,2,0,2,7,0,2684354559,0,67044351,0,3221160064,0,1,-1,3,0,2,2,42,0,1046528,3,0,3,2,8,2,0,2,51,0,4294960127,2,9,2,38,2,10,0,4294377472,2,11,3,0,7,0,4227858431,3,0,8,2,12,2,0,2,78,2,9,2,0,2,79,2,80,2,81,-1,2,124,0,1048577,2,82,2,13,-1,2,13,0,131042,2,83,2,84,2,85,2,0,2,33,-83,2,0,2,53,2,7,3,0,4,0,1046559,2,0,2,14,2,0,0,2147516671,2,20,3,86,2,2,0,-16,2,87,0,524222462,2,4,2,0,0,4269801471,2,4,2,0,2,15,2,77,2,16,3,0,2,2,47,2,0,-1,2,17,-16,3,0,206,-2,3,0,655,2,18,3,0,36,2,68,-1,2,17,2,9,3,0,8,2,89,2,121,2,0,0,3220242431,3,0,3,2,19,2,90,2,91,3,0,2,2,92,2,0,2,93,2,94,2,0,0,4351,2,0,2,8,3,0,2,0,67043391,0,3909091327,2,0,2,22,2,8,2,18,3,0,2,0,67076097,2,7,2,0,2,20,0,67059711,0,4236247039,3,0,2,0,939524103,0,8191999,2,97,2,98,2,15,2,21,3,0,3,0,67057663,3,0,349,2,99,2,100,2,6,-264,3,0,11,2,22,3,0,2,2,31,-1,0,3774349439,2,101,2,102,3,0,2,2,19,2,103,3,0,10,2,9,2,17,2,0,2,45,2,0,2,30,2,104,2,23,0,1638399,2,172,2,105,3,0,3,2,18,2,24,2,25,2,5,2,26,2,0,2,7,2,106,-1,2,107,2,108,2,109,-1,3,0,3,2,11,-2,2,0,2,27,-3,2,150,-4,2,18,2,0,2,35,0,1,2,0,2,62,2,28,2,11,2,9,2,0,2,110,-1,3,0,4,2,9,2,21,2,111,2,6,2,0,2,112,2,0,2,48,-4,3,0,9,2,20,2,29,2,30,-4,2,113,2,114,2,29,2,20,2,7,-2,2,115,2,29,2,31,-2,2,0,2,116,-2,0,4277137519,0,2269118463,-1,3,18,2,-1,2,32,2,36,2,0,3,29,2,2,34,2,19,-3,3,0,2,2,33,-1,2,0,2,34,2,0,2,34,2,0,2,46,-10,2,0,0,203775,-2,2,18,2,43,2,35,-2,2,17,2,117,2,20,3,0,2,2,36,0,2147549120,2,0,2,11,2,17,2,135,2,0,2,37,2,52,0,5242879,3,0,2,0,402644511,-1,2,120,0,1090519039,-2,2,122,2,38,2,0,0,67045375,2,39,0,4226678271,0,3766565279,0,2039759,-4,3,0,2,0,3288270847,0,3,3,0,2,0,67043519,-5,2,0,0,4282384383,0,1056964609,-1,3,0,2,0,67043345,-1,2,0,2,40,2,41,-1,2,10,2,42,-6,2,0,2,11,-3,3,0,2,0,2147484671,2,125,0,4190109695,2,50,-2,2,126,0,4244635647,0,27,2,0,2,7,2,43,2,0,2,63,-1,2,0,2,40,-8,2,54,2,44,0,67043329,2,127,2,45,0,8388351,-2,2,128,0,3028287487,2,46,2,130,0,33259519,2,41,-9,2,20,-5,2,64,-2,3,0,28,2,31,-3,3,0,3,2,47,3,0,6,2,48,-85,3,0,33,2,47,-126,3,0,18,2,36,-269,3,0,17,2,40,2,7,2,41,-2,2,17,2,49,2,0,2,20,2,50,2,132,2,23,-21,3,0,2,-4,3,0,2,0,4294936575,2,0,0,4294934783,-2,0,196635,3,0,191,2,51,3,0,38,2,29,-1,2,33,-279,3,0,8,2,7,-1,2,133,2,52,3,0,11,2,6,-72,3,0,3,2,134,0,1677656575,-166,0,4161266656,0,4071,0,15360,-4,0,28,-13,3,0,2,2,37,2,0,2,136,2,137,2,55,2,0,2,138,2,139,2,140,3,0,10,2,141,2,142,2,15,3,37,2,3,53,2,3,54,2,0,4294954999,2,0,-16,2,0,2,88,2,0,0,2105343,0,4160749584,0,65534,-42,0,4194303871,0,2011,-6,2,0,0,1073684479,0,17407,-11,2,0,2,31,-40,3,0,6,0,8323103,-1,3,0,2,2,42,-37,2,55,2,144,2,145,2,146,2,147,2,148,-105,2,24,-32,3,0,1334,2,9,-1,3,0,129,2,27,3,0,6,2,9,3,0,180,2,149,3,0,233,0,1,-96,3,0,16,2,9,-47,3,0,154,2,56,-22381,3,0,7,2,23,-6130,3,5,2,-1,0,69207040,3,44,2,3,0,14,2,57,2,58,-3,0,3168731136,0,4294956864,2,1,2,0,2,59,3,0,4,0,4294966275,3,0,4,2,16,2,60,2,0,2,33,-1,2,17,2,61,-1,2,0,2,56,0,4294885376,3,0,2,0,3145727,0,2617294944,0,4294770688,2,23,2,62,3,0,2,0,131135,2,95,0,70256639,0,71303167,0,272,2,40,2,56,-1,2,37,2,30,-1,2,96,2,63,0,4278255616,0,4294836227,0,4294549473,0,600178175,0,2952806400,0,268632067,0,4294543328,0,57540095,0,1577058304,0,1835008,0,4294688736,2,65,2,64,0,33554435,2,123,2,65,2,151,0,131075,0,3594373096,0,67094296,2,64,-1,0,4294828e3,0,603979263,2,160,0,3,0,4294828001,0,602930687,2,183,0,393219,0,4294828016,0,671088639,0,2154840064,0,4227858435,0,4236247008,2,66,2,36,-1,2,4,0,917503,2,36,-1,2,67,0,537788335,0,4026531935,-1,0,1,-1,2,32,2,68,0,7936,-3,2,0,0,2147485695,0,1010761728,0,4292984930,0,16387,2,0,2,14,2,15,3,0,10,2,69,2,0,2,70,2,71,2,72,2,0,2,73,2,0,2,11,-1,2,23,3,0,2,2,12,2,4,3,0,18,2,74,2,5,3,0,2,2,75,0,253951,3,19,2,0,122879,2,0,2,8,0,276824064,-2,3,0,2,2,40,2,0,0,4294903295,2,0,2,29,2,7,-1,2,17,2,49,2,0,2,76,2,41,-1,2,20,2,0,2,27,-2,0,128,-2,2,77,2,8,0,4064,-1,2,119,0,4227907585,2,0,2,118,2,0,2,48,2,173,2,9,2,38,2,10,-1,0,74440192,3,0,6,-2,3,0,8,2,12,2,0,2,78,2,9,2,0,2,79,2,80,2,81,-3,2,82,2,13,-3,2,83,2,84,2,85,2,0,2,33,-83,2,0,2,53,2,7,3,0,4,0,817183,2,0,2,14,2,0,0,33023,2,20,3,86,2,-17,2,87,0,524157950,2,4,2,0,2,88,2,4,2,0,2,15,2,77,2,16,3,0,2,2,47,2,0,-1,2,17,-16,3,0,206,-2,3,0,655,2,18,3,0,36,2,68,-1,2,17,2,9,3,0,8,2,89,0,3072,2,0,0,2147516415,2,9,3,0,2,2,23,2,90,2,91,3,0,2,2,92,2,0,2,93,2,94,0,4294965179,0,7,2,0,2,8,2,91,2,8,-1,0,1761345536,2,95,0,4294901823,2,36,2,18,2,96,2,34,2,166,0,2080440287,2,0,2,33,2,143,0,3296722943,2,0,0,1046675455,0,939524101,0,1837055,2,97,2,98,2,15,2,21,3,0,3,0,7,3,0,349,2,99,2,100,2,6,-264,3,0,11,2,22,3,0,2,2,31,-1,0,2700607615,2,101,2,102,3,0,2,2,19,2,103,3,0,10,2,9,2,17,2,0,2,45,2,0,2,30,2,104,-3,2,105,3,0,3,2,18,-1,3,5,2,2,26,2,0,2,7,2,106,-1,2,107,2,108,2,109,-1,3,0,3,2,11,-2,2,0,2,27,-8,2,18,2,0,2,35,-1,2,0,2,62,2,28,2,29,2,9,2,0,2,110,-1,3,0,4,2,9,2,17,2,111,2,6,2,0,2,112,2,0,2,48,-4,3,0,9,2,20,2,29,2,30,-4,2,113,2,114,2,29,2,20,2,7,-2,2,115,2,29,2,31,-2,2,0,2,116,-2,0,4277075969,2,29,-1,3,18,2,-1,2,32,2,117,2,0,3,29,2,2,34,2,19,-3,3,0,2,2,33,-1,2,0,2,34,2,0,2,34,2,0,2,48,-10,2,0,0,197631,-2,2,18,2,43,2,118,-2,2,17,2,117,2,20,2,119,2,51,-2,2,119,2,23,2,17,2,33,2,119,2,36,0,4294901904,0,4718591,2,119,2,34,0,335544350,-1,2,120,2,121,-2,2,122,2,38,2,7,-1,2,123,2,65,0,3758161920,0,3,-4,2,0,2,27,0,2147485568,0,3,2,0,2,23,0,176,-5,2,0,2,47,2,186,-1,2,0,2,23,2,197,-1,2,0,0,16779263,-2,2,11,-7,2,0,2,121,-3,3,0,2,2,124,2,125,0,2147549183,0,2,-2,2,126,2,35,0,10,0,4294965249,0,67633151,0,4026597376,2,0,0,536871935,-1,2,0,2,40,-8,2,54,2,47,0,1,2,127,2,23,-3,2,128,2,35,2,129,2,130,0,16778239,-10,2,34,-5,2,64,-2,3,0,28,2,31,-3,3,0,3,2,47,3,0,6,2,48,-85,3,0,33,2,47,-126,3,0,18,2,36,-269,3,0,17,2,40,2,7,-3,2,17,2,131,2,0,2,23,2,48,2,132,2,23,-21,3,0,2,-4,3,0,2,0,67583,-1,2,103,-2,0,11,3,0,191,2,51,3,0,38,2,29,-1,2,33,-279,3,0,8,2,7,-1,2,133,2,52,3,0,11,2,6,-72,3,0,3,2,134,2,135,-187,3,0,2,2,37,2,0,2,136,2,137,2,55,2,0,2,138,2,139,2,140,3,0,10,2,141,2,142,2,15,3,37,2,3,53,2,3,54,2,2,143,-73,2,0,0,1065361407,0,16384,-11,2,0,2,121,-40,3,0,6,2,117,-1,3,0,2,0,2063,-37,2,55,2,144,2,145,2,146,2,147,2,148,-138,3,0,1334,2,9,-1,3,0,129,2,27,3,0,6,2,9,3,0,180,2,149,3,0,233,0,1,-96,3,0,16,2,9,-47,3,0,154,2,56,-28517,2,0,0,1,-1,2,124,2,0,0,8193,-21,2,193,0,10255,0,4,-11,2,64,2,171,-1,0,71680,-1,2,161,0,4292900864,0,805306431,-5,2,150,-1,2,157,-1,0,6144,-2,2,127,-1,2,154,-1,0,2147532800,2,151,2,165,2,0,2,164,0,524032,0,4,-4,2,190,0,205128192,0,1333757536,0,2147483696,0,423953,0,747766272,0,2717763192,0,4286578751,0,278545,2,152,0,4294886464,0,33292336,0,417809,2,152,0,1327482464,0,4278190128,0,700594195,0,1006647527,0,4286497336,0,4160749631,2,153,0,469762560,0,4171219488,0,8323120,2,153,0,202375680,0,3214918176,0,4294508592,2,153,-1,0,983584,0,48,0,58720273,0,3489923072,0,10517376,0,4293066815,0,1,0,2013265920,2,177,2,0,0,2089,0,3221225552,0,201375904,2,0,-2,0,256,0,122880,0,16777216,2,150,0,4160757760,2,0,-6,2,167,-11,0,3263218176,-1,0,49664,0,2160197632,0,8388802,-1,0,12713984,-1,2,154,2,159,2,178,-2,2,162,-20,0,3758096385,-2,2,155,0,4292878336,2,90,2,169,0,4294057984,-2,2,163,2,156,2,175,-2,2,155,-1,2,182,-1,2,170,2,124,0,4026593280,0,14,0,4292919296,-1,2,158,0,939588608,-1,0,805306368,-1,2,124,0,1610612736,2,156,2,157,2,4,2,0,-2,2,158,2,159,-3,0,267386880,-1,2,160,0,7168,-1,0,65024,2,154,2,161,2,179,-7,2,168,-8,2,162,-1,0,1426112704,2,163,-1,2,164,0,271581216,0,2149777408,2,23,2,161,2,124,0,851967,2,180,-1,2,23,2,181,-4,2,158,-20,2,195,2,165,-56,0,3145728,2,185,-4,2,166,2,124,-4,0,32505856,-1,2,167,-1,0,2147385088,2,90,1,2155905152,2,-3,2,103,2,0,2,168,-2,2,169,-6,2,170,0,4026597375,0,1,-1,0,1,-1,2,171,-3,2,117,2,64,-2,2,166,-2,2,176,2,124,-878,2,159,-36,2,172,-1,2,201,-10,2,188,-5,2,174,-6,0,4294965251,2,27,-1,2,173,-1,2,174,-2,0,4227874752,-3,0,2146435072,2,159,-2,0,1006649344,2,124,-1,2,90,0,201375744,-3,0,134217720,2,90,0,4286677377,0,32896,-1,2,158,-3,2,175,-349,2,176,0,1920,2,177,3,0,264,-11,2,157,-2,2,178,2,0,0,520617856,0,2692743168,0,36,-3,0,524284,-11,2,23,-1,2,187,-1,2,184,0,3221291007,2,178,-1,2,202,0,2158720,-3,2,159,0,1,-4,2,124,0,3808625411,0,3489628288,2,200,0,1207959680,0,3221274624,2,0,-3,2,179,0,120,0,7340032,-2,2,180,2,4,2,23,2,163,3,0,4,2,159,-1,2,181,2,177,-1,0,8176,2,182,2,179,2,183,-1,0,4290773232,2,0,-4,2,163,2,189,0,15728640,2,177,-1,2,161,-1,0,4294934512,3,0,4,-9,2,90,2,170,2,184,3,0,4,0,704,0,1849688064,2,185,-1,2,124,0,4294901887,2,0,0,130547712,0,1879048192,2,199,3,0,2,-1,2,186,2,187,-1,0,17829776,0,2025848832,0,4261477888,-2,2,0,-1,0,4286580608,-1,0,29360128,2,192,0,16252928,0,3791388672,2,38,3,0,2,-2,2,196,2,0,-1,2,103,-1,0,66584576,-1,2,191,3,0,9,2,124,-1,0,4294755328,3,0,2,-1,2,161,2,178,3,0,2,2,23,2,188,2,90,-2,0,245760,0,2147418112,-1,2,150,2,203,0,4227923456,-1,2,164,2,161,2,90,-3,0,4292870145,0,262144,2,124,3,0,2,0,1073758848,2,189,-1,0,4227921920,2,190,0,68289024,0,528402016,0,4292927536,3,0,4,-2,0,268435456,2,91,-2,2,191,3,0,5,-1,2,192,2,163,2,0,-2,0,4227923936,2,62,-1,2,155,2,95,2,0,2,154,2,158,3,0,6,-1,2,177,3,0,3,-2,0,2146959360,0,9440640,0,104857600,0,4227923840,3,0,2,0,768,2,193,2,77,-2,2,161,-2,2,119,-1,2,155,3,0,8,0,512,0,8388608,2,194,2,172,2,187,0,4286578944,3,0,2,0,1152,0,1266679808,2,191,0,576,0,4261707776,2,95,3,0,9,2,155,3,0,5,2,16,-1,0,2147221504,-28,2,178,3,0,3,-3,0,4292902912,-6,2,96,3,0,85,-33,0,4294934528,3,0,126,-18,2,195,3,0,269,-17,2,155,2,124,2,198,3,0,2,2,23,0,4290822144,-2,0,67174336,0,520093700,2,17,3,0,21,-2,2,179,3,0,3,-2,0,30720,-1,0,32512,3,0,2,0,4294770656,-191,2,174,-38,2,170,2,0,2,196,3,0,279,-8,2,124,2,0,0,4294508543,0,65295,-11,2,177,3,0,72,-3,0,3758159872,0,201391616,3,0,155,-7,2,170,-1,0,384,-1,0,133693440,-3,2,196,-2,2,26,3,0,4,2,169,-2,2,90,2,155,3,0,4,-2,2,164,-1,2,150,0,335552923,2,197,-1,0,538974272,0,2214592512,0,132e3,-10,0,192,-8,0,12288,-21,0,134213632,0,4294901761,3,0,42,0,100663424,0,4294965284,3,0,6,-1,0,3221282816,2,198,3,0,11,-1,2,199,3,0,40,-6,0,4286578784,2,0,-2,0,1006694400,3,0,24,2,35,-1,2,94,3,0,2,0,1,2,163,3,0,6,2,197,0,4110942569,0,1432950139,0,2701658217,0,4026532864,0,4026532881,2,0,2,45,3,0,8,-1,2,158,-2,2,169,0,98304,0,65537,2,170,-5,0,4294950912,2,0,2,118,0,65528,2,177,0,4294770176,2,26,3,0,4,-30,2,174,0,3758153728,-3,2,169,-2,2,155,2,188,2,158,-1,2,191,-1,2,161,0,4294754304,3,0,2,-3,0,33554432,-2,2,200,-3,2,169,0,4175478784,2,201,0,4286643712,0,4286644216,2,0,-4,2,202,-1,2,165,0,4227923967,3,0,32,-1334,2,163,2,0,-129,2,94,-6,2,163,-180,2,203,-233,2,4,3,0,96,-16,2,163,3,0,47,-154,2,165,3,0,22381,-7,2,17,3,0,6128],[4294967295,4294967291,4092460543,4294828031,4294967294,134217726,268435455,2147483647,1048575,1073741823,3892314111,134217727,1061158911,536805376,4294910143,4160749567,4294901759,4294901760,536870911,262143,8388607,4294902783,4294918143,65535,67043328,2281701374,4294967232,2097151,4294903807,4194303,255,67108863,4294967039,511,524287,131071,127,4292870143,4294902271,4294549487,33554431,1023,67047423,4294901888,4286578687,4294770687,67043583,32767,15,2047999,67043343,16777215,4294902e3,4294934527,4294966783,4294967279,2047,262083,20511,4290772991,41943039,493567,4294959104,603979775,65536,602799615,805044223,4294965206,8191,1031749119,4294917631,2134769663,4286578493,4282253311,4294942719,33540095,4294905855,4294967264,2868854591,1608515583,265232348,534519807,2147614720,1060109444,4093640016,17376,2139062143,224,4169138175,4294909951,4286578688,4294967292,4294965759,2044,4292870144,4294966272,4294967280,8289918,4294934399,4294901775,4294965375,1602223615,4294967259,4294443008,268369920,4292804608,486341884,4294963199,3087007615,1073692671,4128527,4279238655,4294902015,4294966591,2445279231,3670015,3238002687,31,63,4294967288,4294705151,4095,3221208447,4294549472,2147483648,4285526655,4294966527,4294705152,4294966143,64,4294966719,16383,3774873592,458752,536807423,67043839,3758096383,3959414372,3755993023,2080374783,4294835295,4294967103,4160749565,4087,184024726,2862017156,1593309078,268434431,268434414,4294901763,536870912,2952790016,202506752,139264,402653184,4261412864,4227922944,49152,61440,3758096384,117440512,65280,3233808384,3221225472,2097152,4294965248,32768,57152,67108864,4293918720,4290772992,25165824,57344,4227915776,4278190080,4227907584,65520,4026531840,4227858432,4160749568,3758129152,4294836224,63488,1073741824,4294967040,4194304,251658240,196608,4294963200,64512,417808,4227923712,12582912,50331648,65472,4294967168,4294966784,16,4294917120,2080374784,4096,65408,524288,65532]);function h(e){return e.column++,e.currentChar=e.source.charCodeAt(++e.index)}function zu(e,u){if((u&64512)!==55296)return 0;let n=e.source.charCodeAt(e.index+1);return(n&64512)!==56320?0:(u=e.currentChar=65536+((u&1023)<<10)+(n&1023),E2[(u>>>5)+0]>>>u&31&1||d(e,18,G(u)),e.index++,e.column++,1)}function ie(e,u){e.currentChar=e.source.charCodeAt(++e.index),e.flags|=1,u&4||(e.column=0,e.line++)}function c2(e){e.flags|=1,e.currentChar=e.source.charCodeAt(++e.index),e.column=0,e.line++}function Hu(e){return e===160||e===65279||e===133||e===5760||e>=8192&&e<=8203||e===8239||e===8287||e===12288||e===8201||e===65519}function G(e){return e<=65535?String.fromCharCode(e):String.fromCharCode(e>>>10)+String.fromCharCode(e&1023)}function H(e){return e<65?e-48:e-65+10&15}function Ku(e){switch(e){case 134283266:return"NumericLiteral";case 134283267:return"StringLiteral";case 86021:case 86022:return"BooleanLiteral";case 86023:return"NullLiteral";case 65540:return"RegularExpression";case 67174408:case 67174409:case 132:return"TemplateLiteral";default:return(e&143360)===143360?"Identifier":(e&4096)===4096?"Keyword":"Punctuator"}}var L=[0,0,0,0,0,0,0,0,0,0,1032,0,0,2056,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,8192,0,3,0,0,8192,0,0,0,256,0,33024,0,0,242,242,114,114,114,114,114,114,594,594,0,0,16384,0,0,0,0,67,67,67,67,67,67,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,0,1,0,0,4099,0,71,71,71,71,71,71,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,16384,0,0,0,0],$u=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,1,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0],Ve=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,1,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0];function x2(e){return e<=127?$u[e]:E2[(e>>>5)+34816]>>>e&31&1}function U2(e){return e<=127?Ve[e]:E2[(e>>>5)+0]>>>e&31&1||e===8204||e===8205}var Re=["SingleLine","MultiLine","HTMLOpen","HTMLClose","HashbangComment"];function ru(e){let u=e.source;e.currentChar===35&&u.charCodeAt(e.index+1)===33&&(h(e),h(e),te(e,u,0,4,e.tokenPos,e.linePos,e.colPos))}function ve(e,u,n,i,t,o,l,f){return i&2048&&d(e,0),te(e,u,n,t,o,l,f)}function te(e,u,n,i,t,o,l){let{index:f}=e;for(e.tokenPos=e.index,e.linePos=e.line,e.colPos=e.column;e.index=e.source.length)return d(e,32)}let t=e.index-1,o=0,l=e.currentChar,{index:f}=e;for(;U2(l);){switch(l){case 103:o&2&&d(e,34,"g"),o|=2;break;case 105:o&1&&d(e,34,"i"),o|=1;break;case 109:o&4&&d(e,34,"m"),o|=4;break;case 117:o&16&&d(e,34,"u"),o|=16;break;case 121:o&8&&d(e,34,"y"),o|=8;break;case 115:o&32&&d(e,34,"s"),o|=32;break;case 100:o&64&&d(e,34,"d"),o|=64;break;default:d(e,33)}l=h(e)}let c=e.source.slice(f,e.index),a=e.source.slice(n,t);return e.tokenRegExp={pattern:a,flags:c},u&512&&(e.tokenRaw=e.source.slice(e.tokenPos,e.index)),e.tokenValue=Yu(e,a,c),65540}function Yu(e,u,n){try{return new RegExp(u,n)}catch{try{return new RegExp(u,n.replace("d","")),null}catch{d(e,32)}}}function Qu(e,u,n){let{index:i}=e,t="",o=h(e),l=e.index;for(;!(L[o]&8);){if(o===n)return t+=e.source.slice(l,e.index),h(e),u&512&&(e.tokenRaw=e.source.slice(i,e.index)),e.tokenValue=t,134283267;if((o&8)===8&&o===92){if(t+=e.source.slice(l,e.index),o=h(e),o<127||o===8232||o===8233){let f=Oe(e,u,o);f>=0?t+=G(f):Ue(e,f,0)}else t+=G(o);l=e.index+1}e.index>=e.end&&d(e,14),o=h(e)}d(e,14)}function Oe(e,u,n){switch(n){case 98:return 8;case 102:return 12;case 114:return 13;case 110:return 10;case 116:return 9;case 118:return 11;case 13:if(e.index1114111)return-5;return e.currentChar<1||e.currentChar!==125?-4:t}else{if(!(L[i]&64))return-4;let t=e.source.charCodeAt(e.index+1);if(!(L[t]&64))return-4;let o=e.source.charCodeAt(e.index+2);if(!(L[o]&64))return-4;let l=e.source.charCodeAt(e.index+3);return L[l]&64?(e.index+=3,e.column+=3,e.currentChar=e.source.charCodeAt(e.index),H(i)<<12|H(t)<<8|H(o)<<4|H(l)):-4}}case 56:case 57:if(!(u&256))return-3;default:return n}}function Ue(e,u,n){switch(u){case-1:return;case-2:d(e,n?2:1);case-3:d(e,13);case-4:d(e,6);case-5:d(e,102)}}function Me(e,u){let{index:n}=e,i=67174409,t="",o=h(e);for(;o!==96;){if(o===36&&e.source.charCodeAt(e.index+1)===123){h(e),i=67174408;break}else if((o&8)===8&&o===92)if(o=h(e),o>126)t+=G(o);else{let l=Oe(e,u|1024,o);if(l>=0)t+=G(l);else if(l!==-1&&u&65536){t=void 0,o=Zu(e,o),o<0&&(i=67174408);break}else Ue(e,l,1)}else e.index=e.end&&d(e,15),o=h(e)}return h(e),e.tokenValue=t,e.tokenRaw=e.source.slice(n+1,e.index-(i===67174409?1:2)),i}function Zu(e,u){for(;u!==96;){switch(u){case 36:{let n=e.index+1;if(n=e.end&&d(e,15),u=h(e)}return u}function Gu(e,u){return e.index>=e.end&&d(e,0),e.index--,e.column--,Me(e,u)}function Be(e,u,n){let i=e.currentChar,t=0,o=9,l=n&64?0:1,f=0,c=0;if(n&64)t="."+I2(e,i),i=e.currentChar,i===110&&d(e,11);else{if(i===48)if(i=h(e),(i|32)===120){for(n=136,i=h(e);L[i]&4160;){if(i===95){c||d(e,147),c=0,i=h(e);continue}c=1,t=t*16+H(i),f++,i=h(e)}(f===0||!c)&&d(e,f===0?19:148)}else if((i|32)===111){for(n=132,i=h(e);L[i]&4128;){if(i===95){c||d(e,147),c=0,i=h(e);continue}c=1,t=t*8+(i-48),f++,i=h(e)}(f===0||!c)&&d(e,f===0?0:148)}else if((i|32)===98){for(n=130,i=h(e);L[i]&4224;){if(i===95){c||d(e,147),c=0,i=h(e);continue}c=1,t=t*2+(i-48),f++,i=h(e)}(f===0||!c)&&d(e,f===0?0:148)}else if(L[i]&32)for(u&1024&&d(e,1),n=1;L[i]&16;){if(L[i]&512){n=32,l=0;break}t=t*8+(i-48),i=h(e)}else L[i]&512?(u&1024&&d(e,1),e.flags|=64,n=32):i===95&&d(e,0);if(n&48){if(l){for(;o>=0&&L[i]&4112;){if(i===95){i=h(e),(i===95||n&32)&&D2(e.index,e.line,e.index+1,147),c=1;continue}c=0,t=10*t+(i-48),i=h(e),--o}if(c&&D2(e.index,e.line,e.index+1,148),o>=0&&!x2(i)&&i!==46)return e.tokenValue=t,u&512&&(e.tokenRaw=e.source.slice(e.tokenPos,e.index)),134283266}t+=I2(e,i),i=e.currentChar,i===46&&(h(e)===95&&d(e,0),n=64,t+="."+I2(e,e.currentChar),i=e.currentChar)}}let a=e.index,g=0;if(i===110&&n&128)g=1,i=h(e);else if((i|32)===101){i=h(e),L[i]&256&&(i=h(e));let{index:m}=e;L[i]&16||d(e,10),t+=e.source.substring(a,m)+I2(e,i),i=e.currentChar}return(e.index","(","{",".","...","}",")",";",",","[","]",":","?","'",'"',"","++","--","=","<<=",">>=",">>>=","**=","+=","-=","*=","/=","%=","^=","|=","&=","||=","&&=","??=","typeof","delete","void","!","~","+","-","in","instanceof","*","%","/","**","&&","||","===","!==","==","!=","<=",">=","<",">","<<",">>",">>>","&","|","^","var","let","const","break","case","catch","class","continue","debugger","default","do","else","export","extends","finally","for","function","if","import","new","return","super","switch","this","throw","try","while","with","implements","interface","package","private","protected","public","static","yield","as","async","await","constructor","get","set","from","of","enum","eval","arguments","escaped keyword","escaped future reserved keyword","reserved if strict","#","BigIntLiteral","??","?.","WhiteSpace","Illegal","LineTerminator","PrivateField","Template","@","target","meta","LineFeed","Escaped","JSXText"],Je=Object.create(null,{this:{value:86113},function:{value:86106},if:{value:20571},return:{value:20574},var:{value:86090},else:{value:20565},for:{value:20569},new:{value:86109},in:{value:8738868},typeof:{value:16863277},while:{value:20580},case:{value:20558},break:{value:20557},try:{value:20579},catch:{value:20559},delete:{value:16863278},throw:{value:86114},switch:{value:86112},continue:{value:20561},default:{value:20563},instanceof:{value:8476725},do:{value:20564},void:{value:16863279},finally:{value:20568},async:{value:209007},await:{value:209008},class:{value:86096},const:{value:86092},constructor:{value:12401},debugger:{value:20562},export:{value:20566},extends:{value:20567},false:{value:86021},from:{value:12404},get:{value:12402},implements:{value:36966},import:{value:86108},interface:{value:36967},let:{value:241739},null:{value:86023},of:{value:274549},package:{value:36968},private:{value:36969},protected:{value:36970},public:{value:36971},set:{value:12403},static:{value:36972},super:{value:86111},true:{value:86022},with:{value:20581},yield:{value:241773},enum:{value:86134},eval:{value:537079927},as:{value:77934},arguments:{value:537079928},target:{value:143494},meta:{value:143495}});function Te(e,u,n){for(;Ve[h(e)];);return e.tokenValue=e.source.slice(e.tokenPos,e.index),e.currentChar!==92&&e.currentChar<=126?Je[e.tokenValue]||208897:oe(e,u,0,n)}function xu(e,u){let n=je(e);return U2(n)||d(e,4),e.tokenValue=G(n),oe(e,u,1,L[n]&4)}function oe(e,u,n,i){let t=e.index;for(;e.index=2&&o<=11){let l=Je[e.tokenValue];return l===void 0?208897:n?l===209008?u&4196352?121:l:u&1024?l===36972||(l&36864)===36864?122:(l&20480)===20480?u&1073741824&&!(u&8192)?l:121:143483:u&1073741824&&!(u&8192)&&(l&20480)===20480?l:l===241773?u&1073741824?143483:u&2097152?121:l:l===209007?143483:(l&36864)===36864?l:121:l}return 208897}function pu(e){return x2(h(e))||d(e,94),131}function je(e){return e.source.charCodeAt(e.index+1)!==117&&d(e,4),e.currentChar=e.source.charCodeAt(e.index+=2),e1(e)}function e1(e){let u=0,n=e.currentChar;if(n===123){let l=e.index-2;for(;L[h(e)]&64;)u=u<<4|H(e.currentChar),u>1114111&&D2(l,e.line,e.index+1,102);return e.currentChar!==125&&D2(l,e.line,e.index-1,6),h(e),u}L[n]&64||d(e,6);let i=e.source.charCodeAt(e.index+1);L[i]&64||d(e,6);let t=e.source.charCodeAt(e.index+2);L[t]&64||d(e,6);let o=e.source.charCodeAt(e.index+3);return L[o]&64||d(e,6),u=H(n)<<12|H(i)<<8|H(t)<<4|H(o),e.currentChar=e.source.charCodeAt(e.index+=4),u}var Xe=[129,129,129,129,129,129,129,129,129,128,136,128,128,130,129,129,129,129,129,129,129,129,129,129,129,129,129,129,129,129,129,129,128,16842800,134283267,131,208897,8457015,8455751,134283267,67174411,16,8457014,25233970,18,25233971,67108877,8457016,134283266,134283266,134283266,134283266,134283266,134283266,134283266,134283266,134283266,134283266,21,1074790417,8456258,1077936157,8456259,22,133,208897,208897,208897,208897,208897,208897,208897,208897,208897,208897,208897,208897,208897,208897,208897,208897,208897,208897,208897,208897,208897,208897,208897,208897,208897,208897,69271571,137,20,8455497,208897,132,4096,4096,4096,4096,4096,4096,4096,208897,4096,208897,208897,4096,208897,4096,208897,4096,208897,4096,4096,4096,208897,4096,4096,208897,4096,4096,2162700,8455240,1074790415,16842801,129];function b(e,u){if(e.flags=(e.flags|1)^1,e.startPos=e.index,e.startColumn=e.column,e.startLine=e.line,e.token=ze(e,u,0),e.onToken&&e.token!==1048576){let n={start:{line:e.linePos,column:e.colPos},end:{line:e.line,column:e.column}};e.onToken(Ku(e.token),e.tokenPos,e.index,n)}}function ze(e,u,n){let i=e.index===0,t=e.source,o=e.index,l=e.line,f=e.column;for(;e.index=e.end)return 8457014;let s=e.currentChar;return s===61?(h(e),4194340):s!==42?8457014:h(e)!==61?8457273:(h(e),4194337)}case 8455497:return h(e)!==61?8455497:(h(e),4194343);case 25233970:{h(e);let s=e.currentChar;return s===43?(h(e),33619995):s===61?(h(e),4194338):25233970}case 25233971:{h(e);let s=e.currentChar;if(s===45){if(h(e),(n&1||i)&&e.currentChar===62){u&256||d(e,109),h(e),n=ve(e,t,n,u,3,o,l,f),o=e.tokenPos,l=e.linePos,f=e.colPos;continue}return 33619996}return s===61?(h(e),4194339):25233971}case 8457016:{if(h(e),e.index=48&&m<=57)return Be(e,u,80);if(m===46){let s=e.index+1;if(s=48&&s<=57)))return h(e),67108991}return 22}}}else{if((c^8232)<=1){n=n&-5|1,c2(e);continue}if((c&64512)===55296||E2[(c>>>5)+34816]>>>c&31&1)return(c&64512)===56320&&(c=(c&1023)<<10|c&1023|65536,E2[(c>>>5)+0]>>>c&31&1||d(e,18,G(c)),e.index++,e.currentChar=c),e.column++,e.tokenValue="",oe(e,u,0,0);if(Hu(c)){h(e);continue}d(e,18,G(c))}}return 1048576}function u1(e,u){return e.startPos=e.tokenPos=e.index,e.startColumn=e.colPos=e.column,e.startLine=e.linePos=e.line,e.token=L[e.currentChar]&8192?n1(e,u):ze(e,u,0),e.token}function n1(e,u){let n=e.currentChar,i=h(e),t=e.index;for(;i!==n;)e.index>=e.end&&d(e,14),i=h(e);return i!==n&&d(e,14),e.tokenValue=e.source.slice(t,e.index),h(e),u&512&&(e.tokenRaw=e.source.slice(e.tokenPos,e.index)),134283267}function d2(e,u){if(e.startPos=e.tokenPos=e.index,e.startColumn=e.colPos=e.column,e.startLine=e.linePos=e.line,e.index>=e.end)return e.token=1048576;switch(Xe[e.source.charCodeAt(e.index)]){case 8456258:{h(e),e.currentChar===47?(h(e),e.token=25):e.token=8456258;break}case 2162700:{h(e),e.token=2162700;break}default:{let i=0;for(;e.index1&&t&32&&e.token&262144&&d(e,59,U[e.token&255]),l}function qe(e,u,n,i,t){let{token:o,tokenPos:l,linePos:f,colPos:c}=e,a=null,g=cu(e,u,n,i,t,l,f,c);return e.token===1077936157?(b(e,u|32768),a=R(e,u,1,0,0,e.tokenPos,e.linePos,e.colPos),(t&32||!(o&2097152))&&(e.token===274549||e.token===8738868&&(o&2097152||!(i&4)||u&1024))&&h2(l,e.line,e.index-3,58,e.token===274549?"of":"in")):(i&16||(o&2097152)>0)&&(e.token&262144)!==262144&&d(e,57,i&16?"const":"destructuring"),y(e,u,l,f,c,{type:"VariableDeclarator",id:g,init:a})}function q1(e,u,n,i,t,o,l){b(e,u);let f=((u&4194304)>0||(u&2048)>0&&(u&8192)>0)&&q(e,u,209008);P(e,u|32768,67174411),n&&(n=J(n,1));let c=null,a=null,g=0,m=null,s=e.token===86090||e.token===241739||e.token===86092,k,{token:C,tokenPos:A,linePos:E,colPos:w}=e;if(s?C===241739?(m=I(e,u,0),e.token&2240512?(e.token===8738868?u&1024&&d(e,65):m=y(e,u,A,E,w,{type:"VariableDeclaration",kind:"let",declarations:y2(e,u|134217728,n,8,32)}),e.assignable=1):u&1024?d(e,65):(s=!1,e.assignable=1,m=N(e,u,m,0,0,A,E,w),e.token===274549&&d(e,112))):(b(e,u),m=y(e,u,A,E,w,C===86090?{type:"VariableDeclaration",kind:"var",declarations:y2(e,u|134217728,n,4,32)}:{type:"VariableDeclaration",kind:"const",declarations:y2(e,u|134217728,n,16,32)}),e.assignable=1):C===1074790417?f&&d(e,80):(C&2097152)===2097152?(m=C===2162700?_(e,u,void 0,1,0,0,2,32,A,E,w):W(e,u,void 0,1,0,0,2,32,A,E,w),g=e.destructible,u&256&&g&64&&d(e,61),e.assignable=g&16?2:1,m=N(e,u|134217728,m,0,0,e.tokenPos,e.linePos,e.colPos)):m=r(e,u|134217728,1,0,1,A,E,w),(e.token&262144)===262144){if(e.token===274549){e.assignable&2&&d(e,78,f?"await":"of"),Z(e,m),b(e,u|32768),k=R(e,u,1,0,0,e.tokenPos,e.linePos,e.colPos),P(e,u|32768,16);let S=P2(e,u,n,i);return y(e,u,t,o,l,{type:"ForOfStatement",left:m,right:k,body:S,await:f})}e.assignable&2&&d(e,78,"in"),Z(e,m),b(e,u|32768),f&&d(e,80),k=j(e,u,0,1,e.tokenPos,e.linePos,e.colPos),P(e,u|32768,16);let M=P2(e,u,n,i);return y(e,u,t,o,l,{type:"ForInStatement",body:M,left:m,right:k})}f&&d(e,80),s||(g&8&&e.token!==1077936157&&d(e,78,"loop"),m=O(e,u|134217728,0,0,A,E,w,m)),e.token===18&&(m=u2(e,u,0,e.tokenPos,e.linePos,e.colPos,m)),P(e,u|32768,1074790417),e.token!==1074790417&&(c=j(e,u,0,1,e.tokenPos,e.linePos,e.colPos)),P(e,u|32768,1074790417),e.token!==16&&(a=j(e,u,0,1,e.tokenPos,e.linePos,e.colPos)),P(e,u|32768,16);let B=P2(e,u,n,i);return y(e,u,t,o,l,{type:"ForStatement",init:m,test:c,update:a,body:B})}function Qe(e,u,n){return fe(u,e.token)||d(e,115),(e.token&537079808)===537079808&&d(e,116),n&&t2(e,u,n,e.tokenValue,8,0),I(e,u,0)}function L1(e,u,n){let i=e.tokenPos,t=e.linePos,o=e.colPos;b(e,u);let l=null,{tokenPos:f,linePos:c,colPos:a}=e,g=[];if(e.token===134283267)l=X(e,u);else{if(e.token&143360){let m=Qe(e,u,n);if(g=[y(e,u,f,c,a,{type:"ImportDefaultSpecifier",local:m})],q(e,u,18))switch(e.token){case 8457014:g.push(Le(e,u,n));break;case 2162700:Ie(e,u,n,g);break;default:d(e,105)}}else switch(e.token){case 8457014:g=[Le(e,u,n)];break;case 2162700:Ie(e,u,n,g);break;case 67174411:return Ge(e,u,i,t,o);case 67108877:return Ze(e,u,i,t,o);default:d(e,28,U[e.token&255])}l=I1(e,u)}return z(e,u|32768),y(e,u,i,t,o,{type:"ImportDeclaration",specifiers:g,source:l})}function Le(e,u,n){let{tokenPos:i,linePos:t,colPos:o}=e;return b(e,u),P(e,u,77934),(e.token&134217728)===134217728&&h2(i,e.line,e.index,28,U[e.token&255]),y(e,u,i,t,o,{type:"ImportNamespaceSpecifier",local:Qe(e,u,n)})}function I1(e,u){return q(e,u,12404),e.token!==134283267&&d(e,103,"Import"),X(e,u)}function Ie(e,u,n,i){for(b(e,u);e.token&143360;){let{token:t,tokenValue:o,tokenPos:l,linePos:f,colPos:c}=e,a=I(e,u,0),g;q(e,u,77934)?((e.token&134217728)===134217728||e.token===18?d(e,104):M2(e,u,16,e.token,0),o=e.tokenValue,g=I(e,u,0)):(M2(e,u,16,t,0),g=a),n&&t2(e,u,n,o,8,0),i.push(y(e,u,l,f,c,{type:"ImportSpecifier",local:g,imported:a})),e.token!==1074790415&&P(e,u,18)}return P(e,u,1074790415),i}function Ze(e,u,n,i,t){let o=pe(e,u,y(e,u,n,i,t,{type:"Identifier",name:"import"}),n,i,t);return o=N(e,u,o,0,0,n,i,t),o=O(e,u,0,0,n,i,t,o),b2(e,u,o,n,i,t)}function Ge(e,u,n,i,t){let o=eu(e,u,0,n,i,t);return o=N(e,u,o,0,0,n,i,t),e.token===18&&(o=u2(e,u,0,n,i,t,o)),b2(e,u,o,n,i,t)}function N1(e,u,n){let i=e.tokenPos,t=e.linePos,o=e.colPos;b(e,u|32768);let l=[],f=null,c=null,a;if(q(e,u|32768,20563)){switch(e.token){case 86106:{f=i2(e,u,n,4,1,1,0,e.tokenPos,e.linePos,e.colPos);break}case 133:case 86096:f=ne(e,u,n,1,e.tokenPos,e.linePos,e.colPos);break;case 209007:let{tokenPos:g,linePos:m,colPos:s}=e;f=I(e,u,0);let{flags:k}=e;k&1||(e.token===86106?f=i2(e,u,n,4,1,1,1,g,m,s):e.token===67174411?(f=ke(e,u,f,1,1,0,k,g,m,s),f=N(e,u,f,0,0,g,m,s),f=O(e,u,0,0,g,m,s,f)):e.token&143360&&(n&&(n=H2(e,u,e.tokenValue)),f=I(e,u,0),f=B2(e,u,n,[f],1,g,m,s)));break;default:f=R(e,u,1,0,0,e.tokenPos,e.linePos,e.colPos),z(e,u|32768)}return n&&l2(e,"default"),y(e,u,i,t,o,{type:"ExportDefaultDeclaration",declaration:f})}switch(e.token){case 8457014:{b(e,u);let k=null;return q(e,u,77934)&&(n&&l2(e,e.tokenValue),k=I(e,u,0)),P(e,u,12404),e.token!==134283267&&d(e,103,"Export"),c=X(e,u),z(e,u|32768),y(e,u,i,t,o,{type:"ExportAllDeclaration",source:c,exported:k})}case 2162700:{b(e,u);let k=[],C=[];for(;e.token&143360;){let{tokenPos:A,tokenValue:E,linePos:w,colPos:B}=e,M=I(e,u,0),S;e.token===77934?(b(e,u),(e.token&134217728)===134217728&&d(e,104),n&&(k.push(e.tokenValue),C.push(E)),S=I(e,u,0)):(n&&(k.push(e.tokenValue),C.push(e.tokenValue)),S=M),l.push(y(e,u,A,w,B,{type:"ExportSpecifier",local:M,exported:S})),e.token!==1074790415&&P(e,u,18)}if(P(e,u,1074790415),q(e,u,12404))e.token!==134283267&&d(e,103,"Export"),c=X(e,u);else if(n){let A=0,E=k.length;for(;A0)&8738868,g,m;for(e.assignable=2;e.token&8454144&&(g=e.token,m=g&3840,(g&524288&&f&268435456||f&524288&&g&268435456)&&d(e,160),!(m+((g===8457273)<<8)-((a===g)<<12)<=l));)b(e,u|32768),c=y(e,u,i,t,o,{type:g&524288||g&268435456?"LogicalExpression":"BinaryExpression",left:c,right:n2(e,u,n,e.tokenPos,e.linePos,e.colPos,m,g,r(e,u,0,n,1,e.tokenPos,e.linePos,e.colPos)),operator:U[g&255]});return e.token===1077936157&&d(e,24),c}function V1(e,u,n,i,t,o,l){n||d(e,0);let f=e.token;b(e,u|32768);let c=r(e,u,0,l,1,e.tokenPos,e.linePos,e.colPos);return e.token===8457273&&d(e,31),u&1024&&f===16863278&&(c.type==="Identifier"?d(e,118):i1(c)&&d(e,124)),e.assignable=2,y(e,u,i,t,o,{type:"UnaryExpression",operator:U[f&255],argument:c,prefix:!0})}function R1(e,u,n,i,t,o,l,f,c,a){let{token:g}=e,m=I(e,u,o),{flags:s}=e;if(!(s&1)){if(e.token===86106)return nu(e,u,1,n,f,c,a);if((e.token&143360)===143360)return i||d(e,0),ou(e,u,t,f,c,a)}return!l&&e.token===67174411?ke(e,u,m,t,1,0,s,f,c,a):e.token===10?(ce(e,u,g,1),l&&d(e,49),$2(e,u,e.tokenValue,m,l,t,0,f,c,a)):m}function O1(e,u,n,i,t,o,l){if(n&&(e.destructible|=256),u&2097152){b(e,u|32768),u&8388608&&d(e,30),i||d(e,24),e.token===22&&d(e,121);let f=null,c=!1;return e.flags&1||(c=q(e,u|32768,8457014),(e.token&77824||c)&&(f=R(e,u,1,0,0,e.tokenPos,e.linePos,e.colPos))),e.assignable=2,y(e,u,t,o,l,{type:"YieldExpression",argument:f,delegate:c})}return u&1024&&d(e,95,"yield"),ye(e,u,t,o,l)}function U1(e,u,n,i,t,o,l){if(i&&(e.destructible|=128),u&4194304||u&2048&&u&8192){n&&d(e,0),u&8388608&&h2(e.index,e.line,e.index,29),b(e,u|32768);let f=r(e,u,0,0,1,e.tokenPos,e.linePos,e.colPos);return e.token===8457273&&d(e,31),e.assignable=2,y(e,u,t,o,l,{type:"AwaitExpression",argument:f})}return u&2048&&d(e,96),ye(e,u,t,o,l)}function K2(e,u,n,i,t,o){let{tokenPos:l,linePos:f,colPos:c}=e;P(e,u|32768,2162700);let a=[],g=u;if(e.token!==1074790415){for(;e.token===134283267;){let{index:m,tokenPos:s,tokenValue:k,token:C}=e,A=X(e,u);He(e,m,s,k)&&(u|=1024,e.flags&128&&h2(e.index,e.line,e.tokenPos,64),e.flags&64&&h2(e.index,e.line,e.tokenPos,8)),a.push(se(e,u,A,C,s,e.linePos,e.colPos))}u&1024&&(t&&((t&537079808)===537079808&&d(e,116),(t&36864)===36864&&d(e,38)),e.flags&512&&d(e,116),e.flags&256&&d(e,115)),u&64&&n&&o!==void 0&&!(g&1024)&&!(u&8192)&&z2(o)}for(e.flags=(e.flags|512|256|64)^832,e.destructible=(e.destructible|256)^256;e.token!==1074790415;)a.push(S2(e,u,n,4,{}));return P(e,i&24?u|32768:u,1074790415),e.flags&=-193,e.token===1077936157&&d(e,24),y(e,u,l,f,c,{type:"BlockStatement",body:a})}function M1(e,u,n,i,t){switch(b(e,u),e.token){case 67108991:d(e,162);case 67174411:{u&524288||d(e,26),u&16384&&d(e,27),e.assignable=2;break}case 69271571:case 67108877:{u&262144||d(e,27),u&16384&&d(e,27),e.assignable=1;break}default:d(e,28,"super")}return y(e,u,n,i,t,{type:"Super"})}function r(e,u,n,i,t,o,l,f){let c=K(e,u,2,0,n,0,i,t,o,l,f);return N(e,u,c,i,0,o,l,f)}function J1(e,u,n,i,t,o){e.assignable&2&&d(e,53);let{token:l}=e;return b(e,u),e.assignable=2,y(e,u,i,t,o,{type:"UpdateExpression",argument:n,operator:U[l&255],prefix:!1})}function N(e,u,n,i,t,o,l,f){if((e.token&33619968)===33619968&&!(e.flags&1))n=J1(e,u,n,o,l,f);else if((e.token&67108864)===67108864){switch(u=(u|134217728)^134217728,e.token){case 67108877:{b(e,(u|1073741824|8192)^8192),e.assignable=1;let c=xe(e,u);n=y(e,u,o,l,f,{type:"MemberExpression",object:n,computed:!1,property:c});break}case 69271571:{let c=!1;(e.flags&2048)===2048&&(c=!0,e.flags=(e.flags|2048)^2048),b(e,u|32768);let{tokenPos:a,linePos:g,colPos:m}=e,s=j(e,u,i,1,a,g,m);P(e,u,20),e.assignable=1,n=y(e,u,o,l,f,{type:"MemberExpression",object:n,computed:!0,property:s}),c&&(e.flags|=2048);break}case 67174411:{if((e.flags&1024)===1024)return e.flags=(e.flags|1024)^1024,n;let c=!1;(e.flags&2048)===2048&&(c=!0,e.flags=(e.flags|2048)^2048);let a=ge(e,u,i);e.assignable=2,n=y(e,u,o,l,f,{type:"CallExpression",callee:n,arguments:a}),c&&(e.flags|=2048);break}case 67108991:{b(e,(u|1073741824|8192)^8192),e.flags|=2048,e.assignable=2,n=j1(e,u,n,o,l,f);break}default:(e.flags&2048)===2048&&d(e,161),e.assignable=2,n=y(e,u,o,l,f,{type:"TaggedTemplateExpression",tag:n,quasi:e.token===67174408?me(e,u|65536):ae(e,u,e.tokenPos,e.linePos,e.colPos)})}n=N(e,u,n,0,1,o,l,f)}return t===0&&(e.flags&2048)===2048&&(e.flags=(e.flags|2048)^2048,n=y(e,u,o,l,f,{type:"ChainExpression",expression:n})),n}function j1(e,u,n,i,t,o){let l=!1,f;if((e.token===69271571||e.token===67174411)&&(e.flags&2048)===2048&&(l=!0,e.flags=(e.flags|2048)^2048),e.token===69271571){b(e,u|32768);let{tokenPos:c,linePos:a,colPos:g}=e,m=j(e,u,0,1,c,a,g);P(e,u,20),e.assignable=2,f=y(e,u,i,t,o,{type:"MemberExpression",object:n,computed:!0,optional:!0,property:m})}else if(e.token===67174411){let c=ge(e,u,0);e.assignable=2,f=y(e,u,i,t,o,{type:"CallExpression",callee:n,arguments:c,optional:!0})}else{e.token&143360||d(e,155);let c=I(e,u,0);e.assignable=2,f=y(e,u,i,t,o,{type:"MemberExpression",object:n,computed:!1,optional:!0,property:c})}return l&&(e.flags|=2048),f}function xe(e,u){return!(e.token&143360)&&e.token!==131&&d(e,155),u&1&&e.token===131?X2(e,u,e.tokenPos,e.linePos,e.colPos):I(e,u,0)}function X1(e,u,n,i,t,o,l){n&&d(e,54),i||d(e,0);let{token:f}=e;b(e,u|32768);let c=r(e,u,0,0,1,e.tokenPos,e.linePos,e.colPos);return e.assignable&2&&d(e,53),e.assignable=2,y(e,u,t,o,l,{type:"UpdateExpression",argument:c,operator:U[f&255],prefix:!0})}function K(e,u,n,i,t,o,l,f,c,a,g){if((e.token&143360)===143360){switch(e.token){case 209008:return U1(e,u,i,l,c,a,g);case 241773:return O1(e,u,l,t,c,a,g);case 209007:return R1(e,u,l,f,t,o,i,c,a,g)}let{token:m,tokenValue:s}=e,k=I(e,u|65536,o);return e.token===10?(f||d(e,0),ce(e,u,m,1),$2(e,u,s,k,i,t,0,c,a,g)):(u&16384&&m===537079928&&d(e,127),m===241739&&(u&1024&&d(e,110),n&24&&d(e,98)),e.assignable=u&1024&&(m&537079808)===537079808?2:1,k)}if((e.token&134217728)===134217728)return X(e,u);switch(e.token){case 33619995:case 33619996:return X1(e,u,i,f,c,a,g);case 16863278:case 16842800:case 16842801:case 25233970:case 25233971:case 16863277:case 16863279:return V1(e,u,f,c,a,g,l);case 86106:return nu(e,u,0,l,c,a,g);case 2162700:return W1(e,u,t?0:1,l,c,a,g);case 69271571:return r1(e,u,t?0:1,l,c,a,g);case 67174411:return Y1(e,u,t,1,0,c,a,g);case 86021:case 86022:case 86023:return K1(e,u,c,a,g);case 86113:return $1(e,u);case 65540:return G1(e,u,c,a,g);case 133:case 86096:return x1(e,u,l,c,a,g);case 86111:return M1(e,u,c,a,g);case 67174409:return ae(e,u,c,a,g);case 67174408:return me(e,u);case 86109:return Q1(e,u,l,c,a,g);case 134283389:return uu(e,u,c,a,g);case 131:return X2(e,u,c,a,g);case 86108:return z1(e,u,i,l,c,a,g);case 8456258:if(u&16)return De(e,u,1,c,a,g);default:if(fe(u,e.token))return ye(e,u,c,a,g);d(e,28,U[e.token&255])}}function z1(e,u,n,i,t,o,l){let f=I(e,u,0);return e.token===67108877?pe(e,u,f,t,o,l):(n&&d(e,138),f=eu(e,u,i,t,o,l),e.assignable=2,N(e,u,f,i,0,t,o,l))}function pe(e,u,n,i,t,o){return u&2048||d(e,164),b(e,u),e.token!==143495&&e.tokenValue!=="meta"&&d(e,28,U[e.token&255]),e.assignable=2,y(e,u,i,t,o,{type:"MetaProperty",meta:n,property:I(e,u,0)})}function eu(e,u,n,i,t,o){P(e,u|32768,67174411),e.token===14&&d(e,139);let l=R(e,u,1,0,n,e.tokenPos,e.linePos,e.colPos);return P(e,u,16),y(e,u,i,t,o,{type:"ImportExpression",source:l})}function uu(e,u,n,i,t){let{tokenRaw:o,tokenValue:l}=e;return b(e,u),e.assignable=2,y(e,u,n,i,t,u&512?{type:"Literal",value:l,bigint:o.slice(0,-1),raw:o}:{type:"Literal",value:l,bigint:o.slice(0,-1)})}function ae(e,u,n,i,t){e.assignable=2;let{tokenValue:o,tokenRaw:l,tokenPos:f,linePos:c,colPos:a}=e;P(e,u,67174409);let g=[R2(e,u,o,l,f,c,a,!0)];return y(e,u,n,i,t,{type:"TemplateLiteral",expressions:[],quasis:g})}function me(e,u){u=(u|134217728)^134217728;let{tokenValue:n,tokenRaw:i,tokenPos:t,linePos:o,colPos:l}=e;P(e,u|32768,67174408);let f=[R2(e,u,n,i,t,o,l,!1)],c=[j(e,u,0,1,e.tokenPos,e.linePos,e.colPos)];for(e.token!==1074790415&&d(e,81);(e.token=Gu(e,u))!==67174409;){let{tokenValue:a,tokenRaw:g,tokenPos:m,linePos:s,colPos:k}=e;P(e,u|32768,67174408),f.push(R2(e,u,a,g,m,s,k,!1)),c.push(j(e,u,0,1,e.tokenPos,e.linePos,e.colPos)),e.token!==1074790415&&d(e,81)}{let{tokenValue:a,tokenRaw:g,tokenPos:m,linePos:s,colPos:k}=e;P(e,u,67174409),f.push(R2(e,u,a,g,m,s,k,!0))}return y(e,u,t,o,l,{type:"TemplateLiteral",expressions:c,quasis:f})}function R2(e,u,n,i,t,o,l,f){let c=y(e,u,t,o,l,{type:"TemplateElement",value:{cooked:n,raw:i},tail:f}),a=f?1:2;return u&2&&(c.start+=1,c.range[0]+=1,c.end-=a,c.range[1]-=a),u&4&&(c.loc.start.column+=1,c.loc.end.column-=a),c}function H1(e,u,n,i,t){u=(u|134217728)^134217728,P(e,u|32768,14);let o=R(e,u,1,0,0,e.tokenPos,e.linePos,e.colPos);return e.assignable=1,y(e,u,n,i,t,{type:"SpreadElement",argument:o})}function ge(e,u,n){b(e,u|32768);let i=[];if(e.token===16)return b(e,u),i;for(;e.token!==16&&(e.token===14?i.push(H1(e,u,e.tokenPos,e.linePos,e.colPos)):i.push(R(e,u,1,0,n,e.tokenPos,e.linePos,e.colPos)),!(e.token!==18||(b(e,u|32768),e.token===16))););return P(e,u,16),i}function I(e,u,n){let{tokenValue:i,tokenPos:t,linePos:o,colPos:l}=e;return b(e,u),y(e,u,t,o,l,u&268435456?{type:"Identifier",name:i,pattern:n===1}:{type:"Identifier",name:i})}function X(e,u){let{tokenValue:n,tokenRaw:i,tokenPos:t,linePos:o,colPos:l}=e;return e.token===134283389?uu(e,u,t,o,l):(b(e,u),e.assignable=2,y(e,u,t,o,l,u&512?{type:"Literal",value:n,raw:i}:{type:"Literal",value:n}))}function K1(e,u,n,i,t){let o=U[e.token&255],l=e.token===86023?null:o==="true";return b(e,u),e.assignable=2,y(e,u,n,i,t,u&512?{type:"Literal",value:l,raw:o}:{type:"Literal",value:l})}function $1(e,u){let{tokenPos:n,linePos:i,colPos:t}=e;return b(e,u),e.assignable=2,y(e,u,n,i,t,{type:"ThisExpression"})}function i2(e,u,n,i,t,o,l,f,c,a){b(e,u|32768);let g=t?le(e,u,8457014):0,m=null,s,k=n?s2():void 0;if(e.token===67174411)o&1||d(e,37,"Function");else{let E=i&4&&(!(u&8192)||!(u&2048))?4:64;Ke(e,u|(u&3072)<<11,e.token),n&&(E&4?We(e,u,n,e.tokenValue,E):t2(e,u,n,e.tokenValue,E,i),k=J(k,256),o&&o&2&&l2(e,e.tokenValue)),s=e.token,e.token&143360?m=I(e,u,0):d(e,28,U[e.token&255])}u=(u|32243712)^32243712|67108864|l*2+g<<21|(g?0:1073741824),n&&(k=J(k,512));let C=tu(e,u|8388608,k,0,1),A=K2(e,(u|8192|4096|131072)^143360,n?J(k,128):k,8,s,n?k.scopeError:void 0);return y(e,u,f,c,a,{type:"FunctionDeclaration",id:m,params:C,body:A,async:l===1,generator:g===1})}function nu(e,u,n,i,t,o,l){b(e,u|32768);let f=le(e,u,8457014),c=n*2+f<<21,a=null,g,m=u&64?s2():void 0;(e.token&176128)>0&&(Ke(e,(u|32243712)^32243712|c,e.token),m&&(m=J(m,256)),g=e.token,a=I(e,u,0)),u=(u|32243712)^32243712|67108864|c|(f?0:1073741824),m&&(m=J(m,512));let s=tu(e,u|8388608,m,i,1),k=K2(e,u&-134377473,m&&J(m,128),0,g,void 0);return e.assignable=2,y(e,u,t,o,l,{type:"FunctionExpression",id:a,params:s,body:k,async:n===1,generator:f===1})}function r1(e,u,n,i,t,o,l){let f=W(e,u,void 0,n,i,0,2,0,t,o,l);return u&256&&e.destructible&64&&d(e,61),e.destructible&8&&d(e,60),f}function W(e,u,n,i,t,o,l,f,c,a,g){b(e,u|32768);let m=[],s=0;for(u=(u|134217728)^134217728;e.token!==20;)if(q(e,u|32768,18))m.push(null);else{let C,{token:A,tokenPos:E,linePos:w,colPos:B,tokenValue:M}=e;if(A&143360)if(C=K(e,u,l,0,1,0,t,1,E,w,B),e.token===1077936157){e.assignable&2&&d(e,24),b(e,u|32768),n&&e2(e,u,n,M,l,f);let S=R(e,u,1,1,t,e.tokenPos,e.linePos,e.colPos);C=y(e,u,E,w,B,o?{type:"AssignmentPattern",left:C,right:S}:{type:"AssignmentExpression",operator:"=",left:C,right:S}),s|=e.destructible&256?256:0|e.destructible&128?128:0}else e.token===18||e.token===20?(e.assignable&2?s|=16:n&&e2(e,u,n,M,l,f),s|=e.destructible&256?256:0|e.destructible&128?128:0):(s|=l&1?32:l&2?0:16,C=N(e,u,C,t,0,E,w,B),e.token!==18&&e.token!==20?(e.token!==1077936157&&(s|=16),C=O(e,u,t,o,E,w,B,C)):e.token!==1077936157&&(s|=e.assignable&2?16:32));else A&2097152?(C=e.token===2162700?_(e,u,n,0,t,o,l,f,E,w,B):W(e,u,n,0,t,o,l,f,E,w,B),s|=e.destructible,e.assignable=e.destructible&16?2:1,e.token===18||e.token===20?e.assignable&2&&(s|=16):e.destructible&8?d(e,69):(C=N(e,u,C,t,0,E,w,B),s=e.assignable&2?16:0,e.token!==18&&e.token!==20?C=O(e,u,t,o,E,w,B,C):e.token!==1077936157&&(s|=e.assignable&2?16:32))):A===14?(C=A2(e,u,n,20,l,f,0,t,o,E,w,B),s|=e.destructible,e.token!==18&&e.token!==20&&d(e,28,U[e.token&255])):(C=r(e,u,1,0,1,E,w,B),e.token!==18&&e.token!==20?(C=O(e,u,t,o,E,w,B,C),!(l&3)&&A===67174411&&(s|=16)):e.assignable&2?s|=16:A===67174411&&(s|=e.assignable&1&&l&3?32:16));if(m.push(C),q(e,u|32768,18)){if(e.token===20)break}else break}P(e,u,20);let k=y(e,u,c,a,g,{type:o?"ArrayPattern":"ArrayExpression",elements:m});return!i&&e.token&4194304?iu(e,u,s,t,o,c,a,g,k):(e.destructible=s,k)}function iu(e,u,n,i,t,o,l,f,c){e.token!==1077936157&&d(e,24),b(e,u|32768),n&16&&d(e,24),t||Z(e,c);let{tokenPos:a,linePos:g,colPos:m}=e,s=R(e,u,1,1,i,a,g,m);return e.destructible=(n|64|8)^72|(e.destructible&128?128:0)|(e.destructible&256?256:0),y(e,u,o,l,f,t?{type:"AssignmentPattern",left:c,right:s}:{type:"AssignmentExpression",left:c,operator:"=",right:s})}function A2(e,u,n,i,t,o,l,f,c,a,g,m){b(e,u|32768);let s=null,k=0,{token:C,tokenValue:A,tokenPos:E,linePos:w,colPos:B}=e;if(C&143360)e.assignable=1,s=K(e,u,t,0,1,0,f,1,E,w,B),C=e.token,s=N(e,u,s,f,0,E,w,B),e.token!==18&&e.token!==i&&(e.assignable&2&&e.token===1077936157&&d(e,69),k|=16,s=O(e,u,f,c,E,w,B,s)),e.assignable&2?k|=16:C===i||C===18?n&&e2(e,u,n,A,t,o):k|=32,k|=e.destructible&128?128:0;else if(C===i)d(e,39);else if(C&2097152)s=e.token===2162700?_(e,u,n,1,f,c,t,o,E,w,B):W(e,u,n,1,f,c,t,o,E,w,B),C=e.token,C!==1077936157&&C!==i&&C!==18?(e.destructible&8&&d(e,69),s=N(e,u,s,f,0,E,w,B),k|=e.assignable&2?16:0,(e.token&4194304)===4194304?(e.token!==1077936157&&(k|=16),s=O(e,u,f,c,E,w,B,s)):((e.token&8454144)===8454144&&(s=n2(e,u,1,E,w,B,4,C,s)),q(e,u|32768,22)&&(s=f2(e,u,s,E,w,B)),k|=e.assignable&2?16:32)):k|=i===1074790415&&C!==1077936157?16:e.destructible;else{k|=32,s=r(e,u,1,f,1,e.tokenPos,e.linePos,e.colPos);let{token:M,tokenPos:S,linePos:V,colPos:D}=e;return M===1077936157&&M!==i&&M!==18?(e.assignable&2&&d(e,24),s=O(e,u,f,c,S,V,D,s),k|=16):(M===18?k|=16:M!==i&&(s=O(e,u,f,c,S,V,D,s)),k|=e.assignable&1?32:16),e.destructible=k,e.token!==i&&e.token!==18&&d(e,156),y(e,u,a,g,m,{type:c?"RestElement":"SpreadElement",argument:s})}if(e.token!==i)if(t&1&&(k|=l?16:32),q(e,u|32768,1077936157)){k&16&&d(e,24),Z(e,s);let M=R(e,u,1,1,f,e.tokenPos,e.linePos,e.colPos);s=y(e,u,E,w,B,c?{type:"AssignmentPattern",left:s,right:M}:{type:"AssignmentExpression",left:s,operator:"=",right:M}),k=16}else k|=16;return e.destructible=k,y(e,u,a,g,m,{type:c?"RestElement":"SpreadElement",argument:s})}function Q(e,u,n,i,t,o,l){let f=n&64?14680064:31981568;u=(u|f)^f|(n&88)<<18|100925440;let c=u&64?J(s2(),512):void 0,a=_1(e,u|8388608,c,n,1,i);c&&(c=J(c,128));let g=K2(e,u&-134230017,c,0,void 0,void 0);return y(e,u,t,o,l,{type:"FunctionExpression",params:a,body:g,async:(n&16)>0,generator:(n&8)>0,id:null})}function W1(e,u,n,i,t,o,l){let f=_(e,u,void 0,n,i,0,2,0,t,o,l);return u&256&&e.destructible&64&&d(e,61),e.destructible&8&&d(e,60),f}function _(e,u,n,i,t,o,l,f,c,a,g){b(e,u);let m=[],s=0,k=0;for(u=(u|134217728)^134217728;e.token!==1074790415;){let{token:A,tokenValue:E,linePos:w,colPos:B,tokenPos:M}=e;if(A===14)m.push(A2(e,u,n,1074790415,l,f,0,t,o,M,w,B));else{let S=0,V=null,D,Y=e.token;if(e.token&143360||e.token===121)if(V=I(e,u,0),e.token===18||e.token===1074790415||e.token===1077936157)if(S|=4,u&1024&&(A&537079808)===537079808?s|=16:M2(e,u,l,A,0),n&&e2(e,u,n,E,l,f),q(e,u|32768,1077936157)){s|=8;let v=R(e,u,1,1,t,e.tokenPos,e.linePos,e.colPos);s|=e.destructible&256?256:0|e.destructible&128?128:0,D=y(e,u,M,w,B,{type:"AssignmentPattern",left:u&-2147483648?Object.assign({},V):V,right:v})}else s|=(A===209008?128:0)|(A===121?16:0),D=u&-2147483648?Object.assign({},V):V;else if(q(e,u|32768,21)){let{tokenPos:v,linePos:F,colPos:T}=e;if(E==="__proto__"&&k++,e.token&143360){let o2=e.token,m2=e.tokenValue;s|=Y===121?16:0,D=K(e,u,l,0,1,0,t,1,v,F,T);let{token:x}=e;D=N(e,u,D,t,0,v,F,T),e.token===18||e.token===1074790415?x===1077936157||x===1074790415||x===18?(s|=e.destructible&128?128:0,e.assignable&2?s|=16:n&&(o2&143360)===143360&&e2(e,u,n,m2,l,f)):s|=e.assignable&1?32:16:(e.token&4194304)===4194304?(e.assignable&2?s|=16:x!==1077936157?s|=32:n&&e2(e,u,n,m2,l,f),D=O(e,u,t,o,v,F,T,D)):(s|=16,(e.token&8454144)===8454144&&(D=n2(e,u,1,v,F,T,4,x,D)),q(e,u|32768,22)&&(D=f2(e,u,D,v,F,T)))}else(e.token&2097152)===2097152?(D=e.token===69271571?W(e,u,n,0,t,o,l,f,v,F,T):_(e,u,n,0,t,o,l,f,v,F,T),s=e.destructible,e.assignable=s&16?2:1,e.token===18||e.token===1074790415?e.assignable&2&&(s|=16):e.destructible&8?d(e,69):(D=N(e,u,D,t,0,v,F,T),s=e.assignable&2?16:0,(e.token&4194304)===4194304?D=N2(e,u,t,o,v,F,T,D):((e.token&8454144)===8454144&&(D=n2(e,u,1,v,F,T,4,A,D)),q(e,u|32768,22)&&(D=f2(e,u,D,v,F,T)),s|=e.assignable&2?16:32))):(D=r(e,u,1,t,1,v,F,T),s|=e.assignable&1?32:16,e.token===18||e.token===1074790415?e.assignable&2&&(s|=16):(D=N(e,u,D,t,0,v,F,T),s=e.assignable&2?16:0,e.token!==18&&A!==1074790415&&(e.token!==1077936157&&(s|=16),D=O(e,u,t,o,v,F,T,D))))}else e.token===69271571?(s|=16,A===209007&&(S|=16),S|=(A===12402?256:A===12403?512:1)|2,V=g2(e,u,t),s|=e.assignable,D=Q(e,u,S,t,e.tokenPos,e.linePos,e.colPos)):e.token&143360?(s|=16,A===121&&d(e,93),A===209007&&(e.flags&1&&d(e,129),S|=16),V=I(e,u,0),S|=A===12402?256:A===12403?512:1,D=Q(e,u,S,t,e.tokenPos,e.linePos,e.colPos)):e.token===67174411?(s|=16,S|=1,D=Q(e,u,S,t,e.tokenPos,e.linePos,e.colPos)):e.token===8457014?(s|=16,A===12402?d(e,40):A===12403?d(e,41):A===143483&&d(e,93),b(e,u),S|=9|(A===209007?16:0),e.token&143360?V=I(e,u,0):(e.token&134217728)===134217728?V=X(e,u):e.token===69271571?(S|=2,V=g2(e,u,t),s|=e.assignable):d(e,28,U[e.token&255]),D=Q(e,u,S,t,e.tokenPos,e.linePos,e.colPos)):(e.token&134217728)===134217728?(A===209007&&(S|=16),S|=A===12402?256:A===12403?512:1,s|=16,V=X(e,u),D=Q(e,u,S,t,e.tokenPos,e.linePos,e.colPos)):d(e,130);else if((e.token&134217728)===134217728)if(V=X(e,u),e.token===21){P(e,u|32768,21);let{tokenPos:v,linePos:F,colPos:T}=e;if(E==="__proto__"&&k++,e.token&143360){D=K(e,u,l,0,1,0,t,1,v,F,T);let{token:o2,tokenValue:m2}=e;D=N(e,u,D,t,0,v,F,T),e.token===18||e.token===1074790415?o2===1077936157||o2===1074790415||o2===18?e.assignable&2?s|=16:n&&e2(e,u,n,m2,l,f):s|=e.assignable&1?32:16:e.token===1077936157?(e.assignable&2&&(s|=16),D=O(e,u,t,o,v,F,T,D)):(s|=16,D=O(e,u,t,o,v,F,T,D))}else(e.token&2097152)===2097152?(D=e.token===69271571?W(e,u,n,0,t,o,l,f,v,F,T):_(e,u,n,0,t,o,l,f,v,F,T),s=e.destructible,e.assignable=s&16?2:1,e.token===18||e.token===1074790415?e.assignable&2&&(s|=16):(e.destructible&8)!==8&&(D=N(e,u,D,t,0,v,F,T),s=e.assignable&2?16:0,(e.token&4194304)===4194304?D=N2(e,u,t,o,v,F,T,D):((e.token&8454144)===8454144&&(D=n2(e,u,1,v,F,T,4,A,D)),q(e,u|32768,22)&&(D=f2(e,u,D,v,F,T)),s|=e.assignable&2?16:32))):(D=r(e,u,1,0,1,v,F,T),s|=e.assignable&1?32:16,e.token===18||e.token===1074790415?e.assignable&2&&(s|=16):(D=N(e,u,D,t,0,v,F,T),s=e.assignable&1?0:16,e.token!==18&&e.token!==1074790415&&(e.token!==1077936157&&(s|=16),D=O(e,u,t,o,v,F,T,D))))}else e.token===67174411?(S|=1,D=Q(e,u,S,t,e.tokenPos,e.linePos,e.colPos),s=e.assignable|16):d(e,131);else if(e.token===69271571)if(V=g2(e,u,t),s|=e.destructible&256?256:0,S|=2,e.token===21){b(e,u|32768);let{tokenPos:v,linePos:F,colPos:T,tokenValue:o2,token:m2}=e;if(e.token&143360){D=K(e,u,l,0,1,0,t,1,v,F,T);let{token:x}=e;D=N(e,u,D,t,0,v,F,T),(e.token&4194304)===4194304?(s|=e.assignable&2?16:x===1077936157?0:32,D=N2(e,u,t,o,v,F,T,D)):e.token===18||e.token===1074790415?x===1077936157||x===1074790415||x===18?e.assignable&2?s|=16:n&&(m2&143360)===143360&&e2(e,u,n,o2,l,f):s|=e.assignable&1?32:16:(s|=16,D=O(e,u,t,o,v,F,T,D))}else(e.token&2097152)===2097152?(D=e.token===69271571?W(e,u,n,0,t,o,l,f,v,F,T):_(e,u,n,0,t,o,l,f,v,F,T),s=e.destructible,e.assignable=s&16?2:1,e.token===18||e.token===1074790415?e.assignable&2&&(s|=16):s&8?d(e,60):(D=N(e,u,D,t,0,v,F,T),s=e.assignable&2?s|16:0,(e.token&4194304)===4194304?(e.token!==1077936157&&(s|=16),D=N2(e,u,t,o,v,F,T,D)):((e.token&8454144)===8454144&&(D=n2(e,u,1,v,F,T,4,A,D)),q(e,u|32768,22)&&(D=f2(e,u,D,v,F,T)),s|=e.assignable&2?16:32))):(D=r(e,u,1,0,1,v,F,T),s|=e.assignable&1?32:16,e.token===18||e.token===1074790415?e.assignable&2&&(s|=16):(D=N(e,u,D,t,0,v,F,T),s=e.assignable&1?0:16,e.token!==18&&e.token!==1074790415&&(e.token!==1077936157&&(s|=16),D=O(e,u,t,o,v,F,T,D))))}else e.token===67174411?(S|=1,D=Q(e,u,S,t,e.tokenPos,w,B),s=16):d(e,42);else if(A===8457014)if(P(e,u|32768,8457014),S|=8,e.token&143360){let{token:v,line:F,index:T}=e;V=I(e,u,0),S|=1,e.token===67174411?(s|=16,D=Q(e,u,S,t,e.tokenPos,e.linePos,e.colPos)):h2(T,F,T,v===209007?44:v===12402||e.token===12403?43:45,U[v&255])}else(e.token&134217728)===134217728?(s|=16,V=X(e,u),S|=1,D=Q(e,u,S,t,M,w,B)):e.token===69271571?(s|=16,S|=3,V=g2(e,u,t),D=Q(e,u,S,t,e.tokenPos,e.linePos,e.colPos)):d(e,123);else d(e,28,U[A&255]);s|=e.destructible&128?128:0,e.destructible=s,m.push(y(e,u,M,w,B,{type:"Property",key:V,value:D,kind:S&768?S&512?"set":"get":"init",computed:(S&2)>0,method:(S&1)>0,shorthand:(S&4)>0}))}if(s|=e.destructible,e.token!==18)break;b(e,u)}P(e,u,1074790415),k>1&&(s|=64);let C=y(e,u,c,a,g,{type:o?"ObjectPattern":"ObjectExpression",properties:m});return!i&&e.token&4194304?iu(e,u,s,t,o,c,a,g,C):(e.destructible=s,C)}function _1(e,u,n,i,t,o){P(e,u,67174411);let l=[];if(e.flags=(e.flags|128)^128,e.token===16)return i&512&&d(e,35,"Setter","one",""),b(e,u),l;i&256&&d(e,35,"Getter","no","s"),i&512&&e.token===14&&d(e,36),u=(u|134217728)^134217728;let f=0,c=0;for(;e.token!==18;){let a=null,{tokenPos:g,linePos:m,colPos:s}=e;if(e.token&143360?(u&1024||((e.token&36864)===36864&&(e.flags|=256),(e.token&537079808)===537079808&&(e.flags|=512)),a=he(e,u,n,i|1,0,g,m,s)):(e.token===2162700?a=_(e,u,n,1,o,1,t,0,g,m,s):e.token===69271571?a=W(e,u,n,1,o,1,t,0,g,m,s):e.token===14&&(a=A2(e,u,n,16,t,0,0,o,1,g,m,s)),c=1,e.destructible&48&&d(e,48)),e.token===1077936157){b(e,u|32768),c=1;let k=R(e,u,1,1,0,e.tokenPos,e.linePos,e.colPos);a=y(e,u,g,m,s,{type:"AssignmentPattern",left:a,right:k})}if(f++,l.push(a),!q(e,u,18)||e.token===16)break}return i&512&&f!==1&&d(e,35,"Setter","one",""),n&&n.scopeError!==void 0&&z2(n.scopeError),c&&(e.flags|=128),P(e,u,16),l}function g2(e,u,n){b(e,u|32768);let i=R(e,(u|134217728)^134217728,1,0,n,e.tokenPos,e.linePos,e.colPos);return P(e,u,20),i}function Y1(e,u,n,i,t,o,l,f){e.flags=(e.flags|128)^128;let{tokenPos:c,linePos:a,colPos:g}=e;b(e,u|32768|1073741824);let m=u&64?J(s2(),1024):void 0;if(u=(u|134217728)^134217728,q(e,u,16))return j2(e,u,m,[],n,0,o,l,f);let s=0;e.destructible&=-385;let k,C=[],A=0,E=0,{tokenPos:w,linePos:B,colPos:M}=e;for(e.assignable=1;e.token!==16;){let{token:S,tokenPos:V,linePos:D,colPos:Y}=e;if(S&143360)m&&t2(e,u,m,e.tokenValue,1,0),k=K(e,u,i,0,1,0,1,1,V,D,Y),e.token===16||e.token===18?e.assignable&2?(s|=16,E=1):((S&537079808)===537079808||(S&36864)===36864)&&(E=1):(e.token===1077936157?E=1:s|=16,k=N(e,u,k,1,0,V,D,Y),e.token!==16&&e.token!==18&&(k=O(e,u,1,0,V,D,Y,k)));else if((S&2097152)===2097152)k=S===2162700?_(e,u|1073741824,m,0,1,0,i,t,V,D,Y):W(e,u|1073741824,m,0,1,0,i,t,V,D,Y),s|=e.destructible,E=1,e.assignable=2,e.token!==16&&e.token!==18&&(s&8&&d(e,119),k=N(e,u,k,0,0,V,D,Y),s|=16,e.token!==16&&e.token!==18&&(k=O(e,u,0,0,V,D,Y,k)));else if(S===14){k=A2(e,u,m,16,i,t,0,1,0,V,D,Y),e.destructible&16&&d(e,72),E=1,A&&(e.token===16||e.token===18)&&C.push(k),s|=8;break}else{if(s|=16,k=R(e,u,1,0,1,V,D,Y),A&&(e.token===16||e.token===18)&&C.push(k),e.token===18&&(A||(A=1,C=[k])),A){for(;q(e,u|32768,18);)C.push(R(e,u,1,0,1,e.tokenPos,e.linePos,e.colPos));e.assignable=2,k=y(e,u,w,B,M,{type:"SequenceExpression",expressions:C})}return P(e,u,16),e.destructible=s,k}if(A&&(e.token===16||e.token===18)&&C.push(k),!q(e,u|32768,18))break;if(A||(A=1,C=[k]),e.token===16){s|=8;break}}return A&&(e.assignable=2,k=y(e,u,w,B,M,{type:"SequenceExpression",expressions:C})),P(e,u,16),s&16&&s&8&&d(e,146),s|=e.destructible&256?256:0|e.destructible&128?128:0,e.token===10?(s&48&&d(e,47),u&4196352&&s&128&&d(e,29),u&2098176&&s&256&&d(e,30),E&&(e.flags|=128),j2(e,u,m,A?C:[k],n,0,o,l,f)):(s&8&&d(e,140),e.destructible=(e.destructible|256)^256|s,u&128?y(e,u,c,a,g,{type:"ParenthesizedExpression",expression:k}):k)}function ye(e,u,n,i,t){let{tokenValue:o}=e,l=I(e,u,0);if(e.assignable=1,e.token===10){let f;return u&64&&(f=H2(e,u,o)),e.flags=(e.flags|128)^128,B2(e,u,f,[l],0,n,i,t)}return l}function $2(e,u,n,i,t,o,l,f,c,a){o||d(e,55),t&&d(e,49),e.flags&=-129;let g=u&64?H2(e,u,n):void 0;return B2(e,u,g,[i],l,f,c,a)}function j2(e,u,n,i,t,o,l,f,c){t||d(e,55);for(let a=0;a0&&e.tokenValue==="constructor"&&d(e,107),e.token===1074790415&&d(e,106),q(e,u,1074790417)){k>0&&d(e,117);continue}m.push(fu(e,u,i,n,t,s,0,l,e.tokenPos,e.linePos,e.colPos))}return P(e,o&8?u|32768:u,1074790415),e.flags=e.flags&-33|g,y(e,u,f,c,a,{type:"ClassBody",body:m})}function fu(e,u,n,i,t,o,l,f,c,a,g){let m=l?32:0,s=null,{token:k,tokenPos:C,linePos:A,colPos:E}=e;if(k&176128)switch(s=I(e,u,0),k){case 36972:if(!l&&e.token!==67174411&&(e.token&1048576)!==1048576&&e.token!==1077936157)return fu(e,u,n,i,t,o,1,f,c,a,g);break;case 209007:if(e.token!==67174411&&!(e.flags&1)){if(u&1&&(e.token&1073741824)===1073741824)return V2(e,u,s,m,o,C,A,E);m|=16|(le(e,u,8457014)?8:0)}break;case 12402:if(e.token!==67174411){if(u&1&&(e.token&1073741824)===1073741824)return V2(e,u,s,m,o,C,A,E);m|=256}break;case 12403:if(e.token!==67174411){if(u&1&&(e.token&1073741824)===1073741824)return V2(e,u,s,m,o,C,A,E);m|=512}break}else if(k===69271571)m|=2,s=g2(e,i,f);else if((k&134217728)===134217728)s=X(e,u);else if(k===8457014)m|=8,b(e,u);else if(u&1&&e.token===131)m|=4096,s=X2(e,u|16384,C,A,E);else if(u&1&&(e.token&1073741824)===1073741824)m|=128;else{if(l&&k===2162700)return B1(e,u,n,C,A,E);k===122?(s=I(e,u,0),e.token!==67174411&&d(e,28,U[e.token&255])):d(e,28,U[e.token&255])}if(m&792&&(e.token&143360?s=I(e,u,0):(e.token&134217728)===134217728?s=X(e,u):e.token===69271571?(m|=2,s=g2(e,u,0)):e.token===122?s=I(e,u,0):u&1&&e.token===131?(m|=4096,s=X2(e,u,C,A,E)):d(e,132)),m&2||(e.tokenValue==="constructor"?((e.token&1073741824)===1073741824?d(e,126):!(m&32)&&e.token===67174411&&(m&920?d(e,51,"accessor"):u&524288||(e.flags&32?d(e,52):e.flags|=32)),m|=64):!(m&4096)&&m&824&&e.tokenValue==="prototype"&&d(e,50)),u&1&&e.token!==67174411)return V2(e,u,s,m,o,C,A,E);let w=Q(e,u,m,f,e.tokenPos,e.linePos,e.colPos);return y(e,u,c,a,g,u&1?{type:"MethodDefinition",kind:!(m&32)&&m&64?"constructor":m&256?"get":m&512?"set":"method",static:(m&32)>0,computed:(m&2)>0,key:s,decorators:o,value:w}:{type:"MethodDefinition",kind:!(m&32)&&m&64?"constructor":m&256?"get":m&512?"set":"method",static:(m&32)>0,computed:(m&2)>0,key:s,value:w})}function X2(e,u,n,i,t){b(e,u);let{tokenValue:o}=e;return o==="constructor"&&d(e,125),b(e,u),y(e,u,n,i,t,{type:"PrivateIdentifier",name:o})}function V2(e,u,n,i,t,o,l,f){let c=null;if(i&8&&d(e,0),e.token===1077936157){b(e,u|32768);let{tokenPos:a,linePos:g,colPos:m}=e;e.token===537079928&&d(e,116),c=K(e,u|16384,2,0,1,0,0,1,a,g,m),(e.token&1073741824)!==1073741824&&(c=N(e,u|16384,c,0,0,a,g,m),c=O(e,u|16384,0,0,a,g,m,c),e.token===18&&(c=u2(e,u,0,o,l,f,c)))}return y(e,u,o,l,f,{type:"PropertyDefinition",key:n,value:c,static:(i&32)>0,computed:(i&2)>0,decorators:t})}function cu(e,u,n,i,t,o,l,f){if(e.token&143360)return he(e,u,n,i,t,o,l,f);(e.token&2097152)!==2097152&&d(e,28,U[e.token&255]);let c=e.token===69271571?W(e,u,n,1,0,1,i,t,o,l,f):_(e,u,n,1,0,1,i,t,o,l,f);return e.destructible&16&&d(e,48),e.destructible&32&&d(e,48),c}function he(e,u,n,i,t,o,l,f){let{tokenValue:c,token:a}=e;return u&1024&&((a&537079808)===537079808?d(e,116):(a&36864)===36864&&d(e,115)),(a&20480)===20480&&d(e,100),u&2099200&&a===241773&&d(e,30),a===241739&&i&24&&d(e,98),u&4196352&&a===209008&&d(e,96),b(e,u),n&&e2(e,u,n,c,i,t),y(e,u,o,l,f,{type:"Identifier",name:c})}function De(e,u,n,i,t,o){if(b(e,u),e.token===8456259)return y(e,u,i,t,o,{type:"JSXFragment",openingFragment:e0(e,u,i,t,o),children:Ne(e,u),closingFragment:n0(e,u,n,e.tokenPos,e.linePos,e.colPos)});let l=null,f=[],c=o0(e,u,n,i,t,o);if(!c.selfClosing){f=Ne(e,u),l=u0(e,u,n,e.tokenPos,e.linePos,e.colPos);let a=J2(l.name);J2(c.name)!==a&&d(e,150,a)}return y(e,u,i,t,o,{type:"JSXElement",children:f,openingElement:c,closingElement:l})}function e0(e,u,n,i,t){return d2(e,u),y(e,u,n,i,t,{type:"JSXOpeningFragment"})}function u0(e,u,n,i,t,o){P(e,u,25);let l=du(e,u,e.tokenPos,e.linePos,e.colPos);return n?P(e,u,8456259):e.token=d2(e,u),y(e,u,i,t,o,{type:"JSXClosingElement",name:l})}function n0(e,u,n,i,t,o){return P(e,u,25),P(e,u,8456259),y(e,u,i,t,o,{type:"JSXClosingFragment"})}function Ne(e,u){let n=[];for(;e.token!==25;)e.index=e.tokenPos=e.startPos,e.column=e.colPos=e.startColumn,e.line=e.linePos=e.startLine,d2(e,u),n.push(i0(e,u,e.tokenPos,e.linePos,e.colPos));return n}function i0(e,u,n,i,t){if(e.token===138)return t0(e,u,n,i,t);if(e.token===2162700)return au(e,u,0,0,n,i,t);if(e.token===8456258)return De(e,u,0,n,i,t);d(e,0)}function t0(e,u,n,i,t){d2(e,u);let o={type:"JSXText",value:e.tokenValue};return u&512&&(o.raw=e.tokenRaw),y(e,u,n,i,t,o)}function o0(e,u,n,i,t,o){(e.token&143360)!==143360&&(e.token&4096)!==4096&&d(e,0);let l=du(e,u,e.tokenPos,e.linePos,e.colPos),f=f0(e,u),c=e.token===8457016;return e.token===8456259?d2(e,u):(P(e,u,8457016),n?P(e,u,8456259):d2(e,u)),y(e,u,i,t,o,{type:"JSXOpeningElement",name:l,attributes:f,selfClosing:c})}function du(e,u,n,i,t){p2(e);let o=W2(e,u,n,i,t);if(e.token===21)return su(e,u,o,n,i,t);for(;q(e,u,67108877);)p2(e),o=l0(e,u,o,n,i,t);return o}function l0(e,u,n,i,t,o){let l=W2(e,u,e.tokenPos,e.linePos,e.colPos);return y(e,u,i,t,o,{type:"JSXMemberExpression",object:n,property:l})}function f0(e,u){let n=[];for(;e.token!==8457016&&e.token!==8456259&&e.token!==1048576;)n.push(d0(e,u,e.tokenPos,e.linePos,e.colPos));return n}function c0(e,u,n,i,t){b(e,u),P(e,u,14);let o=R(e,u,1,0,0,e.tokenPos,e.linePos,e.colPos);return P(e,u,1074790415),y(e,u,n,i,t,{type:"JSXSpreadAttribute",argument:o})}function d0(e,u,n,i,t){if(e.token===2162700)return c0(e,u,n,i,t);p2(e);let o=null,l=W2(e,u,n,i,t);if(e.token===21&&(l=su(e,u,l,n,i,t)),e.token===1077936157){let f=u1(e,u),{tokenPos:c,linePos:a,colPos:g}=e;switch(f){case 134283267:o=X(e,u);break;case 8456258:o=De(e,u,1,c,a,g);break;case 2162700:o=au(e,u,1,1,c,a,g);break;default:d(e,149)}}return y(e,u,n,i,t,{type:"JSXAttribute",value:o,name:l})}function su(e,u,n,i,t,o){P(e,u,21);let l=W2(e,u,e.tokenPos,e.linePos,e.colPos);return y(e,u,i,t,o,{type:"JSXNamespacedName",namespace:n,name:l})}function au(e,u,n,i,t,o,l){b(e,u|32768);let{tokenPos:f,linePos:c,colPos:a}=e;if(e.token===14)return s0(e,u,t,o,l);let g=null;return e.token===1074790415?(i&&d(e,152),g=a0(e,u,e.startPos,e.startLine,e.startColumn)):g=R(e,u,1,0,0,f,c,a),n?P(e,u,1074790415):d2(e,u),y(e,u,t,o,l,{type:"JSXExpressionContainer",expression:g})}function s0(e,u,n,i,t){P(e,u,14);let o=R(e,u,1,0,0,e.tokenPos,e.linePos,e.colPos);return P(e,u,1074790415),y(e,u,n,i,t,{type:"JSXSpreadChild",expression:o})}function a0(e,u,n,i,t){return e.startPos=e.tokenPos,e.startLine=e.linePos,e.startColumn=e.colPos,y(e,u,n,i,t,{type:"JSXEmptyExpression"})}function W2(e,u,n,i,t){let{tokenValue:o}=e;return b(e,u),y(e,u,n,i,t,{type:"JSXIdentifier",name:o})}function mu(e,u){return d1(e,u,0)}function m0(e,u){let n=new SyntaxError(e+" ("+u.loc.start.line+":"+u.loc.start.column+")");return Object.assign(n,u)}var _2=m0;function g0(e){let u=[];for(let n of e)try{return n()}catch(i){u.push(i)}throw Object.assign(new Error("All combinations failed"),{errors:u})}var gu=g0;var C2=ju(Cu(),1);function w0(e){if(!e.startsWith("#!"))return"";let u=e.indexOf(` -`);return u===-1?e:e.slice(0,u)}var Pu=w0;function S0(e){let u=Pu(e);u&&(e=e.slice(u.length+1));let n=(0,C2.extract)(e),{pragmas:i,comments:t}=(0,C2.parseWithComments)(n);return{shebang:u,text:e,pragmas:i,comments:t}}function Eu(e){let{pragmas:u}=S0(e);return Object.prototype.hasOwnProperty.call(u,"prettier")||Object.prototype.hasOwnProperty.call(u,"format")}function v0(e){return Array.isArray(e)&&e.length>0}var T2=v0;function $(e){var i;let u=e.range?e.range[0]:e.start,n=((i=e.declaration)==null?void 0:i.decorators)??e.decorators;return T2(n)?Math.min($(n[0]),u):u}function p(e){return e.range?e.range[1]:e.end}function B0(e){return e=typeof e=="function"?{parse:e}:e,{astFormat:"estree",hasPragma:Eu,locStart:$,locEnd:p,...e}}var wu=B0;var T0=(e,u,n)=>{if(!(e&&u==null))return Array.isArray(u)||typeof u=="string"?u[n<0?u.length+n:n]:u.at(n)},be=T0;function F0(e){return e=new Set(e),u=>e.has(u==null?void 0:u.type)}var Su=F0;var q0=Su(["Block","CommentBlock","MultiLine"]),F2=q0;function L0(e){return F2(e)&&e.value[0]==="*"&&/@(?:type|satisfies)\b/.test(e.value)}var vu=L0;function I0(e){let u=`*${e.value}*`.split(` -`);return u.length>1&&u.every(n=>n.trimStart()[0]==="*")}var Ae=I0;var q2=null;function L2(e){if(q2!==null&&typeof q2.property){let u=q2;return q2=L2.prototype=null,u}return q2=L2.prototype=e??Object.create(null),new L2}var N0=10;for(let e=0;e<=N0;e++)L2();function Ce(e){return L2(e)}function V0(e,u="type"){Ce(e);function n(i){let t=i[u],o=e[t];if(!Array.isArray(o))throw Object.assign(new Error(`Missing visitor keys for '${t}'.`),{node:i});return o}return n}var Bu=V0;var Tu={ArrayExpression:["elements"],AssignmentExpression:["left","right"],BinaryExpression:["left","right"],InterpreterDirective:[],Directive:["value"],DirectiveLiteral:[],BlockStatement:["directives","body"],BreakStatement:["label"],CallExpression:["callee","arguments","typeParameters","typeArguments"],CatchClause:["param","body"],ConditionalExpression:["test","consequent","alternate"],ContinueStatement:["label"],DebuggerStatement:[],DoWhileStatement:["test","body"],EmptyStatement:[],ExpressionStatement:["expression"],File:["program"],ForInStatement:["left","right","body"],ForStatement:["init","test","update","body"],FunctionDeclaration:["id","params","body","returnType","typeParameters","predicate"],FunctionExpression:["id","params","body","returnType","typeParameters"],Identifier:["typeAnnotation","decorators"],IfStatement:["test","consequent","alternate"],LabeledStatement:["label","body"],StringLiteral:[],NumericLiteral:[],NullLiteral:[],BooleanLiteral:[],RegExpLiteral:[],LogicalExpression:["left","right"],MemberExpression:["object","property"],NewExpression:["callee","arguments","typeParameters","typeArguments"],Program:["directives","body"],ObjectExpression:["properties"],ObjectMethod:["key","params","body","decorators","returnType","typeParameters"],ObjectProperty:["key","value","decorators"],RestElement:["argument","typeAnnotation","decorators"],ReturnStatement:["argument"],SequenceExpression:["expressions"],ParenthesizedExpression:["expression"],SwitchCase:["test","consequent"],SwitchStatement:["discriminant","cases"],ThisExpression:[],ThrowStatement:["argument"],TryStatement:["block","handler","finalizer"],UnaryExpression:["argument"],UpdateExpression:["argument"],VariableDeclaration:["declarations"],VariableDeclarator:["id","init"],WhileStatement:["test","body"],WithStatement:["object","body"],AssignmentPattern:["left","right","decorators","typeAnnotation"],ArrayPattern:["elements","typeAnnotation","decorators"],ArrowFunctionExpression:["params","body","returnType","typeParameters","predicate"],ClassBody:["body"],ClassExpression:["id","body","superClass","mixins","typeParameters","superTypeParameters","implements","decorators"],ClassDeclaration:["id","body","superClass","mixins","typeParameters","superTypeParameters","implements","decorators"],ExportAllDeclaration:["source","attributes","assertions","exported"],ExportDefaultDeclaration:["declaration"],ExportNamedDeclaration:["declaration","specifiers","source","attributes","assertions"],ExportSpecifier:["local","exported"],ForOfStatement:["left","right","body"],ImportDeclaration:["specifiers","source","attributes","assertions"],ImportDefaultSpecifier:["local"],ImportNamespaceSpecifier:["local"],ImportSpecifier:["local","imported"],MetaProperty:["meta","property"],ClassMethod:["key","params","body","decorators","returnType","typeParameters"],ObjectPattern:["properties","typeAnnotation","decorators"],SpreadElement:["argument"],Super:[],TaggedTemplateExpression:["tag","quasi","typeParameters"],TemplateElement:[],TemplateLiteral:["quasis","expressions"],YieldExpression:["argument"],AwaitExpression:["argument"],Import:[],BigIntLiteral:[],ExportNamespaceSpecifier:["exported"],OptionalMemberExpression:["object","property"],OptionalCallExpression:["callee","arguments","typeParameters","typeArguments"],ClassProperty:["key","value","typeAnnotation","decorators","variance"],ClassAccessorProperty:["key","value","typeAnnotation","decorators"],ClassPrivateProperty:["key","value","decorators","typeAnnotation","variance"],ClassPrivateMethod:["key","params","body","decorators","returnType","typeParameters"],PrivateName:["id"],StaticBlock:["body"],AnyTypeAnnotation:[],ArrayTypeAnnotation:["elementType"],BooleanTypeAnnotation:[],BooleanLiteralTypeAnnotation:[],NullLiteralTypeAnnotation:[],ClassImplements:["id","typeParameters"],DeclareClass:["id","typeParameters","extends","mixins","implements","body"],DeclareFunction:["id","predicate"],DeclareInterface:["id","typeParameters","extends","body"],DeclareModule:["id","body"],DeclareModuleExports:["typeAnnotation"],DeclareTypeAlias:["id","typeParameters","right"],DeclareOpaqueType:["id","typeParameters","supertype"],DeclareVariable:["id"],DeclareExportDeclaration:["declaration","specifiers","source"],DeclareExportAllDeclaration:["source"],DeclaredPredicate:["value"],ExistsTypeAnnotation:[],FunctionTypeAnnotation:["typeParameters","params","rest","returnType","this"],FunctionTypeParam:["name","typeAnnotation"],GenericTypeAnnotation:["id","typeParameters"],InferredPredicate:[],InterfaceExtends:["id","typeParameters"],InterfaceDeclaration:["id","typeParameters","extends","body"],InterfaceTypeAnnotation:["extends","body"],IntersectionTypeAnnotation:["types"],MixedTypeAnnotation:[],EmptyTypeAnnotation:[],NullableTypeAnnotation:["typeAnnotation"],NumberLiteralTypeAnnotation:[],NumberTypeAnnotation:[],ObjectTypeAnnotation:["properties","indexers","callProperties","internalSlots"],ObjectTypeInternalSlot:["id","value","optional","static","method"],ObjectTypeCallProperty:["value"],ObjectTypeIndexer:["id","key","value","variance"],ObjectTypeProperty:["key","value","variance"],ObjectTypeSpreadProperty:["argument"],OpaqueType:["id","typeParameters","supertype","impltype"],QualifiedTypeIdentifier:["id","qualification"],StringLiteralTypeAnnotation:[],StringTypeAnnotation:[],SymbolTypeAnnotation:[],ThisTypeAnnotation:[],TupleTypeAnnotation:["types","elementTypes"],TypeofTypeAnnotation:["argument"],TypeAlias:["id","typeParameters","right"],TypeAnnotation:["typeAnnotation"],TypeCastExpression:["expression","typeAnnotation"],TypeParameter:["bound","default","variance"],TypeParameterDeclaration:["params"],TypeParameterInstantiation:["params"],UnionTypeAnnotation:["types"],Variance:[],VoidTypeAnnotation:[],EnumDeclaration:["id","body"],EnumBooleanBody:["members"],EnumNumberBody:["members"],EnumStringBody:["members"],EnumSymbolBody:["members"],EnumBooleanMember:["id","init"],EnumNumberMember:["id","init"],EnumStringMember:["id","init"],EnumDefaultedMember:["id"],IndexedAccessType:["objectType","indexType"],OptionalIndexedAccessType:["objectType","indexType"],JSXAttribute:["name","value"],JSXClosingElement:["name"],JSXElement:["openingElement","children","closingElement"],JSXEmptyExpression:[],JSXExpressionContainer:["expression"],JSXSpreadChild:["expression"],JSXIdentifier:[],JSXMemberExpression:["object","property"],JSXNamespacedName:["namespace","name"],JSXOpeningElement:["name","attributes","typeParameters"],JSXSpreadAttribute:["argument"],JSXText:[],JSXFragment:["openingFragment","children","closingFragment"],JSXOpeningFragment:[],JSXClosingFragment:[],Noop:[],Placeholder:[],V8IntrinsicIdentifier:[],ArgumentPlaceholder:[],BindExpression:["object","callee"],ImportAttribute:["key","value"],Decorator:["expression"],DoExpression:["body"],ExportDefaultSpecifier:["exported"],RecordExpression:["properties"],TupleExpression:["elements"],DecimalLiteral:[],ModuleExpression:["body"],TopicReference:[],PipelineTopicExpression:["expression"],PipelineBareFunction:["callee"],PipelinePrimaryTopicReference:[],TSParameterProperty:["parameter","decorators"],TSDeclareFunction:["id","typeParameters","params","returnType","body"],TSDeclareMethod:["decorators","key","typeParameters","params","returnType"],TSQualifiedName:["left","right"],TSCallSignatureDeclaration:["typeParameters","parameters","typeAnnotation","params","returnType"],TSConstructSignatureDeclaration:["typeParameters","parameters","typeAnnotation","params","returnType"],TSPropertySignature:["key","typeAnnotation"],TSMethodSignature:["key","typeParameters","parameters","typeAnnotation","params","returnType"],TSIndexSignature:["parameters","typeAnnotation"],TSAnyKeyword:[],TSBooleanKeyword:[],TSBigIntKeyword:[],TSIntrinsicKeyword:[],TSNeverKeyword:[],TSNullKeyword:[],TSNumberKeyword:[],TSObjectKeyword:[],TSStringKeyword:[],TSSymbolKeyword:[],TSUndefinedKeyword:[],TSUnknownKeyword:[],TSVoidKeyword:[],TSThisType:[],TSFunctionType:["typeParameters","parameters","typeAnnotation","params","returnType"],TSConstructorType:["typeParameters","parameters","typeAnnotation","params","returnType"],TSTypeReference:["typeName","typeParameters"],TSTypePredicate:["parameterName","typeAnnotation"],TSTypeQuery:["exprName","typeParameters"],TSTypeLiteral:["members"],TSArrayType:["elementType"],TSTupleType:["elementTypes"],TSOptionalType:["typeAnnotation"],TSRestType:["typeAnnotation"],TSNamedTupleMember:["label","elementType"],TSUnionType:["types"],TSIntersectionType:["types"],TSConditionalType:["checkType","extendsType","trueType","falseType"],TSInferType:["typeParameter"],TSParenthesizedType:["typeAnnotation"],TSTypeOperator:["typeAnnotation"],TSIndexedAccessType:["objectType","indexType"],TSMappedType:["typeParameter","typeAnnotation","nameType"],TSLiteralType:["literal"],TSExpressionWithTypeArguments:["expression","typeParameters"],TSInterfaceDeclaration:["id","typeParameters","extends","body"],TSInterfaceBody:["body"],TSTypeAliasDeclaration:["id","typeParameters","typeAnnotation"],TSInstantiationExpression:["expression","typeParameters"],TSAsExpression:["expression","typeAnnotation"],TSSatisfiesExpression:["expression","typeAnnotation"],TSTypeAssertion:["typeAnnotation","expression"],TSEnumDeclaration:["id","members"],TSEnumMember:["id","initializer"],TSModuleDeclaration:["id","body"],TSModuleBlock:["body"],TSImportType:["argument","qualifier","typeParameters","parameter"],TSImportEqualsDeclaration:["id","moduleReference"],TSExternalModuleReference:["expression"],TSNonNullExpression:["expression"],TSExportAssignment:["expression"],TSNamespaceExportDeclaration:["id"],TSTypeAnnotation:["typeAnnotation"],TSTypeParameterInstantiation:["params"],TSTypeParameterDeclaration:["params"],TSTypeParameter:["constraint","default","name"],ChainExpression:["expression"],ExperimentalRestProperty:["argument"],ExperimentalSpreadProperty:["argument"],ImportExpression:["source","attributes"],Literal:[],MethodDefinition:["decorators","key","value"],PrivateIdentifier:[],Property:["key","value"],PropertyDefinition:["decorators","key","typeAnnotation","value","variance"],AccessorProperty:["decorators","key","typeAnnotation","value"],TSAbstractAccessorProperty:["decorators","key","typeAnnotation"],TSAbstractKeyword:[],TSAbstractMethodDefinition:["key","value"],TSAbstractPropertyDefinition:["decorators","key","typeAnnotation"],TSAsyncKeyword:[],TSClassImplements:["expression","typeParameters"],TSDeclareKeyword:[],TSEmptyBodyFunctionExpression:["id","typeParameters","params","returnType"],TSExportKeyword:[],TSInterfaceHeritage:["expression","typeParameters"],TSPrivateKeyword:[],TSProtectedKeyword:[],TSPublicKeyword:[],TSReadonlyKeyword:[],TSStaticKeyword:[],TSTemplateLiteralType:["quasis","types"],BigIntLiteralTypeAnnotation:[],BigIntTypeAnnotation:[],ConditionalTypeAnnotation:["checkType","extendsType","trueType","falseType"],DeclareEnum:["id","body"],InferTypeAnnotation:["typeParameter"],KeyofTypeAnnotation:["argument"],ObjectTypeMappedTypeProperty:["keyTparam","propType","sourceType","variance"],QualifiedTypeofIdentifier:["qualification","id"],TupleTypeLabeledElement:["label","elementType","variance"],TupleTypeSpreadElement:["label","typeAnnotation"],TypePredicate:["parameterName","typeAnnotation","asserts"],NGRoot:["node"],NGPipeExpression:["left","right","arguments"],NGChainedExpression:["expressions"],NGEmptyExpression:[],NGMicrosyntax:["body"],NGMicrosyntaxKey:[],NGMicrosyntaxExpression:["expression","alias"],NGMicrosyntaxKeyedExpression:["key","expression"],NGMicrosyntaxLet:["key","value"],NGMicrosyntaxAs:["key","alias"],JsExpressionRoot:["node"],JsonRoot:["node"],TSJSDocAllType:[],TSJSDocUnknownType:[],TSJSDocNullableType:["typeAnnotation"],TSJSDocNonNullableType:["typeAnnotation"],NeverTypeAnnotation:[],UndefinedTypeAnnotation:[],UnknownTypeAnnotation:[]};var R0=Bu(Tu),Fu=R0;function Pe(e,u){if(!(e!==null&&typeof e=="object"))return e;if(Array.isArray(e)){for(let i=0;i{var f;(f=l.leadingComments)!=null&&f.some(vu)&&o.add($(l))}),e=Y2(e,l=>{if(l.type==="ParenthesizedExpression"){let{expression:f}=l;if(f.type==="TypeCastExpression")return f.range=l.range,f;let c=$(l);if(!o.has(c))return f.extra={...f.extra,parenthesized:!0},f}})}if(e=Y2(e,o=>{switch(o.type){case"LogicalExpression":if(qu(o))return Ee(o);break;case"VariableDeclaration":{let l=be(!1,o.declarations,-1);l!=null&&l.init&&t(o,l);break}case"TSParenthesizedType":return o.typeAnnotation;case"TSTypeParameter":if(typeof o.name=="string"){let l=$(o);o.name={type:"Identifier",name:o.name,range:[l,l+o.name.length]}}break;case"ObjectExpression":if(n==="typescript"){let l=o.properties.find(f=>f.type==="Property"&&f.value.type==="TSEmptyBodyFunctionExpression");l&&Q2(l.value,"Unexpected token.")}break;case"TSInterfaceDeclaration":T2(o.implements)&&Q2(o.implements[0],"Interface declaration cannot have 'implements' clause.");break;case"TSPropertySignature":o.initializer&&Q2(o.initializer,"An interface property cannot have an initializer.");break;case"TopicReference":e.extra={...e.extra,__isUsingHackPipeline:!0};break;case"ExportAllDeclaration":{let{exported:l}=o;if(n==="meriyah"&&(l==null?void 0:l.type)==="Identifier"){let f=i.slice($(l),p(l));(f.startsWith('"')||f.startsWith("'"))&&(o.exported={...o.exported,type:"Literal",value:o.exported.name,raw:f})}break}case"TSUnionType":case"TSIntersectionType":if(o.types.length===1)return o.types[0];break}}),T2(e.comments)){let o=be(!1,e.comments,-1);for(let l=e.comments.length-2;l>=0;l--){let f=e.comments[l];p(f)===$(o)&&F2(f)&&F2(o)&&Ae(f)&&Ae(o)&&(e.comments.splice(l+1,1),f.value+="*//*"+o.value,f.range=[$(f),p(o)]),o=f}}return e.type==="Program"&&(e.range=[0,i.length]),e;function t(o,l){i[p(l)]!==";"&&(o.range=[$(o),p(l)])}}function qu(e){return e.type==="LogicalExpression"&&e.right.type==="LogicalExpression"&&e.operator===e.right.operator}function Ee(e){return qu(e)?Ee({type:"LogicalExpression",operator:e.operator,left:Ee({type:"LogicalExpression",operator:e.operator,left:e.left,right:e.right.left,range:[$(e.left),p(e.right.left)]}),right:e.right.right,range:[$(e),p(e)]}):e}var Lu=U0;function M0(e){let{filepath:u}=e;if(u){if(u=u.toLowerCase(),u.endsWith(".cjs"))return"script";if(u.endsWith(".mjs"))return"module"}}var Iu=M0;var J0={next:!0,ranges:!0,webcompat:!0,loc:!0,raw:!0,directives:!0,globalReturn:!0,impliedStrict:!1,preserveParens:!1,lexical:!1,identifierPattern:!1,jsx:!0,specDeviation:!0,uniqueKeyInPattern:!1};function j0(e,u){let n=[],i=[],t=mu(e,{...J0,module:u==="module",onComment:n,onToken:i});return t.comments=n,t.tokens=i,t}function X0(e){var o;let{message:u,line:n,column:i}=e,t=(o=u.match(/^\[(?\d+):(?\d+)]: (?.*)$/))==null?void 0:o.groups;return t&&(u=t.message,typeof n!="number"&&(n=Number(t.line),i=Number(t.column))),typeof n!="number"?e:_2(u,{loc:{start:{line:n,column:i}},cause:e})}function z0(e,u={}){let n=Iu(u),i=(n?[n]:["module","script"]).map(o=>()=>j0(e,o)),t;try{t=gu(i)}catch({errors:[o]}){throw X0(o)}return Lu(t,{parser:"meriyah",text:e})}var H0=wu(z0);var $n=we;export{$n as default,Z2 as parsers}; +var v1=Object.defineProperty;var be=(e,u)=>{for(var n in u)v1(e,n,{get:u[n],enumerable:!0})};var De={};be(De,{parsers:()=>he});var he={};be(he,{meriyah:()=>T0});var T1={0:"Unexpected token",28:"Unexpected token: '%0'",1:"Octal escape sequences are not allowed in strict mode",2:"Octal escape sequences are not allowed in template strings",3:"Unexpected token `#`",4:"Illegal Unicode escape sequence",5:"Invalid code point %0",6:"Invalid hexadecimal escape sequence",8:"Octal literals are not allowed in strict mode",7:"Decimal integer literals with a leading zero are forbidden in strict mode",9:"Expected number in radix %0",146:"Invalid left-hand side assignment to a destructible right-hand side",10:"Non-number found after exponent indicator",11:"Invalid BigIntLiteral",12:"No identifiers allowed directly after numeric literal",13:"Escapes \\8 or \\9 are not syntactically valid escapes",14:"Unterminated string literal",15:"Unterminated template literal",16:"Multiline comment was not closed properly",17:"The identifier contained dynamic unicode escape that was not closed",18:"Illegal character '%0'",19:"Missing hexadecimal digits",20:"Invalid implicit octal",21:"Invalid line break in string literal",22:"Only unicode escapes are legal in identifier names",23:"Expected '%0'",24:"Invalid left-hand side in assignment",25:"Invalid left-hand side in async arrow",26:'Calls to super must be in the "constructor" method of a class expression or class declaration that has a superclass',27:"Member access on super must be in a method",29:"Await expression not allowed in formal parameter",30:"Yield expression not allowed in formal parameter",93:"Unexpected token: 'escaped keyword'",31:"Unary expressions as the left operand of an exponentiation expression must be disambiguated with parentheses",120:"Async functions can only be declared at the top level or inside a block",32:"Unterminated regular expression",33:"Unexpected regular expression flag",34:"Duplicate regular expression flag '%0'",35:"%0 functions must have exactly %1 argument%2",36:"Setter function argument must not be a rest parameter",37:"%0 declaration must have a name in this context",38:"Function name may not contain any reserved words or be eval or arguments in strict mode",39:"The rest operator is missing an argument",40:"A getter cannot be a generator",41:"A setter cannot be a generator",42:"A computed property name must be followed by a colon or paren",131:"Object literal keys that are strings or numbers must be a method or have a colon",44:"Found `* async x(){}` but this should be `async * x(){}`",43:"Getters and setters can not be generators",45:"'%0' can not be generator method",46:"No line break is allowed after '=>'",47:"The left-hand side of the arrow can only be destructed through assignment",48:"The binding declaration is not destructible",49:"Async arrow can not be followed by new expression",50:"Classes may not have a static property named 'prototype'",51:"Class constructor may not be a %0",52:"Duplicate constructor method in class",53:"Invalid increment/decrement operand",54:"Invalid use of `new` keyword on an increment/decrement expression",55:"`=>` is an invalid assignment target",56:"Rest element may not have a trailing comma",57:"Missing initializer in %0 declaration",58:"'for-%0' loop head declarations can not have an initializer",59:"Invalid left-hand side in for-%0 loop: Must have a single binding",60:"Invalid shorthand property initializer",61:"Property name __proto__ appears more than once in object literal",62:"Let is disallowed as a lexically bound name",63:"Invalid use of '%0' inside new expression",64:"Illegal 'use strict' directive in function with non-simple parameter list",65:'Identifier "let" disallowed as left-hand side expression in strict mode',66:"Illegal continue statement",67:"Illegal break statement",68:"Cannot have `let[...]` as a var name in strict mode",69:"Invalid destructuring assignment target",70:"Rest parameter may not have a default initializer",71:"The rest argument must the be last parameter",72:"Invalid rest argument",74:"In strict mode code, functions can only be declared at top level or inside a block",75:"In non-strict mode code, functions can only be declared at top level, inside a block, or as the body of an if statement",76:"Without web compatibility enabled functions can not be declared at top level, inside a block, or as the body of an if statement",77:"Class declaration can't appear in single-statement context",78:"Invalid left-hand side in for-%0",79:"Invalid assignment in for-%0",80:"for await (... of ...) is only valid in async functions and async generators",81:"The first token after the template expression should be a continuation of the template",83:"`let` declaration not allowed here and `let` cannot be a regular var name in strict mode",82:"`let \n [` is a restricted production at the start of a statement",84:"Catch clause requires exactly one parameter, not more (and no trailing comma)",85:"Catch clause parameter does not support default values",86:"Missing catch or finally after try",87:"More than one default clause in switch statement",88:"Illegal newline after throw",89:"Strict mode code may not include a with statement",90:"Illegal return statement",91:"The left hand side of the for-header binding declaration is not destructible",92:"new.target only allowed within functions",94:"'#' not followed by identifier",100:"Invalid keyword",99:"Can not use 'let' as a class name",98:"'A lexical declaration can't define a 'let' binding",97:"Can not use `let` as variable name in strict mode",95:"'%0' may not be used as an identifier in this context",96:"Await is only valid in async functions",101:"The %0 keyword can only be used with the module goal",102:"Unicode codepoint must not be greater than 0x10FFFF",103:"%0 source must be string",104:"Only a identifier can be used to indicate alias",105:"Only '*' or '{...}' can be imported after default",106:"Trailing decorator may be followed by method",107:"Decorators can't be used with a constructor",109:"HTML comments are only allowed with web compatibility (Annex B)",110:"The identifier 'let' must not be in expression position in strict mode",111:"Cannot assign to `eval` and `arguments` in strict mode",112:"The left-hand side of a for-of loop may not start with 'let'",113:"Block body arrows can not be immediately invoked without a group",114:"Block body arrows can not be immediately accessed without a group",115:"Unexpected strict mode reserved word",116:"Unexpected eval or arguments in strict mode",117:"Decorators must not be followed by a semicolon",118:"Calling delete on expression not allowed in strict mode",119:"Pattern can not have a tail",121:"Can not have a `yield` expression on the left side of a ternary",122:"An arrow function can not have a postfix update operator",123:"Invalid object literal key character after generator star",124:"Private fields can not be deleted",126:"Classes may not have a field called constructor",125:"Classes may not have a private element named constructor",127:"A class field initializer may not contain arguments",128:"Generators can only be declared at the top level or inside a block",129:"Async methods are a restricted production and cannot have a newline following it",130:"Unexpected character after object literal property name",132:"Invalid key token",133:"Label '%0' has already been declared",134:"continue statement must be nested within an iteration statement",135:"Undefined label '%0'",136:"Trailing comma is disallowed inside import(...) arguments",137:"import() requires exactly one argument",138:"Cannot use new with import(...)",139:"... is not allowed in import()",140:"Expected '=>'",141:"Duplicate binding '%0'",142:"Cannot export a duplicate name '%0'",145:"Duplicate %0 for-binding",143:"Exported binding '%0' needs to refer to a top-level declared variable",144:"Unexpected private field",148:"Numeric separators are not allowed at the end of numeric literals",147:"Only one underscore is allowed as numeric separator",149:"JSX value should be either an expression or a quoted JSX text",150:"Expected corresponding JSX closing tag for %0",151:"Adjacent JSX elements must be wrapped in an enclosing tag",152:"JSX attributes must only be assigned a non-empty 'expression'",153:"'%0' has already been declared",154:"'%0' shadowed a catch clause binding",155:"Dot property must be an identifier",156:"Encountered invalid input after spread/rest argument",157:"Catch without try",158:"Finally without try",159:"Expected corresponding closing tag for JSX fragment",160:"Coalescing and logical operators used together in the same expression must be disambiguated with parentheses",161:"Invalid tagged template on optional chain",162:"Invalid optional chain from super property",163:"Invalid optional chain from new expression",164:'Cannot use "import.meta" outside a module',165:"Leading decorators must be attached to a class declaration"},y2=class extends SyntaxError{constructor(u,n,t,i,...o){let l="["+n+":"+t+"]: "+T1[i].replace(/%(\d+)/g,(f,c)=>o[c]);super(`${l}`),this.index=u,this.line=n,this.column=t,this.description=l,this.loc={line:n,column:t}}};function s(e,u,...n){throw new y2(e.index,e.line,e.column,u,...n)}function j2(e){throw new y2(e.index,e.line,e.column,e.type,e.params)}function k2(e,u,n,t,...i){throw new y2(e,u,n,t,...i)}function A2(e,u,n,t){throw new y2(e,u,n,t)}var P2=((e,u)=>{let n=new Uint32Array(104448),t=0,i=0;for(;t<3701;){let o=e[t++];if(o<0)i-=o;else{let l=e[t++];o&2&&(l=u[l]),o&1?n.fill(l,i,i+=e[t++]):n[i++]=l}}return n})([-1,2,26,2,27,2,5,-1,0,77595648,3,44,2,3,0,14,2,57,2,58,3,0,3,0,3168796671,0,4294956992,2,1,2,0,2,59,3,0,4,0,4294966523,3,0,4,2,16,2,60,2,0,0,4294836735,0,3221225471,0,4294901942,2,61,0,134152192,3,0,2,0,4294951935,3,0,2,0,2683305983,0,2684354047,2,18,2,0,0,4294961151,3,0,2,2,19,2,0,0,608174079,2,0,2,54,2,7,2,6,0,4278222591,3,0,2,2,1,3,0,3,0,4294901711,2,40,0,4089839103,0,2961209759,0,1342439375,0,4294543342,0,3547201023,0,1577204103,0,4194240,0,4294688750,2,2,0,80831,0,4261478351,0,4294549486,2,2,0,2967484831,0,196559,0,3594373100,0,3288319768,0,8469959,2,200,2,3,0,4093640191,0,660618719,0,65487,0,4294828015,0,4092591615,0,1616920031,0,982991,2,3,2,0,0,2163244511,0,4227923919,0,4236247022,2,66,0,4284449919,0,851904,2,4,2,12,0,67076095,-1,2,67,0,1073741743,0,4093607775,-1,0,50331649,0,3265266687,2,33,0,4294844415,0,4278190047,2,20,2,133,-1,3,0,2,2,23,2,0,2,10,2,0,2,15,2,22,3,0,10,2,69,2,0,2,70,2,71,2,72,2,0,2,73,2,0,2,11,0,261632,2,25,3,0,2,2,13,2,4,3,0,18,2,74,2,5,3,0,2,2,75,0,2151677951,2,29,2,9,0,909311,3,0,2,0,814743551,2,42,0,67090432,3,0,2,2,41,2,0,2,6,2,0,2,30,2,8,0,268374015,2,107,2,48,2,0,2,76,0,134153215,-1,2,7,2,0,2,8,0,2684354559,0,67044351,0,3221160064,2,17,-1,3,0,2,0,67051519,0,1046528,3,0,3,2,9,2,0,2,50,0,4294960127,2,10,2,39,2,11,0,4294377472,2,12,3,0,16,2,13,2,0,2,79,2,10,2,0,2,80,2,81,2,82,2,206,2,129,0,1048577,2,83,2,14,-1,2,14,0,131042,2,84,2,85,2,86,2,0,2,34,-83,3,0,7,0,1046559,2,0,2,15,2,0,0,2147516671,2,21,3,87,2,2,0,-16,2,88,0,524222462,2,4,2,0,0,4269801471,2,4,3,0,2,2,28,2,16,3,0,2,2,17,2,0,-1,2,18,-16,3,0,206,-2,3,0,692,2,68,-1,2,18,2,10,3,0,8,2,90,2,128,2,0,0,3220242431,3,0,3,2,19,2,91,2,92,3,0,2,2,93,2,0,2,94,2,45,2,0,0,4351,2,0,2,9,3,0,2,0,67043391,0,3909091327,2,0,2,24,2,9,2,20,3,0,2,0,67076097,2,8,2,0,2,21,0,67059711,0,4236247039,3,0,2,0,939524103,0,8191999,2,98,2,99,2,22,2,23,3,0,3,0,67057663,3,0,349,2,100,2,101,2,7,-264,3,0,11,2,24,3,0,2,2,32,-1,0,3774349439,2,102,2,103,3,0,2,2,19,2,104,3,0,10,2,10,2,18,2,0,2,46,2,0,2,31,2,105,2,25,0,1638399,2,170,2,106,3,0,3,2,20,2,26,2,27,2,5,2,28,2,0,2,8,2,108,-1,2,109,2,110,2,111,-1,3,0,3,2,12,-2,2,0,2,29,-3,2,159,-4,2,20,2,0,2,36,0,1,2,0,2,62,2,6,2,12,2,10,2,0,2,112,-1,3,0,4,2,10,2,23,2,113,2,7,2,0,2,114,2,0,2,115,2,116,2,117,-2,3,0,9,2,21,2,30,2,31,2,118,2,119,-2,2,120,2,121,2,30,2,21,2,8,-2,2,122,2,30,2,32,-2,2,0,2,38,-2,0,4277137519,0,2269118463,-1,3,20,2,-1,2,33,2,37,2,0,3,30,2,2,35,2,19,-3,3,0,2,2,34,-1,2,0,2,35,2,0,2,35,2,0,2,47,-10,2,0,0,203775,-1,2,164,2,20,2,43,2,36,2,18,2,77,2,18,2,123,2,21,3,0,2,2,37,0,2151677888,2,0,2,12,0,4294901764,2,140,2,0,2,52,2,51,0,5242879,3,0,2,0,402644511,-1,2,125,2,38,0,3,-1,2,126,2,39,2,0,0,67045375,2,40,0,4226678271,0,3766565279,0,2039759,-4,3,0,2,0,3288270847,0,3,3,0,2,0,67043519,-5,2,0,0,4282384383,0,1056964609,-1,3,0,2,0,67043345,-1,2,0,2,41,2,42,-1,2,11,2,55,2,37,-5,2,0,2,12,-3,3,0,2,0,2147484671,2,130,0,4190109695,2,49,-2,2,131,0,4244635647,0,27,2,0,2,8,2,43,2,0,2,63,2,18,2,0,2,41,-8,2,53,2,44,0,67043329,2,45,2,46,0,8388351,-2,2,132,0,3028287487,2,47,2,134,0,33259519,2,42,-9,2,21,0,4294836223,0,3355443199,0,67043335,-2,2,64,-2,3,0,28,2,32,-3,3,0,3,2,17,3,0,6,2,78,-81,2,18,3,0,2,2,36,3,0,33,2,25,2,30,-125,3,0,18,2,37,-269,3,0,17,2,41,2,8,2,23,2,0,2,8,2,23,2,48,2,0,2,21,2,49,2,135,2,25,-21,3,0,2,-4,3,0,2,0,4294936575,2,0,0,4294934783,-2,0,196635,3,0,191,2,50,3,0,38,2,30,-1,2,34,-278,2,136,3,0,9,2,137,2,138,2,51,3,0,11,2,7,-72,3,0,3,2,139,0,1677656575,-147,2,0,2,24,2,37,-16,0,4161266656,0,4071,2,201,-4,0,28,-13,3,0,2,2,52,2,0,2,141,2,142,2,56,2,0,2,143,2,144,2,145,3,0,10,2,146,2,147,2,22,3,52,2,3,148,2,3,53,2,0,4294954999,2,0,-16,2,0,2,89,2,0,0,2105343,0,4160749584,2,174,-34,2,8,2,150,-6,0,4194303871,0,4294903771,2,0,2,54,2,97,-3,2,0,0,1073684479,0,17407,-9,2,18,2,17,2,0,2,32,-14,2,18,2,32,-23,2,151,3,0,6,0,8323103,-1,3,0,2,2,55,-37,2,56,2,152,2,153,2,154,2,155,2,156,-105,2,26,-32,3,0,1335,-1,3,0,129,2,32,3,0,6,2,10,3,0,180,2,157,3,0,233,2,158,3,0,18,2,10,-77,3,0,16,2,10,-47,3,0,154,2,6,3,0,130,2,25,-22250,3,0,7,2,25,-6130,3,5,2,-1,0,69207040,3,44,2,3,0,14,2,57,2,58,-3,0,3168731136,0,4294956864,2,1,2,0,2,59,3,0,4,0,4294966275,3,0,4,2,16,2,60,2,0,2,34,-1,2,18,2,61,-1,2,0,0,2047,0,4294885376,3,0,2,0,3145727,0,2617294944,0,4294770688,2,25,2,62,3,0,2,0,131135,2,95,0,70256639,0,71303167,0,272,2,41,2,6,0,32511,2,0,2,42,-1,2,96,2,63,0,4278255616,0,4294836227,0,4294549473,0,600178175,0,2952806400,0,268632067,0,4294543328,0,57540095,0,1577058304,0,1835008,0,4294688736,2,65,2,64,0,33554435,2,127,2,65,2,160,0,131075,0,3594373096,0,67094296,2,64,-1,0,4294828e3,0,603979263,0,654311424,0,3,0,4294828001,0,602930687,2,167,0,393219,0,4294828016,0,671088639,0,2154840064,0,4227858435,0,4236247008,2,66,2,37,-1,2,4,0,917503,2,37,-1,2,67,0,537788335,0,4026531935,-1,0,1,-1,2,33,2,68,0,7936,-3,2,0,0,2147485695,0,1010761728,0,4292984930,0,16387,2,0,2,15,2,22,3,0,10,2,69,2,0,2,70,2,71,2,72,2,0,2,73,2,0,2,12,-1,2,25,3,0,2,2,13,2,4,3,0,18,2,74,2,5,3,0,2,2,75,0,2147745791,3,19,2,0,122879,2,0,2,9,0,276824064,-2,3,0,2,2,41,2,0,0,4294903295,2,0,2,30,2,8,-1,2,18,2,48,2,0,2,76,2,42,-1,2,21,2,0,2,29,-2,0,128,-2,2,28,2,9,0,8160,-1,2,124,0,4227907585,2,0,2,77,2,0,2,78,2,180,2,10,2,39,2,11,-1,0,74440192,3,0,6,-2,3,0,8,2,13,2,0,2,79,2,10,2,0,2,80,2,81,2,82,-3,2,83,2,14,-3,2,84,2,85,2,86,2,0,2,34,-83,3,0,7,0,817183,2,0,2,15,2,0,0,33023,2,21,3,87,2,-17,2,88,0,524157950,2,4,2,0,2,89,2,4,2,0,2,22,2,28,2,16,3,0,2,2,17,2,0,-1,2,18,-16,3,0,206,-2,3,0,692,2,68,-1,2,18,2,10,3,0,8,2,90,0,3072,2,0,0,2147516415,2,10,3,0,2,2,25,2,91,2,92,3,0,2,2,93,2,0,2,94,2,45,0,4294965179,0,7,2,0,2,9,2,92,2,9,-1,0,1761345536,2,95,0,4294901823,2,37,2,20,2,96,2,35,2,97,0,2080440287,2,0,2,34,2,149,0,3296722943,2,0,0,1046675455,0,939524101,0,1837055,2,98,2,99,2,22,2,23,3,0,3,0,7,3,0,349,2,100,2,101,2,7,-264,3,0,11,2,24,3,0,2,2,32,-1,0,2700607615,2,102,2,103,3,0,2,2,19,2,104,3,0,10,2,10,2,18,2,0,2,46,2,0,2,31,2,105,-3,2,106,3,0,3,2,20,-1,3,5,2,2,107,2,0,2,8,2,108,-1,2,109,2,110,2,111,-1,3,0,3,2,12,-2,2,0,2,29,-8,2,20,2,0,2,36,-1,2,0,2,62,2,6,2,30,2,10,2,0,2,112,-1,3,0,4,2,10,2,18,2,113,2,7,2,0,2,114,2,0,2,115,2,116,2,117,-2,3,0,9,2,21,2,30,2,31,2,118,2,119,-2,2,120,2,121,2,30,2,21,2,8,-2,2,122,2,30,2,32,-2,2,0,2,38,-2,0,4277075969,2,30,-1,3,20,2,-1,2,33,2,123,2,0,3,30,2,2,35,2,19,-3,3,0,2,2,34,-1,2,0,2,35,2,0,2,35,2,0,2,78,-10,2,0,0,197631,-2,2,20,2,43,2,77,2,18,0,3,2,18,2,123,2,21,2,124,2,50,-1,0,2490368,2,124,2,25,2,18,2,34,2,124,2,37,0,4294901904,0,4718591,2,124,2,35,0,335544350,-1,2,125,0,2147487743,0,1,-1,2,126,2,39,2,8,-1,2,127,2,65,0,3758161920,0,3,-4,2,0,2,29,0,2147485568,0,3,2,0,2,25,0,176,-5,2,0,2,17,2,188,-1,2,0,2,25,2,205,-1,2,0,0,16779263,-2,2,12,-1,2,37,-5,2,0,2,128,-3,3,0,2,2,129,2,130,0,2147549183,0,2,-2,2,131,2,36,0,10,0,4294965249,0,67633151,0,4026597376,2,0,0,536871935,2,18,2,0,2,41,-8,2,53,2,17,0,1,2,45,2,25,-3,2,132,2,36,2,133,2,134,0,16778239,-10,2,35,0,4294836212,2,9,-3,2,64,-2,3,0,28,2,32,-3,3,0,3,2,17,3,0,6,2,78,-81,2,18,3,0,2,2,36,3,0,33,2,25,0,126,-125,3,0,18,2,37,-269,3,0,17,2,41,2,8,2,18,2,0,2,8,2,18,2,54,2,0,2,25,2,78,2,135,2,25,-21,3,0,2,-4,3,0,2,0,67583,-1,2,104,-2,0,11,3,0,191,2,50,3,0,38,2,30,-1,2,34,-278,2,136,3,0,9,2,137,2,138,2,51,3,0,11,2,7,-72,3,0,3,2,139,2,140,-187,3,0,2,2,52,2,0,2,141,2,142,2,56,2,0,2,143,2,144,2,145,3,0,10,2,146,2,147,2,22,3,52,2,3,148,2,3,53,2,2,149,-57,2,8,2,150,-7,2,18,2,0,2,54,-4,2,0,0,1065361407,0,16384,-9,2,18,2,54,2,0,2,128,-14,2,18,2,128,-23,2,151,3,0,6,2,123,-1,3,0,2,0,2063,-37,2,56,2,152,2,153,2,154,2,155,2,156,-138,3,0,1335,-1,3,0,129,2,32,3,0,6,2,10,3,0,180,2,157,3,0,233,2,158,3,0,18,2,10,-77,3,0,16,2,10,-47,3,0,154,2,6,3,0,130,2,25,-28386,2,0,0,1,-1,2,129,2,0,0,8193,-21,2,198,0,10255,0,4,-11,2,64,2,179,-1,0,71680,-1,2,171,0,4292900864,0,268435519,-5,2,159,-1,2,169,-1,0,6144,-2,2,45,-1,2,163,-1,0,2147532800,2,160,2,166,0,16744448,-2,0,4,-4,2,194,0,205128192,0,1333757536,0,2147483696,0,423953,0,747766272,0,2717763192,0,4286578751,0,278545,2,161,0,4294886464,0,33292336,0,417809,2,161,0,1327482464,0,4278190128,0,700594195,0,1006647527,0,4286497336,0,4160749631,2,162,0,201327104,0,3634348576,0,8323120,2,162,0,202375680,0,2678047264,0,4293984304,2,162,-1,0,983584,0,48,0,58720273,0,3489923072,0,10517376,0,4293066815,0,1,0,2013265920,2,182,2,0,0,2089,0,3221225552,0,201359520,2,0,-2,0,256,0,122880,0,16777216,2,159,0,4160757760,2,0,-6,2,176,-11,0,3263218176,-1,0,49664,0,2160197632,0,8388802,-1,0,12713984,-1,2,163,2,164,2,183,-2,2,172,-20,0,3758096385,-2,2,165,2,191,2,91,2,177,0,4294057984,-2,2,173,2,168,0,4227874816,-2,2,165,-1,2,166,-1,2,178,2,129,0,4026593280,0,14,0,4292919296,-1,2,175,0,939588608,-1,0,805306368,-1,2,129,2,167,2,168,2,169,2,207,2,0,-2,2,170,2,129,-3,0,267386880,-1,0,117440512,0,7168,-1,2,210,2,163,2,171,2,184,-16,2,172,-1,0,1426112704,2,173,-1,2,192,0,271581216,0,2149777408,2,25,2,171,2,129,0,851967,2,185,-1,2,174,2,186,-4,2,175,-20,2,197,2,204,-56,0,3145728,2,187,-10,0,32505856,-1,2,176,-1,0,2147385088,2,91,1,2155905152,2,-3,2,173,2,0,0,67108864,-2,2,177,-6,2,178,2,25,0,1,-1,0,1,-1,2,179,-3,2,123,2,64,-2,2,97,-2,0,32752,2,129,-915,2,170,-1,2,203,-10,2,190,-5,2,181,-6,0,4229232640,2,19,-1,2,180,-1,2,181,-2,0,4227874752,-3,0,2146435072,2,164,-2,0,1006649344,2,129,-1,2,91,0,201375744,-3,0,134217720,2,91,0,4286677377,0,32896,-1,2,175,-3,0,4227907584,-349,0,65520,0,1920,2,182,3,0,264,-11,2,169,-2,2,183,2,0,0,520617856,0,2692743168,0,36,-3,0,524280,-13,2,189,-1,0,4294934272,2,25,2,183,-1,2,213,0,2158720,-3,2,164,0,1,-4,2,129,0,3808625411,0,3489628288,0,4096,0,1207959680,0,3221274624,2,0,-3,2,184,0,120,0,7340032,-2,2,185,2,4,2,25,2,173,3,0,4,2,164,-1,2,186,2,182,-1,0,8176,2,166,2,184,2,211,-1,0,4290773232,2,0,-4,2,173,2,193,0,15728640,2,182,-1,2,171,-1,0,134250480,0,4720640,0,3825467396,3,0,2,-9,2,91,2,178,0,4294967040,2,133,0,4160880640,3,0,2,0,704,0,1849688064,2,187,-1,2,129,0,4294901887,2,0,0,130547712,0,1879048192,2,208,3,0,2,-1,2,188,2,189,-1,0,17829776,0,2025848832,2,212,-2,2,0,-1,0,4286580608,-1,0,29360128,2,196,0,16252928,0,3791388672,2,39,3,0,2,-2,2,202,2,0,-1,2,104,-1,0,66584576,-1,2,195,3,0,9,2,129,-1,0,4294755328,2,0,2,20,-1,2,171,2,183,2,25,2,95,2,25,2,190,2,91,-2,0,245760,2,191,-1,2,159,2,199,0,4227923456,-1,2,192,2,171,2,91,-3,0,4292870145,0,262144,-1,2,92,2,0,0,1073758848,2,193,-1,0,4227921920,2,194,0,68289024,0,528402016,0,4292927536,3,0,4,-2,0,268435456,2,92,-2,2,195,3,0,5,-1,2,196,2,173,2,0,-2,0,4227923936,2,62,-1,2,183,2,95,2,0,2,163,2,175,2,197,3,0,5,-1,2,182,3,0,3,-2,0,2146959360,0,9440640,0,104857600,0,4227923840,3,0,2,0,768,2,198,2,28,-2,2,171,-2,2,199,-1,2,165,2,95,3,0,7,0,512,0,8388608,2,200,2,170,2,189,0,4286578944,3,0,2,0,1152,0,1266679808,2,195,0,576,0,4261707776,2,95,3,0,9,2,165,0,131072,0,939524096,2,183,3,0,2,2,16,-1,0,2147221504,-28,2,183,3,0,3,-3,0,4292902912,-6,2,96,3,0,81,2,25,-2,2,104,-33,2,18,2,178,3,0,125,-18,2,197,3,0,269,-17,2,165,2,129,2,201,-1,2,129,2,193,0,4290822144,-2,0,67174336,0,520093700,2,18,3,0,21,-2,2,184,3,0,3,-2,0,30720,-1,0,32512,3,0,2,0,4294770656,-191,2,181,-38,2,178,2,0,2,202,3,0,278,0,2417033215,-9,0,4294705144,0,4292411391,0,65295,-11,2,182,3,0,72,-3,0,3758159872,0,201391616,3,0,147,-1,2,169,2,203,-3,2,96,2,0,-7,2,178,-1,0,384,-1,0,133693440,-3,2,204,-2,2,107,3,0,3,3,177,2,-2,2,91,2,165,3,0,4,-2,2,192,-1,2,159,0,335552923,2,205,-1,0,538974272,0,2214592512,0,132e3,-10,0,192,-8,2,206,-21,0,134213632,2,158,3,0,34,2,129,0,4294965279,3,0,6,0,100663424,0,63524,-1,2,209,2,148,3,0,3,-1,0,3221282816,0,4294917120,3,0,9,2,25,2,207,-1,2,208,3,0,14,2,25,2,183,3,0,23,0,2147520640,-6,0,4286578784,2,0,-2,0,1006694400,3,0,24,2,36,-1,0,4292870144,3,0,2,0,1,2,173,3,0,6,2,205,0,4110942569,0,1432950139,0,2701658217,0,4026532864,0,4026532881,2,0,2,46,3,0,8,-1,2,175,-2,2,177,0,98304,0,65537,2,178,-5,2,209,2,0,2,77,2,199,2,182,0,4294770176,2,107,3,0,4,-30,2,188,0,3758153728,-3,0,125829120,-2,2,183,0,4294897664,2,175,-1,2,195,-1,2,171,0,4294754304,3,0,2,-10,2,177,0,3758145536,2,210,2,211,0,4026548160,2,212,-4,2,213,-1,2,204,0,4227923967,3,0,32,-1335,2,0,-129,2,183,-6,2,173,-180,0,65532,-233,2,174,-18,2,173,3,0,77,-16,2,173,3,0,47,-154,2,166,-130,2,18,3,0,22250,-7,2,18,3,0,6128],[4294967295,4294967291,4092460543,4294828031,4294967294,134217726,4294903807,268435455,2147483647,1048575,1073741823,3892314111,134217727,1061158911,536805376,4294910143,4294901759,32767,4294901760,262143,536870911,8388607,4160749567,4294902783,4294918143,65535,67043328,2281701374,4294967264,2097151,4194303,255,67108863,4294967039,511,524287,131071,127,3238002687,4294902271,4294549487,33554431,1023,4294901888,4286578687,4294705152,4294770687,67043583,2047999,67043343,16777215,4294902e3,4292870143,4294966783,16383,67047423,4294967279,262083,20511,4290772991,41943039,493567,4294959104,603979775,65536,602799615,805044223,4294965206,8191,1031749119,4294917631,2134769663,4286578493,4282253311,4294942719,33540095,4294905855,63,15,2868854591,1608515583,265232348,534519807,2147614720,1060109444,4093640016,17376,2139062143,224,4169138175,4294909951,4286578688,4294967292,4294965759,65734655,4294966272,4294967280,32768,8289918,4294934399,4294901775,4294965375,1602223615,4294967259,4294443008,268369920,4292804608,4294967232,486341884,4294963199,3087007615,1073692671,4128527,4279238655,4294902015,4160684047,4290246655,469499899,4294967231,134086655,4294966591,2445279231,3670015,31,4294967288,4294705151,3221208447,4294549472,4095,2147483648,4285526655,4294966527,4294966143,64,4294966719,3774873592,1877934080,262151,2555904,536807423,67043839,3758096383,3959414372,3755993023,2080374783,4294835295,4294967103,4160749565,4294934527,4087,2016,2147446655,184024726,2862017156,1593309078,268434431,268434414,4294901763,4294901761,536870912,2952790016,202506752,139264,402653184,3758096384,4261412864,63488,1610612736,4227922944,49152,57344,65280,3233808384,3221225472,65534,61440,57152,4293918720,4290772992,25165824,4227915776,4278190080,4026531840,4227858432,4160749568,3758129152,4294836224,4194304,251658240,196608,4294963200,2143289344,2097152,64512,417808,4227923712,12582912,4294967168,50331648,65528,65472,15360,4294966784,65408,4294965248,16,12288,4294934528,2080374784,4294950912,65024,1073741824,4261477888,524288]);function A(e){return e.column++,e.currentChar=e.source.charCodeAt(++e.index)}function F1(e,u){if((u&64512)!==55296)return 0;let n=e.source.charCodeAt(e.index+1);return(n&64512)!==56320?0:(u=e.currentChar=65536+((u&1023)<<10)+(n&1023),P2[(u>>>5)+0]>>>u&31&1||s(e,18,G(u)),e.index++,e.column++,1)}function G2(e,u){e.currentChar=e.source.charCodeAt(++e.index),e.flags|=1,u&4||(e.column=0,e.line++)}function c2(e){e.flags|=1,e.currentChar=e.source.charCodeAt(++e.index),e.column=0,e.line++}function q1(e){return e===160||e===65279||e===133||e===5760||e>=8192&&e<=8203||e===8239||e===8287||e===12288||e===8201||e===65519}function G(e){return e<=65535?String.fromCharCode(e):String.fromCharCode(e>>>10)+String.fromCharCode(e&1023)}function z(e){return e<65?e-48:e-65+10&15}function L1(e){switch(e){case 134283266:return"NumericLiteral";case 134283267:return"StringLiteral";case 86021:case 86022:return"BooleanLiteral";case 86023:return"NullLiteral";case 65540:return"RegularExpression";case 67174408:case 67174409:case 132:return"TemplateLiteral";default:return(e&143360)===143360?"Identifier":(e&4096)===4096?"Keyword":"Punctuator"}}var L=[0,0,0,0,0,0,0,0,0,0,1032,0,0,2056,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,8192,0,3,0,0,8192,0,0,0,256,0,33024,0,0,242,242,114,114,114,114,114,114,594,594,0,0,16384,0,0,0,0,67,67,67,67,67,67,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,0,1,0,0,4099,0,71,71,71,71,71,71,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,16384,0,0,0,0],I1=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,1,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0],Fe=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,1,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0];function _2(e){return e<=127?I1[e]:P2[(e>>>5)+34816]>>>e&31&1}function R2(e){return e<=127?Fe[e]:P2[(e>>>5)+0]>>>e&31&1||e===8204||e===8205}var qe=["SingleLine","MultiLine","HTMLOpen","HTMLClose","HashbangComment"];function N1(e){let u=e.source;e.currentChar===35&&u.charCodeAt(e.index+1)===33&&(A(e),A(e),x2(e,u,0,4,e.tokenPos,e.linePos,e.colPos))}function Ce(e,u,n,t,i,o,l,f){return t&2048&&s(e,0),x2(e,u,n,i,o,l,f)}function x2(e,u,n,t,i,o,l){let{index:f}=e;for(e.tokenPos=e.index,e.linePos=e.line,e.colPos=e.column;e.index=e.source.length)return s(e,32)}let i=e.index-1,o=0,l=e.currentChar,{index:f}=e;for(;R2(l);){switch(l){case 103:o&2&&s(e,34,"g"),o|=2;break;case 105:o&1&&s(e,34,"i"),o|=1;break;case 109:o&4&&s(e,34,"m"),o|=4;break;case 117:o&16&&s(e,34,"u"),o|=16;break;case 121:o&8&&s(e,34,"y"),o|=8;break;case 115:o&32&&s(e,34,"s"),o|=32;break;case 100:o&64&&s(e,34,"d"),o|=64;break;default:s(e,33)}l=A(e)}let c=e.source.slice(f,e.index),m=e.source.slice(n,i);return e.tokenRegExp={pattern:m,flags:c},u&512&&(e.tokenRaw=e.source.slice(e.tokenPos,e.index)),e.tokenValue=O1(e,m,c),65540}function O1(e,u,n){try{return new RegExp(u,n)}catch{try{return new RegExp(u,n.replace("d","")),null}catch{s(e,32)}}}function U1(e,u,n){let{index:t}=e,i="",o=A(e),l=e.index;for(;!(L[o]&8);){if(o===n)return i+=e.source.slice(l,e.index),A(e),u&512&&(e.tokenRaw=e.source.slice(t,e.index)),e.tokenValue=i,134283267;if((o&8)===8&&o===92){if(i+=e.source.slice(l,e.index),o=A(e),o<127||o===8232||o===8233){let f=Le(e,u,o);f>=0?i+=G(f):Ie(e,f,0)}else i+=G(o);l=e.index+1}e.index>=e.end&&s(e,14),o=A(e)}s(e,14)}function Le(e,u,n){switch(n){case 98:return 8;case 102:return 12;case 114:return 13;case 110:return 10;case 116:return 9;case 118:return 11;case 13:if(e.index1114111)return-5;return e.currentChar<1||e.currentChar!==125?-4:i}else{if(!(L[t]&64))return-4;let i=e.source.charCodeAt(e.index+1);if(!(L[i]&64))return-4;let o=e.source.charCodeAt(e.index+2);if(!(L[o]&64))return-4;let l=e.source.charCodeAt(e.index+3);return L[l]&64?(e.index+=3,e.column+=3,e.currentChar=e.source.charCodeAt(e.index),z(t)<<12|z(i)<<8|z(o)<<4|z(l)):-4}}case 56:case 57:if(!(u&256))return-3;default:return n}}function Ie(e,u,n){switch(u){case-1:return;case-2:s(e,n?2:1);case-3:s(e,13);case-4:s(e,6);case-5:s(e,102)}}function Ne(e,u){let{index:n}=e,t=67174409,i="",o=A(e);for(;o!==96;){if(o===36&&e.source.charCodeAt(e.index+1)===123){A(e),t=67174408;break}else if((o&8)===8&&o===92)if(o=A(e),o>126)i+=G(o);else{let l=Le(e,u|1024,o);if(l>=0)i+=G(l);else if(l!==-1&&u&65536){i=void 0,o=M1(e,o),o<0&&(t=67174408);break}else Ie(e,l,1)}else e.index=e.end&&s(e,15),o=A(e)}return A(e),e.tokenValue=i,e.tokenRaw=e.source.slice(n+1,e.index-(t===67174409?1:2)),t}function M1(e,u){for(;u!==96;){switch(u){case 36:{let n=e.index+1;if(n=e.end&&s(e,15),u=A(e)}return u}function J1(e,u){return e.index>=e.end&&s(e,0),e.index--,e.column--,Ne(e,u)}function Pe(e,u,n){let t=e.currentChar,i=0,o=9,l=n&64?0:1,f=0,c=0;if(n&64)i="."+q2(e,t),t=e.currentChar,t===110&&s(e,11);else{if(t===48)if(t=A(e),(t|32)===120){for(n=136,t=A(e);L[t]&4160;){if(t===95){c||s(e,147),c=0,t=A(e);continue}c=1,i=i*16+z(t),f++,t=A(e)}(f===0||!c)&&s(e,f===0?19:148)}else if((t|32)===111){for(n=132,t=A(e);L[t]&4128;){if(t===95){c||s(e,147),c=0,t=A(e);continue}c=1,i=i*8+(t-48),f++,t=A(e)}(f===0||!c)&&s(e,f===0?0:148)}else if((t|32)===98){for(n=130,t=A(e);L[t]&4224;){if(t===95){c||s(e,147),c=0,t=A(e);continue}c=1,i=i*2+(t-48),f++,t=A(e)}(f===0||!c)&&s(e,f===0?0:148)}else if(L[t]&32)for(u&1024&&s(e,1),n=1;L[t]&16;){if(L[t]&512){n=32,l=0;break}i=i*8+(t-48),t=A(e)}else L[t]&512?(u&1024&&s(e,1),e.flags|=64,n=32):t===95&&s(e,0);if(n&48){if(l){for(;o>=0&&L[t]&4112;){if(t===95){t=A(e),(t===95||n&32)&&A2(e.index,e.line,e.index+1,147),c=1;continue}c=0,i=10*i+(t-48),t=A(e),--o}if(c&&A2(e.index,e.line,e.index+1,148),o>=0&&!_2(t)&&t!==46)return e.tokenValue=i,u&512&&(e.tokenRaw=e.source.slice(e.tokenPos,e.index)),134283266}i+=q2(e,t),t=e.currentChar,t===46&&(A(e)===95&&s(e,0),n=64,i+="."+q2(e,e.currentChar),t=e.currentChar)}}let m=e.index,g=0;if(t===110&&n&128)g=1,t=A(e);else if((t|32)===101){t=A(e),L[t]&256&&(t=A(e));let{index:a}=e;L[t]&16||s(e,10),i+=e.source.substring(m,a)+q2(e,t),t=e.currentChar}return(e.index","(","{",".","...","}",")",";",",","[","]",":","?","'",'"',"","++","--","=","<<=",">>=",">>>=","**=","+=","-=","*=","/=","%=","^=","|=","&=","||=","&&=","??=","typeof","delete","void","!","~","+","-","in","instanceof","*","%","/","**","&&","||","===","!==","==","!=","<=",">=","<",">","<<",">>",">>>","&","|","^","var","let","const","break","case","catch","class","continue","debugger","default","do","else","export","extends","finally","for","function","if","import","new","return","super","switch","this","throw","try","while","with","implements","interface","package","private","protected","public","static","yield","as","async","await","constructor","get","set","from","of","enum","eval","arguments","escaped keyword","escaped future reserved keyword","reserved if strict","#","BigIntLiteral","??","?.","WhiteSpace","Illegal","LineTerminator","PrivateField","Template","@","target","meta","LineFeed","Escaped","JSXText"],Ve=Object.create(null,{this:{value:86113},function:{value:86106},if:{value:20571},return:{value:20574},var:{value:86090},else:{value:20565},for:{value:20569},new:{value:86109},in:{value:8738868},typeof:{value:16863277},while:{value:20580},case:{value:20558},break:{value:20557},try:{value:20579},catch:{value:20559},delete:{value:16863278},throw:{value:86114},switch:{value:86112},continue:{value:20561},default:{value:20563},instanceof:{value:8476725},do:{value:20564},void:{value:16863279},finally:{value:20568},async:{value:209007},await:{value:209008},class:{value:86096},const:{value:86092},constructor:{value:12401},debugger:{value:20562},export:{value:20566},extends:{value:20567},false:{value:86021},from:{value:12404},get:{value:12402},implements:{value:36966},import:{value:86108},interface:{value:36967},let:{value:241739},null:{value:86023},of:{value:274549},package:{value:36968},private:{value:36969},protected:{value:36970},public:{value:36971},set:{value:12403},static:{value:36972},super:{value:86111},true:{value:86022},with:{value:20581},yield:{value:241773},enum:{value:86134},eval:{value:537079927},as:{value:77934},arguments:{value:537079928},target:{value:143494},meta:{value:143495}});function Ee(e,u,n){for(;Fe[A(e)];);return e.tokenValue=e.source.slice(e.tokenPos,e.index),e.currentChar!==92&&e.currentChar<=126?Ve[e.tokenValue]||208897:p2(e,u,0,n)}function j1(e,u){let n=Re(e);return R2(n)||s(e,4),e.tokenValue=G(n),p2(e,u,1,L[n]&4)}function p2(e,u,n,t){let i=e.index;for(;e.index=2&&o<=11){let l=Ve[e.tokenValue];return l===void 0?208897:n?l===209008?u&4196352?121:l:u&1024?l===36972||(l&36864)===36864?122:(l&20480)===20480?u&268435456&&!(u&8192)?l:121:143483:u&268435456&&!(u&8192)&&(l&20480)===20480?l:l===241773?u&268435456?143483:u&2097152?121:l:l===209007?143483:(l&36864)===36864?l:121:l}return 208897}function X1(e){return _2(A(e))||s(e,94),131}function Re(e){return e.source.charCodeAt(e.index+1)!==117&&s(e,4),e.currentChar=e.source.charCodeAt(e.index+=2),H1(e)}function H1(e){let u=0,n=e.currentChar;if(n===123){let l=e.index-2;for(;L[A(e)]&64;)u=u<<4|z(e.currentChar),u>1114111&&A2(l,e.line,e.index+1,102);return e.currentChar!==125&&A2(l,e.line,e.index-1,6),A(e),u}L[n]&64||s(e,6);let t=e.source.charCodeAt(e.index+1);L[t]&64||s(e,6);let i=e.source.charCodeAt(e.index+2);L[i]&64||s(e,6);let o=e.source.charCodeAt(e.index+3);return L[o]&64||s(e,6),u=z(n)<<12|z(t)<<8|z(i)<<4|z(o),e.currentChar=e.source.charCodeAt(e.index+=4),u}var Oe=[129,129,129,129,129,129,129,129,129,128,136,128,128,130,129,129,129,129,129,129,129,129,129,129,129,129,129,129,129,129,129,129,128,16842800,134283267,131,208897,8457015,8455751,134283267,67174411,16,8457014,25233970,18,25233971,67108877,8457016,134283266,134283266,134283266,134283266,134283266,134283266,134283266,134283266,134283266,134283266,21,1074790417,8456258,1077936157,8456259,22,133,208897,208897,208897,208897,208897,208897,208897,208897,208897,208897,208897,208897,208897,208897,208897,208897,208897,208897,208897,208897,208897,208897,208897,208897,208897,208897,69271571,137,20,8455497,208897,132,4096,4096,4096,4096,4096,4096,4096,208897,4096,208897,208897,4096,208897,4096,208897,4096,208897,4096,4096,4096,208897,4096,4096,208897,4096,4096,2162700,8455240,1074790415,16842801,129];function D(e,u){if(e.flags=(e.flags|1)^1,e.startPos=e.index,e.startColumn=e.column,e.startLine=e.line,e.token=Ue(e,u,0),e.onToken&&e.token!==1048576){let n={start:{line:e.linePos,column:e.colPos},end:{line:e.line,column:e.column}};e.onToken(L1(e.token),e.tokenPos,e.index,n)}}function Ue(e,u,n){let t=e.index===0,i=e.source,o=e.index,l=e.line,f=e.column;for(;e.index=e.end)return 8457014;let d=e.currentChar;return d===61?(A(e),4194340):d!==42?8457014:A(e)!==61?8457273:(A(e),4194337)}case 8455497:return A(e)!==61?8455497:(A(e),4194343);case 25233970:{A(e);let d=e.currentChar;return d===43?(A(e),33619995):d===61?(A(e),4194338):25233970}case 25233971:{A(e);let d=e.currentChar;if(d===45){if(A(e),(n&1||t)&&e.currentChar===62){u&256||s(e,109),A(e),n=Ce(e,i,n,u,3,o,l,f),o=e.tokenPos,l=e.linePos,f=e.colPos;continue}return 33619996}return d===61?(A(e),4194339):25233971}case 8457016:{if(A(e),e.index=48&&a<=57)return Pe(e,u,80);if(a===46){let d=e.index+1;if(d=48&&d<=57)))return A(e),67108991}return 22}}}else{if((c^8232)<=1){n=n&-5|1,c2(e);continue}if((c&64512)===55296||P2[(c>>>5)+34816]>>>c&31&1)return(c&64512)===56320&&(c=(c&1023)<<10|c&1023|65536,P2[(c>>>5)+0]>>>c&31&1||s(e,18,G(c)),e.index++,e.currentChar=c),e.column++,e.tokenValue="",p2(e,u,0,0);if(q1(c)){A(e);continue}s(e,18,G(c))}}return 1048576}function z1(e,u){return e.startPos=e.tokenPos=e.index,e.startColumn=e.colPos=e.column,e.startLine=e.linePos=e.line,e.token=L[e.currentChar]&8192?K1(e,u):Ue(e,u,0),e.token}function K1(e,u){let n=e.currentChar,t=A(e),i=e.index;for(;t!==n;)e.index>=e.end&&s(e,14),t=A(e);return t!==n&&s(e,14),e.tokenValue=e.source.slice(i,e.index),A(e),u&512&&(e.tokenRaw=e.source.slice(e.tokenPos,e.index)),134283267}function d2(e,u){if(e.startPos=e.tokenPos=e.index,e.startColumn=e.colPos=e.column,e.startLine=e.linePos=e.line,e.index>=e.end)return e.token=1048576;switch(Oe[e.source.charCodeAt(e.index)]){case 8456258:{A(e),e.currentChar===47?(A(e),e.token=25):e.token=8456258;break}case 2162700:{A(e),e.token=2162700;break}default:{let t=0;for(;e.index1&&i&32&&e.token&262144&&s(e,59,O[e.token&255]),l}function Se(e,u,n,t,i){let{token:o,tokenPos:l,linePos:f,colPos:c}=e,m=null,g=i1(e,u,n,t,i,l,f,c);return e.token===1077936157?(D(e,u|32768),m=R(e,u,1,0,e.tokenPos,e.linePos,e.colPos),(i&32||!(o&2097152))&&(e.token===274549||e.token===8738868&&(o&2097152||!(t&4)||u&1024))&&k2(l,e.line,e.index-3,58,e.token===274549?"of":"in")):(t&16||(o&2097152)>0)&&(e.token&262144)!==262144&&s(e,57,t&16?"const":"destructuring"),y(e,u,l,f,c,{type:"VariableDeclarator",id:g,init:m})}function Au(e,u,n,t,i,o,l){D(e,u);let f=((u&4194304)>0||(u&2048)>0&&(u&8192)>0)&&q(e,u,209008);P(e,u|32768,67174411),n&&(n=J(n,1));let c=null,m=null,g=0,a=null,d=e.token===86090||e.token===241739||e.token===86092,k,{token:C,tokenPos:b,linePos:E,colPos:w}=e;if(d?C===241739?(a=I(e,u),e.token&2240512?(e.token===8738868?u&1024&&s(e,65):a=y(e,u,b,E,w,{type:"VariableDeclaration",kind:"let",declarations:g2(e,u|134217728,n,8,32)}),e.assignable=1):u&1024?s(e,65):(d=!1,e.assignable=1,a=N(e,u,a,0,0,b,E,w),e.token===274549&&s(e,112))):(D(e,u),a=y(e,u,b,E,w,C===86090?{type:"VariableDeclaration",kind:"var",declarations:g2(e,u|134217728,n,4,32)}:{type:"VariableDeclaration",kind:"const",declarations:g2(e,u|134217728,n,16,32)}),e.assignable=1):C===1074790417?f&&s(e,80):(C&2097152)===2097152?(a=C===2162700?Y(e,u,void 0,1,0,0,2,32,b,E,w):_(e,u,void 0,1,0,0,2,32,b,E,w),g=e.destructible,u&256&&g&64&&s(e,61),e.assignable=g&16?2:1,a=N(e,u|134217728,a,0,0,e.tokenPos,e.linePos,e.colPos)):a=W(e,u|134217728,1,0,1,b,E,w),(e.token&262144)===262144){if(e.token===274549){e.assignable&2&&s(e,78,f?"await":"of"),r(e,a),D(e,u|32768),k=R(e,u,1,0,e.tokenPos,e.linePos,e.colPos),P(e,u|32768,16);let S=C2(e,u,n,t);return y(e,u,i,o,l,{type:"ForOfStatement",left:a,right:k,body:S,await:f})}e.assignable&2&&s(e,78,"in"),r(e,a),D(e,u|32768),f&&s(e,80),k=j(e,u,0,1,e.tokenPos,e.linePos,e.colPos),P(e,u|32768,16);let M=C2(e,u,n,t);return y(e,u,i,o,l,{type:"ForInStatement",body:M,left:a,right:k})}f&&s(e,80),d||(g&8&&e.token!==1077936157&&s(e,78,"loop"),a=U(e,u|134217728,0,0,b,E,w,a)),e.token===18&&(a=p(e,u,0,e.tokenPos,e.linePos,e.colPos,a)),P(e,u|32768,1074790417),e.token!==1074790417&&(c=j(e,u,0,1,e.tokenPos,e.linePos,e.colPos)),P(e,u|32768,1074790417),e.token!==16&&(m=j(e,u,0,1,e.tokenPos,e.linePos,e.colPos)),P(e,u|32768,16);let v=C2(e,u,n,t);return y(e,u,i,o,l,{type:"ForStatement",init:a,test:c,update:m,body:v})}function $e(e,u,n){return ue(u,e.token)||s(e,115),(e.token&537079808)===537079808&&s(e,116),n&&t2(e,u,n,e.tokenValue,8,0),I(e,u)}function hu(e,u,n){let t=e.tokenPos,i=e.linePos,o=e.colPos;D(e,u);let l=null,{tokenPos:f,linePos:c,colPos:m}=e,g=[];if(e.token===134283267)l=X(e,u);else{if(e.token&143360){let a=$e(e,u,n);if(g=[y(e,u,f,c,m,{type:"ImportDefaultSpecifier",local:a})],q(e,u,18))switch(e.token){case 8457014:g.push(Be(e,u,n));break;case 2162700:ve(e,u,n,g);break;default:s(e,105)}}else switch(e.token){case 8457014:g=[Be(e,u,n)];break;case 2162700:ve(e,u,n,g);break;case 67174411:return _e(e,u,t,i,o);case 67108877:return We(e,u,t,i,o);default:s(e,28,O[e.token&255])}l=Du(e,u)}return H(e,u|32768),y(e,u,t,i,o,{type:"ImportDeclaration",specifiers:g,source:l})}function Be(e,u,n){let{tokenPos:t,linePos:i,colPos:o}=e;return D(e,u),P(e,u,77934),(e.token&134217728)===134217728&&k2(t,e.line,e.index,28,O[e.token&255]),y(e,u,t,i,o,{type:"ImportNamespaceSpecifier",local:$e(e,u,n)})}function Du(e,u){return q(e,u,12404)||s(e,28,O[e.token&255]),e.token!==134283267&&s(e,103,"Import"),X(e,u)}function ve(e,u,n,t){for(D(e,u);e.token&143360;){let{token:i,tokenValue:o,tokenPos:l,linePos:f,colPos:c}=e,m=I(e,u),g;q(e,u,77934)?((e.token&134217728)===134217728||e.token===18?s(e,104):O2(e,u,16,e.token,0),o=e.tokenValue,g=I(e,u)):(O2(e,u,16,i,0),g=m),n&&t2(e,u,n,o,8,0),t.push(y(e,u,l,f,c,{type:"ImportSpecifier",local:g,imported:m})),e.token!==1074790415&&P(e,u,18)}return P(e,u,1074790415),t}function We(e,u,n,t,i){let o=Qe(e,u,y(e,u,n,t,i,{type:"Identifier",name:"import"}),n,t,i);return o=N(e,u,o,0,0,n,t,i),o=U(e,u,0,0,n,t,i,o),e.token===18&&(o=p(e,u,0,n,t,i,o)),h2(e,u,o,n,t,i)}function _e(e,u,n,t,i){let o=Ze(e,u,0,n,t,i);return o=N(e,u,o,0,0,n,t,i),e.token===18&&(o=p(e,u,0,n,t,i,o)),h2(e,u,o,n,t,i)}function bu(e,u,n){let t=e.tokenPos,i=e.linePos,o=e.colPos;D(e,u|32768);let l=[],f=null,c=null,m;if(q(e,u|32768,20563)){switch(e.token){case 86106:{f=i2(e,u,n,4,1,1,0,e.tokenPos,e.linePos,e.colPos);break}case 133:case 86096:f=r2(e,u,n,1,e.tokenPos,e.linePos,e.colPos);break;case 209007:let{tokenPos:g,linePos:a,colPos:d}=e;f=I(e,u);let{flags:k}=e;k&1||(e.token===86106?f=i2(e,u,n,4,1,1,1,g,a,d):e.token===67174411?(f=de(e,u,f,1,1,0,k,g,a,d),f=N(e,u,f,0,0,g,a,d),f=U(e,u,0,0,g,a,d,f)):e.token&143360&&(n&&(n=X2(e,u,e.tokenValue)),f=I(e,u),f=B2(e,u,n,[f],1,g,a,d)));break;default:f=R(e,u,1,0,e.tokenPos,e.linePos,e.colPos),H(e,u|32768)}return n&&l2(e,"default"),y(e,u,t,i,o,{type:"ExportDefaultDeclaration",declaration:f})}switch(e.token){case 8457014:{D(e,u);let k=null;return q(e,u,77934)&&(n&&l2(e,e.tokenValue),k=I(e,u)),P(e,u,12404),e.token!==134283267&&s(e,103,"Export"),c=X(e,u),H(e,u|32768),y(e,u,t,i,o,{type:"ExportAllDeclaration",source:c,exported:k})}case 2162700:{D(e,u);let k=[],C=[];for(;e.token&143360;){let{tokenPos:b,tokenValue:E,linePos:w,colPos:v}=e,M=I(e,u),S;e.token===77934?(D(e,u),(e.token&134217728)===134217728&&s(e,104),n&&(k.push(e.tokenValue),C.push(E)),S=I(e,u)):(n&&(k.push(e.tokenValue),C.push(e.tokenValue)),S=M),l.push(y(e,u,b,w,v,{type:"ExportSpecifier",local:M,exported:S})),e.token!==1074790415&&P(e,u,18)}if(P(e,u,1074790415),q(e,u,12404))e.token!==134283267&&s(e,103,"Export"),c=X(e,u);else if(n){let b=0,E=k.length;for(;b0)&8738868,g,a;for(e.assignable=2;e.token&8454144&&(g=e.token,a=g&3840,(g&524288&&f&268435456||f&524288&&g&268435456)&&s(e,160),!(a+((g===8457273)<<8)-((m===g)<<12)<=l));)D(e,u|32768),c=y(e,u,t,i,o,{type:g&524288||g&268435456?"LogicalExpression":"BinaryExpression",left:c,right:n2(e,u,n,e.tokenPos,e.linePos,e.colPos,a,g,W(e,u,0,n,1,e.tokenPos,e.linePos,e.colPos)),operator:O[g&255]});return e.token===1077936157&&s(e,24),c}function Cu(e,u,n,t,i,o,l){n||s(e,0);let f=e.token;D(e,u|32768);let c=W(e,u,0,l,1,e.tokenPos,e.linePos,e.colPos);return e.token===8457273&&s(e,31),u&1024&&f===16863278&&(c.type==="Identifier"?s(e,118):$1(c)&&s(e,124)),e.assignable=2,y(e,u,t,i,o,{type:"UnaryExpression",operator:O[f&255],argument:c,prefix:!0})}function Pu(e,u,n,t,i,o,l,f,c){let{token:m}=e,g=I(e,u),{flags:a}=e;if(!(a&1)){if(e.token===86106)return Ge(e,u,1,n,l,f,c);if((e.token&143360)===143360)return t||s(e,0),e1(e,u,i,l,f,c)}return!o&&e.token===67174411?de(e,u,g,i,1,0,a,l,f,c):e.token===10?(ne(e,u,m),o&&s(e,49),z2(e,u,e.tokenValue,g,o,i,0,l,f,c)):(e.assignable=1,g)}function Eu(e,u,n,t,i,o,l){if(n&&(e.destructible|=256),u&2097152){D(e,u|32768),u&8388608&&s(e,30),t||s(e,24),e.token===22&&s(e,121);let f=null,c=!1;return e.flags&1||(c=q(e,u|32768,8457014),(e.token&77824||c)&&(f=R(e,u,1,0,e.tokenPos,e.linePos,e.colPos))),e.assignable=2,y(e,u,i,o,l,{type:"YieldExpression",argument:f,delegate:c})}return u&1024&&s(e,95,"yield"),ce(e,u,i,o,l)}function wu(e,u,n,t,i,o,l){if(t&&(e.destructible|=128),u&4194304||u&2048&&u&8192){n&&s(e,0),u&8388608&&k2(e.index,e.line,e.index,29),D(e,u|32768);let f=W(e,u,0,0,1,e.tokenPos,e.linePos,e.colPos);return e.token===8457273&&s(e,31),e.assignable=2,y(e,u,i,o,l,{type:"AwaitExpression",argument:f})}return u&2048&&s(e,96),ce(e,u,i,o,l)}function H2(e,u,n,t,i,o){let{tokenPos:l,linePos:f,colPos:c}=e;P(e,u|32768,2162700);let m=[],g=u;if(e.token!==1074790415){for(;e.token===134283267;){let{index:a,tokenPos:d,tokenValue:k,token:C}=e,b=X(e,u);Me(e,a,d,k)&&(u|=1024,e.flags&128&&k2(e.index,e.line,e.tokenPos,64),e.flags&64&&k2(e.index,e.line,e.tokenPos,8)),m.push(te(e,u,b,C,d,e.linePos,e.colPos))}u&1024&&(i&&((i&537079808)===537079808&&s(e,116),(i&36864)===36864&&s(e,38)),e.flags&512&&s(e,116),e.flags&256&&s(e,115)),u&64&&n&&o!==void 0&&!(g&1024)&&!(u&8192)&&j2(o)}for(e.flags=(e.flags|512|256|64)^832,e.destructible=(e.destructible|256)^256;e.token!==1074790415;)m.push(w2(e,u,n,4,{}));return P(e,t&24?u|32768:u,1074790415),e.flags&=-193,e.token===1077936157&&s(e,24),y(e,u,l,f,c,{type:"BlockStatement",body:m})}function Su(e,u,n,t,i){switch(D(e,u),e.token){case 67108991:s(e,162);case 67174411:{u&524288||s(e,26),u&16384&&!(u&33554432)&&s(e,27),e.assignable=2;break}case 69271571:case 67108877:{u&262144||s(e,27),u&16384&&!(u&33554432)&&s(e,27),e.assignable=1;break}default:s(e,28,"super")}return y(e,u,n,t,i,{type:"Super"})}function W(e,u,n,t,i,o,l,f){let c=K(e,u,2,0,n,t,i,o,l,f);return N(e,u,c,t,0,o,l,f)}function Bu(e,u,n,t,i,o){e.assignable&2&&s(e,53);let{token:l}=e;return D(e,u),e.assignable=2,y(e,u,t,i,o,{type:"UpdateExpression",argument:n,operator:O[l&255],prefix:!1})}function N(e,u,n,t,i,o,l,f){if((e.token&33619968)===33619968&&!(e.flags&1))n=Bu(e,u,n,o,l,f);else if((e.token&67108864)===67108864){switch(u=(u|134217728)^134217728,e.token){case 67108877:{D(e,(u|268435456|8192)^8192),u&16384&&e.token===131&&e.tokenValue==="super"&&s(e,27),e.assignable=1;let c=Ye(e,u|65536);n=y(e,u,o,l,f,{type:"MemberExpression",object:n,computed:!1,property:c});break}case 69271571:{let c=!1;(e.flags&2048)===2048&&(c=!0,e.flags=(e.flags|2048)^2048),D(e,u|32768);let{tokenPos:m,linePos:g,colPos:a}=e,d=j(e,u,t,1,m,g,a);P(e,u,20),e.assignable=1,n=y(e,u,o,l,f,{type:"MemberExpression",object:n,computed:!0,property:d}),c&&(e.flags|=2048);break}case 67174411:{if((e.flags&1024)===1024)return e.flags=(e.flags|1024)^1024,n;let c=!1;(e.flags&2048)===2048&&(c=!0,e.flags=(e.flags|2048)^2048);let m=fe(e,u,t);e.assignable=2,n=y(e,u,o,l,f,{type:"CallExpression",callee:n,arguments:m}),c&&(e.flags|=2048);break}case 67108991:{D(e,(u|268435456|8192)^8192),e.flags|=2048,e.assignable=2,n=vu(e,u,n,o,l,f);break}default:(e.flags&2048)===2048&&s(e,161),e.assignable=2,n=y(e,u,o,l,f,{type:"TaggedTemplateExpression",tag:n,quasi:e.token===67174408?le(e,u|65536):oe(e,u,e.tokenPos,e.linePos,e.colPos)})}n=N(e,u,n,0,1,o,l,f)}return i===0&&(e.flags&2048)===2048&&(e.flags=(e.flags|2048)^2048,n=y(e,u,o,l,f,{type:"ChainExpression",expression:n})),n}function vu(e,u,n,t,i,o){let l=!1,f;if((e.token===69271571||e.token===67174411)&&(e.flags&2048)===2048&&(l=!0,e.flags=(e.flags|2048)^2048),e.token===69271571){D(e,u|32768);let{tokenPos:c,linePos:m,colPos:g}=e,a=j(e,u,0,1,c,m,g);P(e,u,20),e.assignable=2,f=y(e,u,t,i,o,{type:"MemberExpression",object:n,computed:!0,optional:!0,property:a})}else if(e.token===67174411){let c=fe(e,u,0);e.assignable=2,f=y(e,u,t,i,o,{type:"CallExpression",callee:n,arguments:c,optional:!0})}else{e.token&143360||s(e,155);let c=I(e,u);e.assignable=2,f=y(e,u,t,i,o,{type:"MemberExpression",object:n,computed:!1,optional:!0,property:c})}return l&&(e.flags|=2048),f}function Ye(e,u){return!(e.token&143360)&&e.token!==131&&s(e,155),u&1&&e.token===131?J2(e,u,e.tokenPos,e.linePos,e.colPos):I(e,u)}function Tu(e,u,n,t,i,o,l){n&&s(e,54),t||s(e,0);let{token:f}=e;D(e,u|32768);let c=W(e,u,0,0,1,e.tokenPos,e.linePos,e.colPos);return e.assignable&2&&s(e,53),e.assignable=2,y(e,u,i,o,l,{type:"UpdateExpression",argument:c,operator:O[f&255],prefix:!0})}function K(e,u,n,t,i,o,l,f,c,m){if((e.token&143360)===143360){switch(e.token){case 209008:return wu(e,u,t,o,f,c,m);case 241773:return Eu(e,u,o,i,f,c,m);case 209007:return Pu(e,u,o,l,i,t,f,c,m)}let{token:g,tokenValue:a}=e,d=I(e,u|65536);return e.token===10?(l||s(e,0),ne(e,u,g),z2(e,u,a,d,t,i,0,f,c,m)):(u&16384&&g===537079928&&s(e,127),g===241739&&(u&1024&&s(e,110),n&24&&s(e,98)),e.assignable=u&1024&&(g&537079808)===537079808?2:1,d)}if((e.token&134217728)===134217728)return X(e,u);switch(e.token){case 33619995:case 33619996:return Tu(e,u,t,l,f,c,m);case 16863278:case 16842800:case 16842801:case 25233970:case 25233971:case 16863277:case 16863279:return Cu(e,u,l,f,c,m,o);case 86106:return Ge(e,u,0,o,f,c,m);case 2162700:return Vu(e,u,i?0:1,o,f,c,m);case 69271571:return Nu(e,u,i?0:1,o,f,c,m);case 67174411:return Ou(e,u|65536,i,1,0,f,c,m);case 86021:case 86022:case 86023:return Lu(e,u,f,c,m);case 86113:return Iu(e,u);case 65540:return Ju(e,u,f,c,m);case 133:case 86096:return ju(e,u,o,f,c,m);case 86111:return Su(e,u,f,c,m);case 67174409:return oe(e,u,f,c,m);case 67174408:return le(e,u);case 86109:return Uu(e,u,o,f,c,m);case 134283389:return re(e,u,f,c,m);case 131:return J2(e,u,f,c,m);case 86108:return Fu(e,u,t,o,f,c,m);case 8456258:if(u&16)return ae(e,u,1,f,c,m);default:if(ue(u,e.token))return ce(e,u,f,c,m);s(e,28,O[e.token&255])}}function Fu(e,u,n,t,i,o,l){let f=I(e,u);return e.token===67108877?Qe(e,u,f,i,o,l):(n&&s(e,138),f=Ze(e,u,t,i,o,l),e.assignable=2,N(e,u,f,t,0,i,o,l))}function Qe(e,u,n,t,i,o){return u&2048||s(e,164),D(e,u),e.token!==143495&&e.tokenValue!=="meta"&&s(e,28,O[e.token&255]),e.assignable=2,y(e,u,t,i,o,{type:"MetaProperty",meta:n,property:I(e,u)})}function Ze(e,u,n,t,i,o){P(e,u|32768,67174411),e.token===14&&s(e,139);let l=R(e,u,1,n,e.tokenPos,e.linePos,e.colPos);return P(e,u,16),y(e,u,t,i,o,{type:"ImportExpression",source:l})}function re(e,u,n,t,i){let{tokenRaw:o,tokenValue:l}=e;return D(e,u),e.assignable=2,y(e,u,n,t,i,u&512?{type:"Literal",value:l,bigint:o.slice(0,-1),raw:o}:{type:"Literal",value:l,bigint:o.slice(0,-1)})}function oe(e,u,n,t,i){e.assignable=2;let{tokenValue:o,tokenRaw:l,tokenPos:f,linePos:c,colPos:m}=e;P(e,u,67174409);let g=[N2(e,u,o,l,f,c,m,!0)];return y(e,u,n,t,i,{type:"TemplateLiteral",expressions:[],quasis:g})}function le(e,u){u=(u|134217728)^134217728;let{tokenValue:n,tokenRaw:t,tokenPos:i,linePos:o,colPos:l}=e;P(e,u|32768,67174408);let f=[N2(e,u,n,t,i,o,l,!1)],c=[j(e,u,0,1,e.tokenPos,e.linePos,e.colPos)];for(e.token!==1074790415&&s(e,81);(e.token=J1(e,u))!==67174409;){let{tokenValue:m,tokenRaw:g,tokenPos:a,linePos:d,colPos:k}=e;P(e,u|32768,67174408),f.push(N2(e,u,m,g,a,d,k,!1)),c.push(j(e,u,0,1,e.tokenPos,e.linePos,e.colPos)),e.token!==1074790415&&s(e,81)}{let{tokenValue:m,tokenRaw:g,tokenPos:a,linePos:d,colPos:k}=e;P(e,u,67174409),f.push(N2(e,u,m,g,a,d,k,!0))}return y(e,u,i,o,l,{type:"TemplateLiteral",expressions:c,quasis:f})}function N2(e,u,n,t,i,o,l,f){let c=y(e,u,i,o,l,{type:"TemplateElement",value:{cooked:n,raw:t},tail:f}),m=f?1:2;return u&2&&(c.start+=1,c.range[0]+=1,c.end-=m,c.range[1]-=m),u&4&&(c.loc.start.column+=1,c.loc.end.column-=m),c}function qu(e,u,n,t,i){u=(u|134217728)^134217728,P(e,u|32768,14);let o=R(e,u,1,0,e.tokenPos,e.linePos,e.colPos);return e.assignable=1,y(e,u,n,t,i,{type:"SpreadElement",argument:o})}function fe(e,u,n){D(e,u|32768);let t=[];if(e.token===16)return D(e,u|65536),t;for(;e.token!==16&&(e.token===14?t.push(qu(e,u,e.tokenPos,e.linePos,e.colPos)):t.push(R(e,u,1,n,e.tokenPos,e.linePos,e.colPos)),!(e.token!==18||(D(e,u|32768),e.token===16))););return P(e,u,16),t}function I(e,u){let{tokenValue:n,tokenPos:t,linePos:i,colPos:o}=e;return D(e,u),y(e,u,t,i,o,{type:"Identifier",name:n})}function X(e,u){let{tokenValue:n,tokenRaw:t,tokenPos:i,linePos:o,colPos:l}=e;return e.token===134283389?re(e,u,i,o,l):(D(e,u),e.assignable=2,y(e,u,i,o,l,u&512?{type:"Literal",value:n,raw:t}:{type:"Literal",value:n}))}function Lu(e,u,n,t,i){let o=O[e.token&255],l=e.token===86023?null:o==="true";return D(e,u),e.assignable=2,y(e,u,n,t,i,u&512?{type:"Literal",value:l,raw:o}:{type:"Literal",value:l})}function Iu(e,u){let{tokenPos:n,linePos:t,colPos:i}=e;return D(e,u),e.assignable=2,y(e,u,n,t,i,{type:"ThisExpression"})}function i2(e,u,n,t,i,o,l,f,c,m){D(e,u|32768);let g=i?ee(e,u,8457014):0,a=null,d,k=n?s2():void 0;if(e.token===67174411)o&1||s(e,37,"Function");else{let E=t&4&&(!(u&8192)||!(u&2048))?4:64;Je(e,u|(u&3072)<<11,e.token),n&&(E&4?He(e,u,n,e.tokenValue,E):t2(e,u,n,e.tokenValue,E,t),k=J(k,256),o&&o&2&&l2(e,e.tokenValue)),d=e.token,e.token&143360?a=I(e,u):s(e,28,O[e.token&255])}u=(u|32243712)^32243712|67108864|l*2+g<<21|(g?0:268435456),n&&(k=J(k,512));let C=pe(e,u|8388608,k,0,1),b=H2(e,(u|8192|4096|131072)^143360,n?J(k,128):k,8,d,n?k.scopeError:void 0);return y(e,u,f,c,m,{type:"FunctionDeclaration",id:a,params:C,body:b,async:l===1,generator:g===1})}function Ge(e,u,n,t,i,o,l){D(e,u|32768);let f=ee(e,u,8457014),c=n*2+f<<21,m=null,g,a=u&64?s2():void 0;(e.token&176128)>0&&(Je(e,(u|32243712)^32243712|c,e.token),a&&(a=J(a,256)),g=e.token,m=I(e,u)),u=(u|32243712)^32243712|67108864|c|(f?0:268435456),a&&(a=J(a,512));let d=pe(e,u|8388608,a,t,1),k=H2(e,u&-134377473,a&&J(a,128),0,g,void 0);return e.assignable=2,y(e,u,i,o,l,{type:"FunctionExpression",id:m,params:d,body:k,async:n===1,generator:f===1})}function Nu(e,u,n,t,i,o,l){let f=_(e,u,void 0,n,t,0,2,0,i,o,l);return u&256&&e.destructible&64&&s(e,61),e.destructible&8&&s(e,60),f}function _(e,u,n,t,i,o,l,f,c,m,g){D(e,u|32768);let a=[],d=0;for(u=(u|134217728)^134217728;e.token!==20;)if(q(e,u|32768,18))a.push(null);else{let C,{token:b,tokenPos:E,linePos:w,colPos:v,tokenValue:M}=e;if(b&143360)if(C=K(e,u,l,0,1,i,1,E,w,v),e.token===1077936157){e.assignable&2&&s(e,24),D(e,u|32768),n&&u2(e,u,n,M,l,f);let S=R(e,u,1,i,e.tokenPos,e.linePos,e.colPos);C=y(e,u,E,w,v,o?{type:"AssignmentPattern",left:C,right:S}:{type:"AssignmentExpression",operator:"=",left:C,right:S}),d|=e.destructible&256?256:0|e.destructible&128?128:0}else e.token===18||e.token===20?(e.assignable&2?d|=16:n&&u2(e,u,n,M,l,f),d|=e.destructible&256?256:0|e.destructible&128?128:0):(d|=l&1?32:l&2?0:16,C=N(e,u,C,i,0,E,w,v),e.token!==18&&e.token!==20?(e.token!==1077936157&&(d|=16),C=U(e,u,i,o,E,w,v,C)):e.token!==1077936157&&(d|=e.assignable&2?16:32));else b&2097152?(C=e.token===2162700?Y(e,u,n,0,i,o,l,f,E,w,v):_(e,u,n,0,i,o,l,f,E,w,v),d|=e.destructible,e.assignable=e.destructible&16?2:1,e.token===18||e.token===20?e.assignable&2&&(d|=16):e.destructible&8?s(e,69):(C=N(e,u,C,i,0,E,w,v),d=e.assignable&2?16:0,e.token!==18&&e.token!==20?C=U(e,u,i,o,E,w,v,C):e.token!==1077936157&&(d|=e.assignable&2?16:32))):b===14?(C=D2(e,u,n,20,l,f,0,i,o,E,w,v),d|=e.destructible,e.token!==18&&e.token!==20&&s(e,28,O[e.token&255])):(C=W(e,u,1,0,1,E,w,v),e.token!==18&&e.token!==20?(C=U(e,u,i,o,E,w,v,C),!(l&3)&&b===67174411&&(d|=16)):e.assignable&2?d|=16:b===67174411&&(d|=e.assignable&1&&l&3?32:16));if(a.push(C),q(e,u|32768,18)){if(e.token===20)break}else break}P(e,u,20);let k=y(e,u,c,m,g,{type:o?"ArrayPattern":"ArrayExpression",elements:a});return!t&&e.token&4194304?xe(e,u,d,i,o,c,m,g,k):(e.destructible=d,k)}function xe(e,u,n,t,i,o,l,f,c){e.token!==1077936157&&s(e,24),D(e,u|32768),n&16&&s(e,24),i||r(e,c);let{tokenPos:m,linePos:g,colPos:a}=e,d=R(e,u,1,t,m,g,a);return e.destructible=(n|64|8)^72|(e.destructible&128?128:0)|(e.destructible&256?256:0),y(e,u,o,l,f,i?{type:"AssignmentPattern",left:c,right:d}:{type:"AssignmentExpression",left:c,operator:"=",right:d})}function D2(e,u,n,t,i,o,l,f,c,m,g,a){D(e,u|32768);let d=null,k=0,{token:C,tokenValue:b,tokenPos:E,linePos:w,colPos:v}=e;if(C&143360)e.assignable=1,d=K(e,u,i,0,1,f,1,E,w,v),C=e.token,d=N(e,u,d,f,0,E,w,v),e.token!==18&&e.token!==t&&(e.assignable&2&&e.token===1077936157&&s(e,69),k|=16,d=U(e,u,f,c,E,w,v,d)),e.assignable&2?k|=16:C===t||C===18?n&&u2(e,u,n,b,i,o):k|=32,k|=e.destructible&128?128:0;else if(C===t)s(e,39);else if(C&2097152)d=e.token===2162700?Y(e,u,n,1,f,c,i,o,E,w,v):_(e,u,n,1,f,c,i,o,E,w,v),C=e.token,C!==1077936157&&C!==t&&C!==18?(e.destructible&8&&s(e,69),d=N(e,u,d,f,0,E,w,v),k|=e.assignable&2?16:0,(e.token&4194304)===4194304?(e.token!==1077936157&&(k|=16),d=U(e,u,f,c,E,w,v,d)):((e.token&8454144)===8454144&&(d=n2(e,u,1,E,w,v,4,C,d)),q(e,u|32768,22)&&(d=f2(e,u,d,E,w,v)),k|=e.assignable&2?16:32)):k|=t===1074790415&&C!==1077936157?16:e.destructible;else{k|=32,d=W(e,u,1,f,1,e.tokenPos,e.linePos,e.colPos);let{token:M,tokenPos:S,linePos:V,colPos:h}=e;return M===1077936157&&M!==t&&M!==18?(e.assignable&2&&s(e,24),d=U(e,u,f,c,S,V,h,d),k|=16):(M===18?k|=16:M!==t&&(d=U(e,u,f,c,S,V,h,d)),k|=e.assignable&1?32:16),e.destructible=k,e.token!==t&&e.token!==18&&s(e,156),y(e,u,m,g,a,{type:c?"RestElement":"SpreadElement",argument:d})}if(e.token!==t)if(i&1&&(k|=l?16:32),q(e,u|32768,1077936157)){k&16&&s(e,24),r(e,d);let M=R(e,u,1,f,e.tokenPos,e.linePos,e.colPos);d=y(e,u,E,w,v,c?{type:"AssignmentPattern",left:d,right:M}:{type:"AssignmentExpression",left:d,operator:"=",right:M}),k=16}else k|=16;return e.destructible=k,y(e,u,m,g,a,{type:c?"RestElement":"SpreadElement",argument:d})}function Z(e,u,n,t,i,o,l){let f=n&64?14680064:31981568;u=(u|f)^f|(n&88)<<18|100925440;let c=u&64?J(s2(),512):void 0,m=Ru(e,u|8388608,c,n,1,t);c&&(c=J(c,128));let g=H2(e,u&-134230017,c,0,void 0,void 0);return y(e,u,i,o,l,{type:"FunctionExpression",params:m,body:g,async:(n&16)>0,generator:(n&8)>0,id:null})}function Vu(e,u,n,t,i,o,l){let f=Y(e,u,void 0,n,t,0,2,0,i,o,l);return u&256&&e.destructible&64&&s(e,61),e.destructible&8&&s(e,60),f}function Y(e,u,n,t,i,o,l,f,c,m,g){D(e,u);let a=[],d=0,k=0;for(u=(u|134217728)^134217728;e.token!==1074790415;){let{token:b,tokenValue:E,linePos:w,colPos:v,tokenPos:M}=e;if(b===14)a.push(D2(e,u,n,1074790415,l,f,0,i,o,M,w,v));else{let S=0,V=null,h,Q=e.token;if(e.token&143360||e.token===121)if(V=I(e,u),e.token===18||e.token===1074790415||e.token===1077936157)if(S|=4,u&1024&&(b&537079808)===537079808?d|=16:O2(e,u,l,b,0),n&&u2(e,u,n,E,l,f),q(e,u|32768,1077936157)){d|=8;let B=R(e,u,1,i,e.tokenPos,e.linePos,e.colPos);d|=e.destructible&256?256:0|e.destructible&128?128:0,h=y(e,u,M,w,v,{type:"AssignmentPattern",left:u&536870912?Object.assign({},V):V,right:B})}else d|=(b===209008?128:0)|(b===121?16:0),h=u&536870912?Object.assign({},V):V;else if(q(e,u|32768,21)){let{tokenPos:B,linePos:F,colPos:T}=e;if(E==="__proto__"&&k++,e.token&143360){let o2=e.token,a2=e.tokenValue;d|=Q===121?16:0,h=K(e,u,l,0,1,i,1,B,F,T);let{token:x}=e;h=N(e,u,h,i,0,B,F,T),e.token===18||e.token===1074790415?x===1077936157||x===1074790415||x===18?(d|=e.destructible&128?128:0,e.assignable&2?d|=16:n&&(o2&143360)===143360&&u2(e,u,n,a2,l,f)):d|=e.assignable&1?32:16:(e.token&4194304)===4194304?(e.assignable&2?d|=16:x!==1077936157?d|=32:n&&u2(e,u,n,a2,l,f),h=U(e,u,i,o,B,F,T,h)):(d|=16,(e.token&8454144)===8454144&&(h=n2(e,u,1,B,F,T,4,x,h)),q(e,u|32768,22)&&(h=f2(e,u,h,B,F,T)))}else(e.token&2097152)===2097152?(h=e.token===69271571?_(e,u,n,0,i,o,l,f,B,F,T):Y(e,u,n,0,i,o,l,f,B,F,T),d=e.destructible,e.assignable=d&16?2:1,e.token===18||e.token===1074790415?e.assignable&2&&(d|=16):e.destructible&8?s(e,69):(h=N(e,u,h,i,0,B,F,T),d=e.assignable&2?16:0,(e.token&4194304)===4194304?h=L2(e,u,i,o,B,F,T,h):((e.token&8454144)===8454144&&(h=n2(e,u,1,B,F,T,4,b,h)),q(e,u|32768,22)&&(h=f2(e,u,h,B,F,T)),d|=e.assignable&2?16:32))):(h=W(e,u,1,i,1,B,F,T),d|=e.assignable&1?32:16,e.token===18||e.token===1074790415?e.assignable&2&&(d|=16):(h=N(e,u,h,i,0,B,F,T),d=e.assignable&2?16:0,e.token!==18&&b!==1074790415&&(e.token!==1077936157&&(d|=16),h=U(e,u,i,o,B,F,T,h))))}else e.token===69271571?(d|=16,b===209007&&(S|=16),S|=(b===12402?256:b===12403?512:1)|2,V=m2(e,u,i),d|=e.assignable,h=Z(e,u,S,i,e.tokenPos,e.linePos,e.colPos)):e.token&143360?(d|=16,b===121&&s(e,93),b===209007&&(e.flags&1&&s(e,129),S|=16),V=I(e,u),S|=b===12402?256:b===12403?512:1,h=Z(e,u,S,i,e.tokenPos,e.linePos,e.colPos)):e.token===67174411?(d|=16,S|=1,h=Z(e,u,S,i,e.tokenPos,e.linePos,e.colPos)):e.token===8457014?(d|=16,b===12402?s(e,40):b===12403?s(e,41):b===143483&&s(e,93),D(e,u),S|=9|(b===209007?16:0),e.token&143360?V=I(e,u):(e.token&134217728)===134217728?V=X(e,u):e.token===69271571?(S|=2,V=m2(e,u,i),d|=e.assignable):s(e,28,O[e.token&255]),h=Z(e,u,S,i,e.tokenPos,e.linePos,e.colPos)):(e.token&134217728)===134217728?(b===209007&&(S|=16),S|=b===12402?256:b===12403?512:1,d|=16,V=X(e,u),h=Z(e,u,S,i,e.tokenPos,e.linePos,e.colPos)):s(e,130);else if((e.token&134217728)===134217728)if(V=X(e,u),e.token===21){P(e,u|32768,21);let{tokenPos:B,linePos:F,colPos:T}=e;if(E==="__proto__"&&k++,e.token&143360){h=K(e,u,l,0,1,i,1,B,F,T);let{token:o2,tokenValue:a2}=e;h=N(e,u,h,i,0,B,F,T),e.token===18||e.token===1074790415?o2===1077936157||o2===1074790415||o2===18?e.assignable&2?d|=16:n&&u2(e,u,n,a2,l,f):d|=e.assignable&1?32:16:e.token===1077936157?(e.assignable&2&&(d|=16),h=U(e,u,i,o,B,F,T,h)):(d|=16,h=U(e,u,i,o,B,F,T,h))}else(e.token&2097152)===2097152?(h=e.token===69271571?_(e,u,n,0,i,o,l,f,B,F,T):Y(e,u,n,0,i,o,l,f,B,F,T),d=e.destructible,e.assignable=d&16?2:1,e.token===18||e.token===1074790415?e.assignable&2&&(d|=16):(e.destructible&8)!==8&&(h=N(e,u,h,i,0,B,F,T),d=e.assignable&2?16:0,(e.token&4194304)===4194304?h=L2(e,u,i,o,B,F,T,h):((e.token&8454144)===8454144&&(h=n2(e,u,1,B,F,T,4,b,h)),q(e,u|32768,22)&&(h=f2(e,u,h,B,F,T)),d|=e.assignable&2?16:32))):(h=W(e,u,1,0,1,B,F,T),d|=e.assignable&1?32:16,e.token===18||e.token===1074790415?e.assignable&2&&(d|=16):(h=N(e,u,h,i,0,B,F,T),d=e.assignable&1?0:16,e.token!==18&&e.token!==1074790415&&(e.token!==1077936157&&(d|=16),h=U(e,u,i,o,B,F,T,h))))}else e.token===67174411?(S|=1,h=Z(e,u,S,i,e.tokenPos,e.linePos,e.colPos),d=e.assignable|16):s(e,131);else if(e.token===69271571)if(V=m2(e,u,i),d|=e.destructible&256?256:0,S|=2,e.token===21){D(e,u|32768);let{tokenPos:B,linePos:F,colPos:T,tokenValue:o2,token:a2}=e;if(e.token&143360){h=K(e,u,l,0,1,i,1,B,F,T);let{token:x}=e;h=N(e,u,h,i,0,B,F,T),(e.token&4194304)===4194304?(d|=e.assignable&2?16:x===1077936157?0:32,h=L2(e,u,i,o,B,F,T,h)):e.token===18||e.token===1074790415?x===1077936157||x===1074790415||x===18?e.assignable&2?d|=16:n&&(a2&143360)===143360&&u2(e,u,n,o2,l,f):d|=e.assignable&1?32:16:(d|=16,h=U(e,u,i,o,B,F,T,h))}else(e.token&2097152)===2097152?(h=e.token===69271571?_(e,u,n,0,i,o,l,f,B,F,T):Y(e,u,n,0,i,o,l,f,B,F,T),d=e.destructible,e.assignable=d&16?2:1,e.token===18||e.token===1074790415?e.assignable&2&&(d|=16):d&8?s(e,60):(h=N(e,u,h,i,0,B,F,T),d=e.assignable&2?d|16:0,(e.token&4194304)===4194304?(e.token!==1077936157&&(d|=16),h=L2(e,u,i,o,B,F,T,h)):((e.token&8454144)===8454144&&(h=n2(e,u,1,B,F,T,4,b,h)),q(e,u|32768,22)&&(h=f2(e,u,h,B,F,T)),d|=e.assignable&2?16:32))):(h=W(e,u,1,0,1,B,F,T),d|=e.assignable&1?32:16,e.token===18||e.token===1074790415?e.assignable&2&&(d|=16):(h=N(e,u,h,i,0,B,F,T),d=e.assignable&1?0:16,e.token!==18&&e.token!==1074790415&&(e.token!==1077936157&&(d|=16),h=U(e,u,i,o,B,F,T,h))))}else e.token===67174411?(S|=1,h=Z(e,u,S,i,e.tokenPos,w,v),d=16):s(e,42);else if(b===8457014)if(P(e,u|32768,8457014),S|=8,e.token&143360){let{token:B,line:F,index:T}=e;V=I(e,u),S|=1,e.token===67174411?(d|=16,h=Z(e,u,S,i,e.tokenPos,e.linePos,e.colPos)):k2(T,F,T,B===209007?44:B===12402||e.token===12403?43:45,O[B&255])}else(e.token&134217728)===134217728?(d|=16,V=X(e,u),S|=1,h=Z(e,u,S,i,M,w,v)):e.token===69271571?(d|=16,S|=3,V=m2(e,u,i),h=Z(e,u,S,i,e.tokenPos,e.linePos,e.colPos)):s(e,123);else s(e,28,O[b&255]);d|=e.destructible&128?128:0,e.destructible=d,a.push(y(e,u,M,w,v,{type:"Property",key:V,value:h,kind:S&768?S&512?"set":"get":"init",computed:(S&2)>0,method:(S&1)>0,shorthand:(S&4)>0}))}if(d|=e.destructible,e.token!==18)break;D(e,u)}P(e,u,1074790415),k>1&&(d|=64);let C=y(e,u,c,m,g,{type:o?"ObjectPattern":"ObjectExpression",properties:a});return!t&&e.token&4194304?xe(e,u,d,i,o,c,m,g,C):(e.destructible=d,C)}function Ru(e,u,n,t,i,o){P(e,u,67174411);let l=[];if(e.flags=(e.flags|128)^128,e.token===16)return t&512&&s(e,35,"Setter","one",""),D(e,u),l;t&256&&s(e,35,"Getter","no","s"),t&512&&e.token===14&&s(e,36),u=(u|134217728)^134217728;let f=0,c=0;for(;e.token!==18;){let m=null,{tokenPos:g,linePos:a,colPos:d}=e;if(e.token&143360?(u&1024||((e.token&36864)===36864&&(e.flags|=256),(e.token&537079808)===537079808&&(e.flags|=512)),m=se(e,u,n,t|1,0,g,a,d)):(e.token===2162700?m=Y(e,u,n,1,o,1,i,0,g,a,d):e.token===69271571?m=_(e,u,n,1,o,1,i,0,g,a,d):e.token===14&&(m=D2(e,u,n,16,i,0,0,o,1,g,a,d)),c=1,e.destructible&48&&s(e,48)),e.token===1077936157){D(e,u|32768),c=1;let k=R(e,u,1,0,e.tokenPos,e.linePos,e.colPos);m=y(e,u,g,a,d,{type:"AssignmentPattern",left:m,right:k})}if(f++,l.push(m),!q(e,u,18)||e.token===16)break}return t&512&&f!==1&&s(e,35,"Setter","one",""),n&&n.scopeError!==void 0&&j2(n.scopeError),c&&(e.flags|=128),P(e,u,16),l}function m2(e,u,n){D(e,u|32768);let t=R(e,(u|134217728)^134217728,1,n,e.tokenPos,e.linePos,e.colPos);return P(e,u,20),t}function Ou(e,u,n,t,i,o,l,f){e.flags=(e.flags|128)^128;let{tokenPos:c,linePos:m,colPos:g}=e;D(e,u|32768|268435456);let a=u&64?J(s2(),1024):void 0;if(u=(u|134217728)^134217728,q(e,u,16))return M2(e,u,a,[],n,0,o,l,f);let d=0;e.destructible&=-385;let k,C=[],b=0,E=0,{tokenPos:w,linePos:v,colPos:M}=e;for(e.assignable=1;e.token!==16;){let{token:S,tokenPos:V,linePos:h,colPos:Q}=e;if(S&143360)a&&t2(e,u,a,e.tokenValue,1,0),k=K(e,u,t,0,1,1,1,V,h,Q),e.token===16||e.token===18?e.assignable&2?(d|=16,E=1):((S&537079808)===537079808||(S&36864)===36864)&&(E=1):(e.token===1077936157?E=1:d|=16,k=N(e,u,k,1,0,V,h,Q),e.token!==16&&e.token!==18&&(k=U(e,u,1,0,V,h,Q,k)));else if((S&2097152)===2097152)k=S===2162700?Y(e,u|268435456,a,0,1,0,t,i,V,h,Q):_(e,u|268435456,a,0,1,0,t,i,V,h,Q),d|=e.destructible,E=1,e.assignable=2,e.token!==16&&e.token!==18&&(d&8&&s(e,119),k=N(e,u,k,0,0,V,h,Q),d|=16,e.token!==16&&e.token!==18&&(k=U(e,u,0,0,V,h,Q,k)));else if(S===14){k=D2(e,u,a,16,t,i,0,1,0,V,h,Q),e.destructible&16&&s(e,72),E=1,b&&(e.token===16||e.token===18)&&C.push(k),d|=8;break}else{if(d|=16,k=R(e,u,1,1,V,h,Q),b&&(e.token===16||e.token===18)&&C.push(k),e.token===18&&(b||(b=1,C=[k])),b){for(;q(e,u|32768,18);)C.push(R(e,u,1,1,e.tokenPos,e.linePos,e.colPos));e.assignable=2,k=y(e,u,w,v,M,{type:"SequenceExpression",expressions:C})}return P(e,u,16),e.destructible=d,k}if(b&&(e.token===16||e.token===18)&&C.push(k),!q(e,u|32768,18))break;if(b||(b=1,C=[k]),e.token===16){d|=8;break}}return b&&(e.assignable=2,k=y(e,u,w,v,M,{type:"SequenceExpression",expressions:C})),P(e,u,16),d&16&&d&8&&s(e,146),d|=e.destructible&256?256:0|e.destructible&128?128:0,e.token===10?(d&48&&s(e,47),u&4196352&&d&128&&s(e,29),u&2098176&&d&256&&s(e,30),E&&(e.flags|=128),M2(e,u,a,b?C:[k],n,0,o,l,f)):(d&8&&s(e,140),e.destructible=(e.destructible|256)^256|d,u&128?y(e,u,c,m,g,{type:"ParenthesizedExpression",expression:k}):k)}function ce(e,u,n,t,i){let{tokenValue:o}=e,l=I(e,u);if(e.assignable=1,e.token===10){let f;return u&64&&(f=X2(e,u,o)),e.flags=(e.flags|128)^128,B2(e,u,f,[l],0,n,t,i)}return l}function z2(e,u,n,t,i,o,l,f,c,m){o||s(e,55),i&&s(e,49),e.flags&=-129;let g=u&64?X2(e,u,n):void 0;return B2(e,u,g,[t],l,f,c,m)}function M2(e,u,n,t,i,o,l,f,c){i||s(e,55);for(let m=0;m0&&e.tokenValue==="constructor"&&s(e,107),e.token===1074790415&&s(e,106),q(e,u,1074790417)){k>0&&s(e,117);continue}a.push(n1(e,u,t,n,i,d,0,l,e.tokenPos,e.linePos,e.colPos))}return P(e,o&8?u|32768:u,1074790415),e.flags=e.flags&-33|g,y(e,u,f,c,m,{type:"ClassBody",body:a})}function n1(e,u,n,t,i,o,l,f,c,m,g){let a=l?32:0,d=null,{token:k,tokenPos:C,linePos:b,colPos:E}=e;if(k&176128)switch(d=I(e,u),k){case 36972:if(!l&&e.token!==67174411&&(e.token&1048576)!==1048576&&e.token!==1077936157)return n1(e,u,n,t,i,o,1,f,c,m,g);break;case 209007:if(e.token!==67174411&&!(e.flags&1)){if(u&1&&(e.token&1073741824)===1073741824)return I2(e,u,d,a,o,C,b,E);a|=16|(ee(e,u,8457014)?8:0)}break;case 12402:if(e.token!==67174411){if(u&1&&(e.token&1073741824)===1073741824)return I2(e,u,d,a,o,C,b,E);a|=256}break;case 12403:if(e.token!==67174411){if(u&1&&(e.token&1073741824)===1073741824)return I2(e,u,d,a,o,C,b,E);a|=512}break}else if(k===69271571)a|=2,d=m2(e,t,f);else if((k&134217728)===134217728)d=X(e,u);else if(k===8457014)a|=8,D(e,u);else if(u&1&&e.token===131)a|=4096,d=J2(e,u|16384,C,b,E);else if(u&1&&(e.token&1073741824)===1073741824)a|=128;else{if(l&&k===2162700)return gu(e,u,n,C,b,E);k===122?(d=I(e,u),e.token!==67174411&&s(e,28,O[e.token&255])):s(e,28,O[e.token&255])}if(a&792&&(e.token&143360?d=I(e,u):(e.token&134217728)===134217728?d=X(e,u):e.token===69271571?(a|=2,d=m2(e,u,0)):e.token===122?d=I(e,u):u&1&&e.token===131?(a|=4096,d=J2(e,u,C,b,E)):s(e,132)),a&2||(e.tokenValue==="constructor"?((e.token&1073741824)===1073741824?s(e,126):!(a&32)&&e.token===67174411&&(a&920?s(e,51,"accessor"):u&524288||(e.flags&32?s(e,52):e.flags|=32)),a|=64):!(a&4096)&&a&824&&e.tokenValue==="prototype"&&s(e,50)),u&1&&e.token!==67174411)return I2(e,u,d,a,o,C,b,E);let w=Z(e,u,a,f,e.tokenPos,e.linePos,e.colPos);return y(e,u,c,m,g,u&1?{type:"MethodDefinition",kind:!(a&32)&&a&64?"constructor":a&256?"get":a&512?"set":"method",static:(a&32)>0,computed:(a&2)>0,key:d,decorators:o,value:w}:{type:"MethodDefinition",kind:!(a&32)&&a&64?"constructor":a&256?"get":a&512?"set":"method",static:(a&32)>0,computed:(a&2)>0,key:d,value:w})}function J2(e,u,n,t,i){D(e,u);let{tokenValue:o}=e;return o==="constructor"&&s(e,125),D(e,u),y(e,u,n,t,i,{type:"PrivateIdentifier",name:o})}function I2(e,u,n,t,i,o,l,f){let c=null;if(t&8&&s(e,0),e.token===1077936157){D(e,u|32768);let{tokenPos:m,linePos:g,colPos:a}=e;e.token===537079928&&s(e,116);let d=t&64?14680064:31981568;u=(u|d)^d|(t&88)<<18|100925440,c=K(e,u|16384,2,0,1,0,1,m,g,a),((e.token&1073741824)!==1073741824||(e.token&4194304)===4194304)&&(c=N(e,u|16384,c,0,0,m,g,a),c=U(e,u|16384,0,0,m,g,a,c),e.token===18&&(c=p(e,u,0,o,l,f,c)))}return y(e,u,o,l,f,{type:"PropertyDefinition",key:n,value:c,static:(t&32)>0,computed:(t&2)>0,decorators:i})}function i1(e,u,n,t,i,o,l,f){if(e.token&143360)return se(e,u,n,t,i,o,l,f);(e.token&2097152)!==2097152&&s(e,28,O[e.token&255]);let c=e.token===69271571?_(e,u,n,1,0,1,t,i,o,l,f):Y(e,u,n,1,0,1,t,i,o,l,f);return e.destructible&16&&s(e,48),e.destructible&32&&s(e,48),c}function se(e,u,n,t,i,o,l,f){let{tokenValue:c,token:m}=e;return u&1024&&((m&537079808)===537079808?s(e,116):(m&36864)===36864&&s(e,115)),(m&20480)===20480&&s(e,100),u&2099200&&m===241773&&s(e,30),m===241739&&t&24&&s(e,98),u&4196352&&m===209008&&s(e,96),D(e,u),n&&u2(e,u,n,c,t,i),y(e,u,o,l,f,{type:"Identifier",name:c})}function ae(e,u,n,t,i,o){if(D(e,u),e.token===8456259)return y(e,u,t,i,o,{type:"JSXFragment",openingFragment:Hu(e,u,t,i,o),children:Te(e,u),closingFragment:Ku(e,u,n,e.tokenPos,e.linePos,e.colPos)});let l=null,f=[],c=_u(e,u,n,t,i,o);if(!c.selfClosing){f=Te(e,u),l=zu(e,u,n,e.tokenPos,e.linePos,e.colPos);let m=U2(l.name);U2(c.name)!==m&&s(e,150,m)}return y(e,u,t,i,o,{type:"JSXElement",children:f,openingElement:c,closingElement:l})}function Hu(e,u,n,t,i){return d2(e,u),y(e,u,n,t,i,{type:"JSXOpeningFragment"})}function zu(e,u,n,t,i,o){P(e,u,25);let l=t1(e,u,e.tokenPos,e.linePos,e.colPos);return n?P(e,u,8456259):e.token=d2(e,u),y(e,u,t,i,o,{type:"JSXClosingElement",name:l})}function Ku(e,u,n,t,i,o){return P(e,u,25),P(e,u,8456259),y(e,u,t,i,o,{type:"JSXClosingFragment"})}function Te(e,u){let n=[];for(;e.token!==25;)e.index=e.tokenPos=e.startPos,e.column=e.colPos=e.startColumn,e.line=e.linePos=e.startLine,d2(e,u),n.push($u(e,u,e.tokenPos,e.linePos,e.colPos));return n}function $u(e,u,n,t,i){if(e.token===138)return Wu(e,u,n,t,i);if(e.token===2162700)return l1(e,u,0,0,n,t,i);if(e.token===8456258)return ae(e,u,0,n,t,i);s(e,0)}function Wu(e,u,n,t,i){d2(e,u);let o={type:"JSXText",value:e.tokenValue};return u&512&&(o.raw=e.tokenRaw),y(e,u,n,t,i,o)}function _u(e,u,n,t,i,o){(e.token&143360)!==143360&&(e.token&4096)!==4096&&s(e,0);let l=t1(e,u,e.tokenPos,e.linePos,e.colPos),f=Qu(e,u),c=e.token===8457016;return e.token===8456259?d2(e,u):(P(e,u,8457016),n?P(e,u,8456259):d2(e,u)),y(e,u,t,i,o,{type:"JSXOpeningElement",name:l,attributes:f,selfClosing:c})}function t1(e,u,n,t,i){Y2(e);let o=$2(e,u,n,t,i);if(e.token===21)return o1(e,u,o,n,t,i);for(;q(e,u,67108877);)Y2(e),o=Yu(e,u,o,n,t,i);return o}function Yu(e,u,n,t,i,o){let l=$2(e,u,e.tokenPos,e.linePos,e.colPos);return y(e,u,t,i,o,{type:"JSXMemberExpression",object:n,property:l})}function Qu(e,u){let n=[];for(;e.token!==8457016&&e.token!==8456259&&e.token!==1048576;)n.push(ru(e,u,e.tokenPos,e.linePos,e.colPos));return n}function Zu(e,u,n,t,i){D(e,u),P(e,u,14);let o=R(e,u,1,0,e.tokenPos,e.linePos,e.colPos);return P(e,u,1074790415),y(e,u,n,t,i,{type:"JSXSpreadAttribute",argument:o})}function ru(e,u,n,t,i){if(e.token===2162700)return Zu(e,u,n,t,i);Y2(e);let o=null,l=$2(e,u,n,t,i);if(e.token===21&&(l=o1(e,u,l,n,t,i)),e.token===1077936157){let f=z1(e,u),{tokenPos:c,linePos:m,colPos:g}=e;switch(f){case 134283267:o=X(e,u);break;case 8456258:o=ae(e,u,1,c,m,g);break;case 2162700:o=l1(e,u,1,1,c,m,g);break;default:s(e,149)}}return y(e,u,n,t,i,{type:"JSXAttribute",value:o,name:l})}function o1(e,u,n,t,i,o){P(e,u,21);let l=$2(e,u,e.tokenPos,e.linePos,e.colPos);return y(e,u,t,i,o,{type:"JSXNamespacedName",namespace:n,name:l})}function l1(e,u,n,t,i,o,l){D(e,u|32768);let{tokenPos:f,linePos:c,colPos:m}=e;if(e.token===14)return Gu(e,u,i,o,l);let g=null;return e.token===1074790415?(t&&s(e,152),g=xu(e,u,e.startPos,e.startLine,e.startColumn)):g=R(e,u,1,0,f,c,m),n?P(e,u,1074790415):d2(e,u),y(e,u,i,o,l,{type:"JSXExpressionContainer",expression:g})}function Gu(e,u,n,t,i){P(e,u,14);let o=R(e,u,1,0,e.tokenPos,e.linePos,e.colPos);return P(e,u,1074790415),y(e,u,n,t,i,{type:"JSXSpreadChild",expression:o})}function xu(e,u,n,t,i){return e.startPos=e.tokenPos,e.startLine=e.linePos,e.startColumn=e.colPos,y(e,u,n,t,i,{type:"JSXEmptyExpression"})}function $2(e,u,n,t,i){let{tokenValue:o}=e;return D(e,u),y(e,u,n,t,i,{type:"JSXIdentifier",name:o})}function f1(e,u){return r1(e,u,0)}function pu(e,u){let n=new SyntaxError(e+" ("+u.loc.start.line+":"+u.loc.start.column+")");return Object.assign(n,u)}var c1=pu;function e0(e){let u=[];for(let n of e)try{return n()}catch(t){u.push(t)}throw Object.assign(new Error("All combinations failed"),{errors:u})}var d1=e0;var u0=(e,u,n)=>{if(!(e&&u==null))return Array.isArray(u)||typeof u=="string"?u[n<0?u.length+n:n]:u.at(n)},me=u0;function n0(e){return Array.isArray(e)&&e.length>0}var s1=n0;function $(e){var t,i,o;let u=((t=e.range)==null?void 0:t[0])??e.start,n=(o=((i=e.declaration)==null?void 0:i.decorators)??e.decorators)==null?void 0:o[0];return n?Math.min($(n),u):u}function e2(e){var u;return((u=e.range)==null?void 0:u[1])??e.end}function i0(e){let u=new Set(e);return n=>u.has(n==null?void 0:n.type)}var a1=i0;var t0=a1(["Block","CommentBlock","MultiLine"]),v2=t0;function o0(e){let u=`*${e.value}*`.split(` +`);return u.length>1&&u.every(n=>n.trimStart()[0]==="*")}var ge=o0;function l0(e){return v2(e)&&e.value[0]==="*"&&/@(?:type|satisfies)\b/u.test(e.value)}var m1=l0;var T2=null;function F2(e){if(T2!==null&&typeof T2.property){let u=T2;return T2=F2.prototype=null,u}return T2=F2.prototype=e??Object.create(null),new F2}var f0=10;for(let e=0;e<=f0;e++)F2();function ye(e){return F2(e)}function c0(e,u="type"){ye(e);function n(t){let i=t[u],o=e[i];if(!Array.isArray(o))throw Object.assign(new Error(`Missing visitor keys for '${i}'.`),{node:t});return o}return n}var g1=c0;var y1={ArrayExpression:["elements"],AssignmentExpression:["left","right"],BinaryExpression:["left","right"],InterpreterDirective:[],Directive:["value"],DirectiveLiteral:[],BlockStatement:["directives","body"],BreakStatement:["label"],CallExpression:["callee","arguments","typeParameters","typeArguments"],CatchClause:["param","body"],ConditionalExpression:["test","consequent","alternate"],ContinueStatement:["label"],DebuggerStatement:[],DoWhileStatement:["test","body"],EmptyStatement:[],ExpressionStatement:["expression"],File:["program"],ForInStatement:["left","right","body"],ForStatement:["init","test","update","body"],FunctionDeclaration:["id","params","body","returnType","typeParameters","predicate"],FunctionExpression:["id","params","body","returnType","typeParameters"],Identifier:["typeAnnotation","decorators"],IfStatement:["test","consequent","alternate"],LabeledStatement:["label","body"],StringLiteral:[],NumericLiteral:[],NullLiteral:[],BooleanLiteral:[],RegExpLiteral:[],LogicalExpression:["left","right"],MemberExpression:["object","property"],NewExpression:["callee","arguments","typeParameters","typeArguments"],Program:["directives","body"],ObjectExpression:["properties"],ObjectMethod:["key","params","body","decorators","returnType","typeParameters"],ObjectProperty:["key","value","decorators"],RestElement:["argument","typeAnnotation","decorators"],ReturnStatement:["argument"],SequenceExpression:["expressions"],ParenthesizedExpression:["expression"],SwitchCase:["test","consequent"],SwitchStatement:["discriminant","cases"],ThisExpression:[],ThrowStatement:["argument"],TryStatement:["block","handler","finalizer"],UnaryExpression:["argument"],UpdateExpression:["argument"],VariableDeclaration:["declarations"],VariableDeclarator:["id","init"],WhileStatement:["test","body"],WithStatement:["object","body"],AssignmentPattern:["left","right","decorators","typeAnnotation"],ArrayPattern:["elements","typeAnnotation","decorators"],ArrowFunctionExpression:["params","body","returnType","typeParameters","predicate"],ClassBody:["body"],ClassExpression:["id","body","superClass","mixins","typeParameters","superTypeParameters","implements","decorators","superTypeArguments"],ClassDeclaration:["id","body","superClass","mixins","typeParameters","superTypeParameters","implements","decorators","superTypeArguments"],ExportAllDeclaration:["source","attributes","exported"],ExportDefaultDeclaration:["declaration"],ExportNamedDeclaration:["declaration","specifiers","source","attributes"],ExportSpecifier:["local","exported"],ForOfStatement:["left","right","body"],ImportDeclaration:["specifiers","source","attributes"],ImportDefaultSpecifier:["local"],ImportNamespaceSpecifier:["local"],ImportSpecifier:["local","imported"],ImportExpression:["source","options","attributes"],MetaProperty:["meta","property"],ClassMethod:["key","params","body","decorators","returnType","typeParameters"],ObjectPattern:["properties","typeAnnotation","decorators"],SpreadElement:["argument"],Super:[],TaggedTemplateExpression:["tag","quasi","typeParameters","typeArguments"],TemplateElement:[],TemplateLiteral:["quasis","expressions"],YieldExpression:["argument"],AwaitExpression:["argument"],Import:[],BigIntLiteral:[],ExportNamespaceSpecifier:["exported"],OptionalMemberExpression:["object","property"],OptionalCallExpression:["callee","arguments","typeParameters","typeArguments"],ClassProperty:["key","value","typeAnnotation","decorators","variance"],ClassAccessorProperty:["key","value","typeAnnotation","decorators"],ClassPrivateProperty:["key","value","decorators","typeAnnotation","variance"],ClassPrivateMethod:["key","params","body","decorators","returnType","typeParameters"],PrivateName:["id"],StaticBlock:["body"],AnyTypeAnnotation:[],ArrayTypeAnnotation:["elementType"],BooleanTypeAnnotation:[],BooleanLiteralTypeAnnotation:[],NullLiteralTypeAnnotation:[],ClassImplements:["id","typeParameters"],DeclareClass:["id","typeParameters","extends","mixins","implements","body"],DeclareFunction:["id","predicate"],DeclareInterface:["id","typeParameters","extends","body"],DeclareModule:["id","body"],DeclareModuleExports:["typeAnnotation"],DeclareTypeAlias:["id","typeParameters","right"],DeclareOpaqueType:["id","typeParameters","supertype"],DeclareVariable:["id"],DeclareExportDeclaration:["declaration","specifiers","source"],DeclareExportAllDeclaration:["source"],DeclaredPredicate:["value"],ExistsTypeAnnotation:[],FunctionTypeAnnotation:["typeParameters","params","rest","returnType","this"],FunctionTypeParam:["name","typeAnnotation"],GenericTypeAnnotation:["id","typeParameters"],InferredPredicate:[],InterfaceExtends:["id","typeParameters"],InterfaceDeclaration:["id","typeParameters","extends","body"],InterfaceTypeAnnotation:["extends","body"],IntersectionTypeAnnotation:["types"],MixedTypeAnnotation:[],EmptyTypeAnnotation:[],NullableTypeAnnotation:["typeAnnotation"],NumberLiteralTypeAnnotation:[],NumberTypeAnnotation:[],ObjectTypeAnnotation:["properties","indexers","callProperties","internalSlots"],ObjectTypeInternalSlot:["id","value"],ObjectTypeCallProperty:["value"],ObjectTypeIndexer:["id","key","value","variance"],ObjectTypeProperty:["key","value","variance"],ObjectTypeSpreadProperty:["argument"],OpaqueType:["id","typeParameters","supertype","impltype"],QualifiedTypeIdentifier:["id","qualification"],StringLiteralTypeAnnotation:[],StringTypeAnnotation:[],SymbolTypeAnnotation:[],ThisTypeAnnotation:[],TupleTypeAnnotation:["types","elementTypes"],TypeofTypeAnnotation:["argument","typeArguments"],TypeAlias:["id","typeParameters","right"],TypeAnnotation:["typeAnnotation"],TypeCastExpression:["expression","typeAnnotation"],TypeParameter:["bound","default","variance"],TypeParameterDeclaration:["params"],TypeParameterInstantiation:["params"],UnionTypeAnnotation:["types"],Variance:[],VoidTypeAnnotation:[],EnumDeclaration:["id","body"],EnumBooleanBody:["members"],EnumNumberBody:["members"],EnumStringBody:["members"],EnumSymbolBody:["members"],EnumBooleanMember:["id","init"],EnumNumberMember:["id","init"],EnumStringMember:["id","init"],EnumDefaultedMember:["id"],IndexedAccessType:["objectType","indexType"],OptionalIndexedAccessType:["objectType","indexType"],JSXAttribute:["name","value"],JSXClosingElement:["name"],JSXElement:["openingElement","children","closingElement"],JSXEmptyExpression:[],JSXExpressionContainer:["expression"],JSXSpreadChild:["expression"],JSXIdentifier:[],JSXMemberExpression:["object","property"],JSXNamespacedName:["namespace","name"],JSXOpeningElement:["name","attributes","typeArguments","typeParameters"],JSXSpreadAttribute:["argument"],JSXText:[],JSXFragment:["openingFragment","children","closingFragment"],JSXOpeningFragment:[],JSXClosingFragment:[],Noop:[],Placeholder:[],V8IntrinsicIdentifier:[],ArgumentPlaceholder:[],BindExpression:["object","callee"],ImportAttribute:["key","value"],Decorator:["expression"],DoExpression:["body"],ExportDefaultSpecifier:["exported"],RecordExpression:["properties"],TupleExpression:["elements"],DecimalLiteral:[],ModuleExpression:["body"],TopicReference:[],PipelineTopicExpression:["expression"],PipelineBareFunction:["callee"],PipelinePrimaryTopicReference:[],TSParameterProperty:["parameter","decorators"],TSDeclareFunction:["id","typeParameters","params","returnType","body"],TSDeclareMethod:["decorators","key","typeParameters","params","returnType"],TSQualifiedName:["left","right"],TSCallSignatureDeclaration:["typeParameters","parameters","typeAnnotation","params","returnType"],TSConstructSignatureDeclaration:["typeParameters","parameters","typeAnnotation","params","returnType"],TSPropertySignature:["key","typeAnnotation"],TSMethodSignature:["key","typeParameters","parameters","typeAnnotation","params","returnType"],TSIndexSignature:["parameters","typeAnnotation"],TSAnyKeyword:[],TSBooleanKeyword:[],TSBigIntKeyword:[],TSIntrinsicKeyword:[],TSNeverKeyword:[],TSNullKeyword:[],TSNumberKeyword:[],TSObjectKeyword:[],TSStringKeyword:[],TSSymbolKeyword:[],TSUndefinedKeyword:[],TSUnknownKeyword:[],TSVoidKeyword:[],TSThisType:[],TSFunctionType:["typeParameters","parameters","typeAnnotation","params","returnType"],TSConstructorType:["typeParameters","parameters","typeAnnotation","params","returnType"],TSTypeReference:["typeName","typeParameters","typeArguments"],TSTypePredicate:["parameterName","typeAnnotation"],TSTypeQuery:["exprName","typeParameters","typeArguments"],TSTypeLiteral:["members"],TSArrayType:["elementType"],TSTupleType:["elementTypes"],TSOptionalType:["typeAnnotation"],TSRestType:["typeAnnotation"],TSNamedTupleMember:["label","elementType"],TSUnionType:["types"],TSIntersectionType:["types"],TSConditionalType:["checkType","extendsType","trueType","falseType"],TSInferType:["typeParameter"],TSParenthesizedType:["typeAnnotation"],TSTypeOperator:["typeAnnotation"],TSIndexedAccessType:["objectType","indexType"],TSMappedType:["typeParameter","typeAnnotation","nameType"],TSLiteralType:["literal"],TSExpressionWithTypeArguments:["expression","typeParameters"],TSInterfaceDeclaration:["id","typeParameters","extends","body"],TSInterfaceBody:["body"],TSTypeAliasDeclaration:["id","typeParameters","typeAnnotation"],TSInstantiationExpression:["expression","typeParameters","typeArguments"],TSAsExpression:["expression","typeAnnotation"],TSSatisfiesExpression:["expression","typeAnnotation"],TSTypeAssertion:["typeAnnotation","expression"],TSEnumDeclaration:["id","members"],TSEnumMember:["id","initializer"],TSModuleDeclaration:["id","body"],TSModuleBlock:["body"],TSImportType:["argument","qualifier","typeParameters","typeArguments"],TSImportEqualsDeclaration:["id","moduleReference"],TSExternalModuleReference:["expression"],TSNonNullExpression:["expression"],TSExportAssignment:["expression"],TSNamespaceExportDeclaration:["id"],TSTypeAnnotation:["typeAnnotation"],TSTypeParameterInstantiation:["params"],TSTypeParameterDeclaration:["params"],TSTypeParameter:["constraint","default","name"],ChainExpression:["expression"],ExperimentalRestProperty:["argument"],ExperimentalSpreadProperty:["argument"],Literal:[],MethodDefinition:["decorators","key","value"],PrivateIdentifier:[],Property:["key","value"],PropertyDefinition:["decorators","key","typeAnnotation","value","variance"],AccessorProperty:["decorators","key","typeAnnotation","value"],TSAbstractAccessorProperty:["decorators","key","typeAnnotation"],TSAbstractKeyword:[],TSAbstractMethodDefinition:["key","value"],TSAbstractPropertyDefinition:["decorators","key","typeAnnotation"],TSAsyncKeyword:[],TSClassImplements:["expression","typeArguments","typeParameters"],TSDeclareKeyword:[],TSEmptyBodyFunctionExpression:["id","typeParameters","params","returnType"],TSEnumBody:["members"],TSExportKeyword:[],TSInterfaceHeritage:["expression","typeArguments","typeParameters"],TSPrivateKeyword:[],TSProtectedKeyword:[],TSPublicKeyword:[],TSReadonlyKeyword:[],TSStaticKeyword:[],TSTemplateLiteralType:["quasis","types"],AsConstExpression:["expression"],AsExpression:["expression","typeAnnotation"],BigIntLiteralTypeAnnotation:[],BigIntTypeAnnotation:[],ComponentDeclaration:["id","params","body","typeParameters","rendersType"],ComponentParameter:["name","local"],ComponentTypeAnnotation:["params","rest","typeParameters","rendersType"],ComponentTypeParameter:["name","typeAnnotation"],ConditionalTypeAnnotation:["checkType","extendsType","trueType","falseType"],DeclareComponent:["id","params","rest","typeParameters","rendersType"],DeclareEnum:["id","body"],DeclareHook:["id"],DeclareNamespace:["id","body"],EnumBigIntBody:["members"],EnumBigIntMember:["id","init"],HookDeclaration:["id","params","body","typeParameters","returnType"],HookTypeAnnotation:["params","returnType","rest","typeParameters"],InferTypeAnnotation:["typeParameter"],KeyofTypeAnnotation:["argument"],ObjectTypeMappedTypeProperty:["keyTparam","propType","sourceType","variance"],QualifiedTypeofIdentifier:["qualification","id"],TupleTypeLabeledElement:["label","elementType","variance"],TupleTypeSpreadElement:["label","typeAnnotation"],TypeOperator:["typeAnnotation"],TypePredicate:["parameterName","typeAnnotation","asserts"],NGRoot:["node"],NGPipeExpression:["left","right","arguments"],NGChainedExpression:["expressions"],NGEmptyExpression:[],NGMicrosyntax:["body"],NGMicrosyntaxKey:[],NGMicrosyntaxExpression:["expression","alias"],NGMicrosyntaxKeyedExpression:["key","expression"],NGMicrosyntaxLet:["key","value"],NGMicrosyntaxAs:["key","alias"],JsExpressionRoot:["node"],JsonRoot:["node"],TSJSDocAllType:[],TSJSDocUnknownType:[],TSJSDocNullableType:["typeAnnotation"],TSJSDocNonNullableType:["typeAnnotation"],NeverTypeAnnotation:[],UndefinedTypeAnnotation:[],UnknownTypeAnnotation:[],SatisfiesExpression:["expression","typeAnnotation"]};var d0=g1(y1),k1=d0;function ke(e,u){if(!(e!==null&&typeof e=="object"))return e;if(Array.isArray(e)){for(let t=0;t{var l;(l=o.leadingComments)!=null&&l.some(m1)&&i.add($(o))}),e=W2(e,o=>{if(o.type==="ParenthesizedExpression"){let{expression:l}=o;if(l.type==="TypeCastExpression")return l.range=[...o.range],l;let f=$(o);if(!i.has(f))return l.extra={...l.extra,parenthesized:!0},l}})}if(e=W2(e,i=>{var o;switch(i.type){case"LogicalExpression":if(A1(i))return Ae(i);break;case"VariableDeclaration":{let l=me(!1,i.declarations,-1);l!=null&&l.init&&t[e2(l)]!==";"&&(i.range=[$(i),e2(l)]);break}case"TSParenthesizedType":return i.typeAnnotation;case"TSTypeParameter":if(typeof i.name=="string"){let l=$(i);i.name={type:"Identifier",name:i.name,range:[l,l+i.name.length]}}break;case"TopicReference":e.extra={...e.extra,__isUsingHackPipeline:!0};break;case"ExportAllDeclaration":if(n==="meriyah"&&((o=i.exported)==null?void 0:o.type)==="Identifier"){let{exported:l}=i,f=t.slice($(l),e2(l));(f.startsWith('"')||f.startsWith("'"))&&(i.exported={...i.exported,type:"Literal",value:i.exported.name,raw:f})}break;case"TSUnionType":case"TSIntersectionType":if(i.types.length===1)return i.types[0];break}}),s1(e.comments)){let i=me(!1,e.comments,-1);for(let o=e.comments.length-2;o>=0;o--){let l=e.comments[o];e2(l)===$(i)&&v2(l)&&v2(i)&&ge(l)&&ge(i)&&(e.comments.splice(o+1,1),l.value+="*//*"+i.value,l.range=[$(l),e2(i)]),i=l}}return e.type==="Program"&&(e.range=[0,t.length]),e}function A1(e){return e.type==="LogicalExpression"&&e.right.type==="LogicalExpression"&&e.operator===e.right.operator}function Ae(e){return A1(e)?Ae({type:"LogicalExpression",operator:e.operator,left:Ae({type:"LogicalExpression",operator:e.operator,left:e.left,right:e.right.left,range:[$(e.left),e2(e.right.left)]}),right:e.right.right,range:[$(e),e2(e)]}):e}var h1=s0;var a0=(e,u,n,t)=>{if(!(e&&u==null))return u.replaceAll?u.replaceAll(n,t):n.global?u.replace(n,t):u.split(n).join(t)},b2=a0;var m0=/\*\/$/,g0=/^\/\*\*?/,y0=/^\s*(\/\*\*?(.|\r?\n)*?\*\/)/,k0=/(^|\s+)\/\/([^\n\r]*)/g,D1=/^(\r?\n)+/,A0=/(?:^|\r?\n) *(@[^\n\r]*?) *\r?\n *(?![^\n\r@]*\/\/[^]*)([^\s@][^\n\r@]+?) *\r?\n/g,b1=/(?:^|\r?\n) *@(\S+) *([^\n\r]*)/g,h0=/(\r?\n|^) *\* ?/g,D0=[];function C1(e){let u=e.match(y0);return u?u[0].trimStart():""}function P1(e){let u=` +`;e=b2(!1,e.replace(g0,"").replace(m0,""),h0,"$1");let n="";for(;n!==e;)n=e,e=b2(!1,e,A0,`${u}$1 $2${u}`);e=e.replace(D1,"").trimEnd();let t=Object.create(null),i=b2(!1,e,b1,"").replace(D1,"").trimEnd(),o;for(;o=b1.exec(e);){let l=b2(!1,o[2],k0,"");if(typeof t[o[1]]=="string"||Array.isArray(t[o[1]])){let f=t[o[1]];t[o[1]]=[...D0,...Array.isArray(f)?f:[f],l]}else t[o[1]]=l}return{comments:i,pragmas:t}}function b0(e){if(!e.startsWith("#!"))return"";let u=e.indexOf(` +`);return u===-1?e:e.slice(0,u)}var E1=b0;function C0(e){let u=E1(e);u&&(e=e.slice(u.length+1));let n=C1(e),{pragmas:t,comments:i}=P1(n);return{shebang:u,text:e,pragmas:t,comments:i}}function w1(e){let{pragmas:u}=C0(e);return Object.prototype.hasOwnProperty.call(u,"prettier")||Object.prototype.hasOwnProperty.call(u,"format")}function P0(e){return e=typeof e=="function"?{parse:e}:e,{astFormat:"estree",hasPragma:w1,locStart:$,locEnd:e2,...e}}var S1=P0;function E0(e){let{filepath:u}=e;if(u){if(u=u.toLowerCase(),u.endsWith(".cjs"))return"script";if(u.endsWith(".mjs"))return"module"}}var B1=E0;var w0={next:!0,ranges:!0,webcompat:!0,loc:!0,raw:!0,directives:!0,globalReturn:!0,impliedStrict:!1,preserveParens:!1,lexical:!1,jsx:!0,uniqueKeyInPattern:!1};function S0(e,u){let n=[],t=[],i=f1(e,{...w0,module:u==="module",onComment:n,onToken:t});return i.comments=n,i.tokens=t,i}function B0(e){var o;let{message:u,line:n,column:t}=e,i=(o=u.match(/^\[(?\d+):(?\d+)\]: (?.*)$/u))==null?void 0:o.groups;return i&&(u=i.message,typeof n!="number"&&(n=Number(i.line),t=Number(i.column))),typeof n!="number"?e:c1(u,{loc:{start:{line:n,column:t}},cause:e})}function v0(e,u={}){let n=B1(u),t=(n?[n]:["module","script"]).map(o=>()=>S0(e,o)),i;try{i=d1(t)}catch({errors:[o]}){throw B0(o)}return h1(i,{parser:"meriyah",text:e})}var T0=S1(v0);var Fn=De;export{Fn as default,he as parsers}; diff --git a/node_modules/prettier/plugins/postcss.js b/node_modules/prettier/plugins/postcss.js index d7471881ee..edb120fbd9 100644 --- a/node_modules/prettier/plugins/postcss.js +++ b/node_modules/prettier/plugins/postcss.js @@ -1,52 +1,52 @@ -(function(f){function e(){var i=f();return i.default||i}if(typeof exports=="object"&&typeof module=="object")module.exports=e();else if(typeof define=="function"&&define.amd)define(e);else{var t=typeof globalThis<"u"?globalThis:typeof global<"u"?global:typeof self<"u"?self:this||{};t.prettierPlugins=t.prettierPlugins||{},t.prettierPlugins.postcss=e()}})(function(){"use strict";var Vl=Object.create;var Et=Object.defineProperty;var Yl=Object.getOwnPropertyDescriptor;var Gl=Object.getOwnPropertyNames;var Kl=Object.getPrototypeOf,Hl=Object.prototype.hasOwnProperty;var y=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports),Cs=(t,e)=>{for(var n in e)Et(t,n,{get:e[n],enumerable:!0})},Os=(t,e,n,r)=>{if(e&&typeof e=="object"||typeof e=="function")for(let s of Gl(e))!Hl.call(t,s)&&s!==n&&Et(t,s,{get:()=>e[s],enumerable:!(r=Yl(e,s))||r.enumerable});return t};var ue=(t,e,n)=>(n=t!=null?Vl(Kl(t)):{},Os(e||!t||!t.__esModule?Et(n,"default",{value:t,enumerable:!0}):n,t)),Ql=t=>Os(Et({},"__esModule",{value:!0}),t);var Qs=y(pe=>{"use strict";Object.defineProperty(pe,"__esModule",{value:!0});pe.extract=gc;pe.parse=vc;pe.parseWithComments=Hs;pe.print=xc;pe.strip=wc;var pc=/\*\/$/,hc=/^\/\*\*?/,Gs=/^\s*(\/\*\*?(.|\r?\n)*?\*\/)/,dc=/(^|\s+)\/\/([^\r\n]*)/g,zs=/^(\r?\n)+/,mc=/(?:^|\r?\n) *(@[^\r\n]*?) *\r?\n *(?![^@\r\n]*\/\/[^]*)([^@\r\n\s][^@\r\n]+?) *\r?\n/g,Vs=/(?:^|\r?\n) *@(\S+) *([^\r\n]*)/g,yc=/(\r?\n|^) *\* ?/g,Ks=[];function gc(t){let e=t.match(Gs);return e?e[0].trimLeft():""}function wc(t){let e=t.match(Gs);return e&&e[0]?t.substring(e[0].length):t}function vc(t){return Hs(t).pragmas}function Hs(t){let e=` -`;t=t.replace(hc,"").replace(pc,"").replace(yc,"$1");let n="";for(;n!==t;)n=t,t=t.replace(mc,`${e}$1 $2${e}`);t=t.replace(zs,"").trimRight();let r=Object.create(null),s=t.replace(Vs,"").replace(zs,"").trimRight(),i;for(;i=Vs.exec(t);){let o=i[2].replace(dc,"");typeof r[i[1]]=="string"||Array.isArray(r[i[1]])?r[i[1]]=Ks.concat(r[i[1]],o):r[i[1]]=o}return{comments:s,pragmas:r}}function xc({comments:t="",pragmas:e={}}){let n=` -`,r="/**",s=" *",i=" */",o=Object.keys(e),a=o.map(c=>Ys(c,e[c])).reduce((c,f)=>c.concat(f),[]).map(c=>`${s} ${c}${n}`).join("");if(!t){if(o.length===0)return"";if(o.length===1&&!Array.isArray(e[o[0]])){let c=e[o[0]];return`${r} ${Ys(o[0],c)[0]}${i}`}}let u=t.split(n).map(c=>`${s} ${c}`).join(n)+n;return r+n+(t?u:"")+(t&&o.length?s+n:"")+a+i}function Ys(t,e){return Ks.concat(e).map(n=>`@${t} ${n}`.trim())}});var Vt=y((mx,wn)=>{"use strict";wn.exports.isClean=Symbol("isClean");wn.exports.my=Symbol("my")});var Ui=y((yx,vn)=>{var E=String,$i=function(){return{isColorSupported:!1,reset:E,bold:E,dim:E,italic:E,underline:E,inverse:E,hidden:E,strikethrough:E,black:E,red:E,green:E,yellow:E,blue:E,magenta:E,cyan:E,white:E,gray:E,bgBlack:E,bgRed:E,bgGreen:E,bgYellow:E,bgBlue:E,bgMagenta:E,bgCyan:E,bgWhite:E}};vn.exports=$i();vn.exports.createColors=$i});var xn=y(()=>{});var Yt=y((vx,Vi)=>{"use strict";var Wi=Ui(),zi=xn(),st=class t extends Error{constructor(e,n,r,s,i,o){super(e),this.name="CssSyntaxError",this.reason=e,i&&(this.file=i),s&&(this.source=s),o&&(this.plugin=o),typeof n<"u"&&typeof r<"u"&&(typeof n=="number"?(this.line=n,this.column=r):(this.line=n.line,this.column=n.column,this.endLine=r.line,this.endColumn=r.column)),this.setMessage(),Error.captureStackTrace&&Error.captureStackTrace(this,t)}setMessage(){this.message=this.plugin?this.plugin+": ":"",this.message+=this.file?this.file:"",typeof this.line<"u"&&(this.message+=":"+this.line+":"+this.column),this.message+=": "+this.reason}showSourceCode(e){if(!this.source)return"";let n=this.source;e==null&&(e=Wi.isColorSupported),zi&&e&&(n=zi(n));let r=n.split(/\r?\n/),s=Math.max(this.line-3,0),i=Math.min(this.line+2,r.length),o=String(i).length,a,u;if(e){let{bold:c,red:f,gray:p}=Wi.createColors(!0);a=l=>c(f(l)),u=l=>p(l)}else a=u=c=>c;return r.slice(s,i).map((c,f)=>{let p=s+1+f,l=" "+(" "+p).slice(-o)+" | ";if(p===this.line){let g=u(l.replace(/\d/g," "))+c.slice(0,this.column-1).replace(/[^\t]/g," ");return a(">")+u(l)+c+` - `+g+a("^")}return" "+u(l)+c}).join(` +(function(f){function e(){var i=f();return i.default||i}if(typeof exports=="object"&&typeof module=="object")module.exports=e();else if(typeof define=="function"&&define.amd)define(e);else{var t=typeof globalThis<"u"?globalThis:typeof global<"u"?global:typeof self<"u"?self:this||{};t.prettierPlugins=t.prettierPlugins||{},t.prettierPlugins.postcss=e()}})(function(){"use strict";var al=Object.create;var bt=Object.defineProperty;var ul=Object.getOwnPropertyDescriptor;var ll=Object.getOwnPropertyNames;var cl=Object.getPrototypeOf,fl=Object.prototype.hasOwnProperty;var y=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports),Js=(t,e)=>{for(var s in e)bt(t,s,{get:e[s],enumerable:!0})},Xs=(t,e,s,r)=>{if(e&&typeof e=="object"||typeof e=="function")for(let n of ll(e))!fl.call(t,n)&&n!==s&&bt(t,n,{get:()=>e[n],enumerable:!(r=ul(e,n))||r.enumerable});return t};var ye=(t,e,s)=>(s=t!=null?al(cl(t)):{},Xs(e||!t||!t.__esModule?bt(s,"default",{value:t,enumerable:!0}):s,t)),pl=t=>Xs(bt({},"__esModule",{value:!0}),t);var Ft=y((rv,ts)=>{"use strict";ts.exports.isClean=Symbol("isClean");ts.exports.my=Symbol("my")});var yi=y((sv,rs)=>{var S=String,mi=function(){return{isColorSupported:!1,reset:S,bold:S,dim:S,italic:S,underline:S,inverse:S,hidden:S,strikethrough:S,black:S,red:S,green:S,yellow:S,blue:S,magenta:S,cyan:S,white:S,gray:S,bgBlack:S,bgRed:S,bgGreen:S,bgYellow:S,bgBlue:S,bgMagenta:S,bgCyan:S,bgWhite:S}};rs.exports=mi();rs.exports.createColors=mi});var ss=y(()=>{});var $t=y((ov,vi)=>{"use strict";var wi=yi(),gi=ss(),st=class t extends Error{constructor(e,s,r,n,i,o){super(e),this.name="CssSyntaxError",this.reason=e,i&&(this.file=i),n&&(this.source=n),o&&(this.plugin=o),typeof s<"u"&&typeof r<"u"&&(typeof s=="number"?(this.line=s,this.column=r):(this.line=s.line,this.column=s.column,this.endLine=r.line,this.endColumn=r.column)),this.setMessage(),Error.captureStackTrace&&Error.captureStackTrace(this,t)}setMessage(){this.message=this.plugin?this.plugin+": ":"",this.message+=this.file?this.file:"",typeof this.line<"u"&&(this.message+=":"+this.line+":"+this.column),this.message+=": "+this.reason}showSourceCode(e){if(!this.source)return"";let s=this.source;e==null&&(e=wi.isColorSupported),gi&&e&&(s=gi(s));let r=s.split(/\r?\n/),n=Math.max(this.line-3,0),i=Math.min(this.line+2,r.length),o=String(i).length,a,u;if(e){let{bold:c,gray:f,red:p}=wi.createColors(!0);a=l=>c(p(l)),u=l=>f(l)}else a=u=c=>c;return r.slice(n,i).map((c,f)=>{let p=n+1+f,l=" "+(" "+p).slice(-o)+" | ";if(p===this.line){let w=u(l.replace(/\d/g," "))+c.slice(0,this.column-1).replace(/[^\t]/g," ");return a(">")+u(l)+c+` + `+w+a("^")}return" "+u(l)+c}).join(` `)}toString(){let e=this.showSourceCode();return e&&(e=` `+e+` -`),this.name+": "+this.message+e}};Vi.exports=st;st.default=st});var Gt=y((xx,Gi)=>{"use strict";var Yi={colon:": ",indent:" ",beforeDecl:` -`,beforeRule:` -`,beforeOpen:" ",beforeClose:` +`),this.name+": "+this.message+e}};vi.exports=st;st.default=st});var Wt=y((av,bi)=>{"use strict";var xi={after:` +`,beforeClose:` `,beforeComment:` -`,after:` -`,emptyBody:"",commentLeft:" ",commentRight:" ",semicolon:!1};function Qc(t){return t[0].toUpperCase()+t.slice(1)}var it=class{constructor(e){this.builder=e}stringify(e,n){if(!this[e.type])throw new Error("Unknown AST node type "+e.type+". Maybe you need to change PostCSS stringifier.");this[e.type](e,n)}document(e){this.body(e)}root(e){this.body(e),e.raws.after&&this.builder(e.raws.after)}comment(e){let n=this.raw(e,"left","commentLeft"),r=this.raw(e,"right","commentRight");this.builder("/*"+n+e.text+r+"*/",e)}decl(e,n){let r=this.raw(e,"between","colon"),s=e.prop+r+this.rawValue(e,"value");e.important&&(s+=e.raws.important||" !important"),n&&(s+=";"),this.builder(s,e)}rule(e){this.block(e,this.rawValue(e,"selector")),e.raws.ownSemicolon&&this.builder(e.raws.ownSemicolon,e,"end")}atrule(e,n){let r="@"+e.name,s=e.params?this.rawValue(e,"params"):"";if(typeof e.raws.afterName<"u"?r+=e.raws.afterName:s&&(r+=" "),e.nodes)this.block(e,r+s);else{let i=(e.raws.between||"")+(n?";":"");this.builder(r+s+i,e)}}body(e){let n=e.nodes.length-1;for(;n>0&&e.nodes[n].type==="comment";)n-=1;let r=this.raw(e,"semicolon");for(let s=0;s{if(s=u.raws[n],typeof s<"u")return!1})}return typeof s>"u"&&(s=Yi[r]),o.rawCache[r]=s,s}rawSemicolon(e){let n;return e.walk(r=>{if(r.nodes&&r.nodes.length&&r.last.type==="decl"&&(n=r.raws.semicolon,typeof n<"u"))return!1}),n}rawEmptyBody(e){let n;return e.walk(r=>{if(r.nodes&&r.nodes.length===0&&(n=r.raws.after,typeof n<"u"))return!1}),n}rawIndent(e){if(e.raws.indent)return e.raws.indent;let n;return e.walk(r=>{let s=r.parent;if(s&&s!==e&&s.parent&&s.parent===e&&typeof r.raws.before<"u"){let i=r.raws.before.split(` -`);return n=i[i.length-1],n=n.replace(/\S/g,""),!1}}),n}rawBeforeComment(e,n){let r;return e.walkComments(s=>{if(typeof s.raws.before<"u")return r=s.raws.before,r.includes(` -`)&&(r=r.replace(/[^\n]+$/,"")),!1}),typeof r>"u"?r=this.raw(n,null,"beforeDecl"):r&&(r=r.replace(/\S/g,"")),r}rawBeforeDecl(e,n){let r;return e.walkDecls(s=>{if(typeof s.raws.before<"u")return r=s.raws.before,r.includes(` -`)&&(r=r.replace(/[^\n]+$/,"")),!1}),typeof r>"u"?r=this.raw(n,null,"beforeRule"):r&&(r=r.replace(/\S/g,"")),r}rawBeforeRule(e){let n;return e.walk(r=>{if(r.nodes&&(r.parent!==e||e.first!==r)&&typeof r.raws.before<"u")return n=r.raws.before,n.includes(` -`)&&(n=n.replace(/[^\n]+$/,"")),!1}),n&&(n=n.replace(/\S/g,"")),n}rawBeforeClose(e){let n;return e.walk(r=>{if(r.nodes&&r.nodes.length>0&&typeof r.raws.after<"u")return n=r.raws.after,n.includes(` -`)&&(n=n.replace(/[^\n]+$/,"")),!1}),n&&(n=n.replace(/\S/g,"")),n}rawBeforeOpen(e){let n;return e.walk(r=>{if(r.type!=="decl"&&(n=r.raws.between,typeof n<"u"))return!1}),n}rawColon(e){let n;return e.walkDecls(r=>{if(typeof r.raws.between<"u")return n=r.raws.between.replace(/[^\s:]/g,""),!1}),n}beforeAfter(e,n){let r;e.type==="decl"?r=this.raw(e,null,"beforeDecl"):e.type==="comment"?r=this.raw(e,null,"beforeComment"):n==="before"?r=this.raw(e,null,"beforeRule"):r=this.raw(e,null,"beforeClose");let s=e.parent,i=0;for(;s&&s.type!=="root";)i+=1,s=s.parent;if(r.includes(` -`)){let o=this.raw(e,null,"indent");if(o.length)for(let a=0;a{"use strict";var jc=Gt();function bn(t,e){new jc(e).stringify(t)}Ki.exports=bn;bn.default=bn});var ut=y((kx,Hi)=>{"use strict";var{isClean:Kt,my:Jc}=Vt(),Xc=Yt(),Zc=Gt(),ef=ot();function kn(t,e){let n=new t.constructor;for(let r in t){if(!Object.prototype.hasOwnProperty.call(t,r)||r==="proxyCache")continue;let s=t[r],i=typeof s;r==="parent"&&i==="object"?e&&(n[r]=e):r==="source"?n[r]=s:Array.isArray(s)?n[r]=s.map(o=>kn(o,n)):(i==="object"&&s!==null&&(s=kn(s)),n[r]=s)}return n}var at=class{constructor(e={}){this.raws={},this[Kt]=!1,this[Jc]=!0;for(let n in e)if(n==="nodes"){this.nodes=[];for(let r of e[n])typeof r.clone=="function"?this.append(r.clone()):this.append(r)}else this[n]=e[n]}error(e,n={}){if(this.source){let{start:r,end:s}=this.rangeBy(n);return this.source.input.error(e,{line:r.line,column:r.column},{line:s.line,column:s.column},n)}return new Xc(e)}warn(e,n,r){let s={node:this};for(let i in r)s[i]=r[i];return e.warn(n,s)}remove(){return this.parent&&this.parent.removeChild(this),this.parent=void 0,this}toString(e=ef){e.stringify&&(e=e.stringify);let n="";return e(this,r=>{n+=r}),n}assign(e={}){for(let n in e)this[n]=e[n];return this}clone(e={}){let n=kn(this);for(let r in e)n[r]=e[r];return n}cloneBefore(e={}){let n=this.clone(e);return this.parent.insertBefore(this,n),n}cloneAfter(e={}){let n=this.clone(e);return this.parent.insertAfter(this,n),n}replaceWith(...e){if(this.parent){let n=this,r=!1;for(let s of e)s===this?r=!0:r?(this.parent.insertAfter(n,s),n=s):this.parent.insertBefore(n,s);r||this.remove()}return this}next(){if(!this.parent)return;let e=this.parent.index(this);return this.parent.nodes[e+1]}prev(){if(!this.parent)return;let e=this.parent.index(this);return this.parent.nodes[e-1]}before(e){return this.parent.insertBefore(this,e),this}after(e){return this.parent.insertAfter(this,e),this}root(){let e=this;for(;e.parent&&e.parent.type!=="document";)e=e.parent;return e}raw(e,n){return new Zc().raw(this,e,n)}cleanRaws(e){delete this.raws.before,delete this.raws.after,e||delete this.raws.between}toJSON(e,n){let r={},s=n==null;n=n||new Map;let i=0;for(let o in this){if(!Object.prototype.hasOwnProperty.call(this,o)||o==="parent"||o==="proxyCache")continue;let a=this[o];if(Array.isArray(a))r[o]=a.map(u=>typeof u=="object"&&u.toJSON?u.toJSON(null,n):u);else if(typeof a=="object"&&a.toJSON)r[o]=a.toJSON(null,n);else if(o==="source"){let u=n.get(a.input);u==null&&(u=i,n.set(a.input,i),i++),r[o]={inputId:u,start:a.start,end:a.end}}else r[o]=a}return s&&(r.inputs=[...n.keys()].map(o=>o.toJSON())),r}positionInside(e){let n=this.toString(),r=this.source.start.column,s=this.source.start.line;for(let i=0;ie.root().toProxy():e[n]}}}toProxy(){return this.proxyCache||(this.proxyCache=new Proxy(this,this.getProxyProcessor())),this.proxyCache}addToError(e){if(e.postcssNode=this,e.stack&&this.source&&/\n\s{4}at /.test(e.stack)){let n=this.source;e.stack=e.stack.replace(/\n\s{4}at /,`$&${n.input.from}:${n.start.line}:${n.start.column}$&`)}return e}markDirty(){if(this[Kt]){this[Kt]=!1;let e=this;for(;e=e.parent;)e[Kt]=!1}}get proxyOf(){return this}};Hi.exports=at;at.default=at});var ct=y((_x,Qi)=>{"use strict";var tf=ut(),lt=class extends tf{constructor(e){e&&typeof e.value<"u"&&typeof e.value!="string"&&(e={...e,value:String(e.value)}),super(e),this.type="decl"}get variable(){return this.prop.startsWith("--")||this.prop[0]==="$"}};Qi.exports=lt;lt.default=lt});var Ae=y((Tx,ji)=>{"use strict";var rf=ut(),ft=class extends rf{constructor(e){super(e),this.type="comment"}};ji.exports=ft;ft.default=ft});var se=y((Ex,io)=>{"use strict";var{isClean:Ji,my:Xi}=Vt(),Zi=ct(),eo=Ae(),nf=ut(),to,_n,Tn,ro;function no(t){return t.map(e=>(e.nodes&&(e.nodes=no(e.nodes)),delete e.source,e))}function so(t){if(t[Ji]=!1,t.proxyOf.nodes)for(let e of t.proxyOf.nodes)so(e)}var z=class t extends nf{push(e){return e.parent=this,this.proxyOf.nodes.push(e),this}each(e){if(!this.proxyOf.nodes)return;let n=this.getIterator(),r,s;for(;this.indexes[n]{let s;try{s=e(n,r)}catch(i){throw n.addToError(i)}return s!==!1&&n.walk&&(s=n.walk(e)),s})}walkDecls(e,n){return n?e instanceof RegExp?this.walk((r,s)=>{if(r.type==="decl"&&e.test(r.prop))return n(r,s)}):this.walk((r,s)=>{if(r.type==="decl"&&r.prop===e)return n(r,s)}):(n=e,this.walk((r,s)=>{if(r.type==="decl")return n(r,s)}))}walkRules(e,n){return n?e instanceof RegExp?this.walk((r,s)=>{if(r.type==="rule"&&e.test(r.selector))return n(r,s)}):this.walk((r,s)=>{if(r.type==="rule"&&r.selector===e)return n(r,s)}):(n=e,this.walk((r,s)=>{if(r.type==="rule")return n(r,s)}))}walkAtRules(e,n){return n?e instanceof RegExp?this.walk((r,s)=>{if(r.type==="atrule"&&e.test(r.name))return n(r,s)}):this.walk((r,s)=>{if(r.type==="atrule"&&r.name===e)return n(r,s)}):(n=e,this.walk((r,s)=>{if(r.type==="atrule")return n(r,s)}))}walkComments(e){return this.walk((n,r)=>{if(n.type==="comment")return e(n,r)})}append(...e){for(let n of e){let r=this.normalize(n,this.last);for(let s of r)this.proxyOf.nodes.push(s)}return this.markDirty(),this}prepend(...e){e=e.reverse();for(let n of e){let r=this.normalize(n,this.first,"prepend").reverse();for(let s of r)this.proxyOf.nodes.unshift(s);for(let s in this.indexes)this.indexes[s]=this.indexes[s]+r.length}return this.markDirty(),this}cleanRaws(e){if(super.cleanRaws(e),this.nodes)for(let n of this.nodes)n.cleanRaws(e)}insertBefore(e,n){let r=this.index(e),s=r===0?"prepend":!1,i=this.normalize(n,this.proxyOf.nodes[r],s).reverse();r=this.index(e);for(let a of i)this.proxyOf.nodes.splice(r,0,a);let o;for(let a in this.indexes)o=this.indexes[a],r<=o&&(this.indexes[a]=o+i.length);return this.markDirty(),this}insertAfter(e,n){let r=this.index(e),s=this.normalize(n,this.proxyOf.nodes[r]).reverse();r=this.index(e);for(let o of s)this.proxyOf.nodes.splice(r+1,0,o);let i;for(let o in this.indexes)i=this.indexes[o],r=e&&(this.indexes[r]=n-1);return this.markDirty(),this}removeAll(){for(let e of this.proxyOf.nodes)e.parent=void 0;return this.proxyOf.nodes=[],this.markDirty(),this}replaceValues(e,n,r){return r||(r=n,n={}),this.walkDecls(s=>{n.props&&!n.props.includes(s.prop)||n.fast&&!s.value.includes(n.fast)||(s.value=s.value.replace(e,r))}),this.markDirty(),this}every(e){return this.nodes.every(e)}some(e){return this.nodes.some(e)}index(e){return typeof e=="number"?e:(e.proxyOf&&(e=e.proxyOf),this.proxyOf.nodes.indexOf(e))}get first(){if(this.proxyOf.nodes)return this.proxyOf.nodes[0]}get last(){if(this.proxyOf.nodes)return this.proxyOf.nodes[this.proxyOf.nodes.length-1]}normalize(e,n){if(typeof e=="string")e=no(to(e).nodes);else if(Array.isArray(e)){e=e.slice(0);for(let s of e)s.parent&&s.parent.removeChild(s,"ignore")}else if(e.type==="root"&&this.type!=="document"){e=e.nodes.slice(0);for(let s of e)s.parent&&s.parent.removeChild(s,"ignore")}else if(e.type)e=[e];else if(e.prop){if(typeof e.value>"u")throw new Error("Value field is missed in node creation");typeof e.value!="string"&&(e.value=String(e.value)),e=[new Zi(e)]}else if(e.selector)e=[new _n(e)];else if(e.name)e=[new Tn(e)];else if(e.text)e=[new eo(e)];else throw new Error("Unknown node type in node creation");return e.map(s=>(s[Xi]||t.rebuild(s),s=s.proxyOf,s.parent&&s.parent.removeChild(s),s[Ji]&&so(s),typeof s.raws.before>"u"&&n&&typeof n.raws.before<"u"&&(s.raws.before=n.raws.before.replace(/\S/g,"")),s.parent=this.proxyOf,s))}getProxyProcessor(){return{set(e,n,r){return e[n]===r||(e[n]=r,(n==="name"||n==="params"||n==="selector")&&e.markDirty()),!0},get(e,n){return n==="proxyOf"?e:e[n]?n==="each"||typeof n=="string"&&n.startsWith("walk")?(...r)=>e[n](...r.map(s=>typeof s=="function"?(i,o)=>s(i.toProxy(),o):s)):n==="every"||n==="some"?r=>e[n]((s,...i)=>r(s.toProxy(),...i)):n==="root"?()=>e.root().toProxy():n==="nodes"?e.nodes.map(r=>r.toProxy()):n==="first"||n==="last"?e[n].toProxy():e[n]:e[n]}}}getIterator(){this.lastEach||(this.lastEach=0),this.indexes||(this.indexes={}),this.lastEach+=1;let e=this.lastEach;return this.indexes[e]=0,e}};z.registerParse=t=>{to=t};z.registerRule=t=>{_n=t};z.registerAtRule=t=>{Tn=t};z.registerRoot=t=>{ro=t};io.exports=z;z.default=z;z.rebuild=t=>{t.type==="atrule"?Object.setPrototypeOf(t,Tn.prototype):t.type==="rule"?Object.setPrototypeOf(t,_n.prototype):t.type==="decl"?Object.setPrototypeOf(t,Zi.prototype):t.type==="comment"?Object.setPrototypeOf(t,eo.prototype):t.type==="root"&&Object.setPrototypeOf(t,ro.prototype),t[Xi]=!0,t.nodes&&t.nodes.forEach(e=>{z.rebuild(e)})}});var tr=y((Sx,lo)=>{"use strict";var En="'".charCodeAt(0),oo='"'.charCodeAt(0),Ht="\\".charCodeAt(0),ao="/".charCodeAt(0),Qt=` -`.charCodeAt(0),pt=" ".charCodeAt(0),jt="\f".charCodeAt(0),Jt=" ".charCodeAt(0),Xt="\r".charCodeAt(0),sf="[".charCodeAt(0),of="]".charCodeAt(0),af="(".charCodeAt(0),uf=")".charCodeAt(0),lf="{".charCodeAt(0),cf="}".charCodeAt(0),ff=";".charCodeAt(0),pf="*".charCodeAt(0),hf=":".charCodeAt(0),df="@".charCodeAt(0),Zt=/[\t\n\f\r "#'()/;[\\\]{}]/g,er=/[\t\n\f\r !"#'():;@[\\\]{}]|\/(?=\*)/g,mf=/.[\n"'(/\\]/,uo=/[\da-f]/i;lo.exports=function(e,n={}){let r=e.css.valueOf(),s=n.ignoreErrors,i,o,a,u,c,f,p,l,g,x,h=r.length,d=0,m=[],b=[];function w(){return d}function v(U){throw e.error("Unclosed "+U,d)}function N(){return b.length===0&&d>=h}function $(U){if(b.length)return b.pop();if(d>=h)return;let S=U?U.ignoreUnclosed:!1;switch(i=r.charCodeAt(d),i){case Qt:case pt:case Jt:case Xt:case jt:{o=d;do o+=1,i=r.charCodeAt(o);while(i===pt||i===Qt||i===Jt||i===Xt||i===jt);x=["space",r.slice(d,o)],d=o-1;break}case sf:case of:case lf:case cf:case hf:case ff:case uf:{let C=String.fromCharCode(i);x=[C,C,d];break}case af:{if(l=m.length?m.pop()[1]:"",g=r.charCodeAt(d+1),l==="url"&&g!==En&&g!==oo&&g!==pt&&g!==Qt&&g!==Jt&&g!==jt&&g!==Xt){o=d;do{if(f=!1,o=r.indexOf(")",o+1),o===-1)if(s||S){o=d;break}else v("bracket");for(p=o;r.charCodeAt(p-1)===Ht;)p-=1,f=!f}while(f);x=["brackets",r.slice(d,o+1),d,o],d=o}else o=r.indexOf(")",d+1),u=r.slice(d,o+1),o===-1||mf.test(u)?x=["(","(",d]:(x=["brackets",u,d,o],d=o);break}case En:case oo:{a=i===En?"'":'"',o=d;do{if(f=!1,o=r.indexOf(a,o+1),o===-1)if(s||S){o=d+1;break}else v("string");for(p=o;r.charCodeAt(p-1)===Ht;)p-=1,f=!f}while(f);x=["string",r.slice(d,o+1),d,o],d=o;break}case df:{Zt.lastIndex=d+1,Zt.test(r),Zt.lastIndex===0?o=r.length-1:o=Zt.lastIndex-2,x=["at-word",r.slice(d,o+1),d,o],d=o;break}case Ht:{for(o=d,c=!0;r.charCodeAt(o+1)===Ht;)o+=1,c=!c;if(i=r.charCodeAt(o+1),c&&i!==ao&&i!==pt&&i!==Qt&&i!==Jt&&i!==Xt&&i!==jt&&(o+=1,uo.test(r.charAt(o)))){for(;uo.test(r.charAt(o+1));)o+=1;r.charCodeAt(o+1)===pt&&(o+=1)}x=["word",r.slice(d,o+1),d,o],d=o;break}default:{i===ao&&r.charCodeAt(d+1)===pf?(o=r.indexOf("*/",d+2)+1,o===0&&(s||S?o=r.length:v("comment")),x=["comment",r.slice(d,o+1),d,o],d=o):(er.lastIndex=d+1,er.test(r),er.lastIndex===0?o=r.length-1:o=er.lastIndex-2,x=["word",r.slice(d,o+1),d,o],m.push(x),d=o);break}}return d++,x}function H(U){b.push(U)}return{back:H,nextToken:$,endOfFile:N,position:w}}});var rr=y((Cx,fo)=>{"use strict";var co=se(),Ne=class extends co{constructor(e){super(e),this.type="atrule"}append(...e){return this.proxyOf.nodes||(this.nodes=[]),super.append(...e)}prepend(...e){return this.proxyOf.nodes||(this.nodes=[]),super.prepend(...e)}};fo.exports=Ne;Ne.default=Ne;co.registerAtRule(Ne)});var Pe=y((Ox,yo)=>{"use strict";var po=se(),ho,mo,ie=class extends po{constructor(e){super(e),this.type="root",this.nodes||(this.nodes=[])}removeChild(e,n){let r=this.index(e);return!n&&r===0&&this.nodes.length>1&&(this.nodes[1].raws.before=this.nodes[r].raws.before),super.removeChild(e)}normalize(e,n,r){let s=super.normalize(e);if(n){if(r==="prepend")this.nodes.length>1?n.raws.before=this.nodes[1].raws.before:delete n.raws.before;else if(this.first!==n)for(let i of s)i.raws.before=n.raws.before}return s}toResult(e={}){return new ho(new mo,this,e).stringify()}};ie.registerLazyResult=t=>{ho=t};ie.registerProcessor=t=>{mo=t};yo.exports=ie;ie.default=ie;po.registerRoot(ie)});var Sn=y((Ax,go)=>{"use strict";var ht={split(t,e,n){let r=[],s="",i=!1,o=0,a=!1,u="",c=!1;for(let f of t)c?c=!1:f==="\\"?c=!0:a?f===u&&(a=!1):f==='"'||f==="'"?(a=!0,u=f):f==="("?o+=1:f===")"?o>0&&(o-=1):o===0&&e.includes(f)&&(i=!0),i?(s!==""&&r.push(s.trim()),s="",i=!1):s+=f;return(n||s!=="")&&r.push(s.trim()),r},space(t){let e=[" ",` -`," "];return ht.split(t,e)},comma(t){return ht.split(t,[","],!0)}};go.exports=ht;ht.default=ht});var nr=y((Nx,vo)=>{"use strict";var wo=se(),yf=Sn(),Re=class extends wo{constructor(e){super(e),this.type="rule",this.nodes||(this.nodes=[])}get selectors(){return yf.comma(this.selector)}set selectors(e){let n=this.selector?this.selector.match(/,\s*/):null,r=n?n[0]:","+this.raw("between","beforeOpen");this.selector=e.join(r)}};vo.exports=Re;Re.default=Re;wo.registerRule(Re)});var sr=y((Px,ko)=>{"use strict";var gf=ct(),wf=tr(),vf=Ae(),xf=rr(),bf=Pe(),xo=nr(),bo={empty:!0,space:!0};function kf(t){for(let e=t.length-1;e>=0;e--){let n=t[e],r=n[3]||n[2];if(r)return r}}var Cn=class{constructor(e){this.input=e,this.root=new bf,this.current=this.root,this.spaces="",this.semicolon=!1,this.customProperty=!1,this.createTokenizer(),this.root.source={input:e,start:{offset:0,line:1,column:1}}}createTokenizer(){this.tokenizer=wf(this.input)}parse(){let e;for(;!this.tokenizer.endOfFile();)switch(e=this.tokenizer.nextToken(),e[0]){case"space":this.spaces+=e[1];break;case";":this.freeSemicolon(e);break;case"}":this.end(e);break;case"comment":this.comment(e);break;case"at-word":this.atrule(e);break;case"{":this.emptyRule(e);break;default:this.other(e);break}this.endFile()}comment(e){let n=new vf;this.init(n,e[2]),n.source.end=this.getPosition(e[3]||e[2]);let r=e[1].slice(2,-2);if(/^\s*$/.test(r))n.text="",n.raws.left=r,n.raws.right="";else{let s=r.match(/^(\s*)([^]*\S)(\s*)$/);n.text=s[2],n.raws.left=s[1],n.raws.right=s[3]}}emptyRule(e){let n=new xo;this.init(n,e[2]),n.selector="",n.raws.between="",this.current=n}other(e){let n=!1,r=null,s=!1,i=null,o=[],a=e[1].startsWith("--"),u=[],c=e;for(;c;){if(r=c[0],u.push(c),r==="("||r==="[")i||(i=c),o.push(r==="("?")":"]");else if(a&&s&&r==="{")i||(i=c),o.push("}");else if(o.length===0)if(r===";")if(s){this.decl(u,a);return}else break;else if(r==="{"){this.rule(u);return}else if(r==="}"){this.tokenizer.back(u.pop()),n=!0;break}else r===":"&&(s=!0);else r===o[o.length-1]&&(o.pop(),o.length===0&&(i=null));c=this.tokenizer.nextToken()}if(this.tokenizer.endOfFile()&&(n=!0),o.length>0&&this.unclosedBracket(i),n&&s){if(!a)for(;u.length&&(c=u[u.length-1][0],!(c!=="space"&&c!=="comment"));)this.tokenizer.back(u.pop());this.decl(u,a)}else this.unknownWord(u)}rule(e){e.pop();let n=new xo;this.init(n,e[0][2]),n.raws.between=this.spacesAndCommentsFromEnd(e),this.raw(n,"selector",e),this.current=n}decl(e,n){let r=new gf;this.init(r,e[0][2]);let s=e[e.length-1];for(s[0]===";"&&(this.semicolon=!0,e.pop()),r.source.end=this.getPosition(s[3]||s[2]||kf(e));e[0][0]!=="word";)e.length===1&&this.unknownWord(e),r.raws.before+=e.shift()[1];for(r.source.start=this.getPosition(e[0][2]),r.prop="";e.length;){let c=e[0][0];if(c===":"||c==="space"||c==="comment")break;r.prop+=e.shift()[1]}r.raws.between="";let i;for(;e.length;)if(i=e.shift(),i[0]===":"){r.raws.between+=i[1];break}else i[0]==="word"&&/\w/.test(i[1])&&this.unknownWord([i]),r.raws.between+=i[1];(r.prop[0]==="_"||r.prop[0]==="*")&&(r.raws.before+=r.prop[0],r.prop=r.prop.slice(1));let o=[],a;for(;e.length&&(a=e[0][0],!(a!=="space"&&a!=="comment"));)o.push(e.shift());this.precheckMissedSemicolon(e);for(let c=e.length-1;c>=0;c--){if(i=e[c],i[1].toLowerCase()==="!important"){r.important=!0;let f=this.stringFrom(e,c);f=this.spacesFromEnd(e)+f,f!==" !important"&&(r.raws.important=f);break}else if(i[1].toLowerCase()==="important"){let f=e.slice(0),p="";for(let l=c;l>0;l--){let g=f[l][0];if(p.trim().indexOf("!")===0&&g!=="space")break;p=f.pop()[1]+p}p.trim().indexOf("!")===0&&(r.important=!0,r.raws.important=p,e=f)}if(i[0]!=="space"&&i[0]!=="comment")break}e.some(c=>c[0]!=="space"&&c[0]!=="comment")&&(r.raws.between+=o.map(c=>c[1]).join(""),o=[]),this.raw(r,"value",o.concat(e),n),r.value.includes(":")&&!n&&this.checkMissedSemicolon(e)}atrule(e){let n=new xf;n.name=e[1].slice(1),n.name===""&&this.unnamedAtrule(n,e),this.init(n,e[2]);let r,s,i,o=!1,a=!1,u=[],c=[];for(;!this.tokenizer.endOfFile();){if(e=this.tokenizer.nextToken(),r=e[0],r==="("||r==="["?c.push(r==="("?")":"]"):r==="{"&&c.length>0?c.push("}"):r===c[c.length-1]&&c.pop(),c.length===0)if(r===";"){n.source.end=this.getPosition(e[2]),this.semicolon=!0;break}else if(r==="{"){a=!0;break}else if(r==="}"){if(u.length>0){for(i=u.length-1,s=u[i];s&&s[0]==="space";)s=u[--i];s&&(n.source.end=this.getPosition(s[3]||s[2]))}this.end(e);break}else u.push(e);else u.push(e);if(this.tokenizer.endOfFile()){o=!0;break}}n.raws.between=this.spacesAndCommentsFromEnd(u),u.length?(n.raws.afterName=this.spacesAndCommentsFromStart(u),this.raw(n,"params",u),o&&(e=u[u.length-1],n.source.end=this.getPosition(e[3]||e[2]),this.spaces=n.raws.between,n.raws.between="")):(n.raws.afterName="",n.params=""),a&&(n.nodes=[],this.current=n)}end(e){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=this.getPosition(e[2]),this.current=this.current.parent):this.unexpectedClose(e)}endFile(){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}freeSemicolon(e){if(this.spaces+=e[1],this.current.nodes){let n=this.current.nodes[this.current.nodes.length-1];n&&n.type==="rule"&&!n.raws.ownSemicolon&&(n.raws.ownSemicolon=this.spaces,this.spaces="")}}getPosition(e){let n=this.input.fromOffset(e);return{offset:e,line:n.line,column:n.col}}init(e,n){this.current.push(e),e.source={start:this.getPosition(n),input:this.input},e.raws.before=this.spaces,this.spaces="",e.type!=="comment"&&(this.semicolon=!1)}raw(e,n,r,s){let i,o,a=r.length,u="",c=!0,f,p;for(let l=0;lg+x[1],"");e.raws[n]={value:u,raw:l}}e[n]=u}spacesAndCommentsFromEnd(e){let n,r="";for(;e.length&&(n=e[e.length-1][0],!(n!=="space"&&n!=="comment"));)r=e.pop()[1]+r;return r}spacesAndCommentsFromStart(e){let n,r="";for(;e.length&&(n=e[0][0],!(n!=="space"&&n!=="comment"));)r+=e.shift()[1];return r}spacesFromEnd(e){let n,r="";for(;e.length&&(n=e[e.length-1][0],n==="space");)r=e.pop()[1]+r;return r}stringFrom(e,n){let r="";for(let s=n;s=0&&(s=e[i],!(s[0]!=="space"&&(r+=1,r===2)));i--);throw this.input.error("Missed semicolon",s[0]==="word"?s[3]+1:s[2])}};ko.exports=Cn});var _o=y(()=>{});var Eo=y((qx,To)=>{var _f="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict",Tf=(t,e=21)=>(n=e)=>{let r="",s=n;for(;s--;)r+=t[Math.random()*t.length|0];return r},Ef=(t=21)=>{let e="",n=t;for(;n--;)e+=_f[Math.random()*64|0];return e};To.exports={nanoid:Ef,customAlphabet:Tf}});var On=y((Dx,So)=>{So.exports=class{}});var qe=y((Mx,No)=>{"use strict";var{SourceMapConsumer:Sf,SourceMapGenerator:Cf}=_o(),{fileURLToPath:Co,pathToFileURL:ir}={},{resolve:Pn,isAbsolute:Rn}={},{nanoid:Of}=Eo(),An=xn(),Oo=Yt(),Af=On(),Nn=Symbol("fromOffsetCache"),Nf=!!(Sf&&Cf),Ao=!!(Pn&&Rn),Ie=class{constructor(e,n={}){if(e===null||typeof e>"u"||typeof e=="object"&&!e.toString)throw new Error(`PostCSS received ${e} instead of CSS string`);if(this.css=e.toString(),this.css[0]==="\uFEFF"||this.css[0]==="\uFFFE"?(this.hasBOM=!0,this.css=this.css.slice(1)):this.hasBOM=!1,n.from&&(!Ao||/^\w+:\/\//.test(n.from)||Rn(n.from)?this.file=n.from:this.file=Pn(n.from)),Ao&&Nf){let r=new Af(this.css,n);if(r.text){this.map=r;let s=r.consumer().file;!this.file&&s&&(this.file=this.mapResolve(s))}}this.file||(this.id=""),this.map&&(this.map.file=this.from)}fromOffset(e){let n,r;if(this[Nn])r=this[Nn];else{let i=this.css.split(` -`);r=new Array(i.length);let o=0;for(let a=0,u=i.length;a=n)s=r.length-1;else{let i=r.length-2,o;for(;s>1),e=r[o+1])s=o+1;else{s=o;break}}return{line:s+1,col:e-r[s]+1}}error(e,n,r,s={}){let i,o,a;if(n&&typeof n=="object"){let c=n,f=r;if(typeof c.offset=="number"){let p=this.fromOffset(c.offset);n=p.line,r=p.col}else n=c.line,r=c.column;if(typeof f.offset=="number"){let p=this.fromOffset(f.offset);o=p.line,a=p.col}else o=f.line,a=f.column}else if(!r){let c=this.fromOffset(n);n=c.line,r=c.col}let u=this.origin(n,r,o,a);return u?i=new Oo(e,u.endLine===void 0?u.line:{line:u.line,column:u.column},u.endLine===void 0?u.column:{line:u.endLine,column:u.endColumn},u.source,u.file,s.plugin):i=new Oo(e,o===void 0?n:{line:n,column:r},o===void 0?r:{line:o,column:a},this.css,this.file,s.plugin),i.input={line:n,column:r,endLine:o,endColumn:a,source:this.css},this.file&&(ir&&(i.input.url=ir(this.file).toString()),i.input.file=this.file),i}origin(e,n,r,s){if(!this.map)return!1;let i=this.map.consumer(),o=i.originalPositionFor({line:e,column:n});if(!o.source)return!1;let a;typeof r=="number"&&(a=i.originalPositionFor({line:r,column:s}));let u;Rn(o.source)?u=ir(o.source):u=new URL(o.source,this.map.consumer().sourceRoot||ir(this.map.mapFile));let c={url:u.toString(),line:o.line,column:o.column,endLine:a&&a.line,endColumn:a&&a.column};if(u.protocol==="file:")if(Co)c.file=Co(u);else throw new Error("file: protocol is not available in this PostCSS build");let f=i.sourceContentFor(o.source);return f&&(c.source=f),c}mapResolve(e){return/^\w+:\/\//.test(e)?e:Pn(this.map.consumer().sourceRoot||this.map.root||".",e)}get from(){return this.file||this.id}toJSON(){let e={};for(let n of["hasBOM","css","file","id"])this[n]!=null&&(e[n]=this[n]);return this.map&&(e.map={...this.map},e.map.consumerCache&&(e.map.consumerCache=void 0)),e}};No.exports=Ie;Ie.default=Ie;An&&An.registerInput&&An.registerInput(Ie)});var dt=y((Bx,Po)=>{"use strict";var Pf=se(),Rf=sr(),If=qe();function or(t,e){let n=new If(t,e),r=new Rf(n);try{r.parse()}catch(s){throw s}return r.root}Po.exports=or;or.default=or;Pf.registerParse(or)});var Ro=y((Fx,In)=>{var qf=tr(),Df=qe();In.exports={isInlineComment(t){if(t[0]==="word"&&t[1].slice(0,2)==="//"){let e=t,n=[],r,s;for(;t;){if(/\r?\n/.test(t[1])){if(/['"].*\r?\n/.test(t[1])){n.push(t[1].substring(0,t[1].indexOf(` -`))),s=t[1].substring(t[1].indexOf(` -`));let o=this.input.css.valueOf().substring(this.tokenizer.position());s+=o,r=t[3]+o.length-s.length}else this.tokenizer.back(t);break}n.push(t[1]),r=t[2],t=this.tokenizer.nextToken({ignoreUnclosed:!0})}let i=["comment",n.join(""),e[2],r];return this.inlineComment(i),s&&(this.input=new Df(s),this.tokenizer=qf(this.input)),!0}else if(t[1]==="/"){let e=this.tokenizer.nextToken({ignoreUnclosed:!0});if(e[0]==="comment"&&/^\/\*/.test(e[1]))return e[0]="word",e[1]=e[1].slice(1),t[1]="//",this.tokenizer.back(e),In.exports.isInlineComment.bind(this)(t)}return!1}}});var qo=y(($x,Io)=>{Io.exports={interpolation(t){let e=[t,this.tokenizer.nextToken()],n=["word","}"];if(e[0][1].length>1||e[1][0]!=="{")return this.tokenizer.back(e[1]),!1;for(t=this.tokenizer.nextToken();t&&n.includes(t[0]);)e.push(t),t=this.tokenizer.nextToken();let r=e.map(a=>a[1]),[s]=e,i=e.pop(),o=["word",r.join(""),s[2],i[2]];return this.tokenizer.back(t),this.tokenizer.back(o),!0}}});var Lo=y((Ux,Do)=>{var Lf=/^#[0-9a-fA-F]{6}$|^#[0-9a-fA-F]{3}$/,Mf=/\.[0-9]/,Bf=t=>{let[,e]=t,[n]=e;return(n==="."||n==="#")&&Lf.test(e)===!1&&Mf.test(e)===!1};Do.exports={isMixinToken:Bf}});var Bo=y((Wx,Mo)=>{var Ff=tr(),$f=/^url\((.+)\)/;Mo.exports=t=>{let{name:e,params:n=""}=t;if(e==="import"&&n.length){t.import=!0;let r=Ff({css:n});for(t.filename=n.replace($f,"$1");!r.endOfFile();){let[s,i]=r.nextToken();if(s==="word"&&i==="url")return;if(s==="brackets"){t.options=i,t.filename=n.replace(i,"").trim();break}}}}});var Wo=y((zx,Uo)=>{var Fo=/:$/,$o=/^:(\s+)?/;Uo.exports=t=>{let{name:e,params:n=""}=t;if(t.name.slice(-1)===":"){if(Fo.test(e)){let[r]=e.match(Fo);t.name=e.replace(r,""),t.raws.afterName=r+(t.raws.afterName||""),t.variable=!0,t.value=t.params}if($o.test(n)){let[r]=n.match($o);t.value=n.replace(r,""),t.raws.afterName=(t.raws.afterName||"")+r,t.variable=!0}}}});var Yo=y((Yx,Vo)=>{var Uf=Ae(),Wf=sr(),{isInlineComment:zf}=Ro(),{interpolation:zo}=qo(),{isMixinToken:Vf}=Lo(),Yf=Bo(),Gf=Wo(),Kf=/(!\s*important)$/i;Vo.exports=class extends Wf{constructor(...e){super(...e),this.lastNode=null}atrule(e){zo.bind(this)(e)||(super.atrule(e),Yf(this.lastNode),Gf(this.lastNode))}decl(...e){super.decl(...e),/extend\(.+\)/i.test(this.lastNode.value)&&(this.lastNode.extend=!0)}each(e){e[0][1]=` ${e[0][1]}`;let n=e.findIndex(a=>a[0]==="("),r=e.reverse().find(a=>a[0]===")"),s=e.reverse().indexOf(r),o=e.splice(n,s).map(a=>a[1]).join("");for(let a of e.reverse())this.tokenizer.back(a);this.atrule(this.tokenizer.nextToken()),this.lastNode.function=!0,this.lastNode.params=o}init(e,n,r){super.init(e,n,r),this.lastNode=e}inlineComment(e){let n=new Uf,r=e[1].slice(2);if(this.init(n,e[2]),n.source.end=this.getPosition(e[3]||e[2]),n.inline=!0,n.raws.begin="//",/^\s*$/.test(r))n.text="",n.raws.left=r,n.raws.right="";else{let s=r.match(/^(\s*)([^]*[^\s])(\s*)$/);[,n.raws.left,n.text,n.raws.right]=s}}mixin(e){let[n]=e,r=n[1].slice(0,1),s=e.findIndex(c=>c[0]==="brackets"),i=e.findIndex(c=>c[0]==="("),o="";if((s<0||s>3)&&i>0){let c=e.reduce((w,v,N)=>v[0]===")"?N:w),p=e.slice(i,c+i).map(w=>w[1]).join(""),[l]=e.slice(i),g=[l[2],l[3]],[x]=e.slice(c,c+1),h=[x[2],x[3]],d=["brackets",p].concat(g,h),m=e.slice(0,i),b=e.slice(c+1);e=m,e.push(d),e=e.concat(b)}let a=[];for(let c of e)if((c[1]==="!"||a.length)&&a.push(c),c[1]==="important")break;if(a.length){let[c]=a,f=e.indexOf(c),p=a[a.length-1],l=[c[2],c[3]],g=[p[4],p[5]],h=["word",a.map(d=>d[1]).join("")].concat(l,g);e.splice(f,a.length,h)}let u=e.findIndex(c=>Kf.test(c[1]));u>0&&([,o]=e[u],e.splice(u,1));for(let c of e.reverse())this.tokenizer.back(c);this.atrule(this.tokenizer.nextToken()),this.lastNode.mixin=!0,this.lastNode.raws.identifier=r,o&&(this.lastNode.important=!0,this.lastNode.raws.important=o)}other(e){zf.bind(this)(e)||super.other(e)}rule(e){let n=e[e.length-1],r=e[e.length-2];if(r[0]==="at-word"&&n[0]==="{"&&(this.tokenizer.back(n),zo.bind(this)(r))){let i=this.tokenizer.nextToken();e=e.slice(0,e.length-2).concat([i]);for(let o of e.reverse())this.tokenizer.back(o);return}super.rule(e),/:extend\(.+\)/i.test(this.lastNode.selector)&&(this.lastNode.extend=!0)}unknownWord(e){let[n]=e;if(e[0][1]==="each"&&e[1][0]==="("){this.each(e);return}if(Vf(n)){this.mixin(e);return}super.unknownWord(e)}}});var Ko=y((Kx,Go)=>{var Hf=Gt();Go.exports=class extends Hf{atrule(e,n){if(!e.mixin&&!e.variable&&!e.function){super.atrule(e,n);return}let s=`${e.function?"":e.raws.identifier||"@"}${e.name}`,i=e.params?this.rawValue(e,"params"):"",o=e.raws.important||"";if(e.variable&&(i=e.value),typeof e.raws.afterName<"u"?s+=e.raws.afterName:i&&(s+=" "),e.nodes)this.block(e,s+i+o);else{let a=(e.raws.between||"")+o+(n?";":"");this.builder(s+i+a,e)}}comment(e){if(e.inline){let n=this.raw(e,"left","commentLeft"),r=this.raw(e,"right","commentRight");this.builder(`//${n}${e.text}${r}`,e)}else super.comment(e)}}});var Ho=y((Hx,qn)=>{var Qf=qe(),jf=Yo(),Jf=Ko();qn.exports={parse(t,e){let n=new Qf(t,e),r=new jf(n);return r.parse(),r.root.walk(s=>{let i=n.css.lastIndexOf(s.source.input.css);if(i===0)return;if(i+s.source.input.css.length!==n.css.length)throw new Error("Invalid state detected in postcss-less");let o=i+s.source.start.offset,a=n.fromOffset(i+s.source.start.offset);if(s.source.start={offset:o,line:a.line,column:a.col},s.source.end){let u=i+s.source.end.offset,c=n.fromOffset(i+s.source.end.offset);s.source.end={offset:u,line:c.line,column:c.col}}}),r.root},stringify(t,e){new Jf(e).stringify(t)},nodeToString(t){let e="";return qn.exports.stringify(t,n=>{e+=n}),e}}});var Dn=y((Qx,Qo)=>{Qo.exports=class{generate(){}}});var ar=y((Jx,Xo)=>{"use strict";var Xf=se(),jo,Jo,ye=class extends Xf{constructor(e){super({type:"document",...e}),this.nodes||(this.nodes=[])}toResult(e={}){return new jo(new Jo,this,e).stringify()}};ye.registerLazyResult=t=>{jo=t};ye.registerProcessor=t=>{Jo=t};Xo.exports=ye;ye.default=ye});var Ln=y((Xx,ea)=>{"use strict";var Zo={};ea.exports=function(e){Zo[e]||(Zo[e]=!0,typeof console<"u"&&console.warn&&console.warn(e))}});var Mn=y((Zx,ta)=>{"use strict";var mt=class{constructor(e,n={}){if(this.type="warning",this.text=e,n.node&&n.node.source){let r=n.node.rangeBy(n);this.line=r.start.line,this.column=r.start.column,this.endLine=r.end.line,this.endColumn=r.end.column}for(let r in n)this[r]=n[r]}toString(){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}};ta.exports=mt;mt.default=mt});var ur=y((eb,ra)=>{"use strict";var Zf=Mn(),yt=class{constructor(e,n,r){this.processor=e,this.messages=[],this.root=n,this.opts=r,this.css=void 0,this.map=void 0}toString(){return this.css}warn(e,n={}){n.plugin||this.lastPlugin&&this.lastPlugin.postcssPlugin&&(n.plugin=this.lastPlugin.postcssPlugin);let r=new Zf(e,n);return this.messages.push(r),r}warnings(){return this.messages.filter(e=>e.type==="warning")}get content(){return this.css}};ra.exports=yt;yt.default=yt});var $n=y((rb,oa)=>{"use strict";var{isClean:K,my:ep}=Vt(),tp=Dn(),rp=ot(),np=se(),sp=ar(),tb=Ln(),na=ur(),ip=dt(),op=Pe(),ap={document:"Document",root:"Root",atrule:"AtRule",rule:"Rule",decl:"Declaration",comment:"Comment"},up={postcssPlugin:!0,prepare:!0,Once:!0,Document:!0,Root:!0,Declaration:!0,Rule:!0,AtRule:!0,Comment:!0,DeclarationExit:!0,RuleExit:!0,AtRuleExit:!0,CommentExit:!0,RootExit:!0,DocumentExit:!0,OnceExit:!0},lp={postcssPlugin:!0,prepare:!0,Once:!0},De=0;function gt(t){return typeof t=="object"&&typeof t.then=="function"}function ia(t){let e=!1,n=ap[t.type];return t.type==="decl"?e=t.prop.toLowerCase():t.type==="atrule"&&(e=t.name.toLowerCase()),e&&t.append?[n,n+"-"+e,De,n+"Exit",n+"Exit-"+e]:e?[n,n+"-"+e,n+"Exit",n+"Exit-"+e]:t.append?[n,De,n+"Exit"]:[n,n+"Exit"]}function sa(t){let e;return t.type==="document"?e=["Document",De,"DocumentExit"]:t.type==="root"?e=["Root",De,"RootExit"]:e=ia(t),{node:t,events:e,eventIndex:0,visitors:[],visitorIndex:0,iterator:0}}function Bn(t){return t[K]=!1,t.nodes&&t.nodes.forEach(e=>Bn(e)),t}var Fn={},oe=class t{constructor(e,n,r){this.stringified=!1,this.processed=!1;let s;if(typeof n=="object"&&n!==null&&(n.type==="root"||n.type==="document"))s=Bn(n);else if(n instanceof t||n instanceof na)s=Bn(n.root),n.map&&(typeof r.map>"u"&&(r.map={}),r.map.inline||(r.map.inline=!1),r.map.prev=n.map);else{let i=ip;r.syntax&&(i=r.syntax.parse),r.parser&&(i=r.parser),i.parse&&(i=i.parse);try{s=i(n,r)}catch(o){this.processed=!0,this.error=o}s&&!s[ep]&&np.rebuild(s)}this.result=new na(e,s,r),this.helpers={...Fn,result:this.result,postcss:Fn},this.plugins=this.processor.plugins.map(i=>typeof i=="object"&&i.prepare?{...i,...i.prepare(this.result)}:i)}get[Symbol.toStringTag](){return"LazyResult"}get processor(){return this.result.processor}get opts(){return this.result.opts}get css(){return this.stringify().css}get content(){return this.stringify().content}get map(){return this.stringify().map}get root(){return this.sync().root}get messages(){return this.sync().messages}warnings(){return this.sync().warnings()}toString(){return this.css}then(e,n){return this.async().then(e,n)}catch(e){return this.async().catch(e)}finally(e){return this.async().then(e,e)}async(){return this.error?Promise.reject(this.error):this.processed?Promise.resolve(this.result):(this.processing||(this.processing=this.runAsync()),this.processing)}sync(){if(this.error)throw this.error;if(this.processed)return this.result;if(this.processed=!0,this.processing)throw this.getAsyncError();for(let e of this.plugins){let n=this.runOnRoot(e);if(gt(n))throw this.getAsyncError()}if(this.prepareVisitors(),this.hasListener){let e=this.result.root;for(;!e[K];)e[K]=!0,this.walkSync(e);if(this.listeners.OnceExit)if(e.type==="document")for(let n of e.nodes)this.visitSync(this.listeners.OnceExit,n);else this.visitSync(this.listeners.OnceExit,e)}return this.result}stringify(){if(this.error)throw this.error;if(this.stringified)return this.result;this.stringified=!0,this.sync();let e=this.result.opts,n=rp;e.syntax&&(n=e.syntax.stringify),e.stringifier&&(n=e.stringifier),n.stringify&&(n=n.stringify);let s=new tp(n,this.result.root,this.result.opts).generate();return this.result.css=s[0],this.result.map=s[1],this.result}walkSync(e){e[K]=!0;let n=ia(e);for(let r of n)if(r===De)e.nodes&&e.each(s=>{s[K]||this.walkSync(s)});else{let s=this.listeners[r];if(s&&this.visitSync(s,e.toProxy()))return}}visitSync(e,n){for(let[r,s]of e){this.result.lastPlugin=r;let i;try{i=s(n,this.helpers)}catch(o){throw this.handleError(o,n.proxyOf)}if(n.type!=="root"&&n.type!=="document"&&!n.parent)return!0;if(gt(i))throw this.getAsyncError()}}runOnRoot(e){this.result.lastPlugin=e;try{if(typeof e=="object"&&e.Once){if(this.result.root.type==="document"){let n=this.result.root.nodes.map(r=>e.Once(r,this.helpers));return gt(n[0])?Promise.all(n):n}return e.Once(this.result.root,this.helpers)}else if(typeof e=="function")return e(this.result.root,this.result)}catch(n){throw this.handleError(n)}}getAsyncError(){throw new Error("Use process(css).then(cb) to work with async plugins")}handleError(e,n){let r=this.result.lastPlugin;try{n&&n.addToError(e),this.error=e,e.name==="CssSyntaxError"&&!e.plugin?(e.plugin=r.postcssPlugin,e.setMessage()):r.postcssVersion}catch(s){console&&console.error&&console.error(s)}return e}async runAsync(){this.plugin=0;for(let e=0;e0;){let r=this.visitTick(n);if(gt(r))try{await r}catch(s){let i=n[n.length-1].node;throw this.handleError(s,i)}}}if(this.listeners.OnceExit)for(let[n,r]of this.listeners.OnceExit){this.result.lastPlugin=n;try{if(e.type==="document"){let s=e.nodes.map(i=>r(i,this.helpers));await Promise.all(s)}else await r(e,this.helpers)}catch(s){throw this.handleError(s)}}}return this.processed=!0,this.stringify()}prepareVisitors(){this.listeners={};let e=(n,r,s)=>{this.listeners[r]||(this.listeners[r]=[]),this.listeners[r].push([n,s])};for(let n of this.plugins)if(typeof n=="object")for(let r in n){if(!up[r]&&/^[A-Z]/.test(r))throw new Error(`Unknown event ${r} in ${n.postcssPlugin}. Try to update PostCSS (${this.processor.version} now).`);if(!lp[r])if(typeof n[r]=="object")for(let s in n[r])s==="*"?e(n,r,n[r][s]):e(n,r+"-"+s.toLowerCase(),n[r][s]);else typeof n[r]=="function"&&e(n,r,n[r])}this.hasListener=Object.keys(this.listeners).length>0}visitTick(e){let n=e[e.length-1],{node:r,visitors:s}=n;if(r.type!=="root"&&r.type!=="document"&&!r.parent){e.pop();return}if(s.length>0&&n.visitorIndex{Fn=t};oa.exports=oe;oe.default=oe;op.registerLazyResult(oe);sp.registerLazyResult(oe)});var ua=y((sb,aa)=>{"use strict";var cp=Dn(),fp=ot(),nb=Ln(),pp=dt(),hp=ur(),wt=class{constructor(e,n,r){n=n.toString(),this.stringified=!1,this._processor=e,this._css=n,this._opts=r,this._map=void 0;let s,i=fp;this.result=new hp(this._processor,s,this._opts),this.result.css=n;let o=this;Object.defineProperty(this.result,"root",{get(){return o.root}});let a=new cp(i,s,this._opts,n);if(a.isMap()){let[u,c]=a.generate();u&&(this.result.css=u),c&&(this.result.map=c)}}get[Symbol.toStringTag](){return"NoWorkResult"}get processor(){return this.result.processor}get opts(){return this.result.opts}get css(){return this.result.css}get content(){return this.result.css}get map(){return this.result.map}get root(){if(this._root)return this._root;let e,n=pp;try{e=n(this._css,this._opts)}catch(r){this.error=r}if(this.error)throw this.error;return this._root=e,e}get messages(){return[]}warnings(){return[]}toString(){return this._css}then(e,n){return this.async().then(e,n)}catch(e){return this.async().catch(e)}finally(e){return this.async().then(e,e)}async(){return this.error?Promise.reject(this.error):Promise.resolve(this.result)}sync(){if(this.error)throw this.error;return this.result}};aa.exports=wt;wt.default=wt});var ca=y((ib,la)=>{"use strict";var dp=ua(),mp=$n(),yp=ar(),gp=Pe(),ge=class{constructor(e=[]){this.version="8.4.24",this.plugins=this.normalize(e)}use(e){return this.plugins=this.plugins.concat(this.normalize([e])),this}process(e,n={}){return this.plugins.length===0&&typeof n.parser>"u"&&typeof n.stringifier>"u"&&typeof n.syntax>"u"?new dp(this,e,n):new mp(this,e,n)}normalize(e){let n=[];for(let r of e)if(r.postcss===!0?r=r():r.postcss&&(r=r.postcss),typeof r=="object"&&Array.isArray(r.plugins))n=n.concat(r.plugins);else if(typeof r=="object"&&r.postcssPlugin)n.push(r);else if(typeof r=="function")n.push(r);else if(!(typeof r=="object"&&(r.parse||r.stringify)))throw new Error(r+" is not a PostCSS plugin");return n}};la.exports=ge;ge.default=ge;gp.registerProcessor(ge);yp.registerProcessor(ge)});var pa=y((ob,fa)=>{"use strict";var wp=ct(),vp=On(),xp=Ae(),bp=rr(),kp=qe(),_p=Pe(),Tp=nr();function vt(t,e){if(Array.isArray(t))return t.map(s=>vt(s));let{inputs:n,...r}=t;if(n){e=[];for(let s of n){let i={...s,__proto__:kp.prototype};i.map&&(i.map={...i.map,__proto__:vp.prototype}),e.push(i)}}if(r.nodes&&(r.nodes=t.nodes.map(s=>vt(s,e))),r.source){let{inputId:s,...i}=r.source;r.source=i,s!=null&&(r.source.input=e[s])}if(r.type==="root")return new _p(r);if(r.type==="decl")return new wp(r);if(r.type==="rule")return new Tp(r);if(r.type==="comment")return new xp(r);if(r.type==="atrule")return new bp(r);throw new Error("Unknown node type: "+t.type)}fa.exports=vt;vt.default=vt});var lr=y((ab,va)=>{"use strict";var Ep=Yt(),ha=ct(),Sp=$n(),Cp=se(),Un=ca(),Op=ot(),Ap=pa(),da=ar(),Np=Mn(),ma=Ae(),ya=rr(),Pp=ur(),Rp=qe(),Ip=dt(),qp=Sn(),ga=nr(),wa=Pe(),Dp=ut();function k(...t){return t.length===1&&Array.isArray(t[0])&&(t=t[0]),new Un(t)}k.plugin=function(e,n){let r=!1;function s(...o){console&&console.warn&&!r&&(r=!0,console.warn(e+`: postcss.plugin was deprecated. Migration guide: -https://evilmartians.com/chronicles/postcss-8-plugin-migration`));let a=n(...o);return a.postcssPlugin=e,a.postcssVersion=new Un().version,a}let i;return Object.defineProperty(s,"postcss",{get(){return i||(i=s()),i}}),s.process=function(o,a,u){return k([s(u)]).process(o,a)},s};k.stringify=Op;k.parse=Ip;k.fromJSON=Ap;k.list=qp;k.comment=t=>new ma(t);k.atRule=t=>new ya(t);k.decl=t=>new ha(t);k.rule=t=>new ga(t);k.root=t=>new wa(t);k.document=t=>new da(t);k.CssSyntaxError=Ep;k.Declaration=ha;k.Container=Cp;k.Processor=Un;k.Document=da;k.Comment=ma;k.Warning=Np;k.AtRule=ya;k.Result=Pp;k.Input=Rp;k.Rule=ga;k.Root=wa;k.Node=Dp;Sp.registerPostcss(k);va.exports=k;k.default=k});var ba=y((ub,xa)=>{var{Container:Lp}=lr(),Wn=class extends Lp{constructor(e){super(e),this.type="decl",this.isNested=!0,this.nodes||(this.nodes=[])}};xa.exports=Wn});var Ca=y((lb,Sa)=>{"use strict";var zn="'".charCodeAt(0),Vn='"'.charCodeAt(0),xt="\\".charCodeAt(0),cr="/".charCodeAt(0),Yn=` -`.charCodeAt(0),fr=" ".charCodeAt(0),Gn="\f".charCodeAt(0),Kn=" ".charCodeAt(0),Hn="\r".charCodeAt(0),Mp="[".charCodeAt(0),Bp="]".charCodeAt(0),ka="(".charCodeAt(0),_a=")".charCodeAt(0),pr="{".charCodeAt(0),Ta="}".charCodeAt(0),Fp=";".charCodeAt(0),$p="*".charCodeAt(0),Up=":".charCodeAt(0),Wp="@".charCodeAt(0),zp=",".charCodeAt(0),Qn="#".charCodeAt(0),hr=/[\t\n\f\r "#'()/;[\\\]{}]/g,dr=/[,\t\n\f\r !"#'():;@[\\\]{}]|\/(?=\*)/g,Vp=/.[\n"'(/\\]/,Ea=/[\da-f]/i,mr=/[\n\f\r]/g;Sa.exports=function(e,n={}){let r=e.css.valueOf(),s=n.ignoreErrors,i,o,a,u,c,f,p,l,g,x=r.length,h=0,d=[],m=[],b;function w(){return h}function v(S){throw e.error("Unclosed "+S,h)}function N(){return m.length===0&&h>=x}function $(){let S=1,C=!1,O=!1;for(;S>0;)o+=1,r.length<=o&&v("interpolation"),i=r.charCodeAt(o),l=r.charCodeAt(o+1),C?!O&&i===C?(C=!1,O=!1):i===xt?O=!O:O&&(O=!1):i===zn||i===Vn?C=i:i===Ta?S-=1:i===Qn&&l===pr&&(S+=1)}function H(S){if(m.length)return m.pop();if(h>=x)return;let C=S?S.ignoreUnclosed:!1;switch(i=r.charCodeAt(h),i){case Yn:case fr:case Kn:case Hn:case Gn:{o=h;do o+=1,i=r.charCodeAt(o);while(i===fr||i===Yn||i===Kn||i===Hn||i===Gn);g=["space",r.slice(h,o)],h=o-1;break}case Mp:case Bp:case pr:case Ta:case Up:case Fp:case _a:{let O=String.fromCharCode(i);g=[O,O,h];break}case zp:{g=["word",",",h,h+1];break}case ka:{if(p=d.length?d.pop()[1]:"",l=r.charCodeAt(h+1),p==="url"&&l!==zn&&l!==Vn){for(b=1,f=!1,o=h+1;o<=r.length-1;){if(l=r.charCodeAt(o),l===xt)f=!f;else if(l===ka)b+=1;else if(l===_a&&(b-=1,b===0))break;o+=1}u=r.slice(h,o+1),g=["brackets",u,h,o],h=o}else o=r.indexOf(")",h+1),u=r.slice(h,o+1),o===-1||Vp.test(u)?g=["(","(",h]:(g=["brackets",u,h,o],h=o);break}case zn:case Vn:{for(a=i,o=h,f=!1;o{var{Comment:Yp}=lr(),Gp=sr(),Kp=ba(),Hp=Ca(),jn=class extends Gp{createTokenizer(){this.tokenizer=Hp(this.input)}rule(e){let n=!1,r=0,s="";for(let i of e)if(n)i[0]!=="comment"&&i[0]!=="{"&&(s+=i[1]);else{if(i[0]==="space"&&i[1].includes(` -`))break;i[0]==="("?r+=1:i[0]===")"?r-=1:r===0&&i[0]===":"&&(n=!0)}if(!n||s.trim()===""||/^[#:A-Za-z-]/.test(s))super.rule(e);else{e.pop();let i=new Kp;this.init(i,e[0][2]);let o;for(let u=e.length-1;u>=0;u--)if(e[u][0]!=="space"){o=e[u];break}if(o[3]){let u=this.input.fromOffset(o[3]);i.source.end={offset:o[3],line:u.line,column:u.col}}else{let u=this.input.fromOffset(o[2]);i.source.end={offset:o[2],line:u.line,column:u.col}}for(;e[0][0]!=="word";)i.raws.before+=e.shift()[1];if(e[0][2]){let u=this.input.fromOffset(e[0][2]);i.source.start={offset:e[0][2],line:u.line,column:u.col}}for(i.prop="";e.length;){let u=e[0][0];if(u===":"||u==="space"||u==="comment")break;i.prop+=e.shift()[1]}i.raws.between="";let a;for(;e.length;)if(a=e.shift(),a[0]===":"){i.raws.between+=a[1];break}else i.raws.between+=a[1];(i.prop[0]==="_"||i.prop[0]==="*")&&(i.raws.before+=i.prop[0],i.prop=i.prop.slice(1)),i.raws.between+=this.spacesAndCommentsFromStart(e),this.precheckMissedSemicolon(e);for(let u=e.length-1;u>0;u--){if(a=e[u],a[1]==="!important"){i.important=!0;let c=this.stringFrom(e,u);c=this.spacesFromEnd(e)+c,c!==" !important"&&(i.raws.important=c);break}else if(a[1]==="important"){let c=e.slice(0),f="";for(let p=u;p>0;p--){let l=c[p][0];if(f.trim().indexOf("!")===0&&l!=="space")break;f=c.pop()[1]+f}f.trim().indexOf("!")===0&&(i.important=!0,i.raws.important=f,e=c)}if(a[0]!=="space"&&a[0]!=="comment")break}this.raw(i,"value",e),i.value.includes(":")&&this.checkMissedSemicolon(e),this.current=i}}comment(e){if(e[4]==="inline"){let n=new Yp;this.init(n,e[2]),n.raws.inline=!0;let r=this.input.fromOffset(e[3]);n.source.end={offset:e[3],line:r.line,column:r.col};let s=e[1].slice(2);if(/^\s*$/.test(s))n.text="",n.raws.left=s,n.raws.right="";else{let i=s.match(/^(\s*)([^]*\S)(\s*)$/),o=i[2].replace(/(\*\/|\/\*)/g,"*//*");n.text=o,n.raws.left=i[1],n.raws.right=i[3],n.raws.text=i[2]}}else super.comment(e)}atrule(e){let n=e[1],r=e;for(;!this.tokenizer.endOfFile();){let s=this.tokenizer.nextToken();if(s[0]==="word"&&s[2]===r[3]+1)n+=s[1],r=s;else{this.tokenizer.back(s);break}}super.atrule(["at-word",n,e[2],r[3]])}raw(e,n,r,s){if(super.raw(e,n,r,s),e.raws[n]){let i=e.raws[n].raw;e.raws[n].raw=r.reduce((o,a)=>{if(a[0]==="comment"&&a[4]==="inline"){let u=a[1].slice(2).replace(/(\*\/|\/\*)/g,"*//*");return o+"/*"+u+"*/"}else return o+a[1]},""),i!==e.raws[n].raw&&(e.raws[n].scss=i)}}};Oa.exports=jn});var Pa=y((fb,Na)=>{var{Input:Qp}=lr(),jp=Aa();Na.exports=function(e,n){let r=new Qp(e,n),s=new jp(r);return s.parse(),s.root}});var V=y((yb,Da)=>{"use strict";var Jn=function(t,e){let n=new t.constructor;for(let r in t){if(!t.hasOwnProperty(r))continue;let s=t[r],i=typeof s;r==="parent"&&i==="object"?e&&(n[r]=e):r==="source"?n[r]=s:s instanceof Array?n[r]=s.map(o=>Jn(o,n)):r!=="before"&&r!=="after"&&r!=="between"&&r!=="semicolon"&&(i==="object"&&s!==null&&(s=Jn(s)),n[r]=s)}return n};Da.exports=class{constructor(e){e=e||{},this.raws={before:"",after:""};for(let n in e)this[n]=e[n]}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(e){e=e||{};let n=Jn(this);for(let r in e)n[r]=e[r];return n}cloneBefore(e){e=e||{};let n=this.clone(e);return this.parent.insertBefore(this,n),n}cloneAfter(e){e=e||{};let n=this.clone(e);return this.parent.insertAfter(this,n),n}replaceWith(){let e=Array.prototype.slice.call(arguments);if(this.parent){for(let n of e)this.parent.insertBefore(this,n);this.remove()}return this}moveTo(e){return this.cleanRaws(this.root()===e.root()),this.remove(),e.append(this),this}moveBefore(e){return this.cleanRaws(this.root()===e.root()),this.remove(),e.parent.insertBefore(e,this),this}moveAfter(e){return this.cleanRaws(this.root()===e.root()),this.remove(),e.parent.insertAfter(e,this),this}next(){let e=this.parent.index(this);return this.parent.nodes[e+1]}prev(){let e=this.parent.index(this);return this.parent.nodes[e-1]}toJSON(){let e={};for(let n in this){if(!this.hasOwnProperty(n)||n==="parent")continue;let r=this[n];r instanceof Array?e[n]=r.map(s=>typeof s=="object"&&s.toJSON?s.toJSON():s):typeof r=="object"&&r.toJSON?e[n]=r.toJSON():e[n]=r}return e}root(){let e=this;for(;e.parent;)e=e.parent;return e}cleanRaws(e){delete this.raws.before,delete this.raws.after,e||delete this.raws.between}positionInside(e){let n=this.toString(),r=this.source.start.column,s=this.source.start.line;for(let i=0;i{"use strict";var th=V(),Le=class extends th{constructor(e){super(e),this.nodes||(this.nodes=[])}push(e){return e.parent=this,this.nodes.push(e),this}each(e){this.lastEach||(this.lastEach=0),this.indexes||(this.indexes={}),this.lastEach+=1;let n=this.lastEach,r,s;if(this.indexes[n]=0,!!this.nodes){for(;this.indexes[n]{let s=e(n,r);return s!==!1&&n.walk&&(s=n.walk(e)),s})}walkType(e,n){if(!e||!n)throw new Error("Parameters {type} and {callback} are required.");let r=typeof e=="function";return this.walk((s,i)=>{if(r&&s instanceof e||!r&&s.type===e)return n.call(this,s,i)})}append(e){return e.parent=this,this.nodes.push(e),this}prepend(e){return e.parent=this,this.nodes.unshift(e),this}cleanRaws(e){if(super.cleanRaws(e),this.nodes)for(let n of this.nodes)n.cleanRaws(e)}insertAfter(e,n){let r=this.index(e),s;this.nodes.splice(r+1,0,n);for(let i in this.indexes)s=this.indexes[i],r<=s&&(this.indexes[i]=s+this.nodes.length);return this}insertBefore(e,n){let r=this.index(e),s;this.nodes.splice(r,0,n);for(let i in this.indexes)s=this.indexes[i],r<=s&&(this.indexes[i]=s+this.nodes.length);return this}removeChild(e){e=this.index(e),this.nodes[e].parent=void 0,this.nodes.splice(e,1);let n;for(let r in this.indexes)n=this.indexes[r],n>=e&&(this.indexes[r]=n-1);return this}removeAll(){for(let e of this.nodes)e.parent=void 0;return this.nodes=[],this}every(e){return this.nodes.every(e)}some(e){return this.nodes.some(e)}index(e){return typeof e=="number"?e:this.nodes.indexOf(e)}get first(){if(this.nodes)return this.nodes[0]}get last(){if(this.nodes)return this.nodes[this.nodes.length-1]}toString(){let e=this.nodes.map(String).join("");return this.value&&(e=this.value+e),this.raws.before&&(e=this.raws.before+e),this.raws.after&&(e+=this.raws.after),e}};Le.registerWalker=t=>{let e="walk"+t.name;e.lastIndexOf("s")!==e.length-1&&(e+="s"),!Le.prototype[e]&&(Le.prototype[e]=function(n){return this.walkType(t,n)})};La.exports=Le});var Ba=y((vb,Ma)=>{"use strict";var rh=B();Ma.exports=class extends rh{constructor(e){super(e),this.type="root"}}});var $a=y((bb,Fa)=>{"use strict";var nh=B();Fa.exports=class extends nh{constructor(e){super(e),this.type="value",this.unbalanced=0}}});var za=y((kb,Wa)=>{"use strict";var Ua=B(),yr=class extends Ua{constructor(e){super(e),this.type="atword"}toString(){let e=this.quoted?this.raws.quote:"";return[this.raws.before,"@",String.prototype.toString.call(this.value),this.raws.after].join("")}};Ua.registerWalker(yr);Wa.exports=yr});var Ya=y((_b,Va)=>{"use strict";var sh=B(),ih=V(),gr=class extends ih{constructor(e){super(e),this.type="colon"}};sh.registerWalker(gr);Va.exports=gr});var Ka=y((Tb,Ga)=>{"use strict";var oh=B(),ah=V(),wr=class extends ah{constructor(e){super(e),this.type="comma"}};oh.registerWalker(wr);Ga.exports=wr});var Qa=y((Eb,Ha)=>{"use strict";var uh=B(),lh=V(),vr=class extends lh{constructor(e){super(e),this.type="comment",this.inline=Object(e).inline||!1}toString(){return[this.raws.before,this.inline?"//":"/*",String(this.value),this.inline?"":"*/",this.raws.after].join("")}};uh.registerWalker(vr);Ha.exports=vr});var Xa=y((Sb,Ja)=>{"use strict";var ja=B(),xr=class extends ja{constructor(e){super(e),this.type="func",this.unbalanced=-1}};ja.registerWalker(xr);Ja.exports=xr});var eu=y((Cb,Za)=>{"use strict";var ch=B(),fh=V(),br=class extends fh{constructor(e){super(e),this.type="number",this.unit=Object(e).unit||""}toString(){return[this.raws.before,String(this.value),this.unit,this.raws.after].join("")}};ch.registerWalker(br);Za.exports=br});var ru=y((Ob,tu)=>{"use strict";var ph=B(),hh=V(),kr=class extends hh{constructor(e){super(e),this.type="operator"}};ph.registerWalker(kr);tu.exports=kr});var su=y((Ab,nu)=>{"use strict";var dh=B(),mh=V(),_r=class extends mh{constructor(e){super(e),this.type="paren",this.parenType=""}};dh.registerWalker(_r);nu.exports=_r});var ou=y((Nb,iu)=>{"use strict";var yh=B(),gh=V(),Tr=class extends gh{constructor(e){super(e),this.type="string"}toString(){let e=this.quoted?this.raws.quote:"";return[this.raws.before,e,this.value+"",e,this.raws.after].join("")}};yh.registerWalker(Tr);iu.exports=Tr});var uu=y((Pb,au)=>{"use strict";var wh=B(),vh=V(),Er=class extends vh{constructor(e){super(e),this.type="word"}};wh.registerWalker(Er);au.exports=Er});var cu=y((Rb,lu)=>{"use strict";var xh=B(),bh=V(),Sr=class extends bh{constructor(e){super(e),this.type="unicode-range"}};xh.registerWalker(Sr);lu.exports=Sr});var pu=y((Ib,fu)=>{"use strict";var Xn=class extends Error{constructor(e){super(e),this.name=this.constructor.name,this.message=e||"An error ocurred while tokzenizing.",typeof Error.captureStackTrace=="function"?Error.captureStackTrace(this,this.constructor):this.stack=new Error(e).stack}};fu.exports=Xn});var vu=y((qb,wu)=>{"use strict";var kh="{".charCodeAt(0),_h="}".charCodeAt(0),Th="(".charCodeAt(0),Eh=")".charCodeAt(0),hu="'".charCodeAt(0),Sh='"'.charCodeAt(0),du="\\".charCodeAt(0),Cr="/".charCodeAt(0),Ch=".".charCodeAt(0),Oh=",".charCodeAt(0),Ah=":".charCodeAt(0),Zn="*".charCodeAt(0),Or="-".charCodeAt(0),es="+".charCodeAt(0),Nh="#".charCodeAt(0),bt=` -`.charCodeAt(0),ts=" ".charCodeAt(0),rs="\f".charCodeAt(0),ns=" ".charCodeAt(0),ss="\r".charCodeAt(0),Ph="@".charCodeAt(0),Rh="e".charCodeAt(0),Ih="E".charCodeAt(0),mu="0".charCodeAt(0),yu="9".charCodeAt(0),qh="u".charCodeAt(0),Dh="U".charCodeAt(0),Ar=/[ \n\t\r\{\(\)'"\\;,/]/g,Lh=/[ \n\t\r\(\)\{\}\*:;@!&'"\+\|~>,\[\]\\]|\/(?=\*)/g,Me=/[ \n\t\r\(\)\{\}\*:;@!&'"\-\+\|~>,\[\]\\]|\//g,Mh=/^[a-z0-9]/i,Bh=/^[a-f0-9?\-]/i,gu=pu();wu.exports=function(e,n){n=n||{};let r=[],s=e.valueOf(),i=s.length,o=-1,a=1,u=0,c=0,f=null,p,l,g,x,h,d,m,b,w,v,N,$;function H(S){let C=`Unclosed ${S} at line: ${a}, column: ${u-o}, token: ${u}`;throw new gu(C)}function U(){let S=`Syntax error at line: ${a}, column: ${u-o}, token: ${u}`;throw new gu(S)}for(;u0&&r[r.length-1][0]==="word"&&r[r.length-1][1]==="url",r.push(["(","(",a,u-o,a,l-o,u]);break;case Eh:c--,f=f&&c>0,r.push([")",")",a,u-o,a,l-o,u]);break;case hu:case Sh:g=p===hu?"'":'"',l=u;do for(v=!1,l=s.indexOf(g,l+1),l===-1&&H("quote",g),N=l;s.charCodeAt(N-1)===du;)N-=1,v=!v;while(v);r.push(["string",s.slice(u,l+1),a,u-o,a,l-o,u]),u=l;break;case Ph:Ar.lastIndex=u+1,Ar.test(s),Ar.lastIndex===0?l=s.length-1:l=Ar.lastIndex-2,r.push(["atword",s.slice(u,l+1),a,u-o,a,l-o,u]),u=l;break;case du:l=u,p=s.charCodeAt(l+1),m&&p!==Cr&&p!==ts&&p!==bt&&p!==ns&&p!==ss&&p!==rs&&(l+=1),r.push(["word",s.slice(u,l+1),a,u-o,a,l-o,u]),u=l;break;case es:case Or:case Zn:l=u+1,$=s.slice(u+1,l+1);let S=s.slice(u-1,u);if(p===Or&&$.charCodeAt(0)===Or){l++,r.push(["word",s.slice(u,l),a,u-o,a,l-o,u]),u=l-1;break}r.push(["operator",s.slice(u,l),a,u-o,a,l-o,u]),u=l-1;break;default:if(p===Cr&&(s.charCodeAt(u+1)===Zn||n.loose&&!f&&s.charCodeAt(u+1)===Cr)){if(s.charCodeAt(u+1)===Zn)l=s.indexOf("*/",u+2)+1,l===0&&H("comment","*/");else{let O=s.indexOf(` -`,u+2);l=O!==-1?O-1:i}d=s.slice(u,l+1),x=d.split(` -`),h=x.length-1,h>0?(b=a+h,w=l-x[h].length):(b=a,w=o),r.push(["comment",d,a,u-o,b,l-w,u]),o=w,a=b,u=l}else if(p===Nh&&!Mh.test(s.slice(u+1,u+2)))l=u+1,r.push(["#",s.slice(u,l),a,u-o,a,l-o,u]),u=l-1;else if((p===qh||p===Dh)&&s.charCodeAt(u+1)===es){l=u+2;do l+=1,p=s.charCodeAt(l);while(l=mu&&p<=yu&&(C=Me),C.lastIndex=u+1,C.test(s),C.lastIndex===0?l=s.length-1:l=C.lastIndex-2,C===Me||p===Ch){let O=s.charCodeAt(l),ve=s.charCodeAt(l+1),Ss=s.charCodeAt(l+2);(O===Rh||O===Ih)&&(ve===Or||ve===es)&&Ss>=mu&&Ss<=yu&&(Me.lastIndex=l+2,Me.test(s),Me.lastIndex===0?l=s.length-1:l=Me.lastIndex-2)}r.push(["word",s.slice(u,l+1),a,u-o,a,l-o,u]),u=l}break}u++}return r}});var is=y((Db,xu)=>{xu.exports=function(e,n){if(n=typeof n=="number"?n:1/0,!n)return Array.isArray(e)?e.map(function(s){return s}):e;return r(e,1);function r(s,i){return s.reduce(function(o,a){return Array.isArray(a)&&i{bu.exports=function(t,e){for(var n=-1,r=[];(n=t.indexOf(e,n+1))!==-1;)r.push(n);return r}});var as=y((Mb,ku)=>{"use strict";function Fh(t,e){for(var n=1,r=t.length,s=t[0],i=t[0],o=1;o{"use strict";var us=class extends Error{constructor(e){super(e),this.name=this.constructor.name,this.message=e||"An error ocurred while parsing.",typeof Error.captureStackTrace=="function"?Error.captureStackTrace(this,this.constructor):this.stack=new Error(e).stack}};_u.exports=us});var Ou=y(($b,Cu)=>{"use strict";var Wh=Ba(),zh=$a(),Vh=za(),Yh=Ya(),Gh=Ka(),Kh=Qa(),Hh=Xa(),Qh=eu(),jh=ru(),Eu=su(),Jh=ou(),Su=uu(),Xh=cu(),Zh=vu(),ed=is(),td=os(),rd=as(),nd=Tu();function sd(t){return t.sort((e,n)=>e-n)}Cu.exports=class{constructor(e,n){let r={loose:!1};this.cache=[],this.input=e,this.options=Object.assign({},r,n),this.position=0,this.unbalanced=0,this.root=new Wh;let s=new zh;this.root.append(s),this.current=s,this.tokens=Zh(e,this.options)}parse(){return this.loop()}colon(){let e=this.currToken;this.newNode(new Yh({value:e[1],source:{start:{line:e[2],column:e[3]},end:{line:e[4],column:e[5]}},sourceIndex:e[6]})),this.position++}comma(){let e=this.currToken;this.newNode(new Gh({value:e[1],source:{start:{line:e[2],column:e[3]},end:{line:e[4],column:e[5]}},sourceIndex:e[6]})),this.position++}comment(){let e=!1,n=this.currToken[1].replace(/\/\*|\*\//g,""),r;this.options.loose&&n.startsWith("//")&&(n=n.substring(2),e=!0),r=new Kh({value:n,inline:e,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(r),this.position++}error(e,n){throw new nd(e+` at line: ${n[2]}, column ${n[3]}`)}loop(){for(;this.position0&&(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 n=new jh({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(n)}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 e=1,n=this.position+1,r=this.currToken,s;for(;n=this.tokens.length-1&&!this.current.unbalanced)&&(this.current.unbalanced--,this.current.unbalanced<0&&this.error("Expected opening parenthesis",e),!this.current.unbalanced&&this.cache.length&&(this.current=this.cache.pop()))}space(){let e=this.currToken;this.position===this.tokens.length-1||this.nextToken[0]===","||this.nextToken[0]===")"?(this.current.last.raws.after+=e[1],this.position++):(this.spaces=e[1],this.position++)}unicodeRange(){let e=this.currToken;this.newNode(new Xh({value:e[1],source:{start:{line:e[2],column:e[3]},end:{line:e[4],column:e[5]}},sourceIndex:e[6]})),this.position++}splitWord(){let e=this.nextToken,n=this.currToken[1],r=/^[\+\-]?((\d+(\.\d*)?)|(\.\d+))([eE][\+\-]?\d+)?/,s=/^(?!\#([a-z0-9]+))[\#\{\}]/gi,i,o;if(!s.test(n))for(;e&&e[0]==="word";){this.position++;let a=this.currToken[1];n+=a,e=this.nextToken}i=td(n,"@"),o=sd(rd(ed([[0],i]))),o.forEach((a,u)=>{let c=o[u+1]||n.length,f=n.slice(a,c),p;if(~i.indexOf(a))p=new Vh({value:f.slice(1),source:{start:{line:this.currToken[2],column:this.currToken[3]+a},end:{line:this.currToken[4],column:this.currToken[3]+(c-1)}},sourceIndex:this.currToken[6]+o[u]});else if(r.test(this.currToken[1])){let l=f.replace(r,"");p=new Qh({value:f.replace(l,""),source:{start:{line:this.currToken[2],column:this.currToken[3]+a},end:{line:this.currToken[4],column:this.currToken[3]+(c-1)}},sourceIndex:this.currToken[6]+o[u],unit:l})}else p=new(e&&e[0]==="("?Hh:Su)({value:f,source:{start:{line:this.currToken[2],column:this.currToken[3]+a},end:{line:this.currToken[4],column:this.currToken[3]+(c-1)}},sourceIndex:this.currToken[6]+o[u]}),p.type==="word"?(p.isHex=/^#(.+)/.test(f),p.isColor=/^#([0-9a-f]{3}|[0-9a-f]{4}|[0-9a-f]{6}|[0-9a-f]{8})$/i.test(f)):this.cache.push(this.current);this.newNode(p)}),this.position++}string(){let e=this.currToken,n=this.currToken[1],r=/^(\"|\')/,s=r.test(n),i="",o;s&&(i=n.match(r)[0],n=n.slice(1,n.length-1)),o=new Jh({value:n,source:{start:{line:e[2],column:e[3]},end:{line:e[4],column:e[5]}},sourceIndex:e[6],quoted:s}),o.raws.quote=i,this.newNode(o),this.position++}word(){return this.splitWord()}newNode(e){return this.spaces&&(e.raws.before+=this.spaces,this.spaces=""),this.current.append(e)}get currToken(){return this.tokens[this.position]}get nextToken(){return this.tokens[this.position+1]}get prevToken(){return this.tokens[this.position-1]}}});var we=y((Pr,qu)=>{"use strict";Pr.__esModule=!0;var Iu=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t};function cd(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}var fd=function t(e,n){if((typeof e>"u"?"undefined":Iu(e))!=="object")return e;var r=new e.constructor;for(var s in e)if(e.hasOwnProperty(s)){var i=e[s],o=typeof i>"u"?"undefined":Iu(i);s==="parent"&&o==="object"?n&&(r[s]=n):i instanceof Array?r[s]=i.map(function(a){return t(a,r)}):r[s]=t(i,r)}return r},pd=function(){function t(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};cd(this,t);for(var n in e)this[n]=e[n];var r=e.spaces;r=r===void 0?{}:r;var s=r.before,i=s===void 0?"":s,o=r.after,a=o===void 0?"":o;this.spaces={before:i,after:a}}return t.prototype.remove=function(){return this.parent&&this.parent.removeChild(this),this.parent=void 0,this},t.prototype.replaceWith=function(){if(this.parent){for(var n in arguments)this.parent.insertBefore(this,arguments[n]);this.remove()}return this},t.prototype.next=function(){return this.parent.at(this.parent.index(this)+1)},t.prototype.prev=function(){return this.parent.at(this.parent.index(this)-1)},t.prototype.clone=function(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},r=fd(this);for(var s in n)r[s]=n[s];return r},t.prototype.toString=function(){return[this.spaces.before,String(this.value),this.spaces.after].join("")},t}();Pr.default=pd;qu.exports=Pr.default});var L=y(F=>{"use strict";F.__esModule=!0;var Hb=F.TAG="tag",Qb=F.STRING="string",jb=F.SELECTOR="selector",Jb=F.ROOT="root",Xb=F.PSEUDO="pseudo",Zb=F.NESTING="nesting",ek=F.ID="id",tk=F.COMMENT="comment",rk=F.COMBINATOR="combinator",nk=F.CLASS="class",sk=F.ATTRIBUTE="attribute",ik=F.UNIVERSAL="universal"});var Ir=y((Rr,Du)=>{"use strict";Rr.__esModule=!0;var hd=function(){function t(e,n){for(var r=0;r=r&&(this.indexes[i]=s-1);return this},e.prototype.removeAll=function(){for(var i=this.nodes,r=Array.isArray(i),s=0,i=r?i:i[Symbol.iterator]();;){var o;if(r){if(s>=i.length)break;o=i[s++]}else{if(s=i.next(),s.done)break;o=s.value}var a=o;a.parent=void 0}return this.nodes=[],this},e.prototype.empty=function(){return this.removeAll()},e.prototype.insertAfter=function(r,s){var i=this.index(r);this.nodes.splice(i+1,0,s);var o=void 0;for(var a in this.indexes)o=this.indexes[a],i<=o&&(this.indexes[a]=o+this.nodes.length);return this},e.prototype.insertBefore=function(r,s){var i=this.index(r);this.nodes.splice(i,0,s);var o=void 0;for(var a in this.indexes)o=this.indexes[a],i<=o&&(this.indexes[a]=o+this.nodes.length);return this},e.prototype.each=function(r){this.lastEach||(this.lastEach=0),this.indexes||(this.indexes={}),this.lastEach++;var s=this.lastEach;if(this.indexes[s]=0,!!this.length){for(var i=void 0,o=void 0;this.indexes[s]{"use strict";qr.__esModule=!0;var _d=Ir(),Td=Sd(_d),Ed=L();function Sd(t){return t&&t.__esModule?t:{default:t}}function Cd(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Od(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:t}function Ad(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var Nd=function(t){Ad(e,t);function e(n){Cd(this,e);var r=Od(this,t.call(this,n));return r.type=Ed.ROOT,r}return e.prototype.toString=function(){var r=this.reduce(function(s,i){var o=String(i);return o?s+o+",":""},"").slice(0,-1);return this.trailingComma?r+",":r},e}(Td.default);qr.default=Nd;Lu.exports=qr.default});var Fu=y((Dr,Bu)=>{"use strict";Dr.__esModule=!0;var Pd=Ir(),Rd=qd(Pd),Id=L();function qd(t){return t&&t.__esModule?t:{default:t}}function Dd(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Ld(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:t}function Md(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var Bd=function(t){Md(e,t);function e(n){Dd(this,e);var r=Ld(this,t.call(this,n));return r.type=Id.SELECTOR,r}return e}(Rd.default);Dr.default=Bd;Bu.exports=Dr.default});var Be=y((Lr,$u)=>{"use strict";Lr.__esModule=!0;var Fd=function(){function t(e,n){for(var r=0;r{"use strict";Mr.__esModule=!0;var Kd=Be(),Hd=jd(Kd),Qd=L();function jd(t){return t&&t.__esModule?t:{default:t}}function Jd(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Xd(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:t}function Zd(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var em=function(t){Zd(e,t);function e(n){Jd(this,e);var r=Xd(this,t.call(this,n));return r.type=Qd.CLASS,r}return e.prototype.toString=function(){return[this.spaces.before,this.ns,"."+this.value,this.spaces.after].join("")},e}(Hd.default);Mr.default=em;Uu.exports=Mr.default});var Vu=y((Br,zu)=>{"use strict";Br.__esModule=!0;var tm=we(),rm=sm(tm),nm=L();function sm(t){return t&&t.__esModule?t:{default:t}}function im(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function om(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:t}function am(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var um=function(t){am(e,t);function e(n){im(this,e);var r=om(this,t.call(this,n));return r.type=nm.COMMENT,r}return e}(rm.default);Br.default=um;zu.exports=Br.default});var Gu=y((Fr,Yu)=>{"use strict";Fr.__esModule=!0;var lm=Be(),cm=pm(lm),fm=L();function pm(t){return t&&t.__esModule?t:{default:t}}function hm(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function dm(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:t}function mm(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var ym=function(t){mm(e,t);function e(n){hm(this,e);var r=dm(this,t.call(this,n));return r.type=fm.ID,r}return e.prototype.toString=function(){return[this.spaces.before,this.ns,"#"+this.value,this.spaces.after].join("")},e}(cm.default);Fr.default=ym;Yu.exports=Fr.default});var Hu=y(($r,Ku)=>{"use strict";$r.__esModule=!0;var gm=Be(),wm=xm(gm),vm=L();function xm(t){return t&&t.__esModule?t:{default:t}}function bm(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function km(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:t}function _m(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var Tm=function(t){_m(e,t);function e(n){bm(this,e);var r=km(this,t.call(this,n));return r.type=vm.TAG,r}return e}(wm.default);$r.default=Tm;Ku.exports=$r.default});var ju=y((Ur,Qu)=>{"use strict";Ur.__esModule=!0;var Em=we(),Sm=Om(Em),Cm=L();function Om(t){return t&&t.__esModule?t:{default:t}}function Am(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Nm(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:t}function Pm(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var Rm=function(t){Pm(e,t);function e(n){Am(this,e);var r=Nm(this,t.call(this,n));return r.type=Cm.STRING,r}return e}(Sm.default);Ur.default=Rm;Qu.exports=Ur.default});var Xu=y((Wr,Ju)=>{"use strict";Wr.__esModule=!0;var Im=Ir(),qm=Lm(Im),Dm=L();function Lm(t){return t&&t.__esModule?t:{default:t}}function Mm(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Bm(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:t}function Fm(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var $m=function(t){Fm(e,t);function e(n){Mm(this,e);var r=Bm(this,t.call(this,n));return r.type=Dm.PSEUDO,r}return e.prototype.toString=function(){var r=this.length?"("+this.map(String).join(",")+")":"";return[this.spaces.before,String(this.value),r,this.spaces.after].join("")},e}(qm.default);Wr.default=$m;Ju.exports=Wr.default});var el=y((zr,Zu)=>{"use strict";zr.__esModule=!0;var Um=Be(),Wm=Vm(Um),zm=L();function Vm(t){return t&&t.__esModule?t:{default:t}}function Ym(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Gm(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:t}function Km(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var Hm=function(t){Km(e,t);function e(n){Ym(this,e);var r=Gm(this,t.call(this,n));return r.type=zm.ATTRIBUTE,r.raws={},r}return e.prototype.toString=function(){var r=[this.spaces.before,"[",this.ns,this.attribute];return this.operator&&r.push(this.operator),this.value&&r.push(this.value),this.raws.insensitive?r.push(this.raws.insensitive):this.insensitive&&r.push(" i"),r.push("]"),r.concat(this.spaces.after).join("")},e}(Wm.default);zr.default=Hm;Zu.exports=zr.default});var rl=y((Vr,tl)=>{"use strict";Vr.__esModule=!0;var Qm=Be(),jm=Xm(Qm),Jm=L();function Xm(t){return t&&t.__esModule?t:{default:t}}function Zm(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function ey(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:t}function ty(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var ry=function(t){ty(e,t);function e(n){Zm(this,e);var r=ey(this,t.call(this,n));return r.type=Jm.UNIVERSAL,r.value="*",r}return e}(jm.default);Vr.default=ry;tl.exports=Vr.default});var sl=y((Yr,nl)=>{"use strict";Yr.__esModule=!0;var ny=we(),sy=oy(ny),iy=L();function oy(t){return t&&t.__esModule?t:{default:t}}function ay(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function uy(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:t}function ly(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var cy=function(t){ly(e,t);function e(n){ay(this,e);var r=uy(this,t.call(this,n));return r.type=iy.COMBINATOR,r}return e}(sy.default);Yr.default=cy;nl.exports=Yr.default});var ol=y((Gr,il)=>{"use strict";Gr.__esModule=!0;var fy=we(),py=dy(fy),hy=L();function dy(t){return t&&t.__esModule?t:{default:t}}function my(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function yy(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:t}function gy(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var wy=function(t){gy(e,t);function e(n){my(this,e);var r=yy(this,t.call(this,n));return r.type=hy.NESTING,r.value="&",r}return e}(py.default);Gr.default=wy;il.exports=Gr.default});var ul=y((Kr,al)=>{"use strict";Kr.__esModule=!0;Kr.default=vy;function vy(t){return t.sort(function(e,n){return e-n})}al.exports=Kr.default});var gl=y((jr,yl)=>{"use strict";jr.__esModule=!0;jr.default=Ny;var ll=39,xy=34,ls=92,cl=47,kt=10,cs=32,fs=12,ps=9,hs=13,fl=43,pl=62,hl=126,dl=124,by=44,ky=40,_y=41,Ty=91,Ey=93,Sy=59,ml=42,Cy=58,Oy=38,Ay=64,Hr=/[ \n\t\r\{\(\)'"\\;/]/g,Qr=/[ \n\t\r\(\)\*:;@!&'"\+\|~>,\[\]\\]|\/(?=\*)/g;function Ny(t){for(var e=[],n=t.css.valueOf(),r=void 0,s=void 0,i=void 0,o=void 0,a=void 0,u=void 0,c=void 0,f=void 0,p=void 0,l=void 0,g=void 0,x=n.length,h=-1,d=1,m=0,b=function(v,N){if(t.safe)n+=N,s=n.length-1;else throw t.error("Unclosed "+v,d,m-h,m)};m0?(f=d+a,p=s-o[a].length):(f=d,p=h),e.push(["comment",u,d,m-h,f,s-p,m]),h=p,d=f,m=s):(Qr.lastIndex=m+1,Qr.test(n),Qr.lastIndex===0?s=n.length-1:s=Qr.lastIndex-2,e.push(["word",n.slice(m,s+1),d,m-h,d,s-h,m]),m=s);break}m++}return e}yl.exports=jr.default});var xl=y((Jr,vl)=>{"use strict";Jr.__esModule=!0;var Py=function(){function t(e,n){for(var r=0;r1?(o[0]===""&&(o[0]=!0),a.attribute=this.parseValue(o[2]),a.namespace=this.parseNamespace(o[0])):a.attribute=this.parseValue(i[0]),r=new Zy.default(a),i[2]){var u=i[2].split(/(\s+i\s*?)$/),c=u[0].trim();r.value=this.lossy?c:u[0],u[1]&&(r.insensitive=!0,this.lossy||(r.raws.insensitive=u[1])),r.quoted=c[0]==="'"||c[0]==='"',r.raws.unquoted=r.quoted?c.slice(1,-1):c}this.newNode(r),this.position++},t.prototype.combinator=function(){if(this.currToken[1]==="|")return this.namespace();for(var n=new ng.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.position1&&n.nextToken&&n.nextToken[0]==="("&&n.error("Misplaced parenthesis.")})}else this.error('Unexpected "'+this.currToken[0]+'" found.')},t.prototype.space=function(){var n=this.currToken;this.position===0||this.prevToken[0]===","||this.prevToken[0]==="("?(this.spaces=this.parseSpace(n[1]),this.position++):this.position===this.tokens.length-1||this.nextToken[0]===","||this.nextToken[0]===")"?(this.current.last.spaces.after=this.parseSpace(n[1]),this.position++):this.combinator()},t.prototype.string=function(){var n=this.currToken;this.newNode(new Qy.default({value:this.currToken[1],source:{start:{line:n[2],column:n[3]},end:{line:n[4],column:n[5]}},sourceIndex:n[6]})),this.position++},t.prototype.universal=function(n){var r=this.nextToken;if(r&&r[1]==="|")return this.position++,this.namespace();this.newNode(new tg.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]}),n),this.position++},t.prototype.splitWord=function(n,r){for(var s=this,i=this.nextToken,o=this.currToken[1];i&&i[0]==="word";){this.position++;var a=this.currToken[1];if(o+=a,a.lastIndexOf("\\")===a.length-1){var u=this.nextToken;u&&u[0]==="space"&&(o+=this.parseSpace(u[1]," "),this.position++)}i=this.nextToken}var c=(0,ds.default)(o,"."),f=(0,ds.default)(o,"#"),p=(0,ds.default)(o,"#{");p.length&&(f=f.filter(function(g){return!~p.indexOf(g)}));var l=(0,ag.default)((0,Ly.default)((0,Iy.default)([[0],c,f])));l.forEach(function(g,x){var h=l[x+1]||o.length,d=o.slice(g,h);if(x===0&&r)return r.call(s,d,l.length);var m=void 0;~c.indexOf(g)?m=new Uy.default({value:d.slice(1),source:{start:{line:s.currToken[2],column:s.currToken[3]+g},end:{line:s.currToken[4],column:s.currToken[3]+(h-1)}},sourceIndex:s.currToken[6]+l[x]}):~f.indexOf(g)?m=new Yy.default({value:d.slice(1),source:{start:{line:s.currToken[2],column:s.currToken[3]+g},end:{line:s.currToken[4],column:s.currToken[3]+(h-1)}},sourceIndex:s.currToken[6]+l[x]}):m=new Ky.default({value:d,source:{start:{line:s.currToken[2],column:s.currToken[3]+g},end:{line:s.currToken[4],column:s.currToken[3]+(h-1)}},sourceIndex:s.currToken[6]+l[x]}),s.newNode(m,n)}),this.position++},t.prototype.word=function(n){var r=this.nextToken;return r&&r[1]==="|"?(this.position++,this.namespace()):this.splitWord(n)},t.prototype.loop=function(){for(;this.position{"use strict";Xr.__esModule=!0;var dg=function(){function t(e,n){for(var r=0;r1&&arguments[1]!==void 0?arguments[1]:{},s=new yg.default({css:n,error:function(o){throw new Error(o)},options:r});return this.res=s,this.func(s),this},dg(t,[{key:"result",get:function(){return String(this.res)}}]),t}();Xr.default=vg;bl.exports=Xr.default});var ws=y(gs=>{"use strict";Object.defineProperty(gs,"__esModule",{value:!0});function _g(t){this.after=t.after,this.before=t.before,this.type=t.type,this.value=t.value,this.sourceIndex=t.sourceIndex}gs.default=_g});var xs=y(vs=>{"use strict";Object.defineProperty(vs,"__esModule",{value:!0});var Tg=ws(),Sl=Eg(Tg);function Eg(t){return t&&t.__esModule?t:{default:t}}function _t(t){var e=this;this.constructor(t),this.nodes=t.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(n){n.parent=e})}_t.prototype=Object.create(Sl.default.prototype);_t.constructor=Sl.default;_t.prototype.walk=function(e,n){for(var r=typeof e=="string"||e instanceof RegExp,s=r?n:e,i=typeof e=="string"?new RegExp(e):e,o=0;o{"use strict";Object.defineProperty(Tt,"__esModule",{value:!0});Tt.parseMediaFeature=Al;Tt.parseMediaQuery=ks;Tt.parseMediaList=Og;var Sg=ws(),Cl=Ol(Sg),Cg=xs(),bs=Ol(Cg);function Ol(t){return t&&t.__esModule?t:{default:t}}function Al(t){var e=arguments.length<=1||arguments[1]===void 0?0:arguments[1],n=[{mode:"normal",character:null}],r=[],s=0,i="",o=null,a=null,u=e,c=t;t[0]==="("&&t[t.length-1]===")"&&(c=t.substring(1,t.length-1),u++);for(var f=0;f0&&(n[c-1].after=i.before),i.type===void 0){if(c>0){if(n[c-1].type==="media-feature-expression"){i.type="keyword";continue}if(n[c-1].value==="not"||n[c-1].value==="only"){i.type="media-type";continue}if(n[c-1].value==="and"){i.type="media-feature-expression";continue}n[c-1].type==="media-type"&&(n[c+1]?i.type=n[c+1].type==="media-feature-expression"?"keyword":"media-feature-expression":i.type="media-feature-expression")}if(c===0){if(!n[c+1]){i.type="media-type";continue}if(n[c+1]&&(n[c+1].type==="media-feature-expression"||n[c+1].type==="keyword")){i.type="media-type";continue}if(n[c+2]){if(n[c+2].type==="media-feature-expression"){i.type="media-type",n[c+1].type="keyword";continue}if(n[c+2].type==="keyword"){i.type="keyword",n[c+1].type="media-type";continue}}if(n[c+3]&&n[c+3].type==="media-feature-expression"){i.type="keyword",n[c+1].type="media-type",n[c+2].type="keyword";continue}}}return n}function Og(t){var e=[],n=0,r=0,s=/^(\s*)url\s*\(/.exec(t);if(s!==null){for(var i=s[0].length,o=1;o>0;){var a=t[i];a==="("&&o++,a===")"&&o--,i++}e.unshift(new Cl.default({type:"url",value:t.substring(0,i).trim(),sourceIndex:s[1].length,before:s[1],after:/^(\s*)/.exec(t.substring(i))[1]})),n=i}for(var u=n;u{"use strict";Object.defineProperty(_s,"__esModule",{value:!0});_s.default=Ig;var Ag=xs(),Ng=Rg(Ag),Pg=Nl();function Rg(t){return t&&t.__esModule?t:{default:t}}function Ig(t){return new Ng.default({nodes:(0,Pg.parseMediaList)(t),type:"media-query-list",value:t.trim()})}});var zg={};Cs(zg,{languages:()=>Ul,options:()=>zl,parsers:()=>en,printers:()=>Wg});var jl=(t,e,n,r)=>{if(!(t&&e==null))return e.replaceAll?e.replaceAll(n,r):n.global?e.replace(n,r):e.split(n).join(r)},T=jl;var St="'",As='"';function Jl(t,e){let n=e===!0||e===St?St:As,r=n===St?As:St,s=0,i=0;for(let o of t)o===n?s++:o===r&&i++;return s>i?r:n}var Ns=Jl;function Xl(t,e,n){let r=e==='"'?"'":'"',i=T(!1,t,/\\(.)|(["'])/gs,(o,a,u)=>a===r?a:u===e?"\\"+u:u||(n&&/^[^\n\r"'0-7\\bfnrt-vx\u2028\u2029]$/.test(a)?a:"\\"+a));return e+i+e}var Ps=Xl;function Zl(t,e){let n=t.slice(1,-1),r=e.parser==="json"||e.parser==="json5"&&e.quoteProps==="preserve"&&!e.singleQuote?'"':e.__isInHtmlAttribute?"'":Ns(n,e.singleQuote);return Ps(n,r,!(e.parser==="css"||e.parser==="less"||e.parser==="scss"||e.__embeddedInHtml))}var Ct=Zl;function ec(t){return Array.isArray(t)&&t.length>0}var ee=ec;var Fe="string",$e="array",Ue="cursor",xe="indent",be="align",We="trim",ke="group",te="fill",le="if-break",ze="indent-if-break",Ve="line-suffix",Ye="line-suffix-boundary",Q="line",Ge="label",_e="break-parent",Ot=new Set([Ue,xe,be,We,ke,te,le,ze,Ve,Ye,Q,Ge,_e]);function tc(t){if(typeof t=="string")return Fe;if(Array.isArray(t))return $e;if(!t)return;let{type:e}=t;if(Ot.has(e))return e}var Ke=tc;var rc=t=>new Intl.ListFormat("en-US",{type:"disjunction"}).format(t);function nc(t){let e=t===null?"null":typeof t;if(e!=="string"&&e!=="object")return`Unexpected doc '${e}', -Expected it to be 'string' or 'object'.`;if(Ke(t))throw new Error("doc is valid.");let n=Object.prototype.toString.call(t);if(n!=="[object Object]")return`Unexpected doc '${n}'.`;let r=rc([...Ot].map(s=>`'${s}'`));return`Unexpected doc.type '${t.type}'. -Expected it to be ${r}.`}var tn=class extends Error{name="InvalidDocError";constructor(e){super(nc(e)),this.doc=e}},rn=tn;var Rs=()=>{},ce=Rs,At=Rs;function q(t){return ce(t),{type:xe,contents:t}}function Is(t,e){return ce(e),{type:be,contents:e,n:t}}function D(t,e={}){return ce(t),At(e.expandedStates,!0),{type:ke,id:e.id,contents:t,break:!!e.shouldBreak,expandedStates:e.expandedStates}}function qs(t){return Is({type:"root"},t)}function fe(t){return Is(-1,t)}function He(t){return At(t),{type:te,parts:t}}function Nt(t,e="",n={}){return ce(t),e!==""&&ce(e),{type:le,breakContents:t,flatContents:e,groupId:n.groupId}}var Qe={type:_e};var sc={type:Q,hard:!0};var A={type:Q},M={type:Q,soft:!0},_=[sc,Qe];function Y(t,e){ce(t),At(e);let n=[];for(let r=0;r{if(!(t&&e==null))return Array.isArray(e)||typeof e=="string"?e[n<0?e.length+n:n]:e.at(n)},G=ic;var Ds=t=>{if(Array.isArray(t))return t;if(t.type!==te)throw new Error(`Expect doc to be 'array' or '${te}'.`);return t.parts};function oc(t,e){if(typeof t=="string")return e(t);let n=new Map;return r(t);function r(i){if(n.has(i))return n.get(i);let o=s(i);return n.set(i,o),o}function s(i){switch(Ke(i)){case $e:return e(i.map(r));case te:return e({...i,parts:i.parts.map(r)});case le:return e({...i,breakContents:r(i.breakContents),flatContents:r(i.flatContents)});case ke:{let{expandedStates:o,contents:a}=i;return o?(o=o.map(r),a=o[0]):a=r(a),e({...i,contents:a,expandedStates:o})}case be:case xe:case ze:case Ge:case Ve:return e({...i,contents:r(i.contents)});case Fe:case Ue:case We:case Ye:case Q:case _e:return e(i);default:throw new rn(i)}}}function ac(t){return t.type===Q&&!t.hard?t.soft?"":" ":t.type===le?t.flatContents:t}function Ls(t){return oc(t,ac)}var nn=class extends Error{name="UnexpectedNodeError";constructor(e,n,r="type"){super(`Unexpected ${n} node ${r}: ${JSON.stringify(e[r])}.`),this.node=e}},Ms=nn;function uc(t){return(t==null?void 0:t.type)==="front-matter"}var Te=uc;var lc=new Set(["raw","raws","sourceIndex","source","before","after","trailingComma","spaces"]);function Bs(t,e,n){if(Te(t)&&t.lang==="yaml"&&delete e.value,t.type==="css-comment"&&n.type==="css-root"&&n.nodes.length>0&&((n.nodes[0]===t||Te(n.nodes[0])&&n.nodes[1]===t)&&(delete e.text,/^\*\s*@(?:format|prettier)\s*$/.test(t.text))||n.type==="css-root"&&G(!1,n.nodes,-1)===t))return null;if(t.type==="value-root"&&delete e.text,(t.type==="media-query"||t.type==="media-query-list"||t.type==="media-feature-expression")&&delete e.value,t.type==="css-rule"&&delete e.params,t.type==="selector-combinator"&&(e.value=T(!1,e.value,/\s+/g," ")),t.type==="media-feature"&&(e.value=T(!1,e.value," ","")),(t.type==="value-word"&&(t.isColor&&t.isHex||["initial","inherit","unset","revert"].includes(e.value.toLowerCase()))||t.type==="media-feature"||t.type==="selector-root-invalid"||t.type==="selector-pseudo")&&(e.value=e.value.toLowerCase()),t.type==="css-decl"&&(e.prop=e.prop.toLowerCase()),(t.type==="css-atrule"||t.type==="css-import")&&(e.name=e.name.toLowerCase()),t.type==="value-number"&&(e.unit=e.unit.toLowerCase()),t.type==="value-unknown"&&(e.value=T(!1,e.value,/;$/g,"")),(t.type==="media-feature"||t.type==="media-keyword"||t.type==="media-type"||t.type==="media-unknown"||t.type==="media-url"||t.type==="media-value"||t.type==="selector-attribute"||t.type==="selector-string"||t.type==="selector-class"||t.type==="selector-combinator"||t.type==="value-string")&&e.value&&(e.value=cc(e.value)),t.type==="selector-attribute"&&(e.attribute=e.attribute.trim(),e.namespace&&typeof e.namespace=="string"&&(e.namespace=e.namespace.trim(),e.namespace.length===0&&(e.namespace=!0)),e.value&&(e.value=T(!1,e.value.trim(),/^["']|["']$/g,""),delete e.quoted)),(t.type==="media-value"||t.type==="media-type"||t.type==="value-number"||t.type==="selector-root-invalid"||t.type==="selector-class"||t.type==="selector-combinator"||t.type==="selector-tag")&&e.value&&(e.value=T(!1,e.value,/([\d+.Ee-]+)([A-Za-z]*)/g,(r,s,i)=>{let o=Number(s);return Number.isNaN(o)?r:o+i.toLowerCase()})),t.type==="selector-tag"){let r=t.value.toLowerCase();["from","to"].includes(r)&&(e.value=r)}if(t.type==="css-atrule"&&t.name.toLowerCase()==="supports"&&delete e.value,t.type==="selector-unknown"&&delete e.value,t.type==="value-comma_group"){let r=t.groups.findIndex(s=>s.type==="value-number"&&s.unit==="...");r!==-1&&(e.groups[r].unit="",e.groups.splice(r+1,0,{type:"value-word",value:"...",isColor:!1,isHex:!1}))}if(t.type==="value-comma_group"&&t.groups.some(r=>r.type==="value-atword"&&r.value.endsWith("[")||r.type==="value-word"&&r.value.startsWith("]")))return{type:"value-atword",value:t.groups.map(r=>r.value).join(""),group:{open:null,close:null,groups:[],type:"value-paren_group"}}}Bs.ignoredProperties=lc;function cc(t){return T(!1,T(!1,t,"'",'"'),/\\([^\dA-Fa-f])/g,"$1")}var Fs=Bs;async function fc(t,e){if(t.lang==="yaml"){let n=t.value.trim(),r=n?await e(n,{parser:"yaml"}):"";return qs([t.startDelimiter,_,r,r?_:"",t.endDelimiter])}}var $s=fc;function Us(t){let{node:e}=t;if(e.type==="front-matter")return async n=>{let r=await $s(e,n);return r?[r,_]:void 0}}Us.getVisitorKeys=t=>t.type==="css-root"?["frontMatter"]:[];var Ws=Us;var re=ue(Qs(),1);function bc(t){if(!t.startsWith("#!"))return"";let e=t.indexOf(` -`);return e===-1?t:t.slice(0,e)}var js=bc;function Js(t){let e=js(t);e&&(t=t.slice(e.length+1));let n=(0,re.extract)(t),{pragmas:r,comments:s}=(0,re.parseWithComments)(n);return{shebang:e,text:t,pragmas:r,comments:s}}function Xs(t){let{pragmas:e}=Js(t);return Object.prototype.hasOwnProperty.call(e,"prettier")||Object.prototype.hasOwnProperty.call(e,"format")}function Zs(t){let{shebang:e,text:n,pragmas:r,comments:s}=Js(t),i=(0,re.strip)(n),o=(0,re.print)({pragmas:{format:"",...r},comments:s.trimStart()});return(e?`${e} +`,beforeDecl:` +`,beforeOpen:" ",beforeRule:` +`,colon:": ",commentLeft:" ",commentRight:" ",emptyBody:"",indent:" ",semicolon:!1};function lc(t){return t[0].toUpperCase()+t.slice(1)}var nt=class{constructor(e){this.builder=e}atrule(e,s){let r="@"+e.name,n=e.params?this.rawValue(e,"params"):"";if(typeof e.raws.afterName<"u"?r+=e.raws.afterName:n&&(r+=" "),e.nodes)this.block(e,r+n);else{let i=(e.raws.between||"")+(s?";":"");this.builder(r+n+i,e)}}beforeAfter(e,s){let r;e.type==="decl"?r=this.raw(e,null,"beforeDecl"):e.type==="comment"?r=this.raw(e,null,"beforeComment"):s==="before"?r=this.raw(e,null,"beforeRule"):r=this.raw(e,null,"beforeClose");let n=e.parent,i=0;for(;n&&n.type!=="root";)i+=1,n=n.parent;if(r.includes(` +`)){let o=this.raw(e,null,"indent");if(o.length)for(let a=0;a0&&e.nodes[s].type==="comment";)s-=1;let r=this.raw(e,"semicolon");for(let n=0;n{if(n=u.raws[s],typeof n<"u")return!1})}return typeof n>"u"&&(n=xi[r]),o.rawCache[r]=n,n}rawBeforeClose(e){let s;return e.walk(r=>{if(r.nodes&&r.nodes.length>0&&typeof r.raws.after<"u")return s=r.raws.after,s.includes(` +`)&&(s=s.replace(/[^\n]+$/,"")),!1}),s&&(s=s.replace(/\S/g,"")),s}rawBeforeComment(e,s){let r;return e.walkComments(n=>{if(typeof n.raws.before<"u")return r=n.raws.before,r.includes(` +`)&&(r=r.replace(/[^\n]+$/,"")),!1}),typeof r>"u"?r=this.raw(s,null,"beforeDecl"):r&&(r=r.replace(/\S/g,"")),r}rawBeforeDecl(e,s){let r;return e.walkDecls(n=>{if(typeof n.raws.before<"u")return r=n.raws.before,r.includes(` +`)&&(r=r.replace(/[^\n]+$/,"")),!1}),typeof r>"u"?r=this.raw(s,null,"beforeRule"):r&&(r=r.replace(/\S/g,"")),r}rawBeforeOpen(e){let s;return e.walk(r=>{if(r.type!=="decl"&&(s=r.raws.between,typeof s<"u"))return!1}),s}rawBeforeRule(e){let s;return e.walk(r=>{if(r.nodes&&(r.parent!==e||e.first!==r)&&typeof r.raws.before<"u")return s=r.raws.before,s.includes(` +`)&&(s=s.replace(/[^\n]+$/,"")),!1}),s&&(s=s.replace(/\S/g,"")),s}rawColon(e){let s;return e.walkDecls(r=>{if(typeof r.raws.between<"u")return s=r.raws.between.replace(/[^\s:]/g,""),!1}),s}rawEmptyBody(e){let s;return e.walk(r=>{if(r.nodes&&r.nodes.length===0&&(s=r.raws.after,typeof s<"u"))return!1}),s}rawIndent(e){if(e.raws.indent)return e.raws.indent;let s;return e.walk(r=>{let n=r.parent;if(n&&n!==e&&n.parent&&n.parent===e&&typeof r.raws.before<"u"){let i=r.raws.before.split(` +`);return s=i[i.length-1],s=s.replace(/\S/g,""),!1}}),s}rawSemicolon(e){let s;return e.walk(r=>{if(r.nodes&&r.nodes.length&&r.last.type==="decl"&&(s=r.raws.semicolon,typeof s<"u"))return!1}),s}rawValue(e,s){let r=e[s],n=e.raws[s];return n&&n.value===r?n.raw:r}root(e){this.body(e),e.raws.after&&this.builder(e.raws.after)}rule(e){this.block(e,this.rawValue(e,"selector")),e.raws.ownSemicolon&&this.builder(e.raws.ownSemicolon,e,"end")}stringify(e,s){if(!this[e.type])throw new Error("Unknown AST node type "+e.type+". Maybe you need to change PostCSS stringifier.");this[e.type](e,s)}};bi.exports=nt;nt.default=nt});var it=y((uv,_i)=>{"use strict";var cc=Wt();function ns(t,e){new cc(e).stringify(t)}_i.exports=ns;ns.default=ns});var at=y((lv,ki)=>{"use strict";var{isClean:Yt,my:fc}=Ft(),pc=$t(),hc=Wt(),dc=it();function is(t,e){let s=new t.constructor;for(let r in t){if(!Object.prototype.hasOwnProperty.call(t,r)||r==="proxyCache")continue;let n=t[r],i=typeof n;r==="parent"&&i==="object"?e&&(s[r]=e):r==="source"?s[r]=n:Array.isArray(n)?s[r]=n.map(o=>is(o,s)):(i==="object"&&n!==null&&(n=is(n)),s[r]=n)}return s}var ot=class{constructor(e={}){this.raws={},this[Yt]=!1,this[fc]=!0;for(let s in e)if(s==="nodes"){this.nodes=[];for(let r of e[s])typeof r.clone=="function"?this.append(r.clone()):this.append(r)}else this[s]=e[s]}addToError(e){if(e.postcssNode=this,e.stack&&this.source&&/\n\s{4}at /.test(e.stack)){let s=this.source;e.stack=e.stack.replace(/\n\s{4}at /,`$&${s.input.from}:${s.start.line}:${s.start.column}$&`)}return e}after(e){return this.parent.insertAfter(this,e),this}assign(e={}){for(let s in e)this[s]=e[s];return this}before(e){return this.parent.insertBefore(this,e),this}cleanRaws(e){delete this.raws.before,delete this.raws.after,e||delete this.raws.between}clone(e={}){let s=is(this);for(let r in e)s[r]=e[r];return s}cloneAfter(e={}){let s=this.clone(e);return this.parent.insertAfter(this,s),s}cloneBefore(e={}){let s=this.clone(e);return this.parent.insertBefore(this,s),s}error(e,s={}){if(this.source){let{end:r,start:n}=this.rangeBy(s);return this.source.input.error(e,{column:n.column,line:n.line},{column:r.column,line:r.line},s)}return new pc(e)}getProxyProcessor(){return{get(e,s){return s==="proxyOf"?e:s==="root"?()=>e.root().toProxy():e[s]},set(e,s,r){return e[s]===r||(e[s]=r,(s==="prop"||s==="value"||s==="name"||s==="params"||s==="important"||s==="text")&&e.markDirty()),!0}}}markDirty(){if(this[Yt]){this[Yt]=!1;let e=this;for(;e=e.parent;)e[Yt]=!1}}next(){if(!this.parent)return;let e=this.parent.index(this);return this.parent.nodes[e+1]}positionBy(e,s){let r=this.source.start;if(e.index)r=this.positionInside(e.index,s);else if(e.word){s=this.toString();let n=s.indexOf(e.word);n!==-1&&(r=this.positionInside(n,s))}return r}positionInside(e,s){let r=s||this.toString(),n=this.source.start.column,i=this.source.start.line;for(let o=0;otypeof u=="object"&&u.toJSON?u.toJSON(null,s):u);else if(typeof a=="object"&&a.toJSON)r[o]=a.toJSON(null,s);else if(o==="source"){let u=s.get(a.input);u==null&&(u=i,s.set(a.input,i),i++),r[o]={end:a.end,inputId:u,start:a.start}}else r[o]=a}return n&&(r.inputs=[...s.keys()].map(o=>o.toJSON())),r}toProxy(){return this.proxyCache||(this.proxyCache=new Proxy(this,this.getProxyProcessor())),this.proxyCache}toString(e=dc){e.stringify&&(e=e.stringify);let s="";return e(this,r=>{s+=r}),s}warn(e,s,r){let n={node:this};for(let i in r)n[i]=r[i];return e.warn(s,n)}get proxyOf(){return this}};ki.exports=ot;ot.default=ot});var lt=y((cv,Ei)=>{"use strict";var mc=at(),ut=class extends mc{constructor(e){e&&typeof e.value<"u"&&typeof e.value!="string"&&(e={...e,value:String(e.value)}),super(e),this.type="decl"}get variable(){return this.prop.startsWith("--")||this.prop[0]==="$"}};Ei.exports=ut;ut.default=ut});var Oe=y((fv,Si)=>{"use strict";var yc=at(),ct=class extends yc{constructor(e){super(e),this.type="comment"}};Si.exports=ct;ct.default=ct});var re=y((pv,qi)=>{"use strict";var{isClean:Ti,my:Oi}=Ft(),Ci=lt(),Ai=Oe(),wc=at(),Ni,os,as,Pi;function Ri(t){return t.map(e=>(e.nodes&&(e.nodes=Ri(e.nodes)),delete e.source,e))}function Ii(t){if(t[Ti]=!1,t.proxyOf.nodes)for(let e of t.proxyOf.nodes)Ii(e)}var Y=class t extends wc{append(...e){for(let s of e){let r=this.normalize(s,this.last);for(let n of r)this.proxyOf.nodes.push(n)}return this.markDirty(),this}cleanRaws(e){if(super.cleanRaws(e),this.nodes)for(let s of this.nodes)s.cleanRaws(e)}each(e){if(!this.proxyOf.nodes)return;let s=this.getIterator(),r,n;for(;this.indexes[s]e[s](...r.map(n=>typeof n=="function"?(i,o)=>n(i.toProxy(),o):n)):s==="every"||s==="some"?r=>e[s]((n,...i)=>r(n.toProxy(),...i)):s==="root"?()=>e.root().toProxy():s==="nodes"?e.nodes.map(r=>r.toProxy()):s==="first"||s==="last"?e[s].toProxy():e[s]:e[s]},set(e,s,r){return e[s]===r||(e[s]=r,(s==="name"||s==="params"||s==="selector")&&e.markDirty()),!0}}}index(e){return typeof e=="number"?e:(e.proxyOf&&(e=e.proxyOf),this.proxyOf.nodes.indexOf(e))}insertAfter(e,s){let r=this.index(e),n=this.normalize(s,this.proxyOf.nodes[r]).reverse();r=this.index(e);for(let o of n)this.proxyOf.nodes.splice(r+1,0,o);let i;for(let o in this.indexes)i=this.indexes[o],r"u")e=[];else if(Array.isArray(e)){e=e.slice(0);for(let n of e)n.parent&&n.parent.removeChild(n,"ignore")}else if(e.type==="root"&&this.type!=="document"){e=e.nodes.slice(0);for(let n of e)n.parent&&n.parent.removeChild(n,"ignore")}else if(e.type)e=[e];else if(e.prop){if(typeof e.value>"u")throw new Error("Value field is missed in node creation");typeof e.value!="string"&&(e.value=String(e.value)),e=[new Ci(e)]}else if(e.selector)e=[new os(e)];else if(e.name)e=[new as(e)];else if(e.text)e=[new Ai(e)];else throw new Error("Unknown node type in node creation");return e.map(n=>(n[Oi]||t.rebuild(n),n=n.proxyOf,n.parent&&n.parent.removeChild(n),n[Ti]&&Ii(n),typeof n.raws.before>"u"&&s&&typeof s.raws.before<"u"&&(n.raws.before=s.raws.before.replace(/\S/g,"")),n.parent=this.proxyOf,n))}prepend(...e){e=e.reverse();for(let s of e){let r=this.normalize(s,this.first,"prepend").reverse();for(let n of r)this.proxyOf.nodes.unshift(n);for(let n in this.indexes)this.indexes[n]=this.indexes[n]+r.length}return this.markDirty(),this}push(e){return e.parent=this,this.proxyOf.nodes.push(e),this}removeAll(){for(let e of this.proxyOf.nodes)e.parent=void 0;return this.proxyOf.nodes=[],this.markDirty(),this}removeChild(e){e=this.index(e),this.proxyOf.nodes[e].parent=void 0,this.proxyOf.nodes.splice(e,1);let s;for(let r in this.indexes)s=this.indexes[r],s>=e&&(this.indexes[r]=s-1);return this.markDirty(),this}replaceValues(e,s,r){return r||(r=s,s={}),this.walkDecls(n=>{s.props&&!s.props.includes(n.prop)||s.fast&&!n.value.includes(s.fast)||(n.value=n.value.replace(e,r))}),this.markDirty(),this}some(e){return this.nodes.some(e)}walk(e){return this.each((s,r)=>{let n;try{n=e(s,r)}catch(i){throw s.addToError(i)}return n!==!1&&s.walk&&(n=s.walk(e)),n})}walkAtRules(e,s){return s?e instanceof RegExp?this.walk((r,n)=>{if(r.type==="atrule"&&e.test(r.name))return s(r,n)}):this.walk((r,n)=>{if(r.type==="atrule"&&r.name===e)return s(r,n)}):(s=e,this.walk((r,n)=>{if(r.type==="atrule")return s(r,n)}))}walkComments(e){return this.walk((s,r)=>{if(s.type==="comment")return e(s,r)})}walkDecls(e,s){return s?e instanceof RegExp?this.walk((r,n)=>{if(r.type==="decl"&&e.test(r.prop))return s(r,n)}):this.walk((r,n)=>{if(r.type==="decl"&&r.prop===e)return s(r,n)}):(s=e,this.walk((r,n)=>{if(r.type==="decl")return s(r,n)}))}walkRules(e,s){return s?e instanceof RegExp?this.walk((r,n)=>{if(r.type==="rule"&&e.test(r.selector))return s(r,n)}):this.walk((r,n)=>{if(r.type==="rule"&&r.selector===e)return s(r,n)}):(s=e,this.walk((r,n)=>{if(r.type==="rule")return s(r,n)}))}get first(){if(this.proxyOf.nodes)return this.proxyOf.nodes[0]}get last(){if(this.proxyOf.nodes)return this.proxyOf.nodes[this.proxyOf.nodes.length-1]}};Y.registerParse=t=>{Ni=t};Y.registerRule=t=>{os=t};Y.registerAtRule=t=>{as=t};Y.registerRoot=t=>{Pi=t};qi.exports=Y;Y.default=Y;Y.rebuild=t=>{t.type==="atrule"?Object.setPrototypeOf(t,as.prototype):t.type==="rule"?Object.setPrototypeOf(t,os.prototype):t.type==="decl"?Object.setPrototypeOf(t,Ci.prototype):t.type==="comment"?Object.setPrototypeOf(t,Ai.prototype):t.type==="root"&&Object.setPrototypeOf(t,Pi.prototype),t[Oi]=!0,t.nodes&&t.nodes.forEach(e=>{Y.rebuild(e)})}});var Gt=y((hv,Di)=>{"use strict";var zt=/[\t\n\f\r "#'()/;[\\\]{}]/g,Vt=/[\t\n\f\r !"#'():;@[\\\]{}]|\/(?=\*)/g,gc=/.[\r\n"'(/\\]/,Li=/[\da-f]/i;Di.exports=function(e,s={}){let r=e.css.valueOf(),n=s.ignoreErrors,i,o,a,u,c,f,p,l,w,x,h=r.length,d=0,m=[],b=[];function g(){return d}function v($){throw e.error("Unclosed "+$,d)}function R(){return b.length===0&&d>=h}function F($){if(b.length)return b.pop();if(d>=h)return;let T=$?$.ignoreUnclosed:!1;switch(i=r.charCodeAt(d),i){case 10:case 32:case 9:case 13:case 12:{o=d;do o+=1,i=r.charCodeAt(o);while(i===32||i===10||i===9||i===13||i===12);x=["space",r.slice(d,o)],d=o-1;break}case 91:case 93:case 123:case 125:case 58:case 59:case 41:{let O=String.fromCharCode(i);x=[O,O,d];break}case 40:{if(l=m.length?m.pop()[1]:"",w=r.charCodeAt(d+1),l==="url"&&w!==39&&w!==34&&w!==32&&w!==10&&w!==9&&w!==12&&w!==13){o=d;do{if(f=!1,o=r.indexOf(")",o+1),o===-1)if(n||T){o=d;break}else v("bracket");for(p=o;r.charCodeAt(p-1)===92;)p-=1,f=!f}while(f);x=["brackets",r.slice(d,o+1),d,o],d=o}else o=r.indexOf(")",d+1),u=r.slice(d,o+1),o===-1||gc.test(u)?x=["(","(",d]:(x=["brackets",u,d,o],d=o);break}case 39:case 34:{a=i===39?"'":'"',o=d;do{if(f=!1,o=r.indexOf(a,o+1),o===-1)if(n||T){o=d+1;break}else v("string");for(p=o;r.charCodeAt(p-1)===92;)p-=1,f=!f}while(f);x=["string",r.slice(d,o+1),d,o],d=o;break}case 64:{zt.lastIndex=d+1,zt.test(r),zt.lastIndex===0?o=r.length-1:o=zt.lastIndex-2,x=["at-word",r.slice(d,o+1),d,o],d=o;break}case 92:{for(o=d,c=!0;r.charCodeAt(o+1)===92;)o+=1,c=!c;if(i=r.charCodeAt(o+1),c&&i!==47&&i!==32&&i!==10&&i!==9&&i!==13&&i!==12&&(o+=1,Li.test(r.charAt(o)))){for(;Li.test(r.charAt(o+1));)o+=1;r.charCodeAt(o+1)===32&&(o+=1)}x=["word",r.slice(d,o+1),d,o],d=o;break}default:{i===47&&r.charCodeAt(d+1)===42?(o=r.indexOf("*/",d+2)+1,o===0&&(n||T?o=r.length:v("comment")),x=["comment",r.slice(d,o+1),d,o],d=o):(Vt.lastIndex=d+1,Vt.test(r),Vt.lastIndex===0?o=r.length-1:o=Vt.lastIndex-2,x=["word",r.slice(d,o+1),d,o],m.push(x),d=o);break}}return d++,x}function H($){b.push($)}return{back:H,endOfFile:R,nextToken:F,position:g}}});var jt=y((dv,Bi)=>{"use strict";var Mi=re(),Ce=class extends Mi{constructor(e){super(e),this.type="atrule"}append(...e){return this.proxyOf.nodes||(this.nodes=[]),super.append(...e)}prepend(...e){return this.proxyOf.nodes||(this.nodes=[]),super.prepend(...e)}};Bi.exports=Ce;Ce.default=Ce;Mi.registerAtRule(Ce)});var Ae=y((mv,Wi)=>{"use strict";var Ui=re(),Fi,$i,se=class extends Ui{constructor(e){super(e),this.type="root",this.nodes||(this.nodes=[])}normalize(e,s,r){let n=super.normalize(e);if(s){if(r==="prepend")this.nodes.length>1?s.raws.before=this.nodes[1].raws.before:delete s.raws.before;else if(this.first!==s)for(let i of n)i.raws.before=s.raws.before}return n}removeChild(e,s){let r=this.index(e);return!s&&r===0&&this.nodes.length>1&&(this.nodes[1].raws.before=this.nodes[r].raws.before),super.removeChild(e)}toResult(e={}){return new Fi(new $i,this,e).stringify()}};se.registerLazyResult=t=>{Fi=t};se.registerProcessor=t=>{$i=t};Wi.exports=se;se.default=se;Ui.registerRoot(se)});var us=y((yv,Yi)=>{"use strict";var ft={comma(t){return ft.split(t,[","],!0)},space(t){let e=[" ",` +`," "];return ft.split(t,e)},split(t,e,s){let r=[],n="",i=!1,o=0,a=!1,u="",c=!1;for(let f of t)c?c=!1:f==="\\"?c=!0:a?f===u&&(a=!1):f==='"'||f==="'"?(a=!0,u=f):f==="("?o+=1:f===")"?o>0&&(o-=1):o===0&&e.includes(f)&&(i=!0),i?(n!==""&&r.push(n.trim()),n="",i=!1):n+=f;return(s||n!=="")&&r.push(n.trim()),r}};Yi.exports=ft;ft.default=ft});var Ht=y((wv,Vi)=>{"use strict";var zi=re(),vc=us(),Ne=class extends zi{constructor(e){super(e),this.type="rule",this.nodes||(this.nodes=[])}get selectors(){return vc.comma(this.selector)}set selectors(e){let s=this.selector?this.selector.match(/,\s*/):null,r=s?s[0]:","+this.raw("between","beforeOpen");this.selector=e.join(r)}};Vi.exports=Ne;Ne.default=Ne;zi.registerRule(Ne)});var Kt=y((gv,Hi)=>{"use strict";var xc=lt(),bc=Gt(),_c=Oe(),kc=jt(),Ec=Ae(),Gi=Ht(),ji={empty:!0,space:!0};function Sc(t){for(let e=t.length-1;e>=0;e--){let s=t[e],r=s[3]||s[2];if(r)return r}}var ls=class{constructor(e){this.input=e,this.root=new Ec,this.current=this.root,this.spaces="",this.semicolon=!1,this.createTokenizer(),this.root.source={input:e,start:{column:1,line:1,offset:0}}}atrule(e){let s=new kc;s.name=e[1].slice(1),s.name===""&&this.unnamedAtrule(s,e),this.init(s,e[2]);let r,n,i,o=!1,a=!1,u=[],c=[];for(;!this.tokenizer.endOfFile();){if(e=this.tokenizer.nextToken(),r=e[0],r==="("||r==="["?c.push(r==="("?")":"]"):r==="{"&&c.length>0?c.push("}"):r===c[c.length-1]&&c.pop(),c.length===0)if(r===";"){s.source.end=this.getPosition(e[2]),s.source.end.offset++,this.semicolon=!0;break}else if(r==="{"){a=!0;break}else if(r==="}"){if(u.length>0){for(i=u.length-1,n=u[i];n&&n[0]==="space";)n=u[--i];n&&(s.source.end=this.getPosition(n[3]||n[2]),s.source.end.offset++)}this.end(e);break}else u.push(e);else u.push(e);if(this.tokenizer.endOfFile()){o=!0;break}}s.raws.between=this.spacesAndCommentsFromEnd(u),u.length?(s.raws.afterName=this.spacesAndCommentsFromStart(u),this.raw(s,"params",u),o&&(e=u[u.length-1],s.source.end=this.getPosition(e[3]||e[2]),s.source.end.offset++,this.spaces=s.raws.between,s.raws.between="")):(s.raws.afterName="",s.params=""),a&&(s.nodes=[],this.current=s)}checkMissedSemicolon(e){let s=this.colon(e);if(s===!1)return;let r=0,n;for(let i=s-1;i>=0&&(n=e[i],!(n[0]!=="space"&&(r+=1,r===2)));i--);throw this.input.error("Missed semicolon",n[0]==="word"?n[3]+1:n[2])}colon(e){let s=0,r,n,i;for(let[o,a]of e.entries()){if(r=a,n=r[0],n==="("&&(s+=1),n===")"&&(s-=1),s===0&&n===":")if(!i)this.doubleColon(r);else{if(i[0]==="word"&&i[1]==="progid")continue;return o}i=r}return!1}comment(e){let s=new _c;this.init(s,e[2]),s.source.end=this.getPosition(e[3]||e[2]),s.source.end.offset++;let r=e[1].slice(2,-2);if(/^\s*$/.test(r))s.text="",s.raws.left=r,s.raws.right="";else{let n=r.match(/^(\s*)([^]*\S)(\s*)$/);s.text=n[2],s.raws.left=n[1],s.raws.right=n[3]}}createTokenizer(){this.tokenizer=bc(this.input)}decl(e,s){let r=new xc;this.init(r,e[0][2]);let n=e[e.length-1];for(n[0]===";"&&(this.semicolon=!0,e.pop()),r.source.end=this.getPosition(n[3]||n[2]||Sc(e)),r.source.end.offset++;e[0][0]!=="word";)e.length===1&&this.unknownWord(e),r.raws.before+=e.shift()[1];for(r.source.start=this.getPosition(e[0][2]),r.prop="";e.length;){let c=e[0][0];if(c===":"||c==="space"||c==="comment")break;r.prop+=e.shift()[1]}r.raws.between="";let i;for(;e.length;)if(i=e.shift(),i[0]===":"){r.raws.between+=i[1];break}else i[0]==="word"&&/\w/.test(i[1])&&this.unknownWord([i]),r.raws.between+=i[1];(r.prop[0]==="_"||r.prop[0]==="*")&&(r.raws.before+=r.prop[0],r.prop=r.prop.slice(1));let o=[],a;for(;e.length&&(a=e[0][0],!(a!=="space"&&a!=="comment"));)o.push(e.shift());this.precheckMissedSemicolon(e);for(let c=e.length-1;c>=0;c--){if(i=e[c],i[1].toLowerCase()==="!important"){r.important=!0;let f=this.stringFrom(e,c);f=this.spacesFromEnd(e)+f,f!==" !important"&&(r.raws.important=f);break}else if(i[1].toLowerCase()==="important"){let f=e.slice(0),p="";for(let l=c;l>0;l--){let w=f[l][0];if(p.trim().indexOf("!")===0&&w!=="space")break;p=f.pop()[1]+p}p.trim().indexOf("!")===0&&(r.important=!0,r.raws.important=p,e=f)}if(i[0]!=="space"&&i[0]!=="comment")break}e.some(c=>c[0]!=="space"&&c[0]!=="comment")&&(r.raws.between+=o.map(c=>c[1]).join(""),o=[]),this.raw(r,"value",o.concat(e),s),r.value.includes(":")&&!s&&this.checkMissedSemicolon(e)}doubleColon(e){throw this.input.error("Double colon",{offset:e[2]},{offset:e[2]+e[1].length})}emptyRule(e){let s=new Gi;this.init(s,e[2]),s.selector="",s.raws.between="",this.current=s}end(e){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=this.getPosition(e[2]),this.current.source.end.offset++,this.current=this.current.parent):this.unexpectedClose(e)}endFile(){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,this.root.source.end=this.getPosition(this.tokenizer.position())}freeSemicolon(e){if(this.spaces+=e[1],this.current.nodes){let s=this.current.nodes[this.current.nodes.length-1];s&&s.type==="rule"&&!s.raws.ownSemicolon&&(s.raws.ownSemicolon=this.spaces,this.spaces="")}}getPosition(e){let s=this.input.fromOffset(e);return{column:s.col,line:s.line,offset:e}}init(e,s){this.current.push(e),e.source={input:this.input,start:this.getPosition(s)},e.raws.before=this.spaces,this.spaces="",e.type!=="comment"&&(this.semicolon=!1)}other(e){let s=!1,r=null,n=!1,i=null,o=[],a=e[1].startsWith("--"),u=[],c=e;for(;c;){if(r=c[0],u.push(c),r==="("||r==="[")i||(i=c),o.push(r==="("?")":"]");else if(a&&n&&r==="{")i||(i=c),o.push("}");else if(o.length===0)if(r===";")if(n){this.decl(u,a);return}else break;else if(r==="{"){this.rule(u);return}else if(r==="}"){this.tokenizer.back(u.pop()),s=!0;break}else r===":"&&(n=!0);else r===o[o.length-1]&&(o.pop(),o.length===0&&(i=null));c=this.tokenizer.nextToken()}if(this.tokenizer.endOfFile()&&(s=!0),o.length>0&&this.unclosedBracket(i),s&&n){if(!a)for(;u.length&&(c=u[u.length-1][0],!(c!=="space"&&c!=="comment"));)this.tokenizer.back(u.pop());this.decl(u,a)}else this.unknownWord(u)}parse(){let e;for(;!this.tokenizer.endOfFile();)switch(e=this.tokenizer.nextToken(),e[0]){case"space":this.spaces+=e[1];break;case";":this.freeSemicolon(e);break;case"}":this.end(e);break;case"comment":this.comment(e);break;case"at-word":this.atrule(e);break;case"{":this.emptyRule(e);break;default:this.other(e);break}this.endFile()}precheckMissedSemicolon(){}raw(e,s,r,n){let i,o,a=r.length,u="",c=!0,f,p;for(let l=0;lw+x[1],"");e.raws[s]={raw:l,value:u}}e[s]=u}rule(e){e.pop();let s=new Gi;this.init(s,e[0][2]),s.raws.between=this.spacesAndCommentsFromEnd(e),this.raw(s,"selector",e),this.current=s}spacesAndCommentsFromEnd(e){let s,r="";for(;e.length&&(s=e[e.length-1][0],!(s!=="space"&&s!=="comment"));)r=e.pop()[1]+r;return r}spacesAndCommentsFromStart(e){let s,r="";for(;e.length&&(s=e[0][0],!(s!=="space"&&s!=="comment"));)r+=e.shift()[1];return r}spacesFromEnd(e){let s,r="";for(;e.length&&(s=e[e.length-1][0],s==="space");)r=e.pop()[1]+r;return r}stringFrom(e,s){let r="";for(let n=s;n{});var Ji=y((bv,Qi)=>{var Tc="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict",Oc=(t,e=21)=>(s=e)=>{let r="",n=s;for(;n--;)r+=t[Math.random()*t.length|0];return r},Cc=(t=21)=>{let e="",s=t;for(;s--;)e+=Tc[Math.random()*64|0];return e};Qi.exports={nanoid:Cc,customAlphabet:Oc}});var cs=y((_v,Xi)=>{Xi.exports=class{}});var Re=y((Ev,ro)=>{"use strict";var{SourceMapConsumer:Ac,SourceMapGenerator:Nc}=Ki(),{fileURLToPath:Zi,pathToFileURL:Qt}={},{isAbsolute:hs,resolve:ds}={},{nanoid:Pc}=Ji(),fs=ss(),eo=$t(),Rc=cs(),ps=Symbol("fromOffsetCache"),Ic=!!(Ac&&Nc),to=!!(ds&&hs),Pe=class{constructor(e,s={}){if(e===null||typeof e>"u"||typeof e=="object"&&!e.toString)throw new Error(`PostCSS received ${e} instead of CSS string`);if(this.css=e.toString(),this.css[0]==="\uFEFF"||this.css[0]==="\uFFFE"?(this.hasBOM=!0,this.css=this.css.slice(1)):this.hasBOM=!1,s.from&&(!to||/^\w+:\/\//.test(s.from)||hs(s.from)?this.file=s.from:this.file=ds(s.from)),to&&Ic){let r=new Rc(this.css,s);if(r.text){this.map=r;let n=r.consumer().file;!this.file&&n&&(this.file=this.mapResolve(n))}}this.file||(this.id=""),this.map&&(this.map.file=this.from)}error(e,s,r,n={}){let i,o,a;if(s&&typeof s=="object"){let c=s,f=r;if(typeof c.offset=="number"){let p=this.fromOffset(c.offset);s=p.line,r=p.col}else s=c.line,r=c.column;if(typeof f.offset=="number"){let p=this.fromOffset(f.offset);o=p.line,a=p.col}else o=f.line,a=f.column}else if(!r){let c=this.fromOffset(s);s=c.line,r=c.col}let u=this.origin(s,r,o,a);return u?i=new eo(e,u.endLine===void 0?u.line:{column:u.column,line:u.line},u.endLine===void 0?u.column:{column:u.endColumn,line:u.endLine},u.source,u.file,n.plugin):i=new eo(e,o===void 0?s:{column:r,line:s},o===void 0?r:{column:a,line:o},this.css,this.file,n.plugin),i.input={column:r,endColumn:a,endLine:o,line:s,source:this.css},this.file&&(Qt&&(i.input.url=Qt(this.file).toString()),i.input.file=this.file),i}fromOffset(e){let s,r;if(this[ps])r=this[ps];else{let i=this.css.split(` +`);r=new Array(i.length);let o=0;for(let a=0,u=i.length;a=s)n=r.length-1;else{let i=r.length-2,o;for(;n>1),e=r[o+1])n=o+1;else{n=o;break}}return{col:e-r[n]+1,line:n+1}}mapResolve(e){return/^\w+:\/\//.test(e)?e:ds(this.map.consumer().sourceRoot||this.map.root||".",e)}origin(e,s,r,n){if(!this.map)return!1;let i=this.map.consumer(),o=i.originalPositionFor({column:s,line:e});if(!o.source)return!1;let a;typeof r=="number"&&(a=i.originalPositionFor({column:n,line:r}));let u;hs(o.source)?u=Qt(o.source):u=new URL(o.source,this.map.consumer().sourceRoot||Qt(this.map.mapFile));let c={column:o.column,endColumn:a&&a.column,endLine:a&&a.line,line:o.line,url:u.toString()};if(u.protocol==="file:")if(Zi)c.file=Zi(u);else throw new Error("file: protocol is not available in this PostCSS build");let f=i.sourceContentFor(o.source);return f&&(c.source=f),c}toJSON(){let e={};for(let s of["hasBOM","css","file","id"])this[s]!=null&&(e[s]=this[s]);return this.map&&(e.map={...this.map},e.map.consumerCache&&(e.map.consumerCache=void 0)),e}get from(){return this.file||this.id}};ro.exports=Pe;Pe.default=Pe;fs&&fs.registerInput&&fs.registerInput(Pe)});var pt=y((Sv,so)=>{"use strict";var qc=re(),Lc=Kt(),Dc=Re();function Jt(t,e){let s=new Dc(t,e),r=new Lc(s);try{r.parse()}catch(n){throw n}return r.root}so.exports=Jt;Jt.default=Jt;qc.registerParse(Jt)});var no=y((Tv,ms)=>{var Mc=Gt(),Bc=Re();ms.exports={isInlineComment(t){if(t[0]==="word"&&t[1].slice(0,2)==="//"){let e=t,s=[],r,n;for(;t;){if(/\r?\n/.test(t[1])){if(/['"].*\r?\n/.test(t[1])){s.push(t[1].substring(0,t[1].indexOf(` +`))),n=t[1].substring(t[1].indexOf(` +`));let o=this.input.css.valueOf().substring(this.tokenizer.position());n+=o,r=t[3]+o.length-n.length}else this.tokenizer.back(t);break}s.push(t[1]),r=t[2],t=this.tokenizer.nextToken({ignoreUnclosed:!0})}let i=["comment",s.join(""),e[2],r];return this.inlineComment(i),n&&(this.input=new Bc(n),this.tokenizer=Mc(this.input)),!0}else if(t[1]==="/"){let e=this.tokenizer.nextToken({ignoreUnclosed:!0});if(e[0]==="comment"&&/^\/\*/.test(e[1]))return e[0]="word",e[1]=e[1].slice(1),t[1]="//",this.tokenizer.back(e),ms.exports.isInlineComment.bind(this)(t)}return!1}}});var oo=y((Ov,io)=>{io.exports={interpolation(t){let e=[t,this.tokenizer.nextToken()],s=["word","}"];if(e[0][1].length>1||e[1][0]!=="{")return this.tokenizer.back(e[1]),!1;for(t=this.tokenizer.nextToken();t&&s.includes(t[0]);)e.push(t),t=this.tokenizer.nextToken();let r=e.map(a=>a[1]),[n]=e,i=e.pop(),o=["word",r.join(""),n[2],i[2]];return this.tokenizer.back(t),this.tokenizer.back(o),!0}}});var uo=y((Cv,ao)=>{var Uc=/^#[0-9a-fA-F]{6}$|^#[0-9a-fA-F]{3}$/,Fc=/\.[0-9]/,$c=t=>{let[,e]=t,[s]=e;return(s==="."||s==="#")&&Uc.test(e)===!1&&Fc.test(e)===!1};ao.exports={isMixinToken:$c}});var co=y((Av,lo)=>{var Wc=Gt(),Yc=/^url\((.+)\)/;lo.exports=t=>{let{name:e,params:s=""}=t;if(e==="import"&&s.length){t.import=!0;let r=Wc({css:s});for(t.filename=s.replace(Yc,"$1");!r.endOfFile();){let[n,i]=r.nextToken();if(n==="word"&&i==="url")return;if(n==="brackets"){t.options=i,t.filename=s.replace(i,"").trim();break}}}}});var mo=y((Nv,ho)=>{var fo=/:$/,po=/^:(\s+)?/;ho.exports=t=>{let{name:e,params:s=""}=t;if(t.name.slice(-1)===":"){if(fo.test(e)){let[r]=e.match(fo);t.name=e.replace(r,""),t.raws.afterName=r+(t.raws.afterName||""),t.variable=!0,t.value=t.params}if(po.test(s)){let[r]=s.match(po);t.value=s.replace(r,""),t.raws.afterName=(t.raws.afterName||"")+r,t.variable=!0}}}});var go=y((Rv,wo)=>{var zc=Oe(),Vc=Kt(),{isInlineComment:Gc}=no(),{interpolation:yo}=oo(),{isMixinToken:jc}=uo(),Hc=co(),Kc=mo(),Qc=/(!\s*important)$/i;wo.exports=class extends Vc{constructor(...e){super(...e),this.lastNode=null}atrule(e){yo.bind(this)(e)||(super.atrule(e),Hc(this.lastNode),Kc(this.lastNode))}decl(...e){super.decl(...e),/extend\(.+\)/i.test(this.lastNode.value)&&(this.lastNode.extend=!0)}each(e){e[0][1]=` ${e[0][1]}`;let s=e.findIndex(a=>a[0]==="("),r=e.reverse().find(a=>a[0]===")"),n=e.reverse().indexOf(r),o=e.splice(s,n).map(a=>a[1]).join("");for(let a of e.reverse())this.tokenizer.back(a);this.atrule(this.tokenizer.nextToken()),this.lastNode.function=!0,this.lastNode.params=o}init(e,s,r){super.init(e,s,r),this.lastNode=e}inlineComment(e){let s=new zc,r=e[1].slice(2);if(this.init(s,e[2]),s.source.end=this.getPosition(e[3]||e[2]),s.inline=!0,s.raws.begin="//",/^\s*$/.test(r))s.text="",s.raws.left=r,s.raws.right="";else{let n=r.match(/^(\s*)([^]*[^\s])(\s*)$/);[,s.raws.left,s.text,s.raws.right]=n}}mixin(e){let[s]=e,r=s[1].slice(0,1),n=e.findIndex(c=>c[0]==="brackets"),i=e.findIndex(c=>c[0]==="("),o="";if((n<0||n>3)&&i>0){let c=e.reduce((g,v,R)=>v[0]===")"?R:g),p=e.slice(i,c+i).map(g=>g[1]).join(""),[l]=e.slice(i),w=[l[2],l[3]],[x]=e.slice(c,c+1),h=[x[2],x[3]],d=["brackets",p].concat(w,h),m=e.slice(0,i),b=e.slice(c+1);e=m,e.push(d),e=e.concat(b)}let a=[];for(let c of e)if((c[1]==="!"||a.length)&&a.push(c),c[1]==="important")break;if(a.length){let[c]=a,f=e.indexOf(c),p=a[a.length-1],l=[c[2],c[3]],w=[p[4],p[5]],h=["word",a.map(d=>d[1]).join("")].concat(l,w);e.splice(f,a.length,h)}let u=e.findIndex(c=>Qc.test(c[1]));u>0&&([,o]=e[u],e.splice(u,1));for(let c of e.reverse())this.tokenizer.back(c);this.atrule(this.tokenizer.nextToken()),this.lastNode.mixin=!0,this.lastNode.raws.identifier=r,o&&(this.lastNode.important=!0,this.lastNode.raws.important=o)}other(e){Gc.bind(this)(e)||super.other(e)}rule(e){let s=e[e.length-1],r=e[e.length-2];if(r[0]==="at-word"&&s[0]==="{"&&(this.tokenizer.back(s),yo.bind(this)(r))){let i=this.tokenizer.nextToken();e=e.slice(0,e.length-2).concat([i]);for(let o of e.reverse())this.tokenizer.back(o);return}super.rule(e),/:extend\(.+\)/i.test(this.lastNode.selector)&&(this.lastNode.extend=!0)}unknownWord(e){let[s]=e;if(e[0][1]==="each"&&e[1][0]==="("){this.each(e);return}if(jc(s)){this.mixin(e);return}super.unknownWord(e)}}});var xo=y((qv,vo)=>{var Jc=Wt();vo.exports=class extends Jc{atrule(e,s){if(!e.mixin&&!e.variable&&!e.function){super.atrule(e,s);return}let n=`${e.function?"":e.raws.identifier||"@"}${e.name}`,i=e.params?this.rawValue(e,"params"):"",o=e.raws.important||"";if(e.variable&&(i=e.value),typeof e.raws.afterName<"u"?n+=e.raws.afterName:i&&(n+=" "),e.nodes)this.block(e,n+i+o);else{let a=(e.raws.between||"")+o+(s?";":"");this.builder(n+i+a,e)}}comment(e){if(e.inline){let s=this.raw(e,"left","commentLeft"),r=this.raw(e,"right","commentRight");this.builder(`//${s}${e.text}${r}`,e)}else super.comment(e)}}});var bo=y((Lv,ys)=>{var Xc=Re(),Zc=go(),ef=xo();ys.exports={parse(t,e){let s=new Xc(t,e),r=new Zc(s);return r.parse(),r.root.walk(n=>{let i=s.css.lastIndexOf(n.source.input.css);if(i===0)return;if(i+n.source.input.css.length!==s.css.length)throw new Error("Invalid state detected in postcss-less");let o=i+n.source.start.offset,a=s.fromOffset(i+n.source.start.offset);if(n.source.start={offset:o,line:a.line,column:a.col},n.source.end){let u=i+n.source.end.offset,c=s.fromOffset(i+n.source.end.offset);n.source.end={offset:u,line:c.line,column:c.col}}}),r.root},stringify(t,e){new ef(e).stringify(t)},nodeToString(t){let e="";return ys.exports.stringify(t,s=>{e+=s}),e}}});var ws=y((Dv,_o)=>{_o.exports=class{generate(){}}});var Xt=y((Bv,So)=>{"use strict";var tf=re(),ko,Eo,pe=class extends tf{constructor(e){super({type:"document",...e}),this.nodes||(this.nodes=[])}toResult(e={}){return new ko(new Eo,this,e).stringify()}};pe.registerLazyResult=t=>{ko=t};pe.registerProcessor=t=>{Eo=t};So.exports=pe;pe.default=pe});var gs=y((Uv,Oo)=>{"use strict";var To={};Oo.exports=function(e){To[e]||(To[e]=!0,typeof console<"u"&&console.warn&&console.warn(e))}});var vs=y((Fv,Co)=>{"use strict";var ht=class{constructor(e,s={}){if(this.type="warning",this.text=e,s.node&&s.node.source){let r=s.node.rangeBy(s);this.line=r.start.line,this.column=r.start.column,this.endLine=r.end.line,this.endColumn=r.end.column}for(let r in s)this[r]=s[r]}toString(){return this.node?this.node.error(this.text,{index:this.index,plugin:this.plugin,word:this.word}).message:this.plugin?this.plugin+": "+this.text:this.text}};Co.exports=ht;ht.default=ht});var Zt=y(($v,Ao)=>{"use strict";var rf=vs(),dt=class{constructor(e,s,r){this.processor=e,this.messages=[],this.root=s,this.opts=r,this.css=void 0,this.map=void 0}toString(){return this.css}warn(e,s={}){s.plugin||this.lastPlugin&&this.lastPlugin.postcssPlugin&&(s.plugin=this.lastPlugin.postcssPlugin);let r=new rf(e,s);return this.messages.push(r),r}warnings(){return this.messages.filter(e=>e.type==="warning")}get content(){return this.css}};Ao.exports=dt;dt.default=dt});var _s=y((Yv,Io)=>{"use strict";var{isClean:j,my:sf}=Ft(),nf=ws(),of=it(),af=re(),uf=Xt(),Wv=gs(),No=Zt(),lf=pt(),cf=Ae(),ff={atrule:"AtRule",comment:"Comment",decl:"Declaration",document:"Document",root:"Root",rule:"Rule"},pf={AtRule:!0,AtRuleExit:!0,Comment:!0,CommentExit:!0,Declaration:!0,DeclarationExit:!0,Document:!0,DocumentExit:!0,Once:!0,OnceExit:!0,postcssPlugin:!0,prepare:!0,Root:!0,RootExit:!0,Rule:!0,RuleExit:!0},hf={Once:!0,postcssPlugin:!0,prepare:!0},Ie=0;function mt(t){return typeof t=="object"&&typeof t.then=="function"}function Ro(t){let e=!1,s=ff[t.type];return t.type==="decl"?e=t.prop.toLowerCase():t.type==="atrule"&&(e=t.name.toLowerCase()),e&&t.append?[s,s+"-"+e,Ie,s+"Exit",s+"Exit-"+e]:e?[s,s+"-"+e,s+"Exit",s+"Exit-"+e]:t.append?[s,Ie,s+"Exit"]:[s,s+"Exit"]}function Po(t){let e;return t.type==="document"?e=["Document",Ie,"DocumentExit"]:t.type==="root"?e=["Root",Ie,"RootExit"]:e=Ro(t),{eventIndex:0,events:e,iterator:0,node:t,visitorIndex:0,visitors:[]}}function xs(t){return t[j]=!1,t.nodes&&t.nodes.forEach(e=>xs(e)),t}var bs={},ne=class t{constructor(e,s,r){this.stringified=!1,this.processed=!1;let n;if(typeof s=="object"&&s!==null&&(s.type==="root"||s.type==="document"))n=xs(s);else if(s instanceof t||s instanceof No)n=xs(s.root),s.map&&(typeof r.map>"u"&&(r.map={}),r.map.inline||(r.map.inline=!1),r.map.prev=s.map);else{let i=lf;r.syntax&&(i=r.syntax.parse),r.parser&&(i=r.parser),i.parse&&(i=i.parse);try{n=i(s,r)}catch(o){this.processed=!0,this.error=o}n&&!n[sf]&&af.rebuild(n)}this.result=new No(e,n,r),this.helpers={...bs,postcss:bs,result:this.result},this.plugins=this.processor.plugins.map(i=>typeof i=="object"&&i.prepare?{...i,...i.prepare(this.result)}:i)}async(){return this.error?Promise.reject(this.error):this.processed?Promise.resolve(this.result):(this.processing||(this.processing=this.runAsync()),this.processing)}catch(e){return this.async().catch(e)}finally(e){return this.async().then(e,e)}getAsyncError(){throw new Error("Use process(css).then(cb) to work with async plugins")}handleError(e,s){let r=this.result.lastPlugin;try{s&&s.addToError(e),this.error=e,e.name==="CssSyntaxError"&&!e.plugin?(e.plugin=r.postcssPlugin,e.setMessage()):r.postcssVersion}catch(n){console&&console.error&&console.error(n)}return e}prepareVisitors(){this.listeners={};let e=(s,r,n)=>{this.listeners[r]||(this.listeners[r]=[]),this.listeners[r].push([s,n])};for(let s of this.plugins)if(typeof s=="object")for(let r in s){if(!pf[r]&&/^[A-Z]/.test(r))throw new Error(`Unknown event ${r} in ${s.postcssPlugin}. Try to update PostCSS (${this.processor.version} now).`);if(!hf[r])if(typeof s[r]=="object")for(let n in s[r])n==="*"?e(s,r,s[r][n]):e(s,r+"-"+n.toLowerCase(),s[r][n]);else typeof s[r]=="function"&&e(s,r,s[r])}this.hasListener=Object.keys(this.listeners).length>0}async runAsync(){this.plugin=0;for(let e=0;e0;){let r=this.visitTick(s);if(mt(r))try{await r}catch(n){let i=s[s.length-1].node;throw this.handleError(n,i)}}}if(this.listeners.OnceExit)for(let[s,r]of this.listeners.OnceExit){this.result.lastPlugin=s;try{if(e.type==="document"){let n=e.nodes.map(i=>r(i,this.helpers));await Promise.all(n)}else await r(e,this.helpers)}catch(n){throw this.handleError(n)}}}return this.processed=!0,this.stringify()}runOnRoot(e){this.result.lastPlugin=e;try{if(typeof e=="object"&&e.Once){if(this.result.root.type==="document"){let s=this.result.root.nodes.map(r=>e.Once(r,this.helpers));return mt(s[0])?Promise.all(s):s}return e.Once(this.result.root,this.helpers)}else if(typeof e=="function")return e(this.result.root,this.result)}catch(s){throw this.handleError(s)}}stringify(){if(this.error)throw this.error;if(this.stringified)return this.result;this.stringified=!0,this.sync();let e=this.result.opts,s=of;e.syntax&&(s=e.syntax.stringify),e.stringifier&&(s=e.stringifier),s.stringify&&(s=s.stringify);let n=new nf(s,this.result.root,this.result.opts).generate();return this.result.css=n[0],this.result.map=n[1],this.result}sync(){if(this.error)throw this.error;if(this.processed)return this.result;if(this.processed=!0,this.processing)throw this.getAsyncError();for(let e of this.plugins){let s=this.runOnRoot(e);if(mt(s))throw this.getAsyncError()}if(this.prepareVisitors(),this.hasListener){let e=this.result.root;for(;!e[j];)e[j]=!0,this.walkSync(e);if(this.listeners.OnceExit)if(e.type==="document")for(let s of e.nodes)this.visitSync(this.listeners.OnceExit,s);else this.visitSync(this.listeners.OnceExit,e)}return this.result}then(e,s){return this.async().then(e,s)}toString(){return this.css}visitSync(e,s){for(let[r,n]of e){this.result.lastPlugin=r;let i;try{i=n(s,this.helpers)}catch(o){throw this.handleError(o,s.proxyOf)}if(s.type!=="root"&&s.type!=="document"&&!s.parent)return!0;if(mt(i))throw this.getAsyncError()}}visitTick(e){let s=e[e.length-1],{node:r,visitors:n}=s;if(r.type!=="root"&&r.type!=="document"&&!r.parent){e.pop();return}if(n.length>0&&s.visitorIndex{n[j]||this.walkSync(n)});else{let n=this.listeners[r];if(n&&this.visitSync(n,e.toProxy()))return}}warnings(){return this.sync().warnings()}get content(){return this.stringify().content}get css(){return this.stringify().css}get map(){return this.stringify().map}get messages(){return this.sync().messages}get opts(){return this.result.opts}get processor(){return this.result.processor}get root(){return this.sync().root}get[Symbol.toStringTag](){return"LazyResult"}};ne.registerPostcss=t=>{bs=t};Io.exports=ne;ne.default=ne;cf.registerLazyResult(ne);uf.registerLazyResult(ne)});var Lo=y((Vv,qo)=>{"use strict";var df=ws(),mf=it(),zv=gs(),yf=pt(),wf=Zt(),yt=class{constructor(e,s,r){s=s.toString(),this.stringified=!1,this._processor=e,this._css=s,this._opts=r,this._map=void 0;let n,i=mf;this.result=new wf(this._processor,n,this._opts),this.result.css=s;let o=this;Object.defineProperty(this.result,"root",{get(){return o.root}});let a=new df(i,n,this._opts,s);if(a.isMap()){let[u,c]=a.generate();u&&(this.result.css=u),c&&(this.result.map=c)}else a.clearAnnotation(),this.result.css=a.css}async(){return this.error?Promise.reject(this.error):Promise.resolve(this.result)}catch(e){return this.async().catch(e)}finally(e){return this.async().then(e,e)}sync(){if(this.error)throw this.error;return this.result}then(e,s){return this.async().then(e,s)}toString(){return this._css}warnings(){return[]}get content(){return this.result.css}get css(){return this.result.css}get map(){return this.result.map}get messages(){return[]}get opts(){return this.result.opts}get processor(){return this.result.processor}get root(){if(this._root)return this._root;let e,s=yf;try{e=s(this._css,this._opts)}catch(r){this.error=r}if(this.error)throw this.error;return this._root=e,e}get[Symbol.toStringTag](){return"NoWorkResult"}};qo.exports=yt;yt.default=yt});var Mo=y((Gv,Do)=>{"use strict";var gf=Lo(),vf=_s(),xf=Xt(),bf=Ae(),he=class{constructor(e=[]){this.version="8.4.39",this.plugins=this.normalize(e)}normalize(e){let s=[];for(let r of e)if(r.postcss===!0?r=r():r.postcss&&(r=r.postcss),typeof r=="object"&&Array.isArray(r.plugins))s=s.concat(r.plugins);else if(typeof r=="object"&&r.postcssPlugin)s.push(r);else if(typeof r=="function")s.push(r);else if(!(typeof r=="object"&&(r.parse||r.stringify)))throw new Error(r+" is not a PostCSS plugin");return s}process(e,s={}){return!this.plugins.length&&!s.parser&&!s.stringifier&&!s.syntax?new gf(this,e,s):new vf(this,e,s)}use(e){return this.plugins=this.plugins.concat(this.normalize([e])),this}};Do.exports=he;he.default=he;bf.registerProcessor(he);xf.registerProcessor(he)});var Uo=y((jv,Bo)=>{"use strict";var _f=lt(),kf=cs(),Ef=Oe(),Sf=jt(),Tf=Re(),Of=Ae(),Cf=Ht();function wt(t,e){if(Array.isArray(t))return t.map(n=>wt(n));let{inputs:s,...r}=t;if(s){e=[];for(let n of s){let i={...n,__proto__:Tf.prototype};i.map&&(i.map={...i.map,__proto__:kf.prototype}),e.push(i)}}if(r.nodes&&(r.nodes=t.nodes.map(n=>wt(n,e))),r.source){let{inputId:n,...i}=r.source;r.source=i,n!=null&&(r.source.input=e[n])}if(r.type==="root")return new Of(r);if(r.type==="decl")return new _f(r);if(r.type==="rule")return new Cf(r);if(r.type==="comment")return new Ef(r);if(r.type==="atrule")return new Sf(r);throw new Error("Unknown node type: "+t.type)}Bo.exports=wt;wt.default=wt});var er=y((Hv,Go)=>{"use strict";var Af=$t(),Fo=lt(),Nf=_s(),Pf=re(),ks=Mo(),Rf=it(),If=Uo(),$o=Xt(),qf=vs(),Wo=Oe(),Yo=jt(),Lf=Zt(),Df=Re(),Mf=pt(),Bf=us(),zo=Ht(),Vo=Ae(),Uf=at();function k(...t){return t.length===1&&Array.isArray(t[0])&&(t=t[0]),new ks(t)}k.plugin=function(e,s){let r=!1;function n(...o){console&&console.warn&&!r&&(r=!0,console.warn(e+`: postcss.plugin was deprecated. Migration guide: +https://evilmartians.com/chronicles/postcss-8-plugin-migration`));let a=s(...o);return a.postcssPlugin=e,a.postcssVersion=new ks().version,a}let i;return Object.defineProperty(n,"postcss",{get(){return i||(i=n()),i}}),n.process=function(o,a,u){return k([n(u)]).process(o,a)},n};k.stringify=Rf;k.parse=Mf;k.fromJSON=If;k.list=Bf;k.comment=t=>new Wo(t);k.atRule=t=>new Yo(t);k.decl=t=>new Fo(t);k.rule=t=>new zo(t);k.root=t=>new Vo(t);k.document=t=>new $o(t);k.CssSyntaxError=Af;k.Declaration=Fo;k.Container=Pf;k.Processor=ks;k.Document=$o;k.Comment=Wo;k.Warning=qf;k.AtRule=Yo;k.Result=Lf;k.Input=Df;k.Rule=zo;k.Root=Vo;k.Node=Uf;Nf.registerPostcss(k);Go.exports=k;k.default=k});var Ho=y((Kv,jo)=>{var{Container:Ff}=er(),Es=class extends Ff{constructor(e){super(e),this.type="decl",this.isNested=!0,this.nodes||(this.nodes=[])}};jo.exports=Es});var Jo=y((Qv,Qo)=>{"use strict";var tr=/[\t\n\f\r "#'()/;[\\\]{}]/g,rr=/[,\t\n\f\r !"#'():;@[\\\]{}]|\/(?=\*)/g,$f=/.[\r\n"'(/\\]/,Ko=/[\da-f]/i,sr=/[\n\f\r]/g;Qo.exports=function(e,s={}){let r=e.css.valueOf(),n=s.ignoreErrors,i,o,a,u,c,f,p,l,w,x=r.length,h=0,d=[],m=[],b;function g(){return h}function v(T){throw e.error("Unclosed "+T,h)}function R(){return m.length===0&&h>=x}function F(){let T=1,O=!1,C=!1;for(;T>0;)o+=1,r.length<=o&&v("interpolation"),i=r.charCodeAt(o),l=r.charCodeAt(o+1),O?!C&&i===O?(O=!1,C=!1):i===92?C=!C:C&&(C=!1):i===39||i===34?O=i:i===125?T-=1:i===35&&l===123&&(T+=1)}function H(T){if(m.length)return m.pop();if(h>=x)return;let O=T?T.ignoreUnclosed:!1;switch(i=r.charCodeAt(h),i){case 10:case 32:case 9:case 13:case 12:{o=h;do o+=1,i=r.charCodeAt(o);while(i===32||i===10||i===9||i===13||i===12);w=["space",r.slice(h,o)],h=o-1;break}case 91:case 93:case 123:case 125:case 58:case 59:case 41:{let C=String.fromCharCode(i);w=[C,C,h];break}case 44:{w=["word",",",h,h+1];break}case 40:{if(p=d.length?d.pop()[1]:"",l=r.charCodeAt(h+1),p==="url"&&l!==39&&l!==34){for(b=1,f=!1,o=h+1;o<=r.length-1;){if(l=r.charCodeAt(o),l===92)f=!f;else if(l===40)b+=1;else if(l===41&&(b-=1,b===0))break;o+=1}u=r.slice(h,o+1),w=["brackets",u,h,o],h=o}else o=r.indexOf(")",h+1),u=r.slice(h,o+1),o===-1||$f.test(u)?w=["(","(",h]:(w=["brackets",u,h,o],h=o);break}case 39:case 34:{for(a=i,o=h,f=!1;o{var{Comment:Wf}=er(),Yf=Kt(),zf=Ho(),Vf=Jo(),Ss=class extends Yf{atrule(e){let s=e[1],r=e;for(;!this.tokenizer.endOfFile();){let n=this.tokenizer.nextToken();if(n[0]==="word"&&n[2]===r[3]+1)s+=n[1],r=n;else{this.tokenizer.back(n);break}}super.atrule(["at-word",s,e[2],r[3]])}comment(e){if(e[4]==="inline"){let s=new Wf;this.init(s,e[2]),s.raws.inline=!0;let r=this.input.fromOffset(e[3]);s.source.end={column:r.col,line:r.line,offset:e[3]+1};let n=e[1].slice(2);if(/^\s*$/.test(n))s.text="",s.raws.left=n,s.raws.right="";else{let i=n.match(/^(\s*)([^]*\S)(\s*)$/),o=i[2].replace(/(\*\/|\/\*)/g,"*//*");s.text=o,s.raws.left=i[1],s.raws.right=i[3],s.raws.text=i[2]}}else super.comment(e)}createTokenizer(){this.tokenizer=Vf(this.input)}raw(e,s,r,n){if(super.raw(e,s,r,n),e.raws[s]){let i=e.raws[s].raw;e.raws[s].raw=r.reduce((o,a)=>{if(a[0]==="comment"&&a[4]==="inline"){let u=a[1].slice(2).replace(/(\*\/|\/\*)/g,"*//*");return o+"/*"+u+"*/"}else return o+a[1]},""),i!==e.raws[s].raw&&(e.raws[s].scss=i)}}rule(e){let s=!1,r=0,n="";for(let i of e)if(s)i[0]!=="comment"&&i[0]!=="{"&&(n+=i[1]);else{if(i[0]==="space"&&i[1].includes(` +`))break;i[0]==="("?r+=1:i[0]===")"?r-=1:r===0&&i[0]===":"&&(s=!0)}if(!s||n.trim()===""||/^[#:A-Za-z-]/.test(n))super.rule(e);else{e.pop();let i=new zf;this.init(i,e[0][2]);let o;for(let u=e.length-1;u>=0;u--)if(e[u][0]!=="space"){o=e[u];break}if(o[3]){let u=this.input.fromOffset(o[3]);i.source.end={column:u.col,line:u.line,offset:o[3]+1}}else{let u=this.input.fromOffset(o[2]);i.source.end={column:u.col,line:u.line,offset:o[2]+1}}for(;e[0][0]!=="word";)i.raws.before+=e.shift()[1];if(e[0][2]){let u=this.input.fromOffset(e[0][2]);i.source.start={column:u.col,line:u.line,offset:e[0][2]}}for(i.prop="";e.length;){let u=e[0][0];if(u===":"||u==="space"||u==="comment")break;i.prop+=e.shift()[1]}i.raws.between="";let a;for(;e.length;)if(a=e.shift(),a[0]===":"){i.raws.between+=a[1];break}else i.raws.between+=a[1];(i.prop[0]==="_"||i.prop[0]==="*")&&(i.raws.before+=i.prop[0],i.prop=i.prop.slice(1)),i.raws.between+=this.spacesAndCommentsFromStart(e),this.precheckMissedSemicolon(e);for(let u=e.length-1;u>0;u--){if(a=e[u],a[1]==="!important"){i.important=!0;let c=this.stringFrom(e,u);c=this.spacesFromEnd(e)+c,c!==" !important"&&(i.raws.important=c);break}else if(a[1]==="important"){let c=e.slice(0),f="";for(let p=u;p>0;p--){let l=c[p][0];if(f.trim().indexOf("!")===0&&l!=="space")break;f=c.pop()[1]+f}f.trim().indexOf("!")===0&&(i.important=!0,i.raws.important=f,e=c)}if(a[0]!=="space"&&a[0]!=="comment")break}this.raw(i,"value",e),i.value.includes(":")&&this.checkMissedSemicolon(e),this.current=i}}};Xo.exports=Ss});var ta=y((Xv,ea)=>{var{Input:Gf}=er(),jf=Zo();ea.exports=function(e,s){let r=new Gf(e,s),n=new jf(r);return n.parse(),n.root}});var Os=y(Ts=>{"use strict";Object.defineProperty(Ts,"__esModule",{value:!0});function Kf(t){this.after=t.after,this.before=t.before,this.type=t.type,this.value=t.value,this.sourceIndex=t.sourceIndex}Ts.default=Kf});var As=y(Cs=>{"use strict";Object.defineProperty(Cs,"__esModule",{value:!0});var Qf=Os(),sa=Jf(Qf);function Jf(t){return t&&t.__esModule?t:{default:t}}function gt(t){var e=this;this.constructor(t),this.nodes=t.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(s){s.parent=e})}gt.prototype=Object.create(sa.default.prototype);gt.constructor=sa.default;gt.prototype.walk=function(e,s){for(var r=typeof e=="string"||e instanceof RegExp,n=r?s:e,i=typeof e=="string"?new RegExp(e):e,o=0;o{"use strict";Object.defineProperty(vt,"__esModule",{value:!0});vt.parseMediaFeature=oa;vt.parseMediaQuery=Ps;vt.parseMediaList=ep;var Xf=Os(),na=ia(Xf),Zf=As(),Ns=ia(Zf);function ia(t){return t&&t.__esModule?t:{default:t}}function oa(t){var e=arguments.length<=1||arguments[1]===void 0?0:arguments[1],s=[{mode:"normal",character:null}],r=[],n=0,i="",o=null,a=null,u=e,c=t;t[0]==="("&&t[t.length-1]===")"&&(c=t.substring(1,t.length-1),u++);for(var f=0;f0&&(s[c-1].after=i.before),i.type===void 0){if(c>0){if(s[c-1].type==="media-feature-expression"){i.type="keyword";continue}if(s[c-1].value==="not"||s[c-1].value==="only"){i.type="media-type";continue}if(s[c-1].value==="and"){i.type="media-feature-expression";continue}s[c-1].type==="media-type"&&(s[c+1]?i.type=s[c+1].type==="media-feature-expression"?"keyword":"media-feature-expression":i.type="media-feature-expression")}if(c===0){if(!s[c+1]){i.type="media-type";continue}if(s[c+1]&&(s[c+1].type==="media-feature-expression"||s[c+1].type==="keyword")){i.type="media-type";continue}if(s[c+2]){if(s[c+2].type==="media-feature-expression"){i.type="media-type",s[c+1].type="keyword";continue}if(s[c+2].type==="keyword"){i.type="keyword",s[c+1].type="media-type";continue}}if(s[c+3]&&s[c+3].type==="media-feature-expression"){i.type="keyword",s[c+1].type="media-type",s[c+2].type="keyword";continue}}}return s}function ep(t){var e=[],s=0,r=0,n=/^(\s*)url\s*\(/.exec(t);if(n!==null){for(var i=n[0].length,o=1;o>0;){var a=t[i];a==="("&&o++,a===")"&&o--,i++}e.unshift(new na.default({type:"url",value:t.substring(0,i).trim(),sourceIndex:n[1].length,before:n[1],after:/^(\s*)/.exec(t.substring(i))[1]})),s=i}for(var u=s;u{"use strict";Object.defineProperty(Rs,"__esModule",{value:!0});Rs.default=ip;var tp=As(),rp=np(tp),sp=aa();function np(t){return t&&t.__esModule?t:{default:t}}function ip(t){return new rp.default({nodes:(0,sp.parseMediaList)(t),type:"media-query-list",value:t.trim()})}});var qs=y((ax,fa)=>{fa.exports=function(e,s){if(s=typeof s=="number"?s:1/0,!s)return Array.isArray(e)?e.map(function(n){return n}):e;return r(e,1);function r(n,i){return n.reduce(function(o,a){return Array.isArray(a)&&i{pa.exports=function(t,e){for(var s=-1,r=[];(s=t.indexOf(e,s+1))!==-1;)r.push(s);return r}});var Ds=y((lx,ha)=>{"use strict";function up(t,e){for(var s=1,r=t.length,n=t[0],i=t[0],o=1;o{"use strict";nr.__esModule=!0;var da=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t};function fp(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}var pp=function t(e,s){if((typeof e>"u"?"undefined":da(e))!=="object")return e;var r=new e.constructor;for(var n in e)if(e.hasOwnProperty(n)){var i=e[n],o=typeof i>"u"?"undefined":da(i);n==="parent"&&o==="object"?s&&(r[n]=s):i instanceof Array?r[n]=i.map(function(a){return t(a,r)}):r[n]=t(i,r)}return r},hp=function(){function t(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};fp(this,t);for(var s in e)this[s]=e[s];var r=e.spaces;r=r===void 0?{}:r;var n=r.before,i=n===void 0?"":n,o=r.after,a=o===void 0?"":o;this.spaces={before:i,after:a}}return t.prototype.remove=function(){return this.parent&&this.parent.removeChild(this),this.parent=void 0,this},t.prototype.replaceWith=function(){if(this.parent){for(var s in arguments)this.parent.insertBefore(this,arguments[s]);this.remove()}return this},t.prototype.next=function(){return this.parent.at(this.parent.index(this)+1)},t.prototype.prev=function(){return this.parent.at(this.parent.index(this)-1)},t.prototype.clone=function(){var s=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},r=pp(this);for(var n in s)r[n]=s[n];return r},t.prototype.toString=function(){return[this.spaces.before,String(this.value),this.spaces.after].join("")},t}();nr.default=hp;ma.exports=nr.default});var D=y(B=>{"use strict";B.__esModule=!0;var cx=B.TAG="tag",fx=B.STRING="string",px=B.SELECTOR="selector",hx=B.ROOT="root",dx=B.PSEUDO="pseudo",mx=B.NESTING="nesting",yx=B.ID="id",wx=B.COMMENT="comment",gx=B.COMBINATOR="combinator",vx=B.CLASS="class",xx=B.ATTRIBUTE="attribute",bx=B.UNIVERSAL="universal"});var or=y((ir,ya)=>{"use strict";ir.__esModule=!0;var dp=function(){function t(e,s){for(var r=0;r=r&&(this.indexes[i]=n-1);return this},e.prototype.removeAll=function(){for(var i=this.nodes,r=Array.isArray(i),n=0,i=r?i:i[Symbol.iterator]();;){var o;if(r){if(n>=i.length)break;o=i[n++]}else{if(n=i.next(),n.done)break;o=n.value}var a=o;a.parent=void 0}return this.nodes=[],this},e.prototype.empty=function(){return this.removeAll()},e.prototype.insertAfter=function(r,n){var i=this.index(r);this.nodes.splice(i+1,0,n);var o=void 0;for(var a in this.indexes)o=this.indexes[a],i<=o&&(this.indexes[a]=o+this.nodes.length);return this},e.prototype.insertBefore=function(r,n){var i=this.index(r);this.nodes.splice(i,0,n);var o=void 0;for(var a in this.indexes)o=this.indexes[a],i<=o&&(this.indexes[a]=o+this.nodes.length);return this},e.prototype.each=function(r){this.lastEach||(this.lastEach=0),this.indexes||(this.indexes={}),this.lastEach++;var n=this.lastEach;if(this.indexes[n]=0,!!this.length){for(var i=void 0,o=void 0;this.indexes[n]{"use strict";ar.__esModule=!0;var Ep=or(),Sp=Op(Ep),Tp=D();function Op(t){return t&&t.__esModule?t:{default:t}}function Cp(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Ap(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:t}function Np(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var Pp=function(t){Np(e,t);function e(s){Cp(this,e);var r=Ap(this,t.call(this,s));return r.type=Tp.ROOT,r}return e.prototype.toString=function(){var r=this.reduce(function(n,i){var o=String(i);return o?n+o+",":""},"").slice(0,-1);return this.trailingComma?r+",":r},e}(Sp.default);ar.default=Pp;wa.exports=ar.default});var xa=y((ur,va)=>{"use strict";ur.__esModule=!0;var Rp=or(),Ip=Lp(Rp),qp=D();function Lp(t){return t&&t.__esModule?t:{default:t}}function Dp(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Mp(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:t}function Bp(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var Up=function(t){Bp(e,t);function e(s){Dp(this,e);var r=Mp(this,t.call(this,s));return r.type=qp.SELECTOR,r}return e}(Ip.default);ur.default=Up;va.exports=ur.default});var qe=y((lr,ba)=>{"use strict";lr.__esModule=!0;var Fp=function(){function t(e,s){for(var r=0;r{"use strict";cr.__esModule=!0;var Hp=qe(),Kp=Jp(Hp),Qp=D();function Jp(t){return t&&t.__esModule?t:{default:t}}function Xp(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Zp(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:t}function eh(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var th=function(t){eh(e,t);function e(s){Xp(this,e);var r=Zp(this,t.call(this,s));return r.type=Qp.CLASS,r}return e.prototype.toString=function(){return[this.spaces.before,this.ns,"."+this.value,this.spaces.after].join("")},e}(Kp.default);cr.default=th;_a.exports=cr.default});var Sa=y((fr,Ea)=>{"use strict";fr.__esModule=!0;var rh=de(),sh=ih(rh),nh=D();function ih(t){return t&&t.__esModule?t:{default:t}}function oh(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function ah(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:t}function uh(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var lh=function(t){uh(e,t);function e(s){oh(this,e);var r=ah(this,t.call(this,s));return r.type=nh.COMMENT,r}return e}(sh.default);fr.default=lh;Ea.exports=fr.default});var Oa=y((pr,Ta)=>{"use strict";pr.__esModule=!0;var ch=qe(),fh=hh(ch),ph=D();function hh(t){return t&&t.__esModule?t:{default:t}}function dh(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function mh(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:t}function yh(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var wh=function(t){yh(e,t);function e(s){dh(this,e);var r=mh(this,t.call(this,s));return r.type=ph.ID,r}return e.prototype.toString=function(){return[this.spaces.before,this.ns,"#"+this.value,this.spaces.after].join("")},e}(fh.default);pr.default=wh;Ta.exports=pr.default});var Aa=y((hr,Ca)=>{"use strict";hr.__esModule=!0;var gh=qe(),vh=bh(gh),xh=D();function bh(t){return t&&t.__esModule?t:{default:t}}function _h(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function kh(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:t}function Eh(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var Sh=function(t){Eh(e,t);function e(s){_h(this,e);var r=kh(this,t.call(this,s));return r.type=xh.TAG,r}return e}(vh.default);hr.default=Sh;Ca.exports=hr.default});var Pa=y((dr,Na)=>{"use strict";dr.__esModule=!0;var Th=de(),Oh=Ah(Th),Ch=D();function Ah(t){return t&&t.__esModule?t:{default:t}}function Nh(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Ph(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:t}function Rh(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var Ih=function(t){Rh(e,t);function e(s){Nh(this,e);var r=Ph(this,t.call(this,s));return r.type=Ch.STRING,r}return e}(Oh.default);dr.default=Ih;Na.exports=dr.default});var Ia=y((mr,Ra)=>{"use strict";mr.__esModule=!0;var qh=or(),Lh=Mh(qh),Dh=D();function Mh(t){return t&&t.__esModule?t:{default:t}}function Bh(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Uh(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:t}function Fh(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var $h=function(t){Fh(e,t);function e(s){Bh(this,e);var r=Uh(this,t.call(this,s));return r.type=Dh.PSEUDO,r}return e.prototype.toString=function(){var r=this.length?"("+this.map(String).join(",")+")":"";return[this.spaces.before,String(this.value),r,this.spaces.after].join("")},e}(Lh.default);mr.default=$h;Ra.exports=mr.default});var La=y((yr,qa)=>{"use strict";yr.__esModule=!0;var Wh=qe(),Yh=Vh(Wh),zh=D();function Vh(t){return t&&t.__esModule?t:{default:t}}function Gh(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function jh(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:t}function Hh(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var Kh=function(t){Hh(e,t);function e(s){Gh(this,e);var r=jh(this,t.call(this,s));return r.type=zh.ATTRIBUTE,r.raws={},r}return e.prototype.toString=function(){var r=[this.spaces.before,"[",this.ns,this.attribute];return this.operator&&r.push(this.operator),this.value&&r.push(this.value),this.raws.insensitive?r.push(this.raws.insensitive):this.insensitive&&r.push(" i"),r.push("]"),r.concat(this.spaces.after).join("")},e}(Yh.default);yr.default=Kh;qa.exports=yr.default});var Ma=y((wr,Da)=>{"use strict";wr.__esModule=!0;var Qh=qe(),Jh=Zh(Qh),Xh=D();function Zh(t){return t&&t.__esModule?t:{default:t}}function ed(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function td(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:t}function rd(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var sd=function(t){rd(e,t);function e(s){ed(this,e);var r=td(this,t.call(this,s));return r.type=Xh.UNIVERSAL,r.value="*",r}return e}(Jh.default);wr.default=sd;Da.exports=wr.default});var Ua=y((gr,Ba)=>{"use strict";gr.__esModule=!0;var nd=de(),id=ad(nd),od=D();function ad(t){return t&&t.__esModule?t:{default:t}}function ud(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function ld(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:t}function cd(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var fd=function(t){cd(e,t);function e(s){ud(this,e);var r=ld(this,t.call(this,s));return r.type=od.COMBINATOR,r}return e}(id.default);gr.default=fd;Ba.exports=gr.default});var $a=y((vr,Fa)=>{"use strict";vr.__esModule=!0;var pd=de(),hd=md(pd),dd=D();function md(t){return t&&t.__esModule?t:{default:t}}function yd(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function wd(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:t}function gd(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var vd=function(t){gd(e,t);function e(s){yd(this,e);var r=wd(this,t.call(this,s));return r.type=dd.NESTING,r.value="&",r}return e}(hd.default);vr.default=vd;Fa.exports=vr.default});var Ya=y((xr,Wa)=>{"use strict";xr.__esModule=!0;xr.default=xd;function xd(t){return t.sort(function(e,s){return e-s})}Wa.exports=xr.default});var Xa=y((kr,Ja)=>{"use strict";kr.__esModule=!0;kr.default=Pd;var za=39,bd=34,Ms=92,Va=47,xt=10,Bs=32,Us=12,Fs=9,$s=13,Ga=43,ja=62,Ha=126,Ka=124,_d=44,kd=40,Ed=41,Sd=91,Td=93,Od=59,Qa=42,Cd=58,Ad=38,Nd=64,br=/[ \n\t\r\{\(\)'"\\;/]/g,_r=/[ \n\t\r\(\)\*:;@!&'"\+\|~>,\[\]\\]|\/(?=\*)/g;function Pd(t){for(var e=[],s=t.css.valueOf(),r=void 0,n=void 0,i=void 0,o=void 0,a=void 0,u=void 0,c=void 0,f=void 0,p=void 0,l=void 0,w=void 0,x=s.length,h=-1,d=1,m=0,b=function(v,R){if(t.safe)s+=R,n=s.length-1;else throw t.error("Unclosed "+v,d,m-h,m)};m0?(f=d+a,p=n-o[a].length):(f=d,p=h),e.push(["comment",u,d,m-h,f,n-p,m]),h=p,d=f,m=n):(_r.lastIndex=m+1,_r.test(s),_r.lastIndex===0?n=s.length-1:n=_r.lastIndex-2,e.push(["word",s.slice(m,n+1),d,m-h,d,n-h,m]),m=n);break}m++}return e}Ja.exports=kr.default});var tu=y((Er,eu)=>{"use strict";Er.__esModule=!0;var Rd=function(){function t(e,s){for(var r=0;r1?(o[0]===""&&(o[0]=!0),a.attribute=this.parseValue(o[2]),a.namespace=this.parseNamespace(o[0])):a.attribute=this.parseValue(i[0]),r=new em.default(a),i[2]){var u=i[2].split(/(\s+i\s*?)$/),c=u[0].trim();r.value=this.lossy?c:u[0],u[1]&&(r.insensitive=!0,this.lossy||(r.raws.insensitive=u[1])),r.quoted=c[0]==="'"||c[0]==='"',r.raws.unquoted=r.quoted?c.slice(1,-1):c}this.newNode(r),this.position++},t.prototype.combinator=function(){if(this.currToken[1]==="|")return this.namespace();for(var s=new nm.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.position1&&s.nextToken&&s.nextToken[0]==="("&&s.error("Misplaced parenthesis.")})}else this.error('Unexpected "'+this.currToken[0]+'" found.')},t.prototype.space=function(){var s=this.currToken;this.position===0||this.prevToken[0]===","||this.prevToken[0]==="("?(this.spaces=this.parseSpace(s[1]),this.position++):this.position===this.tokens.length-1||this.nextToken[0]===","||this.nextToken[0]===")"?(this.current.last.spaces.after=this.parseSpace(s[1]),this.position++):this.combinator()},t.prototype.string=function(){var s=this.currToken;this.newNode(new Qd.default({value:this.currToken[1],source:{start:{line:s[2],column:s[3]},end:{line:s[4],column:s[5]}},sourceIndex:s[6]})),this.position++},t.prototype.universal=function(s){var r=this.nextToken;if(r&&r[1]==="|")return this.position++,this.namespace();this.newNode(new rm.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]}),s),this.position++},t.prototype.splitWord=function(s,r){for(var n=this,i=this.nextToken,o=this.currToken[1];i&&i[0]==="word";){this.position++;var a=this.currToken[1];if(o+=a,a.lastIndexOf("\\")===a.length-1){var u=this.nextToken;u&&u[0]==="space"&&(o+=this.parseSpace(u[1]," "),this.position++)}i=this.nextToken}var c=(0,Ws.default)(o,"."),f=(0,Ws.default)(o,"#"),p=(0,Ws.default)(o,"#{");p.length&&(f=f.filter(function(w){return!~p.indexOf(w)}));var l=(0,um.default)((0,Md.default)((0,qd.default)([[0],c,f])));l.forEach(function(w,x){var h=l[x+1]||o.length,d=o.slice(w,h);if(x===0&&r)return r.call(n,d,l.length);var m=void 0;~c.indexOf(w)?m=new Wd.default({value:d.slice(1),source:{start:{line:n.currToken[2],column:n.currToken[3]+w},end:{line:n.currToken[4],column:n.currToken[3]+(h-1)}},sourceIndex:n.currToken[6]+l[x]}):~f.indexOf(w)?m=new Gd.default({value:d.slice(1),source:{start:{line:n.currToken[2],column:n.currToken[3]+w},end:{line:n.currToken[4],column:n.currToken[3]+(h-1)}},sourceIndex:n.currToken[6]+l[x]}):m=new Hd.default({value:d,source:{start:{line:n.currToken[2],column:n.currToken[3]+w},end:{line:n.currToken[4],column:n.currToken[3]+(h-1)}},sourceIndex:n.currToken[6]+l[x]}),n.newNode(m,s)}),this.position++},t.prototype.word=function(s){var r=this.nextToken;return r&&r[1]==="|"?(this.position++,this.namespace()):this.splitWord(s)},t.prototype.loop=function(){for(;this.position{"use strict";Sr.__esModule=!0;var mm=function(){function t(e,s){for(var r=0;r1&&arguments[1]!==void 0?arguments[1]:{},n=new wm.default({css:s,error:function(o){throw new Error(o)},options:r});return this.res=n,this.func(n),this},mm(t,[{key:"result",get:function(){return String(this.res)}}]),t}();Sr.default=xm;ru.exports=Sr.default});var z=y((Tx,iu)=>{"use strict";var zs=function(t,e){let s=new t.constructor;for(let r in t){if(!t.hasOwnProperty(r))continue;let n=t[r],i=typeof n;r==="parent"&&i==="object"?e&&(s[r]=e):r==="source"?s[r]=n:n instanceof Array?s[r]=n.map(o=>zs(o,s)):r!=="before"&&r!=="after"&&r!=="between"&&r!=="semicolon"&&(i==="object"&&n!==null&&(n=zs(n)),s[r]=n)}return s};iu.exports=class{constructor(e){e=e||{},this.raws={before:"",after:""};for(let s in e)this[s]=e[s]}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(e){e=e||{};let s=zs(this);for(let r in e)s[r]=e[r];return s}cloneBefore(e){e=e||{};let s=this.clone(e);return this.parent.insertBefore(this,s),s}cloneAfter(e){e=e||{};let s=this.clone(e);return this.parent.insertAfter(this,s),s}replaceWith(){let e=Array.prototype.slice.call(arguments);if(this.parent){for(let s of e)this.parent.insertBefore(this,s);this.remove()}return this}moveTo(e){return this.cleanRaws(this.root()===e.root()),this.remove(),e.append(this),this}moveBefore(e){return this.cleanRaws(this.root()===e.root()),this.remove(),e.parent.insertBefore(e,this),this}moveAfter(e){return this.cleanRaws(this.root()===e.root()),this.remove(),e.parent.insertAfter(e,this),this}next(){let e=this.parent.index(this);return this.parent.nodes[e+1]}prev(){let e=this.parent.index(this);return this.parent.nodes[e-1]}toJSON(){let e={};for(let s in this){if(!this.hasOwnProperty(s)||s==="parent")continue;let r=this[s];r instanceof Array?e[s]=r.map(n=>typeof n=="object"&&n.toJSON?n.toJSON():n):typeof r=="object"&&r.toJSON?e[s]=r.toJSON():e[s]=r}return e}root(){let e=this;for(;e.parent;)e=e.parent;return e}cleanRaws(e){delete this.raws.before,delete this.raws.after,e||delete this.raws.between}positionInside(e){let s=this.toString(),r=this.source.start.column,n=this.source.start.line;for(let i=0;i{"use strict";var _m=z(),Le=class extends _m{constructor(e){super(e),this.nodes||(this.nodes=[])}push(e){return e.parent=this,this.nodes.push(e),this}each(e){this.lastEach||(this.lastEach=0),this.indexes||(this.indexes={}),this.lastEach+=1;let s=this.lastEach,r,n;if(this.indexes[s]=0,!!this.nodes){for(;this.indexes[s]{let n=e(s,r);return n!==!1&&s.walk&&(n=s.walk(e)),n})}walkType(e,s){if(!e||!s)throw new Error("Parameters {type} and {callback} are required.");let r=typeof e=="function";return this.walk((n,i)=>{if(r&&n instanceof e||!r&&n.type===e)return s.call(this,n,i)})}append(e){return e.parent=this,this.nodes.push(e),this}prepend(e){return e.parent=this,this.nodes.unshift(e),this}cleanRaws(e){if(super.cleanRaws(e),this.nodes)for(let s of this.nodes)s.cleanRaws(e)}insertAfter(e,s){let r=this.index(e),n;this.nodes.splice(r+1,0,s);for(let i in this.indexes)n=this.indexes[i],r<=n&&(this.indexes[i]=n+this.nodes.length);return this}insertBefore(e,s){let r=this.index(e),n;this.nodes.splice(r,0,s);for(let i in this.indexes)n=this.indexes[i],r<=n&&(this.indexes[i]=n+this.nodes.length);return this}removeChild(e){e=this.index(e),this.nodes[e].parent=void 0,this.nodes.splice(e,1);let s;for(let r in this.indexes)s=this.indexes[r],s>=e&&(this.indexes[r]=s-1);return this}removeAll(){for(let e of this.nodes)e.parent=void 0;return this.nodes=[],this}every(e){return this.nodes.every(e)}some(e){return this.nodes.some(e)}index(e){return typeof e=="number"?e:this.nodes.indexOf(e)}get first(){if(this.nodes)return this.nodes[0]}get last(){if(this.nodes)return this.nodes[this.nodes.length-1]}toString(){let e=this.nodes.map(String).join("");return this.value&&(e=this.value+e),this.raws.before&&(e=this.raws.before+e),this.raws.after&&(e+=this.raws.after),e}};Le.registerWalker=t=>{let e="walk"+t.name;e.lastIndexOf("s")!==e.length-1&&(e+="s"),!Le.prototype[e]&&(Le.prototype[e]=function(s){return this.walkType(t,s)})};ou.exports=Le});var uu=y((Ax,au)=>{"use strict";var km=U();au.exports=class extends km{constructor(e){super(e),this.type="root"}}});var cu=y((Px,lu)=>{"use strict";var Em=U();lu.exports=class extends Em{constructor(e){super(e),this.type="value",this.unbalanced=0}}});var hu=y((Rx,pu)=>{"use strict";var fu=U(),Tr=class extends fu{constructor(e){super(e),this.type="atword"}toString(){let e=this.quoted?this.raws.quote:"";return[this.raws.before,"@",String.prototype.toString.call(this.value),this.raws.after].join("")}};fu.registerWalker(Tr);pu.exports=Tr});var mu=y((Ix,du)=>{"use strict";var Sm=U(),Tm=z(),Or=class extends Tm{constructor(e){super(e),this.type="colon"}};Sm.registerWalker(Or);du.exports=Or});var wu=y((qx,yu)=>{"use strict";var Om=U(),Cm=z(),Cr=class extends Cm{constructor(e){super(e),this.type="comma"}};Om.registerWalker(Cr);yu.exports=Cr});var vu=y((Lx,gu)=>{"use strict";var Am=U(),Nm=z(),Ar=class extends Nm{constructor(e){super(e),this.type="comment",this.inline=Object(e).inline||!1}toString(){return[this.raws.before,this.inline?"//":"/*",String(this.value),this.inline?"":"*/",this.raws.after].join("")}};Am.registerWalker(Ar);gu.exports=Ar});var _u=y((Dx,bu)=>{"use strict";var xu=U(),Nr=class extends xu{constructor(e){super(e),this.type="func",this.unbalanced=-1}};xu.registerWalker(Nr);bu.exports=Nr});var Eu=y((Mx,ku)=>{"use strict";var Pm=U(),Rm=z(),Pr=class extends Rm{constructor(e){super(e),this.type="number",this.unit=Object(e).unit||""}toString(){return[this.raws.before,String(this.value),this.unit,this.raws.after].join("")}};Pm.registerWalker(Pr);ku.exports=Pr});var Tu=y((Bx,Su)=>{"use strict";var Im=U(),qm=z(),Rr=class extends qm{constructor(e){super(e),this.type="operator"}};Im.registerWalker(Rr);Su.exports=Rr});var Cu=y((Ux,Ou)=>{"use strict";var Lm=U(),Dm=z(),Ir=class extends Dm{constructor(e){super(e),this.type="paren",this.parenType=""}};Lm.registerWalker(Ir);Ou.exports=Ir});var Nu=y((Fx,Au)=>{"use strict";var Mm=U(),Bm=z(),qr=class extends Bm{constructor(e){super(e),this.type="string"}toString(){let e=this.quoted?this.raws.quote:"";return[this.raws.before,e,this.value+"",e,this.raws.after].join("")}};Mm.registerWalker(qr);Au.exports=qr});var Ru=y(($x,Pu)=>{"use strict";var Um=U(),Fm=z(),Lr=class extends Fm{constructor(e){super(e),this.type="word"}};Um.registerWalker(Lr);Pu.exports=Lr});var qu=y((Wx,Iu)=>{"use strict";var $m=U(),Wm=z(),Dr=class extends Wm{constructor(e){super(e),this.type="unicode-range"}};$m.registerWalker(Dr);Iu.exports=Dr});var Du=y((Yx,Lu)=>{"use strict";var Vs=class extends Error{constructor(e){super(e),this.name=this.constructor.name,this.message=e||"An error ocurred while tokzenizing.",typeof Error.captureStackTrace=="function"?Error.captureStackTrace(this,this.constructor):this.stack=new Error(e).stack}};Lu.exports=Vs});var Uu=y((zx,Bu)=>{"use strict";var Mr=/[ \n\t\r\{\(\)'"\\;,/]/g,Ym=/[ \n\t\r\(\)\{\}\*:;@!&'"\+\|~>,\[\]\\]|\/(?=\*)/g,De=/[ \n\t\r\(\)\{\}\*:;@!&'"\-\+\|~>,\[\]\\]|\//g,zm=/^[a-z0-9]/i,Vm=/^[a-f0-9?\-]/i,Mu=Du();Bu.exports=function(e,s){s=s||{};let r=[],n=e.valueOf(),i=n.length,o=-1,a=1,u=0,c=0,f=null,p,l,w,x,h,d,m,b,g,v,R,F;function H(T){let O=`Unclosed ${T} at line: ${a}, column: ${u-o}, token: ${u}`;throw new Mu(O)}function $(){let T=`Syntax error at line: ${a}, column: ${u-o}, token: ${u}`;throw new Mu(T)}for(;u0&&r[r.length-1][0]==="word"&&r[r.length-1][1]==="url",r.push(["(","(",a,u-o,a,l-o,u]);break;case 41:c--,f=f&&c>0,r.push([")",")",a,u-o,a,l-o,u]);break;case 39:case 34:w=p===39?"'":'"',l=u;do for(v=!1,l=n.indexOf(w,l+1),l===-1&&H("quote",w),R=l;n.charCodeAt(R-1)===92;)R-=1,v=!v;while(v);r.push(["string",n.slice(u,l+1),a,u-o,a,l-o,u]),u=l;break;case 64:Mr.lastIndex=u+1,Mr.test(n),Mr.lastIndex===0?l=n.length-1:l=Mr.lastIndex-2,r.push(["atword",n.slice(u,l+1),a,u-o,a,l-o,u]),u=l;break;case 92:l=u,p=n.charCodeAt(l+1),m&&p!==47&&p!==32&&p!==10&&p!==9&&p!==13&&p!==12&&(l+=1),r.push(["word",n.slice(u,l+1),a,u-o,a,l-o,u]),u=l;break;case 43:case 45:case 42:l=u+1,F=n.slice(u+1,l+1);let T=n.slice(u-1,u);if(p===45&&F.charCodeAt(0)===45){l++,r.push(["word",n.slice(u,l),a,u-o,a,l-o,u]),u=l-1;break}r.push(["operator",n.slice(u,l),a,u-o,a,l-o,u]),u=l-1;break;default:if(p===47&&(n.charCodeAt(u+1)===42||s.loose&&!f&&n.charCodeAt(u+1)===47)){if(n.charCodeAt(u+1)===42)l=n.indexOf("*/",u+2)+1,l===0&&H("comment","*/");else{let C=n.indexOf(` +`,u+2);l=C!==-1?C-1:i}d=n.slice(u,l+1),x=d.split(` +`),h=x.length-1,h>0?(b=a+h,g=l-x[h].length):(b=a,g=o),r.push(["comment",d,a,u-o,b,l-g,u]),o=g,a=b,u=l}else if(p===35&&!zm.test(n.slice(u+1,u+2)))l=u+1,r.push(["#",n.slice(u,l),a,u-o,a,l-o,u]),u=l-1;else if((p===117||p===85)&&n.charCodeAt(u+1)===43){l=u+2;do l+=1,p=n.charCodeAt(l);while(l=48&&p<=57&&(O=De),O.lastIndex=u+1,O.test(n),O.lastIndex===0?l=n.length-1:l=O.lastIndex-2,O===De||p===46){let C=n.charCodeAt(l),me=n.charCodeAt(l+1),Qs=n.charCodeAt(l+2);(C===101||C===69)&&(me===45||me===43)&&Qs>=48&&Qs<=57&&(De.lastIndex=l+2,De.test(n),De.lastIndex===0?l=n.length-1:l=De.lastIndex-2)}r.push(["word",n.slice(u,l+1),a,u-o,a,l-o,u]),u=l}break}u++}return r}});var $u=y((Vx,Fu)=>{"use strict";var Gs=class extends Error{constructor(e){super(e),this.name=this.constructor.name,this.message=e||"An error ocurred while parsing.",typeof Error.captureStackTrace=="function"?Error.captureStackTrace(this,this.constructor):this.stack=new Error(e).stack}};Fu.exports=Gs});var Vu=y((jx,zu)=>{"use strict";var Gm=uu(),jm=cu(),Hm=hu(),Km=mu(),Qm=wu(),Jm=vu(),Xm=_u(),Zm=Eu(),ey=Tu(),Wu=Cu(),ty=Nu(),Yu=Ru(),ry=qu(),sy=Uu(),ny=qs(),iy=Ls(),oy=Ds(),ay=$u();function uy(t){return t.sort((e,s)=>e-s)}zu.exports=class{constructor(e,s){let r={loose:!1};this.cache=[],this.input=e,this.options=Object.assign({},r,s),this.position=0,this.unbalanced=0,this.root=new Gm;let n=new jm;this.root.append(n),this.current=n,this.tokens=sy(e,this.options)}parse(){return this.loop()}colon(){let e=this.currToken;this.newNode(new Km({value:e[1],source:{start:{line:e[2],column:e[3]},end:{line:e[4],column:e[5]}},sourceIndex:e[6]})),this.position++}comma(){let e=this.currToken;this.newNode(new Qm({value:e[1],source:{start:{line:e[2],column:e[3]},end:{line:e[4],column:e[5]}},sourceIndex:e[6]})),this.position++}comment(){let e=!1,s=this.currToken[1].replace(/\/\*|\*\//g,""),r;this.options.loose&&s.startsWith("//")&&(s=s.substring(2),e=!0),r=new Jm({value:s,inline:e,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(r),this.position++}error(e,s){throw new ay(e+` at line: ${s[2]}, column ${s[3]}`)}loop(){for(;this.position0&&(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 ey({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 e=1,s=this.position+1,r=this.currToken,n;for(;s=this.tokens.length-1&&!this.current.unbalanced)&&(this.current.unbalanced--,this.current.unbalanced<0&&this.error("Expected opening parenthesis",e),!this.current.unbalanced&&this.cache.length&&(this.current=this.cache.pop()))}space(){let e=this.currToken;this.position===this.tokens.length-1||this.nextToken[0]===","||this.nextToken[0]===")"?(this.current.last.raws.after+=e[1],this.position++):(this.spaces=e[1],this.position++)}unicodeRange(){let e=this.currToken;this.newNode(new ry({value:e[1],source:{start:{line:e[2],column:e[3]},end:{line:e[4],column:e[5]}},sourceIndex:e[6]})),this.position++}splitWord(){let e=this.nextToken,s=this.currToken[1],r=/^[\+\-]?((\d+(\.\d*)?)|(\.\d+))([eE][\+\-]?\d+)?/,n=/^(?!\#([a-z0-9]+))[\#\{\}]/gi,i,o;if(!n.test(s))for(;e&&e[0]==="word";){this.position++;let a=this.currToken[1];s+=a,e=this.nextToken}i=iy(s,"@"),o=uy(oy(ny([[0],i]))),o.forEach((a,u)=>{let c=o[u+1]||s.length,f=s.slice(a,c),p;if(~i.indexOf(a))p=new Hm({value:f.slice(1),source:{start:{line:this.currToken[2],column:this.currToken[3]+a},end:{line:this.currToken[4],column:this.currToken[3]+(c-1)}},sourceIndex:this.currToken[6]+o[u]});else if(r.test(this.currToken[1])){let l=f.replace(r,"");p=new Zm({value:f.replace(l,""),source:{start:{line:this.currToken[2],column:this.currToken[3]+a},end:{line:this.currToken[4],column:this.currToken[3]+(c-1)}},sourceIndex:this.currToken[6]+o[u],unit:l})}else p=new(e&&e[0]==="("?Xm:Yu)({value:f,source:{start:{line:this.currToken[2],column:this.currToken[3]+a},end:{line:this.currToken[4],column:this.currToken[3]+(c-1)}},sourceIndex:this.currToken[6]+o[u]}),p.type==="word"?(p.isHex=/^#(.+)/.test(f),p.isColor=/^#([0-9a-f]{3}|[0-9a-f]{4}|[0-9a-f]{6}|[0-9a-f]{8})$/i.test(f)):this.cache.push(this.current);this.newNode(p)}),this.position++}string(){let e=this.currToken,s=this.currToken[1],r=/^(\"|\')/,n=r.test(s),i="",o;n&&(i=s.match(r)[0],s=s.slice(1,s.length-1)),o=new ty({value:s,source:{start:{line:e[2],column:e[3]},end:{line:e[4],column:e[5]}},sourceIndex:e[6],quoted:n}),o.raws.quote=i,this.newNode(o),this.position++}word(){return this.splitWord()}newNode(e){return this.spaces&&(e.raws.before+=this.spaces,this.spaces=""),this.current.append(e)}get currToken(){return this.tokens[this.position]}get nextToken(){return this.tokens[this.position+1]}get prevToken(){return this.tokens[this.position-1]}}});var Sy={};Js(Sy,{languages:()=>pi,options:()=>di,parsers:()=>Ks,printers:()=>Ey});var hl=(t,e,s,r)=>{if(!(t&&e==null))return e.replaceAll?e.replaceAll(s,r):s.global?e.replace(s,r):e.split(s).join(r)},_=hl;var Me="string",Be="array",Ue="cursor",we="indent",ge="align",Fe="trim",ve="group",xe="fill",oe="if-break",$e="indent-if-break",We="line-suffix",Ye="line-suffix-boundary",K="line",ze="label",be="break-parent",_t=new Set([Ue,we,ge,Fe,ve,xe,oe,$e,We,Ye,K,ze,be]);function dl(t){if(typeof t=="string")return Me;if(Array.isArray(t))return Be;if(!t)return;let{type:e}=t;if(_t.has(e))return e}var Ve=dl;var ml=t=>new Intl.ListFormat("en-US",{type:"disjunction"}).format(t);function yl(t){let e=t===null?"null":typeof t;if(e!=="string"&&e!=="object")return`Unexpected doc '${e}', +Expected it to be 'string' or 'object'.`;if(Ve(t))throw new Error("doc is valid.");let s=Object.prototype.toString.call(t);if(s!=="[object Object]")return`Unexpected doc '${s}'.`;let r=ml([..._t].map(n=>`'${n}'`));return`Unexpected doc.type '${t.type}'. +Expected it to be ${r}.`}var Fr=class extends Error{name="InvalidDocError";constructor(e){super(yl(e)),this.doc=e}},$r=Fr;var Zs=()=>{},ae=Zs,kt=Zs;function q(t){return ae(t),{type:we,contents:t}}function en(t,e){return ae(e),{type:ge,contents:e,n:t}}function L(t,e={}){return ae(t),kt(e.expandedStates,!0),{type:ve,id:e.id,contents:t,break:!!e.shouldBreak,expandedStates:e.expandedStates}}function tn(t){return en({type:"root"},t)}function ue(t){return en(-1,t)}function Ge(t){return kt(t),{type:xe,parts:t}}function Et(t,e="",s={}){return ae(t),e!==""&&ae(e),{type:oe,breakContents:t,flatContents:e,groupId:s.groupId}}var je={type:be};var wl={type:K,hard:!0};var A={type:K},M={type:K,soft:!0},E=[wl,je];function V(t,e){ae(t),kt(e);let s=[];for(let r=0;r{if(!(t&&e==null))return Array.isArray(e)||typeof e=="string"?e[s<0?e.length+s:s]:e.at(s)},G=gl;function vl(t,e){if(typeof t=="string")return e(t);let s=new Map;return r(t);function r(i){if(s.has(i))return s.get(i);let o=n(i);return s.set(i,o),o}function n(i){switch(Ve(i)){case Be:return e(i.map(r));case xe:return e({...i,parts:i.parts.map(r)});case oe:return e({...i,breakContents:r(i.breakContents),flatContents:r(i.flatContents)});case ve:{let{expandedStates:o,contents:a}=i;return o?(o=o.map(r),a=o[0]):a=r(a),e({...i,contents:a,expandedStates:o})}case ge:case we:case $e:case ze:case We:return e({...i,contents:r(i.contents)});case Me:case Ue:case Fe:case Ye:case K:case be:return e(i);default:throw new $r(i)}}}function xl(t){return t.type===K&&!t.hard?t.soft?"":" ":t.type===oe?t.flatContents:t}function rn(t){return vl(t,xl)}function bl(t){return Array.isArray(t)&&t.length>0}var ee=bl;var St="'",sn='"';function _l(t,e){let s=e===!0||e===St?St:sn,r=s===St?sn:St,n=0,i=0;for(let o of t)o===s?n++:o===r&&i++;return n>i?r:s}var nn=_l;function kl(t,e,s){let r=e==='"'?"'":'"',i=_(!1,t,/\\(.)|(["'])/gsu,(o,a,u)=>a===r?a:u===e?"\\"+u:u||(s&&/^[^\n\r"'0-7\\bfnrt-vx\u2028\u2029]$/u.test(a)?a:"\\"+a));return e+i+e}var on=kl;function El(t,e){let s=t.slice(1,-1),r=e.parser==="json"||e.parser==="jsonc"||e.parser==="json5"&&e.quoteProps==="preserve"&&!e.singleQuote?'"':e.__isInHtmlAttribute?"'":nn(s,e.singleQuote);return on(s,r,!(e.parser==="css"||e.parser==="less"||e.parser==="scss"||e.__embeddedInHtml))}var Tt=El;var Wr=class extends Error{name="UnexpectedNodeError";constructor(e,s,r="type"){super(`Unexpected ${s} node ${r}: ${JSON.stringify(e[r])}.`),this.node=e}},an=Wr;function Sl(t){return(t==null?void 0:t.type)==="front-matter"}var _e=Sl;var Tl=new Set(["raw","raws","sourceIndex","source","before","after","trailingComma","spaces"]);function un(t,e,s){if(_e(t)&&t.language==="yaml"&&delete e.value,t.type==="css-comment"&&s.type==="css-root"&&s.nodes.length>0&&((s.nodes[0]===t||_e(s.nodes[0])&&s.nodes[1]===t)&&(delete e.text,/^\*\s*@(?:format|prettier)\s*$/u.test(t.text))||s.type==="css-root"&&G(!1,s.nodes,-1)===t))return null;if(t.type==="value-root"&&delete e.text,(t.type==="media-query"||t.type==="media-query-list"||t.type==="media-feature-expression")&&delete e.value,t.type==="css-rule"&&delete e.params,(t.type==="media-feature"||t.type==="media-keyword"||t.type==="media-type"||t.type==="media-unknown"||t.type==="media-url"||t.type==="media-value"||t.type==="selector-attribute"||t.type==="selector-string"||t.type==="selector-class"||t.type==="selector-combinator"||t.type==="value-string")&&t.value&&(e.value=Ol(t.value)),t.type==="selector-combinator"&&(e.value=_(!1,e.value,/\s+/gu," ")),t.type==="media-feature"&&(e.value=_(!1,e.value," ","")),(t.type==="value-word"&&(t.isColor&&t.isHex||["initial","inherit","unset","revert"].includes(t.value.toLowerCase()))||t.type==="media-feature"||t.type==="selector-root-invalid"||t.type==="selector-pseudo")&&(e.value=e.value.toLowerCase()),t.type==="css-decl"&&(e.prop=t.prop.toLowerCase()),(t.type==="css-atrule"||t.type==="css-import")&&(e.name=t.name.toLowerCase()),t.type==="value-number"&&(e.unit=t.unit.toLowerCase()),t.type==="value-unknown"&&(e.value=_(!1,e.value,/;$/gu,"")),t.type==="selector-attribute"&&(e.attribute=t.attribute.trim(),t.namespace&&typeof t.namespace=="string"&&(e.namespace=t.namespace.trim()||!0),t.value&&(e.value=_(!1,e.value.trim(),/^["']|["']$/gu,""),delete e.quoted)),(t.type==="media-value"||t.type==="media-type"||t.type==="value-number"||t.type==="selector-root-invalid"||t.type==="selector-class"||t.type==="selector-combinator"||t.type==="selector-tag")&&t.value&&(e.value=_(!1,e.value,/([\d+.e-]+)([a-z]*)/giu,(r,n,i)=>{let o=Number(n);return Number.isNaN(o)?r:o+i.toLowerCase()})),t.type==="selector-tag"){let r=e.value.toLowerCase();["from","to"].includes(r)&&(e.value=r)}if(t.type==="css-atrule"&&t.name.toLowerCase()==="supports"&&delete e.value,t.type==="selector-unknown"&&delete e.value,t.type==="value-comma_group"){let r=t.groups.findIndex(n=>n.type==="value-number"&&n.unit==="...");r!==-1&&(e.groups[r].unit="",e.groups.splice(r+1,0,{type:"value-word",value:"...",isColor:!1,isHex:!1}))}if(t.type==="value-comma_group"&&t.groups.some(r=>r.type==="value-atword"&&r.value.endsWith("[")||r.type==="value-word"&&r.value.startsWith("]")))return{type:"value-atword",value:t.groups.map(r=>r.value).join(""),group:{open:null,close:null,groups:[],type:"value-paren_group"}}}un.ignoredProperties=Tl;function Ol(t){return _(!1,_(!1,t,"'",'"'),/\\([^\da-f])/giu,"$1")}var ln=un;async function Cl(t,e){if(t.language==="yaml"){let s=t.value.trim(),r=s?await e(s,{parser:"yaml"}):"";return tn([t.startDelimiter,t.explicitLanguage,E,r,r?E:"",t.endDelimiter])}}var cn=Cl;function fn(t){let{node:e}=t;if(e.type==="front-matter")return async s=>{let r=await cn(e,s);return r?[r,E]:void 0}}fn.getVisitorKeys=t=>t.type==="css-root"?["frontMatter"]:[];var pn=fn;var He=null;function Ke(t){if(He!==null&&typeof He.property){let e=He;return He=Ke.prototype=null,e}return He=Ke.prototype=t??Object.create(null),new Ke}var Al=10;for(let t=0;t<=Al;t++)Ke();function Yr(t){return Ke(t)}function Nl(t,e="type"){Yr(t);function s(r){let n=r[e],i=t[n];if(!Array.isArray(i))throw Object.assign(new Error(`Missing visitor keys for '${n}'.`),{node:r});return i}return s}var hn=Nl;var Pl={"front-matter":[],"css-root":["frontMatter","nodes"],"css-comment":[],"css-rule":["selector","nodes"],"css-decl":["value","selector","nodes"],"css-atrule":["selector","params","value","nodes"],"media-query-list":["nodes"],"media-query":["nodes"],"media-type":[],"media-feature-expression":["nodes"],"media-feature":[],"media-colon":[],"media-value":[],"media-keyword":[],"media-url":[],"media-unknown":[],"selector-root":["nodes"],"selector-selector":["nodes"],"selector-comment":[],"selector-string":[],"selector-tag":[],"selector-id":[],"selector-class":[],"selector-attribute":[],"selector-combinator":["nodes"],"selector-universal":[],"selector-pseudo":["nodes"],"selector-nesting":[],"selector-unknown":[],"value-value":["group"],"value-root":["group"],"value-comment":[],"value-comma_group":["groups"],"value-paren_group":["open","groups","close"],"value-func":["group"],"value-paren":[],"value-number":[],"value-operator":[],"value-word":[],"value-colon":[],"value-comma":[],"value-string":[],"value-atword":[],"value-unicode-range":[],"value-unknown":[]},dn=Pl;var Rl=hn(dn),mn=Rl;function Il(t,e){let s=0;for(let r=0;r{let n=!!(r!=null&&r.backwards);if(s===!1)return!1;let{length:i}=e,o=s;for(;o>=0&&o_n(c,e[c])).map(c=>`${n} ${c}${s}`).join("");if(!t){if(o.length===0)return"";if(o.length===1&&!Array.isArray(e[o[0]])){let c=e[o[0]];return`${r} ${_n(o[0],c)[0]}${i}`}}let u=t.split(s).map(c=>`${n} ${c}`).join(s)+s;return r+s+(t?u:"")+(t&&o.length>0?n+s:"")+a+i}function _n(t,e){return[...En,...Array.isArray(e)?e:[e]].map(s=>`@${t} ${s}`.trim())}function Fl(t){if(!t.startsWith("#!"))return"";let e=t.indexOf(` +`);return e===-1?t:t.slice(0,e)}var An=Fl;function Nn(t){let e=An(t);e&&(t=t.slice(e.length+1));let s=Sn(t),{pragmas:r,comments:n}=On(s);return{shebang:e,text:t,pragmas:r,comments:n}}function Pn(t){let{pragmas:e}=Nn(t);return Object.prototype.hasOwnProperty.call(e,"prettier")||Object.prototype.hasOwnProperty.call(e,"format")}function Rn(t){let{shebang:e,text:s,pragmas:r,comments:n}=Nn(t),i=Tn(s),o=Cn({pragmas:{format:"",...r},comments:n.trimStart()});return(e?`${e} `:"")+o+(i.startsWith(` `)?` `:` -`)+i}var kc=new RegExp("^(?-{3}|\\+{3})(?[^\\n]*)\\n(?:|(?.*?)\\n)(?\\k|\\.{3})[^\\S\\n]*(?:\\n|$)","s");function _c(t){let e=t.match(kc);if(!e)return{content:t};let{startDelimiter:n,language:r,value:s="",endDelimiter:i}=e.groups,o=r.trim()||"yaml";if(n==="+++"&&(o="toml"),o!=="yaml"&&n!==i)return{content:t};let[a]=e;return{frontMatter:{type:"front-matter",lang:o,value:s,startDelimiter:n,endDelimiter:i,raw:a.replace(/\n$/,"")},content:T(!1,a,/[^\n]/g," ")+t.slice(a.length)}}var je=_c;function ei(t){return Xs(je(t).content)}function ti(t){let{frontMatter:e,content:n}=je(t);return(e?e.raw+` +`)+i}var Qe=3;function $l(t){let e=t.slice(0,Qe);if(e!=="---"&&e!=="+++")return;let s=t.indexOf(` +`,Qe);if(s===-1)return;let r=t.slice(Qe,s).trim(),n=t.indexOf(` +${e}`,s),i=r;if(i||(i=e==="+++"?"toml":"yaml"),n===-1&&e==="---"&&i==="yaml"&&(n=t.indexOf(` +...`,s)),n===-1)return;let o=n+1+Qe,a=t.charAt(o+1);if(!/\s?/u.test(a))return;let u=t.slice(0,o);return{type:"front-matter",language:i,explicitLanguage:r,value:t.slice(s+1,n),startDelimiter:e,endDelimiter:u.slice(-Qe),raw:u}}function Wl(t){let e=$l(t);if(!e)return{content:t};let{raw:s}=e;return{frontMatter:e,content:_(!1,s,/[^\n]/gu," ")+t.slice(s.length)}}var Je=Wl;function In(t){return Pn(Je(t).content)}function qn(t){let{frontMatter:e,content:s}=Je(t);return(e?e.raw+` -`:"")+Zs(n)}var Je=null;function Xe(t){if(Je!==null&&typeof Je.property){let e=Je;return Je=Xe.prototype=null,e}return Je=Xe.prototype=t??Object.create(null),new Xe}var Tc=10;for(let t=0;t<=Tc;t++)Xe();function sn(t){return Xe(t)}function Ec(t,e="type"){sn(t);function n(r){let s=r[e],i=t[s];if(!Array.isArray(i))throw Object.assign(new Error(`Missing visitor keys for '${s}'.`),{node:r});return i}return n}var ri=Ec;var Sc={"front-matter":[],"css-root":["frontMatter","nodes"],"css-comment":[],"css-rule":["selector","nodes"],"css-decl":["value","selector","nodes"],"css-atrule":["selector","params","value","nodes"],"media-query-list":["nodes"],"media-query":["nodes"],"media-type":[],"media-feature-expression":["nodes"],"media-feature":[],"media-colon":[],"media-value":[],"media-keyword":[],"media-url":[],"media-unknown":[],"selector-root":["nodes"],"selector-selector":["nodes"],"selector-comment":[],"selector-string":[],"selector-tag":[],"selector-id":[],"selector-class":[],"selector-attribute":[],"selector-combinator":["nodes"],"selector-universal":[],"selector-pseudo":["nodes"],"selector-nesting":[],"selector-unknown":[],"value-value":["group"],"value-root":["group"],"value-comment":[],"value-comma_group":["groups"],"value-paren_group":["open","groups","close"],"value-func":["group"],"value-paren":[],"value-number":[],"value-operator":[],"value-word":[],"value-colon":[],"value-comma":[],"value-string":[],"value-atword":[],"value-unicode-range":[],"value-unknown":[]},ni=Sc;var Cc=ri(ni),si=Cc;var Oc=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 ii(t){var e,n;return(n=(e=t.findAncestor(r=>r.type==="css-decl"))==null?void 0:e.prop)==null?void 0:n.toLowerCase()}var Ac=new Set(["initial","inherit","unset","revert"]);function oi(t){return Ac.has(t.toLowerCase())}function ai(t,e){var r;let n=t.findAncestor(s=>s.type==="css-atrule");return((r=n==null?void 0:n.name)==null?void 0:r.toLowerCase().endsWith("keyframes"))&&["from","to"].includes(e.toLowerCase())}function ne(t){return t.includes("$")||t.includes("@")||t.includes("#")||t.startsWith("%")||t.startsWith("--")||t.startsWith(":--")||t.includes("(")&&t.includes(")")?t:t.toLowerCase()}function Ee(t,e){var r;let n=t.findAncestor(s=>s.type==="value-func");return((r=n==null?void 0:n.value)==null?void 0:r.toLowerCase())===e}function ui(t){var r;let e=t.findAncestor(s=>s.type==="css-rule"),n=(r=e==null?void 0:e.raws)==null?void 0:r.selector;return n&&(n.startsWith(":import")||n.startsWith(":export"))}function Se(t,e){let n=Array.isArray(e)?e:[e],r=t.findAncestor(s=>s.type==="css-atrule");return r&&n.includes(r.name.toLowerCase())}function li(t){var n;let{node:e}=t;return e.groups[0].value==="url"&&e.groups.length===2&&((n=t.findAncestor(r=>r.type==="css-atrule"))==null?void 0:n.name)==="import"}function ci(t){return t.type==="value-func"&&t.value.toLowerCase()==="url"}function fi(t){return t.type==="value-func"&&t.value.toLowerCase()==="var"}function Pt(t,e){var r;let n=(r=t.parent)==null?void 0:r.nodes;return n&&n.indexOf(e)===n.length-1}function pi(t){let{selector:e}=t;return e?typeof e=="string"&&/^@.+:.*$/.test(e)||e.value&&/^@.+:.*$/.test(e.value):!1}function hi(t){return t.type==="value-word"&&["from","through","end"].includes(t.value)}function di(t){return t.type==="value-word"&&["and","or","not"].includes(t.value)}function mi(t){return t.type==="value-word"&&t.value==="in"}function Rt(t){return t.type==="value-operator"&&t.value==="*"}function Ze(t){return t.type==="value-operator"&&t.value==="/"}function j(t){return t.type==="value-operator"&&t.value==="+"}function he(t){return t.type==="value-operator"&&t.value==="-"}function Nc(t){return t.type==="value-operator"&&t.value==="%"}function It(t){return Rt(t)||Ze(t)||j(t)||he(t)||Nc(t)}function yi(t){return t.type==="value-word"&&["==","!="].includes(t.value)}function gi(t){return t.type==="value-word"&&["<",">","<=",">="].includes(t.value)}function et(t,e){return e.parser==="scss"&&t.type==="css-atrule"&&["if","else","for","each","while"].includes(t.name)}function an(t){var e;return((e=t.raws)==null?void 0:e.params)&&/^\(\s*\)$/.test(t.raws.params)}function un(t){return t.name.startsWith("prettier-placeholder")}function wi(t){return t.prop.startsWith("@prettier-placeholder")}function vi(t,e){return t.value==="$$"&&t.type==="value-func"&&(e==null?void 0:e.type)==="value-word"&&!e.raws.before}function xi(t){var e,n;return((e=t.value)==null?void 0:e.type)==="value-root"&&((n=t.value.group)==null?void 0:n.type)==="value-value"&&t.prop.toLowerCase()==="composes"}function bi(t){var e,n,r;return((r=(n=(e=t.value)==null?void 0:e.group)==null?void 0:n.group)==null?void 0:r.type)==="value-paren_group"&&t.value.group.group.open!==null&&t.value.group.group.close!==null}function de(t){var e;return((e=t.raws)==null?void 0:e.before)===""}function qt(t){var e,n;return t.type==="value-comma_group"&&((n=(e=t.groups)==null?void 0:e[1])==null?void 0:n.type)==="value-colon"}function on(t){var e;return t.type==="value-paren_group"&&((e=t.groups)==null?void 0:e[0])&&qt(t.groups[0])}function ln(t,e){var i;if(e.parser!=="scss")return!1;let{node:n}=t;if(n.groups.length===0)return!1;let r=t.grandparent;if(!on(n)&&!(r&&on(r)))return!1;let s=t.findAncestor(o=>o.type==="css-decl");return!!((i=s==null?void 0:s.prop)!=null&&i.startsWith("$")||on(r)||r.type==="value-func")}function cn(t){return t.type==="value-comment"&&t.inline}function Dt(t){return t.type==="value-word"&&t.value==="#"}function fn(t){return t.type==="value-word"&&t.value==="{"}function Lt(t){return t.type==="value-word"&&t.value==="}"}function tt(t){return["value-word","value-atword"].includes(t.type)}function Mt(t){return(t==null?void 0:t.type)==="value-colon"}function ki(t,e){if(!qt(e))return!1;let{groups:n}=e,r=n.indexOf(t);return r===-1?!1:Mt(n[r+1])}function _i(t){return t.value&&["not","and","or"].includes(t.value.toLowerCase())}function Ti(t){return t.type!=="value-func"?!1:Oc.has(t.value.toLowerCase())}function Ce(t){return/\/\//.test(t.split(/[\n\r]/).pop())}function rt(t){return(t==null?void 0:t.type)==="value-atword"&&t.value.startsWith("prettier-placeholder-")}function Ei(t,e){var n,r;if(((n=t.open)==null?void 0:n.value)!=="("||((r=t.close)==null?void 0:r.value)!==")"||t.groups.some(s=>s.type!=="value-comma_group"))return!1;if(e.type==="value-comma_group"){let s=e.groups.indexOf(t)-1,i=e.groups[s];if((i==null?void 0:i.type)==="value-word"&&i.value==="with")return!0}return!1}function nt(t){var e,n;return t.type==="value-paren_group"&&((e=t.open)==null?void 0:e.value)==="("&&((n=t.close)==null?void 0:n.value)===")"}function Bt(t){return(e,n,r)=>{let s=!!(r!=null&&r.backwards);if(n===!1)return!1;let{length:i}=e,o=n;for(;o>=0&&oCt(n,e))}function Ii(t,e){let n=e.singleQuote?"'":'"';return t.includes('"')||t.includes("'")?t:n+t+n}function me(t){return T(!1,t,Mc,(e,n,r,s,i)=>!r&&s?yn(s)+ne(i||""):e)}function yn(t){return Ni(t).replace(/\.0(?=$|e)/,"")}function qi(t){return t.trailingComma==="es5"||t.trailingComma==="all"}function Bc(t,e,n){var d;let{node:r}=t,s=t.parent,i=t.grandparent,o=ii(t),a=o&&s.type==="value-value"&&(o==="grid"||o.startsWith("grid-template")),u=t.findAncestor(m=>m.type==="css-atrule"),c=u&&et(u,e),f=r.groups.some(m=>cn(m)),p=t.map(n,"groups"),l=[],g=Ee(t,"url"),x=!1,h=!1;for(let m=0;mve:O!==-1?x=!0:ve!==-1&&(x=!1)}if(x||Mt(w)||Mt(v)||w.type==="value-atword"&&(w.value===""||w.value.endsWith("["))||v.type==="value-word"&&v.value.startsWith("]")||w.value==="~"||w.type!=="value-string"&&w.value&&w.value.includes("\\")&&v&&v.type!=="value-comment"||b!=null&&b.value&&b.value.indexOf("\\")===b.value.length-1&&w.type==="value-operator"&&w.value==="/"||w.value==="\\"||vi(w,v)||Dt(w)||fn(w)||Lt(v)||fn(v)&&de(v)||Lt(w)&&de(v)||w.value==="--"&&Dt(v))continue;let $=It(w),H=It(v);if(($&&Dt(v)||H&&Lt(w))&&de(v)||!b&&Ze(w)||Ee(t,"calc")&&(j(w)||j(v)||he(w)||he(v))&&de(v))continue;let U=(j(w)||he(w))&&m===0&&(v.type==="value-number"||v.isHex)&&i&&Ti(i)&&!de(v),S=(N==null?void 0:N.type)==="value-func"||N&&tt(N)||w.type==="value-func"||tt(w),C=v.type==="value-func"||tt(v)||(b==null?void 0:b.type)==="value-func"||b&&tt(b);if(!(!(Rt(v)||Rt(w))&&!Ee(t,"calc")&&!U&&(Ze(v)&&!S||Ze(w)&&!C||j(v)&&!S||j(w)&&!C||he(v)||he(w))&&(de(v)||$&&(!b||b&&It(b))))&&!((e.parser==="scss"||e.parser==="less")&&$&&w.value==="-"&&nt(v)&&R(w)===P(v.open)&&v.open.value==="(")){if(cn(w)){if(s.type==="value-paren_group"){l.push(fe(_));continue}l.push(_);continue}if(c&&(yi(v)||gi(v)||di(v)||mi(w)||hi(w))){l.push(" ");continue}if(u&&u.name.toLowerCase()==="namespace"){l.push(" ");continue}if(a){w.source&&v.source&&w.source.start.line!==v.source.start.line?(l.push(_),h=!0):l.push(" ");continue}if(H){l.push(" ");continue}if((v==null?void 0:v.value)!=="..."&&!(rt(w)&&rt(v)&&R(w)===P(v))){if(rt(w)&&nt(v)&&R(w)===P(v.open)){l.push(M);continue}if(w.value==="with"&&nt(v)){l.push(" ");continue}(d=w.value)!=null&&d.endsWith("#")&&v.value==="{"&&nt(v.group)||l.push(A)}}}return f&&l.push(Qe),h&&l.unshift(_),c?D(q(l)):li(t)?D(He(l)):D(q(He(l)))}var Di=Bc;function Fc(t,e,n){let r=!!(n!=null&&n.backwards);if(e===!1)return!1;let s=t.charAt(e);if(r){if(t.charAt(e-1)==="\r"&&s===` -`)return e-2;if(s===` -`||s==="\r"||s==="\u2028"||s==="\u2029")return e-1}else{if(s==="\r"&&t.charAt(e+1)===` -`)return e+2;if(s===` -`||s==="\r"||s==="\u2028"||s==="\u2029")return e+1}return e}var Ut=Fc;function $c(t,e){if(e===!1)return!1;if(t.charAt(e)==="/"&&t.charAt(e+1)==="*"){for(let n=e+2;nln(t,e))?Nt(","):""}function Bi(t,e,n){let{node:r,parent:s}=t,i=t.map(({node:g})=>typeof g=="string"?g:n(),"groups");if(s&&ci(s)&&(r.groups.length===1||r.groups.length>0&&r.groups[0].type==="value-comma_group"&&r.groups[0].groups.length>0&&r.groups[0].groups[0].type==="value-word"&&r.groups[0].groups[0].value.startsWith("data:")))return[r.open?n("open"):"",Y(",",i),r.close?n("close"):""];if(!r.open){let g=gn(t),x=Y([",",g?_:A],i);return q(g?[_,x]:D(He(x)))}let o=t.map(({node:g,isLast:x,index:h})=>{var b;let d=i[h];if(qt(g)&&g.type==="value-comma_group"&&g.groups&&g.groups[0].type!=="value-paren_group"&&((b=g.groups[2])==null?void 0:b.type)==="value-paren_group"){let w=Ds(d.contents.contents);w[1]=D(w[1]),d=D(fe(d))}let m=[d,x?Yc(t,e):","];if(!x&&g.type==="value-comma_group"&&ee(g.groups)){let w=G(!1,g.groups,-1);!w.source&&w.close&&(w=w.close),w.source&&zt(e.originalText,R(w))&&m.push(_)}return m},"groups"),a=ki(r,s),u=Ei(r,s),c=ln(t,e),f=u||c&&!a,p=u||a,l=D([r.open?n("open"):"",q([M,Y(A,o)]),M,r.close?n("close"):""],{shouldBreak:f});return p?fe(l):l}function gn(t){return t.match(e=>e.type==="value-paren_group"&&!e.open&&e.groups.some(n=>n.type==="value-comma_group"),(e,n)=>n==="group"&&e.type==="value-value",(e,n)=>n==="group"&&e.type==="value-root",(e,n)=>n==="value"&&(e.type==="css-decl"&&!e.prop.startsWith("--")||e.type==="css-atrule"&&e.variable))}function Gc(t,e,n){let r=[];return t.each(()=>{let{node:s,previous:i}=t;if((i==null?void 0:i.type)==="css-comment"&&i.text.trim()==="prettier-ignore"?r.push(e.originalText.slice(P(s),R(s))):r.push(n()),t.isLast)return;let{next:o}=t;o.type==="css-comment"&&!Wt(e.originalText,P(o),{backwards:!0})&&!Te(s)||o.type==="css-atrule"&&o.name==="else"&&s.type!=="css-comment"?r.push(" "):(r.push(e.__isHTMLStyleAttribute?A:_),zt(e.originalText,R(s))&&!Te(s)&&r.push(_))},"nodes"),r}var Oe=Gc;function Kc(t,e,n){var s,i,o,a,u,c;let{node:r}=t;switch(r.type){case"front-matter":return[r.raw,_];case"css-root":{let f=Oe(t,e,n),p=r.raws.after.trim();return p.startsWith(";")&&(p=p.slice(1).trim()),[r.frontMatter?[n("frontMatter"),_]:"",f,p?` ${p}`:"",r.nodes.length>0?_:""]}case"css-comment":{let f=r.inline||r.raws.inline,p=e.originalText.slice(P(r),R(r));return f?p.trimEnd():p}case"css-rule":return[n("selector"),r.important?" !important":"",r.nodes?[((s=r.selector)==null?void 0:s.type)==="selector-unknown"&&Ce(r.selector.value)?A:r.selector?" ":"","{",r.nodes.length>0?q([_,Oe(t,e,n)]):"",_,"}",pi(r)?";":""]:";"];case"css-decl":{let f=t.parent,{between:p}=r.raws,l=p.trim(),g=l===":",x=typeof r.value=="string"&&/^ *$/.test(r.value),h=typeof r.value=="string"?r.value:n("value");return h=xi(r)?Ls(h):h,!g&&Ce(l)&&!((o=(i=r.value)==null?void 0:i.group)!=null&&o.group&&t.call(()=>gn(t),"value","group","group"))&&(h=q([_,fe(h)])),[T(!1,r.raws.before,/[\s;]/g,""),f.type==="css-atrule"&&f.variable||ui(t)?r.prop:ne(r.prop),l.startsWith("//")?" ":"",l,r.extend||x?"":" ",e.parser==="less"&&r.extend&&r.selector?["extend(",n("selector"),")"]:"",h,r.raws.important?r.raws.important.replace(/\s*!\s*important/i," !important"):r.important?" !important":"",r.raws.scssDefault?r.raws.scssDefault.replace(/\s*!default/i," !default"):r.scssDefault?" !default":"",r.raws.scssGlobal?r.raws.scssGlobal.replace(/\s*!global/i," !global"):r.scssGlobal?" !global":"",r.nodes?[" {",q([M,Oe(t,e,n)]),M,"}"]:wi(r)&&!f.raws.semicolon&&e.originalText[R(r)-1]!==";"?"":e.__isHTMLStyleAttribute&&Pt(t,r)?Nt(";"):";"]}case"css-atrule":{let f=t.parent,p=un(r)&&!f.raws.semicolon&&e.originalText[R(r)-1]!==";";if(e.parser==="less"){if(r.mixin)return[n("selector"),r.important?" !important":"",p?"":";"];if(r.function)return[r.name,typeof r.params=="string"?r.params:n("params"),p?"":";"];if(r.variable)return["@",r.name,": ",r.value?n("value"):"",r.raws.between.trim()?r.raws.between.trim()+" ":"",r.nodes?["{",q([r.nodes.length>0?M:"",Oe(t,e,n)]),M,"}"]:"",p?"":";"]}let l=r.name==="import"&&((a=r.params)==null?void 0:a.type)==="value-unknown"&&r.params.value.endsWith(";");return["@",an(r)||r.name.endsWith(":")?r.name:ne(r.name),r.params?[an(r)?"":un(r)?r.raws.afterName===""?"":r.name.endsWith(":")?" ":/^\s*\n\s*\n/.test(r.raws.afterName)?[_,_]:/^\s*\n/.test(r.raws.afterName)?_:" ":" ",typeof r.params=="string"?r.params:n("params")]:"",r.selector?q([" ",n("selector")]):"",r.value?D([" ",n("value"),et(r,e)?bi(r)?" ":A:""]):r.name==="else"?" ":"",r.nodes?[et(r,e)?"":r.selector&&!r.selector.nodes&&typeof r.selector.value=="string"&&Ce(r.selector.value)||!r.selector&&typeof r.params=="string"&&Ce(r.params)?A:" ","{",q([r.nodes.length>0?M:"",Oe(t,e,n)]),M,"}"]:p||l?"":";"]}case"media-query-list":{let f=[];return t.each(({node:p})=>{p.type==="media-query"&&p.value===""||f.push(n())},"nodes"),D(q(Y(A,f)))}case"media-query":return[Y(" ",t.map(n,"nodes")),Pt(t,r)?"":","];case"media-type":return me(W(r.value,e));case"media-feature-expression":return r.nodes?["(",...t.map(n,"nodes"),")"]:r.value;case"media-feature":return ne(W(T(!1,r.value,/ +/g," "),e));case"media-colon":return[r.value," "];case"media-value":return me(W(r.value,e));case"media-keyword":return W(r.value,e);case"media-url":return W(T(!1,T(!1,r.value,/^url\(\s+/gi,"url("),/\s+\)$/g,")"),e);case"media-unknown":return r.value;case"selector-root":return D([Se(t,"custom-selector")?[t.findAncestor(f=>f.type==="css-atrule").customSelector,A]:"",Y([",",Se(t,["extend","custom-selector","nest"])?A:_],t.map(n,"nodes"))]);case"selector-selector":return D(q(t.map(n,"nodes")));case"selector-comment":return r.value;case"selector-string":return W(r.value,e);case"selector-tag":return[r.namespace?[r.namespace===!0?"":r.namespace.trim(),"|"]:"",((u=t.previous)==null?void 0:u.type)==="selector-nesting"?r.value:me(ai(t,r.value)?r.value.toLowerCase():r.value)];case"selector-id":return["#",r.value];case"selector-class":return[".",me(W(r.value,e))];case"selector-attribute":return["[",r.namespace?[r.namespace===!0?"":r.namespace.trim(),"|"]:"",r.attribute.trim(),r.operator??"",r.value?Ii(W(r.value.trim(),e),e):"",r.insensitive?" i":"","]"];case"selector-combinator":{if(r.value==="+"||r.value===">"||r.value==="~"||r.value===">>>"){let l=t.parent;return[l.type==="selector-selector"&&l.nodes[0]===r?"":A,r.value,Pt(t,r)?"":" "]}let f=r.value.trim().startsWith("(")?A:"",p=me(W(r.value.trim(),e))||A;return[f,p]}case"selector-universal":return[r.namespace?[r.namespace===!0?"":r.namespace.trim(),"|"]:"",r.value];case"selector-pseudo":return[ne(r.value),ee(r.nodes)?D(["(",q([M,Y([",",A],t.map(n,"nodes"))]),M,")"]):""];case"selector-nesting":return r.value;case"selector-unknown":{let f=t.findAncestor(g=>g.type==="css-rule");if(f!=null&&f.isSCSSNesterProperty)return me(W(ne(r.value),e));let p=t.parent;if((c=p.raws)!=null&&c.selector){let g=P(p),x=g+p.raws.selector.length;return e.originalText.slice(g,x).trim()}let l=t.grandparent;if(p.type==="value-paren_group"&&(l==null?void 0:l.type)==="value-func"&&l.value==="selector"){let g=R(p.open)+1,x=P(p.close),h=e.originalText.slice(g,x).trim();return Ce(h)?[Qe,h]:h}return r.value}case"value-value":case"value-root":return n("group");case"value-comment":return e.originalText.slice(P(r),R(r));case"value-comma_group":return Di(t,e,n);case"value-paren_group":return Bi(t,e,n);case"value-func":return[r.value,Se(t,"supports")&&_i(r)?" ":"",n("group")];case"value-paren":return r.value;case"value-number":return[yn(r.value),Pi(r.unit)];case"value-operator":return r.value;case"value-word":return r.isColor&&r.isHex||oi(r.value)?r.value.toLowerCase():r.value;case"value-colon":{let{previous:f}=t;return[r.value,typeof(f==null?void 0:f.value)=="string"&&f.value.endsWith("\\")||Ee(t,"url")?"":A]}case"value-string":return Ct(r.raws.quote+r.value+r.raws.quote,e);case"value-atword":return["@",r.value];case"value-unicode-range":return r.value;case"value-unknown":return r.value;case"value-comma":default:throw new Ms(r,"PostCSS")}}var Hc={print:Kc,embed:Ws,insertPragma:ti,massageAstNode:Fs,getVisitorKeys:si},Fi=Hc;var en={};Cs(en,{css:()=>Bg,less:()=>Fg,scss:()=>$g});var ql=ue(dt(),1),Dl=ue(Ho(),1),Ll=ue(Pa(),1);function Jp(t,e){let n=new SyntaxError(t+" ("+e.loc.start.line+":"+e.loc.start.column+")");return Object.assign(n,e)}var Ra=Jp;function Xp(t,e){return e.parser!=="scss"||!t.selector?!1:t.selector.replace(/\/\*.*?\*\//,"").replace(/\/\/.*\n/,"").trim().endsWith(":")}var Ia=Xp;var Zp=new Set(["import","use","forward"]);function eh(t){return Zp.has(t)}var qa=eh;var Tl=ue(Ou(),1);var id=t=>{for(;t.parent;)t=t.parent;return t},Nr=id;function od(t){return Nr(t).text.slice(t.group.open.sourceIndex+1,t.group.close.sourceIndex).trim()}var Au=od;function ad(t){if(ee(t)){for(let e=t.length-1;e>0;e--)if(t[e].type==="word"&&t[e].value==="{"&&t[e-1].type==="word"&&t[e-1].value.endsWith("#"))return!0}return!1}var Nu=ad;function ud(t){return t.some(e=>e.type==="string"||e.type==="func"&&!e.value.endsWith("\\"))}var Pu=ud;function ld(t,e){return!!(e.parser==="scss"&&(t==null?void 0:t.type)==="word"&&t.value.startsWith("$"))}var Ru=ld;var _l=ue(kl(),1);function X(t,e,n){if(t&&typeof t=="object"){delete t.parent;for(let r in t)X(t[r],e,n),r==="type"&&typeof t[r]=="string"&&!t[r].startsWith(e)&&(!n||!n.test(t[r]))&&(t[r]=e+t[r])}return t}function ys(t){if(t&&typeof t=="object"){delete t.parent;for(let e in t)ys(t[e]);!Array.isArray(t)&&t.value&&!t.type&&(t.type="unknown")}return t}function xg(t){if(/\/\/|\/\*/.test(t))return{type:"selector-unknown",value:t.trim()};let e;try{new _l.default(n=>{e=n}).process(t)}catch{return{type:"selector-unknown",value:t}}return X(e,"selector-")}var Z=xg;function bg(t,e){var u;let{nodes:n}=t,r={open:null,close:null,groups:[],type:"paren_group"},s=[r],i=r,o={groups:[],type:"comma_group"},a=[o];for(let c=0;c0&&r.groups.push(o),r.close=f,a.length===1)throw new Error("Unbalanced parenthesis");a.pop(),o=G(!1,a,-1),o.groups.push(r),s.pop(),r=G(!1,s,-1)}else f.type==="comma"?(r.groups.push(o),o={groups:[],type:"comma_group"},a[a.length-1]=o):o.groups.push(f)}return o.groups.length>0&&r.groups.push(o),i}function Zr(t){return t.type==="paren_group"&&!t.open&&!t.close&&t.groups.length===1||t.type==="comma_group"&&t.groups.length===1?Zr(t.groups[0]):t.type==="paren_group"||t.type==="comma_group"?{...t,groups:t.groups.map(Zr)}:t}function El(t,e){if(t&&typeof t=="object")for(let n in t)n!=="parent"&&(El(t[n],e),n==="nodes"&&(t.group=Zr(bg(t,e)),delete t[n]));return t}function kg(t,e){if(e.parser==="less"&&t.startsWith("~`"))return{type:"value-unknown",value:t};let n=null;try{n=new Tl.default(t,{loose:!0}).parse()}catch{return{type:"value-unknown",value:t}}n.text=t;let r=El(n,e);return X(r,"value-",/^selector-/)}var ae=kg;var Rl=ue(Pl(),1);var qg=Rl.default.default;function Dg(t){let e;try{e=qg(t)}catch{return{type:"selector-unknown",value:t}}return X(ys(e),"media-")}var Il=Dg;var Lg=/(\s*)(!default).*$/,Mg=/(\s*)(!global).*$/;function Ml(t,e){var n,r;if(t&&typeof t=="object"){delete t.parent;for(let a in t)Ml(t[a],e);if(!t.type)return t;if(t.raws??(t.raws={}),t.type==="css-decl"&&typeof t.prop=="string"&&t.prop.startsWith("--")&&typeof t.value=="string"&&t.value.startsWith("{")){let a;if(t.value.trimEnd().endsWith("}")){let u=e.originalText.slice(0,t.source.start.offset),c="a".repeat(t.prop.length)+e.originalText.slice(t.source.start.offset+t.prop.length,t.source.end.offset+1),f=T(!1,u,/[^\n]/g," ")+c,p;e.parser==="scss"?p=$l:e.parser==="less"?p=Fl:p=Bl;let l;try{l=p(f,{...e})}catch{}((n=l==null?void 0:l.nodes)==null?void 0:n.length)===1&&l.nodes[0].type==="css-rule"&&(a=l.nodes[0].nodes)}return a?t.value={type:"css-rule",nodes:a}:t.value={type:"value-unknown",value:t.raws.value.raw},t}let s="";typeof t.selector=="string"&&(s=t.raws.selector?t.raws.selector.scss??t.raws.selector.raw:t.selector,t.raws.between&&t.raws.between.trim().length>0&&(s+=t.raws.between),t.raws.selector=s);let i="";typeof t.value=="string"&&(i=t.raws.value?t.raws.value.scss??t.raws.value.raw:t.value,i=i.trim(),t.raws.value=i);let o="";if(typeof t.params=="string"&&(o=t.raws.params?t.raws.params.scss??t.raws.params.raw:t.params,t.raws.afterName&&t.raws.afterName.trim().length>0&&(o=t.raws.afterName+o),t.raws.between&&t.raws.between.trim().length>0&&(o=o+t.raws.between),o=o.trim(),t.raws.params=o),s.trim().length>0)return s.startsWith("@")&&s.endsWith(":")?t:t.mixin?(t.selector=ae(s,e),t):(Ia(t,e)&&(t.isSCSSNesterProperty=!0),t.selector=Z(s),t);if(i.length>0){let a=i.match(Lg);a&&(i=i.slice(0,a.index),t.scssDefault=!0,a[0].trim()!=="!default"&&(t.raws.scssDefault=a[0]));let u=i.match(Mg);if(u&&(i=i.slice(0,u.index),t.scssGlobal=!0,u[0].trim()!=="!global"&&(t.raws.scssGlobal=u[0])),i.startsWith("progid:"))return{type:"value-unknown",value:i};t.value=ae(i,e)}if(e.parser==="less"&&t.type==="css-decl"&&i.startsWith("extend(")&&(t.extend||(t.extend=t.raws.between===":"),t.extend&&!t.selector&&(delete t.value,t.selector=Z(i.slice(7,-1)))),t.type==="css-atrule"){if(e.parser==="less"){if(t.mixin){let a=t.raws.identifier+t.name+t.raws.afterName+t.raws.params;return t.selector=Z(a),delete t.params,t}if(t.function)return t}if(e.parser==="css"&&t.name==="custom-selector"){let a=t.params.match(/:--\S+\s+/)[0].trim();return t.customSelector=a,t.selector=Z(t.params.slice(a.length).trim()),delete t.params,t}if(e.parser==="less"){if(t.name.includes(":")&&!t.params){t.variable=!0;let a=t.name.split(":");t.name=a[0],t.value=ae(a.slice(1).join(":"),e)}if(!["page","nest","keyframes"].includes(t.name)&&((r=t.params)==null?void 0:r[0])===":"){t.variable=!0;let a=t.params.slice(1);a&&(t.value=ae(a,e)),t.raws.afterName+=":"}if(t.variable)return delete t.params,t.value||delete t.value,t}}if(t.type==="css-atrule"&&o.length>0){let{name:a}=t,u=t.name.toLowerCase();return a==="warn"||a==="error"?(t.params={type:"media-unknown",value:o},t):a==="extend"||a==="nest"?(t.selector=Z(o),delete t.params,t):a==="at-root"?(/^\(\s*(?:without|with)\s*:.+\)$/s.test(o)?t.params=ae(o,e):(t.selector=Z(o),delete t.params),t):qa(u)?(t.import=!0,delete t.filename,t.params=ae(o,e),t):["namespace","supports","if","else","for","each","while","debug","mixin","include","function","return","define-mixin","add-mixin"].includes(a)?(o=o.replace(/(\$\S+?)(\s+)?\.{3}/,"$1...$2"),o=o.replace(/^(?!if)(\S+)(\s+)\(/,"$1($2"),t.value=ae(o,e),delete t.params,t):["media","custom-media"].includes(u)?o.includes("#{")?{type:"media-unknown",value:o}:(t.params=Il(o),t):(t.params=o,t)}}return t}function Ts(t,e,n){let r=je(e),{frontMatter:s}=r;e=r.content;let i;try{i=t(e,{map:!1})}catch(o){let{name:a,reason:u,line:c,column:f}=o;throw typeof c!="number"?o:Ra(`${a}: ${u}`,{loc:{start:{line:c,column:f}},cause:o})}return n.originalText=e,i=Ml(X(i,"css-"),n),dn(i,e),s&&(s.source={startOffset:0,endOffset:s.raw.length},i.frontMatter=s),i}function Bl(t,e={}){return Ts(ql.default.default,t,e)}function Fl(t,e={}){return Ts(n=>Dl.default.parse(Ai(n)),t,e)}function $l(t,e={}){return Ts(Ll.default,t,e)}var Es={astFormat:"postcss",hasPragma:ei,locStart:P,locEnd:R},Bg={...Es,parse:Bl},Fg={...Es,parse:Fl},$g={...Es,parse:$l};var Ul=[{linguistLanguageId:50,name:"CSS",type:"markup",tmScope:"source.css",aceMode:"css",codemirrorMode:"css",codemirrorMimeType:"text/css",color:"#563d7c",extensions:[".css",".wxss"],parsers:["css"],vscodeLanguageIds:["css"]},{linguistLanguageId:262764437,name:"PostCSS",type:"markup",color:"#dc3a0c",tmScope:"source.postcss",group:"CSS",extensions:[".pcss",".postcss"],aceMode:"text",parsers:["css"],vscodeLanguageIds:["postcss"]},{linguistLanguageId:198,name:"Less",type:"markup",color:"#1d365d",aliases:["less-css"],extensions:[".less"],tmScope:"source.css.less",aceMode:"less",codemirrorMode:"css",codemirrorMimeType:"text/css",parsers:["less"],vscodeLanguageIds:["less"]},{linguistLanguageId:329,name:"SCSS",type:"markup",color:"#c6538c",tmScope:"source.css.scss",aceMode:"scss",codemirrorMode:"css",codemirrorMimeType:"text/x-scss",extensions:[".scss"],parsers:["scss"],vscodeLanguageIds:["scss"]}];var Wl={bracketSpacing:{category:"Common",type:"boolean",default:!0,description:"Print spaces between brackets.",oppositeDescription:"Do not print spaces between brackets."},singleQuote:{category:"Common",type:"boolean",default:!1,description:"Use single quotes instead of double quotes."},proseWrap:{category:"Common",type:"choice",default:"preserve",description:"How to wrap prose.",choices:[{value:"always",description:"Wrap prose if it exceeds the print width."},{value:"never",description:"Do not wrap prose."},{value:"preserve",description:"Wrap prose as-is."}]},bracketSameLine:{category:"Common",type:"boolean",default:!1,description:"Put > of opening tags on the last line instead of on a new line."},singleAttributePerLine:{category:"Common",type:"boolean",default:!1,description:"Enforce single attribute per line in HTML, Vue and JSX."}};var Ug={singleQuote:Wl.singleQuote},zl=Ug;var Wg={postcss:Fi};return Ql(zg);}); \ No newline at end of file +`:"")+Rn(s)}var Yl=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 Ln(t){var e,s;return(s=(e=t.findAncestor(r=>r.type==="css-decl"))==null?void 0:e.prop)==null?void 0:s.toLowerCase()}var zl=new Set(["initial","inherit","unset","revert"]);function Dn(t){return zl.has(t.toLowerCase())}function Mn(t,e){var r;let s=t.findAncestor(n=>n.type==="css-atrule");return((r=s==null?void 0:s.name)==null?void 0:r.toLowerCase().endsWith("keyframes"))&&["from","to"].includes(e.toLowerCase())}function te(t){return t.includes("$")||t.includes("@")||t.includes("#")||t.startsWith("%")||t.startsWith("--")||t.startsWith(":--")||t.includes("(")&&t.includes(")")?t:t.toLowerCase()}function ke(t,e){var r;let s=t.findAncestor(n=>n.type==="value-func");return((r=s==null?void 0:s.value)==null?void 0:r.toLowerCase())===e}function Bn(t){var r;let e=t.findAncestor(n=>n.type==="css-rule"),s=(r=e==null?void 0:e.raws)==null?void 0:r.selector;return s&&(s.startsWith(":import")||s.startsWith(":export"))}function Ee(t,e){let s=Array.isArray(e)?e:[e],r=t.findAncestor(n=>n.type==="css-atrule");return r&&s.includes(r.name.toLowerCase())}function Un(t){var s;let{node:e}=t;return e.groups[0].value==="url"&&e.groups.length===2&&((s=t.findAncestor(r=>r.type==="css-atrule"))==null?void 0:s.name)==="import"}function Fn(t){return t.type==="value-func"&&t.value.toLowerCase()==="url"}function $n(t){return t.type==="value-func"&&t.value.toLowerCase()==="var"}function Wn(t){let{selector:e}=t;return e?typeof e=="string"&&/^@.+:.*$/u.test(e)||e.value&&/^@.+:.*$/u.test(e.value):!1}function Yn(t){return t.type==="value-word"&&["from","through","end"].includes(t.value)}function zn(t){return t.type==="value-word"&&["and","or","not"].includes(t.value)}function Vn(t){return t.type==="value-word"&&t.value==="in"}function Nt(t){return t.type==="value-operator"&&t.value==="*"}function Xe(t){return t.type==="value-operator"&&t.value==="/"}function Q(t){return t.type==="value-operator"&&t.value==="+"}function le(t){return t.type==="value-operator"&&t.value==="-"}function Vl(t){return t.type==="value-operator"&&t.value==="%"}function Pt(t){return Nt(t)||Xe(t)||Q(t)||le(t)||Vl(t)}function Gn(t){return t.type==="value-word"&&["==","!="].includes(t.value)}function jn(t){return t.type==="value-word"&&["<",">","<=",">="].includes(t.value)}function Ze(t,e){return e.parser==="scss"&&t.type==="css-atrule"&&["if","else","for","each","while"].includes(t.name)}function Hr(t){var e;return((e=t.raws)==null?void 0:e.params)&&/^\(\s*\)$/u.test(t.raws.params)}function Rt(t){return t.name.startsWith("prettier-placeholder")}function Hn(t){return t.prop.startsWith("@prettier-placeholder")}function Kn(t,e){return t.value==="$$"&&t.type==="value-func"&&(e==null?void 0:e.type)==="value-word"&&!e.raws.before}function Qn(t){var e,s;return((e=t.value)==null?void 0:e.type)==="value-root"&&((s=t.value.group)==null?void 0:s.type)==="value-value"&&t.prop.toLowerCase()==="composes"}function Jn(t){var e,s,r;return((r=(s=(e=t.value)==null?void 0:e.group)==null?void 0:s.group)==null?void 0:r.type)==="value-paren_group"&&t.value.group.group.open!==null&&t.value.group.group.close!==null}function ce(t){var e;return((e=t.raws)==null?void 0:e.before)===""}function It(t){var e,s;return t.type==="value-comma_group"&&((s=(e=t.groups)==null?void 0:e[1])==null?void 0:s.type)==="value-colon"}function jr(t){var e;return t.type==="value-paren_group"&&((e=t.groups)==null?void 0:e[0])&&It(t.groups[0])}function Kr(t,e){var i;if(e.parser!=="scss")return!1;let{node:s}=t;if(s.groups.length===0)return!1;let r=t.grandparent;if(!jr(s)&&!(r&&jr(r)))return!1;let n=t.findAncestor(o=>o.type==="css-decl");return!!((i=n==null?void 0:n.prop)!=null&&i.startsWith("$")||jr(r)||r.type==="value-func")}function Qr(t){return t.type==="value-comment"&&t.inline}function qt(t){return t.type==="value-word"&&t.value==="#"}function Jr(t){return t.type==="value-word"&&t.value==="{"}function Lt(t){return t.type==="value-word"&&t.value==="}"}function et(t){return["value-word","value-atword"].includes(t.type)}function Dt(t){return(t==null?void 0:t.type)==="value-colon"}function Xn(t,e){if(!It(e))return!1;let{groups:s}=e,r=s.indexOf(t);return r===-1?!1:Dt(s[r+1])}function Zn(t){return t.value&&["not","and","or"].includes(t.value.toLowerCase())}function ei(t){return t.type!=="value-func"?!1:Yl.has(t.value.toLowerCase())}function Se(t){return/\/\//u.test(t.split(/[\n\r]/u).pop())}function tt(t){return(t==null?void 0:t.type)==="value-atword"&&t.value.startsWith("prettier-placeholder-")}function ti(t,e){var s,r;if(((s=t.open)==null?void 0:s.value)!=="("||((r=t.close)==null?void 0:r.value)!==")"||t.groups.some(n=>n.type!=="value-comma_group"))return!1;if(e.type==="value-comma_group"){let n=e.groups.indexOf(t)-1,i=e.groups[n];if((i==null?void 0:i.type)==="value-word"&&i.value==="with")return!0}return!1}function rt(t){var e,s;return t.type==="value-paren_group"&&((e=t.open)==null?void 0:e.value)==="("&&((s=t.close)==null?void 0:s.value)===")"}function Gl(t,e,s){var d;let{node:r}=t,n=t.parent,i=t.grandparent,o=Ln(t),a=o&&n.type==="value-value"&&(o==="grid"||o.startsWith("grid-template")),u=t.findAncestor(m=>m.type==="css-atrule"),c=u&&Ze(u,e),f=r.groups.some(m=>Qr(m)),p=t.map(s,"groups"),l=[],w=ke(t,"url"),x=!1,h=!1;for(let m=0;mme:C!==-1?x=!0:me!==-1&&(x=!1)}if(x||Dt(g)||Dt(v)||g.type==="value-atword"&&(g.value===""||g.value.endsWith("["))||v.type==="value-word"&&v.value.startsWith("]")||g.value==="~"||g.type!=="value-string"&&g.value&&g.value.includes("\\")&&v&&v.type!=="value-comment"||b!=null&&b.value&&b.value.indexOf("\\")===b.value.length-1&&g.type==="value-operator"&&g.value==="/"||g.value==="\\"||Kn(g,v)||qt(g)||Jr(g)||Lt(v)||Jr(v)&&ce(v)||Lt(g)&&ce(v)||g.value==="--"&&qt(v))continue;let F=Pt(g),H=Pt(v);if((F&&qt(v)||H&&Lt(g))&&ce(v)||!b&&Xe(g)||ke(t,"calc")&&(Q(g)||Q(v)||le(g)||le(v))&&ce(v))continue;let $=(Q(g)||le(g))&&m===0&&(v.type==="value-number"||v.isHex)&&i&&ei(i)&&!ce(v),T=(R==null?void 0:R.type)==="value-func"||R&&et(R)||g.type==="value-func"||et(g),O=v.type==="value-func"||et(v)||(b==null?void 0:b.type)==="value-func"||b&&et(b);if(e.parser==="scss"&&F&&g.value==="-"&&v.type==="value-func"&&P(g)!==N(v)){l.push(" ");continue}if(!(!(Nt(v)||Nt(g))&&!ke(t,"calc")&&!$&&(Xe(v)&&!T||Xe(g)&&!O||Q(v)&&!T||Q(g)&&!O||le(v)||le(g))&&(ce(v)||F&&(!b||b&&Pt(b))))&&!((e.parser==="scss"||e.parser==="less")&&F&&g.value==="-"&&rt(v)&&P(g)===N(v.open)&&v.open.value==="(")){if(Qr(g)){if(n.type==="value-paren_group"){l.push(ue(E));continue}l.push(E);continue}if(c&&(Gn(v)||jn(v)||zn(v)||Vn(g)||Yn(g))){l.push(" ");continue}if(u&&u.name.toLowerCase()==="namespace"){l.push(" ");continue}if(a){g.source&&v.source&&g.source.start.line!==v.source.start.line?(l.push(E),h=!0):l.push(" ");continue}if(H){l.push(" ");continue}if((v==null?void 0:v.value)!=="..."&&!(tt(g)&&tt(v)&&P(g)===N(v))){if(tt(g)&&rt(v)&&P(g)===N(v.open)){l.push(M);continue}if(g.value==="with"&&rt(v)){l.push(" ");continue}(d=g.value)!=null&&d.endsWith("#")&&v.value==="{"&&rt(v.group)||l.push(A)}}}return f&&l.push(je),h&&l.unshift(E),c?L(q(l)):Un(t)?L(Ge(l)):L(q(Ge(l)))}var ri=Gl;function jl(t){return t.length===1?t:t.toLowerCase().replace(/^([+-]?[\d.]+e)(?:\+|(-))?0*(?=\d)/u,"$1$2").replace(/^([+-]?[\d.]+)e[+-]?0+$/u,"$1").replace(/^([+-])?\./u,"$10.").replace(/(\.\d+?)0+(?=e|$)/u,"$1").replace(/\.(?=e|$)/u,"")}var si=jl;var Xr=new Map([["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"],["cqw","cqw"],["cqh","cqh"],["cqi","cqi"],["cqb","cqb"],["cqmin","cqmin"],["cqmax","cqmax"]]);function ni(t){let e=t.toLowerCase();return Xr.has(e)?Xr.get(e):t}var ii=/(["'])(?:(?!\1)[^\\]|\\.)*\1/gsu,Hl=/(?:\d*\.\d+|\d+\.?)(?:e[+-]?\d+)?/giu,Kl=/[a-z]+/giu,Ql=/[$@]?[_a-z\u0080-\uFFFF][\w\u0080-\uFFFF-]*/giu,Jl=new RegExp(ii.source+`|(${Ql.source})?(${Hl.source})(${Kl.source})?`,"giu");function W(t,e){return _(!1,t,ii,s=>Tt(s,e))}function oi(t,e){let s=e.singleQuote?"'":'"';return t.includes('"')||t.includes("'")?t:s+t+s}function fe(t){return _(!1,t,Jl,(e,s,r,n,i)=>!r&&n?Zr(n)+te(i||""):e)}function Zr(t){return si(t).replace(/\.0(?=$|e)/u,"")}function ai(t){return t.trailingComma==="es5"||t.trailingComma==="all"}function Xl(t,e,s){let r=!!(s!=null&&s.backwards);if(e===!1)return!1;let n=t.charAt(e);if(r){if(t.charAt(e-1)==="\r"&&n===` +`)return e-2;if(n===` +`||n==="\r"||n==="\u2028"||n==="\u2029")return e-1}else{if(n==="\r"&&t.charAt(e+1)===` +`)return e+2;if(n===` +`||n==="\r"||n==="\u2028"||n==="\u2029")return e+1}return e}var Mt=Xl;function Zl(t,e,s={}){let r=Ct(t,s.backwards?e-1:e,s),n=Mt(t,r,s);return r!==n}var Bt=Zl;function ec(t,e){if(e===!1)return!1;if(t.charAt(e)==="/"&&t.charAt(e+1)==="*"){for(let s=e+2;ss.type==="value-comment"))&&ai(e)&&t.callParent(()=>Kr(t,e))?Et(","):""}function ci(t,e,s){let{node:r,parent:n}=t,i=t.map(({node:w})=>typeof w=="string"?w:s(),"groups");if(n&&Fn(n)&&(r.groups.length===1||r.groups.length>0&&r.groups[0].type==="value-comma_group"&&r.groups[0].groups.length>0&&r.groups[0].groups[0].type==="value-word"&&r.groups[0].groups[0].value.startsWith("data:")))return[r.open?s("open"):"",V(",",i),r.close?s("close"):""];if(!r.open){let w=es(t),x=V([",",w?E:A],i);return q(w?[E,x]:L(Ge(x)))}let o=t.map(({node:w,isLast:x,index:h})=>{var b;let d=i[h];if(It(w)&&w.type==="value-comma_group"&&w.groups&&w.groups[0].type!=="value-paren_group"&&((b=w.groups[2])==null?void 0:b.type)==="value-paren_group"){let{parts:g}=d.contents.contents;g[1]=L(g[1]),d=L(ue(d))}let m=[d,x?nc(t,e):","];if(!x&&w.type==="value-comma_group"&&ee(w.groups)){let g=G(!1,w.groups,-1);!g.source&&g.close&&(g=g.close),g.source&&Ut(e.originalText,P(g))&&m.push(E)}return m},"groups"),a=Xn(r,n),u=ti(r,n),c=Kr(t,e),f=u||c&&!a,p=u||a,l=L([r.open?s("open"):"",q([M,V(A,o)]),M,r.close?s("close"):""],{shouldBreak:f});return p?ue(l):l}function es(t){return t.match(e=>e.type==="value-paren_group"&&!e.open&&e.groups.some(s=>s.type==="value-comma_group"),(e,s)=>s==="group"&&e.type==="value-value",(e,s)=>s==="group"&&e.type==="value-root",(e,s)=>s==="value"&&(e.type==="css-decl"&&!e.prop.startsWith("--")||e.type==="css-atrule"&&e.variable))}function ic(t,e,s){let r=[];return t.each(()=>{let{node:n,previous:i}=t;if((i==null?void 0:i.type)==="css-comment"&&i.text.trim()==="prettier-ignore"?r.push(e.originalText.slice(N(n),P(n))):r.push(s()),t.isLast)return;let{next:o}=t;o.type==="css-comment"&&!Bt(e.originalText,N(o),{backwards:!0})&&!_e(n)||o.type==="css-atrule"&&o.name==="else"&&n.type!=="css-comment"?r.push(" "):(r.push(e.__isHTMLStyleAttribute?A:E),Ut(e.originalText,P(n))&&!_e(n)&&r.push(E))},"nodes"),r}var Te=ic;function oc(t,e,s){var n,i,o,a,u,c;let{node:r}=t;switch(r.type){case"front-matter":return[r.raw,E];case"css-root":{let f=Te(t,e,s),p=r.raws.after.trim();return p.startsWith(";")&&(p=p.slice(1).trim()),[r.frontMatter?[s("frontMatter"),E]:"",f,p?` ${p}`:"",r.nodes.length>0?E:""]}case"css-comment":{let f=r.inline||r.raws.inline,p=e.originalText.slice(N(r),P(r));return f?p.trimEnd():p}case"css-rule":return[s("selector"),r.important?" !important":"",r.nodes?[((n=r.selector)==null?void 0:n.type)==="selector-unknown"&&Se(r.selector.value)?A:r.selector?" ":"","{",r.nodes.length>0?q([E,Te(t,e,s)]):"",E,"}",Wn(r)?";":""]:";"];case"css-decl":{let f=t.parent,{between:p}=r.raws,l=p.trim(),w=l===":",x=typeof r.value=="string"&&/^ *$/u.test(r.value),h=typeof r.value=="string"?r.value:s("value");return h=Qn(r)?rn(h):h,!w&&Se(l)&&!((o=(i=r.value)==null?void 0:i.group)!=null&&o.group&&t.call(()=>es(t),"value","group","group"))&&(h=q([E,ue(h)])),[_(!1,r.raws.before,/[\s;]/gu,""),f.type==="css-atrule"&&f.variable||Bn(t)?r.prop:te(r.prop),l.startsWith("//")?" ":"",l,r.extend||x?"":" ",e.parser==="less"&&r.extend&&r.selector?["extend(",s("selector"),")"]:"",h,r.raws.important?r.raws.important.replace(/\s*!\s*important/iu," !important"):r.important?" !important":"",r.raws.scssDefault?r.raws.scssDefault.replace(/\s*!default/iu," !default"):r.scssDefault?" !default":"",r.raws.scssGlobal?r.raws.scssGlobal.replace(/\s*!global/iu," !global"):r.scssGlobal?" !global":"",r.nodes?[" {",q([M,Te(t,e,s)]),M,"}"]:Hn(r)&&!f.raws.semicolon&&e.originalText[P(r)-1]!==";"?"":e.__isHTMLStyleAttribute&&t.isLast?Et(";"):";"]}case"css-atrule":{let f=t.parent,p=Rt(r)&&!f.raws.semicolon&&e.originalText[P(r)-1]!==";";if(e.parser==="less"){if(r.mixin)return[s("selector"),r.important?" !important":"",p?"":";"];if(r.function)return[r.name,typeof r.params=="string"?r.params:s("params"),p?"":";"];if(r.variable)return["@",r.name,": ",r.value?s("value"):"",r.raws.between.trim()?r.raws.between.trim()+" ":"",r.nodes?["{",q([r.nodes.length>0?M:"",Te(t,e,s)]),M,"}"]:"",p?"":";"]}let l=r.name==="import"&&((a=r.params)==null?void 0:a.type)==="value-unknown"&&r.params.value.endsWith(";");return["@",Hr(r)||r.name.endsWith(":")||Rt(r)?r.name:te(r.name),r.params?[Hr(r)?"":Rt(r)?r.raws.afterName===""?"":r.name.endsWith(":")?" ":/^\s*\n\s*\n/u.test(r.raws.afterName)?[E,E]:/^\s*\n/u.test(r.raws.afterName)?E:" ":" ",typeof r.params=="string"?r.params:s("params")]:"",r.selector?q([" ",s("selector")]):"",r.value?L([" ",s("value"),Ze(r,e)?Jn(r)?" ":A:""]):r.name==="else"?" ":"",r.nodes?[Ze(r,e)?"":r.selector&&!r.selector.nodes&&typeof r.selector.value=="string"&&Se(r.selector.value)||!r.selector&&typeof r.params=="string"&&Se(r.params)?A:" ","{",q([r.nodes.length>0?M:"",Te(t,e,s)]),M,"}"]:p||l?"":";"]}case"media-query-list":{let f=[];return t.each(({node:p})=>{p.type==="media-query"&&p.value===""||f.push(s())},"nodes"),L(q(V(A,f)))}case"media-query":return[V(" ",t.map(s,"nodes")),t.isLast?"":","];case"media-type":return fe(W(r.value,e));case"media-feature-expression":return r.nodes?["(",...t.map(s,"nodes"),")"]:r.value;case"media-feature":return te(W(_(!1,r.value,/ +/gu," "),e));case"media-colon":return[r.value," "];case"media-value":return fe(W(r.value,e));case"media-keyword":return W(r.value,e);case"media-url":return W(_(!1,_(!1,r.value,/^url\(\s+/giu,"url("),/\s+\)$/gu,")"),e);case"media-unknown":return r.value;case"selector-root":return L([Ee(t,"custom-selector")?[t.findAncestor(f=>f.type==="css-atrule").customSelector,A]:"",V([",",Ee(t,["extend","custom-selector","nest"])?A:E],t.map(s,"nodes"))]);case"selector-selector":return L(q(t.map(s,"nodes")));case"selector-comment":return r.value;case"selector-string":return W(r.value,e);case"selector-tag":return[r.namespace?[r.namespace===!0?"":r.namespace.trim(),"|"]:"",((u=t.previous)==null?void 0:u.type)==="selector-nesting"?r.value:fe(Mn(t,r.value)?r.value.toLowerCase():r.value)];case"selector-id":return["#",r.value];case"selector-class":return[".",fe(W(r.value,e))];case"selector-attribute":return["[",r.namespace?[r.namespace===!0?"":r.namespace.trim(),"|"]:"",r.attribute.trim(),r.operator??"",r.value?oi(W(r.value.trim(),e),e):"",r.insensitive?" i":"","]"];case"selector-combinator":{if(r.value==="+"||r.value===">"||r.value==="~"||r.value===">>>"){let l=t.parent;return[l.type==="selector-selector"&&l.nodes[0]===r?"":A,r.value,t.isLast?"":" "]}let f=r.value.trim().startsWith("(")?A:"",p=fe(W(r.value.trim(),e))||A;return[f,p]}case"selector-universal":return[r.namespace?[r.namespace===!0?"":r.namespace.trim(),"|"]:"",r.value];case"selector-pseudo":return[te(r.value),ee(r.nodes)?L(["(",q([M,V([",",A],t.map(s,"nodes"))]),M,")"]):""];case"selector-nesting":return r.value;case"selector-unknown":{let f=t.findAncestor(w=>w.type==="css-rule");if(f!=null&&f.isSCSSNesterProperty)return fe(W(te(r.value),e));let p=t.parent;if((c=p.raws)!=null&&c.selector){let w=N(p),x=w+p.raws.selector.length;return e.originalText.slice(w,x).trim()}let l=t.grandparent;if(p.type==="value-paren_group"&&(l==null?void 0:l.type)==="value-func"&&l.value==="selector"){let w=P(p.open)+1,x=N(p.close),h=e.originalText.slice(w,x).trim();return Se(h)?[je,h]:h}return r.value}case"value-value":case"value-root":return s("group");case"value-comment":return e.originalText.slice(N(r),P(r));case"value-comma_group":return ri(t,e,s);case"value-paren_group":return ci(t,e,s);case"value-func":return[r.value,Ee(t,"supports")&&Zn(r)?" ":"",s("group")];case"value-paren":return r.value;case"value-number":return[Zr(r.value),ni(r.unit)];case"value-operator":return r.value;case"value-word":return r.isColor&&r.isHex||Dn(r.value)?r.value.toLowerCase():r.value;case"value-colon":{let{previous:f}=t;return[r.value,typeof(f==null?void 0:f.value)=="string"&&f.value.endsWith("\\")||ke(t,"url")?"":A]}case"value-string":return Tt(r.raws.quote+r.value+r.raws.quote,e);case"value-atword":return["@",r.value];case"value-unicode-range":return r.value;case"value-unknown":return r.value;case"value-comma":default:throw new an(r,"PostCSS")}}var ac={print:oc,embed:pn,insertPragma:qn,massageAstNode:ln,getVisitorKeys:mn},fi=ac;var pi=[{linguistLanguageId:50,name:"CSS",type:"markup",tmScope:"source.css",aceMode:"css",codemirrorMode:"css",codemirrorMimeType:"text/css",color:"#563d7c",extensions:[".css",".wxss"],parsers:["css"],vscodeLanguageIds:["css"]},{linguistLanguageId:262764437,name:"PostCSS",type:"markup",color:"#dc3a0c",tmScope:"source.postcss",group:"CSS",extensions:[".pcss",".postcss"],aceMode:"text",parsers:["css"],vscodeLanguageIds:["postcss"]},{linguistLanguageId:198,name:"Less",type:"markup",color:"#1d365d",aliases:["less-css"],extensions:[".less"],tmScope:"source.css.less",aceMode:"less",codemirrorMode:"css",codemirrorMimeType:"text/css",parsers:["less"],vscodeLanguageIds:["less"]},{linguistLanguageId:329,name:"SCSS",type:"markup",color:"#c6538c",tmScope:"source.css.scss",aceMode:"scss",codemirrorMode:"css",codemirrorMimeType:"text/x-scss",extensions:[".scss"],parsers:["scss"],vscodeLanguageIds:["scss"]}];var hi={bracketSpacing:{category:"Common",type:"boolean",default:!0,description:"Print spaces between brackets.",oppositeDescription:"Do not print spaces between brackets."},singleQuote:{category:"Common",type:"boolean",default:!1,description:"Use single quotes instead of double quotes."},proseWrap:{category:"Common",type:"choice",default:"preserve",description:"How to wrap prose.",choices:[{value:"always",description:"Wrap prose if it exceeds the print width."},{value:"never",description:"Do not wrap prose."},{value:"preserve",description:"Wrap prose as-is."}]},bracketSameLine:{category:"Common",type:"boolean",default:!1,description:"Put > of opening tags on the last line instead of on a new line."},singleAttributePerLine:{category:"Common",type:"boolean",default:!1,description:"Enforce single attribute per line in HTML, Vue and JSX."}};var uc={singleQuote:hi.singleQuote},di=uc;var Ks={};Js(Ks,{css:()=>by,less:()=>_y,scss:()=>ky});var el=ye(pt(),1),tl=ye(bo(),1),rl=ye(ta(),1);function Hf(t,e){let s=new SyntaxError(t+" ("+e.loc.start.line+":"+e.loc.start.column+")");return Object.assign(s,e)}var ra=Hf;var la=ye(ua(),1);function J(t,e,s){if(t&&typeof t=="object"){delete t.parent;for(let r in t)J(t[r],e,s),r==="type"&&typeof t[r]=="string"&&!t[r].startsWith(e)&&(!s||!s.test(t[r]))&&(t[r]=e+t[r])}return t}function Is(t){if(t&&typeof t=="object"){delete t.parent;for(let e in t)Is(t[e]);!Array.isArray(t)&&t.value&&!t.type&&(t.type="unknown")}return t}var op=la.default.default;function ap(t){let e;try{e=op(t)}catch{return{type:"selector-unknown",value:t}}return J(Is(e),"media-")}var ca=ap;var nu=ye(su(),1);function bm(t){if(/\/\/|\/\*/u.test(t))return{type:"selector-unknown",value:t.trim()};let e;try{new nu.default(s=>{e=s}).process(t)}catch{return{type:"selector-unknown",value:t}}return J(e,"selector-")}var Z=bm;var Qu=ye(Vu(),1);var ly=t=>{for(;t.parent;)t=t.parent;return t},Br=ly;function cy(t){return Br(t).text.slice(t.group.open.sourceIndex+1,t.group.close.sourceIndex).trim()}var Gu=cy;function fy(t){if(ee(t)){for(let e=t.length-1;e>0;e--)if(t[e].type==="word"&&t[e].value==="{"&&t[e-1].type==="word"&&t[e-1].value.endsWith("#"))return!0}return!1}var ju=fy;function py(t){return t.some(e=>e.type==="string"||e.type==="func"&&!e.value.endsWith("\\"))}var Hu=py;function hy(t,e){return!!(e.parser==="scss"&&(t==null?void 0:t.type)==="word"&&t.value.startsWith("$"))}var Ku=hy;function dy(t,e){var u;let{nodes:s}=t,r={open:null,close:null,groups:[],type:"paren_group"},n=[r],i=r,o={groups:[],type:"comma_group"},a=[o];for(let c=0;c0&&r.groups.push(o),r.close=f,a.length===1)throw new Error("Unbalanced parenthesis");a.pop(),o=G(!1,a,-1),o.groups.push(r),n.pop(),r=G(!1,n,-1)}else f.type==="comma"?(r.groups.push(o),o={groups:[],type:"comma_group"},a[a.length-1]=o):o.groups.push(f)}return o.groups.length>0&&r.groups.push(o),i}function Ur(t){return t.type==="paren_group"&&!t.open&&!t.close&&t.groups.length===1||t.type==="comma_group"&&t.groups.length===1?Ur(t.groups[0]):t.type==="paren_group"||t.type==="comma_group"?{...t,groups:t.groups.map(Ur)}:t}function Ju(t,e){if(t&&typeof t=="object")for(let s in t)s!=="parent"&&(Ju(t[s],e),s==="nodes"&&(t.group=Ur(dy(t,e)),delete t[s]));return t}function my(t,e){if(e.parser==="less"&&t.startsWith("~`"))return{type:"value-unknown",value:t};let s=null;try{s=new Qu.default(t,{loose:!0}).parse()}catch{return{type:"value-unknown",value:t}}s.text=t;let r=Ju(s,e);return J(r,"value-",/^selector-/u)}var ie=my;var yy=new Set(["import","use","forward"]);function wy(t){return yy.has(t)}var Xu=wy;function gy(t,e){return e.parser!=="scss"||!t.selector?!1:t.selector.replace(/\/\*.*?\*\//u,"").replace(/\/\/.*\n/u,"").trim().endsWith(":")}var Zu=gy;var vy=/(\s*)(!default).*$/u,xy=/(\s*)(!global).*$/u;function sl(t,e){var s,r;if(t&&typeof t=="object"){delete t.parent;for(let a in t)sl(t[a],e);if(!t.type)return t;if(t.raws??(t.raws={}),t.type==="css-decl"&&typeof t.prop=="string"&&t.prop.startsWith("--")&&typeof t.value=="string"&&t.value.startsWith("{")){let a;if(t.value.trimEnd().endsWith("}")){let u=e.originalText.slice(0,t.source.start.offset),c="a".repeat(t.prop.length)+e.originalText.slice(t.source.start.offset+t.prop.length,t.source.end.offset),f=_(!1,u,/[^\n]/gu," ")+c,p;e.parser==="scss"?p=ol:e.parser==="less"?p=il:p=nl;let l;try{l=p(f,{...e})}catch{}((s=l==null?void 0:l.nodes)==null?void 0:s.length)===1&&l.nodes[0].type==="css-rule"&&(a=l.nodes[0].nodes)}return a?t.value={type:"css-rule",nodes:a}:t.value={type:"value-unknown",value:t.raws.value.raw},t}let n="";typeof t.selector=="string"&&(n=t.raws.selector?t.raws.selector.scss??t.raws.selector.raw:t.selector,t.raws.between&&t.raws.between.trim().length>0&&(n+=t.raws.between),t.raws.selector=n);let i="";typeof t.value=="string"&&(i=t.raws.value?t.raws.value.scss??t.raws.value.raw:t.value,i=i.trim(),t.raws.value=i);let o="";if(typeof t.params=="string"&&(o=t.raws.params?t.raws.params.scss??t.raws.params.raw:t.params,t.raws.afterName&&t.raws.afterName.trim().length>0&&(o=t.raws.afterName+o),t.raws.between&&t.raws.between.trim().length>0&&(o=o+t.raws.between),o=o.trim(),t.raws.params=o),n.trim().length>0)return n.startsWith("@")&&n.endsWith(":")?t:t.mixin?(t.selector=ie(n,e),t):(Zu(t,e)&&(t.isSCSSNesterProperty=!0),t.selector=Z(n),t);if(i.length>0){let a=i.match(vy);a&&(i=i.slice(0,a.index),t.scssDefault=!0,a[0].trim()!=="!default"&&(t.raws.scssDefault=a[0]));let u=i.match(xy);if(u&&(i=i.slice(0,u.index),t.scssGlobal=!0,u[0].trim()!=="!global"&&(t.raws.scssGlobal=u[0])),i.startsWith("progid:"))return{type:"value-unknown",value:i};t.value=ie(i,e)}if(e.parser==="less"&&t.type==="css-decl"&&i.startsWith("extend(")&&(t.extend||(t.extend=t.raws.between===":"),t.extend&&!t.selector&&(delete t.value,t.selector=Z(i.slice(7,-1)))),t.type==="css-atrule"){if(e.parser==="less"){if(t.mixin){let a=t.raws.identifier+t.name+t.raws.afterName+t.raws.params;return t.selector=Z(a),delete t.params,t}if(t.function)return t}if(e.parser==="css"&&t.name==="custom-selector"){let a=t.params.match(/:--\S+\s+/u)[0].trim();return t.customSelector=a,t.selector=Z(t.params.slice(a.length).trim()),delete t.params,t}if(e.parser==="less"){if(t.name.includes(":")&&!t.params){t.variable=!0;let a=t.name.split(":");t.name=a[0],t.value=ie(a.slice(1).join(":"),e)}if(!["page","nest","keyframes"].includes(t.name)&&((r=t.params)==null?void 0:r[0])===":"){t.variable=!0;let a=t.params.slice(1);a&&(t.value=ie(a,e)),t.raws.afterName+=":"}if(t.variable)return delete t.params,t.value||delete t.value,t}}if(t.type==="css-atrule"&&o.length>0){let{name:a}=t,u=t.name.toLowerCase();return a==="warn"||a==="error"?(t.params={type:"media-unknown",value:o},t):a==="extend"||a==="nest"?(t.selector=Z(o),delete t.params,t):a==="at-root"?(/^\(\s*(?:without|with)\s*:.+\)$/su.test(o)?t.params=ie(o,e):(t.selector=Z(o),delete t.params),t):Xu(u)?(t.import=!0,delete t.filename,t.params=ie(o,e),t):["namespace","supports","if","else","for","each","while","debug","mixin","include","function","return","define-mixin","add-mixin"].includes(a)?(o=o.replace(/(\$\S+?)(\s+)?\.{3}/u,"$1...$2"),o=o.replace(/^(?!if)(\S+)(\s+)\(/u,"$1($2"),t.value=ie(o,e),delete t.params,t):["media","custom-media"].includes(u)?o.includes("#{")?{type:"media-unknown",value:o}:(t.params=ca(o),t):(t.params=o,t)}}return t}function js(t,e,s){let r=Je(e),{frontMatter:n}=r;e=r.content;let i;try{i=t(e,{map:!1})}catch(o){let{name:a,reason:u,line:c,column:f}=o;throw typeof c!="number"?o:ra(`${a}: ${u}`,{loc:{start:{line:c,column:f}},cause:o})}return s.originalText=e,i=sl(J(i,"css-"),s),Gr(i,e),n&&(n.source={startOffset:0,endOffset:n.raw.length},i.frontMatter=n),i}function nl(t,e={}){return js(el.default.default,t,e)}function il(t,e={}){return js(s=>tl.default.parse(vn(s)),t,e)}function ol(t,e={}){return js(rl.default,t,e)}var Hs={astFormat:"postcss",hasPragma:In,locStart:N,locEnd:P},by={...Hs,parse:nl},_y={...Hs,parse:il},ky={...Hs,parse:ol};var Ey={postcss:fi};return pl(Sy);}); \ No newline at end of file diff --git a/node_modules/prettier/plugins/postcss.mjs b/node_modules/prettier/plugins/postcss.mjs index c8edf33097..f083365be0 100644 --- a/node_modules/prettier/plugins/postcss.mjs +++ b/node_modules/prettier/plugins/postcss.mjs @@ -1,52 +1,52 @@ -var Vl=Object.create;var en=Object.defineProperty;var Yl=Object.getOwnPropertyDescriptor;var Gl=Object.getOwnPropertyNames;var Kl=Object.getPrototypeOf,Hl=Object.prototype.hasOwnProperty;var y=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports),Os=(t,e)=>{for(var n in e)en(t,n,{get:e[n],enumerable:!0})},Ql=(t,e,n,r)=>{if(e&&typeof e=="object"||typeof e=="function")for(let s of Gl(e))!Hl.call(t,s)&&s!==n&&en(t,s,{get:()=>e[s],enumerable:!(r=Yl(e,s))||r.enumerable});return t};var ue=(t,e,n)=>(n=t!=null?Vl(Kl(t)):{},Ql(e||!t||!t.__esModule?en(n,"default",{value:t,enumerable:!0}):n,t));var Qs=y(pe=>{"use strict";Object.defineProperty(pe,"__esModule",{value:!0});pe.extract=gc;pe.parse=vc;pe.parseWithComments=Hs;pe.print=xc;pe.strip=wc;var pc=/\*\/$/,hc=/^\/\*\*?/,Gs=/^\s*(\/\*\*?(.|\r?\n)*?\*\/)/,dc=/(^|\s+)\/\/([^\r\n]*)/g,zs=/^(\r?\n)+/,mc=/(?:^|\r?\n) *(@[^\r\n]*?) *\r?\n *(?![^@\r\n]*\/\/[^]*)([^@\r\n\s][^@\r\n]+?) *\r?\n/g,Vs=/(?:^|\r?\n) *@(\S+) *([^\r\n]*)/g,yc=/(\r?\n|^) *\* ?/g,Ks=[];function gc(t){let e=t.match(Gs);return e?e[0].trimLeft():""}function wc(t){let e=t.match(Gs);return e&&e[0]?t.substring(e[0].length):t}function vc(t){return Hs(t).pragmas}function Hs(t){let e=` -`;t=t.replace(hc,"").replace(pc,"").replace(yc,"$1");let n="";for(;n!==t;)n=t,t=t.replace(mc,`${e}$1 $2${e}`);t=t.replace(zs,"").trimRight();let r=Object.create(null),s=t.replace(Vs,"").replace(zs,"").trimRight(),i;for(;i=Vs.exec(t);){let o=i[2].replace(dc,"");typeof r[i[1]]=="string"||Array.isArray(r[i[1]])?r[i[1]]=Ks.concat(r[i[1]],o):r[i[1]]=o}return{comments:s,pragmas:r}}function xc({comments:t="",pragmas:e={}}){let n=` -`,r="/**",s=" *",i=" */",o=Object.keys(e),a=o.map(c=>Ys(c,e[c])).reduce((c,f)=>c.concat(f),[]).map(c=>`${s} ${c}${n}`).join("");if(!t){if(o.length===0)return"";if(o.length===1&&!Array.isArray(e[o[0]])){let c=e[o[0]];return`${r} ${Ys(o[0],c)[0]}${i}`}}let u=t.split(n).map(c=>`${s} ${c}`).join(n)+n;return r+n+(t?u:"")+(t&&o.length?s+n:"")+a+i}function Ys(t,e){return Ks.concat(e).map(n=>`@${t} ${n}`.trim())}});var zt=y((dx,wn)=>{"use strict";wn.exports.isClean=Symbol("isClean");wn.exports.my=Symbol("my")});var Ui=y((mx,vn)=>{var E=String,$i=function(){return{isColorSupported:!1,reset:E,bold:E,dim:E,italic:E,underline:E,inverse:E,hidden:E,strikethrough:E,black:E,red:E,green:E,yellow:E,blue:E,magenta:E,cyan:E,white:E,gray:E,bgBlack:E,bgRed:E,bgGreen:E,bgYellow:E,bgBlue:E,bgMagenta:E,bgCyan:E,bgWhite:E}};vn.exports=$i();vn.exports.createColors=$i});var xn=y(()=>{});var Vt=y((wx,Vi)=>{"use strict";var Wi=Ui(),zi=xn(),st=class t extends Error{constructor(e,n,r,s,i,o){super(e),this.name="CssSyntaxError",this.reason=e,i&&(this.file=i),s&&(this.source=s),o&&(this.plugin=o),typeof n<"u"&&typeof r<"u"&&(typeof n=="number"?(this.line=n,this.column=r):(this.line=n.line,this.column=n.column,this.endLine=r.line,this.endColumn=r.column)),this.setMessage(),Error.captureStackTrace&&Error.captureStackTrace(this,t)}setMessage(){this.message=this.plugin?this.plugin+": ":"",this.message+=this.file?this.file:"",typeof this.line<"u"&&(this.message+=":"+this.line+":"+this.column),this.message+=": "+this.reason}showSourceCode(e){if(!this.source)return"";let n=this.source;e==null&&(e=Wi.isColorSupported),zi&&e&&(n=zi(n));let r=n.split(/\r?\n/),s=Math.max(this.line-3,0),i=Math.min(this.line+2,r.length),o=String(i).length,a,u;if(e){let{bold:c,red:f,gray:p}=Wi.createColors(!0);a=l=>c(f(l)),u=l=>p(l)}else a=u=c=>c;return r.slice(s,i).map((c,f)=>{let p=s+1+f,l=" "+(" "+p).slice(-o)+" | ";if(p===this.line){let g=u(l.replace(/\d/g," "))+c.slice(0,this.column-1).replace(/[^\t]/g," ");return a(">")+u(l)+c+` - `+g+a("^")}return" "+u(l)+c}).join(` +var al=Object.create;var Ur=Object.defineProperty;var ul=Object.getOwnPropertyDescriptor;var ll=Object.getOwnPropertyNames;var cl=Object.getPrototypeOf,fl=Object.prototype.hasOwnProperty;var y=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports),Xs=(t,e)=>{for(var s in e)Ur(t,s,{get:e[s],enumerable:!0})},pl=(t,e,s,r)=>{if(e&&typeof e=="object"||typeof e=="function")for(let n of ll(e))!fl.call(t,n)&&n!==s&&Ur(t,n,{get:()=>e[n],enumerable:!(r=ul(e,n))||r.enumerable});return t};var ye=(t,e,s)=>(s=t!=null?al(cl(t)):{},pl(e||!t||!t.__esModule?Ur(s,"default",{value:t,enumerable:!0}):s,t));var Ut=y((tv,ts)=>{"use strict";ts.exports.isClean=Symbol("isClean");ts.exports.my=Symbol("my")});var yi=y((rv,rs)=>{var S=String,mi=function(){return{isColorSupported:!1,reset:S,bold:S,dim:S,italic:S,underline:S,inverse:S,hidden:S,strikethrough:S,black:S,red:S,green:S,yellow:S,blue:S,magenta:S,cyan:S,white:S,gray:S,bgBlack:S,bgRed:S,bgGreen:S,bgYellow:S,bgBlue:S,bgMagenta:S,bgCyan:S,bgWhite:S}};rs.exports=mi();rs.exports.createColors=mi});var ss=y(()=>{});var Ft=y((iv,vi)=>{"use strict";var wi=yi(),gi=ss(),st=class t extends Error{constructor(e,s,r,n,i,o){super(e),this.name="CssSyntaxError",this.reason=e,i&&(this.file=i),n&&(this.source=n),o&&(this.plugin=o),typeof s<"u"&&typeof r<"u"&&(typeof s=="number"?(this.line=s,this.column=r):(this.line=s.line,this.column=s.column,this.endLine=r.line,this.endColumn=r.column)),this.setMessage(),Error.captureStackTrace&&Error.captureStackTrace(this,t)}setMessage(){this.message=this.plugin?this.plugin+": ":"",this.message+=this.file?this.file:"",typeof this.line<"u"&&(this.message+=":"+this.line+":"+this.column),this.message+=": "+this.reason}showSourceCode(e){if(!this.source)return"";let s=this.source;e==null&&(e=wi.isColorSupported),gi&&e&&(s=gi(s));let r=s.split(/\r?\n/),n=Math.max(this.line-3,0),i=Math.min(this.line+2,r.length),o=String(i).length,a,u;if(e){let{bold:c,gray:f,red:p}=wi.createColors(!0);a=l=>c(p(l)),u=l=>f(l)}else a=u=c=>c;return r.slice(n,i).map((c,f)=>{let p=n+1+f,l=" "+(" "+p).slice(-o)+" | ";if(p===this.line){let w=u(l.replace(/\d/g," "))+c.slice(0,this.column-1).replace(/[^\t]/g," ");return a(">")+u(l)+c+` + `+w+a("^")}return" "+u(l)+c}).join(` `)}toString(){let e=this.showSourceCode();return e&&(e=` `+e+` -`),this.name+": "+this.message+e}};Vi.exports=st;st.default=st});var Yt=y((vx,Gi)=>{"use strict";var Yi={colon:": ",indent:" ",beforeDecl:` -`,beforeRule:` -`,beforeOpen:" ",beforeClose:` +`),this.name+": "+this.message+e}};vi.exports=st;st.default=st});var $t=y((ov,bi)=>{"use strict";var xi={after:` +`,beforeClose:` `,beforeComment:` -`,after:` -`,emptyBody:"",commentLeft:" ",commentRight:" ",semicolon:!1};function Qc(t){return t[0].toUpperCase()+t.slice(1)}var it=class{constructor(e){this.builder=e}stringify(e,n){if(!this[e.type])throw new Error("Unknown AST node type "+e.type+". Maybe you need to change PostCSS stringifier.");this[e.type](e,n)}document(e){this.body(e)}root(e){this.body(e),e.raws.after&&this.builder(e.raws.after)}comment(e){let n=this.raw(e,"left","commentLeft"),r=this.raw(e,"right","commentRight");this.builder("/*"+n+e.text+r+"*/",e)}decl(e,n){let r=this.raw(e,"between","colon"),s=e.prop+r+this.rawValue(e,"value");e.important&&(s+=e.raws.important||" !important"),n&&(s+=";"),this.builder(s,e)}rule(e){this.block(e,this.rawValue(e,"selector")),e.raws.ownSemicolon&&this.builder(e.raws.ownSemicolon,e,"end")}atrule(e,n){let r="@"+e.name,s=e.params?this.rawValue(e,"params"):"";if(typeof e.raws.afterName<"u"?r+=e.raws.afterName:s&&(r+=" "),e.nodes)this.block(e,r+s);else{let i=(e.raws.between||"")+(n?";":"");this.builder(r+s+i,e)}}body(e){let n=e.nodes.length-1;for(;n>0&&e.nodes[n].type==="comment";)n-=1;let r=this.raw(e,"semicolon");for(let s=0;s{if(s=u.raws[n],typeof s<"u")return!1})}return typeof s>"u"&&(s=Yi[r]),o.rawCache[r]=s,s}rawSemicolon(e){let n;return e.walk(r=>{if(r.nodes&&r.nodes.length&&r.last.type==="decl"&&(n=r.raws.semicolon,typeof n<"u"))return!1}),n}rawEmptyBody(e){let n;return e.walk(r=>{if(r.nodes&&r.nodes.length===0&&(n=r.raws.after,typeof n<"u"))return!1}),n}rawIndent(e){if(e.raws.indent)return e.raws.indent;let n;return e.walk(r=>{let s=r.parent;if(s&&s!==e&&s.parent&&s.parent===e&&typeof r.raws.before<"u"){let i=r.raws.before.split(` -`);return n=i[i.length-1],n=n.replace(/\S/g,""),!1}}),n}rawBeforeComment(e,n){let r;return e.walkComments(s=>{if(typeof s.raws.before<"u")return r=s.raws.before,r.includes(` -`)&&(r=r.replace(/[^\n]+$/,"")),!1}),typeof r>"u"?r=this.raw(n,null,"beforeDecl"):r&&(r=r.replace(/\S/g,"")),r}rawBeforeDecl(e,n){let r;return e.walkDecls(s=>{if(typeof s.raws.before<"u")return r=s.raws.before,r.includes(` -`)&&(r=r.replace(/[^\n]+$/,"")),!1}),typeof r>"u"?r=this.raw(n,null,"beforeRule"):r&&(r=r.replace(/\S/g,"")),r}rawBeforeRule(e){let n;return e.walk(r=>{if(r.nodes&&(r.parent!==e||e.first!==r)&&typeof r.raws.before<"u")return n=r.raws.before,n.includes(` -`)&&(n=n.replace(/[^\n]+$/,"")),!1}),n&&(n=n.replace(/\S/g,"")),n}rawBeforeClose(e){let n;return e.walk(r=>{if(r.nodes&&r.nodes.length>0&&typeof r.raws.after<"u")return n=r.raws.after,n.includes(` -`)&&(n=n.replace(/[^\n]+$/,"")),!1}),n&&(n=n.replace(/\S/g,"")),n}rawBeforeOpen(e){let n;return e.walk(r=>{if(r.type!=="decl"&&(n=r.raws.between,typeof n<"u"))return!1}),n}rawColon(e){let n;return e.walkDecls(r=>{if(typeof r.raws.between<"u")return n=r.raws.between.replace(/[^\s:]/g,""),!1}),n}beforeAfter(e,n){let r;e.type==="decl"?r=this.raw(e,null,"beforeDecl"):e.type==="comment"?r=this.raw(e,null,"beforeComment"):n==="before"?r=this.raw(e,null,"beforeRule"):r=this.raw(e,null,"beforeClose");let s=e.parent,i=0;for(;s&&s.type!=="root";)i+=1,s=s.parent;if(r.includes(` -`)){let o=this.raw(e,null,"indent");if(o.length)for(let a=0;a{"use strict";var jc=Yt();function bn(t,e){new jc(e).stringify(t)}Ki.exports=bn;bn.default=bn});var ut=y((bx,Hi)=>{"use strict";var{isClean:Gt,my:Jc}=zt(),Xc=Vt(),Zc=Yt(),ef=ot();function kn(t,e){let n=new t.constructor;for(let r in t){if(!Object.prototype.hasOwnProperty.call(t,r)||r==="proxyCache")continue;let s=t[r],i=typeof s;r==="parent"&&i==="object"?e&&(n[r]=e):r==="source"?n[r]=s:Array.isArray(s)?n[r]=s.map(o=>kn(o,n)):(i==="object"&&s!==null&&(s=kn(s)),n[r]=s)}return n}var at=class{constructor(e={}){this.raws={},this[Gt]=!1,this[Jc]=!0;for(let n in e)if(n==="nodes"){this.nodes=[];for(let r of e[n])typeof r.clone=="function"?this.append(r.clone()):this.append(r)}else this[n]=e[n]}error(e,n={}){if(this.source){let{start:r,end:s}=this.rangeBy(n);return this.source.input.error(e,{line:r.line,column:r.column},{line:s.line,column:s.column},n)}return new Xc(e)}warn(e,n,r){let s={node:this};for(let i in r)s[i]=r[i];return e.warn(n,s)}remove(){return this.parent&&this.parent.removeChild(this),this.parent=void 0,this}toString(e=ef){e.stringify&&(e=e.stringify);let n="";return e(this,r=>{n+=r}),n}assign(e={}){for(let n in e)this[n]=e[n];return this}clone(e={}){let n=kn(this);for(let r in e)n[r]=e[r];return n}cloneBefore(e={}){let n=this.clone(e);return this.parent.insertBefore(this,n),n}cloneAfter(e={}){let n=this.clone(e);return this.parent.insertAfter(this,n),n}replaceWith(...e){if(this.parent){let n=this,r=!1;for(let s of e)s===this?r=!0:r?(this.parent.insertAfter(n,s),n=s):this.parent.insertBefore(n,s);r||this.remove()}return this}next(){if(!this.parent)return;let e=this.parent.index(this);return this.parent.nodes[e+1]}prev(){if(!this.parent)return;let e=this.parent.index(this);return this.parent.nodes[e-1]}before(e){return this.parent.insertBefore(this,e),this}after(e){return this.parent.insertAfter(this,e),this}root(){let e=this;for(;e.parent&&e.parent.type!=="document";)e=e.parent;return e}raw(e,n){return new Zc().raw(this,e,n)}cleanRaws(e){delete this.raws.before,delete this.raws.after,e||delete this.raws.between}toJSON(e,n){let r={},s=n==null;n=n||new Map;let i=0;for(let o in this){if(!Object.prototype.hasOwnProperty.call(this,o)||o==="parent"||o==="proxyCache")continue;let a=this[o];if(Array.isArray(a))r[o]=a.map(u=>typeof u=="object"&&u.toJSON?u.toJSON(null,n):u);else if(typeof a=="object"&&a.toJSON)r[o]=a.toJSON(null,n);else if(o==="source"){let u=n.get(a.input);u==null&&(u=i,n.set(a.input,i),i++),r[o]={inputId:u,start:a.start,end:a.end}}else r[o]=a}return s&&(r.inputs=[...n.keys()].map(o=>o.toJSON())),r}positionInside(e){let n=this.toString(),r=this.source.start.column,s=this.source.start.line;for(let i=0;ie.root().toProxy():e[n]}}}toProxy(){return this.proxyCache||(this.proxyCache=new Proxy(this,this.getProxyProcessor())),this.proxyCache}addToError(e){if(e.postcssNode=this,e.stack&&this.source&&/\n\s{4}at /.test(e.stack)){let n=this.source;e.stack=e.stack.replace(/\n\s{4}at /,`$&${n.input.from}:${n.start.line}:${n.start.column}$&`)}return e}markDirty(){if(this[Gt]){this[Gt]=!1;let e=this;for(;e=e.parent;)e[Gt]=!1}}get proxyOf(){return this}};Hi.exports=at;at.default=at});var ct=y((kx,Qi)=>{"use strict";var tf=ut(),lt=class extends tf{constructor(e){e&&typeof e.value<"u"&&typeof e.value!="string"&&(e={...e,value:String(e.value)}),super(e),this.type="decl"}get variable(){return this.prop.startsWith("--")||this.prop[0]==="$"}};Qi.exports=lt;lt.default=lt});var Ae=y((_x,ji)=>{"use strict";var rf=ut(),ft=class extends rf{constructor(e){super(e),this.type="comment"}};ji.exports=ft;ft.default=ft});var se=y((Tx,io)=>{"use strict";var{isClean:Ji,my:Xi}=zt(),Zi=ct(),eo=Ae(),nf=ut(),to,_n,Tn,ro;function no(t){return t.map(e=>(e.nodes&&(e.nodes=no(e.nodes)),delete e.source,e))}function so(t){if(t[Ji]=!1,t.proxyOf.nodes)for(let e of t.proxyOf.nodes)so(e)}var z=class t extends nf{push(e){return e.parent=this,this.proxyOf.nodes.push(e),this}each(e){if(!this.proxyOf.nodes)return;let n=this.getIterator(),r,s;for(;this.indexes[n]{let s;try{s=e(n,r)}catch(i){throw n.addToError(i)}return s!==!1&&n.walk&&(s=n.walk(e)),s})}walkDecls(e,n){return n?e instanceof RegExp?this.walk((r,s)=>{if(r.type==="decl"&&e.test(r.prop))return n(r,s)}):this.walk((r,s)=>{if(r.type==="decl"&&r.prop===e)return n(r,s)}):(n=e,this.walk((r,s)=>{if(r.type==="decl")return n(r,s)}))}walkRules(e,n){return n?e instanceof RegExp?this.walk((r,s)=>{if(r.type==="rule"&&e.test(r.selector))return n(r,s)}):this.walk((r,s)=>{if(r.type==="rule"&&r.selector===e)return n(r,s)}):(n=e,this.walk((r,s)=>{if(r.type==="rule")return n(r,s)}))}walkAtRules(e,n){return n?e instanceof RegExp?this.walk((r,s)=>{if(r.type==="atrule"&&e.test(r.name))return n(r,s)}):this.walk((r,s)=>{if(r.type==="atrule"&&r.name===e)return n(r,s)}):(n=e,this.walk((r,s)=>{if(r.type==="atrule")return n(r,s)}))}walkComments(e){return this.walk((n,r)=>{if(n.type==="comment")return e(n,r)})}append(...e){for(let n of e){let r=this.normalize(n,this.last);for(let s of r)this.proxyOf.nodes.push(s)}return this.markDirty(),this}prepend(...e){e=e.reverse();for(let n of e){let r=this.normalize(n,this.first,"prepend").reverse();for(let s of r)this.proxyOf.nodes.unshift(s);for(let s in this.indexes)this.indexes[s]=this.indexes[s]+r.length}return this.markDirty(),this}cleanRaws(e){if(super.cleanRaws(e),this.nodes)for(let n of this.nodes)n.cleanRaws(e)}insertBefore(e,n){let r=this.index(e),s=r===0?"prepend":!1,i=this.normalize(n,this.proxyOf.nodes[r],s).reverse();r=this.index(e);for(let a of i)this.proxyOf.nodes.splice(r,0,a);let o;for(let a in this.indexes)o=this.indexes[a],r<=o&&(this.indexes[a]=o+i.length);return this.markDirty(),this}insertAfter(e,n){let r=this.index(e),s=this.normalize(n,this.proxyOf.nodes[r]).reverse();r=this.index(e);for(let o of s)this.proxyOf.nodes.splice(r+1,0,o);let i;for(let o in this.indexes)i=this.indexes[o],r=e&&(this.indexes[r]=n-1);return this.markDirty(),this}removeAll(){for(let e of this.proxyOf.nodes)e.parent=void 0;return this.proxyOf.nodes=[],this.markDirty(),this}replaceValues(e,n,r){return r||(r=n,n={}),this.walkDecls(s=>{n.props&&!n.props.includes(s.prop)||n.fast&&!s.value.includes(n.fast)||(s.value=s.value.replace(e,r))}),this.markDirty(),this}every(e){return this.nodes.every(e)}some(e){return this.nodes.some(e)}index(e){return typeof e=="number"?e:(e.proxyOf&&(e=e.proxyOf),this.proxyOf.nodes.indexOf(e))}get first(){if(this.proxyOf.nodes)return this.proxyOf.nodes[0]}get last(){if(this.proxyOf.nodes)return this.proxyOf.nodes[this.proxyOf.nodes.length-1]}normalize(e,n){if(typeof e=="string")e=no(to(e).nodes);else if(Array.isArray(e)){e=e.slice(0);for(let s of e)s.parent&&s.parent.removeChild(s,"ignore")}else if(e.type==="root"&&this.type!=="document"){e=e.nodes.slice(0);for(let s of e)s.parent&&s.parent.removeChild(s,"ignore")}else if(e.type)e=[e];else if(e.prop){if(typeof e.value>"u")throw new Error("Value field is missed in node creation");typeof e.value!="string"&&(e.value=String(e.value)),e=[new Zi(e)]}else if(e.selector)e=[new _n(e)];else if(e.name)e=[new Tn(e)];else if(e.text)e=[new eo(e)];else throw new Error("Unknown node type in node creation");return e.map(s=>(s[Xi]||t.rebuild(s),s=s.proxyOf,s.parent&&s.parent.removeChild(s),s[Ji]&&so(s),typeof s.raws.before>"u"&&n&&typeof n.raws.before<"u"&&(s.raws.before=n.raws.before.replace(/\S/g,"")),s.parent=this.proxyOf,s))}getProxyProcessor(){return{set(e,n,r){return e[n]===r||(e[n]=r,(n==="name"||n==="params"||n==="selector")&&e.markDirty()),!0},get(e,n){return n==="proxyOf"?e:e[n]?n==="each"||typeof n=="string"&&n.startsWith("walk")?(...r)=>e[n](...r.map(s=>typeof s=="function"?(i,o)=>s(i.toProxy(),o):s)):n==="every"||n==="some"?r=>e[n]((s,...i)=>r(s.toProxy(),...i)):n==="root"?()=>e.root().toProxy():n==="nodes"?e.nodes.map(r=>r.toProxy()):n==="first"||n==="last"?e[n].toProxy():e[n]:e[n]}}}getIterator(){this.lastEach||(this.lastEach=0),this.indexes||(this.indexes={}),this.lastEach+=1;let e=this.lastEach;return this.indexes[e]=0,e}};z.registerParse=t=>{to=t};z.registerRule=t=>{_n=t};z.registerAtRule=t=>{Tn=t};z.registerRoot=t=>{ro=t};io.exports=z;z.default=z;z.rebuild=t=>{t.type==="atrule"?Object.setPrototypeOf(t,Tn.prototype):t.type==="rule"?Object.setPrototypeOf(t,_n.prototype):t.type==="decl"?Object.setPrototypeOf(t,Zi.prototype):t.type==="comment"?Object.setPrototypeOf(t,eo.prototype):t.type==="root"&&Object.setPrototypeOf(t,ro.prototype),t[Xi]=!0,t.nodes&&t.nodes.forEach(e=>{z.rebuild(e)})}});var er=y((Ex,lo)=>{"use strict";var En="'".charCodeAt(0),oo='"'.charCodeAt(0),Kt="\\".charCodeAt(0),ao="/".charCodeAt(0),Ht=` -`.charCodeAt(0),pt=" ".charCodeAt(0),Qt="\f".charCodeAt(0),jt=" ".charCodeAt(0),Jt="\r".charCodeAt(0),sf="[".charCodeAt(0),of="]".charCodeAt(0),af="(".charCodeAt(0),uf=")".charCodeAt(0),lf="{".charCodeAt(0),cf="}".charCodeAt(0),ff=";".charCodeAt(0),pf="*".charCodeAt(0),hf=":".charCodeAt(0),df="@".charCodeAt(0),Xt=/[\t\n\f\r "#'()/;[\\\]{}]/g,Zt=/[\t\n\f\r !"#'():;@[\\\]{}]|\/(?=\*)/g,mf=/.[\n"'(/\\]/,uo=/[\da-f]/i;lo.exports=function(e,n={}){let r=e.css.valueOf(),s=n.ignoreErrors,i,o,a,u,c,f,p,l,g,x,h=r.length,d=0,m=[],b=[];function w(){return d}function v(U){throw e.error("Unclosed "+U,d)}function N(){return b.length===0&&d>=h}function $(U){if(b.length)return b.pop();if(d>=h)return;let S=U?U.ignoreUnclosed:!1;switch(i=r.charCodeAt(d),i){case Ht:case pt:case jt:case Jt:case Qt:{o=d;do o+=1,i=r.charCodeAt(o);while(i===pt||i===Ht||i===jt||i===Jt||i===Qt);x=["space",r.slice(d,o)],d=o-1;break}case sf:case of:case lf:case cf:case hf:case ff:case uf:{let C=String.fromCharCode(i);x=[C,C,d];break}case af:{if(l=m.length?m.pop()[1]:"",g=r.charCodeAt(d+1),l==="url"&&g!==En&&g!==oo&&g!==pt&&g!==Ht&&g!==jt&&g!==Qt&&g!==Jt){o=d;do{if(f=!1,o=r.indexOf(")",o+1),o===-1)if(s||S){o=d;break}else v("bracket");for(p=o;r.charCodeAt(p-1)===Kt;)p-=1,f=!f}while(f);x=["brackets",r.slice(d,o+1),d,o],d=o}else o=r.indexOf(")",d+1),u=r.slice(d,o+1),o===-1||mf.test(u)?x=["(","(",d]:(x=["brackets",u,d,o],d=o);break}case En:case oo:{a=i===En?"'":'"',o=d;do{if(f=!1,o=r.indexOf(a,o+1),o===-1)if(s||S){o=d+1;break}else v("string");for(p=o;r.charCodeAt(p-1)===Kt;)p-=1,f=!f}while(f);x=["string",r.slice(d,o+1),d,o],d=o;break}case df:{Xt.lastIndex=d+1,Xt.test(r),Xt.lastIndex===0?o=r.length-1:o=Xt.lastIndex-2,x=["at-word",r.slice(d,o+1),d,o],d=o;break}case Kt:{for(o=d,c=!0;r.charCodeAt(o+1)===Kt;)o+=1,c=!c;if(i=r.charCodeAt(o+1),c&&i!==ao&&i!==pt&&i!==Ht&&i!==jt&&i!==Jt&&i!==Qt&&(o+=1,uo.test(r.charAt(o)))){for(;uo.test(r.charAt(o+1));)o+=1;r.charCodeAt(o+1)===pt&&(o+=1)}x=["word",r.slice(d,o+1),d,o],d=o;break}default:{i===ao&&r.charCodeAt(d+1)===pf?(o=r.indexOf("*/",d+2)+1,o===0&&(s||S?o=r.length:v("comment")),x=["comment",r.slice(d,o+1),d,o],d=o):(Zt.lastIndex=d+1,Zt.test(r),Zt.lastIndex===0?o=r.length-1:o=Zt.lastIndex-2,x=["word",r.slice(d,o+1),d,o],m.push(x),d=o);break}}return d++,x}function H(U){b.push(U)}return{back:H,nextToken:$,endOfFile:N,position:w}}});var tr=y((Sx,fo)=>{"use strict";var co=se(),Ne=class extends co{constructor(e){super(e),this.type="atrule"}append(...e){return this.proxyOf.nodes||(this.nodes=[]),super.append(...e)}prepend(...e){return this.proxyOf.nodes||(this.nodes=[]),super.prepend(...e)}};fo.exports=Ne;Ne.default=Ne;co.registerAtRule(Ne)});var Pe=y((Cx,yo)=>{"use strict";var po=se(),ho,mo,ie=class extends po{constructor(e){super(e),this.type="root",this.nodes||(this.nodes=[])}removeChild(e,n){let r=this.index(e);return!n&&r===0&&this.nodes.length>1&&(this.nodes[1].raws.before=this.nodes[r].raws.before),super.removeChild(e)}normalize(e,n,r){let s=super.normalize(e);if(n){if(r==="prepend")this.nodes.length>1?n.raws.before=this.nodes[1].raws.before:delete n.raws.before;else if(this.first!==n)for(let i of s)i.raws.before=n.raws.before}return s}toResult(e={}){return new ho(new mo,this,e).stringify()}};ie.registerLazyResult=t=>{ho=t};ie.registerProcessor=t=>{mo=t};yo.exports=ie;ie.default=ie;po.registerRoot(ie)});var Sn=y((Ox,go)=>{"use strict";var ht={split(t,e,n){let r=[],s="",i=!1,o=0,a=!1,u="",c=!1;for(let f of t)c?c=!1:f==="\\"?c=!0:a?f===u&&(a=!1):f==='"'||f==="'"?(a=!0,u=f):f==="("?o+=1:f===")"?o>0&&(o-=1):o===0&&e.includes(f)&&(i=!0),i?(s!==""&&r.push(s.trim()),s="",i=!1):s+=f;return(n||s!=="")&&r.push(s.trim()),r},space(t){let e=[" ",` -`," "];return ht.split(t,e)},comma(t){return ht.split(t,[","],!0)}};go.exports=ht;ht.default=ht});var rr=y((Ax,vo)=>{"use strict";var wo=se(),yf=Sn(),Re=class extends wo{constructor(e){super(e),this.type="rule",this.nodes||(this.nodes=[])}get selectors(){return yf.comma(this.selector)}set selectors(e){let n=this.selector?this.selector.match(/,\s*/):null,r=n?n[0]:","+this.raw("between","beforeOpen");this.selector=e.join(r)}};vo.exports=Re;Re.default=Re;wo.registerRule(Re)});var nr=y((Nx,ko)=>{"use strict";var gf=ct(),wf=er(),vf=Ae(),xf=tr(),bf=Pe(),xo=rr(),bo={empty:!0,space:!0};function kf(t){for(let e=t.length-1;e>=0;e--){let n=t[e],r=n[3]||n[2];if(r)return r}}var Cn=class{constructor(e){this.input=e,this.root=new bf,this.current=this.root,this.spaces="",this.semicolon=!1,this.customProperty=!1,this.createTokenizer(),this.root.source={input:e,start:{offset:0,line:1,column:1}}}createTokenizer(){this.tokenizer=wf(this.input)}parse(){let e;for(;!this.tokenizer.endOfFile();)switch(e=this.tokenizer.nextToken(),e[0]){case"space":this.spaces+=e[1];break;case";":this.freeSemicolon(e);break;case"}":this.end(e);break;case"comment":this.comment(e);break;case"at-word":this.atrule(e);break;case"{":this.emptyRule(e);break;default:this.other(e);break}this.endFile()}comment(e){let n=new vf;this.init(n,e[2]),n.source.end=this.getPosition(e[3]||e[2]);let r=e[1].slice(2,-2);if(/^\s*$/.test(r))n.text="",n.raws.left=r,n.raws.right="";else{let s=r.match(/^(\s*)([^]*\S)(\s*)$/);n.text=s[2],n.raws.left=s[1],n.raws.right=s[3]}}emptyRule(e){let n=new xo;this.init(n,e[2]),n.selector="",n.raws.between="",this.current=n}other(e){let n=!1,r=null,s=!1,i=null,o=[],a=e[1].startsWith("--"),u=[],c=e;for(;c;){if(r=c[0],u.push(c),r==="("||r==="[")i||(i=c),o.push(r==="("?")":"]");else if(a&&s&&r==="{")i||(i=c),o.push("}");else if(o.length===0)if(r===";")if(s){this.decl(u,a);return}else break;else if(r==="{"){this.rule(u);return}else if(r==="}"){this.tokenizer.back(u.pop()),n=!0;break}else r===":"&&(s=!0);else r===o[o.length-1]&&(o.pop(),o.length===0&&(i=null));c=this.tokenizer.nextToken()}if(this.tokenizer.endOfFile()&&(n=!0),o.length>0&&this.unclosedBracket(i),n&&s){if(!a)for(;u.length&&(c=u[u.length-1][0],!(c!=="space"&&c!=="comment"));)this.tokenizer.back(u.pop());this.decl(u,a)}else this.unknownWord(u)}rule(e){e.pop();let n=new xo;this.init(n,e[0][2]),n.raws.between=this.spacesAndCommentsFromEnd(e),this.raw(n,"selector",e),this.current=n}decl(e,n){let r=new gf;this.init(r,e[0][2]);let s=e[e.length-1];for(s[0]===";"&&(this.semicolon=!0,e.pop()),r.source.end=this.getPosition(s[3]||s[2]||kf(e));e[0][0]!=="word";)e.length===1&&this.unknownWord(e),r.raws.before+=e.shift()[1];for(r.source.start=this.getPosition(e[0][2]),r.prop="";e.length;){let c=e[0][0];if(c===":"||c==="space"||c==="comment")break;r.prop+=e.shift()[1]}r.raws.between="";let i;for(;e.length;)if(i=e.shift(),i[0]===":"){r.raws.between+=i[1];break}else i[0]==="word"&&/\w/.test(i[1])&&this.unknownWord([i]),r.raws.between+=i[1];(r.prop[0]==="_"||r.prop[0]==="*")&&(r.raws.before+=r.prop[0],r.prop=r.prop.slice(1));let o=[],a;for(;e.length&&(a=e[0][0],!(a!=="space"&&a!=="comment"));)o.push(e.shift());this.precheckMissedSemicolon(e);for(let c=e.length-1;c>=0;c--){if(i=e[c],i[1].toLowerCase()==="!important"){r.important=!0;let f=this.stringFrom(e,c);f=this.spacesFromEnd(e)+f,f!==" !important"&&(r.raws.important=f);break}else if(i[1].toLowerCase()==="important"){let f=e.slice(0),p="";for(let l=c;l>0;l--){let g=f[l][0];if(p.trim().indexOf("!")===0&&g!=="space")break;p=f.pop()[1]+p}p.trim().indexOf("!")===0&&(r.important=!0,r.raws.important=p,e=f)}if(i[0]!=="space"&&i[0]!=="comment")break}e.some(c=>c[0]!=="space"&&c[0]!=="comment")&&(r.raws.between+=o.map(c=>c[1]).join(""),o=[]),this.raw(r,"value",o.concat(e),n),r.value.includes(":")&&!n&&this.checkMissedSemicolon(e)}atrule(e){let n=new xf;n.name=e[1].slice(1),n.name===""&&this.unnamedAtrule(n,e),this.init(n,e[2]);let r,s,i,o=!1,a=!1,u=[],c=[];for(;!this.tokenizer.endOfFile();){if(e=this.tokenizer.nextToken(),r=e[0],r==="("||r==="["?c.push(r==="("?")":"]"):r==="{"&&c.length>0?c.push("}"):r===c[c.length-1]&&c.pop(),c.length===0)if(r===";"){n.source.end=this.getPosition(e[2]),this.semicolon=!0;break}else if(r==="{"){a=!0;break}else if(r==="}"){if(u.length>0){for(i=u.length-1,s=u[i];s&&s[0]==="space";)s=u[--i];s&&(n.source.end=this.getPosition(s[3]||s[2]))}this.end(e);break}else u.push(e);else u.push(e);if(this.tokenizer.endOfFile()){o=!0;break}}n.raws.between=this.spacesAndCommentsFromEnd(u),u.length?(n.raws.afterName=this.spacesAndCommentsFromStart(u),this.raw(n,"params",u),o&&(e=u[u.length-1],n.source.end=this.getPosition(e[3]||e[2]),this.spaces=n.raws.between,n.raws.between="")):(n.raws.afterName="",n.params=""),a&&(n.nodes=[],this.current=n)}end(e){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=this.getPosition(e[2]),this.current=this.current.parent):this.unexpectedClose(e)}endFile(){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}freeSemicolon(e){if(this.spaces+=e[1],this.current.nodes){let n=this.current.nodes[this.current.nodes.length-1];n&&n.type==="rule"&&!n.raws.ownSemicolon&&(n.raws.ownSemicolon=this.spaces,this.spaces="")}}getPosition(e){let n=this.input.fromOffset(e);return{offset:e,line:n.line,column:n.col}}init(e,n){this.current.push(e),e.source={start:this.getPosition(n),input:this.input},e.raws.before=this.spaces,this.spaces="",e.type!=="comment"&&(this.semicolon=!1)}raw(e,n,r,s){let i,o,a=r.length,u="",c=!0,f,p;for(let l=0;lg+x[1],"");e.raws[n]={value:u,raw:l}}e[n]=u}spacesAndCommentsFromEnd(e){let n,r="";for(;e.length&&(n=e[e.length-1][0],!(n!=="space"&&n!=="comment"));)r=e.pop()[1]+r;return r}spacesAndCommentsFromStart(e){let n,r="";for(;e.length&&(n=e[0][0],!(n!=="space"&&n!=="comment"));)r+=e.shift()[1];return r}spacesFromEnd(e){let n,r="";for(;e.length&&(n=e[e.length-1][0],n==="space");)r=e.pop()[1]+r;return r}stringFrom(e,n){let r="";for(let s=n;s=0&&(s=e[i],!(s[0]!=="space"&&(r+=1,r===2)));i--);throw this.input.error("Missed semicolon",s[0]==="word"?s[3]+1:s[2])}};ko.exports=Cn});var _o=y(()=>{});var Eo=y((Ix,To)=>{var _f="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict",Tf=(t,e=21)=>(n=e)=>{let r="",s=n;for(;s--;)r+=t[Math.random()*t.length|0];return r},Ef=(t=21)=>{let e="",n=t;for(;n--;)e+=_f[Math.random()*64|0];return e};To.exports={nanoid:Ef,customAlphabet:Tf}});var On=y((qx,So)=>{So.exports=class{}});var qe=y((Lx,No)=>{"use strict";var{SourceMapConsumer:Sf,SourceMapGenerator:Cf}=_o(),{fileURLToPath:Co,pathToFileURL:sr}={},{resolve:Pn,isAbsolute:Rn}={},{nanoid:Of}=Eo(),An=xn(),Oo=Vt(),Af=On(),Nn=Symbol("fromOffsetCache"),Nf=!!(Sf&&Cf),Ao=!!(Pn&&Rn),Ie=class{constructor(e,n={}){if(e===null||typeof e>"u"||typeof e=="object"&&!e.toString)throw new Error(`PostCSS received ${e} instead of CSS string`);if(this.css=e.toString(),this.css[0]==="\uFEFF"||this.css[0]==="\uFFFE"?(this.hasBOM=!0,this.css=this.css.slice(1)):this.hasBOM=!1,n.from&&(!Ao||/^\w+:\/\//.test(n.from)||Rn(n.from)?this.file=n.from:this.file=Pn(n.from)),Ao&&Nf){let r=new Af(this.css,n);if(r.text){this.map=r;let s=r.consumer().file;!this.file&&s&&(this.file=this.mapResolve(s))}}this.file||(this.id=""),this.map&&(this.map.file=this.from)}fromOffset(e){let n,r;if(this[Nn])r=this[Nn];else{let i=this.css.split(` -`);r=new Array(i.length);let o=0;for(let a=0,u=i.length;a=n)s=r.length-1;else{let i=r.length-2,o;for(;s>1),e=r[o+1])s=o+1;else{s=o;break}}return{line:s+1,col:e-r[s]+1}}error(e,n,r,s={}){let i,o,a;if(n&&typeof n=="object"){let c=n,f=r;if(typeof c.offset=="number"){let p=this.fromOffset(c.offset);n=p.line,r=p.col}else n=c.line,r=c.column;if(typeof f.offset=="number"){let p=this.fromOffset(f.offset);o=p.line,a=p.col}else o=f.line,a=f.column}else if(!r){let c=this.fromOffset(n);n=c.line,r=c.col}let u=this.origin(n,r,o,a);return u?i=new Oo(e,u.endLine===void 0?u.line:{line:u.line,column:u.column},u.endLine===void 0?u.column:{line:u.endLine,column:u.endColumn},u.source,u.file,s.plugin):i=new Oo(e,o===void 0?n:{line:n,column:r},o===void 0?r:{line:o,column:a},this.css,this.file,s.plugin),i.input={line:n,column:r,endLine:o,endColumn:a,source:this.css},this.file&&(sr&&(i.input.url=sr(this.file).toString()),i.input.file=this.file),i}origin(e,n,r,s){if(!this.map)return!1;let i=this.map.consumer(),o=i.originalPositionFor({line:e,column:n});if(!o.source)return!1;let a;typeof r=="number"&&(a=i.originalPositionFor({line:r,column:s}));let u;Rn(o.source)?u=sr(o.source):u=new URL(o.source,this.map.consumer().sourceRoot||sr(this.map.mapFile));let c={url:u.toString(),line:o.line,column:o.column,endLine:a&&a.line,endColumn:a&&a.column};if(u.protocol==="file:")if(Co)c.file=Co(u);else throw new Error("file: protocol is not available in this PostCSS build");let f=i.sourceContentFor(o.source);return f&&(c.source=f),c}mapResolve(e){return/^\w+:\/\//.test(e)?e:Pn(this.map.consumer().sourceRoot||this.map.root||".",e)}get from(){return this.file||this.id}toJSON(){let e={};for(let n of["hasBOM","css","file","id"])this[n]!=null&&(e[n]=this[n]);return this.map&&(e.map={...this.map},e.map.consumerCache&&(e.map.consumerCache=void 0)),e}};No.exports=Ie;Ie.default=Ie;An&&An.registerInput&&An.registerInput(Ie)});var dt=y((Mx,Po)=>{"use strict";var Pf=se(),Rf=nr(),If=qe();function ir(t,e){let n=new If(t,e),r=new Rf(n);try{r.parse()}catch(s){throw s}return r.root}Po.exports=ir;ir.default=ir;Pf.registerParse(ir)});var Ro=y((Bx,In)=>{var qf=er(),Df=qe();In.exports={isInlineComment(t){if(t[0]==="word"&&t[1].slice(0,2)==="//"){let e=t,n=[],r,s;for(;t;){if(/\r?\n/.test(t[1])){if(/['"].*\r?\n/.test(t[1])){n.push(t[1].substring(0,t[1].indexOf(` -`))),s=t[1].substring(t[1].indexOf(` -`));let o=this.input.css.valueOf().substring(this.tokenizer.position());s+=o,r=t[3]+o.length-s.length}else this.tokenizer.back(t);break}n.push(t[1]),r=t[2],t=this.tokenizer.nextToken({ignoreUnclosed:!0})}let i=["comment",n.join(""),e[2],r];return this.inlineComment(i),s&&(this.input=new Df(s),this.tokenizer=qf(this.input)),!0}else if(t[1]==="/"){let e=this.tokenizer.nextToken({ignoreUnclosed:!0});if(e[0]==="comment"&&/^\/\*/.test(e[1]))return e[0]="word",e[1]=e[1].slice(1),t[1]="//",this.tokenizer.back(e),In.exports.isInlineComment.bind(this)(t)}return!1}}});var qo=y((Fx,Io)=>{Io.exports={interpolation(t){let e=[t,this.tokenizer.nextToken()],n=["word","}"];if(e[0][1].length>1||e[1][0]!=="{")return this.tokenizer.back(e[1]),!1;for(t=this.tokenizer.nextToken();t&&n.includes(t[0]);)e.push(t),t=this.tokenizer.nextToken();let r=e.map(a=>a[1]),[s]=e,i=e.pop(),o=["word",r.join(""),s[2],i[2]];return this.tokenizer.back(t),this.tokenizer.back(o),!0}}});var Lo=y(($x,Do)=>{var Lf=/^#[0-9a-fA-F]{6}$|^#[0-9a-fA-F]{3}$/,Mf=/\.[0-9]/,Bf=t=>{let[,e]=t,[n]=e;return(n==="."||n==="#")&&Lf.test(e)===!1&&Mf.test(e)===!1};Do.exports={isMixinToken:Bf}});var Bo=y((Ux,Mo)=>{var Ff=er(),$f=/^url\((.+)\)/;Mo.exports=t=>{let{name:e,params:n=""}=t;if(e==="import"&&n.length){t.import=!0;let r=Ff({css:n});for(t.filename=n.replace($f,"$1");!r.endOfFile();){let[s,i]=r.nextToken();if(s==="word"&&i==="url")return;if(s==="brackets"){t.options=i,t.filename=n.replace(i,"").trim();break}}}}});var Wo=y((Wx,Uo)=>{var Fo=/:$/,$o=/^:(\s+)?/;Uo.exports=t=>{let{name:e,params:n=""}=t;if(t.name.slice(-1)===":"){if(Fo.test(e)){let[r]=e.match(Fo);t.name=e.replace(r,""),t.raws.afterName=r+(t.raws.afterName||""),t.variable=!0,t.value=t.params}if($o.test(n)){let[r]=n.match($o);t.value=n.replace(r,""),t.raws.afterName=(t.raws.afterName||"")+r,t.variable=!0}}}});var Yo=y((Vx,Vo)=>{var Uf=Ae(),Wf=nr(),{isInlineComment:zf}=Ro(),{interpolation:zo}=qo(),{isMixinToken:Vf}=Lo(),Yf=Bo(),Gf=Wo(),Kf=/(!\s*important)$/i;Vo.exports=class extends Wf{constructor(...e){super(...e),this.lastNode=null}atrule(e){zo.bind(this)(e)||(super.atrule(e),Yf(this.lastNode),Gf(this.lastNode))}decl(...e){super.decl(...e),/extend\(.+\)/i.test(this.lastNode.value)&&(this.lastNode.extend=!0)}each(e){e[0][1]=` ${e[0][1]}`;let n=e.findIndex(a=>a[0]==="("),r=e.reverse().find(a=>a[0]===")"),s=e.reverse().indexOf(r),o=e.splice(n,s).map(a=>a[1]).join("");for(let a of e.reverse())this.tokenizer.back(a);this.atrule(this.tokenizer.nextToken()),this.lastNode.function=!0,this.lastNode.params=o}init(e,n,r){super.init(e,n,r),this.lastNode=e}inlineComment(e){let n=new Uf,r=e[1].slice(2);if(this.init(n,e[2]),n.source.end=this.getPosition(e[3]||e[2]),n.inline=!0,n.raws.begin="//",/^\s*$/.test(r))n.text="",n.raws.left=r,n.raws.right="";else{let s=r.match(/^(\s*)([^]*[^\s])(\s*)$/);[,n.raws.left,n.text,n.raws.right]=s}}mixin(e){let[n]=e,r=n[1].slice(0,1),s=e.findIndex(c=>c[0]==="brackets"),i=e.findIndex(c=>c[0]==="("),o="";if((s<0||s>3)&&i>0){let c=e.reduce((w,v,N)=>v[0]===")"?N:w),p=e.slice(i,c+i).map(w=>w[1]).join(""),[l]=e.slice(i),g=[l[2],l[3]],[x]=e.slice(c,c+1),h=[x[2],x[3]],d=["brackets",p].concat(g,h),m=e.slice(0,i),b=e.slice(c+1);e=m,e.push(d),e=e.concat(b)}let a=[];for(let c of e)if((c[1]==="!"||a.length)&&a.push(c),c[1]==="important")break;if(a.length){let[c]=a,f=e.indexOf(c),p=a[a.length-1],l=[c[2],c[3]],g=[p[4],p[5]],h=["word",a.map(d=>d[1]).join("")].concat(l,g);e.splice(f,a.length,h)}let u=e.findIndex(c=>Kf.test(c[1]));u>0&&([,o]=e[u],e.splice(u,1));for(let c of e.reverse())this.tokenizer.back(c);this.atrule(this.tokenizer.nextToken()),this.lastNode.mixin=!0,this.lastNode.raws.identifier=r,o&&(this.lastNode.important=!0,this.lastNode.raws.important=o)}other(e){zf.bind(this)(e)||super.other(e)}rule(e){let n=e[e.length-1],r=e[e.length-2];if(r[0]==="at-word"&&n[0]==="{"&&(this.tokenizer.back(n),zo.bind(this)(r))){let i=this.tokenizer.nextToken();e=e.slice(0,e.length-2).concat([i]);for(let o of e.reverse())this.tokenizer.back(o);return}super.rule(e),/:extend\(.+\)/i.test(this.lastNode.selector)&&(this.lastNode.extend=!0)}unknownWord(e){let[n]=e;if(e[0][1]==="each"&&e[1][0]==="("){this.each(e);return}if(Vf(n)){this.mixin(e);return}super.unknownWord(e)}}});var Ko=y((Gx,Go)=>{var Hf=Yt();Go.exports=class extends Hf{atrule(e,n){if(!e.mixin&&!e.variable&&!e.function){super.atrule(e,n);return}let s=`${e.function?"":e.raws.identifier||"@"}${e.name}`,i=e.params?this.rawValue(e,"params"):"",o=e.raws.important||"";if(e.variable&&(i=e.value),typeof e.raws.afterName<"u"?s+=e.raws.afterName:i&&(s+=" "),e.nodes)this.block(e,s+i+o);else{let a=(e.raws.between||"")+o+(n?";":"");this.builder(s+i+a,e)}}comment(e){if(e.inline){let n=this.raw(e,"left","commentLeft"),r=this.raw(e,"right","commentRight");this.builder(`//${n}${e.text}${r}`,e)}else super.comment(e)}}});var Ho=y((Kx,qn)=>{var Qf=qe(),jf=Yo(),Jf=Ko();qn.exports={parse(t,e){let n=new Qf(t,e),r=new jf(n);return r.parse(),r.root.walk(s=>{let i=n.css.lastIndexOf(s.source.input.css);if(i===0)return;if(i+s.source.input.css.length!==n.css.length)throw new Error("Invalid state detected in postcss-less");let o=i+s.source.start.offset,a=n.fromOffset(i+s.source.start.offset);if(s.source.start={offset:o,line:a.line,column:a.col},s.source.end){let u=i+s.source.end.offset,c=n.fromOffset(i+s.source.end.offset);s.source.end={offset:u,line:c.line,column:c.col}}}),r.root},stringify(t,e){new Jf(e).stringify(t)},nodeToString(t){let e="";return qn.exports.stringify(t,n=>{e+=n}),e}}});var Dn=y((Hx,Qo)=>{Qo.exports=class{generate(){}}});var or=y((jx,Xo)=>{"use strict";var Xf=se(),jo,Jo,ye=class extends Xf{constructor(e){super({type:"document",...e}),this.nodes||(this.nodes=[])}toResult(e={}){return new jo(new Jo,this,e).stringify()}};ye.registerLazyResult=t=>{jo=t};ye.registerProcessor=t=>{Jo=t};Xo.exports=ye;ye.default=ye});var Ln=y((Jx,ea)=>{"use strict";var Zo={};ea.exports=function(e){Zo[e]||(Zo[e]=!0,typeof console<"u"&&console.warn&&console.warn(e))}});var Mn=y((Xx,ta)=>{"use strict";var mt=class{constructor(e,n={}){if(this.type="warning",this.text=e,n.node&&n.node.source){let r=n.node.rangeBy(n);this.line=r.start.line,this.column=r.start.column,this.endLine=r.end.line,this.endColumn=r.end.column}for(let r in n)this[r]=n[r]}toString(){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}};ta.exports=mt;mt.default=mt});var ar=y((Zx,ra)=>{"use strict";var Zf=Mn(),yt=class{constructor(e,n,r){this.processor=e,this.messages=[],this.root=n,this.opts=r,this.css=void 0,this.map=void 0}toString(){return this.css}warn(e,n={}){n.plugin||this.lastPlugin&&this.lastPlugin.postcssPlugin&&(n.plugin=this.lastPlugin.postcssPlugin);let r=new Zf(e,n);return this.messages.push(r),r}warnings(){return this.messages.filter(e=>e.type==="warning")}get content(){return this.css}};ra.exports=yt;yt.default=yt});var $n=y((tb,oa)=>{"use strict";var{isClean:K,my:ep}=zt(),tp=Dn(),rp=ot(),np=se(),sp=or(),eb=Ln(),na=ar(),ip=dt(),op=Pe(),ap={document:"Document",root:"Root",atrule:"AtRule",rule:"Rule",decl:"Declaration",comment:"Comment"},up={postcssPlugin:!0,prepare:!0,Once:!0,Document:!0,Root:!0,Declaration:!0,Rule:!0,AtRule:!0,Comment:!0,DeclarationExit:!0,RuleExit:!0,AtRuleExit:!0,CommentExit:!0,RootExit:!0,DocumentExit:!0,OnceExit:!0},lp={postcssPlugin:!0,prepare:!0,Once:!0},De=0;function gt(t){return typeof t=="object"&&typeof t.then=="function"}function ia(t){let e=!1,n=ap[t.type];return t.type==="decl"?e=t.prop.toLowerCase():t.type==="atrule"&&(e=t.name.toLowerCase()),e&&t.append?[n,n+"-"+e,De,n+"Exit",n+"Exit-"+e]:e?[n,n+"-"+e,n+"Exit",n+"Exit-"+e]:t.append?[n,De,n+"Exit"]:[n,n+"Exit"]}function sa(t){let e;return t.type==="document"?e=["Document",De,"DocumentExit"]:t.type==="root"?e=["Root",De,"RootExit"]:e=ia(t),{node:t,events:e,eventIndex:0,visitors:[],visitorIndex:0,iterator:0}}function Bn(t){return t[K]=!1,t.nodes&&t.nodes.forEach(e=>Bn(e)),t}var Fn={},oe=class t{constructor(e,n,r){this.stringified=!1,this.processed=!1;let s;if(typeof n=="object"&&n!==null&&(n.type==="root"||n.type==="document"))s=Bn(n);else if(n instanceof t||n instanceof na)s=Bn(n.root),n.map&&(typeof r.map>"u"&&(r.map={}),r.map.inline||(r.map.inline=!1),r.map.prev=n.map);else{let i=ip;r.syntax&&(i=r.syntax.parse),r.parser&&(i=r.parser),i.parse&&(i=i.parse);try{s=i(n,r)}catch(o){this.processed=!0,this.error=o}s&&!s[ep]&&np.rebuild(s)}this.result=new na(e,s,r),this.helpers={...Fn,result:this.result,postcss:Fn},this.plugins=this.processor.plugins.map(i=>typeof i=="object"&&i.prepare?{...i,...i.prepare(this.result)}:i)}get[Symbol.toStringTag](){return"LazyResult"}get processor(){return this.result.processor}get opts(){return this.result.opts}get css(){return this.stringify().css}get content(){return this.stringify().content}get map(){return this.stringify().map}get root(){return this.sync().root}get messages(){return this.sync().messages}warnings(){return this.sync().warnings()}toString(){return this.css}then(e,n){return this.async().then(e,n)}catch(e){return this.async().catch(e)}finally(e){return this.async().then(e,e)}async(){return this.error?Promise.reject(this.error):this.processed?Promise.resolve(this.result):(this.processing||(this.processing=this.runAsync()),this.processing)}sync(){if(this.error)throw this.error;if(this.processed)return this.result;if(this.processed=!0,this.processing)throw this.getAsyncError();for(let e of this.plugins){let n=this.runOnRoot(e);if(gt(n))throw this.getAsyncError()}if(this.prepareVisitors(),this.hasListener){let e=this.result.root;for(;!e[K];)e[K]=!0,this.walkSync(e);if(this.listeners.OnceExit)if(e.type==="document")for(let n of e.nodes)this.visitSync(this.listeners.OnceExit,n);else this.visitSync(this.listeners.OnceExit,e)}return this.result}stringify(){if(this.error)throw this.error;if(this.stringified)return this.result;this.stringified=!0,this.sync();let e=this.result.opts,n=rp;e.syntax&&(n=e.syntax.stringify),e.stringifier&&(n=e.stringifier),n.stringify&&(n=n.stringify);let s=new tp(n,this.result.root,this.result.opts).generate();return this.result.css=s[0],this.result.map=s[1],this.result}walkSync(e){e[K]=!0;let n=ia(e);for(let r of n)if(r===De)e.nodes&&e.each(s=>{s[K]||this.walkSync(s)});else{let s=this.listeners[r];if(s&&this.visitSync(s,e.toProxy()))return}}visitSync(e,n){for(let[r,s]of e){this.result.lastPlugin=r;let i;try{i=s(n,this.helpers)}catch(o){throw this.handleError(o,n.proxyOf)}if(n.type!=="root"&&n.type!=="document"&&!n.parent)return!0;if(gt(i))throw this.getAsyncError()}}runOnRoot(e){this.result.lastPlugin=e;try{if(typeof e=="object"&&e.Once){if(this.result.root.type==="document"){let n=this.result.root.nodes.map(r=>e.Once(r,this.helpers));return gt(n[0])?Promise.all(n):n}return e.Once(this.result.root,this.helpers)}else if(typeof e=="function")return e(this.result.root,this.result)}catch(n){throw this.handleError(n)}}getAsyncError(){throw new Error("Use process(css).then(cb) to work with async plugins")}handleError(e,n){let r=this.result.lastPlugin;try{n&&n.addToError(e),this.error=e,e.name==="CssSyntaxError"&&!e.plugin?(e.plugin=r.postcssPlugin,e.setMessage()):r.postcssVersion}catch(s){console&&console.error&&console.error(s)}return e}async runAsync(){this.plugin=0;for(let e=0;e0;){let r=this.visitTick(n);if(gt(r))try{await r}catch(s){let i=n[n.length-1].node;throw this.handleError(s,i)}}}if(this.listeners.OnceExit)for(let[n,r]of this.listeners.OnceExit){this.result.lastPlugin=n;try{if(e.type==="document"){let s=e.nodes.map(i=>r(i,this.helpers));await Promise.all(s)}else await r(e,this.helpers)}catch(s){throw this.handleError(s)}}}return this.processed=!0,this.stringify()}prepareVisitors(){this.listeners={};let e=(n,r,s)=>{this.listeners[r]||(this.listeners[r]=[]),this.listeners[r].push([n,s])};for(let n of this.plugins)if(typeof n=="object")for(let r in n){if(!up[r]&&/^[A-Z]/.test(r))throw new Error(`Unknown event ${r} in ${n.postcssPlugin}. Try to update PostCSS (${this.processor.version} now).`);if(!lp[r])if(typeof n[r]=="object")for(let s in n[r])s==="*"?e(n,r,n[r][s]):e(n,r+"-"+s.toLowerCase(),n[r][s]);else typeof n[r]=="function"&&e(n,r,n[r])}this.hasListener=Object.keys(this.listeners).length>0}visitTick(e){let n=e[e.length-1],{node:r,visitors:s}=n;if(r.type!=="root"&&r.type!=="document"&&!r.parent){e.pop();return}if(s.length>0&&n.visitorIndex{Fn=t};oa.exports=oe;oe.default=oe;op.registerLazyResult(oe);sp.registerLazyResult(oe)});var ua=y((nb,aa)=>{"use strict";var cp=Dn(),fp=ot(),rb=Ln(),pp=dt(),hp=ar(),wt=class{constructor(e,n,r){n=n.toString(),this.stringified=!1,this._processor=e,this._css=n,this._opts=r,this._map=void 0;let s,i=fp;this.result=new hp(this._processor,s,this._opts),this.result.css=n;let o=this;Object.defineProperty(this.result,"root",{get(){return o.root}});let a=new cp(i,s,this._opts,n);if(a.isMap()){let[u,c]=a.generate();u&&(this.result.css=u),c&&(this.result.map=c)}}get[Symbol.toStringTag](){return"NoWorkResult"}get processor(){return this.result.processor}get opts(){return this.result.opts}get css(){return this.result.css}get content(){return this.result.css}get map(){return this.result.map}get root(){if(this._root)return this._root;let e,n=pp;try{e=n(this._css,this._opts)}catch(r){this.error=r}if(this.error)throw this.error;return this._root=e,e}get messages(){return[]}warnings(){return[]}toString(){return this._css}then(e,n){return this.async().then(e,n)}catch(e){return this.async().catch(e)}finally(e){return this.async().then(e,e)}async(){return this.error?Promise.reject(this.error):Promise.resolve(this.result)}sync(){if(this.error)throw this.error;return this.result}};aa.exports=wt;wt.default=wt});var ca=y((sb,la)=>{"use strict";var dp=ua(),mp=$n(),yp=or(),gp=Pe(),ge=class{constructor(e=[]){this.version="8.4.24",this.plugins=this.normalize(e)}use(e){return this.plugins=this.plugins.concat(this.normalize([e])),this}process(e,n={}){return this.plugins.length===0&&typeof n.parser>"u"&&typeof n.stringifier>"u"&&typeof n.syntax>"u"?new dp(this,e,n):new mp(this,e,n)}normalize(e){let n=[];for(let r of e)if(r.postcss===!0?r=r():r.postcss&&(r=r.postcss),typeof r=="object"&&Array.isArray(r.plugins))n=n.concat(r.plugins);else if(typeof r=="object"&&r.postcssPlugin)n.push(r);else if(typeof r=="function")n.push(r);else if(!(typeof r=="object"&&(r.parse||r.stringify)))throw new Error(r+" is not a PostCSS plugin");return n}};la.exports=ge;ge.default=ge;gp.registerProcessor(ge);yp.registerProcessor(ge)});var pa=y((ib,fa)=>{"use strict";var wp=ct(),vp=On(),xp=Ae(),bp=tr(),kp=qe(),_p=Pe(),Tp=rr();function vt(t,e){if(Array.isArray(t))return t.map(s=>vt(s));let{inputs:n,...r}=t;if(n){e=[];for(let s of n){let i={...s,__proto__:kp.prototype};i.map&&(i.map={...i.map,__proto__:vp.prototype}),e.push(i)}}if(r.nodes&&(r.nodes=t.nodes.map(s=>vt(s,e))),r.source){let{inputId:s,...i}=r.source;r.source=i,s!=null&&(r.source.input=e[s])}if(r.type==="root")return new _p(r);if(r.type==="decl")return new wp(r);if(r.type==="rule")return new Tp(r);if(r.type==="comment")return new xp(r);if(r.type==="atrule")return new bp(r);throw new Error("Unknown node type: "+t.type)}fa.exports=vt;vt.default=vt});var ur=y((ob,va)=>{"use strict";var Ep=Vt(),ha=ct(),Sp=$n(),Cp=se(),Un=ca(),Op=ot(),Ap=pa(),da=or(),Np=Mn(),ma=Ae(),ya=tr(),Pp=ar(),Rp=qe(),Ip=dt(),qp=Sn(),ga=rr(),wa=Pe(),Dp=ut();function k(...t){return t.length===1&&Array.isArray(t[0])&&(t=t[0]),new Un(t)}k.plugin=function(e,n){let r=!1;function s(...o){console&&console.warn&&!r&&(r=!0,console.warn(e+`: postcss.plugin was deprecated. Migration guide: -https://evilmartians.com/chronicles/postcss-8-plugin-migration`));let a=n(...o);return a.postcssPlugin=e,a.postcssVersion=new Un().version,a}let i;return Object.defineProperty(s,"postcss",{get(){return i||(i=s()),i}}),s.process=function(o,a,u){return k([s(u)]).process(o,a)},s};k.stringify=Op;k.parse=Ip;k.fromJSON=Ap;k.list=qp;k.comment=t=>new ma(t);k.atRule=t=>new ya(t);k.decl=t=>new ha(t);k.rule=t=>new ga(t);k.root=t=>new wa(t);k.document=t=>new da(t);k.CssSyntaxError=Ep;k.Declaration=ha;k.Container=Cp;k.Processor=Un;k.Document=da;k.Comment=ma;k.Warning=Np;k.AtRule=ya;k.Result=Pp;k.Input=Rp;k.Rule=ga;k.Root=wa;k.Node=Dp;Sp.registerPostcss(k);va.exports=k;k.default=k});var ba=y((ab,xa)=>{var{Container:Lp}=ur(),Wn=class extends Lp{constructor(e){super(e),this.type="decl",this.isNested=!0,this.nodes||(this.nodes=[])}};xa.exports=Wn});var Ca=y((ub,Sa)=>{"use strict";var zn="'".charCodeAt(0),Vn='"'.charCodeAt(0),xt="\\".charCodeAt(0),lr="/".charCodeAt(0),Yn=` -`.charCodeAt(0),cr=" ".charCodeAt(0),Gn="\f".charCodeAt(0),Kn=" ".charCodeAt(0),Hn="\r".charCodeAt(0),Mp="[".charCodeAt(0),Bp="]".charCodeAt(0),ka="(".charCodeAt(0),_a=")".charCodeAt(0),fr="{".charCodeAt(0),Ta="}".charCodeAt(0),Fp=";".charCodeAt(0),$p="*".charCodeAt(0),Up=":".charCodeAt(0),Wp="@".charCodeAt(0),zp=",".charCodeAt(0),Qn="#".charCodeAt(0),pr=/[\t\n\f\r "#'()/;[\\\]{}]/g,hr=/[,\t\n\f\r !"#'():;@[\\\]{}]|\/(?=\*)/g,Vp=/.[\n"'(/\\]/,Ea=/[\da-f]/i,dr=/[\n\f\r]/g;Sa.exports=function(e,n={}){let r=e.css.valueOf(),s=n.ignoreErrors,i,o,a,u,c,f,p,l,g,x=r.length,h=0,d=[],m=[],b;function w(){return h}function v(S){throw e.error("Unclosed "+S,h)}function N(){return m.length===0&&h>=x}function $(){let S=1,C=!1,O=!1;for(;S>0;)o+=1,r.length<=o&&v("interpolation"),i=r.charCodeAt(o),l=r.charCodeAt(o+1),C?!O&&i===C?(C=!1,O=!1):i===xt?O=!O:O&&(O=!1):i===zn||i===Vn?C=i:i===Ta?S-=1:i===Qn&&l===fr&&(S+=1)}function H(S){if(m.length)return m.pop();if(h>=x)return;let C=S?S.ignoreUnclosed:!1;switch(i=r.charCodeAt(h),i){case Yn:case cr:case Kn:case Hn:case Gn:{o=h;do o+=1,i=r.charCodeAt(o);while(i===cr||i===Yn||i===Kn||i===Hn||i===Gn);g=["space",r.slice(h,o)],h=o-1;break}case Mp:case Bp:case fr:case Ta:case Up:case Fp:case _a:{let O=String.fromCharCode(i);g=[O,O,h];break}case zp:{g=["word",",",h,h+1];break}case ka:{if(p=d.length?d.pop()[1]:"",l=r.charCodeAt(h+1),p==="url"&&l!==zn&&l!==Vn){for(b=1,f=!1,o=h+1;o<=r.length-1;){if(l=r.charCodeAt(o),l===xt)f=!f;else if(l===ka)b+=1;else if(l===_a&&(b-=1,b===0))break;o+=1}u=r.slice(h,o+1),g=["brackets",u,h,o],h=o}else o=r.indexOf(")",h+1),u=r.slice(h,o+1),o===-1||Vp.test(u)?g=["(","(",h]:(g=["brackets",u,h,o],h=o);break}case zn:case Vn:{for(a=i,o=h,f=!1;o{var{Comment:Yp}=ur(),Gp=nr(),Kp=ba(),Hp=Ca(),jn=class extends Gp{createTokenizer(){this.tokenizer=Hp(this.input)}rule(e){let n=!1,r=0,s="";for(let i of e)if(n)i[0]!=="comment"&&i[0]!=="{"&&(s+=i[1]);else{if(i[0]==="space"&&i[1].includes(` -`))break;i[0]==="("?r+=1:i[0]===")"?r-=1:r===0&&i[0]===":"&&(n=!0)}if(!n||s.trim()===""||/^[#:A-Za-z-]/.test(s))super.rule(e);else{e.pop();let i=new Kp;this.init(i,e[0][2]);let o;for(let u=e.length-1;u>=0;u--)if(e[u][0]!=="space"){o=e[u];break}if(o[3]){let u=this.input.fromOffset(o[3]);i.source.end={offset:o[3],line:u.line,column:u.col}}else{let u=this.input.fromOffset(o[2]);i.source.end={offset:o[2],line:u.line,column:u.col}}for(;e[0][0]!=="word";)i.raws.before+=e.shift()[1];if(e[0][2]){let u=this.input.fromOffset(e[0][2]);i.source.start={offset:e[0][2],line:u.line,column:u.col}}for(i.prop="";e.length;){let u=e[0][0];if(u===":"||u==="space"||u==="comment")break;i.prop+=e.shift()[1]}i.raws.between="";let a;for(;e.length;)if(a=e.shift(),a[0]===":"){i.raws.between+=a[1];break}else i.raws.between+=a[1];(i.prop[0]==="_"||i.prop[0]==="*")&&(i.raws.before+=i.prop[0],i.prop=i.prop.slice(1)),i.raws.between+=this.spacesAndCommentsFromStart(e),this.precheckMissedSemicolon(e);for(let u=e.length-1;u>0;u--){if(a=e[u],a[1]==="!important"){i.important=!0;let c=this.stringFrom(e,u);c=this.spacesFromEnd(e)+c,c!==" !important"&&(i.raws.important=c);break}else if(a[1]==="important"){let c=e.slice(0),f="";for(let p=u;p>0;p--){let l=c[p][0];if(f.trim().indexOf("!")===0&&l!=="space")break;f=c.pop()[1]+f}f.trim().indexOf("!")===0&&(i.important=!0,i.raws.important=f,e=c)}if(a[0]!=="space"&&a[0]!=="comment")break}this.raw(i,"value",e),i.value.includes(":")&&this.checkMissedSemicolon(e),this.current=i}}comment(e){if(e[4]==="inline"){let n=new Yp;this.init(n,e[2]),n.raws.inline=!0;let r=this.input.fromOffset(e[3]);n.source.end={offset:e[3],line:r.line,column:r.col};let s=e[1].slice(2);if(/^\s*$/.test(s))n.text="",n.raws.left=s,n.raws.right="";else{let i=s.match(/^(\s*)([^]*\S)(\s*)$/),o=i[2].replace(/(\*\/|\/\*)/g,"*//*");n.text=o,n.raws.left=i[1],n.raws.right=i[3],n.raws.text=i[2]}}else super.comment(e)}atrule(e){let n=e[1],r=e;for(;!this.tokenizer.endOfFile();){let s=this.tokenizer.nextToken();if(s[0]==="word"&&s[2]===r[3]+1)n+=s[1],r=s;else{this.tokenizer.back(s);break}}super.atrule(["at-word",n,e[2],r[3]])}raw(e,n,r,s){if(super.raw(e,n,r,s),e.raws[n]){let i=e.raws[n].raw;e.raws[n].raw=r.reduce((o,a)=>{if(a[0]==="comment"&&a[4]==="inline"){let u=a[1].slice(2).replace(/(\*\/|\/\*)/g,"*//*");return o+"/*"+u+"*/"}else return o+a[1]},""),i!==e.raws[n].raw&&(e.raws[n].scss=i)}}};Oa.exports=jn});var Pa=y((cb,Na)=>{var{Input:Qp}=ur(),jp=Aa();Na.exports=function(e,n){let r=new Qp(e,n),s=new jp(r);return s.parse(),s.root}});var V=y((mb,Da)=>{"use strict";var Jn=function(t,e){let n=new t.constructor;for(let r in t){if(!t.hasOwnProperty(r))continue;let s=t[r],i=typeof s;r==="parent"&&i==="object"?e&&(n[r]=e):r==="source"?n[r]=s:s instanceof Array?n[r]=s.map(o=>Jn(o,n)):r!=="before"&&r!=="after"&&r!=="between"&&r!=="semicolon"&&(i==="object"&&s!==null&&(s=Jn(s)),n[r]=s)}return n};Da.exports=class{constructor(e){e=e||{},this.raws={before:"",after:""};for(let n in e)this[n]=e[n]}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(e){e=e||{};let n=Jn(this);for(let r in e)n[r]=e[r];return n}cloneBefore(e){e=e||{};let n=this.clone(e);return this.parent.insertBefore(this,n),n}cloneAfter(e){e=e||{};let n=this.clone(e);return this.parent.insertAfter(this,n),n}replaceWith(){let e=Array.prototype.slice.call(arguments);if(this.parent){for(let n of e)this.parent.insertBefore(this,n);this.remove()}return this}moveTo(e){return this.cleanRaws(this.root()===e.root()),this.remove(),e.append(this),this}moveBefore(e){return this.cleanRaws(this.root()===e.root()),this.remove(),e.parent.insertBefore(e,this),this}moveAfter(e){return this.cleanRaws(this.root()===e.root()),this.remove(),e.parent.insertAfter(e,this),this}next(){let e=this.parent.index(this);return this.parent.nodes[e+1]}prev(){let e=this.parent.index(this);return this.parent.nodes[e-1]}toJSON(){let e={};for(let n in this){if(!this.hasOwnProperty(n)||n==="parent")continue;let r=this[n];r instanceof Array?e[n]=r.map(s=>typeof s=="object"&&s.toJSON?s.toJSON():s):typeof r=="object"&&r.toJSON?e[n]=r.toJSON():e[n]=r}return e}root(){let e=this;for(;e.parent;)e=e.parent;return e}cleanRaws(e){delete this.raws.before,delete this.raws.after,e||delete this.raws.between}positionInside(e){let n=this.toString(),r=this.source.start.column,s=this.source.start.line;for(let i=0;i{"use strict";var th=V(),Le=class extends th{constructor(e){super(e),this.nodes||(this.nodes=[])}push(e){return e.parent=this,this.nodes.push(e),this}each(e){this.lastEach||(this.lastEach=0),this.indexes||(this.indexes={}),this.lastEach+=1;let n=this.lastEach,r,s;if(this.indexes[n]=0,!!this.nodes){for(;this.indexes[n]{let s=e(n,r);return s!==!1&&n.walk&&(s=n.walk(e)),s})}walkType(e,n){if(!e||!n)throw new Error("Parameters {type} and {callback} are required.");let r=typeof e=="function";return this.walk((s,i)=>{if(r&&s instanceof e||!r&&s.type===e)return n.call(this,s,i)})}append(e){return e.parent=this,this.nodes.push(e),this}prepend(e){return e.parent=this,this.nodes.unshift(e),this}cleanRaws(e){if(super.cleanRaws(e),this.nodes)for(let n of this.nodes)n.cleanRaws(e)}insertAfter(e,n){let r=this.index(e),s;this.nodes.splice(r+1,0,n);for(let i in this.indexes)s=this.indexes[i],r<=s&&(this.indexes[i]=s+this.nodes.length);return this}insertBefore(e,n){let r=this.index(e),s;this.nodes.splice(r,0,n);for(let i in this.indexes)s=this.indexes[i],r<=s&&(this.indexes[i]=s+this.nodes.length);return this}removeChild(e){e=this.index(e),this.nodes[e].parent=void 0,this.nodes.splice(e,1);let n;for(let r in this.indexes)n=this.indexes[r],n>=e&&(this.indexes[r]=n-1);return this}removeAll(){for(let e of this.nodes)e.parent=void 0;return this.nodes=[],this}every(e){return this.nodes.every(e)}some(e){return this.nodes.some(e)}index(e){return typeof e=="number"?e:this.nodes.indexOf(e)}get first(){if(this.nodes)return this.nodes[0]}get last(){if(this.nodes)return this.nodes[this.nodes.length-1]}toString(){let e=this.nodes.map(String).join("");return this.value&&(e=this.value+e),this.raws.before&&(e=this.raws.before+e),this.raws.after&&(e+=this.raws.after),e}};Le.registerWalker=t=>{let e="walk"+t.name;e.lastIndexOf("s")!==e.length-1&&(e+="s"),!Le.prototype[e]&&(Le.prototype[e]=function(n){return this.walkType(t,n)})};La.exports=Le});var Ba=y((wb,Ma)=>{"use strict";var rh=B();Ma.exports=class extends rh{constructor(e){super(e),this.type="root"}}});var $a=y((xb,Fa)=>{"use strict";var nh=B();Fa.exports=class extends nh{constructor(e){super(e),this.type="value",this.unbalanced=0}}});var za=y((bb,Wa)=>{"use strict";var Ua=B(),mr=class extends Ua{constructor(e){super(e),this.type="atword"}toString(){let e=this.quoted?this.raws.quote:"";return[this.raws.before,"@",String.prototype.toString.call(this.value),this.raws.after].join("")}};Ua.registerWalker(mr);Wa.exports=mr});var Ya=y((kb,Va)=>{"use strict";var sh=B(),ih=V(),yr=class extends ih{constructor(e){super(e),this.type="colon"}};sh.registerWalker(yr);Va.exports=yr});var Ka=y((_b,Ga)=>{"use strict";var oh=B(),ah=V(),gr=class extends ah{constructor(e){super(e),this.type="comma"}};oh.registerWalker(gr);Ga.exports=gr});var Qa=y((Tb,Ha)=>{"use strict";var uh=B(),lh=V(),wr=class extends lh{constructor(e){super(e),this.type="comment",this.inline=Object(e).inline||!1}toString(){return[this.raws.before,this.inline?"//":"/*",String(this.value),this.inline?"":"*/",this.raws.after].join("")}};uh.registerWalker(wr);Ha.exports=wr});var Xa=y((Eb,Ja)=>{"use strict";var ja=B(),vr=class extends ja{constructor(e){super(e),this.type="func",this.unbalanced=-1}};ja.registerWalker(vr);Ja.exports=vr});var eu=y((Sb,Za)=>{"use strict";var ch=B(),fh=V(),xr=class extends fh{constructor(e){super(e),this.type="number",this.unit=Object(e).unit||""}toString(){return[this.raws.before,String(this.value),this.unit,this.raws.after].join("")}};ch.registerWalker(xr);Za.exports=xr});var ru=y((Cb,tu)=>{"use strict";var ph=B(),hh=V(),br=class extends hh{constructor(e){super(e),this.type="operator"}};ph.registerWalker(br);tu.exports=br});var su=y((Ob,nu)=>{"use strict";var dh=B(),mh=V(),kr=class extends mh{constructor(e){super(e),this.type="paren",this.parenType=""}};dh.registerWalker(kr);nu.exports=kr});var ou=y((Ab,iu)=>{"use strict";var yh=B(),gh=V(),_r=class extends gh{constructor(e){super(e),this.type="string"}toString(){let e=this.quoted?this.raws.quote:"";return[this.raws.before,e,this.value+"",e,this.raws.after].join("")}};yh.registerWalker(_r);iu.exports=_r});var uu=y((Nb,au)=>{"use strict";var wh=B(),vh=V(),Tr=class extends vh{constructor(e){super(e),this.type="word"}};wh.registerWalker(Tr);au.exports=Tr});var cu=y((Pb,lu)=>{"use strict";var xh=B(),bh=V(),Er=class extends bh{constructor(e){super(e),this.type="unicode-range"}};xh.registerWalker(Er);lu.exports=Er});var pu=y((Rb,fu)=>{"use strict";var Xn=class extends Error{constructor(e){super(e),this.name=this.constructor.name,this.message=e||"An error ocurred while tokzenizing.",typeof Error.captureStackTrace=="function"?Error.captureStackTrace(this,this.constructor):this.stack=new Error(e).stack}};fu.exports=Xn});var vu=y((Ib,wu)=>{"use strict";var kh="{".charCodeAt(0),_h="}".charCodeAt(0),Th="(".charCodeAt(0),Eh=")".charCodeAt(0),hu="'".charCodeAt(0),Sh='"'.charCodeAt(0),du="\\".charCodeAt(0),Sr="/".charCodeAt(0),Ch=".".charCodeAt(0),Oh=",".charCodeAt(0),Ah=":".charCodeAt(0),Zn="*".charCodeAt(0),Cr="-".charCodeAt(0),es="+".charCodeAt(0),Nh="#".charCodeAt(0),bt=` -`.charCodeAt(0),ts=" ".charCodeAt(0),rs="\f".charCodeAt(0),ns=" ".charCodeAt(0),ss="\r".charCodeAt(0),Ph="@".charCodeAt(0),Rh="e".charCodeAt(0),Ih="E".charCodeAt(0),mu="0".charCodeAt(0),yu="9".charCodeAt(0),qh="u".charCodeAt(0),Dh="U".charCodeAt(0),Or=/[ \n\t\r\{\(\)'"\\;,/]/g,Lh=/[ \n\t\r\(\)\{\}\*:;@!&'"\+\|~>,\[\]\\]|\/(?=\*)/g,Me=/[ \n\t\r\(\)\{\}\*:;@!&'"\-\+\|~>,\[\]\\]|\//g,Mh=/^[a-z0-9]/i,Bh=/^[a-f0-9?\-]/i,gu=pu();wu.exports=function(e,n){n=n||{};let r=[],s=e.valueOf(),i=s.length,o=-1,a=1,u=0,c=0,f=null,p,l,g,x,h,d,m,b,w,v,N,$;function H(S){let C=`Unclosed ${S} at line: ${a}, column: ${u-o}, token: ${u}`;throw new gu(C)}function U(){let S=`Syntax error at line: ${a}, column: ${u-o}, token: ${u}`;throw new gu(S)}for(;u0&&r[r.length-1][0]==="word"&&r[r.length-1][1]==="url",r.push(["(","(",a,u-o,a,l-o,u]);break;case Eh:c--,f=f&&c>0,r.push([")",")",a,u-o,a,l-o,u]);break;case hu:case Sh:g=p===hu?"'":'"',l=u;do for(v=!1,l=s.indexOf(g,l+1),l===-1&&H("quote",g),N=l;s.charCodeAt(N-1)===du;)N-=1,v=!v;while(v);r.push(["string",s.slice(u,l+1),a,u-o,a,l-o,u]),u=l;break;case Ph:Or.lastIndex=u+1,Or.test(s),Or.lastIndex===0?l=s.length-1:l=Or.lastIndex-2,r.push(["atword",s.slice(u,l+1),a,u-o,a,l-o,u]),u=l;break;case du:l=u,p=s.charCodeAt(l+1),m&&p!==Sr&&p!==ts&&p!==bt&&p!==ns&&p!==ss&&p!==rs&&(l+=1),r.push(["word",s.slice(u,l+1),a,u-o,a,l-o,u]),u=l;break;case es:case Cr:case Zn:l=u+1,$=s.slice(u+1,l+1);let S=s.slice(u-1,u);if(p===Cr&&$.charCodeAt(0)===Cr){l++,r.push(["word",s.slice(u,l),a,u-o,a,l-o,u]),u=l-1;break}r.push(["operator",s.slice(u,l),a,u-o,a,l-o,u]),u=l-1;break;default:if(p===Sr&&(s.charCodeAt(u+1)===Zn||n.loose&&!f&&s.charCodeAt(u+1)===Sr)){if(s.charCodeAt(u+1)===Zn)l=s.indexOf("*/",u+2)+1,l===0&&H("comment","*/");else{let O=s.indexOf(` -`,u+2);l=O!==-1?O-1:i}d=s.slice(u,l+1),x=d.split(` -`),h=x.length-1,h>0?(b=a+h,w=l-x[h].length):(b=a,w=o),r.push(["comment",d,a,u-o,b,l-w,u]),o=w,a=b,u=l}else if(p===Nh&&!Mh.test(s.slice(u+1,u+2)))l=u+1,r.push(["#",s.slice(u,l),a,u-o,a,l-o,u]),u=l-1;else if((p===qh||p===Dh)&&s.charCodeAt(u+1)===es){l=u+2;do l+=1,p=s.charCodeAt(l);while(l=mu&&p<=yu&&(C=Me),C.lastIndex=u+1,C.test(s),C.lastIndex===0?l=s.length-1:l=C.lastIndex-2,C===Me||p===Ch){let O=s.charCodeAt(l),ve=s.charCodeAt(l+1),Cs=s.charCodeAt(l+2);(O===Rh||O===Ih)&&(ve===Cr||ve===es)&&Cs>=mu&&Cs<=yu&&(Me.lastIndex=l+2,Me.test(s),Me.lastIndex===0?l=s.length-1:l=Me.lastIndex-2)}r.push(["word",s.slice(u,l+1),a,u-o,a,l-o,u]),u=l}break}u++}return r}});var is=y((qb,xu)=>{xu.exports=function(e,n){if(n=typeof n=="number"?n:1/0,!n)return Array.isArray(e)?e.map(function(s){return s}):e;return r(e,1);function r(s,i){return s.reduce(function(o,a){return Array.isArray(a)&&i{bu.exports=function(t,e){for(var n=-1,r=[];(n=t.indexOf(e,n+1))!==-1;)r.push(n);return r}});var as=y((Lb,ku)=>{"use strict";function Fh(t,e){for(var n=1,r=t.length,s=t[0],i=t[0],o=1;o{"use strict";var us=class extends Error{constructor(e){super(e),this.name=this.constructor.name,this.message=e||"An error ocurred while parsing.",typeof Error.captureStackTrace=="function"?Error.captureStackTrace(this,this.constructor):this.stack=new Error(e).stack}};_u.exports=us});var Ou=y((Fb,Cu)=>{"use strict";var Wh=Ba(),zh=$a(),Vh=za(),Yh=Ya(),Gh=Ka(),Kh=Qa(),Hh=Xa(),Qh=eu(),jh=ru(),Eu=su(),Jh=ou(),Su=uu(),Xh=cu(),Zh=vu(),ed=is(),td=os(),rd=as(),nd=Tu();function sd(t){return t.sort((e,n)=>e-n)}Cu.exports=class{constructor(e,n){let r={loose:!1};this.cache=[],this.input=e,this.options=Object.assign({},r,n),this.position=0,this.unbalanced=0,this.root=new Wh;let s=new zh;this.root.append(s),this.current=s,this.tokens=Zh(e,this.options)}parse(){return this.loop()}colon(){let e=this.currToken;this.newNode(new Yh({value:e[1],source:{start:{line:e[2],column:e[3]},end:{line:e[4],column:e[5]}},sourceIndex:e[6]})),this.position++}comma(){let e=this.currToken;this.newNode(new Gh({value:e[1],source:{start:{line:e[2],column:e[3]},end:{line:e[4],column:e[5]}},sourceIndex:e[6]})),this.position++}comment(){let e=!1,n=this.currToken[1].replace(/\/\*|\*\//g,""),r;this.options.loose&&n.startsWith("//")&&(n=n.substring(2),e=!0),r=new Kh({value:n,inline:e,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(r),this.position++}error(e,n){throw new nd(e+` at line: ${n[2]}, column ${n[3]}`)}loop(){for(;this.position0&&(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 n=new jh({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(n)}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 e=1,n=this.position+1,r=this.currToken,s;for(;n=this.tokens.length-1&&!this.current.unbalanced)&&(this.current.unbalanced--,this.current.unbalanced<0&&this.error("Expected opening parenthesis",e),!this.current.unbalanced&&this.cache.length&&(this.current=this.cache.pop()))}space(){let e=this.currToken;this.position===this.tokens.length-1||this.nextToken[0]===","||this.nextToken[0]===")"?(this.current.last.raws.after+=e[1],this.position++):(this.spaces=e[1],this.position++)}unicodeRange(){let e=this.currToken;this.newNode(new Xh({value:e[1],source:{start:{line:e[2],column:e[3]},end:{line:e[4],column:e[5]}},sourceIndex:e[6]})),this.position++}splitWord(){let e=this.nextToken,n=this.currToken[1],r=/^[\+\-]?((\d+(\.\d*)?)|(\.\d+))([eE][\+\-]?\d+)?/,s=/^(?!\#([a-z0-9]+))[\#\{\}]/gi,i,o;if(!s.test(n))for(;e&&e[0]==="word";){this.position++;let a=this.currToken[1];n+=a,e=this.nextToken}i=td(n,"@"),o=sd(rd(ed([[0],i]))),o.forEach((a,u)=>{let c=o[u+1]||n.length,f=n.slice(a,c),p;if(~i.indexOf(a))p=new Vh({value:f.slice(1),source:{start:{line:this.currToken[2],column:this.currToken[3]+a},end:{line:this.currToken[4],column:this.currToken[3]+(c-1)}},sourceIndex:this.currToken[6]+o[u]});else if(r.test(this.currToken[1])){let l=f.replace(r,"");p=new Qh({value:f.replace(l,""),source:{start:{line:this.currToken[2],column:this.currToken[3]+a},end:{line:this.currToken[4],column:this.currToken[3]+(c-1)}},sourceIndex:this.currToken[6]+o[u],unit:l})}else p=new(e&&e[0]==="("?Hh:Su)({value:f,source:{start:{line:this.currToken[2],column:this.currToken[3]+a},end:{line:this.currToken[4],column:this.currToken[3]+(c-1)}},sourceIndex:this.currToken[6]+o[u]}),p.type==="word"?(p.isHex=/^#(.+)/.test(f),p.isColor=/^#([0-9a-f]{3}|[0-9a-f]{4}|[0-9a-f]{6}|[0-9a-f]{8})$/i.test(f)):this.cache.push(this.current);this.newNode(p)}),this.position++}string(){let e=this.currToken,n=this.currToken[1],r=/^(\"|\')/,s=r.test(n),i="",o;s&&(i=n.match(r)[0],n=n.slice(1,n.length-1)),o=new Jh({value:n,source:{start:{line:e[2],column:e[3]},end:{line:e[4],column:e[5]}},sourceIndex:e[6],quoted:s}),o.raws.quote=i,this.newNode(o),this.position++}word(){return this.splitWord()}newNode(e){return this.spaces&&(e.raws.before+=this.spaces,this.spaces=""),this.current.append(e)}get currToken(){return this.tokens[this.position]}get nextToken(){return this.tokens[this.position+1]}get prevToken(){return this.tokens[this.position-1]}}});var we=y((Nr,qu)=>{"use strict";Nr.__esModule=!0;var Iu=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t};function cd(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}var fd=function t(e,n){if((typeof e>"u"?"undefined":Iu(e))!=="object")return e;var r=new e.constructor;for(var s in e)if(e.hasOwnProperty(s)){var i=e[s],o=typeof i>"u"?"undefined":Iu(i);s==="parent"&&o==="object"?n&&(r[s]=n):i instanceof Array?r[s]=i.map(function(a){return t(a,r)}):r[s]=t(i,r)}return r},pd=function(){function t(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};cd(this,t);for(var n in e)this[n]=e[n];var r=e.spaces;r=r===void 0?{}:r;var s=r.before,i=s===void 0?"":s,o=r.after,a=o===void 0?"":o;this.spaces={before:i,after:a}}return t.prototype.remove=function(){return this.parent&&this.parent.removeChild(this),this.parent=void 0,this},t.prototype.replaceWith=function(){if(this.parent){for(var n in arguments)this.parent.insertBefore(this,arguments[n]);this.remove()}return this},t.prototype.next=function(){return this.parent.at(this.parent.index(this)+1)},t.prototype.prev=function(){return this.parent.at(this.parent.index(this)-1)},t.prototype.clone=function(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},r=fd(this);for(var s in n)r[s]=n[s];return r},t.prototype.toString=function(){return[this.spaces.before,String(this.value),this.spaces.after].join("")},t}();Nr.default=pd;qu.exports=Nr.default});var L=y(F=>{"use strict";F.__esModule=!0;var Kb=F.TAG="tag",Hb=F.STRING="string",Qb=F.SELECTOR="selector",jb=F.ROOT="root",Jb=F.PSEUDO="pseudo",Xb=F.NESTING="nesting",Zb=F.ID="id",ek=F.COMMENT="comment",tk=F.COMBINATOR="combinator",rk=F.CLASS="class",nk=F.ATTRIBUTE="attribute",sk=F.UNIVERSAL="universal"});var Rr=y((Pr,Du)=>{"use strict";Pr.__esModule=!0;var hd=function(){function t(e,n){for(var r=0;r=r&&(this.indexes[i]=s-1);return this},e.prototype.removeAll=function(){for(var i=this.nodes,r=Array.isArray(i),s=0,i=r?i:i[Symbol.iterator]();;){var o;if(r){if(s>=i.length)break;o=i[s++]}else{if(s=i.next(),s.done)break;o=s.value}var a=o;a.parent=void 0}return this.nodes=[],this},e.prototype.empty=function(){return this.removeAll()},e.prototype.insertAfter=function(r,s){var i=this.index(r);this.nodes.splice(i+1,0,s);var o=void 0;for(var a in this.indexes)o=this.indexes[a],i<=o&&(this.indexes[a]=o+this.nodes.length);return this},e.prototype.insertBefore=function(r,s){var i=this.index(r);this.nodes.splice(i,0,s);var o=void 0;for(var a in this.indexes)o=this.indexes[a],i<=o&&(this.indexes[a]=o+this.nodes.length);return this},e.prototype.each=function(r){this.lastEach||(this.lastEach=0),this.indexes||(this.indexes={}),this.lastEach++;var s=this.lastEach;if(this.indexes[s]=0,!!this.length){for(var i=void 0,o=void 0;this.indexes[s]{"use strict";Ir.__esModule=!0;var _d=Rr(),Td=Sd(_d),Ed=L();function Sd(t){return t&&t.__esModule?t:{default:t}}function Cd(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Od(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:t}function Ad(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var Nd=function(t){Ad(e,t);function e(n){Cd(this,e);var r=Od(this,t.call(this,n));return r.type=Ed.ROOT,r}return e.prototype.toString=function(){var r=this.reduce(function(s,i){var o=String(i);return o?s+o+",":""},"").slice(0,-1);return this.trailingComma?r+",":r},e}(Td.default);Ir.default=Nd;Lu.exports=Ir.default});var Fu=y((qr,Bu)=>{"use strict";qr.__esModule=!0;var Pd=Rr(),Rd=qd(Pd),Id=L();function qd(t){return t&&t.__esModule?t:{default:t}}function Dd(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Ld(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:t}function Md(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var Bd=function(t){Md(e,t);function e(n){Dd(this,e);var r=Ld(this,t.call(this,n));return r.type=Id.SELECTOR,r}return e}(Rd.default);qr.default=Bd;Bu.exports=qr.default});var Be=y((Dr,$u)=>{"use strict";Dr.__esModule=!0;var Fd=function(){function t(e,n){for(var r=0;r{"use strict";Lr.__esModule=!0;var Kd=Be(),Hd=jd(Kd),Qd=L();function jd(t){return t&&t.__esModule?t:{default:t}}function Jd(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Xd(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:t}function Zd(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var em=function(t){Zd(e,t);function e(n){Jd(this,e);var r=Xd(this,t.call(this,n));return r.type=Qd.CLASS,r}return e.prototype.toString=function(){return[this.spaces.before,this.ns,"."+this.value,this.spaces.after].join("")},e}(Hd.default);Lr.default=em;Uu.exports=Lr.default});var Vu=y((Mr,zu)=>{"use strict";Mr.__esModule=!0;var tm=we(),rm=sm(tm),nm=L();function sm(t){return t&&t.__esModule?t:{default:t}}function im(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function om(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:t}function am(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var um=function(t){am(e,t);function e(n){im(this,e);var r=om(this,t.call(this,n));return r.type=nm.COMMENT,r}return e}(rm.default);Mr.default=um;zu.exports=Mr.default});var Gu=y((Br,Yu)=>{"use strict";Br.__esModule=!0;var lm=Be(),cm=pm(lm),fm=L();function pm(t){return t&&t.__esModule?t:{default:t}}function hm(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function dm(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:t}function mm(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var ym=function(t){mm(e,t);function e(n){hm(this,e);var r=dm(this,t.call(this,n));return r.type=fm.ID,r}return e.prototype.toString=function(){return[this.spaces.before,this.ns,"#"+this.value,this.spaces.after].join("")},e}(cm.default);Br.default=ym;Yu.exports=Br.default});var Hu=y((Fr,Ku)=>{"use strict";Fr.__esModule=!0;var gm=Be(),wm=xm(gm),vm=L();function xm(t){return t&&t.__esModule?t:{default:t}}function bm(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function km(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:t}function _m(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var Tm=function(t){_m(e,t);function e(n){bm(this,e);var r=km(this,t.call(this,n));return r.type=vm.TAG,r}return e}(wm.default);Fr.default=Tm;Ku.exports=Fr.default});var ju=y(($r,Qu)=>{"use strict";$r.__esModule=!0;var Em=we(),Sm=Om(Em),Cm=L();function Om(t){return t&&t.__esModule?t:{default:t}}function Am(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Nm(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:t}function Pm(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var Rm=function(t){Pm(e,t);function e(n){Am(this,e);var r=Nm(this,t.call(this,n));return r.type=Cm.STRING,r}return e}(Sm.default);$r.default=Rm;Qu.exports=$r.default});var Xu=y((Ur,Ju)=>{"use strict";Ur.__esModule=!0;var Im=Rr(),qm=Lm(Im),Dm=L();function Lm(t){return t&&t.__esModule?t:{default:t}}function Mm(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Bm(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:t}function Fm(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var $m=function(t){Fm(e,t);function e(n){Mm(this,e);var r=Bm(this,t.call(this,n));return r.type=Dm.PSEUDO,r}return e.prototype.toString=function(){var r=this.length?"("+this.map(String).join(",")+")":"";return[this.spaces.before,String(this.value),r,this.spaces.after].join("")},e}(qm.default);Ur.default=$m;Ju.exports=Ur.default});var el=y((Wr,Zu)=>{"use strict";Wr.__esModule=!0;var Um=Be(),Wm=Vm(Um),zm=L();function Vm(t){return t&&t.__esModule?t:{default:t}}function Ym(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Gm(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:t}function Km(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var Hm=function(t){Km(e,t);function e(n){Ym(this,e);var r=Gm(this,t.call(this,n));return r.type=zm.ATTRIBUTE,r.raws={},r}return e.prototype.toString=function(){var r=[this.spaces.before,"[",this.ns,this.attribute];return this.operator&&r.push(this.operator),this.value&&r.push(this.value),this.raws.insensitive?r.push(this.raws.insensitive):this.insensitive&&r.push(" i"),r.push("]"),r.concat(this.spaces.after).join("")},e}(Wm.default);Wr.default=Hm;Zu.exports=Wr.default});var rl=y((zr,tl)=>{"use strict";zr.__esModule=!0;var Qm=Be(),jm=Xm(Qm),Jm=L();function Xm(t){return t&&t.__esModule?t:{default:t}}function Zm(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function ey(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:t}function ty(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var ry=function(t){ty(e,t);function e(n){Zm(this,e);var r=ey(this,t.call(this,n));return r.type=Jm.UNIVERSAL,r.value="*",r}return e}(jm.default);zr.default=ry;tl.exports=zr.default});var sl=y((Vr,nl)=>{"use strict";Vr.__esModule=!0;var ny=we(),sy=oy(ny),iy=L();function oy(t){return t&&t.__esModule?t:{default:t}}function ay(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function uy(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:t}function ly(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var cy=function(t){ly(e,t);function e(n){ay(this,e);var r=uy(this,t.call(this,n));return r.type=iy.COMBINATOR,r}return e}(sy.default);Vr.default=cy;nl.exports=Vr.default});var ol=y((Yr,il)=>{"use strict";Yr.__esModule=!0;var fy=we(),py=dy(fy),hy=L();function dy(t){return t&&t.__esModule?t:{default:t}}function my(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function yy(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:t}function gy(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var wy=function(t){gy(e,t);function e(n){my(this,e);var r=yy(this,t.call(this,n));return r.type=hy.NESTING,r.value="&",r}return e}(py.default);Yr.default=wy;il.exports=Yr.default});var ul=y((Gr,al)=>{"use strict";Gr.__esModule=!0;Gr.default=vy;function vy(t){return t.sort(function(e,n){return e-n})}al.exports=Gr.default});var gl=y((Qr,yl)=>{"use strict";Qr.__esModule=!0;Qr.default=Ny;var ll=39,xy=34,ls=92,cl=47,kt=10,cs=32,fs=12,ps=9,hs=13,fl=43,pl=62,hl=126,dl=124,by=44,ky=40,_y=41,Ty=91,Ey=93,Sy=59,ml=42,Cy=58,Oy=38,Ay=64,Kr=/[ \n\t\r\{\(\)'"\\;/]/g,Hr=/[ \n\t\r\(\)\*:;@!&'"\+\|~>,\[\]\\]|\/(?=\*)/g;function Ny(t){for(var e=[],n=t.css.valueOf(),r=void 0,s=void 0,i=void 0,o=void 0,a=void 0,u=void 0,c=void 0,f=void 0,p=void 0,l=void 0,g=void 0,x=n.length,h=-1,d=1,m=0,b=function(v,N){if(t.safe)n+=N,s=n.length-1;else throw t.error("Unclosed "+v,d,m-h,m)};m0?(f=d+a,p=s-o[a].length):(f=d,p=h),e.push(["comment",u,d,m-h,f,s-p,m]),h=p,d=f,m=s):(Hr.lastIndex=m+1,Hr.test(n),Hr.lastIndex===0?s=n.length-1:s=Hr.lastIndex-2,e.push(["word",n.slice(m,s+1),d,m-h,d,s-h,m]),m=s);break}m++}return e}yl.exports=Qr.default});var xl=y((jr,vl)=>{"use strict";jr.__esModule=!0;var Py=function(){function t(e,n){for(var r=0;r1?(o[0]===""&&(o[0]=!0),a.attribute=this.parseValue(o[2]),a.namespace=this.parseNamespace(o[0])):a.attribute=this.parseValue(i[0]),r=new Zy.default(a),i[2]){var u=i[2].split(/(\s+i\s*?)$/),c=u[0].trim();r.value=this.lossy?c:u[0],u[1]&&(r.insensitive=!0,this.lossy||(r.raws.insensitive=u[1])),r.quoted=c[0]==="'"||c[0]==='"',r.raws.unquoted=r.quoted?c.slice(1,-1):c}this.newNode(r),this.position++},t.prototype.combinator=function(){if(this.currToken[1]==="|")return this.namespace();for(var n=new ng.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.position1&&n.nextToken&&n.nextToken[0]==="("&&n.error("Misplaced parenthesis.")})}else this.error('Unexpected "'+this.currToken[0]+'" found.')},t.prototype.space=function(){var n=this.currToken;this.position===0||this.prevToken[0]===","||this.prevToken[0]==="("?(this.spaces=this.parseSpace(n[1]),this.position++):this.position===this.tokens.length-1||this.nextToken[0]===","||this.nextToken[0]===")"?(this.current.last.spaces.after=this.parseSpace(n[1]),this.position++):this.combinator()},t.prototype.string=function(){var n=this.currToken;this.newNode(new Qy.default({value:this.currToken[1],source:{start:{line:n[2],column:n[3]},end:{line:n[4],column:n[5]}},sourceIndex:n[6]})),this.position++},t.prototype.universal=function(n){var r=this.nextToken;if(r&&r[1]==="|")return this.position++,this.namespace();this.newNode(new tg.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]}),n),this.position++},t.prototype.splitWord=function(n,r){for(var s=this,i=this.nextToken,o=this.currToken[1];i&&i[0]==="word";){this.position++;var a=this.currToken[1];if(o+=a,a.lastIndexOf("\\")===a.length-1){var u=this.nextToken;u&&u[0]==="space"&&(o+=this.parseSpace(u[1]," "),this.position++)}i=this.nextToken}var c=(0,ds.default)(o,"."),f=(0,ds.default)(o,"#"),p=(0,ds.default)(o,"#{");p.length&&(f=f.filter(function(g){return!~p.indexOf(g)}));var l=(0,ag.default)((0,Ly.default)((0,Iy.default)([[0],c,f])));l.forEach(function(g,x){var h=l[x+1]||o.length,d=o.slice(g,h);if(x===0&&r)return r.call(s,d,l.length);var m=void 0;~c.indexOf(g)?m=new Uy.default({value:d.slice(1),source:{start:{line:s.currToken[2],column:s.currToken[3]+g},end:{line:s.currToken[4],column:s.currToken[3]+(h-1)}},sourceIndex:s.currToken[6]+l[x]}):~f.indexOf(g)?m=new Yy.default({value:d.slice(1),source:{start:{line:s.currToken[2],column:s.currToken[3]+g},end:{line:s.currToken[4],column:s.currToken[3]+(h-1)}},sourceIndex:s.currToken[6]+l[x]}):m=new Ky.default({value:d,source:{start:{line:s.currToken[2],column:s.currToken[3]+g},end:{line:s.currToken[4],column:s.currToken[3]+(h-1)}},sourceIndex:s.currToken[6]+l[x]}),s.newNode(m,n)}),this.position++},t.prototype.word=function(n){var r=this.nextToken;return r&&r[1]==="|"?(this.position++,this.namespace()):this.splitWord(n)},t.prototype.loop=function(){for(;this.position{"use strict";Jr.__esModule=!0;var dg=function(){function t(e,n){for(var r=0;r1&&arguments[1]!==void 0?arguments[1]:{},s=new yg.default({css:n,error:function(o){throw new Error(o)},options:r});return this.res=s,this.func(s),this},dg(t,[{key:"result",get:function(){return String(this.res)}}]),t}();Jr.default=vg;bl.exports=Jr.default});var ws=y(gs=>{"use strict";Object.defineProperty(gs,"__esModule",{value:!0});function _g(t){this.after=t.after,this.before=t.before,this.type=t.type,this.value=t.value,this.sourceIndex=t.sourceIndex}gs.default=_g});var xs=y(vs=>{"use strict";Object.defineProperty(vs,"__esModule",{value:!0});var Tg=ws(),Sl=Eg(Tg);function Eg(t){return t&&t.__esModule?t:{default:t}}function _t(t){var e=this;this.constructor(t),this.nodes=t.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(n){n.parent=e})}_t.prototype=Object.create(Sl.default.prototype);_t.constructor=Sl.default;_t.prototype.walk=function(e,n){for(var r=typeof e=="string"||e instanceof RegExp,s=r?n:e,i=typeof e=="string"?new RegExp(e):e,o=0;o{"use strict";Object.defineProperty(Tt,"__esModule",{value:!0});Tt.parseMediaFeature=Al;Tt.parseMediaQuery=ks;Tt.parseMediaList=Og;var Sg=ws(),Cl=Ol(Sg),Cg=xs(),bs=Ol(Cg);function Ol(t){return t&&t.__esModule?t:{default:t}}function Al(t){var e=arguments.length<=1||arguments[1]===void 0?0:arguments[1],n=[{mode:"normal",character:null}],r=[],s=0,i="",o=null,a=null,u=e,c=t;t[0]==="("&&t[t.length-1]===")"&&(c=t.substring(1,t.length-1),u++);for(var f=0;f0&&(n[c-1].after=i.before),i.type===void 0){if(c>0){if(n[c-1].type==="media-feature-expression"){i.type="keyword";continue}if(n[c-1].value==="not"||n[c-1].value==="only"){i.type="media-type";continue}if(n[c-1].value==="and"){i.type="media-feature-expression";continue}n[c-1].type==="media-type"&&(n[c+1]?i.type=n[c+1].type==="media-feature-expression"?"keyword":"media-feature-expression":i.type="media-feature-expression")}if(c===0){if(!n[c+1]){i.type="media-type";continue}if(n[c+1]&&(n[c+1].type==="media-feature-expression"||n[c+1].type==="keyword")){i.type="media-type";continue}if(n[c+2]){if(n[c+2].type==="media-feature-expression"){i.type="media-type",n[c+1].type="keyword";continue}if(n[c+2].type==="keyword"){i.type="keyword",n[c+1].type="media-type";continue}}if(n[c+3]&&n[c+3].type==="media-feature-expression"){i.type="keyword",n[c+1].type="media-type",n[c+2].type="keyword";continue}}}return n}function Og(t){var e=[],n=0,r=0,s=/^(\s*)url\s*\(/.exec(t);if(s!==null){for(var i=s[0].length,o=1;o>0;){var a=t[i];a==="("&&o++,a===")"&&o--,i++}e.unshift(new Cl.default({type:"url",value:t.substring(0,i).trim(),sourceIndex:s[1].length,before:s[1],after:/^(\s*)/.exec(t.substring(i))[1]})),n=i}for(var u=n;u{"use strict";Object.defineProperty(_s,"__esModule",{value:!0});_s.default=Ig;var Ag=xs(),Ng=Rg(Ag),Pg=Nl();function Rg(t){return t&&t.__esModule?t:{default:t}}function Ig(t){return new Ng.default({nodes:(0,Pg.parseMediaList)(t),type:"media-query-list",value:t.trim()})}});var Ss={};Os(Ss,{languages:()=>Ul,options:()=>zl,parsers:()=>Zr,printers:()=>Wg});var jl=(t,e,n,r)=>{if(!(t&&e==null))return e.replaceAll?e.replaceAll(n,r):n.global?e.replace(n,r):e.split(n).join(r)},T=jl;var Et="'",As='"';function Jl(t,e){let n=e===!0||e===Et?Et:As,r=n===Et?As:Et,s=0,i=0;for(let o of t)o===n?s++:o===r&&i++;return s>i?r:n}var Ns=Jl;function Xl(t,e,n){let r=e==='"'?"'":'"',i=T(!1,t,/\\(.)|(["'])/gs,(o,a,u)=>a===r?a:u===e?"\\"+u:u||(n&&/^[^\n\r"'0-7\\bfnrt-vx\u2028\u2029]$/.test(a)?a:"\\"+a));return e+i+e}var Ps=Xl;function Zl(t,e){let n=t.slice(1,-1),r=e.parser==="json"||e.parser==="json5"&&e.quoteProps==="preserve"&&!e.singleQuote?'"':e.__isInHtmlAttribute?"'":Ns(n,e.singleQuote);return Ps(n,r,!(e.parser==="css"||e.parser==="less"||e.parser==="scss"||e.__embeddedInHtml))}var St=Zl;function ec(t){return Array.isArray(t)&&t.length>0}var ee=ec;var Fe="string",$e="array",Ue="cursor",xe="indent",be="align",We="trim",ke="group",te="fill",le="if-break",ze="indent-if-break",Ve="line-suffix",Ye="line-suffix-boundary",Q="line",Ge="label",_e="break-parent",Ct=new Set([Ue,xe,be,We,ke,te,le,ze,Ve,Ye,Q,Ge,_e]);function tc(t){if(typeof t=="string")return Fe;if(Array.isArray(t))return $e;if(!t)return;let{type:e}=t;if(Ct.has(e))return e}var Ke=tc;var rc=t=>new Intl.ListFormat("en-US",{type:"disjunction"}).format(t);function nc(t){let e=t===null?"null":typeof t;if(e!=="string"&&e!=="object")return`Unexpected doc '${e}', -Expected it to be 'string' or 'object'.`;if(Ke(t))throw new Error("doc is valid.");let n=Object.prototype.toString.call(t);if(n!=="[object Object]")return`Unexpected doc '${n}'.`;let r=rc([...Ct].map(s=>`'${s}'`));return`Unexpected doc.type '${t.type}'. -Expected it to be ${r}.`}var tn=class extends Error{name="InvalidDocError";constructor(e){super(nc(e)),this.doc=e}},rn=tn;var Rs=()=>{},ce=Rs,Ot=Rs;function q(t){return ce(t),{type:xe,contents:t}}function Is(t,e){return ce(e),{type:be,contents:e,n:t}}function D(t,e={}){return ce(t),Ot(e.expandedStates,!0),{type:ke,id:e.id,contents:t,break:!!e.shouldBreak,expandedStates:e.expandedStates}}function qs(t){return Is({type:"root"},t)}function fe(t){return Is(-1,t)}function He(t){return Ot(t),{type:te,parts:t}}function At(t,e="",n={}){return ce(t),e!==""&&ce(e),{type:le,breakContents:t,flatContents:e,groupId:n.groupId}}var Qe={type:_e};var sc={type:Q,hard:!0};var A={type:Q},M={type:Q,soft:!0},_=[sc,Qe];function Y(t,e){ce(t),Ot(e);let n=[];for(let r=0;r{if(!(t&&e==null))return Array.isArray(e)||typeof e=="string"?e[n<0?e.length+n:n]:e.at(n)},G=ic;var Ds=t=>{if(Array.isArray(t))return t;if(t.type!==te)throw new Error(`Expect doc to be 'array' or '${te}'.`);return t.parts};function oc(t,e){if(typeof t=="string")return e(t);let n=new Map;return r(t);function r(i){if(n.has(i))return n.get(i);let o=s(i);return n.set(i,o),o}function s(i){switch(Ke(i)){case $e:return e(i.map(r));case te:return e({...i,parts:i.parts.map(r)});case le:return e({...i,breakContents:r(i.breakContents),flatContents:r(i.flatContents)});case ke:{let{expandedStates:o,contents:a}=i;return o?(o=o.map(r),a=o[0]):a=r(a),e({...i,contents:a,expandedStates:o})}case be:case xe:case ze:case Ge:case Ve:return e({...i,contents:r(i.contents)});case Fe:case Ue:case We:case Ye:case Q:case _e:return e(i);default:throw new rn(i)}}}function ac(t){return t.type===Q&&!t.hard?t.soft?"":" ":t.type===le?t.flatContents:t}function Ls(t){return oc(t,ac)}var nn=class extends Error{name="UnexpectedNodeError";constructor(e,n,r="type"){super(`Unexpected ${n} node ${r}: ${JSON.stringify(e[r])}.`),this.node=e}},Ms=nn;function uc(t){return(t==null?void 0:t.type)==="front-matter"}var Te=uc;var lc=new Set(["raw","raws","sourceIndex","source","before","after","trailingComma","spaces"]);function Bs(t,e,n){if(Te(t)&&t.lang==="yaml"&&delete e.value,t.type==="css-comment"&&n.type==="css-root"&&n.nodes.length>0&&((n.nodes[0]===t||Te(n.nodes[0])&&n.nodes[1]===t)&&(delete e.text,/^\*\s*@(?:format|prettier)\s*$/.test(t.text))||n.type==="css-root"&&G(!1,n.nodes,-1)===t))return null;if(t.type==="value-root"&&delete e.text,(t.type==="media-query"||t.type==="media-query-list"||t.type==="media-feature-expression")&&delete e.value,t.type==="css-rule"&&delete e.params,t.type==="selector-combinator"&&(e.value=T(!1,e.value,/\s+/g," ")),t.type==="media-feature"&&(e.value=T(!1,e.value," ","")),(t.type==="value-word"&&(t.isColor&&t.isHex||["initial","inherit","unset","revert"].includes(e.value.toLowerCase()))||t.type==="media-feature"||t.type==="selector-root-invalid"||t.type==="selector-pseudo")&&(e.value=e.value.toLowerCase()),t.type==="css-decl"&&(e.prop=e.prop.toLowerCase()),(t.type==="css-atrule"||t.type==="css-import")&&(e.name=e.name.toLowerCase()),t.type==="value-number"&&(e.unit=e.unit.toLowerCase()),t.type==="value-unknown"&&(e.value=T(!1,e.value,/;$/g,"")),(t.type==="media-feature"||t.type==="media-keyword"||t.type==="media-type"||t.type==="media-unknown"||t.type==="media-url"||t.type==="media-value"||t.type==="selector-attribute"||t.type==="selector-string"||t.type==="selector-class"||t.type==="selector-combinator"||t.type==="value-string")&&e.value&&(e.value=cc(e.value)),t.type==="selector-attribute"&&(e.attribute=e.attribute.trim(),e.namespace&&typeof e.namespace=="string"&&(e.namespace=e.namespace.trim(),e.namespace.length===0&&(e.namespace=!0)),e.value&&(e.value=T(!1,e.value.trim(),/^["']|["']$/g,""),delete e.quoted)),(t.type==="media-value"||t.type==="media-type"||t.type==="value-number"||t.type==="selector-root-invalid"||t.type==="selector-class"||t.type==="selector-combinator"||t.type==="selector-tag")&&e.value&&(e.value=T(!1,e.value,/([\d+.Ee-]+)([A-Za-z]*)/g,(r,s,i)=>{let o=Number(s);return Number.isNaN(o)?r:o+i.toLowerCase()})),t.type==="selector-tag"){let r=t.value.toLowerCase();["from","to"].includes(r)&&(e.value=r)}if(t.type==="css-atrule"&&t.name.toLowerCase()==="supports"&&delete e.value,t.type==="selector-unknown"&&delete e.value,t.type==="value-comma_group"){let r=t.groups.findIndex(s=>s.type==="value-number"&&s.unit==="...");r!==-1&&(e.groups[r].unit="",e.groups.splice(r+1,0,{type:"value-word",value:"...",isColor:!1,isHex:!1}))}if(t.type==="value-comma_group"&&t.groups.some(r=>r.type==="value-atword"&&r.value.endsWith("[")||r.type==="value-word"&&r.value.startsWith("]")))return{type:"value-atword",value:t.groups.map(r=>r.value).join(""),group:{open:null,close:null,groups:[],type:"value-paren_group"}}}Bs.ignoredProperties=lc;function cc(t){return T(!1,T(!1,t,"'",'"'),/\\([^\dA-Fa-f])/g,"$1")}var Fs=Bs;async function fc(t,e){if(t.lang==="yaml"){let n=t.value.trim(),r=n?await e(n,{parser:"yaml"}):"";return qs([t.startDelimiter,_,r,r?_:"",t.endDelimiter])}}var $s=fc;function Us(t){let{node:e}=t;if(e.type==="front-matter")return async n=>{let r=await $s(e,n);return r?[r,_]:void 0}}Us.getVisitorKeys=t=>t.type==="css-root"?["frontMatter"]:[];var Ws=Us;var re=ue(Qs(),1);function bc(t){if(!t.startsWith("#!"))return"";let e=t.indexOf(` -`);return e===-1?t:t.slice(0,e)}var js=bc;function Js(t){let e=js(t);e&&(t=t.slice(e.length+1));let n=(0,re.extract)(t),{pragmas:r,comments:s}=(0,re.parseWithComments)(n);return{shebang:e,text:t,pragmas:r,comments:s}}function Xs(t){let{pragmas:e}=Js(t);return Object.prototype.hasOwnProperty.call(e,"prettier")||Object.prototype.hasOwnProperty.call(e,"format")}function Zs(t){let{shebang:e,text:n,pragmas:r,comments:s}=Js(t),i=(0,re.strip)(n),o=(0,re.print)({pragmas:{format:"",...r},comments:s.trimStart()});return(e?`${e} +`,beforeDecl:` +`,beforeOpen:" ",beforeRule:` +`,colon:": ",commentLeft:" ",commentRight:" ",emptyBody:"",indent:" ",semicolon:!1};function lc(t){return t[0].toUpperCase()+t.slice(1)}var nt=class{constructor(e){this.builder=e}atrule(e,s){let r="@"+e.name,n=e.params?this.rawValue(e,"params"):"";if(typeof e.raws.afterName<"u"?r+=e.raws.afterName:n&&(r+=" "),e.nodes)this.block(e,r+n);else{let i=(e.raws.between||"")+(s?";":"");this.builder(r+n+i,e)}}beforeAfter(e,s){let r;e.type==="decl"?r=this.raw(e,null,"beforeDecl"):e.type==="comment"?r=this.raw(e,null,"beforeComment"):s==="before"?r=this.raw(e,null,"beforeRule"):r=this.raw(e,null,"beforeClose");let n=e.parent,i=0;for(;n&&n.type!=="root";)i+=1,n=n.parent;if(r.includes(` +`)){let o=this.raw(e,null,"indent");if(o.length)for(let a=0;a0&&e.nodes[s].type==="comment";)s-=1;let r=this.raw(e,"semicolon");for(let n=0;n{if(n=u.raws[s],typeof n<"u")return!1})}return typeof n>"u"&&(n=xi[r]),o.rawCache[r]=n,n}rawBeforeClose(e){let s;return e.walk(r=>{if(r.nodes&&r.nodes.length>0&&typeof r.raws.after<"u")return s=r.raws.after,s.includes(` +`)&&(s=s.replace(/[^\n]+$/,"")),!1}),s&&(s=s.replace(/\S/g,"")),s}rawBeforeComment(e,s){let r;return e.walkComments(n=>{if(typeof n.raws.before<"u")return r=n.raws.before,r.includes(` +`)&&(r=r.replace(/[^\n]+$/,"")),!1}),typeof r>"u"?r=this.raw(s,null,"beforeDecl"):r&&(r=r.replace(/\S/g,"")),r}rawBeforeDecl(e,s){let r;return e.walkDecls(n=>{if(typeof n.raws.before<"u")return r=n.raws.before,r.includes(` +`)&&(r=r.replace(/[^\n]+$/,"")),!1}),typeof r>"u"?r=this.raw(s,null,"beforeRule"):r&&(r=r.replace(/\S/g,"")),r}rawBeforeOpen(e){let s;return e.walk(r=>{if(r.type!=="decl"&&(s=r.raws.between,typeof s<"u"))return!1}),s}rawBeforeRule(e){let s;return e.walk(r=>{if(r.nodes&&(r.parent!==e||e.first!==r)&&typeof r.raws.before<"u")return s=r.raws.before,s.includes(` +`)&&(s=s.replace(/[^\n]+$/,"")),!1}),s&&(s=s.replace(/\S/g,"")),s}rawColon(e){let s;return e.walkDecls(r=>{if(typeof r.raws.between<"u")return s=r.raws.between.replace(/[^\s:]/g,""),!1}),s}rawEmptyBody(e){let s;return e.walk(r=>{if(r.nodes&&r.nodes.length===0&&(s=r.raws.after,typeof s<"u"))return!1}),s}rawIndent(e){if(e.raws.indent)return e.raws.indent;let s;return e.walk(r=>{let n=r.parent;if(n&&n!==e&&n.parent&&n.parent===e&&typeof r.raws.before<"u"){let i=r.raws.before.split(` +`);return s=i[i.length-1],s=s.replace(/\S/g,""),!1}}),s}rawSemicolon(e){let s;return e.walk(r=>{if(r.nodes&&r.nodes.length&&r.last.type==="decl"&&(s=r.raws.semicolon,typeof s<"u"))return!1}),s}rawValue(e,s){let r=e[s],n=e.raws[s];return n&&n.value===r?n.raw:r}root(e){this.body(e),e.raws.after&&this.builder(e.raws.after)}rule(e){this.block(e,this.rawValue(e,"selector")),e.raws.ownSemicolon&&this.builder(e.raws.ownSemicolon,e,"end")}stringify(e,s){if(!this[e.type])throw new Error("Unknown AST node type "+e.type+". Maybe you need to change PostCSS stringifier.");this[e.type](e,s)}};bi.exports=nt;nt.default=nt});var it=y((av,_i)=>{"use strict";var cc=$t();function ns(t,e){new cc(e).stringify(t)}_i.exports=ns;ns.default=ns});var at=y((uv,ki)=>{"use strict";var{isClean:Wt,my:fc}=Ut(),pc=Ft(),hc=$t(),dc=it();function is(t,e){let s=new t.constructor;for(let r in t){if(!Object.prototype.hasOwnProperty.call(t,r)||r==="proxyCache")continue;let n=t[r],i=typeof n;r==="parent"&&i==="object"?e&&(s[r]=e):r==="source"?s[r]=n:Array.isArray(n)?s[r]=n.map(o=>is(o,s)):(i==="object"&&n!==null&&(n=is(n)),s[r]=n)}return s}var ot=class{constructor(e={}){this.raws={},this[Wt]=!1,this[fc]=!0;for(let s in e)if(s==="nodes"){this.nodes=[];for(let r of e[s])typeof r.clone=="function"?this.append(r.clone()):this.append(r)}else this[s]=e[s]}addToError(e){if(e.postcssNode=this,e.stack&&this.source&&/\n\s{4}at /.test(e.stack)){let s=this.source;e.stack=e.stack.replace(/\n\s{4}at /,`$&${s.input.from}:${s.start.line}:${s.start.column}$&`)}return e}after(e){return this.parent.insertAfter(this,e),this}assign(e={}){for(let s in e)this[s]=e[s];return this}before(e){return this.parent.insertBefore(this,e),this}cleanRaws(e){delete this.raws.before,delete this.raws.after,e||delete this.raws.between}clone(e={}){let s=is(this);for(let r in e)s[r]=e[r];return s}cloneAfter(e={}){let s=this.clone(e);return this.parent.insertAfter(this,s),s}cloneBefore(e={}){let s=this.clone(e);return this.parent.insertBefore(this,s),s}error(e,s={}){if(this.source){let{end:r,start:n}=this.rangeBy(s);return this.source.input.error(e,{column:n.column,line:n.line},{column:r.column,line:r.line},s)}return new pc(e)}getProxyProcessor(){return{get(e,s){return s==="proxyOf"?e:s==="root"?()=>e.root().toProxy():e[s]},set(e,s,r){return e[s]===r||(e[s]=r,(s==="prop"||s==="value"||s==="name"||s==="params"||s==="important"||s==="text")&&e.markDirty()),!0}}}markDirty(){if(this[Wt]){this[Wt]=!1;let e=this;for(;e=e.parent;)e[Wt]=!1}}next(){if(!this.parent)return;let e=this.parent.index(this);return this.parent.nodes[e+1]}positionBy(e,s){let r=this.source.start;if(e.index)r=this.positionInside(e.index,s);else if(e.word){s=this.toString();let n=s.indexOf(e.word);n!==-1&&(r=this.positionInside(n,s))}return r}positionInside(e,s){let r=s||this.toString(),n=this.source.start.column,i=this.source.start.line;for(let o=0;otypeof u=="object"&&u.toJSON?u.toJSON(null,s):u);else if(typeof a=="object"&&a.toJSON)r[o]=a.toJSON(null,s);else if(o==="source"){let u=s.get(a.input);u==null&&(u=i,s.set(a.input,i),i++),r[o]={end:a.end,inputId:u,start:a.start}}else r[o]=a}return n&&(r.inputs=[...s.keys()].map(o=>o.toJSON())),r}toProxy(){return this.proxyCache||(this.proxyCache=new Proxy(this,this.getProxyProcessor())),this.proxyCache}toString(e=dc){e.stringify&&(e=e.stringify);let s="";return e(this,r=>{s+=r}),s}warn(e,s,r){let n={node:this};for(let i in r)n[i]=r[i];return e.warn(s,n)}get proxyOf(){return this}};ki.exports=ot;ot.default=ot});var lt=y((lv,Ei)=>{"use strict";var mc=at(),ut=class extends mc{constructor(e){e&&typeof e.value<"u"&&typeof e.value!="string"&&(e={...e,value:String(e.value)}),super(e),this.type="decl"}get variable(){return this.prop.startsWith("--")||this.prop[0]==="$"}};Ei.exports=ut;ut.default=ut});var Oe=y((cv,Si)=>{"use strict";var yc=at(),ct=class extends yc{constructor(e){super(e),this.type="comment"}};Si.exports=ct;ct.default=ct});var re=y((fv,qi)=>{"use strict";var{isClean:Ti,my:Oi}=Ut(),Ci=lt(),Ai=Oe(),wc=at(),Ni,os,as,Pi;function Ri(t){return t.map(e=>(e.nodes&&(e.nodes=Ri(e.nodes)),delete e.source,e))}function Ii(t){if(t[Ti]=!1,t.proxyOf.nodes)for(let e of t.proxyOf.nodes)Ii(e)}var Y=class t extends wc{append(...e){for(let s of e){let r=this.normalize(s,this.last);for(let n of r)this.proxyOf.nodes.push(n)}return this.markDirty(),this}cleanRaws(e){if(super.cleanRaws(e),this.nodes)for(let s of this.nodes)s.cleanRaws(e)}each(e){if(!this.proxyOf.nodes)return;let s=this.getIterator(),r,n;for(;this.indexes[s]e[s](...r.map(n=>typeof n=="function"?(i,o)=>n(i.toProxy(),o):n)):s==="every"||s==="some"?r=>e[s]((n,...i)=>r(n.toProxy(),...i)):s==="root"?()=>e.root().toProxy():s==="nodes"?e.nodes.map(r=>r.toProxy()):s==="first"||s==="last"?e[s].toProxy():e[s]:e[s]},set(e,s,r){return e[s]===r||(e[s]=r,(s==="name"||s==="params"||s==="selector")&&e.markDirty()),!0}}}index(e){return typeof e=="number"?e:(e.proxyOf&&(e=e.proxyOf),this.proxyOf.nodes.indexOf(e))}insertAfter(e,s){let r=this.index(e),n=this.normalize(s,this.proxyOf.nodes[r]).reverse();r=this.index(e);for(let o of n)this.proxyOf.nodes.splice(r+1,0,o);let i;for(let o in this.indexes)i=this.indexes[o],r"u")e=[];else if(Array.isArray(e)){e=e.slice(0);for(let n of e)n.parent&&n.parent.removeChild(n,"ignore")}else if(e.type==="root"&&this.type!=="document"){e=e.nodes.slice(0);for(let n of e)n.parent&&n.parent.removeChild(n,"ignore")}else if(e.type)e=[e];else if(e.prop){if(typeof e.value>"u")throw new Error("Value field is missed in node creation");typeof e.value!="string"&&(e.value=String(e.value)),e=[new Ci(e)]}else if(e.selector)e=[new os(e)];else if(e.name)e=[new as(e)];else if(e.text)e=[new Ai(e)];else throw new Error("Unknown node type in node creation");return e.map(n=>(n[Oi]||t.rebuild(n),n=n.proxyOf,n.parent&&n.parent.removeChild(n),n[Ti]&&Ii(n),typeof n.raws.before>"u"&&s&&typeof s.raws.before<"u"&&(n.raws.before=s.raws.before.replace(/\S/g,"")),n.parent=this.proxyOf,n))}prepend(...e){e=e.reverse();for(let s of e){let r=this.normalize(s,this.first,"prepend").reverse();for(let n of r)this.proxyOf.nodes.unshift(n);for(let n in this.indexes)this.indexes[n]=this.indexes[n]+r.length}return this.markDirty(),this}push(e){return e.parent=this,this.proxyOf.nodes.push(e),this}removeAll(){for(let e of this.proxyOf.nodes)e.parent=void 0;return this.proxyOf.nodes=[],this.markDirty(),this}removeChild(e){e=this.index(e),this.proxyOf.nodes[e].parent=void 0,this.proxyOf.nodes.splice(e,1);let s;for(let r in this.indexes)s=this.indexes[r],s>=e&&(this.indexes[r]=s-1);return this.markDirty(),this}replaceValues(e,s,r){return r||(r=s,s={}),this.walkDecls(n=>{s.props&&!s.props.includes(n.prop)||s.fast&&!n.value.includes(s.fast)||(n.value=n.value.replace(e,r))}),this.markDirty(),this}some(e){return this.nodes.some(e)}walk(e){return this.each((s,r)=>{let n;try{n=e(s,r)}catch(i){throw s.addToError(i)}return n!==!1&&s.walk&&(n=s.walk(e)),n})}walkAtRules(e,s){return s?e instanceof RegExp?this.walk((r,n)=>{if(r.type==="atrule"&&e.test(r.name))return s(r,n)}):this.walk((r,n)=>{if(r.type==="atrule"&&r.name===e)return s(r,n)}):(s=e,this.walk((r,n)=>{if(r.type==="atrule")return s(r,n)}))}walkComments(e){return this.walk((s,r)=>{if(s.type==="comment")return e(s,r)})}walkDecls(e,s){return s?e instanceof RegExp?this.walk((r,n)=>{if(r.type==="decl"&&e.test(r.prop))return s(r,n)}):this.walk((r,n)=>{if(r.type==="decl"&&r.prop===e)return s(r,n)}):(s=e,this.walk((r,n)=>{if(r.type==="decl")return s(r,n)}))}walkRules(e,s){return s?e instanceof RegExp?this.walk((r,n)=>{if(r.type==="rule"&&e.test(r.selector))return s(r,n)}):this.walk((r,n)=>{if(r.type==="rule"&&r.selector===e)return s(r,n)}):(s=e,this.walk((r,n)=>{if(r.type==="rule")return s(r,n)}))}get first(){if(this.proxyOf.nodes)return this.proxyOf.nodes[0]}get last(){if(this.proxyOf.nodes)return this.proxyOf.nodes[this.proxyOf.nodes.length-1]}};Y.registerParse=t=>{Ni=t};Y.registerRule=t=>{os=t};Y.registerAtRule=t=>{as=t};Y.registerRoot=t=>{Pi=t};qi.exports=Y;Y.default=Y;Y.rebuild=t=>{t.type==="atrule"?Object.setPrototypeOf(t,as.prototype):t.type==="rule"?Object.setPrototypeOf(t,os.prototype):t.type==="decl"?Object.setPrototypeOf(t,Ci.prototype):t.type==="comment"?Object.setPrototypeOf(t,Ai.prototype):t.type==="root"&&Object.setPrototypeOf(t,Pi.prototype),t[Oi]=!0,t.nodes&&t.nodes.forEach(e=>{Y.rebuild(e)})}});var Vt=y((pv,Di)=>{"use strict";var Yt=/[\t\n\f\r "#'()/;[\\\]{}]/g,zt=/[\t\n\f\r !"#'():;@[\\\]{}]|\/(?=\*)/g,gc=/.[\r\n"'(/\\]/,Li=/[\da-f]/i;Di.exports=function(e,s={}){let r=e.css.valueOf(),n=s.ignoreErrors,i,o,a,u,c,f,p,l,w,x,h=r.length,d=0,m=[],b=[];function g(){return d}function v($){throw e.error("Unclosed "+$,d)}function R(){return b.length===0&&d>=h}function F($){if(b.length)return b.pop();if(d>=h)return;let T=$?$.ignoreUnclosed:!1;switch(i=r.charCodeAt(d),i){case 10:case 32:case 9:case 13:case 12:{o=d;do o+=1,i=r.charCodeAt(o);while(i===32||i===10||i===9||i===13||i===12);x=["space",r.slice(d,o)],d=o-1;break}case 91:case 93:case 123:case 125:case 58:case 59:case 41:{let O=String.fromCharCode(i);x=[O,O,d];break}case 40:{if(l=m.length?m.pop()[1]:"",w=r.charCodeAt(d+1),l==="url"&&w!==39&&w!==34&&w!==32&&w!==10&&w!==9&&w!==12&&w!==13){o=d;do{if(f=!1,o=r.indexOf(")",o+1),o===-1)if(n||T){o=d;break}else v("bracket");for(p=o;r.charCodeAt(p-1)===92;)p-=1,f=!f}while(f);x=["brackets",r.slice(d,o+1),d,o],d=o}else o=r.indexOf(")",d+1),u=r.slice(d,o+1),o===-1||gc.test(u)?x=["(","(",d]:(x=["brackets",u,d,o],d=o);break}case 39:case 34:{a=i===39?"'":'"',o=d;do{if(f=!1,o=r.indexOf(a,o+1),o===-1)if(n||T){o=d+1;break}else v("string");for(p=o;r.charCodeAt(p-1)===92;)p-=1,f=!f}while(f);x=["string",r.slice(d,o+1),d,o],d=o;break}case 64:{Yt.lastIndex=d+1,Yt.test(r),Yt.lastIndex===0?o=r.length-1:o=Yt.lastIndex-2,x=["at-word",r.slice(d,o+1),d,o],d=o;break}case 92:{for(o=d,c=!0;r.charCodeAt(o+1)===92;)o+=1,c=!c;if(i=r.charCodeAt(o+1),c&&i!==47&&i!==32&&i!==10&&i!==9&&i!==13&&i!==12&&(o+=1,Li.test(r.charAt(o)))){for(;Li.test(r.charAt(o+1));)o+=1;r.charCodeAt(o+1)===32&&(o+=1)}x=["word",r.slice(d,o+1),d,o],d=o;break}default:{i===47&&r.charCodeAt(d+1)===42?(o=r.indexOf("*/",d+2)+1,o===0&&(n||T?o=r.length:v("comment")),x=["comment",r.slice(d,o+1),d,o],d=o):(zt.lastIndex=d+1,zt.test(r),zt.lastIndex===0?o=r.length-1:o=zt.lastIndex-2,x=["word",r.slice(d,o+1),d,o],m.push(x),d=o);break}}return d++,x}function H($){b.push($)}return{back:H,endOfFile:R,nextToken:F,position:g}}});var Gt=y((hv,Bi)=>{"use strict";var Mi=re(),Ce=class extends Mi{constructor(e){super(e),this.type="atrule"}append(...e){return this.proxyOf.nodes||(this.nodes=[]),super.append(...e)}prepend(...e){return this.proxyOf.nodes||(this.nodes=[]),super.prepend(...e)}};Bi.exports=Ce;Ce.default=Ce;Mi.registerAtRule(Ce)});var Ae=y((dv,Wi)=>{"use strict";var Ui=re(),Fi,$i,se=class extends Ui{constructor(e){super(e),this.type="root",this.nodes||(this.nodes=[])}normalize(e,s,r){let n=super.normalize(e);if(s){if(r==="prepend")this.nodes.length>1?s.raws.before=this.nodes[1].raws.before:delete s.raws.before;else if(this.first!==s)for(let i of n)i.raws.before=s.raws.before}return n}removeChild(e,s){let r=this.index(e);return!s&&r===0&&this.nodes.length>1&&(this.nodes[1].raws.before=this.nodes[r].raws.before),super.removeChild(e)}toResult(e={}){return new Fi(new $i,this,e).stringify()}};se.registerLazyResult=t=>{Fi=t};se.registerProcessor=t=>{$i=t};Wi.exports=se;se.default=se;Ui.registerRoot(se)});var us=y((mv,Yi)=>{"use strict";var ft={comma(t){return ft.split(t,[","],!0)},space(t){let e=[" ",` +`," "];return ft.split(t,e)},split(t,e,s){let r=[],n="",i=!1,o=0,a=!1,u="",c=!1;for(let f of t)c?c=!1:f==="\\"?c=!0:a?f===u&&(a=!1):f==='"'||f==="'"?(a=!0,u=f):f==="("?o+=1:f===")"?o>0&&(o-=1):o===0&&e.includes(f)&&(i=!0),i?(n!==""&&r.push(n.trim()),n="",i=!1):n+=f;return(s||n!=="")&&r.push(n.trim()),r}};Yi.exports=ft;ft.default=ft});var jt=y((yv,Vi)=>{"use strict";var zi=re(),vc=us(),Ne=class extends zi{constructor(e){super(e),this.type="rule",this.nodes||(this.nodes=[])}get selectors(){return vc.comma(this.selector)}set selectors(e){let s=this.selector?this.selector.match(/,\s*/):null,r=s?s[0]:","+this.raw("between","beforeOpen");this.selector=e.join(r)}};Vi.exports=Ne;Ne.default=Ne;zi.registerRule(Ne)});var Ht=y((wv,Hi)=>{"use strict";var xc=lt(),bc=Vt(),_c=Oe(),kc=Gt(),Ec=Ae(),Gi=jt(),ji={empty:!0,space:!0};function Sc(t){for(let e=t.length-1;e>=0;e--){let s=t[e],r=s[3]||s[2];if(r)return r}}var ls=class{constructor(e){this.input=e,this.root=new Ec,this.current=this.root,this.spaces="",this.semicolon=!1,this.createTokenizer(),this.root.source={input:e,start:{column:1,line:1,offset:0}}}atrule(e){let s=new kc;s.name=e[1].slice(1),s.name===""&&this.unnamedAtrule(s,e),this.init(s,e[2]);let r,n,i,o=!1,a=!1,u=[],c=[];for(;!this.tokenizer.endOfFile();){if(e=this.tokenizer.nextToken(),r=e[0],r==="("||r==="["?c.push(r==="("?")":"]"):r==="{"&&c.length>0?c.push("}"):r===c[c.length-1]&&c.pop(),c.length===0)if(r===";"){s.source.end=this.getPosition(e[2]),s.source.end.offset++,this.semicolon=!0;break}else if(r==="{"){a=!0;break}else if(r==="}"){if(u.length>0){for(i=u.length-1,n=u[i];n&&n[0]==="space";)n=u[--i];n&&(s.source.end=this.getPosition(n[3]||n[2]),s.source.end.offset++)}this.end(e);break}else u.push(e);else u.push(e);if(this.tokenizer.endOfFile()){o=!0;break}}s.raws.between=this.spacesAndCommentsFromEnd(u),u.length?(s.raws.afterName=this.spacesAndCommentsFromStart(u),this.raw(s,"params",u),o&&(e=u[u.length-1],s.source.end=this.getPosition(e[3]||e[2]),s.source.end.offset++,this.spaces=s.raws.between,s.raws.between="")):(s.raws.afterName="",s.params=""),a&&(s.nodes=[],this.current=s)}checkMissedSemicolon(e){let s=this.colon(e);if(s===!1)return;let r=0,n;for(let i=s-1;i>=0&&(n=e[i],!(n[0]!=="space"&&(r+=1,r===2)));i--);throw this.input.error("Missed semicolon",n[0]==="word"?n[3]+1:n[2])}colon(e){let s=0,r,n,i;for(let[o,a]of e.entries()){if(r=a,n=r[0],n==="("&&(s+=1),n===")"&&(s-=1),s===0&&n===":")if(!i)this.doubleColon(r);else{if(i[0]==="word"&&i[1]==="progid")continue;return o}i=r}return!1}comment(e){let s=new _c;this.init(s,e[2]),s.source.end=this.getPosition(e[3]||e[2]),s.source.end.offset++;let r=e[1].slice(2,-2);if(/^\s*$/.test(r))s.text="",s.raws.left=r,s.raws.right="";else{let n=r.match(/^(\s*)([^]*\S)(\s*)$/);s.text=n[2],s.raws.left=n[1],s.raws.right=n[3]}}createTokenizer(){this.tokenizer=bc(this.input)}decl(e,s){let r=new xc;this.init(r,e[0][2]);let n=e[e.length-1];for(n[0]===";"&&(this.semicolon=!0,e.pop()),r.source.end=this.getPosition(n[3]||n[2]||Sc(e)),r.source.end.offset++;e[0][0]!=="word";)e.length===1&&this.unknownWord(e),r.raws.before+=e.shift()[1];for(r.source.start=this.getPosition(e[0][2]),r.prop="";e.length;){let c=e[0][0];if(c===":"||c==="space"||c==="comment")break;r.prop+=e.shift()[1]}r.raws.between="";let i;for(;e.length;)if(i=e.shift(),i[0]===":"){r.raws.between+=i[1];break}else i[0]==="word"&&/\w/.test(i[1])&&this.unknownWord([i]),r.raws.between+=i[1];(r.prop[0]==="_"||r.prop[0]==="*")&&(r.raws.before+=r.prop[0],r.prop=r.prop.slice(1));let o=[],a;for(;e.length&&(a=e[0][0],!(a!=="space"&&a!=="comment"));)o.push(e.shift());this.precheckMissedSemicolon(e);for(let c=e.length-1;c>=0;c--){if(i=e[c],i[1].toLowerCase()==="!important"){r.important=!0;let f=this.stringFrom(e,c);f=this.spacesFromEnd(e)+f,f!==" !important"&&(r.raws.important=f);break}else if(i[1].toLowerCase()==="important"){let f=e.slice(0),p="";for(let l=c;l>0;l--){let w=f[l][0];if(p.trim().indexOf("!")===0&&w!=="space")break;p=f.pop()[1]+p}p.trim().indexOf("!")===0&&(r.important=!0,r.raws.important=p,e=f)}if(i[0]!=="space"&&i[0]!=="comment")break}e.some(c=>c[0]!=="space"&&c[0]!=="comment")&&(r.raws.between+=o.map(c=>c[1]).join(""),o=[]),this.raw(r,"value",o.concat(e),s),r.value.includes(":")&&!s&&this.checkMissedSemicolon(e)}doubleColon(e){throw this.input.error("Double colon",{offset:e[2]},{offset:e[2]+e[1].length})}emptyRule(e){let s=new Gi;this.init(s,e[2]),s.selector="",s.raws.between="",this.current=s}end(e){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=this.getPosition(e[2]),this.current.source.end.offset++,this.current=this.current.parent):this.unexpectedClose(e)}endFile(){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,this.root.source.end=this.getPosition(this.tokenizer.position())}freeSemicolon(e){if(this.spaces+=e[1],this.current.nodes){let s=this.current.nodes[this.current.nodes.length-1];s&&s.type==="rule"&&!s.raws.ownSemicolon&&(s.raws.ownSemicolon=this.spaces,this.spaces="")}}getPosition(e){let s=this.input.fromOffset(e);return{column:s.col,line:s.line,offset:e}}init(e,s){this.current.push(e),e.source={input:this.input,start:this.getPosition(s)},e.raws.before=this.spaces,this.spaces="",e.type!=="comment"&&(this.semicolon=!1)}other(e){let s=!1,r=null,n=!1,i=null,o=[],a=e[1].startsWith("--"),u=[],c=e;for(;c;){if(r=c[0],u.push(c),r==="("||r==="[")i||(i=c),o.push(r==="("?")":"]");else if(a&&n&&r==="{")i||(i=c),o.push("}");else if(o.length===0)if(r===";")if(n){this.decl(u,a);return}else break;else if(r==="{"){this.rule(u);return}else if(r==="}"){this.tokenizer.back(u.pop()),s=!0;break}else r===":"&&(n=!0);else r===o[o.length-1]&&(o.pop(),o.length===0&&(i=null));c=this.tokenizer.nextToken()}if(this.tokenizer.endOfFile()&&(s=!0),o.length>0&&this.unclosedBracket(i),s&&n){if(!a)for(;u.length&&(c=u[u.length-1][0],!(c!=="space"&&c!=="comment"));)this.tokenizer.back(u.pop());this.decl(u,a)}else this.unknownWord(u)}parse(){let e;for(;!this.tokenizer.endOfFile();)switch(e=this.tokenizer.nextToken(),e[0]){case"space":this.spaces+=e[1];break;case";":this.freeSemicolon(e);break;case"}":this.end(e);break;case"comment":this.comment(e);break;case"at-word":this.atrule(e);break;case"{":this.emptyRule(e);break;default:this.other(e);break}this.endFile()}precheckMissedSemicolon(){}raw(e,s,r,n){let i,o,a=r.length,u="",c=!0,f,p;for(let l=0;lw+x[1],"");e.raws[s]={raw:l,value:u}}e[s]=u}rule(e){e.pop();let s=new Gi;this.init(s,e[0][2]),s.raws.between=this.spacesAndCommentsFromEnd(e),this.raw(s,"selector",e),this.current=s}spacesAndCommentsFromEnd(e){let s,r="";for(;e.length&&(s=e[e.length-1][0],!(s!=="space"&&s!=="comment"));)r=e.pop()[1]+r;return r}spacesAndCommentsFromStart(e){let s,r="";for(;e.length&&(s=e[0][0],!(s!=="space"&&s!=="comment"));)r+=e.shift()[1];return r}spacesFromEnd(e){let s,r="";for(;e.length&&(s=e[e.length-1][0],s==="space");)r=e.pop()[1]+r;return r}stringFrom(e,s){let r="";for(let n=s;n{});var Ji=y((xv,Qi)=>{var Tc="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict",Oc=(t,e=21)=>(s=e)=>{let r="",n=s;for(;n--;)r+=t[Math.random()*t.length|0];return r},Cc=(t=21)=>{let e="",s=t;for(;s--;)e+=Tc[Math.random()*64|0];return e};Qi.exports={nanoid:Cc,customAlphabet:Oc}});var cs=y((bv,Xi)=>{Xi.exports=class{}});var Re=y((kv,ro)=>{"use strict";var{SourceMapConsumer:Ac,SourceMapGenerator:Nc}=Ki(),{fileURLToPath:Zi,pathToFileURL:Kt}={},{isAbsolute:hs,resolve:ds}={},{nanoid:Pc}=Ji(),fs=ss(),eo=Ft(),Rc=cs(),ps=Symbol("fromOffsetCache"),Ic=!!(Ac&&Nc),to=!!(ds&&hs),Pe=class{constructor(e,s={}){if(e===null||typeof e>"u"||typeof e=="object"&&!e.toString)throw new Error(`PostCSS received ${e} instead of CSS string`);if(this.css=e.toString(),this.css[0]==="\uFEFF"||this.css[0]==="\uFFFE"?(this.hasBOM=!0,this.css=this.css.slice(1)):this.hasBOM=!1,s.from&&(!to||/^\w+:\/\//.test(s.from)||hs(s.from)?this.file=s.from:this.file=ds(s.from)),to&&Ic){let r=new Rc(this.css,s);if(r.text){this.map=r;let n=r.consumer().file;!this.file&&n&&(this.file=this.mapResolve(n))}}this.file||(this.id=""),this.map&&(this.map.file=this.from)}error(e,s,r,n={}){let i,o,a;if(s&&typeof s=="object"){let c=s,f=r;if(typeof c.offset=="number"){let p=this.fromOffset(c.offset);s=p.line,r=p.col}else s=c.line,r=c.column;if(typeof f.offset=="number"){let p=this.fromOffset(f.offset);o=p.line,a=p.col}else o=f.line,a=f.column}else if(!r){let c=this.fromOffset(s);s=c.line,r=c.col}let u=this.origin(s,r,o,a);return u?i=new eo(e,u.endLine===void 0?u.line:{column:u.column,line:u.line},u.endLine===void 0?u.column:{column:u.endColumn,line:u.endLine},u.source,u.file,n.plugin):i=new eo(e,o===void 0?s:{column:r,line:s},o===void 0?r:{column:a,line:o},this.css,this.file,n.plugin),i.input={column:r,endColumn:a,endLine:o,line:s,source:this.css},this.file&&(Kt&&(i.input.url=Kt(this.file).toString()),i.input.file=this.file),i}fromOffset(e){let s,r;if(this[ps])r=this[ps];else{let i=this.css.split(` +`);r=new Array(i.length);let o=0;for(let a=0,u=i.length;a=s)n=r.length-1;else{let i=r.length-2,o;for(;n>1),e=r[o+1])n=o+1;else{n=o;break}}return{col:e-r[n]+1,line:n+1}}mapResolve(e){return/^\w+:\/\//.test(e)?e:ds(this.map.consumer().sourceRoot||this.map.root||".",e)}origin(e,s,r,n){if(!this.map)return!1;let i=this.map.consumer(),o=i.originalPositionFor({column:s,line:e});if(!o.source)return!1;let a;typeof r=="number"&&(a=i.originalPositionFor({column:n,line:r}));let u;hs(o.source)?u=Kt(o.source):u=new URL(o.source,this.map.consumer().sourceRoot||Kt(this.map.mapFile));let c={column:o.column,endColumn:a&&a.column,endLine:a&&a.line,line:o.line,url:u.toString()};if(u.protocol==="file:")if(Zi)c.file=Zi(u);else throw new Error("file: protocol is not available in this PostCSS build");let f=i.sourceContentFor(o.source);return f&&(c.source=f),c}toJSON(){let e={};for(let s of["hasBOM","css","file","id"])this[s]!=null&&(e[s]=this[s]);return this.map&&(e.map={...this.map},e.map.consumerCache&&(e.map.consumerCache=void 0)),e}get from(){return this.file||this.id}};ro.exports=Pe;Pe.default=Pe;fs&&fs.registerInput&&fs.registerInput(Pe)});var pt=y((Ev,so)=>{"use strict";var qc=re(),Lc=Ht(),Dc=Re();function Qt(t,e){let s=new Dc(t,e),r=new Lc(s);try{r.parse()}catch(n){throw n}return r.root}so.exports=Qt;Qt.default=Qt;qc.registerParse(Qt)});var no=y((Sv,ms)=>{var Mc=Vt(),Bc=Re();ms.exports={isInlineComment(t){if(t[0]==="word"&&t[1].slice(0,2)==="//"){let e=t,s=[],r,n;for(;t;){if(/\r?\n/.test(t[1])){if(/['"].*\r?\n/.test(t[1])){s.push(t[1].substring(0,t[1].indexOf(` +`))),n=t[1].substring(t[1].indexOf(` +`));let o=this.input.css.valueOf().substring(this.tokenizer.position());n+=o,r=t[3]+o.length-n.length}else this.tokenizer.back(t);break}s.push(t[1]),r=t[2],t=this.tokenizer.nextToken({ignoreUnclosed:!0})}let i=["comment",s.join(""),e[2],r];return this.inlineComment(i),n&&(this.input=new Bc(n),this.tokenizer=Mc(this.input)),!0}else if(t[1]==="/"){let e=this.tokenizer.nextToken({ignoreUnclosed:!0});if(e[0]==="comment"&&/^\/\*/.test(e[1]))return e[0]="word",e[1]=e[1].slice(1),t[1]="//",this.tokenizer.back(e),ms.exports.isInlineComment.bind(this)(t)}return!1}}});var oo=y((Tv,io)=>{io.exports={interpolation(t){let e=[t,this.tokenizer.nextToken()],s=["word","}"];if(e[0][1].length>1||e[1][0]!=="{")return this.tokenizer.back(e[1]),!1;for(t=this.tokenizer.nextToken();t&&s.includes(t[0]);)e.push(t),t=this.tokenizer.nextToken();let r=e.map(a=>a[1]),[n]=e,i=e.pop(),o=["word",r.join(""),n[2],i[2]];return this.tokenizer.back(t),this.tokenizer.back(o),!0}}});var uo=y((Ov,ao)=>{var Uc=/^#[0-9a-fA-F]{6}$|^#[0-9a-fA-F]{3}$/,Fc=/\.[0-9]/,$c=t=>{let[,e]=t,[s]=e;return(s==="."||s==="#")&&Uc.test(e)===!1&&Fc.test(e)===!1};ao.exports={isMixinToken:$c}});var co=y((Cv,lo)=>{var Wc=Vt(),Yc=/^url\((.+)\)/;lo.exports=t=>{let{name:e,params:s=""}=t;if(e==="import"&&s.length){t.import=!0;let r=Wc({css:s});for(t.filename=s.replace(Yc,"$1");!r.endOfFile();){let[n,i]=r.nextToken();if(n==="word"&&i==="url")return;if(n==="brackets"){t.options=i,t.filename=s.replace(i,"").trim();break}}}}});var mo=y((Av,ho)=>{var fo=/:$/,po=/^:(\s+)?/;ho.exports=t=>{let{name:e,params:s=""}=t;if(t.name.slice(-1)===":"){if(fo.test(e)){let[r]=e.match(fo);t.name=e.replace(r,""),t.raws.afterName=r+(t.raws.afterName||""),t.variable=!0,t.value=t.params}if(po.test(s)){let[r]=s.match(po);t.value=s.replace(r,""),t.raws.afterName=(t.raws.afterName||"")+r,t.variable=!0}}}});var go=y((Pv,wo)=>{var zc=Oe(),Vc=Ht(),{isInlineComment:Gc}=no(),{interpolation:yo}=oo(),{isMixinToken:jc}=uo(),Hc=co(),Kc=mo(),Qc=/(!\s*important)$/i;wo.exports=class extends Vc{constructor(...e){super(...e),this.lastNode=null}atrule(e){yo.bind(this)(e)||(super.atrule(e),Hc(this.lastNode),Kc(this.lastNode))}decl(...e){super.decl(...e),/extend\(.+\)/i.test(this.lastNode.value)&&(this.lastNode.extend=!0)}each(e){e[0][1]=` ${e[0][1]}`;let s=e.findIndex(a=>a[0]==="("),r=e.reverse().find(a=>a[0]===")"),n=e.reverse().indexOf(r),o=e.splice(s,n).map(a=>a[1]).join("");for(let a of e.reverse())this.tokenizer.back(a);this.atrule(this.tokenizer.nextToken()),this.lastNode.function=!0,this.lastNode.params=o}init(e,s,r){super.init(e,s,r),this.lastNode=e}inlineComment(e){let s=new zc,r=e[1].slice(2);if(this.init(s,e[2]),s.source.end=this.getPosition(e[3]||e[2]),s.inline=!0,s.raws.begin="//",/^\s*$/.test(r))s.text="",s.raws.left=r,s.raws.right="";else{let n=r.match(/^(\s*)([^]*[^\s])(\s*)$/);[,s.raws.left,s.text,s.raws.right]=n}}mixin(e){let[s]=e,r=s[1].slice(0,1),n=e.findIndex(c=>c[0]==="brackets"),i=e.findIndex(c=>c[0]==="("),o="";if((n<0||n>3)&&i>0){let c=e.reduce((g,v,R)=>v[0]===")"?R:g),p=e.slice(i,c+i).map(g=>g[1]).join(""),[l]=e.slice(i),w=[l[2],l[3]],[x]=e.slice(c,c+1),h=[x[2],x[3]],d=["brackets",p].concat(w,h),m=e.slice(0,i),b=e.slice(c+1);e=m,e.push(d),e=e.concat(b)}let a=[];for(let c of e)if((c[1]==="!"||a.length)&&a.push(c),c[1]==="important")break;if(a.length){let[c]=a,f=e.indexOf(c),p=a[a.length-1],l=[c[2],c[3]],w=[p[4],p[5]],h=["word",a.map(d=>d[1]).join("")].concat(l,w);e.splice(f,a.length,h)}let u=e.findIndex(c=>Qc.test(c[1]));u>0&&([,o]=e[u],e.splice(u,1));for(let c of e.reverse())this.tokenizer.back(c);this.atrule(this.tokenizer.nextToken()),this.lastNode.mixin=!0,this.lastNode.raws.identifier=r,o&&(this.lastNode.important=!0,this.lastNode.raws.important=o)}other(e){Gc.bind(this)(e)||super.other(e)}rule(e){let s=e[e.length-1],r=e[e.length-2];if(r[0]==="at-word"&&s[0]==="{"&&(this.tokenizer.back(s),yo.bind(this)(r))){let i=this.tokenizer.nextToken();e=e.slice(0,e.length-2).concat([i]);for(let o of e.reverse())this.tokenizer.back(o);return}super.rule(e),/:extend\(.+\)/i.test(this.lastNode.selector)&&(this.lastNode.extend=!0)}unknownWord(e){let[s]=e;if(e[0][1]==="each"&&e[1][0]==="("){this.each(e);return}if(jc(s)){this.mixin(e);return}super.unknownWord(e)}}});var xo=y((Iv,vo)=>{var Jc=$t();vo.exports=class extends Jc{atrule(e,s){if(!e.mixin&&!e.variable&&!e.function){super.atrule(e,s);return}let n=`${e.function?"":e.raws.identifier||"@"}${e.name}`,i=e.params?this.rawValue(e,"params"):"",o=e.raws.important||"";if(e.variable&&(i=e.value),typeof e.raws.afterName<"u"?n+=e.raws.afterName:i&&(n+=" "),e.nodes)this.block(e,n+i+o);else{let a=(e.raws.between||"")+o+(s?";":"");this.builder(n+i+a,e)}}comment(e){if(e.inline){let s=this.raw(e,"left","commentLeft"),r=this.raw(e,"right","commentRight");this.builder(`//${s}${e.text}${r}`,e)}else super.comment(e)}}});var bo=y((qv,ys)=>{var Xc=Re(),Zc=go(),ef=xo();ys.exports={parse(t,e){let s=new Xc(t,e),r=new Zc(s);return r.parse(),r.root.walk(n=>{let i=s.css.lastIndexOf(n.source.input.css);if(i===0)return;if(i+n.source.input.css.length!==s.css.length)throw new Error("Invalid state detected in postcss-less");let o=i+n.source.start.offset,a=s.fromOffset(i+n.source.start.offset);if(n.source.start={offset:o,line:a.line,column:a.col},n.source.end){let u=i+n.source.end.offset,c=s.fromOffset(i+n.source.end.offset);n.source.end={offset:u,line:c.line,column:c.col}}}),r.root},stringify(t,e){new ef(e).stringify(t)},nodeToString(t){let e="";return ys.exports.stringify(t,s=>{e+=s}),e}}});var ws=y((Lv,_o)=>{_o.exports=class{generate(){}}});var Jt=y((Mv,So)=>{"use strict";var tf=re(),ko,Eo,pe=class extends tf{constructor(e){super({type:"document",...e}),this.nodes||(this.nodes=[])}toResult(e={}){return new ko(new Eo,this,e).stringify()}};pe.registerLazyResult=t=>{ko=t};pe.registerProcessor=t=>{Eo=t};So.exports=pe;pe.default=pe});var gs=y((Bv,Oo)=>{"use strict";var To={};Oo.exports=function(e){To[e]||(To[e]=!0,typeof console<"u"&&console.warn&&console.warn(e))}});var vs=y((Uv,Co)=>{"use strict";var ht=class{constructor(e,s={}){if(this.type="warning",this.text=e,s.node&&s.node.source){let r=s.node.rangeBy(s);this.line=r.start.line,this.column=r.start.column,this.endLine=r.end.line,this.endColumn=r.end.column}for(let r in s)this[r]=s[r]}toString(){return this.node?this.node.error(this.text,{index:this.index,plugin:this.plugin,word:this.word}).message:this.plugin?this.plugin+": "+this.text:this.text}};Co.exports=ht;ht.default=ht});var Xt=y((Fv,Ao)=>{"use strict";var rf=vs(),dt=class{constructor(e,s,r){this.processor=e,this.messages=[],this.root=s,this.opts=r,this.css=void 0,this.map=void 0}toString(){return this.css}warn(e,s={}){s.plugin||this.lastPlugin&&this.lastPlugin.postcssPlugin&&(s.plugin=this.lastPlugin.postcssPlugin);let r=new rf(e,s);return this.messages.push(r),r}warnings(){return this.messages.filter(e=>e.type==="warning")}get content(){return this.css}};Ao.exports=dt;dt.default=dt});var _s=y((Wv,Io)=>{"use strict";var{isClean:j,my:sf}=Ut(),nf=ws(),of=it(),af=re(),uf=Jt(),$v=gs(),No=Xt(),lf=pt(),cf=Ae(),ff={atrule:"AtRule",comment:"Comment",decl:"Declaration",document:"Document",root:"Root",rule:"Rule"},pf={AtRule:!0,AtRuleExit:!0,Comment:!0,CommentExit:!0,Declaration:!0,DeclarationExit:!0,Document:!0,DocumentExit:!0,Once:!0,OnceExit:!0,postcssPlugin:!0,prepare:!0,Root:!0,RootExit:!0,Rule:!0,RuleExit:!0},hf={Once:!0,postcssPlugin:!0,prepare:!0},Ie=0;function mt(t){return typeof t=="object"&&typeof t.then=="function"}function Ro(t){let e=!1,s=ff[t.type];return t.type==="decl"?e=t.prop.toLowerCase():t.type==="atrule"&&(e=t.name.toLowerCase()),e&&t.append?[s,s+"-"+e,Ie,s+"Exit",s+"Exit-"+e]:e?[s,s+"-"+e,s+"Exit",s+"Exit-"+e]:t.append?[s,Ie,s+"Exit"]:[s,s+"Exit"]}function Po(t){let e;return t.type==="document"?e=["Document",Ie,"DocumentExit"]:t.type==="root"?e=["Root",Ie,"RootExit"]:e=Ro(t),{eventIndex:0,events:e,iterator:0,node:t,visitorIndex:0,visitors:[]}}function xs(t){return t[j]=!1,t.nodes&&t.nodes.forEach(e=>xs(e)),t}var bs={},ne=class t{constructor(e,s,r){this.stringified=!1,this.processed=!1;let n;if(typeof s=="object"&&s!==null&&(s.type==="root"||s.type==="document"))n=xs(s);else if(s instanceof t||s instanceof No)n=xs(s.root),s.map&&(typeof r.map>"u"&&(r.map={}),r.map.inline||(r.map.inline=!1),r.map.prev=s.map);else{let i=lf;r.syntax&&(i=r.syntax.parse),r.parser&&(i=r.parser),i.parse&&(i=i.parse);try{n=i(s,r)}catch(o){this.processed=!0,this.error=o}n&&!n[sf]&&af.rebuild(n)}this.result=new No(e,n,r),this.helpers={...bs,postcss:bs,result:this.result},this.plugins=this.processor.plugins.map(i=>typeof i=="object"&&i.prepare?{...i,...i.prepare(this.result)}:i)}async(){return this.error?Promise.reject(this.error):this.processed?Promise.resolve(this.result):(this.processing||(this.processing=this.runAsync()),this.processing)}catch(e){return this.async().catch(e)}finally(e){return this.async().then(e,e)}getAsyncError(){throw new Error("Use process(css).then(cb) to work with async plugins")}handleError(e,s){let r=this.result.lastPlugin;try{s&&s.addToError(e),this.error=e,e.name==="CssSyntaxError"&&!e.plugin?(e.plugin=r.postcssPlugin,e.setMessage()):r.postcssVersion}catch(n){console&&console.error&&console.error(n)}return e}prepareVisitors(){this.listeners={};let e=(s,r,n)=>{this.listeners[r]||(this.listeners[r]=[]),this.listeners[r].push([s,n])};for(let s of this.plugins)if(typeof s=="object")for(let r in s){if(!pf[r]&&/^[A-Z]/.test(r))throw new Error(`Unknown event ${r} in ${s.postcssPlugin}. Try to update PostCSS (${this.processor.version} now).`);if(!hf[r])if(typeof s[r]=="object")for(let n in s[r])n==="*"?e(s,r,s[r][n]):e(s,r+"-"+n.toLowerCase(),s[r][n]);else typeof s[r]=="function"&&e(s,r,s[r])}this.hasListener=Object.keys(this.listeners).length>0}async runAsync(){this.plugin=0;for(let e=0;e0;){let r=this.visitTick(s);if(mt(r))try{await r}catch(n){let i=s[s.length-1].node;throw this.handleError(n,i)}}}if(this.listeners.OnceExit)for(let[s,r]of this.listeners.OnceExit){this.result.lastPlugin=s;try{if(e.type==="document"){let n=e.nodes.map(i=>r(i,this.helpers));await Promise.all(n)}else await r(e,this.helpers)}catch(n){throw this.handleError(n)}}}return this.processed=!0,this.stringify()}runOnRoot(e){this.result.lastPlugin=e;try{if(typeof e=="object"&&e.Once){if(this.result.root.type==="document"){let s=this.result.root.nodes.map(r=>e.Once(r,this.helpers));return mt(s[0])?Promise.all(s):s}return e.Once(this.result.root,this.helpers)}else if(typeof e=="function")return e(this.result.root,this.result)}catch(s){throw this.handleError(s)}}stringify(){if(this.error)throw this.error;if(this.stringified)return this.result;this.stringified=!0,this.sync();let e=this.result.opts,s=of;e.syntax&&(s=e.syntax.stringify),e.stringifier&&(s=e.stringifier),s.stringify&&(s=s.stringify);let n=new nf(s,this.result.root,this.result.opts).generate();return this.result.css=n[0],this.result.map=n[1],this.result}sync(){if(this.error)throw this.error;if(this.processed)return this.result;if(this.processed=!0,this.processing)throw this.getAsyncError();for(let e of this.plugins){let s=this.runOnRoot(e);if(mt(s))throw this.getAsyncError()}if(this.prepareVisitors(),this.hasListener){let e=this.result.root;for(;!e[j];)e[j]=!0,this.walkSync(e);if(this.listeners.OnceExit)if(e.type==="document")for(let s of e.nodes)this.visitSync(this.listeners.OnceExit,s);else this.visitSync(this.listeners.OnceExit,e)}return this.result}then(e,s){return this.async().then(e,s)}toString(){return this.css}visitSync(e,s){for(let[r,n]of e){this.result.lastPlugin=r;let i;try{i=n(s,this.helpers)}catch(o){throw this.handleError(o,s.proxyOf)}if(s.type!=="root"&&s.type!=="document"&&!s.parent)return!0;if(mt(i))throw this.getAsyncError()}}visitTick(e){let s=e[e.length-1],{node:r,visitors:n}=s;if(r.type!=="root"&&r.type!=="document"&&!r.parent){e.pop();return}if(n.length>0&&s.visitorIndex{n[j]||this.walkSync(n)});else{let n=this.listeners[r];if(n&&this.visitSync(n,e.toProxy()))return}}warnings(){return this.sync().warnings()}get content(){return this.stringify().content}get css(){return this.stringify().css}get map(){return this.stringify().map}get messages(){return this.sync().messages}get opts(){return this.result.opts}get processor(){return this.result.processor}get root(){return this.sync().root}get[Symbol.toStringTag](){return"LazyResult"}};ne.registerPostcss=t=>{bs=t};Io.exports=ne;ne.default=ne;cf.registerLazyResult(ne);uf.registerLazyResult(ne)});var Lo=y((zv,qo)=>{"use strict";var df=ws(),mf=it(),Yv=gs(),yf=pt(),wf=Xt(),yt=class{constructor(e,s,r){s=s.toString(),this.stringified=!1,this._processor=e,this._css=s,this._opts=r,this._map=void 0;let n,i=mf;this.result=new wf(this._processor,n,this._opts),this.result.css=s;let o=this;Object.defineProperty(this.result,"root",{get(){return o.root}});let a=new df(i,n,this._opts,s);if(a.isMap()){let[u,c]=a.generate();u&&(this.result.css=u),c&&(this.result.map=c)}else a.clearAnnotation(),this.result.css=a.css}async(){return this.error?Promise.reject(this.error):Promise.resolve(this.result)}catch(e){return this.async().catch(e)}finally(e){return this.async().then(e,e)}sync(){if(this.error)throw this.error;return this.result}then(e,s){return this.async().then(e,s)}toString(){return this._css}warnings(){return[]}get content(){return this.result.css}get css(){return this.result.css}get map(){return this.result.map}get messages(){return[]}get opts(){return this.result.opts}get processor(){return this.result.processor}get root(){if(this._root)return this._root;let e,s=yf;try{e=s(this._css,this._opts)}catch(r){this.error=r}if(this.error)throw this.error;return this._root=e,e}get[Symbol.toStringTag](){return"NoWorkResult"}};qo.exports=yt;yt.default=yt});var Mo=y((Vv,Do)=>{"use strict";var gf=Lo(),vf=_s(),xf=Jt(),bf=Ae(),he=class{constructor(e=[]){this.version="8.4.39",this.plugins=this.normalize(e)}normalize(e){let s=[];for(let r of e)if(r.postcss===!0?r=r():r.postcss&&(r=r.postcss),typeof r=="object"&&Array.isArray(r.plugins))s=s.concat(r.plugins);else if(typeof r=="object"&&r.postcssPlugin)s.push(r);else if(typeof r=="function")s.push(r);else if(!(typeof r=="object"&&(r.parse||r.stringify)))throw new Error(r+" is not a PostCSS plugin");return s}process(e,s={}){return!this.plugins.length&&!s.parser&&!s.stringifier&&!s.syntax?new gf(this,e,s):new vf(this,e,s)}use(e){return this.plugins=this.plugins.concat(this.normalize([e])),this}};Do.exports=he;he.default=he;bf.registerProcessor(he);xf.registerProcessor(he)});var Uo=y((Gv,Bo)=>{"use strict";var _f=lt(),kf=cs(),Ef=Oe(),Sf=Gt(),Tf=Re(),Of=Ae(),Cf=jt();function wt(t,e){if(Array.isArray(t))return t.map(n=>wt(n));let{inputs:s,...r}=t;if(s){e=[];for(let n of s){let i={...n,__proto__:Tf.prototype};i.map&&(i.map={...i.map,__proto__:kf.prototype}),e.push(i)}}if(r.nodes&&(r.nodes=t.nodes.map(n=>wt(n,e))),r.source){let{inputId:n,...i}=r.source;r.source=i,n!=null&&(r.source.input=e[n])}if(r.type==="root")return new Of(r);if(r.type==="decl")return new _f(r);if(r.type==="rule")return new Cf(r);if(r.type==="comment")return new Ef(r);if(r.type==="atrule")return new Sf(r);throw new Error("Unknown node type: "+t.type)}Bo.exports=wt;wt.default=wt});var Zt=y((jv,Go)=>{"use strict";var Af=Ft(),Fo=lt(),Nf=_s(),Pf=re(),ks=Mo(),Rf=it(),If=Uo(),$o=Jt(),qf=vs(),Wo=Oe(),Yo=Gt(),Lf=Xt(),Df=Re(),Mf=pt(),Bf=us(),zo=jt(),Vo=Ae(),Uf=at();function k(...t){return t.length===1&&Array.isArray(t[0])&&(t=t[0]),new ks(t)}k.plugin=function(e,s){let r=!1;function n(...o){console&&console.warn&&!r&&(r=!0,console.warn(e+`: postcss.plugin was deprecated. Migration guide: +https://evilmartians.com/chronicles/postcss-8-plugin-migration`));let a=s(...o);return a.postcssPlugin=e,a.postcssVersion=new ks().version,a}let i;return Object.defineProperty(n,"postcss",{get(){return i||(i=n()),i}}),n.process=function(o,a,u){return k([n(u)]).process(o,a)},n};k.stringify=Rf;k.parse=Mf;k.fromJSON=If;k.list=Bf;k.comment=t=>new Wo(t);k.atRule=t=>new Yo(t);k.decl=t=>new Fo(t);k.rule=t=>new zo(t);k.root=t=>new Vo(t);k.document=t=>new $o(t);k.CssSyntaxError=Af;k.Declaration=Fo;k.Container=Pf;k.Processor=ks;k.Document=$o;k.Comment=Wo;k.Warning=qf;k.AtRule=Yo;k.Result=Lf;k.Input=Df;k.Rule=zo;k.Root=Vo;k.Node=Uf;Nf.registerPostcss(k);Go.exports=k;k.default=k});var Ho=y((Hv,jo)=>{var{Container:Ff}=Zt(),Es=class extends Ff{constructor(e){super(e),this.type="decl",this.isNested=!0,this.nodes||(this.nodes=[])}};jo.exports=Es});var Jo=y((Kv,Qo)=>{"use strict";var er=/[\t\n\f\r "#'()/;[\\\]{}]/g,tr=/[,\t\n\f\r !"#'():;@[\\\]{}]|\/(?=\*)/g,$f=/.[\r\n"'(/\\]/,Ko=/[\da-f]/i,rr=/[\n\f\r]/g;Qo.exports=function(e,s={}){let r=e.css.valueOf(),n=s.ignoreErrors,i,o,a,u,c,f,p,l,w,x=r.length,h=0,d=[],m=[],b;function g(){return h}function v(T){throw e.error("Unclosed "+T,h)}function R(){return m.length===0&&h>=x}function F(){let T=1,O=!1,C=!1;for(;T>0;)o+=1,r.length<=o&&v("interpolation"),i=r.charCodeAt(o),l=r.charCodeAt(o+1),O?!C&&i===O?(O=!1,C=!1):i===92?C=!C:C&&(C=!1):i===39||i===34?O=i:i===125?T-=1:i===35&&l===123&&(T+=1)}function H(T){if(m.length)return m.pop();if(h>=x)return;let O=T?T.ignoreUnclosed:!1;switch(i=r.charCodeAt(h),i){case 10:case 32:case 9:case 13:case 12:{o=h;do o+=1,i=r.charCodeAt(o);while(i===32||i===10||i===9||i===13||i===12);w=["space",r.slice(h,o)],h=o-1;break}case 91:case 93:case 123:case 125:case 58:case 59:case 41:{let C=String.fromCharCode(i);w=[C,C,h];break}case 44:{w=["word",",",h,h+1];break}case 40:{if(p=d.length?d.pop()[1]:"",l=r.charCodeAt(h+1),p==="url"&&l!==39&&l!==34){for(b=1,f=!1,o=h+1;o<=r.length-1;){if(l=r.charCodeAt(o),l===92)f=!f;else if(l===40)b+=1;else if(l===41&&(b-=1,b===0))break;o+=1}u=r.slice(h,o+1),w=["brackets",u,h,o],h=o}else o=r.indexOf(")",h+1),u=r.slice(h,o+1),o===-1||$f.test(u)?w=["(","(",h]:(w=["brackets",u,h,o],h=o);break}case 39:case 34:{for(a=i,o=h,f=!1;o{var{Comment:Wf}=Zt(),Yf=Ht(),zf=Ho(),Vf=Jo(),Ss=class extends Yf{atrule(e){let s=e[1],r=e;for(;!this.tokenizer.endOfFile();){let n=this.tokenizer.nextToken();if(n[0]==="word"&&n[2]===r[3]+1)s+=n[1],r=n;else{this.tokenizer.back(n);break}}super.atrule(["at-word",s,e[2],r[3]])}comment(e){if(e[4]==="inline"){let s=new Wf;this.init(s,e[2]),s.raws.inline=!0;let r=this.input.fromOffset(e[3]);s.source.end={column:r.col,line:r.line,offset:e[3]+1};let n=e[1].slice(2);if(/^\s*$/.test(n))s.text="",s.raws.left=n,s.raws.right="";else{let i=n.match(/^(\s*)([^]*\S)(\s*)$/),o=i[2].replace(/(\*\/|\/\*)/g,"*//*");s.text=o,s.raws.left=i[1],s.raws.right=i[3],s.raws.text=i[2]}}else super.comment(e)}createTokenizer(){this.tokenizer=Vf(this.input)}raw(e,s,r,n){if(super.raw(e,s,r,n),e.raws[s]){let i=e.raws[s].raw;e.raws[s].raw=r.reduce((o,a)=>{if(a[0]==="comment"&&a[4]==="inline"){let u=a[1].slice(2).replace(/(\*\/|\/\*)/g,"*//*");return o+"/*"+u+"*/"}else return o+a[1]},""),i!==e.raws[s].raw&&(e.raws[s].scss=i)}}rule(e){let s=!1,r=0,n="";for(let i of e)if(s)i[0]!=="comment"&&i[0]!=="{"&&(n+=i[1]);else{if(i[0]==="space"&&i[1].includes(` +`))break;i[0]==="("?r+=1:i[0]===")"?r-=1:r===0&&i[0]===":"&&(s=!0)}if(!s||n.trim()===""||/^[#:A-Za-z-]/.test(n))super.rule(e);else{e.pop();let i=new zf;this.init(i,e[0][2]);let o;for(let u=e.length-1;u>=0;u--)if(e[u][0]!=="space"){o=e[u];break}if(o[3]){let u=this.input.fromOffset(o[3]);i.source.end={column:u.col,line:u.line,offset:o[3]+1}}else{let u=this.input.fromOffset(o[2]);i.source.end={column:u.col,line:u.line,offset:o[2]+1}}for(;e[0][0]!=="word";)i.raws.before+=e.shift()[1];if(e[0][2]){let u=this.input.fromOffset(e[0][2]);i.source.start={column:u.col,line:u.line,offset:e[0][2]}}for(i.prop="";e.length;){let u=e[0][0];if(u===":"||u==="space"||u==="comment")break;i.prop+=e.shift()[1]}i.raws.between="";let a;for(;e.length;)if(a=e.shift(),a[0]===":"){i.raws.between+=a[1];break}else i.raws.between+=a[1];(i.prop[0]==="_"||i.prop[0]==="*")&&(i.raws.before+=i.prop[0],i.prop=i.prop.slice(1)),i.raws.between+=this.spacesAndCommentsFromStart(e),this.precheckMissedSemicolon(e);for(let u=e.length-1;u>0;u--){if(a=e[u],a[1]==="!important"){i.important=!0;let c=this.stringFrom(e,u);c=this.spacesFromEnd(e)+c,c!==" !important"&&(i.raws.important=c);break}else if(a[1]==="important"){let c=e.slice(0),f="";for(let p=u;p>0;p--){let l=c[p][0];if(f.trim().indexOf("!")===0&&l!=="space")break;f=c.pop()[1]+f}f.trim().indexOf("!")===0&&(i.important=!0,i.raws.important=f,e=c)}if(a[0]!=="space"&&a[0]!=="comment")break}this.raw(i,"value",e),i.value.includes(":")&&this.checkMissedSemicolon(e),this.current=i}}};Xo.exports=Ss});var ta=y((Jv,ea)=>{var{Input:Gf}=Zt(),jf=Zo();ea.exports=function(e,s){let r=new Gf(e,s),n=new jf(r);return n.parse(),n.root}});var Os=y(Ts=>{"use strict";Object.defineProperty(Ts,"__esModule",{value:!0});function Kf(t){this.after=t.after,this.before=t.before,this.type=t.type,this.value=t.value,this.sourceIndex=t.sourceIndex}Ts.default=Kf});var As=y(Cs=>{"use strict";Object.defineProperty(Cs,"__esModule",{value:!0});var Qf=Os(),sa=Jf(Qf);function Jf(t){return t&&t.__esModule?t:{default:t}}function gt(t){var e=this;this.constructor(t),this.nodes=t.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(s){s.parent=e})}gt.prototype=Object.create(sa.default.prototype);gt.constructor=sa.default;gt.prototype.walk=function(e,s){for(var r=typeof e=="string"||e instanceof RegExp,n=r?s:e,i=typeof e=="string"?new RegExp(e):e,o=0;o{"use strict";Object.defineProperty(vt,"__esModule",{value:!0});vt.parseMediaFeature=oa;vt.parseMediaQuery=Ps;vt.parseMediaList=ep;var Xf=Os(),na=ia(Xf),Zf=As(),Ns=ia(Zf);function ia(t){return t&&t.__esModule?t:{default:t}}function oa(t){var e=arguments.length<=1||arguments[1]===void 0?0:arguments[1],s=[{mode:"normal",character:null}],r=[],n=0,i="",o=null,a=null,u=e,c=t;t[0]==="("&&t[t.length-1]===")"&&(c=t.substring(1,t.length-1),u++);for(var f=0;f0&&(s[c-1].after=i.before),i.type===void 0){if(c>0){if(s[c-1].type==="media-feature-expression"){i.type="keyword";continue}if(s[c-1].value==="not"||s[c-1].value==="only"){i.type="media-type";continue}if(s[c-1].value==="and"){i.type="media-feature-expression";continue}s[c-1].type==="media-type"&&(s[c+1]?i.type=s[c+1].type==="media-feature-expression"?"keyword":"media-feature-expression":i.type="media-feature-expression")}if(c===0){if(!s[c+1]){i.type="media-type";continue}if(s[c+1]&&(s[c+1].type==="media-feature-expression"||s[c+1].type==="keyword")){i.type="media-type";continue}if(s[c+2]){if(s[c+2].type==="media-feature-expression"){i.type="media-type",s[c+1].type="keyword";continue}if(s[c+2].type==="keyword"){i.type="keyword",s[c+1].type="media-type";continue}}if(s[c+3]&&s[c+3].type==="media-feature-expression"){i.type="keyword",s[c+1].type="media-type",s[c+2].type="keyword";continue}}}return s}function ep(t){var e=[],s=0,r=0,n=/^(\s*)url\s*\(/.exec(t);if(n!==null){for(var i=n[0].length,o=1;o>0;){var a=t[i];a==="("&&o++,a===")"&&o--,i++}e.unshift(new na.default({type:"url",value:t.substring(0,i).trim(),sourceIndex:n[1].length,before:n[1],after:/^(\s*)/.exec(t.substring(i))[1]})),s=i}for(var u=s;u{"use strict";Object.defineProperty(Rs,"__esModule",{value:!0});Rs.default=ip;var tp=As(),rp=np(tp),sp=aa();function np(t){return t&&t.__esModule?t:{default:t}}function ip(t){return new rp.default({nodes:(0,sp.parseMediaList)(t),type:"media-query-list",value:t.trim()})}});var qs=y((ox,fa)=>{fa.exports=function(e,s){if(s=typeof s=="number"?s:1/0,!s)return Array.isArray(e)?e.map(function(n){return n}):e;return r(e,1);function r(n,i){return n.reduce(function(o,a){return Array.isArray(a)&&i{pa.exports=function(t,e){for(var s=-1,r=[];(s=t.indexOf(e,s+1))!==-1;)r.push(s);return r}});var Ds=y((ux,ha)=>{"use strict";function up(t,e){for(var s=1,r=t.length,n=t[0],i=t[0],o=1;o{"use strict";sr.__esModule=!0;var da=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t};function fp(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}var pp=function t(e,s){if((typeof e>"u"?"undefined":da(e))!=="object")return e;var r=new e.constructor;for(var n in e)if(e.hasOwnProperty(n)){var i=e[n],o=typeof i>"u"?"undefined":da(i);n==="parent"&&o==="object"?s&&(r[n]=s):i instanceof Array?r[n]=i.map(function(a){return t(a,r)}):r[n]=t(i,r)}return r},hp=function(){function t(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};fp(this,t);for(var s in e)this[s]=e[s];var r=e.spaces;r=r===void 0?{}:r;var n=r.before,i=n===void 0?"":n,o=r.after,a=o===void 0?"":o;this.spaces={before:i,after:a}}return t.prototype.remove=function(){return this.parent&&this.parent.removeChild(this),this.parent=void 0,this},t.prototype.replaceWith=function(){if(this.parent){for(var s in arguments)this.parent.insertBefore(this,arguments[s]);this.remove()}return this},t.prototype.next=function(){return this.parent.at(this.parent.index(this)+1)},t.prototype.prev=function(){return this.parent.at(this.parent.index(this)-1)},t.prototype.clone=function(){var s=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},r=pp(this);for(var n in s)r[n]=s[n];return r},t.prototype.toString=function(){return[this.spaces.before,String(this.value),this.spaces.after].join("")},t}();sr.default=hp;ma.exports=sr.default});var D=y(B=>{"use strict";B.__esModule=!0;var lx=B.TAG="tag",cx=B.STRING="string",fx=B.SELECTOR="selector",px=B.ROOT="root",hx=B.PSEUDO="pseudo",dx=B.NESTING="nesting",mx=B.ID="id",yx=B.COMMENT="comment",wx=B.COMBINATOR="combinator",gx=B.CLASS="class",vx=B.ATTRIBUTE="attribute",xx=B.UNIVERSAL="universal"});var ir=y((nr,ya)=>{"use strict";nr.__esModule=!0;var dp=function(){function t(e,s){for(var r=0;r=r&&(this.indexes[i]=n-1);return this},e.prototype.removeAll=function(){for(var i=this.nodes,r=Array.isArray(i),n=0,i=r?i:i[Symbol.iterator]();;){var o;if(r){if(n>=i.length)break;o=i[n++]}else{if(n=i.next(),n.done)break;o=n.value}var a=o;a.parent=void 0}return this.nodes=[],this},e.prototype.empty=function(){return this.removeAll()},e.prototype.insertAfter=function(r,n){var i=this.index(r);this.nodes.splice(i+1,0,n);var o=void 0;for(var a in this.indexes)o=this.indexes[a],i<=o&&(this.indexes[a]=o+this.nodes.length);return this},e.prototype.insertBefore=function(r,n){var i=this.index(r);this.nodes.splice(i,0,n);var o=void 0;for(var a in this.indexes)o=this.indexes[a],i<=o&&(this.indexes[a]=o+this.nodes.length);return this},e.prototype.each=function(r){this.lastEach||(this.lastEach=0),this.indexes||(this.indexes={}),this.lastEach++;var n=this.lastEach;if(this.indexes[n]=0,!!this.length){for(var i=void 0,o=void 0;this.indexes[n]{"use strict";or.__esModule=!0;var Ep=ir(),Sp=Op(Ep),Tp=D();function Op(t){return t&&t.__esModule?t:{default:t}}function Cp(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Ap(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:t}function Np(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var Pp=function(t){Np(e,t);function e(s){Cp(this,e);var r=Ap(this,t.call(this,s));return r.type=Tp.ROOT,r}return e.prototype.toString=function(){var r=this.reduce(function(n,i){var o=String(i);return o?n+o+",":""},"").slice(0,-1);return this.trailingComma?r+",":r},e}(Sp.default);or.default=Pp;wa.exports=or.default});var xa=y((ar,va)=>{"use strict";ar.__esModule=!0;var Rp=ir(),Ip=Lp(Rp),qp=D();function Lp(t){return t&&t.__esModule?t:{default:t}}function Dp(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Mp(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:t}function Bp(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var Up=function(t){Bp(e,t);function e(s){Dp(this,e);var r=Mp(this,t.call(this,s));return r.type=qp.SELECTOR,r}return e}(Ip.default);ar.default=Up;va.exports=ar.default});var qe=y((ur,ba)=>{"use strict";ur.__esModule=!0;var Fp=function(){function t(e,s){for(var r=0;r{"use strict";lr.__esModule=!0;var Hp=qe(),Kp=Jp(Hp),Qp=D();function Jp(t){return t&&t.__esModule?t:{default:t}}function Xp(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Zp(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:t}function eh(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var th=function(t){eh(e,t);function e(s){Xp(this,e);var r=Zp(this,t.call(this,s));return r.type=Qp.CLASS,r}return e.prototype.toString=function(){return[this.spaces.before,this.ns,"."+this.value,this.spaces.after].join("")},e}(Kp.default);lr.default=th;_a.exports=lr.default});var Sa=y((cr,Ea)=>{"use strict";cr.__esModule=!0;var rh=de(),sh=ih(rh),nh=D();function ih(t){return t&&t.__esModule?t:{default:t}}function oh(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function ah(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:t}function uh(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var lh=function(t){uh(e,t);function e(s){oh(this,e);var r=ah(this,t.call(this,s));return r.type=nh.COMMENT,r}return e}(sh.default);cr.default=lh;Ea.exports=cr.default});var Oa=y((fr,Ta)=>{"use strict";fr.__esModule=!0;var ch=qe(),fh=hh(ch),ph=D();function hh(t){return t&&t.__esModule?t:{default:t}}function dh(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function mh(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:t}function yh(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var wh=function(t){yh(e,t);function e(s){dh(this,e);var r=mh(this,t.call(this,s));return r.type=ph.ID,r}return e.prototype.toString=function(){return[this.spaces.before,this.ns,"#"+this.value,this.spaces.after].join("")},e}(fh.default);fr.default=wh;Ta.exports=fr.default});var Aa=y((pr,Ca)=>{"use strict";pr.__esModule=!0;var gh=qe(),vh=bh(gh),xh=D();function bh(t){return t&&t.__esModule?t:{default:t}}function _h(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function kh(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:t}function Eh(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var Sh=function(t){Eh(e,t);function e(s){_h(this,e);var r=kh(this,t.call(this,s));return r.type=xh.TAG,r}return e}(vh.default);pr.default=Sh;Ca.exports=pr.default});var Pa=y((hr,Na)=>{"use strict";hr.__esModule=!0;var Th=de(),Oh=Ah(Th),Ch=D();function Ah(t){return t&&t.__esModule?t:{default:t}}function Nh(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Ph(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:t}function Rh(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var Ih=function(t){Rh(e,t);function e(s){Nh(this,e);var r=Ph(this,t.call(this,s));return r.type=Ch.STRING,r}return e}(Oh.default);hr.default=Ih;Na.exports=hr.default});var Ia=y((dr,Ra)=>{"use strict";dr.__esModule=!0;var qh=ir(),Lh=Mh(qh),Dh=D();function Mh(t){return t&&t.__esModule?t:{default:t}}function Bh(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Uh(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:t}function Fh(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var $h=function(t){Fh(e,t);function e(s){Bh(this,e);var r=Uh(this,t.call(this,s));return r.type=Dh.PSEUDO,r}return e.prototype.toString=function(){var r=this.length?"("+this.map(String).join(",")+")":"";return[this.spaces.before,String(this.value),r,this.spaces.after].join("")},e}(Lh.default);dr.default=$h;Ra.exports=dr.default});var La=y((mr,qa)=>{"use strict";mr.__esModule=!0;var Wh=qe(),Yh=Vh(Wh),zh=D();function Vh(t){return t&&t.__esModule?t:{default:t}}function Gh(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function jh(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:t}function Hh(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var Kh=function(t){Hh(e,t);function e(s){Gh(this,e);var r=jh(this,t.call(this,s));return r.type=zh.ATTRIBUTE,r.raws={},r}return e.prototype.toString=function(){var r=[this.spaces.before,"[",this.ns,this.attribute];return this.operator&&r.push(this.operator),this.value&&r.push(this.value),this.raws.insensitive?r.push(this.raws.insensitive):this.insensitive&&r.push(" i"),r.push("]"),r.concat(this.spaces.after).join("")},e}(Yh.default);mr.default=Kh;qa.exports=mr.default});var Ma=y((yr,Da)=>{"use strict";yr.__esModule=!0;var Qh=qe(),Jh=Zh(Qh),Xh=D();function Zh(t){return t&&t.__esModule?t:{default:t}}function ed(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function td(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:t}function rd(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var sd=function(t){rd(e,t);function e(s){ed(this,e);var r=td(this,t.call(this,s));return r.type=Xh.UNIVERSAL,r.value="*",r}return e}(Jh.default);yr.default=sd;Da.exports=yr.default});var Ua=y((wr,Ba)=>{"use strict";wr.__esModule=!0;var nd=de(),id=ad(nd),od=D();function ad(t){return t&&t.__esModule?t:{default:t}}function ud(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function ld(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:t}function cd(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var fd=function(t){cd(e,t);function e(s){ud(this,e);var r=ld(this,t.call(this,s));return r.type=od.COMBINATOR,r}return e}(id.default);wr.default=fd;Ba.exports=wr.default});var $a=y((gr,Fa)=>{"use strict";gr.__esModule=!0;var pd=de(),hd=md(pd),dd=D();function md(t){return t&&t.__esModule?t:{default:t}}function yd(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function wd(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:t}function gd(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var vd=function(t){gd(e,t);function e(s){yd(this,e);var r=wd(this,t.call(this,s));return r.type=dd.NESTING,r.value="&",r}return e}(hd.default);gr.default=vd;Fa.exports=gr.default});var Ya=y((vr,Wa)=>{"use strict";vr.__esModule=!0;vr.default=xd;function xd(t){return t.sort(function(e,s){return e-s})}Wa.exports=vr.default});var Xa=y((_r,Ja)=>{"use strict";_r.__esModule=!0;_r.default=Pd;var za=39,bd=34,Ms=92,Va=47,xt=10,Bs=32,Us=12,Fs=9,$s=13,Ga=43,ja=62,Ha=126,Ka=124,_d=44,kd=40,Ed=41,Sd=91,Td=93,Od=59,Qa=42,Cd=58,Ad=38,Nd=64,xr=/[ \n\t\r\{\(\)'"\\;/]/g,br=/[ \n\t\r\(\)\*:;@!&'"\+\|~>,\[\]\\]|\/(?=\*)/g;function Pd(t){for(var e=[],s=t.css.valueOf(),r=void 0,n=void 0,i=void 0,o=void 0,a=void 0,u=void 0,c=void 0,f=void 0,p=void 0,l=void 0,w=void 0,x=s.length,h=-1,d=1,m=0,b=function(v,R){if(t.safe)s+=R,n=s.length-1;else throw t.error("Unclosed "+v,d,m-h,m)};m0?(f=d+a,p=n-o[a].length):(f=d,p=h),e.push(["comment",u,d,m-h,f,n-p,m]),h=p,d=f,m=n):(br.lastIndex=m+1,br.test(s),br.lastIndex===0?n=s.length-1:n=br.lastIndex-2,e.push(["word",s.slice(m,n+1),d,m-h,d,n-h,m]),m=n);break}m++}return e}Ja.exports=_r.default});var tu=y((kr,eu)=>{"use strict";kr.__esModule=!0;var Rd=function(){function t(e,s){for(var r=0;r1?(o[0]===""&&(o[0]=!0),a.attribute=this.parseValue(o[2]),a.namespace=this.parseNamespace(o[0])):a.attribute=this.parseValue(i[0]),r=new em.default(a),i[2]){var u=i[2].split(/(\s+i\s*?)$/),c=u[0].trim();r.value=this.lossy?c:u[0],u[1]&&(r.insensitive=!0,this.lossy||(r.raws.insensitive=u[1])),r.quoted=c[0]==="'"||c[0]==='"',r.raws.unquoted=r.quoted?c.slice(1,-1):c}this.newNode(r),this.position++},t.prototype.combinator=function(){if(this.currToken[1]==="|")return this.namespace();for(var s=new nm.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.position1&&s.nextToken&&s.nextToken[0]==="("&&s.error("Misplaced parenthesis.")})}else this.error('Unexpected "'+this.currToken[0]+'" found.')},t.prototype.space=function(){var s=this.currToken;this.position===0||this.prevToken[0]===","||this.prevToken[0]==="("?(this.spaces=this.parseSpace(s[1]),this.position++):this.position===this.tokens.length-1||this.nextToken[0]===","||this.nextToken[0]===")"?(this.current.last.spaces.after=this.parseSpace(s[1]),this.position++):this.combinator()},t.prototype.string=function(){var s=this.currToken;this.newNode(new Qd.default({value:this.currToken[1],source:{start:{line:s[2],column:s[3]},end:{line:s[4],column:s[5]}},sourceIndex:s[6]})),this.position++},t.prototype.universal=function(s){var r=this.nextToken;if(r&&r[1]==="|")return this.position++,this.namespace();this.newNode(new rm.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]}),s),this.position++},t.prototype.splitWord=function(s,r){for(var n=this,i=this.nextToken,o=this.currToken[1];i&&i[0]==="word";){this.position++;var a=this.currToken[1];if(o+=a,a.lastIndexOf("\\")===a.length-1){var u=this.nextToken;u&&u[0]==="space"&&(o+=this.parseSpace(u[1]," "),this.position++)}i=this.nextToken}var c=(0,Ws.default)(o,"."),f=(0,Ws.default)(o,"#"),p=(0,Ws.default)(o,"#{");p.length&&(f=f.filter(function(w){return!~p.indexOf(w)}));var l=(0,um.default)((0,Md.default)((0,qd.default)([[0],c,f])));l.forEach(function(w,x){var h=l[x+1]||o.length,d=o.slice(w,h);if(x===0&&r)return r.call(n,d,l.length);var m=void 0;~c.indexOf(w)?m=new Wd.default({value:d.slice(1),source:{start:{line:n.currToken[2],column:n.currToken[3]+w},end:{line:n.currToken[4],column:n.currToken[3]+(h-1)}},sourceIndex:n.currToken[6]+l[x]}):~f.indexOf(w)?m=new Gd.default({value:d.slice(1),source:{start:{line:n.currToken[2],column:n.currToken[3]+w},end:{line:n.currToken[4],column:n.currToken[3]+(h-1)}},sourceIndex:n.currToken[6]+l[x]}):m=new Hd.default({value:d,source:{start:{line:n.currToken[2],column:n.currToken[3]+w},end:{line:n.currToken[4],column:n.currToken[3]+(h-1)}},sourceIndex:n.currToken[6]+l[x]}),n.newNode(m,s)}),this.position++},t.prototype.word=function(s){var r=this.nextToken;return r&&r[1]==="|"?(this.position++,this.namespace()):this.splitWord(s)},t.prototype.loop=function(){for(;this.position{"use strict";Er.__esModule=!0;var mm=function(){function t(e,s){for(var r=0;r1&&arguments[1]!==void 0?arguments[1]:{},n=new wm.default({css:s,error:function(o){throw new Error(o)},options:r});return this.res=n,this.func(n),this},mm(t,[{key:"result",get:function(){return String(this.res)}}]),t}();Er.default=xm;ru.exports=Er.default});var z=y((Sx,iu)=>{"use strict";var zs=function(t,e){let s=new t.constructor;for(let r in t){if(!t.hasOwnProperty(r))continue;let n=t[r],i=typeof n;r==="parent"&&i==="object"?e&&(s[r]=e):r==="source"?s[r]=n:n instanceof Array?s[r]=n.map(o=>zs(o,s)):r!=="before"&&r!=="after"&&r!=="between"&&r!=="semicolon"&&(i==="object"&&n!==null&&(n=zs(n)),s[r]=n)}return s};iu.exports=class{constructor(e){e=e||{},this.raws={before:"",after:""};for(let s in e)this[s]=e[s]}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(e){e=e||{};let s=zs(this);for(let r in e)s[r]=e[r];return s}cloneBefore(e){e=e||{};let s=this.clone(e);return this.parent.insertBefore(this,s),s}cloneAfter(e){e=e||{};let s=this.clone(e);return this.parent.insertAfter(this,s),s}replaceWith(){let e=Array.prototype.slice.call(arguments);if(this.parent){for(let s of e)this.parent.insertBefore(this,s);this.remove()}return this}moveTo(e){return this.cleanRaws(this.root()===e.root()),this.remove(),e.append(this),this}moveBefore(e){return this.cleanRaws(this.root()===e.root()),this.remove(),e.parent.insertBefore(e,this),this}moveAfter(e){return this.cleanRaws(this.root()===e.root()),this.remove(),e.parent.insertAfter(e,this),this}next(){let e=this.parent.index(this);return this.parent.nodes[e+1]}prev(){let e=this.parent.index(this);return this.parent.nodes[e-1]}toJSON(){let e={};for(let s in this){if(!this.hasOwnProperty(s)||s==="parent")continue;let r=this[s];r instanceof Array?e[s]=r.map(n=>typeof n=="object"&&n.toJSON?n.toJSON():n):typeof r=="object"&&r.toJSON?e[s]=r.toJSON():e[s]=r}return e}root(){let e=this;for(;e.parent;)e=e.parent;return e}cleanRaws(e){delete this.raws.before,delete this.raws.after,e||delete this.raws.between}positionInside(e){let s=this.toString(),r=this.source.start.column,n=this.source.start.line;for(let i=0;i{"use strict";var _m=z(),Le=class extends _m{constructor(e){super(e),this.nodes||(this.nodes=[])}push(e){return e.parent=this,this.nodes.push(e),this}each(e){this.lastEach||(this.lastEach=0),this.indexes||(this.indexes={}),this.lastEach+=1;let s=this.lastEach,r,n;if(this.indexes[s]=0,!!this.nodes){for(;this.indexes[s]{let n=e(s,r);return n!==!1&&s.walk&&(n=s.walk(e)),n})}walkType(e,s){if(!e||!s)throw new Error("Parameters {type} and {callback} are required.");let r=typeof e=="function";return this.walk((n,i)=>{if(r&&n instanceof e||!r&&n.type===e)return s.call(this,n,i)})}append(e){return e.parent=this,this.nodes.push(e),this}prepend(e){return e.parent=this,this.nodes.unshift(e),this}cleanRaws(e){if(super.cleanRaws(e),this.nodes)for(let s of this.nodes)s.cleanRaws(e)}insertAfter(e,s){let r=this.index(e),n;this.nodes.splice(r+1,0,s);for(let i in this.indexes)n=this.indexes[i],r<=n&&(this.indexes[i]=n+this.nodes.length);return this}insertBefore(e,s){let r=this.index(e),n;this.nodes.splice(r,0,s);for(let i in this.indexes)n=this.indexes[i],r<=n&&(this.indexes[i]=n+this.nodes.length);return this}removeChild(e){e=this.index(e),this.nodes[e].parent=void 0,this.nodes.splice(e,1);let s;for(let r in this.indexes)s=this.indexes[r],s>=e&&(this.indexes[r]=s-1);return this}removeAll(){for(let e of this.nodes)e.parent=void 0;return this.nodes=[],this}every(e){return this.nodes.every(e)}some(e){return this.nodes.some(e)}index(e){return typeof e=="number"?e:this.nodes.indexOf(e)}get first(){if(this.nodes)return this.nodes[0]}get last(){if(this.nodes)return this.nodes[this.nodes.length-1]}toString(){let e=this.nodes.map(String).join("");return this.value&&(e=this.value+e),this.raws.before&&(e=this.raws.before+e),this.raws.after&&(e+=this.raws.after),e}};Le.registerWalker=t=>{let e="walk"+t.name;e.lastIndexOf("s")!==e.length-1&&(e+="s"),!Le.prototype[e]&&(Le.prototype[e]=function(s){return this.walkType(t,s)})};ou.exports=Le});var uu=y((Cx,au)=>{"use strict";var km=U();au.exports=class extends km{constructor(e){super(e),this.type="root"}}});var cu=y((Nx,lu)=>{"use strict";var Em=U();lu.exports=class extends Em{constructor(e){super(e),this.type="value",this.unbalanced=0}}});var hu=y((Px,pu)=>{"use strict";var fu=U(),Sr=class extends fu{constructor(e){super(e),this.type="atword"}toString(){let e=this.quoted?this.raws.quote:"";return[this.raws.before,"@",String.prototype.toString.call(this.value),this.raws.after].join("")}};fu.registerWalker(Sr);pu.exports=Sr});var mu=y((Rx,du)=>{"use strict";var Sm=U(),Tm=z(),Tr=class extends Tm{constructor(e){super(e),this.type="colon"}};Sm.registerWalker(Tr);du.exports=Tr});var wu=y((Ix,yu)=>{"use strict";var Om=U(),Cm=z(),Or=class extends Cm{constructor(e){super(e),this.type="comma"}};Om.registerWalker(Or);yu.exports=Or});var vu=y((qx,gu)=>{"use strict";var Am=U(),Nm=z(),Cr=class extends Nm{constructor(e){super(e),this.type="comment",this.inline=Object(e).inline||!1}toString(){return[this.raws.before,this.inline?"//":"/*",String(this.value),this.inline?"":"*/",this.raws.after].join("")}};Am.registerWalker(Cr);gu.exports=Cr});var _u=y((Lx,bu)=>{"use strict";var xu=U(),Ar=class extends xu{constructor(e){super(e),this.type="func",this.unbalanced=-1}};xu.registerWalker(Ar);bu.exports=Ar});var Eu=y((Dx,ku)=>{"use strict";var Pm=U(),Rm=z(),Nr=class extends Rm{constructor(e){super(e),this.type="number",this.unit=Object(e).unit||""}toString(){return[this.raws.before,String(this.value),this.unit,this.raws.after].join("")}};Pm.registerWalker(Nr);ku.exports=Nr});var Tu=y((Mx,Su)=>{"use strict";var Im=U(),qm=z(),Pr=class extends qm{constructor(e){super(e),this.type="operator"}};Im.registerWalker(Pr);Su.exports=Pr});var Cu=y((Bx,Ou)=>{"use strict";var Lm=U(),Dm=z(),Rr=class extends Dm{constructor(e){super(e),this.type="paren",this.parenType=""}};Lm.registerWalker(Rr);Ou.exports=Rr});var Nu=y((Ux,Au)=>{"use strict";var Mm=U(),Bm=z(),Ir=class extends Bm{constructor(e){super(e),this.type="string"}toString(){let e=this.quoted?this.raws.quote:"";return[this.raws.before,e,this.value+"",e,this.raws.after].join("")}};Mm.registerWalker(Ir);Au.exports=Ir});var Ru=y((Fx,Pu)=>{"use strict";var Um=U(),Fm=z(),qr=class extends Fm{constructor(e){super(e),this.type="word"}};Um.registerWalker(qr);Pu.exports=qr});var qu=y(($x,Iu)=>{"use strict";var $m=U(),Wm=z(),Lr=class extends Wm{constructor(e){super(e),this.type="unicode-range"}};$m.registerWalker(Lr);Iu.exports=Lr});var Du=y((Wx,Lu)=>{"use strict";var Vs=class extends Error{constructor(e){super(e),this.name=this.constructor.name,this.message=e||"An error ocurred while tokzenizing.",typeof Error.captureStackTrace=="function"?Error.captureStackTrace(this,this.constructor):this.stack=new Error(e).stack}};Lu.exports=Vs});var Uu=y((Yx,Bu)=>{"use strict";var Dr=/[ \n\t\r\{\(\)'"\\;,/]/g,Ym=/[ \n\t\r\(\)\{\}\*:;@!&'"\+\|~>,\[\]\\]|\/(?=\*)/g,De=/[ \n\t\r\(\)\{\}\*:;@!&'"\-\+\|~>,\[\]\\]|\//g,zm=/^[a-z0-9]/i,Vm=/^[a-f0-9?\-]/i,Mu=Du();Bu.exports=function(e,s){s=s||{};let r=[],n=e.valueOf(),i=n.length,o=-1,a=1,u=0,c=0,f=null,p,l,w,x,h,d,m,b,g,v,R,F;function H(T){let O=`Unclosed ${T} at line: ${a}, column: ${u-o}, token: ${u}`;throw new Mu(O)}function $(){let T=`Syntax error at line: ${a}, column: ${u-o}, token: ${u}`;throw new Mu(T)}for(;u0&&r[r.length-1][0]==="word"&&r[r.length-1][1]==="url",r.push(["(","(",a,u-o,a,l-o,u]);break;case 41:c--,f=f&&c>0,r.push([")",")",a,u-o,a,l-o,u]);break;case 39:case 34:w=p===39?"'":'"',l=u;do for(v=!1,l=n.indexOf(w,l+1),l===-1&&H("quote",w),R=l;n.charCodeAt(R-1)===92;)R-=1,v=!v;while(v);r.push(["string",n.slice(u,l+1),a,u-o,a,l-o,u]),u=l;break;case 64:Dr.lastIndex=u+1,Dr.test(n),Dr.lastIndex===0?l=n.length-1:l=Dr.lastIndex-2,r.push(["atword",n.slice(u,l+1),a,u-o,a,l-o,u]),u=l;break;case 92:l=u,p=n.charCodeAt(l+1),m&&p!==47&&p!==32&&p!==10&&p!==9&&p!==13&&p!==12&&(l+=1),r.push(["word",n.slice(u,l+1),a,u-o,a,l-o,u]),u=l;break;case 43:case 45:case 42:l=u+1,F=n.slice(u+1,l+1);let T=n.slice(u-1,u);if(p===45&&F.charCodeAt(0)===45){l++,r.push(["word",n.slice(u,l),a,u-o,a,l-o,u]),u=l-1;break}r.push(["operator",n.slice(u,l),a,u-o,a,l-o,u]),u=l-1;break;default:if(p===47&&(n.charCodeAt(u+1)===42||s.loose&&!f&&n.charCodeAt(u+1)===47)){if(n.charCodeAt(u+1)===42)l=n.indexOf("*/",u+2)+1,l===0&&H("comment","*/");else{let C=n.indexOf(` +`,u+2);l=C!==-1?C-1:i}d=n.slice(u,l+1),x=d.split(` +`),h=x.length-1,h>0?(b=a+h,g=l-x[h].length):(b=a,g=o),r.push(["comment",d,a,u-o,b,l-g,u]),o=g,a=b,u=l}else if(p===35&&!zm.test(n.slice(u+1,u+2)))l=u+1,r.push(["#",n.slice(u,l),a,u-o,a,l-o,u]),u=l-1;else if((p===117||p===85)&&n.charCodeAt(u+1)===43){l=u+2;do l+=1,p=n.charCodeAt(l);while(l=48&&p<=57&&(O=De),O.lastIndex=u+1,O.test(n),O.lastIndex===0?l=n.length-1:l=O.lastIndex-2,O===De||p===46){let C=n.charCodeAt(l),me=n.charCodeAt(l+1),Js=n.charCodeAt(l+2);(C===101||C===69)&&(me===45||me===43)&&Js>=48&&Js<=57&&(De.lastIndex=l+2,De.test(n),De.lastIndex===0?l=n.length-1:l=De.lastIndex-2)}r.push(["word",n.slice(u,l+1),a,u-o,a,l-o,u]),u=l}break}u++}return r}});var $u=y((zx,Fu)=>{"use strict";var Gs=class extends Error{constructor(e){super(e),this.name=this.constructor.name,this.message=e||"An error ocurred while parsing.",typeof Error.captureStackTrace=="function"?Error.captureStackTrace(this,this.constructor):this.stack=new Error(e).stack}};Fu.exports=Gs});var Vu=y((Gx,zu)=>{"use strict";var Gm=uu(),jm=cu(),Hm=hu(),Km=mu(),Qm=wu(),Jm=vu(),Xm=_u(),Zm=Eu(),ey=Tu(),Wu=Cu(),ty=Nu(),Yu=Ru(),ry=qu(),sy=Uu(),ny=qs(),iy=Ls(),oy=Ds(),ay=$u();function uy(t){return t.sort((e,s)=>e-s)}zu.exports=class{constructor(e,s){let r={loose:!1};this.cache=[],this.input=e,this.options=Object.assign({},r,s),this.position=0,this.unbalanced=0,this.root=new Gm;let n=new jm;this.root.append(n),this.current=n,this.tokens=sy(e,this.options)}parse(){return this.loop()}colon(){let e=this.currToken;this.newNode(new Km({value:e[1],source:{start:{line:e[2],column:e[3]},end:{line:e[4],column:e[5]}},sourceIndex:e[6]})),this.position++}comma(){let e=this.currToken;this.newNode(new Qm({value:e[1],source:{start:{line:e[2],column:e[3]},end:{line:e[4],column:e[5]}},sourceIndex:e[6]})),this.position++}comment(){let e=!1,s=this.currToken[1].replace(/\/\*|\*\//g,""),r;this.options.loose&&s.startsWith("//")&&(s=s.substring(2),e=!0),r=new Jm({value:s,inline:e,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(r),this.position++}error(e,s){throw new ay(e+` at line: ${s[2]}, column ${s[3]}`)}loop(){for(;this.position0&&(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 ey({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 e=1,s=this.position+1,r=this.currToken,n;for(;s=this.tokens.length-1&&!this.current.unbalanced)&&(this.current.unbalanced--,this.current.unbalanced<0&&this.error("Expected opening parenthesis",e),!this.current.unbalanced&&this.cache.length&&(this.current=this.cache.pop()))}space(){let e=this.currToken;this.position===this.tokens.length-1||this.nextToken[0]===","||this.nextToken[0]===")"?(this.current.last.raws.after+=e[1],this.position++):(this.spaces=e[1],this.position++)}unicodeRange(){let e=this.currToken;this.newNode(new ry({value:e[1],source:{start:{line:e[2],column:e[3]},end:{line:e[4],column:e[5]}},sourceIndex:e[6]})),this.position++}splitWord(){let e=this.nextToken,s=this.currToken[1],r=/^[\+\-]?((\d+(\.\d*)?)|(\.\d+))([eE][\+\-]?\d+)?/,n=/^(?!\#([a-z0-9]+))[\#\{\}]/gi,i,o;if(!n.test(s))for(;e&&e[0]==="word";){this.position++;let a=this.currToken[1];s+=a,e=this.nextToken}i=iy(s,"@"),o=uy(oy(ny([[0],i]))),o.forEach((a,u)=>{let c=o[u+1]||s.length,f=s.slice(a,c),p;if(~i.indexOf(a))p=new Hm({value:f.slice(1),source:{start:{line:this.currToken[2],column:this.currToken[3]+a},end:{line:this.currToken[4],column:this.currToken[3]+(c-1)}},sourceIndex:this.currToken[6]+o[u]});else if(r.test(this.currToken[1])){let l=f.replace(r,"");p=new Zm({value:f.replace(l,""),source:{start:{line:this.currToken[2],column:this.currToken[3]+a},end:{line:this.currToken[4],column:this.currToken[3]+(c-1)}},sourceIndex:this.currToken[6]+o[u],unit:l})}else p=new(e&&e[0]==="("?Xm:Yu)({value:f,source:{start:{line:this.currToken[2],column:this.currToken[3]+a},end:{line:this.currToken[4],column:this.currToken[3]+(c-1)}},sourceIndex:this.currToken[6]+o[u]}),p.type==="word"?(p.isHex=/^#(.+)/.test(f),p.isColor=/^#([0-9a-f]{3}|[0-9a-f]{4}|[0-9a-f]{6}|[0-9a-f]{8})$/i.test(f)):this.cache.push(this.current);this.newNode(p)}),this.position++}string(){let e=this.currToken,s=this.currToken[1],r=/^(\"|\')/,n=r.test(s),i="",o;n&&(i=s.match(r)[0],s=s.slice(1,s.length-1)),o=new ty({value:s,source:{start:{line:e[2],column:e[3]},end:{line:e[4],column:e[5]}},sourceIndex:e[6],quoted:n}),o.raws.quote=i,this.newNode(o),this.position++}word(){return this.splitWord()}newNode(e){return this.spaces&&(e.raws.before+=this.spaces,this.spaces=""),this.current.append(e)}get currToken(){return this.tokens[this.position]}get nextToken(){return this.tokens[this.position+1]}get prevToken(){return this.tokens[this.position-1]}}});var Qs={};Xs(Qs,{languages:()=>pi,options:()=>di,parsers:()=>Ks,printers:()=>Ey});var hl=(t,e,s,r)=>{if(!(t&&e==null))return e.replaceAll?e.replaceAll(s,r):s.global?e.replace(s,r):e.split(s).join(r)},_=hl;var Me="string",Be="array",Ue="cursor",we="indent",ge="align",Fe="trim",ve="group",xe="fill",oe="if-break",$e="indent-if-break",We="line-suffix",Ye="line-suffix-boundary",K="line",ze="label",be="break-parent",bt=new Set([Ue,we,ge,Fe,ve,xe,oe,$e,We,Ye,K,ze,be]);function dl(t){if(typeof t=="string")return Me;if(Array.isArray(t))return Be;if(!t)return;let{type:e}=t;if(bt.has(e))return e}var Ve=dl;var ml=t=>new Intl.ListFormat("en-US",{type:"disjunction"}).format(t);function yl(t){let e=t===null?"null":typeof t;if(e!=="string"&&e!=="object")return`Unexpected doc '${e}', +Expected it to be 'string' or 'object'.`;if(Ve(t))throw new Error("doc is valid.");let s=Object.prototype.toString.call(t);if(s!=="[object Object]")return`Unexpected doc '${s}'.`;let r=ml([...bt].map(n=>`'${n}'`));return`Unexpected doc.type '${t.type}'. +Expected it to be ${r}.`}var Fr=class extends Error{name="InvalidDocError";constructor(e){super(yl(e)),this.doc=e}},$r=Fr;var Zs=()=>{},ae=Zs,_t=Zs;function q(t){return ae(t),{type:we,contents:t}}function en(t,e){return ae(e),{type:ge,contents:e,n:t}}function L(t,e={}){return ae(t),_t(e.expandedStates,!0),{type:ve,id:e.id,contents:t,break:!!e.shouldBreak,expandedStates:e.expandedStates}}function tn(t){return en({type:"root"},t)}function ue(t){return en(-1,t)}function Ge(t){return _t(t),{type:xe,parts:t}}function kt(t,e="",s={}){return ae(t),e!==""&&ae(e),{type:oe,breakContents:t,flatContents:e,groupId:s.groupId}}var je={type:be};var wl={type:K,hard:!0};var A={type:K},M={type:K,soft:!0},E=[wl,je];function V(t,e){ae(t),_t(e);let s=[];for(let r=0;r{if(!(t&&e==null))return Array.isArray(e)||typeof e=="string"?e[s<0?e.length+s:s]:e.at(s)},G=gl;function vl(t,e){if(typeof t=="string")return e(t);let s=new Map;return r(t);function r(i){if(s.has(i))return s.get(i);let o=n(i);return s.set(i,o),o}function n(i){switch(Ve(i)){case Be:return e(i.map(r));case xe:return e({...i,parts:i.parts.map(r)});case oe:return e({...i,breakContents:r(i.breakContents),flatContents:r(i.flatContents)});case ve:{let{expandedStates:o,contents:a}=i;return o?(o=o.map(r),a=o[0]):a=r(a),e({...i,contents:a,expandedStates:o})}case ge:case we:case $e:case ze:case We:return e({...i,contents:r(i.contents)});case Me:case Ue:case Fe:case Ye:case K:case be:return e(i);default:throw new $r(i)}}}function xl(t){return t.type===K&&!t.hard?t.soft?"":" ":t.type===oe?t.flatContents:t}function rn(t){return vl(t,xl)}function bl(t){return Array.isArray(t)&&t.length>0}var ee=bl;var Et="'",sn='"';function _l(t,e){let s=e===!0||e===Et?Et:sn,r=s===Et?sn:Et,n=0,i=0;for(let o of t)o===s?n++:o===r&&i++;return n>i?r:s}var nn=_l;function kl(t,e,s){let r=e==='"'?"'":'"',i=_(!1,t,/\\(.)|(["'])/gsu,(o,a,u)=>a===r?a:u===e?"\\"+u:u||(s&&/^[^\n\r"'0-7\\bfnrt-vx\u2028\u2029]$/u.test(a)?a:"\\"+a));return e+i+e}var on=kl;function El(t,e){let s=t.slice(1,-1),r=e.parser==="json"||e.parser==="jsonc"||e.parser==="json5"&&e.quoteProps==="preserve"&&!e.singleQuote?'"':e.__isInHtmlAttribute?"'":nn(s,e.singleQuote);return on(s,r,!(e.parser==="css"||e.parser==="less"||e.parser==="scss"||e.__embeddedInHtml))}var St=El;var Wr=class extends Error{name="UnexpectedNodeError";constructor(e,s,r="type"){super(`Unexpected ${s} node ${r}: ${JSON.stringify(e[r])}.`),this.node=e}},an=Wr;function Sl(t){return(t==null?void 0:t.type)==="front-matter"}var _e=Sl;var Tl=new Set(["raw","raws","sourceIndex","source","before","after","trailingComma","spaces"]);function un(t,e,s){if(_e(t)&&t.language==="yaml"&&delete e.value,t.type==="css-comment"&&s.type==="css-root"&&s.nodes.length>0&&((s.nodes[0]===t||_e(s.nodes[0])&&s.nodes[1]===t)&&(delete e.text,/^\*\s*@(?:format|prettier)\s*$/u.test(t.text))||s.type==="css-root"&&G(!1,s.nodes,-1)===t))return null;if(t.type==="value-root"&&delete e.text,(t.type==="media-query"||t.type==="media-query-list"||t.type==="media-feature-expression")&&delete e.value,t.type==="css-rule"&&delete e.params,(t.type==="media-feature"||t.type==="media-keyword"||t.type==="media-type"||t.type==="media-unknown"||t.type==="media-url"||t.type==="media-value"||t.type==="selector-attribute"||t.type==="selector-string"||t.type==="selector-class"||t.type==="selector-combinator"||t.type==="value-string")&&t.value&&(e.value=Ol(t.value)),t.type==="selector-combinator"&&(e.value=_(!1,e.value,/\s+/gu," ")),t.type==="media-feature"&&(e.value=_(!1,e.value," ","")),(t.type==="value-word"&&(t.isColor&&t.isHex||["initial","inherit","unset","revert"].includes(t.value.toLowerCase()))||t.type==="media-feature"||t.type==="selector-root-invalid"||t.type==="selector-pseudo")&&(e.value=e.value.toLowerCase()),t.type==="css-decl"&&(e.prop=t.prop.toLowerCase()),(t.type==="css-atrule"||t.type==="css-import")&&(e.name=t.name.toLowerCase()),t.type==="value-number"&&(e.unit=t.unit.toLowerCase()),t.type==="value-unknown"&&(e.value=_(!1,e.value,/;$/gu,"")),t.type==="selector-attribute"&&(e.attribute=t.attribute.trim(),t.namespace&&typeof t.namespace=="string"&&(e.namespace=t.namespace.trim()||!0),t.value&&(e.value=_(!1,e.value.trim(),/^["']|["']$/gu,""),delete e.quoted)),(t.type==="media-value"||t.type==="media-type"||t.type==="value-number"||t.type==="selector-root-invalid"||t.type==="selector-class"||t.type==="selector-combinator"||t.type==="selector-tag")&&t.value&&(e.value=_(!1,e.value,/([\d+.e-]+)([a-z]*)/giu,(r,n,i)=>{let o=Number(n);return Number.isNaN(o)?r:o+i.toLowerCase()})),t.type==="selector-tag"){let r=e.value.toLowerCase();["from","to"].includes(r)&&(e.value=r)}if(t.type==="css-atrule"&&t.name.toLowerCase()==="supports"&&delete e.value,t.type==="selector-unknown"&&delete e.value,t.type==="value-comma_group"){let r=t.groups.findIndex(n=>n.type==="value-number"&&n.unit==="...");r!==-1&&(e.groups[r].unit="",e.groups.splice(r+1,0,{type:"value-word",value:"...",isColor:!1,isHex:!1}))}if(t.type==="value-comma_group"&&t.groups.some(r=>r.type==="value-atword"&&r.value.endsWith("[")||r.type==="value-word"&&r.value.startsWith("]")))return{type:"value-atword",value:t.groups.map(r=>r.value).join(""),group:{open:null,close:null,groups:[],type:"value-paren_group"}}}un.ignoredProperties=Tl;function Ol(t){return _(!1,_(!1,t,"'",'"'),/\\([^\da-f])/giu,"$1")}var ln=un;async function Cl(t,e){if(t.language==="yaml"){let s=t.value.trim(),r=s?await e(s,{parser:"yaml"}):"";return tn([t.startDelimiter,t.explicitLanguage,E,r,r?E:"",t.endDelimiter])}}var cn=Cl;function fn(t){let{node:e}=t;if(e.type==="front-matter")return async s=>{let r=await cn(e,s);return r?[r,E]:void 0}}fn.getVisitorKeys=t=>t.type==="css-root"?["frontMatter"]:[];var pn=fn;var He=null;function Ke(t){if(He!==null&&typeof He.property){let e=He;return He=Ke.prototype=null,e}return He=Ke.prototype=t??Object.create(null),new Ke}var Al=10;for(let t=0;t<=Al;t++)Ke();function Yr(t){return Ke(t)}function Nl(t,e="type"){Yr(t);function s(r){let n=r[e],i=t[n];if(!Array.isArray(i))throw Object.assign(new Error(`Missing visitor keys for '${n}'.`),{node:r});return i}return s}var hn=Nl;var Pl={"front-matter":[],"css-root":["frontMatter","nodes"],"css-comment":[],"css-rule":["selector","nodes"],"css-decl":["value","selector","nodes"],"css-atrule":["selector","params","value","nodes"],"media-query-list":["nodes"],"media-query":["nodes"],"media-type":[],"media-feature-expression":["nodes"],"media-feature":[],"media-colon":[],"media-value":[],"media-keyword":[],"media-url":[],"media-unknown":[],"selector-root":["nodes"],"selector-selector":["nodes"],"selector-comment":[],"selector-string":[],"selector-tag":[],"selector-id":[],"selector-class":[],"selector-attribute":[],"selector-combinator":["nodes"],"selector-universal":[],"selector-pseudo":["nodes"],"selector-nesting":[],"selector-unknown":[],"value-value":["group"],"value-root":["group"],"value-comment":[],"value-comma_group":["groups"],"value-paren_group":["open","groups","close"],"value-func":["group"],"value-paren":[],"value-number":[],"value-operator":[],"value-word":[],"value-colon":[],"value-comma":[],"value-string":[],"value-atword":[],"value-unicode-range":[],"value-unknown":[]},dn=Pl;var Rl=hn(dn),mn=Rl;function Il(t,e){let s=0;for(let r=0;r{let n=!!(r!=null&&r.backwards);if(s===!1)return!1;let{length:i}=e,o=s;for(;o>=0&&o_n(c,e[c])).map(c=>`${n} ${c}${s}`).join("");if(!t){if(o.length===0)return"";if(o.length===1&&!Array.isArray(e[o[0]])){let c=e[o[0]];return`${r} ${_n(o[0],c)[0]}${i}`}}let u=t.split(s).map(c=>`${n} ${c}`).join(s)+s;return r+s+(t?u:"")+(t&&o.length>0?n+s:"")+a+i}function _n(t,e){return[...En,...Array.isArray(e)?e:[e]].map(s=>`@${t} ${s}`.trim())}function Fl(t){if(!t.startsWith("#!"))return"";let e=t.indexOf(` +`);return e===-1?t:t.slice(0,e)}var An=Fl;function Nn(t){let e=An(t);e&&(t=t.slice(e.length+1));let s=Sn(t),{pragmas:r,comments:n}=On(s);return{shebang:e,text:t,pragmas:r,comments:n}}function Pn(t){let{pragmas:e}=Nn(t);return Object.prototype.hasOwnProperty.call(e,"prettier")||Object.prototype.hasOwnProperty.call(e,"format")}function Rn(t){let{shebang:e,text:s,pragmas:r,comments:n}=Nn(t),i=Tn(s),o=Cn({pragmas:{format:"",...r},comments:n.trimStart()});return(e?`${e} `:"")+o+(i.startsWith(` `)?` `:` -`)+i}var kc=new RegExp("^(?-{3}|\\+{3})(?[^\\n]*)\\n(?:|(?.*?)\\n)(?\\k|\\.{3})[^\\S\\n]*(?:\\n|$)","s");function _c(t){let e=t.match(kc);if(!e)return{content:t};let{startDelimiter:n,language:r,value:s="",endDelimiter:i}=e.groups,o=r.trim()||"yaml";if(n==="+++"&&(o="toml"),o!=="yaml"&&n!==i)return{content:t};let[a]=e;return{frontMatter:{type:"front-matter",lang:o,value:s,startDelimiter:n,endDelimiter:i,raw:a.replace(/\n$/,"")},content:T(!1,a,/[^\n]/g," ")+t.slice(a.length)}}var je=_c;function ei(t){return Xs(je(t).content)}function ti(t){let{frontMatter:e,content:n}=je(t);return(e?e.raw+` +`)+i}var Qe=3;function $l(t){let e=t.slice(0,Qe);if(e!=="---"&&e!=="+++")return;let s=t.indexOf(` +`,Qe);if(s===-1)return;let r=t.slice(Qe,s).trim(),n=t.indexOf(` +${e}`,s),i=r;if(i||(i=e==="+++"?"toml":"yaml"),n===-1&&e==="---"&&i==="yaml"&&(n=t.indexOf(` +...`,s)),n===-1)return;let o=n+1+Qe,a=t.charAt(o+1);if(!/\s?/u.test(a))return;let u=t.slice(0,o);return{type:"front-matter",language:i,explicitLanguage:r,value:t.slice(s+1,n),startDelimiter:e,endDelimiter:u.slice(-Qe),raw:u}}function Wl(t){let e=$l(t);if(!e)return{content:t};let{raw:s}=e;return{frontMatter:e,content:_(!1,s,/[^\n]/gu," ")+t.slice(s.length)}}var Je=Wl;function In(t){return Pn(Je(t).content)}function qn(t){let{frontMatter:e,content:s}=Je(t);return(e?e.raw+` -`:"")+Zs(n)}var Je=null;function Xe(t){if(Je!==null&&typeof Je.property){let e=Je;return Je=Xe.prototype=null,e}return Je=Xe.prototype=t??Object.create(null),new Xe}var Tc=10;for(let t=0;t<=Tc;t++)Xe();function sn(t){return Xe(t)}function Ec(t,e="type"){sn(t);function n(r){let s=r[e],i=t[s];if(!Array.isArray(i))throw Object.assign(new Error(`Missing visitor keys for '${s}'.`),{node:r});return i}return n}var ri=Ec;var Sc={"front-matter":[],"css-root":["frontMatter","nodes"],"css-comment":[],"css-rule":["selector","nodes"],"css-decl":["value","selector","nodes"],"css-atrule":["selector","params","value","nodes"],"media-query-list":["nodes"],"media-query":["nodes"],"media-type":[],"media-feature-expression":["nodes"],"media-feature":[],"media-colon":[],"media-value":[],"media-keyword":[],"media-url":[],"media-unknown":[],"selector-root":["nodes"],"selector-selector":["nodes"],"selector-comment":[],"selector-string":[],"selector-tag":[],"selector-id":[],"selector-class":[],"selector-attribute":[],"selector-combinator":["nodes"],"selector-universal":[],"selector-pseudo":["nodes"],"selector-nesting":[],"selector-unknown":[],"value-value":["group"],"value-root":["group"],"value-comment":[],"value-comma_group":["groups"],"value-paren_group":["open","groups","close"],"value-func":["group"],"value-paren":[],"value-number":[],"value-operator":[],"value-word":[],"value-colon":[],"value-comma":[],"value-string":[],"value-atword":[],"value-unicode-range":[],"value-unknown":[]},ni=Sc;var Cc=ri(ni),si=Cc;var Oc=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 ii(t){var e,n;return(n=(e=t.findAncestor(r=>r.type==="css-decl"))==null?void 0:e.prop)==null?void 0:n.toLowerCase()}var Ac=new Set(["initial","inherit","unset","revert"]);function oi(t){return Ac.has(t.toLowerCase())}function ai(t,e){var r;let n=t.findAncestor(s=>s.type==="css-atrule");return((r=n==null?void 0:n.name)==null?void 0:r.toLowerCase().endsWith("keyframes"))&&["from","to"].includes(e.toLowerCase())}function ne(t){return t.includes("$")||t.includes("@")||t.includes("#")||t.startsWith("%")||t.startsWith("--")||t.startsWith(":--")||t.includes("(")&&t.includes(")")?t:t.toLowerCase()}function Ee(t,e){var r;let n=t.findAncestor(s=>s.type==="value-func");return((r=n==null?void 0:n.value)==null?void 0:r.toLowerCase())===e}function ui(t){var r;let e=t.findAncestor(s=>s.type==="css-rule"),n=(r=e==null?void 0:e.raws)==null?void 0:r.selector;return n&&(n.startsWith(":import")||n.startsWith(":export"))}function Se(t,e){let n=Array.isArray(e)?e:[e],r=t.findAncestor(s=>s.type==="css-atrule");return r&&n.includes(r.name.toLowerCase())}function li(t){var n;let{node:e}=t;return e.groups[0].value==="url"&&e.groups.length===2&&((n=t.findAncestor(r=>r.type==="css-atrule"))==null?void 0:n.name)==="import"}function ci(t){return t.type==="value-func"&&t.value.toLowerCase()==="url"}function fi(t){return t.type==="value-func"&&t.value.toLowerCase()==="var"}function Nt(t,e){var r;let n=(r=t.parent)==null?void 0:r.nodes;return n&&n.indexOf(e)===n.length-1}function pi(t){let{selector:e}=t;return e?typeof e=="string"&&/^@.+:.*$/.test(e)||e.value&&/^@.+:.*$/.test(e.value):!1}function hi(t){return t.type==="value-word"&&["from","through","end"].includes(t.value)}function di(t){return t.type==="value-word"&&["and","or","not"].includes(t.value)}function mi(t){return t.type==="value-word"&&t.value==="in"}function Pt(t){return t.type==="value-operator"&&t.value==="*"}function Ze(t){return t.type==="value-operator"&&t.value==="/"}function j(t){return t.type==="value-operator"&&t.value==="+"}function he(t){return t.type==="value-operator"&&t.value==="-"}function Nc(t){return t.type==="value-operator"&&t.value==="%"}function Rt(t){return Pt(t)||Ze(t)||j(t)||he(t)||Nc(t)}function yi(t){return t.type==="value-word"&&["==","!="].includes(t.value)}function gi(t){return t.type==="value-word"&&["<",">","<=",">="].includes(t.value)}function et(t,e){return e.parser==="scss"&&t.type==="css-atrule"&&["if","else","for","each","while"].includes(t.name)}function an(t){var e;return((e=t.raws)==null?void 0:e.params)&&/^\(\s*\)$/.test(t.raws.params)}function un(t){return t.name.startsWith("prettier-placeholder")}function wi(t){return t.prop.startsWith("@prettier-placeholder")}function vi(t,e){return t.value==="$$"&&t.type==="value-func"&&(e==null?void 0:e.type)==="value-word"&&!e.raws.before}function xi(t){var e,n;return((e=t.value)==null?void 0:e.type)==="value-root"&&((n=t.value.group)==null?void 0:n.type)==="value-value"&&t.prop.toLowerCase()==="composes"}function bi(t){var e,n,r;return((r=(n=(e=t.value)==null?void 0:e.group)==null?void 0:n.group)==null?void 0:r.type)==="value-paren_group"&&t.value.group.group.open!==null&&t.value.group.group.close!==null}function de(t){var e;return((e=t.raws)==null?void 0:e.before)===""}function It(t){var e,n;return t.type==="value-comma_group"&&((n=(e=t.groups)==null?void 0:e[1])==null?void 0:n.type)==="value-colon"}function on(t){var e;return t.type==="value-paren_group"&&((e=t.groups)==null?void 0:e[0])&&It(t.groups[0])}function ln(t,e){var i;if(e.parser!=="scss")return!1;let{node:n}=t;if(n.groups.length===0)return!1;let r=t.grandparent;if(!on(n)&&!(r&&on(r)))return!1;let s=t.findAncestor(o=>o.type==="css-decl");return!!((i=s==null?void 0:s.prop)!=null&&i.startsWith("$")||on(r)||r.type==="value-func")}function cn(t){return t.type==="value-comment"&&t.inline}function qt(t){return t.type==="value-word"&&t.value==="#"}function fn(t){return t.type==="value-word"&&t.value==="{"}function Dt(t){return t.type==="value-word"&&t.value==="}"}function tt(t){return["value-word","value-atword"].includes(t.type)}function Lt(t){return(t==null?void 0:t.type)==="value-colon"}function ki(t,e){if(!It(e))return!1;let{groups:n}=e,r=n.indexOf(t);return r===-1?!1:Lt(n[r+1])}function _i(t){return t.value&&["not","and","or"].includes(t.value.toLowerCase())}function Ti(t){return t.type!=="value-func"?!1:Oc.has(t.value.toLowerCase())}function Ce(t){return/\/\//.test(t.split(/[\n\r]/).pop())}function rt(t){return(t==null?void 0:t.type)==="value-atword"&&t.value.startsWith("prettier-placeholder-")}function Ei(t,e){var n,r;if(((n=t.open)==null?void 0:n.value)!=="("||((r=t.close)==null?void 0:r.value)!==")"||t.groups.some(s=>s.type!=="value-comma_group"))return!1;if(e.type==="value-comma_group"){let s=e.groups.indexOf(t)-1,i=e.groups[s];if((i==null?void 0:i.type)==="value-word"&&i.value==="with")return!0}return!1}function nt(t){var e,n;return t.type==="value-paren_group"&&((e=t.open)==null?void 0:e.value)==="("&&((n=t.close)==null?void 0:n.value)===")"}function Mt(t){return(e,n,r)=>{let s=!!(r!=null&&r.backwards);if(n===!1)return!1;let{length:i}=e,o=n;for(;o>=0&&oSt(n,e))}function Ii(t,e){let n=e.singleQuote?"'":'"';return t.includes('"')||t.includes("'")?t:n+t+n}function me(t){return T(!1,t,Mc,(e,n,r,s,i)=>!r&&s?yn(s)+ne(i||""):e)}function yn(t){return Ni(t).replace(/\.0(?=$|e)/,"")}function qi(t){return t.trailingComma==="es5"||t.trailingComma==="all"}function Bc(t,e,n){var d;let{node:r}=t,s=t.parent,i=t.grandparent,o=ii(t),a=o&&s.type==="value-value"&&(o==="grid"||o.startsWith("grid-template")),u=t.findAncestor(m=>m.type==="css-atrule"),c=u&&et(u,e),f=r.groups.some(m=>cn(m)),p=t.map(n,"groups"),l=[],g=Ee(t,"url"),x=!1,h=!1;for(let m=0;mve:O!==-1?x=!0:ve!==-1&&(x=!1)}if(x||Lt(w)||Lt(v)||w.type==="value-atword"&&(w.value===""||w.value.endsWith("["))||v.type==="value-word"&&v.value.startsWith("]")||w.value==="~"||w.type!=="value-string"&&w.value&&w.value.includes("\\")&&v&&v.type!=="value-comment"||b!=null&&b.value&&b.value.indexOf("\\")===b.value.length-1&&w.type==="value-operator"&&w.value==="/"||w.value==="\\"||vi(w,v)||qt(w)||fn(w)||Dt(v)||fn(v)&&de(v)||Dt(w)&&de(v)||w.value==="--"&&qt(v))continue;let $=Rt(w),H=Rt(v);if(($&&qt(v)||H&&Dt(w))&&de(v)||!b&&Ze(w)||Ee(t,"calc")&&(j(w)||j(v)||he(w)||he(v))&&de(v))continue;let U=(j(w)||he(w))&&m===0&&(v.type==="value-number"||v.isHex)&&i&&Ti(i)&&!de(v),S=(N==null?void 0:N.type)==="value-func"||N&&tt(N)||w.type==="value-func"||tt(w),C=v.type==="value-func"||tt(v)||(b==null?void 0:b.type)==="value-func"||b&&tt(b);if(!(!(Pt(v)||Pt(w))&&!Ee(t,"calc")&&!U&&(Ze(v)&&!S||Ze(w)&&!C||j(v)&&!S||j(w)&&!C||he(v)||he(w))&&(de(v)||$&&(!b||b&&Rt(b))))&&!((e.parser==="scss"||e.parser==="less")&&$&&w.value==="-"&&nt(v)&&R(w)===P(v.open)&&v.open.value==="(")){if(cn(w)){if(s.type==="value-paren_group"){l.push(fe(_));continue}l.push(_);continue}if(c&&(yi(v)||gi(v)||di(v)||mi(w)||hi(w))){l.push(" ");continue}if(u&&u.name.toLowerCase()==="namespace"){l.push(" ");continue}if(a){w.source&&v.source&&w.source.start.line!==v.source.start.line?(l.push(_),h=!0):l.push(" ");continue}if(H){l.push(" ");continue}if((v==null?void 0:v.value)!=="..."&&!(rt(w)&&rt(v)&&R(w)===P(v))){if(rt(w)&&nt(v)&&R(w)===P(v.open)){l.push(M);continue}if(w.value==="with"&&nt(v)){l.push(" ");continue}(d=w.value)!=null&&d.endsWith("#")&&v.value==="{"&&nt(v.group)||l.push(A)}}}return f&&l.push(Qe),h&&l.unshift(_),c?D(q(l)):li(t)?D(He(l)):D(q(He(l)))}var Di=Bc;function Fc(t,e,n){let r=!!(n!=null&&n.backwards);if(e===!1)return!1;let s=t.charAt(e);if(r){if(t.charAt(e-1)==="\r"&&s===` -`)return e-2;if(s===` -`||s==="\r"||s==="\u2028"||s==="\u2029")return e-1}else{if(s==="\r"&&t.charAt(e+1)===` -`)return e+2;if(s===` -`||s==="\r"||s==="\u2028"||s==="\u2029")return e+1}return e}var $t=Fc;function $c(t,e){if(e===!1)return!1;if(t.charAt(e)==="/"&&t.charAt(e+1)==="*"){for(let n=e+2;nln(t,e))?At(","):""}function Bi(t,e,n){let{node:r,parent:s}=t,i=t.map(({node:g})=>typeof g=="string"?g:n(),"groups");if(s&&ci(s)&&(r.groups.length===1||r.groups.length>0&&r.groups[0].type==="value-comma_group"&&r.groups[0].groups.length>0&&r.groups[0].groups[0].type==="value-word"&&r.groups[0].groups[0].value.startsWith("data:")))return[r.open?n("open"):"",Y(",",i),r.close?n("close"):""];if(!r.open){let g=gn(t),x=Y([",",g?_:A],i);return q(g?[_,x]:D(He(x)))}let o=t.map(({node:g,isLast:x,index:h})=>{var b;let d=i[h];if(It(g)&&g.type==="value-comma_group"&&g.groups&&g.groups[0].type!=="value-paren_group"&&((b=g.groups[2])==null?void 0:b.type)==="value-paren_group"){let w=Ds(d.contents.contents);w[1]=D(w[1]),d=D(fe(d))}let m=[d,x?Yc(t,e):","];if(!x&&g.type==="value-comma_group"&&ee(g.groups)){let w=G(!1,g.groups,-1);!w.source&&w.close&&(w=w.close),w.source&&Wt(e.originalText,R(w))&&m.push(_)}return m},"groups"),a=ki(r,s),u=Ei(r,s),c=ln(t,e),f=u||c&&!a,p=u||a,l=D([r.open?n("open"):"",q([M,Y(A,o)]),M,r.close?n("close"):""],{shouldBreak:f});return p?fe(l):l}function gn(t){return t.match(e=>e.type==="value-paren_group"&&!e.open&&e.groups.some(n=>n.type==="value-comma_group"),(e,n)=>n==="group"&&e.type==="value-value",(e,n)=>n==="group"&&e.type==="value-root",(e,n)=>n==="value"&&(e.type==="css-decl"&&!e.prop.startsWith("--")||e.type==="css-atrule"&&e.variable))}function Gc(t,e,n){let r=[];return t.each(()=>{let{node:s,previous:i}=t;if((i==null?void 0:i.type)==="css-comment"&&i.text.trim()==="prettier-ignore"?r.push(e.originalText.slice(P(s),R(s))):r.push(n()),t.isLast)return;let{next:o}=t;o.type==="css-comment"&&!Ut(e.originalText,P(o),{backwards:!0})&&!Te(s)||o.type==="css-atrule"&&o.name==="else"&&s.type!=="css-comment"?r.push(" "):(r.push(e.__isHTMLStyleAttribute?A:_),Wt(e.originalText,R(s))&&!Te(s)&&r.push(_))},"nodes"),r}var Oe=Gc;function Kc(t,e,n){var s,i,o,a,u,c;let{node:r}=t;switch(r.type){case"front-matter":return[r.raw,_];case"css-root":{let f=Oe(t,e,n),p=r.raws.after.trim();return p.startsWith(";")&&(p=p.slice(1).trim()),[r.frontMatter?[n("frontMatter"),_]:"",f,p?` ${p}`:"",r.nodes.length>0?_:""]}case"css-comment":{let f=r.inline||r.raws.inline,p=e.originalText.slice(P(r),R(r));return f?p.trimEnd():p}case"css-rule":return[n("selector"),r.important?" !important":"",r.nodes?[((s=r.selector)==null?void 0:s.type)==="selector-unknown"&&Ce(r.selector.value)?A:r.selector?" ":"","{",r.nodes.length>0?q([_,Oe(t,e,n)]):"",_,"}",pi(r)?";":""]:";"];case"css-decl":{let f=t.parent,{between:p}=r.raws,l=p.trim(),g=l===":",x=typeof r.value=="string"&&/^ *$/.test(r.value),h=typeof r.value=="string"?r.value:n("value");return h=xi(r)?Ls(h):h,!g&&Ce(l)&&!((o=(i=r.value)==null?void 0:i.group)!=null&&o.group&&t.call(()=>gn(t),"value","group","group"))&&(h=q([_,fe(h)])),[T(!1,r.raws.before,/[\s;]/g,""),f.type==="css-atrule"&&f.variable||ui(t)?r.prop:ne(r.prop),l.startsWith("//")?" ":"",l,r.extend||x?"":" ",e.parser==="less"&&r.extend&&r.selector?["extend(",n("selector"),")"]:"",h,r.raws.important?r.raws.important.replace(/\s*!\s*important/i," !important"):r.important?" !important":"",r.raws.scssDefault?r.raws.scssDefault.replace(/\s*!default/i," !default"):r.scssDefault?" !default":"",r.raws.scssGlobal?r.raws.scssGlobal.replace(/\s*!global/i," !global"):r.scssGlobal?" !global":"",r.nodes?[" {",q([M,Oe(t,e,n)]),M,"}"]:wi(r)&&!f.raws.semicolon&&e.originalText[R(r)-1]!==";"?"":e.__isHTMLStyleAttribute&&Nt(t,r)?At(";"):";"]}case"css-atrule":{let f=t.parent,p=un(r)&&!f.raws.semicolon&&e.originalText[R(r)-1]!==";";if(e.parser==="less"){if(r.mixin)return[n("selector"),r.important?" !important":"",p?"":";"];if(r.function)return[r.name,typeof r.params=="string"?r.params:n("params"),p?"":";"];if(r.variable)return["@",r.name,": ",r.value?n("value"):"",r.raws.between.trim()?r.raws.between.trim()+" ":"",r.nodes?["{",q([r.nodes.length>0?M:"",Oe(t,e,n)]),M,"}"]:"",p?"":";"]}let l=r.name==="import"&&((a=r.params)==null?void 0:a.type)==="value-unknown"&&r.params.value.endsWith(";");return["@",an(r)||r.name.endsWith(":")?r.name:ne(r.name),r.params?[an(r)?"":un(r)?r.raws.afterName===""?"":r.name.endsWith(":")?" ":/^\s*\n\s*\n/.test(r.raws.afterName)?[_,_]:/^\s*\n/.test(r.raws.afterName)?_:" ":" ",typeof r.params=="string"?r.params:n("params")]:"",r.selector?q([" ",n("selector")]):"",r.value?D([" ",n("value"),et(r,e)?bi(r)?" ":A:""]):r.name==="else"?" ":"",r.nodes?[et(r,e)?"":r.selector&&!r.selector.nodes&&typeof r.selector.value=="string"&&Ce(r.selector.value)||!r.selector&&typeof r.params=="string"&&Ce(r.params)?A:" ","{",q([r.nodes.length>0?M:"",Oe(t,e,n)]),M,"}"]:p||l?"":";"]}case"media-query-list":{let f=[];return t.each(({node:p})=>{p.type==="media-query"&&p.value===""||f.push(n())},"nodes"),D(q(Y(A,f)))}case"media-query":return[Y(" ",t.map(n,"nodes")),Nt(t,r)?"":","];case"media-type":return me(W(r.value,e));case"media-feature-expression":return r.nodes?["(",...t.map(n,"nodes"),")"]:r.value;case"media-feature":return ne(W(T(!1,r.value,/ +/g," "),e));case"media-colon":return[r.value," "];case"media-value":return me(W(r.value,e));case"media-keyword":return W(r.value,e);case"media-url":return W(T(!1,T(!1,r.value,/^url\(\s+/gi,"url("),/\s+\)$/g,")"),e);case"media-unknown":return r.value;case"selector-root":return D([Se(t,"custom-selector")?[t.findAncestor(f=>f.type==="css-atrule").customSelector,A]:"",Y([",",Se(t,["extend","custom-selector","nest"])?A:_],t.map(n,"nodes"))]);case"selector-selector":return D(q(t.map(n,"nodes")));case"selector-comment":return r.value;case"selector-string":return W(r.value,e);case"selector-tag":return[r.namespace?[r.namespace===!0?"":r.namespace.trim(),"|"]:"",((u=t.previous)==null?void 0:u.type)==="selector-nesting"?r.value:me(ai(t,r.value)?r.value.toLowerCase():r.value)];case"selector-id":return["#",r.value];case"selector-class":return[".",me(W(r.value,e))];case"selector-attribute":return["[",r.namespace?[r.namespace===!0?"":r.namespace.trim(),"|"]:"",r.attribute.trim(),r.operator??"",r.value?Ii(W(r.value.trim(),e),e):"",r.insensitive?" i":"","]"];case"selector-combinator":{if(r.value==="+"||r.value===">"||r.value==="~"||r.value===">>>"){let l=t.parent;return[l.type==="selector-selector"&&l.nodes[0]===r?"":A,r.value,Nt(t,r)?"":" "]}let f=r.value.trim().startsWith("(")?A:"",p=me(W(r.value.trim(),e))||A;return[f,p]}case"selector-universal":return[r.namespace?[r.namespace===!0?"":r.namespace.trim(),"|"]:"",r.value];case"selector-pseudo":return[ne(r.value),ee(r.nodes)?D(["(",q([M,Y([",",A],t.map(n,"nodes"))]),M,")"]):""];case"selector-nesting":return r.value;case"selector-unknown":{let f=t.findAncestor(g=>g.type==="css-rule");if(f!=null&&f.isSCSSNesterProperty)return me(W(ne(r.value),e));let p=t.parent;if((c=p.raws)!=null&&c.selector){let g=P(p),x=g+p.raws.selector.length;return e.originalText.slice(g,x).trim()}let l=t.grandparent;if(p.type==="value-paren_group"&&(l==null?void 0:l.type)==="value-func"&&l.value==="selector"){let g=R(p.open)+1,x=P(p.close),h=e.originalText.slice(g,x).trim();return Ce(h)?[Qe,h]:h}return r.value}case"value-value":case"value-root":return n("group");case"value-comment":return e.originalText.slice(P(r),R(r));case"value-comma_group":return Di(t,e,n);case"value-paren_group":return Bi(t,e,n);case"value-func":return[r.value,Se(t,"supports")&&_i(r)?" ":"",n("group")];case"value-paren":return r.value;case"value-number":return[yn(r.value),Pi(r.unit)];case"value-operator":return r.value;case"value-word":return r.isColor&&r.isHex||oi(r.value)?r.value.toLowerCase():r.value;case"value-colon":{let{previous:f}=t;return[r.value,typeof(f==null?void 0:f.value)=="string"&&f.value.endsWith("\\")||Ee(t,"url")?"":A]}case"value-string":return St(r.raws.quote+r.value+r.raws.quote,e);case"value-atword":return["@",r.value];case"value-unicode-range":return r.value;case"value-unknown":return r.value;case"value-comma":default:throw new Ms(r,"PostCSS")}}var Hc={print:Kc,embed:Ws,insertPragma:ti,massageAstNode:Fs,getVisitorKeys:si},Fi=Hc;var Zr={};Os(Zr,{css:()=>Bg,less:()=>Fg,scss:()=>$g});var ql=ue(dt(),1),Dl=ue(Ho(),1),Ll=ue(Pa(),1);function Jp(t,e){let n=new SyntaxError(t+" ("+e.loc.start.line+":"+e.loc.start.column+")");return Object.assign(n,e)}var Ra=Jp;function Xp(t,e){return e.parser!=="scss"||!t.selector?!1:t.selector.replace(/\/\*.*?\*\//,"").replace(/\/\/.*\n/,"").trim().endsWith(":")}var Ia=Xp;var Zp=new Set(["import","use","forward"]);function eh(t){return Zp.has(t)}var qa=eh;var Tl=ue(Ou(),1);var id=t=>{for(;t.parent;)t=t.parent;return t},Ar=id;function od(t){return Ar(t).text.slice(t.group.open.sourceIndex+1,t.group.close.sourceIndex).trim()}var Au=od;function ad(t){if(ee(t)){for(let e=t.length-1;e>0;e--)if(t[e].type==="word"&&t[e].value==="{"&&t[e-1].type==="word"&&t[e-1].value.endsWith("#"))return!0}return!1}var Nu=ad;function ud(t){return t.some(e=>e.type==="string"||e.type==="func"&&!e.value.endsWith("\\"))}var Pu=ud;function ld(t,e){return!!(e.parser==="scss"&&(t==null?void 0:t.type)==="word"&&t.value.startsWith("$"))}var Ru=ld;var _l=ue(kl(),1);function X(t,e,n){if(t&&typeof t=="object"){delete t.parent;for(let r in t)X(t[r],e,n),r==="type"&&typeof t[r]=="string"&&!t[r].startsWith(e)&&(!n||!n.test(t[r]))&&(t[r]=e+t[r])}return t}function ys(t){if(t&&typeof t=="object"){delete t.parent;for(let e in t)ys(t[e]);!Array.isArray(t)&&t.value&&!t.type&&(t.type="unknown")}return t}function xg(t){if(/\/\/|\/\*/.test(t))return{type:"selector-unknown",value:t.trim()};let e;try{new _l.default(n=>{e=n}).process(t)}catch{return{type:"selector-unknown",value:t}}return X(e,"selector-")}var Z=xg;function bg(t,e){var u;let{nodes:n}=t,r={open:null,close:null,groups:[],type:"paren_group"},s=[r],i=r,o={groups:[],type:"comma_group"},a=[o];for(let c=0;c0&&r.groups.push(o),r.close=f,a.length===1)throw new Error("Unbalanced parenthesis");a.pop(),o=G(!1,a,-1),o.groups.push(r),s.pop(),r=G(!1,s,-1)}else f.type==="comma"?(r.groups.push(o),o={groups:[],type:"comma_group"},a[a.length-1]=o):o.groups.push(f)}return o.groups.length>0&&r.groups.push(o),i}function Xr(t){return t.type==="paren_group"&&!t.open&&!t.close&&t.groups.length===1||t.type==="comma_group"&&t.groups.length===1?Xr(t.groups[0]):t.type==="paren_group"||t.type==="comma_group"?{...t,groups:t.groups.map(Xr)}:t}function El(t,e){if(t&&typeof t=="object")for(let n in t)n!=="parent"&&(El(t[n],e),n==="nodes"&&(t.group=Xr(bg(t,e)),delete t[n]));return t}function kg(t,e){if(e.parser==="less"&&t.startsWith("~`"))return{type:"value-unknown",value:t};let n=null;try{n=new Tl.default(t,{loose:!0}).parse()}catch{return{type:"value-unknown",value:t}}n.text=t;let r=El(n,e);return X(r,"value-",/^selector-/)}var ae=kg;var Rl=ue(Pl(),1);var qg=Rl.default.default;function Dg(t){let e;try{e=qg(t)}catch{return{type:"selector-unknown",value:t}}return X(ys(e),"media-")}var Il=Dg;var Lg=/(\s*)(!default).*$/,Mg=/(\s*)(!global).*$/;function Ml(t,e){var n,r;if(t&&typeof t=="object"){delete t.parent;for(let a in t)Ml(t[a],e);if(!t.type)return t;if(t.raws??(t.raws={}),t.type==="css-decl"&&typeof t.prop=="string"&&t.prop.startsWith("--")&&typeof t.value=="string"&&t.value.startsWith("{")){let a;if(t.value.trimEnd().endsWith("}")){let u=e.originalText.slice(0,t.source.start.offset),c="a".repeat(t.prop.length)+e.originalText.slice(t.source.start.offset+t.prop.length,t.source.end.offset+1),f=T(!1,u,/[^\n]/g," ")+c,p;e.parser==="scss"?p=$l:e.parser==="less"?p=Fl:p=Bl;let l;try{l=p(f,{...e})}catch{}((n=l==null?void 0:l.nodes)==null?void 0:n.length)===1&&l.nodes[0].type==="css-rule"&&(a=l.nodes[0].nodes)}return a?t.value={type:"css-rule",nodes:a}:t.value={type:"value-unknown",value:t.raws.value.raw},t}let s="";typeof t.selector=="string"&&(s=t.raws.selector?t.raws.selector.scss??t.raws.selector.raw:t.selector,t.raws.between&&t.raws.between.trim().length>0&&(s+=t.raws.between),t.raws.selector=s);let i="";typeof t.value=="string"&&(i=t.raws.value?t.raws.value.scss??t.raws.value.raw:t.value,i=i.trim(),t.raws.value=i);let o="";if(typeof t.params=="string"&&(o=t.raws.params?t.raws.params.scss??t.raws.params.raw:t.params,t.raws.afterName&&t.raws.afterName.trim().length>0&&(o=t.raws.afterName+o),t.raws.between&&t.raws.between.trim().length>0&&(o=o+t.raws.between),o=o.trim(),t.raws.params=o),s.trim().length>0)return s.startsWith("@")&&s.endsWith(":")?t:t.mixin?(t.selector=ae(s,e),t):(Ia(t,e)&&(t.isSCSSNesterProperty=!0),t.selector=Z(s),t);if(i.length>0){let a=i.match(Lg);a&&(i=i.slice(0,a.index),t.scssDefault=!0,a[0].trim()!=="!default"&&(t.raws.scssDefault=a[0]));let u=i.match(Mg);if(u&&(i=i.slice(0,u.index),t.scssGlobal=!0,u[0].trim()!=="!global"&&(t.raws.scssGlobal=u[0])),i.startsWith("progid:"))return{type:"value-unknown",value:i};t.value=ae(i,e)}if(e.parser==="less"&&t.type==="css-decl"&&i.startsWith("extend(")&&(t.extend||(t.extend=t.raws.between===":"),t.extend&&!t.selector&&(delete t.value,t.selector=Z(i.slice(7,-1)))),t.type==="css-atrule"){if(e.parser==="less"){if(t.mixin){let a=t.raws.identifier+t.name+t.raws.afterName+t.raws.params;return t.selector=Z(a),delete t.params,t}if(t.function)return t}if(e.parser==="css"&&t.name==="custom-selector"){let a=t.params.match(/:--\S+\s+/)[0].trim();return t.customSelector=a,t.selector=Z(t.params.slice(a.length).trim()),delete t.params,t}if(e.parser==="less"){if(t.name.includes(":")&&!t.params){t.variable=!0;let a=t.name.split(":");t.name=a[0],t.value=ae(a.slice(1).join(":"),e)}if(!["page","nest","keyframes"].includes(t.name)&&((r=t.params)==null?void 0:r[0])===":"){t.variable=!0;let a=t.params.slice(1);a&&(t.value=ae(a,e)),t.raws.afterName+=":"}if(t.variable)return delete t.params,t.value||delete t.value,t}}if(t.type==="css-atrule"&&o.length>0){let{name:a}=t,u=t.name.toLowerCase();return a==="warn"||a==="error"?(t.params={type:"media-unknown",value:o},t):a==="extend"||a==="nest"?(t.selector=Z(o),delete t.params,t):a==="at-root"?(/^\(\s*(?:without|with)\s*:.+\)$/s.test(o)?t.params=ae(o,e):(t.selector=Z(o),delete t.params),t):qa(u)?(t.import=!0,delete t.filename,t.params=ae(o,e),t):["namespace","supports","if","else","for","each","while","debug","mixin","include","function","return","define-mixin","add-mixin"].includes(a)?(o=o.replace(/(\$\S+?)(\s+)?\.{3}/,"$1...$2"),o=o.replace(/^(?!if)(\S+)(\s+)\(/,"$1($2"),t.value=ae(o,e),delete t.params,t):["media","custom-media"].includes(u)?o.includes("#{")?{type:"media-unknown",value:o}:(t.params=Il(o),t):(t.params=o,t)}}return t}function Ts(t,e,n){let r=je(e),{frontMatter:s}=r;e=r.content;let i;try{i=t(e,{map:!1})}catch(o){let{name:a,reason:u,line:c,column:f}=o;throw typeof c!="number"?o:Ra(`${a}: ${u}`,{loc:{start:{line:c,column:f}},cause:o})}return n.originalText=e,i=Ml(X(i,"css-"),n),dn(i,e),s&&(s.source={startOffset:0,endOffset:s.raw.length},i.frontMatter=s),i}function Bl(t,e={}){return Ts(ql.default.default,t,e)}function Fl(t,e={}){return Ts(n=>Dl.default.parse(Ai(n)),t,e)}function $l(t,e={}){return Ts(Ll.default,t,e)}var Es={astFormat:"postcss",hasPragma:ei,locStart:P,locEnd:R},Bg={...Es,parse:Bl},Fg={...Es,parse:Fl},$g={...Es,parse:$l};var Ul=[{linguistLanguageId:50,name:"CSS",type:"markup",tmScope:"source.css",aceMode:"css",codemirrorMode:"css",codemirrorMimeType:"text/css",color:"#563d7c",extensions:[".css",".wxss"],parsers:["css"],vscodeLanguageIds:["css"]},{linguistLanguageId:262764437,name:"PostCSS",type:"markup",color:"#dc3a0c",tmScope:"source.postcss",group:"CSS",extensions:[".pcss",".postcss"],aceMode:"text",parsers:["css"],vscodeLanguageIds:["postcss"]},{linguistLanguageId:198,name:"Less",type:"markup",color:"#1d365d",aliases:["less-css"],extensions:[".less"],tmScope:"source.css.less",aceMode:"less",codemirrorMode:"css",codemirrorMimeType:"text/css",parsers:["less"],vscodeLanguageIds:["less"]},{linguistLanguageId:329,name:"SCSS",type:"markup",color:"#c6538c",tmScope:"source.css.scss",aceMode:"scss",codemirrorMode:"css",codemirrorMimeType:"text/x-scss",extensions:[".scss"],parsers:["scss"],vscodeLanguageIds:["scss"]}];var Wl={bracketSpacing:{category:"Common",type:"boolean",default:!0,description:"Print spaces between brackets.",oppositeDescription:"Do not print spaces between brackets."},singleQuote:{category:"Common",type:"boolean",default:!1,description:"Use single quotes instead of double quotes."},proseWrap:{category:"Common",type:"choice",default:"preserve",description:"How to wrap prose.",choices:[{value:"always",description:"Wrap prose if it exceeds the print width."},{value:"never",description:"Do not wrap prose."},{value:"preserve",description:"Wrap prose as-is."}]},bracketSameLine:{category:"Common",type:"boolean",default:!1,description:"Put > of opening tags on the last line instead of on a new line."},singleAttributePerLine:{category:"Common",type:"boolean",default:!1,description:"Enforce single attribute per line in HTML, Vue and JSX."}};var Ug={singleQuote:Wl.singleQuote},zl=Ug;var Wg={postcss:Fi};var Vk=Ss;export{Vk as default,Ul as languages,zl as options,Zr as parsers,Wg as printers}; +`:"")+Rn(s)}var Yl=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 Ln(t){var e,s;return(s=(e=t.findAncestor(r=>r.type==="css-decl"))==null?void 0:e.prop)==null?void 0:s.toLowerCase()}var zl=new Set(["initial","inherit","unset","revert"]);function Dn(t){return zl.has(t.toLowerCase())}function Mn(t,e){var r;let s=t.findAncestor(n=>n.type==="css-atrule");return((r=s==null?void 0:s.name)==null?void 0:r.toLowerCase().endsWith("keyframes"))&&["from","to"].includes(e.toLowerCase())}function te(t){return t.includes("$")||t.includes("@")||t.includes("#")||t.startsWith("%")||t.startsWith("--")||t.startsWith(":--")||t.includes("(")&&t.includes(")")?t:t.toLowerCase()}function ke(t,e){var r;let s=t.findAncestor(n=>n.type==="value-func");return((r=s==null?void 0:s.value)==null?void 0:r.toLowerCase())===e}function Bn(t){var r;let e=t.findAncestor(n=>n.type==="css-rule"),s=(r=e==null?void 0:e.raws)==null?void 0:r.selector;return s&&(s.startsWith(":import")||s.startsWith(":export"))}function Ee(t,e){let s=Array.isArray(e)?e:[e],r=t.findAncestor(n=>n.type==="css-atrule");return r&&s.includes(r.name.toLowerCase())}function Un(t){var s;let{node:e}=t;return e.groups[0].value==="url"&&e.groups.length===2&&((s=t.findAncestor(r=>r.type==="css-atrule"))==null?void 0:s.name)==="import"}function Fn(t){return t.type==="value-func"&&t.value.toLowerCase()==="url"}function $n(t){return t.type==="value-func"&&t.value.toLowerCase()==="var"}function Wn(t){let{selector:e}=t;return e?typeof e=="string"&&/^@.+:.*$/u.test(e)||e.value&&/^@.+:.*$/u.test(e.value):!1}function Yn(t){return t.type==="value-word"&&["from","through","end"].includes(t.value)}function zn(t){return t.type==="value-word"&&["and","or","not"].includes(t.value)}function Vn(t){return t.type==="value-word"&&t.value==="in"}function At(t){return t.type==="value-operator"&&t.value==="*"}function Xe(t){return t.type==="value-operator"&&t.value==="/"}function Q(t){return t.type==="value-operator"&&t.value==="+"}function le(t){return t.type==="value-operator"&&t.value==="-"}function Vl(t){return t.type==="value-operator"&&t.value==="%"}function Nt(t){return At(t)||Xe(t)||Q(t)||le(t)||Vl(t)}function Gn(t){return t.type==="value-word"&&["==","!="].includes(t.value)}function jn(t){return t.type==="value-word"&&["<",">","<=",">="].includes(t.value)}function Ze(t,e){return e.parser==="scss"&&t.type==="css-atrule"&&["if","else","for","each","while"].includes(t.name)}function Hr(t){var e;return((e=t.raws)==null?void 0:e.params)&&/^\(\s*\)$/u.test(t.raws.params)}function Pt(t){return t.name.startsWith("prettier-placeholder")}function Hn(t){return t.prop.startsWith("@prettier-placeholder")}function Kn(t,e){return t.value==="$$"&&t.type==="value-func"&&(e==null?void 0:e.type)==="value-word"&&!e.raws.before}function Qn(t){var e,s;return((e=t.value)==null?void 0:e.type)==="value-root"&&((s=t.value.group)==null?void 0:s.type)==="value-value"&&t.prop.toLowerCase()==="composes"}function Jn(t){var e,s,r;return((r=(s=(e=t.value)==null?void 0:e.group)==null?void 0:s.group)==null?void 0:r.type)==="value-paren_group"&&t.value.group.group.open!==null&&t.value.group.group.close!==null}function ce(t){var e;return((e=t.raws)==null?void 0:e.before)===""}function Rt(t){var e,s;return t.type==="value-comma_group"&&((s=(e=t.groups)==null?void 0:e[1])==null?void 0:s.type)==="value-colon"}function jr(t){var e;return t.type==="value-paren_group"&&((e=t.groups)==null?void 0:e[0])&&Rt(t.groups[0])}function Kr(t,e){var i;if(e.parser!=="scss")return!1;let{node:s}=t;if(s.groups.length===0)return!1;let r=t.grandparent;if(!jr(s)&&!(r&&jr(r)))return!1;let n=t.findAncestor(o=>o.type==="css-decl");return!!((i=n==null?void 0:n.prop)!=null&&i.startsWith("$")||jr(r)||r.type==="value-func")}function Qr(t){return t.type==="value-comment"&&t.inline}function It(t){return t.type==="value-word"&&t.value==="#"}function Jr(t){return t.type==="value-word"&&t.value==="{"}function qt(t){return t.type==="value-word"&&t.value==="}"}function et(t){return["value-word","value-atword"].includes(t.type)}function Lt(t){return(t==null?void 0:t.type)==="value-colon"}function Xn(t,e){if(!Rt(e))return!1;let{groups:s}=e,r=s.indexOf(t);return r===-1?!1:Lt(s[r+1])}function Zn(t){return t.value&&["not","and","or"].includes(t.value.toLowerCase())}function ei(t){return t.type!=="value-func"?!1:Yl.has(t.value.toLowerCase())}function Se(t){return/\/\//u.test(t.split(/[\n\r]/u).pop())}function tt(t){return(t==null?void 0:t.type)==="value-atword"&&t.value.startsWith("prettier-placeholder-")}function ti(t,e){var s,r;if(((s=t.open)==null?void 0:s.value)!=="("||((r=t.close)==null?void 0:r.value)!==")"||t.groups.some(n=>n.type!=="value-comma_group"))return!1;if(e.type==="value-comma_group"){let n=e.groups.indexOf(t)-1,i=e.groups[n];if((i==null?void 0:i.type)==="value-word"&&i.value==="with")return!0}return!1}function rt(t){var e,s;return t.type==="value-paren_group"&&((e=t.open)==null?void 0:e.value)==="("&&((s=t.close)==null?void 0:s.value)===")"}function Gl(t,e,s){var d;let{node:r}=t,n=t.parent,i=t.grandparent,o=Ln(t),a=o&&n.type==="value-value"&&(o==="grid"||o.startsWith("grid-template")),u=t.findAncestor(m=>m.type==="css-atrule"),c=u&&Ze(u,e),f=r.groups.some(m=>Qr(m)),p=t.map(s,"groups"),l=[],w=ke(t,"url"),x=!1,h=!1;for(let m=0;mme:C!==-1?x=!0:me!==-1&&(x=!1)}if(x||Lt(g)||Lt(v)||g.type==="value-atword"&&(g.value===""||g.value.endsWith("["))||v.type==="value-word"&&v.value.startsWith("]")||g.value==="~"||g.type!=="value-string"&&g.value&&g.value.includes("\\")&&v&&v.type!=="value-comment"||b!=null&&b.value&&b.value.indexOf("\\")===b.value.length-1&&g.type==="value-operator"&&g.value==="/"||g.value==="\\"||Kn(g,v)||It(g)||Jr(g)||qt(v)||Jr(v)&&ce(v)||qt(g)&&ce(v)||g.value==="--"&&It(v))continue;let F=Nt(g),H=Nt(v);if((F&&It(v)||H&&qt(g))&&ce(v)||!b&&Xe(g)||ke(t,"calc")&&(Q(g)||Q(v)||le(g)||le(v))&&ce(v))continue;let $=(Q(g)||le(g))&&m===0&&(v.type==="value-number"||v.isHex)&&i&&ei(i)&&!ce(v),T=(R==null?void 0:R.type)==="value-func"||R&&et(R)||g.type==="value-func"||et(g),O=v.type==="value-func"||et(v)||(b==null?void 0:b.type)==="value-func"||b&&et(b);if(e.parser==="scss"&&F&&g.value==="-"&&v.type==="value-func"&&P(g)!==N(v)){l.push(" ");continue}if(!(!(At(v)||At(g))&&!ke(t,"calc")&&!$&&(Xe(v)&&!T||Xe(g)&&!O||Q(v)&&!T||Q(g)&&!O||le(v)||le(g))&&(ce(v)||F&&(!b||b&&Nt(b))))&&!((e.parser==="scss"||e.parser==="less")&&F&&g.value==="-"&&rt(v)&&P(g)===N(v.open)&&v.open.value==="(")){if(Qr(g)){if(n.type==="value-paren_group"){l.push(ue(E));continue}l.push(E);continue}if(c&&(Gn(v)||jn(v)||zn(v)||Vn(g)||Yn(g))){l.push(" ");continue}if(u&&u.name.toLowerCase()==="namespace"){l.push(" ");continue}if(a){g.source&&v.source&&g.source.start.line!==v.source.start.line?(l.push(E),h=!0):l.push(" ");continue}if(H){l.push(" ");continue}if((v==null?void 0:v.value)!=="..."&&!(tt(g)&&tt(v)&&P(g)===N(v))){if(tt(g)&&rt(v)&&P(g)===N(v.open)){l.push(M);continue}if(g.value==="with"&&rt(v)){l.push(" ");continue}(d=g.value)!=null&&d.endsWith("#")&&v.value==="{"&&rt(v.group)||l.push(A)}}}return f&&l.push(je),h&&l.unshift(E),c?L(q(l)):Un(t)?L(Ge(l)):L(q(Ge(l)))}var ri=Gl;function jl(t){return t.length===1?t:t.toLowerCase().replace(/^([+-]?[\d.]+e)(?:\+|(-))?0*(?=\d)/u,"$1$2").replace(/^([+-]?[\d.]+)e[+-]?0+$/u,"$1").replace(/^([+-])?\./u,"$10.").replace(/(\.\d+?)0+(?=e|$)/u,"$1").replace(/\.(?=e|$)/u,"")}var si=jl;var Xr=new Map([["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"],["cqw","cqw"],["cqh","cqh"],["cqi","cqi"],["cqb","cqb"],["cqmin","cqmin"],["cqmax","cqmax"]]);function ni(t){let e=t.toLowerCase();return Xr.has(e)?Xr.get(e):t}var ii=/(["'])(?:(?!\1)[^\\]|\\.)*\1/gsu,Hl=/(?:\d*\.\d+|\d+\.?)(?:e[+-]?\d+)?/giu,Kl=/[a-z]+/giu,Ql=/[$@]?[_a-z\u0080-\uFFFF][\w\u0080-\uFFFF-]*/giu,Jl=new RegExp(ii.source+`|(${Ql.source})?(${Hl.source})(${Kl.source})?`,"giu");function W(t,e){return _(!1,t,ii,s=>St(s,e))}function oi(t,e){let s=e.singleQuote?"'":'"';return t.includes('"')||t.includes("'")?t:s+t+s}function fe(t){return _(!1,t,Jl,(e,s,r,n,i)=>!r&&n?Zr(n)+te(i||""):e)}function Zr(t){return si(t).replace(/\.0(?=$|e)/u,"")}function ai(t){return t.trailingComma==="es5"||t.trailingComma==="all"}function Xl(t,e,s){let r=!!(s!=null&&s.backwards);if(e===!1)return!1;let n=t.charAt(e);if(r){if(t.charAt(e-1)==="\r"&&n===` +`)return e-2;if(n===` +`||n==="\r"||n==="\u2028"||n==="\u2029")return e-1}else{if(n==="\r"&&t.charAt(e+1)===` +`)return e+2;if(n===` +`||n==="\r"||n==="\u2028"||n==="\u2029")return e+1}return e}var Dt=Xl;function Zl(t,e,s={}){let r=Ot(t,s.backwards?e-1:e,s),n=Dt(t,r,s);return r!==n}var Mt=Zl;function ec(t,e){if(e===!1)return!1;if(t.charAt(e)==="/"&&t.charAt(e+1)==="*"){for(let s=e+2;ss.type==="value-comment"))&&ai(e)&&t.callParent(()=>Kr(t,e))?kt(","):""}function ci(t,e,s){let{node:r,parent:n}=t,i=t.map(({node:w})=>typeof w=="string"?w:s(),"groups");if(n&&Fn(n)&&(r.groups.length===1||r.groups.length>0&&r.groups[0].type==="value-comma_group"&&r.groups[0].groups.length>0&&r.groups[0].groups[0].type==="value-word"&&r.groups[0].groups[0].value.startsWith("data:")))return[r.open?s("open"):"",V(",",i),r.close?s("close"):""];if(!r.open){let w=es(t),x=V([",",w?E:A],i);return q(w?[E,x]:L(Ge(x)))}let o=t.map(({node:w,isLast:x,index:h})=>{var b;let d=i[h];if(Rt(w)&&w.type==="value-comma_group"&&w.groups&&w.groups[0].type!=="value-paren_group"&&((b=w.groups[2])==null?void 0:b.type)==="value-paren_group"){let{parts:g}=d.contents.contents;g[1]=L(g[1]),d=L(ue(d))}let m=[d,x?nc(t,e):","];if(!x&&w.type==="value-comma_group"&&ee(w.groups)){let g=G(!1,w.groups,-1);!g.source&&g.close&&(g=g.close),g.source&&Bt(e.originalText,P(g))&&m.push(E)}return m},"groups"),a=Xn(r,n),u=ti(r,n),c=Kr(t,e),f=u||c&&!a,p=u||a,l=L([r.open?s("open"):"",q([M,V(A,o)]),M,r.close?s("close"):""],{shouldBreak:f});return p?ue(l):l}function es(t){return t.match(e=>e.type==="value-paren_group"&&!e.open&&e.groups.some(s=>s.type==="value-comma_group"),(e,s)=>s==="group"&&e.type==="value-value",(e,s)=>s==="group"&&e.type==="value-root",(e,s)=>s==="value"&&(e.type==="css-decl"&&!e.prop.startsWith("--")||e.type==="css-atrule"&&e.variable))}function ic(t,e,s){let r=[];return t.each(()=>{let{node:n,previous:i}=t;if((i==null?void 0:i.type)==="css-comment"&&i.text.trim()==="prettier-ignore"?r.push(e.originalText.slice(N(n),P(n))):r.push(s()),t.isLast)return;let{next:o}=t;o.type==="css-comment"&&!Mt(e.originalText,N(o),{backwards:!0})&&!_e(n)||o.type==="css-atrule"&&o.name==="else"&&n.type!=="css-comment"?r.push(" "):(r.push(e.__isHTMLStyleAttribute?A:E),Bt(e.originalText,P(n))&&!_e(n)&&r.push(E))},"nodes"),r}var Te=ic;function oc(t,e,s){var n,i,o,a,u,c;let{node:r}=t;switch(r.type){case"front-matter":return[r.raw,E];case"css-root":{let f=Te(t,e,s),p=r.raws.after.trim();return p.startsWith(";")&&(p=p.slice(1).trim()),[r.frontMatter?[s("frontMatter"),E]:"",f,p?` ${p}`:"",r.nodes.length>0?E:""]}case"css-comment":{let f=r.inline||r.raws.inline,p=e.originalText.slice(N(r),P(r));return f?p.trimEnd():p}case"css-rule":return[s("selector"),r.important?" !important":"",r.nodes?[((n=r.selector)==null?void 0:n.type)==="selector-unknown"&&Se(r.selector.value)?A:r.selector?" ":"","{",r.nodes.length>0?q([E,Te(t,e,s)]):"",E,"}",Wn(r)?";":""]:";"];case"css-decl":{let f=t.parent,{between:p}=r.raws,l=p.trim(),w=l===":",x=typeof r.value=="string"&&/^ *$/u.test(r.value),h=typeof r.value=="string"?r.value:s("value");return h=Qn(r)?rn(h):h,!w&&Se(l)&&!((o=(i=r.value)==null?void 0:i.group)!=null&&o.group&&t.call(()=>es(t),"value","group","group"))&&(h=q([E,ue(h)])),[_(!1,r.raws.before,/[\s;]/gu,""),f.type==="css-atrule"&&f.variable||Bn(t)?r.prop:te(r.prop),l.startsWith("//")?" ":"",l,r.extend||x?"":" ",e.parser==="less"&&r.extend&&r.selector?["extend(",s("selector"),")"]:"",h,r.raws.important?r.raws.important.replace(/\s*!\s*important/iu," !important"):r.important?" !important":"",r.raws.scssDefault?r.raws.scssDefault.replace(/\s*!default/iu," !default"):r.scssDefault?" !default":"",r.raws.scssGlobal?r.raws.scssGlobal.replace(/\s*!global/iu," !global"):r.scssGlobal?" !global":"",r.nodes?[" {",q([M,Te(t,e,s)]),M,"}"]:Hn(r)&&!f.raws.semicolon&&e.originalText[P(r)-1]!==";"?"":e.__isHTMLStyleAttribute&&t.isLast?kt(";"):";"]}case"css-atrule":{let f=t.parent,p=Pt(r)&&!f.raws.semicolon&&e.originalText[P(r)-1]!==";";if(e.parser==="less"){if(r.mixin)return[s("selector"),r.important?" !important":"",p?"":";"];if(r.function)return[r.name,typeof r.params=="string"?r.params:s("params"),p?"":";"];if(r.variable)return["@",r.name,": ",r.value?s("value"):"",r.raws.between.trim()?r.raws.between.trim()+" ":"",r.nodes?["{",q([r.nodes.length>0?M:"",Te(t,e,s)]),M,"}"]:"",p?"":";"]}let l=r.name==="import"&&((a=r.params)==null?void 0:a.type)==="value-unknown"&&r.params.value.endsWith(";");return["@",Hr(r)||r.name.endsWith(":")||Pt(r)?r.name:te(r.name),r.params?[Hr(r)?"":Pt(r)?r.raws.afterName===""?"":r.name.endsWith(":")?" ":/^\s*\n\s*\n/u.test(r.raws.afterName)?[E,E]:/^\s*\n/u.test(r.raws.afterName)?E:" ":" ",typeof r.params=="string"?r.params:s("params")]:"",r.selector?q([" ",s("selector")]):"",r.value?L([" ",s("value"),Ze(r,e)?Jn(r)?" ":A:""]):r.name==="else"?" ":"",r.nodes?[Ze(r,e)?"":r.selector&&!r.selector.nodes&&typeof r.selector.value=="string"&&Se(r.selector.value)||!r.selector&&typeof r.params=="string"&&Se(r.params)?A:" ","{",q([r.nodes.length>0?M:"",Te(t,e,s)]),M,"}"]:p||l?"":";"]}case"media-query-list":{let f=[];return t.each(({node:p})=>{p.type==="media-query"&&p.value===""||f.push(s())},"nodes"),L(q(V(A,f)))}case"media-query":return[V(" ",t.map(s,"nodes")),t.isLast?"":","];case"media-type":return fe(W(r.value,e));case"media-feature-expression":return r.nodes?["(",...t.map(s,"nodes"),")"]:r.value;case"media-feature":return te(W(_(!1,r.value,/ +/gu," "),e));case"media-colon":return[r.value," "];case"media-value":return fe(W(r.value,e));case"media-keyword":return W(r.value,e);case"media-url":return W(_(!1,_(!1,r.value,/^url\(\s+/giu,"url("),/\s+\)$/gu,")"),e);case"media-unknown":return r.value;case"selector-root":return L([Ee(t,"custom-selector")?[t.findAncestor(f=>f.type==="css-atrule").customSelector,A]:"",V([",",Ee(t,["extend","custom-selector","nest"])?A:E],t.map(s,"nodes"))]);case"selector-selector":return L(q(t.map(s,"nodes")));case"selector-comment":return r.value;case"selector-string":return W(r.value,e);case"selector-tag":return[r.namespace?[r.namespace===!0?"":r.namespace.trim(),"|"]:"",((u=t.previous)==null?void 0:u.type)==="selector-nesting"?r.value:fe(Mn(t,r.value)?r.value.toLowerCase():r.value)];case"selector-id":return["#",r.value];case"selector-class":return[".",fe(W(r.value,e))];case"selector-attribute":return["[",r.namespace?[r.namespace===!0?"":r.namespace.trim(),"|"]:"",r.attribute.trim(),r.operator??"",r.value?oi(W(r.value.trim(),e),e):"",r.insensitive?" i":"","]"];case"selector-combinator":{if(r.value==="+"||r.value===">"||r.value==="~"||r.value===">>>"){let l=t.parent;return[l.type==="selector-selector"&&l.nodes[0]===r?"":A,r.value,t.isLast?"":" "]}let f=r.value.trim().startsWith("(")?A:"",p=fe(W(r.value.trim(),e))||A;return[f,p]}case"selector-universal":return[r.namespace?[r.namespace===!0?"":r.namespace.trim(),"|"]:"",r.value];case"selector-pseudo":return[te(r.value),ee(r.nodes)?L(["(",q([M,V([",",A],t.map(s,"nodes"))]),M,")"]):""];case"selector-nesting":return r.value;case"selector-unknown":{let f=t.findAncestor(w=>w.type==="css-rule");if(f!=null&&f.isSCSSNesterProperty)return fe(W(te(r.value),e));let p=t.parent;if((c=p.raws)!=null&&c.selector){let w=N(p),x=w+p.raws.selector.length;return e.originalText.slice(w,x).trim()}let l=t.grandparent;if(p.type==="value-paren_group"&&(l==null?void 0:l.type)==="value-func"&&l.value==="selector"){let w=P(p.open)+1,x=N(p.close),h=e.originalText.slice(w,x).trim();return Se(h)?[je,h]:h}return r.value}case"value-value":case"value-root":return s("group");case"value-comment":return e.originalText.slice(N(r),P(r));case"value-comma_group":return ri(t,e,s);case"value-paren_group":return ci(t,e,s);case"value-func":return[r.value,Ee(t,"supports")&&Zn(r)?" ":"",s("group")];case"value-paren":return r.value;case"value-number":return[Zr(r.value),ni(r.unit)];case"value-operator":return r.value;case"value-word":return r.isColor&&r.isHex||Dn(r.value)?r.value.toLowerCase():r.value;case"value-colon":{let{previous:f}=t;return[r.value,typeof(f==null?void 0:f.value)=="string"&&f.value.endsWith("\\")||ke(t,"url")?"":A]}case"value-string":return St(r.raws.quote+r.value+r.raws.quote,e);case"value-atword":return["@",r.value];case"value-unicode-range":return r.value;case"value-unknown":return r.value;case"value-comma":default:throw new an(r,"PostCSS")}}var ac={print:oc,embed:pn,insertPragma:qn,massageAstNode:ln,getVisitorKeys:mn},fi=ac;var pi=[{linguistLanguageId:50,name:"CSS",type:"markup",tmScope:"source.css",aceMode:"css",codemirrorMode:"css",codemirrorMimeType:"text/css",color:"#563d7c",extensions:[".css",".wxss"],parsers:["css"],vscodeLanguageIds:["css"]},{linguistLanguageId:262764437,name:"PostCSS",type:"markup",color:"#dc3a0c",tmScope:"source.postcss",group:"CSS",extensions:[".pcss",".postcss"],aceMode:"text",parsers:["css"],vscodeLanguageIds:["postcss"]},{linguistLanguageId:198,name:"Less",type:"markup",color:"#1d365d",aliases:["less-css"],extensions:[".less"],tmScope:"source.css.less",aceMode:"less",codemirrorMode:"css",codemirrorMimeType:"text/css",parsers:["less"],vscodeLanguageIds:["less"]},{linguistLanguageId:329,name:"SCSS",type:"markup",color:"#c6538c",tmScope:"source.css.scss",aceMode:"scss",codemirrorMode:"css",codemirrorMimeType:"text/x-scss",extensions:[".scss"],parsers:["scss"],vscodeLanguageIds:["scss"]}];var hi={bracketSpacing:{category:"Common",type:"boolean",default:!0,description:"Print spaces between brackets.",oppositeDescription:"Do not print spaces between brackets."},singleQuote:{category:"Common",type:"boolean",default:!1,description:"Use single quotes instead of double quotes."},proseWrap:{category:"Common",type:"choice",default:"preserve",description:"How to wrap prose.",choices:[{value:"always",description:"Wrap prose if it exceeds the print width."},{value:"never",description:"Do not wrap prose."},{value:"preserve",description:"Wrap prose as-is."}]},bracketSameLine:{category:"Common",type:"boolean",default:!1,description:"Put > of opening tags on the last line instead of on a new line."},singleAttributePerLine:{category:"Common",type:"boolean",default:!1,description:"Enforce single attribute per line in HTML, Vue and JSX."}};var uc={singleQuote:hi.singleQuote},di=uc;var Ks={};Xs(Ks,{css:()=>by,less:()=>_y,scss:()=>ky});var el=ye(pt(),1),tl=ye(bo(),1),rl=ye(ta(),1);function Hf(t,e){let s=new SyntaxError(t+" ("+e.loc.start.line+":"+e.loc.start.column+")");return Object.assign(s,e)}var ra=Hf;var la=ye(ua(),1);function J(t,e,s){if(t&&typeof t=="object"){delete t.parent;for(let r in t)J(t[r],e,s),r==="type"&&typeof t[r]=="string"&&!t[r].startsWith(e)&&(!s||!s.test(t[r]))&&(t[r]=e+t[r])}return t}function Is(t){if(t&&typeof t=="object"){delete t.parent;for(let e in t)Is(t[e]);!Array.isArray(t)&&t.value&&!t.type&&(t.type="unknown")}return t}var op=la.default.default;function ap(t){let e;try{e=op(t)}catch{return{type:"selector-unknown",value:t}}return J(Is(e),"media-")}var ca=ap;var nu=ye(su(),1);function bm(t){if(/\/\/|\/\*/u.test(t))return{type:"selector-unknown",value:t.trim()};let e;try{new nu.default(s=>{e=s}).process(t)}catch{return{type:"selector-unknown",value:t}}return J(e,"selector-")}var Z=bm;var Qu=ye(Vu(),1);var ly=t=>{for(;t.parent;)t=t.parent;return t},Mr=ly;function cy(t){return Mr(t).text.slice(t.group.open.sourceIndex+1,t.group.close.sourceIndex).trim()}var Gu=cy;function fy(t){if(ee(t)){for(let e=t.length-1;e>0;e--)if(t[e].type==="word"&&t[e].value==="{"&&t[e-1].type==="word"&&t[e-1].value.endsWith("#"))return!0}return!1}var ju=fy;function py(t){return t.some(e=>e.type==="string"||e.type==="func"&&!e.value.endsWith("\\"))}var Hu=py;function hy(t,e){return!!(e.parser==="scss"&&(t==null?void 0:t.type)==="word"&&t.value.startsWith("$"))}var Ku=hy;function dy(t,e){var u;let{nodes:s}=t,r={open:null,close:null,groups:[],type:"paren_group"},n=[r],i=r,o={groups:[],type:"comma_group"},a=[o];for(let c=0;c0&&r.groups.push(o),r.close=f,a.length===1)throw new Error("Unbalanced parenthesis");a.pop(),o=G(!1,a,-1),o.groups.push(r),n.pop(),r=G(!1,n,-1)}else f.type==="comma"?(r.groups.push(o),o={groups:[],type:"comma_group"},a[a.length-1]=o):o.groups.push(f)}return o.groups.length>0&&r.groups.push(o),i}function Br(t){return t.type==="paren_group"&&!t.open&&!t.close&&t.groups.length===1||t.type==="comma_group"&&t.groups.length===1?Br(t.groups[0]):t.type==="paren_group"||t.type==="comma_group"?{...t,groups:t.groups.map(Br)}:t}function Ju(t,e){if(t&&typeof t=="object")for(let s in t)s!=="parent"&&(Ju(t[s],e),s==="nodes"&&(t.group=Br(dy(t,e)),delete t[s]));return t}function my(t,e){if(e.parser==="less"&&t.startsWith("~`"))return{type:"value-unknown",value:t};let s=null;try{s=new Qu.default(t,{loose:!0}).parse()}catch{return{type:"value-unknown",value:t}}s.text=t;let r=Ju(s,e);return J(r,"value-",/^selector-/u)}var ie=my;var yy=new Set(["import","use","forward"]);function wy(t){return yy.has(t)}var Xu=wy;function gy(t,e){return e.parser!=="scss"||!t.selector?!1:t.selector.replace(/\/\*.*?\*\//u,"").replace(/\/\/.*\n/u,"").trim().endsWith(":")}var Zu=gy;var vy=/(\s*)(!default).*$/u,xy=/(\s*)(!global).*$/u;function sl(t,e){var s,r;if(t&&typeof t=="object"){delete t.parent;for(let a in t)sl(t[a],e);if(!t.type)return t;if(t.raws??(t.raws={}),t.type==="css-decl"&&typeof t.prop=="string"&&t.prop.startsWith("--")&&typeof t.value=="string"&&t.value.startsWith("{")){let a;if(t.value.trimEnd().endsWith("}")){let u=e.originalText.slice(0,t.source.start.offset),c="a".repeat(t.prop.length)+e.originalText.slice(t.source.start.offset+t.prop.length,t.source.end.offset),f=_(!1,u,/[^\n]/gu," ")+c,p;e.parser==="scss"?p=ol:e.parser==="less"?p=il:p=nl;let l;try{l=p(f,{...e})}catch{}((s=l==null?void 0:l.nodes)==null?void 0:s.length)===1&&l.nodes[0].type==="css-rule"&&(a=l.nodes[0].nodes)}return a?t.value={type:"css-rule",nodes:a}:t.value={type:"value-unknown",value:t.raws.value.raw},t}let n="";typeof t.selector=="string"&&(n=t.raws.selector?t.raws.selector.scss??t.raws.selector.raw:t.selector,t.raws.between&&t.raws.between.trim().length>0&&(n+=t.raws.between),t.raws.selector=n);let i="";typeof t.value=="string"&&(i=t.raws.value?t.raws.value.scss??t.raws.value.raw:t.value,i=i.trim(),t.raws.value=i);let o="";if(typeof t.params=="string"&&(o=t.raws.params?t.raws.params.scss??t.raws.params.raw:t.params,t.raws.afterName&&t.raws.afterName.trim().length>0&&(o=t.raws.afterName+o),t.raws.between&&t.raws.between.trim().length>0&&(o=o+t.raws.between),o=o.trim(),t.raws.params=o),n.trim().length>0)return n.startsWith("@")&&n.endsWith(":")?t:t.mixin?(t.selector=ie(n,e),t):(Zu(t,e)&&(t.isSCSSNesterProperty=!0),t.selector=Z(n),t);if(i.length>0){let a=i.match(vy);a&&(i=i.slice(0,a.index),t.scssDefault=!0,a[0].trim()!=="!default"&&(t.raws.scssDefault=a[0]));let u=i.match(xy);if(u&&(i=i.slice(0,u.index),t.scssGlobal=!0,u[0].trim()!=="!global"&&(t.raws.scssGlobal=u[0])),i.startsWith("progid:"))return{type:"value-unknown",value:i};t.value=ie(i,e)}if(e.parser==="less"&&t.type==="css-decl"&&i.startsWith("extend(")&&(t.extend||(t.extend=t.raws.between===":"),t.extend&&!t.selector&&(delete t.value,t.selector=Z(i.slice(7,-1)))),t.type==="css-atrule"){if(e.parser==="less"){if(t.mixin){let a=t.raws.identifier+t.name+t.raws.afterName+t.raws.params;return t.selector=Z(a),delete t.params,t}if(t.function)return t}if(e.parser==="css"&&t.name==="custom-selector"){let a=t.params.match(/:--\S+\s+/u)[0].trim();return t.customSelector=a,t.selector=Z(t.params.slice(a.length).trim()),delete t.params,t}if(e.parser==="less"){if(t.name.includes(":")&&!t.params){t.variable=!0;let a=t.name.split(":");t.name=a[0],t.value=ie(a.slice(1).join(":"),e)}if(!["page","nest","keyframes"].includes(t.name)&&((r=t.params)==null?void 0:r[0])===":"){t.variable=!0;let a=t.params.slice(1);a&&(t.value=ie(a,e)),t.raws.afterName+=":"}if(t.variable)return delete t.params,t.value||delete t.value,t}}if(t.type==="css-atrule"&&o.length>0){let{name:a}=t,u=t.name.toLowerCase();return a==="warn"||a==="error"?(t.params={type:"media-unknown",value:o},t):a==="extend"||a==="nest"?(t.selector=Z(o),delete t.params,t):a==="at-root"?(/^\(\s*(?:without|with)\s*:.+\)$/su.test(o)?t.params=ie(o,e):(t.selector=Z(o),delete t.params),t):Xu(u)?(t.import=!0,delete t.filename,t.params=ie(o,e),t):["namespace","supports","if","else","for","each","while","debug","mixin","include","function","return","define-mixin","add-mixin"].includes(a)?(o=o.replace(/(\$\S+?)(\s+)?\.{3}/u,"$1...$2"),o=o.replace(/^(?!if)(\S+)(\s+)\(/u,"$1($2"),t.value=ie(o,e),delete t.params,t):["media","custom-media"].includes(u)?o.includes("#{")?{type:"media-unknown",value:o}:(t.params=ca(o),t):(t.params=o,t)}}return t}function js(t,e,s){let r=Je(e),{frontMatter:n}=r;e=r.content;let i;try{i=t(e,{map:!1})}catch(o){let{name:a,reason:u,line:c,column:f}=o;throw typeof c!="number"?o:ra(`${a}: ${u}`,{loc:{start:{line:c,column:f}},cause:o})}return s.originalText=e,i=sl(J(i,"css-"),s),Gr(i,e),n&&(n.source={startOffset:0,endOffset:n.raw.length},i.frontMatter=n),i}function nl(t,e={}){return js(el.default.default,t,e)}function il(t,e={}){return js(s=>tl.default.parse(vn(s)),t,e)}function ol(t,e={}){return js(rl.default,t,e)}var Hs={astFormat:"postcss",hasPragma:In,locStart:N,locEnd:P},by={...Hs,parse:nl},_y={...Hs,parse:il},ky={...Hs,parse:ol};var Ey={postcss:fi};var Ob=Qs;export{Ob as default,pi as languages,di as options,Ks as parsers,Ey as printers}; diff --git a/node_modules/prettier/plugins/typescript.js b/node_modules/prettier/plugins/typescript.js index 1b56dbb472..f70ac00b6f 100644 --- a/node_modules/prettier/plugins/typescript.js +++ b/node_modules/prettier/plugins/typescript.js @@ -1,27 +1,20 @@ -(function(f){function e(){var i=f();return i.default||i}if(typeof exports=="object"&&typeof module=="object")module.exports=e();else if(typeof define=="function"&&define.amd)define(e);else{var t=typeof globalThis<"u"?globalThis:typeof global<"u"?global:typeof self<"u"?self:this||{};t.prettierPlugins=t.prettierPlugins||{},t.prettierPlugins.typescript=e()}})(function(){"use strict";var TC=Object.create;var Bd=Object.defineProperty;var xC=Object.getOwnPropertyDescriptor;var SC=Object.getOwnPropertyNames;var wC=Object.getPrototypeOf,EC=Object.prototype.hasOwnProperty;var X6=(e,t)=>()=>(e&&(t=e(e=0)),t);var tt=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),Ud=(e,t)=>{for(var n in t)Bd(e,n,{get:t[n],enumerable:!0})},$6=(e,t,n,i)=>{if(t&&typeof t=="object"||typeof t=="function")for(let s of SC(t))!EC.call(e,s)&&s!==n&&Bd(e,s,{get:()=>t[s],enumerable:!(i=xC(t,s))||i.enumerable});return e};var Xy=(e,t,n)=>(n=e!=null?TC(wC(e)):{},$6(t||!e||!e.__esModule?Bd(n,"default",{value:e,enumerable:!0}):n,e)),Er=e=>$6(Bd({},"__esModule",{value:!0}),e);var qd={};Ud(qd,{default:()=>kC});var CC,kC,zd=X6(()=>{CC=()=>()=>{},kC=CC});var Cn=tt((GK,z7)=>{var AC=Object.defineProperty,Ov=Object.getOwnPropertyNames,Ht=(e,t)=>function(){return e&&(t=(0,e[Ov(e)[0]])(e=0)),t},DC=(e,t)=>function(){return t||(0,e[Ov(e)[0]])((t={exports:{}}).exports,t),t.exports},PC=(e,t)=>{for(var n in t)AC(e,n,{get:t[n],enumerable:!0})},Mv,uf,nh,NC=Ht({"src/compiler/corePublic.ts"(){"use strict";Mv="5.1",uf="5.1.5",nh=(e=>(e[e.LessThan=-1]="LessThan",e[e.EqualTo=0]="EqualTo",e[e.GreaterThan=1]="GreaterThan",e))(nh||{})}});function Ha(e){return e?e.length:0}function hn(e,t){if(e)for(let n=0;n=0;n--){let i=t(e[n],n);if(i)return i}}function og(e,t){if(e!==void 0)for(let n=0;n=0;i--){let s=e[i];if(t(s,i))return s}}function el(e,t,n){if(e===void 0)return-1;for(let i=n??0;i=0;i--)if(t(e[i],i))return i;return-1}function RC(e,t){for(let n=0;nn(i,t[s]))}function Jv(e,t,n){for(let i=n||0;i{let l=t(s,i);if(l!==void 0){let[d,y]=l;d!==void 0&&y!==void 0&&n.set(d,y)}}),n}function KC(e,t,n){if(e.has(t))return e.get(t);let i=n();return e.set(t,i),i}function GC(e,t){return e.has(t)?!1:(e.add(t),!0)}function*XC(e){yield e}function $C(e,t,n){let i;if(e){i=[];let s=e.length,l,d,y=0,p=0;for(;y{let[l,d]=t(s,i);n.set(l,d)}),n}function ft(e,t){if(e)if(t){for(let n of e)if(t(n))return!0}else return e.length>0;return!1}function YC(e,t,n){let i;for(let s=0;se[d])}function t9(e,t){let n=[];for(let i of e)wl(n,i,t);return n}function jv(e,t,n){return e.length===0?[]:e.length===1?e.slice():n?e9(e,t,n):t9(e,t)}function n9(e,t){if(e.length===0)return Xe;let n=e[0],i=[n];for(let s=1;s0&&(s&=-2),s&2&&i(l,p)>0&&(s&=-3),l=p}return s}function o9(e,t,n=to){if(!e||!t)return e===t;if(e.length!==t.length)return!1;for(let i=0;i0&&M.assertGreaterThanOrEqual(n(t[l],t[l-1]),0);t:for(let d=s;sd&&M.assertGreaterThanOrEqual(n(e[s],e[s-1]),0),n(t[l],e[s])){case-1:i.push(t[l]);continue e;case 0:continue e;case 1:continue t}}return i}function Tt(e,t){return t===void 0?e:e===void 0?[t]:(e.push(t),e)}function c9(e,t){return e===void 0?t:t===void 0?e:Wt(e)?Wt(t)?d_(e,t):Tt(e,t):Wt(t)?Tt(t,e):[e,t]}function ih(e,t){return t<0?e.length+t:t}function Mn(e,t,n,i){if(t===void 0||t.length===0)return e;if(e===void 0)return t.slice(n,i);n=n===void 0?0:ih(t,n),i=i===void 0?t.length:ih(t,i);for(let s=n;sn(e[i],e[s])||wn(i,s))}function pf(e,t){return e.length===0?e:e.slice().sort(t)}function*l9(e){for(let t=e.length-1;t>=0;t--)yield e[t]}function zv(e,t){let n=_g(e);return qv(e,n,t),n.map(i=>e[i])}function u9(e,t,n,i){for(;n>1),p=n(e[y],y);switch(i(p,t)){case-1:l=y+1;break;case 0:return y;case 1:d=y-1;break}}return~l}function em(e,t,n,i,s){if(e&&e.length>0){let l=e.length;if(l>0){let d=i===void 0||i<0?0:i,y=s===void 0||d+s>l-1?l-1:d+s,p;for(arguments.length<=2?(p=e[d],d++):p=n;d<=y;)p=t(p,e[d],d),d++;return p}}return n}function Xn(e,t){return Pr.call(e,t)}function h9(e,t){return Pr.call(e,t)?e[t]:void 0}function lg(e){let t=[];for(let n in e)Pr.call(e,n)&&t.push(n);return t}function g9(e){let t=[];do{let n=Object.getOwnPropertyNames(e);for(let i of n)wl(t,i)}while(e=Object.getPrototypeOf(e));return t}function b9(e){let t=[];for(let n in e)Pr.call(e,n)&&t.push(e[n]);return t}function v9(e,t){let n=new Array(e);for(let i=0;i100&&n>t.length>>1){let y=t.length-n;t.copyWithin(0,n),t.length=y,n=0}return d}return{enqueue:s,dequeue:l,isEmpty:i}}function I9(e,t){let n=new Map,i=0;function*s(){for(let d of n.values())Wt(d)?yield*d:yield d}let l={has(d){let y=e(d);if(!n.has(y))return!1;let p=n.get(y);if(!Wt(p))return t(p,d);for(let x of p)if(t(x,d))return!0;return!1},add(d){let y=e(d);if(n.has(y)){let p=n.get(y);if(Wt(p))ns(p,d,t)||(p.push(d),i++);else{let x=p;t(x,d)||(n.set(y,[x,d]),i++)}}else n.set(y,d),i++;return this},delete(d){let y=e(d);if(!n.has(y))return!1;let p=n.get(y);if(Wt(p)){for(let x=0;xs(),[Symbol.toStringTag]:n[Symbol.toStringTag]};return l}function Wt(e){return Array.isArray(e)}function Gd(e){return Wt(e)?e:[e]}function m_(e){return typeof e=="string"}function O9(e){return typeof e=="number"}function Ar(e,t){return e!==void 0&&t(e)?e:void 0}function mi(e,t){return e!==void 0&&t(e)?e:M.fail(`Invalid cast. The supplied value ${e} did not pass the test '${M.getFunctionName(t)}'.`)}function Nr(e){}function df(){return!1}function Kv(){return!0}function M9(){}function ht(e){return e}function Gv(e){return e.toLowerCase()}function Xv(e){return sh.test(e)?e.replace(sh,Gv):e}function L9(){throw new Error("Not implemented")}function ah(e){let t;return()=>(e&&(t=e(),e=void 0),t)}function kr(e){let t=new Map;return n=>{let i=`${typeof n}:${n}`,s=t.get(i);return s===void 0&&!t.has(i)&&(s=e(n),t.set(i,s)),s}}function J9(e){let t=new WeakMap;return n=>{let i=t.get(n);return i===void 0&&!t.has(n)&&(i=e(n),t.set(n,i)),i}}function R9(e,t){return(...n)=>{let i=t.get(n);return i===void 0&&!t.has(n)&&(i=e(...n),t.set(n,i)),i}}function F9(e,t,n,i,s){if(s){let l=[];for(let d=0;dem(l,(y,p)=>p(y),d)}else return i?l=>i(n(t(e(l)))):n?l=>n(t(e(l))):t?l=>t(e(l)):e?l=>e(l):l=>l}function to(e,t){return e===t}function i_(e,t){return e===t||e!==void 0&&t!==void 0&&e.toUpperCase()===t.toUpperCase()}function Cl(e,t){return to(e,t)}function $v(e,t){return e===t?0:e===void 0?-1:t===void 0?1:et(n,i)===-1?n:i)}function rm(e,t){return e===t?0:e===void 0?-1:t===void 0?1:(e=e.toUpperCase(),t=t.toUpperCase(),et?1:0)}function U9(e,t){return e===t?0:e===void 0?-1:t===void 0?1:(e=e.toLowerCase(),t=t.toLowerCase(),et?1:0)}function xi(e,t){return $v(e,t)}function ug(e){return e?rm:xi}function q9(){return mf}function Qv(e){mf!==e&&(mf=e,ch=void 0)}function z9(e,t){return(ch||(ch=sT(mf)))(e,t)}function W9(e,t,n,i){return e===t?0:e===void 0?-1:t===void 0?1:i(e[n],t[n])}function V9(e,t){return wn(e?1:0,t?1:0)}function Yv(e,t,n){let i=Math.max(2,Math.floor(e.length*.34)),s=Math.floor(e.length*.4)+1,l;for(let d of t){let y=n(d);if(y!==void 0&&Math.abs(y.length-e.length)<=i){if(y===e||y.length<3&&y.toLowerCase()!==e.toLowerCase())continue;let p=H9(e,y,s-.1);if(p===void 0)continue;M.assert(pn?y-n:1),h=Math.floor(t.length>n+y?n+y:t.length);s[0]=y;let D=y;for(let g=1;gn)return;let w=i;i=s,s=w}let d=i[t.length];return d>n?void 0:d}function rs(e,t){let n=e.length-t.length;return n>=0&&e.indexOf(t,n)===n}function K9(e,t){return rs(e,t)?e.slice(0,e.length-t.length):e}function G9(e,t){return rs(e,t)?e.slice(0,e.length-t.length):void 0}function Ga(e,t){return e.indexOf(t)!==-1}function X9(e){let t=e.length;for(let n=t-1;n>0;n--){let i=e.charCodeAt(n);if(i>=48&&i<=57)do--n,i=e.charCodeAt(n);while(n>0&&i>=48&&i<=57);else if(n>4&&(i===110||i===78)){if(--n,i=e.charCodeAt(n),i!==105&&i!==73||(--n,i=e.charCodeAt(n),i!==109&&i!==77))break;--n,i=e.charCodeAt(n)}else break;if(i!==45&&i!==46)break;t=n}return t===e.length?e:e.slice(0,t)}function $9(e,t){for(let n=0;nn===t)}function Q9(e,t){for(let n=0;ns&&(s=d.prefix.length,i=l)}return i}function Jn(e,t){return e.lastIndexOf(t,0)===0}function e5(e,t){return Jn(e,t)?e.substr(t.length):e}function nT(e,t,n=ht){return Jn(n(e),n(t))?e.substring(t.length):void 0}function dg({prefix:e,suffix:t},n){return n.length>=e.length+t.length&&Jn(n,e)&&rs(n,t)}function t5(e,t){return n=>e(n)&&t(n)}function fg(...e){return(...t)=>{let n;for(let i of e)if(n=i(...t),n)return n;return n}}function n5(e){return(...t)=>!e(...t)}function r5(e){}function ff(e){return e===void 0?void 0:[e]}function i5(e,t,n,i,s,l){l=l||Nr;let d=0,y=0,p=e.length,x=t.length,h=!1;for(;d=0&&qi(e.charCodeAt(t));)t--;return e.slice(0,t+1)}function l5(){return!1}var Xe,mg,aT,oh,oT,Pr,sh,_h,sT,ch,mf,am,e_,ll,u5=Ht({"src/compiler/core.ts"(){"use strict";En(),Xe=[],mg=new Map,aT=new Set,oh=(e=>(e[e.None=0]="None",e[e.CaseSensitive=1]="CaseSensitive",e[e.CaseInsensitive=2]="CaseInsensitive",e[e.Both=3]="Both",e))(oh||{}),oT=Array.prototype.at?(e,t)=>e==null?void 0:e.at(t):(e,t)=>{if(e&&(t=ih(e,t),t(e[e.None=0]="None",e[e.Normal=1]="Normal",e[e.Aggressive=2]="Aggressive",e[e.VeryAggressive=3]="VeryAggressive",e))(_h||{}),sT=(()=>{let e,t,n=y();return p;function i(x,h,D){if(x===h)return 0;if(x===void 0)return-1;if(h===void 0)return 1;let w=D(x,h);return w<0?-1:w>0?1:0}function s(x){let h=new Intl.Collator(x,{usage:"sort",sensitivity:"variant"}).compare;return(D,w)=>i(D,w,h)}function l(x){if(x!==void 0)return d();return(D,w)=>i(D,w,h);function h(D,w){return D.localeCompare(w)}}function d(){return(D,w)=>i(D,w,x);function x(D,w){return h(D.toUpperCase(),w.toUpperCase())||h(D,w)}function h(D,w){return Dw?1:0}}function y(){return typeof Intl=="object"&&typeof Intl.Collator=="function"?s:typeof String.prototype.localeCompare=="function"&&typeof String.prototype.toLocaleUpperCase=="function"&&"a".localeCompare("B")<0?l:d}function p(x){return x===void 0?e||(e=n(x)):x==="en-US"?t||(t=n(x)):n(x)}})(),am=String.prototype.trim?e=>e.trim():e=>e_(ll(e)),e_=String.prototype.trimEnd?e=>e.trimEnd():c5,ll=String.prototype.trimStart?e=>e.trimStart():e=>e.replace(/^\s+/g,"")}}),lh,M,_T=Ht({"src/compiler/debug.ts"(){"use strict";En(),En(),lh=(e=>(e[e.Off=0]="Off",e[e.Error=1]="Error",e[e.Warning=2]="Warning",e[e.Info=3]="Info",e[e.Verbose=4]="Verbose",e))(lh||{}),(e=>{let t=0;e.currentLogLevel=2,e.isDebugging=!1;function n(H){return e.currentLogLevel<=H}e.shouldLog=n;function i(H,de){e.loggingHost&&n(H)&&e.loggingHost.log(H,de)}function s(H){i(3,H)}e.log=s,(H=>{function de(Qe){i(1,Qe)}H.error=de;function be(Qe){i(2,Qe)}H.warn=be;function Ee(Qe){i(3,Qe)}H.log=Ee;function et(Qe){i(4,Qe)}H.trace=et})(s=e.log||(e.log={}));let l={};function d(){return t}e.getAssertionLevel=d;function y(H){let de=t;if(t=H,H>de)for(let be of lg(l)){let Ee=l[be];Ee!==void 0&&e[be]!==Ee.assertion&&H>=Ee.level&&(e[be]=Ee,l[be]=void 0)}}e.setAssertionLevel=y;function p(H){return t>=H}e.shouldAssert=p;function x(H,de){return p(H)?!0:(l[de]={level:H,assertion:e[de]},e[de]=Nr,!1)}function h(H,de){debugger;let be=new Error(H?`Debug Failure. ${H}`:"Debug Failure.");throw Error.captureStackTrace&&Error.captureStackTrace(be,de||h),be}e.fail=h;function D(H,de,be){return h(`${de||"Unexpected node."}\r -Node ${Qt(H.kind)} was unexpected.`,be||D)}e.failBadSyntaxKind=D;function w(H,de,be,Ee){H||(de=de?`False expression: ${de}`:"False expression.",be&&(de+=`\r -Verbose Debug Information: `+(typeof be=="string"?be:be())),h(de,Ee||w))}e.assert=w;function g(H,de,be,Ee,et){if(H!==de){let Qe=be?Ee?`${be} ${Ee}`:be:"";h(`Expected ${H} === ${de}. ${Qe}`,et||g)}}e.assertEqual=g;function A(H,de,be,Ee){H>=de&&h(`Expected ${H} < ${de}. ${be||""}`,Ee||A)}e.assertLessThan=A;function B(H,de,be){H>de&&h(`Expected ${H} <= ${de}`,be||B)}e.assertLessThanOrEqual=B;function G(H,de,be){H= ${de}`,be||G)}e.assertGreaterThanOrEqual=G;function oe(H,de,be){H==null&&h(de,be||oe)}e.assertIsDefined=oe;function Q(H,de,be){return oe(H,de,be||Q),H}e.checkDefined=Q;function W(H,de,be){for(let Ee of H)oe(Ee,de,be||W)}e.assertEachIsDefined=W;function se(H,de,be){return W(H,de,be||se),H}e.checkEachDefined=se;function we(H,de="Illegal value:",be){let Ee=typeof H=="object"&&Xn(H,"kind")&&Xn(H,"pos")?"SyntaxKind: "+Qt(H.kind):JSON.stringify(H);return h(`${de} ${Ee}`,be||we)}e.assertNever=we;function Ze(H,de,be,Ee){x(1,"assertEachNode")&&w(de===void 0||eo(H,de),be||"Unexpected node.",()=>`Node array did not pass test '${_n(de)}'.`,Ee||Ze)}e.assertEachNode=Ze;function Ue(H,de,be,Ee){x(1,"assertNode")&&w(H!==void 0&&(de===void 0||de(H)),be||"Unexpected node.",()=>`Node ${Qt(H==null?void 0:H.kind)} did not pass test '${_n(de)}'.`,Ee||Ue)}e.assertNode=Ue;function rt(H,de,be,Ee){x(1,"assertNotNode")&&w(H===void 0||de===void 0||!de(H),be||"Unexpected node.",()=>`Node ${Qt(H.kind)} should not have passed test '${_n(de)}'.`,Ee||rt)}e.assertNotNode=rt;function ct(H,de,be,Ee){x(1,"assertOptionalNode")&&w(de===void 0||H===void 0||de(H),be||"Unexpected node.",()=>`Node ${Qt(H==null?void 0:H.kind)} did not pass test '${_n(de)}'.`,Ee||ct)}e.assertOptionalNode=ct;function Dn(H,de,be,Ee){x(1,"assertOptionalToken")&&w(de===void 0||H===void 0||H.kind===de,be||"Unexpected node.",()=>`Node ${Qt(H==null?void 0:H.kind)} was not a '${Qt(de)}' token.`,Ee||Dn)}e.assertOptionalToken=Dn;function sn(H,de,be){x(1,"assertMissingNode")&&w(H===void 0,de||"Unexpected node.",()=>`Node ${Qt(H.kind)} was unexpected'.`,be||sn)}e.assertMissingNode=sn;function ei(H){}e.type=ei;function _n(H){if(typeof H!="function")return"";if(Xn(H,"name"))return H.name;{let de=Function.prototype.toString.call(H),be=/^function\s+([\w\$]+)\s*\(/.exec(de);return be?be[1]:""}}e.getFunctionName=_n;function Pn(H){return`{ name: ${Xo(H.escapedName)}; flags: ${Un(H.flags)}; declarations: ${ga(H.declarations,de=>Qt(de.kind))} }`}e.formatSymbol=Pn;function $e(H=0,de,be){let Ee=jn(de);if(H===0)return Ee.length>0&&Ee[0][0]===0?Ee[0][1]:"0";if(be){let et=[],Qe=H;for(let[ee,Z]of Ee){if(ee>H)break;ee!==0&&ee&H&&(et.push(Z),Qe&=~ee)}if(Qe===0)return et.join("|")}else for(let[et,Qe]of Ee)if(et===H)return Qe;return H.toString()}e.formatEnum=$e;let $t=new Map;function jn(H){let de=$t.get(H);if(de)return de;let be=[];for(let et in H){let Qe=H[et];typeof Qe=="number"&&be.push([Qe,et])}let Ee=zv(be,(et,Qe)=>wn(et[0],Qe[0]));return $t.set(H,Ee),Ee}function Qt(H){return $e(H,bf,!1)}e.formatSyntaxKind=Qt;function fr(H){return $e(H,Pf,!1)}e.formatSnippetKind=fr;function Bn(H){return $e(H,vf,!0)}e.formatNodeFlags=Bn;function dn(H){return $e(H,Tf,!0)}e.formatModifierFlags=dn;function Yt(H){return $e(H,Df,!0)}e.formatTransformFlags=Yt;function vt(H){return $e(H,Nf,!0)}e.formatEmitFlags=vt;function Un(H){return $e(H,wf,!0)}e.formatSymbolFlags=Un;function qn(H){return $e(H,Ef,!0)}e.formatTypeFlags=qn;function gt(H){return $e(H,kf,!0)}e.formatSignatureFlags=gt;function lt(H){return $e(H,Cf,!0)}e.formatObjectFlags=lt;function Zt(H){return $e(H,ul,!0)}e.formatFlowFlags=Zt;function zn(H){return $e(H,xf,!0)}e.formatRelationComparisonResult=zn;function mt(H){return $e(H,CheckMode,!0)}e.formatCheckMode=mt;function mr(H){return $e(H,SignatureCheckMode,!0)}e.formatSignatureCheckMode=mr;function bt(H){return $e(H,TypeFacts,!0)}e.formatTypeFacts=bt;let cn=!1,dt;function Qn(H){"__debugFlowFlags"in H||Object.defineProperties(H,{__tsDebuggerDisplay:{value(){let de=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",be=this.flags&~(2048-1);return`${de}${be?` (${Zt(be)})`:""}`}},__debugFlowFlags:{get(){return $e(this.flags,ul,!0)}},__debugToString:{value(){return Ie(this)}}})}function ut(H){cn&&(typeof Object.setPrototypeOf=="function"?(dt||(dt=Object.create(Object.prototype),Qn(dt)),Object.setPrototypeOf(H,dt)):Qn(H))}e.attachFlowNodeDebugInfo=ut;let Jt;function ln(H){"__tsDebuggerDisplay"in H||Object.defineProperties(H,{__tsDebuggerDisplay:{value(de){return de=String(de).replace(/(?:,[\s\w\d_]+:[^,]+)+\]$/,"]"),`NodeArray ${de}`}}})}function yr(H){cn&&(typeof Object.setPrototypeOf=="function"?(Jt||(Jt=Object.create(Array.prototype),ln(Jt)),Object.setPrototypeOf(H,Jt)):ln(H))}e.attachNodeArrayDebugInfo=yr;function Mr(){if(cn)return;let H=new WeakMap,de=new WeakMap;Object.defineProperties(xt.getSymbolConstructor().prototype,{__tsDebuggerDisplay:{value(){let Ee=this.flags&33554432?"TransientSymbol":"Symbol",et=this.flags&-33554433;return`${Ee} '${Of(this)}'${et?` (${Un(et)})`:""}`}},__debugFlags:{get(){return Un(this.flags)}}}),Object.defineProperties(xt.getTypeConstructor().prototype,{__tsDebuggerDisplay:{value(){let Ee=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",et=this.flags&524288?this.objectFlags&-1344:0;return`${Ee}${this.symbol?` '${Of(this.symbol)}'`:""}${et?` (${lt(et)})`:""}`}},__debugFlags:{get(){return qn(this.flags)}},__debugObjectFlags:{get(){return this.flags&524288?lt(this.objectFlags):""}},__debugTypeToString:{value(){let Ee=H.get(this);return Ee===void 0&&(Ee=this.checker.typeToString(this),H.set(this,Ee)),Ee}}}),Object.defineProperties(xt.getSignatureConstructor().prototype,{__debugFlags:{get(){return gt(this.flags)}},__debugSignatureToString:{value(){var Ee;return(Ee=this.checker)==null?void 0:Ee.signatureToString(this)}}});let be=[xt.getNodeConstructor(),xt.getIdentifierConstructor(),xt.getTokenConstructor(),xt.getSourceFileConstructor()];for(let Ee of be)Xn(Ee.prototype,"__debugKind")||Object.defineProperties(Ee.prototype,{__tsDebuggerDisplay:{value(){return`${ma(this)?"GeneratedIdentifier":Ce(this)?`Identifier '${Ot(this)}'`:Ln(this)?`PrivateIdentifier '${Ot(this)}'`:cr(this)?`StringLiteral ${JSON.stringify(this.text.length<10?this.text:this.text.slice(10)+"...")}`:ro(this)?`NumericLiteral ${this.text}`:cb(this)?`BigIntLiteral ${this.text}n`:Jo(this)?"TypeParameterDeclaration":io(this)?"ParameterDeclaration":P_(this)?"ConstructorDeclaration":Kl(this)?"GetAccessorDeclaration":N_(this)?"SetAccessorDeclaration":pb(this)?"CallSignatureDeclaration":_8(this)?"ConstructSignatureDeclaration":db(this)?"IndexSignatureDeclaration":c8(this)?"TypePredicateNode":I_(this)?"TypeReferenceNode":Gl(this)?"FunctionTypeNode":fb(this)?"ConstructorTypeNode":l8(this)?"TypeQueryNode":Hm(this)?"TypeLiteralNode":u8(this)?"ArrayTypeNode":p8(this)?"TupleTypeNode":d8(this)?"OptionalTypeNode":f8(this)?"RestTypeNode":m8(this)?"UnionTypeNode":y8(this)?"IntersectionTypeNode":h8(this)?"ConditionalTypeNode":g8(this)?"InferTypeNode":yb(this)?"ParenthesizedTypeNode":hb(this)?"ThisTypeNode":b8(this)?"TypeOperatorNode":v8(this)?"IndexedAccessTypeNode":T8(this)?"MappedTypeNode":gb(this)?"LiteralTypeNode":mb(this)?"NamedTupleMember":Xl(this)?"ImportTypeNode":Qt(this.kind)}${this.flags?` (${Bn(this.flags)})`:""}`}},__debugKind:{get(){return Qt(this.kind)}},__debugNodeFlags:{get(){return Bn(this.flags)}},__debugModifierFlags:{get(){return dn(k3(this))}},__debugTransformFlags:{get(){return Yt(this.transformFlags)}},__debugIsParseTreeNode:{get(){return dl(this)}},__debugEmitFlags:{get(){return vt(Vr(this))}},__debugGetText:{value(et){if(pa(this))return"";let Qe=de.get(this);if(Qe===void 0){let ee=Pl(this),Z=ee&&Kr(ee);Qe=Z?Yo(Z,ee,et):"",de.set(this,Qe)}return Qe}}});cn=!0}e.enableDebugInfo=Mr;function ti(H){let de=H&7,be=de===0?"in out":de===3?"[bivariant]":de===2?"in":de===1?"out":de===4?"[independent]":"";return H&8?be+=" (unmeasurable)":H&16&&(be+=" (unreliable)"),be}e.formatVariance=ti;class Wn{__debugToString(){var de;switch(this.kind){case 3:return((de=this.debugInfo)==null?void 0:de.call(this))||"(function mapper)";case 0:return`${this.source.__debugTypeToString()} -> ${this.target.__debugTypeToString()}`;case 1:return rh(this.sources,this.targets||ga(this.sources,()=>"any"),(be,Ee)=>`${be.__debugTypeToString()} -> ${typeof Ee=="string"?Ee:Ee.__debugTypeToString()}`).join(", ");case 2:return rh(this.sources,this.targets,(be,Ee)=>`${be.__debugTypeToString()} -> ${Ee().__debugTypeToString()}`).join(", ");case 5:case 4:return`m1: ${this.mapper1.__debugToString().split(` +(function(f){function e(){var i=f();return i.default||i}if(typeof exports=="object"&&typeof module=="object")module.exports=e();else if(typeof define=="function"&&define.amd)define(e);else{var t=typeof globalThis<"u"?globalThis:typeof global<"u"?global:typeof self<"u"?self:this||{};t.prettierPlugins=t.prettierPlugins||{},t.prettierPlugins.typescript=e()}})(function(){"use strict";var Xc=Object.defineProperty;var hy=Object.getOwnPropertyDescriptor;var yy=Object.getOwnPropertyNames;var gy=Object.prototype.hasOwnProperty;var jd=e=>{throw TypeError(e)};var by=(e,t,a)=>t in e?Xc(e,t,{enumerable:!0,configurable:!0,writable:!0,value:a}):e[t]=a;var Ld=(e,t)=>{for(var a in t)Xc(e,a,{get:t[a],enumerable:!0})},vy=(e,t,a,o)=>{if(t&&typeof t=="object"||typeof t=="function")for(let h of yy(t))!gy.call(e,h)&&h!==a&&Xc(e,h,{get:()=>t[h],enumerable:!(o=hy(t,h))||o.enumerable});return e};var xy=e=>vy(Xc({},"__esModule",{value:!0}),e);var Ma=(e,t,a)=>by(e,typeof t!="symbol"?t+"":t,a),Ty=(e,t,a)=>t.has(e)||jd("Cannot "+a);var Rd=(e,t,a)=>t.has(e)?jd("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,a);var we=(e,t,a)=>(Ty(e,t,"access private method"),a);var N3={};Ld(N3,{parsers:()=>Nd});var Nd={};Ld(Nd,{typescript:()=>P3});var Sy=()=>()=>{},Ja=Sy;var Bm="5.5";var Ot=[],wy=new Map;function ms(e){return e?e.length:0}function zn(e,t){if(e)for(let a=0;aa(o,t[h]))}function Kr(e,t){if(e){let a=e.length,o=0;for(;o0;return!1}function uf(e,t){return qt(t)?qt(e)?[...e,...t]:t:e}function Py(e,t){return t}function Ny(e){return e.map(Py)}function Cn(e,t){return t===void 0?e:e===void 0?[t]:(e.push(t),e)}function Hp(e,t){return t<0?e.length+t:t}function Pn(e,t,a,o){if(t===void 0||t.length===0)return e;if(e===void 0)return t.slice(a,o);a=a===void 0?0:Hp(t,a),o=o===void 0?t.length:Hp(t,o);for(let h=a;ha(e[o],e[h])||mf(o,h))}function Jy(e,t){let a=Ny(e);return My(e,a,t),a.map(o=>e[o])}var M3=Array.prototype.at?(e,t)=>e==null?void 0:e.at(t):(e,t)=>{if(e&&(t=Hp(e,t),t>1),l=a(e[C],C);switch(o(l,t)){case-1:g=C+1;break;case 0:return C;case 1:E=C-1;break}}return~g}function By(e,t,a,o,h){if(e&&e.length>0){let g=e.length;if(g>0){let E=o===void 0||o<0?0:o,C=h===void 0||E+h>g-1?g-1:E+h,l;for(arguments.length<=2?(l=e[E],E++):l=a;E<=C;)l=t(l,e[E],E),E++;return l}}return a}var Vm=Object.prototype.hasOwnProperty;function Mr(e,t){return Vm.call(e,t)}function qy(e){let t=[];for(let a in e)Vm.call(e,a)&&t.push(a);return t}function zy(){let e=new Map;return e.add=Fy,e.remove=Vy,e}function Fy(e,t){let a=this.get(e);return a?a.push(t):this.set(e,a=[t]),a}function Vy(e,t){let a=this.get(e);a&&(Ky(a,t),a.length||this.delete(e))}function Zr(e){return Array.isArray(e)}function jp(e){return Zr(e)?e:[e]}function Wy(e,t){return e!==void 0&&t(e)?e:void 0}function Ir(e,t){return e!==void 0&&t(e)?e:B.fail(`Invalid cast. The supplied value ${e} did not pass the test '${B.getFunctionName(t)}'.`)}function Ga(e){}function Gy(){return!0}function kt(e){return e}function Bd(e){let t;return()=>(e&&(t=e(),e=void 0),t)}function tr(e){let t=new Map;return a=>{let o=`${typeof a}:${a}`,h=t.get(o);return h===void 0&&!t.has(o)&&(h=e(a),t.set(o,h)),h}}function ff(e,t){return e===t}function df(e,t){return e===t||e!==void 0&&t!==void 0&&e.toUpperCase()===t.toUpperCase()}function Yy(e,t){return ff(e,t)}function Hy(e,t){return e===t?0:e===void 0?-1:t===void 0?1:ea?C-a:1),f=Math.floor(t.length>a+C?a+C:t.length);h[0]=C;let k=C;for(let w=1;wa)return;let v=o;o=h,h=v}let E=o[t.length];return E>a?void 0:E}function $y(e,t,a){let o=e.length-t.length;return o>=0&&(a?df(e.slice(o),t):e.indexOf(t,o)===o)}function Qy(e,t){e[t]=e[e.length-1],e.pop()}function Ky(e,t){return Zy(e,a=>a===t)}function Zy(e,t){for(let a=0;a{let t=0;e.currentLogLevel=2,e.isDebugging=!1;function a(j){return e.currentLogLevel<=j}e.shouldLog=a;function o(j,se){e.loggingHost&&a(j)&&e.loggingHost.log(j,se)}function h(j){o(3,j)}e.log=h,(j=>{function se(Ke){o(1,Ke)}j.error=se;function fe(Ke){o(2,Ke)}j.warn=fe;function xe(Ke){o(3,Ke)}j.log=xe;function Xe(Ke){o(4,Ke)}j.trace=Xe})(h=e.log||(e.log={}));let g={};function E(){return t}e.getAssertionLevel=E;function C(j){let se=t;if(t=j,j>se)for(let fe of qy(g)){let xe=g[fe];xe!==void 0&&e[fe]!==xe.assertion&&j>=xe.level&&(e[fe]=xe,g[fe]=void 0)}}e.setAssertionLevel=C;function l(j){return t>=j}e.shouldAssert=l;function Z(j,se){return l(j)?!0:(g[se]={level:j,assertion:e[se]},e[se]=Ga,!1)}function f(j,se){debugger;let fe=new Error(j?`Debug Failure. ${j}`:"Debug Failure.");throw Error.captureStackTrace&&Error.captureStackTrace(fe,se||f),fe}e.fail=f;function k(j,se,fe){return f(`${se||"Unexpected node."}\r +Node ${Mt(j.kind)} was unexpected.`,fe||k)}e.failBadSyntaxKind=k;function v(j,se,fe,xe){j||(se=se?`False expression: ${se}`:"False expression.",fe&&(se+=`\r +Verbose Debug Information: `+(typeof fe=="string"?fe:fe())),f(se,xe||v))}e.assert=v;function w(j,se,fe,xe,Xe){if(j!==se){let Ke=fe?xe?`${fe} ${xe}`:fe:"";f(`Expected ${j} === ${se}. ${Ke}`,Xe||w)}}e.assertEqual=w;function J(j,se,fe,xe){j>=se&&f(`Expected ${j} < ${se}. ${fe||""}`,xe||J)}e.assertLessThan=J;function re(j,se,fe){j>se&&f(`Expected ${j} <= ${se}`,fe||re)}e.assertLessThanOrEqual=re;function be(j,se,fe){j= ${se}`,fe||be)}e.assertGreaterThanOrEqual=be;function he(j,se,fe){j==null&&f(se,fe||he)}e.assertIsDefined=he;function me(j,se,fe){return he(j,se,fe||me),j}e.checkDefined=me;function O(j,se,fe){for(let xe of j)he(xe,se,fe||O)}e.assertEachIsDefined=O;function ae(j,se,fe){return O(j,se,fe||ae),j}e.checkEachDefined=ae;function ve(j,se="Illegal value:",fe){let xe=typeof j=="object"&&Mr(j,"kind")&&Mr(j,"pos")?"SyntaxKind: "+Mt(j.kind):JSON.stringify(j);return f(`${se} ${xe}`,fe||ve)}e.assertNever=ve;function X(j,se,fe,xe){Z(1,"assertEachNode")&&v(se===void 0||lf(j,se),fe||"Unexpected node.",()=>`Node array did not pass test '${Tn(se)}'.`,xe||X)}e.assertEachNode=X;function oe(j,se,fe,xe){Z(1,"assertNode")&&v(j!==void 0&&(se===void 0||se(j)),fe||"Unexpected node.",()=>`Node ${Mt(j==null?void 0:j.kind)} did not pass test '${Tn(se)}'.`,xe||oe)}e.assertNode=oe;function G(j,se,fe,xe){Z(1,"assertNotNode")&&v(j===void 0||se===void 0||!se(j),fe||"Unexpected node.",()=>`Node ${Mt(j.kind)} should not have passed test '${Tn(se)}'.`,xe||G)}e.assertNotNode=G;function ht(j,se,fe,xe){Z(1,"assertOptionalNode")&&v(se===void 0||j===void 0||se(j),fe||"Unexpected node.",()=>`Node ${Mt(j==null?void 0:j.kind)} did not pass test '${Tn(se)}'.`,xe||ht)}e.assertOptionalNode=ht;function ir(j,se,fe,xe){Z(1,"assertOptionalToken")&&v(se===void 0||j===void 0||j.kind===se,fe||"Unexpected node.",()=>`Node ${Mt(j==null?void 0:j.kind)} was not a '${Mt(se)}' token.`,xe||ir)}e.assertOptionalToken=ir;function xn(j,se,fe){Z(1,"assertMissingNode")&&v(j===void 0,se||"Unexpected node.",()=>`Node ${Mt(j.kind)} was unexpected'.`,fe||xn)}e.assertMissingNode=xn;function ar(j){}e.type=ar;function Tn(j){if(typeof j!="function")return"";if(Mr(j,"name"))return j.name;{let se=Function.prototype.toString.call(j),fe=/^function\s+([\w$]+)\s*\(/.exec(se);return fe?fe[1]:""}}e.getFunctionName=Tn;function On(j){return`{ name: ${Ts(j.escapedName)}; flags: ${ut(j.flags)}; declarations: ${Yp(j.declarations,se=>Mt(se.kind))} }`}e.formatSymbol=On;function Ve(j=0,se,fe){let xe=Rr(se);if(j===0)return xe.length>0&&xe[0][0]===0?xe[0][1]:"0";if(fe){let Xe=[],Ke=j;for(let[ot,Pt]of xe){if(ot>j)break;ot!==0&&ot&j&&(Xe.push(Pt),Ke&=~ot)}if(Ke===0)return Xe.join("|")}else for(let[Xe,Ke]of xe)if(Xe===j)return Ke;return j.toString()}e.formatEnum=Ve;let _r=new Map;function Rr(j){let se=_r.get(j);if(se)return se;let fe=[];for(let Xe in j){let Ke=j[Xe];typeof Ke=="number"&&fe.push([Ke,Xe])}let xe=Jy(fe,(Xe,Ke)=>mf(Xe[0],Ke[0]));return _r.set(j,xe),xe}function Mt(j){return Ve(j,ce,!1)}e.formatSyntaxKind=Mt;function Vn(j){return Ve(j,Xm,!1)}e.formatSnippetKind=Vn;function Mn(j){return Ve(j,Jr,!1)}e.formatScriptKind=Mn;function Jt(j){return Ve(j,Xt,!0)}e.formatNodeFlags=Jt;function xt(j){return Ve(j,Gm,!0)}e.formatNodeCheckFlags=xt;function Qe(j){return Ve(j,hf,!0)}e.formatModifierFlags=Qe;function Wn(j){return Ve(j,Hm,!0)}e.formatTransformFlags=Wn;function nn(j){return Ve(j,$m,!0)}e.formatEmitFlags=nn;function ut(j){return Ve(j,yf,!0)}e.formatSymbolFlags=ut;function st(j){return Ve(j,zt,!0)}e.formatTypeFlags=st;function Vt(j){return Ve(j,Ym,!0)}e.formatSignatureFlags=Vt;function jt(j){return Ve(j,bl,!0)}e.formatObjectFlags=jt;function pt(j){return Ve(j,Qp,!0)}e.formatFlowFlags=pt;function sr(j){return Ve(j,Wm,!0)}e.formatRelationComparisonResult=sr;function yt(j){return Ve(j,CheckMode,!0)}e.formatCheckMode=yt;function Sn(j){return Ve(j,SignatureCheckMode,!0)}e.formatSignatureCheckMode=Sn;function vt(j){return Ve(j,TypeFacts,!0)}e.formatTypeFacts=vt;let dn=!1,rt;function Wt(j){"__debugFlowFlags"in j||Object.defineProperties(j,{__tsDebuggerDisplay:{value(){let se=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",fe=this.flags&-2048;return`${se}${fe?` (${pt(fe)})`:""}`}},__debugFlowFlags:{get(){return Ve(this.flags,Qp,!0)}},__debugToString:{value(){return Tr(this)}}})}function on(j){return dn&&(typeof Object.setPrototypeOf=="function"?(rt||(rt=Object.create(Object.prototype),Wt(rt)),Object.setPrototypeOf(j,rt)):Wt(j)),j}e.attachFlowNodeDebugInfo=on;let or;function vr(j){"__tsDebuggerDisplay"in j||Object.defineProperties(j,{__tsDebuggerDisplay:{value(se){return se=String(se).replace(/(?:,[\s\w\d_]+:[^,]+)+\]$/,"]"),`NodeArray ${se}`}}})}function xr(j){dn&&(typeof Object.setPrototypeOf=="function"?(or||(or=Object.create(Array.prototype),vr(or)),Object.setPrototypeOf(j,or)):vr(j))}e.attachNodeArrayDebugInfo=xr;function Gn(){if(dn)return;let j=new WeakMap,se=new WeakMap;Object.defineProperties(Ct.getSymbolConstructor().prototype,{__tsDebuggerDisplay:{value(){let xe=this.flags&33554432?"TransientSymbol":"Symbol",Xe=this.flags&-33554433;return`${xe} '${ef(this)}'${Xe?` (${ut(Xe)})`:""}`}},__debugFlags:{get(){return ut(this.flags)}}}),Object.defineProperties(Ct.getTypeConstructor().prototype,{__tsDebuggerDisplay:{value(){let xe=this.flags&67359327?`IntrinsicType ${this.intrinsicName}${this.debugIntrinsicName?` (${this.debugIntrinsicName})`:""}`: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&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",Xe=this.flags&524288?this.objectFlags&-1344:0;return`${xe}${this.symbol?` '${ef(this.symbol)}'`:""}${Xe?` (${jt(Xe)})`:""}`}},__debugFlags:{get(){return st(this.flags)}},__debugObjectFlags:{get(){return this.flags&524288?jt(this.objectFlags):""}},__debugTypeToString:{value(){let xe=j.get(this);return xe===void 0&&(xe=this.checker.typeToString(this),j.set(this,xe)),xe}}}),Object.defineProperties(Ct.getSignatureConstructor().prototype,{__debugFlags:{get(){return Vt(this.flags)}},__debugSignatureToString:{value(){var xe;return(xe=this.checker)==null?void 0:xe.signatureToString(this)}}});let fe=[Ct.getNodeConstructor(),Ct.getIdentifierConstructor(),Ct.getTokenConstructor(),Ct.getSourceFileConstructor()];for(let xe of fe)Mr(xe.prototype,"__debugKind")||Object.defineProperties(xe.prototype,{__tsDebuggerDisplay:{value(){return`${za(this)?"GeneratedIdentifier":et(this)?`Identifier '${Nn(this)}'`:wi(this)?`PrivateIdentifier '${Nn(this)}'`:Qa(this)?`StringLiteral ${JSON.stringify(this.text.length<10?this.text:this.text.slice(10)+"...")}`:Ai(this)?`NumericLiteral ${this.text}`:qf(this)?`BigIntLiteral ${this.text}n`:zf(this)?"TypeParameterDeclaration":As(this)?"ParameterDeclaration":Ff(this)?"ConstructorDeclaration":hl(this)?"GetAccessorDeclaration":Ds(this)?"SetAccessorDeclaration":Y1(this)?"CallSignatureDeclaration":H1(this)?"ConstructSignatureDeclaration":Vf(this)?"IndexSignatureDeclaration":X1(this)?"TypePredicateNode":Al(this)?"TypeReferenceNode":Wf(this)?"FunctionTypeNode":Gf(this)?"ConstructorTypeNode":u6(this)?"TypeQueryNode":$1(this)?"TypeLiteralNode":p6(this)?"ArrayTypeNode":f6(this)?"TupleTypeNode":d6(this)?"OptionalTypeNode":m6(this)?"RestTypeNode":K1(this)?"UnionTypeNode":Z1(this)?"IntersectionTypeNode":h6(this)?"ConditionalTypeNode":y6(this)?"InferTypeNode":eh(this)?"ParenthesizedTypeNode":g6(this)?"ThisTypeNode":th(this)?"TypeOperatorNode":b6(this)?"IndexedAccessTypeNode":nh(this)?"MappedTypeNode":v6(this)?"LiteralTypeNode":Q1(this)?"NamedTupleMember":x6(this)?"ImportTypeNode":Mt(this.kind)}${this.flags?` (${Jt(this.flags)})`:""}`}},__debugKind:{get(){return Mt(this.kind)}},__debugNodeFlags:{get(){return Jt(this.flags)}},__debugModifierFlags:{get(){return Qe(bb(this))}},__debugTransformFlags:{get(){return Wn(this.transformFlags)}},__debugIsParseTreeNode:{get(){return fl(this)}},__debugEmitFlags:{get(){return nn(Wa(this))}},__debugGetText:{value(Xe){if(Ua(this))return"";let Ke=se.get(this);if(Ke===void 0){let ot=Ug(this),Pt=ot&&Ya(ot);Ke=Pt?tm(Pt,ot,Xe):"",se.set(this,Ke)}return Ke}}});dn=!0}e.enableDebugInfo=Gn;function Yn(j){let se=j&7,fe=se===0?"in out":se===3?"[bivariant]":se===2?"in":se===1?"out":se===4?"[independent]":"";return j&8?fe+=" (unmeasurable)":j&16&&(fe+=" (unreliable)"),fe}e.formatVariance=Yn;class Ur{__debugToString(){var se;switch(this.kind){case 3:return((se=this.debugInfo)==null?void 0:se.call(this))||"(function mapper)";case 0:return`${this.source.__debugTypeToString()} -> ${this.target.__debugTypeToString()}`;case 1:return Ud(this.sources,this.targets||Yp(this.sources,()=>"any"),(fe,xe)=>`${fe.__debugTypeToString()} -> ${typeof xe=="string"?xe:xe.__debugTypeToString()}`).join(", ");case 2:return Ud(this.sources,this.targets,(fe,xe)=>`${fe.__debugTypeToString()} -> ${xe().__debugTypeToString()}`).join(", ");case 5:case 4:return`m1: ${this.mapper1.__debugToString().split(` `).join(` `)} m2: ${this.mapper2.__debugToString().split(` `).join(` - `)}`;default:return we(this)}}}e.DebugTypeMapper=Wn;function hr(H){return e.isDebugging?Object.setPrototypeOf(H,Wn.prototype):H}e.attachDebugPrototypeIfDebug=hr;function Ci(H){return console.log(Ie(H))}e.printControlFlowGraph=Ci;function Ie(H){let de=-1;function be(E){return E.id||(E.id=de,de--),E.id}let Ee;(E=>{E.lr="\u2500",E.ud="\u2502",E.dr="\u256D",E.dl="\u256E",E.ul="\u256F",E.ur="\u2570",E.udr="\u251C",E.udl="\u2524",E.dlr="\u252C",E.ulr="\u2534",E.udlr="\u256B"})(Ee||(Ee={}));let et;(E=>{E[E.None=0]="None",E[E.Up=1]="Up",E[E.Down=2]="Down",E[E.Left=4]="Left",E[E.Right=8]="Right",E[E.UpDown=3]="UpDown",E[E.LeftRight=12]="LeftRight",E[E.UpLeft=5]="UpLeft",E[E.UpRight=9]="UpRight",E[E.DownLeft=6]="DownLeft",E[E.DownRight=10]="DownRight",E[E.UpDownLeft=7]="UpDownLeft",E[E.UpDownRight=11]="UpDownRight",E[E.UpLeftRight=13]="UpLeftRight",E[E.DownLeftRight=14]="DownLeftRight",E[E.UpDownLeftRight=15]="UpDownLeftRight",E[E.NoChildren=16]="NoChildren"})(et||(et={}));let Qe=2032,ee=882,Z=Object.create(null),ae=[],Te=[],Oe=ri(H,new Set);for(let E of ae)E.text=Nn(E.flowNode,E.circular),Pa(E);let We=br(Oe),Re=ii(We);return ai(Oe,0),Fe();function Rt(E){return!!(E.flags&128)}function Nt(E){return!!(E.flags&12)&&!!E.antecedents}function Vn(E){return!!(E.flags&Qe)}function ta(E){return!!(E.flags&ee)}function gr(E){let S=[];for(let J of E.edges)J.source===E&&S.push(J.target);return S}function ni(E){let S=[];for(let J of E.edges)J.target===E&&S.push(J.source);return S}function ri(E,S){let J=be(E),m=Z[J];if(m&&S.has(E))return m.circular=!0,m={id:-1,flowNode:E,edges:[],text:"",lane:-1,endLane:-1,level:-1,circular:"circularity"},ae.push(m),m;if(S.add(E),!m)if(Z[J]=m={id:J,flowNode:E,edges:[],text:"",lane:-1,endLane:-1,level:-1,circular:!1},ae.push(m),Nt(E))for(let ie of E.antecedents)na(m,ie,S);else Vn(E)&&na(m,E.antecedent,S);return S.delete(E),m}function na(E,S,J){let m=ri(S,J),ie={source:E,target:m};Te.push(ie),E.edges.push(ie),m.edges.push(ie)}function Pa(E){if(E.level!==-1)return E.level;let S=0;for(let J of ni(E))S=Math.max(S,Pa(J)+1);return E.level=S}function br(E){let S=0;for(let J of gr(E))S=Math.max(S,br(J));return S+1}function ii(E){let S=wt(Array(E),0);for(let J of ae)S[J.level]=Math.max(S[J.level],J.text.length);return S}function ai(E,S){if(E.lane===-1){E.lane=S,E.endLane=S;let J=gr(E);for(let m=0;m0&&S++;let ie=J[m];ai(ie,S),ie.endLane>E.endLane&&(S=ie.endLane)}E.endLane=S}}function ra(E){if(E&2)return"Start";if(E&4)return"Branch";if(E&8)return"Loop";if(E&16)return"Assignment";if(E&32)return"True";if(E&64)return"False";if(E&128)return"SwitchClause";if(E&256)return"ArrayMutation";if(E&512)return"Call";if(E&1024)return"ReduceLabel";if(E&1)return"Unreachable";throw new Error}function Lr(E){let S=Kr(E);return Yo(S,E,!1)}function Nn(E,S){let J=ra(E.flags);if(S&&(J=`${J}#${be(E)}`),ta(E))E.node&&(J+=` (${Lr(E.node)})`);else if(Rt(E)){let m=[];for(let ie=E.clauseStart;ieMath.max(R,me.lane),0)+1,J=wt(Array(S),""),m=Re.map(()=>Array(S)),ie=Re.map(()=>wt(Array(S),0));for(let R of ae){m[R.level][R.lane]=R;let me=gr(R);for(let ke=0;ke0&&(ot|=1),ke0&&(ot|=1),ke0?ie[R-1][me]:0,ke=me>0?ie[R][me-1]:0,De=ie[R][me];De||(Ae&8&&(De|=12),ke&2&&(De|=3),ie[R][me]=De)}for(let R=0;R{u.lr="\u2500",u.ud="\u2502",u.dr="\u256D",u.dl="\u256E",u.ul="\u256F",u.ur="\u2570",u.udr="\u251C",u.udl="\u2524",u.dlr="\u252C",u.ulr="\u2534",u.udlr="\u256B"})(xe||(xe={}));let Xe;(u=>{u[u.None=0]="None",u[u.Up=1]="Up",u[u.Down=2]="Down",u[u.Left=4]="Left",u[u.Right=8]="Right",u[u.UpDown=3]="UpDown",u[u.LeftRight=12]="LeftRight",u[u.UpLeft=5]="UpLeft",u[u.UpRight=9]="UpRight",u[u.DownLeft=6]="DownLeft",u[u.DownRight=10]="DownRight",u[u.UpDownLeft=7]="UpDownLeft",u[u.UpDownRight=11]="UpDownRight",u[u.UpLeftRight=13]="UpLeftRight",u[u.DownLeftRight=14]="DownLeftRight",u[u.UpDownLeftRight=15]="UpDownLeftRight",u[u.NoChildren=16]="NoChildren"})(Xe||(Xe={}));let Ke=2032,ot=882,Pt=Object.create(null),Tt=[],ft=[],Br=Se(j,new Set);for(let u of Tt)u.text=at(u.flowNode,u.circular),ye(u);let Sr=Ye(Br),Jn=$e(Sr);return Ze(Br,0),mn();function Xn(u){return!!(u.flags&128)}function Pi(u){return!!(u.flags&12)&&!!u.antecedent}function z(u){return!!(u.flags&Ke)}function V(u){return!!(u.flags&ot)}function Q(u){let Oe=[];for(let Me of u.edges)Me.source===u&&Oe.push(Me.target);return Oe}function Te(u){let Oe=[];for(let Me of u.edges)Me.target===u&&Oe.push(Me.source);return Oe}function Se(u,Oe){let Me=fe(u),U=Pt[Me];if(U&&Oe.has(u))return U.circular=!0,U={id:-1,flowNode:u,edges:[],text:"",lane:-1,endLane:-1,level:-1,circular:"circularity"},Tt.push(U),U;if(Oe.add(u),!U)if(Pt[Me]=U={id:Me,flowNode:u,edges:[],text:"",lane:-1,endLane:-1,level:-1,circular:!1},Tt.push(U),Pi(u))for(let qe of u.antecedent)Ce(U,qe,Oe);else z(u)&&Ce(U,u.antecedent,Oe);return Oe.delete(u),U}function Ce(u,Oe,Me){let U=Se(Oe,Me),qe={source:u,target:U};ft.push(qe),u.edges.push(qe),U.edges.push(qe)}function ye(u){if(u.level!==-1)return u.level;let Oe=0;for(let Me of Te(u))Oe=Math.max(Oe,ye(Me)+1);return u.level=Oe}function Ye(u){let Oe=0;for(let Me of Q(u))Oe=Math.max(Oe,Ye(Me));return Oe+1}function $e(u){let Oe=M(Array(u),0);for(let Me of Tt)Oe[Me.level]=Math.max(Oe[Me.level],Me.text.length);return Oe}function Ze(u,Oe){if(u.lane===-1){u.lane=Oe,u.endLane=Oe;let Me=Q(u);for(let U=0;U0&&Oe++;let qe=Me[U];Ze(qe,Oe),qe.endLane>u.endLane&&(Oe=qe.endLane)}u.endLane=Oe}}function Ee(u){if(u&2)return"Start";if(u&4)return"Branch";if(u&8)return"Loop";if(u&16)return"Assignment";if(u&32)return"True";if(u&64)return"False";if(u&128)return"SwitchClause";if(u&256)return"ArrayMutation";if(u&512)return"Call";if(u&1024)return"ReduceLabel";if(u&1)return"Unreachable";throw new Error}function wn(u){let Oe=Ya(u);return tm(Oe,u,!1)}function at(u,Oe){let Me=Ee(u.flags);if(Oe&&(Me=`${Me}#${fe(u)}`),Xn(u)){let U=[],{switchStatement:qe,clauseStart:cn,clauseEnd:Fe}=u.node;for(let He=cn;HeMath.max(Fe,He.lane),0)+1,Me=M(Array(Oe),""),U=Jn.map(()=>Array(Oe)),qe=Jn.map(()=>M(Array(Oe),0));for(let Fe of Tt){U[Fe.level][Fe.lane]=Fe;let He=Q(Fe);for(let Et=0;Et0&&(Gt|=1),Et0&&(Gt|=1),Et0?qe[Fe-1][He]:0,Et=He>0?qe[Fe][He-1]:0,It=qe[Fe][He];It||(Nt&8&&(It|=12),Et&2&&(It|=3),qe[Fe][He]=It)}for(let Fe=0;Fe0?E.repeat(S):"";let J="";for(;J.length{},d5=()=>{},f5=()=>{},da=Date.now,m5=()=>{},yf=new Proxy(()=>{},{get:()=>yf});function Q6(e){if(yg){let t=uh.get(e)??0;uh.set(e,t+1),gf.set(e,da()),hf==null||hf.mark(e),typeof onProfilerEvent=="function"&&onProfilerEvent(e)}}function y5(e,t,n){if(yg){let i=(n!==void 0?gf.get(n):void 0)??da(),s=(t!==void 0?gf.get(t):void 0)??cT,l=ph.get(e)||0;ph.set(e,l+(i-s)),hf==null||hf.measure(e,t,n)}}var hf,h5,yg,cT,gf,uh,ph,HK=Ht({"src/compiler/performance.ts"(){"use strict";En(),h5={enter:Nr,exit:Nr},yg=!1,cT=da(),gf=new Map,uh=new Map,ph=new Map}}),lT=()=>{},g5=()=>{},fa;function b5(e,t=!0){let n=Af[e.category];return t?n.toLowerCase():n}var bf,vf,Tf,dh,xf,fh,mh,ul,yh,Sf,hh,gh,bh,vh,Th,xh,Sh,wh,Eh,Ch,kh,Ah,Dh,Ph,Nh,wf,Ih,Oh,Mh,Lh,Ef,Cf,Jh,Rh,Fh,jh,Bh,Uh,kf,qh,zh,Wh,Vh,Hh,Kh,Af,Gh,Xh,$h,Qh,Yh,Zh,e0,t0,n0,r0,i0,a0,o0,s0,_0,Df,Pf,Nf,c0,l0,u0,p0,d0,f0,m0,y0,om,uT=Ht({"src/compiler/types.ts"(){"use strict";bf=(e=>(e[e.Unknown=0]="Unknown",e[e.EndOfFileToken=1]="EndOfFileToken",e[e.SingleLineCommentTrivia=2]="SingleLineCommentTrivia",e[e.MultiLineCommentTrivia=3]="MultiLineCommentTrivia",e[e.NewLineTrivia=4]="NewLineTrivia",e[e.WhitespaceTrivia=5]="WhitespaceTrivia",e[e.ShebangTrivia=6]="ShebangTrivia",e[e.ConflictMarkerTrivia=7]="ConflictMarkerTrivia",e[e.NonTextFileMarkerTrivia=8]="NonTextFileMarkerTrivia",e[e.NumericLiteral=9]="NumericLiteral",e[e.BigIntLiteral=10]="BigIntLiteral",e[e.StringLiteral=11]="StringLiteral",e[e.JsxText=12]="JsxText",e[e.JsxTextAllWhiteSpaces=13]="JsxTextAllWhiteSpaces",e[e.RegularExpressionLiteral=14]="RegularExpressionLiteral",e[e.NoSubstitutionTemplateLiteral=15]="NoSubstitutionTemplateLiteral",e[e.TemplateHead=16]="TemplateHead",e[e.TemplateMiddle=17]="TemplateMiddle",e[e.TemplateTail=18]="TemplateTail",e[e.OpenBraceToken=19]="OpenBraceToken",e[e.CloseBraceToken=20]="CloseBraceToken",e[e.OpenParenToken=21]="OpenParenToken",e[e.CloseParenToken=22]="CloseParenToken",e[e.OpenBracketToken=23]="OpenBracketToken",e[e.CloseBracketToken=24]="CloseBracketToken",e[e.DotToken=25]="DotToken",e[e.DotDotDotToken=26]="DotDotDotToken",e[e.SemicolonToken=27]="SemicolonToken",e[e.CommaToken=28]="CommaToken",e[e.QuestionDotToken=29]="QuestionDotToken",e[e.LessThanToken=30]="LessThanToken",e[e.LessThanSlashToken=31]="LessThanSlashToken",e[e.GreaterThanToken=32]="GreaterThanToken",e[e.LessThanEqualsToken=33]="LessThanEqualsToken",e[e.GreaterThanEqualsToken=34]="GreaterThanEqualsToken",e[e.EqualsEqualsToken=35]="EqualsEqualsToken",e[e.ExclamationEqualsToken=36]="ExclamationEqualsToken",e[e.EqualsEqualsEqualsToken=37]="EqualsEqualsEqualsToken",e[e.ExclamationEqualsEqualsToken=38]="ExclamationEqualsEqualsToken",e[e.EqualsGreaterThanToken=39]="EqualsGreaterThanToken",e[e.PlusToken=40]="PlusToken",e[e.MinusToken=41]="MinusToken",e[e.AsteriskToken=42]="AsteriskToken",e[e.AsteriskAsteriskToken=43]="AsteriskAsteriskToken",e[e.SlashToken=44]="SlashToken",e[e.PercentToken=45]="PercentToken",e[e.PlusPlusToken=46]="PlusPlusToken",e[e.MinusMinusToken=47]="MinusMinusToken",e[e.LessThanLessThanToken=48]="LessThanLessThanToken",e[e.GreaterThanGreaterThanToken=49]="GreaterThanGreaterThanToken",e[e.GreaterThanGreaterThanGreaterThanToken=50]="GreaterThanGreaterThanGreaterThanToken",e[e.AmpersandToken=51]="AmpersandToken",e[e.BarToken=52]="BarToken",e[e.CaretToken=53]="CaretToken",e[e.ExclamationToken=54]="ExclamationToken",e[e.TildeToken=55]="TildeToken",e[e.AmpersandAmpersandToken=56]="AmpersandAmpersandToken",e[e.BarBarToken=57]="BarBarToken",e[e.QuestionToken=58]="QuestionToken",e[e.ColonToken=59]="ColonToken",e[e.AtToken=60]="AtToken",e[e.QuestionQuestionToken=61]="QuestionQuestionToken",e[e.BacktickToken=62]="BacktickToken",e[e.HashToken=63]="HashToken",e[e.EqualsToken=64]="EqualsToken",e[e.PlusEqualsToken=65]="PlusEqualsToken",e[e.MinusEqualsToken=66]="MinusEqualsToken",e[e.AsteriskEqualsToken=67]="AsteriskEqualsToken",e[e.AsteriskAsteriskEqualsToken=68]="AsteriskAsteriskEqualsToken",e[e.SlashEqualsToken=69]="SlashEqualsToken",e[e.PercentEqualsToken=70]="PercentEqualsToken",e[e.LessThanLessThanEqualsToken=71]="LessThanLessThanEqualsToken",e[e.GreaterThanGreaterThanEqualsToken=72]="GreaterThanGreaterThanEqualsToken",e[e.GreaterThanGreaterThanGreaterThanEqualsToken=73]="GreaterThanGreaterThanGreaterThanEqualsToken",e[e.AmpersandEqualsToken=74]="AmpersandEqualsToken",e[e.BarEqualsToken=75]="BarEqualsToken",e[e.BarBarEqualsToken=76]="BarBarEqualsToken",e[e.AmpersandAmpersandEqualsToken=77]="AmpersandAmpersandEqualsToken",e[e.QuestionQuestionEqualsToken=78]="QuestionQuestionEqualsToken",e[e.CaretEqualsToken=79]="CaretEqualsToken",e[e.Identifier=80]="Identifier",e[e.PrivateIdentifier=81]="PrivateIdentifier",e[e.JSDocCommentTextToken=82]="JSDocCommentTextToken",e[e.BreakKeyword=83]="BreakKeyword",e[e.CaseKeyword=84]="CaseKeyword",e[e.CatchKeyword=85]="CatchKeyword",e[e.ClassKeyword=86]="ClassKeyword",e[e.ConstKeyword=87]="ConstKeyword",e[e.ContinueKeyword=88]="ContinueKeyword",e[e.DebuggerKeyword=89]="DebuggerKeyword",e[e.DefaultKeyword=90]="DefaultKeyword",e[e.DeleteKeyword=91]="DeleteKeyword",e[e.DoKeyword=92]="DoKeyword",e[e.ElseKeyword=93]="ElseKeyword",e[e.EnumKeyword=94]="EnumKeyword",e[e.ExportKeyword=95]="ExportKeyword",e[e.ExtendsKeyword=96]="ExtendsKeyword",e[e.FalseKeyword=97]="FalseKeyword",e[e.FinallyKeyword=98]="FinallyKeyword",e[e.ForKeyword=99]="ForKeyword",e[e.FunctionKeyword=100]="FunctionKeyword",e[e.IfKeyword=101]="IfKeyword",e[e.ImportKeyword=102]="ImportKeyword",e[e.InKeyword=103]="InKeyword",e[e.InstanceOfKeyword=104]="InstanceOfKeyword",e[e.NewKeyword=105]="NewKeyword",e[e.NullKeyword=106]="NullKeyword",e[e.ReturnKeyword=107]="ReturnKeyword",e[e.SuperKeyword=108]="SuperKeyword",e[e.SwitchKeyword=109]="SwitchKeyword",e[e.ThisKeyword=110]="ThisKeyword",e[e.ThrowKeyword=111]="ThrowKeyword",e[e.TrueKeyword=112]="TrueKeyword",e[e.TryKeyword=113]="TryKeyword",e[e.TypeOfKeyword=114]="TypeOfKeyword",e[e.VarKeyword=115]="VarKeyword",e[e.VoidKeyword=116]="VoidKeyword",e[e.WhileKeyword=117]="WhileKeyword",e[e.WithKeyword=118]="WithKeyword",e[e.ImplementsKeyword=119]="ImplementsKeyword",e[e.InterfaceKeyword=120]="InterfaceKeyword",e[e.LetKeyword=121]="LetKeyword",e[e.PackageKeyword=122]="PackageKeyword",e[e.PrivateKeyword=123]="PrivateKeyword",e[e.ProtectedKeyword=124]="ProtectedKeyword",e[e.PublicKeyword=125]="PublicKeyword",e[e.StaticKeyword=126]="StaticKeyword",e[e.YieldKeyword=127]="YieldKeyword",e[e.AbstractKeyword=128]="AbstractKeyword",e[e.AccessorKeyword=129]="AccessorKeyword",e[e.AsKeyword=130]="AsKeyword",e[e.AssertsKeyword=131]="AssertsKeyword",e[e.AssertKeyword=132]="AssertKeyword",e[e.AnyKeyword=133]="AnyKeyword",e[e.AsyncKeyword=134]="AsyncKeyword",e[e.AwaitKeyword=135]="AwaitKeyword",e[e.BooleanKeyword=136]="BooleanKeyword",e[e.ConstructorKeyword=137]="ConstructorKeyword",e[e.DeclareKeyword=138]="DeclareKeyword",e[e.GetKeyword=139]="GetKeyword",e[e.InferKeyword=140]="InferKeyword",e[e.IntrinsicKeyword=141]="IntrinsicKeyword",e[e.IsKeyword=142]="IsKeyword",e[e.KeyOfKeyword=143]="KeyOfKeyword",e[e.ModuleKeyword=144]="ModuleKeyword",e[e.NamespaceKeyword=145]="NamespaceKeyword",e[e.NeverKeyword=146]="NeverKeyword",e[e.OutKeyword=147]="OutKeyword",e[e.ReadonlyKeyword=148]="ReadonlyKeyword",e[e.RequireKeyword=149]="RequireKeyword",e[e.NumberKeyword=150]="NumberKeyword",e[e.ObjectKeyword=151]="ObjectKeyword",e[e.SatisfiesKeyword=152]="SatisfiesKeyword",e[e.SetKeyword=153]="SetKeyword",e[e.StringKeyword=154]="StringKeyword",e[e.SymbolKeyword=155]="SymbolKeyword",e[e.TypeKeyword=156]="TypeKeyword",e[e.UndefinedKeyword=157]="UndefinedKeyword",e[e.UniqueKeyword=158]="UniqueKeyword",e[e.UnknownKeyword=159]="UnknownKeyword",e[e.FromKeyword=160]="FromKeyword",e[e.GlobalKeyword=161]="GlobalKeyword",e[e.BigIntKeyword=162]="BigIntKeyword",e[e.OverrideKeyword=163]="OverrideKeyword",e[e.OfKeyword=164]="OfKeyword",e[e.QualifiedName=165]="QualifiedName",e[e.ComputedPropertyName=166]="ComputedPropertyName",e[e.TypeParameter=167]="TypeParameter",e[e.Parameter=168]="Parameter",e[e.Decorator=169]="Decorator",e[e.PropertySignature=170]="PropertySignature",e[e.PropertyDeclaration=171]="PropertyDeclaration",e[e.MethodSignature=172]="MethodSignature",e[e.MethodDeclaration=173]="MethodDeclaration",e[e.ClassStaticBlockDeclaration=174]="ClassStaticBlockDeclaration",e[e.Constructor=175]="Constructor",e[e.GetAccessor=176]="GetAccessor",e[e.SetAccessor=177]="SetAccessor",e[e.CallSignature=178]="CallSignature",e[e.ConstructSignature=179]="ConstructSignature",e[e.IndexSignature=180]="IndexSignature",e[e.TypePredicate=181]="TypePredicate",e[e.TypeReference=182]="TypeReference",e[e.FunctionType=183]="FunctionType",e[e.ConstructorType=184]="ConstructorType",e[e.TypeQuery=185]="TypeQuery",e[e.TypeLiteral=186]="TypeLiteral",e[e.ArrayType=187]="ArrayType",e[e.TupleType=188]="TupleType",e[e.OptionalType=189]="OptionalType",e[e.RestType=190]="RestType",e[e.UnionType=191]="UnionType",e[e.IntersectionType=192]="IntersectionType",e[e.ConditionalType=193]="ConditionalType",e[e.InferType=194]="InferType",e[e.ParenthesizedType=195]="ParenthesizedType",e[e.ThisType=196]="ThisType",e[e.TypeOperator=197]="TypeOperator",e[e.IndexedAccessType=198]="IndexedAccessType",e[e.MappedType=199]="MappedType",e[e.LiteralType=200]="LiteralType",e[e.NamedTupleMember=201]="NamedTupleMember",e[e.TemplateLiteralType=202]="TemplateLiteralType",e[e.TemplateLiteralTypeSpan=203]="TemplateLiteralTypeSpan",e[e.ImportType=204]="ImportType",e[e.ObjectBindingPattern=205]="ObjectBindingPattern",e[e.ArrayBindingPattern=206]="ArrayBindingPattern",e[e.BindingElement=207]="BindingElement",e[e.ArrayLiteralExpression=208]="ArrayLiteralExpression",e[e.ObjectLiteralExpression=209]="ObjectLiteralExpression",e[e.PropertyAccessExpression=210]="PropertyAccessExpression",e[e.ElementAccessExpression=211]="ElementAccessExpression",e[e.CallExpression=212]="CallExpression",e[e.NewExpression=213]="NewExpression",e[e.TaggedTemplateExpression=214]="TaggedTemplateExpression",e[e.TypeAssertionExpression=215]="TypeAssertionExpression",e[e.ParenthesizedExpression=216]="ParenthesizedExpression",e[e.FunctionExpression=217]="FunctionExpression",e[e.ArrowFunction=218]="ArrowFunction",e[e.DeleteExpression=219]="DeleteExpression",e[e.TypeOfExpression=220]="TypeOfExpression",e[e.VoidExpression=221]="VoidExpression",e[e.AwaitExpression=222]="AwaitExpression",e[e.PrefixUnaryExpression=223]="PrefixUnaryExpression",e[e.PostfixUnaryExpression=224]="PostfixUnaryExpression",e[e.BinaryExpression=225]="BinaryExpression",e[e.ConditionalExpression=226]="ConditionalExpression",e[e.TemplateExpression=227]="TemplateExpression",e[e.YieldExpression=228]="YieldExpression",e[e.SpreadElement=229]="SpreadElement",e[e.ClassExpression=230]="ClassExpression",e[e.OmittedExpression=231]="OmittedExpression",e[e.ExpressionWithTypeArguments=232]="ExpressionWithTypeArguments",e[e.AsExpression=233]="AsExpression",e[e.NonNullExpression=234]="NonNullExpression",e[e.MetaProperty=235]="MetaProperty",e[e.SyntheticExpression=236]="SyntheticExpression",e[e.SatisfiesExpression=237]="SatisfiesExpression",e[e.TemplateSpan=238]="TemplateSpan",e[e.SemicolonClassElement=239]="SemicolonClassElement",e[e.Block=240]="Block",e[e.EmptyStatement=241]="EmptyStatement",e[e.VariableStatement=242]="VariableStatement",e[e.ExpressionStatement=243]="ExpressionStatement",e[e.IfStatement=244]="IfStatement",e[e.DoStatement=245]="DoStatement",e[e.WhileStatement=246]="WhileStatement",e[e.ForStatement=247]="ForStatement",e[e.ForInStatement=248]="ForInStatement",e[e.ForOfStatement=249]="ForOfStatement",e[e.ContinueStatement=250]="ContinueStatement",e[e.BreakStatement=251]="BreakStatement",e[e.ReturnStatement=252]="ReturnStatement",e[e.WithStatement=253]="WithStatement",e[e.SwitchStatement=254]="SwitchStatement",e[e.LabeledStatement=255]="LabeledStatement",e[e.ThrowStatement=256]="ThrowStatement",e[e.TryStatement=257]="TryStatement",e[e.DebuggerStatement=258]="DebuggerStatement",e[e.VariableDeclaration=259]="VariableDeclaration",e[e.VariableDeclarationList=260]="VariableDeclarationList",e[e.FunctionDeclaration=261]="FunctionDeclaration",e[e.ClassDeclaration=262]="ClassDeclaration",e[e.InterfaceDeclaration=263]="InterfaceDeclaration",e[e.TypeAliasDeclaration=264]="TypeAliasDeclaration",e[e.EnumDeclaration=265]="EnumDeclaration",e[e.ModuleDeclaration=266]="ModuleDeclaration",e[e.ModuleBlock=267]="ModuleBlock",e[e.CaseBlock=268]="CaseBlock",e[e.NamespaceExportDeclaration=269]="NamespaceExportDeclaration",e[e.ImportEqualsDeclaration=270]="ImportEqualsDeclaration",e[e.ImportDeclaration=271]="ImportDeclaration",e[e.ImportClause=272]="ImportClause",e[e.NamespaceImport=273]="NamespaceImport",e[e.NamedImports=274]="NamedImports",e[e.ImportSpecifier=275]="ImportSpecifier",e[e.ExportAssignment=276]="ExportAssignment",e[e.ExportDeclaration=277]="ExportDeclaration",e[e.NamedExports=278]="NamedExports",e[e.NamespaceExport=279]="NamespaceExport",e[e.ExportSpecifier=280]="ExportSpecifier",e[e.MissingDeclaration=281]="MissingDeclaration",e[e.ExternalModuleReference=282]="ExternalModuleReference",e[e.JsxElement=283]="JsxElement",e[e.JsxSelfClosingElement=284]="JsxSelfClosingElement",e[e.JsxOpeningElement=285]="JsxOpeningElement",e[e.JsxClosingElement=286]="JsxClosingElement",e[e.JsxFragment=287]="JsxFragment",e[e.JsxOpeningFragment=288]="JsxOpeningFragment",e[e.JsxClosingFragment=289]="JsxClosingFragment",e[e.JsxAttribute=290]="JsxAttribute",e[e.JsxAttributes=291]="JsxAttributes",e[e.JsxSpreadAttribute=292]="JsxSpreadAttribute",e[e.JsxExpression=293]="JsxExpression",e[e.JsxNamespacedName=294]="JsxNamespacedName",e[e.CaseClause=295]="CaseClause",e[e.DefaultClause=296]="DefaultClause",e[e.HeritageClause=297]="HeritageClause",e[e.CatchClause=298]="CatchClause",e[e.AssertClause=299]="AssertClause",e[e.AssertEntry=300]="AssertEntry",e[e.ImportTypeAssertionContainer=301]="ImportTypeAssertionContainer",e[e.PropertyAssignment=302]="PropertyAssignment",e[e.ShorthandPropertyAssignment=303]="ShorthandPropertyAssignment",e[e.SpreadAssignment=304]="SpreadAssignment",e[e.EnumMember=305]="EnumMember",e[e.UnparsedPrologue=306]="UnparsedPrologue",e[e.UnparsedPrepend=307]="UnparsedPrepend",e[e.UnparsedText=308]="UnparsedText",e[e.UnparsedInternalText=309]="UnparsedInternalText",e[e.UnparsedSyntheticReference=310]="UnparsedSyntheticReference",e[e.SourceFile=311]="SourceFile",e[e.Bundle=312]="Bundle",e[e.UnparsedSource=313]="UnparsedSource",e[e.InputFiles=314]="InputFiles",e[e.JSDocTypeExpression=315]="JSDocTypeExpression",e[e.JSDocNameReference=316]="JSDocNameReference",e[e.JSDocMemberName=317]="JSDocMemberName",e[e.JSDocAllType=318]="JSDocAllType",e[e.JSDocUnknownType=319]="JSDocUnknownType",e[e.JSDocNullableType=320]="JSDocNullableType",e[e.JSDocNonNullableType=321]="JSDocNonNullableType",e[e.JSDocOptionalType=322]="JSDocOptionalType",e[e.JSDocFunctionType=323]="JSDocFunctionType",e[e.JSDocVariadicType=324]="JSDocVariadicType",e[e.JSDocNamepathType=325]="JSDocNamepathType",e[e.JSDoc=326]="JSDoc",e[e.JSDocComment=326]="JSDocComment",e[e.JSDocText=327]="JSDocText",e[e.JSDocTypeLiteral=328]="JSDocTypeLiteral",e[e.JSDocSignature=329]="JSDocSignature",e[e.JSDocLink=330]="JSDocLink",e[e.JSDocLinkCode=331]="JSDocLinkCode",e[e.JSDocLinkPlain=332]="JSDocLinkPlain",e[e.JSDocTag=333]="JSDocTag",e[e.JSDocAugmentsTag=334]="JSDocAugmentsTag",e[e.JSDocImplementsTag=335]="JSDocImplementsTag",e[e.JSDocAuthorTag=336]="JSDocAuthorTag",e[e.JSDocDeprecatedTag=337]="JSDocDeprecatedTag",e[e.JSDocClassTag=338]="JSDocClassTag",e[e.JSDocPublicTag=339]="JSDocPublicTag",e[e.JSDocPrivateTag=340]="JSDocPrivateTag",e[e.JSDocProtectedTag=341]="JSDocProtectedTag",e[e.JSDocReadonlyTag=342]="JSDocReadonlyTag",e[e.JSDocOverrideTag=343]="JSDocOverrideTag",e[e.JSDocCallbackTag=344]="JSDocCallbackTag",e[e.JSDocOverloadTag=345]="JSDocOverloadTag",e[e.JSDocEnumTag=346]="JSDocEnumTag",e[e.JSDocParameterTag=347]="JSDocParameterTag",e[e.JSDocReturnTag=348]="JSDocReturnTag",e[e.JSDocThisTag=349]="JSDocThisTag",e[e.JSDocTypeTag=350]="JSDocTypeTag",e[e.JSDocTemplateTag=351]="JSDocTemplateTag",e[e.JSDocTypedefTag=352]="JSDocTypedefTag",e[e.JSDocSeeTag=353]="JSDocSeeTag",e[e.JSDocPropertyTag=354]="JSDocPropertyTag",e[e.JSDocThrowsTag=355]="JSDocThrowsTag",e[e.JSDocSatisfiesTag=356]="JSDocSatisfiesTag",e[e.SyntaxList=357]="SyntaxList",e[e.NotEmittedStatement=358]="NotEmittedStatement",e[e.PartiallyEmittedExpression=359]="PartiallyEmittedExpression",e[e.CommaListExpression=360]="CommaListExpression",e[e.SyntheticReferenceExpression=361]="SyntheticReferenceExpression",e[e.Count=362]="Count",e[e.FirstAssignment=64]="FirstAssignment",e[e.LastAssignment=79]="LastAssignment",e[e.FirstCompoundAssignment=65]="FirstCompoundAssignment",e[e.LastCompoundAssignment=79]="LastCompoundAssignment",e[e.FirstReservedWord=83]="FirstReservedWord",e[e.LastReservedWord=118]="LastReservedWord",e[e.FirstKeyword=83]="FirstKeyword",e[e.LastKeyword=164]="LastKeyword",e[e.FirstFutureReservedWord=119]="FirstFutureReservedWord",e[e.LastFutureReservedWord=127]="LastFutureReservedWord",e[e.FirstTypeNode=181]="FirstTypeNode",e[e.LastTypeNode=204]="LastTypeNode",e[e.FirstPunctuation=19]="FirstPunctuation",e[e.LastPunctuation=79]="LastPunctuation",e[e.FirstToken=0]="FirstToken",e[e.LastToken=164]="LastToken",e[e.FirstTriviaToken=2]="FirstTriviaToken",e[e.LastTriviaToken=7]="LastTriviaToken",e[e.FirstLiteralToken=9]="FirstLiteralToken",e[e.LastLiteralToken=15]="LastLiteralToken",e[e.FirstTemplateToken=15]="FirstTemplateToken",e[e.LastTemplateToken=18]="LastTemplateToken",e[e.FirstBinaryOperator=30]="FirstBinaryOperator",e[e.LastBinaryOperator=79]="LastBinaryOperator",e[e.FirstStatement=242]="FirstStatement",e[e.LastStatement=258]="LastStatement",e[e.FirstNode=165]="FirstNode",e[e.FirstJSDocNode=315]="FirstJSDocNode",e[e.LastJSDocNode=356]="LastJSDocNode",e[e.FirstJSDocTagNode=333]="FirstJSDocTagNode",e[e.LastJSDocTagNode=356]="LastJSDocTagNode",e[e.FirstContextualKeyword=128]="FirstContextualKeyword",e[e.LastContextualKeyword=164]="LastContextualKeyword",e))(bf||{}),vf=(e=>(e[e.None=0]="None",e[e.Let=1]="Let",e[e.Const=2]="Const",e[e.NestedNamespace=4]="NestedNamespace",e[e.Synthesized=8]="Synthesized",e[e.Namespace=16]="Namespace",e[e.OptionalChain=32]="OptionalChain",e[e.ExportContext=64]="ExportContext",e[e.ContainsThis=128]="ContainsThis",e[e.HasImplicitReturn=256]="HasImplicitReturn",e[e.HasExplicitReturn=512]="HasExplicitReturn",e[e.GlobalAugmentation=1024]="GlobalAugmentation",e[e.HasAsyncFunctions=2048]="HasAsyncFunctions",e[e.DisallowInContext=4096]="DisallowInContext",e[e.YieldContext=8192]="YieldContext",e[e.DecoratorContext=16384]="DecoratorContext",e[e.AwaitContext=32768]="AwaitContext",e[e.DisallowConditionalTypesContext=65536]="DisallowConditionalTypesContext",e[e.ThisNodeHasError=131072]="ThisNodeHasError",e[e.JavaScriptFile=262144]="JavaScriptFile",e[e.ThisNodeOrAnySubNodesHasError=524288]="ThisNodeOrAnySubNodesHasError",e[e.HasAggregatedChildData=1048576]="HasAggregatedChildData",e[e.PossiblyContainsDynamicImport=2097152]="PossiblyContainsDynamicImport",e[e.PossiblyContainsImportMeta=4194304]="PossiblyContainsImportMeta",e[e.JSDoc=8388608]="JSDoc",e[e.Ambient=16777216]="Ambient",e[e.InWithStatement=33554432]="InWithStatement",e[e.JsonFile=67108864]="JsonFile",e[e.TypeCached=134217728]="TypeCached",e[e.Deprecated=268435456]="Deprecated",e[e.BlockScoped=3]="BlockScoped",e[e.ReachabilityCheckFlags=768]="ReachabilityCheckFlags",e[e.ReachabilityAndEmitFlags=2816]="ReachabilityAndEmitFlags",e[e.ContextFlags=50720768]="ContextFlags",e[e.TypeExcludesFlags=40960]="TypeExcludesFlags",e[e.PermanentlySetIncrementalFlags=6291456]="PermanentlySetIncrementalFlags",e[e.IdentifierHasExtendedUnicodeEscape=128]="IdentifierHasExtendedUnicodeEscape",e[e.IdentifierIsInJSDocNamespace=2048]="IdentifierIsInJSDocNamespace",e))(vf||{}),Tf=(e=>(e[e.None=0]="None",e[e.Export=1]="Export",e[e.Ambient=2]="Ambient",e[e.Public=4]="Public",e[e.Private=8]="Private",e[e.Protected=16]="Protected",e[e.Static=32]="Static",e[e.Readonly=64]="Readonly",e[e.Accessor=128]="Accessor",e[e.Abstract=256]="Abstract",e[e.Async=512]="Async",e[e.Default=1024]="Default",e[e.Const=2048]="Const",e[e.HasComputedJSDocModifiers=4096]="HasComputedJSDocModifiers",e[e.Deprecated=8192]="Deprecated",e[e.Override=16384]="Override",e[e.In=32768]="In",e[e.Out=65536]="Out",e[e.Decorator=131072]="Decorator",e[e.HasComputedFlags=536870912]="HasComputedFlags",e[e.AccessibilityModifier=28]="AccessibilityModifier",e[e.ParameterPropertyModifier=16476]="ParameterPropertyModifier",e[e.NonPublicAccessibilityModifier=24]="NonPublicAccessibilityModifier",e[e.TypeScriptModifier=117086]="TypeScriptModifier",e[e.ExportDefault=1025]="ExportDefault",e[e.All=258047]="All",e[e.Modifier=126975]="Modifier",e))(Tf||{}),dh=(e=>(e[e.None=0]="None",e[e.IntrinsicNamedElement=1]="IntrinsicNamedElement",e[e.IntrinsicIndexedElement=2]="IntrinsicIndexedElement",e[e.IntrinsicElement=3]="IntrinsicElement",e))(dh||{}),xf=(e=>(e[e.Succeeded=1]="Succeeded",e[e.Failed=2]="Failed",e[e.Reported=4]="Reported",e[e.ReportsUnmeasurable=8]="ReportsUnmeasurable",e[e.ReportsUnreliable=16]="ReportsUnreliable",e[e.ReportsMask=24]="ReportsMask",e))(xf||{}),fh=(e=>(e[e.None=0]="None",e[e.Auto=1]="Auto",e[e.Loop=2]="Loop",e[e.Unique=3]="Unique",e[e.Node=4]="Node",e[e.KindMask=7]="KindMask",e[e.ReservedInNestedScopes=8]="ReservedInNestedScopes",e[e.Optimistic=16]="Optimistic",e[e.FileLevel=32]="FileLevel",e[e.AllowNameSubstitution=64]="AllowNameSubstitution",e))(fh||{}),mh=(e=>(e[e.None=0]="None",e[e.PrecedingLineBreak=1]="PrecedingLineBreak",e[e.PrecedingJSDocComment=2]="PrecedingJSDocComment",e[e.Unterminated=4]="Unterminated",e[e.ExtendedUnicodeEscape=8]="ExtendedUnicodeEscape",e[e.Scientific=16]="Scientific",e[e.Octal=32]="Octal",e[e.HexSpecifier=64]="HexSpecifier",e[e.BinarySpecifier=128]="BinarySpecifier",e[e.OctalSpecifier=256]="OctalSpecifier",e[e.ContainsSeparator=512]="ContainsSeparator",e[e.UnicodeEscape=1024]="UnicodeEscape",e[e.ContainsInvalidEscape=2048]="ContainsInvalidEscape",e[e.HexEscape=4096]="HexEscape",e[e.ContainsLeadingZero=8192]="ContainsLeadingZero",e[e.ContainsInvalidSeparator=16384]="ContainsInvalidSeparator",e[e.BinaryOrOctalSpecifier=384]="BinaryOrOctalSpecifier",e[e.WithSpecifier=448]="WithSpecifier",e[e.StringLiteralFlags=7176]="StringLiteralFlags",e[e.NumericLiteralFlags=25584]="NumericLiteralFlags",e[e.TemplateLiteralLikeFlags=7176]="TemplateLiteralLikeFlags",e[e.IsInvalid=26656]="IsInvalid",e))(mh||{}),ul=(e=>(e[e.Unreachable=1]="Unreachable",e[e.Start=2]="Start",e[e.BranchLabel=4]="BranchLabel",e[e.LoopLabel=8]="LoopLabel",e[e.Assignment=16]="Assignment",e[e.TrueCondition=32]="TrueCondition",e[e.FalseCondition=64]="FalseCondition",e[e.SwitchClause=128]="SwitchClause",e[e.ArrayMutation=256]="ArrayMutation",e[e.Call=512]="Call",e[e.ReduceLabel=1024]="ReduceLabel",e[e.Referenced=2048]="Referenced",e[e.Shared=4096]="Shared",e[e.Label=12]="Label",e[e.Condition=96]="Condition",e))(ul||{}),yh=(e=>(e[e.ExpectError=0]="ExpectError",e[e.Ignore=1]="Ignore",e))(yh||{}),Sf=class{},hh=(e=>(e[e.RootFile=0]="RootFile",e[e.SourceFromProjectReference=1]="SourceFromProjectReference",e[e.OutputFromProjectReference=2]="OutputFromProjectReference",e[e.Import=3]="Import",e[e.ReferenceFile=4]="ReferenceFile",e[e.TypeReferenceDirective=5]="TypeReferenceDirective",e[e.LibFile=6]="LibFile",e[e.LibReferenceDirective=7]="LibReferenceDirective",e[e.AutomaticTypeDirectiveFile=8]="AutomaticTypeDirectiveFile",e))(hh||{}),gh=(e=>(e[e.FilePreprocessingReferencedDiagnostic=0]="FilePreprocessingReferencedDiagnostic",e[e.FilePreprocessingFileExplainingDiagnostic=1]="FilePreprocessingFileExplainingDiagnostic",e[e.ResolutionDiagnostics=2]="ResolutionDiagnostics",e))(gh||{}),bh=(e=>(e[e.Js=0]="Js",e[e.Dts=1]="Dts",e))(bh||{}),vh=(e=>(e[e.Not=0]="Not",e[e.SafeModules=1]="SafeModules",e[e.Completely=2]="Completely",e))(vh||{}),Th=(e=>(e[e.Success=0]="Success",e[e.DiagnosticsPresent_OutputsSkipped=1]="DiagnosticsPresent_OutputsSkipped",e[e.DiagnosticsPresent_OutputsGenerated=2]="DiagnosticsPresent_OutputsGenerated",e[e.InvalidProject_OutputsSkipped=3]="InvalidProject_OutputsSkipped",e[e.ProjectReferenceCycle_OutputsSkipped=4]="ProjectReferenceCycle_OutputsSkipped",e))(Th||{}),xh=(e=>(e[e.Ok=0]="Ok",e[e.NeedsOverride=1]="NeedsOverride",e[e.HasInvalidOverride=2]="HasInvalidOverride",e))(xh||{}),Sh=(e=>(e[e.None=0]="None",e[e.Literal=1]="Literal",e[e.Subtype=2]="Subtype",e))(Sh||{}),wh=(e=>(e[e.None=0]="None",e[e.Signature=1]="Signature",e[e.NoConstraints=2]="NoConstraints",e[e.Completions=4]="Completions",e[e.SkipBindingPatterns=8]="SkipBindingPatterns",e))(wh||{}),Eh=(e=>(e[e.None=0]="None",e[e.NoTruncation=1]="NoTruncation",e[e.WriteArrayAsGenericType=2]="WriteArrayAsGenericType",e[e.GenerateNamesForShadowedTypeParams=4]="GenerateNamesForShadowedTypeParams",e[e.UseStructuralFallback=8]="UseStructuralFallback",e[e.ForbidIndexedAccessSymbolReferences=16]="ForbidIndexedAccessSymbolReferences",e[e.WriteTypeArgumentsOfSignature=32]="WriteTypeArgumentsOfSignature",e[e.UseFullyQualifiedType=64]="UseFullyQualifiedType",e[e.UseOnlyExternalAliasing=128]="UseOnlyExternalAliasing",e[e.SuppressAnyReturnType=256]="SuppressAnyReturnType",e[e.WriteTypeParametersInQualifiedName=512]="WriteTypeParametersInQualifiedName",e[e.MultilineObjectLiterals=1024]="MultilineObjectLiterals",e[e.WriteClassExpressionAsTypeLiteral=2048]="WriteClassExpressionAsTypeLiteral",e[e.UseTypeOfFunction=4096]="UseTypeOfFunction",e[e.OmitParameterModifiers=8192]="OmitParameterModifiers",e[e.UseAliasDefinedOutsideCurrentScope=16384]="UseAliasDefinedOutsideCurrentScope",e[e.UseSingleQuotesForStringLiteralType=268435456]="UseSingleQuotesForStringLiteralType",e[e.NoTypeReduction=536870912]="NoTypeReduction",e[e.OmitThisParameter=33554432]="OmitThisParameter",e[e.AllowThisInObjectLiteral=32768]="AllowThisInObjectLiteral",e[e.AllowQualifiedNameInPlaceOfIdentifier=65536]="AllowQualifiedNameInPlaceOfIdentifier",e[e.AllowAnonymousIdentifier=131072]="AllowAnonymousIdentifier",e[e.AllowEmptyUnionOrIntersection=262144]="AllowEmptyUnionOrIntersection",e[e.AllowEmptyTuple=524288]="AllowEmptyTuple",e[e.AllowUniqueESSymbolType=1048576]="AllowUniqueESSymbolType",e[e.AllowEmptyIndexInfoType=2097152]="AllowEmptyIndexInfoType",e[e.WriteComputedProps=1073741824]="WriteComputedProps",e[e.AllowNodeModulesRelativePaths=67108864]="AllowNodeModulesRelativePaths",e[e.DoNotIncludeSymbolChain=134217728]="DoNotIncludeSymbolChain",e[e.IgnoreErrors=70221824]="IgnoreErrors",e[e.InObjectTypeLiteral=4194304]="InObjectTypeLiteral",e[e.InTypeAlias=8388608]="InTypeAlias",e[e.InInitialEntityName=16777216]="InInitialEntityName",e))(Eh||{}),Ch=(e=>(e[e.None=0]="None",e[e.NoTruncation=1]="NoTruncation",e[e.WriteArrayAsGenericType=2]="WriteArrayAsGenericType",e[e.UseStructuralFallback=8]="UseStructuralFallback",e[e.WriteTypeArgumentsOfSignature=32]="WriteTypeArgumentsOfSignature",e[e.UseFullyQualifiedType=64]="UseFullyQualifiedType",e[e.SuppressAnyReturnType=256]="SuppressAnyReturnType",e[e.MultilineObjectLiterals=1024]="MultilineObjectLiterals",e[e.WriteClassExpressionAsTypeLiteral=2048]="WriteClassExpressionAsTypeLiteral",e[e.UseTypeOfFunction=4096]="UseTypeOfFunction",e[e.OmitParameterModifiers=8192]="OmitParameterModifiers",e[e.UseAliasDefinedOutsideCurrentScope=16384]="UseAliasDefinedOutsideCurrentScope",e[e.UseSingleQuotesForStringLiteralType=268435456]="UseSingleQuotesForStringLiteralType",e[e.NoTypeReduction=536870912]="NoTypeReduction",e[e.OmitThisParameter=33554432]="OmitThisParameter",e[e.AllowUniqueESSymbolType=1048576]="AllowUniqueESSymbolType",e[e.AddUndefined=131072]="AddUndefined",e[e.WriteArrowStyleSignature=262144]="WriteArrowStyleSignature",e[e.InArrayType=524288]="InArrayType",e[e.InElementType=2097152]="InElementType",e[e.InFirstTypeArgument=4194304]="InFirstTypeArgument",e[e.InTypeAlias=8388608]="InTypeAlias",e[e.NodeBuilderFlagsMask=848330091]="NodeBuilderFlagsMask",e))(Ch||{}),kh=(e=>(e[e.None=0]="None",e[e.WriteTypeParametersOrArguments=1]="WriteTypeParametersOrArguments",e[e.UseOnlyExternalAliasing=2]="UseOnlyExternalAliasing",e[e.AllowAnyNodeKind=4]="AllowAnyNodeKind",e[e.UseAliasDefinedOutsideCurrentScope=8]="UseAliasDefinedOutsideCurrentScope",e[e.WriteComputedProps=16]="WriteComputedProps",e[e.DoNotIncludeSymbolChain=32]="DoNotIncludeSymbolChain",e))(kh||{}),Ah=(e=>(e[e.Accessible=0]="Accessible",e[e.NotAccessible=1]="NotAccessible",e[e.CannotBeNamed=2]="CannotBeNamed",e))(Ah||{}),Dh=(e=>(e[e.UnionOrIntersection=0]="UnionOrIntersection",e[e.Spread=1]="Spread",e))(Dh||{}),Ph=(e=>(e[e.This=0]="This",e[e.Identifier=1]="Identifier",e[e.AssertsThis=2]="AssertsThis",e[e.AssertsIdentifier=3]="AssertsIdentifier",e))(Ph||{}),Nh=(e=>(e[e.Unknown=0]="Unknown",e[e.TypeWithConstructSignatureAndValue=1]="TypeWithConstructSignatureAndValue",e[e.VoidNullableOrNeverType=2]="VoidNullableOrNeverType",e[e.NumberLikeType=3]="NumberLikeType",e[e.BigIntLikeType=4]="BigIntLikeType",e[e.StringLikeType=5]="StringLikeType",e[e.BooleanType=6]="BooleanType",e[e.ArrayLikeType=7]="ArrayLikeType",e[e.ESSymbolType=8]="ESSymbolType",e[e.Promise=9]="Promise",e[e.TypeWithCallSignature=10]="TypeWithCallSignature",e[e.ObjectType=11]="ObjectType",e))(Nh||{}),wf=(e=>(e[e.None=0]="None",e[e.FunctionScopedVariable=1]="FunctionScopedVariable",e[e.BlockScopedVariable=2]="BlockScopedVariable",e[e.Property=4]="Property",e[e.EnumMember=8]="EnumMember",e[e.Function=16]="Function",e[e.Class=32]="Class",e[e.Interface=64]="Interface",e[e.ConstEnum=128]="ConstEnum",e[e.RegularEnum=256]="RegularEnum",e[e.ValueModule=512]="ValueModule",e[e.NamespaceModule=1024]="NamespaceModule",e[e.TypeLiteral=2048]="TypeLiteral",e[e.ObjectLiteral=4096]="ObjectLiteral",e[e.Method=8192]="Method",e[e.Constructor=16384]="Constructor",e[e.GetAccessor=32768]="GetAccessor",e[e.SetAccessor=65536]="SetAccessor",e[e.Signature=131072]="Signature",e[e.TypeParameter=262144]="TypeParameter",e[e.TypeAlias=524288]="TypeAlias",e[e.ExportValue=1048576]="ExportValue",e[e.Alias=2097152]="Alias",e[e.Prototype=4194304]="Prototype",e[e.ExportStar=8388608]="ExportStar",e[e.Optional=16777216]="Optional",e[e.Transient=33554432]="Transient",e[e.Assignment=67108864]="Assignment",e[e.ModuleExports=134217728]="ModuleExports",e[e.All=67108863]="All",e[e.Enum=384]="Enum",e[e.Variable=3]="Variable",e[e.Value=111551]="Value",e[e.Type=788968]="Type",e[e.Namespace=1920]="Namespace",e[e.Module=1536]="Module",e[e.Accessor=98304]="Accessor",e[e.FunctionScopedVariableExcludes=111550]="FunctionScopedVariableExcludes",e[e.BlockScopedVariableExcludes=111551]="BlockScopedVariableExcludes",e[e.ParameterExcludes=111551]="ParameterExcludes",e[e.PropertyExcludes=0]="PropertyExcludes",e[e.EnumMemberExcludes=900095]="EnumMemberExcludes",e[e.FunctionExcludes=110991]="FunctionExcludes",e[e.ClassExcludes=899503]="ClassExcludes",e[e.InterfaceExcludes=788872]="InterfaceExcludes",e[e.RegularEnumExcludes=899327]="RegularEnumExcludes",e[e.ConstEnumExcludes=899967]="ConstEnumExcludes",e[e.ValueModuleExcludes=110735]="ValueModuleExcludes",e[e.NamespaceModuleExcludes=0]="NamespaceModuleExcludes",e[e.MethodExcludes=103359]="MethodExcludes",e[e.GetAccessorExcludes=46015]="GetAccessorExcludes",e[e.SetAccessorExcludes=78783]="SetAccessorExcludes",e[e.AccessorExcludes=13247]="AccessorExcludes",e[e.TypeParameterExcludes=526824]="TypeParameterExcludes",e[e.TypeAliasExcludes=788968]="TypeAliasExcludes",e[e.AliasExcludes=2097152]="AliasExcludes",e[e.ModuleMember=2623475]="ModuleMember",e[e.ExportHasLocal=944]="ExportHasLocal",e[e.BlockScoped=418]="BlockScoped",e[e.PropertyOrAccessor=98308]="PropertyOrAccessor",e[e.ClassMember=106500]="ClassMember",e[e.ExportSupportsDefaultModifier=112]="ExportSupportsDefaultModifier",e[e.ExportDoesNotSupportDefaultModifier=-113]="ExportDoesNotSupportDefaultModifier",e[e.Classifiable=2885600]="Classifiable",e[e.LateBindingContainer=6256]="LateBindingContainer",e))(wf||{}),Ih=(e=>(e[e.Numeric=0]="Numeric",e[e.Literal=1]="Literal",e))(Ih||{}),Oh=(e=>(e[e.None=0]="None",e[e.Instantiated=1]="Instantiated",e[e.SyntheticProperty=2]="SyntheticProperty",e[e.SyntheticMethod=4]="SyntheticMethod",e[e.Readonly=8]="Readonly",e[e.ReadPartial=16]="ReadPartial",e[e.WritePartial=32]="WritePartial",e[e.HasNonUniformType=64]="HasNonUniformType",e[e.HasLiteralType=128]="HasLiteralType",e[e.ContainsPublic=256]="ContainsPublic",e[e.ContainsProtected=512]="ContainsProtected",e[e.ContainsPrivate=1024]="ContainsPrivate",e[e.ContainsStatic=2048]="ContainsStatic",e[e.Late=4096]="Late",e[e.ReverseMapped=8192]="ReverseMapped",e[e.OptionalParameter=16384]="OptionalParameter",e[e.RestParameter=32768]="RestParameter",e[e.DeferredType=65536]="DeferredType",e[e.HasNeverType=131072]="HasNeverType",e[e.Mapped=262144]="Mapped",e[e.StripOptional=524288]="StripOptional",e[e.Unresolved=1048576]="Unresolved",e[e.Synthetic=6]="Synthetic",e[e.Discriminant=192]="Discriminant",e[e.Partial=48]="Partial",e))(Oh||{}),Mh=(e=>(e.Call="__call",e.Constructor="__constructor",e.New="__new",e.Index="__index",e.ExportStar="__export",e.Global="__global",e.Missing="__missing",e.Type="__type",e.Object="__object",e.JSXAttributes="__jsxAttributes",e.Class="__class",e.Function="__function",e.Computed="__computed",e.Resolving="__resolving__",e.ExportEquals="export=",e.Default="default",e.This="this",e))(Mh||{}),Lh=(e=>(e[e.None=0]="None",e[e.TypeChecked=1]="TypeChecked",e[e.LexicalThis=2]="LexicalThis",e[e.CaptureThis=4]="CaptureThis",e[e.CaptureNewTarget=8]="CaptureNewTarget",e[e.SuperInstance=16]="SuperInstance",e[e.SuperStatic=32]="SuperStatic",e[e.ContextChecked=64]="ContextChecked",e[e.MethodWithSuperPropertyAccessInAsync=128]="MethodWithSuperPropertyAccessInAsync",e[e.MethodWithSuperPropertyAssignmentInAsync=256]="MethodWithSuperPropertyAssignmentInAsync",e[e.CaptureArguments=512]="CaptureArguments",e[e.EnumValuesComputed=1024]="EnumValuesComputed",e[e.LexicalModuleMergesWithClass=2048]="LexicalModuleMergesWithClass",e[e.LoopWithCapturedBlockScopedBinding=4096]="LoopWithCapturedBlockScopedBinding",e[e.ContainsCapturedBlockScopeBinding=8192]="ContainsCapturedBlockScopeBinding",e[e.CapturedBlockScopedBinding=16384]="CapturedBlockScopedBinding",e[e.BlockScopedBindingInLoop=32768]="BlockScopedBindingInLoop",e[e.ClassWithBodyScopedClassBinding=65536]="ClassWithBodyScopedClassBinding",e[e.BodyScopedClassBinding=131072]="BodyScopedClassBinding",e[e.NeedsLoopOutParameter=262144]="NeedsLoopOutParameter",e[e.AssignmentsMarked=524288]="AssignmentsMarked",e[e.ClassWithConstructorReference=1048576]="ClassWithConstructorReference",e[e.ConstructorReferenceInClass=2097152]="ConstructorReferenceInClass",e[e.ContainsClassWithPrivateIdentifiers=4194304]="ContainsClassWithPrivateIdentifiers",e[e.ContainsSuperPropertyInStaticInitializer=8388608]="ContainsSuperPropertyInStaticInitializer",e[e.InCheckIdentifier=16777216]="InCheckIdentifier",e))(Lh||{}),Ef=(e=>(e[e.Any=1]="Any",e[e.Unknown=2]="Unknown",e[e.String=4]="String",e[e.Number=8]="Number",e[e.Boolean=16]="Boolean",e[e.Enum=32]="Enum",e[e.BigInt=64]="BigInt",e[e.StringLiteral=128]="StringLiteral",e[e.NumberLiteral=256]="NumberLiteral",e[e.BooleanLiteral=512]="BooleanLiteral",e[e.EnumLiteral=1024]="EnumLiteral",e[e.BigIntLiteral=2048]="BigIntLiteral",e[e.ESSymbol=4096]="ESSymbol",e[e.UniqueESSymbol=8192]="UniqueESSymbol",e[e.Void=16384]="Void",e[e.Undefined=32768]="Undefined",e[e.Null=65536]="Null",e[e.Never=131072]="Never",e[e.TypeParameter=262144]="TypeParameter",e[e.Object=524288]="Object",e[e.Union=1048576]="Union",e[e.Intersection=2097152]="Intersection",e[e.Index=4194304]="Index",e[e.IndexedAccess=8388608]="IndexedAccess",e[e.Conditional=16777216]="Conditional",e[e.Substitution=33554432]="Substitution",e[e.NonPrimitive=67108864]="NonPrimitive",e[e.TemplateLiteral=134217728]="TemplateLiteral",e[e.StringMapping=268435456]="StringMapping",e[e.AnyOrUnknown=3]="AnyOrUnknown",e[e.Nullable=98304]="Nullable",e[e.Literal=2944]="Literal",e[e.Unit=109472]="Unit",e[e.Freshable=2976]="Freshable",e[e.StringOrNumberLiteral=384]="StringOrNumberLiteral",e[e.StringOrNumberLiteralOrUnique=8576]="StringOrNumberLiteralOrUnique",e[e.DefinitelyFalsy=117632]="DefinitelyFalsy",e[e.PossiblyFalsy=117724]="PossiblyFalsy",e[e.Intrinsic=67359327]="Intrinsic",e[e.StringLike=402653316]="StringLike",e[e.NumberLike=296]="NumberLike",e[e.BigIntLike=2112]="BigIntLike",e[e.BooleanLike=528]="BooleanLike",e[e.EnumLike=1056]="EnumLike",e[e.ESSymbolLike=12288]="ESSymbolLike",e[e.VoidLike=49152]="VoidLike",e[e.Primitive=402784252]="Primitive",e[e.DefinitelyNonNullable=470302716]="DefinitelyNonNullable",e[e.DisjointDomains=469892092]="DisjointDomains",e[e.UnionOrIntersection=3145728]="UnionOrIntersection",e[e.StructuredType=3670016]="StructuredType",e[e.TypeVariable=8650752]="TypeVariable",e[e.InstantiableNonPrimitive=58982400]="InstantiableNonPrimitive",e[e.InstantiablePrimitive=406847488]="InstantiablePrimitive",e[e.Instantiable=465829888]="Instantiable",e[e.StructuredOrInstantiable=469499904]="StructuredOrInstantiable",e[e.ObjectFlagsType=138117121]="ObjectFlagsType",e[e.Simplifiable=25165824]="Simplifiable",e[e.Singleton=67358815]="Singleton",e[e.Narrowable=536624127]="Narrowable",e[e.IncludesMask=473694207]="IncludesMask",e[e.IncludesMissingType=262144]="IncludesMissingType",e[e.IncludesNonWideningType=4194304]="IncludesNonWideningType",e[e.IncludesWildcard=8388608]="IncludesWildcard",e[e.IncludesEmptyObject=16777216]="IncludesEmptyObject",e[e.IncludesInstantiable=33554432]="IncludesInstantiable",e[e.NotPrimitiveUnion=36323331]="NotPrimitiveUnion",e))(Ef||{}),Cf=(e=>(e[e.None=0]="None",e[e.Class=1]="Class",e[e.Interface=2]="Interface",e[e.Reference=4]="Reference",e[e.Tuple=8]="Tuple",e[e.Anonymous=16]="Anonymous",e[e.Mapped=32]="Mapped",e[e.Instantiated=64]="Instantiated",e[e.ObjectLiteral=128]="ObjectLiteral",e[e.EvolvingArray=256]="EvolvingArray",e[e.ObjectLiteralPatternWithComputedProperties=512]="ObjectLiteralPatternWithComputedProperties",e[e.ReverseMapped=1024]="ReverseMapped",e[e.JsxAttributes=2048]="JsxAttributes",e[e.JSLiteral=4096]="JSLiteral",e[e.FreshLiteral=8192]="FreshLiteral",e[e.ArrayLiteral=16384]="ArrayLiteral",e[e.PrimitiveUnion=32768]="PrimitiveUnion",e[e.ContainsWideningType=65536]="ContainsWideningType",e[e.ContainsObjectOrArrayLiteral=131072]="ContainsObjectOrArrayLiteral",e[e.NonInferrableType=262144]="NonInferrableType",e[e.CouldContainTypeVariablesComputed=524288]="CouldContainTypeVariablesComputed",e[e.CouldContainTypeVariables=1048576]="CouldContainTypeVariables",e[e.ClassOrInterface=3]="ClassOrInterface",e[e.RequiresWidening=196608]="RequiresWidening",e[e.PropagatingFlags=458752]="PropagatingFlags",e[e.ObjectTypeKindMask=1343]="ObjectTypeKindMask",e[e.ContainsSpread=2097152]="ContainsSpread",e[e.ObjectRestType=4194304]="ObjectRestType",e[e.InstantiationExpressionType=8388608]="InstantiationExpressionType",e[e.IsClassInstanceClone=16777216]="IsClassInstanceClone",e[e.IdenticalBaseTypeCalculated=33554432]="IdenticalBaseTypeCalculated",e[e.IdenticalBaseTypeExists=67108864]="IdenticalBaseTypeExists",e[e.IsGenericTypeComputed=2097152]="IsGenericTypeComputed",e[e.IsGenericObjectType=4194304]="IsGenericObjectType",e[e.IsGenericIndexType=8388608]="IsGenericIndexType",e[e.IsGenericType=12582912]="IsGenericType",e[e.ContainsIntersections=16777216]="ContainsIntersections",e[e.IsUnknownLikeUnionComputed=33554432]="IsUnknownLikeUnionComputed",e[e.IsUnknownLikeUnion=67108864]="IsUnknownLikeUnion",e[e.IsNeverIntersectionComputed=16777216]="IsNeverIntersectionComputed",e[e.IsNeverIntersection=33554432]="IsNeverIntersection",e))(Cf||{}),Jh=(e=>(e[e.Invariant=0]="Invariant",e[e.Covariant=1]="Covariant",e[e.Contravariant=2]="Contravariant",e[e.Bivariant=3]="Bivariant",e[e.Independent=4]="Independent",e[e.VarianceMask=7]="VarianceMask",e[e.Unmeasurable=8]="Unmeasurable",e[e.Unreliable=16]="Unreliable",e[e.AllowsStructuralFallback=24]="AllowsStructuralFallback",e))(Jh||{}),Rh=(e=>(e[e.Required=1]="Required",e[e.Optional=2]="Optional",e[e.Rest=4]="Rest",e[e.Variadic=8]="Variadic",e[e.Fixed=3]="Fixed",e[e.Variable=12]="Variable",e[e.NonRequired=14]="NonRequired",e[e.NonRest=11]="NonRest",e))(Rh||{}),Fh=(e=>(e[e.None=0]="None",e[e.IncludeUndefined=1]="IncludeUndefined",e[e.NoIndexSignatures=2]="NoIndexSignatures",e[e.Writing=4]="Writing",e[e.CacheSymbol=8]="CacheSymbol",e[e.NoTupleBoundsCheck=16]="NoTupleBoundsCheck",e[e.ExpressionPosition=32]="ExpressionPosition",e[e.ReportDeprecated=64]="ReportDeprecated",e[e.SuppressNoImplicitAnyError=128]="SuppressNoImplicitAnyError",e[e.Contextual=256]="Contextual",e[e.Persistent=1]="Persistent",e))(Fh||{}),jh=(e=>(e[e.None=0]="None",e[e.StringsOnly=1]="StringsOnly",e[e.NoIndexSignatures=2]="NoIndexSignatures",e[e.NoReducibleCheck=4]="NoReducibleCheck",e))(jh||{}),Bh=(e=>(e[e.Component=0]="Component",e[e.Function=1]="Function",e[e.Mixed=2]="Mixed",e))(Bh||{}),Uh=(e=>(e[e.Call=0]="Call",e[e.Construct=1]="Construct",e))(Uh||{}),kf=(e=>(e[e.None=0]="None",e[e.HasRestParameter=1]="HasRestParameter",e[e.HasLiteralTypes=2]="HasLiteralTypes",e[e.Abstract=4]="Abstract",e[e.IsInnerCallChain=8]="IsInnerCallChain",e[e.IsOuterCallChain=16]="IsOuterCallChain",e[e.IsUntypedSignatureInJSFile=32]="IsUntypedSignatureInJSFile",e[e.IsNonInferrable=64]="IsNonInferrable",e[e.PropagatingFlags=39]="PropagatingFlags",e[e.CallChainFlags=24]="CallChainFlags",e))(kf||{}),qh=(e=>(e[e.String=0]="String",e[e.Number=1]="Number",e))(qh||{}),zh=(e=>(e[e.Simple=0]="Simple",e[e.Array=1]="Array",e[e.Deferred=2]="Deferred",e[e.Function=3]="Function",e[e.Composite=4]="Composite",e[e.Merged=5]="Merged",e))(zh||{}),Wh=(e=>(e[e.None=0]="None",e[e.NakedTypeVariable=1]="NakedTypeVariable",e[e.SpeculativeTuple=2]="SpeculativeTuple",e[e.SubstituteSource=4]="SubstituteSource",e[e.HomomorphicMappedType=8]="HomomorphicMappedType",e[e.PartialHomomorphicMappedType=16]="PartialHomomorphicMappedType",e[e.MappedTypeConstraint=32]="MappedTypeConstraint",e[e.ContravariantConditional=64]="ContravariantConditional",e[e.ReturnType=128]="ReturnType",e[e.LiteralKeyof=256]="LiteralKeyof",e[e.NoConstraints=512]="NoConstraints",e[e.AlwaysStrict=1024]="AlwaysStrict",e[e.MaxValue=2048]="MaxValue",e[e.PriorityImpliesCombination=416]="PriorityImpliesCombination",e[e.Circularity=-1]="Circularity",e))(Wh||{}),Vh=(e=>(e[e.None=0]="None",e[e.NoDefault=1]="NoDefault",e[e.AnyDefault=2]="AnyDefault",e[e.SkippedGenericFunction=4]="SkippedGenericFunction",e))(Vh||{}),Hh=(e=>(e[e.False=0]="False",e[e.Unknown=1]="Unknown",e[e.Maybe=3]="Maybe",e[e.True=-1]="True",e))(Hh||{}),Kh=(e=>(e[e.None=0]="None",e[e.ExportsProperty=1]="ExportsProperty",e[e.ModuleExports=2]="ModuleExports",e[e.PrototypeProperty=3]="PrototypeProperty",e[e.ThisProperty=4]="ThisProperty",e[e.Property=5]="Property",e[e.Prototype=6]="Prototype",e[e.ObjectDefinePropertyValue=7]="ObjectDefinePropertyValue",e[e.ObjectDefinePropertyExports=8]="ObjectDefinePropertyExports",e[e.ObjectDefinePrototypeProperty=9]="ObjectDefinePrototypeProperty",e))(Kh||{}),Af=(e=>(e[e.Warning=0]="Warning",e[e.Error=1]="Error",e[e.Suggestion=2]="Suggestion",e[e.Message=3]="Message",e))(Af||{}),Gh=(e=>(e[e.Classic=1]="Classic",e[e.NodeJs=2]="NodeJs",e[e.Node10=2]="Node10",e[e.Node16=3]="Node16",e[e.NodeNext=99]="NodeNext",e[e.Bundler=100]="Bundler",e))(Gh||{}),Xh=(e=>(e[e.Legacy=1]="Legacy",e[e.Auto=2]="Auto",e[e.Force=3]="Force",e))(Xh||{}),$h=(e=>(e[e.FixedPollingInterval=0]="FixedPollingInterval",e[e.PriorityPollingInterval=1]="PriorityPollingInterval",e[e.DynamicPriorityPolling=2]="DynamicPriorityPolling",e[e.FixedChunkSizePolling=3]="FixedChunkSizePolling",e[e.UseFsEvents=4]="UseFsEvents",e[e.UseFsEventsOnParentDirectory=5]="UseFsEventsOnParentDirectory",e))($h||{}),Qh=(e=>(e[e.UseFsEvents=0]="UseFsEvents",e[e.FixedPollingInterval=1]="FixedPollingInterval",e[e.DynamicPriorityPolling=2]="DynamicPriorityPolling",e[e.FixedChunkSizePolling=3]="FixedChunkSizePolling",e))(Qh||{}),Yh=(e=>(e[e.FixedInterval=0]="FixedInterval",e[e.PriorityInterval=1]="PriorityInterval",e[e.DynamicPriority=2]="DynamicPriority",e[e.FixedChunkSize=3]="FixedChunkSize",e))(Yh||{}),Zh=(e=>(e[e.None=0]="None",e[e.CommonJS=1]="CommonJS",e[e.AMD=2]="AMD",e[e.UMD=3]="UMD",e[e.System=4]="System",e[e.ES2015=5]="ES2015",e[e.ES2020=6]="ES2020",e[e.ES2022=7]="ES2022",e[e.ESNext=99]="ESNext",e[e.Node16=100]="Node16",e[e.NodeNext=199]="NodeNext",e))(Zh||{}),e0=(e=>(e[e.None=0]="None",e[e.Preserve=1]="Preserve",e[e.React=2]="React",e[e.ReactNative=3]="ReactNative",e[e.ReactJSX=4]="ReactJSX",e[e.ReactJSXDev=5]="ReactJSXDev",e))(e0||{}),t0=(e=>(e[e.Remove=0]="Remove",e[e.Preserve=1]="Preserve",e[e.Error=2]="Error",e))(t0||{}),n0=(e=>(e[e.CarriageReturnLineFeed=0]="CarriageReturnLineFeed",e[e.LineFeed=1]="LineFeed",e))(n0||{}),r0=(e=>(e[e.Unknown=0]="Unknown",e[e.JS=1]="JS",e[e.JSX=2]="JSX",e[e.TS=3]="TS",e[e.TSX=4]="TSX",e[e.External=5]="External",e[e.JSON=6]="JSON",e[e.Deferred=7]="Deferred",e))(r0||{}),i0=(e=>(e[e.ES3=0]="ES3",e[e.ES5=1]="ES5",e[e.ES2015=2]="ES2015",e[e.ES2016=3]="ES2016",e[e.ES2017=4]="ES2017",e[e.ES2018=5]="ES2018",e[e.ES2019=6]="ES2019",e[e.ES2020=7]="ES2020",e[e.ES2021=8]="ES2021",e[e.ES2022=9]="ES2022",e[e.ESNext=99]="ESNext",e[e.JSON=100]="JSON",e[e.Latest=99]="Latest",e))(i0||{}),a0=(e=>(e[e.Standard=0]="Standard",e[e.JSX=1]="JSX",e))(a0||{}),o0=(e=>(e[e.None=0]="None",e[e.Recursive=1]="Recursive",e))(o0||{}),s0=(e=>(e[e.nullCharacter=0]="nullCharacter",e[e.maxAsciiCharacter=127]="maxAsciiCharacter",e[e.lineFeed=10]="lineFeed",e[e.carriageReturn=13]="carriageReturn",e[e.lineSeparator=8232]="lineSeparator",e[e.paragraphSeparator=8233]="paragraphSeparator",e[e.nextLine=133]="nextLine",e[e.space=32]="space",e[e.nonBreakingSpace=160]="nonBreakingSpace",e[e.enQuad=8192]="enQuad",e[e.emQuad=8193]="emQuad",e[e.enSpace=8194]="enSpace",e[e.emSpace=8195]="emSpace",e[e.threePerEmSpace=8196]="threePerEmSpace",e[e.fourPerEmSpace=8197]="fourPerEmSpace",e[e.sixPerEmSpace=8198]="sixPerEmSpace",e[e.figureSpace=8199]="figureSpace",e[e.punctuationSpace=8200]="punctuationSpace",e[e.thinSpace=8201]="thinSpace",e[e.hairSpace=8202]="hairSpace",e[e.zeroWidthSpace=8203]="zeroWidthSpace",e[e.narrowNoBreakSpace=8239]="narrowNoBreakSpace",e[e.ideographicSpace=12288]="ideographicSpace",e[e.mathematicalSpace=8287]="mathematicalSpace",e[e.ogham=5760]="ogham",e[e.replacementCharacter=65533]="replacementCharacter",e[e._=95]="_",e[e.$=36]="$",e[e._0=48]="_0",e[e._1=49]="_1",e[e._2=50]="_2",e[e._3=51]="_3",e[e._4=52]="_4",e[e._5=53]="_5",e[e._6=54]="_6",e[e._7=55]="_7",e[e._8=56]="_8",e[e._9=57]="_9",e[e.a=97]="a",e[e.b=98]="b",e[e.c=99]="c",e[e.d=100]="d",e[e.e=101]="e",e[e.f=102]="f",e[e.g=103]="g",e[e.h=104]="h",e[e.i=105]="i",e[e.j=106]="j",e[e.k=107]="k",e[e.l=108]="l",e[e.m=109]="m",e[e.n=110]="n",e[e.o=111]="o",e[e.p=112]="p",e[e.q=113]="q",e[e.r=114]="r",e[e.s=115]="s",e[e.t=116]="t",e[e.u=117]="u",e[e.v=118]="v",e[e.w=119]="w",e[e.x=120]="x",e[e.y=121]="y",e[e.z=122]="z",e[e.A=65]="A",e[e.B=66]="B",e[e.C=67]="C",e[e.D=68]="D",e[e.E=69]="E",e[e.F=70]="F",e[e.G=71]="G",e[e.H=72]="H",e[e.I=73]="I",e[e.J=74]="J",e[e.K=75]="K",e[e.L=76]="L",e[e.M=77]="M",e[e.N=78]="N",e[e.O=79]="O",e[e.P=80]="P",e[e.Q=81]="Q",e[e.R=82]="R",e[e.S=83]="S",e[e.T=84]="T",e[e.U=85]="U",e[e.V=86]="V",e[e.W=87]="W",e[e.X=88]="X",e[e.Y=89]="Y",e[e.Z=90]="Z",e[e.ampersand=38]="ampersand",e[e.asterisk=42]="asterisk",e[e.at=64]="at",e[e.backslash=92]="backslash",e[e.backtick=96]="backtick",e[e.bar=124]="bar",e[e.caret=94]="caret",e[e.closeBrace=125]="closeBrace",e[e.closeBracket=93]="closeBracket",e[e.closeParen=41]="closeParen",e[e.colon=58]="colon",e[e.comma=44]="comma",e[e.dot=46]="dot",e[e.doubleQuote=34]="doubleQuote",e[e.equals=61]="equals",e[e.exclamation=33]="exclamation",e[e.greaterThan=62]="greaterThan",e[e.hash=35]="hash",e[e.lessThan=60]="lessThan",e[e.minus=45]="minus",e[e.openBrace=123]="openBrace",e[e.openBracket=91]="openBracket",e[e.openParen=40]="openParen",e[e.percent=37]="percent",e[e.plus=43]="plus",e[e.question=63]="question",e[e.semicolon=59]="semicolon",e[e.singleQuote=39]="singleQuote",e[e.slash=47]="slash",e[e.tilde=126]="tilde",e[e.backspace=8]="backspace",e[e.formFeed=12]="formFeed",e[e.byteOrderMark=65279]="byteOrderMark",e[e.tab=9]="tab",e[e.verticalTab=11]="verticalTab",e))(s0||{}),_0=(e=>(e.Ts=".ts",e.Tsx=".tsx",e.Dts=".d.ts",e.Js=".js",e.Jsx=".jsx",e.Json=".json",e.TsBuildInfo=".tsbuildinfo",e.Mjs=".mjs",e.Mts=".mts",e.Dmts=".d.mts",e.Cjs=".cjs",e.Cts=".cts",e.Dcts=".d.cts",e))(_0||{}),Df=(e=>(e[e.None=0]="None",e[e.ContainsTypeScript=1]="ContainsTypeScript",e[e.ContainsJsx=2]="ContainsJsx",e[e.ContainsESNext=4]="ContainsESNext",e[e.ContainsES2022=8]="ContainsES2022",e[e.ContainsES2021=16]="ContainsES2021",e[e.ContainsES2020=32]="ContainsES2020",e[e.ContainsES2019=64]="ContainsES2019",e[e.ContainsES2018=128]="ContainsES2018",e[e.ContainsES2017=256]="ContainsES2017",e[e.ContainsES2016=512]="ContainsES2016",e[e.ContainsES2015=1024]="ContainsES2015",e[e.ContainsGenerator=2048]="ContainsGenerator",e[e.ContainsDestructuringAssignment=4096]="ContainsDestructuringAssignment",e[e.ContainsTypeScriptClassSyntax=8192]="ContainsTypeScriptClassSyntax",e[e.ContainsLexicalThis=16384]="ContainsLexicalThis",e[e.ContainsRestOrSpread=32768]="ContainsRestOrSpread",e[e.ContainsObjectRestOrSpread=65536]="ContainsObjectRestOrSpread",e[e.ContainsComputedPropertyName=131072]="ContainsComputedPropertyName",e[e.ContainsBlockScopedBinding=262144]="ContainsBlockScopedBinding",e[e.ContainsBindingPattern=524288]="ContainsBindingPattern",e[e.ContainsYield=1048576]="ContainsYield",e[e.ContainsAwait=2097152]="ContainsAwait",e[e.ContainsHoistedDeclarationOrCompletion=4194304]="ContainsHoistedDeclarationOrCompletion",e[e.ContainsDynamicImport=8388608]="ContainsDynamicImport",e[e.ContainsClassFields=16777216]="ContainsClassFields",e[e.ContainsDecorators=33554432]="ContainsDecorators",e[e.ContainsPossibleTopLevelAwait=67108864]="ContainsPossibleTopLevelAwait",e[e.ContainsLexicalSuper=134217728]="ContainsLexicalSuper",e[e.ContainsUpdateExpressionForIdentifier=268435456]="ContainsUpdateExpressionForIdentifier",e[e.ContainsPrivateIdentifierInExpression=536870912]="ContainsPrivateIdentifierInExpression",e[e.HasComputedFlags=-2147483648]="HasComputedFlags",e[e.AssertTypeScript=1]="AssertTypeScript",e[e.AssertJsx=2]="AssertJsx",e[e.AssertESNext=4]="AssertESNext",e[e.AssertES2022=8]="AssertES2022",e[e.AssertES2021=16]="AssertES2021",e[e.AssertES2020=32]="AssertES2020",e[e.AssertES2019=64]="AssertES2019",e[e.AssertES2018=128]="AssertES2018",e[e.AssertES2017=256]="AssertES2017",e[e.AssertES2016=512]="AssertES2016",e[e.AssertES2015=1024]="AssertES2015",e[e.AssertGenerator=2048]="AssertGenerator",e[e.AssertDestructuringAssignment=4096]="AssertDestructuringAssignment",e[e.OuterExpressionExcludes=-2147483648]="OuterExpressionExcludes",e[e.PropertyAccessExcludes=-2147483648]="PropertyAccessExcludes",e[e.NodeExcludes=-2147483648]="NodeExcludes",e[e.ArrowFunctionExcludes=-2072174592]="ArrowFunctionExcludes",e[e.FunctionExcludes=-1937940480]="FunctionExcludes",e[e.ConstructorExcludes=-1937948672]="ConstructorExcludes",e[e.MethodOrAccessorExcludes=-2005057536]="MethodOrAccessorExcludes",e[e.PropertyExcludes=-2013249536]="PropertyExcludes",e[e.ClassExcludes=-2147344384]="ClassExcludes",e[e.ModuleExcludes=-1941676032]="ModuleExcludes",e[e.TypeExcludes=-2]="TypeExcludes",e[e.ObjectLiteralExcludes=-2147278848]="ObjectLiteralExcludes",e[e.ArrayLiteralOrCallOrNewExcludes=-2147450880]="ArrayLiteralOrCallOrNewExcludes",e[e.VariableDeclarationListExcludes=-2146893824]="VariableDeclarationListExcludes",e[e.ParameterExcludes=-2147483648]="ParameterExcludes",e[e.CatchClauseExcludes=-2147418112]="CatchClauseExcludes",e[e.BindingPatternExcludes=-2147450880]="BindingPatternExcludes",e[e.ContainsLexicalThisOrSuper=134234112]="ContainsLexicalThisOrSuper",e[e.PropertyNamePropagatingFlags=134234112]="PropertyNamePropagatingFlags",e))(Df||{}),Pf=(e=>(e[e.TabStop=0]="TabStop",e[e.Placeholder=1]="Placeholder",e[e.Choice=2]="Choice",e[e.Variable=3]="Variable",e))(Pf||{}),Nf=(e=>(e[e.None=0]="None",e[e.SingleLine=1]="SingleLine",e[e.MultiLine=2]="MultiLine",e[e.AdviseOnEmitNode=4]="AdviseOnEmitNode",e[e.NoSubstitution=8]="NoSubstitution",e[e.CapturesThis=16]="CapturesThis",e[e.NoLeadingSourceMap=32]="NoLeadingSourceMap",e[e.NoTrailingSourceMap=64]="NoTrailingSourceMap",e[e.NoSourceMap=96]="NoSourceMap",e[e.NoNestedSourceMaps=128]="NoNestedSourceMaps",e[e.NoTokenLeadingSourceMaps=256]="NoTokenLeadingSourceMaps",e[e.NoTokenTrailingSourceMaps=512]="NoTokenTrailingSourceMaps",e[e.NoTokenSourceMaps=768]="NoTokenSourceMaps",e[e.NoLeadingComments=1024]="NoLeadingComments",e[e.NoTrailingComments=2048]="NoTrailingComments",e[e.NoComments=3072]="NoComments",e[e.NoNestedComments=4096]="NoNestedComments",e[e.HelperName=8192]="HelperName",e[e.ExportName=16384]="ExportName",e[e.LocalName=32768]="LocalName",e[e.InternalName=65536]="InternalName",e[e.Indented=131072]="Indented",e[e.NoIndentation=262144]="NoIndentation",e[e.AsyncFunctionBody=524288]="AsyncFunctionBody",e[e.ReuseTempVariableScope=1048576]="ReuseTempVariableScope",e[e.CustomPrologue=2097152]="CustomPrologue",e[e.NoHoisting=4194304]="NoHoisting",e[e.Iterator=8388608]="Iterator",e[e.NoAsciiEscaping=16777216]="NoAsciiEscaping",e))(Nf||{}),c0=(e=>(e[e.None=0]="None",e[e.TypeScriptClassWrapper=1]="TypeScriptClassWrapper",e[e.NeverApplyImportHelper=2]="NeverApplyImportHelper",e[e.IgnoreSourceNewlines=4]="IgnoreSourceNewlines",e[e.Immutable=8]="Immutable",e[e.IndirectCall=16]="IndirectCall",e[e.TransformPrivateStaticElements=32]="TransformPrivateStaticElements",e))(c0||{}),l0=(e=>(e[e.Extends=1]="Extends",e[e.Assign=2]="Assign",e[e.Rest=4]="Rest",e[e.Decorate=8]="Decorate",e[e.ESDecorateAndRunInitializers=8]="ESDecorateAndRunInitializers",e[e.Metadata=16]="Metadata",e[e.Param=32]="Param",e[e.Awaiter=64]="Awaiter",e[e.Generator=128]="Generator",e[e.Values=256]="Values",e[e.Read=512]="Read",e[e.SpreadArray=1024]="SpreadArray",e[e.Await=2048]="Await",e[e.AsyncGenerator=4096]="AsyncGenerator",e[e.AsyncDelegator=8192]="AsyncDelegator",e[e.AsyncValues=16384]="AsyncValues",e[e.ExportStar=32768]="ExportStar",e[e.ImportStar=65536]="ImportStar",e[e.ImportDefault=131072]="ImportDefault",e[e.MakeTemplateObject=262144]="MakeTemplateObject",e[e.ClassPrivateFieldGet=524288]="ClassPrivateFieldGet",e[e.ClassPrivateFieldSet=1048576]="ClassPrivateFieldSet",e[e.ClassPrivateFieldIn=2097152]="ClassPrivateFieldIn",e[e.CreateBinding=4194304]="CreateBinding",e[e.SetFunctionName=8388608]="SetFunctionName",e[e.PropKey=16777216]="PropKey",e[e.FirstEmitHelper=1]="FirstEmitHelper",e[e.LastEmitHelper=16777216]="LastEmitHelper",e[e.ForOfIncludes=256]="ForOfIncludes",e[e.ForAwaitOfIncludes=16384]="ForAwaitOfIncludes",e[e.AsyncGeneratorIncludes=6144]="AsyncGeneratorIncludes",e[e.AsyncDelegatorIncludes=26624]="AsyncDelegatorIncludes",e[e.SpreadIncludes=1536]="SpreadIncludes",e))(l0||{}),u0=(e=>(e[e.SourceFile=0]="SourceFile",e[e.Expression=1]="Expression",e[e.IdentifierName=2]="IdentifierName",e[e.MappedTypeParameter=3]="MappedTypeParameter",e[e.Unspecified=4]="Unspecified",e[e.EmbeddedStatement=5]="EmbeddedStatement",e[e.JsxAttributeValue=6]="JsxAttributeValue",e))(u0||{}),p0=(e=>(e[e.Parentheses=1]="Parentheses",e[e.TypeAssertions=2]="TypeAssertions",e[e.NonNullAssertions=4]="NonNullAssertions",e[e.PartiallyEmittedExpressions=8]="PartiallyEmittedExpressions",e[e.Assertions=6]="Assertions",e[e.All=15]="All",e[e.ExcludeJSDocTypeAssertion=16]="ExcludeJSDocTypeAssertion",e))(p0||{}),d0=(e=>(e[e.None=0]="None",e[e.InParameters=1]="InParameters",e[e.VariablesHoistedInParameters=2]="VariablesHoistedInParameters",e))(d0||{}),f0=(e=>(e.Prologue="prologue",e.EmitHelpers="emitHelpers",e.NoDefaultLib="no-default-lib",e.Reference="reference",e.Type="type",e.TypeResolutionModeRequire="type-require",e.TypeResolutionModeImport="type-import",e.Lib="lib",e.Prepend="prepend",e.Text="text",e.Internal="internal",e))(f0||{}),m0=(e=>(e[e.None=0]="None",e[e.SingleLine=0]="SingleLine",e[e.MultiLine=1]="MultiLine",e[e.PreserveLines=2]="PreserveLines",e[e.LinesMask=3]="LinesMask",e[e.NotDelimited=0]="NotDelimited",e[e.BarDelimited=4]="BarDelimited",e[e.AmpersandDelimited=8]="AmpersandDelimited",e[e.CommaDelimited=16]="CommaDelimited",e[e.AsteriskDelimited=32]="AsteriskDelimited",e[e.DelimitersMask=60]="DelimitersMask",e[e.AllowTrailingComma=64]="AllowTrailingComma",e[e.Indented=128]="Indented",e[e.SpaceBetweenBraces=256]="SpaceBetweenBraces",e[e.SpaceBetweenSiblings=512]="SpaceBetweenSiblings",e[e.Braces=1024]="Braces",e[e.Parenthesis=2048]="Parenthesis",e[e.AngleBrackets=4096]="AngleBrackets",e[e.SquareBrackets=8192]="SquareBrackets",e[e.BracketsMask=15360]="BracketsMask",e[e.OptionalIfUndefined=16384]="OptionalIfUndefined",e[e.OptionalIfEmpty=32768]="OptionalIfEmpty",e[e.Optional=49152]="Optional",e[e.PreferNewLine=65536]="PreferNewLine",e[e.NoTrailingNewLine=131072]="NoTrailingNewLine",e[e.NoInterveningComments=262144]="NoInterveningComments",e[e.NoSpaceIfEmpty=524288]="NoSpaceIfEmpty",e[e.SingleElement=1048576]="SingleElement",e[e.SpaceAfterList=2097152]="SpaceAfterList",e[e.Modifiers=2359808]="Modifiers",e[e.HeritageClauses=512]="HeritageClauses",e[e.SingleLineTypeLiteralMembers=768]="SingleLineTypeLiteralMembers",e[e.MultiLineTypeLiteralMembers=32897]="MultiLineTypeLiteralMembers",e[e.SingleLineTupleTypeElements=528]="SingleLineTupleTypeElements",e[e.MultiLineTupleTypeElements=657]="MultiLineTupleTypeElements",e[e.UnionTypeConstituents=516]="UnionTypeConstituents",e[e.IntersectionTypeConstituents=520]="IntersectionTypeConstituents",e[e.ObjectBindingPatternElements=525136]="ObjectBindingPatternElements",e[e.ArrayBindingPatternElements=524880]="ArrayBindingPatternElements",e[e.ObjectLiteralExpressionProperties=526226]="ObjectLiteralExpressionProperties",e[e.ImportClauseEntries=526226]="ImportClauseEntries",e[e.ArrayLiteralExpressionElements=8914]="ArrayLiteralExpressionElements",e[e.CommaListElements=528]="CommaListElements",e[e.CallExpressionArguments=2576]="CallExpressionArguments",e[e.NewExpressionArguments=18960]="NewExpressionArguments",e[e.TemplateExpressionSpans=262144]="TemplateExpressionSpans",e[e.SingleLineBlockStatements=768]="SingleLineBlockStatements",e[e.MultiLineBlockStatements=129]="MultiLineBlockStatements",e[e.VariableDeclarationList=528]="VariableDeclarationList",e[e.SingleLineFunctionBodyStatements=768]="SingleLineFunctionBodyStatements",e[e.MultiLineFunctionBodyStatements=1]="MultiLineFunctionBodyStatements",e[e.ClassHeritageClauses=0]="ClassHeritageClauses",e[e.ClassMembers=129]="ClassMembers",e[e.InterfaceMembers=129]="InterfaceMembers",e[e.EnumMembers=145]="EnumMembers",e[e.CaseBlockClauses=129]="CaseBlockClauses",e[e.NamedImportsOrExportsElements=525136]="NamedImportsOrExportsElements",e[e.JsxElementOrFragmentChildren=262144]="JsxElementOrFragmentChildren",e[e.JsxElementAttributes=262656]="JsxElementAttributes",e[e.CaseOrDefaultClauseStatements=163969]="CaseOrDefaultClauseStatements",e[e.HeritageClauseTypes=528]="HeritageClauseTypes",e[e.SourceFileStatements=131073]="SourceFileStatements",e[e.Decorators=2146305]="Decorators",e[e.TypeArguments=53776]="TypeArguments",e[e.TypeParameters=53776]="TypeParameters",e[e.Parameters=2576]="Parameters",e[e.IndexSignatureParameters=8848]="IndexSignatureParameters",e[e.JSDocComment=33]="JSDocComment",e))(m0||{}),y0=(e=>(e[e.None=0]="None",e[e.TripleSlashXML=1]="TripleSlashXML",e[e.SingleLine=2]="SingleLine",e[e.MultiLine=4]="MultiLine",e[e.All=7]="All",e[e.Default=7]="Default",e))(y0||{}),om={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}}}}),v5=()=>{},h0;function hg(e){return e===47||e===92}function T5(e){return kl(e)<0}function y_(e){return kl(e)>0}function x5(e){let t=kl(e);return t>0&&t===e.length}function gg(e){return kl(e)!==0}function is(e){return/^\.\.?($|[\\/])/.test(e)}function S5(e){return!gg(e)&&!is(e)}function pT(e){return Ga(h_(e),".")}function Ea(e,t){return e.length>t.length&&rs(e,t)}function Wr(e,t){for(let n of t)if(Ea(e,n))return!0;return!1}function sm(e){return e.length>0&&hg(e.charCodeAt(e.length-1))}function Y6(e){return e>=97&&e<=122||e>=65&&e<=90}function w5(e,t){let n=e.charCodeAt(t);if(n===58)return t+1;if(n===37&&e.charCodeAt(t+1)===51){let i=e.charCodeAt(t+2);if(i===97||i===65)return t+3}return-1}function kl(e){if(!e)return 0;let t=e.charCodeAt(0);if(t===47||t===92){if(e.charCodeAt(1)!==t)return 1;let i=e.indexOf(t===47?_r:Sg,2);return i<0?e.length:i+1}if(Y6(t)&&e.charCodeAt(1)===58){let i=e.charCodeAt(2);if(i===47||i===92)return 3;if(e.length===2)return 2}let n=e.indexOf(b0);if(n!==-1){let i=n+b0.length,s=e.indexOf(_r,i);if(s!==-1){let l=e.slice(0,n),d=e.slice(i,s);if(l==="file"&&(d===""||d==="localhost")&&Y6(e.charCodeAt(s+1))){let y=w5(e,s+2);if(y!==-1){if(e.charCodeAt(y)===47)return~(y+1);if(y===e.length)return~y}}return~(s+1)}return~e.length}return 0}function Si(e){let t=kl(e);return t<0?~t:t}function Hi(e){e=Ho(e);let t=Si(e);return t===e.length?e:(e=g_(e),e.slice(0,Math.max(t,e.lastIndexOf(_r))))}function h_(e,t,n){if(e=Ho(e),Si(e)===e.length)return"";e=g_(e);let s=e.slice(Math.max(Si(e),e.lastIndexOf(_r)+1)),l=t!==void 0&&n!==void 0?If(s,t,n):void 0;return l?s.slice(0,s.length-l.length):s}function Z6(e,t,n){if(Jn(t,".")||(t="."+t),e.length>=t.length&&e.charCodeAt(e.length-t.length)===46){let i=e.slice(e.length-t.length);if(n(i,t))return i}}function E5(e,t,n){if(typeof t=="string")return Z6(e,t,n)||"";for(let i of t){let s=Z6(e,i,n);if(s)return s}return""}function If(e,t,n){if(t)return E5(g_(e),t,n?i_:Cl);let i=h_(e),s=i.lastIndexOf(".");return s>=0?i.substring(s):""}function C5(e,t){let n=e.substring(0,t),i=e.substring(t).split(_r);return i.length&&!Ti(i)&&i.pop(),[n,...i]}function wi(e,t=""){return e=yn(t,e),C5(e,Si(e))}function Vo(e,t){return e.length===0?"":(e[0]&&Ko(e[0]))+e.slice(1,t).join(_r)}function Ho(e){return e.indexOf("\\")!==-1?e.replace(hT,_r):e}function va(e){if(!ft(e))return[];let t=[e[0]];for(let n=1;n1){if(t[t.length-1]!==".."){t.pop();continue}}else if(t[0])continue}t.push(i)}}return t}function yn(e,...t){e&&(e=Ho(e));for(let n of t)n&&(n=Ho(n),!e||Si(n)!==0?e=n:e=Ko(e)+n);return e}function g0(e,...t){return sr(ft(t)?yn(e,...t):Ho(e))}function _m(e,t){return va(wi(e,t))}function Ta(e,t){return Vo(_m(e,t))}function sr(e){if(e=Ho(e),!pl.test(e))return e;let t=e.replace(/\/\.\//g,"/").replace(/^\.\//,"");if(t!==e&&(e=t,!pl.test(e)))return e;let n=Vo(va(wi(e)));return n&&sm(e)?Ko(n):n}function k5(e){return e.length===0?"":e.slice(1).join(_r)}function A5(e,t){return k5(_m(e,t))}function vi(e,t,n){let i=y_(e)?sr(e):Ta(e,t);return n(i)}function g_(e){return sm(e)?e.substr(0,e.length-1):e}function Ko(e){return sm(e)?e:e+_r}function bg(e){return!gg(e)&&!is(e)?"./"+e:e}function dT(e,t,n,i){let s=n!==void 0&&i!==void 0?If(e,n,i):If(e);return s?e.slice(0,e.length-s.length)+(Jn(t,".")?t:"."+t):e}function vg(e,t,n){if(e===t)return 0;if(e===void 0)return-1;if(t===void 0)return 1;let i=e.substring(0,Si(e)),s=t.substring(0,Si(t)),l=rm(i,s);if(l!==0)return l;let d=e.substring(i.length),y=t.substring(s.length);if(!pl.test(d)&&!pl.test(y))return n(d,y);let p=va(wi(e)),x=va(wi(t)),h=Math.min(p.length,x.length);for(let D=1;D0==Si(t)>0,"Paths must either both be absolute or both be relative");let l=Tg(e,t,(typeof n=="boolean"?n:!1)?i_:Cl,typeof n=="function"?n:ht);return Vo(l)}function O5(e,t,n){return y_(e)?xg(t,e,t,n,!1):e}function M5(e,t,n){return bg(mT(Hi(e),t,n))}function xg(e,t,n,i,s){let l=Tg(g0(n,e),g0(n,t),Cl,i),d=l[0];if(s&&y_(d)){let y=d.charAt(0)===_r?"file://":"file:///";l[0]=y+d}return Vo(l)}function yT(e,t){for(;;){let n=t(e);if(n!==void 0)return n;let i=Hi(e);if(i===e)return;e=i}}function L5(e){return rs(e,"/node_modules")}var _r,Sg,b0,hT,pl,gT=Ht({"src/compiler/path.ts"(){"use strict";En(),_r="/",Sg="\\",b0="://",hT=/\\/g,pl=/(?:\/\/)|(?:^|\/)\.\.?(?:$|\/)/}});function a(e,t,n,i,s,l,d){return{code:e,category:t,key:n,message:i,reportsUnnecessary:s,elidedInCompatabilityPyramid:l,reportsDeprecated:d}}var K,J5=Ht({"src/compiler/diagnosticInformationMap.generated.ts"(){"use strict";uT(),K={Unterminated_string_literal:a(1002,1,"Unterminated_string_literal_1002","Unterminated string literal."),Identifier_expected:a(1003,1,"Identifier_expected_1003","Identifier expected."),_0_expected:a(1005,1,"_0_expected_1005","'{0}' expected."),A_file_cannot_have_a_reference_to_itself:a(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:a(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:a(1009,1,"Trailing_comma_not_allowed_1009","Trailing comma not allowed."),Asterisk_Slash_expected:a(1010,1,"Asterisk_Slash_expected_1010","'*/' expected."),An_element_access_expression_should_take_an_argument:a(1011,1,"An_element_access_expression_should_take_an_argument_1011","An element access expression should take an argument."),Unexpected_token:a(1012,1,"Unexpected_token_1012","Unexpected token."),A_rest_parameter_or_binding_pattern_may_not_have_a_trailing_comma:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(1025,1,"An_index_signature_cannot_have_a_trailing_comma_1025","An index signature cannot have a trailing comma."),Accessibility_modifier_already_seen:a(1028,1,"Accessibility_modifier_already_seen_1028","Accessibility modifier already seen."),_0_modifier_must_precede_1_modifier:a(1029,1,"_0_modifier_must_precede_1_modifier_1029","'{0}' modifier must precede '{1}' modifier."),_0_modifier_already_seen:a(1030,1,"_0_modifier_already_seen_1030","'{0}' modifier already seen."),_0_modifier_cannot_appear_on_class_elements_of_this_kind:a(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:a(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:a(1035,1,"Only_ambient_modules_can_use_quoted_names_1035","Only ambient modules can use quoted names."),Statements_are_not_allowed_in_ambient_contexts:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(1047,1,"A_rest_parameter_cannot_be_optional_1047","A rest parameter cannot be optional."),A_rest_parameter_cannot_have_an_initializer:a(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:a(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:a(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:a(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:a(1053,1,"A_set_accessor_cannot_have_rest_parameter_1053","A 'set' accessor cannot have rest parameter."),A_get_accessor_cannot_have_parameters:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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 type. Did you mean to write 'Promise<{0}>'?"),In_ambient_enum_declarations_member_initializer_must_be_constant_expression:a(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:a(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:a(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:a(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:a(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:a(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:a(1084,1,"Invalid_reference_directive_syntax_1084","Invalid 'reference' directive syntax."),_0_modifier_cannot_appear_on_a_constructor_declaration:a(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:a(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:a(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:a(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:a(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:a(1094,1,"An_accessor_cannot_have_type_parameters_1094","An accessor cannot have type parameters."),A_set_accessor_cannot_have_a_return_type_annotation:a(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:a(1096,1,"An_index_signature_must_have_exactly_one_parameter_1096","An index signature must have exactly one parameter."),_0_list_cannot_be_empty:a(1097,1,"_0_list_cannot_be_empty_1097","'{0}' list cannot be empty."),Type_parameter_list_cannot_be_empty:a(1098,1,"Type_parameter_list_cannot_be_empty_1098","Type parameter list cannot be empty."),Type_argument_list_cannot_be_empty:a(1099,1,"Type_argument_list_cannot_be_empty_1099","Type argument list cannot be empty."),Invalid_use_of_0_in_strict_mode:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(1109,1,"Expression_expected_1109","Expression expected."),Type_expected:a(1110,1,"Type_expected_1110","Type expected."),A_default_clause_cannot_appear_more_than_once_in_a_switch_statement:a(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:a(1114,1,"Duplicate_label_0_1114","Duplicate label '{0}'."),A_continue_statement_can_only_jump_to_a_label_of_an_enclosing_iteration_statement:a(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:a(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:a(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:a(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:a(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:a(1120,1,"An_export_assignment_cannot_have_modifiers_1120","An export assignment cannot have modifiers."),Octal_literals_are_not_allowed_Use_the_syntax_0:a(1121,1,"Octal_literals_are_not_allowed_Use_the_syntax_0_1121","Octal literals are not allowed. Use the syntax '{0}'."),Variable_declaration_list_cannot_be_empty:a(1123,1,"Variable_declaration_list_cannot_be_empty_1123","Variable declaration list cannot be empty."),Digit_expected:a(1124,1,"Digit_expected_1124","Digit expected."),Hexadecimal_digit_expected:a(1125,1,"Hexadecimal_digit_expected_1125","Hexadecimal digit expected."),Unexpected_end_of_text:a(1126,1,"Unexpected_end_of_text_1126","Unexpected end of text."),Invalid_character:a(1127,1,"Invalid_character_1127","Invalid character."),Declaration_or_statement_expected:a(1128,1,"Declaration_or_statement_expected_1128","Declaration or statement expected."),Statement_expected:a(1129,1,"Statement_expected_1129","Statement expected."),case_or_default_expected:a(1130,1,"case_or_default_expected_1130","'case' or 'default' expected."),Property_or_signature_expected:a(1131,1,"Property_or_signature_expected_1131","Property or signature expected."),Enum_member_expected:a(1132,1,"Enum_member_expected_1132","Enum member expected."),Variable_declaration_expected:a(1134,1,"Variable_declaration_expected_1134","Variable declaration expected."),Argument_expression_expected:a(1135,1,"Argument_expression_expected_1135","Argument expression expected."),Property_assignment_expected:a(1136,1,"Property_assignment_expected_1136","Property assignment expected."),Expression_or_comma_expected:a(1137,1,"Expression_or_comma_expected_1137","Expression or comma expected."),Parameter_declaration_expected:a(1138,1,"Parameter_declaration_expected_1138","Parameter declaration expected."),Type_parameter_declaration_expected:a(1139,1,"Type_parameter_declaration_expected_1139","Type parameter declaration expected."),Type_argument_expected:a(1140,1,"Type_argument_expected_1140","Type argument expected."),String_literal_expected:a(1141,1,"String_literal_expected_1141","String literal expected."),Line_break_not_permitted_here:a(1142,1,"Line_break_not_permitted_here_1142","Line break not permitted here."),or_expected:a(1144,1,"or_expected_1144","'{' or ';' expected."),or_JSX_element_expected:a(1145,1,"or_JSX_element_expected_1145","'{' or JSX element expected."),Declaration_expected:a(1146,1,"Declaration_expected_1146","Declaration expected."),Import_declarations_in_a_namespace_cannot_reference_a_module:a(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:a(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:a(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:a(1155,1,"const_declarations_must_be_initialized_1155","'const' declarations must be initialized."),const_declarations_can_only_be_declared_inside_a_block:a(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:a(1157,1,"let_declarations_can_only_be_declared_inside_a_block_1157","'let' declarations can only be declared inside a block."),Unterminated_template_literal:a(1160,1,"Unterminated_template_literal_1160","Unterminated template literal."),Unterminated_regular_expression_literal:a(1161,1,"Unterminated_regular_expression_literal_1161","Unterminated regular expression literal."),An_object_member_cannot_be_declared_optional:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(1172,1,"extends_clause_already_seen_1172","'extends' clause already seen."),extends_clause_must_precede_implements_clause:a(1173,1,"extends_clause_must_precede_implements_clause_1173","'extends' clause must precede 'implements' clause."),Classes_can_only_extend_a_single_class:a(1174,1,"Classes_can_only_extend_a_single_class_1174","Classes can only extend a single class."),implements_clause_already_seen:a(1175,1,"implements_clause_already_seen_1175","'implements' clause already seen."),Interface_declaration_cannot_have_implements_clause:a(1176,1,"Interface_declaration_cannot_have_implements_clause_1176","Interface declaration cannot have 'implements' clause."),Binary_digit_expected:a(1177,1,"Binary_digit_expected_1177","Binary digit expected."),Octal_digit_expected:a(1178,1,"Octal_digit_expected_1178","Octal digit expected."),Unexpected_token_expected:a(1179,1,"Unexpected_token_expected_1179","Unexpected token. '{' expected."),Property_destructuring_pattern_expected:a(1180,1,"Property_destructuring_pattern_expected_1180","Property destructuring pattern expected."),Array_element_destructuring_pattern_expected:a(1181,1,"Array_element_destructuring_pattern_expected_1181","Array element destructuring pattern expected."),A_destructuring_declaration_must_have_an_initializer:a(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:a(1183,1,"An_implementation_cannot_be_declared_in_ambient_contexts_1183","An implementation cannot be declared in ambient contexts."),Modifiers_cannot_appear_here:a(1184,1,"Modifiers_cannot_appear_here_1184","Modifiers cannot appear here."),Merge_conflict_marker_encountered:a(1185,1,"Merge_conflict_marker_encountered_1185","Merge conflict marker encountered."),A_rest_element_cannot_have_an_initializer:a(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:a(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:a(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:a(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:a(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:a(1191,1,"An_import_declaration_cannot_have_modifiers_1191","An import declaration cannot have modifiers."),Module_0_has_no_default_export:a(1192,1,"Module_0_has_no_default_export_1192","Module '{0}' has no default export."),An_export_declaration_cannot_have_modifiers:a(1193,1,"An_export_declaration_cannot_have_modifiers_1193","An export declaration cannot have modifiers."),Export_declarations_are_not_permitted_in_a_namespace:a(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:a(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:a(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:a(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:a(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:a(1199,1,"Unterminated_Unicode_escape_sequence_1199","Unterminated Unicode escape sequence."),Line_terminator_not_permitted_before_arrow:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(1223,1,"_0_tag_already_specified_1223","'{0}' tag already specified."),Signature_0_must_be_a_type_predicate:a(1224,1,"Signature_0_must_be_a_type_predicate_1224","Signature '{0}' must be a type predicate."),Cannot_find_parameter_0:a(1225,1,"Cannot_find_parameter_0_1225","Cannot find parameter '{0}'."),Type_predicate_0_is_not_assignable_to_1:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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."),Abstract_properties_can_only_appear_within_an_abstract_class:a(1253,1,"Abstract_properties_can_only_appear_within_an_abstract_class_1253","Abstract properties can only appear within an abstract class."),A_const_initializer_in_an_ambient_context_must_be_a_string_or_numeric_literal_or_literal_enum_reference:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(1348,1,"Non_simple_parameter_declared_here_1348","Non-simple parameter declared here."),use_strict_directive_used_here:a(1349,1,"use_strict_directive_used_here_1349","'use strict' directive used here."),Print_the_final_configuration_instead_of_building:a(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:a(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:a(1352,1,"A_bigint_literal_cannot_use_exponential_notation_1352","A bigint literal cannot use exponential notation."),A_bigint_literal_must_be_an_integer:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(1364,3,"Convert_to_type_only_export_1364","Convert to type-only export"),Convert_all_re_exported_types_to_type_only_exports:a(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:a(1366,3,"Split_into_two_separate_import_declarations_1366","Split into two separate import declarations"),Split_all_invalid_type_only_imports:a(1367,3,"Split_all_invalid_type_only_imports_1367","Split all invalid type-only imports"),Class_constructor_may_not_be_a_generator:a(1368,1,"Class_constructor_may_not_be_a_generator_1368","Class constructor may not be a generator."),Did_you_mean_0:a(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:a(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:a(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:a(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:a(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:a(1376,3,"_0_was_imported_here_1376","'{0}' was imported here."),_0_was_exported_here:a(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:a(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:a(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:a(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:a(1381,1,"Unexpected_token_Did_you_mean_or_rbrace_1381","Unexpected token. Did you mean `{'}'}` or `}`?"),Unexpected_token_Did_you_mean_or_gt:a(1382,1,"Unexpected_token_Did_you_mean_or_gt_1382","Unexpected token. Did you mean `{'>'}` or `>`?"),Function_type_notation_must_be_parenthesized_when_used_in_a_union_type:a(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:a(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:a(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:a(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:a(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:a(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:a(1392,1,"An_import_alias_cannot_use_import_type_1392","An import alias cannot use 'import type'"),Imported_via_0_from_file_1:a(1393,3,"Imported_via_0_from_file_1_1393","Imported via {0} from file '{1}'"),Imported_via_0_from_file_1_with_packageId_2:a(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:a(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:a(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:a(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:a(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:a(1399,3,"File_is_included_via_import_here_1399","File is included via import here."),Referenced_via_0_from_file_1:a(1400,3,"Referenced_via_0_from_file_1_1400","Referenced via '{0}' from file '{1}'"),File_is_included_via_reference_here:a(1401,3,"File_is_included_via_reference_here_1401","File is included via reference here."),Type_library_referenced_via_0_from_file_1:a(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:a(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:a(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:a(1405,3,"Library_referenced_via_0_from_file_1_1405","Library referenced via '{0}' from file '{1}'"),File_is_included_via_library_reference_here:a(1406,3,"File_is_included_via_library_reference_here_1406","File is included via library reference here."),Matched_by_include_pattern_0_in_1:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(1422,3,"Library_0_specified_in_compilerOptions_1422","Library '{0}' specified in compilerOptions"),File_is_library_specified_here:a(1423,3,"File_is_library_specified_here_1423","File is library specified here."),Default_library:a(1424,3,"Default_library_1424","Default library"),Default_library_for_target_0:a(1425,3,"Default_library_for_target_0_1425","Default library for target '{0}'"),File_is_default_library_for_target_specified_here:a(1426,3,"File_is_default_library_for_target_specified_here_1426","File is default library for target specified here."),Root_file_specified_for_compilation:a(1427,3,"Root_file_specified_for_compilation_1427","Root file specified for compilation"),File_is_output_of_project_reference_source_0:a(1428,3,"File_is_output_of_project_reference_source_0_1428","File is output of project reference source '{0}'"),File_redirects_to_file_0:a(1429,3,"File_redirects_to_file_0_1429","File redirects to file '{0}'"),The_file_is_in_the_program_because_Colon:a(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:a(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:a(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:a(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:a(1434,1,"Unexpected_keyword_or_identifier_1434","Unexpected keyword or identifier."),Unknown_keyword_or_identifier_Did_you_mean_0:a(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:a(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:a(1437,1,"Namespace_must_be_given_a_name_1437","Namespace must be given a name."),Interface_must_be_given_a_name:a(1438,1,"Interface_must_be_given_a_name_1438","Interface must be given a name."),Type_alias_must_be_given_a_name:a(1439,1,"Type_alias_must_be_given_a_name_1439","Type alias must be given a name."),Variable_declaration_not_allowed_at_this_location:a(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:a(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:a(1442,1,"Expected_for_property_initializer_1442","Expected '=' for property initializer."),Module_declaration_names_may_only_use_or_quoted_strings:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(1486,1,"Decorator_used_before_export_here_1486","Decorator used before 'export' here."),Octal_escape_sequences_are_not_allowed_Use_the_syntax_0:a(1487,1,"Octal_escape_sequences_are_not_allowed_Use_the_syntax_0_1487","Octal escape sequences are not allowed. Use the syntax '{0}'."),Escape_sequence_0_is_not_allowed:a(1488,1,"Escape_sequence_0_is_not_allowed_1488","Escape sequence '{0}' is not allowed."),Decimals_with_leading_zeros_are_not_allowed:a(1489,1,"Decimals_with_leading_zeros_are_not_allowed_1489","Decimals with leading zeros are not allowed."),File_appears_to_be_binary:a(1490,1,"File_appears_to_be_binary_1490","File appears to be binary."),The_types_of_0_are_incompatible_between_these_types:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(2211,3,"Add_extends_constraint_2211","Add `extends` constraint."),Add_extends_constraint_to_all_type_parameters:a(2212,3,"Add_extends_constraint_to_all_type_parameters_2212","Add `extends` constraint to all type parameters"),Duplicate_identifier_0:a(2300,1,"Duplicate_identifier_0_2300","Duplicate identifier '{0}'."),Initializer_of_instance_member_variable_0_cannot_reference_identifier_1_declared_in_the_constructor:a(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:a(2302,1,"Static_members_cannot_reference_class_type_parameters_2302","Static members cannot reference class type parameters."),Circular_definition_of_import_alias_0:a(2303,1,"Circular_definition_of_import_alias_0_2303","Circular definition of import alias '{0}'."),Cannot_find_name_0:a(2304,1,"Cannot_find_name_0_2304","Cannot find name '{0}'."),Module_0_has_no_exported_member_1:a(2305,1,"Module_0_has_no_exported_member_1_2305","Module '{0}' has no exported member '{1}'."),File_0_is_not_a_module:a(2306,1,"File_0_is_not_a_module_2306","File '{0}' is not a module."),Cannot_find_module_0_or_its_corresponding_type_declarations:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(2314,1,"Generic_type_0_requires_1_type_argument_s_2314","Generic type '{0}' requires {1} type argument(s)."),Type_0_is_not_generic:a(2315,1,"Type_0_is_not_generic_2315","Type '{0}' is not generic."),Global_type_0_must_be_a_class_or_interface_type:a(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:a(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:a(2318,1,"Cannot_find_global_type_0_2318","Cannot find global type '{0}'."),Named_property_0_of_types_1_and_2_are_not_identical:a(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:a(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:a(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:a(2322,1,"Type_0_is_not_assignable_to_type_1_2322","Type '{0}' is not assignable to type '{1}'."),Cannot_redeclare_exported_variable_0:a(2323,1,"Cannot_redeclare_exported_variable_0_2323","Cannot redeclare exported variable '{0}'."),Property_0_is_missing_in_type_1:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(2332,1,"this_cannot_be_referenced_in_current_location_2332","'this' cannot be referenced in current location."),this_cannot_be_referenced_in_constructor_arguments:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(2349,1,"This_expression_is_not_callable_2349","This expression is not callable."),Only_a_void_function_can_be_called_with_the_new_keyword:a(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:a(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:a(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:a(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:a(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_undefined_void_nor_any_must_return_a_value:a(2355,1,"A_function_whose_declared_type_is_neither_undefined_void_nor_any_must_return_a_value_2355","A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value."),An_arithmetic_operand_must_be_of_type_any_number_bigint_or_an_enum_type:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(2372,1,"Parameter_0_cannot_reference_itself_2372","Parameter '{0}' cannot reference itself."),Parameter_0_cannot_reference_identifier_1_declared_after_it:a(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:a(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:a(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:a(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:a(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:a(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:a(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."),Overload_signatures_must_all_be_exported_or_non_exported:a(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:a(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:a(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:a(2386,1,"Overload_signatures_must_all_be_optional_or_required_2386","Overload signatures must all be optional or required."),Function_overload_must_be_static:a(2387,1,"Function_overload_must_be_static_2387","Function overload must be static."),Function_overload_must_not_be_static:a(2388,1,"Function_overload_must_not_be_static_2388","Function overload must not be static."),Function_implementation_name_must_be_0:a(2389,1,"Function_implementation_name_must_be_0_2389","Function implementation name must be '{0}'."),Constructor_implementation_is_missing:a(2390,1,"Constructor_implementation_is_missing_2390","Constructor implementation is missing."),Function_implementation_is_missing_or_not_immediately_following_the_declaration:a(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:a(2392,1,"Multiple_constructor_implementations_are_not_allowed_2392","Multiple constructor implementations are not allowed."),Duplicate_function_implementation:a(2393,1,"Duplicate_function_implementation_2393","Duplicate function implementation."),This_overload_signature_is_not_compatible_with_its_implementation_signature:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(2414,1,"Class_name_cannot_be_0_2414","Class name cannot be '{0}'."),Class_0_incorrectly_extends_base_class_1:a(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:a(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:a(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:a(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:a(2419,1,"Types_of_construct_signatures_are_incompatible_2419","Types of construct signatures are incompatible."),Class_0_incorrectly_implements_interface_1:a(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:a(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:a(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:a(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:a(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:a(2427,1,"Interface_name_cannot_be_0_2427","Interface name cannot be '{0}'."),All_declarations_of_0_must_have_identical_type_parameters:a(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:a(2430,1,"Interface_0_incorrectly_extends_interface_1_2430","Interface '{0}' incorrectly extends interface '{1}'."),Enum_name_cannot_be_0:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(2449,1,"Class_0_used_before_its_declaration_2449","Class '{0}' used before its declaration."),Enum_0_used_before_its_declaration:a(2450,1,"Enum_0_used_before_its_declaration_2450","Enum '{0}' used before its declaration."),Cannot_redeclare_block_scoped_variable_0:a(2451,1,"Cannot_redeclare_block_scoped_variable_0_2451","Cannot redeclare block-scoped variable '{0}'."),An_enum_member_cannot_have_a_numeric_name:a(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:a(2454,1,"Variable_0_is_used_before_being_assigned_2454","Variable '{0}' is used before being assigned."),Type_alias_0_circularly_references_itself:a(2456,1,"Type_alias_0_circularly_references_itself_2456","Type alias '{0}' circularly references itself."),Type_alias_name_cannot_be_0:a(2457,1,"Type_alias_name_cannot_be_0_2457","Type alias name cannot be '{0}'."),An_AMD_module_cannot_have_multiple_name_assignments:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(2468,1,"Cannot_find_global_value_0_2468","Cannot find global value '{0}'."),The_0_operator_cannot_be_applied_to_type_symbol:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(2503,1,"Cannot_find_namespace_0_2503","Cannot find namespace '{0}'."),Type_0_must_have_a_Symbol_asyncIterator_method_that_returns_an_async_iterator:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(2530,1,"Property_0_is_incompatible_with_index_signature_2530","Property '{0}' is incompatible with index signature."),Object_is_possibly_null:a(2531,1,"Object_is_possibly_null_2531","Object is possibly 'null'."),Object_is_possibly_undefined:a(2532,1,"Object_is_possibly_undefined_2532","Object is possibly 'undefined'."),Object_is_possibly_null_or_undefined:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(2554,1,"Expected_0_arguments_but_got_1_2554","Expected {0} arguments, but got {1}."),Expected_at_least_0_arguments_but_got_1:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(2571,1,"Object_is_of_type_unknown_2571","Object is of type 'unknown'."),A_rest_element_type_must_be_an_array_type:a(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:a(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:a(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:a(2577,1,"Return_type_annotation_circularly_references_itself_2577","Return type annotation circularly references itself."),Unused_ts_expect_error_directive:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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."),React_components_cannot_include_JSX_namespace_names:a(2639,1,"React_components_cannot_include_JSX_namespace_names_2639","React components cannot include JSX namespace names"),Cannot_augment_module_0_with_value_exports_because_it_resolves_to_a_non_module_entity:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(2708,1,"Cannot_use_namespace_0_as_a_value_2708","Cannot use namespace '{0}' as a value."),Cannot_use_namespace_0_as_a_type:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(2728,3,"_0_is_declared_here_2728","'{0}' is declared here."),Property_0_is_used_before_its_initialization:a(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:a(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:a(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:a(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:a(2733,1,"Property_0_was_also_declared_here_2733","Property '{0}' was also declared here."),Are_you_missing_a_semicolon:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(2750,1,"The_implementation_signature_is_declared_here_2750","The implementation signature is declared here."),Circularity_originates_in_type_at_this_location:a(2751,1,"Circularity_originates_in_type_at_this_location_2751","Circularity originates in type at this location."),The_first_export_default_is_here:a(2752,1,"The_first_export_default_is_here_2752","The first export default is here."),Another_export_default_is_here:a(2753,1,"Another_export_default_is_here_2753","Another export default is here."),super_may_not_use_type_arguments:a(2754,1,"super_may_not_use_type_arguments_2754","'super' may not use type arguments."),No_constituent_of_type_0_is_callable:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(2769,1,"No_overload_matches_this_call_2769","No overload matches this call."),The_last_overload_gave_the_following_error:a(2770,1,"The_last_overload_gave_the_following_error_2770","The last overload gave the following error."),The_last_overload_is_declared_here:a(2771,1,"The_last_overload_is_declared_here_2771","The last overload is declared here."),Overload_0_of_1_2_gave_the_following_error:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(2785,1,"This_spread_always_overwrites_this_property_2785","This spread always overwrites this property."),_0_cannot_be_used_as_a_JSX_component:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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?"),The_right_hand_side_of_an_instanceof_expression_must_not_be_an_instantiation_expression:a(2848,1,"The_right_hand_side_of_an_instanceof_expression_must_not_be_an_instantiation_expression_2848","The right-hand side of an 'instanceof' expression must not be an instantiation expression."),Target_signature_provides_too_few_arguments_Expected_0_or_more_but_got_1:a(2849,1,"Target_signature_provides_too_few_arguments_Expected_0_or_more_but_got_1_2849","Target signature provides too few arguments. Expected {0} or more, but got {1}."),Import_declaration_0_is_using_private_name_1:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(4109,1,"Type_arguments_for_0_circularly_reference_themselves_4109","Type arguments for '{0}' circularly reference themselves."),Tuple_type_arguments_circularly_reference_themselves:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(5012,1,"Cannot_read_file_0_Colon_1_5012","Cannot read file '{0}': {1}."),Failed_to_parse_file_0_Colon_1:a(5014,1,"Failed_to_parse_file_0_Colon_1_5014","Failed to parse file '{0}': {1}."),Unknown_compiler_option_0:a(5023,1,"Unknown_compiler_option_0_5023","Unknown compiler option '{0}'."),Compiler_option_0_requires_a_value_of_type_1:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(5072,1,"Unknown_build_option_0_5072","Unknown build option '{0}'."),Build_option_0_requires_a_value_of_type_1:a(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:a(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:a(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:a(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:a(5077,1,"Unknown_build_option_0_Did_you_mean_1_5077","Unknown build option '{0}'. Did you mean '{1}'?"),Unknown_watch_option_0:a(5078,1,"Unknown_watch_option_0_5078","Unknown watch option '{0}'."),Unknown_watch_option_0_Did_you_mean_1:a(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:a(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:a(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:a(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:a(5083,1,"Cannot_read_file_0_5083","Cannot read file '{0}'."),Tuple_members_must_all_have_names_or_all_not_have_names:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(5103,1,"Invalid_value_for_ignoreDeprecations_5103","Invalid value for '--ignoreDeprecations'."),Option_0_is_redundant_and_cannot_be_specified_with_option_1:a(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:a(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:a(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:a(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:a(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:a(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:a(6001,3,"Concatenate_and_emit_output_to_single_file_6001","Concatenate and emit output to single file."),Generates_corresponding_d_ts_file:a(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:a(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:a(6005,3,"Watch_input_files_6005","Watch input files."),Redirect_output_structure_to_the_directory:a(6006,3,"Redirect_output_structure_to_the_directory_6006","Redirect output structure to the directory."),Do_not_erase_const_enum_declarations_in_generated_code:a(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:a(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:a(6009,3,"Do_not_emit_comments_to_output_6009","Do not emit comments to output."),Do_not_emit_outputs:a(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:a(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:a(6012,3,"Skip_type_checking_of_declaration_files_6012","Skip type checking of declaration files."),Do_not_resolve_the_real_path_of_symlinks:a(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:a(6014,3,"Only_emit_d_ts_declaration_files_6014","Only emit '.d.ts' declaration files."),Specify_ECMAScript_target_version:a(6015,3,"Specify_ECMAScript_target_version_6015","Specify ECMAScript target version."),Specify_module_code_generation:a(6016,3,"Specify_module_code_generation_6016","Specify module code generation."),Print_this_message:a(6017,3,"Print_this_message_6017","Print this message."),Print_the_compiler_s_version:a(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:a(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:a(6023,3,"Syntax_Colon_0_6023","Syntax: {0}"),options:a(6024,3,"options_6024","options"),file:a(6025,3,"file_6025","file"),Examples_Colon_0:a(6026,3,"Examples_Colon_0_6026","Examples: {0}"),Options_Colon:a(6027,3,"Options_Colon_6027","Options:"),Version_0:a(6029,3,"Version_0_6029","Version {0}"),Insert_command_line_options_and_files_from_a_file:a(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:a(6031,3,"Starting_compilation_in_watch_mode_6031","Starting compilation in watch mode..."),File_change_detected_Starting_incremental_compilation:a(6032,3,"File_change_detected_Starting_incremental_compilation_6032","File change detected. Starting incremental compilation..."),KIND:a(6034,3,"KIND_6034","KIND"),FILE:a(6035,3,"FILE_6035","FILE"),VERSION:a(6036,3,"VERSION_6036","VERSION"),LOCATION:a(6037,3,"LOCATION_6037","LOCATION"),DIRECTORY:a(6038,3,"DIRECTORY_6038","DIRECTORY"),STRATEGY:a(6039,3,"STRATEGY_6039","STRATEGY"),FILE_OR_DIRECTORY:a(6040,3,"FILE_OR_DIRECTORY_6040","FILE OR DIRECTORY"),Errors_Files:a(6041,3,"Errors_Files_6041","Errors Files"),Generates_corresponding_map_file:a(6043,3,"Generates_corresponding_map_file_6043","Generates corresponding '.map' file."),Compiler_option_0_expects_an_argument:a(6044,1,"Compiler_option_0_expects_an_argument_6044","Compiler option '{0}' expects an argument."),Unterminated_quoted_string_in_response_file_0:a(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:a(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:a(6048,1,"Locale_must_be_of_the_form_language_or_language_territory_For_example_0_or_1_6048","Locale must be of the form or -. For example '{0}' or '{1}'."),Unable_to_open_file_0:a(6050,1,"Unable_to_open_file_0_6050","Unable to open file '{0}'."),Corrupted_locale_file_0:a(6051,1,"Corrupted_locale_file_0_6051","Corrupted locale file {0}."),Raise_error_on_expressions_and_declarations_with_an_implied_any_type:a(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:a(6053,1,"File_0_not_found_6053","File '{0}' not found."),File_0_has_an_unsupported_extension_The_only_supported_extensions_are_1:a(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:a(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:a(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:a(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:a(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:a(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:a(6061,3,"NEWLINE_6061","NEWLINE"),Option_0_can_only_be_specified_in_tsconfig_json_file_or_set_to_null_on_command_line:a(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:a(6065,3,"Enables_experimental_support_for_ES7_decorators_6065","Enables experimental support for ES7 decorators."),Enables_experimental_support_for_emitting_type_metadata_for_decorators:a(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:a(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:a(6071,3,"Successfully_created_a_tsconfig_json_file_6071","Successfully created a tsconfig.json file."),Suppress_excess_property_checks_for_object_literals:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(6080,3,"Specify_JSX_code_generation_6080","Specify JSX code generation."),File_0_has_an_unsupported_extension_so_skipping_it:a(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:a(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:a(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:a(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:a(6085,3,"Enable_tracing_of_the_name_resolution_process_6085","Enable tracing of the name resolution process."),Resolving_module_0_from_1:a(6086,3,"Resolving_module_0_from_1_6086","======== Resolving module '{0}' from '{1}'. ========"),Explicitly_specified_module_resolution_kind_Colon_0:a(6087,3,"Explicitly_specified_module_resolution_kind_Colon_0_6087","Explicitly specified module resolution kind: '{0}'."),Module_resolution_kind_is_not_specified_using_0:a(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:a(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:a(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:a(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:a(6092,3,"Module_name_0_matched_pattern_1_6092","Module name '{0}', matched pattern '{1}'."),Trying_substitution_0_candidate_module_location_Colon_1:a(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:a(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:a(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:a(6096,3,"File_0_does_not_exist_6096","File '{0}' does not exist."),File_0_exists_use_it_as_a_name_resolution_result:a(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:a(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:a(6099,3,"Found_package_json_at_0_6099","Found 'package.json' at '{0}'."),package_json_does_not_have_a_0_field:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(6110,3,"Trying_other_entries_in_rootDirs_6110","Trying other entries in 'rootDirs'."),Module_resolution_using_rootDirs_has_failed:a(6111,3,"Module_resolution_using_rootDirs_has_failed_6111","Module resolution using 'rootDirs' has failed."),Do_not_emit_use_strict_directives_in_module_output:a(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:a(6113,3,"Enable_strict_null_checks_6113","Enable strict null checks."),Unknown_option_excludes_Did_you_mean_exclude:a(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:a(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:a(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:a(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:a(6120,3,"Type_reference_directive_0_was_not_resolved_6120","======== Type reference directive '{0}' was not resolved. ========"),Resolving_with_primary_search_path_0:a(6121,3,"Resolving_with_primary_search_path_0_6121","Resolving with primary search path '{0}'."),Root_directory_cannot_be_determined_skipping_primary_search_paths:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(6134,3,"Report_errors_on_unused_locals_6134","Report errors on unused locals."),Report_errors_on_unused_parameters:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(6149,3,"Show_diagnostic_information_6149","Show diagnostic information."),Show_verbose_diagnostic_information:a(6150,3,"Show_verbose_diagnostic_information_6150","Show verbose diagnostic information."),Emit_a_single_file_with_source_maps_instead_of_having_a_separate_file:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(6162,3,"Disable_size_limitations_on_JavaScript_projects_6162","Disable size limitations on JavaScript projects."),The_character_set_of_the_input_files:a(6163,3,"The_character_set_of_the_input_files_6163","The character set of the input files."),Skipping_module_0_that_looks_like_an_absolute_URI_target_file_types_Colon_1:a(6164,3,"Skipping_module_0_that_looks_like_an_absolute_URI_target_file_types_Colon_1_6164","Skipping module '{0}' that looks like an absolute URI, target file types: {1}."),Do_not_truncate_error_messages:a(6165,3,"Do_not_truncate_error_messages_6165","Do not truncate error messages."),Output_directory_for_generated_declaration_files:a(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:a(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:a(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:a(6169,3,"Show_all_compiler_options_6169","Show all compiler options."),Deprecated_Use_outFile_instead_Concatenate_and_emit_output_to_single_file:a(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:a(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:a(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:a(6180,3,"Enable_all_strict_type_checking_options_6180","Enable all strict type-checking options."),Scoped_package_detected_looking_in_0:a(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:a(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:a(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:a(6186,3,"Enable_strict_checking_of_function_types_6186","Enable strict checking of function types."),Enable_strict_checking_of_property_initialization_in_classes:a(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:a(6188,1,"Numeric_separators_are_not_allowed_here_6188","Numeric separators are not allowed here."),Multiple_consecutive_numeric_separators_are_not_permitted:a(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:a(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:a(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:a(6193,3,"Found_1_error_Watching_for_file_changes_6193","Found 1 error. Watching for file changes."),Found_0_errors_Watching_for_file_changes:a(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:a(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:a(6196,1,"_0_is_declared_but_never_used_6196","'{0}' is declared but never used.",!0),Include_modules_imported_with_json_extension:a(6197,3,"Include_modules_imported_with_json_extension_6197","Include modules imported with '.json' extension"),All_destructured_elements_are_unused:a(6198,1,"All_destructured_elements_are_unused_6198","All destructured elements are unused.",!0),All_variables_are_unused:a(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:a(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:a(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:a(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:a(6203,3,"_0_was_also_declared_here_6203","'{0}' was also declared here."),and_here:a(6204,3,"and_here_6204","and here."),All_type_parameters_are_unused:a(6205,1,"All_type_parameters_are_unused_6205","All type parameters are unused."),package_json_has_a_typesVersions_field_with_version_specific_path_mappings:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(6215,3,"Using_compiler_options_of_project_reference_redirect_0_6215","Using compiler options of project reference redirect '{0}'."),Found_1_error:a(6216,3,"Found_1_error_6216","Found 1 error."),Found_0_errors:a(6217,3,"Found_0_errors_6217","Found {0} errors."),Module_name_0_was_successfully_resolved_to_1_with_Package_ID_2:a(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:a(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:a(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:a(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:a(6222,3,"Emit_class_fields_with_Define_instead_of_Set_6222","Emit class fields with Define instead of Set."),Generates_a_CPU_profile:a(6223,3,"Generates_a_CPU_profile_6223","Generates a CPU profile."),Disable_solution_searching_for_this_project:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(6235,3,"Disable_loading_referenced_projects_6235","Disable loading referenced projects."),Arguments_for_the_rest_parameter_0_were_not_provided:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(6243,3,"Interpret_optional_property_types_as_written_rather_than_adding_undefined_6243","Interpret optional property types as written, rather than adding 'undefined'."),Modules:a(6244,3,"Modules_6244","Modules"),File_Management:a(6245,3,"File_Management_6245","File Management"),Emit:a(6246,3,"Emit_6246","Emit"),JavaScript_Support:a(6247,3,"JavaScript_Support_6247","JavaScript Support"),Type_Checking:a(6248,3,"Type_Checking_6248","Type Checking"),Editor_Support:a(6249,3,"Editor_Support_6249","Editor Support"),Watch_and_Build_Modes:a(6250,3,"Watch_and_Build_Modes_6250","Watch and Build Modes"),Compiler_Diagnostics:a(6251,3,"Compiler_Diagnostics_6251","Compiler Diagnostics"),Interop_Constraints:a(6252,3,"Interop_Constraints_6252","Interop Constraints"),Backwards_Compatibility:a(6253,3,"Backwards_Compatibility_6253","Backwards Compatibility"),Language_and_Environment:a(6254,3,"Language_and_Environment_6254","Language and Environment"),Projects:a(6255,3,"Projects_6255","Projects"),Output_Formatting:a(6256,3,"Output_Formatting_6256","Output Formatting"),Completeness:a(6257,3,"Completeness_6257","Completeness"),_0_should_be_set_inside_the_compilerOptions_object_of_the_config_json_file:a(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_0:a(6259,3,"Found_1_error_in_0_6259","Found 1 error in {0}"),Found_0_errors_in_the_same_file_starting_at_Colon_1:a(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:a(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:a(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:a(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:a(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."),Resolving_type_reference_directive_for_program_that_specifies_custom_typeRoots_skipping_lookup_in_node_modules_folder:a(6265,3,"Resolving_type_reference_directive_for_program_that_specifies_custom_typeRoots_skipping_lookup_in_no_6265","Resolving type reference directive for program that specifies custom typeRoots, skipping lookup in 'node_modules' folder."),Option_0_can_only_be_specified_on_command_line:a(6266,1,"Option_0_can_only_be_specified_on_command_line_6266","Option '{0}' can only be specified on command line."),Directory_0_has_no_containing_package_json_scope_Imports_will_not_resolve:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(6302,3,"Enable_project_compilation_6302","Enable project compilation"),Composite_projects_may_not_disable_declaration_emit:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(6357,3,"A_non_dry_build_would_build_project_0_6357","A non-dry build would build project '{0}'"),Building_project_0:a(6358,3,"Building_project_0_6358","Building project '{0}'..."),Updating_output_timestamps_of_project_0:a(6359,3,"Updating_output_timestamps_of_project_0_6359","Updating output timestamps of project '{0}'..."),Project_0_is_up_to_date:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(6370,1,"Options_0_and_1_cannot_be_combined_6370","Options '{0}' and '{1}' cannot be combined."),Updating_unchanged_output_timestamps_of_project_0:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(6379,1,"Composite_projects_may_not_disable_incremental_compilation_6379","Composite projects may not disable incremental compilation."),Specify_file_to_store_incremental_compilation_information:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(6402,3,"Resolving_in_0_mode_with_conditions_1_6402","Resolving in {0} mode with conditions {1}."),Matched_0_condition_1:a(6403,3,"Matched_0_condition_1_6403","Matched '{0}' condition '{1}'."),Using_0_subpath_1_with_target_2:a(6404,3,"Using_0_subpath_1_with_target_2_6404","Using '{0}' subpath '{1}' with target '{2}'."),Saw_non_matching_condition_0:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(6413,3,"Entering_conditional_exports_6413","Entering conditional exports."),Resolved_under_condition_0:a(6414,3,"Resolved_under_condition_0_6414","Resolved under condition '{0}'."),Failed_to_resolve_under_condition_0:a(6415,3,"Failed_to_resolve_under_condition_0_6415","Failed to resolve under condition '{0}'."),Exiting_conditional_exports:a(6416,3,"Exiting_conditional_exports_6416","Exiting conditional exports."),The_expected_type_comes_from_property_0_which_is_declared_here_on_type_1:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(6602,3,"Allow_accessing_UMD_globals_from_modules_6602","Allow accessing UMD globals from modules."),Disable_error_reporting_for_unreachable_code:a(6603,3,"Disable_error_reporting_for_unreachable_code_6603","Disable error reporting for unreachable code."),Disable_error_reporting_for_unused_labels:a(6604,3,"Disable_error_reporting_for_unused_labels_6604","Disable error reporting for unused labels."),Ensure_use_strict_is_always_emitted:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(6614,3,"Create_sourcemaps_for_d_ts_files_6614","Create sourcemaps for d.ts files."),Output_compiler_performance_information_after_building:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(6627,3,"Filters_results_from_the_include_option_6627","Filters results from the `include` option."),Remove_a_list_of_directories_from_the_watch_process:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(6659,3,"Set_the_newline_character_for_emitting_files_6659","Set the newline character for emitting files."),Disable_emitting_files_from_a_compilation:a(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:a(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:a(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:a(6663,3,"Disable_truncating_types_in_error_messages_6663","Disable truncating types in error messages."),Enable_error_reporting_for_fallthrough_cases_in_switch_statements:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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 ''s from expanding the number of files TypeScript should add to a project."),Disable_strict_checking_of_generic_signatures_in_function_types:a(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:a(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:a(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:a(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:a(6677,3,"Deprecated_setting_Use_outFile_instead_6677","Deprecated setting. Use 'outFile' instead."),Specify_an_output_folder_for_all_emitted_files:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(6688,3,"Disable_emitting_comments_6688","Disable emitting comments."),Enable_importing_json_files:a(6689,3,"Enable_importing_json_files_6689","Enable importing .json files."),Specify_the_root_folder_within_your_source_files:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(6712,3,"Emit_ECMAScript_standard_compliant_class_fields_6712","Emit ECMAScript-standard-compliant class fields."),Enable_verbose_logging:a(6713,3,"Enable_verbose_logging_6713","Enable verbose logging."),Specify_how_directories_are_watched_on_systems_that_lack_recursive_file_watching_functionality:a(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:a(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:a(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:a(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:a(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:a(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:a(6900,3,"one_of_Colon_6900","one of:"),one_or_more_Colon:a(6901,3,"one_or_more_Colon_6901","one or more:"),type_Colon:a(6902,3,"type_Colon_6902","type:"),default_Colon:a(6903,3,"default_Colon_6903","default:"),module_system_or_esModuleInterop:a(6904,3,"module_system_or_esModuleInterop_6904",'module === "system" or esModuleInterop'),false_unless_strict_is_set:a(6905,3,"false_unless_strict_is_set_6905","`false`, unless `strict` is set"),false_unless_composite_is_set:a(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:a(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:a(6908,3,"if_files_is_specified_otherwise_Asterisk_Asterisk_Slash_Asterisk_6908",'`[]` if `files` is specified, otherwise `["**/*"]`'),true_if_composite_false_otherwise:a(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:a(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:a(6911,3,"Computed_from_the_list_of_input_files_6911","Computed from the list of input files"),Platform_specific:a(6912,3,"Platform_specific_6912","Platform specific"),You_can_learn_about_all_of_the_compiler_options_at_0:a(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:a(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:a(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:a(6916,3,"COMMON_COMMANDS_6916","COMMON COMMANDS"),ALL_COMPILER_OPTIONS:a(6917,3,"ALL_COMPILER_OPTIONS_6917","ALL COMPILER OPTIONS"),WATCH_OPTIONS:a(6918,3,"WATCH_OPTIONS_6918","WATCH OPTIONS"),BUILD_OPTIONS:a(6919,3,"BUILD_OPTIONS_6919","BUILD OPTIONS"),COMMON_COMPILER_OPTIONS:a(6920,3,"COMMON_COMPILER_OPTIONS_6920","COMMON COMPILER OPTIONS"),COMMAND_LINE_FLAGS:a(6921,3,"COMMAND_LINE_FLAGS_6921","COMMAND LINE FLAGS"),tsc_Colon_The_TypeScript_Compiler:a(6922,3,"tsc_Colon_The_TypeScript_Compiler_6922","tsc: The TypeScript Compiler"),Compiles_the_current_project_tsconfig_json_in_the_working_directory:a(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:a(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:a(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:a(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:a(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:a(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:a(6929,3,"Compiles_the_current_project_with_additional_settings_6929","Compiles the current project, with additional settings."),true_for_ES2022_and_above_including_ESNext:a(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:a(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:a(7005,1,"Variable_0_implicitly_has_an_1_type_7005","Variable '{0}' implicitly has an '{1}' type."),Parameter_0_implicitly_has_an_1_type:a(7006,1,"Parameter_0_implicitly_has_an_1_type_7006","Parameter '{0}' implicitly has an '{1}' type."),Member_0_implicitly_has_an_1_type:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(7027,1,"Unreachable_code_detected_7027","Unreachable code detected.",!0),Unused_label:a(7028,1,"Unused_label_7028","Unused label.",!0),Fallthrough_case_in_switch:a(7029,1,"Fallthrough_case_in_switch_7029","Fallthrough case in switch."),Not_all_code_paths_return_a_value:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(8016,1,"Type_assertion_expressions_can_only_be_used_in_TypeScript_files_8016","Type assertion expressions can only be used in TypeScript files."),Report_errors_in_js_files:a(8019,3,"Report_errors_in_js_files_8019","Report errors in .js files."),JSDoc_types_can_only_be_used_inside_documentation_comments:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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'."),A_JSDoc_template_tag_may_not_follow_a_typedef_callback_or_overload_tag:a(8039,1,"A_JSDoc_template_tag_may_not_follow_a_typedef_callback_or_overload_tag_8039","A JSDoc '@template' tag may not follow a '@typedef', '@callback', or '@overload' tag"),Declaration_emit_for_this_file_requires_using_private_name_0_An_explicit_type_annotation_may_unblock_declaration_emit:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(17014,1,"JSX_fragment_has_no_corresponding_closing_tag_17014","JSX fragment has no corresponding closing tag."),Expected_corresponding_closing_tag_for_JSX_fragment:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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."),JSDoc_typedef_may_be_converted_to_TypeScript_type:a(80009,2,"JSDoc_typedef_may_be_converted_to_TypeScript_type_80009","JSDoc typedef may be converted to TypeScript type."),JSDoc_typedefs_may_be_converted_to_TypeScript_types:a(80010,2,"JSDoc_typedefs_may_be_converted_to_TypeScript_types_80010","JSDoc typedefs may be converted to TypeScript types."),Add_missing_super_call:a(90001,3,"Add_missing_super_call_90001","Add missing 'super()' call"),Make_super_call_the_first_statement_in_the_constructor:a(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:a(90003,3,"Change_extends_to_implements_90003","Change 'extends' to 'implements'"),Remove_unused_declaration_for_Colon_0:a(90004,3,"Remove_unused_declaration_for_Colon_0_90004","Remove unused declaration for: '{0}'"),Remove_import_from_0:a(90005,3,"Remove_import_from_0_90005","Remove import from '{0}'"),Implement_interface_0:a(90006,3,"Implement_interface_0_90006","Implement interface '{0}'"),Implement_inherited_abstract_class:a(90007,3,"Implement_inherited_abstract_class_90007","Implement inherited abstract class"),Add_0_to_unresolved_variable:a(90008,3,"Add_0_to_unresolved_variable_90008","Add '{0}.' to unresolved variable"),Remove_variable_statement:a(90010,3,"Remove_variable_statement_90010","Remove variable statement"),Remove_template_tag:a(90011,3,"Remove_template_tag_90011","Remove template tag"),Remove_type_parameters:a(90012,3,"Remove_type_parameters_90012","Remove type parameters"),Import_0_from_1:a(90013,3,"Import_0_from_1_90013",`Import '{0}' from "{1}"`),Change_0_to_1:a(90014,3,"Change_0_to_1_90014","Change '{0}' to '{1}'"),Declare_property_0:a(90016,3,"Declare_property_0_90016","Declare property '{0}'"),Add_index_signature_for_property_0:a(90017,3,"Add_index_signature_for_property_0_90017","Add index signature for property '{0}'"),Disable_checking_for_this_file:a(90018,3,"Disable_checking_for_this_file_90018","Disable checking for this file"),Ignore_this_error_message:a(90019,3,"Ignore_this_error_message_90019","Ignore this error message"),Initialize_property_0_in_the_constructor:a(90020,3,"Initialize_property_0_in_the_constructor_90020","Initialize property '{0}' in the constructor"),Initialize_static_property_0:a(90021,3,"Initialize_static_property_0_90021","Initialize static property '{0}'"),Change_spelling_to_0:a(90022,3,"Change_spelling_to_0_90022","Change spelling to '{0}'"),Declare_method_0:a(90023,3,"Declare_method_0_90023","Declare method '{0}'"),Declare_static_method_0:a(90024,3,"Declare_static_method_0_90024","Declare static method '{0}'"),Prefix_0_with_an_underscore:a(90025,3,"Prefix_0_with_an_underscore_90025","Prefix '{0}' with an underscore"),Rewrite_as_the_indexed_access_type_0:a(90026,3,"Rewrite_as_the_indexed_access_type_0_90026","Rewrite as the indexed access type '{0}'"),Declare_static_property_0:a(90027,3,"Declare_static_property_0_90027","Declare static property '{0}'"),Call_decorator_expression:a(90028,3,"Call_decorator_expression_90028","Call decorator expression"),Add_async_modifier_to_containing_function:a(90029,3,"Add_async_modifier_to_containing_function_90029","Add async modifier to containing function"),Replace_infer_0_with_unknown:a(90030,3,"Replace_infer_0_with_unknown_90030","Replace 'infer {0}' with 'unknown'"),Replace_all_unused_infer_with_unknown:a(90031,3,"Replace_all_unused_infer_with_unknown_90031","Replace all unused 'infer' with 'unknown'"),Add_parameter_name:a(90034,3,"Add_parameter_name_90034","Add parameter name"),Declare_private_property_0:a(90035,3,"Declare_private_property_0_90035","Declare private property '{0}'"),Replace_0_with_Promise_1:a(90036,3,"Replace_0_with_Promise_1_90036","Replace '{0}' with 'Promise<{1}>'"),Fix_all_incorrect_return_type_of_an_async_functions:a(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:a(90038,3,"Declare_private_method_0_90038","Declare private method '{0}'"),Remove_unused_destructuring_declaration:a(90039,3,"Remove_unused_destructuring_declaration_90039","Remove unused destructuring declaration"),Remove_unused_declarations_for_Colon_0:a(90041,3,"Remove_unused_declarations_for_Colon_0_90041","Remove unused declarations for: '{0}'"),Declare_a_private_field_named_0:a(90053,3,"Declare_a_private_field_named_0_90053","Declare a private field named '{0}'."),Includes_imports_of_types_referenced_by_0:a(90054,3,"Includes_imports_of_types_referenced_by_0_90054","Includes imports of types referenced by '{0}'"),Remove_type_from_import_declaration_from_0:a(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:a(90056,3,"Remove_type_from_import_of_0_from_1_90056",`Remove 'type' from import of '{0}' from "{1}"`),Add_import_from_0:a(90057,3,"Add_import_from_0_90057",'Add import from "{0}"'),Update_import_from_0:a(90058,3,"Update_import_from_0_90058",'Update import from "{0}"'),Export_0_from_module_1:a(90059,3,"Export_0_from_module_1_90059","Export '{0}' from module '{1}'"),Export_all_referenced_locals:a(90060,3,"Export_all_referenced_locals_90060","Export all referenced locals"),Convert_function_to_an_ES2015_class:a(95001,3,"Convert_function_to_an_ES2015_class_95001","Convert function to an ES2015 class"),Convert_0_to_1_in_0:a(95003,3,"Convert_0_to_1_in_0_95003","Convert '{0}' to '{1} in {0}'"),Extract_to_0_in_1:a(95004,3,"Extract_to_0_in_1_95004","Extract to {0} in {1}"),Extract_function:a(95005,3,"Extract_function_95005","Extract function"),Extract_constant:a(95006,3,"Extract_constant_95006","Extract constant"),Extract_to_0_in_enclosing_scope:a(95007,3,"Extract_to_0_in_enclosing_scope_95007","Extract to {0} in enclosing scope"),Extract_to_0_in_1_scope:a(95008,3,"Extract_to_0_in_1_scope_95008","Extract to {0} in {1} scope"),Annotate_with_type_from_JSDoc:a(95009,3,"Annotate_with_type_from_JSDoc_95009","Annotate with type from JSDoc"),Infer_type_of_0_from_usage:a(95011,3,"Infer_type_of_0_from_usage_95011","Infer type of '{0}' from usage"),Infer_parameter_types_from_usage:a(95012,3,"Infer_parameter_types_from_usage_95012","Infer parameter types from usage"),Convert_to_default_import:a(95013,3,"Convert_to_default_import_95013","Convert to default import"),Install_0:a(95014,3,"Install_0_95014","Install '{0}'"),Replace_import_with_0:a(95015,3,"Replace_import_with_0_95015","Replace import with '{0}'."),Use_synthetic_default_member:a(95016,3,"Use_synthetic_default_member_95016","Use synthetic 'default' member."),Convert_to_ES_module:a(95017,3,"Convert_to_ES_module_95017","Convert to ES module"),Add_undefined_type_to_property_0:a(95018,3,"Add_undefined_type_to_property_0_95018","Add 'undefined' type to property '{0}'"),Add_initializer_to_property_0:a(95019,3,"Add_initializer_to_property_0_95019","Add initializer to property '{0}'"),Add_definite_assignment_assertion_to_property_0:a(95020,3,"Add_definite_assignment_assertion_to_property_0_95020","Add definite assignment assertion to property '{0}'"),Convert_all_type_literals_to_mapped_type:a(95021,3,"Convert_all_type_literals_to_mapped_type_95021","Convert all type literals to mapped type"),Add_all_missing_members:a(95022,3,"Add_all_missing_members_95022","Add all missing members"),Infer_all_types_from_usage:a(95023,3,"Infer_all_types_from_usage_95023","Infer all types from usage"),Delete_all_unused_declarations:a(95024,3,"Delete_all_unused_declarations_95024","Delete all unused declarations"),Prefix_all_unused_declarations_with_where_possible:a(95025,3,"Prefix_all_unused_declarations_with_where_possible_95025","Prefix all unused declarations with '_' where possible"),Fix_all_detected_spelling_errors:a(95026,3,"Fix_all_detected_spelling_errors_95026","Fix all detected spelling errors"),Add_initializers_to_all_uninitialized_properties:a(95027,3,"Add_initializers_to_all_uninitialized_properties_95027","Add initializers to all uninitialized properties"),Add_definite_assignment_assertions_to_all_uninitialized_properties:a(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:a(95029,3,"Add_undefined_type_to_all_uninitialized_properties_95029","Add undefined type to all uninitialized properties"),Change_all_jsdoc_style_types_to_TypeScript:a(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:a(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:a(95032,3,"Implement_all_unimplemented_interfaces_95032","Implement all unimplemented interfaces"),Install_all_missing_types_packages:a(95033,3,"Install_all_missing_types_packages_95033","Install all missing types packages"),Rewrite_all_as_indexed_access_types:a(95034,3,"Rewrite_all_as_indexed_access_types_95034","Rewrite all as indexed access types"),Convert_all_to_default_imports:a(95035,3,"Convert_all_to_default_imports_95035","Convert all to default imports"),Make_all_super_calls_the_first_statement_in_their_constructor:a(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:a(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:a(95038,3,"Change_all_extended_interfaces_to_implements_95038","Change all extended interfaces to 'implements'"),Add_all_missing_super_calls:a(95039,3,"Add_all_missing_super_calls_95039","Add all missing super calls"),Implement_all_inherited_abstract_classes:a(95040,3,"Implement_all_inherited_abstract_classes_95040","Implement all inherited abstract classes"),Add_all_missing_async_modifiers:a(95041,3,"Add_all_missing_async_modifiers_95041","Add all missing 'async' modifiers"),Add_ts_ignore_to_all_error_messages:a(95042,3,"Add_ts_ignore_to_all_error_messages_95042","Add '@ts-ignore' to all error messages"),Annotate_everything_with_types_from_JSDoc:a(95043,3,"Annotate_everything_with_types_from_JSDoc_95043","Annotate everything with types from JSDoc"),Add_to_all_uncalled_decorators:a(95044,3,"Add_to_all_uncalled_decorators_95044","Add '()' to all uncalled decorators"),Convert_all_constructor_functions_to_classes:a(95045,3,"Convert_all_constructor_functions_to_classes_95045","Convert all constructor functions to classes"),Generate_get_and_set_accessors:a(95046,3,"Generate_get_and_set_accessors_95046","Generate 'get' and 'set' accessors"),Convert_require_to_import:a(95047,3,"Convert_require_to_import_95047","Convert 'require' to 'import'"),Convert_all_require_to_import:a(95048,3,"Convert_all_require_to_import_95048","Convert all 'require' to 'import'"),Move_to_a_new_file:a(95049,3,"Move_to_a_new_file_95049","Move to a new file"),Remove_unreachable_code:a(95050,3,"Remove_unreachable_code_95050","Remove unreachable code"),Remove_all_unreachable_code:a(95051,3,"Remove_all_unreachable_code_95051","Remove all unreachable code"),Add_missing_typeof:a(95052,3,"Add_missing_typeof_95052","Add missing 'typeof'"),Remove_unused_label:a(95053,3,"Remove_unused_label_95053","Remove unused label"),Remove_all_unused_labels:a(95054,3,"Remove_all_unused_labels_95054","Remove all unused labels"),Convert_0_to_mapped_object_type:a(95055,3,"Convert_0_to_mapped_object_type_95055","Convert '{0}' to mapped object type"),Convert_namespace_import_to_named_imports:a(95056,3,"Convert_namespace_import_to_named_imports_95056","Convert namespace import to named imports"),Convert_named_imports_to_namespace_import:a(95057,3,"Convert_named_imports_to_namespace_import_95057","Convert named imports to namespace import"),Add_or_remove_braces_in_an_arrow_function:a(95058,3,"Add_or_remove_braces_in_an_arrow_function_95058","Add or remove braces in an arrow function"),Add_braces_to_arrow_function:a(95059,3,"Add_braces_to_arrow_function_95059","Add braces to arrow function"),Remove_braces_from_arrow_function:a(95060,3,"Remove_braces_from_arrow_function_95060","Remove braces from arrow function"),Convert_default_export_to_named_export:a(95061,3,"Convert_default_export_to_named_export_95061","Convert default export to named export"),Convert_named_export_to_default_export:a(95062,3,"Convert_named_export_to_default_export_95062","Convert named export to default export"),Add_missing_enum_member_0:a(95063,3,"Add_missing_enum_member_0_95063","Add missing enum member '{0}'"),Add_all_missing_imports:a(95064,3,"Add_all_missing_imports_95064","Add all missing imports"),Convert_to_async_function:a(95065,3,"Convert_to_async_function_95065","Convert to async function"),Convert_all_to_async_functions:a(95066,3,"Convert_all_to_async_functions_95066","Convert all to async functions"),Add_missing_call_parentheses:a(95067,3,"Add_missing_call_parentheses_95067","Add missing call parentheses"),Add_all_missing_call_parentheses:a(95068,3,"Add_all_missing_call_parentheses_95068","Add all missing call parentheses"),Add_unknown_conversion_for_non_overlapping_types:a(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:a(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:a(95071,3,"Add_missing_new_operator_to_call_95071","Add missing 'new' operator to call"),Add_missing_new_operator_to_all_calls:a(95072,3,"Add_missing_new_operator_to_all_calls_95072","Add missing 'new' operator to all calls"),Add_names_to_all_parameters_without_names:a(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:a(95074,3,"Enable_the_experimentalDecorators_option_in_your_configuration_file_95074","Enable the 'experimentalDecorators' option in your configuration file"),Convert_parameters_to_destructured_object:a(95075,3,"Convert_parameters_to_destructured_object_95075","Convert parameters to destructured object"),Extract_type:a(95077,3,"Extract_type_95077","Extract type"),Extract_to_type_alias:a(95078,3,"Extract_to_type_alias_95078","Extract to type alias"),Extract_to_typedef:a(95079,3,"Extract_to_typedef_95079","Extract to typedef"),Infer_this_type_of_0_from_usage:a(95080,3,"Infer_this_type_of_0_from_usage_95080","Infer 'this' type of '{0}' from usage"),Add_const_to_unresolved_variable:a(95081,3,"Add_const_to_unresolved_variable_95081","Add 'const' to unresolved variable"),Add_const_to_all_unresolved_variables:a(95082,3,"Add_const_to_all_unresolved_variables_95082","Add 'const' to all unresolved variables"),Add_await:a(95083,3,"Add_await_95083","Add 'await'"),Add_await_to_initializer_for_0:a(95084,3,"Add_await_to_initializer_for_0_95084","Add 'await' to initializer for '{0}'"),Fix_all_expressions_possibly_missing_await:a(95085,3,"Fix_all_expressions_possibly_missing_await_95085","Fix all expressions possibly missing 'await'"),Remove_unnecessary_await:a(95086,3,"Remove_unnecessary_await_95086","Remove unnecessary 'await'"),Remove_all_unnecessary_uses_of_await:a(95087,3,"Remove_all_unnecessary_uses_of_await_95087","Remove all unnecessary uses of 'await'"),Enable_the_jsx_flag_in_your_configuration_file:a(95088,3,"Enable_the_jsx_flag_in_your_configuration_file_95088","Enable the '--jsx' flag in your configuration file"),Add_await_to_initializers:a(95089,3,"Add_await_to_initializers_95089","Add 'await' to initializers"),Extract_to_interface:a(95090,3,"Extract_to_interface_95090","Extract to interface"),Convert_to_a_bigint_numeric_literal:a(95091,3,"Convert_to_a_bigint_numeric_literal_95091","Convert to a bigint numeric literal"),Convert_all_to_bigint_numeric_literals:a(95092,3,"Convert_all_to_bigint_numeric_literals_95092","Convert all to bigint numeric literals"),Convert_const_to_let:a(95093,3,"Convert_const_to_let_95093","Convert 'const' to 'let'"),Prefix_with_declare:a(95094,3,"Prefix_with_declare_95094","Prefix with 'declare'"),Prefix_all_incorrect_property_declarations_with_declare:a(95095,3,"Prefix_all_incorrect_property_declarations_with_declare_95095","Prefix all incorrect property declarations with 'declare'"),Convert_to_template_string:a(95096,3,"Convert_to_template_string_95096","Convert to template string"),Add_export_to_make_this_file_into_a_module:a(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:a(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:a(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:a(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:a(95101,3,"Convert_all_invalid_characters_to_HTML_entity_code_95101","Convert all invalid characters to HTML entity code"),Convert_all_const_to_let:a(95102,3,"Convert_all_const_to_let_95102","Convert all 'const' to 'let'"),Convert_function_expression_0_to_arrow_function:a(95105,3,"Convert_function_expression_0_to_arrow_function_95105","Convert function expression '{0}' to arrow function"),Convert_function_declaration_0_to_arrow_function:a(95106,3,"Convert_function_declaration_0_to_arrow_function_95106","Convert function declaration '{0}' to arrow function"),Fix_all_implicit_this_errors:a(95107,3,"Fix_all_implicit_this_errors_95107","Fix all implicit-'this' errors"),Wrap_invalid_character_in_an_expression_container:a(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:a(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:a(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:a(95111,3,"Add_a_return_statement_95111","Add a return statement"),Remove_braces_from_arrow_function_body:a(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:a(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:a(95114,3,"Add_all_missing_return_statement_95114","Add all missing return statement"),Remove_braces_from_all_arrow_function_bodies_with_relevant_issues:a(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:a(95116,3,"Wrap_all_object_literal_with_parentheses_95116","Wrap all object literal with parentheses"),Move_labeled_tuple_element_modifiers_to_labels:a(95117,3,"Move_labeled_tuple_element_modifiers_to_labels_95117","Move labeled tuple element modifiers to labels"),Convert_overload_list_to_single_signature:a(95118,3,"Convert_overload_list_to_single_signature_95118","Convert overload list to single signature"),Generate_get_and_set_accessors_for_all_overriding_properties:a(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:a(95120,3,"Wrap_in_JSX_fragment_95120","Wrap in JSX fragment"),Wrap_all_unparented_JSX_in_JSX_fragment:a(95121,3,"Wrap_all_unparented_JSX_in_JSX_fragment_95121","Wrap all unparented JSX in JSX fragment"),Convert_arrow_function_or_function_expression:a(95122,3,"Convert_arrow_function_or_function_expression_95122","Convert arrow function or function expression"),Convert_to_anonymous_function:a(95123,3,"Convert_to_anonymous_function_95123","Convert to anonymous function"),Convert_to_named_function:a(95124,3,"Convert_to_named_function_95124","Convert to named function"),Convert_to_arrow_function:a(95125,3,"Convert_to_arrow_function_95125","Convert to arrow function"),Remove_parentheses:a(95126,3,"Remove_parentheses_95126","Remove parentheses"),Could_not_find_a_containing_arrow_function:a(95127,3,"Could_not_find_a_containing_arrow_function_95127","Could not find a containing arrow function"),Containing_function_is_not_an_arrow_function:a(95128,3,"Containing_function_is_not_an_arrow_function_95128","Containing function is not an arrow function"),Could_not_find_export_statement:a(95129,3,"Could_not_find_export_statement_95129","Could not find export statement"),This_file_already_has_a_default_export:a(95130,3,"This_file_already_has_a_default_export_95130","This file already has a default export"),Could_not_find_import_clause:a(95131,3,"Could_not_find_import_clause_95131","Could not find import clause"),Could_not_find_namespace_import_or_named_imports:a(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:a(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:a(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:a(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:a(95136,3,"Name_is_not_valid_95136","Name is not valid"),Can_only_convert_property_with_modifier:a(95137,3,"Can_only_convert_property_with_modifier_95137","Can only convert property with modifier"),Switch_each_misused_0_to_1:a(95138,3,"Switch_each_misused_0_to_1_95138","Switch each misused '{0}' to '{1}'"),Convert_to_optional_chain_expression:a(95139,3,"Convert_to_optional_chain_expression_95139","Convert to optional chain expression"),Could_not_find_convertible_access_expression:a(95140,3,"Could_not_find_convertible_access_expression_95140","Could not find convertible access expression"),Could_not_find_matching_access_expressions:a(95141,3,"Could_not_find_matching_access_expressions_95141","Could not find matching access expressions"),Can_only_convert_logical_AND_access_chains:a(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:a(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:a(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:a(95145,3,"Use_element_access_for_0_95145","Use element access for '{0}'"),Use_element_access_for_all_undeclared_properties:a(95146,3,"Use_element_access_for_all_undeclared_properties_95146","Use element access for all undeclared properties."),Delete_all_unused_imports:a(95147,3,"Delete_all_unused_imports_95147","Delete all unused imports"),Infer_function_return_type:a(95148,3,"Infer_function_return_type_95148","Infer function return type"),Return_type_must_be_inferred_from_a_function:a(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:a(95150,3,"Could_not_determine_function_return_type_95150","Could not determine function return type"),Could_not_convert_to_arrow_function:a(95151,3,"Could_not_convert_to_arrow_function_95151","Could not convert to arrow function"),Could_not_convert_to_named_function:a(95152,3,"Could_not_convert_to_named_function_95152","Could not convert to named function"),Could_not_convert_to_anonymous_function:a(95153,3,"Could_not_convert_to_anonymous_function_95153","Could not convert to anonymous function"),Can_only_convert_string_concatenation:a(95154,3,"Can_only_convert_string_concatenation_95154","Can only convert string concatenation"),Selection_is_not_a_valid_statement_or_statements:a(95155,3,"Selection_is_not_a_valid_statement_or_statements_95155","Selection is not a valid statement or statements"),Add_missing_function_declaration_0:a(95156,3,"Add_missing_function_declaration_0_95156","Add missing function declaration '{0}'"),Add_all_missing_function_declarations:a(95157,3,"Add_all_missing_function_declarations_95157","Add all missing function declarations"),Method_not_implemented:a(95158,3,"Method_not_implemented_95158","Method not implemented."),Function_not_implemented:a(95159,3,"Function_not_implemented_95159","Function not implemented."),Add_override_modifier:a(95160,3,"Add_override_modifier_95160","Add 'override' modifier"),Remove_override_modifier:a(95161,3,"Remove_override_modifier_95161","Remove 'override' modifier"),Add_all_missing_override_modifiers:a(95162,3,"Add_all_missing_override_modifiers_95162","Add all missing 'override' modifiers"),Remove_all_unnecessary_override_modifiers:a(95163,3,"Remove_all_unnecessary_override_modifiers_95163","Remove all unnecessary 'override' modifiers"),Can_only_convert_named_export:a(95164,3,"Can_only_convert_named_export_95164","Can only convert named export"),Add_missing_properties:a(95165,3,"Add_missing_properties_95165","Add missing properties"),Add_all_missing_properties:a(95166,3,"Add_all_missing_properties_95166","Add all missing properties"),Add_missing_attributes:a(95167,3,"Add_missing_attributes_95167","Add missing attributes"),Add_all_missing_attributes:a(95168,3,"Add_all_missing_attributes_95168","Add all missing attributes"),Add_undefined_to_optional_property_type:a(95169,3,"Add_undefined_to_optional_property_type_95169","Add 'undefined' to optional property type"),Convert_named_imports_to_default_import:a(95170,3,"Convert_named_imports_to_default_import_95170","Convert named imports to default import"),Delete_unused_param_tag_0:a(95171,3,"Delete_unused_param_tag_0_95171","Delete unused '@param' tag '{0}'"),Delete_all_unused_param_tags:a(95172,3,"Delete_all_unused_param_tags_95172","Delete all unused '@param' tags"),Rename_param_tag_name_0_to_1:a(95173,3,"Rename_param_tag_name_0_to_1_95173","Rename '@param' tag name '{0}' to '{1}'"),Use_0:a(95174,3,"Use_0_95174","Use `{0}`."),Use_Number_isNaN_in_all_conditions:a(95175,3,"Use_Number_isNaN_in_all_conditions_95175","Use `Number.isNaN` in all conditions."),Convert_typedef_to_TypeScript_type:a(95176,3,"Convert_typedef_to_TypeScript_type_95176","Convert typedef to TypeScript type."),Convert_all_typedef_to_TypeScript_types:a(95177,3,"Convert_all_typedef_to_TypeScript_types_95177","Convert all typedef to TypeScript types."),Move_to_file:a(95178,3,"Move_to_file_95178","Move to file"),Cannot_move_to_file_selected_file_is_invalid:a(95179,3,"Cannot_move_to_file_selected_file_is_invalid_95179","Cannot move to file, selected file is invalid"),No_value_exists_in_scope_for_the_shorthand_property_0_Either_declare_one_or_provide_an_initializer:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(18046,1,"_0_is_of_type_unknown_18046","'{0}' is of type 'unknown'."),_0_is_possibly_null:a(18047,1,"_0_is_possibly_null_18047","'{0}' is possibly 'null'."),_0_is_possibly_undefined:a(18048,1,"_0_is_possibly_undefined_18048","'{0}' is possibly 'undefined'."),_0_is_possibly_null_or_undefined:a(18049,1,"_0_is_possibly_null_or_undefined_18049","'{0}' is possibly 'null' or 'undefined'."),The_value_0_cannot_be_used_here:a(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:a(18051,1,"Compiler_option_0_cannot_be_given_an_empty_string_18051","Compiler option '{0}' cannot be given an empty string."),Non_abstract_class_0_does_not_implement_all_abstract_members_of_1:a(18052,1,"Non_abstract_class_0_does_not_implement_all_abstract_members_of_1_18052","Non-abstract class '{0}' does not implement all abstract members of '{1}'"),Its_type_0_is_not_a_valid_JSX_element_type:a(18053,1,"Its_type_0_is_not_a_valid_JSX_element_type_18053","Its type '{0}' is not a valid JSX element type.")}}});function At(e){return e>=80}function bT(e){return e===32||At(e)}function t_(e,t){if(e=2?t_(e,NT):t===1?t_(e,DT):t_(e,kT)}function R5(e,t){return t>=2?t_(e,IT):t===1?t_(e,PT):t_(e,AT)}function F5(e){let t=[];return e.forEach((n,i)=>{t[n]=i}),t}function an(e){return LT[e]}function Al(e){return v0.get(e)}function cm(e){let t=[],n=0,i=0;for(;n127&&mn(s)&&(t.push(i),i=n);break}}return t.push(i),t}function j5(e,t,n,i){return e.getPositionOfLineAndCharacter?e.getPositionOfLineAndCharacter(t,n,i):wg(xa(e),t,n,e.text,i)}function wg(e,t,n,i,s){(t<0||t>=e.length)&&(s?t=t<0?0:t>=e.length?e.length-1:t:M.fail(`Bad line number. Line: ${t}, lineStarts.length: ${e.length} , line map is correct? ${i!==void 0?Lv(e,cm(i)):"unknown"}`));let l=e[t]+n;return s?l>e[t+1]?e[t+1]:typeof i=="string"&&l>i.length?i.length:l:(t=8192&&e<=8203||e===8239||e===8287||e===12288||e===65279}function mn(e){return e===10||e===13||e===8232||e===8233}function Po(e){return e>=48&&e<=57}function ev(e){return Po(e)||e>=65&&e<=70||e>=97&&e<=102}function B5(e){return e<=1114111}function Xd(e){return e>=48&&e<=55}function U5(e,t){let n=e.charCodeAt(t);switch(n){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 t===0;default:return n>127}}function It(e,t,n,i,s){if(wa(t))return t;let l=!1;for(;;){let d=e.charCodeAt(t);switch(d){case 13:e.charCodeAt(t+1)===10&&t++;case 10:if(t++,n)return t;l=!!s;continue;case 9:case 11:case 12:case 32:t++;continue;case 47:if(i)break;if(e.charCodeAt(t+1)===47){for(t+=2;t127&&qi(d)){t++;continue}break}return t}}function Io(e,t){if(M.assert(t>=0),t===0||mn(e.charCodeAt(t-1))){let n=e.charCodeAt(t);if(t+nl=0&&n127&&qi(A)){D&&mn(A)&&(h=!0),n++;continue}break e}}return D&&(g=s(y,p,x,h,l,g)),g}function q5(e,t,n,i){return lm(!1,e,t,!1,n,i)}function z5(e,t,n,i){return lm(!1,e,t,!0,n,i)}function TT(e,t,n,i,s){return lm(!0,e,t,!1,n,i,s)}function xT(e,t,n,i,s){return lm(!0,e,t,!0,n,i,s)}function ST(e,t,n,i,s,l=[]){return l.push({kind:n,pos:e,end:t,hasTrailingNewLine:i}),l}function Go(e,t){return TT(e,t,ST,void 0,void 0)}function wT(e,t){return xT(e,t,ST,void 0,void 0)}function ET(e){let t=um.exec(e);if(t)return t[0]}function or(e,t){return e>=65&&e<=90||e>=97&&e<=122||e===36||e===95||e>127&&vT(e,t)}function Wa(e,t,n){return e>=65&&e<=90||e>=97&&e<=122||e>=48&&e<=57||e===36||e===95||(n===1?e===45||e===58:!1)||e>127&&R5(e,t)}function Ag(e,t,n){let i=ir(e,0);if(!or(i,t))return!1;for(let s=Br(i);sh,getStartPos:()=>h,getTokenEnd:()=>p,getTextPos:()=>p,getToken:()=>w,getTokenStart:()=>D,getTokenPos:()=>D,getTokenText:()=>y.substring(D,p),getTokenValue:()=>g,hasUnicodeEscape:()=>(A&1024)!==0,hasExtendedUnicodeEscape:()=>(A&8)!==0,hasPrecedingLineBreak:()=>(A&1)!==0,hasPrecedingJSDocComment:()=>(A&2)!==0,isIdentifier:()=>w===80||w>118,isReservedWord:()=>w>=83&&w<=118,isUnterminated:()=>(A&4)!==0,getCommentDirectives:()=>B,getNumericLiteralFlags:()=>A&25584,getTokenFlags:()=>A,reScanGreaterToken:vt,reScanAsteriskEqualsToken:Un,reScanSlashToken:qn,reScanTemplateToken:Zt,reScanTemplateHeadOrNoSubstitutionTemplate:zn,scanJsxIdentifier:Qn,scanJsxAttributeValue:ut,reScanJsxAttributeValue:Jt,reScanJsxToken:mt,reScanLessThanToken:mr,reScanHashToken:bt,reScanQuestionToken:cn,reScanInvalidIdentifier:dn,scanJsxToken:dt,scanJsDocToken:yr,scanJSDocCommentTextToken:ln,scan:Bn,getText:Ci,clearCommentDirectives:Ie,setText:H,setScriptTarget:be,setLanguageVariant:Ee,setOnError:de,resetTokenState:et,setTextPos:et,setInJSDocType:Qe,tryScan:hr,lookAhead:Wn,scanRange:ti};return M.isDebugging&&Object.defineProperty(oe,"__debugShowCurrentPositionInText",{get:()=>{let ee=oe.getText();return ee.slice(0,oe.getTokenFullStart())+"\u2551"+ee.slice(oe.getTokenFullStart())}}),oe;function Q(ee,Z=p,ae,Te){if(s){let Oe=p;p=Z,s(ee,ae||0,Te),p=Oe}}function W(){let ee=p,Z=!1,ae=!1,Te="";for(;;){let Oe=y.charCodeAt(p);if(Oe===95){A|=512,Z?(Z=!1,ae=!0,Te+=y.substring(ee,p)):(A|=16384,Q(ae?K.Multiple_consecutive_numeric_separators_are_not_permitted:K.Numeric_separators_are_not_allowed_here,p,1)),p++,ee=p;continue}if(Po(Oe)){Z=!0,ae=!1,p++;continue}break}return y.charCodeAt(p-1)===95&&(A|=16384,Q(K.Numeric_separators_are_not_allowed_here,p-1,1)),Te+y.substring(ee,p)}function se(){let ee=p,Z;if(y.charCodeAt(p)===48)if(p++,y.charCodeAt(p)===95)A|=16896,Q(K.Numeric_separators_are_not_allowed_here,p,1),p--,Z=W();else if(!Ze())A|=8192,Z=""+ +g;else if(!g)Z="0";else{g=""+parseInt(g,8),A|=32;let Re=w===41,Rt=(Re?"-":"")+"0o"+(+g).toString(8);return Re&&ee--,Q(K.Octal_literals_are_not_allowed_Use_the_syntax_0,ee,p-ee,Rt),{type:9,value:g}}else Z=W();let ae,Te;y.charCodeAt(p)===46&&(p++,ae=W());let Oe=p;if(y.charCodeAt(p)===69||y.charCodeAt(p)===101){p++,A|=16,(y.charCodeAt(p)===43||y.charCodeAt(p)===45)&&p++;let Re=p,Rt=W();Rt?(Te=y.substring(Oe,Re)+Rt,Oe=p):Q(K.Digit_expected)}let We;if(A&512?(We=Z,ae&&(We+="."+ae),Te&&(We+=Te)):We=y.substring(ee,Oe),A&8192)return Q(K.Decimals_with_leading_zeros_are_not_allowed,ee,Oe-ee),{type:9,value:""+ +We};if(ae!==void 0||A&16)return we(ee,ae===void 0&&!!(A&16)),{type:9,value:""+ +We};{g=We;let Re=fr();return we(ee),{type:Re,value:g}}}function we(ee,Z){if(!or(ir(y,p),e))return;let ae=p,{length:Te}=$t();Te===1&&y[ae]==="n"?Q(Z?K.A_bigint_literal_cannot_use_exponential_notation:K.A_bigint_literal_must_be_an_integer,ee,ae-ee+1):(Q(K.An_identifier_or_keyword_cannot_immediately_follow_a_numeric_literal,ae,Te),p=ae)}function Ze(){let ee=p,Z=!0;for(;Po(y.charCodeAt(p));)Xd(y.charCodeAt(p))||(Z=!1),p++;return g=y.substring(ee,p),Z}function Ue(ee,Z){let ae=ct(ee,!1,Z);return ae?parseInt(ae,16):-1}function rt(ee,Z){return ct(ee,!0,Z)}function ct(ee,Z,ae){let Te=[],Oe=!1,We=!1;for(;Te.length=65&&Re<=70)Re+=97-65;else if(!(Re>=48&&Re<=57||Re>=97&&Re<=102))break;Te.push(Re),p++,We=!1}return Te.length=x){ae+=y.substring(Te,p),A|=4,Q(K.Unterminated_string_literal);break}let Oe=y.charCodeAt(p);if(Oe===Z){ae+=y.substring(Te,p),p++;break}if(Oe===92&&!ee){ae+=y.substring(Te,p),ae+=ei(!0),Te=p;continue}if(mn(Oe)&&!ee){ae+=y.substring(Te,p),A|=4,Q(K.Unterminated_string_literal);break}p++}return ae}function sn(ee){let Z=y.charCodeAt(p)===96;p++;let ae=p,Te="",Oe;for(;;){if(p>=x){Te+=y.substring(ae,p),A|=4,Q(K.Unterminated_template_literal),Oe=Z?15:18;break}let We=y.charCodeAt(p);if(We===96){Te+=y.substring(ae,p),p++,Oe=Z?15:18;break}if(We===36&&p+1=x)return Q(K.Unexpected_end_of_text),"";let ae=y.charCodeAt(p);switch(p++,ae){case 48:if(p>=x||!Po(y.charCodeAt(p)))return"\0";case 49:case 50:case 51:p=x?(A|=2048,ee&&Q(K.Unexpected_end_of_text),y.substring(Z,p)):y.charCodeAt(p)!==125?(A|=2048,ee&&Q(K.Unterminated_Unicode_escape_sequence),y.substring(Z,p)):(p++,A|=8,$d(Oe)):(A|=2048,ee&&Q(K.An_extended_Unicode_escape_value_must_be_between_0x0_and_0x10FFFF_inclusive),y.substring(Z,p))}for(;p1114111&&(Q(K.An_extended_Unicode_escape_value_must_be_between_0x0_and_0x10FFFF_inclusive),ae=!0),p>=x?(Q(K.Unexpected_end_of_text),ae=!0):y.charCodeAt(p)===125?p++:(Q(K.Unterminated_Unicode_escape_sequence),ae=!0),ae?"":$d(Z)}function Pn(){if(p+5=0&&Wa(ae,e)){p+=3,A|=8,ee+=_n(),Z=p;continue}if(ae=Pn(),!(ae>=0&&Wa(ae,e)))break;A|=1024,ee+=y.substring(Z,p),ee+=$d(ae),p+=6,Z=p}else break}return ee+=y.substring(Z,p),ee}function jn(){let ee=g.length;if(ee>=2&&ee<=12){let Z=g.charCodeAt(0);if(Z>=97&&Z<=122){let ae=CT.get(g);if(ae!==void 0)return w=ae}}return w=80}function Qt(ee){let Z="",ae=!1,Te=!1;for(;;){let Oe=y.charCodeAt(p);if(Oe===95){A|=512,ae?(ae=!1,Te=!0):Q(Te?K.Multiple_consecutive_numeric_separators_are_not_permitted:K.Numeric_separators_are_not_allowed_here,p,1),p++;continue}if(ae=!0,!Po(Oe)||Oe-48>=ee)break;Z+=y[p],p++,Te=!1}return y.charCodeAt(p-1)===95&&Q(K.Numeric_separators_are_not_allowed_here,p-1,1),Z}function fr(){return y.charCodeAt(p)===110?(g+="n",A&384&&(g=qm(g)+"n"),p++,10):(g=""+(A&128?parseInt(g.slice(2),2):A&256?parseInt(g.slice(2),8):+g),9)}function Bn(){h=p,A=0;let ee=!1;for(;;){if(D=p,p>=x)return w=1;let Z=ir(y,p);if(p===0){if(Z===65533)return Q(K.File_appears_to_be_binary),p=x,w=8;if(Z===35&&Cg(y,p)){if(p=kg(y,p),t)continue;return w=6}}switch(Z){case 10:case 13:if(A|=1,t){p++;continue}else return Z===13&&p+1=0&&or(ae,e))return p+=3,A|=8,g=_n()+$t(),w=jn();let Te=Pn();return Te>=0&&or(Te,e)?(p+=6,A|=1024,g=String.fromCharCode(Te)+$t(),w=jn()):(Q(K.Invalid_character),p++,w=0);case 35:if(p!==0&&y[p+1]==="!")return Q(K.can_only_be_used_at_the_start_of_a_file),p++,w=0;let Oe=ir(y,p+1);if(Oe===92){p++;let Rt=$e();if(Rt>=0&&or(Rt,e))return p+=3,A|=8,g="#"+_n()+$t(),w=81;let Nt=Pn();if(Nt>=0&&or(Nt,e))return p+=6,A|=1024,g="#"+String.fromCharCode(Nt)+$t(),w=81;p--}return or(Oe,e)?(p++,Yt(Oe,e)):(g="#",Q(K.Invalid_character,p++,Br(Z))),w=81;default:let We=Yt(Z,e);if(We)return w=We;if(Lo(Z)){p+=Br(Z);continue}else if(mn(Z)){A|=1,p+=Br(Z);continue}let Re=Br(Z);return Q(K.Invalid_character,p,Re),p+=Re,w=0}}}function dn(){M.assert(w===0,"'reScanInvalidIdentifier' should only be called when the current token is 'SyntaxKind.Unknown'."),p=D=h,A=0;let ee=ir(y,p),Z=Yt(ee,99);return Z?w=Z:(p+=Br(ee),w)}function Yt(ee,Z){let ae=ee;if(or(ae,Z)){for(p+=Br(ae);p=x)return w=1;let Z=y.charCodeAt(p);if(Z===60)return y.charCodeAt(p+1)===47?(p+=2,w=31):(p++,w=30);if(Z===123)return p++,w=19;let ae=0;for(;p0)break;qi(Z)||(ae=p)}p++}return g=y.substring(h,p),ae===-1?13:12}function Qn(){if(At(w)){for(;p=x)return w=1;for(let Z=y.charCodeAt(p);p=0&&Lo(y.charCodeAt(p-1))&&!(p+1=x)return w=1;let ee=ir(y,p);switch(p+=Br(ee),ee){case 9:case 11:case 12:case 32:for(;p=0&&or(Z,e))return p+=3,A|=8,g=_n()+$t(),w=jn();let ae=Pn();return ae>=0&&or(ae,e)?(p+=6,A|=1024,g=String.fromCharCode(ae)+$t(),w=jn()):(p++,w=0)}if(or(ee,e)){let Z=ee;for(;p=0),p=ee,h=ee,D=ee,w=0,g=void 0,A=0}function Qe(ee){G+=ee?1:-1}}function Br(e){return e>=65536?2:1}function W5(e){if(M.assert(0<=e&&e<=1114111),e<=65535)return String.fromCharCode(e);let t=Math.floor((e-65536)/1024)+55296,n=(e-65536)%1024+56320;return String.fromCharCode(t,n)}function $d(e){return JT(e)}var tl,CT,v0,kT,AT,DT,PT,NT,IT,OT,MT,LT,nl,um,ir,JT,V5=Ht({"src/compiler/scanner.ts"(){"use strict";En(),tl={abstract:128,accessor:129,any:133,as:130,asserts:131,assert:132,bigint:162,boolean:136,break:83,case:84,catch:85,class:86,continue:88,const:87,constructor:137,debugger:89,declare:138,default:90,delete:91,do:92,else:93,enum:94,export:95,extends:96,false:97,finally:98,for:99,from:160,function:100,get:139,if:101,implements:119,import:102,in:103,infer:140,instanceof:104,interface:120,intrinsic:141,is:142,keyof:143,let:121,module:144,namespace:145,never:146,new:105,null:106,number:150,object:151,package:122,private:123,protected:124,public:125,override:163,out:147,readonly:148,require:149,global:161,return:107,satisfies:152,set:153,static:126,string:154,super:108,switch:109,symbol:155,this:110,throw:111,true:112,try:113,type:156,typeof:114,undefined:157,unique:158,unknown:159,var:115,void:116,while:117,with:118,yield:127,async:134,await:135,of:164},CT=new Map(Object.entries(tl)),v0=new Map(Object.entries({...tl,"{":19,"}":20,"(":21,")":22,"[":23,"]":24,".":25,"...":26,";":27,",":28,"<":30,">":32,"<=":33,">=":34,"==":35,"!=":36,"===":37,"!==":38,"=>":39,"+":40,"-":41,"**":43,"*":42,"/":44,"%":45,"++":46,"--":47,"<<":48,">":49,">>>":50,"&":51,"|":52,"^":53,"!":54,"~":55,"&&":56,"||":57,"?":58,"??":61,"?.":29,":":59,"=":64,"+=":65,"-=":66,"*=":67,"**=":68,"/=":69,"%=":70,"<<=":71,">>=":72,">>>=":73,"&=":74,"|=":75,"^=":79,"||=":76,"&&=":77,"??=":78,"@":60,"#":63,"`":62})),kT=[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],AT=[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],DT=[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],PT=[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],NT=[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],IT=[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],OT=/^\/\/\/?\s*@(ts-expect-error|ts-ignore)/,MT=/^(?:\/|\*)*\s*@(ts-expect-error|ts-ignore)/,LT=F5(v0),nl=7,um=/^#!.*/,ir=String.prototype.codePointAt?(e,t)=>e.codePointAt(t):function(t,n){let i=t.length;if(n<0||n>=i)return;let s=t.charCodeAt(n);if(s>=55296&&s<=56319&&i>n+1){let l=t.charCodeAt(n+1);if(l>=56320&&l<=57343)return(s-55296)*1024+l-56320+65536}return s},JT=String.fromCodePoint?e=>String.fromCodePoint(e):W5}});function H5(e){return is(e)||y_(e)}function K5(e){return Bv(e,q2)}function RT(e){switch(Um(e)){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 tn(e){return e.start+e.length}function FT(e){return e.length===0}function G5(e,t){return t>=e.start&&t=e.pos&&t<=e.end}function $5(e,t){return t.start>=e.start&&tn(t)<=tn(e)}function Q5(e,t){return jT(e,t)!==void 0}function jT(e,t){let n=BT(e,t);return n&&n.length===0?void 0:n}function Y5(e,t){return Dg(e.start,e.length,t.start,t.length)}function Z5(e,t,n){return Dg(e.start,e.length,t,n)}function Dg(e,t,n,i){let s=e+t,l=n+i;return n<=s&&l>=e}function ek(e,t){return t<=tn(e)&&t>=e.start}function BT(e,t){let n=Math.max(e.start,t.start),i=Math.min(tn(e),tn(t));return n<=i?zi(n,i):void 0}function v_(e,t){if(e<0)throw new Error("start < 0");if(t<0)throw new Error("length < 0");return{start:e,length:t}}function zi(e,t){return v_(e,t-e)}function Ks(e){return v_(e.span.start,e.newLength)}function UT(e){return FT(e.span)&&e.newLength===0}function pm(e,t){if(t<0)throw new Error("newLength < 0");return{span:e,newLength:t}}function tk(e){if(e.length===0)return Gg;if(e.length===1)return e[0];let t=e[0],n=t.span.start,i=tn(t.span),s=n+t.newLength;for(let l=1;lt.flags)}function ik(e,t,n){let i=e.toLowerCase(),s=/^([a-z]+)([_\-]([a-z]+))?$/.exec(i);if(!s){n&&n.push(al(K.Locale_must_be_of_the_form_language_or_language_territory_For_example_0_or_1,"en","ja-jp"));return}let l=s[1],d=s[3];ns(Xg,i)&&!y(l,d,n)&&y(l,void 0,n),Qv(e);function y(p,x,h){let D=sr(t.getExecutingFilePath()),w=Hi(D),g=yn(w,p);if(x&&(g=g+"-"+x),g=t.resolvePath(yn(g,"diagnosticMessages.generated.json")),!t.fileExists(g))return!1;let A="";try{A=t.readFile(g)}catch{return h&&h.push(al(K.Unable_to_open_file_0,g)),!1}try{G3(JSON.parse(A))}catch{return h&&h.push(al(K.Corrupted_locale_file_0,g)),!1}return!0}}function Dl(e,t){if(e)for(;e.original!==void 0;)e=e.original;return!e||!t||t(e)?e:void 0}function Xr(e,t){for(;e;){let n=t(e);if(n==="quit")return;if(n)return e;e=e.parent}}function dl(e){return(e.flags&8)===0}function Pl(e,t){if(e===void 0||dl(e))return e;for(e=e.original;e;){if(dl(e))return!t||t(e)?e:void 0;e=e.original}}function Ur(e){return e.length>=2&&e.charCodeAt(0)===95&&e.charCodeAt(1)===95?"_"+e:e}function Xo(e){let t=e;return t.length>=3&&t.charCodeAt(0)===95&&t.charCodeAt(1)===95&&t.charCodeAt(2)===95?t.substr(1):t}function Ot(e){return Xo(e.escapedText)}function HT(e){let t=Al(e.escapedText);return t?Ar(t,bi):void 0}function Of(e){return e.valueDeclaration&&Tx(e.valueDeclaration)?Ot(e.valueDeclaration.name):Xo(e.escapedName)}function KT(e){let t=e.parent.parent;if(t){if($o(t))return Wd(t);switch(t.kind){case 242:if(t.declarationList&&t.declarationList.declarations[0])return Wd(t.declarationList.declarations[0]);break;case 243:let n=t.expression;switch(n.kind===225&&n.operatorToken.kind===64&&(n=n.left),n.kind){case 210:return n.name;case 211:let i=n.argumentExpression;if(Ce(i))return i}break;case 216:return Wd(t.expression);case 255:{if($o(t.statement)||wm(t.statement))return Wd(t.statement);break}}}}function Wd(e){let t=Nl(e);return t&&Ce(t)?t:void 0}function GT(e,t){return!!(mm(e)&&Ce(e.name)&&Ot(e.name)===Ot(t)||_s(e)&&ft(e.declarationList.declarations,n=>GT(n,t)))}function XT(e){return e.name||KT(e)}function mm(e){return!!e.name}function ym(e){switch(e.kind){case 80:return e;case 354:case 347:{let{name:n}=e;if(n.kind===165)return n.right;break}case 212:case 225:{let n=e;switch(Ca(n)){case 1:case 4:case 5:case 3:return Im(n.left);case 7:case 8:case 9:return n.arguments[1];default:return}}case 352:return XT(e);case 346:return KT(e);case 276:{let{expression:n}=e;return Ce(n)?n:void 0}case 211:let t=e;if(y2(t))return t.argumentExpression}return e.name}function Nl(e){if(e!==void 0)return ym(e)||(Km(e)||Gm(e)||$m(e)?$T(e):void 0)}function $T(e){if(e.parent){if(us(e.parent)||$l(e.parent))return e.parent.name;if(St(e.parent)&&e===e.parent.right){if(Ce(e.parent.left))return e.parent.left;if(Zo(e.parent.left))return Im(e.parent.left)}else if(Ei(e.parent)&&Ce(e.parent.name))return e.parent.name}else return}function ak(e){if(gl(e))return Gn(e.modifiers,zl)}function Mf(e){if(gn(e,126975))return Gn(e.modifiers,Fg)}function QT(e,t){if(e.name)if(Ce(e.name)){let n=e.name.escapedText;return o_(e.parent,t).filter(i=>p_(i)&&Ce(i.name)&&i.name.escapedText===n)}else{let n=e.parent.parameters.indexOf(e);M.assert(n>-1,"Parameters should always be in their parents' parameter list");let i=o_(e.parent,t).filter(p_);if(nes(i)&&i.typeParameters.some(s=>s.name.escapedText===n))}function ex(e){return ZT(e,!1)}function tx(e){return ZT(e,!0)}function ok(e){return!!nn(e,p_)}function nx(e){return nn(e,t1)}function rx(e){return px(e,U8)}function sk(e){return nn(e,R8)}function _k(e){return nn(e,Mb)}function ix(e){return nn(e,Mb,!0)}function ck(e){return nn(e,Lb)}function ax(e){return nn(e,Lb,!0)}function lk(e){return nn(e,Jb)}function ox(e){return nn(e,Jb,!0)}function uk(e){return nn(e,Rb)}function sx(e){return nn(e,Rb,!0)}function _x(e){return nn(e,F8,!0)}function pk(e){return nn(e,jb)}function cx(e){return nn(e,jb,!0)}function dk(e){return nn(e,j8)}function fk(e){return nn(e,B8)}function lx(e){return nn(e,Bb)}function mk(e){return nn(e,es)}function Ng(e){return nn(e,Ub)}function gm(e){let t=nn(e,ru);if(t&&t.typeExpression&&t.typeExpression.type)return t}function bm(e){let t=nn(e,ru);return!t&&io(e)&&(t=$n(hm(e),n=>!!n.typeExpression)),t&&t.typeExpression&&t.typeExpression.type}function ux(e){let t=lx(e);if(t&&t.typeExpression)return t.typeExpression.type;let n=gm(e);if(n&&n.typeExpression){let i=n.typeExpression.type;if(Hm(i)){let s=$n(i.members,pb);return s&&s.type}if(Gl(i)||e1(i))return i.type}}function o_(e,t){var n;if(!Om(e))return Xe;let i=(n=e.jsDoc)==null?void 0:n.jsDocCache;if(i===void 0||t){let s=M4(e,t);M.assert(s.length<2||s[0]!==s[1]),i=Wo(s,l=>ps(l)?l.tags:l),t||(e.jsDoc??(e.jsDoc=[]),e.jsDoc.jsDocCache=i)}return i}function Il(e){return o_(e,!1)}function yk(e){return o_(e,!0)}function nn(e,t,n){return $n(o_(e,n),t)}function px(e,t){return Il(e).filter(t)}function hk(e,t){return Il(e).filter(n=>n.kind===t)}function gk(e){return typeof e=="string"?e:e==null?void 0:e.map(t=>t.kind===327?t.text:bk(t)).join("")}function bk(e){let t=e.kind===330?"link":e.kind===331?"linkcode":"linkplain",n=e.name?hi(e.name):"",i=e.name&&e.text.startsWith("://")?"":" ";return`{@${t} ${n}${i}${e.text}}`}function vk(e){if(nu(e)){if(Fb(e.parent)){let t=T2(e.parent);if(t&&Ha(t.tags))return Wo(t.tags,n=>es(n)?n.typeParameters:void 0)}return Xe}if(Rl(e))return M.assert(e.parent.kind===326),Wo(e.parent.tags,t=>es(t)?t.typeParameters:void 0);if(e.typeParameters||t7(e)&&e.typeParameters)return e.typeParameters;if(Vt(e)){let t=y3(e);if(t.length)return t;let n=bm(e);if(n&&Gl(n)&&n.typeParameters)return n.typeParameters}return Xe}function Tk(e){return e.constraint?e.constraint:es(e.parent)&&e===e.parent.typeParameters[0]?e.parent.constraint:void 0}function $a(e){return e.kind===80||e.kind===81}function xk(e){return e.kind===177||e.kind===176}function dx(e){return Rn(e)&&!!(e.flags&32)}function fx(e){return ka(e)&&!!(e.flags&32)}function T0(e){return O_(e)&&!!(e.flags&32)}function Ig(e){let t=e.kind;return!!(e.flags&32)&&(t===210||t===211||t===212||t===234)}function Og(e){return Ig(e)&&!qo(e)&&!!e.questionDotToken}function Sk(e){return Og(e.parent)&&e.parent.expression===e}function wk(e){return!Ig(e.parent)||Og(e.parent)||e!==e.parent.expression}function Ek(e){return e.kind===225&&e.operatorToken.kind===61}function mx(e){return I_(e)&&Ce(e.typeName)&&e.typeName.escapedText==="const"&&!e.typeArguments}function vm(e){return ds(e,8)}function yx(e){return qo(e)&&!!(e.flags&32)}function Ck(e){return e.kind===251||e.kind===250}function kk(e){return e.kind===279||e.kind===278}function hx(e){switch(e.kind){case 308:case 309:return!0;default:return!1}}function Ak(e){return hx(e)||e.kind===306||e.kind===310}function Mg(e){return e.kind===354||e.kind===347}function Dk(e){return Ol(e.kind)}function Ol(e){return e>=165}function gx(e){return e>=0&&e<=164}function Pk(e){return gx(e.kind)}function ua(e){return Xn(e,"pos")&&Xn(e,"end")}function Lg(e){return 9<=e&&e<=15}function Jg(e){return Lg(e.kind)}function Nk(e){switch(e.kind){case 209:case 208:case 14:case 217:case 230:return!0}return!1}function fl(e){return 15<=e&&e<=18}function Ik(e){return fl(e.kind)}function Ok(e){let t=e.kind;return t===17||t===18}function Mk(e){return D8(e)||N8(e)}function bx(e){switch(e.kind){case 275:return e.isTypeOnly||e.parent.parent.isTypeOnly;case 273:return e.parent.isTypeOnly;case 272:case 270:return e.isTypeOnly}return!1}function vx(e){switch(e.kind){case 280:return e.isTypeOnly||e.parent.parent.isTypeOnly;case 277:return e.isTypeOnly&&!!e.moduleSpecifier&&!e.exportClause;case 279:return e.parent.isTypeOnly}return!1}function Lk(e){return bx(e)||vx(e)}function Jk(e){return cr(e)||Ce(e)}function Rk(e){return e.kind===11||fl(e.kind)}function ma(e){var t;return Ce(e)&&((t=e.emitNode)==null?void 0:t.autoGenerate)!==void 0}function Rg(e){var t;return Ln(e)&&((t=e.emitNode)==null?void 0:t.autoGenerate)!==void 0}function Tx(e){return(os(e)||Bg(e))&&Ln(e.name)}function Fk(e){return Rn(e)&&Ln(e.name)}function yi(e){switch(e){case 128:case 129:case 134:case 87:case 138:case 90:case 95:case 103:case 125:case 123:case 124:case 148:case 126:case 147:case 163:return!0}return!1}function xx(e){return!!(j2(e)&16476)}function Sx(e){return xx(e)||e===126||e===163||e===129}function Fg(e){return yi(e.kind)}function jk(e){let t=e.kind;return t===165||t===80}function Ml(e){let t=e.kind;return t===80||t===81||t===11||t===9||t===166}function Bk(e){let t=e.kind;return t===80||t===205||t===206}function Wi(e){return!!e&&jg(e.kind)}function Tm(e){return!!e&&(jg(e.kind)||Hl(e))}function wx(e){return e&&Ex(e.kind)}function Uk(e){return e.kind===112||e.kind===97}function Ex(e){switch(e){case 261:case 173:case 175:case 176:case 177:case 217:case 218:return!0;default:return!1}}function jg(e){switch(e){case 172:case 178:case 329:case 179:case 180:case 183:case 323:case 184:return!0;default:return Ex(e)}}function qk(e){return $r(e)||A8(e)||Yl(e)&&Wi(e.parent)}function Qa(e){let t=e.kind;return t===175||t===171||t===173||t===176||t===177||t===180||t===174||t===239}function Hr(e){return e&&(e.kind===262||e.kind===230)}function xm(e){return e&&(e.kind===176||e.kind===177)}function Cx(e){return os(e)&&x3(e)}function Bg(e){switch(e.kind){case 173:case 176:case 177:return!0;default:return!1}}function zk(e){switch(e.kind){case 173:case 176:case 177:case 171:return!0;default:return!1}}function Qd(e){return Fg(e)||zl(e)}function Ug(e){let t=e.kind;return t===179||t===178||t===170||t===172||t===180||t===176||t===177}function Wk(e){return Ug(e)||Qa(e)}function qg(e){let t=e.kind;return t===302||t===303||t===304||t===173||t===176||t===177}function x0(e){return H3(e.kind)}function Vk(e){switch(e.kind){case 183:case 184:return!0}return!1}function Sm(e){if(e){let t=e.kind;return t===206||t===205}return!1}function kx(e){let t=e.kind;return t===208||t===209}function Hk(e){let t=e.kind;return t===207||t===231}function zg(e){switch(e.kind){case 259:case 168:case 207:return!0}return!1}function Kk(e){return Ei(e)||io(e)||Dx(e)||Nx(e)}function Gk(e){return Ax(e)||Px(e)}function Ax(e){switch(e.kind){case 205:case 209:return!0}return!1}function Dx(e){switch(e.kind){case 207:case 302:case 303:case 304:return!0}return!1}function Px(e){switch(e.kind){case 206:case 208:return!0}return!1}function Nx(e){switch(e.kind){case 207:case 231:case 229:case 208:case 209:case 80:case 210:case 211:return!0}return Sa(e,!0)}function Xk(e){let t=e.kind;return t===210||t===165||t===204}function $k(e){let t=e.kind;return t===210||t===165}function Qk(e){switch(e.kind){case 285:case 284:case 212:case 213:case 214:case 169:return!0;default:return!1}}function Yk(e){return e.kind===212||e.kind===213}function Zk(e){let t=e.kind;return t===227||t===15}function jo(e){return Ix(vm(e).kind)}function Ix(e){switch(e){case 210:case 211:case 213:case 212:case 283:case 284:case 287:case 214:case 208:case 216:case 209:case 230:case 217:case 80:case 81:case 14:case 9:case 10:case 11:case 15:case 227:case 97:case 106:case 110:case 112:case 108:case 234:case 232:case 235:case 102:case 281:return!0;default:return!1}}function Ox(e){return Mx(vm(e).kind)}function Mx(e){switch(e){case 223:case 224:case 219:case 220:case 221:case 222:case 215:return!0;default:return Ix(e)}}function eA(e){switch(e.kind){case 224:return!0;case 223:return e.operator===46||e.operator===47;default:return!1}}function tA(e){switch(e.kind){case 106:case 112:case 97:case 223:return!0;default:return Jg(e)}}function wm(e){return nA(vm(e).kind)}function nA(e){switch(e){case 226:case 228:case 218:case 225:case 229:case 233:case 231:case 360:case 359:case 237:return!0;default:return Mx(e)}}function rA(e){let t=e.kind;return t===215||t===233}function iA(e){return Pb(e)||E8(e)}function Lx(e,t){switch(e.kind){case 247:case 248:case 249:case 245:case 246:return!0;case 255:return t&&Lx(e.statement,t)}return!1}function Jx(e){return ls(e)||L_(e)}function aA(e){return ft(e,Jx)}function oA(e){return!Dm(e)&&!ls(e)&&!gn(e,1)&&!km(e)}function sA(e){return Dm(e)||ls(e)||gn(e,1)}function _A(e){return e.kind===248||e.kind===249}function cA(e){return Yl(e)||wm(e)}function lA(e){return Yl(e)}function uA(e){return Sb(e)||wm(e)}function pA(e){let t=e.kind;return t===267||t===266||t===80}function dA(e){let t=e.kind;return t===267||t===266}function fA(e){let t=e.kind;return t===80||t===266}function mA(e){let t=e.kind;return t===274||t===273}function yA(e){return e.kind===266||e.kind===265}function hA(e){switch(e.kind){case 218:case 225:case 207:case 212:case 178:case 262:case 230:case 174:case 175:case 184:case 179:case 211:case 265:case 305:case 276:case 277:case 280:case 261:case 217:case 183:case 176:case 80:case 272:case 270:case 275:case 180:case 263:case 344:case 346:case 323:case 347:case 354:case 329:case 352:case 328:case 290:case 291:case 292:case 199:case 173:case 172:case 266:case 201:case 279:case 269:case 273:case 213:case 15:case 9:case 209:case 168:case 210:case 302:case 171:case 170:case 177:case 303:case 311:case 304:case 11:case 264:case 186:case 167:case 259:return!0;default:return!1}}function gA(e){switch(e.kind){case 218:case 240:case 178:case 268:case 298:case 174:case 193:case 175:case 184:case 179:case 247:case 248:case 249:case 261:case 217:case 183:case 176:case 180:case 344:case 346:case 323:case 329:case 352:case 199:case 173:case 172:case 266:case 177:case 311:case 264:return!0;default:return!1}}function bA(e){return e===218||e===207||e===262||e===230||e===174||e===175||e===265||e===305||e===280||e===261||e===217||e===176||e===272||e===270||e===275||e===263||e===290||e===173||e===172||e===266||e===269||e===273||e===279||e===168||e===302||e===171||e===170||e===177||e===303||e===264||e===167||e===259||e===352||e===344||e===354}function Wg(e){return e===261||e===281||e===262||e===263||e===264||e===265||e===266||e===271||e===270||e===277||e===276||e===269}function Vg(e){return e===251||e===250||e===258||e===245||e===243||e===241||e===248||e===249||e===247||e===244||e===255||e===252||e===254||e===256||e===257||e===242||e===246||e===253||e===358}function $o(e){return e.kind===167?e.parent&&e.parent.kind!==351||Vt(e):bA(e.kind)}function vA(e){return Wg(e.kind)}function TA(e){return Vg(e.kind)}function Rx(e){let t=e.kind;return Vg(t)||Wg(t)||xA(e)}function xA(e){return e.kind!==240||e.parent!==void 0&&(e.parent.kind===257||e.parent.kind===298)?!1:!u4(e)}function Fx(e){let t=e.kind;return Vg(t)||Wg(t)||t===240}function SA(e){let t=e.kind;return t===282||t===165||t===80}function wA(e){let t=e.kind;return t===110||t===80||t===210||t===294}function jx(e){let t=e.kind;return t===283||t===293||t===284||t===12||t===287}function EA(e){let t=e.kind;return t===290||t===292}function CA(e){let t=e.kind;return t===11||t===293}function Bx(e){let t=e.kind;return t===285||t===284}function kA(e){let t=e.kind;return t===295||t===296}function Hg(e){return e.kind>=315&&e.kind<=356}function Ux(e){return e.kind===326||e.kind===325||e.kind===327||rl(e)||Kg(e)||Ob(e)||nu(e)}function Kg(e){return e.kind>=333&&e.kind<=356}function Vc(e){return e.kind===177}function Hc(e){return e.kind===176}function Ui(e){if(!Om(e))return!1;let{jsDoc:t}=e;return!!t&&t.length>0}function AA(e){return!!e.type}function qx(e){return!!e.initializer}function DA(e){switch(e.kind){case 259:case 168:case 207:case 171:case 302:case 305:return!0;default:return!1}}function S0(e){return e.kind===290||e.kind===292||qg(e)}function PA(e){return e.kind===182||e.kind===232}function NA(e){let t=w0;for(let n of e){if(!n.length)continue;let i=0;for(;in.kind===t)}function JA(e){let t=new Map;if(e)for(let n of e)t.set(n.escapedName,n);return t}function E0(e){return(e.flags&33554432)!==0}function RA(){var e="";let t=n=>e+=n;return{getText:()=>e,write:t,rawWrite:t,writeKeyword:t,writeOperator:t,writePunctuation:t,writeSpace:t,writeStringLiteral:t,writeLiteral:t,writeParameter:t,writeProperty:t,writeSymbol:(n,i)=>t(n),writeTrailingSemicolon:t,writeComment:t,getTextPos:()=>e.length,getLine:()=>0,getColumn:()=>0,getIndent:()=>0,isAtStartOfLine:()=>!1,hasTrailingComment:()=>!1,hasTrailingWhitespace:()=>!!e.length&&qi(e.charCodeAt(e.length-1)),writeLine:()=>e+=" ",increaseIndent:Nr,decreaseIndent:Nr,clear:()=>e=""}}function FA(e,t){return e.configFilePath!==t.configFilePath||Wx(e,t)}function Wx(e,t){return T_(e,t,moduleResolutionOptionDeclarations)}function jA(e,t){return T_(e,t,optionsAffectingProgramStructure)}function T_(e,t,n){return e!==t&&n.some(i=>!Y2(U0(e,i),U0(t,i)))}function BA(e,t){for(;;){let n=t(e);if(n==="quit")return;if(n!==void 0)return n;if($r(e))return;e=e.parent}}function UA(e,t){let n=e.entries();for(let[i,s]of n){let l=t(s,i);if(l)return l}}function qA(e,t){let n=e.keys();for(let i of n){let s=t(i);if(s)return s}}function zA(e,t){e.forEach((n,i)=>{t.set(i,n)})}function WA(e){let t=$s.getText();try{return e($s),$s.getText()}finally{$s.clear(),$s.writeKeyword(t)}}function Em(e){return e.end-e.pos}function VA(e,t,n){var i,s;return(s=(i=e==null?void 0:e.resolvedModules)==null?void 0:i.get(t,n))==null?void 0:s.resolvedModule}function HA(e,t,n,i){e.resolvedModules||(e.resolvedModules=createModeAwareCache()),e.resolvedModules.set(t,i,n)}function KA(e,t,n,i){e.resolvedTypeReferenceDirectiveNames||(e.resolvedTypeReferenceDirectiveNames=createModeAwareCache()),e.resolvedTypeReferenceDirectiveNames.set(t,i,n)}function GA(e,t,n){var i,s;return(s=(i=e==null?void 0:e.resolvedTypeReferenceDirectiveNames)==null?void 0:i.get(t,n))==null?void 0:s.resolvedTypeReferenceDirective}function XA(e,t){return e.path===t.path&&!e.prepend==!t.prepend&&!e.circular==!t.circular}function $A(e,t){return e===t||e.resolvedModule===t.resolvedModule||!!e.resolvedModule&&!!t.resolvedModule&&e.resolvedModule.isExternalLibraryImport===t.resolvedModule.isExternalLibraryImport&&e.resolvedModule.extension===t.resolvedModule.extension&&e.resolvedModule.resolvedFileName===t.resolvedModule.resolvedFileName&&e.resolvedModule.originalPath===t.resolvedModule.originalPath&&YA(e.resolvedModule.packageId,t.resolvedModule.packageId)&&e.node10Result===t.node10Result}function QA(e,t,n,i,s){var l,d;let y=(d=(l=e.resolvedModules)==null?void 0:l.get(n,i))==null?void 0:d.node10Result,p=y?Kc(void 0,K.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,y,y.indexOf(nodeModulesPathPart+"@types/")>-1?`@types/${mangleScopedPackageName(s)}`:s):t.typesPackageExists(s)?Kc(void 0,K.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,mangleScopedPackageName(s)):t.packageBundlesTypes(s)?Kc(void 0,K.If_the_0_package_actually_exposes_this_module_try_adding_a_new_declaration_d_ts_file_containing_declare_module_1,s,n):Kc(void 0,K.Try_npm_i_save_dev_types_Slash_1_if_it_exists_or_add_a_new_declaration_d_ts_file_containing_declare_module_0,n,mangleScopedPackageName(s));return p&&(p.repopulateInfo=()=>({moduleReference:n,mode:i,packageName:s===n?void 0:s})),p}function YA(e,t){return e===t||!!e&&!!t&&e.name===t.name&&e.subModuleName===t.subModuleName&&e.version===t.version}function Vx({name:e,subModuleName:t}){return t?`${e}/${t}`:e}function ZA(e){return`${Vx(e)}@${e.version}`}function eD(e,t){return e===t||e.resolvedTypeReferenceDirective===t.resolvedTypeReferenceDirective||!!e.resolvedTypeReferenceDirective&&!!t.resolvedTypeReferenceDirective&&e.resolvedTypeReferenceDirective.resolvedFileName===t.resolvedTypeReferenceDirective.resolvedFileName&&!!e.resolvedTypeReferenceDirective.primary==!!t.resolvedTypeReferenceDirective.primary&&e.resolvedTypeReferenceDirective.originalPath===t.resolvedTypeReferenceDirective.originalPath}function tD(e,t,n,i,s,l){M.assert(e.length===n.length);for(let d=0;d=0),xa(t)[e]}function sD(e){let t=Kr(e),n=Xa(t,e.pos);return`${t.fileName}(${n.line+1},${n.character+1})`}function Hx(e,t){M.assert(e>=0);let n=xa(t),i=e,s=t.text;if(i+1===n.length)return s.length-1;{let l=n[i],d=n[i+1]-1;for(M.assert(mn(s.charCodeAt(d)));l<=d&&mn(s.charCodeAt(d));)d--;return d}}function Kx(e,t,n){return!(n&&n(t))&&!e.identifiers.has(t)}function Bi(e){return e===void 0?!0:e.pos===e.end&&e.pos>=0&&e.kind!==1}function yl(e){return!Bi(e)}function _D(e,t){return Jo(e)?t===e.expression:Hl(e)?t===e.modifiers:Wl(e)?t===e.initializer:os(e)?t===e.questionToken&&Cx(e):us(e)?t===e.modifiers||t===e.questionToken||t===e.exclamationToken||Ws(e.modifiers,t,Qd):tu(e)?t===e.equalsToken||t===e.modifiers||t===e.questionToken||t===e.exclamationToken||Ws(e.modifiers,t,Qd):Vl(e)?t===e.exclamationToken:P_(e)?t===e.typeParameters||t===e.type||Ws(e.typeParameters,t,Jo):Kl(e)?t===e.typeParameters||Ws(e.typeParameters,t,Jo):N_(e)?t===e.typeParameters||t===e.type||Ws(e.typeParameters,t,Jo):Cb(e)?t===e.modifiers||Ws(e.modifiers,t,Qd):!1}function Ws(e,t,n){return!e||Wt(t)||!n(t)?!1:ns(e,t)}function Gx(e,t,n){if(t===void 0||t.length===0)return e;let i=0;for(;i[`${Xa(e,d.range.end).line}`,d])),i=new Map;return{getUnusedExpectations:s,markUsed:l};function s(){return tm(n.entries()).filter(([d,y])=>y.type===0&&!i.get(d)).map(([d,y])=>y)}function l(d){return n.has(`${d}`)?(i.set(`${d}`,!0),!0):!1}}function Qo(e,t,n){return Bi(e)?e.pos:Hg(e)||e.kind===12?It((t||Kr(e)).text,e.pos,!1,!0):n&&Ui(e)?Qo(e.jsDoc[0],t):e.kind===357&&e._children.length>0?Qo(e._children[0],t,n):It((t||Kr(e)).text,e.pos,!1,!1,b4(e))}function mD(e,t){let n=!Bi(e)&&R_(e)?sg(e.modifiers,zl):void 0;return n?It((t||Kr(e)).text,n.end):Qo(e,t)}function Yo(e,t,n=!1){return Ys(e.text,t,n)}function yD(e){return!!Xr(e,L8)}function Yx(e){return!!(L_(e)&&e.exportClause&&Ym(e.exportClause)&&e.exportClause.name.escapedText==="default")}function Ys(e,t,n=!1){if(Bi(t))return"";let i=e.substring(n?t.pos:It(e,t.pos),t.end);return yD(t)&&(i=i.split(/\r\n|\n|\r/).map(s=>ll(s.replace(/^\s*\*/,""))).join(` -`)),i}function Cm(e,t=!1){return Yo(Kr(e),e,t)}function hD(e){return e.pos}function gD(e,t){return El(e,t,hD,wn)}function Vr(e){let t=e.emitNode;return t&&t.flags||0}function bD(e){let t=e.emitNode;return t&&t.internalFlags||0}function vD(e,t,n){if(t&&TD(e,n))return Yo(t,e);switch(e.kind){case 11:{let i=n&2?a3:n&1||Vr(e)&16777216?Ff:jf;return e.singleQuote?"'"+i(e.text,39)+"'":'"'+i(e.text,34)+'"'}case 15:case 16:case 17:case 18:{let i=n&1||Vr(e)&16777216?Ff:jf,s=e.rawText??YN(i(e.text,96));switch(e.kind){case 15:return"`"+s+"`";case 16:return"`"+s+"${";case 17:return"}"+s+"${";case 18:return"}"+s+"`"}break}case 9:case 10:return e.text;case 14:return n&4&&e.isUnterminated?e.text+(e.text.charCodeAt(e.text.length-1)===92?" /":"/"):e.text}return M.fail(`Literal kind '${e.kind}' not accounted for.`)}function TD(e,t){if(pa(e)||!e.parent||t&4&&e.isUnterminated)return!1;if(ro(e)){if(e.numericLiteralFlags&26656)return!1;if(e.numericLiteralFlags&512)return!!(t&8)}return!cb(e)}function xD(e){return m_(e)?'"'+jf(e)+'"':""+e}function SD(e){return h_(e).replace(/^(\d)/,"_$1").replace(/\W/g,"_")}function wD(e){return(fm(e)&3)!==0||Zx(e)}function Zx(e){let t=Lm(e);return t.kind===259&&t.parent.kind===298}function km(e){return Gi(e)&&(e.name.kind===11||Am(e))}function ED(e){return Gi(e)&&e.name.kind===11}function CD(e){return Gi(e)&&cr(e.name)}function e4(e){return Gi(e)||Ce(e)}function kD(e){return AD(e.valueDeclaration)}function AD(e){return!!e&&e.kind===266&&!e.body}function DD(e){return e.kind===311||e.kind===266||Tm(e)}function Am(e){return!!(e.flags&1024)}function $g(e){return km(e)&&t4(e)}function t4(e){switch(e.parent.kind){case 311:return ts(e.parent);case 267:return km(e.parent.parent)&&$r(e.parent.parent.parent)&&!ts(e.parent.parent.parent)}return!1}function n4(e){var t;return(t=e.declarations)==null?void 0:t.find(n=>!$g(n)&&!(Gi(n)&&Am(n)))}function PD(e){return e===1||e===100||e===199}function Qg(e,t){return ts(e)||PD(Gr(t))&&!!e.commonJsModuleIndicator}function ND(e,t){switch(e.scriptKind){case 1:case 3:case 2:case 4:break;default:return!1}return e.isDeclarationFile?!1:K2(t,"alwaysStrict")||K8(e.statements)?!0:ts(e)||z2(t)?Gr(t)>=5?!0:!t.noImplicitUseStrict:!1}function ID(e){return!!(e.flags&16777216)||gn(e,2)}function r4(e,t){switch(e.kind){case 311:case 268:case 298:case 266:case 247:case 248:case 249:case 175:case 173:case 176:case 177:case 261:case 217:case 218:case 171:case 174:return!0;case 240:return!Tm(t)}return!1}function OD(e){switch(M.type(e),e.kind){case 344:case 352:case 329:return!0;default:return i4(e)}}function i4(e){switch(M.type(e),e.kind){case 178:case 179:case 172:case 180:case 183:case 184:case 323:case 262:case 230:case 263:case 264:case 351:case 261:case 173:case 175:case 176:case 177:case 217:case 218:return!0;default:return!1}}function Yg(e){switch(e.kind){case 271:case 270:return!0;default:return!1}}function MD(e){return Yg(e)||Nm(e)}function LD(e){switch(e.kind){case 271:case 270:case 242:case 262:case 261:case 266:case 264:case 263:case 265:return!0;default:return!1}}function JD(e){return Dm(e)||Gi(e)||Xl(e)||i2(e)}function Dm(e){return Yg(e)||L_(e)}function C0(e){return Xr(e.parent,t=>r4(t,t.parent))}function RD(e,t){let n=C0(e);for(;n;)t(n),n=C0(n)}function a4(e){return!e||Em(e)===0?"(Missing)":Cm(e)}function FD(e){return e.declaration?a4(e.declaration.parameters[0].name):void 0}function jD(e){return e.kind===166&&!Ki(e.expression)}function Zg(e){var t;switch(e.kind){case 80:case 81:return(t=e.emitNode)!=null&&t.autoGenerate?void 0:e.escapedText;case 11:case 9:case 15:return Ur(e.text);case 166:return Ki(e.expression)?Ur(e.expression.text):void 0;case 294:return Ul(e);default:return M.assertNever(e)}}function BD(e){return M.checkDefined(Zg(e))}function hi(e){switch(e.kind){case 110:return"this";case 81:case 80:return Em(e)===0?Ot(e):Cm(e);case 165:return hi(e.left)+"."+hi(e.right);case 210:return Ce(e.name)||Ln(e.name)?hi(e.expression)+"."+hi(e.name):M.assertNever(e.name);case 317:return hi(e.left)+hi(e.right);case 294:return hi(e.namespace)+":"+hi(e.name);default:return M.assertNever(e)}}function UD(e,t,...n){let i=Kr(e);return o4(i,e,t,...n)}function qD(e,t,n,...i){let s=It(e.text,t.pos);return U2(e,s,t.end-s,n,...i)}function o4(e,t,n,...i){let s=n2(e,t);return U2(e,s.start,s.length,n,...i)}function zD(e,t,n,i){let s=n2(e,t);return t2(e,s.start,s.length,n,i)}function WD(e,t,n,i){let s=It(e.text,t.pos);return t2(e,s,t.end-s,n,i)}function e2(e,t,n){M.assertGreaterThanOrEqual(t,0),M.assertGreaterThanOrEqual(n,0),e&&(M.assertLessThanOrEqual(t,e.text.length),M.assertLessThanOrEqual(t+n,e.text.length))}function t2(e,t,n,i,s){return e2(e,t,n),{file:e,start:t,length:n,code:i.code,category:i.category,messageText:i.next?i:i.messageText,relatedInformation:s}}function VD(e,t,n){return{file:e,start:0,length:0,code:t.code,category:t.category,messageText:t.next?t:t.messageText,relatedInformation:n}}function HD(e){return typeof e.messageText=="string"?{code:e.code,category:e.category,messageText:e.messageText,next:e.next}:e.messageText}function KD(e,t,n){return{file:e,start:t.pos,length:t.end-t.pos,code:n.code,category:n.category,messageText:n.message}}function Gs(e,t){let n=as(e.languageVersion,!0,e.languageVariant,e.text,void 0,t);n.scan();let i=n.getTokenStart();return zi(i,n.getTokenEnd())}function GD(e,t){let n=as(e.languageVersion,!0,e.languageVariant,e.text,void 0,t);return n.scan(),n.getToken()}function XD(e,t){let n=It(e.text,t.pos);if(t.body&&t.body.kind===240){let{line:i}=Xa(e,t.body.pos),{line:s}=Xa(e,t.body.end);if(i0?t.statements[0].pos:t.end;return zi(l,d)}case 252:case 228:{let l=It(e.text,t.pos);return Gs(e,l)}case 237:{let l=It(e.text,t.expression.end);return Gs(e,l)}case 356:{let l=It(e.text,t.tagName.pos);return Gs(e,l)}}if(n===void 0)return Gs(e,t.pos);M.assert(!ps(n));let i=Bi(n),s=i||Hf(t)?n.pos:It(e.text,n.pos);return i?(M.assert(s===n.pos,"This failure could trigger https://github.com/Microsoft/TypeScript/issues/20809"),M.assert(s===n.end,"This failure could trigger https://github.com/Microsoft/TypeScript/issues/20809")):(M.assert(s>=n.pos,"This failure could trigger https://github.com/Microsoft/TypeScript/issues/20809"),M.assert(s<=n.end,"This failure could trigger https://github.com/Microsoft/TypeScript/issues/20809")),zi(s,n.end)}function $D(e){return(e.externalModuleIndicator||e.commonJsModuleIndicator)!==void 0}function r2(e){return e.scriptKind===6}function QD(e){return!!(dm(e)&2048)}function YD(e){return!!(dm(e)&64&&!qT(e,e.parent))}function s4(e){return!!(fm(e)&2)}function ZD(e){return!!(fm(e)&1)}function eP(e){return e.kind===212&&e.expression.kind===108}function i2(e){return e.kind===212&&e.expression.kind===102}function k0(e){return xb(e)&&e.keywordToken===102&&e.name.escapedText==="meta"}function _4(e){return Xl(e)&&gb(e.argument)&&cr(e.argument.literal)}function ha(e){return e.kind===243&&e.expression.kind===11}function Pm(e){return!!(Vr(e)&2097152)}function A0(e){return Pm(e)&&cs(e)}function tP(e){return Ce(e.name)&&!e.initializer}function D0(e){return Pm(e)&&_s(e)&&eo(e.declarationList.declarations,tP)}function nP(e,t){return e.kind!==12?Go(t.text,e.pos):void 0}function c4(e,t){let n=e.kind===168||e.kind===167||e.kind===217||e.kind===218||e.kind===216||e.kind===259||e.kind===280?d_(wT(t,e.pos),Go(t,e.pos)):Go(t,e.pos);return Gn(n,i=>t.charCodeAt(i.pos+1)===42&&t.charCodeAt(i.pos+2)===42&&t.charCodeAt(i.pos+3)!==47)}function a2(e){if(181<=e.kind&&e.kind<=204)return!0;switch(e.kind){case 133:case 159:case 150:case 162:case 154:case 136:case 155:case 151:case 157:case 106:case 146:return!0;case 116:return e.parent.kind!==221;case 232:return Sl(e.parent)&&!R0(e);case 167:return e.parent.kind===199||e.parent.kind===194;case 80:(e.parent.kind===165&&e.parent.right===e||e.parent.kind===210&&e.parent.name===e)&&(e=e.parent),M.assert(e.kind===80||e.kind===165||e.kind===210,"'node' was expected to be a qualified name, identifier or property access in 'isPartOfTypeNode'.");case 165:case 210:case 110:{let{parent:t}=e;if(t.kind===185)return!1;if(t.kind===204)return!t.isTypeOf;if(181<=t.kind&&t.kind<=204)return!0;switch(t.kind){case 232:return Sl(t.parent)&&!R0(t);case 167:return e===t.constraint;case 351:return e===t.constraint;case 171:case 170:case 168:case 259:return e===t.type;case 261:case 217:case 218:case 175:case 173:case 172:case 176:case 177:return e===t.type;case 178:case 179:case 180:return e===t.type;case 215:return e===t.type;case 212:case 213:case 214:return ns(t.typeArguments,e)}}}return!1}function rP(e,t){for(;e;){if(e.kind===t)return!0;e=e.parent}return!1}function iP(e,t){return n(e);function n(i){switch(i.kind){case 252:return t(i);case 268:case 240:case 244:case 245:case 246:case 247:case 248:case 249:case 253:case 254:case 295:case 296:case 255:case 257:case 298:return qt(i,n)}}}function aP(e,t){return n(e);function n(i){switch(i.kind){case 228:t(i);let s=i.expression;s&&n(s);return;case 265:case 263:case 266:case 264:return;default:if(Wi(i)){if(i.name&&i.name.kind===166){n(i.name.expression);return}}else a2(i)||qt(i,n)}}}function oP(e){return e&&e.kind===187?e.elementType:e&&e.kind===182?Zf(e.typeArguments):void 0}function sP(e){switch(e.kind){case 263:case 262:case 230:case 186:return e.members;case 209:return e.properties}}function o2(e){if(e)switch(e.kind){case 207:case 305:case 168:case 302:case 171:case 170:case 303:case 259:return!0}return!1}function _P(e){return o2(e)||xm(e)}function l4(e){return e.parent.kind===260&&e.parent.parent.kind===242}function cP(e){return Vt(e)?ao(e.parent)&&St(e.parent.parent)&&Ca(e.parent.parent)===2||s2(e.parent):!1}function s2(e){return Vt(e)?St(e)&&Ca(e)===1:!1}function lP(e){return(Ei(e)?s4(e)&&Ce(e.name)&&l4(e):os(e)?J0(e)&&Rm(e):Wl(e)&&J0(e))||s2(e)}function uP(e){switch(e.kind){case 173:case 172:case 175:case 176:case 177:case 261:case 217:return!0}return!1}function pP(e,t){for(;;){if(t&&t(e),e.statement.kind!==255)return e.statement;e=e.statement}}function u4(e){return e&&e.kind===240&&Wi(e.parent)}function dP(e){return e&&e.kind===173&&e.parent.kind===209}function fP(e){return(e.kind===173||e.kind===176||e.kind===177)&&(e.parent.kind===209||e.parent.kind===230)}function mP(e){return e&&e.kind===1}function yP(e){return e&&e.kind===0}function _2(e,t,n,i){return hn(e==null?void 0:e.properties,s=>{if(!us(s))return;let l=Zg(s.name);return t===l||i&&i===l?n(s):void 0})}function hP(e,t,n){return _2(e,t,i=>Ql(i.initializer)?$n(i.initializer.elements,s=>cr(s)&&s.text===n):void 0)}function p4(e){if(e&&e.statements.length){let t=e.statements[0].expression;return Ar(t,ao)}}function gP(e,t,n){return d4(e,t,i=>Ql(i.initializer)?$n(i.initializer.elements,s=>cr(s)&&s.text===n):void 0)}function d4(e,t,n){return _2(p4(e),t,n)}function bP(e){return Xr(e.parent,Wi)}function vP(e){return Xr(e.parent,wx)}function TP(e){return Xr(e.parent,Hr)}function xP(e){return Xr(e.parent,t=>Hr(t)||Wi(t)?"quit":Hl(t))}function SP(e){return Xr(e.parent,Tm)}function c2(e,t,n){for(M.assert(e.kind!==311);;){if(e=e.parent,!e)return M.fail();switch(e.kind){case 166:if(n&&Hr(e.parent.parent))return e;e=e.parent.parent;break;case 169:e.parent.kind===168&&Qa(e.parent.parent)?e=e.parent.parent:Qa(e.parent)&&(e=e.parent);break;case 218:if(!t)continue;case 261:case 217:case 266:case 174:case 171:case 170:case 173:case 172:case 175:case 176:case 177:case 178:case 179:case 180:case 265:case 311:return e}}}function wP(e){switch(e.kind){case 218:case 261:case 217:case 171:return!0;case 240:switch(e.parent.kind){case 175:case 173:case 176:case 177:return!0;default:return!1}default:return!1}}function EP(e){Ce(e)&&(u_(e.parent)||cs(e.parent))&&e.parent.name===e&&(e=e.parent);let t=c2(e,!0,!1);return $r(t)}function CP(e){let t=c2(e,!1,!1);if(t)switch(t.kind){case 175:case 261:case 217:return t}}function kP(e,t){for(;;){if(e=e.parent,!e)return;switch(e.kind){case 166:e=e.parent;break;case 261:case 217:case 218:if(!t)continue;case 171:case 170:case 173:case 172:case 175:case 176:case 177:case 174:return e;case 169:e.parent.kind===168&&Qa(e.parent.parent)?e=e.parent.parent:Qa(e.parent)&&(e=e.parent);break}}}function AP(e){if(e.kind===217||e.kind===218){let t=e,n=e.parent;for(;n.kind===216;)t=n,n=n.parent;if(n.kind===212&&n.expression===t)return n}}function DP(e){return e.kind===108||Lf(e)}function Lf(e){let t=e.kind;return(t===210||t===211)&&e.expression.kind===108}function PP(e){let t=e.kind;return(t===210||t===211)&&e.expression.kind===110}function NP(e){var t;return!!e&&Ei(e)&&((t=e.initializer)==null?void 0:t.kind)===110}function IP(e){return!!e&&(tu(e)||us(e))&&St(e.parent.parent)&&e.parent.parent.operatorToken.kind===64&&e.parent.parent.right.kind===110}function OP(e){switch(e.kind){case 182:return e.typeName;case 232:return no(e.expression)?e.expression:void 0;case 80:case 165:return e}}function MP(e){switch(e.kind){case 214:return e.tag;case 285:case 284:return e.tagName;default:return e.expression}}function f4(e,t,n,i){if(e&&mm(t)&&Ln(t.name))return!1;switch(t.kind){case 262:return!0;case 230:return!e;case 171:return n!==void 0&&(e?u_(n):Hr(n)&&!v3(t)&&!T3(t));case 176:case 177:case 173:return t.body!==void 0&&n!==void 0&&(e?u_(n):Hr(n));case 168:return e?n!==void 0&&n.body!==void 0&&(n.kind===175||n.kind===173||n.kind===177)&&f3(n)!==t&&i!==void 0&&i.kind===262:!1}return!1}function s_(e,t,n,i){return gl(t)&&f4(e,t,n,i)}function P0(e,t,n,i){return s_(e,t,n,i)||l2(e,t,n)}function l2(e,t,n){switch(t.kind){case 262:return ft(t.members,i=>P0(e,i,t,n));case 230:return!e&&ft(t.members,i=>P0(e,i,t,n));case 173:case 177:case 175:return ft(t.parameters,i=>s_(e,i,t,n));default:return!1}}function LP(e,t){if(s_(e,t))return!0;let n=d3(t);return!!n&&l2(e,n,t)}function JP(e,t,n){let i;if(xm(t)){let{firstAccessor:s,secondAccessor:l,setAccessor:d}=O2(n.members,t),y=gl(s)?s:l&&gl(l)?l:void 0;if(!y||t!==y)return!1;i=d==null?void 0:d.parameters}else Vl(t)&&(i=t.parameters);if(s_(e,t,n))return!0;if(i){for(let s of i)if(!jl(s)&&s_(e,s,t,n))return!0}return!1}function m4(e){if(e.textSourceNode){switch(e.textSourceNode.kind){case 11:return m4(e.textSourceNode);case 15:return e.text===""}return!1}return e.text===""}function Yd(e){let{parent:t}=e;return t.kind===285||t.kind===284||t.kind===286?t.tagName===e:!1}function u2(e){switch(e.kind){case 108:case 106:case 112:case 97:case 14:case 208:case 209:case 210:case 211:case 212:case 213:case 214:case 233:case 215:case 237:case 234:case 216:case 217:case 230:case 218:case 221:case 219:case 220:case 223:case 224:case 225:case 226:case 229:case 227:case 231:case 283:case 284:case 287:case 228:case 222:case 235:return!0;case 232:return!Sl(e.parent)&&!t1(e.parent);case 165:for(;e.parent.kind===165;)e=e.parent;return e.parent.kind===185||rl(e.parent)||_f(e.parent)||Zs(e.parent)||Yd(e);case 317:for(;Zs(e.parent);)e=e.parent;return e.parent.kind===185||rl(e.parent)||_f(e.parent)||Zs(e.parent)||Yd(e);case 81:return St(e.parent)&&e.parent.left===e&&e.parent.operatorToken.kind===103;case 80:if(e.parent.kind===185||rl(e.parent)||_f(e.parent)||Zs(e.parent)||Yd(e))return!0;case 9:case 10:case 11:case 15:case 110:return y4(e);default:return!1}}function y4(e){let{parent:t}=e;switch(t.kind){case 259:case 168:case 171:case 170:case 305:case 302:case 207:return t.initializer===e;case 243:case 244:case 245:case 246:case 252:case 253:case 254:case 295:case 256:return t.expression===e;case 247:let n=t;return n.initializer===e&&n.initializer.kind!==260||n.condition===e||n.incrementor===e;case 248:case 249:let i=t;return i.initializer===e&&i.initializer.kind!==260||i.expression===e;case 215:case 233:return e===t.expression;case 238:return e===t.expression;case 166:return e===t.expression;case 169:case 293:case 292:case 304:return!0;case 232:return t.expression===e&&!a2(t);case 303:return t.objectAssignmentInitializer===e;case 237:return e===t.expression;default:return u2(t)}}function h4(e){for(;e.kind===165||e.kind===80;)e=e.parent;return e.kind===185}function RP(e){return Ym(e)&&!!e.parent.moduleSpecifier}function g4(e){return e.kind===270&&e.moduleReference.kind===282}function FP(e){return M.assert(g4(e)),e.moduleReference.expression}function jP(e){return Nm(e)&&B2(e.initializer).arguments[0]}function BP(e){return e.kind===270&&e.moduleReference.kind!==282}function p2(e){return Vt(e)}function UP(e){return!Vt(e)}function Vt(e){return!!e&&!!(e.flags&262144)}function qP(e){return!!e&&!!(e.flags&67108864)}function zP(e){return!r2(e)}function b4(e){return!!e&&!!(e.flags&8388608)}function WP(e){return I_(e)&&Ce(e.typeName)&&e.typeName.escapedText==="Object"&&e.typeArguments&&e.typeArguments.length===2&&(e.typeArguments[0].kind===154||e.typeArguments[0].kind===150)}function Ll(e,t){if(e.kind!==212)return!1;let{expression:n,arguments:i}=e;if(n.kind!==80||n.escapedText!=="require"||i.length!==1)return!1;let s=i[0];return!t||qr(s)}function v4(e){return T4(e,!1)}function Nm(e){return T4(e,!0)}function VP(e){return $l(e)&&Nm(e.parent.parent)}function T4(e,t){return Ei(e)&&!!e.initializer&&Ll(t?B2(e.initializer):e.initializer,!0)}function x4(e){return _s(e)&&e.declarationList.declarations.length>0&&eo(e.declarationList.declarations,t=>v4(t))}function HP(e){return e===39||e===34}function KP(e,t){return Yo(t,e).charCodeAt(0)===34}function N0(e){return St(e)||Zo(e)||Ce(e)||O_(e)}function S4(e){return Vt(e)&&e.initializer&&St(e.initializer)&&(e.initializer.operatorToken.kind===57||e.initializer.operatorToken.kind===61)&&e.name&&no(e.name)&&__(e.name,e.initializer.left)?e.initializer.right:e.initializer}function GP(e){let t=S4(e);return t&&x_(t,Bl(e.name))}function XP(e,t){return hn(e.properties,n=>us(n)&&Ce(n.name)&&n.name.escapedText==="value"&&n.initializer&&x_(n.initializer,t))}function $P(e){if(e&&e.parent&&St(e.parent)&&e.parent.operatorToken.kind===64){let t=Bl(e.parent.left);return x_(e.parent.right,t)||QP(e.parent.left,e.parent.right,t)}if(e&&O_(e)&&m2(e)){let t=XP(e.arguments[2],e.arguments[1].text==="prototype");if(t)return t}}function x_(e,t){if(O_(e)){let n=Fl(e.expression);return n.kind===217||n.kind===218?e:void 0}if(e.kind===217||e.kind===230||e.kind===218||ao(e)&&(e.properties.length===0||t))return e}function QP(e,t,n){let i=St(t)&&(t.operatorToken.kind===57||t.operatorToken.kind===61)&&x_(t.right,n);if(i&&__(e,t.left))return i}function YP(e){let t=Ei(e.parent)?e.parent.name:St(e.parent)&&e.parent.operatorToken.kind===64?e.parent.left:void 0;return t&&x_(e.right,Bl(t))&&no(t)&&__(t,e.left)}function ZP(e){if(St(e.parent)){let t=(e.parent.operatorToken.kind===57||e.parent.operatorToken.kind===61)&&St(e.parent.parent)?e.parent.parent:e.parent;if(t.operatorToken.kind===64&&Ce(t.left))return t.left}else if(Ei(e.parent))return e.parent.name}function __(e,t){return O0(e)&&O0(t)?Rf(e)===Rf(t):$a(e)&&Zd(t)&&(t.expression.kind===110||Ce(t.expression)&&(t.expression.escapedText==="window"||t.expression.escapedText==="self"||t.expression.escapedText==="global"))?__(e,C4(t)):Zd(e)&&Zd(t)?Ya(e)===Ya(t)&&__(e.expression,t.expression):!1}function d2(e){for(;Sa(e,!0);)e=e.right;return e}function w4(e){return Ce(e)&&e.escapedText==="exports"}function E4(e){return Ce(e)&&e.escapedText==="module"}function f2(e){return(Rn(e)||Jl(e))&&E4(e.expression)&&Ya(e)==="exports"}function Ca(e){let t=eN(e);return t===5||Vt(e)?t:0}function m2(e){return Ha(e.arguments)===3&&Rn(e.expression)&&Ce(e.expression.expression)&&Ot(e.expression.expression)==="Object"&&Ot(e.expression.name)==="defineProperty"&&Ki(e.arguments[1])&&c_(e.arguments[0],!0)}function Zd(e){return Rn(e)||Jl(e)}function Jl(e){return ka(e)&&Ki(e.argumentExpression)}function S_(e,t){return Rn(e)&&(!t&&e.expression.kind===110||Ce(e.name)&&c_(e.expression,!0))||y2(e,t)}function y2(e,t){return Jl(e)&&(!t&&e.expression.kind===110||no(e.expression)||S_(e.expression,!0))}function c_(e,t){return no(e)||S_(e,t)}function C4(e){return Rn(e)?e.name:e.argumentExpression}function eN(e){if(O_(e)){if(!m2(e))return 0;let t=e.arguments[0];return w4(t)||f2(t)?8:S_(t)&&Ya(t)==="prototype"?9:7}return e.operatorToken.kind!==64||!Zo(e.left)||tN(d2(e))?0:c_(e.left.expression,!0)&&Ya(e.left)==="prototype"&&ao(A4(e))?6:k4(e.left)}function tN(e){return bb(e)&&ro(e.expression)&&e.expression.text==="0"}function Im(e){if(Rn(e))return e.name;let t=Fl(e.argumentExpression);return ro(t)||qr(t)?t:e}function Ya(e){let t=Im(e);if(t){if(Ce(t))return t.escapedText;if(qr(t)||ro(t))return Ur(t.text)}}function k4(e){if(e.expression.kind===110)return 4;if(f2(e))return 2;if(c_(e.expression,!0)){if(Bl(e.expression))return 3;let t=e;for(;!Ce(t.expression);)t=t.expression;let n=t.expression;if((n.escapedText==="exports"||n.escapedText==="module"&&Ya(t)==="exports")&&S_(e))return 1;if(c_(e,!0)||ka(e)&&E2(e))return 5}return 0}function A4(e){for(;St(e.right);)e=e.right;return e.right}function nN(e){return St(e)&&Ca(e)===3}function rN(e){return Vt(e)&&e.parent&&e.parent.kind===243&&(!ka(e)||Jl(e))&&!!gm(e.parent)}function iN(e,t){let{valueDeclaration:n}=e;(!n||!(t.flags&16777216&&!Vt(t)&&!(n.flags&16777216))&&N0(n)&&!N0(t)||n.kind!==t.kind&&e4(n))&&(e.valueDeclaration=t)}function aN(e){if(!e||!e.valueDeclaration)return!1;let t=e.valueDeclaration;return t.kind===261||Ei(t)&&t.initializer&&Wi(t.initializer)}function oN(e){var t,n;switch(e.kind){case 259:case 207:return(t=Xr(e.initializer,i=>Ll(i,!0)))==null?void 0:t.arguments[0];case 271:return Ar(e.moduleSpecifier,qr);case 270:return Ar((n=Ar(e.moduleReference,Zm))==null?void 0:n.expression,qr);case 272:case 279:return Ar(e.parent.moduleSpecifier,qr);case 273:case 280:return Ar(e.parent.parent.moduleSpecifier,qr);case 275:return Ar(e.parent.parent.parent.moduleSpecifier,qr);default:M.assertNever(e)}}function sN(e){return D4(e)||M.failBadSyntaxKind(e.parent)}function D4(e){switch(e.parent.kind){case 271:case 277:return e.parent;case 282:return e.parent.parent;case 212:return i2(e.parent)||Ll(e.parent,!1)?e.parent:void 0;case 200:return M.assert(cr(e)),Ar(e.parent.parent,Xl);default:return}}function h2(e){switch(e.kind){case 271:case 277:return e.moduleSpecifier;case 270:return e.moduleReference.kind===282?e.moduleReference.expression:void 0;case 204:return _4(e)?e.argument.literal:void 0;case 212:return e.arguments[0];case 266:return e.name.kind===11?e.name:void 0;default:return M.assertNever(e)}}function P4(e){switch(e.kind){case 271:return e.importClause&&Ar(e.importClause.namedBindings,Db);case 270:return e;case 277:return e.exportClause&&Ar(e.exportClause,Ym);default:return M.assertNever(e)}}function N4(e){return e.kind===271&&!!e.importClause&&!!e.importClause.name}function _N(e,t){if(e.name){let n=t(e);if(n)return n}if(e.namedBindings){let n=Db(e.namedBindings)?t(e.namedBindings):hn(e.namedBindings.elements,t);if(n)return n}}function cN(e){if(e)switch(e.kind){case 168:case 173:case 172:case 303:case 302:case 171:case 170:return e.questionToken!==void 0}return!1}function lN(e){let t=e1(e)?f_(e.parameters):void 0,n=Ar(t&&t.name,Ce);return!!n&&n.escapedText==="new"}function Rl(e){return e.kind===352||e.kind===344||e.kind===346}function uN(e){return Rl(e)||wb(e)}function pN(e){return Zl(e)&&St(e.expression)&&e.expression.operatorToken.kind===64?d2(e.expression):void 0}function I4(e){return Zl(e)&&St(e.expression)&&Ca(e.expression)!==0&&St(e.expression.right)&&(e.expression.right.operatorToken.kind===57||e.expression.right.operatorToken.kind===61)?e.expression.right.right:void 0}function g2(e){switch(e.kind){case 242:let t=hl(e);return t&&t.initializer;case 171:return e.initializer;case 302:return e.initializer}}function hl(e){return _s(e)?f_(e.declarationList.declarations):void 0}function O4(e){return Gi(e)&&e.body&&e.body.kind===266?e.body:void 0}function dN(e){if(e.kind>=242&&e.kind<=258)return!0;switch(e.kind){case 80:case 110:case 108:case 165:case 235:case 211:case 210:case 207:case 217:case 218:case 173:case 176:case 177:return!0;default:return!1}}function Om(e){switch(e.kind){case 218:case 225:case 240:case 251:case 178:case 295:case 262:case 230:case 174:case 175:case 184:case 179:case 250:case 258:case 245:case 211:case 241:case 1:case 265:case 305:case 276:case 277:case 280:case 243:case 248:case 249:case 247:case 261:case 217:case 183:case 176:case 80:case 244:case 271:case 270:case 180:case 263:case 323:case 329:case 255:case 173:case 172:case 266:case 201:case 269:case 209:case 168:case 216:case 210:case 302:case 171:case 170:case 252:case 239:case 177:case 303:case 304:case 254:case 256:case 257:case 264:case 167:case 259:case 242:case 246:case 253:return!0;default:return!1}}function M4(e,t){let n;o2(e)&&qx(e)&&Ui(e.initializer)&&(n=Mn(n,tv(e,ba(e.initializer.jsDoc))));let i=e;for(;i&&i.parent;){if(Ui(i)&&(n=Mn(n,tv(e,ba(i.jsDoc)))),i.kind===168){n=Mn(n,(t?YT:hm)(i));break}if(i.kind===167){n=Mn(n,(t?tx:ex)(i));break}i=L4(i)}return n||Xe}function tv(e,t){if(ps(t)){let n=Gn(t.tags,i=>nv(e,i));return t.tags===n?[t]:n}return nv(e,t)?[t]:void 0}function nv(e,t){return!(ru(t)||Ub(t))||!t.parent||!ps(t.parent)||!ss(t.parent.parent)||t.parent.parent===e}function L4(e){let t=e.parent;if(t.kind===302||t.kind===276||t.kind===171||t.kind===243&&e.kind===210||t.kind===252||O4(t)||St(e)&&e.operatorToken.kind===64)return t;if(t.parent&&(hl(t.parent)===e||St(t)&&t.operatorToken.kind===64))return t.parent;if(t.parent&&t.parent.parent&&(hl(t.parent.parent)||g2(t.parent.parent)===e||I4(t.parent.parent)))return t.parent.parent}function fN(e){if(e.symbol)return e.symbol;if(!Ce(e.name))return;let t=e.name.escapedText,n=b2(e);if(!n)return;let i=$n(n.parameters,s=>s.name.kind===80&&s.name.escapedText===t);return i&&i.symbol}function mN(e){if(ps(e.parent)&&e.parent.tags){let t=$n(e.parent.tags,Rl);if(t)return t}return b2(e)}function b2(e){let t=v2(e);if(t)return Wl(t)&&t.type&&Wi(t.type)?t.type:Wi(t)?t:void 0}function v2(e){let t=J4(e);if(t)return I4(t)||pN(t)||g2(t)||hl(t)||O4(t)||t}function J4(e){let t=T2(e);if(!t)return;let n=t.parent;if(n&&n.jsDoc&&t===Ti(n.jsDoc))return n}function T2(e){return Xr(e.parent,ps)}function yN(e){let t=e.name.escapedText,{typeParameters:n}=e.parent.parent.parent;return n&&$n(n,i=>i.name.escapedText===t)}function hN(e){return!!e.typeArguments}function R4(e){let t=e.parent;for(;;){switch(t.kind){case 225:let n=t.operatorToken.kind;return w_(n)&&t.left===e?n===64||jm(n)?1:2:0;case 223:case 224:let i=t.operator;return i===46||i===47?2:0;case 248:case 249:return t.initializer===e?1:0;case 216:case 208:case 229:case 234:e=t;break;case 304:e=t.parent;break;case 303:if(t.name!==e)return 0;e=t.parent;break;case 302:if(t.name===e)return 0;e=t.parent;break;default:return 0}t=e.parent}}function gN(e){return R4(e)!==0}function bN(e){switch(e.kind){case 240:case 242:case 253:case 244:case 254:case 268:case 295:case 296:case 255:case 247:case 248:case 249:case 245:case 246:case 257:case 298:return!0}return!1}function vN(e){return Km(e)||Gm(e)||Bg(e)||cs(e)||P_(e)}function F4(e,t){for(;e&&e.kind===t;)e=e.parent;return e}function TN(e){return F4(e,195)}function j4(e){return F4(e,216)}function xN(e){let t;for(;e&&e.kind===195;)t=e,e=e.parent;return[t,e]}function SN(e){for(;yb(e);)e=e.type;return e}function Fl(e,t){return ds(e,t?17:1)}function wN(e){return e.kind!==210&&e.kind!==211?!1:(e=j4(e.parent),e&&e.kind===219)}function EN(e,t){for(;e;){if(e===t)return!0;e=e.parent}return!1}function B4(e){return!$r(e)&&!Sm(e)&&$o(e.parent)&&e.parent.name===e}function CN(e){let t=e.parent;switch(e.kind){case 11:case 15:case 9:if(Za(t))return t.parent;case 80:if($o(t))return t.name===e?t:void 0;if(D_(t)){let n=t.parent;return p_(n)&&n.name===t?n:void 0}else{let n=t.parent;return St(n)&&Ca(n)!==0&&(n.left.symbol||n.symbol)&&Nl(n)===e?n:void 0}case 81:return $o(t)&&t.name===e?t:void 0;default:return}}function U4(e){return Ki(e)&&e.parent.kind===166&&$o(e.parent.parent)}function kN(e){let t=e.parent;switch(t.kind){case 171:case 170:case 173:case 172:case 176:case 177:case 305:case 302:case 210:return t.name===e;case 165:return t.right===e;case 207:case 275:return t.propertyName===e;case 280:case 290:case 284:case 285:case 286:return!0}return!1}function AN(e){return e.kind===270||e.kind===269||e.kind===272&&e.name||e.kind===273||e.kind===279||e.kind===275||e.kind===280||e.kind===276&&I0(e)?!0:Vt(e)&&(St(e)&&Ca(e)===2&&I0(e)||Rn(e)&&St(e.parent)&&e.parent.left===e&&e.parent.operatorToken.kind===64&&x2(e.parent.right))}function q4(e){switch(e.parent.kind){case 272:case 275:case 273:case 280:case 276:case 270:case 279:return e.parent;case 165:do e=e.parent;while(e.parent.kind===165);return q4(e)}}function x2(e){return no(e)||$m(e)}function I0(e){let t=z4(e);return x2(t)}function z4(e){return ls(e)?e.expression:e.right}function DN(e){return e.kind===303?e.name:e.kind===302?e.initializer:e.parent.right}function W4(e){let t=V4(e);if(t&&Vt(e)){let n=nx(e);if(n)return n.class}return t}function V4(e){let t=Mm(e.heritageClauses,96);return t&&t.types.length>0?t.types[0]:void 0}function H4(e){if(Vt(e))return rx(e).map(t=>t.class);{let t=Mm(e.heritageClauses,119);return t==null?void 0:t.types}}function K4(e){return eu(e)?G4(e)||Xe:Hr(e)&&d_(ff(W4(e)),H4(e))||Xe}function G4(e){let t=Mm(e.heritageClauses,96);return t?t.types:void 0}function Mm(e,t){if(e){for(let n of e)if(n.token===t)return n}}function PN(e,t){for(;e;){if(e.kind===t)return e;e=e.parent}}function bi(e){return 83<=e&&e<=164}function X4(e){return 19<=e&&e<=79}function ef(e){return bi(e)||X4(e)}function S2(e){return 128<=e&&e<=164}function $4(e){return bi(e)&&!S2(e)}function NN(e){return 119<=e&&e<=127}function IN(e){let t=Al(e);return t!==void 0&&$4(t)}function ON(e){let t=Al(e);return t!==void 0&&bi(t)}function MN(e){let t=HT(e);return!!t&&!S2(t)}function LN(e){return 2<=e&&e<=7}function JN(e){if(!e)return 4;let t=0;switch(e.kind){case 261:case 217:case 173:e.asteriskToken&&(t|=1);case 218:gn(e,512)&&(t|=2);break}return e.body||(t|=4),t}function RN(e){switch(e.kind){case 261:case 217:case 218:case 173:return e.body!==void 0&&e.asteriskToken===void 0&&gn(e,512)}return!1}function Ki(e){return qr(e)||ro(e)}function w2(e){return Xm(e)&&(e.operator===40||e.operator===41)&&ro(e.operand)}function Q4(e){let t=Nl(e);return!!t&&E2(t)}function E2(e){if(!(e.kind===166||e.kind===211))return!1;let t=ka(e)?Fl(e.argumentExpression):e.expression;return!Ki(t)&&!w2(t)}function Jf(e){switch(e.kind){case 80:case 81:return e.escapedText;case 11:case 9:return Ur(e.text);case 166:let t=e.expression;return Ki(t)?Ur(t.text):w2(t)?t.operator===41?an(t.operator)+t.operand.text:t.operand.text:void 0;case 294:return Ul(e);default:return M.assertNever(e)}}function O0(e){switch(e.kind){case 80:case 11:case 15:case 9:return!0;default:return!1}}function Rf(e){return $a(e)?Ot(e):J_(e)?ql(e):e.text}function Y4(e){return $a(e)?e.escapedText:J_(e)?Ul(e):Ur(e.text)}function FN(e){return`__@${getSymbolId(e)}@${e.escapedName}`}function jN(e,t){return`__#${getSymbolId(e)}@${t}`}function BN(e){return Jn(e.escapedName,"__@")}function UN(e){return Jn(e.escapedName,"__#")}function qN(e){return e.kind===80&&e.escapedText==="Symbol"}function Z4(e){return Ce(e)?Ot(e)==="__proto__":cr(e)&&e.text==="__proto__"}function Xs(e,t){switch(e=ds(e),e.kind){case 230:case 217:if(e.name)return!1;break;case 218:break;default:return!1}return typeof t=="function"?t(e):!0}function e3(e){switch(e.kind){case 302:return!Z4(e.name);case 303:return!!e.objectAssignmentInitializer;case 259:return Ce(e.name)&&!!e.initializer;case 168:return Ce(e.name)&&!!e.initializer&&!e.dotDotDotToken;case 207:return Ce(e.name)&&!!e.initializer&&!e.dotDotDotToken;case 171:return!!e.initializer;case 225:switch(e.operatorToken.kind){case 64:case 77:case 76:case 78:return Ce(e.left)}break;case 276:return!0}return!1}function zN(e,t){if(!e3(e))return!1;switch(e.kind){case 302:return Xs(e.initializer,t);case 303:return Xs(e.objectAssignmentInitializer,t);case 259:case 168:case 207:case 171:return Xs(e.initializer,t);case 225:return Xs(e.right,t);case 276:return Xs(e.expression,t)}}function WN(e){return e.escapedText==="push"||e.escapedText==="unshift"}function VN(e){return Lm(e).kind===168}function Lm(e){for(;e.kind===207;)e=e.parent.parent;return e}function HN(e){let t=e.kind;return t===175||t===217||t===261||t===218||t===173||t===176||t===177||t===266||t===311}function pa(e){return wa(e.pos)||wa(e.end)}function KN(e){return Pl(e,$r)||e}function GN(e){let t=C2(e),n=e.kind===213&&e.arguments!==void 0;return t3(e.kind,t,n)}function t3(e,t,n){switch(e){case 213:return n?0:1;case 223:case 220:case 221:case 219:case 222:case 226:case 228:return 1;case 225:switch(t){case 43:case 64:case 65:case 66:case 68:case 67:case 69:case 70:case 71:case 72:case 73:case 74:case 79:case 75:case 76:case 77:case 78:return 1}}return 0}function XN(e){let t=C2(e),n=e.kind===213&&e.arguments!==void 0;return n3(e.kind,t,n)}function C2(e){return e.kind===225?e.operatorToken.kind:e.kind===223||e.kind===224?e.operator:e.kind}function n3(e,t,n){switch(e){case 360:return 0;case 229:return 1;case 228:return 2;case 226:return 4;case 225:switch(t){case 28:return 0;case 64:case 65:case 66:case 68:case 67:case 69:case 70:case 71:case 72:case 73:case 74:case 79:case 75:case 76:case 77:case 78:return 3;default:return il(t)}case 215:case 234:case 223:case 220:case 221:case 219:case 222:return 16;case 224:return 17;case 212:return 18;case 213:return n?19:18;case 214:case 210:case 211:case 235:return 19;case 233:case 237:return 11;case 110:case 108:case 80:case 81:case 106:case 112:case 97:case 9:case 10:case 11:case 208:case 209:case 217:case 218:case 230:case 14:case 15:case 227:case 216:case 231:case 283:case 284:case 287:return 20;default:return-1}}function il(e){switch(e){case 61:return 4;case 57:return 5;case 56:return 6;case 52:return 7;case 53:return 8;case 51:return 9;case 35:case 36:case 37:case 38:return 10;case 30:case 32:case 33:case 34:case 104:case 103:case 130:case 152:return 11;case 48:case 49:case 50:return 12;case 40:case 41:return 13;case 42:case 44:case 45:return 14;case 43:return 15}return-1}function $N(e){return Gn(e,t=>{switch(t.kind){case 293:return!!t.expression;case 12:return!t.containsOnlyTriviaWhiteSpaces;default:return!0}})}function QN(){let e=[],t=[],n=new Map,i=!1;return{add:l,lookup:s,getGlobalDiagnostics:d,getDiagnostics:y};function s(p){let x;if(p.file?x=n.get(p.file.fileName):x=e,!x)return;let h=El(x,p,ht,Uf);if(h>=0)return x[h]}function l(p){let x;p.file?(x=n.get(p.file.fileName),x||(x=[],n.set(p.file.fileName,x),cl(t,p.file.fileName,xi))):(i&&(i=!1,e=e.slice()),x=e),cl(x,p,Uf)}function d(){return i=!0,e}function y(p){if(p)return n.get(p)||[];let x=Rv(t,h=>n.get(h));return e.length&&x.unshift(...e),x}}function YN(e){return e.replace(LS,"\\${")}function r3(e){return e&&!!(n8(e)?e.templateFlags:e.head.templateFlags||ft(e.templateSpans,t=>!!t.literal.templateFlags))}function i3(e){return"\\u"+("0000"+e.toString(16).toUpperCase()).slice(-4)}function ZN(e,t,n){if(e.charCodeAt(0)===0){let i=n.charCodeAt(t+e.length);return i>=48&&i<=57?"\\x00":"\\0"}return jS.get(e)||i3(e.charCodeAt(0))}function Ff(e,t){let n=t===96?FS:t===39?RS:JS;return e.replace(n,ZN)}function jf(e,t){return e=Ff(e,t),K0.test(e)?e.replace(K0,n=>i3(n.charCodeAt(0))):e}function eI(e){return"&#x"+e.toString(16).toUpperCase()+";"}function tI(e){return e.charCodeAt(0)===0?"�":qS.get(e)||eI(e.charCodeAt(0))}function a3(e,t){let n=t===39?US:BS;return e.replace(n,tI)}function nI(e){let t=e.length;return t>=2&&e.charCodeAt(0)===e.charCodeAt(t-1)&&rI(e.charCodeAt(0))?e.substring(1,t-1):e}function rI(e){return e===39||e===34||e===96}function o3(e){let t=e.charCodeAt(0);return t>=97&&t<=122||Ga(e,"-")}function k2(e){let t=Mo[1];for(let n=Mo.length;n<=e;n++)Mo.push(Mo[n-1]+t);return Mo[e]}function Bo(){return Mo[1].length}function iI(){return Ga(uf,"-dev")||Ga(uf,"-insiders")}function aI(e){var t,n,i,s,l,d=!1;function y(G){let oe=cm(G);oe.length>1?(s=s+oe.length-1,l=t.length-G.length+ba(oe),i=l-t.length===0):i=!1}function p(G){G&&G.length&&(i&&(G=k2(n)+G,i=!1),t+=G,y(G))}function x(G){G&&(d=!1),p(G)}function h(G){G&&(d=!0),p(G)}function D(){t="",n=0,i=!0,s=0,l=0,d=!1}function w(G){G!==void 0&&(t+=G,y(G),d=!1)}function g(G){G&&G.length&&x(G)}function A(G){(!i||G)&&(t+=e,s++,l=t.length,i=!0,d=!1)}function B(){return i?t.length:t.length+e.length}return D(),{write:x,rawWrite:w,writeLiteral:g,writeLine:A,increaseIndent:()=>{n++},decreaseIndent:()=>{n--},getIndent:()=>n,getTextPos:()=>t.length,getLine:()=>s,getColumn:()=>i?n*Bo():t.length-l,getText:()=>t,isAtStartOfLine:()=>i,hasTrailingComment:()=>d,hasTrailingWhitespace:()=>!!t.length&&qi(t.charCodeAt(t.length-1)),clear:D,writeKeyword:x,writeOperator:x,writeParameter:x,writeProperty:x,writePunctuation:x,writeSpace:x,writeStringLiteral:x,writeSymbol:(G,oe)=>x(G),writeTrailingSemicolon:x,writeComment:h,getTextPosWithWriteLine:B}}function oI(e){let t=!1;function n(){t&&(e.writeTrailingSemicolon(";"),t=!1)}return{...e,writeTrailingSemicolon(){t=!0},writeLiteral(i){n(),e.writeLiteral(i)},writeStringLiteral(i){n(),e.writeStringLiteral(i)},writeSymbol(i,s){n(),e.writeSymbol(i,s)},writePunctuation(i){n(),e.writePunctuation(i)},writeKeyword(i){n(),e.writeKeyword(i)},writeOperator(i){n(),e.writeOperator(i)},writeParameter(i){n(),e.writeParameter(i)},writeSpace(i){n(),e.writeSpace(i)},writeProperty(i){n(),e.writeProperty(i)},writeComment(i){n(),e.writeComment(i)},writeLine(){n(),e.writeLine()},increaseIndent(){n(),e.increaseIndent()},decreaseIndent(){n(),e.decreaseIndent()}}}function A2(e){return e.useCaseSensitiveFileNames?e.useCaseSensitiveFileNames():!1}function s3(e){return im(A2(e))}function _3(e,t,n){return t.moduleName||D2(e,t.fileName,n&&n.fileName)}function rv(e,t){return e.getCanonicalFileName(Ta(t,e.getCurrentDirectory()))}function sI(e,t,n){let i=t.getExternalModuleFileFromDeclaration(n);if(!i||i.isDeclarationFile)return;let s=h2(n);if(!(s&&qr(s)&&!is(s.text)&&rv(e,i.path).indexOf(rv(e,Ko(e.getCommonSourceDirectory())))===-1))return _3(e,i)}function D2(e,t,n){let i=p=>e.getCanonicalFileName(p),s=vi(n?Hi(n):e.getCommonSourceDirectory(),e.getCurrentDirectory(),i),l=Ta(t,e.getCurrentDirectory()),d=xg(s,l,s,i,!1),y=bl(d);return n?bg(y):y}function _I(e,t,n){let i=t.getCompilerOptions(),s;return i.outDir?s=bl(u3(e,t,i.outDir)):s=bl(e),s+n}function cI(e,t){return c3(e,t.getCompilerOptions(),t.getCurrentDirectory(),t.getCommonSourceDirectory(),n=>t.getCanonicalFileName(n))}function c3(e,t,n,i,s){let l=t.declarationDir||t.outDir,d=l?N2(e,l,n,i,s):e,y=l3(d);return bl(d)+y}function l3(e){return Wr(e,[".mjs",".mts"])?".d.mts":Wr(e,[".cjs",".cts"])?".d.cts":Wr(e,[".json"])?".d.json.ts":".d.ts"}function lI(e){return Wr(e,[".d.mts",".mjs",".mts"])?[".mts",".mjs"]:Wr(e,[".d.cts",".cjs",".cts"])?[".cts",".cjs"]:Wr(e,[".d.json.ts"])?[".json"]:[".tsx",".ts",".jsx",".js"]}function P2(e){return e.outFile||e.out}function uI(e,t){var n;if(e.paths)return e.baseUrl??M.checkDefined(e.pathsBasePath||((n=t.getCurrentDirectory)==null?void 0:n.call(t)),"Encountered 'paths' without a 'baseUrl', config file, or host 'getCurrentDirectory'.")}function pI(e,t,n){let i=e.getCompilerOptions();if(P2(i)){let s=Gr(i),l=i.emitDeclarationOnly||s===2||s===4;return Gn(e.getSourceFiles(),d=>(l||!ts(d))&&M0(d,e,n))}else{let s=t===void 0?e.getSourceFiles():[t];return Gn(s,l=>M0(l,e,n))}}function M0(e,t,n){return!(t.getCompilerOptions().noEmitForJsFiles&&p2(e))&&!e.isDeclarationFile&&!t.isSourceFileFromExternalLibrary(e)&&(n||!(r2(e)&&t.getResolvedProjectReferenceToRedirect(e.fileName))&&!t.isSourceOfProjectReferenceRedirect(e.fileName))}function u3(e,t,n){return N2(e,n,t.getCurrentDirectory(),t.getCommonSourceDirectory(),i=>t.getCanonicalFileName(i))}function N2(e,t,n,i,s){let l=Ta(e,n);return l=s(l).indexOf(s(i))===0?l.substring(i.length):l,yn(t,l)}function dI(e,t,n,i,s,l,d){e.writeFile(n,i,s,y=>{t.add(al(K.Could_not_write_file_0_Colon_1,n,y))},l,d)}function p3(e,t,n){if(e.length>Si(e)&&!n(e)){let i=Hi(e);p3(i,t,n),t(e)}}function fI(e,t,n,i,s,l){try{i(e,t,n)}catch{p3(Hi(sr(e)),s,l),i(e,t,n)}}function mI(e,t){let n=xa(e);return a_(n,t)}function ya(e,t){return a_(e,t)}function d3(e){return $n(e.members,t=>P_(t)&&yl(t.body))}function I2(e){if(e&&e.parameters.length>0){let t=e.parameters.length===2&&jl(e.parameters[0]);return e.parameters[t?1:0]}}function yI(e){let t=I2(e);return t&&t.type}function f3(e){if(e.parameters.length&&!nu(e)){let t=e.parameters[0];if(jl(t))return t}}function jl(e){return Jm(e.name)}function Jm(e){return!!e&&e.kind===80&&m3(e)}function hI(e){if(!Jm(e))return!1;for(;D_(e.parent)&&e.parent.left===e;)e=e.parent;return e.parent.kind===185}function m3(e){return e.escapedText==="this"}function O2(e,t){let n,i,s,l;return Q4(t)?(n=t,t.kind===176?s=t:t.kind===177?l=t:M.fail("Accessor has wrong kind")):hn(e,d=>{if(xm(d)&&L0(d)===L0(t)){let y=Jf(d.name),p=Jf(t.name);y===p&&(n?i||(i=d):n=d,d.kind===176&&!s&&(s=d),d.kind===177&&!l&&(l=d))}}),{firstAccessor:n,secondAccessor:i,getAccessor:s,setAccessor:l}}function M2(e){if(!Vt(e)&&cs(e))return;let t=e.type;return t||!Vt(e)?t:Mg(e)?e.typeExpression&&e.typeExpression.type:bm(e)}function gI(e){return e.type}function bI(e){return nu(e)?e.type&&e.type.typeExpression&&e.type.typeExpression.type:e.type||(Vt(e)?ux(e):void 0)}function y3(e){return Wo(Il(e),t=>vI(t)?t.typeParameters:void 0)}function vI(e){return es(e)&&!(e.parent.kind===326&&(e.parent.tags.some(Rl)||e.parent.tags.some(Fb)))}function TI(e){let t=I2(e);return t&&M2(t)}function h3(e,t,n,i){g3(e,t,n.pos,i)}function g3(e,t,n,i){i&&i.length&&n!==i[0].pos&&ya(e,n)!==ya(e,i[0].pos)&&t.writeLine()}function xI(e,t,n,i){n!==i&&ya(e,n)!==ya(e,i)&&t.writeLine()}function b3(e,t,n,i,s,l,d,y){if(i&&i.length>0){s&&n.writeSpace(" ");let p=!1;for(let x of i)p&&(n.writeSpace(" "),p=!1),y(e,t,n,x.pos,x.end,d),x.hasTrailingNewLine?n.writeLine():p=!0;p&&l&&n.writeSpace(" ")}}function SI(e,t,n,i,s,l,d){let y,p;if(d?s.pos===0&&(y=Gn(Go(e,s.pos),x)):y=Go(e,s.pos),y){let h=[],D;for(let w of y){if(D){let g=ya(t,D.end);if(ya(t,w.pos)>=g+2)break}h.push(w),D=w}if(h.length){let w=ya(t,ba(h).end);ya(t,It(e,s.pos))>=w+2&&(h3(t,n,s,y),b3(e,t,n,h,!1,!0,l,i),p={nodePos:s.pos,detachedCommentEndPos:ba(h).end})}}return p;function x(h){return Qx(e,h.pos)}}function wI(e,t,n,i,s,l){if(e.charCodeAt(i+1)===42){let d=Eg(t,i),y=t.length,p;for(let x=i,h=d.line;x0){let A=g%Bo(),B=k2((g-A)/Bo());for(n.rawWrite(B);A;)n.rawWrite(" "),A--}else n.rawWrite("")}EI(e,s,n,l,x,D),x=D}}else n.writeComment(e.substring(i,s))}function EI(e,t,n,i,s,l){let d=Math.min(t,l-1),y=am(e.substring(s,d));y?(n.writeComment(y),d!==t&&n.writeLine()):n.rawWrite(i)}function iv(e,t,n){let i=0;for(;t=0&&e.kind<=164?0:(e.modifierFlagsCache&536870912||(e.modifierFlagsCache=F2(e)|536870912),t&&!(e.modifierFlagsCache&4096)&&(n||Vt(e))&&e.parent&&(e.modifierFlagsCache|=C3(e)|4096),e.modifierFlagsCache&-536875009)}function Fm(e){return J2(e,!0)}function E3(e){return J2(e,!0,!0)}function R2(e){return J2(e,!1)}function C3(e){let t=0;return e.parent&&!io(e)&&(Vt(e)&&(ix(e)&&(t|=4),ax(e)&&(t|=8),ox(e)&&(t|=16),sx(e)&&(t|=64),_x(e)&&(t|=16384)),cx(e)&&(t|=8192)),t}function k3(e){return F2(e)|C3(e)}function F2(e){let t=R_(e)?ar(e.modifiers):0;return(e.flags&4||e.kind===80&&e.flags&2048)&&(t|=1),t}function ar(e){let t=0;if(e)for(let n of e)t|=j2(n.kind);return t}function j2(e){switch(e){case 126:return 32;case 125:return 4;case 124:return 16;case 123:return 8;case 128:return 256;case 129:return 128;case 95:return 1;case 138:return 2;case 87:return 2048;case 90:return 1024;case 134:return 512;case 148:return 64;case 163:return 16384;case 103:return 32768;case 147:return 65536;case 169:return 131072}return 0}function A3(e){return e===57||e===56}function DI(e){return A3(e)||e===54}function jm(e){return e===76||e===77||e===78}function PI(e){return St(e)&&jm(e.operatorToken.kind)}function D3(e){return A3(e)||e===61}function NI(e){return St(e)&&D3(e.operatorToken.kind)}function w_(e){return e>=64&&e<=79}function P3(e){let t=N3(e);return t&&!t.isImplements?t.class:void 0}function N3(e){if(Tb(e)){if(Sl(e.parent)&&Hr(e.parent.parent))return{class:e.parent.parent,isImplements:e.parent.token===119};if(t1(e.parent)){let t=v2(e.parent);if(t&&Hr(t))return{class:t,isImplements:!1}}}}function Sa(e,t){return St(e)&&(t?e.operatorToken.kind===64:w_(e.operatorToken.kind))&&jo(e.left)}function II(e){return Sa(e.parent)&&e.parent.left===e}function OI(e){if(Sa(e,!0)){let t=e.left.kind;return t===209||t===208}return!1}function R0(e){return P3(e)!==void 0}function no(e){return e.kind===80||I3(e)}function MI(e){switch(e.kind){case 80:return e;case 165:do e=e.left;while(e.kind!==80);return e;case 210:do e=e.expression;while(e.kind!==80);return e}}function F0(e){return e.kind===80||e.kind===110||e.kind===108||e.kind===235||e.kind===210&&F0(e.expression)||e.kind===216&&F0(e.expression)}function I3(e){return Rn(e)&&Ce(e.name)&&no(e.expression)}function j0(e){if(Rn(e)){let t=j0(e.expression);if(t!==void 0)return t+"."+hi(e.name)}else if(ka(e)){let t=j0(e.expression);if(t!==void 0&&Ml(e.argumentExpression))return t+"."+Jf(e.argumentExpression)}else{if(Ce(e))return Xo(e.escapedText);if(J_(e))return ql(e)}}function Bl(e){return S_(e)&&Ya(e)==="prototype"}function LI(e){return e.parent.kind===165&&e.parent.right===e||e.parent.kind===210&&e.parent.name===e}function O3(e){return Rn(e.parent)&&e.parent.name===e||ka(e.parent)&&e.parent.argumentExpression===e}function JI(e){return D_(e.parent)&&e.parent.right===e||Rn(e.parent)&&e.parent.name===e||Zs(e.parent)&&e.parent.right===e}function RI(e){return e.kind===209&&e.properties.length===0}function FI(e){return e.kind===208&&e.elements.length===0}function jI(e){if(!(!BI(e)||!e.declarations)){for(let t of e.declarations)if(t.localSymbol)return t.localSymbol}}function BI(e){return e&&Ha(e.declarations)>0&&gn(e.declarations[0],1024)}function UI(e){return $n(KS,t=>Ea(e,t))}function qI(e){let t=[],n=e.length;for(let i=0;i>6|192),t.push(s&63|128)):s<65536?(t.push(s>>12|224),t.push(s>>6&63|128),t.push(s&63|128)):s<131072?(t.push(s>>18|240),t.push(s>>12&63|128),t.push(s>>6&63|128),t.push(s&63|128)):M.assert(!1,"Unexpected code point")}return t}function M3(e){let t="",n=qI(e),i=0,s=n.length,l,d,y,p;for(;i>2,d=(n[i]&3)<<4|n[i+1]>>4,y=(n[i+1]&15)<<2|n[i+2]>>6,p=n[i+2]&63,i+1>=s?y=p=64:i+2>=s&&(p=64),t+=ji.charAt(l)+ji.charAt(d)+ji.charAt(y)+ji.charAt(p),i+=3;return t}function zI(e){let t="",n=0,i=e.length;for(;n>4&3,h=(d&15)<<4|y>>2&15,D=(y&3)<<6|p&63;h===0&&y!==0?i.push(x):D===0&&p!==0?i.push(x,h):i.push(x,h,D),s+=4}return zI(i)}function L3(e,t){let n=m_(t)?t:t.readFile(e);if(!n)return;let i=parseConfigFileTextToJson(e,n);return i.error?void 0:i.config}function HI(e,t){return L3(e,t)||{}}function J3(e,t){return!t.directoryExists||t.directoryExists(e)}function R3(e){switch(e.newLine){case 0:return zS;case 1:case void 0:return WS}}function Bm(e,t=e){return M.assert(t>=e||t===-1),{pos:e,end:t}}function KI(e,t){return Bm(e.pos,t)}function Bf(e,t){return Bm(t,e.end)}function F3(e){let t=R_(e)?sg(e.modifiers,zl):void 0;return t&&!wa(t.end)?Bf(e,t.end):e}function GI(e){if(os(e)||Vl(e))return Bf(e,e.name.pos);let t=R_(e)?Ti(e.modifiers):void 0;return t&&!wa(t.end)?Bf(e,t.end):F3(e)}function XI(e){return e.pos===e.end}function $I(e,t){return Bm(e,e+an(t).length)}function QI(e,t){return j3(e,e,t)}function YI(e,t,n){return E_(l_(e,n,!1),l_(t,n,!1),n)}function ZI(e,t,n){return E_(e.end,t.end,n)}function j3(e,t,n){return E_(l_(e,n,!1),t.end,n)}function eO(e,t,n){return E_(e.end,l_(t,n,!1),n)}function tO(e,t,n,i){let s=l_(t,n,i);return b_(n,e.end,s)}function nO(e,t,n){return b_(n,e.end,t.end)}function rO(e,t){return!E_(e.pos,e.end,t)}function E_(e,t,n){return b_(n,e,t)===0}function l_(e,t,n){return wa(e.pos)?-1:It(t.text,e.pos,!1,n)}function iO(e,t,n,i){let s=It(n.text,e,!1,i),l=oO(s,t,n);return b_(n,l??t,s)}function aO(e,t,n,i){let s=It(n.text,e,!1,i);return b_(n,e,Math.min(t,s))}function oO(e,t=0,n){for(;e-- >t;)if(!qi(n.text.charCodeAt(e)))return e}function sO(e){let t=Pl(e);if(t)switch(t.parent.kind){case 265:case 266:return t===t.parent.name}return!1}function _O(e){return Gn(e.declarations,B3)}function B3(e){return Ei(e)&&e.initializer!==void 0}function cO(e){return e.watch&&Xn(e,"watch")}function lO(e){e.close()}function U3(e){return e.flags&33554432?e.links.checkFlags:0}function uO(e,t=!1){if(e.valueDeclaration){let n=t&&e.declarations&&$n(e.declarations,N_)||e.flags&32768&&$n(e.declarations,Kl)||e.valueDeclaration,i=dm(n);return e.parent&&e.parent.flags&32?i:i&-29}if(U3(e)&6){let n=e.links.checkFlags,i=n&1024?8:n&256?4:16,s=n&2048?32:0;return i|s}return e.flags&4194304?36:0}function pO(e,t){return e.flags&2097152?t.getAliasedSymbol(e):e}function dO(e){return e.exportSymbol?e.exportSymbol.flags|e.flags:e.flags}function fO(e){return Oo(e)===1}function mO(e){return Oo(e)!==0}function Oo(e){let{parent:t}=e;switch(t==null?void 0:t.kind){case 216:return Oo(t);case 224:case 223:let{operator:n}=t;return n===46||n===47?2:0;case 225:let{left:i,operatorToken:s}=t;return i===e&&w_(s.kind)?s.kind===64?1:2:0;case 210:return t.name!==e?0:Oo(t);case 302:{let l=Oo(t.parent);return e===t.name?yO(l):l}case 303:return e===t.objectAssignmentInitializer?0:Oo(t.parent);case 208:return Oo(t);default:return 0}}function yO(e){switch(e){case 0:return 1;case 1:return 0;case 2:return 2;default:return M.assertNever(e)}}function q3(e,t){if(!e||!t||Object.keys(e).length!==Object.keys(t).length)return!1;for(let n in e)if(typeof e[n]=="object"){if(!q3(e[n],t[n]))return!1}else if(typeof e[n]!="function"&&e[n]!==t[n])return!1;return!0}function hO(e,t){e.forEach(t),e.clear()}function z3(e,t,n){let{onDeleteValue:i,onExistingValue:s}=n;e.forEach((l,d)=>{let y=t.get(d);y===void 0?(e.delete(d),i(l,d)):s&&s(l,y,d)})}function gO(e,t,n){z3(e,t,n);let{createNewValue:i}=n;t.forEach((s,l)=>{e.has(l)||e.set(l,i(l,s))})}function bO(e){if(e.flags&32){let t=W3(e);return!!t&&gn(t,256)}return!1}function W3(e){var t;return(t=e.declarations)==null?void 0:t.find(Hr)}function tf(e){return e.flags&138117121?e.objectFlags:0}function vO(e,t){return!!yT(e,n=>t(n)?!0:void 0)}function TO(e){return!!e&&!!e.declarations&&!!e.declarations[0]&&Cb(e.declarations[0])}function xO({moduleSpecifier:e}){return cr(e)?e.text:Cm(e)}function V3(e){let t;return qt(e,n=>{yl(n)&&(t=n)},n=>{for(let i=n.length-1;i>=0;i--)if(yl(n[i])){t=n[i];break}}),t}function SO(e,t,n=!0){return e.has(t)?!1:(e.set(t,n),!0)}function wO(e){return Hr(e)||eu(e)||Hm(e)}function H3(e){return e>=181&&e<=204||e===133||e===159||e===150||e===162||e===151||e===136||e===154||e===155||e===116||e===157||e===146||e===141||e===232||e===318||e===319||e===320||e===321||e===322||e===323||e===324}function Zo(e){return e.kind===210||e.kind===211}function EO(e){return e.kind===210?e.name:(M.assert(e.kind===211),e.argumentExpression)}function CO(e){switch(e.kind){case"text":case"internal":return!0;default:return!1}}function kO(e){return e.kind===274||e.kind===278}function B2(e){for(;Zo(e);)e=e.expression;return e}function AO(e,t){if(Zo(e.parent)&&O3(e))return n(e.parent);function n(i){if(i.kind===210){let s=t(i.name);if(s!==void 0)return s}else if(i.kind===211)if(Ce(i.argumentExpression)||qr(i.argumentExpression)){let s=t(i.argumentExpression);if(s!==void 0)return s}else return;if(Zo(i.expression))return n(i.expression);if(Ce(i.expression))return t(i.expression)}}function DO(e,t){for(;;){switch(e.kind){case 224:e=e.operand;continue;case 225:e=e.left;continue;case 226:e=e.condition;continue;case 214:e=e.tag;continue;case 212:if(t)return e;case 233:case 211:case 210:case 234:case 359:case 237:e=e.expression;continue}return e}}function PO(e,t){this.flags=e,this.escapedName=t,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 NO(e,t){this.flags=t,(M.isDebugging||fa)&&(this.checker=e)}function IO(e,t){this.flags=t,M.isDebugging&&(this.checker=e)}function $y(e,t,n){this.pos=t,this.end=n,this.kind=e,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 OO(e,t,n){this.pos=t,this.end=n,this.kind=e,this.id=0,this.flags=0,this.transformFlags=0,this.parent=void 0,this.emitNode=void 0}function MO(e,t,n){this.pos=t,this.end=n,this.kind=e,this.id=0,this.flags=0,this.transformFlags=0,this.parent=void 0,this.original=void 0,this.emitNode=void 0}function LO(e,t,n){this.fileName=e,this.text=t,this.skipTrivia=n||(i=>i)}function JO(e){nb.push(e),e(xt)}function K3(e){Object.assign(xt,e),hn(nb,t=>t(xt))}function C_(e,t,n=0){return e.replace(/{(\d+)}/g,(i,s)=>""+M.checkDefined(t[+s+n]))}function G3(e){vl=e}function X3(e){!vl&&e&&(vl=e())}function k_(e){return vl&&vl[e.key]||e.message}function No(e,t,n,i){e2(void 0,t,n);let s=k_(i);return arguments.length>4&&(s=C_(s,arguments,4)),{file:void 0,start:t,length:n,messageText:s,category:i.category,code:i.code,reportsUnnecessary:i.reportsUnnecessary,fileName:e}}function RO(e){return e.file===void 0&&e.start!==void 0&&e.length!==void 0&&typeof e.fileName=="string"}function $3(e,t){let n=t.fileName||"",i=t.text.length;M.assertEqual(e.fileName,n),M.assertLessThanOrEqual(e.start,i),M.assertLessThanOrEqual(e.start+e.length,i);let s={file:t,start:e.start,length:e.length,messageText:e.messageText,category:e.category,code:e.code,reportsUnnecessary:e.reportsUnnecessary};if(e.relatedInformation){s.relatedInformation=[];for(let l of e.relatedInformation)RO(l)&&l.fileName===n?(M.assertLessThanOrEqual(l.start,i),M.assertLessThanOrEqual(l.start+l.length,i),s.relatedInformation.push($3(l,t))):s.relatedInformation.push(l)}return s}function za(e,t){let n=[];for(let i of e)n.push($3(i,t));return n}function U2(e,t,n,i){e2(e,t,n);let s=k_(i);return arguments.length>4&&(s=C_(s,arguments,4)),{file:e,start:t,length:n,messageText:s,category:i.category,code:i.code,reportsUnnecessary:i.reportsUnnecessary,reportsDeprecated:i.reportsDeprecated}}function FO(e,t){let n=k_(t);return arguments.length>2&&(n=C_(n,arguments,2)),n}function al(e){let t=k_(e);return arguments.length>1&&(t=C_(t,arguments,1)),{file:void 0,start:void 0,length:void 0,messageText:t,category:e.category,code:e.code,reportsUnnecessary:e.reportsUnnecessary,reportsDeprecated:e.reportsDeprecated}}function jO(e,t){return{file:void 0,start:void 0,length:void 0,code:e.code,category:e.category,messageText:e.next?e:e.messageText,relatedInformation:t}}function Kc(e,t){let n=k_(t);return arguments.length>2&&(n=C_(n,arguments,2)),{messageText:n,category:t.category,code:t.code,next:e===void 0||Array.isArray(e)?e:[e]}}function BO(e,t){let n=e;for(;n.next;)n=n.next[0];n.next=[t]}function av(e){return e.file?e.file.path:void 0}function q2(e,t){return Uf(e,t)||UO(e,t)||0}function Uf(e,t){return xi(av(e),av(t))||wn(e.start,t.start)||wn(e.length,t.length)||wn(e.code,t.code)||Q3(e.messageText,t.messageText)||0}function UO(e,t){return!e.relatedInformation&&!t.relatedInformation?0:e.relatedInformation&&t.relatedInformation?wn(e.relatedInformation.length,t.relatedInformation.length)||hn(e.relatedInformation,(n,i)=>{let s=t.relatedInformation[i];return q2(n,s)})||0:e.relatedInformation?-1:1}function Q3(e,t){if(typeof e=="string"&&typeof t=="string")return xi(e,t);if(typeof e=="string")return-1;if(typeof t=="string")return 1;let n=xi(e.messageText,t.messageText);if(n)return n;if(!e.next&&!t.next)return 0;if(!e.next)return-1;if(!t.next)return 1;let i=Math.min(e.next.length,t.next.length);for(let s=0;st.next.length?1:0}function B0(e){return e===4||e===2||e===1||e===6?1:0}function Y3(e){if(e.transformFlags&2)return Bx(e)||ol(e)?e:qt(e,Y3)}function qO(e){return e.isDeclarationFile?void 0:Y3(e)}function zO(e){return(e.impliedNodeFormat===99||Wr(e.fileName,[".cjs",".cts",".mjs",".mts"]))&&!e.isDeclarationFile?!0:void 0}function Z3(e){switch(eS(e)){case 3:return s=>{s.externalModuleIndicator=sl(s)||!s.isDeclarationFile||void 0};case 1:return s=>{s.externalModuleIndicator=sl(s)};case 2:let t=[sl];(e.jsx===4||e.jsx===5)&&t.push(qO),t.push(zO);let n=fg(...t);return s=>void(s.externalModuleIndicator=n(s))}}function Um(e){return e.target??(e.module===100&&9||e.module===199&&99||1)}function Gr(e){return typeof e.module=="number"?e.module:Um(e)>=2?5:1}function WO(e){return e>=5&&e<=99}function A_(e){let t=e.moduleResolution;if(t===void 0)switch(Gr(e)){case 1:t=2;break;case 100:t=3;break;case 199:t=99;break;default:t=1;break}return t}function eS(e){return e.moduleDetection||(Gr(e)===100||Gr(e)===199?3:2)}function VO(e){switch(Gr(e)){case 1:case 2:case 5:case 6:case 7:case 99:case 100:case 199:return!0;default:return!1}}function z2(e){return!!(e.isolatedModules||e.verbatimModuleSyntax)}function HO(e){return e.verbatimModuleSyntax||e.isolatedModules&&e.preserveValueImports}function KO(e){return e.allowUnreachableCode===!1}function GO(e){return e.allowUnusedLabels===!1}function XO(e){return!!(H2(e)&&e.declarationMap)}function W2(e){if(e.esModuleInterop!==void 0)return e.esModuleInterop;switch(Gr(e)){case 100:case 199:return!0}}function $O(e){return e.allowSyntheticDefaultImports!==void 0?e.allowSyntheticDefaultImports:W2(e)||Gr(e)===4||A_(e)===100}function V2(e){return e>=3&&e<=99||e===100}function QO(e){return!!e.noDtsResolution||A_(e)!==100}function YO(e){let t=A_(e);if(!V2(t))return!1;if(e.resolvePackageJsonExports!==void 0)return e.resolvePackageJsonExports;switch(t){case 3:case 99:case 100:return!0}return!1}function ZO(e){let t=A_(e);if(!V2(t))return!1;if(e.resolvePackageJsonExports!==void 0)return e.resolvePackageJsonExports;switch(t){case 3:case 99:case 100:return!0}return!1}function tS(e){return e.resolveJsonModule!==void 0?e.resolveJsonModule:A_(e)===100}function H2(e){return!!(e.declaration||e.composite)}function eM(e){return!!(e.preserveConstEnums||z2(e))}function tM(e){return!!(e.incremental||e.composite)}function K2(e,t){return e[t]===void 0?!!e.strict:!!e[t]}function nS(e){return e.allowJs===void 0?!!e.checkJs:e.allowJs}function nM(e){return e.useDefineForClassFields===void 0?Um(e)>=9:e.useDefineForClassFields}function rM(e,t){return T_(t,e,semanticDiagnosticsOptionDeclarations)}function iM(e,t){return T_(t,e,affectsEmitOptionDeclarations)}function aM(e,t){return T_(t,e,affectsDeclarationPathOptionDeclarations)}function U0(e,t){return t.strictFlag?K2(e,t.name):e[t.name]}function oM(e){let t=e.jsx;return t===2||t===4||t===5}function sM(e,t){let n=t==null?void 0:t.pragmas.get("jsximportsource"),i=Wt(n)?n[n.length-1]:n;return e.jsx===4||e.jsx===5||e.jsxImportSource||i?(i==null?void 0:i.arguments.factory)||e.jsxImportSource||"react":void 0}function _M(e,t){return e?`${e}/${t.jsx===5?"jsx-dev-runtime":"jsx-runtime"}`:void 0}function cM(e){let t=!1;for(let n=0;ns,getSymlinkedDirectories:()=>n,getSymlinkedDirectoriesByRealpath:()=>i,setSymlinkedFile:(y,p)=>(s||(s=new Map)).set(y,p),setSymlinkedDirectory:(y,p)=>{let x=vi(y,e,t);bS(x)||(x=Ko(x),p!==!1&&!(n!=null&&n.has(x))&&(i||(i=nm())).add(Ko(p.realPath),y),(n||(n=new Map)).set(x,p))},setSymlinksFromResolutions(y,p){var x,h;M.assert(!l),l=!0;for(let D of y)(x=D.resolvedModules)==null||x.forEach(w=>d(this,w.resolvedModule)),(h=D.resolvedTypeReferenceDirectiveNames)==null||h.forEach(w=>d(this,w.resolvedTypeReferenceDirective));p.forEach(D=>d(this,D.resolvedTypeReferenceDirective))},hasProcessedResolutions:()=>l};function d(y,p){if(!p||!p.originalPath||!p.resolvedFileName)return;let{resolvedFileName:x,originalPath:h}=p;y.setSymlinkedFile(vi(h,e,t),x);let[D,w]=uM(x,h,e,t)||Xe;D&&w&&y.setSymlinkedDirectory(w,{real:D,realPath:vi(D,e,t)})}}function uM(e,t,n,i){let s=wi(Ta(e,n)),l=wi(Ta(t,n)),d=!1;for(;s.length>=2&&l.length>=2&&!ov(s[s.length-2],i)&&!ov(l[l.length-2],i)&&i(s[s.length-1])===i(l[l.length-1]);)s.pop(),l.pop(),d=!0;return d?[Vo(s),Vo(l)]:void 0}function ov(e,t){return e!==void 0&&(t(e)==="node_modules"||Jn(e,"@"))}function pM(e){return hg(e.charCodeAt(0))?e.slice(1):void 0}function dM(e,t,n){let i=nT(e,t,n);return i===void 0?void 0:pM(i)}function fM(e){return e.replace(Wf,mM)}function mM(e){return"\\"+e}function nf(e,t,n){let i=G2(e,t,n);return!i||!i.length?void 0:`^(${i.map(d=>`(${d})`).join("|")})${n==="exclude"?"($|/)":"$"}`}function G2(e,t,n){if(!(e===void 0||e.length===0))return Wo(e,i=>i&&iS(i,t,n,rb[n]))}function rS(e){return!/[.*?]/.test(e)}function yM(e,t,n){let i=e&&iS(e,t,n,rb[n]);return i&&`^(${i})${n==="exclude"?"($|/)":"$"}`}function iS(e,t,n,{singleAsteriskRegexFragment:i,doubleAsteriskRegexFragment:s,replaceWildcardCharacter:l}){let d="",y=!1,p=_m(e,t),x=ba(p);if(n!=="exclude"&&x==="**")return;p[0]=g_(p[0]),rS(x)&&p.push("**","*");let h=0;for(let D of p){if(D==="**")d+=s;else if(n==="directories"&&(d+="(",h++),y&&(d+=_r),n!=="exclude"){let w="";D.charCodeAt(0)===42?(w+="([^./]"+i+")?",D=D.substr(1)):D.charCodeAt(0)===63&&(w+="[^./]",D=D.substr(1)),w+=D.replace(Wf,l),w!==D&&(d+=af),d+=w}else d+=D.replace(Wf,l);y=!0}for(;h>0;)d+=")?",h--;return d}function Qy(e,t){return e==="*"?t:e==="?"?"[^/]":"\\"+e}function aS(e,t,n,i,s){e=sr(e),s=sr(s);let l=yn(s,e);return{includeFilePatterns:ga(G2(n,l,"files"),d=>`^${d}$`),includeFilePattern:nf(n,l,"files"),includeDirectoryPattern:nf(n,l,"directories"),excludePattern:nf(t,l,"exclude"),basePaths:gM(e,n,i)}}function rf(e,t){return new RegExp(e,t?"":"i")}function hM(e,t,n,i,s,l,d,y,p){e=sr(e),l=sr(l);let x=aS(e,n,i,s,l),h=x.includeFilePatterns&&x.includeFilePatterns.map(oe=>rf(oe,s)),D=x.includeDirectoryPattern&&rf(x.includeDirectoryPattern,s),w=x.excludePattern&&rf(x.excludePattern,s),g=h?h.map(()=>[]):[[]],A=new Map,B=im(s);for(let oe of x.basePaths)G(oe,yn(l,oe),d);return r_(g);function G(oe,Q,W){let se=B(p(Q));if(A.has(se))return;A.set(se,!0);let{files:we,directories:Ze}=y(oe);for(let Ue of pf(we,xi)){let rt=yn(oe,Ue),ct=yn(Q,Ue);if(!(t&&!Wr(rt,t))&&!(w&&w.test(ct)))if(!h)g[0].push(rt);else{let Dn=el(h,sn=>sn.test(ct));Dn!==-1&&g[Dn].push(rt)}}if(!(W!==void 0&&(W--,W===0)))for(let Ue of pf(Ze,xi)){let rt=yn(oe,Ue),ct=yn(Q,Ue);(!D||D.test(ct))&&(!w||!w.test(ct))&&G(rt,ct,W)}}}function gM(e,t,n){let i=[e];if(t){let s=[];for(let l of t){let d=y_(l)?l:sr(yn(e,l));s.push(bM(d))}s.sort(ug(!n));for(let l of s)eo(i,d=>!fT(d,l,e,!n))&&i.push(l)}return i}function bM(e){let t=Jv(e,VS);return t<0?pT(e)?g_(Hi(e)):e:e.substring(0,e.lastIndexOf(_r,t))}function oS(e,t){return t||sS(e)||3}function sS(e){switch(e.substr(e.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 _S(e,t){let n=e&&nS(e);if(!t||t.length===0)return n?Tl:Uo;let i=n?Tl:Uo,s=r_(i);return[...i,...Ka(t,d=>d.scriptKind===7||n&&vM(d.scriptKind)&&s.indexOf(d.extension)===-1?[d.extension]:void 0)]}function cS(e,t){return!e||!tS(e)?t:t===Tl?GS:t===Uo?HS:[...t,[".json"]]}function vM(e){return e===1||e===2}function X2(e){return ft(ab,t=>Ea(e,t))}function $2(e){return ft(ib,t=>Ea(e,t))}function lS({imports:e},t=fg(X2,$2)){return og(e,({text:n})=>is(n)&&!Wr(n,Wm)?t(n):void 0)||!1}function TM(e,t,n,i){if(e==="js"||t===99)return shouldAllowImportingTsExtension(n)&&s()!==2?3:2;if(e==="minimal")return 0;if(e==="index")return 1;if(!shouldAllowImportingTsExtension(n))return lS(i)?2:0;return s();function s(){let l=!1,d=i.imports.length?i.imports.map(y=>y.text):p2(i)?xM(i).map(y=>y.arguments[0].text):Xe;for(let y of d)if(is(y)){if(Wr(y,Wm))continue;if($2(y))return 3;X2(y)&&(l=!0)}return l?2:0}}function xM(e){let t=0,n;for(let i of e.statements){if(t>3)break;x4(i)?n=d_(n,i.declarationList.declarations.map(s=>s.initializer)):Zl(i)&&Ll(i.expression,!0)?n=Tt(n,i.expression):t++}return n||Xe}function SM(e,t,n){if(!e)return!1;let i=_S(t,n);for(let s of r_(cS(t,i)))if(Ea(e,s))return!0;return!1}function sv(e){let t=e.match(/\//g);return t?t.length:0}function wM(e,t){return wn(sv(e),sv(t))}function bl(e){for(let t of Vm){let n=uS(e,t);if(n!==void 0)return n}return e}function uS(e,t){return Ea(e,t)?pS(e,t):void 0}function pS(e,t){return e.substring(0,e.length-t.length)}function EM(e,t){return dT(e,t,Vm,!1)}function dS(e){let t=e.indexOf("*");return t===-1?e:e.indexOf("*",t+1)!==-1?void 0:{prefix:e.substr(0,t),suffix:e.substr(t+1)}}function CM(e){return Ka(lg(e),t=>dS(t))}function wa(e){return!(e>=0)}function fS(e){return e===".ts"||e===".tsx"||e===".d.ts"||e===".cts"||e===".mts"||e===".d.mts"||e===".d.cts"||Jn(e,".d.")&&rs(e,".ts")}function kM(e){return fS(e)||e===".json"}function Gc(e){let t=Q2(e);return t!==void 0?t:M.fail(`File ${e} has unknown extension.`)}function AM(e){return Q2(e)!==void 0}function Q2(e){return $n(Vm,t=>Ea(e,t))}function DM(e,t){return e.checkJsDirective?e.checkJsDirective.enabled:t.checkJs}function PM(e,t){let n=[];for(let i of e){if(i===t)return t;m_(i)||n.push(i)}return tT(n,i=>i,t)}function NM(e,t){let n=e.indexOf(t);return M.assert(n!==-1),e.slice(n)}function Xc(e,...t){return t.length&&(e.relatedInformation||(e.relatedInformation=[]),M.assert(e.relatedInformation!==Xe,"Diagnostic had empty array singleton for related info, but is still being constructed!"),e.relatedInformation.push(...t)),e}function IM(e,t){M.assert(e.length!==0);let n=t(e[0]),i=n;for(let s=1;si&&(i=l)}return{min:n,max:i}}function OM(e){return{pos:Qo(e),end:e.end}}function MM(e,t){let n=t.pos-1,i=Math.min(e.text.length,It(e.text,t.end)+1);return{pos:n,end:i}}function LM(e,t,n){return t.skipLibCheck&&e.isDeclarationFile||t.skipDefaultLibCheck&&e.hasNoDefaultLib||n.isSourceOfProjectReferenceRedirect(e.fileName)}function Y2(e,t){return e===t||typeof e=="object"&&e!==null&&typeof t=="object"&&t!==null&&Vv(e,t,Y2)}function qm(e){let t;switch(e.charCodeAt(1)){case 98:case 66:t=1;break;case 111:case 79:t=3;break;case 120:case 88:t=4;break;default:let x=e.length-1,h=0;for(;e.charCodeAt(h)===48;)h++;return e.slice(h,x)||"0"}let n=2,i=e.length-1,s=(i-n)*t,l=new Uint16Array((s>>>4)+(s&15?1:0));for(let x=i-1,h=0;x>=n;x--,h+=t){let D=h>>>4,w=e.charCodeAt(x),A=(w<=57?w-48:10+w-(w<=70?65:97))<<(h&15);l[D]|=A;let B=A>>>16;B&&(l[D+1]|=B)}let d="",y=l.length-1,p=!0;for(;p;){let x=0;p=!1;for(let h=y;h>=0;h--){let D=x<<16|l[h],w=D/10|0;l[h]=w,x=D-w*10,w&&!p&&(y=h,p=!0)}d=x+d}return d}function Z2({negative:e,base10Value:t}){return(e&&t!=="0"?"-":"")+t}function JM(e){if(yS(e,!1))return mS(e)}function mS(e){let t=e.startsWith("-"),n=qm(`${t?e.slice(1):e}n`);return{negative:t,base10Value:n}}function yS(e,t){if(e==="")return!1;let n=as(99,!1),i=!0;n.setOnError(()=>i=!1),n.setText(e+"n");let s=n.scan(),l=s===41;l&&(s=n.scan());let d=n.getTokenFlags();return i&&s===10&&n.getTokenEnd()===e.length+1&&!(d&512)&&(!t||e===Z2({negative:l,base10Value:qm(n.getTokenValue())}))}function RM(e){return!!(e.flags&16777216)||h4(e)||BM(e)||jM(e)||!(u2(e)||FM(e))}function FM(e){return Ce(e)&&tu(e.parent)&&e.parent.name===e}function jM(e){for(;e.kind===80||e.kind===210;)e=e.parent;if(e.kind!==166)return!1;if(gn(e.parent,256))return!0;let t=e.parent.parent.kind;return t===263||t===186}function BM(e){if(e.kind!==80)return!1;let t=Xr(e.parent,n=>{switch(n.kind){case 297:return!0;case 210:case 232:return!1;default:return"quit"}});return(t==null?void 0:t.token)===119||(t==null?void 0:t.parent.kind)===263}function UM(e){return I_(e)&&Ce(e.typeName)}function qM(e,t=to){if(e.length<2)return!0;let n=e[0];for(let i=1,s=e.length;iGa(e,t))}function KM(e){if(!e.parent)return;switch(e.kind){case 167:let{parent:n}=e;return n.kind===194?void 0:n.typeParameters;case 168:return e.parent.parameters;case 203:return e.parent.templateSpans;case 238:return e.parent.templateSpans;case 169:{let{parent:i}=e;return i7(i)?i.modifiers:void 0}case 297:return e.parent.heritageClauses}let{parent:t}=e;if(Kg(e))return Ob(e.parent)?void 0:e.parent.tags;switch(t.kind){case 186:case 263:return Ug(e)?t.members:void 0;case 191:case 192:return t.types;case 188:case 208:case 360:case 274:case 278:return t.elements;case 209:case 291:return t.properties;case 212:case 213:return x0(e)?t.typeArguments:t.expression===e?void 0:t.arguments;case 283:case 287:return jx(e)?t.children:void 0;case 285:case 284:return x0(e)?t.typeArguments:void 0;case 240:case 295:case 296:case 267:return t.statements;case 268:return t.clauses;case 262:case 230:return Qa(e)?t.members:void 0;case 265:return M8(e)?t.members:void 0;case 311:return t.statements}}function GM(e){if(!e.typeParameters){if(ft(e.parameters,t=>!M2(t)))return!0;if(e.kind!==218){let t=f_(e.parameters);if(!(t&&jl(t)))return!0}}return!1}function XM(e){return e==="Infinity"||e==="-Infinity"||e==="NaN"}function vS(e){return e.kind===259&&e.parent.kind===298}function $M(e){let t=e.valueDeclaration&&Lm(e.valueDeclaration);return!!t&&(io(t)||vS(t))}function QM(e){return e.kind===217||e.kind===218}function YM(e){return e.replace(/\$/gm,()=>"\\$")}function TS(e){return(+e).toString()===e}function ZM(e,t,n,i){return Ag(e,t)?Dr.createIdentifier(e):!i&&TS(e)&&+e>=0?Dr.createNumericLiteral(+e):Dr.createStringLiteral(e,!!n)}function xS(e){return!!(e.flags&262144&&e.isThisType)}function eL(e){let t=0,n=0,i=0,s=0,l;(x=>{x[x.BeforeNodeModules=0]="BeforeNodeModules",x[x.NodeModules=1]="NodeModules",x[x.Scope=2]="Scope",x[x.PackageContent=3]="PackageContent"})(l||(l={}));let d=0,y=0,p=0;for(;y>=0;)switch(d=y,y=e.indexOf("/",d+1),p){case 0:e.indexOf(nodeModulesPathPart,d)===d&&(t=d,n=y,p=1);break;case 1:case 2:p===1&&e.charAt(d+1)==="@"?p=2:(i=y,p=3);break;case 3:e.indexOf(nodeModulesPathPart,d)===d?p=1:p=3;break}return s=d,p>1?{topLevelNodeModulesIndex:t,topLevelPackageNameIndex:n,packageRootIndex:i,fileNameIndex:s}:void 0}function tL(e){var t;return e.kind===347?(t=e.typeExpression)==null?void 0:t.type:e.type}function SS(e){switch(e.kind){case 167:case 262:case 263:case 264:case 265:case 352:case 344:case 346:return!0;case 272:return e.isTypeOnly;case 275:case 280:return e.parent.parent.isTypeOnly;default:return!1}}function nL(e){return Eb(e)||_s(e)||cs(e)||u_(e)||eu(e)||SS(e)||Gi(e)&&!$g(e)&&!Am(e)}function wS(e){if(!Mg(e))return!1;let{isBracketed:t,typeExpression:n}=e;return t||!!n&&n.type.kind===322}function rL(e,t){if(e.length===0)return!1;let n=e.charCodeAt(0);return n===35?e.length>1&&or(e.charCodeAt(1),t):or(n,t)}function ES(e){var t;return((t=getSnippetElement(e))==null?void 0:t.kind)===0}function CS(e){return Vt(e)&&(e.type&&e.type.kind===322||hm(e).some(({isBracketed:t,typeExpression:n})=>t||!!n&&n.type.kind===322))}function iL(e){switch(e.kind){case 171:case 170:return!!e.questionToken;case 168:return!!e.questionToken||CS(e);case 354:case 347:return wS(e);default:return!1}}function aL(e){let t=e.kind;return(t===210||t===211)&&qo(e.expression)}function oL(e){return Vt(e)&&ss(e)&&Ui(e)&&!!Ng(e)}function sL(e){return M.checkDefined(kS(e))}function kS(e){let t=Ng(e);return t&&t.typeExpression&&t.typeExpression.type}function _L(e){return Ce(e)?e.escapedText:Ul(e)}function cL(e){return Ce(e)?Ot(e):ql(e)}function lL(e){let t=e.kind;return t===80||t===294}function Ul(e){return`${e.namespace.escapedText}:${Ot(e.name)}`}function ql(e){return`${Ot(e.namespace)}:${Ot(e.name)}`}function uL(e){return Ce(e)?Ot(e):ql(e)}var AS,zm,DS,PS,$s,q0,eb,NS,IS,tb,OS,MS,z0,W0,V0,H0,LS,JS,RS,FS,jS,K0,BS,US,qS,Mo,ji,zS,WS,xt,nb,vl,Wf,VS,G0,af,Yy,Zy,eh,rb,Uo,ib,HS,KS,X0,ab,Tl,GS,ob,XS,Wm,$0,Vm,$S,pL=Ht({"src/compiler/utilities.ts"(){"use strict";En(),AS=[],zm="tslib",DS=160,PS=1e6,$s=RA(),q0=(e=>(e[e.None=0]="None",e[e.NeverAsciiEscape=1]="NeverAsciiEscape",e[e.JsxAttributeEscape=2]="JsxAttributeEscape",e[e.TerminateUnterminatedLiterals=4]="TerminateUnterminatedLiterals",e[e.AllowNumericSeparator=8]="AllowNumericSeparator",e))(q0||{}),eb=/^(\/\/\/\s*/,NS=/^(\/\/\/\s*/,IS=/^(\/\/\/\s*/,tb=/^(\/\/\/\s*/,OS=/^\/\/\/\s*/,MS=/^(\/\/\/\s*/,z0=(e=>(e[e.None=0]="None",e[e.Definite=1]="Definite",e[e.Compound=2]="Compound",e))(z0||{}),W0=(e=>(e[e.Normal=0]="Normal",e[e.Generator=1]="Generator",e[e.Async=2]="Async",e[e.Invalid=4]="Invalid",e[e.AsyncGenerator=3]="AsyncGenerator",e))(W0||{}),V0=(e=>(e[e.Left=0]="Left",e[e.Right=1]="Right",e))(V0||{}),H0=(e=>(e[e.Comma=0]="Comma",e[e.Spread=1]="Spread",e[e.Yield=2]="Yield",e[e.Assignment=3]="Assignment",e[e.Conditional=4]="Conditional",e[e.Coalesce=4]="Coalesce",e[e.LogicalOR=5]="LogicalOR",e[e.LogicalAND=6]="LogicalAND",e[e.BitwiseOR=7]="BitwiseOR",e[e.BitwiseXOR=8]="BitwiseXOR",e[e.BitwiseAND=9]="BitwiseAND",e[e.Equality=10]="Equality",e[e.Relational=11]="Relational",e[e.Shift=12]="Shift",e[e.Additive=13]="Additive",e[e.Multiplicative=14]="Multiplicative",e[e.Exponentiation=15]="Exponentiation",e[e.Unary=16]="Unary",e[e.Update=17]="Update",e[e.LeftHandSide=18]="LeftHandSide",e[e.Member=19]="Member",e[e.Primary=20]="Primary",e[e.Highest=20]="Highest",e[e.Lowest=0]="Lowest",e[e.Invalid=-1]="Invalid",e))(H0||{}),LS=/\$\{/g,JS=/[\\\"\u0000-\u001f\t\v\f\b\r\n\u2028\u2029\u0085]/g,RS=/[\\\'\u0000-\u001f\t\v\f\b\r\n\u2028\u2029\u0085]/g,FS=/\r\n|[\\\`\u0000-\u001f\t\v\f\b\r\u2028\u2029\u0085]/g,jS=new Map(Object.entries({" ":"\\t","\v":"\\v","\f":"\\f","\b":"\\b","\r":"\\r","\n":"\\n","\\":"\\\\",'"':'\\"',"'":"\\'","`":"\\`","\u2028":"\\u2028","\u2029":"\\u2029","\x85":"\\u0085","\r\n":"\\r\\n"})),K0=/[^\u0000-\u007F]/g,BS=/[\"\u0000-\u001f\u2028\u2029\u0085]/g,US=/[\'\u0000-\u001f\u2028\u2029\u0085]/g,qS=new Map(Object.entries({'"':""","'":"'"})),Mo=[""," "],ji="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",zS=`\r -`,WS=` -`,xt={getNodeConstructor:()=>$y,getTokenConstructor:()=>OO,getIdentifierConstructor:()=>MO,getPrivateIdentifierConstructor:()=>$y,getSourceFileConstructor:()=>$y,getSymbolConstructor:()=>PO,getTypeConstructor:()=>NO,getSignatureConstructor:()=>IO,getSourceMapSourceConstructor:()=>LO},nb=[],Wf=/[^\w\s\/]/g,VS=[42,63],G0=["node_modules","bower_components","jspm_packages"],af=`(?!(${G0.join("|")})(/|$))`,Yy={singleAsteriskRegexFragment:"([^./]|(\\.(?!min\\.js$))?)*",doubleAsteriskRegexFragment:`(/${af}[^/.][^/]*)*?`,replaceWildcardCharacter:e=>Qy(e,Yy.singleAsteriskRegexFragment)},Zy={singleAsteriskRegexFragment:"[^/]*",doubleAsteriskRegexFragment:`(/${af}[^/.][^/]*)*?`,replaceWildcardCharacter:e=>Qy(e,Zy.singleAsteriskRegexFragment)},eh={singleAsteriskRegexFragment:"[^/]*",doubleAsteriskRegexFragment:"(/.+?)?",replaceWildcardCharacter:e=>Qy(e,eh.singleAsteriskRegexFragment)},rb={files:Yy,directories:Zy,exclude:eh},Uo=[[".ts",".tsx",".d.ts"],[".cts",".d.cts"],[".mts",".d.mts"]],ib=r_(Uo),HS=[...Uo,[".json"]],KS=[".d.ts",".d.cts",".d.mts",".cts",".mts",".ts",".tsx"],X0=[[".js",".jsx"],[".mjs"],[".cjs"]],ab=r_(X0),Tl=[[".ts",".tsx",".d.ts",".js",".jsx"],[".cts",".d.cts",".cjs"],[".mts",".d.mts",".mjs"]],GS=[...Tl,[".json"]],ob=[".d.ts",".d.cts",".d.mts"],XS=[".ts",".cts",".mts",".tsx"],Wm=[".mts",".d.mts",".mjs",".cts",".d.cts",".cjs"],$0=(e=>(e[e.Minimal=0]="Minimal",e[e.Index=1]="Index",e[e.JsExtension=2]="JsExtension",e[e.TsExtension=3]="TsExtension",e))($0||{}),Vm=[".d.ts",".d.mts",".d.cts",".mjs",".mts",".cjs",".cts",".ts",".js",".tsx",".jsx",".json"],$S={files:Xe,directories:Xe}}});function QS(){let e,t,n,i,s;return{createBaseSourceFileNode:l,createBaseIdentifierNode:d,createBasePrivateIdentifierNode:y,createBaseTokenNode:p,createBaseNode:x};function l(h){return new(s||(s=xt.getSourceFileConstructor()))(h,-1,-1)}function d(h){return new(n||(n=xt.getIdentifierConstructor()))(h,-1,-1)}function y(h){return new(i||(i=xt.getPrivateIdentifierConstructor()))(h,-1,-1)}function p(h){return new(t||(t=xt.getTokenConstructor()))(h,-1,-1)}function x(h){return new(e||(e=xt.getNodeConstructor()))(h,-1,-1)}}var dL=Ht({"src/compiler/factory/baseNodeFactory.ts"(){"use strict";En()}}),sb,fL=Ht({"src/compiler/factory/parenthesizerRules.ts"(){"use strict";En(),sb={getParenthesizeLeftSideOfBinaryForOperator:e=>ht,getParenthesizeRightSideOfBinaryForOperator:e=>ht,parenthesizeLeftSideOfBinary:(e,t)=>t,parenthesizeRightSideOfBinary:(e,t,n)=>n,parenthesizeExpressionOfComputedPropertyName:ht,parenthesizeConditionOfConditionalExpression:ht,parenthesizeBranchOfConditionalExpression:ht,parenthesizeExpressionOfExportDefault:ht,parenthesizeExpressionOfNew:e=>mi(e,jo),parenthesizeLeftSideOfAccess:e=>mi(e,jo),parenthesizeOperandOfPostfixUnary:e=>mi(e,jo),parenthesizeOperandOfPrefixUnary:e=>mi(e,Ox),parenthesizeExpressionsOfCommaDelimitedList:e=>mi(e,ua),parenthesizeExpressionForDisallowedComma:ht,parenthesizeExpressionOfExpressionStatement:ht,parenthesizeConciseBodyOfArrowFunction:ht,parenthesizeCheckTypeOfConditionalType:ht,parenthesizeExtendsTypeOfConditionalType:ht,parenthesizeConstituentTypesOfUnionType:e=>mi(e,ua),parenthesizeConstituentTypeOfUnionType:ht,parenthesizeConstituentTypesOfIntersectionType:e=>mi(e,ua),parenthesizeConstituentTypeOfIntersectionType:ht,parenthesizeOperandOfTypeOperator:ht,parenthesizeOperandOfReadonlyTypeOperator:ht,parenthesizeNonArrayTypeOfPostfixType:ht,parenthesizeElementTypesOfTupleType:e=>mi(e,ua),parenthesizeElementTypeOfTupleType:ht,parenthesizeTypeOfOptionalType:ht,parenthesizeTypeArguments:e=>e&&mi(e,ua),parenthesizeLeadingTypeArgument:ht}}}),mL=()=>{},YS=()=>new Proxy({},{get:()=>()=>{}});function yL(e){_b.push(e)}function Vf(e,t){let n=e&8?hL:gL,i=ah(()=>e&1?sb:createParenthesizerRules(oe)),s=ah(()=>e&2?nullNodeConverters:YS(oe)),l=kr(r=>(o,_)=>ic(o,r,_)),d=kr(r=>o=>nc(r,o)),y=kr(r=>o=>rc(o,r)),p=kr(r=>()=>Q1(r)),x=kr(r=>o=>Ns(r,o)),h=kr(r=>(o,_)=>Op(r,o,_)),D=kr(r=>(o,_)=>Ip(r,o,_)),w=kr(r=>(o,_)=>Y1(r,o,_)),g=kr(r=>(o,_)=>$p(r,o,_)),A=kr(r=>(o,_,u)=>cy(r,o,_,u)),B=kr(r=>(o,_,u)=>Qp(r,o,_,u)),G=kr(r=>(o,_,u,b)=>ly(r,o,_,u,b)),oe={get parenthesizer(){return i()},get converters(){return s()},baseFactory:t,flags:e,createNodeArray:Q,createNumericLiteral:Ze,createBigIntLiteral:Ue,createStringLiteral:ct,createStringLiteralFromNode:Dn,createRegularExpressionLiteral:sn,createLiteralLikeNode:ei,createIdentifier:$e,createTempVariable:$t,createLoopVariable:jn,createUniqueName:Qt,getGeneratedNameForNode:fr,createPrivateIdentifier:dn,createUniquePrivateName:vt,getGeneratedPrivateNameForNode:Un,createToken:gt,createSuper:lt,createThis:Zt,createNull:zn,createTrue:mt,createFalse:mr,createModifier:bt,createModifiersFromModifierFlags:cn,createQualifiedName:dt,updateQualifiedName:Qn,createComputedPropertyName:ut,updateComputedPropertyName:Jt,createTypeParameterDeclaration:ln,updateTypeParameterDeclaration:yr,createParameterDeclaration:Mr,updateParameterDeclaration:ti,createDecorator:Wn,updateDecorator:hr,createPropertySignature:Ci,updatePropertySignature:Ie,createPropertyDeclaration:de,updatePropertyDeclaration:be,createMethodSignature:Ee,updateMethodSignature:et,createMethodDeclaration:Qe,updateMethodDeclaration:ee,createConstructorDeclaration:We,updateConstructorDeclaration:Re,createGetAccessorDeclaration:Nt,updateGetAccessorDeclaration:Vn,createSetAccessorDeclaration:gr,updateSetAccessorDeclaration:ni,createCallSignature:na,updateCallSignature:Pa,createConstructSignature:br,updateConstructSignature:ii,createIndexSignature:ai,updateIndexSignature:ra,createClassStaticBlockDeclaration:ae,updateClassStaticBlockDeclaration:Te,createTemplateLiteralTypeSpan:Lr,updateTemplateLiteralTypeSpan:Nn,createKeywordTypeNode:Fe,createTypePredicateNode:ki,updateTypePredicateNode:wt,createTypeReferenceNode:j,updateTypeReferenceNode:E,createFunctionTypeNode:S,updateFunctionTypeNode:J,createConstructorTypeNode:ie,updateConstructorTypeNode:me,createTypeQueryNode:De,updateTypeQueryNode:ot,createTypeLiteralNode:st,updateTypeLiteralNode:Ye,createArrayTypeNode:Ft,updateArrayTypeNode:Et,createTupleTypeNode:bn,updateTupleTypeNode:Ct,createNamedTupleMember:Pe,updateNamedTupleMember:jt,createOptionalTypeNode:Yn,updateOptionalTypeNode:Pt,createRestTypeNode:Y,updateRestTypeNode:Le,createUnionTypeNode:Zn,updateUnionTypeNode:lo,createIntersectionTypeNode:Na,updateIntersectionTypeNode:vr,createConditionalTypeNode:Je,updateConditionalTypeNode:at,createInferTypeNode:pu,updateInferTypeNode:oi,createImportTypeNode:fu,updateImportTypeNode:Ai,createParenthesizedType:uo,updateParenthesizedType:In,createThisTypeNode:Bt,createTypeOperatorNode:F,updateTypeOperatorNode:Hn,createIndexedAccessTypeNode:Di,updateIndexedAccessTypeNode:ia,createMappedTypeNode:vs,updateMappedTypeNode:Ut,createLiteralTypeNode:zt,updateLiteralTypeNode:aa,createTemplateLiteralType:du,updateTemplateLiteralType:vn,createObjectBindingPattern:mu,updateObjectBindingPattern:b1,createArrayBindingPattern:oa,updateArrayBindingPattern:v1,createBindingElement:Ts,updateBindingElement:Ia,createArrayLiteralExpression:H_,updateArrayLiteralExpression:yu,createObjectLiteralExpression:po,updateObjectLiteralExpression:T1,createPropertyAccessExpression:e&4?(r,o)=>setEmitFlags(si(r,o),262144):si,updatePropertyAccessExpression:gu,createPropertyAccessChain:e&4?(r,o,_)=>setEmitFlags(Oa(r,o,_),262144):Oa,updatePropertyAccessChain:bu,createElementAccessExpression:K_,updateElementAccessExpression:x1,createElementAccessChain:G_,updateElementAccessChain:vu,createCallExpression:Pi,updateCallExpression:S1,createCallChain:X_,updateCallChain:er,createNewExpression:Ss,updateNewExpression:$_,createTaggedTemplateExpression:Q_,updateTaggedTemplateExpression:w1,createTypeAssertion:xu,updateTypeAssertion:Su,createParenthesizedExpression:Y_,updateParenthesizedExpression:wu,createFunctionExpression:Z_,updateFunctionExpression:Eu,createArrowFunction:ec,updateArrowFunction:Cu,createDeleteExpression:tc,updateDeleteExpression:E1,createTypeOfExpression:Tn,updateTypeOfExpression:C1,createVoidExpression:Tr,updateVoidExpression:k1,createAwaitExpression:Ni,updateAwaitExpression:Ma,createPrefixUnaryExpression:nc,updatePrefixUnaryExpression:ws,createPostfixUnaryExpression:rc,updatePostfixUnaryExpression:ku,createBinaryExpression:ic,updateBinaryExpression:A1,createConditionalExpression:ac,updateConditionalExpression:D1,createTemplateExpression:Jr,updateTemplateExpression:Du,createTemplateHead:Cs,createTemplateMiddle:sc,createTemplateTail:P1,createNoSubstitutionTemplateLiteral:Nu,createTemplateLiteralLikeNode:La,createYieldExpression:Iu,updateYieldExpression:N1,createSpreadElement:Ou,updateSpreadElement:I1,createClassExpression:Mu,updateClassExpression:ks,createOmittedExpression:O1,createExpressionWithTypeArguments:Lu,updateExpressionWithTypeArguments:tr,createAsExpression:As,updateAsExpression:Ju,createNonNullExpression:Ru,updateNonNullExpression:_c,createSatisfiesExpression:Fu,updateSatisfiesExpression:cc,createNonNullChain:xr,updateNonNullChain:ju,createMetaProperty:Ds,updateMetaProperty:_i,createTemplateSpan:mo,updateTemplateSpan:Bu,createSemicolonClassElement:Uu,createBlock:Ja,updateBlock:qu,createVariableStatement:zu,updateVariableStatement:Wu,createEmptyStatement:lc,createExpressionStatement:yo,updateExpressionStatement:M1,createIfStatement:uc,updateIfStatement:L1,createDoStatement:pc,updateDoStatement:J1,createWhileStatement:Vu,updateWhileStatement:R1,createForStatement:dc,updateForStatement:Hu,createForInStatement:Ku,updateForInStatement:F1,createForOfStatement:Gu,updateForOfStatement:j1,createContinueStatement:Xu,updateContinueStatement:$u,createBreakStatement:fc,updateBreakStatement:Qu,createReturnStatement:Yu,updateReturnStatement:B1,createWithStatement:mc,updateWithStatement:Zu,createSwitchStatement:yc,updateSwitchStatement:Ra,createLabeledStatement:ep,updateLabeledStatement:tp,createThrowStatement:np,updateThrowStatement:U1,createTryStatement:rp,updateTryStatement:q1,createDebuggerStatement:ip,createVariableDeclaration:Ps,updateVariableDeclaration:ap,createVariableDeclarationList:hc,updateVariableDeclarationList:z1,createFunctionDeclaration:op,updateFunctionDeclaration:gc,createClassDeclaration:sp,updateClassDeclaration:bc,createInterfaceDeclaration:_p,updateInterfaceDeclaration:cp,createTypeAliasDeclaration:yt,updateTypeAliasDeclaration:Ii,createEnumDeclaration:vc,updateEnumDeclaration:Oi,createModuleDeclaration:lp,updateModuleDeclaration:Mt,createModuleBlock:Mi,updateModuleBlock:un,createCaseBlock:up,updateCaseBlock:V1,createNamespaceExportDeclaration:pp,updateNamespaceExportDeclaration:dp,createImportEqualsDeclaration:fp,updateImportEqualsDeclaration:mp,createImportDeclaration:yp,updateImportDeclaration:hp,createImportClause:gp,updateImportClause:bp,createAssertClause:Tc,updateAssertClause:K1,createAssertEntry:ho,updateAssertEntry:vp,createImportTypeAssertionContainer:xc,updateImportTypeAssertionContainer:Tp,createNamespaceImport:xp,updateNamespaceImport:Sc,createNamespaceExport:Sp,updateNamespaceExport:wp,createNamedImports:Ep,updateNamedImports:G1,createImportSpecifier:Cp,updateImportSpecifier:X1,createExportAssignment:wc,updateExportAssignment:Ec,createExportDeclaration:ci,updateExportDeclaration:kp,createNamedExports:Fa,updateNamedExports:Dp,createExportSpecifier:Cc,updateExportSpecifier:go,createMissingDeclaration:$1,createExternalModuleReference:Pp,updateExternalModuleReference:Np,get createJSDocAllType(){return p(318)},get createJSDocUnknownType(){return p(319)},get createJSDocNonNullableType(){return D(321)},get updateJSDocNonNullableType(){return w(321)},get createJSDocNullableType(){return D(320)},get updateJSDocNullableType(){return w(320)},get createJSDocOptionalType(){return x(322)},get updateJSDocOptionalType(){return h(322)},get createJSDocVariadicType(){return x(324)},get updateJSDocVariadicType(){return h(324)},get createJSDocNamepathType(){return x(325)},get updateJSDocNamepathType(){return h(325)},createJSDocFunctionType:Mp,updateJSDocFunctionType:Z1,createJSDocTypeLiteral:Lp,updateJSDocTypeLiteral:ey,createJSDocTypeExpression:Jp,updateJSDocTypeExpression:ty,createJSDocSignature:Rp,updateJSDocSignature:ny,createJSDocTemplateTag:Fp,updateJSDocTemplateTag:Is,createJSDocTypedefTag:vo,updateJSDocTypedefTag:kc,createJSDocParameterTag:Ac,updateJSDocParameterTag:jp,createJSDocPropertyTag:Os,updateJSDocPropertyTag:ry,createJSDocCallbackTag:Dc,updateJSDocCallbackTag:iy,createJSDocOverloadTag:Bp,updateJSDocOverloadTag:Up,createJSDocAugmentsTag:qp,updateJSDocAugmentsTag:zp,createJSDocImplementsTag:Wp,updateJSDocImplementsTag:_y,createJSDocSeeTag:Ms,updateJSDocSeeTag:Vp,createJSDocNameReference:ja,updateJSDocNameReference:ay,createJSDocMemberName:sa,updateJSDocMemberName:Ls,createJSDocLink:Hp,updateJSDocLink:oy,createJSDocLinkCode:Kp,updateJSDocLinkCode:sy,createJSDocLinkPlain:Gp,updateJSDocLinkPlain:Xp,get createJSDocTypeTag(){return B(350)},get updateJSDocTypeTag(){return G(350)},get createJSDocReturnTag(){return B(348)},get updateJSDocReturnTag(){return G(348)},get createJSDocThisTag(){return B(349)},get updateJSDocThisTag(){return G(349)},get createJSDocAuthorTag(){return g(336)},get updateJSDocAuthorTag(){return A(336)},get createJSDocClassTag(){return g(338)},get updateJSDocClassTag(){return A(338)},get createJSDocPublicTag(){return g(339)},get updateJSDocPublicTag(){return A(339)},get createJSDocPrivateTag(){return g(340)},get updateJSDocPrivateTag(){return A(340)},get createJSDocProtectedTag(){return g(341)},get updateJSDocProtectedTag(){return A(341)},get createJSDocReadonlyTag(){return g(342)},get updateJSDocReadonlyTag(){return A(342)},get createJSDocOverrideTag(){return g(343)},get updateJSDocOverrideTag(){return A(343)},get createJSDocDeprecatedTag(){return g(337)},get updateJSDocDeprecatedTag(){return A(337)},get createJSDocThrowsTag(){return B(355)},get updateJSDocThrowsTag(){return G(355)},get createJSDocSatisfiesTag(){return B(356)},get updateJSDocSatisfiesTag(){return G(356)},createJSDocEnumTag:Zp,updateJSDocEnumTag:py,createJSDocUnknownTag:Yp,updateJSDocUnknownTag:uy,createJSDocText:ed,updateJSDocText:dy,createJSDocComment:td,updateJSDocComment:Pc,createJsxElement:nd,updateJsxElement:rd,createJsxSelfClosingElement:Nc,updateJsxSelfClosingElement:fy,createJsxOpeningElement:To,updateJsxOpeningElement:id,createJsxClosingElement:ad,updateJsxClosingElement:my,createJsxFragment:fn,createJsxText:xo,updateJsxText:yy,createJsxOpeningFragment:sd,createJsxJsxClosingFragment:hy,updateJsxFragment:od,createJsxAttribute:So,updateJsxAttribute:gy,createJsxAttributes:_d,updateJsxAttributes:by,createJsxSpreadAttribute:cd,updateJsxSpreadAttribute:Ic,createJsxExpression:Ba,updateJsxExpression:vy,createJsxNamespacedName:Js,updateJsxNamespacedName:ld,createCaseClause:ud,updateCaseClause:Oc,createDefaultClause:Mc,updateDefaultClause:Ty,createHeritageClause:pd,updateHeritageClause:dd,createCatchClause:Lc,updateCatchClause:fd,createPropertyAssignment:Li,updatePropertyAssignment:xy,createShorthandPropertyAssignment:md,updateShorthandPropertyAssignment:wy,createSpreadAssignment:Jc,updateSpreadAssignment:Fr,createEnumMember:Rc,updateEnumMember:Ey,createSourceFile:Cy,updateSourceFile:vd,createRedirectedSourceFile:hd,createBundle:Td,updateBundle:Ay,createUnparsedSource:Rs,createUnparsedPrologue:Dy,createUnparsedPrepend:Py,createUnparsedTextLike:Ny,createUnparsedSyntheticReference:Iy,createInputFiles:Oy,createSyntheticExpression:xd,createSyntaxList:Sd,createNotEmittedStatement:wd,createPartiallyEmittedExpression:Ed,updatePartiallyEmittedExpression:Cd,createCommaListExpression:js,updateCommaListExpression:My,createSyntheticReferenceExpression:Ad,updateSyntheticReferenceExpression:Ly,cloneNode:Bc,get createComma(){return l(28)},get createAssignment(){return l(64)},get createLogicalOr(){return l(57)},get createLogicalAnd(){return l(56)},get createBitwiseOr(){return l(52)},get createBitwiseXor(){return l(53)},get createBitwiseAnd(){return l(51)},get createStrictEquality(){return l(37)},get createStrictInequality(){return l(38)},get createEquality(){return l(35)},get createInequality(){return l(36)},get createLessThan(){return l(30)},get createLessThanEquals(){return l(33)},get createGreaterThan(){return l(32)},get createGreaterThanEquals(){return l(34)},get createLeftShift(){return l(48)},get createRightShift(){return l(49)},get createUnsignedRightShift(){return l(50)},get createAdd(){return l(40)},get createSubtract(){return l(41)},get createMultiply(){return l(42)},get createDivide(){return l(44)},get createModulo(){return l(45)},get createExponent(){return l(43)},get createPrefixPlus(){return d(40)},get createPrefixMinus(){return d(41)},get createPrefixIncrement(){return d(46)},get createPrefixDecrement(){return d(47)},get createBitwiseNot(){return d(55)},get createLogicalNot(){return d(54)},get createPostfixIncrement(){return y(46)},get createPostfixDecrement(){return y(47)},createImmediatelyInvokedFunctionExpression:jy,createImmediatelyInvokedArrowFunction:By,createVoidZero:Bs,createExportDefault:Us,createExternalModuleExport:Uy,createTypeCheck:Dd,createMethodCall:_a,createGlobalMethodCall:wo,createFunctionBindCall:qy,createFunctionCallCall:Pd,createFunctionApplyCall:zy,createArraySliceCall:Wy,createArrayConcatCall:Nd,createObjectDefinePropertyCall:Id,createObjectGetOwnPropertyDescriptorCall:Od,createReflectGetCall:c,createReflectSetCall:f,createPropertyDescriptor:C,createCallBinding:ce,createAssignmentTargetWrapper:ve,inlineExpressions:Ge,getInternalName:Be,getLocalName:Lt,getExportName:On,getDeclarationName:ca,getNamespaceMemberName:li,getExternalModuleOrNamespaceExportName:Ji,restoreOuterExpressions:ne,restoreEnclosingLabel:_e,createUseStrictPrologue:Uc,copyPrologue:Ri,copyStandardPrologue:Md,copyCustomPrologue:qc,ensureUseStrict:Vy,liftToBlock:Ld,mergeLexicalEnvironment:Fi,updateModifiers:Jd};return hn(_b,r=>r(oe)),oe;function Q(r,o){if(r===void 0||r===Xe)r=[];else if(ua(r)){if(o===void 0||r.hasTrailingComma===o)return r.transformFlags===void 0&&_v(r),M.attachNodeArrayDebugInfo(r),r;let b=r.slice();return b.pos=r.pos,b.end=r.end,b.hasTrailingComma=o,b.transformFlags=r.transformFlags,M.attachNodeArrayDebugInfo(b),b}let _=r.length,u=_>=1&&_<=4?r.slice():r;return u.pos=-1,u.end=-1,u.hasTrailingComma=!!o,u.transformFlags=0,_v(u),M.attachNodeArrayDebugInfo(u),u}function W(r){return t.createBaseNode(r)}function se(r){let o=W(r);return o.symbol=void 0,o.localSymbol=void 0,o}function we(r,o){return r!==o&&(r.typeArguments=o.typeArguments),n(r,o)}function Ze(r,o=0){let _=se(9);return _.text=typeof r=="number"?r+"":r,_.numericLiteralFlags=o,o&384&&(_.transformFlags|=1024),_}function Ue(r){let o=qn(10);return o.text=typeof r=="string"?r:Z2(r)+"n",o.transformFlags|=32,o}function rt(r,o){let _=se(11);return _.text=r,_.singleQuote=o,_}function ct(r,o,_){let u=rt(r,o);return u.hasExtendedUnicodeEscape=_,_&&(u.transformFlags|=1024),u}function Dn(r){let o=rt(Rf(r),void 0);return o.textSourceNode=r,o}function sn(r){let o=qn(14);return o.text=r,o}function ei(r,o){switch(r){case 9:return Ze(o,0);case 10:return Ue(o);case 11:return ct(o,void 0);case 12:return xo(o,!1);case 13:return xo(o,!0);case 14:return sn(o);case 15:return La(r,o,void 0,0)}}function _n(r){let o=t.createBaseIdentifierNode(80);return o.escapedText=r,o.jsDoc=void 0,o.flowNode=void 0,o.symbol=void 0,o}function Pn(r,o,_,u){let b=_n(Ur(r));return setIdentifierAutoGenerate(b,{flags:o,id:$c,prefix:_,suffix:u}),$c++,b}function $e(r,o,_){o===void 0&&r&&(o=Al(r)),o===80&&(o=void 0);let u=_n(Ur(r));return _&&(u.flags|=128),u.escapedText==="await"&&(u.transformFlags|=67108864),u.flags&128&&(u.transformFlags|=1024),u}function $t(r,o,_,u){let b=1;o&&(b|=8);let I=Pn("",b,_,u);return r&&r(I),I}function jn(r){let o=2;return r&&(o|=8),Pn("",o,void 0,void 0)}function Qt(r,o=0,_,u){return M.assert(!(o&7),"Argument out of range: flags"),M.assert((o&48)!==32,"GeneratedIdentifierFlags.FileLevel cannot be set without also setting GeneratedIdentifierFlags.Optimistic"),Pn(r,3|o,_,u)}function fr(r,o=0,_,u){M.assert(!(o&7),"Argument out of range: flags");let b=r?$a(r)?Gf(!1,_,r,u,Ot):`generated@${getNodeId(r)}`:"";(_||u)&&(o|=16);let I=Pn(b,4|o,_,u);return I.original=r,I}function Bn(r){let o=t.createBasePrivateIdentifierNode(81);return o.escapedText=r,o.transformFlags|=16777216,o}function dn(r){return Jn(r,"#")||M.fail("First character of private identifier must be #: "+r),Bn(Ur(r))}function Yt(r,o,_,u){let b=Bn(Ur(r));return setIdentifierAutoGenerate(b,{flags:o,id:$c,prefix:_,suffix:u}),$c++,b}function vt(r,o,_){r&&!Jn(r,"#")&&M.fail("First character of private identifier must be #: "+r);let u=8|(r?3:1);return Yt(r??"",u,o,_)}function Un(r,o,_){let u=$a(r)?Gf(!0,o,r,_,Ot):`#generated@${getNodeId(r)}`,I=Yt(u,4|(o||_?16:0),o,_);return I.original=r,I}function qn(r){return t.createBaseTokenNode(r)}function gt(r){M.assert(r>=0&&r<=164,"Invalid token"),M.assert(r<=15||r>=18,"Invalid token. Use 'createTemplateLiteralLikeNode' to create template literals."),M.assert(r<=9||r>=15,"Invalid token. Use 'createLiteralLikeNode' to create literals."),M.assert(r!==80,"Invalid token. Use 'createIdentifier' to create identifiers");let o=qn(r),_=0;switch(r){case 134:_=384;break;case 125:case 123:case 124:case 148:case 128:case 138:case 87:case 133:case 150:case 162:case 146:case 151:case 103:case 147:case 163:case 154:case 136:case 155:case 116:case 159:case 157:_=1;break;case 108:_=134218752,o.flowNode=void 0;break;case 126:_=1024;break;case 129:_=16777216;break;case 110:_=16384,o.flowNode=void 0;break}return _&&(o.transformFlags|=_),o}function lt(){return gt(108)}function Zt(){return gt(110)}function zn(){return gt(106)}function mt(){return gt(112)}function mr(){return gt(97)}function bt(r){return gt(r)}function cn(r){let o=[];return r&1&&o.push(bt(95)),r&2&&o.push(bt(138)),r&1024&&o.push(bt(90)),r&2048&&o.push(bt(87)),r&4&&o.push(bt(125)),r&8&&o.push(bt(123)),r&16&&o.push(bt(124)),r&256&&o.push(bt(128)),r&32&&o.push(bt(126)),r&16384&&o.push(bt(163)),r&64&&o.push(bt(148)),r&128&&o.push(bt(129)),r&512&&o.push(bt(134)),r&32768&&o.push(bt(103)),r&65536&&o.push(bt(147)),o.length?o:void 0}function dt(r,o){let _=W(165);return _.left=r,_.right=nt(o),_.transformFlags|=$(_.left)|Qs(_.right),_.flowNode=void 0,_}function Qn(r,o,_){return r.left!==o||r.right!==_?n(dt(o,_),r):r}function ut(r){let o=W(166);return o.expression=i().parenthesizeExpressionOfComputedPropertyName(r),o.transformFlags|=$(o.expression)|1024|131072,o}function Jt(r,o){return r.expression!==o?n(ut(o),r):r}function ln(r,o,_,u){let b=se(167);return b.modifiers=Se(r),b.name=nt(o),b.constraint=_,b.default=u,b.transformFlags=1,b.expression=void 0,b.jsDoc=void 0,b}function yr(r,o,_,u,b){return r.modifiers!==o||r.name!==_||r.constraint!==u||r.default!==b?n(ln(o,_,u,b),r):r}function Mr(r,o,_,u,b,I){let X=se(168);return X.modifiers=Se(r),X.dotDotDotToken=o,X.name=nt(_),X.questionToken=u,X.type=b,X.initializer=Eo(I),Jm(X.name)?X.transformFlags=1:X.transformFlags=Ne(X.modifiers)|$(X.dotDotDotToken)|Cr(X.name)|$(X.questionToken)|$(X.initializer)|(X.questionToken??X.type?1:0)|(X.dotDotDotToken??X.initializer?1024:0)|(ar(X.modifiers)&16476?8192:0),X.jsDoc=void 0,X}function ti(r,o,_,u,b,I,X){return r.modifiers!==o||r.dotDotDotToken!==_||r.name!==u||r.questionToken!==b||r.type!==I||r.initializer!==X?n(Mr(o,_,u,b,I,X),r):r}function Wn(r){let o=W(169);return o.expression=i().parenthesizeLeftSideOfAccess(r,!1),o.transformFlags|=$(o.expression)|1|8192|33554432,o}function hr(r,o){return r.expression!==o?n(Wn(o),r):r}function Ci(r,o,_,u){let b=se(170);return b.modifiers=Se(r),b.name=nt(o),b.type=u,b.questionToken=_,b.transformFlags=1,b.initializer=void 0,b.jsDoc=void 0,b}function Ie(r,o,_,u,b){return r.modifiers!==o||r.name!==_||r.questionToken!==u||r.type!==b?H(Ci(o,_,u,b),r):r}function H(r,o){return r!==o&&(r.initializer=o.initializer),n(r,o)}function de(r,o,_,u,b){let I=se(171);I.modifiers=Se(r),I.name=nt(o),I.questionToken=_&&xl(_)?_:void 0,I.exclamationToken=_&&Kf(_)?_:void 0,I.type=u,I.initializer=Eo(b);let X=I.flags&16777216||ar(I.modifiers)&2;return I.transformFlags=Ne(I.modifiers)|Cr(I.name)|$(I.initializer)|(X||I.questionToken||I.exclamationToken||I.type?1:0)|(Za(I.name)||ar(I.modifiers)&32&&I.initializer?8192:0)|16777216,I.jsDoc=void 0,I}function be(r,o,_,u,b,I){return r.modifiers!==o||r.name!==_||r.questionToken!==(u!==void 0&&xl(u)?u:void 0)||r.exclamationToken!==(u!==void 0&&Kf(u)?u:void 0)||r.type!==b||r.initializer!==I?n(de(o,_,u,b,I),r):r}function Ee(r,o,_,u,b,I){let X=se(172);return X.modifiers=Se(r),X.name=nt(o),X.questionToken=_,X.typeParameters=Se(u),X.parameters=Se(b),X.type=I,X.transformFlags=1,X.jsDoc=void 0,X.locals=void 0,X.nextContainer=void 0,X.typeArguments=void 0,X}function et(r,o,_,u,b,I,X){return r.modifiers!==o||r.name!==_||r.questionToken!==u||r.typeParameters!==b||r.parameters!==I||r.type!==X?we(Ee(o,_,u,b,I,X),r):r}function Qe(r,o,_,u,b,I,X,ge){let Ve=se(173);if(Ve.modifiers=Se(r),Ve.asteriskToken=o,Ve.name=nt(_),Ve.questionToken=u,Ve.exclamationToken=void 0,Ve.typeParameters=Se(b),Ve.parameters=Q(I),Ve.type=X,Ve.body=ge,!Ve.body)Ve.transformFlags=1;else{let xn=ar(Ve.modifiers)&512,di=!!Ve.asteriskToken,fi=xn&&di;Ve.transformFlags=Ne(Ve.modifiers)|$(Ve.asteriskToken)|Cr(Ve.name)|$(Ve.questionToken)|Ne(Ve.typeParameters)|Ne(Ve.parameters)|$(Ve.type)|$(Ve.body)&-67108865|(fi?128:xn?256:di?2048:0)|(Ve.questionToken||Ve.typeParameters||Ve.type?1:0)|1024}return Ve.typeArguments=void 0,Ve.jsDoc=void 0,Ve.locals=void 0,Ve.nextContainer=void 0,Ve.flowNode=void 0,Ve.endFlowNode=void 0,Ve.returnFlowNode=void 0,Ve}function ee(r,o,_,u,b,I,X,ge,Ve){return r.modifiers!==o||r.asteriskToken!==_||r.name!==u||r.questionToken!==b||r.typeParameters!==I||r.parameters!==X||r.type!==ge||r.body!==Ve?Z(Qe(o,_,u,b,I,X,ge,Ve),r):r}function Z(r,o){return r!==o&&(r.exclamationToken=o.exclamationToken),n(r,o)}function ae(r){let o=se(174);return o.body=r,o.transformFlags=$(r)|16777216,o.modifiers=void 0,o.jsDoc=void 0,o.locals=void 0,o.nextContainer=void 0,o.endFlowNode=void 0,o.returnFlowNode=void 0,o}function Te(r,o){return r.body!==o?Oe(ae(o),r):r}function Oe(r,o){return r!==o&&(r.modifiers=o.modifiers),n(r,o)}function We(r,o,_){let u=se(175);return u.modifiers=Se(r),u.parameters=Q(o),u.body=_,u.transformFlags=Ne(u.modifiers)|Ne(u.parameters)|$(u.body)&-67108865|1024,u.typeParameters=void 0,u.type=void 0,u.typeArguments=void 0,u.jsDoc=void 0,u.locals=void 0,u.nextContainer=void 0,u.endFlowNode=void 0,u.returnFlowNode=void 0,u}function Re(r,o,_,u){return r.modifiers!==o||r.parameters!==_||r.body!==u?Rt(We(o,_,u),r):r}function Rt(r,o){return r!==o&&(r.typeParameters=o.typeParameters,r.type=o.type),we(r,o)}function Nt(r,o,_,u,b){let I=se(176);return I.modifiers=Se(r),I.name=nt(o),I.parameters=Q(_),I.type=u,I.body=b,I.body?I.transformFlags=Ne(I.modifiers)|Cr(I.name)|Ne(I.parameters)|$(I.type)|$(I.body)&-67108865|(I.type?1:0):I.transformFlags=1,I.typeArguments=void 0,I.typeParameters=void 0,I.jsDoc=void 0,I.locals=void 0,I.nextContainer=void 0,I.flowNode=void 0,I.endFlowNode=void 0,I.returnFlowNode=void 0,I}function Vn(r,o,_,u,b,I){return r.modifiers!==o||r.name!==_||r.parameters!==u||r.type!==b||r.body!==I?ta(Nt(o,_,u,b,I),r):r}function ta(r,o){return r!==o&&(r.typeParameters=o.typeParameters),we(r,o)}function gr(r,o,_,u){let b=se(177);return b.modifiers=Se(r),b.name=nt(o),b.parameters=Q(_),b.body=u,b.body?b.transformFlags=Ne(b.modifiers)|Cr(b.name)|Ne(b.parameters)|$(b.body)&-67108865|(b.type?1:0):b.transformFlags=1,b.typeArguments=void 0,b.typeParameters=void 0,b.type=void 0,b.jsDoc=void 0,b.locals=void 0,b.nextContainer=void 0,b.flowNode=void 0,b.endFlowNode=void 0,b.returnFlowNode=void 0,b}function ni(r,o,_,u,b){return r.modifiers!==o||r.name!==_||r.parameters!==u||r.body!==b?ri(gr(o,_,u,b),r):r}function ri(r,o){return r!==o&&(r.typeParameters=o.typeParameters,r.type=o.type),we(r,o)}function na(r,o,_){let u=se(178);return u.typeParameters=Se(r),u.parameters=Se(o),u.type=_,u.transformFlags=1,u.jsDoc=void 0,u.locals=void 0,u.nextContainer=void 0,u.typeArguments=void 0,u}function Pa(r,o,_,u){return r.typeParameters!==o||r.parameters!==_||r.type!==u?we(na(o,_,u),r):r}function br(r,o,_){let u=se(179);return u.typeParameters=Se(r),u.parameters=Se(o),u.type=_,u.transformFlags=1,u.jsDoc=void 0,u.locals=void 0,u.nextContainer=void 0,u.typeArguments=void 0,u}function ii(r,o,_,u){return r.typeParameters!==o||r.parameters!==_||r.type!==u?we(br(o,_,u),r):r}function ai(r,o,_){let u=se(180);return u.modifiers=Se(r),u.parameters=Se(o),u.type=_,u.transformFlags=1,u.jsDoc=void 0,u.locals=void 0,u.nextContainer=void 0,u.typeArguments=void 0,u}function ra(r,o,_,u){return r.parameters!==_||r.type!==u||r.modifiers!==o?we(ai(o,_,u),r):r}function Lr(r,o){let _=W(203);return _.type=r,_.literal=o,_.transformFlags=1,_}function Nn(r,o,_){return r.type!==o||r.literal!==_?n(Lr(o,_),r):r}function Fe(r){return gt(r)}function ki(r,o,_){let u=W(181);return u.assertsModifier=r,u.parameterName=nt(o),u.type=_,u.transformFlags=1,u}function wt(r,o,_,u){return r.assertsModifier!==o||r.parameterName!==_||r.type!==u?n(ki(o,_,u),r):r}function j(r,o){let _=W(182);return _.typeName=nt(r),_.typeArguments=o&&i().parenthesizeTypeArguments(Q(o)),_.transformFlags=1,_}function E(r,o,_){return r.typeName!==o||r.typeArguments!==_?n(j(o,_),r):r}function S(r,o,_){let u=se(183);return u.typeParameters=Se(r),u.parameters=Se(o),u.type=_,u.transformFlags=1,u.modifiers=void 0,u.jsDoc=void 0,u.locals=void 0,u.nextContainer=void 0,u.typeArguments=void 0,u}function J(r,o,_,u){return r.typeParameters!==o||r.parameters!==_||r.type!==u?m(S(o,_,u),r):r}function m(r,o){return r!==o&&(r.modifiers=o.modifiers),we(r,o)}function ie(...r){return r.length===4?he(...r):r.length===3?R(...r):M.fail("Incorrect number of arguments specified.")}function he(r,o,_,u){let b=se(184);return b.modifiers=Se(r),b.typeParameters=Se(o),b.parameters=Se(_),b.type=u,b.transformFlags=1,b.jsDoc=void 0,b.locals=void 0,b.nextContainer=void 0,b.typeArguments=void 0,b}function R(r,o,_){return he(void 0,r,o,_)}function me(...r){return r.length===5?Ae(...r):r.length===4?ke(...r):M.fail("Incorrect number of arguments specified.")}function Ae(r,o,_,u,b){return r.modifiers!==o||r.typeParameters!==_||r.parameters!==u||r.type!==b?we(ie(o,_,u,b),r):r}function ke(r,o,_,u){return Ae(r,r.modifiers,o,_,u)}function De(r,o){let _=W(185);return _.exprName=r,_.typeArguments=o&&i().parenthesizeTypeArguments(o),_.transformFlags=1,_}function ot(r,o,_){return r.exprName!==o||r.typeArguments!==_?n(De(o,_),r):r}function st(r){let o=se(186);return o.members=Q(r),o.transformFlags=1,o}function Ye(r,o){return r.members!==o?n(st(o),r):r}function Ft(r){let o=W(187);return o.elementType=i().parenthesizeNonArrayTypeOfPostfixType(r),o.transformFlags=1,o}function Et(r,o){return r.elementType!==o?n(Ft(o),r):r}function bn(r){let o=W(188);return o.elements=Q(i().parenthesizeElementTypesOfTupleType(r)),o.transformFlags=1,o}function Ct(r,o){return r.elements!==o?n(bn(o),r):r}function Pe(r,o,_,u){let b=se(201);return b.dotDotDotToken=r,b.name=o,b.questionToken=_,b.type=u,b.transformFlags=1,b.jsDoc=void 0,b}function jt(r,o,_,u,b){return r.dotDotDotToken!==o||r.name!==_||r.questionToken!==u||r.type!==b?n(Pe(o,_,u,b),r):r}function Yn(r){let o=W(189);return o.type=i().parenthesizeTypeOfOptionalType(r),o.transformFlags=1,o}function Pt(r,o){return r.type!==o?n(Yn(o),r):r}function Y(r){let o=W(190);return o.type=r,o.transformFlags=1,o}function Le(r,o){return r.type!==o?n(Y(o),r):r}function _t(r,o,_){let u=W(r);return u.types=oe.createNodeArray(_(o)),u.transformFlags=1,u}function en(r,o,_){return r.types!==o?n(_t(r.kind,o,_),r):r}function Zn(r){return _t(191,r,i().parenthesizeConstituentTypesOfUnionType)}function lo(r,o){return en(r,o,i().parenthesizeConstituentTypesOfUnionType)}function Na(r){return _t(192,r,i().parenthesizeConstituentTypesOfIntersectionType)}function vr(r,o){return en(r,o,i().parenthesizeConstituentTypesOfIntersectionType)}function Je(r,o,_,u){let b=W(193);return b.checkType=i().parenthesizeCheckTypeOfConditionalType(r),b.extendsType=i().parenthesizeExtendsTypeOfConditionalType(o),b.trueType=_,b.falseType=u,b.transformFlags=1,b.locals=void 0,b.nextContainer=void 0,b}function at(r,o,_,u,b){return r.checkType!==o||r.extendsType!==_||r.trueType!==u||r.falseType!==b?n(Je(o,_,u,b),r):r}function pu(r){let o=W(194);return o.typeParameter=r,o.transformFlags=1,o}function oi(r,o){return r.typeParameter!==o?n(pu(o),r):r}function du(r,o){let _=W(202);return _.head=r,_.templateSpans=Q(o),_.transformFlags=1,_}function vn(r,o,_){return r.head!==o||r.templateSpans!==_?n(du(o,_),r):r}function fu(r,o,_,u,b=!1){let I=W(204);return I.argument=r,I.assertions=o,I.qualifier=_,I.typeArguments=u&&i().parenthesizeTypeArguments(u),I.isTypeOf=b,I.transformFlags=1,I}function Ai(r,o,_,u,b,I=r.isTypeOf){return r.argument!==o||r.assertions!==_||r.qualifier!==u||r.typeArguments!==b||r.isTypeOf!==I?n(fu(o,_,u,b,I),r):r}function uo(r){let o=W(195);return o.type=r,o.transformFlags=1,o}function In(r,o){return r.type!==o?n(uo(o),r):r}function Bt(){let r=W(196);return r.transformFlags=1,r}function F(r,o){let _=W(197);return _.operator=r,_.type=r===148?i().parenthesizeOperandOfReadonlyTypeOperator(o):i().parenthesizeOperandOfTypeOperator(o),_.transformFlags=1,_}function Hn(r,o){return r.type!==o?n(F(r.operator,o),r):r}function Di(r,o){let _=W(198);return _.objectType=i().parenthesizeNonArrayTypeOfPostfixType(r),_.indexType=o,_.transformFlags=1,_}function ia(r,o,_){return r.objectType!==o||r.indexType!==_?n(Di(o,_),r):r}function vs(r,o,_,u,b,I){let X=se(199);return X.readonlyToken=r,X.typeParameter=o,X.nameType=_,X.questionToken=u,X.type=b,X.members=I&&Q(I),X.transformFlags=1,X.locals=void 0,X.nextContainer=void 0,X}function Ut(r,o,_,u,b,I,X){return r.readonlyToken!==o||r.typeParameter!==_||r.nameType!==u||r.questionToken!==b||r.type!==I||r.members!==X?n(vs(o,_,u,b,I,X),r):r}function zt(r){let o=W(200);return o.literal=r,o.transformFlags=1,o}function aa(r,o){return r.literal!==o?n(zt(o),r):r}function mu(r){let o=W(205);return o.elements=Q(r),o.transformFlags|=Ne(o.elements)|1024|524288,o.transformFlags&32768&&(o.transformFlags|=65664),o}function b1(r,o){return r.elements!==o?n(mu(o),r):r}function oa(r){let o=W(206);return o.elements=Q(r),o.transformFlags|=Ne(o.elements)|1024|524288,o}function v1(r,o){return r.elements!==o?n(oa(o),r):r}function Ts(r,o,_,u){let b=se(207);return b.dotDotDotToken=r,b.propertyName=nt(o),b.name=nt(_),b.initializer=Eo(u),b.transformFlags|=$(b.dotDotDotToken)|Cr(b.propertyName)|Cr(b.name)|$(b.initializer)|(b.dotDotDotToken?32768:0)|1024,b.flowNode=void 0,b}function Ia(r,o,_,u,b){return r.propertyName!==_||r.dotDotDotToken!==o||r.name!==u||r.initializer!==b?n(Ts(o,_,u,b),r):r}function H_(r,o){let _=W(208),u=r&&Ti(r),b=Q(r,u&&Qm(u)?!0:void 0);return _.elements=i().parenthesizeExpressionsOfCommaDelimitedList(b),_.multiLine=o,_.transformFlags|=Ne(_.elements),_}function yu(r,o){return r.elements!==o?n(H_(o,r.multiLine),r):r}function po(r,o){let _=se(209);return _.properties=Q(r),_.multiLine=o,_.transformFlags|=Ne(_.properties),_.jsDoc=void 0,_}function T1(r,o){return r.properties!==o?n(po(o,r.multiLine),r):r}function hu(r,o,_){let u=se(210);return u.expression=r,u.questionDotToken=o,u.name=_,u.transformFlags=$(u.expression)|$(u.questionDotToken)|(Ce(u.name)?Qs(u.name):$(u.name)|536870912),u.jsDoc=void 0,u.flowNode=void 0,u}function si(r,o){let _=hu(i().parenthesizeLeftSideOfAccess(r,!1),void 0,nt(o));return of(r)&&(_.transformFlags|=384),_}function gu(r,o,_){return dx(r)?bu(r,o,r.questionDotToken,mi(_,Ce)):r.expression!==o||r.name!==_?n(si(o,_),r):r}function Oa(r,o,_){let u=hu(i().parenthesizeLeftSideOfAccess(r,!0),o,nt(_));return u.flags|=32,u.transformFlags|=32,u}function bu(r,o,_,u){return M.assert(!!(r.flags&32),"Cannot update a PropertyAccessExpression using updatePropertyAccessChain. Use updatePropertyAccess instead."),r.expression!==o||r.questionDotToken!==_||r.name!==u?n(Oa(o,_,u),r):r}function xs(r,o,_){let u=se(211);return u.expression=r,u.questionDotToken=o,u.argumentExpression=_,u.transformFlags|=$(u.expression)|$(u.questionDotToken)|$(u.argumentExpression),u.jsDoc=void 0,u.flowNode=void 0,u}function K_(r,o){let _=xs(i().parenthesizeLeftSideOfAccess(r,!1),void 0,ui(o));return of(r)&&(_.transformFlags|=384),_}function x1(r,o,_){return fx(r)?vu(r,o,r.questionDotToken,_):r.expression!==o||r.argumentExpression!==_?n(K_(o,_),r):r}function G_(r,o,_){let u=xs(i().parenthesizeLeftSideOfAccess(r,!0),o,ui(_));return u.flags|=32,u.transformFlags|=32,u}function vu(r,o,_,u){return M.assert(!!(r.flags&32),"Cannot update a ElementAccessExpression using updateElementAccessChain. Use updateElementAccess instead."),r.expression!==o||r.questionDotToken!==_||r.argumentExpression!==u?n(G_(o,_,u),r):r}function Tu(r,o,_,u){let b=se(212);return b.expression=r,b.questionDotToken=o,b.typeArguments=_,b.arguments=u,b.transformFlags|=$(b.expression)|$(b.questionDotToken)|Ne(b.typeArguments)|Ne(b.arguments),b.typeArguments&&(b.transformFlags|=1),Lf(b.expression)&&(b.transformFlags|=16384),b}function Pi(r,o,_){let u=Tu(i().parenthesizeLeftSideOfAccess(r,!1),void 0,Se(o),i().parenthesizeExpressionsOfCommaDelimitedList(Q(_)));return o8(u.expression)&&(u.transformFlags|=8388608),u}function S1(r,o,_,u){return T0(r)?er(r,o,r.questionDotToken,_,u):r.expression!==o||r.typeArguments!==_||r.arguments!==u?n(Pi(o,_,u),r):r}function X_(r,o,_,u){let b=Tu(i().parenthesizeLeftSideOfAccess(r,!0),o,Se(_),i().parenthesizeExpressionsOfCommaDelimitedList(Q(u)));return b.flags|=32,b.transformFlags|=32,b}function er(r,o,_,u,b){return M.assert(!!(r.flags&32),"Cannot update a CallExpression using updateCallChain. Use updateCall instead."),r.expression!==o||r.questionDotToken!==_||r.typeArguments!==u||r.arguments!==b?n(X_(o,_,u,b),r):r}function Ss(r,o,_){let u=se(213);return u.expression=i().parenthesizeExpressionOfNew(r),u.typeArguments=Se(o),u.arguments=_?i().parenthesizeExpressionsOfCommaDelimitedList(_):void 0,u.transformFlags|=$(u.expression)|Ne(u.typeArguments)|Ne(u.arguments)|32,u.typeArguments&&(u.transformFlags|=1),u}function $_(r,o,_,u){return r.expression!==o||r.typeArguments!==_||r.arguments!==u?n(Ss(o,_,u),r):r}function Q_(r,o,_){let u=W(214);return u.tag=i().parenthesizeLeftSideOfAccess(r,!1),u.typeArguments=Se(o),u.template=_,u.transformFlags|=$(u.tag)|Ne(u.typeArguments)|$(u.template)|1024,u.typeArguments&&(u.transformFlags|=1),r3(u.template)&&(u.transformFlags|=128),u}function w1(r,o,_,u){return r.tag!==o||r.typeArguments!==_||r.template!==u?n(Q_(o,_,u),r):r}function xu(r,o){let _=W(215);return _.expression=i().parenthesizeOperandOfPrefixUnary(o),_.type=r,_.transformFlags|=$(_.expression)|$(_.type)|1,_}function Su(r,o,_){return r.type!==o||r.expression!==_?n(xu(o,_),r):r}function Y_(r){let o=W(216);return o.expression=r,o.transformFlags=$(o.expression),o.jsDoc=void 0,o}function wu(r,o){return r.expression!==o?n(Y_(o),r):r}function Z_(r,o,_,u,b,I,X){let ge=se(217);ge.modifiers=Se(r),ge.asteriskToken=o,ge.name=nt(_),ge.typeParameters=Se(u),ge.parameters=Q(b),ge.type=I,ge.body=X;let Ve=ar(ge.modifiers)&512,xn=!!ge.asteriskToken,di=Ve&&xn;return ge.transformFlags=Ne(ge.modifiers)|$(ge.asteriskToken)|Cr(ge.name)|Ne(ge.typeParameters)|Ne(ge.parameters)|$(ge.type)|$(ge.body)&-67108865|(di?128:Ve?256:xn?2048:0)|(ge.typeParameters||ge.type?1:0)|4194304,ge.typeArguments=void 0,ge.jsDoc=void 0,ge.locals=void 0,ge.nextContainer=void 0,ge.flowNode=void 0,ge.endFlowNode=void 0,ge.returnFlowNode=void 0,ge}function Eu(r,o,_,u,b,I,X,ge){return r.name!==u||r.modifiers!==o||r.asteriskToken!==_||r.typeParameters!==b||r.parameters!==I||r.type!==X||r.body!==ge?we(Z_(o,_,u,b,I,X,ge),r):r}function ec(r,o,_,u,b,I){let X=se(218);X.modifiers=Se(r),X.typeParameters=Se(o),X.parameters=Q(_),X.type=u,X.equalsGreaterThanToken=b??gt(39),X.body=i().parenthesizeConciseBodyOfArrowFunction(I);let ge=ar(X.modifiers)&512;return X.transformFlags=Ne(X.modifiers)|Ne(X.typeParameters)|Ne(X.parameters)|$(X.type)|$(X.equalsGreaterThanToken)|$(X.body)&-67108865|(X.typeParameters||X.type?1:0)|(ge?16640:0)|1024,X.typeArguments=void 0,X.jsDoc=void 0,X.locals=void 0,X.nextContainer=void 0,X.flowNode=void 0,X.endFlowNode=void 0,X.returnFlowNode=void 0,X}function Cu(r,o,_,u,b,I,X){return r.modifiers!==o||r.typeParameters!==_||r.parameters!==u||r.type!==b||r.equalsGreaterThanToken!==I||r.body!==X?we(ec(o,_,u,b,I,X),r):r}function tc(r){let o=W(219);return o.expression=i().parenthesizeOperandOfPrefixUnary(r),o.transformFlags|=$(o.expression),o}function E1(r,o){return r.expression!==o?n(tc(o),r):r}function Tn(r){let o=W(220);return o.expression=i().parenthesizeOperandOfPrefixUnary(r),o.transformFlags|=$(o.expression),o}function C1(r,o){return r.expression!==o?n(Tn(o),r):r}function Tr(r){let o=W(221);return o.expression=i().parenthesizeOperandOfPrefixUnary(r),o.transformFlags|=$(o.expression),o}function k1(r,o){return r.expression!==o?n(Tr(o),r):r}function Ni(r){let o=W(222);return o.expression=i().parenthesizeOperandOfPrefixUnary(r),o.transformFlags|=$(o.expression)|256|128|2097152,o}function Ma(r,o){return r.expression!==o?n(Ni(o),r):r}function nc(r,o){let _=W(223);return _.operator=r,_.operand=i().parenthesizeOperandOfPrefixUnary(o),_.transformFlags|=$(_.operand),(r===46||r===47)&&Ce(_.operand)&&!ma(_.operand)&&!eg(_.operand)&&(_.transformFlags|=268435456),_}function ws(r,o){return r.operand!==o?n(nc(r.operator,o),r):r}function rc(r,o){let _=W(224);return _.operator=o,_.operand=i().parenthesizeOperandOfPostfixUnary(r),_.transformFlags|=$(_.operand),Ce(_.operand)&&!ma(_.operand)&&!eg(_.operand)&&(_.transformFlags|=268435456),_}function ku(r,o){return r.operand!==o?n(rc(o,r.operator),r):r}function ic(r,o,_){let u=se(225),b=Rd(o),I=b.kind;return u.left=i().parenthesizeLeftSideOfBinary(I,r),u.operatorToken=b,u.right=i().parenthesizeRightSideOfBinary(I,u.left,_),u.transformFlags|=$(u.left)|$(u.operatorToken)|$(u.right),I===61?u.transformFlags|=32:I===64?ao(u.left)?u.transformFlags|=5248|Au(u.left):Ql(u.left)&&(u.transformFlags|=5120|Au(u.left)):I===43||I===68?u.transformFlags|=512:jm(I)&&(u.transformFlags|=16),I===103&&Ln(u.left)&&(u.transformFlags|=536870912),u.jsDoc=void 0,u}function Au(r){return Wb(r)?65536:0}function A1(r,o,_,u){return r.left!==o||r.operatorToken!==_||r.right!==u?n(ic(o,_,u),r):r}function ac(r,o,_,u,b){let I=W(226);return I.condition=i().parenthesizeConditionOfConditionalExpression(r),I.questionToken=o??gt(58),I.whenTrue=i().parenthesizeBranchOfConditionalExpression(_),I.colonToken=u??gt(59),I.whenFalse=i().parenthesizeBranchOfConditionalExpression(b),I.transformFlags|=$(I.condition)|$(I.questionToken)|$(I.whenTrue)|$(I.colonToken)|$(I.whenFalse),I}function D1(r,o,_,u,b,I){return r.condition!==o||r.questionToken!==_||r.whenTrue!==u||r.colonToken!==b||r.whenFalse!==I?n(ac(o,_,u,b,I),r):r}function Jr(r,o){let _=W(227);return _.head=r,_.templateSpans=Q(o),_.transformFlags|=$(_.head)|Ne(_.templateSpans)|1024,_}function Du(r,o,_){return r.head!==o||r.templateSpans!==_?n(Jr(o,_),r):r}function Es(r,o,_,u=0){M.assert(!(u&-7177),"Unsupported template flags.");let b;if(_!==void 0&&_!==o&&(b=bL(r,_),typeof b=="object"))return M.fail("Invalid raw text");if(o===void 0){if(b===void 0)return M.fail("Arguments 'text' and 'rawText' may not both be undefined.");o=b}else b!==void 0&&M.assert(o===b,"Expected argument 'text' to be the normalized (i.e. 'cooked') version of argument 'rawText'.");return o}function Pu(r){let o=1024;return r&&(o|=128),o}function fo(r,o,_,u){let b=qn(r);return b.text=o,b.rawText=_,b.templateFlags=u&7176,b.transformFlags=Pu(b.templateFlags),b}function oc(r,o,_,u){let b=se(r);return b.text=o,b.rawText=_,b.templateFlags=u&7176,b.transformFlags=Pu(b.templateFlags),b}function La(r,o,_,u){return r===15?oc(r,o,_,u):fo(r,o,_,u)}function Cs(r,o,_){return r=Es(16,r,o,_),La(16,r,o,_)}function sc(r,o,_){return r=Es(16,r,o,_),La(17,r,o,_)}function P1(r,o,_){return r=Es(16,r,o,_),La(18,r,o,_)}function Nu(r,o,_){return r=Es(16,r,o,_),oc(15,r,o,_)}function Iu(r,o){M.assert(!r||!!o,"A `YieldExpression` with an asteriskToken must have an expression.");let _=W(228);return _.expression=o&&i().parenthesizeExpressionForDisallowedComma(o),_.asteriskToken=r,_.transformFlags|=$(_.expression)|$(_.asteriskToken)|1024|128|1048576,_}function N1(r,o,_){return r.expression!==_||r.asteriskToken!==o?n(Iu(o,_),r):r}function Ou(r){let o=W(229);return o.expression=i().parenthesizeExpressionForDisallowedComma(r),o.transformFlags|=$(o.expression)|1024|32768,o}function I1(r,o){return r.expression!==o?n(Ou(o),r):r}function Mu(r,o,_,u,b){let I=se(230);return I.modifiers=Se(r),I.name=nt(o),I.typeParameters=Se(_),I.heritageClauses=Se(u),I.members=Q(b),I.transformFlags|=Ne(I.modifiers)|Cr(I.name)|Ne(I.typeParameters)|Ne(I.heritageClauses)|Ne(I.members)|(I.typeParameters?1:0)|1024,I.jsDoc=void 0,I}function ks(r,o,_,u,b,I){return r.modifiers!==o||r.name!==_||r.typeParameters!==u||r.heritageClauses!==b||r.members!==I?n(Mu(o,_,u,b,I),r):r}function O1(){return W(231)}function Lu(r,o){let _=W(232);return _.expression=i().parenthesizeLeftSideOfAccess(r,!1),_.typeArguments=o&&i().parenthesizeTypeArguments(o),_.transformFlags|=$(_.expression)|Ne(_.typeArguments)|1024,_}function tr(r,o,_){return r.expression!==o||r.typeArguments!==_?n(Lu(o,_),r):r}function As(r,o){let _=W(233);return _.expression=r,_.type=o,_.transformFlags|=$(_.expression)|$(_.type)|1,_}function Ju(r,o,_){return r.expression!==o||r.type!==_?n(As(o,_),r):r}function Ru(r){let o=W(234);return o.expression=i().parenthesizeLeftSideOfAccess(r,!1),o.transformFlags|=$(o.expression)|1,o}function _c(r,o){return yx(r)?ju(r,o):r.expression!==o?n(Ru(o),r):r}function Fu(r,o){let _=W(237);return _.expression=r,_.type=o,_.transformFlags|=$(_.expression)|$(_.type)|1,_}function cc(r,o,_){return r.expression!==o||r.type!==_?n(Fu(o,_),r):r}function xr(r){let o=W(234);return o.flags|=32,o.expression=i().parenthesizeLeftSideOfAccess(r,!0),o.transformFlags|=$(o.expression)|1,o}function ju(r,o){return M.assert(!!(r.flags&32),"Cannot update a NonNullExpression using updateNonNullChain. Use updateNonNullExpression instead."),r.expression!==o?n(xr(o),r):r}function Ds(r,o){let _=W(235);switch(_.keywordToken=r,_.name=o,_.transformFlags|=$(_.name),r){case 105:_.transformFlags|=1024;break;case 102:_.transformFlags|=32;break;default:return M.assertNever(r)}return _.flowNode=void 0,_}function _i(r,o){return r.name!==o?n(Ds(r.keywordToken,o),r):r}function mo(r,o){let _=W(238);return _.expression=r,_.literal=o,_.transformFlags|=$(_.expression)|$(_.literal)|1024,_}function Bu(r,o,_){return r.expression!==o||r.literal!==_?n(mo(o,_),r):r}function Uu(){let r=W(239);return r.transformFlags|=1024,r}function Ja(r,o){let _=W(240);return _.statements=Q(r),_.multiLine=o,_.transformFlags|=Ne(_.statements),_.jsDoc=void 0,_.locals=void 0,_.nextContainer=void 0,_}function qu(r,o){return r.statements!==o?n(Ja(o,r.multiLine),r):r}function zu(r,o){let _=W(242);return _.modifiers=Se(r),_.declarationList=Wt(o)?hc(o):o,_.transformFlags|=Ne(_.modifiers)|$(_.declarationList),ar(_.modifiers)&2&&(_.transformFlags=1),_.jsDoc=void 0,_.flowNode=void 0,_}function Wu(r,o,_){return r.modifiers!==o||r.declarationList!==_?n(zu(o,_),r):r}function lc(){let r=W(241);return r.jsDoc=void 0,r}function yo(r){let o=W(243);return o.expression=i().parenthesizeExpressionOfExpressionStatement(r),o.transformFlags|=$(o.expression),o.jsDoc=void 0,o.flowNode=void 0,o}function M1(r,o){return r.expression!==o?n(yo(o),r):r}function uc(r,o,_){let u=W(244);return u.expression=r,u.thenStatement=pi(o),u.elseStatement=pi(_),u.transformFlags|=$(u.expression)|$(u.thenStatement)|$(u.elseStatement),u.jsDoc=void 0,u.flowNode=void 0,u}function L1(r,o,_,u){return r.expression!==o||r.thenStatement!==_||r.elseStatement!==u?n(uc(o,_,u),r):r}function pc(r,o){let _=W(245);return _.statement=pi(r),_.expression=o,_.transformFlags|=$(_.statement)|$(_.expression),_.jsDoc=void 0,_.flowNode=void 0,_}function J1(r,o,_){return r.statement!==o||r.expression!==_?n(pc(o,_),r):r}function Vu(r,o){let _=W(246);return _.expression=r,_.statement=pi(o),_.transformFlags|=$(_.expression)|$(_.statement),_.jsDoc=void 0,_.flowNode=void 0,_}function R1(r,o,_){return r.expression!==o||r.statement!==_?n(Vu(o,_),r):r}function dc(r,o,_,u){let b=W(247);return b.initializer=r,b.condition=o,b.incrementor=_,b.statement=pi(u),b.transformFlags|=$(b.initializer)|$(b.condition)|$(b.incrementor)|$(b.statement),b.jsDoc=void 0,b.locals=void 0,b.nextContainer=void 0,b.flowNode=void 0,b}function Hu(r,o,_,u,b){return r.initializer!==o||r.condition!==_||r.incrementor!==u||r.statement!==b?n(dc(o,_,u,b),r):r}function Ku(r,o,_){let u=W(248);return u.initializer=r,u.expression=o,u.statement=pi(_),u.transformFlags|=$(u.initializer)|$(u.expression)|$(u.statement),u.jsDoc=void 0,u.locals=void 0,u.nextContainer=void 0,u.flowNode=void 0,u}function F1(r,o,_,u){return r.initializer!==o||r.expression!==_||r.statement!==u?n(Ku(o,_,u),r):r}function Gu(r,o,_,u){let b=W(249);return b.awaitModifier=r,b.initializer=o,b.expression=i().parenthesizeExpressionForDisallowedComma(_),b.statement=pi(u),b.transformFlags|=$(b.awaitModifier)|$(b.initializer)|$(b.expression)|$(b.statement)|1024,r&&(b.transformFlags|=128),b.jsDoc=void 0,b.locals=void 0,b.nextContainer=void 0,b.flowNode=void 0,b}function j1(r,o,_,u,b){return r.awaitModifier!==o||r.initializer!==_||r.expression!==u||r.statement!==b?n(Gu(o,_,u,b),r):r}function Xu(r){let o=W(250);return o.label=nt(r),o.transformFlags|=$(o.label)|4194304,o.jsDoc=void 0,o.flowNode=void 0,o}function $u(r,o){return r.label!==o?n(Xu(o),r):r}function fc(r){let o=W(251);return o.label=nt(r),o.transformFlags|=$(o.label)|4194304,o.jsDoc=void 0,o.flowNode=void 0,o}function Qu(r,o){return r.label!==o?n(fc(o),r):r}function Yu(r){let o=W(252);return o.expression=r,o.transformFlags|=$(o.expression)|128|4194304,o.jsDoc=void 0,o.flowNode=void 0,o}function B1(r,o){return r.expression!==o?n(Yu(o),r):r}function mc(r,o){let _=W(253);return _.expression=r,_.statement=pi(o),_.transformFlags|=$(_.expression)|$(_.statement),_.jsDoc=void 0,_.flowNode=void 0,_}function Zu(r,o,_){return r.expression!==o||r.statement!==_?n(mc(o,_),r):r}function yc(r,o){let _=W(254);return _.expression=i().parenthesizeExpressionForDisallowedComma(r),_.caseBlock=o,_.transformFlags|=$(_.expression)|$(_.caseBlock),_.jsDoc=void 0,_.flowNode=void 0,_.possiblyExhaustive=!1,_}function Ra(r,o,_){return r.expression!==o||r.caseBlock!==_?n(yc(o,_),r):r}function ep(r,o){let _=W(255);return _.label=nt(r),_.statement=pi(o),_.transformFlags|=$(_.label)|$(_.statement),_.jsDoc=void 0,_.flowNode=void 0,_}function tp(r,o,_){return r.label!==o||r.statement!==_?n(ep(o,_),r):r}function np(r){let o=W(256);return o.expression=r,o.transformFlags|=$(o.expression),o.jsDoc=void 0,o.flowNode=void 0,o}function U1(r,o){return r.expression!==o?n(np(o),r):r}function rp(r,o,_){let u=W(257);return u.tryBlock=r,u.catchClause=o,u.finallyBlock=_,u.transformFlags|=$(u.tryBlock)|$(u.catchClause)|$(u.finallyBlock),u.jsDoc=void 0,u.flowNode=void 0,u}function q1(r,o,_,u){return r.tryBlock!==o||r.catchClause!==_||r.finallyBlock!==u?n(rp(o,_,u),r):r}function ip(){let r=W(258);return r.jsDoc=void 0,r.flowNode=void 0,r}function Ps(r,o,_,u){let b=se(259);return b.name=nt(r),b.exclamationToken=o,b.type=_,b.initializer=Eo(u),b.transformFlags|=Cr(b.name)|$(b.initializer)|(b.exclamationToken??b.type?1:0),b.jsDoc=void 0,b}function ap(r,o,_,u,b){return r.name!==o||r.type!==u||r.exclamationToken!==_||r.initializer!==b?n(Ps(o,_,u,b),r):r}function hc(r,o=0){let _=W(260);return _.flags|=o&3,_.declarations=Q(r),_.transformFlags|=Ne(_.declarations)|4194304,o&3&&(_.transformFlags|=263168),_}function z1(r,o){return r.declarations!==o?n(hc(o,r.flags),r):r}function op(r,o,_,u,b,I,X){let ge=se(261);if(ge.modifiers=Se(r),ge.asteriskToken=o,ge.name=nt(_),ge.typeParameters=Se(u),ge.parameters=Q(b),ge.type=I,ge.body=X,!ge.body||ar(ge.modifiers)&2)ge.transformFlags=1;else{let Ve=ar(ge.modifiers)&512,xn=!!ge.asteriskToken,di=Ve&&xn;ge.transformFlags=Ne(ge.modifiers)|$(ge.asteriskToken)|Cr(ge.name)|Ne(ge.typeParameters)|Ne(ge.parameters)|$(ge.type)|$(ge.body)&-67108865|(di?128:Ve?256:xn?2048:0)|(ge.typeParameters||ge.type?1:0)|4194304}return ge.typeArguments=void 0,ge.jsDoc=void 0,ge.locals=void 0,ge.nextContainer=void 0,ge.endFlowNode=void 0,ge.returnFlowNode=void 0,ge}function gc(r,o,_,u,b,I,X,ge){return r.modifiers!==o||r.asteriskToken!==_||r.name!==u||r.typeParameters!==b||r.parameters!==I||r.type!==X||r.body!==ge?W1(op(o,_,u,b,I,X,ge),r):r}function W1(r,o){return r!==o&&r.modifiers===o.modifiers&&(r.modifiers=o.modifiers),we(r,o)}function sp(r,o,_,u,b){let I=se(262);return I.modifiers=Se(r),I.name=nt(o),I.typeParameters=Se(_),I.heritageClauses=Se(u),I.members=Q(b),ar(I.modifiers)&2?I.transformFlags=1:(I.transformFlags|=Ne(I.modifiers)|Cr(I.name)|Ne(I.typeParameters)|Ne(I.heritageClauses)|Ne(I.members)|(I.typeParameters?1:0)|1024,I.transformFlags&8192&&(I.transformFlags|=1)),I.jsDoc=void 0,I}function bc(r,o,_,u,b,I){return r.modifiers!==o||r.name!==_||r.typeParameters!==u||r.heritageClauses!==b||r.members!==I?n(sp(o,_,u,b,I),r):r}function _p(r,o,_,u,b){let I=se(263);return I.modifiers=Se(r),I.name=nt(o),I.typeParameters=Se(_),I.heritageClauses=Se(u),I.members=Q(b),I.transformFlags=1,I.jsDoc=void 0,I}function cp(r,o,_,u,b,I){return r.modifiers!==o||r.name!==_||r.typeParameters!==u||r.heritageClauses!==b||r.members!==I?n(_p(o,_,u,b,I),r):r}function yt(r,o,_,u){let b=se(264);return b.modifiers=Se(r),b.name=nt(o),b.typeParameters=Se(_),b.type=u,b.transformFlags=1,b.jsDoc=void 0,b.locals=void 0,b.nextContainer=void 0,b}function Ii(r,o,_,u,b){return r.modifiers!==o||r.name!==_||r.typeParameters!==u||r.type!==b?n(yt(o,_,u,b),r):r}function vc(r,o,_){let u=se(265);return u.modifiers=Se(r),u.name=nt(o),u.members=Q(_),u.transformFlags|=Ne(u.modifiers)|$(u.name)|Ne(u.members)|1,u.transformFlags&=-67108865,u.jsDoc=void 0,u}function Oi(r,o,_,u){return r.modifiers!==o||r.name!==_||r.members!==u?n(vc(o,_,u),r):r}function lp(r,o,_,u=0){let b=se(266);return b.modifiers=Se(r),b.flags|=u&1044,b.name=o,b.body=_,ar(b.modifiers)&2?b.transformFlags=1:b.transformFlags|=Ne(b.modifiers)|$(b.name)|$(b.body)|1,b.transformFlags&=-67108865,b.jsDoc=void 0,b.locals=void 0,b.nextContainer=void 0,b}function Mt(r,o,_,u){return r.modifiers!==o||r.name!==_||r.body!==u?n(lp(o,_,u,r.flags),r):r}function Mi(r){let o=W(267);return o.statements=Q(r),o.transformFlags|=Ne(o.statements),o.jsDoc=void 0,o}function un(r,o){return r.statements!==o?n(Mi(o),r):r}function up(r){let o=W(268);return o.clauses=Q(r),o.transformFlags|=Ne(o.clauses),o.locals=void 0,o.nextContainer=void 0,o}function V1(r,o){return r.clauses!==o?n(up(o),r):r}function pp(r){let o=se(269);return o.name=nt(r),o.transformFlags|=Qs(o.name)|1,o.modifiers=void 0,o.jsDoc=void 0,o}function dp(r,o){return r.name!==o?H1(pp(o),r):r}function H1(r,o){return r!==o&&(r.modifiers=o.modifiers),n(r,o)}function fp(r,o,_,u){let b=se(270);return b.modifiers=Se(r),b.name=nt(_),b.isTypeOnly=o,b.moduleReference=u,b.transformFlags|=Ne(b.modifiers)|Qs(b.name)|$(b.moduleReference),Zm(b.moduleReference)||(b.transformFlags|=1),b.transformFlags&=-67108865,b.jsDoc=void 0,b}function mp(r,o,_,u,b){return r.modifiers!==o||r.isTypeOnly!==_||r.name!==u||r.moduleReference!==b?n(fp(o,_,u,b),r):r}function yp(r,o,_,u){let b=W(271);return b.modifiers=Se(r),b.importClause=o,b.moduleSpecifier=_,b.assertClause=u,b.transformFlags|=$(b.importClause)|$(b.moduleSpecifier),b.transformFlags&=-67108865,b.jsDoc=void 0,b}function hp(r,o,_,u,b){return r.modifiers!==o||r.importClause!==_||r.moduleSpecifier!==u||r.assertClause!==b?n(yp(o,_,u,b),r):r}function gp(r,o,_){let u=se(272);return u.isTypeOnly=r,u.name=o,u.namedBindings=_,u.transformFlags|=$(u.name)|$(u.namedBindings),r&&(u.transformFlags|=1),u.transformFlags&=-67108865,u}function bp(r,o,_,u){return r.isTypeOnly!==o||r.name!==_||r.namedBindings!==u?n(gp(o,_,u),r):r}function Tc(r,o){let _=W(299);return _.elements=Q(r),_.multiLine=o,_.transformFlags|=4,_}function K1(r,o,_){return r.elements!==o||r.multiLine!==_?n(Tc(o,_),r):r}function ho(r,o){let _=W(300);return _.name=r,_.value=o,_.transformFlags|=4,_}function vp(r,o,_){return r.name!==o||r.value!==_?n(ho(o,_),r):r}function xc(r,o){let _=W(301);return _.assertClause=r,_.multiLine=o,_}function Tp(r,o,_){return r.assertClause!==o||r.multiLine!==_?n(xc(o,_),r):r}function xp(r){let o=se(273);return o.name=r,o.transformFlags|=$(o.name),o.transformFlags&=-67108865,o}function Sc(r,o){return r.name!==o?n(xp(o),r):r}function Sp(r){let o=se(279);return o.name=r,o.transformFlags|=$(o.name)|32,o.transformFlags&=-67108865,o}function wp(r,o){return r.name!==o?n(Sp(o),r):r}function Ep(r){let o=W(274);return o.elements=Q(r),o.transformFlags|=Ne(o.elements),o.transformFlags&=-67108865,o}function G1(r,o){return r.elements!==o?n(Ep(o),r):r}function Cp(r,o,_){let u=se(275);return u.isTypeOnly=r,u.propertyName=o,u.name=_,u.transformFlags|=$(u.propertyName)|$(u.name),u.transformFlags&=-67108865,u}function X1(r,o,_,u){return r.isTypeOnly!==o||r.propertyName!==_||r.name!==u?n(Cp(o,_,u),r):r}function wc(r,o,_){let u=se(276);return u.modifiers=Se(r),u.isExportEquals=o,u.expression=o?i().parenthesizeRightSideOfBinary(64,void 0,_):i().parenthesizeExpressionOfExportDefault(_),u.transformFlags|=Ne(u.modifiers)|$(u.expression),u.transformFlags&=-67108865,u.jsDoc=void 0,u}function Ec(r,o,_){return r.modifiers!==o||r.expression!==_?n(wc(o,r.isExportEquals,_),r):r}function ci(r,o,_,u,b){let I=se(277);return I.modifiers=Se(r),I.isTypeOnly=o,I.exportClause=_,I.moduleSpecifier=u,I.assertClause=b,I.transformFlags|=Ne(I.modifiers)|$(I.exportClause)|$(I.moduleSpecifier),I.transformFlags&=-67108865,I.jsDoc=void 0,I}function kp(r,o,_,u,b,I){return r.modifiers!==o||r.isTypeOnly!==_||r.exportClause!==u||r.moduleSpecifier!==b||r.assertClause!==I?Ap(ci(o,_,u,b,I),r):r}function Ap(r,o){return r!==o&&r.modifiers===o.modifiers&&(r.modifiers=o.modifiers),n(r,o)}function Fa(r){let o=W(278);return o.elements=Q(r),o.transformFlags|=Ne(o.elements),o.transformFlags&=-67108865,o}function Dp(r,o){return r.elements!==o?n(Fa(o),r):r}function Cc(r,o,_){let u=W(280);return u.isTypeOnly=r,u.propertyName=nt(o),u.name=nt(_),u.transformFlags|=$(u.propertyName)|$(u.name),u.transformFlags&=-67108865,u.jsDoc=void 0,u}function go(r,o,_,u){return r.isTypeOnly!==o||r.propertyName!==_||r.name!==u?n(Cc(o,_,u),r):r}function $1(){let r=se(281);return r.jsDoc=void 0,r}function Pp(r){let o=W(282);return o.expression=r,o.transformFlags|=$(o.expression),o.transformFlags&=-67108865,o}function Np(r,o){return r.expression!==o?n(Pp(o),r):r}function Q1(r){return W(r)}function Ip(r,o,_=!1){let u=Ns(r,_?o&&i().parenthesizeNonArrayTypeOfPostfixType(o):o);return u.postfix=_,u}function Ns(r,o){let _=W(r);return _.type=o,_}function Y1(r,o,_){return o.type!==_?n(Ip(r,_,o.postfix),o):o}function Op(r,o,_){return o.type!==_?n(Ns(r,_),o):o}function Mp(r,o){let _=se(323);return _.parameters=Se(r),_.type=o,_.transformFlags=Ne(_.parameters)|(_.type?1:0),_.jsDoc=void 0,_.locals=void 0,_.nextContainer=void 0,_.typeArguments=void 0,_}function Z1(r,o,_){return r.parameters!==o||r.type!==_?n(Mp(o,_),r):r}function Lp(r,o=!1){let _=se(328);return _.jsDocPropertyTags=Se(r),_.isArrayType=o,_}function ey(r,o,_){return r.jsDocPropertyTags!==o||r.isArrayType!==_?n(Lp(o,_),r):r}function Jp(r){let o=W(315);return o.type=r,o}function ty(r,o){return r.type!==o?n(Jp(o),r):r}function Rp(r,o,_){let u=se(329);return u.typeParameters=Se(r),u.parameters=Q(o),u.type=_,u.jsDoc=void 0,u.locals=void 0,u.nextContainer=void 0,u}function ny(r,o,_,u){return r.typeParameters!==o||r.parameters!==_||r.type!==u?n(Rp(o,_,u),r):r}function Sr(r){let o=Vd(r.kind);return r.tagName.escapedText===Ur(o)?r.tagName:$e(o)}function Rr(r,o,_){let u=W(r);return u.tagName=o,u.comment=_,u}function bo(r,o,_){let u=se(r);return u.tagName=o,u.comment=_,u}function Fp(r,o,_,u){let b=Rr(351,r??$e("template"),u);return b.constraint=o,b.typeParameters=Q(_),b}function Is(r,o=Sr(r),_,u,b){return r.tagName!==o||r.constraint!==_||r.typeParameters!==u||r.comment!==b?n(Fp(o,_,u,b),r):r}function vo(r,o,_,u){let b=bo(352,r??$e("typedef"),u);return b.typeExpression=o,b.fullName=_,b.name=tg(_),b.locals=void 0,b.nextContainer=void 0,b}function kc(r,o=Sr(r),_,u,b){return r.tagName!==o||r.typeExpression!==_||r.fullName!==u||r.comment!==b?n(vo(o,_,u,b),r):r}function Ac(r,o,_,u,b,I){let X=bo(347,r??$e("param"),I);return X.typeExpression=u,X.name=o,X.isNameFirst=!!b,X.isBracketed=_,X}function jp(r,o=Sr(r),_,u,b,I,X){return r.tagName!==o||r.name!==_||r.isBracketed!==u||r.typeExpression!==b||r.isNameFirst!==I||r.comment!==X?n(Ac(o,_,u,b,I,X),r):r}function Os(r,o,_,u,b,I){let X=bo(354,r??$e("prop"),I);return X.typeExpression=u,X.name=o,X.isNameFirst=!!b,X.isBracketed=_,X}function ry(r,o=Sr(r),_,u,b,I,X){return r.tagName!==o||r.name!==_||r.isBracketed!==u||r.typeExpression!==b||r.isNameFirst!==I||r.comment!==X?n(Os(o,_,u,b,I,X),r):r}function Dc(r,o,_,u){let b=bo(344,r??$e("callback"),u);return b.typeExpression=o,b.fullName=_,b.name=tg(_),b.locals=void 0,b.nextContainer=void 0,b}function iy(r,o=Sr(r),_,u,b){return r.tagName!==o||r.typeExpression!==_||r.fullName!==u||r.comment!==b?n(Dc(o,_,u,b),r):r}function Bp(r,o,_){let u=Rr(345,r??$e("overload"),_);return u.typeExpression=o,u}function Up(r,o=Sr(r),_,u){return r.tagName!==o||r.typeExpression!==_||r.comment!==u?n(Bp(o,_,u),r):r}function qp(r,o,_){let u=Rr(334,r??$e("augments"),_);return u.class=o,u}function zp(r,o=Sr(r),_,u){return r.tagName!==o||r.class!==_||r.comment!==u?n(qp(o,_,u),r):r}function Wp(r,o,_){let u=Rr(335,r??$e("implements"),_);return u.class=o,u}function Ms(r,o,_){let u=Rr(353,r??$e("see"),_);return u.name=o,u}function Vp(r,o,_,u){return r.tagName!==o||r.name!==_||r.comment!==u?n(Ms(o,_,u),r):r}function ja(r){let o=W(316);return o.name=r,o}function ay(r,o){return r.name!==o?n(ja(o),r):r}function sa(r,o){let _=W(317);return _.left=r,_.right=o,_.transformFlags|=$(_.left)|$(_.right),_}function Ls(r,o,_){return r.left!==o||r.right!==_?n(sa(o,_),r):r}function Hp(r,o){let _=W(330);return _.name=r,_.text=o,_}function oy(r,o,_){return r.name!==o?n(Hp(o,_),r):r}function Kp(r,o){let _=W(331);return _.name=r,_.text=o,_}function sy(r,o,_){return r.name!==o?n(Kp(o,_),r):r}function Gp(r,o){let _=W(332);return _.name=r,_.text=o,_}function Xp(r,o,_){return r.name!==o?n(Gp(o,_),r):r}function _y(r,o=Sr(r),_,u){return r.tagName!==o||r.class!==_||r.comment!==u?n(Wp(o,_,u),r):r}function $p(r,o,_){return Rr(r,o??$e(Vd(r)),_)}function cy(r,o,_=Sr(o),u){return o.tagName!==_||o.comment!==u?n($p(r,_,u),o):o}function Qp(r,o,_,u){let b=Rr(r,o??$e(Vd(r)),u);return b.typeExpression=_,b}function ly(r,o,_=Sr(o),u,b){return o.tagName!==_||o.typeExpression!==u||o.comment!==b?n(Qp(r,_,u,b),o):o}function Yp(r,o){return Rr(333,r,o)}function uy(r,o,_){return r.tagName!==o||r.comment!==_?n(Yp(o,_),r):r}function Zp(r,o,_){let u=bo(346,r??$e(Vd(346)),_);return u.typeExpression=o,u.locals=void 0,u.nextContainer=void 0,u}function py(r,o=Sr(r),_,u){return r.tagName!==o||r.typeExpression!==_||r.comment!==u?n(Zp(o,_,u),r):r}function ed(r){let o=W(327);return o.text=r,o}function dy(r,o){return r.text!==o?n(ed(o),r):r}function td(r,o){let _=W(326);return _.comment=r,_.tags=Se(o),_}function Pc(r,o,_){return r.comment!==o||r.tags!==_?n(td(o,_),r):r}function nd(r,o,_){let u=W(283);return u.openingElement=r,u.children=Q(o),u.closingElement=_,u.transformFlags|=$(u.openingElement)|Ne(u.children)|$(u.closingElement)|2,u}function rd(r,o,_,u){return r.openingElement!==o||r.children!==_||r.closingElement!==u?n(nd(o,_,u),r):r}function Nc(r,o,_){let u=W(284);return u.tagName=r,u.typeArguments=Se(o),u.attributes=_,u.transformFlags|=$(u.tagName)|Ne(u.typeArguments)|$(u.attributes)|2,u.typeArguments&&(u.transformFlags|=1),u}function fy(r,o,_,u){return r.tagName!==o||r.typeArguments!==_||r.attributes!==u?n(Nc(o,_,u),r):r}function To(r,o,_){let u=W(285);return u.tagName=r,u.typeArguments=Se(o),u.attributes=_,u.transformFlags|=$(u.tagName)|Ne(u.typeArguments)|$(u.attributes)|2,o&&(u.transformFlags|=1),u}function id(r,o,_,u){return r.tagName!==o||r.typeArguments!==_||r.attributes!==u?n(To(o,_,u),r):r}function ad(r){let o=W(286);return o.tagName=r,o.transformFlags|=$(o.tagName)|2,o}function my(r,o){return r.tagName!==o?n(ad(o),r):r}function fn(r,o,_){let u=W(287);return u.openingFragment=r,u.children=Q(o),u.closingFragment=_,u.transformFlags|=$(u.openingFragment)|Ne(u.children)|$(u.closingFragment)|2,u}function od(r,o,_,u){return r.openingFragment!==o||r.children!==_||r.closingFragment!==u?n(fn(o,_,u),r):r}function xo(r,o){let _=W(12);return _.text=r,_.containsOnlyTriviaWhiteSpaces=!!o,_.transformFlags|=2,_}function yy(r,o,_){return r.text!==o||r.containsOnlyTriviaWhiteSpaces!==_?n(xo(o,_),r):r}function sd(){let r=W(288);return r.transformFlags|=2,r}function hy(){let r=W(289);return r.transformFlags|=2,r}function So(r,o){let _=se(290);return _.name=r,_.initializer=o,_.transformFlags|=$(_.name)|$(_.initializer)|2,_}function gy(r,o,_){return r.name!==o||r.initializer!==_?n(So(o,_),r):r}function _d(r){let o=se(291);return o.properties=Q(r),o.transformFlags|=Ne(o.properties)|2,o}function by(r,o){return r.properties!==o?n(_d(o),r):r}function cd(r){let o=W(292);return o.expression=r,o.transformFlags|=$(o.expression)|2,o}function Ic(r,o){return r.expression!==o?n(cd(o),r):r}function Ba(r,o){let _=W(293);return _.dotDotDotToken=r,_.expression=o,_.transformFlags|=$(_.dotDotDotToken)|$(_.expression)|2,_}function vy(r,o){return r.expression!==o?n(Ba(r.dotDotDotToken,o),r):r}function Js(r,o){let _=W(294);return _.namespace=r,_.name=o,_.transformFlags|=$(_.namespace)|$(_.name)|2,_}function ld(r,o,_){return r.namespace!==o||r.name!==_?n(Js(o,_),r):r}function ud(r,o){let _=W(295);return _.expression=i().parenthesizeExpressionForDisallowedComma(r),_.statements=Q(o),_.transformFlags|=$(_.expression)|Ne(_.statements),_.jsDoc=void 0,_}function Oc(r,o,_){return r.expression!==o||r.statements!==_?n(ud(o,_),r):r}function Mc(r){let o=W(296);return o.statements=Q(r),o.transformFlags=Ne(o.statements),o}function Ty(r,o){return r.statements!==o?n(Mc(o),r):r}function pd(r,o){let _=W(297);switch(_.token=r,_.types=Q(o),_.transformFlags|=Ne(_.types),r){case 96:_.transformFlags|=1024;break;case 119:_.transformFlags|=1;break;default:return M.assertNever(r)}return _}function dd(r,o){return r.types!==o?n(pd(r.token,o),r):r}function Lc(r,o){let _=W(298);return _.variableDeclaration=Hy(r),_.block=o,_.transformFlags|=$(_.variableDeclaration)|$(_.block)|(r?0:64),_.locals=void 0,_.nextContainer=void 0,_}function fd(r,o,_){return r.variableDeclaration!==o||r.block!==_?n(Lc(o,_),r):r}function Li(r,o){let _=se(302);return _.name=nt(r),_.initializer=i().parenthesizeExpressionForDisallowedComma(o),_.transformFlags|=Cr(_.name)|$(_.initializer),_.modifiers=void 0,_.questionToken=void 0,_.exclamationToken=void 0,_.jsDoc=void 0,_}function xy(r,o,_){return r.name!==o||r.initializer!==_?Sy(Li(o,_),r):r}function Sy(r,o){return r!==o&&(r.modifiers=o.modifiers,r.questionToken=o.questionToken,r.exclamationToken=o.exclamationToken),n(r,o)}function md(r,o){let _=se(303);return _.name=nt(r),_.objectAssignmentInitializer=o&&i().parenthesizeExpressionForDisallowedComma(o),_.transformFlags|=Qs(_.name)|$(_.objectAssignmentInitializer)|1024,_.equalsToken=void 0,_.modifiers=void 0,_.questionToken=void 0,_.exclamationToken=void 0,_.jsDoc=void 0,_}function wy(r,o,_){return r.name!==o||r.objectAssignmentInitializer!==_?yd(md(o,_),r):r}function yd(r,o){return r!==o&&(r.modifiers=o.modifiers,r.questionToken=o.questionToken,r.exclamationToken=o.exclamationToken,r.equalsToken=o.equalsToken),n(r,o)}function Jc(r){let o=se(304);return o.expression=i().parenthesizeExpressionForDisallowedComma(r),o.transformFlags|=$(o.expression)|128|65536,o.jsDoc=void 0,o}function Fr(r,o){return r.expression!==o?n(Jc(o),r):r}function Rc(r,o){let _=se(305);return _.name=nt(r),_.initializer=o&&i().parenthesizeExpressionForDisallowedComma(o),_.transformFlags|=$(_.name)|$(_.initializer)|1,_.jsDoc=void 0,_}function Ey(r,o,_){return r.name!==o||r.initializer!==_?n(Rc(o,_),r):r}function Cy(r,o,_){let u=t.createBaseSourceFileNode(311);return u.statements=Q(r),u.endOfFileToken=o,u.flags|=_,u.text="",u.fileName="",u.path="",u.resolvedPath="",u.originalFileName="",u.languageVersion=0,u.languageVariant=0,u.scriptKind=0,u.isDeclarationFile=!1,u.hasNoDefaultLib=!1,u.transformFlags|=Ne(u.statements)|$(u.endOfFileToken),u.locals=void 0,u.nextContainer=void 0,u.endFlowNode=void 0,u.nodeCount=0,u.identifierCount=0,u.symbolCount=0,u.parseDiagnostics=void 0,u.bindDiagnostics=void 0,u.bindSuggestionDiagnostics=void 0,u.lineMap=void 0,u.externalModuleIndicator=void 0,u.setExternalModuleIndicator=void 0,u.pragmas=void 0,u.checkJsDirective=void 0,u.referencedFiles=void 0,u.typeReferenceDirectives=void 0,u.libReferenceDirectives=void 0,u.amdDependencies=void 0,u.commentDirectives=void 0,u.identifiers=void 0,u.packageJsonLocations=void 0,u.packageJsonScope=void 0,u.imports=void 0,u.moduleAugmentations=void 0,u.ambientModuleNames=void 0,u.resolvedModules=void 0,u.classifiableNames=void 0,u.impliedNodeFormat=void 0,u}function hd(r){let o=Object.create(r.redirectTarget);return Object.defineProperties(o,{id:{get(){return this.redirectInfo.redirectTarget.id},set(_){this.redirectInfo.redirectTarget.id=_}},symbol:{get(){return this.redirectInfo.redirectTarget.symbol},set(_){this.redirectInfo.redirectTarget.symbol=_}}}),o.redirectInfo=r,o}function gd(r){let o=hd(r.redirectInfo);return o.flags|=r.flags&-9,o.fileName=r.fileName,o.path=r.path,o.resolvedPath=r.resolvedPath,o.originalFileName=r.originalFileName,o.packageJsonLocations=r.packageJsonLocations,o.packageJsonScope=r.packageJsonScope,o.emitNode=void 0,o}function Fc(r){let o=t.createBaseSourceFileNode(311);o.flags|=r.flags&-9;for(let _ in r)if(!(Xn(o,_)||!Xn(r,_))){if(_==="emitNode"){o.emitNode=void 0;continue}o[_]=r[_]}return o}function bd(r){let o=r.redirectInfo?gd(r):Fc(r);return Kn(o,r),o}function ky(r,o,_,u,b,I,X){let ge=bd(r);return ge.statements=Q(o),ge.isDeclarationFile=_,ge.referencedFiles=u,ge.typeReferenceDirectives=b,ge.hasNoDefaultLib=I,ge.libReferenceDirectives=X,ge.transformFlags=Ne(ge.statements)|$(ge.endOfFileToken),ge}function vd(r,o,_=r.isDeclarationFile,u=r.referencedFiles,b=r.typeReferenceDirectives,I=r.hasNoDefaultLib,X=r.libReferenceDirectives){return r.statements!==o||r.isDeclarationFile!==_||r.referencedFiles!==u||r.typeReferenceDirectives!==b||r.hasNoDefaultLib!==I||r.libReferenceDirectives!==X?n(ky(r,o,_,u,b,I,X),r):r}function Td(r,o=Xe){let _=W(312);return _.prepends=o,_.sourceFiles=r,_.syntheticFileReferences=void 0,_.syntheticTypeReferences=void 0,_.syntheticLibReferences=void 0,_.hasNoDefaultLib=void 0,_}function Ay(r,o,_=Xe){return r.sourceFiles!==o||r.prepends!==_?n(Td(o,_),r):r}function Rs(r,o,_){let u=W(313);return u.prologues=r,u.syntheticReferences=o,u.texts=_,u.fileName="",u.text="",u.referencedFiles=Xe,u.libReferenceDirectives=Xe,u.getLineAndCharacterOfPosition=b=>Xa(u,b),u}function Fs(r,o){let _=W(r);return _.data=o,_}function Dy(r){return Fs(306,r)}function Py(r,o){let _=Fs(307,r);return _.texts=o,_}function Ny(r,o){return Fs(o?309:308,r)}function Iy(r){let o=W(310);return o.data=r.data,o.section=r,o}function Oy(){let r=W(314);return r.javascriptText="",r.declarationText="",r}function xd(r,o=!1,_){let u=W(236);return u.type=r,u.isSpread=o,u.tupleNameSource=_,u}function Sd(r){let o=W(357);return o._children=r,o}function wd(r){let o=W(358);return o.original=r,He(o,r),o}function Ed(r,o){let _=W(359);return _.expression=r,_.original=o,_.transformFlags|=$(_.expression)|1,He(_,o),_}function Cd(r,o){return r.expression!==o?n(Ed(o,r.original),r):r}function kd(r){if(pa(r)&&!dl(r)&&!r.original&&!r.emitNode&&!r.id){if(M_(r))return r.elements;if(St(r)&&r8(r.operatorToken))return[r.left,r.right]}return r}function js(r){let o=W(360);return o.elements=Q(Fv(r,kd)),o.transformFlags|=Ne(o.elements),o}function My(r,o){return r.elements!==o?n(js(o),r):r}function Ad(r,o){let _=W(361);return _.expression=r,_.thisArg=o,_.transformFlags|=$(_.expression)|$(_.thisArg),_}function Ly(r,o,_){return r.expression!==o||r.thisArg!==_?n(Ad(o,_),r):r}function Jy(r){let o=_n(r.escapedText);return o.flags|=r.flags&-9,o.transformFlags=r.transformFlags,Kn(o,r),setIdentifierAutoGenerate(o,{...r.emitNode.autoGenerate}),o}function jc(r){let o=_n(r.escapedText);o.flags|=r.flags&-9,o.jsDoc=r.jsDoc,o.flowNode=r.flowNode,o.symbol=r.symbol,o.transformFlags=r.transformFlags,Kn(o,r);let _=getIdentifierTypeArguments(r);return _&&setIdentifierTypeArguments(o,_),o}function Ry(r){let o=Bn(r.escapedText);return o.flags|=r.flags&-9,o.transformFlags=r.transformFlags,Kn(o,r),setIdentifierAutoGenerate(o,{...r.emitNode.autoGenerate}),o}function Fy(r){let o=Bn(r.escapedText);return o.flags|=r.flags&-9,o.transformFlags=r.transformFlags,Kn(o,r),o}function Bc(r){if(r===void 0)return r;if($r(r))return bd(r);if(ma(r))return Jy(r);if(Ce(r))return jc(r);if(Rg(r))return Ry(r);if(Ln(r))return Fy(r);let o=Ol(r.kind)?t.createBaseNode(r.kind):t.createBaseTokenNode(r.kind);o.flags|=r.flags&-9,o.transformFlags=r.transformFlags,Kn(o,r);for(let _ in r)Xn(o,_)||!Xn(r,_)||(o[_]=r[_]);return o}function jy(r,o,_){return Pi(Z_(void 0,void 0,void 0,void 0,o?[o]:[],void 0,Ja(r,!0)),void 0,_?[_]:[])}function By(r,o,_){return Pi(ec(void 0,void 0,o?[o]:[],void 0,void 0,Ja(r,!0)),void 0,_?[_]:[])}function Bs(){return Tr(Ze("0"))}function Us(r){return wc(void 0,!1,r)}function Uy(r){return ci(void 0,!1,Fa([Cc(!1,void 0,r)]))}function Dd(r,o){return o==="undefined"?oe.createStrictEquality(r,Bs()):oe.createStrictEquality(Tn(r),ct(o))}function _a(r,o,_){return T0(r)?X_(Oa(r,void 0,o),void 0,void 0,_):Pi(si(r,o),void 0,_)}function qy(r,o,_){return _a(r,"bind",[o,..._])}function Pd(r,o,_){return _a(r,"call",[o,..._])}function zy(r,o,_){return _a(r,"apply",[o,_])}function wo(r,o,_){return _a($e(r),o,_)}function Wy(r,o){return _a(r,"slice",o===void 0?[]:[ui(o)])}function Nd(r,o){return _a(r,"concat",o)}function Id(r,o,_){return wo("Object","defineProperty",[r,ui(o),_])}function Od(r,o){return wo("Object","getOwnPropertyDescriptor",[r,ui(o)])}function c(r,o,_){return wo("Reflect","get",_?[r,o,_]:[r,o])}function f(r,o,_,u){return wo("Reflect","set",u?[r,o,_,u]:[r,o,_])}function v(r,o,_){return _?(r.push(Li(o,_)),!0):!1}function C(r,o){let _=[];v(_,"enumerable",ui(r.enumerable)),v(_,"configurable",ui(r.configurable));let u=v(_,"writable",ui(r.writable));u=v(_,"value",r.value)||u;let b=v(_,"get",r.get);return b=v(_,"set",r.set)||b,M.assert(!(u&&b),"A PropertyDescriptor may not be both an accessor descriptor and a data descriptor."),po(_,!o)}function P(r,o){switch(r.kind){case 216:return wu(r,o);case 215:return Su(r,r.type,o);case 233:return Ju(r,o,r.type);case 237:return cc(r,o,r.type);case 234:return _c(r,o);case 359:return Cd(r,o)}}function U(r){return ss(r)&&pa(r)&&pa(getSourceMapRange(r))&&pa(getCommentRange(r))&&!ft(getSyntheticLeadingComments(r))&&!ft(getSyntheticTrailingComments(r))}function ne(r,o,_=15){return r&&i1(r,_)&&!U(r)?P(r,ne(r.expression,o)):o}function _e(r,o,_){if(!o)return r;let u=tp(o,o.label,k8(o.statement)?_e(r,o.statement):r);return _&&_(o),u}function pe(r,o){let _=Fl(r);switch(_.kind){case 80:return o;case 110:case 9:case 10:case 11:return!1;case 208:return _.elements.length!==0;case 209:return _.properties.length>0;default:return!0}}function ce(r,o,_,u=!1){let b=ds(r,15),I,X;return Lf(b)?(I=Zt(),X=b):of(b)?(I=Zt(),X=_!==void 0&&_<2?He($e("_super"),b):b):Vr(b)&8192?(I=Bs(),X=i().parenthesizeLeftSideOfAccess(b,!1)):Rn(b)?pe(b.expression,u)?(I=$t(o),X=si(He(oe.createAssignment(I,b.expression),b.expression),b.name),He(X,b)):(I=b.expression,X=b):ka(b)?pe(b.expression,u)?(I=$t(o),X=K_(He(oe.createAssignment(I,b.expression),b.expression),b.argumentExpression),He(X,b)):(I=b.expression,X=b):(I=Bs(),X=i().parenthesizeLeftSideOfAccess(r,!1)),{target:X,thisArg:I}}function ve(r,o){return si(Y_(po([gr(void 0,"value",[Mr(void 0,void 0,r,void 0,void 0,void 0)],Ja([yo(o)]))])),"value")}function Ge(r){return r.length>10?js(r):em(r,oe.createComma)}function je(r,o,_,u=0,b){let I=b?r&&ym(r):Nl(r);if(I&&Ce(I)&&!ma(I)){let X=Vi(He(Bc(I),I),I.parent);return u|=Vr(I),_||(u|=96),o||(u|=3072),u&&setEmitFlags(X,u),X}return fr(r)}function Be(r,o,_){return je(r,o,_,98304)}function Lt(r,o,_,u){return je(r,o,_,32768,u)}function On(r,o,_){return je(r,o,_,16384)}function ca(r,o,_){return je(r,o,_)}function li(r,o,_,u){let b=si(r,pa(o)?o:Bc(o));He(b,o);let I=0;return u||(I|=96),_||(I|=3072),I&&setEmitFlags(b,I),b}function Ji(r,o,_,u){return r&&gn(o,1)?li(r,je(o),_,u):On(o,_,u)}function Ri(r,o,_,u){let b=Md(r,o,0,_);return qc(r,o,b,u)}function la(r){return cr(r.expression)&&r.expression.text==="use strict"}function Uc(){return a1(yo(ct("use strict")))}function Md(r,o,_=0,u){M.assert(o.length===0,"Prologue directives should be at the first statement in the target statements array");let b=!1,I=r.length;for(;_ge&&xn.splice(b,0,...o.slice(ge,Ve)),ge>X&&xn.splice(u,0,...o.slice(X,ge)),X>I&&xn.splice(_,0,...o.slice(I,X)),I>0)if(_===0)xn.splice(0,0,...o.slice(0,I));else{let di=new Map;for(let fi=0;fi<_;fi++){let qs=r[fi];di.set(qs.expression.text,!0)}for(let fi=I-1;fi>=0;fi--){let qs=o[fi];di.has(qs.expression.text)||xn.unshift(qs)}}return ua(r)?He(Q(xn,r.hasTrailingComma),r):r}function Jd(r,o){let _;return typeof o=="number"?_=cn(o):_=o,Jo(r)?yr(r,_,r.name,r.constraint,r.default):io(r)?ti(r,_,r.dotDotDotToken,r.name,r.questionToken,r.type,r.initializer):fb(r)?Ae(r,_,r.typeParameters,r.parameters,r.type):Wl(r)?Ie(r,_,r.name,r.questionToken,r.type):os(r)?be(r,_,r.name,r.questionToken??r.exclamationToken,r.type,r.initializer):s8(r)?et(r,_,r.name,r.questionToken,r.typeParameters,r.parameters,r.type):Vl(r)?ee(r,_,r.asteriskToken,r.name,r.questionToken,r.typeParameters,r.parameters,r.type,r.body):P_(r)?Re(r,_,r.parameters,r.body):Kl(r)?Vn(r,_,r.name,r.parameters,r.type,r.body):N_(r)?ni(r,_,r.name,r.parameters,r.body):db(r)?ra(r,_,r.parameters,r.type):Km(r)?Eu(r,_,r.asteriskToken,r.name,r.typeParameters,r.parameters,r.type,r.body):Gm(r)?Cu(r,_,r.typeParameters,r.parameters,r.type,r.equalsGreaterThanToken,r.body):$m(r)?ks(r,_,r.name,r.typeParameters,r.heritageClauses,r.members):_s(r)?Wu(r,_,r.declarationList):cs(r)?gc(r,_,r.asteriskToken,r.name,r.typeParameters,r.parameters,r.type,r.body):u_(r)?bc(r,_,r.name,r.typeParameters,r.heritageClauses,r.members):eu(r)?cp(r,_,r.name,r.typeParameters,r.heritageClauses,r.members):wb(r)?Ii(r,_,r.name,r.typeParameters,r.type):Eb(r)?Oi(r,_,r.name,r.members):Gi(r)?Mt(r,_,r.name,r.body):kb(r)?mp(r,_,r.isTypeOnly,r.name,r.moduleReference):Ab(r)?hp(r,_,r.importClause,r.moduleSpecifier,r.assertClause):ls(r)?Ec(r,_,r.expression):L_(r)?kp(r,_,r.isTypeOnly,r.exportClause,r.moduleSpecifier,r.assertClause):M.assertNever(r)}function Se(r){return r?Q(r):void 0}function nt(r){return typeof r=="string"?$e(r):r}function ui(r){return typeof r=="string"?ct(r):typeof r=="number"?Ze(r):typeof r=="boolean"?r?mt():mr():r}function Eo(r){return r&&i().parenthesizeExpressionForDisallowedComma(r)}function Rd(r){return typeof r=="number"?gt(r):r}function pi(r){return r&&Pb(r)?He(Kn(lc(),r),r):r}function Hy(r){return typeof r=="string"||r&&!Ei(r)?Ps(r,void 0,void 0,void 0):r}}function hL(e,t){return e!==t&&He(e,t),e}function gL(e,t){return e!==t&&(Kn(e,t),He(e,t)),e}function Vd(e){switch(e){case 350:return"type";case 348:return"returns";case 349:return"this";case 346:return"enum";case 336:return"author";case 338:return"class";case 339:return"public";case 340:return"private";case 341:return"protected";case 342:return"readonly";case 343:return"override";case 351:return"template";case 352:return"typedef";case 347:return"param";case 354:return"prop";case 344:return"callback";case 345:return"overload";case 334:return"augments";case 335:return"implements";default:return M.fail(`Unsupported kind: ${M.formatSyntaxKind(e)}`)}}function bL(e,t){switch(rr||(rr=as(99,!1,0)),e){case 15:rr.setText("`"+t+"`");break;case 16:rr.setText("`"+t+"${");break;case 17:rr.setText("}"+t+"${");break;case 18:rr.setText("}"+t+"`");break}let n=rr.scan();if(n===20&&(n=rr.reScanTemplateToken(!1)),rr.isUnterminated())return rr.setText(void 0),Y0;let i;switch(n){case 15:case 16:case 17:case 18:i=rr.getTokenValue();break}return i===void 0||rr.scan()!==1?(rr.setText(void 0),Y0):(rr.setText(void 0),i)}function Cr(e){return e&&Ce(e)?Qs(e):$(e)}function Qs(e){return $(e)&-67108865}function vL(e,t){return t|e.transformFlags&134234112}function $(e){if(!e)return 0;let t=e.transformFlags&~ZS(e.kind);return mm(e)&&Ml(e.name)?vL(e.name,t):t}function Ne(e){return e?e.transformFlags:0}function _v(e){let t=0;for(let n of e)t|=$(n);e.transformFlags=t}function ZS(e){if(e>=181&&e<=204)return-2;switch(e){case 212:case 213:case 208:return-2147450880;case 266:return-1941676032;case 168:return-2147483648;case 218:return-2072174592;case 217:case 261:return-1937940480;case 260:return-2146893824;case 262:case 230:return-2147344384;case 175:return-1937948672;case 171:return-2013249536;case 173:case 176:case 177:return-2005057536;case 133:case 150:case 162:case 146:case 154:case 151:case 136:case 155:case 116:case 167:case 170:case 172:case 178:case 179:case 180:case 263:case 264:return-2;case 209:return-2147278848;case 298:return-2147418112;case 205:case 206:return-2147450880;case 215:case 237:case 233:case 359:case 216:case 108:return-2147483648;case 210:case 211:return-2147483648;default:return-2147483648}}function zc(e){return e.flags|=8,e}function TL(e,t,n){let i,s,l,d,y,p,x,h,D,w;m_(e)?(l="",d=e,y=e.length,p=t,x=n):(M.assert(t==="js"||t==="dts"),l=(t==="js"?e.javascriptPath:e.declarationPath)||"",p=t==="js"?e.javascriptMapPath:e.declarationMapPath,h=()=>t==="js"?e.javascriptText:e.declarationText,D=()=>t==="js"?e.javascriptMapText:e.declarationMapText,y=()=>h().length,e.buildInfo&&e.buildInfo.bundle&&(M.assert(n===void 0||typeof n=="boolean"),i=n,s=t==="js"?e.buildInfo.bundle.js:e.buildInfo.bundle.dts,w=e.oldFileOfCurrentEmit));let g=w?SL(M.checkDefined(s)):xL(s,i,y);return g.fileName=l,g.sourceMapPath=p,g.oldFileOfCurrentEmit=w,h&&D?(Object.defineProperty(g,"text",{get:h}),Object.defineProperty(g,"sourceMapText",{get:D})):(M.assert(!w),g.text=d??"",g.sourceMapText=x),g}function xL(e,t,n){let i,s,l,d,y,p,x,h;for(let w of e?e.sections:Xe)switch(w.kind){case"prologue":i=Tt(i,He(Dr.createUnparsedPrologue(w.data),w));break;case"emitHelpers":s=Tt(s,getAllUnscopedEmitHelpers().get(w.data));break;case"no-default-lib":h=!0;break;case"reference":l=Tt(l,{pos:-1,end:-1,fileName:w.data});break;case"type":d=Tt(d,{pos:-1,end:-1,fileName:w.data});break;case"type-import":d=Tt(d,{pos:-1,end:-1,fileName:w.data,resolutionMode:99});break;case"type-require":d=Tt(d,{pos:-1,end:-1,fileName:w.data,resolutionMode:1});break;case"lib":y=Tt(y,{pos:-1,end:-1,fileName:w.data});break;case"prepend":let g;for(let A of w.texts)(!t||A.kind!=="internal")&&(g=Tt(g,He(Dr.createUnparsedTextLike(A.data,A.kind==="internal"),A)));p=Mn(p,g),x=Tt(x,Dr.createUnparsedPrepend(w.data,g??Xe));break;case"internal":if(t){x||(x=[]);break}case"text":x=Tt(x,He(Dr.createUnparsedTextLike(w.data,w.kind==="internal"),w));break;default:M.assertNever(w)}if(!x){let w=Dr.createUnparsedTextLike(void 0,!1);zf(w,0,typeof n=="function"?n():n),x=[w]}let D=F_.createUnparsedSource(i??Xe,void 0,x);return n_(i,D),n_(x,D),n_(p,D),D.hasNoDefaultLib=h,D.helpers=s,D.referencedFiles=l||Xe,D.typeReferenceDirectives=d,D.libReferenceDirectives=y||Xe,D}function SL(e){let t,n;for(let s of e.sections)switch(s.kind){case"internal":case"text":t=Tt(t,He(Dr.createUnparsedTextLike(s.data,s.kind==="internal"),s));break;case"no-default-lib":case"reference":case"type":case"type-import":case"type-require":case"lib":n=Tt(n,He(Dr.createUnparsedSyntheticReference(s),s));break;case"prologue":case"emitHelpers":case"prepend":break;default:M.assertNever(s)}let i=Dr.createUnparsedSource(Xe,n,t??Xe);return n_(n,i),n_(t,i),i.helpers=ga(e.sources&&e.sources.helpers,s=>getAllUnscopedEmitHelpers().get(s)),i}function wL(e,t,n,i,s,l){return m_(e)?t8(void 0,e,n,i,void 0,t,s,l):e8(e,t,n,i,s,l)}function e8(e,t,n,i,s,l,d,y){let p=F_.createInputFiles();p.javascriptPath=t,p.javascriptMapPath=n,p.declarationPath=i,p.declarationMapPath=s,p.buildInfoPath=l;let x=new Map,h=A=>{if(A===void 0)return;let B=x.get(A);return B===void 0&&(B=e(A),x.set(A,B!==void 0?B:!1)),B!==!1?B:void 0},D=A=>{let B=h(A);return B!==void 0?B:`/* Input file ${A} was missing */\r -`},w;return Object.defineProperties(p,{javascriptText:{get:()=>D(t)},javascriptMapText:{get:()=>h(n)},declarationText:{get:()=>D(M.checkDefined(i))},declarationMapText:{get:()=>h(s)},buildInfo:{get:()=>{if(w===void 0&&l)if(d!=null&&d.getBuildInfo)w=d.getBuildInfo(l,y.configFilePath)??!1;else{let A=h(l);w=A!==void 0?getBuildInfo(l,A)??!1:!1}return w||void 0}}}),p}function t8(e,t,n,i,s,l,d,y,p,x,h){let D=F_.createInputFiles();return D.javascriptPath=e,D.javascriptText=t,D.javascriptMapPath=n,D.javascriptMapText=i,D.declarationPath=s,D.declarationText=l,D.declarationMapPath=d,D.declarationMapText=y,D.buildInfoPath=p,D.buildInfo=x,D.oldFileOfCurrentEmit=h,D}function EL(e,t,n){return new(lv||(lv=xt.getSourceMapSourceConstructor()))(e,t,n)}function Kn(e,t){if(e.original=t,t){let n=t.emitNode;n&&(e.emitNode=CL(n,e.emitNode))}return e}function CL(e,t){let{flags:n,internalFlags:i,leadingComments:s,trailingComments:l,commentRange:d,sourceMapRange:y,tokenSourceMapRanges:p,constantValue:x,helpers:h,startsOnNewLine:D,snippetElement:w}=e;if(t||(t={}),s&&(t.leadingComments=Mn(s.slice(),t.leadingComments)),l&&(t.trailingComments=Mn(l.slice(),t.trailingComments)),n&&(t.flags=n),i&&(t.internalFlags=i&-9),d&&(t.commentRange=d),y&&(t.sourceMapRange=y),p&&(t.tokenSourceMapRanges=kL(p,t.tokenSourceMapRanges)),x!==void 0&&(t.constantValue=x),h)for(let g of h)t.helpers=Uv(t.helpers,g);return D!==void 0&&(t.startsOnNewLine=D),w!==void 0&&(t.snippetElement=w),t}function kL(e,t){t||(t=[]);for(let n in e)t[n]=e[n];return t}var $c,Q0,_b,rr,Y0,Vs,cv,Dr,lv,AL=Ht({"src/compiler/factory/nodeFactory.ts"(){"use strict";En(),$c=0,Q0=(e=>(e[e.None=0]="None",e[e.NoParenthesizerRules=1]="NoParenthesizerRules",e[e.NoNodeConverters=2]="NoNodeConverters",e[e.NoIndentationOnFreshPropertyAccess=4]="NoIndentationOnFreshPropertyAccess",e[e.NoOriginalNode=8]="NoOriginalNode",e))(Q0||{}),_b=[],Y0={},Vs=QS(),cv={createBaseSourceFileNode:e=>zc(Vs.createBaseSourceFileNode(e)),createBaseIdentifierNode:e=>zc(Vs.createBaseIdentifierNode(e)),createBasePrivateIdentifierNode:e=>zc(Vs.createBasePrivateIdentifierNode(e)),createBaseTokenNode:e=>zc(Vs.createBaseTokenNode(e)),createBaseNode:e=>zc(Vs.createBaseNode(e))},Dr=Vf(4,cv)}}),DL=()=>{},PL=()=>{};function ro(e){return e.kind===9}function cb(e){return e.kind===10}function cr(e){return e.kind===11}function Hf(e){return e.kind===12}function NL(e){return e.kind===14}function n8(e){return e.kind===15}function IL(e){return e.kind===16}function OL(e){return e.kind===17}function ML(e){return e.kind===18}function LL(e){return e.kind===26}function r8(e){return e.kind===28}function lb(e){return e.kind===40}function ub(e){return e.kind===41}function JL(e){return e.kind===42}function Kf(e){return e.kind===54}function xl(e){return e.kind===58}function RL(e){return e.kind===59}function FL(e){return e.kind===29}function jL(e){return e.kind===39}function Ce(e){return e.kind===80}function Ln(e){return e.kind===81}function i8(e){return e.kind===95}function BL(e){return e.kind===90}function Qc(e){return e.kind===134}function UL(e){return e.kind===131}function qL(e){return e.kind===135}function a8(e){return e.kind===148}function zL(e){return e.kind===126}function WL(e){return e.kind===128}function VL(e){return e.kind===163}function HL(e){return e.kind===129}function of(e){return e.kind===108}function o8(e){return e.kind===102}function KL(e){return e.kind===84}function D_(e){return e.kind===165}function Za(e){return e.kind===166}function Jo(e){return e.kind===167}function io(e){return e.kind===168}function zl(e){return e.kind===169}function Wl(e){return e.kind===170}function os(e){return e.kind===171}function s8(e){return e.kind===172}function Vl(e){return e.kind===173}function Hl(e){return e.kind===174}function P_(e){return e.kind===175}function Kl(e){return e.kind===176}function N_(e){return e.kind===177}function pb(e){return e.kind===178}function _8(e){return e.kind===179}function db(e){return e.kind===180}function c8(e){return e.kind===181}function I_(e){return e.kind===182}function Gl(e){return e.kind===183}function fb(e){return e.kind===184}function l8(e){return e.kind===185}function Hm(e){return e.kind===186}function u8(e){return e.kind===187}function p8(e){return e.kind===188}function mb(e){return e.kind===201}function d8(e){return e.kind===189}function f8(e){return e.kind===190}function m8(e){return e.kind===191}function y8(e){return e.kind===192}function h8(e){return e.kind===193}function g8(e){return e.kind===194}function yb(e){return e.kind===195}function hb(e){return e.kind===196}function b8(e){return e.kind===197}function v8(e){return e.kind===198}function T8(e){return e.kind===199}function gb(e){return e.kind===200}function Xl(e){return e.kind===204}function GL(e){return e.kind===203}function XL(e){return e.kind===202}function $L(e){return e.kind===205}function QL(e){return e.kind===206}function $l(e){return e.kind===207}function Ql(e){return e.kind===208}function ao(e){return e.kind===209}function Rn(e){return e.kind===210}function ka(e){return e.kind===211}function O_(e){return e.kind===212}function x8(e){return e.kind===213}function S8(e){return e.kind===214}function YL(e){return e.kind===215}function ss(e){return e.kind===216}function Km(e){return e.kind===217}function Gm(e){return e.kind===218}function ZL(e){return e.kind===219}function eJ(e){return e.kind===220}function bb(e){return e.kind===221}function tJ(e){return e.kind===222}function Xm(e){return e.kind===223}function w8(e){return e.kind===224}function St(e){return e.kind===225}function nJ(e){return e.kind===226}function rJ(e){return e.kind===227}function iJ(e){return e.kind===228}function vb(e){return e.kind===229}function $m(e){return e.kind===230}function Qm(e){return e.kind===231}function Tb(e){return e.kind===232}function aJ(e){return e.kind===233}function oJ(e){return e.kind===237}function qo(e){return e.kind===234}function xb(e){return e.kind===235}function sJ(e){return e.kind===236}function E8(e){return e.kind===359}function M_(e){return e.kind===360}function _J(e){return e.kind===238}function cJ(e){return e.kind===239}function Yl(e){return e.kind===240}function _s(e){return e.kind===242}function lJ(e){return e.kind===241}function Zl(e){return e.kind===243}function uJ(e){return e.kind===244}function pJ(e){return e.kind===245}function dJ(e){return e.kind===246}function C8(e){return e.kind===247}function fJ(e){return e.kind===248}function mJ(e){return e.kind===249}function yJ(e){return e.kind===250}function hJ(e){return e.kind===251}function gJ(e){return e.kind===252}function bJ(e){return e.kind===253}function vJ(e){return e.kind===254}function k8(e){return e.kind===255}function TJ(e){return e.kind===256}function xJ(e){return e.kind===257}function SJ(e){return e.kind===258}function Ei(e){return e.kind===259}function Sb(e){return e.kind===260}function cs(e){return e.kind===261}function u_(e){return e.kind===262}function eu(e){return e.kind===263}function wb(e){return e.kind===264}function Eb(e){return e.kind===265}function Gi(e){return e.kind===266}function A8(e){return e.kind===267}function wJ(e){return e.kind===268}function Cb(e){return e.kind===269}function kb(e){return e.kind===270}function Ab(e){return e.kind===271}function EJ(e){return e.kind===272}function CJ(e){return e.kind===301}function kJ(e){return e.kind===299}function AJ(e){return e.kind===300}function Db(e){return e.kind===273}function Ym(e){return e.kind===279}function DJ(e){return e.kind===274}function D8(e){return e.kind===275}function ls(e){return e.kind===276}function L_(e){return e.kind===277}function P8(e){return e.kind===278}function N8(e){return e.kind===280}function PJ(e){return e.kind===281}function Pb(e){return e.kind===358}function NJ(e){return e.kind===361}function Zm(e){return e.kind===282}function Z0(e){return e.kind===283}function IJ(e){return e.kind===284}function Ro(e){return e.kind===285}function sf(e){return e.kind===286}function ol(e){return e.kind===287}function Nb(e){return e.kind===288}function OJ(e){return e.kind===289}function MJ(e){return e.kind===290}function Ib(e){return e.kind===291}function LJ(e){return e.kind===292}function JJ(e){return e.kind===293}function J_(e){return e.kind===294}function RJ(e){return e.kind===295}function I8(e){return e.kind===296}function Sl(e){return e.kind===297}function FJ(e){return e.kind===298}function us(e){return e.kind===302}function tu(e){return e.kind===303}function O8(e){return e.kind===304}function M8(e){return e.kind===305}function jJ(e){return e.kind===307}function $r(e){return e.kind===311}function BJ(e){return e.kind===312}function UJ(e){return e.kind===313}function L8(e){return e.kind===315}function _f(e){return e.kind===316}function Zs(e){return e.kind===317}function qJ(e){return e.kind===330}function zJ(e){return e.kind===331}function WJ(e){return e.kind===332}function VJ(e){return e.kind===318}function HJ(e){return e.kind===319}function J8(e){return e.kind===320}function KJ(e){return e.kind===321}function GJ(e){return e.kind===322}function e1(e){return e.kind===323}function XJ(e){return e.kind===324}function $J(e){return e.kind===325}function ps(e){return e.kind===326}function Ob(e){return e.kind===328}function nu(e){return e.kind===329}function t1(e){return e.kind===334}function QJ(e){return e.kind===336}function R8(e){return e.kind===338}function YJ(e){return e.kind===344}function Mb(e){return e.kind===339}function Lb(e){return e.kind===340}function Jb(e){return e.kind===341}function Rb(e){return e.kind===342}function F8(e){return e.kind===343}function Fb(e){return e.kind===345}function jb(e){return e.kind===337}function ZJ(e){return e.kind===353}function j8(e){return e.kind===346}function p_(e){return e.kind===347}function Bb(e){return e.kind===348}function B8(e){return e.kind===349}function ru(e){return e.kind===350}function es(e){return e.kind===351}function eR(e){return e.kind===352}function tR(e){return e.kind===333}function nR(e){return e.kind===354}function U8(e){return e.kind===335}function Ub(e){return e.kind===356}function rR(e){return e.kind===355}function iR(e){return e.kind===357}var aR=Ht({"src/compiler/factory/nodeTests.ts"(){"use strict";En()}});function oR(e){return e.createExportDeclaration(void 0,!1,e.createNamedExports([]),void 0)}function n1(e,t,n,i){if(Za(n))return He(e.createElementAccessExpression(t,n.expression),i);{let s=He($a(n)?e.createPropertyAccessExpression(t,n):e.createElementAccessExpression(t,n),n);return addEmitFlags(s,128),s}}function qb(e,t){let n=F_.createIdentifier(e||"React");return Vi(n,Pl(t)),n}function zb(e,t,n){if(D_(t)){let i=zb(e,t.left,n),s=e.createIdentifier(Ot(t.right));return s.escapedText=t.right.escapedText,e.createPropertyAccessExpression(i,s)}else return qb(Ot(t),n)}function q8(e,t,n,i){return t?zb(e,t,i):e.createPropertyAccessExpression(qb(n,i),"createElement")}function sR(e,t,n,i){return t?zb(e,t,i):e.createPropertyAccessExpression(qb(n,i),"Fragment")}function _R(e,t,n,i,s,l){let d=[n];if(i&&d.push(i),s&&s.length>0)if(i||d.push(e.createNull()),s.length>1)for(let y of s)a1(y),d.push(y);else d.push(s[0]);return He(e.createCallExpression(t,void 0,d),l)}function cR(e,t,n,i,s,l,d){let p=[sR(e,n,i,l),e.createNull()];if(s&&s.length>0)if(s.length>1)for(let x of s)a1(x),p.push(x);else p.push(s[0]);return He(e.createCallExpression(q8(e,t,i,l),void 0,p),d)}function lR(e,t,n){if(Sb(t)){let i=cg(t.declarations),s=e.updateVariableDeclaration(i,i.name,void 0,void 0,n);return He(e.createVariableStatement(void 0,e.updateVariableDeclarationList(t,[s])),t)}else{let i=He(e.createAssignment(t,n),t);return He(e.createExpressionStatement(i),t)}}function uR(e,t,n){return Yl(t)?e.updateBlock(t,He(e.createNodeArray([n,...t.statements]),t.statements)):e.createBlock(e.createNodeArray([t,n]),!0)}function z8(e,t){if(D_(t)){let n=z8(e,t.left),i=Vi(He(e.cloneNode(t.right),t.right),t.right.parent);return He(e.createPropertyAccessExpression(n,i),t)}else return Vi(He(e.cloneNode(t),t),t.parent)}function W8(e,t){return Ce(t)?e.createStringLiteralFromNode(t):Za(t)?Vi(He(e.cloneNode(t.expression),t.expression),t.expression.parent):Vi(He(e.cloneNode(t),t),t.parent)}function pR(e,t,n,i,s){let{firstAccessor:l,getAccessor:d,setAccessor:y}=O2(t,n);if(n===l)return He(e.createObjectDefinePropertyCall(i,W8(e,n.name),e.createPropertyDescriptor({enumerable:e.createFalse(),configurable:!0,get:d&&He(Kn(e.createFunctionExpression(Mf(d),void 0,void 0,void 0,d.parameters,void 0,d.body),d),d),set:y&&He(Kn(e.createFunctionExpression(Mf(y),void 0,void 0,void 0,y.parameters,void 0,y.body),y),y)},!s)),l)}function dR(e,t,n){return Kn(He(e.createAssignment(n1(e,n,t.name,t.name),t.initializer),t),t)}function fR(e,t,n){return Kn(He(e.createAssignment(n1(e,n,t.name,t.name),e.cloneNode(t.name)),t),t)}function mR(e,t,n){return Kn(He(e.createAssignment(n1(e,n,t.name,t.name),Kn(He(e.createFunctionExpression(Mf(t),t.asteriskToken,void 0,void 0,t.parameters,void 0,t.body),t),t)),t),t)}function yR(e,t,n,i){switch(n.name&&Ln(n.name)&&M.failBadSyntaxKind(n.name,"Private identifiers are not allowed in object literals."),n.kind){case 176:case 177:return pR(e,t.properties,n,i,!!t.multiLine);case 302:return dR(e,n,i);case 303:return fR(e,n,i);case 173:return mR(e,n,i)}}function hR(e,t,n,i,s){let l=t.operator;M.assert(l===46||l===47,"Expected 'node' to be a pre- or post-increment or pre- or post-decrement expression");let d=e.createTempVariable(i);n=e.createAssignment(d,n),He(n,t.operand);let y=Xm(t)?e.createPrefixUnaryExpression(l,d):e.createPostfixUnaryExpression(d,l);return He(y,t),s&&(y=e.createAssignment(s,y),He(y,t)),n=e.createComma(n,y),He(n,t),w8(t)&&(n=e.createComma(n,d),He(n,t)),n}function gR(e){return(Vr(e)&65536)!==0}function eg(e){return(Vr(e)&32768)!==0}function bR(e){return(Vr(e)&16384)!==0}function V8(e){return cr(e.expression)&&e.expression.text==="use strict"}function H8(e){for(let t of e)if(ha(t)){if(V8(t))return t}else break}function K8(e){let t=f_(e);return t!==void 0&&ha(t)&&V8(t)}function r1(e){return e.kind===225&&e.operatorToken.kind===28}function vR(e){return r1(e)||M_(e)}function G8(e){return ss(e)&&Vt(e)&&!!gm(e)}function TR(e){let t=bm(e);return M.assertIsDefined(t),t}function i1(e,t=15){switch(e.kind){case 216:return t&16&&G8(e)?!1:(t&1)!==0;case 215:case 233:case 232:case 237:return(t&2)!==0;case 234:return(t&4)!==0;case 359:return(t&8)!==0}return!1}function ds(e,t=15){for(;i1(e,t);)e=e.expression;return e}function xR(e,t=15){let n=e.parent;for(;i1(n,t);)n=n.parent,M.assert(n);return n}function SR(e){return ds(e,6)}function a1(e){return setStartsOnNewLine(e,!0)}function X8(e){let t=Dl(e,$r),n=t&&t.emitNode;return n&&n.externalHelpersModuleName}function wR(e){let t=Dl(e,$r),n=t&&t.emitNode;return!!n&&(!!n.externalHelpersModuleName||!!n.externalHelpers)}function ER(e,t,n,i,s,l,d){if(i.importHelpers&&Qg(n,i)){let y,p=Gr(i);if(p>=5&&p<=99||n.impliedNodeFormat===99){let x=getEmitHelpers(n);if(x){let h=[];for(let D of x)if(!D.scoped){let w=D.importName;w&&wl(h,w)}if(ft(h)){h.sort(xi),y=e.createNamedImports(ga(h,g=>Kx(n,g)?e.createImportSpecifier(!1,void 0,e.createIdentifier(g)):e.createImportSpecifier(!1,e.createIdentifier(g),t.getUnscopedHelperName(g))));let D=Dl(n,$r),w=getOrCreateEmitNode(D);w.externalHelpers=!0}}}else{let x=$8(e,n,i,s,l||d);x&&(y=e.createNamespaceImport(x))}if(y){let x=e.createImportDeclaration(void 0,e.createImportClause(!1,void 0,y),e.createStringLiteral(zm),void 0);return addInternalEmitFlags(x,2),x}}}function $8(e,t,n,i,s){if(n.importHelpers&&Qg(t,n)){let l=X8(t);if(l)return l;let d=Gr(n),y=(i||W2(n)&&s)&&d!==4&&(d<5||t.impliedNodeFormat===1);if(!y){let p=getEmitHelpers(t);if(p){for(let x of p)if(!x.scoped){y=!0;break}}}if(y){let p=Dl(t,$r),x=getOrCreateEmitNode(p);return x.externalHelpersModuleName||(x.externalHelpersModuleName=e.createUniqueName(zm))}}}function CR(e,t,n){let i=P4(t);if(i&&!N4(t)&&!Yx(t)){let s=i.name;return ma(s)?s:e.createIdentifier(Yo(n,s)||Ot(s))}if(t.kind===271&&t.importClause||t.kind===277&&t.moduleSpecifier)return e.getGeneratedNameForNode(t)}function kR(e,t,n,i,s,l){let d=h2(t);if(d&&cr(d))return DR(t,i,e,s,l)||AR(e,d,n)||e.cloneNode(d)}function AR(e,t,n){let i=n.renamedDependencies&&n.renamedDependencies.get(t.text);return i?e.createStringLiteral(i):void 0}function Q8(e,t,n,i){if(t){if(t.moduleName)return e.createStringLiteral(t.moduleName);if(!t.isDeclarationFile&&P2(i))return e.createStringLiteral(D2(n,t.fileName))}}function DR(e,t,n,i,s){return Q8(n,i.getExternalModuleFileFromDeclaration(e),t,s)}function Y8(e){if(zg(e))return e.initializer;if(us(e)){let t=e.initializer;return Sa(t,!0)?t.right:void 0}if(tu(e))return e.objectAssignmentInitializer;if(Sa(e,!0))return e.right;if(vb(e))return Y8(e.expression)}function Fo(e){if(zg(e))return e.name;if(qg(e)){switch(e.kind){case 302:return Fo(e.initializer);case 303:return e.name;case 304:return Fo(e.expression)}return}return Sa(e,!0)?Fo(e.left):vb(e)?Fo(e.expression):e}function PR(e){switch(e.kind){case 168:case 207:return e.dotDotDotToken;case 229:case 304:return e}}function NR(e){let t=Z8(e);return M.assert(!!t||O8(e),"Invalid property name for binding element."),t}function Z8(e){switch(e.kind){case 207:if(e.propertyName){let n=e.propertyName;return Ln(n)?M.failBadSyntaxKind(n):Za(n)&&uv(n.expression)?n.expression:n}break;case 302:if(e.name){let n=e.name;return Ln(n)?M.failBadSyntaxKind(n):Za(n)&&uv(n.expression)?n.expression:n}break;case 304:return e.name&&Ln(e.name)?M.failBadSyntaxKind(e.name):e.name}let t=Fo(e);if(t&&Ml(t))return t}function uv(e){let t=e.kind;return t===11||t===9}function e7(e){switch(e.kind){case 205:case 206:case 208:return e.elements;case 209:return e.properties}}function tg(e){if(e){let t=e;for(;;){if(Ce(t)||!t.body)return Ce(t)?t:t.name;t=t.body}}}function IR(e){let t=e.kind;return t===175||t===177}function t7(e){let t=e.kind;return t===175||t===176||t===177}function OR(e){let t=e.kind;return t===302||t===303||t===261||t===175||t===180||t===174||t===281||t===242||t===263||t===264||t===265||t===266||t===270||t===271||t===269||t===277||t===276}function MR(e){let t=e.kind;return t===174||t===302||t===303||t===281||t===269}function LR(e){return xl(e)||Kf(e)}function JR(e){return Ce(e)||hb(e)}function RR(e){return a8(e)||lb(e)||ub(e)}function FR(e){return xl(e)||lb(e)||ub(e)}function jR(e){return Ce(e)||cr(e)}function BR(e){let t=e.kind;return t===106||t===112||t===97||Jg(e)||Xm(e)}function UR(e){return e===43}function qR(e){return e===42||e===44||e===45}function zR(e){return UR(e)||qR(e)}function WR(e){return e===40||e===41}function VR(e){return WR(e)||zR(e)}function HR(e){return e===48||e===49||e===50}function KR(e){return HR(e)||VR(e)}function GR(e){return e===30||e===33||e===32||e===34||e===104||e===103}function XR(e){return GR(e)||KR(e)}function $R(e){return e===35||e===37||e===36||e===38}function QR(e){return $R(e)||XR(e)}function YR(e){return e===51||e===52||e===53}function ZR(e){return YR(e)||QR(e)}function eF(e){return e===56||e===57}function tF(e){return eF(e)||ZR(e)}function nF(e){return e===61||tF(e)||w_(e)}function rF(e){return nF(e)||e===28}function iF(e){return rF(e.kind)}function aF(e,t,n,i,s,l){let d=new r7(e,t,n,i,s,l);return y;function y(p,x){let h={value:void 0},D=[Xf.enter],w=[p],g=[void 0],A=0;for(;D[A]!==Xf.done;)A=D[A](d,A,D,w,g,h,x);return M.assertEqual(A,0),h.value}}function n7(e){return e===95||e===90}function oF(e){let t=e.kind;return n7(t)}function sF(e){let t=e.kind;return yi(t)&&!n7(t)}function _F(e,t){if(t!==void 0)return t.length===0?t:He(e.createNodeArray([],t.hasTrailingComma),t)}function cF(e){var t;let n=e.emitNode.autoGenerate;if(n.flags&4){let i=n.id,s=e,l=s.original;for(;l;){s=l;let d=(t=s.emitNode)==null?void 0:t.autoGenerate;if($a(s)&&(d===void 0||d.flags&4&&d.id!==i))break;l=s.original}return s}return e}function ng(e,t){return typeof e=="object"?Gf(!1,e.prefix,e.node,e.suffix,t):typeof e=="string"?e.length>0&&e.charCodeAt(0)===35?e.slice(1):e:""}function lF(e,t){return typeof e=="string"?e:uF(e,M.checkDefined(t))}function uF(e,t){return Rg(e)?t(e).slice(1):ma(e)?t(e):Ln(e)?e.escapedText.slice(1):Ot(e)}function Gf(e,t,n,i,s){return t=ng(t,s),i=ng(i,s),n=lF(n,s),`${e?"#":""}${t}${n}${i}`}function pF(e,t,n,i){return e.updatePropertyDeclaration(t,n,e.getGeneratedPrivateNameForNode(t.name,void 0,"_accessor_storage"),void 0,void 0,i)}function dF(e,t,n,i){return e.createGetAccessorDeclaration(n,i,[],void 0,e.createBlock([e.createReturnStatement(e.createPropertyAccessExpression(e.createThis(),e.getGeneratedPrivateNameForNode(t.name,void 0,"_accessor_storage")))]))}function fF(e,t,n,i){return e.createSetAccessorDeclaration(n,i,[e.createParameterDeclaration(void 0,void 0,"value")],e.createBlock([e.createExpressionStatement(e.createAssignment(e.createPropertyAccessExpression(e.createThis(),e.getGeneratedPrivateNameForNode(t.name,void 0,"_accessor_storage")),e.createIdentifier("value")))]))}function mF(e){let t=e.expression;for(;;){if(t=ds(t),M_(t)){t=ba(t.elements);continue}if(r1(t)){t=t.right;continue}if(Sa(t,!0)&&ma(t.left))return t;break}}function yF(e){return ss(e)&&pa(e)&&!e.emitNode}function Yc(e,t){if(yF(e))Yc(e.expression,t);else if(r1(e))Yc(e.left,t),Yc(e.right,t);else if(M_(e))for(let n of e.elements)Yc(n,t);else t.push(e)}function hF(e){let t=[];return Yc(e,t),t}function Wb(e){if(e.transformFlags&65536)return!0;if(e.transformFlags&128)for(let t of e7(e)){let n=Fo(t);if(n&&kx(n)&&(n.transformFlags&65536||n.transformFlags&128&&Wb(n)))return!0}return!1}var Xf,r7,gF=Ht({"src/compiler/factory/utilities.ts"(){"use strict";En(),(e=>{function t(h,D,w,g,A,B,G){let oe=D>0?A[D-1]:void 0;return M.assertEqual(w[D],t),A[D]=h.onEnter(g[D],oe,G),w[D]=y(h,t),D}e.enter=t;function n(h,D,w,g,A,B,G){M.assertEqual(w[D],n),M.assertIsDefined(h.onLeft),w[D]=y(h,n);let oe=h.onLeft(g[D].left,A[D],g[D]);return oe?(x(D,g,oe),p(D,w,g,A,oe)):D}e.left=n;function i(h,D,w,g,A,B,G){return M.assertEqual(w[D],i),M.assertIsDefined(h.onOperator),w[D]=y(h,i),h.onOperator(g[D].operatorToken,A[D],g[D]),D}e.operator=i;function s(h,D,w,g,A,B,G){M.assertEqual(w[D],s),M.assertIsDefined(h.onRight),w[D]=y(h,s);let oe=h.onRight(g[D].right,A[D],g[D]);return oe?(x(D,g,oe),p(D,w,g,A,oe)):D}e.right=s;function l(h,D,w,g,A,B,G){M.assertEqual(w[D],l),w[D]=y(h,l);let oe=h.onExit(g[D],A[D]);if(D>0){if(D--,h.foldState){let Q=w[D]===l?"right":"left";A[D]=h.foldState(A[D],oe,Q)}}else B.value=oe;return D}e.exit=l;function d(h,D,w,g,A,B,G){return M.assertEqual(w[D],d),D}e.done=d;function y(h,D){switch(D){case t:if(h.onLeft)return n;case n:if(h.onOperator)return i;case i:if(h.onRight)return s;case s:return l;case l:return d;case d:return d;default:M.fail("Invalid state")}}e.nextState=y;function p(h,D,w,g,A){return h++,D[h]=t,w[h]=A,g[h]=void 0,h}function x(h,D,w){if(M.shouldAssert(2))for(;h>=0;)M.assert(D[h]!==w,"Circular traversal detected."),h--}})(Xf||(Xf={})),r7=class{constructor(e,t,n,i,s,l){this.onEnter=e,this.onLeft=t,this.onOperator=n,this.onRight=i,this.onExit=s,this.foldState=l}}}});function He(e,t){return t?Va(e,t.pos,t.end):e}function R_(e){let t=e.kind;return t===167||t===168||t===170||t===171||t===172||t===173||t===175||t===176||t===177||t===180||t===184||t===217||t===218||t===230||t===242||t===261||t===262||t===263||t===264||t===265||t===266||t===270||t===271||t===276||t===277}function i7(e){let t=e.kind;return t===168||t===171||t===173||t===176||t===177||t===230||t===262}var bF=Ht({"src/compiler/factory/utilitiesPublic.ts"(){"use strict";En()}});function N(e,t){return t&&e(t)}function ue(e,t,n){if(n){if(t)return t(n);for(let i of n){let s=e(i);if(s)return s}}}function a7(e,t){return e.charCodeAt(t+1)===42&&e.charCodeAt(t+2)===42&&e.charCodeAt(t+3)!==47}function sl(e){return hn(e.statements,vF)||TF(e)}function vF(e){return R_(e)&&xF(e,95)||kb(e)&&Zm(e.moduleReference)||Ab(e)||ls(e)||L_(e)?e:void 0}function TF(e){return e.flags&4194304?o7(e):void 0}function o7(e){return SF(e)?e:qt(e,o7)}function xF(e,t){return ft(e.modifiers,n=>n.kind===t)}function SF(e){return xb(e)&&e.keywordToken===102&&e.name.escapedText==="meta"}function pv(e,t,n){return ue(t,n,e.typeParameters)||ue(t,n,e.parameters)||N(t,e.type)}function dv(e,t,n){return ue(t,n,e.types)}function fv(e,t,n){return N(t,e.type)}function mv(e,t,n){return ue(t,n,e.elements)}function yv(e,t,n){return N(t,e.expression)||N(t,e.questionDotToken)||ue(t,n,e.typeArguments)||ue(t,n,e.arguments)}function hv(e,t,n){return ue(t,n,e.statements)}function gv(e,t,n){return N(t,e.label)}function bv(e,t,n){return ue(t,n,e.modifiers)||N(t,e.name)||ue(t,n,e.typeParameters)||ue(t,n,e.heritageClauses)||ue(t,n,e.members)}function vv(e,t,n){return ue(t,n,e.elements)}function Tv(e,t,n){return N(t,e.propertyName)||N(t,e.name)}function xv(e,t,n){return N(t,e.tagName)||ue(t,n,e.typeArguments)||N(t,e.attributes)}function Ao(e,t,n){return N(t,e.type)}function Sv(e,t,n){return N(t,e.tagName)||(e.isNameFirst?N(t,e.name)||N(t,e.typeExpression):N(t,e.typeExpression)||N(t,e.name))||(typeof e.comment=="string"?void 0:ue(t,n,e.comment))}function Do(e,t,n){return N(t,e.tagName)||N(t,e.typeExpression)||(typeof e.comment=="string"?void 0:ue(t,n,e.comment))}function th(e,t,n){return N(t,e.name)}function qa(e,t,n){return N(t,e.tagName)||(typeof e.comment=="string"?void 0:ue(t,n,e.comment))}function wF(e,t,n){return N(t,e.expression)}function qt(e,t,n){if(e===void 0||e.kind<=164)return;let i=p7[e.kind];return i===void 0?void 0:i(e,t,n)}function rg(e,t,n){let i=wv(e),s=[];for(;s.length=0;--y)i.push(l[y]),s.push(d)}else{let y=t(l,d);if(y){if(y==="skip")continue;return y}if(l.kind>=165)for(let p of wv(l))i.push(p),s.push(l)}}}function wv(e){let t=[];return qt(e,n,n),t;function n(i){t.unshift(i)}}function s7(e){e.externalModuleIndicator=sl(e)}function _7(e,t,n,i=!1,s){var l,d,y,p;(l=fa)==null||l.push(fa.Phase.Parse,"createSourceFile",{path:e},!0),Q6("beforeParse");let x;(d=yf)==null||d.logStartParseSourceFile(e);let{languageVersion:h,setExternalModuleIndicator:D,impliedNodeFormat:w}=typeof n=="object"?n:{languageVersion:n};if(h===100)x=zr.parseSourceFile(e,t,h,void 0,i,6,Nr);else{let g=w===void 0?D:A=>(A.impliedNodeFormat=w,(D||s7)(A));x=zr.parseSourceFile(e,t,h,void 0,i,s,g)}return(y=yf)==null||y.logStopParseSourceFile(),Q6("afterParse"),y5("Parse","beforeParse","afterParse"),(p=fa)==null||p.pop(),x}function EF(e,t){return zr.parseIsolatedEntityName(e,t)}function CF(e,t){return zr.parseJsonText(e,t)}function ts(e){return e.externalModuleIndicator!==void 0}function Vb(e,t,n,i=!1){let s=cf.updateSourceFile(e,t,n,i);return s.flags|=e.flags&6291456,s}function kF(e,t,n){let i=zr.JSDocParser.parseIsolatedJSDocComment(e,t,n);return i&&i.jsDoc&&zr.fixupParentReferences(i.jsDoc),i}function AF(e,t,n){return zr.JSDocParser.parseJSDocTypeExpressionForTests(e,t,n)}function c7(e){return Wr(e,ob)||Ea(e,".ts")&&Ga(h_(e),".d.")}function DF(e,t,n,i){if(e){if(e==="import")return 99;if(e==="require")return 1;i(t,n-t,K.resolution_mode_should_be_either_require_or_import)}}function l7(e,t){let n=[];for(let i of Go(t,0)||Xe){let s=t.substring(i.pos,i.end);NF(n,i,s)}e.pragmas=new Map;for(let i of n){if(e.pragmas.has(i.name)){let s=e.pragmas.get(i.name);s instanceof Array?s.push(i.args):e.pragmas.set(i.name,[s,i.args]);continue}e.pragmas.set(i.name,i.args)}}function u7(e,t){e.checkJsDirective=void 0,e.referencedFiles=[],e.typeReferenceDirectives=[],e.libReferenceDirectives=[],e.amdDependencies=[],e.hasNoDefaultLib=!1,e.pragmas.forEach((n,i)=>{switch(i){case"reference":{let s=e.referencedFiles,l=e.typeReferenceDirectives,d=e.libReferenceDirectives;hn(Gd(n),y=>{let{types:p,lib:x,path:h,["resolution-mode"]:D}=y.arguments;if(y.arguments["no-default-lib"])e.hasNoDefaultLib=!0;else if(p){let w=DF(D,p.pos,p.end,t);l.push({pos:p.pos,end:p.end,fileName:p.value,...w?{resolutionMode:w}:{}})}else x?d.push({pos:x.pos,end:x.end,fileName:x.value}):h?s.push({pos:h.pos,end:h.end,fileName:h.value}):t(y.range.pos,y.range.end-y.range.pos,K.Invalid_reference_directive_syntax)});break}case"amd-dependency":{e.amdDependencies=ga(Gd(n),s=>({name:s.arguments.name,path:s.arguments.path}));break}case"amd-module":{if(n instanceof Array)for(let s of n)e.moduleName&&t(s.range.pos,s.range.end-s.range.pos,K.An_AMD_module_cannot_have_multiple_name_assignments),e.moduleName=s.arguments.name;else e.moduleName=n.arguments.name;break}case"ts-nocheck":case"ts-check":{hn(Gd(n),s=>{(!e.checkJsDirective||s.range.pos>e.checkJsDirective.pos)&&(e.checkJsDirective={enabled:i==="ts-check",end:s.range.end,pos:s.range.pos})});break}case"jsx":case"jsxfrag":case"jsximportsource":case"jsxruntime":return;default:M.fail("Unhandled pragma kind")}})}function PF(e){if(lf.has(e))return lf.get(e);let t=new RegExp(`(\\s${e}\\s*=\\s*)(?:(?:'([^']*)')|(?:"([^"]*)"))`,"im");return lf.set(e,t),t}function NF(e,t,n){let i=t.kind===2&&d7.exec(n);if(i){let l=i[1].toLowerCase(),d=om[l];if(!d||!(d.kind&1))return;if(d.args){let y={};for(let p of d.args){let h=PF(p.name).exec(n);if(!h&&!p.optional)return;if(h){let D=h[2]||h[3];if(p.captureSpan){let w=t.pos+h.index+h[1].length+1;y[p.name]={value:D,pos:w,end:w+D.length}}else y[p.name]=D}}e.push({name:l,args:{arguments:y,range:t}})}else e.push({name:l,args:{arguments:{},range:t}});return}let s=t.kind===2&&f7.exec(n);if(s)return Ev(e,t,2,s);if(t.kind===3){let l=/@(\S+)(\s+.*)?$/gim,d;for(;d=l.exec(n);)Ev(e,t,4,d)}}function Ev(e,t,n,i){if(!i)return;let s=i[1].toLowerCase(),l=om[s];if(!l||!(l.kind&n))return;let d=i[2],y=IF(l,d);y!=="fail"&&e.push({name:s,args:{arguments:y,range:t}})}function IF(e,t){if(!t)return{};if(!e.args)return{};let n=am(t).split(/\s+/),i={};for(let s=0;snew(Pv||(Pv=xt.getSourceFileConstructor()))(e,-1,-1),createBaseIdentifierNode:e=>new(Av||(Av=xt.getIdentifierConstructor()))(e,-1,-1),createBasePrivateIdentifierNode:e=>new(Dv||(Dv=xt.getPrivateIdentifierConstructor()))(e,-1,-1),createBaseTokenNode:e=>new(kv||(kv=xt.getTokenConstructor()))(e,-1,-1),createBaseNode:e=>new(Cv||(Cv=xt.getNodeConstructor()))(e,-1,-1)},F_=Vf(1,ig),p7={165:function(t,n,i){return N(n,t.left)||N(n,t.right)},167:function(t,n,i){return ue(n,i,t.modifiers)||N(n,t.name)||N(n,t.constraint)||N(n,t.default)||N(n,t.expression)},303:function(t,n,i){return ue(n,i,t.modifiers)||N(n,t.name)||N(n,t.questionToken)||N(n,t.exclamationToken)||N(n,t.equalsToken)||N(n,t.objectAssignmentInitializer)},304:function(t,n,i){return N(n,t.expression)},168:function(t,n,i){return ue(n,i,t.modifiers)||N(n,t.dotDotDotToken)||N(n,t.name)||N(n,t.questionToken)||N(n,t.type)||N(n,t.initializer)},171:function(t,n,i){return ue(n,i,t.modifiers)||N(n,t.name)||N(n,t.questionToken)||N(n,t.exclamationToken)||N(n,t.type)||N(n,t.initializer)},170:function(t,n,i){return ue(n,i,t.modifiers)||N(n,t.name)||N(n,t.questionToken)||N(n,t.type)||N(n,t.initializer)},302:function(t,n,i){return ue(n,i,t.modifiers)||N(n,t.name)||N(n,t.questionToken)||N(n,t.exclamationToken)||N(n,t.initializer)},259:function(t,n,i){return N(n,t.name)||N(n,t.exclamationToken)||N(n,t.type)||N(n,t.initializer)},207:function(t,n,i){return N(n,t.dotDotDotToken)||N(n,t.propertyName)||N(n,t.name)||N(n,t.initializer)},180:function(t,n,i){return ue(n,i,t.modifiers)||ue(n,i,t.typeParameters)||ue(n,i,t.parameters)||N(n,t.type)},184:function(t,n,i){return ue(n,i,t.modifiers)||ue(n,i,t.typeParameters)||ue(n,i,t.parameters)||N(n,t.type)},183:function(t,n,i){return ue(n,i,t.modifiers)||ue(n,i,t.typeParameters)||ue(n,i,t.parameters)||N(n,t.type)},178:pv,179:pv,173:function(t,n,i){return ue(n,i,t.modifiers)||N(n,t.asteriskToken)||N(n,t.name)||N(n,t.questionToken)||N(n,t.exclamationToken)||ue(n,i,t.typeParameters)||ue(n,i,t.parameters)||N(n,t.type)||N(n,t.body)},172:function(t,n,i){return ue(n,i,t.modifiers)||N(n,t.name)||N(n,t.questionToken)||ue(n,i,t.typeParameters)||ue(n,i,t.parameters)||N(n,t.type)},175:function(t,n,i){return ue(n,i,t.modifiers)||N(n,t.name)||ue(n,i,t.typeParameters)||ue(n,i,t.parameters)||N(n,t.type)||N(n,t.body)},176:function(t,n,i){return ue(n,i,t.modifiers)||N(n,t.name)||ue(n,i,t.typeParameters)||ue(n,i,t.parameters)||N(n,t.type)||N(n,t.body)},177:function(t,n,i){return ue(n,i,t.modifiers)||N(n,t.name)||ue(n,i,t.typeParameters)||ue(n,i,t.parameters)||N(n,t.type)||N(n,t.body)},261:function(t,n,i){return ue(n,i,t.modifiers)||N(n,t.asteriskToken)||N(n,t.name)||ue(n,i,t.typeParameters)||ue(n,i,t.parameters)||N(n,t.type)||N(n,t.body)},217:function(t,n,i){return ue(n,i,t.modifiers)||N(n,t.asteriskToken)||N(n,t.name)||ue(n,i,t.typeParameters)||ue(n,i,t.parameters)||N(n,t.type)||N(n,t.body)},218:function(t,n,i){return ue(n,i,t.modifiers)||ue(n,i,t.typeParameters)||ue(n,i,t.parameters)||N(n,t.type)||N(n,t.equalsGreaterThanToken)||N(n,t.body)},174:function(t,n,i){return ue(n,i,t.modifiers)||N(n,t.body)},182:function(t,n,i){return N(n,t.typeName)||ue(n,i,t.typeArguments)},181:function(t,n,i){return N(n,t.assertsModifier)||N(n,t.parameterName)||N(n,t.type)},185:function(t,n,i){return N(n,t.exprName)||ue(n,i,t.typeArguments)},186:function(t,n,i){return ue(n,i,t.members)},187:function(t,n,i){return N(n,t.elementType)},188:function(t,n,i){return ue(n,i,t.elements)},191:dv,192:dv,193:function(t,n,i){return N(n,t.checkType)||N(n,t.extendsType)||N(n,t.trueType)||N(n,t.falseType)},194:function(t,n,i){return N(n,t.typeParameter)},204:function(t,n,i){return N(n,t.argument)||N(n,t.assertions)||N(n,t.qualifier)||ue(n,i,t.typeArguments)},301:function(t,n,i){return N(n,t.assertClause)},195:fv,197:fv,198:function(t,n,i){return N(n,t.objectType)||N(n,t.indexType)},199:function(t,n,i){return N(n,t.readonlyToken)||N(n,t.typeParameter)||N(n,t.nameType)||N(n,t.questionToken)||N(n,t.type)||ue(n,i,t.members)},200:function(t,n,i){return N(n,t.literal)},201:function(t,n,i){return N(n,t.dotDotDotToken)||N(n,t.name)||N(n,t.questionToken)||N(n,t.type)},205:mv,206:mv,208:function(t,n,i){return ue(n,i,t.elements)},209:function(t,n,i){return ue(n,i,t.properties)},210:function(t,n,i){return N(n,t.expression)||N(n,t.questionDotToken)||N(n,t.name)},211:function(t,n,i){return N(n,t.expression)||N(n,t.questionDotToken)||N(n,t.argumentExpression)},212:yv,213:yv,214:function(t,n,i){return N(n,t.tag)||N(n,t.questionDotToken)||ue(n,i,t.typeArguments)||N(n,t.template)},215:function(t,n,i){return N(n,t.type)||N(n,t.expression)},216:function(t,n,i){return N(n,t.expression)},219:function(t,n,i){return N(n,t.expression)},220:function(t,n,i){return N(n,t.expression)},221:function(t,n,i){return N(n,t.expression)},223:function(t,n,i){return N(n,t.operand)},228:function(t,n,i){return N(n,t.asteriskToken)||N(n,t.expression)},222:function(t,n,i){return N(n,t.expression)},224:function(t,n,i){return N(n,t.operand)},225:function(t,n,i){return N(n,t.left)||N(n,t.operatorToken)||N(n,t.right)},233:function(t,n,i){return N(n,t.expression)||N(n,t.type)},234:function(t,n,i){return N(n,t.expression)},237:function(t,n,i){return N(n,t.expression)||N(n,t.type)},235:function(t,n,i){return N(n,t.name)},226:function(t,n,i){return N(n,t.condition)||N(n,t.questionToken)||N(n,t.whenTrue)||N(n,t.colonToken)||N(n,t.whenFalse)},229:function(t,n,i){return N(n,t.expression)},240:hv,267:hv,311:function(t,n,i){return ue(n,i,t.statements)||N(n,t.endOfFileToken)},242:function(t,n,i){return ue(n,i,t.modifiers)||N(n,t.declarationList)},260:function(t,n,i){return ue(n,i,t.declarations)},243:function(t,n,i){return N(n,t.expression)},244:function(t,n,i){return N(n,t.expression)||N(n,t.thenStatement)||N(n,t.elseStatement)},245:function(t,n,i){return N(n,t.statement)||N(n,t.expression)},246:function(t,n,i){return N(n,t.expression)||N(n,t.statement)},247:function(t,n,i){return N(n,t.initializer)||N(n,t.condition)||N(n,t.incrementor)||N(n,t.statement)},248:function(t,n,i){return N(n,t.initializer)||N(n,t.expression)||N(n,t.statement)},249:function(t,n,i){return N(n,t.awaitModifier)||N(n,t.initializer)||N(n,t.expression)||N(n,t.statement)},250:gv,251:gv,252:function(t,n,i){return N(n,t.expression)},253:function(t,n,i){return N(n,t.expression)||N(n,t.statement)},254:function(t,n,i){return N(n,t.expression)||N(n,t.caseBlock)},268:function(t,n,i){return ue(n,i,t.clauses)},295:function(t,n,i){return N(n,t.expression)||ue(n,i,t.statements)},296:function(t,n,i){return ue(n,i,t.statements)},255:function(t,n,i){return N(n,t.label)||N(n,t.statement)},256:function(t,n,i){return N(n,t.expression)},257:function(t,n,i){return N(n,t.tryBlock)||N(n,t.catchClause)||N(n,t.finallyBlock)},298:function(t,n,i){return N(n,t.variableDeclaration)||N(n,t.block)},169:function(t,n,i){return N(n,t.expression)},262:bv,230:bv,263:function(t,n,i){return ue(n,i,t.modifiers)||N(n,t.name)||ue(n,i,t.typeParameters)||ue(n,i,t.heritageClauses)||ue(n,i,t.members)},264:function(t,n,i){return ue(n,i,t.modifiers)||N(n,t.name)||ue(n,i,t.typeParameters)||N(n,t.type)},265:function(t,n,i){return ue(n,i,t.modifiers)||N(n,t.name)||ue(n,i,t.members)},305:function(t,n,i){return N(n,t.name)||N(n,t.initializer)},266:function(t,n,i){return ue(n,i,t.modifiers)||N(n,t.name)||N(n,t.body)},270:function(t,n,i){return ue(n,i,t.modifiers)||N(n,t.name)||N(n,t.moduleReference)},271:function(t,n,i){return ue(n,i,t.modifiers)||N(n,t.importClause)||N(n,t.moduleSpecifier)||N(n,t.assertClause)},272:function(t,n,i){return N(n,t.name)||N(n,t.namedBindings)},299:function(t,n,i){return ue(n,i,t.elements)},300:function(t,n,i){return N(n,t.name)||N(n,t.value)},269:function(t,n,i){return ue(n,i,t.modifiers)||N(n,t.name)},273:function(t,n,i){return N(n,t.name)},279:function(t,n,i){return N(n,t.name)},274:vv,278:vv,277:function(t,n,i){return ue(n,i,t.modifiers)||N(n,t.exportClause)||N(n,t.moduleSpecifier)||N(n,t.assertClause)},275:Tv,280:Tv,276:function(t,n,i){return ue(n,i,t.modifiers)||N(n,t.expression)},227:function(t,n,i){return N(n,t.head)||ue(n,i,t.templateSpans)},238:function(t,n,i){return N(n,t.expression)||N(n,t.literal)},202:function(t,n,i){return N(n,t.head)||ue(n,i,t.templateSpans)},203:function(t,n,i){return N(n,t.type)||N(n,t.literal)},166:function(t,n,i){return N(n,t.expression)},297:function(t,n,i){return ue(n,i,t.types)},232:function(t,n,i){return N(n,t.expression)||ue(n,i,t.typeArguments)},282:function(t,n,i){return N(n,t.expression)},281:function(t,n,i){return ue(n,i,t.modifiers)},360:function(t,n,i){return ue(n,i,t.elements)},283:function(t,n,i){return N(n,t.openingElement)||ue(n,i,t.children)||N(n,t.closingElement)},287:function(t,n,i){return N(n,t.openingFragment)||ue(n,i,t.children)||N(n,t.closingFragment)},284:xv,285:xv,291:function(t,n,i){return ue(n,i,t.properties)},290:function(t,n,i){return N(n,t.name)||N(n,t.initializer)},292:function(t,n,i){return N(n,t.expression)},293:function(t,n,i){return N(n,t.dotDotDotToken)||N(n,t.expression)},286:function(t,n,i){return N(n,t.tagName)},294:function(t,n,i){return N(n,t.namespace)||N(n,t.name)},189:Ao,190:Ao,315:Ao,321:Ao,320:Ao,322:Ao,324:Ao,323:function(t,n,i){return ue(n,i,t.parameters)||N(n,t.type)},326:function(t,n,i){return(typeof t.comment=="string"?void 0:ue(n,i,t.comment))||ue(n,i,t.tags)},353:function(t,n,i){return N(n,t.tagName)||N(n,t.name)||(typeof t.comment=="string"?void 0:ue(n,i,t.comment))},316:function(t,n,i){return N(n,t.name)},317:function(t,n,i){return N(n,t.left)||N(n,t.right)},347:Sv,354:Sv,336:function(t,n,i){return N(n,t.tagName)||(typeof t.comment=="string"?void 0:ue(n,i,t.comment))},335:function(t,n,i){return N(n,t.tagName)||N(n,t.class)||(typeof t.comment=="string"?void 0:ue(n,i,t.comment))},334:function(t,n,i){return N(n,t.tagName)||N(n,t.class)||(typeof t.comment=="string"?void 0:ue(n,i,t.comment))},351:function(t,n,i){return N(n,t.tagName)||N(n,t.constraint)||ue(n,i,t.typeParameters)||(typeof t.comment=="string"?void 0:ue(n,i,t.comment))},352:function(t,n,i){return N(n,t.tagName)||(t.typeExpression&&t.typeExpression.kind===315?N(n,t.typeExpression)||N(n,t.fullName)||(typeof t.comment=="string"?void 0:ue(n,i,t.comment)):N(n,t.fullName)||N(n,t.typeExpression)||(typeof t.comment=="string"?void 0:ue(n,i,t.comment)))},344:function(t,n,i){return N(n,t.tagName)||N(n,t.fullName)||N(n,t.typeExpression)||(typeof t.comment=="string"?void 0:ue(n,i,t.comment))},348:Do,350:Do,349:Do,346:Do,356:Do,355:Do,345:Do,329:function(t,n,i){return hn(t.typeParameters,n)||hn(t.parameters,n)||N(n,t.type)},330:th,331:th,332:th,328:function(t,n,i){return hn(t.jsDocPropertyTags,n)},333:qa,338:qa,339:qa,340:qa,341:qa,342:qa,337:qa,343:qa,359:wF},(e=>{var t=as(99,!0),n=20480,i,s,l,d,y;function p(c){return mr++,c}var x={createBaseSourceFileNode:c=>p(new y(c,0,0)),createBaseIdentifierNode:c=>p(new l(c,0,0)),createBasePrivateIdentifierNode:c=>p(new d(c,0,0)),createBaseTokenNode:c=>p(new s(c,0,0)),createBaseNode:c=>p(new i(c,0,0))},h=Vf(11,x),{createNodeArray:D,createNumericLiteral:w,createStringLiteral:g,createLiteralLikeNode:A,createIdentifier:B,createPrivateIdentifier:G,createToken:oe,createArrayLiteralExpression:Q,createObjectLiteralExpression:W,createPropertyAccessExpression:se,createPropertyAccessChain:we,createElementAccessExpression:Ze,createElementAccessChain:Ue,createCallExpression:rt,createCallChain:ct,createNewExpression:Dn,createParenthesizedExpression:sn,createBlock:ei,createVariableStatement:_n,createExpressionStatement:Pn,createIfStatement:$e,createWhileStatement:$t,createForStatement:jn,createForOfStatement:Qt,createVariableDeclaration:fr,createVariableDeclarationList:Bn}=h,dn,Yt,vt,Un,qn,gt,lt,Zt,zn,mt,mr,bt,cn,dt,Qn,ut,Jt=!0,ln=!1;function yr(c,f,v,C,P=!1,U,ne){var _e;if(U=oS(c,U),U===6){let ce=ti(c,f,v,C,P);return convertToJson(ce,(_e=ce.statements[0])==null?void 0:_e.expression,ce.parseDiagnostics,!1,void 0),ce.referencedFiles=Xe,ce.typeReferenceDirectives=Xe,ce.libReferenceDirectives=Xe,ce.amdDependencies=Xe,ce.hasNoDefaultLib=!1,ce.pragmas=mg,ce}Wn(c,f,v,C,U);let pe=Ci(v,P,U,ne||s7);return hr(),pe}e.parseSourceFile=yr;function Mr(c,f){Wn("",c,f,void 0,1),R();let v=Ma(!0),C=m()===1&&!lt.length;return hr(),C?v:void 0}e.parseIsolatedEntityName=Mr;function ti(c,f,v=2,C,P=!1){Wn(c,f,v,C,6),Yt=ut,R();let U=S(),ne,_e;if(m()===1)ne=Bt([],U,U),_e=vn();else{let ve;for(;m()!==1;){let Be;switch(m()){case 23:Be=zp();break;case 112:case 97:case 106:Be=vn();break;case 41:Pe(()=>R()===9&&R()!==59)?Be=wp():Be=Ms();break;case 9:case 11:if(Pe(()=>R()!==59)){Be=Jr();break}default:Be=Ms();break}ve&&Wt(ve)?ve.push(Be):ve?ve=[ve,Be]:(ve=Be,m()!==1&&Fe(K.Unexpected_token))}let Ge=Wt(ve)?F(Q(ve),U):M.checkDefined(ve),je=Pn(Ge);F(je,U),ne=Bt([je],U),_e=oi(1,K.Unexpected_token)}let pe=et(c,2,6,!1,ne,_e,Yt,Nr);P&&Ee(pe),pe.nodeCount=mr,pe.identifierCount=cn,pe.identifiers=bt,pe.parseDiagnostics=za(lt,pe),Zt&&(pe.jsDocDiagnostics=za(Zt,pe));let ce=pe;return hr(),ce}e.parseJsonText=ti;function Wn(c,f,v,C,P){switch(i=xt.getNodeConstructor(),s=xt.getTokenConstructor(),l=xt.getIdentifierConstructor(),d=xt.getPrivateIdentifierConstructor(),y=xt.getSourceFileConstructor(),dn=sr(c),vt=f,Un=v,zn=C,qn=P,gt=B0(P),lt=[],dt=0,bt=new Map,cn=0,mr=0,Yt=0,Jt=!0,qn){case 1:case 2:ut=262144;break;case 6:ut=67371008;break;default:ut=0;break}ln=!1,t.setText(vt),t.setOnError(E),t.setScriptTarget(Un),t.setLanguageVariant(gt)}function hr(){t.clearCommentDirectives(),t.setText(""),t.setOnError(void 0),vt=void 0,Un=void 0,zn=void 0,qn=void 0,gt=void 0,Yt=0,lt=void 0,Zt=void 0,dt=0,bt=void 0,Qn=void 0,Jt=!0}function Ci(c,f,v,C){let P=c7(dn);P&&(ut|=16777216),Yt=ut,R();let U=er(0,fn);M.assert(m()===1);let ne=de(vn()),_e=et(dn,c,v,P,U,ne,Yt,C);return l7(_e,vt),u7(_e,pe),_e.commentDirectives=t.getCommentDirectives(),_e.nodeCount=mr,_e.identifierCount=cn,_e.identifiers=bt,_e.parseDiagnostics=za(lt,_e),Zt&&(_e.jsDocDiagnostics=za(Zt,_e)),f&&Ee(_e),_e;function pe(ce,ve,Ge){lt.push(No(dn,ce,ve,Ge))}}function Ie(c,f){return f?de(c):c}let H=!1;function de(c){M.assert(!c.jsDoc);let f=Ka(c4(c,vt),v=>Od.parseJSDocComment(c,v.pos,v.end-v.pos));return f.length&&(c.jsDoc=f),H&&(H=!1,c.flags|=268435456),c}function be(c){let f=zn,v=cf.createSyntaxCursor(c);zn={currentNode:ve};let C=[],P=lt;lt=[];let U=0,ne=pe(c.statements,0);for(;ne!==-1;){let Ge=c.statements[U],je=c.statements[ne];Mn(C,c.statements,U,ne),U=ce(c.statements,ne);let Be=el(P,On=>On.start>=Ge.pos),Lt=Be>=0?el(P,On=>On.start>=je.pos,Be):-1;Be>=0&&Mn(lt,P,Be,Lt>=0?Lt:void 0),Ct(()=>{let On=ut;for(ut|=32768,t.resetTokenState(je.pos),R();m()!==1;){let ca=t.getTokenFullStart(),li=Ss(0,fn);if(C.push(li),ca===t.getTokenFullStart()&&R(),U>=0){let Ji=c.statements[U];if(li.end===Ji.pos)break;li.end>Ji.pos&&(U=ce(c.statements,U+1))}}ut=On},2),ne=U>=0?pe(c.statements,U):-1}if(U>=0){let Ge=c.statements[U];Mn(C,c.statements,U);let je=el(P,Be=>Be.start>=Ge.pos);je>=0&&Mn(lt,P,je)}return zn=f,h.updateSourceFile(c,He(D(C),c.statements));function _e(Ge){return!(Ge.flags&32768)&&!!(Ge.transformFlags&67108864)}function pe(Ge,je){for(let Be=je;Be118}function Pt(){return m()===80?!0:m()===127&&ii()||m()===135&&Nn()?!1:m()>118}function Y(c,f,v=!0){return m()===c?(v&&R(),!0):(f?Fe(f):Fe(K._0_expected,an(c)),!1)}let Le=Object.keys(tl).filter(c=>c.length>2);function _t(c){if(S8(c)){wt(It(vt,c.template.pos),c.template.end,K.Module_declaration_names_may_only_use_or_quoted_strings);return}let f=Ce(c)?Ot(c):void 0;if(!f||!Ag(f,Un)){Fe(K._0_expected,an(27));return}let v=It(vt,c.pos);switch(f){case"const":case"let":case"var":wt(v,c.end,K.Variable_declaration_not_allowed_at_this_location);return;case"declare":return;case"interface":en(K.Interface_name_cannot_be_0,K.Interface_must_be_given_a_name,19);return;case"is":wt(v,t.getTokenStart(),K.A_type_predicate_is_only_allowed_in_return_type_position_for_functions_and_methods);return;case"module":case"namespace":en(K.Namespace_name_cannot_be_0,K.Namespace_must_be_given_a_name,19);return;case"type":en(K.Type_alias_name_cannot_be_0,K.Type_alias_must_be_given_a_name,64);return}let C=Yv(f,Le,P=>P)??Zn(f);if(C){wt(v,c.end,K.Unknown_keyword_or_identifier_Did_you_mean_0,C);return}m()!==0&&wt(v,c.end,K.Unexpected_keyword_or_identifier)}function en(c,f,v){m()===v?Fe(f):Fe(c,t.getTokenValue())}function Zn(c){for(let f of Le)if(c.length>f.length+2&&Jn(c,f))return`${f} ${c.slice(f.length)}`}function lo(c,f,v){if(m()===60&&!t.hasPrecedingLineBreak()){Fe(K.Decorators_must_precede_the_name_and_all_keywords_of_property_declarations);return}if(m()===21){Fe(K.Cannot_start_a_function_call_in_a_type_annotation),R();return}if(f&&!Ai()){v?Fe(K._0_expected,an(27)):Fe(K.Expected_for_property_initializer);return}if(!uo()){if(v){Fe(K._0_expected,an(27));return}_t(c)}}function Na(c){return m()===c?(me(),!0):(M.assert(ef(c)),Fe(K._0_expected,an(c)),!1)}function vr(c,f,v,C){if(m()===f){R();return}let P=Fe(K._0_expected,an(f));v&&P&&Xc(P,No(dn,C,1,K.The_parser_expected_to_find_a_1_to_match_the_0_token_here,an(c),an(f)))}function Je(c){return m()===c?(R(),!0):!1}function at(c){if(m()===c)return vn()}function pu(c){if(m()===c)return fu()}function oi(c,f,v){return at(c)||Hn(c,!1,f||K._0_expected,v||an(c))}function du(c){let f=pu(c);return f||(M.assert(ef(c)),Hn(c,!1,K._0_expected,an(c)))}function vn(){let c=S(),f=m();return R(),F(oe(f),c)}function fu(){let c=S(),f=m();return me(),F(oe(f),c)}function Ai(){return m()===27?!0:m()===20||m()===1||t.hasPrecedingLineBreak()}function uo(){return Ai()?(m()===27&&R(),!0):!1}function In(){return uo()||Y(27)}function Bt(c,f,v,C){let P=D(c,C);return Va(P,f,v??t.getTokenFullStart()),P}function F(c,f,v){return Va(c,f,v??t.getTokenFullStart()),ut&&(c.flags|=ut),ln&&(ln=!1,c.flags|=131072),c}function Hn(c,f,v,...C){f?ki(t.getTokenFullStart(),0,v,...C):v&&Fe(v,...C);let P=S(),U=c===80?B("",void 0):fl(c)?h.createTemplateLiteralLikeNode(c,"","",void 0):c===9?w("",void 0):c===11?g("",void 0):c===281?h.createMissingDeclaration():oe(c);return F(U,P)}function Di(c){let f=bt.get(c);return f===void 0&&bt.set(c,f=c),f}function ia(c,f,v){if(c){cn++;let _e=S(),pe=m(),ce=Di(t.getTokenValue()),ve=t.hasExtendedUnicodeEscape();return ie(),F(B(ce,pe,ve),_e)}if(m()===81)return Fe(v||K.Private_identifiers_are_not_allowed_outside_class_bodies),ia(!0);if(m()===0&&t.tryScan(()=>t.reScanInvalidIdentifier()===80))return ia(!0);cn++;let C=m()===1,P=t.isReservedWord(),U=t.getTokenText(),ne=P?K.Identifier_expected_0_is_a_reserved_word_that_cannot_be_used_here:K.Identifier_expected;return Hn(80,C,f||ne,U)}function vs(c){return ia(Yn(),void 0,c)}function Ut(c,f){return ia(Pt(),c,f)}function zt(c){return ia(At(m()),c)}function aa(){return At(m())||m()===11||m()===9}function mu(){return At(m())||m()===11}function b1(c){if(m()===11||m()===9){let f=Jr();return f.text=Di(f.text),f}return c&&m()===23?v1():m()===81?Ts():zt()}function oa(){return b1(!0)}function v1(){let c=S();Y(23);let f=Re(Mt);return Y(24),F(h.createComputedPropertyName(f),c)}function Ts(){let c=S(),f=G(Di(t.getTokenValue()));return R(),F(f,c)}function Ia(c){return m()===c&&jt(yu)}function H_(){return R(),t.hasPrecedingLineBreak()?!1:si()}function yu(){switch(m()){case 87:return R()===94;case 95:return R(),m()===90?Pe(gu):m()===156?Pe(T1):po();case 90:return gu();case 126:case 139:case 153:return R(),si();default:return H_()}}function po(){return m()===60||m()!==42&&m()!==130&&m()!==19&&si()}function T1(){return R(),po()}function hu(){return yi(m())&&jt(yu)}function si(){return m()===23||m()===19||m()===42||m()===26||aa()}function gu(){return R(),m()===86||m()===100||m()===120||m()===60||m()===128&&Pe(nd)||m()===134&&Pe(rd)}function Oa(c,f){if($_(c))return!0;switch(c){case 0:case 1:case 3:return!(m()===27&&f)&&id();case 2:return m()===84||m()===90;case 4:return Pe(Wu);case 5:return Pe(xy)||m()===27&&!f;case 6:return m()===23||aa();case 12:switch(m()){case 23:case 42:case 26:case 25:return!0;default:return aa()}case 18:return aa();case 9:return m()===23||m()===26||aa();case 24:return mu();case 7:return m()===19?Pe(bu):f?Pt()&&!G_():vc()&&!G_();case 8:return Ic();case 10:return m()===28||m()===26||Ic();case 19:return m()===103||m()===87||Pt();case 15:switch(m()){case 28:case 25:return!0}case 11:return m()===26||Oi();case 16:return As(!1);case 17:return As(!0);case 20:case 21:return m()===28||Ra();case 22:return Fs();case 23:return At(m());case 13:return At(m())||m()===19;case 14:return!0;case 25:return!0;case 26:return M.fail("ParsingContext.Count used as a context");default:M.assertNever(c,"Non-exhaustive case in 'isListElement'.")}}function bu(){if(M.assert(m()===19),R()===20){let c=R();return c===28||c===19||c===96||c===119}return!0}function xs(){return R(),Pt()}function K_(){return R(),At(m())}function x1(){return R(),bT(m())}function G_(){return m()===119||m()===96?Pe(vu):!1}function vu(){return R(),Oi()}function Tu(){return R(),Ra()}function Pi(c){if(m()===1)return!0;switch(c){case 1:case 2:case 4:case 5:case 6:case 12:case 9:case 23:case 24:return m()===20;case 3:return m()===20||m()===84||m()===90;case 7:return m()===19||m()===96||m()===119;case 8:return S1();case 19:return m()===32||m()===21||m()===19||m()===96||m()===119;case 11:return m()===22||m()===27;case 15:case 21:case 10:return m()===24;case 17:case 16:case 18:return m()===22||m()===24;case 20:return m()!==28;case 22:return m()===19||m()===20;case 13:return m()===32||m()===44;case 14:return m()===30&&Pe(My);default:return!1}}function S1(){return!!(Ai()||vp(m())||m()===39)}function X_(){M.assert(dt,"Missing parsing context");for(let c=0;c<26;c++)if(dt&1<=0)}function C1(c){return c===6?K.An_enum_member_name_must_be_followed_by_a_or:void 0}function Tr(){let c=Bt([],S());return c.isMissingList=!0,c}function k1(c){return!!c.isMissingList}function Ni(c,f,v,C){if(Y(v)){let P=Tn(c,f);return Y(C),P}return Tr()}function Ma(c,f){let v=S(),C=c?zt(f):Ut(f);for(;Je(25)&&m()!==30;)C=F(h.createQualifiedName(C,ws(c,!1)),v);return C}function nc(c,f){return F(h.createQualifiedName(c,f),c.pos)}function ws(c,f){if(t.hasPrecedingLineBreak()&&At(m())&&Pe(Pc))return Hn(80,!0,K.Identifier_expected);if(m()===81){let v=Ts();return f?v:Hn(80,!0,K.Identifier_expected)}return c?zt():Ut()}function rc(c){let f=S(),v=[],C;do C=D1(c),v.push(C);while(C.literal.kind===17);return Bt(v,f)}function ku(c){let f=S();return F(h.createTemplateExpression(Du(c),rc(c)),f)}function ic(){let c=S();return F(h.createTemplateLiteralType(Du(!1),Au()),c)}function Au(){let c=S(),f=[],v;do v=A1(),f.push(v);while(v.literal.kind===17);return Bt(f,c)}function A1(){let c=S();return F(h.createTemplateLiteralTypeSpan(yt(),ac(!1)),c)}function ac(c){return m()===20?(ot(c),Es()):oi(18,K._0_expected,an(20))}function D1(c){let f=S();return F(h.createTemplateSpan(Re(Mt),ac(c)),f)}function Jr(){return fo(m())}function Du(c){!c&&t.getTokenFlags()&26656&&ot(!1);let f=fo(m());return M.assert(f.kind===16,"Template head has wrong token kind"),f}function Es(){let c=fo(m());return M.assert(c.kind===17||c.kind===18,"Template fragment has wrong token kind"),c}function Pu(c){let f=c===15||c===18,v=t.getTokenText();return v.substring(1,v.length-(t.isUnterminated()?0:f?1:2))}function fo(c){let f=S(),v=fl(c)?h.createTemplateLiteralLikeNode(c,t.getTokenValue(),Pu(c),t.getTokenFlags()&7176):c===9?w(t.getTokenValue(),t.getNumericLiteralFlags()):c===11?g(t.getTokenValue(),void 0,t.hasExtendedUnicodeEscape()):Lg(c)?A(c,t.getTokenValue()):M.fail();return t.hasExtendedUnicodeEscape()&&(v.hasExtendedUnicodeEscape=!0),t.isUnterminated()&&(v.isUnterminated=!0),R(),F(v,f)}function oc(){return Ma(!0,K.Type_expected)}function La(){if(!t.hasPrecedingLineBreak()&&st()===30)return Ni(20,yt,30,32)}function Cs(){let c=S();return F(h.createTypeReferenceNode(oc(),La()),c)}function sc(c){switch(c.kind){case 182:return Bi(c.typeName);case 183:case 184:{let{parameters:f,type:v}=c;return k1(f)||sc(v)}case 195:return sc(c.type);default:return!1}}function P1(c){return R(),F(h.createTypePredicateNode(void 0,c,yt()),c.pos)}function Nu(){let c=S();return R(),F(h.createThisTypeNode(),c)}function Iu(){let c=S();return R(),F(h.createJSDocAllType(),c)}function N1(){let c=S();return R(),F(h.createJSDocNonNullableType(yc(),!1),c)}function Ou(){let c=S();return R(),m()===28||m()===20||m()===22||m()===32||m()===64||m()===52?F(h.createJSDocUnknownType(),c):F(h.createJSDocNullableType(yt(),!1),c)}function I1(){let c=S(),f=J();if(Pe(kd)){R();let v=_i(36),C=xr(59,!1);return Ie(F(h.createJSDocFunctionType(v,C),c),f)}return F(h.createTypeReferenceNode(zt(),void 0),c)}function Mu(){let c=S(),f;return(m()===110||m()===105)&&(f=zt(),Y(59)),F(h.createParameterDeclaration(void 0,void 0,f,void 0,ks(),void 0),c)}function ks(){t.setInJSDocType(!0);let c=S();if(Je(144)){let C=h.createJSDocNamepathType(void 0);e:for(;;)switch(m()){case 20:case 1:case 28:case 5:break e;default:me()}return t.setInJSDocType(!1),F(C,c)}let f=Je(26),v=bc();return t.setInJSDocType(!1),f&&(v=F(h.createJSDocVariadicType(v),c)),m()===64?(R(),F(h.createJSDocOptionalType(v),c)):v}function O1(){let c=S();Y(114);let f=Ma(!0),v=t.hasPrecedingLineBreak()?void 0:Rs();return F(h.createTypeQueryNode(f,v),c)}function Lu(){let c=S(),f=Fr(!1,!0),v=Ut(),C,P;Je(96)&&(Ra()||!Oi()?C=yt():P=Ec());let U=Je(64)?yt():void 0,ne=h.createTypeParameterDeclaration(f,v,C,U);return ne.expression=P,F(ne,c)}function tr(){if(m()===30)return Ni(19,Lu,30,32)}function As(c){return m()===26||Ic()||yi(m())||m()===60||Ra(!c)}function Ju(c){let f=Ba(K.Private_identifiers_cannot_be_used_as_parameters);return Em(f)===0&&!ft(c)&&yi(m())&&R(),f}function Ru(){return Yn()||m()===23||m()===19}function _c(c){return cc(c)}function Fu(c){return cc(c,!1)}function cc(c,f=!0){let v=S(),C=J(),P=c?ni(()=>Fr(!0)):ri(()=>Fr(!0));if(m()===110){let pe=h.createParameterDeclaration(P,void 0,ia(!0),void 0,Ii(),void 0),ce=f_(P);return ce&&j(ce,K.Neither_decorators_nor_modifiers_may_be_applied_to_this_parameters),Ie(F(pe,v),C)}let U=Jt;Jt=!1;let ne=at(26);if(!f&&!Ru())return;let _e=Ie(F(h.createParameterDeclaration(P,ne,Ju(P),at(58),Ii(),Mi()),v),C);return Jt=U,_e}function xr(c,f){if(ju(c,f))return Nt(bc)}function ju(c,f){return c===39?(Y(c),!0):Je(59)?!0:f&&m()===39?(Fe(K._0_expected,an(59)),R(),!0):!1}function Ds(c,f){let v=ii(),C=Nn();Z(!!(c&1)),Te(!!(c&2));let P=c&32?Tn(17,Mu):Tn(16,()=>f?_c(C):Fu(C));return Z(v),Te(C),P}function _i(c){if(!Y(21))return Tr();let f=Ds(c,!0);return Y(22),f}function mo(){Je(28)||In()}function Bu(c){let f=S(),v=J();c===179&&Y(105);let C=tr(),P=_i(4),U=xr(59,!0);mo();let ne=c===178?h.createCallSignature(C,P,U):h.createConstructSignature(C,P,U);return Ie(F(ne,f),v)}function Uu(){return m()===23&&Pe(Ja)}function Ja(){if(R(),m()===26||m()===24)return!0;if(yi(m())){if(R(),Pt())return!0}else if(Pt())R();else return!1;return m()===59||m()===28?!0:m()!==58?!1:(R(),m()===59||m()===28||m()===24)}function qu(c,f,v){let C=Ni(16,()=>_c(!1),23,24),P=Ii();mo();let U=h.createIndexSignature(v,C,P);return Ie(F(U,c),f)}function zu(c,f,v){let C=oa(),P=at(58),U;if(m()===21||m()===30){let ne=tr(),_e=_i(4),pe=xr(59,!0);U=h.createMethodSignature(v,C,P,ne,_e,pe)}else{let ne=Ii();U=h.createPropertySignature(v,C,P,ne),m()===64&&(U.initializer=Mi())}return mo(),Ie(F(U,c),f)}function Wu(){if(m()===21||m()===30||m()===139||m()===153)return!0;let c=!1;for(;yi(m());)c=!0,R();return m()===23?!0:(aa()&&(c=!0,R()),c?m()===21||m()===30||m()===58||m()===59||m()===28||Ai():!1)}function lc(){if(m()===21||m()===30)return Bu(178);if(m()===105&&Pe(yo))return Bu(179);let c=S(),f=J(),v=Fr(!1);return Ia(139)?Li(c,f,v,176,4):Ia(153)?Li(c,f,v,177,4):Uu()?qu(c,f,v):zu(c,f,v)}function yo(){return R(),m()===21||m()===30}function M1(){return R()===25}function uc(){switch(R()){case 21:case 30:case 25:return!0}return!1}function L1(){let c=S();return F(h.createTypeLiteralNode(pc()),c)}function pc(){let c;return Y(19)?(c=er(4,lc),Y(20)):c=Tr(),c}function J1(){return R(),m()===40||m()===41?R()===148:(m()===148&&R(),m()===23&&xs()&&R()===103)}function Vu(){let c=S(),f=zt();Y(103);let v=yt();return F(h.createTypeParameterDeclaration(void 0,f,v,void 0),c)}function R1(){let c=S();Y(19);let f;(m()===148||m()===40||m()===41)&&(f=vn(),f.kind!==148&&Y(148)),Y(23);let v=Vu(),C=Je(130)?yt():void 0;Y(24);let P;(m()===58||m()===40||m()===41)&&(P=vn(),P.kind!==58&&Y(58));let U=Ii();In();let ne=er(4,lc);return Y(20),F(h.createMappedTypeNode(f,v,C,P,U,ne),c)}function dc(){let c=S();if(Je(26))return F(h.createRestTypeNode(yt()),c);let f=yt();if(J8(f)&&f.pos===f.type.pos){let v=h.createOptionalTypeNode(f.type);return He(v,f),v.flags=f.flags,v}return f}function Hu(){return R()===59||m()===58&&R()===59}function Ku(){return m()===26?At(R())&&Hu():At(m())&&Hu()}function F1(){if(Pe(Ku)){let c=S(),f=J(),v=at(26),C=zt(),P=at(58);Y(59);let U=dc(),ne=h.createNamedTupleMember(v,C,P,U);return Ie(F(ne,c),f)}return dc()}function Gu(){let c=S();return F(h.createTupleTypeNode(Ni(21,F1,23,24)),c)}function j1(){let c=S();Y(21);let f=yt();return Y(22),F(h.createParenthesizedType(f),c)}function Xu(){let c;if(m()===128){let f=S();R();let v=F(oe(128),f);c=Bt([v],f)}return c}function $u(){let c=S(),f=J(),v=Xu(),C=Je(105);M.assert(!v||C,"Per isStartOfFunctionOrConstructorType, a function type cannot have modifiers.");let P=tr(),U=_i(4),ne=xr(39,!1),_e=C?h.createConstructorTypeNode(v,P,U,ne):h.createFunctionTypeNode(P,U,ne);return Ie(F(_e,c),f)}function fc(){let c=vn();return m()===25?void 0:c}function Qu(c){let f=S();c&&R();let v=m()===112||m()===97||m()===106?vn():fo(m());return c&&(v=F(h.createPrefixUnaryExpression(41,v),f)),F(h.createLiteralTypeNode(v),f)}function Yu(){return R(),m()===102}function B1(){let c=S(),f=t.getTokenStart();Y(19);let v=t.hasPrecedingLineBreak();Y(132),Y(59);let C=jc(!0);if(!Y(20)){let P=Ti(lt);P&&P.code===K._0_expected.code&&Xc(P,No(dn,f,1,K.The_parser_expected_to_find_a_1_to_match_the_0_token_here,"{","}"))}return F(h.createImportTypeAssertionContainer(C,v),c)}function mc(){Yt|=2097152;let c=S(),f=Je(114);Y(102),Y(21);let v=yt(),C;Je(28)&&(C=B1()),Y(22);let P=Je(25)?oc():void 0,U=La();return F(h.createImportTypeNode(v,C,P,U,f),c)}function Zu(){return R(),m()===9||m()===10}function yc(){switch(m()){case 133:case 159:case 154:case 150:case 162:case 155:case 136:case 157:case 146:case 151:return jt(fc)||Cs();case 67:t.reScanAsteriskEqualsToken();case 42:return Iu();case 61:t.reScanQuestionToken();case 58:return Ou();case 100:return I1();case 54:return N1();case 15:case 11:case 9:case 10:case 112:case 97:case 106:return Qu();case 41:return Pe(Zu)?Qu(!0):Cs();case 116:return vn();case 110:{let c=Nu();return m()===142&&!t.hasPrecedingLineBreak()?P1(c):c}case 114:return Pe(Yu)?mc():O1();case 19:return Pe(J1)?R1():L1();case 23:return Gu();case 21:return j1();case 102:return mc();case 131:return Pe(Pc)?cp():Cs();case 16:return ic();default:return Cs()}}function Ra(c){switch(m()){case 133:case 159:case 154:case 150:case 162:case 136:case 148:case 155:case 158:case 116:case 157:case 106:case 110:case 114:case 146:case 19:case 23:case 30:case 52:case 51:case 105:case 11:case 9:case 10:case 112:case 97:case 151:case 42:case 58:case 54:case 26:case 140:case 102:case 131:case 15:case 16:return!0;case 100:return!c;case 41:return!c&&Pe(Zu);case 21:return!c&&Pe(ep);default:return Pt()}}function ep(){return R(),m()===22||As(!1)||Ra()}function tp(){let c=S(),f=yc();for(;!t.hasPrecedingLineBreak();)switch(m()){case 54:R(),f=F(h.createJSDocNonNullableType(f,!0),c);break;case 58:if(Pe(Tu))return f;R(),f=F(h.createJSDocNullableType(f,!0),c);break;case 23:if(Y(23),Ra()){let v=yt();Y(24),f=F(h.createIndexedAccessTypeNode(f,v),c)}else Y(24),f=F(h.createArrayTypeNode(f),c);break;default:return f}return f}function np(c){let f=S();return Y(c),F(h.createTypeOperatorNode(c,ip()),f)}function U1(){if(Je(96)){let c=Vn(yt);if(ra()||m()!==58)return c}}function rp(){let c=S(),f=Ut(),v=jt(U1),C=h.createTypeParameterDeclaration(void 0,f,v);return F(C,c)}function q1(){let c=S();return Y(140),F(h.createInferTypeNode(rp()),c)}function ip(){let c=m();switch(c){case 143:case 158:case 148:return np(c);case 140:return q1()}return Nt(tp)}function Ps(c){if(gc()){let f=$u(),v;return Gl(f)?v=c?K.Function_type_notation_must_be_parenthesized_when_used_in_a_union_type:K.Function_type_notation_must_be_parenthesized_when_used_in_an_intersection_type:v=c?K.Constructor_type_notation_must_be_parenthesized_when_used_in_a_union_type:K.Constructor_type_notation_must_be_parenthesized_when_used_in_an_intersection_type,j(f,v),f}}function ap(c,f,v){let C=S(),P=c===52,U=Je(c),ne=U&&Ps(P)||f();if(m()===c||U){let _e=[ne];for(;Je(c);)_e.push(Ps(P)||f());ne=F(v(Bt(_e,C)),C)}return ne}function hc(){return ap(51,ip,h.createIntersectionTypeNode)}function z1(){return ap(52,hc,h.createUnionTypeNode)}function op(){return R(),m()===105}function gc(){return m()===30||m()===21&&Pe(sp)?!0:m()===105||m()===128&&Pe(op)}function W1(){if(yi(m())&&Fr(!1),Pt()||m()===110)return R(),!0;if(m()===23||m()===19){let c=lt.length;return Ba(),c===lt.length}return!1}function sp(){return R(),!!(m()===22||m()===26||W1()&&(m()===59||m()===28||m()===58||m()===64||m()===22&&(R(),m()===39)))}function bc(){let c=S(),f=Pt()&&jt(_p),v=yt();return f?F(h.createTypePredicateNode(void 0,f,v),c):v}function _p(){let c=Ut();if(m()===142&&!t.hasPrecedingLineBreak())return R(),c}function cp(){let c=S(),f=oi(131),v=m()===110?Nu():Ut(),C=Je(142)?yt():void 0;return F(h.createTypePredicateNode(f,v,C),c)}function yt(){if(ut&40960)return Oe(40960,yt);if(gc())return $u();let c=S(),f=z1();if(!ra()&&!t.hasPrecedingLineBreak()&&Je(96)){let v=Vn(yt);Y(58);let C=Nt(yt);Y(59);let P=Nt(yt);return F(h.createConditionalTypeNode(f,v,C,P),c)}return f}function Ii(){return Je(59)?yt():void 0}function vc(){switch(m()){case 110:case 108:case 106:case 112:case 97:case 9:case 10:case 11:case 15:case 16:case 21:case 23:case 19:case 100:case 86:case 105:case 44:case 69:case 80:return!0;case 102:return Pe(uc);default:return Pt()}}function Oi(){if(vc())return!0;switch(m()){case 40:case 41:case 55:case 54:case 91:case 114:case 116:case 46:case 47:case 30:case 135:case 127:case 81:case 60:return!0;default:return Tp()?!0:Pt()}}function lp(){return m()!==19&&m()!==100&&m()!==86&&m()!==60&&Oi()}function Mt(){let c=Lr();c&&ae(!1);let f=S(),v=un(!0),C;for(;C=at(28);)v=Sc(v,C,un(!0),f);return c&&ae(!0),v}function Mi(){return Je(64)?un(!0):void 0}function un(c){if(up())return pp();let f=H1(c)||hp(c);if(f)return f;let v=S(),C=ho(0);return C.kind===80&&m()===39?dp(v,C,c,void 0):jo(C)&&w_(ke())?Sc(C,vn(),un(c),v):K1(C,v,c)}function up(){return m()===127?ii()?!0:Pe(Nc):!1}function V1(){return R(),!t.hasPrecedingLineBreak()&&Pt()}function pp(){let c=S();return R(),!t.hasPrecedingLineBreak()&&(m()===42||Oi())?F(h.createYieldExpression(at(42),un(!0)),c):F(h.createYieldExpression(void 0,void 0),c)}function dp(c,f,v,C){M.assert(m()===39,"parseSimpleArrowFunctionExpression should only have been called if we had a =>");let P=h.createParameterDeclaration(void 0,void 0,f,void 0,void 0,void 0);F(P,f.pos);let U=Bt([P],P.pos,P.end),ne=oi(39),_e=Tc(!!C,v),pe=h.createArrowFunction(C,void 0,U,void 0,ne,_e);return de(F(pe,c))}function H1(c){let f=fp();if(f!==0)return f===1?bp(!0,!0):jt(()=>yp(c))}function fp(){return m()===21||m()===30||m()===134?Pe(mp):m()===39?1:0}function mp(){if(m()===134&&(R(),t.hasPrecedingLineBreak()||m()!==21&&m()!==30))return 0;let c=m(),f=R();if(c===21){if(f===22)switch(R()){case 39:case 59:case 19:return 1;default:return 0}if(f===23||f===19)return 2;if(f===26)return 1;if(yi(f)&&f!==134&&Pe(xs))return R()===130?0:1;if(!Pt()&&f!==110)return 0;switch(R()){case 59:return 1;case 58:return R(),m()===59||m()===28||m()===64||m()===22?1:0;case 28:case 64:case 22:return 2}return 0}else return M.assert(c===30),!Pt()&&m()!==87?0:gt===1?Pe(()=>{Je(87);let C=R();if(C===96)switch(R()){case 64:case 32:case 44:return!1;default:return!0}else if(C===28||C===64)return!0;return!1})?1:0:2}function yp(c){let f=t.getTokenStart();if(Qn!=null&&Qn.has(f))return;let v=bp(!1,c);return v||(Qn||(Qn=new Set)).add(f),v}function hp(c){if(m()===134&&Pe(gp)===1){let f=S(),v=Rc(),C=ho(0);return dp(f,C,c,v)}}function gp(){if(m()===134){if(R(),t.hasPrecedingLineBreak()||m()===39)return 0;let c=ho(0);if(!t.hasPrecedingLineBreak()&&c.kind===80&&m()===39)return 1}return 0}function bp(c,f){let v=S(),C=J(),P=Rc(),U=ft(P,Qc)?2:0,ne=tr(),_e;if(Y(21)){if(c)_e=Ds(U,c);else{let ca=Ds(U,c);if(!ca)return;_e=ca}if(!Y(22)&&!c)return}else{if(!c)return;_e=Tr()}let pe=m()===59,ce=xr(59,!1);if(ce&&!c&&sc(ce))return;let ve=ce;for(;(ve==null?void 0:ve.kind)===195;)ve=ve.type;let Ge=ve&&e1(ve);if(!c&&m()!==39&&(Ge||m()!==19))return;let je=m(),Be=oi(39),Lt=je===39||je===19?Tc(ft(P,Qc),f):Ut();if(!f&&pe&&m()!==59)return;let On=h.createArrowFunction(P,ne,_e,ce,Be,Lt);return Ie(F(On,v),C)}function Tc(c,f){if(m()===19)return Ls(c?2:0);if(m()!==27&&m()!==100&&m()!==86&&id()&&!lp())return Ls(16|(c?2:0));let v=Jt;Jt=!1;let C=c?ni(()=>un(f)):ri(()=>un(f));return Jt=v,C}function K1(c,f,v){let C=at(58);if(!C)return c;let P;return F(h.createConditionalExpression(c,C,Oe(n,()=>un(!1)),P=oi(59),yl(P)?un(v):Hn(80,!1,K._0_expected,an(59))),f)}function ho(c){let f=S(),v=Ec();return xc(c,v,f)}function vp(c){return c===103||c===164}function xc(c,f,v){for(;;){ke();let C=il(m());if(!(m()===43?C>=c:C>c)||m()===103&&ai())break;if(m()===130||m()===152){if(t.hasPrecedingLineBreak())break;{let U=m();R(),f=U===152?xp(f,yt()):Sp(f,yt())}}else f=Sc(f,vn(),ho(C),v)}return f}function Tp(){return ai()&&m()===103?!1:il(m())>0}function xp(c,f){return F(h.createSatisfiesExpression(c,f),c.pos)}function Sc(c,f,v,C){return F(h.createBinaryExpression(c,f,v),C)}function Sp(c,f){return F(h.createAsExpression(c,f),c.pos)}function wp(){let c=S();return F(h.createPrefixUnaryExpression(m(),he(ci)),c)}function Ep(){let c=S();return F(h.createDeleteExpression(he(ci)),c)}function G1(){let c=S();return F(h.createTypeOfExpression(he(ci)),c)}function Cp(){let c=S();return F(h.createVoidExpression(he(ci)),c)}function X1(){return m()===135?Nn()?!0:Pe(Nc):!1}function wc(){let c=S();return F(h.createAwaitExpression(he(ci)),c)}function Ec(){if(kp()){let v=S(),C=Ap();return m()===43?xc(il(m()),C,v):C}let c=m(),f=ci();if(m()===43){let v=It(vt,f.pos),{end:C}=f;f.kind===215?wt(v,C,K.A_type_assertion_expression_is_not_allowed_in_the_left_hand_side_of_an_exponentiation_expression_Consider_enclosing_the_expression_in_parentheses):(M.assert(ef(c)),wt(v,C,K.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,an(c)))}return f}function ci(){switch(m()){case 40:case 41:case 55:case 54:return wp();case 91:return Ep();case 114:return G1();case 116:return Cp();case 30:return gt===1?go(!0,void 0,void 0,!0):Rp();case 135:if(X1())return wc();default:return Ap()}}function kp(){switch(m()){case 40:case 41:case 55:case 54:case 91:case 114:case 116:case 135:return!1;case 30:if(gt!==1)return!1;default:return!0}}function Ap(){if(m()===46||m()===47){let f=S();return F(h.createPrefixUnaryExpression(m(),he(Fa)),f)}else if(gt===1&&m()===30&&Pe(x1))return go(!0);let c=Fa();if(M.assert(jo(c)),(m()===46||m()===47)&&!t.hasPrecedingLineBreak()){let f=m();return R(),F(h.createPostfixUnaryExpression(c,f),c.pos)}return c}function Fa(){let c=S(),f;return m()===102?Pe(yo)?(Yt|=2097152,f=vn()):Pe(M1)?(R(),R(),f=F(h.createMetaProperty(102,zt()),c),Yt|=4194304):f=Dp():f=m()===108?Cc():Dp(),Ac(c,f)}function Dp(){let c=S(),f=Dc();return Is(c,f,!0)}function Cc(){let c=S(),f=vn();if(m()===30){let v=S(),C=jt(Os);C!==void 0&&(wt(v,S(),K.super_may_not_use_type_arguments),vo()||(f=h.createExpressionWithTypeArguments(f,C)))}return m()===21||m()===25||m()===23?f:(oi(25,K.super_must_be_followed_by_an_argument_list_or_member_access),F(se(f,ws(!0,!0)),c))}function go(c,f,v,C=!1){let P=S(),U=Ip(c),ne;if(U.kind===285){let _e=Np(U),pe,ce=_e[_e.length-1];if((ce==null?void 0:ce.kind)===283&&!gi(ce.openingElement.tagName,ce.closingElement.tagName)&&gi(U.tagName,ce.closingElement.tagName)){let ve=ce.children.end,Ge=F(h.createJsxElement(ce.openingElement,ce.children,F(h.createJsxClosingElement(F(B(""),ve,ve)),ve,ve)),ce.openingElement.pos,ve);_e=Bt([..._e.slice(0,_e.length-1),Ge],_e.pos,ve),pe=ce.closingElement}else pe=Jp(U,c),gi(U.tagName,pe.tagName)||(v&&Ro(v)&&gi(pe.tagName,v.tagName)?j(U.tagName,K.JSX_element_0_has_no_corresponding_closing_tag,Ys(vt,U.tagName)):j(pe.tagName,K.Expected_corresponding_JSX_closing_tag_for_0,Ys(vt,U.tagName)));ne=F(h.createJsxElement(U,_e,pe),P)}else U.kind===288?ne=F(h.createJsxFragment(U,Np(U),ty(c)),P):(M.assert(U.kind===284),ne=U);if(!C&&c&&m()===30){let _e=typeof f>"u"?ne.pos:f,pe=jt(()=>go(!0,_e));if(pe){let ce=Hn(28,!1);return zf(ce,pe.pos,0),wt(It(vt,_e),pe.end,K.JSX_expressions_must_have_one_parent_element),F(h.createBinaryExpression(ne,ce,pe),P)}}return ne}function $1(){let c=S(),f=h.createJsxText(t.getTokenValue(),mt===13);return mt=t.scanJsxToken(),F(f,c)}function Pp(c,f){switch(f){case 1:if(Nb(c))j(c,K.JSX_fragment_has_no_corresponding_closing_tag);else{let v=c.tagName,C=Math.min(It(vt,v.pos),v.end);wt(C,v.end,K.JSX_element_0_has_no_corresponding_closing_tag,Ys(vt,c.tagName))}return;case 31:case 7:return;case 12:case 13:return $1();case 19:return Op(!1);case 30:return go(!1,void 0,c);default:return M.assertNever(f)}}function Np(c){let f=[],v=S(),C=dt;for(dt|=16384;;){let P=Pp(c,mt=t.reScanJsxToken());if(!P||(f.push(P),Ro(c)&&(P==null?void 0:P.kind)===283&&!gi(P.openingElement.tagName,P.closingElement.tagName)&&gi(c.tagName,P.closingElement.tagName)))break}return dt=C,Bt(f,v)}function Q1(){let c=S();return F(h.createJsxAttributes(er(13,Mp)),c)}function Ip(c){let f=S();if(Y(30),m()===32)return Et(),F(h.createJsxOpeningFragment(),f);let v=Ns(),C=ut&262144?void 0:Rs(),P=Q1(),U;return m()===32?(Et(),U=h.createJsxOpeningElement(v,C,P)):(Y(44),Y(32,void 0,!1)&&(c?R():Et()),U=h.createJsxSelfClosingElement(v,C,P)),F(U,f)}function Ns(){let c=S(),f=Y1();if(J_(f))return f;let v=f;for(;Je(25);)v=F(se(v,ws(!0,!1)),c);return v}function Y1(){let c=S();Ft();let f=m()===110,v=zt();return Je(59)?(Ft(),F(h.createJsxNamespacedName(v,zt()),c)):f?F(h.createToken(110),c):v}function Op(c){let f=S();if(!Y(19))return;let v,C;return m()!==20&&(v=at(26),C=Mt()),c?Y(20):Y(20,void 0,!1)&&Et(),F(h.createJsxExpression(v,C),f)}function Mp(){if(m()===19)return ey();let c=S();return F(h.createJsxAttribute(Lp(),Z1()),c)}function Z1(){if(m()===64){if(bn()===11)return Jr();if(m()===19)return Op(!0);if(m()===30)return go(!0);Fe(K.or_JSX_element_expected)}}function Lp(){let c=S();Ft();let f=zt();return Je(59)?(Ft(),F(h.createJsxNamespacedName(f,zt()),c)):f}function ey(){let c=S();Y(19),Y(26);let f=Mt();return Y(20),F(h.createJsxSpreadAttribute(f),c)}function Jp(c,f){let v=S();Y(31);let C=Ns();return Y(32,void 0,!1)&&(f||!gi(c.tagName,C)?R():Et()),F(h.createJsxClosingElement(C),v)}function ty(c){let f=S();return Y(31),Y(32,K.Expected_corresponding_closing_tag_for_JSX_fragment,!1)&&(c?R():Et()),F(h.createJsxJsxClosingFragment(),f)}function Rp(){M.assert(gt!==1,"Type assertions should never be parsed in JSX; they should be parsed as comparisons or JSX elements/fragments.");let c=S();Y(30);let f=yt();Y(32);let v=ci();return F(h.createTypeAssertion(f,v),c)}function ny(){return R(),At(m())||m()===23||vo()}function Sr(){return m()===29&&Pe(ny)}function Rr(c){if(c.flags&32)return!0;if(qo(c)){let f=c.expression;for(;qo(f)&&!(f.flags&32);)f=f.expression;if(f.flags&32){for(;qo(c);)c.flags|=32,c=c.expression;return!0}}return!1}function bo(c,f,v){let C=ws(!0,!0),P=v||Rr(f),U=P?we(f,v,C):se(f,C);if(P&&Ln(U.name)&&j(U.name,K.An_optional_chain_cannot_contain_private_identifiers),Tb(f)&&f.typeArguments){let ne=f.typeArguments.pos-1,_e=It(vt,f.typeArguments.end)+1;wt(ne,_e,K.An_instantiation_expression_cannot_be_followed_by_a_property_access)}return F(U,c)}function Fp(c,f,v){let C;if(m()===24)C=Hn(80,!0,K.An_element_access_expression_should_take_an_argument);else{let U=Re(Mt);Ki(U)&&(U.text=Di(U.text)),C=U}Y(24);let P=v||Rr(f)?Ue(f,v,C):Ze(f,C);return F(P,c)}function Is(c,f,v){for(;;){let C,P=!1;if(v&&Sr()?(C=oi(29),P=At(m())):P=Je(25),P){f=bo(c,f,C);continue}if((C||!Lr())&&Je(23)){f=Fp(c,f,C);continue}if(vo()){f=!C&&f.kind===232?kc(c,f.expression,C,f.typeArguments):kc(c,f,C,void 0);continue}if(!C){if(m()===54&&!t.hasPrecedingLineBreak()){R(),f=F(h.createNonNullExpression(f),c);continue}let U=jt(Os);if(U){f=F(h.createExpressionWithTypeArguments(f,U),c);continue}}return f}}function vo(){return m()===15||m()===16}function kc(c,f,v,C){let P=h.createTaggedTemplateExpression(f,C,m()===15?(ot(!0),Jr()):ku(!0));return(v||f.flags&32)&&(P.flags|=32),P.questionDotToken=v,F(P,c)}function Ac(c,f){for(;;){f=Is(c,f,!0);let v,C=at(29);if(C&&(v=jt(Os),vo())){f=kc(c,f,C,v);continue}if(v||m()===21){!C&&f.kind===232&&(v=f.typeArguments,f=f.expression);let P=jp(),U=C||Rr(f)?ct(f,C,v,P):rt(f,v,P);f=F(U,c);continue}if(C){let P=Hn(80,!1,K.Identifier_expected);f=F(we(f,C,P),c)}break}return f}function jp(){Y(21);let c=Tn(11,qp);return Y(22),c}function Os(){if(ut&262144||st()!==30)return;R();let c=Tn(20,yt);if(ke()===32)return R(),c&&ry()?c:void 0}function ry(){switch(m()){case 21:case 15:case 16:return!0;case 30:case 32:case 40:case 41:return!1}return t.hasPrecedingLineBreak()||Tp()||!Oi()}function Dc(){switch(m()){case 15:t.getTokenFlags()&26656&&ot(!1);case 9:case 10:case 11:return Jr();case 110:case 108:case 106:case 112:case 97:return vn();case 21:return iy();case 23:return zp();case 19:return Ms();case 134:if(!Pe(rd))break;return Vp();case 60:return Cy();case 86:return hd();case 100:return Vp();case 105:return ay();case 44:case 69:if(De()===14)return Jr();break;case 16:return ku(!1);case 81:return Ts()}return Ut(K.Expression_expected)}function iy(){let c=S(),f=J();Y(21);let v=Re(Mt);return Y(22),Ie(F(sn(v),c),f)}function Bp(){let c=S();Y(26);let f=un(!0);return F(h.createSpreadElement(f),c)}function Up(){return m()===26?Bp():m()===28?F(h.createOmittedExpression(),S()):un(!0)}function qp(){return Oe(n,Up)}function zp(){let c=S(),f=t.getTokenStart(),v=Y(23),C=t.hasPrecedingLineBreak(),P=Tn(15,Up);return vr(23,24,v,f),F(Q(P,C),c)}function Wp(){let c=S(),f=J();if(at(26)){let ve=un(!0);return Ie(F(h.createSpreadAssignment(ve),c),f)}let v=Fr(!0);if(Ia(139))return Li(c,f,v,176,0);if(Ia(153))return Li(c,f,v,177,0);let C=at(42),P=Pt(),U=oa(),ne=at(58),_e=at(54);if(C||m()===21||m()===30)return dd(c,f,v,C,U,ne,_e);let pe;if(P&&m()!==59){let ve=at(64),Ge=ve?Re(()=>un(!0)):void 0;pe=h.createShorthandPropertyAssignment(U,Ge),pe.equalsToken=ve}else{Y(59);let ve=Re(()=>un(!0));pe=h.createPropertyAssignment(U,ve)}return pe.modifiers=v,pe.questionToken=ne,pe.exclamationToken=_e,Ie(F(pe,c),f)}function Ms(){let c=S(),f=t.getTokenStart(),v=Y(19),C=t.hasPrecedingLineBreak(),P=Tn(12,Wp,!0);return vr(19,20,v,f),F(W(P,C),c)}function Vp(){let c=Lr();ae(!1);let f=S(),v=J(),C=Fr(!1);Y(100);let P=at(42),U=P?1:0,ne=ft(C,Qc)?2:0,_e=U&&ne?na(ja):U?ta(ja):ne?ni(ja):ja(),pe=tr(),ce=_i(U|ne),ve=xr(59,!1),Ge=Ls(U|ne);ae(c);let je=h.createFunctionExpression(C,P,_e,pe,ce,ve,Ge);return Ie(F(je,f),v)}function ja(){return Yn()?vs():void 0}function ay(){let c=S();if(Y(105),Je(25)){let U=zt();return F(h.createMetaProperty(105,U),c)}let f=S(),v=Is(f,Dc(),!1),C;v.kind===232&&(C=v.typeArguments,v=v.expression),m()===29&&Fe(K.Invalid_optional_chain_from_new_expression_Did_you_mean_to_call_0,Ys(vt,v));let P=m()===21?jp():void 0;return F(Dn(v,C,P),c)}function sa(c,f){let v=S(),C=J(),P=t.getTokenStart(),U=Y(19,f);if(U||c){let ne=t.hasPrecedingLineBreak(),_e=er(1,fn);vr(19,20,U,P);let pe=Ie(F(ei(_e,ne),v),C);return m()===64&&(Fe(K.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),R()),pe}else{let ne=Tr();return Ie(F(ei(ne,void 0),v),C)}}function Ls(c,f){let v=ii();Z(!!(c&1));let C=Nn();Te(!!(c&2));let P=Jt;Jt=!1;let U=Lr();U&&ae(!1);let ne=sa(!!(c&16),f);return U&&ae(!0),Jt=P,Z(v),Te(C),ne}function Hp(){let c=S(),f=J();return Y(27),Ie(F(h.createEmptyStatement(),c),f)}function oy(){let c=S(),f=J();Y(101);let v=t.getTokenStart(),C=Y(21),P=Re(Mt);vr(21,22,C,v);let U=fn(),ne=Je(93)?fn():void 0;return Ie(F($e(P,U,ne),c),f)}function Kp(){let c=S(),f=J();Y(92);let v=fn();Y(117);let C=t.getTokenStart(),P=Y(21),U=Re(Mt);return vr(21,22,P,C),Je(27),Ie(F(h.createDoStatement(v,U),c),f)}function sy(){let c=S(),f=J();Y(117);let v=t.getTokenStart(),C=Y(21),P=Re(Mt);vr(21,22,C,v);let U=fn();return Ie(F($t(P,U),c),f)}function Gp(){let c=S(),f=J();Y(99);let v=at(135);Y(21);let C;m()!==27&&(m()===115||m()===121||m()===87?C=ld(!0):C=Rt(Mt));let P;if(v?Y(164):Je(164)){let U=Re(()=>un(!0));Y(22),P=Qt(v,C,U,fn())}else if(Je(103)){let U=Re(Mt);Y(22),P=h.createForInStatement(C,U,fn())}else{Y(27);let U=m()!==27&&m()!==22?Re(Mt):void 0;Y(27);let ne=m()!==22?Re(Mt):void 0;Y(22),P=jn(C,U,ne,fn())}return Ie(F(P,c),f)}function Xp(c){let f=S(),v=J();Y(c===251?83:88);let C=Ai()?void 0:Ut();In();let P=c===251?h.createBreakStatement(C):h.createContinueStatement(C);return Ie(F(P,f),v)}function _y(){let c=S(),f=J();Y(107);let v=Ai()?void 0:Re(Mt);return In(),Ie(F(h.createReturnStatement(v),c),f)}function $p(){let c=S(),f=J();Y(118);let v=t.getTokenStart(),C=Y(21),P=Re(Mt);vr(21,22,C,v);let U=We(33554432,fn);return Ie(F(h.createWithStatement(P,U),c),f)}function cy(){let c=S(),f=J();Y(84);let v=Re(Mt);Y(59);let C=er(3,fn);return Ie(F(h.createCaseClause(v,C),c),f)}function Qp(){let c=S();Y(90),Y(59);let f=er(3,fn);return F(h.createDefaultClause(f),c)}function ly(){return m()===84?cy():Qp()}function Yp(){let c=S();Y(19);let f=er(2,ly);return Y(20),F(h.createCaseBlock(f),c)}function uy(){let c=S(),f=J();Y(109),Y(21);let v=Re(Mt);Y(22);let C=Yp();return Ie(F(h.createSwitchStatement(v,C),c),f)}function Zp(){let c=S(),f=J();Y(111);let v=t.hasPrecedingLineBreak()?void 0:Re(Mt);return v===void 0&&(cn++,v=F(B(""),S())),uo()||_t(v),Ie(F(h.createThrowStatement(v),c),f)}function py(){let c=S(),f=J();Y(113);let v=sa(!1),C=m()===85?ed():void 0,P;return(!C||m()===98)&&(Y(98,K.catch_or_finally_expected),P=sa(!1)),Ie(F(h.createTryStatement(v,C,P),c),f)}function ed(){let c=S();Y(85);let f;Je(21)?(f=Js(),Y(22)):f=void 0;let v=sa(!1);return F(h.createCatchClause(f,v),c)}function dy(){let c=S(),f=J();return Y(89),In(),Ie(F(h.createDebuggerStatement(),c),f)}function td(){let c=S(),f=J(),v,C=m()===21,P=Re(Mt);return Ce(P)&&Je(59)?v=h.createLabeledStatement(P,fn()):(uo()||_t(P),v=Pn(P),C&&(f=!1)),Ie(F(v,c),f)}function Pc(){return R(),At(m())&&!t.hasPrecedingLineBreak()}function nd(){return R(),m()===86&&!t.hasPrecedingLineBreak()}function rd(){return R(),m()===100&&!t.hasPrecedingLineBreak()}function Nc(){return R(),(At(m())||m()===9||m()===10||m()===11)&&!t.hasPrecedingLineBreak()}function fy(){for(;;)switch(m()){case 115:case 121:case 87:case 100:case 86:case 94:return!0;case 120:case 156:return V1();case 144:case 145:return hy();case 128:case 129:case 134:case 138:case 123:case 124:case 125:case 148:if(R(),t.hasPrecedingLineBreak())return!1;continue;case 161:return R(),m()===19||m()===80||m()===95;case 102:return R(),m()===11||m()===42||m()===19||At(m());case 95:let c=R();if(c===156&&(c=Pe(R)),c===64||c===42||c===19||c===90||c===130||c===60)return!0;continue;case 126:R();continue;default:return!1}}function To(){return Pe(fy)}function id(){switch(m()){case 60:case 27:case 19:case 115:case 121:case 100:case 86:case 94:case 101:case 92:case 117:case 99:case 88:case 83:case 107:case 118:case 109:case 111:case 113:case 89:case 85:case 98:return!0;case 102:return To()||Pe(uc);case 87:case 95:return To();case 134:case 138:case 120:case 144:case 145:case 156:case 161:return!0;case 129:case 125:case 123:case 124:case 126:case 148:return To()||!Pe(Pc);default:return Oi()}}function ad(){return R(),Yn()||m()===19||m()===23}function my(){return Pe(ad)}function fn(){switch(m()){case 27:return Hp();case 19:return sa(!1);case 115:return Oc(S(),J(),void 0);case 121:if(my())return Oc(S(),J(),void 0);break;case 100:return Mc(S(),J(),void 0);case 86:return gd(S(),J(),void 0);case 101:return oy();case 92:return Kp();case 117:return sy();case 99:return Gp();case 88:return Xp(250);case 83:return Xp(251);case 107:return _y();case 118:return $p();case 109:return uy();case 111:return Zp();case 113:case 85:case 98:return py();case 89:return dy();case 60:return xo();case 134:case 120:case 156:case 144:case 145:case 138:case 87:case 94:case 95:case 102:case 123:case 124:case 125:case 128:case 129:case 126:case 148:case 161:if(To())return xo();break}return td()}function od(c){return c.kind===138}function xo(){let c=S(),f=J(),v=Fr(!0);if(ft(v,od)){let P=yy(c);if(P)return P;for(let U of v)U.flags|=16777216;return We(16777216,()=>sd(c,f,v))}else return sd(c,f,v)}function yy(c){return We(16777216,()=>{let f=$_(dt,c);if(f)return Q_(f)})}function sd(c,f,v){switch(m()){case 115:case 121:case 87:return Oc(c,f,v);case 100:return Mc(c,f,v);case 86:return gd(c,f,v);case 120:return Py(c,f,v);case 156:return Ny(c,f,v);case 94:return Oy(c,f,v);case 161:case 144:case 145:return Ed(c,f,v);case 102:return Ly(c,f,v);case 95:switch(R(),m()){case 90:case 64:return Wy(c,f,v);case 130:return Ad(c,f,v);default:return wo(c,f,v)}default:if(v){let C=Hn(281,!0,K.Declaration_expected);return qf(C,c),C.modifiers=v,C}return}}function hy(){return R(),!t.hasPrecedingLineBreak()&&(Pt()||m()===11)}function So(c,f){if(m()!==19){if(c&4){mo();return}if(Ai()){In();return}}return Ls(c,f)}function gy(){let c=S();if(m()===28)return F(h.createOmittedExpression(),c);let f=at(26),v=Ba(),C=Mi();return F(h.createBindingElement(f,void 0,v,C),c)}function _d(){let c=S(),f=at(26),v=Yn(),C=oa(),P;v&&m()!==59?(P=C,C=void 0):(Y(59),P=Ba());let U=Mi();return F(h.createBindingElement(f,C,P,U),c)}function by(){let c=S();Y(19);let f=Tn(9,_d);return Y(20),F(h.createObjectBindingPattern(f),c)}function cd(){let c=S();Y(23);let f=Tn(10,gy);return Y(24),F(h.createArrayBindingPattern(f),c)}function Ic(){return m()===19||m()===23||m()===81||Yn()}function Ba(c){return m()===23?cd():m()===19?by():vs(c)}function vy(){return Js(!0)}function Js(c){let f=S(),v=J(),C=Ba(K.Private_identifiers_are_not_allowed_in_variable_declarations),P;c&&C.kind===80&&m()===54&&!t.hasPrecedingLineBreak()&&(P=vn());let U=Ii(),ne=vp(m())?void 0:Mi(),_e=fr(C,P,U,ne);return Ie(F(_e,f),v)}function ld(c){let f=S(),v=0;switch(m()){case 115:break;case 121:v|=1;break;case 87:v|=2;break;default:M.fail()}R();let C;if(m()===164&&Pe(ud))C=Tr();else{let P=ai();ee(c),C=Tn(8,c?Js:vy),ee(P)}return F(Bn(C,v),f)}function ud(){return xs()&&R()===22}function Oc(c,f,v){let C=ld(!1);In();let P=_n(v,C);return Ie(F(P,c),f)}function Mc(c,f,v){let C=Nn(),P=ar(v);Y(100);let U=at(42),ne=P&1024?ja():vs(),_e=U?1:0,pe=P&512?2:0,ce=tr();P&1&&Te(!0);let ve=_i(_e|pe),Ge=xr(59,!1),je=So(_e|pe,K.or_expected);Te(C);let Be=h.createFunctionDeclaration(v,U,ne,ce,ve,Ge,je);return Ie(F(Be,c),f)}function Ty(){if(m()===137)return Y(137);if(m()===11&&Pe(R)===21)return jt(()=>{let c=Jr();return c.text==="constructor"?c:void 0})}function pd(c,f,v){return jt(()=>{if(Ty()){let C=tr(),P=_i(0),U=xr(59,!1),ne=So(0,K.or_expected),_e=h.createConstructorDeclaration(v,P,ne);return _e.typeParameters=C,_e.type=U,Ie(F(_e,c),f)}})}function dd(c,f,v,C,P,U,ne,_e){let pe=C?1:0,ce=ft(v,Qc)?2:0,ve=tr(),Ge=_i(pe|ce),je=xr(59,!1),Be=So(pe|ce,_e),Lt=h.createMethodDeclaration(v,C,P,U,ve,Ge,je,Be);return Lt.exclamationToken=ne,Ie(F(Lt,c),f)}function Lc(c,f,v,C,P){let U=!P&&!t.hasPrecedingLineBreak()?at(54):void 0,ne=Ii(),_e=Oe(45056,Mi);lo(C,ne,_e);let pe=h.createPropertyDeclaration(v,C,P||U,ne,_e);return Ie(F(pe,c),f)}function fd(c,f,v){let C=at(42),P=oa(),U=at(58);return C||m()===21||m()===30?dd(c,f,v,C,P,U,void 0,K.or_expected):Lc(c,f,v,P,U)}function Li(c,f,v,C,P){let U=oa(),ne=tr(),_e=_i(0),pe=xr(59,!1),ce=So(P),ve=C===176?h.createGetAccessorDeclaration(v,U,_e,pe,ce):h.createSetAccessorDeclaration(v,U,_e,ce);return ve.typeParameters=ne,N_(ve)&&(ve.type=pe),Ie(F(ve,c),f)}function xy(){let c;if(m()===60)return!0;for(;yi(m());){if(c=m(),Sx(c))return!0;R()}if(m()===42||(aa()&&(c=m(),R()),m()===23))return!0;if(c!==void 0){if(!bi(c)||c===153||c===139)return!0;switch(m()){case 21:case 30:case 54:case 59:case 64:case 58:return!0;default:return Ai()}}return!1}function Sy(c,f,v){oi(126);let C=md(),P=Ie(F(h.createClassStaticBlockDeclaration(C),c),f);return P.modifiers=v,P}function md(){let c=ii(),f=Nn();Z(!1),Te(!0);let v=sa(!1);return Z(c),Te(f),v}function wy(){if(Nn()&&m()===135){let c=S(),f=Ut(K.Expression_expected);R();let v=Is(c,f,!0);return Ac(c,v)}return Fa()}function yd(){let c=S();if(!Je(60))return;let f=gr(wy);return F(h.createDecorator(f),c)}function Jc(c,f,v){let C=S(),P=m();if(m()===87&&f){if(!jt(H_))return}else{if(v&&m()===126&&Pe(js))return;if(c&&m()===126)return;if(!hu())return}return F(oe(P),C)}function Fr(c,f,v){let C=S(),P,U,ne,_e=!1,pe=!1,ce=!1;if(c&&m()===60)for(;U=yd();)P=Tt(P,U);for(;ne=Jc(_e,f,v);)ne.kind===126&&(_e=!0),P=Tt(P,ne),pe=!0;if(pe&&c&&m()===60)for(;U=yd();)P=Tt(P,U),ce=!0;if(ce)for(;ne=Jc(_e,f,v);)ne.kind===126&&(_e=!0),P=Tt(P,ne);return P&&Bt(P,C)}function Rc(){let c;if(m()===134){let f=S();R();let v=F(oe(134),f);c=Bt([v],f)}return c}function Ey(){let c=S(),f=J();if(m()===27)return R(),Ie(F(h.createSemicolonClassElement(),c),f);let v=Fr(!0,!0,!0);if(m()===126&&Pe(js))return Sy(c,f,v);if(Ia(139))return Li(c,f,v,176,0);if(Ia(153))return Li(c,f,v,177,0);if(m()===137||m()===11){let C=pd(c,f,v);if(C)return C}if(Uu())return qu(c,f,v);if(At(m())||m()===11||m()===9||m()===42||m()===23)if(ft(v,od)){for(let P of v)P.flags|=16777216;return We(16777216,()=>fd(c,f,v))}else return fd(c,f,v);if(v){let C=Hn(80,!0,K.Declaration_expected);return Lc(c,f,v,C,void 0)}return M.fail("Should not have attempted to parse class member declaration.")}function Cy(){let c=S(),f=J(),v=Fr(!0);if(m()===86)return Fc(c,f,v,230);let C=Hn(281,!0,K.Expression_expected);return qf(C,c),C.modifiers=v,C}function hd(){return Fc(S(),J(),void 0,230)}function gd(c,f,v){return Fc(c,f,v,262)}function Fc(c,f,v,C){let P=Nn();Y(86);let U=bd(),ne=tr();ft(v,i8)&&Te(!0);let _e=vd(),pe;Y(19)?(pe=Dy(),Y(20)):pe=Tr(),Te(P);let ce=C===262?h.createClassDeclaration(v,U,ne,_e,pe):h.createClassExpression(v,U,ne,_e,pe);return Ie(F(ce,c),f)}function bd(){return Yn()&&!ky()?ia(Yn()):void 0}function ky(){return m()===119&&Pe(K_)}function vd(){if(Fs())return er(22,Td)}function Td(){let c=S(),f=m();M.assert(f===96||f===119),R();let v=Tn(7,Ay);return F(h.createHeritageClause(f,v),c)}function Ay(){let c=S(),f=Fa();if(f.kind===232)return f;let v=Rs();return F(h.createExpressionWithTypeArguments(f,v),c)}function Rs(){return m()===30?Ni(20,yt,30,32):void 0}function Fs(){return m()===96||m()===119}function Dy(){return er(5,Ey)}function Py(c,f,v){Y(120);let C=Ut(),P=tr(),U=vd(),ne=pc(),_e=h.createInterfaceDeclaration(v,C,P,U,ne);return Ie(F(_e,c),f)}function Ny(c,f,v){Y(156);let C=Ut(),P=tr();Y(64);let U=m()===141&&jt(fc)||yt();In();let ne=h.createTypeAliasDeclaration(v,C,P,U);return Ie(F(ne,c),f)}function Iy(){let c=S(),f=J(),v=oa(),C=Re(Mi);return Ie(F(h.createEnumMember(v,C),c),f)}function Oy(c,f,v){Y(94);let C=Ut(),P;Y(19)?(P=Pa(()=>Tn(6,Iy)),Y(20)):P=Tr();let U=h.createEnumDeclaration(v,C,P);return Ie(F(U,c),f)}function xd(){let c=S(),f;return Y(19)?(f=er(1,fn),Y(20)):f=Tr(),F(h.createModuleBlock(f),c)}function Sd(c,f,v,C){let P=C&16,U=Ut(),ne=Je(25)?Sd(S(),!1,void 0,4|P):xd(),_e=h.createModuleDeclaration(v,U,ne,C);return Ie(F(_e,c),f)}function wd(c,f,v){let C=0,P;m()===161?(P=Ut(),C|=1024):(P=Jr(),P.text=Di(P.text));let U;m()===19?U=xd():In();let ne=h.createModuleDeclaration(v,P,U,C);return Ie(F(ne,c),f)}function Ed(c,f,v){let C=0;if(m()===161)return wd(c,f,v);if(Je(145))C|=16;else if(Y(144),m()===11)return wd(c,f,v);return Sd(c,f,v,C)}function Cd(){return m()===149&&Pe(kd)}function kd(){return R()===21}function js(){return R()===19}function My(){return R()===44}function Ad(c,f,v){Y(130),Y(145);let C=Ut();In();let P=h.createNamespaceExportDeclaration(C);return P.modifiers=v,Ie(F(P,c),f)}function Ly(c,f,v){Y(102);let C=t.getTokenFullStart(),P;Pt()&&(P=Ut());let U=!1;if(m()!==160&&(P==null?void 0:P.escapedText)==="type"&&(Pt()||Ry())&&(U=!0,P=Pt()?Ut():void 0),P&&!Fy())return Bc(c,f,v,P,U);let ne;(P||m()===42||m()===19)&&(ne=jy(P,C,U),Y(160));let _e=Us(),pe;m()===132&&!t.hasPrecedingLineBreak()&&(pe=jc()),In();let ce=h.createImportDeclaration(v,ne,_e,pe);return Ie(F(ce,c),f)}function Jy(){let c=S(),f=At(m())?zt():fo(11);Y(59);let v=un(!0);return F(h.createAssertEntry(f,v),c)}function jc(c){let f=S();c||Y(132);let v=t.getTokenStart();if(Y(19)){let C=t.hasPrecedingLineBreak(),P=Tn(24,Jy,!0);if(!Y(20)){let U=Ti(lt);U&&U.code===K._0_expected.code&&Xc(U,No(dn,v,1,K.The_parser_expected_to_find_a_1_to_match_the_0_token_here,"{","}"))}return F(h.createAssertClause(P,C),f)}else{let C=Bt([],S(),void 0,!1);return F(h.createAssertClause(C,!1),f)}}function Ry(){return m()===42||m()===19}function Fy(){return m()===28||m()===160}function Bc(c,f,v,C,P){Y(64);let U=By();In();let ne=h.createImportEqualsDeclaration(v,P,C,U);return Ie(F(ne,c),f)}function jy(c,f,v){let C;return(!c||Je(28))&&(C=m()===42?Uy():Dd(274)),F(h.createImportClause(v,c,C),f)}function By(){return Cd()?Bs():Ma(!1)}function Bs(){let c=S();Y(149),Y(21);let f=Us();return Y(22),F(h.createExternalModuleReference(f),c)}function Us(){if(m()===11){let c=Jr();return c.text=Di(c.text),c}else return Mt()}function Uy(){let c=S();Y(42),Y(130);let f=Ut();return F(h.createNamespaceImport(f),c)}function Dd(c){let f=S(),v=c===274?h.createNamedImports(Ni(23,qy,19,20)):h.createNamedExports(Ni(23,_a,19,20));return F(v,f)}function _a(){let c=J();return Ie(Pd(280),c)}function qy(){return Pd(275)}function Pd(c){let f=S(),v=bi(m())&&!Pt(),C=t.getTokenStart(),P=t.getTokenEnd(),U=!1,ne,_e=!0,pe=zt();if(pe.escapedText==="type")if(m()===130){let Ge=zt();if(m()===130){let je=zt();At(m())?(U=!0,ne=Ge,pe=ve(),_e=!1):(ne=pe,pe=je,_e=!1)}else At(m())?(ne=pe,_e=!1,pe=ve()):(U=!0,pe=Ge)}else At(m())&&(U=!0,pe=ve());_e&&m()===130&&(ne=pe,Y(130),pe=ve()),c===275&&v&&wt(C,P,K.Identifier_expected);let ce=c===275?h.createImportSpecifier(U,ne,pe):h.createExportSpecifier(U,ne,pe);return F(ce,f);function ve(){return v=bi(m())&&!Pt(),C=t.getTokenStart(),P=t.getTokenEnd(),zt()}}function zy(c){return F(h.createNamespaceExport(zt()),c)}function wo(c,f,v){let C=Nn();Te(!0);let P,U,ne,_e=Je(156),pe=S();Je(42)?(Je(130)&&(P=zy(pe)),Y(160),U=Us()):(P=Dd(278),(m()===160||m()===11&&!t.hasPrecedingLineBreak())&&(Y(160),U=Us())),U&&m()===132&&!t.hasPrecedingLineBreak()&&(ne=jc()),In(),Te(C);let ce=h.createExportDeclaration(v,_e,P,U,ne);return Ie(F(ce,c),f)}function Wy(c,f,v){let C=Nn();Te(!0);let P;Je(64)?P=!0:Y(90);let U=un(!0);In(),Te(C);let ne=h.createExportAssignment(v,P,U);return Ie(F(ne,c),f)}let Nd;(c=>{c[c.SourceElements=0]="SourceElements",c[c.BlockStatements=1]="BlockStatements",c[c.SwitchClauses=2]="SwitchClauses",c[c.SwitchClauseStatements=3]="SwitchClauseStatements",c[c.TypeMembers=4]="TypeMembers",c[c.ClassMembers=5]="ClassMembers",c[c.EnumMembers=6]="EnumMembers",c[c.HeritageClauseElement=7]="HeritageClauseElement",c[c.VariableDeclarations=8]="VariableDeclarations",c[c.ObjectBindingElements=9]="ObjectBindingElements",c[c.ArrayBindingElements=10]="ArrayBindingElements",c[c.ArgumentExpressions=11]="ArgumentExpressions",c[c.ObjectLiteralMembers=12]="ObjectLiteralMembers",c[c.JsxAttributes=13]="JsxAttributes",c[c.JsxChildren=14]="JsxChildren",c[c.ArrayLiteralMembers=15]="ArrayLiteralMembers",c[c.Parameters=16]="Parameters",c[c.JSDocParameters=17]="JSDocParameters",c[c.RestProperties=18]="RestProperties",c[c.TypeParameters=19]="TypeParameters",c[c.TypeArguments=20]="TypeArguments",c[c.TupleElementTypes=21]="TupleElementTypes",c[c.HeritageClauses=22]="HeritageClauses",c[c.ImportOrExportSpecifiers=23]="ImportOrExportSpecifiers",c[c.AssertEntries=24]="AssertEntries",c[c.JSDocComment=25]="JSDocComment",c[c.Count=26]="Count"})(Nd||(Nd={}));let Id;(c=>{c[c.False=0]="False",c[c.True=1]="True",c[c.Unknown=2]="Unknown"})(Id||(Id={}));let Od;(c=>{function f(ce,ve,Ge){Wn("file.js",ce,99,void 0,1),t.setText(ce,ve,Ge),mt=t.scan();let je=v(),Be=et("file.js",99,1,!1,[],oe(1),0,Nr),Lt=za(lt,Be);return Zt&&(Be.jsDocDiagnostics=za(Zt,Be)),hr(),je?{jsDocTypeExpression:je,diagnostics:Lt}:void 0}c.parseJSDocTypeExpressionForTests=f;function v(ce){let ve=S(),Ge=(ce?Je:Y)(19),je=We(8388608,ks);(!ce||Ge)&&Na(20);let Be=h.createJSDocTypeExpression(je);return Ee(Be),F(Be,ve)}c.parseJSDocTypeExpression=v;function C(){let ce=S(),ve=Je(19),Ge=S(),je=Ma(!1);for(;m()===81;)Ye(),me(),je=F(h.createJSDocMemberName(je,Ut()),Ge);ve&&Na(20);let Be=h.createJSDocNameReference(je);return Ee(Be),F(Be,ce)}c.parseJSDocNameReference=C;function P(ce,ve,Ge){Wn("",ce,99,void 0,1);let je=We(8388608,()=>pe(ve,Ge)),Lt=za(lt,{languageVariant:0,text:ce});return hr(),je?{jsDoc:je,diagnostics:Lt}:void 0}c.parseIsolatedJSDocComment=P;function U(ce,ve,Ge){let je=mt,Be=lt.length,Lt=ln,On=We(8388608,()=>pe(ve,Ge));return Vi(On,ce),ut&262144&&(Zt||(Zt=[]),Zt.push(...lt)),mt=je,lt.length=Be,ln=Lt,On}c.parseJSDocComment=U;let ne;(ce=>{ce[ce.BeginningOfLine=0]="BeginningOfLine",ce[ce.SawAsterisk=1]="SawAsterisk",ce[ce.SavingComments=2]="SavingComments",ce[ce.SavingBackticks=3]="SavingBackticks"})(ne||(ne={}));let _e;(ce=>{ce[ce.Property=1]="Property",ce[ce.Parameter=2]="Parameter",ce[ce.CallbackParameter=4]="CallbackParameter"})(_e||(_e={}));function pe(ce=0,ve){let Ge=dt;dt|=1<<25;let je=vt,Be=ve===void 0?je.length:ce+ve;if(ve=Be-ce,M.assert(ce>=0),M.assert(ce<=Be),M.assert(Be<=je.length),!a7(je,ce))return;let Lt,On,ca,li,Ji,Ri=[],la=[],Uc=t.scanRange(ce+3,ve-5,Md);return dt=Ge,Uc;function Md(){let V=1,re,te=ce-(je.lastIndexOf(` -`,ce)+1)+4;function le(qe){re||(re=te),Ri.push(qe),te+=qe.length}for(me();ko(5););ko(4)&&(V=0,te=0);e:for(;;){switch(m()){case 60:Vy(Ri),Ji||(Ji=S()),Hy(Jd(te)),V=0,re=void 0;break;case 4:Ri.push(t.getTokenText()),V=0,te=0;break;case 42:let qe=t.getTokenText();V===1?(V=2,le(qe)):(M.assert(V===0),V=1,te+=qe.length);break;case 5:M.assert(V!==2,"whitespace shouldn't come from the scanner while saving top-level comment text");let kt=t.getTokenText();re!==void 0&&te+kt.length>re&&Ri.push(kt.slice(re-te)),te+=kt.length;break;case 1:break e;case 82:V=2,le(t.getTokenValue());break;case 19:V=2;let wr=t.getTokenFullStart(),nr=t.getTokenEnd()-1,Sn=ui(nr);if(Sn){li||qc(Ri),la.push(F(h.createJSDocText(Ri.join("")),li??ce,wr)),la.push(Sn),Ri=[],li=t.getTokenEnd();break}default:V=2,le(t.getTokenText());break}V===2?Ae(!1):me()}let fe=e_(Ri.join(""));la.length&&fe.length&&la.push(F(h.createJSDocText(fe),li??ce,Ji)),la.length&&Lt&&M.assertIsDefined(Ji,"having parsed tags implies that the end of the comment span should be set");let Me=Lt&&Bt(Lt,On,ca);return F(h.createJSDocComment(la.length?Bt(la,ce,Ji):fe.length?fe:void 0,Me),ce,Be)}function qc(V){for(;V.length&&(V[0]===` -`||V[0]==="\r");)V.shift()}function Vy(V){for(;V.length;){let re=e_(V[V.length-1]);if(re==="")V.pop();else if(re.lengthkt&&(le.push(jr.slice(kt-V)),qe=2),V+=jr.length;break;case 19:qe=2;let Fd=t.getTokenFullStart(),zs=t.getTokenEnd()-1,jd=ui(zs);jd?(fe.push(F(h.createJSDocText(le.join("")),Me??te,Fd)),fe.push(jd),le=[],Me=t.getTokenEnd()):wr(t.getTokenText());break;case 62:qe===3?qe=2:qe=3,wr(t.getTokenText());break;case 82:qe!==3&&(qe=2),wr(t.getTokenValue());break;case 42:if(qe===0){qe=1,V+=1;break}default:qe!==3&&(qe=2),wr(t.getTokenText());break}qe===2||qe===3?nr=Ae(qe===3):nr=me()}qc(le);let Sn=e_(le.join(""));if(fe.length)return Sn.length&&fe.push(F(h.createJSDocText(Sn),Me??te)),Bt(fe,te,t.getTokenEnd());if(Sn.length)return Sn}function ui(V){let re=jt(Eo);if(!re)return;me(),pn();let te=S(),le=At(m())?Ma(!0):void 0;if(le)for(;m()===81;)Ye(),me(),le=F(h.createJSDocMemberName(le,Ut()),te);let fe=[];for(;m()!==20&&m()!==4&&m()!==1;)fe.push(t.getTokenText()),me();let Me=re==="link"?h.createJSDocLink:re==="linkcode"?h.createJSDocLinkCode:h.createJSDocLinkPlain;return F(Me(le,fe.join("")),V,t.getTokenEnd())}function Eo(){if(Fi(),m()===19&&me()===60&&At(me())){let V=t.getTokenValue();if(Rd(V))return V}}function Rd(V){return V==="link"||V==="linkcode"||V==="linkplain"}function pi(V,re,te,le){return F(h.createJSDocUnknownTag(re,Se(V,S(),te,le)),V)}function Hy(V){V&&(Lt?Lt.push(V):(Lt=[V],On=V.pos),ca=V.end)}function r(){return Fi(),m()===19?v():void 0}function o(){let V=ko(23);V&&pn();let re=ko(62),te=vC();return re&&du(62),V&&(pn(),at(64)&&Mt(),Y(24)),{name:te,isBracketed:V}}function _(V){switch(V.kind){case 151:return!0;case 187:return _(V.elementType);default:return I_(V)&&Ce(V.typeName)&&V.typeName.escapedText==="Object"&&!V.typeArguments}}function u(V,re,te,le){let fe=r(),Me=!fe;Fi();let{name:qe,isBracketed:kt}=o(),wr=Fi();Me&&!Pe(Eo)&&(fe=r());let nr=Se(V,S(),le,wr),Sn=te!==4&&b(fe,qe,te,le);Sn&&(fe=Sn,Me=!0);let jr=te===1?h.createJSDocPropertyTag(re,qe,kt,fe,Me,nr):h.createJSDocParameterTag(re,qe,kt,fe,Me,nr);return F(jr,V)}function b(V,re,te,le){if(V&&_(V.type)){let fe=S(),Me,qe;for(;Me=jt(()=>Gy(te,le,re));)Me.kind===347||Me.kind===354?qe=Tt(qe,Me):Me.kind===351&&j(Me.tagName,K.A_JSDoc_template_tag_may_not_follow_a_typedef_callback_or_overload_tag);if(qe){let kt=F(h.createJSDocTypeLiteral(qe,V.type.kind===187),fe);return F(h.createJSDocTypeExpression(kt),fe)}}}function I(V,re,te,le){ft(Lt,Bb)&&wt(re.pos,t.getTokenStart(),K._0_tag_already_specified,Xo(re.escapedText));let fe=r();return F(h.createJSDocReturnTag(re,fe,Se(V,S(),te,le)),V)}function X(V,re,te,le){ft(Lt,ru)&&wt(re.pos,t.getTokenStart(),K._0_tag_already_specified,Xo(re.escapedText));let fe=v(!0),Me=te!==void 0&&le!==void 0?Se(V,S(),te,le):void 0;return F(h.createJSDocTypeTag(re,fe,Me),V)}function ge(V,re,te,le){let Me=m()===23||Pe(()=>me()===60&&At(me())&&Rd(t.getTokenValue()))?void 0:C(),qe=te!==void 0&&le!==void 0?Se(V,S(),te,le):void 0;return F(h.createJSDocSeeTag(re,Me,qe),V)}function Ve(V,re,te,le){let fe=r(),Me=Se(V,S(),te,le);return F(h.createJSDocThrowsTag(re,fe,Me),V)}function xn(V,re,te,le){let fe=S(),Me=di(),qe=t.getTokenFullStart(),kt=Se(V,qe,te,le);kt||(qe=t.getTokenFullStart());let wr=typeof kt!="string"?Bt(d_([F(Me,fe,qe)],kt),fe):Me.text+kt;return F(h.createJSDocAuthorTag(re,wr),V)}function di(){let V=[],re=!1,te=t.getToken();for(;te!==1&&te!==4;){if(te===30)re=!0;else{if(te===60&&!re)break;if(te===32&&re){V.push(t.getTokenText()),t.resetTokenState(t.getTokenEnd());break}}V.push(t.getTokenText()),te=me()}return h.createJSDocText(V.join(""))}function fi(V,re,te,le){let fe=H6();return F(h.createJSDocImplementsTag(re,fe,Se(V,S(),te,le)),V)}function qs(V,re,te,le){let fe=H6();return F(h.createJSDocAugmentsTag(re,fe,Se(V,S(),te,le)),V)}function sC(V,re,te,le){let fe=v(!1),Me=te!==void 0&&le!==void 0?Se(V,S(),te,le):void 0;return F(h.createJSDocSatisfiesTag(re,fe,Me),V)}function H6(){let V=Je(19),re=S(),te=_C();t.setInJSDocType(!0);let le=Rs();t.setInJSDocType(!1);let fe=h.createExpressionWithTypeArguments(te,le),Me=F(fe,re);return V&&Y(20),Me}function _C(){let V=S(),re=Ua();for(;Je(25);){let te=Ua();re=F(se(re,te),V)}return re}function Co(V,re,te,le,fe){return F(re(te,Se(V,S(),le,fe)),V)}function cC(V,re,te,le){let fe=v(!0);return pn(),F(h.createJSDocThisTag(re,fe,Se(V,S(),te,le)),V)}function lC(V,re,te,le){let fe=v(!0);return pn(),F(h.createJSDocEnumTag(re,fe,Se(V,S(),te,le)),V)}function uC(V,re,te,le){let fe=r();Fi();let Me=Ky();pn();let qe=nt(te),kt;if(!fe||_(fe.type)){let nr,Sn,jr,Fd=!1;for(;(nr=jt(()=>yC(te)))&&nr.kind!==351;)if(Fd=!0,nr.kind===350)if(Sn){let zs=Fe(K.A_JSDoc_typedef_comment_may_not_contain_multiple_type_tags);zs&&Xc(zs,No(dn,0,0,K.The_tag_was_first_specified_here));break}else Sn=nr;else jr=Tt(jr,nr);if(Fd){let zs=fe&&fe.type.kind===187,jd=h.createJSDocTypeLiteral(jr,zs);fe=Sn&&Sn.typeExpression&&!_(Sn.typeExpression.type)?Sn.typeExpression:F(jd,V),kt=fe.end}}kt=kt||qe!==void 0?S():(Me??fe??re).end,qe||(qe=Se(V,kt,te,le));let wr=h.createJSDocTypedefTag(re,fe,Me,qe);return F(wr,V,kt)}function Ky(V){let re=t.getTokenStart();if(!At(m()))return;let te=Ua();if(Je(25)){let le=Ky(!0),fe=h.createModuleDeclaration(void 0,te,le,V?4:void 0);return F(fe,re)}return V&&(te.flags|=2048),te}function pC(V){let re=S(),te,le;for(;te=jt(()=>Gy(4,V));){if(te.kind===351){j(te.tagName,K.A_JSDoc_template_tag_may_not_follow_a_typedef_callback_or_overload_tag);break}le=Tt(le,te)}return Bt(le||[],re)}function K6(V,re){let te=pC(re),le=jt(()=>{if(ko(60)){let fe=Jd(re);if(fe&&fe.kind===348)return fe}});return F(h.createJSDocSignature(void 0,te,le),V)}function dC(V,re,te,le){let fe=Ky();pn();let Me=nt(te),qe=K6(V,te);Me||(Me=Se(V,S(),te,le));let kt=Me!==void 0?S():qe.end;return F(h.createJSDocCallbackTag(re,qe,fe,Me),V,kt)}function fC(V,re,te,le){pn();let fe=nt(te),Me=K6(V,te);fe||(fe=Se(V,S(),te,le));let qe=fe!==void 0?S():Me.end;return F(h.createJSDocOverloadTag(re,Me,fe),V,qe)}function mC(V,re){for(;!Ce(V)||!Ce(re);)if(!Ce(V)&&!Ce(re)&&V.right.escapedText===re.right.escapedText)V=V.left,re=re.left;else return!1;return V.escapedText===re.escapedText}function yC(V){return Gy(1,V)}function Gy(V,re,te){let le=!0,fe=!1;for(;;)switch(me()){case 60:if(le){let Me=hC(V,re);return Me&&(Me.kind===347||Me.kind===354)&&V!==4&&te&&(Ce(Me.name)||!mC(te,Me.name.left))?!1:Me}fe=!1;break;case 4:le=!0,fe=!1;break;case 42:fe&&(le=!1),fe=!0;break;case 80:le=!1;break;case 1:return!1}}function hC(V,re){M.assert(m()===60);let te=t.getTokenFullStart();me();let le=Ua(),fe=Fi(),Me;switch(le.escapedText){case"type":return V===1&&X(te,le);case"prop":case"property":Me=1;break;case"arg":case"argument":case"param":Me=6;break;case"template":return G6(te,le,re,fe);default:return!1}return V&Me?u(te,le,V,re):!1}function gC(){let V=S(),re=ko(23);re&&pn();let te=Ua(K.Unexpected_token_A_type_parameter_name_was_expected_without_curly_braces),le;if(re&&(pn(),Y(64),le=We(8388608,ks),Y(24)),!Bi(te))return F(h.createTypeParameterDeclaration(void 0,te,void 0,le),V)}function bC(){let V=S(),re=[];do{pn();let te=gC();te!==void 0&&re.push(te),Fi()}while(ko(28));return Bt(re,V)}function G6(V,re,te,le){let fe=m()===19?v():void 0,Me=bC();return F(h.createJSDocTemplateTag(re,fe,Me,Se(V,S(),te,le)),V)}function ko(V){return m()===V?(me(),!0):!1}function vC(){let V=Ua();for(Je(23)&&Y(24);Je(25);){let re=Ua();Je(23)&&Y(24),V=nc(V,re)}return V}function Ua(V){if(!At(m()))return Hn(80,!V,V||K.Identifier_expected);cn++;let re=t.getTokenStart(),te=t.getTokenEnd(),le=m(),fe=Di(t.getTokenValue()),Me=F(B(fe,le),re,te);return me(),Me}}})(Od=e.JSDocParser||(e.JSDocParser={}))})(zr||(zr={})),(e=>{function t(g,A,B,G){if(G=G||M.shouldAssert(2),h(g,A,B,G),UT(B))return g;if(g.statements.length===0)return zr.parseSourceFile(g.fileName,A,g.languageVersion,void 0,!0,g.scriptKind,g.setExternalModuleIndicator);let oe=g;M.assert(!oe.hasBeenIncrementallyParsed),oe.hasBeenIncrementallyParsed=!0,zr.fixupParentReferences(oe);let Q=g.text,W=D(g),se=p(g,B);h(g,A,se,G),M.assert(se.span.start<=B.span.start),M.assert(tn(se.span)===tn(B.span)),M.assert(tn(Ks(se))===tn(Ks(B)));let we=Ks(se).length-se.span.length;y(oe,se.span.start,tn(se.span),tn(Ks(se)),we,Q,A,G);let Ze=zr.parseSourceFile(g.fileName,A,g.languageVersion,W,!0,g.scriptKind,g.setExternalModuleIndicator);return Ze.commentDirectives=n(g.commentDirectives,Ze.commentDirectives,se.span.start,tn(se.span),we,Q,A,G),Ze.impliedNodeFormat=g.impliedNodeFormat,Ze}e.updateSourceFile=t;function n(g,A,B,G,oe,Q,W,se){if(!g)return A;let we,Ze=!1;for(let rt of g){let{range:ct,type:Dn}=rt;if(ct.endG){Ue();let sn={range:{pos:ct.pos+oe,end:ct.end+oe},type:Dn};we=Tt(we,sn),se&&M.assert(Q.substring(ct.pos,ct.end)===W.substring(sn.range.pos,sn.range.end))}}return Ue(),we;function Ue(){Ze||(Ze=!0,we?A&&we.push(...A):we=A)}}function i(g,A,B,G,oe,Q){A?se(g):W(g);return;function W(we){let Ze="";if(Q&&s(we)&&(Ze=G.substring(we.pos,we.end)),we._children&&(we._children=void 0),Va(we,we.pos+B,we.end+B),Q&&s(we)&&M.assert(Ze===oe.substring(we.pos,we.end)),qt(we,W,se),Ui(we))for(let Ue of we.jsDoc)W(Ue);d(we,Q)}function se(we){we._children=void 0,Va(we,we.pos+B,we.end+B);for(let Ze of we)W(Ze)}}function s(g){switch(g.kind){case 11:case 9:case 80:return!0}return!1}function l(g,A,B,G,oe){M.assert(g.end>=A,"Adjusting an element that was entirely before the change range"),M.assert(g.pos<=B,"Adjusting an element that was entirely after the change range"),M.assert(g.pos<=g.end);let Q=Math.min(g.pos,G),W=g.end>=B?g.end+oe:Math.min(g.end,G);M.assert(Q<=W),g.parent&&(M.assertGreaterThanOrEqual(Q,g.parent.pos),M.assertLessThanOrEqual(W,g.parent.end)),Va(g,Q,W)}function d(g,A){if(A){let B=g.pos,G=oe=>{M.assert(oe.pos>=B),B=oe.end};if(Ui(g))for(let oe of g.jsDoc)G(oe);qt(g,G),M.assert(B<=g.end)}}function y(g,A,B,G,oe,Q,W,se){we(g);return;function we(Ue){if(M.assert(Ue.pos<=Ue.end),Ue.pos>B){i(Ue,!1,oe,Q,W,se);return}let rt=Ue.end;if(rt>=A){if(Ue.intersectsChange=!0,Ue._children=void 0,l(Ue,A,B,G,oe),qt(Ue,we,Ze),Ui(Ue))for(let ct of Ue.jsDoc)we(ct);d(Ue,se);return}M.assert(rtB){i(Ue,!0,oe,Q,W,se);return}let rt=Ue.end;if(rt>=A){Ue.intersectsChange=!0,Ue._children=void 0,l(Ue,A,B,G,oe);for(let ct of Ue)we(ct);return}M.assert(rt0&&W<=1;W++){let se=x(g,G);M.assert(se.pos<=G);let we=se.pos;G=Math.max(0,we-1)}let oe=zi(G,tn(A.span)),Q=A.newLength+(A.span.start-G);return pm(oe,Q)}function x(g,A){let B=g,G;if(qt(g,Q),G){let W=oe(G);W.pos>B.pos&&(B=W)}return B;function oe(W){for(;;){let se=V3(W);if(se)W=se;else return W}}function Q(W){if(!Bi(W))if(W.pos<=A){if(W.pos>=B.pos&&(B=W),AA),!0}}function h(g,A,B,G){let oe=g.text;if(B&&(M.assert(oe.length-B.span.length+B.newLength===A.length),G||M.shouldAssert(3))){let Q=oe.substr(0,B.span.start),W=A.substr(0,B.span.start);M.assert(Q===W);let se=oe.substring(tn(B.span),oe.length),we=A.substring(tn(Ks(B)),A.length);M.assert(se===we)}}function D(g){let A=g.statements,B=0;M.assert(B=Ze.pos&&W=Ze.pos&&W{g[g.Value=-1]="Value"})(w||(w={}))})(cf||(cf={})),lf=new Map,d7=/^\/\/\/\s*<(\S+)\s.*?\/>/im,f7=/^\/\/\/?\s*@(\S+)\s*(.*)\s*$/im}}),MF=()=>{},KK=Ht({"src/compiler/pnp.ts"(){"use strict";gT()}}),LF=()=>{},JF=()=>{},RF=()=>{},FF=()=>{},jF=()=>{},BF=()=>{},UF=()=>{},qF=()=>{},zF=()=>{},WF=()=>{},VF=()=>{},HF=()=>{},KF=()=>{},GF=()=>{},XF=()=>{},$F=()=>{},QF=()=>{},YF=()=>{},ZF=()=>{},ej=()=>{},tj=()=>{},nj=()=>{},rj=()=>{},ij=()=>{},aj=()=>{},oj=()=>{},sj=()=>{},_j=()=>{},cj=()=>{},lj=()=>{},uj=()=>{},pj=()=>{},dj=()=>{},fj=()=>{},mj=()=>{},yj=()=>{},hj=()=>{},gj=()=>{},bj=()=>{},vj=()=>{},Tj=()=>{},xj=()=>{},Sj=()=>{},wj=()=>{},Ej=()=>{},En=Ht({"src/compiler/_namespaces/ts.ts"(){"use strict";NC(),u5(),_T(),p5(),d5(),m5(),g5(),uT(),v5(),gT(),J5(),V5(),OA(),pL(),dL(),fL(),mL(),AL(),DL(),PL(),aR(),gF(),bF(),OF(),MF(),LF(),JF(),RF(),jF(),BF(),UF(),qF(),zF(),WF(),VF(),HF(),KF(),GF(),XF(),$F(),QF(),YF(),ZF(),ej(),tj(),nj(),rj(),ij(),aj(),oj(),sj(),_j(),cj(),lj(),uj(),pj(),dj(),fj(),mj(),yj(),hj(),gj(),bj(),vj(),Tj(),xj(),Sj(),wj(),Ej(),FF(),lT()}}),m7=()=>{},Cj=()=>{},y7=()=>{},zo,y7=()=>{_T(),zo=as(99,!0)},kj=()=>{},h7=()=>{},Aj=()=>{},Dj=()=>{},Pj=()=>{},Nj=()=>{},Ij=()=>{},Oj=()=>{},Mj=()=>{},Lj=()=>{},g7=()=>{},b7=()=>{},v7=()=>{},Jj=()=>{};function T7(e,t,n,i){let s=Ol(e)?new $f(e,t,n):e===80?new Qf(80,t,n):e===81?new Yf(81,t,n):new Kb(e,t,n);return s.parent=i,s.flags=i.flags&50720768,s}function Rj(e,t){if(!Ol(e.kind))return Xe;let n=[];if(Ux(e))return e.forEachChild(d=>{n.push(d)}),n;zo.setText((t||e.getSourceFile()).text);let i=e.pos,s=d=>{_l(n,i,d.pos,e),n.push(d),i=d.end},l=d=>{_l(n,i,d.pos,e),n.push(Fj(d,e)),i=d.end};return hn(e.jsDoc,s),i=e.pos,e.forEachChild(s,l),_l(n,i,e.end,e),zo.setText(void 0),n}function _l(e,t,n,i){for(zo.resetTokenState(t);tt.tagName.text==="inheritDoc"||t.tagName.text==="inheritdoc")}function Hd(e,t){if(!e)return Xe;let n=ts_JsDoc_exports.getJsDocTagsFromDeclarations(e,t);if(t&&(n.length===0||e.some(x7))){let i=new Set;for(let s of e){let l=S7(t,s,d=>{var y;if(!i.has(d))return i.add(d),s.kind===176||s.kind===177?d.getContextualJsDocTags(s,t):((y=d.declarations)==null?void 0:y.length)===1?d.getJsDocTags():void 0});l&&(n=[...l,...n])}}return n}function Wc(e,t){if(!e)return Xe;let n=ts_JsDoc_exports.getJsDocCommentsFromDeclarations(e,t);if(t&&(n.length===0||e.some(x7))){let i=new Set;for(let s of e){let l=S7(t,s,d=>{if(!i.has(d))return i.add(d),s.kind===176||s.kind===177?d.getContextualDocumentationComment(s,t):d.getDocumentationComment(t)});l&&(n=n.length===0?l.slice():l.concat(lineBreakPart(),n))}}return n}function S7(e,t,n){var i;let s=((i=t.parent)==null?void 0:i.kind)===175?t.parent.parent:t.parent;if(!s)return;let l=Rm(t);return og(K4(s),d=>{let y=e.getTypeAtLocation(d),p=l&&y.symbol?e.getTypeOfSymbol(y.symbol):y,x=e.getPropertyOfType(p,t.symbol.name);return x?n(x):void 0})}function jj(){return{getNodeConstructor:()=>$f,getTokenConstructor:()=>Kb,getIdentifierConstructor:()=>Qf,getPrivateIdentifierConstructor:()=>Yf,getSourceFileConstructor:()=>M7,getSymbolConstructor:()=>N7,getTypeConstructor:()=>I7,getSignatureConstructor:()=>O7,getSourceMapSourceConstructor:()=>L7}}function Zc(e){let t=!0;for(let i in e)if(Xn(e,i)&&!Nv(i)){t=!1;break}if(t)return e;let n={};for(let i in e)if(Xn(e,i)){let s=Nv(i)?i:i.charAt(0).toLowerCase()+i.substr(1);n[s]=e[i]}return n}function Nv(e){return!e.length||e.charAt(0)===e.charAt(0).toLowerCase()}function Bj(e){return e?ga(e,t=>t.text).join(""):""}function w7(){return{target:1,jsx:1}}function E7(){return ts_codefix_exports.getSupportedErrorCodes()}function C7(e,t,n){e.version=n,e.scriptSnapshot=t}function Hb(e,t,n,i,s,l){let d=_7(e,getSnapshotText(t),n,s,l);return C7(d,t,i),d}function k7(e,t,n,i,s){if(i&&n!==e.version){let d,y=i.span.start!==0?e.text.substr(0,i.span.start):"",p=tn(i.span)!==e.text.length?e.text.substr(tn(i.span)):"";if(i.newLength===0)d=y&&p?y+p:y||p;else{let h=t.getText(i.span.start,i.span.start+i.newLength);d=y&&p?y+h+p:y?y+h:h+p}let x=Vb(e,d,i,s);return C7(x,t,n),x.nameTable=void 0,e!==x&&e.scriptSnapshot&&(e.scriptSnapshot.dispose&&e.scriptSnapshot.dispose(),e.scriptSnapshot=void 0),x}let l={languageVersion:e.languageVersion,impliedNodeFormat:e.impliedNodeFormat,setExternalModuleIndicator:e.setExternalModuleIndicator};return Hb(e.fileName,t,l,n,!0,e.scriptKind)}function Uj(e,t=createDocumentRegistry(e.useCaseSensitiveFileNames&&e.useCaseSensitiveFileNames(),e.getCurrentDirectory()),n){var i;let s;n===void 0?s=0:typeof n=="boolean"?s=n?2:0:s=n;let l=new J7(e),d,y,p=0,x=e.getCancellationToken?new F7(e.getCancellationToken()):R7,h=e.getCurrentDirectory();X3((i=e.getLocalizedDiagnosticMessages)==null?void 0:i.bind(e));function D(j){e.log&&e.log(j)}let w=A2(e),g=im(w),A=getSourceMapper({useCaseSensitiveFileNames:()=>w,getCurrentDirectory:()=>h,getProgram:oe,fileExists:rn(e,e.fileExists),readFile:rn(e,e.readFile),getDocumentPositionMapper:rn(e,e.getDocumentPositionMapper),getSourceFileLike:rn(e,e.getSourceFileLike),log:D});function B(j){let E=d.getSourceFile(j);if(!E){let S=new Error(`Could not find source file: '${j}'.`);throw S.ProgramFiles=d.getSourceFiles().map(J=>J.fileName),S}return E}function G(){var j,E,S;if(M.assert(s!==2),e.getProjectVersion){let Le=e.getProjectVersion();if(Le){if(y===Le&&!((j=e.hasChangedAutomaticTypeDirectiveNames)!=null&&j.call(e)))return;y=Le}}let J=e.getTypeRootsVersion?e.getTypeRootsVersion():0;p!==J&&(D("TypeRoots version has changed; provide new program"),d=void 0,p=J);let m=e.getScriptFileNames().slice(),ie=e.getCompilationSettings()||w7(),he=e.hasInvalidatedResolutions||df,R=rn(e,e.hasInvalidatedLibResolutions)||df,me=rn(e,e.hasChangedAutomaticTypeDirectiveNames),Ae=(E=e.getProjectReferences)==null?void 0:E.call(e),ke,De={getSourceFile:Pt,getSourceFileByPath:Y,getCancellationToken:()=>x,getCanonicalFileName:g,useCaseSensitiveFileNames:()=>w,getNewLine:()=>R3(ie),getDefaultLibFileName:Le=>e.getDefaultLibFileName(Le),writeFile:Nr,getCurrentDirectory:()=>h,fileExists:Le=>e.fileExists(Le),readFile:Le=>e.readFile&&e.readFile(Le),getSymlinkCache:rn(e,e.getSymlinkCache),realpath:rn(e,e.realpath),directoryExists:Le=>J3(Le,e),getDirectories:Le=>e.getDirectories?e.getDirectories(Le):[],readDirectory:(Le,_t,en,Zn,lo)=>(M.checkDefined(e.readDirectory,"'LanguageServiceHost.readDirectory' must be implemented to correctly process 'projectReferences'"),e.readDirectory(Le,_t,en,Zn,lo)),onReleaseOldSourceFile:Yn,onReleaseParsedCommandLine:jt,hasInvalidatedResolutions:he,hasInvalidatedLibResolutions:R,hasChangedAutomaticTypeDirectiveNames:me,trace:rn(e,e.trace),resolveModuleNames:rn(e,e.resolveModuleNames),getModuleResolutionCache:rn(e,e.getModuleResolutionCache),createHash:rn(e,e.createHash),resolveTypeReferenceDirectives:rn(e,e.resolveTypeReferenceDirectives),resolveModuleNameLiterals:rn(e,e.resolveModuleNameLiterals),resolveTypeReferenceDirectiveReferences:rn(e,e.resolveTypeReferenceDirectiveReferences),resolveLibrary:rn(e,e.resolveLibrary),useSourceOfProjectReferenceRedirect:rn(e,e.useSourceOfProjectReferenceRedirect),getParsedCommandLine:Ct},ot=De.getSourceFile,{getSourceFileWithCache:st}=changeCompilerHostLikeToUseCache(De,Le=>vi(Le,h,g),(...Le)=>ot.call(De,...Le));De.getSourceFile=st,(S=e.setCompilerHost)==null||S.call(e,De);let Ye={useCaseSensitiveFileNames:w,fileExists:Le=>De.fileExists(Le),readFile:Le=>De.readFile(Le),readDirectory:(...Le)=>De.readDirectory(...Le),trace:De.trace,getCurrentDirectory:De.getCurrentDirectory,onUnRecoverableConfigFileDiagnostic:Nr},Ft=t.getKeyForCompilationSettings(ie),Et=new Set;if(isProgramUptoDate(d,m,ie,(Le,_t)=>e.getScriptVersion(_t),Le=>De.fileExists(Le),he,R,me,Ct,Ae)){De=void 0,ke=void 0,Et=void 0;return}let bn={rootNames:m,options:ie,host:De,oldProgram:d,projectReferences:Ae};d=createProgram(bn),De=void 0,ke=void 0,Et=void 0,A.clearCache(),d.getTypeChecker();return;function Ct(Le){let _t=vi(Le,h,g),en=ke==null?void 0:ke.get(_t);if(en!==void 0)return en||void 0;let Zn=e.getParsedCommandLine?e.getParsedCommandLine(Le):Pe(Le);return(ke||(ke=new Map)).set(_t,Zn||!1),Zn}function Pe(Le){let _t=Pt(Le,100);if(_t)return _t.path=vi(Le,h,g),_t.resolvedPath=_t.path,_t.originalFileName=_t.fileName,parseJsonSourceFileConfigFileContent(_t,Ye,Ta(Hi(Le),h),void 0,Ta(Le,h))}function jt(Le,_t,en){var Zn;e.getParsedCommandLine?(Zn=e.onReleaseParsedCommandLine)==null||Zn.call(e,Le,_t,en):_t&&Yn(_t.sourceFile,en)}function Yn(Le,_t){let en=t.getKeyForCompilationSettings(_t);t.releaseDocumentWithKey(Le.resolvedPath,en,Le.scriptKind,Le.impliedNodeFormat)}function Pt(Le,_t,en,Zn){return Y(Le,vi(Le,h,g),_t,en,Zn)}function Y(Le,_t,en,Zn,lo){M.assert(De,"getOrCreateSourceFileByPath called after typical CompilerHost lifetime, check the callstack something with a reference to an old host.");let Na=e.getScriptSnapshot(Le);if(!Na)return;let vr=getScriptKind(Le,e),Je=e.getScriptVersion(Le);if(!lo){let at=d&&d.getSourceFileByPath(_t);if(at){if(vr===at.scriptKind||Et.has(at.resolvedPath))return t.updateDocumentWithKey(Le,_t,e,Ft,Na,Je,vr,en);t.releaseDocumentWithKey(at.resolvedPath,t.getKeyForCompilationSettings(d.getCompilerOptions()),at.scriptKind,at.impliedNodeFormat),Et.add(at.resolvedPath)}}return t.acquireDocumentWithKey(Le,_t,e,Ft,Na,Je,vr,en)}}function oe(){if(s===2){M.assert(d===void 0);return}return G(),d}function Q(){var j;return(j=e.getPackageJsonAutoImportProvider)==null?void 0:j.call(e)}function W(j,E){let S=d.getTypeChecker(),J=m();if(!J)return!1;for(let he of j)for(let R of he.references){let me=ie(R);if(M.assertIsDefined(me),E.has(R)||ts_FindAllReferences_exports.isDeclarationOfSymbol(me,J)){E.add(R),R.isDefinition=!0;let Ae=getMappedDocumentSpan(R,A,rn(e,e.fileExists));Ae&&E.add(Ae)}else R.isDefinition=!1}return!0;function m(){for(let he of j)for(let R of he.references){if(E.has(R)){let Ae=ie(R);return M.assertIsDefined(Ae),S.getSymbolAtLocation(Ae)}let me=getMappedDocumentSpan(R,A,rn(e,e.fileExists));if(me&&E.has(me)){let Ae=ie(me);if(Ae)return S.getSymbolAtLocation(Ae)}}}function ie(he){let R=d.getSourceFile(he.fileName);if(!R)return;let me=getTouchingPropertyName(R,he.textSpan.start);return ts_FindAllReferences_exports.Core.getAdjustedNode(me,{use:ts_FindAllReferences_exports.FindReferencesUse.References})}}function se(){d=void 0}function we(){if(d){let j=t.getKeyForCompilationSettings(d.getCompilerOptions());hn(d.getSourceFiles(),E=>t.releaseDocumentWithKey(E.resolvedPath,j,E.scriptKind,E.impliedNodeFormat)),d=void 0}e=void 0}function Ze(j){return G(),d.getSyntacticDiagnostics(B(j),x).slice()}function Ue(j){G();let E=B(j),S=d.getSemanticDiagnostics(E,x);if(!H2(d.getCompilerOptions()))return S.slice();let J=d.getDeclarationDiagnostics(E,x);return[...S,...J]}function rt(j){return G(),computeSuggestionDiagnostics(B(j),d,x)}function ct(){return G(),[...d.getOptionsDiagnostics(x),...d.getGlobalDiagnostics(x)]}function Dn(j,E,S=emptyOptions,J){let m={...S,includeCompletionsForModuleExports:S.includeCompletionsForModuleExports||S.includeExternalModuleExports,includeCompletionsWithInsertText:S.includeCompletionsWithInsertText||S.includeInsertTextCompletions};return G(),ts_Completions_exports.getCompletionsAtPosition(e,d,D,B(j),E,m,S.triggerCharacter,S.triggerKind,x,J&&ts_formatting_exports.getFormatContext(J,e),S.includeSymbol)}function sn(j,E,S,J,m,ie=emptyOptions,he){return G(),ts_Completions_exports.getCompletionEntryDetails(d,D,B(j),E,{name:S,source:m,data:he},e,J&&ts_formatting_exports.getFormatContext(J,e),ie,x)}function ei(j,E,S,J,m=emptyOptions){return G(),ts_Completions_exports.getCompletionEntrySymbol(d,D,B(j),E,{name:S,source:J},e,m)}function _n(j,E){G();let S=B(j),J=getTouchingPropertyName(S,E);if(J===S)return;let m=d.getTypeChecker(),ie=Pn(J),he=Hj(ie,m);if(!he||m.isUnknownSymbol(he)){let De=$e(S,ie,E)?m.getTypeAtLocation(ie):void 0;return De&&{kind:"",kindModifiers:"",textSpan:createTextSpanFromNode(ie,S),displayParts:m.runWithCancellationToken(x,ot=>typeToDisplayParts(ot,De,getContainerNode(ie))),documentation:De.symbol?De.symbol.getDocumentationComment(m):void 0,tags:De.symbol?De.symbol.getJsDocTags(m):void 0}}let{symbolKind:R,displayParts:me,documentation:Ae,tags:ke}=m.runWithCancellationToken(x,De=>ts_SymbolDisplay_exports.getSymbolDisplayPartsDocumentationAndSymbolKind(De,he,S,getContainerNode(ie),ie));return{kind:R,kindModifiers:ts_SymbolDisplay_exports.getSymbolModifiers(m,he),textSpan:createTextSpanFromNode(ie,S),displayParts:me,documentation:Ae,tags:ke}}function Pn(j){return x8(j.parent)&&j.pos===j.parent.pos?j.parent.expression:mb(j.parent)&&j.pos===j.parent.pos||k0(j.parent)&&j.parent.name===j||J_(j.parent)?j.parent:j}function $e(j,E,S){switch(E.kind){case 80:return!isLabelName(E)&&!isTagName(E)&&!mx(E.parent);case 210:case 165:return!isInComment(j,S);case 110:case 196:case 108:case 201:return!0;case 235:return k0(E);default:return!1}}function $t(j,E,S,J){return G(),ts_GoToDefinition_exports.getDefinitionAtPosition(d,B(j),E,S,J)}function jn(j,E){return G(),ts_GoToDefinition_exports.getDefinitionAndBoundSpan(d,B(j),E)}function Qt(j,E){return G(),ts_GoToDefinition_exports.getTypeDefinitionAtPosition(d.getTypeChecker(),B(j),E)}function fr(j,E){return G(),ts_FindAllReferences_exports.getImplementationsAtPosition(d,x,d.getSourceFiles(),B(j),E)}function Bn(j,E,S){let J=sr(j);M.assert(S.some(he=>sr(he)===J)),G();let m=Ka(S,he=>d.getSourceFile(he)),ie=B(j);return DocumentHighlights.getDocumentHighlights(d,x,ie,E,m)}function dn(j,E,S,J,m){G();let ie=B(j),he=getAdjustedRenameLocation(getTouchingPropertyName(ie,E));if(ts_Rename_exports.nodeIsEligibleForRename(he))if(Ce(he)&&(Ro(he.parent)||sf(he.parent))&&o3(he.escapedText)){let{openingElement:R,closingElement:me}=he.parent.parent;return[R,me].map(Ae=>{let ke=createTextSpanFromNode(Ae.tagName,ie);return{fileName:ie.fileName,textSpan:ke,...ts_FindAllReferences_exports.toContextSpan(ke,ie,Ae.parent)}})}else{let R=getQuotePreference(ie,m??emptyOptions),me=typeof m=="boolean"?m:m==null?void 0:m.providePrefixAndSuffixTextForRename;return vt(he,E,{findInStrings:S,findInComments:J,providePrefixAndSuffixTextForRename:me,use:ts_FindAllReferences_exports.FindReferencesUse.Rename},(Ae,ke,De)=>ts_FindAllReferences_exports.toRenameLocation(Ae,ke,De,me||!1,R))}}function Yt(j,E){return G(),vt(getTouchingPropertyName(B(j),E),E,{use:ts_FindAllReferences_exports.FindReferencesUse.References},ts_FindAllReferences_exports.toReferenceEntry)}function vt(j,E,S,J){G();let m=S&&S.use===ts_FindAllReferences_exports.FindReferencesUse.Rename?d.getSourceFiles().filter(ie=>!d.isSourceFileDefaultLibrary(ie)):d.getSourceFiles();return ts_FindAllReferences_exports.findReferenceOrRenameEntries(d,x,m,j,E,S,J)}function Un(j,E){return G(),ts_FindAllReferences_exports.findReferencedSymbols(d,x,d.getSourceFiles(),B(j),E)}function qn(j){return G(),ts_FindAllReferences_exports.Core.getReferencesForFileName(j,d,d.getSourceFiles()).map(ts_FindAllReferences_exports.toReferenceEntry)}function gt(j,E,S,J=!1){G();let m=S?[B(S)]:d.getSourceFiles();return getNavigateToItems(m,d.getTypeChecker(),x,j,E,J)}function lt(j,E,S){G();let J=B(j),m=e.getCustomTransformers&&e.getCustomTransformers();return getFileEmitOutput(d,J,!!E,x,m,S)}function Zt(j,E,{triggerReason:S}=emptyOptions){G();let J=B(j);return ts_SignatureHelp_exports.getSignatureHelpItems(d,J,E,S,x)}function zn(j){return l.getCurrentSourceFile(j)}function mt(j,E,S){let J=l.getCurrentSourceFile(j),m=getTouchingPropertyName(J,E);if(m===J)return;switch(m.kind){case 210:case 165:case 11:case 97:case 112:case 106:case 108:case 110:case 196:case 80:break;default:return}let ie=m;for(;;)if(isRightSideOfPropertyAccess(ie)||isRightSideOfQualifiedName(ie))ie=ie.parent;else if(isNameOfModuleDeclaration(ie))if(ie.parent.parent.kind===266&&ie.parent.parent.body===ie.parent)ie=ie.parent.parent.name;else break;else break;return zi(ie.getStart(),m.getEnd())}function mr(j,E){let S=l.getCurrentSourceFile(j);return ts_BreakpointResolver_exports.spanInSourceFileAtLocation(S,E)}function bt(j){return getNavigationBarItems(l.getCurrentSourceFile(j),x)}function cn(j){return getNavigationTree(l.getCurrentSourceFile(j),x)}function dt(j,E,S){return G(),(S||"original")==="2020"?getSemanticClassifications2(d,x,B(j),E):getSemanticClassifications(d.getTypeChecker(),x,B(j),d.getClassifiableNames(),E)}function Qn(j,E,S){return G(),(S||"original")==="original"?getEncodedSemanticClassifications(d.getTypeChecker(),x,B(j),d.getClassifiableNames(),E):getEncodedSemanticClassifications2(d,x,B(j),E)}function ut(j,E){return getSyntacticClassifications(x,l.getCurrentSourceFile(j),E)}function Jt(j,E){return getEncodedSyntacticClassifications(x,l.getCurrentSourceFile(j),E)}function ln(j){let E=l.getCurrentSourceFile(j);return ts_OutliningElementsCollector_exports.collectElements(E,x)}let yr=new Map(Object.entries({19:20,21:22,23:24,32:30}));yr.forEach((j,E)=>yr.set(j.toString(),Number(E)));function Mr(j,E){let S=l.getCurrentSourceFile(j),J=getTouchingToken(S,E),m=J.getStart(S)===E?yr.get(J.kind.toString()):void 0,ie=m&&findChildOfKind(J.parent,m,S);return ie?[createTextSpanFromNode(J,S),createTextSpanFromNode(ie,S)].sort((he,R)=>he.start-R.start):Xe}function ti(j,E,S){let J=da(),m=Zc(S),ie=l.getCurrentSourceFile(j);D("getIndentationAtPosition: getCurrentSourceFile: "+(da()-J)),J=da();let he=ts_formatting_exports.SmartIndenter.getIndentation(E,ie,m);return D("getIndentationAtPosition: computeIndentation : "+(da()-J)),he}function Wn(j,E,S,J){let m=l.getCurrentSourceFile(j);return ts_formatting_exports.formatSelection(E,S,m,ts_formatting_exports.getFormatContext(Zc(J),e))}function hr(j,E){return ts_formatting_exports.formatDocument(l.getCurrentSourceFile(j),ts_formatting_exports.getFormatContext(Zc(E),e))}function Ci(j,E,S,J){let m=l.getCurrentSourceFile(j),ie=ts_formatting_exports.getFormatContext(Zc(J),e);if(!isInComment(m,E))switch(S){case"{":return ts_formatting_exports.formatOnOpeningCurly(E,m,ie);case"}":return ts_formatting_exports.formatOnClosingCurly(E,m,ie);case";":return ts_formatting_exports.formatOnSemicolon(E,m,ie);case` -`:return ts_formatting_exports.formatOnEnter(E,m,ie)}return[]}function Ie(j,E,S,J,m,ie=emptyOptions){G();let he=B(j),R=zi(E,S),me=ts_formatting_exports.getFormatContext(m,e);return Wo(jv(J,to,wn),Ae=>(x.throwIfCancellationRequested(),ts_codefix_exports.getFixes({errorCode:Ae,sourceFile:he,span:R,program:d,host:e,cancellationToken:x,formatContext:me,preferences:ie})))}function H(j,E,S,J=emptyOptions){G(),M.assert(j.type==="file");let m=B(j.fileName),ie=ts_formatting_exports.getFormatContext(S,e);return ts_codefix_exports.getAllFixes({fixId:E,sourceFile:m,program:d,host:e,cancellationToken:x,formatContext:ie,preferences:J})}function de(j,E,S=emptyOptions){G(),M.assert(j.type==="file");let J=B(j.fileName),m=ts_formatting_exports.getFormatContext(E,e),ie=j.mode??(j.skipDestructiveCodeActions?"SortAndCombine":"All");return ts_OrganizeImports_exports.organizeImports(J,m,e,d,S,ie)}function be(j,E,S,J=emptyOptions){return getEditsForFileRename(oe(),j,E,e,ts_formatting_exports.getFormatContext(S,e),J,A)}function Ee(j,E){let S=typeof j=="string"?E:j;return Wt(S)?Promise.all(S.map(J=>et(J))):et(S)}function et(j){let E=S=>vi(S,h,g);return M.assertEqual(j.type,"install package"),e.installPackage?e.installPackage({fileName:E(j.file),packageName:j.packageName}):Promise.reject("Host does not implement `installPackage`")}function Qe(j,E,S,J){let m=J?ts_formatting_exports.getFormatContext(J,e).options:void 0;return ts_JsDoc_exports.getDocCommentTemplateAtPosition(getNewLineOrDefaultFromHost(e,m),l.getCurrentSourceFile(j),E,S)}function ee(j,E,S){if(S===60)return!1;let J=l.getCurrentSourceFile(j);if(isInString(J,E))return!1;if(isInsideJsxElementOrAttribute(J,E))return S===123;if(isInTemplateString(J,E))return!1;switch(S){case 39:case 34:case 96:return!isInComment(J,E)}return!0}function Z(j,E){let S=l.getCurrentSourceFile(j),J=findPrecedingToken(E,S);if(!J)return;let m=J.kind===32&&Ro(J.parent)?J.parent.parent:Hf(J)&&Z0(J.parent)?J.parent:void 0;if(m&&Nt(m))return{newText:``};let ie=J.kind===32&&Nb(J.parent)?J.parent.parent:Hf(J)&&ol(J.parent)?J.parent:void 0;if(ie&&Vn(ie))return{newText:""}}function ae(j,E){let S=l.getCurrentSourceFile(j),J=findPrecedingToken(E,S);if(!J||J.parent.kind===311)return;let m="[a-zA-Z0-9:\\-\\._$]*";if(ol(J.parent.parent)){let ie=J.parent.parent.openingFragment,he=J.parent.parent.closingFragment;if(ml(ie)||ml(he))return;let R=ie.getStart(S)+1,me=he.getStart(S)+2;return E!==R&&E!==me?void 0:{ranges:[{start:R,length:0},{start:me,length:0}],wordPattern:m}}else{let ie=Xr(J.parent,st=>!!(Ro(st)||sf(st)));if(!ie)return;M.assert(Ro(ie)||sf(ie),"tag should be opening or closing element");let he=ie.parent.openingElement,R=ie.parent.closingElement,me=he.tagName.getStart(S),Ae=he.tagName.end,ke=R.tagName.getStart(S),De=R.tagName.end;return!(me<=E&&E<=Ae||ke<=E&&E<=De)||he.tagName.getText(S)!==R.tagName.getText(S)?void 0:{ranges:[{start:me,length:Ae-me},{start:ke,length:De-ke}],wordPattern:m}}}function Te(j,E){return{lineStarts:j.getLineStarts(),firstLine:j.getLineAndCharacterOfPosition(E.pos).line,lastLine:j.getLineAndCharacterOfPosition(E.end).line}}function Oe(j,E,S){let J=l.getCurrentSourceFile(j),m=[],{lineStarts:ie,firstLine:he,lastLine:R}=Te(J,E),me=S||!1,Ae=Number.MAX_VALUE,ke=new Map,De=new RegExp(/\S/),ot=isInsideJsxElement(J,ie[he]),st=ot?"{/*":"//";for(let Ye=he;Ye<=R;Ye++){let Ft=J.text.substring(ie[Ye],J.getLineEndOfPosition(ie[Ye])),Et=De.exec(Ft);Et&&(Ae=Math.min(Ae,Et.index),ke.set(Ye.toString(),Et.index),Ft.substr(Et.index,st.length)!==st&&(me=S===void 0||S))}for(let Ye=he;Ye<=R;Ye++){if(he!==R&&ie[Ye]===E.end)continue;let Ft=ke.get(Ye.toString());Ft!==void 0&&(ot?m.push.apply(m,We(j,{pos:ie[Ye]+Ae,end:J.getLineEndOfPosition(ie[Ye])},me,ot)):me?m.push({newText:st,span:{length:0,start:ie[Ye]+Ae}}):J.text.substr(ie[Ye]+Ft,st.length)===st&&m.push({newText:"",span:{length:st.length,start:ie[Ye]+Ft}}))}return m}function We(j,E,S,J){var m;let ie=l.getCurrentSourceFile(j),he=[],{text:R}=ie,me=!1,Ae=S||!1,ke=[],{pos:De}=E,ot=J!==void 0?J:isInsideJsxElement(ie,De),st=ot?"{/*":"/*",Ye=ot?"*/}":"*/",Ft=ot?"\\{\\/\\*":"\\/\\*",Et=ot?"\\*\\/\\}":"\\*\\/";for(;De<=E.end;){let bn=R.substr(De,st.length)===st?st.length:0,Ct=isInComment(ie,De+bn);if(Ct)ot&&(Ct.pos--,Ct.end++),ke.push(Ct.pos),Ct.kind===3&&ke.push(Ct.end),me=!0,De=Ct.end+1;else{let Pe=R.substring(De,E.end).search(`(${Ft})|(${Et})`);Ae=S!==void 0?S:Ae||!isTextWhiteSpaceLike(R,De,Pe===-1?E.end:De+Pe),De=Pe===-1?E.end+1:De+Pe+Ye.length}}if(Ae||!me){((m=isInComment(ie,E.pos))==null?void 0:m.kind)!==2&&cl(ke,E.pos,wn),cl(ke,E.end,wn);let bn=ke[0];R.substr(bn,st.length)!==st&&he.push({newText:st,span:{length:0,start:bn}});for(let Ct=1;Ct0?bn-Ye.length:0,Pe=R.substr(Ct,Ye.length)===Ye?Ye.length:0;he.push({newText:"",span:{length:st.length,start:bn-Pe}})}return he}function Re(j,E){let S=l.getCurrentSourceFile(j),{firstLine:J,lastLine:m}=Te(S,E);return J===m&&E.pos!==E.end?We(j,E,!0):Oe(j,E,!0)}function Rt(j,E){let S=l.getCurrentSourceFile(j),J=[],{pos:m}=E,{end:ie}=E;m===ie&&(ie+=isInsideJsxElement(S,m)?2:1);for(let he=m;he<=ie;he++){let R=isInComment(S,he);if(R){switch(R.kind){case 2:J.push.apply(J,Oe(j,{end:R.end,pos:R.pos+1},!1));break;case 3:J.push.apply(J,We(j,{end:R.end,pos:R.pos+1},!1))}he=R.end+1}}return J}function Nt({openingElement:j,closingElement:E,parent:S}){return!gi(j.tagName,E.tagName)||Z0(S)&&gi(j.tagName,S.openingElement.tagName)&&Nt(S)}function Vn({closingFragment:j,parent:E}){return!!(j.flags&131072)||ol(E)&&Vn(E)}function ta(j,E,S){let J=l.getCurrentSourceFile(j),m=ts_formatting_exports.getRangeOfEnclosingComment(J,E);return m&&(!S||m.kind===3)?createTextSpanFromRange(m):void 0}function gr(j,E){G();let S=B(j);x.throwIfCancellationRequested();let J=S.text,m=[];if(E.length>0&&!me(S.fileName)){let Ae=he(),ke;for(;ke=Ae.exec(J);){x.throwIfCancellationRequested();let De=3;M.assert(ke.length===E.length+De);let ot=ke[1],st=ke.index+ot.length;if(!isInComment(S,st))continue;let Ye;for(let Et=0;Et"("+ie(Ct.text)+")").join("|")+")",Ye=/(?:$|\*\/)/.source,Ft=/(?:.*?)/.source,Et="("+st+Ft+")",bn=ot+Et+Ye;return new RegExp(bn,"gim")}function R(Ae){return Ae>=97&&Ae<=122||Ae>=65&&Ae<=90||Ae>=48&&Ae<=57}function me(Ae){return Ga(Ae,"/node_modules/")}}function ni(j,E,S){return G(),ts_Rename_exports.getRenameInfo(d,B(j),E,S||{})}function ri(j,E,S,J,m,ie){let[he,R]=typeof E=="number"?[E,void 0]:[E.pos,E.end];return{file:j,startPosition:he,endPosition:R,program:oe(),host:e,formatContext:ts_formatting_exports.getFormatContext(J,e),cancellationToken:x,preferences:S,triggerReason:m,kind:ie}}function na(j,E,S){return{file:j,program:oe(),host:e,span:E,preferences:S,cancellationToken:x}}function Pa(j,E){return ts_SmartSelectionRange_exports.getSmartSelectionRange(E,l.getCurrentSourceFile(j))}function br(j,E,S=emptyOptions,J,m,ie){G();let he=B(j);return ts_refactor_exports.getApplicableRefactors(ri(he,E,S,emptyOptions,J,m),ie)}function ii(j,E,S=emptyOptions){G();let J=B(j),m=M.checkDefined(d.getSourceFiles()),ie=Gc(j),he=Ka(m,me=>!(d!=null&&d.isSourceFileFromExternalLibrary(J))&&!(J===B(me.fileName)||ie===".ts"&&Gc(me.fileName)===".d.ts"||ie===".d.ts"&&Jn(h_(me.fileName),"lib.")&&Gc(me.fileName)===".d.ts")&&ie===Gc(me.fileName)?me.fileName:void 0);return{newFileName:createNewFileName(J,d,ri(J,E,S,emptyOptions),e),files:he}}function ai(j,E,S,J,m,ie=emptyOptions,he){G();let R=B(j);return ts_refactor_exports.getEditsForRefactor(ri(R,S,ie,E),J,m,he)}function ra(j,E){return E===0?{line:0,character:0}:A.toLineColumnOffset(j,E)}function Lr(j,E){G();let S=ts_CallHierarchy_exports.resolveCallHierarchyDeclaration(d,getTouchingPropertyName(B(j),E));return S&&mapOneOrMany(S,J=>ts_CallHierarchy_exports.createCallHierarchyItem(d,J))}function Nn(j,E){G();let S=B(j),J=firstOrOnly(ts_CallHierarchy_exports.resolveCallHierarchyDeclaration(d,E===0?S:getTouchingPropertyName(S,E)));return J?ts_CallHierarchy_exports.getIncomingCalls(d,J,x):[]}function Fe(j,E){G();let S=B(j),J=firstOrOnly(ts_CallHierarchy_exports.resolveCallHierarchyDeclaration(d,E===0?S:getTouchingPropertyName(S,E)));return J?ts_CallHierarchy_exports.getOutgoingCalls(d,J):[]}function ki(j,E,S=emptyOptions){G();let J=B(j);return ts_InlayHints_exports.provideInlayHints(na(J,E,S))}let wt={dispose:we,cleanupSemanticCache:se,getSyntacticDiagnostics:Ze,getSemanticDiagnostics:Ue,getSuggestionDiagnostics:rt,getCompilerOptionsDiagnostics:ct,getSyntacticClassifications:ut,getSemanticClassifications:dt,getEncodedSyntacticClassifications:Jt,getEncodedSemanticClassifications:Qn,getCompletionsAtPosition:Dn,getCompletionEntryDetails:sn,getCompletionEntrySymbol:ei,getSignatureHelpItems:Zt,getQuickInfoAtPosition:_n,getDefinitionAtPosition:$t,getDefinitionAndBoundSpan:jn,getImplementationAtPosition:fr,getTypeDefinitionAtPosition:Qt,getReferencesAtPosition:Yt,findReferences:Un,getFileReferences:qn,getDocumentHighlights:Bn,getNameOrDottedNameSpan:mt,getBreakpointStatementAtPosition:mr,getNavigateToItems:gt,getRenameInfo:ni,getSmartSelectionRange:Pa,findRenameLocations:dn,getNavigationBarItems:bt,getNavigationTree:cn,getOutliningSpans:ln,getTodoComments:gr,getBraceMatchingAtPosition:Mr,getIndentationAtPosition:ti,getFormattingEditsForRange:Wn,getFormattingEditsForDocument:hr,getFormattingEditsAfterKeystroke:Ci,getDocCommentTemplateAtPosition:Qe,isValidBraceCompletionAtPosition:ee,getJsxClosingTagAtPosition:Z,getLinkedEditingRangeAtPosition:ae,getSpanOfEnclosingComment:ta,getCodeFixesAtPosition:Ie,getCombinedCodeFix:H,applyCodeActionCommand:Ee,organizeImports:de,getEditsForFileRename:be,getEmitOutput:lt,getNonBoundSourceFile:zn,getProgram:oe,getCurrentProgram:()=>d,getAutoImportProvider:Q,updateIsDefinitionOfReferencedSymbols:W,getApplicableRefactors:br,getEditsForRefactor:ai,getMoveToRefactoringFileSuggestions:ii,toLineColumnOffset:ra,getSourceMapper:()=>A,clearSourceMapperCache:()=>A.clearCache(),prepareCallHierarchy:Lr,provideCallHierarchyIncomingCalls:Nn,provideCallHierarchyOutgoingCalls:Fe,toggleLineComment:Oe,toggleMultilineComment:We,commentSelection:Re,uncommentSelection:Rt,provideInlayHints:ki,getSupportedCodeFixes:E7};switch(s){case 0:break;case 1:ag.forEach(j=>wt[j]=()=>{throw new Error(`LanguageService Operation: ${j} not allowed in LanguageServiceMode.PartialSemantic`)});break;case 2:B7.forEach(j=>wt[j]=()=>{throw new Error(`LanguageService Operation: ${j} not allowed in LanguageServiceMode.Syntactic`)});break;default:M.assertNever(s)}return wt}function qj(e){return e.nameTable||zj(e),e.nameTable}function zj(e){let t=e.nameTable=new Map;e.forEachChild(function n(i){if(Ce(i)&&!isTagName(i)&&i.escapedText||Ki(i)&&Wj(i)){let s=Y4(i);t.set(s,t.get(s)===void 0?i.pos:-1)}else if(Ln(i)){let s=i.escapedText;t.set(s,t.get(s)===void 0?i.pos:-1)}if(qt(i,n),Ui(i))for(let s of i.jsDoc)qt(s,n)})}function Wj(e){return B4(e)||e.parent.kind===282||Kj(e)||U4(e)}function A7(e){let t=Vj(e);return t&&(ao(t.parent)||Ib(t.parent))?t:void 0}function Vj(e){switch(e.kind){case 11:case 15:case 9:if(e.parent.kind===166)return S0(e.parent.parent)?e.parent.parent:void 0;case 80:return S0(e.parent)&&(e.parent.parent.kind===209||e.parent.parent.kind===291)&&e.parent.name===e?e.parent:void 0}}function Hj(e,t){let n=A7(e);if(n){let i=t.getContextualType(n.parent),s=i&&D7(n,t,i,!1);if(s&&s.length===1)return cg(s)}return t.getSymbolAtLocation(e)}function D7(e,t,n,i){let s=getNameFromPropertyName(e.name);if(!s)return Xe;if(!n.isUnion()){let d=n.getProperty(s);return d?[d]:Xe}let l=Ka(n.types,d=>(ao(e.parent)||Ib(e.parent))&&t.isTypeInvalidDueToUnionDiscriminant(d,e.parent)?void 0:d.getProperty(s));if(i&&(l.length===0||l.length===n.types.length)){let d=n.getProperty(s);if(d)return[d]}return l.length===0?Ka(n.types,d=>d.getProperty(s)):l}function Kj(e){return e&&e.parent&&e.parent.kind===211&&e.parent.argumentExpression===e}function Gj(e){if(h0)return yn(Hi(sr(h0.getExecutingFilePath())),RT(e));throw new Error("getDefaultLibFilePath is only supported when consumed as a node module. ")}var P7,$f,Kd,N7,Kb,Qf,Yf,I7,O7,M7,L7,J7,R7,F7,j7,ag,B7,Xj=Ht({"src/services/services.ts"(){"use strict";U7(),g7(),b7(),v7(),h7(),Jj(),P7="0.8",$f=class{constructor(e,t,n){this.pos=t,this.end=n,this.flags=0,this.modifierFlagsCache=0,this.transformFlags=0,this.parent=void 0,this.kind=e}assertHasRealPosition(e){M.assert(!wa(this.pos)&&!wa(this.end),e||"Node must have a real position for this operation")}getSourceFile(){return Kr(this)}getStart(e,t){return this.assertHasRealPosition(),Qo(this,e,t)}getFullStart(){return this.assertHasRealPosition(),this.pos}getEnd(){return this.assertHasRealPosition(),this.end}getWidth(e){return this.assertHasRealPosition(),this.getEnd()-this.getStart(e)}getFullWidth(){return this.assertHasRealPosition(),this.end-this.pos}getLeadingTriviaWidth(e){return this.assertHasRealPosition(),this.getStart(e)-this.pos}getFullText(e){return this.assertHasRealPosition(),(e||this.getSourceFile()).text.substring(this.pos,this.end)}getText(e){return this.assertHasRealPosition(),e||(e=this.getSourceFile()),e.text.substring(this.getStart(e),this.getEnd())}getChildCount(e){return this.getChildren(e).length}getChildAt(e,t){return this.getChildren(t)[e]}getChildren(e){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=Rj(this,e))}getFirstToken(e){this.assertHasRealPosition();let t=this.getChildren(e);if(!t.length)return;let n=$n(t,i=>i.kind<315||i.kind>356);return n.kind<165?n:n.getFirstToken(e)}getLastToken(e){this.assertHasRealPosition();let t=this.getChildren(e),n=Ti(t);if(n)return n.kind<165?n:n.getLastToken(e)}forEachChild(e,t){return qt(this,e,t)}},Kd=class{constructor(e,t){this.pos=e,this.end=t,this.flags=0,this.modifierFlagsCache=0,this.transformFlags=0,this.parent=void 0}getSourceFile(){return Kr(this)}getStart(e,t){return Qo(this,e,t)}getFullStart(){return this.pos}getEnd(){return this.end}getWidth(e){return this.getEnd()-this.getStart(e)}getFullWidth(){return this.end-this.pos}getLeadingTriviaWidth(e){return this.getStart(e)-this.pos}getFullText(e){return(e||this.getSourceFile()).text.substring(this.pos,this.end)}getText(e){return e||(e=this.getSourceFile()),e.text.substring(this.getStart(e),this.getEnd())}getChildCount(){return this.getChildren().length}getChildAt(e){return this.getChildren()[e]}getChildren(){return this.kind===1&&this.jsDoc||Xe}getFirstToken(){}getLastToken(){}forEachChild(){}},N7=class{constructor(e,t){this.id=0,this.mergeId=0,this.flags=e,this.escapedName=t}getFlags(){return this.flags}get name(){return Of(this)}getEscapedName(){return this.escapedName}getName(){return this.name}getDeclarations(){return this.declarations}getDocumentationComment(e){if(!this.documentationComment)if(this.documentationComment=Xe,!this.declarations&&E0(this)&&this.links.target&&E0(this.links.target)&&this.links.target.links.tupleLabelDeclaration){let t=this.links.target.links.tupleLabelDeclaration;this.documentationComment=Wc([t],e)}else this.documentationComment=Wc(this.declarations,e);return this.documentationComment}getContextualDocumentationComment(e,t){if(e){if(Hc(e)&&(this.contextualGetAccessorDocumentationComment||(this.contextualGetAccessorDocumentationComment=Wc(Gn(this.declarations,Hc),t)),Ha(this.contextualGetAccessorDocumentationComment)))return this.contextualGetAccessorDocumentationComment;if(Vc(e)&&(this.contextualSetAccessorDocumentationComment||(this.contextualSetAccessorDocumentationComment=Wc(Gn(this.declarations,Vc),t)),Ha(this.contextualSetAccessorDocumentationComment)))return this.contextualSetAccessorDocumentationComment}return this.getDocumentationComment(t)}getJsDocTags(e){return this.tags===void 0&&(this.tags=Hd(this.declarations,e)),this.tags}getContextualJsDocTags(e,t){if(e){if(Hc(e)&&(this.contextualGetAccessorTags||(this.contextualGetAccessorTags=Hd(Gn(this.declarations,Hc),t)),Ha(this.contextualGetAccessorTags)))return this.contextualGetAccessorTags;if(Vc(e)&&(this.contextualSetAccessorTags||(this.contextualSetAccessorTags=Hd(Gn(this.declarations,Vc),t)),Ha(this.contextualSetAccessorTags)))return this.contextualSetAccessorTags}return this.getJsDocTags(t)}},Kb=class extends Kd{constructor(e,t,n){super(t,n),this.kind=e}},Qf=class extends Kd{constructor(e,t,n){super(t,n),this.kind=80}get text(){return Ot(this)}},Qf.prototype.kind=80,Yf=class extends Kd{constructor(e,t,n){super(t,n),this.kind=81}get text(){return Ot(this)}},Yf.prototype.kind=81,I7=class{constructor(e,t){this.checker=e,this.flags=t}getFlags(){return this.flags}getSymbol(){return this.symbol}getProperties(){return this.checker.getPropertiesOfType(this)}getProperty(e){return this.checker.getPropertyOfType(this,e)}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!!(tf(this)&3)}isClass(){return!!(tf(this)&1)}isIndexType(){return!!(this.flags&4194304)}get typeArguments(){if(tf(this)&4)return this.checker.getTypeArguments(this)}},O7=class{constructor(e,t){this.checker=e,this.flags=t}getDeclaration(){return this.declaration}getTypeParameters(){return this.typeParameters}getParameters(){return this.parameters}getReturnType(){return this.checker.getReturnTypeOfSignature(this)}getTypeParameterAtPosition(e){let t=this.checker.getParameterType(this,e);if(t.isIndexType()&&xS(t.type)){let n=t.type.getConstraint();if(n)return this.checker.getIndexType(n)}return t}getDocumentationComment(){return this.documentationComment||(this.documentationComment=Wc(ff(this.declaration),this.checker))}getJsDocTags(){return this.jsDocTags||(this.jsDocTags=Hd(ff(this.declaration),this.checker))}},M7=class extends $f{constructor(e,t,n){super(e,t,n),this.kind=311}update(e,t){return Vb(this,e,t)}getLineAndCharacterOfPosition(e){return Xa(this,e)}getLineStarts(){return xa(this)}getPositionOfLineAndCharacter(e,t,n){return wg(xa(this),e,t,this.text,n)}getLineEndOfPosition(e){let{line:t}=this.getLineAndCharacterOfPosition(e),n=this.getLineStarts(),i;t+1>=n.length&&(i=this.getEnd()),i||(i=n[t+1]-1);let s=this.getFullText();return s[i]===` -`&&s[i-1]==="\r"?i-1:i}getNamedDeclarations(){return this.namedDeclarations||(this.namedDeclarations=this.computeNamedDeclarations()),this.namedDeclarations}computeNamedDeclarations(){let e=nm();return this.forEachChild(s),e;function t(l){let d=i(l);d&&e.add(d,l)}function n(l){let d=e.get(l);return d||e.set(l,d=[]),d}function i(l){let d=ym(l);return d&&(Za(d)&&Rn(d.expression)?d.expression.name.text:Ml(d)?getNameFromPropertyName(d):void 0)}function s(l){switch(l.kind){case 261:case 217:case 173:case 172:let d=l,y=i(d);if(y){let h=n(y),D=Ti(h);D&&d.parent===D.parent&&d.symbol===D.symbol?d.body&&!D.body&&(h[h.length-1]=d):h.push(d)}qt(l,s);break;case 262:case 230:case 263:case 264:case 265:case 266:case 270:case 280:case 275:case 272:case 273:case 176:case 177:case 186:t(l),qt(l,s);break;case 168:if(!gn(l,16476))break;case 259:case 207:{let h=l;if(Sm(h.name)){qt(h.name,s);break}h.initializer&&s(h.initializer)}case 305:case 171:case 170:t(l);break;case 277:let p=l;p.exportClause&&(P8(p.exportClause)?hn(p.exportClause.elements,s):s(p.exportClause.name));break;case 271:let x=l.importClause;x&&(x.name&&t(x.name),x.namedBindings&&(x.namedBindings.kind===273?t(x.namedBindings):hn(x.namedBindings.elements,s)));break;case 225:Ca(l)!==0&&t(l);default:qt(l,s)}}}},L7=class{constructor(e,t,n){this.fileName=e,this.text=t,this.skipTrivia=n}getLineAndCharacterOfPosition(e){return Xa(this,e)}},J7=class{constructor(e){this.host=e}getCurrentSourceFile(e){var t,n,i,s,l,d,y,p;let x=this.host.getScriptSnapshot(e);if(!x)throw new Error("Could not find file: '"+e+"'.");let h=getScriptKind(e,this.host),D=this.host.getScriptVersion(e),w;if(this.currentFileName!==e){let g={languageVersion:99,impliedNodeFormat:getImpliedNodeFormatForFile(vi(e,this.host.getCurrentDirectory(),((i=(n=(t=this.host).getCompilerHost)==null?void 0:n.call(t))==null?void 0:i.getCanonicalFileName)||s3(this.host)),(p=(y=(d=(l=(s=this.host).getCompilerHost)==null?void 0:l.call(s))==null?void 0:d.getModuleResolutionCache)==null?void 0:y.call(d))==null?void 0:p.getPackageJsonInfoCache(),this.host,this.host.getCompilationSettings()),setExternalModuleIndicator:Z3(this.host.getCompilationSettings())};w=Hb(e,x,g,D,!0,h)}else if(this.currentFileVersion!==D){let g=x.getChangeRange(this.currentFileScriptSnapshot);w=k7(this.currentSourceFile,x,D,g)}return w&&(this.currentFileVersion=D,this.currentFileName=e,this.currentFileScriptSnapshot=x,this.currentSourceFile=w),this.currentSourceFile}},R7={isCancellationRequested:df,throwIfCancellationRequested:Nr},F7=class{constructor(e){this.cancellationToken=e}isCancellationRequested(){return this.cancellationToken.isCancellationRequested()}throwIfCancellationRequested(){var e;if(this.isCancellationRequested())throw(e=fa)==null||e.instant(fa.Phase.Session,"cancellationThrown",{kind:"CancellationTokenObject"}),new Sf}},j7=class{constructor(e,t=20){this.hostCancellationToken=e,this.throttleWaitMilliseconds=t,this.lastCancellationCheckTime=0}isCancellationRequested(){let e=da();return Math.abs(e-this.lastCancellationCheckTime)>=this.throttleWaitMilliseconds?(this.lastCancellationCheckTime=e,this.hostCancellationToken.isCancellationRequested()):!1}throwIfCancellationRequested(){var e;if(this.isCancellationRequested())throw(e=fa)==null||e.instant(fa.Phase.Session,"cancellationThrown",{kind:"ThrottledCancellationToken"}),new Sf}},ag=["getSemanticDiagnostics","getSuggestionDiagnostics","getCompilerOptionsDiagnostics","getSemanticClassifications","getEncodedSemanticClassifications","getCodeFixesAtPosition","getCombinedCodeFix","applyCodeActionCommand","organizeImports","getEditsForFileRename","getEmitOutput","getApplicableRefactors","getEditsForRefactor","prepareCallHierarchy","provideCallHierarchyIncomingCalls","provideCallHierarchyOutgoingCalls","provideInlayHints","getSupportedCodeFixes"],B7=[...ag,"getCompletionsAtPosition","getCompletionEntryDetails","getCompletionEntrySymbol","getSignatureHelpItems","getQuickInfoAtPosition","getDefinitionAtPosition","getDefinitionAndBoundSpan","getImplementationAtPosition","getTypeDefinitionAtPosition","getReferencesAtPosition","findReferences","getDocumentHighlights","getNavigateToItems","getRenameInfo","findRenameLocations","getApplicableRefactors"],K3(jj())}}),$j=()=>{},Qj=()=>{},Yj=()=>{},Zj=()=>{},eB=()=>{},tB=()=>{},nB=()=>{},rB=()=>{},iB=()=>{},aB=()=>{},oB=()=>{},sB=()=>{},_B=()=>{},cB=()=>{},lB=()=>{},uB=()=>{},pB=()=>{},dB=()=>{},fB=()=>{},U7=Ht({"src/services/_namespaces/ts.ts"(){"use strict";En(),m7(),Cj(),y7(),kj(),h7(),Aj(),Dj(),Pj(),Nj(),Ij(),Oj(),Mj(),Lj(),Xj(),$j(),Qj(),Yj(),Zj(),eB(),tB(),nB(),rB(),iB(),aB(),oB(),g7(),b7(),sB(),_B(),v7(),cB(),lB(),uB(),pB(),dB(),fB()}}),mB=()=>{},q7={};PC(q7,{ANONYMOUS:()=>ANONYMOUS,AccessFlags:()=>Fh,AssertionLevel:()=>_h,AssignmentDeclarationKind:()=>Kh,AssignmentKind:()=>z0,Associativity:()=>V0,BreakpointResolver:()=>ts_BreakpointResolver_exports,BuilderFileEmit:()=>BuilderFileEmit,BuilderProgramKind:()=>BuilderProgramKind,BuilderState:()=>BuilderState,BundleFileSectionKind:()=>f0,CallHierarchy:()=>ts_CallHierarchy_exports,CharacterCodes:()=>s0,CheckFlags:()=>Oh,CheckMode:()=>CheckMode,ClassificationType:()=>ClassificationType,ClassificationTypeNames:()=>ClassificationTypeNames,CommentDirectiveType:()=>yh,Comparison:()=>nh,CompletionInfoFlags:()=>CompletionInfoFlags,CompletionTriggerKind:()=>CompletionTriggerKind,Completions:()=>ts_Completions_exports,ConfigFileProgramReloadLevel:()=>ConfigFileProgramReloadLevel,ContextFlags:()=>wh,CoreServicesShimHostAdapter:()=>CoreServicesShimHostAdapter,Debug:()=>M,DiagnosticCategory:()=>Af,Diagnostics:()=>K,DocumentHighlights:()=>DocumentHighlights,ElementFlags:()=>Rh,EmitFlags:()=>Nf,EmitHint:()=>u0,EmitOnly:()=>bh,EndOfLineState:()=>EndOfLineState,EnumKind:()=>Ih,ExitStatus:()=>Th,ExportKind:()=>ExportKind,Extension:()=>_0,ExternalEmitHelpers:()=>l0,FileIncludeKind:()=>hh,FilePreprocessingDiagnosticsKind:()=>gh,FileSystemEntryKind:()=>FileSystemEntryKind,FileWatcherEventKind:()=>FileWatcherEventKind,FindAllReferences:()=>ts_FindAllReferences_exports,FlattenLevel:()=>FlattenLevel,FlowFlags:()=>ul,ForegroundColorEscapeSequences:()=>ForegroundColorEscapeSequences,FunctionFlags:()=>W0,GeneratedIdentifierFlags:()=>fh,GetLiteralTextFlags:()=>q0,GoToDefinition:()=>ts_GoToDefinition_exports,HighlightSpanKind:()=>HighlightSpanKind,ImportKind:()=>ImportKind,ImportsNotUsedAsValues:()=>t0,IndentStyle:()=>IndentStyle,IndexFlags:()=>jh,IndexKind:()=>qh,InferenceFlags:()=>Vh,InferencePriority:()=>Wh,InlayHintKind:()=>InlayHintKind,InlayHints:()=>ts_InlayHints_exports,InternalEmitFlags:()=>c0,InternalSymbolName:()=>Mh,InvalidatedProjectKind:()=>InvalidatedProjectKind,JsDoc:()=>ts_JsDoc_exports,JsTyping:()=>ts_JsTyping_exports,JsxEmit:()=>e0,JsxFlags:()=>dh,JsxReferenceKind:()=>Bh,LanguageServiceMode:()=>LanguageServiceMode,LanguageServiceShimHostAdapter:()=>LanguageServiceShimHostAdapter,LanguageVariant:()=>a0,LexicalEnvironmentFlags:()=>d0,ListFormat:()=>m0,LogLevel:()=>lh,MemberOverrideStatus:()=>xh,ModifierFlags:()=>Tf,ModuleDetectionKind:()=>Xh,ModuleInstanceState:()=>ModuleInstanceState,ModuleKind:()=>Zh,ModuleResolutionKind:()=>Gh,ModuleSpecifierEnding:()=>$0,NavigateTo:()=>ts_NavigateTo_exports,NavigationBar:()=>ts_NavigationBar_exports,NewLineKind:()=>n0,NodeBuilderFlags:()=>Eh,NodeCheckFlags:()=>Lh,NodeFactoryFlags:()=>Q0,NodeFlags:()=>vf,NodeResolutionFeatures:()=>NodeResolutionFeatures,ObjectFlags:()=>Cf,OperationCanceledException:()=>Sf,OperatorPrecedence:()=>H0,OrganizeImports:()=>ts_OrganizeImports_exports,OrganizeImportsMode:()=>OrganizeImportsMode,OuterExpressionKinds:()=>p0,OutliningElementsCollector:()=>ts_OutliningElementsCollector_exports,OutliningSpanKind:()=>OutliningSpanKind,OutputFileType:()=>OutputFileType,PackageJsonAutoImportPreference:()=>PackageJsonAutoImportPreference,PackageJsonDependencyGroup:()=>PackageJsonDependencyGroup,PatternMatchKind:()=>PatternMatchKind,PollingInterval:()=>PollingInterval,PollingWatchKind:()=>Yh,PragmaKindFlags:()=>y0,PrivateIdentifierKind:()=>PrivateIdentifierKind,ProcessLevel:()=>ProcessLevel,QuotePreference:()=>QuotePreference,RelationComparisonResult:()=>xf,Rename:()=>ts_Rename_exports,ScriptElementKind:()=>ScriptElementKind,ScriptElementKindModifier:()=>ScriptElementKindModifier,ScriptKind:()=>r0,ScriptSnapshot:()=>ScriptSnapshot,ScriptTarget:()=>i0,SemanticClassificationFormat:()=>SemanticClassificationFormat,SemanticMeaning:()=>SemanticMeaning,SemicolonPreference:()=>SemicolonPreference,SignatureCheckMode:()=>SignatureCheckMode,SignatureFlags:()=>kf,SignatureHelp:()=>ts_SignatureHelp_exports,SignatureKind:()=>Uh,SmartSelectionRange:()=>ts_SmartSelectionRange_exports,SnippetKind:()=>Pf,SortKind:()=>oh,StructureIsReused:()=>vh,SymbolAccessibility:()=>Ah,SymbolDisplay:()=>ts_SymbolDisplay_exports,SymbolDisplayPartKind:()=>SymbolDisplayPartKind,SymbolFlags:()=>wf,SymbolFormatFlags:()=>kh,SyntaxKind:()=>bf,SyntheticSymbolKind:()=>Dh,Ternary:()=>Hh,ThrottledCancellationToken:()=>j7,TokenClass:()=>TokenClass,TokenFlags:()=>mh,TransformFlags:()=>Df,TypeFacts:()=>TypeFacts,TypeFlags:()=>Ef,TypeFormatFlags:()=>Ch,TypeMapKind:()=>zh,TypePredicateKind:()=>Ph,TypeReferenceSerializationKind:()=>Nh,TypeScriptServicesFactory:()=>TypeScriptServicesFactory,UnionReduction:()=>Sh,UpToDateStatusType:()=>UpToDateStatusType,VarianceFlags:()=>Jh,Version:()=>Version,VersionRange:()=>VersionRange,WatchDirectoryFlags:()=>o0,WatchDirectoryKind:()=>Qh,WatchFileKind:()=>$h,WatchLogLevel:()=>WatchLogLevel,WatchType:()=>WatchType,accessPrivateIdentifier:()=>accessPrivateIdentifier,addEmitFlags:()=>addEmitFlags,addEmitHelper:()=>addEmitHelper,addEmitHelpers:()=>addEmitHelpers,addInternalEmitFlags:()=>addInternalEmitFlags,addNodeFactoryPatcher:()=>yL,addObjectAllocatorPatcher:()=>JO,addRange:()=>Mn,addRelatedInfo:()=>Xc,addSyntheticLeadingComment:()=>addSyntheticLeadingComment,addSyntheticTrailingComment:()=>addSyntheticTrailingComment,addToSeen:()=>SO,advancedAsyncSuperHelper:()=>advancedAsyncSuperHelper,affectsDeclarationPathOptionDeclarations:()=>affectsDeclarationPathOptionDeclarations,affectsEmitOptionDeclarations:()=>affectsEmitOptionDeclarations,allKeysStartWithDot:()=>allKeysStartWithDot,altDirectorySeparator:()=>Sg,and:()=>t5,append:()=>Tt,appendIfUnique:()=>Uv,arrayFrom:()=>tm,arrayIsEqualTo:()=>o9,arrayIsHomogeneous:()=>qM,arrayIsSorted:()=>i9,arrayOf:()=>v9,arrayReverseIterator:()=>l9,arrayToMap:()=>x9,arrayToMultiMap:()=>Hv,arrayToNumericMap:()=>S9,arraysEqual:()=>Lv,assertType:()=>r5,assign:()=>T9,assignHelper:()=>assignHelper,asyncDelegator:()=>asyncDelegator,asyncGeneratorHelper:()=>asyncGeneratorHelper,asyncSuperHelper:()=>asyncSuperHelper,asyncValues:()=>asyncValues,attachFileToDiagnostics:()=>za,awaitHelper:()=>awaitHelper,awaiterHelper:()=>awaiterHelper,base64decode:()=>VI,base64encode:()=>WI,binarySearch:()=>El,binarySearchKey:()=>Wv,bindSourceFile:()=>bindSourceFile,breakIntoCharacterSpans:()=>breakIntoCharacterSpans,breakIntoWordSpans:()=>breakIntoWordSpans,buildLinkParts:()=>buildLinkParts,buildOpts:()=>buildOpts,buildOverload:()=>buildOverload,bundlerModuleNameResolver:()=>bundlerModuleNameResolver,canBeConvertedToAsync:()=>canBeConvertedToAsync,canHaveDecorators:()=>i7,canHaveExportModifier:()=>nL,canHaveFlowNode:()=>dN,canHaveIllegalDecorators:()=>OR,canHaveIllegalModifiers:()=>MR,canHaveIllegalType:()=>IR,canHaveIllegalTypeParameters:()=>t7,canHaveJSDoc:()=>Om,canHaveLocals:()=>gA,canHaveModifiers:()=>R_,canHaveSymbol:()=>hA,canJsonReportNoInputFiles:()=>canJsonReportNoInputFiles,canProduceDiagnostics:()=>canProduceDiagnostics,canUsePropertyAccess:()=>rL,canWatchAffectingLocation:()=>canWatchAffectingLocation,canWatchAtTypes:()=>canWatchAtTypes,canWatchDirectoryOrFile:()=>canWatchDirectoryOrFile,cartesianProduct:()=>a5,cast:()=>mi,chainBundle:()=>chainBundle,chainDiagnosticMessages:()=>Kc,changeAnyExtension:()=>dT,changeCompilerHostLikeToUseCache:()=>changeCompilerHostLikeToUseCache,changeExtension:()=>EM,changesAffectModuleResolution:()=>FA,changesAffectingProgramStructure:()=>jA,childIsDecorated:()=>l2,classElementOrClassElementParameterIsDecorated:()=>JP,classOrConstructorParameterIsDecorated:()=>LP,classPrivateFieldGetHelper:()=>classPrivateFieldGetHelper,classPrivateFieldInHelper:()=>classPrivateFieldInHelper,classPrivateFieldSetHelper:()=>classPrivateFieldSetHelper,classicNameResolver:()=>classicNameResolver,classifier:()=>ts_classifier_exports,cleanExtendedConfigCache:()=>cleanExtendedConfigCache,clear:()=>BC,clearMap:()=>hO,clearSharedExtendedConfigFileWatcher:()=>clearSharedExtendedConfigFileWatcher,climbPastPropertyAccess:()=>climbPastPropertyAccess,climbPastPropertyOrElementAccess:()=>climbPastPropertyOrElementAccess,clone:()=>C9,cloneCompilerOptions:()=>cloneCompilerOptions,closeFileWatcher:()=>lO,closeFileWatcherOf:()=>closeFileWatcherOf,codefix:()=>ts_codefix_exports,collapseTextChangeRangesAcrossMultipleVersions:()=>tk,collectExternalModuleInfo:()=>collectExternalModuleInfo,combine:()=>c9,combinePaths:()=>yn,commentPragmas:()=>om,commonOptionsWithBuild:()=>commonOptionsWithBuild,commonPackageFolders:()=>G0,compact:()=>s9,compareBooleans:()=>V9,compareDataObjects:()=>q3,compareDiagnostics:()=>q2,compareDiagnosticsSkipRelatedInformation:()=>Uf,compareEmitHelpers:()=>compareEmitHelpers,compareNumberOfDirectorySeparators:()=>wM,comparePaths:()=>N5,comparePathsCaseInsensitive:()=>P5,comparePathsCaseSensitive:()=>D5,comparePatternKeys:()=>comparePatternKeys,compareProperties:()=>W9,compareStringsCaseInsensitive:()=>rm,compareStringsCaseInsensitiveEslintCompatible:()=>U9,compareStringsCaseSensitive:()=>xi,compareStringsCaseSensitiveUI:()=>z9,compareTextSpans:()=>j9,compareValues:()=>wn,compileOnSaveCommandLineOption:()=>compileOnSaveCommandLineOption,compilerOptionsAffectDeclarationPath:()=>aM,compilerOptionsAffectEmit:()=>iM,compilerOptionsAffectSemanticDiagnostics:()=>rM,compilerOptionsDidYouMeanDiagnostics:()=>compilerOptionsDidYouMeanDiagnostics,compilerOptionsIndicateEsModules:()=>compilerOptionsIndicateEsModules,compose:()=>F9,computeCommonSourceDirectoryOfFilenames:()=>computeCommonSourceDirectoryOfFilenames,computeLineAndCharacterOfPosition:()=>Eg,computeLineOfPosition:()=>a_,computeLineStarts:()=>cm,computePositionOfLineAndCharacter:()=>wg,computeSignature:()=>computeSignature,computeSignatureWithDiagnostics:()=>computeSignatureWithDiagnostics,computeSuggestionDiagnostics:()=>computeSuggestionDiagnostics,concatenate:()=>d_,concatenateDiagnosticMessageChains:()=>BO,consumesNodeCoreModules:()=>consumesNodeCoreModules,contains:()=>ns,containsIgnoredPath:()=>bS,containsObjectRestOrSpread:()=>Wb,containsParseError:()=>ml,containsPath:()=>fT,convertCompilerOptionsForTelemetry:()=>convertCompilerOptionsForTelemetry,convertCompilerOptionsFromJson:()=>convertCompilerOptionsFromJson,convertJsonOption:()=>convertJsonOption,convertToBase64:()=>M3,convertToJson:()=>convertToJson,convertToObject:()=>convertToObject,convertToOptionsWithAbsolutePaths:()=>convertToOptionsWithAbsolutePaths,convertToRelativePath:()=>O5,convertToTSConfig:()=>convertToTSConfig,convertTypeAcquisitionFromJson:()=>convertTypeAcquisitionFromJson,copyComments:()=>copyComments,copyEntries:()=>zA,copyLeadingComments:()=>copyLeadingComments,copyProperties:()=>A9,copyTrailingAsLeadingComments:()=>copyTrailingAsLeadingComments,copyTrailingComments:()=>copyTrailingComments,couldStartTrivia:()=>U5,countWhere:()=>FC,createAbstractBuilder:()=>createAbstractBuilder,createAccessorPropertyBackingField:()=>pF,createAccessorPropertyGetRedirector:()=>dF,createAccessorPropertySetRedirector:()=>fF,createBaseNodeFactory:()=>QS,createBinaryExpressionTrampoline:()=>aF,createBindingHelper:()=>createBindingHelper,createBuildInfo:()=>createBuildInfo,createBuilderProgram:()=>createBuilderProgram,createBuilderProgramUsingProgramBuildInfo:()=>createBuilderProgramUsingProgramBuildInfo,createBuilderStatusReporter:()=>createBuilderStatusReporter,createCacheWithRedirects:()=>createCacheWithRedirects,createCacheableExportInfoMap:()=>createCacheableExportInfoMap,createCachedDirectoryStructureHost:()=>createCachedDirectoryStructureHost,createClassifier:()=>createClassifier,createCommentDirectivesMap:()=>fD,createCompilerDiagnostic:()=>al,createCompilerDiagnosticForInvalidCustomType:()=>createCompilerDiagnosticForInvalidCustomType,createCompilerDiagnosticFromMessageChain:()=>jO,createCompilerHost:()=>createCompilerHost,createCompilerHostFromProgramHost:()=>createCompilerHostFromProgramHost,createCompilerHostWorker:()=>createCompilerHostWorker,createDetachedDiagnostic:()=>No,createDiagnosticCollection:()=>QN,createDiagnosticForFileFromMessageChain:()=>VD,createDiagnosticForNode:()=>UD,createDiagnosticForNodeArray:()=>qD,createDiagnosticForNodeArrayFromMessageChain:()=>WD,createDiagnosticForNodeFromMessageChain:()=>zD,createDiagnosticForNodeInSourceFile:()=>o4,createDiagnosticForRange:()=>KD,createDiagnosticMessageChainFromDiagnostic:()=>HD,createDiagnosticReporter:()=>createDiagnosticReporter,createDocumentPositionMapper:()=>createDocumentPositionMapper,createDocumentRegistry:()=>createDocumentRegistry,createDocumentRegistryInternal:()=>createDocumentRegistryInternal,createEmitAndSemanticDiagnosticsBuilderProgram:()=>createEmitAndSemanticDiagnosticsBuilderProgram,createEmitHelperFactory:()=>createEmitHelperFactory,createEmptyExports:()=>oR,createExpressionForJsxElement:()=>_R,createExpressionForJsxFragment:()=>cR,createExpressionForObjectLiteralElementLike:()=>yR,createExpressionForPropertyName:()=>W8,createExpressionFromEntityName:()=>z8,createExternalHelpersImportDeclarationIfNeeded:()=>ER,createFileDiagnostic:()=>U2,createFileDiagnosticFromMessageChain:()=>t2,createForOfBindingStatement:()=>lR,createGetCanonicalFileName:()=>im,createGetSourceFile:()=>createGetSourceFile,createGetSymbolAccessibilityDiagnosticForNode:()=>createGetSymbolAccessibilityDiagnosticForNode,createGetSymbolAccessibilityDiagnosticForNodeName:()=>createGetSymbolAccessibilityDiagnosticForNodeName,createGetSymbolWalker:()=>createGetSymbolWalker,createIncrementalCompilerHost:()=>createIncrementalCompilerHost,createIncrementalProgram:()=>createIncrementalProgram,createInputFiles:()=>wL,createInputFilesWithFilePaths:()=>e8,createInputFilesWithFileTexts:()=>t8,createJsxFactoryExpression:()=>q8,createLanguageService:()=>Uj,createLanguageServiceSourceFile:()=>Hb,createMemberAccessForPropertyName:()=>n1,createModeAwareCache:()=>createModeAwareCache,createModeAwareCacheKey:()=>createModeAwareCacheKey,createModuleNotFoundChain:()=>QA,createModuleResolutionCache:()=>createModuleResolutionCache,createModuleResolutionLoader:()=>createModuleResolutionLoader,createModuleSpecifierResolutionHost:()=>createModuleSpecifierResolutionHost,createMultiMap:()=>nm,createNodeConverters:()=>YS,createNodeFactory:()=>Vf,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:()=>ZM,createQueue:()=>N9,createRange:()=>Bm,createRedirectedBuilderProgram:()=>createRedirectedBuilderProgram,createResolutionCache:()=>createResolutionCache,createRuntimeTypeSerializer:()=>createRuntimeTypeSerializer,createScanner:()=>as,createSemanticDiagnosticsBuilderProgram:()=>createSemanticDiagnosticsBuilderProgram,createSet:()=>I9,createSolutionBuilder:()=>createSolutionBuilder,createSolutionBuilderHost:()=>createSolutionBuilderHost,createSolutionBuilderWithWatch:()=>createSolutionBuilderWithWatch,createSolutionBuilderWithWatchHost:()=>createSolutionBuilderWithWatchHost,createSortedArray:()=>r9,createSourceFile:()=>_7,createSourceMapGenerator:()=>createSourceMapGenerator,createSourceMapSource:()=>EL,createSuperAccessVariableStatement:()=>createSuperAccessVariableStatement,createSymbolTable:()=>JA,createSymlinkCache:()=>lM,createSystemWatchFunctions:()=>createSystemWatchFunctions,createTextChange:()=>createTextChange,createTextChangeFromStartLength:()=>createTextChangeFromStartLength,createTextChangeRange:()=>pm,createTextRangeFromNode:()=>createTextRangeFromNode,createTextRangeFromSpan:()=>createTextRangeFromSpan,createTextSpan:()=>v_,createTextSpanFromBounds:()=>zi,createTextSpanFromNode:()=>createTextSpanFromNode,createTextSpanFromRange:()=>createTextSpanFromRange,createTextSpanFromStringLiteralLikeContent:()=>createTextSpanFromStringLiteralLikeContent,createTextWriter:()=>aI,createTokenRange:()=>$I,createTypeChecker:()=>createTypeChecker,createTypeReferenceDirectiveResolutionCache:()=>createTypeReferenceDirectiveResolutionCache,createTypeReferenceResolutionLoader:()=>createTypeReferenceResolutionLoader,createUnparsedSourceFile:()=>TL,createWatchCompilerHost:()=>createWatchCompilerHost2,createWatchCompilerHostOfConfigFile:()=>createWatchCompilerHostOfConfigFile,createWatchCompilerHostOfFilesAndCompilerOptions:()=>createWatchCompilerHostOfFilesAndCompilerOptions,createWatchFactory:()=>createWatchFactory,createWatchHost:()=>createWatchHost,createWatchProgram:()=>createWatchProgram,createWatchStatusReporter:()=>createWatchStatusReporter,createWriteFileMeasuringIO:()=>createWriteFileMeasuringIO,declarationNameToString:()=>a4,decodeMappings:()=>decodeMappings,decodedTextSpanIntersectsWith:()=>Dg,decorateHelper:()=>decorateHelper,deduplicate:()=>jv,defaultIncludeSpec:()=>defaultIncludeSpec,defaultInitCompilerOptions:()=>defaultInitCompilerOptions,defaultMaximumTruncationLength:()=>DS,detectSortCaseSensitivity:()=>a9,diagnosticCategoryName:()=>b5,diagnosticToString:()=>diagnosticToString,directoryProbablyExists:()=>J3,directorySeparator:()=>_r,displayPart:()=>displayPart,displayPartsToString:()=>Bj,disposeEmitNodes:()=>disposeEmitNodes,documentSpansEqual:()=>documentSpansEqual,dumpTracingLegend:()=>dumpTracingLegend,elementAt:()=>oT,elideNodes:()=>_F,emitComments:()=>b3,emitDetachedComments:()=>SI,emitFiles:()=>emitFiles,emitFilesAndReportErrors:()=>emitFilesAndReportErrors,emitFilesAndReportErrorsAndGetExitStatus:()=>emitFilesAndReportErrorsAndGetExitStatus,emitModuleKindIsNonNodeESM:()=>WO,emitNewLineBeforeLeadingCommentOfPosition:()=>xI,emitNewLineBeforeLeadingComments:()=>h3,emitNewLineBeforeLeadingCommentsOfPosition:()=>g3,emitSkippedWithNoDiagnostics:()=>emitSkippedWithNoDiagnostics,emitUsingBuildInfo:()=>emitUsingBuildInfo,emptyArray:()=>Xe,emptyFileSystemEntries:()=>$S,emptyMap:()=>mg,emptyOptions:()=>emptyOptions,emptySet:()=>aT,endsWith:()=>rs,ensurePathIsNonModuleName:()=>bg,ensureScriptKind:()=>oS,ensureTrailingDirectorySeparator:()=>Ko,entityNameToString:()=>hi,enumerateInsertsAndDeletes:()=>i5,equalOwnProperties:()=>Vv,equateStringsCaseInsensitive:()=>i_,equateStringsCaseSensitive:()=>Cl,equateValues:()=>to,esDecorateHelper:()=>esDecorateHelper,escapeJsxAttributeString:()=>a3,escapeLeadingUnderscores:()=>Ur,escapeNonAsciiString:()=>jf,escapeSnippetText:()=>YM,escapeString:()=>Ff,every:()=>eo,expandPreOrPostfixIncrementOrDecrementExpression:()=>hR,explainFiles:()=>explainFiles,explainIfFileIsRedirectAndImpliedFormat:()=>explainIfFileIsRedirectAndImpliedFormat,exportAssignmentIsAlias:()=>I0,exportStarHelper:()=>exportStarHelper,expressionResultIsUnused:()=>HM,extend:()=>k9,extendsHelper:()=>extendsHelper,extensionFromPath:()=>Gc,extensionIsTS:()=>fS,extensionsNotSupportingExtensionlessResolution:()=>Wm,externalHelpersModuleNameText:()=>zm,factory:()=>Dr,fileExtensionIs:()=>Ea,fileExtensionIsOneOf:()=>Wr,fileIncludeReasonToDiagnostics:()=>fileIncludeReasonToDiagnostics,fileShouldUseJavaScriptRequire:()=>fileShouldUseJavaScriptRequire,filter:()=>Gn,filterMutate:()=>jC,filterSemanticDiagnostics:()=>filterSemanticDiagnostics,find:()=>$n,findAncestor:()=>Xr,findBestPatternMatch:()=>tT,findChildOfKind:()=>findChildOfKind,findComputedPropertyNameCacheAssignment:()=>mF,findConfigFile:()=>findConfigFile,findContainingList:()=>findContainingList,findDiagnosticForNode:()=>findDiagnosticForNode,findFirstNonJsxWhitespaceToken:()=>findFirstNonJsxWhitespaceToken,findIndex:()=>el,findLast:()=>sg,findLastIndex:()=>JC,findListItemInfo:()=>findListItemInfo,findMap:()=>RC,findModifier:()=>findModifier,findNextToken:()=>findNextToken,findPackageJson:()=>findPackageJson,findPackageJsons:()=>findPackageJsons,findPrecedingMatchingToken:()=>findPrecedingMatchingToken,findPrecedingToken:()=>findPrecedingToken,findSuperStatementIndex:()=>findSuperStatementIndex,findTokenOnLeftOfPosition:()=>findTokenOnLeftOfPosition,findUseStrictPrologue:()=>H8,first:()=>cg,firstDefined:()=>og,firstDefinedIterator:()=>OC,firstIterator:()=>d9,firstOrOnly:()=>firstOrOnly,firstOrUndefined:()=>f_,firstOrUndefinedIterator:()=>p9,fixupCompilerOptions:()=>fixupCompilerOptions,flatMap:()=>Wo,flatMapIterator:()=>zC,flatMapToMutable:()=>Rv,flatten:()=>r_,flattenCommaList:()=>hF,flattenDestructuringAssignment:()=>flattenDestructuringAssignment,flattenDestructuringBinding:()=>flattenDestructuringBinding,flattenDiagnosticMessageText:()=>flattenDiagnosticMessageText,forEach:()=>hn,forEachAncestor:()=>BA,forEachAncestorDirectory:()=>yT,forEachChild:()=>qt,forEachChildRecursively:()=>rg,forEachEmittedFile:()=>forEachEmittedFile,forEachEnclosingBlockScopeContainer:()=>RD,forEachEntry:()=>UA,forEachExternalModuleToImportFrom:()=>forEachExternalModuleToImportFrom,forEachImportClauseDeclaration:()=>_N,forEachKey:()=>qA,forEachLeadingCommentRange:()=>q5,forEachNameInAccessChainWalkingLeft:()=>AO,forEachPropertyAssignment:()=>_2,forEachResolvedProjectReference:()=>forEachResolvedProjectReference,forEachReturnStatement:()=>iP,forEachRight:()=>IC,forEachTrailingCommentRange:()=>z5,forEachTsConfigPropArray:()=>d4,forEachUnique:()=>forEachUnique,forEachYieldExpression:()=>aP,forSomeAncestorDirectory:()=>vO,formatColorAndReset:()=>formatColorAndReset,formatDiagnostic:()=>formatDiagnostic,formatDiagnostics:()=>formatDiagnostics,formatDiagnosticsWithColorAndContext:()=>formatDiagnosticsWithColorAndContext,formatGeneratedName:()=>Gf,formatGeneratedNamePart:()=>ng,formatLocation:()=>formatLocation,formatMessage:()=>FO,formatStringFromArgs:()=>C_,formatting:()=>ts_formatting_exports,fullTripleSlashAMDReferencePathRegEx:()=>tb,fullTripleSlashReferencePathRegEx:()=>eb,generateDjb2Hash:()=>generateDjb2Hash,generateTSConfig:()=>generateTSConfig,generatorHelper:()=>generatorHelper,getAdjustedReferenceLocation:()=>getAdjustedReferenceLocation,getAdjustedRenameLocation:()=>getAdjustedRenameLocation,getAliasDeclarationFromName:()=>q4,getAllAccessorDeclarations:()=>O2,getAllDecoratorsOfClass:()=>getAllDecoratorsOfClass,getAllDecoratorsOfClassElement:()=>getAllDecoratorsOfClassElement,getAllJSDocTags:()=>px,getAllJSDocTagsOfKind:()=>hk,getAllKeys:()=>g9,getAllProjectOutputs:()=>getAllProjectOutputs,getAllSuperTypeNodes:()=>K4,getAllUnscopedEmitHelpers:()=>getAllUnscopedEmitHelpers,getAllowJSCompilerOption:()=>nS,getAllowSyntheticDefaultImports:()=>$O,getAncestor:()=>PN,getAnyExtensionFromPath:()=>If,getAreDeclarationMapsEnabled:()=>XO,getAssignedExpandoInitializer:()=>$P,getAssignedName:()=>$T,getAssignmentDeclarationKind:()=>Ca,getAssignmentDeclarationPropertyAccessKind:()=>k4,getAssignmentTargetKind:()=>R4,getAutomaticTypeDirectiveNames:()=>getAutomaticTypeDirectiveNames,getBaseFileName:()=>h_,getBinaryOperatorPrecedence:()=>il,getBuildInfo:()=>getBuildInfo,getBuildInfoFileVersionMap:()=>getBuildInfoFileVersionMap,getBuildInfoText:()=>getBuildInfoText,getBuildOrderFromAnyBuildOrder:()=>getBuildOrderFromAnyBuildOrder,getBuilderCreationParameters:()=>getBuilderCreationParameters,getBuilderFileEmit:()=>getBuilderFileEmit,getCheckFlags:()=>U3,getClassExtendsHeritageElement:()=>V4,getClassLikeDeclarationOfSymbol:()=>W3,getCombinedLocalAndExportSymbolFlags:()=>dO,getCombinedModifierFlags:()=>dm,getCombinedNodeFlags:()=>fm,getCombinedNodeFlagsAlwaysIncludeJSDoc:()=>rk,getCommentRange:()=>getCommentRange,getCommonSourceDirectory:()=>getCommonSourceDirectory,getCommonSourceDirectoryOfConfig:()=>getCommonSourceDirectoryOfConfig,getCompilerOptionValue:()=>U0,getCompilerOptionsDiffValue:()=>getCompilerOptionsDiffValue,getConditions:()=>getConditions,getConfigFileParsingDiagnostics:()=>getConfigFileParsingDiagnostics,getConstantValue:()=>getConstantValue,getContainerNode:()=>getContainerNode,getContainingClass:()=>TP,getContainingClassStaticBlock:()=>xP,getContainingFunction:()=>bP,getContainingFunctionDeclaration:()=>vP,getContainingFunctionOrClassStaticBlock:()=>SP,getContainingNodeArray:()=>KM,getContainingObjectLiteralElement:()=>A7,getContextualTypeFromParent:()=>getContextualTypeFromParent,getContextualTypeFromParentOrAncestorTypeNode:()=>getContextualTypeFromParentOrAncestorTypeNode,getCurrentTime:()=>getCurrentTime,getDeclarationDiagnostics:()=>getDeclarationDiagnostics,getDeclarationEmitExtensionForPath:()=>l3,getDeclarationEmitOutputFilePath:()=>cI,getDeclarationEmitOutputFilePathWorker:()=>c3,getDeclarationFromName:()=>CN,getDeclarationModifierFlagsFromSymbol:()=>uO,getDeclarationOfKind:()=>MA,getDeclarationsOfKind:()=>LA,getDeclaredExpandoInitializer:()=>GP,getDecorators:()=>ak,getDefaultCompilerOptions:()=>w7,getDefaultExportInfoWorker:()=>getDefaultExportInfoWorker,getDefaultFormatCodeSettings:()=>getDefaultFormatCodeSettings,getDefaultLibFileName:()=>RT,getDefaultLibFilePath:()=>Gj,getDefaultLikeExportInfo:()=>getDefaultLikeExportInfo,getDiagnosticText:()=>getDiagnosticText,getDiagnosticsWithinSpan:()=>getDiagnosticsWithinSpan,getDirectoryPath:()=>Hi,getDirectoryToWatchFailedLookupLocation:()=>getDirectoryToWatchFailedLookupLocation,getDirectoryToWatchFailedLookupLocationFromTypeRoot:()=>getDirectoryToWatchFailedLookupLocationFromTypeRoot,getDocumentPositionMapper:()=>getDocumentPositionMapper,getESModuleInterop:()=>W2,getEditsForFileRename:()=>getEditsForFileRename,getEffectiveBaseTypeNode:()=>W4,getEffectiveConstraintOfTypeParameter:()=>Tk,getEffectiveContainerForJSDocTemplateTag:()=>mN,getEffectiveImplementsTypeNodes:()=>H4,getEffectiveInitializer:()=>S4,getEffectiveJSDocHost:()=>v2,getEffectiveModifierFlags:()=>Fm,getEffectiveModifierFlagsAlwaysIncludeJSDoc:()=>E3,getEffectiveModifierFlagsNoCache:()=>k3,getEffectiveReturnTypeNode:()=>bI,getEffectiveSetAccessorTypeAnnotationNode:()=>TI,getEffectiveTypeAnnotationNode:()=>M2,getEffectiveTypeParameterDeclarations:()=>vk,getEffectiveTypeRoots:()=>getEffectiveTypeRoots,getElementOrPropertyAccessArgumentExpressionOrName:()=>Im,getElementOrPropertyAccessName:()=>Ya,getElementsOfBindingOrAssignmentPattern:()=>e7,getEmitDeclarations:()=>H2,getEmitFlags:()=>Vr,getEmitHelpers:()=>getEmitHelpers,getEmitModuleDetectionKind:()=>eS,getEmitModuleKind:()=>Gr,getEmitModuleResolutionKind:()=>A_,getEmitScriptTarget:()=>Um,getEnclosingBlockScopeContainer:()=>C0,getEncodedSemanticClassifications:()=>getEncodedSemanticClassifications,getEncodedSyntacticClassifications:()=>getEncodedSyntacticClassifications,getEndLinePosition:()=>Hx,getEntityNameFromTypeNode:()=>OP,getEntrypointsFromPackageJsonInfo:()=>getEntrypointsFromPackageJsonInfo,getErrorCountForSummary:()=>getErrorCountForSummary,getErrorSpanForNode:()=>n2,getErrorSummaryText:()=>getErrorSummaryText,getEscapedTextOfIdentifierOrLiteral:()=>Y4,getEscapedTextOfJsxAttributeName:()=>_L,getEscapedTextOfJsxNamespacedName:()=>Ul,getExpandoInitializer:()=>x_,getExportAssignmentExpression:()=>z4,getExportInfoMap:()=>getExportInfoMap,getExportNeedsImportStarHelper:()=>getExportNeedsImportStarHelper,getExpressionAssociativity:()=>GN,getExpressionPrecedence:()=>XN,getExternalHelpersModuleName:()=>X8,getExternalModuleImportEqualsDeclarationExpression:()=>FP,getExternalModuleName:()=>h2,getExternalModuleNameFromDeclaration:()=>sI,getExternalModuleNameFromPath:()=>D2,getExternalModuleNameLiteral:()=>kR,getExternalModuleRequireArgument:()=>jP,getFallbackOptions:()=>getFallbackOptions,getFileEmitOutput:()=>getFileEmitOutput,getFileMatcherPatterns:()=>aS,getFileNamesFromConfigSpecs:()=>getFileNamesFromConfigSpecs,getFileWatcherEventKind:()=>getFileWatcherEventKind,getFilesInErrorForSummary:()=>getFilesInErrorForSummary,getFirstConstructorWithBody:()=>d3,getFirstIdentifier:()=>MI,getFirstNonSpaceCharacterPosition:()=>getFirstNonSpaceCharacterPosition,getFirstProjectOutput:()=>getFirstProjectOutput,getFixableErrorSpanExpression:()=>getFixableErrorSpanExpression,getFormatCodeSettingsForWriting:()=>getFormatCodeSettingsForWriting,getFullWidth:()=>Em,getFunctionFlags:()=>JN,getHeritageClause:()=>Mm,getHostSignatureFromJSDoc:()=>b2,getIdentifierAutoGenerate:()=>getIdentifierAutoGenerate,getIdentifierGeneratedImportReference:()=>getIdentifierGeneratedImportReference,getIdentifierTypeArguments:()=>getIdentifierTypeArguments,getImmediatelyInvokedFunctionExpression:()=>AP,getImpliedNodeFormatForFile:()=>getImpliedNodeFormatForFile,getImpliedNodeFormatForFileWorker:()=>getImpliedNodeFormatForFileWorker,getImportNeedsImportDefaultHelper:()=>getImportNeedsImportDefaultHelper,getImportNeedsImportStarHelper:()=>getImportNeedsImportStarHelper,getIndentSize:()=>Bo,getIndentString:()=>k2,getInferredLibraryNameResolveFrom:()=>getInferredLibraryNameResolveFrom,getInitializedVariables:()=>_O,getInitializerOfBinaryExpression:()=>A4,getInitializerOfBindingOrAssignmentElement:()=>Y8,getInterfaceBaseTypeNodes:()=>G4,getInternalEmitFlags:()=>bD,getInvokedExpression:()=>MP,getIsolatedModules:()=>z2,getJSDocAugmentsTag:()=>nx,getJSDocClassTag:()=>sk,getJSDocCommentRanges:()=>c4,getJSDocCommentsAndTags:()=>M4,getJSDocDeprecatedTag:()=>pk,getJSDocDeprecatedTagNoCache:()=>cx,getJSDocEnumTag:()=>dk,getJSDocHost:()=>J4,getJSDocImplementsTags:()=>rx,getJSDocOverrideTagNoCache:()=>_x,getJSDocParameterTags:()=>hm,getJSDocParameterTagsNoCache:()=>YT,getJSDocPrivateTag:()=>ck,getJSDocPrivateTagNoCache:()=>ax,getJSDocProtectedTag:()=>lk,getJSDocProtectedTagNoCache:()=>ox,getJSDocPublicTag:()=>_k,getJSDocPublicTagNoCache:()=>ix,getJSDocReadonlyTag:()=>uk,getJSDocReadonlyTagNoCache:()=>sx,getJSDocReturnTag:()=>lx,getJSDocReturnType:()=>ux,getJSDocRoot:()=>T2,getJSDocSatisfiesExpressionType:()=>sL,getJSDocSatisfiesTag:()=>Ng,getJSDocTags:()=>Il,getJSDocTagsNoCache:()=>yk,getJSDocTemplateTag:()=>mk,getJSDocThisTag:()=>fk,getJSDocType:()=>bm,getJSDocTypeAliasName:()=>tg,getJSDocTypeAssertionType:()=>TR,getJSDocTypeParameterDeclarations:()=>y3,getJSDocTypeParameterTags:()=>ex,getJSDocTypeParameterTagsNoCache:()=>tx,getJSDocTypeTag:()=>gm,getJSXImplicitImportBase:()=>sM,getJSXRuntimeImport:()=>_M,getJSXTransformEnabled:()=>oM,getKeyForCompilerOptions:()=>getKeyForCompilerOptions,getLanguageVariant:()=>B0,getLastChild:()=>V3,getLeadingCommentRanges:()=>Go,getLeadingCommentRangesOfNode:()=>nP,getLeftmostAccessExpression:()=>B2,getLeftmostExpression:()=>DO,getLineAndCharacterOfPosition:()=>Xa,getLineInfo:()=>getLineInfo,getLineOfLocalPosition:()=>mI,getLineOfLocalPositionFromLineMap:()=>ya,getLineStartPositionForPosition:()=>getLineStartPositionForPosition,getLineStarts:()=>xa,getLinesBetweenPositionAndNextNonWhitespaceCharacter:()=>aO,getLinesBetweenPositionAndPrecedingNonWhitespaceCharacter:()=>iO,getLinesBetweenPositions:()=>b_,getLinesBetweenRangeEndAndRangeStart:()=>tO,getLinesBetweenRangeEndPositions:()=>nO,getLiteralText:()=>vD,getLocalNameForExternalImport:()=>CR,getLocalSymbolForExportDefault:()=>jI,getLocaleSpecificMessage:()=>k_,getLocaleTimeString:()=>getLocaleTimeString,getMappedContextSpan:()=>getMappedContextSpan,getMappedDocumentSpan:()=>getMappedDocumentSpan,getMappedLocation:()=>getMappedLocation,getMatchedFileSpec:()=>getMatchedFileSpec,getMatchedIncludeSpec:()=>getMatchedIncludeSpec,getMeaningFromDeclaration:()=>getMeaningFromDeclaration,getMeaningFromLocation:()=>getMeaningFromLocation,getMembersOfDeclaration:()=>sP,getModeForFileReference:()=>getModeForFileReference,getModeForResolutionAtIndex:()=>getModeForResolutionAtIndex,getModeForUsageLocation:()=>getModeForUsageLocation,getModifiedTime:()=>getModifiedTime,getModifiers:()=>Mf,getModuleInstanceState:()=>getModuleInstanceState,getModuleNameStringLiteralAt:()=>getModuleNameStringLiteralAt,getModuleSpecifierEndingPreference:()=>TM,getModuleSpecifierResolverHost:()=>getModuleSpecifierResolverHost,getNameForExportedSymbol:()=>getNameForExportedSymbol,getNameFromIndexInfo:()=>FD,getNameFromPropertyName:()=>getNameFromPropertyName,getNameOfAccessExpression:()=>EO,getNameOfCompilerOptionValue:()=>getNameOfCompilerOptionValue,getNameOfDeclaration:()=>Nl,getNameOfExpando:()=>ZP,getNameOfJSDocTypedef:()=>XT,getNameOrArgument:()=>C4,getNameTable:()=>qj,getNamesForExportedSymbol:()=>getNamesForExportedSymbol,getNamespaceDeclarationNode:()=>P4,getNewLineCharacter:()=>R3,getNewLineKind:()=>getNewLineKind,getNewLineOrDefaultFromHost:()=>getNewLineOrDefaultFromHost,getNewTargetContainer:()=>CP,getNextJSDocCommentLocation:()=>L4,getNodeForGeneratedName:()=>cF,getNodeId:()=>getNodeId,getNodeKind:()=>getNodeKind,getNodeModifiers:()=>getNodeModifiers,getNodeModulePathParts:()=>eL,getNonAssignedNameOfDeclaration:()=>ym,getNonAssignmentOperatorForCompoundAssignment:()=>getNonAssignmentOperatorForCompoundAssignment,getNonAugmentationDeclaration:()=>n4,getNonDecoratorTokenPosOfNode:()=>mD,getNormalizedAbsolutePath:()=>Ta,getNormalizedAbsolutePathWithoutRoot:()=>A5,getNormalizedPathComponents:()=>_m,getObjectFlags:()=>tf,getOperator:()=>C2,getOperatorAssociativity:()=>t3,getOperatorPrecedence:()=>n3,getOptionFromName:()=>getOptionFromName,getOptionsForLibraryResolution:()=>getOptionsForLibraryResolution,getOptionsNameMap:()=>getOptionsNameMap,getOrCreateEmitNode:()=>getOrCreateEmitNode,getOrCreateExternalHelpersModuleNameIfNeeded:()=>$8,getOrUpdate:()=>KC,getOriginalNode:()=>Dl,getOriginalNodeId:()=>getOriginalNodeId,getOriginalSourceFile:()=>KN,getOutputDeclarationFileName:()=>getOutputDeclarationFileName,getOutputExtension:()=>getOutputExtension,getOutputFileNames:()=>getOutputFileNames,getOutputPathsFor:()=>getOutputPathsFor,getOutputPathsForBundle:()=>getOutputPathsForBundle,getOwnEmitOutputFilePath:()=>_I,getOwnKeys:()=>lg,getOwnValues:()=>b9,getPackageJsonInfo:()=>getPackageJsonInfo,getPackageJsonTypesVersionsPaths:()=>getPackageJsonTypesVersionsPaths,getPackageJsonsVisibleToFile:()=>getPackageJsonsVisibleToFile,getPackageNameFromTypesPackageName:()=>getPackageNameFromTypesPackageName,getPackageScopeForPath:()=>getPackageScopeForPath,getParameterSymbolFromJSDoc:()=>fN,getParameterTypeNode:()=>tL,getParentNodeInSpan:()=>getParentNodeInSpan,getParseTreeNode:()=>Pl,getParsedCommandLineOfConfigFile:()=>getParsedCommandLineOfConfigFile,getPathComponents:()=>wi,getPathComponentsRelativeTo:()=>Tg,getPathFromPathComponents:()=>Vo,getPathUpdater:()=>getPathUpdater,getPathsBasePath:()=>uI,getPatternFromSpec:()=>yM,getPendingEmitKind:()=>getPendingEmitKind,getPositionOfLineAndCharacter:()=>j5,getPossibleGenericSignatures:()=>getPossibleGenericSignatures,getPossibleOriginalInputExtensionForExtension:()=>lI,getPossibleTypeArgumentsInfo:()=>getPossibleTypeArgumentsInfo,getPreEmitDiagnostics:()=>getPreEmitDiagnostics,getPrecedingNonSpaceCharacterPosition:()=>getPrecedingNonSpaceCharacterPosition,getPrivateIdentifier:()=>getPrivateIdentifier,getProperties:()=>getProperties,getProperty:()=>h9,getPropertyArrayElementValue:()=>hP,getPropertyAssignmentAliasLikeExpression:()=>DN,getPropertyNameForPropertyNameNode:()=>Jf,getPropertyNameForUniqueESSymbol:()=>FN,getPropertyNameOfBindingOrAssignmentElement:()=>NR,getPropertySymbolFromBindingElement:()=>getPropertySymbolFromBindingElement,getPropertySymbolsFromContextualType:()=>D7,getQuoteFromPreference:()=>getQuoteFromPreference,getQuotePreference:()=>getQuotePreference,getRangesWhere:()=>YC,getRefactorContextSpan:()=>getRefactorContextSpan,getReferencedFileLocation:()=>getReferencedFileLocation,getRegexFromPattern:()=>rf,getRegularExpressionForWildcard:()=>nf,getRegularExpressionsForWildcards:()=>G2,getRelativePathFromDirectory:()=>mT,getRelativePathFromFile:()=>M5,getRelativePathToDirectoryOrUrl:()=>xg,getRenameLocation:()=>getRenameLocation,getReplacementSpanForContextToken:()=>getReplacementSpanForContextToken,getResolutionDiagnostic:()=>getResolutionDiagnostic,getResolutionModeOverrideForClause:()=>getResolutionModeOverrideForClause,getResolveJsonModule:()=>tS,getResolvePackageJsonExports:()=>YO,getResolvePackageJsonImports:()=>ZO,getResolvedExternalModuleName:()=>_3,getResolvedModule:()=>VA,getResolvedTypeReferenceDirective:()=>GA,getRestIndicatorOfBindingOrAssignmentElement:()=>PR,getRestParameterElementType:()=>oP,getRightMostAssignedExpression:()=>d2,getRootDeclaration:()=>Lm,getRootDirectoryOfResolutionCache:()=>getRootDirectoryOfResolutionCache,getRootLength:()=>Si,getRootPathSplitLength:()=>getRootPathSplitLength,getScriptKind:()=>getScriptKind,getScriptKindFromFileName:()=>sS,getScriptTargetFeatures:()=>getScriptTargetFeatures,getSelectedEffectiveModifierFlags:()=>S3,getSelectedSyntacticModifierFlags:()=>w3,getSemanticClassifications:()=>getSemanticClassifications,getSemanticJsxChildren:()=>$N,getSetAccessorTypeAnnotationNode:()=>yI,getSetAccessorValueParameter:()=>I2,getSetExternalModuleIndicator:()=>Z3,getShebang:()=>ET,getSingleInitializerOfVariableStatementOrPropertyDeclaration:()=>g2,getSingleVariableOfVariableStatement:()=>hl,getSnapshotText:()=>getSnapshotText,getSnippetElement:()=>getSnippetElement,getSourceFileOfModule:()=>rD,getSourceFileOfNode:()=>Kr,getSourceFilePathInNewDir:()=>u3,getSourceFilePathInNewDirWorker:()=>N2,getSourceFileVersionAsHashFromText:()=>getSourceFileVersionAsHashFromText,getSourceFilesToEmit:()=>pI,getSourceMapRange:()=>getSourceMapRange,getSourceMapper:()=>getSourceMapper,getSourceTextOfNodeFromSourceFile:()=>Yo,getSpanOfTokenAtPosition:()=>Gs,getSpellingSuggestion:()=>Yv,getStartPositionOfLine:()=>oD,getStartPositionOfRange:()=>l_,getStartsOnNewLine:()=>getStartsOnNewLine,getStaticPropertiesAndClassStaticBlock:()=>getStaticPropertiesAndClassStaticBlock,getStrictOptionValue:()=>K2,getStringComparer:()=>ug,getSuperCallFromStatement:()=>getSuperCallFromStatement,getSuperContainer:()=>kP,getSupportedCodeFixes:()=>E7,getSupportedExtensions:()=>_S,getSupportedExtensionsWithJsonIfResolveJsonModule:()=>cS,getSwitchedType:()=>getSwitchedType,getSymbolId:()=>getSymbolId,getSymbolNameForPrivateIdentifier:()=>jN,getSymbolTarget:()=>getSymbolTarget,getSyntacticClassifications:()=>getSyntacticClassifications,getSyntacticModifierFlags:()=>R2,getSyntacticModifierFlagsNoCache:()=>F2,getSynthesizedDeepClone:()=>getSynthesizedDeepClone,getSynthesizedDeepCloneWithReplacements:()=>getSynthesizedDeepCloneWithReplacements,getSynthesizedDeepClones:()=>getSynthesizedDeepClones,getSynthesizedDeepClonesWithReplacements:()=>getSynthesizedDeepClonesWithReplacements,getSyntheticLeadingComments:()=>getSyntheticLeadingComments,getSyntheticTrailingComments:()=>getSyntheticTrailingComments,getTargetLabel:()=>getTargetLabel,getTargetOfBindingOrAssignmentElement:()=>Fo,getTemporaryModuleResolutionState:()=>getTemporaryModuleResolutionState,getTextOfConstantValue:()=>xD,getTextOfIdentifierOrLiteral:()=>Rf,getTextOfJSDocComment:()=>gk,getTextOfJsxAttributeName:()=>cL,getTextOfJsxNamespacedName:()=>ql,getTextOfNode:()=>Cm,getTextOfNodeFromSourceText:()=>Ys,getTextOfPropertyName:()=>BD,getThisContainer:()=>c2,getThisParameter:()=>f3,getTokenAtPosition:()=>getTokenAtPosition,getTokenPosOfNode:()=>Qo,getTokenSourceMapRange:()=>getTokenSourceMapRange,getTouchingPropertyName:()=>getTouchingPropertyName,getTouchingToken:()=>getTouchingToken,getTrailingCommentRanges:()=>wT,getTrailingSemicolonDeferringWriter:()=>oI,getTransformFlagsSubtreeExclusions:()=>ZS,getTransformers:()=>getTransformers,getTsBuildInfoEmitOutputFilePath:()=>getTsBuildInfoEmitOutputFilePath,getTsConfigObjectLiteralExpression:()=>p4,getTsConfigPropArrayElementValue:()=>gP,getTypeAnnotationNode:()=>gI,getTypeArgumentOrTypeParameterList:()=>getTypeArgumentOrTypeParameterList,getTypeKeywordOfTypeOnlyImport:()=>getTypeKeywordOfTypeOnlyImport,getTypeNode:()=>getTypeNode,getTypeNodeIfAccessible:()=>getTypeNodeIfAccessible,getTypeParameterFromJsDoc:()=>yN,getTypeParameterOwner:()=>nk,getTypesPackageName:()=>getTypesPackageName,getUILocale:()=>q9,getUniqueName:()=>getUniqueName,getUniqueSymbolId:()=>getUniqueSymbolId,getUseDefineForClassFields:()=>nM,getWatchErrorSummaryDiagnosticMessage:()=>getWatchErrorSummaryDiagnosticMessage,getWatchFactory:()=>getWatchFactory,group:()=>w9,groupBy:()=>E9,guessIndentation:()=>NA,handleNoEmitOptions:()=>handleNoEmitOptions,hasAbstractModifier:()=>v3,hasAccessorModifier:()=>x3,hasAmbientModifier:()=>T3,hasChangesInResolutions:()=>tD,hasChildOfKind:()=>hasChildOfKind,hasContextSensitiveParameters:()=>GM,hasDecorators:()=>gl,hasDocComment:()=>hasDocComment,hasDynamicName:()=>Q4,hasEffectiveModifier:()=>L2,hasEffectiveModifiers:()=>CI,hasEffectiveReadonlyModifier:()=>J0,hasExtension:()=>pT,hasIndexSignature:()=>hasIndexSignature,hasInitializer:()=>qx,hasInvalidEscape:()=>r3,hasJSDocNodes:()=>Ui,hasJSDocParameterTags:()=>ok,hasJSFileExtension:()=>X2,hasJsonModuleEmitEnabled:()=>VO,hasOnlyExpressionInitializer:()=>DA,hasOverrideModifier:()=>AI,hasPossibleExternalModuleReference:()=>JD,hasProperty:()=>Xn,hasPropertyAccessExpressionWithName:()=>hasPropertyAccessExpressionWithName,hasQuestionToken:()=>cN,hasRecordedExternalHelpers:()=>wR,hasRestParameter:()=>IA,hasScopeMarker:()=>aA,hasStaticModifier:()=>Rm,hasSyntacticModifier:()=>gn,hasSyntacticModifiers:()=>kI,hasTSFileExtension:()=>$2,hasTabstop:()=>ES,hasTrailingDirectorySeparator:()=>sm,hasType:()=>AA,hasTypeArguments:()=>hN,hasZeroOrOneAsteriskCharacter:()=>cM,helperString:()=>helperString,hostGetCanonicalFileName:()=>s3,hostUsesCaseSensitiveFileNames:()=>A2,idText:()=>Ot,identifierIsThisKeyword:()=>m3,identifierToKeywordKind:()=>HT,identity:()=>ht,identitySourceMapConsumer:()=>identitySourceMapConsumer,ignoreSourceNewlines:()=>ignoreSourceNewlines,ignoredPaths:()=>ignoredPaths,importDefaultHelper:()=>importDefaultHelper,importFromModuleSpecifier:()=>sN,importNameElisionDisabled:()=>HO,importStarHelper:()=>importStarHelper,indexOfAnyCharCode:()=>Jv,indexOfNode:()=>gD,indicesOf:()=>_g,inferredTypesContainingFile:()=>inferredTypesContainingFile,insertImports:()=>insertImports,insertLeadingStatement:()=>uR,insertSorted:()=>cl,insertStatementAfterCustomPrologue:()=>pD,insertStatementAfterStandardPrologue:()=>uD,insertStatementsAfterCustomPrologue:()=>lD,insertStatementsAfterStandardPrologue:()=>cD,intersperse:()=>LC,intrinsicTagNameToString:()=>uL,introducesArgumentsExoticObject:()=>uP,inverseJsxOptionMap:()=>inverseJsxOptionMap,isAbstractConstructorSymbol:()=>bO,isAbstractModifier:()=>WL,isAccessExpression:()=>Zo,isAccessibilityModifier:()=>isAccessibilityModifier,isAccessor:()=>xm,isAccessorModifier:()=>HL,isAliasSymbolDeclaration:()=>AN,isAliasableExpression:()=>x2,isAmbientModule:()=>km,isAmbientPropertyDeclaration:()=>ID,isAnonymousFunctionDefinition:()=>Xs,isAnyDirectorySeparator:()=>hg,isAnyImportOrBareOrAccessedRequire:()=>MD,isAnyImportOrReExport:()=>Dm,isAnyImportSyntax:()=>Yg,isAnySupportedFileExtension:()=>AM,isApplicableVersionedTypesKey:()=>isApplicableVersionedTypesKey,isArgumentExpressionOfElementAccess:()=>isArgumentExpressionOfElementAccess,isArray:()=>Wt,isArrayBindingElement:()=>Hk,isArrayBindingOrAssignmentElement:()=>Nx,isArrayBindingOrAssignmentPattern:()=>Px,isArrayBindingPattern:()=>QL,isArrayLiteralExpression:()=>Ql,isArrayLiteralOrObjectLiteralDestructuringPattern:()=>isArrayLiteralOrObjectLiteralDestructuringPattern,isArrayTypeNode:()=>u8,isArrowFunction:()=>Gm,isAsExpression:()=>aJ,isAssertClause:()=>kJ,isAssertEntry:()=>AJ,isAssertionExpression:()=>rA,isAssertionKey:()=>Jk,isAssertsKeyword:()=>UL,isAssignmentDeclaration:()=>N0,isAssignmentExpression:()=>Sa,isAssignmentOperator:()=>w_,isAssignmentPattern:()=>kx,isAssignmentTarget:()=>gN,isAsteriskToken:()=>JL,isAsyncFunction:()=>RN,isAsyncModifier:()=>Qc,isAutoAccessorPropertyDeclaration:()=>Cx,isAwaitExpression:()=>tJ,isAwaitKeyword:()=>qL,isBigIntLiteral:()=>cb,isBinaryExpression:()=>St,isBinaryOperatorToken:()=>iF,isBindableObjectDefinePropertyCall:()=>m2,isBindableStaticAccessExpression:()=>S_,isBindableStaticElementAccessExpression:()=>y2,isBindableStaticNameExpression:()=>c_,isBindingElement:()=>$l,isBindingElementOfBareOrAccessedRequire:()=>VP,isBindingName:()=>Bk,isBindingOrAssignmentElement:()=>Kk,isBindingOrAssignmentPattern:()=>Gk,isBindingPattern:()=>Sm,isBlock:()=>Yl,isBlockOrCatchScoped:()=>wD,isBlockScope:()=>r4,isBlockScopedContainerTopLevel:()=>DD,isBooleanLiteral:()=>Uk,isBreakOrContinueStatement:()=>Ck,isBreakStatement:()=>hJ,isBuildInfoFile:()=>isBuildInfoFile,isBuilderProgram:()=>isBuilderProgram2,isBundle:()=>BJ,isBundleFileTextLike:()=>CO,isCallChain:()=>T0,isCallExpression:()=>O_,isCallExpressionTarget:()=>isCallExpressionTarget,isCallLikeExpression:()=>Qk,isCallOrNewExpression:()=>Yk,isCallOrNewExpressionTarget:()=>isCallOrNewExpressionTarget,isCallSignatureDeclaration:()=>pb,isCallToHelper:()=>isCallToHelper,isCaseBlock:()=>wJ,isCaseClause:()=>RJ,isCaseKeyword:()=>KL,isCaseOrDefaultClause:()=>kA,isCatchClause:()=>FJ,isCatchClauseVariableDeclaration:()=>vS,isCatchClauseVariableDeclarationOrBindingElement:()=>Zx,isCheckJsEnabledForFile:()=>DM,isChildOfNodeWithKind:()=>rP,isCircularBuildOrder:()=>isCircularBuildOrder,isClassDeclaration:()=>u_,isClassElement:()=>Qa,isClassExpression:()=>$m,isClassLike:()=>Hr,isClassMemberModifier:()=>Sx,isClassOrTypeElement:()=>Wk,isClassStaticBlockDeclaration:()=>Hl,isCollapsedRange:()=>XI,isColonToken:()=>RL,isCommaExpression:()=>r1,isCommaListExpression:()=>M_,isCommaSequence:()=>vR,isCommaToken:()=>r8,isComment:()=>isComment,isCommonJsExportPropertyAssignment:()=>s2,isCommonJsExportedExpression:()=>cP,isCompoundAssignment:()=>isCompoundAssignment,isComputedNonLiteralName:()=>jD,isComputedPropertyName:()=>Za,isConciseBody:()=>cA,isConditionalExpression:()=>nJ,isConditionalTypeNode:()=>h8,isConstTypeReference:()=>mx,isConstructSignatureDeclaration:()=>_8,isConstructorDeclaration:()=>P_,isConstructorTypeNode:()=>fb,isContextualKeyword:()=>S2,isContinueStatement:()=>yJ,isCustomPrologue:()=>Pm,isDebuggerStatement:()=>SJ,isDeclaration:()=>$o,isDeclarationBindingElement:()=>zg,isDeclarationFileName:()=>c7,isDeclarationName:()=>B4,isDeclarationNameOfEnumOrNamespace:()=>sO,isDeclarationReadonly:()=>YD,isDeclarationStatement:()=>vA,isDeclarationWithTypeParameterChildren:()=>i4,isDeclarationWithTypeParameters:()=>OD,isDecorator:()=>zl,isDecoratorTarget:()=>isDecoratorTarget,isDefaultClause:()=>I8,isDefaultImport:()=>N4,isDefaultModifier:()=>BL,isDefaultedExpandoInitializer:()=>YP,isDeleteExpression:()=>ZL,isDeleteTarget:()=>wN,isDeprecatedDeclaration:()=>isDeprecatedDeclaration,isDestructuringAssignment:()=>OI,isDiagnosticWithLocation:()=>isDiagnosticWithLocation,isDiskPathRoot:()=>x5,isDoStatement:()=>pJ,isDotDotDotToken:()=>LL,isDottedName:()=>F0,isDynamicName:()=>E2,isESSymbolIdentifier:()=>qN,isEffectiveExternalModule:()=>Qg,isEffectiveModuleDeclaration:()=>e4,isEffectiveStrictModeSourceFile:()=>ND,isElementAccessChain:()=>fx,isElementAccessExpression:()=>ka,isEmittedFileOfProgram:()=>isEmittedFileOfProgram,isEmptyArrayLiteral:()=>FI,isEmptyBindingElement:()=>WT,isEmptyBindingPattern:()=>zT,isEmptyObjectLiteral:()=>RI,isEmptyStatement:()=>lJ,isEmptyStringLiteral:()=>m4,isEntityName:()=>jk,isEntityNameExpression:()=>no,isEnumConst:()=>QD,isEnumDeclaration:()=>Eb,isEnumMember:()=>M8,isEqualityOperatorKind:()=>isEqualityOperatorKind,isEqualsGreaterThanToken:()=>jL,isExclamationToken:()=>Kf,isExcludedFile:()=>isExcludedFile,isExclusivelyTypeOnlyImportOrExport:()=>isExclusivelyTypeOnlyImportOrExport,isExportAssignment:()=>ls,isExportDeclaration:()=>L_,isExportModifier:()=>i8,isExportName:()=>bR,isExportNamespaceAsDefaultDeclaration:()=>Yx,isExportOrDefaultModifier:()=>oF,isExportSpecifier:()=>N8,isExportsIdentifier:()=>w4,isExportsOrModuleExportsOrAlias:()=>isExportsOrModuleExportsOrAlias,isExpression:()=>wm,isExpressionNode:()=>u2,isExpressionOfExternalModuleImportEqualsDeclaration:()=>isExpressionOfExternalModuleImportEqualsDeclaration,isExpressionOfOptionalChainRoot:()=>Sk,isExpressionStatement:()=>Zl,isExpressionWithTypeArguments:()=>Tb,isExpressionWithTypeArgumentsInClassExtendsClause:()=>R0,isExternalModule:()=>ts,isExternalModuleAugmentation:()=>$g,isExternalModuleImportEqualsDeclaration:()=>g4,isExternalModuleIndicator:()=>sA,isExternalModuleNameRelative:()=>H5,isExternalModuleReference:()=>Zm,isExternalModuleSymbol:()=>isExternalModuleSymbol,isExternalOrCommonJsModule:()=>$D,isFileLevelUniqueName:()=>Kx,isFileProbablyExternalModule:()=>sl,isFirstDeclarationOfSymbolParameter:()=>isFirstDeclarationOfSymbolParameter,isFixablePromiseHandler:()=>isFixablePromiseHandler,isForInOrOfStatement:()=>_A,isForInStatement:()=>fJ,isForInitializer:()=>uA,isForOfStatement:()=>mJ,isForStatement:()=>C8,isFunctionBlock:()=>u4,isFunctionBody:()=>lA,isFunctionDeclaration:()=>cs,isFunctionExpression:()=>Km,isFunctionExpressionOrArrowFunction:()=>QM,isFunctionLike:()=>Wi,isFunctionLikeDeclaration:()=>wx,isFunctionLikeKind:()=>jg,isFunctionLikeOrClassStaticBlockDeclaration:()=>Tm,isFunctionOrConstructorTypeNode:()=>Vk,isFunctionOrModuleBlock:()=>qk,isFunctionSymbol:()=>aN,isFunctionTypeNode:()=>Gl,isFutureReservedKeyword:()=>NN,isGeneratedIdentifier:()=>ma,isGeneratedPrivateIdentifier:()=>Rg,isGetAccessor:()=>Hc,isGetAccessorDeclaration:()=>Kl,isGetOrSetAccessorDeclaration:()=>xk,isGlobalDeclaration:()=>isGlobalDeclaration,isGlobalScopeAugmentation:()=>Am,isGrammarError:()=>_D,isHeritageClause:()=>Sl,isHoistedFunction:()=>A0,isHoistedVariableStatement:()=>D0,isIdentifier:()=>Ce,isIdentifierANonContextualKeyword:()=>MN,isIdentifierName:()=>kN,isIdentifierOrThisTypeNode:()=>JR,isIdentifierPart:()=>Wa,isIdentifierStart:()=>or,isIdentifierText:()=>Ag,isIdentifierTypePredicate:()=>mP,isIdentifierTypeReference:()=>UM,isIfStatement:()=>uJ,isIgnoredFileFromWildCardWatching:()=>isIgnoredFileFromWildCardWatching,isImplicitGlob:()=>rS,isImportCall:()=>i2,isImportClause:()=>EJ,isImportDeclaration:()=>Ab,isImportEqualsDeclaration:()=>kb,isImportKeyword:()=>o8,isImportMeta:()=>k0,isImportOrExportSpecifier:()=>Mk,isImportOrExportSpecifierName:()=>isImportOrExportSpecifierName,isImportSpecifier:()=>D8,isImportTypeAssertionContainer:()=>CJ,isImportTypeNode:()=>Xl,isImportableFile:()=>isImportableFile,isInComment:()=>isInComment,isInExpressionContext:()=>y4,isInJSDoc:()=>b4,isInJSFile:()=>Vt,isInJSXText:()=>isInJSXText,isInJsonFile:()=>qP,isInNonReferenceComment:()=>isInNonReferenceComment,isInReferenceComment:()=>isInReferenceComment,isInRightSideOfInternalImportEqualsDeclaration:()=>isInRightSideOfInternalImportEqualsDeclaration,isInString:()=>isInString,isInTemplateString:()=>isInTemplateString,isInTopLevelContext:()=>EP,isIncrementalCompilation:()=>tM,isIndexSignatureDeclaration:()=>db,isIndexedAccessTypeNode:()=>v8,isInferTypeNode:()=>g8,isInfinityOrNaNString:()=>XM,isInitializedProperty:()=>isInitializedProperty,isInitializedVariable:()=>B3,isInsideJsxElement:()=>isInsideJsxElement,isInsideJsxElementOrAttribute:()=>isInsideJsxElementOrAttribute,isInsideNodeModules:()=>isInsideNodeModules,isInsideTemplateLiteral:()=>isInsideTemplateLiteral,isInstantiatedModule:()=>isInstantiatedModule,isInterfaceDeclaration:()=>eu,isInternalDeclaration:()=>isInternalDeclaration,isInternalModuleImportEqualsDeclaration:()=>BP,isInternalName:()=>gR,isIntersectionTypeNode:()=>y8,isIntrinsicJsxName:()=>o3,isIterationStatement:()=>Lx,isJSDoc:()=>ps,isJSDocAllType:()=>VJ,isJSDocAugmentsTag:()=>t1,isJSDocAuthorTag:()=>QJ,isJSDocCallbackTag:()=>YJ,isJSDocClassTag:()=>R8,isJSDocCommentContainingNode:()=>Ux,isJSDocConstructSignature:()=>lN,isJSDocDeprecatedTag:()=>jb,isJSDocEnumTag:()=>j8,isJSDocFunctionType:()=>e1,isJSDocImplementsTag:()=>U8,isJSDocIndexSignature:()=>WP,isJSDocLikeText:()=>a7,isJSDocLink:()=>qJ,isJSDocLinkCode:()=>zJ,isJSDocLinkLike:()=>rl,isJSDocLinkPlain:()=>WJ,isJSDocMemberName:()=>Zs,isJSDocNameReference:()=>_f,isJSDocNamepathType:()=>$J,isJSDocNamespaceBody:()=>fA,isJSDocNode:()=>Hg,isJSDocNonNullableType:()=>KJ,isJSDocNullableType:()=>J8,isJSDocOptionalParameter:()=>CS,isJSDocOptionalType:()=>GJ,isJSDocOverloadTag:()=>Fb,isJSDocOverrideTag:()=>F8,isJSDocParameterTag:()=>p_,isJSDocPrivateTag:()=>Lb,isJSDocPropertyLikeTag:()=>Mg,isJSDocPropertyTag:()=>nR,isJSDocProtectedTag:()=>Jb,isJSDocPublicTag:()=>Mb,isJSDocReadonlyTag:()=>Rb,isJSDocReturnTag:()=>Bb,isJSDocSatisfiesExpression:()=>oL,isJSDocSatisfiesTag:()=>Ub,isJSDocSeeTag:()=>ZJ,isJSDocSignature:()=>nu,isJSDocTag:()=>Kg,isJSDocTemplateTag:()=>es,isJSDocThisTag:()=>B8,isJSDocThrowsTag:()=>rR,isJSDocTypeAlias:()=>Rl,isJSDocTypeAssertion:()=>G8,isJSDocTypeExpression:()=>L8,isJSDocTypeLiteral:()=>Ob,isJSDocTypeTag:()=>ru,isJSDocTypedefTag:()=>eR,isJSDocUnknownTag:()=>tR,isJSDocUnknownType:()=>HJ,isJSDocVariadicType:()=>XJ,isJSXTagName:()=>Yd,isJsonEqual:()=>Y2,isJsonSourceFile:()=>r2,isJsxAttribute:()=>MJ,isJsxAttributeLike:()=>EA,isJsxAttributeName:()=>lL,isJsxAttributes:()=>Ib,isJsxChild:()=>jx,isJsxClosingElement:()=>sf,isJsxClosingFragment:()=>OJ,isJsxElement:()=>Z0,isJsxExpression:()=>JJ,isJsxFragment:()=>ol,isJsxNamespacedName:()=>J_,isJsxOpeningElement:()=>Ro,isJsxOpeningFragment:()=>Nb,isJsxOpeningLikeElement:()=>Bx,isJsxOpeningLikeElementTagName:()=>isJsxOpeningLikeElementTagName,isJsxSelfClosingElement:()=>IJ,isJsxSpreadAttribute:()=>LJ,isJsxTagNameExpression:()=>wA,isJsxText:()=>Hf,isJumpStatementTarget:()=>isJumpStatementTarget,isKeyword:()=>bi,isKeywordOrPunctuation:()=>ef,isKnownSymbol:()=>BN,isLabelName:()=>isLabelName,isLabelOfLabeledStatement:()=>isLabelOfLabeledStatement,isLabeledStatement:()=>k8,isLateVisibilityPaintedStatement:()=>LD,isLeftHandSideExpression:()=>jo,isLeftHandSideOfAssignment:()=>II,isLet:()=>ZD,isLineBreak:()=>mn,isLiteralComputedPropertyDeclarationName:()=>U4,isLiteralExpression:()=>Jg,isLiteralExpressionOfObject:()=>Nk,isLiteralImportTypeNode:()=>_4,isLiteralKind:()=>Lg,isLiteralLikeAccess:()=>Zd,isLiteralLikeElementAccess:()=>Jl,isLiteralNameOfPropertyDeclarationOrIndexAccess:()=>isLiteralNameOfPropertyDeclarationOrIndexAccess,isLiteralTypeLikeExpression:()=>BR,isLiteralTypeLiteral:()=>tA,isLiteralTypeNode:()=>gb,isLocalName:()=>eg,isLogicalOperator:()=>DI,isLogicalOrCoalescingAssignmentExpression:()=>PI,isLogicalOrCoalescingAssignmentOperator:()=>jm,isLogicalOrCoalescingBinaryExpression:()=>NI,isLogicalOrCoalescingBinaryOperator:()=>D3,isMappedTypeNode:()=>T8,isMemberName:()=>$a,isMetaProperty:()=>xb,isMethodDeclaration:()=>Vl,isMethodOrAccessor:()=>Bg,isMethodSignature:()=>s8,isMinusToken:()=>ub,isMissingDeclaration:()=>PJ,isModifier:()=>Fg,isModifierKind:()=>yi,isModifierLike:()=>Qd,isModuleAugmentationExternal:()=>t4,isModuleBlock:()=>A8,isModuleBody:()=>pA,isModuleDeclaration:()=>Gi,isModuleExportsAccessExpression:()=>f2,isModuleIdentifier:()=>E4,isModuleName:()=>jR,isModuleOrEnumDeclaration:()=>yA,isModuleReference:()=>SA,isModuleSpecifierLike:()=>isModuleSpecifierLike,isModuleWithStringLiteralName:()=>ED,isNameOfFunctionDeclaration:()=>isNameOfFunctionDeclaration,isNameOfModuleDeclaration:()=>isNameOfModuleDeclaration,isNamedClassElement:()=>zk,isNamedDeclaration:()=>mm,isNamedEvaluation:()=>zN,isNamedEvaluationSource:()=>e3,isNamedExportBindings:()=>kk,isNamedExports:()=>P8,isNamedImportBindings:()=>mA,isNamedImports:()=>DJ,isNamedImportsOrExports:()=>kO,isNamedTupleMember:()=>mb,isNamespaceBody:()=>dA,isNamespaceExport:()=>Ym,isNamespaceExportDeclaration:()=>Cb,isNamespaceImport:()=>Db,isNamespaceReexportDeclaration:()=>RP,isNewExpression:()=>x8,isNewExpressionTarget:()=>isNewExpressionTarget,isNightly:()=>iI,isNoSubstitutionTemplateLiteral:()=>n8,isNode:()=>Dk,isNodeArray:()=>ua,isNodeArrayMultiLine:()=>rO,isNodeDescendantOf:()=>EN,isNodeKind:()=>Ol,isNodeLikeSystem:()=>l5,isNodeModulesDirectory:()=>L5,isNodeWithPossibleHoistedDeclaration:()=>bN,isNonContextualKeyword:()=>$4,isNonExportDefaultModifier:()=>sF,isNonGlobalAmbientModule:()=>CD,isNonGlobalDeclaration:()=>isNonGlobalDeclaration,isNonNullAccess:()=>aL,isNonNullChain:()=>yx,isNonNullExpression:()=>qo,isNonStaticMethodOrAccessorWithPrivateName:()=>isNonStaticMethodOrAccessorWithPrivateName,isNotEmittedOrPartiallyEmittedNode:()=>iA,isNotEmittedStatement:()=>Pb,isNullishCoalesce:()=>Ek,isNumber:()=>O9,isNumericLiteral:()=>ro,isNumericLiteralName:()=>TS,isObjectBindingElementWithoutPropertyName:()=>isObjectBindingElementWithoutPropertyName,isObjectBindingOrAssignmentElement:()=>Dx,isObjectBindingOrAssignmentPattern:()=>Ax,isObjectBindingPattern:()=>$L,isObjectLiteralElement:()=>S0,isObjectLiteralElementLike:()=>qg,isObjectLiteralExpression:()=>ao,isObjectLiteralMethod:()=>dP,isObjectLiteralOrClassExpressionMethodOrAccessor:()=>fP,isObjectTypeDeclaration:()=>wO,isOctalDigit:()=>Xd,isOmittedExpression:()=>Qm,isOptionalChain:()=>Ig,isOptionalChainRoot:()=>Og,isOptionalDeclaration:()=>iL,isOptionalJSDocPropertyLikeTag:()=>wS,isOptionalTypeNode:()=>d8,isOuterExpression:()=>i1,isOutermostOptionalChain:()=>wk,isOverrideModifier:()=>VL,isPackedArrayLiteral:()=>VM,isParameter:()=>io,isParameterDeclaration:()=>VN,isParameterOrCatchClauseVariable:()=>$M,isParameterPropertyDeclaration:()=>qT,isParameterPropertyModifier:()=>xx,isParenthesizedExpression:()=>ss,isParenthesizedTypeNode:()=>yb,isParseTreeNode:()=>dl,isPartOfTypeNode:()=>a2,isPartOfTypeQuery:()=>h4,isPartiallyEmittedExpression:()=>E8,isPatternMatch:()=>dg,isPinnedComment:()=>Qx,isPlainJsFile:()=>iD,isPlusToken:()=>lb,isPossiblyTypeArgumentPosition:()=>isPossiblyTypeArgumentPosition,isPostfixUnaryExpression:()=>w8,isPrefixUnaryExpression:()=>Xm,isPrivateIdentifier:()=>Ln,isPrivateIdentifierClassElementDeclaration:()=>Tx,isPrivateIdentifierPropertyAccessExpression:()=>Fk,isPrivateIdentifierSymbol:()=>UN,isProgramBundleEmitBuildInfo:()=>isProgramBundleEmitBuildInfo,isProgramUptoDate:()=>isProgramUptoDate,isPrologueDirective:()=>ha,isPropertyAccessChain:()=>dx,isPropertyAccessEntityNameExpression:()=>I3,isPropertyAccessExpression:()=>Rn,isPropertyAccessOrQualifiedName:()=>$k,isPropertyAccessOrQualifiedNameOrImportTypeNode:()=>Xk,isPropertyAssignment:()=>us,isPropertyDeclaration:()=>os,isPropertyName:()=>Ml,isPropertyNameLiteral:()=>O0,isPropertySignature:()=>Wl,isProtoSetter:()=>Z4,isPrototypeAccess:()=>Bl,isPrototypePropertyAssignment:()=>nN,isPunctuation:()=>X4,isPushOrUnshiftIdentifier:()=>WN,isQualifiedName:()=>D_,isQuestionDotToken:()=>FL,isQuestionOrExclamationToken:()=>LR,isQuestionOrPlusOrMinusToken:()=>FR,isQuestionToken:()=>xl,isRawSourceMap:()=>isRawSourceMap,isReadonlyKeyword:()=>a8,isReadonlyKeywordOrPlusOrMinusToken:()=>RR,isRecognizedTripleSlashComment:()=>dD,isReferenceFileLocation:()=>isReferenceFileLocation,isReferencedFile:()=>isReferencedFile,isRegularExpressionLiteral:()=>NL,isRequireCall:()=>Ll,isRequireVariableStatement:()=>x4,isRestParameter:()=>zx,isRestTypeNode:()=>f8,isReturnStatement:()=>gJ,isReturnStatementWithFixablePromiseHandler:()=>isReturnStatementWithFixablePromiseHandler,isRightSideOfAccessExpression:()=>O3,isRightSideOfPropertyAccess:()=>isRightSideOfPropertyAccess,isRightSideOfQualifiedName:()=>isRightSideOfQualifiedName,isRightSideOfQualifiedNameOrPropertyAccess:()=>LI,isRightSideOfQualifiedNameOrPropertyAccessOrJSDocMemberName:()=>JI,isRootedDiskPath:()=>y_,isSameEntityName:()=>__,isSatisfiesExpression:()=>oJ,isScopeMarker:()=>Jx,isSemicolonClassElement:()=>cJ,isSetAccessor:()=>Vc,isSetAccessorDeclaration:()=>N_,isShebangTrivia:()=>Cg,isShorthandAmbientModuleSymbol:()=>kD,isShorthandPropertyAssignment:()=>tu,isSignedNumericLiteral:()=>w2,isSimpleCopiableExpression:()=>isSimpleCopiableExpression,isSimpleInlineableExpression:()=>isSimpleInlineableExpression,isSingleOrDoubleQuote:()=>HP,isSourceFile:()=>$r,isSourceFileFromLibrary:()=>isSourceFileFromLibrary,isSourceFileJS:()=>p2,isSourceFileNotJS:()=>UP,isSourceFileNotJson:()=>zP,isSourceMapping:()=>isSourceMapping,isSpecialPropertyDeclaration:()=>rN,isSpreadAssignment:()=>O8,isSpreadElement:()=>vb,isStatement:()=>Rx,isStatementButNotDeclaration:()=>TA,isStatementOrBlock:()=>Fx,isStatementWithLocals:()=>aD,isStatic:()=>L0,isStaticModifier:()=>zL,isString:()=>m_,isStringAKeyword:()=>ON,isStringANonContextualKeyword:()=>IN,isStringAndEmptyAnonymousObjectIntersection:()=>isStringAndEmptyAnonymousObjectIntersection,isStringDoubleQuoted:()=>KP,isStringLiteral:()=>cr,isStringLiteralLike:()=>qr,isStringLiteralOrJsxExpression:()=>CA,isStringLiteralOrTemplate:()=>isStringLiteralOrTemplate,isStringOrNumericLiteralLike:()=>Ki,isStringOrRegularExpressionOrTemplateLiteral:()=>isStringOrRegularExpressionOrTemplateLiteral,isStringTextContainingNode:()=>Rk,isSuperCall:()=>eP,isSuperKeyword:()=>of,isSuperOrSuperProperty:()=>DP,isSuperProperty:()=>Lf,isSupportedSourceFileName:()=>SM,isSwitchStatement:()=>vJ,isSyntaxList:()=>iR,isSyntheticExpression:()=>sJ,isSyntheticReference:()=>NJ,isTagName:()=>isTagName,isTaggedTemplateExpression:()=>S8,isTaggedTemplateTag:()=>isTaggedTemplateTag,isTemplateExpression:()=>rJ,isTemplateHead:()=>IL,isTemplateLiteral:()=>Zk,isTemplateLiteralKind:()=>fl,isTemplateLiteralToken:()=>Ik,isTemplateLiteralTypeNode:()=>XL,isTemplateLiteralTypeSpan:()=>GL,isTemplateMiddle:()=>OL,isTemplateMiddleOrTemplateTail:()=>Ok,isTemplateSpan:()=>_J,isTemplateTail:()=>ML,isTextWhiteSpaceLike:()=>isTextWhiteSpaceLike,isThis:()=>isThis,isThisContainerOrFunctionBlock:()=>wP,isThisIdentifier:()=>Jm,isThisInTypeQuery:()=>hI,isThisInitializedDeclaration:()=>NP,isThisInitializedObjectBindingExpression:()=>IP,isThisProperty:()=>PP,isThisTypeNode:()=>hb,isThisTypeParameter:()=>xS,isThisTypePredicate:()=>yP,isThrowStatement:()=>TJ,isToken:()=>Pk,isTokenKind:()=>gx,isTraceEnabled:()=>isTraceEnabled,isTransientSymbol:()=>E0,isTrivia:()=>LN,isTryStatement:()=>xJ,isTupleTypeNode:()=>p8,isTypeAlias:()=>uN,isTypeAliasDeclaration:()=>wb,isTypeAssertionExpression:()=>YL,isTypeDeclaration:()=>SS,isTypeElement:()=>Ug,isTypeKeyword:()=>isTypeKeyword,isTypeKeywordToken:()=>isTypeKeywordToken,isTypeKeywordTokenOrIdentifier:()=>isTypeKeywordTokenOrIdentifier,isTypeLiteralNode:()=>Hm,isTypeNode:()=>x0,isTypeNodeKind:()=>H3,isTypeOfExpression:()=>eJ,isTypeOnlyExportDeclaration:()=>vx,isTypeOnlyImportDeclaration:()=>bx,isTypeOnlyImportOrExportDeclaration:()=>Lk,isTypeOperatorNode:()=>b8,isTypeParameterDeclaration:()=>Jo,isTypePredicateNode:()=>c8,isTypeQueryNode:()=>l8,isTypeReferenceNode:()=>I_,isTypeReferenceType:()=>PA,isUMDExportSymbol:()=>TO,isUnaryExpression:()=>Ox,isUnaryExpressionWithWrite:()=>eA,isUnicodeIdentifierStart:()=>vT,isUnionTypeNode:()=>m8,isUnparsedNode:()=>Ak,isUnparsedPrepend:()=>jJ,isUnparsedSource:()=>UJ,isUnparsedTextLike:()=>hx,isUrl:()=>T5,isValidBigIntString:()=>yS,isValidESSymbolDeclaration:()=>lP,isValidTypeOnlyAliasUseSite:()=>RM,isValueSignatureDeclaration:()=>vN,isVarConst:()=>s4,isVariableDeclaration:()=>Ei,isVariableDeclarationInVariableStatement:()=>l4,isVariableDeclarationInitializedToBareOrAccessedRequire:()=>Nm,isVariableDeclarationInitializedToRequire:()=>v4,isVariableDeclarationList:()=>Sb,isVariableLike:()=>o2,isVariableLikeOrAccessor:()=>_P,isVariableStatement:()=>_s,isVoidExpression:()=>bb,isWatchSet:()=>cO,isWhileStatement:()=>dJ,isWhiteSpaceLike:()=>qi,isWhiteSpaceSingleLine:()=>Lo,isWithStatement:()=>bJ,isWriteAccess:()=>mO,isWriteOnlyAccess:()=>fO,isYieldExpression:()=>iJ,jsxModeNeedsExplicitImport:()=>jsxModeNeedsExplicitImport,keywordPart:()=>keywordPart,last:()=>ba,lastOrUndefined:()=>Ti,length:()=>Ha,libMap:()=>libMap,libs:()=>libs,lineBreakPart:()=>lineBreakPart,linkNamePart:()=>linkNamePart,linkPart:()=>linkPart,linkTextPart:()=>linkTextPart,listFiles:()=>listFiles,loadModuleFromGlobalCache:()=>loadModuleFromGlobalCache,loadWithModeAwareCache:()=>loadWithModeAwareCache,makeIdentifierFromModuleName:()=>SD,makeImport:()=>makeImport,makeImportIfNecessary:()=>makeImportIfNecessary,makeStringLiteral:()=>makeStringLiteral,mangleScopedPackageName:()=>mangleScopedPackageName,map:()=>ga,mapAllOrFail:()=>WC,mapDefined:()=>Ka,mapDefinedEntries:()=>HC,mapDefinedIterator:()=>VC,mapEntries:()=>QC,mapIterator:()=>UC,mapOneOrMany:()=>mapOneOrMany,mapToDisplayParts:()=>mapToDisplayParts,matchFiles:()=>hM,matchPatternOrExact:()=>PM,matchedText:()=>Z9,matchesExclude:()=>matchesExclude,maybeBind:()=>rn,maybeSetLocalizedDiagnosticMessages:()=>X3,memoize:()=>ah,memoizeCached:()=>R9,memoizeOne:()=>kr,memoizeWeak:()=>J9,metadataHelper:()=>metadataHelper,min:()=>B9,minAndMax:()=>IM,missingFileModifiedTime:()=>missingFileModifiedTime,modifierToFlag:()=>j2,modifiersToFlags:()=>ar,moduleOptionDeclaration:()=>moduleOptionDeclaration,moduleResolutionIsEqualTo:()=>$A,moduleResolutionNameAndModeGetter:()=>moduleResolutionNameAndModeGetter,moduleResolutionOptionDeclarations:()=>moduleResolutionOptionDeclarations,moduleResolutionSupportsPackageJsonExportsAndImports:()=>V2,moduleResolutionUsesNodeModules:()=>moduleResolutionUsesNodeModules,moduleSpecifiers:()=>ts_moduleSpecifiers_exports,moveEmitHelpers:()=>moveEmitHelpers,moveRangeEnd:()=>KI,moveRangePastDecorators:()=>F3,moveRangePastModifiers:()=>GI,moveRangePos:()=>Bf,moveSyntheticComments:()=>moveSyntheticComments,mutateMap:()=>gO,mutateMapSkippingNewValues:()=>z3,needsParentheses:()=>needsParentheses,needsScopeMarker:()=>oA,newCaseClauseTracker:()=>newCaseClauseTracker,newPrivateEnvironment:()=>newPrivateEnvironment,noEmitNotification:()=>noEmitNotification,noEmitSubstitution:()=>noEmitSubstitution,noTransformers:()=>noTransformers,noTruncationMaximumTruncationLength:()=>PS,nodeCanBeDecorated:()=>f4,nodeHasName:()=>GT,nodeIsDecorated:()=>s_,nodeIsMissing:()=>Bi,nodeIsPresent:()=>yl,nodeIsSynthesized:()=>pa,nodeModuleNameResolver:()=>nodeModuleNameResolver,nodeModulesPathPart:()=>nodeModulesPathPart,nodeNextJsonConfigResolver:()=>nodeNextJsonConfigResolver,nodeOrChildIsDecorated:()=>P0,nodeOverlapsWithStartEnd:()=>nodeOverlapsWithStartEnd,nodePosToString:()=>sD,nodeSeenTracker:()=>nodeSeenTracker,nodeStartsNewLexicalEnvironment:()=>HN,nodeToDisplayParts:()=>nodeToDisplayParts,noop:()=>Nr,noopFileWatcher:()=>noopFileWatcher,normalizePath:()=>sr,normalizeSlashes:()=>Ho,not:()=>n5,notImplemented:()=>L9,notImplementedResolver:()=>notImplementedResolver,nullNodeConverters:()=>nullNodeConverters,nullParenthesizerRules:()=>sb,nullTransformationContext:()=>nullTransformationContext,objectAllocator:()=>xt,operatorPart:()=>operatorPart,optionDeclarations:()=>optionDeclarations,optionMapToObject:()=>optionMapToObject,optionsAffectingProgramStructure:()=>optionsAffectingProgramStructure,optionsForBuild:()=>optionsForBuild,optionsForWatch:()=>optionsForWatch,optionsHaveChanges:()=>T_,optionsHaveModuleResolutionChanges:()=>Wx,or:()=>fg,orderedRemoveItem:()=>$9,orderedRemoveItemAt:()=>Zv,outFile:()=>P2,packageIdToPackageName:()=>Vx,packageIdToString:()=>ZA,padLeft:()=>iT,padRight:()=>o5,paramHelper:()=>paramHelper,parameterIsThisKeyword:()=>jl,parameterNamePart:()=>parameterNamePart,parseBaseNodeFactory:()=>ig,parseBigInt:()=>JM,parseBuildCommand:()=>parseBuildCommand,parseCommandLine:()=>parseCommandLine,parseCommandLineWorker:()=>parseCommandLineWorker,parseConfigFileTextToJson:()=>parseConfigFileTextToJson,parseConfigFileWithSystem:()=>parseConfigFileWithSystem,parseConfigHostFromCompilerHostLike:()=>parseConfigHostFromCompilerHostLike,parseCustomTypeOption:()=>parseCustomTypeOption,parseIsolatedEntityName:()=>EF,parseIsolatedJSDocComment:()=>kF,parseJSDocTypeExpressionForTests:()=>AF,parseJsonConfigFileContent:()=>parseJsonConfigFileContent,parseJsonSourceFileConfigFileContent:()=>parseJsonSourceFileConfigFileContent,parseJsonText:()=>CF,parseListTypeOption:()=>parseListTypeOption,parseNodeFactory:()=>F_,parseNodeModuleFromPath:()=>parseNodeModuleFromPath,parsePackageName:()=>parsePackageName,parsePseudoBigInt:()=>qm,parseValidBigInt:()=>mS,patchWriteFileEnsuringDirectory:()=>patchWriteFileEnsuringDirectory,pathContainsNodeModules:()=>pathContainsNodeModules,pathIsAbsolute:()=>gg,pathIsBareSpecifier:()=>S5,pathIsRelative:()=>is,patternText:()=>Y9,perfLogger:()=>yf,performIncrementalCompilation:()=>performIncrementalCompilation,performance:()=>ts_performance_exports,plainJSErrors:()=>plainJSErrors,positionBelongsToNode:()=>positionBelongsToNode,positionIsASICandidate:()=>positionIsASICandidate,positionIsSynthesized:()=>wa,positionsAreOnSameLine:()=>E_,preProcessFile:()=>preProcessFile,probablyUsesSemicolons:()=>probablyUsesSemicolons,processCommentPragmas:()=>l7,processPragmasIntoFields:()=>u7,processTaggedTemplateExpression:()=>processTaggedTemplateExpression,programContainsEsModules:()=>programContainsEsModules,programContainsModules:()=>programContainsModules,projectReferenceIsEqualTo:()=>XA,propKeyHelper:()=>propKeyHelper,propertyNamePart:()=>propertyNamePart,pseudoBigIntToString:()=>Z2,punctuationPart:()=>punctuationPart,pushIfUnique:()=>wl,quote:()=>quote,quotePreferenceFromString:()=>quotePreferenceFromString,rangeContainsPosition:()=>rangeContainsPosition,rangeContainsPositionExclusive:()=>rangeContainsPositionExclusive,rangeContainsRange:()=>rangeContainsRange,rangeContainsRangeExclusive:()=>rangeContainsRangeExclusive,rangeContainsStartEnd:()=>rangeContainsStartEnd,rangeEndIsOnSameLineAsRangeStart:()=>eO,rangeEndPositionsAreOnSameLine:()=>ZI,rangeEquals:()=>u9,rangeIsOnSingleLine:()=>QI,rangeOfNode:()=>OM,rangeOfTypeParameters:()=>MM,rangeOverlapsWithStartEnd:()=>rangeOverlapsWithStartEnd,rangeStartIsOnSameLineAsRangeEnd:()=>j3,rangeStartPositionsAreOnSameLine:()=>YI,readBuilderProgram:()=>readBuilderProgram,readConfigFile:()=>readConfigFile,readHelper:()=>readHelper,readJson:()=>HI,readJsonConfigFile:()=>readJsonConfigFile,readJsonOrUndefined:()=>L3,realizeDiagnostics:()=>realizeDiagnostics,reduceEachLeadingCommentRange:()=>TT,reduceEachTrailingCommentRange:()=>xT,reduceLeft:()=>em,reduceLeftIterator:()=>MC,reducePathComponents:()=>va,refactor:()=>ts_refactor_exports,regExpEscape:()=>fM,relativeComplement:()=>_9,removeAllComments:()=>removeAllComments,removeEmitHelper:()=>removeEmitHelper,removeExtension:()=>pS,removeFileExtension:()=>bl,removeIgnoredPath:()=>removeIgnoredPath,removeMinAndVersionNumbers:()=>X9,removeOptionality:()=>removeOptionality,removePrefix:()=>e5,removeSuffix:()=>K9,removeTrailingDirectorySeparator:()=>g_,repeatString:()=>repeatString,replaceElement:()=>y9,resolutionExtensionIsTSOrJson:()=>kM,resolveConfigFileProjectName:()=>resolveConfigFileProjectName,resolveJSModule:()=>resolveJSModule,resolveLibrary:()=>resolveLibrary,resolveModuleName:()=>resolveModuleName,resolveModuleNameFromCache:()=>resolveModuleNameFromCache,resolvePackageNameToPackageJson:()=>resolvePackageNameToPackageJson,resolvePath:()=>g0,resolveProjectReferencePath:()=>resolveProjectReferencePath,resolveTripleslashReference:()=>resolveTripleslashReference,resolveTypeReferenceDirective:()=>resolveTypeReferenceDirective,resolvingEmptyArray:()=>AS,restHelper:()=>restHelper,returnFalse:()=>df,returnNoopFileWatcher:()=>returnNoopFileWatcher,returnTrue:()=>Kv,returnUndefined:()=>M9,returnsPromise:()=>returnsPromise,runInitializersHelper:()=>runInitializersHelper,sameFlatMap:()=>Fv,sameMap:()=>qC,sameMapping:()=>sameMapping,scanShebangTrivia:()=>kg,scanTokenAtPosition:()=>GD,scanner:()=>zo,screenStartingMessageCodes:()=>screenStartingMessageCodes,semanticDiagnosticsOptionDeclarations:()=>semanticDiagnosticsOptionDeclarations,serializeCompilerOptions:()=>serializeCompilerOptions,server:()=>ts_server_exports,servicesVersion:()=>P7,setCommentRange:()=>setCommentRange,setConfigFileInOptions:()=>setConfigFileInOptions,setConstantValue:()=>setConstantValue,setEachParent:()=>n_,setEmitFlags:()=>setEmitFlags,setFunctionNameHelper:()=>setFunctionNameHelper,setGetSourceFileAsHashVersioned:()=>setGetSourceFileAsHashVersioned,setIdentifierAutoGenerate:()=>setIdentifierAutoGenerate,setIdentifierGeneratedImportReference:()=>setIdentifierGeneratedImportReference,setIdentifierTypeArguments:()=>setIdentifierTypeArguments,setInternalEmitFlags:()=>setInternalEmitFlags,setLocalizedDiagnosticMessages:()=>G3,setModuleDefaultHelper:()=>setModuleDefaultHelper,setNodeFlags:()=>zM,setObjectAllocator:()=>K3,setOriginalNode:()=>Kn,setParent:()=>Vi,setParentRecursive:()=>gS,setPrivateIdentifier:()=>setPrivateIdentifier,setResolvedModule:()=>HA,setResolvedTypeReferenceDirective:()=>KA,setSnippetElement:()=>setSnippetElement,setSourceMapRange:()=>setSourceMapRange,setStackTraceLimit:()=>setStackTraceLimit,setStartsOnNewLine:()=>setStartsOnNewLine,setSyntheticLeadingComments:()=>setSyntheticLeadingComments,setSyntheticTrailingComments:()=>setSyntheticTrailingComments,setSys:()=>setSys,setSysLog:()=>setSysLog,setTextRange:()=>He,setTextRangeEnd:()=>hS,setTextRangePos:()=>qf,setTextRangePosEnd:()=>Va,setTextRangePosWidth:()=>zf,setTokenSourceMapRange:()=>setTokenSourceMapRange,setTypeNode:()=>setTypeNode,setUILocale:()=>Qv,setValueDeclaration:()=>iN,shouldAllowImportingTsExtension:()=>shouldAllowImportingTsExtension,shouldPreserveConstEnums:()=>eM,shouldResolveJsRequire:()=>QO,shouldUseUriStyleNodeCoreModules:()=>shouldUseUriStyleNodeCoreModules,showModuleSpecifier:()=>xO,signatureHasLiteralTypes:()=>signatureHasLiteralTypes,signatureHasRestParameter:()=>signatureHasRestParameter,signatureToDisplayParts:()=>signatureToDisplayParts,single:()=>f9,singleElementArray:()=>ff,singleIterator:()=>XC,singleOrMany:()=>m9,singleOrUndefined:()=>Zf,skipAlias:()=>pO,skipAssertions:()=>SR,skipConstraint:()=>skipConstraint,skipOuterExpressions:()=>ds,skipParentheses:()=>Fl,skipPartiallyEmittedExpressions:()=>vm,skipTrivia:()=>It,skipTypeChecking:()=>LM,skipTypeParentheses:()=>SN,skipWhile:()=>_5,sliceAfter:()=>NM,some:()=>ft,sort:()=>pf,sortAndDeduplicate:()=>Bv,sortAndDeduplicateDiagnostics:()=>K5,sourceFileAffectingCompilerOptions:()=>sourceFileAffectingCompilerOptions,sourceFileMayBeEmitted:()=>M0,sourceMapCommentRegExp:()=>sourceMapCommentRegExp,sourceMapCommentRegExpDontCareLineStart:()=>sourceMapCommentRegExpDontCareLineStart,spacePart:()=>spacePart,spanMap:()=>$C,spreadArrayHelper:()=>spreadArrayHelper,stableSort:()=>zv,startEndContainsRange:()=>startEndContainsRange,startEndOverlapsWithStartEnd:()=>startEndOverlapsWithStartEnd,startOnNewLine:()=>a1,startTracing:()=>startTracing,startsWith:()=>Jn,startsWithDirectory:()=>I5,startsWithUnderscore:()=>startsWithUnderscore,startsWithUseStrict:()=>K8,stringContains:()=>Ga,stringContainsAt:()=>stringContainsAt,stringToToken:()=>Al,stripQuotes:()=>nI,supportedDeclarationExtensions:()=>ob,supportedJSExtensions:()=>X0,supportedJSExtensionsFlat:()=>ab,supportedLocaleDirectories:()=>Xg,supportedTSExtensions:()=>Uo,supportedTSExtensionsFlat:()=>ib,supportedTSImplementationExtensions:()=>XS,suppressLeadingAndTrailingTrivia:()=>suppressLeadingAndTrailingTrivia,suppressLeadingTrivia:()=>suppressLeadingTrivia,suppressTrailingTrivia:()=>suppressTrailingTrivia,symbolEscapedNameNoDefault:()=>symbolEscapedNameNoDefault,symbolName:()=>Of,symbolNameNoDefault:()=>symbolNameNoDefault,symbolPart:()=>symbolPart,symbolToDisplayParts:()=>symbolToDisplayParts,syntaxMayBeASICandidate:()=>syntaxMayBeASICandidate,syntaxRequiresTrailingSemicolonOrASI:()=>syntaxRequiresTrailingSemicolonOrASI,sys:()=>h0,sysLog:()=>sysLog,tagNamesAreEquivalent:()=>gi,takeWhile:()=>s5,targetOptionDeclaration:()=>targetOptionDeclaration,templateObjectHelper:()=>templateObjectHelper,testFormatSettings:()=>testFormatSettings,textChangeRangeIsUnchanged:()=>UT,textChangeRangeNewSpan:()=>Ks,textChanges:()=>ts_textChanges_exports,textOrKeywordPart:()=>textOrKeywordPart,textPart:()=>textPart,textRangeContainsPositionInclusive:()=>X5,textSpanContainsPosition:()=>G5,textSpanContainsTextSpan:()=>$5,textSpanEnd:()=>tn,textSpanIntersection:()=>BT,textSpanIntersectsWith:()=>Z5,textSpanIntersectsWithPosition:()=>ek,textSpanIntersectsWithTextSpan:()=>Y5,textSpanIsEmpty:()=>FT,textSpanOverlap:()=>jT,textSpanOverlapsWith:()=>Q5,textSpansEqual:()=>textSpansEqual,textToKeywordObj:()=>tl,timestamp:()=>da,toArray:()=>Gd,toBuilderFileEmit:()=>toBuilderFileEmit,toBuilderStateFileInfoForMultiEmit:()=>toBuilderStateFileInfoForMultiEmit,toEditorSettings:()=>Zc,toFileNameLowerCase:()=>Xv,toLowerCase:()=>Gv,toPath:()=>vi,toProgramEmitPending:()=>toProgramEmitPending,tokenIsIdentifierOrKeyword:()=>At,tokenIsIdentifierOrKeywordOrGreaterThan:()=>bT,tokenToString:()=>an,trace:()=>trace,tracing:()=>fa,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:()=>am,trimStringEnd:()=>e_,trimStringStart:()=>ll,tryAddToSet:()=>GC,tryAndIgnoreErrors:()=>tryAndIgnoreErrors,tryCast:()=>Ar,tryDirectoryExists:()=>tryDirectoryExists,tryExtractTSExtension:()=>UI,tryFileExists:()=>tryFileExists,tryGetClassExtendingExpressionWithTypeArguments:()=>P3,tryGetClassImplementingOrExtendingExpressionWithTypeArguments:()=>N3,tryGetDirectories:()=>tryGetDirectories,tryGetExtensionFromPath:()=>Q2,tryGetImportFromModuleSpecifier:()=>D4,tryGetJSDocSatisfiesTypeNode:()=>kS,tryGetModuleNameFromFile:()=>Q8,tryGetModuleSpecifierFromDeclaration:()=>oN,tryGetNativePerformanceHooks:()=>f5,tryGetPropertyAccessOrIdentifierToString:()=>j0,tryGetPropertyNameOfBindingOrAssignmentElement:()=>Z8,tryGetSourceMappingURL:()=>tryGetSourceMappingURL,tryGetTextOfPropertyName:()=>Zg,tryIOAndConsumeErrors:()=>tryIOAndConsumeErrors,tryParsePattern:()=>dS,tryParsePatterns:()=>CM,tryParseRawSourceMap:()=>tryParseRawSourceMap,tryReadDirectory:()=>tryReadDirectory,tryReadFile:()=>tryReadFile,tryRemoveDirectoryPrefix:()=>dM,tryRemoveExtension:()=>uS,tryRemovePrefix:()=>nT,tryRemoveSuffix:()=>G9,typeAcquisitionDeclarations:()=>typeAcquisitionDeclarations,typeAliasNamePart:()=>typeAliasNamePart,typeDirectiveIsEqualTo:()=>eD,typeKeywords:()=>typeKeywords,typeParameterNamePart:()=>typeParameterNamePart,typeReferenceResolutionNameAndModeGetter:()=>typeReferenceResolutionNameAndModeGetter,typeToDisplayParts:()=>typeToDisplayParts,unchangedPollThresholds:()=>unchangedPollThresholds,unchangedTextChangeRange:()=>Gg,unescapeLeadingUnderscores:()=>Xo,unmangleScopedPackageName:()=>unmangleScopedPackageName,unorderedRemoveItem:()=>eT,unorderedRemoveItemAt:()=>pg,unreachableCodeIsError:()=>KO,unusedLabelIsError:()=>GO,unwrapInnermostStatementOfLabel:()=>pP,updateErrorForNoInputFiles:()=>updateErrorForNoInputFiles,updateLanguageServiceSourceFile:()=>k7,updateMissingFilePathsWatch:()=>updateMissingFilePathsWatch,updatePackageJsonWatch:()=>updatePackageJsonWatch,updateResolutionField:()=>updateResolutionField,updateSharedExtendedConfigFileWatcher:()=>updateSharedExtendedConfigFileWatcher,updateSourceFile:()=>Vb,updateWatchingWildcardDirectories:()=>updateWatchingWildcardDirectories,usesExtensionsOnImports:()=>lS,usingSingleLineStringWriter:()=>WA,utf16EncodeAsString:()=>$d,validateLocaleAndSetLanguage:()=>ik,valuesHelper:()=>valuesHelper,version:()=>uf,versionMajorMinor:()=>Mv,visitArray:()=>visitArray,visitCommaListElements:()=>visitCommaListElements,visitEachChild:()=>visitEachChild,visitFunctionBody:()=>visitFunctionBody,visitIterationBody:()=>visitIterationBody,visitLexicalEnvironment:()=>visitLexicalEnvironment,visitNode:()=>visitNode,visitNodes:()=>visitNodes2,visitParameterList:()=>visitParameterList,walkUpBindingElementsAndPatterns:()=>VT,walkUpLexicalEnvironments:()=>walkUpLexicalEnvironments,walkUpOuterExpressions:()=>xR,walkUpParenthesizedExpressions:()=>j4,walkUpParenthesizedTypes:()=>TN,walkUpParenthesizedTypesAndGetParentAndChild:()=>xN,whitespaceOrMapCommentRegExp:()=>whitespaceOrMapCommentRegExp,writeCommentRange:()=>wI,writeFile:()=>dI,writeFileEnsuringDirectories:()=>fI,zipToModeAwareCache:()=>zipToModeAwareCache,zipWith:()=>rh});var Iv=Ht({"src/typescript/_namespaces/ts.ts"(){"use strict";En(),m7(),U7(),mB()}}),yB=DC({"src/typescript/typescript.ts"(e,t){Iv(),Iv(),typeof console<"u"&&(M.loggingHost={log(n,i){switch(n){case 1:return console.error(i);case 2:return console.warn(i);case 3:return console.log(i);case 4:return console.log(i)}}}),t.exports=q7}});z7.exports=yB()});var o1=tt(W7=>{W7.typescriptVersionIsAtLeast=new Proxy({},{get:()=>!0})});var Gb=tt(Qr=>{"use strict";var hB=Qr&&Qr.__createBinding||(Object.create?function(e,t,n,i){i===void 0&&(i=n);var s=Object.getOwnPropertyDescriptor(t,n);(!s||("get"in s?!t.__esModule:s.writable||s.configurable))&&(s={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,i,s)}:function(e,t,n,i){i===void 0&&(i=n),e[i]=t[n]}),gB=Qr&&Qr.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),bB=Qr&&Qr.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var n in e)n!=="default"&&Object.prototype.hasOwnProperty.call(e,n)&&hB(t,e,n);return gB(t,e),t};Object.defineProperty(Qr,"__esModule",{value:!0});Qr.getDecorators=Qr.getModifiers=void 0;var j_=bB(Cn()),vB=o1(),V7=vB.typescriptVersionIsAtLeast["4.8"];function TB(e){var t;if(e!=null){if(V7){if(j_.canHaveModifiers(e)){let n=j_.getModifiers(e);return n?Array.from(n):void 0}return}return(t=e.modifiers)===null||t===void 0?void 0:t.filter(n=>!j_.isDecorator(n))}}Qr.getModifiers=TB;function xB(e){var t;if(e!=null){if(V7){if(j_.canHaveDecorators(e)){let n=j_.getDecorators(e);return n?Array.from(n):void 0}return}return(t=e.decorators)===null||t===void 0?void 0:t.filter(j_.isDecorator)}}Qr.getDecorators=xB});var H7=tt(s1=>{"use strict";Object.defineProperty(s1,"__esModule",{value:!0});s1.xhtmlEntities=void 0;s1.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"}});var Xb=tt(oo=>{"use strict";Object.defineProperty(oo,"__esModule",{value:!0});oo.AST_TOKEN_TYPES=oo.AST_NODE_TYPES=void 0;var SB;(function(e){e.AccessorProperty="AccessorProperty",e.ArrayExpression="ArrayExpression",e.ArrayPattern="ArrayPattern",e.ArrowFunctionExpression="ArrowFunctionExpression",e.AssignmentExpression="AssignmentExpression",e.AssignmentPattern="AssignmentPattern",e.AwaitExpression="AwaitExpression",e.BinaryExpression="BinaryExpression",e.BlockStatement="BlockStatement",e.BreakStatement="BreakStatement",e.CallExpression="CallExpression",e.CatchClause="CatchClause",e.ChainExpression="ChainExpression",e.ClassBody="ClassBody",e.ClassDeclaration="ClassDeclaration",e.ClassExpression="ClassExpression",e.ConditionalExpression="ConditionalExpression",e.ContinueStatement="ContinueStatement",e.DebuggerStatement="DebuggerStatement",e.Decorator="Decorator",e.DoWhileStatement="DoWhileStatement",e.EmptyStatement="EmptyStatement",e.ExportAllDeclaration="ExportAllDeclaration",e.ExportDefaultDeclaration="ExportDefaultDeclaration",e.ExportNamedDeclaration="ExportNamedDeclaration",e.ExportSpecifier="ExportSpecifier",e.ExpressionStatement="ExpressionStatement",e.ForInStatement="ForInStatement",e.ForOfStatement="ForOfStatement",e.ForStatement="ForStatement",e.FunctionDeclaration="FunctionDeclaration",e.FunctionExpression="FunctionExpression",e.Identifier="Identifier",e.IfStatement="IfStatement",e.ImportAttribute="ImportAttribute",e.ImportDeclaration="ImportDeclaration",e.ImportDefaultSpecifier="ImportDefaultSpecifier",e.ImportExpression="ImportExpression",e.ImportNamespaceSpecifier="ImportNamespaceSpecifier",e.ImportSpecifier="ImportSpecifier",e.JSXAttribute="JSXAttribute",e.JSXClosingElement="JSXClosingElement",e.JSXClosingFragment="JSXClosingFragment",e.JSXElement="JSXElement",e.JSXEmptyExpression="JSXEmptyExpression",e.JSXExpressionContainer="JSXExpressionContainer",e.JSXFragment="JSXFragment",e.JSXIdentifier="JSXIdentifier",e.JSXMemberExpression="JSXMemberExpression",e.JSXNamespacedName="JSXNamespacedName",e.JSXOpeningElement="JSXOpeningElement",e.JSXOpeningFragment="JSXOpeningFragment",e.JSXSpreadAttribute="JSXSpreadAttribute",e.JSXSpreadChild="JSXSpreadChild",e.JSXText="JSXText",e.LabeledStatement="LabeledStatement",e.Literal="Literal",e.LogicalExpression="LogicalExpression",e.MemberExpression="MemberExpression",e.MetaProperty="MetaProperty",e.MethodDefinition="MethodDefinition",e.NewExpression="NewExpression",e.ObjectExpression="ObjectExpression",e.ObjectPattern="ObjectPattern",e.PrivateIdentifier="PrivateIdentifier",e.Program="Program",e.Property="Property",e.PropertyDefinition="PropertyDefinition",e.RestElement="RestElement",e.ReturnStatement="ReturnStatement",e.SequenceExpression="SequenceExpression",e.SpreadElement="SpreadElement",e.StaticBlock="StaticBlock",e.Super="Super",e.SwitchCase="SwitchCase",e.SwitchStatement="SwitchStatement",e.TaggedTemplateExpression="TaggedTemplateExpression",e.TemplateElement="TemplateElement",e.TemplateLiteral="TemplateLiteral",e.ThisExpression="ThisExpression",e.ThrowStatement="ThrowStatement",e.TryStatement="TryStatement",e.UnaryExpression="UnaryExpression",e.UpdateExpression="UpdateExpression",e.VariableDeclaration="VariableDeclaration",e.VariableDeclarator="VariableDeclarator",e.WhileStatement="WhileStatement",e.WithStatement="WithStatement",e.YieldExpression="YieldExpression",e.TSAbstractAccessorProperty="TSAbstractAccessorProperty",e.TSAbstractKeyword="TSAbstractKeyword",e.TSAbstractMethodDefinition="TSAbstractMethodDefinition",e.TSAbstractPropertyDefinition="TSAbstractPropertyDefinition",e.TSAnyKeyword="TSAnyKeyword",e.TSArrayType="TSArrayType",e.TSAsExpression="TSAsExpression",e.TSAsyncKeyword="TSAsyncKeyword",e.TSBigIntKeyword="TSBigIntKeyword",e.TSBooleanKeyword="TSBooleanKeyword",e.TSCallSignatureDeclaration="TSCallSignatureDeclaration",e.TSClassImplements="TSClassImplements",e.TSConditionalType="TSConditionalType",e.TSConstructorType="TSConstructorType",e.TSConstructSignatureDeclaration="TSConstructSignatureDeclaration",e.TSDeclareFunction="TSDeclareFunction",e.TSDeclareKeyword="TSDeclareKeyword",e.TSEmptyBodyFunctionExpression="TSEmptyBodyFunctionExpression",e.TSEnumDeclaration="TSEnumDeclaration",e.TSEnumMember="TSEnumMember",e.TSExportAssignment="TSExportAssignment",e.TSExportKeyword="TSExportKeyword",e.TSExternalModuleReference="TSExternalModuleReference",e.TSFunctionType="TSFunctionType",e.TSInstantiationExpression="TSInstantiationExpression",e.TSImportEqualsDeclaration="TSImportEqualsDeclaration",e.TSImportType="TSImportType",e.TSIndexedAccessType="TSIndexedAccessType",e.TSIndexSignature="TSIndexSignature",e.TSInferType="TSInferType",e.TSInterfaceBody="TSInterfaceBody",e.TSInterfaceDeclaration="TSInterfaceDeclaration",e.TSInterfaceHeritage="TSInterfaceHeritage",e.TSIntersectionType="TSIntersectionType",e.TSIntrinsicKeyword="TSIntrinsicKeyword",e.TSLiteralType="TSLiteralType",e.TSMappedType="TSMappedType",e.TSMethodSignature="TSMethodSignature",e.TSModuleBlock="TSModuleBlock",e.TSModuleDeclaration="TSModuleDeclaration",e.TSNamedTupleMember="TSNamedTupleMember",e.TSNamespaceExportDeclaration="TSNamespaceExportDeclaration",e.TSNeverKeyword="TSNeverKeyword",e.TSNonNullExpression="TSNonNullExpression",e.TSNullKeyword="TSNullKeyword",e.TSNumberKeyword="TSNumberKeyword",e.TSObjectKeyword="TSObjectKeyword",e.TSOptionalType="TSOptionalType",e.TSParameterProperty="TSParameterProperty",e.TSPrivateKeyword="TSPrivateKeyword",e.TSPropertySignature="TSPropertySignature",e.TSProtectedKeyword="TSProtectedKeyword",e.TSPublicKeyword="TSPublicKeyword",e.TSQualifiedName="TSQualifiedName",e.TSReadonlyKeyword="TSReadonlyKeyword",e.TSRestType="TSRestType",e.TSSatisfiesExpression="TSSatisfiesExpression",e.TSStaticKeyword="TSStaticKeyword",e.TSStringKeyword="TSStringKeyword",e.TSSymbolKeyword="TSSymbolKeyword",e.TSTemplateLiteralType="TSTemplateLiteralType",e.TSThisType="TSThisType",e.TSTupleType="TSTupleType",e.TSTypeAliasDeclaration="TSTypeAliasDeclaration",e.TSTypeAnnotation="TSTypeAnnotation",e.TSTypeAssertion="TSTypeAssertion",e.TSTypeLiteral="TSTypeLiteral",e.TSTypeOperator="TSTypeOperator",e.TSTypeParameter="TSTypeParameter",e.TSTypeParameterDeclaration="TSTypeParameterDeclaration",e.TSTypeParameterInstantiation="TSTypeParameterInstantiation",e.TSTypePredicate="TSTypePredicate",e.TSTypeQuery="TSTypeQuery",e.TSTypeReference="TSTypeReference",e.TSUndefinedKeyword="TSUndefinedKeyword",e.TSUnionType="TSUnionType",e.TSUnknownKeyword="TSUnknownKeyword",e.TSVoidKeyword="TSVoidKeyword"})(SB=oo.AST_NODE_TYPES||(oo.AST_NODE_TYPES={}));var wB;(function(e){e.Boolean="Boolean",e.Identifier="Identifier",e.JSXIdentifier="JSXIdentifier",e.JSXText="JSXText",e.Keyword="Keyword",e.Null="Null",e.Numeric="Numeric",e.Punctuator="Punctuator",e.RegularExpression="RegularExpression",e.String="String",e.Template="Template",e.Block="Block",e.Line="Line"})(wB=oo.AST_TOKEN_TYPES||(oo.AST_TOKEN_TYPES={}))});var G7=tt(K7=>{"use strict";Object.defineProperty(K7,"__esModule",{value:!0})});var $7=tt(X7=>{"use strict";Object.defineProperty(X7,"__esModule",{value:!0})});var Q7=tt(Xi=>{"use strict";var EB=Xi&&Xi.__createBinding||(Object.create?function(e,t,n,i){i===void 0&&(i=n);var s=Object.getOwnPropertyDescriptor(t,n);(!s||("get"in s?!t.__esModule:s.writable||s.configurable))&&(s={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,i,s)}:function(e,t,n,i){i===void 0&&(i=n),e[i]=t[n]}),CB=Xi&&Xi.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),kB=Xi&&Xi.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var n in e)n!=="default"&&Object.prototype.hasOwnProperty.call(e,n)&&EB(t,e,n);return CB(t,e),t};Object.defineProperty(Xi,"__esModule",{value:!0});Xi.TSESTree=void 0;Xi.TSESTree=kB(Xb())});var Z7=tt(Ir=>{"use strict";var AB=Ir&&Ir.__createBinding||(Object.create?function(e,t,n,i){i===void 0&&(i=n);var s=Object.getOwnPropertyDescriptor(t,n);(!s||("get"in s?!t.__esModule:s.writable||s.configurable))&&(s={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,i,s)}:function(e,t,n,i){i===void 0&&(i=n),e[i]=t[n]}),$b=Ir&&Ir.__exportStar||function(e,t){for(var n in e)n!=="default"&&!Object.prototype.hasOwnProperty.call(t,n)&&AB(t,e,n)};Object.defineProperty(Ir,"__esModule",{value:!0});Ir.AST_TOKEN_TYPES=Ir.AST_NODE_TYPES=void 0;var Y7=Xb();Object.defineProperty(Ir,"AST_NODE_TYPES",{enumerable:!0,get:function(){return Y7.AST_NODE_TYPES}});Object.defineProperty(Ir,"AST_TOKEN_TYPES",{enumerable:!0,get:function(){return Y7.AST_TOKEN_TYPES}});$b(G7(),Ir);$b($7(),Ir);$b(Q7(),Ir)});var tw=tt(ew=>{"use strict";Object.defineProperty(ew,"__esModule",{value:!0})});var rw=tt(nw=>{"use strict";Object.defineProperty(nw,"__esModule",{value:!0})});var _1=tt(lr=>{"use strict";var DB=lr&&lr.__createBinding||(Object.create?function(e,t,n,i){i===void 0&&(i=n);var s=Object.getOwnPropertyDescriptor(t,n);(!s||("get"in s?!t.__esModule:s.writable||s.configurable))&&(s={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,i,s)}:function(e,t,n,i){i===void 0&&(i=n),e[i]=t[n]}),iw=lr&&lr.__exportStar||function(e,t){for(var n in e)n!=="default"&&!Object.prototype.hasOwnProperty.call(t,n)&&DB(t,e,n)};Object.defineProperty(lr,"__esModule",{value:!0});lr.TSESTree=lr.AST_TOKEN_TYPES=lr.AST_NODE_TYPES=void 0;var Qb=Z7();Object.defineProperty(lr,"AST_NODE_TYPES",{enumerable:!0,get:function(){return Qb.AST_NODE_TYPES}});Object.defineProperty(lr,"AST_TOKEN_TYPES",{enumerable:!0,get:function(){return Qb.AST_TOKEN_TYPES}});Object.defineProperty(lr,"TSESTree",{enumerable:!0,get:function(){return Qb.TSESTree}});iw(tw(),lr);iw(rw(),lr)});var l1=tt(xe=>{"use strict";var PB=xe&&xe.__createBinding||(Object.create?function(e,t,n,i){i===void 0&&(i=n);var s=Object.getOwnPropertyDescriptor(t,n);(!s||("get"in s?!t.__esModule:s.writable||s.configurable))&&(s={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,i,s)}:function(e,t,n,i){i===void 0&&(i=n),e[i]=t[n]}),NB=xe&&xe.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),IB=xe&&xe.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var n in e)n!=="default"&&Object.prototype.hasOwnProperty.call(e,n)&&PB(t,e,n);return NB(t,e),t};Object.defineProperty(xe,"__esModule",{value:!0});xe.isThisInTypeQuery=xe.isThisIdentifier=xe.identifierIsThisKeyword=xe.firstDefined=xe.nodeHasTokens=xe.createError=xe.TSError=xe.convertTokens=xe.convertToken=xe.getTokenType=xe.isChildUnwrappableOptionalChain=xe.isChainExpression=xe.isOptional=xe.isComputedProperty=xe.unescapeStringLiteralText=xe.hasJSXAncestor=xe.findFirstMatchingAncestor=xe.findNextToken=xe.getTSNodeAccessibility=xe.getDeclarationKind=xe.isJSXToken=xe.isToken=xe.getRange=xe.canContainDirective=xe.getLocFor=xe.getLineAndCharacterFor=xe.getBinaryExpressionType=xe.isJSDocComment=xe.isComment=xe.isComma=xe.getLastModifier=xe.hasModifier=xe.isESTreeClassMember=xe.getTextForTokenKind=xe.isLogicalOperator=xe.isAssignmentOperator=void 0;var kn=IB(Cn()),e6=Gb(),OB=H7(),on=_1(),MB=o1(),aw=MB.typescriptVersionIsAtLeast["5.0"],ze=kn.SyntaxKind,LB=[ze.BarBarToken,ze.AmpersandAmpersandToken,ze.QuestionQuestionToken];function ow(e){return e.kind>=ze.FirstAssignment&&e.kind<=ze.LastAssignment}xe.isAssignmentOperator=ow;function sw(e){return LB.includes(e.kind)}xe.isLogicalOperator=sw;function JB(e){return kn.tokenToString(e)}xe.getTextForTokenKind=JB;function RB(e){return e.kind!==ze.SemicolonClassElement}xe.isESTreeClassMember=RB;function FB(e,t){let n=(0,e6.getModifiers)(t);return(n==null?void 0:n.some(i=>i.kind===e))===!0}xe.hasModifier=FB;function jB(e){var t;let n=(0,e6.getModifiers)(e);return n==null?null:(t=n[n.length-1])!==null&&t!==void 0?t:null}xe.getLastModifier=jB;function BB(e){return e.kind===ze.CommaToken}xe.isComma=BB;function _w(e){return e.kind===ze.SingleLineCommentTrivia||e.kind===ze.MultiLineCommentTrivia}xe.isComment=_w;function cw(e){return e.kind===ze.JSDocComment}xe.isJSDocComment=cw;function UB(e){return ow(e)?on.AST_NODE_TYPES.AssignmentExpression:sw(e)?on.AST_NODE_TYPES.LogicalExpression:on.AST_NODE_TYPES.BinaryExpression}xe.getBinaryExpressionType=UB;function Yb(e,t){let n=t.getLineAndCharacterOfPosition(e);return{line:n.line+1,column:n.character}}xe.getLineAndCharacterFor=Yb;function Zb(e,t,n){return{start:Yb(e,n),end:Yb(t,n)}}xe.getLocFor=Zb;function qB(e){if(e.kind===kn.SyntaxKind.Block)switch(e.parent.kind){case kn.SyntaxKind.Constructor:case kn.SyntaxKind.GetAccessor:case kn.SyntaxKind.SetAccessor:case kn.SyntaxKind.ArrowFunction:case kn.SyntaxKind.FunctionExpression:case kn.SyntaxKind.FunctionDeclaration:case kn.SyntaxKind.MethodDeclaration:return!0;default:return!1}return!0}xe.canContainDirective=qB;function zB(e,t){return[e.getStart(t),e.getEnd()]}xe.getRange=zB;function lw(e){return e.kind>=ze.FirstToken&&e.kind<=ze.LastToken}xe.isToken=lw;function t6(e){return e.kind>=ze.JsxElement&&e.kind<=ze.JsxAttribute}xe.isJSXToken=t6;function WB(e){return e.flags&kn.NodeFlags.Let?"let":e.flags&kn.NodeFlags.Const?"const":"var"}xe.getDeclarationKind=WB;function VB(e){let t=(0,e6.getModifiers)(e);if(t==null)return null;for(let n of t)switch(n.kind){case ze.PublicKeyword:return"public";case ze.ProtectedKeyword:return"protected";case ze.PrivateKeyword:return"private";default:break}return null}xe.getTSNodeAccessibility=VB;function HB(e,t,n){return i(t);function i(s){return kn.isToken(s)&&s.pos===e.end?s:hw(s.getChildren(n),l=>(l.pos<=e.pos&&l.end>e.end||l.pos===e.end)&&yw(l,n)?i(l):void 0)}}xe.findNextToken=HB;function uw(e,t){for(;e;){if(t(e))return e;e=e.parent}}xe.findFirstMatchingAncestor=uw;function pw(e){return!!uw(e,t6)}xe.hasJSXAncestor=pw;function KB(e){return e.replace(/&(?:#\d+|#x[\da-fA-F]+|[0-9a-zA-Z]+);/g,t=>{let n=t.slice(1,-1);if(n[0]==="#"){let i=n[1]==="x"?parseInt(n.slice(2),16):parseInt(n.slice(1),10);return i>1114111?t:String.fromCodePoint(i)}return OB.xhtmlEntities[n]||t})}xe.unescapeStringLiteralText=KB;function GB(e){return e.kind===ze.ComputedPropertyName}xe.isComputedProperty=GB;function XB(e){return e.questionToken?e.questionToken.kind===ze.QuestionToken:!1}xe.isOptional=XB;function dw(e){return e.type===on.AST_NODE_TYPES.ChainExpression}xe.isChainExpression=dw;function $B(e,t){return dw(t)&&e.expression.kind!==kn.SyntaxKind.ParenthesizedExpression}xe.isChildUnwrappableOptionalChain=$B;function fw(e){let t;if(aw&&e.kind===ze.Identifier?t=kn.identifierToKeywordKind(e):"originalKeywordKind"in e&&(t=e.originalKeywordKind),t)return t===ze.NullKeyword?on.AST_TOKEN_TYPES.Null:t>=ze.FirstFutureReservedWord&&t<=ze.LastKeyword?on.AST_TOKEN_TYPES.Identifier:on.AST_TOKEN_TYPES.Keyword;if(e.kind>=ze.FirstKeyword&&e.kind<=ze.LastFutureReservedWord)return e.kind===ze.FalseKeyword||e.kind===ze.TrueKeyword?on.AST_TOKEN_TYPES.Boolean:on.AST_TOKEN_TYPES.Keyword;if(e.kind>=ze.FirstPunctuation&&e.kind<=ze.LastPunctuation)return on.AST_TOKEN_TYPES.Punctuator;if(e.kind>=ze.NoSubstitutionTemplateLiteral&&e.kind<=ze.TemplateTail)return on.AST_TOKEN_TYPES.Template;switch(e.kind){case ze.NumericLiteral:return on.AST_TOKEN_TYPES.Numeric;case ze.JsxText:return on.AST_TOKEN_TYPES.JSXText;case ze.StringLiteral:return e.parent&&(e.parent.kind===ze.JsxAttribute||e.parent.kind===ze.JsxElement)?on.AST_TOKEN_TYPES.JSXText:on.AST_TOKEN_TYPES.String;case ze.RegularExpressionLiteral:return on.AST_TOKEN_TYPES.RegularExpression;case ze.Identifier:case ze.ConstructorKeyword:case ze.GetKeyword:case ze.SetKeyword:default:}return e.parent&&e.kind===ze.Identifier&&(t6(e.parent)||e.parent.kind===ze.PropertyAccessExpression&&pw(e))?on.AST_TOKEN_TYPES.JSXIdentifier:on.AST_TOKEN_TYPES.Identifier}xe.getTokenType=fw;function mw(e,t){let n=e.kind===ze.JsxText?e.getFullStart():e.getStart(t),i=e.getEnd(),s=t.text.slice(n,i),l=fw(e);return l===on.AST_TOKEN_TYPES.RegularExpression?{type:l,value:s,range:[n,i],loc:Zb(n,i,t),regex:{pattern:s.slice(1,s.lastIndexOf("/")),flags:s.slice(s.lastIndexOf("/")+1)}}:{type:l,value:s,range:[n,i],loc:Zb(n,i,t)}}xe.convertToken=mw;function QB(e){let t=[];function n(i){if(!(_w(i)||cw(i)))if(lw(i)&&i.kind!==ze.EndOfFileToken){let s=mw(i,e);s&&t.push(s)}else i.getChildren(e).forEach(n)}return n(e),t}xe.convertTokens=QB;var c1=class extends Error{constructor(t,n,i,s,l){super(t),this.fileName=n,this.index=i,this.lineNumber=s,this.column=l,Object.defineProperty(this,"name",{value:new.target.name,enumerable:!1,configurable:!0})}};xe.TSError=c1;function YB(e,t,n){let i=e.getLineAndCharacterOfPosition(t);return new c1(n,e.fileName,t,i.line+1,i.character)}xe.createError=YB;function yw(e,t){return e.kind===ze.EndOfFileToken?!!e.jsDoc:e.getWidth(t)!==0}xe.nodeHasTokens=yw;function hw(e,t){if(e!==void 0)for(let n=0;n{"use strict";var eU=Yr&&Yr.__createBinding||(Object.create?function(e,t,n,i){i===void 0&&(i=n);var s=Object.getOwnPropertyDescriptor(t,n);(!s||("get"in s?!t.__esModule:s.writable||s.configurable))&&(s={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,i,s)}:function(e,t,n,i){i===void 0&&(i=n),e[i]=t[n]}),tU=Yr&&Yr.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),nU=Yr&&Yr.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var n in e)n!=="default"&&Object.prototype.hasOwnProperty.call(e,n)&&eU(t,e,n);return tU(t,e),t};Object.defineProperty(Yr,"__esModule",{value:!0});Yr.Converter=Yr.convertError=void 0;var so=nU(Cn()),$i=Gb(),ye=l1(),q=_1(),vw=o1(),O=so.SyntaxKind;function rU(e){return(0,ye.createError)(e.file,e.start,"message"in e&&e.message||e.messageText)}Yr.convertError=rU;var n6=class{constructor(t,n){this.esTreeNodeToTSNodeMap=new WeakMap,this.tsNodeToESTreeNodeMap=new WeakMap,this.allowPattern=!1,this.inTypeMode=!1,this.ast=t,this.options=Object.assign({},n)}getASTMaps(){return{esTreeNodeToTSNodeMap:this.esTreeNodeToTSNodeMap,tsNodeToESTreeNodeMap:this.tsNodeToESTreeNodeMap}}convertProgram(){return this.converter(this.ast)}converter(t,n,i,s){if(!t)return null;let l=this.inTypeMode,d=this.allowPattern;i!==void 0&&(this.inTypeMode=i),s!==void 0&&(this.allowPattern=s);let y=this.convertNode(t,n??t.parent);return this.registerTSNodeInNodeMap(t,y),this.inTypeMode=l,this.allowPattern=d,y}fixExports(t,n){let i=(0,$i.getModifiers)(t);if((i==null?void 0:i[0].kind)===O.ExportKeyword){this.registerTSNodeInNodeMap(t,n);let s=i[0],l=i[1],d=l&&l.kind===O.DefaultKeyword,y=d?(0,ye.findNextToken)(l,this.ast,this.ast):(0,ye.findNextToken)(s,this.ast,this.ast);if(n.range[0]=y.getStart(this.ast),n.loc=(0,ye.getLocFor)(n.range[0],n.range[1],this.ast),d)return this.createNode(t,{type:q.AST_NODE_TYPES.ExportDefaultDeclaration,declaration:n,range:[s.getStart(this.ast),n.range[1]],exportKind:"value"});{let p=n.type===q.AST_NODE_TYPES.TSInterfaceDeclaration||n.type===q.AST_NODE_TYPES.TSTypeAliasDeclaration,x="declare"in n&&n.declare===!0;return this.createNode(t,{type:q.AST_NODE_TYPES.ExportNamedDeclaration,declaration:n,specifiers:[],source:null,exportKind:p||x?"type":"value",range:[s.getStart(this.ast),n.range[1]],assertions:[]})}}return n}registerTSNodeInNodeMap(t,n){n&&this.options.shouldPreserveNodeMaps&&(this.tsNodeToESTreeNodeMap.has(t)||this.tsNodeToESTreeNodeMap.set(t,n))}convertPattern(t,n){return this.converter(t,n,this.inTypeMode,!0)}convertChild(t,n){return this.converter(t,n,this.inTypeMode,!1)}convertType(t,n){return this.converter(t,n,!0,!1)}createNode(t,n){let i=n;return i.range||(i.range=(0,ye.getRange)(t,this.ast)),i.loc||(i.loc=(0,ye.getLocFor)(i.range[0],i.range[1],this.ast)),i&&this.options.shouldPreserveNodeMaps&&this.esTreeNodeToTSNodeMap.set(i,t),i}convertBindingNameWithTypeAnnotation(t,n,i){let s=this.convertPattern(t);return n&&(s.typeAnnotation=this.convertTypeAnnotation(n,i),this.fixParentLocation(s,s.typeAnnotation.range)),s}convertTypeAnnotation(t,n){let i=(n==null?void 0:n.kind)===O.FunctionType||(n==null?void 0:n.kind)===O.ConstructorType?2:1,s=t.getFullStart()-i,l=(0,ye.getLocFor)(s,t.end,this.ast);return{type:q.AST_NODE_TYPES.TSTypeAnnotation,loc:l,range:[s,t.end],typeAnnotation:this.convertType(t)}}convertBodyExpressions(t,n){let i=(0,ye.canContainDirective)(n);return t.map(s=>{let l=this.convertChild(s);if(i)if(l!=null&&l.expression&&so.isExpressionStatement(s)&&so.isStringLiteral(s.expression)){let d=l.expression.raw;return l.directive=d.slice(1,-1),l}else i=!1;return l}).filter(s=>s)}convertTypeArgumentsToTypeParameters(t,n){let i=(0,ye.findNextToken)(t,this.ast,this.ast);return this.createNode(n,{type:q.AST_NODE_TYPES.TSTypeParameterInstantiation,range:[t.pos-1,i.end],params:t.map(s=>this.convertType(s))})}convertTSTypeParametersToTypeParametersDeclaration(t){let n=(0,ye.findNextToken)(t,this.ast,this.ast);return{type:q.AST_NODE_TYPES.TSTypeParameterDeclaration,range:[t.pos-1,n.end],loc:(0,ye.getLocFor)(t.pos-1,n.end,this.ast),params:t.map(i=>this.convertType(i))}}convertParameters(t){return t!=null&&t.length?t.map(n=>{let i=this.convertChild(n),s=(0,$i.getDecorators)(n);return s!=null&&s.length&&(i.decorators=s.map(l=>this.convertChild(l))),i}):[]}convertChainExpression(t,n){let{child:i,isOptional:s}=(()=>t.type===q.AST_NODE_TYPES.MemberExpression?{child:t.object,isOptional:t.optional}:t.type===q.AST_NODE_TYPES.CallExpression?{child:t.callee,isOptional:t.optional}:{child:t.expression,isOptional:!1})(),l=(0,ye.isChildUnwrappableOptionalChain)(n,i);if(!l&&!s)return t;if(l&&(0,ye.isChainExpression)(i)){let d=i.expression;t.type===q.AST_NODE_TYPES.MemberExpression?t.object=d:t.type===q.AST_NODE_TYPES.CallExpression?t.callee=d:t.expression=d}return this.createNode(n,{type:q.AST_NODE_TYPES.ChainExpression,expression:t})}deeplyCopy(t){if(t.kind===so.SyntaxKind.JSDocFunctionType)throw(0,ye.createError)(this.ast,t.pos,"JSDoc types can only be used inside documentation comments.");let n=`TS${O[t.kind]}`;if(this.options.errorOnUnknownASTType&&!q.AST_NODE_TYPES[n])throw new Error(`Unknown AST_NODE_TYPE: "${n}"`);let i=this.createNode(t,{type:n});"type"in t&&(i.typeAnnotation=t.type&&"kind"in t.type&&so.isTypeNode(t.type)?this.convertTypeAnnotation(t.type,t):null),"typeArguments"in t&&(i.typeParameters=t.typeArguments&&"pos"in t.typeArguments?this.convertTypeArgumentsToTypeParameters(t.typeArguments,t):null),"typeParameters"in t&&(i.typeParameters=t.typeParameters&&"pos"in t.typeParameters?this.convertTSTypeParametersToTypeParametersDeclaration(t.typeParameters):null);let s=(0,$i.getDecorators)(t);s!=null&&s.length&&(i.decorators=s.map(d=>this.convertChild(d)));let l=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(t).filter(([d])=>!l.has(d)).forEach(([d,y])=>{Array.isArray(y)?i[d]=y.map(p=>this.convertChild(p)):y&&typeof y=="object"&&y.kind?i[d]=this.convertChild(y):i[d]=y}),i}convertJSXIdentifier(t){let n=this.createNode(t,{type:q.AST_NODE_TYPES.JSXIdentifier,name:t.getText()});return this.registerTSNodeInNodeMap(t,n),n}convertJSXNamespaceOrIdentifier(t){let n=t.getText(),i=n.indexOf(":");if(i>0){let s=(0,ye.getRange)(t,this.ast),l=this.createNode(t,{type:q.AST_NODE_TYPES.JSXNamespacedName,namespace:this.createNode(t,{type:q.AST_NODE_TYPES.JSXIdentifier,name:n.slice(0,i),range:[s[0],s[0]+i]}),name:this.createNode(t,{type:q.AST_NODE_TYPES.JSXIdentifier,name:n.slice(i+1),range:[s[0]+i+1,s[1]]}),range:s});return this.registerTSNodeInNodeMap(t,l),l}return this.convertJSXIdentifier(t)}convertJSXTagName(t,n){let i;switch(t.kind){case O.PropertyAccessExpression:if(t.name.kind===O.PrivateIdentifier)throw new Error("Non-private identifier expected.");i=this.createNode(t,{type:q.AST_NODE_TYPES.JSXMemberExpression,object:this.convertJSXTagName(t.expression,n),property:this.convertJSXIdentifier(t.name)});break;case O.ThisKeyword:case O.Identifier:default:return this.convertJSXNamespaceOrIdentifier(t)}return this.registerTSNodeInNodeMap(t,i),i}convertMethodSignature(t){let n=this.createNode(t,{type:q.AST_NODE_TYPES.TSMethodSignature,computed:(0,ye.isComputedProperty)(t.name),key:this.convertChild(t.name),params:this.convertParameters(t.parameters),kind:(()=>{switch(t.kind){case O.GetAccessor:return"get";case O.SetAccessor:return"set";case O.MethodSignature:return"method"}})()});(0,ye.isOptional)(t)&&(n.optional=!0),t.type&&(n.returnType=this.convertTypeAnnotation(t.type,t)),(0,ye.hasModifier)(O.ReadonlyKeyword,t)&&(n.readonly=!0),t.typeParameters&&(n.typeParameters=this.convertTSTypeParametersToTypeParametersDeclaration(t.typeParameters));let i=(0,ye.getTSNodeAccessibility)(t);return i&&(n.accessibility=i),(0,ye.hasModifier)(O.ExportKeyword,t)&&(n.export=!0),(0,ye.hasModifier)(O.StaticKeyword,t)&&(n.static=!0),n}convertAssertClasue(t){return t===void 0?[]:t.elements.map(n=>this.convertChild(n))}applyModifiersToResult(t,n){if(!n)return;let i=[];for(let s of n)switch(s.kind){case O.ExportKeyword:case O.DefaultKeyword:break;case O.ConstKeyword:t.const=!0;break;case O.DeclareKeyword:t.declare=!0;break;default:i.push(this.convertChild(s));break}i.length>0&&(t.modifiers=i)}fixParentLocation(t,n){n[0]t.range[1]&&(t.range[1]=n[1],t.loc.end=(0,ye.getLineAndCharacterFor)(t.range[1],this.ast))}assertModuleSpecifier(t,n){var i;if(!n&&t.moduleSpecifier==null)throw(0,ye.createError)(this.ast,t.pos,"Module specifier must be a string literal.");if(t.moduleSpecifier&&((i=t.moduleSpecifier)===null||i===void 0?void 0:i.kind)!==O.StringLiteral)throw(0,ye.createError)(this.ast,t.moduleSpecifier.pos,"Module specifier must be a string literal.")}convertNode(t,n){var i,s,l,d,y,p,x,h,D,w;switch(t.kind){case O.SourceFile:return this.createNode(t,{type:q.AST_NODE_TYPES.Program,body:this.convertBodyExpressions(t.statements,t),sourceType:t.externalModuleIndicator?"module":"script",range:[t.getStart(this.ast),t.endOfFileToken.end]});case O.Block:return this.createNode(t,{type:q.AST_NODE_TYPES.BlockStatement,body:this.convertBodyExpressions(t.statements,t)});case O.Identifier:return(0,ye.isThisInTypeQuery)(t)?this.createNode(t,{type:q.AST_NODE_TYPES.ThisExpression}):this.createNode(t,{type:q.AST_NODE_TYPES.Identifier,name:t.text});case O.PrivateIdentifier:return this.createNode(t,{type:q.AST_NODE_TYPES.PrivateIdentifier,name:t.text.slice(1)});case O.WithStatement:return this.createNode(t,{type:q.AST_NODE_TYPES.WithStatement,object:this.convertChild(t.expression),body:this.convertChild(t.statement)});case O.ReturnStatement:return this.createNode(t,{type:q.AST_NODE_TYPES.ReturnStatement,argument:this.convertChild(t.expression)});case O.LabeledStatement:return this.createNode(t,{type:q.AST_NODE_TYPES.LabeledStatement,label:this.convertChild(t.label),body:this.convertChild(t.statement)});case O.ContinueStatement:return this.createNode(t,{type:q.AST_NODE_TYPES.ContinueStatement,label:this.convertChild(t.label)});case O.BreakStatement:return this.createNode(t,{type:q.AST_NODE_TYPES.BreakStatement,label:this.convertChild(t.label)});case O.IfStatement:return this.createNode(t,{type:q.AST_NODE_TYPES.IfStatement,test:this.convertChild(t.expression),consequent:this.convertChild(t.thenStatement),alternate:this.convertChild(t.elseStatement)});case O.SwitchStatement:return this.createNode(t,{type:q.AST_NODE_TYPES.SwitchStatement,discriminant:this.convertChild(t.expression),cases:t.caseBlock.clauses.map(g=>this.convertChild(g))});case O.CaseClause:case O.DefaultClause:return this.createNode(t,{type:q.AST_NODE_TYPES.SwitchCase,test:t.kind===O.CaseClause?this.convertChild(t.expression):null,consequent:t.statements.map(g=>this.convertChild(g))});case O.ThrowStatement:return this.createNode(t,{type:q.AST_NODE_TYPES.ThrowStatement,argument:this.convertChild(t.expression)});case O.TryStatement:return this.createNode(t,{type:q.AST_NODE_TYPES.TryStatement,block:this.convertChild(t.tryBlock),handler:this.convertChild(t.catchClause),finalizer:this.convertChild(t.finallyBlock)});case O.CatchClause:return this.createNode(t,{type:q.AST_NODE_TYPES.CatchClause,param:t.variableDeclaration?this.convertBindingNameWithTypeAnnotation(t.variableDeclaration.name,t.variableDeclaration.type):null,body:this.convertChild(t.block)});case O.WhileStatement:return this.createNode(t,{type:q.AST_NODE_TYPES.WhileStatement,test:this.convertChild(t.expression),body:this.convertChild(t.statement)});case O.DoStatement:return this.createNode(t,{type:q.AST_NODE_TYPES.DoWhileStatement,test:this.convertChild(t.expression),body:this.convertChild(t.statement)});case O.ForStatement:return this.createNode(t,{type:q.AST_NODE_TYPES.ForStatement,init:this.convertChild(t.initializer),test:this.convertChild(t.condition),update:this.convertChild(t.incrementor),body:this.convertChild(t.statement)});case O.ForInStatement:return this.createNode(t,{type:q.AST_NODE_TYPES.ForInStatement,left:this.convertPattern(t.initializer),right:this.convertChild(t.expression),body:this.convertChild(t.statement)});case O.ForOfStatement:return this.createNode(t,{type:q.AST_NODE_TYPES.ForOfStatement,left:this.convertPattern(t.initializer),right:this.convertChild(t.expression),body:this.convertChild(t.statement),await:!!(t.awaitModifier&&t.awaitModifier.kind===O.AwaitKeyword)});case O.FunctionDeclaration:{let g=(0,ye.hasModifier)(O.DeclareKeyword,t),A=this.createNode(t,{type:g||!t.body?q.AST_NODE_TYPES.TSDeclareFunction:q.AST_NODE_TYPES.FunctionDeclaration,id:this.convertChild(t.name),generator:!!t.asteriskToken,expression:!1,async:(0,ye.hasModifier)(O.AsyncKeyword,t),params:this.convertParameters(t.parameters),body:this.convertChild(t.body)||void 0});return t.type&&(A.returnType=this.convertTypeAnnotation(t.type,t)),t.typeParameters&&(A.typeParameters=this.convertTSTypeParametersToTypeParametersDeclaration(t.typeParameters)),g&&(A.declare=!0),this.fixExports(t,A)}case O.VariableDeclaration:{let g=this.createNode(t,{type:q.AST_NODE_TYPES.VariableDeclarator,id:this.convertBindingNameWithTypeAnnotation(t.name,t.type,t),init:this.convertChild(t.initializer)});return t.exclamationToken&&(g.definite=!0),g}case O.VariableStatement:{let g=this.createNode(t,{type:q.AST_NODE_TYPES.VariableDeclaration,declarations:t.declarationList.declarations.map(A=>this.convertChild(A)),kind:(0,ye.getDeclarationKind)(t.declarationList)});return(0,ye.hasModifier)(O.DeclareKeyword,t)&&(g.declare=!0),this.fixExports(t,g)}case O.VariableDeclarationList:return this.createNode(t,{type:q.AST_NODE_TYPES.VariableDeclaration,declarations:t.declarations.map(g=>this.convertChild(g)),kind:(0,ye.getDeclarationKind)(t)});case O.ExpressionStatement:return this.createNode(t,{type:q.AST_NODE_TYPES.ExpressionStatement,expression:this.convertChild(t.expression)});case O.ThisKeyword:return this.createNode(t,{type:q.AST_NODE_TYPES.ThisExpression});case O.ArrayLiteralExpression:return this.allowPattern?this.createNode(t,{type:q.AST_NODE_TYPES.ArrayPattern,elements:t.elements.map(g=>this.convertPattern(g))}):this.createNode(t,{type:q.AST_NODE_TYPES.ArrayExpression,elements:t.elements.map(g=>this.convertChild(g))});case O.ObjectLiteralExpression:return this.allowPattern?this.createNode(t,{type:q.AST_NODE_TYPES.ObjectPattern,properties:t.properties.map(g=>this.convertPattern(g))}):this.createNode(t,{type:q.AST_NODE_TYPES.ObjectExpression,properties:t.properties.map(g=>this.convertChild(g))});case O.PropertyAssignment:return this.createNode(t,{type:q.AST_NODE_TYPES.Property,key:this.convertChild(t.name),value:this.converter(t.initializer,t,this.inTypeMode,this.allowPattern),computed:(0,ye.isComputedProperty)(t.name),method:!1,shorthand:!1,kind:"init"});case O.ShorthandPropertyAssignment:return t.objectAssignmentInitializer?this.createNode(t,{type:q.AST_NODE_TYPES.Property,key:this.convertChild(t.name),value:this.createNode(t,{type:q.AST_NODE_TYPES.AssignmentPattern,left:this.convertPattern(t.name),right:this.convertChild(t.objectAssignmentInitializer)}),computed:!1,method:!1,shorthand:!0,kind:"init"}):this.createNode(t,{type:q.AST_NODE_TYPES.Property,key:this.convertChild(t.name),value:this.convertChild(t.name),computed:!1,method:!1,shorthand:!0,kind:"init"});case O.ComputedPropertyName:return this.convertChild(t.expression);case O.PropertyDeclaration:{let g=(0,ye.hasModifier)(O.AbstractKeyword,t),A=(0,ye.hasModifier)(O.AccessorKeyword,t),B=(()=>A?g?q.AST_NODE_TYPES.TSAbstractAccessorProperty:q.AST_NODE_TYPES.AccessorProperty:g?q.AST_NODE_TYPES.TSAbstractPropertyDefinition:q.AST_NODE_TYPES.PropertyDefinition)(),G=this.createNode(t,{type:B,key:this.convertChild(t.name),value:g?null:this.convertChild(t.initializer),computed:(0,ye.isComputedProperty)(t.name),static:(0,ye.hasModifier)(O.StaticKeyword,t),readonly:(0,ye.hasModifier)(O.ReadonlyKeyword,t)||void 0,declare:(0,ye.hasModifier)(O.DeclareKeyword,t),override:(0,ye.hasModifier)(O.OverrideKeyword,t)});t.type&&(G.typeAnnotation=this.convertTypeAnnotation(t.type,t));let oe=(0,$i.getDecorators)(t);oe&&(G.decorators=oe.map(W=>this.convertChild(W)));let Q=(0,ye.getTSNodeAccessibility)(t);return Q&&(G.accessibility=Q),(t.name.kind===O.Identifier||t.name.kind===O.ComputedPropertyName||t.name.kind===O.PrivateIdentifier)&&t.questionToken&&(G.optional=!0),t.exclamationToken&&(G.definite=!0),G.key.type===q.AST_NODE_TYPES.Literal&&t.questionToken&&(G.optional=!0),G}case O.GetAccessor:case O.SetAccessor:if(t.parent.kind===O.InterfaceDeclaration||t.parent.kind===O.TypeLiteral)return this.convertMethodSignature(t);case O.MethodDeclaration:{let g=this.createNode(t,{type:t.body?q.AST_NODE_TYPES.FunctionExpression:q.AST_NODE_TYPES.TSEmptyBodyFunctionExpression,id:null,generator:!!t.asteriskToken,expression:!1,async:(0,ye.hasModifier)(O.AsyncKeyword,t),body:this.convertChild(t.body),range:[t.parameters.pos-1,t.end],params:[]});t.type&&(g.returnType=this.convertTypeAnnotation(t.type,t)),t.typeParameters&&(g.typeParameters=this.convertTSTypeParametersToTypeParametersDeclaration(t.typeParameters),this.fixParentLocation(g,g.typeParameters.range));let A;if(n.kind===O.ObjectLiteralExpression)g.params=t.parameters.map(B=>this.convertChild(B)),A=this.createNode(t,{type:q.AST_NODE_TYPES.Property,key:this.convertChild(t.name),value:g,computed:(0,ye.isComputedProperty)(t.name),method:t.kind===O.MethodDeclaration,shorthand:!1,kind:"init"});else{g.params=this.convertParameters(t.parameters);let B=(0,ye.hasModifier)(O.AbstractKeyword,t)?q.AST_NODE_TYPES.TSAbstractMethodDefinition:q.AST_NODE_TYPES.MethodDefinition;A=this.createNode(t,{type:B,key:this.convertChild(t.name),value:g,computed:(0,ye.isComputedProperty)(t.name),static:(0,ye.hasModifier)(O.StaticKeyword,t),kind:"method",override:(0,ye.hasModifier)(O.OverrideKeyword,t)});let G=(0,$i.getDecorators)(t);G&&(A.decorators=G.map(Q=>this.convertChild(Q)));let oe=(0,ye.getTSNodeAccessibility)(t);oe&&(A.accessibility=oe)}return t.questionToken&&(A.optional=!0),t.kind===O.GetAccessor?A.kind="get":t.kind===O.SetAccessor?A.kind="set":!A.static&&t.name.kind===O.StringLiteral&&t.name.text==="constructor"&&A.type!==q.AST_NODE_TYPES.Property&&(A.kind="constructor"),A}case O.Constructor:{let g=(0,ye.getLastModifier)(t),A=g&&(0,ye.findNextToken)(g,t,this.ast)||t.getFirstToken(),B=this.createNode(t,{type:t.body?q.AST_NODE_TYPES.FunctionExpression:q.AST_NODE_TYPES.TSEmptyBodyFunctionExpression,id:null,params:this.convertParameters(t.parameters),generator:!1,expression:!1,async:!1,body:this.convertChild(t.body),range:[t.parameters.pos-1,t.end]});t.typeParameters&&(B.typeParameters=this.convertTSTypeParametersToTypeParametersDeclaration(t.typeParameters),this.fixParentLocation(B,B.typeParameters.range)),t.type&&(B.returnType=this.convertTypeAnnotation(t.type,t));let G=this.createNode(t,{type:q.AST_NODE_TYPES.Identifier,name:"constructor",range:[A.getStart(this.ast),A.end]}),oe=(0,ye.hasModifier)(O.StaticKeyword,t),Q=this.createNode(t,{type:(0,ye.hasModifier)(O.AbstractKeyword,t)?q.AST_NODE_TYPES.TSAbstractMethodDefinition:q.AST_NODE_TYPES.MethodDefinition,key:G,value:B,computed:!1,static:oe,kind:oe?"method":"constructor",override:!1}),W=(0,ye.getTSNodeAccessibility)(t);return W&&(Q.accessibility=W),Q}case O.FunctionExpression:{let g=this.createNode(t,{type:q.AST_NODE_TYPES.FunctionExpression,id:this.convertChild(t.name),generator:!!t.asteriskToken,params:this.convertParameters(t.parameters),body:this.convertChild(t.body),async:(0,ye.hasModifier)(O.AsyncKeyword,t),expression:!1});return t.type&&(g.returnType=this.convertTypeAnnotation(t.type,t)),t.typeParameters&&(g.typeParameters=this.convertTSTypeParametersToTypeParametersDeclaration(t.typeParameters)),g}case O.SuperKeyword:return this.createNode(t,{type:q.AST_NODE_TYPES.Super});case O.ArrayBindingPattern:return this.createNode(t,{type:q.AST_NODE_TYPES.ArrayPattern,elements:t.elements.map(g=>this.convertPattern(g))});case O.OmittedExpression:return null;case O.ObjectBindingPattern:return this.createNode(t,{type:q.AST_NODE_TYPES.ObjectPattern,properties:t.elements.map(g=>this.convertPattern(g))});case O.BindingElement:if(n.kind===O.ArrayBindingPattern){let g=this.convertChild(t.name,n);return t.initializer?this.createNode(t,{type:q.AST_NODE_TYPES.AssignmentPattern,left:g,right:this.convertChild(t.initializer)}):t.dotDotDotToken?this.createNode(t,{type:q.AST_NODE_TYPES.RestElement,argument:g}):g}else{let g;return t.dotDotDotToken?g=this.createNode(t,{type:q.AST_NODE_TYPES.RestElement,argument:this.convertChild((i=t.propertyName)!==null&&i!==void 0?i:t.name)}):g=this.createNode(t,{type:q.AST_NODE_TYPES.Property,key:this.convertChild((s=t.propertyName)!==null&&s!==void 0?s:t.name),value:this.convertChild(t.name),computed:!!(t.propertyName&&t.propertyName.kind===O.ComputedPropertyName),method:!1,shorthand:!t.propertyName,kind:"init"}),t.initializer&&(g.value=this.createNode(t,{type:q.AST_NODE_TYPES.AssignmentPattern,left:this.convertChild(t.name),right:this.convertChild(t.initializer),range:[t.name.getStart(this.ast),t.initializer.end]})),g}case O.ArrowFunction:{let g=this.createNode(t,{type:q.AST_NODE_TYPES.ArrowFunctionExpression,generator:!1,id:null,params:this.convertParameters(t.parameters),body:this.convertChild(t.body),async:(0,ye.hasModifier)(O.AsyncKeyword,t),expression:t.body.kind!==O.Block});return t.type&&(g.returnType=this.convertTypeAnnotation(t.type,t)),t.typeParameters&&(g.typeParameters=this.convertTSTypeParametersToTypeParametersDeclaration(t.typeParameters)),g}case O.YieldExpression:return this.createNode(t,{type:q.AST_NODE_TYPES.YieldExpression,delegate:!!t.asteriskToken,argument:this.convertChild(t.expression)});case O.AwaitExpression:return this.createNode(t,{type:q.AST_NODE_TYPES.AwaitExpression,argument:this.convertChild(t.expression)});case O.NoSubstitutionTemplateLiteral:return this.createNode(t,{type:q.AST_NODE_TYPES.TemplateLiteral,quasis:[this.createNode(t,{type:q.AST_NODE_TYPES.TemplateElement,value:{raw:this.ast.text.slice(t.getStart(this.ast)+1,t.end-1),cooked:t.text},tail:!0})],expressions:[]});case O.TemplateExpression:{let g=this.createNode(t,{type:q.AST_NODE_TYPES.TemplateLiteral,quasis:[this.convertChild(t.head)],expressions:[]});return t.templateSpans.forEach(A=>{g.expressions.push(this.convertChild(A.expression)),g.quasis.push(this.convertChild(A.literal))}),g}case O.TaggedTemplateExpression:return this.createNode(t,{type:q.AST_NODE_TYPES.TaggedTemplateExpression,typeParameters:t.typeArguments?this.convertTypeArgumentsToTypeParameters(t.typeArguments,t):void 0,tag:this.convertChild(t.tag),quasi:this.convertChild(t.template)});case O.TemplateHead:case O.TemplateMiddle:case O.TemplateTail:{let g=t.kind===O.TemplateTail;return this.createNode(t,{type:q.AST_NODE_TYPES.TemplateElement,value:{raw:this.ast.text.slice(t.getStart(this.ast)+1,t.end-(g?1:2)),cooked:t.text},tail:g})}case O.SpreadAssignment:case O.SpreadElement:return this.allowPattern?this.createNode(t,{type:q.AST_NODE_TYPES.RestElement,argument:this.convertPattern(t.expression)}):this.createNode(t,{type:q.AST_NODE_TYPES.SpreadElement,argument:this.convertChild(t.expression)});case O.Parameter:{let g,A;return t.dotDotDotToken?g=A=this.createNode(t,{type:q.AST_NODE_TYPES.RestElement,argument:this.convertChild(t.name)}):t.initializer?(g=this.convertChild(t.name),A=this.createNode(t,{type:q.AST_NODE_TYPES.AssignmentPattern,left:g,right:this.convertChild(t.initializer)}),(0,$i.getModifiers)(t)&&(A.range[0]=g.range[0],A.loc=(0,ye.getLocFor)(A.range[0],A.range[1],this.ast))):g=A=this.convertChild(t.name,n),t.type&&(g.typeAnnotation=this.convertTypeAnnotation(t.type,t),this.fixParentLocation(g,g.typeAnnotation.range)),t.questionToken&&(t.questionToken.end>g.range[1]&&(g.range[1]=t.questionToken.end,g.loc.end=(0,ye.getLineAndCharacterFor)(g.range[1],this.ast)),g.optional=!0),(0,$i.getModifiers)(t)?this.createNode(t,{type:q.AST_NODE_TYPES.TSParameterProperty,accessibility:(l=(0,ye.getTSNodeAccessibility)(t))!==null&&l!==void 0?l:void 0,readonly:(0,ye.hasModifier)(O.ReadonlyKeyword,t)||void 0,static:(0,ye.hasModifier)(O.StaticKeyword,t)||void 0,export:(0,ye.hasModifier)(O.ExportKeyword,t)||void 0,override:(0,ye.hasModifier)(O.OverrideKeyword,t)||void 0,parameter:A}):A}case O.ClassDeclaration:case O.ClassExpression:{let g=(d=t.heritageClauses)!==null&&d!==void 0?d:[],A=t.kind===O.ClassDeclaration?q.AST_NODE_TYPES.ClassDeclaration:q.AST_NODE_TYPES.ClassExpression,B=g.find(se=>se.token===O.ExtendsKeyword),G=g.find(se=>se.token===O.ImplementsKeyword),oe=this.createNode(t,{type:A,id:this.convertChild(t.name),body:this.createNode(t,{type:q.AST_NODE_TYPES.ClassBody,body:[],range:[t.members.pos-1,t.end]}),superClass:B!=null&&B.types[0]?this.convertChild(B.types[0].expression):null});if(B){if(B.types.length>1)throw(0,ye.createError)(this.ast,B.types[1].pos,"Classes can only extend a single class.");!((y=B.types[0])===null||y===void 0)&&y.typeArguments&&(oe.superTypeParameters=this.convertTypeArgumentsToTypeParameters(B.types[0].typeArguments,B.types[0]))}t.typeParameters&&(oe.typeParameters=this.convertTSTypeParametersToTypeParametersDeclaration(t.typeParameters)),G&&(oe.implements=G.types.map(se=>this.convertChild(se))),(0,ye.hasModifier)(O.AbstractKeyword,t)&&(oe.abstract=!0),(0,ye.hasModifier)(O.DeclareKeyword,t)&&(oe.declare=!0);let Q=(0,$i.getDecorators)(t);Q&&(oe.decorators=Q.map(se=>this.convertChild(se)));let W=t.members.filter(ye.isESTreeClassMember);return W.length&&(oe.body.body=W.map(se=>this.convertChild(se))),this.fixExports(t,oe)}case O.ModuleBlock:return this.createNode(t,{type:q.AST_NODE_TYPES.TSModuleBlock,body:this.convertBodyExpressions(t.statements,t)});case O.ImportDeclaration:{this.assertModuleSpecifier(t,!1);let g=this.createNode(t,{type:q.AST_NODE_TYPES.ImportDeclaration,source:this.convertChild(t.moduleSpecifier),specifiers:[],importKind:"value",assertions:this.convertAssertClasue(t.assertClause)});if(t.importClause&&(t.importClause.isTypeOnly&&(g.importKind="type"),t.importClause.name&&g.specifiers.push(this.convertChild(t.importClause)),t.importClause.namedBindings))switch(t.importClause.namedBindings.kind){case O.NamespaceImport:g.specifiers.push(this.convertChild(t.importClause.namedBindings));break;case O.NamedImports:g.specifiers=g.specifiers.concat(t.importClause.namedBindings.elements.map(A=>this.convertChild(A)));break}return g}case O.NamespaceImport:return this.createNode(t,{type:q.AST_NODE_TYPES.ImportNamespaceSpecifier,local:this.convertChild(t.name)});case O.ImportSpecifier:return this.createNode(t,{type:q.AST_NODE_TYPES.ImportSpecifier,local:this.convertChild(t.name),imported:this.convertChild((p=t.propertyName)!==null&&p!==void 0?p:t.name),importKind:t.isTypeOnly?"type":"value"});case O.ImportClause:{let g=this.convertChild(t.name);return this.createNode(t,{type:q.AST_NODE_TYPES.ImportDefaultSpecifier,local:g,range:g.range})}case O.ExportDeclaration:return((x=t.exportClause)===null||x===void 0?void 0:x.kind)===O.NamedExports?(this.assertModuleSpecifier(t,!0),this.createNode(t,{type:q.AST_NODE_TYPES.ExportNamedDeclaration,source:this.convertChild(t.moduleSpecifier),specifiers:t.exportClause.elements.map(g=>this.convertChild(g)),exportKind:t.isTypeOnly?"type":"value",declaration:null,assertions:this.convertAssertClasue(t.assertClause)})):(this.assertModuleSpecifier(t,!1),this.createNode(t,{type:q.AST_NODE_TYPES.ExportAllDeclaration,source:this.convertChild(t.moduleSpecifier),exportKind:t.isTypeOnly?"type":"value",exported:t.exportClause&&t.exportClause.kind===O.NamespaceExport?this.convertChild(t.exportClause.name):null,assertions:this.convertAssertClasue(t.assertClause)}));case O.ExportSpecifier:return this.createNode(t,{type:q.AST_NODE_TYPES.ExportSpecifier,local:this.convertChild((h=t.propertyName)!==null&&h!==void 0?h:t.name),exported:this.convertChild(t.name),exportKind:t.isTypeOnly?"type":"value"});case O.ExportAssignment:return t.isExportEquals?this.createNode(t,{type:q.AST_NODE_TYPES.TSExportAssignment,expression:this.convertChild(t.expression)}):this.createNode(t,{type:q.AST_NODE_TYPES.ExportDefaultDeclaration,declaration:this.convertChild(t.expression),exportKind:"value"});case O.PrefixUnaryExpression:case O.PostfixUnaryExpression:{let g=(0,ye.getTextForTokenKind)(t.operator);return g==="++"||g==="--"?this.createNode(t,{type:q.AST_NODE_TYPES.UpdateExpression,operator:g,prefix:t.kind===O.PrefixUnaryExpression,argument:this.convertChild(t.operand)}):this.createNode(t,{type:q.AST_NODE_TYPES.UnaryExpression,operator:g,prefix:t.kind===O.PrefixUnaryExpression,argument:this.convertChild(t.operand)})}case O.DeleteExpression:return this.createNode(t,{type:q.AST_NODE_TYPES.UnaryExpression,operator:"delete",prefix:!0,argument:this.convertChild(t.expression)});case O.VoidExpression:return this.createNode(t,{type:q.AST_NODE_TYPES.UnaryExpression,operator:"void",prefix:!0,argument:this.convertChild(t.expression)});case O.TypeOfExpression:return this.createNode(t,{type:q.AST_NODE_TYPES.UnaryExpression,operator:"typeof",prefix:!0,argument:this.convertChild(t.expression)});case O.TypeOperator:return this.createNode(t,{type:q.AST_NODE_TYPES.TSTypeOperator,operator:(0,ye.getTextForTokenKind)(t.operator),typeAnnotation:this.convertChild(t.type)});case O.BinaryExpression:if((0,ye.isComma)(t.operatorToken)){let g=this.createNode(t,{type:q.AST_NODE_TYPES.SequenceExpression,expressions:[]}),A=this.convertChild(t.left);return A.type===q.AST_NODE_TYPES.SequenceExpression&&t.left.kind!==O.ParenthesizedExpression?g.expressions=g.expressions.concat(A.expressions):g.expressions.push(A),g.expressions.push(this.convertChild(t.right)),g}else{let g=(0,ye.getBinaryExpressionType)(t.operatorToken);return this.allowPattern&&g===q.AST_NODE_TYPES.AssignmentExpression?this.createNode(t,{type:q.AST_NODE_TYPES.AssignmentPattern,left:this.convertPattern(t.left,t),right:this.convertChild(t.right)}):this.createNode(t,{type:g,operator:(0,ye.getTextForTokenKind)(t.operatorToken.kind),left:this.converter(t.left,t,this.inTypeMode,g===q.AST_NODE_TYPES.AssignmentExpression),right:this.convertChild(t.right)})}case O.PropertyAccessExpression:{let g=this.convertChild(t.expression),A=this.convertChild(t.name),B=!1,G=this.createNode(t,{type:q.AST_NODE_TYPES.MemberExpression,object:g,property:A,computed:B,optional:t.questionDotToken!==void 0});return this.convertChainExpression(G,t)}case O.ElementAccessExpression:{let g=this.convertChild(t.expression),A=this.convertChild(t.argumentExpression),B=!0,G=this.createNode(t,{type:q.AST_NODE_TYPES.MemberExpression,object:g,property:A,computed:B,optional:t.questionDotToken!==void 0});return this.convertChainExpression(G,t)}case O.CallExpression:{if(t.expression.kind===O.ImportKeyword){if(t.arguments.length!==1&&t.arguments.length!==2)throw(0,ye.createError)(this.ast,t.arguments.pos,"Dynamic import requires exactly one or two arguments.");return this.createNode(t,{type:q.AST_NODE_TYPES.ImportExpression,source:this.convertChild(t.arguments[0]),attributes:t.arguments[1]?this.convertChild(t.arguments[1]):null})}let g=this.convertChild(t.expression),A=t.arguments.map(G=>this.convertChild(G)),B=this.createNode(t,{type:q.AST_NODE_TYPES.CallExpression,callee:g,arguments:A,optional:t.questionDotToken!==void 0});return t.typeArguments&&(B.typeParameters=this.convertTypeArgumentsToTypeParameters(t.typeArguments,t)),this.convertChainExpression(B,t)}case O.NewExpression:{let g=this.createNode(t,{type:q.AST_NODE_TYPES.NewExpression,callee:this.convertChild(t.expression),arguments:t.arguments?t.arguments.map(A=>this.convertChild(A)):[]});return t.typeArguments&&(g.typeParameters=this.convertTypeArgumentsToTypeParameters(t.typeArguments,t)),g}case O.ConditionalExpression:return this.createNode(t,{type:q.AST_NODE_TYPES.ConditionalExpression,test:this.convertChild(t.condition),consequent:this.convertChild(t.whenTrue),alternate:this.convertChild(t.whenFalse)});case O.MetaProperty:return this.createNode(t,{type:q.AST_NODE_TYPES.MetaProperty,meta:this.createNode(t.getFirstToken(),{type:q.AST_NODE_TYPES.Identifier,name:(0,ye.getTextForTokenKind)(t.keywordToken)}),property:this.convertChild(t.name)});case O.Decorator:return this.createNode(t,{type:q.AST_NODE_TYPES.Decorator,expression:this.convertChild(t.expression)});case O.StringLiteral:return this.createNode(t,{type:q.AST_NODE_TYPES.Literal,value:n.kind===O.JsxAttribute?(0,ye.unescapeStringLiteralText)(t.text):t.text,raw:t.getText()});case O.NumericLiteral:return this.createNode(t,{type:q.AST_NODE_TYPES.Literal,value:Number(t.text),raw:t.getText()});case O.BigIntLiteral:{let g=(0,ye.getRange)(t,this.ast),A=this.ast.text.slice(g[0],g[1]),B=A.slice(0,-1).replace(/_/g,""),G=typeof BigInt<"u"?BigInt(B):null;return this.createNode(t,{type:q.AST_NODE_TYPES.Literal,raw:A,value:G,bigint:G==null?B:String(G),range:g})}case O.RegularExpressionLiteral:{let g=t.text.slice(1,t.text.lastIndexOf("/")),A=t.text.slice(t.text.lastIndexOf("/")+1),B=null;try{B=new RegExp(g,A)}catch{B=null}return this.createNode(t,{type:q.AST_NODE_TYPES.Literal,value:B,raw:t.text,regex:{pattern:g,flags:A}})}case O.TrueKeyword:return this.createNode(t,{type:q.AST_NODE_TYPES.Literal,value:!0,raw:"true"});case O.FalseKeyword:return this.createNode(t,{type:q.AST_NODE_TYPES.Literal,value:!1,raw:"false"});case O.NullKeyword:return!vw.typescriptVersionIsAtLeast["4.0"]&&this.inTypeMode?this.createNode(t,{type:q.AST_NODE_TYPES.TSNullKeyword}):this.createNode(t,{type:q.AST_NODE_TYPES.Literal,value:null,raw:"null"});case O.EmptyStatement:return this.createNode(t,{type:q.AST_NODE_TYPES.EmptyStatement});case O.DebuggerStatement:return this.createNode(t,{type:q.AST_NODE_TYPES.DebuggerStatement});case O.JsxElement:return this.createNode(t,{type:q.AST_NODE_TYPES.JSXElement,openingElement:this.convertChild(t.openingElement),closingElement:this.convertChild(t.closingElement),children:t.children.map(g=>this.convertChild(g))});case O.JsxFragment:return this.createNode(t,{type:q.AST_NODE_TYPES.JSXFragment,openingFragment:this.convertChild(t.openingFragment),closingFragment:this.convertChild(t.closingFragment),children:t.children.map(g=>this.convertChild(g))});case O.JsxSelfClosingElement:return this.createNode(t,{type:q.AST_NODE_TYPES.JSXElement,openingElement:this.createNode(t,{type:q.AST_NODE_TYPES.JSXOpeningElement,typeParameters:t.typeArguments?this.convertTypeArgumentsToTypeParameters(t.typeArguments,t):void 0,selfClosing:!0,name:this.convertJSXTagName(t.tagName,t),attributes:t.attributes.properties.map(g=>this.convertChild(g)),range:(0,ye.getRange)(t,this.ast)}),closingElement:null,children:[]});case O.JsxOpeningElement:return this.createNode(t,{type:q.AST_NODE_TYPES.JSXOpeningElement,typeParameters:t.typeArguments?this.convertTypeArgumentsToTypeParameters(t.typeArguments,t):void 0,selfClosing:!1,name:this.convertJSXTagName(t.tagName,t),attributes:t.attributes.properties.map(g=>this.convertChild(g))});case O.JsxClosingElement:return this.createNode(t,{type:q.AST_NODE_TYPES.JSXClosingElement,name:this.convertJSXTagName(t.tagName,t)});case O.JsxOpeningFragment:return this.createNode(t,{type:q.AST_NODE_TYPES.JSXOpeningFragment});case O.JsxClosingFragment:return this.createNode(t,{type:q.AST_NODE_TYPES.JSXClosingFragment});case O.JsxExpression:{let g=t.expression?this.convertChild(t.expression):this.createNode(t,{type:q.AST_NODE_TYPES.JSXEmptyExpression,range:[t.getStart(this.ast)+1,t.getEnd()-1]});return t.dotDotDotToken?this.createNode(t,{type:q.AST_NODE_TYPES.JSXSpreadChild,expression:g}):this.createNode(t,{type:q.AST_NODE_TYPES.JSXExpressionContainer,expression:g})}case O.JsxAttribute:return this.createNode(t,{type:q.AST_NODE_TYPES.JSXAttribute,name:this.convertJSXNamespaceOrIdentifier(t.name),value:this.convertChild(t.initializer)});case O.JsxText:{let g=t.getFullStart(),A=t.getEnd(),B=this.ast.text.slice(g,A);return this.createNode(t,{type:q.AST_NODE_TYPES.JSXText,value:(0,ye.unescapeStringLiteralText)(B),raw:B,range:[g,A]})}case O.JsxSpreadAttribute:return this.createNode(t,{type:q.AST_NODE_TYPES.JSXSpreadAttribute,argument:this.convertChild(t.expression)});case O.QualifiedName:return this.createNode(t,{type:q.AST_NODE_TYPES.TSQualifiedName,left:this.convertChild(t.left),right:this.convertChild(t.right)});case O.TypeReference:return this.createNode(t,{type:q.AST_NODE_TYPES.TSTypeReference,typeName:this.convertType(t.typeName),typeParameters:t.typeArguments?this.convertTypeArgumentsToTypeParameters(t.typeArguments,t):void 0});case O.TypeParameter:return this.createNode(t,{type:q.AST_NODE_TYPES.TSTypeParameter,name:this.convertType(t.name),constraint:t.constraint?this.convertType(t.constraint):void 0,default:t.default?this.convertType(t.default):void 0,in:(0,ye.hasModifier)(O.InKeyword,t),out:(0,ye.hasModifier)(O.OutKeyword,t),const:(0,ye.hasModifier)(O.ConstKeyword,t)});case O.ThisType:return this.createNode(t,{type:q.AST_NODE_TYPES.TSThisType});case O.AnyKeyword:case O.BigIntKeyword:case O.BooleanKeyword:case O.NeverKeyword:case O.NumberKeyword:case O.ObjectKeyword:case O.StringKeyword:case O.SymbolKeyword:case O.UnknownKeyword:case O.VoidKeyword:case O.UndefinedKeyword:case O.IntrinsicKeyword:return this.createNode(t,{type:q.AST_NODE_TYPES[`TS${O[t.kind]}`]});case O.NonNullExpression:{let g=this.createNode(t,{type:q.AST_NODE_TYPES.TSNonNullExpression,expression:this.convertChild(t.expression)});return this.convertChainExpression(g,t)}case O.TypeLiteral:return this.createNode(t,{type:q.AST_NODE_TYPES.TSTypeLiteral,members:t.members.map(g=>this.convertChild(g))});case O.ArrayType:return this.createNode(t,{type:q.AST_NODE_TYPES.TSArrayType,elementType:this.convertType(t.elementType)});case O.IndexedAccessType:return this.createNode(t,{type:q.AST_NODE_TYPES.TSIndexedAccessType,objectType:this.convertType(t.objectType),indexType:this.convertType(t.indexType)});case O.ConditionalType:return this.createNode(t,{type:q.AST_NODE_TYPES.TSConditionalType,checkType:this.convertType(t.checkType),extendsType:this.convertType(t.extendsType),trueType:this.convertType(t.trueType),falseType:this.convertType(t.falseType)});case O.TypeQuery:return this.createNode(t,{type:q.AST_NODE_TYPES.TSTypeQuery,exprName:this.convertType(t.exprName),typeParameters:t.typeArguments&&this.convertTypeArgumentsToTypeParameters(t.typeArguments,t)});case O.MappedType:{let g=this.createNode(t,{type:q.AST_NODE_TYPES.TSMappedType,typeParameter:this.convertType(t.typeParameter),nameType:(D=this.convertType(t.nameType))!==null&&D!==void 0?D:null});return t.readonlyToken&&(t.readonlyToken.kind===O.ReadonlyKeyword?g.readonly=!0:g.readonly=(0,ye.getTextForTokenKind)(t.readonlyToken.kind)),t.questionToken&&(t.questionToken.kind===O.QuestionToken?g.optional=!0:g.optional=(0,ye.getTextForTokenKind)(t.questionToken.kind)),t.type&&(g.typeAnnotation=this.convertType(t.type)),g}case O.ParenthesizedExpression:return this.convertChild(t.expression,n);case O.TypeAliasDeclaration:{let g=this.createNode(t,{type:q.AST_NODE_TYPES.TSTypeAliasDeclaration,id:this.convertChild(t.name),typeAnnotation:this.convertType(t.type)});return(0,ye.hasModifier)(O.DeclareKeyword,t)&&(g.declare=!0),t.typeParameters&&(g.typeParameters=this.convertTSTypeParametersToTypeParametersDeclaration(t.typeParameters)),this.fixExports(t,g)}case O.MethodSignature:return this.convertMethodSignature(t);case O.PropertySignature:{let g=this.createNode(t,{type:q.AST_NODE_TYPES.TSPropertySignature,optional:(0,ye.isOptional)(t)||void 0,computed:(0,ye.isComputedProperty)(t.name),key:this.convertChild(t.name),typeAnnotation:t.type?this.convertTypeAnnotation(t.type,t):void 0,initializer:this.convertChild(t.initializer)||void 0,readonly:(0,ye.hasModifier)(O.ReadonlyKeyword,t)||void 0,static:(0,ye.hasModifier)(O.StaticKeyword,t)||void 0,export:(0,ye.hasModifier)(O.ExportKeyword,t)||void 0}),A=(0,ye.getTSNodeAccessibility)(t);return A&&(g.accessibility=A),g}case O.IndexSignature:{let g=this.createNode(t,{type:q.AST_NODE_TYPES.TSIndexSignature,parameters:t.parameters.map(B=>this.convertChild(B))});t.type&&(g.typeAnnotation=this.convertTypeAnnotation(t.type,t)),(0,ye.hasModifier)(O.ReadonlyKeyword,t)&&(g.readonly=!0);let A=(0,ye.getTSNodeAccessibility)(t);return A&&(g.accessibility=A),(0,ye.hasModifier)(O.ExportKeyword,t)&&(g.export=!0),(0,ye.hasModifier)(O.StaticKeyword,t)&&(g.static=!0),g}case O.ConstructorType:{let g=this.createNode(t,{type:q.AST_NODE_TYPES.TSConstructorType,params:this.convertParameters(t.parameters),abstract:(0,ye.hasModifier)(O.AbstractKeyword,t)});return t.type&&(g.returnType=this.convertTypeAnnotation(t.type,t)),t.typeParameters&&(g.typeParameters=this.convertTSTypeParametersToTypeParametersDeclaration(t.typeParameters)),g}case O.FunctionType:case O.ConstructSignature:case O.CallSignature:{let g=t.kind===O.ConstructSignature?q.AST_NODE_TYPES.TSConstructSignatureDeclaration:t.kind===O.CallSignature?q.AST_NODE_TYPES.TSCallSignatureDeclaration:q.AST_NODE_TYPES.TSFunctionType,A=this.createNode(t,{type:g,params:this.convertParameters(t.parameters)});return t.type&&(A.returnType=this.convertTypeAnnotation(t.type,t)),t.typeParameters&&(A.typeParameters=this.convertTSTypeParametersToTypeParametersDeclaration(t.typeParameters)),A}case O.ExpressionWithTypeArguments:{let g=n.kind,A=g===O.InterfaceDeclaration?q.AST_NODE_TYPES.TSInterfaceHeritage:g===O.HeritageClause?q.AST_NODE_TYPES.TSClassImplements:q.AST_NODE_TYPES.TSInstantiationExpression,B=this.createNode(t,{type:A,expression:this.convertChild(t.expression)});return t.typeArguments&&(B.typeParameters=this.convertTypeArgumentsToTypeParameters(t.typeArguments,t)),B}case O.InterfaceDeclaration:{let g=(w=t.heritageClauses)!==null&&w!==void 0?w:[],A=this.createNode(t,{type:q.AST_NODE_TYPES.TSInterfaceDeclaration,body:this.createNode(t,{type:q.AST_NODE_TYPES.TSInterfaceBody,body:t.members.map(B=>this.convertChild(B)),range:[t.members.pos-1,t.end]}),id:this.convertChild(t.name)});if(t.typeParameters&&(A.typeParameters=this.convertTSTypeParametersToTypeParametersDeclaration(t.typeParameters)),g.length>0){let B=[],G=[];for(let oe of g)if(oe.token===O.ExtendsKeyword)for(let Q of oe.types)B.push(this.convertChild(Q,t));else for(let Q of oe.types)G.push(this.convertChild(Q,t));B.length&&(A.extends=B),G.length&&(A.implements=G)}return(0,ye.hasModifier)(O.AbstractKeyword,t)&&(A.abstract=!0),(0,ye.hasModifier)(O.DeclareKeyword,t)&&(A.declare=!0),this.fixExports(t,A)}case O.TypePredicate:{let g=this.createNode(t,{type:q.AST_NODE_TYPES.TSTypePredicate,asserts:t.assertsModifier!==void 0,parameterName:this.convertChild(t.parameterName),typeAnnotation:null});return t.type&&(g.typeAnnotation=this.convertTypeAnnotation(t.type,t),g.typeAnnotation.loc=g.typeAnnotation.typeAnnotation.loc,g.typeAnnotation.range=g.typeAnnotation.typeAnnotation.range),g}case O.ImportType:return this.createNode(t,{type:q.AST_NODE_TYPES.TSImportType,isTypeOf:!!t.isTypeOf,parameter:this.convertChild(t.argument),qualifier:this.convertChild(t.qualifier),typeParameters:t.typeArguments?this.convertTypeArgumentsToTypeParameters(t.typeArguments,t):null});case O.EnumDeclaration:{let g=this.createNode(t,{type:q.AST_NODE_TYPES.TSEnumDeclaration,id:this.convertChild(t.name),members:t.members.map(A=>this.convertChild(A))});return this.applyModifiersToResult(g,(0,$i.getModifiers)(t)),this.fixExports(t,g)}case O.EnumMember:{let g=this.createNode(t,{type:q.AST_NODE_TYPES.TSEnumMember,id:this.convertChild(t.name)});return t.initializer&&(g.initializer=this.convertChild(t.initializer)),t.name.kind===so.SyntaxKind.ComputedPropertyName&&(g.computed=!0),g}case O.ModuleDeclaration:{let g=this.createNode(t,Object.assign({type:q.AST_NODE_TYPES.TSModuleDeclaration},(()=>{let A=this.convertChild(t.name),B=this.convertChild(t.body);if(t.flags&so.NodeFlags.GlobalAugmentation){if(B==null||B.type===q.AST_NODE_TYPES.TSModuleDeclaration)throw new Error("Expected a valid module body");if(A.type!==q.AST_NODE_TYPES.Identifier)throw new Error("global module augmentation must have an Identifier id");return{kind:"global",id:A,body:B,global:!0}}else if(t.flags&so.NodeFlags.Namespace){if(B==null)throw new Error("Expected a module body");if(A.type!==q.AST_NODE_TYPES.Identifier)throw new Error("`namespace`s must have an Identifier id");return{kind:"namespace",id:A,body:B}}else return Object.assign({kind:"module",id:A},B!=null?{body:B}:{})})()));return this.applyModifiersToResult(g,(0,$i.getModifiers)(t)),this.fixExports(t,g)}case O.ParenthesizedType:return this.convertType(t.type);case O.UnionType:return this.createNode(t,{type:q.AST_NODE_TYPES.TSUnionType,types:t.types.map(g=>this.convertType(g))});case O.IntersectionType:return this.createNode(t,{type:q.AST_NODE_TYPES.TSIntersectionType,types:t.types.map(g=>this.convertType(g))});case O.AsExpression:return this.createNode(t,{type:q.AST_NODE_TYPES.TSAsExpression,expression:this.convertChild(t.expression),typeAnnotation:this.convertType(t.type)});case O.InferType:return this.createNode(t,{type:q.AST_NODE_TYPES.TSInferType,typeParameter:this.convertType(t.typeParameter)});case O.LiteralType:return vw.typescriptVersionIsAtLeast["4.0"]&&t.literal.kind===O.NullKeyword?this.createNode(t.literal,{type:q.AST_NODE_TYPES.TSNullKeyword}):this.createNode(t,{type:q.AST_NODE_TYPES.TSLiteralType,literal:this.convertType(t.literal)});case O.TypeAssertionExpression:return this.createNode(t,{type:q.AST_NODE_TYPES.TSTypeAssertion,typeAnnotation:this.convertType(t.type),expression:this.convertChild(t.expression)});case O.ImportEqualsDeclaration:return this.createNode(t,{type:q.AST_NODE_TYPES.TSImportEqualsDeclaration,id:this.convertChild(t.name),moduleReference:this.convertChild(t.moduleReference),importKind:t.isTypeOnly?"type":"value",isExport:(0,ye.hasModifier)(O.ExportKeyword,t)});case O.ExternalModuleReference:return this.createNode(t,{type:q.AST_NODE_TYPES.TSExternalModuleReference,expression:this.convertChild(t.expression)});case O.NamespaceExportDeclaration:return this.createNode(t,{type:q.AST_NODE_TYPES.TSNamespaceExportDeclaration,id:this.convertChild(t.name)});case O.AbstractKeyword:return this.createNode(t,{type:q.AST_NODE_TYPES.TSAbstractKeyword});case O.TupleType:{let g="elementTypes"in t?t.elementTypes.map(A=>this.convertType(A)):t.elements.map(A=>this.convertType(A));return this.createNode(t,{type:q.AST_NODE_TYPES.TSTupleType,elementTypes:g})}case O.NamedTupleMember:{let g=this.createNode(t,{type:q.AST_NODE_TYPES.TSNamedTupleMember,elementType:this.convertType(t.type,t),label:this.convertChild(t.name,t),optional:t.questionToken!=null});return t.dotDotDotToken?(g.range[0]=g.label.range[0],g.loc.start=g.label.loc.start,this.createNode(t,{type:q.AST_NODE_TYPES.TSRestType,typeAnnotation:g})):g}case O.OptionalType:return this.createNode(t,{type:q.AST_NODE_TYPES.TSOptionalType,typeAnnotation:this.convertType(t.type)});case O.RestType:return this.createNode(t,{type:q.AST_NODE_TYPES.TSRestType,typeAnnotation:this.convertType(t.type)});case O.TemplateLiteralType:{let g=this.createNode(t,{type:q.AST_NODE_TYPES.TSTemplateLiteralType,quasis:[this.convertChild(t.head)],types:[]});return t.templateSpans.forEach(A=>{g.types.push(this.convertChild(A.type)),g.quasis.push(this.convertChild(A.literal))}),g}case O.ClassStaticBlockDeclaration:return this.createNode(t,{type:q.AST_NODE_TYPES.StaticBlock,body:this.convertBodyExpressions(t.body.statements,t)});case O.AssertEntry:return this.createNode(t,{type:q.AST_NODE_TYPES.ImportAttribute,key:this.convertChild(t.name),value:this.convertChild(t.value)});case O.SatisfiesExpression:return this.createNode(t,{type:q.AST_NODE_TYPES.TSSatisfiesExpression,expression:this.convertChild(t.expression),typeAnnotation:this.convertChild(t.type)});default:return this.deeplyCopy(t)}}};Yr.Converter=n6});var Qi={};Ud(Qi,{__assign:()=>a6,__asyncDelegator:()=>yU,__asyncGenerator:()=>mU,__asyncValues:()=>hU,__await:()=>iu,__awaiter:()=>cU,__classPrivateFieldGet:()=>TU,__classPrivateFieldSet:()=>xU,__createBinding:()=>uU,__decorate:()=>oU,__exportStar:()=>pU,__extends:()=>iU,__generator:()=>lU,__importDefault:()=>vU,__importStar:()=>bU,__makeTemplateObject:()=>gU,__metadata:()=>_U,__param:()=>sU,__read:()=>Tw,__rest:()=>aU,__spread:()=>dU,__spreadArrays:()=>fU,__values:()=>o6});function iU(e,t){i6(e,t);function n(){this.constructor=e}e.prototype=t===null?Object.create(t):(n.prototype=t.prototype,new n)}function aU(e,t){var n={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.indexOf(i)<0&&(n[i]=e[i]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var s=0,i=Object.getOwnPropertySymbols(e);s=0;y--)(d=e[y])&&(l=(s<3?d(l):s>3?d(t,n,l):d(t,n))||l);return s>3&&l&&Object.defineProperty(t,n,l),l}function sU(e,t){return function(n,i){t(n,i,e)}}function _U(e,t){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(e,t)}function cU(e,t,n,i){function s(l){return l instanceof n?l:new n(function(d){d(l)})}return new(n||(n=Promise))(function(l,d){function y(h){try{x(i.next(h))}catch(D){d(D)}}function p(h){try{x(i.throw(h))}catch(D){d(D)}}function x(h){h.done?l(h.value):s(h.value).then(y,p)}x((i=i.apply(e,t||[])).next())})}function lU(e,t){var n={label:0,sent:function(){if(l[0]&1)throw l[1];return l[1]},trys:[],ops:[]},i,s,l,d;return d={next:y(0),throw:y(1),return:y(2)},typeof Symbol=="function"&&(d[Symbol.iterator]=function(){return this}),d;function y(x){return function(h){return p([x,h])}}function p(x){if(i)throw new TypeError("Generator is already executing.");for(;n;)try{if(i=1,s&&(l=x[0]&2?s.return:x[0]?s.throw||((l=s.return)&&l.call(s),0):s.next)&&!(l=l.call(s,x[1])).done)return l;switch(s=0,l&&(x=[x[0]&2,l.value]),x[0]){case 0:case 1:l=x;break;case 4:return n.label++,{value:x[1],done:!1};case 5:n.label++,s=x[1],x=[0];continue;case 7:x=n.ops.pop(),n.trys.pop();continue;default:if(l=n.trys,!(l=l.length>0&&l[l.length-1])&&(x[0]===6||x[0]===2)){n=0;continue}if(x[0]===3&&(!l||x[1]>l[0]&&x[1]=e.length&&(e=void 0),{value:e&&e[i++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function Tw(e,t){var n=typeof Symbol=="function"&&e[Symbol.iterator];if(!n)return e;var i=n.call(e),s,l=[],d;try{for(;(t===void 0||t-- >0)&&!(s=i.next()).done;)l.push(s.value)}catch(y){d={error:y}}finally{try{s&&!s.done&&(n=i.return)&&n.call(i)}finally{if(d)throw d.error}}return l}function dU(){for(var e=[],t=0;t1||y(w,g)})})}function y(w,g){try{p(i[w](g))}catch(A){D(l[0][3],A)}}function p(w){w.value instanceof iu?Promise.resolve(w.value.v).then(x,h):D(l[0][2],w)}function x(w){y("next",w)}function h(w){y("throw",w)}function D(w,g){w(g),l.shift(),l.length&&y(l[0][0],l[0][1])}}function yU(e){var t,n;return t={},i("next"),i("throw",function(s){throw s}),i("return"),t[Symbol.iterator]=function(){return this},t;function i(s,l){t[s]=e[s]?function(d){return(n=!n)?{value:iu(e[s](d)),done:s==="return"}:l?l(d):d}:l}}function hU(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t=e[Symbol.asyncIterator],n;return t?t.call(e):(e=typeof o6=="function"?o6(e):e[Symbol.iterator](),n={},i("next"),i("throw"),i("return"),n[Symbol.asyncIterator]=function(){return this},n);function i(l){n[l]=e[l]&&function(d){return new Promise(function(y,p){d=e[l](d),s(y,p,d.done,d.value)})}}function s(l,d,y,p){Promise.resolve(p).then(function(x){l({value:x,done:y})},d)}}function gU(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e}function bU(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var n in e)Object.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function vU(e){return e&&e.__esModule?e:{default:e}}function TU(e,t){if(!t.has(e))throw new TypeError("attempted to get private field on non-instance");return t.get(e)}function xU(e,t,n){if(!t.has(e))throw new TypeError("attempted to set private field on non-instance");return t.set(e,n),n}var i6,a6,Yi=X6(()=>{i6=function(e,t){return i6=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,i){n.__proto__=i}||function(n,i){for(var s in i)i.hasOwnProperty(s)&&(n[s]=i[s])},i6(e,t)};a6=function(){return a6=Object.assign||function(t){for(var n,i=1,s=arguments.length;i{"use strict";Object.defineProperty(k,"__esModule",{value:!0});k.isExpressionStatement=k.isExpression=k.isExportSpecifier=k.isExportDeclaration=k.isExportAssignment=k.isEnumMember=k.isEnumDeclaration=k.isEntityNameExpression=k.isEntityName=k.isEmptyStatement=k.isElementAccessExpression=k.isDoStatement=k.isDeleteExpression=k.isDefaultClause=k.isDecorator=k.isDebuggerStatement=k.isComputedPropertyName=k.isContinueStatement=k.isConstructSignatureDeclaration=k.isConstructorTypeNode=k.isConstructorDeclaration=k.isConditionalTypeNode=k.isConditionalExpression=k.isCommaListExpression=k.isClassLikeDeclaration=k.isClassExpression=k.isClassDeclaration=k.isCatchClause=k.isCaseOrDefaultClause=k.isCaseClause=k.isCaseBlock=k.isCallSignatureDeclaration=k.isCallLikeExpression=k.isCallExpression=k.isBreakStatement=k.isBreakOrContinueStatement=k.isBooleanLiteral=k.isBlockLike=k.isBlock=k.isBindingPattern=k.isBindingElement=k.isBinaryExpression=k.isAwaitExpression=k.isAssertionExpression=k.isAsExpression=k.isArrowFunction=k.isArrayTypeNode=k.isArrayLiteralExpression=k.isArrayBindingPattern=k.isAccessorDeclaration=void 0;k.isNamespaceImport=k.isNamespaceDeclaration=k.isNamedImports=k.isNamedExports=k.isModuleDeclaration=k.isModuleBlock=k.isMethodSignature=k.isMethodDeclaration=k.isMetaProperty=k.isMappedTypeNode=k.isLiteralTypeNode=k.isLiteralExpression=k.isLabeledStatement=k.isJsxText=k.isJsxSpreadAttribute=k.isJsxSelfClosingElement=k.isJsxOpeningLikeElement=k.isJsxOpeningFragment=k.isJsxOpeningElement=k.isJsxFragment=k.isJsxExpression=k.isJsxElement=k.isJsxClosingFragment=k.isJsxClosingElement=k.isJsxAttributes=k.isJsxAttributeLike=k.isJsxAttribute=k.isJsDoc=k.isIterationStatement=k.isIntersectionTypeNode=k.isInterfaceDeclaration=k.isInferTypeNode=k.isIndexSignatureDeclaration=k.isIndexedAccessTypeNode=k.isImportSpecifier=k.isImportEqualsDeclaration=k.isImportDeclaration=k.isImportClause=k.isIfStatement=k.isIdentifier=k.isGetAccessorDeclaration=k.isFunctionTypeNode=k.isFunctionExpression=k.isFunctionDeclaration=k.isForStatement=k.isForOfStatement=k.isForInOrOfStatement=k.isForInStatement=k.isExternalModuleReference=k.isExpressionWithTypeArguments=void 0;k.isVariableStatement=k.isVariableDeclaration=k.isUnionTypeNode=k.isTypeQueryNode=k.isTypeReferenceNode=k.isTypePredicateNode=k.isTypeParameterDeclaration=k.isTypeOperatorNode=k.isTypeOfExpression=k.isTypeLiteralNode=k.isTypeAssertion=k.isTypeAliasDeclaration=k.isTupleTypeNode=k.isTryStatement=k.isThrowStatement=k.isTextualLiteral=k.isTemplateLiteral=k.isTemplateExpression=k.isTaggedTemplateExpression=k.isSyntaxList=k.isSwitchStatement=k.isStringLiteral=k.isSpreadElement=k.isSpreadAssignment=k.isSourceFile=k.isSignatureDeclaration=k.isShorthandPropertyAssignment=k.isSetAccessorDeclaration=k.isReturnStatement=k.isRegularExpressionLiteral=k.isQualifiedName=k.isPropertySignature=k.isPropertyDeclaration=k.isPropertyAssignment=k.isPropertyAccessExpression=k.isPrefixUnaryExpression=k.isPostfixUnaryExpression=k.isParenthesizedTypeNode=k.isParenthesizedExpression=k.isParameterDeclaration=k.isOmittedExpression=k.isObjectLiteralExpression=k.isObjectBindingPattern=k.isNumericOrStringLikeLiteral=k.isNumericLiteral=k.isNullLiteral=k.isNoSubstitutionTemplateLiteral=k.isNonNullExpression=k.isNewExpression=k.isNamespaceExportDeclaration=void 0;k.isWithStatement=k.isWhileStatement=k.isVoidExpression=k.isVariableDeclarationList=void 0;var L=Cn();function SU(e){return e.kind===L.SyntaxKind.GetAccessor||e.kind===L.SyntaxKind.SetAccessor}k.isAccessorDeclaration=SU;function wU(e){return e.kind===L.SyntaxKind.ArrayBindingPattern}k.isArrayBindingPattern=wU;function EU(e){return e.kind===L.SyntaxKind.ArrayLiteralExpression}k.isArrayLiteralExpression=EU;function CU(e){return e.kind===L.SyntaxKind.ArrayType}k.isArrayTypeNode=CU;function kU(e){return e.kind===L.SyntaxKind.ArrowFunction}k.isArrowFunction=kU;function AU(e){return e.kind===L.SyntaxKind.AsExpression}k.isAsExpression=AU;function DU(e){return e.kind===L.SyntaxKind.AsExpression||e.kind===L.SyntaxKind.TypeAssertionExpression}k.isAssertionExpression=DU;function PU(e){return e.kind===L.SyntaxKind.AwaitExpression}k.isAwaitExpression=PU;function NU(e){return e.kind===L.SyntaxKind.BinaryExpression}k.isBinaryExpression=NU;function IU(e){return e.kind===L.SyntaxKind.BindingElement}k.isBindingElement=IU;function OU(e){return e.kind===L.SyntaxKind.ArrayBindingPattern||e.kind===L.SyntaxKind.ObjectBindingPattern}k.isBindingPattern=OU;function MU(e){return e.kind===L.SyntaxKind.Block}k.isBlock=MU;function LU(e){return e.statements!==void 0}k.isBlockLike=LU;function JU(e){return e.kind===L.SyntaxKind.TrueKeyword||e.kind===L.SyntaxKind.FalseKeyword}k.isBooleanLiteral=JU;function RU(e){return e.kind===L.SyntaxKind.BreakStatement||e.kind===L.SyntaxKind.ContinueStatement}k.isBreakOrContinueStatement=RU;function FU(e){return e.kind===L.SyntaxKind.BreakStatement}k.isBreakStatement=FU;function jU(e){return e.kind===L.SyntaxKind.CallExpression}k.isCallExpression=jU;function BU(e){switch(e.kind){case L.SyntaxKind.CallExpression:case L.SyntaxKind.Decorator:case L.SyntaxKind.JsxOpeningElement:case L.SyntaxKind.JsxSelfClosingElement:case L.SyntaxKind.NewExpression:case L.SyntaxKind.TaggedTemplateExpression:return!0;default:return!1}}k.isCallLikeExpression=BU;function UU(e){return e.kind===L.SyntaxKind.CallSignature}k.isCallSignatureDeclaration=UU;function qU(e){return e.kind===L.SyntaxKind.CaseBlock}k.isCaseBlock=qU;function zU(e){return e.kind===L.SyntaxKind.CaseClause}k.isCaseClause=zU;function WU(e){return e.kind===L.SyntaxKind.CaseClause||e.kind===L.SyntaxKind.DefaultClause}k.isCaseOrDefaultClause=WU;function VU(e){return e.kind===L.SyntaxKind.CatchClause}k.isCatchClause=VU;function HU(e){return e.kind===L.SyntaxKind.ClassDeclaration}k.isClassDeclaration=HU;function KU(e){return e.kind===L.SyntaxKind.ClassExpression}k.isClassExpression=KU;function GU(e){return e.kind===L.SyntaxKind.ClassDeclaration||e.kind===L.SyntaxKind.ClassExpression}k.isClassLikeDeclaration=GU;function XU(e){return e.kind===L.SyntaxKind.CommaListExpression}k.isCommaListExpression=XU;function $U(e){return e.kind===L.SyntaxKind.ConditionalExpression}k.isConditionalExpression=$U;function QU(e){return e.kind===L.SyntaxKind.ConditionalType}k.isConditionalTypeNode=QU;function YU(e){return e.kind===L.SyntaxKind.Constructor}k.isConstructorDeclaration=YU;function ZU(e){return e.kind===L.SyntaxKind.ConstructorType}k.isConstructorTypeNode=ZU;function eq(e){return e.kind===L.SyntaxKind.ConstructSignature}k.isConstructSignatureDeclaration=eq;function tq(e){return e.kind===L.SyntaxKind.ContinueStatement}k.isContinueStatement=tq;function nq(e){return e.kind===L.SyntaxKind.ComputedPropertyName}k.isComputedPropertyName=nq;function rq(e){return e.kind===L.SyntaxKind.DebuggerStatement}k.isDebuggerStatement=rq;function iq(e){return e.kind===L.SyntaxKind.Decorator}k.isDecorator=iq;function aq(e){return e.kind===L.SyntaxKind.DefaultClause}k.isDefaultClause=aq;function oq(e){return e.kind===L.SyntaxKind.DeleteExpression}k.isDeleteExpression=oq;function sq(e){return e.kind===L.SyntaxKind.DoStatement}k.isDoStatement=sq;function _q(e){return e.kind===L.SyntaxKind.ElementAccessExpression}k.isElementAccessExpression=_q;function cq(e){return e.kind===L.SyntaxKind.EmptyStatement}k.isEmptyStatement=cq;function lq(e){return e.kind===L.SyntaxKind.Identifier||Cw(e)}k.isEntityName=lq;function xw(e){return e.kind===L.SyntaxKind.Identifier||Ew(e)&&xw(e.expression)}k.isEntityNameExpression=xw;function uq(e){return e.kind===L.SyntaxKind.EnumDeclaration}k.isEnumDeclaration=uq;function pq(e){return e.kind===L.SyntaxKind.EnumMember}k.isEnumMember=pq;function dq(e){return e.kind===L.SyntaxKind.ExportAssignment}k.isExportAssignment=dq;function fq(e){return e.kind===L.SyntaxKind.ExportDeclaration}k.isExportDeclaration=fq;function mq(e){return e.kind===L.SyntaxKind.ExportSpecifier}k.isExportSpecifier=mq;function yq(e){switch(e.kind){case L.SyntaxKind.ArrayLiteralExpression:case L.SyntaxKind.ArrowFunction:case L.SyntaxKind.AsExpression:case L.SyntaxKind.AwaitExpression:case L.SyntaxKind.BinaryExpression:case L.SyntaxKind.CallExpression:case L.SyntaxKind.ClassExpression:case L.SyntaxKind.CommaListExpression:case L.SyntaxKind.ConditionalExpression:case L.SyntaxKind.DeleteExpression:case L.SyntaxKind.ElementAccessExpression:case L.SyntaxKind.FalseKeyword:case L.SyntaxKind.FunctionExpression:case L.SyntaxKind.Identifier:case L.SyntaxKind.JsxElement:case L.SyntaxKind.JsxFragment:case L.SyntaxKind.JsxExpression:case L.SyntaxKind.JsxOpeningElement:case L.SyntaxKind.JsxOpeningFragment:case L.SyntaxKind.JsxSelfClosingElement:case L.SyntaxKind.MetaProperty:case L.SyntaxKind.NewExpression:case L.SyntaxKind.NonNullExpression:case L.SyntaxKind.NoSubstitutionTemplateLiteral:case L.SyntaxKind.NullKeyword:case L.SyntaxKind.NumericLiteral:case L.SyntaxKind.ObjectLiteralExpression:case L.SyntaxKind.OmittedExpression:case L.SyntaxKind.ParenthesizedExpression:case L.SyntaxKind.PostfixUnaryExpression:case L.SyntaxKind.PrefixUnaryExpression:case L.SyntaxKind.PropertyAccessExpression:case L.SyntaxKind.RegularExpressionLiteral:case L.SyntaxKind.SpreadElement:case L.SyntaxKind.StringLiteral:case L.SyntaxKind.SuperKeyword:case L.SyntaxKind.TaggedTemplateExpression:case L.SyntaxKind.TemplateExpression:case L.SyntaxKind.ThisKeyword:case L.SyntaxKind.TrueKeyword:case L.SyntaxKind.TypeAssertionExpression:case L.SyntaxKind.TypeOfExpression:case L.SyntaxKind.VoidExpression:case L.SyntaxKind.YieldExpression:return!0;default:return!1}}k.isExpression=yq;function hq(e){return e.kind===L.SyntaxKind.ExpressionStatement}k.isExpressionStatement=hq;function gq(e){return e.kind===L.SyntaxKind.ExpressionWithTypeArguments}k.isExpressionWithTypeArguments=gq;function bq(e){return e.kind===L.SyntaxKind.ExternalModuleReference}k.isExternalModuleReference=bq;function vq(e){return e.kind===L.SyntaxKind.ForInStatement}k.isForInStatement=vq;function Tq(e){return e.kind===L.SyntaxKind.ForOfStatement||e.kind===L.SyntaxKind.ForInStatement}k.isForInOrOfStatement=Tq;function xq(e){return e.kind===L.SyntaxKind.ForOfStatement}k.isForOfStatement=xq;function Sq(e){return e.kind===L.SyntaxKind.ForStatement}k.isForStatement=Sq;function wq(e){return e.kind===L.SyntaxKind.FunctionDeclaration}k.isFunctionDeclaration=wq;function Eq(e){return e.kind===L.SyntaxKind.FunctionExpression}k.isFunctionExpression=Eq;function Cq(e){return e.kind===L.SyntaxKind.FunctionType}k.isFunctionTypeNode=Cq;function kq(e){return e.kind===L.SyntaxKind.GetAccessor}k.isGetAccessorDeclaration=kq;function Aq(e){return e.kind===L.SyntaxKind.Identifier}k.isIdentifier=Aq;function Dq(e){return e.kind===L.SyntaxKind.IfStatement}k.isIfStatement=Dq;function Pq(e){return e.kind===L.SyntaxKind.ImportClause}k.isImportClause=Pq;function Nq(e){return e.kind===L.SyntaxKind.ImportDeclaration}k.isImportDeclaration=Nq;function Iq(e){return e.kind===L.SyntaxKind.ImportEqualsDeclaration}k.isImportEqualsDeclaration=Iq;function Oq(e){return e.kind===L.SyntaxKind.ImportSpecifier}k.isImportSpecifier=Oq;function Mq(e){return e.kind===L.SyntaxKind.IndexedAccessType}k.isIndexedAccessTypeNode=Mq;function Lq(e){return e.kind===L.SyntaxKind.IndexSignature}k.isIndexSignatureDeclaration=Lq;function Jq(e){return e.kind===L.SyntaxKind.InferType}k.isInferTypeNode=Jq;function Rq(e){return e.kind===L.SyntaxKind.InterfaceDeclaration}k.isInterfaceDeclaration=Rq;function Fq(e){return e.kind===L.SyntaxKind.IntersectionType}k.isIntersectionTypeNode=Fq;function jq(e){switch(e.kind){case L.SyntaxKind.ForStatement:case L.SyntaxKind.ForOfStatement:case L.SyntaxKind.ForInStatement:case L.SyntaxKind.WhileStatement:case L.SyntaxKind.DoStatement:return!0;default:return!1}}k.isIterationStatement=jq;function Bq(e){return e.kind===L.SyntaxKind.JSDocComment}k.isJsDoc=Bq;function Uq(e){return e.kind===L.SyntaxKind.JsxAttribute}k.isJsxAttribute=Uq;function qq(e){return e.kind===L.SyntaxKind.JsxAttribute||e.kind===L.SyntaxKind.JsxSpreadAttribute}k.isJsxAttributeLike=qq;function zq(e){return e.kind===L.SyntaxKind.JsxAttributes}k.isJsxAttributes=zq;function Wq(e){return e.kind===L.SyntaxKind.JsxClosingElement}k.isJsxClosingElement=Wq;function Vq(e){return e.kind===L.SyntaxKind.JsxClosingFragment}k.isJsxClosingFragment=Vq;function Hq(e){return e.kind===L.SyntaxKind.JsxElement}k.isJsxElement=Hq;function Kq(e){return e.kind===L.SyntaxKind.JsxExpression}k.isJsxExpression=Kq;function Gq(e){return e.kind===L.SyntaxKind.JsxFragment}k.isJsxFragment=Gq;function Xq(e){return e.kind===L.SyntaxKind.JsxOpeningElement}k.isJsxOpeningElement=Xq;function $q(e){return e.kind===L.SyntaxKind.JsxOpeningFragment}k.isJsxOpeningFragment=$q;function Qq(e){return e.kind===L.SyntaxKind.JsxOpeningElement||e.kind===L.SyntaxKind.JsxSelfClosingElement}k.isJsxOpeningLikeElement=Qq;function Yq(e){return e.kind===L.SyntaxKind.JsxSelfClosingElement}k.isJsxSelfClosingElement=Yq;function Zq(e){return e.kind===L.SyntaxKind.JsxSpreadAttribute}k.isJsxSpreadAttribute=Zq;function ez(e){return e.kind===L.SyntaxKind.JsxText}k.isJsxText=ez;function tz(e){return e.kind===L.SyntaxKind.LabeledStatement}k.isLabeledStatement=tz;function nz(e){return e.kind>=L.SyntaxKind.FirstLiteralToken&&e.kind<=L.SyntaxKind.LastLiteralToken}k.isLiteralExpression=nz;function rz(e){return e.kind===L.SyntaxKind.LiteralType}k.isLiteralTypeNode=rz;function iz(e){return e.kind===L.SyntaxKind.MappedType}k.isMappedTypeNode=iz;function az(e){return e.kind===L.SyntaxKind.MetaProperty}k.isMetaProperty=az;function oz(e){return e.kind===L.SyntaxKind.MethodDeclaration}k.isMethodDeclaration=oz;function sz(e){return e.kind===L.SyntaxKind.MethodSignature}k.isMethodSignature=sz;function _z(e){return e.kind===L.SyntaxKind.ModuleBlock}k.isModuleBlock=_z;function Sw(e){return e.kind===L.SyntaxKind.ModuleDeclaration}k.isModuleDeclaration=Sw;function cz(e){return e.kind===L.SyntaxKind.NamedExports}k.isNamedExports=cz;function lz(e){return e.kind===L.SyntaxKind.NamedImports}k.isNamedImports=lz;function ww(e){return Sw(e)&&e.name.kind===L.SyntaxKind.Identifier&&e.body!==void 0&&(e.body.kind===L.SyntaxKind.ModuleBlock||ww(e.body))}k.isNamespaceDeclaration=ww;function uz(e){return e.kind===L.SyntaxKind.NamespaceImport}k.isNamespaceImport=uz;function pz(e){return e.kind===L.SyntaxKind.NamespaceExportDeclaration}k.isNamespaceExportDeclaration=pz;function dz(e){return e.kind===L.SyntaxKind.NewExpression}k.isNewExpression=dz;function fz(e){return e.kind===L.SyntaxKind.NonNullExpression}k.isNonNullExpression=fz;function mz(e){return e.kind===L.SyntaxKind.NoSubstitutionTemplateLiteral}k.isNoSubstitutionTemplateLiteral=mz;function yz(e){return e.kind===L.SyntaxKind.NullKeyword}k.isNullLiteral=yz;function hz(e){return e.kind===L.SyntaxKind.NumericLiteral}k.isNumericLiteral=hz;function gz(e){switch(e.kind){case L.SyntaxKind.StringLiteral:case L.SyntaxKind.NumericLiteral:case L.SyntaxKind.NoSubstitutionTemplateLiteral:return!0;default:return!1}}k.isNumericOrStringLikeLiteral=gz;function bz(e){return e.kind===L.SyntaxKind.ObjectBindingPattern}k.isObjectBindingPattern=bz;function vz(e){return e.kind===L.SyntaxKind.ObjectLiteralExpression}k.isObjectLiteralExpression=vz;function Tz(e){return e.kind===L.SyntaxKind.OmittedExpression}k.isOmittedExpression=Tz;function xz(e){return e.kind===L.SyntaxKind.Parameter}k.isParameterDeclaration=xz;function Sz(e){return e.kind===L.SyntaxKind.ParenthesizedExpression}k.isParenthesizedExpression=Sz;function wz(e){return e.kind===L.SyntaxKind.ParenthesizedType}k.isParenthesizedTypeNode=wz;function Ez(e){return e.kind===L.SyntaxKind.PostfixUnaryExpression}k.isPostfixUnaryExpression=Ez;function Cz(e){return e.kind===L.SyntaxKind.PrefixUnaryExpression}k.isPrefixUnaryExpression=Cz;function Ew(e){return e.kind===L.SyntaxKind.PropertyAccessExpression}k.isPropertyAccessExpression=Ew;function kz(e){return e.kind===L.SyntaxKind.PropertyAssignment}k.isPropertyAssignment=kz;function Az(e){return e.kind===L.SyntaxKind.PropertyDeclaration}k.isPropertyDeclaration=Az;function Dz(e){return e.kind===L.SyntaxKind.PropertySignature}k.isPropertySignature=Dz;function Cw(e){return e.kind===L.SyntaxKind.QualifiedName}k.isQualifiedName=Cw;function Pz(e){return e.kind===L.SyntaxKind.RegularExpressionLiteral}k.isRegularExpressionLiteral=Pz;function Nz(e){return e.kind===L.SyntaxKind.ReturnStatement}k.isReturnStatement=Nz;function Iz(e){return e.kind===L.SyntaxKind.SetAccessor}k.isSetAccessorDeclaration=Iz;function Oz(e){return e.kind===L.SyntaxKind.ShorthandPropertyAssignment}k.isShorthandPropertyAssignment=Oz;function Mz(e){return e.parameters!==void 0}k.isSignatureDeclaration=Mz;function Lz(e){return e.kind===L.SyntaxKind.SourceFile}k.isSourceFile=Lz;function Jz(e){return e.kind===L.SyntaxKind.SpreadAssignment}k.isSpreadAssignment=Jz;function Rz(e){return e.kind===L.SyntaxKind.SpreadElement}k.isSpreadElement=Rz;function Fz(e){return e.kind===L.SyntaxKind.StringLiteral}k.isStringLiteral=Fz;function jz(e){return e.kind===L.SyntaxKind.SwitchStatement}k.isSwitchStatement=jz;function Bz(e){return e.kind===L.SyntaxKind.SyntaxList}k.isSyntaxList=Bz;function Uz(e){return e.kind===L.SyntaxKind.TaggedTemplateExpression}k.isTaggedTemplateExpression=Uz;function qz(e){return e.kind===L.SyntaxKind.TemplateExpression}k.isTemplateExpression=qz;function zz(e){return e.kind===L.SyntaxKind.TemplateExpression||e.kind===L.SyntaxKind.NoSubstitutionTemplateLiteral}k.isTemplateLiteral=zz;function Wz(e){return e.kind===L.SyntaxKind.StringLiteral||e.kind===L.SyntaxKind.NoSubstitutionTemplateLiteral}k.isTextualLiteral=Wz;function Vz(e){return e.kind===L.SyntaxKind.ThrowStatement}k.isThrowStatement=Vz;function Hz(e){return e.kind===L.SyntaxKind.TryStatement}k.isTryStatement=Hz;function Kz(e){return e.kind===L.SyntaxKind.TupleType}k.isTupleTypeNode=Kz;function Gz(e){return e.kind===L.SyntaxKind.TypeAliasDeclaration}k.isTypeAliasDeclaration=Gz;function Xz(e){return e.kind===L.SyntaxKind.TypeAssertionExpression}k.isTypeAssertion=Xz;function $z(e){return e.kind===L.SyntaxKind.TypeLiteral}k.isTypeLiteralNode=$z;function Qz(e){return e.kind===L.SyntaxKind.TypeOfExpression}k.isTypeOfExpression=Qz;function Yz(e){return e.kind===L.SyntaxKind.TypeOperator}k.isTypeOperatorNode=Yz;function Zz(e){return e.kind===L.SyntaxKind.TypeParameter}k.isTypeParameterDeclaration=Zz;function eW(e){return e.kind===L.SyntaxKind.TypePredicate}k.isTypePredicateNode=eW;function tW(e){return e.kind===L.SyntaxKind.TypeReference}k.isTypeReferenceNode=tW;function nW(e){return e.kind===L.SyntaxKind.TypeQuery}k.isTypeQueryNode=nW;function rW(e){return e.kind===L.SyntaxKind.UnionType}k.isUnionTypeNode=rW;function iW(e){return e.kind===L.SyntaxKind.VariableDeclaration}k.isVariableDeclaration=iW;function aW(e){return e.kind===L.SyntaxKind.VariableStatement}k.isVariableStatement=aW;function oW(e){return e.kind===L.SyntaxKind.VariableDeclarationList}k.isVariableDeclarationList=oW;function sW(e){return e.kind===L.SyntaxKind.VoidExpression}k.isVoidExpression=sW;function _W(e){return e.kind===L.SyntaxKind.WhileStatement}k.isWhileStatement=_W;function cW(e){return e.kind===L.SyntaxKind.WithStatement}k.isWithStatement=cW});var Aw=tt(au=>{"use strict";Object.defineProperty(au,"__esModule",{value:!0});au.isImportTypeNode=void 0;var lW=(Yi(),Er(Qi));lW.__exportStar(kw(),au);var uW=Cn();function pW(e){return e.kind===uW.SyntaxKind.ImportType}au.isImportTypeNode=pW});var Dw=tt(Aa=>{"use strict";Object.defineProperty(Aa,"__esModule",{value:!0});Aa.isSyntheticExpression=Aa.isRestTypeNode=Aa.isOptionalTypeNode=void 0;var dW=(Yi(),Er(Qi));dW.__exportStar(Aw(),Aa);var s6=Cn();function fW(e){return e.kind===s6.SyntaxKind.OptionalType}Aa.isOptionalTypeNode=fW;function mW(e){return e.kind===s6.SyntaxKind.RestType}Aa.isRestTypeNode=mW;function yW(e){return e.kind===s6.SyntaxKind.SyntheticExpression}Aa.isSyntheticExpression=yW});var _6=tt(ou=>{"use strict";Object.defineProperty(ou,"__esModule",{value:!0});ou.isBigIntLiteral=void 0;var hW=(Yi(),Er(Qi));hW.__exportStar(Dw(),ou);var gW=Cn();function bW(e){return e.kind===gW.SyntaxKind.BigIntLiteral}ou.isBigIntLiteral=bW});var l6=tt(c6=>{"use strict";Object.defineProperty(c6,"__esModule",{value:!0});var vW=(Yi(),Er(Qi));vW.__exportStar(_6(),c6)});var Pw=tt(it=>{"use strict";Object.defineProperty(it,"__esModule",{value:!0});it.isUniqueESSymbolType=it.isUnionType=it.isUnionOrIntersectionType=it.isTypeVariable=it.isTypeReference=it.isTypeParameter=it.isSubstitutionType=it.isObjectType=it.isLiteralType=it.isIntersectionType=it.isInterfaceType=it.isInstantiableType=it.isIndexedAccessype=it.isIndexedAccessType=it.isGenericType=it.isEnumType=it.isConditionalType=void 0;var Kt=Cn();function TW(e){return(e.flags&Kt.TypeFlags.Conditional)!==0}it.isConditionalType=TW;function xW(e){return(e.flags&Kt.TypeFlags.Enum)!==0}it.isEnumType=xW;function SW(e){return(e.flags&Kt.TypeFlags.Object)!==0&&(e.objectFlags&Kt.ObjectFlags.ClassOrInterface)!==0&&(e.objectFlags&Kt.ObjectFlags.Reference)!==0}it.isGenericType=SW;function wW(e){return(e.flags&Kt.TypeFlags.IndexedAccess)!==0}it.isIndexedAccessType=wW;function EW(e){return(e.flags&Kt.TypeFlags.Index)!==0}it.isIndexedAccessype=EW;function CW(e){return(e.flags&Kt.TypeFlags.Instantiable)!==0}it.isInstantiableType=CW;function kW(e){return(e.flags&Kt.TypeFlags.Object)!==0&&(e.objectFlags&Kt.ObjectFlags.ClassOrInterface)!==0}it.isInterfaceType=kW;function AW(e){return(e.flags&Kt.TypeFlags.Intersection)!==0}it.isIntersectionType=AW;function DW(e){return(e.flags&(Kt.TypeFlags.StringOrNumberLiteral|Kt.TypeFlags.BigIntLiteral))!==0}it.isLiteralType=DW;function PW(e){return(e.flags&Kt.TypeFlags.Object)!==0}it.isObjectType=PW;function NW(e){return(e.flags&Kt.TypeFlags.Substitution)!==0}it.isSubstitutionType=NW;function IW(e){return(e.flags&Kt.TypeFlags.TypeParameter)!==0}it.isTypeParameter=IW;function OW(e){return(e.flags&Kt.TypeFlags.Object)!==0&&(e.objectFlags&Kt.ObjectFlags.Reference)!==0}it.isTypeReference=OW;function MW(e){return(e.flags&Kt.TypeFlags.TypeVariable)!==0}it.isTypeVariable=MW;function LW(e){return(e.flags&Kt.TypeFlags.UnionOrIntersection)!==0}it.isUnionOrIntersectionType=LW;function JW(e){return(e.flags&Kt.TypeFlags.Union)!==0}it.isUnionType=JW;function RW(e){return(e.flags&Kt.TypeFlags.UniqueESSymbol)!==0}it.isUniqueESSymbolType=RW});var p6=tt(u6=>{"use strict";Object.defineProperty(u6,"__esModule",{value:!0});var FW=(Yi(),Er(Qi));FW.__exportStar(Pw(),u6)});var Ow=tt(fs=>{"use strict";Object.defineProperty(fs,"__esModule",{value:!0});fs.isTupleTypeReference=fs.isTupleType=void 0;var jW=(Yi(),Er(Qi));jW.__exportStar(p6(),fs);var Nw=Cn(),BW=p6();function Iw(e){return(e.flags&Nw.TypeFlags.Object&&e.objectFlags&Nw.ObjectFlags.Tuple)!==0}fs.isTupleType=Iw;function UW(e){return BW.isTypeReference(e)&&Iw(e.target)}fs.isTupleTypeReference=UW});var f6=tt(d6=>{"use strict";Object.defineProperty(d6,"__esModule",{value:!0});var qW=(Yi(),Er(Qi));qW.__exportStar(Ow(),d6)});var Lw=tt(u1=>{"use strict";Object.defineProperty(u1,"__esModule",{value:!0});var Mw=(Yi(),Er(Qi));Mw.__exportStar(_6(),u1);Mw.__exportStar(f6(),u1)});var Jw=tt(m6=>{"use strict";Object.defineProperty(m6,"__esModule",{value:!0});var zW=(Yi(),Er(Qi));zW.__exportStar(f6(),m6)});var Ww=tt(Ke=>{"use strict";Object.defineProperty(Ke,"__esModule",{value:!0});Ke.getBaseClassMemberOfClassElement=Ke.getIteratorYieldResultFromIteratorResult=Ke.getInstanceTypeOfClassLikeDeclaration=Ke.getConstructorTypeOfClassLikeDeclaration=Ke.getSymbolOfClassLikeDeclaration=Ke.getPropertyNameFromType=Ke.symbolHasReadonlyDeclaration=Ke.isPropertyReadonlyInType=Ke.getWellKnownSymbolPropertyOfType=Ke.getPropertyOfType=Ke.isBooleanLiteralType=Ke.isFalsyType=Ke.isThenableType=Ke.someTypePart=Ke.intersectionTypeParts=Ke.unionTypeParts=Ke.getCallSignaturesOfType=Ke.isTypeAssignableToString=Ke.isTypeAssignableToNumber=Ke.isOptionalChainingUndefinedMarkerType=Ke.removeOptionalChainingUndefinedMarkerType=Ke.removeOptionalityFromType=Ke.isEmptyObjectType=void 0;var pt=Cn(),Fn=Jw(),An=v6(),_o=l6();function Fw(e){if(Fn.isObjectType(e)&&e.objectFlags&pt.ObjectFlags.Anonymous&&e.getProperties().length===0&&e.getCallSignatures().length===0&&e.getConstructSignatures().length===0&&e.getStringIndexType()===void 0&&e.getNumberIndexType()===void 0){let t=e.getBaseTypes();return t===void 0||t.every(Fw)}return!1}Ke.isEmptyObjectType=Fw;function jw(e,t){if(!Rw(t,pt.TypeFlags.Undefined))return t;let n=Rw(t,pt.TypeFlags.Null);return t=e.getNonNullableType(t),n?e.getNullableType(t,pt.TypeFlags.Null):t}Ke.removeOptionalityFromType=jw;function Rw(e,t){for(let n of B_(e))if(An.isTypeFlagSet(n,t))return!0;return!1}function WW(e,t){if(!Fn.isUnionType(t))return y6(e,t)?t.getNonNullableType():t;let n=0,i=!1;for(let s of t.types)y6(e,s)?i=!0:n|=s.flags;return i?e.getNullableType(t.getNonNullableType(),n):t}Ke.removeOptionalChainingUndefinedMarkerType=WW;function y6(e,t){return An.isTypeFlagSet(t,pt.TypeFlags.Undefined)&&e.getNullableType(t.getNonNullableType(),pt.TypeFlags.Undefined)!==t}Ke.isOptionalChainingUndefinedMarkerType=y6;function VW(e,t){return Bw(e,t,pt.TypeFlags.NumberLike)}Ke.isTypeAssignableToNumber=VW;function HW(e,t){return Bw(e,t,pt.TypeFlags.StringLike)}Ke.isTypeAssignableToString=HW;function Bw(e,t,n){n|=pt.TypeFlags.Any;let i;return function s(l){if(Fn.isTypeParameter(l)&&l.symbol!==void 0&&l.symbol.declarations!==void 0){if(i===void 0)i=new Set([l]);else if(!i.has(l))i.add(l);else return!1;let d=l.symbol.declarations[0];return d.constraint===void 0?!0:s(e.getTypeFromTypeNode(d.constraint))}return Fn.isUnionType(l)?l.types.every(s):Fn.isIntersectionType(l)?l.types.some(s):An.isTypeFlagSet(l,n)}(t)}function h6(e){if(Fn.isUnionType(e)){let t=[];for(let n of e.types)t.push(...h6(n));return t}if(Fn.isIntersectionType(e)){let t;for(let n of e.types){let i=h6(n);if(i.length!==0){if(t!==void 0)return[];t=i}}return t===void 0?[]:t}return e.getCallSignatures()}Ke.getCallSignaturesOfType=h6;function B_(e){return Fn.isUnionType(e)?e.types:[e]}Ke.unionTypeParts=B_;function KW(e){return Fn.isIntersectionType(e)?e.types:[e]}Ke.intersectionTypeParts=KW;function Uw(e,t,n){return t(e)?e.types.some(n):n(e)}Ke.someTypePart=Uw;function GW(e,t,n=e.getTypeAtLocation(t)){for(let i of B_(e.getApparentType(n))){let s=i.getProperty("then");if(s===void 0)continue;let l=e.getTypeOfSymbolAtLocation(s,t);for(let d of B_(l))for(let y of d.getCallSignatures())if(y.parameters.length!==0&&XW(e,y.parameters[0],t))return!0}return!1}Ke.isThenableType=GW;function XW(e,t,n){let i=e.getApparentType(e.getTypeOfSymbolAtLocation(t,n));if(t.valueDeclaration.dotDotDotToken&&(i=i.getNumberIndexType(),i===void 0))return!1;for(let s of B_(i))if(s.getCallSignatures().length!==0)return!0;return!1}function $W(e){return e.flags&(pt.TypeFlags.Undefined|pt.TypeFlags.Null|pt.TypeFlags.Void)?!0:Fn.isLiteralType(e)?!e.value:g6(e,!1)}Ke.isFalsyType=$W;function g6(e,t){return An.isTypeFlagSet(e,pt.TypeFlags.BooleanLiteral)&&e.intrinsicName===(t?"true":"false")}Ke.isBooleanLiteralType=g6;function p1(e,t){return t.startsWith("__")?e.getProperties().find(n=>n.escapedName===t):e.getProperty(t)}Ke.getPropertyOfType=p1;function QW(e,t,n){let i="__@"+t;for(let s of e.getProperties()){if(!s.name.startsWith(i))continue;let l=n.getApparentType(n.getTypeAtLocation(s.valueDeclaration.name.expression)).symbol;if(s.escapedName===YW(n,l,t))return s}}Ke.getWellKnownSymbolPropertyOfType=QW;function YW(e,t,n){let i=t&&e.getTypeOfSymbolAtLocation(t,t.valueDeclaration).getProperty(n),s=i&&e.getTypeOfSymbolAtLocation(i,i.valueDeclaration);return s&&Fn.isUniqueESSymbolType(s)?s.escapedName:"__@"+n}function qw(e,t,n){let i=!1,s=!1;for(let l of B_(e))if(p1(l,t)===void 0){let d=(An.isNumericPropertyName(t)?n.getIndexInfoOfType(l,pt.IndexKind.Number):void 0)||n.getIndexInfoOfType(l,pt.IndexKind.String);if(d!==void 0&&d.isReadonly){if(i)return!0;s=!0}}else{if(s||ZW(l,t,n))return!0;i=!0}return!1}Ke.isPropertyReadonlyInType=qw;function ZW(e,t,n){return Uw(e,Fn.isIntersectionType,i=>{let s=p1(i,t);if(s===void 0)return!1;if(s.flags&pt.SymbolFlags.Transient){if(/^(?:[1-9]\d*|0)$/.test(t)&&Fn.isTupleTypeReference(i))return i.target.readonly;switch(eV(i,t,n)){case!0:return!0;case!1:return!1;default:}}return An.isSymbolFlagSet(s,pt.SymbolFlags.ValueModule)||zw(s,n)})}function eV(e,t,n){if(!Fn.isObjectType(e)||!An.isObjectFlagSet(e,pt.ObjectFlags.Mapped))return;let i=e.symbol.declarations[0];return i.readonlyToken!==void 0&&!/^__@[^@]+$/.test(t)?i.readonlyToken.kind!==pt.SyntaxKind.MinusToken:qw(e.modifiersType,t,n)}function zw(e,t){return(e.flags&pt.SymbolFlags.Accessor)===pt.SymbolFlags.GetAccessor||e.declarations!==void 0&&e.declarations.some(n=>An.isModifierFlagSet(n,pt.ModifierFlags.Readonly)||_o.isVariableDeclaration(n)&&An.isNodeFlagSet(n.parent,pt.NodeFlags.Const)||_o.isCallExpression(n)&&An.isReadonlyAssignmentDeclaration(n,t)||_o.isEnumMember(n)||(_o.isPropertyAssignment(n)||_o.isShorthandPropertyAssignment(n))&&An.isInConstContext(n.parent))}Ke.symbolHasReadonlyDeclaration=zw;function tV(e){if(e.flags&(pt.TypeFlags.StringLiteral|pt.TypeFlags.NumberLiteral)){let t=String(e.value);return{displayName:t,symbolName:pt.escapeLeadingUnderscores(t)}}if(Fn.isUniqueESSymbolType(e))return{displayName:`[${e.symbol?`${nV(e.symbol)?"Symbol.":""}${e.symbol.name}`:e.escapedName.replace(/^__@|@\d+$/g,"")}]`,symbolName:e.escapedName}}Ke.getPropertyNameFromType=tV;function nV(e){return An.isSymbolFlagSet(e,pt.SymbolFlags.Property)&&e.valueDeclaration!==void 0&&_o.isInterfaceDeclaration(e.valueDeclaration.parent)&&e.valueDeclaration.parent.name.text==="SymbolConstructor"&&rV(e.valueDeclaration.parent)}function rV(e){return An.isNodeFlagSet(e.parent,pt.NodeFlags.GlobalAugmentation)||_o.isSourceFile(e.parent)&&!pt.isExternalModule(e.parent)}function b6(e,t){var n;return t.getSymbolAtLocation((n=e.name)!==null&&n!==void 0?n:An.getChildOfKind(e,pt.SyntaxKind.ClassKeyword))}Ke.getSymbolOfClassLikeDeclaration=b6;function iV(e,t){return e.kind===pt.SyntaxKind.ClassExpression?t.getTypeAtLocation(e):t.getTypeOfSymbolAtLocation(b6(e,t),e)}Ke.getConstructorTypeOfClassLikeDeclaration=iV;function aV(e,t){return e.kind===pt.SyntaxKind.ClassDeclaration?t.getTypeAtLocation(e):t.getDeclaredTypeOfSymbol(b6(e,t))}Ke.getInstanceTypeOfClassLikeDeclaration=aV;function oV(e,t,n){return Fn.isUnionType(e)&&e.types.find(i=>{let s=i.getProperty("done");return s!==void 0&&g6(jw(n,n.getTypeOfSymbolAtLocation(s,t)),!1)})||e}Ke.getIteratorYieldResultFromIteratorResult=oV;function sV(e,t){if(!_o.isClassLikeDeclaration(e.parent))return;let n=An.getBaseOfClassLikeExpression(e.parent);if(n===void 0)return;let i=An.getSingleLateBoundPropertyNameOfPropertyName(e.name,t);if(i===void 0)return;let s=t.getTypeAtLocation(An.hasModifier(e.modifiers,pt.SyntaxKind.StaticKeyword)?n.expression:n);return p1(s,i.symbolName)}Ke.getBaseClassMemberOfClassElement=sV});var v6=tt(z=>{"use strict";Object.defineProperty(z,"__esModule",{value:!0});z.isValidIdentifier=z.getLineBreakStyle=z.getLineRanges=z.forEachComment=z.forEachTokenWithTrivia=z.forEachToken=z.isFunctionWithBody=z.hasOwnThisReference=z.isBlockScopeBoundary=z.isFunctionScopeBoundary=z.isTypeScopeBoundary=z.isScopeBoundary=z.ScopeBoundarySelector=z.ScopeBoundary=z.isInSingleStatementContext=z.isBlockScopedDeclarationStatement=z.isBlockScopedVariableDeclaration=z.isBlockScopedVariableDeclarationList=z.getVariableDeclarationKind=z.VariableDeclarationKind=z.forEachDeclaredVariable=z.forEachDestructuringIdentifier=z.getPropertyName=z.getWrappedNodeAtPosition=z.getAstNodeAtPosition=z.commentText=z.isPositionInComment=z.getCommentAtPosition=z.getTokenAtPosition=z.getNextToken=z.getPreviousToken=z.getNextStatement=z.getPreviousStatement=z.isModifierFlagSet=z.isObjectFlagSet=z.isSymbolFlagSet=z.isTypeFlagSet=z.isNodeFlagSet=z.hasAccessModifier=z.isParameterProperty=z.hasModifier=z.getModifier=z.isThisParameter=z.isKeywordKind=z.isJsDocKind=z.isTypeNodeKind=z.isAssignmentKind=z.isNodeKind=z.isTokenKind=z.getChildOfKind=void 0;z.getBaseOfClassLikeExpression=z.hasExhaustiveCaseClauses=z.formatPseudoBigInt=z.unwrapParentheses=z.getSingleLateBoundPropertyNameOfPropertyName=z.getLateBoundPropertyNamesOfPropertyName=z.getLateBoundPropertyNames=z.getPropertyNameOfWellKnownSymbol=z.isWellKnownSymbolLiterally=z.isBindableObjectDefinePropertyCall=z.isReadonlyAssignmentDeclaration=z.isInConstContext=z.isConstAssertion=z.getTsCheckDirective=z.getCheckJsDirective=z.isAmbientModule=z.isCompilerOptionEnabled=z.isStrictCompilerOptionEnabled=z.getIIFE=z.isAmbientModuleBlock=z.isStatementInAmbientContext=z.findImportLikeNodes=z.findImports=z.ImportKind=z.parseJsDocOfNode=z.getJsDoc=z.canHaveJsDoc=z.isReassignmentTarget=z.getAccessKind=z.AccessKind=z.isExpressionValueUsed=z.getDeclarationOfBindingElement=z.hasSideEffects=z.SideEffectOptions=z.isSameLine=z.isNumericPropertyName=z.isValidJsxIdentifier=z.isValidNumericLiteral=z.isValidPropertyName=z.isValidPropertyAccess=void 0;var T=Cn(),Gt=l6(),x6=Lw(),ms=Ww();function _V(e,t,n){for(let i of e.getChildren(n))if(i.kind===t)return i}z.getChildOfKind=_V;function _u(e){return e>=T.SyntaxKind.FirstToken&&e<=T.SyntaxKind.LastToken}z.isTokenKind=_u;function Kw(e){return e>=T.SyntaxKind.FirstNode}z.isNodeKind=Kw;function w6(e){return e>=T.SyntaxKind.FirstAssignment&&e<=T.SyntaxKind.LastAssignment}z.isAssignmentKind=w6;function cV(e){return e>=T.SyntaxKind.FirstTypeNode&&e<=T.SyntaxKind.LastTypeNode}z.isTypeNodeKind=cV;function lV(e){return e>=T.SyntaxKind.FirstJSDocNode&&e<=T.SyntaxKind.LastJSDocNode}z.isJsDocKind=lV;function uV(e){return e>=T.SyntaxKind.FirstKeyword&&e<=T.SyntaxKind.LastKeyword}z.isKeywordKind=uV;function pV(e){return e.name.kind===T.SyntaxKind.Identifier&&e.name.originalKeywordKind===T.SyntaxKind.ThisKeyword}z.isThisParameter=pV;function dV(e,t){if(e.modifiers!==void 0){for(let n of e.modifiers)if(n.kind===t)return n}}z.getModifier=dV;function z_(e,...t){if(e===void 0)return!1;for(let n of e)if(t.includes(n.kind))return!0;return!1}z.hasModifier=z_;function fV(e){return z_(e.modifiers,T.SyntaxKind.PublicKeyword,T.SyntaxKind.ProtectedKeyword,T.SyntaxKind.PrivateKeyword,T.SyntaxKind.ReadonlyKeyword)}z.isParameterProperty=fV;function mV(e){return Gw(e,T.ModifierFlags.AccessibilityModifier)}z.hasAccessModifier=mV;function E6(e,t){return(e.flags&t)!==0}z.isNodeFlagSet=E6;z.isTypeFlagSet=E6;z.isSymbolFlagSet=E6;function yV(e,t){return(e.objectFlags&t)!==0}z.isObjectFlagSet=yV;function Gw(e,t){return(T.getCombinedModifierFlags(e)&t)!==0}z.isModifierFlagSet=Gw;function hV(e){let t=e.parent;if(Gt.isBlockLike(t)){let n=t.statements.indexOf(e);if(n>0)return t.statements[n-1]}}z.getPreviousStatement=hV;function gV(e){let t=e.parent;if(Gt.isBlockLike(t)){let n=t.statements.indexOf(e);if(n=e.end))return _u(e.kind)?e:d1(e,t,n??e.getSourceFile(),i===!0)}z.getTokenAtPosition=Xw;function d1(e,t,n,i){if(!i&&(e=Qw(e,t),_u(e.kind)))return e;e:for(;;){for(let s of e.getChildren(n))if(s.end>t&&(i||s.kind!==T.SyntaxKind.JSDocComment)){if(_u(s.kind))return s;e=s;continue e}return}}function $w(e,t,n=e){let i=Xw(n,t,e);if(i===void 0||i.kind===T.SyntaxKind.JsxText||t>=i.end-(T.tokenToString(i.kind)||"").length)return;let s=i.pos===0?(T.getShebang(e.text)||"").length:i.pos;return s!==0&&T.forEachTrailingCommentRange(e.text,s,Vw,t)||T.forEachLeadingCommentRange(e.text,s,Vw,t)}z.getCommentAtPosition=$w;function Vw(e,t,n,i,s){return s>=e&&st||e.end<=t)){for(;Kw(e.kind);){let n=T.forEachChild(e,i=>i.pos<=t&&i.end>t?i:void 0);if(n===void 0)break;e=n}return e}}z.getAstNodeAtPosition=Qw;function SV(e,t){if(!(e.node.pos>t||e.node.end<=t))e:for(;;){for(let n of e.children){if(n.node.pos>t)return e;if(n.node.end>t){e=n;continue e}}return e}}z.getWrappedNodeAtPosition=SV;function C6(e){if(e.kind===T.SyntaxKind.ComputedPropertyName){let t=R6(e.expression);if(Gt.isPrefixUnaryExpression(t)){let n=!1;switch(t.operator){case T.SyntaxKind.MinusToken:n=!0;case T.SyntaxKind.PlusToken:return Gt.isNumericLiteral(t.operand)?`${n?"-":""}${t.operand.text}`:x6.isBigIntLiteral(t.operand)?`${n?"-":""}${t.operand.text.slice(0,-1)}`:void 0;default:return}}return x6.isBigIntLiteral(t)?t.text.slice(0,-1):Gt.isNumericOrStringLikeLiteral(t)?t.text:void 0}return e.kind===T.SyntaxKind.PrivateIdentifier?void 0:e.text}z.getPropertyName=C6;function k6(e,t){for(let n of e.elements){if(n.kind!==T.SyntaxKind.BindingElement)continue;let i;if(n.name.kind===T.SyntaxKind.Identifier?i=t(n):i=k6(n.name,t),i)return i}}z.forEachDestructuringIdentifier=k6;function wV(e,t){for(let n of e.declarations){let i;if(n.name.kind===T.SyntaxKind.Identifier?i=t(n):i=k6(n.name,t),i)return i}}z.forEachDeclaredVariable=wV;var EV;(function(e){e[e.Var=0]="Var",e[e.Let=1]="Let",e[e.Const=2]="Const"})(EV=z.VariableDeclarationKind||(z.VariableDeclarationKind={}));function CV(e){return e.flags&T.NodeFlags.Let?1:e.flags&T.NodeFlags.Const?2:0}z.getVariableDeclarationKind=CV;function A6(e){return(e.flags&T.NodeFlags.BlockScoped)!==0}z.isBlockScopedVariableDeclarationList=A6;function kV(e){let t=e.parent;return t.kind===T.SyntaxKind.CatchClause||A6(t)}z.isBlockScopedVariableDeclaration=kV;function AV(e){switch(e.kind){case T.SyntaxKind.VariableStatement:return A6(e.declarationList);case T.SyntaxKind.ClassDeclaration:case T.SyntaxKind.EnumDeclaration:case T.SyntaxKind.InterfaceDeclaration:case T.SyntaxKind.TypeAliasDeclaration:return!0;default:return!1}}z.isBlockScopedDeclarationStatement=AV;function DV(e){switch(e.parent.kind){case T.SyntaxKind.ForStatement:case T.SyntaxKind.ForInStatement:case T.SyntaxKind.ForOfStatement:case T.SyntaxKind.WhileStatement:case T.SyntaxKind.DoStatement:case T.SyntaxKind.IfStatement:case T.SyntaxKind.WithStatement:case T.SyntaxKind.LabeledStatement:return!0;default:return!1}}z.isInSingleStatementContext=DV;var PV;(function(e){e[e.None=0]="None",e[e.Function=1]="Function",e[e.Block=2]="Block",e[e.Type=4]="Type",e[e.ConditionalType=8]="ConditionalType"})(PV=z.ScopeBoundary||(z.ScopeBoundary={}));var NV;(function(e){e[e.Function=1]="Function",e[e.Block=3]="Block",e[e.Type=7]="Type",e[e.InferType=8]="InferType"})(NV=z.ScopeBoundarySelector||(z.ScopeBoundarySelector={}));function IV(e){return D6(e)||Zw(e)||Yw(e)}z.isScopeBoundary=IV;function Yw(e){switch(e.kind){case T.SyntaxKind.InterfaceDeclaration:case T.SyntaxKind.TypeAliasDeclaration:case T.SyntaxKind.MappedType:return 4;case T.SyntaxKind.ConditionalType:return 8;default:return 0}}z.isTypeScopeBoundary=Yw;function D6(e){switch(e.kind){case T.SyntaxKind.FunctionExpression:case T.SyntaxKind.ArrowFunction:case T.SyntaxKind.Constructor:case T.SyntaxKind.ModuleDeclaration:case T.SyntaxKind.ClassDeclaration:case T.SyntaxKind.ClassExpression:case T.SyntaxKind.EnumDeclaration:case T.SyntaxKind.MethodDeclaration:case T.SyntaxKind.FunctionDeclaration:case T.SyntaxKind.GetAccessor:case T.SyntaxKind.SetAccessor:case T.SyntaxKind.MethodSignature:case T.SyntaxKind.CallSignature:case T.SyntaxKind.ConstructSignature:case T.SyntaxKind.ConstructorType:case T.SyntaxKind.FunctionType:return 1;case T.SyntaxKind.SourceFile:return T.isExternalModule(e)?1:0;default:return 0}}z.isFunctionScopeBoundary=D6;function Zw(e){switch(e.kind){case T.SyntaxKind.Block:let t=e.parent;return t.kind!==T.SyntaxKind.CatchClause&&(t.kind===T.SyntaxKind.SourceFile||!D6(t))?2:0;case T.SyntaxKind.ForStatement:case T.SyntaxKind.ForInStatement:case T.SyntaxKind.ForOfStatement:case T.SyntaxKind.CaseBlock:case T.SyntaxKind.CatchClause:case T.SyntaxKind.WithStatement:return 2;default:return 0}}z.isBlockScopeBoundary=Zw;function OV(e){switch(e.kind){case T.SyntaxKind.ClassDeclaration:case T.SyntaxKind.ClassExpression:case T.SyntaxKind.FunctionExpression:return!0;case T.SyntaxKind.FunctionDeclaration:return e.body!==void 0;case T.SyntaxKind.MethodDeclaration:case T.SyntaxKind.GetAccessor:case T.SyntaxKind.SetAccessor:return e.parent.kind===T.SyntaxKind.ObjectLiteralExpression;default:return!1}}z.hasOwnThisReference=OV;function MV(e){switch(e.kind){case T.SyntaxKind.GetAccessor:case T.SyntaxKind.SetAccessor:case T.SyntaxKind.FunctionDeclaration:case T.SyntaxKind.MethodDeclaration:case T.SyntaxKind.Constructor:return e.body!==void 0;case T.SyntaxKind.FunctionExpression:case T.SyntaxKind.ArrowFunction:return!0;default:return!1}}z.isFunctionWithBody=MV;function P6(e,t,n=e.getSourceFile()){let i=[];for(;;){if(_u(e.kind))t(e);else if(e.kind!==T.SyntaxKind.JSDocComment){let s=e.getChildren(n);if(s.length===1){e=s[0];continue}for(let l=s.length-1;l>=0;--l)i.push(s[l])}if(i.length===0)break;e=i.pop()}}z.forEachToken=P6;function LV(e,t,n=e.getSourceFile()){let i=n.text,s=T.createScanner(n.languageVersion,!1,n.languageVariant,i);return P6(e,l=>{let d=l.kind===T.SyntaxKind.JsxText||l.pos===l.end?l.pos:l.getStart(n);if(d!==l.pos){s.setTextPos(l.pos);let y=s.scan(),p=s.getTokenPos();for(;p{if(d.pos!==d.end&&(d.kind!==T.SyntaxKind.JsxText&&T.forEachLeadingCommentRange(i,d.pos===0?(T.getShebang(i)||"").length:d.pos,l),s||RV(d)))return T.forEachTrailingCommentRange(i,d.end,l)},n);function l(d,y,p){t(i,{pos:d,end:y,kind:p})}}z.forEachComment=JV;function RV(e){switch(e.kind){case T.SyntaxKind.CloseBraceToken:return e.parent.kind!==T.SyntaxKind.JsxExpression||!T6(e.parent.parent);case T.SyntaxKind.GreaterThanToken:switch(e.parent.kind){case T.SyntaxKind.JsxOpeningElement:return e.end!==e.parent.end;case T.SyntaxKind.JsxOpeningFragment:return!1;case T.SyntaxKind.JsxSelfClosingElement:return e.end!==e.parent.end||!T6(e.parent.parent);case T.SyntaxKind.JsxClosingElement:case T.SyntaxKind.JsxClosingFragment:return!T6(e.parent.parent.parent)}}return!0}function T6(e){return e.kind===T.SyntaxKind.JsxElement||e.kind===T.SyntaxKind.JsxFragment}function FV(e){let t=e.getLineStarts(),n=[],i=t.length,s=e.text,l=0;for(let d=1;dl&&T.isLineBreak(s.charCodeAt(p-1));--p);n.push({pos:l,end:y,contentLength:p-l}),l=y}return n.push({pos:l,end:e.end,contentLength:e.end-l}),n}z.getLineRanges=FV;function jV(e){let t=e.getLineStarts();return t.length===1||t[1]<2||e.text[t[1]-2]!=="\r"?` -`:`\r -`}z.getLineBreakStyle=jV;var U_;function N6(e,t){return U_===void 0?U_=T.createScanner(t,!1,void 0,e):(U_.setScriptTarget(t),U_.setText(e)),U_.scan(),U_}function BV(e,t=T.ScriptTarget.Latest){let n=N6(e,t);return n.isIdentifier()&&n.getTextPos()===e.length&&n.getTokenPos()===0}z.isValidIdentifier=BV;function su(e){return e>=65536?2:1}function eE(e,t=T.ScriptTarget.Latest){if(e.length===0)return!1;let n=e.codePointAt(0);if(!T.isIdentifierStart(n,t))return!1;for(let i=su(n);iw===T.SyntaxKind.MultiLineCommentTrivia&&n.text[h+2]==="*"?{pos:h}:void 0);if(s===void 0)return[];let l=s.pos,d=n.text.slice(l,t),y=T.createSourceFile("jsdoc.ts",`${d}var a;`,n.languageVersion),p=O6(y.statements[0],y);for(let h of p)x(h,e);return p;function x(h,D){return h.pos+=l,h.end+=l,h.parent=D,T.forEachChild(h,w=>x(w,h),w=>{w.pos+=l,w.end+=l;for(let g of w)x(g,h)})}}var ZV;(function(e){e[e.ImportDeclaration=1]="ImportDeclaration",e[e.ImportEquals=2]="ImportEquals",e[e.ExportFrom=4]="ExportFrom",e[e.DynamicImport=8]="DynamicImport",e[e.Require=16]="Require",e[e.ImportType=32]="ImportType",e[e.All=63]="All",e[e.AllImports=59]="AllImports",e[e.AllStaticImports=3]="AllStaticImports",e[e.AllImportExpressions=24]="AllImportExpressions",e[e.AllRequireLike=18]="AllRequireLike",e[e.AllNestedImports=56]="AllNestedImports",e[e.AllTopLevelImports=7]="AllTopLevelImports"})(ZV=z.ImportKind||(z.ImportKind={}));function eH(e,t,n=!0){let i=[];for(let l of rE(e,t,n))switch(l.kind){case T.SyntaxKind.ImportDeclaration:s(l.moduleSpecifier);break;case T.SyntaxKind.ImportEqualsDeclaration:s(l.moduleReference.expression);break;case T.SyntaxKind.ExportDeclaration:s(l.moduleSpecifier);break;case T.SyntaxKind.CallExpression:s(l.arguments[0]);break;case T.SyntaxKind.ImportType:Gt.isLiteralTypeNode(l.argument)&&s(l.argument.literal);break;default:throw new Error("unexpected node")}return i;function s(l){Gt.isTextualLiteral(l)&&i.push(l)}}z.findImports=eH;function rE(e,t,n=!0){return new S6(e,t,n).find()}z.findImportLikeNodes=rE;var S6=class{constructor(t,n,i){this._sourceFile=t,this._options=n,this._ignoreFileName=i,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(t){for(let n of t)Gt.isImportDeclaration(n)?this._options&1&&this._result.push(n):Gt.isImportEqualsDeclaration(n)?this._options&2&&n.moduleReference.kind===T.SyntaxKind.ExternalModuleReference&&this._result.push(n):Gt.isExportDeclaration(n)?n.moduleSpecifier!==void 0&&this._options&4&&this._result.push(n):Gt.isModuleDeclaration(n)&&this._findImportsInModule(n)}_findImportsInModule(t){if(t.body!==void 0){if(t.body.kind===T.SyntaxKind.ModuleDeclaration)return this._findImportsInModule(t.body);this._findImports(t.body.statements)}}_findNestedImports(){let t=this._ignoreFileName||(this._sourceFile.flags&T.NodeFlags.JavaScriptFile)!==0,n,i;if((this._options&56)===16){if(!t)return;n=/\brequire\s*[1&&this._result.push(l.parent)}}else l.kind===T.SyntaxKind.Identifier&&l.end-7===s.index&&l.parent.kind===T.SyntaxKind.CallExpression&&l.parent.expression===l&&l.parent.arguments.length===1&&this._result.push(l.parent)}}};function tH(e){for(;e.flags&T.NodeFlags.NestedNamespace;)e=e.parent;return z_(e.modifiers,T.SyntaxKind.DeclareKeyword)||iE(e.parent)}z.isStatementInAmbientContext=tH;function iE(e){for(;e.kind===T.SyntaxKind.ModuleBlock;){do e=e.parent;while(e.flags&T.NodeFlags.NestedNamespace);if(z_(e.modifiers,T.SyntaxKind.DeclareKeyword))return!0;e=e.parent}return!1}z.isAmbientModuleBlock=iE;function nH(e){let t=e.parent;for(;t.kind===T.SyntaxKind.ParenthesizedExpression;)t=t.parent;return Gt.isCallExpression(t)&&e.end<=t.expression.end?t:void 0}z.getIIFE=nH;function M6(e,t){return(e.strict?e[t]!==!1:e[t]===!0)&&(t!=="strictPropertyInitialization"||M6(e,"strictNullChecks"))}z.isStrictCompilerOptionEnabled=M6;function Da(e,t){switch(t){case"stripInternal":case"declarationMap":case"emitDeclarationOnly":return e[t]===!0&&Da(e,"declaration");case"declaration":return e.declaration||Da(e,"composite");case"incremental":return e.incremental===void 0?Da(e,"composite"):e.incremental;case"skipDefaultLibCheck":return e.skipDefaultLibCheck||Da(e,"skipLibCheck");case"suppressImplicitAnyIndexErrors":return e.suppressImplicitAnyIndexErrors===!0&&Da(e,"noImplicitAny");case"allowSyntheticDefaultImports":return e.allowSyntheticDefaultImports!==void 0?e.allowSyntheticDefaultImports:Da(e,"esModuleInterop")||e.module===T.ModuleKind.System;case"noUncheckedIndexedAccess":return e.noUncheckedIndexedAccess===!0&&Da(e,"strictNullChecks");case"allowJs":return e.allowJs===void 0?Da(e,"checkJs"):e.allowJs;case"noImplicitAny":case"noImplicitThis":case"strictNullChecks":case"strictFunctionTypes":case"strictPropertyInitialization":case"alwaysStrict":case"strictBindCallApply":return M6(e,t)}return e[t]===!0}z.isCompilerOptionEnabled=Da;function rH(e){return e.name.kind===T.SyntaxKind.StringLiteral||(e.flags&T.NodeFlags.GlobalAugmentation)!==0}z.isAmbientModule=rH;function iH(e){return aE(e)}z.getCheckJsDirective=iH;function aE(e){let t;return T.forEachLeadingCommentRange(e,(T.getShebang(e)||"").length,(n,i,s)=>{if(s===T.SyntaxKind.SingleLineCommentTrivia){let l=e.slice(n,i),d=/^\/{2,3}\s*@ts-(no)?check(?:\s|$)/i.exec(l);d!==null&&(t={pos:n,end:i,enabled:d[1]===void 0})}}),t}z.getTsCheckDirective=aE;function oE(e){return Gt.isTypeReferenceNode(e.type)&&e.type.typeName.kind===T.SyntaxKind.Identifier&&e.type.typeName.escapedText==="const"}z.isConstAssertion=oE;function aH(e){let t=e;for(;;){let n=t.parent;e:switch(n.kind){case T.SyntaxKind.TypeAssertionExpression:case T.SyntaxKind.AsExpression:return oE(n);case T.SyntaxKind.PrefixUnaryExpression:if(t.kind!==T.SyntaxKind.NumericLiteral)return!1;switch(n.operator){case T.SyntaxKind.PlusToken:case T.SyntaxKind.MinusToken:t=n;break e;default:return!1}case T.SyntaxKind.PropertyAssignment:if(n.initializer!==t)return!1;t=n.parent;break;case T.SyntaxKind.ShorthandPropertyAssignment:t=n.parent;break;case T.SyntaxKind.ParenthesizedExpression:case T.SyntaxKind.ArrayLiteralExpression:case T.SyntaxKind.ObjectLiteralExpression:case T.SyntaxKind.TemplateExpression:t=n;break;default:return!1}}}z.isInConstContext=aH;function oH(e,t){if(!sE(e))return!1;let n=t.getTypeAtLocation(e.arguments[2]);if(n.getProperty("value")===void 0)return n.getProperty("set")===void 0;let i=n.getProperty("writable");if(i===void 0)return!1;let s=i.valueDeclaration!==void 0&&Gt.isPropertyAssignment(i.valueDeclaration)?t.getTypeAtLocation(i.valueDeclaration.initializer):t.getTypeOfSymbolAtLocation(i,e.arguments[2]);return ms.isBooleanLiteralType(s,!1)}z.isReadonlyAssignmentDeclaration=oH;function sE(e){return e.arguments.length===3&&Gt.isEntityNameExpression(e.arguments[0])&&Gt.isNumericOrStringLikeLiteral(e.arguments[1])&&Gt.isPropertyAccessExpression(e.expression)&&e.expression.name.escapedText==="defineProperty"&&Gt.isIdentifier(e.expression.expression)&&e.expression.expression.escapedText==="Object"}z.isBindableObjectDefinePropertyCall=sE;function L6(e){return T.isPropertyAccessExpression(e)&&T.isIdentifier(e.expression)&&e.expression.escapedText==="Symbol"}z.isWellKnownSymbolLiterally=L6;function J6(e){return{displayName:`[Symbol.${e.name.text}]`,symbolName:"__@"+e.name.text}}z.getPropertyNameOfWellKnownSymbol=J6;var _E=(([e,t])=>e<"4"||e==="4"&&t<"3")(T.versionMajorMinor.split("."));function cE(e,t){let n={known:!0,names:[]};if(e=R6(e),_E&&L6(e))n.names.push(J6(e));else{let i=t.getTypeAtLocation(e);for(let s of ms.unionTypeParts(t.getBaseConstraintOfType(i)||i)){let l=ms.getPropertyNameFromType(s);l?n.names.push(l):n.known=!1}}return n}z.getLateBoundPropertyNames=cE;function sH(e,t){let n=C6(e);return n!==void 0?{known:!0,names:[{displayName:n,symbolName:T.escapeLeadingUnderscores(n)}]}:e.kind===T.SyntaxKind.PrivateIdentifier?{known:!0,names:[{displayName:e.text,symbolName:t.getSymbolAtLocation(e).escapedName}]}:cE(e.expression,t)}z.getLateBoundPropertyNamesOfPropertyName=sH;function _H(e,t){let n=C6(e);if(n!==void 0)return{displayName:n,symbolName:T.escapeLeadingUnderscores(n)};if(e.kind===T.SyntaxKind.PrivateIdentifier)return{displayName:e.text,symbolName:t.getSymbolAtLocation(e).escapedName};let{expression:i}=e;return _E&&L6(i)?J6(i):ms.getPropertyNameFromType(t.getTypeAtLocation(i))}z.getSingleLateBoundPropertyNameOfPropertyName=_H;function R6(e){for(;e.kind===T.SyntaxKind.ParenthesizedExpression;)e=e.expression;return e}z.unwrapParentheses=R6;function lE(e){return`${e.negative?"-":""}${e.base10Value}n`}z.formatPseudoBigInt=lE;function cH(e,t){let n=e.caseBlock.clauses.filter(Gt.isCaseClause);if(n.length===0)return!1;let i=ms.unionTypeParts(t.getTypeAtLocation(e.expression));if(i.length>n.length)return!1;let s=new Set(i.map(Hw));if(s.has(void 0))return!1;let l=new Set;for(let d of n){let y=t.getTypeAtLocation(d.expression);if(z.isTypeFlagSet(y,T.TypeFlags.Never))continue;let p=Hw(y);if(s.has(p))l.add(p);else if(p!=="null"&&p!=="undefined")return!1}return s.size===l.size}z.hasExhaustiveCaseClauses=cH;function Hw(e){if(z.isTypeFlagSet(e,T.TypeFlags.Null))return"null";if(z.isTypeFlagSet(e,T.TypeFlags.Undefined))return"undefined";if(z.isTypeFlagSet(e,T.TypeFlags.NumberLiteral))return`${z.isTypeFlagSet(e,T.TypeFlags.EnumLiteral)?"enum:":""}${e.value}`;if(z.isTypeFlagSet(e,T.TypeFlags.StringLiteral))return`${z.isTypeFlagSet(e,T.TypeFlags.EnumLiteral)?"enum:":""}string:${e.value}`;if(z.isTypeFlagSet(e,T.TypeFlags.BigIntLiteral))return lE(e.value);if(x6.isUniqueESSymbolType(e))return e.escapedName;if(ms.isBooleanLiteralType(e,!0))return"true";if(ms.isBooleanLiteralType(e,!1))return"false"}function uE(e){var t;if(((t=e.heritageClauses)===null||t===void 0?void 0:t[0].token)===T.SyntaxKind.ExtendsKeyword)return e.heritageClauses[0].types[0]}z.getBaseOfClassLikeExpression=uE});var fE=tt(Zi=>{"use strict";var lH=Zi&&Zi.__createBinding||(Object.create?function(e,t,n,i){i===void 0&&(i=n);var s=Object.getOwnPropertyDescriptor(t,n);(!s||("get"in s?!t.__esModule:s.writable||s.configurable))&&(s={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,i,s)}:function(e,t,n,i){i===void 0&&(i=n),e[i]=t[n]}),uH=Zi&&Zi.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),pH=Zi&&Zi.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var n in e)n!=="default"&&Object.prototype.hasOwnProperty.call(e,n)&&lH(t,e,n);return uH(t,e),t};Object.defineProperty(Zi,"__esModule",{value:!0});Zi.convertComments=void 0;var dH=v6(),pE=pH(Cn()),fH=l1(),dE=_1();function mH(e,t){let n=[];return(0,dH.forEachComment)(e,(i,s)=>{let l=s.kind===pE.SyntaxKind.SingleLineCommentTrivia?dE.AST_TOKEN_TYPES.Line:dE.AST_TOKEN_TYPES.Block,d=[s.pos,s.end],y=(0,fH.getLocFor)(d[0],d[1],e),p=d[0]+2,x=s.kind===pE.SyntaxKind.SingleLineCommentTrivia?d[1]-p:d[1]-p-2;n.push({type:l,value:t.slice(p,p+x),range:d,loc:y})},e),n}Zi.convertComments=mH});var yE=tt(f1=>{"use strict";Object.defineProperty(f1,"__esModule",{value:!0});f1.astConverter=void 0;var mE=r6(),yH=fE(),hH=l1(),gH={};function bH(e,t,n){let{parseDiagnostics:i}=e;if(i.length)throw(0,mE.convertError)(i[0]);let s=new mE.Converter(e,{errorOnUnknownASTType:t.errorOnUnknownASTType||!1,shouldPreserveNodeMaps:n}),l=s.convertProgram();(!t.range||!t.loc)&&(0,gH.simpleTraverse)(l,{enter:y=>{t.range||delete y.range,t.loc||delete y.loc}}),t.tokens&&(l.tokens=(0,hH.convertTokens)(e)),t.comment&&(l.comments=(0,yH.convertComments)(e,t.code));let d=s.getASTMaps();return{estree:l,astMaps:d}}f1.astConverter=bH});var hE=tt(ur=>{"use strict";var vH=ur&&ur.__createBinding||(Object.create?function(e,t,n,i){i===void 0&&(i=n);var s=Object.getOwnPropertyDescriptor(t,n);(!s||("get"in s?!t.__esModule:s.writable||s.configurable))&&(s={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,i,s)}:function(e,t,n,i){i===void 0&&(i=n),e[i]=t[n]}),TH=ur&&ur.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),xH=ur&&ur.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var n in e)n!=="default"&&Object.prototype.hasOwnProperty.call(e,n)&&vH(t,e,n);return TH(t,e),t},SH=ur&&ur.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(ur,"__esModule",{value:!0});ur.getLanguageVariant=ur.getScriptKind=void 0;var wH=SH({extname:e=>"."+e.split(".").pop()}),Xt=xH(Cn());function EH(e,t){switch(wH.default.extname(e).toLowerCase()){case Xt.Extension.Js:case Xt.Extension.Cjs:case Xt.Extension.Mjs:return Xt.ScriptKind.JS;case Xt.Extension.Jsx:return Xt.ScriptKind.JSX;case Xt.Extension.Ts:case Xt.Extension.Cts:case Xt.Extension.Mts:return Xt.ScriptKind.TS;case Xt.Extension.Tsx:return Xt.ScriptKind.TSX;case Xt.Extension.Json:return Xt.ScriptKind.JSON;default:return t?Xt.ScriptKind.TSX:Xt.ScriptKind.TS}}ur.getScriptKind=EH;function CH(e){switch(e){case Xt.ScriptKind.TSX:case Xt.ScriptKind.JSX:case Xt.ScriptKind.JS:case Xt.ScriptKind.JSON:return Xt.LanguageVariant.JSX;default:return Xt.LanguageVariant.Standard}}ur.getLanguageVariant=CH});var bE=tt(Zr=>{"use strict";var kH=Zr&&Zr.__createBinding||(Object.create?function(e,t,n,i){i===void 0&&(i=n);var s=Object.getOwnPropertyDescriptor(t,n);(!s||("get"in s?!t.__esModule:s.writable||s.configurable))&&(s={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,i,s)}:function(e,t,n,i){i===void 0&&(i=n),e[i]=t[n]}),AH=Zr&&Zr.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),DH=Zr&&Zr.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var n in e)n!=="default"&&Object.prototype.hasOwnProperty.call(e,n)&&kH(t,e,n);return AH(t,e),t},PH=Zr&&Zr.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(Zr,"__esModule",{value:!0});Zr.createSourceFile=void 0;var NH=PH((zd(),Er(qd))),gE=DH(Cn()),IH=hE(),OH=(0,NH.default)("typescript-eslint:typescript-estree:createSourceFile");function MH(e){return OH("Getting AST without type information in %s mode for: %s",e.jsx?"TSX":"TS",e.filePath),gE.createSourceFile(e.filePath,e.code,gE.ScriptTarget.Latest,!0,(0,IH.getScriptKind)(e.filePath,e.jsx))}Zr.createSourceFile=MH});var TE=tt(vE=>{vE.ExpiringCache=class{}});var SE=tt(xE=>{xE.resolveProjectList=()=>[]});var EE=tt(wE=>{wE.inferSingleRun=()=>!1});var kE=tt(CE=>{CE.warnAboutTSVersion=()=>{}});var DE=tt(co=>{"use strict";var LH=co&&co.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(co,"__esModule",{value:!0});co.clearTSConfigMatchCache=co.createParseSettings=void 0;var F6=LH((zd(),Er(qd))),JH={ensureAbsolutePath:e=>e},AE=TE(),VG=SE(),RH=EE(),FH=kE(),jH=(0,F6.default)("typescript-eslint:typescript-estree:parser:parseSettings:createParseSettings"),ys;function BH(e,t={}){var n,i,s;let l=(0,RH.inferSingleRun)(t),d=typeof t.tsconfigRootDir=="string"?t.tsconfigRootDir:"/prettier-security-dirname-placeholder",y={code:qH(e),comment:t.comment===!0,comments:[],createDefaultProgram:t.createDefaultProgram===!0,debugLevel:t.debugLevel===!0?new Set(["typescript-eslint"]):Array.isArray(t.debugLevel)?new Set(t.debugLevel):new Set,errorOnTypeScriptSyntacticAndSemanticIssues:!1,errorOnUnknownASTType:t.errorOnUnknownASTType===!0,EXPERIMENTAL_useSourceOfProjectReferenceRedirect:t.EXPERIMENTAL_useSourceOfProjectReferenceRedirect===!0,extraFileExtensions:Array.isArray(t.extraFileExtensions)&&t.extraFileExtensions.every(p=>typeof p=="string")?t.extraFileExtensions:[],filePath:(0,JH.ensureAbsolutePath)(typeof t.filePath=="string"&&t.filePath!==""?t.filePath:zH(t.jsx),d),jsx:t.jsx===!0,loc:t.loc===!0,log:typeof t.loggerFn=="function"?t.loggerFn:t.loggerFn===!1?()=>{}:console.log,moduleResolver:(n=t.moduleResolver)!==null&&n!==void 0?n:"",preserveNodeMaps:t.preserveNodeMaps!==!1,programs:Array.isArray(t.programs)?t.programs:null,projects:[],range:t.range===!0,singleRun:l,tokens:t.tokens===!0?[]:null,tsconfigMatchCache:ys??(ys=new AE.ExpiringCache(l?"Infinity":(s=(i=t.cacheLifetime)===null||i===void 0?void 0:i.glob)!==null&&s!==void 0?s:AE.DEFAULT_TSCONFIG_CACHE_DURATION_SECONDS)),tsconfigRootDir:d};if(y.debugLevel.size>0){let p=[];y.debugLevel.has("typescript-eslint")&&p.push("typescript-eslint:*"),(y.debugLevel.has("eslint")||F6.default.enabled("eslint:*,-eslint:code-path"))&&p.push("eslint:*,-eslint:code-path"),F6.default.enable(p.join(","))}if(Array.isArray(t.programs)){if(!t.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.");jH("parserOptions.programs was provided, so parserOptions.project will be ignored.")}return y.programs||(y.projects=[]),(0,FH.warnAboutTSVersion)(y),y}co.createParseSettings=BH;function UH(){ys==null||ys.clear()}co.clearTSConfigMatchCache=UH;function qH(e){return typeof e!="string"?String(e):e}function zH(e){return e?"estree.tsx":"estree.ts"}});var OE=tt(m1=>{"use strict";Object.defineProperty(m1,"__esModule",{value:!0});m1.getFirstSemanticOrSyntacticError=void 0;var PE=Cn();function WH(e,t){try{let n=NE(e.getSyntacticDiagnostics(t));if(n.length)return IE(n[0]);let i=NE(e.getSemanticDiagnostics(t));return i.length?IE(i[0]):void 0}catch(n){console.warn(`Warning From TSC: "${n.message}`);return}}m1.getFirstSemanticOrSyntacticError=WH;function NE(e){return e.filter(t=>{switch(t.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 IE(e){return Object.assign(Object.assign({},e),{message:(0,PE.flattenDiagnosticMessageText)(e.messageText,PE.sys.newLine)})}});var jE=tt(pr=>{"use strict";var VH=pr&&pr.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(pr,"__esModule",{value:!0});pr.clearParseAndGenerateServicesCalls=pr.clearProgramCache=pr.parseWithNodeMaps=pr.parseAndGenerateServices=pr.parse=void 0;var HH=VH((zd(),Er(qd))),ME=yE(),KH=r6(),GH={},LE={},XH={},$H=bE(),JE={},RE=DE(),QH=OE(),YH=(0,HH.default)("typescript-eslint:typescript-estree:parser"),j6=new Map;function ZH(){j6.clear()}pr.clearProgramCache=ZH;function eK(e,t){return e.programs&&(0,JE.useProvidedPrograms)(e.programs,e)||t&&(0,XH.createProjectProgram)(e)||t&&e.createDefaultProgram&&(0,GH.createDefaultProgram)(e)||(0,LE.createIsolatedProgram)(e)}function tK(e,t){let{ast:n}=FE(e,t,!1);return n}pr.parse=tK;function FE(e,t,n){let i=(0,RE.createParseSettings)(e,t);if(t!=null&&t.errorOnTypeScriptSyntacticAndSemanticIssues)throw new Error('"errorOnTypeScriptSyntacticAndSemanticIssues" is only supported for parseAndGenerateServices()');let s=(0,$H.createSourceFile)(i),{estree:l,astMaps:d}=(0,ME.astConverter)(s,i,n);return{ast:l,esTreeNodeToTSNodeMap:d.esTreeNodeToTSNodeMap,tsNodeToESTreeNodeMap:d.tsNodeToESTreeNodeMap}}function nK(e,t){return FE(e,t,!0)}pr.parseWithNodeMaps=nK;var y1={};function rK(){y1={}}pr.clearParseAndGenerateServicesCalls=rK;function iK(e,t){var n,i;let s=(0,RE.createParseSettings)(e,t);t!==void 0&&typeof t.errorOnTypeScriptSyntacticAndSemanticIssues=="boolean"&&t.errorOnTypeScriptSyntacticAndSemanticIssues&&(s.errorOnTypeScriptSyntacticAndSemanticIssues=!0),s.singleRun&&!s.programs&&((n=s.projects)===null||n===void 0?void 0:n.length)>0&&(s.programs={*[Symbol.iterator](){for(let D of s.projects){let w=j6.get(D);if(w)yield w;else{YH("Detected single-run/CLI usage, creating Program once ahead of time for project: %s",D);let g=(0,JE.createProgramFromConfigFile)(D);j6.set(D,g),yield g}}}});let l=s.programs!=null||((i=s.projects)===null||i===void 0?void 0:i.length)>0;s.singleRun&&t.filePath&&(y1[t.filePath]=(y1[t.filePath]||0)+1);let{ast:d,program:y}=s.singleRun&&t.filePath&&y1[t.filePath]>1?(0,LE.createIsolatedProgram)(s):eK(s,l),p=typeof s.preserveNodeMaps=="boolean"?s.preserveNodeMaps:!0,{estree:x,astMaps:h}=(0,ME.astConverter)(d,s,p);if(y&&s.errorOnTypeScriptSyntacticAndSemanticIssues){let D=(0,QH.getFirstSemanticOrSyntacticError)(y,d);if(D)throw(0,KH.convertError)(D)}return{ast:x,services:{hasFullTypeInformation:l,program:y,esTreeNodeToTSNodeMap:h.esTreeNodeToTSNodeMap,tsNodeToESTreeNodeMap:h.tsNodeToESTreeNodeMap}}}pr.parseAndGenerateServices=iK});var KE=tt(hs=>{"use strict";Object.defineProperty(hs,"__esModule",{value:!0});hs.extract=pK;hs.parse=fK;hs.parseWithComments=HE;hs.print=mK;hs.strip=dK;var sK=/\*\/$/,_K=/^\/\*\*?/,WE=/^\s*(\/\*\*?(.|\r?\n)*?\*\/)/,cK=/(^|\s+)\/\/([^\r\n]*)/g,UE=/^(\r?\n)+/,lK=/(?:^|\r?\n) *(@[^\r\n]*?) *\r?\n *(?![^@\r\n]*\/\/[^]*)([^@\r\n\s][^@\r\n]+?) *\r?\n/g,qE=/(?:^|\r?\n) *@(\S+) *([^\r\n]*)/g,uK=/(\r?\n|^) *\* ?/g,VE=[];function pK(e){let t=e.match(WE);return t?t[0].trimLeft():""}function dK(e){let t=e.match(WE);return t&&t[0]?e.substring(t[0].length):e}function fK(e){return HE(e).pragmas}function HE(e){let t=` -`;e=e.replace(_K,"").replace(sK,"").replace(uK,"$1");let n="";for(;n!==e;)n=e,e=e.replace(lK,`${t}$1 $2${t}`);e=e.replace(UE,"").trimRight();let i=Object.create(null),s=e.replace(qE,"").replace(UE,"").trimRight(),l;for(;l=qE.exec(e);){let d=l[2].replace(cK,"");typeof i[l[1]]=="string"||Array.isArray(i[l[1]])?i[l[1]]=VE.concat(i[l[1]],d):i[l[1]]=d}return{comments:s,pragmas:i}}function mK({comments:e="",pragmas:t={}}){let n=` -`,i="/**",s=" *",l=" */",d=Object.keys(t),y=d.map(x=>zE(x,t[x])).reduce((x,h)=>x.concat(h),[]).map(x=>`${s} ${x}${n}`).join("");if(!e){if(d.length===0)return"";if(d.length===1&&!Array.isArray(t[d[0]])){let x=t[d[0]];return`${i} ${zE(d[0],x)[0]}${l}`}}let p=e.split(n).map(x=>`${s} ${x}`).join(n)+n;return i+n+(e?p:"")+(e&&d.length?s+n:"")+y+l}function zE(e,t){return VE.concat(t).map(n=>`@${e} ${n}`.trim())}});var WK={};Ud(WK,{parsers:()=>g1});var g1={};Ud(g1,{typescript:()=>zK});var oC=Xy(jE(),1);function aK(e,t){let n=new SyntaxError(e+" ("+t.loc.start.line+":"+t.loc.start.column+")");return Object.assign(n,t)}var h1=aK;function oK(e){let t=[];for(let n of e)try{return n()}catch(i){t.push(i)}throw Object.assign(new Error("All combinations failed"),{errors:t})}var BE=oK;var W_=Xy(KE(),1);function yK(e){if(!e.startsWith("#!"))return"";let t=e.indexOf(` -`);return t===-1?e:e.slice(0,t)}var GE=yK;function hK(e){let t=GE(e);t&&(e=e.slice(t.length+1));let n=(0,W_.extract)(e),{pragmas:i,comments:s}=(0,W_.parseWithComments)(n);return{shebang:t,text:e,pragmas:i,comments:s}}function XE(e){let{pragmas:t}=hK(e);return Object.prototype.hasOwnProperty.call(t,"prettier")||Object.prototype.hasOwnProperty.call(t,"format")}function gK(e){return Array.isArray(e)&&e.length>0}var gs=gK;function Or(e){var i;let t=e.range?e.range[0]:e.start,n=((i=e.declaration)==null?void 0:i.decorators)??e.decorators;return gs(n)?Math.min(Or(n[0]),t):t}function ea(e){return e.range?e.range[1]:e.end}function bK(e){return e=typeof e=="function"?{parse:e}:e,{astFormat:"estree",hasPragma:XE,locStart:Or,locEnd:ea,...e}}var $E=bK;function vK(e){return e.charAt(0)==="#"&&e.charAt(1)==="!"?"//"+e.slice(2):e}var QE=vK;var TK=(e,t,n)=>{if(!(e&&t==null))return Array.isArray(t)||typeof t=="string"?t[n<0?t.length+n:n]:t.at(n)},B6=TK;function xK(e){return e=new Set(e),t=>e.has(t==null?void 0:t.type)}var YE=xK;var SK=YE(["Block","CommentBlock","MultiLine"]),cu=SK;function wK(e){return cu(e)&&e.value[0]==="*"&&/@(?:type|satisfies)\b/.test(e.value)}var ZE=wK;function EK(e){let t=`*${e.value}*`.split(` -`);return t.length>1&&t.every(n=>n.trimStart()[0]==="*")}var U6=EK;var lu=null;function uu(e){if(lu!==null&&typeof lu.property){let t=lu;return lu=uu.prototype=null,t}return lu=uu.prototype=e??Object.create(null),new uu}var CK=10;for(let e=0;e<=CK;e++)uu();function q6(e){return uu(e)}function kK(e,t="type"){q6(e);function n(i){let s=i[t],l=e[s];if(!Array.isArray(l))throw Object.assign(new Error(`Missing visitor keys for '${s}'.`),{node:i});return l}return n}var eC=kK;var tC={ArrayExpression:["elements"],AssignmentExpression:["left","right"],BinaryExpression:["left","right"],InterpreterDirective:[],Directive:["value"],DirectiveLiteral:[],BlockStatement:["directives","body"],BreakStatement:["label"],CallExpression:["callee","arguments","typeParameters","typeArguments"],CatchClause:["param","body"],ConditionalExpression:["test","consequent","alternate"],ContinueStatement:["label"],DebuggerStatement:[],DoWhileStatement:["test","body"],EmptyStatement:[],ExpressionStatement:["expression"],File:["program"],ForInStatement:["left","right","body"],ForStatement:["init","test","update","body"],FunctionDeclaration:["id","params","body","returnType","typeParameters","predicate"],FunctionExpression:["id","params","body","returnType","typeParameters"],Identifier:["typeAnnotation","decorators"],IfStatement:["test","consequent","alternate"],LabeledStatement:["label","body"],StringLiteral:[],NumericLiteral:[],NullLiteral:[],BooleanLiteral:[],RegExpLiteral:[],LogicalExpression:["left","right"],MemberExpression:["object","property"],NewExpression:["callee","arguments","typeParameters","typeArguments"],Program:["directives","body"],ObjectExpression:["properties"],ObjectMethod:["key","params","body","decorators","returnType","typeParameters"],ObjectProperty:["key","value","decorators"],RestElement:["argument","typeAnnotation","decorators"],ReturnStatement:["argument"],SequenceExpression:["expressions"],ParenthesizedExpression:["expression"],SwitchCase:["test","consequent"],SwitchStatement:["discriminant","cases"],ThisExpression:[],ThrowStatement:["argument"],TryStatement:["block","handler","finalizer"],UnaryExpression:["argument"],UpdateExpression:["argument"],VariableDeclaration:["declarations"],VariableDeclarator:["id","init"],WhileStatement:["test","body"],WithStatement:["object","body"],AssignmentPattern:["left","right","decorators","typeAnnotation"],ArrayPattern:["elements","typeAnnotation","decorators"],ArrowFunctionExpression:["params","body","returnType","typeParameters","predicate"],ClassBody:["body"],ClassExpression:["id","body","superClass","mixins","typeParameters","superTypeParameters","implements","decorators"],ClassDeclaration:["id","body","superClass","mixins","typeParameters","superTypeParameters","implements","decorators"],ExportAllDeclaration:["source","attributes","assertions","exported"],ExportDefaultDeclaration:["declaration"],ExportNamedDeclaration:["declaration","specifiers","source","attributes","assertions"],ExportSpecifier:["local","exported"],ForOfStatement:["left","right","body"],ImportDeclaration:["specifiers","source","attributes","assertions"],ImportDefaultSpecifier:["local"],ImportNamespaceSpecifier:["local"],ImportSpecifier:["local","imported"],MetaProperty:["meta","property"],ClassMethod:["key","params","body","decorators","returnType","typeParameters"],ObjectPattern:["properties","typeAnnotation","decorators"],SpreadElement:["argument"],Super:[],TaggedTemplateExpression:["tag","quasi","typeParameters"],TemplateElement:[],TemplateLiteral:["quasis","expressions"],YieldExpression:["argument"],AwaitExpression:["argument"],Import:[],BigIntLiteral:[],ExportNamespaceSpecifier:["exported"],OptionalMemberExpression:["object","property"],OptionalCallExpression:["callee","arguments","typeParameters","typeArguments"],ClassProperty:["key","value","typeAnnotation","decorators","variance"],ClassAccessorProperty:["key","value","typeAnnotation","decorators"],ClassPrivateProperty:["key","value","decorators","typeAnnotation","variance"],ClassPrivateMethod:["key","params","body","decorators","returnType","typeParameters"],PrivateName:["id"],StaticBlock:["body"],AnyTypeAnnotation:[],ArrayTypeAnnotation:["elementType"],BooleanTypeAnnotation:[],BooleanLiteralTypeAnnotation:[],NullLiteralTypeAnnotation:[],ClassImplements:["id","typeParameters"],DeclareClass:["id","typeParameters","extends","mixins","implements","body"],DeclareFunction:["id","predicate"],DeclareInterface:["id","typeParameters","extends","body"],DeclareModule:["id","body"],DeclareModuleExports:["typeAnnotation"],DeclareTypeAlias:["id","typeParameters","right"],DeclareOpaqueType:["id","typeParameters","supertype"],DeclareVariable:["id"],DeclareExportDeclaration:["declaration","specifiers","source"],DeclareExportAllDeclaration:["source"],DeclaredPredicate:["value"],ExistsTypeAnnotation:[],FunctionTypeAnnotation:["typeParameters","params","rest","returnType","this"],FunctionTypeParam:["name","typeAnnotation"],GenericTypeAnnotation:["id","typeParameters"],InferredPredicate:[],InterfaceExtends:["id","typeParameters"],InterfaceDeclaration:["id","typeParameters","extends","body"],InterfaceTypeAnnotation:["extends","body"],IntersectionTypeAnnotation:["types"],MixedTypeAnnotation:[],EmptyTypeAnnotation:[],NullableTypeAnnotation:["typeAnnotation"],NumberLiteralTypeAnnotation:[],NumberTypeAnnotation:[],ObjectTypeAnnotation:["properties","indexers","callProperties","internalSlots"],ObjectTypeInternalSlot:["id","value","optional","static","method"],ObjectTypeCallProperty:["value"],ObjectTypeIndexer:["id","key","value","variance"],ObjectTypeProperty:["key","value","variance"],ObjectTypeSpreadProperty:["argument"],OpaqueType:["id","typeParameters","supertype","impltype"],QualifiedTypeIdentifier:["id","qualification"],StringLiteralTypeAnnotation:[],StringTypeAnnotation:[],SymbolTypeAnnotation:[],ThisTypeAnnotation:[],TupleTypeAnnotation:["types","elementTypes"],TypeofTypeAnnotation:["argument"],TypeAlias:["id","typeParameters","right"],TypeAnnotation:["typeAnnotation"],TypeCastExpression:["expression","typeAnnotation"],TypeParameter:["bound","default","variance"],TypeParameterDeclaration:["params"],TypeParameterInstantiation:["params"],UnionTypeAnnotation:["types"],Variance:[],VoidTypeAnnotation:[],EnumDeclaration:["id","body"],EnumBooleanBody:["members"],EnumNumberBody:["members"],EnumStringBody:["members"],EnumSymbolBody:["members"],EnumBooleanMember:["id","init"],EnumNumberMember:["id","init"],EnumStringMember:["id","init"],EnumDefaultedMember:["id"],IndexedAccessType:["objectType","indexType"],OptionalIndexedAccessType:["objectType","indexType"],JSXAttribute:["name","value"],JSXClosingElement:["name"],JSXElement:["openingElement","children","closingElement"],JSXEmptyExpression:[],JSXExpressionContainer:["expression"],JSXSpreadChild:["expression"],JSXIdentifier:[],JSXMemberExpression:["object","property"],JSXNamespacedName:["namespace","name"],JSXOpeningElement:["name","attributes","typeParameters"],JSXSpreadAttribute:["argument"],JSXText:[],JSXFragment:["openingFragment","children","closingFragment"],JSXOpeningFragment:[],JSXClosingFragment:[],Noop:[],Placeholder:[],V8IntrinsicIdentifier:[],ArgumentPlaceholder:[],BindExpression:["object","callee"],ImportAttribute:["key","value"],Decorator:["expression"],DoExpression:["body"],ExportDefaultSpecifier:["exported"],RecordExpression:["properties"],TupleExpression:["elements"],DecimalLiteral:[],ModuleExpression:["body"],TopicReference:[],PipelineTopicExpression:["expression"],PipelineBareFunction:["callee"],PipelinePrimaryTopicReference:[],TSParameterProperty:["parameter","decorators"],TSDeclareFunction:["id","typeParameters","params","returnType","body"],TSDeclareMethod:["decorators","key","typeParameters","params","returnType"],TSQualifiedName:["left","right"],TSCallSignatureDeclaration:["typeParameters","parameters","typeAnnotation","params","returnType"],TSConstructSignatureDeclaration:["typeParameters","parameters","typeAnnotation","params","returnType"],TSPropertySignature:["key","typeAnnotation"],TSMethodSignature:["key","typeParameters","parameters","typeAnnotation","params","returnType"],TSIndexSignature:["parameters","typeAnnotation"],TSAnyKeyword:[],TSBooleanKeyword:[],TSBigIntKeyword:[],TSIntrinsicKeyword:[],TSNeverKeyword:[],TSNullKeyword:[],TSNumberKeyword:[],TSObjectKeyword:[],TSStringKeyword:[],TSSymbolKeyword:[],TSUndefinedKeyword:[],TSUnknownKeyword:[],TSVoidKeyword:[],TSThisType:[],TSFunctionType:["typeParameters","parameters","typeAnnotation","params","returnType"],TSConstructorType:["typeParameters","parameters","typeAnnotation","params","returnType"],TSTypeReference:["typeName","typeParameters"],TSTypePredicate:["parameterName","typeAnnotation"],TSTypeQuery:["exprName","typeParameters"],TSTypeLiteral:["members"],TSArrayType:["elementType"],TSTupleType:["elementTypes"],TSOptionalType:["typeAnnotation"],TSRestType:["typeAnnotation"],TSNamedTupleMember:["label","elementType"],TSUnionType:["types"],TSIntersectionType:["types"],TSConditionalType:["checkType","extendsType","trueType","falseType"],TSInferType:["typeParameter"],TSParenthesizedType:["typeAnnotation"],TSTypeOperator:["typeAnnotation"],TSIndexedAccessType:["objectType","indexType"],TSMappedType:["typeParameter","typeAnnotation","nameType"],TSLiteralType:["literal"],TSExpressionWithTypeArguments:["expression","typeParameters"],TSInterfaceDeclaration:["id","typeParameters","extends","body"],TSInterfaceBody:["body"],TSTypeAliasDeclaration:["id","typeParameters","typeAnnotation"],TSInstantiationExpression:["expression","typeParameters"],TSAsExpression:["expression","typeAnnotation"],TSSatisfiesExpression:["expression","typeAnnotation"],TSTypeAssertion:["typeAnnotation","expression"],TSEnumDeclaration:["id","members"],TSEnumMember:["id","initializer"],TSModuleDeclaration:["id","body"],TSModuleBlock:["body"],TSImportType:["argument","qualifier","typeParameters","parameter"],TSImportEqualsDeclaration:["id","moduleReference"],TSExternalModuleReference:["expression"],TSNonNullExpression:["expression"],TSExportAssignment:["expression"],TSNamespaceExportDeclaration:["id"],TSTypeAnnotation:["typeAnnotation"],TSTypeParameterInstantiation:["params"],TSTypeParameterDeclaration:["params"],TSTypeParameter:["constraint","default","name"],ChainExpression:["expression"],ExperimentalRestProperty:["argument"],ExperimentalSpreadProperty:["argument"],ImportExpression:["source","attributes"],Literal:[],MethodDefinition:["decorators","key","value"],PrivateIdentifier:[],Property:["key","value"],PropertyDefinition:["decorators","key","typeAnnotation","value","variance"],AccessorProperty:["decorators","key","typeAnnotation","value"],TSAbstractAccessorProperty:["decorators","key","typeAnnotation"],TSAbstractKeyword:[],TSAbstractMethodDefinition:["key","value"],TSAbstractPropertyDefinition:["decorators","key","typeAnnotation"],TSAsyncKeyword:[],TSClassImplements:["expression","typeParameters"],TSDeclareKeyword:[],TSEmptyBodyFunctionExpression:["id","typeParameters","params","returnType"],TSExportKeyword:[],TSInterfaceHeritage:["expression","typeParameters"],TSPrivateKeyword:[],TSProtectedKeyword:[],TSPublicKeyword:[],TSReadonlyKeyword:[],TSStaticKeyword:[],TSTemplateLiteralType:["quasis","types"],BigIntLiteralTypeAnnotation:[],BigIntTypeAnnotation:[],ConditionalTypeAnnotation:["checkType","extendsType","trueType","falseType"],DeclareEnum:["id","body"],InferTypeAnnotation:["typeParameter"],KeyofTypeAnnotation:["argument"],ObjectTypeMappedTypeProperty:["keyTparam","propType","sourceType","variance"],QualifiedTypeofIdentifier:["qualification","id"],TupleTypeLabeledElement:["label","elementType","variance"],TupleTypeSpreadElement:["label","typeAnnotation"],TypePredicate:["parameterName","typeAnnotation","asserts"],NGRoot:["node"],NGPipeExpression:["left","right","arguments"],NGChainedExpression:["expressions"],NGEmptyExpression:[],NGMicrosyntax:["body"],NGMicrosyntaxKey:[],NGMicrosyntaxExpression:["expression","alias"],NGMicrosyntaxKeyedExpression:["key","expression"],NGMicrosyntaxLet:["key","value"],NGMicrosyntaxAs:["key","alias"],JsExpressionRoot:["node"],JsonRoot:["node"],TSJSDocAllType:[],TSJSDocUnknownType:[],TSJSDocNullableType:["typeAnnotation"],TSJSDocNonNullableType:["typeAnnotation"],NeverTypeAnnotation:[],UndefinedTypeAnnotation:[],UnknownTypeAnnotation:[]};var AK=eC(tC),nC=AK;function z6(e,t){if(!(e!==null&&typeof e=="object"))return e;if(Array.isArray(e)){for(let i=0;i{var y;(y=d.leadingComments)!=null&&y.some(ZE)&&l.add(Or(d))}),e=V_(e,d=>{if(d.type==="ParenthesizedExpression"){let{expression:y}=d;if(y.type==="TypeCastExpression")return y.range=d.range,y;let p=Or(d);if(!l.has(p))return y.extra={...y.extra,parenthesized:!0},y}})}if(e=V_(e,l=>{switch(l.type){case"LogicalExpression":if(rC(l))return W6(l);break;case"VariableDeclaration":{let d=B6(!1,l.declarations,-1);d!=null&&d.init&&s(l,d);break}case"TSParenthesizedType":return l.typeAnnotation;case"TSTypeParameter":if(typeof l.name=="string"){let d=Or(l);l.name={type:"Identifier",name:l.name,range:[d,d+l.name.length]}}break;case"ObjectExpression":if(n==="typescript"){let d=l.properties.find(y=>y.type==="Property"&&y.value.type==="TSEmptyBodyFunctionExpression");d&&bs(d.value,"Unexpected token.")}break;case"TSInterfaceDeclaration":gs(l.implements)&&bs(l.implements[0],"Interface declaration cannot have 'implements' clause.");break;case"TSPropertySignature":l.initializer&&bs(l.initializer,"An interface property cannot have an initializer.");break;case"TopicReference":e.extra={...e.extra,__isUsingHackPipeline:!0};break;case"ExportAllDeclaration":{let{exported:d}=l;if(n==="meriyah"&&(d==null?void 0:d.type)==="Identifier"){let y=i.slice(Or(d),ea(d));(y.startsWith('"')||y.startsWith("'"))&&(l.exported={...l.exported,type:"Literal",value:l.exported.name,raw:y})}break}case"TSUnionType":case"TSIntersectionType":if(l.types.length===1)return l.types[0];break}}),gs(e.comments)){let l=B6(!1,e.comments,-1);for(let d=e.comments.length-2;d>=0;d--){let y=e.comments[d];ea(y)===Or(l)&&cu(y)&&cu(l)&&U6(y)&&U6(l)&&(e.comments.splice(d+1,1),y.value+="*//*"+l.value,y.range=[Or(y),ea(l)]),l=y}}return e.type==="Program"&&(e.range=[0,i.length]),e;function s(l,d){i[ea(d)]!==";"&&(l.range=[Or(l),ea(d)])}}function rC(e){return e.type==="LogicalExpression"&&e.right.type==="LogicalExpression"&&e.operator===e.right.operator}function W6(e){return rC(e)?W6({type:"LogicalExpression",operator:e.operator,left:W6({type:"LogicalExpression",operator:e.operator,left:e.left,right:e.right.left,range:[Or(e.left),ea(e.right.left)]}),right:e.right.right,range:[Or(e),ea(e)]}):e}var iC=PK;var Dt=Xy(Cn(),1);function NK(e){let t=Dt.default.getSourceFileOfNode(e),n=Dt.default.rangeOfNode(e),[i,s]=[n.pos,n.end].map(l=>{let{line:d,character:y}=t.getLineAndCharacterOfPosition(l);return{line:d+1,column:y}});return{start:i,end:s}}function dr(e,t){bs({loc:NK(e)},t)}function IK(e,t){var n;e.kind===Dt.default.SyntaxKind.PropertyDeclaration&&e.initializer&&t.value===null&&((n=e.modifiers)!=null&&n.some(i=>i.kind===Dt.default.SyntaxKind.AbstractKeyword))&&bs(t,"Abstract property cannot have an initializer")}function OK(e){return[!0,!1].some(t=>Dt.default.nodeCanBeDecorated(t,e,e.parent,e.parent.parent))}function MK(e){let{modifiers:t}=e;if(!gs(t))return;let{SyntaxKind:n}=Dt.default;for(let i of t)if(Dt.default.isDecorator(i)&&!OK(e)&&(e.kind===n.MethodDeclaration&&!Dt.default.nodeIsPresent(e.body)&&dr(i,"A decorator can only decorate a method implementation, not an overload."),dr(i,"Decorators are not valid here.")),i.kind!==n.ReadonlyKeyword&&((e.kind===n.PropertySignature||e.kind===n.MethodSignature)&&dr(i,`'${Dt.default.tokenToString(i.kind)}' modifier cannot appear on a type member`),e.kind===n.IndexSignature&&(i.kind!==n.StaticKeyword||!Dt.default.isClassLike(e.parent))&&dr(i,`'${Dt.default.tokenToString(i.kind)}' modifier cannot appear on an index signature`)),i.kind!==n.InKeyword&&i.kind!==n.OutKeyword&&i.kind!==n.ConstKeyword&&e.kind===n.TypeParameter&&dr(i,`'${Dt.default.tokenToString(i.kind)}' modifier cannot appear on a type parameter`),(i.kind===n.InKeyword||i.kind===n.OutKeyword)&&(e.kind!==n.TypeParameter||!(Dt.default.isInterfaceDeclaration(e.parent)||Dt.default.isClassLike(e.parent)||Dt.default.isTypeAliasDeclaration(e.parent)))&&dr(i,`'${Dt.default.tokenToString(i.kind)}' modifier can only appear on a type parameter of a class, interface or type alias`),i.kind===n.ReadonlyKeyword&&e.kind!==n.PropertyDeclaration&&e.kind!==n.PropertySignature&&e.kind!==n.IndexSignature&&e.kind!==n.Parameter&&dr(i,"'readonly' modifier can only appear on a property declaration or index signature."),i.kind===n.DeclareKeyword&&Dt.default.isClassLike(e.parent)&&!Dt.default.isPropertyDeclaration(e)&&dr(i,`'${Dt.default.tokenToString(i.kind)}' modifier cannot appear on class elements of this kind.`),i.kind===n.AbstractKeyword&&e.kind!==n.ClassDeclaration&&e.kind!==n.ConstructorType&&e.kind!==n.MethodDeclaration&&e.kind!==n.PropertyDeclaration&&e.kind!==n.GetAccessor&&e.kind!==n.SetAccessor&&dr(i,`'${Dt.default.tokenToString(i.kind)}' modifier can only appear on a class, method, or property declaration.`),(i.kind===n.StaticKeyword||i.kind===n.PublicKeyword||i.kind===n.ProtectedKeyword||i.kind===n.PrivateKeyword)&&(e.parent.kind===n.ModuleBlock||e.parent.kind===n.SourceFile)&&dr(i,`'${Dt.default.tokenToString(i.kind)}' modifier cannot appear on a module or namespace element.`),i.kind===n.AccessorKeyword&&e.kind!==n.PropertyDeclaration&&dr(i,"'accessor' modifier can only appear on a property declaration."),i.kind===n.AsyncKeyword&&e.kind!==n.MethodDeclaration&&e.kind!==n.FunctionDeclaration&&e.kind!==n.FunctionExpression&&e.kind!==n.ArrowFunction&&dr(i,"'async' modifier cannot be used here."),e.kind===n.Parameter&&(i.kind===n.StaticKeyword||i.kind===n.ExportKeyword||i.kind===n.DeclareKeyword||i.kind===n.AsyncKeyword)&&dr(i,`'${Dt.default.tokenToString(i.kind)}' modifier cannot appear on a parameter.`),e.kind===n.Parameter&&Dt.default.hasSyntacticModifier(e,Dt.default.ModifierFlags.ParameterPropertyModifier)){let s=Dt.default.getContainingFunction(e);s.kind===n.Constructor&&Dt.default.nodeIsPresent(s.body)||dr(i,"A parameter property is only allowed in a constructor implementation.")}}function LK(e,t){let{esTreeNodeToTSNodeMap:n,tsNodeToESTreeNodeMap:i}=t,s=n.get(e);if(!(!s||i.get(s)!==e))return s}var JK=["abstract","accessor","async","const","declare","default","export","in","out","override","private","protected","public","readonly","static"],RK=new RegExp(["@",...JK].join("|"));function aC(e,t){RK.test(t)&&V_(e.ast,n=>{let i=LK(n,e);i&&(IK(i,n),MK(i))})}var V6={loc:!0,range:!0,comment:!0,tokens:!0,loggerFn:!1,project:[]};function FK(e){let{message:t,lineNumber:n,column:i}=e;return typeof n!="number"?e:h1(t,{loc:{start:{line:n,column:i+1}},cause:e})}var jK=e=>/\.(?:js|mjs|cjs|jsx|ts|mts|cts|tsx)$/i.test(e);function BK(e,t){let n=t==null?void 0:t.filepath;if(n&&jK(n))return[{...V6,filePath:n}];let i=qK(e);return[{...V6,jsx:i},{...V6,jsx:!i}]}function UK(e,t){let n=QE(e),i=BK(e,t),s;try{s=BE(i.map(l=>()=>(0,oC.parseWithNodeMaps)(n,l)))}catch({errors:[l]}){throw FK(l)}return aC(s,e),iC(s.ast,{parser:"typescript",text:e})}function qK(e){return new RegExp(["(?:^[^\"'`]*)"].join(""),"m").test(e)}var zK=$E(UK);return Er(WK);}); \ No newline at end of file +`;function cn(Fe,He){Me[Fe]+=He}}function ii(u){switch(u){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 M(u,Oe){if(u.fill)u.fill(Oe);else for(let Me=0;Me0?u.repeat(Oe):"";let Me="";for(;Me.length{},{get:()=>$p}),qd=()=>{},eg=()=>{},il,ce=(e=>(e[e.Unknown=0]="Unknown",e[e.EndOfFileToken=1]="EndOfFileToken",e[e.SingleLineCommentTrivia=2]="SingleLineCommentTrivia",e[e.MultiLineCommentTrivia=3]="MultiLineCommentTrivia",e[e.NewLineTrivia=4]="NewLineTrivia",e[e.WhitespaceTrivia=5]="WhitespaceTrivia",e[e.ShebangTrivia=6]="ShebangTrivia",e[e.ConflictMarkerTrivia=7]="ConflictMarkerTrivia",e[e.NonTextFileMarkerTrivia=8]="NonTextFileMarkerTrivia",e[e.NumericLiteral=9]="NumericLiteral",e[e.BigIntLiteral=10]="BigIntLiteral",e[e.StringLiteral=11]="StringLiteral",e[e.JsxText=12]="JsxText",e[e.JsxTextAllWhiteSpaces=13]="JsxTextAllWhiteSpaces",e[e.RegularExpressionLiteral=14]="RegularExpressionLiteral",e[e.NoSubstitutionTemplateLiteral=15]="NoSubstitutionTemplateLiteral",e[e.TemplateHead=16]="TemplateHead",e[e.TemplateMiddle=17]="TemplateMiddle",e[e.TemplateTail=18]="TemplateTail",e[e.OpenBraceToken=19]="OpenBraceToken",e[e.CloseBraceToken=20]="CloseBraceToken",e[e.OpenParenToken=21]="OpenParenToken",e[e.CloseParenToken=22]="CloseParenToken",e[e.OpenBracketToken=23]="OpenBracketToken",e[e.CloseBracketToken=24]="CloseBracketToken",e[e.DotToken=25]="DotToken",e[e.DotDotDotToken=26]="DotDotDotToken",e[e.SemicolonToken=27]="SemicolonToken",e[e.CommaToken=28]="CommaToken",e[e.QuestionDotToken=29]="QuestionDotToken",e[e.LessThanToken=30]="LessThanToken",e[e.LessThanSlashToken=31]="LessThanSlashToken",e[e.GreaterThanToken=32]="GreaterThanToken",e[e.LessThanEqualsToken=33]="LessThanEqualsToken",e[e.GreaterThanEqualsToken=34]="GreaterThanEqualsToken",e[e.EqualsEqualsToken=35]="EqualsEqualsToken",e[e.ExclamationEqualsToken=36]="ExclamationEqualsToken",e[e.EqualsEqualsEqualsToken=37]="EqualsEqualsEqualsToken",e[e.ExclamationEqualsEqualsToken=38]="ExclamationEqualsEqualsToken",e[e.EqualsGreaterThanToken=39]="EqualsGreaterThanToken",e[e.PlusToken=40]="PlusToken",e[e.MinusToken=41]="MinusToken",e[e.AsteriskToken=42]="AsteriskToken",e[e.AsteriskAsteriskToken=43]="AsteriskAsteriskToken",e[e.SlashToken=44]="SlashToken",e[e.PercentToken=45]="PercentToken",e[e.PlusPlusToken=46]="PlusPlusToken",e[e.MinusMinusToken=47]="MinusMinusToken",e[e.LessThanLessThanToken=48]="LessThanLessThanToken",e[e.GreaterThanGreaterThanToken=49]="GreaterThanGreaterThanToken",e[e.GreaterThanGreaterThanGreaterThanToken=50]="GreaterThanGreaterThanGreaterThanToken",e[e.AmpersandToken=51]="AmpersandToken",e[e.BarToken=52]="BarToken",e[e.CaretToken=53]="CaretToken",e[e.ExclamationToken=54]="ExclamationToken",e[e.TildeToken=55]="TildeToken",e[e.AmpersandAmpersandToken=56]="AmpersandAmpersandToken",e[e.BarBarToken=57]="BarBarToken",e[e.QuestionToken=58]="QuestionToken",e[e.ColonToken=59]="ColonToken",e[e.AtToken=60]="AtToken",e[e.QuestionQuestionToken=61]="QuestionQuestionToken",e[e.BacktickToken=62]="BacktickToken",e[e.HashToken=63]="HashToken",e[e.EqualsToken=64]="EqualsToken",e[e.PlusEqualsToken=65]="PlusEqualsToken",e[e.MinusEqualsToken=66]="MinusEqualsToken",e[e.AsteriskEqualsToken=67]="AsteriskEqualsToken",e[e.AsteriskAsteriskEqualsToken=68]="AsteriskAsteriskEqualsToken",e[e.SlashEqualsToken=69]="SlashEqualsToken",e[e.PercentEqualsToken=70]="PercentEqualsToken",e[e.LessThanLessThanEqualsToken=71]="LessThanLessThanEqualsToken",e[e.GreaterThanGreaterThanEqualsToken=72]="GreaterThanGreaterThanEqualsToken",e[e.GreaterThanGreaterThanGreaterThanEqualsToken=73]="GreaterThanGreaterThanGreaterThanEqualsToken",e[e.AmpersandEqualsToken=74]="AmpersandEqualsToken",e[e.BarEqualsToken=75]="BarEqualsToken",e[e.BarBarEqualsToken=76]="BarBarEqualsToken",e[e.AmpersandAmpersandEqualsToken=77]="AmpersandAmpersandEqualsToken",e[e.QuestionQuestionEqualsToken=78]="QuestionQuestionEqualsToken",e[e.CaretEqualsToken=79]="CaretEqualsToken",e[e.Identifier=80]="Identifier",e[e.PrivateIdentifier=81]="PrivateIdentifier",e[e.JSDocCommentTextToken=82]="JSDocCommentTextToken",e[e.BreakKeyword=83]="BreakKeyword",e[e.CaseKeyword=84]="CaseKeyword",e[e.CatchKeyword=85]="CatchKeyword",e[e.ClassKeyword=86]="ClassKeyword",e[e.ConstKeyword=87]="ConstKeyword",e[e.ContinueKeyword=88]="ContinueKeyword",e[e.DebuggerKeyword=89]="DebuggerKeyword",e[e.DefaultKeyword=90]="DefaultKeyword",e[e.DeleteKeyword=91]="DeleteKeyword",e[e.DoKeyword=92]="DoKeyword",e[e.ElseKeyword=93]="ElseKeyword",e[e.EnumKeyword=94]="EnumKeyword",e[e.ExportKeyword=95]="ExportKeyword",e[e.ExtendsKeyword=96]="ExtendsKeyword",e[e.FalseKeyword=97]="FalseKeyword",e[e.FinallyKeyword=98]="FinallyKeyword",e[e.ForKeyword=99]="ForKeyword",e[e.FunctionKeyword=100]="FunctionKeyword",e[e.IfKeyword=101]="IfKeyword",e[e.ImportKeyword=102]="ImportKeyword",e[e.InKeyword=103]="InKeyword",e[e.InstanceOfKeyword=104]="InstanceOfKeyword",e[e.NewKeyword=105]="NewKeyword",e[e.NullKeyword=106]="NullKeyword",e[e.ReturnKeyword=107]="ReturnKeyword",e[e.SuperKeyword=108]="SuperKeyword",e[e.SwitchKeyword=109]="SwitchKeyword",e[e.ThisKeyword=110]="ThisKeyword",e[e.ThrowKeyword=111]="ThrowKeyword",e[e.TrueKeyword=112]="TrueKeyword",e[e.TryKeyword=113]="TryKeyword",e[e.TypeOfKeyword=114]="TypeOfKeyword",e[e.VarKeyword=115]="VarKeyword",e[e.VoidKeyword=116]="VoidKeyword",e[e.WhileKeyword=117]="WhileKeyword",e[e.WithKeyword=118]="WithKeyword",e[e.ImplementsKeyword=119]="ImplementsKeyword",e[e.InterfaceKeyword=120]="InterfaceKeyword",e[e.LetKeyword=121]="LetKeyword",e[e.PackageKeyword=122]="PackageKeyword",e[e.PrivateKeyword=123]="PrivateKeyword",e[e.ProtectedKeyword=124]="ProtectedKeyword",e[e.PublicKeyword=125]="PublicKeyword",e[e.StaticKeyword=126]="StaticKeyword",e[e.YieldKeyword=127]="YieldKeyword",e[e.AbstractKeyword=128]="AbstractKeyword",e[e.AccessorKeyword=129]="AccessorKeyword",e[e.AsKeyword=130]="AsKeyword",e[e.AssertsKeyword=131]="AssertsKeyword",e[e.AssertKeyword=132]="AssertKeyword",e[e.AnyKeyword=133]="AnyKeyword",e[e.AsyncKeyword=134]="AsyncKeyword",e[e.AwaitKeyword=135]="AwaitKeyword",e[e.BooleanKeyword=136]="BooleanKeyword",e[e.ConstructorKeyword=137]="ConstructorKeyword",e[e.DeclareKeyword=138]="DeclareKeyword",e[e.GetKeyword=139]="GetKeyword",e[e.InferKeyword=140]="InferKeyword",e[e.IntrinsicKeyword=141]="IntrinsicKeyword",e[e.IsKeyword=142]="IsKeyword",e[e.KeyOfKeyword=143]="KeyOfKeyword",e[e.ModuleKeyword=144]="ModuleKeyword",e[e.NamespaceKeyword=145]="NamespaceKeyword",e[e.NeverKeyword=146]="NeverKeyword",e[e.OutKeyword=147]="OutKeyword",e[e.ReadonlyKeyword=148]="ReadonlyKeyword",e[e.RequireKeyword=149]="RequireKeyword",e[e.NumberKeyword=150]="NumberKeyword",e[e.ObjectKeyword=151]="ObjectKeyword",e[e.SatisfiesKeyword=152]="SatisfiesKeyword",e[e.SetKeyword=153]="SetKeyword",e[e.StringKeyword=154]="StringKeyword",e[e.SymbolKeyword=155]="SymbolKeyword",e[e.TypeKeyword=156]="TypeKeyword",e[e.UndefinedKeyword=157]="UndefinedKeyword",e[e.UniqueKeyword=158]="UniqueKeyword",e[e.UnknownKeyword=159]="UnknownKeyword",e[e.UsingKeyword=160]="UsingKeyword",e[e.FromKeyword=161]="FromKeyword",e[e.GlobalKeyword=162]="GlobalKeyword",e[e.BigIntKeyword=163]="BigIntKeyword",e[e.OverrideKeyword=164]="OverrideKeyword",e[e.OfKeyword=165]="OfKeyword",e[e.QualifiedName=166]="QualifiedName",e[e.ComputedPropertyName=167]="ComputedPropertyName",e[e.TypeParameter=168]="TypeParameter",e[e.Parameter=169]="Parameter",e[e.Decorator=170]="Decorator",e[e.PropertySignature=171]="PropertySignature",e[e.PropertyDeclaration=172]="PropertyDeclaration",e[e.MethodSignature=173]="MethodSignature",e[e.MethodDeclaration=174]="MethodDeclaration",e[e.ClassStaticBlockDeclaration=175]="ClassStaticBlockDeclaration",e[e.Constructor=176]="Constructor",e[e.GetAccessor=177]="GetAccessor",e[e.SetAccessor=178]="SetAccessor",e[e.CallSignature=179]="CallSignature",e[e.ConstructSignature=180]="ConstructSignature",e[e.IndexSignature=181]="IndexSignature",e[e.TypePredicate=182]="TypePredicate",e[e.TypeReference=183]="TypeReference",e[e.FunctionType=184]="FunctionType",e[e.ConstructorType=185]="ConstructorType",e[e.TypeQuery=186]="TypeQuery",e[e.TypeLiteral=187]="TypeLiteral",e[e.ArrayType=188]="ArrayType",e[e.TupleType=189]="TupleType",e[e.OptionalType=190]="OptionalType",e[e.RestType=191]="RestType",e[e.UnionType=192]="UnionType",e[e.IntersectionType=193]="IntersectionType",e[e.ConditionalType=194]="ConditionalType",e[e.InferType=195]="InferType",e[e.ParenthesizedType=196]="ParenthesizedType",e[e.ThisType=197]="ThisType",e[e.TypeOperator=198]="TypeOperator",e[e.IndexedAccessType=199]="IndexedAccessType",e[e.MappedType=200]="MappedType",e[e.LiteralType=201]="LiteralType",e[e.NamedTupleMember=202]="NamedTupleMember",e[e.TemplateLiteralType=203]="TemplateLiteralType",e[e.TemplateLiteralTypeSpan=204]="TemplateLiteralTypeSpan",e[e.ImportType=205]="ImportType",e[e.ObjectBindingPattern=206]="ObjectBindingPattern",e[e.ArrayBindingPattern=207]="ArrayBindingPattern",e[e.BindingElement=208]="BindingElement",e[e.ArrayLiteralExpression=209]="ArrayLiteralExpression",e[e.ObjectLiteralExpression=210]="ObjectLiteralExpression",e[e.PropertyAccessExpression=211]="PropertyAccessExpression",e[e.ElementAccessExpression=212]="ElementAccessExpression",e[e.CallExpression=213]="CallExpression",e[e.NewExpression=214]="NewExpression",e[e.TaggedTemplateExpression=215]="TaggedTemplateExpression",e[e.TypeAssertionExpression=216]="TypeAssertionExpression",e[e.ParenthesizedExpression=217]="ParenthesizedExpression",e[e.FunctionExpression=218]="FunctionExpression",e[e.ArrowFunction=219]="ArrowFunction",e[e.DeleteExpression=220]="DeleteExpression",e[e.TypeOfExpression=221]="TypeOfExpression",e[e.VoidExpression=222]="VoidExpression",e[e.AwaitExpression=223]="AwaitExpression",e[e.PrefixUnaryExpression=224]="PrefixUnaryExpression",e[e.PostfixUnaryExpression=225]="PostfixUnaryExpression",e[e.BinaryExpression=226]="BinaryExpression",e[e.ConditionalExpression=227]="ConditionalExpression",e[e.TemplateExpression=228]="TemplateExpression",e[e.YieldExpression=229]="YieldExpression",e[e.SpreadElement=230]="SpreadElement",e[e.ClassExpression=231]="ClassExpression",e[e.OmittedExpression=232]="OmittedExpression",e[e.ExpressionWithTypeArguments=233]="ExpressionWithTypeArguments",e[e.AsExpression=234]="AsExpression",e[e.NonNullExpression=235]="NonNullExpression",e[e.MetaProperty=236]="MetaProperty",e[e.SyntheticExpression=237]="SyntheticExpression",e[e.SatisfiesExpression=238]="SatisfiesExpression",e[e.TemplateSpan=239]="TemplateSpan",e[e.SemicolonClassElement=240]="SemicolonClassElement",e[e.Block=241]="Block",e[e.EmptyStatement=242]="EmptyStatement",e[e.VariableStatement=243]="VariableStatement",e[e.ExpressionStatement=244]="ExpressionStatement",e[e.IfStatement=245]="IfStatement",e[e.DoStatement=246]="DoStatement",e[e.WhileStatement=247]="WhileStatement",e[e.ForStatement=248]="ForStatement",e[e.ForInStatement=249]="ForInStatement",e[e.ForOfStatement=250]="ForOfStatement",e[e.ContinueStatement=251]="ContinueStatement",e[e.BreakStatement=252]="BreakStatement",e[e.ReturnStatement=253]="ReturnStatement",e[e.WithStatement=254]="WithStatement",e[e.SwitchStatement=255]="SwitchStatement",e[e.LabeledStatement=256]="LabeledStatement",e[e.ThrowStatement=257]="ThrowStatement",e[e.TryStatement=258]="TryStatement",e[e.DebuggerStatement=259]="DebuggerStatement",e[e.VariableDeclaration=260]="VariableDeclaration",e[e.VariableDeclarationList=261]="VariableDeclarationList",e[e.FunctionDeclaration=262]="FunctionDeclaration",e[e.ClassDeclaration=263]="ClassDeclaration",e[e.InterfaceDeclaration=264]="InterfaceDeclaration",e[e.TypeAliasDeclaration=265]="TypeAliasDeclaration",e[e.EnumDeclaration=266]="EnumDeclaration",e[e.ModuleDeclaration=267]="ModuleDeclaration",e[e.ModuleBlock=268]="ModuleBlock",e[e.CaseBlock=269]="CaseBlock",e[e.NamespaceExportDeclaration=270]="NamespaceExportDeclaration",e[e.ImportEqualsDeclaration=271]="ImportEqualsDeclaration",e[e.ImportDeclaration=272]="ImportDeclaration",e[e.ImportClause=273]="ImportClause",e[e.NamespaceImport=274]="NamespaceImport",e[e.NamedImports=275]="NamedImports",e[e.ImportSpecifier=276]="ImportSpecifier",e[e.ExportAssignment=277]="ExportAssignment",e[e.ExportDeclaration=278]="ExportDeclaration",e[e.NamedExports=279]="NamedExports",e[e.NamespaceExport=280]="NamespaceExport",e[e.ExportSpecifier=281]="ExportSpecifier",e[e.MissingDeclaration=282]="MissingDeclaration",e[e.ExternalModuleReference=283]="ExternalModuleReference",e[e.JsxElement=284]="JsxElement",e[e.JsxSelfClosingElement=285]="JsxSelfClosingElement",e[e.JsxOpeningElement=286]="JsxOpeningElement",e[e.JsxClosingElement=287]="JsxClosingElement",e[e.JsxFragment=288]="JsxFragment",e[e.JsxOpeningFragment=289]="JsxOpeningFragment",e[e.JsxClosingFragment=290]="JsxClosingFragment",e[e.JsxAttribute=291]="JsxAttribute",e[e.JsxAttributes=292]="JsxAttributes",e[e.JsxSpreadAttribute=293]="JsxSpreadAttribute",e[e.JsxExpression=294]="JsxExpression",e[e.JsxNamespacedName=295]="JsxNamespacedName",e[e.CaseClause=296]="CaseClause",e[e.DefaultClause=297]="DefaultClause",e[e.HeritageClause=298]="HeritageClause",e[e.CatchClause=299]="CatchClause",e[e.ImportAttributes=300]="ImportAttributes",e[e.ImportAttribute=301]="ImportAttribute",e[e.AssertClause=300]="AssertClause",e[e.AssertEntry=301]="AssertEntry",e[e.ImportTypeAssertionContainer=302]="ImportTypeAssertionContainer",e[e.PropertyAssignment=303]="PropertyAssignment",e[e.ShorthandPropertyAssignment=304]="ShorthandPropertyAssignment",e[e.SpreadAssignment=305]="SpreadAssignment",e[e.EnumMember=306]="EnumMember",e[e.SourceFile=307]="SourceFile",e[e.Bundle=308]="Bundle",e[e.JSDocTypeExpression=309]="JSDocTypeExpression",e[e.JSDocNameReference=310]="JSDocNameReference",e[e.JSDocMemberName=311]="JSDocMemberName",e[e.JSDocAllType=312]="JSDocAllType",e[e.JSDocUnknownType=313]="JSDocUnknownType",e[e.JSDocNullableType=314]="JSDocNullableType",e[e.JSDocNonNullableType=315]="JSDocNonNullableType",e[e.JSDocOptionalType=316]="JSDocOptionalType",e[e.JSDocFunctionType=317]="JSDocFunctionType",e[e.JSDocVariadicType=318]="JSDocVariadicType",e[e.JSDocNamepathType=319]="JSDocNamepathType",e[e.JSDoc=320]="JSDoc",e[e.JSDocComment=320]="JSDocComment",e[e.JSDocText=321]="JSDocText",e[e.JSDocTypeLiteral=322]="JSDocTypeLiteral",e[e.JSDocSignature=323]="JSDocSignature",e[e.JSDocLink=324]="JSDocLink",e[e.JSDocLinkCode=325]="JSDocLinkCode",e[e.JSDocLinkPlain=326]="JSDocLinkPlain",e[e.JSDocTag=327]="JSDocTag",e[e.JSDocAugmentsTag=328]="JSDocAugmentsTag",e[e.JSDocImplementsTag=329]="JSDocImplementsTag",e[e.JSDocAuthorTag=330]="JSDocAuthorTag",e[e.JSDocDeprecatedTag=331]="JSDocDeprecatedTag",e[e.JSDocClassTag=332]="JSDocClassTag",e[e.JSDocPublicTag=333]="JSDocPublicTag",e[e.JSDocPrivateTag=334]="JSDocPrivateTag",e[e.JSDocProtectedTag=335]="JSDocProtectedTag",e[e.JSDocReadonlyTag=336]="JSDocReadonlyTag",e[e.JSDocOverrideTag=337]="JSDocOverrideTag",e[e.JSDocCallbackTag=338]="JSDocCallbackTag",e[e.JSDocOverloadTag=339]="JSDocOverloadTag",e[e.JSDocEnumTag=340]="JSDocEnumTag",e[e.JSDocParameterTag=341]="JSDocParameterTag",e[e.JSDocReturnTag=342]="JSDocReturnTag",e[e.JSDocThisTag=343]="JSDocThisTag",e[e.JSDocTypeTag=344]="JSDocTypeTag",e[e.JSDocTemplateTag=345]="JSDocTemplateTag",e[e.JSDocTypedefTag=346]="JSDocTypedefTag",e[e.JSDocSeeTag=347]="JSDocSeeTag",e[e.JSDocPropertyTag=348]="JSDocPropertyTag",e[e.JSDocThrowsTag=349]="JSDocThrowsTag",e[e.JSDocSatisfiesTag=350]="JSDocSatisfiesTag",e[e.JSDocImportTag=351]="JSDocImportTag",e[e.SyntaxList=352]="SyntaxList",e[e.NotEmittedStatement=353]="NotEmittedStatement",e[e.PartiallyEmittedExpression=354]="PartiallyEmittedExpression",e[e.CommaListExpression=355]="CommaListExpression",e[e.SyntheticReferenceExpression=356]="SyntheticReferenceExpression",e[e.Count=357]="Count",e[e.FirstAssignment=64]="FirstAssignment",e[e.LastAssignment=79]="LastAssignment",e[e.FirstCompoundAssignment=65]="FirstCompoundAssignment",e[e.LastCompoundAssignment=79]="LastCompoundAssignment",e[e.FirstReservedWord=83]="FirstReservedWord",e[e.LastReservedWord=118]="LastReservedWord",e[e.FirstKeyword=83]="FirstKeyword",e[e.LastKeyword=165]="LastKeyword",e[e.FirstFutureReservedWord=119]="FirstFutureReservedWord",e[e.LastFutureReservedWord=127]="LastFutureReservedWord",e[e.FirstTypeNode=182]="FirstTypeNode",e[e.LastTypeNode=205]="LastTypeNode",e[e.FirstPunctuation=19]="FirstPunctuation",e[e.LastPunctuation=79]="LastPunctuation",e[e.FirstToken=0]="FirstToken",e[e.LastToken=165]="LastToken",e[e.FirstTriviaToken=2]="FirstTriviaToken",e[e.LastTriviaToken=7]="LastTriviaToken",e[e.FirstLiteralToken=9]="FirstLiteralToken",e[e.LastLiteralToken=15]="LastLiteralToken",e[e.FirstTemplateToken=15]="FirstTemplateToken",e[e.LastTemplateToken=18]="LastTemplateToken",e[e.FirstBinaryOperator=30]="FirstBinaryOperator",e[e.LastBinaryOperator=79]="LastBinaryOperator",e[e.FirstStatement=243]="FirstStatement",e[e.LastStatement=259]="LastStatement",e[e.FirstNode=166]="FirstNode",e[e.FirstJSDocNode=309]="FirstJSDocNode",e[e.LastJSDocNode=351]="LastJSDocNode",e[e.FirstJSDocTagNode=327]="FirstJSDocTagNode",e[e.LastJSDocTagNode=351]="LastJSDocTagNode",e[e.FirstContextualKeyword=128]="FirstContextualKeyword",e[e.LastContextualKeyword=165]="LastContextualKeyword",e))(ce||{}),Xt=(e=>(e[e.None=0]="None",e[e.Let=1]="Let",e[e.Const=2]="Const",e[e.Using=4]="Using",e[e.AwaitUsing=6]="AwaitUsing",e[e.NestedNamespace=8]="NestedNamespace",e[e.Synthesized=16]="Synthesized",e[e.Namespace=32]="Namespace",e[e.OptionalChain=64]="OptionalChain",e[e.ExportContext=128]="ExportContext",e[e.ContainsThis=256]="ContainsThis",e[e.HasImplicitReturn=512]="HasImplicitReturn",e[e.HasExplicitReturn=1024]="HasExplicitReturn",e[e.GlobalAugmentation=2048]="GlobalAugmentation",e[e.HasAsyncFunctions=4096]="HasAsyncFunctions",e[e.DisallowInContext=8192]="DisallowInContext",e[e.YieldContext=16384]="YieldContext",e[e.DecoratorContext=32768]="DecoratorContext",e[e.AwaitContext=65536]="AwaitContext",e[e.DisallowConditionalTypesContext=131072]="DisallowConditionalTypesContext",e[e.ThisNodeHasError=262144]="ThisNodeHasError",e[e.JavaScriptFile=524288]="JavaScriptFile",e[e.ThisNodeOrAnySubNodesHasError=1048576]="ThisNodeOrAnySubNodesHasError",e[e.HasAggregatedChildData=2097152]="HasAggregatedChildData",e[e.PossiblyContainsDynamicImport=4194304]="PossiblyContainsDynamicImport",e[e.PossiblyContainsImportMeta=8388608]="PossiblyContainsImportMeta",e[e.JSDoc=16777216]="JSDoc",e[e.Ambient=33554432]="Ambient",e[e.InWithStatement=67108864]="InWithStatement",e[e.JsonFile=134217728]="JsonFile",e[e.TypeCached=268435456]="TypeCached",e[e.Deprecated=536870912]="Deprecated",e[e.BlockScoped=7]="BlockScoped",e[e.Constant=6]="Constant",e[e.ReachabilityCheckFlags=1536]="ReachabilityCheckFlags",e[e.ReachabilityAndEmitFlags=5632]="ReachabilityAndEmitFlags",e[e.ContextFlags=101441536]="ContextFlags",e[e.TypeExcludesFlags=81920]="TypeExcludesFlags",e[e.PermanentlySetIncrementalFlags=12582912]="PermanentlySetIncrementalFlags",e[e.IdentifierHasExtendedUnicodeEscape=256]="IdentifierHasExtendedUnicodeEscape",e[e.IdentifierIsInJSDocNamespace=4096]="IdentifierIsInJSDocNamespace",e))(Xt||{}),hf=(e=>(e[e.None=0]="None",e[e.Public=1]="Public",e[e.Private=2]="Private",e[e.Protected=4]="Protected",e[e.Readonly=8]="Readonly",e[e.Override=16]="Override",e[e.Export=32]="Export",e[e.Abstract=64]="Abstract",e[e.Ambient=128]="Ambient",e[e.Static=256]="Static",e[e.Accessor=512]="Accessor",e[e.Async=1024]="Async",e[e.Default=2048]="Default",e[e.Const=4096]="Const",e[e.In=8192]="In",e[e.Out=16384]="Out",e[e.Decorator=32768]="Decorator",e[e.Deprecated=65536]="Deprecated",e[e.JSDocPublic=8388608]="JSDocPublic",e[e.JSDocPrivate=16777216]="JSDocPrivate",e[e.JSDocProtected=33554432]="JSDocProtected",e[e.JSDocReadonly=67108864]="JSDocReadonly",e[e.JSDocOverride=134217728]="JSDocOverride",e[e.SyntacticOrJSDocModifiers=31]="SyntacticOrJSDocModifiers",e[e.SyntacticOnlyModifiers=65504]="SyntacticOnlyModifiers",e[e.SyntacticModifiers=65535]="SyntacticModifiers",e[e.JSDocCacheOnlyModifiers=260046848]="JSDocCacheOnlyModifiers",e[e.JSDocOnlyModifiers=65536]="JSDocOnlyModifiers",e[e.NonCacheOnlyModifiers=131071]="NonCacheOnlyModifiers",e[e.HasComputedJSDocModifiers=268435456]="HasComputedJSDocModifiers",e[e.HasComputedFlags=536870912]="HasComputedFlags",e[e.AccessibilityModifier=7]="AccessibilityModifier",e[e.ParameterPropertyModifier=31]="ParameterPropertyModifier",e[e.NonPublicAccessibilityModifier=6]="NonPublicAccessibilityModifier",e[e.TypeScriptModifier=28895]="TypeScriptModifier",e[e.ExportDefault=2080]="ExportDefault",e[e.All=131071]="All",e[e.Modifier=98303]="Modifier",e))(hf||{});var Wm=(e=>(e[e.None=0]="None",e[e.Succeeded=1]="Succeeded",e[e.Failed=2]="Failed",e[e.Reported=4]="Reported",e[e.ReportsUnmeasurable=8]="ReportsUnmeasurable",e[e.ReportsUnreliable=16]="ReportsUnreliable",e[e.ReportsMask=24]="ReportsMask",e))(Wm||{});var Qp=(e=>(e[e.Unreachable=1]="Unreachable",e[e.Start=2]="Start",e[e.BranchLabel=4]="BranchLabel",e[e.LoopLabel=8]="LoopLabel",e[e.Assignment=16]="Assignment",e[e.TrueCondition=32]="TrueCondition",e[e.FalseCondition=64]="FalseCondition",e[e.SwitchClause=128]="SwitchClause",e[e.ArrayMutation=256]="ArrayMutation",e[e.Call=512]="Call",e[e.ReduceLabel=1024]="ReduceLabel",e[e.Referenced=2048]="Referenced",e[e.Shared=4096]="Shared",e[e.Label=12]="Label",e[e.Condition=96]="Condition",e))(Qp||{});var yf=(e=>(e[e.None=0]="None",e[e.FunctionScopedVariable=1]="FunctionScopedVariable",e[e.BlockScopedVariable=2]="BlockScopedVariable",e[e.Property=4]="Property",e[e.EnumMember=8]="EnumMember",e[e.Function=16]="Function",e[e.Class=32]="Class",e[e.Interface=64]="Interface",e[e.ConstEnum=128]="ConstEnum",e[e.RegularEnum=256]="RegularEnum",e[e.ValueModule=512]="ValueModule",e[e.NamespaceModule=1024]="NamespaceModule",e[e.TypeLiteral=2048]="TypeLiteral",e[e.ObjectLiteral=4096]="ObjectLiteral",e[e.Method=8192]="Method",e[e.Constructor=16384]="Constructor",e[e.GetAccessor=32768]="GetAccessor",e[e.SetAccessor=65536]="SetAccessor",e[e.Signature=131072]="Signature",e[e.TypeParameter=262144]="TypeParameter",e[e.TypeAlias=524288]="TypeAlias",e[e.ExportValue=1048576]="ExportValue",e[e.Alias=2097152]="Alias",e[e.Prototype=4194304]="Prototype",e[e.ExportStar=8388608]="ExportStar",e[e.Optional=16777216]="Optional",e[e.Transient=33554432]="Transient",e[e.Assignment=67108864]="Assignment",e[e.ModuleExports=134217728]="ModuleExports",e[e.All=-1]="All",e[e.Enum=384]="Enum",e[e.Variable=3]="Variable",e[e.Value=111551]="Value",e[e.Type=788968]="Type",e[e.Namespace=1920]="Namespace",e[e.Module=1536]="Module",e[e.Accessor=98304]="Accessor",e[e.FunctionScopedVariableExcludes=111550]="FunctionScopedVariableExcludes",e[e.BlockScopedVariableExcludes=111551]="BlockScopedVariableExcludes",e[e.ParameterExcludes=111551]="ParameterExcludes",e[e.PropertyExcludes=0]="PropertyExcludes",e[e.EnumMemberExcludes=900095]="EnumMemberExcludes",e[e.FunctionExcludes=110991]="FunctionExcludes",e[e.ClassExcludes=899503]="ClassExcludes",e[e.InterfaceExcludes=788872]="InterfaceExcludes",e[e.RegularEnumExcludes=899327]="RegularEnumExcludes",e[e.ConstEnumExcludes=899967]="ConstEnumExcludes",e[e.ValueModuleExcludes=110735]="ValueModuleExcludes",e[e.NamespaceModuleExcludes=0]="NamespaceModuleExcludes",e[e.MethodExcludes=103359]="MethodExcludes",e[e.GetAccessorExcludes=46015]="GetAccessorExcludes",e[e.SetAccessorExcludes=78783]="SetAccessorExcludes",e[e.AccessorExcludes=13247]="AccessorExcludes",e[e.TypeParameterExcludes=526824]="TypeParameterExcludes",e[e.TypeAliasExcludes=788968]="TypeAliasExcludes",e[e.AliasExcludes=2097152]="AliasExcludes",e[e.ModuleMember=2623475]="ModuleMember",e[e.ExportHasLocal=944]="ExportHasLocal",e[e.BlockScoped=418]="BlockScoped",e[e.PropertyOrAccessor=98308]="PropertyOrAccessor",e[e.ClassMember=106500]="ClassMember",e[e.ExportSupportsDefaultModifier=112]="ExportSupportsDefaultModifier",e[e.ExportDoesNotSupportDefaultModifier=-113]="ExportDoesNotSupportDefaultModifier",e[e.Classifiable=2885600]="Classifiable",e[e.LateBindingContainer=6256]="LateBindingContainer",e))(yf||{});var Gm=(e=>(e[e.None=0]="None",e[e.TypeChecked=1]="TypeChecked",e[e.LexicalThis=2]="LexicalThis",e[e.CaptureThis=4]="CaptureThis",e[e.CaptureNewTarget=8]="CaptureNewTarget",e[e.SuperInstance=16]="SuperInstance",e[e.SuperStatic=32]="SuperStatic",e[e.ContextChecked=64]="ContextChecked",e[e.MethodWithSuperPropertyAccessInAsync=128]="MethodWithSuperPropertyAccessInAsync",e[e.MethodWithSuperPropertyAssignmentInAsync=256]="MethodWithSuperPropertyAssignmentInAsync",e[e.CaptureArguments=512]="CaptureArguments",e[e.EnumValuesComputed=1024]="EnumValuesComputed",e[e.LexicalModuleMergesWithClass=2048]="LexicalModuleMergesWithClass",e[e.LoopWithCapturedBlockScopedBinding=4096]="LoopWithCapturedBlockScopedBinding",e[e.ContainsCapturedBlockScopeBinding=8192]="ContainsCapturedBlockScopeBinding",e[e.CapturedBlockScopedBinding=16384]="CapturedBlockScopedBinding",e[e.BlockScopedBindingInLoop=32768]="BlockScopedBindingInLoop",e[e.NeedsLoopOutParameter=65536]="NeedsLoopOutParameter",e[e.AssignmentsMarked=131072]="AssignmentsMarked",e[e.ContainsConstructorReference=262144]="ContainsConstructorReference",e[e.ConstructorReference=536870912]="ConstructorReference",e[e.ContainsClassWithPrivateIdentifiers=1048576]="ContainsClassWithPrivateIdentifiers",e[e.ContainsSuperPropertyInStaticInitializer=2097152]="ContainsSuperPropertyInStaticInitializer",e[e.InCheckIdentifier=4194304]="InCheckIdentifier",e[e.LazyFlags=539358128]="LazyFlags",e))(Gm||{}),zt=(e=>(e[e.Any=1]="Any",e[e.Unknown=2]="Unknown",e[e.String=4]="String",e[e.Number=8]="Number",e[e.Boolean=16]="Boolean",e[e.Enum=32]="Enum",e[e.BigInt=64]="BigInt",e[e.StringLiteral=128]="StringLiteral",e[e.NumberLiteral=256]="NumberLiteral",e[e.BooleanLiteral=512]="BooleanLiteral",e[e.EnumLiteral=1024]="EnumLiteral",e[e.BigIntLiteral=2048]="BigIntLiteral",e[e.ESSymbol=4096]="ESSymbol",e[e.UniqueESSymbol=8192]="UniqueESSymbol",e[e.Void=16384]="Void",e[e.Undefined=32768]="Undefined",e[e.Null=65536]="Null",e[e.Never=131072]="Never",e[e.TypeParameter=262144]="TypeParameter",e[e.Object=524288]="Object",e[e.Union=1048576]="Union",e[e.Intersection=2097152]="Intersection",e[e.Index=4194304]="Index",e[e.IndexedAccess=8388608]="IndexedAccess",e[e.Conditional=16777216]="Conditional",e[e.Substitution=33554432]="Substitution",e[e.NonPrimitive=67108864]="NonPrimitive",e[e.TemplateLiteral=134217728]="TemplateLiteral",e[e.StringMapping=268435456]="StringMapping",e[e.Reserved1=536870912]="Reserved1",e[e.Reserved2=1073741824]="Reserved2",e[e.AnyOrUnknown=3]="AnyOrUnknown",e[e.Nullable=98304]="Nullable",e[e.Literal=2944]="Literal",e[e.Unit=109472]="Unit",e[e.Freshable=2976]="Freshable",e[e.StringOrNumberLiteral=384]="StringOrNumberLiteral",e[e.StringOrNumberLiteralOrUnique=8576]="StringOrNumberLiteralOrUnique",e[e.DefinitelyFalsy=117632]="DefinitelyFalsy",e[e.PossiblyFalsy=117724]="PossiblyFalsy",e[e.Intrinsic=67359327]="Intrinsic",e[e.StringLike=402653316]="StringLike",e[e.NumberLike=296]="NumberLike",e[e.BigIntLike=2112]="BigIntLike",e[e.BooleanLike=528]="BooleanLike",e[e.EnumLike=1056]="EnumLike",e[e.ESSymbolLike=12288]="ESSymbolLike",e[e.VoidLike=49152]="VoidLike",e[e.Primitive=402784252]="Primitive",e[e.DefinitelyNonNullable=470302716]="DefinitelyNonNullable",e[e.DisjointDomains=469892092]="DisjointDomains",e[e.UnionOrIntersection=3145728]="UnionOrIntersection",e[e.StructuredType=3670016]="StructuredType",e[e.TypeVariable=8650752]="TypeVariable",e[e.InstantiableNonPrimitive=58982400]="InstantiableNonPrimitive",e[e.InstantiablePrimitive=406847488]="InstantiablePrimitive",e[e.Instantiable=465829888]="Instantiable",e[e.StructuredOrInstantiable=469499904]="StructuredOrInstantiable",e[e.ObjectFlagsType=3899393]="ObjectFlagsType",e[e.Simplifiable=25165824]="Simplifiable",e[e.Singleton=67358815]="Singleton",e[e.Narrowable=536624127]="Narrowable",e[e.IncludesMask=473694207]="IncludesMask",e[e.IncludesMissingType=262144]="IncludesMissingType",e[e.IncludesNonWideningType=4194304]="IncludesNonWideningType",e[e.IncludesWildcard=8388608]="IncludesWildcard",e[e.IncludesEmptyObject=16777216]="IncludesEmptyObject",e[e.IncludesInstantiable=33554432]="IncludesInstantiable",e[e.IncludesConstrainedTypeVariable=536870912]="IncludesConstrainedTypeVariable",e[e.IncludesError=1073741824]="IncludesError",e[e.NotPrimitiveUnion=36323331]="NotPrimitiveUnion",e))(zt||{}),bl=(e=>(e[e.None=0]="None",e[e.Class=1]="Class",e[e.Interface=2]="Interface",e[e.Reference=4]="Reference",e[e.Tuple=8]="Tuple",e[e.Anonymous=16]="Anonymous",e[e.Mapped=32]="Mapped",e[e.Instantiated=64]="Instantiated",e[e.ObjectLiteral=128]="ObjectLiteral",e[e.EvolvingArray=256]="EvolvingArray",e[e.ObjectLiteralPatternWithComputedProperties=512]="ObjectLiteralPatternWithComputedProperties",e[e.ReverseMapped=1024]="ReverseMapped",e[e.JsxAttributes=2048]="JsxAttributes",e[e.JSLiteral=4096]="JSLiteral",e[e.FreshLiteral=8192]="FreshLiteral",e[e.ArrayLiteral=16384]="ArrayLiteral",e[e.PrimitiveUnion=32768]="PrimitiveUnion",e[e.ContainsWideningType=65536]="ContainsWideningType",e[e.ContainsObjectOrArrayLiteral=131072]="ContainsObjectOrArrayLiteral",e[e.NonInferrableType=262144]="NonInferrableType",e[e.CouldContainTypeVariablesComputed=524288]="CouldContainTypeVariablesComputed",e[e.CouldContainTypeVariables=1048576]="CouldContainTypeVariables",e[e.ClassOrInterface=3]="ClassOrInterface",e[e.RequiresWidening=196608]="RequiresWidening",e[e.PropagatingFlags=458752]="PropagatingFlags",e[e.InstantiatedMapped=96]="InstantiatedMapped",e[e.ObjectTypeKindMask=1343]="ObjectTypeKindMask",e[e.ContainsSpread=2097152]="ContainsSpread",e[e.ObjectRestType=4194304]="ObjectRestType",e[e.InstantiationExpressionType=8388608]="InstantiationExpressionType",e[e.SingleSignatureType=134217728]="SingleSignatureType",e[e.IsClassInstanceClone=16777216]="IsClassInstanceClone",e[e.IdenticalBaseTypeCalculated=33554432]="IdenticalBaseTypeCalculated",e[e.IdenticalBaseTypeExists=67108864]="IdenticalBaseTypeExists",e[e.IsGenericTypeComputed=2097152]="IsGenericTypeComputed",e[e.IsGenericObjectType=4194304]="IsGenericObjectType",e[e.IsGenericIndexType=8388608]="IsGenericIndexType",e[e.IsGenericType=12582912]="IsGenericType",e[e.ContainsIntersections=16777216]="ContainsIntersections",e[e.IsUnknownLikeUnionComputed=33554432]="IsUnknownLikeUnionComputed",e[e.IsUnknownLikeUnion=67108864]="IsUnknownLikeUnion",e[e.IsNeverIntersectionComputed=16777216]="IsNeverIntersectionComputed",e[e.IsNeverIntersection=33554432]="IsNeverIntersection",e[e.IsConstrainedTypeVariable=67108864]="IsConstrainedTypeVariable",e))(bl||{});var Ym=(e=>(e[e.None=0]="None",e[e.HasRestParameter=1]="HasRestParameter",e[e.HasLiteralTypes=2]="HasLiteralTypes",e[e.Abstract=4]="Abstract",e[e.IsInnerCallChain=8]="IsInnerCallChain",e[e.IsOuterCallChain=16]="IsOuterCallChain",e[e.IsUntypedSignatureInJSFile=32]="IsUntypedSignatureInJSFile",e[e.IsNonInferrable=64]="IsNonInferrable",e[e.IsSignatureCandidateForOverloadFailure=128]="IsSignatureCandidateForOverloadFailure",e[e.PropagatingFlags=167]="PropagatingFlags",e[e.CallChainFlags=24]="CallChainFlags",e))(Ym||{});var Jr=(e=>(e[e.Unknown=0]="Unknown",e[e.JS=1]="JS",e[e.JSX=2]="JSX",e[e.TS=3]="TS",e[e.TSX=4]="TSX",e[e.External=5]="External",e[e.JSON=6]="JSON",e[e.Deferred=7]="Deferred",e))(Jr||{}),Ps=(e=>(e[e.ES3=0]="ES3",e[e.ES5=1]="ES5",e[e.ES2015=2]="ES2015",e[e.ES2016=3]="ES2016",e[e.ES2017=4]="ES2017",e[e.ES2018=5]="ES2018",e[e.ES2019=6]="ES2019",e[e.ES2020=7]="ES2020",e[e.ES2021=8]="ES2021",e[e.ES2022=9]="ES2022",e[e.ES2023=10]="ES2023",e[e.ESNext=99]="ESNext",e[e.JSON=100]="JSON",e[e.Latest=99]="Latest",e))(Ps||{}),vl=(e=>(e[e.Standard=0]="Standard",e[e.JSX=1]="JSX",e))(vl||{});var gr=(e=>(e.Ts=".ts",e.Tsx=".tsx",e.Dts=".d.ts",e.Js=".js",e.Jsx=".jsx",e.Json=".json",e.TsBuildInfo=".tsbuildinfo",e.Mjs=".mjs",e.Mts=".mts",e.Dmts=".d.mts",e.Cjs=".cjs",e.Cts=".cts",e.Dcts=".d.cts",e))(gr||{}),Hm=(e=>(e[e.None=0]="None",e[e.ContainsTypeScript=1]="ContainsTypeScript",e[e.ContainsJsx=2]="ContainsJsx",e[e.ContainsESNext=4]="ContainsESNext",e[e.ContainsES2022=8]="ContainsES2022",e[e.ContainsES2021=16]="ContainsES2021",e[e.ContainsES2020=32]="ContainsES2020",e[e.ContainsES2019=64]="ContainsES2019",e[e.ContainsES2018=128]="ContainsES2018",e[e.ContainsES2017=256]="ContainsES2017",e[e.ContainsES2016=512]="ContainsES2016",e[e.ContainsES2015=1024]="ContainsES2015",e[e.ContainsGenerator=2048]="ContainsGenerator",e[e.ContainsDestructuringAssignment=4096]="ContainsDestructuringAssignment",e[e.ContainsTypeScriptClassSyntax=8192]="ContainsTypeScriptClassSyntax",e[e.ContainsLexicalThis=16384]="ContainsLexicalThis",e[e.ContainsRestOrSpread=32768]="ContainsRestOrSpread",e[e.ContainsObjectRestOrSpread=65536]="ContainsObjectRestOrSpread",e[e.ContainsComputedPropertyName=131072]="ContainsComputedPropertyName",e[e.ContainsBlockScopedBinding=262144]="ContainsBlockScopedBinding",e[e.ContainsBindingPattern=524288]="ContainsBindingPattern",e[e.ContainsYield=1048576]="ContainsYield",e[e.ContainsAwait=2097152]="ContainsAwait",e[e.ContainsHoistedDeclarationOrCompletion=4194304]="ContainsHoistedDeclarationOrCompletion",e[e.ContainsDynamicImport=8388608]="ContainsDynamicImport",e[e.ContainsClassFields=16777216]="ContainsClassFields",e[e.ContainsDecorators=33554432]="ContainsDecorators",e[e.ContainsPossibleTopLevelAwait=67108864]="ContainsPossibleTopLevelAwait",e[e.ContainsLexicalSuper=134217728]="ContainsLexicalSuper",e[e.ContainsUpdateExpressionForIdentifier=268435456]="ContainsUpdateExpressionForIdentifier",e[e.ContainsPrivateIdentifierInExpression=536870912]="ContainsPrivateIdentifierInExpression",e[e.HasComputedFlags=-2147483648]="HasComputedFlags",e[e.AssertTypeScript=1]="AssertTypeScript",e[e.AssertJsx=2]="AssertJsx",e[e.AssertESNext=4]="AssertESNext",e[e.AssertES2022=8]="AssertES2022",e[e.AssertES2021=16]="AssertES2021",e[e.AssertES2020=32]="AssertES2020",e[e.AssertES2019=64]="AssertES2019",e[e.AssertES2018=128]="AssertES2018",e[e.AssertES2017=256]="AssertES2017",e[e.AssertES2016=512]="AssertES2016",e[e.AssertES2015=1024]="AssertES2015",e[e.AssertGenerator=2048]="AssertGenerator",e[e.AssertDestructuringAssignment=4096]="AssertDestructuringAssignment",e[e.OuterExpressionExcludes=-2147483648]="OuterExpressionExcludes",e[e.PropertyAccessExcludes=-2147483648]="PropertyAccessExcludes",e[e.NodeExcludes=-2147483648]="NodeExcludes",e[e.ArrowFunctionExcludes=-2072174592]="ArrowFunctionExcludes",e[e.FunctionExcludes=-1937940480]="FunctionExcludes",e[e.ConstructorExcludes=-1937948672]="ConstructorExcludes",e[e.MethodOrAccessorExcludes=-2005057536]="MethodOrAccessorExcludes",e[e.PropertyExcludes=-2013249536]="PropertyExcludes",e[e.ClassExcludes=-2147344384]="ClassExcludes",e[e.ModuleExcludes=-1941676032]="ModuleExcludes",e[e.TypeExcludes=-2]="TypeExcludes",e[e.ObjectLiteralExcludes=-2147278848]="ObjectLiteralExcludes",e[e.ArrayLiteralOrCallOrNewExcludes=-2147450880]="ArrayLiteralOrCallOrNewExcludes",e[e.VariableDeclarationListExcludes=-2146893824]="VariableDeclarationListExcludes",e[e.ParameterExcludes=-2147483648]="ParameterExcludes",e[e.CatchClauseExcludes=-2147418112]="CatchClauseExcludes",e[e.BindingPatternExcludes=-2147450880]="BindingPatternExcludes",e[e.ContainsLexicalThisOrSuper=134234112]="ContainsLexicalThisOrSuper",e[e.PropertyNamePropagatingFlags=134234112]="PropertyNamePropagatingFlags",e))(Hm||{}),Xm=(e=>(e[e.TabStop=0]="TabStop",e[e.Placeholder=1]="Placeholder",e[e.Choice=2]="Choice",e[e.Variable=3]="Variable",e))(Xm||{}),$m=(e=>(e[e.None=0]="None",e[e.SingleLine=1]="SingleLine",e[e.MultiLine=2]="MultiLine",e[e.AdviseOnEmitNode=4]="AdviseOnEmitNode",e[e.NoSubstitution=8]="NoSubstitution",e[e.CapturesThis=16]="CapturesThis",e[e.NoLeadingSourceMap=32]="NoLeadingSourceMap",e[e.NoTrailingSourceMap=64]="NoTrailingSourceMap",e[e.NoSourceMap=96]="NoSourceMap",e[e.NoNestedSourceMaps=128]="NoNestedSourceMaps",e[e.NoTokenLeadingSourceMaps=256]="NoTokenLeadingSourceMaps",e[e.NoTokenTrailingSourceMaps=512]="NoTokenTrailingSourceMaps",e[e.NoTokenSourceMaps=768]="NoTokenSourceMaps",e[e.NoLeadingComments=1024]="NoLeadingComments",e[e.NoTrailingComments=2048]="NoTrailingComments",e[e.NoComments=3072]="NoComments",e[e.NoNestedComments=4096]="NoNestedComments",e[e.HelperName=8192]="HelperName",e[e.ExportName=16384]="ExportName",e[e.LocalName=32768]="LocalName",e[e.InternalName=65536]="InternalName",e[e.Indented=131072]="Indented",e[e.NoIndentation=262144]="NoIndentation",e[e.AsyncFunctionBody=524288]="AsyncFunctionBody",e[e.ReuseTempVariableScope=1048576]="ReuseTempVariableScope",e[e.CustomPrologue=2097152]="CustomPrologue",e[e.NoHoisting=4194304]="NoHoisting",e[e.Iterator=8388608]="Iterator",e[e.NoAsciiEscaping=16777216]="NoAsciiEscaping",e))($m||{});var Qm={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},{name:"preserve",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}},$a=(e=>(e[e.ParseAll=0]="ParseAll",e[e.ParseNone=1]="ParseNone",e[e.ParseForTypeErrors=2]="ParseForTypeErrors",e[e.ParseForTypeInfo=3]="ParseForTypeInfo",e))($a||{});var ra="/",tg="\\",zd="://",ng=/\\/g;function rg(e){return e===47||e===92}function ig(e,t){return e.length>t.length&&$y(e,t)}function gf(e){return e.length>0&&rg(e.charCodeAt(e.length-1))}function Fd(e){return e>=97&&e<=122||e>=65&&e<=90}function ag(e,t){let a=e.charCodeAt(t);if(a===58)return t+1;if(a===37&&e.charCodeAt(t+1)===51){let o=e.charCodeAt(t+2);if(o===97||o===65)return t+3}return-1}function _g(e){if(!e)return 0;let t=e.charCodeAt(0);if(t===47||t===92){if(e.charCodeAt(1)!==t)return 1;let o=e.indexOf(t===47?ra:tg,2);return o<0?e.length:o+1}if(Fd(t)&&e.charCodeAt(1)===58){let o=e.charCodeAt(2);if(o===47||o===92)return 3;if(e.length===2)return 2}let a=e.indexOf(zd);if(a!==-1){let o=a+zd.length,h=e.indexOf(ra,o);if(h!==-1){let g=e.slice(0,a),E=e.slice(o,h);if(g==="file"&&(E===""||E==="localhost")&&Fd(e.charCodeAt(h+1))){let C=ag(e,h+2);if(C!==-1){if(e.charCodeAt(C)===47)return~(C+1);if(C===e.length)return~C}}return~(h+1)}return~e.length}return 0}function ll(e){let t=_g(e);return t<0?~t:t}function Km(e,t,a){if(e=ul(e),ll(e)===e.length)return"";e=e1(e);let h=e.slice(Math.max(ll(e),e.lastIndexOf(ra)+1)),g=t!==void 0&&a!==void 0?Zm(h,t,a):void 0;return g?h.slice(0,h.length-g.length):h}function Vd(e,t,a){if(cl(t,".")||(t="."+t),e.length>=t.length&&e.charCodeAt(e.length-t.length)===46){let o=e.slice(e.length-t.length);if(a(o,t))return o}}function sg(e,t,a){if(typeof t=="string")return Vd(e,t,a)||"";for(let o of t){let h=Vd(e,o,a);if(h)return h}return""}function Zm(e,t,a){if(t)return sg(e1(e),t,a?df:Yy);let o=Km(e),h=o.lastIndexOf(".");return h>=0?o.substring(h):""}function og(e,t){let a=e.substring(0,t),o=e.substring(t).split(ra);return o.length&&!Ki(o)&&o.pop(),[a,...o]}function cg(e,t=""){return e=pg(t,e),og(e,ll(e))}function lg(e,t){return e.length===0?"":(e[0]&&bf(e[0]))+e.slice(1,t).join(ra)}function ul(e){return e.includes("\\")?e.replace(ng,ra):e}function ug(e){if(!qt(e))return[];let t=[e[0]];for(let a=1;a1){if(t[t.length-1]!==".."){t.pop();continue}}else if(t[0])continue}t.push(o)}}return t}function pg(e,...t){e&&(e=ul(e));for(let a of t)a&&(a=ul(a),!e||ll(a)!==0?e=a:e=bf(e)+a);return e}function fg(e){if(e=ul(e),!Wd.test(e))return e;let t=e.replace(/\/\.\//g,"/").replace(/^\.\//,"");if(t!==e&&(e=t,!Wd.test(e)))return e;let a=lg(ug(cg(e)));return a&&gf(e)?bf(a):a}function e1(e){return gf(e)?e.substr(0,e.length-1):e}function bf(e){return gf(e)?e:e+ra}var Wd=/(?:\/\/)|(?:^|\/)\.\.?(?:$|\/)/;function r(e,t,a,o,h,g,E){return{code:e,category:t,key:a,message:o,reportsUnnecessary:h,elidedInCompatabilityPyramid:g,reportsDeprecated:E}}var A={Unterminated_string_literal:r(1002,1,"Unterminated_string_literal_1002","Unterminated string literal."),Identifier_expected:r(1003,1,"Identifier_expected_1003","Identifier expected."),_0_expected:r(1005,1,"_0_expected_1005","'{0}' expected."),A_file_cannot_have_a_reference_to_itself:r(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:r(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:r(1009,1,"Trailing_comma_not_allowed_1009","Trailing comma not allowed."),Asterisk_Slash_expected:r(1010,1,"Asterisk_Slash_expected_1010","'*/' expected."),An_element_access_expression_should_take_an_argument:r(1011,1,"An_element_access_expression_should_take_an_argument_1011","An element access expression should take an argument."),Unexpected_token:r(1012,1,"Unexpected_token_1012","Unexpected token."),A_rest_parameter_or_binding_pattern_may_not_have_a_trailing_comma:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(1025,1,"An_index_signature_cannot_have_a_trailing_comma_1025","An index signature cannot have a trailing comma."),Accessibility_modifier_already_seen:r(1028,1,"Accessibility_modifier_already_seen_1028","Accessibility modifier already seen."),_0_modifier_must_precede_1_modifier:r(1029,1,"_0_modifier_must_precede_1_modifier_1029","'{0}' modifier must precede '{1}' modifier."),_0_modifier_already_seen:r(1030,1,"_0_modifier_already_seen_1030","'{0}' modifier already seen."),_0_modifier_cannot_appear_on_class_elements_of_this_kind:r(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:r(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:r(1035,1,"Only_ambient_modules_can_use_quoted_names_1035","Only ambient modules can use quoted names."),Statements_are_not_allowed_in_ambient_contexts:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(1047,1,"A_rest_parameter_cannot_be_optional_1047","A rest parameter cannot be optional."),A_rest_parameter_cannot_have_an_initializer:r(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:r(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:r(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:r(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:r(1053,1,"A_set_accessor_cannot_have_rest_parameter_1053","A 'set' accessor cannot have rest parameter."),A_get_accessor_cannot_have_parameters:r(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_because_it_does_not_refer_to_a_Promise_compatible_constructor_value:r(1055,1,"Type_0_is_not_a_valid_async_function_return_type_in_ES5_because_it_does_not_refer_to_a_Promise_compa_1055","Type '{0}' is not a valid async function return type in ES5 because it does not refer to a Promise-compatible constructor value."),Accessors_are_only_available_when_targeting_ECMAScript_5_and_higher:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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 type. Did you mean to write 'Promise<{0}>'?"),The_return_type_of_an_async_function_or_method_must_be_the_global_Promise_T_type:r(1065,1,"The_return_type_of_an_async_function_or_method_must_be_the_global_Promise_T_type_1065","The return type of an async function or method must be the global Promise type."),In_ambient_enum_declarations_member_initializer_must_be_constant_expression:r(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:r(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:r(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:r(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:r(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:r(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:r(1084,1,"Invalid_reference_directive_syntax_1084","Invalid 'reference' directive syntax."),_0_modifier_cannot_appear_on_a_constructor_declaration:r(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:r(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:r(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:r(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:r(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:r(1094,1,"An_accessor_cannot_have_type_parameters_1094","An accessor cannot have type parameters."),A_set_accessor_cannot_have_a_return_type_annotation:r(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:r(1096,1,"An_index_signature_must_have_exactly_one_parameter_1096","An index signature must have exactly one parameter."),_0_list_cannot_be_empty:r(1097,1,"_0_list_cannot_be_empty_1097","'{0}' list cannot be empty."),Type_parameter_list_cannot_be_empty:r(1098,1,"Type_parameter_list_cannot_be_empty_1098","Type parameter list cannot be empty."),Type_argument_list_cannot_be_empty:r(1099,1,"Type_argument_list_cannot_be_empty_1099","Type argument list cannot be empty."),Invalid_use_of_0_in_strict_mode:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(1109,1,"Expression_expected_1109","Expression expected."),Type_expected:r(1110,1,"Type_expected_1110","Type expected."),Private_field_0_must_be_declared_in_an_enclosing_class:r(1111,1,"Private_field_0_must_be_declared_in_an_enclosing_class_1111","Private field '{0}' must be declared in an enclosing class."),A_default_clause_cannot_appear_more_than_once_in_a_switch_statement:r(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:r(1114,1,"Duplicate_label_0_1114","Duplicate label '{0}'."),A_continue_statement_can_only_jump_to_a_label_of_an_enclosing_iteration_statement:r(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:r(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:r(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:r(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:r(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:r(1120,1,"An_export_assignment_cannot_have_modifiers_1120","An export assignment cannot have modifiers."),Octal_literals_are_not_allowed_Use_the_syntax_0:r(1121,1,"Octal_literals_are_not_allowed_Use_the_syntax_0_1121","Octal literals are not allowed. Use the syntax '{0}'."),Variable_declaration_list_cannot_be_empty:r(1123,1,"Variable_declaration_list_cannot_be_empty_1123","Variable declaration list cannot be empty."),Digit_expected:r(1124,1,"Digit_expected_1124","Digit expected."),Hexadecimal_digit_expected:r(1125,1,"Hexadecimal_digit_expected_1125","Hexadecimal digit expected."),Unexpected_end_of_text:r(1126,1,"Unexpected_end_of_text_1126","Unexpected end of text."),Invalid_character:r(1127,1,"Invalid_character_1127","Invalid character."),Declaration_or_statement_expected:r(1128,1,"Declaration_or_statement_expected_1128","Declaration or statement expected."),Statement_expected:r(1129,1,"Statement_expected_1129","Statement expected."),case_or_default_expected:r(1130,1,"case_or_default_expected_1130","'case' or 'default' expected."),Property_or_signature_expected:r(1131,1,"Property_or_signature_expected_1131","Property or signature expected."),Enum_member_expected:r(1132,1,"Enum_member_expected_1132","Enum member expected."),Variable_declaration_expected:r(1134,1,"Variable_declaration_expected_1134","Variable declaration expected."),Argument_expression_expected:r(1135,1,"Argument_expression_expected_1135","Argument expression expected."),Property_assignment_expected:r(1136,1,"Property_assignment_expected_1136","Property assignment expected."),Expression_or_comma_expected:r(1137,1,"Expression_or_comma_expected_1137","Expression or comma expected."),Parameter_declaration_expected:r(1138,1,"Parameter_declaration_expected_1138","Parameter declaration expected."),Type_parameter_declaration_expected:r(1139,1,"Type_parameter_declaration_expected_1139","Type parameter declaration expected."),Type_argument_expected:r(1140,1,"Type_argument_expected_1140","Type argument expected."),String_literal_expected:r(1141,1,"String_literal_expected_1141","String literal expected."),Line_break_not_permitted_here:r(1142,1,"Line_break_not_permitted_here_1142","Line break not permitted here."),or_expected:r(1144,1,"or_expected_1144","'{' or ';' expected."),or_JSX_element_expected:r(1145,1,"or_JSX_element_expected_1145","'{' or JSX element expected."),Declaration_expected:r(1146,1,"Declaration_expected_1146","Declaration expected."),Import_declarations_in_a_namespace_cannot_reference_a_module:r(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:r(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:r(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."),_0_declarations_must_be_initialized:r(1155,1,"_0_declarations_must_be_initialized_1155","'{0}' declarations must be initialized."),_0_declarations_can_only_be_declared_inside_a_block:r(1156,1,"_0_declarations_can_only_be_declared_inside_a_block_1156","'{0}' declarations can only be declared inside a block."),Unterminated_template_literal:r(1160,1,"Unterminated_template_literal_1160","Unterminated template literal."),Unterminated_regular_expression_literal:r(1161,1,"Unterminated_regular_expression_literal_1161","Unterminated regular expression literal."),An_object_member_cannot_be_declared_optional:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(1172,1,"extends_clause_already_seen_1172","'extends' clause already seen."),extends_clause_must_precede_implements_clause:r(1173,1,"extends_clause_must_precede_implements_clause_1173","'extends' clause must precede 'implements' clause."),Classes_can_only_extend_a_single_class:r(1174,1,"Classes_can_only_extend_a_single_class_1174","Classes can only extend a single class."),implements_clause_already_seen:r(1175,1,"implements_clause_already_seen_1175","'implements' clause already seen."),Interface_declaration_cannot_have_implements_clause:r(1176,1,"Interface_declaration_cannot_have_implements_clause_1176","Interface declaration cannot have 'implements' clause."),Binary_digit_expected:r(1177,1,"Binary_digit_expected_1177","Binary digit expected."),Octal_digit_expected:r(1178,1,"Octal_digit_expected_1178","Octal digit expected."),Unexpected_token_expected:r(1179,1,"Unexpected_token_expected_1179","Unexpected token. '{' expected."),Property_destructuring_pattern_expected:r(1180,1,"Property_destructuring_pattern_expected_1180","Property destructuring pattern expected."),Array_element_destructuring_pattern_expected:r(1181,1,"Array_element_destructuring_pattern_expected_1181","Array element destructuring pattern expected."),A_destructuring_declaration_must_have_an_initializer:r(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:r(1183,1,"An_implementation_cannot_be_declared_in_ambient_contexts_1183","An implementation cannot be declared in ambient contexts."),Modifiers_cannot_appear_here:r(1184,1,"Modifiers_cannot_appear_here_1184","Modifiers cannot appear here."),Merge_conflict_marker_encountered:r(1185,1,"Merge_conflict_marker_encountered_1185","Merge conflict marker encountered."),A_rest_element_cannot_have_an_initializer:r(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:r(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:r(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:r(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:r(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:r(1191,1,"An_import_declaration_cannot_have_modifiers_1191","An import declaration cannot have modifiers."),Module_0_has_no_default_export:r(1192,1,"Module_0_has_no_default_export_1192","Module '{0}' has no default export."),An_export_declaration_cannot_have_modifiers:r(1193,1,"An_export_declaration_cannot_have_modifiers_1193","An export declaration cannot have modifiers."),Export_declarations_are_not_permitted_in_a_namespace:r(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:r(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:r(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:r(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:r(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:r(1199,1,"Unterminated_Unicode_escape_sequence_1199","Unterminated Unicode escape sequence."),Line_terminator_not_permitted_before_arrow:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(1223,1,"_0_tag_already_specified_1223","'{0}' tag already specified."),Signature_0_must_be_a_type_predicate:r(1224,1,"Signature_0_must_be_a_type_predicate_1224","Signature '{0}' must be a type predicate."),Cannot_find_parameter_0:r(1225,1,"Cannot_find_parameter_0_1225","Cannot find parameter '{0}'."),Type_predicate_0_is_not_assignable_to_1:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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_ES5:r(1250,1,"Function_declarations_are_not_allowed_inside_blocks_in_strict_mode_when_targeting_ES5_1250","Function declarations are not allowed inside blocks in strict mode when targeting 'ES5'."),Function_declarations_are_not_allowed_inside_blocks_in_strict_mode_when_targeting_ES5_Class_definitions_are_automatically_in_strict_mode:r(1251,1,"Function_declarations_are_not_allowed_inside_blocks_in_strict_mode_when_targeting_ES5_Class_definiti_1251","Function declarations are not allowed inside blocks in strict mode when targeting 'ES5'. Class definitions are automatically in strict mode."),Function_declarations_are_not_allowed_inside_blocks_in_strict_mode_when_targeting_ES5_Modules_are_automatically_in_strict_mode:r(1252,1,"Function_declarations_are_not_allowed_inside_blocks_in_strict_mode_when_targeting_ES5_Modules_are_au_1252","Function declarations are not allowed inside blocks in strict mode when targeting 'ES5'. Modules are automatically in strict mode."),Abstract_properties_can_only_appear_within_an_abstract_class:r(1253,1,"Abstract_properties_can_only_appear_within_an_abstract_class_1253","Abstract properties can only appear within an abstract class."),A_const_initializer_in_an_ambient_context_must_be_a_string_or_numeric_literal_or_literal_enum_reference:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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."),_0_resolves_to_a_type_only_declaration_and_must_be_marked_type_only_in_this_file_before_re_exporting_when_1_is_enabled_Consider_using_import_type_where_0_is_imported:r(1289,1,"_0_resolves_to_a_type_only_declaration_and_must_be_marked_type_only_in_this_file_before_re_exporting_1289","'{0}' resolves to a type-only declaration and must be marked type-only in this file before re-exporting when '{1}' is enabled. Consider using 'import type' where '{0}' is imported."),_0_resolves_to_a_type_only_declaration_and_must_be_marked_type_only_in_this_file_before_re_exporting_when_1_is_enabled_Consider_using_export_type_0_as_default:r(1290,1,"_0_resolves_to_a_type_only_declaration_and_must_be_marked_type_only_in_this_file_before_re_exporting_1290","'{0}' resolves to a type-only declaration and must be marked type-only in this file before re-exporting when '{1}' is enabled. Consider using 'export type { {0} as default }'."),_0_resolves_to_a_type_and_must_be_marked_type_only_in_this_file_before_re_exporting_when_1_is_enabled_Consider_using_import_type_where_0_is_imported:r(1291,1,"_0_resolves_to_a_type_and_must_be_marked_type_only_in_this_file_before_re_exporting_when_1_is_enable_1291","'{0}' resolves to a type and must be marked type-only in this file before re-exporting when '{1}' is enabled. Consider using 'import type' where '{0}' is imported."),_0_resolves_to_a_type_and_must_be_marked_type_only_in_this_file_before_re_exporting_when_1_is_enabled_Consider_using_export_type_0_as_default:r(1292,1,"_0_resolves_to_a_type_and_must_be_marked_type_only_in_this_file_before_re_exporting_when_1_is_enable_1292","'{0}' resolves to a type and must be marked type-only in this file before re-exporting when '{1}' is enabled. Consider using 'export type { {0} as default }'."),with_statements_are_not_allowed_in_an_async_function_block:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(1348,1,"Non_simple_parameter_declared_here_1348","Non-simple parameter declared here."),use_strict_directive_used_here:r(1349,1,"use_strict_directive_used_here_1349","'use strict' directive used here."),Print_the_final_configuration_instead_of_building:r(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:r(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:r(1352,1,"A_bigint_literal_cannot_use_exponential_notation_1352","A bigint literal cannot use exponential notation."),A_bigint_literal_must_be_an_integer:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(1364,3,"Convert_to_type_only_export_1364","Convert to type-only export"),Convert_all_re_exported_types_to_type_only_exports:r(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:r(1366,3,"Split_into_two_separate_import_declarations_1366","Split into two separate import declarations"),Split_all_invalid_type_only_imports:r(1367,3,"Split_all_invalid_type_only_imports_1367","Split all invalid type-only imports"),Class_constructor_may_not_be_a_generator:r(1368,1,"Class_constructor_may_not_be_a_generator_1368","Class constructor may not be a generator."),Did_you_mean_0:r(1369,3,"Did_you_mean_0_1369","Did you mean '{0}'?"),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:r(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:r(1376,3,"_0_was_imported_here_1376","'{0}' was imported here."),_0_was_exported_here:r(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_nodenext_or_preserve_and_the_target_option_is_set_to_es2017_or_higher:r(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', 'nodenext', or 'preserve', and the 'target' option is set to 'es2017' or higher."),An_import_alias_cannot_reference_a_declaration_that_was_exported_using_export_type:r(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:r(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:r(1381,1,"Unexpected_token_Did_you_mean_or_rbrace_1381","Unexpected token. Did you mean `{'}'}` or `}`?"),Unexpected_token_Did_you_mean_or_gt:r(1382,1,"Unexpected_token_Did_you_mean_or_gt_1382","Unexpected token. Did you mean `{'>'}` or `>`?"),Function_type_notation_must_be_parenthesized_when_used_in_a_union_type:r(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:r(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:r(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:r(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:r(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:r(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:r(1392,1,"An_import_alias_cannot_use_import_type_1392","An import alias cannot use 'import type'"),Imported_via_0_from_file_1:r(1393,3,"Imported_via_0_from_file_1_1393","Imported via {0} from file '{1}'"),Imported_via_0_from_file_1_with_packageId_2:r(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:r(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:r(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:r(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:r(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:r(1399,3,"File_is_included_via_import_here_1399","File is included via import here."),Referenced_via_0_from_file_1:r(1400,3,"Referenced_via_0_from_file_1_1400","Referenced via '{0}' from file '{1}'"),File_is_included_via_reference_here:r(1401,3,"File_is_included_via_reference_here_1401","File is included via reference here."),Type_library_referenced_via_0_from_file_1:r(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:r(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:r(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:r(1405,3,"Library_referenced_via_0_from_file_1_1405","Library referenced via '{0}' from file '{1}'"),File_is_included_via_library_reference_here:r(1406,3,"File_is_included_via_library_reference_here_1406","File is included via library reference here."),Matched_by_include_pattern_0_in_1:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(1422,3,"Library_0_specified_in_compilerOptions_1422","Library '{0}' specified in compilerOptions"),File_is_library_specified_here:r(1423,3,"File_is_library_specified_here_1423","File is library specified here."),Default_library:r(1424,3,"Default_library_1424","Default library"),Default_library_for_target_0:r(1425,3,"Default_library_for_target_0_1425","Default library for target '{0}'"),File_is_default_library_for_target_specified_here:r(1426,3,"File_is_default_library_for_target_specified_here_1426","File is default library for target specified here."),Root_file_specified_for_compilation:r(1427,3,"Root_file_specified_for_compilation_1427","Root file specified for compilation"),File_is_output_of_project_reference_source_0:r(1428,3,"File_is_output_of_project_reference_source_0_1428","File is output of project reference source '{0}'"),File_redirects_to_file_0:r(1429,3,"File_redirects_to_file_0_1429","File redirects to file '{0}'"),The_file_is_in_the_program_because_Colon:r(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:r(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_nodenext_or_preserve_and_the_target_option_is_set_to_es2017_or_higher:r(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', 'nodenext', or 'preserve', and the 'target' option is set to 'es2017' or higher."),Neither_decorators_nor_modifiers_may_be_applied_to_this_parameters:r(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:r(1434,1,"Unexpected_keyword_or_identifier_1434","Unexpected keyword or identifier."),Unknown_keyword_or_identifier_Did_you_mean_0:r(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:r(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:r(1437,1,"Namespace_must_be_given_a_name_1437","Namespace must be given a name."),Interface_must_be_given_a_name:r(1438,1,"Interface_must_be_given_a_name_1438","Interface must be given a name."),Type_alias_must_be_given_a_name:r(1439,1,"Type_alias_must_be_given_a_name_1439","Type alias must be given a name."),Variable_declaration_not_allowed_at_this_location:r(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:r(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:r(1442,1,"Expected_for_property_initializer_1442","Expected '=' for property initializer."),Module_declaration_names_may_only_use_or_quoted_strings:r(1443,1,"Module_declaration_names_may_only_use_or_quoted_strings_1443",`Module declaration names may only use ' or " quoted strings.`),_0_resolves_to_a_type_only_declaration_and_must_be_re_exported_using_a_type_only_re_export_when_1_is_enabled:r(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:r(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_set_of_attributes_as_arguments:r(1450,3,"Dynamic_imports_can_only_accept_a_module_specifier_and_an_optional_set_of_attributes_as_arguments_1450","Dynamic imports can only accept a module specifier and an optional set of attributes 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:r(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_should_be_either_require_or_import:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(1461,3,"File_is_CommonJS_module_because_package_json_was_not_found_1461","File is CommonJS module because 'package.json' was not found"),resolution_mode_is_the_only_valid_key_for_type_import_attributes:r(1463,1,"resolution_mode_is_the_only_valid_key_for_type_import_attributes_1463","'resolution-mode' is the only valid key for type import attributes."),Type_import_attributes_should_have_exactly_one_key_resolution_mode_with_value_import_or_require:r(1464,1,"Type_import_attributes_should_have_exactly_one_key_resolution_mode_with_value_import_or_require_1464","Type import attributes should have exactly one key - 'resolution-mode' - with value 'import' or 'require'."),The_import_meta_meta_property_is_not_allowed_in_files_which_will_build_into_CommonJS_output:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(1486,1,"Decorator_used_before_export_here_1486","Decorator used before 'export' here."),Octal_escape_sequences_are_not_allowed_Use_the_syntax_0:r(1487,1,"Octal_escape_sequences_are_not_allowed_Use_the_syntax_0_1487","Octal escape sequences are not allowed. Use the syntax '{0}'."),Escape_sequence_0_is_not_allowed:r(1488,1,"Escape_sequence_0_is_not_allowed_1488","Escape sequence '{0}' is not allowed."),Decimals_with_leading_zeros_are_not_allowed:r(1489,1,"Decimals_with_leading_zeros_are_not_allowed_1489","Decimals with leading zeros are not allowed."),File_appears_to_be_binary:r(1490,1,"File_appears_to_be_binary_1490","File appears to be binary."),_0_modifier_cannot_appear_on_a_using_declaration:r(1491,1,"_0_modifier_cannot_appear_on_a_using_declaration_1491","'{0}' modifier cannot appear on a 'using' declaration."),_0_declarations_may_not_have_binding_patterns:r(1492,1,"_0_declarations_may_not_have_binding_patterns_1492","'{0}' declarations may not have binding patterns."),The_left_hand_side_of_a_for_in_statement_cannot_be_a_using_declaration:r(1493,1,"The_left_hand_side_of_a_for_in_statement_cannot_be_a_using_declaration_1493","The left-hand side of a 'for...in' statement cannot be a 'using' declaration."),The_left_hand_side_of_a_for_in_statement_cannot_be_an_await_using_declaration:r(1494,1,"The_left_hand_side_of_a_for_in_statement_cannot_be_an_await_using_declaration_1494","The left-hand side of a 'for...in' statement cannot be an 'await using' declaration."),_0_modifier_cannot_appear_on_an_await_using_declaration:r(1495,1,"_0_modifier_cannot_appear_on_an_await_using_declaration_1495","'{0}' modifier cannot appear on an 'await using' declaration."),Identifier_string_literal_or_number_literal_expected:r(1496,1,"Identifier_string_literal_or_number_literal_expected_1496","Identifier, string literal, or number literal expected."),Expression_must_be_enclosed_in_parentheses_to_be_used_as_a_decorator:r(1497,1,"Expression_must_be_enclosed_in_parentheses_to_be_used_as_a_decorator_1497","Expression must be enclosed in parentheses to be used as a decorator."),Invalid_syntax_in_decorator:r(1498,1,"Invalid_syntax_in_decorator_1498","Invalid syntax in decorator."),Unknown_regular_expression_flag:r(1499,1,"Unknown_regular_expression_flag_1499","Unknown regular expression flag."),Duplicate_regular_expression_flag:r(1500,1,"Duplicate_regular_expression_flag_1500","Duplicate regular expression flag."),This_regular_expression_flag_is_only_available_when_targeting_0_or_later:r(1501,1,"This_regular_expression_flag_is_only_available_when_targeting_0_or_later_1501","This regular expression flag is only available when targeting '{0}' or later."),The_Unicode_u_flag_and_the_Unicode_Sets_v_flag_cannot_be_set_simultaneously:r(1502,1,"The_Unicode_u_flag_and_the_Unicode_Sets_v_flag_cannot_be_set_simultaneously_1502","The Unicode (u) flag and the Unicode Sets (v) flag cannot be set simultaneously."),Named_capturing_groups_are_only_available_when_targeting_ES2018_or_later:r(1503,1,"Named_capturing_groups_are_only_available_when_targeting_ES2018_or_later_1503","Named capturing groups are only available when targeting 'ES2018' or later."),Subpattern_flags_must_be_present_when_there_is_a_minus_sign:r(1504,1,"Subpattern_flags_must_be_present_when_there_is_a_minus_sign_1504","Subpattern flags must be present when there is a minus sign."),Incomplete_quantifier_Digit_expected:r(1505,1,"Incomplete_quantifier_Digit_expected_1505","Incomplete quantifier. Digit expected."),Numbers_out_of_order_in_quantifier:r(1506,1,"Numbers_out_of_order_in_quantifier_1506","Numbers out of order in quantifier."),There_is_nothing_available_for_repetition:r(1507,1,"There_is_nothing_available_for_repetition_1507","There is nothing available for repetition."),Unexpected_0_Did_you_mean_to_escape_it_with_backslash:r(1508,1,"Unexpected_0_Did_you_mean_to_escape_it_with_backslash_1508","Unexpected '{0}'. Did you mean to escape it with backslash?"),This_regular_expression_flag_cannot_be_toggled_within_a_subpattern:r(1509,1,"This_regular_expression_flag_cannot_be_toggled_within_a_subpattern_1509","This regular expression flag cannot be toggled within a subpattern."),k_must_be_followed_by_a_capturing_group_name_enclosed_in_angle_brackets:r(1510,1,"k_must_be_followed_by_a_capturing_group_name_enclosed_in_angle_brackets_1510","'\\k' must be followed by a capturing group name enclosed in angle brackets."),q_is_only_available_inside_character_class:r(1511,1,"q_is_only_available_inside_character_class_1511","'\\q' is only available inside character class."),c_must_be_followed_by_an_ASCII_letter:r(1512,1,"c_must_be_followed_by_an_ASCII_letter_1512","'\\c' must be followed by an ASCII letter."),Undetermined_character_escape:r(1513,1,"Undetermined_character_escape_1513","Undetermined character escape."),Expected_a_capturing_group_name:r(1514,1,"Expected_a_capturing_group_name_1514","Expected a capturing group name."),Named_capturing_groups_with_the_same_name_must_be_mutually_exclusive_to_each_other:r(1515,1,"Named_capturing_groups_with_the_same_name_must_be_mutually_exclusive_to_each_other_1515","Named capturing groups with the same name must be mutually exclusive to each other."),A_character_class_range_must_not_be_bounded_by_another_character_class:r(1516,1,"A_character_class_range_must_not_be_bounded_by_another_character_class_1516","A character class range must not be bounded by another character class."),Range_out_of_order_in_character_class:r(1517,1,"Range_out_of_order_in_character_class_1517","Range out of order in character class."),Anything_that_would_possibly_match_more_than_a_single_character_is_invalid_inside_a_negated_character_class:r(1518,1,"Anything_that_would_possibly_match_more_than_a_single_character_is_invalid_inside_a_negated_characte_1518","Anything that would possibly match more than a single character is invalid inside a negated character class."),Operators_must_not_be_mixed_within_a_character_class_Wrap_it_in_a_nested_class_instead:r(1519,1,"Operators_must_not_be_mixed_within_a_character_class_Wrap_it_in_a_nested_class_instead_1519","Operators must not be mixed within a character class. Wrap it in a nested class instead."),Expected_a_class_set_operand:r(1520,1,"Expected_a_class_set_operand_1520","Expected a class set operand."),q_must_be_followed_by_string_alternatives_enclosed_in_braces:r(1521,1,"q_must_be_followed_by_string_alternatives_enclosed_in_braces_1521","'\\q' must be followed by string alternatives enclosed in braces."),A_character_class_must_not_contain_a_reserved_double_punctuator_Did_you_mean_to_escape_it_with_backslash:r(1522,1,"A_character_class_must_not_contain_a_reserved_double_punctuator_Did_you_mean_to_escape_it_with_backs_1522","A character class must not contain a reserved double punctuator. Did you mean to escape it with backslash?"),Expected_a_Unicode_property_name:r(1523,1,"Expected_a_Unicode_property_name_1523","Expected a Unicode property name."),Unknown_Unicode_property_name:r(1524,1,"Unknown_Unicode_property_name_1524","Unknown Unicode property name."),Expected_a_Unicode_property_value:r(1525,1,"Expected_a_Unicode_property_value_1525","Expected a Unicode property value."),Unknown_Unicode_property_value:r(1526,1,"Unknown_Unicode_property_value_1526","Unknown Unicode property value."),Expected_a_Unicode_property_name_or_value:r(1527,1,"Expected_a_Unicode_property_name_or_value_1527","Expected a Unicode property name or value."),Any_Unicode_property_that_would_possibly_match_more_than_a_single_character_is_only_available_when_the_Unicode_Sets_v_flag_is_set:r(1528,1,"Any_Unicode_property_that_would_possibly_match_more_than_a_single_character_is_only_available_when_t_1528","Any Unicode property that would possibly match more than a single character is only available when the Unicode Sets (v) flag is set."),Unknown_Unicode_property_name_or_value:r(1529,1,"Unknown_Unicode_property_name_or_value_1529","Unknown Unicode property name or value."),Unicode_property_value_expressions_are_only_available_when_the_Unicode_u_flag_or_the_Unicode_Sets_v_flag_is_set:r(1530,1,"Unicode_property_value_expressions_are_only_available_when_the_Unicode_u_flag_or_the_Unicode_Sets_v__1530","Unicode property value expressions are only available when the Unicode (u) flag or the Unicode Sets (v) flag is set."),_0_must_be_followed_by_a_Unicode_property_value_expression_enclosed_in_braces:r(1531,1,"_0_must_be_followed_by_a_Unicode_property_value_expression_enclosed_in_braces_1531","'\\{0}' must be followed by a Unicode property value expression enclosed in braces."),There_is_no_capturing_group_named_0_in_this_regular_expression:r(1532,1,"There_is_no_capturing_group_named_0_in_this_regular_expression_1532","There is no capturing group named '{0}' in this regular expression."),This_backreference_refers_to_a_group_that_does_not_exist_There_are_only_0_capturing_groups_in_this_regular_expression:r(1533,1,"This_backreference_refers_to_a_group_that_does_not_exist_There_are_only_0_capturing_groups_in_this_r_1533","This backreference refers to a group that does not exist. There are only {0} capturing groups in this regular expression."),This_backreference_refers_to_a_group_that_does_not_exist_There_are_no_capturing_groups_in_this_regular_expression:r(1534,1,"This_backreference_refers_to_a_group_that_does_not_exist_There_are_no_capturing_groups_in_this_regul_1534","This backreference refers to a group that does not exist. There are no capturing groups in this regular expression."),This_character_cannot_be_escaped_in_a_regular_expression:r(1535,1,"This_character_cannot_be_escaped_in_a_regular_expression_1535","This character cannot be escaped in a regular expression."),Octal_escape_sequences_and_backreferences_are_not_allowed_in_a_character_class_If_this_was_intended_as_an_escape_sequence_use_the_syntax_0_instead:r(1536,1,"Octal_escape_sequences_and_backreferences_are_not_allowed_in_a_character_class_If_this_was_intended__1536","Octal escape sequences and backreferences are not allowed in a character class. If this was intended as an escape sequence, use the syntax '{0}' instead."),Decimal_escape_sequences_and_backreferences_are_not_allowed_in_a_character_class:r(1537,1,"Decimal_escape_sequences_and_backreferences_are_not_allowed_in_a_character_class_1537","Decimal escape sequences and backreferences are not allowed in a character class."),The_types_of_0_are_incompatible_between_these_types:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(2211,3,"Add_extends_constraint_2211","Add `extends` constraint."),Add_extends_constraint_to_all_type_parameters:r(2212,3,"Add_extends_constraint_to_all_type_parameters_2212","Add `extends` constraint to all type parameters"),Duplicate_identifier_0:r(2300,1,"Duplicate_identifier_0_2300","Duplicate identifier '{0}'."),Initializer_of_instance_member_variable_0_cannot_reference_identifier_1_declared_in_the_constructor:r(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:r(2302,1,"Static_members_cannot_reference_class_type_parameters_2302","Static members cannot reference class type parameters."),Circular_definition_of_import_alias_0:r(2303,1,"Circular_definition_of_import_alias_0_2303","Circular definition of import alias '{0}'."),Cannot_find_name_0:r(2304,1,"Cannot_find_name_0_2304","Cannot find name '{0}'."),Module_0_has_no_exported_member_1:r(2305,1,"Module_0_has_no_exported_member_1_2305","Module '{0}' has no exported member '{1}'."),File_0_is_not_a_module:r(2306,1,"File_0_is_not_a_module_2306","File '{0}' is not a module."),Cannot_find_module_0_or_its_corresponding_type_declarations:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(2314,1,"Generic_type_0_requires_1_type_argument_s_2314","Generic type '{0}' requires {1} type argument(s)."),Type_0_is_not_generic:r(2315,1,"Type_0_is_not_generic_2315","Type '{0}' is not generic."),Global_type_0_must_be_a_class_or_interface_type:r(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:r(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:r(2318,1,"Cannot_find_global_type_0_2318","Cannot find global type '{0}'."),Named_property_0_of_types_1_and_2_are_not_identical:r(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:r(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:r(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:r(2322,1,"Type_0_is_not_assignable_to_type_1_2322","Type '{0}' is not assignable to type '{1}'."),Cannot_redeclare_exported_variable_0:r(2323,1,"Cannot_redeclare_exported_variable_0_2323","Cannot redeclare exported variable '{0}'."),Property_0_is_missing_in_type_1:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(2332,1,"this_cannot_be_referenced_in_current_location_2332","'this' cannot be referenced in current location."),this_cannot_be_referenced_in_a_static_property_initializer:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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}'."),Untyped_function_calls_may_not_accept_type_arguments:r(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:r(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:r(2349,1,"This_expression_is_not_callable_2349","This expression is not callable."),Only_a_void_function_can_be_called_with_the_new_keyword:r(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:r(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:r(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:r(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:r(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_undefined_void_nor_any_must_return_a_value:r(2355,1,"A_function_whose_declared_type_is_neither_undefined_void_nor_any_must_return_a_value_2355","A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value."),An_arithmetic_operand_must_be_of_type_any_number_bigint_or_an_enum_type:r(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:r(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:r(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_either_of_type_any_a_class_function_or_other_type_assignable_to_the_Function_interface_type_or_an_object_type_with_a_Symbol_hasInstance_method:r(2359,1,"The_right_hand_side_of_an_instanceof_expression_must_be_either_of_type_any_a_class_function_or_other_2359","The right-hand side of an 'instanceof' expression must be either of type 'any', a class, function, or other type assignable to the 'Function' interface type, or an object type with a 'Symbol.hasInstance' method."),The_left_hand_side_of_an_arithmetic_operation_must_be_of_type_any_number_bigint_or_an_enum_type:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(2372,1,"Parameter_0_cannot_reference_itself_2372","Parameter '{0}' cannot reference itself."),Parameter_0_cannot_reference_identifier_1_declared_after_it:r(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:r(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:r(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:r(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:r(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:r(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:r(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."),Overload_signatures_must_all_be_exported_or_non_exported:r(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:r(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:r(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:r(2386,1,"Overload_signatures_must_all_be_optional_or_required_2386","Overload signatures must all be optional or required."),Function_overload_must_be_static:r(2387,1,"Function_overload_must_be_static_2387","Function overload must be static."),Function_overload_must_not_be_static:r(2388,1,"Function_overload_must_not_be_static_2388","Function overload must not be static."),Function_implementation_name_must_be_0:r(2389,1,"Function_implementation_name_must_be_0_2389","Function implementation name must be '{0}'."),Constructor_implementation_is_missing:r(2390,1,"Constructor_implementation_is_missing_2390","Constructor implementation is missing."),Function_implementation_is_missing_or_not_immediately_following_the_declaration:r(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:r(2392,1,"Multiple_constructor_implementations_are_not_allowed_2392","Multiple constructor implementations are not allowed."),Duplicate_function_implementation:r(2393,1,"Duplicate_function_implementation_2393","Duplicate function implementation."),This_overload_signature_is_not_compatible_with_its_implementation_signature:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(2414,1,"Class_name_cannot_be_0_2414","Class name cannot be '{0}'."),Class_0_incorrectly_extends_base_class_1:r(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:r(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:r(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:r(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:r(2419,1,"Types_of_construct_signatures_are_incompatible_2419","Types of construct signatures are incompatible."),Class_0_incorrectly_implements_interface_1:r(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:r(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:r(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:r(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:r(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:r(2427,1,"Interface_name_cannot_be_0_2427","Interface name cannot be '{0}'."),All_declarations_of_0_must_have_identical_type_parameters:r(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:r(2430,1,"Interface_0_incorrectly_extends_interface_1_2430","Interface '{0}' incorrectly extends interface '{1}'."),Enum_name_cannot_be_0:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(2449,1,"Class_0_used_before_its_declaration_2449","Class '{0}' used before its declaration."),Enum_0_used_before_its_declaration:r(2450,1,"Enum_0_used_before_its_declaration_2450","Enum '{0}' used before its declaration."),Cannot_redeclare_block_scoped_variable_0:r(2451,1,"Cannot_redeclare_block_scoped_variable_0_2451","Cannot redeclare block-scoped variable '{0}'."),An_enum_member_cannot_have_a_numeric_name:r(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:r(2454,1,"Variable_0_is_used_before_being_assigned_2454","Variable '{0}' is used before being assigned."),Type_alias_0_circularly_references_itself:r(2456,1,"Type_alias_0_circularly_references_itself_2456","Type alias '{0}' circularly references itself."),Type_alias_name_cannot_be_0:r(2457,1,"Type_alias_name_cannot_be_0_2457","Type alias name cannot be '{0}'."),An_AMD_module_cannot_have_multiple_name_assignments:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(2468,1,"Cannot_find_global_value_0_2468","Cannot find global value '{0}'."),The_0_operator_cannot_be_applied_to_type_symbol:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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_ES5_Consider_using_a_standard_function_expression:r(2496,1,"The_arguments_object_cannot_be_referenced_in_an_arrow_function_in_ES5_Consider_using_a_standard_func_2496","The 'arguments' object cannot be referenced in an arrow function in 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:r(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:r(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:r(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:r(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:r(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:r(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:r(2503,1,"Cannot_find_namespace_0_2503","Cannot find namespace '{0}'."),Type_0_must_have_a_Symbol_asyncIterator_method_that_returns_an_async_iterator:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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_ES5_Consider_using_a_standard_function_or_method:r(2522,1,"The_arguments_object_cannot_be_referenced_in_an_async_function_or_method_in_ES5_Consider_using_a_sta_2522","The 'arguments' object cannot be referenced in an async function or method in ES5. Consider using a standard function or method."),yield_expressions_cannot_be_used_in_a_parameter_initializer:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(2530,1,"Property_0_is_incompatible_with_index_signature_2530","Property '{0}' is incompatible with index signature."),Object_is_possibly_null:r(2531,1,"Object_is_possibly_null_2531","Object is possibly 'null'."),Object_is_possibly_undefined:r(2532,1,"Object_is_possibly_undefined_2532","Object is possibly 'undefined'."),Object_is_possibly_null_or_undefined:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(2554,1,"Expected_0_arguments_but_got_1_2554","Expected {0} arguments, but got {1}."),Expected_at_least_0_arguments_but_got_1:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(2571,1,"Object_is_of_type_unknown_2571","Object is of type 'unknown'."),A_rest_element_type_must_be_an_array_type:r(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:r(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:r(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:r(2577,1,"Return_type_annotation_circularly_references_itself_2577","Return type annotation circularly references itself."),Unused_ts_expect_error_directive:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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."),React_components_cannot_include_JSX_namespace_names:r(2639,1,"React_components_cannot_include_JSX_namespace_names_2639","React components cannot include JSX namespace names"),Cannot_augment_module_0_with_value_exports_because_it_resolves_to_a_non_module_entity:r(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."),Non_abstract_class_expression_is_missing_implementations_for_the_following_members_of_0_Colon_1_and_2_more:r(2650,1,"Non_abstract_class_expression_is_missing_implementations_for_the_following_members_of_0_Colon_1_and__2650","Non-abstract class expression is missing implementations for the following members of '{0}': {1} and {2} more."),A_member_initializer_in_a_enum_declaration_cannot_reference_members_declared_after_it_including_members_defined_in_other_enums:r(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:r(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:r(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}'."),Non_abstract_class_0_is_missing_implementations_for_the_following_members_of_1_Colon_2:r(2654,1,"Non_abstract_class_0_is_missing_implementations_for_the_following_members_of_1_Colon_2_2654","Non-abstract class '{0}' is missing implementations for the following members of '{1}': {2}."),Non_abstract_class_0_is_missing_implementations_for_the_following_members_of_1_Colon_2_and_3_more:r(2655,1,"Non_abstract_class_0_is_missing_implementations_for_the_following_members_of_1_Colon_2_and_3_more_2655","Non-abstract class '{0}' is missing implementations for the following members of '{1}': {2} and {3} more."),Non_abstract_class_expression_is_missing_implementations_for_the_following_members_of_0_Colon_1:r(2656,1,"Non_abstract_class_expression_is_missing_implementations_for_the_following_members_of_0_Colon_1_2656","Non-abstract class expression is missing implementations for the following members of '{0}': {1}."),JSX_expressions_must_have_one_parent_element:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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_requires_the_Promise_constructor_Make_sure_you_have_a_declaration_for_the_Promise_constructor_or_include_ES2015_in_your_lib_option:r(2705,1,"An_async_function_or_method_in_ES5_requires_the_Promise_constructor_Make_sure_you_have_a_declaration_2705","An async function or method in ES5 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:r(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:r(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:r(2708,1,"Cannot_use_namespace_0_as_a_value_2708","Cannot use namespace '{0}' as a value."),Cannot_use_namespace_0_as_a_type:r(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:r(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:r(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_requires_the_Promise_constructor_Make_sure_you_have_a_declaration_for_the_Promise_constructor_or_include_ES2015_in_your_lib_option:r(2712,1,"A_dynamic_import_call_in_ES5_requires_the_Promise_constructor_Make_sure_you_have_a_declaration_for_t_2712","A dynamic import call in ES5 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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(2728,3,"_0_is_declared_here_2728","'{0}' is declared here."),Property_0_is_used_before_its_initialization:r(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:r(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:r(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:r(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:r(2733,1,"Property_0_was_also_declared_here_2733","Property '{0}' was also declared here."),Are_you_missing_a_semicolon:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(2750,1,"The_implementation_signature_is_declared_here_2750","The implementation signature is declared here."),Circularity_originates_in_type_at_this_location:r(2751,1,"Circularity_originates_in_type_at_this_location_2751","Circularity originates in type at this location."),The_first_export_default_is_here:r(2752,1,"The_first_export_default_is_here_2752","The first export default is here."),Another_export_default_is_here:r(2753,1,"Another_export_default_is_here_2753","Another export default is here."),super_may_not_use_type_arguments:r(2754,1,"super_may_not_use_type_arguments_2754","'super' may not use type arguments."),No_constituent_of_type_0_is_callable:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(2769,1,"No_overload_matches_this_call_2769","No overload matches this call."),The_last_overload_gave_the_following_error:r(2770,1,"The_last_overload_gave_the_following_error_2770","The last overload gave the following error."),The_last_overload_is_declared_here:r(2771,1,"The_last_overload_is_declared_here_2771","The last overload is declared here."),Overload_0_of_1_2_gave_the_following_error:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(2785,1,"This_spread_always_overwrites_this_property_2785","This spread always overwrites this property."),_0_cannot_be_used_as_a_JSX_component:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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_nodenext_or_preserve:r(2821,1,"Import_assertions_are_only_supported_when_the_module_option_is_set_to_esnext_nodenext_or_preserve_2821","Import assertions are only supported when the '--module' option is set to 'esnext', 'nodenext', or 'preserve'."),Import_assertions_cannot_be_used_with_type_only_imports_or_exports:r(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."),Import_attributes_are_only_supported_when_the_module_option_is_set_to_esnext_nodenext_or_preserve:r(2823,1,"Import_attributes_are_only_supported_when_the_module_option_is_set_to_esnext_nodenext_or_preserve_2823","Import attributes are only supported when the '--module' option is set to 'esnext', 'nodenext', or 'preserve'."),Cannot_find_namespace_0_Did_you_mean_1:r(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:r(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:r(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_compile_to_CommonJS_require_calls:r(2836,1,"Import_assertions_are_not_allowed_on_statements_that_compile_to_CommonJS_require_calls_2836","Import assertions are not allowed on statements that compile to CommonJS 'require' calls."),Import_assertion_values_must_be_string_literal_expressions:r(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:r(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:r(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_It_can_only_extend_other_named_object_types:r(2840,1,"An_interface_cannot_extend_a_primitive_type_like_0_It_can_only_extend_other_named_object_types_2840","An interface cannot extend a primitive type like '{0}'. It can only extend other named object types."),_0_is_an_unused_renaming_of_1_Did_you_intend_to_use_it_as_a_type_annotation:r(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:r(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:r(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:r(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:r(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?"),The_right_hand_side_of_an_instanceof_expression_must_not_be_an_instantiation_expression:r(2848,1,"The_right_hand_side_of_an_instanceof_expression_must_not_be_an_instantiation_expression_2848","The right-hand side of an 'instanceof' expression must not be an instantiation expression."),Target_signature_provides_too_few_arguments_Expected_0_or_more_but_got_1:r(2849,1,"Target_signature_provides_too_few_arguments_Expected_0_or_more_but_got_1_2849","Target signature provides too few arguments. Expected {0} or more, but got {1}."),The_initializer_of_a_using_declaration_must_be_either_an_object_with_a_Symbol_dispose_method_or_be_null_or_undefined:r(2850,1,"The_initializer_of_a_using_declaration_must_be_either_an_object_with_a_Symbol_dispose_method_or_be_n_2850","The initializer of a 'using' declaration must be either an object with a '[Symbol.dispose]()' method, or be 'null' or 'undefined'."),The_initializer_of_an_await_using_declaration_must_be_either_an_object_with_a_Symbol_asyncDispose_or_Symbol_dispose_method_or_be_null_or_undefined:r(2851,1,"The_initializer_of_an_await_using_declaration_must_be_either_an_object_with_a_Symbol_asyncDispose_or_2851","The initializer of an 'await using' declaration must be either an object with a '[Symbol.asyncDispose]()' or '[Symbol.dispose]()' method, or be 'null' or 'undefined'."),await_using_statements_are_only_allowed_within_async_functions_and_at_the_top_levels_of_modules:r(2852,1,"await_using_statements_are_only_allowed_within_async_functions_and_at_the_top_levels_of_modules_2852","'await using' statements are only allowed within async functions and at the top levels of modules."),await_using_statements_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:r(2853,1,"await_using_statements_are_only_allowed_at_the_top_level_of_a_file_when_that_file_is_a_module_but_th_2853","'await using' statements 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_await_using_statements_are_only_allowed_when_the_module_option_is_set_to_es2022_esnext_system_node16_nodenext_or_preserve_and_the_target_option_is_set_to_es2017_or_higher:r(2854,1,"Top_level_await_using_statements_are_only_allowed_when_the_module_option_is_set_to_es2022_esnext_sys_2854","Top-level 'await using' statements are only allowed when the 'module' option is set to 'es2022', 'esnext', 'system', 'node16', 'nodenext', or 'preserve', and the 'target' option is set to 'es2017' or higher."),Class_field_0_defined_by_the_parent_class_is_not_accessible_in_the_child_class_via_super:r(2855,1,"Class_field_0_defined_by_the_parent_class_is_not_accessible_in_the_child_class_via_super_2855","Class field '{0}' defined by the parent class is not accessible in the child class via super."),Import_attributes_are_not_allowed_on_statements_that_compile_to_CommonJS_require_calls:r(2856,1,"Import_attributes_are_not_allowed_on_statements_that_compile_to_CommonJS_require_calls_2856","Import attributes are not allowed on statements that compile to CommonJS 'require' calls."),Import_attributes_cannot_be_used_with_type_only_imports_or_exports:r(2857,1,"Import_attributes_cannot_be_used_with_type_only_imports_or_exports_2857","Import attributes cannot be used with type-only imports or exports."),Import_attribute_values_must_be_string_literal_expressions:r(2858,1,"Import_attribute_values_must_be_string_literal_expressions_2858","Import attribute values must be string literal expressions."),Excessive_complexity_comparing_types_0_and_1:r(2859,1,"Excessive_complexity_comparing_types_0_and_1_2859","Excessive complexity comparing types '{0}' and '{1}'."),The_left_hand_side_of_an_instanceof_expression_must_be_assignable_to_the_first_argument_of_the_right_hand_side_s_Symbol_hasInstance_method:r(2860,1,"The_left_hand_side_of_an_instanceof_expression_must_be_assignable_to_the_first_argument_of_the_right_2860","The left-hand side of an 'instanceof' expression must be assignable to the first argument of the right-hand side's '[Symbol.hasInstance]' method."),An_object_s_Symbol_hasInstance_method_must_return_a_boolean_value_for_it_to_be_used_on_the_right_hand_side_of_an_instanceof_expression:r(2861,1,"An_object_s_Symbol_hasInstance_method_must_return_a_boolean_value_for_it_to_be_used_on_the_right_han_2861","An object's '[Symbol.hasInstance]' method must return a boolean value for it to be used on the right-hand side of an 'instanceof' expression."),Type_0_is_generic_and_can_only_be_indexed_for_reading:r(2862,1,"Type_0_is_generic_and_can_only_be_indexed_for_reading_2862","Type '{0}' is generic and can only be indexed for reading."),A_class_cannot_extend_a_primitive_type_like_0_Classes_can_only_extend_constructable_values:r(2863,1,"A_class_cannot_extend_a_primitive_type_like_0_Classes_can_only_extend_constructable_values_2863","A class cannot extend a primitive type like '{0}'. Classes can only extend constructable values."),A_class_cannot_implement_a_primitive_type_like_0_It_can_only_implement_other_named_object_types:r(2864,1,"A_class_cannot_implement_a_primitive_type_like_0_It_can_only_implement_other_named_object_types_2864","A class cannot implement a primitive type like '{0}'. It can only implement other named object types."),Import_0_conflicts_with_local_value_so_must_be_declared_with_a_type_only_import_when_isolatedModules_is_enabled:r(2865,1,"Import_0_conflicts_with_local_value_so_must_be_declared_with_a_type_only_import_when_isolatedModules_2865","Import '{0}' conflicts with local value, so must be declared with a type-only import when 'isolatedModules' is enabled."),Import_0_conflicts_with_global_value_used_in_this_file_so_must_be_declared_with_a_type_only_import_when_isolatedModules_is_enabled:r(2866,1,"Import_0_conflicts_with_global_value_used_in_this_file_so_must_be_declared_with_a_type_only_import_w_2866","Import '{0}' conflicts with global value used in this file, so must be declared with a type-only import when 'isolatedModules' is enabled."),Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_Bun_Try_npm_i_save_dev_types_Slashbun:r(2867,1,"Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_Bun_Try_npm_i_save_dev_types_Slashbun_2867","Cannot find name '{0}'. Do you need to install type definitions for Bun? Try `npm i --save-dev @types/bun`."),Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_Bun_Try_npm_i_save_dev_types_Slashbun_and_then_add_bun_to_the_types_field_in_your_tsconfig:r(2868,1,"Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_Bun_Try_npm_i_save_dev_types_Slashbun_2868","Cannot find name '{0}'. Do you need to install type definitions for Bun? Try `npm i --save-dev @types/bun` and then add 'bun' to the types field in your tsconfig."),Import_declaration_0_is_using_private_name_1:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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}'."),Parameter_0_of_index_signature_from_exported_interface_has_or_is_using_name_1_from_private_module_2:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(4109,1,"Type_arguments_for_0_circularly_reference_themselves_4109","Type arguments for '{0}' circularly reference themselves."),Tuple_type_arguments_circularly_reference_themselves:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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'."),Each_declaration_of_0_1_differs_in_its_value_where_2_was_expected_but_3_was_given:r(4125,1,"Each_declaration_of_0_1_differs_in_its_value_where_2_was_expected_but_3_was_given_4125","Each declaration of '{0}.{1}' differs in its value, where '{2}' was expected but '{3}' was given."),One_value_of_0_1_is_the_string_2_and_the_other_is_assumed_to_be_an_unknown_numeric_value:r(4126,1,"One_value_of_0_1_is_the_string_2_and_the_other_is_assumed_to_be_an_unknown_numeric_value_4126","One value of '{0}.{1}' is the string '{2}', and the other is assumed to be an unknown numeric value."),The_current_host_does_not_support_the_0_option:r(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:r(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:r(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:r(5012,1,"Cannot_read_file_0_Colon_1_5012","Cannot read file '{0}': {1}."),Failed_to_parse_file_0_Colon_1:r(5014,1,"Failed_to_parse_file_0_Colon_1_5014","Failed to parse file '{0}': {1}."),Unknown_compiler_option_0:r(5023,1,"Unknown_compiler_option_0_5023","Unknown compiler option '{0}'."),Compiler_option_0_requires_a_value_of_type_1:r(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:r(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:r(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:r(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:r(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_can_only_be_used_when_either_option_inlineSourceMap_or_option_sourceMap_is_provided:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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_cannot_be_specified_when_module_is_set_to_none_system_or_umd:r(5071,1,"Option_resolveJsonModule_cannot_be_specified_when_module_is_set_to_none_system_or_umd_5071","Option '--resolveJsonModule' cannot be specified when 'module' is set to 'none', 'system', or 'umd'."),Unknown_build_option_0:r(5072,1,"Unknown_build_option_0_5072","Unknown build option '{0}'."),Build_option_0_requires_a_value_of_type_1:r(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:r(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:r(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:r(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:r(5077,1,"Unknown_build_option_0_Did_you_mean_1_5077","Unknown build option '{0}'. Did you mean '{1}'?"),Unknown_watch_option_0:r(5078,1,"Unknown_watch_option_0_5078","Unknown watch option '{0}'."),Unknown_watch_option_0_Did_you_mean_1:r(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:r(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:r(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:r(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:r(5083,1,"Cannot_read_file_0_5083","Cannot read file '{0}'."),A_tuple_member_cannot_be_both_optional_and_rest:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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_preserve_or_to_es2015_or_later:r(5095,1,"Option_0_can_only_be_used_when_module_is_set_to_preserve_or_to_es2015_or_later_5095","Option '{0}' can only be used when 'module' is set to 'preserve' or to 'es2015' or later."),Option_allowImportingTsExtensions_can_only_be_used_when_either_noEmit_or_emitDeclarationOnly_is_set:r(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:r(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:r(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:r(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:r(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:r(5103,1,"Invalid_value_for_ignoreDeprecations_5103","Invalid value for '--ignoreDeprecations'."),Option_0_is_redundant_and_cannot_be_specified_with_option_1:r(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:r(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:r(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:r(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:r(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."),Option_moduleResolution_must_be_set_to_0_or_left_unspecified_when_option_module_is_set_to_1:r(5109,1,"Option_moduleResolution_must_be_set_to_0_or_left_unspecified_when_option_module_is_set_to_1_5109","Option 'moduleResolution' must be set to '{0}' (or left unspecified) when option 'module' is set to '{1}'."),Option_module_must_be_set_to_0_when_option_moduleResolution_is_set_to_1:r(5110,1,"Option_module_must_be_set_to_0_when_option_moduleResolution_is_set_to_1_5110","Option 'module' must be set to '{0}' when option 'moduleResolution' is set to '{1}'."),Generates_a_sourcemap_for_each_corresponding_d_ts_file:r(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:r(6001,3,"Concatenate_and_emit_output_to_single_file_6001","Concatenate and emit output to single file."),Generates_corresponding_d_ts_file:r(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:r(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:r(6005,3,"Watch_input_files_6005","Watch input files."),Redirect_output_structure_to_the_directory:r(6006,3,"Redirect_output_structure_to_the_directory_6006","Redirect output structure to the directory."),Do_not_erase_const_enum_declarations_in_generated_code:r(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:r(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:r(6009,3,"Do_not_emit_comments_to_output_6009","Do not emit comments to output."),Do_not_emit_outputs:r(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:r(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:r(6012,3,"Skip_type_checking_of_declaration_files_6012","Skip type checking of declaration files."),Do_not_resolve_the_real_path_of_symlinks:r(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:r(6014,3,"Only_emit_d_ts_declaration_files_6014","Only emit '.d.ts' declaration files."),Specify_ECMAScript_target_version:r(6015,3,"Specify_ECMAScript_target_version_6015","Specify ECMAScript target version."),Specify_module_code_generation:r(6016,3,"Specify_module_code_generation_6016","Specify module code generation."),Print_this_message:r(6017,3,"Print_this_message_6017","Print this message."),Print_the_compiler_s_version:r(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:r(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:r(6023,3,"Syntax_Colon_0_6023","Syntax: {0}"),options:r(6024,3,"options_6024","options"),file:r(6025,3,"file_6025","file"),Examples_Colon_0:r(6026,3,"Examples_Colon_0_6026","Examples: {0}"),Options_Colon:r(6027,3,"Options_Colon_6027","Options:"),Version_0:r(6029,3,"Version_0_6029","Version {0}"),Insert_command_line_options_and_files_from_a_file:r(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:r(6031,3,"Starting_compilation_in_watch_mode_6031","Starting compilation in watch mode..."),File_change_detected_Starting_incremental_compilation:r(6032,3,"File_change_detected_Starting_incremental_compilation_6032","File change detected. Starting incremental compilation..."),KIND:r(6034,3,"KIND_6034","KIND"),FILE:r(6035,3,"FILE_6035","FILE"),VERSION:r(6036,3,"VERSION_6036","VERSION"),LOCATION:r(6037,3,"LOCATION_6037","LOCATION"),DIRECTORY:r(6038,3,"DIRECTORY_6038","DIRECTORY"),STRATEGY:r(6039,3,"STRATEGY_6039","STRATEGY"),FILE_OR_DIRECTORY:r(6040,3,"FILE_OR_DIRECTORY_6040","FILE OR DIRECTORY"),Errors_Files:r(6041,3,"Errors_Files_6041","Errors Files"),Generates_corresponding_map_file:r(6043,3,"Generates_corresponding_map_file_6043","Generates corresponding '.map' file."),Compiler_option_0_expects_an_argument:r(6044,1,"Compiler_option_0_expects_an_argument_6044","Compiler option '{0}' expects an argument."),Unterminated_quoted_string_in_response_file_0:r(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:r(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:r(6048,1,"Locale_must_be_of_the_form_language_or_language_territory_For_example_0_or_1_6048","Locale must be of the form or -. For example '{0}' or '{1}'."),Unable_to_open_file_0:r(6050,1,"Unable_to_open_file_0_6050","Unable to open file '{0}'."),Corrupted_locale_file_0:r(6051,1,"Corrupted_locale_file_0_6051","Corrupted locale file {0}."),Raise_error_on_expressions_and_declarations_with_an_implied_any_type:r(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:r(6053,1,"File_0_not_found_6053","File '{0}' not found."),File_0_has_an_unsupported_extension_The_only_supported_extensions_are_1:r(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:r(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:r(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:r(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:r(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:r(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:r(6061,3,"NEWLINE_6061","NEWLINE"),Option_0_can_only_be_specified_in_tsconfig_json_file_or_set_to_null_on_command_line:r(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:r(6065,3,"Enables_experimental_support_for_ES7_decorators_6065","Enables experimental support for ES7 decorators."),Enables_experimental_support_for_emitting_type_metadata_for_decorators:r(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:r(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:r(6071,3,"Successfully_created_a_tsconfig_json_file_6071","Successfully created a tsconfig.json file."),Suppress_excess_property_checks_for_object_literals:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(6080,3,"Specify_JSX_code_generation_6080","Specify JSX code generation."),Only_amd_and_system_modules_are_supported_alongside_0:r(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:r(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:r(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:r(6085,3,"Enable_tracing_of_the_name_resolution_process_6085","Enable tracing of the name resolution process."),Resolving_module_0_from_1:r(6086,3,"Resolving_module_0_from_1_6086","======== Resolving module '{0}' from '{1}'. ========"),Explicitly_specified_module_resolution_kind_Colon_0:r(6087,3,"Explicitly_specified_module_resolution_kind_Colon_0_6087","Explicitly specified module resolution kind: '{0}'."),Module_resolution_kind_is_not_specified_using_0:r(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:r(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:r(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:r(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:r(6092,3,"Module_name_0_matched_pattern_1_6092","Module name '{0}', matched pattern '{1}'."),Trying_substitution_0_candidate_module_location_Colon_1:r(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:r(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:r(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:r(6096,3,"File_0_does_not_exist_6096","File '{0}' does not exist."),File_0_exists_use_it_as_a_name_resolution_result:r(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:r(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:r(6099,3,"Found_package_json_at_0_6099","Found 'package.json' at '{0}'."),package_json_does_not_have_a_0_field:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(6110,3,"Trying_other_entries_in_rootDirs_6110","Trying other entries in 'rootDirs'."),Module_resolution_using_rootDirs_has_failed:r(6111,3,"Module_resolution_using_rootDirs_has_failed_6111","Module resolution using 'rootDirs' has failed."),Do_not_emit_use_strict_directives_in_module_output:r(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:r(6113,3,"Enable_strict_null_checks_6113","Enable strict null checks."),Unknown_option_excludes_Did_you_mean_exclude:r(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:r(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:r(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:r(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:r(6120,3,"Type_reference_directive_0_was_not_resolved_6120","======== Type reference directive '{0}' was not resolved. ========"),Resolving_with_primary_search_path_0:r(6121,3,"Resolving_with_primary_search_path_0_6121","Resolving with primary search path '{0}'."),Root_directory_cannot_be_determined_skipping_primary_search_paths:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(6134,3,"Report_errors_on_unused_locals_6134","Report errors on unused locals."),Report_errors_on_unused_parameters:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(6149,3,"Show_diagnostic_information_6149","Show diagnostic information."),Show_verbose_diagnostic_information:r(6150,3,"Show_verbose_diagnostic_information_6150","Show verbose diagnostic information."),Emit_a_single_file_with_source_maps_instead_of_having_a_separate_file:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(6162,3,"Disable_size_limitations_on_JavaScript_projects_6162","Disable size limitations on JavaScript projects."),The_character_set_of_the_input_files:r(6163,3,"The_character_set_of_the_input_files_6163","The character set of the input files."),Skipping_module_0_that_looks_like_an_absolute_URI_target_file_types_Colon_1:r(6164,3,"Skipping_module_0_that_looks_like_an_absolute_URI_target_file_types_Colon_1_6164","Skipping module '{0}' that looks like an absolute URI, target file types: {1}."),Do_not_truncate_error_messages:r(6165,3,"Do_not_truncate_error_messages_6165","Do not truncate error messages."),Output_directory_for_generated_declaration_files:r(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:r(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:r(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:r(6169,3,"Show_all_compiler_options_6169","Show all compiler options."),Deprecated_Use_outFile_instead_Concatenate_and_emit_output_to_single_file:r(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:r(6171,3,"Command_line_Options_6171","Command-line Options"),Provide_full_support_for_iterables_in_for_of_spread_and_destructuring_when_targeting_ES5:r(6179,3,"Provide_full_support_for_iterables_in_for_of_spread_and_destructuring_when_targeting_ES5_6179","Provide full support for iterables in 'for-of', spread, and destructuring when targeting 'ES5'."),Enable_all_strict_type_checking_options:r(6180,3,"Enable_all_strict_type_checking_options_6180","Enable all strict type-checking options."),Scoped_package_detected_looking_in_0:r(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:r(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:r(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:r(6186,3,"Enable_strict_checking_of_function_types_6186","Enable strict checking of function types."),Enable_strict_checking_of_property_initialization_in_classes:r(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:r(6188,1,"Numeric_separators_are_not_allowed_here_6188","Numeric separators are not allowed here."),Multiple_consecutive_numeric_separators_are_not_permitted:r(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:r(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:r(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:r(6193,3,"Found_1_error_Watching_for_file_changes_6193","Found 1 error. Watching for file changes."),Found_0_errors_Watching_for_file_changes:r(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:r(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:r(6196,1,"_0_is_declared_but_never_used_6196","'{0}' is declared but never used.",!0),Include_modules_imported_with_json_extension:r(6197,3,"Include_modules_imported_with_json_extension_6197","Include modules imported with '.json' extension"),All_destructured_elements_are_unused:r(6198,1,"All_destructured_elements_are_unused_6198","All destructured elements are unused.",!0),All_variables_are_unused:r(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:r(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:r(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:r(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:r(6203,3,"_0_was_also_declared_here_6203","'{0}' was also declared here."),and_here:r(6204,3,"and_here_6204","and here."),All_type_parameters_are_unused:r(6205,1,"All_type_parameters_are_unused_6205","All type parameters are unused."),package_json_has_a_typesVersions_field_with_version_specific_path_mappings:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(6215,3,"Using_compiler_options_of_project_reference_redirect_0_6215","Using compiler options of project reference redirect '{0}'."),Found_1_error:r(6216,3,"Found_1_error_6216","Found 1 error."),Found_0_errors:r(6217,3,"Found_0_errors_6217","Found {0} errors."),Module_name_0_was_successfully_resolved_to_1_with_Package_ID_2:r(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:r(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:r(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:r(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:r(6222,3,"Emit_class_fields_with_Define_instead_of_Set_6222","Emit class fields with Define instead of Set."),Generates_a_CPU_profile:r(6223,3,"Generates_a_CPU_profile_6223","Generates a CPU profile."),Disable_solution_searching_for_this_project:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(6235,3,"Disable_loading_referenced_projects_6235","Disable loading referenced projects."),Arguments_for_the_rest_parameter_0_were_not_provided:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(6243,3,"Interpret_optional_property_types_as_written_rather_than_adding_undefined_6243","Interpret optional property types as written, rather than adding 'undefined'."),Modules:r(6244,3,"Modules_6244","Modules"),File_Management:r(6245,3,"File_Management_6245","File Management"),Emit:r(6246,3,"Emit_6246","Emit"),JavaScript_Support:r(6247,3,"JavaScript_Support_6247","JavaScript Support"),Type_Checking:r(6248,3,"Type_Checking_6248","Type Checking"),Editor_Support:r(6249,3,"Editor_Support_6249","Editor Support"),Watch_and_Build_Modes:r(6250,3,"Watch_and_Build_Modes_6250","Watch and Build Modes"),Compiler_Diagnostics:r(6251,3,"Compiler_Diagnostics_6251","Compiler Diagnostics"),Interop_Constraints:r(6252,3,"Interop_Constraints_6252","Interop Constraints"),Backwards_Compatibility:r(6253,3,"Backwards_Compatibility_6253","Backwards Compatibility"),Language_and_Environment:r(6254,3,"Language_and_Environment_6254","Language and Environment"),Projects:r(6255,3,"Projects_6255","Projects"),Output_Formatting:r(6256,3,"Output_Formatting_6256","Output Formatting"),Completeness:r(6257,3,"Completeness_6257","Completeness"),_0_should_be_set_inside_the_compilerOptions_object_of_the_config_json_file:r(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_0:r(6259,3,"Found_1_error_in_0_6259","Found 1 error in {0}"),Found_0_errors_in_the_same_file_starting_at_Colon_1:r(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:r(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:r(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:r(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:r(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."),Resolving_type_reference_directive_for_program_that_specifies_custom_typeRoots_skipping_lookup_in_node_modules_folder:r(6265,3,"Resolving_type_reference_directive_for_program_that_specifies_custom_typeRoots_skipping_lookup_in_no_6265","Resolving type reference directive for program that specifies custom typeRoots, skipping lookup in 'node_modules' folder."),Option_0_can_only_be_specified_on_command_line:r(6266,1,"Option_0_can_only_be_specified_on_command_line_6266","Option '{0}' can only be specified on command line."),Directory_0_has_no_containing_package_json_scope_Imports_will_not_resolve:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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.`),Resolution_of_non_relative_name_failed_trying_with_moduleResolution_bundler_to_see_if_project_may_need_configuration_update:r(6279,3,"Resolution_of_non_relative_name_failed_trying_with_moduleResolution_bundler_to_see_if_project_may_ne_6279","Resolution of non-relative name failed; trying with '--moduleResolution bundler' to see if project may need configuration update."),There_are_types_at_0_but_this_result_could_not_be_resolved_under_your_current_moduleResolution_setting_Consider_updating_to_node16_nodenext_or_bundler:r(6280,3,"There_are_types_at_0_but_this_result_could_not_be_resolved_under_your_current_moduleResolution_setti_6280","There are types at '{0}', but this result could not be resolved under your current 'moduleResolution' setting. Consider updating to 'node16', 'nodenext', or 'bundler'."),package_json_has_a_peerDependencies_field:r(6281,3,"package_json_has_a_peerDependencies_field_6281","'package.json' has a 'peerDependencies' field."),Found_peerDependency_0_with_1_version:r(6282,3,"Found_peerDependency_0_with_1_version_6282","Found peerDependency '{0}' with '{1}' version."),Failed_to_find_peerDependency_0:r(6283,3,"Failed_to_find_peerDependency_0_6283","Failed to find peerDependency '{0}'."),Enable_project_compilation:r(6302,3,"Enable_project_compilation_6302","Enable project compilation"),Composite_projects_may_not_disable_declaration_emit:r(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:r(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:r(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:r(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."),Referenced_project_0_may_not_disable_emit:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(6357,3,"A_non_dry_build_would_build_project_0_6357","A non-dry build would build project '{0}'"),Building_project_0:r(6358,3,"Building_project_0_6358","Building project '{0}'..."),Updating_output_timestamps_of_project_0:r(6359,3,"Updating_output_timestamps_of_project_0_6359","Updating output timestamps of project '{0}'..."),Project_0_is_up_to_date:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(6370,1,"Options_0_and_1_cannot_be_combined_6370","Options '{0}' and '{1}' cannot be combined."),Updating_unchanged_output_timestamps_of_project_0:r(6371,3,"Updating_unchanged_output_timestamps_of_project_0_6371","Updating unchanged output timestamps of project '{0}'..."),A_non_dry_build_would_update_timestamps_for_output_of_project_0:r(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}'"),Cannot_write_file_0_because_it_will_overwrite_tsbuildinfo_file_generated_by_referenced_project_1:r(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:r(6379,1,"Composite_projects_may_not_disable_incremental_compilation_6379","Composite projects may not disable incremental compilation."),Specify_file_to_store_incremental_compilation_information:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(6402,3,"Resolving_in_0_mode_with_conditions_1_6402","Resolving in {0} mode with conditions {1}."),Matched_0_condition_1:r(6403,3,"Matched_0_condition_1_6403","Matched '{0}' condition '{1}'."),Using_0_subpath_1_with_target_2:r(6404,3,"Using_0_subpath_1_with_target_2_6404","Using '{0}' subpath '{1}' with target '{2}'."),Saw_non_matching_condition_0:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(6413,3,"Entering_conditional_exports_6413","Entering conditional exports."),Resolved_under_condition_0:r(6414,3,"Resolved_under_condition_0_6414","Resolved under condition '{0}'."),Failed_to_resolve_under_condition_0:r(6415,3,"Failed_to_resolve_under_condition_0_6415","Failed to resolve under condition '{0}'."),Exiting_conditional_exports:r(6416,3,"Exiting_conditional_exports_6416","Exiting conditional exports."),Searching_all_ancestor_node_modules_directories_for_preferred_extensions_Colon_0:r(6417,3,"Searching_all_ancestor_node_modules_directories_for_preferred_extensions_Colon_0_6417","Searching all ancestor node_modules directories for preferred extensions: {0}."),Searching_all_ancestor_node_modules_directories_for_fallback_extensions_Colon_0:r(6418,3,"Searching_all_ancestor_node_modules_directories_for_fallback_extensions_Colon_0_6418","Searching all ancestor node_modules directories for fallback extensions: {0}."),The_expected_type_comes_from_property_0_which_is_declared_here_on_type_1:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(6602,3,"Allow_accessing_UMD_globals_from_modules_6602","Allow accessing UMD globals from modules."),Disable_error_reporting_for_unreachable_code:r(6603,3,"Disable_error_reporting_for_unreachable_code_6603","Disable error reporting for unreachable code."),Disable_error_reporting_for_unused_labels:r(6604,3,"Disable_error_reporting_for_unused_labels_6604","Disable error reporting for unused labels."),Ensure_use_strict_is_always_emitted:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(6614,3,"Create_sourcemaps_for_d_ts_files_6614","Create sourcemaps for d.ts files."),Output_compiler_performance_information_after_building:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(6627,3,"Filters_results_from_the_include_option_6627","Filters results from the `include` option."),Remove_a_list_of_directories_from_the_watch_process:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(6659,3,"Set_the_newline_character_for_emitting_files_6659","Set the newline character for emitting files."),Disable_emitting_files_from_a_compilation:r(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:r(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:r(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:r(6663,3,"Disable_truncating_types_in_error_messages_6663","Disable truncating types in error messages."),Enable_error_reporting_for_fallthrough_cases_in_switch_statements:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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 ''s from expanding the number of files TypeScript should add to a project."),Disable_strict_checking_of_generic_signatures_in_function_types:r(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:r(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:r(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:r(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:r(6677,3,"Deprecated_setting_Use_outFile_instead_6677","Deprecated setting. Use 'outFile' instead."),Specify_an_output_folder_for_all_emitted_files:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(6688,3,"Disable_emitting_comments_6688","Disable emitting comments."),Enable_importing_json_files:r(6689,3,"Enable_importing_json_files_6689","Enable importing .json files."),Specify_the_root_folder_within_your_source_files:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(6712,3,"Emit_ECMAScript_standard_compliant_class_fields_6712","Emit ECMAScript-standard-compliant class fields."),Enable_verbose_logging:r(6713,3,"Enable_verbose_logging_6713","Enable verbose logging."),Specify_how_directories_are_watched_on_systems_that_lack_recursive_file_watching_functionality:r(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:r(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:r(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:r(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."),Require_sufficient_annotation_on_exports_so_other_tools_can_trivially_generate_declaration_files:r(6719,3,"Require_sufficient_annotation_on_exports_so_other_tools_can_trivially_generate_declaration_files_6719","Require sufficient annotation on exports so other tools can trivially generate declaration files."),Default_catch_clause_variables_as_unknown_instead_of_any:r(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:r(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."),Disable_full_type_checking_only_critical_parse_and_emit_errors_will_be_reported:r(6805,3,"Disable_full_type_checking_only_critical_parse_and_emit_errors_will_be_reported_6805","Disable full type checking (only critical parse and emit errors will be reported)."),one_of_Colon:r(6900,3,"one_of_Colon_6900","one of:"),one_or_more_Colon:r(6901,3,"one_or_more_Colon_6901","one or more:"),type_Colon:r(6902,3,"type_Colon_6902","type:"),default_Colon:r(6903,3,"default_Colon_6903","default:"),module_system_or_esModuleInterop:r(6904,3,"module_system_or_esModuleInterop_6904",'module === "system" or esModuleInterop'),false_unless_strict_is_set:r(6905,3,"false_unless_strict_is_set_6905","`false`, unless `strict` is set"),false_unless_composite_is_set:r(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:r(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:r(6908,3,"if_files_is_specified_otherwise_Asterisk_Asterisk_Slash_Asterisk_6908",'`[]` if `files` is specified, otherwise `["**/*"]`'),true_if_composite_false_otherwise:r(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:r(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:r(6911,3,"Computed_from_the_list_of_input_files_6911","Computed from the list of input files"),Platform_specific:r(6912,3,"Platform_specific_6912","Platform specific"),You_can_learn_about_all_of_the_compiler_options_at_0:r(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:r(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:r(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:r(6916,3,"COMMON_COMMANDS_6916","COMMON COMMANDS"),ALL_COMPILER_OPTIONS:r(6917,3,"ALL_COMPILER_OPTIONS_6917","ALL COMPILER OPTIONS"),WATCH_OPTIONS:r(6918,3,"WATCH_OPTIONS_6918","WATCH OPTIONS"),BUILD_OPTIONS:r(6919,3,"BUILD_OPTIONS_6919","BUILD OPTIONS"),COMMON_COMPILER_OPTIONS:r(6920,3,"COMMON_COMPILER_OPTIONS_6920","COMMON COMPILER OPTIONS"),COMMAND_LINE_FLAGS:r(6921,3,"COMMAND_LINE_FLAGS_6921","COMMAND LINE FLAGS"),tsc_Colon_The_TypeScript_Compiler:r(6922,3,"tsc_Colon_The_TypeScript_Compiler_6922","tsc: The TypeScript Compiler"),Compiles_the_current_project_tsconfig_json_in_the_working_directory:r(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:r(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:r(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:r(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:r(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:r(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:r(6929,3,"Compiles_the_current_project_with_additional_settings_6929","Compiles the current project, with additional settings."),true_for_ES2022_and_above_including_ESNext:r(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:r(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:r(7005,1,"Variable_0_implicitly_has_an_1_type_7005","Variable '{0}' implicitly has an '{1}' type."),Parameter_0_implicitly_has_an_1_type:r(7006,1,"Parameter_0_implicitly_has_an_1_type_7006","Parameter '{0}' implicitly has an '{1}' type."),Member_0_implicitly_has_an_1_type:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(7027,1,"Unreachable_code_detected_7027","Unreachable code detected.",!0),Unused_label:r(7028,1,"Unused_label_7028","Unused label.",!0),Fallthrough_case_in_switch:r(7029,1,"Fallthrough_case_in_switch_7029","Fallthrough case in switch."),Not_all_code_paths_return_a_value:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(8016,1,"Type_assertion_expressions_can_only_be_used_in_TypeScript_files_8016","Type assertion expressions can only be used in TypeScript files."),Signature_declarations_can_only_be_used_in_TypeScript_files:r(8017,1,"Signature_declarations_can_only_be_used_in_TypeScript_files_8017","Signature declarations can only be used in TypeScript files."),Report_errors_in_js_files:r(8019,3,"Report_errors_in_js_files_8019","Report errors in .js files."),JSDoc_types_can_only_be_used_inside_documentation_comments:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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'."),A_JSDoc_template_tag_may_not_follow_a_typedef_callback_or_overload_tag:r(8039,1,"A_JSDoc_template_tag_may_not_follow_a_typedef_callback_or_overload_tag_8039","A JSDoc '@template' tag may not follow a '@typedef', '@callback', or '@overload' tag"),Declaration_emit_for_this_file_requires_using_private_name_0_An_explicit_type_annotation_may_unblock_declaration_emit:r(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:r(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."),Function_must_have_an_explicit_return_type_annotation_with_isolatedDeclarations:r(9007,1,"Function_must_have_an_explicit_return_type_annotation_with_isolatedDeclarations_9007","Function must have an explicit return type annotation with --isolatedDeclarations."),Method_must_have_an_explicit_return_type_annotation_with_isolatedDeclarations:r(9008,1,"Method_must_have_an_explicit_return_type_annotation_with_isolatedDeclarations_9008","Method must have an explicit return type annotation with --isolatedDeclarations."),At_least_one_accessor_must_have_an_explicit_return_type_annotation_with_isolatedDeclarations:r(9009,1,"At_least_one_accessor_must_have_an_explicit_return_type_annotation_with_isolatedDeclarations_9009","At least one accessor must have an explicit return type annotation with --isolatedDeclarations."),Variable_must_have_an_explicit_type_annotation_with_isolatedDeclarations:r(9010,1,"Variable_must_have_an_explicit_type_annotation_with_isolatedDeclarations_9010","Variable must have an explicit type annotation with --isolatedDeclarations."),Parameter_must_have_an_explicit_type_annotation_with_isolatedDeclarations:r(9011,1,"Parameter_must_have_an_explicit_type_annotation_with_isolatedDeclarations_9011","Parameter must have an explicit type annotation with --isolatedDeclarations."),Property_must_have_an_explicit_type_annotation_with_isolatedDeclarations:r(9012,1,"Property_must_have_an_explicit_type_annotation_with_isolatedDeclarations_9012","Property must have an explicit type annotation with --isolatedDeclarations."),Expression_type_can_t_be_inferred_with_isolatedDeclarations:r(9013,1,"Expression_type_can_t_be_inferred_with_isolatedDeclarations_9013","Expression type can't be inferred with --isolatedDeclarations."),Computed_properties_must_be_number_or_string_literals_variables_or_dotted_expressions_with_isolatedDeclarations:r(9014,1,"Computed_properties_must_be_number_or_string_literals_variables_or_dotted_expressions_with_isolatedD_9014","Computed properties must be number or string literals, variables or dotted expressions with --isolatedDeclarations."),Objects_that_contain_spread_assignments_can_t_be_inferred_with_isolatedDeclarations:r(9015,1,"Objects_that_contain_spread_assignments_can_t_be_inferred_with_isolatedDeclarations_9015","Objects that contain spread assignments can't be inferred with --isolatedDeclarations."),Objects_that_contain_shorthand_properties_can_t_be_inferred_with_isolatedDeclarations:r(9016,1,"Objects_that_contain_shorthand_properties_can_t_be_inferred_with_isolatedDeclarations_9016","Objects that contain shorthand properties can't be inferred with --isolatedDeclarations."),Only_const_arrays_can_be_inferred_with_isolatedDeclarations:r(9017,1,"Only_const_arrays_can_be_inferred_with_isolatedDeclarations_9017","Only const arrays can be inferred with --isolatedDeclarations."),Arrays_with_spread_elements_can_t_inferred_with_isolatedDeclarations:r(9018,1,"Arrays_with_spread_elements_can_t_inferred_with_isolatedDeclarations_9018","Arrays with spread elements can't inferred with --isolatedDeclarations."),Binding_elements_can_t_be_exported_directly_with_isolatedDeclarations:r(9019,1,"Binding_elements_can_t_be_exported_directly_with_isolatedDeclarations_9019","Binding elements can't be exported directly with --isolatedDeclarations."),Enum_member_initializers_must_be_computable_without_references_to_external_symbols_with_isolatedDeclarations:r(9020,1,"Enum_member_initializers_must_be_computable_without_references_to_external_symbols_with_isolatedDecl_9020","Enum member initializers must be computable without references to external symbols with --isolatedDeclarations."),Extends_clause_can_t_contain_an_expression_with_isolatedDeclarations:r(9021,1,"Extends_clause_can_t_contain_an_expression_with_isolatedDeclarations_9021","Extends clause can't contain an expression with --isolatedDeclarations."),Inference_from_class_expressions_is_not_supported_with_isolatedDeclarations:r(9022,1,"Inference_from_class_expressions_is_not_supported_with_isolatedDeclarations_9022","Inference from class expressions is not supported with --isolatedDeclarations."),Assigning_properties_to_functions_without_declaring_them_is_not_supported_with_isolatedDeclarations_Add_an_explicit_declaration_for_the_properties_assigned_to_this_function:r(9023,1,"Assigning_properties_to_functions_without_declaring_them_is_not_supported_with_isolatedDeclarations__9023","Assigning properties to functions without declaring them is not supported with --isolatedDeclarations. Add an explicit declaration for the properties assigned to this function."),Declaration_emit_for_this_parameter_requires_implicitly_adding_undefined_to_it_s_type_This_is_not_supported_with_isolatedDeclarations:r(9025,1,"Declaration_emit_for_this_parameter_requires_implicitly_adding_undefined_to_it_s_type_This_is_not_su_9025","Declaration emit for this parameter requires implicitly adding undefined to it's type. This is not supported with --isolatedDeclarations."),Declaration_emit_for_this_file_requires_preserving_this_import_for_augmentations_This_is_not_supported_with_isolatedDeclarations:r(9026,1,"Declaration_emit_for_this_file_requires_preserving_this_import_for_augmentations_This_is_not_support_9026","Declaration emit for this file requires preserving this import for augmentations. This is not supported with --isolatedDeclarations."),Add_a_type_annotation_to_the_variable_0:r(9027,1,"Add_a_type_annotation_to_the_variable_0_9027","Add a type annotation to the variable {0}."),Add_a_type_annotation_to_the_parameter_0:r(9028,1,"Add_a_type_annotation_to_the_parameter_0_9028","Add a type annotation to the parameter {0}."),Add_a_type_annotation_to_the_property_0:r(9029,1,"Add_a_type_annotation_to_the_property_0_9029","Add a type annotation to the property {0}."),Add_a_return_type_to_the_function_expression:r(9030,1,"Add_a_return_type_to_the_function_expression_9030","Add a return type to the function expression."),Add_a_return_type_to_the_function_declaration:r(9031,1,"Add_a_return_type_to_the_function_declaration_9031","Add a return type to the function declaration."),Add_a_return_type_to_the_get_accessor_declaration:r(9032,1,"Add_a_return_type_to_the_get_accessor_declaration_9032","Add a return type to the get accessor declaration."),Add_a_type_to_parameter_of_the_set_accessor_declaration:r(9033,1,"Add_a_type_to_parameter_of_the_set_accessor_declaration_9033","Add a type to parameter of the set accessor declaration."),Add_a_return_type_to_the_method:r(9034,1,"Add_a_return_type_to_the_method_9034","Add a return type to the method"),Add_satisfies_and_a_type_assertion_to_this_expression_satisfies_T_as_T_to_make_the_type_explicit:r(9035,1,"Add_satisfies_and_a_type_assertion_to_this_expression_satisfies_T_as_T_to_make_the_type_explicit_9035","Add satisfies and a type assertion to this expression (satisfies T as T) to make the type explicit."),Move_the_expression_in_default_export_to_a_variable_and_add_a_type_annotation_to_it:r(9036,1,"Move_the_expression_in_default_export_to_a_variable_and_add_a_type_annotation_to_it_9036","Move the expression in default export to a variable and add a type annotation to it."),Default_exports_can_t_be_inferred_with_isolatedDeclarations:r(9037,1,"Default_exports_can_t_be_inferred_with_isolatedDeclarations_9037","Default exports can't be inferred with --isolatedDeclarations."),Computed_property_names_on_class_or_object_literals_cannot_be_inferred_with_isolatedDeclarations:r(9038,1,"Computed_property_names_on_class_or_object_literals_cannot_be_inferred_with_isolatedDeclarations_9038","Computed property names on class or object literals cannot be inferred with --isolatedDeclarations."),Type_containing_private_name_0_can_t_be_used_with_isolatedDeclarations:r(9039,1,"Type_containing_private_name_0_can_t_be_used_with_isolatedDeclarations_9039","Type containing private name '{0}' can't be used with --isolatedDeclarations."),JSX_attributes_must_only_be_assigned_a_non_empty_expression:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(17014,1,"JSX_fragment_has_no_corresponding_closing_tag_17014","JSX fragment has no corresponding closing tag."),Expected_corresponding_closing_tag_for_JSX_fragment:r(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:r(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:r(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:r(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:r(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:r(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}'?"),Unicode_escape_sequence_cannot_appear_here:r(17021,1,"Unicode_escape_sequence_cannot_appear_here_17021","Unicode escape sequence cannot appear here."),Circularity_detected_while_resolving_configuration_Colon_0:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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."),JSDoc_typedef_may_be_converted_to_TypeScript_type:r(80009,2,"JSDoc_typedef_may_be_converted_to_TypeScript_type_80009","JSDoc typedef may be converted to TypeScript type."),JSDoc_typedefs_may_be_converted_to_TypeScript_types:r(80010,2,"JSDoc_typedefs_may_be_converted_to_TypeScript_types_80010","JSDoc typedefs may be converted to TypeScript types."),Add_missing_super_call:r(90001,3,"Add_missing_super_call_90001","Add missing 'super()' call"),Make_super_call_the_first_statement_in_the_constructor:r(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:r(90003,3,"Change_extends_to_implements_90003","Change 'extends' to 'implements'"),Remove_unused_declaration_for_Colon_0:r(90004,3,"Remove_unused_declaration_for_Colon_0_90004","Remove unused declaration for: '{0}'"),Remove_import_from_0:r(90005,3,"Remove_import_from_0_90005","Remove import from '{0}'"),Implement_interface_0:r(90006,3,"Implement_interface_0_90006","Implement interface '{0}'"),Implement_inherited_abstract_class:r(90007,3,"Implement_inherited_abstract_class_90007","Implement inherited abstract class"),Add_0_to_unresolved_variable:r(90008,3,"Add_0_to_unresolved_variable_90008","Add '{0}.' to unresolved variable"),Remove_variable_statement:r(90010,3,"Remove_variable_statement_90010","Remove variable statement"),Remove_template_tag:r(90011,3,"Remove_template_tag_90011","Remove template tag"),Remove_type_parameters:r(90012,3,"Remove_type_parameters_90012","Remove type parameters"),Import_0_from_1:r(90013,3,"Import_0_from_1_90013",`Import '{0}' from "{1}"`),Change_0_to_1:r(90014,3,"Change_0_to_1_90014","Change '{0}' to '{1}'"),Declare_property_0:r(90016,3,"Declare_property_0_90016","Declare property '{0}'"),Add_index_signature_for_property_0:r(90017,3,"Add_index_signature_for_property_0_90017","Add index signature for property '{0}'"),Disable_checking_for_this_file:r(90018,3,"Disable_checking_for_this_file_90018","Disable checking for this file"),Ignore_this_error_message:r(90019,3,"Ignore_this_error_message_90019","Ignore this error message"),Initialize_property_0_in_the_constructor:r(90020,3,"Initialize_property_0_in_the_constructor_90020","Initialize property '{0}' in the constructor"),Initialize_static_property_0:r(90021,3,"Initialize_static_property_0_90021","Initialize static property '{0}'"),Change_spelling_to_0:r(90022,3,"Change_spelling_to_0_90022","Change spelling to '{0}'"),Declare_method_0:r(90023,3,"Declare_method_0_90023","Declare method '{0}'"),Declare_static_method_0:r(90024,3,"Declare_static_method_0_90024","Declare static method '{0}'"),Prefix_0_with_an_underscore:r(90025,3,"Prefix_0_with_an_underscore_90025","Prefix '{0}' with an underscore"),Rewrite_as_the_indexed_access_type_0:r(90026,3,"Rewrite_as_the_indexed_access_type_0_90026","Rewrite as the indexed access type '{0}'"),Declare_static_property_0:r(90027,3,"Declare_static_property_0_90027","Declare static property '{0}'"),Call_decorator_expression:r(90028,3,"Call_decorator_expression_90028","Call decorator expression"),Add_async_modifier_to_containing_function:r(90029,3,"Add_async_modifier_to_containing_function_90029","Add async modifier to containing function"),Replace_infer_0_with_unknown:r(90030,3,"Replace_infer_0_with_unknown_90030","Replace 'infer {0}' with 'unknown'"),Replace_all_unused_infer_with_unknown:r(90031,3,"Replace_all_unused_infer_with_unknown_90031","Replace all unused 'infer' with 'unknown'"),Add_parameter_name:r(90034,3,"Add_parameter_name_90034","Add parameter name"),Declare_private_property_0:r(90035,3,"Declare_private_property_0_90035","Declare private property '{0}'"),Replace_0_with_Promise_1:r(90036,3,"Replace_0_with_Promise_1_90036","Replace '{0}' with 'Promise<{1}>'"),Fix_all_incorrect_return_type_of_an_async_functions:r(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:r(90038,3,"Declare_private_method_0_90038","Declare private method '{0}'"),Remove_unused_destructuring_declaration:r(90039,3,"Remove_unused_destructuring_declaration_90039","Remove unused destructuring declaration"),Remove_unused_declarations_for_Colon_0:r(90041,3,"Remove_unused_declarations_for_Colon_0_90041","Remove unused declarations for: '{0}'"),Declare_a_private_field_named_0:r(90053,3,"Declare_a_private_field_named_0_90053","Declare a private field named '{0}'."),Includes_imports_of_types_referenced_by_0:r(90054,3,"Includes_imports_of_types_referenced_by_0_90054","Includes imports of types referenced by '{0}'"),Remove_type_from_import_declaration_from_0:r(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:r(90056,3,"Remove_type_from_import_of_0_from_1_90056",`Remove 'type' from import of '{0}' from "{1}"`),Add_import_from_0:r(90057,3,"Add_import_from_0_90057",'Add import from "{0}"'),Update_import_from_0:r(90058,3,"Update_import_from_0_90058",'Update import from "{0}"'),Export_0_from_module_1:r(90059,3,"Export_0_from_module_1_90059","Export '{0}' from module '{1}'"),Export_all_referenced_locals:r(90060,3,"Export_all_referenced_locals_90060","Export all referenced locals"),Update_modifiers_of_0:r(90061,3,"Update_modifiers_of_0_90061","Update modifiers of '{0}'"),Add_annotation_of_type_0:r(90062,3,"Add_annotation_of_type_0_90062","Add annotation of type '{0}'"),Add_return_type_0:r(90063,3,"Add_return_type_0_90063","Add return type '{0}'"),Extract_base_class_to_variable:r(90064,3,"Extract_base_class_to_variable_90064","Extract base class to variable"),Extract_default_export_to_variable:r(90065,3,"Extract_default_export_to_variable_90065","Extract default export to variable"),Extract_binding_expressions_to_variable:r(90066,3,"Extract_binding_expressions_to_variable_90066","Extract binding expressions to variable"),Add_all_missing_type_annotations:r(90067,3,"Add_all_missing_type_annotations_90067","Add all missing type annotations"),Add_satisfies_and_an_inline_type_assertion_with_0:r(90068,3,"Add_satisfies_and_an_inline_type_assertion_with_0_90068","Add satisfies and an inline type assertion with '{0}'"),Extract_to_variable_and_replace_with_0_as_typeof_0:r(90069,3,"Extract_to_variable_and_replace_with_0_as_typeof_0_90069","Extract to variable and replace with '{0} as typeof {0}'"),Mark_array_literal_as_const:r(90070,3,"Mark_array_literal_as_const_90070","Mark array literal as const"),Annotate_types_of_properties_expando_function_in_a_namespace:r(90071,3,"Annotate_types_of_properties_expando_function_in_a_namespace_90071","Annotate types of properties expando function in a namespace"),Convert_function_to_an_ES2015_class:r(95001,3,"Convert_function_to_an_ES2015_class_95001","Convert function to an ES2015 class"),Convert_0_to_1_in_0:r(95003,3,"Convert_0_to_1_in_0_95003","Convert '{0}' to '{1} in {0}'"),Extract_to_0_in_1:r(95004,3,"Extract_to_0_in_1_95004","Extract to {0} in {1}"),Extract_function:r(95005,3,"Extract_function_95005","Extract function"),Extract_constant:r(95006,3,"Extract_constant_95006","Extract constant"),Extract_to_0_in_enclosing_scope:r(95007,3,"Extract_to_0_in_enclosing_scope_95007","Extract to {0} in enclosing scope"),Extract_to_0_in_1_scope:r(95008,3,"Extract_to_0_in_1_scope_95008","Extract to {0} in {1} scope"),Annotate_with_type_from_JSDoc:r(95009,3,"Annotate_with_type_from_JSDoc_95009","Annotate with type from JSDoc"),Infer_type_of_0_from_usage:r(95011,3,"Infer_type_of_0_from_usage_95011","Infer type of '{0}' from usage"),Infer_parameter_types_from_usage:r(95012,3,"Infer_parameter_types_from_usage_95012","Infer parameter types from usage"),Convert_to_default_import:r(95013,3,"Convert_to_default_import_95013","Convert to default import"),Install_0:r(95014,3,"Install_0_95014","Install '{0}'"),Replace_import_with_0:r(95015,3,"Replace_import_with_0_95015","Replace import with '{0}'."),Use_synthetic_default_member:r(95016,3,"Use_synthetic_default_member_95016","Use synthetic 'default' member."),Convert_to_ES_module:r(95017,3,"Convert_to_ES_module_95017","Convert to ES module"),Add_undefined_type_to_property_0:r(95018,3,"Add_undefined_type_to_property_0_95018","Add 'undefined' type to property '{0}'"),Add_initializer_to_property_0:r(95019,3,"Add_initializer_to_property_0_95019","Add initializer to property '{0}'"),Add_definite_assignment_assertion_to_property_0:r(95020,3,"Add_definite_assignment_assertion_to_property_0_95020","Add definite assignment assertion to property '{0}'"),Convert_all_type_literals_to_mapped_type:r(95021,3,"Convert_all_type_literals_to_mapped_type_95021","Convert all type literals to mapped type"),Add_all_missing_members:r(95022,3,"Add_all_missing_members_95022","Add all missing members"),Infer_all_types_from_usage:r(95023,3,"Infer_all_types_from_usage_95023","Infer all types from usage"),Delete_all_unused_declarations:r(95024,3,"Delete_all_unused_declarations_95024","Delete all unused declarations"),Prefix_all_unused_declarations_with_where_possible:r(95025,3,"Prefix_all_unused_declarations_with_where_possible_95025","Prefix all unused declarations with '_' where possible"),Fix_all_detected_spelling_errors:r(95026,3,"Fix_all_detected_spelling_errors_95026","Fix all detected spelling errors"),Add_initializers_to_all_uninitialized_properties:r(95027,3,"Add_initializers_to_all_uninitialized_properties_95027","Add initializers to all uninitialized properties"),Add_definite_assignment_assertions_to_all_uninitialized_properties:r(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:r(95029,3,"Add_undefined_type_to_all_uninitialized_properties_95029","Add undefined type to all uninitialized properties"),Change_all_jsdoc_style_types_to_TypeScript:r(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:r(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:r(95032,3,"Implement_all_unimplemented_interfaces_95032","Implement all unimplemented interfaces"),Install_all_missing_types_packages:r(95033,3,"Install_all_missing_types_packages_95033","Install all missing types packages"),Rewrite_all_as_indexed_access_types:r(95034,3,"Rewrite_all_as_indexed_access_types_95034","Rewrite all as indexed access types"),Convert_all_to_default_imports:r(95035,3,"Convert_all_to_default_imports_95035","Convert all to default imports"),Make_all_super_calls_the_first_statement_in_their_constructor:r(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:r(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:r(95038,3,"Change_all_extended_interfaces_to_implements_95038","Change all extended interfaces to 'implements'"),Add_all_missing_super_calls:r(95039,3,"Add_all_missing_super_calls_95039","Add all missing super calls"),Implement_all_inherited_abstract_classes:r(95040,3,"Implement_all_inherited_abstract_classes_95040","Implement all inherited abstract classes"),Add_all_missing_async_modifiers:r(95041,3,"Add_all_missing_async_modifiers_95041","Add all missing 'async' modifiers"),Add_ts_ignore_to_all_error_messages:r(95042,3,"Add_ts_ignore_to_all_error_messages_95042","Add '@ts-ignore' to all error messages"),Annotate_everything_with_types_from_JSDoc:r(95043,3,"Annotate_everything_with_types_from_JSDoc_95043","Annotate everything with types from JSDoc"),Add_to_all_uncalled_decorators:r(95044,3,"Add_to_all_uncalled_decorators_95044","Add '()' to all uncalled decorators"),Convert_all_constructor_functions_to_classes:r(95045,3,"Convert_all_constructor_functions_to_classes_95045","Convert all constructor functions to classes"),Generate_get_and_set_accessors:r(95046,3,"Generate_get_and_set_accessors_95046","Generate 'get' and 'set' accessors"),Convert_require_to_import:r(95047,3,"Convert_require_to_import_95047","Convert 'require' to 'import'"),Convert_all_require_to_import:r(95048,3,"Convert_all_require_to_import_95048","Convert all 'require' to 'import'"),Move_to_a_new_file:r(95049,3,"Move_to_a_new_file_95049","Move to a new file"),Remove_unreachable_code:r(95050,3,"Remove_unreachable_code_95050","Remove unreachable code"),Remove_all_unreachable_code:r(95051,3,"Remove_all_unreachable_code_95051","Remove all unreachable code"),Add_missing_typeof:r(95052,3,"Add_missing_typeof_95052","Add missing 'typeof'"),Remove_unused_label:r(95053,3,"Remove_unused_label_95053","Remove unused label"),Remove_all_unused_labels:r(95054,3,"Remove_all_unused_labels_95054","Remove all unused labels"),Convert_0_to_mapped_object_type:r(95055,3,"Convert_0_to_mapped_object_type_95055","Convert '{0}' to mapped object type"),Convert_namespace_import_to_named_imports:r(95056,3,"Convert_namespace_import_to_named_imports_95056","Convert namespace import to named imports"),Convert_named_imports_to_namespace_import:r(95057,3,"Convert_named_imports_to_namespace_import_95057","Convert named imports to namespace import"),Add_or_remove_braces_in_an_arrow_function:r(95058,3,"Add_or_remove_braces_in_an_arrow_function_95058","Add or remove braces in an arrow function"),Add_braces_to_arrow_function:r(95059,3,"Add_braces_to_arrow_function_95059","Add braces to arrow function"),Remove_braces_from_arrow_function:r(95060,3,"Remove_braces_from_arrow_function_95060","Remove braces from arrow function"),Convert_default_export_to_named_export:r(95061,3,"Convert_default_export_to_named_export_95061","Convert default export to named export"),Convert_named_export_to_default_export:r(95062,3,"Convert_named_export_to_default_export_95062","Convert named export to default export"),Add_missing_enum_member_0:r(95063,3,"Add_missing_enum_member_0_95063","Add missing enum member '{0}'"),Add_all_missing_imports:r(95064,3,"Add_all_missing_imports_95064","Add all missing imports"),Convert_to_async_function:r(95065,3,"Convert_to_async_function_95065","Convert to async function"),Convert_all_to_async_functions:r(95066,3,"Convert_all_to_async_functions_95066","Convert all to async functions"),Add_missing_call_parentheses:r(95067,3,"Add_missing_call_parentheses_95067","Add missing call parentheses"),Add_all_missing_call_parentheses:r(95068,3,"Add_all_missing_call_parentheses_95068","Add all missing call parentheses"),Add_unknown_conversion_for_non_overlapping_types:r(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:r(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:r(95071,3,"Add_missing_new_operator_to_call_95071","Add missing 'new' operator to call"),Add_missing_new_operator_to_all_calls:r(95072,3,"Add_missing_new_operator_to_all_calls_95072","Add missing 'new' operator to all calls"),Add_names_to_all_parameters_without_names:r(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:r(95074,3,"Enable_the_experimentalDecorators_option_in_your_configuration_file_95074","Enable the 'experimentalDecorators' option in your configuration file"),Convert_parameters_to_destructured_object:r(95075,3,"Convert_parameters_to_destructured_object_95075","Convert parameters to destructured object"),Extract_type:r(95077,3,"Extract_type_95077","Extract type"),Extract_to_type_alias:r(95078,3,"Extract_to_type_alias_95078","Extract to type alias"),Extract_to_typedef:r(95079,3,"Extract_to_typedef_95079","Extract to typedef"),Infer_this_type_of_0_from_usage:r(95080,3,"Infer_this_type_of_0_from_usage_95080","Infer 'this' type of '{0}' from usage"),Add_const_to_unresolved_variable:r(95081,3,"Add_const_to_unresolved_variable_95081","Add 'const' to unresolved variable"),Add_const_to_all_unresolved_variables:r(95082,3,"Add_const_to_all_unresolved_variables_95082","Add 'const' to all unresolved variables"),Add_await:r(95083,3,"Add_await_95083","Add 'await'"),Add_await_to_initializer_for_0:r(95084,3,"Add_await_to_initializer_for_0_95084","Add 'await' to initializer for '{0}'"),Fix_all_expressions_possibly_missing_await:r(95085,3,"Fix_all_expressions_possibly_missing_await_95085","Fix all expressions possibly missing 'await'"),Remove_unnecessary_await:r(95086,3,"Remove_unnecessary_await_95086","Remove unnecessary 'await'"),Remove_all_unnecessary_uses_of_await:r(95087,3,"Remove_all_unnecessary_uses_of_await_95087","Remove all unnecessary uses of 'await'"),Enable_the_jsx_flag_in_your_configuration_file:r(95088,3,"Enable_the_jsx_flag_in_your_configuration_file_95088","Enable the '--jsx' flag in your configuration file"),Add_await_to_initializers:r(95089,3,"Add_await_to_initializers_95089","Add 'await' to initializers"),Extract_to_interface:r(95090,3,"Extract_to_interface_95090","Extract to interface"),Convert_to_a_bigint_numeric_literal:r(95091,3,"Convert_to_a_bigint_numeric_literal_95091","Convert to a bigint numeric literal"),Convert_all_to_bigint_numeric_literals:r(95092,3,"Convert_all_to_bigint_numeric_literals_95092","Convert all to bigint numeric literals"),Convert_const_to_let:r(95093,3,"Convert_const_to_let_95093","Convert 'const' to 'let'"),Prefix_with_declare:r(95094,3,"Prefix_with_declare_95094","Prefix with 'declare'"),Prefix_all_incorrect_property_declarations_with_declare:r(95095,3,"Prefix_all_incorrect_property_declarations_with_declare_95095","Prefix all incorrect property declarations with 'declare'"),Convert_to_template_string:r(95096,3,"Convert_to_template_string_95096","Convert to template string"),Add_export_to_make_this_file_into_a_module:r(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:r(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:r(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:r(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:r(95101,3,"Convert_all_invalid_characters_to_HTML_entity_code_95101","Convert all invalid characters to HTML entity code"),Convert_all_const_to_let:r(95102,3,"Convert_all_const_to_let_95102","Convert all 'const' to 'let'"),Convert_function_expression_0_to_arrow_function:r(95105,3,"Convert_function_expression_0_to_arrow_function_95105","Convert function expression '{0}' to arrow function"),Convert_function_declaration_0_to_arrow_function:r(95106,3,"Convert_function_declaration_0_to_arrow_function_95106","Convert function declaration '{0}' to arrow function"),Fix_all_implicit_this_errors:r(95107,3,"Fix_all_implicit_this_errors_95107","Fix all implicit-'this' errors"),Wrap_invalid_character_in_an_expression_container:r(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:r(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:r(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:r(95111,3,"Add_a_return_statement_95111","Add a return statement"),Remove_braces_from_arrow_function_body:r(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:r(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:r(95114,3,"Add_all_missing_return_statement_95114","Add all missing return statement"),Remove_braces_from_all_arrow_function_bodies_with_relevant_issues:r(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:r(95116,3,"Wrap_all_object_literal_with_parentheses_95116","Wrap all object literal with parentheses"),Move_labeled_tuple_element_modifiers_to_labels:r(95117,3,"Move_labeled_tuple_element_modifiers_to_labels_95117","Move labeled tuple element modifiers to labels"),Convert_overload_list_to_single_signature:r(95118,3,"Convert_overload_list_to_single_signature_95118","Convert overload list to single signature"),Generate_get_and_set_accessors_for_all_overriding_properties:r(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:r(95120,3,"Wrap_in_JSX_fragment_95120","Wrap in JSX fragment"),Wrap_all_unparented_JSX_in_JSX_fragment:r(95121,3,"Wrap_all_unparented_JSX_in_JSX_fragment_95121","Wrap all unparented JSX in JSX fragment"),Convert_arrow_function_or_function_expression:r(95122,3,"Convert_arrow_function_or_function_expression_95122","Convert arrow function or function expression"),Convert_to_anonymous_function:r(95123,3,"Convert_to_anonymous_function_95123","Convert to anonymous function"),Convert_to_named_function:r(95124,3,"Convert_to_named_function_95124","Convert to named function"),Convert_to_arrow_function:r(95125,3,"Convert_to_arrow_function_95125","Convert to arrow function"),Remove_parentheses:r(95126,3,"Remove_parentheses_95126","Remove parentheses"),Could_not_find_a_containing_arrow_function:r(95127,3,"Could_not_find_a_containing_arrow_function_95127","Could not find a containing arrow function"),Containing_function_is_not_an_arrow_function:r(95128,3,"Containing_function_is_not_an_arrow_function_95128","Containing function is not an arrow function"),Could_not_find_export_statement:r(95129,3,"Could_not_find_export_statement_95129","Could not find export statement"),This_file_already_has_a_default_export:r(95130,3,"This_file_already_has_a_default_export_95130","This file already has a default export"),Could_not_find_import_clause:r(95131,3,"Could_not_find_import_clause_95131","Could not find import clause"),Could_not_find_namespace_import_or_named_imports:r(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:r(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:r(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:r(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:r(95136,3,"Name_is_not_valid_95136","Name is not valid"),Can_only_convert_property_with_modifier:r(95137,3,"Can_only_convert_property_with_modifier_95137","Can only convert property with modifier"),Switch_each_misused_0_to_1:r(95138,3,"Switch_each_misused_0_to_1_95138","Switch each misused '{0}' to '{1}'"),Convert_to_optional_chain_expression:r(95139,3,"Convert_to_optional_chain_expression_95139","Convert to optional chain expression"),Could_not_find_convertible_access_expression:r(95140,3,"Could_not_find_convertible_access_expression_95140","Could not find convertible access expression"),Could_not_find_matching_access_expressions:r(95141,3,"Could_not_find_matching_access_expressions_95141","Could not find matching access expressions"),Can_only_convert_logical_AND_access_chains:r(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:r(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:r(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:r(95145,3,"Use_element_access_for_0_95145","Use element access for '{0}'"),Use_element_access_for_all_undeclared_properties:r(95146,3,"Use_element_access_for_all_undeclared_properties_95146","Use element access for all undeclared properties."),Delete_all_unused_imports:r(95147,3,"Delete_all_unused_imports_95147","Delete all unused imports"),Infer_function_return_type:r(95148,3,"Infer_function_return_type_95148","Infer function return type"),Return_type_must_be_inferred_from_a_function:r(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:r(95150,3,"Could_not_determine_function_return_type_95150","Could not determine function return type"),Could_not_convert_to_arrow_function:r(95151,3,"Could_not_convert_to_arrow_function_95151","Could not convert to arrow function"),Could_not_convert_to_named_function:r(95152,3,"Could_not_convert_to_named_function_95152","Could not convert to named function"),Could_not_convert_to_anonymous_function:r(95153,3,"Could_not_convert_to_anonymous_function_95153","Could not convert to anonymous function"),Can_only_convert_string_concatenations_and_string_literals:r(95154,3,"Can_only_convert_string_concatenations_and_string_literals_95154","Can only convert string concatenations and string literals"),Selection_is_not_a_valid_statement_or_statements:r(95155,3,"Selection_is_not_a_valid_statement_or_statements_95155","Selection is not a valid statement or statements"),Add_missing_function_declaration_0:r(95156,3,"Add_missing_function_declaration_0_95156","Add missing function declaration '{0}'"),Add_all_missing_function_declarations:r(95157,3,"Add_all_missing_function_declarations_95157","Add all missing function declarations"),Method_not_implemented:r(95158,3,"Method_not_implemented_95158","Method not implemented."),Function_not_implemented:r(95159,3,"Function_not_implemented_95159","Function not implemented."),Add_override_modifier:r(95160,3,"Add_override_modifier_95160","Add 'override' modifier"),Remove_override_modifier:r(95161,3,"Remove_override_modifier_95161","Remove 'override' modifier"),Add_all_missing_override_modifiers:r(95162,3,"Add_all_missing_override_modifiers_95162","Add all missing 'override' modifiers"),Remove_all_unnecessary_override_modifiers:r(95163,3,"Remove_all_unnecessary_override_modifiers_95163","Remove all unnecessary 'override' modifiers"),Can_only_convert_named_export:r(95164,3,"Can_only_convert_named_export_95164","Can only convert named export"),Add_missing_properties:r(95165,3,"Add_missing_properties_95165","Add missing properties"),Add_all_missing_properties:r(95166,3,"Add_all_missing_properties_95166","Add all missing properties"),Add_missing_attributes:r(95167,3,"Add_missing_attributes_95167","Add missing attributes"),Add_all_missing_attributes:r(95168,3,"Add_all_missing_attributes_95168","Add all missing attributes"),Add_undefined_to_optional_property_type:r(95169,3,"Add_undefined_to_optional_property_type_95169","Add 'undefined' to optional property type"),Convert_named_imports_to_default_import:r(95170,3,"Convert_named_imports_to_default_import_95170","Convert named imports to default import"),Delete_unused_param_tag_0:r(95171,3,"Delete_unused_param_tag_0_95171","Delete unused '@param' tag '{0}'"),Delete_all_unused_param_tags:r(95172,3,"Delete_all_unused_param_tags_95172","Delete all unused '@param' tags"),Rename_param_tag_name_0_to_1:r(95173,3,"Rename_param_tag_name_0_to_1_95173","Rename '@param' tag name '{0}' to '{1}'"),Use_0:r(95174,3,"Use_0_95174","Use `{0}`."),Use_Number_isNaN_in_all_conditions:r(95175,3,"Use_Number_isNaN_in_all_conditions_95175","Use `Number.isNaN` in all conditions."),Convert_typedef_to_TypeScript_type:r(95176,3,"Convert_typedef_to_TypeScript_type_95176","Convert typedef to TypeScript type."),Convert_all_typedef_to_TypeScript_types:r(95177,3,"Convert_all_typedef_to_TypeScript_types_95177","Convert all typedef to TypeScript types."),Move_to_file:r(95178,3,"Move_to_file_95178","Move to file"),Cannot_move_to_file_selected_file_is_invalid:r(95179,3,"Cannot_move_to_file_selected_file_is_invalid_95179","Cannot move to file, selected file is invalid"),Use_import_type:r(95180,3,"Use_import_type_95180","Use 'import type'"),Use_type_0:r(95181,3,"Use_type_0_95181","Use 'type {0}'"),Fix_all_with_type_only_imports:r(95182,3,"Fix_all_with_type_only_imports_95182","Fix all with type-only imports"),Cannot_move_statements_to_the_selected_file:r(95183,3,"Cannot_move_statements_to_the_selected_file_95183","Cannot move statements to the selected file"),Inline_variable:r(95184,3,"Inline_variable_95184","Inline variable"),Could_not_find_variable_to_inline:r(95185,3,"Could_not_find_variable_to_inline_95185","Could not find variable to inline."),Variables_with_multiple_declarations_cannot_be_inlined:r(95186,3,"Variables_with_multiple_declarations_cannot_be_inlined_95186","Variables with multiple declarations cannot be inlined."),Add_missing_comma_for_object_member_completion_0:r(95187,3,"Add_missing_comma_for_object_member_completion_0_95187","Add missing comma for object member completion '{0}'."),Add_missing_parameter_to_0:r(95188,3,"Add_missing_parameter_to_0_95188","Add missing parameter to '{0}'"),Add_missing_parameters_to_0:r(95189,3,"Add_missing_parameters_to_0_95189","Add missing parameters to '{0}'"),Add_all_missing_parameters:r(95190,3,"Add_all_missing_parameters_95190","Add all missing parameters"),Add_optional_parameter_to_0:r(95191,3,"Add_optional_parameter_to_0_95191","Add optional parameter to '{0}'"),Add_optional_parameters_to_0:r(95192,3,"Add_optional_parameters_to_0_95192","Add optional parameters to '{0}'"),Add_all_optional_parameters:r(95193,3,"Add_all_optional_parameters_95193","Add all optional parameters"),Wrap_in_parentheses:r(95194,3,"Wrap_in_parentheses_95194","Wrap in parentheses"),Wrap_all_invalid_decorator_expressions_in_parentheses:r(95195,3,"Wrap_all_invalid_decorator_expressions_in_parentheses_95195","Wrap all invalid decorator expressions in parentheses"),No_value_exists_in_scope_for_the_shorthand_property_0_Either_declare_one_or_provide_an_initializer:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(18046,1,"_0_is_of_type_unknown_18046","'{0}' is of type 'unknown'."),_0_is_possibly_null:r(18047,1,"_0_is_possibly_null_18047","'{0}' is possibly 'null'."),_0_is_possibly_undefined:r(18048,1,"_0_is_possibly_undefined_18048","'{0}' is possibly 'undefined'."),_0_is_possibly_null_or_undefined:r(18049,1,"_0_is_possibly_null_or_undefined_18049","'{0}' is possibly 'null' or 'undefined'."),The_value_0_cannot_be_used_here:r(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:r(18051,1,"Compiler_option_0_cannot_be_given_an_empty_string_18051","Compiler option '{0}' cannot be given an empty string."),Its_type_0_is_not_a_valid_JSX_element_type:r(18053,1,"Its_type_0_is_not_a_valid_JSX_element_type_18053","Its type '{0}' is not a valid JSX element type."),await_using_statements_cannot_be_used_inside_a_class_static_block:r(18054,1,"await_using_statements_cannot_be_used_inside_a_class_static_block_18054","'await using' statements cannot be used inside a class static block."),_0_has_a_string_type_but_must_have_syntactically_recognizable_string_syntax_when_isolatedModules_is_enabled:r(18055,1,"_0_has_a_string_type_but_must_have_syntactically_recognizable_string_syntax_when_isolatedModules_is__18055","'{0}' has a string type, but must have syntactically recognizable string syntax when 'isolatedModules' is enabled."),Enum_member_following_a_non_literal_numeric_member_must_have_an_initializer_when_isolatedModules_is_enabled:r(18056,1,"Enum_member_following_a_non_literal_numeric_member_must_have_an_initializer_when_isolatedModules_is__18056","Enum member following a non-literal numeric member must have an initializer when 'isolatedModules' is enabled.")};function bt(e){return e>=80}function dg(e){return e===32||bt(e)}var vf={abstract:128,accessor:129,any:133,as:130,asserts:131,assert:132,bigint:163,boolean:136,break:83,case:84,catch:85,class:86,continue:88,const:87,constructor:137,debugger:89,declare:138,default:90,delete:91,do:92,else:93,enum:94,export:95,extends:96,false:97,finally:98,for:99,from:161,function:100,get:139,if:101,implements:119,import:102,in:103,infer:140,instanceof:104,interface:120,intrinsic:141,is:142,keyof:143,let:121,module:144,namespace:145,never:146,new:105,null:106,number:150,object:151,package:122,private:123,protected:124,public:125,override:164,out:147,readonly:148,require:149,global:162,return:107,satisfies:152,set:153,static:126,string:154,super:108,switch:109,symbol:155,this:110,throw:111,true:112,try:113,type:156,typeof:114,undefined:157,unique:158,unknown:159,using:160,var:115,void:116,while:117,with:118,yield:127,async:134,await:135,of:165},mg=new Map(Object.entries(vf)),t1=new Map(Object.entries({...vf,"{":19,"}":20,"(":21,")":22,"[":23,"]":24,".":25,"...":26,";":27,",":28,"<":30,">":32,"<=":33,">=":34,"==":35,"!=":36,"===":37,"!==":38,"=>":39,"+":40,"-":41,"**":43,"*":42,"/":44,"%":45,"++":46,"--":47,"<<":48,">":49,">>>":50,"&":51,"|":52,"^":53,"!":54,"~":55,"&&":56,"||":57,"?":58,"??":61,"?.":29,":":59,"=":64,"+=":65,"-=":66,"*=":67,"**=":68,"/=":69,"%=":70,"<<=":71,">>=":72,">>>=":73,"&=":74,"|=":75,"^=":79,"||=":76,"&&=":77,"??=":78,"@":60,"#":63,"`":62})),n1=new Map(Object.entries({d:1,g:2,i:4,m:8,s:16,u:32,v:64,y:128})),hg=new Map([[1,9],[16,5],[32,2],[64,99],[128,2]]),yg=[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],gg=[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],bg=[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,2160,2183,2185,2190,2208,2249,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,3165,3165,3168,3169,3200,3200,3205,3212,3214,3216,3218,3240,3242,3251,3253,3257,3261,3261,3293,3294,3296,3297,3313,3314,3332,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,5905,5919,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,6988,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,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,12735,12784,12799,13312,19903,19968,42124,42192,42237,42240,42508,42512,42527,42538,42539,42560,42606,42623,42653,42656,42735,42775,42783,42786,42888,42891,42954,42960,42961,42963,42963,42965,42969,42994,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,43881,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,66928,66938,66940,66954,66956,66962,66964,66965,66967,66977,66979,66993,66995,67001,67003,67004,67072,67382,67392,67413,67424,67431,67456,67461,67463,67504,67506,67514,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,69248,69289,69296,69297,69376,69404,69415,69415,69424,69445,69488,69505,69552,69572,69600,69622,69635,69687,69745,69746,69749,69749,69763,69807,69840,69864,69891,69926,69956,69956,69959,69959,69968,70002,70006,70006,70019,70066,70081,70084,70106,70106,70108,70108,70144,70161,70163,70187,70207,70208,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,70753,70784,70831,70852,70853,70855,70855,71040,71086,71128,71131,71168,71215,71236,71236,71296,71338,71352,71352,71424,71450,71488,71494,71680,71723,71840,71903,71935,71942,71945,71945,71948,71955,71957,71958,71960,71983,71999,71999,72001,72001,72096,72103,72106,72144,72161,72161,72163,72163,72192,72192,72203,72242,72250,72250,72272,72272,72284,72329,72349,72349,72368,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,73474,73474,73476,73488,73490,73523,73648,73648,73728,74649,74752,74862,74880,75075,77712,77808,77824,78895,78913,78918,82944,83526,92160,92728,92736,92766,92784,92862,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,101589,101632,101640,110576,110579,110581,110587,110589,110590,110592,110882,110898,110898,110928,110930,110933,110933,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,122624,122654,122661,122666,122928,122989,123136,123180,123191,123197,123214,123214,123536,123565,123584,123627,124112,124139,124896,124902,124904,124907,124909,124910,124912,124926,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,173791,173824,177977,177984,178205,178208,183969,183984,191456,191472,192093,194560,195101,196608,201546,201552,205743],vg=[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,2160,2183,2185,2190,2200,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,2901,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,3132,3140,3142,3144,3146,3149,3157,3158,3160,3162,3165,3165,3168,3171,3174,3183,3200,3203,3205,3212,3214,3216,3218,3240,3242,3251,3253,3257,3260,3268,3270,3272,3274,3277,3285,3286,3293,3294,3296,3299,3302,3311,3313,3315,3328,3340,3342,3344,3346,3396,3398,3400,3402,3406,3412,3415,3423,3427,3430,3439,3450,3455,3457,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,3790,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,5909,5919,5940,5952,5971,5984,5996,5998,6e3,6002,6003,6016,6099,6103,6103,6108,6109,6112,6121,6155,6157,6159,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,6847,6862,6912,6988,6992,7001,7019,7027,7040,7155,7168,7223,7232,7241,7245,7293,7296,7304,7312,7354,7357,7359,7376,7378,7380,7418,7424,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,8472,8477,8484,8484,8486,8486,8488,8488,8490,8505,8508,8511,8517,8521,8526,8526,8544,8584,11264,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,12543,12549,12591,12593,12686,12704,12735,12784,12799,13312,19903,19968,42124,42192,42237,42240,42508,42512,42539,42560,42607,42612,42621,42623,42737,42775,42783,42786,42888,42891,42954,42960,42961,42963,42963,42965,42969,42994,43047,43052,43052,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,43881,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,65381,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,66928,66938,66940,66954,66956,66962,66964,66965,66967,66977,66979,66993,66995,67001,67003,67004,67072,67382,67392,67413,67424,67431,67456,67461,67463,67504,67506,67514,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,69248,69289,69291,69292,69296,69297,69373,69404,69415,69415,69424,69456,69488,69509,69552,69572,69600,69622,69632,69702,69734,69749,69759,69818,69826,69826,69840,69864,69872,69881,69888,69940,69942,69951,69956,69959,69968,70003,70006,70006,70016,70084,70089,70092,70094,70106,70108,70108,70144,70161,70163,70199,70206,70209,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,70753,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,71488,71494,71680,71738,71840,71913,71935,71942,71945,71945,71948,71955,71957,71958,71960,71989,71991,71992,71995,72003,72016,72025,72096,72103,72106,72151,72154,72161,72163,72164,72192,72254,72263,72263,72272,72345,72349,72349,72368,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,73472,73488,73490,73530,73534,73538,73552,73561,73648,73648,73728,74649,74752,74862,74880,75075,77712,77808,77824,78895,78912,78933,82944,83526,92160,92728,92736,92766,92768,92777,92784,92862,92864,92873,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,94180,94192,94193,94208,100343,100352,101589,101632,101640,110576,110579,110581,110587,110589,110590,110592,110882,110898,110898,110928,110930,110933,110933,110948,110951,110960,111355,113664,113770,113776,113788,113792,113800,113808,113817,113821,113822,118528,118573,118576,118598,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,122624,122654,122661,122666,122880,122886,122888,122904,122907,122913,122915,122916,122918,122922,122928,122989,123023,123023,123136,123180,123184,123197,123200,123209,123214,123214,123536,123566,123584,123641,124112,124153,124896,124902,124904,124907,124909,124910,124912,124926,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,130032,130041,131072,173791,173824,177977,177984,178205,178208,183969,183984,191456,191472,192093,194560,195101,196608,201546,201552,205743,917760,917999],xg=/^\/\/\/?\s*@(ts-expect-error|ts-ignore)/,Tg=/^(?:\/|\*)*\s*@(ts-expect-error|ts-ignore)/,Sg=/@(?:see|link)/i;function pl(e,t){if(e=2?pl(e,bg):pl(e,yg)}function kg(e,t){return t>=2?pl(e,vg):pl(e,gg)}function r1(e){let t=[];return e.forEach((a,o)=>{t[a]=o}),t}var Eg=r1(t1);function _t(e){return Eg[e]}function i1(e){return t1.get(e)}var j3=r1(n1);function Gd(e){return n1.get(e)}function a1(e){let t=[],a=0,o=0;for(;a127&&Dn(h)&&(t.push(o),o=a);break}}return t.push(o),t}function Ag(e,t,a,o,h){(t<0||t>=e.length)&&(h?t=t<0?0:t>=e.length?e.length-1:t:B.fail(`Bad line number. Line: ${t}, lineStarts.length: ${e.length} , line map is correct? ${o!==void 0?Ay(e,a1(o)):"unknown"}`));let g=e[t]+a;return h?g>e[t+1]?e[t+1]:typeof o=="string"&&g>o.length?o.length:g:(t=8192&&e<=8203||e===8239||e===8287||e===12288||e===65279}function Dn(e){return e===10||e===13||e===8232||e===8233}function xi(e){return e>=48&&e<=57}function Lp(e){return xi(e)||e>=65&&e<=70||e>=97&&e<=102}function xf(e){return e>=65&&e<=90||e>=97&&e<=122}function s1(e){return xf(e)||xi(e)||e===95}function Rp(e){return e>=48&&e<=55}function Qr(e,t,a,o,h){if(Es(t))return t;let g=!1;for(;;){let E=e.charCodeAt(t);switch(E){case 13:e.charCodeAt(t+1)===10&&t++;case 10:if(t++,a)return t;g=!!h;continue;case 9:case 11:case 12:case 32:t++;continue;case 47:if(o)break;if(e.charCodeAt(t+1)===47){for(t+=2;t127&&Fa(E)){t++;continue}break}return t}}var al=7;function $i(e,t){if(B.assert(t>=0),t===0||Dn(e.charCodeAt(t-1))){let a=e.charCodeAt(t);if(t+al=0&&a127&&Fa(J)){k&&Dn(J)&&(f=!0),a++;continue}break e}}return k&&(w=h(C,l,Z,f,g,w)),w}function l1(e,t,a,o){return xl(!1,e,t,!1,a,o)}function u1(e,t,a,o){return xl(!1,e,t,!0,a,o)}function Pg(e,t,a,o,h){return xl(!0,e,t,!1,a,o,h)}function Ng(e,t,a,o,h){return xl(!0,e,t,!0,a,o,h)}function p1(e,t,a,o,h,g=[]){return g.push({kind:a,pos:e,end:t,hasTrailingNewLine:o}),g}function Zp(e,t){return Pg(e,t,p1,void 0,void 0)}function Ig(e,t){return Ng(e,t,p1,void 0,void 0)}function Sf(e){let t=Tf.exec(e);if(t)return t[0]}function nr(e,t){return xf(e)||e===36||e===95||e>127&&wg(e,t)}function Or(e,t,a){return s1(e)||e===36||(a===1?e===45||e===58:!1)||e>127&&kg(e,t)}function Og(e,t,a){let o=Qi(e,0);if(!nr(o,t))return!1;for(let h=sn(o);hf,getStartPos:()=>f,getTokenEnd:()=>l,getTextPos:()=>l,getToken:()=>v,getTokenStart:()=>k,getTokenPos:()=>k,getTokenText:()=>C.substring(k,l),getTokenValue:()=>w,hasUnicodeEscape:()=>(J&1024)!==0,hasExtendedUnicodeEscape:()=>(J&8)!==0,hasPrecedingLineBreak:()=>(J&1)!==0,hasPrecedingJSDocComment:()=>(J&2)!==0,isIdentifier:()=>v===80||v>118,isReservedWord:()=>v>=83&&v<=118,isUnterminated:()=>(J&4)!==0,getCommentDirectives:()=>re,getNumericLiteralFlags:()=>J&25584,getTokenFlags:()=>J,reScanGreaterToken:pt,reScanAsteriskEqualsToken:sr,reScanSlashToken:yt,reScanTemplateToken:Wt,reScanTemplateHeadOrNoSubstitutionTemplate:on,scanJsxIdentifier:Ur,scanJsxAttributeValue:Hn,reScanJsxAttributeValue:Ne,reScanJsxToken:or,reScanLessThanToken:vr,reScanHashToken:xr,reScanQuestionToken:Gn,reScanInvalidIdentifier:Vt,scanJsxToken:Yn,scanJsDocToken:j,scanJSDocCommentTextToken:Tr,scan:ut,getText:Ke,clearCommentDirectives:ot,setText:Pt,setScriptTarget:ft,setLanguageVariant:Br,setScriptKind:Sr,setJSDocParsingMode:Jn,setOnError:Tt,resetTokenState:Xn,setTextPos:Xn,setSkipJsDocLeadingAsterisks:Pi,tryScan:Xe,lookAhead:xe,scanRange:fe};return B.isDebugging&&Object.defineProperty(O,"__debugShowCurrentPositionInText",{get:()=>{let z=O.getText();return z.slice(0,O.getTokenFullStart())+"\u2551"+z.slice(O.getTokenFullStart())}}),O;function ae(z){return Qi(C,z)}function ve(z){return z>=0&&z=0&&z=65&&ye<=70)ye+=32;else if(!(ye>=48&&ye<=57||ye>=97&&ye<=102))break;Te.push(ye),l++,Ce=!1}return Te.length=Z){Q+=C.substring(Te,l),J|=4,G(A.Unterminated_string_literal);break}let Se=X(l);if(Se===V){Q+=C.substring(Te,l),l++;break}if(Se===92&&!z){Q+=C.substring(Te,l),Q+=Mt(3),Te=l;continue}if((Se===10||Se===13)&&!z){Q+=C.substring(Te,l),J|=4,G(A.Unterminated_string_literal);break}l++}return Q}function Rr(z){let V=X(l)===96;l++;let Q=l,Te="",Se;for(;;){if(l>=Z){Te+=C.substring(Q,l),J|=4,G(A.Unterminated_template_literal),Se=V?15:18;break}let Ce=X(l);if(Ce===96){Te+=C.substring(Q,l),l++,Se=V?15:18;break}if(Ce===36&&l+1=Z)return G(A.Unexpected_end_of_text),"";let Q=X(l);switch(l++,Q){case 48:if(l>=Z||!xi(X(l)))return"\0";case 49:case 50:case 51:l=55296&&Te<=56319&&l+6=56320&&Ye<=57343)return l=ye,Se+String.fromCharCode(Ye)}return Se;case 120:for(;l1114111&&(z&&G(A.An_extended_Unicode_escape_value_must_be_between_0x0_and_0x10FFFF_inclusive,Q,l-Q),Ce=!0),l>=Z?(z&&G(A.Unexpected_end_of_text),Ce=!0):X(l)===125?l++:(z&&G(A.Unterminated_Unicode_escape_sequence),Ce=!0),Ce?(J|=2048,C.substring(V,l)):(J|=8,Yd(Se))}function Mn(){if(l+5=0&&Or(Q,e)){z+=Vn(!0),V=l;continue}if(Q=Mn(),!(Q>=0&&Or(Q,e)))break;J|=1024,z+=C.substring(V,l),z+=Yd(Q),l+=6,V=l}else break}return z+=C.substring(V,l),z}function Qe(){let z=w.length;if(z>=2&&z<=12){let V=w.charCodeAt(0);if(V>=97&&V<=122){let Q=mg.get(w);if(Q!==void 0)return v=Q}}return v=80}function Wn(z){let V="",Q=!1,Te=!1;for(;;){let Se=X(l);if(Se===95){J|=512,Q?(Q=!1,Te=!0):G(Te?A.Multiple_consecutive_numeric_separators_are_not_permitted:A.Numeric_separators_are_not_allowed_here,l,1),l++;continue}if(Q=!0,!xi(Se)||Se-48>=z)break;V+=C[l],l++,Te=!1}return X(l-1)===95&&G(A.Numeric_separators_are_not_allowed_here,l-1,1),V}function nn(){return X(l)===110?(w+="n",J&384&&(w=Wb(w)+"n"),l++,10):(w=""+(J&128?parseInt(w.slice(2),2):J&256?parseInt(w.slice(2),8):+w),9)}function ut(){f=l,J=0;let z=!1;for(;;){if(k=l,l>=Z)return v=1;let V=ae(l);if(l===0&&V===35&&o1(C,l)){if(l=c1(C,l),t)continue;return v=6}switch(V){case 10:case 13:if(J|=1,t){l++;continue}else return V===13&&l+1=0&&nr(Q,e))return w=Vn(!0)+xt(),v=Qe();let Te=Mn();return Te>=0&&nr(Te,e)?(l+=6,J|=1024,w=String.fromCharCode(Te)+xt(),v=Qe()):(G(A.Invalid_character),l++,v=0);case 35:if(l!==0&&C[l+1]==="!")return G(A.can_only_be_used_at_the_start_of_a_file,l,2),l++,v=0;let Se=ae(l+1);if(Se===92){l++;let Ye=Jt();if(Ye>=0&&nr(Ye,e))return w="#"+Vn(!0)+xt(),v=81;let $e=Mn();if($e>=0&&nr($e,e))return l+=6,J|=1024,w="#"+String.fromCharCode($e)+xt(),v=81;l--}return nr(Se,e)?(l++,jt(Se,e)):(w="#",G(A.Invalid_character,l++,sn(V))),v=81;case 65533:return G(A.File_appears_to_be_binary,0,0),l=Z,v=8;default:let Ce=jt(V,e);if(Ce)return v=Ce;if(hs(V)){l+=sn(V);continue}else if(Dn(V)){J|=1,l+=sn(V);continue}let ye=sn(V);return G(A.Invalid_character,l,ye),l+=ye,v=0}}}function st(){switch(me){case 0:return!0;case 1:return!1}return he!==3&&he!==4?!0:me===3?!1:Sg.test(C.slice(f,l))}function Vt(){B.assert(v===0,"'reScanInvalidIdentifier' should only be called when the current token is 'SyntaxKind.Unknown'."),l=k=f,J=0;let z=ae(l),V=jt(z,99);return V?v=V:(l+=sn(z),v)}function jt(z,V){let Q=z;if(nr(Q,V)){for(l+=sn(Q);l=Z)return v=1;let V=X(l);if(V===60)return X(l+1)===47?(l+=2,v=31):(l++,v=30);if(V===123)return l++,v=19;let Q=0;for(;l0)break;Fa(V)||(Q=l)}l++}return w=C.substring(f,l),Q===-1?13:12}function Ur(){if(bt(v)){for(;l=Z)return v=1;for(let V=X(l);l=0&&hs(X(l-1))&&!(l+1=Z)return v=1;let z=ae(l);switch(l+=sn(z),z){case 9:case 11:case 12:case 32:for(;l=0&&nr(V,e))return w=Vn(!0)+xt(),v=Qe();let Q=Mn();return Q>=0&&nr(Q,e)?(l+=6,J|=1024,w=String.fromCharCode(Q)+xt(),v=Qe()):(l++,v=0)}if(nr(z,e)){let V=z;for(;l=0),l=z,f=z,k=z,v=0,w=void 0,J=0}function Pi(z){be+=z?1:-1}}function Qi(e,t){return e.codePointAt(t)}function sn(e){return e>=65536?2:e===-1?0:1}function Mg(e){if(B.assert(0<=e&&e<=1114111),e<=65535)return String.fromCharCode(e);let t=Math.floor((e-65536)/1024)+55296,a=(e-65536)%1024+56320;return String.fromCharCode(t,a)}var Jg=String.fromCodePoint?e=>String.fromCodePoint(e):Mg;function Yd(e){return Jg(e)}var Hd=new Map(Object.entries({General_Category:"General_Category",gc:"General_Category",Script:"Script",sc:"Script",Script_Extensions:"Script_Extensions",scx:"Script_Extensions"})),Xd=new Set(["ASCII","ASCII_Hex_Digit","AHex","Alphabetic","Alpha","Any","Assigned","Bidi_Control","Bidi_C","Bidi_Mirrored","Bidi_M","Case_Ignorable","CI","Cased","Changes_When_Casefolded","CWCF","Changes_When_Casemapped","CWCM","Changes_When_Lowercased","CWL","Changes_When_NFKC_Casefolded","CWKCF","Changes_When_Titlecased","CWT","Changes_When_Uppercased","CWU","Dash","Default_Ignorable_Code_Point","DI","Deprecated","Dep","Diacritic","Dia","Emoji","Emoji_Component","EComp","Emoji_Modifier","EMod","Emoji_Modifier_Base","EBase","Emoji_Presentation","EPres","Extended_Pictographic","ExtPict","Extender","Ext","Grapheme_Base","Gr_Base","Grapheme_Extend","Gr_Ext","Hex_Digit","Hex","IDS_Binary_Operator","IDSB","IDS_Trinary_Operator","IDST","ID_Continue","IDC","ID_Start","IDS","Ideographic","Ideo","Join_Control","Join_C","Logical_Order_Exception","LOE","Lowercase","Lower","Math","Noncharacter_Code_Point","NChar","Pattern_Syntax","Pat_Syn","Pattern_White_Space","Pat_WS","Quotation_Mark","QMark","Radical","Regional_Indicator","RI","Sentence_Terminal","STerm","Soft_Dotted","SD","Terminal_Punctuation","Term","Unified_Ideograph","UIdeo","Uppercase","Upper","Variation_Selector","VS","White_Space","space","XID_Continue","XIDC","XID_Start","XIDS"]),$d=new Set(["Basic_Emoji","Emoji_Keycap_Sequence","RGI_Emoji_Modifier_Sequence","RGI_Emoji_Flag_Sequence","RGI_Emoji_Tag_Sequence","RGI_Emoji_ZWJ_Sequence","RGI_Emoji"]),qa={General_Category:new Set(["C","Other","Cc","Control","cntrl","Cf","Format","Cn","Unassigned","Co","Private_Use","Cs","Surrogate","L","Letter","LC","Cased_Letter","Ll","Lowercase_Letter","Lm","Modifier_Letter","Lo","Other_Letter","Lt","Titlecase_Letter","Lu","Uppercase_Letter","M","Mark","Combining_Mark","Mc","Spacing_Mark","Me","Enclosing_Mark","Mn","Nonspacing_Mark","N","Number","Nd","Decimal_Number","digit","Nl","Letter_Number","No","Other_Number","P","Punctuation","punct","Pc","Connector_Punctuation","Pd","Dash_Punctuation","Pe","Close_Punctuation","Pf","Final_Punctuation","Pi","Initial_Punctuation","Po","Other_Punctuation","Ps","Open_Punctuation","S","Symbol","Sc","Currency_Symbol","Sk","Modifier_Symbol","Sm","Math_Symbol","So","Other_Symbol","Z","Separator","Zl","Line_Separator","Zp","Paragraph_Separator","Zs","Space_Separator"]),Script:new Set(["Adlm","Adlam","Aghb","Caucasian_Albanian","Ahom","Arab","Arabic","Armi","Imperial_Aramaic","Armn","Armenian","Avst","Avestan","Bali","Balinese","Bamu","Bamum","Bass","Bassa_Vah","Batk","Batak","Beng","Bengali","Bhks","Bhaiksuki","Bopo","Bopomofo","Brah","Brahmi","Brai","Braille","Bugi","Buginese","Buhd","Buhid","Cakm","Chakma","Cans","Canadian_Aboriginal","Cari","Carian","Cham","Cher","Cherokee","Chrs","Chorasmian","Copt","Coptic","Qaac","Cpmn","Cypro_Minoan","Cprt","Cypriot","Cyrl","Cyrillic","Deva","Devanagari","Diak","Dives_Akuru","Dogr","Dogra","Dsrt","Deseret","Dupl","Duployan","Egyp","Egyptian_Hieroglyphs","Elba","Elbasan","Elym","Elymaic","Ethi","Ethiopic","Geor","Georgian","Glag","Glagolitic","Gong","Gunjala_Gondi","Gonm","Masaram_Gondi","Goth","Gothic","Gran","Grantha","Grek","Greek","Gujr","Gujarati","Guru","Gurmukhi","Hang","Hangul","Hani","Han","Hano","Hanunoo","Hatr","Hatran","Hebr","Hebrew","Hira","Hiragana","Hluw","Anatolian_Hieroglyphs","Hmng","Pahawh_Hmong","Hmnp","Nyiakeng_Puachue_Hmong","Hrkt","Katakana_Or_Hiragana","Hung","Old_Hungarian","Ital","Old_Italic","Java","Javanese","Kali","Kayah_Li","Kana","Katakana","Kawi","Khar","Kharoshthi","Khmr","Khmer","Khoj","Khojki","Kits","Khitan_Small_Script","Knda","Kannada","Kthi","Kaithi","Lana","Tai_Tham","Laoo","Lao","Latn","Latin","Lepc","Lepcha","Limb","Limbu","Lina","Linear_A","Linb","Linear_B","Lisu","Lyci","Lycian","Lydi","Lydian","Mahj","Mahajani","Maka","Makasar","Mand","Mandaic","Mani","Manichaean","Marc","Marchen","Medf","Medefaidrin","Mend","Mende_Kikakui","Merc","Meroitic_Cursive","Mero","Meroitic_Hieroglyphs","Mlym","Malayalam","Modi","Mong","Mongolian","Mroo","Mro","Mtei","Meetei_Mayek","Mult","Multani","Mymr","Myanmar","Nagm","Nag_Mundari","Nand","Nandinagari","Narb","Old_North_Arabian","Nbat","Nabataean","Newa","Nkoo","Nko","Nshu","Nushu","Ogam","Ogham","Olck","Ol_Chiki","Orkh","Old_Turkic","Orya","Oriya","Osge","Osage","Osma","Osmanya","Ougr","Old_Uyghur","Palm","Palmyrene","Pauc","Pau_Cin_Hau","Perm","Old_Permic","Phag","Phags_Pa","Phli","Inscriptional_Pahlavi","Phlp","Psalter_Pahlavi","Phnx","Phoenician","Plrd","Miao","Prti","Inscriptional_Parthian","Rjng","Rejang","Rohg","Hanifi_Rohingya","Runr","Runic","Samr","Samaritan","Sarb","Old_South_Arabian","Saur","Saurashtra","Sgnw","SignWriting","Shaw","Shavian","Shrd","Sharada","Sidd","Siddham","Sind","Khudawadi","Sinh","Sinhala","Sogd","Sogdian","Sogo","Old_Sogdian","Sora","Sora_Sompeng","Soyo","Soyombo","Sund","Sundanese","Sylo","Syloti_Nagri","Syrc","Syriac","Tagb","Tagbanwa","Takr","Takri","Tale","Tai_Le","Talu","New_Tai_Lue","Taml","Tamil","Tang","Tangut","Tavt","Tai_Viet","Telu","Telugu","Tfng","Tifinagh","Tglg","Tagalog","Thaa","Thaana","Thai","Tibt","Tibetan","Tirh","Tirhuta","Tnsa","Tangsa","Toto","Ugar","Ugaritic","Vaii","Vai","Vith","Vithkuqi","Wara","Warang_Citi","Wcho","Wancho","Xpeo","Old_Persian","Xsux","Cuneiform","Yezi","Yezidi","Yiii","Yi","Zanb","Zanabazar_Square","Zinh","Inherited","Qaai","Zyyy","Common","Zzzz","Unknown"]),Script_Extensions:void 0};qa.Script_Extensions=qa.Script;function Nr(e){return e.start+e.length}function jg(e){return e.length===0}function kf(e,t){if(e<0)throw new Error("start < 0");if(t<0)throw new Error("length < 0");return{start:e,length:t}}function Lg(e,t){return kf(e,t-e)}function ps(e){return kf(e.span.start,e.newLength)}function Rg(e){return jg(e.span)&&e.newLength===0}function f1(e,t){if(t<0)throw new Error("newLength < 0");return{span:e,newLength:t}}var L3=f1(kf(0,0),0);function Ef(e,t){for(;e;){let a=t(e);if(a==="quit")return;if(a)return e;e=e.parent}}function fl(e){return(e.flags&16)===0}function Ug(e,t){if(e===void 0||fl(e))return e;for(e=e.original;e;){if(fl(e))return!t||t(e)?e:void 0;e=e.original}}function Ra(e){return e.length>=2&&e.charCodeAt(0)===95&&e.charCodeAt(1)===95?"_"+e:e}function Ts(e){let t=e;return t.length>=3&&t.charCodeAt(0)===95&&t.charCodeAt(1)===95&&t.charCodeAt(2)===95?t.substr(1):t}function Nn(e){return Ts(e.escapedText)}function Ns(e){let t=i1(e.escapedText);return t?Wy(t,Ti):void 0}function ef(e){return e.valueDeclaration&&s2(e.valueDeclaration)?Nn(e.valueDeclaration.name):Ts(e.escapedName)}function d1(e){let t=e.parent.parent;if(t){if(Zd(t))return $c(t);switch(t.kind){case 243:if(t.declarationList&&t.declarationList.declarations[0])return $c(t.declarationList.declarations[0]);break;case 244:let a=t.expression;switch(a.kind===226&&a.operatorToken.kind===64&&(a=a.left),a.kind){case 211:return a.name;case 212:let o=a.argumentExpression;if(et(o))return o}break;case 217:return $c(t.expression);case 256:{if(Zd(t.statement)||b2(t.statement))return $c(t.statement);break}}}}function $c(e){let t=m1(e);return t&&et(t)?t:void 0}function Bg(e){return e.name||d1(e)}function qg(e){return!!e.name}function Af(e){switch(e.kind){case 80:return e;case 348:case 341:{let{name:a}=e;if(a.kind===166)return a.right;break}case 213:case 226:{let a=e;switch(Of(a)){case 1:case 4:case 5:case 3:return Mf(a.left);case 7:case 8:case 9:return a.arguments[1];default:return}}case 346:return Bg(e);case 340:return d1(e);case 277:{let{expression:a}=e;return et(a)?a:void 0}case 212:let t=e;if(I1(t))return t.argumentExpression}return e.name}function m1(e){if(e!==void 0)return Af(e)||(Hf(e)||Xf(e)||yl(e)?zg(e):void 0)}function zg(e){if(e.parent){if(nd(e.parent)||rh(e.parent))return e.parent.name;if(ia(e.parent)&&e===e.parent.right){if(et(e.parent.left))return e.parent.left;if(R1(e.parent.left))return Mf(e.parent.left)}else if(Nl(e.parent)&&et(e.parent.name))return e.parent.name}else return}function Tl(e){if(fb(e))return Kr(e.modifiers,El)}function h1(e){if(Os(e,98303))return Kr(e.modifiers,l2)}function y1(e,t){if(e.name)if(et(e.name)){let a=e.name.escapedText;return Ss(e.parent,t).filter(o=>sf(o)&&et(o.name)&&o.name.escapedText===a)}else{let a=e.parent.parameters.indexOf(e);B.assert(a>-1,"Parameters should always be in their parents' parameter list");let o=Ss(e.parent,t).filter(sf);if(avh(o)&&o.typeParameters.some(h=>h.name.escapedText===a))}function Wg(e){return g1(e,!1)}function Gg(e){return g1(e,!0)}function Yg(e){return ki(e,D6)}function Hg(e){return n2(e,R6)}function Xg(e){return ki(e,P6,!0)}function $g(e){return ki(e,N6,!0)}function Qg(e){return ki(e,I6,!0)}function Kg(e){return ki(e,O6,!0)}function Zg(e){return ki(e,M6,!0)}function e2(e){return ki(e,j6,!0)}function t2(e){let t=ki(e,rd);if(t&&t.typeExpression&&t.typeExpression.type)return t}function Ss(e,t){var a;if(!Jf(e))return Ot;let o=(a=e.jsDoc)==null?void 0:a.jsDocCache;if(o===void 0||t){let h=Q2(e,t);B.assert(h.length<2||h[0]!==h[1]),o=Fm(h,g=>bh(g)?g.tags:g),t||(e.jsDoc??(e.jsDoc=[]),e.jsDoc.jsDocCache=o)}return o}function b1(e){return Ss(e,!1)}function ki(e,t,a){return qm(Ss(e,a),t)}function n2(e,t){return b1(e).filter(t)}function tf(e){return e.kind===80||e.kind===81}function r2(e){return br(e)&&!!(e.flags&64)}function i2(e){return _a(e)&&!!(e.flags&64)}function Qd(e){return Cl(e)&&!!(e.flags&64)}function Cf(e){return _d(e,8)}function a2(e){return sl(e)&&!!(e.flags&64)}function Df(e){return e>=166}function Pf(e){return e>=0&&e<=165}function v1(e){return Pf(e.kind)}function Si(e){return Mr(e,"pos")&&Mr(e,"end")}function _2(e){return 9<=e&&e<=15}function Kd(e){return 15<=e&&e<=18}function za(e){var t;return et(e)&&((t=e.emitNode)==null?void 0:t.autoGenerate)!==void 0}function x1(e){var t;return wi(e)&&((t=e.emitNode)==null?void 0:t.autoGenerate)!==void 0}function s2(e){return(Ha(e)||f2(e))&&wi(e.name)}function $r(e){switch(e){case 128:case 129:case 134:case 87:case 138:case 90:case 95:case 103:case 125:case 123:case 124:case 148:case 126:case 147:case 164:return!0}return!1}function o2(e){return!!(j1(e)&31)}function c2(e){return o2(e)||e===126||e===164||e===129}function l2(e){return $r(e.kind)}function T1(e){let t=e.kind;return t===80||t===81||t===11||t===9||t===167}function Nf(e){return!!e&&p2(e.kind)}function u2(e){switch(e){case 262:case 174:case 176:case 177:case 178:case 218:case 219:return!0;default:return!1}}function p2(e){switch(e){case 173:case 179:case 323:case 180:case 181:case 184:case 317:case 185:return!0;default:return u2(e)}}function Ei(e){return e&&(e.kind===263||e.kind===231)}function f2(e){switch(e.kind){case 174:case 177:case 178:return!0;default:return!1}}function d2(e){let t=e.kind;return t===303||t===304||t===305||t===174||t===177||t===178}function S1(e){return wb(e.kind)}function m2(e){if(e){let t=e.kind;return t===207||t===206}return!1}function h2(e){let t=e.kind;return t===209||t===210}function y2(e){switch(e.kind){case 260:case 169:case 208:return!0}return!1}function Va(e){return w1(Cf(e).kind)}function w1(e){switch(e){case 211:case 212:case 214:case 213:case 284:case 285:case 288:case 215:case 209:case 217:case 210:case 231:case 218:case 80:case 81:case 14:case 9:case 10:case 11:case 15:case 228:case 97:case 106:case 110:case 112:case 108:case 235:case 233:case 236:case 102:case 282:return!0;default:return!1}}function g2(e){return k1(Cf(e).kind)}function k1(e){switch(e){case 224:case 225:case 220:case 221:case 222:case 223:case 216:return!0;default:return w1(e)}}function b2(e){return v2(Cf(e).kind)}function v2(e){switch(e){case 227:case 229:case 219:case 226:case 230:case 234:case 232:case 355:case 354:case 238:return!0;default:return k1(e)}}function x2(e){return e===219||e===208||e===263||e===231||e===175||e===176||e===266||e===306||e===281||e===262||e===218||e===177||e===273||e===271||e===276||e===264||e===291||e===174||e===173||e===267||e===270||e===274||e===280||e===169||e===303||e===172||e===171||e===178||e===304||e===265||e===168||e===260||e===346||e===338||e===348||e===202}function E1(e){return e===262||e===282||e===263||e===264||e===265||e===266||e===267||e===272||e===271||e===278||e===277||e===270}function A1(e){return e===252||e===251||e===259||e===246||e===244||e===242||e===249||e===250||e===248||e===245||e===256||e===253||e===255||e===257||e===258||e===243||e===247||e===254||e===353}function Zd(e){return e.kind===168?e.parent&&e.parent.kind!==345||aa(e):x2(e.kind)}function T2(e){let t=e.kind;return A1(t)||E1(t)||S2(e)}function S2(e){return e.kind!==241||e.parent!==void 0&&(e.parent.kind===258||e.parent.kind===299)?!1:!R2(e)}function w2(e){let t=e.kind;return A1(t)||E1(t)||t===241}function C1(e){return e.kind>=309&&e.kind<=351}function k2(e){return e.kind===320||e.kind===319||e.kind===321||C2(e)||E2(e)||C6(e)||Ol(e)}function E2(e){return e.kind>=327&&e.kind<=351}function Qc(e){return e.kind===178}function Kc(e){return e.kind===177}function Zi(e){if(!Jf(e))return!1;let{jsDoc:t}=e;return!!t&&t.length>0}function A2(e){return!!e.initializer}function Sl(e){return e.kind===11||e.kind===15}function C2(e){return e.kind===324||e.kind===325||e.kind===326}function em(e){return(e.flags&33554432)!==0}var R3=D2();function D2(){var e="";let t=a=>e+=a;return{getText:()=>e,write:t,rawWrite:t,writeKeyword:t,writeOperator:t,writePunctuation:t,writeSpace:t,writeStringLiteral:t,writeLiteral:t,writeParameter:t,writeProperty:t,writeSymbol:(a,o)=>t(a),writeTrailingSemicolon:t,writeComment:t,getTextPos:()=>e.length,getLine:()=>0,getColumn:()=>0,getIndent:()=>0,isAtStartOfLine:()=>!1,hasTrailingComment:()=>!1,hasTrailingWhitespace:()=>!!e.length&&Fa(e.charCodeAt(e.length-1)),writeLine:()=>e+=" ",increaseIndent:Ga,decreaseIndent:Ga,clear:()=>e=""}}function P2(e,t){let a=e.entries();for(let[o,h]of a){let g=t(h,o);if(g)return g}}function N2(e){return e.end-e.pos}function D1(e){return I2(e),(e.flags&1048576)!==0}function I2(e){e.flags&2097152||((e.flags&262144||tn(e,D1))&&(e.flags|=1048576),e.flags|=2097152)}function Ya(e){for(;e&&e.kind!==307;)e=e.parent;return e}function ea(e){return e===void 0?!0:e.pos===e.end&&e.pos>=0&&e.kind!==1}function nf(e){return!ea(e)}function dl(e,t,a){if(ea(e))return e.pos;if(C1(e)||e.kind===12)return Qr((t||Ya(e)).text,e.pos,!1,!0);if(a&&Zi(e))return dl(e.jsDoc[0],t);if(e.kind===352){let o=pf(xh(e));if(o)return dl(o,t,a)}return Qr((t||Ya(e)).text,e.pos,!1,!1,U2(e))}function tm(e,t,a=!1){return ys(e.text,t,a)}function O2(e){return!!Ef(e,hh)}function ys(e,t,a=!1){if(ea(t))return"";let o=e.substring(a?t.pos:Qr(e,t.pos),t.end);return O2(t)&&(o=o.split(/\r\n|\n|\r/).map(h=>h.replace(/^\s*\*/,"").trimStart()).join(` +`)),o}function Wa(e){let t=e.emitNode;return t&&t.flags||0}function M2(e,t,a){B.assertGreaterThanOrEqual(t,0),B.assertGreaterThanOrEqual(a,0),B.assertLessThanOrEqual(t,e.length),B.assertLessThanOrEqual(t+a,e.length)}function _l(e){return e.kind===244&&e.expression.kind===11}function If(e){return!!(Wa(e)&2097152)}function nm(e){return If(e)&&$f(e)}function J2(e){return et(e.name)&&!e.initializer}function rm(e){return If(e)&&Ka(e)&&lf(e.declarationList.declarations,J2)}function j2(e,t){let a=e.kind===169||e.kind===168||e.kind===218||e.kind===219||e.kind===217||e.kind===260||e.kind===281?uf(Ig(t,e.pos),Zp(t,e.pos)):Zp(t,e.pos);return Kr(a,o=>o.end<=e.end&&t.charCodeAt(o.pos+1)===42&&t.charCodeAt(o.pos+2)===42&&t.charCodeAt(o.pos+3)!==47)}function L2(e){if(e)switch(e.kind){case 208:case 306:case 169:case 303:case 172:case 171:case 304:case 260:return!0}return!1}function R2(e){return e&&e.kind===241&&Nf(e.parent)}function im(e){let t=e.kind;return(t===211||t===212)&&e.expression.kind===108}function aa(e){return!!e&&!!(e.flags&524288)}function U2(e){return!!e&&!!(e.flags&16777216)}function B2(e){for(;ml(e,!0);)e=e.right;return e}function q2(e){return et(e)&&e.escapedText==="exports"}function z2(e){return et(e)&&e.escapedText==="module"}function P1(e){return(br(e)||N1(e))&&z2(e.expression)&&ks(e)==="exports"}function Of(e){let t=V2(e);return t===5||aa(e)?t:0}function F2(e){return ms(e.arguments)===3&&br(e.expression)&&et(e.expression.expression)&&Nn(e.expression.expression)==="Object"&&Nn(e.expression.name)==="defineProperty"&&wl(e.arguments[1])&&ws(e.arguments[0],!0)}function N1(e){return _a(e)&&wl(e.argumentExpression)}function Is(e,t){return br(e)&&(!t&&e.expression.kind===110||et(e.name)&&ws(e.expression,!0))||I1(e,t)}function I1(e,t){return N1(e)&&(!t&&e.expression.kind===110||Rf(e.expression)||Is(e.expression,!0))}function ws(e,t){return Rf(e)||Is(e,t)}function V2(e){if(Cl(e)){if(!F2(e))return 0;let t=e.arguments[0];return q2(t)||P1(t)?8:Is(t)&&ks(t)==="prototype"?9:7}return e.operatorToken.kind!==64||!R1(e.left)||W2(B2(e))?0:ws(e.left.expression,!0)&&ks(e.left)==="prototype"&&Yf(Y2(e))?6:G2(e.left)}function W2(e){return T6(e)&&Ai(e.expression)&&e.expression.text==="0"}function Mf(e){if(br(e))return e.name;let t=jf(e.argumentExpression);return Ai(t)||Sl(t)?t:e}function ks(e){let t=Mf(e);if(t){if(et(t))return t.escapedText;if(Sl(t)||Ai(t))return Ra(t.text)}}function G2(e){if(e.expression.kind===110)return 4;if(P1(e))return 2;if(ws(e.expression,!0)){if(Tb(e.expression))return 3;let t=e;for(;!et(t.expression);)t=t.expression;let a=t.expression;if((a.escapedText==="exports"||a.escapedText==="module"&&ks(t)==="exports")&&Is(e))return 1;if(ws(e,!0)||_a(e)&&sb(e))return 5}return 0}function Y2(e){for(;ia(e.right);)e=e.right;return e.right}function H2(e){return Pl(e)&&ia(e.expression)&&Of(e.expression)!==0&&ia(e.expression.right)&&(e.expression.right.operatorToken.kind===57||e.expression.right.operatorToken.kind===61)?e.expression.right.right:void 0}function X2(e){switch(e.kind){case 243:let t=rf(e);return t&&t.initializer;case 172:return e.initializer;case 303:return e.initializer}}function rf(e){return Ka(e)?pf(e.declarationList.declarations):void 0}function $2(e){return ei(e)&&e.body&&e.body.kind===267?e.body:void 0}function Jf(e){switch(e.kind){case 219:case 226:case 241:case 252:case 179:case 296:case 263:case 231:case 175:case 176:case 185:case 180:case 251:case 259:case 246:case 212:case 242:case 1:case 266:case 306:case 277:case 278:case 281:case 244:case 249:case 250:case 248:case 262:case 218:case 184:case 177:case 80:case 245:case 272:case 271:case 181:case 264:case 317:case 323:case 256:case 174:case 173:case 267:case 202:case 270:case 210:case 169:case 217:case 211:case 303:case 172:case 171:case 253:case 240:case 178:case 304:case 305:case 255:case 257:case 258:case 265:case 168:case 260:case 243:case 247:case 254:return!0;default:return!1}}function Q2(e,t){let a;L2(e)&&A2(e)&&Zi(e.initializer)&&(a=Pn(a,am(e,e.initializer.jsDoc)));let o=e;for(;o&&o.parent;){if(Zi(o)&&(a=Pn(a,am(e,o.jsDoc))),o.kind===169){a=Pn(a,(t?Vg:Fg)(o));break}if(o.kind===168){a=Pn(a,(t?Gg:Wg)(o));break}o=Z2(o)}return a||Ot}function am(e,t){let a=jy(t);return Fm(t,o=>{if(o===a){let h=Kr(o.tags,g=>K2(e,g));return o.tags===h?[o]:h}else return Kr(o.tags,J6)})}function K2(e,t){return!(rd(t)||U6(t))||!t.parent||!bh(t.parent)||!Dl(t.parent.parent)||t.parent.parent===e}function Z2(e){let t=e.parent;if(t.kind===303||t.kind===277||t.kind===172||t.kind===244&&e.kind===211||t.kind===253||$2(t)||ml(e))return t;if(t.parent&&(rf(t.parent)===e||ml(t)))return t.parent;if(t.parent&&t.parent.parent&&(rf(t.parent.parent)||X2(t.parent.parent)===e||H2(t.parent.parent)))return t.parent.parent}function jf(e,t){return _d(e,t?17:1)}function eb(e){let t=tb(e);if(t&&aa(e)){let a=Yg(e);if(a)return a.class}return t}function tb(e){let t=Lf(e.heritageClauses,96);return t&&t.types.length>0?t.types[0]:void 0}function nb(e){if(aa(e))return Hg(e).map(t=>t.class);{let t=Lf(e.heritageClauses,119);return t==null?void 0:t.types}}function rb(e){return Ms(e)?ib(e)||Ot:Ei(e)&&uf(Xp(eb(e)),nb(e))||Ot}function ib(e){let t=Lf(e.heritageClauses,96);return t?t.types:void 0}function Lf(e,t){if(e){for(let a of e)if(a.token===t)return a}}function Ti(e){return 83<=e&&e<=165}function ab(e){return 19<=e&&e<=79}function Up(e){return Ti(e)||ab(e)}function wl(e){return Sl(e)||Ai(e)}function _b(e){return _h(e)&&(e.operator===40||e.operator===41)&&Ai(e.operand)}function sb(e){if(!(e.kind===167||e.kind===212))return!1;let t=_a(e)?jf(e.argumentExpression):e.expression;return!wl(t)&&!_b(t)}function ob(e){return tf(e)?Nn(e):dh(e)?Qb(e):e.text}function Ua(e){return Es(e.pos)||Es(e.end)}function Bp(e){switch(e){case 61:return 4;case 57:return 5;case 56:return 6;case 52:return 7;case 53:return 8;case 51:return 9;case 35:case 36:case 37:case 38:return 10;case 30:case 32:case 33:case 34:case 104:case 103:case 130:case 152:return 11;case 48:case 49:case 50:return 12;case 40:case 41:return 13;case 42:case 44:case 45:return 14;case 43:return 15}return-1}function qp(e){return!!((e.templateFlags||0)&2048)}function cb(e){return e&&!!(F1(e)?qp(e):qp(e.head)||qt(e.templateSpans,t=>qp(t.literal)))}var U3=new Map(Object.entries({" ":"\\t","\v":"\\v","\f":"\\f","\b":"\\b","\r":"\\r","\n":"\\n","\\":"\\\\",'"':'\\"',"'":"\\'","`":"\\`","\u2028":"\\u2028","\u2029":"\\u2029","\x85":"\\u0085","\r\n":"\\r\\n"}));var B3=new Map(Object.entries({'"':""","'":"'"}));function lb(e){return!!e&&e.kind===80&&ub(e)}function ub(e){return e.escapedText==="this"}function Os(e,t){return!!db(e,t)}function pb(e){return Os(e,256)}function fb(e){return Os(e,32768)}function db(e,t){return hb(e)&t}function mb(e,t,a){return e.kind>=0&&e.kind<=165?0:(e.modifierFlagsCache&536870912||(e.modifierFlagsCache=J1(e)|536870912),a||t&&aa(e)?(!(e.modifierFlagsCache&268435456)&&e.parent&&(e.modifierFlagsCache|=O1(e)|268435456),M1(e.modifierFlagsCache)):yb(e.modifierFlagsCache))}function hb(e){return mb(e,!1)}function O1(e){let t=0;return e.parent&&!As(e)&&(aa(e)&&(Xg(e)&&(t|=8388608),$g(e)&&(t|=16777216),Qg(e)&&(t|=33554432),Kg(e)&&(t|=67108864),Zg(e)&&(t|=134217728)),e2(e)&&(t|=65536)),t}function yb(e){return e&65535}function M1(e){return e&131071|(e&260046848)>>>23}function gb(e){return M1(O1(e))}function bb(e){return J1(e)|gb(e)}function J1(e){let t=Ml(e)?qn(e.modifiers):0;return(e.flags&8||e.kind===80&&e.flags&4096)&&(t|=32),t}function qn(e){let t=0;if(e)for(let a of e)t|=j1(a.kind);return t}function j1(e){switch(e){case 126:return 256;case 125:return 1;case 124:return 4;case 123:return 2;case 128:return 64;case 129:return 512;case 95:return 32;case 138:return 128;case 87:return 4096;case 90:return 2048;case 134:return 1024;case 148:return 8;case 164:return 16;case 103:return 8192;case 147:return 16384;case 170:return 32768}return 0}function vb(e){return e===76||e===77||e===78}function L1(e){return e>=64&&e<=79}function ml(e,t){return ia(e)&&(t?e.operatorToken.kind===64:L1(e.operatorToken.kind))&&Va(e.left)}function Rf(e){return e.kind===80||xb(e)}function xb(e){return br(e)&&et(e.name)&&Rf(e.expression)}function Tb(e){return Is(e)&&ks(e)==="prototype"}function zp(e){return e.flags&3899393?e.objectFlags:0}function Sb(e){let t;return tn(e,a=>{nf(a)&&(t=a)},a=>{for(let o=a.length-1;o>=0;o--)if(nf(a[o])){t=a[o];break}}),t}function wb(e){return e>=182&&e<=205||e===133||e===159||e===150||e===163||e===151||e===136||e===154||e===155||e===116||e===157||e===146||e===141||e===233||e===312||e===313||e===314||e===315||e===316||e===317||e===318}function R1(e){return e.kind===211||e.kind===212}function kb(e,t){this.flags=e,this.escapedName=t,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.lastAssignmentPos=void 0,this.links=void 0}function Eb(e,t){this.flags=t,(B.isDebugging||il)&&(this.checker=e)}function Ab(e,t){this.flags=t,B.isDebugging&&(this.checker=e)}function Fp(e,t,a){this.pos=t,this.end=a,this.kind=e,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 Cb(e,t,a){this.pos=t,this.end=a,this.kind=e,this.id=0,this.flags=0,this.transformFlags=0,this.parent=void 0,this.emitNode=void 0}function Db(e,t,a){this.pos=t,this.end=a,this.kind=e,this.id=0,this.flags=0,this.transformFlags=0,this.parent=void 0,this.original=void 0,this.emitNode=void 0}function Pb(e,t,a){this.fileName=e,this.text=t,this.skipTrivia=a||(o=>o)}var Ct={getNodeConstructor:()=>Fp,getTokenConstructor:()=>Cb,getIdentifierConstructor:()=>Db,getPrivateIdentifierConstructor:()=>Fp,getSourceFileConstructor:()=>Fp,getSymbolConstructor:()=>kb,getTypeConstructor:()=>Eb,getSignatureConstructor:()=>Ab,getSourceMapSourceConstructor:()=>Pb},Nb=[];function Ib(e){Object.assign(Ct,e),zn(Nb,t=>t(Ct))}function Ob(e,t){return e.replace(/{(\d+)}/g,(a,o)=>""+B.checkDefined(t[+o]))}var _m;function Mb(e){return _m&&_m[e.key]||e.message}function ja(e,t,a,o,h,...g){a+o>t.length&&(o=t.length-a),M2(t,a,o);let E=Mb(h);return qt(g)&&(E=Ob(E,g)),{file:void 0,start:a,length:o,messageText:E,category:h.category,code:h.code,reportsUnnecessary:h.reportsUnnecessary,fileName:e}}function Jb(e){return e.file===void 0&&e.start!==void 0&&e.length!==void 0&&typeof e.fileName=="string"}function U1(e,t){let a=t.fileName||"",o=t.text.length;B.assertEqual(e.fileName,a),B.assertLessThanOrEqual(e.start,o),B.assertLessThanOrEqual(e.start+e.length,o);let h={file:t,start:e.start,length:e.length,messageText:e.messageText,category:e.category,code:e.code,reportsUnnecessary:e.reportsUnnecessary};if(e.relatedInformation){h.relatedInformation=[];for(let g of e.relatedInformation)Jb(g)&&g.fileName===a?(B.assertLessThanOrEqual(g.start,o),B.assertLessThanOrEqual(g.start+g.length,o),h.relatedInformation.push(U1(g,t))):h.relatedInformation.push(g)}return h}function Yi(e,t){let a=[];for(let o of e)a.push(U1(o,t));return a}function sm(e){return e===4||e===2||e===1||e===6?1:0}var lt={target:{dependencies:["module"],computeValue:e=>(e.target===0?void 0:e.target)??(e.module===100&&9||e.module===199&&99||1)},module:{dependencies:["target"],computeValue:e=>typeof e.module=="number"?e.module:lt.target.computeValue(e)>=2?5:1},moduleResolution:{dependencies:["module","target"],computeValue:e=>{let t=e.moduleResolution;if(t===void 0)switch(lt.module.computeValue(e)){case 1:t=2;break;case 100:t=3;break;case 199:t=99;break;case 200:t=100;break;default:t=1;break}return t}},moduleDetection:{dependencies:["module","target"],computeValue:e=>e.moduleDetection||(lt.module.computeValue(e)===100||lt.module.computeValue(e)===199?3:2)},isolatedModules:{dependencies:["verbatimModuleSyntax"],computeValue:e=>!!(e.isolatedModules||e.verbatimModuleSyntax)},esModuleInterop:{dependencies:["module","target"],computeValue:e=>{if(e.esModuleInterop!==void 0)return e.esModuleInterop;switch(lt.module.computeValue(e)){case 100:case 199:case 200:return!0}return!1}},allowSyntheticDefaultImports:{dependencies:["module","target","moduleResolution"],computeValue:e=>e.allowSyntheticDefaultImports!==void 0?e.allowSyntheticDefaultImports:lt.esModuleInterop.computeValue(e)||lt.module.computeValue(e)===4||lt.moduleResolution.computeValue(e)===100},resolvePackageJsonExports:{dependencies:["moduleResolution"],computeValue:e=>{let t=lt.moduleResolution.computeValue(e);if(!om(t))return!1;if(e.resolvePackageJsonExports!==void 0)return e.resolvePackageJsonExports;switch(t){case 3:case 99:case 100:return!0}return!1}},resolvePackageJsonImports:{dependencies:["moduleResolution","resolvePackageJsonExports"],computeValue:e=>{let t=lt.moduleResolution.computeValue(e);if(!om(t))return!1;if(e.resolvePackageJsonExports!==void 0)return e.resolvePackageJsonExports;switch(t){case 3:case 99:case 100:return!0}return!1}},resolveJsonModule:{dependencies:["moduleResolution","module","target"],computeValue:e=>e.resolveJsonModule!==void 0?e.resolveJsonModule:lt.moduleResolution.computeValue(e)===100},declaration:{dependencies:["composite"],computeValue:e=>!!(e.declaration||e.composite)},preserveConstEnums:{dependencies:["isolatedModules","verbatimModuleSyntax"],computeValue:e=>!!(e.preserveConstEnums||lt.isolatedModules.computeValue(e))},incremental:{dependencies:["composite"],computeValue:e=>!!(e.incremental||e.composite)},declarationMap:{dependencies:["declaration","composite"],computeValue:e=>!!(e.declarationMap&<.declaration.computeValue(e))},allowJs:{dependencies:["checkJs"],computeValue:e=>e.allowJs===void 0?!!e.checkJs:e.allowJs},useDefineForClassFields:{dependencies:["target","module"],computeValue:e=>e.useDefineForClassFields===void 0?lt.target.computeValue(e)>=9:e.useDefineForClassFields},noImplicitAny:{dependencies:["strict"],computeValue:e=>gi(e,"noImplicitAny")},noImplicitThis:{dependencies:["strict"],computeValue:e=>gi(e,"noImplicitThis")},strictNullChecks:{dependencies:["strict"],computeValue:e=>gi(e,"strictNullChecks")},strictFunctionTypes:{dependencies:["strict"],computeValue:e=>gi(e,"strictFunctionTypes")},strictBindCallApply:{dependencies:["strict"],computeValue:e=>gi(e,"strictBindCallApply")},strictPropertyInitialization:{dependencies:["strict"],computeValue:e=>gi(e,"strictPropertyInitialization")},alwaysStrict:{dependencies:["strict"],computeValue:e=>gi(e,"alwaysStrict")},useUnknownInCatchVariables:{dependencies:["strict"],computeValue:e=>gi(e,"useUnknownInCatchVariables")}},q3=lt.target.computeValue,z3=lt.module.computeValue,F3=lt.moduleResolution.computeValue,V3=lt.moduleDetection.computeValue,W3=lt.isolatedModules.computeValue,G3=lt.esModuleInterop.computeValue,Y3=lt.allowSyntheticDefaultImports.computeValue,H3=lt.resolvePackageJsonExports.computeValue,X3=lt.resolvePackageJsonImports.computeValue,$3=lt.resolveJsonModule.computeValue,Q3=lt.declaration.computeValue,K3=lt.preserveConstEnums.computeValue,Z3=lt.incremental.computeValue,ex=lt.declarationMap.computeValue,tx=lt.allowJs.computeValue,nx=lt.useDefineForClassFields.computeValue;function om(e){return e>=3&&e<=99||e===100}function gi(e,t){return e[t]===void 0?!!e.strict:!!e[t]}function jb(e){return P2(targetOptionDeclaration.type,(t,a)=>t===e?a:void 0)}var Lb=["node_modules","bower_components","jspm_packages"],B1=`(?!(${Lb.join("|")})(/|$))`,Rb={singleAsteriskRegexFragment:"([^./]|(\\.(?!min\\.js$))?)*",doubleAsteriskRegexFragment:`(/${B1}[^/.][^/]*)*?`,replaceWildcardCharacter:e=>q1(e,Rb.singleAsteriskRegexFragment)},Ub={singleAsteriskRegexFragment:"[^/]*",doubleAsteriskRegexFragment:`(/${B1}[^/.][^/]*)*?`,replaceWildcardCharacter:e=>q1(e,Ub.singleAsteriskRegexFragment)};function q1(e,t){return e==="*"?t:e==="?"?"[^/]":"\\"+e}function Bb(e,t){return t||qb(e)||3}function qb(e){switch(e.substr(e.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}}var z1=[[".ts",".tsx",".d.ts"],[".cts",".d.cts"],[".mts",".d.mts"]],rx=zm(z1),ix=[...z1,[".json"]];var zb=[[".js",".jsx"],[".mjs"],[".cjs"]],ax=zm(zb),Fb=[[".ts",".tsx",".d.ts",".js",".jsx"],[".cts",".d.cts",".cjs"],[".mts",".d.mts",".mjs"]],_x=[...Fb,[".json"]],Vb=[".d.ts",".d.cts",".d.mts"];function Es(e){return!(e>=0)}function Zc(e,...t){return t.length&&(e.relatedInformation||(e.relatedInformation=[]),B.assert(e.relatedInformation!==Ot,"Diagnostic had empty array singleton for related info, but is still being constructed!"),e.relatedInformation.push(...t)),e}function Wb(e){let t;switch(e.charCodeAt(1)){case 98:case 66:t=1;break;case 111:case 79:t=3;break;case 120:case 88:t=4;break;default:let Z=e.length-1,f=0;for(;e.charCodeAt(f)===48;)f++;return e.slice(f,Z)||"0"}let a=2,o=e.length-1,h=(o-a)*t,g=new Uint16Array((h>>>4)+(h&15?1:0));for(let Z=o-1,f=0;Z>=a;Z--,f+=t){let k=f>>>4,v=e.charCodeAt(Z),J=(v<=57?v-48:10+v-(v<=70?65:97))<<(f&15);g[k]|=J;let re=J>>>16;re&&(g[k+1]|=re)}let E="",C=g.length-1,l=!0;for(;l;){let Z=0;l=!1;for(let f=C;f>=0;f--){let k=Z<<16|g[f],v=k/10|0;g[f]=v,Z=k-v*10,v&&!l&&(C=f,l=!0)}E=Z+E}return E}function Gb({negative:e,base10Value:t}){return(e&&t!=="0"?"-":"")+t}function af(e,t){return e.pos=t,e}function Yb(e,t){return e.end=t,e}function ta(e,t,a){return Yb(af(e,t),a)}function cm(e,t,a){return ta(e,t,t+a)}function Uf(e,t){return e&&t&&(e.parent=t),e}function Hb(e,t){if(!e)return e;return jm(e,C1(e)?a:h),e;function a(g,E){if(t&&g.parent===E)return"skip";Uf(g,E)}function o(g){if(Zi(g))for(let E of g.jsDoc)a(E,g),jm(E,a)}function h(g,E){return a(g,E)||o(g)}}function Xb(e){return!!(e.flags&262144&&e.isThisType)}function $b(e){var t;return((t=getSnippetElement(e))==null?void 0:t.kind)===0}function Qb(e){return`${Nn(e.namespace)}:${Nn(e.name)}`}var sx=String.prototype.replace;function Kb(){let e,t,a,o,h;return{createBaseSourceFileNode:g,createBaseIdentifierNode:E,createBasePrivateIdentifierNode:C,createBaseTokenNode:l,createBaseNode:Z};function g(f){return new(h||(h=Ct.getSourceFileConstructor()))(f,-1,-1)}function E(f){return new(a||(a=Ct.getIdentifierConstructor()))(f,-1,-1)}function C(f){return new(o||(o=Ct.getPrivateIdentifierConstructor()))(f,-1,-1)}function l(f){return new(t||(t=Ct.getTokenConstructor()))(f,-1,-1)}function Z(f){return new(e||(e=Ct.getNodeConstructor()))(f,-1,-1)}}var Zb={getParenthesizeLeftSideOfBinaryForOperator:e=>kt,getParenthesizeRightSideOfBinaryForOperator:e=>kt,parenthesizeLeftSideOfBinary:(e,t)=>t,parenthesizeRightSideOfBinary:(e,t,a)=>a,parenthesizeExpressionOfComputedPropertyName:kt,parenthesizeConditionOfConditionalExpression:kt,parenthesizeBranchOfConditionalExpression:kt,parenthesizeExpressionOfExportDefault:kt,parenthesizeExpressionOfNew:e=>Ir(e,Va),parenthesizeLeftSideOfAccess:e=>Ir(e,Va),parenthesizeOperandOfPostfixUnary:e=>Ir(e,Va),parenthesizeOperandOfPrefixUnary:e=>Ir(e,g2),parenthesizeExpressionsOfCommaDelimitedList:e=>Ir(e,Si),parenthesizeExpressionForDisallowedComma:kt,parenthesizeExpressionOfExpressionStatement:kt,parenthesizeConciseBodyOfArrowFunction:kt,parenthesizeCheckTypeOfConditionalType:kt,parenthesizeExtendsTypeOfConditionalType:kt,parenthesizeConstituentTypesOfUnionType:e=>Ir(e,Si),parenthesizeConstituentTypeOfUnionType:kt,parenthesizeConstituentTypesOfIntersectionType:e=>Ir(e,Si),parenthesizeConstituentTypeOfIntersectionType:kt,parenthesizeOperandOfTypeOperator:kt,parenthesizeOperandOfReadonlyTypeOperator:kt,parenthesizeNonArrayTypeOfPostfixType:kt,parenthesizeElementTypesOfTupleType:e=>Ir(e,Si),parenthesizeElementTypeOfTupleType:kt,parenthesizeTypeOfOptionalType:kt,parenthesizeTypeArguments:e=>e&&Ir(e,Si),parenthesizeLeadingTypeArgument:kt},el=0;var e6=[];function Bf(e,t){let a=e&8?kt:a6,o=Bd(()=>e&1?Zb:createParenthesizerRules(he)),h=Bd(()=>e&2?nullNodeConverters:createNodeConverters(he)),g=tr(n=>(i,_)=>h_(i,n,_)),E=tr(n=>i=>d_(n,i)),C=tr(n=>i=>m_(i,n)),l=tr(n=>()=>Nu(n)),Z=tr(n=>i=>F_(n,i)),f=tr(n=>(i,_)=>Ou(n,i,_)),k=tr(n=>(i,_)=>tc(n,i,_)),v=tr(n=>(i,_)=>Iu(n,i,_)),w=tr(n=>(i,_)=>fc(n,i,_)),J=tr(n=>(i,_,c)=>Hu(n,i,_,c)),re=tr(n=>(i,_,c)=>dc(n,i,_,c)),be=tr(n=>(i,_,c,d)=>Xu(n,i,_,c,d)),he={get parenthesizer(){return o()},get converters(){return h()},baseFactory:t,flags:e,createNodeArray:me,createNumericLiteral:X,createBigIntLiteral:oe,createStringLiteral:ht,createStringLiteralFromNode:ir,createRegularExpressionLiteral:xn,createLiteralLikeNode:ar,createIdentifier:Ve,createTempVariable:_r,createLoopVariable:Rr,createUniqueName:Mt,getGeneratedNameForNode:Vn,createPrivateIdentifier:Jt,createUniquePrivateName:Qe,getGeneratedPrivateNameForNode:Wn,createToken:ut,createSuper:st,createThis:Vt,createNull:jt,createTrue:pt,createFalse:sr,createModifier:yt,createModifiersFromModifierFlags:Sn,createQualifiedName:vt,updateQualifiedName:dn,createComputedPropertyName:rt,updateComputedPropertyName:Wt,createTypeParameterDeclaration:on,updateTypeParameterDeclaration:or,createParameterDeclaration:vr,updateParameterDeclaration:xr,createDecorator:Gn,updateDecorator:Yn,createPropertySignature:Ur,updatePropertySignature:Hn,createPropertyDeclaration:Tr,updatePropertyDeclaration:j,createMethodSignature:se,updateMethodSignature:fe,createMethodDeclaration:xe,updateMethodDeclaration:Xe,createConstructorDeclaration:ft,updateConstructorDeclaration:Br,createGetAccessorDeclaration:Jn,updateGetAccessorDeclaration:Xn,createSetAccessorDeclaration:z,updateSetAccessorDeclaration:V,createCallSignature:Te,updateCallSignature:Se,createConstructSignature:Ce,updateConstructSignature:ye,createIndexSignature:Ye,updateIndexSignature:$e,createClassStaticBlockDeclaration:ot,updateClassStaticBlockDeclaration:Pt,createTemplateLiteralTypeSpan:Ze,updateTemplateLiteralTypeSpan:Ee,createKeywordTypeNode:wn,createTypePredicateNode:at,updateTypePredicateNode:mn,createTypeReferenceNode:ii,updateTypeReferenceNode:M,createFunctionTypeNode:Be,updateFunctionTypeNode:u,createConstructorTypeNode:Me,updateConstructorTypeNode:cn,createTypeQueryNode:Nt,updateTypeQueryNode:Et,createTypeLiteralNode:It,updateTypeLiteralNode:Gt,createArrayTypeNode:$n,updateArrayTypeNode:Ni,createTupleTypeNode:hn,updateTupleTypeNode:Y,createNamedTupleMember:de,updateNamedTupleMember:ze,createOptionalTypeNode:ke,updateOptionalTypeNode:L,createRestTypeNode:gt,updateRestTypeNode:St,createUnionTypeNode:Vl,updateUnionTypeNode:zs,createIntersectionTypeNode:qr,updateIntersectionTypeNode:Je,createConditionalTypeNode:mt,updateConditionalTypeNode:Wl,createInferTypeNode:Qn,updateInferTypeNode:Gl,createImportTypeNode:cr,updateImportTypeNode:fa,createParenthesizedType:rn,updateParenthesizedType:Dt,createThisTypeNode:D,createTypeOperatorNode:an,updateTypeOperatorNode:zr,createIndexedAccessTypeNode:lr,updateIndexedAccessTypeNode:r_,createMappedTypeNode:wt,updateMappedTypeNode:Rt,createLiteralTypeNode:ai,updateLiteralTypeNode:Fr,createTemplateLiteralType:Qt,updateTemplateLiteralType:Yl,createObjectBindingPattern:Fs,updateObjectBindingPattern:Hl,createArrayBindingPattern:Vr,updateArrayBindingPattern:Xl,createBindingElement:da,updateBindingElement:_i,createArrayLiteralExpression:i_,updateArrayLiteralExpression:Vs,createObjectLiteralExpression:Ii,updateObjectLiteralExpression:$l,createPropertyAccessExpression:e&4?(n,i)=>setEmitFlags(ur(n,i),262144):ur,updatePropertyAccessExpression:Gs,createPropertyAccessChain:e&4?(n,i,_)=>setEmitFlags(si(n,i,_),262144):si,updatePropertyAccessChain:Ys,createElementAccessExpression:a_,updateElementAccessExpression:Ql,createElementAccessChain:__,updateElementAccessChain:Hs,createCallExpression:wr,updateCallExpression:Kl,createCallChain:s_,updateCallChain:kn,createNewExpression:ha,updateNewExpression:o_,createTaggedTemplateExpression:c_,updateTaggedTemplateExpression:Zl,createTypeAssertion:$s,updateTypeAssertion:Qs,createParenthesizedExpression:l_,updateParenthesizedExpression:Ks,createFunctionExpression:u_,updateFunctionExpression:Zs,createArrowFunction:p_,updateArrowFunction:eo,createDeleteExpression:f_,updateDeleteExpression:eu,createTypeOfExpression:Kt,updateTypeOfExpression:tu,createVoidExpression:jn,updateVoidExpression:nu,createAwaitExpression:kr,updateAwaitExpression:Oi,createPrefixUnaryExpression:d_,updatePrefixUnaryExpression:ya,createPostfixUnaryExpression:m_,updatePostfixUnaryExpression:to,createBinaryExpression:h_,updateBinaryExpression:ru,createConditionalExpression:y_,updateConditionalExpression:iu,createTemplateExpression:Kn,updateTemplateExpression:ro,createTemplateHead:ba,createTemplateMiddle:b_,createTemplateTail:au,createNoSubstitutionTemplateLiteral:ao,createTemplateLiteralLikeNode:oi,createYieldExpression:_o,updateYieldExpression:_u,createSpreadElement:so,updateSpreadElement:su,createClassExpression:oo,updateClassExpression:Ji,createOmittedExpression:ou,createExpressionWithTypeArguments:co,updateExpressionWithTypeArguments:En,createAsExpression:va,updateAsExpression:lo,createNonNullExpression:uo,updateNonNullExpression:v_,createSatisfiesExpression:po,updateSatisfiesExpression:x_,createNonNullChain:Ln,updateNonNullChain:fo,createMetaProperty:xa,updateMetaProperty:pr,createTemplateSpan:ji,updateTemplateSpan:mo,createSemicolonClassElement:ho,createBlock:ci,updateBlock:yo,createVariableStatement:go,updateVariableStatement:bo,createEmptyStatement:T_,createExpressionStatement:Li,updateExpressionStatement:cu,createIfStatement:S_,updateIfStatement:lu,createDoStatement:w_,updateDoStatement:uu,createWhileStatement:vo,updateWhileStatement:pu,createForStatement:k_,updateForStatement:xo,createForInStatement:To,updateForInStatement:fu,createForOfStatement:So,updateForOfStatement:du,createContinueStatement:wo,updateContinueStatement:ko,createBreakStatement:E_,updateBreakStatement:Eo,createReturnStatement:Ao,updateReturnStatement:Co,createWithStatement:A_,updateWithStatement:Do,createSwitchStatement:Wr,updateSwitchStatement:mu,createLabeledStatement:Po,updateLabeledStatement:No,createThrowStatement:Io,updateThrowStatement:hu,createTryStatement:Oo,updateTryStatement:Mo,createDebuggerStatement:Jo,createVariableDeclaration:Ta,updateVariableDeclaration:yu,createVariableDeclarationList:C_,updateVariableDeclarationList:gu,createFunctionDeclaration:D_,updateFunctionDeclaration:jo,createClassDeclaration:P_,updateClassDeclaration:N_,createInterfaceDeclaration:Lo,updateInterfaceDeclaration:ct,createTypeAliasDeclaration:Er,updateTypeAliasDeclaration:I_,createEnumDeclaration:Ar,updateEnumDeclaration:Ro,createModuleDeclaration:At,updateModuleDeclaration:Cr,createModuleBlock:Ut,updateModuleBlock:vu,createCaseBlock:Uo,updateCaseBlock:xu,createNamespaceExportDeclaration:O_,updateNamespaceExportDeclaration:Tu,createImportEqualsDeclaration:Bo,updateImportEqualsDeclaration:qo,createImportDeclaration:zo,updateImportDeclaration:Fo,createImportClause:M_,updateImportClause:Vo,createAssertClause:Wo,updateAssertClause:Sa,createAssertEntry:J_,updateAssertEntry:Go,createImportTypeAssertionContainer:j_,updateImportTypeAssertionContainer:wu,createImportAttributes:wa,updateImportAttributes:ku,createImportAttribute:L_,updateImportAttribute:Eu,createNamespaceImport:Yo,updateNamespaceImport:Au,createNamespaceExport:Ho,updateNamespaceExport:Cu,createNamedImports:R_,updateNamedImports:Gr,createImportSpecifier:Xo,updateImportSpecifier:$o,createExportAssignment:li,updateExportAssignment:U_,createExportDeclaration:B_,updateExportDeclaration:ui,createNamedExports:q_,updateNamedExports:Qo,createExportSpecifier:z_,updateExportSpecifier:Pu,createMissingDeclaration:Ko,createExternalModuleReference:Zo,updateExternalModuleReference:ec,get createJSDocAllType(){return l(312)},get createJSDocUnknownType(){return l(313)},get createJSDocNonNullableType(){return k(315)},get updateJSDocNonNullableType(){return v(315)},get createJSDocNullableType(){return k(314)},get updateJSDocNullableType(){return v(314)},get createJSDocOptionalType(){return Z(316)},get updateJSDocOptionalType(){return f(316)},get createJSDocVariadicType(){return Z(318)},get updateJSDocVariadicType(){return f(318)},get createJSDocNamepathType(){return Z(319)},get updateJSDocNamepathType(){return f(319)},createJSDocFunctionType:nc,updateJSDocFunctionType:Mu,createJSDocTypeLiteral:rc,updateJSDocTypeLiteral:Ju,createJSDocTypeExpression:ka,updateJSDocTypeExpression:ju,createJSDocSignature:ic,updateJSDocSignature:Ea,createJSDocTemplateTag:V_,updateJSDocTemplateTag:W_,createJSDocTypedefTag:ac,updateJSDocTypedefTag:_c,createJSDocParameterTag:sc,updateJSDocParameterTag:Lu,createJSDocPropertyTag:G_,updateJSDocPropertyTag:Ru,createJSDocCallbackTag:Y_,updateJSDocCallbackTag:Uu,createJSDocOverloadTag:Aa,updateJSDocOverloadTag:oc,createJSDocAugmentsTag:fi,updateJSDocAugmentsTag:Bu,createJSDocImplementsTag:Yr,updateJSDocImplementsTag:Yu,createJSDocSeeTag:Ri,updateJSDocSeeTag:qu,createJSDocImportTag:X_,updateJSDocImportTag:hc,createJSDocNameReference:cc,updateJSDocNameReference:zu,createJSDocMemberName:lc,updateJSDocMemberName:Fu,createJSDocLink:H_,updateJSDocLink:Vu,createJSDocLinkCode:uc,updateJSDocLinkCode:Wu,createJSDocLinkPlain:pc,updateJSDocLinkPlain:Gu,get createJSDocTypeTag(){return re(344)},get updateJSDocTypeTag(){return be(344)},get createJSDocReturnTag(){return re(342)},get updateJSDocReturnTag(){return be(342)},get createJSDocThisTag(){return re(343)},get updateJSDocThisTag(){return be(343)},get createJSDocAuthorTag(){return w(330)},get updateJSDocAuthorTag(){return J(330)},get createJSDocClassTag(){return w(332)},get updateJSDocClassTag(){return J(332)},get createJSDocPublicTag(){return w(333)},get updateJSDocPublicTag(){return J(333)},get createJSDocPrivateTag(){return w(334)},get updateJSDocPrivateTag(){return J(334)},get createJSDocProtectedTag(){return w(335)},get updateJSDocProtectedTag(){return J(335)},get createJSDocReadonlyTag(){return w(336)},get updateJSDocReadonlyTag(){return J(336)},get createJSDocOverrideTag(){return w(337)},get updateJSDocOverrideTag(){return J(337)},get createJSDocDeprecatedTag(){return w(331)},get updateJSDocDeprecatedTag(){return J(331)},get createJSDocThrowsTag(){return re(349)},get updateJSDocThrowsTag(){return be(349)},get createJSDocSatisfiesTag(){return re(350)},get updateJSDocSatisfiesTag(){return be(350)},createJSDocEnumTag:Ca,updateJSDocEnumTag:Qu,createJSDocUnknownTag:mc,updateJSDocUnknownTag:$u,createJSDocText:yc,updateJSDocText:Da,createJSDocComment:$_,updateJSDocComment:Ku,createJsxElement:gc,updateJsxElement:Zu,createJsxSelfClosingElement:Pa,updateJsxSelfClosingElement:bc,createJsxOpeningElement:Q_,updateJsxOpeningElement:K_,createJsxClosingElement:Zt,updateJsxClosingElement:vc,createJsxFragment:Z_,createJsxText:Ui,updateJsxText:tp,createJsxOpeningFragment:np,createJsxJsxClosingFragment:rp,updateJsxFragment:ep,createJsxAttribute:Bi,updateJsxAttribute:ip,createJsxAttributes:xc,updateJsxAttributes:ap,createJsxSpreadAttribute:Tc,updateJsxSpreadAttribute:es,createJsxExpression:di,updateJsxExpression:_p,createJsxNamespacedName:Na,updateJsxNamespacedName:Sc,createCaseClause:wc,updateCaseClause:qi,createDefaultClause:ts,updateDefaultClause:sp,createHeritageClause:kc,updateHeritageClause:Ec,createCatchClause:ns,updateCatchClause:Ac,createPropertyAssignment:Dr,updatePropertyAssignment:Cc,createShorthandPropertyAssignment:Dc,updateShorthandPropertyAssignment:cp,createSpreadAssignment:rs,updateSpreadAssignment:Un,createEnumMember:is,updateEnumMember:lp,createSourceFile:up,updateSourceFile:Mc,createRedirectedSourceFile:Nc,createBundle:Jc,updateBundle:fp,createSyntheticExpression:Ia,createSyntaxList:jc,createNotEmittedStatement:dp,createPartiallyEmittedExpression:Lc,updatePartiallyEmittedExpression:Rc,createCommaListExpression:_s,updateCommaListExpression:Uc,createSyntheticReferenceExpression:ss,updateSyntheticReferenceExpression:Bc,cloneNode:os,get createComma(){return g(28)},get createAssignment(){return g(64)},get createLogicalOr(){return g(57)},get createLogicalAnd(){return g(56)},get createBitwiseOr(){return g(52)},get createBitwiseXor(){return g(53)},get createBitwiseAnd(){return g(51)},get createStrictEquality(){return g(37)},get createStrictInequality(){return g(38)},get createEquality(){return g(35)},get createInequality(){return g(36)},get createLessThan(){return g(30)},get createLessThanEquals(){return g(33)},get createGreaterThan(){return g(32)},get createGreaterThanEquals(){return g(34)},get createLeftShift(){return g(48)},get createRightShift(){return g(49)},get createUnsignedRightShift(){return g(50)},get createAdd(){return g(40)},get createSubtract(){return g(41)},get createMultiply(){return g(42)},get createDivide(){return g(44)},get createModulo(){return g(45)},get createExponent(){return g(43)},get createPrefixPlus(){return E(40)},get createPrefixMinus(){return E(41)},get createPrefixIncrement(){return E(46)},get createPrefixDecrement(){return E(47)},get createBitwiseNot(){return E(55)},get createLogicalNot(){return E(54)},get createPostfixIncrement(){return C(46)},get createPostfixDecrement(){return C(47)},createImmediatelyInvokedFunctionExpression:gp,createImmediatelyInvokedArrowFunction:bp,createVoidZero:mi,createExportDefault:Fc,createExternalModuleExport:vp,createTypeCheck:cs,createIsNotTypeCheck:xp,createMethodCall:Hr,createGlobalMethodCall:zi,createFunctionBindCall:Tp,createFunctionCallCall:Sp,createFunctionApplyCall:wp,createArraySliceCall:Fi,createArrayConcatCall:kp,createObjectDefinePropertyCall:Vc,createObjectGetOwnPropertyDescriptorCall:Ep,createReflectGetCall:Ap,createReflectSetCall:Wc,createPropertyDescriptor:Cp,createCallBinding:p,createAssignmentTargetWrapper:m,inlineExpressions:y,getInternalName:N,getLocalName:$,getExportName:_e,getDeclarationName:ee,getNamespaceMemberName:K,getExternalModuleOrNamespaceExportName:le,restoreOuterExpressions:ls,restoreEnclosingLabel:us,createUseStrictPrologue:De,copyPrologue:Ue,copyStandardPrologue:Yt,copyCustomPrologue:un,ensureUseStrict:fr,liftToBlock:dr,mergeLexicalEnvironment:Xr,replaceModifiers:Pp,replaceDecoratorsAndModifiers:Np,replacePropertyName:Ip};return zn(e6,n=>n(he)),he;function me(n,i){if(n===void 0||n===Ot)n=[];else if(Si(n)){if(i===void 0||n.hasTrailingComma===i)return n.transformFlags===void 0&&um(n),B.attachNodeArrayDebugInfo(n),n;let d=n.slice();return d.pos=n.pos,d.end=n.end,d.hasTrailingComma=i,d.transformFlags=n.transformFlags,B.attachNodeArrayDebugInfo(d),d}let _=n.length,c=_>=1&&_<=4?n.slice():n;return c.pos=-1,c.end=-1,c.hasTrailingComma=!!i,c.transformFlags=0,um(c),B.attachNodeArrayDebugInfo(c),c}function O(n){return t.createBaseNode(n)}function ae(n){let i=O(n);return i.symbol=void 0,i.localSymbol=void 0,i}function ve(n,i){return n!==i&&(n.typeArguments=i.typeArguments),R(n,i)}function X(n,i=0){let _=typeof n=="number"?n+"":n;B.assert(_.charCodeAt(0)!==45,"Negative numbers should be created in combination with createPrefixUnaryExpression");let c=ae(9);return c.text=_,c.numericLiteralFlags=i,i&384&&(c.transformFlags|=1024),c}function oe(n){let i=nn(10);return i.text=typeof n=="string"?n:Gb(n)+"n",i.transformFlags|=32,i}function G(n,i){let _=ae(11);return _.text=n,_.singleQuote=i,_}function ht(n,i,_){let c=G(n,i);return c.hasExtendedUnicodeEscape=_,_&&(c.transformFlags|=1024),c}function ir(n){let i=G(ob(n),void 0);return i.textSourceNode=n,i}function xn(n){let i=nn(14);return i.text=n,i}function ar(n,i){switch(n){case 9:return X(i,0);case 10:return oe(i);case 11:return ht(i,void 0);case 12:return Ui(i,!1);case 13:return Ui(i,!0);case 14:return xn(i);case 15:return oi(n,i,void 0,0)}}function Tn(n){let i=t.createBaseIdentifierNode(80);return i.escapedText=n,i.jsDoc=void 0,i.flowNode=void 0,i.symbol=void 0,i}function On(n,i,_,c){let d=Tn(Ra(n));return setIdentifierAutoGenerate(d,{flags:i,id:el,prefix:_,suffix:c}),el++,d}function Ve(n,i,_){i===void 0&&n&&(i=i1(n)),i===80&&(i=void 0);let c=Tn(Ra(n));return _&&(c.flags|=256),c.escapedText==="await"&&(c.transformFlags|=67108864),c.flags&256&&(c.transformFlags|=1024),c}function _r(n,i,_,c){let d=1;i&&(d|=8);let T=On("",d,_,c);return n&&n(T),T}function Rr(n){let i=2;return n&&(i|=8),On("",i,void 0,void 0)}function Mt(n,i=0,_,c){return B.assert(!(i&7),"Argument out of range: flags"),B.assert((i&48)!==32,"GeneratedIdentifierFlags.FileLevel cannot be set without also setting GeneratedIdentifierFlags.Optimistic"),On(n,3|i,_,c)}function Vn(n,i=0,_,c){B.assert(!(i&7),"Argument out of range: flags");let d=n?tf(n)?of(!1,_,n,c,Nn):`generated@${getNodeId(n)}`:"";(_||c)&&(i|=16);let T=On(d,4|i,_,c);return T.original=n,T}function Mn(n){let i=t.createBasePrivateIdentifierNode(81);return i.escapedText=n,i.transformFlags|=16777216,i}function Jt(n){return cl(n,"#")||B.fail("First character of private identifier must be #: "+n),Mn(Ra(n))}function xt(n,i,_,c){let d=Mn(Ra(n));return setIdentifierAutoGenerate(d,{flags:i,id:el,prefix:_,suffix:c}),el++,d}function Qe(n,i,_){n&&!cl(n,"#")&&B.fail("First character of private identifier must be #: "+n);let c=8|(n?3:1);return xt(n??"",c,i,_)}function Wn(n,i,_){let c=tf(n)?of(!0,i,n,_,Nn):`#generated@${getNodeId(n)}`,T=xt(c,4|(i||_?16:0),i,_);return T.original=n,T}function nn(n){return t.createBaseTokenNode(n)}function ut(n){B.assert(n>=0&&n<=165,"Invalid token"),B.assert(n<=15||n>=18,"Invalid token. Use 'createTemplateLiteralLikeNode' to create template literals."),B.assert(n<=9||n>=15,"Invalid token. Use 'createLiteralLikeNode' to create literals."),B.assert(n!==80,"Invalid token. Use 'createIdentifier' to create identifiers");let i=nn(n),_=0;switch(n){case 134:_=384;break;case 160:_=4;break;case 125:case 123:case 124:case 148:case 128:case 138:case 87:case 133:case 150:case 163:case 146:case 151:case 103:case 147:case 164:case 154:case 136:case 155:case 116:case 159:case 157:_=1;break;case 108:_=134218752,i.flowNode=void 0;break;case 126:_=1024;break;case 129:_=16777216;break;case 110:_=16384,i.flowNode=void 0;break}return _&&(i.transformFlags|=_),i}function st(){return ut(108)}function Vt(){return ut(110)}function jt(){return ut(106)}function pt(){return ut(112)}function sr(){return ut(97)}function yt(n){return ut(n)}function Sn(n){let i=[];return n&32&&i.push(yt(95)),n&128&&i.push(yt(138)),n&2048&&i.push(yt(90)),n&4096&&i.push(yt(87)),n&1&&i.push(yt(125)),n&2&&i.push(yt(123)),n&4&&i.push(yt(124)),n&64&&i.push(yt(128)),n&256&&i.push(yt(126)),n&16&&i.push(yt(164)),n&8&&i.push(yt(148)),n&512&&i.push(yt(129)),n&1024&&i.push(yt(134)),n&8192&&i.push(yt(103)),n&16384&&i.push(yt(147)),i.length?i:void 0}function vt(n,i){let _=O(166);return _.left=n,_.right=nt(i),_.transformFlags|=F(_.left)|Ba(_.right),_.flowNode=void 0,_}function dn(n,i,_){return n.left!==i||n.right!==_?R(vt(i,_),n):n}function rt(n){let i=O(167);return i.expression=o().parenthesizeExpressionOfComputedPropertyName(n),i.transformFlags|=F(i.expression)|1024|131072,i}function Wt(n,i){return n.expression!==i?R(rt(i),n):n}function on(n,i,_,c){let d=ae(168);return d.modifiers=Pe(n),d.name=nt(i),d.constraint=_,d.default=c,d.transformFlags=1,d.expression=void 0,d.jsDoc=void 0,d}function or(n,i,_,c,d){return n.modifiers!==i||n.name!==_||n.constraint!==c||n.default!==d?R(on(i,_,c,d),n):n}function vr(n,i,_,c,d,T){let q=ae(169);return q.modifiers=Pe(n),q.dotDotDotToken=i,q.name=nt(_),q.questionToken=c,q.type=d,q.initializer=pn(T),lb(q.name)?q.transformFlags=1:q.transformFlags=Ae(q.modifiers)|F(q.dotDotDotToken)|Bn(q.name)|F(q.questionToken)|F(q.initializer)|(q.questionToken??q.type?1:0)|(q.dotDotDotToken??q.initializer?1024:0)|(qn(q.modifiers)&31?8192:0),q.jsDoc=void 0,q}function xr(n,i,_,c,d,T,q){return n.modifiers!==i||n.dotDotDotToken!==_||n.name!==c||n.questionToken!==d||n.type!==T||n.initializer!==q?R(vr(i,_,c,d,T,q),n):n}function Gn(n){let i=O(170);return i.expression=o().parenthesizeLeftSideOfAccess(n,!1),i.transformFlags|=F(i.expression)|1|8192|33554432,i}function Yn(n,i){return n.expression!==i?R(Gn(i),n):n}function Ur(n,i,_,c){let d=ae(171);return d.modifiers=Pe(n),d.name=nt(i),d.type=c,d.questionToken=_,d.transformFlags=1,d.initializer=void 0,d.jsDoc=void 0,d}function Hn(n,i,_,c,d){return n.modifiers!==i||n.name!==_||n.questionToken!==c||n.type!==d?Ne(Ur(i,_,c,d),n):n}function Ne(n,i){return n!==i&&(n.initializer=i.initializer),R(n,i)}function Tr(n,i,_,c,d){let T=ae(172);T.modifiers=Pe(n),T.name=nt(i),T.questionToken=_&&fm(_)?_:void 0,T.exclamationToken=_&&pm(_)?_:void 0,T.type=c,T.initializer=pn(d);let q=T.flags&33554432||qn(T.modifiers)&128;return T.transformFlags=Ae(T.modifiers)|Bn(T.name)|F(T.initializer)|(q||T.questionToken||T.exclamationToken||T.type?1:0)|(kl(T.name)||qn(T.modifiers)&256&&T.initializer?8192:0)|16777216,T.jsDoc=void 0,T}function j(n,i,_,c,d,T){return n.modifiers!==i||n.name!==_||n.questionToken!==(c!==void 0&&fm(c)?c:void 0)||n.exclamationToken!==(c!==void 0&&pm(c)?c:void 0)||n.type!==d||n.initializer!==T?R(Tr(i,_,c,d,T),n):n}function se(n,i,_,c,d,T){let q=ae(173);return q.modifiers=Pe(n),q.name=nt(i),q.questionToken=_,q.typeParameters=Pe(c),q.parameters=Pe(d),q.type=T,q.transformFlags=1,q.jsDoc=void 0,q.locals=void 0,q.nextContainer=void 0,q.typeArguments=void 0,q}function fe(n,i,_,c,d,T,q){return n.modifiers!==i||n.name!==_||n.questionToken!==c||n.typeParameters!==d||n.parameters!==T||n.type!==q?ve(se(i,_,c,d,T,q),n):n}function xe(n,i,_,c,d,T,q,pe){let Le=ae(174);if(Le.modifiers=Pe(n),Le.asteriskToken=i,Le.name=nt(_),Le.questionToken=c,Le.exclamationToken=void 0,Le.typeParameters=Pe(d),Le.parameters=me(T),Le.type=q,Le.body=pe,!Le.body)Le.transformFlags=1;else{let en=qn(Le.modifiers)&1024,hr=!!Le.asteriskToken,yr=en&&hr;Le.transformFlags=Ae(Le.modifiers)|F(Le.asteriskToken)|Bn(Le.name)|F(Le.questionToken)|Ae(Le.typeParameters)|Ae(Le.parameters)|F(Le.type)|F(Le.body)&-67108865|(yr?128:en?256:hr?2048:0)|(Le.questionToken||Le.typeParameters||Le.type?1:0)|1024}return Le.typeArguments=void 0,Le.jsDoc=void 0,Le.locals=void 0,Le.nextContainer=void 0,Le.flowNode=void 0,Le.endFlowNode=void 0,Le.returnFlowNode=void 0,Le}function Xe(n,i,_,c,d,T,q,pe,Le){return n.modifiers!==i||n.asteriskToken!==_||n.name!==c||n.questionToken!==d||n.typeParameters!==T||n.parameters!==q||n.type!==pe||n.body!==Le?Ke(xe(i,_,c,d,T,q,pe,Le),n):n}function Ke(n,i){return n!==i&&(n.exclamationToken=i.exclamationToken),R(n,i)}function ot(n){let i=ae(175);return i.body=n,i.transformFlags=F(n)|16777216,i.modifiers=void 0,i.jsDoc=void 0,i.locals=void 0,i.nextContainer=void 0,i.endFlowNode=void 0,i.returnFlowNode=void 0,i}function Pt(n,i){return n.body!==i?Tt(ot(i),n):n}function Tt(n,i){return n!==i&&(n.modifiers=i.modifiers),R(n,i)}function ft(n,i,_){let c=ae(176);return c.modifiers=Pe(n),c.parameters=me(i),c.body=_,c.transformFlags=Ae(c.modifiers)|Ae(c.parameters)|F(c.body)&-67108865|1024,c.typeParameters=void 0,c.type=void 0,c.typeArguments=void 0,c.jsDoc=void 0,c.locals=void 0,c.nextContainer=void 0,c.endFlowNode=void 0,c.returnFlowNode=void 0,c}function Br(n,i,_,c){return n.modifiers!==i||n.parameters!==_||n.body!==c?Sr(ft(i,_,c),n):n}function Sr(n,i){return n!==i&&(n.typeParameters=i.typeParameters,n.type=i.type),ve(n,i)}function Jn(n,i,_,c,d){let T=ae(177);return T.modifiers=Pe(n),T.name=nt(i),T.parameters=me(_),T.type=c,T.body=d,T.body?T.transformFlags=Ae(T.modifiers)|Bn(T.name)|Ae(T.parameters)|F(T.type)|F(T.body)&-67108865|(T.type?1:0):T.transformFlags=1,T.typeArguments=void 0,T.typeParameters=void 0,T.jsDoc=void 0,T.locals=void 0,T.nextContainer=void 0,T.flowNode=void 0,T.endFlowNode=void 0,T.returnFlowNode=void 0,T}function Xn(n,i,_,c,d,T){return n.modifiers!==i||n.name!==_||n.parameters!==c||n.type!==d||n.body!==T?Pi(Jn(i,_,c,d,T),n):n}function Pi(n,i){return n!==i&&(n.typeParameters=i.typeParameters),ve(n,i)}function z(n,i,_,c){let d=ae(178);return d.modifiers=Pe(n),d.name=nt(i),d.parameters=me(_),d.body=c,d.body?d.transformFlags=Ae(d.modifiers)|Bn(d.name)|Ae(d.parameters)|F(d.body)&-67108865|(d.type?1:0):d.transformFlags=1,d.typeArguments=void 0,d.typeParameters=void 0,d.type=void 0,d.jsDoc=void 0,d.locals=void 0,d.nextContainer=void 0,d.flowNode=void 0,d.endFlowNode=void 0,d.returnFlowNode=void 0,d}function V(n,i,_,c,d){return n.modifiers!==i||n.name!==_||n.parameters!==c||n.body!==d?Q(z(i,_,c,d),n):n}function Q(n,i){return n!==i&&(n.typeParameters=i.typeParameters,n.type=i.type),ve(n,i)}function Te(n,i,_){let c=ae(179);return c.typeParameters=Pe(n),c.parameters=Pe(i),c.type=_,c.transformFlags=1,c.jsDoc=void 0,c.locals=void 0,c.nextContainer=void 0,c.typeArguments=void 0,c}function Se(n,i,_,c){return n.typeParameters!==i||n.parameters!==_||n.type!==c?ve(Te(i,_,c),n):n}function Ce(n,i,_){let c=ae(180);return c.typeParameters=Pe(n),c.parameters=Pe(i),c.type=_,c.transformFlags=1,c.jsDoc=void 0,c.locals=void 0,c.nextContainer=void 0,c.typeArguments=void 0,c}function ye(n,i,_,c){return n.typeParameters!==i||n.parameters!==_||n.type!==c?ve(Ce(i,_,c),n):n}function Ye(n,i,_){let c=ae(181);return c.modifiers=Pe(n),c.parameters=Pe(i),c.type=_,c.transformFlags=1,c.jsDoc=void 0,c.locals=void 0,c.nextContainer=void 0,c.typeArguments=void 0,c}function $e(n,i,_,c){return n.parameters!==_||n.type!==c||n.modifiers!==i?ve(Ye(i,_,c),n):n}function Ze(n,i){let _=O(204);return _.type=n,_.literal=i,_.transformFlags=1,_}function Ee(n,i,_){return n.type!==i||n.literal!==_?R(Ze(i,_),n):n}function wn(n){return ut(n)}function at(n,i,_){let c=O(182);return c.assertsModifier=n,c.parameterName=nt(i),c.type=_,c.transformFlags=1,c}function mn(n,i,_,c){return n.assertsModifier!==i||n.parameterName!==_||n.type!==c?R(at(i,_,c),n):n}function ii(n,i){let _=O(183);return _.typeName=nt(n),_.typeArguments=i&&o().parenthesizeTypeArguments(me(i)),_.transformFlags=1,_}function M(n,i,_){return n.typeName!==i||n.typeArguments!==_?R(ii(i,_),n):n}function Be(n,i,_){let c=ae(184);return c.typeParameters=Pe(n),c.parameters=Pe(i),c.type=_,c.transformFlags=1,c.modifiers=void 0,c.jsDoc=void 0,c.locals=void 0,c.nextContainer=void 0,c.typeArguments=void 0,c}function u(n,i,_,c){return n.typeParameters!==i||n.parameters!==_||n.type!==c?Oe(Be(i,_,c),n):n}function Oe(n,i){return n!==i&&(n.modifiers=i.modifiers),ve(n,i)}function Me(...n){return n.length===4?U(...n):n.length===3?qe(...n):B.fail("Incorrect number of arguments specified.")}function U(n,i,_,c){let d=ae(185);return d.modifiers=Pe(n),d.typeParameters=Pe(i),d.parameters=Pe(_),d.type=c,d.transformFlags=1,d.jsDoc=void 0,d.locals=void 0,d.nextContainer=void 0,d.typeArguments=void 0,d}function qe(n,i,_){return U(void 0,n,i,_)}function cn(...n){return n.length===5?Fe(...n):n.length===4?He(...n):B.fail("Incorrect number of arguments specified.")}function Fe(n,i,_,c,d){return n.modifiers!==i||n.typeParameters!==_||n.parameters!==c||n.type!==d?ve(Me(i,_,c,d),n):n}function He(n,i,_,c){return Fe(n,n.modifiers,i,_,c)}function Nt(n,i){let _=O(186);return _.exprName=n,_.typeArguments=i&&o().parenthesizeTypeArguments(i),_.transformFlags=1,_}function Et(n,i,_){return n.exprName!==i||n.typeArguments!==_?R(Nt(i,_),n):n}function It(n){let i=ae(187);return i.members=me(n),i.transformFlags=1,i}function Gt(n,i){return n.members!==i?R(It(i),n):n}function $n(n){let i=O(188);return i.elementType=o().parenthesizeNonArrayTypeOfPostfixType(n),i.transformFlags=1,i}function Ni(n,i){return n.elementType!==i?R($n(i),n):n}function hn(n){let i=O(189);return i.elements=me(o().parenthesizeElementTypesOfTupleType(n)),i.transformFlags=1,i}function Y(n,i){return n.elements!==i?R(hn(i),n):n}function de(n,i,_,c){let d=ae(202);return d.dotDotDotToken=n,d.name=i,d.questionToken=_,d.type=c,d.transformFlags=1,d.jsDoc=void 0,d}function ze(n,i,_,c,d){return n.dotDotDotToken!==i||n.name!==_||n.questionToken!==c||n.type!==d?R(de(i,_,c,d),n):n}function ke(n){let i=O(190);return i.type=o().parenthesizeTypeOfOptionalType(n),i.transformFlags=1,i}function L(n,i){return n.type!==i?R(ke(i),n):n}function gt(n){let i=O(191);return i.type=n,i.transformFlags=1,i}function St(n,i){return n.type!==i?R(gt(i),n):n}function Lt(n,i,_){let c=O(n);return c.types=he.createNodeArray(_(i)),c.transformFlags=1,c}function yn(n,i,_){return n.types!==i?R(Lt(n.kind,i,_),n):n}function Vl(n){return Lt(192,n,o().parenthesizeConstituentTypesOfUnionType)}function zs(n,i){return yn(n,i,o().parenthesizeConstituentTypesOfUnionType)}function qr(n){return Lt(193,n,o().parenthesizeConstituentTypesOfIntersectionType)}function Je(n,i){return yn(n,i,o().parenthesizeConstituentTypesOfIntersectionType)}function mt(n,i,_,c){let d=O(194);return d.checkType=o().parenthesizeCheckTypeOfConditionalType(n),d.extendsType=o().parenthesizeExtendsTypeOfConditionalType(i),d.trueType=_,d.falseType=c,d.transformFlags=1,d.locals=void 0,d.nextContainer=void 0,d}function Wl(n,i,_,c,d){return n.checkType!==i||n.extendsType!==_||n.trueType!==c||n.falseType!==d?R(mt(i,_,c,d),n):n}function Qn(n){let i=O(195);return i.typeParameter=n,i.transformFlags=1,i}function Gl(n,i){return n.typeParameter!==i?R(Qn(i),n):n}function Qt(n,i){let _=O(203);return _.head=n,_.templateSpans=me(i),_.transformFlags=1,_}function Yl(n,i,_){return n.head!==i||n.templateSpans!==_?R(Qt(i,_),n):n}function cr(n,i,_,c,d=!1){let T=O(205);return T.argument=n,T.attributes=i,T.assertions&&T.assertions.assertClause&&T.attributes&&(T.assertions.assertClause=T.attributes),T.qualifier=_,T.typeArguments=c&&o().parenthesizeTypeArguments(c),T.isTypeOf=d,T.transformFlags=1,T}function fa(n,i,_,c,d,T=n.isTypeOf){return n.argument!==i||n.attributes!==_||n.qualifier!==c||n.typeArguments!==d||n.isTypeOf!==T?R(cr(i,_,c,d,T),n):n}function rn(n){let i=O(196);return i.type=n,i.transformFlags=1,i}function Dt(n,i){return n.type!==i?R(rn(i),n):n}function D(){let n=O(197);return n.transformFlags=1,n}function an(n,i){let _=O(198);return _.operator=n,_.type=n===148?o().parenthesizeOperandOfReadonlyTypeOperator(i):o().parenthesizeOperandOfTypeOperator(i),_.transformFlags=1,_}function zr(n,i){return n.type!==i?R(an(n.operator,i),n):n}function lr(n,i){let _=O(199);return _.objectType=o().parenthesizeNonArrayTypeOfPostfixType(n),_.indexType=i,_.transformFlags=1,_}function r_(n,i,_){return n.objectType!==i||n.indexType!==_?R(lr(i,_),n):n}function wt(n,i,_,c,d,T){let q=ae(200);return q.readonlyToken=n,q.typeParameter=i,q.nameType=_,q.questionToken=c,q.type=d,q.members=T&&me(T),q.transformFlags=1,q.locals=void 0,q.nextContainer=void 0,q}function Rt(n,i,_,c,d,T,q){return n.readonlyToken!==i||n.typeParameter!==_||n.nameType!==c||n.questionToken!==d||n.type!==T||n.members!==q?R(wt(i,_,c,d,T,q),n):n}function ai(n){let i=O(201);return i.literal=n,i.transformFlags=1,i}function Fr(n,i){return n.literal!==i?R(ai(i),n):n}function Fs(n){let i=O(206);return i.elements=me(n),i.transformFlags|=Ae(i.elements)|1024|524288,i.transformFlags&32768&&(i.transformFlags|=65664),i}function Hl(n,i){return n.elements!==i?R(Fs(i),n):n}function Vr(n){let i=O(207);return i.elements=me(n),i.transformFlags|=Ae(i.elements)|1024|524288,i}function Xl(n,i){return n.elements!==i?R(Vr(i),n):n}function da(n,i,_,c){let d=ae(208);return d.dotDotDotToken=n,d.propertyName=nt(i),d.name=nt(_),d.initializer=pn(c),d.transformFlags|=F(d.dotDotDotToken)|Bn(d.propertyName)|Bn(d.name)|F(d.initializer)|(d.dotDotDotToken?32768:0)|1024,d.flowNode=void 0,d}function _i(n,i,_,c,d){return n.propertyName!==_||n.dotDotDotToken!==i||n.name!==c||n.initializer!==d?R(da(i,_,c,d),n):n}function i_(n,i){let _=O(209),c=n&&Ki(n),d=me(n,c&&oh(c)?!0:void 0);return _.elements=o().parenthesizeExpressionsOfCommaDelimitedList(d),_.multiLine=i,_.transformFlags|=Ae(_.elements),_}function Vs(n,i){return n.elements!==i?R(i_(i,n.multiLine),n):n}function Ii(n,i){let _=ae(210);return _.properties=me(n),_.multiLine=i,_.transformFlags|=Ae(_.properties),_.jsDoc=void 0,_}function $l(n,i){return n.properties!==i?R(Ii(i,n.multiLine),n):n}function Ws(n,i,_){let c=ae(211);return c.expression=n,c.questionDotToken=i,c.name=_,c.transformFlags=F(c.expression)|F(c.questionDotToken)|(et(c.name)?Ba(c.name):F(c.name)|536870912),c.jsDoc=void 0,c.flowNode=void 0,c}function ur(n,i){let _=Ws(o().parenthesizeLeftSideOfAccess(n,!1),void 0,nt(i));return Vp(n)&&(_.transformFlags|=384),_}function Gs(n,i,_){return r2(n)?Ys(n,i,n.questionDotToken,Ir(_,et)):n.expression!==i||n.name!==_?R(ur(i,_),n):n}function si(n,i,_){let c=Ws(o().parenthesizeLeftSideOfAccess(n,!0),i,nt(_));return c.flags|=64,c.transformFlags|=32,c}function Ys(n,i,_,c){return B.assert(!!(n.flags&64),"Cannot update a PropertyAccessExpression using updatePropertyAccessChain. Use updatePropertyAccess instead."),n.expression!==i||n.questionDotToken!==_||n.name!==c?R(si(i,_,c),n):n}function ma(n,i,_){let c=ae(212);return c.expression=n,c.questionDotToken=i,c.argumentExpression=_,c.transformFlags|=F(c.expression)|F(c.questionDotToken)|F(c.argumentExpression),c.jsDoc=void 0,c.flowNode=void 0,c}function a_(n,i){let _=ma(o().parenthesizeLeftSideOfAccess(n,!1),void 0,mr(i));return Vp(n)&&(_.transformFlags|=384),_}function Ql(n,i,_){return i2(n)?Hs(n,i,n.questionDotToken,_):n.expression!==i||n.argumentExpression!==_?R(a_(i,_),n):n}function __(n,i,_){let c=ma(o().parenthesizeLeftSideOfAccess(n,!0),i,mr(_));return c.flags|=64,c.transformFlags|=32,c}function Hs(n,i,_,c){return B.assert(!!(n.flags&64),"Cannot update a ElementAccessExpression using updateElementAccessChain. Use updateElementAccess instead."),n.expression!==i||n.questionDotToken!==_||n.argumentExpression!==c?R(__(i,_,c),n):n}function Xs(n,i,_,c){let d=ae(213);return d.expression=n,d.questionDotToken=i,d.typeArguments=_,d.arguments=c,d.transformFlags|=F(d.expression)|F(d.questionDotToken)|Ae(d.typeArguments)|Ae(d.arguments),d.typeArguments&&(d.transformFlags|=1),im(d.expression)&&(d.transformFlags|=16384),d}function wr(n,i,_){let c=Xs(o().parenthesizeLeftSideOfAccess(n,!1),void 0,Pe(i),o().parenthesizeExpressionsOfCommaDelimitedList(me(_)));return l6(c.expression)&&(c.transformFlags|=8388608),c}function Kl(n,i,_,c){return Qd(n)?kn(n,i,n.questionDotToken,_,c):n.expression!==i||n.typeArguments!==_||n.arguments!==c?R(wr(i,_,c),n):n}function s_(n,i,_,c){let d=Xs(o().parenthesizeLeftSideOfAccess(n,!0),i,Pe(_),o().parenthesizeExpressionsOfCommaDelimitedList(me(c)));return d.flags|=64,d.transformFlags|=32,d}function kn(n,i,_,c,d){return B.assert(!!(n.flags&64),"Cannot update a CallExpression using updateCallChain. Use updateCall instead."),n.expression!==i||n.questionDotToken!==_||n.typeArguments!==c||n.arguments!==d?R(s_(i,_,c,d),n):n}function ha(n,i,_){let c=ae(214);return c.expression=o().parenthesizeExpressionOfNew(n),c.typeArguments=Pe(i),c.arguments=_?o().parenthesizeExpressionsOfCommaDelimitedList(_):void 0,c.transformFlags|=F(c.expression)|Ae(c.typeArguments)|Ae(c.arguments)|32,c.typeArguments&&(c.transformFlags|=1),c}function o_(n,i,_,c){return n.expression!==i||n.typeArguments!==_||n.arguments!==c?R(ha(i,_,c),n):n}function c_(n,i,_){let c=O(215);return c.tag=o().parenthesizeLeftSideOfAccess(n,!1),c.typeArguments=Pe(i),c.template=_,c.transformFlags|=F(c.tag)|Ae(c.typeArguments)|F(c.template)|1024,c.typeArguments&&(c.transformFlags|=1),cb(c.template)&&(c.transformFlags|=128),c}function Zl(n,i,_,c){return n.tag!==i||n.typeArguments!==_||n.template!==c?R(c_(i,_,c),n):n}function $s(n,i){let _=O(216);return _.expression=o().parenthesizeOperandOfPrefixUnary(i),_.type=n,_.transformFlags|=F(_.expression)|F(_.type)|1,_}function Qs(n,i,_){return n.type!==i||n.expression!==_?R($s(i,_),n):n}function l_(n){let i=O(217);return i.expression=n,i.transformFlags=F(i.expression),i.jsDoc=void 0,i}function Ks(n,i){return n.expression!==i?R(l_(i),n):n}function u_(n,i,_,c,d,T,q){let pe=ae(218);pe.modifiers=Pe(n),pe.asteriskToken=i,pe.name=nt(_),pe.typeParameters=Pe(c),pe.parameters=me(d),pe.type=T,pe.body=q;let Le=qn(pe.modifiers)&1024,en=!!pe.asteriskToken,hr=Le&&en;return pe.transformFlags=Ae(pe.modifiers)|F(pe.asteriskToken)|Bn(pe.name)|Ae(pe.typeParameters)|Ae(pe.parameters)|F(pe.type)|F(pe.body)&-67108865|(hr?128:Le?256:en?2048:0)|(pe.typeParameters||pe.type?1:0)|4194304,pe.typeArguments=void 0,pe.jsDoc=void 0,pe.locals=void 0,pe.nextContainer=void 0,pe.flowNode=void 0,pe.endFlowNode=void 0,pe.returnFlowNode=void 0,pe}function Zs(n,i,_,c,d,T,q,pe){return n.name!==c||n.modifiers!==i||n.asteriskToken!==_||n.typeParameters!==d||n.parameters!==T||n.type!==q||n.body!==pe?ve(u_(i,_,c,d,T,q,pe),n):n}function p_(n,i,_,c,d,T){let q=ae(219);q.modifiers=Pe(n),q.typeParameters=Pe(i),q.parameters=me(_),q.type=c,q.equalsGreaterThanToken=d??ut(39),q.body=o().parenthesizeConciseBodyOfArrowFunction(T);let pe=qn(q.modifiers)&1024;return q.transformFlags=Ae(q.modifiers)|Ae(q.typeParameters)|Ae(q.parameters)|F(q.type)|F(q.equalsGreaterThanToken)|F(q.body)&-67108865|(q.typeParameters||q.type?1:0)|(pe?16640:0)|1024,q.typeArguments=void 0,q.jsDoc=void 0,q.locals=void 0,q.nextContainer=void 0,q.flowNode=void 0,q.endFlowNode=void 0,q.returnFlowNode=void 0,q}function eo(n,i,_,c,d,T,q){return n.modifiers!==i||n.typeParameters!==_||n.parameters!==c||n.type!==d||n.equalsGreaterThanToken!==T||n.body!==q?ve(p_(i,_,c,d,T,q),n):n}function f_(n){let i=O(220);return i.expression=o().parenthesizeOperandOfPrefixUnary(n),i.transformFlags|=F(i.expression),i}function eu(n,i){return n.expression!==i?R(f_(i),n):n}function Kt(n){let i=O(221);return i.expression=o().parenthesizeOperandOfPrefixUnary(n),i.transformFlags|=F(i.expression),i}function tu(n,i){return n.expression!==i?R(Kt(i),n):n}function jn(n){let i=O(222);return i.expression=o().parenthesizeOperandOfPrefixUnary(n),i.transformFlags|=F(i.expression),i}function nu(n,i){return n.expression!==i?R(jn(i),n):n}function kr(n){let i=O(223);return i.expression=o().parenthesizeOperandOfPrefixUnary(n),i.transformFlags|=F(i.expression)|256|128|2097152,i}function Oi(n,i){return n.expression!==i?R(kr(i),n):n}function d_(n,i){let _=O(224);return _.operator=n,_.operand=o().parenthesizeOperandOfPrefixUnary(i),_.transformFlags|=F(_.operand),(n===46||n===47)&&et(_.operand)&&!za(_.operand)&&!mm(_.operand)&&(_.transformFlags|=268435456),_}function ya(n,i){return n.operand!==i?R(d_(n.operator,i),n):n}function m_(n,i){let _=O(225);return _.operator=i,_.operand=o().parenthesizeOperandOfPostfixUnary(n),_.transformFlags|=F(_.operand),et(_.operand)&&!za(_.operand)&&!mm(_.operand)&&(_.transformFlags|=268435456),_}function to(n,i){return n.operand!==i?R(m_(i,n.operator),n):n}function h_(n,i,_){let c=ae(226),d=Pr(i),T=d.kind;return c.left=o().parenthesizeLeftSideOfBinary(T,n),c.operatorToken=d,c.right=o().parenthesizeRightSideOfBinary(T,c.left,_),c.transformFlags|=F(c.left)|F(c.operatorToken)|F(c.right),T===61?c.transformFlags|=32:T===64?Yf(c.left)?c.transformFlags|=5248|no(c.left):ih(c.left)&&(c.transformFlags|=5120|no(c.left)):T===43||T===68?c.transformFlags|=512:vb(T)&&(c.transformFlags|=16),T===103&&wi(c.left)&&(c.transformFlags|=536870912),c.jsDoc=void 0,c}function no(n){return Sh(n)?65536:0}function ru(n,i,_,c){return n.left!==i||n.operatorToken!==_||n.right!==c?R(h_(i,_,c),n):n}function y_(n,i,_,c,d){let T=O(227);return T.condition=o().parenthesizeConditionOfConditionalExpression(n),T.questionToken=i??ut(58),T.whenTrue=o().parenthesizeBranchOfConditionalExpression(_),T.colonToken=c??ut(59),T.whenFalse=o().parenthesizeBranchOfConditionalExpression(d),T.transformFlags|=F(T.condition)|F(T.questionToken)|F(T.whenTrue)|F(T.colonToken)|F(T.whenFalse),T}function iu(n,i,_,c,d,T){return n.condition!==i||n.questionToken!==_||n.whenTrue!==c||n.colonToken!==d||n.whenFalse!==T?R(y_(i,_,c,d,T),n):n}function Kn(n,i){let _=O(228);return _.head=n,_.templateSpans=me(i),_.transformFlags|=F(_.head)|Ae(_.templateSpans)|1024,_}function ro(n,i,_){return n.head!==i||n.templateSpans!==_?R(Kn(i,_),n):n}function ga(n,i,_,c=0){B.assert(!(c&-7177),"Unsupported template flags.");let d;if(_!==void 0&&_!==i&&(d=t6(n,_),typeof d=="object"))return B.fail("Invalid raw text");if(i===void 0){if(d===void 0)return B.fail("Arguments 'text' and 'rawText' may not both be undefined.");i=d}else d!==void 0&&B.assert(i===d,"Expected argument 'text' to be the normalized (i.e. 'cooked') version of argument 'rawText'.");return i}function io(n){let i=1024;return n&&(i|=128),i}function Mi(n,i,_,c){let d=nn(n);return d.text=i,d.rawText=_,d.templateFlags=c&7176,d.transformFlags=io(d.templateFlags),d}function g_(n,i,_,c){let d=ae(n);return d.text=i,d.rawText=_,d.templateFlags=c&7176,d.transformFlags=io(d.templateFlags),d}function oi(n,i,_,c){return n===15?g_(n,i,_,c):Mi(n,i,_,c)}function ba(n,i,_){return n=ga(16,n,i,_),oi(16,n,i,_)}function b_(n,i,_){return n=ga(16,n,i,_),oi(17,n,i,_)}function au(n,i,_){return n=ga(16,n,i,_),oi(18,n,i,_)}function ao(n,i,_){return n=ga(16,n,i,_),g_(15,n,i,_)}function _o(n,i){B.assert(!n||!!i,"A `YieldExpression` with an asteriskToken must have an expression.");let _=O(229);return _.expression=i&&o().parenthesizeExpressionForDisallowedComma(i),_.asteriskToken=n,_.transformFlags|=F(_.expression)|F(_.asteriskToken)|1024|128|1048576,_}function _u(n,i,_){return n.expression!==_||n.asteriskToken!==i?R(_o(i,_),n):n}function so(n){let i=O(230);return i.expression=o().parenthesizeExpressionForDisallowedComma(n),i.transformFlags|=F(i.expression)|1024|32768,i}function su(n,i){return n.expression!==i?R(so(i),n):n}function oo(n,i,_,c,d){let T=ae(231);return T.modifiers=Pe(n),T.name=nt(i),T.typeParameters=Pe(_),T.heritageClauses=Pe(c),T.members=me(d),T.transformFlags|=Ae(T.modifiers)|Bn(T.name)|Ae(T.typeParameters)|Ae(T.heritageClauses)|Ae(T.members)|(T.typeParameters?1:0)|1024,T.jsDoc=void 0,T}function Ji(n,i,_,c,d,T){return n.modifiers!==i||n.name!==_||n.typeParameters!==c||n.heritageClauses!==d||n.members!==T?R(oo(i,_,c,d,T),n):n}function ou(){return O(232)}function co(n,i){let _=O(233);return _.expression=o().parenthesizeLeftSideOfAccess(n,!1),_.typeArguments=i&&o().parenthesizeTypeArguments(i),_.transformFlags|=F(_.expression)|Ae(_.typeArguments)|1024,_}function En(n,i,_){return n.expression!==i||n.typeArguments!==_?R(co(i,_),n):n}function va(n,i){let _=O(234);return _.expression=n,_.type=i,_.transformFlags|=F(_.expression)|F(_.type)|1,_}function lo(n,i,_){return n.expression!==i||n.type!==_?R(va(i,_),n):n}function uo(n){let i=O(235);return i.expression=o().parenthesizeLeftSideOfAccess(n,!1),i.transformFlags|=F(i.expression)|1,i}function v_(n,i){return a2(n)?fo(n,i):n.expression!==i?R(uo(i),n):n}function po(n,i){let _=O(238);return _.expression=n,_.type=i,_.transformFlags|=F(_.expression)|F(_.type)|1,_}function x_(n,i,_){return n.expression!==i||n.type!==_?R(po(i,_),n):n}function Ln(n){let i=O(235);return i.flags|=64,i.expression=o().parenthesizeLeftSideOfAccess(n,!0),i.transformFlags|=F(i.expression)|1,i}function fo(n,i){return B.assert(!!(n.flags&64),"Cannot update a NonNullExpression using updateNonNullChain. Use updateNonNullExpression instead."),n.expression!==i?R(Ln(i),n):n}function xa(n,i){let _=O(236);switch(_.keywordToken=n,_.name=i,_.transformFlags|=F(_.name),n){case 105:_.transformFlags|=1024;break;case 102:_.transformFlags|=32;break;default:return B.assertNever(n)}return _.flowNode=void 0,_}function pr(n,i){return n.name!==i?R(xa(n.keywordToken,i),n):n}function ji(n,i){let _=O(239);return _.expression=n,_.literal=i,_.transformFlags|=F(_.expression)|F(_.literal)|1024,_}function mo(n,i,_){return n.expression!==i||n.literal!==_?R(ji(i,_),n):n}function ho(){let n=O(240);return n.transformFlags|=1024,n}function ci(n,i){let _=O(241);return _.statements=me(n),_.multiLine=i,_.transformFlags|=Ae(_.statements),_.jsDoc=void 0,_.locals=void 0,_.nextContainer=void 0,_}function yo(n,i){return n.statements!==i?R(ci(i,n.multiLine),n):n}function go(n,i){let _=O(243);return _.modifiers=Pe(n),_.declarationList=Zr(i)?C_(i):i,_.transformFlags|=Ae(_.modifiers)|F(_.declarationList),qn(_.modifiers)&128&&(_.transformFlags=1),_.jsDoc=void 0,_.flowNode=void 0,_}function bo(n,i,_){return n.modifiers!==i||n.declarationList!==_?R(go(i,_),n):n}function T_(){let n=O(242);return n.jsDoc=void 0,n}function Li(n){let i=O(244);return i.expression=o().parenthesizeExpressionOfExpressionStatement(n),i.transformFlags|=F(i.expression),i.jsDoc=void 0,i.flowNode=void 0,i}function cu(n,i){return n.expression!==i?R(Li(i),n):n}function S_(n,i,_){let c=O(245);return c.expression=n,c.thenStatement=Zn(i),c.elseStatement=Zn(_),c.transformFlags|=F(c.expression)|F(c.thenStatement)|F(c.elseStatement),c.jsDoc=void 0,c.flowNode=void 0,c}function lu(n,i,_,c){return n.expression!==i||n.thenStatement!==_||n.elseStatement!==c?R(S_(i,_,c),n):n}function w_(n,i){let _=O(246);return _.statement=Zn(n),_.expression=i,_.transformFlags|=F(_.statement)|F(_.expression),_.jsDoc=void 0,_.flowNode=void 0,_}function uu(n,i,_){return n.statement!==i||n.expression!==_?R(w_(i,_),n):n}function vo(n,i){let _=O(247);return _.expression=n,_.statement=Zn(i),_.transformFlags|=F(_.expression)|F(_.statement),_.jsDoc=void 0,_.flowNode=void 0,_}function pu(n,i,_){return n.expression!==i||n.statement!==_?R(vo(i,_),n):n}function k_(n,i,_,c){let d=O(248);return d.initializer=n,d.condition=i,d.incrementor=_,d.statement=Zn(c),d.transformFlags|=F(d.initializer)|F(d.condition)|F(d.incrementor)|F(d.statement),d.jsDoc=void 0,d.locals=void 0,d.nextContainer=void 0,d.flowNode=void 0,d}function xo(n,i,_,c,d){return n.initializer!==i||n.condition!==_||n.incrementor!==c||n.statement!==d?R(k_(i,_,c,d),n):n}function To(n,i,_){let c=O(249);return c.initializer=n,c.expression=i,c.statement=Zn(_),c.transformFlags|=F(c.initializer)|F(c.expression)|F(c.statement),c.jsDoc=void 0,c.locals=void 0,c.nextContainer=void 0,c.flowNode=void 0,c}function fu(n,i,_,c){return n.initializer!==i||n.expression!==_||n.statement!==c?R(To(i,_,c),n):n}function So(n,i,_,c){let d=O(250);return d.awaitModifier=n,d.initializer=i,d.expression=o().parenthesizeExpressionForDisallowedComma(_),d.statement=Zn(c),d.transformFlags|=F(d.awaitModifier)|F(d.initializer)|F(d.expression)|F(d.statement)|1024,n&&(d.transformFlags|=128),d.jsDoc=void 0,d.locals=void 0,d.nextContainer=void 0,d.flowNode=void 0,d}function du(n,i,_,c,d){return n.awaitModifier!==i||n.initializer!==_||n.expression!==c||n.statement!==d?R(So(i,_,c,d),n):n}function wo(n){let i=O(251);return i.label=nt(n),i.transformFlags|=F(i.label)|4194304,i.jsDoc=void 0,i.flowNode=void 0,i}function ko(n,i){return n.label!==i?R(wo(i),n):n}function E_(n){let i=O(252);return i.label=nt(n),i.transformFlags|=F(i.label)|4194304,i.jsDoc=void 0,i.flowNode=void 0,i}function Eo(n,i){return n.label!==i?R(E_(i),n):n}function Ao(n){let i=O(253);return i.expression=n,i.transformFlags|=F(i.expression)|128|4194304,i.jsDoc=void 0,i.flowNode=void 0,i}function Co(n,i){return n.expression!==i?R(Ao(i),n):n}function A_(n,i){let _=O(254);return _.expression=n,_.statement=Zn(i),_.transformFlags|=F(_.expression)|F(_.statement),_.jsDoc=void 0,_.flowNode=void 0,_}function Do(n,i,_){return n.expression!==i||n.statement!==_?R(A_(i,_),n):n}function Wr(n,i){let _=O(255);return _.expression=o().parenthesizeExpressionForDisallowedComma(n),_.caseBlock=i,_.transformFlags|=F(_.expression)|F(_.caseBlock),_.jsDoc=void 0,_.flowNode=void 0,_.possiblyExhaustive=!1,_}function mu(n,i,_){return n.expression!==i||n.caseBlock!==_?R(Wr(i,_),n):n}function Po(n,i){let _=O(256);return _.label=nt(n),_.statement=Zn(i),_.transformFlags|=F(_.label)|F(_.statement),_.jsDoc=void 0,_.flowNode=void 0,_}function No(n,i,_){return n.label!==i||n.statement!==_?R(Po(i,_),n):n}function Io(n){let i=O(257);return i.expression=n,i.transformFlags|=F(i.expression),i.jsDoc=void 0,i.flowNode=void 0,i}function hu(n,i){return n.expression!==i?R(Io(i),n):n}function Oo(n,i,_){let c=O(258);return c.tryBlock=n,c.catchClause=i,c.finallyBlock=_,c.transformFlags|=F(c.tryBlock)|F(c.catchClause)|F(c.finallyBlock),c.jsDoc=void 0,c.flowNode=void 0,c}function Mo(n,i,_,c){return n.tryBlock!==i||n.catchClause!==_||n.finallyBlock!==c?R(Oo(i,_,c),n):n}function Jo(){let n=O(259);return n.jsDoc=void 0,n.flowNode=void 0,n}function Ta(n,i,_,c){let d=ae(260);return d.name=nt(n),d.exclamationToken=i,d.type=_,d.initializer=pn(c),d.transformFlags|=Bn(d.name)|F(d.initializer)|(d.exclamationToken??d.type?1:0),d.jsDoc=void 0,d}function yu(n,i,_,c,d){return n.name!==i||n.type!==c||n.exclamationToken!==_||n.initializer!==d?R(Ta(i,_,c,d),n):n}function C_(n,i=0){let _=O(261);return _.flags|=i&7,_.declarations=me(n),_.transformFlags|=Ae(_.declarations)|4194304,i&7&&(_.transformFlags|=263168),i&4&&(_.transformFlags|=4),_}function gu(n,i){return n.declarations!==i?R(C_(i,n.flags),n):n}function D_(n,i,_,c,d,T,q){let pe=ae(262);if(pe.modifiers=Pe(n),pe.asteriskToken=i,pe.name=nt(_),pe.typeParameters=Pe(c),pe.parameters=me(d),pe.type=T,pe.body=q,!pe.body||qn(pe.modifiers)&128)pe.transformFlags=1;else{let Le=qn(pe.modifiers)&1024,en=!!pe.asteriskToken,hr=Le&&en;pe.transformFlags=Ae(pe.modifiers)|F(pe.asteriskToken)|Bn(pe.name)|Ae(pe.typeParameters)|Ae(pe.parameters)|F(pe.type)|F(pe.body)&-67108865|(hr?128:Le?256:en?2048:0)|(pe.typeParameters||pe.type?1:0)|4194304}return pe.typeArguments=void 0,pe.jsDoc=void 0,pe.locals=void 0,pe.nextContainer=void 0,pe.endFlowNode=void 0,pe.returnFlowNode=void 0,pe}function jo(n,i,_,c,d,T,q,pe){return n.modifiers!==i||n.asteriskToken!==_||n.name!==c||n.typeParameters!==d||n.parameters!==T||n.type!==q||n.body!==pe?bu(D_(i,_,c,d,T,q,pe),n):n}function bu(n,i){return n!==i&&n.modifiers===i.modifiers&&(n.modifiers=i.modifiers),ve(n,i)}function P_(n,i,_,c,d){let T=ae(263);return T.modifiers=Pe(n),T.name=nt(i),T.typeParameters=Pe(_),T.heritageClauses=Pe(c),T.members=me(d),qn(T.modifiers)&128?T.transformFlags=1:(T.transformFlags|=Ae(T.modifiers)|Bn(T.name)|Ae(T.typeParameters)|Ae(T.heritageClauses)|Ae(T.members)|(T.typeParameters?1:0)|1024,T.transformFlags&8192&&(T.transformFlags|=1)),T.jsDoc=void 0,T}function N_(n,i,_,c,d,T){return n.modifiers!==i||n.name!==_||n.typeParameters!==c||n.heritageClauses!==d||n.members!==T?R(P_(i,_,c,d,T),n):n}function Lo(n,i,_,c,d){let T=ae(264);return T.modifiers=Pe(n),T.name=nt(i),T.typeParameters=Pe(_),T.heritageClauses=Pe(c),T.members=me(d),T.transformFlags=1,T.jsDoc=void 0,T}function ct(n,i,_,c,d,T){return n.modifiers!==i||n.name!==_||n.typeParameters!==c||n.heritageClauses!==d||n.members!==T?R(Lo(i,_,c,d,T),n):n}function Er(n,i,_,c){let d=ae(265);return d.modifiers=Pe(n),d.name=nt(i),d.typeParameters=Pe(_),d.type=c,d.transformFlags=1,d.jsDoc=void 0,d.locals=void 0,d.nextContainer=void 0,d}function I_(n,i,_,c,d){return n.modifiers!==i||n.name!==_||n.typeParameters!==c||n.type!==d?R(Er(i,_,c,d),n):n}function Ar(n,i,_){let c=ae(266);return c.modifiers=Pe(n),c.name=nt(i),c.members=me(_),c.transformFlags|=Ae(c.modifiers)|F(c.name)|Ae(c.members)|1,c.transformFlags&=-67108865,c.jsDoc=void 0,c}function Ro(n,i,_,c){return n.modifiers!==i||n.name!==_||n.members!==c?R(Ar(i,_,c),n):n}function At(n,i,_,c=0){let d=ae(267);return d.modifiers=Pe(n),d.flags|=c&2088,d.name=i,d.body=_,qn(d.modifiers)&128?d.transformFlags=1:d.transformFlags|=Ae(d.modifiers)|F(d.name)|F(d.body)|1,d.transformFlags&=-67108865,d.jsDoc=void 0,d.locals=void 0,d.nextContainer=void 0,d}function Cr(n,i,_,c){return n.modifiers!==i||n.name!==_||n.body!==c?R(At(i,_,c,n.flags),n):n}function Ut(n){let i=O(268);return i.statements=me(n),i.transformFlags|=Ae(i.statements),i.jsDoc=void 0,i}function vu(n,i){return n.statements!==i?R(Ut(i),n):n}function Uo(n){let i=O(269);return i.clauses=me(n),i.transformFlags|=Ae(i.clauses),i.locals=void 0,i.nextContainer=void 0,i}function xu(n,i){return n.clauses!==i?R(Uo(i),n):n}function O_(n){let i=ae(270);return i.name=nt(n),i.transformFlags|=Ba(i.name)|1,i.modifiers=void 0,i.jsDoc=void 0,i}function Tu(n,i){return n.name!==i?Su(O_(i),n):n}function Su(n,i){return n!==i&&(n.modifiers=i.modifiers),R(n,i)}function Bo(n,i,_,c){let d=ae(271);return d.modifiers=Pe(n),d.name=nt(_),d.isTypeOnly=i,d.moduleReference=c,d.transformFlags|=Ae(d.modifiers)|Ba(d.name)|F(d.moduleReference),td(d.moduleReference)||(d.transformFlags|=1),d.transformFlags&=-67108865,d.jsDoc=void 0,d}function qo(n,i,_,c,d){return n.modifiers!==i||n.isTypeOnly!==_||n.name!==c||n.moduleReference!==d?R(Bo(i,_,c,d),n):n}function zo(n,i,_,c){let d=O(272);return d.modifiers=Pe(n),d.importClause=i,d.moduleSpecifier=_,d.attributes=d.assertClause=c,d.transformFlags|=F(d.importClause)|F(d.moduleSpecifier),d.transformFlags&=-67108865,d.jsDoc=void 0,d}function Fo(n,i,_,c,d){return n.modifiers!==i||n.importClause!==_||n.moduleSpecifier!==c||n.attributes!==d?R(zo(i,_,c,d),n):n}function M_(n,i,_){let c=ae(273);return c.isTypeOnly=n,c.name=i,c.namedBindings=_,c.transformFlags|=F(c.name)|F(c.namedBindings),n&&(c.transformFlags|=1),c.transformFlags&=-67108865,c}function Vo(n,i,_,c){return n.isTypeOnly!==i||n.name!==_||n.namedBindings!==c?R(M_(i,_,c),n):n}function Wo(n,i){let _=O(300);return _.elements=me(n),_.multiLine=i,_.token=132,_.transformFlags|=4,_}function Sa(n,i,_){return n.elements!==i||n.multiLine!==_?R(Wo(i,_),n):n}function J_(n,i){let _=O(301);return _.name=n,_.value=i,_.transformFlags|=4,_}function Go(n,i,_){return n.name!==i||n.value!==_?R(J_(i,_),n):n}function j_(n,i){let _=O(302);return _.assertClause=n,_.multiLine=i,_}function wu(n,i,_){return n.assertClause!==i||n.multiLine!==_?R(j_(i,_),n):n}function wa(n,i,_){let c=O(300);return c.token=_??118,c.elements=me(n),c.multiLine=i,c.transformFlags|=4,c}function ku(n,i,_){return n.elements!==i||n.multiLine!==_?R(wa(i,_,n.token),n):n}function L_(n,i){let _=O(301);return _.name=n,_.value=i,_.transformFlags|=4,_}function Eu(n,i,_){return n.name!==i||n.value!==_?R(L_(i,_),n):n}function Yo(n){let i=ae(274);return i.name=n,i.transformFlags|=F(i.name),i.transformFlags&=-67108865,i}function Au(n,i){return n.name!==i?R(Yo(i),n):n}function Ho(n){let i=ae(280);return i.name=n,i.transformFlags|=F(i.name)|32,i.transformFlags&=-67108865,i}function Cu(n,i){return n.name!==i?R(Ho(i),n):n}function R_(n){let i=O(275);return i.elements=me(n),i.transformFlags|=Ae(i.elements),i.transformFlags&=-67108865,i}function Gr(n,i){return n.elements!==i?R(R_(i),n):n}function Xo(n,i,_){let c=ae(276);return c.isTypeOnly=n,c.propertyName=i,c.name=_,c.transformFlags|=F(c.propertyName)|F(c.name),c.transformFlags&=-67108865,c}function $o(n,i,_,c){return n.isTypeOnly!==i||n.propertyName!==_||n.name!==c?R(Xo(i,_,c),n):n}function li(n,i,_){let c=ae(277);return c.modifiers=Pe(n),c.isExportEquals=i,c.expression=i?o().parenthesizeRightSideOfBinary(64,void 0,_):o().parenthesizeExpressionOfExportDefault(_),c.transformFlags|=Ae(c.modifiers)|F(c.expression),c.transformFlags&=-67108865,c.jsDoc=void 0,c}function U_(n,i,_){return n.modifiers!==i||n.expression!==_?R(li(i,n.isExportEquals,_),n):n}function B_(n,i,_,c,d){let T=ae(278);return T.modifiers=Pe(n),T.isTypeOnly=i,T.exportClause=_,T.moduleSpecifier=c,T.attributes=T.assertClause=d,T.transformFlags|=Ae(T.modifiers)|F(T.exportClause)|F(T.moduleSpecifier),T.transformFlags&=-67108865,T.jsDoc=void 0,T}function ui(n,i,_,c,d,T){return n.modifiers!==i||n.isTypeOnly!==_||n.exportClause!==c||n.moduleSpecifier!==d||n.attributes!==T?Du(B_(i,_,c,d,T),n):n}function Du(n,i){return n!==i&&n.modifiers===i.modifiers&&(n.modifiers=i.modifiers),R(n,i)}function q_(n){let i=O(279);return i.elements=me(n),i.transformFlags|=Ae(i.elements),i.transformFlags&=-67108865,i}function Qo(n,i){return n.elements!==i?R(q_(i),n):n}function z_(n,i,_){let c=O(281);return c.isTypeOnly=n,c.propertyName=nt(i),c.name=nt(_),c.transformFlags|=F(c.propertyName)|F(c.name),c.transformFlags&=-67108865,c.jsDoc=void 0,c}function Pu(n,i,_,c){return n.isTypeOnly!==i||n.propertyName!==_||n.name!==c?R(z_(i,_,c),n):n}function Ko(){let n=ae(282);return n.jsDoc=void 0,n}function Zo(n){let i=O(283);return i.expression=n,i.transformFlags|=F(i.expression),i.transformFlags&=-67108865,i}function ec(n,i){return n.expression!==i?R(Zo(i),n):n}function Nu(n){return O(n)}function tc(n,i,_=!1){let c=F_(n,_?i&&o().parenthesizeNonArrayTypeOfPostfixType(i):i);return c.postfix=_,c}function F_(n,i){let _=O(n);return _.type=i,_}function Iu(n,i,_){return i.type!==_?R(tc(n,_,i.postfix),i):i}function Ou(n,i,_){return i.type!==_?R(F_(n,_),i):i}function nc(n,i){let _=ae(317);return _.parameters=Pe(n),_.type=i,_.transformFlags=Ae(_.parameters)|(_.type?1:0),_.jsDoc=void 0,_.locals=void 0,_.nextContainer=void 0,_.typeArguments=void 0,_}function Mu(n,i,_){return n.parameters!==i||n.type!==_?R(nc(i,_),n):n}function rc(n,i=!1){let _=ae(322);return _.jsDocPropertyTags=Pe(n),_.isArrayType=i,_}function Ju(n,i,_){return n.jsDocPropertyTags!==i||n.isArrayType!==_?R(rc(i,_),n):n}function ka(n){let i=O(309);return i.type=n,i}function ju(n,i){return n.type!==i?R(ka(i),n):n}function ic(n,i,_){let c=ae(323);return c.typeParameters=Pe(n),c.parameters=me(i),c.type=_,c.jsDoc=void 0,c.locals=void 0,c.nextContainer=void 0,c}function Ea(n,i,_,c){return n.typeParameters!==i||n.parameters!==_||n.type!==c?R(ic(i,_,c),n):n}function ln(n){let i=tl(n.kind);return n.tagName.escapedText===Ra(i)?n.tagName:Ve(i)}function Rn(n,i,_){let c=O(n);return c.tagName=i,c.comment=_,c}function pi(n,i,_){let c=ae(n);return c.tagName=i,c.comment=_,c}function V_(n,i,_,c){let d=Rn(345,n??Ve("template"),c);return d.constraint=i,d.typeParameters=me(_),d}function W_(n,i=ln(n),_,c,d){return n.tagName!==i||n.constraint!==_||n.typeParameters!==c||n.comment!==d?R(V_(i,_,c,d),n):n}function ac(n,i,_,c){let d=pi(346,n??Ve("typedef"),c);return d.typeExpression=i,d.fullName=_,d.name=hm(_),d.locals=void 0,d.nextContainer=void 0,d}function _c(n,i=ln(n),_,c,d){return n.tagName!==i||n.typeExpression!==_||n.fullName!==c||n.comment!==d?R(ac(i,_,c,d),n):n}function sc(n,i,_,c,d,T){let q=pi(341,n??Ve("param"),T);return q.typeExpression=c,q.name=i,q.isNameFirst=!!d,q.isBracketed=_,q}function Lu(n,i=ln(n),_,c,d,T,q){return n.tagName!==i||n.name!==_||n.isBracketed!==c||n.typeExpression!==d||n.isNameFirst!==T||n.comment!==q?R(sc(i,_,c,d,T,q),n):n}function G_(n,i,_,c,d,T){let q=pi(348,n??Ve("prop"),T);return q.typeExpression=c,q.name=i,q.isNameFirst=!!d,q.isBracketed=_,q}function Ru(n,i=ln(n),_,c,d,T,q){return n.tagName!==i||n.name!==_||n.isBracketed!==c||n.typeExpression!==d||n.isNameFirst!==T||n.comment!==q?R(G_(i,_,c,d,T,q),n):n}function Y_(n,i,_,c){let d=pi(338,n??Ve("callback"),c);return d.typeExpression=i,d.fullName=_,d.name=hm(_),d.locals=void 0,d.nextContainer=void 0,d}function Uu(n,i=ln(n),_,c,d){return n.tagName!==i||n.typeExpression!==_||n.fullName!==c||n.comment!==d?R(Y_(i,_,c,d),n):n}function Aa(n,i,_){let c=Rn(339,n??Ve("overload"),_);return c.typeExpression=i,c}function oc(n,i=ln(n),_,c){return n.tagName!==i||n.typeExpression!==_||n.comment!==c?R(Aa(i,_,c),n):n}function fi(n,i,_){let c=Rn(328,n??Ve("augments"),_);return c.class=i,c}function Bu(n,i=ln(n),_,c){return n.tagName!==i||n.class!==_||n.comment!==c?R(fi(i,_,c),n):n}function Yr(n,i,_){let c=Rn(329,n??Ve("implements"),_);return c.class=i,c}function Ri(n,i,_){let c=Rn(347,n??Ve("see"),_);return c.name=i,c}function qu(n,i,_,c){return n.tagName!==i||n.name!==_||n.comment!==c?R(Ri(i,_,c),n):n}function cc(n){let i=O(310);return i.name=n,i}function zu(n,i){return n.name!==i?R(cc(i),n):n}function lc(n,i){let _=O(311);return _.left=n,_.right=i,_.transformFlags|=F(_.left)|F(_.right),_}function Fu(n,i,_){return n.left!==i||n.right!==_?R(lc(i,_),n):n}function H_(n,i){let _=O(324);return _.name=n,_.text=i,_}function Vu(n,i,_){return n.name!==i?R(H_(i,_),n):n}function uc(n,i){let _=O(325);return _.name=n,_.text=i,_}function Wu(n,i,_){return n.name!==i?R(uc(i,_),n):n}function pc(n,i){let _=O(326);return _.name=n,_.text=i,_}function Gu(n,i,_){return n.name!==i?R(pc(i,_),n):n}function Yu(n,i=ln(n),_,c){return n.tagName!==i||n.class!==_||n.comment!==c?R(Yr(i,_,c),n):n}function fc(n,i,_){return Rn(n,i??Ve(tl(n)),_)}function Hu(n,i,_=ln(i),c){return i.tagName!==_||i.comment!==c?R(fc(n,_,c),i):i}function dc(n,i,_,c){let d=Rn(n,i??Ve(tl(n)),c);return d.typeExpression=_,d}function Xu(n,i,_=ln(i),c,d){return i.tagName!==_||i.typeExpression!==c||i.comment!==d?R(dc(n,_,c,d),i):i}function mc(n,i){return Rn(327,n,i)}function $u(n,i,_){return n.tagName!==i||n.comment!==_?R(mc(i,_),n):n}function Ca(n,i,_){let c=pi(340,n??Ve(tl(340)),_);return c.typeExpression=i,c.locals=void 0,c.nextContainer=void 0,c}function Qu(n,i=ln(n),_,c){return n.tagName!==i||n.typeExpression!==_||n.comment!==c?R(Ca(i,_,c),n):n}function X_(n,i,_,c,d){let T=Rn(351,n??Ve("import"),d);return T.importClause=i,T.moduleSpecifier=_,T.attributes=c,T.comment=d,T}function hc(n,i,_,c,d,T){return n.tagName!==i||n.comment!==T||n.importClause!==_||n.moduleSpecifier!==c||n.attributes!==d?R(X_(i,_,c,d,T),n):n}function yc(n){let i=O(321);return i.text=n,i}function Da(n,i){return n.text!==i?R(yc(i),n):n}function $_(n,i){let _=O(320);return _.comment=n,_.tags=Pe(i),_}function Ku(n,i,_){return n.comment!==i||n.tags!==_?R($_(i,_),n):n}function gc(n,i,_){let c=O(284);return c.openingElement=n,c.children=me(i),c.closingElement=_,c.transformFlags|=F(c.openingElement)|Ae(c.children)|F(c.closingElement)|2,c}function Zu(n,i,_,c){return n.openingElement!==i||n.children!==_||n.closingElement!==c?R(gc(i,_,c),n):n}function Pa(n,i,_){let c=O(285);return c.tagName=n,c.typeArguments=Pe(i),c.attributes=_,c.transformFlags|=F(c.tagName)|Ae(c.typeArguments)|F(c.attributes)|2,c.typeArguments&&(c.transformFlags|=1),c}function bc(n,i,_,c){return n.tagName!==i||n.typeArguments!==_||n.attributes!==c?R(Pa(i,_,c),n):n}function Q_(n,i,_){let c=O(286);return c.tagName=n,c.typeArguments=Pe(i),c.attributes=_,c.transformFlags|=F(c.tagName)|Ae(c.typeArguments)|F(c.attributes)|2,i&&(c.transformFlags|=1),c}function K_(n,i,_,c){return n.tagName!==i||n.typeArguments!==_||n.attributes!==c?R(Q_(i,_,c),n):n}function Zt(n){let i=O(287);return i.tagName=n,i.transformFlags|=F(i.tagName)|2,i}function vc(n,i){return n.tagName!==i?R(Zt(i),n):n}function Z_(n,i,_){let c=O(288);return c.openingFragment=n,c.children=me(i),c.closingFragment=_,c.transformFlags|=F(c.openingFragment)|Ae(c.children)|F(c.closingFragment)|2,c}function ep(n,i,_,c){return n.openingFragment!==i||n.children!==_||n.closingFragment!==c?R(Z_(i,_,c),n):n}function Ui(n,i){let _=O(12);return _.text=n,_.containsOnlyTriviaWhiteSpaces=!!i,_.transformFlags|=2,_}function tp(n,i,_){return n.text!==i||n.containsOnlyTriviaWhiteSpaces!==_?R(Ui(i,_),n):n}function np(){let n=O(289);return n.transformFlags|=2,n}function rp(){let n=O(290);return n.transformFlags|=2,n}function Bi(n,i){let _=ae(291);return _.name=n,_.initializer=i,_.transformFlags|=F(_.name)|F(_.initializer)|2,_}function ip(n,i,_){return n.name!==i||n.initializer!==_?R(Bi(i,_),n):n}function xc(n){let i=ae(292);return i.properties=me(n),i.transformFlags|=Ae(i.properties)|2,i}function ap(n,i){return n.properties!==i?R(xc(i),n):n}function Tc(n){let i=O(293);return i.expression=n,i.transformFlags|=F(i.expression)|2,i}function es(n,i){return n.expression!==i?R(Tc(i),n):n}function di(n,i){let _=O(294);return _.dotDotDotToken=n,_.expression=i,_.transformFlags|=F(_.dotDotDotToken)|F(_.expression)|2,_}function _p(n,i){return n.expression!==i?R(di(n.dotDotDotToken,i),n):n}function Na(n,i){let _=O(295);return _.namespace=n,_.name=i,_.transformFlags|=F(_.namespace)|F(_.name)|2,_}function Sc(n,i,_){return n.namespace!==i||n.name!==_?R(Na(i,_),n):n}function wc(n,i){let _=O(296);return _.expression=o().parenthesizeExpressionForDisallowedComma(n),_.statements=me(i),_.transformFlags|=F(_.expression)|Ae(_.statements),_.jsDoc=void 0,_}function qi(n,i,_){return n.expression!==i||n.statements!==_?R(wc(i,_),n):n}function ts(n){let i=O(297);return i.statements=me(n),i.transformFlags=Ae(i.statements),i}function sp(n,i){return n.statements!==i?R(ts(i),n):n}function kc(n,i){let _=O(298);switch(_.token=n,_.types=me(i),_.transformFlags|=Ae(_.types),n){case 96:_.transformFlags|=1024;break;case 119:_.transformFlags|=1;break;default:return B.assertNever(n)}return _}function Ec(n,i){return n.types!==i?R(kc(n.token,i),n):n}function ns(n,i){let _=O(299);return _.variableDeclaration=Bt(n),_.block=i,_.transformFlags|=F(_.variableDeclaration)|F(_.block)|(n?0:64),_.locals=void 0,_.nextContainer=void 0,_}function Ac(n,i,_){return n.variableDeclaration!==i||n.block!==_?R(ns(i,_),n):n}function Dr(n,i){let _=ae(303);return _.name=nt(n),_.initializer=o().parenthesizeExpressionForDisallowedComma(i),_.transformFlags|=Bn(_.name)|F(_.initializer),_.modifiers=void 0,_.questionToken=void 0,_.exclamationToken=void 0,_.jsDoc=void 0,_}function Cc(n,i,_){return n.name!==i||n.initializer!==_?op(Dr(i,_),n):n}function op(n,i){return n!==i&&(n.modifiers=i.modifiers,n.questionToken=i.questionToken,n.exclamationToken=i.exclamationToken),R(n,i)}function Dc(n,i){let _=ae(304);return _.name=nt(n),_.objectAssignmentInitializer=i&&o().parenthesizeExpressionForDisallowedComma(i),_.transformFlags|=Ba(_.name)|F(_.objectAssignmentInitializer)|1024,_.equalsToken=void 0,_.modifiers=void 0,_.questionToken=void 0,_.exclamationToken=void 0,_.jsDoc=void 0,_}function cp(n,i,_){return n.name!==i||n.objectAssignmentInitializer!==_?Pc(Dc(i,_),n):n}function Pc(n,i){return n!==i&&(n.modifiers=i.modifiers,n.questionToken=i.questionToken,n.exclamationToken=i.exclamationToken,n.equalsToken=i.equalsToken),R(n,i)}function rs(n){let i=ae(305);return i.expression=o().parenthesizeExpressionForDisallowedComma(n),i.transformFlags|=F(i.expression)|128|65536,i.jsDoc=void 0,i}function Un(n,i){return n.expression!==i?R(rs(i),n):n}function is(n,i){let _=ae(306);return _.name=nt(n),_.initializer=i&&o().parenthesizeExpressionForDisallowedComma(i),_.transformFlags|=F(_.name)|F(_.initializer)|1,_.jsDoc=void 0,_}function lp(n,i,_){return n.name!==i||n.initializer!==_?R(is(i,_),n):n}function up(n,i,_){let c=t.createBaseSourceFileNode(307);return c.statements=me(n),c.endOfFileToken=i,c.flags|=_,c.text="",c.fileName="",c.path="",c.resolvedPath="",c.originalFileName="",c.languageVersion=1,c.languageVariant=0,c.scriptKind=0,c.isDeclarationFile=!1,c.hasNoDefaultLib=!1,c.transformFlags|=Ae(c.statements)|F(c.endOfFileToken),c.locals=void 0,c.nextContainer=void 0,c.endFlowNode=void 0,c.nodeCount=0,c.identifierCount=0,c.symbolCount=0,c.parseDiagnostics=void 0,c.bindDiagnostics=void 0,c.bindSuggestionDiagnostics=void 0,c.lineMap=void 0,c.externalModuleIndicator=void 0,c.setExternalModuleIndicator=void 0,c.pragmas=void 0,c.checkJsDirective=void 0,c.referencedFiles=void 0,c.typeReferenceDirectives=void 0,c.libReferenceDirectives=void 0,c.amdDependencies=void 0,c.commentDirectives=void 0,c.identifiers=void 0,c.packageJsonLocations=void 0,c.packageJsonScope=void 0,c.imports=void 0,c.moduleAugmentations=void 0,c.ambientModuleNames=void 0,c.classifiableNames=void 0,c.impliedNodeFormat=void 0,c}function Nc(n){let i=Object.create(n.redirectTarget);return Object.defineProperties(i,{id:{get(){return this.redirectInfo.redirectTarget.id},set(_){this.redirectInfo.redirectTarget.id=_}},symbol:{get(){return this.redirectInfo.redirectTarget.symbol},set(_){this.redirectInfo.redirectTarget.symbol=_}}}),i.redirectInfo=n,i}function Ic(n){let i=Nc(n.redirectInfo);return i.flags|=n.flags&-17,i.fileName=n.fileName,i.path=n.path,i.resolvedPath=n.resolvedPath,i.originalFileName=n.originalFileName,i.packageJsonLocations=n.packageJsonLocations,i.packageJsonScope=n.packageJsonScope,i.emitNode=void 0,i}function as(n){let i=t.createBaseSourceFileNode(307);i.flags|=n.flags&-17;for(let _ in n)if(!(Mr(i,_)||!Mr(n,_))){if(_==="emitNode"){i.emitNode=void 0;continue}i[_]=n[_]}return i}function Oc(n){let i=n.redirectInfo?Ic(n):as(n);return a(i,n),i}function pp(n,i,_,c,d,T,q){let pe=Oc(n);return pe.statements=me(i),pe.isDeclarationFile=_,pe.referencedFiles=c,pe.typeReferenceDirectives=d,pe.hasNoDefaultLib=T,pe.libReferenceDirectives=q,pe.transformFlags=Ae(pe.statements)|F(pe.endOfFileToken),pe}function Mc(n,i,_=n.isDeclarationFile,c=n.referencedFiles,d=n.typeReferenceDirectives,T=n.hasNoDefaultLib,q=n.libReferenceDirectives){return n.statements!==i||n.isDeclarationFile!==_||n.referencedFiles!==c||n.typeReferenceDirectives!==d||n.hasNoDefaultLib!==T||n.libReferenceDirectives!==q?R(pp(n,i,_,c,d,T,q),n):n}function Jc(n){let i=O(308);return i.sourceFiles=n,i.syntheticFileReferences=void 0,i.syntheticTypeReferences=void 0,i.syntheticLibReferences=void 0,i.hasNoDefaultLib=void 0,i}function fp(n,i){return n.sourceFiles!==i?R(Jc(i),n):n}function Ia(n,i=!1,_){let c=O(237);return c.type=n,c.isSpread=i,c.tupleNameSource=_,c}function jc(n){let i=O(352);return ad(i,n),i}function dp(n){let i=O(353);return i.original=n,bn(i,n),i}function Lc(n,i){let _=O(354);return _.expression=n,_.original=i,_.transformFlags|=F(_.expression)|1,bn(_,i),_}function Rc(n,i){return n.expression!==i?R(Lc(i,n.original),n):n}function mp(n){if(Ua(n)&&!fl(n)&&!n.original&&!n.emitNode&&!n.id){if(w6(n))return n.elements;if(ia(n)&&o6(n.operatorToken))return[n.left,n.right]}return n}function _s(n){let i=O(355);return i.elements=me(Cy(n,mp)),i.transformFlags|=Ae(i.elements),i}function Uc(n,i){return n.elements!==i?R(_s(i),n):n}function ss(n,i){let _=O(356);return _.expression=n,_.thisArg=i,_.transformFlags|=F(_.expression)|F(_.thisArg),_}function Bc(n,i,_){return n.expression!==i||n.thisArg!==_?R(ss(i,_),n):n}function hp(n){let i=Tn(n.escapedText);return i.flags|=n.flags&-17,i.transformFlags=n.transformFlags,a(i,n),setIdentifierAutoGenerate(i,{...n.emitNode.autoGenerate}),i}function yp(n){let i=Tn(n.escapedText);i.flags|=n.flags&-17,i.jsDoc=n.jsDoc,i.flowNode=n.flowNode,i.symbol=n.symbol,i.transformFlags=n.transformFlags,a(i,n);let _=getIdentifierTypeArguments(n);return _&&setIdentifierTypeArguments(i,_),i}function qc(n){let i=Mn(n.escapedText);return i.flags|=n.flags&-17,i.transformFlags=n.transformFlags,a(i,n),setIdentifierAutoGenerate(i,{...n.emitNode.autoGenerate}),i}function zc(n){let i=Mn(n.escapedText);return i.flags|=n.flags&-17,i.transformFlags=n.transformFlags,a(i,n),i}function os(n){if(n===void 0)return n;if(mh(n))return Oc(n);if(za(n))return hp(n);if(et(n))return yp(n);if(x1(n))return qc(n);if(wi(n))return zc(n);let i=Df(n.kind)?t.createBaseNode(n.kind):t.createBaseTokenNode(n.kind);i.flags|=n.flags&-17,i.transformFlags=n.transformFlags,a(i,n);for(let _ in n)Mr(i,_)||!Mr(n,_)||(i[_]=n[_]);return i}function gp(n,i,_){return wr(u_(void 0,void 0,void 0,void 0,i?[i]:[],void 0,ci(n,!0)),void 0,_?[_]:[])}function bp(n,i,_){return wr(p_(void 0,void 0,i?[i]:[],void 0,void 0,ci(n,!0)),void 0,_?[_]:[])}function mi(){return jn(X("0"))}function Fc(n){return li(void 0,!1,n)}function vp(n){return B_(void 0,!1,q_([z_(!1,void 0,n)]))}function cs(n,i){return i==="null"?he.createStrictEquality(n,jt()):i==="undefined"?he.createStrictEquality(n,mi()):he.createStrictEquality(Kt(n),ht(i))}function xp(n,i){return i==="null"?he.createStrictInequality(n,jt()):i==="undefined"?he.createStrictInequality(n,mi()):he.createStrictInequality(Kt(n),ht(i))}function Hr(n,i,_){return Qd(n)?s_(si(n,void 0,i),void 0,void 0,_):wr(ur(n,i),void 0,_)}function Tp(n,i,_){return Hr(n,"bind",[i,..._])}function Sp(n,i,_){return Hr(n,"call",[i,..._])}function wp(n,i,_){return Hr(n,"apply",[i,_])}function zi(n,i,_){return Hr(Ve(n),i,_)}function Fi(n,i){return Hr(n,"slice",i===void 0?[]:[mr(i)])}function kp(n,i){return Hr(n,"concat",i)}function Vc(n,i,_){return zi("Object","defineProperty",[n,mr(i),_])}function Ep(n,i){return zi("Object","getOwnPropertyDescriptor",[n,mr(i)])}function Ap(n,i,_){return zi("Reflect","get",_?[n,i,_]:[n,i])}function Wc(n,i,_,c){return zi("Reflect","set",c?[n,i,_,c]:[n,i,_])}function hi(n,i,_){return _?(n.push(Dr(i,_)),!0):!1}function Cp(n,i){let _=[];hi(_,"enumerable",mr(n.enumerable)),hi(_,"configurable",mr(n.configurable));let c=hi(_,"writable",mr(n.writable));c=hi(_,"value",n.value)||c;let d=hi(_,"get",n.get);return d=hi(_,"set",n.set)||d,B.assert(!(c&&d),"A PropertyDescriptor may not be both an accessor descriptor and a data descriptor."),Ii(_,!i)}function Dp(n,i){switch(n.kind){case 217:return Ks(n,i);case 216:return Qs(n,n.type,i);case 234:return lo(n,i,n.type);case 238:return x_(n,i,n.type);case 235:return v_(n,i);case 354:return Rc(n,i)}}function Gc(n){return Dl(n)&&Ua(n)&&Ua(getSourceMapRange(n))&&Ua(getCommentRange(n))&&!qt(getSyntheticLeadingComments(n))&&!qt(getSyntheticTrailingComments(n))}function ls(n,i,_=15){return n&&Th(n,_)&&!Gc(n)?Dp(n,ls(n.expression,i)):i}function us(n,i,_){if(!i)return n;let c=No(i,i.label,lh(i.statement)?us(n,i.statement):n);return _&&_(i),c}function s(n,i){let _=jf(n);switch(_.kind){case 80:return i;case 110:case 9:case 10:case 11:return!1;case 209:return _.elements.length!==0;case 210:return _.properties.length>0;default:return!0}}function p(n,i,_,c=!1){let d=_d(n,15),T,q;return im(d)?(T=Vt(),q=d):Vp(d)?(T=Vt(),q=_!==void 0&&_<2?bn(Ve("_super"),d):d):Wa(d)&8192?(T=mi(),q=o().parenthesizeLeftSideOfAccess(d,!1)):br(d)?s(d.expression,c)?(T=_r(i),q=ur(bn(he.createAssignment(T,d.expression),d.expression),d.name),bn(q,d)):(T=d.expression,q=d):_a(d)?s(d.expression,c)?(T=_r(i),q=a_(bn(he.createAssignment(T,d.expression),d.expression),d.argumentExpression),bn(q,d)):(T=d.expression,q=d):(T=mi(),q=o().parenthesizeLeftSideOfAccess(n,!1)),{target:q,thisArg:T}}function m(n,i){return ur(l_(Ii([z(void 0,"value",[vr(void 0,void 0,n,void 0,void 0,void 0)],ci([Li(i)]))])),"value")}function y(n){return n.length>10?_s(n):By(n,he.createComma)}function x(n,i,_,c=0,d){let T=d?n&&Af(n):m1(n);if(T&&et(T)&&!za(T)){let q=Uf(bn(os(T),T),T.parent);return c|=Wa(T),_||(c|=96),i||(c|=3072),c&&setEmitFlags(q,c),q}return Vn(n)}function N(n,i,_){return x(n,i,_,98304)}function $(n,i,_,c){return x(n,i,_,32768,c)}function _e(n,i,_){return x(n,i,_,16384)}function ee(n,i,_){return x(n,i,_)}function K(n,i,_,c){let d=ur(n,Ua(i)?i:os(i));bn(d,i);let T=0;return c||(T|=96),_||(T|=3072),T&&setEmitFlags(d,T),d}function le(n,i,_,c){return n&&Os(i,32)?K(n,x(i),_,c):_e(i,_,c)}function Ue(n,i,_,c){let d=Yt(n,i,0,_);return un(n,i,d,c)}function je(n){return Qa(n.expression)&&n.expression.text==="use strict"}function De(){return F6(Li(ht("use strict")))}function Yt(n,i,_=0,c){B.assert(i.length===0,"Prologue directives should be at the first statement in the target statements array");let d=!1,T=n.length;for(;_pe&&en.splice(d,0,...i.slice(pe,Le)),pe>q&&en.splice(c,0,...i.slice(q,pe)),q>T&&en.splice(_,0,...i.slice(T,q)),T>0)if(_===0)en.splice(0,0,...i.slice(0,T));else{let hr=new Map;for(let yr=0;yr<_;yr++){let Vi=n[yr];hr.set(Vi.expression.text,!0)}for(let yr=T-1;yr>=0;yr--){let Vi=i[yr];hr.has(Vi.expression.text)||en.unshift(Vi)}}return Si(n)?bn(me(en,n.hasTrailingComma),n):n}function Pp(n,i){let _;return typeof i=="number"?_=Sn(i):_=i,zf(n)?or(n,_,n.name,n.constraint,n.default):As(n)?xr(n,_,n.dotDotDotToken,n.name,n.questionToken,n.type,n.initializer):Gf(n)?Fe(n,_,n.typeParameters,n.parameters,n.type):W1(n)?Hn(n,_,n.name,n.questionToken,n.type):Ha(n)?j(n,_,n.name,n.questionToken??n.exclamationToken,n.type,n.initializer):G1(n)?fe(n,_,n.name,n.questionToken,n.typeParameters,n.parameters,n.type):Cs(n)?Xe(n,_,n.asteriskToken,n.name,n.questionToken,n.typeParameters,n.parameters,n.type,n.body):Ff(n)?Br(n,_,n.parameters,n.body):hl(n)?Xn(n,_,n.name,n.parameters,n.type,n.body):Ds(n)?V(n,_,n.name,n.parameters,n.body):Vf(n)?$e(n,_,n.parameters,n.type):Hf(n)?Zs(n,_,n.asteriskToken,n.name,n.typeParameters,n.parameters,n.type,n.body):Xf(n)?eo(n,_,n.typeParameters,n.parameters,n.type,n.equalsGreaterThanToken,n.body):yl(n)?Ji(n,_,n.name,n.typeParameters,n.heritageClauses,n.members):Ka(n)?bo(n,_,n.declarationList):$f(n)?jo(n,_,n.asteriskToken,n.name,n.typeParameters,n.parameters,n.type,n.body):Xa(n)?N_(n,_,n.name,n.typeParameters,n.heritageClauses,n.members):Ms(n)?ct(n,_,n.name,n.typeParameters,n.heritageClauses,n.members):Il(n)?I_(n,_,n.name,n.typeParameters,n.type):ph(n)?Ro(n,_,n.name,n.members):ei(n)?Cr(n,_,n.name,n.body):Qf(n)?qo(n,_,n.isTypeOnly,n.name,n.moduleReference):Kf(n)?Fo(n,_,n.importClause,n.moduleSpecifier,n.attributes):Zf(n)?U_(n,_,n.expression):ed(n)?ui(n,_,n.isTypeOnly,n.exportClause,n.moduleSpecifier,n.attributes):B.assertNever(n)}function Np(n,i){return As(n)?xr(n,i,n.dotDotDotToken,n.name,n.questionToken,n.type,n.initializer):Ha(n)?j(n,i,n.name,n.questionToken??n.exclamationToken,n.type,n.initializer):Cs(n)?Xe(n,i,n.asteriskToken,n.name,n.questionToken,n.typeParameters,n.parameters,n.type,n.body):hl(n)?Xn(n,i,n.name,n.parameters,n.type,n.body):Ds(n)?V(n,i,n.name,n.parameters,n.body):yl(n)?Ji(n,i,n.name,n.typeParameters,n.heritageClauses,n.members):Xa(n)?N_(n,i,n.name,n.typeParameters,n.heritageClauses,n.members):B.assertNever(n)}function Ip(n,i){switch(n.kind){case 177:return Xn(n,n.modifiers,i,n.parameters,n.type,n.body);case 178:return V(n,n.modifiers,i,n.parameters,n.body);case 174:return Xe(n,n.modifiers,n.asteriskToken,i,n.questionToken,n.typeParameters,n.parameters,n.type,n.body);case 173:return fe(n,n.modifiers,i,n.questionToken,n.typeParameters,n.parameters,n.type);case 172:return j(n,n.modifiers,i,n.questionToken??n.exclamationToken,n.type,n.initializer);case 171:return Hn(n,n.modifiers,i,n.questionToken,n.type);case 303:return Cc(n,i,n.initializer)}}function Pe(n){return n?me(n):void 0}function nt(n){return typeof n=="string"?Ve(n):n}function mr(n){return typeof n=="string"?ht(n):typeof n=="number"?X(n):typeof n=="boolean"?n?pt():sr():n}function pn(n){return n&&o().parenthesizeExpressionForDisallowedComma(n)}function Pr(n){return typeof n=="number"?ut(n):n}function Zn(n){return n&&k6(n)?bn(a(T_(),n),n):n}function Bt(n){return typeof n=="string"||n&&!Nl(n)?Ta(n,void 0,void 0,void 0):n}function R(n,i){return n!==i&&(a(n,i),bn(n,i)),n}}function tl(e){switch(e){case 344:return"type";case 342:return"returns";case 343:return"this";case 340:return"enum";case 330:return"author";case 332:return"class";case 333:return"public";case 334:return"private";case 335:return"protected";case 336:return"readonly";case 337:return"override";case 345:return"template";case 346:return"typedef";case 341:return"param";case 348:return"prop";case 338:return"callback";case 339:return"overload";case 328:return"augments";case 329:return"implements";case 351:return"import";default:return B.fail(`Unsupported kind: ${B.formatSyntaxKind(e)}`)}}var An,lm={};function t6(e,t){switch(An||(An=wf(99,!1,0)),e){case 15:An.setText("`"+t+"`");break;case 16:An.setText("`"+t+"${");break;case 17:An.setText("}"+t+"${");break;case 18:An.setText("}"+t+"`");break}let a=An.scan();if(a===20&&(a=An.reScanTemplateToken(!1)),An.isUnterminated())return An.setText(void 0),lm;let o;switch(a){case 15:case 16:case 17:case 18:o=An.getTokenValue();break}return o===void 0||An.scan()!==1?(An.setText(void 0),lm):(An.setText(void 0),o)}function Bn(e){return e&&et(e)?Ba(e):F(e)}function Ba(e){return F(e)&-67108865}function n6(e,t){return t|e.transformFlags&134234112}function F(e){if(!e)return 0;let t=e.transformFlags&~r6(e.kind);return qg(e)&&T1(e.name)?n6(e.name,t):t}function Ae(e){return e?e.transformFlags:0}function um(e){let t=0;for(let a of e)t|=F(a);e.transformFlags=t}function r6(e){if(e>=182&&e<=205)return-2;switch(e){case 213:case 214:case 209:return-2147450880;case 267:return-1941676032;case 169:return-2147483648;case 219:return-2072174592;case 218:case 262:return-1937940480;case 261:return-2146893824;case 263:case 231:return-2147344384;case 176:return-1937948672;case 172:return-2013249536;case 174:case 177:case 178:return-2005057536;case 133:case 150:case 163:case 146:case 154:case 151:case 136:case 155:case 116:case 168:case 171:case 173:case 179:case 180:case 181:case 264:case 265:return-2;case 210:return-2147278848;case 299:return-2147418112;case 206:case 207:return-2147450880;case 216:case 238:case 234:case 354:case 217:case 108:return-2147483648;case 211:case 212:return-2147483648;default:return-2147483648}}var fs=Kb();function ds(e){return e.flags|=16,e}var i6={createBaseSourceFileNode:e=>ds(fs.createBaseSourceFileNode(e)),createBaseIdentifierNode:e=>ds(fs.createBaseIdentifierNode(e)),createBasePrivateIdentifierNode:e=>ds(fs.createBasePrivateIdentifierNode(e)),createBaseTokenNode:e=>ds(fs.createBaseTokenNode(e)),createBaseNode:e=>ds(fs.createBaseNode(e))},ox=Bf(4,i6);function a6(e,t){if(e.original!==t&&(e.original=t,t)){let a=t.emitNode;a&&(e.emitNode=_6(a,e.emitNode))}return e}function _6(e,t){let{flags:a,internalFlags:o,leadingComments:h,trailingComments:g,commentRange:E,sourceMapRange:C,tokenSourceMapRanges:l,constantValue:Z,helpers:f,startsOnNewLine:k,snippetElement:v,classThis:w,assignedName:J}=e;if(t||(t={}),a&&(t.flags=a),o&&(t.internalFlags=o&-9),h&&(t.leadingComments=Pn(h.slice(),t.leadingComments)),g&&(t.trailingComments=Pn(g.slice(),t.trailingComments)),E&&(t.commentRange=E),C&&(t.sourceMapRange=C),l&&(t.tokenSourceMapRanges=s6(l,t.tokenSourceMapRanges)),Z!==void 0&&(t.constantValue=Z),f)for(let re of f)t.helpers=Oy(t.helpers,re);return k!==void 0&&(t.startsOnNewLine=k),v!==void 0&&(t.snippetElement=v),w&&(t.classThis=w),J&&(t.assignedName=J),t}function s6(e,t){t||(t=[]);for(let a in e)t[a]=e[a];return t}function Ai(e){return e.kind===9}function qf(e){return e.kind===10}function Qa(e){return e.kind===11}function F1(e){return e.kind===15}function o6(e){return e.kind===28}function pm(e){return e.kind===54}function fm(e){return e.kind===58}function et(e){return e.kind===80}function wi(e){return e.kind===81}function c6(e){return e.kind===95}function nl(e){return e.kind===134}function Vp(e){return e.kind===108}function l6(e){return e.kind===102}function V1(e){return e.kind===166}function kl(e){return e.kind===167}function zf(e){return e.kind===168}function As(e){return e.kind===169}function El(e){return e.kind===170}function W1(e){return e.kind===171}function Ha(e){return e.kind===172}function G1(e){return e.kind===173}function Cs(e){return e.kind===174}function Ff(e){return e.kind===176}function hl(e){return e.kind===177}function Ds(e){return e.kind===178}function Y1(e){return e.kind===179}function H1(e){return e.kind===180}function Vf(e){return e.kind===181}function X1(e){return e.kind===182}function Al(e){return e.kind===183}function Wf(e){return e.kind===184}function Gf(e){return e.kind===185}function u6(e){return e.kind===186}function $1(e){return e.kind===187}function p6(e){return e.kind===188}function f6(e){return e.kind===189}function Q1(e){return e.kind===202}function d6(e){return e.kind===190}function m6(e){return e.kind===191}function K1(e){return e.kind===192}function Z1(e){return e.kind===193}function h6(e){return e.kind===194}function y6(e){return e.kind===195}function eh(e){return e.kind===196}function g6(e){return e.kind===197}function th(e){return e.kind===198}function b6(e){return e.kind===199}function nh(e){return e.kind===200}function v6(e){return e.kind===201}function x6(e){return e.kind===205}function rh(e){return e.kind===208}function ih(e){return e.kind===209}function Yf(e){return e.kind===210}function br(e){return e.kind===211}function _a(e){return e.kind===212}function Cl(e){return e.kind===213}function ah(e){return e.kind===215}function Dl(e){return e.kind===217}function Hf(e){return e.kind===218}function Xf(e){return e.kind===219}function T6(e){return e.kind===222}function _h(e){return e.kind===224}function ia(e){return e.kind===226}function sh(e){return e.kind===230}function yl(e){return e.kind===231}function oh(e){return e.kind===232}function ch(e){return e.kind===233}function sl(e){return e.kind===235}function S6(e){return e.kind===236}function w6(e){return e.kind===355}function Ka(e){return e.kind===243}function Pl(e){return e.kind===244}function lh(e){return e.kind===256}function Nl(e){return e.kind===260}function uh(e){return e.kind===261}function $f(e){return e.kind===262}function Xa(e){return e.kind===263}function Ms(e){return e.kind===264}function Il(e){return e.kind===265}function ph(e){return e.kind===266}function ei(e){return e.kind===267}function Qf(e){return e.kind===271}function Kf(e){return e.kind===272}function Zf(e){return e.kind===277}function ed(e){return e.kind===278}function fh(e){return e.kind===279}function k6(e){return e.kind===353}function td(e){return e.kind===283}function _f(e){return e.kind===286}function E6(e){return e.kind===289}function dh(e){return e.kind===295}function A6(e){return e.kind===297}function nd(e){return e.kind===303}function mh(e){return e.kind===307}function hh(e){return e.kind===309}function yh(e){return e.kind===314}function gh(e){return e.kind===317}function bh(e){return e.kind===320}function C6(e){return e.kind===322}function Ol(e){return e.kind===323}function D6(e){return e.kind===328}function P6(e){return e.kind===333}function N6(e){return e.kind===334}function I6(e){return e.kind===335}function O6(e){return e.kind===336}function M6(e){return e.kind===337}function J6(e){return e.kind===339}function j6(e){return e.kind===331}function sf(e){return e.kind===341}function L6(e){return e.kind===342}function rd(e){return e.kind===344}function vh(e){return e.kind===345}function R6(e){return e.kind===329}function U6(e){return e.kind===350}var id=new WeakMap;function xh(e){return Df(e.kind)?id.get(e):Ot}function ad(e,t){return id.set(e,t),t}function dm(e){id.delete(e)}function mm(e){return(Wa(e)&32768)!==0}function B6(e){return Qa(e.expression)&&e.expression.text==="use strict"}function q6(e){for(let t of e)if(_l(t)){if(B6(t))return t}else break}function z6(e){return Dl(e)&&aa(e)&&!!t2(e)}function Th(e,t=15){switch(e.kind){case 217:return t&16&&z6(e)?!1:(t&1)!==0;case 216:case 234:case 233:case 238:return(t&2)!==0;case 235:return(t&4)!==0;case 354:return(t&8)!==0}return!1}function _d(e,t=15){for(;Th(e,t);)e=e.expression;return e}function F6(e){return setStartsOnNewLine(e,!0)}function gs(e){if(y2(e))return e.name;if(d2(e)){switch(e.kind){case 303:return gs(e.initializer);case 304:return e.name;case 305:return gs(e.expression)}return}return ml(e,!0)?gs(e.left):sh(e)?gs(e.expression):e}function V6(e){switch(e.kind){case 206:case 207:case 209:return e.elements;case 210:return e.properties}}function hm(e){if(e){let t=e;for(;;){if(et(t)||!t.body)return et(t)?t:t.name;t=t.body}}}var ym;(e=>{function t(f,k,v,w,J,re,be){let he=k>0?J[k-1]:void 0;return B.assertEqual(v[k],t),J[k]=f.onEnter(w[k],he,be),v[k]=C(f,t),k}e.enter=t;function a(f,k,v,w,J,re,be){B.assertEqual(v[k],a),B.assertIsDefined(f.onLeft),v[k]=C(f,a);let he=f.onLeft(w[k].left,J[k],w[k]);return he?(Z(k,w,he),l(k,v,w,J,he)):k}e.left=a;function o(f,k,v,w,J,re,be){return B.assertEqual(v[k],o),B.assertIsDefined(f.onOperator),v[k]=C(f,o),f.onOperator(w[k].operatorToken,J[k],w[k]),k}e.operator=o;function h(f,k,v,w,J,re,be){B.assertEqual(v[k],h),B.assertIsDefined(f.onRight),v[k]=C(f,h);let he=f.onRight(w[k].right,J[k],w[k]);return he?(Z(k,w,he),l(k,v,w,J,he)):k}e.right=h;function g(f,k,v,w,J,re,be){B.assertEqual(v[k],g),v[k]=C(f,g);let he=f.onExit(w[k],J[k]);if(k>0){if(k--,f.foldState){let me=v[k]===g?"right":"left";J[k]=f.foldState(J[k],he,me)}}else re.value=he;return k}e.exit=g;function E(f,k,v,w,J,re,be){return B.assertEqual(v[k],E),k}e.done=E;function C(f,k){switch(k){case t:if(f.onLeft)return a;case a:if(f.onOperator)return o;case o:if(f.onRight)return h;case h:return g;case g:return E;case E:return E;default:B.fail("Invalid state")}}e.nextState=C;function l(f,k,v,w,J){return f++,k[f]=t,v[f]=J,w[f]=void 0,f}function Z(f,k,v){if(B.shouldAssert(2))for(;f>=0;)B.assert(k[f]!==v,"Circular traversal detected."),f--}})(ym||(ym={}));function gm(e,t){return typeof e=="object"?of(!1,e.prefix,e.node,e.suffix,t):typeof e=="string"?e.length>0&&e.charCodeAt(0)===35?e.slice(1):e:""}function W6(e,t){return typeof e=="string"?e:G6(e,B.checkDefined(t))}function G6(e,t){return x1(e)?t(e).slice(1):za(e)?t(e):wi(e)?e.escapedText.slice(1):Nn(e)}function of(e,t,a,o,h){return t=gm(t,h),o=gm(o,h),a=W6(a,h),`${e?"#":""}${t}${a}${o}`}function Sh(e){if(e.transformFlags&65536)return!0;if(e.transformFlags&128)for(let t of V6(e)){let a=gs(t);if(a&&h2(a)&&(a.transformFlags&65536||a.transformFlags&128&&Sh(a)))return!0}return!1}function bn(e,t){return t?ta(e,t.pos,t.end):e}function Ml(e){let t=e.kind;return t===168||t===169||t===171||t===172||t===173||t===174||t===176||t===177||t===178||t===181||t===185||t===218||t===219||t===231||t===243||t===262||t===263||t===264||t===265||t===266||t===267||t===271||t===272||t===277||t===278}function Jl(e){let t=e.kind;return t===169||t===172||t===174||t===177||t===178||t===231||t===263}var bm,vm,xm,Tm,Sm,Y6={createBaseSourceFileNode:e=>new(Sm||(Sm=Ct.getSourceFileConstructor()))(e,-1,-1),createBaseIdentifierNode:e=>new(xm||(xm=Ct.getIdentifierConstructor()))(e,-1,-1),createBasePrivateIdentifierNode:e=>new(Tm||(Tm=Ct.getPrivateIdentifierConstructor()))(e,-1,-1),createBaseTokenNode:e=>new(vm||(vm=Ct.getTokenConstructor()))(e,-1,-1),createBaseNode:e=>new(bm||(bm=Ct.getNodeConstructor()))(e,-1,-1)},cx=Bf(1,Y6);function S(e,t){return t&&e(t)}function ie(e,t,a){if(a){if(t)return t(a);for(let o of a){let h=e(o);if(h)return h}}}function H6(e,t){return e.charCodeAt(t+1)===42&&e.charCodeAt(t+2)===42&&e.charCodeAt(t+3)!==47}function X6(e){return zn(e.statements,$6)||Q6(e)}function $6(e){return Ml(e)&&K6(e,95)||Qf(e)&&td(e.moduleReference)||Kf(e)||Zf(e)||ed(e)?e:void 0}function Q6(e){return e.flags&8388608?wh(e):void 0}function wh(e){return Z6(e)?e:tn(e,wh)}function K6(e,t){return qt(e.modifiers,a=>a.kind===t)}function Z6(e){return S6(e)&&e.keywordToken===102&&e.name.escapedText==="meta"}var ev={166:function(t,a,o){return S(a,t.left)||S(a,t.right)},168:function(t,a,o){return ie(a,o,t.modifiers)||S(a,t.name)||S(a,t.constraint)||S(a,t.default)||S(a,t.expression)},304:function(t,a,o){return ie(a,o,t.modifiers)||S(a,t.name)||S(a,t.questionToken)||S(a,t.exclamationToken)||S(a,t.equalsToken)||S(a,t.objectAssignmentInitializer)},305:function(t,a,o){return S(a,t.expression)},169:function(t,a,o){return ie(a,o,t.modifiers)||S(a,t.dotDotDotToken)||S(a,t.name)||S(a,t.questionToken)||S(a,t.type)||S(a,t.initializer)},172:function(t,a,o){return ie(a,o,t.modifiers)||S(a,t.name)||S(a,t.questionToken)||S(a,t.exclamationToken)||S(a,t.type)||S(a,t.initializer)},171:function(t,a,o){return ie(a,o,t.modifiers)||S(a,t.name)||S(a,t.questionToken)||S(a,t.type)||S(a,t.initializer)},303:function(t,a,o){return ie(a,o,t.modifiers)||S(a,t.name)||S(a,t.questionToken)||S(a,t.exclamationToken)||S(a,t.initializer)},260:function(t,a,o){return S(a,t.name)||S(a,t.exclamationToken)||S(a,t.type)||S(a,t.initializer)},208:function(t,a,o){return S(a,t.dotDotDotToken)||S(a,t.propertyName)||S(a,t.name)||S(a,t.initializer)},181:function(t,a,o){return ie(a,o,t.modifiers)||ie(a,o,t.typeParameters)||ie(a,o,t.parameters)||S(a,t.type)},185:function(t,a,o){return ie(a,o,t.modifiers)||ie(a,o,t.typeParameters)||ie(a,o,t.parameters)||S(a,t.type)},184:function(t,a,o){return ie(a,o,t.modifiers)||ie(a,o,t.typeParameters)||ie(a,o,t.parameters)||S(a,t.type)},179:wm,180:wm,174:function(t,a,o){return ie(a,o,t.modifiers)||S(a,t.asteriskToken)||S(a,t.name)||S(a,t.questionToken)||S(a,t.exclamationToken)||ie(a,o,t.typeParameters)||ie(a,o,t.parameters)||S(a,t.type)||S(a,t.body)},173:function(t,a,o){return ie(a,o,t.modifiers)||S(a,t.name)||S(a,t.questionToken)||ie(a,o,t.typeParameters)||ie(a,o,t.parameters)||S(a,t.type)},176:function(t,a,o){return ie(a,o,t.modifiers)||S(a,t.name)||ie(a,o,t.typeParameters)||ie(a,o,t.parameters)||S(a,t.type)||S(a,t.body)},177:function(t,a,o){return ie(a,o,t.modifiers)||S(a,t.name)||ie(a,o,t.typeParameters)||ie(a,o,t.parameters)||S(a,t.type)||S(a,t.body)},178:function(t,a,o){return ie(a,o,t.modifiers)||S(a,t.name)||ie(a,o,t.typeParameters)||ie(a,o,t.parameters)||S(a,t.type)||S(a,t.body)},262:function(t,a,o){return ie(a,o,t.modifiers)||S(a,t.asteriskToken)||S(a,t.name)||ie(a,o,t.typeParameters)||ie(a,o,t.parameters)||S(a,t.type)||S(a,t.body)},218:function(t,a,o){return ie(a,o,t.modifiers)||S(a,t.asteriskToken)||S(a,t.name)||ie(a,o,t.typeParameters)||ie(a,o,t.parameters)||S(a,t.type)||S(a,t.body)},219:function(t,a,o){return ie(a,o,t.modifiers)||ie(a,o,t.typeParameters)||ie(a,o,t.parameters)||S(a,t.type)||S(a,t.equalsGreaterThanToken)||S(a,t.body)},175:function(t,a,o){return ie(a,o,t.modifiers)||S(a,t.body)},183:function(t,a,o){return S(a,t.typeName)||ie(a,o,t.typeArguments)},182:function(t,a,o){return S(a,t.assertsModifier)||S(a,t.parameterName)||S(a,t.type)},186:function(t,a,o){return S(a,t.exprName)||ie(a,o,t.typeArguments)},187:function(t,a,o){return ie(a,o,t.members)},188:function(t,a,o){return S(a,t.elementType)},189:function(t,a,o){return ie(a,o,t.elements)},192:km,193:km,194:function(t,a,o){return S(a,t.checkType)||S(a,t.extendsType)||S(a,t.trueType)||S(a,t.falseType)},195:function(t,a,o){return S(a,t.typeParameter)},205:function(t,a,o){return S(a,t.argument)||S(a,t.attributes)||S(a,t.qualifier)||ie(a,o,t.typeArguments)},302:function(t,a,o){return S(a,t.assertClause)},196:Em,198:Em,199:function(t,a,o){return S(a,t.objectType)||S(a,t.indexType)},200:function(t,a,o){return S(a,t.readonlyToken)||S(a,t.typeParameter)||S(a,t.nameType)||S(a,t.questionToken)||S(a,t.type)||ie(a,o,t.members)},201:function(t,a,o){return S(a,t.literal)},202:function(t,a,o){return S(a,t.dotDotDotToken)||S(a,t.name)||S(a,t.questionToken)||S(a,t.type)},206:Am,207:Am,209:function(t,a,o){return ie(a,o,t.elements)},210:function(t,a,o){return ie(a,o,t.properties)},211:function(t,a,o){return S(a,t.expression)||S(a,t.questionDotToken)||S(a,t.name)},212:function(t,a,o){return S(a,t.expression)||S(a,t.questionDotToken)||S(a,t.argumentExpression)},213:Cm,214:Cm,215:function(t,a,o){return S(a,t.tag)||S(a,t.questionDotToken)||ie(a,o,t.typeArguments)||S(a,t.template)},216:function(t,a,o){return S(a,t.type)||S(a,t.expression)},217:function(t,a,o){return S(a,t.expression)},220:function(t,a,o){return S(a,t.expression)},221:function(t,a,o){return S(a,t.expression)},222:function(t,a,o){return S(a,t.expression)},224:function(t,a,o){return S(a,t.operand)},229:function(t,a,o){return S(a,t.asteriskToken)||S(a,t.expression)},223:function(t,a,o){return S(a,t.expression)},225:function(t,a,o){return S(a,t.operand)},226:function(t,a,o){return S(a,t.left)||S(a,t.operatorToken)||S(a,t.right)},234:function(t,a,o){return S(a,t.expression)||S(a,t.type)},235:function(t,a,o){return S(a,t.expression)},238:function(t,a,o){return S(a,t.expression)||S(a,t.type)},236:function(t,a,o){return S(a,t.name)},227:function(t,a,o){return S(a,t.condition)||S(a,t.questionToken)||S(a,t.whenTrue)||S(a,t.colonToken)||S(a,t.whenFalse)},230:function(t,a,o){return S(a,t.expression)},241:Dm,268:Dm,307:function(t,a,o){return ie(a,o,t.statements)||S(a,t.endOfFileToken)},243:function(t,a,o){return ie(a,o,t.modifiers)||S(a,t.declarationList)},261:function(t,a,o){return ie(a,o,t.declarations)},244:function(t,a,o){return S(a,t.expression)},245:function(t,a,o){return S(a,t.expression)||S(a,t.thenStatement)||S(a,t.elseStatement)},246:function(t,a,o){return S(a,t.statement)||S(a,t.expression)},247:function(t,a,o){return S(a,t.expression)||S(a,t.statement)},248:function(t,a,o){return S(a,t.initializer)||S(a,t.condition)||S(a,t.incrementor)||S(a,t.statement)},249:function(t,a,o){return S(a,t.initializer)||S(a,t.expression)||S(a,t.statement)},250:function(t,a,o){return S(a,t.awaitModifier)||S(a,t.initializer)||S(a,t.expression)||S(a,t.statement)},251:Pm,252:Pm,253:function(t,a,o){return S(a,t.expression)},254:function(t,a,o){return S(a,t.expression)||S(a,t.statement)},255:function(t,a,o){return S(a,t.expression)||S(a,t.caseBlock)},269:function(t,a,o){return ie(a,o,t.clauses)},296:function(t,a,o){return S(a,t.expression)||ie(a,o,t.statements)},297:function(t,a,o){return ie(a,o,t.statements)},256:function(t,a,o){return S(a,t.label)||S(a,t.statement)},257:function(t,a,o){return S(a,t.expression)},258:function(t,a,o){return S(a,t.tryBlock)||S(a,t.catchClause)||S(a,t.finallyBlock)},299:function(t,a,o){return S(a,t.variableDeclaration)||S(a,t.block)},170:function(t,a,o){return S(a,t.expression)},263:Nm,231:Nm,264:function(t,a,o){return ie(a,o,t.modifiers)||S(a,t.name)||ie(a,o,t.typeParameters)||ie(a,o,t.heritageClauses)||ie(a,o,t.members)},265:function(t,a,o){return ie(a,o,t.modifiers)||S(a,t.name)||ie(a,o,t.typeParameters)||S(a,t.type)},266:function(t,a,o){return ie(a,o,t.modifiers)||S(a,t.name)||ie(a,o,t.members)},306:function(t,a,o){return S(a,t.name)||S(a,t.initializer)},267:function(t,a,o){return ie(a,o,t.modifiers)||S(a,t.name)||S(a,t.body)},271:function(t,a,o){return ie(a,o,t.modifiers)||S(a,t.name)||S(a,t.moduleReference)},272:function(t,a,o){return ie(a,o,t.modifiers)||S(a,t.importClause)||S(a,t.moduleSpecifier)||S(a,t.attributes)},273:function(t,a,o){return S(a,t.name)||S(a,t.namedBindings)},300:function(t,a,o){return ie(a,o,t.elements)},301:function(t,a,o){return S(a,t.name)||S(a,t.value)},270:function(t,a,o){return ie(a,o,t.modifiers)||S(a,t.name)},274:function(t,a,o){return S(a,t.name)},280:function(t,a,o){return S(a,t.name)},275:Im,279:Im,278:function(t,a,o){return ie(a,o,t.modifiers)||S(a,t.exportClause)||S(a,t.moduleSpecifier)||S(a,t.attributes)},276:Om,281:Om,277:function(t,a,o){return ie(a,o,t.modifiers)||S(a,t.expression)},228:function(t,a,o){return S(a,t.head)||ie(a,o,t.templateSpans)},239:function(t,a,o){return S(a,t.expression)||S(a,t.literal)},203:function(t,a,o){return S(a,t.head)||ie(a,o,t.templateSpans)},204:function(t,a,o){return S(a,t.type)||S(a,t.literal)},167:function(t,a,o){return S(a,t.expression)},298:function(t,a,o){return ie(a,o,t.types)},233:function(t,a,o){return S(a,t.expression)||ie(a,o,t.typeArguments)},283:function(t,a,o){return S(a,t.expression)},282:function(t,a,o){return ie(a,o,t.modifiers)},355:function(t,a,o){return ie(a,o,t.elements)},284:function(t,a,o){return S(a,t.openingElement)||ie(a,o,t.children)||S(a,t.closingElement)},288:function(t,a,o){return S(a,t.openingFragment)||ie(a,o,t.children)||S(a,t.closingFragment)},285:Mm,286:Mm,292:function(t,a,o){return ie(a,o,t.properties)},291:function(t,a,o){return S(a,t.name)||S(a,t.initializer)},293:function(t,a,o){return S(a,t.expression)},294:function(t,a,o){return S(a,t.dotDotDotToken)||S(a,t.expression)},287:function(t,a,o){return S(a,t.tagName)},295:function(t,a,o){return S(a,t.namespace)||S(a,t.name)},190:Hi,191:Hi,309:Hi,315:Hi,314:Hi,316:Hi,318:Hi,317:function(t,a,o){return ie(a,o,t.parameters)||S(a,t.type)},320:function(t,a,o){return(typeof t.comment=="string"?void 0:ie(a,o,t.comment))||ie(a,o,t.tags)},347:function(t,a,o){return S(a,t.tagName)||S(a,t.name)||(typeof t.comment=="string"?void 0:ie(a,o,t.comment))},310:function(t,a,o){return S(a,t.name)},311:function(t,a,o){return S(a,t.left)||S(a,t.right)},341:Jm,348:Jm,330:function(t,a,o){return S(a,t.tagName)||(typeof t.comment=="string"?void 0:ie(a,o,t.comment))},329:function(t,a,o){return S(a,t.tagName)||S(a,t.class)||(typeof t.comment=="string"?void 0:ie(a,o,t.comment))},328:function(t,a,o){return S(a,t.tagName)||S(a,t.class)||(typeof t.comment=="string"?void 0:ie(a,o,t.comment))},345:function(t,a,o){return S(a,t.tagName)||S(a,t.constraint)||ie(a,o,t.typeParameters)||(typeof t.comment=="string"?void 0:ie(a,o,t.comment))},346:function(t,a,o){return S(a,t.tagName)||(t.typeExpression&&t.typeExpression.kind===309?S(a,t.typeExpression)||S(a,t.fullName)||(typeof t.comment=="string"?void 0:ie(a,o,t.comment)):S(a,t.fullName)||S(a,t.typeExpression)||(typeof t.comment=="string"?void 0:ie(a,o,t.comment)))},338:function(t,a,o){return S(a,t.tagName)||S(a,t.fullName)||S(a,t.typeExpression)||(typeof t.comment=="string"?void 0:ie(a,o,t.comment))},342:Xi,344:Xi,343:Xi,340:Xi,350:Xi,349:Xi,339:Xi,323:function(t,a,o){return zn(t.typeParameters,a)||zn(t.parameters,a)||S(a,t.type)},324:Wp,325:Wp,326:Wp,322:function(t,a,o){return zn(t.jsDocPropertyTags,a)},327:bi,332:bi,333:bi,334:bi,335:bi,336:bi,331:bi,337:bi,351:tv,354:nv};function wm(e,t,a){return ie(t,a,e.typeParameters)||ie(t,a,e.parameters)||S(t,e.type)}function km(e,t,a){return ie(t,a,e.types)}function Em(e,t,a){return S(t,e.type)}function Am(e,t,a){return ie(t,a,e.elements)}function Cm(e,t,a){return S(t,e.expression)||S(t,e.questionDotToken)||ie(t,a,e.typeArguments)||ie(t,a,e.arguments)}function Dm(e,t,a){return ie(t,a,e.statements)}function Pm(e,t,a){return S(t,e.label)}function Nm(e,t,a){return ie(t,a,e.modifiers)||S(t,e.name)||ie(t,a,e.typeParameters)||ie(t,a,e.heritageClauses)||ie(t,a,e.members)}function Im(e,t,a){return ie(t,a,e.elements)}function Om(e,t,a){return S(t,e.propertyName)||S(t,e.name)}function Mm(e,t,a){return S(t,e.tagName)||ie(t,a,e.typeArguments)||S(t,e.attributes)}function Hi(e,t,a){return S(t,e.type)}function Jm(e,t,a){return S(t,e.tagName)||(e.isNameFirst?S(t,e.name)||S(t,e.typeExpression):S(t,e.typeExpression)||S(t,e.name))||(typeof e.comment=="string"?void 0:ie(t,a,e.comment))}function Xi(e,t,a){return S(t,e.tagName)||S(t,e.typeExpression)||(typeof e.comment=="string"?void 0:ie(t,a,e.comment))}function Wp(e,t,a){return S(t,e.name)}function bi(e,t,a){return S(t,e.tagName)||(typeof e.comment=="string"?void 0:ie(t,a,e.comment))}function tv(e,t,a){return S(t,e.tagName)||S(t,e.importClause)||S(t,e.moduleSpecifier)||S(t,e.attributes)||(typeof e.comment=="string"?void 0:ie(t,a,e.comment))}function nv(e,t,a){return S(t,e.expression)}function tn(e,t,a){if(e===void 0||e.kind<=165)return;let o=ev[e.kind];return o===void 0?void 0:o(e,t,a)}function jm(e,t,a){let o=Lm(e),h=[];for(;h.length=0;--C)o.push(g[C]),h.push(E)}else{let C=t(g,E);if(C){if(C==="skip")continue;return C}if(g.kind>=166)for(let l of Lm(g))o.push(l),h.push(g)}}}function Lm(e){let t=[];return tn(e,a,a),t;function a(o){t.unshift(o)}}function kh(e){e.externalModuleIndicator=X6(e)}function Eh(e,t,a,o=!1,h){var g,E,C,l;(g=il)==null||g.push(il.Phase.Parse,"createSourceFile",{path:e},!0),qd("beforeParse");let Z;(E=$p)==null||E.logStartParseSourceFile(e);let{languageVersion:f,setExternalModuleIndicator:k,impliedNodeFormat:v,jsDocParsingMode:w}=typeof a=="object"?a:{languageVersion:a};if(f===100)Z=na.parseSourceFile(e,t,f,void 0,o,6,Ga,w);else{let J=v===void 0?k:re=>(re.impliedNodeFormat=v,(k||kh)(re));Z=na.parseSourceFile(e,t,f,void 0,o,h,J,w)}return(C=$p)==null||C.logStopParseSourceFile(),qd("afterParse"),eg("Parse","beforeParse","afterParse"),(l=il)==null||l.pop(),Z}function sd(e){return e.externalModuleIndicator!==void 0}function rv(e,t,a,o=!1){let h=gl.updateSourceFile(e,t,a,o);return h.flags|=e.flags&12582912,h}var na;(e=>{var t=wf(99,!0),a=40960,o,h,g,E,C;function l(s){return sr++,s}var Z={createBaseSourceFileNode:s=>l(new C(s,0,0)),createBaseIdentifierNode:s=>l(new g(s,0,0)),createBasePrivateIdentifierNode:s=>l(new E(s,0,0)),createBaseTokenNode:s=>l(new h(s,0,0)),createBaseNode:s=>l(new o(s,0,0))},f=Bf(11,Z),{createNodeArray:k,createNumericLiteral:v,createStringLiteral:w,createLiteralLikeNode:J,createIdentifier:re,createPrivateIdentifier:be,createToken:he,createArrayLiteralExpression:me,createObjectLiteralExpression:O,createPropertyAccessExpression:ae,createPropertyAccessChain:ve,createElementAccessExpression:X,createElementAccessChain:oe,createCallExpression:G,createCallChain:ht,createNewExpression:ir,createParenthesizedExpression:xn,createBlock:ar,createVariableStatement:Tn,createExpressionStatement:On,createIfStatement:Ve,createWhileStatement:_r,createForStatement:Rr,createForOfStatement:Mt,createVariableDeclaration:Vn,createVariableDeclarationList:Mn}=f,Jt,xt,Qe,Wn,nn,ut,st,Vt,jt,pt,sr,yt,Sn,vt,dn,rt,Wt=!0,on=!1;function or(s,p,m,y,x=!1,N,$,_e=0){var ee;if(N=Bb(s,N),N===6){let le=xr(s,p,m,y,x);return convertToJson(le,(ee=le.statements[0])==null?void 0:ee.expression,le.parseDiagnostics,!1,void 0),le.referencedFiles=Ot,le.typeReferenceDirectives=Ot,le.libReferenceDirectives=Ot,le.amdDependencies=Ot,le.hasNoDefaultLib=!1,le.pragmas=wy,le}Gn(s,p,m,y,N,_e);let K=Ur(m,x,N,$||kh,_e);return Yn(),K}e.parseSourceFile=or;function vr(s,p){Gn("",s,p,void 0,1,0),U();let m=Oi(!0),y=u()===1&&!st.length;return Yn(),y?m:void 0}e.parseIsolatedEntityName=vr;function xr(s,p,m=2,y,x=!1){Gn(s,p,m,y,6,0),xt=rt,U();let N=M(),$,_e;if(u()===1)$=Dt([],N,N),_e=Qt();else{let le;for(;u()!==1;){let De;switch(u()){case 23:De=Y_();break;case 112:case 97:case 106:De=Qt();break;case 41:Y(()=>U()===9&&U()!==59)?De=L_():De=Aa();break;case 9:case 11:if(Y(()=>U()!==59)){De=Kn();break}default:De=Aa();break}le&&Zr(le)?le.push(De):le?le=[le,De]:(le=De,u()!==1&&Ee(A.Unexpected_token))}let Ue=Zr(le)?D(me(le),N):B.checkDefined(le),je=On(Ue);D(je,N),$=Dt([je],N),_e=Qn(1,A.Unexpected_token)}let ee=se(s,2,6,!1,$,_e,xt,Ga);x&&j(ee),ee.nodeCount=sr,ee.identifierCount=Sn,ee.identifiers=yt,ee.parseDiagnostics=Yi(st,ee),Vt&&(ee.jsDocDiagnostics=Yi(Vt,ee));let K=ee;return Yn(),K}e.parseJsonText=xr;function Gn(s,p,m,y,x,N){switch(o=Ct.getNodeConstructor(),h=Ct.getTokenConstructor(),g=Ct.getIdentifierConstructor(),E=Ct.getPrivateIdentifierConstructor(),C=Ct.getSourceFileConstructor(),Jt=fg(s),Qe=p,Wn=m,jt=y,nn=x,ut=sm(x),st=[],vt=0,yt=new Map,Sn=0,sr=0,xt=0,Wt=!0,nn){case 1:case 2:rt=524288;break;case 6:rt=134742016;break;default:rt=0;break}on=!1,t.setText(Qe),t.setOnError(ii),t.setScriptTarget(Wn),t.setLanguageVariant(ut),t.setScriptKind(nn),t.setJSDocParsingMode(N)}function Yn(){t.clearCommentDirectives(),t.setText(""),t.setOnError(void 0),t.setScriptKind(0),t.setJSDocParsingMode(0),Qe=void 0,Wn=void 0,jt=void 0,nn=void 0,ut=void 0,xt=0,st=void 0,Vt=void 0,vt=0,yt=void 0,dn=void 0,Wt=!0}function Ur(s,p,m,y,x){let N=_v(Jt);N&&(rt|=33554432),xt=rt,U();let $=kn(0,Zt);B.assert(u()===1);let _e=Be(),ee=Ne(Qt(),_e),K=se(Jt,s,m,N,$,ee,xt,y);return cv(K,Qe),lv(K,le),K.commentDirectives=t.getCommentDirectives(),K.nodeCount=sr,K.identifierCount=Sn,K.identifiers=yt,K.parseDiagnostics=Yi(st,K),K.jsDocParsingMode=x,Vt&&(K.jsDocDiagnostics=Yi(Vt,K)),p&&j(K),K;function le(Ue,je,De){st.push(ja(Jt,Qe,Ue,je,De))}}let Hn=!1;function Ne(s,p){if(!p)return s;B.assert(!s.jsDoc);let m=Dy(j2(s,Qe),y=>us.parseJSDocComment(s,y.pos,y.end-y.pos));return m.length&&(s.jsDoc=m),Hn&&(Hn=!1,s.flags|=536870912),s}function Tr(s){let p=jt,m=gl.createSyntaxCursor(s);jt={currentNode:le};let y=[],x=st;st=[];let N=0,$=ee(s.statements,0);for(;$!==-1;){let Ue=s.statements[N],je=s.statements[$];Pn(y,s.statements,N,$),N=K(s.statements,$);let De=Jp(x,un=>un.start>=Ue.pos),Yt=De>=0?Jp(x,un=>un.start>=je.pos,De):-1;De>=0&&Pn(st,x,De,Yt>=0?Yt:void 0),hn(()=>{let un=rt;for(rt|=65536,t.resetTokenState(je.pos),U();u()!==1;){let fr=t.getTokenFullStart(),dr=ha(0,Zt);if(y.push(dr),fr===t.getTokenFullStart()&&U(),N>=0){let Ht=s.statements[N];if(dr.end===Ht.pos)break;dr.end>Ht.pos&&(N=K(s.statements,N+1))}}rt=un},2),$=N>=0?ee(s.statements,N):-1}if(N>=0){let Ue=s.statements[N];Pn(y,s.statements,N);let je=Jp(x,De=>De.start>=Ue.pos);je>=0&&Pn(st,x,je)}return jt=p,f.updateSourceFile(s,bn(k(y),s.statements));function _e(Ue){return!(Ue.flags&65536)&&!!(Ue.transformFlags&67108864)}function ee(Ue,je){for(let De=je;De118}function ke(){return u()===80?!0:u()===127&&Ce()||u()===135&&Ze()?!1:u()>118}function L(s,p,m=!0){return u()===s?(m&&U(),!0):(p?Ee(p):Ee(A._0_expected,_t(s)),!1)}let gt=Object.keys(vf).filter(s=>s.length>2);function St(s){if(ah(s)){at(Qr(Qe,s.template.pos),s.template.end,A.Module_declaration_names_may_only_use_or_quoted_strings);return}let p=et(s)?Nn(s):void 0;if(!p||!Og(p,Wn)){Ee(A._0_expected,_t(27));return}let m=Qr(Qe,s.pos);switch(p){case"const":case"let":case"var":at(m,s.end,A.Variable_declaration_not_allowed_at_this_location);return;case"declare":return;case"interface":Lt(A.Interface_name_cannot_be_0,A.Interface_must_be_given_a_name,19);return;case"is":at(m,t.getTokenStart(),A.A_type_predicate_is_only_allowed_in_return_type_position_for_functions_and_methods);return;case"module":case"namespace":Lt(A.Namespace_name_cannot_be_0,A.Namespace_must_be_given_a_name,19);return;case"type":Lt(A.Type_alias_name_cannot_be_0,A.Type_alias_must_be_given_a_name,64);return}let y=rl(p,gt,kt)??yn(p);if(y){at(m,s.end,A.Unknown_keyword_or_identifier_Did_you_mean_0,y);return}u()!==0&&at(m,s.end,A.Unexpected_keyword_or_identifier)}function Lt(s,p,m){u()===m?Ee(p):Ee(s,t.getTokenValue())}function yn(s){for(let p of gt)if(s.length>p.length+2&&cl(s,p))return`${p} ${s.slice(p.length)}`}function Vl(s,p,m){if(u()===60&&!t.hasPrecedingLineBreak()){Ee(A.Decorators_must_precede_the_name_and_all_keywords_of_property_declarations);return}if(u()===21){Ee(A.Cannot_start_a_function_call_in_a_type_annotation),U();return}if(p&&!cr()){m?Ee(A._0_expected,_t(27)):Ee(A.Expected_for_property_initializer);return}if(!fa()){if(m){Ee(A._0_expected,_t(27));return}St(s)}}function zs(s){return u()===s?(qe(),!0):(B.assert(Up(s)),Ee(A._0_expected,_t(s)),!1)}function qr(s,p,m,y){if(u()===p){U();return}let x=Ee(A._0_expected,_t(p));m&&x&&Zc(x,ja(Jt,Qe,y,1,A.The_parser_expected_to_find_a_1_to_match_the_0_token_here,_t(s),_t(p)))}function Je(s){return u()===s?(U(),!0):!1}function mt(s){if(u()===s)return Qt()}function Wl(s){if(u()===s)return Yl()}function Qn(s,p,m){return mt(s)||an(s,!1,p||A._0_expected,m||_t(s))}function Gl(s){let p=Wl(s);return p||(B.assert(Up(s)),an(s,!1,A._0_expected,_t(s)))}function Qt(){let s=M(),p=u();return U(),D(he(p),s)}function Yl(){let s=M(),p=u();return qe(),D(he(p),s)}function cr(){return u()===27?!0:u()===20||u()===1||t.hasPrecedingLineBreak()}function fa(){return cr()?(u()===27&&U(),!0):!1}function rn(){return fa()||L(27)}function Dt(s,p,m,y){let x=k(s,y);return ta(x,p,m??t.getTokenFullStart()),x}function D(s,p,m){return ta(s,p,m??t.getTokenFullStart()),rt&&(s.flags|=rt),on&&(on=!1,s.flags|=262144),s}function an(s,p,m,...y){p?wn(t.getTokenFullStart(),0,m,...y):m&&Ee(m,...y);let x=M(),N=s===80?re("",void 0):Kd(s)?f.createTemplateLiteralLikeNode(s,"","",void 0):s===9?v("",void 0):s===11?w("",void 0):s===282?f.createMissingDeclaration():he(s);return D(N,x)}function zr(s){let p=yt.get(s);return p===void 0&&yt.set(s,p=s),p}function lr(s,p,m){if(s){Sn++;let _e=M(),ee=u(),K=zr(t.getTokenValue()),le=t.hasExtendedUnicodeEscape();return Oe(),D(re(K,ee,le),_e)}if(u()===81)return Ee(m||A.Private_identifiers_are_not_allowed_outside_class_bodies),lr(!0);if(u()===0&&t.tryScan(()=>t.reScanInvalidIdentifier()===80))return lr(!0);Sn++;let y=u()===1,x=t.isReservedWord(),N=t.getTokenText(),$=x?A.Identifier_expected_0_is_a_reserved_word_that_cannot_be_used_here:A.Identifier_expected;return an(80,y,p||$,N)}function r_(s){return lr(ze(),void 0,s)}function wt(s,p){return lr(ke(),s,p)}function Rt(s){return lr(bt(u()),s)}function ai(){return(t.hasUnicodeEscape()||t.hasExtendedUnicodeEscape())&&Ee(A.Unicode_escape_sequence_cannot_appear_here),lr(bt(u()))}function Fr(){return bt(u())||u()===11||u()===9}function Fs(){return bt(u())||u()===11}function Hl(s){if(u()===11||u()===9){let p=Kn();return p.text=zr(p.text),p}return s&&u()===23?Xl():u()===81?da():Rt()}function Vr(){return Hl(!0)}function Xl(){let s=M();L(23);let p=ft(At);return L(24),D(f.createComputedPropertyName(p),s)}function da(){let s=M(),p=be(zr(t.getTokenValue()));return U(),D(p,s)}function _i(s){return u()===s&&de(Vs)}function i_(){return U(),t.hasPrecedingLineBreak()?!1:ur()}function Vs(){switch(u()){case 87:return U()===94;case 95:return U(),u()===90?Y(Gs):u()===156?Y($l):Ii();case 90:return Gs();case 126:case 139:case 153:return U(),ur();default:return i_()}}function Ii(){return u()===60||u()!==42&&u()!==130&&u()!==19&&ur()}function $l(){return U(),Ii()}function Ws(){return $r(u())&&de(Vs)}function ur(){return u()===23||u()===19||u()===42||u()===26||Fr()}function Gs(){return U(),u()===86||u()===100||u()===120||u()===60||u()===128&&Y(Qu)||u()===134&&Y(X_)}function si(s,p){if(o_(s))return!0;switch(s){case 0:case 1:case 3:return!(u()===27&&p)&&$_();case 2:return u()===84||u()===90;case 4:return Y(bo);case 5:return Y(Cc)||u()===27&&!p;case 6:return u()===23||Fr();case 12:switch(u()){case 23:case 42:case 26:case 25:return!0;default:return Fr()}case 18:return Fr();case 9:return u()===23||u()===26||Fr();case 24:return Fs();case 7:return u()===19?Y(Ys):p?ke()&&!__():I_()&&!__();case 8:return es();case 10:return u()===28||u()===26||es();case 19:return u()===103||u()===87||ke();case 15:switch(u()){case 28:case 25:return!0}case 11:return u()===26||Ar();case 16:return va(!1);case 17:return va(!0);case 20:case 21:return u()===28||Wr();case 22:return jc();case 23:return u()===161&&Y(tp)?!1:bt(u());case 13:return bt(u())||u()===19;case 14:return!0;case 25:return!0;case 26:return B.fail("ParsingContext.Count used as a context");default:B.assertNever(s,"Non-exhaustive case in 'isListElement'.")}}function Ys(){if(B.assert(u()===19),U()===20){let s=U();return s===28||s===19||s===96||s===119}return!0}function ma(){return U(),ke()}function a_(){return U(),bt(u())}function Ql(){return U(),dg(u())}function __(){return u()===119||u()===96?Y(Hs):!1}function Hs(){return U(),Ar()}function Xs(){return U(),Wr()}function wr(s){if(u()===1)return!0;switch(s){case 1:case 2:case 4:case 5:case 6:case 12:case 9:case 23:case 24:return u()===20;case 3:return u()===20||u()===84||u()===90;case 7:return u()===19||u()===96||u()===119;case 8:return Kl();case 19:return u()===32||u()===21||u()===19||u()===96||u()===119;case 11:return u()===22||u()===27;case 15:case 21:case 10:return u()===24;case 17:case 16:case 18:return u()===22||u()===24;case 20:return u()!==28;case 22:return u()===19||u()===20;case 13:return u()===32||u()===44;case 14:return u()===30&&Y(os);default:return!1}}function Kl(){return!!(cr()||J_(u())||u()===39)}function s_(){B.assert(vt,"Missing parsing context");for(let s=0;s<26;s++)if(vt&1<=0)}function tu(s){return s===6?A.An_enum_member_name_must_be_followed_by_a_or:void 0}function jn(){let s=Dt([],M());return s.isMissingList=!0,s}function nu(s){return!!s.isMissingList}function kr(s,p,m,y){if(L(m)){let x=Kt(s,p);return L(y),x}return jn()}function Oi(s,p){let m=M(),y=s?Rt(p):wt(p);for(;Je(25)&&u()!==30;)y=D(f.createQualifiedName(y,ya(s,!1,!0)),m);return y}function d_(s,p){return D(f.createQualifiedName(s,p),s.pos)}function ya(s,p,m){if(t.hasPrecedingLineBreak()&&bt(u())&&Y(Ca))return an(80,!0,A.Identifier_expected);if(u()===81){let y=da();return p?y:an(80,!0,A.Identifier_expected)}return s?m?Rt():ai():wt()}function m_(s){let p=M(),m=[],y;do y=iu(s),m.push(y);while(y.literal.kind===17);return Dt(m,p)}function to(s){let p=M();return D(f.createTemplateExpression(ro(s),m_(s)),p)}function h_(){let s=M();return D(f.createTemplateLiteralType(ro(!1),no()),s)}function no(){let s=M(),p=[],m;do m=ru(),p.push(m);while(m.literal.kind===17);return Dt(p,s)}function ru(){let s=M();return D(f.createTemplateLiteralTypeSpan(ct(),y_(!1)),s)}function y_(s){return u()===20?(Nt(s),ga()):Qn(18,A._0_expected,_t(20))}function iu(s){let p=M();return D(f.createTemplateSpan(ft(At),y_(s)),p)}function Kn(){return Mi(u())}function ro(s){!s&&t.getTokenFlags()&26656&&Nt(!1);let p=Mi(u());return B.assert(p.kind===16,"Template head has wrong token kind"),p}function ga(){let s=Mi(u());return B.assert(s.kind===17||s.kind===18,"Template fragment has wrong token kind"),s}function io(s){let p=s===15||s===18,m=t.getTokenText();return m.substring(1,m.length-(t.isUnterminated()?0:p?1:2))}function Mi(s){let p=M(),m=Kd(s)?f.createTemplateLiteralLikeNode(s,t.getTokenValue(),io(s),t.getTokenFlags()&7176):s===9?v(t.getTokenValue(),t.getNumericLiteralFlags()):s===11?w(t.getTokenValue(),void 0,t.hasExtendedUnicodeEscape()):_2(s)?J(s,t.getTokenValue()):B.fail();return t.hasExtendedUnicodeEscape()&&(m.hasExtendedUnicodeEscape=!0),t.isUnterminated()&&(m.isUnterminated=!0),U(),D(m,p)}function g_(){return Oi(!0,A.Type_expected)}function oi(){if(!t.hasPrecedingLineBreak()&&Et()===30)return kr(20,ct,30,32)}function ba(){let s=M();return D(f.createTypeReferenceNode(g_(),oi()),s)}function b_(s){switch(s.kind){case 183:return ea(s.typeName);case 184:case 185:{let{parameters:p,type:m}=s;return nu(p)||b_(m)}case 196:return b_(s.type);default:return!1}}function au(s){return U(),D(f.createTypePredicateNode(void 0,s,ct()),s.pos)}function ao(){let s=M();return U(),D(f.createThisTypeNode(),s)}function _o(){let s=M();return U(),D(f.createJSDocAllType(),s)}function _u(){let s=M();return U(),D(f.createJSDocNonNullableType(Do(),!1),s)}function so(){let s=M();return U(),u()===28||u()===20||u()===22||u()===32||u()===64||u()===52?D(f.createJSDocUnknownType(),s):D(f.createJSDocNullableType(ct(),!1),s)}function su(){let s=M(),p=Be();if(de(qc)){let m=pr(36),y=Ln(59,!1);return Ne(D(f.createJSDocFunctionType(m,y),s),p)}return D(f.createTypeReferenceNode(Rt(),void 0),s)}function oo(){let s=M(),p;return(u()===110||u()===105)&&(p=Rt(),L(59)),D(f.createParameterDeclaration(void 0,void 0,p,void 0,Ji(),void 0),s)}function Ji(){t.setSkipJsDocLeadingAsterisks(!0);let s=M();if(Je(144)){let y=f.createJSDocNamepathType(void 0);e:for(;;)switch(u()){case 20:case 1:case 28:case 5:break e;default:qe()}return t.setSkipJsDocLeadingAsterisks(!1),D(y,s)}let p=Je(26),m=P_();return t.setSkipJsDocLeadingAsterisks(!1),p&&(m=D(f.createJSDocVariadicType(m),s)),u()===64?(U(),D(f.createJSDocOptionalType(m),s)):m}function ou(){let s=M();L(114);let p=Oi(!0),m=t.hasPrecedingLineBreak()?void 0:Ia();return D(f.createTypeQueryNode(p,m),s)}function co(){let s=M(),p=Un(!1,!0),m=wt(),y,x;Je(96)&&(Wr()||!Ar()?y=ct():x=R_());let N=Je(64)?ct():void 0,$=f.createTypeParameterDeclaration(p,m,y,N);return $.expression=x,D($,s)}function En(){if(u()===30)return kr(19,co,30,32)}function va(s){return u()===26||es()||$r(u())||u()===60||Wr(!s)}function lo(s){let p=di(A.Private_identifiers_cannot_be_used_as_parameters);return N2(p)===0&&!qt(s)&&$r(u())&&U(),p}function uo(){return ze()||u()===23||u()===19}function v_(s){return x_(s)}function po(s){return x_(s,!1)}function x_(s,p=!0){let m=M(),y=Be(),x=s?z(()=>Un(!0)):V(()=>Un(!0));if(u()===110){let ee=f.createParameterDeclaration(x,void 0,lr(!0),void 0,Er(),void 0),K=pf(x);return K&&mn(K,A.Neither_decorators_nor_modifiers_may_be_applied_to_this_parameters),Ne(D(ee,m),y)}let N=Wt;Wt=!1;let $=mt(26);if(!p&&!uo())return;let _e=Ne(D(f.createParameterDeclaration(x,$,lo(x),mt(58),Er(),Cr()),m),y);return Wt=N,_e}function Ln(s,p){if(fo(s,p))return Sr(P_)}function fo(s,p){return s===39?(L(s),!0):Je(59)?!0:p&&u()===39?(Ee(A._0_expected,_t(59)),U(),!0):!1}function xa(s,p){let m=Ce(),y=Ze();Xe(!!(s&1)),ot(!!(s&2));let x=s&32?Kt(17,oo):Kt(16,()=>p?v_(y):po(y));return Xe(m),ot(y),x}function pr(s){if(!L(21))return jn();let p=xa(s,!0);return L(22),p}function ji(){Je(28)||rn()}function mo(s){let p=M(),m=Be();s===180&&L(105);let y=En(),x=pr(4),N=Ln(59,!0);ji();let $=s===179?f.createCallSignature(y,x,N):f.createConstructSignature(y,x,N);return Ne(D($,p),m)}function ho(){return u()===23&&Y(ci)}function ci(){if(U(),u()===26||u()===24)return!0;if($r(u())){if(U(),ke())return!0}else if(ke())U();else return!1;return u()===59||u()===28?!0:u()!==58?!1:(U(),u()===59||u()===28||u()===24)}function yo(s,p,m){let y=kr(16,()=>v_(!1),23,24),x=Er();ji();let N=f.createIndexSignature(m,y,x);return Ne(D(N,s),p)}function go(s,p,m){let y=Vr(),x=mt(58),N;if(u()===21||u()===30){let $=En(),_e=pr(4),ee=Ln(59,!0);N=f.createMethodSignature(m,y,x,$,_e,ee)}else{let $=Er();N=f.createPropertySignature(m,y,x,$),u()===64&&(N.initializer=Cr())}return ji(),Ne(D(N,s),p)}function bo(){if(u()===21||u()===30||u()===139||u()===153)return!0;let s=!1;for(;$r(u());)s=!0,U();return u()===23?!0:(Fr()&&(s=!0,U()),s?u()===21||u()===30||u()===58||u()===59||u()===28||cr():!1)}function T_(){if(u()===21||u()===30)return mo(179);if(u()===105&&Y(Li))return mo(180);let s=M(),p=Be(),m=Un(!1);return _i(139)?Dr(s,p,m,177,4):_i(153)?Dr(s,p,m,178,4):ho()?yo(s,p,m):go(s,p,m)}function Li(){return U(),u()===21||u()===30}function cu(){return U()===25}function S_(){switch(U()){case 21:case 30:case 25:return!0}return!1}function lu(){let s=M();return D(f.createTypeLiteralNode(w_()),s)}function w_(){let s;return L(19)?(s=kn(4,T_),L(20)):s=jn(),s}function uu(){return U(),u()===40||u()===41?U()===148:(u()===148&&U(),u()===23&&ma()&&U()===103)}function vo(){let s=M(),p=Rt();L(103);let m=ct();return D(f.createTypeParameterDeclaration(void 0,p,m,void 0),s)}function pu(){let s=M();L(19);let p;(u()===148||u()===40||u()===41)&&(p=Qt(),p.kind!==148&&L(148)),L(23);let m=vo(),y=Je(130)?ct():void 0;L(24);let x;(u()===58||u()===40||u()===41)&&(x=Qt(),x.kind!==58&&L(58));let N=Er();rn();let $=kn(4,T_);return L(20),D(f.createMappedTypeNode(p,m,y,x,N,$),s)}function k_(){let s=M();if(Je(26))return D(f.createRestTypeNode(ct()),s);let p=ct();if(yh(p)&&p.pos===p.type.pos){let m=f.createOptionalTypeNode(p.type);return bn(m,p),m.flags=p.flags,m}return p}function xo(){return U()===59||u()===58&&U()===59}function To(){return u()===26?bt(U())&&xo():bt(u())&&xo()}function fu(){if(Y(To)){let s=M(),p=Be(),m=mt(26),y=Rt(),x=mt(58);L(59);let N=k_(),$=f.createNamedTupleMember(m,y,x,N);return Ne(D($,s),p)}return k_()}function So(){let s=M();return D(f.createTupleTypeNode(kr(21,fu,23,24)),s)}function du(){let s=M();L(21);let p=ct();return L(22),D(f.createParenthesizedType(p),s)}function wo(){let s;if(u()===128){let p=M();U();let m=D(he(128),p);s=Dt([m],p)}return s}function ko(){let s=M(),p=Be(),m=wo(),y=Je(105);B.assert(!m||y,"Per isStartOfFunctionOrConstructorType, a function type cannot have modifiers.");let x=En(),N=pr(4),$=Ln(39,!1),_e=y?f.createConstructorTypeNode(m,x,N,$):f.createFunctionTypeNode(x,N,$);return Ne(D(_e,s),p)}function E_(){let s=Qt();return u()===25?void 0:s}function Eo(s){let p=M();s&&U();let m=u()===112||u()===97||u()===106?Qt():Mi(u());return s&&(m=D(f.createPrefixUnaryExpression(41,m),p)),D(f.createLiteralTypeNode(m),p)}function Ao(){return U(),u()===102}function Co(){xt|=4194304;let s=M(),p=Je(114);L(102),L(21);let m=ct(),y;if(Je(28)){let $=t.getTokenStart();L(19);let _e=u();if(_e===118||_e===132?U():Ee(A._0_expected,_t(118)),L(59),y=cs(_e,!0),!L(20)){let ee=Ki(st);ee&&ee.code===A._0_expected.code&&Zc(ee,ja(Jt,Qe,$,1,A.The_parser_expected_to_find_a_1_to_match_the_0_token_here,"{","}"))}}L(22);let x=Je(25)?g_():void 0,N=oi();return D(f.createImportTypeNode(m,y,x,N,p),s)}function A_(){return U(),u()===9||u()===10}function Do(){switch(u()){case 133:case 159:case 154:case 150:case 163:case 155:case 136:case 157:case 146:case 151:return de(E_)||ba();case 67:t.reScanAsteriskEqualsToken();case 42:return _o();case 61:t.reScanQuestionToken();case 58:return so();case 100:return su();case 54:return _u();case 15:case 11:case 9:case 10:case 112:case 97:case 106:return Eo();case 41:return Y(A_)?Eo(!0):ba();case 116:return Qt();case 110:{let s=ao();return u()===142&&!t.hasPrecedingLineBreak()?au(s):s}case 114:return Y(Ao)?Co():ou();case 19:return Y(uu)?pu():lu();case 23:return So();case 21:return du();case 102:return Co();case 131:return Y(Ca)?Lo():ba();case 16:return h_();default:return ba()}}function Wr(s){switch(u()){case 133:case 159:case 154:case 150:case 163:case 136:case 148:case 155:case 158:case 116:case 157:case 106:case 110:case 114:case 146:case 19:case 23:case 30:case 52:case 51:case 105:case 11:case 9:case 10:case 112:case 97:case 151:case 42:case 58:case 54:case 26:case 140:case 102:case 131:case 15:case 16:return!0;case 100:return!s;case 41:return!s&&Y(A_);case 21:return!s&&Y(mu);default:return ke()}}function mu(){return U(),u()===22||va(!1)||Wr()}function Po(){let s=M(),p=Do();for(;!t.hasPrecedingLineBreak();)switch(u()){case 54:U(),p=D(f.createJSDocNonNullableType(p,!0),s);break;case 58:if(Y(Xs))return p;U(),p=D(f.createJSDocNullableType(p,!0),s);break;case 23:if(L(23),Wr()){let m=ct();L(24),p=D(f.createIndexedAccessTypeNode(p,m),s)}else L(24),p=D(f.createArrayTypeNode(p),s);break;default:return p}return p}function No(s){let p=M();return L(s),D(f.createTypeOperatorNode(s,Mo()),p)}function Io(){if(Je(96)){let s=Jn(ct);if(Ye()||u()!==58)return s}}function hu(){let s=M(),p=wt(),m=de(Io),y=f.createTypeParameterDeclaration(void 0,p,m);return D(y,s)}function Oo(){let s=M();return L(140),D(f.createInferTypeNode(hu()),s)}function Mo(){let s=u();switch(s){case 143:case 158:case 148:return No(s);case 140:return Oo()}return Sr(Po)}function Jo(s){if(D_()){let p=ko(),m;return Wf(p)?m=s?A.Function_type_notation_must_be_parenthesized_when_used_in_a_union_type:A.Function_type_notation_must_be_parenthesized_when_used_in_an_intersection_type:m=s?A.Constructor_type_notation_must_be_parenthesized_when_used_in_a_union_type:A.Constructor_type_notation_must_be_parenthesized_when_used_in_an_intersection_type,mn(p,m),p}}function Ta(s,p,m){let y=M(),x=s===52,N=Je(s),$=N&&Jo(x)||p();if(u()===s||N){let _e=[$];for(;Je(s);)_e.push(Jo(x)||p());$=D(m(Dt(_e,y)),y)}return $}function yu(){return Ta(51,Mo,f.createIntersectionTypeNode)}function C_(){return Ta(52,yu,f.createUnionTypeNode)}function gu(){return U(),u()===105}function D_(){return u()===30||u()===21&&Y(bu)?!0:u()===105||u()===128&&Y(gu)}function jo(){if($r(u())&&Un(!1),ke()||u()===110)return U(),!0;if(u()===23||u()===19){let s=st.length;return di(),s===st.length}return!1}function bu(){return U(),!!(u()===22||u()===26||jo()&&(u()===59||u()===28||u()===58||u()===64||u()===22&&(U(),u()===39)))}function P_(){let s=M(),p=ke()&&de(N_),m=ct();return p?D(f.createTypePredicateNode(void 0,p,m),s):m}function N_(){let s=wt();if(u()===142&&!t.hasPrecedingLineBreak())return U(),s}function Lo(){let s=M(),p=Qn(131),m=u()===110?ao():wt(),y=Je(142)?ct():void 0;return D(f.createTypePredicateNode(p,m,y),s)}function ct(){if(rt&81920)return Pt(81920,ct);if(D_())return ko();let s=M(),p=C_();if(!Ye()&&!t.hasPrecedingLineBreak()&&Je(96)){let m=Jn(ct);L(58);let y=Sr(ct);L(59);let x=Sr(ct);return D(f.createConditionalTypeNode(p,m,y,x),s)}return p}function Er(){return Je(59)?ct():void 0}function I_(){switch(u()){case 110:case 108:case 106:case 112:case 97:case 9:case 10:case 11:case 15:case 16:case 21:case 23:case 19:case 100:case 86:case 105:case 44:case 69:case 80:return!0;case 102:return Y(S_);default:return ke()}}function Ar(){if(I_())return!0;switch(u()){case 40:case 41:case 55:case 54:case 91:case 114:case 116:case 46:case 47:case 30:case 135:case 127:case 81:case 60:return!0;default:return j_()?!0:ke()}}function Ro(){return u()!==19&&u()!==100&&u()!==86&&u()!==60&&Ar()}function At(){let s=$e();s&&Ke(!1);let p=M(),m=Ut(!0),y;for(;y=mt(28);)m=wa(m,y,Ut(!0),p);return s&&Ke(!0),m}function Cr(){return Je(64)?Ut(!0):void 0}function Ut(s){if(vu())return xu();let p=Tu(s)||zo(s);if(p)return p;let m=M(),y=Be(),x=Sa(0);return x.kind===80&&u()===39?O_(m,x,s,y,void 0):Va(x)&&L1(Fe())?wa(x,Qt(),Ut(s),m):Wo(x,m,s)}function vu(){return u()===127?Ce()?!0:Y(hc):!1}function Uo(){return U(),!t.hasPrecedingLineBreak()&&ke()}function xu(){let s=M();return U(),!t.hasPrecedingLineBreak()&&(u()===42||Ar())?D(f.createYieldExpression(mt(42),Ut(!0)),s):D(f.createYieldExpression(void 0,void 0),s)}function O_(s,p,m,y,x){B.assert(u()===39,"parseSimpleArrowFunctionExpression should only have been called if we had a =>");let N=f.createParameterDeclaration(void 0,void 0,p,void 0,void 0,void 0);D(N,p.pos);let $=Dt([N],N.pos,N.end),_e=Qn(39),ee=Vo(!!x,m),K=f.createArrowFunction(x,void 0,$,void 0,_e,ee);return Ne(D(K,s),y)}function Tu(s){let p=Su();if(p!==0)return p===1?M_(!0,!0):de(()=>qo(s))}function Su(){return u()===21||u()===30||u()===134?Y(Bo):u()===39?1:0}function Bo(){if(u()===134&&(U(),t.hasPrecedingLineBreak()||u()!==21&&u()!==30))return 0;let s=u(),p=U();if(s===21){if(p===22)switch(U()){case 39:case 59:case 19:return 1;default:return 0}if(p===23||p===19)return 2;if(p===26)return 1;if($r(p)&&p!==134&&Y(ma))return U()===130?0:1;if(!ke()&&p!==110)return 0;switch(U()){case 59:return 1;case 58:return U(),u()===59||u()===28||u()===64||u()===22?1:0;case 28:case 64:case 22:return 2}return 0}else return B.assert(s===30),!ke()&&u()!==87?0:ut===1?Y(()=>{Je(87);let y=U();if(y===96)switch(U()){case 64:case 32:case 44:return!1;default:return!0}else if(y===28||y===64)return!0;return!1})?1:0:2}function qo(s){let p=t.getTokenStart();if(dn!=null&&dn.has(p))return;let m=M_(!1,s);return m||(dn||(dn=new Set)).add(p),m}function zo(s){if(u()===134&&Y(Fo)===1){let p=M(),m=Be(),y=is(),x=Sa(0);return O_(p,x,s,m,y)}}function Fo(){if(u()===134){if(U(),t.hasPrecedingLineBreak()||u()===39)return 0;let s=Sa(0);if(!t.hasPrecedingLineBreak()&&s.kind===80&&u()===39)return 1}return 0}function M_(s,p){let m=M(),y=Be(),x=is(),N=qt(x,nl)?2:0,$=En(),_e;if(L(21)){if(s)_e=xa(N,s);else{let fr=xa(N,s);if(!fr)return;_e=fr}if(!L(22)&&!s)return}else{if(!s)return;_e=jn()}let ee=u()===59,K=Ln(59,!1);if(K&&!s&&b_(K))return;let le=K;for(;(le==null?void 0:le.kind)===196;)le=le.type;let Ue=le&&gh(le);if(!s&&u()!==39&&(Ue||u()!==19))return;let je=u(),De=Qn(39),Yt=je===39||je===19?Vo(qt(x,nl),p):wt();if(!p&&ee&&u()!==59)return;let un=f.createArrowFunction(x,$,_e,K,De,Yt);return Ne(D(un,m),y)}function Vo(s,p){if(u()===19)return Ri(s?2:0);if(u()!==27&&u()!==100&&u()!==86&&$_()&&!Ro())return Ri(16|(s?2:0));let m=Wt;Wt=!1;let y=s?z(()=>Ut(p)):V(()=>Ut(p));return Wt=m,y}function Wo(s,p,m){let y=mt(58);if(!y)return s;let x;return D(f.createConditionalExpression(s,y,Pt(a,()=>Ut(!1)),x=Qn(59),nf(x)?Ut(m):an(80,!1,A._0_expected,_t(59))),p)}function Sa(s){let p=M(),m=R_();return Go(s,m,p)}function J_(s){return s===103||s===165}function Go(s,p,m){for(;;){Fe();let y=Bp(u());if(!(u()===43?y>=s:y>s)||u()===103&&ye())break;if(u()===130||u()===152){if(t.hasPrecedingLineBreak())break;{let N=u();U(),p=N===152?wu(p,ct()):ku(p,ct())}}else p=wa(p,Qt(),Sa(y),m)}return p}function j_(){return ye()&&u()===103?!1:Bp(u())>0}function wu(s,p){return D(f.createSatisfiesExpression(s,p),s.pos)}function wa(s,p,m,y){return D(f.createBinaryExpression(s,p,m),y)}function ku(s,p){return D(f.createAsExpression(s,p),s.pos)}function L_(){let s=M();return D(f.createPrefixUnaryExpression(u(),Me(Gr)),s)}function Eu(){let s=M();return D(f.createDeleteExpression(Me(Gr)),s)}function Yo(){let s=M();return D(f.createTypeOfExpression(Me(Gr)),s)}function Au(){let s=M();return D(f.createVoidExpression(Me(Gr)),s)}function Ho(){return u()===135?Ze()?!0:Y(hc):!1}function Cu(){let s=M();return D(f.createAwaitExpression(Me(Gr)),s)}function R_(){if(Xo()){let m=M(),y=$o();return u()===43?Go(Bp(u()),y,m):y}let s=u(),p=Gr();if(u()===43){let m=Qr(Qe,p.pos),{end:y}=p;p.kind===216?at(m,y,A.A_type_assertion_expression_is_not_allowed_in_the_left_hand_side_of_an_exponentiation_expression_Consider_enclosing_the_expression_in_parentheses):(B.assert(Up(s)),at(m,y,A.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,_t(s)))}return p}function Gr(){switch(u()){case 40:case 41:case 55:case 54:return L_();case 91:return Eu();case 114:return Yo();case 116:return Au();case 30:return ut===1?ui(!0,void 0,void 0,!0):Mu();case 135:if(Ho())return Cu();default:return $o()}}function Xo(){switch(u()){case 40:case 41:case 55:case 54:case 91:case 114:case 116:case 135:return!1;case 30:if(ut!==1)return!1;default:return!0}}function $o(){if(u()===46||u()===47){let p=M();return D(f.createPrefixUnaryExpression(u(),Me(li)),p)}else if(ut===1&&u()===30&&Y(Ql))return ui(!0);let s=li();if(B.assert(Va(s)),(u()===46||u()===47)&&!t.hasPrecedingLineBreak()){let p=u();return U(),D(f.createPostfixUnaryExpression(s,p),s.pos)}return s}function li(){let s=M(),p;return u()===102?Y(Li)?(xt|=4194304,p=Qt()):Y(cu)?(U(),U(),p=D(f.createMetaProperty(102,Rt()),s),xt|=8388608):p=U_():p=u()===108?B_():U_(),pi(s,p)}function U_(){let s=M(),p=_c();return Ea(s,p,!0)}function B_(){let s=M(),p=Qt();if(u()===30){let m=M(),y=de(W_);y!==void 0&&(at(m,M(),A.super_may_not_use_type_arguments),ln()||(p=f.createExpressionWithTypeArguments(p,y)))}return u()===21||u()===25||u()===23?p:(Qn(25,A.super_must_be_followed_by_an_argument_list_or_member_access),D(ae(p,ya(!0,!0,!0)),s))}function ui(s,p,m,y=!1){let x=M(),N=Pu(s),$;if(N.kind===286){let _e=Qo(N),ee,K=_e[_e.length-1];if((K==null?void 0:K.kind)===284&&!vi(K.openingElement.tagName,K.closingElement.tagName)&&vi(N.tagName,K.closingElement.tagName)){let le=K.children.end,Ue=D(f.createJsxElement(K.openingElement,K.children,D(f.createJsxClosingElement(D(re(""),le,le)),le,le)),K.openingElement.pos,le);_e=Dt([..._e.slice(0,_e.length-1),Ue],_e.pos,le),ee=K.closingElement}else ee=Ou(N,s),vi(N.tagName,ee.tagName)||(m&&_f(m)&&vi(ee.tagName,m.tagName)?mn(N.tagName,A.JSX_element_0_has_no_corresponding_closing_tag,ys(Qe,N.tagName)):mn(ee.tagName,A.Expected_corresponding_JSX_closing_tag_for_0,ys(Qe,N.tagName)));$=D(f.createJsxElement(N,_e,ee),x)}else N.kind===289?$=D(f.createJsxFragment(N,Qo(N),nc(s)),x):(B.assert(N.kind===285),$=N);if(!y&&s&&u()===30){let _e=typeof p>"u"?$.pos:p,ee=de(()=>ui(!0,_e));if(ee){let K=an(28,!1);return cm(K,ee.pos,0),at(Qr(Qe,_e),ee.end,A.JSX_expressions_must_have_one_parent_element),D(f.createBinaryExpression($,K,ee),x)}}return $}function Du(){let s=M(),p=f.createJsxText(t.getTokenValue(),pt===13);return pt=t.scanJsxToken(),D(p,s)}function q_(s,p){switch(p){case 1:if(E6(s))mn(s,A.JSX_fragment_has_no_corresponding_closing_tag);else{let m=s.tagName,y=Math.min(Qr(Qe,m.pos),m.end);at(y,m.end,A.JSX_element_0_has_no_corresponding_closing_tag,ys(Qe,s.tagName))}return;case 31:case 7:return;case 12:case 13:return Du();case 19:return ec(!1);case 30:return ui(!1,void 0,s);default:return B.assertNever(p)}}function Qo(s){let p=[],m=M(),y=vt;for(vt|=16384;;){let x=q_(s,pt=t.reScanJsxToken());if(!x||(p.push(x),_f(s)&&(x==null?void 0:x.kind)===284&&!vi(x.openingElement.tagName,x.closingElement.tagName)&&vi(s.tagName,x.closingElement.tagName)))break}return vt=y,Dt(p,m)}function z_(){let s=M();return D(f.createJsxAttributes(kn(13,Nu)),s)}function Pu(s){let p=M();if(L(30),u()===32)return $n(),D(f.createJsxOpeningFragment(),p);let m=Ko(),y=rt&524288?void 0:Ia(),x=z_(),N;return u()===32?($n(),N=f.createJsxOpeningElement(m,y,x)):(L(44),L(32,void 0,!1)&&(s?U():$n()),N=f.createJsxSelfClosingElement(m,y,x)),D(N,p)}function Ko(){let s=M(),p=Zo();if(dh(p))return p;let m=p;for(;Je(25);)m=D(ae(m,ya(!0,!1,!1)),s);return m}function Zo(){let s=M();Gt();let p=u()===110,m=ai();return Je(59)?(Gt(),D(f.createJsxNamespacedName(m,ai()),s)):p?D(f.createToken(110),s):m}function ec(s){let p=M();if(!L(19))return;let m,y;return u()!==20&&(s||(m=mt(26)),y=At()),s?L(20):L(20,void 0,!1)&&$n(),D(f.createJsxExpression(m,y),p)}function Nu(){if(u()===19)return Iu();let s=M();return D(f.createJsxAttribute(F_(),tc()),s)}function tc(){if(u()===64){if(Ni()===11)return Kn();if(u()===19)return ec(!0);if(u()===30)return ui(!0);Ee(A.or_JSX_element_expected)}}function F_(){let s=M();Gt();let p=ai();return Je(59)?(Gt(),D(f.createJsxNamespacedName(p,ai()),s)):p}function Iu(){let s=M();L(19),L(26);let p=At();return L(20),D(f.createJsxSpreadAttribute(p),s)}function Ou(s,p){let m=M();L(31);let y=Ko();return L(32,void 0,!1)&&(p||!vi(s.tagName,y)?U():$n()),D(f.createJsxClosingElement(y),m)}function nc(s){let p=M();return L(31),L(32,A.Expected_corresponding_closing_tag_for_JSX_fragment,!1)&&(s?U():$n()),D(f.createJsxJsxClosingFragment(),p)}function Mu(){B.assert(ut!==1,"Type assertions should never be parsed in JSX; they should be parsed as comparisons or JSX elements/fragments.");let s=M();L(30);let p=ct();L(32);let m=Gr();return D(f.createTypeAssertion(p,m),s)}function rc(){return U(),bt(u())||u()===23||ln()}function Ju(){return u()===29&&Y(rc)}function ka(s){if(s.flags&64)return!0;if(sl(s)){let p=s.expression;for(;sl(p)&&!(p.flags&64);)p=p.expression;if(p.flags&64){for(;sl(s);)s.flags|=64,s=s.expression;return!0}}return!1}function ju(s,p,m){let y=ya(!0,!0,!0),x=m||ka(p),N=x?ve(p,m,y):ae(p,y);if(x&&wi(N.name)&&mn(N.name,A.An_optional_chain_cannot_contain_private_identifiers),ch(p)&&p.typeArguments){let $=p.typeArguments.pos-1,_e=Qr(Qe,p.typeArguments.end)+1;at($,_e,A.An_instantiation_expression_cannot_be_followed_by_a_property_access)}return D(N,s)}function ic(s,p,m){let y;if(u()===24)y=an(80,!0,A.An_element_access_expression_should_take_an_argument);else{let N=ft(At);wl(N)&&(N.text=zr(N.text)),y=N}L(24);let x=m||ka(p)?oe(p,m,y):X(p,y);return D(x,s)}function Ea(s,p,m){for(;;){let y,x=!1;if(m&&Ju()?(y=Qn(29),x=bt(u())):x=Je(25),x){p=ju(s,p,y);continue}if((y||!$e())&&Je(23)){p=ic(s,p,y);continue}if(ln()){p=!y&&p.kind===233?Rn(s,p.expression,y,p.typeArguments):Rn(s,p,y,void 0);continue}if(!y){if(u()===54&&!t.hasPrecedingLineBreak()){U(),p=D(f.createNonNullExpression(p),s);continue}let N=de(W_);if(N){p=D(f.createExpressionWithTypeArguments(p,N),s);continue}}return p}}function ln(){return u()===15||u()===16}function Rn(s,p,m,y){let x=f.createTaggedTemplateExpression(p,y,u()===15?(Nt(!0),Kn()):to(!0));return(m||p.flags&64)&&(x.flags|=64),x.questionDotToken=m,D(x,s)}function pi(s,p){for(;;){p=Ea(s,p,!0);let m,y=mt(29);if(y&&(m=de(W_),ln())){p=Rn(s,p,y,m);continue}if(m||u()===21){!y&&p.kind===233&&(m=p.typeArguments,p=p.expression);let x=V_(),N=y||ka(p)?ht(p,y,m,x):G(p,m,x);p=D(N,s);continue}if(y){let x=an(80,!1,A.Identifier_expected);p=D(ve(p,y,x),s)}break}return p}function V_(){L(21);let s=Kt(11,Ru);return L(22),s}function W_(){if(rt&524288||Et()!==30)return;U();let s=Kt(20,ct);if(Fe()===32)return U(),s&&ac()?s:void 0}function ac(){switch(u()){case 21:case 15:case 16:return!0;case 30:case 32:case 40:case 41:return!1}return t.hasPrecedingLineBreak()||j_()||!Ar()}function _c(){switch(u()){case 15:t.getTokenFlags()&26656&&Nt(!1);case 9:case 10:case 11:return Kn();case 110:case 108:case 106:case 112:case 97:return Qt();case 21:return sc();case 23:return Y_();case 19:return Aa();case 134:if(!Y(X_))break;return oc();case 60:return up();case 86:return Nc();case 100:return oc();case 105:return Bu();case 44:case 69:if(He()===14)return Kn();break;case 16:return to(!1);case 81:return da()}return wt(A.Expression_expected)}function sc(){let s=M(),p=Be();L(21);let m=ft(At);return L(22),Ne(D(xn(m),s),p)}function Lu(){let s=M();L(26);let p=Ut(!0);return D(f.createSpreadElement(p),s)}function G_(){return u()===26?Lu():u()===28?D(f.createOmittedExpression(),M()):Ut(!0)}function Ru(){return Pt(a,G_)}function Y_(){let s=M(),p=t.getTokenStart(),m=L(23),y=t.hasPrecedingLineBreak(),x=Kt(15,G_);return qr(23,24,m,p),D(me(x,y),s)}function Uu(){let s=M(),p=Be();if(mt(26)){let le=Ut(!0);return Ne(D(f.createSpreadAssignment(le),s),p)}let m=Un(!0);if(_i(139))return Dr(s,p,m,177,0);if(_i(153))return Dr(s,p,m,178,0);let y=mt(42),x=ke(),N=Vr(),$=mt(58),_e=mt(54);if(y||u()===21||u()===30)return Ec(s,p,m,y,N,$,_e);let ee;if(x&&u()!==59){let le=mt(64),Ue=le?ft(()=>Ut(!0)):void 0;ee=f.createShorthandPropertyAssignment(N,Ue),ee.equalsToken=le}else{L(59);let le=ft(()=>Ut(!0));ee=f.createPropertyAssignment(N,le)}return ee.modifiers=m,ee.questionToken=$,ee.exclamationToken=_e,Ne(D(ee,s),p)}function Aa(){let s=M(),p=t.getTokenStart(),m=L(19),y=t.hasPrecedingLineBreak(),x=Kt(12,Uu,!0);return qr(19,20,m,p),D(O(x,y),s)}function oc(){let s=$e();Ke(!1);let p=M(),m=Be(),y=Un(!1);L(100);let x=mt(42),N=x?1:0,$=qt(y,nl)?2:0,_e=N&&$?Q(fi):N?Xn(fi):$?z(fi):fi(),ee=En(),K=pr(N|$),le=Ln(59,!1),Ue=Ri(N|$);Ke(s);let je=f.createFunctionExpression(y,x,_e,ee,K,le,Ue);return Ne(D(je,p),m)}function fi(){return ze()?r_():void 0}function Bu(){let s=M();if(L(105),Je(25)){let N=Rt();return D(f.createMetaProperty(105,N),s)}let p=M(),m=Ea(p,_c(),!1),y;m.kind===233&&(y=m.typeArguments,m=m.expression),u()===29&&Ee(A.Invalid_optional_chain_from_new_expression_Did_you_mean_to_call_0,ys(Qe,m));let x=u()===21?V_():void 0;return D(ir(m,y,x),s)}function Yr(s,p){let m=M(),y=Be(),x=t.getTokenStart(),N=L(19,p);if(N||s){let $=t.hasPrecedingLineBreak(),_e=kn(1,Zt);qr(19,20,N,x);let ee=Ne(D(ar(_e,$),m),y);return u()===64&&(Ee(A.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),U()),ee}else{let $=jn();return Ne(D(ar($,void 0),m),y)}}function Ri(s,p){let m=Ce();Xe(!!(s&1));let y=Ze();ot(!!(s&2));let x=Wt;Wt=!1;let N=$e();N&&Ke(!1);let $=Yr(!!(s&16),p);return N&&Ke(!0),Wt=x,Xe(m),ot(y),$}function qu(){let s=M(),p=Be();return L(27),Ne(D(f.createEmptyStatement(),s),p)}function cc(){let s=M(),p=Be();L(101);let m=t.getTokenStart(),y=L(21),x=ft(At);qr(21,22,y,m);let N=Zt(),$=Je(93)?Zt():void 0;return Ne(D(Ve(x,N,$),s),p)}function zu(){let s=M(),p=Be();L(92);let m=Zt();L(117);let y=t.getTokenStart(),x=L(21),N=ft(At);return qr(21,22,x,y),Je(27),Ne(D(f.createDoStatement(m,N),s),p)}function lc(){let s=M(),p=Be();L(117);let m=t.getTokenStart(),y=L(21),x=ft(At);qr(21,22,y,m);let N=Zt();return Ne(D(_r(x,N),s),p)}function Fu(){let s=M(),p=Be();L(99);let m=mt(135);L(21);let y;u()!==27&&(u()===115||u()===121||u()===87||u()===160&&Y(Zu)||u()===135&&Y(Q_)?y=Sc(!0):y=Br(At));let x;if(m?L(165):Je(165)){let N=ft(()=>Ut(!0));L(22),x=Mt(m,y,N,Zt())}else if(Je(103)){let N=ft(At);L(22),x=f.createForInStatement(y,N,Zt())}else{L(27);let N=u()!==27&&u()!==22?ft(At):void 0;L(27);let $=u()!==22?ft(At):void 0;L(22),x=Rr(y,N,$,Zt())}return Ne(D(x,s),p)}function H_(s){let p=M(),m=Be();L(s===252?83:88);let y=cr()?void 0:wt();rn();let x=s===252?f.createBreakStatement(y):f.createContinueStatement(y);return Ne(D(x,p),m)}function Vu(){let s=M(),p=Be();L(107);let m=cr()?void 0:ft(At);return rn(),Ne(D(f.createReturnStatement(m),s),p)}function uc(){let s=M(),p=Be();L(118);let m=t.getTokenStart(),y=L(21),x=ft(At);qr(21,22,y,m);let N=Tt(67108864,Zt);return Ne(D(f.createWithStatement(x,N),s),p)}function Wu(){let s=M(),p=Be();L(84);let m=ft(At);L(59);let y=kn(3,Zt);return Ne(D(f.createCaseClause(m,y),s),p)}function pc(){let s=M();L(90),L(59);let p=kn(3,Zt);return D(f.createDefaultClause(p),s)}function Gu(){return u()===84?Wu():pc()}function Yu(){let s=M();L(19);let p=kn(2,Gu);return L(20),D(f.createCaseBlock(p),s)}function fc(){let s=M(),p=Be();L(109),L(21);let m=ft(At);L(22);let y=Yu();return Ne(D(f.createSwitchStatement(m,y),s),p)}function Hu(){let s=M(),p=Be();L(111);let m=t.hasPrecedingLineBreak()?void 0:ft(At);return m===void 0&&(Sn++,m=D(re(""),M())),fa()||St(m),Ne(D(f.createThrowStatement(m),s),p)}function dc(){let s=M(),p=Be();L(113);let m=Yr(!1),y=u()===85?Xu():void 0,x;return(!y||u()===98)&&(L(98,A.catch_or_finally_expected),x=Yr(!1)),Ne(D(f.createTryStatement(m,y,x),s),p)}function Xu(){let s=M();L(85);let p;Je(21)?(p=Na(),L(22)):p=void 0;let m=Yr(!1);return D(f.createCatchClause(p,m),s)}function mc(){let s=M(),p=Be();return L(89),rn(),Ne(D(f.createDebuggerStatement(),s),p)}function $u(){let s=M(),p=Be(),m,y=u()===21,x=ft(At);return et(x)&&Je(59)?m=f.createLabeledStatement(x,Zt()):(fa()||St(x),m=On(x),y&&(p=!1)),Ne(D(m,s),p)}function Ca(){return U(),bt(u())&&!t.hasPrecedingLineBreak()}function Qu(){return U(),u()===86&&!t.hasPrecedingLineBreak()}function X_(){return U(),u()===100&&!t.hasPrecedingLineBreak()}function hc(){return U(),(bt(u())||u()===9||u()===10||u()===11)&&!t.hasPrecedingLineBreak()}function yc(){for(;;)switch(u()){case 115:case 121:case 87:case 100:case 86:case 94:return!0;case 160:return bc();case 135:return K_();case 120:case 156:return Uo();case 144:case 145:return rp();case 128:case 129:case 134:case 138:case 123:case 124:case 125:case 148:let s=u();if(U(),t.hasPrecedingLineBreak())return!1;if(s===138&&u()===156)return!0;continue;case 162:return U(),u()===19||u()===80||u()===95;case 102:return U(),u()===11||u()===42||u()===19||bt(u());case 95:let p=U();if(p===156&&(p=Y(U)),p===64||p===42||p===19||p===90||p===130||p===60)return!0;continue;case 126:U();continue;default:return!1}}function Da(){return Y(yc)}function $_(){switch(u()){case 60:case 27:case 19:case 115:case 121:case 160:case 100:case 86:case 94:case 101:case 92:case 117:case 99:case 88:case 83:case 107:case 118:case 109:case 111:case 113:case 89:case 85:case 98:return!0;case 102:return Da()||Y(S_);case 87:case 95:return Da();case 134:case 138:case 120:case 144:case 145:case 156:case 162:return!0;case 129:case 125:case 123:case 124:case 126:case 148:return Da()||!Y(Ca);default:return Ar()}}function Ku(){return U(),ze()||u()===19||u()===23}function gc(){return Y(Ku)}function Zu(){return Pa(!0)}function Pa(s){return U(),s&&u()===165?!1:(ze()||u()===19)&&!t.hasPrecedingLineBreak()}function bc(){return Y(Pa)}function Q_(s){return U()===160?Pa(s):!1}function K_(){return Y(Q_)}function Zt(){switch(u()){case 27:return qu();case 19:return Yr(!1);case 115:return qi(M(),Be(),void 0);case 121:if(gc())return qi(M(),Be(),void 0);break;case 135:if(K_())return qi(M(),Be(),void 0);break;case 160:if(bc())return qi(M(),Be(),void 0);break;case 100:return ts(M(),Be(),void 0);case 86:return Ic(M(),Be(),void 0);case 101:return cc();case 92:return zu();case 117:return lc();case 99:return Fu();case 88:return H_(251);case 83:return H_(252);case 107:return Vu();case 118:return uc();case 109:return fc();case 111:return Hu();case 113:case 85:case 98:return dc();case 89:return mc();case 60:return Z_();case 134:case 120:case 156:case 144:case 145:case 138:case 87:case 94:case 95:case 102:case 123:case 124:case 125:case 128:case 129:case 126:case 148:case 162:if(Da())return Z_();break}return $u()}function vc(s){return s.kind===138}function Z_(){let s=M(),p=Be(),m=Un(!0);if(qt(m,vc)){let x=ep(s);if(x)return x;for(let N of m)N.flags|=33554432;return Tt(33554432,()=>Ui(s,p,m))}else return Ui(s,p,m)}function ep(s){return Tt(33554432,()=>{let p=o_(vt,s);if(p)return c_(p)})}function Ui(s,p,m){switch(u()){case 115:case 121:case 87:case 160:case 135:return qi(s,p,m);case 100:return ts(s,p,m);case 86:return Ic(s,p,m);case 120:return Lc(s,p,m);case 156:return Rc(s,p,m);case 94:return _s(s,p,m);case 162:case 144:case 145:return hp(s,p,m);case 102:return bp(s,p,m);case 95:switch(U(),u()){case 90:case 64:return Dp(s,p,m);case 130:return gp(s,p,m);default:return Cp(s,p,m)}default:if(m){let y=an(282,!0,A.Declaration_expected);return af(y,s),y.modifiers=m,y}return}}function tp(){return U()===11}function np(){return U(),u()===161||u()===64}function rp(){return U(),!t.hasPrecedingLineBreak()&&(ke()||u()===11)}function Bi(s,p){if(u()!==19){if(s&4){ji();return}if(cr()){rn();return}}return Ri(s,p)}function ip(){let s=M();if(u()===28)return D(f.createOmittedExpression(),s);let p=mt(26),m=di(),y=Cr();return D(f.createBindingElement(p,void 0,m,y),s)}function xc(){let s=M(),p=mt(26),m=ze(),y=Vr(),x;m&&u()!==59?(x=y,y=void 0):(L(59),x=di());let N=Cr();return D(f.createBindingElement(p,y,x,N),s)}function ap(){let s=M();L(19);let p=ft(()=>Kt(9,xc));return L(20),D(f.createObjectBindingPattern(p),s)}function Tc(){let s=M();L(23);let p=ft(()=>Kt(10,ip));return L(24),D(f.createArrayBindingPattern(p),s)}function es(){return u()===19||u()===23||u()===81||ze()}function di(s){return u()===23?Tc():u()===19?ap():r_(s)}function _p(){return Na(!0)}function Na(s){let p=M(),m=Be(),y=di(A.Private_identifiers_are_not_allowed_in_variable_declarations),x;s&&y.kind===80&&u()===54&&!t.hasPrecedingLineBreak()&&(x=Qt());let N=Er(),$=J_(u())?void 0:Cr(),_e=Vn(y,x,N,$);return Ne(D(_e,p),m)}function Sc(s){let p=M(),m=0;switch(u()){case 115:break;case 121:m|=1;break;case 87:m|=2;break;case 160:m|=4;break;case 135:B.assert(K_()),m|=6,U();break;default:B.fail()}U();let y;if(u()===165&&Y(wc))y=jn();else{let x=ye();xe(s),y=Kt(8,s?Na:_p),xe(x)}return D(Mn(y,m),p)}function wc(){return ma()&&U()===22}function qi(s,p,m){let y=Sc(!1);rn();let x=Tn(m,y);return Ne(D(x,s),p)}function ts(s,p,m){let y=Ze(),x=qn(m);L(100);let N=mt(42),$=x&2048?fi():r_(),_e=N?1:0,ee=x&1024?2:0,K=En();x&32&&ot(!0);let le=pr(_e|ee),Ue=Ln(59,!1),je=Bi(_e|ee,A.or_expected);ot(y);let De=f.createFunctionDeclaration(m,N,$,K,le,Ue,je);return Ne(D(De,s),p)}function sp(){if(u()===137)return L(137);if(u()===11&&Y(U)===21)return de(()=>{let s=Kn();return s.text==="constructor"?s:void 0})}function kc(s,p,m){return de(()=>{if(sp()){let y=En(),x=pr(0),N=Ln(59,!1),$=Bi(0,A.or_expected),_e=f.createConstructorDeclaration(m,x,$);return _e.typeParameters=y,_e.type=N,Ne(D(_e,s),p)}})}function Ec(s,p,m,y,x,N,$,_e){let ee=y?1:0,K=qt(m,nl)?2:0,le=En(),Ue=pr(ee|K),je=Ln(59,!1),De=Bi(ee|K,_e),Yt=f.createMethodDeclaration(m,y,x,N,le,Ue,je,De);return Yt.exclamationToken=$,Ne(D(Yt,s),p)}function ns(s,p,m,y,x){let N=!x&&!t.hasPrecedingLineBreak()?mt(54):void 0,$=Er(),_e=Pt(90112,Cr);Vl(y,$,_e);let ee=f.createPropertyDeclaration(m,y,x||N,$,_e);return Ne(D(ee,s),p)}function Ac(s,p,m){let y=mt(42),x=Vr(),N=mt(58);return y||u()===21||u()===30?Ec(s,p,m,y,x,N,void 0,A.or_expected):ns(s,p,m,x,N)}function Dr(s,p,m,y,x){let N=Vr(),$=En(),_e=pr(0),ee=Ln(59,!1),K=Bi(x),le=y===177?f.createGetAccessorDeclaration(m,N,_e,ee,K):f.createSetAccessorDeclaration(m,N,_e,K);return le.typeParameters=$,Ds(le)&&(le.type=ee),Ne(D(le,s),p)}function Cc(){let s;if(u()===60)return!0;for(;$r(u());){if(s=u(),c2(s))return!0;U()}if(u()===42||(Fr()&&(s=u(),U()),u()===23))return!0;if(s!==void 0){if(!Ti(s)||s===153||s===139)return!0;switch(u()){case 21:case 30:case 54:case 59:case 64:case 58:return!0;default:return cr()}}return!1}function op(s,p,m){Qn(126);let y=Dc(),x=Ne(D(f.createClassStaticBlockDeclaration(y),s),p);return x.modifiers=m,x}function Dc(){let s=Ce(),p=Ze();Xe(!1),ot(!0);let m=Yr(!1);return Xe(s),ot(p),m}function cp(){if(Ze()&&u()===135){let s=M(),p=wt(A.Expression_expected);U();let m=Ea(s,p,!0);return pi(s,m)}return li()}function Pc(){let s=M();if(!Je(60))return;let p=Pi(cp);return D(f.createDecorator(p),s)}function rs(s,p,m){let y=M(),x=u();if(u()===87&&p){if(!de(i_))return}else{if(m&&u()===126&&Y(zc))return;if(s&&u()===126)return;if(!Ws())return}return D(he(x),y)}function Un(s,p,m){let y=M(),x,N,$,_e=!1,ee=!1,K=!1;if(s&&u()===60)for(;N=Pc();)x=Cn(x,N);for(;$=rs(_e,p,m);)$.kind===126&&(_e=!0),x=Cn(x,$),ee=!0;if(ee&&s&&u()===60)for(;N=Pc();)x=Cn(x,N),K=!0;if(K)for(;$=rs(_e,p,m);)$.kind===126&&(_e=!0),x=Cn(x,$);return x&&Dt(x,y)}function is(){let s;if(u()===134){let p=M();U();let m=D(he(134),p);s=Dt([m],p)}return s}function lp(){let s=M(),p=Be();if(u()===27)return U(),Ne(D(f.createSemicolonClassElement(),s),p);let m=Un(!0,!0,!0);if(u()===126&&Y(zc))return op(s,p,m);if(_i(139))return Dr(s,p,m,177,0);if(_i(153))return Dr(s,p,m,178,0);if(u()===137||u()===11){let y=kc(s,p,m);if(y)return y}if(ho())return yo(s,p,m);if(bt(u())||u()===11||u()===9||u()===42||u()===23)if(qt(m,vc)){for(let x of m)x.flags|=33554432;return Tt(33554432,()=>Ac(s,p,m))}else return Ac(s,p,m);if(m){let y=an(80,!0,A.Declaration_expected);return ns(s,p,m,y,void 0)}return B.fail("Should not have attempted to parse class member declaration.")}function up(){let s=M(),p=Be(),m=Un(!0);if(u()===86)return as(s,p,m,231);let y=an(282,!0,A.Expression_expected);return af(y,s),y.modifiers=m,y}function Nc(){return as(M(),Be(),void 0,231)}function Ic(s,p,m){return as(s,p,m,263)}function as(s,p,m,y){let x=Ze();L(86);let N=Oc(),$=En();qt(m,c6)&&ot(!0);let _e=Mc(),ee;L(19)?(ee=dp(),L(20)):ee=jn(),ot(x);let K=y===263?f.createClassDeclaration(m,N,$,_e,ee):f.createClassExpression(m,N,$,_e,ee);return Ne(D(K,s),p)}function Oc(){return ze()&&!pp()?lr(ze()):void 0}function pp(){return u()===119&&Y(a_)}function Mc(){if(jc())return kn(22,Jc)}function Jc(){let s=M(),p=u();B.assert(p===96||p===119),U();let m=Kt(7,fp);return D(f.createHeritageClause(p,m),s)}function fp(){let s=M(),p=li();if(p.kind===233)return p;let m=Ia();return D(f.createExpressionWithTypeArguments(p,m),s)}function Ia(){return u()===30?kr(20,ct,30,32):void 0}function jc(){return u()===96||u()===119}function dp(){return kn(5,lp)}function Lc(s,p,m){L(120);let y=wt(),x=En(),N=Mc(),$=w_(),_e=f.createInterfaceDeclaration(m,y,x,N,$);return Ne(D(_e,s),p)}function Rc(s,p,m){L(156),t.hasPrecedingLineBreak()&&Ee(A.Line_break_not_permitted_here);let y=wt(),x=En();L(64);let N=u()===141&&de(E_)||ct();rn();let $=f.createTypeAliasDeclaration(m,y,x,N);return Ne(D($,s),p)}function mp(){let s=M(),p=Be(),m=Vr(),y=ft(Cr);return Ne(D(f.createEnumMember(m,y),s),p)}function _s(s,p,m){L(94);let y=wt(),x;L(19)?(x=Te(()=>Kt(6,mp)),L(20)):x=jn();let N=f.createEnumDeclaration(m,y,x);return Ne(D(N,s),p)}function Uc(){let s=M(),p;return L(19)?(p=kn(1,Zt),L(20)):p=jn(),D(f.createModuleBlock(p),s)}function ss(s,p,m,y){let x=y&32,N=y&8?Rt():wt(),$=Je(25)?ss(M(),!1,void 0,8|x):Uc(),_e=f.createModuleDeclaration(m,N,$,y);return Ne(D(_e,s),p)}function Bc(s,p,m){let y=0,x;u()===162?(x=wt(),y|=2048):(x=Kn(),x.text=zr(x.text));let N;u()===19?N=Uc():rn();let $=f.createModuleDeclaration(m,x,N,y);return Ne(D($,s),p)}function hp(s,p,m){let y=0;if(u()===162)return Bc(s,p,m);if(Je(145))y|=32;else if(L(144),u()===11)return Bc(s,p,m);return ss(s,p,m,y)}function yp(){return u()===149&&Y(qc)}function qc(){return U()===21}function zc(){return U()===19}function os(){return U()===44}function gp(s,p,m){L(130),L(145);let y=wt();rn();let x=f.createNamespaceExportDeclaration(y);return x.modifiers=m,Ne(D(x,s),p)}function bp(s,p,m){L(102);let y=t.getTokenFullStart(),x;ke()&&(x=wt());let N=!1;if((x==null?void 0:x.escapedText)==="type"&&(u()!==161||ke()&&Y(np))&&(ke()||xp())&&(N=!0,x=ke()?wt():void 0),x&&!Hr())return Tp(s,p,m,x,N);let $=mi(x,y,N),_e=Fi(),ee=Fc();rn();let K=f.createImportDeclaration(m,$,_e,ee);return Ne(D(K,s),p)}function mi(s,p,m,y=!1){let x;return(s||u()===42||u()===19)&&(x=Sp(s,p,m,y),L(161)),x}function Fc(){let s=u();if((s===118||s===132)&&!t.hasPrecedingLineBreak())return cs(s)}function vp(){let s=M(),p=bt(u())?Rt():Mi(11);L(59);let m=Ut(!0);return D(f.createImportAttribute(p,m),s)}function cs(s,p){let m=M();p||L(s);let y=t.getTokenStart();if(L(19)){let x=t.hasPrecedingLineBreak(),N=Kt(24,vp,!0);if(!L(20)){let $=Ki(st);$&&$.code===A._0_expected.code&&Zc($,ja(Jt,Qe,y,1,A.The_parser_expected_to_find_a_1_to_match_the_0_token_here,"{","}"))}return D(f.createImportAttributes(N,x,s),m)}else{let x=Dt([],M(),void 0,!1);return D(f.createImportAttributes(x,!1,s),m)}}function xp(){return u()===42||u()===19}function Hr(){return u()===28||u()===161}function Tp(s,p,m,y,x){L(64);let N=wp();rn();let $=f.createImportEqualsDeclaration(m,x,y,N);return Ne(D($,s),p)}function Sp(s,p,m,y){let x;return(!s||Je(28))&&(y&&t.setSkipJsDocLeadingAsterisks(!0),x=u()===42?kp():Vc(275),y&&t.setSkipJsDocLeadingAsterisks(!1)),D(f.createImportClause(m,s,x),p)}function wp(){return yp()?zi():Oi(!1)}function zi(){let s=M();L(149),L(21);let p=Fi();return L(22),D(f.createExternalModuleReference(p),s)}function Fi(){if(u()===11){let s=Kn();return s.text=zr(s.text),s}else return At()}function kp(){let s=M();L(42),L(130);let p=wt();return D(f.createNamespaceImport(p),s)}function Vc(s){let p=M(),m=s===275?f.createNamedImports(kr(23,Ap,19,20)):f.createNamedExports(kr(23,Ep,19,20));return D(m,p)}function Ep(){let s=Be();return Ne(Wc(281),s)}function Ap(){return Wc(276)}function Wc(s){let p=M(),m=Ti(u())&&!ke(),y=t.getTokenStart(),x=t.getTokenEnd(),N=!1,$,_e=!0,ee=Rt();if(ee.escapedText==="type")if(u()===130){let Ue=Rt();if(u()===130){let je=Rt();bt(u())?(N=!0,$=Ue,ee=le(),_e=!1):($=ee,ee=je,_e=!1)}else bt(u())?($=ee,_e=!1,ee=le()):(N=!0,ee=Ue)}else bt(u())&&(N=!0,ee=le());_e&&u()===130&&($=ee,L(130),ee=le()),s===276&&m&&at(y,x,A.Identifier_expected);let K=s===276?f.createImportSpecifier(N,$,ee):f.createExportSpecifier(N,$,ee);return D(K,p);function le(){return m=Ti(u())&&!ke(),y=t.getTokenStart(),x=t.getTokenEnd(),Rt()}}function hi(s){return D(f.createNamespaceExport(Rt()),s)}function Cp(s,p,m){let y=Ze();ot(!0);let x,N,$,_e=Je(156),ee=M();Je(42)?(Je(130)&&(x=hi(ee)),L(161),N=Fi()):(x=Vc(279),(u()===161||u()===11&&!t.hasPrecedingLineBreak())&&(L(161),N=Fi()));let K=u();N&&(K===118||K===132)&&!t.hasPrecedingLineBreak()&&($=cs(K)),rn(),ot(y);let le=f.createExportDeclaration(m,_e,x,N,$);return Ne(D(le,s),p)}function Dp(s,p,m){let y=Ze();ot(!0);let x;Je(64)?x=!0:L(90);let N=Ut(!0);rn(),ot(y);let $=f.createExportAssignment(m,x,N);return Ne(D($,s),p)}let Gc;(s=>{s[s.SourceElements=0]="SourceElements",s[s.BlockStatements=1]="BlockStatements",s[s.SwitchClauses=2]="SwitchClauses",s[s.SwitchClauseStatements=3]="SwitchClauseStatements",s[s.TypeMembers=4]="TypeMembers",s[s.ClassMembers=5]="ClassMembers",s[s.EnumMembers=6]="EnumMembers",s[s.HeritageClauseElement=7]="HeritageClauseElement",s[s.VariableDeclarations=8]="VariableDeclarations",s[s.ObjectBindingElements=9]="ObjectBindingElements",s[s.ArrayBindingElements=10]="ArrayBindingElements",s[s.ArgumentExpressions=11]="ArgumentExpressions",s[s.ObjectLiteralMembers=12]="ObjectLiteralMembers",s[s.JsxAttributes=13]="JsxAttributes",s[s.JsxChildren=14]="JsxChildren",s[s.ArrayLiteralMembers=15]="ArrayLiteralMembers",s[s.Parameters=16]="Parameters",s[s.JSDocParameters=17]="JSDocParameters",s[s.RestProperties=18]="RestProperties",s[s.TypeParameters=19]="TypeParameters",s[s.TypeArguments=20]="TypeArguments",s[s.TupleElementTypes=21]="TupleElementTypes",s[s.HeritageClauses=22]="HeritageClauses",s[s.ImportOrExportSpecifiers=23]="ImportOrExportSpecifiers",s[s.ImportAttributes=24]="ImportAttributes",s[s.JSDocComment=25]="JSDocComment",s[s.Count=26]="Count"})(Gc||(Gc={}));let ls;(s=>{s[s.False=0]="False",s[s.True=1]="True",s[s.Unknown=2]="Unknown"})(ls||(ls={}));let us;(s=>{function p(K,le,Ue){Gn("file.js",K,99,void 0,1,0),t.setText(K,le,Ue),pt=t.scan();let je=m(),De=se("file.js",99,1,!1,[],he(1),0,Ga),Yt=Yi(st,De);return Vt&&(De.jsDocDiagnostics=Yi(Vt,De)),Yn(),je?{jsDocTypeExpression:je,diagnostics:Yt}:void 0}s.parseJSDocTypeExpressionForTests=p;function m(K){let le=M(),Ue=(K?Je:L)(19),je=Tt(16777216,Ji);(!K||Ue)&&zs(20);let De=f.createJSDocTypeExpression(je);return j(De),D(De,le)}s.parseJSDocTypeExpression=m;function y(){let K=M(),le=Je(19),Ue=M(),je=Oi(!1);for(;u()===81;)It(),qe(),je=D(f.createJSDocMemberName(je,wt()),Ue);le&&zs(20);let De=f.createJSDocNameReference(je);return j(De),D(De,K)}s.parseJSDocNameReference=y;function x(K,le,Ue){Gn("",K,99,void 0,1,0);let je=Tt(16777216,()=>ee(le,Ue)),Yt=Yi(st,{languageVariant:0,text:K});return Yn(),je?{jsDoc:je,diagnostics:Yt}:void 0}s.parseIsolatedJSDocComment=x;function N(K,le,Ue){let je=pt,De=st.length,Yt=on,un=Tt(16777216,()=>ee(le,Ue));return Uf(un,K),rt&524288&&(Vt||(Vt=[]),Pn(Vt,st,De)),pt=je,st.length=De,on=Yt,un}s.parseJSDocComment=N;let $;(K=>{K[K.BeginningOfLine=0]="BeginningOfLine",K[K.SawAsterisk=1]="SawAsterisk",K[K.SavingComments=2]="SavingComments",K[K.SavingBackticks=3]="SavingBackticks"})($||($={}));let _e;(K=>{K[K.Property=1]="Property",K[K.Parameter=2]="Parameter",K[K.CallbackParameter=4]="CallbackParameter"})(_e||(_e={}));function ee(K=0,le){let Ue=Qe,je=le===void 0?Ue.length:K+le;if(le=je-K,B.assert(K>=0),B.assert(K<=je),B.assert(je<=Ue.length),!H6(Ue,K))return;let De,Yt,un,fr,dr,Ht=[],Xr=[],Pp=vt;vt|=1<<25;let Np=t.scanRange(K+3,le-5,Ip);return vt=Pp,Np;function Ip(){let I=1,W,H=K-(Ue.lastIndexOf(` +`,K)+1)+4;function te(Re){W||(W=H),Ht.push(Re),H+=Re.length}for(qe();Gi(5););Gi(4)&&(I=0,H=0);e:for(;;){switch(u()){case 60:nt(Ht),dr||(dr=M()),T(Zn(H)),I=0,W=void 0;break;case 4:Ht.push(t.getTokenText()),I=0,H=0;break;case 42:let Re=t.getTokenText();I===1?(I=2,te(Re)):(B.assert(I===0),I=1,H+=Re.length);break;case 5:B.assert(I!==2,"whitespace shouldn't come from the scanner while saving top-level comment text");let dt=t.getTokenText();W!==void 0&&H+dt.length>W&&Ht.push(dt.slice(W-H)),H+=dt.length;break;case 1:break e;case 82:I=2,te(t.getTokenValue());break;case 19:I=2;let gn=t.getTokenFullStart(),fn=t.getTokenEnd()-1,_n=n(fn);if(_n){fr||Pe(Ht),Xr.push(D(f.createJSDocText(Ht.join("")),fr??K,gn)),Xr.push(_n),Ht=[],fr=t.getTokenEnd();break}default:I=2,te(t.getTokenText());break}I===2?cn(!1):qe()}let ne=Ht.join("").trimEnd();Xr.length&&ne.length&&Xr.push(D(f.createJSDocText(ne),fr??K,dr)),Xr.length&&De&&B.assertIsDefined(dr,"having parsed tags implies that the end of the comment span should be set");let Ie=De&&Dt(De,Yt,un);return D(f.createJSDocComment(Xr.length?Dt(Xr,K,dr):ne.length?ne:void 0,Ie),K,je)}function Pe(I){for(;I.length&&(I[0]===` +`||I[0]==="\r");)I.shift()}function nt(I){for(;I.length;){let W=I[I.length-1].trimEnd();if(W==="")I.pop();else if(W.lengthdt&&(te.push(er.slice(dt-I)),Re=2),I+=er.length;break;case 19:Re=2;let Yc=t.getTokenFullStart(),Oa=t.getTokenEnd()-1,Hc=n(Oa);Hc?(ne.push(D(f.createJSDocText(te.join("")),Ie??H,Yc)),ne.push(Hc),te=[],Ie=t.getTokenEnd()):gn(t.getTokenText());break;case 62:Re===3?Re=2:Re=3,gn(t.getTokenText());break;case 82:Re!==3&&(Re=2),gn(t.getTokenValue());break;case 42:if(Re===0){Re=1,I+=1;break}default:Re!==3&&(Re=2),gn(t.getTokenText());break}Re===2||Re===3?fn=cn(Re===3):fn=qe()}Pe(te);let _n=te.join("").trimEnd();if(ne.length)return _n.length&&ne.push(D(f.createJSDocText(_n),Ie??H)),Dt(ne,H,t.getTokenEnd());if(_n.length)return _n}function n(I){let W=de(_);if(!W)return;qe(),pn();let H=i(),te=[];for(;u()!==20&&u()!==4&&u()!==1;)te.push(t.getTokenText()),qe();let ne=W==="link"?f.createJSDocLink:W==="linkcode"?f.createJSDocLinkCode:f.createJSDocLinkPlain;return D(ne(H,te.join("")),I,t.getTokenEnd())}function i(){if(bt(u())){let I=M(),W=Rt();for(;Je(25);)W=D(f.createQualifiedName(W,u()===81?an(80,!1):Rt()),I);for(;u()===81;)It(),qe(),W=D(f.createJSDocMemberName(W,wt()),I);return W}}function _(){if(Pr(),u()===19&&qe()===60&&bt(qe())){let I=t.getTokenValue();if(c(I))return I}}function c(I){return I==="link"||I==="linkcode"||I==="linkplain"}function d(I,W,H,te){return D(f.createJSDocUnknownTag(W,Bt(I,M(),H,te)),I)}function T(I){I&&(De?De.push(I):(De=[I],Yt=I.pos),un=I.end)}function q(){return Pr(),u()===19?m():void 0}function pe(){let I=Gi(23);I&&pn();let W=Gi(62),H=my();return W&&Gl(62),I&&(pn(),mt(64)&&At(),L(24)),{name:H,isBracketed:I}}function Le(I){switch(I.kind){case 151:return!0;case 188:return Le(I.elementType);default:return Al(I)&&et(I.typeName)&&I.typeName.escapedText==="Object"&&!I.typeArguments}}function en(I,W,H,te){let ne=q(),Ie=!ne;Pr();let{name:Re,isBracketed:dt}=pe(),gn=Pr();Ie&&!Y(_)&&(ne=q());let fn=Bt(I,M(),te,gn),_n=hr(ne,Re,H,te);_n&&(ne=_n,Ie=!0);let er=H===1?f.createJSDocPropertyTag(W,Re,dt,ne,Ie,fn):f.createJSDocParameterTag(W,Re,dt,ne,Ie,fn);return D(er,I)}function hr(I,W,H,te){if(I&&Le(I.type)){let ne=M(),Ie,Re;for(;Ie=de(()=>Mp(H,te,W));)Ie.kind===341||Ie.kind===348?Re=Cn(Re,Ie):Ie.kind===345&&mn(Ie.tagName,A.A_JSDoc_template_tag_may_not_follow_a_typedef_callback_or_overload_tag);if(Re){let dt=D(f.createJSDocTypeLiteral(Re,I.type.kind===188),ne);return D(f.createJSDocTypeExpression(dt),ne)}}}function yr(I,W,H,te){qt(De,L6)&&at(W.pos,t.getTokenStart(),A._0_tag_already_specified,Ts(W.escapedText));let ne=q();return D(f.createJSDocReturnTag(W,ne,Bt(I,M(),H,te)),I)}function Vi(I,W,H,te){qt(De,rd)&&at(W.pos,t.getTokenStart(),A._0_tag_already_specified,Ts(W.escapedText));let ne=m(!0),Ie=H!==void 0&&te!==void 0?Bt(I,M(),H,te):void 0;return D(f.createJSDocTypeTag(W,ne,Ie),I)}function $0(I,W,H,te){let Ie=u()===23||Y(()=>qe()===60&&bt(qe())&&c(t.getTokenValue()))?void 0:y(),Re=H!==void 0&&te!==void 0?Bt(I,M(),H,te):void 0;return D(f.createJSDocSeeTag(W,Ie,Re),I)}function Q0(I,W,H,te){let ne=q(),Ie=Bt(I,M(),H,te);return D(f.createJSDocThrowsTag(W,ne,Ie),I)}function K0(I,W,H,te){let ne=M(),Ie=Z0(),Re=t.getTokenFullStart(),dt=Bt(I,Re,H,te);dt||(Re=t.getTokenFullStart());let gn=typeof dt!="string"?Dt(uf([D(Ie,ne,Re)],dt),ne):Ie.text+dt;return D(f.createJSDocAuthorTag(W,gn),I)}function Z0(){let I=[],W=!1,H=t.getToken();for(;H!==1&&H!==4;){if(H===30)W=!0;else{if(H===60&&!W)break;if(H===32&&W){I.push(t.getTokenText()),t.resetTokenState(t.getTokenEnd());break}}I.push(t.getTokenText()),H=qe()}return f.createJSDocText(I.join(""))}function ey(I,W,H,te){let ne=Id();return D(f.createJSDocImplementsTag(W,ne,Bt(I,M(),H,te)),I)}function ty(I,W,H,te){let ne=Id();return D(f.createJSDocAugmentsTag(W,ne,Bt(I,M(),H,te)),I)}function ny(I,W,H,te){let ne=m(!1),Ie=H!==void 0&&te!==void 0?Bt(I,M(),H,te):void 0;return D(f.createJSDocSatisfiesTag(W,ne,Ie),I)}function ry(I,W,H,te){let ne=t.getTokenFullStart(),Ie;ke()&&(Ie=wt());let Re=mi(Ie,ne,!0,!0),dt=Fi(),gn=Fc(),fn=H!==void 0&&te!==void 0?Bt(I,M(),H,te):void 0;return D(f.createJSDocImportTag(W,Re,dt,gn,fn),I)}function Id(){let I=Je(19),W=M(),H=iy();t.setSkipJsDocLeadingAsterisks(!0);let te=Ia();t.setSkipJsDocLeadingAsterisks(!1);let ne=f.createExpressionWithTypeArguments(H,te),Ie=D(ne,W);return I&&L(20),Ie}function iy(){let I=M(),W=yi();for(;Je(25);){let H=yi();W=D(ae(W,H),I)}return W}function Wi(I,W,H,te,ne){return D(W(H,Bt(I,M(),te,ne)),I)}function Od(I,W,H,te){let ne=m(!0);return pn(),D(f.createJSDocThisTag(W,ne,Bt(I,M(),H,te)),I)}function ay(I,W,H,te){let ne=m(!0);return pn(),D(f.createJSDocEnumTag(W,ne,Bt(I,M(),H,te)),I)}function _y(I,W,H,te){let ne=q();Pr();let Ie=Op();pn();let Re=R(H),dt;if(!ne||Le(ne.type)){let fn,_n,er,Yc=!1;for(;(fn=de(()=>uy(H)))&&fn.kind!==345;)if(Yc=!0,fn.kind===344)if(_n){let Oa=Ee(A.A_JSDoc_typedef_comment_may_not_contain_multiple_type_tags);Oa&&Zc(Oa,ja(Jt,Qe,0,0,A.The_tag_was_first_specified_here));break}else _n=fn;else er=Cn(er,fn);if(Yc){let Oa=ne&&ne.type.kind===188,Hc=f.createJSDocTypeLiteral(er,Oa);ne=_n&&_n.typeExpression&&!Le(_n.typeExpression.type)?_n.typeExpression:D(Hc,I),dt=ne.end}}dt=dt||Re!==void 0?M():(Ie??ne??W).end,Re||(Re=Bt(I,dt,H,te));let gn=f.createJSDocTypedefTag(W,ne,Ie,Re);return D(gn,I,dt)}function Op(I){let W=t.getTokenStart();if(!bt(u()))return;let H=yi();if(Je(25)){let te=Op(!0),ne=f.createModuleDeclaration(void 0,H,te,I?8:void 0);return D(ne,W)}return I&&(H.flags|=4096),H}function sy(I){let W=M(),H,te;for(;H=de(()=>Mp(4,I));){if(H.kind===345){mn(H.tagName,A.A_JSDoc_template_tag_may_not_follow_a_typedef_callback_or_overload_tag);break}te=Cn(te,H)}return Dt(te||[],W)}function Md(I,W){let H=sy(W),te=de(()=>{if(Gi(60)){let ne=Zn(W);if(ne&&ne.kind===342)return ne}});return D(f.createJSDocSignature(void 0,H,te),I)}function oy(I,W,H,te){let ne=Op();pn();let Ie=R(H),Re=Md(I,H);Ie||(Ie=Bt(I,M(),H,te));let dt=Ie!==void 0?M():Re.end;return D(f.createJSDocCallbackTag(W,Re,ne,Ie),I,dt)}function cy(I,W,H,te){pn();let ne=R(H),Ie=Md(I,H);ne||(ne=Bt(I,M(),H,te));let Re=ne!==void 0?M():Ie.end;return D(f.createJSDocOverloadTag(W,Ie,ne),I,Re)}function ly(I,W){for(;!et(I)||!et(W);)if(!et(I)&&!et(W)&&I.right.escapedText===W.right.escapedText)I=I.left,W=W.left;else return!1;return I.escapedText===W.escapedText}function uy(I){return Mp(1,I)}function Mp(I,W,H){let te=!0,ne=!1;for(;;)switch(qe()){case 60:if(te){let Ie=py(I,W);return Ie&&(Ie.kind===341||Ie.kind===348)&&H&&(et(Ie.name)||!ly(H,Ie.name.left))?!1:Ie}ne=!1;break;case 4:te=!0,ne=!1;break;case 42:ne&&(te=!1),ne=!0;break;case 80:te=!1;break;case 1:return!1}}function py(I,W){B.assert(u()===60);let H=t.getTokenFullStart();qe();let te=yi(),ne=Pr(),Ie;switch(te.escapedText){case"type":return I===1&&Vi(H,te);case"prop":case"property":Ie=1;break;case"arg":case"argument":case"param":Ie=6;break;case"template":return Jd(H,te,W,ne);case"this":return Od(H,te,W,ne);default:return!1}return I&Ie?en(H,te,I,W):!1}function fy(){let I=M(),W=Gi(23);W&&pn();let H=Un(!1,!0),te=yi(A.Unexpected_token_A_type_parameter_name_was_expected_without_curly_braces),ne;if(W&&(pn(),L(64),ne=Tt(16777216,Ji),L(24)),!ea(te))return D(f.createTypeParameterDeclaration(H,te,void 0,ne),I)}function dy(){let I=M(),W=[];do{pn();let H=fy();H!==void 0&&W.push(H),Pr()}while(Gi(28));return Dt(W,I)}function Jd(I,W,H,te){let ne=u()===19?m():void 0,Ie=dy();return D(f.createJSDocTemplateTag(W,ne,Ie,Bt(I,M(),H,te)),I)}function Gi(I){return u()===I?(qe(),!0):!1}function my(){let I=yi();for(Je(23)&&L(24);Je(25);){let W=yi();Je(23)&&L(24),I=d_(I,W)}return I}function yi(I){if(!bt(u()))return an(80,!I,I||A.Identifier_expected);Sn++;let W=t.getTokenStart(),H=t.getTokenEnd(),te=u(),ne=zr(t.getTokenValue()),Ie=D(re(ne,te),W,H);return qe(),Ie}}})(us=e.JSDocParser||(e.JSDocParser={}))})(na||(na={}));var Rm=new WeakSet;function iv(e){Rm.has(e)&&B.fail("Source file has already been incrementally parsed"),Rm.add(e)}var Ah=new WeakSet;function av(e){return Ah.has(e)}function cf(e){Ah.add(e)}var gl;(e=>{function t(w,J,re,be){if(be=be||B.shouldAssert(2),f(w,J,re,be),Rg(re))return w;if(w.statements.length===0)return na.parseSourceFile(w.fileName,J,w.languageVersion,void 0,!0,w.scriptKind,w.setExternalModuleIndicator,w.jsDocParsingMode);iv(w),na.fixupParentReferences(w);let he=w.text,me=k(w),O=l(w,re);f(w,J,O,be),B.assert(O.span.start<=re.span.start),B.assert(Nr(O.span)===Nr(re.span)),B.assert(Nr(ps(O))===Nr(ps(re)));let ae=ps(O).length-O.span.length;C(w,O.span.start,Nr(O.span),Nr(ps(O)),ae,he,J,be);let ve=na.parseSourceFile(w.fileName,J,w.languageVersion,me,!0,w.scriptKind,w.setExternalModuleIndicator,w.jsDocParsingMode);return ve.commentDirectives=a(w.commentDirectives,ve.commentDirectives,O.span.start,Nr(O.span),ae,he,J,be),ve.impliedNodeFormat=w.impliedNodeFormat,ve}e.updateSourceFile=t;function a(w,J,re,be,he,me,O,ae){if(!w)return J;let ve,X=!1;for(let G of w){let{range:ht,type:ir}=G;if(ht.endbe){oe();let xn={range:{pos:ht.pos+he,end:ht.end+he},type:ir};ve=Cn(ve,xn),ae&&B.assert(me.substring(ht.pos,ht.end)===O.substring(xn.range.pos,xn.range.end))}}return oe(),ve;function oe(){X||(X=!0,ve?J&&ve.push(...J):ve=J)}}function o(w,J,re,be,he,me){J?ae(w):O(w);return;function O(ve){let X="";if(me&&h(ve)&&(X=be.substring(ve.pos,ve.end)),dm(ve),ta(ve,ve.pos+re,ve.end+re),me&&h(ve)&&B.assert(X===he.substring(ve.pos,ve.end)),tn(ve,O,ae),Zi(ve))for(let oe of ve.jsDoc)O(oe);E(ve,me)}function ae(ve){ta(ve,ve.pos+re,ve.end+re);for(let X of ve)O(X)}}function h(w){switch(w.kind){case 11:case 9:case 80:return!0}return!1}function g(w,J,re,be,he){B.assert(w.end>=J,"Adjusting an element that was entirely before the change range"),B.assert(w.pos<=re,"Adjusting an element that was entirely after the change range"),B.assert(w.pos<=w.end);let me=Math.min(w.pos,be),O=w.end>=re?w.end+he:Math.min(w.end,be);if(B.assert(me<=O),w.parent){let ae=w.parent;B.assertGreaterThanOrEqual(me,ae.pos),B.assertLessThanOrEqual(O,ae.end)}ta(w,me,O)}function E(w,J){if(J){let re=w.pos,be=he=>{B.assert(he.pos>=re),re=he.end};if(Zi(w))for(let he of w.jsDoc)be(he);tn(w,be),B.assert(re<=w.end)}}function C(w,J,re,be,he,me,O,ae){ve(w);return;function ve(oe){if(B.assert(oe.pos<=oe.end),oe.pos>re){o(oe,!1,he,me,O,ae);return}let G=oe.end;if(G>=J){if(cf(oe),dm(oe),g(oe,J,re,be,he),tn(oe,ve,X),Zi(oe))for(let ht of oe.jsDoc)ve(ht);E(oe,ae);return}B.assert(Gre){o(oe,!0,he,me,O,ae);return}let G=oe.end;if(G>=J){cf(oe),g(oe,J,re,be,he);for(let ht of oe)ve(ht);return}B.assert(G0&&O<=1;O++){let ae=Z(w,be);B.assert(ae.pos<=be);let ve=ae.pos;be=Math.max(0,ve-1)}let he=Lg(be,Nr(J.span)),me=J.newLength+(J.span.start-be);return f1(he,me)}function Z(w,J){let re=w,be;if(tn(w,me),be){let O=he(be);O.pos>re.pos&&(re=O)}return re;function he(O){for(;;){let ae=Sb(O);if(ae)O=ae;else return O}}function me(O){if(!ea(O))if(O.pos<=J){if(O.pos>=re.pos&&(re=O),JJ),!0}}function f(w,J,re,be){let he=w.text;if(re&&(B.assert(he.length-re.span.length+re.newLength===J.length),be||B.shouldAssert(3))){let me=he.substr(0,re.span.start),O=J.substr(0,re.span.start);B.assert(me===O);let ae=he.substring(Nr(re.span),he.length),ve=J.substring(Nr(ps(re)),J.length);B.assert(ae===ve)}}function k(w){let J=w.statements,re=0;B.assert(re=X.pos&&O=X.pos&&O{w[w.Value=-1]="Value"})(v||(v={}))})(gl||(gl={}));function _v(e){return sv(e)!==void 0}function sv(e){let t=Zm(e,Vb,!1);if(t)return t;if(ig(e,".ts")){let a=Km(e).lastIndexOf(".d.");if(a>=0)return e.substring(a)}}function ov(e,t,a,o){if(e){if(e==="import")return 99;if(e==="require")return 1;o(t,a-t,A.resolution_mode_should_be_either_require_or_import)}}function cv(e,t){let a=[];for(let o of Zp(t,0)||Ot){let h=t.substring(o.pos,o.end);dv(a,o,h)}e.pragmas=new Map;for(let o of a){if(e.pragmas.has(o.name)){let h=e.pragmas.get(o.name);h instanceof Array?h.push(o.args):e.pragmas.set(o.name,[h,o.args]);continue}e.pragmas.set(o.name,o.args)}}function lv(e,t){e.checkJsDirective=void 0,e.referencedFiles=[],e.typeReferenceDirectives=[],e.libReferenceDirectives=[],e.amdDependencies=[],e.hasNoDefaultLib=!1,e.pragmas.forEach((a,o)=>{switch(o){case"reference":{let h=e.referencedFiles,g=e.typeReferenceDirectives,E=e.libReferenceDirectives;zn(jp(a),C=>{let{types:l,lib:Z,path:f,["resolution-mode"]:k,preserve:v}=C.arguments,w=v==="true"?!0:void 0;if(C.arguments["no-default-lib"]==="true")e.hasNoDefaultLib=!0;else if(l){let J=ov(k,l.pos,l.end,t);g.push({pos:l.pos,end:l.end,fileName:l.value,...J?{resolutionMode:J}:{},...w?{preserve:w}:{}})}else Z?E.push({pos:Z.pos,end:Z.end,fileName:Z.value,...w?{preserve:w}:{}}):f?h.push({pos:f.pos,end:f.end,fileName:f.value,...w?{preserve:w}:{}}):t(C.range.pos,C.range.end-C.range.pos,A.Invalid_reference_directive_syntax)});break}case"amd-dependency":{e.amdDependencies=Yp(jp(a),h=>({name:h.arguments.name,path:h.arguments.path}));break}case"amd-module":{if(a instanceof Array)for(let h of a)e.moduleName&&t(h.range.pos,h.range.end-h.range.pos,A.An_AMD_module_cannot_have_multiple_name_assignments),e.moduleName=h.arguments.name;else e.moduleName=a.arguments.name;break}case"ts-nocheck":case"ts-check":{zn(jp(a),h=>{(!e.checkJsDirective||h.range.pos>e.checkJsDirective.pos)&&(e.checkJsDirective={enabled:o==="ts-check",end:h.range.end,pos:h.range.pos})});break}case"jsx":case"jsxfrag":case"jsximportsource":case"jsxruntime":return;default:B.fail("Unhandled pragma kind")}})}var Gp=new Map;function uv(e){if(Gp.has(e))return Gp.get(e);let t=new RegExp(`(\\s${e}\\s*=\\s*)(?:(?:'([^']*)')|(?:"([^"]*)"))`,"im");return Gp.set(e,t),t}var pv=/^\/\/\/\s*<(\S+)\s.*?\/>/im,fv=/^\/\/\/?\s*@([^\s:]+)(.*)\s*$/im;function dv(e,t,a){let o=t.kind===2&&pv.exec(a);if(o){let g=o[1].toLowerCase(),E=Qm[g];if(!E||!(E.kind&1))return;if(E.args){let C={};for(let l of E.args){let f=uv(l.name).exec(a);if(!f&&!l.optional)return;if(f){let k=f[2]||f[3];if(l.captureSpan){let v=t.pos+f.index+f[1].length+1;C[l.name]={value:k,pos:v,end:v+k.length}}else C[l.name]=k}}e.push({name:g,args:{arguments:C,range:t}})}else e.push({name:g,args:{arguments:{},range:t}});return}let h=t.kind===2&&fv.exec(a);if(h)return Um(e,t,2,h);if(t.kind===3){let g=/@(\S+)(\s+.*)?$/gim,E;for(;E=g.exec(a);)Um(e,t,4,E)}}function Um(e,t,a,o){if(!o)return;let h=o[1].toLowerCase(),g=Qm[h];if(!g||!(g.kind&a))return;let E=o[2],C=mv(g,E);C!=="fail"&&e.push({name:h,args:{arguments:C,range:t}})}function mv(e,t){if(!t)return{};if(!e.args)return{};let a=t.trim().split(/\s+/),o={};for(let h=0;ho.kind<309||o.kind>351);return a.kind<166?a:a.getFirstToken(e)}getLastToken(e){this.assertHasRealPosition();let t=this.getChildren(e),a=Ki(t);if(a)return a.kind<166?a:a.getLastToken(e)}forEachChild(e,t){return tn(this,e,t)}};function hv(e,t){let a=[];if(k2(e))return e.forEachChild(E=>{a.push(E)}),a;vs.setText((t||e.getSourceFile()).text);let o=e.pos,h=E=>{xs(a,o,E.pos,e),a.push(E),o=E.end},g=E=>{xs(a,o,E.pos,e),a.push(yv(E,e)),o=E.end};return zn(e.jsDoc,h),o=e.pos,e.forEachChild(h,g),xs(a,o,e.end,e),vs.setText(void 0),a}function xs(e,t,a,o){for(vs.resetTokenState(t);tt.tagName.text==="inheritDoc"||t.tagName.text==="inheritdoc")}function ol(e,t){if(!e)return Ot;let a=ts_JsDoc_exports.getJsDocTagsFromDeclarations(e,t);if(t&&(a.length===0||e.some(Ih))){let o=new Set;for(let h of e){let g=Oh(t,h,E=>{var C;if(!o.has(E))return o.add(E),h.kind===177||h.kind===178?E.getContextualJsDocTags(h,t):((C=E.declarations)==null?void 0:C.length)===1?E.getJsDocTags(t):void 0});g&&(a=[...g,...a])}}return a}function bs(e,t){if(!e)return Ot;let a=ts_JsDoc_exports.getJsDocCommentsFromDeclarations(e,t);if(t&&(a.length===0||e.some(Ih))){let o=new Set;for(let h of e){let g=Oh(t,h,E=>{if(!o.has(E))return o.add(E),h.kind===177||h.kind===178?E.getContextualDocumentationComment(h,t):E.getDocumentationComment(t)});g&&(a=a.length===0?g.slice():g.concat(lineBreakPart(),a))}}return a}function Oh(e,t,a){var o;let h=((o=t.parent)==null?void 0:o.kind)===176?t.parent.parent:t.parent;if(!h)return;let g=pb(t);return ky(rb(h),E=>{let C=e.getTypeAtLocation(E),l=g&&C.symbol?e.getTypeOfSymbol(C.symbol):C,Z=e.getPropertyOfType(l,t.symbol.name);return Z?a(Z):void 0})}var xv=class extends od{constructor(e,t,a){super(e,t,a)}update(e,t){return rv(this,e,t)}getLineAndCharacterOfPosition(e){return _1(this,e)}getLineStarts(){return Kp(this)}getPositionOfLineAndCharacter(e,t,a){return Ag(Kp(this),e,t,this.text,a)}getLineEndOfPosition(e){let{line:t}=this.getLineAndCharacterOfPosition(e),a=this.getLineStarts(),o;t+1>=a.length&&(o=this.getEnd()),o||(o=a[t+1]-1);let h=this.getFullText();return h[o]===` +`&&h[o-1]==="\r"?o-1:o}getNamedDeclarations(){return this.namedDeclarations||(this.namedDeclarations=this.computeNamedDeclarations()),this.namedDeclarations}computeNamedDeclarations(){let e=zy();return this.forEachChild(h),e;function t(g){let E=o(g);E&&e.add(E,g)}function a(g){let E=e.get(g);return E||e.set(g,E=[]),E}function o(g){let E=Af(g);return E&&(kl(E)&&br(E.expression)?E.expression.name.text:T1(E)?getNameFromPropertyName(E):void 0)}function h(g){switch(g.kind){case 262:case 218:case 174:case 173:let E=g,C=o(E);if(C){let f=a(C),k=Ki(f);k&&E.parent===k.parent&&E.symbol===k.symbol?E.body&&!k.body&&(f[f.length-1]=E):f.push(E)}tn(g,h);break;case 263:case 231:case 264:case 265:case 266:case 267:case 271:case 281:case 276:case 273:case 274:case 177:case 178:case 187:t(g),tn(g,h);break;case 169:if(!Os(g,31))break;case 260:case 208:{let f=g;if(m2(f.name)){tn(f.name,h);break}f.initializer&&h(f.initializer)}case 306:case 172:case 171:t(g);break;case 278:let l=g;l.exportClause&&(fh(l.exportClause)?zn(l.exportClause.elements,h):h(l.exportClause.name));break;case 272:let Z=g.importClause;Z&&(Z.name&&t(Z.name),Z.namedBindings&&(Z.namedBindings.kind===274?t(Z.namedBindings):zn(Z.namedBindings.elements,h)));break;case 226:Of(g)!==0&&t(g);default:tn(g,h)}}}},Tv=class{constructor(e,t,a){this.fileName=e,this.text=t,this.skipTrivia=a||(o=>o)}getLineAndCharacterOfPosition(e){return _1(this,e)}};function Sv(){return{getNodeConstructor:()=>od,getTokenConstructor:()=>Dh,getIdentifierConstructor:()=>Ph,getPrivateIdentifierConstructor:()=>Nh,getSourceFileConstructor:()=>xv,getSymbolConstructor:()=>gv,getTypeConstructor:()=>bv,getSignatureConstructor:()=>vv,getSourceMapSourceConstructor:()=>Tv}}var wv=["getSemanticDiagnostics","getSuggestionDiagnostics","getCompilerOptionsDiagnostics","getSemanticClassifications","getEncodedSemanticClassifications","getCodeFixesAtPosition","getCombinedCodeFix","applyCodeActionCommand","organizeImports","getEditsForFileRename","getEmitOutput","getApplicableRefactors","getEditsForRefactor","prepareCallHierarchy","provideCallHierarchyIncomingCalls","provideCallHierarchyOutgoingCalls","provideInlayHints","getSupportedCodeFixes","getPasteEdits"],lx=[...wv,"getCompletionsAtPosition","getCompletionEntryDetails","getCompletionEntrySymbol","getSignatureHelpItems","getQuickInfoAtPosition","getDefinitionAtPosition","getDefinitionAndBoundSpan","getImplementationAtPosition","getTypeDefinitionAtPosition","getReferencesAtPosition","findReferences","getDocumentHighlights","getNavigateToItems","getRenameInfo","findRenameLocations","getApplicableRefactors"];Ib(Sv());var jl=new Proxy({},{get:()=>!0});var Jh=jl["4.8"];function rr(e,t=!1){var a;if(e!=null){if(Jh){if(t||Ml(e)){let o=h1(e);return o?Array.from(o):void 0}return}return(a=e.modifiers)==null?void 0:a.filter(o=>!El(o))}}function sa(e,t=!1){var a;if(e!=null){if(Jh){if(t||Jl(e)){let o=Tl(e);return o?Array.from(o):void 0}return}return(a=e.decorators)==null?void 0:a.filter(El)}}var Lh={};var Ll=new Proxy({},{get:(e,t)=>t});var Rh=Ll,Uh=Ll;var P=Rh,Ft=Uh;var Bh=jl["5.0"],ue=ce,Av=new Set([ue.BarBarToken,ue.AmpersandAmpersandToken,ue.QuestionQuestionToken]),Cv=new Set([ce.EqualsToken,ce.PlusEqualsToken,ce.MinusEqualsToken,ce.AsteriskEqualsToken,ce.AsteriskAsteriskEqualsToken,ce.SlashEqualsToken,ce.PercentEqualsToken,ce.LessThanLessThanEqualsToken,ce.GreaterThanGreaterThanEqualsToken,ce.GreaterThanGreaterThanGreaterThanEqualsToken,ce.AmpersandEqualsToken,ce.BarEqualsToken,ce.BarBarEqualsToken,ce.AmpersandAmpersandEqualsToken,ce.QuestionQuestionEqualsToken,ce.CaretEqualsToken]),Dv=new Set([ue.InstanceOfKeyword,ue.InKeyword,ue.AsteriskAsteriskToken,ue.AsteriskToken,ue.SlashToken,ue.PercentToken,ue.PlusToken,ue.MinusToken,ue.AmpersandToken,ue.BarToken,ue.CaretToken,ue.LessThanLessThanToken,ue.GreaterThanGreaterThanToken,ue.GreaterThanGreaterThanGreaterThanToken,ue.AmpersandAmpersandToken,ue.BarBarToken,ue.LessThanToken,ue.LessThanEqualsToken,ue.GreaterThanToken,ue.GreaterThanEqualsToken,ue.EqualsEqualsToken,ue.EqualsEqualsEqualsToken,ue.ExclamationEqualsEqualsToken,ue.ExclamationEqualsToken]);function Pv(e){return Cv.has(e.kind)}function Nv(e){return Av.has(e.kind)}function Iv(e){return Dv.has(e.kind)}function ti(e){return _t(e)}function qh(e){return e.kind!==ue.SemicolonClassElement}function We(e,t){let a=rr(t);return(a==null?void 0:a.some(o=>o.kind===e))===!0}function zh(e){let t=rr(e);return t==null?null:t[t.length-1]??null}function Fh(e){return e.kind===ue.CommaToken}function Ov(e){return e.kind===ue.SingleLineCommentTrivia||e.kind===ue.MultiLineCommentTrivia}function Mv(e){return e.kind===ue.JSDocComment}function Vh(e){if(Pv(e))return{type:P.AssignmentExpression,operator:ti(e.kind)};if(Nv(e))return{type:P.LogicalExpression,operator:ti(e.kind)};if(Iv(e))return{type:P.BinaryExpression,operator:ti(e.kind)};throw new Error(`Unexpected binary operator ${_t(e.kind)}`)}function Js(e,t){let a=t.getLineAndCharacterOfPosition(e);return{line:a.line+1,column:a.character}}function ni(e,t){let[a,o]=e.map(h=>Js(h,t));return{start:a,end:o}}function Wh(e){if(e.kind===ce.Block)switch(e.parent.kind){case ce.Constructor:case ce.GetAccessor:case ce.SetAccessor:case ce.ArrowFunction:case ce.FunctionExpression:case ce.FunctionDeclaration:case ce.MethodDeclaration:return!0;default:return!1}return!0}function Za(e,t){return[e.getStart(t),e.getEnd()]}function Jv(e){return e.kind>=ue.FirstToken&&e.kind<=ue.LastToken}function Gh(e){return e.kind>=ue.JsxElement&&e.kind<=ue.JsxAttribute}function Rl(e){return e.flags&Xt.Let?"let":(e.flags&Xt.AwaitUsing)===Xt.AwaitUsing?"await using":e.flags&Xt.Const?"const":e.flags&Xt.Using?"using":"var"}function Ci(e){let t=rr(e);if(t!=null)for(let a of t)switch(a.kind){case ue.PublicKeyword:return"public";case ue.ProtectedKeyword:return"protected";case ue.PrivateKeyword:return"private";default:break}}function oa(e,t,a){return o(t);function o(h){return v1(h)&&h.pos===e.end?h:qv(h.getChildren(a),g=>(g.pos<=e.pos&&g.end>e.end||g.pos===e.end)&&Bv(g,a)?o(g):void 0)}}function jv(e,t){let a=e;for(;a;){if(t(a))return a;a=a.parent}}function Lv(e){return!!jv(e,Gh)}function fd(e){return e.replace(/&(?:#\d+|#x[\da-fA-F]+|[0-9a-zA-Z]+);/g,t=>{let a=t.slice(1,-1);if(a[0]==="#"){let o=a[1]==="x"?parseInt(a.slice(2),16):parseInt(a.slice(1),10);return o>1114111?t:String.fromCodePoint(o)}return Lh[a]||t})}function ca(e){return e.kind===ue.ComputedPropertyName}function dd(e){return!!e.questionToken}function md(e){return e.type===P.ChainExpression}function Yh(e,t){return md(t)&&e.expression.kind!==ce.ParenthesizedExpression}function Rv(e){let t;if(Bh&&e.kind===ue.Identifier?t=Ns(e):"originalKeywordKind"in e&&(t=e.originalKeywordKind),t)return t===ue.NullKeyword?Ft.Null:t>=ue.FirstFutureReservedWord&&t<=ue.LastKeyword?Ft.Identifier:Ft.Keyword;if(e.kind>=ue.FirstKeyword&&e.kind<=ue.LastFutureReservedWord)return e.kind===ue.FalseKeyword||e.kind===ue.TrueKeyword?Ft.Boolean:Ft.Keyword;if(e.kind>=ue.FirstPunctuation&&e.kind<=ue.LastPunctuation)return Ft.Punctuator;if(e.kind>=ue.NoSubstitutionTemplateLiteral&&e.kind<=ue.TemplateTail)return Ft.Template;switch(e.kind){case ue.NumericLiteral:return Ft.Numeric;case ue.JsxText:return Ft.JSXText;case ue.StringLiteral:return e.parent.kind===ue.JsxAttribute||e.parent.kind===ue.JsxElement?Ft.JSXText:Ft.String;case ue.RegularExpressionLiteral:return Ft.RegularExpression;case ue.Identifier:case ue.ConstructorKeyword:case ue.GetKeyword:case ue.SetKeyword:default:}if(e.kind===ue.Identifier){if(Gh(e.parent))return Ft.JSXIdentifier;if(e.parent.kind===ue.PropertyAccessExpression&&Lv(e))return Ft.JSXIdentifier}return Ft.Identifier}function Uv(e,t){let a=e.kind===ue.JsxText?e.getFullStart():e.getStart(t),o=e.getEnd(),h=t.text.slice(a,o),g=Rv(e),E=[a,o],C=ni(E,t);return g===Ft.RegularExpression?{type:g,value:h,range:E,loc:C,regex:{pattern:h.slice(1,h.lastIndexOf("/")),flags:h.slice(h.lastIndexOf("/")+1)}}:{type:g,value:h,range:E,loc:C}}function Hh(e){let t=[];function a(o){Ov(o)||Mv(o)||(Jv(o)&&o.kind!==ue.EndOfFileToken?t.push(Uv(o,e)):o.getChildren(e).forEach(a))}return a(e),t}var pd=class extends Error{fileName;location;constructor(t,a,o){super(t),this.fileName=a,this.location=o,Object.defineProperty(this,"name",{value:new.target.name,enumerable:!1,configurable:!0})}get index(){return this.location.start.offset}get lineNumber(){return this.location.start.line}get column(){return this.location.start.column}};function hd(e,t,a,o=a){let[h,g]=[a,o].map(E=>{let{line:C,character:l}=t.getLineAndCharacterOfPosition(E);return{line:C+1,column:l,offset:E}});return new pd(e,t.fileName,{start:h,end:g})}function Xh(e){var t;return!!("illegalDecorators"in e&&((t=e.illegalDecorators)!=null&&t.length))}function Bv(e,t){return e.kind===ue.EndOfFileToken?!!e.jsDoc:e.getWidth(t)!==0}function qv(e,t){if(e!==void 0)for(let a=0;a=0&&e.kind!==ue.EndOfFileToken}function yd(e){return!Fv(e)}function Kh(e){return Ef(e.parent,Nf)}function Vv(e){return We(ue.AbstractKeyword,e)}function Wv(e){if(e.parameters.length&&!Ol(e)){let t=e.parameters[0];if(Gv(t))return t}return null}function Gv(e){return $h(e.name)}function Zh(e){switch(e.kind){case ue.ClassDeclaration:return!0;case ue.ClassExpression:return!0;case ue.PropertyDeclaration:{let{parent:t}=e;return!!(Xa(t)||Ei(t)&&!Vv(e))}case ue.GetAccessor:case ue.SetAccessor:case ue.MethodDeclaration:{let{parent:t}=e;return!!e.body&&(Xa(t)||Ei(t))}case ue.Parameter:{let{parent:t}=e,a=t.parent;return!!t&&"body"in t&&!!t.body&&(t.kind===ue.Constructor||t.kind===ue.MethodDeclaration||t.kind===ue.SetAccessor)&&Wv(t)!==e&&!!a&&a.kind===ue.ClassDeclaration}}return!1}function gd(e){switch(e.kind){case ue.Identifier:return!0;case ue.PropertyAccessExpression:case ue.ElementAccessExpression:return!(e.flags&Xt.OptionalChain);case ue.ParenthesizedExpression:case ue.TypeAssertionExpression:case ue.AsExpression:case ue.SatisfiesExpression:case ue.NonNullExpression:return gd(e.expression);default:return!1}}function e0(e){let t=rr(e),a=e;for(;(!t||t.length===0)&&ei(a.parent);){let o=rr(a.parent);o!=null&&o.length&&(t=o),a=a.parent}return t}var b=ce;function xd(e){return hd("message"in e&&e.message||e.messageText,e.file,e.start)}var ge,t0,$t,js,vd,Ge,n0,Ul=class{constructor(t,a){Rd(this,ge);Ma(this,"ast");Ma(this,"options");Ma(this,"esTreeNodeToTSNodeMap",new WeakMap);Ma(this,"tsNodeToESTreeNodeMap",new WeakMap);Ma(this,"allowPattern",!1);this.ast=t,this.options={...a}}getASTMaps(){return{esTreeNodeToTSNodeMap:this.esTreeNodeToTSNodeMap,tsNodeToESTreeNodeMap:this.tsNodeToESTreeNodeMap}}convertProgram(){return this.converter(this.ast)}converter(t,a,o){if(!t)return null;we(this,ge,t0).call(this,t);let h=this.allowPattern;o!==void 0&&(this.allowPattern=o);let g=this.convertNode(t,a??t.parent);return this.registerTSNodeInNodeMap(t,g),this.allowPattern=h,g}fixExports(t,a){let h=ei(t)&&!!(t.flags&Xt.Namespace)?e0(t):rr(t);if((h==null?void 0:h[0].kind)===b.ExportKeyword){this.registerTSNodeInNodeMap(t,a);let g=h[0],E=h[1],C=(E==null?void 0:E.kind)===b.DefaultKeyword,l=C?oa(E,this.ast,this.ast):oa(g,this.ast,this.ast);if(a.range[0]=l.getStart(this.ast),a.loc=ni(a.range,this.ast),C)return this.createNode(t,{type:P.ExportDefaultDeclaration,declaration:a,range:[g.getStart(this.ast),a.range[1]],exportKind:"value"});let Z=a.type===P.TSInterfaceDeclaration||a.type===P.TSTypeAliasDeclaration,f="declare"in a&&a.declare;return this.createNode(t,we(this,ge,js).call(this,{type:P.ExportNamedDeclaration,declaration:a,specifiers:[],source:null,exportKind:Z||f?"type":"value",range:[g.getStart(this.ast),a.range[1]],attributes:[]},"assertions","attributes",!0))}return a}registerTSNodeInNodeMap(t,a){a&&this.options.shouldPreserveNodeMaps&&(this.tsNodeToESTreeNodeMap.has(t)||this.tsNodeToESTreeNodeMap.set(t,a))}convertPattern(t,a){return this.converter(t,a,!0)}convertChild(t,a){return this.converter(t,a,!1)}createNode(t,a){let o=a;return o.range??(o.range=Za(t,this.ast)),o.loc??(o.loc=ni(o.range,this.ast)),o&&this.options.shouldPreserveNodeMaps&&this.esTreeNodeToTSNodeMap.set(o,t),o}convertBindingNameWithTypeAnnotation(t,a,o){let h=this.convertPattern(t);return a&&(h.typeAnnotation=this.convertTypeAnnotation(a,o),this.fixParentLocation(h,h.typeAnnotation.range)),h}convertTypeAnnotation(t,a){let o=(a==null?void 0:a.kind)===b.FunctionType||(a==null?void 0:a.kind)===b.ConstructorType?2:1,g=[t.getFullStart()-o,t.end],E=ni(g,this.ast);return{type:P.TSTypeAnnotation,loc:E,range:g,typeAnnotation:this.convertChild(t)}}convertBodyExpressions(t,a){let o=Wh(a);return t.map(h=>{let g=this.convertChild(h);if(o){if(g!=null&&g.expression&&Pl(h)&&Qa(h.expression)){let E=g.expression.raw;return g.directive=E.slice(1,-1),g}o=!1}return g}).filter(h=>h)}convertTypeArgumentsToTypeParameterInstantiation(t,a){let o=oa(t,this.ast,this.ast);return this.createNode(a,{type:P.TSTypeParameterInstantiation,range:[t.pos-1,o.end],params:t.map(h=>this.convertChild(h))})}convertTSTypeParametersToTypeParametersDeclaration(t){let a=oa(t,this.ast,this.ast),o=[t.pos-1,a.end];return{type:P.TSTypeParameterDeclaration,range:o,loc:ni(o,this.ast),params:t.map(h=>this.convertChild(h))}}convertParameters(t){return t!=null&&t.length?t.map(a=>{var h;let o=this.convertChild(a);return o.decorators=((h=sa(a))==null?void 0:h.map(g=>this.convertChild(g)))??[],o}):[]}convertChainExpression(t,a){let{child:o,isOptional:h}=t.type===P.MemberExpression?{child:t.object,isOptional:t.optional}:t.type===P.CallExpression?{child:t.callee,isOptional:t.optional}:{child:t.expression,isOptional:!1},g=Yh(a,o);if(!g&&!h)return t;if(g&&md(o)){let E=o.expression;t.type===P.MemberExpression?t.object=E:t.type===P.CallExpression?t.callee=E:t.expression=E}return this.createNode(a,{type:P.ChainExpression,expression:t})}deeplyCopy(t){t.kind===ce.JSDocFunctionType&&we(this,ge,Ge).call(this,t,"JSDoc types can only be used inside documentation comments.");let a=`TS${b[t.kind]}`;if(this.options.errorOnUnknownASTType&&!P[a])throw new Error(`Unknown AST_NODE_TYPE: "${a}"`);let o=this.createNode(t,{type:a});"type"in t&&(o.typeAnnotation=t.type&&"kind"in t.type&&S1(t.type)?this.convertTypeAnnotation(t.type,t):null),"typeArguments"in t&&(o.typeArguments=t.typeArguments&&"pos"in t.typeArguments?this.convertTypeArgumentsToTypeParameterInstantiation(t.typeArguments,t):null),"typeParameters"in t&&(o.typeParameters=t.typeParameters&&"pos"in t.typeParameters?this.convertTSTypeParametersToTypeParametersDeclaration(t.typeParameters):null);let h=sa(t);h!=null&&h.length&&(o.decorators=h.map(E=>this.convertChild(E)));let g=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(t).filter(([E])=>!g.has(E)).forEach(([E,C])=>{Array.isArray(C)?o[E]=C.map(l=>this.convertChild(l)):C&&typeof C=="object"&&C.kind?o[E]=this.convertChild(C):o[E]=C}),o}convertJSXIdentifier(t){let a=this.createNode(t,{type:P.JSXIdentifier,name:t.getText()});return this.registerTSNodeInNodeMap(t,a),a}convertJSXNamespaceOrIdentifier(t){if(t.kind===ce.JsxNamespacedName){let h=this.createNode(t,{type:P.JSXNamespacedName,namespace:this.createNode(t.namespace,{type:P.JSXIdentifier,name:t.namespace.text}),name:this.createNode(t.name,{type:P.JSXIdentifier,name:t.name.text})});return this.registerTSNodeInNodeMap(t,h),h}let a=t.getText(),o=a.indexOf(":");if(o>0){let h=Za(t,this.ast),g=this.createNode(t,{type:P.JSXNamespacedName,namespace:this.createNode(t,{type:P.JSXIdentifier,name:a.slice(0,o),range:[h[0],h[0]+o]}),name:this.createNode(t,{type:P.JSXIdentifier,name:a.slice(o+1),range:[h[0]+o+1,h[1]]}),range:h});return this.registerTSNodeInNodeMap(t,g),g}return this.convertJSXIdentifier(t)}convertJSXTagName(t,a){let o;switch(t.kind){case b.PropertyAccessExpression:t.name.kind===b.PrivateIdentifier&&we(this,ge,Ge).call(this,t.name,"Non-private identifier expected."),o=this.createNode(t,{type:P.JSXMemberExpression,object:this.convertJSXTagName(t.expression,a),property:this.convertJSXIdentifier(t.name)});break;case b.ThisKeyword:case b.Identifier:default:return this.convertJSXNamespaceOrIdentifier(t)}return this.registerTSNodeInNodeMap(t,o),o}convertMethodSignature(t){return this.createNode(t,{type:P.TSMethodSignature,accessibility:Ci(t),computed:ca(t.name),key:this.convertChild(t.name),kind:(()=>{switch(t.kind){case b.GetAccessor:return"get";case b.SetAccessor:return"set";case b.MethodSignature:return"method"}})(),optional:dd(t),params:this.convertParameters(t.parameters),returnType:t.type&&this.convertTypeAnnotation(t.type,t),readonly:We(b.ReadonlyKeyword,t),static:We(b.StaticKeyword,t),typeParameters:t.typeParameters&&this.convertTSTypeParametersToTypeParametersDeclaration(t.typeParameters)})}convertImportAttributes(t){return t===void 0?[]:t.elements.map(a=>this.convertChild(a))}fixParentLocation(t,a){a[0]t.range[1]&&(t.range[1]=a[1],t.loc.end=Js(t.range[1],this.ast))}assertModuleSpecifier(t,a){var o;!a&&t.moduleSpecifier==null&&we(this,ge,$t).call(this,t,"Module specifier must be a string literal."),t.moduleSpecifier&&((o=t.moduleSpecifier)==null?void 0:o.kind)!==b.StringLiteral&&we(this,ge,$t).call(this,t.moduleSpecifier,"Module specifier must be a string literal.")}convertNode(t,a){var o,h,g,E,C,l,Z;switch(t.kind){case b.SourceFile:return this.createNode(t,{type:P.Program,body:this.convertBodyExpressions(t.statements,t),comments:void 0,range:[t.getStart(this.ast),t.endOfFileToken.end],sourceType:t.externalModuleIndicator?"module":"script",tokens:void 0});case b.Block:return this.createNode(t,{type:P.BlockStatement,body:this.convertBodyExpressions(t.statements,t)});case b.Identifier:return Qh(t)?this.createNode(t,{type:P.ThisExpression}):this.createNode(t,{type:P.Identifier,decorators:[],name:t.text,optional:!1,typeAnnotation:void 0});case b.PrivateIdentifier:return this.createNode(t,{type:P.PrivateIdentifier,name:t.text.slice(1)});case b.WithStatement:return this.createNode(t,{type:P.WithStatement,object:this.convertChild(t.expression),body:this.convertChild(t.statement)});case b.ReturnStatement:return this.createNode(t,{type:P.ReturnStatement,argument:this.convertChild(t.expression)});case b.LabeledStatement:return this.createNode(t,{type:P.LabeledStatement,label:this.convertChild(t.label),body:this.convertChild(t.statement)});case b.ContinueStatement:return this.createNode(t,{type:P.ContinueStatement,label:this.convertChild(t.label)});case b.BreakStatement:return this.createNode(t,{type:P.BreakStatement,label:this.convertChild(t.label)});case b.IfStatement:return this.createNode(t,{type:P.IfStatement,test:this.convertChild(t.expression),consequent:this.convertChild(t.thenStatement),alternate:this.convertChild(t.elseStatement)});case b.SwitchStatement:return t.caseBlock.clauses.filter(f=>f.kind===b.DefaultClause).length>1&&we(this,ge,Ge).call(this,t,"A 'default' clause cannot appear more than once in a 'switch' statement."),this.createNode(t,{type:P.SwitchStatement,discriminant:this.convertChild(t.expression),cases:t.caseBlock.clauses.map(f=>this.convertChild(f))});case b.CaseClause:case b.DefaultClause:return this.createNode(t,{type:P.SwitchCase,test:t.kind===b.CaseClause?this.convertChild(t.expression):null,consequent:t.statements.map(f=>this.convertChild(f))});case b.ThrowStatement:return t.expression.end===t.expression.pos&&we(this,ge,$t).call(this,t,"A throw statement must throw an expression."),this.createNode(t,{type:P.ThrowStatement,argument:this.convertChild(t.expression)});case b.TryStatement:return this.createNode(t,{type:P.TryStatement,block:this.convertChild(t.tryBlock),handler:this.convertChild(t.catchClause),finalizer:this.convertChild(t.finallyBlock)});case b.CatchClause:return(o=t.variableDeclaration)!=null&&o.initializer&&we(this,ge,Ge).call(this,t.variableDeclaration.initializer,"Catch clause variable cannot have an initializer."),this.createNode(t,{type:P.CatchClause,param:t.variableDeclaration?this.convertBindingNameWithTypeAnnotation(t.variableDeclaration.name,t.variableDeclaration.type):null,body:this.convertChild(t.block)});case b.WhileStatement:return this.createNode(t,{type:P.WhileStatement,test:this.convertChild(t.expression),body:this.convertChild(t.statement)});case b.DoStatement:return this.createNode(t,{type:P.DoWhileStatement,test:this.convertChild(t.expression),body:this.convertChild(t.statement)});case b.ForStatement:return this.createNode(t,{type:P.ForStatement,init:this.convertChild(t.initializer),test:this.convertChild(t.condition),update:this.convertChild(t.incrementor),body:this.convertChild(t.statement)});case b.ForInStatement:return we(this,ge,n0).call(this,t.initializer),this.createNode(t,{type:P.ForInStatement,left:this.convertPattern(t.initializer),right:this.convertChild(t.expression),body:this.convertChild(t.statement)});case b.ForOfStatement:return this.createNode(t,{type:P.ForOfStatement,left:this.convertPattern(t.initializer),right:this.convertChild(t.expression),body:this.convertChild(t.statement),await:!!(t.awaitModifier&&t.awaitModifier.kind===b.AwaitKeyword)});case b.FunctionDeclaration:{let f=We(b.DeclareKeyword,t),k=We(b.AsyncKeyword,t),v=!!t.asteriskToken;f?t.body?we(this,ge,Ge).call(this,t,"An implementation cannot be declared in ambient contexts."):k?we(this,ge,Ge).call(this,t,"'async' modifier cannot be used in an ambient context."):v&&we(this,ge,Ge).call(this,t,"Generators are not allowed in an ambient context."):!t.body&&v&&we(this,ge,Ge).call(this,t,"A function signature cannot be declared as a generator.");let w=this.createNode(t,{type:t.body?P.FunctionDeclaration:P.TSDeclareFunction,async:k,body:this.convertChild(t.body)||void 0,declare:f,expression:!1,generator:v,id:this.convertChild(t.name),params:this.convertParameters(t.parameters),returnType:t.type&&this.convertTypeAnnotation(t.type,t),typeParameters:t.typeParameters&&this.convertTSTypeParametersToTypeParametersDeclaration(t.typeParameters)});return this.fixExports(t,w)}case b.VariableDeclaration:return this.createNode(t,{type:P.VariableDeclarator,definite:!!t.exclamationToken,id:this.convertBindingNameWithTypeAnnotation(t.name,t.type,t),init:this.convertChild(t.initializer)});case b.VariableStatement:{let f=this.createNode(t,{type:P.VariableDeclaration,declarations:t.declarationList.declarations.map(k=>this.convertChild(k)),declare:We(b.DeclareKeyword,t),kind:Rl(t.declarationList)});return f.declarations.length||we(this,ge,$t).call(this,t,"A variable declaration list must have at least one variable declarator."),(f.kind==="using"||f.kind==="await using")&&t.declarationList.declarations.forEach((k,v)=>{f.declarations[v].init==null&&we(this,ge,Ge).call(this,k,`'${f.kind}' declarations must be initialized.`),f.declarations[v].id.type!==P.Identifier&&we(this,ge,Ge).call(this,k.name,`'${f.kind}' declarations may not have binding patterns.`)}),this.fixExports(t,f)}case b.VariableDeclarationList:{let f=this.createNode(t,{type:P.VariableDeclaration,declarations:t.declarations.map(k=>this.convertChild(k)),declare:!1,kind:Rl(t)});return(f.kind==="using"||f.kind==="await using")&&t.declarations.forEach((k,v)=>{f.declarations[v].init!=null&&we(this,ge,Ge).call(this,k,`'${f.kind}' declarations may not be initialized in for statement.`),f.declarations[v].id.type!==P.Identifier&&we(this,ge,Ge).call(this,k.name,`'${f.kind}' declarations may not have binding patterns.`)}),f}case b.ExpressionStatement:return this.createNode(t,{type:P.ExpressionStatement,directive:void 0,expression:this.convertChild(t.expression)});case b.ThisKeyword:return this.createNode(t,{type:P.ThisExpression});case b.ArrayLiteralExpression:return this.allowPattern?this.createNode(t,{type:P.ArrayPattern,decorators:[],elements:t.elements.map(f=>this.convertPattern(f)),optional:!1,typeAnnotation:void 0}):this.createNode(t,{type:P.ArrayExpression,elements:t.elements.map(f=>this.convertChild(f))});case b.ObjectLiteralExpression:{if(this.allowPattern)return this.createNode(t,{type:P.ObjectPattern,decorators:[],optional:!1,properties:t.properties.map(k=>this.convertPattern(k)),typeAnnotation:void 0});let f=[];for(let k of t.properties)(k.kind===b.GetAccessor||k.kind===b.SetAccessor||k.kind===b.MethodDeclaration)&&!k.body&&we(this,ge,$t).call(this,k.end-1,"'{' expected."),f.push(this.convertChild(k));return this.createNode(t,{type:P.ObjectExpression,properties:f})}case b.PropertyAssignment:{let{questionToken:f,exclamationToken:k}=t;return f&&we(this,ge,Ge).call(this,f,"A property assignment cannot have a question token."),k&&we(this,ge,Ge).call(this,k,"A property assignment cannot have an exclamation token."),this.createNode(t,{type:P.Property,key:this.convertChild(t.name),value:this.converter(t.initializer,t,this.allowPattern),computed:ca(t.name),method:!1,optional:!1,shorthand:!1,kind:"init"})}case b.ShorthandPropertyAssignment:{let{modifiers:f,questionToken:k,exclamationToken:v}=t;return f&&we(this,ge,Ge).call(this,f[0],"A shorthand property assignment cannot have modifiers."),k&&we(this,ge,Ge).call(this,k,"A shorthand property assignment cannot have a question token."),v&&we(this,ge,Ge).call(this,v,"A shorthand property assignment cannot have an exclamation token."),t.objectAssignmentInitializer?this.createNode(t,{type:P.Property,key:this.convertChild(t.name),value:this.createNode(t,{type:P.AssignmentPattern,decorators:[],left:this.convertPattern(t.name),optional:!1,right:this.convertChild(t.objectAssignmentInitializer),typeAnnotation:void 0}),computed:!1,method:!1,optional:!1,shorthand:!0,kind:"init"}):this.createNode(t,{type:P.Property,computed:!1,key:this.convertChild(t.name),kind:"init",method:!1,optional:!1,shorthand:!0,value:this.convertChild(t.name)})}case b.ComputedPropertyName:return this.convertChild(t.expression);case b.PropertyDeclaration:{let f=We(b.AbstractKeyword,t);f&&t.initializer&&we(this,ge,Ge).call(this,t.initializer,"Abstract property cannot have an initializer.");let k=We(b.AccessorKeyword,t),v=k?f?P.TSAbstractAccessorProperty:P.AccessorProperty:f?P.TSAbstractPropertyDefinition:P.PropertyDefinition,w=this.convertChild(t.name);return this.createNode(t,{type:v,key:w,accessibility:Ci(t),value:f?null:this.convertChild(t.initializer),computed:ca(t.name),static:We(b.StaticKeyword,t),readonly:We(b.ReadonlyKeyword,t),decorators:((h=sa(t))==null?void 0:h.map(J=>this.convertChild(J)))??[],declare:We(b.DeclareKeyword,t),override:We(b.OverrideKeyword,t),typeAnnotation:t.type&&this.convertTypeAnnotation(t.type,t),optional:(w.type===P.Literal||t.name.kind===b.Identifier||t.name.kind===b.ComputedPropertyName||t.name.kind===b.PrivateIdentifier)&&!!t.questionToken,definite:!!t.exclamationToken})}case b.GetAccessor:case b.SetAccessor:if(t.parent.kind===b.InterfaceDeclaration||t.parent.kind===b.TypeLiteral)return this.convertMethodSignature(t);case b.MethodDeclaration:{let f=this.createNode(t,{type:t.body?P.FunctionExpression:P.TSEmptyBodyFunctionExpression,id:null,generator:!!t.asteriskToken,expression:!1,async:We(b.AsyncKeyword,t),body:this.convertChild(t.body),declare:!1,range:[t.parameters.pos-1,t.end],params:[],returnType:t.type&&this.convertTypeAnnotation(t.type,t),typeParameters:t.typeParameters&&this.convertTSTypeParametersToTypeParametersDeclaration(t.typeParameters)});f.typeParameters&&this.fixParentLocation(f,f.typeParameters.range);let k;if(a.kind===b.ObjectLiteralExpression)f.params=t.parameters.map(v=>this.convertChild(v)),k=this.createNode(t,{type:P.Property,key:this.convertChild(t.name),value:f,computed:ca(t.name),optional:!!t.questionToken,method:t.kind===b.MethodDeclaration,shorthand:!1,kind:"init"});else{f.params=this.convertParameters(t.parameters);let v=We(b.AbstractKeyword,t)?P.TSAbstractMethodDefinition:P.MethodDefinition;k=this.createNode(t,{type:v,accessibility:Ci(t),computed:ca(t.name),decorators:((g=sa(t))==null?void 0:g.map(w=>this.convertChild(w)))??[],key:this.convertChild(t.name),kind:"method",optional:!!t.questionToken,override:We(b.OverrideKeyword,t),static:We(b.StaticKeyword,t),value:f})}return t.kind===b.GetAccessor?k.kind="get":t.kind===b.SetAccessor?k.kind="set":!k.static&&t.name.kind===b.StringLiteral&&t.name.text==="constructor"&&k.type!==P.Property&&(k.kind="constructor"),k}case b.Constructor:{let f=zh(t),k=(f&&oa(f,t,this.ast))??t.getFirstToken(),v=this.createNode(t,{type:t.body?P.FunctionExpression:P.TSEmptyBodyFunctionExpression,async:!1,body:this.convertChild(t.body),declare:!1,expression:!1,generator:!1,id:null,params:this.convertParameters(t.parameters),range:[t.parameters.pos-1,t.end],returnType:t.type&&this.convertTypeAnnotation(t.type,t),typeParameters:t.typeParameters&&this.convertTSTypeParametersToTypeParametersDeclaration(t.typeParameters)});v.typeParameters&&this.fixParentLocation(v,v.typeParameters.range);let w=this.createNode(t,{type:P.Identifier,decorators:[],name:"constructor",optional:!1,range:[k.getStart(this.ast),k.end],typeAnnotation:void 0}),J=We(b.StaticKeyword,t);return this.createNode(t,{type:We(b.AbstractKeyword,t)?P.TSAbstractMethodDefinition:P.MethodDefinition,accessibility:Ci(t),computed:!1,decorators:[],optional:!1,key:w,kind:J?"method":"constructor",override:!1,static:J,value:v})}case b.FunctionExpression:return this.createNode(t,{type:P.FunctionExpression,async:We(b.AsyncKeyword,t),body:this.convertChild(t.body),declare:!1,expression:!1,generator:!!t.asteriskToken,id:this.convertChild(t.name),params:this.convertParameters(t.parameters),returnType:t.type&&this.convertTypeAnnotation(t.type,t),typeParameters:t.typeParameters&&this.convertTSTypeParametersToTypeParametersDeclaration(t.typeParameters)});case b.SuperKeyword:return this.createNode(t,{type:P.Super});case b.ArrayBindingPattern:return this.createNode(t,{type:P.ArrayPattern,decorators:[],elements:t.elements.map(f=>this.convertPattern(f)),optional:!1,typeAnnotation:void 0});case b.OmittedExpression:return null;case b.ObjectBindingPattern:return this.createNode(t,{type:P.ObjectPattern,decorators:[],optional:!1,properties:t.elements.map(f=>this.convertPattern(f)),typeAnnotation:void 0});case b.BindingElement:{if(a.kind===b.ArrayBindingPattern){let k=this.convertChild(t.name,a);return t.initializer?this.createNode(t,{type:P.AssignmentPattern,decorators:[],left:k,optional:!1,right:this.convertChild(t.initializer),typeAnnotation:void 0}):t.dotDotDotToken?this.createNode(t,{type:P.RestElement,argument:k,decorators:[],optional:!1,typeAnnotation:void 0,value:void 0}):k}let f;return t.dotDotDotToken?f=this.createNode(t,{type:P.RestElement,argument:this.convertChild(t.propertyName??t.name),decorators:[],optional:!1,typeAnnotation:void 0,value:void 0}):f=this.createNode(t,{type:P.Property,key:this.convertChild(t.propertyName??t.name),value:this.convertChild(t.name),computed:!!(t.propertyName&&t.propertyName.kind===b.ComputedPropertyName),method:!1,optional:!1,shorthand:!t.propertyName,kind:"init"}),t.initializer&&(f.value=this.createNode(t,{type:P.AssignmentPattern,decorators:[],left:this.convertChild(t.name),optional:!1,range:[t.name.getStart(this.ast),t.initializer.end],right:this.convertChild(t.initializer),typeAnnotation:void 0})),f}case b.ArrowFunction:return this.createNode(t,{type:P.ArrowFunctionExpression,generator:!1,id:null,params:this.convertParameters(t.parameters),body:this.convertChild(t.body),async:We(b.AsyncKeyword,t),expression:t.body.kind!==b.Block,returnType:t.type&&this.convertTypeAnnotation(t.type,t),typeParameters:t.typeParameters&&this.convertTSTypeParametersToTypeParametersDeclaration(t.typeParameters)});case b.YieldExpression:return this.createNode(t,{type:P.YieldExpression,delegate:!!t.asteriskToken,argument:this.convertChild(t.expression)});case b.AwaitExpression:return this.createNode(t,{type:P.AwaitExpression,argument:this.convertChild(t.expression)});case b.NoSubstitutionTemplateLiteral:return this.createNode(t,{type:P.TemplateLiteral,quasis:[this.createNode(t,{type:P.TemplateElement,value:{raw:this.ast.text.slice(t.getStart(this.ast)+1,t.end-1),cooked:t.text},tail:!0})],expressions:[]});case b.TemplateExpression:{let f=this.createNode(t,{type:P.TemplateLiteral,quasis:[this.convertChild(t.head)],expressions:[]});return t.templateSpans.forEach(k=>{f.expressions.push(this.convertChild(k.expression)),f.quasis.push(this.convertChild(k.literal))}),f}case b.TaggedTemplateExpression:return this.createNode(t,{type:P.TaggedTemplateExpression,typeArguments:t.typeArguments&&this.convertTypeArgumentsToTypeParameterInstantiation(t.typeArguments,t),tag:this.convertChild(t.tag),quasi:this.convertChild(t.template)});case b.TemplateHead:case b.TemplateMiddle:case b.TemplateTail:{let f=t.kind===b.TemplateTail;return this.createNode(t,{type:P.TemplateElement,value:{raw:this.ast.text.slice(t.getStart(this.ast)+1,t.end-(f?1:2)),cooked:t.text},tail:f})}case b.SpreadAssignment:case b.SpreadElement:return this.allowPattern?this.createNode(t,{type:P.RestElement,argument:this.convertPattern(t.expression),decorators:[],optional:!1,typeAnnotation:void 0,value:void 0}):this.createNode(t,{type:P.SpreadElement,argument:this.convertChild(t.expression)});case b.Parameter:{let f,k;return t.dotDotDotToken?f=k=this.createNode(t,{type:P.RestElement,argument:this.convertChild(t.name),decorators:[],optional:!1,typeAnnotation:void 0,value:void 0}):t.initializer?(f=this.convertChild(t.name),k=this.createNode(t,{type:P.AssignmentPattern,decorators:[],left:f,optional:!1,right:this.convertChild(t.initializer),typeAnnotation:void 0}),rr(t)&&(k.range[0]=f.range[0],k.loc=ni(k.range,this.ast))):f=k=this.convertChild(t.name,a),t.type&&(f.typeAnnotation=this.convertTypeAnnotation(t.type,t),this.fixParentLocation(f,f.typeAnnotation.range)),t.questionToken&&(t.questionToken.end>f.range[1]&&(f.range[1]=t.questionToken.end,f.loc.end=Js(f.range[1],this.ast)),f.optional=!0),rr(t)?this.createNode(t,{type:P.TSParameterProperty,accessibility:Ci(t),decorators:[],override:We(b.OverrideKeyword,t),parameter:k,readonly:We(b.ReadonlyKeyword,t),static:We(b.StaticKeyword,t)}):k}case b.ClassDeclaration:!t.name&&(!We(ce.ExportKeyword,t)||!We(ce.DefaultKeyword,t))&&we(this,ge,$t).call(this,t,"A class declaration without the 'default' modifier must have a name.");case b.ClassExpression:{let f=t.heritageClauses??[],k=t.kind===b.ClassDeclaration?P.ClassDeclaration:P.ClassExpression,v,w;for(let re of f){let{token:be,types:he}=re;he.length===0&&we(this,ge,$t).call(this,re,`'${_t(be)}' list cannot be empty.`),be===b.ExtendsKeyword?(v&&we(this,ge,$t).call(this,re,"'extends' clause already seen."),w&&we(this,ge,$t).call(this,re,"'extends' clause must precede 'implements' clause."),he.length>1&&we(this,ge,$t).call(this,he[1],"Classes can only extend a single class."),v??(v=re)):be===b.ImplementsKeyword&&(w&&we(this,ge,$t).call(this,re,"'implements' clause already seen."),w??(w=re))}let J=this.createNode(t,{type:k,abstract:We(b.AbstractKeyword,t),body:this.createNode(t,{type:P.ClassBody,body:t.members.filter(qh).map(re=>this.convertChild(re)),range:[t.members.pos-1,t.end]}),declare:We(b.DeclareKeyword,t),decorators:((E=sa(t))==null?void 0:E.map(re=>this.convertChild(re)))??[],id:this.convertChild(t.name),implements:(w==null?void 0:w.types.map(re=>this.convertChild(re)))??[],superClass:v!=null&&v.types[0]?this.convertChild(v.types[0].expression):null,superTypeArguments:void 0,typeParameters:t.typeParameters&&this.convertTSTypeParametersToTypeParametersDeclaration(t.typeParameters)});return(C=v==null?void 0:v.types[0])!=null&&C.typeArguments&&(J.superTypeArguments=this.convertTypeArgumentsToTypeParameterInstantiation(v.types[0].typeArguments,v.types[0])),this.fixExports(t,J)}case b.ModuleBlock:return this.createNode(t,{type:P.TSModuleBlock,body:this.convertBodyExpressions(t.statements,t)});case b.ImportDeclaration:{this.assertModuleSpecifier(t,!1);let f=this.createNode(t,we(this,ge,js).call(this,{type:P.ImportDeclaration,source:this.convertChild(t.moduleSpecifier),specifiers:[],importKind:"value",attributes:this.convertImportAttributes(t.attributes??t.assertClause)},"assertions","attributes",!0));if(t.importClause&&(t.importClause.isTypeOnly&&(f.importKind="type"),t.importClause.name&&f.specifiers.push(this.convertChild(t.importClause)),t.importClause.namedBindings))switch(t.importClause.namedBindings.kind){case b.NamespaceImport:f.specifiers.push(this.convertChild(t.importClause.namedBindings));break;case b.NamedImports:f.specifiers=f.specifiers.concat(t.importClause.namedBindings.elements.map(k=>this.convertChild(k)));break}return f}case b.NamespaceImport:return this.createNode(t,{type:P.ImportNamespaceSpecifier,local:this.convertChild(t.name)});case b.ImportSpecifier:return this.createNode(t,{type:P.ImportSpecifier,local:this.convertChild(t.name),imported:this.convertChild(t.propertyName??t.name),importKind:t.isTypeOnly?"type":"value"});case b.ImportClause:{let f=this.convertChild(t.name);return this.createNode(t,{type:P.ImportDefaultSpecifier,local:f,range:f.range})}case b.ExportDeclaration:return((l=t.exportClause)==null?void 0:l.kind)===b.NamedExports?(this.assertModuleSpecifier(t,!0),this.createNode(t,we(this,ge,js).call(this,{type:P.ExportNamedDeclaration,source:this.convertChild(t.moduleSpecifier),specifiers:t.exportClause.elements.map(f=>this.convertChild(f)),exportKind:t.isTypeOnly?"type":"value",declaration:null,attributes:this.convertImportAttributes(t.attributes??t.assertClause)},"assertions","attributes",!0))):(this.assertModuleSpecifier(t,!1),this.createNode(t,we(this,ge,js).call(this,{type:P.ExportAllDeclaration,source:this.convertChild(t.moduleSpecifier),exportKind:t.isTypeOnly?"type":"value",exported:((Z=t.exportClause)==null?void 0:Z.kind)===b.NamespaceExport?this.convertChild(t.exportClause.name):null,attributes:this.convertImportAttributes(t.attributes??t.assertClause)},"assertions","attributes",!0)));case b.ExportSpecifier:return this.createNode(t,{type:P.ExportSpecifier,local:this.convertChild(t.propertyName??t.name),exported:this.convertChild(t.name),exportKind:t.isTypeOnly?"type":"value"});case b.ExportAssignment:return t.isExportEquals?this.createNode(t,{type:P.TSExportAssignment,expression:this.convertChild(t.expression)}):this.createNode(t,{type:P.ExportDefaultDeclaration,declaration:this.convertChild(t.expression),exportKind:"value"});case b.PrefixUnaryExpression:case b.PostfixUnaryExpression:{let f=ti(t.operator);return f==="++"||f==="--"?(gd(t.operand)||we(this,ge,$t).call(this,t.operand,"Invalid left-hand side expression in unary operation"),this.createNode(t,{type:P.UpdateExpression,operator:f,prefix:t.kind===b.PrefixUnaryExpression,argument:this.convertChild(t.operand)})):this.createNode(t,{type:P.UnaryExpression,operator:f,prefix:t.kind===b.PrefixUnaryExpression,argument:this.convertChild(t.operand)})}case b.DeleteExpression:return this.createNode(t,{type:P.UnaryExpression,operator:"delete",prefix:!0,argument:this.convertChild(t.expression)});case b.VoidExpression:return this.createNode(t,{type:P.UnaryExpression,operator:"void",prefix:!0,argument:this.convertChild(t.expression)});case b.TypeOfExpression:return this.createNode(t,{type:P.UnaryExpression,operator:"typeof",prefix:!0,argument:this.convertChild(t.expression)});case b.TypeOperator:return this.createNode(t,{type:P.TSTypeOperator,operator:ti(t.operator),typeAnnotation:this.convertChild(t.type)});case b.BinaryExpression:{if(Fh(t.operatorToken)){let k=this.createNode(t,{type:P.SequenceExpression,expressions:[]}),v=this.convertChild(t.left);return v.type===P.SequenceExpression&&t.left.kind!==b.ParenthesizedExpression?k.expressions=k.expressions.concat(v.expressions):k.expressions.push(v),k.expressions.push(this.convertChild(t.right)),k}let f=Vh(t.operatorToken);return this.allowPattern&&f.type===P.AssignmentExpression?this.createNode(t,{type:P.AssignmentPattern,decorators:[],left:this.convertPattern(t.left,t),optional:!1,right:this.convertChild(t.right),typeAnnotation:void 0}):this.createNode(t,{...f,left:this.converter(t.left,t,f.type===P.AssignmentExpression),right:this.convertChild(t.right)})}case b.PropertyAccessExpression:{let f=this.convertChild(t.expression),k=this.convertChild(t.name),w=this.createNode(t,{type:P.MemberExpression,object:f,property:k,computed:!1,optional:t.questionDotToken!==void 0});return this.convertChainExpression(w,t)}case b.ElementAccessExpression:{let f=this.convertChild(t.expression),k=this.convertChild(t.argumentExpression),w=this.createNode(t,{type:P.MemberExpression,object:f,property:k,computed:!0,optional:t.questionDotToken!==void 0});return this.convertChainExpression(w,t)}case b.CallExpression:{if(t.expression.kind===b.ImportKeyword)return t.arguments.length!==1&&t.arguments.length!==2&&we(this,ge,$t).call(this,t.arguments[2]??t,"Dynamic import requires exactly one or two arguments."),this.createNode(t,{type:P.ImportExpression,source:this.convertChild(t.arguments[0]),attributes:t.arguments[1]?this.convertChild(t.arguments[1]):null});let f=this.convertChild(t.expression),k=t.arguments.map(J=>this.convertChild(J)),v=t.typeArguments&&this.convertTypeArgumentsToTypeParameterInstantiation(t.typeArguments,t),w=this.createNode(t,{type:P.CallExpression,callee:f,arguments:k,optional:t.questionDotToken!==void 0,typeArguments:v});return this.convertChainExpression(w,t)}case b.NewExpression:{let f=t.typeArguments&&this.convertTypeArgumentsToTypeParameterInstantiation(t.typeArguments,t);return this.createNode(t,{type:P.NewExpression,arguments:t.arguments?t.arguments.map(k=>this.convertChild(k)):[],callee:this.convertChild(t.expression),typeArguments:f})}case b.ConditionalExpression:return this.createNode(t,{type:P.ConditionalExpression,test:this.convertChild(t.condition),consequent:this.convertChild(t.whenTrue),alternate:this.convertChild(t.whenFalse)});case b.MetaProperty:return this.createNode(t,{type:P.MetaProperty,meta:this.createNode(t.getFirstToken(),{type:P.Identifier,decorators:[],name:ti(t.keywordToken),optional:!1,typeAnnotation:void 0}),property:this.convertChild(t.name)});case b.Decorator:return this.createNode(t,{type:P.Decorator,expression:this.convertChild(t.expression)});case b.StringLiteral:return this.createNode(t,{type:P.Literal,value:a.kind===b.JsxAttribute?fd(t.text):t.text,raw:t.getText()});case b.NumericLiteral:return this.createNode(t,{type:P.Literal,value:Number(t.text),raw:t.getText()});case b.BigIntLiteral:{let f=Za(t,this.ast),k=this.ast.text.slice(f[0],f[1]),v=k.slice(0,-1).replace(/_/g,""),w=typeof BigInt<"u"?BigInt(v):null;return this.createNode(t,{type:P.Literal,raw:k,value:w,bigint:w==null?v:String(w),range:f})}case b.RegularExpressionLiteral:{let f=t.text.slice(1,t.text.lastIndexOf("/")),k=t.text.slice(t.text.lastIndexOf("/")+1),v=null;try{v=new RegExp(f,k)}catch{}return this.createNode(t,{type:P.Literal,value:v,raw:t.text,regex:{pattern:f,flags:k}})}case b.TrueKeyword:return this.createNode(t,{type:P.Literal,value:!0,raw:"true"});case b.FalseKeyword:return this.createNode(t,{type:P.Literal,value:!1,raw:"false"});case b.NullKeyword:return this.createNode(t,{type:P.Literal,value:null,raw:"null"});case b.EmptyStatement:return this.createNode(t,{type:P.EmptyStatement});case b.DebuggerStatement:return this.createNode(t,{type:P.DebuggerStatement});case b.JsxElement:return this.createNode(t,{type:P.JSXElement,openingElement:this.convertChild(t.openingElement),closingElement:this.convertChild(t.closingElement),children:t.children.map(f=>this.convertChild(f))});case b.JsxFragment:return this.createNode(t,{type:P.JSXFragment,openingFragment:this.convertChild(t.openingFragment),closingFragment:this.convertChild(t.closingFragment),children:t.children.map(f=>this.convertChild(f))});case b.JsxSelfClosingElement:return this.createNode(t,{type:P.JSXElement,openingElement:this.createNode(t,{type:P.JSXOpeningElement,typeArguments:t.typeArguments?this.convertTypeArgumentsToTypeParameterInstantiation(t.typeArguments,t):void 0,selfClosing:!0,name:this.convertJSXTagName(t.tagName,t),attributes:t.attributes.properties.map(f=>this.convertChild(f)),range:Za(t,this.ast)}),closingElement:null,children:[]});case b.JsxOpeningElement:return this.createNode(t,{type:P.JSXOpeningElement,typeArguments:t.typeArguments&&this.convertTypeArgumentsToTypeParameterInstantiation(t.typeArguments,t),selfClosing:!1,name:this.convertJSXTagName(t.tagName,t),attributes:t.attributes.properties.map(f=>this.convertChild(f))});case b.JsxClosingElement:return this.createNode(t,{type:P.JSXClosingElement,name:this.convertJSXTagName(t.tagName,t)});case b.JsxOpeningFragment:return this.createNode(t,{type:P.JSXOpeningFragment});case b.JsxClosingFragment:return this.createNode(t,{type:P.JSXClosingFragment});case b.JsxExpression:{let f=t.expression?this.convertChild(t.expression):this.createNode(t,{type:P.JSXEmptyExpression,range:[t.getStart(this.ast)+1,t.getEnd()-1]});return t.dotDotDotToken?this.createNode(t,{type:P.JSXSpreadChild,expression:f}):this.createNode(t,{type:P.JSXExpressionContainer,expression:f})}case b.JsxAttribute:return this.createNode(t,{type:P.JSXAttribute,name:this.convertJSXNamespaceOrIdentifier(t.name),value:this.convertChild(t.initializer)});case b.JsxText:{let f=t.getFullStart(),k=t.getEnd(),v=this.ast.text.slice(f,k);return this.createNode(t,{type:P.JSXText,value:fd(v),raw:v,range:[f,k]})}case b.JsxSpreadAttribute:return this.createNode(t,{type:P.JSXSpreadAttribute,argument:this.convertChild(t.expression)});case b.QualifiedName:return this.createNode(t,{type:P.TSQualifiedName,left:this.convertChild(t.left),right:this.convertChild(t.right)});case b.TypeReference:return this.createNode(t,{type:P.TSTypeReference,typeName:this.convertChild(t.typeName),typeArguments:t.typeArguments&&this.convertTypeArgumentsToTypeParameterInstantiation(t.typeArguments,t)});case b.TypeParameter:return this.createNode(t,{type:P.TSTypeParameter,name:this.convertChild(t.name),constraint:t.constraint&&this.convertChild(t.constraint),default:t.default?this.convertChild(t.default):void 0,in:We(b.InKeyword,t),out:We(b.OutKeyword,t),const:We(b.ConstKeyword,t)});case b.ThisType:return this.createNode(t,{type:P.TSThisType});case b.AnyKeyword:case b.BigIntKeyword:case b.BooleanKeyword:case b.NeverKeyword:case b.NumberKeyword:case b.ObjectKeyword:case b.StringKeyword:case b.SymbolKeyword:case b.UnknownKeyword:case b.VoidKeyword:case b.UndefinedKeyword:case b.IntrinsicKeyword:return this.createNode(t,{type:P[`TS${b[t.kind]}`]});case b.NonNullExpression:{let f=this.createNode(t,{type:P.TSNonNullExpression,expression:this.convertChild(t.expression)});return this.convertChainExpression(f,t)}case b.TypeLiteral:return this.createNode(t,{type:P.TSTypeLiteral,members:t.members.map(f=>this.convertChild(f))});case b.ArrayType:return this.createNode(t,{type:P.TSArrayType,elementType:this.convertChild(t.elementType)});case b.IndexedAccessType:return this.createNode(t,{type:P.TSIndexedAccessType,objectType:this.convertChild(t.objectType),indexType:this.convertChild(t.indexType)});case b.ConditionalType:return this.createNode(t,{type:P.TSConditionalType,checkType:this.convertChild(t.checkType),extendsType:this.convertChild(t.extendsType),trueType:this.convertChild(t.trueType),falseType:this.convertChild(t.falseType)});case b.TypeQuery:return this.createNode(t,{type:P.TSTypeQuery,exprName:this.convertChild(t.exprName),typeArguments:t.typeArguments&&this.convertTypeArgumentsToTypeParameterInstantiation(t.typeArguments,t)});case b.MappedType:return t.members&&t.members.length>0&&we(this,ge,$t).call(this,t.members[0],"A mapped type may not declare properties or methods."),this.createNode(t,we(this,ge,vd).call(this,{type:P.TSMappedType,constraint:this.convertChild(t.typeParameter.constraint),key:this.convertChild(t.typeParameter.name),nameType:this.convertChild(t.nameType)??null,optional:t.questionToken&&(t.questionToken.kind===b.QuestionToken||ti(t.questionToken.kind)),readonly:t.readonlyToken&&(t.readonlyToken.kind===b.ReadonlyKeyword||ti(t.readonlyToken.kind)),typeAnnotation:t.type&&this.convertChild(t.type)},"typeParameter","'constraint' and 'key'",this.convertChild(t.typeParameter)));case b.ParenthesizedExpression:return this.convertChild(t.expression,a);case b.TypeAliasDeclaration:{let f=this.createNode(t,{type:P.TSTypeAliasDeclaration,declare:We(b.DeclareKeyword,t),id:this.convertChild(t.name),typeAnnotation:this.convertChild(t.type),typeParameters:t.typeParameters&&this.convertTSTypeParametersToTypeParametersDeclaration(t.typeParameters)});return this.fixExports(t,f)}case b.MethodSignature:return this.convertMethodSignature(t);case b.PropertySignature:{let{initializer:f}=t;return f&&we(this,ge,Ge).call(this,f,"A property signature cannot have an initializer."),this.createNode(t,{type:P.TSPropertySignature,accessibility:Ci(t),computed:ca(t.name),key:this.convertChild(t.name),optional:dd(t),readonly:We(b.ReadonlyKeyword,t),static:We(b.StaticKeyword,t),typeAnnotation:t.type&&this.convertTypeAnnotation(t.type,t)})}case b.IndexSignature:return this.createNode(t,{type:P.TSIndexSignature,accessibility:Ci(t),parameters:t.parameters.map(f=>this.convertChild(f)),readonly:We(b.ReadonlyKeyword,t),static:We(b.StaticKeyword,t),typeAnnotation:t.type&&this.convertTypeAnnotation(t.type,t)});case b.ConstructorType:return this.createNode(t,{type:P.TSConstructorType,abstract:We(b.AbstractKeyword,t),params:this.convertParameters(t.parameters),returnType:t.type&&this.convertTypeAnnotation(t.type,t),typeParameters:t.typeParameters&&this.convertTSTypeParametersToTypeParametersDeclaration(t.typeParameters)});case b.FunctionType:{let{modifiers:f}=t;f&&we(this,ge,Ge).call(this,f[0],"A function type cannot have modifiers.")}case b.ConstructSignature:case b.CallSignature:{let f=t.kind===b.ConstructSignature?P.TSConstructSignatureDeclaration:t.kind===b.CallSignature?P.TSCallSignatureDeclaration:P.TSFunctionType;return this.createNode(t,{type:f,params:this.convertParameters(t.parameters),returnType:t.type&&this.convertTypeAnnotation(t.type,t),typeParameters:t.typeParameters&&this.convertTSTypeParametersToTypeParametersDeclaration(t.typeParameters)})}case b.ExpressionWithTypeArguments:{let f=a.kind,k=f===b.InterfaceDeclaration?P.TSInterfaceHeritage:f===b.HeritageClause?P.TSClassImplements:P.TSInstantiationExpression;return this.createNode(t,{type:k,expression:this.convertChild(t.expression),typeArguments:t.typeArguments&&this.convertTypeArgumentsToTypeParameterInstantiation(t.typeArguments,t)})}case b.InterfaceDeclaration:{let f=t.heritageClauses??[],k=[];for(let w of f){w.token!==b.ExtendsKeyword&&we(this,ge,Ge).call(this,w,w.token===b.ImplementsKeyword?"Interface declaration cannot have 'implements' clause.":"Unexpected token.");for(let J of w.types)k.push(this.convertChild(J,t))}let v=this.createNode(t,{type:P.TSInterfaceDeclaration,body:this.createNode(t,{type:P.TSInterfaceBody,body:t.members.map(w=>this.convertChild(w)),range:[t.members.pos-1,t.end]}),declare:We(b.DeclareKeyword,t),extends:k,id:this.convertChild(t.name),typeParameters:t.typeParameters&&this.convertTSTypeParametersToTypeParametersDeclaration(t.typeParameters)});return this.fixExports(t,v)}case b.TypePredicate:{let f=this.createNode(t,{type:P.TSTypePredicate,asserts:t.assertsModifier!==void 0,parameterName:this.convertChild(t.parameterName),typeAnnotation:null});return t.type&&(f.typeAnnotation=this.convertTypeAnnotation(t.type,t),f.typeAnnotation.loc=f.typeAnnotation.typeAnnotation.loc,f.typeAnnotation.range=f.typeAnnotation.typeAnnotation.range),f}case b.ImportType:{let f=Za(t,this.ast);if(t.isTypeOf){let v=oa(t.getFirstToken(),t,this.ast);f[0]=v.getStart(this.ast)}let k=this.createNode(t,{type:P.TSImportType,argument:this.convertChild(t.argument),qualifier:this.convertChild(t.qualifier),typeArguments:t.typeArguments?this.convertTypeArgumentsToTypeParameterInstantiation(t.typeArguments,t):null,range:f});return t.isTypeOf?this.createNode(t,{type:P.TSTypeQuery,exprName:k,typeArguments:void 0}):k}case b.EnumDeclaration:{let f=t.members.map(v=>this.convertChild(v)),k=this.createNode(t,we(this,ge,vd).call(this,{type:P.TSEnumDeclaration,body:this.createNode(t,{type:P.TSEnumBody,members:f,range:[t.members.pos-1,t.end]}),const:We(b.ConstKeyword,t),declare:We(b.DeclareKeyword,t),id:this.convertChild(t.name)},"members","'body.members'",t.members.map(v=>this.convertChild(v))));return this.fixExports(t,k)}case b.EnumMember:return this.createNode(t,{type:P.TSEnumMember,computed:t.name.kind===ce.ComputedPropertyName,id:this.convertChild(t.name),initializer:t.initializer&&this.convertChild(t.initializer)});case b.ModuleDeclaration:{let f=We(b.DeclareKeyword,t),k=this.createNode(t,{type:P.TSModuleDeclaration,...(()=>{if(t.flags&Xt.GlobalAugmentation){let w=this.convertChild(t.name),J=this.convertChild(t.body);return(J==null||J.type===P.TSModuleDeclaration)&&we(this,ge,$t).call(this,t.body??t,"Expected a valid module body"),w.type!==P.Identifier&&we(this,ge,$t).call(this,t.name,"global module augmentation must have an Identifier id"),{kind:"global",body:J,declare:!1,global:!1,id:w}}if(!(t.flags&Xt.Namespace)){let w=this.convertChild(t.body);return{kind:"module",...w!=null?{body:w}:{},declare:!1,global:!1,id:this.convertChild(t.name)}}t.body==null&&we(this,ge,$t).call(this,t,"Expected a module body"),t.name.kind!==ce.Identifier&&we(this,ge,$t).call(this,t.name,"`namespace`s must have an Identifier id");let v=this.createNode(t.name,{decorators:[],name:t.name.text,optional:!1,range:[t.name.getStart(this.ast),t.name.getEnd()],type:P.Identifier,typeAnnotation:void 0});for(;t.body&&ei(t.body)&&t.body.name;){t=t.body,f||(f=We(b.DeclareKeyword,t));let w=t.name,J=this.createNode(w,{decorators:[],name:w.text,optional:!1,range:[w.getStart(this.ast),w.getEnd()],type:P.Identifier,typeAnnotation:void 0});v=this.createNode(w,{left:v,right:J,range:[v.range[0],J.range[1]],type:P.TSQualifiedName})}return{kind:"namespace",body:this.convertChild(t.body),declare:!1,global:!1,id:v}})()});return k.declare=f,t.flags&Xt.GlobalAugmentation&&(k.global=!0),this.fixExports(t,k)}case b.ParenthesizedType:return this.convertChild(t.type);case b.UnionType:return this.createNode(t,{type:P.TSUnionType,types:t.types.map(f=>this.convertChild(f))});case b.IntersectionType:return this.createNode(t,{type:P.TSIntersectionType,types:t.types.map(f=>this.convertChild(f))});case b.AsExpression:return this.createNode(t,{type:P.TSAsExpression,expression:this.convertChild(t.expression),typeAnnotation:this.convertChild(t.type)});case b.InferType:return this.createNode(t,{type:P.TSInferType,typeParameter:this.convertChild(t.typeParameter)});case b.LiteralType:return t.literal.kind===b.NullKeyword?this.createNode(t.literal,{type:P.TSNullKeyword}):this.createNode(t,{type:P.TSLiteralType,literal:this.convertChild(t.literal)});case b.TypeAssertionExpression:return this.createNode(t,{type:P.TSTypeAssertion,typeAnnotation:this.convertChild(t.type),expression:this.convertChild(t.expression)});case b.ImportEqualsDeclaration:return this.fixExports(t,this.createNode(t,{type:P.TSImportEqualsDeclaration,id:this.convertChild(t.name),importKind:t.isTypeOnly?"type":"value",moduleReference:this.convertChild(t.moduleReference)}));case b.ExternalModuleReference:return t.expression.kind!==b.StringLiteral&&we(this,ge,Ge).call(this,t.expression,"String literal expected."),this.createNode(t,{type:P.TSExternalModuleReference,expression:this.convertChild(t.expression)});case b.NamespaceExportDeclaration:return this.createNode(t,{type:P.TSNamespaceExportDeclaration,id:this.convertChild(t.name)});case b.AbstractKeyword:return this.createNode(t,{type:P.TSAbstractKeyword});case b.TupleType:{let f=t.elements.map(k=>this.convertChild(k));return this.createNode(t,{type:P.TSTupleType,elementTypes:f})}case b.NamedTupleMember:{let f=this.createNode(t,{type:P.TSNamedTupleMember,elementType:this.convertChild(t.type,t),label:this.convertChild(t.name,t),optional:t.questionToken!=null});return t.dotDotDotToken?(f.range[0]=f.label.range[0],f.loc.start=f.label.loc.start,this.createNode(t,{type:P.TSRestType,typeAnnotation:f})):f}case b.OptionalType:return this.createNode(t,{type:P.TSOptionalType,typeAnnotation:this.convertChild(t.type)});case b.RestType:return this.createNode(t,{type:P.TSRestType,typeAnnotation:this.convertChild(t.type)});case b.TemplateLiteralType:{let f=this.createNode(t,{type:P.TSTemplateLiteralType,quasis:[this.convertChild(t.head)],types:[]});return t.templateSpans.forEach(k=>{f.types.push(this.convertChild(k.type)),f.quasis.push(this.convertChild(k.literal))}),f}case b.ClassStaticBlockDeclaration:return this.createNode(t,{type:P.StaticBlock,body:this.convertBodyExpressions(t.body.statements,t)});case b.AssertEntry:case b.ImportAttribute:return this.createNode(t,{type:P.ImportAttribute,key:this.convertChild(t.name),value:this.convertChild(t.value)});case b.SatisfiesExpression:return this.createNode(t,{type:P.TSSatisfiesExpression,expression:this.convertChild(t.expression),typeAnnotation:this.convertChild(t.type)});default:return this.deeplyCopy(t)}}};ge=new WeakSet,t0=function(t){if(!this.options.allowInvalidAST){Xh(t)&&we(this,ge,Ge).call(this,t.illegalDecorators[0],"Decorators are not valid here.");for(let a of sa(t,!0)??[])Zh(t)||(Cs(t)&&!yd(t.body)?we(this,ge,Ge).call(this,a,"A decorator can only decorate a method implementation, not an overload."):we(this,ge,Ge).call(this,a,"Decorators are not valid here."));for(let a of rr(t,!0)??[]){if(a.kind!==b.ReadonlyKeyword&&((t.kind===b.PropertySignature||t.kind===b.MethodSignature)&&we(this,ge,Ge).call(this,a,`'${_t(a.kind)}' modifier cannot appear on a type member`),t.kind===b.IndexSignature&&(a.kind!==b.StaticKeyword||!Ei(t.parent))&&we(this,ge,Ge).call(this,a,`'${_t(a.kind)}' modifier cannot appear on an index signature`)),a.kind!==b.InKeyword&&a.kind!==b.OutKeyword&&a.kind!==b.ConstKeyword&&t.kind===b.TypeParameter&&we(this,ge,Ge).call(this,a,`'${_t(a.kind)}' modifier cannot appear on a type parameter`),(a.kind===b.InKeyword||a.kind===b.OutKeyword)&&(t.kind!==b.TypeParameter||!(Ms(t.parent)||Ei(t.parent)||Il(t.parent)))&&we(this,ge,Ge).call(this,a,`'${_t(a.kind)}' modifier can only appear on a type parameter of a class, interface or type alias`),a.kind===b.ReadonlyKeyword&&t.kind!==b.PropertyDeclaration&&t.kind!==b.PropertySignature&&t.kind!==b.IndexSignature&&t.kind!==b.Parameter&&we(this,ge,Ge).call(this,a,"'readonly' modifier can only appear on a property declaration or index signature."),a.kind===b.DeclareKeyword&&Ei(t.parent)&&!Ha(t)&&we(this,ge,Ge).call(this,a,`'${_t(a.kind)}' modifier cannot appear on class elements of this kind.`),a.kind===b.DeclareKeyword&&Ka(t)){let o=Rl(t.declarationList);(o==="using"||o==="await using")&&we(this,ge,Ge).call(this,a,`'declare' modifier cannot appear on a '${o}' declaration.`)}if(a.kind===b.AbstractKeyword&&t.kind!==b.ClassDeclaration&&t.kind!==b.ConstructorType&&t.kind!==b.MethodDeclaration&&t.kind!==b.PropertyDeclaration&&t.kind!==b.GetAccessor&&t.kind!==b.SetAccessor&&we(this,ge,Ge).call(this,a,`'${_t(a.kind)}' modifier can only appear on a class, method, or property declaration.`),(a.kind===b.StaticKeyword||a.kind===b.PublicKeyword||a.kind===b.ProtectedKeyword||a.kind===b.PrivateKeyword)&&(t.parent.kind===b.ModuleBlock||t.parent.kind===b.SourceFile)&&we(this,ge,Ge).call(this,a,`'${_t(a.kind)}' modifier cannot appear on a module or namespace element.`),a.kind===b.AccessorKeyword&&t.kind!==b.PropertyDeclaration&&we(this,ge,Ge).call(this,a,"'accessor' modifier can only appear on a property declaration."),a.kind===b.AsyncKeyword&&t.kind!==b.MethodDeclaration&&t.kind!==b.FunctionDeclaration&&t.kind!==b.FunctionExpression&&t.kind!==b.ArrowFunction&&we(this,ge,Ge).call(this,a,"'async' modifier cannot be used here."),t.kind===b.Parameter&&(a.kind===b.StaticKeyword||a.kind===b.ExportKeyword||a.kind===b.DeclareKeyword||a.kind===b.AsyncKeyword)&&we(this,ge,Ge).call(this,a,`'${_t(a.kind)}' modifier cannot appear on a parameter.`),a.kind===b.PublicKeyword||a.kind===b.ProtectedKeyword||a.kind===b.PrivateKeyword)for(let o of rr(t)??[])o!==a&&(o.kind===b.PublicKeyword||o.kind===b.ProtectedKeyword||o.kind===b.PrivateKeyword)&&we(this,ge,Ge).call(this,o,"Accessibility modifier already seen.");if(t.kind===b.Parameter&&(a.kind===b.PublicKeyword||a.kind===b.PrivateKeyword||a.kind===b.ProtectedKeyword||a.kind===b.ReadonlyKeyword||a.kind===b.OverrideKeyword)){let o=Kh(t);o.kind===b.Constructor&&yd(o.body)||we(this,ge,Ge).call(this,a,"A parameter property is only allowed in a constructor implementation.")}}}},$t=function(t,a){this.options.allowInvalidAST||we(this,ge,Ge).call(this,t,a)},js=function(t,a,o,h=!1){let g=h;return Object.defineProperty(t,a,{configurable:!0,get:this.options.suppressDeprecatedPropertyWarnings?()=>t[o]:()=>(g||((void 0)(`The '${a}' property is deprecated on ${t.type} nodes. Use '${o}' instead. See https://typescript-eslint.io/troubleshooting/faqs/general#the-key-property-is-deprecated-on-type-nodes-use-key-instead-warnings.`,"DeprecationWarning"),g=!0),t[o]),set(E){Object.defineProperty(t,a,{enumerable:!0,writable:!0,value:E})}}),t},vd=function(t,a,o,h){let g=!1;return Object.defineProperty(t,a,{configurable:!0,get:this.options.suppressDeprecatedPropertyWarnings?()=>h:()=>(g||((void 0)(`The '${a}' property is deprecated on ${t.type} nodes. Use ${o} instead. See https://typescript-eslint.io/troubleshooting/faqs/general#the-key-property-is-deprecated-on-type-nodes-use-key-instead-warnings.`,"DeprecationWarning"),g=!0),h),set(E){Object.defineProperty(t,a,{enumerable:!0,writable:!0,value:E})}}),t},Ge=function(t,a){let o,h;throw typeof t=="number"?o=h=t:(o=t.getStart(this.ast),h=t.getEnd()),hd(a,this.ast,o,h)},n0=function(t){uh(t)&&t.flags&Xt.Using&&we(this,ge,Ge).call(this,t,"The left-hand side of a 'for...in' statement cannot be a 'using' declaration.")};var Sd=(e,t,a)=>{if(!t.has(e))throw TypeError("Cannot "+a)},tt=(e,t,a)=>(Sd(e,t,"read from private field"),a?a.call(e):t.get(e)),Di=(e,t,a)=>{if(t.has(e))throw TypeError("Cannot add the same private member more than once");t instanceof WeakSet?t.add(e):t.set(e,a)},vn=(e,t,a,o)=>(Sd(e,t,"write to private field"),o?o.call(e,a):t.set(e,a),a),_0=(e,t,a)=>(Sd(e,t,"access private method"),a);function Xv(e,t,a=e.getSourceFile()){let o=[];for(;;){if(Pf(e.kind))t(e);else if(e.kind!==ce.JSDocComment){let h=e.getChildren(a);if(h.length===1){e=h[0];continue}for(let g=h.length-1;g>=0;--g)o.push(h[g])}if(o.length===0)break;e=o.pop()}}function $v(e){switch(e.kind){case ce.CloseBraceToken:return e.parent.kind!==ce.JsxExpression||!Td(e.parent.parent);case ce.GreaterThanToken:switch(e.parent.kind){case ce.JsxOpeningElement:return e.end!==e.parent.end;case ce.JsxOpeningFragment:return!1;case ce.JsxSelfClosingElement:return e.end!==e.parent.end||!Td(e.parent.parent);case ce.JsxClosingElement:case ce.JsxClosingFragment:return!Td(e.parent.parent.parent)}}return!0}function Td(e){return e.kind===ce.JsxElement||e.kind===ce.JsxFragment}function s0(e,t,a=e.getSourceFile()){let o=a.text,h=a.languageVariant!==vl.JSX;return Xv(e,E=>{if(E.pos!==E.end&&(E.kind!==ce.JsxText&&l1(o,E.pos===0?(Sf(o)??"").length:E.pos,g),h||$v(E)))return u1(o,E.end,g)},a);function g(E,C,l){t(o,{end:C,kind:l,pos:E})}}function ql(e,...t){if(e===void 0)return!1;for(let a of e)if(t.includes(a.kind))return!0;return!1}var[OT,MT]=Bm.split(".").map(e=>Number.parseInt(e,10));var JT=zt.Intrinsic??zt.Any|zt.Unknown|zt.String|zt.Number|zt.BigInt|zt.Boolean|zt.BooleanLiteral|zt.ESSymbol|zt.Void|zt.Undefined|zt.Null|zt.Never|zt.NonPrimitive;function Qv(e){return Ns(e)}function Kv(e){return Jl(e)}function Zv(e){return Tl(e)}function e4(e){switch(e.parent.kind){case ce.TypeParameter:case ce.InterfaceDeclaration:case ce.TypeAliasDeclaration:return 2;case ce.ClassDeclaration:case ce.ClassExpression:return 6;case ce.EnumDeclaration:return 7;case ce.NamespaceImport:case ce.ImportClause:return 15;case ce.ImportEqualsDeclaration:case ce.ImportSpecifier:return e.parent.name===e?15:void 0;case ce.ModuleDeclaration:return 1;case ce.Parameter:if(e.parent.parent.kind===ce.IndexSignature||Qv(e)===ce.ThisKeyword)return;case ce.BindingElement:case ce.VariableDeclaration:return e.parent.name===e?4:void 0;case ce.FunctionDeclaration:case ce.FunctionExpression:return 4}}var la,t4=class{constructor(e){this.global=e,Di(this,la,void 0),this.namespaceScopes=void 0,this.uses=[],this.variables=new Map}addUse(e){this.uses.push(e)}addUseToParent(e){}addVariable(e,t,a,o,h){let g=this.getDestinationScope(a).getVariables(),E={declaration:t,domain:h,exported:o},C=g.get(e);C===void 0?g.set(e,{declarations:[E],domain:h,uses:[]}):(C.domain|=h,C.declarations.push(E))}applyUse(e,t=this.variables){let a=t.get(e.location.text);return a===void 0||!(a.domain&e.domain)?!1:(a.uses.push(e),!0)}applyUses(){for(let e of this.uses)this.applyUse(e)||this.addUseToParent(e);this.uses=[]}createOrReuseEnumScope(e,t){let a;return tt(this,la)===void 0?vn(this,la,new Map):a=tt(this,la).get(e),a===void 0&&(a=new n4(this),tt(this,la).set(e,a)),a}createOrReuseNamespaceScope(e,t,a,o){let h;return this.namespaceScopes===void 0?this.namespaceScopes=new Map:h=this.namespaceScopes.get(e),h===void 0?(h=new _4(a,o,this),this.namespaceScopes.set(e,h)):h.refresh(a,o),h}end(e){this.namespaceScopes!==void 0&&this.namespaceScopes.forEach(t=>t.finish(e)),this.namespaceScopes=vn(this,la,void 0),this.applyUses(),this.variables.forEach(t=>{for(let a of t.declarations){let o={declarations:[],domain:a.domain,exported:a.exported,inGlobalScope:this.global,uses:[]};for(let h of t.declarations)h.domain&a.domain&&o.declarations.push(h.declaration);for(let h of t.uses)h.domain&a.domain&&o.uses.push(h);e(o,a.declaration,this)}})}getFunctionScope(){return this}getVariables(){return this.variables}markExported(e){}};la=new WeakMap;var pa=class extends t4{constructor(e,t){super(!1),this.parent=e,this.boundary=t}addUseToParent(e){return this.parent.addUse(e,this)}getDestinationScope(e){return this.boundary&e?this:this.parent.getDestinationScope(e)}},n4=class extends pa{constructor(e){super(e,1)}end(){this.applyUses()}},r4,i4,a4;r4=new WeakMap;i4=new WeakMap;a4=new WeakMap;var ri,ua,e_,jr,_4=class extends pa{constructor(e,t,a){super(a,1),Di(this,ri,void 0),Di(this,ua,void 0),Di(this,e_,void 0),Di(this,jr,new pa(this,1)),vn(this,ri,e),vn(this,e_,t)}addUse(e,t){if(t!==tt(this,jr))return tt(this,jr).addUse(e);this.uses.push(e)}createOrReuseEnumScope(e,t){return!t&&(!tt(this,ri)||tt(this,e_))?tt(this,jr).createOrReuseEnumScope(e,t):super.createOrReuseEnumScope(e,t)}createOrReuseNamespaceScope(e,t,a,o){return!t&&(!tt(this,ri)||tt(this,e_))?tt(this,jr).createOrReuseNamespaceScope(e,t,a||tt(this,ri),o):super.createOrReuseNamespaceScope(e,t,a||tt(this,ri),o)}end(e){tt(this,jr).end((t,a,o)=>{if(o!==tt(this,jr)||!t.exported&&(!tt(this,ri)||tt(this,ua)!==void 0&&!tt(this,ua).has(a.text)))return e(t,a,o);let h=this.variables.get(a.text);if(h===void 0)this.variables.set(a.text,{declarations:t.declarations.map(i0),domain:t.domain,uses:[...t.uses]});else{e:for(let g of t.declarations)for(let E of h.declarations){if(E.declaration===g)continue e;h.declarations.push(i0(g))}h.domain|=t.domain;for(let g of t.uses)h.uses.includes(g)||h.uses.push(g)}}),this.applyUses(),vn(this,jr,new pa(this,1))}finish(e){return super.end(e)}getDestinationScope(){return tt(this,jr)}markExported(e){tt(this,ua)===void 0&&vn(this,ua,new Set),tt(this,ua).add(e.text)}refresh(e,t){vn(this,ri,e),vn(this,e_,t)}};ri=new WeakMap;ua=new WeakMap;e_=new WeakMap;jr=new WeakMap;function i0(e){return{declaration:e,domain:e4(e),exported:!0}}var o0=class extends pa{constructor(e){super(e,1)}beginBody(){this.applyUses()}},Ls,t_,s4=class extends pa{constructor(e,t,a){super(a,1),Di(this,Ls,void 0),Di(this,t_,void 0),vn(this,t_,e),vn(this,Ls,t)}addUse(e,t){if(t!==this.innerScope)return this.innerScope.addUse(e);if(e.domain&tt(this,Ls)&&e.location.text===tt(this,t_).text)this.uses.push(e);else return this.parent.addUse(e,this)}end(e){return this.innerScope.end(e),e({declarations:[tt(this,t_)],domain:tt(this,Ls),exported:!1,inGlobalScope:!1,uses:this.uses},tt(this,t_),this)}getDestinationScope(){return this.innerScope}getFunctionScope(){return this.innerScope}};Ls=new WeakMap;t_=new WeakMap;var o4=class extends s4{constructor(e,t){super(e,4,t),this.innerScope=new o0(this)}beginBody(){return this.innerScope.beginBody()}},c4;c4=new WeakMap;var Bl,l4=class extends pa{constructor(e){super(e,8),Di(this,Bl,0)}addUse(e){return tt(this,Bl)===2?void this.uses.push(e):this.parent.addUse(e,this)}updateState(e){vn(this,Bl,e)}};Bl=new WeakMap;var u4,In,c0,l0,p4,f4,u0,p0,d4,m4,h4,y4,g4,b4;u4=new WeakMap;In=new WeakMap;c0=new WeakSet;l0=function(e,t,a){if(e.kind===ce.Identifier)return tt(this,In).addVariable(e.text,e,t?3:1,a,4);f0(e,o=>{tt(this,In).addVariable(o.name.text,o.name,t?3:1,a,4)})};p4=new WeakSet;f4=function(e,t,a){let o=tt(this,In),h=vn(this,In,new l4(o));t(e.checkType),h.updateState(1),t(e.extendsType),h.updateState(2),t(e.trueType),h.updateState(3),t(e.falseType),h.end(a),vn(this,In,o)};u0=new WeakSet;p0=function(e,t,a){e.name!==void 0&&tt(this,In).addVariable(e.name.text,e.name,t?3:1,ql(e.modifiers,ce.ExportKeyword),a)};d4=new WeakSet;m4=function(e,t,a){var g;Kv(e)&&((g=Zv(e))==null||g.forEach(t));let o=tt(this,In);e.kind===ce.FunctionDeclaration&&_0(this,u0,p0).call(this,e,!1,4);let h=vn(this,In,e.kind===ce.FunctionExpression&&e.name!==void 0?new o4(e.name,o):new o0(o));e.name!==void 0&&t(e.name),e.typeParameters!==void 0&&e.typeParameters.forEach(t),e.parameters.forEach(t),e.type!==void 0&&t(e.type),e.body!==void 0&&(h.beginBody(),t(e.body)),h.end(a),vn(this,In,o)};h4=new WeakSet;y4=function(e,t){if(e.flags&Xt.GlobalAugmentation)return t(e,tt(this,In).createOrReuseNamespaceScope("-global",!1,!0,!1));if(e.name.kind===ce.Identifier){let a=v4(e);tt(this,In).addVariable(e.name.text,e.name,1,a,5);let o=ql(e.modifiers,ce.DeclareKeyword);return t(e,tt(this,In).createOrReuseNamespaceScope(e.name.text,a,o,o&&a0(e)))}return t(e,tt(this,In).createOrReuseNamespaceScope(`"${e.name.text}"`,!1,!0,a0(e)))};g4=new WeakSet;b4=function(e){let t=T4(e),a=e.parent.kind===ce.VariableStatement&&ql(e.parent.modifiers,ce.ExportKeyword);for(let o of e.declarations)_0(this,c0,l0).call(this,o.name,t,a)};function v4(e){return e.parent.kind===ce.ModuleDeclaration||ql(e.modifiers,ce.ExportKeyword)}function a0(e){return e.body===void 0||e.body.kind!==ce.ModuleBlock?!1:x4(e.body)}function x4(e){for(let t of e.statements)if(t.kind===ce.ExportDeclaration||t.kind===ce.ExportAssignment)return!0;return!1}function T4(e){return(e.flags&Xt.BlockScoped)!==0}function f0(e,t){for(let a of e.elements){if(a.kind!==ce.BindingElement)continue;let o;if(a.name.kind===ce.Identifier?o=t(a):o=f0(a.name,t),o)return o}}function d0(e,t){let a=[];return s0(e,(o,h)=>{let g=h.kind===ce.SingleLineCommentTrivia?Ft.Line:Ft.Block,E=[h.pos,h.end],C=ni(E,e),l=E[0]+2,Z=h.kind===ce.SingleLineCommentTrivia?E[1]-l:E[1]-l-2;a.push({type:g,value:t.slice(l,l+Z),range:E,loc:C})},e),a}var m0=()=>{};function h0(e,t,a){let{parseDiagnostics:o}=e;if(o.length)throw xd(o[0]);let h=new Ul(e,{allowInvalidAST:t.allowInvalidAST,errorOnUnknownASTType:t.errorOnUnknownASTType,shouldPreserveNodeMaps:a,suppressDeprecatedPropertyWarnings:t.suppressDeprecatedPropertyWarnings}),g=h.convertProgram();(!t.range||!t.loc)&&m0(g,{enter:C=>{t.range||delete C.range,t.loc||delete C.loc}}),t.tokens&&(g.tokens=Hh(e)),t.comment&&(g.comments=d0(e,t.codeFullText));let E=h.getASTMaps();return{estree:g,astMaps:E}}function zl(e){if(typeof e!="object"||e==null)return!1;let t=e;return t.kind===ce.SourceFile&&typeof t.getFullText=="function"}var D4=function(e){return e&&e.__esModule?e:{default:e}};var P4=D4({extname:e=>"."+e.split(".").pop()});function g0(e,t){switch(P4.default.extname(e).toLowerCase()){case gr.Js:case gr.Cjs:case gr.Mjs:return Jr.JS;case gr.Jsx:return Jr.JSX;case gr.Ts:case gr.Cts:case gr.Mts:return Jr.TS;case gr.Tsx:return Jr.TSX;case gr.Json:return Jr.JSON;default:return t?Jr.TSX:Jr.TS}}var I4={default:Ja},O4=(0,I4.default)("typescript-eslint:typescript-estree:createSourceFile");function b0(e){return O4("Getting AST without type information in %s mode for: %s",e.jsx?"TSX":"TS",e.filePath),zl(e.code)?e.code:Eh(e.filePath,e.codeFullText,{languageVersion:Ps.Latest,jsDocParsingMode:e.jsDocParsingMode},!0,g0(e.filePath,e.jsx))}var v0=()=>{};var x0=e=>e;var T0=class{};var w0=()=>!1;var k0=()=>{};var wd={default:Ja},W4=(0,wd.default)("typescript-eslint:typescript-estree:parser:parseSettings:createParseSettings"),G4,Y4=null,E0,A0,C0,D0,Rs={ParseAll:(E0=$a)==null?void 0:E0.ParseAll,ParseNone:(A0=$a)==null?void 0:A0.ParseNone,ParseForTypeErrors:(C0=$a)==null?void 0:C0.ParseForTypeErrors,ParseForTypeInfo:(D0=$a)==null?void 0:D0.ParseForTypeInfo};function P0(e,t={}){var l;let a=H4(e),o=w0(t),h=typeof t.tsconfigRootDir=="string"?t.tsconfigRootDir:"/prettier-security-dirname-placeholder",g=typeof t.loggerFn=="function",E=(()=>{switch(t.jsDocParsingMode){case"all":return Rs.ParseAll;case"none":return Rs.ParseNone;case"type-info":return Rs.ParseForTypeInfo;default:return Rs.ParseAll}})(),C={allowInvalidAST:t.allowInvalidAST===!0,code:e,codeFullText:a,comment:t.comment===!0,comments:[],debugLevel:t.debugLevel===!0?new Set(["typescript-eslint"]):Array.isArray(t.debugLevel)?new Set(t.debugLevel):new Set,errorOnTypeScriptSyntacticAndSemanticIssues:!1,errorOnUnknownASTType:t.errorOnUnknownASTType===!0,extraFileExtensions:Array.isArray(t.extraFileExtensions)&&t.extraFileExtensions.every(Z=>typeof Z=="string")?t.extraFileExtensions:[],filePath:x0(typeof t.filePath=="string"&&t.filePath!==""?t.filePath:X4(t.jsx),h),jsDocParsingMode:E,jsx:t.jsx===!0,loc:t.loc===!0,log:typeof t.loggerFn=="function"?t.loggerFn:t.loggerFn===!1?()=>{}:console.log,preserveNodeMaps:t.preserveNodeMaps!==!1,programs:Array.isArray(t.programs)?t.programs:null,projects:new Map,projectService:t.projectService||t.project&&t.projectService!==!1&&(void 0).env.TYPESCRIPT_ESLINT_PROJECT_SERVICE==="true"?Y4??(Y4=v0(t.projectService,E)):void 0,range:t.range===!0,singleRun:o,suppressDeprecatedPropertyWarnings:t.suppressDeprecatedPropertyWarnings??!0,tokens:t.tokens===!0?[]:null,tsconfigMatchCache:G4??(G4=new T0(o?"Infinity":((l=t.cacheLifetime)==null?void 0:l.glob)??void 0)),tsconfigRootDir:h};if(C.debugLevel.size>0){let Z=[];C.debugLevel.has("typescript-eslint")&&Z.push("typescript-eslint:*"),(C.debugLevel.has("eslint")||wd.default.enabled("eslint:*,-eslint:code-path"))&&Z.push("eslint:*,-eslint:code-path"),wd.default.enable(Z.join(","))}if(Array.isArray(t.programs)){if(!t.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.");W4("parserOptions.programs was provided, so parserOptions.project will be ignored.")}return!C.programs&&!C.projectService&&(C.projects=new Map),t.jsDocParsingMode==null&&C.projects.size===0&&C.programs==null&&C.projectService==null&&(C.jsDocParsingMode=Rs.ParseNone),k0(C,g),C}function H4(e){return zl(e)?e.getFullText(e):typeof e=="string"?e:String(e)}function X4(e){return e?"estree.tsx":"estree.ts"}var Z4={default:Ja},iS=(0,Z4.default)("typescript-eslint:typescript-estree:parser");function N0(e,t){let{ast:a}=e3(e,t,!1);return a}function e3(e,t,a){let o=P0(e,t);if(t!=null&&t.errorOnTypeScriptSyntacticAndSemanticIssues)throw new Error('"errorOnTypeScriptSyntacticAndSemanticIssues" is only supported for parseAndGenerateServices()');let h=b0(o),{estree:g,astMaps:E}=h0(h,o,a);return{ast:g,esTreeNodeToTSNodeMap:E.esTreeNodeToTSNodeMap,tsNodeToESTreeNodeMap:E.tsNodeToESTreeNodeMap}}function t3(e,t){let a=new SyntaxError(e+" ("+t.loc.start.line+":"+t.loc.start.column+")");return Object.assign(a,t)}var I0=t3;function n3(e){let t=[];for(let a of e)try{return a()}catch(o){t.push(o)}throw Object.assign(new Error("All combinations failed"),{errors:t})}var O0=n3;var r3=(e,t,a)=>{if(!(e&&t==null))return Array.isArray(t)||typeof t=="string"?t[a<0?t.length+a:a]:t.at(a)},kd=r3;function i3(e){return Array.isArray(e)&&e.length>0}var M0=i3;function Fn(e){var o,h,g;let t=((o=e.range)==null?void 0:o[0])??e.start,a=(g=((h=e.declaration)==null?void 0:h.decorators)??e.decorators)==null?void 0:g[0];return a?Math.min(Fn(a),t):t}function Lr(e){var t;return((t=e.range)==null?void 0:t[1])??e.end}function a3(e){let t=new Set(e);return a=>t.has(a==null?void 0:a.type)}var J0=a3;var _3=J0(["Block","CommentBlock","MultiLine"]),Us=_3;function s3(e){let t=`*${e.value}*`.split(` +`);return t.length>1&&t.every(a=>a.trimStart()[0]==="*")}var Ed=s3;function o3(e){return Us(e)&&e.value[0]==="*"&&/@(?:type|satisfies)\b/u.test(e.value)}var j0=o3;var Bs=null;function qs(e){if(Bs!==null&&typeof Bs.property){let t=Bs;return Bs=qs.prototype=null,t}return Bs=qs.prototype=e??Object.create(null),new qs}var c3=10;for(let e=0;e<=c3;e++)qs();function Ad(e){return qs(e)}function l3(e,t="type"){Ad(e);function a(o){let h=o[t],g=e[h];if(!Array.isArray(g))throw Object.assign(new Error(`Missing visitor keys for '${h}'.`),{node:o});return g}return a}var L0=l3;var R0={ArrayExpression:["elements"],AssignmentExpression:["left","right"],BinaryExpression:["left","right"],InterpreterDirective:[],Directive:["value"],DirectiveLiteral:[],BlockStatement:["directives","body"],BreakStatement:["label"],CallExpression:["callee","arguments","typeParameters","typeArguments"],CatchClause:["param","body"],ConditionalExpression:["test","consequent","alternate"],ContinueStatement:["label"],DebuggerStatement:[],DoWhileStatement:["test","body"],EmptyStatement:[],ExpressionStatement:["expression"],File:["program"],ForInStatement:["left","right","body"],ForStatement:["init","test","update","body"],FunctionDeclaration:["id","params","body","returnType","typeParameters","predicate"],FunctionExpression:["id","params","body","returnType","typeParameters"],Identifier:["typeAnnotation","decorators"],IfStatement:["test","consequent","alternate"],LabeledStatement:["label","body"],StringLiteral:[],NumericLiteral:[],NullLiteral:[],BooleanLiteral:[],RegExpLiteral:[],LogicalExpression:["left","right"],MemberExpression:["object","property"],NewExpression:["callee","arguments","typeParameters","typeArguments"],Program:["directives","body"],ObjectExpression:["properties"],ObjectMethod:["key","params","body","decorators","returnType","typeParameters"],ObjectProperty:["key","value","decorators"],RestElement:["argument","typeAnnotation","decorators"],ReturnStatement:["argument"],SequenceExpression:["expressions"],ParenthesizedExpression:["expression"],SwitchCase:["test","consequent"],SwitchStatement:["discriminant","cases"],ThisExpression:[],ThrowStatement:["argument"],TryStatement:["block","handler","finalizer"],UnaryExpression:["argument"],UpdateExpression:["argument"],VariableDeclaration:["declarations"],VariableDeclarator:["id","init"],WhileStatement:["test","body"],WithStatement:["object","body"],AssignmentPattern:["left","right","decorators","typeAnnotation"],ArrayPattern:["elements","typeAnnotation","decorators"],ArrowFunctionExpression:["params","body","returnType","typeParameters","predicate"],ClassBody:["body"],ClassExpression:["id","body","superClass","mixins","typeParameters","superTypeParameters","implements","decorators","superTypeArguments"],ClassDeclaration:["id","body","superClass","mixins","typeParameters","superTypeParameters","implements","decorators","superTypeArguments"],ExportAllDeclaration:["source","attributes","exported"],ExportDefaultDeclaration:["declaration"],ExportNamedDeclaration:["declaration","specifiers","source","attributes"],ExportSpecifier:["local","exported"],ForOfStatement:["left","right","body"],ImportDeclaration:["specifiers","source","attributes"],ImportDefaultSpecifier:["local"],ImportNamespaceSpecifier:["local"],ImportSpecifier:["local","imported"],ImportExpression:["source","options","attributes"],MetaProperty:["meta","property"],ClassMethod:["key","params","body","decorators","returnType","typeParameters"],ObjectPattern:["properties","typeAnnotation","decorators"],SpreadElement:["argument"],Super:[],TaggedTemplateExpression:["tag","quasi","typeParameters","typeArguments"],TemplateElement:[],TemplateLiteral:["quasis","expressions"],YieldExpression:["argument"],AwaitExpression:["argument"],Import:[],BigIntLiteral:[],ExportNamespaceSpecifier:["exported"],OptionalMemberExpression:["object","property"],OptionalCallExpression:["callee","arguments","typeParameters","typeArguments"],ClassProperty:["key","value","typeAnnotation","decorators","variance"],ClassAccessorProperty:["key","value","typeAnnotation","decorators"],ClassPrivateProperty:["key","value","decorators","typeAnnotation","variance"],ClassPrivateMethod:["key","params","body","decorators","returnType","typeParameters"],PrivateName:["id"],StaticBlock:["body"],AnyTypeAnnotation:[],ArrayTypeAnnotation:["elementType"],BooleanTypeAnnotation:[],BooleanLiteralTypeAnnotation:[],NullLiteralTypeAnnotation:[],ClassImplements:["id","typeParameters"],DeclareClass:["id","typeParameters","extends","mixins","implements","body"],DeclareFunction:["id","predicate"],DeclareInterface:["id","typeParameters","extends","body"],DeclareModule:["id","body"],DeclareModuleExports:["typeAnnotation"],DeclareTypeAlias:["id","typeParameters","right"],DeclareOpaqueType:["id","typeParameters","supertype"],DeclareVariable:["id"],DeclareExportDeclaration:["declaration","specifiers","source"],DeclareExportAllDeclaration:["source"],DeclaredPredicate:["value"],ExistsTypeAnnotation:[],FunctionTypeAnnotation:["typeParameters","params","rest","returnType","this"],FunctionTypeParam:["name","typeAnnotation"],GenericTypeAnnotation:["id","typeParameters"],InferredPredicate:[],InterfaceExtends:["id","typeParameters"],InterfaceDeclaration:["id","typeParameters","extends","body"],InterfaceTypeAnnotation:["extends","body"],IntersectionTypeAnnotation:["types"],MixedTypeAnnotation:[],EmptyTypeAnnotation:[],NullableTypeAnnotation:["typeAnnotation"],NumberLiteralTypeAnnotation:[],NumberTypeAnnotation:[],ObjectTypeAnnotation:["properties","indexers","callProperties","internalSlots"],ObjectTypeInternalSlot:["id","value"],ObjectTypeCallProperty:["value"],ObjectTypeIndexer:["id","key","value","variance"],ObjectTypeProperty:["key","value","variance"],ObjectTypeSpreadProperty:["argument"],OpaqueType:["id","typeParameters","supertype","impltype"],QualifiedTypeIdentifier:["id","qualification"],StringLiteralTypeAnnotation:[],StringTypeAnnotation:[],SymbolTypeAnnotation:[],ThisTypeAnnotation:[],TupleTypeAnnotation:["types","elementTypes"],TypeofTypeAnnotation:["argument","typeArguments"],TypeAlias:["id","typeParameters","right"],TypeAnnotation:["typeAnnotation"],TypeCastExpression:["expression","typeAnnotation"],TypeParameter:["bound","default","variance"],TypeParameterDeclaration:["params"],TypeParameterInstantiation:["params"],UnionTypeAnnotation:["types"],Variance:[],VoidTypeAnnotation:[],EnumDeclaration:["id","body"],EnumBooleanBody:["members"],EnumNumberBody:["members"],EnumStringBody:["members"],EnumSymbolBody:["members"],EnumBooleanMember:["id","init"],EnumNumberMember:["id","init"],EnumStringMember:["id","init"],EnumDefaultedMember:["id"],IndexedAccessType:["objectType","indexType"],OptionalIndexedAccessType:["objectType","indexType"],JSXAttribute:["name","value"],JSXClosingElement:["name"],JSXElement:["openingElement","children","closingElement"],JSXEmptyExpression:[],JSXExpressionContainer:["expression"],JSXSpreadChild:["expression"],JSXIdentifier:[],JSXMemberExpression:["object","property"],JSXNamespacedName:["namespace","name"],JSXOpeningElement:["name","attributes","typeArguments","typeParameters"],JSXSpreadAttribute:["argument"],JSXText:[],JSXFragment:["openingFragment","children","closingFragment"],JSXOpeningFragment:[],JSXClosingFragment:[],Noop:[],Placeholder:[],V8IntrinsicIdentifier:[],ArgumentPlaceholder:[],BindExpression:["object","callee"],ImportAttribute:["key","value"],Decorator:["expression"],DoExpression:["body"],ExportDefaultSpecifier:["exported"],RecordExpression:["properties"],TupleExpression:["elements"],DecimalLiteral:[],ModuleExpression:["body"],TopicReference:[],PipelineTopicExpression:["expression"],PipelineBareFunction:["callee"],PipelinePrimaryTopicReference:[],TSParameterProperty:["parameter","decorators"],TSDeclareFunction:["id","typeParameters","params","returnType","body"],TSDeclareMethod:["decorators","key","typeParameters","params","returnType"],TSQualifiedName:["left","right"],TSCallSignatureDeclaration:["typeParameters","parameters","typeAnnotation","params","returnType"],TSConstructSignatureDeclaration:["typeParameters","parameters","typeAnnotation","params","returnType"],TSPropertySignature:["key","typeAnnotation"],TSMethodSignature:["key","typeParameters","parameters","typeAnnotation","params","returnType"],TSIndexSignature:["parameters","typeAnnotation"],TSAnyKeyword:[],TSBooleanKeyword:[],TSBigIntKeyword:[],TSIntrinsicKeyword:[],TSNeverKeyword:[],TSNullKeyword:[],TSNumberKeyword:[],TSObjectKeyword:[],TSStringKeyword:[],TSSymbolKeyword:[],TSUndefinedKeyword:[],TSUnknownKeyword:[],TSVoidKeyword:[],TSThisType:[],TSFunctionType:["typeParameters","parameters","typeAnnotation","params","returnType"],TSConstructorType:["typeParameters","parameters","typeAnnotation","params","returnType"],TSTypeReference:["typeName","typeParameters","typeArguments"],TSTypePredicate:["parameterName","typeAnnotation"],TSTypeQuery:["exprName","typeParameters","typeArguments"],TSTypeLiteral:["members"],TSArrayType:["elementType"],TSTupleType:["elementTypes"],TSOptionalType:["typeAnnotation"],TSRestType:["typeAnnotation"],TSNamedTupleMember:["label","elementType"],TSUnionType:["types"],TSIntersectionType:["types"],TSConditionalType:["checkType","extendsType","trueType","falseType"],TSInferType:["typeParameter"],TSParenthesizedType:["typeAnnotation"],TSTypeOperator:["typeAnnotation"],TSIndexedAccessType:["objectType","indexType"],TSMappedType:["typeParameter","typeAnnotation","nameType"],TSLiteralType:["literal"],TSExpressionWithTypeArguments:["expression","typeParameters"],TSInterfaceDeclaration:["id","typeParameters","extends","body"],TSInterfaceBody:["body"],TSTypeAliasDeclaration:["id","typeParameters","typeAnnotation"],TSInstantiationExpression:["expression","typeParameters","typeArguments"],TSAsExpression:["expression","typeAnnotation"],TSSatisfiesExpression:["expression","typeAnnotation"],TSTypeAssertion:["typeAnnotation","expression"],TSEnumDeclaration:["id","members"],TSEnumMember:["id","initializer"],TSModuleDeclaration:["id","body"],TSModuleBlock:["body"],TSImportType:["argument","qualifier","typeParameters","typeArguments"],TSImportEqualsDeclaration:["id","moduleReference"],TSExternalModuleReference:["expression"],TSNonNullExpression:["expression"],TSExportAssignment:["expression"],TSNamespaceExportDeclaration:["id"],TSTypeAnnotation:["typeAnnotation"],TSTypeParameterInstantiation:["params"],TSTypeParameterDeclaration:["params"],TSTypeParameter:["constraint","default","name"],ChainExpression:["expression"],ExperimentalRestProperty:["argument"],ExperimentalSpreadProperty:["argument"],Literal:[],MethodDefinition:["decorators","key","value"],PrivateIdentifier:[],Property:["key","value"],PropertyDefinition:["decorators","key","typeAnnotation","value","variance"],AccessorProperty:["decorators","key","typeAnnotation","value"],TSAbstractAccessorProperty:["decorators","key","typeAnnotation"],TSAbstractKeyword:[],TSAbstractMethodDefinition:["key","value"],TSAbstractPropertyDefinition:["decorators","key","typeAnnotation"],TSAsyncKeyword:[],TSClassImplements:["expression","typeArguments","typeParameters"],TSDeclareKeyword:[],TSEmptyBodyFunctionExpression:["id","typeParameters","params","returnType"],TSEnumBody:["members"],TSExportKeyword:[],TSInterfaceHeritage:["expression","typeArguments","typeParameters"],TSPrivateKeyword:[],TSProtectedKeyword:[],TSPublicKeyword:[],TSReadonlyKeyword:[],TSStaticKeyword:[],TSTemplateLiteralType:["quasis","types"],AsConstExpression:["expression"],AsExpression:["expression","typeAnnotation"],BigIntLiteralTypeAnnotation:[],BigIntTypeAnnotation:[],ComponentDeclaration:["id","params","body","typeParameters","rendersType"],ComponentParameter:["name","local"],ComponentTypeAnnotation:["params","rest","typeParameters","rendersType"],ComponentTypeParameter:["name","typeAnnotation"],ConditionalTypeAnnotation:["checkType","extendsType","trueType","falseType"],DeclareComponent:["id","params","rest","typeParameters","rendersType"],DeclareEnum:["id","body"],DeclareHook:["id"],DeclareNamespace:["id","body"],EnumBigIntBody:["members"],EnumBigIntMember:["id","init"],HookDeclaration:["id","params","body","typeParameters","returnType"],HookTypeAnnotation:["params","returnType","rest","typeParameters"],InferTypeAnnotation:["typeParameter"],KeyofTypeAnnotation:["argument"],ObjectTypeMappedTypeProperty:["keyTparam","propType","sourceType","variance"],QualifiedTypeofIdentifier:["qualification","id"],TupleTypeLabeledElement:["label","elementType","variance"],TupleTypeSpreadElement:["label","typeAnnotation"],TypeOperator:["typeAnnotation"],TypePredicate:["parameterName","typeAnnotation","asserts"],NGRoot:["node"],NGPipeExpression:["left","right","arguments"],NGChainedExpression:["expressions"],NGEmptyExpression:[],NGMicrosyntax:["body"],NGMicrosyntaxKey:[],NGMicrosyntaxExpression:["expression","alias"],NGMicrosyntaxKeyedExpression:["key","expression"],NGMicrosyntaxLet:["key","value"],NGMicrosyntaxAs:["key","alias"],JsExpressionRoot:["node"],JsonRoot:["node"],TSJSDocAllType:[],TSJSDocUnknownType:[],TSJSDocNullableType:["typeAnnotation"],TSJSDocNonNullableType:["typeAnnotation"],NeverTypeAnnotation:[],UndefinedTypeAnnotation:[],UnknownTypeAnnotation:[],SatisfiesExpression:["expression","typeAnnotation"]};var u3=L0(R0),U0=u3;function Cd(e,t){if(!(e!==null&&typeof e=="object"))return e;if(Array.isArray(e)){for(let o=0;o{var E;(E=g.leadingComments)!=null&&E.some(j0)&&h.add(Fn(g))}),e=Fl(e,g=>{if(g.type==="ParenthesizedExpression"){let{expression:E}=g;if(E.type==="TypeCastExpression")return E.range=[...g.range],E;let C=Fn(g);if(!h.has(C))return E.extra={...E.extra,parenthesized:!0},E}})}if(e=Fl(e,h=>{var g;switch(h.type){case"LogicalExpression":if(B0(h))return Dd(h);break;case"VariableDeclaration":{let E=kd(!1,h.declarations,-1);E!=null&&E.init&&o[Lr(E)]!==";"&&(h.range=[Fn(h),Lr(E)]);break}case"TSParenthesizedType":return h.typeAnnotation;case"TSTypeParameter":if(typeof h.name=="string"){let E=Fn(h);h.name={type:"Identifier",name:h.name,range:[E,E+h.name.length]}}break;case"TopicReference":e.extra={...e.extra,__isUsingHackPipeline:!0};break;case"ExportAllDeclaration":if(a==="meriyah"&&((g=h.exported)==null?void 0:g.type)==="Identifier"){let{exported:E}=h,C=o.slice(Fn(E),Lr(E));(C.startsWith('"')||C.startsWith("'"))&&(h.exported={...h.exported,type:"Literal",value:h.exported.name,raw:C})}break;case"TSUnionType":case"TSIntersectionType":if(h.types.length===1)return h.types[0];break}}),M0(e.comments)){let h=kd(!1,e.comments,-1);for(let g=e.comments.length-2;g>=0;g--){let E=e.comments[g];Lr(E)===Fn(h)&&Us(E)&&Us(h)&&Ed(E)&&Ed(h)&&(e.comments.splice(g+1,1),E.value+="*//*"+h.value,E.range=[Fn(E),Lr(h)]),h=E}}return e.type==="Program"&&(e.range=[0,o.length]),e}function B0(e){return e.type==="LogicalExpression"&&e.right.type==="LogicalExpression"&&e.operator===e.right.operator}function Dd(e){return B0(e)?Dd({type:"LogicalExpression",operator:e.operator,left:Dd({type:"LogicalExpression",operator:e.operator,left:e.left,right:e.right.left,range:[Fn(e.left),Lr(e.right.left)]}),right:e.right.right,range:[Fn(e),Lr(e)]}):e}var q0=p3;var f3=(e,t,a,o)=>{if(!(e&&t==null))return t.replaceAll?t.replaceAll(a,o):a.global?t.replace(a,o):t.split(a).join(o)},n_=f3;var d3=/\*\/$/,m3=/^\/\*\*?/,h3=/^\s*(\/\*\*?(.|\r?\n)*?\*\/)/,y3=/(^|\s+)\/\/([^\n\r]*)/g,z0=/^(\r?\n)+/,g3=/(?:^|\r?\n) *(@[^\n\r]*?) *\r?\n *(?![^\n\r@]*\/\/[^]*)([^\s@][^\n\r@]+?) *\r?\n/g,F0=/(?:^|\r?\n) *@(\S+) *([^\n\r]*)/g,b3=/(\r?\n|^) *\* ?/g,v3=[];function V0(e){let t=e.match(h3);return t?t[0].trimStart():""}function W0(e){let t=` +`;e=n_(!1,e.replace(m3,"").replace(d3,""),b3,"$1");let a="";for(;a!==e;)a=e,e=n_(!1,e,g3,`${t}$1 $2${t}`);e=e.replace(z0,"").trimEnd();let o=Object.create(null),h=n_(!1,e,F0,"").replace(z0,"").trimEnd(),g;for(;g=F0.exec(e);){let E=n_(!1,g[2],y3,"");if(typeof o[g[1]]=="string"||Array.isArray(o[g[1]])){let C=o[g[1]];o[g[1]]=[...v3,...Array.isArray(C)?C:[C],E]}else o[g[1]]=E}return{comments:h,pragmas:o}}function x3(e){if(!e.startsWith("#!"))return"";let t=e.indexOf(` +`);return t===-1?e:e.slice(0,t)}var G0=x3;function T3(e){let t=G0(e);t&&(e=e.slice(t.length+1));let a=V0(e),{pragmas:o,comments:h}=W0(a);return{shebang:t,text:e,pragmas:o,comments:h}}function Y0(e){let{pragmas:t}=T3(e);return Object.prototype.hasOwnProperty.call(t,"prettier")||Object.prototype.hasOwnProperty.call(t,"format")}function S3(e){return e=typeof e=="function"?{parse:e}:e,{astFormat:"estree",hasPragma:Y0,locStart:Fn,locEnd:Lr,...e}}var H0=S3;function w3(e){return e.charAt(0)==="#"&&e.charAt(1)==="!"?"//"+e.slice(2):e}var X0=w3;var Pd={loc:!0,range:!0,comment:!0,tokens:!0,loggerFn:!1,project:!1,jsDocParsingMode:"none",suppressDeprecatedPropertyWarnings:!0};function k3(e){if(!(e!=null&&e.location))return e;let{message:t,location:{start:a,end:o}}=e;return I0(t,{loc:{start:{line:a.line,column:a.column+1},end:{line:o.line,column:o.column+1}},cause:e})}var E3=e=>/\.(?:js|mjs|cjs|jsx|ts|mts|cts|tsx)$/iu.test(e);function A3(e,t){let a=t==null?void 0:t.filepath;if(a&&E3(a))return[{...Pd,filePath:a}];let o=D3(e);return[{...Pd,jsx:o},{...Pd,jsx:!o}]}function C3(e,t){let a=X0(e),o=A3(e,t),h;try{h=O0(o.map(g=>()=>N0(a,g)))}catch({errors:[g]}){throw k3(g)}return q0(h,{text:e})}function D3(e){return new RegExp(["(?:^[^\"'`]*)"].join(""),"mu").test(e)}var P3=H0(C3);return xy(N3);}); \ No newline at end of file diff --git a/node_modules/prettier/plugins/typescript.mjs b/node_modules/prettier/plugins/typescript.mjs index ce93f7d48a..95b089a827 100644 --- a/node_modules/prettier/plugins/typescript.mjs +++ b/node_modules/prettier/plugins/typescript.mjs @@ -1,27 +1,20 @@ -var xC=Object.create;var Bd=Object.defineProperty;var SC=Object.getOwnPropertyDescriptor;var wC=Object.getOwnPropertyNames;var EC=Object.getPrototypeOf,CC=Object.prototype.hasOwnProperty;var $6=(e,t)=>()=>(e&&(t=e(e=0)),t);var tt=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),Ud=(e,t)=>{for(var n in t)Bd(e,n,{get:t[n],enumerable:!0})},Q6=(e,t,n,i)=>{if(t&&typeof t=="object"||typeof t=="function")for(let s of wC(t))!CC.call(e,s)&&s!==n&&Bd(e,s,{get:()=>t[s],enumerable:!(i=SC(t,s))||i.enumerable});return e};var Xy=(e,t,n)=>(n=e!=null?xC(EC(e)):{},Q6(t||!e||!e.__esModule?Bd(n,"default",{value:e,enumerable:!0}):n,e)),jr=e=>Q6(Bd({},"__esModule",{value:!0}),e);var qd={};Ud(qd,{default:()=>AC});var kC,AC,zd=$6(()=>{kC=()=>()=>{},AC=kC});var Cn=tt((GK,W7)=>{var DC=Object.defineProperty,Mv=Object.getOwnPropertyNames,Ht=(e,t)=>function(){return e&&(t=(0,e[Mv(e)[0]])(e=0)),t},PC=(e,t)=>function(){return t||(0,e[Mv(e)[0]])((t={exports:{}}).exports,t),t.exports},NC=(e,t)=>{for(var n in t)DC(e,n,{get:t[n],enumerable:!0})},Lv,uf,nh,IC=Ht({"src/compiler/corePublic.ts"(){"use strict";Lv="5.1",uf="5.1.5",nh=(e=>(e[e.LessThan=-1]="LessThan",e[e.EqualTo=0]="EqualTo",e[e.GreaterThan=1]="GreaterThan",e))(nh||{})}});function Ha(e){return e?e.length:0}function hn(e,t){if(e)for(let n=0;n=0;n--){let i=t(e[n],n);if(i)return i}}function og(e,t){if(e!==void 0)for(let n=0;n=0;i--){let s=e[i];if(t(s,i))return s}}function el(e,t,n){if(e===void 0)return-1;for(let i=n??0;i=0;i--)if(t(e[i],i))return i;return-1}function FC(e,t){for(let n=0;nn(i,t[s]))}function Rv(e,t,n){for(let i=n||0;i{let l=t(s,i);if(l!==void 0){let[d,y]=l;d!==void 0&&y!==void 0&&n.set(d,y)}}),n}function GC(e,t,n){if(e.has(t))return e.get(t);let i=n();return e.set(t,i),i}function XC(e,t){return e.has(t)?!1:(e.add(t),!0)}function*$C(e){yield e}function QC(e,t,n){let i;if(e){i=[];let s=e.length,l,d,y=0,p=0;for(;y{let[l,d]=t(s,i);n.set(l,d)}),n}function ft(e,t){if(e)if(t){for(let n of e)if(t(n))return!0}else return e.length>0;return!1}function ZC(e,t,n){let i;for(let s=0;se[d])}function n9(e,t){let n=[];for(let i of e)wl(n,i,t);return n}function Bv(e,t,n){return e.length===0?[]:e.length===1?e.slice():n?t9(e,t,n):n9(e,t)}function r9(e,t){if(e.length===0)return Xe;let n=e[0],i=[n];for(let s=1;s0&&(s&=-2),s&2&&i(l,p)>0&&(s&=-3),l=p}return s}function s9(e,t,n=to){if(!e||!t)return e===t;if(e.length!==t.length)return!1;for(let i=0;i0&&M.assertGreaterThanOrEqual(n(t[l],t[l-1]),0);t:for(let d=s;sd&&M.assertGreaterThanOrEqual(n(e[s],e[s-1]),0),n(t[l],e[s])){case-1:i.push(t[l]);continue e;case 0:continue e;case 1:continue t}}return i}function Tt(e,t){return t===void 0?e:e===void 0?[t]:(e.push(t),e)}function l9(e,t){return e===void 0?t:t===void 0?e:Wt(e)?Wt(t)?d_(e,t):Tt(e,t):Wt(t)?Tt(t,e):[e,t]}function ih(e,t){return t<0?e.length+t:t}function Mn(e,t,n,i){if(t===void 0||t.length===0)return e;if(e===void 0)return t.slice(n,i);n=n===void 0?0:ih(t,n),i=i===void 0?t.length:ih(t,i);for(let s=n;sn(e[i],e[s])||wn(i,s))}function pf(e,t){return e.length===0?e:e.slice().sort(t)}function*u9(e){for(let t=e.length-1;t>=0;t--)yield e[t]}function Wv(e,t){let n=_g(e);return zv(e,n,t),n.map(i=>e[i])}function p9(e,t,n,i){for(;n>1),p=n(e[y],y);switch(i(p,t)){case-1:l=y+1;break;case 0:return y;case 1:d=y-1;break}}return~l}function em(e,t,n,i,s){if(e&&e.length>0){let l=e.length;if(l>0){let d=i===void 0||i<0?0:i,y=s===void 0||d+s>l-1?l-1:d+s,p;for(arguments.length<=2?(p=e[d],d++):p=n;d<=y;)p=t(p,e[d],d),d++;return p}}return n}function Xn(e,t){return Dr.call(e,t)}function g9(e,t){return Dr.call(e,t)?e[t]:void 0}function lg(e){let t=[];for(let n in e)Dr.call(e,n)&&t.push(n);return t}function b9(e){let t=[];do{let n=Object.getOwnPropertyNames(e);for(let i of n)wl(t,i)}while(e=Object.getPrototypeOf(e));return t}function v9(e){let t=[];for(let n in e)Dr.call(e,n)&&t.push(e[n]);return t}function T9(e,t){let n=new Array(e);for(let i=0;i100&&n>t.length>>1){let y=t.length-n;t.copyWithin(0,n),t.length=y,n=0}return d}return{enqueue:s,dequeue:l,isEmpty:i}}function O9(e,t){let n=new Map,i=0;function*s(){for(let d of n.values())Wt(d)?yield*d:yield d}let l={has(d){let y=e(d);if(!n.has(y))return!1;let p=n.get(y);if(!Wt(p))return t(p,d);for(let x of p)if(t(x,d))return!0;return!1},add(d){let y=e(d);if(n.has(y)){let p=n.get(y);if(Wt(p))ns(p,d,t)||(p.push(d),i++);else{let x=p;t(x,d)||(n.set(y,[x,d]),i++)}}else n.set(y,d),i++;return this},delete(d){let y=e(d);if(!n.has(y))return!1;let p=n.get(y);if(Wt(p)){for(let x=0;xs(),[Symbol.toStringTag]:n[Symbol.toStringTag]};return l}function Wt(e){return Array.isArray(e)}function Gd(e){return Wt(e)?e:[e]}function m_(e){return typeof e=="string"}function M9(e){return typeof e=="number"}function kr(e,t){return e!==void 0&&t(e)?e:void 0}function mi(e,t){return e!==void 0&&t(e)?e:M.fail(`Invalid cast. The supplied value ${e} did not pass the test '${M.getFunctionName(t)}'.`)}function Pr(e){}function df(){return!1}function Gv(){return!0}function L9(){}function ht(e){return e}function Xv(e){return e.toLowerCase()}function $v(e){return sh.test(e)?e.replace(sh,Xv):e}function J9(){throw new Error("Not implemented")}function ah(e){let t;return()=>(e&&(t=e(),e=void 0),t)}function Cr(e){let t=new Map;return n=>{let i=`${typeof n}:${n}`,s=t.get(i);return s===void 0&&!t.has(i)&&(s=e(n),t.set(i,s)),s}}function R9(e){let t=new WeakMap;return n=>{let i=t.get(n);return i===void 0&&!t.has(n)&&(i=e(n),t.set(n,i)),i}}function F9(e,t){return(...n)=>{let i=t.get(n);return i===void 0&&!t.has(n)&&(i=e(...n),t.set(n,i)),i}}function j9(e,t,n,i,s){if(s){let l=[];for(let d=0;dem(l,(y,p)=>p(y),d)}else return i?l=>i(n(t(e(l)))):n?l=>n(t(e(l))):t?l=>t(e(l)):e?l=>e(l):l=>l}function to(e,t){return e===t}function i_(e,t){return e===t||e!==void 0&&t!==void 0&&e.toUpperCase()===t.toUpperCase()}function Cl(e,t){return to(e,t)}function Qv(e,t){return e===t?0:e===void 0?-1:t===void 0?1:et(n,i)===-1?n:i)}function rm(e,t){return e===t?0:e===void 0?-1:t===void 0?1:(e=e.toUpperCase(),t=t.toUpperCase(),et?1:0)}function q9(e,t){return e===t?0:e===void 0?-1:t===void 0?1:(e=e.toLowerCase(),t=t.toLowerCase(),et?1:0)}function xi(e,t){return Qv(e,t)}function ug(e){return e?rm:xi}function z9(){return mf}function Yv(e){mf!==e&&(mf=e,ch=void 0)}function W9(e,t){return(ch||(ch=_T(mf)))(e,t)}function V9(e,t,n,i){return e===t?0:e===void 0?-1:t===void 0?1:i(e[n],t[n])}function H9(e,t){return wn(e?1:0,t?1:0)}function Zv(e,t,n){let i=Math.max(2,Math.floor(e.length*.34)),s=Math.floor(e.length*.4)+1,l;for(let d of t){let y=n(d);if(y!==void 0&&Math.abs(y.length-e.length)<=i){if(y===e||y.length<3&&y.toLowerCase()!==e.toLowerCase())continue;let p=K9(e,y,s-.1);if(p===void 0)continue;M.assert(pn?y-n:1),h=Math.floor(t.length>n+y?n+y:t.length);s[0]=y;let D=y;for(let g=1;gn)return;let w=i;i=s,s=w}let d=i[t.length];return d>n?void 0:d}function rs(e,t){let n=e.length-t.length;return n>=0&&e.indexOf(t,n)===n}function G9(e,t){return rs(e,t)?e.slice(0,e.length-t.length):e}function X9(e,t){return rs(e,t)?e.slice(0,e.length-t.length):void 0}function Ga(e,t){return e.indexOf(t)!==-1}function $9(e){let t=e.length;for(let n=t-1;n>0;n--){let i=e.charCodeAt(n);if(i>=48&&i<=57)do--n,i=e.charCodeAt(n);while(n>0&&i>=48&&i<=57);else if(n>4&&(i===110||i===78)){if(--n,i=e.charCodeAt(n),i!==105&&i!==73||(--n,i=e.charCodeAt(n),i!==109&&i!==77))break;--n,i=e.charCodeAt(n)}else break;if(i!==45&&i!==46)break;t=n}return t===e.length?e:e.slice(0,t)}function Q9(e,t){for(let n=0;nn===t)}function Y9(e,t){for(let n=0;ns&&(s=d.prefix.length,i=l)}return i}function Jn(e,t){return e.lastIndexOf(t,0)===0}function t5(e,t){return Jn(e,t)?e.substr(t.length):e}function rT(e,t,n=ht){return Jn(n(e),n(t))?e.substring(t.length):void 0}function dg({prefix:e,suffix:t},n){return n.length>=e.length+t.length&&Jn(n,e)&&rs(n,t)}function n5(e,t){return n=>e(n)&&t(n)}function fg(...e){return(...t)=>{let n;for(let i of e)if(n=i(...t),n)return n;return n}}function r5(e){return(...t)=>!e(...t)}function i5(e){}function ff(e){return e===void 0?void 0:[e]}function a5(e,t,n,i,s,l){l=l||Pr;let d=0,y=0,p=e.length,x=t.length,h=!1;for(;d=0&&qi(e.charCodeAt(t));)t--;return e.slice(0,t+1)}function u5(){return!1}var Xe,mg,oT,oh,sT,Dr,sh,_h,_T,ch,mf,am,e_,ll,p5=Ht({"src/compiler/core.ts"(){"use strict";En(),Xe=[],mg=new Map,oT=new Set,oh=(e=>(e[e.None=0]="None",e[e.CaseSensitive=1]="CaseSensitive",e[e.CaseInsensitive=2]="CaseInsensitive",e[e.Both=3]="Both",e))(oh||{}),sT=Array.prototype.at?(e,t)=>e==null?void 0:e.at(t):(e,t)=>{if(e&&(t=ih(e,t),t(e[e.None=0]="None",e[e.Normal=1]="Normal",e[e.Aggressive=2]="Aggressive",e[e.VeryAggressive=3]="VeryAggressive",e))(_h||{}),_T=(()=>{let e,t,n=y();return p;function i(x,h,D){if(x===h)return 0;if(x===void 0)return-1;if(h===void 0)return 1;let w=D(x,h);return w<0?-1:w>0?1:0}function s(x){let h=new Intl.Collator(x,{usage:"sort",sensitivity:"variant"}).compare;return(D,w)=>i(D,w,h)}function l(x){if(x!==void 0)return d();return(D,w)=>i(D,w,h);function h(D,w){return D.localeCompare(w)}}function d(){return(D,w)=>i(D,w,x);function x(D,w){return h(D.toUpperCase(),w.toUpperCase())||h(D,w)}function h(D,w){return Dw?1:0}}function y(){return typeof Intl=="object"&&typeof Intl.Collator=="function"?s:typeof String.prototype.localeCompare=="function"&&typeof String.prototype.toLocaleUpperCase=="function"&&"a".localeCompare("B")<0?l:d}function p(x){return x===void 0?e||(e=n(x)):x==="en-US"?t||(t=n(x)):n(x)}})(),am=String.prototype.trim?e=>e.trim():e=>e_(ll(e)),e_=String.prototype.trimEnd?e=>e.trimEnd():l5,ll=String.prototype.trimStart?e=>e.trimStart():e=>e.replace(/^\s+/g,"")}}),lh,M,cT=Ht({"src/compiler/debug.ts"(){"use strict";En(),En(),lh=(e=>(e[e.Off=0]="Off",e[e.Error=1]="Error",e[e.Warning=2]="Warning",e[e.Info=3]="Info",e[e.Verbose=4]="Verbose",e))(lh||{}),(e=>{let t=0;e.currentLogLevel=2,e.isDebugging=!1;function n(H){return e.currentLogLevel<=H}e.shouldLog=n;function i(H,de){e.loggingHost&&n(H)&&e.loggingHost.log(H,de)}function s(H){i(3,H)}e.log=s,(H=>{function de(Qe){i(1,Qe)}H.error=de;function be(Qe){i(2,Qe)}H.warn=be;function Ee(Qe){i(3,Qe)}H.log=Ee;function et(Qe){i(4,Qe)}H.trace=et})(s=e.log||(e.log={}));let l={};function d(){return t}e.getAssertionLevel=d;function y(H){let de=t;if(t=H,H>de)for(let be of lg(l)){let Ee=l[be];Ee!==void 0&&e[be]!==Ee.assertion&&H>=Ee.level&&(e[be]=Ee,l[be]=void 0)}}e.setAssertionLevel=y;function p(H){return t>=H}e.shouldAssert=p;function x(H,de){return p(H)?!0:(l[de]={level:H,assertion:e[de]},e[de]=Pr,!1)}function h(H,de){debugger;let be=new Error(H?`Debug Failure. ${H}`:"Debug Failure.");throw Error.captureStackTrace&&Error.captureStackTrace(be,de||h),be}e.fail=h;function D(H,de,be){return h(`${de||"Unexpected node."}\r -Node ${Qt(H.kind)} was unexpected.`,be||D)}e.failBadSyntaxKind=D;function w(H,de,be,Ee){H||(de=de?`False expression: ${de}`:"False expression.",be&&(de+=`\r -Verbose Debug Information: `+(typeof be=="string"?be:be())),h(de,Ee||w))}e.assert=w;function g(H,de,be,Ee,et){if(H!==de){let Qe=be?Ee?`${be} ${Ee}`:be:"";h(`Expected ${H} === ${de}. ${Qe}`,et||g)}}e.assertEqual=g;function A(H,de,be,Ee){H>=de&&h(`Expected ${H} < ${de}. ${be||""}`,Ee||A)}e.assertLessThan=A;function B(H,de,be){H>de&&h(`Expected ${H} <= ${de}`,be||B)}e.assertLessThanOrEqual=B;function G(H,de,be){H= ${de}`,be||G)}e.assertGreaterThanOrEqual=G;function oe(H,de,be){H==null&&h(de,be||oe)}e.assertIsDefined=oe;function Q(H,de,be){return oe(H,de,be||Q),H}e.checkDefined=Q;function W(H,de,be){for(let Ee of H)oe(Ee,de,be||W)}e.assertEachIsDefined=W;function se(H,de,be){return W(H,de,be||se),H}e.checkEachDefined=se;function we(H,de="Illegal value:",be){let Ee=typeof H=="object"&&Xn(H,"kind")&&Xn(H,"pos")?"SyntaxKind: "+Qt(H.kind):JSON.stringify(H);return h(`${de} ${Ee}`,be||we)}e.assertNever=we;function Ze(H,de,be,Ee){x(1,"assertEachNode")&&w(de===void 0||eo(H,de),be||"Unexpected node.",()=>`Node array did not pass test '${_n(de)}'.`,Ee||Ze)}e.assertEachNode=Ze;function Ue(H,de,be,Ee){x(1,"assertNode")&&w(H!==void 0&&(de===void 0||de(H)),be||"Unexpected node.",()=>`Node ${Qt(H==null?void 0:H.kind)} did not pass test '${_n(de)}'.`,Ee||Ue)}e.assertNode=Ue;function rt(H,de,be,Ee){x(1,"assertNotNode")&&w(H===void 0||de===void 0||!de(H),be||"Unexpected node.",()=>`Node ${Qt(H.kind)} should not have passed test '${_n(de)}'.`,Ee||rt)}e.assertNotNode=rt;function ct(H,de,be,Ee){x(1,"assertOptionalNode")&&w(de===void 0||H===void 0||de(H),be||"Unexpected node.",()=>`Node ${Qt(H==null?void 0:H.kind)} did not pass test '${_n(de)}'.`,Ee||ct)}e.assertOptionalNode=ct;function Dn(H,de,be,Ee){x(1,"assertOptionalToken")&&w(de===void 0||H===void 0||H.kind===de,be||"Unexpected node.",()=>`Node ${Qt(H==null?void 0:H.kind)} was not a '${Qt(de)}' token.`,Ee||Dn)}e.assertOptionalToken=Dn;function sn(H,de,be){x(1,"assertMissingNode")&&w(H===void 0,de||"Unexpected node.",()=>`Node ${Qt(H.kind)} was unexpected'.`,be||sn)}e.assertMissingNode=sn;function ei(H){}e.type=ei;function _n(H){if(typeof H!="function")return"";if(Xn(H,"name"))return H.name;{let de=Function.prototype.toString.call(H),be=/^function\s+([\w\$]+)\s*\(/.exec(de);return be?be[1]:""}}e.getFunctionName=_n;function Pn(H){return`{ name: ${Xo(H.escapedName)}; flags: ${Un(H.flags)}; declarations: ${ga(H.declarations,de=>Qt(de.kind))} }`}e.formatSymbol=Pn;function $e(H=0,de,be){let Ee=jn(de);if(H===0)return Ee.length>0&&Ee[0][0]===0?Ee[0][1]:"0";if(be){let et=[],Qe=H;for(let[ee,Z]of Ee){if(ee>H)break;ee!==0&&ee&H&&(et.push(Z),Qe&=~ee)}if(Qe===0)return et.join("|")}else for(let[et,Qe]of Ee)if(et===H)return Qe;return H.toString()}e.formatEnum=$e;let $t=new Map;function jn(H){let de=$t.get(H);if(de)return de;let be=[];for(let et in H){let Qe=H[et];typeof Qe=="number"&&be.push([Qe,et])}let Ee=Wv(be,(et,Qe)=>wn(et[0],Qe[0]));return $t.set(H,Ee),Ee}function Qt(H){return $e(H,bf,!1)}e.formatSyntaxKind=Qt;function fr(H){return $e(H,Pf,!1)}e.formatSnippetKind=fr;function Bn(H){return $e(H,vf,!0)}e.formatNodeFlags=Bn;function dn(H){return $e(H,Tf,!0)}e.formatModifierFlags=dn;function Yt(H){return $e(H,Df,!0)}e.formatTransformFlags=Yt;function vt(H){return $e(H,Nf,!0)}e.formatEmitFlags=vt;function Un(H){return $e(H,wf,!0)}e.formatSymbolFlags=Un;function qn(H){return $e(H,Ef,!0)}e.formatTypeFlags=qn;function gt(H){return $e(H,kf,!0)}e.formatSignatureFlags=gt;function lt(H){return $e(H,Cf,!0)}e.formatObjectFlags=lt;function Zt(H){return $e(H,ul,!0)}e.formatFlowFlags=Zt;function zn(H){return $e(H,xf,!0)}e.formatRelationComparisonResult=zn;function mt(H){return $e(H,CheckMode,!0)}e.formatCheckMode=mt;function mr(H){return $e(H,SignatureCheckMode,!0)}e.formatSignatureCheckMode=mr;function bt(H){return $e(H,TypeFacts,!0)}e.formatTypeFacts=bt;let cn=!1,dt;function Qn(H){"__debugFlowFlags"in H||Object.defineProperties(H,{__tsDebuggerDisplay:{value(){let de=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",be=this.flags&~(2048-1);return`${de}${be?` (${Zt(be)})`:""}`}},__debugFlowFlags:{get(){return $e(this.flags,ul,!0)}},__debugToString:{value(){return Ie(this)}}})}function ut(H){cn&&(typeof Object.setPrototypeOf=="function"?(dt||(dt=Object.create(Object.prototype),Qn(dt)),Object.setPrototypeOf(H,dt)):Qn(H))}e.attachFlowNodeDebugInfo=ut;let Jt;function ln(H){"__tsDebuggerDisplay"in H||Object.defineProperties(H,{__tsDebuggerDisplay:{value(de){return de=String(de).replace(/(?:,[\s\w\d_]+:[^,]+)+\]$/,"]"),`NodeArray ${de}`}}})}function yr(H){cn&&(typeof Object.setPrototypeOf=="function"?(Jt||(Jt=Object.create(Array.prototype),ln(Jt)),Object.setPrototypeOf(H,Jt)):ln(H))}e.attachNodeArrayDebugInfo=yr;function Or(){if(cn)return;let H=new WeakMap,de=new WeakMap;Object.defineProperties(xt.getSymbolConstructor().prototype,{__tsDebuggerDisplay:{value(){let Ee=this.flags&33554432?"TransientSymbol":"Symbol",et=this.flags&-33554433;return`${Ee} '${Of(this)}'${et?` (${Un(et)})`:""}`}},__debugFlags:{get(){return Un(this.flags)}}}),Object.defineProperties(xt.getTypeConstructor().prototype,{__tsDebuggerDisplay:{value(){let Ee=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",et=this.flags&524288?this.objectFlags&-1344:0;return`${Ee}${this.symbol?` '${Of(this.symbol)}'`:""}${et?` (${lt(et)})`:""}`}},__debugFlags:{get(){return qn(this.flags)}},__debugObjectFlags:{get(){return this.flags&524288?lt(this.objectFlags):""}},__debugTypeToString:{value(){let Ee=H.get(this);return Ee===void 0&&(Ee=this.checker.typeToString(this),H.set(this,Ee)),Ee}}}),Object.defineProperties(xt.getSignatureConstructor().prototype,{__debugFlags:{get(){return gt(this.flags)}},__debugSignatureToString:{value(){var Ee;return(Ee=this.checker)==null?void 0:Ee.signatureToString(this)}}});let be=[xt.getNodeConstructor(),xt.getIdentifierConstructor(),xt.getTokenConstructor(),xt.getSourceFileConstructor()];for(let Ee of be)Xn(Ee.prototype,"__debugKind")||Object.defineProperties(Ee.prototype,{__tsDebuggerDisplay:{value(){return`${ma(this)?"GeneratedIdentifier":Ce(this)?`Identifier '${Ot(this)}'`:Ln(this)?`PrivateIdentifier '${Ot(this)}'`:cr(this)?`StringLiteral ${JSON.stringify(this.text.length<10?this.text:this.text.slice(10)+"...")}`:ro(this)?`NumericLiteral ${this.text}`:cb(this)?`BigIntLiteral ${this.text}n`:Jo(this)?"TypeParameterDeclaration":io(this)?"ParameterDeclaration":P_(this)?"ConstructorDeclaration":Kl(this)?"GetAccessorDeclaration":N_(this)?"SetAccessorDeclaration":pb(this)?"CallSignatureDeclaration":c8(this)?"ConstructSignatureDeclaration":db(this)?"IndexSignatureDeclaration":l8(this)?"TypePredicateNode":I_(this)?"TypeReferenceNode":Gl(this)?"FunctionTypeNode":fb(this)?"ConstructorTypeNode":u8(this)?"TypeQueryNode":Hm(this)?"TypeLiteralNode":p8(this)?"ArrayTypeNode":d8(this)?"TupleTypeNode":f8(this)?"OptionalTypeNode":m8(this)?"RestTypeNode":y8(this)?"UnionTypeNode":h8(this)?"IntersectionTypeNode":g8(this)?"ConditionalTypeNode":b8(this)?"InferTypeNode":yb(this)?"ParenthesizedTypeNode":hb(this)?"ThisTypeNode":v8(this)?"TypeOperatorNode":T8(this)?"IndexedAccessTypeNode":x8(this)?"MappedTypeNode":gb(this)?"LiteralTypeNode":mb(this)?"NamedTupleMember":Xl(this)?"ImportTypeNode":Qt(this.kind)}${this.flags?` (${Bn(this.flags)})`:""}`}},__debugKind:{get(){return Qt(this.kind)}},__debugNodeFlags:{get(){return Bn(this.flags)}},__debugModifierFlags:{get(){return dn(A3(this))}},__debugTransformFlags:{get(){return Yt(this.transformFlags)}},__debugIsParseTreeNode:{get(){return dl(this)}},__debugEmitFlags:{get(){return vt(Vr(this))}},__debugGetText:{value(et){if(pa(this))return"";let Qe=de.get(this);if(Qe===void 0){let ee=Pl(this),Z=ee&&Kr(ee);Qe=Z?Yo(Z,ee,et):"",de.set(this,Qe)}return Qe}}});cn=!0}e.enableDebugInfo=Or;function ti(H){let de=H&7,be=de===0?"in out":de===3?"[bivariant]":de===2?"in":de===1?"out":de===4?"[independent]":"";return H&8?be+=" (unmeasurable)":H&16&&(be+=" (unreliable)"),be}e.formatVariance=ti;class Wn{__debugToString(){var de;switch(this.kind){case 3:return((de=this.debugInfo)==null?void 0:de.call(this))||"(function mapper)";case 0:return`${this.source.__debugTypeToString()} -> ${this.target.__debugTypeToString()}`;case 1:return rh(this.sources,this.targets||ga(this.sources,()=>"any"),(be,Ee)=>`${be.__debugTypeToString()} -> ${typeof Ee=="string"?Ee:Ee.__debugTypeToString()}`).join(", ");case 2:return rh(this.sources,this.targets,(be,Ee)=>`${be.__debugTypeToString()} -> ${Ee().__debugTypeToString()}`).join(", ");case 5:case 4:return`m1: ${this.mapper1.__debugToString().split(` +var jd=Object.defineProperty;var Ld=e=>{throw TypeError(e)};var yy=(e,t,a)=>t in e?jd(e,t,{enumerable:!0,configurable:!0,writable:!0,value:a}):e[t]=a;var Rd=(e,t)=>{for(var a in t)jd(e,a,{get:t[a],enumerable:!0})};var Ma=(e,t,a)=>yy(e,typeof t!="symbol"?t+"":t,a),gy=(e,t,a)=>t.has(e)||Ld("Cannot "+a);var Ud=(e,t,a)=>t.has(e)?Ld("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,a);var we=(e,t,a)=>(gy(e,t,"access private method"),a);var Nd={};Rd(Nd,{parsers:()=>Pd});var Pd={};Rd(Pd,{typescript:()=>E3});var by=()=>()=>{},Ja=by;var qm="5.5";var Ot=[],vy=new Map;function ms(e){return e?e.length:0}function zn(e,t){if(e)for(let a=0;aa(o,t[h]))}function Kr(e,t){if(e){let a=e.length,o=0;for(;o0;return!1}function lf(e,t){return qt(t)?qt(e)?[...e,...t]:t:e}function Ey(e,t){return t}function Ay(e){return e.map(Ey)}function Cn(e,t){return t===void 0?e:e===void 0?[t]:(e.push(t),e)}function Yp(e,t){return t<0?e.length+t:t}function Pn(e,t,a,o){if(t===void 0||t.length===0)return e;if(e===void 0)return t.slice(a,o);a=a===void 0?0:Yp(t,a),o=o===void 0?t.length:Yp(t,o);for(let h=a;ha(e[o],e[h])||df(o,h))}function Ny(e,t){let a=Ay(e);return Py(e,a,t),a.map(o=>e[o])}var D3=Array.prototype.at?(e,t)=>e==null?void 0:e.at(t):(e,t)=>{if(e&&(t=Yp(e,t),t>1),l=a(e[C],C);switch(o(l,t)){case-1:g=C+1;break;case 0:return C;case 1:E=C-1;break}}return~g}function jy(e,t,a,o,h){if(e&&e.length>0){let g=e.length;if(g>0){let E=o===void 0||o<0?0:o,C=h===void 0||E+h>g-1?g-1:E+h,l;for(arguments.length<=2?(l=e[E],E++):l=a;E<=C;)l=t(l,e[E],E),E++;return l}}return a}var Wm=Object.prototype.hasOwnProperty;function Mr(e,t){return Wm.call(e,t)}function Ly(e){let t=[];for(let a in e)Wm.call(e,a)&&t.push(a);return t}function Ry(){let e=new Map;return e.add=Uy,e.remove=By,e}function Uy(e,t){let a=this.get(e);return a?a.push(t):this.set(e,a=[t]),a}function By(e,t){let a=this.get(e);a&&(Hy(a,t),a.length||this.delete(e))}function Zr(e){return Array.isArray(e)}function Jp(e){return Zr(e)?e:[e]}function qy(e,t){return e!==void 0&&t(e)?e:void 0}function Ir(e,t){return e!==void 0&&t(e)?e:B.fail(`Invalid cast. The supplied value ${e} did not pass the test '${B.getFunctionName(t)}'.`)}function Ga(e){}function zy(){return!0}function kt(e){return e}function qd(e){let t;return()=>(e&&(t=e(),e=void 0),t)}function tr(e){let t=new Map;return a=>{let o=`${typeof a}:${a}`,h=t.get(o);return h===void 0&&!t.has(o)&&(h=e(a),t.set(o,h)),h}}function pf(e,t){return e===t}function ff(e,t){return e===t||e!==void 0&&t!==void 0&&e.toUpperCase()===t.toUpperCase()}function Fy(e,t){return pf(e,t)}function Vy(e,t){return e===t?0:e===void 0?-1:t===void 0?1:ea?C-a:1),f=Math.floor(t.length>a+C?a+C:t.length);h[0]=C;let k=C;for(let w=1;wa)return;let v=o;o=h,h=v}let E=o[t.length];return E>a?void 0:E}function Gy(e,t,a){let o=e.length-t.length;return o>=0&&(a?ff(e.slice(o),t):e.indexOf(t,o)===o)}function Yy(e,t){e[t]=e[e.length-1],e.pop()}function Hy(e,t){return Xy(e,a=>a===t)}function Xy(e,t){for(let a=0;a{let t=0;e.currentLogLevel=2,e.isDebugging=!1;function a(j){return e.currentLogLevel<=j}e.shouldLog=a;function o(j,se){e.loggingHost&&a(j)&&e.loggingHost.log(j,se)}function h(j){o(3,j)}e.log=h,(j=>{function se(Ke){o(1,Ke)}j.error=se;function fe(Ke){o(2,Ke)}j.warn=fe;function xe(Ke){o(3,Ke)}j.log=xe;function Xe(Ke){o(4,Ke)}j.trace=Xe})(h=e.log||(e.log={}));let g={};function E(){return t}e.getAssertionLevel=E;function C(j){let se=t;if(t=j,j>se)for(let fe of Ly(g)){let xe=g[fe];xe!==void 0&&e[fe]!==xe.assertion&&j>=xe.level&&(e[fe]=xe,g[fe]=void 0)}}e.setAssertionLevel=C;function l(j){return t>=j}e.shouldAssert=l;function Z(j,se){return l(j)?!0:(g[se]={level:j,assertion:e[se]},e[se]=Ga,!1)}function f(j,se){debugger;let fe=new Error(j?`Debug Failure. ${j}`:"Debug Failure.");throw Error.captureStackTrace&&Error.captureStackTrace(fe,se||f),fe}e.fail=f;function k(j,se,fe){return f(`${se||"Unexpected node."}\r +Node ${Mt(j.kind)} was unexpected.`,fe||k)}e.failBadSyntaxKind=k;function v(j,se,fe,xe){j||(se=se?`False expression: ${se}`:"False expression.",fe&&(se+=`\r +Verbose Debug Information: `+(typeof fe=="string"?fe:fe())),f(se,xe||v))}e.assert=v;function w(j,se,fe,xe,Xe){if(j!==se){let Ke=fe?xe?`${fe} ${xe}`:fe:"";f(`Expected ${j} === ${se}. ${Ke}`,Xe||w)}}e.assertEqual=w;function J(j,se,fe,xe){j>=se&&f(`Expected ${j} < ${se}. ${fe||""}`,xe||J)}e.assertLessThan=J;function re(j,se,fe){j>se&&f(`Expected ${j} <= ${se}`,fe||re)}e.assertLessThanOrEqual=re;function be(j,se,fe){j= ${se}`,fe||be)}e.assertGreaterThanOrEqual=be;function he(j,se,fe){j==null&&f(se,fe||he)}e.assertIsDefined=he;function me(j,se,fe){return he(j,se,fe||me),j}e.checkDefined=me;function O(j,se,fe){for(let xe of j)he(xe,se,fe||O)}e.assertEachIsDefined=O;function ae(j,se,fe){return O(j,se,fe||ae),j}e.checkEachDefined=ae;function ve(j,se="Illegal value:",fe){let xe=typeof j=="object"&&Mr(j,"kind")&&Mr(j,"pos")?"SyntaxKind: "+Mt(j.kind):JSON.stringify(j);return f(`${se} ${xe}`,fe||ve)}e.assertNever=ve;function X(j,se,fe,xe){Z(1,"assertEachNode")&&v(se===void 0||cf(j,se),fe||"Unexpected node.",()=>`Node array did not pass test '${Tn(se)}'.`,xe||X)}e.assertEachNode=X;function oe(j,se,fe,xe){Z(1,"assertNode")&&v(j!==void 0&&(se===void 0||se(j)),fe||"Unexpected node.",()=>`Node ${Mt(j==null?void 0:j.kind)} did not pass test '${Tn(se)}'.`,xe||oe)}e.assertNode=oe;function G(j,se,fe,xe){Z(1,"assertNotNode")&&v(j===void 0||se===void 0||!se(j),fe||"Unexpected node.",()=>`Node ${Mt(j.kind)} should not have passed test '${Tn(se)}'.`,xe||G)}e.assertNotNode=G;function ht(j,se,fe,xe){Z(1,"assertOptionalNode")&&v(se===void 0||j===void 0||se(j),fe||"Unexpected node.",()=>`Node ${Mt(j==null?void 0:j.kind)} did not pass test '${Tn(se)}'.`,xe||ht)}e.assertOptionalNode=ht;function ir(j,se,fe,xe){Z(1,"assertOptionalToken")&&v(se===void 0||j===void 0||j.kind===se,fe||"Unexpected node.",()=>`Node ${Mt(j==null?void 0:j.kind)} was not a '${Mt(se)}' token.`,xe||ir)}e.assertOptionalToken=ir;function xn(j,se,fe){Z(1,"assertMissingNode")&&v(j===void 0,se||"Unexpected node.",()=>`Node ${Mt(j.kind)} was unexpected'.`,fe||xn)}e.assertMissingNode=xn;function ar(j){}e.type=ar;function Tn(j){if(typeof j!="function")return"";if(Mr(j,"name"))return j.name;{let se=Function.prototype.toString.call(j),fe=/^function\s+([\w$]+)\s*\(/.exec(se);return fe?fe[1]:""}}e.getFunctionName=Tn;function On(j){return`{ name: ${Ts(j.escapedName)}; flags: ${ut(j.flags)}; declarations: ${Gp(j.declarations,se=>Mt(se.kind))} }`}e.formatSymbol=On;function Ve(j=0,se,fe){let xe=Rr(se);if(j===0)return xe.length>0&&xe[0][0]===0?xe[0][1]:"0";if(fe){let Xe=[],Ke=j;for(let[ot,Pt]of xe){if(ot>j)break;ot!==0&&ot&j&&(Xe.push(Pt),Ke&=~ot)}if(Ke===0)return Xe.join("|")}else for(let[Xe,Ke]of xe)if(Xe===j)return Ke;return j.toString()}e.formatEnum=Ve;let _r=new Map;function Rr(j){let se=_r.get(j);if(se)return se;let fe=[];for(let Xe in j){let Ke=j[Xe];typeof Ke=="number"&&fe.push([Ke,Xe])}let xe=Ny(fe,(Xe,Ke)=>df(Xe[0],Ke[0]));return _r.set(j,xe),xe}function Mt(j){return Ve(j,ce,!1)}e.formatSyntaxKind=Mt;function Vn(j){return Ve(j,$m,!1)}e.formatSnippetKind=Vn;function Mn(j){return Ve(j,Jr,!1)}e.formatScriptKind=Mn;function Jt(j){return Ve(j,Xt,!0)}e.formatNodeFlags=Jt;function xt(j){return Ve(j,Ym,!0)}e.formatNodeCheckFlags=xt;function Qe(j){return Ve(j,mf,!0)}e.formatModifierFlags=Qe;function Wn(j){return Ve(j,Xm,!0)}e.formatTransformFlags=Wn;function nn(j){return Ve(j,Qm,!0)}e.formatEmitFlags=nn;function ut(j){return Ve(j,hf,!0)}e.formatSymbolFlags=ut;function st(j){return Ve(j,zt,!0)}e.formatTypeFlags=st;function Vt(j){return Ve(j,Hm,!0)}e.formatSignatureFlags=Vt;function jt(j){return Ve(j,gl,!0)}e.formatObjectFlags=jt;function pt(j){return Ve(j,$p,!0)}e.formatFlowFlags=pt;function sr(j){return Ve(j,Gm,!0)}e.formatRelationComparisonResult=sr;function yt(j){return Ve(j,CheckMode,!0)}e.formatCheckMode=yt;function Sn(j){return Ve(j,SignatureCheckMode,!0)}e.formatSignatureCheckMode=Sn;function vt(j){return Ve(j,TypeFacts,!0)}e.formatTypeFacts=vt;let dn=!1,rt;function Wt(j){"__debugFlowFlags"in j||Object.defineProperties(j,{__tsDebuggerDisplay:{value(){let se=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",fe=this.flags&-2048;return`${se}${fe?` (${pt(fe)})`:""}`}},__debugFlowFlags:{get(){return Ve(this.flags,$p,!0)}},__debugToString:{value(){return Tr(this)}}})}function on(j){return dn&&(typeof Object.setPrototypeOf=="function"?(rt||(rt=Object.create(Object.prototype),Wt(rt)),Object.setPrototypeOf(j,rt)):Wt(j)),j}e.attachFlowNodeDebugInfo=on;let or;function vr(j){"__tsDebuggerDisplay"in j||Object.defineProperties(j,{__tsDebuggerDisplay:{value(se){return se=String(se).replace(/(?:,[\s\w\d_]+:[^,]+)+\]$/,"]"),`NodeArray ${se}`}}})}function xr(j){dn&&(typeof Object.setPrototypeOf=="function"?(or||(or=Object.create(Array.prototype),vr(or)),Object.setPrototypeOf(j,or)):vr(j))}e.attachNodeArrayDebugInfo=xr;function Gn(){if(dn)return;let j=new WeakMap,se=new WeakMap;Object.defineProperties(Ct.getSymbolConstructor().prototype,{__tsDebuggerDisplay:{value(){let xe=this.flags&33554432?"TransientSymbol":"Symbol",Xe=this.flags&-33554433;return`${xe} '${Zp(this)}'${Xe?` (${ut(Xe)})`:""}`}},__debugFlags:{get(){return ut(this.flags)}}}),Object.defineProperties(Ct.getTypeConstructor().prototype,{__tsDebuggerDisplay:{value(){let xe=this.flags&67359327?`IntrinsicType ${this.intrinsicName}${this.debugIntrinsicName?` (${this.debugIntrinsicName})`:""}`: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&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",Xe=this.flags&524288?this.objectFlags&-1344:0;return`${xe}${this.symbol?` '${Zp(this.symbol)}'`:""}${Xe?` (${jt(Xe)})`:""}`}},__debugFlags:{get(){return st(this.flags)}},__debugObjectFlags:{get(){return this.flags&524288?jt(this.objectFlags):""}},__debugTypeToString:{value(){let xe=j.get(this);return xe===void 0&&(xe=this.checker.typeToString(this),j.set(this,xe)),xe}}}),Object.defineProperties(Ct.getSignatureConstructor().prototype,{__debugFlags:{get(){return Vt(this.flags)}},__debugSignatureToString:{value(){var xe;return(xe=this.checker)==null?void 0:xe.signatureToString(this)}}});let fe=[Ct.getNodeConstructor(),Ct.getIdentifierConstructor(),Ct.getTokenConstructor(),Ct.getSourceFileConstructor()];for(let xe of fe)Mr(xe.prototype,"__debugKind")||Object.defineProperties(xe.prototype,{__tsDebuggerDisplay:{value(){return`${za(this)?"GeneratedIdentifier":et(this)?`Identifier '${Nn(this)}'`:wi(this)?`PrivateIdentifier '${Nn(this)}'`:Qa(this)?`StringLiteral ${JSON.stringify(this.text.length<10?this.text:this.text.slice(10)+"...")}`:Ai(this)?`NumericLiteral ${this.text}`:Bf(this)?`BigIntLiteral ${this.text}n`:qf(this)?"TypeParameterDeclaration":As(this)?"ParameterDeclaration":zf(this)?"ConstructorDeclaration":ml(this)?"GetAccessorDeclaration":Ds(this)?"SetAccessorDeclaration":H1(this)?"CallSignatureDeclaration":X1(this)?"ConstructSignatureDeclaration":Ff(this)?"IndexSignatureDeclaration":$1(this)?"TypePredicateNode":El(this)?"TypeReferenceNode":Vf(this)?"FunctionTypeNode":Wf(this)?"ConstructorTypeNode":s6(this)?"TypeQueryNode":Q1(this)?"TypeLiteralNode":o6(this)?"ArrayTypeNode":c6(this)?"TupleTypeNode":l6(this)?"OptionalTypeNode":u6(this)?"RestTypeNode":Z1(this)?"UnionTypeNode":eh(this)?"IntersectionTypeNode":p6(this)?"ConditionalTypeNode":f6(this)?"InferTypeNode":th(this)?"ParenthesizedTypeNode":d6(this)?"ThisTypeNode":nh(this)?"TypeOperatorNode":m6(this)?"IndexedAccessTypeNode":rh(this)?"MappedTypeNode":h6(this)?"LiteralTypeNode":K1(this)?"NamedTupleMember":y6(this)?"ImportTypeNode":Mt(this.kind)}${this.flags?` (${Jt(this.flags)})`:""}`}},__debugKind:{get(){return Mt(this.kind)}},__debugNodeFlags:{get(){return Jt(this.flags)}},__debugModifierFlags:{get(){return Qe(mb(this))}},__debugTransformFlags:{get(){return Wn(this.transformFlags)}},__debugIsParseTreeNode:{get(){return pl(this)}},__debugEmitFlags:{get(){return nn(Wa(this))}},__debugGetText:{value(Xe){if(Ua(this))return"";let Ke=se.get(this);if(Ke===void 0){let ot=Jg(this),Pt=ot&&Ya(ot);Ke=Pt?nm(Pt,ot,Xe):"",se.set(this,Ke)}return Ke}}});dn=!0}e.enableDebugInfo=Gn;function Yn(j){let se=j&7,fe=se===0?"in out":se===3?"[bivariant]":se===2?"in":se===1?"out":se===4?"[independent]":"";return j&8?fe+=" (unmeasurable)":j&16&&(fe+=" (unreliable)"),fe}e.formatVariance=Yn;class Ur{__debugToString(){var se;switch(this.kind){case 3:return((se=this.debugInfo)==null?void 0:se.call(this))||"(function mapper)";case 0:return`${this.source.__debugTypeToString()} -> ${this.target.__debugTypeToString()}`;case 1:return Bd(this.sources,this.targets||Gp(this.sources,()=>"any"),(fe,xe)=>`${fe.__debugTypeToString()} -> ${typeof xe=="string"?xe:xe.__debugTypeToString()}`).join(", ");case 2:return Bd(this.sources,this.targets,(fe,xe)=>`${fe.__debugTypeToString()} -> ${xe().__debugTypeToString()}`).join(", ");case 5:case 4:return`m1: ${this.mapper1.__debugToString().split(` `).join(` `)} m2: ${this.mapper2.__debugToString().split(` `).join(` - `)}`;default:return we(this)}}}e.DebugTypeMapper=Wn;function hr(H){return e.isDebugging?Object.setPrototypeOf(H,Wn.prototype):H}e.attachDebugPrototypeIfDebug=hr;function Ci(H){return console.log(Ie(H))}e.printControlFlowGraph=Ci;function Ie(H){let de=-1;function be(E){return E.id||(E.id=de,de--),E.id}let Ee;(E=>{E.lr="\u2500",E.ud="\u2502",E.dr="\u256D",E.dl="\u256E",E.ul="\u256F",E.ur="\u2570",E.udr="\u251C",E.udl="\u2524",E.dlr="\u252C",E.ulr="\u2534",E.udlr="\u256B"})(Ee||(Ee={}));let et;(E=>{E[E.None=0]="None",E[E.Up=1]="Up",E[E.Down=2]="Down",E[E.Left=4]="Left",E[E.Right=8]="Right",E[E.UpDown=3]="UpDown",E[E.LeftRight=12]="LeftRight",E[E.UpLeft=5]="UpLeft",E[E.UpRight=9]="UpRight",E[E.DownLeft=6]="DownLeft",E[E.DownRight=10]="DownRight",E[E.UpDownLeft=7]="UpDownLeft",E[E.UpDownRight=11]="UpDownRight",E[E.UpLeftRight=13]="UpLeftRight",E[E.DownLeftRight=14]="DownLeftRight",E[E.UpDownLeftRight=15]="UpDownLeftRight",E[E.NoChildren=16]="NoChildren"})(et||(et={}));let Qe=2032,ee=882,Z=Object.create(null),ae=[],Te=[],Oe=ri(H,new Set);for(let E of ae)E.text=Nn(E.flowNode,E.circular),Pa(E);let We=br(Oe),Re=ii(We);return ai(Oe,0),Fe();function Rt(E){return!!(E.flags&128)}function Nt(E){return!!(E.flags&12)&&!!E.antecedents}function Vn(E){return!!(E.flags&Qe)}function ta(E){return!!(E.flags&ee)}function gr(E){let S=[];for(let J of E.edges)J.source===E&&S.push(J.target);return S}function ni(E){let S=[];for(let J of E.edges)J.target===E&&S.push(J.source);return S}function ri(E,S){let J=be(E),m=Z[J];if(m&&S.has(E))return m.circular=!0,m={id:-1,flowNode:E,edges:[],text:"",lane:-1,endLane:-1,level:-1,circular:"circularity"},ae.push(m),m;if(S.add(E),!m)if(Z[J]=m={id:J,flowNode:E,edges:[],text:"",lane:-1,endLane:-1,level:-1,circular:!1},ae.push(m),Nt(E))for(let ie of E.antecedents)na(m,ie,S);else Vn(E)&&na(m,E.antecedent,S);return S.delete(E),m}function na(E,S,J){let m=ri(S,J),ie={source:E,target:m};Te.push(ie),E.edges.push(ie),m.edges.push(ie)}function Pa(E){if(E.level!==-1)return E.level;let S=0;for(let J of ni(E))S=Math.max(S,Pa(J)+1);return E.level=S}function br(E){let S=0;for(let J of gr(E))S=Math.max(S,br(J));return S+1}function ii(E){let S=wt(Array(E),0);for(let J of ae)S[J.level]=Math.max(S[J.level],J.text.length);return S}function ai(E,S){if(E.lane===-1){E.lane=S,E.endLane=S;let J=gr(E);for(let m=0;m0&&S++;let ie=J[m];ai(ie,S),ie.endLane>E.endLane&&(S=ie.endLane)}E.endLane=S}}function ra(E){if(E&2)return"Start";if(E&4)return"Branch";if(E&8)return"Loop";if(E&16)return"Assignment";if(E&32)return"True";if(E&64)return"False";if(E&128)return"SwitchClause";if(E&256)return"ArrayMutation";if(E&512)return"Call";if(E&1024)return"ReduceLabel";if(E&1)return"Unreachable";throw new Error}function Mr(E){let S=Kr(E);return Yo(S,E,!1)}function Nn(E,S){let J=ra(E.flags);if(S&&(J=`${J}#${be(E)}`),ta(E))E.node&&(J+=` (${Mr(E.node)})`);else if(Rt(E)){let m=[];for(let ie=E.clauseStart;ieMath.max(R,me.lane),0)+1,J=wt(Array(S),""),m=Re.map(()=>Array(S)),ie=Re.map(()=>wt(Array(S),0));for(let R of ae){m[R.level][R.lane]=R;let me=gr(R);for(let ke=0;ke0&&(ot|=1),ke0&&(ot|=1),ke0?ie[R-1][me]:0,ke=me>0?ie[R][me-1]:0,De=ie[R][me];De||(Ae&8&&(De|=12),ke&2&&(De|=3),ie[R][me]=De)}for(let R=0;R{u.lr="\u2500",u.ud="\u2502",u.dr="\u256D",u.dl="\u256E",u.ul="\u256F",u.ur="\u2570",u.udr="\u251C",u.udl="\u2524",u.dlr="\u252C",u.ulr="\u2534",u.udlr="\u256B"})(xe||(xe={}));let Xe;(u=>{u[u.None=0]="None",u[u.Up=1]="Up",u[u.Down=2]="Down",u[u.Left=4]="Left",u[u.Right=8]="Right",u[u.UpDown=3]="UpDown",u[u.LeftRight=12]="LeftRight",u[u.UpLeft=5]="UpLeft",u[u.UpRight=9]="UpRight",u[u.DownLeft=6]="DownLeft",u[u.DownRight=10]="DownRight",u[u.UpDownLeft=7]="UpDownLeft",u[u.UpDownRight=11]="UpDownRight",u[u.UpLeftRight=13]="UpLeftRight",u[u.DownLeftRight=14]="DownLeftRight",u[u.UpDownLeftRight=15]="UpDownLeftRight",u[u.NoChildren=16]="NoChildren"})(Xe||(Xe={}));let Ke=2032,ot=882,Pt=Object.create(null),Tt=[],ft=[],Br=Se(j,new Set);for(let u of Tt)u.text=at(u.flowNode,u.circular),ye(u);let Sr=Ye(Br),Jn=$e(Sr);return Ze(Br,0),mn();function Xn(u){return!!(u.flags&128)}function Pi(u){return!!(u.flags&12)&&!!u.antecedent}function z(u){return!!(u.flags&Ke)}function V(u){return!!(u.flags&ot)}function Q(u){let Oe=[];for(let Me of u.edges)Me.source===u&&Oe.push(Me.target);return Oe}function Te(u){let Oe=[];for(let Me of u.edges)Me.target===u&&Oe.push(Me.source);return Oe}function Se(u,Oe){let Me=fe(u),U=Pt[Me];if(U&&Oe.has(u))return U.circular=!0,U={id:-1,flowNode:u,edges:[],text:"",lane:-1,endLane:-1,level:-1,circular:"circularity"},Tt.push(U),U;if(Oe.add(u),!U)if(Pt[Me]=U={id:Me,flowNode:u,edges:[],text:"",lane:-1,endLane:-1,level:-1,circular:!1},Tt.push(U),Pi(u))for(let qe of u.antecedent)Ce(U,qe,Oe);else z(u)&&Ce(U,u.antecedent,Oe);return Oe.delete(u),U}function Ce(u,Oe,Me){let U=Se(Oe,Me),qe={source:u,target:U};ft.push(qe),u.edges.push(qe),U.edges.push(qe)}function ye(u){if(u.level!==-1)return u.level;let Oe=0;for(let Me of Te(u))Oe=Math.max(Oe,ye(Me)+1);return u.level=Oe}function Ye(u){let Oe=0;for(let Me of Q(u))Oe=Math.max(Oe,Ye(Me));return Oe+1}function $e(u){let Oe=M(Array(u),0);for(let Me of Tt)Oe[Me.level]=Math.max(Oe[Me.level],Me.text.length);return Oe}function Ze(u,Oe){if(u.lane===-1){u.lane=Oe,u.endLane=Oe;let Me=Q(u);for(let U=0;U0&&Oe++;let qe=Me[U];Ze(qe,Oe),qe.endLane>u.endLane&&(Oe=qe.endLane)}u.endLane=Oe}}function Ee(u){if(u&2)return"Start";if(u&4)return"Branch";if(u&8)return"Loop";if(u&16)return"Assignment";if(u&32)return"True";if(u&64)return"False";if(u&128)return"SwitchClause";if(u&256)return"ArrayMutation";if(u&512)return"Call";if(u&1024)return"ReduceLabel";if(u&1)return"Unreachable";throw new Error}function wn(u){let Oe=Ya(u);return nm(Oe,u,!1)}function at(u,Oe){let Me=Ee(u.flags);if(Oe&&(Me=`${Me}#${fe(u)}`),Xn(u)){let U=[],{switchStatement:qe,clauseStart:cn,clauseEnd:Fe}=u.node;for(let He=cn;HeMath.max(Fe,He.lane),0)+1,Me=M(Array(Oe),""),U=Jn.map(()=>Array(Oe)),qe=Jn.map(()=>M(Array(Oe),0));for(let Fe of Tt){U[Fe.level][Fe.lane]=Fe;let He=Q(Fe);for(let Et=0;Et0&&(Gt|=1),Et0&&(Gt|=1),Et0?qe[Fe-1][He]:0,Et=He>0?qe[Fe][He-1]:0,It=qe[Fe][He];It||(Nt&8&&(It|=12),Et&2&&(It|=3),qe[Fe][He]=It)}for(let Fe=0;Fe0?E.repeat(S):"";let J="";for(;J.length{},f5=()=>{},m5=()=>{},da=Date.now,y5=()=>{},yf=new Proxy(()=>{},{get:()=>yf});function Y6(e){if(yg){let t=uh.get(e)??0;uh.set(e,t+1),gf.set(e,da()),hf==null||hf.mark(e),typeof onProfilerEvent=="function"&&onProfilerEvent(e)}}function h5(e,t,n){if(yg){let i=(n!==void 0?gf.get(n):void 0)??da(),s=(t!==void 0?gf.get(t):void 0)??lT,l=ph.get(e)||0;ph.set(e,l+(i-s)),hf==null||hf.measure(e,t,n)}}var hf,g5,yg,lT,gf,uh,ph,HK=Ht({"src/compiler/performance.ts"(){"use strict";En(),g5={enter:Pr,exit:Pr},yg=!1,lT=da(),gf=new Map,uh=new Map,ph=new Map}}),uT=()=>{},b5=()=>{},fa;function v5(e,t=!0){let n=Af[e.category];return t?n.toLowerCase():n}var bf,vf,Tf,dh,xf,fh,mh,ul,yh,Sf,hh,gh,bh,vh,Th,xh,Sh,wh,Eh,Ch,kh,Ah,Dh,Ph,Nh,wf,Ih,Oh,Mh,Lh,Ef,Cf,Jh,Rh,Fh,jh,Bh,Uh,kf,qh,zh,Wh,Vh,Hh,Kh,Af,Gh,Xh,$h,Qh,Yh,Zh,e0,t0,n0,r0,i0,a0,o0,s0,_0,Df,Pf,Nf,c0,l0,u0,p0,d0,f0,m0,y0,om,pT=Ht({"src/compiler/types.ts"(){"use strict";bf=(e=>(e[e.Unknown=0]="Unknown",e[e.EndOfFileToken=1]="EndOfFileToken",e[e.SingleLineCommentTrivia=2]="SingleLineCommentTrivia",e[e.MultiLineCommentTrivia=3]="MultiLineCommentTrivia",e[e.NewLineTrivia=4]="NewLineTrivia",e[e.WhitespaceTrivia=5]="WhitespaceTrivia",e[e.ShebangTrivia=6]="ShebangTrivia",e[e.ConflictMarkerTrivia=7]="ConflictMarkerTrivia",e[e.NonTextFileMarkerTrivia=8]="NonTextFileMarkerTrivia",e[e.NumericLiteral=9]="NumericLiteral",e[e.BigIntLiteral=10]="BigIntLiteral",e[e.StringLiteral=11]="StringLiteral",e[e.JsxText=12]="JsxText",e[e.JsxTextAllWhiteSpaces=13]="JsxTextAllWhiteSpaces",e[e.RegularExpressionLiteral=14]="RegularExpressionLiteral",e[e.NoSubstitutionTemplateLiteral=15]="NoSubstitutionTemplateLiteral",e[e.TemplateHead=16]="TemplateHead",e[e.TemplateMiddle=17]="TemplateMiddle",e[e.TemplateTail=18]="TemplateTail",e[e.OpenBraceToken=19]="OpenBraceToken",e[e.CloseBraceToken=20]="CloseBraceToken",e[e.OpenParenToken=21]="OpenParenToken",e[e.CloseParenToken=22]="CloseParenToken",e[e.OpenBracketToken=23]="OpenBracketToken",e[e.CloseBracketToken=24]="CloseBracketToken",e[e.DotToken=25]="DotToken",e[e.DotDotDotToken=26]="DotDotDotToken",e[e.SemicolonToken=27]="SemicolonToken",e[e.CommaToken=28]="CommaToken",e[e.QuestionDotToken=29]="QuestionDotToken",e[e.LessThanToken=30]="LessThanToken",e[e.LessThanSlashToken=31]="LessThanSlashToken",e[e.GreaterThanToken=32]="GreaterThanToken",e[e.LessThanEqualsToken=33]="LessThanEqualsToken",e[e.GreaterThanEqualsToken=34]="GreaterThanEqualsToken",e[e.EqualsEqualsToken=35]="EqualsEqualsToken",e[e.ExclamationEqualsToken=36]="ExclamationEqualsToken",e[e.EqualsEqualsEqualsToken=37]="EqualsEqualsEqualsToken",e[e.ExclamationEqualsEqualsToken=38]="ExclamationEqualsEqualsToken",e[e.EqualsGreaterThanToken=39]="EqualsGreaterThanToken",e[e.PlusToken=40]="PlusToken",e[e.MinusToken=41]="MinusToken",e[e.AsteriskToken=42]="AsteriskToken",e[e.AsteriskAsteriskToken=43]="AsteriskAsteriskToken",e[e.SlashToken=44]="SlashToken",e[e.PercentToken=45]="PercentToken",e[e.PlusPlusToken=46]="PlusPlusToken",e[e.MinusMinusToken=47]="MinusMinusToken",e[e.LessThanLessThanToken=48]="LessThanLessThanToken",e[e.GreaterThanGreaterThanToken=49]="GreaterThanGreaterThanToken",e[e.GreaterThanGreaterThanGreaterThanToken=50]="GreaterThanGreaterThanGreaterThanToken",e[e.AmpersandToken=51]="AmpersandToken",e[e.BarToken=52]="BarToken",e[e.CaretToken=53]="CaretToken",e[e.ExclamationToken=54]="ExclamationToken",e[e.TildeToken=55]="TildeToken",e[e.AmpersandAmpersandToken=56]="AmpersandAmpersandToken",e[e.BarBarToken=57]="BarBarToken",e[e.QuestionToken=58]="QuestionToken",e[e.ColonToken=59]="ColonToken",e[e.AtToken=60]="AtToken",e[e.QuestionQuestionToken=61]="QuestionQuestionToken",e[e.BacktickToken=62]="BacktickToken",e[e.HashToken=63]="HashToken",e[e.EqualsToken=64]="EqualsToken",e[e.PlusEqualsToken=65]="PlusEqualsToken",e[e.MinusEqualsToken=66]="MinusEqualsToken",e[e.AsteriskEqualsToken=67]="AsteriskEqualsToken",e[e.AsteriskAsteriskEqualsToken=68]="AsteriskAsteriskEqualsToken",e[e.SlashEqualsToken=69]="SlashEqualsToken",e[e.PercentEqualsToken=70]="PercentEqualsToken",e[e.LessThanLessThanEqualsToken=71]="LessThanLessThanEqualsToken",e[e.GreaterThanGreaterThanEqualsToken=72]="GreaterThanGreaterThanEqualsToken",e[e.GreaterThanGreaterThanGreaterThanEqualsToken=73]="GreaterThanGreaterThanGreaterThanEqualsToken",e[e.AmpersandEqualsToken=74]="AmpersandEqualsToken",e[e.BarEqualsToken=75]="BarEqualsToken",e[e.BarBarEqualsToken=76]="BarBarEqualsToken",e[e.AmpersandAmpersandEqualsToken=77]="AmpersandAmpersandEqualsToken",e[e.QuestionQuestionEqualsToken=78]="QuestionQuestionEqualsToken",e[e.CaretEqualsToken=79]="CaretEqualsToken",e[e.Identifier=80]="Identifier",e[e.PrivateIdentifier=81]="PrivateIdentifier",e[e.JSDocCommentTextToken=82]="JSDocCommentTextToken",e[e.BreakKeyword=83]="BreakKeyword",e[e.CaseKeyword=84]="CaseKeyword",e[e.CatchKeyword=85]="CatchKeyword",e[e.ClassKeyword=86]="ClassKeyword",e[e.ConstKeyword=87]="ConstKeyword",e[e.ContinueKeyword=88]="ContinueKeyword",e[e.DebuggerKeyword=89]="DebuggerKeyword",e[e.DefaultKeyword=90]="DefaultKeyword",e[e.DeleteKeyword=91]="DeleteKeyword",e[e.DoKeyword=92]="DoKeyword",e[e.ElseKeyword=93]="ElseKeyword",e[e.EnumKeyword=94]="EnumKeyword",e[e.ExportKeyword=95]="ExportKeyword",e[e.ExtendsKeyword=96]="ExtendsKeyword",e[e.FalseKeyword=97]="FalseKeyword",e[e.FinallyKeyword=98]="FinallyKeyword",e[e.ForKeyword=99]="ForKeyword",e[e.FunctionKeyword=100]="FunctionKeyword",e[e.IfKeyword=101]="IfKeyword",e[e.ImportKeyword=102]="ImportKeyword",e[e.InKeyword=103]="InKeyword",e[e.InstanceOfKeyword=104]="InstanceOfKeyword",e[e.NewKeyword=105]="NewKeyword",e[e.NullKeyword=106]="NullKeyword",e[e.ReturnKeyword=107]="ReturnKeyword",e[e.SuperKeyword=108]="SuperKeyword",e[e.SwitchKeyword=109]="SwitchKeyword",e[e.ThisKeyword=110]="ThisKeyword",e[e.ThrowKeyword=111]="ThrowKeyword",e[e.TrueKeyword=112]="TrueKeyword",e[e.TryKeyword=113]="TryKeyword",e[e.TypeOfKeyword=114]="TypeOfKeyword",e[e.VarKeyword=115]="VarKeyword",e[e.VoidKeyword=116]="VoidKeyword",e[e.WhileKeyword=117]="WhileKeyword",e[e.WithKeyword=118]="WithKeyword",e[e.ImplementsKeyword=119]="ImplementsKeyword",e[e.InterfaceKeyword=120]="InterfaceKeyword",e[e.LetKeyword=121]="LetKeyword",e[e.PackageKeyword=122]="PackageKeyword",e[e.PrivateKeyword=123]="PrivateKeyword",e[e.ProtectedKeyword=124]="ProtectedKeyword",e[e.PublicKeyword=125]="PublicKeyword",e[e.StaticKeyword=126]="StaticKeyword",e[e.YieldKeyword=127]="YieldKeyword",e[e.AbstractKeyword=128]="AbstractKeyword",e[e.AccessorKeyword=129]="AccessorKeyword",e[e.AsKeyword=130]="AsKeyword",e[e.AssertsKeyword=131]="AssertsKeyword",e[e.AssertKeyword=132]="AssertKeyword",e[e.AnyKeyword=133]="AnyKeyword",e[e.AsyncKeyword=134]="AsyncKeyword",e[e.AwaitKeyword=135]="AwaitKeyword",e[e.BooleanKeyword=136]="BooleanKeyword",e[e.ConstructorKeyword=137]="ConstructorKeyword",e[e.DeclareKeyword=138]="DeclareKeyword",e[e.GetKeyword=139]="GetKeyword",e[e.InferKeyword=140]="InferKeyword",e[e.IntrinsicKeyword=141]="IntrinsicKeyword",e[e.IsKeyword=142]="IsKeyword",e[e.KeyOfKeyword=143]="KeyOfKeyword",e[e.ModuleKeyword=144]="ModuleKeyword",e[e.NamespaceKeyword=145]="NamespaceKeyword",e[e.NeverKeyword=146]="NeverKeyword",e[e.OutKeyword=147]="OutKeyword",e[e.ReadonlyKeyword=148]="ReadonlyKeyword",e[e.RequireKeyword=149]="RequireKeyword",e[e.NumberKeyword=150]="NumberKeyword",e[e.ObjectKeyword=151]="ObjectKeyword",e[e.SatisfiesKeyword=152]="SatisfiesKeyword",e[e.SetKeyword=153]="SetKeyword",e[e.StringKeyword=154]="StringKeyword",e[e.SymbolKeyword=155]="SymbolKeyword",e[e.TypeKeyword=156]="TypeKeyword",e[e.UndefinedKeyword=157]="UndefinedKeyword",e[e.UniqueKeyword=158]="UniqueKeyword",e[e.UnknownKeyword=159]="UnknownKeyword",e[e.FromKeyword=160]="FromKeyword",e[e.GlobalKeyword=161]="GlobalKeyword",e[e.BigIntKeyword=162]="BigIntKeyword",e[e.OverrideKeyword=163]="OverrideKeyword",e[e.OfKeyword=164]="OfKeyword",e[e.QualifiedName=165]="QualifiedName",e[e.ComputedPropertyName=166]="ComputedPropertyName",e[e.TypeParameter=167]="TypeParameter",e[e.Parameter=168]="Parameter",e[e.Decorator=169]="Decorator",e[e.PropertySignature=170]="PropertySignature",e[e.PropertyDeclaration=171]="PropertyDeclaration",e[e.MethodSignature=172]="MethodSignature",e[e.MethodDeclaration=173]="MethodDeclaration",e[e.ClassStaticBlockDeclaration=174]="ClassStaticBlockDeclaration",e[e.Constructor=175]="Constructor",e[e.GetAccessor=176]="GetAccessor",e[e.SetAccessor=177]="SetAccessor",e[e.CallSignature=178]="CallSignature",e[e.ConstructSignature=179]="ConstructSignature",e[e.IndexSignature=180]="IndexSignature",e[e.TypePredicate=181]="TypePredicate",e[e.TypeReference=182]="TypeReference",e[e.FunctionType=183]="FunctionType",e[e.ConstructorType=184]="ConstructorType",e[e.TypeQuery=185]="TypeQuery",e[e.TypeLiteral=186]="TypeLiteral",e[e.ArrayType=187]="ArrayType",e[e.TupleType=188]="TupleType",e[e.OptionalType=189]="OptionalType",e[e.RestType=190]="RestType",e[e.UnionType=191]="UnionType",e[e.IntersectionType=192]="IntersectionType",e[e.ConditionalType=193]="ConditionalType",e[e.InferType=194]="InferType",e[e.ParenthesizedType=195]="ParenthesizedType",e[e.ThisType=196]="ThisType",e[e.TypeOperator=197]="TypeOperator",e[e.IndexedAccessType=198]="IndexedAccessType",e[e.MappedType=199]="MappedType",e[e.LiteralType=200]="LiteralType",e[e.NamedTupleMember=201]="NamedTupleMember",e[e.TemplateLiteralType=202]="TemplateLiteralType",e[e.TemplateLiteralTypeSpan=203]="TemplateLiteralTypeSpan",e[e.ImportType=204]="ImportType",e[e.ObjectBindingPattern=205]="ObjectBindingPattern",e[e.ArrayBindingPattern=206]="ArrayBindingPattern",e[e.BindingElement=207]="BindingElement",e[e.ArrayLiteralExpression=208]="ArrayLiteralExpression",e[e.ObjectLiteralExpression=209]="ObjectLiteralExpression",e[e.PropertyAccessExpression=210]="PropertyAccessExpression",e[e.ElementAccessExpression=211]="ElementAccessExpression",e[e.CallExpression=212]="CallExpression",e[e.NewExpression=213]="NewExpression",e[e.TaggedTemplateExpression=214]="TaggedTemplateExpression",e[e.TypeAssertionExpression=215]="TypeAssertionExpression",e[e.ParenthesizedExpression=216]="ParenthesizedExpression",e[e.FunctionExpression=217]="FunctionExpression",e[e.ArrowFunction=218]="ArrowFunction",e[e.DeleteExpression=219]="DeleteExpression",e[e.TypeOfExpression=220]="TypeOfExpression",e[e.VoidExpression=221]="VoidExpression",e[e.AwaitExpression=222]="AwaitExpression",e[e.PrefixUnaryExpression=223]="PrefixUnaryExpression",e[e.PostfixUnaryExpression=224]="PostfixUnaryExpression",e[e.BinaryExpression=225]="BinaryExpression",e[e.ConditionalExpression=226]="ConditionalExpression",e[e.TemplateExpression=227]="TemplateExpression",e[e.YieldExpression=228]="YieldExpression",e[e.SpreadElement=229]="SpreadElement",e[e.ClassExpression=230]="ClassExpression",e[e.OmittedExpression=231]="OmittedExpression",e[e.ExpressionWithTypeArguments=232]="ExpressionWithTypeArguments",e[e.AsExpression=233]="AsExpression",e[e.NonNullExpression=234]="NonNullExpression",e[e.MetaProperty=235]="MetaProperty",e[e.SyntheticExpression=236]="SyntheticExpression",e[e.SatisfiesExpression=237]="SatisfiesExpression",e[e.TemplateSpan=238]="TemplateSpan",e[e.SemicolonClassElement=239]="SemicolonClassElement",e[e.Block=240]="Block",e[e.EmptyStatement=241]="EmptyStatement",e[e.VariableStatement=242]="VariableStatement",e[e.ExpressionStatement=243]="ExpressionStatement",e[e.IfStatement=244]="IfStatement",e[e.DoStatement=245]="DoStatement",e[e.WhileStatement=246]="WhileStatement",e[e.ForStatement=247]="ForStatement",e[e.ForInStatement=248]="ForInStatement",e[e.ForOfStatement=249]="ForOfStatement",e[e.ContinueStatement=250]="ContinueStatement",e[e.BreakStatement=251]="BreakStatement",e[e.ReturnStatement=252]="ReturnStatement",e[e.WithStatement=253]="WithStatement",e[e.SwitchStatement=254]="SwitchStatement",e[e.LabeledStatement=255]="LabeledStatement",e[e.ThrowStatement=256]="ThrowStatement",e[e.TryStatement=257]="TryStatement",e[e.DebuggerStatement=258]="DebuggerStatement",e[e.VariableDeclaration=259]="VariableDeclaration",e[e.VariableDeclarationList=260]="VariableDeclarationList",e[e.FunctionDeclaration=261]="FunctionDeclaration",e[e.ClassDeclaration=262]="ClassDeclaration",e[e.InterfaceDeclaration=263]="InterfaceDeclaration",e[e.TypeAliasDeclaration=264]="TypeAliasDeclaration",e[e.EnumDeclaration=265]="EnumDeclaration",e[e.ModuleDeclaration=266]="ModuleDeclaration",e[e.ModuleBlock=267]="ModuleBlock",e[e.CaseBlock=268]="CaseBlock",e[e.NamespaceExportDeclaration=269]="NamespaceExportDeclaration",e[e.ImportEqualsDeclaration=270]="ImportEqualsDeclaration",e[e.ImportDeclaration=271]="ImportDeclaration",e[e.ImportClause=272]="ImportClause",e[e.NamespaceImport=273]="NamespaceImport",e[e.NamedImports=274]="NamedImports",e[e.ImportSpecifier=275]="ImportSpecifier",e[e.ExportAssignment=276]="ExportAssignment",e[e.ExportDeclaration=277]="ExportDeclaration",e[e.NamedExports=278]="NamedExports",e[e.NamespaceExport=279]="NamespaceExport",e[e.ExportSpecifier=280]="ExportSpecifier",e[e.MissingDeclaration=281]="MissingDeclaration",e[e.ExternalModuleReference=282]="ExternalModuleReference",e[e.JsxElement=283]="JsxElement",e[e.JsxSelfClosingElement=284]="JsxSelfClosingElement",e[e.JsxOpeningElement=285]="JsxOpeningElement",e[e.JsxClosingElement=286]="JsxClosingElement",e[e.JsxFragment=287]="JsxFragment",e[e.JsxOpeningFragment=288]="JsxOpeningFragment",e[e.JsxClosingFragment=289]="JsxClosingFragment",e[e.JsxAttribute=290]="JsxAttribute",e[e.JsxAttributes=291]="JsxAttributes",e[e.JsxSpreadAttribute=292]="JsxSpreadAttribute",e[e.JsxExpression=293]="JsxExpression",e[e.JsxNamespacedName=294]="JsxNamespacedName",e[e.CaseClause=295]="CaseClause",e[e.DefaultClause=296]="DefaultClause",e[e.HeritageClause=297]="HeritageClause",e[e.CatchClause=298]="CatchClause",e[e.AssertClause=299]="AssertClause",e[e.AssertEntry=300]="AssertEntry",e[e.ImportTypeAssertionContainer=301]="ImportTypeAssertionContainer",e[e.PropertyAssignment=302]="PropertyAssignment",e[e.ShorthandPropertyAssignment=303]="ShorthandPropertyAssignment",e[e.SpreadAssignment=304]="SpreadAssignment",e[e.EnumMember=305]="EnumMember",e[e.UnparsedPrologue=306]="UnparsedPrologue",e[e.UnparsedPrepend=307]="UnparsedPrepend",e[e.UnparsedText=308]="UnparsedText",e[e.UnparsedInternalText=309]="UnparsedInternalText",e[e.UnparsedSyntheticReference=310]="UnparsedSyntheticReference",e[e.SourceFile=311]="SourceFile",e[e.Bundle=312]="Bundle",e[e.UnparsedSource=313]="UnparsedSource",e[e.InputFiles=314]="InputFiles",e[e.JSDocTypeExpression=315]="JSDocTypeExpression",e[e.JSDocNameReference=316]="JSDocNameReference",e[e.JSDocMemberName=317]="JSDocMemberName",e[e.JSDocAllType=318]="JSDocAllType",e[e.JSDocUnknownType=319]="JSDocUnknownType",e[e.JSDocNullableType=320]="JSDocNullableType",e[e.JSDocNonNullableType=321]="JSDocNonNullableType",e[e.JSDocOptionalType=322]="JSDocOptionalType",e[e.JSDocFunctionType=323]="JSDocFunctionType",e[e.JSDocVariadicType=324]="JSDocVariadicType",e[e.JSDocNamepathType=325]="JSDocNamepathType",e[e.JSDoc=326]="JSDoc",e[e.JSDocComment=326]="JSDocComment",e[e.JSDocText=327]="JSDocText",e[e.JSDocTypeLiteral=328]="JSDocTypeLiteral",e[e.JSDocSignature=329]="JSDocSignature",e[e.JSDocLink=330]="JSDocLink",e[e.JSDocLinkCode=331]="JSDocLinkCode",e[e.JSDocLinkPlain=332]="JSDocLinkPlain",e[e.JSDocTag=333]="JSDocTag",e[e.JSDocAugmentsTag=334]="JSDocAugmentsTag",e[e.JSDocImplementsTag=335]="JSDocImplementsTag",e[e.JSDocAuthorTag=336]="JSDocAuthorTag",e[e.JSDocDeprecatedTag=337]="JSDocDeprecatedTag",e[e.JSDocClassTag=338]="JSDocClassTag",e[e.JSDocPublicTag=339]="JSDocPublicTag",e[e.JSDocPrivateTag=340]="JSDocPrivateTag",e[e.JSDocProtectedTag=341]="JSDocProtectedTag",e[e.JSDocReadonlyTag=342]="JSDocReadonlyTag",e[e.JSDocOverrideTag=343]="JSDocOverrideTag",e[e.JSDocCallbackTag=344]="JSDocCallbackTag",e[e.JSDocOverloadTag=345]="JSDocOverloadTag",e[e.JSDocEnumTag=346]="JSDocEnumTag",e[e.JSDocParameterTag=347]="JSDocParameterTag",e[e.JSDocReturnTag=348]="JSDocReturnTag",e[e.JSDocThisTag=349]="JSDocThisTag",e[e.JSDocTypeTag=350]="JSDocTypeTag",e[e.JSDocTemplateTag=351]="JSDocTemplateTag",e[e.JSDocTypedefTag=352]="JSDocTypedefTag",e[e.JSDocSeeTag=353]="JSDocSeeTag",e[e.JSDocPropertyTag=354]="JSDocPropertyTag",e[e.JSDocThrowsTag=355]="JSDocThrowsTag",e[e.JSDocSatisfiesTag=356]="JSDocSatisfiesTag",e[e.SyntaxList=357]="SyntaxList",e[e.NotEmittedStatement=358]="NotEmittedStatement",e[e.PartiallyEmittedExpression=359]="PartiallyEmittedExpression",e[e.CommaListExpression=360]="CommaListExpression",e[e.SyntheticReferenceExpression=361]="SyntheticReferenceExpression",e[e.Count=362]="Count",e[e.FirstAssignment=64]="FirstAssignment",e[e.LastAssignment=79]="LastAssignment",e[e.FirstCompoundAssignment=65]="FirstCompoundAssignment",e[e.LastCompoundAssignment=79]="LastCompoundAssignment",e[e.FirstReservedWord=83]="FirstReservedWord",e[e.LastReservedWord=118]="LastReservedWord",e[e.FirstKeyword=83]="FirstKeyword",e[e.LastKeyword=164]="LastKeyword",e[e.FirstFutureReservedWord=119]="FirstFutureReservedWord",e[e.LastFutureReservedWord=127]="LastFutureReservedWord",e[e.FirstTypeNode=181]="FirstTypeNode",e[e.LastTypeNode=204]="LastTypeNode",e[e.FirstPunctuation=19]="FirstPunctuation",e[e.LastPunctuation=79]="LastPunctuation",e[e.FirstToken=0]="FirstToken",e[e.LastToken=164]="LastToken",e[e.FirstTriviaToken=2]="FirstTriviaToken",e[e.LastTriviaToken=7]="LastTriviaToken",e[e.FirstLiteralToken=9]="FirstLiteralToken",e[e.LastLiteralToken=15]="LastLiteralToken",e[e.FirstTemplateToken=15]="FirstTemplateToken",e[e.LastTemplateToken=18]="LastTemplateToken",e[e.FirstBinaryOperator=30]="FirstBinaryOperator",e[e.LastBinaryOperator=79]="LastBinaryOperator",e[e.FirstStatement=242]="FirstStatement",e[e.LastStatement=258]="LastStatement",e[e.FirstNode=165]="FirstNode",e[e.FirstJSDocNode=315]="FirstJSDocNode",e[e.LastJSDocNode=356]="LastJSDocNode",e[e.FirstJSDocTagNode=333]="FirstJSDocTagNode",e[e.LastJSDocTagNode=356]="LastJSDocTagNode",e[e.FirstContextualKeyword=128]="FirstContextualKeyword",e[e.LastContextualKeyword=164]="LastContextualKeyword",e))(bf||{}),vf=(e=>(e[e.None=0]="None",e[e.Let=1]="Let",e[e.Const=2]="Const",e[e.NestedNamespace=4]="NestedNamespace",e[e.Synthesized=8]="Synthesized",e[e.Namespace=16]="Namespace",e[e.OptionalChain=32]="OptionalChain",e[e.ExportContext=64]="ExportContext",e[e.ContainsThis=128]="ContainsThis",e[e.HasImplicitReturn=256]="HasImplicitReturn",e[e.HasExplicitReturn=512]="HasExplicitReturn",e[e.GlobalAugmentation=1024]="GlobalAugmentation",e[e.HasAsyncFunctions=2048]="HasAsyncFunctions",e[e.DisallowInContext=4096]="DisallowInContext",e[e.YieldContext=8192]="YieldContext",e[e.DecoratorContext=16384]="DecoratorContext",e[e.AwaitContext=32768]="AwaitContext",e[e.DisallowConditionalTypesContext=65536]="DisallowConditionalTypesContext",e[e.ThisNodeHasError=131072]="ThisNodeHasError",e[e.JavaScriptFile=262144]="JavaScriptFile",e[e.ThisNodeOrAnySubNodesHasError=524288]="ThisNodeOrAnySubNodesHasError",e[e.HasAggregatedChildData=1048576]="HasAggregatedChildData",e[e.PossiblyContainsDynamicImport=2097152]="PossiblyContainsDynamicImport",e[e.PossiblyContainsImportMeta=4194304]="PossiblyContainsImportMeta",e[e.JSDoc=8388608]="JSDoc",e[e.Ambient=16777216]="Ambient",e[e.InWithStatement=33554432]="InWithStatement",e[e.JsonFile=67108864]="JsonFile",e[e.TypeCached=134217728]="TypeCached",e[e.Deprecated=268435456]="Deprecated",e[e.BlockScoped=3]="BlockScoped",e[e.ReachabilityCheckFlags=768]="ReachabilityCheckFlags",e[e.ReachabilityAndEmitFlags=2816]="ReachabilityAndEmitFlags",e[e.ContextFlags=50720768]="ContextFlags",e[e.TypeExcludesFlags=40960]="TypeExcludesFlags",e[e.PermanentlySetIncrementalFlags=6291456]="PermanentlySetIncrementalFlags",e[e.IdentifierHasExtendedUnicodeEscape=128]="IdentifierHasExtendedUnicodeEscape",e[e.IdentifierIsInJSDocNamespace=2048]="IdentifierIsInJSDocNamespace",e))(vf||{}),Tf=(e=>(e[e.None=0]="None",e[e.Export=1]="Export",e[e.Ambient=2]="Ambient",e[e.Public=4]="Public",e[e.Private=8]="Private",e[e.Protected=16]="Protected",e[e.Static=32]="Static",e[e.Readonly=64]="Readonly",e[e.Accessor=128]="Accessor",e[e.Abstract=256]="Abstract",e[e.Async=512]="Async",e[e.Default=1024]="Default",e[e.Const=2048]="Const",e[e.HasComputedJSDocModifiers=4096]="HasComputedJSDocModifiers",e[e.Deprecated=8192]="Deprecated",e[e.Override=16384]="Override",e[e.In=32768]="In",e[e.Out=65536]="Out",e[e.Decorator=131072]="Decorator",e[e.HasComputedFlags=536870912]="HasComputedFlags",e[e.AccessibilityModifier=28]="AccessibilityModifier",e[e.ParameterPropertyModifier=16476]="ParameterPropertyModifier",e[e.NonPublicAccessibilityModifier=24]="NonPublicAccessibilityModifier",e[e.TypeScriptModifier=117086]="TypeScriptModifier",e[e.ExportDefault=1025]="ExportDefault",e[e.All=258047]="All",e[e.Modifier=126975]="Modifier",e))(Tf||{}),dh=(e=>(e[e.None=0]="None",e[e.IntrinsicNamedElement=1]="IntrinsicNamedElement",e[e.IntrinsicIndexedElement=2]="IntrinsicIndexedElement",e[e.IntrinsicElement=3]="IntrinsicElement",e))(dh||{}),xf=(e=>(e[e.Succeeded=1]="Succeeded",e[e.Failed=2]="Failed",e[e.Reported=4]="Reported",e[e.ReportsUnmeasurable=8]="ReportsUnmeasurable",e[e.ReportsUnreliable=16]="ReportsUnreliable",e[e.ReportsMask=24]="ReportsMask",e))(xf||{}),fh=(e=>(e[e.None=0]="None",e[e.Auto=1]="Auto",e[e.Loop=2]="Loop",e[e.Unique=3]="Unique",e[e.Node=4]="Node",e[e.KindMask=7]="KindMask",e[e.ReservedInNestedScopes=8]="ReservedInNestedScopes",e[e.Optimistic=16]="Optimistic",e[e.FileLevel=32]="FileLevel",e[e.AllowNameSubstitution=64]="AllowNameSubstitution",e))(fh||{}),mh=(e=>(e[e.None=0]="None",e[e.PrecedingLineBreak=1]="PrecedingLineBreak",e[e.PrecedingJSDocComment=2]="PrecedingJSDocComment",e[e.Unterminated=4]="Unterminated",e[e.ExtendedUnicodeEscape=8]="ExtendedUnicodeEscape",e[e.Scientific=16]="Scientific",e[e.Octal=32]="Octal",e[e.HexSpecifier=64]="HexSpecifier",e[e.BinarySpecifier=128]="BinarySpecifier",e[e.OctalSpecifier=256]="OctalSpecifier",e[e.ContainsSeparator=512]="ContainsSeparator",e[e.UnicodeEscape=1024]="UnicodeEscape",e[e.ContainsInvalidEscape=2048]="ContainsInvalidEscape",e[e.HexEscape=4096]="HexEscape",e[e.ContainsLeadingZero=8192]="ContainsLeadingZero",e[e.ContainsInvalidSeparator=16384]="ContainsInvalidSeparator",e[e.BinaryOrOctalSpecifier=384]="BinaryOrOctalSpecifier",e[e.WithSpecifier=448]="WithSpecifier",e[e.StringLiteralFlags=7176]="StringLiteralFlags",e[e.NumericLiteralFlags=25584]="NumericLiteralFlags",e[e.TemplateLiteralLikeFlags=7176]="TemplateLiteralLikeFlags",e[e.IsInvalid=26656]="IsInvalid",e))(mh||{}),ul=(e=>(e[e.Unreachable=1]="Unreachable",e[e.Start=2]="Start",e[e.BranchLabel=4]="BranchLabel",e[e.LoopLabel=8]="LoopLabel",e[e.Assignment=16]="Assignment",e[e.TrueCondition=32]="TrueCondition",e[e.FalseCondition=64]="FalseCondition",e[e.SwitchClause=128]="SwitchClause",e[e.ArrayMutation=256]="ArrayMutation",e[e.Call=512]="Call",e[e.ReduceLabel=1024]="ReduceLabel",e[e.Referenced=2048]="Referenced",e[e.Shared=4096]="Shared",e[e.Label=12]="Label",e[e.Condition=96]="Condition",e))(ul||{}),yh=(e=>(e[e.ExpectError=0]="ExpectError",e[e.Ignore=1]="Ignore",e))(yh||{}),Sf=class{},hh=(e=>(e[e.RootFile=0]="RootFile",e[e.SourceFromProjectReference=1]="SourceFromProjectReference",e[e.OutputFromProjectReference=2]="OutputFromProjectReference",e[e.Import=3]="Import",e[e.ReferenceFile=4]="ReferenceFile",e[e.TypeReferenceDirective=5]="TypeReferenceDirective",e[e.LibFile=6]="LibFile",e[e.LibReferenceDirective=7]="LibReferenceDirective",e[e.AutomaticTypeDirectiveFile=8]="AutomaticTypeDirectiveFile",e))(hh||{}),gh=(e=>(e[e.FilePreprocessingReferencedDiagnostic=0]="FilePreprocessingReferencedDiagnostic",e[e.FilePreprocessingFileExplainingDiagnostic=1]="FilePreprocessingFileExplainingDiagnostic",e[e.ResolutionDiagnostics=2]="ResolutionDiagnostics",e))(gh||{}),bh=(e=>(e[e.Js=0]="Js",e[e.Dts=1]="Dts",e))(bh||{}),vh=(e=>(e[e.Not=0]="Not",e[e.SafeModules=1]="SafeModules",e[e.Completely=2]="Completely",e))(vh||{}),Th=(e=>(e[e.Success=0]="Success",e[e.DiagnosticsPresent_OutputsSkipped=1]="DiagnosticsPresent_OutputsSkipped",e[e.DiagnosticsPresent_OutputsGenerated=2]="DiagnosticsPresent_OutputsGenerated",e[e.InvalidProject_OutputsSkipped=3]="InvalidProject_OutputsSkipped",e[e.ProjectReferenceCycle_OutputsSkipped=4]="ProjectReferenceCycle_OutputsSkipped",e))(Th||{}),xh=(e=>(e[e.Ok=0]="Ok",e[e.NeedsOverride=1]="NeedsOverride",e[e.HasInvalidOverride=2]="HasInvalidOverride",e))(xh||{}),Sh=(e=>(e[e.None=0]="None",e[e.Literal=1]="Literal",e[e.Subtype=2]="Subtype",e))(Sh||{}),wh=(e=>(e[e.None=0]="None",e[e.Signature=1]="Signature",e[e.NoConstraints=2]="NoConstraints",e[e.Completions=4]="Completions",e[e.SkipBindingPatterns=8]="SkipBindingPatterns",e))(wh||{}),Eh=(e=>(e[e.None=0]="None",e[e.NoTruncation=1]="NoTruncation",e[e.WriteArrayAsGenericType=2]="WriteArrayAsGenericType",e[e.GenerateNamesForShadowedTypeParams=4]="GenerateNamesForShadowedTypeParams",e[e.UseStructuralFallback=8]="UseStructuralFallback",e[e.ForbidIndexedAccessSymbolReferences=16]="ForbidIndexedAccessSymbolReferences",e[e.WriteTypeArgumentsOfSignature=32]="WriteTypeArgumentsOfSignature",e[e.UseFullyQualifiedType=64]="UseFullyQualifiedType",e[e.UseOnlyExternalAliasing=128]="UseOnlyExternalAliasing",e[e.SuppressAnyReturnType=256]="SuppressAnyReturnType",e[e.WriteTypeParametersInQualifiedName=512]="WriteTypeParametersInQualifiedName",e[e.MultilineObjectLiterals=1024]="MultilineObjectLiterals",e[e.WriteClassExpressionAsTypeLiteral=2048]="WriteClassExpressionAsTypeLiteral",e[e.UseTypeOfFunction=4096]="UseTypeOfFunction",e[e.OmitParameterModifiers=8192]="OmitParameterModifiers",e[e.UseAliasDefinedOutsideCurrentScope=16384]="UseAliasDefinedOutsideCurrentScope",e[e.UseSingleQuotesForStringLiteralType=268435456]="UseSingleQuotesForStringLiteralType",e[e.NoTypeReduction=536870912]="NoTypeReduction",e[e.OmitThisParameter=33554432]="OmitThisParameter",e[e.AllowThisInObjectLiteral=32768]="AllowThisInObjectLiteral",e[e.AllowQualifiedNameInPlaceOfIdentifier=65536]="AllowQualifiedNameInPlaceOfIdentifier",e[e.AllowAnonymousIdentifier=131072]="AllowAnonymousIdentifier",e[e.AllowEmptyUnionOrIntersection=262144]="AllowEmptyUnionOrIntersection",e[e.AllowEmptyTuple=524288]="AllowEmptyTuple",e[e.AllowUniqueESSymbolType=1048576]="AllowUniqueESSymbolType",e[e.AllowEmptyIndexInfoType=2097152]="AllowEmptyIndexInfoType",e[e.WriteComputedProps=1073741824]="WriteComputedProps",e[e.AllowNodeModulesRelativePaths=67108864]="AllowNodeModulesRelativePaths",e[e.DoNotIncludeSymbolChain=134217728]="DoNotIncludeSymbolChain",e[e.IgnoreErrors=70221824]="IgnoreErrors",e[e.InObjectTypeLiteral=4194304]="InObjectTypeLiteral",e[e.InTypeAlias=8388608]="InTypeAlias",e[e.InInitialEntityName=16777216]="InInitialEntityName",e))(Eh||{}),Ch=(e=>(e[e.None=0]="None",e[e.NoTruncation=1]="NoTruncation",e[e.WriteArrayAsGenericType=2]="WriteArrayAsGenericType",e[e.UseStructuralFallback=8]="UseStructuralFallback",e[e.WriteTypeArgumentsOfSignature=32]="WriteTypeArgumentsOfSignature",e[e.UseFullyQualifiedType=64]="UseFullyQualifiedType",e[e.SuppressAnyReturnType=256]="SuppressAnyReturnType",e[e.MultilineObjectLiterals=1024]="MultilineObjectLiterals",e[e.WriteClassExpressionAsTypeLiteral=2048]="WriteClassExpressionAsTypeLiteral",e[e.UseTypeOfFunction=4096]="UseTypeOfFunction",e[e.OmitParameterModifiers=8192]="OmitParameterModifiers",e[e.UseAliasDefinedOutsideCurrentScope=16384]="UseAliasDefinedOutsideCurrentScope",e[e.UseSingleQuotesForStringLiteralType=268435456]="UseSingleQuotesForStringLiteralType",e[e.NoTypeReduction=536870912]="NoTypeReduction",e[e.OmitThisParameter=33554432]="OmitThisParameter",e[e.AllowUniqueESSymbolType=1048576]="AllowUniqueESSymbolType",e[e.AddUndefined=131072]="AddUndefined",e[e.WriteArrowStyleSignature=262144]="WriteArrowStyleSignature",e[e.InArrayType=524288]="InArrayType",e[e.InElementType=2097152]="InElementType",e[e.InFirstTypeArgument=4194304]="InFirstTypeArgument",e[e.InTypeAlias=8388608]="InTypeAlias",e[e.NodeBuilderFlagsMask=848330091]="NodeBuilderFlagsMask",e))(Ch||{}),kh=(e=>(e[e.None=0]="None",e[e.WriteTypeParametersOrArguments=1]="WriteTypeParametersOrArguments",e[e.UseOnlyExternalAliasing=2]="UseOnlyExternalAliasing",e[e.AllowAnyNodeKind=4]="AllowAnyNodeKind",e[e.UseAliasDefinedOutsideCurrentScope=8]="UseAliasDefinedOutsideCurrentScope",e[e.WriteComputedProps=16]="WriteComputedProps",e[e.DoNotIncludeSymbolChain=32]="DoNotIncludeSymbolChain",e))(kh||{}),Ah=(e=>(e[e.Accessible=0]="Accessible",e[e.NotAccessible=1]="NotAccessible",e[e.CannotBeNamed=2]="CannotBeNamed",e))(Ah||{}),Dh=(e=>(e[e.UnionOrIntersection=0]="UnionOrIntersection",e[e.Spread=1]="Spread",e))(Dh||{}),Ph=(e=>(e[e.This=0]="This",e[e.Identifier=1]="Identifier",e[e.AssertsThis=2]="AssertsThis",e[e.AssertsIdentifier=3]="AssertsIdentifier",e))(Ph||{}),Nh=(e=>(e[e.Unknown=0]="Unknown",e[e.TypeWithConstructSignatureAndValue=1]="TypeWithConstructSignatureAndValue",e[e.VoidNullableOrNeverType=2]="VoidNullableOrNeverType",e[e.NumberLikeType=3]="NumberLikeType",e[e.BigIntLikeType=4]="BigIntLikeType",e[e.StringLikeType=5]="StringLikeType",e[e.BooleanType=6]="BooleanType",e[e.ArrayLikeType=7]="ArrayLikeType",e[e.ESSymbolType=8]="ESSymbolType",e[e.Promise=9]="Promise",e[e.TypeWithCallSignature=10]="TypeWithCallSignature",e[e.ObjectType=11]="ObjectType",e))(Nh||{}),wf=(e=>(e[e.None=0]="None",e[e.FunctionScopedVariable=1]="FunctionScopedVariable",e[e.BlockScopedVariable=2]="BlockScopedVariable",e[e.Property=4]="Property",e[e.EnumMember=8]="EnumMember",e[e.Function=16]="Function",e[e.Class=32]="Class",e[e.Interface=64]="Interface",e[e.ConstEnum=128]="ConstEnum",e[e.RegularEnum=256]="RegularEnum",e[e.ValueModule=512]="ValueModule",e[e.NamespaceModule=1024]="NamespaceModule",e[e.TypeLiteral=2048]="TypeLiteral",e[e.ObjectLiteral=4096]="ObjectLiteral",e[e.Method=8192]="Method",e[e.Constructor=16384]="Constructor",e[e.GetAccessor=32768]="GetAccessor",e[e.SetAccessor=65536]="SetAccessor",e[e.Signature=131072]="Signature",e[e.TypeParameter=262144]="TypeParameter",e[e.TypeAlias=524288]="TypeAlias",e[e.ExportValue=1048576]="ExportValue",e[e.Alias=2097152]="Alias",e[e.Prototype=4194304]="Prototype",e[e.ExportStar=8388608]="ExportStar",e[e.Optional=16777216]="Optional",e[e.Transient=33554432]="Transient",e[e.Assignment=67108864]="Assignment",e[e.ModuleExports=134217728]="ModuleExports",e[e.All=67108863]="All",e[e.Enum=384]="Enum",e[e.Variable=3]="Variable",e[e.Value=111551]="Value",e[e.Type=788968]="Type",e[e.Namespace=1920]="Namespace",e[e.Module=1536]="Module",e[e.Accessor=98304]="Accessor",e[e.FunctionScopedVariableExcludes=111550]="FunctionScopedVariableExcludes",e[e.BlockScopedVariableExcludes=111551]="BlockScopedVariableExcludes",e[e.ParameterExcludes=111551]="ParameterExcludes",e[e.PropertyExcludes=0]="PropertyExcludes",e[e.EnumMemberExcludes=900095]="EnumMemberExcludes",e[e.FunctionExcludes=110991]="FunctionExcludes",e[e.ClassExcludes=899503]="ClassExcludes",e[e.InterfaceExcludes=788872]="InterfaceExcludes",e[e.RegularEnumExcludes=899327]="RegularEnumExcludes",e[e.ConstEnumExcludes=899967]="ConstEnumExcludes",e[e.ValueModuleExcludes=110735]="ValueModuleExcludes",e[e.NamespaceModuleExcludes=0]="NamespaceModuleExcludes",e[e.MethodExcludes=103359]="MethodExcludes",e[e.GetAccessorExcludes=46015]="GetAccessorExcludes",e[e.SetAccessorExcludes=78783]="SetAccessorExcludes",e[e.AccessorExcludes=13247]="AccessorExcludes",e[e.TypeParameterExcludes=526824]="TypeParameterExcludes",e[e.TypeAliasExcludes=788968]="TypeAliasExcludes",e[e.AliasExcludes=2097152]="AliasExcludes",e[e.ModuleMember=2623475]="ModuleMember",e[e.ExportHasLocal=944]="ExportHasLocal",e[e.BlockScoped=418]="BlockScoped",e[e.PropertyOrAccessor=98308]="PropertyOrAccessor",e[e.ClassMember=106500]="ClassMember",e[e.ExportSupportsDefaultModifier=112]="ExportSupportsDefaultModifier",e[e.ExportDoesNotSupportDefaultModifier=-113]="ExportDoesNotSupportDefaultModifier",e[e.Classifiable=2885600]="Classifiable",e[e.LateBindingContainer=6256]="LateBindingContainer",e))(wf||{}),Ih=(e=>(e[e.Numeric=0]="Numeric",e[e.Literal=1]="Literal",e))(Ih||{}),Oh=(e=>(e[e.None=0]="None",e[e.Instantiated=1]="Instantiated",e[e.SyntheticProperty=2]="SyntheticProperty",e[e.SyntheticMethod=4]="SyntheticMethod",e[e.Readonly=8]="Readonly",e[e.ReadPartial=16]="ReadPartial",e[e.WritePartial=32]="WritePartial",e[e.HasNonUniformType=64]="HasNonUniformType",e[e.HasLiteralType=128]="HasLiteralType",e[e.ContainsPublic=256]="ContainsPublic",e[e.ContainsProtected=512]="ContainsProtected",e[e.ContainsPrivate=1024]="ContainsPrivate",e[e.ContainsStatic=2048]="ContainsStatic",e[e.Late=4096]="Late",e[e.ReverseMapped=8192]="ReverseMapped",e[e.OptionalParameter=16384]="OptionalParameter",e[e.RestParameter=32768]="RestParameter",e[e.DeferredType=65536]="DeferredType",e[e.HasNeverType=131072]="HasNeverType",e[e.Mapped=262144]="Mapped",e[e.StripOptional=524288]="StripOptional",e[e.Unresolved=1048576]="Unresolved",e[e.Synthetic=6]="Synthetic",e[e.Discriminant=192]="Discriminant",e[e.Partial=48]="Partial",e))(Oh||{}),Mh=(e=>(e.Call="__call",e.Constructor="__constructor",e.New="__new",e.Index="__index",e.ExportStar="__export",e.Global="__global",e.Missing="__missing",e.Type="__type",e.Object="__object",e.JSXAttributes="__jsxAttributes",e.Class="__class",e.Function="__function",e.Computed="__computed",e.Resolving="__resolving__",e.ExportEquals="export=",e.Default="default",e.This="this",e))(Mh||{}),Lh=(e=>(e[e.None=0]="None",e[e.TypeChecked=1]="TypeChecked",e[e.LexicalThis=2]="LexicalThis",e[e.CaptureThis=4]="CaptureThis",e[e.CaptureNewTarget=8]="CaptureNewTarget",e[e.SuperInstance=16]="SuperInstance",e[e.SuperStatic=32]="SuperStatic",e[e.ContextChecked=64]="ContextChecked",e[e.MethodWithSuperPropertyAccessInAsync=128]="MethodWithSuperPropertyAccessInAsync",e[e.MethodWithSuperPropertyAssignmentInAsync=256]="MethodWithSuperPropertyAssignmentInAsync",e[e.CaptureArguments=512]="CaptureArguments",e[e.EnumValuesComputed=1024]="EnumValuesComputed",e[e.LexicalModuleMergesWithClass=2048]="LexicalModuleMergesWithClass",e[e.LoopWithCapturedBlockScopedBinding=4096]="LoopWithCapturedBlockScopedBinding",e[e.ContainsCapturedBlockScopeBinding=8192]="ContainsCapturedBlockScopeBinding",e[e.CapturedBlockScopedBinding=16384]="CapturedBlockScopedBinding",e[e.BlockScopedBindingInLoop=32768]="BlockScopedBindingInLoop",e[e.ClassWithBodyScopedClassBinding=65536]="ClassWithBodyScopedClassBinding",e[e.BodyScopedClassBinding=131072]="BodyScopedClassBinding",e[e.NeedsLoopOutParameter=262144]="NeedsLoopOutParameter",e[e.AssignmentsMarked=524288]="AssignmentsMarked",e[e.ClassWithConstructorReference=1048576]="ClassWithConstructorReference",e[e.ConstructorReferenceInClass=2097152]="ConstructorReferenceInClass",e[e.ContainsClassWithPrivateIdentifiers=4194304]="ContainsClassWithPrivateIdentifiers",e[e.ContainsSuperPropertyInStaticInitializer=8388608]="ContainsSuperPropertyInStaticInitializer",e[e.InCheckIdentifier=16777216]="InCheckIdentifier",e))(Lh||{}),Ef=(e=>(e[e.Any=1]="Any",e[e.Unknown=2]="Unknown",e[e.String=4]="String",e[e.Number=8]="Number",e[e.Boolean=16]="Boolean",e[e.Enum=32]="Enum",e[e.BigInt=64]="BigInt",e[e.StringLiteral=128]="StringLiteral",e[e.NumberLiteral=256]="NumberLiteral",e[e.BooleanLiteral=512]="BooleanLiteral",e[e.EnumLiteral=1024]="EnumLiteral",e[e.BigIntLiteral=2048]="BigIntLiteral",e[e.ESSymbol=4096]="ESSymbol",e[e.UniqueESSymbol=8192]="UniqueESSymbol",e[e.Void=16384]="Void",e[e.Undefined=32768]="Undefined",e[e.Null=65536]="Null",e[e.Never=131072]="Never",e[e.TypeParameter=262144]="TypeParameter",e[e.Object=524288]="Object",e[e.Union=1048576]="Union",e[e.Intersection=2097152]="Intersection",e[e.Index=4194304]="Index",e[e.IndexedAccess=8388608]="IndexedAccess",e[e.Conditional=16777216]="Conditional",e[e.Substitution=33554432]="Substitution",e[e.NonPrimitive=67108864]="NonPrimitive",e[e.TemplateLiteral=134217728]="TemplateLiteral",e[e.StringMapping=268435456]="StringMapping",e[e.AnyOrUnknown=3]="AnyOrUnknown",e[e.Nullable=98304]="Nullable",e[e.Literal=2944]="Literal",e[e.Unit=109472]="Unit",e[e.Freshable=2976]="Freshable",e[e.StringOrNumberLiteral=384]="StringOrNumberLiteral",e[e.StringOrNumberLiteralOrUnique=8576]="StringOrNumberLiteralOrUnique",e[e.DefinitelyFalsy=117632]="DefinitelyFalsy",e[e.PossiblyFalsy=117724]="PossiblyFalsy",e[e.Intrinsic=67359327]="Intrinsic",e[e.StringLike=402653316]="StringLike",e[e.NumberLike=296]="NumberLike",e[e.BigIntLike=2112]="BigIntLike",e[e.BooleanLike=528]="BooleanLike",e[e.EnumLike=1056]="EnumLike",e[e.ESSymbolLike=12288]="ESSymbolLike",e[e.VoidLike=49152]="VoidLike",e[e.Primitive=402784252]="Primitive",e[e.DefinitelyNonNullable=470302716]="DefinitelyNonNullable",e[e.DisjointDomains=469892092]="DisjointDomains",e[e.UnionOrIntersection=3145728]="UnionOrIntersection",e[e.StructuredType=3670016]="StructuredType",e[e.TypeVariable=8650752]="TypeVariable",e[e.InstantiableNonPrimitive=58982400]="InstantiableNonPrimitive",e[e.InstantiablePrimitive=406847488]="InstantiablePrimitive",e[e.Instantiable=465829888]="Instantiable",e[e.StructuredOrInstantiable=469499904]="StructuredOrInstantiable",e[e.ObjectFlagsType=138117121]="ObjectFlagsType",e[e.Simplifiable=25165824]="Simplifiable",e[e.Singleton=67358815]="Singleton",e[e.Narrowable=536624127]="Narrowable",e[e.IncludesMask=473694207]="IncludesMask",e[e.IncludesMissingType=262144]="IncludesMissingType",e[e.IncludesNonWideningType=4194304]="IncludesNonWideningType",e[e.IncludesWildcard=8388608]="IncludesWildcard",e[e.IncludesEmptyObject=16777216]="IncludesEmptyObject",e[e.IncludesInstantiable=33554432]="IncludesInstantiable",e[e.NotPrimitiveUnion=36323331]="NotPrimitiveUnion",e))(Ef||{}),Cf=(e=>(e[e.None=0]="None",e[e.Class=1]="Class",e[e.Interface=2]="Interface",e[e.Reference=4]="Reference",e[e.Tuple=8]="Tuple",e[e.Anonymous=16]="Anonymous",e[e.Mapped=32]="Mapped",e[e.Instantiated=64]="Instantiated",e[e.ObjectLiteral=128]="ObjectLiteral",e[e.EvolvingArray=256]="EvolvingArray",e[e.ObjectLiteralPatternWithComputedProperties=512]="ObjectLiteralPatternWithComputedProperties",e[e.ReverseMapped=1024]="ReverseMapped",e[e.JsxAttributes=2048]="JsxAttributes",e[e.JSLiteral=4096]="JSLiteral",e[e.FreshLiteral=8192]="FreshLiteral",e[e.ArrayLiteral=16384]="ArrayLiteral",e[e.PrimitiveUnion=32768]="PrimitiveUnion",e[e.ContainsWideningType=65536]="ContainsWideningType",e[e.ContainsObjectOrArrayLiteral=131072]="ContainsObjectOrArrayLiteral",e[e.NonInferrableType=262144]="NonInferrableType",e[e.CouldContainTypeVariablesComputed=524288]="CouldContainTypeVariablesComputed",e[e.CouldContainTypeVariables=1048576]="CouldContainTypeVariables",e[e.ClassOrInterface=3]="ClassOrInterface",e[e.RequiresWidening=196608]="RequiresWidening",e[e.PropagatingFlags=458752]="PropagatingFlags",e[e.ObjectTypeKindMask=1343]="ObjectTypeKindMask",e[e.ContainsSpread=2097152]="ContainsSpread",e[e.ObjectRestType=4194304]="ObjectRestType",e[e.InstantiationExpressionType=8388608]="InstantiationExpressionType",e[e.IsClassInstanceClone=16777216]="IsClassInstanceClone",e[e.IdenticalBaseTypeCalculated=33554432]="IdenticalBaseTypeCalculated",e[e.IdenticalBaseTypeExists=67108864]="IdenticalBaseTypeExists",e[e.IsGenericTypeComputed=2097152]="IsGenericTypeComputed",e[e.IsGenericObjectType=4194304]="IsGenericObjectType",e[e.IsGenericIndexType=8388608]="IsGenericIndexType",e[e.IsGenericType=12582912]="IsGenericType",e[e.ContainsIntersections=16777216]="ContainsIntersections",e[e.IsUnknownLikeUnionComputed=33554432]="IsUnknownLikeUnionComputed",e[e.IsUnknownLikeUnion=67108864]="IsUnknownLikeUnion",e[e.IsNeverIntersectionComputed=16777216]="IsNeverIntersectionComputed",e[e.IsNeverIntersection=33554432]="IsNeverIntersection",e))(Cf||{}),Jh=(e=>(e[e.Invariant=0]="Invariant",e[e.Covariant=1]="Covariant",e[e.Contravariant=2]="Contravariant",e[e.Bivariant=3]="Bivariant",e[e.Independent=4]="Independent",e[e.VarianceMask=7]="VarianceMask",e[e.Unmeasurable=8]="Unmeasurable",e[e.Unreliable=16]="Unreliable",e[e.AllowsStructuralFallback=24]="AllowsStructuralFallback",e))(Jh||{}),Rh=(e=>(e[e.Required=1]="Required",e[e.Optional=2]="Optional",e[e.Rest=4]="Rest",e[e.Variadic=8]="Variadic",e[e.Fixed=3]="Fixed",e[e.Variable=12]="Variable",e[e.NonRequired=14]="NonRequired",e[e.NonRest=11]="NonRest",e))(Rh||{}),Fh=(e=>(e[e.None=0]="None",e[e.IncludeUndefined=1]="IncludeUndefined",e[e.NoIndexSignatures=2]="NoIndexSignatures",e[e.Writing=4]="Writing",e[e.CacheSymbol=8]="CacheSymbol",e[e.NoTupleBoundsCheck=16]="NoTupleBoundsCheck",e[e.ExpressionPosition=32]="ExpressionPosition",e[e.ReportDeprecated=64]="ReportDeprecated",e[e.SuppressNoImplicitAnyError=128]="SuppressNoImplicitAnyError",e[e.Contextual=256]="Contextual",e[e.Persistent=1]="Persistent",e))(Fh||{}),jh=(e=>(e[e.None=0]="None",e[e.StringsOnly=1]="StringsOnly",e[e.NoIndexSignatures=2]="NoIndexSignatures",e[e.NoReducibleCheck=4]="NoReducibleCheck",e))(jh||{}),Bh=(e=>(e[e.Component=0]="Component",e[e.Function=1]="Function",e[e.Mixed=2]="Mixed",e))(Bh||{}),Uh=(e=>(e[e.Call=0]="Call",e[e.Construct=1]="Construct",e))(Uh||{}),kf=(e=>(e[e.None=0]="None",e[e.HasRestParameter=1]="HasRestParameter",e[e.HasLiteralTypes=2]="HasLiteralTypes",e[e.Abstract=4]="Abstract",e[e.IsInnerCallChain=8]="IsInnerCallChain",e[e.IsOuterCallChain=16]="IsOuterCallChain",e[e.IsUntypedSignatureInJSFile=32]="IsUntypedSignatureInJSFile",e[e.IsNonInferrable=64]="IsNonInferrable",e[e.PropagatingFlags=39]="PropagatingFlags",e[e.CallChainFlags=24]="CallChainFlags",e))(kf||{}),qh=(e=>(e[e.String=0]="String",e[e.Number=1]="Number",e))(qh||{}),zh=(e=>(e[e.Simple=0]="Simple",e[e.Array=1]="Array",e[e.Deferred=2]="Deferred",e[e.Function=3]="Function",e[e.Composite=4]="Composite",e[e.Merged=5]="Merged",e))(zh||{}),Wh=(e=>(e[e.None=0]="None",e[e.NakedTypeVariable=1]="NakedTypeVariable",e[e.SpeculativeTuple=2]="SpeculativeTuple",e[e.SubstituteSource=4]="SubstituteSource",e[e.HomomorphicMappedType=8]="HomomorphicMappedType",e[e.PartialHomomorphicMappedType=16]="PartialHomomorphicMappedType",e[e.MappedTypeConstraint=32]="MappedTypeConstraint",e[e.ContravariantConditional=64]="ContravariantConditional",e[e.ReturnType=128]="ReturnType",e[e.LiteralKeyof=256]="LiteralKeyof",e[e.NoConstraints=512]="NoConstraints",e[e.AlwaysStrict=1024]="AlwaysStrict",e[e.MaxValue=2048]="MaxValue",e[e.PriorityImpliesCombination=416]="PriorityImpliesCombination",e[e.Circularity=-1]="Circularity",e))(Wh||{}),Vh=(e=>(e[e.None=0]="None",e[e.NoDefault=1]="NoDefault",e[e.AnyDefault=2]="AnyDefault",e[e.SkippedGenericFunction=4]="SkippedGenericFunction",e))(Vh||{}),Hh=(e=>(e[e.False=0]="False",e[e.Unknown=1]="Unknown",e[e.Maybe=3]="Maybe",e[e.True=-1]="True",e))(Hh||{}),Kh=(e=>(e[e.None=0]="None",e[e.ExportsProperty=1]="ExportsProperty",e[e.ModuleExports=2]="ModuleExports",e[e.PrototypeProperty=3]="PrototypeProperty",e[e.ThisProperty=4]="ThisProperty",e[e.Property=5]="Property",e[e.Prototype=6]="Prototype",e[e.ObjectDefinePropertyValue=7]="ObjectDefinePropertyValue",e[e.ObjectDefinePropertyExports=8]="ObjectDefinePropertyExports",e[e.ObjectDefinePrototypeProperty=9]="ObjectDefinePrototypeProperty",e))(Kh||{}),Af=(e=>(e[e.Warning=0]="Warning",e[e.Error=1]="Error",e[e.Suggestion=2]="Suggestion",e[e.Message=3]="Message",e))(Af||{}),Gh=(e=>(e[e.Classic=1]="Classic",e[e.NodeJs=2]="NodeJs",e[e.Node10=2]="Node10",e[e.Node16=3]="Node16",e[e.NodeNext=99]="NodeNext",e[e.Bundler=100]="Bundler",e))(Gh||{}),Xh=(e=>(e[e.Legacy=1]="Legacy",e[e.Auto=2]="Auto",e[e.Force=3]="Force",e))(Xh||{}),$h=(e=>(e[e.FixedPollingInterval=0]="FixedPollingInterval",e[e.PriorityPollingInterval=1]="PriorityPollingInterval",e[e.DynamicPriorityPolling=2]="DynamicPriorityPolling",e[e.FixedChunkSizePolling=3]="FixedChunkSizePolling",e[e.UseFsEvents=4]="UseFsEvents",e[e.UseFsEventsOnParentDirectory=5]="UseFsEventsOnParentDirectory",e))($h||{}),Qh=(e=>(e[e.UseFsEvents=0]="UseFsEvents",e[e.FixedPollingInterval=1]="FixedPollingInterval",e[e.DynamicPriorityPolling=2]="DynamicPriorityPolling",e[e.FixedChunkSizePolling=3]="FixedChunkSizePolling",e))(Qh||{}),Yh=(e=>(e[e.FixedInterval=0]="FixedInterval",e[e.PriorityInterval=1]="PriorityInterval",e[e.DynamicPriority=2]="DynamicPriority",e[e.FixedChunkSize=3]="FixedChunkSize",e))(Yh||{}),Zh=(e=>(e[e.None=0]="None",e[e.CommonJS=1]="CommonJS",e[e.AMD=2]="AMD",e[e.UMD=3]="UMD",e[e.System=4]="System",e[e.ES2015=5]="ES2015",e[e.ES2020=6]="ES2020",e[e.ES2022=7]="ES2022",e[e.ESNext=99]="ESNext",e[e.Node16=100]="Node16",e[e.NodeNext=199]="NodeNext",e))(Zh||{}),e0=(e=>(e[e.None=0]="None",e[e.Preserve=1]="Preserve",e[e.React=2]="React",e[e.ReactNative=3]="ReactNative",e[e.ReactJSX=4]="ReactJSX",e[e.ReactJSXDev=5]="ReactJSXDev",e))(e0||{}),t0=(e=>(e[e.Remove=0]="Remove",e[e.Preserve=1]="Preserve",e[e.Error=2]="Error",e))(t0||{}),n0=(e=>(e[e.CarriageReturnLineFeed=0]="CarriageReturnLineFeed",e[e.LineFeed=1]="LineFeed",e))(n0||{}),r0=(e=>(e[e.Unknown=0]="Unknown",e[e.JS=1]="JS",e[e.JSX=2]="JSX",e[e.TS=3]="TS",e[e.TSX=4]="TSX",e[e.External=5]="External",e[e.JSON=6]="JSON",e[e.Deferred=7]="Deferred",e))(r0||{}),i0=(e=>(e[e.ES3=0]="ES3",e[e.ES5=1]="ES5",e[e.ES2015=2]="ES2015",e[e.ES2016=3]="ES2016",e[e.ES2017=4]="ES2017",e[e.ES2018=5]="ES2018",e[e.ES2019=6]="ES2019",e[e.ES2020=7]="ES2020",e[e.ES2021=8]="ES2021",e[e.ES2022=9]="ES2022",e[e.ESNext=99]="ESNext",e[e.JSON=100]="JSON",e[e.Latest=99]="Latest",e))(i0||{}),a0=(e=>(e[e.Standard=0]="Standard",e[e.JSX=1]="JSX",e))(a0||{}),o0=(e=>(e[e.None=0]="None",e[e.Recursive=1]="Recursive",e))(o0||{}),s0=(e=>(e[e.nullCharacter=0]="nullCharacter",e[e.maxAsciiCharacter=127]="maxAsciiCharacter",e[e.lineFeed=10]="lineFeed",e[e.carriageReturn=13]="carriageReturn",e[e.lineSeparator=8232]="lineSeparator",e[e.paragraphSeparator=8233]="paragraphSeparator",e[e.nextLine=133]="nextLine",e[e.space=32]="space",e[e.nonBreakingSpace=160]="nonBreakingSpace",e[e.enQuad=8192]="enQuad",e[e.emQuad=8193]="emQuad",e[e.enSpace=8194]="enSpace",e[e.emSpace=8195]="emSpace",e[e.threePerEmSpace=8196]="threePerEmSpace",e[e.fourPerEmSpace=8197]="fourPerEmSpace",e[e.sixPerEmSpace=8198]="sixPerEmSpace",e[e.figureSpace=8199]="figureSpace",e[e.punctuationSpace=8200]="punctuationSpace",e[e.thinSpace=8201]="thinSpace",e[e.hairSpace=8202]="hairSpace",e[e.zeroWidthSpace=8203]="zeroWidthSpace",e[e.narrowNoBreakSpace=8239]="narrowNoBreakSpace",e[e.ideographicSpace=12288]="ideographicSpace",e[e.mathematicalSpace=8287]="mathematicalSpace",e[e.ogham=5760]="ogham",e[e.replacementCharacter=65533]="replacementCharacter",e[e._=95]="_",e[e.$=36]="$",e[e._0=48]="_0",e[e._1=49]="_1",e[e._2=50]="_2",e[e._3=51]="_3",e[e._4=52]="_4",e[e._5=53]="_5",e[e._6=54]="_6",e[e._7=55]="_7",e[e._8=56]="_8",e[e._9=57]="_9",e[e.a=97]="a",e[e.b=98]="b",e[e.c=99]="c",e[e.d=100]="d",e[e.e=101]="e",e[e.f=102]="f",e[e.g=103]="g",e[e.h=104]="h",e[e.i=105]="i",e[e.j=106]="j",e[e.k=107]="k",e[e.l=108]="l",e[e.m=109]="m",e[e.n=110]="n",e[e.o=111]="o",e[e.p=112]="p",e[e.q=113]="q",e[e.r=114]="r",e[e.s=115]="s",e[e.t=116]="t",e[e.u=117]="u",e[e.v=118]="v",e[e.w=119]="w",e[e.x=120]="x",e[e.y=121]="y",e[e.z=122]="z",e[e.A=65]="A",e[e.B=66]="B",e[e.C=67]="C",e[e.D=68]="D",e[e.E=69]="E",e[e.F=70]="F",e[e.G=71]="G",e[e.H=72]="H",e[e.I=73]="I",e[e.J=74]="J",e[e.K=75]="K",e[e.L=76]="L",e[e.M=77]="M",e[e.N=78]="N",e[e.O=79]="O",e[e.P=80]="P",e[e.Q=81]="Q",e[e.R=82]="R",e[e.S=83]="S",e[e.T=84]="T",e[e.U=85]="U",e[e.V=86]="V",e[e.W=87]="W",e[e.X=88]="X",e[e.Y=89]="Y",e[e.Z=90]="Z",e[e.ampersand=38]="ampersand",e[e.asterisk=42]="asterisk",e[e.at=64]="at",e[e.backslash=92]="backslash",e[e.backtick=96]="backtick",e[e.bar=124]="bar",e[e.caret=94]="caret",e[e.closeBrace=125]="closeBrace",e[e.closeBracket=93]="closeBracket",e[e.closeParen=41]="closeParen",e[e.colon=58]="colon",e[e.comma=44]="comma",e[e.dot=46]="dot",e[e.doubleQuote=34]="doubleQuote",e[e.equals=61]="equals",e[e.exclamation=33]="exclamation",e[e.greaterThan=62]="greaterThan",e[e.hash=35]="hash",e[e.lessThan=60]="lessThan",e[e.minus=45]="minus",e[e.openBrace=123]="openBrace",e[e.openBracket=91]="openBracket",e[e.openParen=40]="openParen",e[e.percent=37]="percent",e[e.plus=43]="plus",e[e.question=63]="question",e[e.semicolon=59]="semicolon",e[e.singleQuote=39]="singleQuote",e[e.slash=47]="slash",e[e.tilde=126]="tilde",e[e.backspace=8]="backspace",e[e.formFeed=12]="formFeed",e[e.byteOrderMark=65279]="byteOrderMark",e[e.tab=9]="tab",e[e.verticalTab=11]="verticalTab",e))(s0||{}),_0=(e=>(e.Ts=".ts",e.Tsx=".tsx",e.Dts=".d.ts",e.Js=".js",e.Jsx=".jsx",e.Json=".json",e.TsBuildInfo=".tsbuildinfo",e.Mjs=".mjs",e.Mts=".mts",e.Dmts=".d.mts",e.Cjs=".cjs",e.Cts=".cts",e.Dcts=".d.cts",e))(_0||{}),Df=(e=>(e[e.None=0]="None",e[e.ContainsTypeScript=1]="ContainsTypeScript",e[e.ContainsJsx=2]="ContainsJsx",e[e.ContainsESNext=4]="ContainsESNext",e[e.ContainsES2022=8]="ContainsES2022",e[e.ContainsES2021=16]="ContainsES2021",e[e.ContainsES2020=32]="ContainsES2020",e[e.ContainsES2019=64]="ContainsES2019",e[e.ContainsES2018=128]="ContainsES2018",e[e.ContainsES2017=256]="ContainsES2017",e[e.ContainsES2016=512]="ContainsES2016",e[e.ContainsES2015=1024]="ContainsES2015",e[e.ContainsGenerator=2048]="ContainsGenerator",e[e.ContainsDestructuringAssignment=4096]="ContainsDestructuringAssignment",e[e.ContainsTypeScriptClassSyntax=8192]="ContainsTypeScriptClassSyntax",e[e.ContainsLexicalThis=16384]="ContainsLexicalThis",e[e.ContainsRestOrSpread=32768]="ContainsRestOrSpread",e[e.ContainsObjectRestOrSpread=65536]="ContainsObjectRestOrSpread",e[e.ContainsComputedPropertyName=131072]="ContainsComputedPropertyName",e[e.ContainsBlockScopedBinding=262144]="ContainsBlockScopedBinding",e[e.ContainsBindingPattern=524288]="ContainsBindingPattern",e[e.ContainsYield=1048576]="ContainsYield",e[e.ContainsAwait=2097152]="ContainsAwait",e[e.ContainsHoistedDeclarationOrCompletion=4194304]="ContainsHoistedDeclarationOrCompletion",e[e.ContainsDynamicImport=8388608]="ContainsDynamicImport",e[e.ContainsClassFields=16777216]="ContainsClassFields",e[e.ContainsDecorators=33554432]="ContainsDecorators",e[e.ContainsPossibleTopLevelAwait=67108864]="ContainsPossibleTopLevelAwait",e[e.ContainsLexicalSuper=134217728]="ContainsLexicalSuper",e[e.ContainsUpdateExpressionForIdentifier=268435456]="ContainsUpdateExpressionForIdentifier",e[e.ContainsPrivateIdentifierInExpression=536870912]="ContainsPrivateIdentifierInExpression",e[e.HasComputedFlags=-2147483648]="HasComputedFlags",e[e.AssertTypeScript=1]="AssertTypeScript",e[e.AssertJsx=2]="AssertJsx",e[e.AssertESNext=4]="AssertESNext",e[e.AssertES2022=8]="AssertES2022",e[e.AssertES2021=16]="AssertES2021",e[e.AssertES2020=32]="AssertES2020",e[e.AssertES2019=64]="AssertES2019",e[e.AssertES2018=128]="AssertES2018",e[e.AssertES2017=256]="AssertES2017",e[e.AssertES2016=512]="AssertES2016",e[e.AssertES2015=1024]="AssertES2015",e[e.AssertGenerator=2048]="AssertGenerator",e[e.AssertDestructuringAssignment=4096]="AssertDestructuringAssignment",e[e.OuterExpressionExcludes=-2147483648]="OuterExpressionExcludes",e[e.PropertyAccessExcludes=-2147483648]="PropertyAccessExcludes",e[e.NodeExcludes=-2147483648]="NodeExcludes",e[e.ArrowFunctionExcludes=-2072174592]="ArrowFunctionExcludes",e[e.FunctionExcludes=-1937940480]="FunctionExcludes",e[e.ConstructorExcludes=-1937948672]="ConstructorExcludes",e[e.MethodOrAccessorExcludes=-2005057536]="MethodOrAccessorExcludes",e[e.PropertyExcludes=-2013249536]="PropertyExcludes",e[e.ClassExcludes=-2147344384]="ClassExcludes",e[e.ModuleExcludes=-1941676032]="ModuleExcludes",e[e.TypeExcludes=-2]="TypeExcludes",e[e.ObjectLiteralExcludes=-2147278848]="ObjectLiteralExcludes",e[e.ArrayLiteralOrCallOrNewExcludes=-2147450880]="ArrayLiteralOrCallOrNewExcludes",e[e.VariableDeclarationListExcludes=-2146893824]="VariableDeclarationListExcludes",e[e.ParameterExcludes=-2147483648]="ParameterExcludes",e[e.CatchClauseExcludes=-2147418112]="CatchClauseExcludes",e[e.BindingPatternExcludes=-2147450880]="BindingPatternExcludes",e[e.ContainsLexicalThisOrSuper=134234112]="ContainsLexicalThisOrSuper",e[e.PropertyNamePropagatingFlags=134234112]="PropertyNamePropagatingFlags",e))(Df||{}),Pf=(e=>(e[e.TabStop=0]="TabStop",e[e.Placeholder=1]="Placeholder",e[e.Choice=2]="Choice",e[e.Variable=3]="Variable",e))(Pf||{}),Nf=(e=>(e[e.None=0]="None",e[e.SingleLine=1]="SingleLine",e[e.MultiLine=2]="MultiLine",e[e.AdviseOnEmitNode=4]="AdviseOnEmitNode",e[e.NoSubstitution=8]="NoSubstitution",e[e.CapturesThis=16]="CapturesThis",e[e.NoLeadingSourceMap=32]="NoLeadingSourceMap",e[e.NoTrailingSourceMap=64]="NoTrailingSourceMap",e[e.NoSourceMap=96]="NoSourceMap",e[e.NoNestedSourceMaps=128]="NoNestedSourceMaps",e[e.NoTokenLeadingSourceMaps=256]="NoTokenLeadingSourceMaps",e[e.NoTokenTrailingSourceMaps=512]="NoTokenTrailingSourceMaps",e[e.NoTokenSourceMaps=768]="NoTokenSourceMaps",e[e.NoLeadingComments=1024]="NoLeadingComments",e[e.NoTrailingComments=2048]="NoTrailingComments",e[e.NoComments=3072]="NoComments",e[e.NoNestedComments=4096]="NoNestedComments",e[e.HelperName=8192]="HelperName",e[e.ExportName=16384]="ExportName",e[e.LocalName=32768]="LocalName",e[e.InternalName=65536]="InternalName",e[e.Indented=131072]="Indented",e[e.NoIndentation=262144]="NoIndentation",e[e.AsyncFunctionBody=524288]="AsyncFunctionBody",e[e.ReuseTempVariableScope=1048576]="ReuseTempVariableScope",e[e.CustomPrologue=2097152]="CustomPrologue",e[e.NoHoisting=4194304]="NoHoisting",e[e.Iterator=8388608]="Iterator",e[e.NoAsciiEscaping=16777216]="NoAsciiEscaping",e))(Nf||{}),c0=(e=>(e[e.None=0]="None",e[e.TypeScriptClassWrapper=1]="TypeScriptClassWrapper",e[e.NeverApplyImportHelper=2]="NeverApplyImportHelper",e[e.IgnoreSourceNewlines=4]="IgnoreSourceNewlines",e[e.Immutable=8]="Immutable",e[e.IndirectCall=16]="IndirectCall",e[e.TransformPrivateStaticElements=32]="TransformPrivateStaticElements",e))(c0||{}),l0=(e=>(e[e.Extends=1]="Extends",e[e.Assign=2]="Assign",e[e.Rest=4]="Rest",e[e.Decorate=8]="Decorate",e[e.ESDecorateAndRunInitializers=8]="ESDecorateAndRunInitializers",e[e.Metadata=16]="Metadata",e[e.Param=32]="Param",e[e.Awaiter=64]="Awaiter",e[e.Generator=128]="Generator",e[e.Values=256]="Values",e[e.Read=512]="Read",e[e.SpreadArray=1024]="SpreadArray",e[e.Await=2048]="Await",e[e.AsyncGenerator=4096]="AsyncGenerator",e[e.AsyncDelegator=8192]="AsyncDelegator",e[e.AsyncValues=16384]="AsyncValues",e[e.ExportStar=32768]="ExportStar",e[e.ImportStar=65536]="ImportStar",e[e.ImportDefault=131072]="ImportDefault",e[e.MakeTemplateObject=262144]="MakeTemplateObject",e[e.ClassPrivateFieldGet=524288]="ClassPrivateFieldGet",e[e.ClassPrivateFieldSet=1048576]="ClassPrivateFieldSet",e[e.ClassPrivateFieldIn=2097152]="ClassPrivateFieldIn",e[e.CreateBinding=4194304]="CreateBinding",e[e.SetFunctionName=8388608]="SetFunctionName",e[e.PropKey=16777216]="PropKey",e[e.FirstEmitHelper=1]="FirstEmitHelper",e[e.LastEmitHelper=16777216]="LastEmitHelper",e[e.ForOfIncludes=256]="ForOfIncludes",e[e.ForAwaitOfIncludes=16384]="ForAwaitOfIncludes",e[e.AsyncGeneratorIncludes=6144]="AsyncGeneratorIncludes",e[e.AsyncDelegatorIncludes=26624]="AsyncDelegatorIncludes",e[e.SpreadIncludes=1536]="SpreadIncludes",e))(l0||{}),u0=(e=>(e[e.SourceFile=0]="SourceFile",e[e.Expression=1]="Expression",e[e.IdentifierName=2]="IdentifierName",e[e.MappedTypeParameter=3]="MappedTypeParameter",e[e.Unspecified=4]="Unspecified",e[e.EmbeddedStatement=5]="EmbeddedStatement",e[e.JsxAttributeValue=6]="JsxAttributeValue",e))(u0||{}),p0=(e=>(e[e.Parentheses=1]="Parentheses",e[e.TypeAssertions=2]="TypeAssertions",e[e.NonNullAssertions=4]="NonNullAssertions",e[e.PartiallyEmittedExpressions=8]="PartiallyEmittedExpressions",e[e.Assertions=6]="Assertions",e[e.All=15]="All",e[e.ExcludeJSDocTypeAssertion=16]="ExcludeJSDocTypeAssertion",e))(p0||{}),d0=(e=>(e[e.None=0]="None",e[e.InParameters=1]="InParameters",e[e.VariablesHoistedInParameters=2]="VariablesHoistedInParameters",e))(d0||{}),f0=(e=>(e.Prologue="prologue",e.EmitHelpers="emitHelpers",e.NoDefaultLib="no-default-lib",e.Reference="reference",e.Type="type",e.TypeResolutionModeRequire="type-require",e.TypeResolutionModeImport="type-import",e.Lib="lib",e.Prepend="prepend",e.Text="text",e.Internal="internal",e))(f0||{}),m0=(e=>(e[e.None=0]="None",e[e.SingleLine=0]="SingleLine",e[e.MultiLine=1]="MultiLine",e[e.PreserveLines=2]="PreserveLines",e[e.LinesMask=3]="LinesMask",e[e.NotDelimited=0]="NotDelimited",e[e.BarDelimited=4]="BarDelimited",e[e.AmpersandDelimited=8]="AmpersandDelimited",e[e.CommaDelimited=16]="CommaDelimited",e[e.AsteriskDelimited=32]="AsteriskDelimited",e[e.DelimitersMask=60]="DelimitersMask",e[e.AllowTrailingComma=64]="AllowTrailingComma",e[e.Indented=128]="Indented",e[e.SpaceBetweenBraces=256]="SpaceBetweenBraces",e[e.SpaceBetweenSiblings=512]="SpaceBetweenSiblings",e[e.Braces=1024]="Braces",e[e.Parenthesis=2048]="Parenthesis",e[e.AngleBrackets=4096]="AngleBrackets",e[e.SquareBrackets=8192]="SquareBrackets",e[e.BracketsMask=15360]="BracketsMask",e[e.OptionalIfUndefined=16384]="OptionalIfUndefined",e[e.OptionalIfEmpty=32768]="OptionalIfEmpty",e[e.Optional=49152]="Optional",e[e.PreferNewLine=65536]="PreferNewLine",e[e.NoTrailingNewLine=131072]="NoTrailingNewLine",e[e.NoInterveningComments=262144]="NoInterveningComments",e[e.NoSpaceIfEmpty=524288]="NoSpaceIfEmpty",e[e.SingleElement=1048576]="SingleElement",e[e.SpaceAfterList=2097152]="SpaceAfterList",e[e.Modifiers=2359808]="Modifiers",e[e.HeritageClauses=512]="HeritageClauses",e[e.SingleLineTypeLiteralMembers=768]="SingleLineTypeLiteralMembers",e[e.MultiLineTypeLiteralMembers=32897]="MultiLineTypeLiteralMembers",e[e.SingleLineTupleTypeElements=528]="SingleLineTupleTypeElements",e[e.MultiLineTupleTypeElements=657]="MultiLineTupleTypeElements",e[e.UnionTypeConstituents=516]="UnionTypeConstituents",e[e.IntersectionTypeConstituents=520]="IntersectionTypeConstituents",e[e.ObjectBindingPatternElements=525136]="ObjectBindingPatternElements",e[e.ArrayBindingPatternElements=524880]="ArrayBindingPatternElements",e[e.ObjectLiteralExpressionProperties=526226]="ObjectLiteralExpressionProperties",e[e.ImportClauseEntries=526226]="ImportClauseEntries",e[e.ArrayLiteralExpressionElements=8914]="ArrayLiteralExpressionElements",e[e.CommaListElements=528]="CommaListElements",e[e.CallExpressionArguments=2576]="CallExpressionArguments",e[e.NewExpressionArguments=18960]="NewExpressionArguments",e[e.TemplateExpressionSpans=262144]="TemplateExpressionSpans",e[e.SingleLineBlockStatements=768]="SingleLineBlockStatements",e[e.MultiLineBlockStatements=129]="MultiLineBlockStatements",e[e.VariableDeclarationList=528]="VariableDeclarationList",e[e.SingleLineFunctionBodyStatements=768]="SingleLineFunctionBodyStatements",e[e.MultiLineFunctionBodyStatements=1]="MultiLineFunctionBodyStatements",e[e.ClassHeritageClauses=0]="ClassHeritageClauses",e[e.ClassMembers=129]="ClassMembers",e[e.InterfaceMembers=129]="InterfaceMembers",e[e.EnumMembers=145]="EnumMembers",e[e.CaseBlockClauses=129]="CaseBlockClauses",e[e.NamedImportsOrExportsElements=525136]="NamedImportsOrExportsElements",e[e.JsxElementOrFragmentChildren=262144]="JsxElementOrFragmentChildren",e[e.JsxElementAttributes=262656]="JsxElementAttributes",e[e.CaseOrDefaultClauseStatements=163969]="CaseOrDefaultClauseStatements",e[e.HeritageClauseTypes=528]="HeritageClauseTypes",e[e.SourceFileStatements=131073]="SourceFileStatements",e[e.Decorators=2146305]="Decorators",e[e.TypeArguments=53776]="TypeArguments",e[e.TypeParameters=53776]="TypeParameters",e[e.Parameters=2576]="Parameters",e[e.IndexSignatureParameters=8848]="IndexSignatureParameters",e[e.JSDocComment=33]="JSDocComment",e))(m0||{}),y0=(e=>(e[e.None=0]="None",e[e.TripleSlashXML=1]="TripleSlashXML",e[e.SingleLine=2]="SingleLine",e[e.MultiLine=4]="MultiLine",e[e.All=7]="All",e[e.Default=7]="Default",e))(y0||{}),om={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}}}}),T5=()=>{},h0;function hg(e){return e===47||e===92}function x5(e){return kl(e)<0}function y_(e){return kl(e)>0}function S5(e){let t=kl(e);return t>0&&t===e.length}function gg(e){return kl(e)!==0}function is(e){return/^\.\.?($|[\\/])/.test(e)}function w5(e){return!gg(e)&&!is(e)}function dT(e){return Ga(h_(e),".")}function Ea(e,t){return e.length>t.length&&rs(e,t)}function Wr(e,t){for(let n of t)if(Ea(e,n))return!0;return!1}function sm(e){return e.length>0&&hg(e.charCodeAt(e.length-1))}function Z6(e){return e>=97&&e<=122||e>=65&&e<=90}function E5(e,t){let n=e.charCodeAt(t);if(n===58)return t+1;if(n===37&&e.charCodeAt(t+1)===51){let i=e.charCodeAt(t+2);if(i===97||i===65)return t+3}return-1}function kl(e){if(!e)return 0;let t=e.charCodeAt(0);if(t===47||t===92){if(e.charCodeAt(1)!==t)return 1;let i=e.indexOf(t===47?_r:Sg,2);return i<0?e.length:i+1}if(Z6(t)&&e.charCodeAt(1)===58){let i=e.charCodeAt(2);if(i===47||i===92)return 3;if(e.length===2)return 2}let n=e.indexOf(b0);if(n!==-1){let i=n+b0.length,s=e.indexOf(_r,i);if(s!==-1){let l=e.slice(0,n),d=e.slice(i,s);if(l==="file"&&(d===""||d==="localhost")&&Z6(e.charCodeAt(s+1))){let y=E5(e,s+2);if(y!==-1){if(e.charCodeAt(y)===47)return~(y+1);if(y===e.length)return~y}}return~(s+1)}return~e.length}return 0}function Si(e){let t=kl(e);return t<0?~t:t}function Hi(e){e=Ho(e);let t=Si(e);return t===e.length?e:(e=g_(e),e.slice(0,Math.max(t,e.lastIndexOf(_r))))}function h_(e,t,n){if(e=Ho(e),Si(e)===e.length)return"";e=g_(e);let s=e.slice(Math.max(Si(e),e.lastIndexOf(_r)+1)),l=t!==void 0&&n!==void 0?If(s,t,n):void 0;return l?s.slice(0,s.length-l.length):s}function ev(e,t,n){if(Jn(t,".")||(t="."+t),e.length>=t.length&&e.charCodeAt(e.length-t.length)===46){let i=e.slice(e.length-t.length);if(n(i,t))return i}}function C5(e,t,n){if(typeof t=="string")return ev(e,t,n)||"";for(let i of t){let s=ev(e,i,n);if(s)return s}return""}function If(e,t,n){if(t)return C5(g_(e),t,n?i_:Cl);let i=h_(e),s=i.lastIndexOf(".");return s>=0?i.substring(s):""}function k5(e,t){let n=e.substring(0,t),i=e.substring(t).split(_r);return i.length&&!Ti(i)&&i.pop(),[n,...i]}function wi(e,t=""){return e=yn(t,e),k5(e,Si(e))}function Vo(e,t){return e.length===0?"":(e[0]&&Ko(e[0]))+e.slice(1,t).join(_r)}function Ho(e){return e.indexOf("\\")!==-1?e.replace(gT,_r):e}function va(e){if(!ft(e))return[];let t=[e[0]];for(let n=1;n1){if(t[t.length-1]!==".."){t.pop();continue}}else if(t[0])continue}t.push(i)}}return t}function yn(e,...t){e&&(e=Ho(e));for(let n of t)n&&(n=Ho(n),!e||Si(n)!==0?e=n:e=Ko(e)+n);return e}function g0(e,...t){return sr(ft(t)?yn(e,...t):Ho(e))}function _m(e,t){return va(wi(e,t))}function Ta(e,t){return Vo(_m(e,t))}function sr(e){if(e=Ho(e),!pl.test(e))return e;let t=e.replace(/\/\.\//g,"/").replace(/^\.\//,"");if(t!==e&&(e=t,!pl.test(e)))return e;let n=Vo(va(wi(e)));return n&&sm(e)?Ko(n):n}function A5(e){return e.length===0?"":e.slice(1).join(_r)}function D5(e,t){return A5(_m(e,t))}function vi(e,t,n){let i=y_(e)?sr(e):Ta(e,t);return n(i)}function g_(e){return sm(e)?e.substr(0,e.length-1):e}function Ko(e){return sm(e)?e:e+_r}function bg(e){return!gg(e)&&!is(e)?"./"+e:e}function fT(e,t,n,i){let s=n!==void 0&&i!==void 0?If(e,n,i):If(e);return s?e.slice(0,e.length-s.length)+(Jn(t,".")?t:"."+t):e}function vg(e,t,n){if(e===t)return 0;if(e===void 0)return-1;if(t===void 0)return 1;let i=e.substring(0,Si(e)),s=t.substring(0,Si(t)),l=rm(i,s);if(l!==0)return l;let d=e.substring(i.length),y=t.substring(s.length);if(!pl.test(d)&&!pl.test(y))return n(d,y);let p=va(wi(e)),x=va(wi(t)),h=Math.min(p.length,x.length);for(let D=1;D0==Si(t)>0,"Paths must either both be absolute or both be relative");let l=Tg(e,t,(typeof n=="boolean"?n:!1)?i_:Cl,typeof n=="function"?n:ht);return Vo(l)}function M5(e,t,n){return y_(e)?xg(t,e,t,n,!1):e}function L5(e,t,n){return bg(yT(Hi(e),t,n))}function xg(e,t,n,i,s){let l=Tg(g0(n,e),g0(n,t),Cl,i),d=l[0];if(s&&y_(d)){let y=d.charAt(0)===_r?"file://":"file:///";l[0]=y+d}return Vo(l)}function hT(e,t){for(;;){let n=t(e);if(n!==void 0)return n;let i=Hi(e);if(i===e)return;e=i}}function J5(e){return rs(e,"/node_modules")}var _r,Sg,b0,gT,pl,bT=Ht({"src/compiler/path.ts"(){"use strict";En(),_r="/",Sg="\\",b0="://",gT=/\\/g,pl=/(?:\/\/)|(?:^|\/)\.\.?(?:$|\/)/}});function a(e,t,n,i,s,l,d){return{code:e,category:t,key:n,message:i,reportsUnnecessary:s,elidedInCompatabilityPyramid:l,reportsDeprecated:d}}var K,R5=Ht({"src/compiler/diagnosticInformationMap.generated.ts"(){"use strict";pT(),K={Unterminated_string_literal:a(1002,1,"Unterminated_string_literal_1002","Unterminated string literal."),Identifier_expected:a(1003,1,"Identifier_expected_1003","Identifier expected."),_0_expected:a(1005,1,"_0_expected_1005","'{0}' expected."),A_file_cannot_have_a_reference_to_itself:a(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:a(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:a(1009,1,"Trailing_comma_not_allowed_1009","Trailing comma not allowed."),Asterisk_Slash_expected:a(1010,1,"Asterisk_Slash_expected_1010","'*/' expected."),An_element_access_expression_should_take_an_argument:a(1011,1,"An_element_access_expression_should_take_an_argument_1011","An element access expression should take an argument."),Unexpected_token:a(1012,1,"Unexpected_token_1012","Unexpected token."),A_rest_parameter_or_binding_pattern_may_not_have_a_trailing_comma:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(1025,1,"An_index_signature_cannot_have_a_trailing_comma_1025","An index signature cannot have a trailing comma."),Accessibility_modifier_already_seen:a(1028,1,"Accessibility_modifier_already_seen_1028","Accessibility modifier already seen."),_0_modifier_must_precede_1_modifier:a(1029,1,"_0_modifier_must_precede_1_modifier_1029","'{0}' modifier must precede '{1}' modifier."),_0_modifier_already_seen:a(1030,1,"_0_modifier_already_seen_1030","'{0}' modifier already seen."),_0_modifier_cannot_appear_on_class_elements_of_this_kind:a(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:a(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:a(1035,1,"Only_ambient_modules_can_use_quoted_names_1035","Only ambient modules can use quoted names."),Statements_are_not_allowed_in_ambient_contexts:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(1047,1,"A_rest_parameter_cannot_be_optional_1047","A rest parameter cannot be optional."),A_rest_parameter_cannot_have_an_initializer:a(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:a(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:a(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:a(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:a(1053,1,"A_set_accessor_cannot_have_rest_parameter_1053","A 'set' accessor cannot have rest parameter."),A_get_accessor_cannot_have_parameters:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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 type. Did you mean to write 'Promise<{0}>'?"),In_ambient_enum_declarations_member_initializer_must_be_constant_expression:a(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:a(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:a(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:a(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:a(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:a(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:a(1084,1,"Invalid_reference_directive_syntax_1084","Invalid 'reference' directive syntax."),_0_modifier_cannot_appear_on_a_constructor_declaration:a(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:a(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:a(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:a(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:a(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:a(1094,1,"An_accessor_cannot_have_type_parameters_1094","An accessor cannot have type parameters."),A_set_accessor_cannot_have_a_return_type_annotation:a(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:a(1096,1,"An_index_signature_must_have_exactly_one_parameter_1096","An index signature must have exactly one parameter."),_0_list_cannot_be_empty:a(1097,1,"_0_list_cannot_be_empty_1097","'{0}' list cannot be empty."),Type_parameter_list_cannot_be_empty:a(1098,1,"Type_parameter_list_cannot_be_empty_1098","Type parameter list cannot be empty."),Type_argument_list_cannot_be_empty:a(1099,1,"Type_argument_list_cannot_be_empty_1099","Type argument list cannot be empty."),Invalid_use_of_0_in_strict_mode:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(1109,1,"Expression_expected_1109","Expression expected."),Type_expected:a(1110,1,"Type_expected_1110","Type expected."),A_default_clause_cannot_appear_more_than_once_in_a_switch_statement:a(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:a(1114,1,"Duplicate_label_0_1114","Duplicate label '{0}'."),A_continue_statement_can_only_jump_to_a_label_of_an_enclosing_iteration_statement:a(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:a(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:a(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:a(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:a(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:a(1120,1,"An_export_assignment_cannot_have_modifiers_1120","An export assignment cannot have modifiers."),Octal_literals_are_not_allowed_Use_the_syntax_0:a(1121,1,"Octal_literals_are_not_allowed_Use_the_syntax_0_1121","Octal literals are not allowed. Use the syntax '{0}'."),Variable_declaration_list_cannot_be_empty:a(1123,1,"Variable_declaration_list_cannot_be_empty_1123","Variable declaration list cannot be empty."),Digit_expected:a(1124,1,"Digit_expected_1124","Digit expected."),Hexadecimal_digit_expected:a(1125,1,"Hexadecimal_digit_expected_1125","Hexadecimal digit expected."),Unexpected_end_of_text:a(1126,1,"Unexpected_end_of_text_1126","Unexpected end of text."),Invalid_character:a(1127,1,"Invalid_character_1127","Invalid character."),Declaration_or_statement_expected:a(1128,1,"Declaration_or_statement_expected_1128","Declaration or statement expected."),Statement_expected:a(1129,1,"Statement_expected_1129","Statement expected."),case_or_default_expected:a(1130,1,"case_or_default_expected_1130","'case' or 'default' expected."),Property_or_signature_expected:a(1131,1,"Property_or_signature_expected_1131","Property or signature expected."),Enum_member_expected:a(1132,1,"Enum_member_expected_1132","Enum member expected."),Variable_declaration_expected:a(1134,1,"Variable_declaration_expected_1134","Variable declaration expected."),Argument_expression_expected:a(1135,1,"Argument_expression_expected_1135","Argument expression expected."),Property_assignment_expected:a(1136,1,"Property_assignment_expected_1136","Property assignment expected."),Expression_or_comma_expected:a(1137,1,"Expression_or_comma_expected_1137","Expression or comma expected."),Parameter_declaration_expected:a(1138,1,"Parameter_declaration_expected_1138","Parameter declaration expected."),Type_parameter_declaration_expected:a(1139,1,"Type_parameter_declaration_expected_1139","Type parameter declaration expected."),Type_argument_expected:a(1140,1,"Type_argument_expected_1140","Type argument expected."),String_literal_expected:a(1141,1,"String_literal_expected_1141","String literal expected."),Line_break_not_permitted_here:a(1142,1,"Line_break_not_permitted_here_1142","Line break not permitted here."),or_expected:a(1144,1,"or_expected_1144","'{' or ';' expected."),or_JSX_element_expected:a(1145,1,"or_JSX_element_expected_1145","'{' or JSX element expected."),Declaration_expected:a(1146,1,"Declaration_expected_1146","Declaration expected."),Import_declarations_in_a_namespace_cannot_reference_a_module:a(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:a(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:a(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:a(1155,1,"const_declarations_must_be_initialized_1155","'const' declarations must be initialized."),const_declarations_can_only_be_declared_inside_a_block:a(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:a(1157,1,"let_declarations_can_only_be_declared_inside_a_block_1157","'let' declarations can only be declared inside a block."),Unterminated_template_literal:a(1160,1,"Unterminated_template_literal_1160","Unterminated template literal."),Unterminated_regular_expression_literal:a(1161,1,"Unterminated_regular_expression_literal_1161","Unterminated regular expression literal."),An_object_member_cannot_be_declared_optional:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(1172,1,"extends_clause_already_seen_1172","'extends' clause already seen."),extends_clause_must_precede_implements_clause:a(1173,1,"extends_clause_must_precede_implements_clause_1173","'extends' clause must precede 'implements' clause."),Classes_can_only_extend_a_single_class:a(1174,1,"Classes_can_only_extend_a_single_class_1174","Classes can only extend a single class."),implements_clause_already_seen:a(1175,1,"implements_clause_already_seen_1175","'implements' clause already seen."),Interface_declaration_cannot_have_implements_clause:a(1176,1,"Interface_declaration_cannot_have_implements_clause_1176","Interface declaration cannot have 'implements' clause."),Binary_digit_expected:a(1177,1,"Binary_digit_expected_1177","Binary digit expected."),Octal_digit_expected:a(1178,1,"Octal_digit_expected_1178","Octal digit expected."),Unexpected_token_expected:a(1179,1,"Unexpected_token_expected_1179","Unexpected token. '{' expected."),Property_destructuring_pattern_expected:a(1180,1,"Property_destructuring_pattern_expected_1180","Property destructuring pattern expected."),Array_element_destructuring_pattern_expected:a(1181,1,"Array_element_destructuring_pattern_expected_1181","Array element destructuring pattern expected."),A_destructuring_declaration_must_have_an_initializer:a(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:a(1183,1,"An_implementation_cannot_be_declared_in_ambient_contexts_1183","An implementation cannot be declared in ambient contexts."),Modifiers_cannot_appear_here:a(1184,1,"Modifiers_cannot_appear_here_1184","Modifiers cannot appear here."),Merge_conflict_marker_encountered:a(1185,1,"Merge_conflict_marker_encountered_1185","Merge conflict marker encountered."),A_rest_element_cannot_have_an_initializer:a(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:a(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:a(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:a(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:a(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:a(1191,1,"An_import_declaration_cannot_have_modifiers_1191","An import declaration cannot have modifiers."),Module_0_has_no_default_export:a(1192,1,"Module_0_has_no_default_export_1192","Module '{0}' has no default export."),An_export_declaration_cannot_have_modifiers:a(1193,1,"An_export_declaration_cannot_have_modifiers_1193","An export declaration cannot have modifiers."),Export_declarations_are_not_permitted_in_a_namespace:a(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:a(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:a(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:a(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:a(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:a(1199,1,"Unterminated_Unicode_escape_sequence_1199","Unterminated Unicode escape sequence."),Line_terminator_not_permitted_before_arrow:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(1223,1,"_0_tag_already_specified_1223","'{0}' tag already specified."),Signature_0_must_be_a_type_predicate:a(1224,1,"Signature_0_must_be_a_type_predicate_1224","Signature '{0}' must be a type predicate."),Cannot_find_parameter_0:a(1225,1,"Cannot_find_parameter_0_1225","Cannot find parameter '{0}'."),Type_predicate_0_is_not_assignable_to_1:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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."),Abstract_properties_can_only_appear_within_an_abstract_class:a(1253,1,"Abstract_properties_can_only_appear_within_an_abstract_class_1253","Abstract properties can only appear within an abstract class."),A_const_initializer_in_an_ambient_context_must_be_a_string_or_numeric_literal_or_literal_enum_reference:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(1348,1,"Non_simple_parameter_declared_here_1348","Non-simple parameter declared here."),use_strict_directive_used_here:a(1349,1,"use_strict_directive_used_here_1349","'use strict' directive used here."),Print_the_final_configuration_instead_of_building:a(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:a(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:a(1352,1,"A_bigint_literal_cannot_use_exponential_notation_1352","A bigint literal cannot use exponential notation."),A_bigint_literal_must_be_an_integer:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(1364,3,"Convert_to_type_only_export_1364","Convert to type-only export"),Convert_all_re_exported_types_to_type_only_exports:a(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:a(1366,3,"Split_into_two_separate_import_declarations_1366","Split into two separate import declarations"),Split_all_invalid_type_only_imports:a(1367,3,"Split_all_invalid_type_only_imports_1367","Split all invalid type-only imports"),Class_constructor_may_not_be_a_generator:a(1368,1,"Class_constructor_may_not_be_a_generator_1368","Class constructor may not be a generator."),Did_you_mean_0:a(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:a(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:a(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:a(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:a(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:a(1376,3,"_0_was_imported_here_1376","'{0}' was imported here."),_0_was_exported_here:a(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:a(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:a(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:a(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:a(1381,1,"Unexpected_token_Did_you_mean_or_rbrace_1381","Unexpected token. Did you mean `{'}'}` or `}`?"),Unexpected_token_Did_you_mean_or_gt:a(1382,1,"Unexpected_token_Did_you_mean_or_gt_1382","Unexpected token. Did you mean `{'>'}` or `>`?"),Function_type_notation_must_be_parenthesized_when_used_in_a_union_type:a(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:a(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:a(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:a(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:a(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:a(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:a(1392,1,"An_import_alias_cannot_use_import_type_1392","An import alias cannot use 'import type'"),Imported_via_0_from_file_1:a(1393,3,"Imported_via_0_from_file_1_1393","Imported via {0} from file '{1}'"),Imported_via_0_from_file_1_with_packageId_2:a(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:a(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:a(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:a(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:a(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:a(1399,3,"File_is_included_via_import_here_1399","File is included via import here."),Referenced_via_0_from_file_1:a(1400,3,"Referenced_via_0_from_file_1_1400","Referenced via '{0}' from file '{1}'"),File_is_included_via_reference_here:a(1401,3,"File_is_included_via_reference_here_1401","File is included via reference here."),Type_library_referenced_via_0_from_file_1:a(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:a(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:a(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:a(1405,3,"Library_referenced_via_0_from_file_1_1405","Library referenced via '{0}' from file '{1}'"),File_is_included_via_library_reference_here:a(1406,3,"File_is_included_via_library_reference_here_1406","File is included via library reference here."),Matched_by_include_pattern_0_in_1:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(1422,3,"Library_0_specified_in_compilerOptions_1422","Library '{0}' specified in compilerOptions"),File_is_library_specified_here:a(1423,3,"File_is_library_specified_here_1423","File is library specified here."),Default_library:a(1424,3,"Default_library_1424","Default library"),Default_library_for_target_0:a(1425,3,"Default_library_for_target_0_1425","Default library for target '{0}'"),File_is_default_library_for_target_specified_here:a(1426,3,"File_is_default_library_for_target_specified_here_1426","File is default library for target specified here."),Root_file_specified_for_compilation:a(1427,3,"Root_file_specified_for_compilation_1427","Root file specified for compilation"),File_is_output_of_project_reference_source_0:a(1428,3,"File_is_output_of_project_reference_source_0_1428","File is output of project reference source '{0}'"),File_redirects_to_file_0:a(1429,3,"File_redirects_to_file_0_1429","File redirects to file '{0}'"),The_file_is_in_the_program_because_Colon:a(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:a(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:a(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:a(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:a(1434,1,"Unexpected_keyword_or_identifier_1434","Unexpected keyword or identifier."),Unknown_keyword_or_identifier_Did_you_mean_0:a(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:a(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:a(1437,1,"Namespace_must_be_given_a_name_1437","Namespace must be given a name."),Interface_must_be_given_a_name:a(1438,1,"Interface_must_be_given_a_name_1438","Interface must be given a name."),Type_alias_must_be_given_a_name:a(1439,1,"Type_alias_must_be_given_a_name_1439","Type alias must be given a name."),Variable_declaration_not_allowed_at_this_location:a(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:a(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:a(1442,1,"Expected_for_property_initializer_1442","Expected '=' for property initializer."),Module_declaration_names_may_only_use_or_quoted_strings:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(1486,1,"Decorator_used_before_export_here_1486","Decorator used before 'export' here."),Octal_escape_sequences_are_not_allowed_Use_the_syntax_0:a(1487,1,"Octal_escape_sequences_are_not_allowed_Use_the_syntax_0_1487","Octal escape sequences are not allowed. Use the syntax '{0}'."),Escape_sequence_0_is_not_allowed:a(1488,1,"Escape_sequence_0_is_not_allowed_1488","Escape sequence '{0}' is not allowed."),Decimals_with_leading_zeros_are_not_allowed:a(1489,1,"Decimals_with_leading_zeros_are_not_allowed_1489","Decimals with leading zeros are not allowed."),File_appears_to_be_binary:a(1490,1,"File_appears_to_be_binary_1490","File appears to be binary."),The_types_of_0_are_incompatible_between_these_types:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(2211,3,"Add_extends_constraint_2211","Add `extends` constraint."),Add_extends_constraint_to_all_type_parameters:a(2212,3,"Add_extends_constraint_to_all_type_parameters_2212","Add `extends` constraint to all type parameters"),Duplicate_identifier_0:a(2300,1,"Duplicate_identifier_0_2300","Duplicate identifier '{0}'."),Initializer_of_instance_member_variable_0_cannot_reference_identifier_1_declared_in_the_constructor:a(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:a(2302,1,"Static_members_cannot_reference_class_type_parameters_2302","Static members cannot reference class type parameters."),Circular_definition_of_import_alias_0:a(2303,1,"Circular_definition_of_import_alias_0_2303","Circular definition of import alias '{0}'."),Cannot_find_name_0:a(2304,1,"Cannot_find_name_0_2304","Cannot find name '{0}'."),Module_0_has_no_exported_member_1:a(2305,1,"Module_0_has_no_exported_member_1_2305","Module '{0}' has no exported member '{1}'."),File_0_is_not_a_module:a(2306,1,"File_0_is_not_a_module_2306","File '{0}' is not a module."),Cannot_find_module_0_or_its_corresponding_type_declarations:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(2314,1,"Generic_type_0_requires_1_type_argument_s_2314","Generic type '{0}' requires {1} type argument(s)."),Type_0_is_not_generic:a(2315,1,"Type_0_is_not_generic_2315","Type '{0}' is not generic."),Global_type_0_must_be_a_class_or_interface_type:a(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:a(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:a(2318,1,"Cannot_find_global_type_0_2318","Cannot find global type '{0}'."),Named_property_0_of_types_1_and_2_are_not_identical:a(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:a(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:a(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:a(2322,1,"Type_0_is_not_assignable_to_type_1_2322","Type '{0}' is not assignable to type '{1}'."),Cannot_redeclare_exported_variable_0:a(2323,1,"Cannot_redeclare_exported_variable_0_2323","Cannot redeclare exported variable '{0}'."),Property_0_is_missing_in_type_1:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(2332,1,"this_cannot_be_referenced_in_current_location_2332","'this' cannot be referenced in current location."),this_cannot_be_referenced_in_constructor_arguments:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(2349,1,"This_expression_is_not_callable_2349","This expression is not callable."),Only_a_void_function_can_be_called_with_the_new_keyword:a(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:a(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:a(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:a(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:a(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_undefined_void_nor_any_must_return_a_value:a(2355,1,"A_function_whose_declared_type_is_neither_undefined_void_nor_any_must_return_a_value_2355","A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value."),An_arithmetic_operand_must_be_of_type_any_number_bigint_or_an_enum_type:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(2372,1,"Parameter_0_cannot_reference_itself_2372","Parameter '{0}' cannot reference itself."),Parameter_0_cannot_reference_identifier_1_declared_after_it:a(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:a(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:a(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:a(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:a(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:a(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:a(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."),Overload_signatures_must_all_be_exported_or_non_exported:a(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:a(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:a(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:a(2386,1,"Overload_signatures_must_all_be_optional_or_required_2386","Overload signatures must all be optional or required."),Function_overload_must_be_static:a(2387,1,"Function_overload_must_be_static_2387","Function overload must be static."),Function_overload_must_not_be_static:a(2388,1,"Function_overload_must_not_be_static_2388","Function overload must not be static."),Function_implementation_name_must_be_0:a(2389,1,"Function_implementation_name_must_be_0_2389","Function implementation name must be '{0}'."),Constructor_implementation_is_missing:a(2390,1,"Constructor_implementation_is_missing_2390","Constructor implementation is missing."),Function_implementation_is_missing_or_not_immediately_following_the_declaration:a(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:a(2392,1,"Multiple_constructor_implementations_are_not_allowed_2392","Multiple constructor implementations are not allowed."),Duplicate_function_implementation:a(2393,1,"Duplicate_function_implementation_2393","Duplicate function implementation."),This_overload_signature_is_not_compatible_with_its_implementation_signature:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(2414,1,"Class_name_cannot_be_0_2414","Class name cannot be '{0}'."),Class_0_incorrectly_extends_base_class_1:a(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:a(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:a(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:a(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:a(2419,1,"Types_of_construct_signatures_are_incompatible_2419","Types of construct signatures are incompatible."),Class_0_incorrectly_implements_interface_1:a(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:a(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:a(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:a(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:a(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:a(2427,1,"Interface_name_cannot_be_0_2427","Interface name cannot be '{0}'."),All_declarations_of_0_must_have_identical_type_parameters:a(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:a(2430,1,"Interface_0_incorrectly_extends_interface_1_2430","Interface '{0}' incorrectly extends interface '{1}'."),Enum_name_cannot_be_0:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(2449,1,"Class_0_used_before_its_declaration_2449","Class '{0}' used before its declaration."),Enum_0_used_before_its_declaration:a(2450,1,"Enum_0_used_before_its_declaration_2450","Enum '{0}' used before its declaration."),Cannot_redeclare_block_scoped_variable_0:a(2451,1,"Cannot_redeclare_block_scoped_variable_0_2451","Cannot redeclare block-scoped variable '{0}'."),An_enum_member_cannot_have_a_numeric_name:a(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:a(2454,1,"Variable_0_is_used_before_being_assigned_2454","Variable '{0}' is used before being assigned."),Type_alias_0_circularly_references_itself:a(2456,1,"Type_alias_0_circularly_references_itself_2456","Type alias '{0}' circularly references itself."),Type_alias_name_cannot_be_0:a(2457,1,"Type_alias_name_cannot_be_0_2457","Type alias name cannot be '{0}'."),An_AMD_module_cannot_have_multiple_name_assignments:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(2468,1,"Cannot_find_global_value_0_2468","Cannot find global value '{0}'."),The_0_operator_cannot_be_applied_to_type_symbol:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(2503,1,"Cannot_find_namespace_0_2503","Cannot find namespace '{0}'."),Type_0_must_have_a_Symbol_asyncIterator_method_that_returns_an_async_iterator:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(2530,1,"Property_0_is_incompatible_with_index_signature_2530","Property '{0}' is incompatible with index signature."),Object_is_possibly_null:a(2531,1,"Object_is_possibly_null_2531","Object is possibly 'null'."),Object_is_possibly_undefined:a(2532,1,"Object_is_possibly_undefined_2532","Object is possibly 'undefined'."),Object_is_possibly_null_or_undefined:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(2554,1,"Expected_0_arguments_but_got_1_2554","Expected {0} arguments, but got {1}."),Expected_at_least_0_arguments_but_got_1:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(2571,1,"Object_is_of_type_unknown_2571","Object is of type 'unknown'."),A_rest_element_type_must_be_an_array_type:a(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:a(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:a(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:a(2577,1,"Return_type_annotation_circularly_references_itself_2577","Return type annotation circularly references itself."),Unused_ts_expect_error_directive:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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."),React_components_cannot_include_JSX_namespace_names:a(2639,1,"React_components_cannot_include_JSX_namespace_names_2639","React components cannot include JSX namespace names"),Cannot_augment_module_0_with_value_exports_because_it_resolves_to_a_non_module_entity:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(2708,1,"Cannot_use_namespace_0_as_a_value_2708","Cannot use namespace '{0}' as a value."),Cannot_use_namespace_0_as_a_type:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(2728,3,"_0_is_declared_here_2728","'{0}' is declared here."),Property_0_is_used_before_its_initialization:a(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:a(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:a(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:a(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:a(2733,1,"Property_0_was_also_declared_here_2733","Property '{0}' was also declared here."),Are_you_missing_a_semicolon:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(2750,1,"The_implementation_signature_is_declared_here_2750","The implementation signature is declared here."),Circularity_originates_in_type_at_this_location:a(2751,1,"Circularity_originates_in_type_at_this_location_2751","Circularity originates in type at this location."),The_first_export_default_is_here:a(2752,1,"The_first_export_default_is_here_2752","The first export default is here."),Another_export_default_is_here:a(2753,1,"Another_export_default_is_here_2753","Another export default is here."),super_may_not_use_type_arguments:a(2754,1,"super_may_not_use_type_arguments_2754","'super' may not use type arguments."),No_constituent_of_type_0_is_callable:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(2769,1,"No_overload_matches_this_call_2769","No overload matches this call."),The_last_overload_gave_the_following_error:a(2770,1,"The_last_overload_gave_the_following_error_2770","The last overload gave the following error."),The_last_overload_is_declared_here:a(2771,1,"The_last_overload_is_declared_here_2771","The last overload is declared here."),Overload_0_of_1_2_gave_the_following_error:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(2785,1,"This_spread_always_overwrites_this_property_2785","This spread always overwrites this property."),_0_cannot_be_used_as_a_JSX_component:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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?"),The_right_hand_side_of_an_instanceof_expression_must_not_be_an_instantiation_expression:a(2848,1,"The_right_hand_side_of_an_instanceof_expression_must_not_be_an_instantiation_expression_2848","The right-hand side of an 'instanceof' expression must not be an instantiation expression."),Target_signature_provides_too_few_arguments_Expected_0_or_more_but_got_1:a(2849,1,"Target_signature_provides_too_few_arguments_Expected_0_or_more_but_got_1_2849","Target signature provides too few arguments. Expected {0} or more, but got {1}."),Import_declaration_0_is_using_private_name_1:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(4109,1,"Type_arguments_for_0_circularly_reference_themselves_4109","Type arguments for '{0}' circularly reference themselves."),Tuple_type_arguments_circularly_reference_themselves:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(5012,1,"Cannot_read_file_0_Colon_1_5012","Cannot read file '{0}': {1}."),Failed_to_parse_file_0_Colon_1:a(5014,1,"Failed_to_parse_file_0_Colon_1_5014","Failed to parse file '{0}': {1}."),Unknown_compiler_option_0:a(5023,1,"Unknown_compiler_option_0_5023","Unknown compiler option '{0}'."),Compiler_option_0_requires_a_value_of_type_1:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(5072,1,"Unknown_build_option_0_5072","Unknown build option '{0}'."),Build_option_0_requires_a_value_of_type_1:a(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:a(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:a(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:a(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:a(5077,1,"Unknown_build_option_0_Did_you_mean_1_5077","Unknown build option '{0}'. Did you mean '{1}'?"),Unknown_watch_option_0:a(5078,1,"Unknown_watch_option_0_5078","Unknown watch option '{0}'."),Unknown_watch_option_0_Did_you_mean_1:a(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:a(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:a(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:a(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:a(5083,1,"Cannot_read_file_0_5083","Cannot read file '{0}'."),Tuple_members_must_all_have_names_or_all_not_have_names:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(5103,1,"Invalid_value_for_ignoreDeprecations_5103","Invalid value for '--ignoreDeprecations'."),Option_0_is_redundant_and_cannot_be_specified_with_option_1:a(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:a(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:a(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:a(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:a(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:a(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:a(6001,3,"Concatenate_and_emit_output_to_single_file_6001","Concatenate and emit output to single file."),Generates_corresponding_d_ts_file:a(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:a(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:a(6005,3,"Watch_input_files_6005","Watch input files."),Redirect_output_structure_to_the_directory:a(6006,3,"Redirect_output_structure_to_the_directory_6006","Redirect output structure to the directory."),Do_not_erase_const_enum_declarations_in_generated_code:a(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:a(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:a(6009,3,"Do_not_emit_comments_to_output_6009","Do not emit comments to output."),Do_not_emit_outputs:a(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:a(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:a(6012,3,"Skip_type_checking_of_declaration_files_6012","Skip type checking of declaration files."),Do_not_resolve_the_real_path_of_symlinks:a(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:a(6014,3,"Only_emit_d_ts_declaration_files_6014","Only emit '.d.ts' declaration files."),Specify_ECMAScript_target_version:a(6015,3,"Specify_ECMAScript_target_version_6015","Specify ECMAScript target version."),Specify_module_code_generation:a(6016,3,"Specify_module_code_generation_6016","Specify module code generation."),Print_this_message:a(6017,3,"Print_this_message_6017","Print this message."),Print_the_compiler_s_version:a(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:a(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:a(6023,3,"Syntax_Colon_0_6023","Syntax: {0}"),options:a(6024,3,"options_6024","options"),file:a(6025,3,"file_6025","file"),Examples_Colon_0:a(6026,3,"Examples_Colon_0_6026","Examples: {0}"),Options_Colon:a(6027,3,"Options_Colon_6027","Options:"),Version_0:a(6029,3,"Version_0_6029","Version {0}"),Insert_command_line_options_and_files_from_a_file:a(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:a(6031,3,"Starting_compilation_in_watch_mode_6031","Starting compilation in watch mode..."),File_change_detected_Starting_incremental_compilation:a(6032,3,"File_change_detected_Starting_incremental_compilation_6032","File change detected. Starting incremental compilation..."),KIND:a(6034,3,"KIND_6034","KIND"),FILE:a(6035,3,"FILE_6035","FILE"),VERSION:a(6036,3,"VERSION_6036","VERSION"),LOCATION:a(6037,3,"LOCATION_6037","LOCATION"),DIRECTORY:a(6038,3,"DIRECTORY_6038","DIRECTORY"),STRATEGY:a(6039,3,"STRATEGY_6039","STRATEGY"),FILE_OR_DIRECTORY:a(6040,3,"FILE_OR_DIRECTORY_6040","FILE OR DIRECTORY"),Errors_Files:a(6041,3,"Errors_Files_6041","Errors Files"),Generates_corresponding_map_file:a(6043,3,"Generates_corresponding_map_file_6043","Generates corresponding '.map' file."),Compiler_option_0_expects_an_argument:a(6044,1,"Compiler_option_0_expects_an_argument_6044","Compiler option '{0}' expects an argument."),Unterminated_quoted_string_in_response_file_0:a(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:a(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:a(6048,1,"Locale_must_be_of_the_form_language_or_language_territory_For_example_0_or_1_6048","Locale must be of the form or -. For example '{0}' or '{1}'."),Unable_to_open_file_0:a(6050,1,"Unable_to_open_file_0_6050","Unable to open file '{0}'."),Corrupted_locale_file_0:a(6051,1,"Corrupted_locale_file_0_6051","Corrupted locale file {0}."),Raise_error_on_expressions_and_declarations_with_an_implied_any_type:a(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:a(6053,1,"File_0_not_found_6053","File '{0}' not found."),File_0_has_an_unsupported_extension_The_only_supported_extensions_are_1:a(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:a(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:a(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:a(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:a(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:a(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:a(6061,3,"NEWLINE_6061","NEWLINE"),Option_0_can_only_be_specified_in_tsconfig_json_file_or_set_to_null_on_command_line:a(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:a(6065,3,"Enables_experimental_support_for_ES7_decorators_6065","Enables experimental support for ES7 decorators."),Enables_experimental_support_for_emitting_type_metadata_for_decorators:a(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:a(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:a(6071,3,"Successfully_created_a_tsconfig_json_file_6071","Successfully created a tsconfig.json file."),Suppress_excess_property_checks_for_object_literals:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(6080,3,"Specify_JSX_code_generation_6080","Specify JSX code generation."),File_0_has_an_unsupported_extension_so_skipping_it:a(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:a(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:a(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:a(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:a(6085,3,"Enable_tracing_of_the_name_resolution_process_6085","Enable tracing of the name resolution process."),Resolving_module_0_from_1:a(6086,3,"Resolving_module_0_from_1_6086","======== Resolving module '{0}' from '{1}'. ========"),Explicitly_specified_module_resolution_kind_Colon_0:a(6087,3,"Explicitly_specified_module_resolution_kind_Colon_0_6087","Explicitly specified module resolution kind: '{0}'."),Module_resolution_kind_is_not_specified_using_0:a(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:a(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:a(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:a(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:a(6092,3,"Module_name_0_matched_pattern_1_6092","Module name '{0}', matched pattern '{1}'."),Trying_substitution_0_candidate_module_location_Colon_1:a(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:a(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:a(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:a(6096,3,"File_0_does_not_exist_6096","File '{0}' does not exist."),File_0_exists_use_it_as_a_name_resolution_result:a(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:a(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:a(6099,3,"Found_package_json_at_0_6099","Found 'package.json' at '{0}'."),package_json_does_not_have_a_0_field:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(6110,3,"Trying_other_entries_in_rootDirs_6110","Trying other entries in 'rootDirs'."),Module_resolution_using_rootDirs_has_failed:a(6111,3,"Module_resolution_using_rootDirs_has_failed_6111","Module resolution using 'rootDirs' has failed."),Do_not_emit_use_strict_directives_in_module_output:a(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:a(6113,3,"Enable_strict_null_checks_6113","Enable strict null checks."),Unknown_option_excludes_Did_you_mean_exclude:a(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:a(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:a(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:a(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:a(6120,3,"Type_reference_directive_0_was_not_resolved_6120","======== Type reference directive '{0}' was not resolved. ========"),Resolving_with_primary_search_path_0:a(6121,3,"Resolving_with_primary_search_path_0_6121","Resolving with primary search path '{0}'."),Root_directory_cannot_be_determined_skipping_primary_search_paths:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(6134,3,"Report_errors_on_unused_locals_6134","Report errors on unused locals."),Report_errors_on_unused_parameters:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(6149,3,"Show_diagnostic_information_6149","Show diagnostic information."),Show_verbose_diagnostic_information:a(6150,3,"Show_verbose_diagnostic_information_6150","Show verbose diagnostic information."),Emit_a_single_file_with_source_maps_instead_of_having_a_separate_file:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(6162,3,"Disable_size_limitations_on_JavaScript_projects_6162","Disable size limitations on JavaScript projects."),The_character_set_of_the_input_files:a(6163,3,"The_character_set_of_the_input_files_6163","The character set of the input files."),Skipping_module_0_that_looks_like_an_absolute_URI_target_file_types_Colon_1:a(6164,3,"Skipping_module_0_that_looks_like_an_absolute_URI_target_file_types_Colon_1_6164","Skipping module '{0}' that looks like an absolute URI, target file types: {1}."),Do_not_truncate_error_messages:a(6165,3,"Do_not_truncate_error_messages_6165","Do not truncate error messages."),Output_directory_for_generated_declaration_files:a(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:a(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:a(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:a(6169,3,"Show_all_compiler_options_6169","Show all compiler options."),Deprecated_Use_outFile_instead_Concatenate_and_emit_output_to_single_file:a(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:a(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:a(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:a(6180,3,"Enable_all_strict_type_checking_options_6180","Enable all strict type-checking options."),Scoped_package_detected_looking_in_0:a(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:a(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:a(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:a(6186,3,"Enable_strict_checking_of_function_types_6186","Enable strict checking of function types."),Enable_strict_checking_of_property_initialization_in_classes:a(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:a(6188,1,"Numeric_separators_are_not_allowed_here_6188","Numeric separators are not allowed here."),Multiple_consecutive_numeric_separators_are_not_permitted:a(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:a(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:a(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:a(6193,3,"Found_1_error_Watching_for_file_changes_6193","Found 1 error. Watching for file changes."),Found_0_errors_Watching_for_file_changes:a(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:a(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:a(6196,1,"_0_is_declared_but_never_used_6196","'{0}' is declared but never used.",!0),Include_modules_imported_with_json_extension:a(6197,3,"Include_modules_imported_with_json_extension_6197","Include modules imported with '.json' extension"),All_destructured_elements_are_unused:a(6198,1,"All_destructured_elements_are_unused_6198","All destructured elements are unused.",!0),All_variables_are_unused:a(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:a(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:a(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:a(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:a(6203,3,"_0_was_also_declared_here_6203","'{0}' was also declared here."),and_here:a(6204,3,"and_here_6204","and here."),All_type_parameters_are_unused:a(6205,1,"All_type_parameters_are_unused_6205","All type parameters are unused."),package_json_has_a_typesVersions_field_with_version_specific_path_mappings:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(6215,3,"Using_compiler_options_of_project_reference_redirect_0_6215","Using compiler options of project reference redirect '{0}'."),Found_1_error:a(6216,3,"Found_1_error_6216","Found 1 error."),Found_0_errors:a(6217,3,"Found_0_errors_6217","Found {0} errors."),Module_name_0_was_successfully_resolved_to_1_with_Package_ID_2:a(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:a(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:a(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:a(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:a(6222,3,"Emit_class_fields_with_Define_instead_of_Set_6222","Emit class fields with Define instead of Set."),Generates_a_CPU_profile:a(6223,3,"Generates_a_CPU_profile_6223","Generates a CPU profile."),Disable_solution_searching_for_this_project:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(6235,3,"Disable_loading_referenced_projects_6235","Disable loading referenced projects."),Arguments_for_the_rest_parameter_0_were_not_provided:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(6243,3,"Interpret_optional_property_types_as_written_rather_than_adding_undefined_6243","Interpret optional property types as written, rather than adding 'undefined'."),Modules:a(6244,3,"Modules_6244","Modules"),File_Management:a(6245,3,"File_Management_6245","File Management"),Emit:a(6246,3,"Emit_6246","Emit"),JavaScript_Support:a(6247,3,"JavaScript_Support_6247","JavaScript Support"),Type_Checking:a(6248,3,"Type_Checking_6248","Type Checking"),Editor_Support:a(6249,3,"Editor_Support_6249","Editor Support"),Watch_and_Build_Modes:a(6250,3,"Watch_and_Build_Modes_6250","Watch and Build Modes"),Compiler_Diagnostics:a(6251,3,"Compiler_Diagnostics_6251","Compiler Diagnostics"),Interop_Constraints:a(6252,3,"Interop_Constraints_6252","Interop Constraints"),Backwards_Compatibility:a(6253,3,"Backwards_Compatibility_6253","Backwards Compatibility"),Language_and_Environment:a(6254,3,"Language_and_Environment_6254","Language and Environment"),Projects:a(6255,3,"Projects_6255","Projects"),Output_Formatting:a(6256,3,"Output_Formatting_6256","Output Formatting"),Completeness:a(6257,3,"Completeness_6257","Completeness"),_0_should_be_set_inside_the_compilerOptions_object_of_the_config_json_file:a(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_0:a(6259,3,"Found_1_error_in_0_6259","Found 1 error in {0}"),Found_0_errors_in_the_same_file_starting_at_Colon_1:a(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:a(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:a(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:a(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:a(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."),Resolving_type_reference_directive_for_program_that_specifies_custom_typeRoots_skipping_lookup_in_node_modules_folder:a(6265,3,"Resolving_type_reference_directive_for_program_that_specifies_custom_typeRoots_skipping_lookup_in_no_6265","Resolving type reference directive for program that specifies custom typeRoots, skipping lookup in 'node_modules' folder."),Option_0_can_only_be_specified_on_command_line:a(6266,1,"Option_0_can_only_be_specified_on_command_line_6266","Option '{0}' can only be specified on command line."),Directory_0_has_no_containing_package_json_scope_Imports_will_not_resolve:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(6302,3,"Enable_project_compilation_6302","Enable project compilation"),Composite_projects_may_not_disable_declaration_emit:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(6357,3,"A_non_dry_build_would_build_project_0_6357","A non-dry build would build project '{0}'"),Building_project_0:a(6358,3,"Building_project_0_6358","Building project '{0}'..."),Updating_output_timestamps_of_project_0:a(6359,3,"Updating_output_timestamps_of_project_0_6359","Updating output timestamps of project '{0}'..."),Project_0_is_up_to_date:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(6370,1,"Options_0_and_1_cannot_be_combined_6370","Options '{0}' and '{1}' cannot be combined."),Updating_unchanged_output_timestamps_of_project_0:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(6379,1,"Composite_projects_may_not_disable_incremental_compilation_6379","Composite projects may not disable incremental compilation."),Specify_file_to_store_incremental_compilation_information:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(6402,3,"Resolving_in_0_mode_with_conditions_1_6402","Resolving in {0} mode with conditions {1}."),Matched_0_condition_1:a(6403,3,"Matched_0_condition_1_6403","Matched '{0}' condition '{1}'."),Using_0_subpath_1_with_target_2:a(6404,3,"Using_0_subpath_1_with_target_2_6404","Using '{0}' subpath '{1}' with target '{2}'."),Saw_non_matching_condition_0:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(6413,3,"Entering_conditional_exports_6413","Entering conditional exports."),Resolved_under_condition_0:a(6414,3,"Resolved_under_condition_0_6414","Resolved under condition '{0}'."),Failed_to_resolve_under_condition_0:a(6415,3,"Failed_to_resolve_under_condition_0_6415","Failed to resolve under condition '{0}'."),Exiting_conditional_exports:a(6416,3,"Exiting_conditional_exports_6416","Exiting conditional exports."),The_expected_type_comes_from_property_0_which_is_declared_here_on_type_1:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(6602,3,"Allow_accessing_UMD_globals_from_modules_6602","Allow accessing UMD globals from modules."),Disable_error_reporting_for_unreachable_code:a(6603,3,"Disable_error_reporting_for_unreachable_code_6603","Disable error reporting for unreachable code."),Disable_error_reporting_for_unused_labels:a(6604,3,"Disable_error_reporting_for_unused_labels_6604","Disable error reporting for unused labels."),Ensure_use_strict_is_always_emitted:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(6614,3,"Create_sourcemaps_for_d_ts_files_6614","Create sourcemaps for d.ts files."),Output_compiler_performance_information_after_building:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(6627,3,"Filters_results_from_the_include_option_6627","Filters results from the `include` option."),Remove_a_list_of_directories_from_the_watch_process:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(6659,3,"Set_the_newline_character_for_emitting_files_6659","Set the newline character for emitting files."),Disable_emitting_files_from_a_compilation:a(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:a(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:a(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:a(6663,3,"Disable_truncating_types_in_error_messages_6663","Disable truncating types in error messages."),Enable_error_reporting_for_fallthrough_cases_in_switch_statements:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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 ''s from expanding the number of files TypeScript should add to a project."),Disable_strict_checking_of_generic_signatures_in_function_types:a(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:a(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:a(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:a(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:a(6677,3,"Deprecated_setting_Use_outFile_instead_6677","Deprecated setting. Use 'outFile' instead."),Specify_an_output_folder_for_all_emitted_files:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(6688,3,"Disable_emitting_comments_6688","Disable emitting comments."),Enable_importing_json_files:a(6689,3,"Enable_importing_json_files_6689","Enable importing .json files."),Specify_the_root_folder_within_your_source_files:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(6712,3,"Emit_ECMAScript_standard_compliant_class_fields_6712","Emit ECMAScript-standard-compliant class fields."),Enable_verbose_logging:a(6713,3,"Enable_verbose_logging_6713","Enable verbose logging."),Specify_how_directories_are_watched_on_systems_that_lack_recursive_file_watching_functionality:a(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:a(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:a(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:a(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:a(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:a(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:a(6900,3,"one_of_Colon_6900","one of:"),one_or_more_Colon:a(6901,3,"one_or_more_Colon_6901","one or more:"),type_Colon:a(6902,3,"type_Colon_6902","type:"),default_Colon:a(6903,3,"default_Colon_6903","default:"),module_system_or_esModuleInterop:a(6904,3,"module_system_or_esModuleInterop_6904",'module === "system" or esModuleInterop'),false_unless_strict_is_set:a(6905,3,"false_unless_strict_is_set_6905","`false`, unless `strict` is set"),false_unless_composite_is_set:a(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:a(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:a(6908,3,"if_files_is_specified_otherwise_Asterisk_Asterisk_Slash_Asterisk_6908",'`[]` if `files` is specified, otherwise `["**/*"]`'),true_if_composite_false_otherwise:a(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:a(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:a(6911,3,"Computed_from_the_list_of_input_files_6911","Computed from the list of input files"),Platform_specific:a(6912,3,"Platform_specific_6912","Platform specific"),You_can_learn_about_all_of_the_compiler_options_at_0:a(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:a(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:a(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:a(6916,3,"COMMON_COMMANDS_6916","COMMON COMMANDS"),ALL_COMPILER_OPTIONS:a(6917,3,"ALL_COMPILER_OPTIONS_6917","ALL COMPILER OPTIONS"),WATCH_OPTIONS:a(6918,3,"WATCH_OPTIONS_6918","WATCH OPTIONS"),BUILD_OPTIONS:a(6919,3,"BUILD_OPTIONS_6919","BUILD OPTIONS"),COMMON_COMPILER_OPTIONS:a(6920,3,"COMMON_COMPILER_OPTIONS_6920","COMMON COMPILER OPTIONS"),COMMAND_LINE_FLAGS:a(6921,3,"COMMAND_LINE_FLAGS_6921","COMMAND LINE FLAGS"),tsc_Colon_The_TypeScript_Compiler:a(6922,3,"tsc_Colon_The_TypeScript_Compiler_6922","tsc: The TypeScript Compiler"),Compiles_the_current_project_tsconfig_json_in_the_working_directory:a(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:a(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:a(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:a(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:a(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:a(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:a(6929,3,"Compiles_the_current_project_with_additional_settings_6929","Compiles the current project, with additional settings."),true_for_ES2022_and_above_including_ESNext:a(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:a(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:a(7005,1,"Variable_0_implicitly_has_an_1_type_7005","Variable '{0}' implicitly has an '{1}' type."),Parameter_0_implicitly_has_an_1_type:a(7006,1,"Parameter_0_implicitly_has_an_1_type_7006","Parameter '{0}' implicitly has an '{1}' type."),Member_0_implicitly_has_an_1_type:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(7027,1,"Unreachable_code_detected_7027","Unreachable code detected.",!0),Unused_label:a(7028,1,"Unused_label_7028","Unused label.",!0),Fallthrough_case_in_switch:a(7029,1,"Fallthrough_case_in_switch_7029","Fallthrough case in switch."),Not_all_code_paths_return_a_value:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(8016,1,"Type_assertion_expressions_can_only_be_used_in_TypeScript_files_8016","Type assertion expressions can only be used in TypeScript files."),Report_errors_in_js_files:a(8019,3,"Report_errors_in_js_files_8019","Report errors in .js files."),JSDoc_types_can_only_be_used_inside_documentation_comments:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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'."),A_JSDoc_template_tag_may_not_follow_a_typedef_callback_or_overload_tag:a(8039,1,"A_JSDoc_template_tag_may_not_follow_a_typedef_callback_or_overload_tag_8039","A JSDoc '@template' tag may not follow a '@typedef', '@callback', or '@overload' tag"),Declaration_emit_for_this_file_requires_using_private_name_0_An_explicit_type_annotation_may_unblock_declaration_emit:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(17014,1,"JSX_fragment_has_no_corresponding_closing_tag_17014","JSX fragment has no corresponding closing tag."),Expected_corresponding_closing_tag_for_JSX_fragment:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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."),JSDoc_typedef_may_be_converted_to_TypeScript_type:a(80009,2,"JSDoc_typedef_may_be_converted_to_TypeScript_type_80009","JSDoc typedef may be converted to TypeScript type."),JSDoc_typedefs_may_be_converted_to_TypeScript_types:a(80010,2,"JSDoc_typedefs_may_be_converted_to_TypeScript_types_80010","JSDoc typedefs may be converted to TypeScript types."),Add_missing_super_call:a(90001,3,"Add_missing_super_call_90001","Add missing 'super()' call"),Make_super_call_the_first_statement_in_the_constructor:a(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:a(90003,3,"Change_extends_to_implements_90003","Change 'extends' to 'implements'"),Remove_unused_declaration_for_Colon_0:a(90004,3,"Remove_unused_declaration_for_Colon_0_90004","Remove unused declaration for: '{0}'"),Remove_import_from_0:a(90005,3,"Remove_import_from_0_90005","Remove import from '{0}'"),Implement_interface_0:a(90006,3,"Implement_interface_0_90006","Implement interface '{0}'"),Implement_inherited_abstract_class:a(90007,3,"Implement_inherited_abstract_class_90007","Implement inherited abstract class"),Add_0_to_unresolved_variable:a(90008,3,"Add_0_to_unresolved_variable_90008","Add '{0}.' to unresolved variable"),Remove_variable_statement:a(90010,3,"Remove_variable_statement_90010","Remove variable statement"),Remove_template_tag:a(90011,3,"Remove_template_tag_90011","Remove template tag"),Remove_type_parameters:a(90012,3,"Remove_type_parameters_90012","Remove type parameters"),Import_0_from_1:a(90013,3,"Import_0_from_1_90013",`Import '{0}' from "{1}"`),Change_0_to_1:a(90014,3,"Change_0_to_1_90014","Change '{0}' to '{1}'"),Declare_property_0:a(90016,3,"Declare_property_0_90016","Declare property '{0}'"),Add_index_signature_for_property_0:a(90017,3,"Add_index_signature_for_property_0_90017","Add index signature for property '{0}'"),Disable_checking_for_this_file:a(90018,3,"Disable_checking_for_this_file_90018","Disable checking for this file"),Ignore_this_error_message:a(90019,3,"Ignore_this_error_message_90019","Ignore this error message"),Initialize_property_0_in_the_constructor:a(90020,3,"Initialize_property_0_in_the_constructor_90020","Initialize property '{0}' in the constructor"),Initialize_static_property_0:a(90021,3,"Initialize_static_property_0_90021","Initialize static property '{0}'"),Change_spelling_to_0:a(90022,3,"Change_spelling_to_0_90022","Change spelling to '{0}'"),Declare_method_0:a(90023,3,"Declare_method_0_90023","Declare method '{0}'"),Declare_static_method_0:a(90024,3,"Declare_static_method_0_90024","Declare static method '{0}'"),Prefix_0_with_an_underscore:a(90025,3,"Prefix_0_with_an_underscore_90025","Prefix '{0}' with an underscore"),Rewrite_as_the_indexed_access_type_0:a(90026,3,"Rewrite_as_the_indexed_access_type_0_90026","Rewrite as the indexed access type '{0}'"),Declare_static_property_0:a(90027,3,"Declare_static_property_0_90027","Declare static property '{0}'"),Call_decorator_expression:a(90028,3,"Call_decorator_expression_90028","Call decorator expression"),Add_async_modifier_to_containing_function:a(90029,3,"Add_async_modifier_to_containing_function_90029","Add async modifier to containing function"),Replace_infer_0_with_unknown:a(90030,3,"Replace_infer_0_with_unknown_90030","Replace 'infer {0}' with 'unknown'"),Replace_all_unused_infer_with_unknown:a(90031,3,"Replace_all_unused_infer_with_unknown_90031","Replace all unused 'infer' with 'unknown'"),Add_parameter_name:a(90034,3,"Add_parameter_name_90034","Add parameter name"),Declare_private_property_0:a(90035,3,"Declare_private_property_0_90035","Declare private property '{0}'"),Replace_0_with_Promise_1:a(90036,3,"Replace_0_with_Promise_1_90036","Replace '{0}' with 'Promise<{1}>'"),Fix_all_incorrect_return_type_of_an_async_functions:a(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:a(90038,3,"Declare_private_method_0_90038","Declare private method '{0}'"),Remove_unused_destructuring_declaration:a(90039,3,"Remove_unused_destructuring_declaration_90039","Remove unused destructuring declaration"),Remove_unused_declarations_for_Colon_0:a(90041,3,"Remove_unused_declarations_for_Colon_0_90041","Remove unused declarations for: '{0}'"),Declare_a_private_field_named_0:a(90053,3,"Declare_a_private_field_named_0_90053","Declare a private field named '{0}'."),Includes_imports_of_types_referenced_by_0:a(90054,3,"Includes_imports_of_types_referenced_by_0_90054","Includes imports of types referenced by '{0}'"),Remove_type_from_import_declaration_from_0:a(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:a(90056,3,"Remove_type_from_import_of_0_from_1_90056",`Remove 'type' from import of '{0}' from "{1}"`),Add_import_from_0:a(90057,3,"Add_import_from_0_90057",'Add import from "{0}"'),Update_import_from_0:a(90058,3,"Update_import_from_0_90058",'Update import from "{0}"'),Export_0_from_module_1:a(90059,3,"Export_0_from_module_1_90059","Export '{0}' from module '{1}'"),Export_all_referenced_locals:a(90060,3,"Export_all_referenced_locals_90060","Export all referenced locals"),Convert_function_to_an_ES2015_class:a(95001,3,"Convert_function_to_an_ES2015_class_95001","Convert function to an ES2015 class"),Convert_0_to_1_in_0:a(95003,3,"Convert_0_to_1_in_0_95003","Convert '{0}' to '{1} in {0}'"),Extract_to_0_in_1:a(95004,3,"Extract_to_0_in_1_95004","Extract to {0} in {1}"),Extract_function:a(95005,3,"Extract_function_95005","Extract function"),Extract_constant:a(95006,3,"Extract_constant_95006","Extract constant"),Extract_to_0_in_enclosing_scope:a(95007,3,"Extract_to_0_in_enclosing_scope_95007","Extract to {0} in enclosing scope"),Extract_to_0_in_1_scope:a(95008,3,"Extract_to_0_in_1_scope_95008","Extract to {0} in {1} scope"),Annotate_with_type_from_JSDoc:a(95009,3,"Annotate_with_type_from_JSDoc_95009","Annotate with type from JSDoc"),Infer_type_of_0_from_usage:a(95011,3,"Infer_type_of_0_from_usage_95011","Infer type of '{0}' from usage"),Infer_parameter_types_from_usage:a(95012,3,"Infer_parameter_types_from_usage_95012","Infer parameter types from usage"),Convert_to_default_import:a(95013,3,"Convert_to_default_import_95013","Convert to default import"),Install_0:a(95014,3,"Install_0_95014","Install '{0}'"),Replace_import_with_0:a(95015,3,"Replace_import_with_0_95015","Replace import with '{0}'."),Use_synthetic_default_member:a(95016,3,"Use_synthetic_default_member_95016","Use synthetic 'default' member."),Convert_to_ES_module:a(95017,3,"Convert_to_ES_module_95017","Convert to ES module"),Add_undefined_type_to_property_0:a(95018,3,"Add_undefined_type_to_property_0_95018","Add 'undefined' type to property '{0}'"),Add_initializer_to_property_0:a(95019,3,"Add_initializer_to_property_0_95019","Add initializer to property '{0}'"),Add_definite_assignment_assertion_to_property_0:a(95020,3,"Add_definite_assignment_assertion_to_property_0_95020","Add definite assignment assertion to property '{0}'"),Convert_all_type_literals_to_mapped_type:a(95021,3,"Convert_all_type_literals_to_mapped_type_95021","Convert all type literals to mapped type"),Add_all_missing_members:a(95022,3,"Add_all_missing_members_95022","Add all missing members"),Infer_all_types_from_usage:a(95023,3,"Infer_all_types_from_usage_95023","Infer all types from usage"),Delete_all_unused_declarations:a(95024,3,"Delete_all_unused_declarations_95024","Delete all unused declarations"),Prefix_all_unused_declarations_with_where_possible:a(95025,3,"Prefix_all_unused_declarations_with_where_possible_95025","Prefix all unused declarations with '_' where possible"),Fix_all_detected_spelling_errors:a(95026,3,"Fix_all_detected_spelling_errors_95026","Fix all detected spelling errors"),Add_initializers_to_all_uninitialized_properties:a(95027,3,"Add_initializers_to_all_uninitialized_properties_95027","Add initializers to all uninitialized properties"),Add_definite_assignment_assertions_to_all_uninitialized_properties:a(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:a(95029,3,"Add_undefined_type_to_all_uninitialized_properties_95029","Add undefined type to all uninitialized properties"),Change_all_jsdoc_style_types_to_TypeScript:a(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:a(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:a(95032,3,"Implement_all_unimplemented_interfaces_95032","Implement all unimplemented interfaces"),Install_all_missing_types_packages:a(95033,3,"Install_all_missing_types_packages_95033","Install all missing types packages"),Rewrite_all_as_indexed_access_types:a(95034,3,"Rewrite_all_as_indexed_access_types_95034","Rewrite all as indexed access types"),Convert_all_to_default_imports:a(95035,3,"Convert_all_to_default_imports_95035","Convert all to default imports"),Make_all_super_calls_the_first_statement_in_their_constructor:a(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:a(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:a(95038,3,"Change_all_extended_interfaces_to_implements_95038","Change all extended interfaces to 'implements'"),Add_all_missing_super_calls:a(95039,3,"Add_all_missing_super_calls_95039","Add all missing super calls"),Implement_all_inherited_abstract_classes:a(95040,3,"Implement_all_inherited_abstract_classes_95040","Implement all inherited abstract classes"),Add_all_missing_async_modifiers:a(95041,3,"Add_all_missing_async_modifiers_95041","Add all missing 'async' modifiers"),Add_ts_ignore_to_all_error_messages:a(95042,3,"Add_ts_ignore_to_all_error_messages_95042","Add '@ts-ignore' to all error messages"),Annotate_everything_with_types_from_JSDoc:a(95043,3,"Annotate_everything_with_types_from_JSDoc_95043","Annotate everything with types from JSDoc"),Add_to_all_uncalled_decorators:a(95044,3,"Add_to_all_uncalled_decorators_95044","Add '()' to all uncalled decorators"),Convert_all_constructor_functions_to_classes:a(95045,3,"Convert_all_constructor_functions_to_classes_95045","Convert all constructor functions to classes"),Generate_get_and_set_accessors:a(95046,3,"Generate_get_and_set_accessors_95046","Generate 'get' and 'set' accessors"),Convert_require_to_import:a(95047,3,"Convert_require_to_import_95047","Convert 'require' to 'import'"),Convert_all_require_to_import:a(95048,3,"Convert_all_require_to_import_95048","Convert all 'require' to 'import'"),Move_to_a_new_file:a(95049,3,"Move_to_a_new_file_95049","Move to a new file"),Remove_unreachable_code:a(95050,3,"Remove_unreachable_code_95050","Remove unreachable code"),Remove_all_unreachable_code:a(95051,3,"Remove_all_unreachable_code_95051","Remove all unreachable code"),Add_missing_typeof:a(95052,3,"Add_missing_typeof_95052","Add missing 'typeof'"),Remove_unused_label:a(95053,3,"Remove_unused_label_95053","Remove unused label"),Remove_all_unused_labels:a(95054,3,"Remove_all_unused_labels_95054","Remove all unused labels"),Convert_0_to_mapped_object_type:a(95055,3,"Convert_0_to_mapped_object_type_95055","Convert '{0}' to mapped object type"),Convert_namespace_import_to_named_imports:a(95056,3,"Convert_namespace_import_to_named_imports_95056","Convert namespace import to named imports"),Convert_named_imports_to_namespace_import:a(95057,3,"Convert_named_imports_to_namespace_import_95057","Convert named imports to namespace import"),Add_or_remove_braces_in_an_arrow_function:a(95058,3,"Add_or_remove_braces_in_an_arrow_function_95058","Add or remove braces in an arrow function"),Add_braces_to_arrow_function:a(95059,3,"Add_braces_to_arrow_function_95059","Add braces to arrow function"),Remove_braces_from_arrow_function:a(95060,3,"Remove_braces_from_arrow_function_95060","Remove braces from arrow function"),Convert_default_export_to_named_export:a(95061,3,"Convert_default_export_to_named_export_95061","Convert default export to named export"),Convert_named_export_to_default_export:a(95062,3,"Convert_named_export_to_default_export_95062","Convert named export to default export"),Add_missing_enum_member_0:a(95063,3,"Add_missing_enum_member_0_95063","Add missing enum member '{0}'"),Add_all_missing_imports:a(95064,3,"Add_all_missing_imports_95064","Add all missing imports"),Convert_to_async_function:a(95065,3,"Convert_to_async_function_95065","Convert to async function"),Convert_all_to_async_functions:a(95066,3,"Convert_all_to_async_functions_95066","Convert all to async functions"),Add_missing_call_parentheses:a(95067,3,"Add_missing_call_parentheses_95067","Add missing call parentheses"),Add_all_missing_call_parentheses:a(95068,3,"Add_all_missing_call_parentheses_95068","Add all missing call parentheses"),Add_unknown_conversion_for_non_overlapping_types:a(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:a(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:a(95071,3,"Add_missing_new_operator_to_call_95071","Add missing 'new' operator to call"),Add_missing_new_operator_to_all_calls:a(95072,3,"Add_missing_new_operator_to_all_calls_95072","Add missing 'new' operator to all calls"),Add_names_to_all_parameters_without_names:a(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:a(95074,3,"Enable_the_experimentalDecorators_option_in_your_configuration_file_95074","Enable the 'experimentalDecorators' option in your configuration file"),Convert_parameters_to_destructured_object:a(95075,3,"Convert_parameters_to_destructured_object_95075","Convert parameters to destructured object"),Extract_type:a(95077,3,"Extract_type_95077","Extract type"),Extract_to_type_alias:a(95078,3,"Extract_to_type_alias_95078","Extract to type alias"),Extract_to_typedef:a(95079,3,"Extract_to_typedef_95079","Extract to typedef"),Infer_this_type_of_0_from_usage:a(95080,3,"Infer_this_type_of_0_from_usage_95080","Infer 'this' type of '{0}' from usage"),Add_const_to_unresolved_variable:a(95081,3,"Add_const_to_unresolved_variable_95081","Add 'const' to unresolved variable"),Add_const_to_all_unresolved_variables:a(95082,3,"Add_const_to_all_unresolved_variables_95082","Add 'const' to all unresolved variables"),Add_await:a(95083,3,"Add_await_95083","Add 'await'"),Add_await_to_initializer_for_0:a(95084,3,"Add_await_to_initializer_for_0_95084","Add 'await' to initializer for '{0}'"),Fix_all_expressions_possibly_missing_await:a(95085,3,"Fix_all_expressions_possibly_missing_await_95085","Fix all expressions possibly missing 'await'"),Remove_unnecessary_await:a(95086,3,"Remove_unnecessary_await_95086","Remove unnecessary 'await'"),Remove_all_unnecessary_uses_of_await:a(95087,3,"Remove_all_unnecessary_uses_of_await_95087","Remove all unnecessary uses of 'await'"),Enable_the_jsx_flag_in_your_configuration_file:a(95088,3,"Enable_the_jsx_flag_in_your_configuration_file_95088","Enable the '--jsx' flag in your configuration file"),Add_await_to_initializers:a(95089,3,"Add_await_to_initializers_95089","Add 'await' to initializers"),Extract_to_interface:a(95090,3,"Extract_to_interface_95090","Extract to interface"),Convert_to_a_bigint_numeric_literal:a(95091,3,"Convert_to_a_bigint_numeric_literal_95091","Convert to a bigint numeric literal"),Convert_all_to_bigint_numeric_literals:a(95092,3,"Convert_all_to_bigint_numeric_literals_95092","Convert all to bigint numeric literals"),Convert_const_to_let:a(95093,3,"Convert_const_to_let_95093","Convert 'const' to 'let'"),Prefix_with_declare:a(95094,3,"Prefix_with_declare_95094","Prefix with 'declare'"),Prefix_all_incorrect_property_declarations_with_declare:a(95095,3,"Prefix_all_incorrect_property_declarations_with_declare_95095","Prefix all incorrect property declarations with 'declare'"),Convert_to_template_string:a(95096,3,"Convert_to_template_string_95096","Convert to template string"),Add_export_to_make_this_file_into_a_module:a(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:a(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:a(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:a(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:a(95101,3,"Convert_all_invalid_characters_to_HTML_entity_code_95101","Convert all invalid characters to HTML entity code"),Convert_all_const_to_let:a(95102,3,"Convert_all_const_to_let_95102","Convert all 'const' to 'let'"),Convert_function_expression_0_to_arrow_function:a(95105,3,"Convert_function_expression_0_to_arrow_function_95105","Convert function expression '{0}' to arrow function"),Convert_function_declaration_0_to_arrow_function:a(95106,3,"Convert_function_declaration_0_to_arrow_function_95106","Convert function declaration '{0}' to arrow function"),Fix_all_implicit_this_errors:a(95107,3,"Fix_all_implicit_this_errors_95107","Fix all implicit-'this' errors"),Wrap_invalid_character_in_an_expression_container:a(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:a(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:a(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:a(95111,3,"Add_a_return_statement_95111","Add a return statement"),Remove_braces_from_arrow_function_body:a(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:a(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:a(95114,3,"Add_all_missing_return_statement_95114","Add all missing return statement"),Remove_braces_from_all_arrow_function_bodies_with_relevant_issues:a(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:a(95116,3,"Wrap_all_object_literal_with_parentheses_95116","Wrap all object literal with parentheses"),Move_labeled_tuple_element_modifiers_to_labels:a(95117,3,"Move_labeled_tuple_element_modifiers_to_labels_95117","Move labeled tuple element modifiers to labels"),Convert_overload_list_to_single_signature:a(95118,3,"Convert_overload_list_to_single_signature_95118","Convert overload list to single signature"),Generate_get_and_set_accessors_for_all_overriding_properties:a(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:a(95120,3,"Wrap_in_JSX_fragment_95120","Wrap in JSX fragment"),Wrap_all_unparented_JSX_in_JSX_fragment:a(95121,3,"Wrap_all_unparented_JSX_in_JSX_fragment_95121","Wrap all unparented JSX in JSX fragment"),Convert_arrow_function_or_function_expression:a(95122,3,"Convert_arrow_function_or_function_expression_95122","Convert arrow function or function expression"),Convert_to_anonymous_function:a(95123,3,"Convert_to_anonymous_function_95123","Convert to anonymous function"),Convert_to_named_function:a(95124,3,"Convert_to_named_function_95124","Convert to named function"),Convert_to_arrow_function:a(95125,3,"Convert_to_arrow_function_95125","Convert to arrow function"),Remove_parentheses:a(95126,3,"Remove_parentheses_95126","Remove parentheses"),Could_not_find_a_containing_arrow_function:a(95127,3,"Could_not_find_a_containing_arrow_function_95127","Could not find a containing arrow function"),Containing_function_is_not_an_arrow_function:a(95128,3,"Containing_function_is_not_an_arrow_function_95128","Containing function is not an arrow function"),Could_not_find_export_statement:a(95129,3,"Could_not_find_export_statement_95129","Could not find export statement"),This_file_already_has_a_default_export:a(95130,3,"This_file_already_has_a_default_export_95130","This file already has a default export"),Could_not_find_import_clause:a(95131,3,"Could_not_find_import_clause_95131","Could not find import clause"),Could_not_find_namespace_import_or_named_imports:a(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:a(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:a(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:a(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:a(95136,3,"Name_is_not_valid_95136","Name is not valid"),Can_only_convert_property_with_modifier:a(95137,3,"Can_only_convert_property_with_modifier_95137","Can only convert property with modifier"),Switch_each_misused_0_to_1:a(95138,3,"Switch_each_misused_0_to_1_95138","Switch each misused '{0}' to '{1}'"),Convert_to_optional_chain_expression:a(95139,3,"Convert_to_optional_chain_expression_95139","Convert to optional chain expression"),Could_not_find_convertible_access_expression:a(95140,3,"Could_not_find_convertible_access_expression_95140","Could not find convertible access expression"),Could_not_find_matching_access_expressions:a(95141,3,"Could_not_find_matching_access_expressions_95141","Could not find matching access expressions"),Can_only_convert_logical_AND_access_chains:a(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:a(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:a(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:a(95145,3,"Use_element_access_for_0_95145","Use element access for '{0}'"),Use_element_access_for_all_undeclared_properties:a(95146,3,"Use_element_access_for_all_undeclared_properties_95146","Use element access for all undeclared properties."),Delete_all_unused_imports:a(95147,3,"Delete_all_unused_imports_95147","Delete all unused imports"),Infer_function_return_type:a(95148,3,"Infer_function_return_type_95148","Infer function return type"),Return_type_must_be_inferred_from_a_function:a(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:a(95150,3,"Could_not_determine_function_return_type_95150","Could not determine function return type"),Could_not_convert_to_arrow_function:a(95151,3,"Could_not_convert_to_arrow_function_95151","Could not convert to arrow function"),Could_not_convert_to_named_function:a(95152,3,"Could_not_convert_to_named_function_95152","Could not convert to named function"),Could_not_convert_to_anonymous_function:a(95153,3,"Could_not_convert_to_anonymous_function_95153","Could not convert to anonymous function"),Can_only_convert_string_concatenation:a(95154,3,"Can_only_convert_string_concatenation_95154","Can only convert string concatenation"),Selection_is_not_a_valid_statement_or_statements:a(95155,3,"Selection_is_not_a_valid_statement_or_statements_95155","Selection is not a valid statement or statements"),Add_missing_function_declaration_0:a(95156,3,"Add_missing_function_declaration_0_95156","Add missing function declaration '{0}'"),Add_all_missing_function_declarations:a(95157,3,"Add_all_missing_function_declarations_95157","Add all missing function declarations"),Method_not_implemented:a(95158,3,"Method_not_implemented_95158","Method not implemented."),Function_not_implemented:a(95159,3,"Function_not_implemented_95159","Function not implemented."),Add_override_modifier:a(95160,3,"Add_override_modifier_95160","Add 'override' modifier"),Remove_override_modifier:a(95161,3,"Remove_override_modifier_95161","Remove 'override' modifier"),Add_all_missing_override_modifiers:a(95162,3,"Add_all_missing_override_modifiers_95162","Add all missing 'override' modifiers"),Remove_all_unnecessary_override_modifiers:a(95163,3,"Remove_all_unnecessary_override_modifiers_95163","Remove all unnecessary 'override' modifiers"),Can_only_convert_named_export:a(95164,3,"Can_only_convert_named_export_95164","Can only convert named export"),Add_missing_properties:a(95165,3,"Add_missing_properties_95165","Add missing properties"),Add_all_missing_properties:a(95166,3,"Add_all_missing_properties_95166","Add all missing properties"),Add_missing_attributes:a(95167,3,"Add_missing_attributes_95167","Add missing attributes"),Add_all_missing_attributes:a(95168,3,"Add_all_missing_attributes_95168","Add all missing attributes"),Add_undefined_to_optional_property_type:a(95169,3,"Add_undefined_to_optional_property_type_95169","Add 'undefined' to optional property type"),Convert_named_imports_to_default_import:a(95170,3,"Convert_named_imports_to_default_import_95170","Convert named imports to default import"),Delete_unused_param_tag_0:a(95171,3,"Delete_unused_param_tag_0_95171","Delete unused '@param' tag '{0}'"),Delete_all_unused_param_tags:a(95172,3,"Delete_all_unused_param_tags_95172","Delete all unused '@param' tags"),Rename_param_tag_name_0_to_1:a(95173,3,"Rename_param_tag_name_0_to_1_95173","Rename '@param' tag name '{0}' to '{1}'"),Use_0:a(95174,3,"Use_0_95174","Use `{0}`."),Use_Number_isNaN_in_all_conditions:a(95175,3,"Use_Number_isNaN_in_all_conditions_95175","Use `Number.isNaN` in all conditions."),Convert_typedef_to_TypeScript_type:a(95176,3,"Convert_typedef_to_TypeScript_type_95176","Convert typedef to TypeScript type."),Convert_all_typedef_to_TypeScript_types:a(95177,3,"Convert_all_typedef_to_TypeScript_types_95177","Convert all typedef to TypeScript types."),Move_to_file:a(95178,3,"Move_to_file_95178","Move to file"),Cannot_move_to_file_selected_file_is_invalid:a(95179,3,"Cannot_move_to_file_selected_file_is_invalid_95179","Cannot move to file, selected file is invalid"),No_value_exists_in_scope_for_the_shorthand_property_0_Either_declare_one_or_provide_an_initializer:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(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:a(18046,1,"_0_is_of_type_unknown_18046","'{0}' is of type 'unknown'."),_0_is_possibly_null:a(18047,1,"_0_is_possibly_null_18047","'{0}' is possibly 'null'."),_0_is_possibly_undefined:a(18048,1,"_0_is_possibly_undefined_18048","'{0}' is possibly 'undefined'."),_0_is_possibly_null_or_undefined:a(18049,1,"_0_is_possibly_null_or_undefined_18049","'{0}' is possibly 'null' or 'undefined'."),The_value_0_cannot_be_used_here:a(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:a(18051,1,"Compiler_option_0_cannot_be_given_an_empty_string_18051","Compiler option '{0}' cannot be given an empty string."),Non_abstract_class_0_does_not_implement_all_abstract_members_of_1:a(18052,1,"Non_abstract_class_0_does_not_implement_all_abstract_members_of_1_18052","Non-abstract class '{0}' does not implement all abstract members of '{1}'"),Its_type_0_is_not_a_valid_JSX_element_type:a(18053,1,"Its_type_0_is_not_a_valid_JSX_element_type_18053","Its type '{0}' is not a valid JSX element type.")}}});function At(e){return e>=80}function vT(e){return e===32||At(e)}function t_(e,t){if(e=2?t_(e,IT):t===1?t_(e,PT):t_(e,AT)}function F5(e,t){return t>=2?t_(e,OT):t===1?t_(e,NT):t_(e,DT)}function j5(e){let t=[];return e.forEach((n,i)=>{t[n]=i}),t}function an(e){return JT[e]}function Al(e){return v0.get(e)}function cm(e){let t=[],n=0,i=0;for(;n127&&mn(s)&&(t.push(i),i=n);break}}return t.push(i),t}function B5(e,t,n,i){return e.getPositionOfLineAndCharacter?e.getPositionOfLineAndCharacter(t,n,i):wg(xa(e),t,n,e.text,i)}function wg(e,t,n,i,s){(t<0||t>=e.length)&&(s?t=t<0?0:t>=e.length?e.length-1:t:M.fail(`Bad line number. Line: ${t}, lineStarts.length: ${e.length} , line map is correct? ${i!==void 0?Jv(e,cm(i)):"unknown"}`));let l=e[t]+n;return s?l>e[t+1]?e[t+1]:typeof i=="string"&&l>i.length?i.length:l:(t=8192&&e<=8203||e===8239||e===8287||e===12288||e===65279}function mn(e){return e===10||e===13||e===8232||e===8233}function Po(e){return e>=48&&e<=57}function tv(e){return Po(e)||e>=65&&e<=70||e>=97&&e<=102}function U5(e){return e<=1114111}function Xd(e){return e>=48&&e<=55}function q5(e,t){let n=e.charCodeAt(t);switch(n){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 t===0;default:return n>127}}function It(e,t,n,i,s){if(wa(t))return t;let l=!1;for(;;){let d=e.charCodeAt(t);switch(d){case 13:e.charCodeAt(t+1)===10&&t++;case 10:if(t++,n)return t;l=!!s;continue;case 9:case 11:case 12:case 32:t++;continue;case 47:if(i)break;if(e.charCodeAt(t+1)===47){for(t+=2;t127&&qi(d)){t++;continue}break}return t}}function Io(e,t){if(M.assert(t>=0),t===0||mn(e.charCodeAt(t-1))){let n=e.charCodeAt(t);if(t+nl=0&&n127&&qi(A)){D&&mn(A)&&(h=!0),n++;continue}break e}}return D&&(g=s(y,p,x,h,l,g)),g}function z5(e,t,n,i){return lm(!1,e,t,!1,n,i)}function W5(e,t,n,i){return lm(!1,e,t,!0,n,i)}function xT(e,t,n,i,s){return lm(!0,e,t,!1,n,i,s)}function ST(e,t,n,i,s){return lm(!0,e,t,!0,n,i,s)}function wT(e,t,n,i,s,l=[]){return l.push({kind:n,pos:e,end:t,hasTrailingNewLine:i}),l}function Go(e,t){return xT(e,t,wT,void 0,void 0)}function ET(e,t){return ST(e,t,wT,void 0,void 0)}function CT(e){let t=um.exec(e);if(t)return t[0]}function or(e,t){return e>=65&&e<=90||e>=97&&e<=122||e===36||e===95||e>127&&TT(e,t)}function Wa(e,t,n){return e>=65&&e<=90||e>=97&&e<=122||e>=48&&e<=57||e===36||e===95||(n===1?e===45||e===58:!1)||e>127&&F5(e,t)}function Ag(e,t,n){let i=ir(e,0);if(!or(i,t))return!1;for(let s=Br(i);sh,getStartPos:()=>h,getTokenEnd:()=>p,getTextPos:()=>p,getToken:()=>w,getTokenStart:()=>D,getTokenPos:()=>D,getTokenText:()=>y.substring(D,p),getTokenValue:()=>g,hasUnicodeEscape:()=>(A&1024)!==0,hasExtendedUnicodeEscape:()=>(A&8)!==0,hasPrecedingLineBreak:()=>(A&1)!==0,hasPrecedingJSDocComment:()=>(A&2)!==0,isIdentifier:()=>w===80||w>118,isReservedWord:()=>w>=83&&w<=118,isUnterminated:()=>(A&4)!==0,getCommentDirectives:()=>B,getNumericLiteralFlags:()=>A&25584,getTokenFlags:()=>A,reScanGreaterToken:vt,reScanAsteriskEqualsToken:Un,reScanSlashToken:qn,reScanTemplateToken:Zt,reScanTemplateHeadOrNoSubstitutionTemplate:zn,scanJsxIdentifier:Qn,scanJsxAttributeValue:ut,reScanJsxAttributeValue:Jt,reScanJsxToken:mt,reScanLessThanToken:mr,reScanHashToken:bt,reScanQuestionToken:cn,reScanInvalidIdentifier:dn,scanJsxToken:dt,scanJsDocToken:yr,scanJSDocCommentTextToken:ln,scan:Bn,getText:Ci,clearCommentDirectives:Ie,setText:H,setScriptTarget:be,setLanguageVariant:Ee,setOnError:de,resetTokenState:et,setTextPos:et,setInJSDocType:Qe,tryScan:hr,lookAhead:Wn,scanRange:ti};return M.isDebugging&&Object.defineProperty(oe,"__debugShowCurrentPositionInText",{get:()=>{let ee=oe.getText();return ee.slice(0,oe.getTokenFullStart())+"\u2551"+ee.slice(oe.getTokenFullStart())}}),oe;function Q(ee,Z=p,ae,Te){if(s){let Oe=p;p=Z,s(ee,ae||0,Te),p=Oe}}function W(){let ee=p,Z=!1,ae=!1,Te="";for(;;){let Oe=y.charCodeAt(p);if(Oe===95){A|=512,Z?(Z=!1,ae=!0,Te+=y.substring(ee,p)):(A|=16384,Q(ae?K.Multiple_consecutive_numeric_separators_are_not_permitted:K.Numeric_separators_are_not_allowed_here,p,1)),p++,ee=p;continue}if(Po(Oe)){Z=!0,ae=!1,p++;continue}break}return y.charCodeAt(p-1)===95&&(A|=16384,Q(K.Numeric_separators_are_not_allowed_here,p-1,1)),Te+y.substring(ee,p)}function se(){let ee=p,Z;if(y.charCodeAt(p)===48)if(p++,y.charCodeAt(p)===95)A|=16896,Q(K.Numeric_separators_are_not_allowed_here,p,1),p--,Z=W();else if(!Ze())A|=8192,Z=""+ +g;else if(!g)Z="0";else{g=""+parseInt(g,8),A|=32;let Re=w===41,Rt=(Re?"-":"")+"0o"+(+g).toString(8);return Re&&ee--,Q(K.Octal_literals_are_not_allowed_Use_the_syntax_0,ee,p-ee,Rt),{type:9,value:g}}else Z=W();let ae,Te;y.charCodeAt(p)===46&&(p++,ae=W());let Oe=p;if(y.charCodeAt(p)===69||y.charCodeAt(p)===101){p++,A|=16,(y.charCodeAt(p)===43||y.charCodeAt(p)===45)&&p++;let Re=p,Rt=W();Rt?(Te=y.substring(Oe,Re)+Rt,Oe=p):Q(K.Digit_expected)}let We;if(A&512?(We=Z,ae&&(We+="."+ae),Te&&(We+=Te)):We=y.substring(ee,Oe),A&8192)return Q(K.Decimals_with_leading_zeros_are_not_allowed,ee,Oe-ee),{type:9,value:""+ +We};if(ae!==void 0||A&16)return we(ee,ae===void 0&&!!(A&16)),{type:9,value:""+ +We};{g=We;let Re=fr();return we(ee),{type:Re,value:g}}}function we(ee,Z){if(!or(ir(y,p),e))return;let ae=p,{length:Te}=$t();Te===1&&y[ae]==="n"?Q(Z?K.A_bigint_literal_cannot_use_exponential_notation:K.A_bigint_literal_must_be_an_integer,ee,ae-ee+1):(Q(K.An_identifier_or_keyword_cannot_immediately_follow_a_numeric_literal,ae,Te),p=ae)}function Ze(){let ee=p,Z=!0;for(;Po(y.charCodeAt(p));)Xd(y.charCodeAt(p))||(Z=!1),p++;return g=y.substring(ee,p),Z}function Ue(ee,Z){let ae=ct(ee,!1,Z);return ae?parseInt(ae,16):-1}function rt(ee,Z){return ct(ee,!0,Z)}function ct(ee,Z,ae){let Te=[],Oe=!1,We=!1;for(;Te.length=65&&Re<=70)Re+=97-65;else if(!(Re>=48&&Re<=57||Re>=97&&Re<=102))break;Te.push(Re),p++,We=!1}return Te.length=x){ae+=y.substring(Te,p),A|=4,Q(K.Unterminated_string_literal);break}let Oe=y.charCodeAt(p);if(Oe===Z){ae+=y.substring(Te,p),p++;break}if(Oe===92&&!ee){ae+=y.substring(Te,p),ae+=ei(!0),Te=p;continue}if(mn(Oe)&&!ee){ae+=y.substring(Te,p),A|=4,Q(K.Unterminated_string_literal);break}p++}return ae}function sn(ee){let Z=y.charCodeAt(p)===96;p++;let ae=p,Te="",Oe;for(;;){if(p>=x){Te+=y.substring(ae,p),A|=4,Q(K.Unterminated_template_literal),Oe=Z?15:18;break}let We=y.charCodeAt(p);if(We===96){Te+=y.substring(ae,p),p++,Oe=Z?15:18;break}if(We===36&&p+1=x)return Q(K.Unexpected_end_of_text),"";let ae=y.charCodeAt(p);switch(p++,ae){case 48:if(p>=x||!Po(y.charCodeAt(p)))return"\0";case 49:case 50:case 51:p=x?(A|=2048,ee&&Q(K.Unexpected_end_of_text),y.substring(Z,p)):y.charCodeAt(p)!==125?(A|=2048,ee&&Q(K.Unterminated_Unicode_escape_sequence),y.substring(Z,p)):(p++,A|=8,$d(Oe)):(A|=2048,ee&&Q(K.An_extended_Unicode_escape_value_must_be_between_0x0_and_0x10FFFF_inclusive),y.substring(Z,p))}for(;p1114111&&(Q(K.An_extended_Unicode_escape_value_must_be_between_0x0_and_0x10FFFF_inclusive),ae=!0),p>=x?(Q(K.Unexpected_end_of_text),ae=!0):y.charCodeAt(p)===125?p++:(Q(K.Unterminated_Unicode_escape_sequence),ae=!0),ae?"":$d(Z)}function Pn(){if(p+5=0&&Wa(ae,e)){p+=3,A|=8,ee+=_n(),Z=p;continue}if(ae=Pn(),!(ae>=0&&Wa(ae,e)))break;A|=1024,ee+=y.substring(Z,p),ee+=$d(ae),p+=6,Z=p}else break}return ee+=y.substring(Z,p),ee}function jn(){let ee=g.length;if(ee>=2&&ee<=12){let Z=g.charCodeAt(0);if(Z>=97&&Z<=122){let ae=kT.get(g);if(ae!==void 0)return w=ae}}return w=80}function Qt(ee){let Z="",ae=!1,Te=!1;for(;;){let Oe=y.charCodeAt(p);if(Oe===95){A|=512,ae?(ae=!1,Te=!0):Q(Te?K.Multiple_consecutive_numeric_separators_are_not_permitted:K.Numeric_separators_are_not_allowed_here,p,1),p++;continue}if(ae=!0,!Po(Oe)||Oe-48>=ee)break;Z+=y[p],p++,Te=!1}return y.charCodeAt(p-1)===95&&Q(K.Numeric_separators_are_not_allowed_here,p-1,1),Z}function fr(){return y.charCodeAt(p)===110?(g+="n",A&384&&(g=qm(g)+"n"),p++,10):(g=""+(A&128?parseInt(g.slice(2),2):A&256?parseInt(g.slice(2),8):+g),9)}function Bn(){h=p,A=0;let ee=!1;for(;;){if(D=p,p>=x)return w=1;let Z=ir(y,p);if(p===0){if(Z===65533)return Q(K.File_appears_to_be_binary),p=x,w=8;if(Z===35&&Cg(y,p)){if(p=kg(y,p),t)continue;return w=6}}switch(Z){case 10:case 13:if(A|=1,t){p++;continue}else return Z===13&&p+1=0&&or(ae,e))return p+=3,A|=8,g=_n()+$t(),w=jn();let Te=Pn();return Te>=0&&or(Te,e)?(p+=6,A|=1024,g=String.fromCharCode(Te)+$t(),w=jn()):(Q(K.Invalid_character),p++,w=0);case 35:if(p!==0&&y[p+1]==="!")return Q(K.can_only_be_used_at_the_start_of_a_file),p++,w=0;let Oe=ir(y,p+1);if(Oe===92){p++;let Rt=$e();if(Rt>=0&&or(Rt,e))return p+=3,A|=8,g="#"+_n()+$t(),w=81;let Nt=Pn();if(Nt>=0&&or(Nt,e))return p+=6,A|=1024,g="#"+String.fromCharCode(Nt)+$t(),w=81;p--}return or(Oe,e)?(p++,Yt(Oe,e)):(g="#",Q(K.Invalid_character,p++,Br(Z))),w=81;default:let We=Yt(Z,e);if(We)return w=We;if(Lo(Z)){p+=Br(Z);continue}else if(mn(Z)){A|=1,p+=Br(Z);continue}let Re=Br(Z);return Q(K.Invalid_character,p,Re),p+=Re,w=0}}}function dn(){M.assert(w===0,"'reScanInvalidIdentifier' should only be called when the current token is 'SyntaxKind.Unknown'."),p=D=h,A=0;let ee=ir(y,p),Z=Yt(ee,99);return Z?w=Z:(p+=Br(ee),w)}function Yt(ee,Z){let ae=ee;if(or(ae,Z)){for(p+=Br(ae);p=x)return w=1;let Z=y.charCodeAt(p);if(Z===60)return y.charCodeAt(p+1)===47?(p+=2,w=31):(p++,w=30);if(Z===123)return p++,w=19;let ae=0;for(;p0)break;qi(Z)||(ae=p)}p++}return g=y.substring(h,p),ae===-1?13:12}function Qn(){if(At(w)){for(;p=x)return w=1;for(let Z=y.charCodeAt(p);p=0&&Lo(y.charCodeAt(p-1))&&!(p+1=x)return w=1;let ee=ir(y,p);switch(p+=Br(ee),ee){case 9:case 11:case 12:case 32:for(;p=0&&or(Z,e))return p+=3,A|=8,g=_n()+$t(),w=jn();let ae=Pn();return ae>=0&&or(ae,e)?(p+=6,A|=1024,g=String.fromCharCode(ae)+$t(),w=jn()):(p++,w=0)}if(or(ee,e)){let Z=ee;for(;p=0),p=ee,h=ee,D=ee,w=0,g=void 0,A=0}function Qe(ee){G+=ee?1:-1}}function Br(e){return e>=65536?2:1}function V5(e){if(M.assert(0<=e&&e<=1114111),e<=65535)return String.fromCharCode(e);let t=Math.floor((e-65536)/1024)+55296,n=(e-65536)%1024+56320;return String.fromCharCode(t,n)}function $d(e){return RT(e)}var tl,kT,v0,AT,DT,PT,NT,IT,OT,MT,LT,JT,nl,um,ir,RT,H5=Ht({"src/compiler/scanner.ts"(){"use strict";En(),tl={abstract:128,accessor:129,any:133,as:130,asserts:131,assert:132,bigint:162,boolean:136,break:83,case:84,catch:85,class:86,continue:88,const:87,constructor:137,debugger:89,declare:138,default:90,delete:91,do:92,else:93,enum:94,export:95,extends:96,false:97,finally:98,for:99,from:160,function:100,get:139,if:101,implements:119,import:102,in:103,infer:140,instanceof:104,interface:120,intrinsic:141,is:142,keyof:143,let:121,module:144,namespace:145,never:146,new:105,null:106,number:150,object:151,package:122,private:123,protected:124,public:125,override:163,out:147,readonly:148,require:149,global:161,return:107,satisfies:152,set:153,static:126,string:154,super:108,switch:109,symbol:155,this:110,throw:111,true:112,try:113,type:156,typeof:114,undefined:157,unique:158,unknown:159,var:115,void:116,while:117,with:118,yield:127,async:134,await:135,of:164},kT=new Map(Object.entries(tl)),v0=new Map(Object.entries({...tl,"{":19,"}":20,"(":21,")":22,"[":23,"]":24,".":25,"...":26,";":27,",":28,"<":30,">":32,"<=":33,">=":34,"==":35,"!=":36,"===":37,"!==":38,"=>":39,"+":40,"-":41,"**":43,"*":42,"/":44,"%":45,"++":46,"--":47,"<<":48,">":49,">>>":50,"&":51,"|":52,"^":53,"!":54,"~":55,"&&":56,"||":57,"?":58,"??":61,"?.":29,":":59,"=":64,"+=":65,"-=":66,"*=":67,"**=":68,"/=":69,"%=":70,"<<=":71,">>=":72,">>>=":73,"&=":74,"|=":75,"^=":79,"||=":76,"&&=":77,"??=":78,"@":60,"#":63,"`":62})),AT=[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],DT=[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],PT=[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],NT=[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],IT=[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],OT=[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],MT=/^\/\/\/?\s*@(ts-expect-error|ts-ignore)/,LT=/^(?:\/|\*)*\s*@(ts-expect-error|ts-ignore)/,JT=j5(v0),nl=7,um=/^#!.*/,ir=String.prototype.codePointAt?(e,t)=>e.codePointAt(t):function(t,n){let i=t.length;if(n<0||n>=i)return;let s=t.charCodeAt(n);if(s>=55296&&s<=56319&&i>n+1){let l=t.charCodeAt(n+1);if(l>=56320&&l<=57343)return(s-55296)*1024+l-56320+65536}return s},RT=String.fromCodePoint?e=>String.fromCodePoint(e):V5}});function K5(e){return is(e)||y_(e)}function G5(e){return Uv(e,q2)}function FT(e){switch(Um(e)){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 tn(e){return e.start+e.length}function jT(e){return e.length===0}function X5(e,t){return t>=e.start&&t=e.pos&&t<=e.end}function Q5(e,t){return t.start>=e.start&&tn(t)<=tn(e)}function Y5(e,t){return BT(e,t)!==void 0}function BT(e,t){let n=UT(e,t);return n&&n.length===0?void 0:n}function Z5(e,t){return Dg(e.start,e.length,t.start,t.length)}function ek(e,t,n){return Dg(e.start,e.length,t,n)}function Dg(e,t,n,i){let s=e+t,l=n+i;return n<=s&&l>=e}function tk(e,t){return t<=tn(e)&&t>=e.start}function UT(e,t){let n=Math.max(e.start,t.start),i=Math.min(tn(e),tn(t));return n<=i?zi(n,i):void 0}function v_(e,t){if(e<0)throw new Error("start < 0");if(t<0)throw new Error("length < 0");return{start:e,length:t}}function zi(e,t){return v_(e,t-e)}function Ks(e){return v_(e.span.start,e.newLength)}function qT(e){return jT(e.span)&&e.newLength===0}function pm(e,t){if(t<0)throw new Error("newLength < 0");return{span:e,newLength:t}}function nk(e){if(e.length===0)return Gg;if(e.length===1)return e[0];let t=e[0],n=t.span.start,i=tn(t.span),s=n+t.newLength;for(let l=1;lt.flags)}function ak(e,t,n){let i=e.toLowerCase(),s=/^([a-z]+)([_\-]([a-z]+))?$/.exec(i);if(!s){n&&n.push(al(K.Locale_must_be_of_the_form_language_or_language_territory_For_example_0_or_1,"en","ja-jp"));return}let l=s[1],d=s[3];ns(Xg,i)&&!y(l,d,n)&&y(l,void 0,n),Yv(e);function y(p,x,h){let D=sr(t.getExecutingFilePath()),w=Hi(D),g=yn(w,p);if(x&&(g=g+"-"+x),g=t.resolvePath(yn(g,"diagnosticMessages.generated.json")),!t.fileExists(g))return!1;let A="";try{A=t.readFile(g)}catch{return h&&h.push(al(K.Unable_to_open_file_0,g)),!1}try{X3(JSON.parse(A))}catch{return h&&h.push(al(K.Corrupted_locale_file_0,g)),!1}return!0}}function Dl(e,t){if(e)for(;e.original!==void 0;)e=e.original;return!e||!t||t(e)?e:void 0}function Xr(e,t){for(;e;){let n=t(e);if(n==="quit")return;if(n)return e;e=e.parent}}function dl(e){return(e.flags&8)===0}function Pl(e,t){if(e===void 0||dl(e))return e;for(e=e.original;e;){if(dl(e))return!t||t(e)?e:void 0;e=e.original}}function Ur(e){return e.length>=2&&e.charCodeAt(0)===95&&e.charCodeAt(1)===95?"_"+e:e}function Xo(e){let t=e;return t.length>=3&&t.charCodeAt(0)===95&&t.charCodeAt(1)===95&&t.charCodeAt(2)===95?t.substr(1):t}function Ot(e){return Xo(e.escapedText)}function KT(e){let t=Al(e.escapedText);return t?kr(t,bi):void 0}function Of(e){return e.valueDeclaration&&xx(e.valueDeclaration)?Ot(e.valueDeclaration.name):Xo(e.escapedName)}function GT(e){let t=e.parent.parent;if(t){if($o(t))return Wd(t);switch(t.kind){case 242:if(t.declarationList&&t.declarationList.declarations[0])return Wd(t.declarationList.declarations[0]);break;case 243:let n=t.expression;switch(n.kind===225&&n.operatorToken.kind===64&&(n=n.left),n.kind){case 210:return n.name;case 211:let i=n.argumentExpression;if(Ce(i))return i}break;case 216:return Wd(t.expression);case 255:{if($o(t.statement)||wm(t.statement))return Wd(t.statement);break}}}}function Wd(e){let t=Nl(e);return t&&Ce(t)?t:void 0}function XT(e,t){return!!(mm(e)&&Ce(e.name)&&Ot(e.name)===Ot(t)||_s(e)&&ft(e.declarationList.declarations,n=>XT(n,t)))}function $T(e){return e.name||GT(e)}function mm(e){return!!e.name}function ym(e){switch(e.kind){case 80:return e;case 354:case 347:{let{name:n}=e;if(n.kind===165)return n.right;break}case 212:case 225:{let n=e;switch(Ca(n)){case 1:case 4:case 5:case 3:return Im(n.left);case 7:case 8:case 9:return n.arguments[1];default:return}}case 352:return $T(e);case 346:return GT(e);case 276:{let{expression:n}=e;return Ce(n)?n:void 0}case 211:let t=e;if(y2(t))return t.argumentExpression}return e.name}function Nl(e){if(e!==void 0)return ym(e)||(Km(e)||Gm(e)||$m(e)?QT(e):void 0)}function QT(e){if(e.parent){if(us(e.parent)||$l(e.parent))return e.parent.name;if(St(e.parent)&&e===e.parent.right){if(Ce(e.parent.left))return e.parent.left;if(Zo(e.parent.left))return Im(e.parent.left)}else if(Ei(e.parent)&&Ce(e.parent.name))return e.parent.name}else return}function ok(e){if(gl(e))return Gn(e.modifiers,zl)}function Mf(e){if(gn(e,126975))return Gn(e.modifiers,Fg)}function YT(e,t){if(e.name)if(Ce(e.name)){let n=e.name.escapedText;return o_(e.parent,t).filter(i=>p_(i)&&Ce(i.name)&&i.name.escapedText===n)}else{let n=e.parent.parameters.indexOf(e);M.assert(n>-1,"Parameters should always be in their parents' parameter list");let i=o_(e.parent,t).filter(p_);if(nes(i)&&i.typeParameters.some(s=>s.name.escapedText===n))}function tx(e){return ex(e,!1)}function nx(e){return ex(e,!0)}function sk(e){return!!nn(e,p_)}function rx(e){return nn(e,t1)}function ix(e){return dx(e,q8)}function _k(e){return nn(e,F8)}function ck(e){return nn(e,Mb)}function ax(e){return nn(e,Mb,!0)}function lk(e){return nn(e,Lb)}function ox(e){return nn(e,Lb,!0)}function uk(e){return nn(e,Jb)}function sx(e){return nn(e,Jb,!0)}function pk(e){return nn(e,Rb)}function _x(e){return nn(e,Rb,!0)}function cx(e){return nn(e,j8,!0)}function dk(e){return nn(e,jb)}function lx(e){return nn(e,jb,!0)}function fk(e){return nn(e,B8)}function mk(e){return nn(e,U8)}function ux(e){return nn(e,Bb)}function yk(e){return nn(e,es)}function Ng(e){return nn(e,Ub)}function gm(e){let t=nn(e,ru);if(t&&t.typeExpression&&t.typeExpression.type)return t}function bm(e){let t=nn(e,ru);return!t&&io(e)&&(t=$n(hm(e),n=>!!n.typeExpression)),t&&t.typeExpression&&t.typeExpression.type}function px(e){let t=ux(e);if(t&&t.typeExpression)return t.typeExpression.type;let n=gm(e);if(n&&n.typeExpression){let i=n.typeExpression.type;if(Hm(i)){let s=$n(i.members,pb);return s&&s.type}if(Gl(i)||e1(i))return i.type}}function o_(e,t){var n;if(!Om(e))return Xe;let i=(n=e.jsDoc)==null?void 0:n.jsDocCache;if(i===void 0||t){let s=L4(e,t);M.assert(s.length<2||s[0]!==s[1]),i=Wo(s,l=>ps(l)?l.tags:l),t||(e.jsDoc??(e.jsDoc=[]),e.jsDoc.jsDocCache=i)}return i}function Il(e){return o_(e,!1)}function hk(e){return o_(e,!0)}function nn(e,t,n){return $n(o_(e,n),t)}function dx(e,t){return Il(e).filter(t)}function gk(e,t){return Il(e).filter(n=>n.kind===t)}function bk(e){return typeof e=="string"?e:e==null?void 0:e.map(t=>t.kind===327?t.text:vk(t)).join("")}function vk(e){let t=e.kind===330?"link":e.kind===331?"linkcode":"linkplain",n=e.name?hi(e.name):"",i=e.name&&e.text.startsWith("://")?"":" ";return`{@${t} ${n}${i}${e.text}}`}function Tk(e){if(nu(e)){if(Fb(e.parent)){let t=T2(e.parent);if(t&&Ha(t.tags))return Wo(t.tags,n=>es(n)?n.typeParameters:void 0)}return Xe}if(Rl(e))return M.assert(e.parent.kind===326),Wo(e.parent.tags,t=>es(t)?t.typeParameters:void 0);if(e.typeParameters||n7(e)&&e.typeParameters)return e.typeParameters;if(Vt(e)){let t=h3(e);if(t.length)return t;let n=bm(e);if(n&&Gl(n)&&n.typeParameters)return n.typeParameters}return Xe}function xk(e){return e.constraint?e.constraint:es(e.parent)&&e===e.parent.typeParameters[0]?e.parent.constraint:void 0}function $a(e){return e.kind===80||e.kind===81}function Sk(e){return e.kind===177||e.kind===176}function fx(e){return Rn(e)&&!!(e.flags&32)}function mx(e){return ka(e)&&!!(e.flags&32)}function T0(e){return O_(e)&&!!(e.flags&32)}function Ig(e){let t=e.kind;return!!(e.flags&32)&&(t===210||t===211||t===212||t===234)}function Og(e){return Ig(e)&&!qo(e)&&!!e.questionDotToken}function wk(e){return Og(e.parent)&&e.parent.expression===e}function Ek(e){return!Ig(e.parent)||Og(e.parent)||e!==e.parent.expression}function Ck(e){return e.kind===225&&e.operatorToken.kind===61}function yx(e){return I_(e)&&Ce(e.typeName)&&e.typeName.escapedText==="const"&&!e.typeArguments}function vm(e){return ds(e,8)}function hx(e){return qo(e)&&!!(e.flags&32)}function kk(e){return e.kind===251||e.kind===250}function Ak(e){return e.kind===279||e.kind===278}function gx(e){switch(e.kind){case 308:case 309:return!0;default:return!1}}function Dk(e){return gx(e)||e.kind===306||e.kind===310}function Mg(e){return e.kind===354||e.kind===347}function Pk(e){return Ol(e.kind)}function Ol(e){return e>=165}function bx(e){return e>=0&&e<=164}function Nk(e){return bx(e.kind)}function ua(e){return Xn(e,"pos")&&Xn(e,"end")}function Lg(e){return 9<=e&&e<=15}function Jg(e){return Lg(e.kind)}function Ik(e){switch(e.kind){case 209:case 208:case 14:case 217:case 230:return!0}return!1}function fl(e){return 15<=e&&e<=18}function Ok(e){return fl(e.kind)}function Mk(e){let t=e.kind;return t===17||t===18}function Lk(e){return P8(e)||I8(e)}function vx(e){switch(e.kind){case 275:return e.isTypeOnly||e.parent.parent.isTypeOnly;case 273:return e.parent.isTypeOnly;case 272:case 270:return e.isTypeOnly}return!1}function Tx(e){switch(e.kind){case 280:return e.isTypeOnly||e.parent.parent.isTypeOnly;case 277:return e.isTypeOnly&&!!e.moduleSpecifier&&!e.exportClause;case 279:return e.parent.isTypeOnly}return!1}function Jk(e){return vx(e)||Tx(e)}function Rk(e){return cr(e)||Ce(e)}function Fk(e){return e.kind===11||fl(e.kind)}function ma(e){var t;return Ce(e)&&((t=e.emitNode)==null?void 0:t.autoGenerate)!==void 0}function Rg(e){var t;return Ln(e)&&((t=e.emitNode)==null?void 0:t.autoGenerate)!==void 0}function xx(e){return(os(e)||Bg(e))&&Ln(e.name)}function jk(e){return Rn(e)&&Ln(e.name)}function yi(e){switch(e){case 128:case 129:case 134:case 87:case 138:case 90:case 95:case 103:case 125:case 123:case 124:case 148:case 126:case 147:case 163:return!0}return!1}function Sx(e){return!!(j2(e)&16476)}function wx(e){return Sx(e)||e===126||e===163||e===129}function Fg(e){return yi(e.kind)}function Bk(e){let t=e.kind;return t===165||t===80}function Ml(e){let t=e.kind;return t===80||t===81||t===11||t===9||t===166}function Uk(e){let t=e.kind;return t===80||t===205||t===206}function Wi(e){return!!e&&jg(e.kind)}function Tm(e){return!!e&&(jg(e.kind)||Hl(e))}function Ex(e){return e&&Cx(e.kind)}function qk(e){return e.kind===112||e.kind===97}function Cx(e){switch(e){case 261:case 173:case 175:case 176:case 177:case 217:case 218:return!0;default:return!1}}function jg(e){switch(e){case 172:case 178:case 329:case 179:case 180:case 183:case 323:case 184:return!0;default:return Cx(e)}}function zk(e){return $r(e)||D8(e)||Yl(e)&&Wi(e.parent)}function Qa(e){let t=e.kind;return t===175||t===171||t===173||t===176||t===177||t===180||t===174||t===239}function Hr(e){return e&&(e.kind===262||e.kind===230)}function xm(e){return e&&(e.kind===176||e.kind===177)}function kx(e){return os(e)&&S3(e)}function Bg(e){switch(e.kind){case 173:case 176:case 177:return!0;default:return!1}}function Wk(e){switch(e.kind){case 173:case 176:case 177:case 171:return!0;default:return!1}}function Qd(e){return Fg(e)||zl(e)}function Ug(e){let t=e.kind;return t===179||t===178||t===170||t===172||t===180||t===176||t===177}function Vk(e){return Ug(e)||Qa(e)}function qg(e){let t=e.kind;return t===302||t===303||t===304||t===173||t===176||t===177}function x0(e){return K3(e.kind)}function Hk(e){switch(e.kind){case 183:case 184:return!0}return!1}function Sm(e){if(e){let t=e.kind;return t===206||t===205}return!1}function Ax(e){let t=e.kind;return t===208||t===209}function Kk(e){let t=e.kind;return t===207||t===231}function zg(e){switch(e.kind){case 259:case 168:case 207:return!0}return!1}function Gk(e){return Ei(e)||io(e)||Px(e)||Ix(e)}function Xk(e){return Dx(e)||Nx(e)}function Dx(e){switch(e.kind){case 205:case 209:return!0}return!1}function Px(e){switch(e.kind){case 207:case 302:case 303:case 304:return!0}return!1}function Nx(e){switch(e.kind){case 206:case 208:return!0}return!1}function Ix(e){switch(e.kind){case 207:case 231:case 229:case 208:case 209:case 80:case 210:case 211:return!0}return Sa(e,!0)}function $k(e){let t=e.kind;return t===210||t===165||t===204}function Qk(e){let t=e.kind;return t===210||t===165}function Yk(e){switch(e.kind){case 285:case 284:case 212:case 213:case 214:case 169:return!0;default:return!1}}function Zk(e){return e.kind===212||e.kind===213}function eA(e){let t=e.kind;return t===227||t===15}function jo(e){return Ox(vm(e).kind)}function Ox(e){switch(e){case 210:case 211:case 213:case 212:case 283:case 284:case 287:case 214:case 208:case 216:case 209:case 230:case 217:case 80:case 81:case 14:case 9:case 10:case 11:case 15:case 227:case 97:case 106:case 110:case 112:case 108:case 234:case 232:case 235:case 102:case 281:return!0;default:return!1}}function Mx(e){return Lx(vm(e).kind)}function Lx(e){switch(e){case 223:case 224:case 219:case 220:case 221:case 222:case 215:return!0;default:return Ox(e)}}function tA(e){switch(e.kind){case 224:return!0;case 223:return e.operator===46||e.operator===47;default:return!1}}function nA(e){switch(e.kind){case 106:case 112:case 97:case 223:return!0;default:return Jg(e)}}function wm(e){return rA(vm(e).kind)}function rA(e){switch(e){case 226:case 228:case 218:case 225:case 229:case 233:case 231:case 360:case 359:case 237:return!0;default:return Lx(e)}}function iA(e){let t=e.kind;return t===215||t===233}function aA(e){return Pb(e)||C8(e)}function Jx(e,t){switch(e.kind){case 247:case 248:case 249:case 245:case 246:return!0;case 255:return t&&Jx(e.statement,t)}return!1}function Rx(e){return ls(e)||L_(e)}function oA(e){return ft(e,Rx)}function sA(e){return!Dm(e)&&!ls(e)&&!gn(e,1)&&!km(e)}function _A(e){return Dm(e)||ls(e)||gn(e,1)}function cA(e){return e.kind===248||e.kind===249}function lA(e){return Yl(e)||wm(e)}function uA(e){return Yl(e)}function pA(e){return Sb(e)||wm(e)}function dA(e){let t=e.kind;return t===267||t===266||t===80}function fA(e){let t=e.kind;return t===267||t===266}function mA(e){let t=e.kind;return t===80||t===266}function yA(e){let t=e.kind;return t===274||t===273}function hA(e){return e.kind===266||e.kind===265}function gA(e){switch(e.kind){case 218:case 225:case 207:case 212:case 178:case 262:case 230:case 174:case 175:case 184:case 179:case 211:case 265:case 305:case 276:case 277:case 280:case 261:case 217:case 183:case 176:case 80:case 272:case 270:case 275:case 180:case 263:case 344:case 346:case 323:case 347:case 354:case 329:case 352:case 328:case 290:case 291:case 292:case 199:case 173:case 172:case 266:case 201:case 279:case 269:case 273:case 213:case 15:case 9:case 209:case 168:case 210:case 302:case 171:case 170:case 177:case 303:case 311:case 304:case 11:case 264:case 186:case 167:case 259:return!0;default:return!1}}function bA(e){switch(e.kind){case 218:case 240:case 178:case 268:case 298:case 174:case 193:case 175:case 184:case 179:case 247:case 248:case 249:case 261:case 217:case 183:case 176:case 180:case 344:case 346:case 323:case 329:case 352:case 199:case 173:case 172:case 266:case 177:case 311:case 264:return!0;default:return!1}}function vA(e){return e===218||e===207||e===262||e===230||e===174||e===175||e===265||e===305||e===280||e===261||e===217||e===176||e===272||e===270||e===275||e===263||e===290||e===173||e===172||e===266||e===269||e===273||e===279||e===168||e===302||e===171||e===170||e===177||e===303||e===264||e===167||e===259||e===352||e===344||e===354}function Wg(e){return e===261||e===281||e===262||e===263||e===264||e===265||e===266||e===271||e===270||e===277||e===276||e===269}function Vg(e){return e===251||e===250||e===258||e===245||e===243||e===241||e===248||e===249||e===247||e===244||e===255||e===252||e===254||e===256||e===257||e===242||e===246||e===253||e===358}function $o(e){return e.kind===167?e.parent&&e.parent.kind!==351||Vt(e):vA(e.kind)}function TA(e){return Wg(e.kind)}function xA(e){return Vg(e.kind)}function Fx(e){let t=e.kind;return Vg(t)||Wg(t)||SA(e)}function SA(e){return e.kind!==240||e.parent!==void 0&&(e.parent.kind===257||e.parent.kind===298)?!1:!p4(e)}function jx(e){let t=e.kind;return Vg(t)||Wg(t)||t===240}function wA(e){let t=e.kind;return t===282||t===165||t===80}function EA(e){let t=e.kind;return t===110||t===80||t===210||t===294}function Bx(e){let t=e.kind;return t===283||t===293||t===284||t===12||t===287}function CA(e){let t=e.kind;return t===290||t===292}function kA(e){let t=e.kind;return t===11||t===293}function Ux(e){let t=e.kind;return t===285||t===284}function AA(e){let t=e.kind;return t===295||t===296}function Hg(e){return e.kind>=315&&e.kind<=356}function qx(e){return e.kind===326||e.kind===325||e.kind===327||rl(e)||Kg(e)||Ob(e)||nu(e)}function Kg(e){return e.kind>=333&&e.kind<=356}function Vc(e){return e.kind===177}function Hc(e){return e.kind===176}function Ui(e){if(!Om(e))return!1;let{jsDoc:t}=e;return!!t&&t.length>0}function DA(e){return!!e.type}function zx(e){return!!e.initializer}function PA(e){switch(e.kind){case 259:case 168:case 207:case 171:case 302:case 305:return!0;default:return!1}}function S0(e){return e.kind===290||e.kind===292||qg(e)}function NA(e){return e.kind===182||e.kind===232}function IA(e){let t=w0;for(let n of e){if(!n.length)continue;let i=0;for(;in.kind===t)}function RA(e){let t=new Map;if(e)for(let n of e)t.set(n.escapedName,n);return t}function E0(e){return(e.flags&33554432)!==0}function FA(){var e="";let t=n=>e+=n;return{getText:()=>e,write:t,rawWrite:t,writeKeyword:t,writeOperator:t,writePunctuation:t,writeSpace:t,writeStringLiteral:t,writeLiteral:t,writeParameter:t,writeProperty:t,writeSymbol:(n,i)=>t(n),writeTrailingSemicolon:t,writeComment:t,getTextPos:()=>e.length,getLine:()=>0,getColumn:()=>0,getIndent:()=>0,isAtStartOfLine:()=>!1,hasTrailingComment:()=>!1,hasTrailingWhitespace:()=>!!e.length&&qi(e.charCodeAt(e.length-1)),writeLine:()=>e+=" ",increaseIndent:Pr,decreaseIndent:Pr,clear:()=>e=""}}function jA(e,t){return e.configFilePath!==t.configFilePath||Vx(e,t)}function Vx(e,t){return T_(e,t,moduleResolutionOptionDeclarations)}function BA(e,t){return T_(e,t,optionsAffectingProgramStructure)}function T_(e,t,n){return e!==t&&n.some(i=>!Y2(U0(e,i),U0(t,i)))}function UA(e,t){for(;;){let n=t(e);if(n==="quit")return;if(n!==void 0)return n;if($r(e))return;e=e.parent}}function qA(e,t){let n=e.entries();for(let[i,s]of n){let l=t(s,i);if(l)return l}}function zA(e,t){let n=e.keys();for(let i of n){let s=t(i);if(s)return s}}function WA(e,t){e.forEach((n,i)=>{t.set(i,n)})}function VA(e){let t=$s.getText();try{return e($s),$s.getText()}finally{$s.clear(),$s.writeKeyword(t)}}function Em(e){return e.end-e.pos}function HA(e,t,n){var i,s;return(s=(i=e==null?void 0:e.resolvedModules)==null?void 0:i.get(t,n))==null?void 0:s.resolvedModule}function KA(e,t,n,i){e.resolvedModules||(e.resolvedModules=createModeAwareCache()),e.resolvedModules.set(t,i,n)}function GA(e,t,n,i){e.resolvedTypeReferenceDirectiveNames||(e.resolvedTypeReferenceDirectiveNames=createModeAwareCache()),e.resolvedTypeReferenceDirectiveNames.set(t,i,n)}function XA(e,t,n){var i,s;return(s=(i=e==null?void 0:e.resolvedTypeReferenceDirectiveNames)==null?void 0:i.get(t,n))==null?void 0:s.resolvedTypeReferenceDirective}function $A(e,t){return e.path===t.path&&!e.prepend==!t.prepend&&!e.circular==!t.circular}function QA(e,t){return e===t||e.resolvedModule===t.resolvedModule||!!e.resolvedModule&&!!t.resolvedModule&&e.resolvedModule.isExternalLibraryImport===t.resolvedModule.isExternalLibraryImport&&e.resolvedModule.extension===t.resolvedModule.extension&&e.resolvedModule.resolvedFileName===t.resolvedModule.resolvedFileName&&e.resolvedModule.originalPath===t.resolvedModule.originalPath&&ZA(e.resolvedModule.packageId,t.resolvedModule.packageId)&&e.node10Result===t.node10Result}function YA(e,t,n,i,s){var l,d;let y=(d=(l=e.resolvedModules)==null?void 0:l.get(n,i))==null?void 0:d.node10Result,p=y?Kc(void 0,K.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,y,y.indexOf(nodeModulesPathPart+"@types/")>-1?`@types/${mangleScopedPackageName(s)}`:s):t.typesPackageExists(s)?Kc(void 0,K.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,mangleScopedPackageName(s)):t.packageBundlesTypes(s)?Kc(void 0,K.If_the_0_package_actually_exposes_this_module_try_adding_a_new_declaration_d_ts_file_containing_declare_module_1,s,n):Kc(void 0,K.Try_npm_i_save_dev_types_Slash_1_if_it_exists_or_add_a_new_declaration_d_ts_file_containing_declare_module_0,n,mangleScopedPackageName(s));return p&&(p.repopulateInfo=()=>({moduleReference:n,mode:i,packageName:s===n?void 0:s})),p}function ZA(e,t){return e===t||!!e&&!!t&&e.name===t.name&&e.subModuleName===t.subModuleName&&e.version===t.version}function Hx({name:e,subModuleName:t}){return t?`${e}/${t}`:e}function eD(e){return`${Hx(e)}@${e.version}`}function tD(e,t){return e===t||e.resolvedTypeReferenceDirective===t.resolvedTypeReferenceDirective||!!e.resolvedTypeReferenceDirective&&!!t.resolvedTypeReferenceDirective&&e.resolvedTypeReferenceDirective.resolvedFileName===t.resolvedTypeReferenceDirective.resolvedFileName&&!!e.resolvedTypeReferenceDirective.primary==!!t.resolvedTypeReferenceDirective.primary&&e.resolvedTypeReferenceDirective.originalPath===t.resolvedTypeReferenceDirective.originalPath}function nD(e,t,n,i,s,l){M.assert(e.length===n.length);for(let d=0;d=0),xa(t)[e]}function _D(e){let t=Kr(e),n=Xa(t,e.pos);return`${t.fileName}(${n.line+1},${n.character+1})`}function Kx(e,t){M.assert(e>=0);let n=xa(t),i=e,s=t.text;if(i+1===n.length)return s.length-1;{let l=n[i],d=n[i+1]-1;for(M.assert(mn(s.charCodeAt(d)));l<=d&&mn(s.charCodeAt(d));)d--;return d}}function Gx(e,t,n){return!(n&&n(t))&&!e.identifiers.has(t)}function Bi(e){return e===void 0?!0:e.pos===e.end&&e.pos>=0&&e.kind!==1}function yl(e){return!Bi(e)}function cD(e,t){return Jo(e)?t===e.expression:Hl(e)?t===e.modifiers:Wl(e)?t===e.initializer:os(e)?t===e.questionToken&&kx(e):us(e)?t===e.modifiers||t===e.questionToken||t===e.exclamationToken||Ws(e.modifiers,t,Qd):tu(e)?t===e.equalsToken||t===e.modifiers||t===e.questionToken||t===e.exclamationToken||Ws(e.modifiers,t,Qd):Vl(e)?t===e.exclamationToken:P_(e)?t===e.typeParameters||t===e.type||Ws(e.typeParameters,t,Jo):Kl(e)?t===e.typeParameters||Ws(e.typeParameters,t,Jo):N_(e)?t===e.typeParameters||t===e.type||Ws(e.typeParameters,t,Jo):Cb(e)?t===e.modifiers||Ws(e.modifiers,t,Qd):!1}function Ws(e,t,n){return!e||Wt(t)||!n(t)?!1:ns(e,t)}function Xx(e,t,n){if(t===void 0||t.length===0)return e;let i=0;for(;i[`${Xa(e,d.range.end).line}`,d])),i=new Map;return{getUnusedExpectations:s,markUsed:l};function s(){return tm(n.entries()).filter(([d,y])=>y.type===0&&!i.get(d)).map(([d,y])=>y)}function l(d){return n.has(`${d}`)?(i.set(`${d}`,!0),!0):!1}}function Qo(e,t,n){return Bi(e)?e.pos:Hg(e)||e.kind===12?It((t||Kr(e)).text,e.pos,!1,!0):n&&Ui(e)?Qo(e.jsDoc[0],t):e.kind===357&&e._children.length>0?Qo(e._children[0],t,n):It((t||Kr(e)).text,e.pos,!1,!1,v4(e))}function yD(e,t){let n=!Bi(e)&&R_(e)?sg(e.modifiers,zl):void 0;return n?It((t||Kr(e)).text,n.end):Qo(e,t)}function Yo(e,t,n=!1){return Ys(e.text,t,n)}function hD(e){return!!Xr(e,J8)}function Zx(e){return!!(L_(e)&&e.exportClause&&Ym(e.exportClause)&&e.exportClause.name.escapedText==="default")}function Ys(e,t,n=!1){if(Bi(t))return"";let i=e.substring(n?t.pos:It(e,t.pos),t.end);return hD(t)&&(i=i.split(/\r\n|\n|\r/).map(s=>ll(s.replace(/^\s*\*/,""))).join(` -`)),i}function Cm(e,t=!1){return Yo(Kr(e),e,t)}function gD(e){return e.pos}function bD(e,t){return El(e,t,gD,wn)}function Vr(e){let t=e.emitNode;return t&&t.flags||0}function vD(e){let t=e.emitNode;return t&&t.internalFlags||0}function TD(e,t,n){if(t&&xD(e,n))return Yo(t,e);switch(e.kind){case 11:{let i=n&2?o3:n&1||Vr(e)&16777216?Ff:jf;return e.singleQuote?"'"+i(e.text,39)+"'":'"'+i(e.text,34)+'"'}case 15:case 16:case 17:case 18:{let i=n&1||Vr(e)&16777216?Ff:jf,s=e.rawText??ZN(i(e.text,96));switch(e.kind){case 15:return"`"+s+"`";case 16:return"`"+s+"${";case 17:return"}"+s+"${";case 18:return"}"+s+"`"}break}case 9:case 10:return e.text;case 14:return n&4&&e.isUnterminated?e.text+(e.text.charCodeAt(e.text.length-1)===92?" /":"/"):e.text}return M.fail(`Literal kind '${e.kind}' not accounted for.`)}function xD(e,t){if(pa(e)||!e.parent||t&4&&e.isUnterminated)return!1;if(ro(e)){if(e.numericLiteralFlags&26656)return!1;if(e.numericLiteralFlags&512)return!!(t&8)}return!cb(e)}function SD(e){return m_(e)?'"'+jf(e)+'"':""+e}function wD(e){return h_(e).replace(/^(\d)/,"_$1").replace(/\W/g,"_")}function ED(e){return(fm(e)&3)!==0||e4(e)}function e4(e){let t=Lm(e);return t.kind===259&&t.parent.kind===298}function km(e){return Gi(e)&&(e.name.kind===11||Am(e))}function CD(e){return Gi(e)&&e.name.kind===11}function kD(e){return Gi(e)&&cr(e.name)}function t4(e){return Gi(e)||Ce(e)}function AD(e){return DD(e.valueDeclaration)}function DD(e){return!!e&&e.kind===266&&!e.body}function PD(e){return e.kind===311||e.kind===266||Tm(e)}function Am(e){return!!(e.flags&1024)}function $g(e){return km(e)&&n4(e)}function n4(e){switch(e.parent.kind){case 311:return ts(e.parent);case 267:return km(e.parent.parent)&&$r(e.parent.parent.parent)&&!ts(e.parent.parent.parent)}return!1}function r4(e){var t;return(t=e.declarations)==null?void 0:t.find(n=>!$g(n)&&!(Gi(n)&&Am(n)))}function ND(e){return e===1||e===100||e===199}function Qg(e,t){return ts(e)||ND(Gr(t))&&!!e.commonJsModuleIndicator}function ID(e,t){switch(e.scriptKind){case 1:case 3:case 2:case 4:break;default:return!1}return e.isDeclarationFile?!1:K2(t,"alwaysStrict")||G8(e.statements)?!0:ts(e)||z2(t)?Gr(t)>=5?!0:!t.noImplicitUseStrict:!1}function OD(e){return!!(e.flags&16777216)||gn(e,2)}function i4(e,t){switch(e.kind){case 311:case 268:case 298:case 266:case 247:case 248:case 249:case 175:case 173:case 176:case 177:case 261:case 217:case 218:case 171:case 174:return!0;case 240:return!Tm(t)}return!1}function MD(e){switch(M.type(e),e.kind){case 344:case 352:case 329:return!0;default:return a4(e)}}function a4(e){switch(M.type(e),e.kind){case 178:case 179:case 172:case 180:case 183:case 184:case 323:case 262:case 230:case 263:case 264:case 351:case 261:case 173:case 175:case 176:case 177:case 217:case 218:return!0;default:return!1}}function Yg(e){switch(e.kind){case 271:case 270:return!0;default:return!1}}function LD(e){return Yg(e)||Nm(e)}function JD(e){switch(e.kind){case 271:case 270:case 242:case 262:case 261:case 266:case 264:case 263:case 265:return!0;default:return!1}}function RD(e){return Dm(e)||Gi(e)||Xl(e)||i2(e)}function Dm(e){return Yg(e)||L_(e)}function C0(e){return Xr(e.parent,t=>i4(t,t.parent))}function FD(e,t){let n=C0(e);for(;n;)t(n),n=C0(n)}function o4(e){return!e||Em(e)===0?"(Missing)":Cm(e)}function jD(e){return e.declaration?o4(e.declaration.parameters[0].name):void 0}function BD(e){return e.kind===166&&!Ki(e.expression)}function Zg(e){var t;switch(e.kind){case 80:case 81:return(t=e.emitNode)!=null&&t.autoGenerate?void 0:e.escapedText;case 11:case 9:case 15:return Ur(e.text);case 166:return Ki(e.expression)?Ur(e.expression.text):void 0;case 294:return Ul(e);default:return M.assertNever(e)}}function UD(e){return M.checkDefined(Zg(e))}function hi(e){switch(e.kind){case 110:return"this";case 81:case 80:return Em(e)===0?Ot(e):Cm(e);case 165:return hi(e.left)+"."+hi(e.right);case 210:return Ce(e.name)||Ln(e.name)?hi(e.expression)+"."+hi(e.name):M.assertNever(e.name);case 317:return hi(e.left)+hi(e.right);case 294:return hi(e.namespace)+":"+hi(e.name);default:return M.assertNever(e)}}function qD(e,t,...n){let i=Kr(e);return s4(i,e,t,...n)}function zD(e,t,n,...i){let s=It(e.text,t.pos);return U2(e,s,t.end-s,n,...i)}function s4(e,t,n,...i){let s=n2(e,t);return U2(e,s.start,s.length,n,...i)}function WD(e,t,n,i){let s=n2(e,t);return t2(e,s.start,s.length,n,i)}function VD(e,t,n,i){let s=It(e.text,t.pos);return t2(e,s,t.end-s,n,i)}function e2(e,t,n){M.assertGreaterThanOrEqual(t,0),M.assertGreaterThanOrEqual(n,0),e&&(M.assertLessThanOrEqual(t,e.text.length),M.assertLessThanOrEqual(t+n,e.text.length))}function t2(e,t,n,i,s){return e2(e,t,n),{file:e,start:t,length:n,code:i.code,category:i.category,messageText:i.next?i:i.messageText,relatedInformation:s}}function HD(e,t,n){return{file:e,start:0,length:0,code:t.code,category:t.category,messageText:t.next?t:t.messageText,relatedInformation:n}}function KD(e){return typeof e.messageText=="string"?{code:e.code,category:e.category,messageText:e.messageText,next:e.next}:e.messageText}function GD(e,t,n){return{file:e,start:t.pos,length:t.end-t.pos,code:n.code,category:n.category,messageText:n.message}}function Gs(e,t){let n=as(e.languageVersion,!0,e.languageVariant,e.text,void 0,t);n.scan();let i=n.getTokenStart();return zi(i,n.getTokenEnd())}function XD(e,t){let n=as(e.languageVersion,!0,e.languageVariant,e.text,void 0,t);return n.scan(),n.getToken()}function $D(e,t){let n=It(e.text,t.pos);if(t.body&&t.body.kind===240){let{line:i}=Xa(e,t.body.pos),{line:s}=Xa(e,t.body.end);if(i0?t.statements[0].pos:t.end;return zi(l,d)}case 252:case 228:{let l=It(e.text,t.pos);return Gs(e,l)}case 237:{let l=It(e.text,t.expression.end);return Gs(e,l)}case 356:{let l=It(e.text,t.tagName.pos);return Gs(e,l)}}if(n===void 0)return Gs(e,t.pos);M.assert(!ps(n));let i=Bi(n),s=i||Hf(t)?n.pos:It(e.text,n.pos);return i?(M.assert(s===n.pos,"This failure could trigger https://github.com/Microsoft/TypeScript/issues/20809"),M.assert(s===n.end,"This failure could trigger https://github.com/Microsoft/TypeScript/issues/20809")):(M.assert(s>=n.pos,"This failure could trigger https://github.com/Microsoft/TypeScript/issues/20809"),M.assert(s<=n.end,"This failure could trigger https://github.com/Microsoft/TypeScript/issues/20809")),zi(s,n.end)}function QD(e){return(e.externalModuleIndicator||e.commonJsModuleIndicator)!==void 0}function r2(e){return e.scriptKind===6}function YD(e){return!!(dm(e)&2048)}function ZD(e){return!!(dm(e)&64&&!zT(e,e.parent))}function _4(e){return!!(fm(e)&2)}function eP(e){return!!(fm(e)&1)}function tP(e){return e.kind===212&&e.expression.kind===108}function i2(e){return e.kind===212&&e.expression.kind===102}function k0(e){return xb(e)&&e.keywordToken===102&&e.name.escapedText==="meta"}function c4(e){return Xl(e)&&gb(e.argument)&&cr(e.argument.literal)}function ha(e){return e.kind===243&&e.expression.kind===11}function Pm(e){return!!(Vr(e)&2097152)}function A0(e){return Pm(e)&&cs(e)}function nP(e){return Ce(e.name)&&!e.initializer}function D0(e){return Pm(e)&&_s(e)&&eo(e.declarationList.declarations,nP)}function rP(e,t){return e.kind!==12?Go(t.text,e.pos):void 0}function l4(e,t){let n=e.kind===168||e.kind===167||e.kind===217||e.kind===218||e.kind===216||e.kind===259||e.kind===280?d_(ET(t,e.pos),Go(t,e.pos)):Go(t,e.pos);return Gn(n,i=>t.charCodeAt(i.pos+1)===42&&t.charCodeAt(i.pos+2)===42&&t.charCodeAt(i.pos+3)!==47)}function a2(e){if(181<=e.kind&&e.kind<=204)return!0;switch(e.kind){case 133:case 159:case 150:case 162:case 154:case 136:case 155:case 151:case 157:case 106:case 146:return!0;case 116:return e.parent.kind!==221;case 232:return Sl(e.parent)&&!R0(e);case 167:return e.parent.kind===199||e.parent.kind===194;case 80:(e.parent.kind===165&&e.parent.right===e||e.parent.kind===210&&e.parent.name===e)&&(e=e.parent),M.assert(e.kind===80||e.kind===165||e.kind===210,"'node' was expected to be a qualified name, identifier or property access in 'isPartOfTypeNode'.");case 165:case 210:case 110:{let{parent:t}=e;if(t.kind===185)return!1;if(t.kind===204)return!t.isTypeOf;if(181<=t.kind&&t.kind<=204)return!0;switch(t.kind){case 232:return Sl(t.parent)&&!R0(t);case 167:return e===t.constraint;case 351:return e===t.constraint;case 171:case 170:case 168:case 259:return e===t.type;case 261:case 217:case 218:case 175:case 173:case 172:case 176:case 177:return e===t.type;case 178:case 179:case 180:return e===t.type;case 215:return e===t.type;case 212:case 213:case 214:return ns(t.typeArguments,e)}}}return!1}function iP(e,t){for(;e;){if(e.kind===t)return!0;e=e.parent}return!1}function aP(e,t){return n(e);function n(i){switch(i.kind){case 252:return t(i);case 268:case 240:case 244:case 245:case 246:case 247:case 248:case 249:case 253:case 254:case 295:case 296:case 255:case 257:case 298:return qt(i,n)}}}function oP(e,t){return n(e);function n(i){switch(i.kind){case 228:t(i);let s=i.expression;s&&n(s);return;case 265:case 263:case 266:case 264:return;default:if(Wi(i)){if(i.name&&i.name.kind===166){n(i.name.expression);return}}else a2(i)||qt(i,n)}}}function sP(e){return e&&e.kind===187?e.elementType:e&&e.kind===182?Zf(e.typeArguments):void 0}function _P(e){switch(e.kind){case 263:case 262:case 230:case 186:return e.members;case 209:return e.properties}}function o2(e){if(e)switch(e.kind){case 207:case 305:case 168:case 302:case 171:case 170:case 303:case 259:return!0}return!1}function cP(e){return o2(e)||xm(e)}function u4(e){return e.parent.kind===260&&e.parent.parent.kind===242}function lP(e){return Vt(e)?ao(e.parent)&&St(e.parent.parent)&&Ca(e.parent.parent)===2||s2(e.parent):!1}function s2(e){return Vt(e)?St(e)&&Ca(e)===1:!1}function uP(e){return(Ei(e)?_4(e)&&Ce(e.name)&&u4(e):os(e)?J0(e)&&Rm(e):Wl(e)&&J0(e))||s2(e)}function pP(e){switch(e.kind){case 173:case 172:case 175:case 176:case 177:case 261:case 217:return!0}return!1}function dP(e,t){for(;;){if(t&&t(e),e.statement.kind!==255)return e.statement;e=e.statement}}function p4(e){return e&&e.kind===240&&Wi(e.parent)}function fP(e){return e&&e.kind===173&&e.parent.kind===209}function mP(e){return(e.kind===173||e.kind===176||e.kind===177)&&(e.parent.kind===209||e.parent.kind===230)}function yP(e){return e&&e.kind===1}function hP(e){return e&&e.kind===0}function _2(e,t,n,i){return hn(e==null?void 0:e.properties,s=>{if(!us(s))return;let l=Zg(s.name);return t===l||i&&i===l?n(s):void 0})}function gP(e,t,n){return _2(e,t,i=>Ql(i.initializer)?$n(i.initializer.elements,s=>cr(s)&&s.text===n):void 0)}function d4(e){if(e&&e.statements.length){let t=e.statements[0].expression;return kr(t,ao)}}function bP(e,t,n){return f4(e,t,i=>Ql(i.initializer)?$n(i.initializer.elements,s=>cr(s)&&s.text===n):void 0)}function f4(e,t,n){return _2(d4(e),t,n)}function vP(e){return Xr(e.parent,Wi)}function TP(e){return Xr(e.parent,Ex)}function xP(e){return Xr(e.parent,Hr)}function SP(e){return Xr(e.parent,t=>Hr(t)||Wi(t)?"quit":Hl(t))}function wP(e){return Xr(e.parent,Tm)}function c2(e,t,n){for(M.assert(e.kind!==311);;){if(e=e.parent,!e)return M.fail();switch(e.kind){case 166:if(n&&Hr(e.parent.parent))return e;e=e.parent.parent;break;case 169:e.parent.kind===168&&Qa(e.parent.parent)?e=e.parent.parent:Qa(e.parent)&&(e=e.parent);break;case 218:if(!t)continue;case 261:case 217:case 266:case 174:case 171:case 170:case 173:case 172:case 175:case 176:case 177:case 178:case 179:case 180:case 265:case 311:return e}}}function EP(e){switch(e.kind){case 218:case 261:case 217:case 171:return!0;case 240:switch(e.parent.kind){case 175:case 173:case 176:case 177:return!0;default:return!1}default:return!1}}function CP(e){Ce(e)&&(u_(e.parent)||cs(e.parent))&&e.parent.name===e&&(e=e.parent);let t=c2(e,!0,!1);return $r(t)}function kP(e){let t=c2(e,!1,!1);if(t)switch(t.kind){case 175:case 261:case 217:return t}}function AP(e,t){for(;;){if(e=e.parent,!e)return;switch(e.kind){case 166:e=e.parent;break;case 261:case 217:case 218:if(!t)continue;case 171:case 170:case 173:case 172:case 175:case 176:case 177:case 174:return e;case 169:e.parent.kind===168&&Qa(e.parent.parent)?e=e.parent.parent:Qa(e.parent)&&(e=e.parent);break}}}function DP(e){if(e.kind===217||e.kind===218){let t=e,n=e.parent;for(;n.kind===216;)t=n,n=n.parent;if(n.kind===212&&n.expression===t)return n}}function PP(e){return e.kind===108||Lf(e)}function Lf(e){let t=e.kind;return(t===210||t===211)&&e.expression.kind===108}function NP(e){let t=e.kind;return(t===210||t===211)&&e.expression.kind===110}function IP(e){var t;return!!e&&Ei(e)&&((t=e.initializer)==null?void 0:t.kind)===110}function OP(e){return!!e&&(tu(e)||us(e))&&St(e.parent.parent)&&e.parent.parent.operatorToken.kind===64&&e.parent.parent.right.kind===110}function MP(e){switch(e.kind){case 182:return e.typeName;case 232:return no(e.expression)?e.expression:void 0;case 80:case 165:return e}}function LP(e){switch(e.kind){case 214:return e.tag;case 285:case 284:return e.tagName;default:return e.expression}}function m4(e,t,n,i){if(e&&mm(t)&&Ln(t.name))return!1;switch(t.kind){case 262:return!0;case 230:return!e;case 171:return n!==void 0&&(e?u_(n):Hr(n)&&!T3(t)&&!x3(t));case 176:case 177:case 173:return t.body!==void 0&&n!==void 0&&(e?u_(n):Hr(n));case 168:return e?n!==void 0&&n.body!==void 0&&(n.kind===175||n.kind===173||n.kind===177)&&m3(n)!==t&&i!==void 0&&i.kind===262:!1}return!1}function s_(e,t,n,i){return gl(t)&&m4(e,t,n,i)}function P0(e,t,n,i){return s_(e,t,n,i)||l2(e,t,n)}function l2(e,t,n){switch(t.kind){case 262:return ft(t.members,i=>P0(e,i,t,n));case 230:return!e&&ft(t.members,i=>P0(e,i,t,n));case 173:case 177:case 175:return ft(t.parameters,i=>s_(e,i,t,n));default:return!1}}function JP(e,t){if(s_(e,t))return!0;let n=f3(t);return!!n&&l2(e,n,t)}function RP(e,t,n){let i;if(xm(t)){let{firstAccessor:s,secondAccessor:l,setAccessor:d}=O2(n.members,t),y=gl(s)?s:l&&gl(l)?l:void 0;if(!y||t!==y)return!1;i=d==null?void 0:d.parameters}else Vl(t)&&(i=t.parameters);if(s_(e,t,n))return!0;if(i){for(let s of i)if(!jl(s)&&s_(e,s,t,n))return!0}return!1}function y4(e){if(e.textSourceNode){switch(e.textSourceNode.kind){case 11:return y4(e.textSourceNode);case 15:return e.text===""}return!1}return e.text===""}function Yd(e){let{parent:t}=e;return t.kind===285||t.kind===284||t.kind===286?t.tagName===e:!1}function u2(e){switch(e.kind){case 108:case 106:case 112:case 97:case 14:case 208:case 209:case 210:case 211:case 212:case 213:case 214:case 233:case 215:case 237:case 234:case 216:case 217:case 230:case 218:case 221:case 219:case 220:case 223:case 224:case 225:case 226:case 229:case 227:case 231:case 283:case 284:case 287:case 228:case 222:case 235:return!0;case 232:return!Sl(e.parent)&&!t1(e.parent);case 165:for(;e.parent.kind===165;)e=e.parent;return e.parent.kind===185||rl(e.parent)||_f(e.parent)||Zs(e.parent)||Yd(e);case 317:for(;Zs(e.parent);)e=e.parent;return e.parent.kind===185||rl(e.parent)||_f(e.parent)||Zs(e.parent)||Yd(e);case 81:return St(e.parent)&&e.parent.left===e&&e.parent.operatorToken.kind===103;case 80:if(e.parent.kind===185||rl(e.parent)||_f(e.parent)||Zs(e.parent)||Yd(e))return!0;case 9:case 10:case 11:case 15:case 110:return h4(e);default:return!1}}function h4(e){let{parent:t}=e;switch(t.kind){case 259:case 168:case 171:case 170:case 305:case 302:case 207:return t.initializer===e;case 243:case 244:case 245:case 246:case 252:case 253:case 254:case 295:case 256:return t.expression===e;case 247:let n=t;return n.initializer===e&&n.initializer.kind!==260||n.condition===e||n.incrementor===e;case 248:case 249:let i=t;return i.initializer===e&&i.initializer.kind!==260||i.expression===e;case 215:case 233:return e===t.expression;case 238:return e===t.expression;case 166:return e===t.expression;case 169:case 293:case 292:case 304:return!0;case 232:return t.expression===e&&!a2(t);case 303:return t.objectAssignmentInitializer===e;case 237:return e===t.expression;default:return u2(t)}}function g4(e){for(;e.kind===165||e.kind===80;)e=e.parent;return e.kind===185}function FP(e){return Ym(e)&&!!e.parent.moduleSpecifier}function b4(e){return e.kind===270&&e.moduleReference.kind===282}function jP(e){return M.assert(b4(e)),e.moduleReference.expression}function BP(e){return Nm(e)&&B2(e.initializer).arguments[0]}function UP(e){return e.kind===270&&e.moduleReference.kind!==282}function p2(e){return Vt(e)}function qP(e){return!Vt(e)}function Vt(e){return!!e&&!!(e.flags&262144)}function zP(e){return!!e&&!!(e.flags&67108864)}function WP(e){return!r2(e)}function v4(e){return!!e&&!!(e.flags&8388608)}function VP(e){return I_(e)&&Ce(e.typeName)&&e.typeName.escapedText==="Object"&&e.typeArguments&&e.typeArguments.length===2&&(e.typeArguments[0].kind===154||e.typeArguments[0].kind===150)}function Ll(e,t){if(e.kind!==212)return!1;let{expression:n,arguments:i}=e;if(n.kind!==80||n.escapedText!=="require"||i.length!==1)return!1;let s=i[0];return!t||qr(s)}function T4(e){return x4(e,!1)}function Nm(e){return x4(e,!0)}function HP(e){return $l(e)&&Nm(e.parent.parent)}function x4(e,t){return Ei(e)&&!!e.initializer&&Ll(t?B2(e.initializer):e.initializer,!0)}function S4(e){return _s(e)&&e.declarationList.declarations.length>0&&eo(e.declarationList.declarations,t=>T4(t))}function KP(e){return e===39||e===34}function GP(e,t){return Yo(t,e).charCodeAt(0)===34}function N0(e){return St(e)||Zo(e)||Ce(e)||O_(e)}function w4(e){return Vt(e)&&e.initializer&&St(e.initializer)&&(e.initializer.operatorToken.kind===57||e.initializer.operatorToken.kind===61)&&e.name&&no(e.name)&&__(e.name,e.initializer.left)?e.initializer.right:e.initializer}function XP(e){let t=w4(e);return t&&x_(t,Bl(e.name))}function $P(e,t){return hn(e.properties,n=>us(n)&&Ce(n.name)&&n.name.escapedText==="value"&&n.initializer&&x_(n.initializer,t))}function QP(e){if(e&&e.parent&&St(e.parent)&&e.parent.operatorToken.kind===64){let t=Bl(e.parent.left);return x_(e.parent.right,t)||YP(e.parent.left,e.parent.right,t)}if(e&&O_(e)&&m2(e)){let t=$P(e.arguments[2],e.arguments[1].text==="prototype");if(t)return t}}function x_(e,t){if(O_(e)){let n=Fl(e.expression);return n.kind===217||n.kind===218?e:void 0}if(e.kind===217||e.kind===230||e.kind===218||ao(e)&&(e.properties.length===0||t))return e}function YP(e,t,n){let i=St(t)&&(t.operatorToken.kind===57||t.operatorToken.kind===61)&&x_(t.right,n);if(i&&__(e,t.left))return i}function ZP(e){let t=Ei(e.parent)?e.parent.name:St(e.parent)&&e.parent.operatorToken.kind===64?e.parent.left:void 0;return t&&x_(e.right,Bl(t))&&no(t)&&__(t,e.left)}function eN(e){if(St(e.parent)){let t=(e.parent.operatorToken.kind===57||e.parent.operatorToken.kind===61)&&St(e.parent.parent)?e.parent.parent:e.parent;if(t.operatorToken.kind===64&&Ce(t.left))return t.left}else if(Ei(e.parent))return e.parent.name}function __(e,t){return O0(e)&&O0(t)?Rf(e)===Rf(t):$a(e)&&Zd(t)&&(t.expression.kind===110||Ce(t.expression)&&(t.expression.escapedText==="window"||t.expression.escapedText==="self"||t.expression.escapedText==="global"))?__(e,k4(t)):Zd(e)&&Zd(t)?Ya(e)===Ya(t)&&__(e.expression,t.expression):!1}function d2(e){for(;Sa(e,!0);)e=e.right;return e}function E4(e){return Ce(e)&&e.escapedText==="exports"}function C4(e){return Ce(e)&&e.escapedText==="module"}function f2(e){return(Rn(e)||Jl(e))&&C4(e.expression)&&Ya(e)==="exports"}function Ca(e){let t=tN(e);return t===5||Vt(e)?t:0}function m2(e){return Ha(e.arguments)===3&&Rn(e.expression)&&Ce(e.expression.expression)&&Ot(e.expression.expression)==="Object"&&Ot(e.expression.name)==="defineProperty"&&Ki(e.arguments[1])&&c_(e.arguments[0],!0)}function Zd(e){return Rn(e)||Jl(e)}function Jl(e){return ka(e)&&Ki(e.argumentExpression)}function S_(e,t){return Rn(e)&&(!t&&e.expression.kind===110||Ce(e.name)&&c_(e.expression,!0))||y2(e,t)}function y2(e,t){return Jl(e)&&(!t&&e.expression.kind===110||no(e.expression)||S_(e.expression,!0))}function c_(e,t){return no(e)||S_(e,t)}function k4(e){return Rn(e)?e.name:e.argumentExpression}function tN(e){if(O_(e)){if(!m2(e))return 0;let t=e.arguments[0];return E4(t)||f2(t)?8:S_(t)&&Ya(t)==="prototype"?9:7}return e.operatorToken.kind!==64||!Zo(e.left)||nN(d2(e))?0:c_(e.left.expression,!0)&&Ya(e.left)==="prototype"&&ao(D4(e))?6:A4(e.left)}function nN(e){return bb(e)&&ro(e.expression)&&e.expression.text==="0"}function Im(e){if(Rn(e))return e.name;let t=Fl(e.argumentExpression);return ro(t)||qr(t)?t:e}function Ya(e){let t=Im(e);if(t){if(Ce(t))return t.escapedText;if(qr(t)||ro(t))return Ur(t.text)}}function A4(e){if(e.expression.kind===110)return 4;if(f2(e))return 2;if(c_(e.expression,!0)){if(Bl(e.expression))return 3;let t=e;for(;!Ce(t.expression);)t=t.expression;let n=t.expression;if((n.escapedText==="exports"||n.escapedText==="module"&&Ya(t)==="exports")&&S_(e))return 1;if(c_(e,!0)||ka(e)&&E2(e))return 5}return 0}function D4(e){for(;St(e.right);)e=e.right;return e.right}function rN(e){return St(e)&&Ca(e)===3}function iN(e){return Vt(e)&&e.parent&&e.parent.kind===243&&(!ka(e)||Jl(e))&&!!gm(e.parent)}function aN(e,t){let{valueDeclaration:n}=e;(!n||!(t.flags&16777216&&!Vt(t)&&!(n.flags&16777216))&&N0(n)&&!N0(t)||n.kind!==t.kind&&t4(n))&&(e.valueDeclaration=t)}function oN(e){if(!e||!e.valueDeclaration)return!1;let t=e.valueDeclaration;return t.kind===261||Ei(t)&&t.initializer&&Wi(t.initializer)}function sN(e){var t,n;switch(e.kind){case 259:case 207:return(t=Xr(e.initializer,i=>Ll(i,!0)))==null?void 0:t.arguments[0];case 271:return kr(e.moduleSpecifier,qr);case 270:return kr((n=kr(e.moduleReference,Zm))==null?void 0:n.expression,qr);case 272:case 279:return kr(e.parent.moduleSpecifier,qr);case 273:case 280:return kr(e.parent.parent.moduleSpecifier,qr);case 275:return kr(e.parent.parent.parent.moduleSpecifier,qr);default:M.assertNever(e)}}function _N(e){return P4(e)||M.failBadSyntaxKind(e.parent)}function P4(e){switch(e.parent.kind){case 271:case 277:return e.parent;case 282:return e.parent.parent;case 212:return i2(e.parent)||Ll(e.parent,!1)?e.parent:void 0;case 200:return M.assert(cr(e)),kr(e.parent.parent,Xl);default:return}}function h2(e){switch(e.kind){case 271:case 277:return e.moduleSpecifier;case 270:return e.moduleReference.kind===282?e.moduleReference.expression:void 0;case 204:return c4(e)?e.argument.literal:void 0;case 212:return e.arguments[0];case 266:return e.name.kind===11?e.name:void 0;default:return M.assertNever(e)}}function N4(e){switch(e.kind){case 271:return e.importClause&&kr(e.importClause.namedBindings,Db);case 270:return e;case 277:return e.exportClause&&kr(e.exportClause,Ym);default:return M.assertNever(e)}}function I4(e){return e.kind===271&&!!e.importClause&&!!e.importClause.name}function cN(e,t){if(e.name){let n=t(e);if(n)return n}if(e.namedBindings){let n=Db(e.namedBindings)?t(e.namedBindings):hn(e.namedBindings.elements,t);if(n)return n}}function lN(e){if(e)switch(e.kind){case 168:case 173:case 172:case 303:case 302:case 171:case 170:return e.questionToken!==void 0}return!1}function uN(e){let t=e1(e)?f_(e.parameters):void 0,n=kr(t&&t.name,Ce);return!!n&&n.escapedText==="new"}function Rl(e){return e.kind===352||e.kind===344||e.kind===346}function pN(e){return Rl(e)||wb(e)}function dN(e){return Zl(e)&&St(e.expression)&&e.expression.operatorToken.kind===64?d2(e.expression):void 0}function O4(e){return Zl(e)&&St(e.expression)&&Ca(e.expression)!==0&&St(e.expression.right)&&(e.expression.right.operatorToken.kind===57||e.expression.right.operatorToken.kind===61)?e.expression.right.right:void 0}function g2(e){switch(e.kind){case 242:let t=hl(e);return t&&t.initializer;case 171:return e.initializer;case 302:return e.initializer}}function hl(e){return _s(e)?f_(e.declarationList.declarations):void 0}function M4(e){return Gi(e)&&e.body&&e.body.kind===266?e.body:void 0}function fN(e){if(e.kind>=242&&e.kind<=258)return!0;switch(e.kind){case 80:case 110:case 108:case 165:case 235:case 211:case 210:case 207:case 217:case 218:case 173:case 176:case 177:return!0;default:return!1}}function Om(e){switch(e.kind){case 218:case 225:case 240:case 251:case 178:case 295:case 262:case 230:case 174:case 175:case 184:case 179:case 250:case 258:case 245:case 211:case 241:case 1:case 265:case 305:case 276:case 277:case 280:case 243:case 248:case 249:case 247:case 261:case 217:case 183:case 176:case 80:case 244:case 271:case 270:case 180:case 263:case 323:case 329:case 255:case 173:case 172:case 266:case 201:case 269:case 209:case 168:case 216:case 210:case 302:case 171:case 170:case 252:case 239:case 177:case 303:case 304:case 254:case 256:case 257:case 264:case 167:case 259:case 242:case 246:case 253:return!0;default:return!1}}function L4(e,t){let n;o2(e)&&zx(e)&&Ui(e.initializer)&&(n=Mn(n,nv(e,ba(e.initializer.jsDoc))));let i=e;for(;i&&i.parent;){if(Ui(i)&&(n=Mn(n,nv(e,ba(i.jsDoc)))),i.kind===168){n=Mn(n,(t?ZT:hm)(i));break}if(i.kind===167){n=Mn(n,(t?nx:tx)(i));break}i=J4(i)}return n||Xe}function nv(e,t){if(ps(t)){let n=Gn(t.tags,i=>rv(e,i));return t.tags===n?[t]:n}return rv(e,t)?[t]:void 0}function rv(e,t){return!(ru(t)||Ub(t))||!t.parent||!ps(t.parent)||!ss(t.parent.parent)||t.parent.parent===e}function J4(e){let t=e.parent;if(t.kind===302||t.kind===276||t.kind===171||t.kind===243&&e.kind===210||t.kind===252||M4(t)||St(e)&&e.operatorToken.kind===64)return t;if(t.parent&&(hl(t.parent)===e||St(t)&&t.operatorToken.kind===64))return t.parent;if(t.parent&&t.parent.parent&&(hl(t.parent.parent)||g2(t.parent.parent)===e||O4(t.parent.parent)))return t.parent.parent}function mN(e){if(e.symbol)return e.symbol;if(!Ce(e.name))return;let t=e.name.escapedText,n=b2(e);if(!n)return;let i=$n(n.parameters,s=>s.name.kind===80&&s.name.escapedText===t);return i&&i.symbol}function yN(e){if(ps(e.parent)&&e.parent.tags){let t=$n(e.parent.tags,Rl);if(t)return t}return b2(e)}function b2(e){let t=v2(e);if(t)return Wl(t)&&t.type&&Wi(t.type)?t.type:Wi(t)?t:void 0}function v2(e){let t=R4(e);if(t)return O4(t)||dN(t)||g2(t)||hl(t)||M4(t)||t}function R4(e){let t=T2(e);if(!t)return;let n=t.parent;if(n&&n.jsDoc&&t===Ti(n.jsDoc))return n}function T2(e){return Xr(e.parent,ps)}function hN(e){let t=e.name.escapedText,{typeParameters:n}=e.parent.parent.parent;return n&&$n(n,i=>i.name.escapedText===t)}function gN(e){return!!e.typeArguments}function F4(e){let t=e.parent;for(;;){switch(t.kind){case 225:let n=t.operatorToken.kind;return w_(n)&&t.left===e?n===64||jm(n)?1:2:0;case 223:case 224:let i=t.operator;return i===46||i===47?2:0;case 248:case 249:return t.initializer===e?1:0;case 216:case 208:case 229:case 234:e=t;break;case 304:e=t.parent;break;case 303:if(t.name!==e)return 0;e=t.parent;break;case 302:if(t.name===e)return 0;e=t.parent;break;default:return 0}t=e.parent}}function bN(e){return F4(e)!==0}function vN(e){switch(e.kind){case 240:case 242:case 253:case 244:case 254:case 268:case 295:case 296:case 255:case 247:case 248:case 249:case 245:case 246:case 257:case 298:return!0}return!1}function TN(e){return Km(e)||Gm(e)||Bg(e)||cs(e)||P_(e)}function j4(e,t){for(;e&&e.kind===t;)e=e.parent;return e}function xN(e){return j4(e,195)}function B4(e){return j4(e,216)}function SN(e){let t;for(;e&&e.kind===195;)t=e,e=e.parent;return[t,e]}function wN(e){for(;yb(e);)e=e.type;return e}function Fl(e,t){return ds(e,t?17:1)}function EN(e){return e.kind!==210&&e.kind!==211?!1:(e=B4(e.parent),e&&e.kind===219)}function CN(e,t){for(;e;){if(e===t)return!0;e=e.parent}return!1}function U4(e){return!$r(e)&&!Sm(e)&&$o(e.parent)&&e.parent.name===e}function kN(e){let t=e.parent;switch(e.kind){case 11:case 15:case 9:if(Za(t))return t.parent;case 80:if($o(t))return t.name===e?t:void 0;if(D_(t)){let n=t.parent;return p_(n)&&n.name===t?n:void 0}else{let n=t.parent;return St(n)&&Ca(n)!==0&&(n.left.symbol||n.symbol)&&Nl(n)===e?n:void 0}case 81:return $o(t)&&t.name===e?t:void 0;default:return}}function q4(e){return Ki(e)&&e.parent.kind===166&&$o(e.parent.parent)}function AN(e){let t=e.parent;switch(t.kind){case 171:case 170:case 173:case 172:case 176:case 177:case 305:case 302:case 210:return t.name===e;case 165:return t.right===e;case 207:case 275:return t.propertyName===e;case 280:case 290:case 284:case 285:case 286:return!0}return!1}function DN(e){return e.kind===270||e.kind===269||e.kind===272&&e.name||e.kind===273||e.kind===279||e.kind===275||e.kind===280||e.kind===276&&I0(e)?!0:Vt(e)&&(St(e)&&Ca(e)===2&&I0(e)||Rn(e)&&St(e.parent)&&e.parent.left===e&&e.parent.operatorToken.kind===64&&x2(e.parent.right))}function z4(e){switch(e.parent.kind){case 272:case 275:case 273:case 280:case 276:case 270:case 279:return e.parent;case 165:do e=e.parent;while(e.parent.kind===165);return z4(e)}}function x2(e){return no(e)||$m(e)}function I0(e){let t=W4(e);return x2(t)}function W4(e){return ls(e)?e.expression:e.right}function PN(e){return e.kind===303?e.name:e.kind===302?e.initializer:e.parent.right}function V4(e){let t=H4(e);if(t&&Vt(e)){let n=rx(e);if(n)return n.class}return t}function H4(e){let t=Mm(e.heritageClauses,96);return t&&t.types.length>0?t.types[0]:void 0}function K4(e){if(Vt(e))return ix(e).map(t=>t.class);{let t=Mm(e.heritageClauses,119);return t==null?void 0:t.types}}function G4(e){return eu(e)?X4(e)||Xe:Hr(e)&&d_(ff(V4(e)),K4(e))||Xe}function X4(e){let t=Mm(e.heritageClauses,96);return t?t.types:void 0}function Mm(e,t){if(e){for(let n of e)if(n.token===t)return n}}function NN(e,t){for(;e;){if(e.kind===t)return e;e=e.parent}}function bi(e){return 83<=e&&e<=164}function $4(e){return 19<=e&&e<=79}function ef(e){return bi(e)||$4(e)}function S2(e){return 128<=e&&e<=164}function Q4(e){return bi(e)&&!S2(e)}function IN(e){return 119<=e&&e<=127}function ON(e){let t=Al(e);return t!==void 0&&Q4(t)}function MN(e){let t=Al(e);return t!==void 0&&bi(t)}function LN(e){let t=KT(e);return!!t&&!S2(t)}function JN(e){return 2<=e&&e<=7}function RN(e){if(!e)return 4;let t=0;switch(e.kind){case 261:case 217:case 173:e.asteriskToken&&(t|=1);case 218:gn(e,512)&&(t|=2);break}return e.body||(t|=4),t}function FN(e){switch(e.kind){case 261:case 217:case 218:case 173:return e.body!==void 0&&e.asteriskToken===void 0&&gn(e,512)}return!1}function Ki(e){return qr(e)||ro(e)}function w2(e){return Xm(e)&&(e.operator===40||e.operator===41)&&ro(e.operand)}function Y4(e){let t=Nl(e);return!!t&&E2(t)}function E2(e){if(!(e.kind===166||e.kind===211))return!1;let t=ka(e)?Fl(e.argumentExpression):e.expression;return!Ki(t)&&!w2(t)}function Jf(e){switch(e.kind){case 80:case 81:return e.escapedText;case 11:case 9:return Ur(e.text);case 166:let t=e.expression;return Ki(t)?Ur(t.text):w2(t)?t.operator===41?an(t.operator)+t.operand.text:t.operand.text:void 0;case 294:return Ul(e);default:return M.assertNever(e)}}function O0(e){switch(e.kind){case 80:case 11:case 15:case 9:return!0;default:return!1}}function Rf(e){return $a(e)?Ot(e):J_(e)?ql(e):e.text}function Z4(e){return $a(e)?e.escapedText:J_(e)?Ul(e):Ur(e.text)}function jN(e){return`__@${getSymbolId(e)}@${e.escapedName}`}function BN(e,t){return`__#${getSymbolId(e)}@${t}`}function UN(e){return Jn(e.escapedName,"__@")}function qN(e){return Jn(e.escapedName,"__#")}function zN(e){return e.kind===80&&e.escapedText==="Symbol"}function e3(e){return Ce(e)?Ot(e)==="__proto__":cr(e)&&e.text==="__proto__"}function Xs(e,t){switch(e=ds(e),e.kind){case 230:case 217:if(e.name)return!1;break;case 218:break;default:return!1}return typeof t=="function"?t(e):!0}function t3(e){switch(e.kind){case 302:return!e3(e.name);case 303:return!!e.objectAssignmentInitializer;case 259:return Ce(e.name)&&!!e.initializer;case 168:return Ce(e.name)&&!!e.initializer&&!e.dotDotDotToken;case 207:return Ce(e.name)&&!!e.initializer&&!e.dotDotDotToken;case 171:return!!e.initializer;case 225:switch(e.operatorToken.kind){case 64:case 77:case 76:case 78:return Ce(e.left)}break;case 276:return!0}return!1}function WN(e,t){if(!t3(e))return!1;switch(e.kind){case 302:return Xs(e.initializer,t);case 303:return Xs(e.objectAssignmentInitializer,t);case 259:case 168:case 207:case 171:return Xs(e.initializer,t);case 225:return Xs(e.right,t);case 276:return Xs(e.expression,t)}}function VN(e){return e.escapedText==="push"||e.escapedText==="unshift"}function HN(e){return Lm(e).kind===168}function Lm(e){for(;e.kind===207;)e=e.parent.parent;return e}function KN(e){let t=e.kind;return t===175||t===217||t===261||t===218||t===173||t===176||t===177||t===266||t===311}function pa(e){return wa(e.pos)||wa(e.end)}function GN(e){return Pl(e,$r)||e}function XN(e){let t=C2(e),n=e.kind===213&&e.arguments!==void 0;return n3(e.kind,t,n)}function n3(e,t,n){switch(e){case 213:return n?0:1;case 223:case 220:case 221:case 219:case 222:case 226:case 228:return 1;case 225:switch(t){case 43:case 64:case 65:case 66:case 68:case 67:case 69:case 70:case 71:case 72:case 73:case 74:case 79:case 75:case 76:case 77:case 78:return 1}}return 0}function $N(e){let t=C2(e),n=e.kind===213&&e.arguments!==void 0;return r3(e.kind,t,n)}function C2(e){return e.kind===225?e.operatorToken.kind:e.kind===223||e.kind===224?e.operator:e.kind}function r3(e,t,n){switch(e){case 360:return 0;case 229:return 1;case 228:return 2;case 226:return 4;case 225:switch(t){case 28:return 0;case 64:case 65:case 66:case 68:case 67:case 69:case 70:case 71:case 72:case 73:case 74:case 79:case 75:case 76:case 77:case 78:return 3;default:return il(t)}case 215:case 234:case 223:case 220:case 221:case 219:case 222:return 16;case 224:return 17;case 212:return 18;case 213:return n?19:18;case 214:case 210:case 211:case 235:return 19;case 233:case 237:return 11;case 110:case 108:case 80:case 81:case 106:case 112:case 97:case 9:case 10:case 11:case 208:case 209:case 217:case 218:case 230:case 14:case 15:case 227:case 216:case 231:case 283:case 284:case 287:return 20;default:return-1}}function il(e){switch(e){case 61:return 4;case 57:return 5;case 56:return 6;case 52:return 7;case 53:return 8;case 51:return 9;case 35:case 36:case 37:case 38:return 10;case 30:case 32:case 33:case 34:case 104:case 103:case 130:case 152:return 11;case 48:case 49:case 50:return 12;case 40:case 41:return 13;case 42:case 44:case 45:return 14;case 43:return 15}return-1}function QN(e){return Gn(e,t=>{switch(t.kind){case 293:return!!t.expression;case 12:return!t.containsOnlyTriviaWhiteSpaces;default:return!0}})}function YN(){let e=[],t=[],n=new Map,i=!1;return{add:l,lookup:s,getGlobalDiagnostics:d,getDiagnostics:y};function s(p){let x;if(p.file?x=n.get(p.file.fileName):x=e,!x)return;let h=El(x,p,ht,Uf);if(h>=0)return x[h]}function l(p){let x;p.file?(x=n.get(p.file.fileName),x||(x=[],n.set(p.file.fileName,x),cl(t,p.file.fileName,xi))):(i&&(i=!1,e=e.slice()),x=e),cl(x,p,Uf)}function d(){return i=!0,e}function y(p){if(p)return n.get(p)||[];let x=Fv(t,h=>n.get(h));return e.length&&x.unshift(...e),x}}function ZN(e){return e.replace(JS,"\\${")}function i3(e){return e&&!!(r8(e)?e.templateFlags:e.head.templateFlags||ft(e.templateSpans,t=>!!t.literal.templateFlags))}function a3(e){return"\\u"+("0000"+e.toString(16).toUpperCase()).slice(-4)}function eI(e,t,n){if(e.charCodeAt(0)===0){let i=n.charCodeAt(t+e.length);return i>=48&&i<=57?"\\x00":"\\0"}return BS.get(e)||a3(e.charCodeAt(0))}function Ff(e,t){let n=t===96?jS:t===39?FS:RS;return e.replace(n,eI)}function jf(e,t){return e=Ff(e,t),K0.test(e)?e.replace(K0,n=>a3(n.charCodeAt(0))):e}function tI(e){return"&#x"+e.toString(16).toUpperCase()+";"}function nI(e){return e.charCodeAt(0)===0?"�":zS.get(e)||tI(e.charCodeAt(0))}function o3(e,t){let n=t===39?qS:US;return e.replace(n,nI)}function rI(e){let t=e.length;return t>=2&&e.charCodeAt(0)===e.charCodeAt(t-1)&&iI(e.charCodeAt(0))?e.substring(1,t-1):e}function iI(e){return e===39||e===34||e===96}function s3(e){let t=e.charCodeAt(0);return t>=97&&t<=122||Ga(e,"-")}function k2(e){let t=Mo[1];for(let n=Mo.length;n<=e;n++)Mo.push(Mo[n-1]+t);return Mo[e]}function Bo(){return Mo[1].length}function aI(){return Ga(uf,"-dev")||Ga(uf,"-insiders")}function oI(e){var t,n,i,s,l,d=!1;function y(G){let oe=cm(G);oe.length>1?(s=s+oe.length-1,l=t.length-G.length+ba(oe),i=l-t.length===0):i=!1}function p(G){G&&G.length&&(i&&(G=k2(n)+G,i=!1),t+=G,y(G))}function x(G){G&&(d=!1),p(G)}function h(G){G&&(d=!0),p(G)}function D(){t="",n=0,i=!0,s=0,l=0,d=!1}function w(G){G!==void 0&&(t+=G,y(G),d=!1)}function g(G){G&&G.length&&x(G)}function A(G){(!i||G)&&(t+=e,s++,l=t.length,i=!0,d=!1)}function B(){return i?t.length:t.length+e.length}return D(),{write:x,rawWrite:w,writeLiteral:g,writeLine:A,increaseIndent:()=>{n++},decreaseIndent:()=>{n--},getIndent:()=>n,getTextPos:()=>t.length,getLine:()=>s,getColumn:()=>i?n*Bo():t.length-l,getText:()=>t,isAtStartOfLine:()=>i,hasTrailingComment:()=>d,hasTrailingWhitespace:()=>!!t.length&&qi(t.charCodeAt(t.length-1)),clear:D,writeKeyword:x,writeOperator:x,writeParameter:x,writeProperty:x,writePunctuation:x,writeSpace:x,writeStringLiteral:x,writeSymbol:(G,oe)=>x(G),writeTrailingSemicolon:x,writeComment:h,getTextPosWithWriteLine:B}}function sI(e){let t=!1;function n(){t&&(e.writeTrailingSemicolon(";"),t=!1)}return{...e,writeTrailingSemicolon(){t=!0},writeLiteral(i){n(),e.writeLiteral(i)},writeStringLiteral(i){n(),e.writeStringLiteral(i)},writeSymbol(i,s){n(),e.writeSymbol(i,s)},writePunctuation(i){n(),e.writePunctuation(i)},writeKeyword(i){n(),e.writeKeyword(i)},writeOperator(i){n(),e.writeOperator(i)},writeParameter(i){n(),e.writeParameter(i)},writeSpace(i){n(),e.writeSpace(i)},writeProperty(i){n(),e.writeProperty(i)},writeComment(i){n(),e.writeComment(i)},writeLine(){n(),e.writeLine()},increaseIndent(){n(),e.increaseIndent()},decreaseIndent(){n(),e.decreaseIndent()}}}function A2(e){return e.useCaseSensitiveFileNames?e.useCaseSensitiveFileNames():!1}function _3(e){return im(A2(e))}function c3(e,t,n){return t.moduleName||D2(e,t.fileName,n&&n.fileName)}function iv(e,t){return e.getCanonicalFileName(Ta(t,e.getCurrentDirectory()))}function _I(e,t,n){let i=t.getExternalModuleFileFromDeclaration(n);if(!i||i.isDeclarationFile)return;let s=h2(n);if(!(s&&qr(s)&&!is(s.text)&&iv(e,i.path).indexOf(iv(e,Ko(e.getCommonSourceDirectory())))===-1))return c3(e,i)}function D2(e,t,n){let i=p=>e.getCanonicalFileName(p),s=vi(n?Hi(n):e.getCommonSourceDirectory(),e.getCurrentDirectory(),i),l=Ta(t,e.getCurrentDirectory()),d=xg(s,l,s,i,!1),y=bl(d);return n?bg(y):y}function cI(e,t,n){let i=t.getCompilerOptions(),s;return i.outDir?s=bl(p3(e,t,i.outDir)):s=bl(e),s+n}function lI(e,t){return l3(e,t.getCompilerOptions(),t.getCurrentDirectory(),t.getCommonSourceDirectory(),n=>t.getCanonicalFileName(n))}function l3(e,t,n,i,s){let l=t.declarationDir||t.outDir,d=l?N2(e,l,n,i,s):e,y=u3(d);return bl(d)+y}function u3(e){return Wr(e,[".mjs",".mts"])?".d.mts":Wr(e,[".cjs",".cts"])?".d.cts":Wr(e,[".json"])?".d.json.ts":".d.ts"}function uI(e){return Wr(e,[".d.mts",".mjs",".mts"])?[".mts",".mjs"]:Wr(e,[".d.cts",".cjs",".cts"])?[".cts",".cjs"]:Wr(e,[".d.json.ts"])?[".json"]:[".tsx",".ts",".jsx",".js"]}function P2(e){return e.outFile||e.out}function pI(e,t){var n;if(e.paths)return e.baseUrl??M.checkDefined(e.pathsBasePath||((n=t.getCurrentDirectory)==null?void 0:n.call(t)),"Encountered 'paths' without a 'baseUrl', config file, or host 'getCurrentDirectory'.")}function dI(e,t,n){let i=e.getCompilerOptions();if(P2(i)){let s=Gr(i),l=i.emitDeclarationOnly||s===2||s===4;return Gn(e.getSourceFiles(),d=>(l||!ts(d))&&M0(d,e,n))}else{let s=t===void 0?e.getSourceFiles():[t];return Gn(s,l=>M0(l,e,n))}}function M0(e,t,n){return!(t.getCompilerOptions().noEmitForJsFiles&&p2(e))&&!e.isDeclarationFile&&!t.isSourceFileFromExternalLibrary(e)&&(n||!(r2(e)&&t.getResolvedProjectReferenceToRedirect(e.fileName))&&!t.isSourceOfProjectReferenceRedirect(e.fileName))}function p3(e,t,n){return N2(e,n,t.getCurrentDirectory(),t.getCommonSourceDirectory(),i=>t.getCanonicalFileName(i))}function N2(e,t,n,i,s){let l=Ta(e,n);return l=s(l).indexOf(s(i))===0?l.substring(i.length):l,yn(t,l)}function fI(e,t,n,i,s,l,d){e.writeFile(n,i,s,y=>{t.add(al(K.Could_not_write_file_0_Colon_1,n,y))},l,d)}function d3(e,t,n){if(e.length>Si(e)&&!n(e)){let i=Hi(e);d3(i,t,n),t(e)}}function mI(e,t,n,i,s,l){try{i(e,t,n)}catch{d3(Hi(sr(e)),s,l),i(e,t,n)}}function yI(e,t){let n=xa(e);return a_(n,t)}function ya(e,t){return a_(e,t)}function f3(e){return $n(e.members,t=>P_(t)&&yl(t.body))}function I2(e){if(e&&e.parameters.length>0){let t=e.parameters.length===2&&jl(e.parameters[0]);return e.parameters[t?1:0]}}function hI(e){let t=I2(e);return t&&t.type}function m3(e){if(e.parameters.length&&!nu(e)){let t=e.parameters[0];if(jl(t))return t}}function jl(e){return Jm(e.name)}function Jm(e){return!!e&&e.kind===80&&y3(e)}function gI(e){if(!Jm(e))return!1;for(;D_(e.parent)&&e.parent.left===e;)e=e.parent;return e.parent.kind===185}function y3(e){return e.escapedText==="this"}function O2(e,t){let n,i,s,l;return Y4(t)?(n=t,t.kind===176?s=t:t.kind===177?l=t:M.fail("Accessor has wrong kind")):hn(e,d=>{if(xm(d)&&L0(d)===L0(t)){let y=Jf(d.name),p=Jf(t.name);y===p&&(n?i||(i=d):n=d,d.kind===176&&!s&&(s=d),d.kind===177&&!l&&(l=d))}}),{firstAccessor:n,secondAccessor:i,getAccessor:s,setAccessor:l}}function M2(e){if(!Vt(e)&&cs(e))return;let t=e.type;return t||!Vt(e)?t:Mg(e)?e.typeExpression&&e.typeExpression.type:bm(e)}function bI(e){return e.type}function vI(e){return nu(e)?e.type&&e.type.typeExpression&&e.type.typeExpression.type:e.type||(Vt(e)?px(e):void 0)}function h3(e){return Wo(Il(e),t=>TI(t)?t.typeParameters:void 0)}function TI(e){return es(e)&&!(e.parent.kind===326&&(e.parent.tags.some(Rl)||e.parent.tags.some(Fb)))}function xI(e){let t=I2(e);return t&&M2(t)}function g3(e,t,n,i){b3(e,t,n.pos,i)}function b3(e,t,n,i){i&&i.length&&n!==i[0].pos&&ya(e,n)!==ya(e,i[0].pos)&&t.writeLine()}function SI(e,t,n,i){n!==i&&ya(e,n)!==ya(e,i)&&t.writeLine()}function v3(e,t,n,i,s,l,d,y){if(i&&i.length>0){s&&n.writeSpace(" ");let p=!1;for(let x of i)p&&(n.writeSpace(" "),p=!1),y(e,t,n,x.pos,x.end,d),x.hasTrailingNewLine?n.writeLine():p=!0;p&&l&&n.writeSpace(" ")}}function wI(e,t,n,i,s,l,d){let y,p;if(d?s.pos===0&&(y=Gn(Go(e,s.pos),x)):y=Go(e,s.pos),y){let h=[],D;for(let w of y){if(D){let g=ya(t,D.end);if(ya(t,w.pos)>=g+2)break}h.push(w),D=w}if(h.length){let w=ya(t,ba(h).end);ya(t,It(e,s.pos))>=w+2&&(g3(t,n,s,y),v3(e,t,n,h,!1,!0,l,i),p={nodePos:s.pos,detachedCommentEndPos:ba(h).end})}}return p;function x(h){return Yx(e,h.pos)}}function EI(e,t,n,i,s,l){if(e.charCodeAt(i+1)===42){let d=Eg(t,i),y=t.length,p;for(let x=i,h=d.line;x0){let A=g%Bo(),B=k2((g-A)/Bo());for(n.rawWrite(B);A;)n.rawWrite(" "),A--}else n.rawWrite("")}CI(e,s,n,l,x,D),x=D}}else n.writeComment(e.substring(i,s))}function CI(e,t,n,i,s,l){let d=Math.min(t,l-1),y=am(e.substring(s,d));y?(n.writeComment(y),d!==t&&n.writeLine()):n.rawWrite(i)}function av(e,t,n){let i=0;for(;t=0&&e.kind<=164?0:(e.modifierFlagsCache&536870912||(e.modifierFlagsCache=F2(e)|536870912),t&&!(e.modifierFlagsCache&4096)&&(n||Vt(e))&&e.parent&&(e.modifierFlagsCache|=k3(e)|4096),e.modifierFlagsCache&-536875009)}function Fm(e){return J2(e,!0)}function C3(e){return J2(e,!0,!0)}function R2(e){return J2(e,!1)}function k3(e){let t=0;return e.parent&&!io(e)&&(Vt(e)&&(ax(e)&&(t|=4),ox(e)&&(t|=8),sx(e)&&(t|=16),_x(e)&&(t|=64),cx(e)&&(t|=16384)),lx(e)&&(t|=8192)),t}function A3(e){return F2(e)|k3(e)}function F2(e){let t=R_(e)?ar(e.modifiers):0;return(e.flags&4||e.kind===80&&e.flags&2048)&&(t|=1),t}function ar(e){let t=0;if(e)for(let n of e)t|=j2(n.kind);return t}function j2(e){switch(e){case 126:return 32;case 125:return 4;case 124:return 16;case 123:return 8;case 128:return 256;case 129:return 128;case 95:return 1;case 138:return 2;case 87:return 2048;case 90:return 1024;case 134:return 512;case 148:return 64;case 163:return 16384;case 103:return 32768;case 147:return 65536;case 169:return 131072}return 0}function D3(e){return e===57||e===56}function PI(e){return D3(e)||e===54}function jm(e){return e===76||e===77||e===78}function NI(e){return St(e)&&jm(e.operatorToken.kind)}function P3(e){return D3(e)||e===61}function II(e){return St(e)&&P3(e.operatorToken.kind)}function w_(e){return e>=64&&e<=79}function N3(e){let t=I3(e);return t&&!t.isImplements?t.class:void 0}function I3(e){if(Tb(e)){if(Sl(e.parent)&&Hr(e.parent.parent))return{class:e.parent.parent,isImplements:e.parent.token===119};if(t1(e.parent)){let t=v2(e.parent);if(t&&Hr(t))return{class:t,isImplements:!1}}}}function Sa(e,t){return St(e)&&(t?e.operatorToken.kind===64:w_(e.operatorToken.kind))&&jo(e.left)}function OI(e){return Sa(e.parent)&&e.parent.left===e}function MI(e){if(Sa(e,!0)){let t=e.left.kind;return t===209||t===208}return!1}function R0(e){return N3(e)!==void 0}function no(e){return e.kind===80||O3(e)}function LI(e){switch(e.kind){case 80:return e;case 165:do e=e.left;while(e.kind!==80);return e;case 210:do e=e.expression;while(e.kind!==80);return e}}function F0(e){return e.kind===80||e.kind===110||e.kind===108||e.kind===235||e.kind===210&&F0(e.expression)||e.kind===216&&F0(e.expression)}function O3(e){return Rn(e)&&Ce(e.name)&&no(e.expression)}function j0(e){if(Rn(e)){let t=j0(e.expression);if(t!==void 0)return t+"."+hi(e.name)}else if(ka(e)){let t=j0(e.expression);if(t!==void 0&&Ml(e.argumentExpression))return t+"."+Jf(e.argumentExpression)}else{if(Ce(e))return Xo(e.escapedText);if(J_(e))return ql(e)}}function Bl(e){return S_(e)&&Ya(e)==="prototype"}function JI(e){return e.parent.kind===165&&e.parent.right===e||e.parent.kind===210&&e.parent.name===e}function M3(e){return Rn(e.parent)&&e.parent.name===e||ka(e.parent)&&e.parent.argumentExpression===e}function RI(e){return D_(e.parent)&&e.parent.right===e||Rn(e.parent)&&e.parent.name===e||Zs(e.parent)&&e.parent.right===e}function FI(e){return e.kind===209&&e.properties.length===0}function jI(e){return e.kind===208&&e.elements.length===0}function BI(e){if(!(!UI(e)||!e.declarations)){for(let t of e.declarations)if(t.localSymbol)return t.localSymbol}}function UI(e){return e&&Ha(e.declarations)>0&&gn(e.declarations[0],1024)}function qI(e){return $n(GS,t=>Ea(e,t))}function zI(e){let t=[],n=e.length;for(let i=0;i>6|192),t.push(s&63|128)):s<65536?(t.push(s>>12|224),t.push(s>>6&63|128),t.push(s&63|128)):s<131072?(t.push(s>>18|240),t.push(s>>12&63|128),t.push(s>>6&63|128),t.push(s&63|128)):M.assert(!1,"Unexpected code point")}return t}function L3(e){let t="",n=zI(e),i=0,s=n.length,l,d,y,p;for(;i>2,d=(n[i]&3)<<4|n[i+1]>>4,y=(n[i+1]&15)<<2|n[i+2]>>6,p=n[i+2]&63,i+1>=s?y=p=64:i+2>=s&&(p=64),t+=ji.charAt(l)+ji.charAt(d)+ji.charAt(y)+ji.charAt(p),i+=3;return t}function WI(e){let t="",n=0,i=e.length;for(;n>4&3,h=(d&15)<<4|y>>2&15,D=(y&3)<<6|p&63;h===0&&y!==0?i.push(x):D===0&&p!==0?i.push(x,h):i.push(x,h,D),s+=4}return WI(i)}function J3(e,t){let n=m_(t)?t:t.readFile(e);if(!n)return;let i=parseConfigFileTextToJson(e,n);return i.error?void 0:i.config}function KI(e,t){return J3(e,t)||{}}function R3(e,t){return!t.directoryExists||t.directoryExists(e)}function F3(e){switch(e.newLine){case 0:return WS;case 1:case void 0:return VS}}function Bm(e,t=e){return M.assert(t>=e||t===-1),{pos:e,end:t}}function GI(e,t){return Bm(e.pos,t)}function Bf(e,t){return Bm(t,e.end)}function j3(e){let t=R_(e)?sg(e.modifiers,zl):void 0;return t&&!wa(t.end)?Bf(e,t.end):e}function XI(e){if(os(e)||Vl(e))return Bf(e,e.name.pos);let t=R_(e)?Ti(e.modifiers):void 0;return t&&!wa(t.end)?Bf(e,t.end):j3(e)}function $I(e){return e.pos===e.end}function QI(e,t){return Bm(e,e+an(t).length)}function YI(e,t){return B3(e,e,t)}function ZI(e,t,n){return E_(l_(e,n,!1),l_(t,n,!1),n)}function eO(e,t,n){return E_(e.end,t.end,n)}function B3(e,t,n){return E_(l_(e,n,!1),t.end,n)}function tO(e,t,n){return E_(e.end,l_(t,n,!1),n)}function nO(e,t,n,i){let s=l_(t,n,i);return b_(n,e.end,s)}function rO(e,t,n){return b_(n,e.end,t.end)}function iO(e,t){return!E_(e.pos,e.end,t)}function E_(e,t,n){return b_(n,e,t)===0}function l_(e,t,n){return wa(e.pos)?-1:It(t.text,e.pos,!1,n)}function aO(e,t,n,i){let s=It(n.text,e,!1,i),l=sO(s,t,n);return b_(n,l??t,s)}function oO(e,t,n,i){let s=It(n.text,e,!1,i);return b_(n,e,Math.min(t,s))}function sO(e,t=0,n){for(;e-- >t;)if(!qi(n.text.charCodeAt(e)))return e}function _O(e){let t=Pl(e);if(t)switch(t.parent.kind){case 265:case 266:return t===t.parent.name}return!1}function cO(e){return Gn(e.declarations,U3)}function U3(e){return Ei(e)&&e.initializer!==void 0}function lO(e){return e.watch&&Xn(e,"watch")}function uO(e){e.close()}function q3(e){return e.flags&33554432?e.links.checkFlags:0}function pO(e,t=!1){if(e.valueDeclaration){let n=t&&e.declarations&&$n(e.declarations,N_)||e.flags&32768&&$n(e.declarations,Kl)||e.valueDeclaration,i=dm(n);return e.parent&&e.parent.flags&32?i:i&-29}if(q3(e)&6){let n=e.links.checkFlags,i=n&1024?8:n&256?4:16,s=n&2048?32:0;return i|s}return e.flags&4194304?36:0}function dO(e,t){return e.flags&2097152?t.getAliasedSymbol(e):e}function fO(e){return e.exportSymbol?e.exportSymbol.flags|e.flags:e.flags}function mO(e){return Oo(e)===1}function yO(e){return Oo(e)!==0}function Oo(e){let{parent:t}=e;switch(t==null?void 0:t.kind){case 216:return Oo(t);case 224:case 223:let{operator:n}=t;return n===46||n===47?2:0;case 225:let{left:i,operatorToken:s}=t;return i===e&&w_(s.kind)?s.kind===64?1:2:0;case 210:return t.name!==e?0:Oo(t);case 302:{let l=Oo(t.parent);return e===t.name?hO(l):l}case 303:return e===t.objectAssignmentInitializer?0:Oo(t.parent);case 208:return Oo(t);default:return 0}}function hO(e){switch(e){case 0:return 1;case 1:return 0;case 2:return 2;default:return M.assertNever(e)}}function z3(e,t){if(!e||!t||Object.keys(e).length!==Object.keys(t).length)return!1;for(let n in e)if(typeof e[n]=="object"){if(!z3(e[n],t[n]))return!1}else if(typeof e[n]!="function"&&e[n]!==t[n])return!1;return!0}function gO(e,t){e.forEach(t),e.clear()}function W3(e,t,n){let{onDeleteValue:i,onExistingValue:s}=n;e.forEach((l,d)=>{let y=t.get(d);y===void 0?(e.delete(d),i(l,d)):s&&s(l,y,d)})}function bO(e,t,n){W3(e,t,n);let{createNewValue:i}=n;t.forEach((s,l)=>{e.has(l)||e.set(l,i(l,s))})}function vO(e){if(e.flags&32){let t=V3(e);return!!t&&gn(t,256)}return!1}function V3(e){var t;return(t=e.declarations)==null?void 0:t.find(Hr)}function tf(e){return e.flags&138117121?e.objectFlags:0}function TO(e,t){return!!hT(e,n=>t(n)?!0:void 0)}function xO(e){return!!e&&!!e.declarations&&!!e.declarations[0]&&Cb(e.declarations[0])}function SO({moduleSpecifier:e}){return cr(e)?e.text:Cm(e)}function H3(e){let t;return qt(e,n=>{yl(n)&&(t=n)},n=>{for(let i=n.length-1;i>=0;i--)if(yl(n[i])){t=n[i];break}}),t}function wO(e,t,n=!0){return e.has(t)?!1:(e.set(t,n),!0)}function EO(e){return Hr(e)||eu(e)||Hm(e)}function K3(e){return e>=181&&e<=204||e===133||e===159||e===150||e===162||e===151||e===136||e===154||e===155||e===116||e===157||e===146||e===141||e===232||e===318||e===319||e===320||e===321||e===322||e===323||e===324}function Zo(e){return e.kind===210||e.kind===211}function CO(e){return e.kind===210?e.name:(M.assert(e.kind===211),e.argumentExpression)}function kO(e){switch(e.kind){case"text":case"internal":return!0;default:return!1}}function AO(e){return e.kind===274||e.kind===278}function B2(e){for(;Zo(e);)e=e.expression;return e}function DO(e,t){if(Zo(e.parent)&&M3(e))return n(e.parent);function n(i){if(i.kind===210){let s=t(i.name);if(s!==void 0)return s}else if(i.kind===211)if(Ce(i.argumentExpression)||qr(i.argumentExpression)){let s=t(i.argumentExpression);if(s!==void 0)return s}else return;if(Zo(i.expression))return n(i.expression);if(Ce(i.expression))return t(i.expression)}}function PO(e,t){for(;;){switch(e.kind){case 224:e=e.operand;continue;case 225:e=e.left;continue;case 226:e=e.condition;continue;case 214:e=e.tag;continue;case 212:if(t)return e;case 233:case 211:case 210:case 234:case 359:case 237:e=e.expression;continue}return e}}function NO(e,t){this.flags=e,this.escapedName=t,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 IO(e,t){this.flags=t,(M.isDebugging||fa)&&(this.checker=e)}function OO(e,t){this.flags=t,M.isDebugging&&(this.checker=e)}function $y(e,t,n){this.pos=t,this.end=n,this.kind=e,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 MO(e,t,n){this.pos=t,this.end=n,this.kind=e,this.id=0,this.flags=0,this.transformFlags=0,this.parent=void 0,this.emitNode=void 0}function LO(e,t,n){this.pos=t,this.end=n,this.kind=e,this.id=0,this.flags=0,this.transformFlags=0,this.parent=void 0,this.original=void 0,this.emitNode=void 0}function JO(e,t,n){this.fileName=e,this.text=t,this.skipTrivia=n||(i=>i)}function RO(e){nb.push(e),e(xt)}function G3(e){Object.assign(xt,e),hn(nb,t=>t(xt))}function C_(e,t,n=0){return e.replace(/{(\d+)}/g,(i,s)=>""+M.checkDefined(t[+s+n]))}function X3(e){vl=e}function $3(e){!vl&&e&&(vl=e())}function k_(e){return vl&&vl[e.key]||e.message}function No(e,t,n,i){e2(void 0,t,n);let s=k_(i);return arguments.length>4&&(s=C_(s,arguments,4)),{file:void 0,start:t,length:n,messageText:s,category:i.category,code:i.code,reportsUnnecessary:i.reportsUnnecessary,fileName:e}}function FO(e){return e.file===void 0&&e.start!==void 0&&e.length!==void 0&&typeof e.fileName=="string"}function Q3(e,t){let n=t.fileName||"",i=t.text.length;M.assertEqual(e.fileName,n),M.assertLessThanOrEqual(e.start,i),M.assertLessThanOrEqual(e.start+e.length,i);let s={file:t,start:e.start,length:e.length,messageText:e.messageText,category:e.category,code:e.code,reportsUnnecessary:e.reportsUnnecessary};if(e.relatedInformation){s.relatedInformation=[];for(let l of e.relatedInformation)FO(l)&&l.fileName===n?(M.assertLessThanOrEqual(l.start,i),M.assertLessThanOrEqual(l.start+l.length,i),s.relatedInformation.push(Q3(l,t))):s.relatedInformation.push(l)}return s}function za(e,t){let n=[];for(let i of e)n.push(Q3(i,t));return n}function U2(e,t,n,i){e2(e,t,n);let s=k_(i);return arguments.length>4&&(s=C_(s,arguments,4)),{file:e,start:t,length:n,messageText:s,category:i.category,code:i.code,reportsUnnecessary:i.reportsUnnecessary,reportsDeprecated:i.reportsDeprecated}}function jO(e,t){let n=k_(t);return arguments.length>2&&(n=C_(n,arguments,2)),n}function al(e){let t=k_(e);return arguments.length>1&&(t=C_(t,arguments,1)),{file:void 0,start:void 0,length:void 0,messageText:t,category:e.category,code:e.code,reportsUnnecessary:e.reportsUnnecessary,reportsDeprecated:e.reportsDeprecated}}function BO(e,t){return{file:void 0,start:void 0,length:void 0,code:e.code,category:e.category,messageText:e.next?e:e.messageText,relatedInformation:t}}function Kc(e,t){let n=k_(t);return arguments.length>2&&(n=C_(n,arguments,2)),{messageText:n,category:t.category,code:t.code,next:e===void 0||Array.isArray(e)?e:[e]}}function UO(e,t){let n=e;for(;n.next;)n=n.next[0];n.next=[t]}function ov(e){return e.file?e.file.path:void 0}function q2(e,t){return Uf(e,t)||qO(e,t)||0}function Uf(e,t){return xi(ov(e),ov(t))||wn(e.start,t.start)||wn(e.length,t.length)||wn(e.code,t.code)||Y3(e.messageText,t.messageText)||0}function qO(e,t){return!e.relatedInformation&&!t.relatedInformation?0:e.relatedInformation&&t.relatedInformation?wn(e.relatedInformation.length,t.relatedInformation.length)||hn(e.relatedInformation,(n,i)=>{let s=t.relatedInformation[i];return q2(n,s)})||0:e.relatedInformation?-1:1}function Y3(e,t){if(typeof e=="string"&&typeof t=="string")return xi(e,t);if(typeof e=="string")return-1;if(typeof t=="string")return 1;let n=xi(e.messageText,t.messageText);if(n)return n;if(!e.next&&!t.next)return 0;if(!e.next)return-1;if(!t.next)return 1;let i=Math.min(e.next.length,t.next.length);for(let s=0;st.next.length?1:0}function B0(e){return e===4||e===2||e===1||e===6?1:0}function Z3(e){if(e.transformFlags&2)return Ux(e)||ol(e)?e:qt(e,Z3)}function zO(e){return e.isDeclarationFile?void 0:Z3(e)}function WO(e){return(e.impliedNodeFormat===99||Wr(e.fileName,[".cjs",".cts",".mjs",".mts"]))&&!e.isDeclarationFile?!0:void 0}function eS(e){switch(tS(e)){case 3:return s=>{s.externalModuleIndicator=sl(s)||!s.isDeclarationFile||void 0};case 1:return s=>{s.externalModuleIndicator=sl(s)};case 2:let t=[sl];(e.jsx===4||e.jsx===5)&&t.push(zO),t.push(WO);let n=fg(...t);return s=>void(s.externalModuleIndicator=n(s))}}function Um(e){return e.target??(e.module===100&&9||e.module===199&&99||1)}function Gr(e){return typeof e.module=="number"?e.module:Um(e)>=2?5:1}function VO(e){return e>=5&&e<=99}function A_(e){let t=e.moduleResolution;if(t===void 0)switch(Gr(e)){case 1:t=2;break;case 100:t=3;break;case 199:t=99;break;default:t=1;break}return t}function tS(e){return e.moduleDetection||(Gr(e)===100||Gr(e)===199?3:2)}function HO(e){switch(Gr(e)){case 1:case 2:case 5:case 6:case 7:case 99:case 100:case 199:return!0;default:return!1}}function z2(e){return!!(e.isolatedModules||e.verbatimModuleSyntax)}function KO(e){return e.verbatimModuleSyntax||e.isolatedModules&&e.preserveValueImports}function GO(e){return e.allowUnreachableCode===!1}function XO(e){return e.allowUnusedLabels===!1}function $O(e){return!!(H2(e)&&e.declarationMap)}function W2(e){if(e.esModuleInterop!==void 0)return e.esModuleInterop;switch(Gr(e)){case 100:case 199:return!0}}function QO(e){return e.allowSyntheticDefaultImports!==void 0?e.allowSyntheticDefaultImports:W2(e)||Gr(e)===4||A_(e)===100}function V2(e){return e>=3&&e<=99||e===100}function YO(e){return!!e.noDtsResolution||A_(e)!==100}function ZO(e){let t=A_(e);if(!V2(t))return!1;if(e.resolvePackageJsonExports!==void 0)return e.resolvePackageJsonExports;switch(t){case 3:case 99:case 100:return!0}return!1}function eM(e){let t=A_(e);if(!V2(t))return!1;if(e.resolvePackageJsonExports!==void 0)return e.resolvePackageJsonExports;switch(t){case 3:case 99:case 100:return!0}return!1}function nS(e){return e.resolveJsonModule!==void 0?e.resolveJsonModule:A_(e)===100}function H2(e){return!!(e.declaration||e.composite)}function tM(e){return!!(e.preserveConstEnums||z2(e))}function nM(e){return!!(e.incremental||e.composite)}function K2(e,t){return e[t]===void 0?!!e.strict:!!e[t]}function rS(e){return e.allowJs===void 0?!!e.checkJs:e.allowJs}function rM(e){return e.useDefineForClassFields===void 0?Um(e)>=9:e.useDefineForClassFields}function iM(e,t){return T_(t,e,semanticDiagnosticsOptionDeclarations)}function aM(e,t){return T_(t,e,affectsEmitOptionDeclarations)}function oM(e,t){return T_(t,e,affectsDeclarationPathOptionDeclarations)}function U0(e,t){return t.strictFlag?K2(e,t.name):e[t.name]}function sM(e){let t=e.jsx;return t===2||t===4||t===5}function _M(e,t){let n=t==null?void 0:t.pragmas.get("jsximportsource"),i=Wt(n)?n[n.length-1]:n;return e.jsx===4||e.jsx===5||e.jsxImportSource||i?(i==null?void 0:i.arguments.factory)||e.jsxImportSource||"react":void 0}function cM(e,t){return e?`${e}/${t.jsx===5?"jsx-dev-runtime":"jsx-runtime"}`:void 0}function lM(e){let t=!1;for(let n=0;ns,getSymlinkedDirectories:()=>n,getSymlinkedDirectoriesByRealpath:()=>i,setSymlinkedFile:(y,p)=>(s||(s=new Map)).set(y,p),setSymlinkedDirectory:(y,p)=>{let x=vi(y,e,t);vS(x)||(x=Ko(x),p!==!1&&!(n!=null&&n.has(x))&&(i||(i=nm())).add(Ko(p.realPath),y),(n||(n=new Map)).set(x,p))},setSymlinksFromResolutions(y,p){var x,h;M.assert(!l),l=!0;for(let D of y)(x=D.resolvedModules)==null||x.forEach(w=>d(this,w.resolvedModule)),(h=D.resolvedTypeReferenceDirectiveNames)==null||h.forEach(w=>d(this,w.resolvedTypeReferenceDirective));p.forEach(D=>d(this,D.resolvedTypeReferenceDirective))},hasProcessedResolutions:()=>l};function d(y,p){if(!p||!p.originalPath||!p.resolvedFileName)return;let{resolvedFileName:x,originalPath:h}=p;y.setSymlinkedFile(vi(h,e,t),x);let[D,w]=pM(x,h,e,t)||Xe;D&&w&&y.setSymlinkedDirectory(w,{real:D,realPath:vi(D,e,t)})}}function pM(e,t,n,i){let s=wi(Ta(e,n)),l=wi(Ta(t,n)),d=!1;for(;s.length>=2&&l.length>=2&&!sv(s[s.length-2],i)&&!sv(l[l.length-2],i)&&i(s[s.length-1])===i(l[l.length-1]);)s.pop(),l.pop(),d=!0;return d?[Vo(s),Vo(l)]:void 0}function sv(e,t){return e!==void 0&&(t(e)==="node_modules"||Jn(e,"@"))}function dM(e){return hg(e.charCodeAt(0))?e.slice(1):void 0}function fM(e,t,n){let i=rT(e,t,n);return i===void 0?void 0:dM(i)}function mM(e){return e.replace(Wf,yM)}function yM(e){return"\\"+e}function nf(e,t,n){let i=G2(e,t,n);return!i||!i.length?void 0:`^(${i.map(d=>`(${d})`).join("|")})${n==="exclude"?"($|/)":"$"}`}function G2(e,t,n){if(!(e===void 0||e.length===0))return Wo(e,i=>i&&aS(i,t,n,rb[n]))}function iS(e){return!/[.*?]/.test(e)}function hM(e,t,n){let i=e&&aS(e,t,n,rb[n]);return i&&`^(${i})${n==="exclude"?"($|/)":"$"}`}function aS(e,t,n,{singleAsteriskRegexFragment:i,doubleAsteriskRegexFragment:s,replaceWildcardCharacter:l}){let d="",y=!1,p=_m(e,t),x=ba(p);if(n!=="exclude"&&x==="**")return;p[0]=g_(p[0]),iS(x)&&p.push("**","*");let h=0;for(let D of p){if(D==="**")d+=s;else if(n==="directories"&&(d+="(",h++),y&&(d+=_r),n!=="exclude"){let w="";D.charCodeAt(0)===42?(w+="([^./]"+i+")?",D=D.substr(1)):D.charCodeAt(0)===63&&(w+="[^./]",D=D.substr(1)),w+=D.replace(Wf,l),w!==D&&(d+=af),d+=w}else d+=D.replace(Wf,l);y=!0}for(;h>0;)d+=")?",h--;return d}function Qy(e,t){return e==="*"?t:e==="?"?"[^/]":"\\"+e}function oS(e,t,n,i,s){e=sr(e),s=sr(s);let l=yn(s,e);return{includeFilePatterns:ga(G2(n,l,"files"),d=>`^${d}$`),includeFilePattern:nf(n,l,"files"),includeDirectoryPattern:nf(n,l,"directories"),excludePattern:nf(t,l,"exclude"),basePaths:bM(e,n,i)}}function rf(e,t){return new RegExp(e,t?"":"i")}function gM(e,t,n,i,s,l,d,y,p){e=sr(e),l=sr(l);let x=oS(e,n,i,s,l),h=x.includeFilePatterns&&x.includeFilePatterns.map(oe=>rf(oe,s)),D=x.includeDirectoryPattern&&rf(x.includeDirectoryPattern,s),w=x.excludePattern&&rf(x.excludePattern,s),g=h?h.map(()=>[]):[[]],A=new Map,B=im(s);for(let oe of x.basePaths)G(oe,yn(l,oe),d);return r_(g);function G(oe,Q,W){let se=B(p(Q));if(A.has(se))return;A.set(se,!0);let{files:we,directories:Ze}=y(oe);for(let Ue of pf(we,xi)){let rt=yn(oe,Ue),ct=yn(Q,Ue);if(!(t&&!Wr(rt,t))&&!(w&&w.test(ct)))if(!h)g[0].push(rt);else{let Dn=el(h,sn=>sn.test(ct));Dn!==-1&&g[Dn].push(rt)}}if(!(W!==void 0&&(W--,W===0)))for(let Ue of pf(Ze,xi)){let rt=yn(oe,Ue),ct=yn(Q,Ue);(!D||D.test(ct))&&(!w||!w.test(ct))&&G(rt,ct,W)}}}function bM(e,t,n){let i=[e];if(t){let s=[];for(let l of t){let d=y_(l)?l:sr(yn(e,l));s.push(vM(d))}s.sort(ug(!n));for(let l of s)eo(i,d=>!mT(d,l,e,!n))&&i.push(l)}return i}function vM(e){let t=Rv(e,HS);return t<0?dT(e)?g_(Hi(e)):e:e.substring(0,e.lastIndexOf(_r,t))}function sS(e,t){return t||_S(e)||3}function _S(e){switch(e.substr(e.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 cS(e,t){let n=e&&rS(e);if(!t||t.length===0)return n?Tl:Uo;let i=n?Tl:Uo,s=r_(i);return[...i,...Ka(t,d=>d.scriptKind===7||n&&TM(d.scriptKind)&&s.indexOf(d.extension)===-1?[d.extension]:void 0)]}function lS(e,t){return!e||!nS(e)?t:t===Tl?XS:t===Uo?KS:[...t,[".json"]]}function TM(e){return e===1||e===2}function X2(e){return ft(ab,t=>Ea(e,t))}function $2(e){return ft(ib,t=>Ea(e,t))}function uS({imports:e},t=fg(X2,$2)){return og(e,({text:n})=>is(n)&&!Wr(n,Wm)?t(n):void 0)||!1}function xM(e,t,n,i){if(e==="js"||t===99)return shouldAllowImportingTsExtension(n)&&s()!==2?3:2;if(e==="minimal")return 0;if(e==="index")return 1;if(!shouldAllowImportingTsExtension(n))return uS(i)?2:0;return s();function s(){let l=!1,d=i.imports.length?i.imports.map(y=>y.text):p2(i)?SM(i).map(y=>y.arguments[0].text):Xe;for(let y of d)if(is(y)){if(Wr(y,Wm))continue;if($2(y))return 3;X2(y)&&(l=!0)}return l?2:0}}function SM(e){let t=0,n;for(let i of e.statements){if(t>3)break;S4(i)?n=d_(n,i.declarationList.declarations.map(s=>s.initializer)):Zl(i)&&Ll(i.expression,!0)?n=Tt(n,i.expression):t++}return n||Xe}function wM(e,t,n){if(!e)return!1;let i=cS(t,n);for(let s of r_(lS(t,i)))if(Ea(e,s))return!0;return!1}function _v(e){let t=e.match(/\//g);return t?t.length:0}function EM(e,t){return wn(_v(e),_v(t))}function bl(e){for(let t of Vm){let n=pS(e,t);if(n!==void 0)return n}return e}function pS(e,t){return Ea(e,t)?dS(e,t):void 0}function dS(e,t){return e.substring(0,e.length-t.length)}function CM(e,t){return fT(e,t,Vm,!1)}function fS(e){let t=e.indexOf("*");return t===-1?e:e.indexOf("*",t+1)!==-1?void 0:{prefix:e.substr(0,t),suffix:e.substr(t+1)}}function kM(e){return Ka(lg(e),t=>fS(t))}function wa(e){return!(e>=0)}function mS(e){return e===".ts"||e===".tsx"||e===".d.ts"||e===".cts"||e===".mts"||e===".d.mts"||e===".d.cts"||Jn(e,".d.")&&rs(e,".ts")}function AM(e){return mS(e)||e===".json"}function Gc(e){let t=Q2(e);return t!==void 0?t:M.fail(`File ${e} has unknown extension.`)}function DM(e){return Q2(e)!==void 0}function Q2(e){return $n(Vm,t=>Ea(e,t))}function PM(e,t){return e.checkJsDirective?e.checkJsDirective.enabled:t.checkJs}function NM(e,t){let n=[];for(let i of e){if(i===t)return t;m_(i)||n.push(i)}return nT(n,i=>i,t)}function IM(e,t){let n=e.indexOf(t);return M.assert(n!==-1),e.slice(n)}function Xc(e,...t){return t.length&&(e.relatedInformation||(e.relatedInformation=[]),M.assert(e.relatedInformation!==Xe,"Diagnostic had empty array singleton for related info, but is still being constructed!"),e.relatedInformation.push(...t)),e}function OM(e,t){M.assert(e.length!==0);let n=t(e[0]),i=n;for(let s=1;si&&(i=l)}return{min:n,max:i}}function MM(e){return{pos:Qo(e),end:e.end}}function LM(e,t){let n=t.pos-1,i=Math.min(e.text.length,It(e.text,t.end)+1);return{pos:n,end:i}}function JM(e,t,n){return t.skipLibCheck&&e.isDeclarationFile||t.skipDefaultLibCheck&&e.hasNoDefaultLib||n.isSourceOfProjectReferenceRedirect(e.fileName)}function Y2(e,t){return e===t||typeof e=="object"&&e!==null&&typeof t=="object"&&t!==null&&Hv(e,t,Y2)}function qm(e){let t;switch(e.charCodeAt(1)){case 98:case 66:t=1;break;case 111:case 79:t=3;break;case 120:case 88:t=4;break;default:let x=e.length-1,h=0;for(;e.charCodeAt(h)===48;)h++;return e.slice(h,x)||"0"}let n=2,i=e.length-1,s=(i-n)*t,l=new Uint16Array((s>>>4)+(s&15?1:0));for(let x=i-1,h=0;x>=n;x--,h+=t){let D=h>>>4,w=e.charCodeAt(x),A=(w<=57?w-48:10+w-(w<=70?65:97))<<(h&15);l[D]|=A;let B=A>>>16;B&&(l[D+1]|=B)}let d="",y=l.length-1,p=!0;for(;p;){let x=0;p=!1;for(let h=y;h>=0;h--){let D=x<<16|l[h],w=D/10|0;l[h]=w,x=D-w*10,w&&!p&&(y=h,p=!0)}d=x+d}return d}function Z2({negative:e,base10Value:t}){return(e&&t!=="0"?"-":"")+t}function RM(e){if(hS(e,!1))return yS(e)}function yS(e){let t=e.startsWith("-"),n=qm(`${t?e.slice(1):e}n`);return{negative:t,base10Value:n}}function hS(e,t){if(e==="")return!1;let n=as(99,!1),i=!0;n.setOnError(()=>i=!1),n.setText(e+"n");let s=n.scan(),l=s===41;l&&(s=n.scan());let d=n.getTokenFlags();return i&&s===10&&n.getTokenEnd()===e.length+1&&!(d&512)&&(!t||e===Z2({negative:l,base10Value:qm(n.getTokenValue())}))}function FM(e){return!!(e.flags&16777216)||g4(e)||UM(e)||BM(e)||!(u2(e)||jM(e))}function jM(e){return Ce(e)&&tu(e.parent)&&e.parent.name===e}function BM(e){for(;e.kind===80||e.kind===210;)e=e.parent;if(e.kind!==166)return!1;if(gn(e.parent,256))return!0;let t=e.parent.parent.kind;return t===263||t===186}function UM(e){if(e.kind!==80)return!1;let t=Xr(e.parent,n=>{switch(n.kind){case 297:return!0;case 210:case 232:return!1;default:return"quit"}});return(t==null?void 0:t.token)===119||(t==null?void 0:t.parent.kind)===263}function qM(e){return I_(e)&&Ce(e.typeName)}function zM(e,t=to){if(e.length<2)return!0;let n=e[0];for(let i=1,s=e.length;iGa(e,t))}function GM(e){if(!e.parent)return;switch(e.kind){case 167:let{parent:n}=e;return n.kind===194?void 0:n.typeParameters;case 168:return e.parent.parameters;case 203:return e.parent.templateSpans;case 238:return e.parent.templateSpans;case 169:{let{parent:i}=e;return a7(i)?i.modifiers:void 0}case 297:return e.parent.heritageClauses}let{parent:t}=e;if(Kg(e))return Ob(e.parent)?void 0:e.parent.tags;switch(t.kind){case 186:case 263:return Ug(e)?t.members:void 0;case 191:case 192:return t.types;case 188:case 208:case 360:case 274:case 278:return t.elements;case 209:case 291:return t.properties;case 212:case 213:return x0(e)?t.typeArguments:t.expression===e?void 0:t.arguments;case 283:case 287:return Bx(e)?t.children:void 0;case 285:case 284:return x0(e)?t.typeArguments:void 0;case 240:case 295:case 296:case 267:return t.statements;case 268:return t.clauses;case 262:case 230:return Qa(e)?t.members:void 0;case 265:return L8(e)?t.members:void 0;case 311:return t.statements}}function XM(e){if(!e.typeParameters){if(ft(e.parameters,t=>!M2(t)))return!0;if(e.kind!==218){let t=f_(e.parameters);if(!(t&&jl(t)))return!0}}return!1}function $M(e){return e==="Infinity"||e==="-Infinity"||e==="NaN"}function TS(e){return e.kind===259&&e.parent.kind===298}function QM(e){let t=e.valueDeclaration&&Lm(e.valueDeclaration);return!!t&&(io(t)||TS(t))}function YM(e){return e.kind===217||e.kind===218}function ZM(e){return e.replace(/\$/gm,()=>"\\$")}function xS(e){return(+e).toString()===e}function eL(e,t,n,i){return Ag(e,t)?Ar.createIdentifier(e):!i&&xS(e)&&+e>=0?Ar.createNumericLiteral(+e):Ar.createStringLiteral(e,!!n)}function SS(e){return!!(e.flags&262144&&e.isThisType)}function tL(e){let t=0,n=0,i=0,s=0,l;(x=>{x[x.BeforeNodeModules=0]="BeforeNodeModules",x[x.NodeModules=1]="NodeModules",x[x.Scope=2]="Scope",x[x.PackageContent=3]="PackageContent"})(l||(l={}));let d=0,y=0,p=0;for(;y>=0;)switch(d=y,y=e.indexOf("/",d+1),p){case 0:e.indexOf(nodeModulesPathPart,d)===d&&(t=d,n=y,p=1);break;case 1:case 2:p===1&&e.charAt(d+1)==="@"?p=2:(i=y,p=3);break;case 3:e.indexOf(nodeModulesPathPart,d)===d?p=1:p=3;break}return s=d,p>1?{topLevelNodeModulesIndex:t,topLevelPackageNameIndex:n,packageRootIndex:i,fileNameIndex:s}:void 0}function nL(e){var t;return e.kind===347?(t=e.typeExpression)==null?void 0:t.type:e.type}function wS(e){switch(e.kind){case 167:case 262:case 263:case 264:case 265:case 352:case 344:case 346:return!0;case 272:return e.isTypeOnly;case 275:case 280:return e.parent.parent.isTypeOnly;default:return!1}}function rL(e){return Eb(e)||_s(e)||cs(e)||u_(e)||eu(e)||wS(e)||Gi(e)&&!$g(e)&&!Am(e)}function ES(e){if(!Mg(e))return!1;let{isBracketed:t,typeExpression:n}=e;return t||!!n&&n.type.kind===322}function iL(e,t){if(e.length===0)return!1;let n=e.charCodeAt(0);return n===35?e.length>1&&or(e.charCodeAt(1),t):or(n,t)}function CS(e){var t;return((t=getSnippetElement(e))==null?void 0:t.kind)===0}function kS(e){return Vt(e)&&(e.type&&e.type.kind===322||hm(e).some(({isBracketed:t,typeExpression:n})=>t||!!n&&n.type.kind===322))}function aL(e){switch(e.kind){case 171:case 170:return!!e.questionToken;case 168:return!!e.questionToken||kS(e);case 354:case 347:return ES(e);default:return!1}}function oL(e){let t=e.kind;return(t===210||t===211)&&qo(e.expression)}function sL(e){return Vt(e)&&ss(e)&&Ui(e)&&!!Ng(e)}function _L(e){return M.checkDefined(AS(e))}function AS(e){let t=Ng(e);return t&&t.typeExpression&&t.typeExpression.type}function cL(e){return Ce(e)?e.escapedText:Ul(e)}function lL(e){return Ce(e)?Ot(e):ql(e)}function uL(e){let t=e.kind;return t===80||t===294}function Ul(e){return`${e.namespace.escapedText}:${Ot(e.name)}`}function ql(e){return`${Ot(e.namespace)}:${Ot(e.name)}`}function pL(e){return Ce(e)?Ot(e):ql(e)}var DS,zm,PS,NS,$s,q0,eb,IS,OS,tb,MS,LS,z0,W0,V0,H0,JS,RS,FS,jS,BS,K0,US,qS,zS,Mo,ji,WS,VS,xt,nb,vl,Wf,HS,G0,af,Yy,Zy,eh,rb,Uo,ib,KS,GS,X0,ab,Tl,XS,ob,$S,Wm,$0,Vm,QS,dL=Ht({"src/compiler/utilities.ts"(){"use strict";En(),DS=[],zm="tslib",PS=160,NS=1e6,$s=FA(),q0=(e=>(e[e.None=0]="None",e[e.NeverAsciiEscape=1]="NeverAsciiEscape",e[e.JsxAttributeEscape=2]="JsxAttributeEscape",e[e.TerminateUnterminatedLiterals=4]="TerminateUnterminatedLiterals",e[e.AllowNumericSeparator=8]="AllowNumericSeparator",e))(q0||{}),eb=/^(\/\/\/\s*/,IS=/^(\/\/\/\s*/,OS=/^(\/\/\/\s*/,tb=/^(\/\/\/\s*/,MS=/^\/\/\/\s*/,LS=/^(\/\/\/\s*/,z0=(e=>(e[e.None=0]="None",e[e.Definite=1]="Definite",e[e.Compound=2]="Compound",e))(z0||{}),W0=(e=>(e[e.Normal=0]="Normal",e[e.Generator=1]="Generator",e[e.Async=2]="Async",e[e.Invalid=4]="Invalid",e[e.AsyncGenerator=3]="AsyncGenerator",e))(W0||{}),V0=(e=>(e[e.Left=0]="Left",e[e.Right=1]="Right",e))(V0||{}),H0=(e=>(e[e.Comma=0]="Comma",e[e.Spread=1]="Spread",e[e.Yield=2]="Yield",e[e.Assignment=3]="Assignment",e[e.Conditional=4]="Conditional",e[e.Coalesce=4]="Coalesce",e[e.LogicalOR=5]="LogicalOR",e[e.LogicalAND=6]="LogicalAND",e[e.BitwiseOR=7]="BitwiseOR",e[e.BitwiseXOR=8]="BitwiseXOR",e[e.BitwiseAND=9]="BitwiseAND",e[e.Equality=10]="Equality",e[e.Relational=11]="Relational",e[e.Shift=12]="Shift",e[e.Additive=13]="Additive",e[e.Multiplicative=14]="Multiplicative",e[e.Exponentiation=15]="Exponentiation",e[e.Unary=16]="Unary",e[e.Update=17]="Update",e[e.LeftHandSide=18]="LeftHandSide",e[e.Member=19]="Member",e[e.Primary=20]="Primary",e[e.Highest=20]="Highest",e[e.Lowest=0]="Lowest",e[e.Invalid=-1]="Invalid",e))(H0||{}),JS=/\$\{/g,RS=/[\\\"\u0000-\u001f\t\v\f\b\r\n\u2028\u2029\u0085]/g,FS=/[\\\'\u0000-\u001f\t\v\f\b\r\n\u2028\u2029\u0085]/g,jS=/\r\n|[\\\`\u0000-\u001f\t\v\f\b\r\u2028\u2029\u0085]/g,BS=new Map(Object.entries({" ":"\\t","\v":"\\v","\f":"\\f","\b":"\\b","\r":"\\r","\n":"\\n","\\":"\\\\",'"':'\\"',"'":"\\'","`":"\\`","\u2028":"\\u2028","\u2029":"\\u2029","\x85":"\\u0085","\r\n":"\\r\\n"})),K0=/[^\u0000-\u007F]/g,US=/[\"\u0000-\u001f\u2028\u2029\u0085]/g,qS=/[\'\u0000-\u001f\u2028\u2029\u0085]/g,zS=new Map(Object.entries({'"':""","'":"'"})),Mo=[""," "],ji="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",WS=`\r -`,VS=` -`,xt={getNodeConstructor:()=>$y,getTokenConstructor:()=>MO,getIdentifierConstructor:()=>LO,getPrivateIdentifierConstructor:()=>$y,getSourceFileConstructor:()=>$y,getSymbolConstructor:()=>NO,getTypeConstructor:()=>IO,getSignatureConstructor:()=>OO,getSourceMapSourceConstructor:()=>JO},nb=[],Wf=/[^\w\s\/]/g,HS=[42,63],G0=["node_modules","bower_components","jspm_packages"],af=`(?!(${G0.join("|")})(/|$))`,Yy={singleAsteriskRegexFragment:"([^./]|(\\.(?!min\\.js$))?)*",doubleAsteriskRegexFragment:`(/${af}[^/.][^/]*)*?`,replaceWildcardCharacter:e=>Qy(e,Yy.singleAsteriskRegexFragment)},Zy={singleAsteriskRegexFragment:"[^/]*",doubleAsteriskRegexFragment:`(/${af}[^/.][^/]*)*?`,replaceWildcardCharacter:e=>Qy(e,Zy.singleAsteriskRegexFragment)},eh={singleAsteriskRegexFragment:"[^/]*",doubleAsteriskRegexFragment:"(/.+?)?",replaceWildcardCharacter:e=>Qy(e,eh.singleAsteriskRegexFragment)},rb={files:Yy,directories:Zy,exclude:eh},Uo=[[".ts",".tsx",".d.ts"],[".cts",".d.cts"],[".mts",".d.mts"]],ib=r_(Uo),KS=[...Uo,[".json"]],GS=[".d.ts",".d.cts",".d.mts",".cts",".mts",".ts",".tsx"],X0=[[".js",".jsx"],[".mjs"],[".cjs"]],ab=r_(X0),Tl=[[".ts",".tsx",".d.ts",".js",".jsx"],[".cts",".d.cts",".cjs"],[".mts",".d.mts",".mjs"]],XS=[...Tl,[".json"]],ob=[".d.ts",".d.cts",".d.mts"],$S=[".ts",".cts",".mts",".tsx"],Wm=[".mts",".d.mts",".mjs",".cts",".d.cts",".cjs"],$0=(e=>(e[e.Minimal=0]="Minimal",e[e.Index=1]="Index",e[e.JsExtension=2]="JsExtension",e[e.TsExtension=3]="TsExtension",e))($0||{}),Vm=[".d.ts",".d.mts",".d.cts",".mjs",".mts",".cjs",".cts",".ts",".js",".tsx",".jsx",".json"],QS={files:Xe,directories:Xe}}});function YS(){let e,t,n,i,s;return{createBaseSourceFileNode:l,createBaseIdentifierNode:d,createBasePrivateIdentifierNode:y,createBaseTokenNode:p,createBaseNode:x};function l(h){return new(s||(s=xt.getSourceFileConstructor()))(h,-1,-1)}function d(h){return new(n||(n=xt.getIdentifierConstructor()))(h,-1,-1)}function y(h){return new(i||(i=xt.getPrivateIdentifierConstructor()))(h,-1,-1)}function p(h){return new(t||(t=xt.getTokenConstructor()))(h,-1,-1)}function x(h){return new(e||(e=xt.getNodeConstructor()))(h,-1,-1)}}var fL=Ht({"src/compiler/factory/baseNodeFactory.ts"(){"use strict";En()}}),sb,mL=Ht({"src/compiler/factory/parenthesizerRules.ts"(){"use strict";En(),sb={getParenthesizeLeftSideOfBinaryForOperator:e=>ht,getParenthesizeRightSideOfBinaryForOperator:e=>ht,parenthesizeLeftSideOfBinary:(e,t)=>t,parenthesizeRightSideOfBinary:(e,t,n)=>n,parenthesizeExpressionOfComputedPropertyName:ht,parenthesizeConditionOfConditionalExpression:ht,parenthesizeBranchOfConditionalExpression:ht,parenthesizeExpressionOfExportDefault:ht,parenthesizeExpressionOfNew:e=>mi(e,jo),parenthesizeLeftSideOfAccess:e=>mi(e,jo),parenthesizeOperandOfPostfixUnary:e=>mi(e,jo),parenthesizeOperandOfPrefixUnary:e=>mi(e,Mx),parenthesizeExpressionsOfCommaDelimitedList:e=>mi(e,ua),parenthesizeExpressionForDisallowedComma:ht,parenthesizeExpressionOfExpressionStatement:ht,parenthesizeConciseBodyOfArrowFunction:ht,parenthesizeCheckTypeOfConditionalType:ht,parenthesizeExtendsTypeOfConditionalType:ht,parenthesizeConstituentTypesOfUnionType:e=>mi(e,ua),parenthesizeConstituentTypeOfUnionType:ht,parenthesizeConstituentTypesOfIntersectionType:e=>mi(e,ua),parenthesizeConstituentTypeOfIntersectionType:ht,parenthesizeOperandOfTypeOperator:ht,parenthesizeOperandOfReadonlyTypeOperator:ht,parenthesizeNonArrayTypeOfPostfixType:ht,parenthesizeElementTypesOfTupleType:e=>mi(e,ua),parenthesizeElementTypeOfTupleType:ht,parenthesizeTypeOfOptionalType:ht,parenthesizeTypeArguments:e=>e&&mi(e,ua),parenthesizeLeadingTypeArgument:ht}}}),yL=()=>{},ZS=()=>new Proxy({},{get:()=>()=>{}});function hL(e){_b.push(e)}function Vf(e,t){let n=e&8?gL:bL,i=ah(()=>e&1?sb:createParenthesizerRules(oe)),s=ah(()=>e&2?nullNodeConverters:ZS(oe)),l=Cr(r=>(o,_)=>ic(o,r,_)),d=Cr(r=>o=>nc(r,o)),y=Cr(r=>o=>rc(o,r)),p=Cr(r=>()=>Q1(r)),x=Cr(r=>o=>Ns(r,o)),h=Cr(r=>(o,_)=>Op(r,o,_)),D=Cr(r=>(o,_)=>Ip(r,o,_)),w=Cr(r=>(o,_)=>Y1(r,o,_)),g=Cr(r=>(o,_)=>$p(r,o,_)),A=Cr(r=>(o,_,u)=>cy(r,o,_,u)),B=Cr(r=>(o,_,u)=>Qp(r,o,_,u)),G=Cr(r=>(o,_,u,b)=>ly(r,o,_,u,b)),oe={get parenthesizer(){return i()},get converters(){return s()},baseFactory:t,flags:e,createNodeArray:Q,createNumericLiteral:Ze,createBigIntLiteral:Ue,createStringLiteral:ct,createStringLiteralFromNode:Dn,createRegularExpressionLiteral:sn,createLiteralLikeNode:ei,createIdentifier:$e,createTempVariable:$t,createLoopVariable:jn,createUniqueName:Qt,getGeneratedNameForNode:fr,createPrivateIdentifier:dn,createUniquePrivateName:vt,getGeneratedPrivateNameForNode:Un,createToken:gt,createSuper:lt,createThis:Zt,createNull:zn,createTrue:mt,createFalse:mr,createModifier:bt,createModifiersFromModifierFlags:cn,createQualifiedName:dt,updateQualifiedName:Qn,createComputedPropertyName:ut,updateComputedPropertyName:Jt,createTypeParameterDeclaration:ln,updateTypeParameterDeclaration:yr,createParameterDeclaration:Or,updateParameterDeclaration:ti,createDecorator:Wn,updateDecorator:hr,createPropertySignature:Ci,updatePropertySignature:Ie,createPropertyDeclaration:de,updatePropertyDeclaration:be,createMethodSignature:Ee,updateMethodSignature:et,createMethodDeclaration:Qe,updateMethodDeclaration:ee,createConstructorDeclaration:We,updateConstructorDeclaration:Re,createGetAccessorDeclaration:Nt,updateGetAccessorDeclaration:Vn,createSetAccessorDeclaration:gr,updateSetAccessorDeclaration:ni,createCallSignature:na,updateCallSignature:Pa,createConstructSignature:br,updateConstructSignature:ii,createIndexSignature:ai,updateIndexSignature:ra,createClassStaticBlockDeclaration:ae,updateClassStaticBlockDeclaration:Te,createTemplateLiteralTypeSpan:Mr,updateTemplateLiteralTypeSpan:Nn,createKeywordTypeNode:Fe,createTypePredicateNode:ki,updateTypePredicateNode:wt,createTypeReferenceNode:j,updateTypeReferenceNode:E,createFunctionTypeNode:S,updateFunctionTypeNode:J,createConstructorTypeNode:ie,updateConstructorTypeNode:me,createTypeQueryNode:De,updateTypeQueryNode:ot,createTypeLiteralNode:st,updateTypeLiteralNode:Ye,createArrayTypeNode:Ft,updateArrayTypeNode:Et,createTupleTypeNode:bn,updateTupleTypeNode:Ct,createNamedTupleMember:Pe,updateNamedTupleMember:jt,createOptionalTypeNode:Yn,updateOptionalTypeNode:Pt,createRestTypeNode:Y,updateRestTypeNode:Le,createUnionTypeNode:Zn,updateUnionTypeNode:lo,createIntersectionTypeNode:Na,updateIntersectionTypeNode:vr,createConditionalTypeNode:Je,updateConditionalTypeNode:at,createInferTypeNode:pu,updateInferTypeNode:oi,createImportTypeNode:fu,updateImportTypeNode:Ai,createParenthesizedType:uo,updateParenthesizedType:In,createThisTypeNode:Bt,createTypeOperatorNode:F,updateTypeOperatorNode:Hn,createIndexedAccessTypeNode:Di,updateIndexedAccessTypeNode:ia,createMappedTypeNode:vs,updateMappedTypeNode:Ut,createLiteralTypeNode:zt,updateLiteralTypeNode:aa,createTemplateLiteralType:du,updateTemplateLiteralType:vn,createObjectBindingPattern:mu,updateObjectBindingPattern:b1,createArrayBindingPattern:oa,updateArrayBindingPattern:v1,createBindingElement:Ts,updateBindingElement:Ia,createArrayLiteralExpression:H_,updateArrayLiteralExpression:yu,createObjectLiteralExpression:po,updateObjectLiteralExpression:T1,createPropertyAccessExpression:e&4?(r,o)=>setEmitFlags(si(r,o),262144):si,updatePropertyAccessExpression:gu,createPropertyAccessChain:e&4?(r,o,_)=>setEmitFlags(Oa(r,o,_),262144):Oa,updatePropertyAccessChain:bu,createElementAccessExpression:K_,updateElementAccessExpression:x1,createElementAccessChain:G_,updateElementAccessChain:vu,createCallExpression:Pi,updateCallExpression:S1,createCallChain:X_,updateCallChain:er,createNewExpression:Ss,updateNewExpression:$_,createTaggedTemplateExpression:Q_,updateTaggedTemplateExpression:w1,createTypeAssertion:xu,updateTypeAssertion:Su,createParenthesizedExpression:Y_,updateParenthesizedExpression:wu,createFunctionExpression:Z_,updateFunctionExpression:Eu,createArrowFunction:ec,updateArrowFunction:Cu,createDeleteExpression:tc,updateDeleteExpression:E1,createTypeOfExpression:Tn,updateTypeOfExpression:C1,createVoidExpression:Tr,updateVoidExpression:k1,createAwaitExpression:Ni,updateAwaitExpression:Ma,createPrefixUnaryExpression:nc,updatePrefixUnaryExpression:ws,createPostfixUnaryExpression:rc,updatePostfixUnaryExpression:ku,createBinaryExpression:ic,updateBinaryExpression:A1,createConditionalExpression:ac,updateConditionalExpression:D1,createTemplateExpression:Lr,updateTemplateExpression:Du,createTemplateHead:Cs,createTemplateMiddle:sc,createTemplateTail:P1,createNoSubstitutionTemplateLiteral:Nu,createTemplateLiteralLikeNode:La,createYieldExpression:Iu,updateYieldExpression:N1,createSpreadElement:Ou,updateSpreadElement:I1,createClassExpression:Mu,updateClassExpression:ks,createOmittedExpression:O1,createExpressionWithTypeArguments:Lu,updateExpressionWithTypeArguments:tr,createAsExpression:As,updateAsExpression:Ju,createNonNullExpression:Ru,updateNonNullExpression:_c,createSatisfiesExpression:Fu,updateSatisfiesExpression:cc,createNonNullChain:xr,updateNonNullChain:ju,createMetaProperty:Ds,updateMetaProperty:_i,createTemplateSpan:mo,updateTemplateSpan:Bu,createSemicolonClassElement:Uu,createBlock:Ja,updateBlock:qu,createVariableStatement:zu,updateVariableStatement:Wu,createEmptyStatement:lc,createExpressionStatement:yo,updateExpressionStatement:M1,createIfStatement:uc,updateIfStatement:L1,createDoStatement:pc,updateDoStatement:J1,createWhileStatement:Vu,updateWhileStatement:R1,createForStatement:dc,updateForStatement:Hu,createForInStatement:Ku,updateForInStatement:F1,createForOfStatement:Gu,updateForOfStatement:j1,createContinueStatement:Xu,updateContinueStatement:$u,createBreakStatement:fc,updateBreakStatement:Qu,createReturnStatement:Yu,updateReturnStatement:B1,createWithStatement:mc,updateWithStatement:Zu,createSwitchStatement:yc,updateSwitchStatement:Ra,createLabeledStatement:ep,updateLabeledStatement:tp,createThrowStatement:np,updateThrowStatement:U1,createTryStatement:rp,updateTryStatement:q1,createDebuggerStatement:ip,createVariableDeclaration:Ps,updateVariableDeclaration:ap,createVariableDeclarationList:hc,updateVariableDeclarationList:z1,createFunctionDeclaration:op,updateFunctionDeclaration:gc,createClassDeclaration:sp,updateClassDeclaration:bc,createInterfaceDeclaration:_p,updateInterfaceDeclaration:cp,createTypeAliasDeclaration:yt,updateTypeAliasDeclaration:Ii,createEnumDeclaration:vc,updateEnumDeclaration:Oi,createModuleDeclaration:lp,updateModuleDeclaration:Mt,createModuleBlock:Mi,updateModuleBlock:un,createCaseBlock:up,updateCaseBlock:V1,createNamespaceExportDeclaration:pp,updateNamespaceExportDeclaration:dp,createImportEqualsDeclaration:fp,updateImportEqualsDeclaration:mp,createImportDeclaration:yp,updateImportDeclaration:hp,createImportClause:gp,updateImportClause:bp,createAssertClause:Tc,updateAssertClause:K1,createAssertEntry:ho,updateAssertEntry:vp,createImportTypeAssertionContainer:xc,updateImportTypeAssertionContainer:Tp,createNamespaceImport:xp,updateNamespaceImport:Sc,createNamespaceExport:Sp,updateNamespaceExport:wp,createNamedImports:Ep,updateNamedImports:G1,createImportSpecifier:Cp,updateImportSpecifier:X1,createExportAssignment:wc,updateExportAssignment:Ec,createExportDeclaration:ci,updateExportDeclaration:kp,createNamedExports:Fa,updateNamedExports:Dp,createExportSpecifier:Cc,updateExportSpecifier:go,createMissingDeclaration:$1,createExternalModuleReference:Pp,updateExternalModuleReference:Np,get createJSDocAllType(){return p(318)},get createJSDocUnknownType(){return p(319)},get createJSDocNonNullableType(){return D(321)},get updateJSDocNonNullableType(){return w(321)},get createJSDocNullableType(){return D(320)},get updateJSDocNullableType(){return w(320)},get createJSDocOptionalType(){return x(322)},get updateJSDocOptionalType(){return h(322)},get createJSDocVariadicType(){return x(324)},get updateJSDocVariadicType(){return h(324)},get createJSDocNamepathType(){return x(325)},get updateJSDocNamepathType(){return h(325)},createJSDocFunctionType:Mp,updateJSDocFunctionType:Z1,createJSDocTypeLiteral:Lp,updateJSDocTypeLiteral:ey,createJSDocTypeExpression:Jp,updateJSDocTypeExpression:ty,createJSDocSignature:Rp,updateJSDocSignature:ny,createJSDocTemplateTag:Fp,updateJSDocTemplateTag:Is,createJSDocTypedefTag:vo,updateJSDocTypedefTag:kc,createJSDocParameterTag:Ac,updateJSDocParameterTag:jp,createJSDocPropertyTag:Os,updateJSDocPropertyTag:ry,createJSDocCallbackTag:Dc,updateJSDocCallbackTag:iy,createJSDocOverloadTag:Bp,updateJSDocOverloadTag:Up,createJSDocAugmentsTag:qp,updateJSDocAugmentsTag:zp,createJSDocImplementsTag:Wp,updateJSDocImplementsTag:_y,createJSDocSeeTag:Ms,updateJSDocSeeTag:Vp,createJSDocNameReference:ja,updateJSDocNameReference:ay,createJSDocMemberName:sa,updateJSDocMemberName:Ls,createJSDocLink:Hp,updateJSDocLink:oy,createJSDocLinkCode:Kp,updateJSDocLinkCode:sy,createJSDocLinkPlain:Gp,updateJSDocLinkPlain:Xp,get createJSDocTypeTag(){return B(350)},get updateJSDocTypeTag(){return G(350)},get createJSDocReturnTag(){return B(348)},get updateJSDocReturnTag(){return G(348)},get createJSDocThisTag(){return B(349)},get updateJSDocThisTag(){return G(349)},get createJSDocAuthorTag(){return g(336)},get updateJSDocAuthorTag(){return A(336)},get createJSDocClassTag(){return g(338)},get updateJSDocClassTag(){return A(338)},get createJSDocPublicTag(){return g(339)},get updateJSDocPublicTag(){return A(339)},get createJSDocPrivateTag(){return g(340)},get updateJSDocPrivateTag(){return A(340)},get createJSDocProtectedTag(){return g(341)},get updateJSDocProtectedTag(){return A(341)},get createJSDocReadonlyTag(){return g(342)},get updateJSDocReadonlyTag(){return A(342)},get createJSDocOverrideTag(){return g(343)},get updateJSDocOverrideTag(){return A(343)},get createJSDocDeprecatedTag(){return g(337)},get updateJSDocDeprecatedTag(){return A(337)},get createJSDocThrowsTag(){return B(355)},get updateJSDocThrowsTag(){return G(355)},get createJSDocSatisfiesTag(){return B(356)},get updateJSDocSatisfiesTag(){return G(356)},createJSDocEnumTag:Zp,updateJSDocEnumTag:py,createJSDocUnknownTag:Yp,updateJSDocUnknownTag:uy,createJSDocText:ed,updateJSDocText:dy,createJSDocComment:td,updateJSDocComment:Pc,createJsxElement:nd,updateJsxElement:rd,createJsxSelfClosingElement:Nc,updateJsxSelfClosingElement:fy,createJsxOpeningElement:To,updateJsxOpeningElement:id,createJsxClosingElement:ad,updateJsxClosingElement:my,createJsxFragment:fn,createJsxText:xo,updateJsxText:yy,createJsxOpeningFragment:sd,createJsxJsxClosingFragment:hy,updateJsxFragment:od,createJsxAttribute:So,updateJsxAttribute:gy,createJsxAttributes:_d,updateJsxAttributes:by,createJsxSpreadAttribute:cd,updateJsxSpreadAttribute:Ic,createJsxExpression:Ba,updateJsxExpression:vy,createJsxNamespacedName:Js,updateJsxNamespacedName:ld,createCaseClause:ud,updateCaseClause:Oc,createDefaultClause:Mc,updateDefaultClause:Ty,createHeritageClause:pd,updateHeritageClause:dd,createCatchClause:Lc,updateCatchClause:fd,createPropertyAssignment:Li,updatePropertyAssignment:xy,createShorthandPropertyAssignment:md,updateShorthandPropertyAssignment:wy,createSpreadAssignment:Jc,updateSpreadAssignment:Rr,createEnumMember:Rc,updateEnumMember:Ey,createSourceFile:Cy,updateSourceFile:vd,createRedirectedSourceFile:hd,createBundle:Td,updateBundle:Ay,createUnparsedSource:Rs,createUnparsedPrologue:Dy,createUnparsedPrepend:Py,createUnparsedTextLike:Ny,createUnparsedSyntheticReference:Iy,createInputFiles:Oy,createSyntheticExpression:xd,createSyntaxList:Sd,createNotEmittedStatement:wd,createPartiallyEmittedExpression:Ed,updatePartiallyEmittedExpression:Cd,createCommaListExpression:js,updateCommaListExpression:My,createSyntheticReferenceExpression:Ad,updateSyntheticReferenceExpression:Ly,cloneNode:Bc,get createComma(){return l(28)},get createAssignment(){return l(64)},get createLogicalOr(){return l(57)},get createLogicalAnd(){return l(56)},get createBitwiseOr(){return l(52)},get createBitwiseXor(){return l(53)},get createBitwiseAnd(){return l(51)},get createStrictEquality(){return l(37)},get createStrictInequality(){return l(38)},get createEquality(){return l(35)},get createInequality(){return l(36)},get createLessThan(){return l(30)},get createLessThanEquals(){return l(33)},get createGreaterThan(){return l(32)},get createGreaterThanEquals(){return l(34)},get createLeftShift(){return l(48)},get createRightShift(){return l(49)},get createUnsignedRightShift(){return l(50)},get createAdd(){return l(40)},get createSubtract(){return l(41)},get createMultiply(){return l(42)},get createDivide(){return l(44)},get createModulo(){return l(45)},get createExponent(){return l(43)},get createPrefixPlus(){return d(40)},get createPrefixMinus(){return d(41)},get createPrefixIncrement(){return d(46)},get createPrefixDecrement(){return d(47)},get createBitwiseNot(){return d(55)},get createLogicalNot(){return d(54)},get createPostfixIncrement(){return y(46)},get createPostfixDecrement(){return y(47)},createImmediatelyInvokedFunctionExpression:jy,createImmediatelyInvokedArrowFunction:By,createVoidZero:Bs,createExportDefault:Us,createExternalModuleExport:Uy,createTypeCheck:Dd,createMethodCall:_a,createGlobalMethodCall:wo,createFunctionBindCall:qy,createFunctionCallCall:Pd,createFunctionApplyCall:zy,createArraySliceCall:Wy,createArrayConcatCall:Nd,createObjectDefinePropertyCall:Id,createObjectGetOwnPropertyDescriptorCall:Od,createReflectGetCall:c,createReflectSetCall:f,createPropertyDescriptor:C,createCallBinding:ce,createAssignmentTargetWrapper:ve,inlineExpressions:Ge,getInternalName:Be,getLocalName:Lt,getExportName:On,getDeclarationName:ca,getNamespaceMemberName:li,getExternalModuleOrNamespaceExportName:Ji,restoreOuterExpressions:ne,restoreEnclosingLabel:_e,createUseStrictPrologue:Uc,copyPrologue:Ri,copyStandardPrologue:Md,copyCustomPrologue:qc,ensureUseStrict:Vy,liftToBlock:Ld,mergeLexicalEnvironment:Fi,updateModifiers:Jd};return hn(_b,r=>r(oe)),oe;function Q(r,o){if(r===void 0||r===Xe)r=[];else if(ua(r)){if(o===void 0||r.hasTrailingComma===o)return r.transformFlags===void 0&&cv(r),M.attachNodeArrayDebugInfo(r),r;let b=r.slice();return b.pos=r.pos,b.end=r.end,b.hasTrailingComma=o,b.transformFlags=r.transformFlags,M.attachNodeArrayDebugInfo(b),b}let _=r.length,u=_>=1&&_<=4?r.slice():r;return u.pos=-1,u.end=-1,u.hasTrailingComma=!!o,u.transformFlags=0,cv(u),M.attachNodeArrayDebugInfo(u),u}function W(r){return t.createBaseNode(r)}function se(r){let o=W(r);return o.symbol=void 0,o.localSymbol=void 0,o}function we(r,o){return r!==o&&(r.typeArguments=o.typeArguments),n(r,o)}function Ze(r,o=0){let _=se(9);return _.text=typeof r=="number"?r+"":r,_.numericLiteralFlags=o,o&384&&(_.transformFlags|=1024),_}function Ue(r){let o=qn(10);return o.text=typeof r=="string"?r:Z2(r)+"n",o.transformFlags|=32,o}function rt(r,o){let _=se(11);return _.text=r,_.singleQuote=o,_}function ct(r,o,_){let u=rt(r,o);return u.hasExtendedUnicodeEscape=_,_&&(u.transformFlags|=1024),u}function Dn(r){let o=rt(Rf(r),void 0);return o.textSourceNode=r,o}function sn(r){let o=qn(14);return o.text=r,o}function ei(r,o){switch(r){case 9:return Ze(o,0);case 10:return Ue(o);case 11:return ct(o,void 0);case 12:return xo(o,!1);case 13:return xo(o,!0);case 14:return sn(o);case 15:return La(r,o,void 0,0)}}function _n(r){let o=t.createBaseIdentifierNode(80);return o.escapedText=r,o.jsDoc=void 0,o.flowNode=void 0,o.symbol=void 0,o}function Pn(r,o,_,u){let b=_n(Ur(r));return setIdentifierAutoGenerate(b,{flags:o,id:$c,prefix:_,suffix:u}),$c++,b}function $e(r,o,_){o===void 0&&r&&(o=Al(r)),o===80&&(o=void 0);let u=_n(Ur(r));return _&&(u.flags|=128),u.escapedText==="await"&&(u.transformFlags|=67108864),u.flags&128&&(u.transformFlags|=1024),u}function $t(r,o,_,u){let b=1;o&&(b|=8);let I=Pn("",b,_,u);return r&&r(I),I}function jn(r){let o=2;return r&&(o|=8),Pn("",o,void 0,void 0)}function Qt(r,o=0,_,u){return M.assert(!(o&7),"Argument out of range: flags"),M.assert((o&48)!==32,"GeneratedIdentifierFlags.FileLevel cannot be set without also setting GeneratedIdentifierFlags.Optimistic"),Pn(r,3|o,_,u)}function fr(r,o=0,_,u){M.assert(!(o&7),"Argument out of range: flags");let b=r?$a(r)?Gf(!1,_,r,u,Ot):`generated@${getNodeId(r)}`:"";(_||u)&&(o|=16);let I=Pn(b,4|o,_,u);return I.original=r,I}function Bn(r){let o=t.createBasePrivateIdentifierNode(81);return o.escapedText=r,o.transformFlags|=16777216,o}function dn(r){return Jn(r,"#")||M.fail("First character of private identifier must be #: "+r),Bn(Ur(r))}function Yt(r,o,_,u){let b=Bn(Ur(r));return setIdentifierAutoGenerate(b,{flags:o,id:$c,prefix:_,suffix:u}),$c++,b}function vt(r,o,_){r&&!Jn(r,"#")&&M.fail("First character of private identifier must be #: "+r);let u=8|(r?3:1);return Yt(r??"",u,o,_)}function Un(r,o,_){let u=$a(r)?Gf(!0,o,r,_,Ot):`#generated@${getNodeId(r)}`,I=Yt(u,4|(o||_?16:0),o,_);return I.original=r,I}function qn(r){return t.createBaseTokenNode(r)}function gt(r){M.assert(r>=0&&r<=164,"Invalid token"),M.assert(r<=15||r>=18,"Invalid token. Use 'createTemplateLiteralLikeNode' to create template literals."),M.assert(r<=9||r>=15,"Invalid token. Use 'createLiteralLikeNode' to create literals."),M.assert(r!==80,"Invalid token. Use 'createIdentifier' to create identifiers");let o=qn(r),_=0;switch(r){case 134:_=384;break;case 125:case 123:case 124:case 148:case 128:case 138:case 87:case 133:case 150:case 162:case 146:case 151:case 103:case 147:case 163:case 154:case 136:case 155:case 116:case 159:case 157:_=1;break;case 108:_=134218752,o.flowNode=void 0;break;case 126:_=1024;break;case 129:_=16777216;break;case 110:_=16384,o.flowNode=void 0;break}return _&&(o.transformFlags|=_),o}function lt(){return gt(108)}function Zt(){return gt(110)}function zn(){return gt(106)}function mt(){return gt(112)}function mr(){return gt(97)}function bt(r){return gt(r)}function cn(r){let o=[];return r&1&&o.push(bt(95)),r&2&&o.push(bt(138)),r&1024&&o.push(bt(90)),r&2048&&o.push(bt(87)),r&4&&o.push(bt(125)),r&8&&o.push(bt(123)),r&16&&o.push(bt(124)),r&256&&o.push(bt(128)),r&32&&o.push(bt(126)),r&16384&&o.push(bt(163)),r&64&&o.push(bt(148)),r&128&&o.push(bt(129)),r&512&&o.push(bt(134)),r&32768&&o.push(bt(103)),r&65536&&o.push(bt(147)),o.length?o:void 0}function dt(r,o){let _=W(165);return _.left=r,_.right=nt(o),_.transformFlags|=$(_.left)|Qs(_.right),_.flowNode=void 0,_}function Qn(r,o,_){return r.left!==o||r.right!==_?n(dt(o,_),r):r}function ut(r){let o=W(166);return o.expression=i().parenthesizeExpressionOfComputedPropertyName(r),o.transformFlags|=$(o.expression)|1024|131072,o}function Jt(r,o){return r.expression!==o?n(ut(o),r):r}function ln(r,o,_,u){let b=se(167);return b.modifiers=Se(r),b.name=nt(o),b.constraint=_,b.default=u,b.transformFlags=1,b.expression=void 0,b.jsDoc=void 0,b}function yr(r,o,_,u,b){return r.modifiers!==o||r.name!==_||r.constraint!==u||r.default!==b?n(ln(o,_,u,b),r):r}function Or(r,o,_,u,b,I){let X=se(168);return X.modifiers=Se(r),X.dotDotDotToken=o,X.name=nt(_),X.questionToken=u,X.type=b,X.initializer=Eo(I),Jm(X.name)?X.transformFlags=1:X.transformFlags=Ne(X.modifiers)|$(X.dotDotDotToken)|Er(X.name)|$(X.questionToken)|$(X.initializer)|(X.questionToken??X.type?1:0)|(X.dotDotDotToken??X.initializer?1024:0)|(ar(X.modifiers)&16476?8192:0),X.jsDoc=void 0,X}function ti(r,o,_,u,b,I,X){return r.modifiers!==o||r.dotDotDotToken!==_||r.name!==u||r.questionToken!==b||r.type!==I||r.initializer!==X?n(Or(o,_,u,b,I,X),r):r}function Wn(r){let o=W(169);return o.expression=i().parenthesizeLeftSideOfAccess(r,!1),o.transformFlags|=$(o.expression)|1|8192|33554432,o}function hr(r,o){return r.expression!==o?n(Wn(o),r):r}function Ci(r,o,_,u){let b=se(170);return b.modifiers=Se(r),b.name=nt(o),b.type=u,b.questionToken=_,b.transformFlags=1,b.initializer=void 0,b.jsDoc=void 0,b}function Ie(r,o,_,u,b){return r.modifiers!==o||r.name!==_||r.questionToken!==u||r.type!==b?H(Ci(o,_,u,b),r):r}function H(r,o){return r!==o&&(r.initializer=o.initializer),n(r,o)}function de(r,o,_,u,b){let I=se(171);I.modifiers=Se(r),I.name=nt(o),I.questionToken=_&&xl(_)?_:void 0,I.exclamationToken=_&&Kf(_)?_:void 0,I.type=u,I.initializer=Eo(b);let X=I.flags&16777216||ar(I.modifiers)&2;return I.transformFlags=Ne(I.modifiers)|Er(I.name)|$(I.initializer)|(X||I.questionToken||I.exclamationToken||I.type?1:0)|(Za(I.name)||ar(I.modifiers)&32&&I.initializer?8192:0)|16777216,I.jsDoc=void 0,I}function be(r,o,_,u,b,I){return r.modifiers!==o||r.name!==_||r.questionToken!==(u!==void 0&&xl(u)?u:void 0)||r.exclamationToken!==(u!==void 0&&Kf(u)?u:void 0)||r.type!==b||r.initializer!==I?n(de(o,_,u,b,I),r):r}function Ee(r,o,_,u,b,I){let X=se(172);return X.modifiers=Se(r),X.name=nt(o),X.questionToken=_,X.typeParameters=Se(u),X.parameters=Se(b),X.type=I,X.transformFlags=1,X.jsDoc=void 0,X.locals=void 0,X.nextContainer=void 0,X.typeArguments=void 0,X}function et(r,o,_,u,b,I,X){return r.modifiers!==o||r.name!==_||r.questionToken!==u||r.typeParameters!==b||r.parameters!==I||r.type!==X?we(Ee(o,_,u,b,I,X),r):r}function Qe(r,o,_,u,b,I,X,ge){let Ve=se(173);if(Ve.modifiers=Se(r),Ve.asteriskToken=o,Ve.name=nt(_),Ve.questionToken=u,Ve.exclamationToken=void 0,Ve.typeParameters=Se(b),Ve.parameters=Q(I),Ve.type=X,Ve.body=ge,!Ve.body)Ve.transformFlags=1;else{let xn=ar(Ve.modifiers)&512,di=!!Ve.asteriskToken,fi=xn&&di;Ve.transformFlags=Ne(Ve.modifiers)|$(Ve.asteriskToken)|Er(Ve.name)|$(Ve.questionToken)|Ne(Ve.typeParameters)|Ne(Ve.parameters)|$(Ve.type)|$(Ve.body)&-67108865|(fi?128:xn?256:di?2048:0)|(Ve.questionToken||Ve.typeParameters||Ve.type?1:0)|1024}return Ve.typeArguments=void 0,Ve.jsDoc=void 0,Ve.locals=void 0,Ve.nextContainer=void 0,Ve.flowNode=void 0,Ve.endFlowNode=void 0,Ve.returnFlowNode=void 0,Ve}function ee(r,o,_,u,b,I,X,ge,Ve){return r.modifiers!==o||r.asteriskToken!==_||r.name!==u||r.questionToken!==b||r.typeParameters!==I||r.parameters!==X||r.type!==ge||r.body!==Ve?Z(Qe(o,_,u,b,I,X,ge,Ve),r):r}function Z(r,o){return r!==o&&(r.exclamationToken=o.exclamationToken),n(r,o)}function ae(r){let o=se(174);return o.body=r,o.transformFlags=$(r)|16777216,o.modifiers=void 0,o.jsDoc=void 0,o.locals=void 0,o.nextContainer=void 0,o.endFlowNode=void 0,o.returnFlowNode=void 0,o}function Te(r,o){return r.body!==o?Oe(ae(o),r):r}function Oe(r,o){return r!==o&&(r.modifiers=o.modifiers),n(r,o)}function We(r,o,_){let u=se(175);return u.modifiers=Se(r),u.parameters=Q(o),u.body=_,u.transformFlags=Ne(u.modifiers)|Ne(u.parameters)|$(u.body)&-67108865|1024,u.typeParameters=void 0,u.type=void 0,u.typeArguments=void 0,u.jsDoc=void 0,u.locals=void 0,u.nextContainer=void 0,u.endFlowNode=void 0,u.returnFlowNode=void 0,u}function Re(r,o,_,u){return r.modifiers!==o||r.parameters!==_||r.body!==u?Rt(We(o,_,u),r):r}function Rt(r,o){return r!==o&&(r.typeParameters=o.typeParameters,r.type=o.type),we(r,o)}function Nt(r,o,_,u,b){let I=se(176);return I.modifiers=Se(r),I.name=nt(o),I.parameters=Q(_),I.type=u,I.body=b,I.body?I.transformFlags=Ne(I.modifiers)|Er(I.name)|Ne(I.parameters)|$(I.type)|$(I.body)&-67108865|(I.type?1:0):I.transformFlags=1,I.typeArguments=void 0,I.typeParameters=void 0,I.jsDoc=void 0,I.locals=void 0,I.nextContainer=void 0,I.flowNode=void 0,I.endFlowNode=void 0,I.returnFlowNode=void 0,I}function Vn(r,o,_,u,b,I){return r.modifiers!==o||r.name!==_||r.parameters!==u||r.type!==b||r.body!==I?ta(Nt(o,_,u,b,I),r):r}function ta(r,o){return r!==o&&(r.typeParameters=o.typeParameters),we(r,o)}function gr(r,o,_,u){let b=se(177);return b.modifiers=Se(r),b.name=nt(o),b.parameters=Q(_),b.body=u,b.body?b.transformFlags=Ne(b.modifiers)|Er(b.name)|Ne(b.parameters)|$(b.body)&-67108865|(b.type?1:0):b.transformFlags=1,b.typeArguments=void 0,b.typeParameters=void 0,b.type=void 0,b.jsDoc=void 0,b.locals=void 0,b.nextContainer=void 0,b.flowNode=void 0,b.endFlowNode=void 0,b.returnFlowNode=void 0,b}function ni(r,o,_,u,b){return r.modifiers!==o||r.name!==_||r.parameters!==u||r.body!==b?ri(gr(o,_,u,b),r):r}function ri(r,o){return r!==o&&(r.typeParameters=o.typeParameters,r.type=o.type),we(r,o)}function na(r,o,_){let u=se(178);return u.typeParameters=Se(r),u.parameters=Se(o),u.type=_,u.transformFlags=1,u.jsDoc=void 0,u.locals=void 0,u.nextContainer=void 0,u.typeArguments=void 0,u}function Pa(r,o,_,u){return r.typeParameters!==o||r.parameters!==_||r.type!==u?we(na(o,_,u),r):r}function br(r,o,_){let u=se(179);return u.typeParameters=Se(r),u.parameters=Se(o),u.type=_,u.transformFlags=1,u.jsDoc=void 0,u.locals=void 0,u.nextContainer=void 0,u.typeArguments=void 0,u}function ii(r,o,_,u){return r.typeParameters!==o||r.parameters!==_||r.type!==u?we(br(o,_,u),r):r}function ai(r,o,_){let u=se(180);return u.modifiers=Se(r),u.parameters=Se(o),u.type=_,u.transformFlags=1,u.jsDoc=void 0,u.locals=void 0,u.nextContainer=void 0,u.typeArguments=void 0,u}function ra(r,o,_,u){return r.parameters!==_||r.type!==u||r.modifiers!==o?we(ai(o,_,u),r):r}function Mr(r,o){let _=W(203);return _.type=r,_.literal=o,_.transformFlags=1,_}function Nn(r,o,_){return r.type!==o||r.literal!==_?n(Mr(o,_),r):r}function Fe(r){return gt(r)}function ki(r,o,_){let u=W(181);return u.assertsModifier=r,u.parameterName=nt(o),u.type=_,u.transformFlags=1,u}function wt(r,o,_,u){return r.assertsModifier!==o||r.parameterName!==_||r.type!==u?n(ki(o,_,u),r):r}function j(r,o){let _=W(182);return _.typeName=nt(r),_.typeArguments=o&&i().parenthesizeTypeArguments(Q(o)),_.transformFlags=1,_}function E(r,o,_){return r.typeName!==o||r.typeArguments!==_?n(j(o,_),r):r}function S(r,o,_){let u=se(183);return u.typeParameters=Se(r),u.parameters=Se(o),u.type=_,u.transformFlags=1,u.modifiers=void 0,u.jsDoc=void 0,u.locals=void 0,u.nextContainer=void 0,u.typeArguments=void 0,u}function J(r,o,_,u){return r.typeParameters!==o||r.parameters!==_||r.type!==u?m(S(o,_,u),r):r}function m(r,o){return r!==o&&(r.modifiers=o.modifiers),we(r,o)}function ie(...r){return r.length===4?he(...r):r.length===3?R(...r):M.fail("Incorrect number of arguments specified.")}function he(r,o,_,u){let b=se(184);return b.modifiers=Se(r),b.typeParameters=Se(o),b.parameters=Se(_),b.type=u,b.transformFlags=1,b.jsDoc=void 0,b.locals=void 0,b.nextContainer=void 0,b.typeArguments=void 0,b}function R(r,o,_){return he(void 0,r,o,_)}function me(...r){return r.length===5?Ae(...r):r.length===4?ke(...r):M.fail("Incorrect number of arguments specified.")}function Ae(r,o,_,u,b){return r.modifiers!==o||r.typeParameters!==_||r.parameters!==u||r.type!==b?we(ie(o,_,u,b),r):r}function ke(r,o,_,u){return Ae(r,r.modifiers,o,_,u)}function De(r,o){let _=W(185);return _.exprName=r,_.typeArguments=o&&i().parenthesizeTypeArguments(o),_.transformFlags=1,_}function ot(r,o,_){return r.exprName!==o||r.typeArguments!==_?n(De(o,_),r):r}function st(r){let o=se(186);return o.members=Q(r),o.transformFlags=1,o}function Ye(r,o){return r.members!==o?n(st(o),r):r}function Ft(r){let o=W(187);return o.elementType=i().parenthesizeNonArrayTypeOfPostfixType(r),o.transformFlags=1,o}function Et(r,o){return r.elementType!==o?n(Ft(o),r):r}function bn(r){let o=W(188);return o.elements=Q(i().parenthesizeElementTypesOfTupleType(r)),o.transformFlags=1,o}function Ct(r,o){return r.elements!==o?n(bn(o),r):r}function Pe(r,o,_,u){let b=se(201);return b.dotDotDotToken=r,b.name=o,b.questionToken=_,b.type=u,b.transformFlags=1,b.jsDoc=void 0,b}function jt(r,o,_,u,b){return r.dotDotDotToken!==o||r.name!==_||r.questionToken!==u||r.type!==b?n(Pe(o,_,u,b),r):r}function Yn(r){let o=W(189);return o.type=i().parenthesizeTypeOfOptionalType(r),o.transformFlags=1,o}function Pt(r,o){return r.type!==o?n(Yn(o),r):r}function Y(r){let o=W(190);return o.type=r,o.transformFlags=1,o}function Le(r,o){return r.type!==o?n(Y(o),r):r}function _t(r,o,_){let u=W(r);return u.types=oe.createNodeArray(_(o)),u.transformFlags=1,u}function en(r,o,_){return r.types!==o?n(_t(r.kind,o,_),r):r}function Zn(r){return _t(191,r,i().parenthesizeConstituentTypesOfUnionType)}function lo(r,o){return en(r,o,i().parenthesizeConstituentTypesOfUnionType)}function Na(r){return _t(192,r,i().parenthesizeConstituentTypesOfIntersectionType)}function vr(r,o){return en(r,o,i().parenthesizeConstituentTypesOfIntersectionType)}function Je(r,o,_,u){let b=W(193);return b.checkType=i().parenthesizeCheckTypeOfConditionalType(r),b.extendsType=i().parenthesizeExtendsTypeOfConditionalType(o),b.trueType=_,b.falseType=u,b.transformFlags=1,b.locals=void 0,b.nextContainer=void 0,b}function at(r,o,_,u,b){return r.checkType!==o||r.extendsType!==_||r.trueType!==u||r.falseType!==b?n(Je(o,_,u,b),r):r}function pu(r){let o=W(194);return o.typeParameter=r,o.transformFlags=1,o}function oi(r,o){return r.typeParameter!==o?n(pu(o),r):r}function du(r,o){let _=W(202);return _.head=r,_.templateSpans=Q(o),_.transformFlags=1,_}function vn(r,o,_){return r.head!==o||r.templateSpans!==_?n(du(o,_),r):r}function fu(r,o,_,u,b=!1){let I=W(204);return I.argument=r,I.assertions=o,I.qualifier=_,I.typeArguments=u&&i().parenthesizeTypeArguments(u),I.isTypeOf=b,I.transformFlags=1,I}function Ai(r,o,_,u,b,I=r.isTypeOf){return r.argument!==o||r.assertions!==_||r.qualifier!==u||r.typeArguments!==b||r.isTypeOf!==I?n(fu(o,_,u,b,I),r):r}function uo(r){let o=W(195);return o.type=r,o.transformFlags=1,o}function In(r,o){return r.type!==o?n(uo(o),r):r}function Bt(){let r=W(196);return r.transformFlags=1,r}function F(r,o){let _=W(197);return _.operator=r,_.type=r===148?i().parenthesizeOperandOfReadonlyTypeOperator(o):i().parenthesizeOperandOfTypeOperator(o),_.transformFlags=1,_}function Hn(r,o){return r.type!==o?n(F(r.operator,o),r):r}function Di(r,o){let _=W(198);return _.objectType=i().parenthesizeNonArrayTypeOfPostfixType(r),_.indexType=o,_.transformFlags=1,_}function ia(r,o,_){return r.objectType!==o||r.indexType!==_?n(Di(o,_),r):r}function vs(r,o,_,u,b,I){let X=se(199);return X.readonlyToken=r,X.typeParameter=o,X.nameType=_,X.questionToken=u,X.type=b,X.members=I&&Q(I),X.transformFlags=1,X.locals=void 0,X.nextContainer=void 0,X}function Ut(r,o,_,u,b,I,X){return r.readonlyToken!==o||r.typeParameter!==_||r.nameType!==u||r.questionToken!==b||r.type!==I||r.members!==X?n(vs(o,_,u,b,I,X),r):r}function zt(r){let o=W(200);return o.literal=r,o.transformFlags=1,o}function aa(r,o){return r.literal!==o?n(zt(o),r):r}function mu(r){let o=W(205);return o.elements=Q(r),o.transformFlags|=Ne(o.elements)|1024|524288,o.transformFlags&32768&&(o.transformFlags|=65664),o}function b1(r,o){return r.elements!==o?n(mu(o),r):r}function oa(r){let o=W(206);return o.elements=Q(r),o.transformFlags|=Ne(o.elements)|1024|524288,o}function v1(r,o){return r.elements!==o?n(oa(o),r):r}function Ts(r,o,_,u){let b=se(207);return b.dotDotDotToken=r,b.propertyName=nt(o),b.name=nt(_),b.initializer=Eo(u),b.transformFlags|=$(b.dotDotDotToken)|Er(b.propertyName)|Er(b.name)|$(b.initializer)|(b.dotDotDotToken?32768:0)|1024,b.flowNode=void 0,b}function Ia(r,o,_,u,b){return r.propertyName!==_||r.dotDotDotToken!==o||r.name!==u||r.initializer!==b?n(Ts(o,_,u,b),r):r}function H_(r,o){let _=W(208),u=r&&Ti(r),b=Q(r,u&&Qm(u)?!0:void 0);return _.elements=i().parenthesizeExpressionsOfCommaDelimitedList(b),_.multiLine=o,_.transformFlags|=Ne(_.elements),_}function yu(r,o){return r.elements!==o?n(H_(o,r.multiLine),r):r}function po(r,o){let _=se(209);return _.properties=Q(r),_.multiLine=o,_.transformFlags|=Ne(_.properties),_.jsDoc=void 0,_}function T1(r,o){return r.properties!==o?n(po(o,r.multiLine),r):r}function hu(r,o,_){let u=se(210);return u.expression=r,u.questionDotToken=o,u.name=_,u.transformFlags=$(u.expression)|$(u.questionDotToken)|(Ce(u.name)?Qs(u.name):$(u.name)|536870912),u.jsDoc=void 0,u.flowNode=void 0,u}function si(r,o){let _=hu(i().parenthesizeLeftSideOfAccess(r,!1),void 0,nt(o));return of(r)&&(_.transformFlags|=384),_}function gu(r,o,_){return fx(r)?bu(r,o,r.questionDotToken,mi(_,Ce)):r.expression!==o||r.name!==_?n(si(o,_),r):r}function Oa(r,o,_){let u=hu(i().parenthesizeLeftSideOfAccess(r,!0),o,nt(_));return u.flags|=32,u.transformFlags|=32,u}function bu(r,o,_,u){return M.assert(!!(r.flags&32),"Cannot update a PropertyAccessExpression using updatePropertyAccessChain. Use updatePropertyAccess instead."),r.expression!==o||r.questionDotToken!==_||r.name!==u?n(Oa(o,_,u),r):r}function xs(r,o,_){let u=se(211);return u.expression=r,u.questionDotToken=o,u.argumentExpression=_,u.transformFlags|=$(u.expression)|$(u.questionDotToken)|$(u.argumentExpression),u.jsDoc=void 0,u.flowNode=void 0,u}function K_(r,o){let _=xs(i().parenthesizeLeftSideOfAccess(r,!1),void 0,ui(o));return of(r)&&(_.transformFlags|=384),_}function x1(r,o,_){return mx(r)?vu(r,o,r.questionDotToken,_):r.expression!==o||r.argumentExpression!==_?n(K_(o,_),r):r}function G_(r,o,_){let u=xs(i().parenthesizeLeftSideOfAccess(r,!0),o,ui(_));return u.flags|=32,u.transformFlags|=32,u}function vu(r,o,_,u){return M.assert(!!(r.flags&32),"Cannot update a ElementAccessExpression using updateElementAccessChain. Use updateElementAccess instead."),r.expression!==o||r.questionDotToken!==_||r.argumentExpression!==u?n(G_(o,_,u),r):r}function Tu(r,o,_,u){let b=se(212);return b.expression=r,b.questionDotToken=o,b.typeArguments=_,b.arguments=u,b.transformFlags|=$(b.expression)|$(b.questionDotToken)|Ne(b.typeArguments)|Ne(b.arguments),b.typeArguments&&(b.transformFlags|=1),Lf(b.expression)&&(b.transformFlags|=16384),b}function Pi(r,o,_){let u=Tu(i().parenthesizeLeftSideOfAccess(r,!1),void 0,Se(o),i().parenthesizeExpressionsOfCommaDelimitedList(Q(_)));return s8(u.expression)&&(u.transformFlags|=8388608),u}function S1(r,o,_,u){return T0(r)?er(r,o,r.questionDotToken,_,u):r.expression!==o||r.typeArguments!==_||r.arguments!==u?n(Pi(o,_,u),r):r}function X_(r,o,_,u){let b=Tu(i().parenthesizeLeftSideOfAccess(r,!0),o,Se(_),i().parenthesizeExpressionsOfCommaDelimitedList(Q(u)));return b.flags|=32,b.transformFlags|=32,b}function er(r,o,_,u,b){return M.assert(!!(r.flags&32),"Cannot update a CallExpression using updateCallChain. Use updateCall instead."),r.expression!==o||r.questionDotToken!==_||r.typeArguments!==u||r.arguments!==b?n(X_(o,_,u,b),r):r}function Ss(r,o,_){let u=se(213);return u.expression=i().parenthesizeExpressionOfNew(r),u.typeArguments=Se(o),u.arguments=_?i().parenthesizeExpressionsOfCommaDelimitedList(_):void 0,u.transformFlags|=$(u.expression)|Ne(u.typeArguments)|Ne(u.arguments)|32,u.typeArguments&&(u.transformFlags|=1),u}function $_(r,o,_,u){return r.expression!==o||r.typeArguments!==_||r.arguments!==u?n(Ss(o,_,u),r):r}function Q_(r,o,_){let u=W(214);return u.tag=i().parenthesizeLeftSideOfAccess(r,!1),u.typeArguments=Se(o),u.template=_,u.transformFlags|=$(u.tag)|Ne(u.typeArguments)|$(u.template)|1024,u.typeArguments&&(u.transformFlags|=1),i3(u.template)&&(u.transformFlags|=128),u}function w1(r,o,_,u){return r.tag!==o||r.typeArguments!==_||r.template!==u?n(Q_(o,_,u),r):r}function xu(r,o){let _=W(215);return _.expression=i().parenthesizeOperandOfPrefixUnary(o),_.type=r,_.transformFlags|=$(_.expression)|$(_.type)|1,_}function Su(r,o,_){return r.type!==o||r.expression!==_?n(xu(o,_),r):r}function Y_(r){let o=W(216);return o.expression=r,o.transformFlags=$(o.expression),o.jsDoc=void 0,o}function wu(r,o){return r.expression!==o?n(Y_(o),r):r}function Z_(r,o,_,u,b,I,X){let ge=se(217);ge.modifiers=Se(r),ge.asteriskToken=o,ge.name=nt(_),ge.typeParameters=Se(u),ge.parameters=Q(b),ge.type=I,ge.body=X;let Ve=ar(ge.modifiers)&512,xn=!!ge.asteriskToken,di=Ve&&xn;return ge.transformFlags=Ne(ge.modifiers)|$(ge.asteriskToken)|Er(ge.name)|Ne(ge.typeParameters)|Ne(ge.parameters)|$(ge.type)|$(ge.body)&-67108865|(di?128:Ve?256:xn?2048:0)|(ge.typeParameters||ge.type?1:0)|4194304,ge.typeArguments=void 0,ge.jsDoc=void 0,ge.locals=void 0,ge.nextContainer=void 0,ge.flowNode=void 0,ge.endFlowNode=void 0,ge.returnFlowNode=void 0,ge}function Eu(r,o,_,u,b,I,X,ge){return r.name!==u||r.modifiers!==o||r.asteriskToken!==_||r.typeParameters!==b||r.parameters!==I||r.type!==X||r.body!==ge?we(Z_(o,_,u,b,I,X,ge),r):r}function ec(r,o,_,u,b,I){let X=se(218);X.modifiers=Se(r),X.typeParameters=Se(o),X.parameters=Q(_),X.type=u,X.equalsGreaterThanToken=b??gt(39),X.body=i().parenthesizeConciseBodyOfArrowFunction(I);let ge=ar(X.modifiers)&512;return X.transformFlags=Ne(X.modifiers)|Ne(X.typeParameters)|Ne(X.parameters)|$(X.type)|$(X.equalsGreaterThanToken)|$(X.body)&-67108865|(X.typeParameters||X.type?1:0)|(ge?16640:0)|1024,X.typeArguments=void 0,X.jsDoc=void 0,X.locals=void 0,X.nextContainer=void 0,X.flowNode=void 0,X.endFlowNode=void 0,X.returnFlowNode=void 0,X}function Cu(r,o,_,u,b,I,X){return r.modifiers!==o||r.typeParameters!==_||r.parameters!==u||r.type!==b||r.equalsGreaterThanToken!==I||r.body!==X?we(ec(o,_,u,b,I,X),r):r}function tc(r){let o=W(219);return o.expression=i().parenthesizeOperandOfPrefixUnary(r),o.transformFlags|=$(o.expression),o}function E1(r,o){return r.expression!==o?n(tc(o),r):r}function Tn(r){let o=W(220);return o.expression=i().parenthesizeOperandOfPrefixUnary(r),o.transformFlags|=$(o.expression),o}function C1(r,o){return r.expression!==o?n(Tn(o),r):r}function Tr(r){let o=W(221);return o.expression=i().parenthesizeOperandOfPrefixUnary(r),o.transformFlags|=$(o.expression),o}function k1(r,o){return r.expression!==o?n(Tr(o),r):r}function Ni(r){let o=W(222);return o.expression=i().parenthesizeOperandOfPrefixUnary(r),o.transformFlags|=$(o.expression)|256|128|2097152,o}function Ma(r,o){return r.expression!==o?n(Ni(o),r):r}function nc(r,o){let _=W(223);return _.operator=r,_.operand=i().parenthesizeOperandOfPrefixUnary(o),_.transformFlags|=$(_.operand),(r===46||r===47)&&Ce(_.operand)&&!ma(_.operand)&&!eg(_.operand)&&(_.transformFlags|=268435456),_}function ws(r,o){return r.operand!==o?n(nc(r.operator,o),r):r}function rc(r,o){let _=W(224);return _.operator=o,_.operand=i().parenthesizeOperandOfPostfixUnary(r),_.transformFlags|=$(_.operand),Ce(_.operand)&&!ma(_.operand)&&!eg(_.operand)&&(_.transformFlags|=268435456),_}function ku(r,o){return r.operand!==o?n(rc(o,r.operator),r):r}function ic(r,o,_){let u=se(225),b=Rd(o),I=b.kind;return u.left=i().parenthesizeLeftSideOfBinary(I,r),u.operatorToken=b,u.right=i().parenthesizeRightSideOfBinary(I,u.left,_),u.transformFlags|=$(u.left)|$(u.operatorToken)|$(u.right),I===61?u.transformFlags|=32:I===64?ao(u.left)?u.transformFlags|=5248|Au(u.left):Ql(u.left)&&(u.transformFlags|=5120|Au(u.left)):I===43||I===68?u.transformFlags|=512:jm(I)&&(u.transformFlags|=16),I===103&&Ln(u.left)&&(u.transformFlags|=536870912),u.jsDoc=void 0,u}function Au(r){return Wb(r)?65536:0}function A1(r,o,_,u){return r.left!==o||r.operatorToken!==_||r.right!==u?n(ic(o,_,u),r):r}function ac(r,o,_,u,b){let I=W(226);return I.condition=i().parenthesizeConditionOfConditionalExpression(r),I.questionToken=o??gt(58),I.whenTrue=i().parenthesizeBranchOfConditionalExpression(_),I.colonToken=u??gt(59),I.whenFalse=i().parenthesizeBranchOfConditionalExpression(b),I.transformFlags|=$(I.condition)|$(I.questionToken)|$(I.whenTrue)|$(I.colonToken)|$(I.whenFalse),I}function D1(r,o,_,u,b,I){return r.condition!==o||r.questionToken!==_||r.whenTrue!==u||r.colonToken!==b||r.whenFalse!==I?n(ac(o,_,u,b,I),r):r}function Lr(r,o){let _=W(227);return _.head=r,_.templateSpans=Q(o),_.transformFlags|=$(_.head)|Ne(_.templateSpans)|1024,_}function Du(r,o,_){return r.head!==o||r.templateSpans!==_?n(Lr(o,_),r):r}function Es(r,o,_,u=0){M.assert(!(u&-7177),"Unsupported template flags.");let b;if(_!==void 0&&_!==o&&(b=vL(r,_),typeof b=="object"))return M.fail("Invalid raw text");if(o===void 0){if(b===void 0)return M.fail("Arguments 'text' and 'rawText' may not both be undefined.");o=b}else b!==void 0&&M.assert(o===b,"Expected argument 'text' to be the normalized (i.e. 'cooked') version of argument 'rawText'.");return o}function Pu(r){let o=1024;return r&&(o|=128),o}function fo(r,o,_,u){let b=qn(r);return b.text=o,b.rawText=_,b.templateFlags=u&7176,b.transformFlags=Pu(b.templateFlags),b}function oc(r,o,_,u){let b=se(r);return b.text=o,b.rawText=_,b.templateFlags=u&7176,b.transformFlags=Pu(b.templateFlags),b}function La(r,o,_,u){return r===15?oc(r,o,_,u):fo(r,o,_,u)}function Cs(r,o,_){return r=Es(16,r,o,_),La(16,r,o,_)}function sc(r,o,_){return r=Es(16,r,o,_),La(17,r,o,_)}function P1(r,o,_){return r=Es(16,r,o,_),La(18,r,o,_)}function Nu(r,o,_){return r=Es(16,r,o,_),oc(15,r,o,_)}function Iu(r,o){M.assert(!r||!!o,"A `YieldExpression` with an asteriskToken must have an expression.");let _=W(228);return _.expression=o&&i().parenthesizeExpressionForDisallowedComma(o),_.asteriskToken=r,_.transformFlags|=$(_.expression)|$(_.asteriskToken)|1024|128|1048576,_}function N1(r,o,_){return r.expression!==_||r.asteriskToken!==o?n(Iu(o,_),r):r}function Ou(r){let o=W(229);return o.expression=i().parenthesizeExpressionForDisallowedComma(r),o.transformFlags|=$(o.expression)|1024|32768,o}function I1(r,o){return r.expression!==o?n(Ou(o),r):r}function Mu(r,o,_,u,b){let I=se(230);return I.modifiers=Se(r),I.name=nt(o),I.typeParameters=Se(_),I.heritageClauses=Se(u),I.members=Q(b),I.transformFlags|=Ne(I.modifiers)|Er(I.name)|Ne(I.typeParameters)|Ne(I.heritageClauses)|Ne(I.members)|(I.typeParameters?1:0)|1024,I.jsDoc=void 0,I}function ks(r,o,_,u,b,I){return r.modifiers!==o||r.name!==_||r.typeParameters!==u||r.heritageClauses!==b||r.members!==I?n(Mu(o,_,u,b,I),r):r}function O1(){return W(231)}function Lu(r,o){let _=W(232);return _.expression=i().parenthesizeLeftSideOfAccess(r,!1),_.typeArguments=o&&i().parenthesizeTypeArguments(o),_.transformFlags|=$(_.expression)|Ne(_.typeArguments)|1024,_}function tr(r,o,_){return r.expression!==o||r.typeArguments!==_?n(Lu(o,_),r):r}function As(r,o){let _=W(233);return _.expression=r,_.type=o,_.transformFlags|=$(_.expression)|$(_.type)|1,_}function Ju(r,o,_){return r.expression!==o||r.type!==_?n(As(o,_),r):r}function Ru(r){let o=W(234);return o.expression=i().parenthesizeLeftSideOfAccess(r,!1),o.transformFlags|=$(o.expression)|1,o}function _c(r,o){return hx(r)?ju(r,o):r.expression!==o?n(Ru(o),r):r}function Fu(r,o){let _=W(237);return _.expression=r,_.type=o,_.transformFlags|=$(_.expression)|$(_.type)|1,_}function cc(r,o,_){return r.expression!==o||r.type!==_?n(Fu(o,_),r):r}function xr(r){let o=W(234);return o.flags|=32,o.expression=i().parenthesizeLeftSideOfAccess(r,!0),o.transformFlags|=$(o.expression)|1,o}function ju(r,o){return M.assert(!!(r.flags&32),"Cannot update a NonNullExpression using updateNonNullChain. Use updateNonNullExpression instead."),r.expression!==o?n(xr(o),r):r}function Ds(r,o){let _=W(235);switch(_.keywordToken=r,_.name=o,_.transformFlags|=$(_.name),r){case 105:_.transformFlags|=1024;break;case 102:_.transformFlags|=32;break;default:return M.assertNever(r)}return _.flowNode=void 0,_}function _i(r,o){return r.name!==o?n(Ds(r.keywordToken,o),r):r}function mo(r,o){let _=W(238);return _.expression=r,_.literal=o,_.transformFlags|=$(_.expression)|$(_.literal)|1024,_}function Bu(r,o,_){return r.expression!==o||r.literal!==_?n(mo(o,_),r):r}function Uu(){let r=W(239);return r.transformFlags|=1024,r}function Ja(r,o){let _=W(240);return _.statements=Q(r),_.multiLine=o,_.transformFlags|=Ne(_.statements),_.jsDoc=void 0,_.locals=void 0,_.nextContainer=void 0,_}function qu(r,o){return r.statements!==o?n(Ja(o,r.multiLine),r):r}function zu(r,o){let _=W(242);return _.modifiers=Se(r),_.declarationList=Wt(o)?hc(o):o,_.transformFlags|=Ne(_.modifiers)|$(_.declarationList),ar(_.modifiers)&2&&(_.transformFlags=1),_.jsDoc=void 0,_.flowNode=void 0,_}function Wu(r,o,_){return r.modifiers!==o||r.declarationList!==_?n(zu(o,_),r):r}function lc(){let r=W(241);return r.jsDoc=void 0,r}function yo(r){let o=W(243);return o.expression=i().parenthesizeExpressionOfExpressionStatement(r),o.transformFlags|=$(o.expression),o.jsDoc=void 0,o.flowNode=void 0,o}function M1(r,o){return r.expression!==o?n(yo(o),r):r}function uc(r,o,_){let u=W(244);return u.expression=r,u.thenStatement=pi(o),u.elseStatement=pi(_),u.transformFlags|=$(u.expression)|$(u.thenStatement)|$(u.elseStatement),u.jsDoc=void 0,u.flowNode=void 0,u}function L1(r,o,_,u){return r.expression!==o||r.thenStatement!==_||r.elseStatement!==u?n(uc(o,_,u),r):r}function pc(r,o){let _=W(245);return _.statement=pi(r),_.expression=o,_.transformFlags|=$(_.statement)|$(_.expression),_.jsDoc=void 0,_.flowNode=void 0,_}function J1(r,o,_){return r.statement!==o||r.expression!==_?n(pc(o,_),r):r}function Vu(r,o){let _=W(246);return _.expression=r,_.statement=pi(o),_.transformFlags|=$(_.expression)|$(_.statement),_.jsDoc=void 0,_.flowNode=void 0,_}function R1(r,o,_){return r.expression!==o||r.statement!==_?n(Vu(o,_),r):r}function dc(r,o,_,u){let b=W(247);return b.initializer=r,b.condition=o,b.incrementor=_,b.statement=pi(u),b.transformFlags|=$(b.initializer)|$(b.condition)|$(b.incrementor)|$(b.statement),b.jsDoc=void 0,b.locals=void 0,b.nextContainer=void 0,b.flowNode=void 0,b}function Hu(r,o,_,u,b){return r.initializer!==o||r.condition!==_||r.incrementor!==u||r.statement!==b?n(dc(o,_,u,b),r):r}function Ku(r,o,_){let u=W(248);return u.initializer=r,u.expression=o,u.statement=pi(_),u.transformFlags|=$(u.initializer)|$(u.expression)|$(u.statement),u.jsDoc=void 0,u.locals=void 0,u.nextContainer=void 0,u.flowNode=void 0,u}function F1(r,o,_,u){return r.initializer!==o||r.expression!==_||r.statement!==u?n(Ku(o,_,u),r):r}function Gu(r,o,_,u){let b=W(249);return b.awaitModifier=r,b.initializer=o,b.expression=i().parenthesizeExpressionForDisallowedComma(_),b.statement=pi(u),b.transformFlags|=$(b.awaitModifier)|$(b.initializer)|$(b.expression)|$(b.statement)|1024,r&&(b.transformFlags|=128),b.jsDoc=void 0,b.locals=void 0,b.nextContainer=void 0,b.flowNode=void 0,b}function j1(r,o,_,u,b){return r.awaitModifier!==o||r.initializer!==_||r.expression!==u||r.statement!==b?n(Gu(o,_,u,b),r):r}function Xu(r){let o=W(250);return o.label=nt(r),o.transformFlags|=$(o.label)|4194304,o.jsDoc=void 0,o.flowNode=void 0,o}function $u(r,o){return r.label!==o?n(Xu(o),r):r}function fc(r){let o=W(251);return o.label=nt(r),o.transformFlags|=$(o.label)|4194304,o.jsDoc=void 0,o.flowNode=void 0,o}function Qu(r,o){return r.label!==o?n(fc(o),r):r}function Yu(r){let o=W(252);return o.expression=r,o.transformFlags|=$(o.expression)|128|4194304,o.jsDoc=void 0,o.flowNode=void 0,o}function B1(r,o){return r.expression!==o?n(Yu(o),r):r}function mc(r,o){let _=W(253);return _.expression=r,_.statement=pi(o),_.transformFlags|=$(_.expression)|$(_.statement),_.jsDoc=void 0,_.flowNode=void 0,_}function Zu(r,o,_){return r.expression!==o||r.statement!==_?n(mc(o,_),r):r}function yc(r,o){let _=W(254);return _.expression=i().parenthesizeExpressionForDisallowedComma(r),_.caseBlock=o,_.transformFlags|=$(_.expression)|$(_.caseBlock),_.jsDoc=void 0,_.flowNode=void 0,_.possiblyExhaustive=!1,_}function Ra(r,o,_){return r.expression!==o||r.caseBlock!==_?n(yc(o,_),r):r}function ep(r,o){let _=W(255);return _.label=nt(r),_.statement=pi(o),_.transformFlags|=$(_.label)|$(_.statement),_.jsDoc=void 0,_.flowNode=void 0,_}function tp(r,o,_){return r.label!==o||r.statement!==_?n(ep(o,_),r):r}function np(r){let o=W(256);return o.expression=r,o.transformFlags|=$(o.expression),o.jsDoc=void 0,o.flowNode=void 0,o}function U1(r,o){return r.expression!==o?n(np(o),r):r}function rp(r,o,_){let u=W(257);return u.tryBlock=r,u.catchClause=o,u.finallyBlock=_,u.transformFlags|=$(u.tryBlock)|$(u.catchClause)|$(u.finallyBlock),u.jsDoc=void 0,u.flowNode=void 0,u}function q1(r,o,_,u){return r.tryBlock!==o||r.catchClause!==_||r.finallyBlock!==u?n(rp(o,_,u),r):r}function ip(){let r=W(258);return r.jsDoc=void 0,r.flowNode=void 0,r}function Ps(r,o,_,u){let b=se(259);return b.name=nt(r),b.exclamationToken=o,b.type=_,b.initializer=Eo(u),b.transformFlags|=Er(b.name)|$(b.initializer)|(b.exclamationToken??b.type?1:0),b.jsDoc=void 0,b}function ap(r,o,_,u,b){return r.name!==o||r.type!==u||r.exclamationToken!==_||r.initializer!==b?n(Ps(o,_,u,b),r):r}function hc(r,o=0){let _=W(260);return _.flags|=o&3,_.declarations=Q(r),_.transformFlags|=Ne(_.declarations)|4194304,o&3&&(_.transformFlags|=263168),_}function z1(r,o){return r.declarations!==o?n(hc(o,r.flags),r):r}function op(r,o,_,u,b,I,X){let ge=se(261);if(ge.modifiers=Se(r),ge.asteriskToken=o,ge.name=nt(_),ge.typeParameters=Se(u),ge.parameters=Q(b),ge.type=I,ge.body=X,!ge.body||ar(ge.modifiers)&2)ge.transformFlags=1;else{let Ve=ar(ge.modifiers)&512,xn=!!ge.asteriskToken,di=Ve&&xn;ge.transformFlags=Ne(ge.modifiers)|$(ge.asteriskToken)|Er(ge.name)|Ne(ge.typeParameters)|Ne(ge.parameters)|$(ge.type)|$(ge.body)&-67108865|(di?128:Ve?256:xn?2048:0)|(ge.typeParameters||ge.type?1:0)|4194304}return ge.typeArguments=void 0,ge.jsDoc=void 0,ge.locals=void 0,ge.nextContainer=void 0,ge.endFlowNode=void 0,ge.returnFlowNode=void 0,ge}function gc(r,o,_,u,b,I,X,ge){return r.modifiers!==o||r.asteriskToken!==_||r.name!==u||r.typeParameters!==b||r.parameters!==I||r.type!==X||r.body!==ge?W1(op(o,_,u,b,I,X,ge),r):r}function W1(r,o){return r!==o&&r.modifiers===o.modifiers&&(r.modifiers=o.modifiers),we(r,o)}function sp(r,o,_,u,b){let I=se(262);return I.modifiers=Se(r),I.name=nt(o),I.typeParameters=Se(_),I.heritageClauses=Se(u),I.members=Q(b),ar(I.modifiers)&2?I.transformFlags=1:(I.transformFlags|=Ne(I.modifiers)|Er(I.name)|Ne(I.typeParameters)|Ne(I.heritageClauses)|Ne(I.members)|(I.typeParameters?1:0)|1024,I.transformFlags&8192&&(I.transformFlags|=1)),I.jsDoc=void 0,I}function bc(r,o,_,u,b,I){return r.modifiers!==o||r.name!==_||r.typeParameters!==u||r.heritageClauses!==b||r.members!==I?n(sp(o,_,u,b,I),r):r}function _p(r,o,_,u,b){let I=se(263);return I.modifiers=Se(r),I.name=nt(o),I.typeParameters=Se(_),I.heritageClauses=Se(u),I.members=Q(b),I.transformFlags=1,I.jsDoc=void 0,I}function cp(r,o,_,u,b,I){return r.modifiers!==o||r.name!==_||r.typeParameters!==u||r.heritageClauses!==b||r.members!==I?n(_p(o,_,u,b,I),r):r}function yt(r,o,_,u){let b=se(264);return b.modifiers=Se(r),b.name=nt(o),b.typeParameters=Se(_),b.type=u,b.transformFlags=1,b.jsDoc=void 0,b.locals=void 0,b.nextContainer=void 0,b}function Ii(r,o,_,u,b){return r.modifiers!==o||r.name!==_||r.typeParameters!==u||r.type!==b?n(yt(o,_,u,b),r):r}function vc(r,o,_){let u=se(265);return u.modifiers=Se(r),u.name=nt(o),u.members=Q(_),u.transformFlags|=Ne(u.modifiers)|$(u.name)|Ne(u.members)|1,u.transformFlags&=-67108865,u.jsDoc=void 0,u}function Oi(r,o,_,u){return r.modifiers!==o||r.name!==_||r.members!==u?n(vc(o,_,u),r):r}function lp(r,o,_,u=0){let b=se(266);return b.modifiers=Se(r),b.flags|=u&1044,b.name=o,b.body=_,ar(b.modifiers)&2?b.transformFlags=1:b.transformFlags|=Ne(b.modifiers)|$(b.name)|$(b.body)|1,b.transformFlags&=-67108865,b.jsDoc=void 0,b.locals=void 0,b.nextContainer=void 0,b}function Mt(r,o,_,u){return r.modifiers!==o||r.name!==_||r.body!==u?n(lp(o,_,u,r.flags),r):r}function Mi(r){let o=W(267);return o.statements=Q(r),o.transformFlags|=Ne(o.statements),o.jsDoc=void 0,o}function un(r,o){return r.statements!==o?n(Mi(o),r):r}function up(r){let o=W(268);return o.clauses=Q(r),o.transformFlags|=Ne(o.clauses),o.locals=void 0,o.nextContainer=void 0,o}function V1(r,o){return r.clauses!==o?n(up(o),r):r}function pp(r){let o=se(269);return o.name=nt(r),o.transformFlags|=Qs(o.name)|1,o.modifiers=void 0,o.jsDoc=void 0,o}function dp(r,o){return r.name!==o?H1(pp(o),r):r}function H1(r,o){return r!==o&&(r.modifiers=o.modifiers),n(r,o)}function fp(r,o,_,u){let b=se(270);return b.modifiers=Se(r),b.name=nt(_),b.isTypeOnly=o,b.moduleReference=u,b.transformFlags|=Ne(b.modifiers)|Qs(b.name)|$(b.moduleReference),Zm(b.moduleReference)||(b.transformFlags|=1),b.transformFlags&=-67108865,b.jsDoc=void 0,b}function mp(r,o,_,u,b){return r.modifiers!==o||r.isTypeOnly!==_||r.name!==u||r.moduleReference!==b?n(fp(o,_,u,b),r):r}function yp(r,o,_,u){let b=W(271);return b.modifiers=Se(r),b.importClause=o,b.moduleSpecifier=_,b.assertClause=u,b.transformFlags|=$(b.importClause)|$(b.moduleSpecifier),b.transformFlags&=-67108865,b.jsDoc=void 0,b}function hp(r,o,_,u,b){return r.modifiers!==o||r.importClause!==_||r.moduleSpecifier!==u||r.assertClause!==b?n(yp(o,_,u,b),r):r}function gp(r,o,_){let u=se(272);return u.isTypeOnly=r,u.name=o,u.namedBindings=_,u.transformFlags|=$(u.name)|$(u.namedBindings),r&&(u.transformFlags|=1),u.transformFlags&=-67108865,u}function bp(r,o,_,u){return r.isTypeOnly!==o||r.name!==_||r.namedBindings!==u?n(gp(o,_,u),r):r}function Tc(r,o){let _=W(299);return _.elements=Q(r),_.multiLine=o,_.transformFlags|=4,_}function K1(r,o,_){return r.elements!==o||r.multiLine!==_?n(Tc(o,_),r):r}function ho(r,o){let _=W(300);return _.name=r,_.value=o,_.transformFlags|=4,_}function vp(r,o,_){return r.name!==o||r.value!==_?n(ho(o,_),r):r}function xc(r,o){let _=W(301);return _.assertClause=r,_.multiLine=o,_}function Tp(r,o,_){return r.assertClause!==o||r.multiLine!==_?n(xc(o,_),r):r}function xp(r){let o=se(273);return o.name=r,o.transformFlags|=$(o.name),o.transformFlags&=-67108865,o}function Sc(r,o){return r.name!==o?n(xp(o),r):r}function Sp(r){let o=se(279);return o.name=r,o.transformFlags|=$(o.name)|32,o.transformFlags&=-67108865,o}function wp(r,o){return r.name!==o?n(Sp(o),r):r}function Ep(r){let o=W(274);return o.elements=Q(r),o.transformFlags|=Ne(o.elements),o.transformFlags&=-67108865,o}function G1(r,o){return r.elements!==o?n(Ep(o),r):r}function Cp(r,o,_){let u=se(275);return u.isTypeOnly=r,u.propertyName=o,u.name=_,u.transformFlags|=$(u.propertyName)|$(u.name),u.transformFlags&=-67108865,u}function X1(r,o,_,u){return r.isTypeOnly!==o||r.propertyName!==_||r.name!==u?n(Cp(o,_,u),r):r}function wc(r,o,_){let u=se(276);return u.modifiers=Se(r),u.isExportEquals=o,u.expression=o?i().parenthesizeRightSideOfBinary(64,void 0,_):i().parenthesizeExpressionOfExportDefault(_),u.transformFlags|=Ne(u.modifiers)|$(u.expression),u.transformFlags&=-67108865,u.jsDoc=void 0,u}function Ec(r,o,_){return r.modifiers!==o||r.expression!==_?n(wc(o,r.isExportEquals,_),r):r}function ci(r,o,_,u,b){let I=se(277);return I.modifiers=Se(r),I.isTypeOnly=o,I.exportClause=_,I.moduleSpecifier=u,I.assertClause=b,I.transformFlags|=Ne(I.modifiers)|$(I.exportClause)|$(I.moduleSpecifier),I.transformFlags&=-67108865,I.jsDoc=void 0,I}function kp(r,o,_,u,b,I){return r.modifiers!==o||r.isTypeOnly!==_||r.exportClause!==u||r.moduleSpecifier!==b||r.assertClause!==I?Ap(ci(o,_,u,b,I),r):r}function Ap(r,o){return r!==o&&r.modifiers===o.modifiers&&(r.modifiers=o.modifiers),n(r,o)}function Fa(r){let o=W(278);return o.elements=Q(r),o.transformFlags|=Ne(o.elements),o.transformFlags&=-67108865,o}function Dp(r,o){return r.elements!==o?n(Fa(o),r):r}function Cc(r,o,_){let u=W(280);return u.isTypeOnly=r,u.propertyName=nt(o),u.name=nt(_),u.transformFlags|=$(u.propertyName)|$(u.name),u.transformFlags&=-67108865,u.jsDoc=void 0,u}function go(r,o,_,u){return r.isTypeOnly!==o||r.propertyName!==_||r.name!==u?n(Cc(o,_,u),r):r}function $1(){let r=se(281);return r.jsDoc=void 0,r}function Pp(r){let o=W(282);return o.expression=r,o.transformFlags|=$(o.expression),o.transformFlags&=-67108865,o}function Np(r,o){return r.expression!==o?n(Pp(o),r):r}function Q1(r){return W(r)}function Ip(r,o,_=!1){let u=Ns(r,_?o&&i().parenthesizeNonArrayTypeOfPostfixType(o):o);return u.postfix=_,u}function Ns(r,o){let _=W(r);return _.type=o,_}function Y1(r,o,_){return o.type!==_?n(Ip(r,_,o.postfix),o):o}function Op(r,o,_){return o.type!==_?n(Ns(r,_),o):o}function Mp(r,o){let _=se(323);return _.parameters=Se(r),_.type=o,_.transformFlags=Ne(_.parameters)|(_.type?1:0),_.jsDoc=void 0,_.locals=void 0,_.nextContainer=void 0,_.typeArguments=void 0,_}function Z1(r,o,_){return r.parameters!==o||r.type!==_?n(Mp(o,_),r):r}function Lp(r,o=!1){let _=se(328);return _.jsDocPropertyTags=Se(r),_.isArrayType=o,_}function ey(r,o,_){return r.jsDocPropertyTags!==o||r.isArrayType!==_?n(Lp(o,_),r):r}function Jp(r){let o=W(315);return o.type=r,o}function ty(r,o){return r.type!==o?n(Jp(o),r):r}function Rp(r,o,_){let u=se(329);return u.typeParameters=Se(r),u.parameters=Q(o),u.type=_,u.jsDoc=void 0,u.locals=void 0,u.nextContainer=void 0,u}function ny(r,o,_,u){return r.typeParameters!==o||r.parameters!==_||r.type!==u?n(Rp(o,_,u),r):r}function Sr(r){let o=Vd(r.kind);return r.tagName.escapedText===Ur(o)?r.tagName:$e(o)}function Jr(r,o,_){let u=W(r);return u.tagName=o,u.comment=_,u}function bo(r,o,_){let u=se(r);return u.tagName=o,u.comment=_,u}function Fp(r,o,_,u){let b=Jr(351,r??$e("template"),u);return b.constraint=o,b.typeParameters=Q(_),b}function Is(r,o=Sr(r),_,u,b){return r.tagName!==o||r.constraint!==_||r.typeParameters!==u||r.comment!==b?n(Fp(o,_,u,b),r):r}function vo(r,o,_,u){let b=bo(352,r??$e("typedef"),u);return b.typeExpression=o,b.fullName=_,b.name=tg(_),b.locals=void 0,b.nextContainer=void 0,b}function kc(r,o=Sr(r),_,u,b){return r.tagName!==o||r.typeExpression!==_||r.fullName!==u||r.comment!==b?n(vo(o,_,u,b),r):r}function Ac(r,o,_,u,b,I){let X=bo(347,r??$e("param"),I);return X.typeExpression=u,X.name=o,X.isNameFirst=!!b,X.isBracketed=_,X}function jp(r,o=Sr(r),_,u,b,I,X){return r.tagName!==o||r.name!==_||r.isBracketed!==u||r.typeExpression!==b||r.isNameFirst!==I||r.comment!==X?n(Ac(o,_,u,b,I,X),r):r}function Os(r,o,_,u,b,I){let X=bo(354,r??$e("prop"),I);return X.typeExpression=u,X.name=o,X.isNameFirst=!!b,X.isBracketed=_,X}function ry(r,o=Sr(r),_,u,b,I,X){return r.tagName!==o||r.name!==_||r.isBracketed!==u||r.typeExpression!==b||r.isNameFirst!==I||r.comment!==X?n(Os(o,_,u,b,I,X),r):r}function Dc(r,o,_,u){let b=bo(344,r??$e("callback"),u);return b.typeExpression=o,b.fullName=_,b.name=tg(_),b.locals=void 0,b.nextContainer=void 0,b}function iy(r,o=Sr(r),_,u,b){return r.tagName!==o||r.typeExpression!==_||r.fullName!==u||r.comment!==b?n(Dc(o,_,u,b),r):r}function Bp(r,o,_){let u=Jr(345,r??$e("overload"),_);return u.typeExpression=o,u}function Up(r,o=Sr(r),_,u){return r.tagName!==o||r.typeExpression!==_||r.comment!==u?n(Bp(o,_,u),r):r}function qp(r,o,_){let u=Jr(334,r??$e("augments"),_);return u.class=o,u}function zp(r,o=Sr(r),_,u){return r.tagName!==o||r.class!==_||r.comment!==u?n(qp(o,_,u),r):r}function Wp(r,o,_){let u=Jr(335,r??$e("implements"),_);return u.class=o,u}function Ms(r,o,_){let u=Jr(353,r??$e("see"),_);return u.name=o,u}function Vp(r,o,_,u){return r.tagName!==o||r.name!==_||r.comment!==u?n(Ms(o,_,u),r):r}function ja(r){let o=W(316);return o.name=r,o}function ay(r,o){return r.name!==o?n(ja(o),r):r}function sa(r,o){let _=W(317);return _.left=r,_.right=o,_.transformFlags|=$(_.left)|$(_.right),_}function Ls(r,o,_){return r.left!==o||r.right!==_?n(sa(o,_),r):r}function Hp(r,o){let _=W(330);return _.name=r,_.text=o,_}function oy(r,o,_){return r.name!==o?n(Hp(o,_),r):r}function Kp(r,o){let _=W(331);return _.name=r,_.text=o,_}function sy(r,o,_){return r.name!==o?n(Kp(o,_),r):r}function Gp(r,o){let _=W(332);return _.name=r,_.text=o,_}function Xp(r,o,_){return r.name!==o?n(Gp(o,_),r):r}function _y(r,o=Sr(r),_,u){return r.tagName!==o||r.class!==_||r.comment!==u?n(Wp(o,_,u),r):r}function $p(r,o,_){return Jr(r,o??$e(Vd(r)),_)}function cy(r,o,_=Sr(o),u){return o.tagName!==_||o.comment!==u?n($p(r,_,u),o):o}function Qp(r,o,_,u){let b=Jr(r,o??$e(Vd(r)),u);return b.typeExpression=_,b}function ly(r,o,_=Sr(o),u,b){return o.tagName!==_||o.typeExpression!==u||o.comment!==b?n(Qp(r,_,u,b),o):o}function Yp(r,o){return Jr(333,r,o)}function uy(r,o,_){return r.tagName!==o||r.comment!==_?n(Yp(o,_),r):r}function Zp(r,o,_){let u=bo(346,r??$e(Vd(346)),_);return u.typeExpression=o,u.locals=void 0,u.nextContainer=void 0,u}function py(r,o=Sr(r),_,u){return r.tagName!==o||r.typeExpression!==_||r.comment!==u?n(Zp(o,_,u),r):r}function ed(r){let o=W(327);return o.text=r,o}function dy(r,o){return r.text!==o?n(ed(o),r):r}function td(r,o){let _=W(326);return _.comment=r,_.tags=Se(o),_}function Pc(r,o,_){return r.comment!==o||r.tags!==_?n(td(o,_),r):r}function nd(r,o,_){let u=W(283);return u.openingElement=r,u.children=Q(o),u.closingElement=_,u.transformFlags|=$(u.openingElement)|Ne(u.children)|$(u.closingElement)|2,u}function rd(r,o,_,u){return r.openingElement!==o||r.children!==_||r.closingElement!==u?n(nd(o,_,u),r):r}function Nc(r,o,_){let u=W(284);return u.tagName=r,u.typeArguments=Se(o),u.attributes=_,u.transformFlags|=$(u.tagName)|Ne(u.typeArguments)|$(u.attributes)|2,u.typeArguments&&(u.transformFlags|=1),u}function fy(r,o,_,u){return r.tagName!==o||r.typeArguments!==_||r.attributes!==u?n(Nc(o,_,u),r):r}function To(r,o,_){let u=W(285);return u.tagName=r,u.typeArguments=Se(o),u.attributes=_,u.transformFlags|=$(u.tagName)|Ne(u.typeArguments)|$(u.attributes)|2,o&&(u.transformFlags|=1),u}function id(r,o,_,u){return r.tagName!==o||r.typeArguments!==_||r.attributes!==u?n(To(o,_,u),r):r}function ad(r){let o=W(286);return o.tagName=r,o.transformFlags|=$(o.tagName)|2,o}function my(r,o){return r.tagName!==o?n(ad(o),r):r}function fn(r,o,_){let u=W(287);return u.openingFragment=r,u.children=Q(o),u.closingFragment=_,u.transformFlags|=$(u.openingFragment)|Ne(u.children)|$(u.closingFragment)|2,u}function od(r,o,_,u){return r.openingFragment!==o||r.children!==_||r.closingFragment!==u?n(fn(o,_,u),r):r}function xo(r,o){let _=W(12);return _.text=r,_.containsOnlyTriviaWhiteSpaces=!!o,_.transformFlags|=2,_}function yy(r,o,_){return r.text!==o||r.containsOnlyTriviaWhiteSpaces!==_?n(xo(o,_),r):r}function sd(){let r=W(288);return r.transformFlags|=2,r}function hy(){let r=W(289);return r.transformFlags|=2,r}function So(r,o){let _=se(290);return _.name=r,_.initializer=o,_.transformFlags|=$(_.name)|$(_.initializer)|2,_}function gy(r,o,_){return r.name!==o||r.initializer!==_?n(So(o,_),r):r}function _d(r){let o=se(291);return o.properties=Q(r),o.transformFlags|=Ne(o.properties)|2,o}function by(r,o){return r.properties!==o?n(_d(o),r):r}function cd(r){let o=W(292);return o.expression=r,o.transformFlags|=$(o.expression)|2,o}function Ic(r,o){return r.expression!==o?n(cd(o),r):r}function Ba(r,o){let _=W(293);return _.dotDotDotToken=r,_.expression=o,_.transformFlags|=$(_.dotDotDotToken)|$(_.expression)|2,_}function vy(r,o){return r.expression!==o?n(Ba(r.dotDotDotToken,o),r):r}function Js(r,o){let _=W(294);return _.namespace=r,_.name=o,_.transformFlags|=$(_.namespace)|$(_.name)|2,_}function ld(r,o,_){return r.namespace!==o||r.name!==_?n(Js(o,_),r):r}function ud(r,o){let _=W(295);return _.expression=i().parenthesizeExpressionForDisallowedComma(r),_.statements=Q(o),_.transformFlags|=$(_.expression)|Ne(_.statements),_.jsDoc=void 0,_}function Oc(r,o,_){return r.expression!==o||r.statements!==_?n(ud(o,_),r):r}function Mc(r){let o=W(296);return o.statements=Q(r),o.transformFlags=Ne(o.statements),o}function Ty(r,o){return r.statements!==o?n(Mc(o),r):r}function pd(r,o){let _=W(297);switch(_.token=r,_.types=Q(o),_.transformFlags|=Ne(_.types),r){case 96:_.transformFlags|=1024;break;case 119:_.transformFlags|=1;break;default:return M.assertNever(r)}return _}function dd(r,o){return r.types!==o?n(pd(r.token,o),r):r}function Lc(r,o){let _=W(298);return _.variableDeclaration=Hy(r),_.block=o,_.transformFlags|=$(_.variableDeclaration)|$(_.block)|(r?0:64),_.locals=void 0,_.nextContainer=void 0,_}function fd(r,o,_){return r.variableDeclaration!==o||r.block!==_?n(Lc(o,_),r):r}function Li(r,o){let _=se(302);return _.name=nt(r),_.initializer=i().parenthesizeExpressionForDisallowedComma(o),_.transformFlags|=Er(_.name)|$(_.initializer),_.modifiers=void 0,_.questionToken=void 0,_.exclamationToken=void 0,_.jsDoc=void 0,_}function xy(r,o,_){return r.name!==o||r.initializer!==_?Sy(Li(o,_),r):r}function Sy(r,o){return r!==o&&(r.modifiers=o.modifiers,r.questionToken=o.questionToken,r.exclamationToken=o.exclamationToken),n(r,o)}function md(r,o){let _=se(303);return _.name=nt(r),_.objectAssignmentInitializer=o&&i().parenthesizeExpressionForDisallowedComma(o),_.transformFlags|=Qs(_.name)|$(_.objectAssignmentInitializer)|1024,_.equalsToken=void 0,_.modifiers=void 0,_.questionToken=void 0,_.exclamationToken=void 0,_.jsDoc=void 0,_}function wy(r,o,_){return r.name!==o||r.objectAssignmentInitializer!==_?yd(md(o,_),r):r}function yd(r,o){return r!==o&&(r.modifiers=o.modifiers,r.questionToken=o.questionToken,r.exclamationToken=o.exclamationToken,r.equalsToken=o.equalsToken),n(r,o)}function Jc(r){let o=se(304);return o.expression=i().parenthesizeExpressionForDisallowedComma(r),o.transformFlags|=$(o.expression)|128|65536,o.jsDoc=void 0,o}function Rr(r,o){return r.expression!==o?n(Jc(o),r):r}function Rc(r,o){let _=se(305);return _.name=nt(r),_.initializer=o&&i().parenthesizeExpressionForDisallowedComma(o),_.transformFlags|=$(_.name)|$(_.initializer)|1,_.jsDoc=void 0,_}function Ey(r,o,_){return r.name!==o||r.initializer!==_?n(Rc(o,_),r):r}function Cy(r,o,_){let u=t.createBaseSourceFileNode(311);return u.statements=Q(r),u.endOfFileToken=o,u.flags|=_,u.text="",u.fileName="",u.path="",u.resolvedPath="",u.originalFileName="",u.languageVersion=0,u.languageVariant=0,u.scriptKind=0,u.isDeclarationFile=!1,u.hasNoDefaultLib=!1,u.transformFlags|=Ne(u.statements)|$(u.endOfFileToken),u.locals=void 0,u.nextContainer=void 0,u.endFlowNode=void 0,u.nodeCount=0,u.identifierCount=0,u.symbolCount=0,u.parseDiagnostics=void 0,u.bindDiagnostics=void 0,u.bindSuggestionDiagnostics=void 0,u.lineMap=void 0,u.externalModuleIndicator=void 0,u.setExternalModuleIndicator=void 0,u.pragmas=void 0,u.checkJsDirective=void 0,u.referencedFiles=void 0,u.typeReferenceDirectives=void 0,u.libReferenceDirectives=void 0,u.amdDependencies=void 0,u.commentDirectives=void 0,u.identifiers=void 0,u.packageJsonLocations=void 0,u.packageJsonScope=void 0,u.imports=void 0,u.moduleAugmentations=void 0,u.ambientModuleNames=void 0,u.resolvedModules=void 0,u.classifiableNames=void 0,u.impliedNodeFormat=void 0,u}function hd(r){let o=Object.create(r.redirectTarget);return Object.defineProperties(o,{id:{get(){return this.redirectInfo.redirectTarget.id},set(_){this.redirectInfo.redirectTarget.id=_}},symbol:{get(){return this.redirectInfo.redirectTarget.symbol},set(_){this.redirectInfo.redirectTarget.symbol=_}}}),o.redirectInfo=r,o}function gd(r){let o=hd(r.redirectInfo);return o.flags|=r.flags&-9,o.fileName=r.fileName,o.path=r.path,o.resolvedPath=r.resolvedPath,o.originalFileName=r.originalFileName,o.packageJsonLocations=r.packageJsonLocations,o.packageJsonScope=r.packageJsonScope,o.emitNode=void 0,o}function Fc(r){let o=t.createBaseSourceFileNode(311);o.flags|=r.flags&-9;for(let _ in r)if(!(Xn(o,_)||!Xn(r,_))){if(_==="emitNode"){o.emitNode=void 0;continue}o[_]=r[_]}return o}function bd(r){let o=r.redirectInfo?gd(r):Fc(r);return Kn(o,r),o}function ky(r,o,_,u,b,I,X){let ge=bd(r);return ge.statements=Q(o),ge.isDeclarationFile=_,ge.referencedFiles=u,ge.typeReferenceDirectives=b,ge.hasNoDefaultLib=I,ge.libReferenceDirectives=X,ge.transformFlags=Ne(ge.statements)|$(ge.endOfFileToken),ge}function vd(r,o,_=r.isDeclarationFile,u=r.referencedFiles,b=r.typeReferenceDirectives,I=r.hasNoDefaultLib,X=r.libReferenceDirectives){return r.statements!==o||r.isDeclarationFile!==_||r.referencedFiles!==u||r.typeReferenceDirectives!==b||r.hasNoDefaultLib!==I||r.libReferenceDirectives!==X?n(ky(r,o,_,u,b,I,X),r):r}function Td(r,o=Xe){let _=W(312);return _.prepends=o,_.sourceFiles=r,_.syntheticFileReferences=void 0,_.syntheticTypeReferences=void 0,_.syntheticLibReferences=void 0,_.hasNoDefaultLib=void 0,_}function Ay(r,o,_=Xe){return r.sourceFiles!==o||r.prepends!==_?n(Td(o,_),r):r}function Rs(r,o,_){let u=W(313);return u.prologues=r,u.syntheticReferences=o,u.texts=_,u.fileName="",u.text="",u.referencedFiles=Xe,u.libReferenceDirectives=Xe,u.getLineAndCharacterOfPosition=b=>Xa(u,b),u}function Fs(r,o){let _=W(r);return _.data=o,_}function Dy(r){return Fs(306,r)}function Py(r,o){let _=Fs(307,r);return _.texts=o,_}function Ny(r,o){return Fs(o?309:308,r)}function Iy(r){let o=W(310);return o.data=r.data,o.section=r,o}function Oy(){let r=W(314);return r.javascriptText="",r.declarationText="",r}function xd(r,o=!1,_){let u=W(236);return u.type=r,u.isSpread=o,u.tupleNameSource=_,u}function Sd(r){let o=W(357);return o._children=r,o}function wd(r){let o=W(358);return o.original=r,He(o,r),o}function Ed(r,o){let _=W(359);return _.expression=r,_.original=o,_.transformFlags|=$(_.expression)|1,He(_,o),_}function Cd(r,o){return r.expression!==o?n(Ed(o,r.original),r):r}function kd(r){if(pa(r)&&!dl(r)&&!r.original&&!r.emitNode&&!r.id){if(M_(r))return r.elements;if(St(r)&&i8(r.operatorToken))return[r.left,r.right]}return r}function js(r){let o=W(360);return o.elements=Q(jv(r,kd)),o.transformFlags|=Ne(o.elements),o}function My(r,o){return r.elements!==o?n(js(o),r):r}function Ad(r,o){let _=W(361);return _.expression=r,_.thisArg=o,_.transformFlags|=$(_.expression)|$(_.thisArg),_}function Ly(r,o,_){return r.expression!==o||r.thisArg!==_?n(Ad(o,_),r):r}function Jy(r){let o=_n(r.escapedText);return o.flags|=r.flags&-9,o.transformFlags=r.transformFlags,Kn(o,r),setIdentifierAutoGenerate(o,{...r.emitNode.autoGenerate}),o}function jc(r){let o=_n(r.escapedText);o.flags|=r.flags&-9,o.jsDoc=r.jsDoc,o.flowNode=r.flowNode,o.symbol=r.symbol,o.transformFlags=r.transformFlags,Kn(o,r);let _=getIdentifierTypeArguments(r);return _&&setIdentifierTypeArguments(o,_),o}function Ry(r){let o=Bn(r.escapedText);return o.flags|=r.flags&-9,o.transformFlags=r.transformFlags,Kn(o,r),setIdentifierAutoGenerate(o,{...r.emitNode.autoGenerate}),o}function Fy(r){let o=Bn(r.escapedText);return o.flags|=r.flags&-9,o.transformFlags=r.transformFlags,Kn(o,r),o}function Bc(r){if(r===void 0)return r;if($r(r))return bd(r);if(ma(r))return Jy(r);if(Ce(r))return jc(r);if(Rg(r))return Ry(r);if(Ln(r))return Fy(r);let o=Ol(r.kind)?t.createBaseNode(r.kind):t.createBaseTokenNode(r.kind);o.flags|=r.flags&-9,o.transformFlags=r.transformFlags,Kn(o,r);for(let _ in r)Xn(o,_)||!Xn(r,_)||(o[_]=r[_]);return o}function jy(r,o,_){return Pi(Z_(void 0,void 0,void 0,void 0,o?[o]:[],void 0,Ja(r,!0)),void 0,_?[_]:[])}function By(r,o,_){return Pi(ec(void 0,void 0,o?[o]:[],void 0,void 0,Ja(r,!0)),void 0,_?[_]:[])}function Bs(){return Tr(Ze("0"))}function Us(r){return wc(void 0,!1,r)}function Uy(r){return ci(void 0,!1,Fa([Cc(!1,void 0,r)]))}function Dd(r,o){return o==="undefined"?oe.createStrictEquality(r,Bs()):oe.createStrictEquality(Tn(r),ct(o))}function _a(r,o,_){return T0(r)?X_(Oa(r,void 0,o),void 0,void 0,_):Pi(si(r,o),void 0,_)}function qy(r,o,_){return _a(r,"bind",[o,..._])}function Pd(r,o,_){return _a(r,"call",[o,..._])}function zy(r,o,_){return _a(r,"apply",[o,_])}function wo(r,o,_){return _a($e(r),o,_)}function Wy(r,o){return _a(r,"slice",o===void 0?[]:[ui(o)])}function Nd(r,o){return _a(r,"concat",o)}function Id(r,o,_){return wo("Object","defineProperty",[r,ui(o),_])}function Od(r,o){return wo("Object","getOwnPropertyDescriptor",[r,ui(o)])}function c(r,o,_){return wo("Reflect","get",_?[r,o,_]:[r,o])}function f(r,o,_,u){return wo("Reflect","set",u?[r,o,_,u]:[r,o,_])}function v(r,o,_){return _?(r.push(Li(o,_)),!0):!1}function C(r,o){let _=[];v(_,"enumerable",ui(r.enumerable)),v(_,"configurable",ui(r.configurable));let u=v(_,"writable",ui(r.writable));u=v(_,"value",r.value)||u;let b=v(_,"get",r.get);return b=v(_,"set",r.set)||b,M.assert(!(u&&b),"A PropertyDescriptor may not be both an accessor descriptor and a data descriptor."),po(_,!o)}function P(r,o){switch(r.kind){case 216:return wu(r,o);case 215:return Su(r,r.type,o);case 233:return Ju(r,o,r.type);case 237:return cc(r,o,r.type);case 234:return _c(r,o);case 359:return Cd(r,o)}}function U(r){return ss(r)&&pa(r)&&pa(getSourceMapRange(r))&&pa(getCommentRange(r))&&!ft(getSyntheticLeadingComments(r))&&!ft(getSyntheticTrailingComments(r))}function ne(r,o,_=15){return r&&i1(r,_)&&!U(r)?P(r,ne(r.expression,o)):o}function _e(r,o,_){if(!o)return r;let u=tp(o,o.label,A8(o.statement)?_e(r,o.statement):r);return _&&_(o),u}function pe(r,o){let _=Fl(r);switch(_.kind){case 80:return o;case 110:case 9:case 10:case 11:return!1;case 208:return _.elements.length!==0;case 209:return _.properties.length>0;default:return!0}}function ce(r,o,_,u=!1){let b=ds(r,15),I,X;return Lf(b)?(I=Zt(),X=b):of(b)?(I=Zt(),X=_!==void 0&&_<2?He($e("_super"),b):b):Vr(b)&8192?(I=Bs(),X=i().parenthesizeLeftSideOfAccess(b,!1)):Rn(b)?pe(b.expression,u)?(I=$t(o),X=si(He(oe.createAssignment(I,b.expression),b.expression),b.name),He(X,b)):(I=b.expression,X=b):ka(b)?pe(b.expression,u)?(I=$t(o),X=K_(He(oe.createAssignment(I,b.expression),b.expression),b.argumentExpression),He(X,b)):(I=b.expression,X=b):(I=Bs(),X=i().parenthesizeLeftSideOfAccess(r,!1)),{target:X,thisArg:I}}function ve(r,o){return si(Y_(po([gr(void 0,"value",[Or(void 0,void 0,r,void 0,void 0,void 0)],Ja([yo(o)]))])),"value")}function Ge(r){return r.length>10?js(r):em(r,oe.createComma)}function je(r,o,_,u=0,b){let I=b?r&&ym(r):Nl(r);if(I&&Ce(I)&&!ma(I)){let X=Vi(He(Bc(I),I),I.parent);return u|=Vr(I),_||(u|=96),o||(u|=3072),u&&setEmitFlags(X,u),X}return fr(r)}function Be(r,o,_){return je(r,o,_,98304)}function Lt(r,o,_,u){return je(r,o,_,32768,u)}function On(r,o,_){return je(r,o,_,16384)}function ca(r,o,_){return je(r,o,_)}function li(r,o,_,u){let b=si(r,pa(o)?o:Bc(o));He(b,o);let I=0;return u||(I|=96),_||(I|=3072),I&&setEmitFlags(b,I),b}function Ji(r,o,_,u){return r&&gn(o,1)?li(r,je(o),_,u):On(o,_,u)}function Ri(r,o,_,u){let b=Md(r,o,0,_);return qc(r,o,b,u)}function la(r){return cr(r.expression)&&r.expression.text==="use strict"}function Uc(){return a1(yo(ct("use strict")))}function Md(r,o,_=0,u){M.assert(o.length===0,"Prologue directives should be at the first statement in the target statements array");let b=!1,I=r.length;for(;_ge&&xn.splice(b,0,...o.slice(ge,Ve)),ge>X&&xn.splice(u,0,...o.slice(X,ge)),X>I&&xn.splice(_,0,...o.slice(I,X)),I>0)if(_===0)xn.splice(0,0,...o.slice(0,I));else{let di=new Map;for(let fi=0;fi<_;fi++){let qs=r[fi];di.set(qs.expression.text,!0)}for(let fi=I-1;fi>=0;fi--){let qs=o[fi];di.has(qs.expression.text)||xn.unshift(qs)}}return ua(r)?He(Q(xn,r.hasTrailingComma),r):r}function Jd(r,o){let _;return typeof o=="number"?_=cn(o):_=o,Jo(r)?yr(r,_,r.name,r.constraint,r.default):io(r)?ti(r,_,r.dotDotDotToken,r.name,r.questionToken,r.type,r.initializer):fb(r)?Ae(r,_,r.typeParameters,r.parameters,r.type):Wl(r)?Ie(r,_,r.name,r.questionToken,r.type):os(r)?be(r,_,r.name,r.questionToken??r.exclamationToken,r.type,r.initializer):_8(r)?et(r,_,r.name,r.questionToken,r.typeParameters,r.parameters,r.type):Vl(r)?ee(r,_,r.asteriskToken,r.name,r.questionToken,r.typeParameters,r.parameters,r.type,r.body):P_(r)?Re(r,_,r.parameters,r.body):Kl(r)?Vn(r,_,r.name,r.parameters,r.type,r.body):N_(r)?ni(r,_,r.name,r.parameters,r.body):db(r)?ra(r,_,r.parameters,r.type):Km(r)?Eu(r,_,r.asteriskToken,r.name,r.typeParameters,r.parameters,r.type,r.body):Gm(r)?Cu(r,_,r.typeParameters,r.parameters,r.type,r.equalsGreaterThanToken,r.body):$m(r)?ks(r,_,r.name,r.typeParameters,r.heritageClauses,r.members):_s(r)?Wu(r,_,r.declarationList):cs(r)?gc(r,_,r.asteriskToken,r.name,r.typeParameters,r.parameters,r.type,r.body):u_(r)?bc(r,_,r.name,r.typeParameters,r.heritageClauses,r.members):eu(r)?cp(r,_,r.name,r.typeParameters,r.heritageClauses,r.members):wb(r)?Ii(r,_,r.name,r.typeParameters,r.type):Eb(r)?Oi(r,_,r.name,r.members):Gi(r)?Mt(r,_,r.name,r.body):kb(r)?mp(r,_,r.isTypeOnly,r.name,r.moduleReference):Ab(r)?hp(r,_,r.importClause,r.moduleSpecifier,r.assertClause):ls(r)?Ec(r,_,r.expression):L_(r)?kp(r,_,r.isTypeOnly,r.exportClause,r.moduleSpecifier,r.assertClause):M.assertNever(r)}function Se(r){return r?Q(r):void 0}function nt(r){return typeof r=="string"?$e(r):r}function ui(r){return typeof r=="string"?ct(r):typeof r=="number"?Ze(r):typeof r=="boolean"?r?mt():mr():r}function Eo(r){return r&&i().parenthesizeExpressionForDisallowedComma(r)}function Rd(r){return typeof r=="number"?gt(r):r}function pi(r){return r&&Pb(r)?He(Kn(lc(),r),r):r}function Hy(r){return typeof r=="string"||r&&!Ei(r)?Ps(r,void 0,void 0,void 0):r}}function gL(e,t){return e!==t&&He(e,t),e}function bL(e,t){return e!==t&&(Kn(e,t),He(e,t)),e}function Vd(e){switch(e){case 350:return"type";case 348:return"returns";case 349:return"this";case 346:return"enum";case 336:return"author";case 338:return"class";case 339:return"public";case 340:return"private";case 341:return"protected";case 342:return"readonly";case 343:return"override";case 351:return"template";case 352:return"typedef";case 347:return"param";case 354:return"prop";case 344:return"callback";case 345:return"overload";case 334:return"augments";case 335:return"implements";default:return M.fail(`Unsupported kind: ${M.formatSyntaxKind(e)}`)}}function vL(e,t){switch(rr||(rr=as(99,!1,0)),e){case 15:rr.setText("`"+t+"`");break;case 16:rr.setText("`"+t+"${");break;case 17:rr.setText("}"+t+"${");break;case 18:rr.setText("}"+t+"`");break}let n=rr.scan();if(n===20&&(n=rr.reScanTemplateToken(!1)),rr.isUnterminated())return rr.setText(void 0),Y0;let i;switch(n){case 15:case 16:case 17:case 18:i=rr.getTokenValue();break}return i===void 0||rr.scan()!==1?(rr.setText(void 0),Y0):(rr.setText(void 0),i)}function Er(e){return e&&Ce(e)?Qs(e):$(e)}function Qs(e){return $(e)&-67108865}function TL(e,t){return t|e.transformFlags&134234112}function $(e){if(!e)return 0;let t=e.transformFlags&~e8(e.kind);return mm(e)&&Ml(e.name)?TL(e.name,t):t}function Ne(e){return e?e.transformFlags:0}function cv(e){let t=0;for(let n of e)t|=$(n);e.transformFlags=t}function e8(e){if(e>=181&&e<=204)return-2;switch(e){case 212:case 213:case 208:return-2147450880;case 266:return-1941676032;case 168:return-2147483648;case 218:return-2072174592;case 217:case 261:return-1937940480;case 260:return-2146893824;case 262:case 230:return-2147344384;case 175:return-1937948672;case 171:return-2013249536;case 173:case 176:case 177:return-2005057536;case 133:case 150:case 162:case 146:case 154:case 151:case 136:case 155:case 116:case 167:case 170:case 172:case 178:case 179:case 180:case 263:case 264:return-2;case 209:return-2147278848;case 298:return-2147418112;case 205:case 206:return-2147450880;case 215:case 237:case 233:case 359:case 216:case 108:return-2147483648;case 210:case 211:return-2147483648;default:return-2147483648}}function zc(e){return e.flags|=8,e}function xL(e,t,n){let i,s,l,d,y,p,x,h,D,w;m_(e)?(l="",d=e,y=e.length,p=t,x=n):(M.assert(t==="js"||t==="dts"),l=(t==="js"?e.javascriptPath:e.declarationPath)||"",p=t==="js"?e.javascriptMapPath:e.declarationMapPath,h=()=>t==="js"?e.javascriptText:e.declarationText,D=()=>t==="js"?e.javascriptMapText:e.declarationMapText,y=()=>h().length,e.buildInfo&&e.buildInfo.bundle&&(M.assert(n===void 0||typeof n=="boolean"),i=n,s=t==="js"?e.buildInfo.bundle.js:e.buildInfo.bundle.dts,w=e.oldFileOfCurrentEmit));let g=w?wL(M.checkDefined(s)):SL(s,i,y);return g.fileName=l,g.sourceMapPath=p,g.oldFileOfCurrentEmit=w,h&&D?(Object.defineProperty(g,"text",{get:h}),Object.defineProperty(g,"sourceMapText",{get:D})):(M.assert(!w),g.text=d??"",g.sourceMapText=x),g}function SL(e,t,n){let i,s,l,d,y,p,x,h;for(let w of e?e.sections:Xe)switch(w.kind){case"prologue":i=Tt(i,He(Ar.createUnparsedPrologue(w.data),w));break;case"emitHelpers":s=Tt(s,getAllUnscopedEmitHelpers().get(w.data));break;case"no-default-lib":h=!0;break;case"reference":l=Tt(l,{pos:-1,end:-1,fileName:w.data});break;case"type":d=Tt(d,{pos:-1,end:-1,fileName:w.data});break;case"type-import":d=Tt(d,{pos:-1,end:-1,fileName:w.data,resolutionMode:99});break;case"type-require":d=Tt(d,{pos:-1,end:-1,fileName:w.data,resolutionMode:1});break;case"lib":y=Tt(y,{pos:-1,end:-1,fileName:w.data});break;case"prepend":let g;for(let A of w.texts)(!t||A.kind!=="internal")&&(g=Tt(g,He(Ar.createUnparsedTextLike(A.data,A.kind==="internal"),A)));p=Mn(p,g),x=Tt(x,Ar.createUnparsedPrepend(w.data,g??Xe));break;case"internal":if(t){x||(x=[]);break}case"text":x=Tt(x,He(Ar.createUnparsedTextLike(w.data,w.kind==="internal"),w));break;default:M.assertNever(w)}if(!x){let w=Ar.createUnparsedTextLike(void 0,!1);zf(w,0,typeof n=="function"?n():n),x=[w]}let D=F_.createUnparsedSource(i??Xe,void 0,x);return n_(i,D),n_(x,D),n_(p,D),D.hasNoDefaultLib=h,D.helpers=s,D.referencedFiles=l||Xe,D.typeReferenceDirectives=d,D.libReferenceDirectives=y||Xe,D}function wL(e){let t,n;for(let s of e.sections)switch(s.kind){case"internal":case"text":t=Tt(t,He(Ar.createUnparsedTextLike(s.data,s.kind==="internal"),s));break;case"no-default-lib":case"reference":case"type":case"type-import":case"type-require":case"lib":n=Tt(n,He(Ar.createUnparsedSyntheticReference(s),s));break;case"prologue":case"emitHelpers":case"prepend":break;default:M.assertNever(s)}let i=Ar.createUnparsedSource(Xe,n,t??Xe);return n_(n,i),n_(t,i),i.helpers=ga(e.sources&&e.sources.helpers,s=>getAllUnscopedEmitHelpers().get(s)),i}function EL(e,t,n,i,s,l){return m_(e)?n8(void 0,e,n,i,void 0,t,s,l):t8(e,t,n,i,s,l)}function t8(e,t,n,i,s,l,d,y){let p=F_.createInputFiles();p.javascriptPath=t,p.javascriptMapPath=n,p.declarationPath=i,p.declarationMapPath=s,p.buildInfoPath=l;let x=new Map,h=A=>{if(A===void 0)return;let B=x.get(A);return B===void 0&&(B=e(A),x.set(A,B!==void 0?B:!1)),B!==!1?B:void 0},D=A=>{let B=h(A);return B!==void 0?B:`/* Input file ${A} was missing */\r -`},w;return Object.defineProperties(p,{javascriptText:{get:()=>D(t)},javascriptMapText:{get:()=>h(n)},declarationText:{get:()=>D(M.checkDefined(i))},declarationMapText:{get:()=>h(s)},buildInfo:{get:()=>{if(w===void 0&&l)if(d!=null&&d.getBuildInfo)w=d.getBuildInfo(l,y.configFilePath)??!1;else{let A=h(l);w=A!==void 0?getBuildInfo(l,A)??!1:!1}return w||void 0}}}),p}function n8(e,t,n,i,s,l,d,y,p,x,h){let D=F_.createInputFiles();return D.javascriptPath=e,D.javascriptText=t,D.javascriptMapPath=n,D.javascriptMapText=i,D.declarationPath=s,D.declarationText=l,D.declarationMapPath=d,D.declarationMapText=y,D.buildInfoPath=p,D.buildInfo=x,D.oldFileOfCurrentEmit=h,D}function CL(e,t,n){return new(uv||(uv=xt.getSourceMapSourceConstructor()))(e,t,n)}function Kn(e,t){if(e.original=t,t){let n=t.emitNode;n&&(e.emitNode=kL(n,e.emitNode))}return e}function kL(e,t){let{flags:n,internalFlags:i,leadingComments:s,trailingComments:l,commentRange:d,sourceMapRange:y,tokenSourceMapRanges:p,constantValue:x,helpers:h,startsOnNewLine:D,snippetElement:w}=e;if(t||(t={}),s&&(t.leadingComments=Mn(s.slice(),t.leadingComments)),l&&(t.trailingComments=Mn(l.slice(),t.trailingComments)),n&&(t.flags=n),i&&(t.internalFlags=i&-9),d&&(t.commentRange=d),y&&(t.sourceMapRange=y),p&&(t.tokenSourceMapRanges=AL(p,t.tokenSourceMapRanges)),x!==void 0&&(t.constantValue=x),h)for(let g of h)t.helpers=qv(t.helpers,g);return D!==void 0&&(t.startsOnNewLine=D),w!==void 0&&(t.snippetElement=w),t}function AL(e,t){t||(t=[]);for(let n in e)t[n]=e[n];return t}var $c,Q0,_b,rr,Y0,Vs,lv,Ar,uv,DL=Ht({"src/compiler/factory/nodeFactory.ts"(){"use strict";En(),$c=0,Q0=(e=>(e[e.None=0]="None",e[e.NoParenthesizerRules=1]="NoParenthesizerRules",e[e.NoNodeConverters=2]="NoNodeConverters",e[e.NoIndentationOnFreshPropertyAccess=4]="NoIndentationOnFreshPropertyAccess",e[e.NoOriginalNode=8]="NoOriginalNode",e))(Q0||{}),_b=[],Y0={},Vs=YS(),lv={createBaseSourceFileNode:e=>zc(Vs.createBaseSourceFileNode(e)),createBaseIdentifierNode:e=>zc(Vs.createBaseIdentifierNode(e)),createBasePrivateIdentifierNode:e=>zc(Vs.createBasePrivateIdentifierNode(e)),createBaseTokenNode:e=>zc(Vs.createBaseTokenNode(e)),createBaseNode:e=>zc(Vs.createBaseNode(e))},Ar=Vf(4,lv)}}),PL=()=>{},NL=()=>{};function ro(e){return e.kind===9}function cb(e){return e.kind===10}function cr(e){return e.kind===11}function Hf(e){return e.kind===12}function IL(e){return e.kind===14}function r8(e){return e.kind===15}function OL(e){return e.kind===16}function ML(e){return e.kind===17}function LL(e){return e.kind===18}function JL(e){return e.kind===26}function i8(e){return e.kind===28}function lb(e){return e.kind===40}function ub(e){return e.kind===41}function RL(e){return e.kind===42}function Kf(e){return e.kind===54}function xl(e){return e.kind===58}function FL(e){return e.kind===59}function jL(e){return e.kind===29}function BL(e){return e.kind===39}function Ce(e){return e.kind===80}function Ln(e){return e.kind===81}function a8(e){return e.kind===95}function UL(e){return e.kind===90}function Qc(e){return e.kind===134}function qL(e){return e.kind===131}function zL(e){return e.kind===135}function o8(e){return e.kind===148}function WL(e){return e.kind===126}function VL(e){return e.kind===128}function HL(e){return e.kind===163}function KL(e){return e.kind===129}function of(e){return e.kind===108}function s8(e){return e.kind===102}function GL(e){return e.kind===84}function D_(e){return e.kind===165}function Za(e){return e.kind===166}function Jo(e){return e.kind===167}function io(e){return e.kind===168}function zl(e){return e.kind===169}function Wl(e){return e.kind===170}function os(e){return e.kind===171}function _8(e){return e.kind===172}function Vl(e){return e.kind===173}function Hl(e){return e.kind===174}function P_(e){return e.kind===175}function Kl(e){return e.kind===176}function N_(e){return e.kind===177}function pb(e){return e.kind===178}function c8(e){return e.kind===179}function db(e){return e.kind===180}function l8(e){return e.kind===181}function I_(e){return e.kind===182}function Gl(e){return e.kind===183}function fb(e){return e.kind===184}function u8(e){return e.kind===185}function Hm(e){return e.kind===186}function p8(e){return e.kind===187}function d8(e){return e.kind===188}function mb(e){return e.kind===201}function f8(e){return e.kind===189}function m8(e){return e.kind===190}function y8(e){return e.kind===191}function h8(e){return e.kind===192}function g8(e){return e.kind===193}function b8(e){return e.kind===194}function yb(e){return e.kind===195}function hb(e){return e.kind===196}function v8(e){return e.kind===197}function T8(e){return e.kind===198}function x8(e){return e.kind===199}function gb(e){return e.kind===200}function Xl(e){return e.kind===204}function XL(e){return e.kind===203}function $L(e){return e.kind===202}function QL(e){return e.kind===205}function YL(e){return e.kind===206}function $l(e){return e.kind===207}function Ql(e){return e.kind===208}function ao(e){return e.kind===209}function Rn(e){return e.kind===210}function ka(e){return e.kind===211}function O_(e){return e.kind===212}function S8(e){return e.kind===213}function w8(e){return e.kind===214}function ZL(e){return e.kind===215}function ss(e){return e.kind===216}function Km(e){return e.kind===217}function Gm(e){return e.kind===218}function eJ(e){return e.kind===219}function tJ(e){return e.kind===220}function bb(e){return e.kind===221}function nJ(e){return e.kind===222}function Xm(e){return e.kind===223}function E8(e){return e.kind===224}function St(e){return e.kind===225}function rJ(e){return e.kind===226}function iJ(e){return e.kind===227}function aJ(e){return e.kind===228}function vb(e){return e.kind===229}function $m(e){return e.kind===230}function Qm(e){return e.kind===231}function Tb(e){return e.kind===232}function oJ(e){return e.kind===233}function sJ(e){return e.kind===237}function qo(e){return e.kind===234}function xb(e){return e.kind===235}function _J(e){return e.kind===236}function C8(e){return e.kind===359}function M_(e){return e.kind===360}function cJ(e){return e.kind===238}function lJ(e){return e.kind===239}function Yl(e){return e.kind===240}function _s(e){return e.kind===242}function uJ(e){return e.kind===241}function Zl(e){return e.kind===243}function pJ(e){return e.kind===244}function dJ(e){return e.kind===245}function fJ(e){return e.kind===246}function k8(e){return e.kind===247}function mJ(e){return e.kind===248}function yJ(e){return e.kind===249}function hJ(e){return e.kind===250}function gJ(e){return e.kind===251}function bJ(e){return e.kind===252}function vJ(e){return e.kind===253}function TJ(e){return e.kind===254}function A8(e){return e.kind===255}function xJ(e){return e.kind===256}function SJ(e){return e.kind===257}function wJ(e){return e.kind===258}function Ei(e){return e.kind===259}function Sb(e){return e.kind===260}function cs(e){return e.kind===261}function u_(e){return e.kind===262}function eu(e){return e.kind===263}function wb(e){return e.kind===264}function Eb(e){return e.kind===265}function Gi(e){return e.kind===266}function D8(e){return e.kind===267}function EJ(e){return e.kind===268}function Cb(e){return e.kind===269}function kb(e){return e.kind===270}function Ab(e){return e.kind===271}function CJ(e){return e.kind===272}function kJ(e){return e.kind===301}function AJ(e){return e.kind===299}function DJ(e){return e.kind===300}function Db(e){return e.kind===273}function Ym(e){return e.kind===279}function PJ(e){return e.kind===274}function P8(e){return e.kind===275}function ls(e){return e.kind===276}function L_(e){return e.kind===277}function N8(e){return e.kind===278}function I8(e){return e.kind===280}function NJ(e){return e.kind===281}function Pb(e){return e.kind===358}function IJ(e){return e.kind===361}function Zm(e){return e.kind===282}function Z0(e){return e.kind===283}function OJ(e){return e.kind===284}function Ro(e){return e.kind===285}function sf(e){return e.kind===286}function ol(e){return e.kind===287}function Nb(e){return e.kind===288}function MJ(e){return e.kind===289}function LJ(e){return e.kind===290}function Ib(e){return e.kind===291}function JJ(e){return e.kind===292}function RJ(e){return e.kind===293}function J_(e){return e.kind===294}function FJ(e){return e.kind===295}function O8(e){return e.kind===296}function Sl(e){return e.kind===297}function jJ(e){return e.kind===298}function us(e){return e.kind===302}function tu(e){return e.kind===303}function M8(e){return e.kind===304}function L8(e){return e.kind===305}function BJ(e){return e.kind===307}function $r(e){return e.kind===311}function UJ(e){return e.kind===312}function qJ(e){return e.kind===313}function J8(e){return e.kind===315}function _f(e){return e.kind===316}function Zs(e){return e.kind===317}function zJ(e){return e.kind===330}function WJ(e){return e.kind===331}function VJ(e){return e.kind===332}function HJ(e){return e.kind===318}function KJ(e){return e.kind===319}function R8(e){return e.kind===320}function GJ(e){return e.kind===321}function XJ(e){return e.kind===322}function e1(e){return e.kind===323}function $J(e){return e.kind===324}function QJ(e){return e.kind===325}function ps(e){return e.kind===326}function Ob(e){return e.kind===328}function nu(e){return e.kind===329}function t1(e){return e.kind===334}function YJ(e){return e.kind===336}function F8(e){return e.kind===338}function ZJ(e){return e.kind===344}function Mb(e){return e.kind===339}function Lb(e){return e.kind===340}function Jb(e){return e.kind===341}function Rb(e){return e.kind===342}function j8(e){return e.kind===343}function Fb(e){return e.kind===345}function jb(e){return e.kind===337}function eR(e){return e.kind===353}function B8(e){return e.kind===346}function p_(e){return e.kind===347}function Bb(e){return e.kind===348}function U8(e){return e.kind===349}function ru(e){return e.kind===350}function es(e){return e.kind===351}function tR(e){return e.kind===352}function nR(e){return e.kind===333}function rR(e){return e.kind===354}function q8(e){return e.kind===335}function Ub(e){return e.kind===356}function iR(e){return e.kind===355}function aR(e){return e.kind===357}var oR=Ht({"src/compiler/factory/nodeTests.ts"(){"use strict";En()}});function sR(e){return e.createExportDeclaration(void 0,!1,e.createNamedExports([]),void 0)}function n1(e,t,n,i){if(Za(n))return He(e.createElementAccessExpression(t,n.expression),i);{let s=He($a(n)?e.createPropertyAccessExpression(t,n):e.createElementAccessExpression(t,n),n);return addEmitFlags(s,128),s}}function qb(e,t){let n=F_.createIdentifier(e||"React");return Vi(n,Pl(t)),n}function zb(e,t,n){if(D_(t)){let i=zb(e,t.left,n),s=e.createIdentifier(Ot(t.right));return s.escapedText=t.right.escapedText,e.createPropertyAccessExpression(i,s)}else return qb(Ot(t),n)}function z8(e,t,n,i){return t?zb(e,t,i):e.createPropertyAccessExpression(qb(n,i),"createElement")}function _R(e,t,n,i){return t?zb(e,t,i):e.createPropertyAccessExpression(qb(n,i),"Fragment")}function cR(e,t,n,i,s,l){let d=[n];if(i&&d.push(i),s&&s.length>0)if(i||d.push(e.createNull()),s.length>1)for(let y of s)a1(y),d.push(y);else d.push(s[0]);return He(e.createCallExpression(t,void 0,d),l)}function lR(e,t,n,i,s,l,d){let p=[_R(e,n,i,l),e.createNull()];if(s&&s.length>0)if(s.length>1)for(let x of s)a1(x),p.push(x);else p.push(s[0]);return He(e.createCallExpression(z8(e,t,i,l),void 0,p),d)}function uR(e,t,n){if(Sb(t)){let i=cg(t.declarations),s=e.updateVariableDeclaration(i,i.name,void 0,void 0,n);return He(e.createVariableStatement(void 0,e.updateVariableDeclarationList(t,[s])),t)}else{let i=He(e.createAssignment(t,n),t);return He(e.createExpressionStatement(i),t)}}function pR(e,t,n){return Yl(t)?e.updateBlock(t,He(e.createNodeArray([n,...t.statements]),t.statements)):e.createBlock(e.createNodeArray([t,n]),!0)}function W8(e,t){if(D_(t)){let n=W8(e,t.left),i=Vi(He(e.cloneNode(t.right),t.right),t.right.parent);return He(e.createPropertyAccessExpression(n,i),t)}else return Vi(He(e.cloneNode(t),t),t.parent)}function V8(e,t){return Ce(t)?e.createStringLiteralFromNode(t):Za(t)?Vi(He(e.cloneNode(t.expression),t.expression),t.expression.parent):Vi(He(e.cloneNode(t),t),t.parent)}function dR(e,t,n,i,s){let{firstAccessor:l,getAccessor:d,setAccessor:y}=O2(t,n);if(n===l)return He(e.createObjectDefinePropertyCall(i,V8(e,n.name),e.createPropertyDescriptor({enumerable:e.createFalse(),configurable:!0,get:d&&He(Kn(e.createFunctionExpression(Mf(d),void 0,void 0,void 0,d.parameters,void 0,d.body),d),d),set:y&&He(Kn(e.createFunctionExpression(Mf(y),void 0,void 0,void 0,y.parameters,void 0,y.body),y),y)},!s)),l)}function fR(e,t,n){return Kn(He(e.createAssignment(n1(e,n,t.name,t.name),t.initializer),t),t)}function mR(e,t,n){return Kn(He(e.createAssignment(n1(e,n,t.name,t.name),e.cloneNode(t.name)),t),t)}function yR(e,t,n){return Kn(He(e.createAssignment(n1(e,n,t.name,t.name),Kn(He(e.createFunctionExpression(Mf(t),t.asteriskToken,void 0,void 0,t.parameters,void 0,t.body),t),t)),t),t)}function hR(e,t,n,i){switch(n.name&&Ln(n.name)&&M.failBadSyntaxKind(n.name,"Private identifiers are not allowed in object literals."),n.kind){case 176:case 177:return dR(e,t.properties,n,i,!!t.multiLine);case 302:return fR(e,n,i);case 303:return mR(e,n,i);case 173:return yR(e,n,i)}}function gR(e,t,n,i,s){let l=t.operator;M.assert(l===46||l===47,"Expected 'node' to be a pre- or post-increment or pre- or post-decrement expression");let d=e.createTempVariable(i);n=e.createAssignment(d,n),He(n,t.operand);let y=Xm(t)?e.createPrefixUnaryExpression(l,d):e.createPostfixUnaryExpression(d,l);return He(y,t),s&&(y=e.createAssignment(s,y),He(y,t)),n=e.createComma(n,y),He(n,t),E8(t)&&(n=e.createComma(n,d),He(n,t)),n}function bR(e){return(Vr(e)&65536)!==0}function eg(e){return(Vr(e)&32768)!==0}function vR(e){return(Vr(e)&16384)!==0}function H8(e){return cr(e.expression)&&e.expression.text==="use strict"}function K8(e){for(let t of e)if(ha(t)){if(H8(t))return t}else break}function G8(e){let t=f_(e);return t!==void 0&&ha(t)&&H8(t)}function r1(e){return e.kind===225&&e.operatorToken.kind===28}function TR(e){return r1(e)||M_(e)}function X8(e){return ss(e)&&Vt(e)&&!!gm(e)}function xR(e){let t=bm(e);return M.assertIsDefined(t),t}function i1(e,t=15){switch(e.kind){case 216:return t&16&&X8(e)?!1:(t&1)!==0;case 215:case 233:case 232:case 237:return(t&2)!==0;case 234:return(t&4)!==0;case 359:return(t&8)!==0}return!1}function ds(e,t=15){for(;i1(e,t);)e=e.expression;return e}function SR(e,t=15){let n=e.parent;for(;i1(n,t);)n=n.parent,M.assert(n);return n}function wR(e){return ds(e,6)}function a1(e){return setStartsOnNewLine(e,!0)}function $8(e){let t=Dl(e,$r),n=t&&t.emitNode;return n&&n.externalHelpersModuleName}function ER(e){let t=Dl(e,$r),n=t&&t.emitNode;return!!n&&(!!n.externalHelpersModuleName||!!n.externalHelpers)}function CR(e,t,n,i,s,l,d){if(i.importHelpers&&Qg(n,i)){let y,p=Gr(i);if(p>=5&&p<=99||n.impliedNodeFormat===99){let x=getEmitHelpers(n);if(x){let h=[];for(let D of x)if(!D.scoped){let w=D.importName;w&&wl(h,w)}if(ft(h)){h.sort(xi),y=e.createNamedImports(ga(h,g=>Gx(n,g)?e.createImportSpecifier(!1,void 0,e.createIdentifier(g)):e.createImportSpecifier(!1,e.createIdentifier(g),t.getUnscopedHelperName(g))));let D=Dl(n,$r),w=getOrCreateEmitNode(D);w.externalHelpers=!0}}}else{let x=Q8(e,n,i,s,l||d);x&&(y=e.createNamespaceImport(x))}if(y){let x=e.createImportDeclaration(void 0,e.createImportClause(!1,void 0,y),e.createStringLiteral(zm),void 0);return addInternalEmitFlags(x,2),x}}}function Q8(e,t,n,i,s){if(n.importHelpers&&Qg(t,n)){let l=$8(t);if(l)return l;let d=Gr(n),y=(i||W2(n)&&s)&&d!==4&&(d<5||t.impliedNodeFormat===1);if(!y){let p=getEmitHelpers(t);if(p){for(let x of p)if(!x.scoped){y=!0;break}}}if(y){let p=Dl(t,$r),x=getOrCreateEmitNode(p);return x.externalHelpersModuleName||(x.externalHelpersModuleName=e.createUniqueName(zm))}}}function kR(e,t,n){let i=N4(t);if(i&&!I4(t)&&!Zx(t)){let s=i.name;return ma(s)?s:e.createIdentifier(Yo(n,s)||Ot(s))}if(t.kind===271&&t.importClause||t.kind===277&&t.moduleSpecifier)return e.getGeneratedNameForNode(t)}function AR(e,t,n,i,s,l){let d=h2(t);if(d&&cr(d))return PR(t,i,e,s,l)||DR(e,d,n)||e.cloneNode(d)}function DR(e,t,n){let i=n.renamedDependencies&&n.renamedDependencies.get(t.text);return i?e.createStringLiteral(i):void 0}function Y8(e,t,n,i){if(t){if(t.moduleName)return e.createStringLiteral(t.moduleName);if(!t.isDeclarationFile&&P2(i))return e.createStringLiteral(D2(n,t.fileName))}}function PR(e,t,n,i,s){return Y8(n,i.getExternalModuleFileFromDeclaration(e),t,s)}function Z8(e){if(zg(e))return e.initializer;if(us(e)){let t=e.initializer;return Sa(t,!0)?t.right:void 0}if(tu(e))return e.objectAssignmentInitializer;if(Sa(e,!0))return e.right;if(vb(e))return Z8(e.expression)}function Fo(e){if(zg(e))return e.name;if(qg(e)){switch(e.kind){case 302:return Fo(e.initializer);case 303:return e.name;case 304:return Fo(e.expression)}return}return Sa(e,!0)?Fo(e.left):vb(e)?Fo(e.expression):e}function NR(e){switch(e.kind){case 168:case 207:return e.dotDotDotToken;case 229:case 304:return e}}function IR(e){let t=e7(e);return M.assert(!!t||M8(e),"Invalid property name for binding element."),t}function e7(e){switch(e.kind){case 207:if(e.propertyName){let n=e.propertyName;return Ln(n)?M.failBadSyntaxKind(n):Za(n)&&pv(n.expression)?n.expression:n}break;case 302:if(e.name){let n=e.name;return Ln(n)?M.failBadSyntaxKind(n):Za(n)&&pv(n.expression)?n.expression:n}break;case 304:return e.name&&Ln(e.name)?M.failBadSyntaxKind(e.name):e.name}let t=Fo(e);if(t&&Ml(t))return t}function pv(e){let t=e.kind;return t===11||t===9}function t7(e){switch(e.kind){case 205:case 206:case 208:return e.elements;case 209:return e.properties}}function tg(e){if(e){let t=e;for(;;){if(Ce(t)||!t.body)return Ce(t)?t:t.name;t=t.body}}}function OR(e){let t=e.kind;return t===175||t===177}function n7(e){let t=e.kind;return t===175||t===176||t===177}function MR(e){let t=e.kind;return t===302||t===303||t===261||t===175||t===180||t===174||t===281||t===242||t===263||t===264||t===265||t===266||t===270||t===271||t===269||t===277||t===276}function LR(e){let t=e.kind;return t===174||t===302||t===303||t===281||t===269}function JR(e){return xl(e)||Kf(e)}function RR(e){return Ce(e)||hb(e)}function FR(e){return o8(e)||lb(e)||ub(e)}function jR(e){return xl(e)||lb(e)||ub(e)}function BR(e){return Ce(e)||cr(e)}function UR(e){let t=e.kind;return t===106||t===112||t===97||Jg(e)||Xm(e)}function qR(e){return e===43}function zR(e){return e===42||e===44||e===45}function WR(e){return qR(e)||zR(e)}function VR(e){return e===40||e===41}function HR(e){return VR(e)||WR(e)}function KR(e){return e===48||e===49||e===50}function GR(e){return KR(e)||HR(e)}function XR(e){return e===30||e===33||e===32||e===34||e===104||e===103}function $R(e){return XR(e)||GR(e)}function QR(e){return e===35||e===37||e===36||e===38}function YR(e){return QR(e)||$R(e)}function ZR(e){return e===51||e===52||e===53}function eF(e){return ZR(e)||YR(e)}function tF(e){return e===56||e===57}function nF(e){return tF(e)||eF(e)}function rF(e){return e===61||nF(e)||w_(e)}function iF(e){return rF(e)||e===28}function aF(e){return iF(e.kind)}function oF(e,t,n,i,s,l){let d=new i7(e,t,n,i,s,l);return y;function y(p,x){let h={value:void 0},D=[Xf.enter],w=[p],g=[void 0],A=0;for(;D[A]!==Xf.done;)A=D[A](d,A,D,w,g,h,x);return M.assertEqual(A,0),h.value}}function r7(e){return e===95||e===90}function sF(e){let t=e.kind;return r7(t)}function _F(e){let t=e.kind;return yi(t)&&!r7(t)}function cF(e,t){if(t!==void 0)return t.length===0?t:He(e.createNodeArray([],t.hasTrailingComma),t)}function lF(e){var t;let n=e.emitNode.autoGenerate;if(n.flags&4){let i=n.id,s=e,l=s.original;for(;l;){s=l;let d=(t=s.emitNode)==null?void 0:t.autoGenerate;if($a(s)&&(d===void 0||d.flags&4&&d.id!==i))break;l=s.original}return s}return e}function ng(e,t){return typeof e=="object"?Gf(!1,e.prefix,e.node,e.suffix,t):typeof e=="string"?e.length>0&&e.charCodeAt(0)===35?e.slice(1):e:""}function uF(e,t){return typeof e=="string"?e:pF(e,M.checkDefined(t))}function pF(e,t){return Rg(e)?t(e).slice(1):ma(e)?t(e):Ln(e)?e.escapedText.slice(1):Ot(e)}function Gf(e,t,n,i,s){return t=ng(t,s),i=ng(i,s),n=uF(n,s),`${e?"#":""}${t}${n}${i}`}function dF(e,t,n,i){return e.updatePropertyDeclaration(t,n,e.getGeneratedPrivateNameForNode(t.name,void 0,"_accessor_storage"),void 0,void 0,i)}function fF(e,t,n,i){return e.createGetAccessorDeclaration(n,i,[],void 0,e.createBlock([e.createReturnStatement(e.createPropertyAccessExpression(e.createThis(),e.getGeneratedPrivateNameForNode(t.name,void 0,"_accessor_storage")))]))}function mF(e,t,n,i){return e.createSetAccessorDeclaration(n,i,[e.createParameterDeclaration(void 0,void 0,"value")],e.createBlock([e.createExpressionStatement(e.createAssignment(e.createPropertyAccessExpression(e.createThis(),e.getGeneratedPrivateNameForNode(t.name,void 0,"_accessor_storage")),e.createIdentifier("value")))]))}function yF(e){let t=e.expression;for(;;){if(t=ds(t),M_(t)){t=ba(t.elements);continue}if(r1(t)){t=t.right;continue}if(Sa(t,!0)&&ma(t.left))return t;break}}function hF(e){return ss(e)&&pa(e)&&!e.emitNode}function Yc(e,t){if(hF(e))Yc(e.expression,t);else if(r1(e))Yc(e.left,t),Yc(e.right,t);else if(M_(e))for(let n of e.elements)Yc(n,t);else t.push(e)}function gF(e){let t=[];return Yc(e,t),t}function Wb(e){if(e.transformFlags&65536)return!0;if(e.transformFlags&128)for(let t of t7(e)){let n=Fo(t);if(n&&Ax(n)&&(n.transformFlags&65536||n.transformFlags&128&&Wb(n)))return!0}return!1}var Xf,i7,bF=Ht({"src/compiler/factory/utilities.ts"(){"use strict";En(),(e=>{function t(h,D,w,g,A,B,G){let oe=D>0?A[D-1]:void 0;return M.assertEqual(w[D],t),A[D]=h.onEnter(g[D],oe,G),w[D]=y(h,t),D}e.enter=t;function n(h,D,w,g,A,B,G){M.assertEqual(w[D],n),M.assertIsDefined(h.onLeft),w[D]=y(h,n);let oe=h.onLeft(g[D].left,A[D],g[D]);return oe?(x(D,g,oe),p(D,w,g,A,oe)):D}e.left=n;function i(h,D,w,g,A,B,G){return M.assertEqual(w[D],i),M.assertIsDefined(h.onOperator),w[D]=y(h,i),h.onOperator(g[D].operatorToken,A[D],g[D]),D}e.operator=i;function s(h,D,w,g,A,B,G){M.assertEqual(w[D],s),M.assertIsDefined(h.onRight),w[D]=y(h,s);let oe=h.onRight(g[D].right,A[D],g[D]);return oe?(x(D,g,oe),p(D,w,g,A,oe)):D}e.right=s;function l(h,D,w,g,A,B,G){M.assertEqual(w[D],l),w[D]=y(h,l);let oe=h.onExit(g[D],A[D]);if(D>0){if(D--,h.foldState){let Q=w[D]===l?"right":"left";A[D]=h.foldState(A[D],oe,Q)}}else B.value=oe;return D}e.exit=l;function d(h,D,w,g,A,B,G){return M.assertEqual(w[D],d),D}e.done=d;function y(h,D){switch(D){case t:if(h.onLeft)return n;case n:if(h.onOperator)return i;case i:if(h.onRight)return s;case s:return l;case l:return d;case d:return d;default:M.fail("Invalid state")}}e.nextState=y;function p(h,D,w,g,A){return h++,D[h]=t,w[h]=A,g[h]=void 0,h}function x(h,D,w){if(M.shouldAssert(2))for(;h>=0;)M.assert(D[h]!==w,"Circular traversal detected."),h--}})(Xf||(Xf={})),i7=class{constructor(e,t,n,i,s,l){this.onEnter=e,this.onLeft=t,this.onOperator=n,this.onRight=i,this.onExit=s,this.foldState=l}}}});function He(e,t){return t?Va(e,t.pos,t.end):e}function R_(e){let t=e.kind;return t===167||t===168||t===170||t===171||t===172||t===173||t===175||t===176||t===177||t===180||t===184||t===217||t===218||t===230||t===242||t===261||t===262||t===263||t===264||t===265||t===266||t===270||t===271||t===276||t===277}function a7(e){let t=e.kind;return t===168||t===171||t===173||t===176||t===177||t===230||t===262}var vF=Ht({"src/compiler/factory/utilitiesPublic.ts"(){"use strict";En()}});function N(e,t){return t&&e(t)}function ue(e,t,n){if(n){if(t)return t(n);for(let i of n){let s=e(i);if(s)return s}}}function o7(e,t){return e.charCodeAt(t+1)===42&&e.charCodeAt(t+2)===42&&e.charCodeAt(t+3)!==47}function sl(e){return hn(e.statements,TF)||xF(e)}function TF(e){return R_(e)&&SF(e,95)||kb(e)&&Zm(e.moduleReference)||Ab(e)||ls(e)||L_(e)?e:void 0}function xF(e){return e.flags&4194304?s7(e):void 0}function s7(e){return wF(e)?e:qt(e,s7)}function SF(e,t){return ft(e.modifiers,n=>n.kind===t)}function wF(e){return xb(e)&&e.keywordToken===102&&e.name.escapedText==="meta"}function dv(e,t,n){return ue(t,n,e.typeParameters)||ue(t,n,e.parameters)||N(t,e.type)}function fv(e,t,n){return ue(t,n,e.types)}function mv(e,t,n){return N(t,e.type)}function yv(e,t,n){return ue(t,n,e.elements)}function hv(e,t,n){return N(t,e.expression)||N(t,e.questionDotToken)||ue(t,n,e.typeArguments)||ue(t,n,e.arguments)}function gv(e,t,n){return ue(t,n,e.statements)}function bv(e,t,n){return N(t,e.label)}function vv(e,t,n){return ue(t,n,e.modifiers)||N(t,e.name)||ue(t,n,e.typeParameters)||ue(t,n,e.heritageClauses)||ue(t,n,e.members)}function Tv(e,t,n){return ue(t,n,e.elements)}function xv(e,t,n){return N(t,e.propertyName)||N(t,e.name)}function Sv(e,t,n){return N(t,e.tagName)||ue(t,n,e.typeArguments)||N(t,e.attributes)}function Ao(e,t,n){return N(t,e.type)}function wv(e,t,n){return N(t,e.tagName)||(e.isNameFirst?N(t,e.name)||N(t,e.typeExpression):N(t,e.typeExpression)||N(t,e.name))||(typeof e.comment=="string"?void 0:ue(t,n,e.comment))}function Do(e,t,n){return N(t,e.tagName)||N(t,e.typeExpression)||(typeof e.comment=="string"?void 0:ue(t,n,e.comment))}function th(e,t,n){return N(t,e.name)}function qa(e,t,n){return N(t,e.tagName)||(typeof e.comment=="string"?void 0:ue(t,n,e.comment))}function EF(e,t,n){return N(t,e.expression)}function qt(e,t,n){if(e===void 0||e.kind<=164)return;let i=d7[e.kind];return i===void 0?void 0:i(e,t,n)}function rg(e,t,n){let i=Ev(e),s=[];for(;s.length=0;--y)i.push(l[y]),s.push(d)}else{let y=t(l,d);if(y){if(y==="skip")continue;return y}if(l.kind>=165)for(let p of Ev(l))i.push(p),s.push(l)}}}function Ev(e){let t=[];return qt(e,n,n),t;function n(i){t.unshift(i)}}function _7(e){e.externalModuleIndicator=sl(e)}function c7(e,t,n,i=!1,s){var l,d,y,p;(l=fa)==null||l.push(fa.Phase.Parse,"createSourceFile",{path:e},!0),Y6("beforeParse");let x;(d=yf)==null||d.logStartParseSourceFile(e);let{languageVersion:h,setExternalModuleIndicator:D,impliedNodeFormat:w}=typeof n=="object"?n:{languageVersion:n};if(h===100)x=zr.parseSourceFile(e,t,h,void 0,i,6,Pr);else{let g=w===void 0?D:A=>(A.impliedNodeFormat=w,(D||_7)(A));x=zr.parseSourceFile(e,t,h,void 0,i,s,g)}return(y=yf)==null||y.logStopParseSourceFile(),Y6("afterParse"),h5("Parse","beforeParse","afterParse"),(p=fa)==null||p.pop(),x}function CF(e,t){return zr.parseIsolatedEntityName(e,t)}function kF(e,t){return zr.parseJsonText(e,t)}function ts(e){return e.externalModuleIndicator!==void 0}function Vb(e,t,n,i=!1){let s=cf.updateSourceFile(e,t,n,i);return s.flags|=e.flags&6291456,s}function AF(e,t,n){let i=zr.JSDocParser.parseIsolatedJSDocComment(e,t,n);return i&&i.jsDoc&&zr.fixupParentReferences(i.jsDoc),i}function DF(e,t,n){return zr.JSDocParser.parseJSDocTypeExpressionForTests(e,t,n)}function l7(e){return Wr(e,ob)||Ea(e,".ts")&&Ga(h_(e),".d.")}function PF(e,t,n,i){if(e){if(e==="import")return 99;if(e==="require")return 1;i(t,n-t,K.resolution_mode_should_be_either_require_or_import)}}function u7(e,t){let n=[];for(let i of Go(t,0)||Xe){let s=t.substring(i.pos,i.end);IF(n,i,s)}e.pragmas=new Map;for(let i of n){if(e.pragmas.has(i.name)){let s=e.pragmas.get(i.name);s instanceof Array?s.push(i.args):e.pragmas.set(i.name,[s,i.args]);continue}e.pragmas.set(i.name,i.args)}}function p7(e,t){e.checkJsDirective=void 0,e.referencedFiles=[],e.typeReferenceDirectives=[],e.libReferenceDirectives=[],e.amdDependencies=[],e.hasNoDefaultLib=!1,e.pragmas.forEach((n,i)=>{switch(i){case"reference":{let s=e.referencedFiles,l=e.typeReferenceDirectives,d=e.libReferenceDirectives;hn(Gd(n),y=>{let{types:p,lib:x,path:h,["resolution-mode"]:D}=y.arguments;if(y.arguments["no-default-lib"])e.hasNoDefaultLib=!0;else if(p){let w=PF(D,p.pos,p.end,t);l.push({pos:p.pos,end:p.end,fileName:p.value,...w?{resolutionMode:w}:{}})}else x?d.push({pos:x.pos,end:x.end,fileName:x.value}):h?s.push({pos:h.pos,end:h.end,fileName:h.value}):t(y.range.pos,y.range.end-y.range.pos,K.Invalid_reference_directive_syntax)});break}case"amd-dependency":{e.amdDependencies=ga(Gd(n),s=>({name:s.arguments.name,path:s.arguments.path}));break}case"amd-module":{if(n instanceof Array)for(let s of n)e.moduleName&&t(s.range.pos,s.range.end-s.range.pos,K.An_AMD_module_cannot_have_multiple_name_assignments),e.moduleName=s.arguments.name;else e.moduleName=n.arguments.name;break}case"ts-nocheck":case"ts-check":{hn(Gd(n),s=>{(!e.checkJsDirective||s.range.pos>e.checkJsDirective.pos)&&(e.checkJsDirective={enabled:i==="ts-check",end:s.range.end,pos:s.range.pos})});break}case"jsx":case"jsxfrag":case"jsximportsource":case"jsxruntime":return;default:M.fail("Unhandled pragma kind")}})}function NF(e){if(lf.has(e))return lf.get(e);let t=new RegExp(`(\\s${e}\\s*=\\s*)(?:(?:'([^']*)')|(?:"([^"]*)"))`,"im");return lf.set(e,t),t}function IF(e,t,n){let i=t.kind===2&&f7.exec(n);if(i){let l=i[1].toLowerCase(),d=om[l];if(!d||!(d.kind&1))return;if(d.args){let y={};for(let p of d.args){let h=NF(p.name).exec(n);if(!h&&!p.optional)return;if(h){let D=h[2]||h[3];if(p.captureSpan){let w=t.pos+h.index+h[1].length+1;y[p.name]={value:D,pos:w,end:w+D.length}}else y[p.name]=D}}e.push({name:l,args:{arguments:y,range:t}})}else e.push({name:l,args:{arguments:{},range:t}});return}let s=t.kind===2&&m7.exec(n);if(s)return Cv(e,t,2,s);if(t.kind===3){let l=/@(\S+)(\s+.*)?$/gim,d;for(;d=l.exec(n);)Cv(e,t,4,d)}}function Cv(e,t,n,i){if(!i)return;let s=i[1].toLowerCase(),l=om[s];if(!l||!(l.kind&n))return;let d=i[2],y=OF(l,d);y!=="fail"&&e.push({name:s,args:{arguments:y,range:t}})}function OF(e,t){if(!t)return{};if(!e.args)return{};let n=am(t).split(/\s+/),i={};for(let s=0;snew(Nv||(Nv=xt.getSourceFileConstructor()))(e,-1,-1),createBaseIdentifierNode:e=>new(Dv||(Dv=xt.getIdentifierConstructor()))(e,-1,-1),createBasePrivateIdentifierNode:e=>new(Pv||(Pv=xt.getPrivateIdentifierConstructor()))(e,-1,-1),createBaseTokenNode:e=>new(Av||(Av=xt.getTokenConstructor()))(e,-1,-1),createBaseNode:e=>new(kv||(kv=xt.getNodeConstructor()))(e,-1,-1)},F_=Vf(1,ig),d7={165:function(t,n,i){return N(n,t.left)||N(n,t.right)},167:function(t,n,i){return ue(n,i,t.modifiers)||N(n,t.name)||N(n,t.constraint)||N(n,t.default)||N(n,t.expression)},303:function(t,n,i){return ue(n,i,t.modifiers)||N(n,t.name)||N(n,t.questionToken)||N(n,t.exclamationToken)||N(n,t.equalsToken)||N(n,t.objectAssignmentInitializer)},304:function(t,n,i){return N(n,t.expression)},168:function(t,n,i){return ue(n,i,t.modifiers)||N(n,t.dotDotDotToken)||N(n,t.name)||N(n,t.questionToken)||N(n,t.type)||N(n,t.initializer)},171:function(t,n,i){return ue(n,i,t.modifiers)||N(n,t.name)||N(n,t.questionToken)||N(n,t.exclamationToken)||N(n,t.type)||N(n,t.initializer)},170:function(t,n,i){return ue(n,i,t.modifiers)||N(n,t.name)||N(n,t.questionToken)||N(n,t.type)||N(n,t.initializer)},302:function(t,n,i){return ue(n,i,t.modifiers)||N(n,t.name)||N(n,t.questionToken)||N(n,t.exclamationToken)||N(n,t.initializer)},259:function(t,n,i){return N(n,t.name)||N(n,t.exclamationToken)||N(n,t.type)||N(n,t.initializer)},207:function(t,n,i){return N(n,t.dotDotDotToken)||N(n,t.propertyName)||N(n,t.name)||N(n,t.initializer)},180:function(t,n,i){return ue(n,i,t.modifiers)||ue(n,i,t.typeParameters)||ue(n,i,t.parameters)||N(n,t.type)},184:function(t,n,i){return ue(n,i,t.modifiers)||ue(n,i,t.typeParameters)||ue(n,i,t.parameters)||N(n,t.type)},183:function(t,n,i){return ue(n,i,t.modifiers)||ue(n,i,t.typeParameters)||ue(n,i,t.parameters)||N(n,t.type)},178:dv,179:dv,173:function(t,n,i){return ue(n,i,t.modifiers)||N(n,t.asteriskToken)||N(n,t.name)||N(n,t.questionToken)||N(n,t.exclamationToken)||ue(n,i,t.typeParameters)||ue(n,i,t.parameters)||N(n,t.type)||N(n,t.body)},172:function(t,n,i){return ue(n,i,t.modifiers)||N(n,t.name)||N(n,t.questionToken)||ue(n,i,t.typeParameters)||ue(n,i,t.parameters)||N(n,t.type)},175:function(t,n,i){return ue(n,i,t.modifiers)||N(n,t.name)||ue(n,i,t.typeParameters)||ue(n,i,t.parameters)||N(n,t.type)||N(n,t.body)},176:function(t,n,i){return ue(n,i,t.modifiers)||N(n,t.name)||ue(n,i,t.typeParameters)||ue(n,i,t.parameters)||N(n,t.type)||N(n,t.body)},177:function(t,n,i){return ue(n,i,t.modifiers)||N(n,t.name)||ue(n,i,t.typeParameters)||ue(n,i,t.parameters)||N(n,t.type)||N(n,t.body)},261:function(t,n,i){return ue(n,i,t.modifiers)||N(n,t.asteriskToken)||N(n,t.name)||ue(n,i,t.typeParameters)||ue(n,i,t.parameters)||N(n,t.type)||N(n,t.body)},217:function(t,n,i){return ue(n,i,t.modifiers)||N(n,t.asteriskToken)||N(n,t.name)||ue(n,i,t.typeParameters)||ue(n,i,t.parameters)||N(n,t.type)||N(n,t.body)},218:function(t,n,i){return ue(n,i,t.modifiers)||ue(n,i,t.typeParameters)||ue(n,i,t.parameters)||N(n,t.type)||N(n,t.equalsGreaterThanToken)||N(n,t.body)},174:function(t,n,i){return ue(n,i,t.modifiers)||N(n,t.body)},182:function(t,n,i){return N(n,t.typeName)||ue(n,i,t.typeArguments)},181:function(t,n,i){return N(n,t.assertsModifier)||N(n,t.parameterName)||N(n,t.type)},185:function(t,n,i){return N(n,t.exprName)||ue(n,i,t.typeArguments)},186:function(t,n,i){return ue(n,i,t.members)},187:function(t,n,i){return N(n,t.elementType)},188:function(t,n,i){return ue(n,i,t.elements)},191:fv,192:fv,193:function(t,n,i){return N(n,t.checkType)||N(n,t.extendsType)||N(n,t.trueType)||N(n,t.falseType)},194:function(t,n,i){return N(n,t.typeParameter)},204:function(t,n,i){return N(n,t.argument)||N(n,t.assertions)||N(n,t.qualifier)||ue(n,i,t.typeArguments)},301:function(t,n,i){return N(n,t.assertClause)},195:mv,197:mv,198:function(t,n,i){return N(n,t.objectType)||N(n,t.indexType)},199:function(t,n,i){return N(n,t.readonlyToken)||N(n,t.typeParameter)||N(n,t.nameType)||N(n,t.questionToken)||N(n,t.type)||ue(n,i,t.members)},200:function(t,n,i){return N(n,t.literal)},201:function(t,n,i){return N(n,t.dotDotDotToken)||N(n,t.name)||N(n,t.questionToken)||N(n,t.type)},205:yv,206:yv,208:function(t,n,i){return ue(n,i,t.elements)},209:function(t,n,i){return ue(n,i,t.properties)},210:function(t,n,i){return N(n,t.expression)||N(n,t.questionDotToken)||N(n,t.name)},211:function(t,n,i){return N(n,t.expression)||N(n,t.questionDotToken)||N(n,t.argumentExpression)},212:hv,213:hv,214:function(t,n,i){return N(n,t.tag)||N(n,t.questionDotToken)||ue(n,i,t.typeArguments)||N(n,t.template)},215:function(t,n,i){return N(n,t.type)||N(n,t.expression)},216:function(t,n,i){return N(n,t.expression)},219:function(t,n,i){return N(n,t.expression)},220:function(t,n,i){return N(n,t.expression)},221:function(t,n,i){return N(n,t.expression)},223:function(t,n,i){return N(n,t.operand)},228:function(t,n,i){return N(n,t.asteriskToken)||N(n,t.expression)},222:function(t,n,i){return N(n,t.expression)},224:function(t,n,i){return N(n,t.operand)},225:function(t,n,i){return N(n,t.left)||N(n,t.operatorToken)||N(n,t.right)},233:function(t,n,i){return N(n,t.expression)||N(n,t.type)},234:function(t,n,i){return N(n,t.expression)},237:function(t,n,i){return N(n,t.expression)||N(n,t.type)},235:function(t,n,i){return N(n,t.name)},226:function(t,n,i){return N(n,t.condition)||N(n,t.questionToken)||N(n,t.whenTrue)||N(n,t.colonToken)||N(n,t.whenFalse)},229:function(t,n,i){return N(n,t.expression)},240:gv,267:gv,311:function(t,n,i){return ue(n,i,t.statements)||N(n,t.endOfFileToken)},242:function(t,n,i){return ue(n,i,t.modifiers)||N(n,t.declarationList)},260:function(t,n,i){return ue(n,i,t.declarations)},243:function(t,n,i){return N(n,t.expression)},244:function(t,n,i){return N(n,t.expression)||N(n,t.thenStatement)||N(n,t.elseStatement)},245:function(t,n,i){return N(n,t.statement)||N(n,t.expression)},246:function(t,n,i){return N(n,t.expression)||N(n,t.statement)},247:function(t,n,i){return N(n,t.initializer)||N(n,t.condition)||N(n,t.incrementor)||N(n,t.statement)},248:function(t,n,i){return N(n,t.initializer)||N(n,t.expression)||N(n,t.statement)},249:function(t,n,i){return N(n,t.awaitModifier)||N(n,t.initializer)||N(n,t.expression)||N(n,t.statement)},250:bv,251:bv,252:function(t,n,i){return N(n,t.expression)},253:function(t,n,i){return N(n,t.expression)||N(n,t.statement)},254:function(t,n,i){return N(n,t.expression)||N(n,t.caseBlock)},268:function(t,n,i){return ue(n,i,t.clauses)},295:function(t,n,i){return N(n,t.expression)||ue(n,i,t.statements)},296:function(t,n,i){return ue(n,i,t.statements)},255:function(t,n,i){return N(n,t.label)||N(n,t.statement)},256:function(t,n,i){return N(n,t.expression)},257:function(t,n,i){return N(n,t.tryBlock)||N(n,t.catchClause)||N(n,t.finallyBlock)},298:function(t,n,i){return N(n,t.variableDeclaration)||N(n,t.block)},169:function(t,n,i){return N(n,t.expression)},262:vv,230:vv,263:function(t,n,i){return ue(n,i,t.modifiers)||N(n,t.name)||ue(n,i,t.typeParameters)||ue(n,i,t.heritageClauses)||ue(n,i,t.members)},264:function(t,n,i){return ue(n,i,t.modifiers)||N(n,t.name)||ue(n,i,t.typeParameters)||N(n,t.type)},265:function(t,n,i){return ue(n,i,t.modifiers)||N(n,t.name)||ue(n,i,t.members)},305:function(t,n,i){return N(n,t.name)||N(n,t.initializer)},266:function(t,n,i){return ue(n,i,t.modifiers)||N(n,t.name)||N(n,t.body)},270:function(t,n,i){return ue(n,i,t.modifiers)||N(n,t.name)||N(n,t.moduleReference)},271:function(t,n,i){return ue(n,i,t.modifiers)||N(n,t.importClause)||N(n,t.moduleSpecifier)||N(n,t.assertClause)},272:function(t,n,i){return N(n,t.name)||N(n,t.namedBindings)},299:function(t,n,i){return ue(n,i,t.elements)},300:function(t,n,i){return N(n,t.name)||N(n,t.value)},269:function(t,n,i){return ue(n,i,t.modifiers)||N(n,t.name)},273:function(t,n,i){return N(n,t.name)},279:function(t,n,i){return N(n,t.name)},274:Tv,278:Tv,277:function(t,n,i){return ue(n,i,t.modifiers)||N(n,t.exportClause)||N(n,t.moduleSpecifier)||N(n,t.assertClause)},275:xv,280:xv,276:function(t,n,i){return ue(n,i,t.modifiers)||N(n,t.expression)},227:function(t,n,i){return N(n,t.head)||ue(n,i,t.templateSpans)},238:function(t,n,i){return N(n,t.expression)||N(n,t.literal)},202:function(t,n,i){return N(n,t.head)||ue(n,i,t.templateSpans)},203:function(t,n,i){return N(n,t.type)||N(n,t.literal)},166:function(t,n,i){return N(n,t.expression)},297:function(t,n,i){return ue(n,i,t.types)},232:function(t,n,i){return N(n,t.expression)||ue(n,i,t.typeArguments)},282:function(t,n,i){return N(n,t.expression)},281:function(t,n,i){return ue(n,i,t.modifiers)},360:function(t,n,i){return ue(n,i,t.elements)},283:function(t,n,i){return N(n,t.openingElement)||ue(n,i,t.children)||N(n,t.closingElement)},287:function(t,n,i){return N(n,t.openingFragment)||ue(n,i,t.children)||N(n,t.closingFragment)},284:Sv,285:Sv,291:function(t,n,i){return ue(n,i,t.properties)},290:function(t,n,i){return N(n,t.name)||N(n,t.initializer)},292:function(t,n,i){return N(n,t.expression)},293:function(t,n,i){return N(n,t.dotDotDotToken)||N(n,t.expression)},286:function(t,n,i){return N(n,t.tagName)},294:function(t,n,i){return N(n,t.namespace)||N(n,t.name)},189:Ao,190:Ao,315:Ao,321:Ao,320:Ao,322:Ao,324:Ao,323:function(t,n,i){return ue(n,i,t.parameters)||N(n,t.type)},326:function(t,n,i){return(typeof t.comment=="string"?void 0:ue(n,i,t.comment))||ue(n,i,t.tags)},353:function(t,n,i){return N(n,t.tagName)||N(n,t.name)||(typeof t.comment=="string"?void 0:ue(n,i,t.comment))},316:function(t,n,i){return N(n,t.name)},317:function(t,n,i){return N(n,t.left)||N(n,t.right)},347:wv,354:wv,336:function(t,n,i){return N(n,t.tagName)||(typeof t.comment=="string"?void 0:ue(n,i,t.comment))},335:function(t,n,i){return N(n,t.tagName)||N(n,t.class)||(typeof t.comment=="string"?void 0:ue(n,i,t.comment))},334:function(t,n,i){return N(n,t.tagName)||N(n,t.class)||(typeof t.comment=="string"?void 0:ue(n,i,t.comment))},351:function(t,n,i){return N(n,t.tagName)||N(n,t.constraint)||ue(n,i,t.typeParameters)||(typeof t.comment=="string"?void 0:ue(n,i,t.comment))},352:function(t,n,i){return N(n,t.tagName)||(t.typeExpression&&t.typeExpression.kind===315?N(n,t.typeExpression)||N(n,t.fullName)||(typeof t.comment=="string"?void 0:ue(n,i,t.comment)):N(n,t.fullName)||N(n,t.typeExpression)||(typeof t.comment=="string"?void 0:ue(n,i,t.comment)))},344:function(t,n,i){return N(n,t.tagName)||N(n,t.fullName)||N(n,t.typeExpression)||(typeof t.comment=="string"?void 0:ue(n,i,t.comment))},348:Do,350:Do,349:Do,346:Do,356:Do,355:Do,345:Do,329:function(t,n,i){return hn(t.typeParameters,n)||hn(t.parameters,n)||N(n,t.type)},330:th,331:th,332:th,328:function(t,n,i){return hn(t.jsDocPropertyTags,n)},333:qa,338:qa,339:qa,340:qa,341:qa,342:qa,337:qa,343:qa,359:EF},(e=>{var t=as(99,!0),n=20480,i,s,l,d,y;function p(c){return mr++,c}var x={createBaseSourceFileNode:c=>p(new y(c,0,0)),createBaseIdentifierNode:c=>p(new l(c,0,0)),createBasePrivateIdentifierNode:c=>p(new d(c,0,0)),createBaseTokenNode:c=>p(new s(c,0,0)),createBaseNode:c=>p(new i(c,0,0))},h=Vf(11,x),{createNodeArray:D,createNumericLiteral:w,createStringLiteral:g,createLiteralLikeNode:A,createIdentifier:B,createPrivateIdentifier:G,createToken:oe,createArrayLiteralExpression:Q,createObjectLiteralExpression:W,createPropertyAccessExpression:se,createPropertyAccessChain:we,createElementAccessExpression:Ze,createElementAccessChain:Ue,createCallExpression:rt,createCallChain:ct,createNewExpression:Dn,createParenthesizedExpression:sn,createBlock:ei,createVariableStatement:_n,createExpressionStatement:Pn,createIfStatement:$e,createWhileStatement:$t,createForStatement:jn,createForOfStatement:Qt,createVariableDeclaration:fr,createVariableDeclarationList:Bn}=h,dn,Yt,vt,Un,qn,gt,lt,Zt,zn,mt,mr,bt,cn,dt,Qn,ut,Jt=!0,ln=!1;function yr(c,f,v,C,P=!1,U,ne){var _e;if(U=sS(c,U),U===6){let ce=ti(c,f,v,C,P);return convertToJson(ce,(_e=ce.statements[0])==null?void 0:_e.expression,ce.parseDiagnostics,!1,void 0),ce.referencedFiles=Xe,ce.typeReferenceDirectives=Xe,ce.libReferenceDirectives=Xe,ce.amdDependencies=Xe,ce.hasNoDefaultLib=!1,ce.pragmas=mg,ce}Wn(c,f,v,C,U);let pe=Ci(v,P,U,ne||_7);return hr(),pe}e.parseSourceFile=yr;function Or(c,f){Wn("",c,f,void 0,1),R();let v=Ma(!0),C=m()===1&&!lt.length;return hr(),C?v:void 0}e.parseIsolatedEntityName=Or;function ti(c,f,v=2,C,P=!1){Wn(c,f,v,C,6),Yt=ut,R();let U=S(),ne,_e;if(m()===1)ne=Bt([],U,U),_e=vn();else{let ve;for(;m()!==1;){let Be;switch(m()){case 23:Be=zp();break;case 112:case 97:case 106:Be=vn();break;case 41:Pe(()=>R()===9&&R()!==59)?Be=wp():Be=Ms();break;case 9:case 11:if(Pe(()=>R()!==59)){Be=Lr();break}default:Be=Ms();break}ve&&Wt(ve)?ve.push(Be):ve?ve=[ve,Be]:(ve=Be,m()!==1&&Fe(K.Unexpected_token))}let Ge=Wt(ve)?F(Q(ve),U):M.checkDefined(ve),je=Pn(Ge);F(je,U),ne=Bt([je],U),_e=oi(1,K.Unexpected_token)}let pe=et(c,2,6,!1,ne,_e,Yt,Pr);P&&Ee(pe),pe.nodeCount=mr,pe.identifierCount=cn,pe.identifiers=bt,pe.parseDiagnostics=za(lt,pe),Zt&&(pe.jsDocDiagnostics=za(Zt,pe));let ce=pe;return hr(),ce}e.parseJsonText=ti;function Wn(c,f,v,C,P){switch(i=xt.getNodeConstructor(),s=xt.getTokenConstructor(),l=xt.getIdentifierConstructor(),d=xt.getPrivateIdentifierConstructor(),y=xt.getSourceFileConstructor(),dn=sr(c),vt=f,Un=v,zn=C,qn=P,gt=B0(P),lt=[],dt=0,bt=new Map,cn=0,mr=0,Yt=0,Jt=!0,qn){case 1:case 2:ut=262144;break;case 6:ut=67371008;break;default:ut=0;break}ln=!1,t.setText(vt),t.setOnError(E),t.setScriptTarget(Un),t.setLanguageVariant(gt)}function hr(){t.clearCommentDirectives(),t.setText(""),t.setOnError(void 0),vt=void 0,Un=void 0,zn=void 0,qn=void 0,gt=void 0,Yt=0,lt=void 0,Zt=void 0,dt=0,bt=void 0,Qn=void 0,Jt=!0}function Ci(c,f,v,C){let P=l7(dn);P&&(ut|=16777216),Yt=ut,R();let U=er(0,fn);M.assert(m()===1);let ne=de(vn()),_e=et(dn,c,v,P,U,ne,Yt,C);return u7(_e,vt),p7(_e,pe),_e.commentDirectives=t.getCommentDirectives(),_e.nodeCount=mr,_e.identifierCount=cn,_e.identifiers=bt,_e.parseDiagnostics=za(lt,_e),Zt&&(_e.jsDocDiagnostics=za(Zt,_e)),f&&Ee(_e),_e;function pe(ce,ve,Ge){lt.push(No(dn,ce,ve,Ge))}}function Ie(c,f){return f?de(c):c}let H=!1;function de(c){M.assert(!c.jsDoc);let f=Ka(l4(c,vt),v=>Od.parseJSDocComment(c,v.pos,v.end-v.pos));return f.length&&(c.jsDoc=f),H&&(H=!1,c.flags|=268435456),c}function be(c){let f=zn,v=cf.createSyntaxCursor(c);zn={currentNode:ve};let C=[],P=lt;lt=[];let U=0,ne=pe(c.statements,0);for(;ne!==-1;){let Ge=c.statements[U],je=c.statements[ne];Mn(C,c.statements,U,ne),U=ce(c.statements,ne);let Be=el(P,On=>On.start>=Ge.pos),Lt=Be>=0?el(P,On=>On.start>=je.pos,Be):-1;Be>=0&&Mn(lt,P,Be,Lt>=0?Lt:void 0),Ct(()=>{let On=ut;for(ut|=32768,t.resetTokenState(je.pos),R();m()!==1;){let ca=t.getTokenFullStart(),li=Ss(0,fn);if(C.push(li),ca===t.getTokenFullStart()&&R(),U>=0){let Ji=c.statements[U];if(li.end===Ji.pos)break;li.end>Ji.pos&&(U=ce(c.statements,U+1))}}ut=On},2),ne=U>=0?pe(c.statements,U):-1}if(U>=0){let Ge=c.statements[U];Mn(C,c.statements,U);let je=el(P,Be=>Be.start>=Ge.pos);je>=0&&Mn(lt,P,je)}return zn=f,h.updateSourceFile(c,He(D(C),c.statements));function _e(Ge){return!(Ge.flags&32768)&&!!(Ge.transformFlags&67108864)}function pe(Ge,je){for(let Be=je;Be118}function Pt(){return m()===80?!0:m()===127&&ii()||m()===135&&Nn()?!1:m()>118}function Y(c,f,v=!0){return m()===c?(v&&R(),!0):(f?Fe(f):Fe(K._0_expected,an(c)),!1)}let Le=Object.keys(tl).filter(c=>c.length>2);function _t(c){if(w8(c)){wt(It(vt,c.template.pos),c.template.end,K.Module_declaration_names_may_only_use_or_quoted_strings);return}let f=Ce(c)?Ot(c):void 0;if(!f||!Ag(f,Un)){Fe(K._0_expected,an(27));return}let v=It(vt,c.pos);switch(f){case"const":case"let":case"var":wt(v,c.end,K.Variable_declaration_not_allowed_at_this_location);return;case"declare":return;case"interface":en(K.Interface_name_cannot_be_0,K.Interface_must_be_given_a_name,19);return;case"is":wt(v,t.getTokenStart(),K.A_type_predicate_is_only_allowed_in_return_type_position_for_functions_and_methods);return;case"module":case"namespace":en(K.Namespace_name_cannot_be_0,K.Namespace_must_be_given_a_name,19);return;case"type":en(K.Type_alias_name_cannot_be_0,K.Type_alias_must_be_given_a_name,64);return}let C=Zv(f,Le,P=>P)??Zn(f);if(C){wt(v,c.end,K.Unknown_keyword_or_identifier_Did_you_mean_0,C);return}m()!==0&&wt(v,c.end,K.Unexpected_keyword_or_identifier)}function en(c,f,v){m()===v?Fe(f):Fe(c,t.getTokenValue())}function Zn(c){for(let f of Le)if(c.length>f.length+2&&Jn(c,f))return`${f} ${c.slice(f.length)}`}function lo(c,f,v){if(m()===60&&!t.hasPrecedingLineBreak()){Fe(K.Decorators_must_precede_the_name_and_all_keywords_of_property_declarations);return}if(m()===21){Fe(K.Cannot_start_a_function_call_in_a_type_annotation),R();return}if(f&&!Ai()){v?Fe(K._0_expected,an(27)):Fe(K.Expected_for_property_initializer);return}if(!uo()){if(v){Fe(K._0_expected,an(27));return}_t(c)}}function Na(c){return m()===c?(me(),!0):(M.assert(ef(c)),Fe(K._0_expected,an(c)),!1)}function vr(c,f,v,C){if(m()===f){R();return}let P=Fe(K._0_expected,an(f));v&&P&&Xc(P,No(dn,C,1,K.The_parser_expected_to_find_a_1_to_match_the_0_token_here,an(c),an(f)))}function Je(c){return m()===c?(R(),!0):!1}function at(c){if(m()===c)return vn()}function pu(c){if(m()===c)return fu()}function oi(c,f,v){return at(c)||Hn(c,!1,f||K._0_expected,v||an(c))}function du(c){let f=pu(c);return f||(M.assert(ef(c)),Hn(c,!1,K._0_expected,an(c)))}function vn(){let c=S(),f=m();return R(),F(oe(f),c)}function fu(){let c=S(),f=m();return me(),F(oe(f),c)}function Ai(){return m()===27?!0:m()===20||m()===1||t.hasPrecedingLineBreak()}function uo(){return Ai()?(m()===27&&R(),!0):!1}function In(){return uo()||Y(27)}function Bt(c,f,v,C){let P=D(c,C);return Va(P,f,v??t.getTokenFullStart()),P}function F(c,f,v){return Va(c,f,v??t.getTokenFullStart()),ut&&(c.flags|=ut),ln&&(ln=!1,c.flags|=131072),c}function Hn(c,f,v,...C){f?ki(t.getTokenFullStart(),0,v,...C):v&&Fe(v,...C);let P=S(),U=c===80?B("",void 0):fl(c)?h.createTemplateLiteralLikeNode(c,"","",void 0):c===9?w("",void 0):c===11?g("",void 0):c===281?h.createMissingDeclaration():oe(c);return F(U,P)}function Di(c){let f=bt.get(c);return f===void 0&&bt.set(c,f=c),f}function ia(c,f,v){if(c){cn++;let _e=S(),pe=m(),ce=Di(t.getTokenValue()),ve=t.hasExtendedUnicodeEscape();return ie(),F(B(ce,pe,ve),_e)}if(m()===81)return Fe(v||K.Private_identifiers_are_not_allowed_outside_class_bodies),ia(!0);if(m()===0&&t.tryScan(()=>t.reScanInvalidIdentifier()===80))return ia(!0);cn++;let C=m()===1,P=t.isReservedWord(),U=t.getTokenText(),ne=P?K.Identifier_expected_0_is_a_reserved_word_that_cannot_be_used_here:K.Identifier_expected;return Hn(80,C,f||ne,U)}function vs(c){return ia(Yn(),void 0,c)}function Ut(c,f){return ia(Pt(),c,f)}function zt(c){return ia(At(m()),c)}function aa(){return At(m())||m()===11||m()===9}function mu(){return At(m())||m()===11}function b1(c){if(m()===11||m()===9){let f=Lr();return f.text=Di(f.text),f}return c&&m()===23?v1():m()===81?Ts():zt()}function oa(){return b1(!0)}function v1(){let c=S();Y(23);let f=Re(Mt);return Y(24),F(h.createComputedPropertyName(f),c)}function Ts(){let c=S(),f=G(Di(t.getTokenValue()));return R(),F(f,c)}function Ia(c){return m()===c&&jt(yu)}function H_(){return R(),t.hasPrecedingLineBreak()?!1:si()}function yu(){switch(m()){case 87:return R()===94;case 95:return R(),m()===90?Pe(gu):m()===156?Pe(T1):po();case 90:return gu();case 126:case 139:case 153:return R(),si();default:return H_()}}function po(){return m()===60||m()!==42&&m()!==130&&m()!==19&&si()}function T1(){return R(),po()}function hu(){return yi(m())&&jt(yu)}function si(){return m()===23||m()===19||m()===42||m()===26||aa()}function gu(){return R(),m()===86||m()===100||m()===120||m()===60||m()===128&&Pe(nd)||m()===134&&Pe(rd)}function Oa(c,f){if($_(c))return!0;switch(c){case 0:case 1:case 3:return!(m()===27&&f)&&id();case 2:return m()===84||m()===90;case 4:return Pe(Wu);case 5:return Pe(xy)||m()===27&&!f;case 6:return m()===23||aa();case 12:switch(m()){case 23:case 42:case 26:case 25:return!0;default:return aa()}case 18:return aa();case 9:return m()===23||m()===26||aa();case 24:return mu();case 7:return m()===19?Pe(bu):f?Pt()&&!G_():vc()&&!G_();case 8:return Ic();case 10:return m()===28||m()===26||Ic();case 19:return m()===103||m()===87||Pt();case 15:switch(m()){case 28:case 25:return!0}case 11:return m()===26||Oi();case 16:return As(!1);case 17:return As(!0);case 20:case 21:return m()===28||Ra();case 22:return Fs();case 23:return At(m());case 13:return At(m())||m()===19;case 14:return!0;case 25:return!0;case 26:return M.fail("ParsingContext.Count used as a context");default:M.assertNever(c,"Non-exhaustive case in 'isListElement'.")}}function bu(){if(M.assert(m()===19),R()===20){let c=R();return c===28||c===19||c===96||c===119}return!0}function xs(){return R(),Pt()}function K_(){return R(),At(m())}function x1(){return R(),vT(m())}function G_(){return m()===119||m()===96?Pe(vu):!1}function vu(){return R(),Oi()}function Tu(){return R(),Ra()}function Pi(c){if(m()===1)return!0;switch(c){case 1:case 2:case 4:case 5:case 6:case 12:case 9:case 23:case 24:return m()===20;case 3:return m()===20||m()===84||m()===90;case 7:return m()===19||m()===96||m()===119;case 8:return S1();case 19:return m()===32||m()===21||m()===19||m()===96||m()===119;case 11:return m()===22||m()===27;case 15:case 21:case 10:return m()===24;case 17:case 16:case 18:return m()===22||m()===24;case 20:return m()!==28;case 22:return m()===19||m()===20;case 13:return m()===32||m()===44;case 14:return m()===30&&Pe(My);default:return!1}}function S1(){return!!(Ai()||vp(m())||m()===39)}function X_(){M.assert(dt,"Missing parsing context");for(let c=0;c<26;c++)if(dt&1<=0)}function C1(c){return c===6?K.An_enum_member_name_must_be_followed_by_a_or:void 0}function Tr(){let c=Bt([],S());return c.isMissingList=!0,c}function k1(c){return!!c.isMissingList}function Ni(c,f,v,C){if(Y(v)){let P=Tn(c,f);return Y(C),P}return Tr()}function Ma(c,f){let v=S(),C=c?zt(f):Ut(f);for(;Je(25)&&m()!==30;)C=F(h.createQualifiedName(C,ws(c,!1)),v);return C}function nc(c,f){return F(h.createQualifiedName(c,f),c.pos)}function ws(c,f){if(t.hasPrecedingLineBreak()&&At(m())&&Pe(Pc))return Hn(80,!0,K.Identifier_expected);if(m()===81){let v=Ts();return f?v:Hn(80,!0,K.Identifier_expected)}return c?zt():Ut()}function rc(c){let f=S(),v=[],C;do C=D1(c),v.push(C);while(C.literal.kind===17);return Bt(v,f)}function ku(c){let f=S();return F(h.createTemplateExpression(Du(c),rc(c)),f)}function ic(){let c=S();return F(h.createTemplateLiteralType(Du(!1),Au()),c)}function Au(){let c=S(),f=[],v;do v=A1(),f.push(v);while(v.literal.kind===17);return Bt(f,c)}function A1(){let c=S();return F(h.createTemplateLiteralTypeSpan(yt(),ac(!1)),c)}function ac(c){return m()===20?(ot(c),Es()):oi(18,K._0_expected,an(20))}function D1(c){let f=S();return F(h.createTemplateSpan(Re(Mt),ac(c)),f)}function Lr(){return fo(m())}function Du(c){!c&&t.getTokenFlags()&26656&&ot(!1);let f=fo(m());return M.assert(f.kind===16,"Template head has wrong token kind"),f}function Es(){let c=fo(m());return M.assert(c.kind===17||c.kind===18,"Template fragment has wrong token kind"),c}function Pu(c){let f=c===15||c===18,v=t.getTokenText();return v.substring(1,v.length-(t.isUnterminated()?0:f?1:2))}function fo(c){let f=S(),v=fl(c)?h.createTemplateLiteralLikeNode(c,t.getTokenValue(),Pu(c),t.getTokenFlags()&7176):c===9?w(t.getTokenValue(),t.getNumericLiteralFlags()):c===11?g(t.getTokenValue(),void 0,t.hasExtendedUnicodeEscape()):Lg(c)?A(c,t.getTokenValue()):M.fail();return t.hasExtendedUnicodeEscape()&&(v.hasExtendedUnicodeEscape=!0),t.isUnterminated()&&(v.isUnterminated=!0),R(),F(v,f)}function oc(){return Ma(!0,K.Type_expected)}function La(){if(!t.hasPrecedingLineBreak()&&st()===30)return Ni(20,yt,30,32)}function Cs(){let c=S();return F(h.createTypeReferenceNode(oc(),La()),c)}function sc(c){switch(c.kind){case 182:return Bi(c.typeName);case 183:case 184:{let{parameters:f,type:v}=c;return k1(f)||sc(v)}case 195:return sc(c.type);default:return!1}}function P1(c){return R(),F(h.createTypePredicateNode(void 0,c,yt()),c.pos)}function Nu(){let c=S();return R(),F(h.createThisTypeNode(),c)}function Iu(){let c=S();return R(),F(h.createJSDocAllType(),c)}function N1(){let c=S();return R(),F(h.createJSDocNonNullableType(yc(),!1),c)}function Ou(){let c=S();return R(),m()===28||m()===20||m()===22||m()===32||m()===64||m()===52?F(h.createJSDocUnknownType(),c):F(h.createJSDocNullableType(yt(),!1),c)}function I1(){let c=S(),f=J();if(Pe(kd)){R();let v=_i(36),C=xr(59,!1);return Ie(F(h.createJSDocFunctionType(v,C),c),f)}return F(h.createTypeReferenceNode(zt(),void 0),c)}function Mu(){let c=S(),f;return(m()===110||m()===105)&&(f=zt(),Y(59)),F(h.createParameterDeclaration(void 0,void 0,f,void 0,ks(),void 0),c)}function ks(){t.setInJSDocType(!0);let c=S();if(Je(144)){let C=h.createJSDocNamepathType(void 0);e:for(;;)switch(m()){case 20:case 1:case 28:case 5:break e;default:me()}return t.setInJSDocType(!1),F(C,c)}let f=Je(26),v=bc();return t.setInJSDocType(!1),f&&(v=F(h.createJSDocVariadicType(v),c)),m()===64?(R(),F(h.createJSDocOptionalType(v),c)):v}function O1(){let c=S();Y(114);let f=Ma(!0),v=t.hasPrecedingLineBreak()?void 0:Rs();return F(h.createTypeQueryNode(f,v),c)}function Lu(){let c=S(),f=Rr(!1,!0),v=Ut(),C,P;Je(96)&&(Ra()||!Oi()?C=yt():P=Ec());let U=Je(64)?yt():void 0,ne=h.createTypeParameterDeclaration(f,v,C,U);return ne.expression=P,F(ne,c)}function tr(){if(m()===30)return Ni(19,Lu,30,32)}function As(c){return m()===26||Ic()||yi(m())||m()===60||Ra(!c)}function Ju(c){let f=Ba(K.Private_identifiers_cannot_be_used_as_parameters);return Em(f)===0&&!ft(c)&&yi(m())&&R(),f}function Ru(){return Yn()||m()===23||m()===19}function _c(c){return cc(c)}function Fu(c){return cc(c,!1)}function cc(c,f=!0){let v=S(),C=J(),P=c?ni(()=>Rr(!0)):ri(()=>Rr(!0));if(m()===110){let pe=h.createParameterDeclaration(P,void 0,ia(!0),void 0,Ii(),void 0),ce=f_(P);return ce&&j(ce,K.Neither_decorators_nor_modifiers_may_be_applied_to_this_parameters),Ie(F(pe,v),C)}let U=Jt;Jt=!1;let ne=at(26);if(!f&&!Ru())return;let _e=Ie(F(h.createParameterDeclaration(P,ne,Ju(P),at(58),Ii(),Mi()),v),C);return Jt=U,_e}function xr(c,f){if(ju(c,f))return Nt(bc)}function ju(c,f){return c===39?(Y(c),!0):Je(59)?!0:f&&m()===39?(Fe(K._0_expected,an(59)),R(),!0):!1}function Ds(c,f){let v=ii(),C=Nn();Z(!!(c&1)),Te(!!(c&2));let P=c&32?Tn(17,Mu):Tn(16,()=>f?_c(C):Fu(C));return Z(v),Te(C),P}function _i(c){if(!Y(21))return Tr();let f=Ds(c,!0);return Y(22),f}function mo(){Je(28)||In()}function Bu(c){let f=S(),v=J();c===179&&Y(105);let C=tr(),P=_i(4),U=xr(59,!0);mo();let ne=c===178?h.createCallSignature(C,P,U):h.createConstructSignature(C,P,U);return Ie(F(ne,f),v)}function Uu(){return m()===23&&Pe(Ja)}function Ja(){if(R(),m()===26||m()===24)return!0;if(yi(m())){if(R(),Pt())return!0}else if(Pt())R();else return!1;return m()===59||m()===28?!0:m()!==58?!1:(R(),m()===59||m()===28||m()===24)}function qu(c,f,v){let C=Ni(16,()=>_c(!1),23,24),P=Ii();mo();let U=h.createIndexSignature(v,C,P);return Ie(F(U,c),f)}function zu(c,f,v){let C=oa(),P=at(58),U;if(m()===21||m()===30){let ne=tr(),_e=_i(4),pe=xr(59,!0);U=h.createMethodSignature(v,C,P,ne,_e,pe)}else{let ne=Ii();U=h.createPropertySignature(v,C,P,ne),m()===64&&(U.initializer=Mi())}return mo(),Ie(F(U,c),f)}function Wu(){if(m()===21||m()===30||m()===139||m()===153)return!0;let c=!1;for(;yi(m());)c=!0,R();return m()===23?!0:(aa()&&(c=!0,R()),c?m()===21||m()===30||m()===58||m()===59||m()===28||Ai():!1)}function lc(){if(m()===21||m()===30)return Bu(178);if(m()===105&&Pe(yo))return Bu(179);let c=S(),f=J(),v=Rr(!1);return Ia(139)?Li(c,f,v,176,4):Ia(153)?Li(c,f,v,177,4):Uu()?qu(c,f,v):zu(c,f,v)}function yo(){return R(),m()===21||m()===30}function M1(){return R()===25}function uc(){switch(R()){case 21:case 30:case 25:return!0}return!1}function L1(){let c=S();return F(h.createTypeLiteralNode(pc()),c)}function pc(){let c;return Y(19)?(c=er(4,lc),Y(20)):c=Tr(),c}function J1(){return R(),m()===40||m()===41?R()===148:(m()===148&&R(),m()===23&&xs()&&R()===103)}function Vu(){let c=S(),f=zt();Y(103);let v=yt();return F(h.createTypeParameterDeclaration(void 0,f,v,void 0),c)}function R1(){let c=S();Y(19);let f;(m()===148||m()===40||m()===41)&&(f=vn(),f.kind!==148&&Y(148)),Y(23);let v=Vu(),C=Je(130)?yt():void 0;Y(24);let P;(m()===58||m()===40||m()===41)&&(P=vn(),P.kind!==58&&Y(58));let U=Ii();In();let ne=er(4,lc);return Y(20),F(h.createMappedTypeNode(f,v,C,P,U,ne),c)}function dc(){let c=S();if(Je(26))return F(h.createRestTypeNode(yt()),c);let f=yt();if(R8(f)&&f.pos===f.type.pos){let v=h.createOptionalTypeNode(f.type);return He(v,f),v.flags=f.flags,v}return f}function Hu(){return R()===59||m()===58&&R()===59}function Ku(){return m()===26?At(R())&&Hu():At(m())&&Hu()}function F1(){if(Pe(Ku)){let c=S(),f=J(),v=at(26),C=zt(),P=at(58);Y(59);let U=dc(),ne=h.createNamedTupleMember(v,C,P,U);return Ie(F(ne,c),f)}return dc()}function Gu(){let c=S();return F(h.createTupleTypeNode(Ni(21,F1,23,24)),c)}function j1(){let c=S();Y(21);let f=yt();return Y(22),F(h.createParenthesizedType(f),c)}function Xu(){let c;if(m()===128){let f=S();R();let v=F(oe(128),f);c=Bt([v],f)}return c}function $u(){let c=S(),f=J(),v=Xu(),C=Je(105);M.assert(!v||C,"Per isStartOfFunctionOrConstructorType, a function type cannot have modifiers.");let P=tr(),U=_i(4),ne=xr(39,!1),_e=C?h.createConstructorTypeNode(v,P,U,ne):h.createFunctionTypeNode(P,U,ne);return Ie(F(_e,c),f)}function fc(){let c=vn();return m()===25?void 0:c}function Qu(c){let f=S();c&&R();let v=m()===112||m()===97||m()===106?vn():fo(m());return c&&(v=F(h.createPrefixUnaryExpression(41,v),f)),F(h.createLiteralTypeNode(v),f)}function Yu(){return R(),m()===102}function B1(){let c=S(),f=t.getTokenStart();Y(19);let v=t.hasPrecedingLineBreak();Y(132),Y(59);let C=jc(!0);if(!Y(20)){let P=Ti(lt);P&&P.code===K._0_expected.code&&Xc(P,No(dn,f,1,K.The_parser_expected_to_find_a_1_to_match_the_0_token_here,"{","}"))}return F(h.createImportTypeAssertionContainer(C,v),c)}function mc(){Yt|=2097152;let c=S(),f=Je(114);Y(102),Y(21);let v=yt(),C;Je(28)&&(C=B1()),Y(22);let P=Je(25)?oc():void 0,U=La();return F(h.createImportTypeNode(v,C,P,U,f),c)}function Zu(){return R(),m()===9||m()===10}function yc(){switch(m()){case 133:case 159:case 154:case 150:case 162:case 155:case 136:case 157:case 146:case 151:return jt(fc)||Cs();case 67:t.reScanAsteriskEqualsToken();case 42:return Iu();case 61:t.reScanQuestionToken();case 58:return Ou();case 100:return I1();case 54:return N1();case 15:case 11:case 9:case 10:case 112:case 97:case 106:return Qu();case 41:return Pe(Zu)?Qu(!0):Cs();case 116:return vn();case 110:{let c=Nu();return m()===142&&!t.hasPrecedingLineBreak()?P1(c):c}case 114:return Pe(Yu)?mc():O1();case 19:return Pe(J1)?R1():L1();case 23:return Gu();case 21:return j1();case 102:return mc();case 131:return Pe(Pc)?cp():Cs();case 16:return ic();default:return Cs()}}function Ra(c){switch(m()){case 133:case 159:case 154:case 150:case 162:case 136:case 148:case 155:case 158:case 116:case 157:case 106:case 110:case 114:case 146:case 19:case 23:case 30:case 52:case 51:case 105:case 11:case 9:case 10:case 112:case 97:case 151:case 42:case 58:case 54:case 26:case 140:case 102:case 131:case 15:case 16:return!0;case 100:return!c;case 41:return!c&&Pe(Zu);case 21:return!c&&Pe(ep);default:return Pt()}}function ep(){return R(),m()===22||As(!1)||Ra()}function tp(){let c=S(),f=yc();for(;!t.hasPrecedingLineBreak();)switch(m()){case 54:R(),f=F(h.createJSDocNonNullableType(f,!0),c);break;case 58:if(Pe(Tu))return f;R(),f=F(h.createJSDocNullableType(f,!0),c);break;case 23:if(Y(23),Ra()){let v=yt();Y(24),f=F(h.createIndexedAccessTypeNode(f,v),c)}else Y(24),f=F(h.createArrayTypeNode(f),c);break;default:return f}return f}function np(c){let f=S();return Y(c),F(h.createTypeOperatorNode(c,ip()),f)}function U1(){if(Je(96)){let c=Vn(yt);if(ra()||m()!==58)return c}}function rp(){let c=S(),f=Ut(),v=jt(U1),C=h.createTypeParameterDeclaration(void 0,f,v);return F(C,c)}function q1(){let c=S();return Y(140),F(h.createInferTypeNode(rp()),c)}function ip(){let c=m();switch(c){case 143:case 158:case 148:return np(c);case 140:return q1()}return Nt(tp)}function Ps(c){if(gc()){let f=$u(),v;return Gl(f)?v=c?K.Function_type_notation_must_be_parenthesized_when_used_in_a_union_type:K.Function_type_notation_must_be_parenthesized_when_used_in_an_intersection_type:v=c?K.Constructor_type_notation_must_be_parenthesized_when_used_in_a_union_type:K.Constructor_type_notation_must_be_parenthesized_when_used_in_an_intersection_type,j(f,v),f}}function ap(c,f,v){let C=S(),P=c===52,U=Je(c),ne=U&&Ps(P)||f();if(m()===c||U){let _e=[ne];for(;Je(c);)_e.push(Ps(P)||f());ne=F(v(Bt(_e,C)),C)}return ne}function hc(){return ap(51,ip,h.createIntersectionTypeNode)}function z1(){return ap(52,hc,h.createUnionTypeNode)}function op(){return R(),m()===105}function gc(){return m()===30||m()===21&&Pe(sp)?!0:m()===105||m()===128&&Pe(op)}function W1(){if(yi(m())&&Rr(!1),Pt()||m()===110)return R(),!0;if(m()===23||m()===19){let c=lt.length;return Ba(),c===lt.length}return!1}function sp(){return R(),!!(m()===22||m()===26||W1()&&(m()===59||m()===28||m()===58||m()===64||m()===22&&(R(),m()===39)))}function bc(){let c=S(),f=Pt()&&jt(_p),v=yt();return f?F(h.createTypePredicateNode(void 0,f,v),c):v}function _p(){let c=Ut();if(m()===142&&!t.hasPrecedingLineBreak())return R(),c}function cp(){let c=S(),f=oi(131),v=m()===110?Nu():Ut(),C=Je(142)?yt():void 0;return F(h.createTypePredicateNode(f,v,C),c)}function yt(){if(ut&40960)return Oe(40960,yt);if(gc())return $u();let c=S(),f=z1();if(!ra()&&!t.hasPrecedingLineBreak()&&Je(96)){let v=Vn(yt);Y(58);let C=Nt(yt);Y(59);let P=Nt(yt);return F(h.createConditionalTypeNode(f,v,C,P),c)}return f}function Ii(){return Je(59)?yt():void 0}function vc(){switch(m()){case 110:case 108:case 106:case 112:case 97:case 9:case 10:case 11:case 15:case 16:case 21:case 23:case 19:case 100:case 86:case 105:case 44:case 69:case 80:return!0;case 102:return Pe(uc);default:return Pt()}}function Oi(){if(vc())return!0;switch(m()){case 40:case 41:case 55:case 54:case 91:case 114:case 116:case 46:case 47:case 30:case 135:case 127:case 81:case 60:return!0;default:return Tp()?!0:Pt()}}function lp(){return m()!==19&&m()!==100&&m()!==86&&m()!==60&&Oi()}function Mt(){let c=Mr();c&&ae(!1);let f=S(),v=un(!0),C;for(;C=at(28);)v=Sc(v,C,un(!0),f);return c&&ae(!0),v}function Mi(){return Je(64)?un(!0):void 0}function un(c){if(up())return pp();let f=H1(c)||hp(c);if(f)return f;let v=S(),C=ho(0);return C.kind===80&&m()===39?dp(v,C,c,void 0):jo(C)&&w_(ke())?Sc(C,vn(),un(c),v):K1(C,v,c)}function up(){return m()===127?ii()?!0:Pe(Nc):!1}function V1(){return R(),!t.hasPrecedingLineBreak()&&Pt()}function pp(){let c=S();return R(),!t.hasPrecedingLineBreak()&&(m()===42||Oi())?F(h.createYieldExpression(at(42),un(!0)),c):F(h.createYieldExpression(void 0,void 0),c)}function dp(c,f,v,C){M.assert(m()===39,"parseSimpleArrowFunctionExpression should only have been called if we had a =>");let P=h.createParameterDeclaration(void 0,void 0,f,void 0,void 0,void 0);F(P,f.pos);let U=Bt([P],P.pos,P.end),ne=oi(39),_e=Tc(!!C,v),pe=h.createArrowFunction(C,void 0,U,void 0,ne,_e);return de(F(pe,c))}function H1(c){let f=fp();if(f!==0)return f===1?bp(!0,!0):jt(()=>yp(c))}function fp(){return m()===21||m()===30||m()===134?Pe(mp):m()===39?1:0}function mp(){if(m()===134&&(R(),t.hasPrecedingLineBreak()||m()!==21&&m()!==30))return 0;let c=m(),f=R();if(c===21){if(f===22)switch(R()){case 39:case 59:case 19:return 1;default:return 0}if(f===23||f===19)return 2;if(f===26)return 1;if(yi(f)&&f!==134&&Pe(xs))return R()===130?0:1;if(!Pt()&&f!==110)return 0;switch(R()){case 59:return 1;case 58:return R(),m()===59||m()===28||m()===64||m()===22?1:0;case 28:case 64:case 22:return 2}return 0}else return M.assert(c===30),!Pt()&&m()!==87?0:gt===1?Pe(()=>{Je(87);let C=R();if(C===96)switch(R()){case 64:case 32:case 44:return!1;default:return!0}else if(C===28||C===64)return!0;return!1})?1:0:2}function yp(c){let f=t.getTokenStart();if(Qn!=null&&Qn.has(f))return;let v=bp(!1,c);return v||(Qn||(Qn=new Set)).add(f),v}function hp(c){if(m()===134&&Pe(gp)===1){let f=S(),v=Rc(),C=ho(0);return dp(f,C,c,v)}}function gp(){if(m()===134){if(R(),t.hasPrecedingLineBreak()||m()===39)return 0;let c=ho(0);if(!t.hasPrecedingLineBreak()&&c.kind===80&&m()===39)return 1}return 0}function bp(c,f){let v=S(),C=J(),P=Rc(),U=ft(P,Qc)?2:0,ne=tr(),_e;if(Y(21)){if(c)_e=Ds(U,c);else{let ca=Ds(U,c);if(!ca)return;_e=ca}if(!Y(22)&&!c)return}else{if(!c)return;_e=Tr()}let pe=m()===59,ce=xr(59,!1);if(ce&&!c&&sc(ce))return;let ve=ce;for(;(ve==null?void 0:ve.kind)===195;)ve=ve.type;let Ge=ve&&e1(ve);if(!c&&m()!==39&&(Ge||m()!==19))return;let je=m(),Be=oi(39),Lt=je===39||je===19?Tc(ft(P,Qc),f):Ut();if(!f&&pe&&m()!==59)return;let On=h.createArrowFunction(P,ne,_e,ce,Be,Lt);return Ie(F(On,v),C)}function Tc(c,f){if(m()===19)return Ls(c?2:0);if(m()!==27&&m()!==100&&m()!==86&&id()&&!lp())return Ls(16|(c?2:0));let v=Jt;Jt=!1;let C=c?ni(()=>un(f)):ri(()=>un(f));return Jt=v,C}function K1(c,f,v){let C=at(58);if(!C)return c;let P;return F(h.createConditionalExpression(c,C,Oe(n,()=>un(!1)),P=oi(59),yl(P)?un(v):Hn(80,!1,K._0_expected,an(59))),f)}function ho(c){let f=S(),v=Ec();return xc(c,v,f)}function vp(c){return c===103||c===164}function xc(c,f,v){for(;;){ke();let C=il(m());if(!(m()===43?C>=c:C>c)||m()===103&&ai())break;if(m()===130||m()===152){if(t.hasPrecedingLineBreak())break;{let U=m();R(),f=U===152?xp(f,yt()):Sp(f,yt())}}else f=Sc(f,vn(),ho(C),v)}return f}function Tp(){return ai()&&m()===103?!1:il(m())>0}function xp(c,f){return F(h.createSatisfiesExpression(c,f),c.pos)}function Sc(c,f,v,C){return F(h.createBinaryExpression(c,f,v),C)}function Sp(c,f){return F(h.createAsExpression(c,f),c.pos)}function wp(){let c=S();return F(h.createPrefixUnaryExpression(m(),he(ci)),c)}function Ep(){let c=S();return F(h.createDeleteExpression(he(ci)),c)}function G1(){let c=S();return F(h.createTypeOfExpression(he(ci)),c)}function Cp(){let c=S();return F(h.createVoidExpression(he(ci)),c)}function X1(){return m()===135?Nn()?!0:Pe(Nc):!1}function wc(){let c=S();return F(h.createAwaitExpression(he(ci)),c)}function Ec(){if(kp()){let v=S(),C=Ap();return m()===43?xc(il(m()),C,v):C}let c=m(),f=ci();if(m()===43){let v=It(vt,f.pos),{end:C}=f;f.kind===215?wt(v,C,K.A_type_assertion_expression_is_not_allowed_in_the_left_hand_side_of_an_exponentiation_expression_Consider_enclosing_the_expression_in_parentheses):(M.assert(ef(c)),wt(v,C,K.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,an(c)))}return f}function ci(){switch(m()){case 40:case 41:case 55:case 54:return wp();case 91:return Ep();case 114:return G1();case 116:return Cp();case 30:return gt===1?go(!0,void 0,void 0,!0):Rp();case 135:if(X1())return wc();default:return Ap()}}function kp(){switch(m()){case 40:case 41:case 55:case 54:case 91:case 114:case 116:case 135:return!1;case 30:if(gt!==1)return!1;default:return!0}}function Ap(){if(m()===46||m()===47){let f=S();return F(h.createPrefixUnaryExpression(m(),he(Fa)),f)}else if(gt===1&&m()===30&&Pe(x1))return go(!0);let c=Fa();if(M.assert(jo(c)),(m()===46||m()===47)&&!t.hasPrecedingLineBreak()){let f=m();return R(),F(h.createPostfixUnaryExpression(c,f),c.pos)}return c}function Fa(){let c=S(),f;return m()===102?Pe(yo)?(Yt|=2097152,f=vn()):Pe(M1)?(R(),R(),f=F(h.createMetaProperty(102,zt()),c),Yt|=4194304):f=Dp():f=m()===108?Cc():Dp(),Ac(c,f)}function Dp(){let c=S(),f=Dc();return Is(c,f,!0)}function Cc(){let c=S(),f=vn();if(m()===30){let v=S(),C=jt(Os);C!==void 0&&(wt(v,S(),K.super_may_not_use_type_arguments),vo()||(f=h.createExpressionWithTypeArguments(f,C)))}return m()===21||m()===25||m()===23?f:(oi(25,K.super_must_be_followed_by_an_argument_list_or_member_access),F(se(f,ws(!0,!0)),c))}function go(c,f,v,C=!1){let P=S(),U=Ip(c),ne;if(U.kind===285){let _e=Np(U),pe,ce=_e[_e.length-1];if((ce==null?void 0:ce.kind)===283&&!gi(ce.openingElement.tagName,ce.closingElement.tagName)&&gi(U.tagName,ce.closingElement.tagName)){let ve=ce.children.end,Ge=F(h.createJsxElement(ce.openingElement,ce.children,F(h.createJsxClosingElement(F(B(""),ve,ve)),ve,ve)),ce.openingElement.pos,ve);_e=Bt([..._e.slice(0,_e.length-1),Ge],_e.pos,ve),pe=ce.closingElement}else pe=Jp(U,c),gi(U.tagName,pe.tagName)||(v&&Ro(v)&&gi(pe.tagName,v.tagName)?j(U.tagName,K.JSX_element_0_has_no_corresponding_closing_tag,Ys(vt,U.tagName)):j(pe.tagName,K.Expected_corresponding_JSX_closing_tag_for_0,Ys(vt,U.tagName)));ne=F(h.createJsxElement(U,_e,pe),P)}else U.kind===288?ne=F(h.createJsxFragment(U,Np(U),ty(c)),P):(M.assert(U.kind===284),ne=U);if(!C&&c&&m()===30){let _e=typeof f>"u"?ne.pos:f,pe=jt(()=>go(!0,_e));if(pe){let ce=Hn(28,!1);return zf(ce,pe.pos,0),wt(It(vt,_e),pe.end,K.JSX_expressions_must_have_one_parent_element),F(h.createBinaryExpression(ne,ce,pe),P)}}return ne}function $1(){let c=S(),f=h.createJsxText(t.getTokenValue(),mt===13);return mt=t.scanJsxToken(),F(f,c)}function Pp(c,f){switch(f){case 1:if(Nb(c))j(c,K.JSX_fragment_has_no_corresponding_closing_tag);else{let v=c.tagName,C=Math.min(It(vt,v.pos),v.end);wt(C,v.end,K.JSX_element_0_has_no_corresponding_closing_tag,Ys(vt,c.tagName))}return;case 31:case 7:return;case 12:case 13:return $1();case 19:return Op(!1);case 30:return go(!1,void 0,c);default:return M.assertNever(f)}}function Np(c){let f=[],v=S(),C=dt;for(dt|=16384;;){let P=Pp(c,mt=t.reScanJsxToken());if(!P||(f.push(P),Ro(c)&&(P==null?void 0:P.kind)===283&&!gi(P.openingElement.tagName,P.closingElement.tagName)&&gi(c.tagName,P.closingElement.tagName)))break}return dt=C,Bt(f,v)}function Q1(){let c=S();return F(h.createJsxAttributes(er(13,Mp)),c)}function Ip(c){let f=S();if(Y(30),m()===32)return Et(),F(h.createJsxOpeningFragment(),f);let v=Ns(),C=ut&262144?void 0:Rs(),P=Q1(),U;return m()===32?(Et(),U=h.createJsxOpeningElement(v,C,P)):(Y(44),Y(32,void 0,!1)&&(c?R():Et()),U=h.createJsxSelfClosingElement(v,C,P)),F(U,f)}function Ns(){let c=S(),f=Y1();if(J_(f))return f;let v=f;for(;Je(25);)v=F(se(v,ws(!0,!1)),c);return v}function Y1(){let c=S();Ft();let f=m()===110,v=zt();return Je(59)?(Ft(),F(h.createJsxNamespacedName(v,zt()),c)):f?F(h.createToken(110),c):v}function Op(c){let f=S();if(!Y(19))return;let v,C;return m()!==20&&(v=at(26),C=Mt()),c?Y(20):Y(20,void 0,!1)&&Et(),F(h.createJsxExpression(v,C),f)}function Mp(){if(m()===19)return ey();let c=S();return F(h.createJsxAttribute(Lp(),Z1()),c)}function Z1(){if(m()===64){if(bn()===11)return Lr();if(m()===19)return Op(!0);if(m()===30)return go(!0);Fe(K.or_JSX_element_expected)}}function Lp(){let c=S();Ft();let f=zt();return Je(59)?(Ft(),F(h.createJsxNamespacedName(f,zt()),c)):f}function ey(){let c=S();Y(19),Y(26);let f=Mt();return Y(20),F(h.createJsxSpreadAttribute(f),c)}function Jp(c,f){let v=S();Y(31);let C=Ns();return Y(32,void 0,!1)&&(f||!gi(c.tagName,C)?R():Et()),F(h.createJsxClosingElement(C),v)}function ty(c){let f=S();return Y(31),Y(32,K.Expected_corresponding_closing_tag_for_JSX_fragment,!1)&&(c?R():Et()),F(h.createJsxJsxClosingFragment(),f)}function Rp(){M.assert(gt!==1,"Type assertions should never be parsed in JSX; they should be parsed as comparisons or JSX elements/fragments.");let c=S();Y(30);let f=yt();Y(32);let v=ci();return F(h.createTypeAssertion(f,v),c)}function ny(){return R(),At(m())||m()===23||vo()}function Sr(){return m()===29&&Pe(ny)}function Jr(c){if(c.flags&32)return!0;if(qo(c)){let f=c.expression;for(;qo(f)&&!(f.flags&32);)f=f.expression;if(f.flags&32){for(;qo(c);)c.flags|=32,c=c.expression;return!0}}return!1}function bo(c,f,v){let C=ws(!0,!0),P=v||Jr(f),U=P?we(f,v,C):se(f,C);if(P&&Ln(U.name)&&j(U.name,K.An_optional_chain_cannot_contain_private_identifiers),Tb(f)&&f.typeArguments){let ne=f.typeArguments.pos-1,_e=It(vt,f.typeArguments.end)+1;wt(ne,_e,K.An_instantiation_expression_cannot_be_followed_by_a_property_access)}return F(U,c)}function Fp(c,f,v){let C;if(m()===24)C=Hn(80,!0,K.An_element_access_expression_should_take_an_argument);else{let U=Re(Mt);Ki(U)&&(U.text=Di(U.text)),C=U}Y(24);let P=v||Jr(f)?Ue(f,v,C):Ze(f,C);return F(P,c)}function Is(c,f,v){for(;;){let C,P=!1;if(v&&Sr()?(C=oi(29),P=At(m())):P=Je(25),P){f=bo(c,f,C);continue}if((C||!Mr())&&Je(23)){f=Fp(c,f,C);continue}if(vo()){f=!C&&f.kind===232?kc(c,f.expression,C,f.typeArguments):kc(c,f,C,void 0);continue}if(!C){if(m()===54&&!t.hasPrecedingLineBreak()){R(),f=F(h.createNonNullExpression(f),c);continue}let U=jt(Os);if(U){f=F(h.createExpressionWithTypeArguments(f,U),c);continue}}return f}}function vo(){return m()===15||m()===16}function kc(c,f,v,C){let P=h.createTaggedTemplateExpression(f,C,m()===15?(ot(!0),Lr()):ku(!0));return(v||f.flags&32)&&(P.flags|=32),P.questionDotToken=v,F(P,c)}function Ac(c,f){for(;;){f=Is(c,f,!0);let v,C=at(29);if(C&&(v=jt(Os),vo())){f=kc(c,f,C,v);continue}if(v||m()===21){!C&&f.kind===232&&(v=f.typeArguments,f=f.expression);let P=jp(),U=C||Jr(f)?ct(f,C,v,P):rt(f,v,P);f=F(U,c);continue}if(C){let P=Hn(80,!1,K.Identifier_expected);f=F(we(f,C,P),c)}break}return f}function jp(){Y(21);let c=Tn(11,qp);return Y(22),c}function Os(){if(ut&262144||st()!==30)return;R();let c=Tn(20,yt);if(ke()===32)return R(),c&&ry()?c:void 0}function ry(){switch(m()){case 21:case 15:case 16:return!0;case 30:case 32:case 40:case 41:return!1}return t.hasPrecedingLineBreak()||Tp()||!Oi()}function Dc(){switch(m()){case 15:t.getTokenFlags()&26656&&ot(!1);case 9:case 10:case 11:return Lr();case 110:case 108:case 106:case 112:case 97:return vn();case 21:return iy();case 23:return zp();case 19:return Ms();case 134:if(!Pe(rd))break;return Vp();case 60:return Cy();case 86:return hd();case 100:return Vp();case 105:return ay();case 44:case 69:if(De()===14)return Lr();break;case 16:return ku(!1);case 81:return Ts()}return Ut(K.Expression_expected)}function iy(){let c=S(),f=J();Y(21);let v=Re(Mt);return Y(22),Ie(F(sn(v),c),f)}function Bp(){let c=S();Y(26);let f=un(!0);return F(h.createSpreadElement(f),c)}function Up(){return m()===26?Bp():m()===28?F(h.createOmittedExpression(),S()):un(!0)}function qp(){return Oe(n,Up)}function zp(){let c=S(),f=t.getTokenStart(),v=Y(23),C=t.hasPrecedingLineBreak(),P=Tn(15,Up);return vr(23,24,v,f),F(Q(P,C),c)}function Wp(){let c=S(),f=J();if(at(26)){let ve=un(!0);return Ie(F(h.createSpreadAssignment(ve),c),f)}let v=Rr(!0);if(Ia(139))return Li(c,f,v,176,0);if(Ia(153))return Li(c,f,v,177,0);let C=at(42),P=Pt(),U=oa(),ne=at(58),_e=at(54);if(C||m()===21||m()===30)return dd(c,f,v,C,U,ne,_e);let pe;if(P&&m()!==59){let ve=at(64),Ge=ve?Re(()=>un(!0)):void 0;pe=h.createShorthandPropertyAssignment(U,Ge),pe.equalsToken=ve}else{Y(59);let ve=Re(()=>un(!0));pe=h.createPropertyAssignment(U,ve)}return pe.modifiers=v,pe.questionToken=ne,pe.exclamationToken=_e,Ie(F(pe,c),f)}function Ms(){let c=S(),f=t.getTokenStart(),v=Y(19),C=t.hasPrecedingLineBreak(),P=Tn(12,Wp,!0);return vr(19,20,v,f),F(W(P,C),c)}function Vp(){let c=Mr();ae(!1);let f=S(),v=J(),C=Rr(!1);Y(100);let P=at(42),U=P?1:0,ne=ft(C,Qc)?2:0,_e=U&&ne?na(ja):U?ta(ja):ne?ni(ja):ja(),pe=tr(),ce=_i(U|ne),ve=xr(59,!1),Ge=Ls(U|ne);ae(c);let je=h.createFunctionExpression(C,P,_e,pe,ce,ve,Ge);return Ie(F(je,f),v)}function ja(){return Yn()?vs():void 0}function ay(){let c=S();if(Y(105),Je(25)){let U=zt();return F(h.createMetaProperty(105,U),c)}let f=S(),v=Is(f,Dc(),!1),C;v.kind===232&&(C=v.typeArguments,v=v.expression),m()===29&&Fe(K.Invalid_optional_chain_from_new_expression_Did_you_mean_to_call_0,Ys(vt,v));let P=m()===21?jp():void 0;return F(Dn(v,C,P),c)}function sa(c,f){let v=S(),C=J(),P=t.getTokenStart(),U=Y(19,f);if(U||c){let ne=t.hasPrecedingLineBreak(),_e=er(1,fn);vr(19,20,U,P);let pe=Ie(F(ei(_e,ne),v),C);return m()===64&&(Fe(K.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),R()),pe}else{let ne=Tr();return Ie(F(ei(ne,void 0),v),C)}}function Ls(c,f){let v=ii();Z(!!(c&1));let C=Nn();Te(!!(c&2));let P=Jt;Jt=!1;let U=Mr();U&&ae(!1);let ne=sa(!!(c&16),f);return U&&ae(!0),Jt=P,Z(v),Te(C),ne}function Hp(){let c=S(),f=J();return Y(27),Ie(F(h.createEmptyStatement(),c),f)}function oy(){let c=S(),f=J();Y(101);let v=t.getTokenStart(),C=Y(21),P=Re(Mt);vr(21,22,C,v);let U=fn(),ne=Je(93)?fn():void 0;return Ie(F($e(P,U,ne),c),f)}function Kp(){let c=S(),f=J();Y(92);let v=fn();Y(117);let C=t.getTokenStart(),P=Y(21),U=Re(Mt);return vr(21,22,P,C),Je(27),Ie(F(h.createDoStatement(v,U),c),f)}function sy(){let c=S(),f=J();Y(117);let v=t.getTokenStart(),C=Y(21),P=Re(Mt);vr(21,22,C,v);let U=fn();return Ie(F($t(P,U),c),f)}function Gp(){let c=S(),f=J();Y(99);let v=at(135);Y(21);let C;m()!==27&&(m()===115||m()===121||m()===87?C=ld(!0):C=Rt(Mt));let P;if(v?Y(164):Je(164)){let U=Re(()=>un(!0));Y(22),P=Qt(v,C,U,fn())}else if(Je(103)){let U=Re(Mt);Y(22),P=h.createForInStatement(C,U,fn())}else{Y(27);let U=m()!==27&&m()!==22?Re(Mt):void 0;Y(27);let ne=m()!==22?Re(Mt):void 0;Y(22),P=jn(C,U,ne,fn())}return Ie(F(P,c),f)}function Xp(c){let f=S(),v=J();Y(c===251?83:88);let C=Ai()?void 0:Ut();In();let P=c===251?h.createBreakStatement(C):h.createContinueStatement(C);return Ie(F(P,f),v)}function _y(){let c=S(),f=J();Y(107);let v=Ai()?void 0:Re(Mt);return In(),Ie(F(h.createReturnStatement(v),c),f)}function $p(){let c=S(),f=J();Y(118);let v=t.getTokenStart(),C=Y(21),P=Re(Mt);vr(21,22,C,v);let U=We(33554432,fn);return Ie(F(h.createWithStatement(P,U),c),f)}function cy(){let c=S(),f=J();Y(84);let v=Re(Mt);Y(59);let C=er(3,fn);return Ie(F(h.createCaseClause(v,C),c),f)}function Qp(){let c=S();Y(90),Y(59);let f=er(3,fn);return F(h.createDefaultClause(f),c)}function ly(){return m()===84?cy():Qp()}function Yp(){let c=S();Y(19);let f=er(2,ly);return Y(20),F(h.createCaseBlock(f),c)}function uy(){let c=S(),f=J();Y(109),Y(21);let v=Re(Mt);Y(22);let C=Yp();return Ie(F(h.createSwitchStatement(v,C),c),f)}function Zp(){let c=S(),f=J();Y(111);let v=t.hasPrecedingLineBreak()?void 0:Re(Mt);return v===void 0&&(cn++,v=F(B(""),S())),uo()||_t(v),Ie(F(h.createThrowStatement(v),c),f)}function py(){let c=S(),f=J();Y(113);let v=sa(!1),C=m()===85?ed():void 0,P;return(!C||m()===98)&&(Y(98,K.catch_or_finally_expected),P=sa(!1)),Ie(F(h.createTryStatement(v,C,P),c),f)}function ed(){let c=S();Y(85);let f;Je(21)?(f=Js(),Y(22)):f=void 0;let v=sa(!1);return F(h.createCatchClause(f,v),c)}function dy(){let c=S(),f=J();return Y(89),In(),Ie(F(h.createDebuggerStatement(),c),f)}function td(){let c=S(),f=J(),v,C=m()===21,P=Re(Mt);return Ce(P)&&Je(59)?v=h.createLabeledStatement(P,fn()):(uo()||_t(P),v=Pn(P),C&&(f=!1)),Ie(F(v,c),f)}function Pc(){return R(),At(m())&&!t.hasPrecedingLineBreak()}function nd(){return R(),m()===86&&!t.hasPrecedingLineBreak()}function rd(){return R(),m()===100&&!t.hasPrecedingLineBreak()}function Nc(){return R(),(At(m())||m()===9||m()===10||m()===11)&&!t.hasPrecedingLineBreak()}function fy(){for(;;)switch(m()){case 115:case 121:case 87:case 100:case 86:case 94:return!0;case 120:case 156:return V1();case 144:case 145:return hy();case 128:case 129:case 134:case 138:case 123:case 124:case 125:case 148:if(R(),t.hasPrecedingLineBreak())return!1;continue;case 161:return R(),m()===19||m()===80||m()===95;case 102:return R(),m()===11||m()===42||m()===19||At(m());case 95:let c=R();if(c===156&&(c=Pe(R)),c===64||c===42||c===19||c===90||c===130||c===60)return!0;continue;case 126:R();continue;default:return!1}}function To(){return Pe(fy)}function id(){switch(m()){case 60:case 27:case 19:case 115:case 121:case 100:case 86:case 94:case 101:case 92:case 117:case 99:case 88:case 83:case 107:case 118:case 109:case 111:case 113:case 89:case 85:case 98:return!0;case 102:return To()||Pe(uc);case 87:case 95:return To();case 134:case 138:case 120:case 144:case 145:case 156:case 161:return!0;case 129:case 125:case 123:case 124:case 126:case 148:return To()||!Pe(Pc);default:return Oi()}}function ad(){return R(),Yn()||m()===19||m()===23}function my(){return Pe(ad)}function fn(){switch(m()){case 27:return Hp();case 19:return sa(!1);case 115:return Oc(S(),J(),void 0);case 121:if(my())return Oc(S(),J(),void 0);break;case 100:return Mc(S(),J(),void 0);case 86:return gd(S(),J(),void 0);case 101:return oy();case 92:return Kp();case 117:return sy();case 99:return Gp();case 88:return Xp(250);case 83:return Xp(251);case 107:return _y();case 118:return $p();case 109:return uy();case 111:return Zp();case 113:case 85:case 98:return py();case 89:return dy();case 60:return xo();case 134:case 120:case 156:case 144:case 145:case 138:case 87:case 94:case 95:case 102:case 123:case 124:case 125:case 128:case 129:case 126:case 148:case 161:if(To())return xo();break}return td()}function od(c){return c.kind===138}function xo(){let c=S(),f=J(),v=Rr(!0);if(ft(v,od)){let P=yy(c);if(P)return P;for(let U of v)U.flags|=16777216;return We(16777216,()=>sd(c,f,v))}else return sd(c,f,v)}function yy(c){return We(16777216,()=>{let f=$_(dt,c);if(f)return Q_(f)})}function sd(c,f,v){switch(m()){case 115:case 121:case 87:return Oc(c,f,v);case 100:return Mc(c,f,v);case 86:return gd(c,f,v);case 120:return Py(c,f,v);case 156:return Ny(c,f,v);case 94:return Oy(c,f,v);case 161:case 144:case 145:return Ed(c,f,v);case 102:return Ly(c,f,v);case 95:switch(R(),m()){case 90:case 64:return Wy(c,f,v);case 130:return Ad(c,f,v);default:return wo(c,f,v)}default:if(v){let C=Hn(281,!0,K.Declaration_expected);return qf(C,c),C.modifiers=v,C}return}}function hy(){return R(),!t.hasPrecedingLineBreak()&&(Pt()||m()===11)}function So(c,f){if(m()!==19){if(c&4){mo();return}if(Ai()){In();return}}return Ls(c,f)}function gy(){let c=S();if(m()===28)return F(h.createOmittedExpression(),c);let f=at(26),v=Ba(),C=Mi();return F(h.createBindingElement(f,void 0,v,C),c)}function _d(){let c=S(),f=at(26),v=Yn(),C=oa(),P;v&&m()!==59?(P=C,C=void 0):(Y(59),P=Ba());let U=Mi();return F(h.createBindingElement(f,C,P,U),c)}function by(){let c=S();Y(19);let f=Tn(9,_d);return Y(20),F(h.createObjectBindingPattern(f),c)}function cd(){let c=S();Y(23);let f=Tn(10,gy);return Y(24),F(h.createArrayBindingPattern(f),c)}function Ic(){return m()===19||m()===23||m()===81||Yn()}function Ba(c){return m()===23?cd():m()===19?by():vs(c)}function vy(){return Js(!0)}function Js(c){let f=S(),v=J(),C=Ba(K.Private_identifiers_are_not_allowed_in_variable_declarations),P;c&&C.kind===80&&m()===54&&!t.hasPrecedingLineBreak()&&(P=vn());let U=Ii(),ne=vp(m())?void 0:Mi(),_e=fr(C,P,U,ne);return Ie(F(_e,f),v)}function ld(c){let f=S(),v=0;switch(m()){case 115:break;case 121:v|=1;break;case 87:v|=2;break;default:M.fail()}R();let C;if(m()===164&&Pe(ud))C=Tr();else{let P=ai();ee(c),C=Tn(8,c?Js:vy),ee(P)}return F(Bn(C,v),f)}function ud(){return xs()&&R()===22}function Oc(c,f,v){let C=ld(!1);In();let P=_n(v,C);return Ie(F(P,c),f)}function Mc(c,f,v){let C=Nn(),P=ar(v);Y(100);let U=at(42),ne=P&1024?ja():vs(),_e=U?1:0,pe=P&512?2:0,ce=tr();P&1&&Te(!0);let ve=_i(_e|pe),Ge=xr(59,!1),je=So(_e|pe,K.or_expected);Te(C);let Be=h.createFunctionDeclaration(v,U,ne,ce,ve,Ge,je);return Ie(F(Be,c),f)}function Ty(){if(m()===137)return Y(137);if(m()===11&&Pe(R)===21)return jt(()=>{let c=Lr();return c.text==="constructor"?c:void 0})}function pd(c,f,v){return jt(()=>{if(Ty()){let C=tr(),P=_i(0),U=xr(59,!1),ne=So(0,K.or_expected),_e=h.createConstructorDeclaration(v,P,ne);return _e.typeParameters=C,_e.type=U,Ie(F(_e,c),f)}})}function dd(c,f,v,C,P,U,ne,_e){let pe=C?1:0,ce=ft(v,Qc)?2:0,ve=tr(),Ge=_i(pe|ce),je=xr(59,!1),Be=So(pe|ce,_e),Lt=h.createMethodDeclaration(v,C,P,U,ve,Ge,je,Be);return Lt.exclamationToken=ne,Ie(F(Lt,c),f)}function Lc(c,f,v,C,P){let U=!P&&!t.hasPrecedingLineBreak()?at(54):void 0,ne=Ii(),_e=Oe(45056,Mi);lo(C,ne,_e);let pe=h.createPropertyDeclaration(v,C,P||U,ne,_e);return Ie(F(pe,c),f)}function fd(c,f,v){let C=at(42),P=oa(),U=at(58);return C||m()===21||m()===30?dd(c,f,v,C,P,U,void 0,K.or_expected):Lc(c,f,v,P,U)}function Li(c,f,v,C,P){let U=oa(),ne=tr(),_e=_i(0),pe=xr(59,!1),ce=So(P),ve=C===176?h.createGetAccessorDeclaration(v,U,_e,pe,ce):h.createSetAccessorDeclaration(v,U,_e,ce);return ve.typeParameters=ne,N_(ve)&&(ve.type=pe),Ie(F(ve,c),f)}function xy(){let c;if(m()===60)return!0;for(;yi(m());){if(c=m(),wx(c))return!0;R()}if(m()===42||(aa()&&(c=m(),R()),m()===23))return!0;if(c!==void 0){if(!bi(c)||c===153||c===139)return!0;switch(m()){case 21:case 30:case 54:case 59:case 64:case 58:return!0;default:return Ai()}}return!1}function Sy(c,f,v){oi(126);let C=md(),P=Ie(F(h.createClassStaticBlockDeclaration(C),c),f);return P.modifiers=v,P}function md(){let c=ii(),f=Nn();Z(!1),Te(!0);let v=sa(!1);return Z(c),Te(f),v}function wy(){if(Nn()&&m()===135){let c=S(),f=Ut(K.Expression_expected);R();let v=Is(c,f,!0);return Ac(c,v)}return Fa()}function yd(){let c=S();if(!Je(60))return;let f=gr(wy);return F(h.createDecorator(f),c)}function Jc(c,f,v){let C=S(),P=m();if(m()===87&&f){if(!jt(H_))return}else{if(v&&m()===126&&Pe(js))return;if(c&&m()===126)return;if(!hu())return}return F(oe(P),C)}function Rr(c,f,v){let C=S(),P,U,ne,_e=!1,pe=!1,ce=!1;if(c&&m()===60)for(;U=yd();)P=Tt(P,U);for(;ne=Jc(_e,f,v);)ne.kind===126&&(_e=!0),P=Tt(P,ne),pe=!0;if(pe&&c&&m()===60)for(;U=yd();)P=Tt(P,U),ce=!0;if(ce)for(;ne=Jc(_e,f,v);)ne.kind===126&&(_e=!0),P=Tt(P,ne);return P&&Bt(P,C)}function Rc(){let c;if(m()===134){let f=S();R();let v=F(oe(134),f);c=Bt([v],f)}return c}function Ey(){let c=S(),f=J();if(m()===27)return R(),Ie(F(h.createSemicolonClassElement(),c),f);let v=Rr(!0,!0,!0);if(m()===126&&Pe(js))return Sy(c,f,v);if(Ia(139))return Li(c,f,v,176,0);if(Ia(153))return Li(c,f,v,177,0);if(m()===137||m()===11){let C=pd(c,f,v);if(C)return C}if(Uu())return qu(c,f,v);if(At(m())||m()===11||m()===9||m()===42||m()===23)if(ft(v,od)){for(let P of v)P.flags|=16777216;return We(16777216,()=>fd(c,f,v))}else return fd(c,f,v);if(v){let C=Hn(80,!0,K.Declaration_expected);return Lc(c,f,v,C,void 0)}return M.fail("Should not have attempted to parse class member declaration.")}function Cy(){let c=S(),f=J(),v=Rr(!0);if(m()===86)return Fc(c,f,v,230);let C=Hn(281,!0,K.Expression_expected);return qf(C,c),C.modifiers=v,C}function hd(){return Fc(S(),J(),void 0,230)}function gd(c,f,v){return Fc(c,f,v,262)}function Fc(c,f,v,C){let P=Nn();Y(86);let U=bd(),ne=tr();ft(v,a8)&&Te(!0);let _e=vd(),pe;Y(19)?(pe=Dy(),Y(20)):pe=Tr(),Te(P);let ce=C===262?h.createClassDeclaration(v,U,ne,_e,pe):h.createClassExpression(v,U,ne,_e,pe);return Ie(F(ce,c),f)}function bd(){return Yn()&&!ky()?ia(Yn()):void 0}function ky(){return m()===119&&Pe(K_)}function vd(){if(Fs())return er(22,Td)}function Td(){let c=S(),f=m();M.assert(f===96||f===119),R();let v=Tn(7,Ay);return F(h.createHeritageClause(f,v),c)}function Ay(){let c=S(),f=Fa();if(f.kind===232)return f;let v=Rs();return F(h.createExpressionWithTypeArguments(f,v),c)}function Rs(){return m()===30?Ni(20,yt,30,32):void 0}function Fs(){return m()===96||m()===119}function Dy(){return er(5,Ey)}function Py(c,f,v){Y(120);let C=Ut(),P=tr(),U=vd(),ne=pc(),_e=h.createInterfaceDeclaration(v,C,P,U,ne);return Ie(F(_e,c),f)}function Ny(c,f,v){Y(156);let C=Ut(),P=tr();Y(64);let U=m()===141&&jt(fc)||yt();In();let ne=h.createTypeAliasDeclaration(v,C,P,U);return Ie(F(ne,c),f)}function Iy(){let c=S(),f=J(),v=oa(),C=Re(Mi);return Ie(F(h.createEnumMember(v,C),c),f)}function Oy(c,f,v){Y(94);let C=Ut(),P;Y(19)?(P=Pa(()=>Tn(6,Iy)),Y(20)):P=Tr();let U=h.createEnumDeclaration(v,C,P);return Ie(F(U,c),f)}function xd(){let c=S(),f;return Y(19)?(f=er(1,fn),Y(20)):f=Tr(),F(h.createModuleBlock(f),c)}function Sd(c,f,v,C){let P=C&16,U=Ut(),ne=Je(25)?Sd(S(),!1,void 0,4|P):xd(),_e=h.createModuleDeclaration(v,U,ne,C);return Ie(F(_e,c),f)}function wd(c,f,v){let C=0,P;m()===161?(P=Ut(),C|=1024):(P=Lr(),P.text=Di(P.text));let U;m()===19?U=xd():In();let ne=h.createModuleDeclaration(v,P,U,C);return Ie(F(ne,c),f)}function Ed(c,f,v){let C=0;if(m()===161)return wd(c,f,v);if(Je(145))C|=16;else if(Y(144),m()===11)return wd(c,f,v);return Sd(c,f,v,C)}function Cd(){return m()===149&&Pe(kd)}function kd(){return R()===21}function js(){return R()===19}function My(){return R()===44}function Ad(c,f,v){Y(130),Y(145);let C=Ut();In();let P=h.createNamespaceExportDeclaration(C);return P.modifiers=v,Ie(F(P,c),f)}function Ly(c,f,v){Y(102);let C=t.getTokenFullStart(),P;Pt()&&(P=Ut());let U=!1;if(m()!==160&&(P==null?void 0:P.escapedText)==="type"&&(Pt()||Ry())&&(U=!0,P=Pt()?Ut():void 0),P&&!Fy())return Bc(c,f,v,P,U);let ne;(P||m()===42||m()===19)&&(ne=jy(P,C,U),Y(160));let _e=Us(),pe;m()===132&&!t.hasPrecedingLineBreak()&&(pe=jc()),In();let ce=h.createImportDeclaration(v,ne,_e,pe);return Ie(F(ce,c),f)}function Jy(){let c=S(),f=At(m())?zt():fo(11);Y(59);let v=un(!0);return F(h.createAssertEntry(f,v),c)}function jc(c){let f=S();c||Y(132);let v=t.getTokenStart();if(Y(19)){let C=t.hasPrecedingLineBreak(),P=Tn(24,Jy,!0);if(!Y(20)){let U=Ti(lt);U&&U.code===K._0_expected.code&&Xc(U,No(dn,v,1,K.The_parser_expected_to_find_a_1_to_match_the_0_token_here,"{","}"))}return F(h.createAssertClause(P,C),f)}else{let C=Bt([],S(),void 0,!1);return F(h.createAssertClause(C,!1),f)}}function Ry(){return m()===42||m()===19}function Fy(){return m()===28||m()===160}function Bc(c,f,v,C,P){Y(64);let U=By();In();let ne=h.createImportEqualsDeclaration(v,P,C,U);return Ie(F(ne,c),f)}function jy(c,f,v){let C;return(!c||Je(28))&&(C=m()===42?Uy():Dd(274)),F(h.createImportClause(v,c,C),f)}function By(){return Cd()?Bs():Ma(!1)}function Bs(){let c=S();Y(149),Y(21);let f=Us();return Y(22),F(h.createExternalModuleReference(f),c)}function Us(){if(m()===11){let c=Lr();return c.text=Di(c.text),c}else return Mt()}function Uy(){let c=S();Y(42),Y(130);let f=Ut();return F(h.createNamespaceImport(f),c)}function Dd(c){let f=S(),v=c===274?h.createNamedImports(Ni(23,qy,19,20)):h.createNamedExports(Ni(23,_a,19,20));return F(v,f)}function _a(){let c=J();return Ie(Pd(280),c)}function qy(){return Pd(275)}function Pd(c){let f=S(),v=bi(m())&&!Pt(),C=t.getTokenStart(),P=t.getTokenEnd(),U=!1,ne,_e=!0,pe=zt();if(pe.escapedText==="type")if(m()===130){let Ge=zt();if(m()===130){let je=zt();At(m())?(U=!0,ne=Ge,pe=ve(),_e=!1):(ne=pe,pe=je,_e=!1)}else At(m())?(ne=pe,_e=!1,pe=ve()):(U=!0,pe=Ge)}else At(m())&&(U=!0,pe=ve());_e&&m()===130&&(ne=pe,Y(130),pe=ve()),c===275&&v&&wt(C,P,K.Identifier_expected);let ce=c===275?h.createImportSpecifier(U,ne,pe):h.createExportSpecifier(U,ne,pe);return F(ce,f);function ve(){return v=bi(m())&&!Pt(),C=t.getTokenStart(),P=t.getTokenEnd(),zt()}}function zy(c){return F(h.createNamespaceExport(zt()),c)}function wo(c,f,v){let C=Nn();Te(!0);let P,U,ne,_e=Je(156),pe=S();Je(42)?(Je(130)&&(P=zy(pe)),Y(160),U=Us()):(P=Dd(278),(m()===160||m()===11&&!t.hasPrecedingLineBreak())&&(Y(160),U=Us())),U&&m()===132&&!t.hasPrecedingLineBreak()&&(ne=jc()),In(),Te(C);let ce=h.createExportDeclaration(v,_e,P,U,ne);return Ie(F(ce,c),f)}function Wy(c,f,v){let C=Nn();Te(!0);let P;Je(64)?P=!0:Y(90);let U=un(!0);In(),Te(C);let ne=h.createExportAssignment(v,P,U);return Ie(F(ne,c),f)}let Nd;(c=>{c[c.SourceElements=0]="SourceElements",c[c.BlockStatements=1]="BlockStatements",c[c.SwitchClauses=2]="SwitchClauses",c[c.SwitchClauseStatements=3]="SwitchClauseStatements",c[c.TypeMembers=4]="TypeMembers",c[c.ClassMembers=5]="ClassMembers",c[c.EnumMembers=6]="EnumMembers",c[c.HeritageClauseElement=7]="HeritageClauseElement",c[c.VariableDeclarations=8]="VariableDeclarations",c[c.ObjectBindingElements=9]="ObjectBindingElements",c[c.ArrayBindingElements=10]="ArrayBindingElements",c[c.ArgumentExpressions=11]="ArgumentExpressions",c[c.ObjectLiteralMembers=12]="ObjectLiteralMembers",c[c.JsxAttributes=13]="JsxAttributes",c[c.JsxChildren=14]="JsxChildren",c[c.ArrayLiteralMembers=15]="ArrayLiteralMembers",c[c.Parameters=16]="Parameters",c[c.JSDocParameters=17]="JSDocParameters",c[c.RestProperties=18]="RestProperties",c[c.TypeParameters=19]="TypeParameters",c[c.TypeArguments=20]="TypeArguments",c[c.TupleElementTypes=21]="TupleElementTypes",c[c.HeritageClauses=22]="HeritageClauses",c[c.ImportOrExportSpecifiers=23]="ImportOrExportSpecifiers",c[c.AssertEntries=24]="AssertEntries",c[c.JSDocComment=25]="JSDocComment",c[c.Count=26]="Count"})(Nd||(Nd={}));let Id;(c=>{c[c.False=0]="False",c[c.True=1]="True",c[c.Unknown=2]="Unknown"})(Id||(Id={}));let Od;(c=>{function f(ce,ve,Ge){Wn("file.js",ce,99,void 0,1),t.setText(ce,ve,Ge),mt=t.scan();let je=v(),Be=et("file.js",99,1,!1,[],oe(1),0,Pr),Lt=za(lt,Be);return Zt&&(Be.jsDocDiagnostics=za(Zt,Be)),hr(),je?{jsDocTypeExpression:je,diagnostics:Lt}:void 0}c.parseJSDocTypeExpressionForTests=f;function v(ce){let ve=S(),Ge=(ce?Je:Y)(19),je=We(8388608,ks);(!ce||Ge)&&Na(20);let Be=h.createJSDocTypeExpression(je);return Ee(Be),F(Be,ve)}c.parseJSDocTypeExpression=v;function C(){let ce=S(),ve=Je(19),Ge=S(),je=Ma(!1);for(;m()===81;)Ye(),me(),je=F(h.createJSDocMemberName(je,Ut()),Ge);ve&&Na(20);let Be=h.createJSDocNameReference(je);return Ee(Be),F(Be,ce)}c.parseJSDocNameReference=C;function P(ce,ve,Ge){Wn("",ce,99,void 0,1);let je=We(8388608,()=>pe(ve,Ge)),Lt=za(lt,{languageVariant:0,text:ce});return hr(),je?{jsDoc:je,diagnostics:Lt}:void 0}c.parseIsolatedJSDocComment=P;function U(ce,ve,Ge){let je=mt,Be=lt.length,Lt=ln,On=We(8388608,()=>pe(ve,Ge));return Vi(On,ce),ut&262144&&(Zt||(Zt=[]),Zt.push(...lt)),mt=je,lt.length=Be,ln=Lt,On}c.parseJSDocComment=U;let ne;(ce=>{ce[ce.BeginningOfLine=0]="BeginningOfLine",ce[ce.SawAsterisk=1]="SawAsterisk",ce[ce.SavingComments=2]="SavingComments",ce[ce.SavingBackticks=3]="SavingBackticks"})(ne||(ne={}));let _e;(ce=>{ce[ce.Property=1]="Property",ce[ce.Parameter=2]="Parameter",ce[ce.CallbackParameter=4]="CallbackParameter"})(_e||(_e={}));function pe(ce=0,ve){let Ge=dt;dt|=1<<25;let je=vt,Be=ve===void 0?je.length:ce+ve;if(ve=Be-ce,M.assert(ce>=0),M.assert(ce<=Be),M.assert(Be<=je.length),!o7(je,ce))return;let Lt,On,ca,li,Ji,Ri=[],la=[],Uc=t.scanRange(ce+3,ve-5,Md);return dt=Ge,Uc;function Md(){let V=1,re,te=ce-(je.lastIndexOf(` -`,ce)+1)+4;function le(qe){re||(re=te),Ri.push(qe),te+=qe.length}for(me();ko(5););ko(4)&&(V=0,te=0);e:for(;;){switch(m()){case 60:Vy(Ri),Ji||(Ji=S()),Hy(Jd(te)),V=0,re=void 0;break;case 4:Ri.push(t.getTokenText()),V=0,te=0;break;case 42:let qe=t.getTokenText();V===1?(V=2,le(qe)):(M.assert(V===0),V=1,te+=qe.length);break;case 5:M.assert(V!==2,"whitespace shouldn't come from the scanner while saving top-level comment text");let kt=t.getTokenText();re!==void 0&&te+kt.length>re&&Ri.push(kt.slice(re-te)),te+=kt.length;break;case 1:break e;case 82:V=2,le(t.getTokenValue());break;case 19:V=2;let wr=t.getTokenFullStart(),nr=t.getTokenEnd()-1,Sn=ui(nr);if(Sn){li||qc(Ri),la.push(F(h.createJSDocText(Ri.join("")),li??ce,wr)),la.push(Sn),Ri=[],li=t.getTokenEnd();break}default:V=2,le(t.getTokenText());break}V===2?Ae(!1):me()}let fe=e_(Ri.join(""));la.length&&fe.length&&la.push(F(h.createJSDocText(fe),li??ce,Ji)),la.length&&Lt&&M.assertIsDefined(Ji,"having parsed tags implies that the end of the comment span should be set");let Me=Lt&&Bt(Lt,On,ca);return F(h.createJSDocComment(la.length?Bt(la,ce,Ji):fe.length?fe:void 0,Me),ce,Be)}function qc(V){for(;V.length&&(V[0]===` -`||V[0]==="\r");)V.shift()}function Vy(V){for(;V.length;){let re=e_(V[V.length-1]);if(re==="")V.pop();else if(re.lengthkt&&(le.push(Fr.slice(kt-V)),qe=2),V+=Fr.length;break;case 19:qe=2;let Fd=t.getTokenFullStart(),zs=t.getTokenEnd()-1,jd=ui(zs);jd?(fe.push(F(h.createJSDocText(le.join("")),Me??te,Fd)),fe.push(jd),le=[],Me=t.getTokenEnd()):wr(t.getTokenText());break;case 62:qe===3?qe=2:qe=3,wr(t.getTokenText());break;case 82:qe!==3&&(qe=2),wr(t.getTokenValue());break;case 42:if(qe===0){qe=1,V+=1;break}default:qe!==3&&(qe=2),wr(t.getTokenText());break}qe===2||qe===3?nr=Ae(qe===3):nr=me()}qc(le);let Sn=e_(le.join(""));if(fe.length)return Sn.length&&fe.push(F(h.createJSDocText(Sn),Me??te)),Bt(fe,te,t.getTokenEnd());if(Sn.length)return Sn}function ui(V){let re=jt(Eo);if(!re)return;me(),pn();let te=S(),le=At(m())?Ma(!0):void 0;if(le)for(;m()===81;)Ye(),me(),le=F(h.createJSDocMemberName(le,Ut()),te);let fe=[];for(;m()!==20&&m()!==4&&m()!==1;)fe.push(t.getTokenText()),me();let Me=re==="link"?h.createJSDocLink:re==="linkcode"?h.createJSDocLinkCode:h.createJSDocLinkPlain;return F(Me(le,fe.join("")),V,t.getTokenEnd())}function Eo(){if(Fi(),m()===19&&me()===60&&At(me())){let V=t.getTokenValue();if(Rd(V))return V}}function Rd(V){return V==="link"||V==="linkcode"||V==="linkplain"}function pi(V,re,te,le){return F(h.createJSDocUnknownTag(re,Se(V,S(),te,le)),V)}function Hy(V){V&&(Lt?Lt.push(V):(Lt=[V],On=V.pos),ca=V.end)}function r(){return Fi(),m()===19?v():void 0}function o(){let V=ko(23);V&&pn();let re=ko(62),te=TC();return re&&du(62),V&&(pn(),at(64)&&Mt(),Y(24)),{name:te,isBracketed:V}}function _(V){switch(V.kind){case 151:return!0;case 187:return _(V.elementType);default:return I_(V)&&Ce(V.typeName)&&V.typeName.escapedText==="Object"&&!V.typeArguments}}function u(V,re,te,le){let fe=r(),Me=!fe;Fi();let{name:qe,isBracketed:kt}=o(),wr=Fi();Me&&!Pe(Eo)&&(fe=r());let nr=Se(V,S(),le,wr),Sn=te!==4&&b(fe,qe,te,le);Sn&&(fe=Sn,Me=!0);let Fr=te===1?h.createJSDocPropertyTag(re,qe,kt,fe,Me,nr):h.createJSDocParameterTag(re,qe,kt,fe,Me,nr);return F(Fr,V)}function b(V,re,te,le){if(V&&_(V.type)){let fe=S(),Me,qe;for(;Me=jt(()=>Gy(te,le,re));)Me.kind===347||Me.kind===354?qe=Tt(qe,Me):Me.kind===351&&j(Me.tagName,K.A_JSDoc_template_tag_may_not_follow_a_typedef_callback_or_overload_tag);if(qe){let kt=F(h.createJSDocTypeLiteral(qe,V.type.kind===187),fe);return F(h.createJSDocTypeExpression(kt),fe)}}}function I(V,re,te,le){ft(Lt,Bb)&&wt(re.pos,t.getTokenStart(),K._0_tag_already_specified,Xo(re.escapedText));let fe=r();return F(h.createJSDocReturnTag(re,fe,Se(V,S(),te,le)),V)}function X(V,re,te,le){ft(Lt,ru)&&wt(re.pos,t.getTokenStart(),K._0_tag_already_specified,Xo(re.escapedText));let fe=v(!0),Me=te!==void 0&&le!==void 0?Se(V,S(),te,le):void 0;return F(h.createJSDocTypeTag(re,fe,Me),V)}function ge(V,re,te,le){let Me=m()===23||Pe(()=>me()===60&&At(me())&&Rd(t.getTokenValue()))?void 0:C(),qe=te!==void 0&&le!==void 0?Se(V,S(),te,le):void 0;return F(h.createJSDocSeeTag(re,Me,qe),V)}function Ve(V,re,te,le){let fe=r(),Me=Se(V,S(),te,le);return F(h.createJSDocThrowsTag(re,fe,Me),V)}function xn(V,re,te,le){let fe=S(),Me=di(),qe=t.getTokenFullStart(),kt=Se(V,qe,te,le);kt||(qe=t.getTokenFullStart());let wr=typeof kt!="string"?Bt(d_([F(Me,fe,qe)],kt),fe):Me.text+kt;return F(h.createJSDocAuthorTag(re,wr),V)}function di(){let V=[],re=!1,te=t.getToken();for(;te!==1&&te!==4;){if(te===30)re=!0;else{if(te===60&&!re)break;if(te===32&&re){V.push(t.getTokenText()),t.resetTokenState(t.getTokenEnd());break}}V.push(t.getTokenText()),te=me()}return h.createJSDocText(V.join(""))}function fi(V,re,te,le){let fe=K6();return F(h.createJSDocImplementsTag(re,fe,Se(V,S(),te,le)),V)}function qs(V,re,te,le){let fe=K6();return F(h.createJSDocAugmentsTag(re,fe,Se(V,S(),te,le)),V)}function _C(V,re,te,le){let fe=v(!1),Me=te!==void 0&&le!==void 0?Se(V,S(),te,le):void 0;return F(h.createJSDocSatisfiesTag(re,fe,Me),V)}function K6(){let V=Je(19),re=S(),te=cC();t.setInJSDocType(!0);let le=Rs();t.setInJSDocType(!1);let fe=h.createExpressionWithTypeArguments(te,le),Me=F(fe,re);return V&&Y(20),Me}function cC(){let V=S(),re=Ua();for(;Je(25);){let te=Ua();re=F(se(re,te),V)}return re}function Co(V,re,te,le,fe){return F(re(te,Se(V,S(),le,fe)),V)}function lC(V,re,te,le){let fe=v(!0);return pn(),F(h.createJSDocThisTag(re,fe,Se(V,S(),te,le)),V)}function uC(V,re,te,le){let fe=v(!0);return pn(),F(h.createJSDocEnumTag(re,fe,Se(V,S(),te,le)),V)}function pC(V,re,te,le){let fe=r();Fi();let Me=Ky();pn();let qe=nt(te),kt;if(!fe||_(fe.type)){let nr,Sn,Fr,Fd=!1;for(;(nr=jt(()=>hC(te)))&&nr.kind!==351;)if(Fd=!0,nr.kind===350)if(Sn){let zs=Fe(K.A_JSDoc_typedef_comment_may_not_contain_multiple_type_tags);zs&&Xc(zs,No(dn,0,0,K.The_tag_was_first_specified_here));break}else Sn=nr;else Fr=Tt(Fr,nr);if(Fd){let zs=fe&&fe.type.kind===187,jd=h.createJSDocTypeLiteral(Fr,zs);fe=Sn&&Sn.typeExpression&&!_(Sn.typeExpression.type)?Sn.typeExpression:F(jd,V),kt=fe.end}}kt=kt||qe!==void 0?S():(Me??fe??re).end,qe||(qe=Se(V,kt,te,le));let wr=h.createJSDocTypedefTag(re,fe,Me,qe);return F(wr,V,kt)}function Ky(V){let re=t.getTokenStart();if(!At(m()))return;let te=Ua();if(Je(25)){let le=Ky(!0),fe=h.createModuleDeclaration(void 0,te,le,V?4:void 0);return F(fe,re)}return V&&(te.flags|=2048),te}function dC(V){let re=S(),te,le;for(;te=jt(()=>Gy(4,V));){if(te.kind===351){j(te.tagName,K.A_JSDoc_template_tag_may_not_follow_a_typedef_callback_or_overload_tag);break}le=Tt(le,te)}return Bt(le||[],re)}function G6(V,re){let te=dC(re),le=jt(()=>{if(ko(60)){let fe=Jd(re);if(fe&&fe.kind===348)return fe}});return F(h.createJSDocSignature(void 0,te,le),V)}function fC(V,re,te,le){let fe=Ky();pn();let Me=nt(te),qe=G6(V,te);Me||(Me=Se(V,S(),te,le));let kt=Me!==void 0?S():qe.end;return F(h.createJSDocCallbackTag(re,qe,fe,Me),V,kt)}function mC(V,re,te,le){pn();let fe=nt(te),Me=G6(V,te);fe||(fe=Se(V,S(),te,le));let qe=fe!==void 0?S():Me.end;return F(h.createJSDocOverloadTag(re,Me,fe),V,qe)}function yC(V,re){for(;!Ce(V)||!Ce(re);)if(!Ce(V)&&!Ce(re)&&V.right.escapedText===re.right.escapedText)V=V.left,re=re.left;else return!1;return V.escapedText===re.escapedText}function hC(V){return Gy(1,V)}function Gy(V,re,te){let le=!0,fe=!1;for(;;)switch(me()){case 60:if(le){let Me=gC(V,re);return Me&&(Me.kind===347||Me.kind===354)&&V!==4&&te&&(Ce(Me.name)||!yC(te,Me.name.left))?!1:Me}fe=!1;break;case 4:le=!0,fe=!1;break;case 42:fe&&(le=!1),fe=!0;break;case 80:le=!1;break;case 1:return!1}}function gC(V,re){M.assert(m()===60);let te=t.getTokenFullStart();me();let le=Ua(),fe=Fi(),Me;switch(le.escapedText){case"type":return V===1&&X(te,le);case"prop":case"property":Me=1;break;case"arg":case"argument":case"param":Me=6;break;case"template":return X6(te,le,re,fe);default:return!1}return V&Me?u(te,le,V,re):!1}function bC(){let V=S(),re=ko(23);re&&pn();let te=Ua(K.Unexpected_token_A_type_parameter_name_was_expected_without_curly_braces),le;if(re&&(pn(),Y(64),le=We(8388608,ks),Y(24)),!Bi(te))return F(h.createTypeParameterDeclaration(void 0,te,void 0,le),V)}function vC(){let V=S(),re=[];do{pn();let te=bC();te!==void 0&&re.push(te),Fi()}while(ko(28));return Bt(re,V)}function X6(V,re,te,le){let fe=m()===19?v():void 0,Me=vC();return F(h.createJSDocTemplateTag(re,fe,Me,Se(V,S(),te,le)),V)}function ko(V){return m()===V?(me(),!0):!1}function TC(){let V=Ua();for(Je(23)&&Y(24);Je(25);){let re=Ua();Je(23)&&Y(24),V=nc(V,re)}return V}function Ua(V){if(!At(m()))return Hn(80,!V,V||K.Identifier_expected);cn++;let re=t.getTokenStart(),te=t.getTokenEnd(),le=m(),fe=Di(t.getTokenValue()),Me=F(B(fe,le),re,te);return me(),Me}}})(Od=e.JSDocParser||(e.JSDocParser={}))})(zr||(zr={})),(e=>{function t(g,A,B,G){if(G=G||M.shouldAssert(2),h(g,A,B,G),qT(B))return g;if(g.statements.length===0)return zr.parseSourceFile(g.fileName,A,g.languageVersion,void 0,!0,g.scriptKind,g.setExternalModuleIndicator);let oe=g;M.assert(!oe.hasBeenIncrementallyParsed),oe.hasBeenIncrementallyParsed=!0,zr.fixupParentReferences(oe);let Q=g.text,W=D(g),se=p(g,B);h(g,A,se,G),M.assert(se.span.start<=B.span.start),M.assert(tn(se.span)===tn(B.span)),M.assert(tn(Ks(se))===tn(Ks(B)));let we=Ks(se).length-se.span.length;y(oe,se.span.start,tn(se.span),tn(Ks(se)),we,Q,A,G);let Ze=zr.parseSourceFile(g.fileName,A,g.languageVersion,W,!0,g.scriptKind,g.setExternalModuleIndicator);return Ze.commentDirectives=n(g.commentDirectives,Ze.commentDirectives,se.span.start,tn(se.span),we,Q,A,G),Ze.impliedNodeFormat=g.impliedNodeFormat,Ze}e.updateSourceFile=t;function n(g,A,B,G,oe,Q,W,se){if(!g)return A;let we,Ze=!1;for(let rt of g){let{range:ct,type:Dn}=rt;if(ct.endG){Ue();let sn={range:{pos:ct.pos+oe,end:ct.end+oe},type:Dn};we=Tt(we,sn),se&&M.assert(Q.substring(ct.pos,ct.end)===W.substring(sn.range.pos,sn.range.end))}}return Ue(),we;function Ue(){Ze||(Ze=!0,we?A&&we.push(...A):we=A)}}function i(g,A,B,G,oe,Q){A?se(g):W(g);return;function W(we){let Ze="";if(Q&&s(we)&&(Ze=G.substring(we.pos,we.end)),we._children&&(we._children=void 0),Va(we,we.pos+B,we.end+B),Q&&s(we)&&M.assert(Ze===oe.substring(we.pos,we.end)),qt(we,W,se),Ui(we))for(let Ue of we.jsDoc)W(Ue);d(we,Q)}function se(we){we._children=void 0,Va(we,we.pos+B,we.end+B);for(let Ze of we)W(Ze)}}function s(g){switch(g.kind){case 11:case 9:case 80:return!0}return!1}function l(g,A,B,G,oe){M.assert(g.end>=A,"Adjusting an element that was entirely before the change range"),M.assert(g.pos<=B,"Adjusting an element that was entirely after the change range"),M.assert(g.pos<=g.end);let Q=Math.min(g.pos,G),W=g.end>=B?g.end+oe:Math.min(g.end,G);M.assert(Q<=W),g.parent&&(M.assertGreaterThanOrEqual(Q,g.parent.pos),M.assertLessThanOrEqual(W,g.parent.end)),Va(g,Q,W)}function d(g,A){if(A){let B=g.pos,G=oe=>{M.assert(oe.pos>=B),B=oe.end};if(Ui(g))for(let oe of g.jsDoc)G(oe);qt(g,G),M.assert(B<=g.end)}}function y(g,A,B,G,oe,Q,W,se){we(g);return;function we(Ue){if(M.assert(Ue.pos<=Ue.end),Ue.pos>B){i(Ue,!1,oe,Q,W,se);return}let rt=Ue.end;if(rt>=A){if(Ue.intersectsChange=!0,Ue._children=void 0,l(Ue,A,B,G,oe),qt(Ue,we,Ze),Ui(Ue))for(let ct of Ue.jsDoc)we(ct);d(Ue,se);return}M.assert(rtB){i(Ue,!0,oe,Q,W,se);return}let rt=Ue.end;if(rt>=A){Ue.intersectsChange=!0,Ue._children=void 0,l(Ue,A,B,G,oe);for(let ct of Ue)we(ct);return}M.assert(rt0&&W<=1;W++){let se=x(g,G);M.assert(se.pos<=G);let we=se.pos;G=Math.max(0,we-1)}let oe=zi(G,tn(A.span)),Q=A.newLength+(A.span.start-G);return pm(oe,Q)}function x(g,A){let B=g,G;if(qt(g,Q),G){let W=oe(G);W.pos>B.pos&&(B=W)}return B;function oe(W){for(;;){let se=H3(W);if(se)W=se;else return W}}function Q(W){if(!Bi(W))if(W.pos<=A){if(W.pos>=B.pos&&(B=W),AA),!0}}function h(g,A,B,G){let oe=g.text;if(B&&(M.assert(oe.length-B.span.length+B.newLength===A.length),G||M.shouldAssert(3))){let Q=oe.substr(0,B.span.start),W=A.substr(0,B.span.start);M.assert(Q===W);let se=oe.substring(tn(B.span),oe.length),we=A.substring(tn(Ks(B)),A.length);M.assert(se===we)}}function D(g){let A=g.statements,B=0;M.assert(B=Ze.pos&&W=Ze.pos&&W{g[g.Value=-1]="Value"})(w||(w={}))})(cf||(cf={})),lf=new Map,f7=/^\/\/\/\s*<(\S+)\s.*?\/>/im,m7=/^\/\/\/?\s*@(\S+)\s*(.*)\s*$/im}}),LF=()=>{},KK=Ht({"src/compiler/pnp.ts"(){"use strict";bT()}}),JF=()=>{},RF=()=>{},FF=()=>{},jF=()=>{},BF=()=>{},UF=()=>{},qF=()=>{},zF=()=>{},WF=()=>{},VF=()=>{},HF=()=>{},KF=()=>{},GF=()=>{},XF=()=>{},$F=()=>{},QF=()=>{},YF=()=>{},ZF=()=>{},ej=()=>{},tj=()=>{},nj=()=>{},rj=()=>{},ij=()=>{},aj=()=>{},oj=()=>{},sj=()=>{},_j=()=>{},cj=()=>{},lj=()=>{},uj=()=>{},pj=()=>{},dj=()=>{},fj=()=>{},mj=()=>{},yj=()=>{},hj=()=>{},gj=()=>{},bj=()=>{},vj=()=>{},Tj=()=>{},xj=()=>{},Sj=()=>{},wj=()=>{},Ej=()=>{},Cj=()=>{},En=Ht({"src/compiler/_namespaces/ts.ts"(){"use strict";IC(),p5(),cT(),d5(),f5(),y5(),b5(),pT(),T5(),bT(),R5(),H5(),MA(),dL(),fL(),mL(),yL(),DL(),PL(),NL(),oR(),bF(),vF(),MF(),LF(),JF(),RF(),FF(),BF(),UF(),qF(),zF(),WF(),VF(),HF(),KF(),GF(),XF(),$F(),QF(),YF(),ZF(),ej(),tj(),nj(),rj(),ij(),aj(),oj(),sj(),_j(),cj(),lj(),uj(),pj(),dj(),fj(),mj(),yj(),hj(),gj(),bj(),vj(),Tj(),xj(),Sj(),wj(),Ej(),Cj(),jF(),uT()}}),y7=()=>{},kj=()=>{},h7=()=>{},zo,h7=()=>{cT(),zo=as(99,!0)},Aj=()=>{},g7=()=>{},Dj=()=>{},Pj=()=>{},Nj=()=>{},Ij=()=>{},Oj=()=>{},Mj=()=>{},Lj=()=>{},Jj=()=>{},b7=()=>{},v7=()=>{},T7=()=>{},Rj=()=>{};function x7(e,t,n,i){let s=Ol(e)?new $f(e,t,n):e===80?new Qf(80,t,n):e===81?new Yf(81,t,n):new Kb(e,t,n);return s.parent=i,s.flags=i.flags&50720768,s}function Fj(e,t){if(!Ol(e.kind))return Xe;let n=[];if(qx(e))return e.forEachChild(d=>{n.push(d)}),n;zo.setText((t||e.getSourceFile()).text);let i=e.pos,s=d=>{_l(n,i,d.pos,e),n.push(d),i=d.end},l=d=>{_l(n,i,d.pos,e),n.push(jj(d,e)),i=d.end};return hn(e.jsDoc,s),i=e.pos,e.forEachChild(s,l),_l(n,i,e.end,e),zo.setText(void 0),n}function _l(e,t,n,i){for(zo.resetTokenState(t);tt.tagName.text==="inheritDoc"||t.tagName.text==="inheritdoc")}function Hd(e,t){if(!e)return Xe;let n=ts_JsDoc_exports.getJsDocTagsFromDeclarations(e,t);if(t&&(n.length===0||e.some(S7))){let i=new Set;for(let s of e){let l=w7(t,s,d=>{var y;if(!i.has(d))return i.add(d),s.kind===176||s.kind===177?d.getContextualJsDocTags(s,t):((y=d.declarations)==null?void 0:y.length)===1?d.getJsDocTags():void 0});l&&(n=[...l,...n])}}return n}function Wc(e,t){if(!e)return Xe;let n=ts_JsDoc_exports.getJsDocCommentsFromDeclarations(e,t);if(t&&(n.length===0||e.some(S7))){let i=new Set;for(let s of e){let l=w7(t,s,d=>{if(!i.has(d))return i.add(d),s.kind===176||s.kind===177?d.getContextualDocumentationComment(s,t):d.getDocumentationComment(t)});l&&(n=n.length===0?l.slice():l.concat(lineBreakPart(),n))}}return n}function w7(e,t,n){var i;let s=((i=t.parent)==null?void 0:i.kind)===175?t.parent.parent:t.parent;if(!s)return;let l=Rm(t);return og(G4(s),d=>{let y=e.getTypeAtLocation(d),p=l&&y.symbol?e.getTypeOfSymbol(y.symbol):y,x=e.getPropertyOfType(p,t.symbol.name);return x?n(x):void 0})}function Bj(){return{getNodeConstructor:()=>$f,getTokenConstructor:()=>Kb,getIdentifierConstructor:()=>Qf,getPrivateIdentifierConstructor:()=>Yf,getSourceFileConstructor:()=>L7,getSymbolConstructor:()=>I7,getTypeConstructor:()=>O7,getSignatureConstructor:()=>M7,getSourceMapSourceConstructor:()=>J7}}function Zc(e){let t=!0;for(let i in e)if(Xn(e,i)&&!Iv(i)){t=!1;break}if(t)return e;let n={};for(let i in e)if(Xn(e,i)){let s=Iv(i)?i:i.charAt(0).toLowerCase()+i.substr(1);n[s]=e[i]}return n}function Iv(e){return!e.length||e.charAt(0)===e.charAt(0).toLowerCase()}function Uj(e){return e?ga(e,t=>t.text).join(""):""}function E7(){return{target:1,jsx:1}}function C7(){return ts_codefix_exports.getSupportedErrorCodes()}function k7(e,t,n){e.version=n,e.scriptSnapshot=t}function Hb(e,t,n,i,s,l){let d=c7(e,getSnapshotText(t),n,s,l);return k7(d,t,i),d}function A7(e,t,n,i,s){if(i&&n!==e.version){let d,y=i.span.start!==0?e.text.substr(0,i.span.start):"",p=tn(i.span)!==e.text.length?e.text.substr(tn(i.span)):"";if(i.newLength===0)d=y&&p?y+p:y||p;else{let h=t.getText(i.span.start,i.span.start+i.newLength);d=y&&p?y+h+p:y?y+h:h+p}let x=Vb(e,d,i,s);return k7(x,t,n),x.nameTable=void 0,e!==x&&e.scriptSnapshot&&(e.scriptSnapshot.dispose&&e.scriptSnapshot.dispose(),e.scriptSnapshot=void 0),x}let l={languageVersion:e.languageVersion,impliedNodeFormat:e.impliedNodeFormat,setExternalModuleIndicator:e.setExternalModuleIndicator};return Hb(e.fileName,t,l,n,!0,e.scriptKind)}function qj(e,t=createDocumentRegistry(e.useCaseSensitiveFileNames&&e.useCaseSensitiveFileNames(),e.getCurrentDirectory()),n){var i;let s;n===void 0?s=0:typeof n=="boolean"?s=n?2:0:s=n;let l=new R7(e),d,y,p=0,x=e.getCancellationToken?new j7(e.getCancellationToken()):F7,h=e.getCurrentDirectory();$3((i=e.getLocalizedDiagnosticMessages)==null?void 0:i.bind(e));function D(j){e.log&&e.log(j)}let w=A2(e),g=im(w),A=getSourceMapper({useCaseSensitiveFileNames:()=>w,getCurrentDirectory:()=>h,getProgram:oe,fileExists:rn(e,e.fileExists),readFile:rn(e,e.readFile),getDocumentPositionMapper:rn(e,e.getDocumentPositionMapper),getSourceFileLike:rn(e,e.getSourceFileLike),log:D});function B(j){let E=d.getSourceFile(j);if(!E){let S=new Error(`Could not find source file: '${j}'.`);throw S.ProgramFiles=d.getSourceFiles().map(J=>J.fileName),S}return E}function G(){var j,E,S;if(M.assert(s!==2),e.getProjectVersion){let Le=e.getProjectVersion();if(Le){if(y===Le&&!((j=e.hasChangedAutomaticTypeDirectiveNames)!=null&&j.call(e)))return;y=Le}}let J=e.getTypeRootsVersion?e.getTypeRootsVersion():0;p!==J&&(D("TypeRoots version has changed; provide new program"),d=void 0,p=J);let m=e.getScriptFileNames().slice(),ie=e.getCompilationSettings()||E7(),he=e.hasInvalidatedResolutions||df,R=rn(e,e.hasInvalidatedLibResolutions)||df,me=rn(e,e.hasChangedAutomaticTypeDirectiveNames),Ae=(E=e.getProjectReferences)==null?void 0:E.call(e),ke,De={getSourceFile:Pt,getSourceFileByPath:Y,getCancellationToken:()=>x,getCanonicalFileName:g,useCaseSensitiveFileNames:()=>w,getNewLine:()=>F3(ie),getDefaultLibFileName:Le=>e.getDefaultLibFileName(Le),writeFile:Pr,getCurrentDirectory:()=>h,fileExists:Le=>e.fileExists(Le),readFile:Le=>e.readFile&&e.readFile(Le),getSymlinkCache:rn(e,e.getSymlinkCache),realpath:rn(e,e.realpath),directoryExists:Le=>R3(Le,e),getDirectories:Le=>e.getDirectories?e.getDirectories(Le):[],readDirectory:(Le,_t,en,Zn,lo)=>(M.checkDefined(e.readDirectory,"'LanguageServiceHost.readDirectory' must be implemented to correctly process 'projectReferences'"),e.readDirectory(Le,_t,en,Zn,lo)),onReleaseOldSourceFile:Yn,onReleaseParsedCommandLine:jt,hasInvalidatedResolutions:he,hasInvalidatedLibResolutions:R,hasChangedAutomaticTypeDirectiveNames:me,trace:rn(e,e.trace),resolveModuleNames:rn(e,e.resolveModuleNames),getModuleResolutionCache:rn(e,e.getModuleResolutionCache),createHash:rn(e,e.createHash),resolveTypeReferenceDirectives:rn(e,e.resolveTypeReferenceDirectives),resolveModuleNameLiterals:rn(e,e.resolveModuleNameLiterals),resolveTypeReferenceDirectiveReferences:rn(e,e.resolveTypeReferenceDirectiveReferences),resolveLibrary:rn(e,e.resolveLibrary),useSourceOfProjectReferenceRedirect:rn(e,e.useSourceOfProjectReferenceRedirect),getParsedCommandLine:Ct},ot=De.getSourceFile,{getSourceFileWithCache:st}=changeCompilerHostLikeToUseCache(De,Le=>vi(Le,h,g),(...Le)=>ot.call(De,...Le));De.getSourceFile=st,(S=e.setCompilerHost)==null||S.call(e,De);let Ye={useCaseSensitiveFileNames:w,fileExists:Le=>De.fileExists(Le),readFile:Le=>De.readFile(Le),readDirectory:(...Le)=>De.readDirectory(...Le),trace:De.trace,getCurrentDirectory:De.getCurrentDirectory,onUnRecoverableConfigFileDiagnostic:Pr},Ft=t.getKeyForCompilationSettings(ie),Et=new Set;if(isProgramUptoDate(d,m,ie,(Le,_t)=>e.getScriptVersion(_t),Le=>De.fileExists(Le),he,R,me,Ct,Ae)){De=void 0,ke=void 0,Et=void 0;return}let bn={rootNames:m,options:ie,host:De,oldProgram:d,projectReferences:Ae};d=createProgram(bn),De=void 0,ke=void 0,Et=void 0,A.clearCache(),d.getTypeChecker();return;function Ct(Le){let _t=vi(Le,h,g),en=ke==null?void 0:ke.get(_t);if(en!==void 0)return en||void 0;let Zn=e.getParsedCommandLine?e.getParsedCommandLine(Le):Pe(Le);return(ke||(ke=new Map)).set(_t,Zn||!1),Zn}function Pe(Le){let _t=Pt(Le,100);if(_t)return _t.path=vi(Le,h,g),_t.resolvedPath=_t.path,_t.originalFileName=_t.fileName,parseJsonSourceFileConfigFileContent(_t,Ye,Ta(Hi(Le),h),void 0,Ta(Le,h))}function jt(Le,_t,en){var Zn;e.getParsedCommandLine?(Zn=e.onReleaseParsedCommandLine)==null||Zn.call(e,Le,_t,en):_t&&Yn(_t.sourceFile,en)}function Yn(Le,_t){let en=t.getKeyForCompilationSettings(_t);t.releaseDocumentWithKey(Le.resolvedPath,en,Le.scriptKind,Le.impliedNodeFormat)}function Pt(Le,_t,en,Zn){return Y(Le,vi(Le,h,g),_t,en,Zn)}function Y(Le,_t,en,Zn,lo){M.assert(De,"getOrCreateSourceFileByPath called after typical CompilerHost lifetime, check the callstack something with a reference to an old host.");let Na=e.getScriptSnapshot(Le);if(!Na)return;let vr=getScriptKind(Le,e),Je=e.getScriptVersion(Le);if(!lo){let at=d&&d.getSourceFileByPath(_t);if(at){if(vr===at.scriptKind||Et.has(at.resolvedPath))return t.updateDocumentWithKey(Le,_t,e,Ft,Na,Je,vr,en);t.releaseDocumentWithKey(at.resolvedPath,t.getKeyForCompilationSettings(d.getCompilerOptions()),at.scriptKind,at.impliedNodeFormat),Et.add(at.resolvedPath)}}return t.acquireDocumentWithKey(Le,_t,e,Ft,Na,Je,vr,en)}}function oe(){if(s===2){M.assert(d===void 0);return}return G(),d}function Q(){var j;return(j=e.getPackageJsonAutoImportProvider)==null?void 0:j.call(e)}function W(j,E){let S=d.getTypeChecker(),J=m();if(!J)return!1;for(let he of j)for(let R of he.references){let me=ie(R);if(M.assertIsDefined(me),E.has(R)||ts_FindAllReferences_exports.isDeclarationOfSymbol(me,J)){E.add(R),R.isDefinition=!0;let Ae=getMappedDocumentSpan(R,A,rn(e,e.fileExists));Ae&&E.add(Ae)}else R.isDefinition=!1}return!0;function m(){for(let he of j)for(let R of he.references){if(E.has(R)){let Ae=ie(R);return M.assertIsDefined(Ae),S.getSymbolAtLocation(Ae)}let me=getMappedDocumentSpan(R,A,rn(e,e.fileExists));if(me&&E.has(me)){let Ae=ie(me);if(Ae)return S.getSymbolAtLocation(Ae)}}}function ie(he){let R=d.getSourceFile(he.fileName);if(!R)return;let me=getTouchingPropertyName(R,he.textSpan.start);return ts_FindAllReferences_exports.Core.getAdjustedNode(me,{use:ts_FindAllReferences_exports.FindReferencesUse.References})}}function se(){d=void 0}function we(){if(d){let j=t.getKeyForCompilationSettings(d.getCompilerOptions());hn(d.getSourceFiles(),E=>t.releaseDocumentWithKey(E.resolvedPath,j,E.scriptKind,E.impliedNodeFormat)),d=void 0}e=void 0}function Ze(j){return G(),d.getSyntacticDiagnostics(B(j),x).slice()}function Ue(j){G();let E=B(j),S=d.getSemanticDiagnostics(E,x);if(!H2(d.getCompilerOptions()))return S.slice();let J=d.getDeclarationDiagnostics(E,x);return[...S,...J]}function rt(j){return G(),computeSuggestionDiagnostics(B(j),d,x)}function ct(){return G(),[...d.getOptionsDiagnostics(x),...d.getGlobalDiagnostics(x)]}function Dn(j,E,S=emptyOptions,J){let m={...S,includeCompletionsForModuleExports:S.includeCompletionsForModuleExports||S.includeExternalModuleExports,includeCompletionsWithInsertText:S.includeCompletionsWithInsertText||S.includeInsertTextCompletions};return G(),ts_Completions_exports.getCompletionsAtPosition(e,d,D,B(j),E,m,S.triggerCharacter,S.triggerKind,x,J&&ts_formatting_exports.getFormatContext(J,e),S.includeSymbol)}function sn(j,E,S,J,m,ie=emptyOptions,he){return G(),ts_Completions_exports.getCompletionEntryDetails(d,D,B(j),E,{name:S,source:m,data:he},e,J&&ts_formatting_exports.getFormatContext(J,e),ie,x)}function ei(j,E,S,J,m=emptyOptions){return G(),ts_Completions_exports.getCompletionEntrySymbol(d,D,B(j),E,{name:S,source:J},e,m)}function _n(j,E){G();let S=B(j),J=getTouchingPropertyName(S,E);if(J===S)return;let m=d.getTypeChecker(),ie=Pn(J),he=Kj(ie,m);if(!he||m.isUnknownSymbol(he)){let De=$e(S,ie,E)?m.getTypeAtLocation(ie):void 0;return De&&{kind:"",kindModifiers:"",textSpan:createTextSpanFromNode(ie,S),displayParts:m.runWithCancellationToken(x,ot=>typeToDisplayParts(ot,De,getContainerNode(ie))),documentation:De.symbol?De.symbol.getDocumentationComment(m):void 0,tags:De.symbol?De.symbol.getJsDocTags(m):void 0}}let{symbolKind:R,displayParts:me,documentation:Ae,tags:ke}=m.runWithCancellationToken(x,De=>ts_SymbolDisplay_exports.getSymbolDisplayPartsDocumentationAndSymbolKind(De,he,S,getContainerNode(ie),ie));return{kind:R,kindModifiers:ts_SymbolDisplay_exports.getSymbolModifiers(m,he),textSpan:createTextSpanFromNode(ie,S),displayParts:me,documentation:Ae,tags:ke}}function Pn(j){return S8(j.parent)&&j.pos===j.parent.pos?j.parent.expression:mb(j.parent)&&j.pos===j.parent.pos||k0(j.parent)&&j.parent.name===j||J_(j.parent)?j.parent:j}function $e(j,E,S){switch(E.kind){case 80:return!isLabelName(E)&&!isTagName(E)&&!yx(E.parent);case 210:case 165:return!isInComment(j,S);case 110:case 196:case 108:case 201:return!0;case 235:return k0(E);default:return!1}}function $t(j,E,S,J){return G(),ts_GoToDefinition_exports.getDefinitionAtPosition(d,B(j),E,S,J)}function jn(j,E){return G(),ts_GoToDefinition_exports.getDefinitionAndBoundSpan(d,B(j),E)}function Qt(j,E){return G(),ts_GoToDefinition_exports.getTypeDefinitionAtPosition(d.getTypeChecker(),B(j),E)}function fr(j,E){return G(),ts_FindAllReferences_exports.getImplementationsAtPosition(d,x,d.getSourceFiles(),B(j),E)}function Bn(j,E,S){let J=sr(j);M.assert(S.some(he=>sr(he)===J)),G();let m=Ka(S,he=>d.getSourceFile(he)),ie=B(j);return DocumentHighlights.getDocumentHighlights(d,x,ie,E,m)}function dn(j,E,S,J,m){G();let ie=B(j),he=getAdjustedRenameLocation(getTouchingPropertyName(ie,E));if(ts_Rename_exports.nodeIsEligibleForRename(he))if(Ce(he)&&(Ro(he.parent)||sf(he.parent))&&s3(he.escapedText)){let{openingElement:R,closingElement:me}=he.parent.parent;return[R,me].map(Ae=>{let ke=createTextSpanFromNode(Ae.tagName,ie);return{fileName:ie.fileName,textSpan:ke,...ts_FindAllReferences_exports.toContextSpan(ke,ie,Ae.parent)}})}else{let R=getQuotePreference(ie,m??emptyOptions),me=typeof m=="boolean"?m:m==null?void 0:m.providePrefixAndSuffixTextForRename;return vt(he,E,{findInStrings:S,findInComments:J,providePrefixAndSuffixTextForRename:me,use:ts_FindAllReferences_exports.FindReferencesUse.Rename},(Ae,ke,De)=>ts_FindAllReferences_exports.toRenameLocation(Ae,ke,De,me||!1,R))}}function Yt(j,E){return G(),vt(getTouchingPropertyName(B(j),E),E,{use:ts_FindAllReferences_exports.FindReferencesUse.References},ts_FindAllReferences_exports.toReferenceEntry)}function vt(j,E,S,J){G();let m=S&&S.use===ts_FindAllReferences_exports.FindReferencesUse.Rename?d.getSourceFiles().filter(ie=>!d.isSourceFileDefaultLibrary(ie)):d.getSourceFiles();return ts_FindAllReferences_exports.findReferenceOrRenameEntries(d,x,m,j,E,S,J)}function Un(j,E){return G(),ts_FindAllReferences_exports.findReferencedSymbols(d,x,d.getSourceFiles(),B(j),E)}function qn(j){return G(),ts_FindAllReferences_exports.Core.getReferencesForFileName(j,d,d.getSourceFiles()).map(ts_FindAllReferences_exports.toReferenceEntry)}function gt(j,E,S,J=!1){G();let m=S?[B(S)]:d.getSourceFiles();return getNavigateToItems(m,d.getTypeChecker(),x,j,E,J)}function lt(j,E,S){G();let J=B(j),m=e.getCustomTransformers&&e.getCustomTransformers();return getFileEmitOutput(d,J,!!E,x,m,S)}function Zt(j,E,{triggerReason:S}=emptyOptions){G();let J=B(j);return ts_SignatureHelp_exports.getSignatureHelpItems(d,J,E,S,x)}function zn(j){return l.getCurrentSourceFile(j)}function mt(j,E,S){let J=l.getCurrentSourceFile(j),m=getTouchingPropertyName(J,E);if(m===J)return;switch(m.kind){case 210:case 165:case 11:case 97:case 112:case 106:case 108:case 110:case 196:case 80:break;default:return}let ie=m;for(;;)if(isRightSideOfPropertyAccess(ie)||isRightSideOfQualifiedName(ie))ie=ie.parent;else if(isNameOfModuleDeclaration(ie))if(ie.parent.parent.kind===266&&ie.parent.parent.body===ie.parent)ie=ie.parent.parent.name;else break;else break;return zi(ie.getStart(),m.getEnd())}function mr(j,E){let S=l.getCurrentSourceFile(j);return ts_BreakpointResolver_exports.spanInSourceFileAtLocation(S,E)}function bt(j){return getNavigationBarItems(l.getCurrentSourceFile(j),x)}function cn(j){return getNavigationTree(l.getCurrentSourceFile(j),x)}function dt(j,E,S){return G(),(S||"original")==="2020"?getSemanticClassifications2(d,x,B(j),E):getSemanticClassifications(d.getTypeChecker(),x,B(j),d.getClassifiableNames(),E)}function Qn(j,E,S){return G(),(S||"original")==="original"?getEncodedSemanticClassifications(d.getTypeChecker(),x,B(j),d.getClassifiableNames(),E):getEncodedSemanticClassifications2(d,x,B(j),E)}function ut(j,E){return getSyntacticClassifications(x,l.getCurrentSourceFile(j),E)}function Jt(j,E){return getEncodedSyntacticClassifications(x,l.getCurrentSourceFile(j),E)}function ln(j){let E=l.getCurrentSourceFile(j);return ts_OutliningElementsCollector_exports.collectElements(E,x)}let yr=new Map(Object.entries({19:20,21:22,23:24,32:30}));yr.forEach((j,E)=>yr.set(j.toString(),Number(E)));function Or(j,E){let S=l.getCurrentSourceFile(j),J=getTouchingToken(S,E),m=J.getStart(S)===E?yr.get(J.kind.toString()):void 0,ie=m&&findChildOfKind(J.parent,m,S);return ie?[createTextSpanFromNode(J,S),createTextSpanFromNode(ie,S)].sort((he,R)=>he.start-R.start):Xe}function ti(j,E,S){let J=da(),m=Zc(S),ie=l.getCurrentSourceFile(j);D("getIndentationAtPosition: getCurrentSourceFile: "+(da()-J)),J=da();let he=ts_formatting_exports.SmartIndenter.getIndentation(E,ie,m);return D("getIndentationAtPosition: computeIndentation : "+(da()-J)),he}function Wn(j,E,S,J){let m=l.getCurrentSourceFile(j);return ts_formatting_exports.formatSelection(E,S,m,ts_formatting_exports.getFormatContext(Zc(J),e))}function hr(j,E){return ts_formatting_exports.formatDocument(l.getCurrentSourceFile(j),ts_formatting_exports.getFormatContext(Zc(E),e))}function Ci(j,E,S,J){let m=l.getCurrentSourceFile(j),ie=ts_formatting_exports.getFormatContext(Zc(J),e);if(!isInComment(m,E))switch(S){case"{":return ts_formatting_exports.formatOnOpeningCurly(E,m,ie);case"}":return ts_formatting_exports.formatOnClosingCurly(E,m,ie);case";":return ts_formatting_exports.formatOnSemicolon(E,m,ie);case` -`:return ts_formatting_exports.formatOnEnter(E,m,ie)}return[]}function Ie(j,E,S,J,m,ie=emptyOptions){G();let he=B(j),R=zi(E,S),me=ts_formatting_exports.getFormatContext(m,e);return Wo(Bv(J,to,wn),Ae=>(x.throwIfCancellationRequested(),ts_codefix_exports.getFixes({errorCode:Ae,sourceFile:he,span:R,program:d,host:e,cancellationToken:x,formatContext:me,preferences:ie})))}function H(j,E,S,J=emptyOptions){G(),M.assert(j.type==="file");let m=B(j.fileName),ie=ts_formatting_exports.getFormatContext(S,e);return ts_codefix_exports.getAllFixes({fixId:E,sourceFile:m,program:d,host:e,cancellationToken:x,formatContext:ie,preferences:J})}function de(j,E,S=emptyOptions){G(),M.assert(j.type==="file");let J=B(j.fileName),m=ts_formatting_exports.getFormatContext(E,e),ie=j.mode??(j.skipDestructiveCodeActions?"SortAndCombine":"All");return ts_OrganizeImports_exports.organizeImports(J,m,e,d,S,ie)}function be(j,E,S,J=emptyOptions){return getEditsForFileRename(oe(),j,E,e,ts_formatting_exports.getFormatContext(S,e),J,A)}function Ee(j,E){let S=typeof j=="string"?E:j;return Wt(S)?Promise.all(S.map(J=>et(J))):et(S)}function et(j){let E=S=>vi(S,h,g);return M.assertEqual(j.type,"install package"),e.installPackage?e.installPackage({fileName:E(j.file),packageName:j.packageName}):Promise.reject("Host does not implement `installPackage`")}function Qe(j,E,S,J){let m=J?ts_formatting_exports.getFormatContext(J,e).options:void 0;return ts_JsDoc_exports.getDocCommentTemplateAtPosition(getNewLineOrDefaultFromHost(e,m),l.getCurrentSourceFile(j),E,S)}function ee(j,E,S){if(S===60)return!1;let J=l.getCurrentSourceFile(j);if(isInString(J,E))return!1;if(isInsideJsxElementOrAttribute(J,E))return S===123;if(isInTemplateString(J,E))return!1;switch(S){case 39:case 34:case 96:return!isInComment(J,E)}return!0}function Z(j,E){let S=l.getCurrentSourceFile(j),J=findPrecedingToken(E,S);if(!J)return;let m=J.kind===32&&Ro(J.parent)?J.parent.parent:Hf(J)&&Z0(J.parent)?J.parent:void 0;if(m&&Nt(m))return{newText:``};let ie=J.kind===32&&Nb(J.parent)?J.parent.parent:Hf(J)&&ol(J.parent)?J.parent:void 0;if(ie&&Vn(ie))return{newText:""}}function ae(j,E){let S=l.getCurrentSourceFile(j),J=findPrecedingToken(E,S);if(!J||J.parent.kind===311)return;let m="[a-zA-Z0-9:\\-\\._$]*";if(ol(J.parent.parent)){let ie=J.parent.parent.openingFragment,he=J.parent.parent.closingFragment;if(ml(ie)||ml(he))return;let R=ie.getStart(S)+1,me=he.getStart(S)+2;return E!==R&&E!==me?void 0:{ranges:[{start:R,length:0},{start:me,length:0}],wordPattern:m}}else{let ie=Xr(J.parent,st=>!!(Ro(st)||sf(st)));if(!ie)return;M.assert(Ro(ie)||sf(ie),"tag should be opening or closing element");let he=ie.parent.openingElement,R=ie.parent.closingElement,me=he.tagName.getStart(S),Ae=he.tagName.end,ke=R.tagName.getStart(S),De=R.tagName.end;return!(me<=E&&E<=Ae||ke<=E&&E<=De)||he.tagName.getText(S)!==R.tagName.getText(S)?void 0:{ranges:[{start:me,length:Ae-me},{start:ke,length:De-ke}],wordPattern:m}}}function Te(j,E){return{lineStarts:j.getLineStarts(),firstLine:j.getLineAndCharacterOfPosition(E.pos).line,lastLine:j.getLineAndCharacterOfPosition(E.end).line}}function Oe(j,E,S){let J=l.getCurrentSourceFile(j),m=[],{lineStarts:ie,firstLine:he,lastLine:R}=Te(J,E),me=S||!1,Ae=Number.MAX_VALUE,ke=new Map,De=new RegExp(/\S/),ot=isInsideJsxElement(J,ie[he]),st=ot?"{/*":"//";for(let Ye=he;Ye<=R;Ye++){let Ft=J.text.substring(ie[Ye],J.getLineEndOfPosition(ie[Ye])),Et=De.exec(Ft);Et&&(Ae=Math.min(Ae,Et.index),ke.set(Ye.toString(),Et.index),Ft.substr(Et.index,st.length)!==st&&(me=S===void 0||S))}for(let Ye=he;Ye<=R;Ye++){if(he!==R&&ie[Ye]===E.end)continue;let Ft=ke.get(Ye.toString());Ft!==void 0&&(ot?m.push.apply(m,We(j,{pos:ie[Ye]+Ae,end:J.getLineEndOfPosition(ie[Ye])},me,ot)):me?m.push({newText:st,span:{length:0,start:ie[Ye]+Ae}}):J.text.substr(ie[Ye]+Ft,st.length)===st&&m.push({newText:"",span:{length:st.length,start:ie[Ye]+Ft}}))}return m}function We(j,E,S,J){var m;let ie=l.getCurrentSourceFile(j),he=[],{text:R}=ie,me=!1,Ae=S||!1,ke=[],{pos:De}=E,ot=J!==void 0?J:isInsideJsxElement(ie,De),st=ot?"{/*":"/*",Ye=ot?"*/}":"*/",Ft=ot?"\\{\\/\\*":"\\/\\*",Et=ot?"\\*\\/\\}":"\\*\\/";for(;De<=E.end;){let bn=R.substr(De,st.length)===st?st.length:0,Ct=isInComment(ie,De+bn);if(Ct)ot&&(Ct.pos--,Ct.end++),ke.push(Ct.pos),Ct.kind===3&&ke.push(Ct.end),me=!0,De=Ct.end+1;else{let Pe=R.substring(De,E.end).search(`(${Ft})|(${Et})`);Ae=S!==void 0?S:Ae||!isTextWhiteSpaceLike(R,De,Pe===-1?E.end:De+Pe),De=Pe===-1?E.end+1:De+Pe+Ye.length}}if(Ae||!me){((m=isInComment(ie,E.pos))==null?void 0:m.kind)!==2&&cl(ke,E.pos,wn),cl(ke,E.end,wn);let bn=ke[0];R.substr(bn,st.length)!==st&&he.push({newText:st,span:{length:0,start:bn}});for(let Ct=1;Ct0?bn-Ye.length:0,Pe=R.substr(Ct,Ye.length)===Ye?Ye.length:0;he.push({newText:"",span:{length:st.length,start:bn-Pe}})}return he}function Re(j,E){let S=l.getCurrentSourceFile(j),{firstLine:J,lastLine:m}=Te(S,E);return J===m&&E.pos!==E.end?We(j,E,!0):Oe(j,E,!0)}function Rt(j,E){let S=l.getCurrentSourceFile(j),J=[],{pos:m}=E,{end:ie}=E;m===ie&&(ie+=isInsideJsxElement(S,m)?2:1);for(let he=m;he<=ie;he++){let R=isInComment(S,he);if(R){switch(R.kind){case 2:J.push.apply(J,Oe(j,{end:R.end,pos:R.pos+1},!1));break;case 3:J.push.apply(J,We(j,{end:R.end,pos:R.pos+1},!1))}he=R.end+1}}return J}function Nt({openingElement:j,closingElement:E,parent:S}){return!gi(j.tagName,E.tagName)||Z0(S)&&gi(j.tagName,S.openingElement.tagName)&&Nt(S)}function Vn({closingFragment:j,parent:E}){return!!(j.flags&131072)||ol(E)&&Vn(E)}function ta(j,E,S){let J=l.getCurrentSourceFile(j),m=ts_formatting_exports.getRangeOfEnclosingComment(J,E);return m&&(!S||m.kind===3)?createTextSpanFromRange(m):void 0}function gr(j,E){G();let S=B(j);x.throwIfCancellationRequested();let J=S.text,m=[];if(E.length>0&&!me(S.fileName)){let Ae=he(),ke;for(;ke=Ae.exec(J);){x.throwIfCancellationRequested();let De=3;M.assert(ke.length===E.length+De);let ot=ke[1],st=ke.index+ot.length;if(!isInComment(S,st))continue;let Ye;for(let Et=0;Et"("+ie(Ct.text)+")").join("|")+")",Ye=/(?:$|\*\/)/.source,Ft=/(?:.*?)/.source,Et="("+st+Ft+")",bn=ot+Et+Ye;return new RegExp(bn,"gim")}function R(Ae){return Ae>=97&&Ae<=122||Ae>=65&&Ae<=90||Ae>=48&&Ae<=57}function me(Ae){return Ga(Ae,"/node_modules/")}}function ni(j,E,S){return G(),ts_Rename_exports.getRenameInfo(d,B(j),E,S||{})}function ri(j,E,S,J,m,ie){let[he,R]=typeof E=="number"?[E,void 0]:[E.pos,E.end];return{file:j,startPosition:he,endPosition:R,program:oe(),host:e,formatContext:ts_formatting_exports.getFormatContext(J,e),cancellationToken:x,preferences:S,triggerReason:m,kind:ie}}function na(j,E,S){return{file:j,program:oe(),host:e,span:E,preferences:S,cancellationToken:x}}function Pa(j,E){return ts_SmartSelectionRange_exports.getSmartSelectionRange(E,l.getCurrentSourceFile(j))}function br(j,E,S=emptyOptions,J,m,ie){G();let he=B(j);return ts_refactor_exports.getApplicableRefactors(ri(he,E,S,emptyOptions,J,m),ie)}function ii(j,E,S=emptyOptions){G();let J=B(j),m=M.checkDefined(d.getSourceFiles()),ie=Gc(j),he=Ka(m,me=>!(d!=null&&d.isSourceFileFromExternalLibrary(J))&&!(J===B(me.fileName)||ie===".ts"&&Gc(me.fileName)===".d.ts"||ie===".d.ts"&&Jn(h_(me.fileName),"lib.")&&Gc(me.fileName)===".d.ts")&&ie===Gc(me.fileName)?me.fileName:void 0);return{newFileName:createNewFileName(J,d,ri(J,E,S,emptyOptions),e),files:he}}function ai(j,E,S,J,m,ie=emptyOptions,he){G();let R=B(j);return ts_refactor_exports.getEditsForRefactor(ri(R,S,ie,E),J,m,he)}function ra(j,E){return E===0?{line:0,character:0}:A.toLineColumnOffset(j,E)}function Mr(j,E){G();let S=ts_CallHierarchy_exports.resolveCallHierarchyDeclaration(d,getTouchingPropertyName(B(j),E));return S&&mapOneOrMany(S,J=>ts_CallHierarchy_exports.createCallHierarchyItem(d,J))}function Nn(j,E){G();let S=B(j),J=firstOrOnly(ts_CallHierarchy_exports.resolveCallHierarchyDeclaration(d,E===0?S:getTouchingPropertyName(S,E)));return J?ts_CallHierarchy_exports.getIncomingCalls(d,J,x):[]}function Fe(j,E){G();let S=B(j),J=firstOrOnly(ts_CallHierarchy_exports.resolveCallHierarchyDeclaration(d,E===0?S:getTouchingPropertyName(S,E)));return J?ts_CallHierarchy_exports.getOutgoingCalls(d,J):[]}function ki(j,E,S=emptyOptions){G();let J=B(j);return ts_InlayHints_exports.provideInlayHints(na(J,E,S))}let wt={dispose:we,cleanupSemanticCache:se,getSyntacticDiagnostics:Ze,getSemanticDiagnostics:Ue,getSuggestionDiagnostics:rt,getCompilerOptionsDiagnostics:ct,getSyntacticClassifications:ut,getSemanticClassifications:dt,getEncodedSyntacticClassifications:Jt,getEncodedSemanticClassifications:Qn,getCompletionsAtPosition:Dn,getCompletionEntryDetails:sn,getCompletionEntrySymbol:ei,getSignatureHelpItems:Zt,getQuickInfoAtPosition:_n,getDefinitionAtPosition:$t,getDefinitionAndBoundSpan:jn,getImplementationAtPosition:fr,getTypeDefinitionAtPosition:Qt,getReferencesAtPosition:Yt,findReferences:Un,getFileReferences:qn,getDocumentHighlights:Bn,getNameOrDottedNameSpan:mt,getBreakpointStatementAtPosition:mr,getNavigateToItems:gt,getRenameInfo:ni,getSmartSelectionRange:Pa,findRenameLocations:dn,getNavigationBarItems:bt,getNavigationTree:cn,getOutliningSpans:ln,getTodoComments:gr,getBraceMatchingAtPosition:Or,getIndentationAtPosition:ti,getFormattingEditsForRange:Wn,getFormattingEditsForDocument:hr,getFormattingEditsAfterKeystroke:Ci,getDocCommentTemplateAtPosition:Qe,isValidBraceCompletionAtPosition:ee,getJsxClosingTagAtPosition:Z,getLinkedEditingRangeAtPosition:ae,getSpanOfEnclosingComment:ta,getCodeFixesAtPosition:Ie,getCombinedCodeFix:H,applyCodeActionCommand:Ee,organizeImports:de,getEditsForFileRename:be,getEmitOutput:lt,getNonBoundSourceFile:zn,getProgram:oe,getCurrentProgram:()=>d,getAutoImportProvider:Q,updateIsDefinitionOfReferencedSymbols:W,getApplicableRefactors:br,getEditsForRefactor:ai,getMoveToRefactoringFileSuggestions:ii,toLineColumnOffset:ra,getSourceMapper:()=>A,clearSourceMapperCache:()=>A.clearCache(),prepareCallHierarchy:Mr,provideCallHierarchyIncomingCalls:Nn,provideCallHierarchyOutgoingCalls:Fe,toggleLineComment:Oe,toggleMultilineComment:We,commentSelection:Re,uncommentSelection:Rt,provideInlayHints:ki,getSupportedCodeFixes:C7};switch(s){case 0:break;case 1:ag.forEach(j=>wt[j]=()=>{throw new Error(`LanguageService Operation: ${j} not allowed in LanguageServiceMode.PartialSemantic`)});break;case 2:U7.forEach(j=>wt[j]=()=>{throw new Error(`LanguageService Operation: ${j} not allowed in LanguageServiceMode.Syntactic`)});break;default:M.assertNever(s)}return wt}function zj(e){return e.nameTable||Wj(e),e.nameTable}function Wj(e){let t=e.nameTable=new Map;e.forEachChild(function n(i){if(Ce(i)&&!isTagName(i)&&i.escapedText||Ki(i)&&Vj(i)){let s=Z4(i);t.set(s,t.get(s)===void 0?i.pos:-1)}else if(Ln(i)){let s=i.escapedText;t.set(s,t.get(s)===void 0?i.pos:-1)}if(qt(i,n),Ui(i))for(let s of i.jsDoc)qt(s,n)})}function Vj(e){return U4(e)||e.parent.kind===282||Gj(e)||q4(e)}function D7(e){let t=Hj(e);return t&&(ao(t.parent)||Ib(t.parent))?t:void 0}function Hj(e){switch(e.kind){case 11:case 15:case 9:if(e.parent.kind===166)return S0(e.parent.parent)?e.parent.parent:void 0;case 80:return S0(e.parent)&&(e.parent.parent.kind===209||e.parent.parent.kind===291)&&e.parent.name===e?e.parent:void 0}}function Kj(e,t){let n=D7(e);if(n){let i=t.getContextualType(n.parent),s=i&&P7(n,t,i,!1);if(s&&s.length===1)return cg(s)}return t.getSymbolAtLocation(e)}function P7(e,t,n,i){let s=getNameFromPropertyName(e.name);if(!s)return Xe;if(!n.isUnion()){let d=n.getProperty(s);return d?[d]:Xe}let l=Ka(n.types,d=>(ao(e.parent)||Ib(e.parent))&&t.isTypeInvalidDueToUnionDiscriminant(d,e.parent)?void 0:d.getProperty(s));if(i&&(l.length===0||l.length===n.types.length)){let d=n.getProperty(s);if(d)return[d]}return l.length===0?Ka(n.types,d=>d.getProperty(s)):l}function Gj(e){return e&&e.parent&&e.parent.kind===211&&e.parent.argumentExpression===e}function Xj(e){if(h0)return yn(Hi(sr(h0.getExecutingFilePath())),FT(e));throw new Error("getDefaultLibFilePath is only supported when consumed as a node module. ")}var N7,$f,Kd,I7,Kb,Qf,Yf,O7,M7,L7,J7,R7,F7,j7,B7,ag,U7,$j=Ht({"src/services/services.ts"(){"use strict";q7(),b7(),v7(),T7(),g7(),Rj(),N7="0.8",$f=class{constructor(e,t,n){this.pos=t,this.end=n,this.flags=0,this.modifierFlagsCache=0,this.transformFlags=0,this.parent=void 0,this.kind=e}assertHasRealPosition(e){M.assert(!wa(this.pos)&&!wa(this.end),e||"Node must have a real position for this operation")}getSourceFile(){return Kr(this)}getStart(e,t){return this.assertHasRealPosition(),Qo(this,e,t)}getFullStart(){return this.assertHasRealPosition(),this.pos}getEnd(){return this.assertHasRealPosition(),this.end}getWidth(e){return this.assertHasRealPosition(),this.getEnd()-this.getStart(e)}getFullWidth(){return this.assertHasRealPosition(),this.end-this.pos}getLeadingTriviaWidth(e){return this.assertHasRealPosition(),this.getStart(e)-this.pos}getFullText(e){return this.assertHasRealPosition(),(e||this.getSourceFile()).text.substring(this.pos,this.end)}getText(e){return this.assertHasRealPosition(),e||(e=this.getSourceFile()),e.text.substring(this.getStart(e),this.getEnd())}getChildCount(e){return this.getChildren(e).length}getChildAt(e,t){return this.getChildren(t)[e]}getChildren(e){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=Fj(this,e))}getFirstToken(e){this.assertHasRealPosition();let t=this.getChildren(e);if(!t.length)return;let n=$n(t,i=>i.kind<315||i.kind>356);return n.kind<165?n:n.getFirstToken(e)}getLastToken(e){this.assertHasRealPosition();let t=this.getChildren(e),n=Ti(t);if(n)return n.kind<165?n:n.getLastToken(e)}forEachChild(e,t){return qt(this,e,t)}},Kd=class{constructor(e,t){this.pos=e,this.end=t,this.flags=0,this.modifierFlagsCache=0,this.transformFlags=0,this.parent=void 0}getSourceFile(){return Kr(this)}getStart(e,t){return Qo(this,e,t)}getFullStart(){return this.pos}getEnd(){return this.end}getWidth(e){return this.getEnd()-this.getStart(e)}getFullWidth(){return this.end-this.pos}getLeadingTriviaWidth(e){return this.getStart(e)-this.pos}getFullText(e){return(e||this.getSourceFile()).text.substring(this.pos,this.end)}getText(e){return e||(e=this.getSourceFile()),e.text.substring(this.getStart(e),this.getEnd())}getChildCount(){return this.getChildren().length}getChildAt(e){return this.getChildren()[e]}getChildren(){return this.kind===1&&this.jsDoc||Xe}getFirstToken(){}getLastToken(){}forEachChild(){}},I7=class{constructor(e,t){this.id=0,this.mergeId=0,this.flags=e,this.escapedName=t}getFlags(){return this.flags}get name(){return Of(this)}getEscapedName(){return this.escapedName}getName(){return this.name}getDeclarations(){return this.declarations}getDocumentationComment(e){if(!this.documentationComment)if(this.documentationComment=Xe,!this.declarations&&E0(this)&&this.links.target&&E0(this.links.target)&&this.links.target.links.tupleLabelDeclaration){let t=this.links.target.links.tupleLabelDeclaration;this.documentationComment=Wc([t],e)}else this.documentationComment=Wc(this.declarations,e);return this.documentationComment}getContextualDocumentationComment(e,t){if(e){if(Hc(e)&&(this.contextualGetAccessorDocumentationComment||(this.contextualGetAccessorDocumentationComment=Wc(Gn(this.declarations,Hc),t)),Ha(this.contextualGetAccessorDocumentationComment)))return this.contextualGetAccessorDocumentationComment;if(Vc(e)&&(this.contextualSetAccessorDocumentationComment||(this.contextualSetAccessorDocumentationComment=Wc(Gn(this.declarations,Vc),t)),Ha(this.contextualSetAccessorDocumentationComment)))return this.contextualSetAccessorDocumentationComment}return this.getDocumentationComment(t)}getJsDocTags(e){return this.tags===void 0&&(this.tags=Hd(this.declarations,e)),this.tags}getContextualJsDocTags(e,t){if(e){if(Hc(e)&&(this.contextualGetAccessorTags||(this.contextualGetAccessorTags=Hd(Gn(this.declarations,Hc),t)),Ha(this.contextualGetAccessorTags)))return this.contextualGetAccessorTags;if(Vc(e)&&(this.contextualSetAccessorTags||(this.contextualSetAccessorTags=Hd(Gn(this.declarations,Vc),t)),Ha(this.contextualSetAccessorTags)))return this.contextualSetAccessorTags}return this.getJsDocTags(t)}},Kb=class extends Kd{constructor(e,t,n){super(t,n),this.kind=e}},Qf=class extends Kd{constructor(e,t,n){super(t,n),this.kind=80}get text(){return Ot(this)}},Qf.prototype.kind=80,Yf=class extends Kd{constructor(e,t,n){super(t,n),this.kind=81}get text(){return Ot(this)}},Yf.prototype.kind=81,O7=class{constructor(e,t){this.checker=e,this.flags=t}getFlags(){return this.flags}getSymbol(){return this.symbol}getProperties(){return this.checker.getPropertiesOfType(this)}getProperty(e){return this.checker.getPropertyOfType(this,e)}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!!(tf(this)&3)}isClass(){return!!(tf(this)&1)}isIndexType(){return!!(this.flags&4194304)}get typeArguments(){if(tf(this)&4)return this.checker.getTypeArguments(this)}},M7=class{constructor(e,t){this.checker=e,this.flags=t}getDeclaration(){return this.declaration}getTypeParameters(){return this.typeParameters}getParameters(){return this.parameters}getReturnType(){return this.checker.getReturnTypeOfSignature(this)}getTypeParameterAtPosition(e){let t=this.checker.getParameterType(this,e);if(t.isIndexType()&&SS(t.type)){let n=t.type.getConstraint();if(n)return this.checker.getIndexType(n)}return t}getDocumentationComment(){return this.documentationComment||(this.documentationComment=Wc(ff(this.declaration),this.checker))}getJsDocTags(){return this.jsDocTags||(this.jsDocTags=Hd(ff(this.declaration),this.checker))}},L7=class extends $f{constructor(e,t,n){super(e,t,n),this.kind=311}update(e,t){return Vb(this,e,t)}getLineAndCharacterOfPosition(e){return Xa(this,e)}getLineStarts(){return xa(this)}getPositionOfLineAndCharacter(e,t,n){return wg(xa(this),e,t,this.text,n)}getLineEndOfPosition(e){let{line:t}=this.getLineAndCharacterOfPosition(e),n=this.getLineStarts(),i;t+1>=n.length&&(i=this.getEnd()),i||(i=n[t+1]-1);let s=this.getFullText();return s[i]===` -`&&s[i-1]==="\r"?i-1:i}getNamedDeclarations(){return this.namedDeclarations||(this.namedDeclarations=this.computeNamedDeclarations()),this.namedDeclarations}computeNamedDeclarations(){let e=nm();return this.forEachChild(s),e;function t(l){let d=i(l);d&&e.add(d,l)}function n(l){let d=e.get(l);return d||e.set(l,d=[]),d}function i(l){let d=ym(l);return d&&(Za(d)&&Rn(d.expression)?d.expression.name.text:Ml(d)?getNameFromPropertyName(d):void 0)}function s(l){switch(l.kind){case 261:case 217:case 173:case 172:let d=l,y=i(d);if(y){let h=n(y),D=Ti(h);D&&d.parent===D.parent&&d.symbol===D.symbol?d.body&&!D.body&&(h[h.length-1]=d):h.push(d)}qt(l,s);break;case 262:case 230:case 263:case 264:case 265:case 266:case 270:case 280:case 275:case 272:case 273:case 176:case 177:case 186:t(l),qt(l,s);break;case 168:if(!gn(l,16476))break;case 259:case 207:{let h=l;if(Sm(h.name)){qt(h.name,s);break}h.initializer&&s(h.initializer)}case 305:case 171:case 170:t(l);break;case 277:let p=l;p.exportClause&&(N8(p.exportClause)?hn(p.exportClause.elements,s):s(p.exportClause.name));break;case 271:let x=l.importClause;x&&(x.name&&t(x.name),x.namedBindings&&(x.namedBindings.kind===273?t(x.namedBindings):hn(x.namedBindings.elements,s)));break;case 225:Ca(l)!==0&&t(l);default:qt(l,s)}}}},J7=class{constructor(e,t,n){this.fileName=e,this.text=t,this.skipTrivia=n}getLineAndCharacterOfPosition(e){return Xa(this,e)}},R7=class{constructor(e){this.host=e}getCurrentSourceFile(e){var t,n,i,s,l,d,y,p;let x=this.host.getScriptSnapshot(e);if(!x)throw new Error("Could not find file: '"+e+"'.");let h=getScriptKind(e,this.host),D=this.host.getScriptVersion(e),w;if(this.currentFileName!==e){let g={languageVersion:99,impliedNodeFormat:getImpliedNodeFormatForFile(vi(e,this.host.getCurrentDirectory(),((i=(n=(t=this.host).getCompilerHost)==null?void 0:n.call(t))==null?void 0:i.getCanonicalFileName)||_3(this.host)),(p=(y=(d=(l=(s=this.host).getCompilerHost)==null?void 0:l.call(s))==null?void 0:d.getModuleResolutionCache)==null?void 0:y.call(d))==null?void 0:p.getPackageJsonInfoCache(),this.host,this.host.getCompilationSettings()),setExternalModuleIndicator:eS(this.host.getCompilationSettings())};w=Hb(e,x,g,D,!0,h)}else if(this.currentFileVersion!==D){let g=x.getChangeRange(this.currentFileScriptSnapshot);w=A7(this.currentSourceFile,x,D,g)}return w&&(this.currentFileVersion=D,this.currentFileName=e,this.currentFileScriptSnapshot=x,this.currentSourceFile=w),this.currentSourceFile}},F7={isCancellationRequested:df,throwIfCancellationRequested:Pr},j7=class{constructor(e){this.cancellationToken=e}isCancellationRequested(){return this.cancellationToken.isCancellationRequested()}throwIfCancellationRequested(){var e;if(this.isCancellationRequested())throw(e=fa)==null||e.instant(fa.Phase.Session,"cancellationThrown",{kind:"CancellationTokenObject"}),new Sf}},B7=class{constructor(e,t=20){this.hostCancellationToken=e,this.throttleWaitMilliseconds=t,this.lastCancellationCheckTime=0}isCancellationRequested(){let e=da();return Math.abs(e-this.lastCancellationCheckTime)>=this.throttleWaitMilliseconds?(this.lastCancellationCheckTime=e,this.hostCancellationToken.isCancellationRequested()):!1}throwIfCancellationRequested(){var e;if(this.isCancellationRequested())throw(e=fa)==null||e.instant(fa.Phase.Session,"cancellationThrown",{kind:"ThrottledCancellationToken"}),new Sf}},ag=["getSemanticDiagnostics","getSuggestionDiagnostics","getCompilerOptionsDiagnostics","getSemanticClassifications","getEncodedSemanticClassifications","getCodeFixesAtPosition","getCombinedCodeFix","applyCodeActionCommand","organizeImports","getEditsForFileRename","getEmitOutput","getApplicableRefactors","getEditsForRefactor","prepareCallHierarchy","provideCallHierarchyIncomingCalls","provideCallHierarchyOutgoingCalls","provideInlayHints","getSupportedCodeFixes"],U7=[...ag,"getCompletionsAtPosition","getCompletionEntryDetails","getCompletionEntrySymbol","getSignatureHelpItems","getQuickInfoAtPosition","getDefinitionAtPosition","getDefinitionAndBoundSpan","getImplementationAtPosition","getTypeDefinitionAtPosition","getReferencesAtPosition","findReferences","getDocumentHighlights","getNavigateToItems","getRenameInfo","findRenameLocations","getApplicableRefactors"],G3(Bj())}}),Qj=()=>{},Yj=()=>{},Zj=()=>{},eB=()=>{},tB=()=>{},nB=()=>{},rB=()=>{},iB=()=>{},aB=()=>{},oB=()=>{},sB=()=>{},_B=()=>{},cB=()=>{},lB=()=>{},uB=()=>{},pB=()=>{},dB=()=>{},fB=()=>{},mB=()=>{},q7=Ht({"src/services/_namespaces/ts.ts"(){"use strict";En(),y7(),kj(),h7(),Aj(),g7(),Dj(),Pj(),Nj(),Ij(),Oj(),Mj(),Lj(),Jj(),$j(),Qj(),Yj(),Zj(),eB(),tB(),nB(),rB(),iB(),aB(),oB(),sB(),b7(),v7(),_B(),cB(),T7(),lB(),uB(),pB(),dB(),fB(),mB()}}),yB=()=>{},z7={};NC(z7,{ANONYMOUS:()=>ANONYMOUS,AccessFlags:()=>Fh,AssertionLevel:()=>_h,AssignmentDeclarationKind:()=>Kh,AssignmentKind:()=>z0,Associativity:()=>V0,BreakpointResolver:()=>ts_BreakpointResolver_exports,BuilderFileEmit:()=>BuilderFileEmit,BuilderProgramKind:()=>BuilderProgramKind,BuilderState:()=>BuilderState,BundleFileSectionKind:()=>f0,CallHierarchy:()=>ts_CallHierarchy_exports,CharacterCodes:()=>s0,CheckFlags:()=>Oh,CheckMode:()=>CheckMode,ClassificationType:()=>ClassificationType,ClassificationTypeNames:()=>ClassificationTypeNames,CommentDirectiveType:()=>yh,Comparison:()=>nh,CompletionInfoFlags:()=>CompletionInfoFlags,CompletionTriggerKind:()=>CompletionTriggerKind,Completions:()=>ts_Completions_exports,ConfigFileProgramReloadLevel:()=>ConfigFileProgramReloadLevel,ContextFlags:()=>wh,CoreServicesShimHostAdapter:()=>CoreServicesShimHostAdapter,Debug:()=>M,DiagnosticCategory:()=>Af,Diagnostics:()=>K,DocumentHighlights:()=>DocumentHighlights,ElementFlags:()=>Rh,EmitFlags:()=>Nf,EmitHint:()=>u0,EmitOnly:()=>bh,EndOfLineState:()=>EndOfLineState,EnumKind:()=>Ih,ExitStatus:()=>Th,ExportKind:()=>ExportKind,Extension:()=>_0,ExternalEmitHelpers:()=>l0,FileIncludeKind:()=>hh,FilePreprocessingDiagnosticsKind:()=>gh,FileSystemEntryKind:()=>FileSystemEntryKind,FileWatcherEventKind:()=>FileWatcherEventKind,FindAllReferences:()=>ts_FindAllReferences_exports,FlattenLevel:()=>FlattenLevel,FlowFlags:()=>ul,ForegroundColorEscapeSequences:()=>ForegroundColorEscapeSequences,FunctionFlags:()=>W0,GeneratedIdentifierFlags:()=>fh,GetLiteralTextFlags:()=>q0,GoToDefinition:()=>ts_GoToDefinition_exports,HighlightSpanKind:()=>HighlightSpanKind,ImportKind:()=>ImportKind,ImportsNotUsedAsValues:()=>t0,IndentStyle:()=>IndentStyle,IndexFlags:()=>jh,IndexKind:()=>qh,InferenceFlags:()=>Vh,InferencePriority:()=>Wh,InlayHintKind:()=>InlayHintKind,InlayHints:()=>ts_InlayHints_exports,InternalEmitFlags:()=>c0,InternalSymbolName:()=>Mh,InvalidatedProjectKind:()=>InvalidatedProjectKind,JsDoc:()=>ts_JsDoc_exports,JsTyping:()=>ts_JsTyping_exports,JsxEmit:()=>e0,JsxFlags:()=>dh,JsxReferenceKind:()=>Bh,LanguageServiceMode:()=>LanguageServiceMode,LanguageServiceShimHostAdapter:()=>LanguageServiceShimHostAdapter,LanguageVariant:()=>a0,LexicalEnvironmentFlags:()=>d0,ListFormat:()=>m0,LogLevel:()=>lh,MemberOverrideStatus:()=>xh,ModifierFlags:()=>Tf,ModuleDetectionKind:()=>Xh,ModuleInstanceState:()=>ModuleInstanceState,ModuleKind:()=>Zh,ModuleResolutionKind:()=>Gh,ModuleSpecifierEnding:()=>$0,NavigateTo:()=>ts_NavigateTo_exports,NavigationBar:()=>ts_NavigationBar_exports,NewLineKind:()=>n0,NodeBuilderFlags:()=>Eh,NodeCheckFlags:()=>Lh,NodeFactoryFlags:()=>Q0,NodeFlags:()=>vf,NodeResolutionFeatures:()=>NodeResolutionFeatures,ObjectFlags:()=>Cf,OperationCanceledException:()=>Sf,OperatorPrecedence:()=>H0,OrganizeImports:()=>ts_OrganizeImports_exports,OrganizeImportsMode:()=>OrganizeImportsMode,OuterExpressionKinds:()=>p0,OutliningElementsCollector:()=>ts_OutliningElementsCollector_exports,OutliningSpanKind:()=>OutliningSpanKind,OutputFileType:()=>OutputFileType,PackageJsonAutoImportPreference:()=>PackageJsonAutoImportPreference,PackageJsonDependencyGroup:()=>PackageJsonDependencyGroup,PatternMatchKind:()=>PatternMatchKind,PollingInterval:()=>PollingInterval,PollingWatchKind:()=>Yh,PragmaKindFlags:()=>y0,PrivateIdentifierKind:()=>PrivateIdentifierKind,ProcessLevel:()=>ProcessLevel,QuotePreference:()=>QuotePreference,RelationComparisonResult:()=>xf,Rename:()=>ts_Rename_exports,ScriptElementKind:()=>ScriptElementKind,ScriptElementKindModifier:()=>ScriptElementKindModifier,ScriptKind:()=>r0,ScriptSnapshot:()=>ScriptSnapshot,ScriptTarget:()=>i0,SemanticClassificationFormat:()=>SemanticClassificationFormat,SemanticMeaning:()=>SemanticMeaning,SemicolonPreference:()=>SemicolonPreference,SignatureCheckMode:()=>SignatureCheckMode,SignatureFlags:()=>kf,SignatureHelp:()=>ts_SignatureHelp_exports,SignatureKind:()=>Uh,SmartSelectionRange:()=>ts_SmartSelectionRange_exports,SnippetKind:()=>Pf,SortKind:()=>oh,StructureIsReused:()=>vh,SymbolAccessibility:()=>Ah,SymbolDisplay:()=>ts_SymbolDisplay_exports,SymbolDisplayPartKind:()=>SymbolDisplayPartKind,SymbolFlags:()=>wf,SymbolFormatFlags:()=>kh,SyntaxKind:()=>bf,SyntheticSymbolKind:()=>Dh,Ternary:()=>Hh,ThrottledCancellationToken:()=>B7,TokenClass:()=>TokenClass,TokenFlags:()=>mh,TransformFlags:()=>Df,TypeFacts:()=>TypeFacts,TypeFlags:()=>Ef,TypeFormatFlags:()=>Ch,TypeMapKind:()=>zh,TypePredicateKind:()=>Ph,TypeReferenceSerializationKind:()=>Nh,TypeScriptServicesFactory:()=>TypeScriptServicesFactory,UnionReduction:()=>Sh,UpToDateStatusType:()=>UpToDateStatusType,VarianceFlags:()=>Jh,Version:()=>Version,VersionRange:()=>VersionRange,WatchDirectoryFlags:()=>o0,WatchDirectoryKind:()=>Qh,WatchFileKind:()=>$h,WatchLogLevel:()=>WatchLogLevel,WatchType:()=>WatchType,accessPrivateIdentifier:()=>accessPrivateIdentifier,addEmitFlags:()=>addEmitFlags,addEmitHelper:()=>addEmitHelper,addEmitHelpers:()=>addEmitHelpers,addInternalEmitFlags:()=>addInternalEmitFlags,addNodeFactoryPatcher:()=>hL,addObjectAllocatorPatcher:()=>RO,addRange:()=>Mn,addRelatedInfo:()=>Xc,addSyntheticLeadingComment:()=>addSyntheticLeadingComment,addSyntheticTrailingComment:()=>addSyntheticTrailingComment,addToSeen:()=>wO,advancedAsyncSuperHelper:()=>advancedAsyncSuperHelper,affectsDeclarationPathOptionDeclarations:()=>affectsDeclarationPathOptionDeclarations,affectsEmitOptionDeclarations:()=>affectsEmitOptionDeclarations,allKeysStartWithDot:()=>allKeysStartWithDot,altDirectorySeparator:()=>Sg,and:()=>n5,append:()=>Tt,appendIfUnique:()=>qv,arrayFrom:()=>tm,arrayIsEqualTo:()=>s9,arrayIsHomogeneous:()=>zM,arrayIsSorted:()=>a9,arrayOf:()=>T9,arrayReverseIterator:()=>u9,arrayToMap:()=>S9,arrayToMultiMap:()=>Kv,arrayToNumericMap:()=>w9,arraysEqual:()=>Jv,assertType:()=>i5,assign:()=>x9,assignHelper:()=>assignHelper,asyncDelegator:()=>asyncDelegator,asyncGeneratorHelper:()=>asyncGeneratorHelper,asyncSuperHelper:()=>asyncSuperHelper,asyncValues:()=>asyncValues,attachFileToDiagnostics:()=>za,awaitHelper:()=>awaitHelper,awaiterHelper:()=>awaiterHelper,base64decode:()=>HI,base64encode:()=>VI,binarySearch:()=>El,binarySearchKey:()=>Vv,bindSourceFile:()=>bindSourceFile,breakIntoCharacterSpans:()=>breakIntoCharacterSpans,breakIntoWordSpans:()=>breakIntoWordSpans,buildLinkParts:()=>buildLinkParts,buildOpts:()=>buildOpts,buildOverload:()=>buildOverload,bundlerModuleNameResolver:()=>bundlerModuleNameResolver,canBeConvertedToAsync:()=>canBeConvertedToAsync,canHaveDecorators:()=>a7,canHaveExportModifier:()=>rL,canHaveFlowNode:()=>fN,canHaveIllegalDecorators:()=>MR,canHaveIllegalModifiers:()=>LR,canHaveIllegalType:()=>OR,canHaveIllegalTypeParameters:()=>n7,canHaveJSDoc:()=>Om,canHaveLocals:()=>bA,canHaveModifiers:()=>R_,canHaveSymbol:()=>gA,canJsonReportNoInputFiles:()=>canJsonReportNoInputFiles,canProduceDiagnostics:()=>canProduceDiagnostics,canUsePropertyAccess:()=>iL,canWatchAffectingLocation:()=>canWatchAffectingLocation,canWatchAtTypes:()=>canWatchAtTypes,canWatchDirectoryOrFile:()=>canWatchDirectoryOrFile,cartesianProduct:()=>o5,cast:()=>mi,chainBundle:()=>chainBundle,chainDiagnosticMessages:()=>Kc,changeAnyExtension:()=>fT,changeCompilerHostLikeToUseCache:()=>changeCompilerHostLikeToUseCache,changeExtension:()=>CM,changesAffectModuleResolution:()=>jA,changesAffectingProgramStructure:()=>BA,childIsDecorated:()=>l2,classElementOrClassElementParameterIsDecorated:()=>RP,classOrConstructorParameterIsDecorated:()=>JP,classPrivateFieldGetHelper:()=>classPrivateFieldGetHelper,classPrivateFieldInHelper:()=>classPrivateFieldInHelper,classPrivateFieldSetHelper:()=>classPrivateFieldSetHelper,classicNameResolver:()=>classicNameResolver,classifier:()=>ts_classifier_exports,cleanExtendedConfigCache:()=>cleanExtendedConfigCache,clear:()=>UC,clearMap:()=>gO,clearSharedExtendedConfigFileWatcher:()=>clearSharedExtendedConfigFileWatcher,climbPastPropertyAccess:()=>climbPastPropertyAccess,climbPastPropertyOrElementAccess:()=>climbPastPropertyOrElementAccess,clone:()=>k9,cloneCompilerOptions:()=>cloneCompilerOptions,closeFileWatcher:()=>uO,closeFileWatcherOf:()=>closeFileWatcherOf,codefix:()=>ts_codefix_exports,collapseTextChangeRangesAcrossMultipleVersions:()=>nk,collectExternalModuleInfo:()=>collectExternalModuleInfo,combine:()=>l9,combinePaths:()=>yn,commentPragmas:()=>om,commonOptionsWithBuild:()=>commonOptionsWithBuild,commonPackageFolders:()=>G0,compact:()=>_9,compareBooleans:()=>H9,compareDataObjects:()=>z3,compareDiagnostics:()=>q2,compareDiagnosticsSkipRelatedInformation:()=>Uf,compareEmitHelpers:()=>compareEmitHelpers,compareNumberOfDirectorySeparators:()=>EM,comparePaths:()=>I5,comparePathsCaseInsensitive:()=>N5,comparePathsCaseSensitive:()=>P5,comparePatternKeys:()=>comparePatternKeys,compareProperties:()=>V9,compareStringsCaseInsensitive:()=>rm,compareStringsCaseInsensitiveEslintCompatible:()=>q9,compareStringsCaseSensitive:()=>xi,compareStringsCaseSensitiveUI:()=>W9,compareTextSpans:()=>B9,compareValues:()=>wn,compileOnSaveCommandLineOption:()=>compileOnSaveCommandLineOption,compilerOptionsAffectDeclarationPath:()=>oM,compilerOptionsAffectEmit:()=>aM,compilerOptionsAffectSemanticDiagnostics:()=>iM,compilerOptionsDidYouMeanDiagnostics:()=>compilerOptionsDidYouMeanDiagnostics,compilerOptionsIndicateEsModules:()=>compilerOptionsIndicateEsModules,compose:()=>j9,computeCommonSourceDirectoryOfFilenames:()=>computeCommonSourceDirectoryOfFilenames,computeLineAndCharacterOfPosition:()=>Eg,computeLineOfPosition:()=>a_,computeLineStarts:()=>cm,computePositionOfLineAndCharacter:()=>wg,computeSignature:()=>computeSignature,computeSignatureWithDiagnostics:()=>computeSignatureWithDiagnostics,computeSuggestionDiagnostics:()=>computeSuggestionDiagnostics,concatenate:()=>d_,concatenateDiagnosticMessageChains:()=>UO,consumesNodeCoreModules:()=>consumesNodeCoreModules,contains:()=>ns,containsIgnoredPath:()=>vS,containsObjectRestOrSpread:()=>Wb,containsParseError:()=>ml,containsPath:()=>mT,convertCompilerOptionsForTelemetry:()=>convertCompilerOptionsForTelemetry,convertCompilerOptionsFromJson:()=>convertCompilerOptionsFromJson,convertJsonOption:()=>convertJsonOption,convertToBase64:()=>L3,convertToJson:()=>convertToJson,convertToObject:()=>convertToObject,convertToOptionsWithAbsolutePaths:()=>convertToOptionsWithAbsolutePaths,convertToRelativePath:()=>M5,convertToTSConfig:()=>convertToTSConfig,convertTypeAcquisitionFromJson:()=>convertTypeAcquisitionFromJson,copyComments:()=>copyComments,copyEntries:()=>WA,copyLeadingComments:()=>copyLeadingComments,copyProperties:()=>D9,copyTrailingAsLeadingComments:()=>copyTrailingAsLeadingComments,copyTrailingComments:()=>copyTrailingComments,couldStartTrivia:()=>q5,countWhere:()=>jC,createAbstractBuilder:()=>createAbstractBuilder,createAccessorPropertyBackingField:()=>dF,createAccessorPropertyGetRedirector:()=>fF,createAccessorPropertySetRedirector:()=>mF,createBaseNodeFactory:()=>YS,createBinaryExpressionTrampoline:()=>oF,createBindingHelper:()=>createBindingHelper,createBuildInfo:()=>createBuildInfo,createBuilderProgram:()=>createBuilderProgram,createBuilderProgramUsingProgramBuildInfo:()=>createBuilderProgramUsingProgramBuildInfo,createBuilderStatusReporter:()=>createBuilderStatusReporter,createCacheWithRedirects:()=>createCacheWithRedirects,createCacheableExportInfoMap:()=>createCacheableExportInfoMap,createCachedDirectoryStructureHost:()=>createCachedDirectoryStructureHost,createClassifier:()=>createClassifier,createCommentDirectivesMap:()=>mD,createCompilerDiagnostic:()=>al,createCompilerDiagnosticForInvalidCustomType:()=>createCompilerDiagnosticForInvalidCustomType,createCompilerDiagnosticFromMessageChain:()=>BO,createCompilerHost:()=>createCompilerHost,createCompilerHostFromProgramHost:()=>createCompilerHostFromProgramHost,createCompilerHostWorker:()=>createCompilerHostWorker,createDetachedDiagnostic:()=>No,createDiagnosticCollection:()=>YN,createDiagnosticForFileFromMessageChain:()=>HD,createDiagnosticForNode:()=>qD,createDiagnosticForNodeArray:()=>zD,createDiagnosticForNodeArrayFromMessageChain:()=>VD,createDiagnosticForNodeFromMessageChain:()=>WD,createDiagnosticForNodeInSourceFile:()=>s4,createDiagnosticForRange:()=>GD,createDiagnosticMessageChainFromDiagnostic:()=>KD,createDiagnosticReporter:()=>createDiagnosticReporter,createDocumentPositionMapper:()=>createDocumentPositionMapper,createDocumentRegistry:()=>createDocumentRegistry,createDocumentRegistryInternal:()=>createDocumentRegistryInternal,createEmitAndSemanticDiagnosticsBuilderProgram:()=>createEmitAndSemanticDiagnosticsBuilderProgram,createEmitHelperFactory:()=>createEmitHelperFactory,createEmptyExports:()=>sR,createExpressionForJsxElement:()=>cR,createExpressionForJsxFragment:()=>lR,createExpressionForObjectLiteralElementLike:()=>hR,createExpressionForPropertyName:()=>V8,createExpressionFromEntityName:()=>W8,createExternalHelpersImportDeclarationIfNeeded:()=>CR,createFileDiagnostic:()=>U2,createFileDiagnosticFromMessageChain:()=>t2,createForOfBindingStatement:()=>uR,createGetCanonicalFileName:()=>im,createGetSourceFile:()=>createGetSourceFile,createGetSymbolAccessibilityDiagnosticForNode:()=>createGetSymbolAccessibilityDiagnosticForNode,createGetSymbolAccessibilityDiagnosticForNodeName:()=>createGetSymbolAccessibilityDiagnosticForNodeName,createGetSymbolWalker:()=>createGetSymbolWalker,createIncrementalCompilerHost:()=>createIncrementalCompilerHost,createIncrementalProgram:()=>createIncrementalProgram,createInputFiles:()=>EL,createInputFilesWithFilePaths:()=>t8,createInputFilesWithFileTexts:()=>n8,createJsxFactoryExpression:()=>z8,createLanguageService:()=>qj,createLanguageServiceSourceFile:()=>Hb,createMemberAccessForPropertyName:()=>n1,createModeAwareCache:()=>createModeAwareCache,createModeAwareCacheKey:()=>createModeAwareCacheKey,createModuleNotFoundChain:()=>YA,createModuleResolutionCache:()=>createModuleResolutionCache,createModuleResolutionLoader:()=>createModuleResolutionLoader,createModuleSpecifierResolutionHost:()=>createModuleSpecifierResolutionHost,createMultiMap:()=>nm,createNodeConverters:()=>ZS,createNodeFactory:()=>Vf,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:()=>eL,createQueue:()=>I9,createRange:()=>Bm,createRedirectedBuilderProgram:()=>createRedirectedBuilderProgram,createResolutionCache:()=>createResolutionCache,createRuntimeTypeSerializer:()=>createRuntimeTypeSerializer,createScanner:()=>as,createSemanticDiagnosticsBuilderProgram:()=>createSemanticDiagnosticsBuilderProgram,createSet:()=>O9,createSolutionBuilder:()=>createSolutionBuilder,createSolutionBuilderHost:()=>createSolutionBuilderHost,createSolutionBuilderWithWatch:()=>createSolutionBuilderWithWatch,createSolutionBuilderWithWatchHost:()=>createSolutionBuilderWithWatchHost,createSortedArray:()=>i9,createSourceFile:()=>c7,createSourceMapGenerator:()=>createSourceMapGenerator,createSourceMapSource:()=>CL,createSuperAccessVariableStatement:()=>createSuperAccessVariableStatement,createSymbolTable:()=>RA,createSymlinkCache:()=>uM,createSystemWatchFunctions:()=>createSystemWatchFunctions,createTextChange:()=>createTextChange,createTextChangeFromStartLength:()=>createTextChangeFromStartLength,createTextChangeRange:()=>pm,createTextRangeFromNode:()=>createTextRangeFromNode,createTextRangeFromSpan:()=>createTextRangeFromSpan,createTextSpan:()=>v_,createTextSpanFromBounds:()=>zi,createTextSpanFromNode:()=>createTextSpanFromNode,createTextSpanFromRange:()=>createTextSpanFromRange,createTextSpanFromStringLiteralLikeContent:()=>createTextSpanFromStringLiteralLikeContent,createTextWriter:()=>oI,createTokenRange:()=>QI,createTypeChecker:()=>createTypeChecker,createTypeReferenceDirectiveResolutionCache:()=>createTypeReferenceDirectiveResolutionCache,createTypeReferenceResolutionLoader:()=>createTypeReferenceResolutionLoader,createUnparsedSourceFile:()=>xL,createWatchCompilerHost:()=>createWatchCompilerHost2,createWatchCompilerHostOfConfigFile:()=>createWatchCompilerHostOfConfigFile,createWatchCompilerHostOfFilesAndCompilerOptions:()=>createWatchCompilerHostOfFilesAndCompilerOptions,createWatchFactory:()=>createWatchFactory,createWatchHost:()=>createWatchHost,createWatchProgram:()=>createWatchProgram,createWatchStatusReporter:()=>createWatchStatusReporter,createWriteFileMeasuringIO:()=>createWriteFileMeasuringIO,declarationNameToString:()=>o4,decodeMappings:()=>decodeMappings,decodedTextSpanIntersectsWith:()=>Dg,decorateHelper:()=>decorateHelper,deduplicate:()=>Bv,defaultIncludeSpec:()=>defaultIncludeSpec,defaultInitCompilerOptions:()=>defaultInitCompilerOptions,defaultMaximumTruncationLength:()=>PS,detectSortCaseSensitivity:()=>o9,diagnosticCategoryName:()=>v5,diagnosticToString:()=>diagnosticToString,directoryProbablyExists:()=>R3,directorySeparator:()=>_r,displayPart:()=>displayPart,displayPartsToString:()=>Uj,disposeEmitNodes:()=>disposeEmitNodes,documentSpansEqual:()=>documentSpansEqual,dumpTracingLegend:()=>dumpTracingLegend,elementAt:()=>sT,elideNodes:()=>cF,emitComments:()=>v3,emitDetachedComments:()=>wI,emitFiles:()=>emitFiles,emitFilesAndReportErrors:()=>emitFilesAndReportErrors,emitFilesAndReportErrorsAndGetExitStatus:()=>emitFilesAndReportErrorsAndGetExitStatus,emitModuleKindIsNonNodeESM:()=>VO,emitNewLineBeforeLeadingCommentOfPosition:()=>SI,emitNewLineBeforeLeadingComments:()=>g3,emitNewLineBeforeLeadingCommentsOfPosition:()=>b3,emitSkippedWithNoDiagnostics:()=>emitSkippedWithNoDiagnostics,emitUsingBuildInfo:()=>emitUsingBuildInfo,emptyArray:()=>Xe,emptyFileSystemEntries:()=>QS,emptyMap:()=>mg,emptyOptions:()=>emptyOptions,emptySet:()=>oT,endsWith:()=>rs,ensurePathIsNonModuleName:()=>bg,ensureScriptKind:()=>sS,ensureTrailingDirectorySeparator:()=>Ko,entityNameToString:()=>hi,enumerateInsertsAndDeletes:()=>a5,equalOwnProperties:()=>Hv,equateStringsCaseInsensitive:()=>i_,equateStringsCaseSensitive:()=>Cl,equateValues:()=>to,esDecorateHelper:()=>esDecorateHelper,escapeJsxAttributeString:()=>o3,escapeLeadingUnderscores:()=>Ur,escapeNonAsciiString:()=>jf,escapeSnippetText:()=>ZM,escapeString:()=>Ff,every:()=>eo,expandPreOrPostfixIncrementOrDecrementExpression:()=>gR,explainFiles:()=>explainFiles,explainIfFileIsRedirectAndImpliedFormat:()=>explainIfFileIsRedirectAndImpliedFormat,exportAssignmentIsAlias:()=>I0,exportStarHelper:()=>exportStarHelper,expressionResultIsUnused:()=>KM,extend:()=>A9,extendsHelper:()=>extendsHelper,extensionFromPath:()=>Gc,extensionIsTS:()=>mS,extensionsNotSupportingExtensionlessResolution:()=>Wm,externalHelpersModuleNameText:()=>zm,factory:()=>Ar,fileExtensionIs:()=>Ea,fileExtensionIsOneOf:()=>Wr,fileIncludeReasonToDiagnostics:()=>fileIncludeReasonToDiagnostics,fileShouldUseJavaScriptRequire:()=>fileShouldUseJavaScriptRequire,filter:()=>Gn,filterMutate:()=>BC,filterSemanticDiagnostics:()=>filterSemanticDiagnostics,find:()=>$n,findAncestor:()=>Xr,findBestPatternMatch:()=>nT,findChildOfKind:()=>findChildOfKind,findComputedPropertyNameCacheAssignment:()=>yF,findConfigFile:()=>findConfigFile,findContainingList:()=>findContainingList,findDiagnosticForNode:()=>findDiagnosticForNode,findFirstNonJsxWhitespaceToken:()=>findFirstNonJsxWhitespaceToken,findIndex:()=>el,findLast:()=>sg,findLastIndex:()=>RC,findListItemInfo:()=>findListItemInfo,findMap:()=>FC,findModifier:()=>findModifier,findNextToken:()=>findNextToken,findPackageJson:()=>findPackageJson,findPackageJsons:()=>findPackageJsons,findPrecedingMatchingToken:()=>findPrecedingMatchingToken,findPrecedingToken:()=>findPrecedingToken,findSuperStatementIndex:()=>findSuperStatementIndex,findTokenOnLeftOfPosition:()=>findTokenOnLeftOfPosition,findUseStrictPrologue:()=>K8,first:()=>cg,firstDefined:()=>og,firstDefinedIterator:()=>MC,firstIterator:()=>f9,firstOrOnly:()=>firstOrOnly,firstOrUndefined:()=>f_,firstOrUndefinedIterator:()=>d9,fixupCompilerOptions:()=>fixupCompilerOptions,flatMap:()=>Wo,flatMapIterator:()=>WC,flatMapToMutable:()=>Fv,flatten:()=>r_,flattenCommaList:()=>gF,flattenDestructuringAssignment:()=>flattenDestructuringAssignment,flattenDestructuringBinding:()=>flattenDestructuringBinding,flattenDiagnosticMessageText:()=>flattenDiagnosticMessageText,forEach:()=>hn,forEachAncestor:()=>UA,forEachAncestorDirectory:()=>hT,forEachChild:()=>qt,forEachChildRecursively:()=>rg,forEachEmittedFile:()=>forEachEmittedFile,forEachEnclosingBlockScopeContainer:()=>FD,forEachEntry:()=>qA,forEachExternalModuleToImportFrom:()=>forEachExternalModuleToImportFrom,forEachImportClauseDeclaration:()=>cN,forEachKey:()=>zA,forEachLeadingCommentRange:()=>z5,forEachNameInAccessChainWalkingLeft:()=>DO,forEachPropertyAssignment:()=>_2,forEachResolvedProjectReference:()=>forEachResolvedProjectReference,forEachReturnStatement:()=>aP,forEachRight:()=>OC,forEachTrailingCommentRange:()=>W5,forEachTsConfigPropArray:()=>f4,forEachUnique:()=>forEachUnique,forEachYieldExpression:()=>oP,forSomeAncestorDirectory:()=>TO,formatColorAndReset:()=>formatColorAndReset,formatDiagnostic:()=>formatDiagnostic,formatDiagnostics:()=>formatDiagnostics,formatDiagnosticsWithColorAndContext:()=>formatDiagnosticsWithColorAndContext,formatGeneratedName:()=>Gf,formatGeneratedNamePart:()=>ng,formatLocation:()=>formatLocation,formatMessage:()=>jO,formatStringFromArgs:()=>C_,formatting:()=>ts_formatting_exports,fullTripleSlashAMDReferencePathRegEx:()=>tb,fullTripleSlashReferencePathRegEx:()=>eb,generateDjb2Hash:()=>generateDjb2Hash,generateTSConfig:()=>generateTSConfig,generatorHelper:()=>generatorHelper,getAdjustedReferenceLocation:()=>getAdjustedReferenceLocation,getAdjustedRenameLocation:()=>getAdjustedRenameLocation,getAliasDeclarationFromName:()=>z4,getAllAccessorDeclarations:()=>O2,getAllDecoratorsOfClass:()=>getAllDecoratorsOfClass,getAllDecoratorsOfClassElement:()=>getAllDecoratorsOfClassElement,getAllJSDocTags:()=>dx,getAllJSDocTagsOfKind:()=>gk,getAllKeys:()=>b9,getAllProjectOutputs:()=>getAllProjectOutputs,getAllSuperTypeNodes:()=>G4,getAllUnscopedEmitHelpers:()=>getAllUnscopedEmitHelpers,getAllowJSCompilerOption:()=>rS,getAllowSyntheticDefaultImports:()=>QO,getAncestor:()=>NN,getAnyExtensionFromPath:()=>If,getAreDeclarationMapsEnabled:()=>$O,getAssignedExpandoInitializer:()=>QP,getAssignedName:()=>QT,getAssignmentDeclarationKind:()=>Ca,getAssignmentDeclarationPropertyAccessKind:()=>A4,getAssignmentTargetKind:()=>F4,getAutomaticTypeDirectiveNames:()=>getAutomaticTypeDirectiveNames,getBaseFileName:()=>h_,getBinaryOperatorPrecedence:()=>il,getBuildInfo:()=>getBuildInfo,getBuildInfoFileVersionMap:()=>getBuildInfoFileVersionMap,getBuildInfoText:()=>getBuildInfoText,getBuildOrderFromAnyBuildOrder:()=>getBuildOrderFromAnyBuildOrder,getBuilderCreationParameters:()=>getBuilderCreationParameters,getBuilderFileEmit:()=>getBuilderFileEmit,getCheckFlags:()=>q3,getClassExtendsHeritageElement:()=>H4,getClassLikeDeclarationOfSymbol:()=>V3,getCombinedLocalAndExportSymbolFlags:()=>fO,getCombinedModifierFlags:()=>dm,getCombinedNodeFlags:()=>fm,getCombinedNodeFlagsAlwaysIncludeJSDoc:()=>ik,getCommentRange:()=>getCommentRange,getCommonSourceDirectory:()=>getCommonSourceDirectory,getCommonSourceDirectoryOfConfig:()=>getCommonSourceDirectoryOfConfig,getCompilerOptionValue:()=>U0,getCompilerOptionsDiffValue:()=>getCompilerOptionsDiffValue,getConditions:()=>getConditions,getConfigFileParsingDiagnostics:()=>getConfigFileParsingDiagnostics,getConstantValue:()=>getConstantValue,getContainerNode:()=>getContainerNode,getContainingClass:()=>xP,getContainingClassStaticBlock:()=>SP,getContainingFunction:()=>vP,getContainingFunctionDeclaration:()=>TP,getContainingFunctionOrClassStaticBlock:()=>wP,getContainingNodeArray:()=>GM,getContainingObjectLiteralElement:()=>D7,getContextualTypeFromParent:()=>getContextualTypeFromParent,getContextualTypeFromParentOrAncestorTypeNode:()=>getContextualTypeFromParentOrAncestorTypeNode,getCurrentTime:()=>getCurrentTime,getDeclarationDiagnostics:()=>getDeclarationDiagnostics,getDeclarationEmitExtensionForPath:()=>u3,getDeclarationEmitOutputFilePath:()=>lI,getDeclarationEmitOutputFilePathWorker:()=>l3,getDeclarationFromName:()=>kN,getDeclarationModifierFlagsFromSymbol:()=>pO,getDeclarationOfKind:()=>LA,getDeclarationsOfKind:()=>JA,getDeclaredExpandoInitializer:()=>XP,getDecorators:()=>ok,getDefaultCompilerOptions:()=>E7,getDefaultExportInfoWorker:()=>getDefaultExportInfoWorker,getDefaultFormatCodeSettings:()=>getDefaultFormatCodeSettings,getDefaultLibFileName:()=>FT,getDefaultLibFilePath:()=>Xj,getDefaultLikeExportInfo:()=>getDefaultLikeExportInfo,getDiagnosticText:()=>getDiagnosticText,getDiagnosticsWithinSpan:()=>getDiagnosticsWithinSpan,getDirectoryPath:()=>Hi,getDirectoryToWatchFailedLookupLocation:()=>getDirectoryToWatchFailedLookupLocation,getDirectoryToWatchFailedLookupLocationFromTypeRoot:()=>getDirectoryToWatchFailedLookupLocationFromTypeRoot,getDocumentPositionMapper:()=>getDocumentPositionMapper,getESModuleInterop:()=>W2,getEditsForFileRename:()=>getEditsForFileRename,getEffectiveBaseTypeNode:()=>V4,getEffectiveConstraintOfTypeParameter:()=>xk,getEffectiveContainerForJSDocTemplateTag:()=>yN,getEffectiveImplementsTypeNodes:()=>K4,getEffectiveInitializer:()=>w4,getEffectiveJSDocHost:()=>v2,getEffectiveModifierFlags:()=>Fm,getEffectiveModifierFlagsAlwaysIncludeJSDoc:()=>C3,getEffectiveModifierFlagsNoCache:()=>A3,getEffectiveReturnTypeNode:()=>vI,getEffectiveSetAccessorTypeAnnotationNode:()=>xI,getEffectiveTypeAnnotationNode:()=>M2,getEffectiveTypeParameterDeclarations:()=>Tk,getEffectiveTypeRoots:()=>getEffectiveTypeRoots,getElementOrPropertyAccessArgumentExpressionOrName:()=>Im,getElementOrPropertyAccessName:()=>Ya,getElementsOfBindingOrAssignmentPattern:()=>t7,getEmitDeclarations:()=>H2,getEmitFlags:()=>Vr,getEmitHelpers:()=>getEmitHelpers,getEmitModuleDetectionKind:()=>tS,getEmitModuleKind:()=>Gr,getEmitModuleResolutionKind:()=>A_,getEmitScriptTarget:()=>Um,getEnclosingBlockScopeContainer:()=>C0,getEncodedSemanticClassifications:()=>getEncodedSemanticClassifications,getEncodedSyntacticClassifications:()=>getEncodedSyntacticClassifications,getEndLinePosition:()=>Kx,getEntityNameFromTypeNode:()=>MP,getEntrypointsFromPackageJsonInfo:()=>getEntrypointsFromPackageJsonInfo,getErrorCountForSummary:()=>getErrorCountForSummary,getErrorSpanForNode:()=>n2,getErrorSummaryText:()=>getErrorSummaryText,getEscapedTextOfIdentifierOrLiteral:()=>Z4,getEscapedTextOfJsxAttributeName:()=>cL,getEscapedTextOfJsxNamespacedName:()=>Ul,getExpandoInitializer:()=>x_,getExportAssignmentExpression:()=>W4,getExportInfoMap:()=>getExportInfoMap,getExportNeedsImportStarHelper:()=>getExportNeedsImportStarHelper,getExpressionAssociativity:()=>XN,getExpressionPrecedence:()=>$N,getExternalHelpersModuleName:()=>$8,getExternalModuleImportEqualsDeclarationExpression:()=>jP,getExternalModuleName:()=>h2,getExternalModuleNameFromDeclaration:()=>_I,getExternalModuleNameFromPath:()=>D2,getExternalModuleNameLiteral:()=>AR,getExternalModuleRequireArgument:()=>BP,getFallbackOptions:()=>getFallbackOptions,getFileEmitOutput:()=>getFileEmitOutput,getFileMatcherPatterns:()=>oS,getFileNamesFromConfigSpecs:()=>getFileNamesFromConfigSpecs,getFileWatcherEventKind:()=>getFileWatcherEventKind,getFilesInErrorForSummary:()=>getFilesInErrorForSummary,getFirstConstructorWithBody:()=>f3,getFirstIdentifier:()=>LI,getFirstNonSpaceCharacterPosition:()=>getFirstNonSpaceCharacterPosition,getFirstProjectOutput:()=>getFirstProjectOutput,getFixableErrorSpanExpression:()=>getFixableErrorSpanExpression,getFormatCodeSettingsForWriting:()=>getFormatCodeSettingsForWriting,getFullWidth:()=>Em,getFunctionFlags:()=>RN,getHeritageClause:()=>Mm,getHostSignatureFromJSDoc:()=>b2,getIdentifierAutoGenerate:()=>getIdentifierAutoGenerate,getIdentifierGeneratedImportReference:()=>getIdentifierGeneratedImportReference,getIdentifierTypeArguments:()=>getIdentifierTypeArguments,getImmediatelyInvokedFunctionExpression:()=>DP,getImpliedNodeFormatForFile:()=>getImpliedNodeFormatForFile,getImpliedNodeFormatForFileWorker:()=>getImpliedNodeFormatForFileWorker,getImportNeedsImportDefaultHelper:()=>getImportNeedsImportDefaultHelper,getImportNeedsImportStarHelper:()=>getImportNeedsImportStarHelper,getIndentSize:()=>Bo,getIndentString:()=>k2,getInferredLibraryNameResolveFrom:()=>getInferredLibraryNameResolveFrom,getInitializedVariables:()=>cO,getInitializerOfBinaryExpression:()=>D4,getInitializerOfBindingOrAssignmentElement:()=>Z8,getInterfaceBaseTypeNodes:()=>X4,getInternalEmitFlags:()=>vD,getInvokedExpression:()=>LP,getIsolatedModules:()=>z2,getJSDocAugmentsTag:()=>rx,getJSDocClassTag:()=>_k,getJSDocCommentRanges:()=>l4,getJSDocCommentsAndTags:()=>L4,getJSDocDeprecatedTag:()=>dk,getJSDocDeprecatedTagNoCache:()=>lx,getJSDocEnumTag:()=>fk,getJSDocHost:()=>R4,getJSDocImplementsTags:()=>ix,getJSDocOverrideTagNoCache:()=>cx,getJSDocParameterTags:()=>hm,getJSDocParameterTagsNoCache:()=>ZT,getJSDocPrivateTag:()=>lk,getJSDocPrivateTagNoCache:()=>ox,getJSDocProtectedTag:()=>uk,getJSDocProtectedTagNoCache:()=>sx,getJSDocPublicTag:()=>ck,getJSDocPublicTagNoCache:()=>ax,getJSDocReadonlyTag:()=>pk,getJSDocReadonlyTagNoCache:()=>_x,getJSDocReturnTag:()=>ux,getJSDocReturnType:()=>px,getJSDocRoot:()=>T2,getJSDocSatisfiesExpressionType:()=>_L,getJSDocSatisfiesTag:()=>Ng,getJSDocTags:()=>Il,getJSDocTagsNoCache:()=>hk,getJSDocTemplateTag:()=>yk,getJSDocThisTag:()=>mk,getJSDocType:()=>bm,getJSDocTypeAliasName:()=>tg,getJSDocTypeAssertionType:()=>xR,getJSDocTypeParameterDeclarations:()=>h3,getJSDocTypeParameterTags:()=>tx,getJSDocTypeParameterTagsNoCache:()=>nx,getJSDocTypeTag:()=>gm,getJSXImplicitImportBase:()=>_M,getJSXRuntimeImport:()=>cM,getJSXTransformEnabled:()=>sM,getKeyForCompilerOptions:()=>getKeyForCompilerOptions,getLanguageVariant:()=>B0,getLastChild:()=>H3,getLeadingCommentRanges:()=>Go,getLeadingCommentRangesOfNode:()=>rP,getLeftmostAccessExpression:()=>B2,getLeftmostExpression:()=>PO,getLineAndCharacterOfPosition:()=>Xa,getLineInfo:()=>getLineInfo,getLineOfLocalPosition:()=>yI,getLineOfLocalPositionFromLineMap:()=>ya,getLineStartPositionForPosition:()=>getLineStartPositionForPosition,getLineStarts:()=>xa,getLinesBetweenPositionAndNextNonWhitespaceCharacter:()=>oO,getLinesBetweenPositionAndPrecedingNonWhitespaceCharacter:()=>aO,getLinesBetweenPositions:()=>b_,getLinesBetweenRangeEndAndRangeStart:()=>nO,getLinesBetweenRangeEndPositions:()=>rO,getLiteralText:()=>TD,getLocalNameForExternalImport:()=>kR,getLocalSymbolForExportDefault:()=>BI,getLocaleSpecificMessage:()=>k_,getLocaleTimeString:()=>getLocaleTimeString,getMappedContextSpan:()=>getMappedContextSpan,getMappedDocumentSpan:()=>getMappedDocumentSpan,getMappedLocation:()=>getMappedLocation,getMatchedFileSpec:()=>getMatchedFileSpec,getMatchedIncludeSpec:()=>getMatchedIncludeSpec,getMeaningFromDeclaration:()=>getMeaningFromDeclaration,getMeaningFromLocation:()=>getMeaningFromLocation,getMembersOfDeclaration:()=>_P,getModeForFileReference:()=>getModeForFileReference,getModeForResolutionAtIndex:()=>getModeForResolutionAtIndex,getModeForUsageLocation:()=>getModeForUsageLocation,getModifiedTime:()=>getModifiedTime,getModifiers:()=>Mf,getModuleInstanceState:()=>getModuleInstanceState,getModuleNameStringLiteralAt:()=>getModuleNameStringLiteralAt,getModuleSpecifierEndingPreference:()=>xM,getModuleSpecifierResolverHost:()=>getModuleSpecifierResolverHost,getNameForExportedSymbol:()=>getNameForExportedSymbol,getNameFromIndexInfo:()=>jD,getNameFromPropertyName:()=>getNameFromPropertyName,getNameOfAccessExpression:()=>CO,getNameOfCompilerOptionValue:()=>getNameOfCompilerOptionValue,getNameOfDeclaration:()=>Nl,getNameOfExpando:()=>eN,getNameOfJSDocTypedef:()=>$T,getNameOrArgument:()=>k4,getNameTable:()=>zj,getNamesForExportedSymbol:()=>getNamesForExportedSymbol,getNamespaceDeclarationNode:()=>N4,getNewLineCharacter:()=>F3,getNewLineKind:()=>getNewLineKind,getNewLineOrDefaultFromHost:()=>getNewLineOrDefaultFromHost,getNewTargetContainer:()=>kP,getNextJSDocCommentLocation:()=>J4,getNodeForGeneratedName:()=>lF,getNodeId:()=>getNodeId,getNodeKind:()=>getNodeKind,getNodeModifiers:()=>getNodeModifiers,getNodeModulePathParts:()=>tL,getNonAssignedNameOfDeclaration:()=>ym,getNonAssignmentOperatorForCompoundAssignment:()=>getNonAssignmentOperatorForCompoundAssignment,getNonAugmentationDeclaration:()=>r4,getNonDecoratorTokenPosOfNode:()=>yD,getNormalizedAbsolutePath:()=>Ta,getNormalizedAbsolutePathWithoutRoot:()=>D5,getNormalizedPathComponents:()=>_m,getObjectFlags:()=>tf,getOperator:()=>C2,getOperatorAssociativity:()=>n3,getOperatorPrecedence:()=>r3,getOptionFromName:()=>getOptionFromName,getOptionsForLibraryResolution:()=>getOptionsForLibraryResolution,getOptionsNameMap:()=>getOptionsNameMap,getOrCreateEmitNode:()=>getOrCreateEmitNode,getOrCreateExternalHelpersModuleNameIfNeeded:()=>Q8,getOrUpdate:()=>GC,getOriginalNode:()=>Dl,getOriginalNodeId:()=>getOriginalNodeId,getOriginalSourceFile:()=>GN,getOutputDeclarationFileName:()=>getOutputDeclarationFileName,getOutputExtension:()=>getOutputExtension,getOutputFileNames:()=>getOutputFileNames,getOutputPathsFor:()=>getOutputPathsFor,getOutputPathsForBundle:()=>getOutputPathsForBundle,getOwnEmitOutputFilePath:()=>cI,getOwnKeys:()=>lg,getOwnValues:()=>v9,getPackageJsonInfo:()=>getPackageJsonInfo,getPackageJsonTypesVersionsPaths:()=>getPackageJsonTypesVersionsPaths,getPackageJsonsVisibleToFile:()=>getPackageJsonsVisibleToFile,getPackageNameFromTypesPackageName:()=>getPackageNameFromTypesPackageName,getPackageScopeForPath:()=>getPackageScopeForPath,getParameterSymbolFromJSDoc:()=>mN,getParameterTypeNode:()=>nL,getParentNodeInSpan:()=>getParentNodeInSpan,getParseTreeNode:()=>Pl,getParsedCommandLineOfConfigFile:()=>getParsedCommandLineOfConfigFile,getPathComponents:()=>wi,getPathComponentsRelativeTo:()=>Tg,getPathFromPathComponents:()=>Vo,getPathUpdater:()=>getPathUpdater,getPathsBasePath:()=>pI,getPatternFromSpec:()=>hM,getPendingEmitKind:()=>getPendingEmitKind,getPositionOfLineAndCharacter:()=>B5,getPossibleGenericSignatures:()=>getPossibleGenericSignatures,getPossibleOriginalInputExtensionForExtension:()=>uI,getPossibleTypeArgumentsInfo:()=>getPossibleTypeArgumentsInfo,getPreEmitDiagnostics:()=>getPreEmitDiagnostics,getPrecedingNonSpaceCharacterPosition:()=>getPrecedingNonSpaceCharacterPosition,getPrivateIdentifier:()=>getPrivateIdentifier,getProperties:()=>getProperties,getProperty:()=>g9,getPropertyArrayElementValue:()=>gP,getPropertyAssignmentAliasLikeExpression:()=>PN,getPropertyNameForPropertyNameNode:()=>Jf,getPropertyNameForUniqueESSymbol:()=>jN,getPropertyNameOfBindingOrAssignmentElement:()=>IR,getPropertySymbolFromBindingElement:()=>getPropertySymbolFromBindingElement,getPropertySymbolsFromContextualType:()=>P7,getQuoteFromPreference:()=>getQuoteFromPreference,getQuotePreference:()=>getQuotePreference,getRangesWhere:()=>ZC,getRefactorContextSpan:()=>getRefactorContextSpan,getReferencedFileLocation:()=>getReferencedFileLocation,getRegexFromPattern:()=>rf,getRegularExpressionForWildcard:()=>nf,getRegularExpressionsForWildcards:()=>G2,getRelativePathFromDirectory:()=>yT,getRelativePathFromFile:()=>L5,getRelativePathToDirectoryOrUrl:()=>xg,getRenameLocation:()=>getRenameLocation,getReplacementSpanForContextToken:()=>getReplacementSpanForContextToken,getResolutionDiagnostic:()=>getResolutionDiagnostic,getResolutionModeOverrideForClause:()=>getResolutionModeOverrideForClause,getResolveJsonModule:()=>nS,getResolvePackageJsonExports:()=>ZO,getResolvePackageJsonImports:()=>eM,getResolvedExternalModuleName:()=>c3,getResolvedModule:()=>HA,getResolvedTypeReferenceDirective:()=>XA,getRestIndicatorOfBindingOrAssignmentElement:()=>NR,getRestParameterElementType:()=>sP,getRightMostAssignedExpression:()=>d2,getRootDeclaration:()=>Lm,getRootDirectoryOfResolutionCache:()=>getRootDirectoryOfResolutionCache,getRootLength:()=>Si,getRootPathSplitLength:()=>getRootPathSplitLength,getScriptKind:()=>getScriptKind,getScriptKindFromFileName:()=>_S,getScriptTargetFeatures:()=>getScriptTargetFeatures,getSelectedEffectiveModifierFlags:()=>w3,getSelectedSyntacticModifierFlags:()=>E3,getSemanticClassifications:()=>getSemanticClassifications,getSemanticJsxChildren:()=>QN,getSetAccessorTypeAnnotationNode:()=>hI,getSetAccessorValueParameter:()=>I2,getSetExternalModuleIndicator:()=>eS,getShebang:()=>CT,getSingleInitializerOfVariableStatementOrPropertyDeclaration:()=>g2,getSingleVariableOfVariableStatement:()=>hl,getSnapshotText:()=>getSnapshotText,getSnippetElement:()=>getSnippetElement,getSourceFileOfModule:()=>iD,getSourceFileOfNode:()=>Kr,getSourceFilePathInNewDir:()=>p3,getSourceFilePathInNewDirWorker:()=>N2,getSourceFileVersionAsHashFromText:()=>getSourceFileVersionAsHashFromText,getSourceFilesToEmit:()=>dI,getSourceMapRange:()=>getSourceMapRange,getSourceMapper:()=>getSourceMapper,getSourceTextOfNodeFromSourceFile:()=>Yo,getSpanOfTokenAtPosition:()=>Gs,getSpellingSuggestion:()=>Zv,getStartPositionOfLine:()=>sD,getStartPositionOfRange:()=>l_,getStartsOnNewLine:()=>getStartsOnNewLine,getStaticPropertiesAndClassStaticBlock:()=>getStaticPropertiesAndClassStaticBlock,getStrictOptionValue:()=>K2,getStringComparer:()=>ug,getSuperCallFromStatement:()=>getSuperCallFromStatement,getSuperContainer:()=>AP,getSupportedCodeFixes:()=>C7,getSupportedExtensions:()=>cS,getSupportedExtensionsWithJsonIfResolveJsonModule:()=>lS,getSwitchedType:()=>getSwitchedType,getSymbolId:()=>getSymbolId,getSymbolNameForPrivateIdentifier:()=>BN,getSymbolTarget:()=>getSymbolTarget,getSyntacticClassifications:()=>getSyntacticClassifications,getSyntacticModifierFlags:()=>R2,getSyntacticModifierFlagsNoCache:()=>F2,getSynthesizedDeepClone:()=>getSynthesizedDeepClone,getSynthesizedDeepCloneWithReplacements:()=>getSynthesizedDeepCloneWithReplacements,getSynthesizedDeepClones:()=>getSynthesizedDeepClones,getSynthesizedDeepClonesWithReplacements:()=>getSynthesizedDeepClonesWithReplacements,getSyntheticLeadingComments:()=>getSyntheticLeadingComments,getSyntheticTrailingComments:()=>getSyntheticTrailingComments,getTargetLabel:()=>getTargetLabel,getTargetOfBindingOrAssignmentElement:()=>Fo,getTemporaryModuleResolutionState:()=>getTemporaryModuleResolutionState,getTextOfConstantValue:()=>SD,getTextOfIdentifierOrLiteral:()=>Rf,getTextOfJSDocComment:()=>bk,getTextOfJsxAttributeName:()=>lL,getTextOfJsxNamespacedName:()=>ql,getTextOfNode:()=>Cm,getTextOfNodeFromSourceText:()=>Ys,getTextOfPropertyName:()=>UD,getThisContainer:()=>c2,getThisParameter:()=>m3,getTokenAtPosition:()=>getTokenAtPosition,getTokenPosOfNode:()=>Qo,getTokenSourceMapRange:()=>getTokenSourceMapRange,getTouchingPropertyName:()=>getTouchingPropertyName,getTouchingToken:()=>getTouchingToken,getTrailingCommentRanges:()=>ET,getTrailingSemicolonDeferringWriter:()=>sI,getTransformFlagsSubtreeExclusions:()=>e8,getTransformers:()=>getTransformers,getTsBuildInfoEmitOutputFilePath:()=>getTsBuildInfoEmitOutputFilePath,getTsConfigObjectLiteralExpression:()=>d4,getTsConfigPropArrayElementValue:()=>bP,getTypeAnnotationNode:()=>bI,getTypeArgumentOrTypeParameterList:()=>getTypeArgumentOrTypeParameterList,getTypeKeywordOfTypeOnlyImport:()=>getTypeKeywordOfTypeOnlyImport,getTypeNode:()=>getTypeNode,getTypeNodeIfAccessible:()=>getTypeNodeIfAccessible,getTypeParameterFromJsDoc:()=>hN,getTypeParameterOwner:()=>rk,getTypesPackageName:()=>getTypesPackageName,getUILocale:()=>z9,getUniqueName:()=>getUniqueName,getUniqueSymbolId:()=>getUniqueSymbolId,getUseDefineForClassFields:()=>rM,getWatchErrorSummaryDiagnosticMessage:()=>getWatchErrorSummaryDiagnosticMessage,getWatchFactory:()=>getWatchFactory,group:()=>E9,groupBy:()=>C9,guessIndentation:()=>IA,handleNoEmitOptions:()=>handleNoEmitOptions,hasAbstractModifier:()=>T3,hasAccessorModifier:()=>S3,hasAmbientModifier:()=>x3,hasChangesInResolutions:()=>nD,hasChildOfKind:()=>hasChildOfKind,hasContextSensitiveParameters:()=>XM,hasDecorators:()=>gl,hasDocComment:()=>hasDocComment,hasDynamicName:()=>Y4,hasEffectiveModifier:()=>L2,hasEffectiveModifiers:()=>kI,hasEffectiveReadonlyModifier:()=>J0,hasExtension:()=>dT,hasIndexSignature:()=>hasIndexSignature,hasInitializer:()=>zx,hasInvalidEscape:()=>i3,hasJSDocNodes:()=>Ui,hasJSDocParameterTags:()=>sk,hasJSFileExtension:()=>X2,hasJsonModuleEmitEnabled:()=>HO,hasOnlyExpressionInitializer:()=>PA,hasOverrideModifier:()=>DI,hasPossibleExternalModuleReference:()=>RD,hasProperty:()=>Xn,hasPropertyAccessExpressionWithName:()=>hasPropertyAccessExpressionWithName,hasQuestionToken:()=>lN,hasRecordedExternalHelpers:()=>ER,hasRestParameter:()=>OA,hasScopeMarker:()=>oA,hasStaticModifier:()=>Rm,hasSyntacticModifier:()=>gn,hasSyntacticModifiers:()=>AI,hasTSFileExtension:()=>$2,hasTabstop:()=>CS,hasTrailingDirectorySeparator:()=>sm,hasType:()=>DA,hasTypeArguments:()=>gN,hasZeroOrOneAsteriskCharacter:()=>lM,helperString:()=>helperString,hostGetCanonicalFileName:()=>_3,hostUsesCaseSensitiveFileNames:()=>A2,idText:()=>Ot,identifierIsThisKeyword:()=>y3,identifierToKeywordKind:()=>KT,identity:()=>ht,identitySourceMapConsumer:()=>identitySourceMapConsumer,ignoreSourceNewlines:()=>ignoreSourceNewlines,ignoredPaths:()=>ignoredPaths,importDefaultHelper:()=>importDefaultHelper,importFromModuleSpecifier:()=>_N,importNameElisionDisabled:()=>KO,importStarHelper:()=>importStarHelper,indexOfAnyCharCode:()=>Rv,indexOfNode:()=>bD,indicesOf:()=>_g,inferredTypesContainingFile:()=>inferredTypesContainingFile,insertImports:()=>insertImports,insertLeadingStatement:()=>pR,insertSorted:()=>cl,insertStatementAfterCustomPrologue:()=>dD,insertStatementAfterStandardPrologue:()=>pD,insertStatementsAfterCustomPrologue:()=>uD,insertStatementsAfterStandardPrologue:()=>lD,intersperse:()=>JC,intrinsicTagNameToString:()=>pL,introducesArgumentsExoticObject:()=>pP,inverseJsxOptionMap:()=>inverseJsxOptionMap,isAbstractConstructorSymbol:()=>vO,isAbstractModifier:()=>VL,isAccessExpression:()=>Zo,isAccessibilityModifier:()=>isAccessibilityModifier,isAccessor:()=>xm,isAccessorModifier:()=>KL,isAliasSymbolDeclaration:()=>DN,isAliasableExpression:()=>x2,isAmbientModule:()=>km,isAmbientPropertyDeclaration:()=>OD,isAnonymousFunctionDefinition:()=>Xs,isAnyDirectorySeparator:()=>hg,isAnyImportOrBareOrAccessedRequire:()=>LD,isAnyImportOrReExport:()=>Dm,isAnyImportSyntax:()=>Yg,isAnySupportedFileExtension:()=>DM,isApplicableVersionedTypesKey:()=>isApplicableVersionedTypesKey,isArgumentExpressionOfElementAccess:()=>isArgumentExpressionOfElementAccess,isArray:()=>Wt,isArrayBindingElement:()=>Kk,isArrayBindingOrAssignmentElement:()=>Ix,isArrayBindingOrAssignmentPattern:()=>Nx,isArrayBindingPattern:()=>YL,isArrayLiteralExpression:()=>Ql,isArrayLiteralOrObjectLiteralDestructuringPattern:()=>isArrayLiteralOrObjectLiteralDestructuringPattern,isArrayTypeNode:()=>p8,isArrowFunction:()=>Gm,isAsExpression:()=>oJ,isAssertClause:()=>AJ,isAssertEntry:()=>DJ,isAssertionExpression:()=>iA,isAssertionKey:()=>Rk,isAssertsKeyword:()=>qL,isAssignmentDeclaration:()=>N0,isAssignmentExpression:()=>Sa,isAssignmentOperator:()=>w_,isAssignmentPattern:()=>Ax,isAssignmentTarget:()=>bN,isAsteriskToken:()=>RL,isAsyncFunction:()=>FN,isAsyncModifier:()=>Qc,isAutoAccessorPropertyDeclaration:()=>kx,isAwaitExpression:()=>nJ,isAwaitKeyword:()=>zL,isBigIntLiteral:()=>cb,isBinaryExpression:()=>St,isBinaryOperatorToken:()=>aF,isBindableObjectDefinePropertyCall:()=>m2,isBindableStaticAccessExpression:()=>S_,isBindableStaticElementAccessExpression:()=>y2,isBindableStaticNameExpression:()=>c_,isBindingElement:()=>$l,isBindingElementOfBareOrAccessedRequire:()=>HP,isBindingName:()=>Uk,isBindingOrAssignmentElement:()=>Gk,isBindingOrAssignmentPattern:()=>Xk,isBindingPattern:()=>Sm,isBlock:()=>Yl,isBlockOrCatchScoped:()=>ED,isBlockScope:()=>i4,isBlockScopedContainerTopLevel:()=>PD,isBooleanLiteral:()=>qk,isBreakOrContinueStatement:()=>kk,isBreakStatement:()=>gJ,isBuildInfoFile:()=>isBuildInfoFile,isBuilderProgram:()=>isBuilderProgram2,isBundle:()=>UJ,isBundleFileTextLike:()=>kO,isCallChain:()=>T0,isCallExpression:()=>O_,isCallExpressionTarget:()=>isCallExpressionTarget,isCallLikeExpression:()=>Yk,isCallOrNewExpression:()=>Zk,isCallOrNewExpressionTarget:()=>isCallOrNewExpressionTarget,isCallSignatureDeclaration:()=>pb,isCallToHelper:()=>isCallToHelper,isCaseBlock:()=>EJ,isCaseClause:()=>FJ,isCaseKeyword:()=>GL,isCaseOrDefaultClause:()=>AA,isCatchClause:()=>jJ,isCatchClauseVariableDeclaration:()=>TS,isCatchClauseVariableDeclarationOrBindingElement:()=>e4,isCheckJsEnabledForFile:()=>PM,isChildOfNodeWithKind:()=>iP,isCircularBuildOrder:()=>isCircularBuildOrder,isClassDeclaration:()=>u_,isClassElement:()=>Qa,isClassExpression:()=>$m,isClassLike:()=>Hr,isClassMemberModifier:()=>wx,isClassOrTypeElement:()=>Vk,isClassStaticBlockDeclaration:()=>Hl,isCollapsedRange:()=>$I,isColonToken:()=>FL,isCommaExpression:()=>r1,isCommaListExpression:()=>M_,isCommaSequence:()=>TR,isCommaToken:()=>i8,isComment:()=>isComment,isCommonJsExportPropertyAssignment:()=>s2,isCommonJsExportedExpression:()=>lP,isCompoundAssignment:()=>isCompoundAssignment,isComputedNonLiteralName:()=>BD,isComputedPropertyName:()=>Za,isConciseBody:()=>lA,isConditionalExpression:()=>rJ,isConditionalTypeNode:()=>g8,isConstTypeReference:()=>yx,isConstructSignatureDeclaration:()=>c8,isConstructorDeclaration:()=>P_,isConstructorTypeNode:()=>fb,isContextualKeyword:()=>S2,isContinueStatement:()=>hJ,isCustomPrologue:()=>Pm,isDebuggerStatement:()=>wJ,isDeclaration:()=>$o,isDeclarationBindingElement:()=>zg,isDeclarationFileName:()=>l7,isDeclarationName:()=>U4,isDeclarationNameOfEnumOrNamespace:()=>_O,isDeclarationReadonly:()=>ZD,isDeclarationStatement:()=>TA,isDeclarationWithTypeParameterChildren:()=>a4,isDeclarationWithTypeParameters:()=>MD,isDecorator:()=>zl,isDecoratorTarget:()=>isDecoratorTarget,isDefaultClause:()=>O8,isDefaultImport:()=>I4,isDefaultModifier:()=>UL,isDefaultedExpandoInitializer:()=>ZP,isDeleteExpression:()=>eJ,isDeleteTarget:()=>EN,isDeprecatedDeclaration:()=>isDeprecatedDeclaration,isDestructuringAssignment:()=>MI,isDiagnosticWithLocation:()=>isDiagnosticWithLocation,isDiskPathRoot:()=>S5,isDoStatement:()=>dJ,isDotDotDotToken:()=>JL,isDottedName:()=>F0,isDynamicName:()=>E2,isESSymbolIdentifier:()=>zN,isEffectiveExternalModule:()=>Qg,isEffectiveModuleDeclaration:()=>t4,isEffectiveStrictModeSourceFile:()=>ID,isElementAccessChain:()=>mx,isElementAccessExpression:()=>ka,isEmittedFileOfProgram:()=>isEmittedFileOfProgram,isEmptyArrayLiteral:()=>jI,isEmptyBindingElement:()=>VT,isEmptyBindingPattern:()=>WT,isEmptyObjectLiteral:()=>FI,isEmptyStatement:()=>uJ,isEmptyStringLiteral:()=>y4,isEntityName:()=>Bk,isEntityNameExpression:()=>no,isEnumConst:()=>YD,isEnumDeclaration:()=>Eb,isEnumMember:()=>L8,isEqualityOperatorKind:()=>isEqualityOperatorKind,isEqualsGreaterThanToken:()=>BL,isExclamationToken:()=>Kf,isExcludedFile:()=>isExcludedFile,isExclusivelyTypeOnlyImportOrExport:()=>isExclusivelyTypeOnlyImportOrExport,isExportAssignment:()=>ls,isExportDeclaration:()=>L_,isExportModifier:()=>a8,isExportName:()=>vR,isExportNamespaceAsDefaultDeclaration:()=>Zx,isExportOrDefaultModifier:()=>sF,isExportSpecifier:()=>I8,isExportsIdentifier:()=>E4,isExportsOrModuleExportsOrAlias:()=>isExportsOrModuleExportsOrAlias,isExpression:()=>wm,isExpressionNode:()=>u2,isExpressionOfExternalModuleImportEqualsDeclaration:()=>isExpressionOfExternalModuleImportEqualsDeclaration,isExpressionOfOptionalChainRoot:()=>wk,isExpressionStatement:()=>Zl,isExpressionWithTypeArguments:()=>Tb,isExpressionWithTypeArgumentsInClassExtendsClause:()=>R0,isExternalModule:()=>ts,isExternalModuleAugmentation:()=>$g,isExternalModuleImportEqualsDeclaration:()=>b4,isExternalModuleIndicator:()=>_A,isExternalModuleNameRelative:()=>K5,isExternalModuleReference:()=>Zm,isExternalModuleSymbol:()=>isExternalModuleSymbol,isExternalOrCommonJsModule:()=>QD,isFileLevelUniqueName:()=>Gx,isFileProbablyExternalModule:()=>sl,isFirstDeclarationOfSymbolParameter:()=>isFirstDeclarationOfSymbolParameter,isFixablePromiseHandler:()=>isFixablePromiseHandler,isForInOrOfStatement:()=>cA,isForInStatement:()=>mJ,isForInitializer:()=>pA,isForOfStatement:()=>yJ,isForStatement:()=>k8,isFunctionBlock:()=>p4,isFunctionBody:()=>uA,isFunctionDeclaration:()=>cs,isFunctionExpression:()=>Km,isFunctionExpressionOrArrowFunction:()=>YM,isFunctionLike:()=>Wi,isFunctionLikeDeclaration:()=>Ex,isFunctionLikeKind:()=>jg,isFunctionLikeOrClassStaticBlockDeclaration:()=>Tm,isFunctionOrConstructorTypeNode:()=>Hk,isFunctionOrModuleBlock:()=>zk,isFunctionSymbol:()=>oN,isFunctionTypeNode:()=>Gl,isFutureReservedKeyword:()=>IN,isGeneratedIdentifier:()=>ma,isGeneratedPrivateIdentifier:()=>Rg,isGetAccessor:()=>Hc,isGetAccessorDeclaration:()=>Kl,isGetOrSetAccessorDeclaration:()=>Sk,isGlobalDeclaration:()=>isGlobalDeclaration,isGlobalScopeAugmentation:()=>Am,isGrammarError:()=>cD,isHeritageClause:()=>Sl,isHoistedFunction:()=>A0,isHoistedVariableStatement:()=>D0,isIdentifier:()=>Ce,isIdentifierANonContextualKeyword:()=>LN,isIdentifierName:()=>AN,isIdentifierOrThisTypeNode:()=>RR,isIdentifierPart:()=>Wa,isIdentifierStart:()=>or,isIdentifierText:()=>Ag,isIdentifierTypePredicate:()=>yP,isIdentifierTypeReference:()=>qM,isIfStatement:()=>pJ,isIgnoredFileFromWildCardWatching:()=>isIgnoredFileFromWildCardWatching,isImplicitGlob:()=>iS,isImportCall:()=>i2,isImportClause:()=>CJ,isImportDeclaration:()=>Ab,isImportEqualsDeclaration:()=>kb,isImportKeyword:()=>s8,isImportMeta:()=>k0,isImportOrExportSpecifier:()=>Lk,isImportOrExportSpecifierName:()=>isImportOrExportSpecifierName,isImportSpecifier:()=>P8,isImportTypeAssertionContainer:()=>kJ,isImportTypeNode:()=>Xl,isImportableFile:()=>isImportableFile,isInComment:()=>isInComment,isInExpressionContext:()=>h4,isInJSDoc:()=>v4,isInJSFile:()=>Vt,isInJSXText:()=>isInJSXText,isInJsonFile:()=>zP,isInNonReferenceComment:()=>isInNonReferenceComment,isInReferenceComment:()=>isInReferenceComment,isInRightSideOfInternalImportEqualsDeclaration:()=>isInRightSideOfInternalImportEqualsDeclaration,isInString:()=>isInString,isInTemplateString:()=>isInTemplateString,isInTopLevelContext:()=>CP,isIncrementalCompilation:()=>nM,isIndexSignatureDeclaration:()=>db,isIndexedAccessTypeNode:()=>T8,isInferTypeNode:()=>b8,isInfinityOrNaNString:()=>$M,isInitializedProperty:()=>isInitializedProperty,isInitializedVariable:()=>U3,isInsideJsxElement:()=>isInsideJsxElement,isInsideJsxElementOrAttribute:()=>isInsideJsxElementOrAttribute,isInsideNodeModules:()=>isInsideNodeModules,isInsideTemplateLiteral:()=>isInsideTemplateLiteral,isInstantiatedModule:()=>isInstantiatedModule,isInterfaceDeclaration:()=>eu,isInternalDeclaration:()=>isInternalDeclaration,isInternalModuleImportEqualsDeclaration:()=>UP,isInternalName:()=>bR,isIntersectionTypeNode:()=>h8,isIntrinsicJsxName:()=>s3,isIterationStatement:()=>Jx,isJSDoc:()=>ps,isJSDocAllType:()=>HJ,isJSDocAugmentsTag:()=>t1,isJSDocAuthorTag:()=>YJ,isJSDocCallbackTag:()=>ZJ,isJSDocClassTag:()=>F8,isJSDocCommentContainingNode:()=>qx,isJSDocConstructSignature:()=>uN,isJSDocDeprecatedTag:()=>jb,isJSDocEnumTag:()=>B8,isJSDocFunctionType:()=>e1,isJSDocImplementsTag:()=>q8,isJSDocIndexSignature:()=>VP,isJSDocLikeText:()=>o7,isJSDocLink:()=>zJ,isJSDocLinkCode:()=>WJ,isJSDocLinkLike:()=>rl,isJSDocLinkPlain:()=>VJ,isJSDocMemberName:()=>Zs,isJSDocNameReference:()=>_f,isJSDocNamepathType:()=>QJ,isJSDocNamespaceBody:()=>mA,isJSDocNode:()=>Hg,isJSDocNonNullableType:()=>GJ,isJSDocNullableType:()=>R8,isJSDocOptionalParameter:()=>kS,isJSDocOptionalType:()=>XJ,isJSDocOverloadTag:()=>Fb,isJSDocOverrideTag:()=>j8,isJSDocParameterTag:()=>p_,isJSDocPrivateTag:()=>Lb,isJSDocPropertyLikeTag:()=>Mg,isJSDocPropertyTag:()=>rR,isJSDocProtectedTag:()=>Jb,isJSDocPublicTag:()=>Mb,isJSDocReadonlyTag:()=>Rb,isJSDocReturnTag:()=>Bb,isJSDocSatisfiesExpression:()=>sL,isJSDocSatisfiesTag:()=>Ub,isJSDocSeeTag:()=>eR,isJSDocSignature:()=>nu,isJSDocTag:()=>Kg,isJSDocTemplateTag:()=>es,isJSDocThisTag:()=>U8,isJSDocThrowsTag:()=>iR,isJSDocTypeAlias:()=>Rl,isJSDocTypeAssertion:()=>X8,isJSDocTypeExpression:()=>J8,isJSDocTypeLiteral:()=>Ob,isJSDocTypeTag:()=>ru,isJSDocTypedefTag:()=>tR,isJSDocUnknownTag:()=>nR,isJSDocUnknownType:()=>KJ,isJSDocVariadicType:()=>$J,isJSXTagName:()=>Yd,isJsonEqual:()=>Y2,isJsonSourceFile:()=>r2,isJsxAttribute:()=>LJ,isJsxAttributeLike:()=>CA,isJsxAttributeName:()=>uL,isJsxAttributes:()=>Ib,isJsxChild:()=>Bx,isJsxClosingElement:()=>sf,isJsxClosingFragment:()=>MJ,isJsxElement:()=>Z0,isJsxExpression:()=>RJ,isJsxFragment:()=>ol,isJsxNamespacedName:()=>J_,isJsxOpeningElement:()=>Ro,isJsxOpeningFragment:()=>Nb,isJsxOpeningLikeElement:()=>Ux,isJsxOpeningLikeElementTagName:()=>isJsxOpeningLikeElementTagName,isJsxSelfClosingElement:()=>OJ,isJsxSpreadAttribute:()=>JJ,isJsxTagNameExpression:()=>EA,isJsxText:()=>Hf,isJumpStatementTarget:()=>isJumpStatementTarget,isKeyword:()=>bi,isKeywordOrPunctuation:()=>ef,isKnownSymbol:()=>UN,isLabelName:()=>isLabelName,isLabelOfLabeledStatement:()=>isLabelOfLabeledStatement,isLabeledStatement:()=>A8,isLateVisibilityPaintedStatement:()=>JD,isLeftHandSideExpression:()=>jo,isLeftHandSideOfAssignment:()=>OI,isLet:()=>eP,isLineBreak:()=>mn,isLiteralComputedPropertyDeclarationName:()=>q4,isLiteralExpression:()=>Jg,isLiteralExpressionOfObject:()=>Ik,isLiteralImportTypeNode:()=>c4,isLiteralKind:()=>Lg,isLiteralLikeAccess:()=>Zd,isLiteralLikeElementAccess:()=>Jl,isLiteralNameOfPropertyDeclarationOrIndexAccess:()=>isLiteralNameOfPropertyDeclarationOrIndexAccess,isLiteralTypeLikeExpression:()=>UR,isLiteralTypeLiteral:()=>nA,isLiteralTypeNode:()=>gb,isLocalName:()=>eg,isLogicalOperator:()=>PI,isLogicalOrCoalescingAssignmentExpression:()=>NI,isLogicalOrCoalescingAssignmentOperator:()=>jm,isLogicalOrCoalescingBinaryExpression:()=>II,isLogicalOrCoalescingBinaryOperator:()=>P3,isMappedTypeNode:()=>x8,isMemberName:()=>$a,isMetaProperty:()=>xb,isMethodDeclaration:()=>Vl,isMethodOrAccessor:()=>Bg,isMethodSignature:()=>_8,isMinusToken:()=>ub,isMissingDeclaration:()=>NJ,isModifier:()=>Fg,isModifierKind:()=>yi,isModifierLike:()=>Qd,isModuleAugmentationExternal:()=>n4,isModuleBlock:()=>D8,isModuleBody:()=>dA,isModuleDeclaration:()=>Gi,isModuleExportsAccessExpression:()=>f2,isModuleIdentifier:()=>C4,isModuleName:()=>BR,isModuleOrEnumDeclaration:()=>hA,isModuleReference:()=>wA,isModuleSpecifierLike:()=>isModuleSpecifierLike,isModuleWithStringLiteralName:()=>CD,isNameOfFunctionDeclaration:()=>isNameOfFunctionDeclaration,isNameOfModuleDeclaration:()=>isNameOfModuleDeclaration,isNamedClassElement:()=>Wk,isNamedDeclaration:()=>mm,isNamedEvaluation:()=>WN,isNamedEvaluationSource:()=>t3,isNamedExportBindings:()=>Ak,isNamedExports:()=>N8,isNamedImportBindings:()=>yA,isNamedImports:()=>PJ,isNamedImportsOrExports:()=>AO,isNamedTupleMember:()=>mb,isNamespaceBody:()=>fA,isNamespaceExport:()=>Ym,isNamespaceExportDeclaration:()=>Cb,isNamespaceImport:()=>Db,isNamespaceReexportDeclaration:()=>FP,isNewExpression:()=>S8,isNewExpressionTarget:()=>isNewExpressionTarget,isNightly:()=>aI,isNoSubstitutionTemplateLiteral:()=>r8,isNode:()=>Pk,isNodeArray:()=>ua,isNodeArrayMultiLine:()=>iO,isNodeDescendantOf:()=>CN,isNodeKind:()=>Ol,isNodeLikeSystem:()=>u5,isNodeModulesDirectory:()=>J5,isNodeWithPossibleHoistedDeclaration:()=>vN,isNonContextualKeyword:()=>Q4,isNonExportDefaultModifier:()=>_F,isNonGlobalAmbientModule:()=>kD,isNonGlobalDeclaration:()=>isNonGlobalDeclaration,isNonNullAccess:()=>oL,isNonNullChain:()=>hx,isNonNullExpression:()=>qo,isNonStaticMethodOrAccessorWithPrivateName:()=>isNonStaticMethodOrAccessorWithPrivateName,isNotEmittedOrPartiallyEmittedNode:()=>aA,isNotEmittedStatement:()=>Pb,isNullishCoalesce:()=>Ck,isNumber:()=>M9,isNumericLiteral:()=>ro,isNumericLiteralName:()=>xS,isObjectBindingElementWithoutPropertyName:()=>isObjectBindingElementWithoutPropertyName,isObjectBindingOrAssignmentElement:()=>Px,isObjectBindingOrAssignmentPattern:()=>Dx,isObjectBindingPattern:()=>QL,isObjectLiteralElement:()=>S0,isObjectLiteralElementLike:()=>qg,isObjectLiteralExpression:()=>ao,isObjectLiteralMethod:()=>fP,isObjectLiteralOrClassExpressionMethodOrAccessor:()=>mP,isObjectTypeDeclaration:()=>EO,isOctalDigit:()=>Xd,isOmittedExpression:()=>Qm,isOptionalChain:()=>Ig,isOptionalChainRoot:()=>Og,isOptionalDeclaration:()=>aL,isOptionalJSDocPropertyLikeTag:()=>ES,isOptionalTypeNode:()=>f8,isOuterExpression:()=>i1,isOutermostOptionalChain:()=>Ek,isOverrideModifier:()=>HL,isPackedArrayLiteral:()=>HM,isParameter:()=>io,isParameterDeclaration:()=>HN,isParameterOrCatchClauseVariable:()=>QM,isParameterPropertyDeclaration:()=>zT,isParameterPropertyModifier:()=>Sx,isParenthesizedExpression:()=>ss,isParenthesizedTypeNode:()=>yb,isParseTreeNode:()=>dl,isPartOfTypeNode:()=>a2,isPartOfTypeQuery:()=>g4,isPartiallyEmittedExpression:()=>C8,isPatternMatch:()=>dg,isPinnedComment:()=>Yx,isPlainJsFile:()=>aD,isPlusToken:()=>lb,isPossiblyTypeArgumentPosition:()=>isPossiblyTypeArgumentPosition,isPostfixUnaryExpression:()=>E8,isPrefixUnaryExpression:()=>Xm,isPrivateIdentifier:()=>Ln,isPrivateIdentifierClassElementDeclaration:()=>xx,isPrivateIdentifierPropertyAccessExpression:()=>jk,isPrivateIdentifierSymbol:()=>qN,isProgramBundleEmitBuildInfo:()=>isProgramBundleEmitBuildInfo,isProgramUptoDate:()=>isProgramUptoDate,isPrologueDirective:()=>ha,isPropertyAccessChain:()=>fx,isPropertyAccessEntityNameExpression:()=>O3,isPropertyAccessExpression:()=>Rn,isPropertyAccessOrQualifiedName:()=>Qk,isPropertyAccessOrQualifiedNameOrImportTypeNode:()=>$k,isPropertyAssignment:()=>us,isPropertyDeclaration:()=>os,isPropertyName:()=>Ml,isPropertyNameLiteral:()=>O0,isPropertySignature:()=>Wl,isProtoSetter:()=>e3,isPrototypeAccess:()=>Bl,isPrototypePropertyAssignment:()=>rN,isPunctuation:()=>$4,isPushOrUnshiftIdentifier:()=>VN,isQualifiedName:()=>D_,isQuestionDotToken:()=>jL,isQuestionOrExclamationToken:()=>JR,isQuestionOrPlusOrMinusToken:()=>jR,isQuestionToken:()=>xl,isRawSourceMap:()=>isRawSourceMap,isReadonlyKeyword:()=>o8,isReadonlyKeywordOrPlusOrMinusToken:()=>FR,isRecognizedTripleSlashComment:()=>fD,isReferenceFileLocation:()=>isReferenceFileLocation,isReferencedFile:()=>isReferencedFile,isRegularExpressionLiteral:()=>IL,isRequireCall:()=>Ll,isRequireVariableStatement:()=>S4,isRestParameter:()=>Wx,isRestTypeNode:()=>m8,isReturnStatement:()=>bJ,isReturnStatementWithFixablePromiseHandler:()=>isReturnStatementWithFixablePromiseHandler,isRightSideOfAccessExpression:()=>M3,isRightSideOfPropertyAccess:()=>isRightSideOfPropertyAccess,isRightSideOfQualifiedName:()=>isRightSideOfQualifiedName,isRightSideOfQualifiedNameOrPropertyAccess:()=>JI,isRightSideOfQualifiedNameOrPropertyAccessOrJSDocMemberName:()=>RI,isRootedDiskPath:()=>y_,isSameEntityName:()=>__,isSatisfiesExpression:()=>sJ,isScopeMarker:()=>Rx,isSemicolonClassElement:()=>lJ,isSetAccessor:()=>Vc,isSetAccessorDeclaration:()=>N_,isShebangTrivia:()=>Cg,isShorthandAmbientModuleSymbol:()=>AD,isShorthandPropertyAssignment:()=>tu,isSignedNumericLiteral:()=>w2,isSimpleCopiableExpression:()=>isSimpleCopiableExpression,isSimpleInlineableExpression:()=>isSimpleInlineableExpression,isSingleOrDoubleQuote:()=>KP,isSourceFile:()=>$r,isSourceFileFromLibrary:()=>isSourceFileFromLibrary,isSourceFileJS:()=>p2,isSourceFileNotJS:()=>qP,isSourceFileNotJson:()=>WP,isSourceMapping:()=>isSourceMapping,isSpecialPropertyDeclaration:()=>iN,isSpreadAssignment:()=>M8,isSpreadElement:()=>vb,isStatement:()=>Fx,isStatementButNotDeclaration:()=>xA,isStatementOrBlock:()=>jx,isStatementWithLocals:()=>oD,isStatic:()=>L0,isStaticModifier:()=>WL,isString:()=>m_,isStringAKeyword:()=>MN,isStringANonContextualKeyword:()=>ON,isStringAndEmptyAnonymousObjectIntersection:()=>isStringAndEmptyAnonymousObjectIntersection,isStringDoubleQuoted:()=>GP,isStringLiteral:()=>cr,isStringLiteralLike:()=>qr,isStringLiteralOrJsxExpression:()=>kA,isStringLiteralOrTemplate:()=>isStringLiteralOrTemplate,isStringOrNumericLiteralLike:()=>Ki,isStringOrRegularExpressionOrTemplateLiteral:()=>isStringOrRegularExpressionOrTemplateLiteral,isStringTextContainingNode:()=>Fk,isSuperCall:()=>tP,isSuperKeyword:()=>of,isSuperOrSuperProperty:()=>PP,isSuperProperty:()=>Lf,isSupportedSourceFileName:()=>wM,isSwitchStatement:()=>TJ,isSyntaxList:()=>aR,isSyntheticExpression:()=>_J,isSyntheticReference:()=>IJ,isTagName:()=>isTagName,isTaggedTemplateExpression:()=>w8,isTaggedTemplateTag:()=>isTaggedTemplateTag,isTemplateExpression:()=>iJ,isTemplateHead:()=>OL,isTemplateLiteral:()=>eA,isTemplateLiteralKind:()=>fl,isTemplateLiteralToken:()=>Ok,isTemplateLiteralTypeNode:()=>$L,isTemplateLiteralTypeSpan:()=>XL,isTemplateMiddle:()=>ML,isTemplateMiddleOrTemplateTail:()=>Mk,isTemplateSpan:()=>cJ,isTemplateTail:()=>LL,isTextWhiteSpaceLike:()=>isTextWhiteSpaceLike,isThis:()=>isThis,isThisContainerOrFunctionBlock:()=>EP,isThisIdentifier:()=>Jm,isThisInTypeQuery:()=>gI,isThisInitializedDeclaration:()=>IP,isThisInitializedObjectBindingExpression:()=>OP,isThisProperty:()=>NP,isThisTypeNode:()=>hb,isThisTypeParameter:()=>SS,isThisTypePredicate:()=>hP,isThrowStatement:()=>xJ,isToken:()=>Nk,isTokenKind:()=>bx,isTraceEnabled:()=>isTraceEnabled,isTransientSymbol:()=>E0,isTrivia:()=>JN,isTryStatement:()=>SJ,isTupleTypeNode:()=>d8,isTypeAlias:()=>pN,isTypeAliasDeclaration:()=>wb,isTypeAssertionExpression:()=>ZL,isTypeDeclaration:()=>wS,isTypeElement:()=>Ug,isTypeKeyword:()=>isTypeKeyword,isTypeKeywordToken:()=>isTypeKeywordToken,isTypeKeywordTokenOrIdentifier:()=>isTypeKeywordTokenOrIdentifier,isTypeLiteralNode:()=>Hm,isTypeNode:()=>x0,isTypeNodeKind:()=>K3,isTypeOfExpression:()=>tJ,isTypeOnlyExportDeclaration:()=>Tx,isTypeOnlyImportDeclaration:()=>vx,isTypeOnlyImportOrExportDeclaration:()=>Jk,isTypeOperatorNode:()=>v8,isTypeParameterDeclaration:()=>Jo,isTypePredicateNode:()=>l8,isTypeQueryNode:()=>u8,isTypeReferenceNode:()=>I_,isTypeReferenceType:()=>NA,isUMDExportSymbol:()=>xO,isUnaryExpression:()=>Mx,isUnaryExpressionWithWrite:()=>tA,isUnicodeIdentifierStart:()=>TT,isUnionTypeNode:()=>y8,isUnparsedNode:()=>Dk,isUnparsedPrepend:()=>BJ,isUnparsedSource:()=>qJ,isUnparsedTextLike:()=>gx,isUrl:()=>x5,isValidBigIntString:()=>hS,isValidESSymbolDeclaration:()=>uP,isValidTypeOnlyAliasUseSite:()=>FM,isValueSignatureDeclaration:()=>TN,isVarConst:()=>_4,isVariableDeclaration:()=>Ei,isVariableDeclarationInVariableStatement:()=>u4,isVariableDeclarationInitializedToBareOrAccessedRequire:()=>Nm,isVariableDeclarationInitializedToRequire:()=>T4,isVariableDeclarationList:()=>Sb,isVariableLike:()=>o2,isVariableLikeOrAccessor:()=>cP,isVariableStatement:()=>_s,isVoidExpression:()=>bb,isWatchSet:()=>lO,isWhileStatement:()=>fJ,isWhiteSpaceLike:()=>qi,isWhiteSpaceSingleLine:()=>Lo,isWithStatement:()=>vJ,isWriteAccess:()=>yO,isWriteOnlyAccess:()=>mO,isYieldExpression:()=>aJ,jsxModeNeedsExplicitImport:()=>jsxModeNeedsExplicitImport,keywordPart:()=>keywordPart,last:()=>ba,lastOrUndefined:()=>Ti,length:()=>Ha,libMap:()=>libMap,libs:()=>libs,lineBreakPart:()=>lineBreakPart,linkNamePart:()=>linkNamePart,linkPart:()=>linkPart,linkTextPart:()=>linkTextPart,listFiles:()=>listFiles,loadModuleFromGlobalCache:()=>loadModuleFromGlobalCache,loadWithModeAwareCache:()=>loadWithModeAwareCache,makeIdentifierFromModuleName:()=>wD,makeImport:()=>makeImport,makeImportIfNecessary:()=>makeImportIfNecessary,makeStringLiteral:()=>makeStringLiteral,mangleScopedPackageName:()=>mangleScopedPackageName,map:()=>ga,mapAllOrFail:()=>VC,mapDefined:()=>Ka,mapDefinedEntries:()=>KC,mapDefinedIterator:()=>HC,mapEntries:()=>YC,mapIterator:()=>qC,mapOneOrMany:()=>mapOneOrMany,mapToDisplayParts:()=>mapToDisplayParts,matchFiles:()=>gM,matchPatternOrExact:()=>NM,matchedText:()=>e5,matchesExclude:()=>matchesExclude,maybeBind:()=>rn,maybeSetLocalizedDiagnosticMessages:()=>$3,memoize:()=>ah,memoizeCached:()=>F9,memoizeOne:()=>Cr,memoizeWeak:()=>R9,metadataHelper:()=>metadataHelper,min:()=>U9,minAndMax:()=>OM,missingFileModifiedTime:()=>missingFileModifiedTime,modifierToFlag:()=>j2,modifiersToFlags:()=>ar,moduleOptionDeclaration:()=>moduleOptionDeclaration,moduleResolutionIsEqualTo:()=>QA,moduleResolutionNameAndModeGetter:()=>moduleResolutionNameAndModeGetter,moduleResolutionOptionDeclarations:()=>moduleResolutionOptionDeclarations,moduleResolutionSupportsPackageJsonExportsAndImports:()=>V2,moduleResolutionUsesNodeModules:()=>moduleResolutionUsesNodeModules,moduleSpecifiers:()=>ts_moduleSpecifiers_exports,moveEmitHelpers:()=>moveEmitHelpers,moveRangeEnd:()=>GI,moveRangePastDecorators:()=>j3,moveRangePastModifiers:()=>XI,moveRangePos:()=>Bf,moveSyntheticComments:()=>moveSyntheticComments,mutateMap:()=>bO,mutateMapSkippingNewValues:()=>W3,needsParentheses:()=>needsParentheses,needsScopeMarker:()=>sA,newCaseClauseTracker:()=>newCaseClauseTracker,newPrivateEnvironment:()=>newPrivateEnvironment,noEmitNotification:()=>noEmitNotification,noEmitSubstitution:()=>noEmitSubstitution,noTransformers:()=>noTransformers,noTruncationMaximumTruncationLength:()=>NS,nodeCanBeDecorated:()=>m4,nodeHasName:()=>XT,nodeIsDecorated:()=>s_,nodeIsMissing:()=>Bi,nodeIsPresent:()=>yl,nodeIsSynthesized:()=>pa,nodeModuleNameResolver:()=>nodeModuleNameResolver,nodeModulesPathPart:()=>nodeModulesPathPart,nodeNextJsonConfigResolver:()=>nodeNextJsonConfigResolver,nodeOrChildIsDecorated:()=>P0,nodeOverlapsWithStartEnd:()=>nodeOverlapsWithStartEnd,nodePosToString:()=>_D,nodeSeenTracker:()=>nodeSeenTracker,nodeStartsNewLexicalEnvironment:()=>KN,nodeToDisplayParts:()=>nodeToDisplayParts,noop:()=>Pr,noopFileWatcher:()=>noopFileWatcher,normalizePath:()=>sr,normalizeSlashes:()=>Ho,not:()=>r5,notImplemented:()=>J9,notImplementedResolver:()=>notImplementedResolver,nullNodeConverters:()=>nullNodeConverters,nullParenthesizerRules:()=>sb,nullTransformationContext:()=>nullTransformationContext,objectAllocator:()=>xt,operatorPart:()=>operatorPart,optionDeclarations:()=>optionDeclarations,optionMapToObject:()=>optionMapToObject,optionsAffectingProgramStructure:()=>optionsAffectingProgramStructure,optionsForBuild:()=>optionsForBuild,optionsForWatch:()=>optionsForWatch,optionsHaveChanges:()=>T_,optionsHaveModuleResolutionChanges:()=>Vx,or:()=>fg,orderedRemoveItem:()=>Q9,orderedRemoveItemAt:()=>eT,outFile:()=>P2,packageIdToPackageName:()=>Hx,packageIdToString:()=>eD,padLeft:()=>aT,padRight:()=>s5,paramHelper:()=>paramHelper,parameterIsThisKeyword:()=>jl,parameterNamePart:()=>parameterNamePart,parseBaseNodeFactory:()=>ig,parseBigInt:()=>RM,parseBuildCommand:()=>parseBuildCommand,parseCommandLine:()=>parseCommandLine,parseCommandLineWorker:()=>parseCommandLineWorker,parseConfigFileTextToJson:()=>parseConfigFileTextToJson,parseConfigFileWithSystem:()=>parseConfigFileWithSystem,parseConfigHostFromCompilerHostLike:()=>parseConfigHostFromCompilerHostLike,parseCustomTypeOption:()=>parseCustomTypeOption,parseIsolatedEntityName:()=>CF,parseIsolatedJSDocComment:()=>AF,parseJSDocTypeExpressionForTests:()=>DF,parseJsonConfigFileContent:()=>parseJsonConfigFileContent,parseJsonSourceFileConfigFileContent:()=>parseJsonSourceFileConfigFileContent,parseJsonText:()=>kF,parseListTypeOption:()=>parseListTypeOption,parseNodeFactory:()=>F_,parseNodeModuleFromPath:()=>parseNodeModuleFromPath,parsePackageName:()=>parsePackageName,parsePseudoBigInt:()=>qm,parseValidBigInt:()=>yS,patchWriteFileEnsuringDirectory:()=>patchWriteFileEnsuringDirectory,pathContainsNodeModules:()=>pathContainsNodeModules,pathIsAbsolute:()=>gg,pathIsBareSpecifier:()=>w5,pathIsRelative:()=>is,patternText:()=>Z9,perfLogger:()=>yf,performIncrementalCompilation:()=>performIncrementalCompilation,performance:()=>ts_performance_exports,plainJSErrors:()=>plainJSErrors,positionBelongsToNode:()=>positionBelongsToNode,positionIsASICandidate:()=>positionIsASICandidate,positionIsSynthesized:()=>wa,positionsAreOnSameLine:()=>E_,preProcessFile:()=>preProcessFile,probablyUsesSemicolons:()=>probablyUsesSemicolons,processCommentPragmas:()=>u7,processPragmasIntoFields:()=>p7,processTaggedTemplateExpression:()=>processTaggedTemplateExpression,programContainsEsModules:()=>programContainsEsModules,programContainsModules:()=>programContainsModules,projectReferenceIsEqualTo:()=>$A,propKeyHelper:()=>propKeyHelper,propertyNamePart:()=>propertyNamePart,pseudoBigIntToString:()=>Z2,punctuationPart:()=>punctuationPart,pushIfUnique:()=>wl,quote:()=>quote,quotePreferenceFromString:()=>quotePreferenceFromString,rangeContainsPosition:()=>rangeContainsPosition,rangeContainsPositionExclusive:()=>rangeContainsPositionExclusive,rangeContainsRange:()=>rangeContainsRange,rangeContainsRangeExclusive:()=>rangeContainsRangeExclusive,rangeContainsStartEnd:()=>rangeContainsStartEnd,rangeEndIsOnSameLineAsRangeStart:()=>tO,rangeEndPositionsAreOnSameLine:()=>eO,rangeEquals:()=>p9,rangeIsOnSingleLine:()=>YI,rangeOfNode:()=>MM,rangeOfTypeParameters:()=>LM,rangeOverlapsWithStartEnd:()=>rangeOverlapsWithStartEnd,rangeStartIsOnSameLineAsRangeEnd:()=>B3,rangeStartPositionsAreOnSameLine:()=>ZI,readBuilderProgram:()=>readBuilderProgram,readConfigFile:()=>readConfigFile,readHelper:()=>readHelper,readJson:()=>KI,readJsonConfigFile:()=>readJsonConfigFile,readJsonOrUndefined:()=>J3,realizeDiagnostics:()=>realizeDiagnostics,reduceEachLeadingCommentRange:()=>xT,reduceEachTrailingCommentRange:()=>ST,reduceLeft:()=>em,reduceLeftIterator:()=>LC,reducePathComponents:()=>va,refactor:()=>ts_refactor_exports,regExpEscape:()=>mM,relativeComplement:()=>c9,removeAllComments:()=>removeAllComments,removeEmitHelper:()=>removeEmitHelper,removeExtension:()=>dS,removeFileExtension:()=>bl,removeIgnoredPath:()=>removeIgnoredPath,removeMinAndVersionNumbers:()=>$9,removeOptionality:()=>removeOptionality,removePrefix:()=>t5,removeSuffix:()=>G9,removeTrailingDirectorySeparator:()=>g_,repeatString:()=>repeatString,replaceElement:()=>h9,resolutionExtensionIsTSOrJson:()=>AM,resolveConfigFileProjectName:()=>resolveConfigFileProjectName,resolveJSModule:()=>resolveJSModule,resolveLibrary:()=>resolveLibrary,resolveModuleName:()=>resolveModuleName,resolveModuleNameFromCache:()=>resolveModuleNameFromCache,resolvePackageNameToPackageJson:()=>resolvePackageNameToPackageJson,resolvePath:()=>g0,resolveProjectReferencePath:()=>resolveProjectReferencePath,resolveTripleslashReference:()=>resolveTripleslashReference,resolveTypeReferenceDirective:()=>resolveTypeReferenceDirective,resolvingEmptyArray:()=>DS,restHelper:()=>restHelper,returnFalse:()=>df,returnNoopFileWatcher:()=>returnNoopFileWatcher,returnTrue:()=>Gv,returnUndefined:()=>L9,returnsPromise:()=>returnsPromise,runInitializersHelper:()=>runInitializersHelper,sameFlatMap:()=>jv,sameMap:()=>zC,sameMapping:()=>sameMapping,scanShebangTrivia:()=>kg,scanTokenAtPosition:()=>XD,scanner:()=>zo,screenStartingMessageCodes:()=>screenStartingMessageCodes,semanticDiagnosticsOptionDeclarations:()=>semanticDiagnosticsOptionDeclarations,serializeCompilerOptions:()=>serializeCompilerOptions,server:()=>ts_server_exports,servicesVersion:()=>N7,setCommentRange:()=>setCommentRange,setConfigFileInOptions:()=>setConfigFileInOptions,setConstantValue:()=>setConstantValue,setEachParent:()=>n_,setEmitFlags:()=>setEmitFlags,setFunctionNameHelper:()=>setFunctionNameHelper,setGetSourceFileAsHashVersioned:()=>setGetSourceFileAsHashVersioned,setIdentifierAutoGenerate:()=>setIdentifierAutoGenerate,setIdentifierGeneratedImportReference:()=>setIdentifierGeneratedImportReference,setIdentifierTypeArguments:()=>setIdentifierTypeArguments,setInternalEmitFlags:()=>setInternalEmitFlags,setLocalizedDiagnosticMessages:()=>X3,setModuleDefaultHelper:()=>setModuleDefaultHelper,setNodeFlags:()=>WM,setObjectAllocator:()=>G3,setOriginalNode:()=>Kn,setParent:()=>Vi,setParentRecursive:()=>bS,setPrivateIdentifier:()=>setPrivateIdentifier,setResolvedModule:()=>KA,setResolvedTypeReferenceDirective:()=>GA,setSnippetElement:()=>setSnippetElement,setSourceMapRange:()=>setSourceMapRange,setStackTraceLimit:()=>setStackTraceLimit,setStartsOnNewLine:()=>setStartsOnNewLine,setSyntheticLeadingComments:()=>setSyntheticLeadingComments,setSyntheticTrailingComments:()=>setSyntheticTrailingComments,setSys:()=>setSys,setSysLog:()=>setSysLog,setTextRange:()=>He,setTextRangeEnd:()=>gS,setTextRangePos:()=>qf,setTextRangePosEnd:()=>Va,setTextRangePosWidth:()=>zf,setTokenSourceMapRange:()=>setTokenSourceMapRange,setTypeNode:()=>setTypeNode,setUILocale:()=>Yv,setValueDeclaration:()=>aN,shouldAllowImportingTsExtension:()=>shouldAllowImportingTsExtension,shouldPreserveConstEnums:()=>tM,shouldResolveJsRequire:()=>YO,shouldUseUriStyleNodeCoreModules:()=>shouldUseUriStyleNodeCoreModules,showModuleSpecifier:()=>SO,signatureHasLiteralTypes:()=>signatureHasLiteralTypes,signatureHasRestParameter:()=>signatureHasRestParameter,signatureToDisplayParts:()=>signatureToDisplayParts,single:()=>m9,singleElementArray:()=>ff,singleIterator:()=>$C,singleOrMany:()=>y9,singleOrUndefined:()=>Zf,skipAlias:()=>dO,skipAssertions:()=>wR,skipConstraint:()=>skipConstraint,skipOuterExpressions:()=>ds,skipParentheses:()=>Fl,skipPartiallyEmittedExpressions:()=>vm,skipTrivia:()=>It,skipTypeChecking:()=>JM,skipTypeParentheses:()=>wN,skipWhile:()=>c5,sliceAfter:()=>IM,some:()=>ft,sort:()=>pf,sortAndDeduplicate:()=>Uv,sortAndDeduplicateDiagnostics:()=>G5,sourceFileAffectingCompilerOptions:()=>sourceFileAffectingCompilerOptions,sourceFileMayBeEmitted:()=>M0,sourceMapCommentRegExp:()=>sourceMapCommentRegExp,sourceMapCommentRegExpDontCareLineStart:()=>sourceMapCommentRegExpDontCareLineStart,spacePart:()=>spacePart,spanMap:()=>QC,spreadArrayHelper:()=>spreadArrayHelper,stableSort:()=>Wv,startEndContainsRange:()=>startEndContainsRange,startEndOverlapsWithStartEnd:()=>startEndOverlapsWithStartEnd,startOnNewLine:()=>a1,startTracing:()=>startTracing,startsWith:()=>Jn,startsWithDirectory:()=>O5,startsWithUnderscore:()=>startsWithUnderscore,startsWithUseStrict:()=>G8,stringContains:()=>Ga,stringContainsAt:()=>stringContainsAt,stringToToken:()=>Al,stripQuotes:()=>rI,supportedDeclarationExtensions:()=>ob,supportedJSExtensions:()=>X0,supportedJSExtensionsFlat:()=>ab,supportedLocaleDirectories:()=>Xg,supportedTSExtensions:()=>Uo,supportedTSExtensionsFlat:()=>ib,supportedTSImplementationExtensions:()=>$S,suppressLeadingAndTrailingTrivia:()=>suppressLeadingAndTrailingTrivia,suppressLeadingTrivia:()=>suppressLeadingTrivia,suppressTrailingTrivia:()=>suppressTrailingTrivia,symbolEscapedNameNoDefault:()=>symbolEscapedNameNoDefault,symbolName:()=>Of,symbolNameNoDefault:()=>symbolNameNoDefault,symbolPart:()=>symbolPart,symbolToDisplayParts:()=>symbolToDisplayParts,syntaxMayBeASICandidate:()=>syntaxMayBeASICandidate,syntaxRequiresTrailingSemicolonOrASI:()=>syntaxRequiresTrailingSemicolonOrASI,sys:()=>h0,sysLog:()=>sysLog,tagNamesAreEquivalent:()=>gi,takeWhile:()=>_5,targetOptionDeclaration:()=>targetOptionDeclaration,templateObjectHelper:()=>templateObjectHelper,testFormatSettings:()=>testFormatSettings,textChangeRangeIsUnchanged:()=>qT,textChangeRangeNewSpan:()=>Ks,textChanges:()=>ts_textChanges_exports,textOrKeywordPart:()=>textOrKeywordPart,textPart:()=>textPart,textRangeContainsPositionInclusive:()=>$5,textSpanContainsPosition:()=>X5,textSpanContainsTextSpan:()=>Q5,textSpanEnd:()=>tn,textSpanIntersection:()=>UT,textSpanIntersectsWith:()=>ek,textSpanIntersectsWithPosition:()=>tk,textSpanIntersectsWithTextSpan:()=>Z5,textSpanIsEmpty:()=>jT,textSpanOverlap:()=>BT,textSpanOverlapsWith:()=>Y5,textSpansEqual:()=>textSpansEqual,textToKeywordObj:()=>tl,timestamp:()=>da,toArray:()=>Gd,toBuilderFileEmit:()=>toBuilderFileEmit,toBuilderStateFileInfoForMultiEmit:()=>toBuilderStateFileInfoForMultiEmit,toEditorSettings:()=>Zc,toFileNameLowerCase:()=>$v,toLowerCase:()=>Xv,toPath:()=>vi,toProgramEmitPending:()=>toProgramEmitPending,tokenIsIdentifierOrKeyword:()=>At,tokenIsIdentifierOrKeywordOrGreaterThan:()=>vT,tokenToString:()=>an,trace:()=>trace,tracing:()=>fa,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:()=>am,trimStringEnd:()=>e_,trimStringStart:()=>ll,tryAddToSet:()=>XC,tryAndIgnoreErrors:()=>tryAndIgnoreErrors,tryCast:()=>kr,tryDirectoryExists:()=>tryDirectoryExists,tryExtractTSExtension:()=>qI,tryFileExists:()=>tryFileExists,tryGetClassExtendingExpressionWithTypeArguments:()=>N3,tryGetClassImplementingOrExtendingExpressionWithTypeArguments:()=>I3,tryGetDirectories:()=>tryGetDirectories,tryGetExtensionFromPath:()=>Q2,tryGetImportFromModuleSpecifier:()=>P4,tryGetJSDocSatisfiesTypeNode:()=>AS,tryGetModuleNameFromFile:()=>Y8,tryGetModuleSpecifierFromDeclaration:()=>sN,tryGetNativePerformanceHooks:()=>m5,tryGetPropertyAccessOrIdentifierToString:()=>j0,tryGetPropertyNameOfBindingOrAssignmentElement:()=>e7,tryGetSourceMappingURL:()=>tryGetSourceMappingURL,tryGetTextOfPropertyName:()=>Zg,tryIOAndConsumeErrors:()=>tryIOAndConsumeErrors,tryParsePattern:()=>fS,tryParsePatterns:()=>kM,tryParseRawSourceMap:()=>tryParseRawSourceMap,tryReadDirectory:()=>tryReadDirectory,tryReadFile:()=>tryReadFile,tryRemoveDirectoryPrefix:()=>fM,tryRemoveExtension:()=>pS,tryRemovePrefix:()=>rT,tryRemoveSuffix:()=>X9,typeAcquisitionDeclarations:()=>typeAcquisitionDeclarations,typeAliasNamePart:()=>typeAliasNamePart,typeDirectiveIsEqualTo:()=>tD,typeKeywords:()=>typeKeywords,typeParameterNamePart:()=>typeParameterNamePart,typeReferenceResolutionNameAndModeGetter:()=>typeReferenceResolutionNameAndModeGetter,typeToDisplayParts:()=>typeToDisplayParts,unchangedPollThresholds:()=>unchangedPollThresholds,unchangedTextChangeRange:()=>Gg,unescapeLeadingUnderscores:()=>Xo,unmangleScopedPackageName:()=>unmangleScopedPackageName,unorderedRemoveItem:()=>tT,unorderedRemoveItemAt:()=>pg,unreachableCodeIsError:()=>GO,unusedLabelIsError:()=>XO,unwrapInnermostStatementOfLabel:()=>dP,updateErrorForNoInputFiles:()=>updateErrorForNoInputFiles,updateLanguageServiceSourceFile:()=>A7,updateMissingFilePathsWatch:()=>updateMissingFilePathsWatch,updatePackageJsonWatch:()=>updatePackageJsonWatch,updateResolutionField:()=>updateResolutionField,updateSharedExtendedConfigFileWatcher:()=>updateSharedExtendedConfigFileWatcher,updateSourceFile:()=>Vb,updateWatchingWildcardDirectories:()=>updateWatchingWildcardDirectories,usesExtensionsOnImports:()=>uS,usingSingleLineStringWriter:()=>VA,utf16EncodeAsString:()=>$d,validateLocaleAndSetLanguage:()=>ak,valuesHelper:()=>valuesHelper,version:()=>uf,versionMajorMinor:()=>Lv,visitArray:()=>visitArray,visitCommaListElements:()=>visitCommaListElements,visitEachChild:()=>visitEachChild,visitFunctionBody:()=>visitFunctionBody,visitIterationBody:()=>visitIterationBody,visitLexicalEnvironment:()=>visitLexicalEnvironment,visitNode:()=>visitNode,visitNodes:()=>visitNodes2,visitParameterList:()=>visitParameterList,walkUpBindingElementsAndPatterns:()=>HT,walkUpLexicalEnvironments:()=>walkUpLexicalEnvironments,walkUpOuterExpressions:()=>SR,walkUpParenthesizedExpressions:()=>B4,walkUpParenthesizedTypes:()=>xN,walkUpParenthesizedTypesAndGetParentAndChild:()=>SN,whitespaceOrMapCommentRegExp:()=>whitespaceOrMapCommentRegExp,writeCommentRange:()=>EI,writeFile:()=>fI,writeFileEnsuringDirectories:()=>mI,zipToModeAwareCache:()=>zipToModeAwareCache,zipWith:()=>rh});var Ov=Ht({"src/typescript/_namespaces/ts.ts"(){"use strict";En(),y7(),q7(),yB()}}),hB=PC({"src/typescript/typescript.ts"(e,t){Ov(),Ov(),typeof console<"u"&&(M.loggingHost={log(n,i){switch(n){case 1:return console.error(i);case 2:return console.warn(i);case 3:return console.log(i);case 4:return console.log(i)}}}),t.exports=z7}});W7.exports=hB()});var o1=tt(V7=>{V7.typescriptVersionIsAtLeast=new Proxy({},{get:()=>!0})});var Gb=tt(Qr=>{"use strict";var gB=Qr&&Qr.__createBinding||(Object.create?function(e,t,n,i){i===void 0&&(i=n);var s=Object.getOwnPropertyDescriptor(t,n);(!s||("get"in s?!t.__esModule:s.writable||s.configurable))&&(s={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,i,s)}:function(e,t,n,i){i===void 0&&(i=n),e[i]=t[n]}),bB=Qr&&Qr.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),vB=Qr&&Qr.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var n in e)n!=="default"&&Object.prototype.hasOwnProperty.call(e,n)&&gB(t,e,n);return bB(t,e),t};Object.defineProperty(Qr,"__esModule",{value:!0});Qr.getDecorators=Qr.getModifiers=void 0;var j_=vB(Cn()),TB=o1(),H7=TB.typescriptVersionIsAtLeast["4.8"];function xB(e){var t;if(e!=null){if(H7){if(j_.canHaveModifiers(e)){let n=j_.getModifiers(e);return n?Array.from(n):void 0}return}return(t=e.modifiers)===null||t===void 0?void 0:t.filter(n=>!j_.isDecorator(n))}}Qr.getModifiers=xB;function SB(e){var t;if(e!=null){if(H7){if(j_.canHaveDecorators(e)){let n=j_.getDecorators(e);return n?Array.from(n):void 0}return}return(t=e.decorators)===null||t===void 0?void 0:t.filter(j_.isDecorator)}}Qr.getDecorators=SB});var K7=tt(s1=>{"use strict";Object.defineProperty(s1,"__esModule",{value:!0});s1.xhtmlEntities=void 0;s1.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"}});var Xb=tt(oo=>{"use strict";Object.defineProperty(oo,"__esModule",{value:!0});oo.AST_TOKEN_TYPES=oo.AST_NODE_TYPES=void 0;var wB;(function(e){e.AccessorProperty="AccessorProperty",e.ArrayExpression="ArrayExpression",e.ArrayPattern="ArrayPattern",e.ArrowFunctionExpression="ArrowFunctionExpression",e.AssignmentExpression="AssignmentExpression",e.AssignmentPattern="AssignmentPattern",e.AwaitExpression="AwaitExpression",e.BinaryExpression="BinaryExpression",e.BlockStatement="BlockStatement",e.BreakStatement="BreakStatement",e.CallExpression="CallExpression",e.CatchClause="CatchClause",e.ChainExpression="ChainExpression",e.ClassBody="ClassBody",e.ClassDeclaration="ClassDeclaration",e.ClassExpression="ClassExpression",e.ConditionalExpression="ConditionalExpression",e.ContinueStatement="ContinueStatement",e.DebuggerStatement="DebuggerStatement",e.Decorator="Decorator",e.DoWhileStatement="DoWhileStatement",e.EmptyStatement="EmptyStatement",e.ExportAllDeclaration="ExportAllDeclaration",e.ExportDefaultDeclaration="ExportDefaultDeclaration",e.ExportNamedDeclaration="ExportNamedDeclaration",e.ExportSpecifier="ExportSpecifier",e.ExpressionStatement="ExpressionStatement",e.ForInStatement="ForInStatement",e.ForOfStatement="ForOfStatement",e.ForStatement="ForStatement",e.FunctionDeclaration="FunctionDeclaration",e.FunctionExpression="FunctionExpression",e.Identifier="Identifier",e.IfStatement="IfStatement",e.ImportAttribute="ImportAttribute",e.ImportDeclaration="ImportDeclaration",e.ImportDefaultSpecifier="ImportDefaultSpecifier",e.ImportExpression="ImportExpression",e.ImportNamespaceSpecifier="ImportNamespaceSpecifier",e.ImportSpecifier="ImportSpecifier",e.JSXAttribute="JSXAttribute",e.JSXClosingElement="JSXClosingElement",e.JSXClosingFragment="JSXClosingFragment",e.JSXElement="JSXElement",e.JSXEmptyExpression="JSXEmptyExpression",e.JSXExpressionContainer="JSXExpressionContainer",e.JSXFragment="JSXFragment",e.JSXIdentifier="JSXIdentifier",e.JSXMemberExpression="JSXMemberExpression",e.JSXNamespacedName="JSXNamespacedName",e.JSXOpeningElement="JSXOpeningElement",e.JSXOpeningFragment="JSXOpeningFragment",e.JSXSpreadAttribute="JSXSpreadAttribute",e.JSXSpreadChild="JSXSpreadChild",e.JSXText="JSXText",e.LabeledStatement="LabeledStatement",e.Literal="Literal",e.LogicalExpression="LogicalExpression",e.MemberExpression="MemberExpression",e.MetaProperty="MetaProperty",e.MethodDefinition="MethodDefinition",e.NewExpression="NewExpression",e.ObjectExpression="ObjectExpression",e.ObjectPattern="ObjectPattern",e.PrivateIdentifier="PrivateIdentifier",e.Program="Program",e.Property="Property",e.PropertyDefinition="PropertyDefinition",e.RestElement="RestElement",e.ReturnStatement="ReturnStatement",e.SequenceExpression="SequenceExpression",e.SpreadElement="SpreadElement",e.StaticBlock="StaticBlock",e.Super="Super",e.SwitchCase="SwitchCase",e.SwitchStatement="SwitchStatement",e.TaggedTemplateExpression="TaggedTemplateExpression",e.TemplateElement="TemplateElement",e.TemplateLiteral="TemplateLiteral",e.ThisExpression="ThisExpression",e.ThrowStatement="ThrowStatement",e.TryStatement="TryStatement",e.UnaryExpression="UnaryExpression",e.UpdateExpression="UpdateExpression",e.VariableDeclaration="VariableDeclaration",e.VariableDeclarator="VariableDeclarator",e.WhileStatement="WhileStatement",e.WithStatement="WithStatement",e.YieldExpression="YieldExpression",e.TSAbstractAccessorProperty="TSAbstractAccessorProperty",e.TSAbstractKeyword="TSAbstractKeyword",e.TSAbstractMethodDefinition="TSAbstractMethodDefinition",e.TSAbstractPropertyDefinition="TSAbstractPropertyDefinition",e.TSAnyKeyword="TSAnyKeyword",e.TSArrayType="TSArrayType",e.TSAsExpression="TSAsExpression",e.TSAsyncKeyword="TSAsyncKeyword",e.TSBigIntKeyword="TSBigIntKeyword",e.TSBooleanKeyword="TSBooleanKeyword",e.TSCallSignatureDeclaration="TSCallSignatureDeclaration",e.TSClassImplements="TSClassImplements",e.TSConditionalType="TSConditionalType",e.TSConstructorType="TSConstructorType",e.TSConstructSignatureDeclaration="TSConstructSignatureDeclaration",e.TSDeclareFunction="TSDeclareFunction",e.TSDeclareKeyword="TSDeclareKeyword",e.TSEmptyBodyFunctionExpression="TSEmptyBodyFunctionExpression",e.TSEnumDeclaration="TSEnumDeclaration",e.TSEnumMember="TSEnumMember",e.TSExportAssignment="TSExportAssignment",e.TSExportKeyword="TSExportKeyword",e.TSExternalModuleReference="TSExternalModuleReference",e.TSFunctionType="TSFunctionType",e.TSInstantiationExpression="TSInstantiationExpression",e.TSImportEqualsDeclaration="TSImportEqualsDeclaration",e.TSImportType="TSImportType",e.TSIndexedAccessType="TSIndexedAccessType",e.TSIndexSignature="TSIndexSignature",e.TSInferType="TSInferType",e.TSInterfaceBody="TSInterfaceBody",e.TSInterfaceDeclaration="TSInterfaceDeclaration",e.TSInterfaceHeritage="TSInterfaceHeritage",e.TSIntersectionType="TSIntersectionType",e.TSIntrinsicKeyword="TSIntrinsicKeyword",e.TSLiteralType="TSLiteralType",e.TSMappedType="TSMappedType",e.TSMethodSignature="TSMethodSignature",e.TSModuleBlock="TSModuleBlock",e.TSModuleDeclaration="TSModuleDeclaration",e.TSNamedTupleMember="TSNamedTupleMember",e.TSNamespaceExportDeclaration="TSNamespaceExportDeclaration",e.TSNeverKeyword="TSNeverKeyword",e.TSNonNullExpression="TSNonNullExpression",e.TSNullKeyword="TSNullKeyword",e.TSNumberKeyword="TSNumberKeyword",e.TSObjectKeyword="TSObjectKeyword",e.TSOptionalType="TSOptionalType",e.TSParameterProperty="TSParameterProperty",e.TSPrivateKeyword="TSPrivateKeyword",e.TSPropertySignature="TSPropertySignature",e.TSProtectedKeyword="TSProtectedKeyword",e.TSPublicKeyword="TSPublicKeyword",e.TSQualifiedName="TSQualifiedName",e.TSReadonlyKeyword="TSReadonlyKeyword",e.TSRestType="TSRestType",e.TSSatisfiesExpression="TSSatisfiesExpression",e.TSStaticKeyword="TSStaticKeyword",e.TSStringKeyword="TSStringKeyword",e.TSSymbolKeyword="TSSymbolKeyword",e.TSTemplateLiteralType="TSTemplateLiteralType",e.TSThisType="TSThisType",e.TSTupleType="TSTupleType",e.TSTypeAliasDeclaration="TSTypeAliasDeclaration",e.TSTypeAnnotation="TSTypeAnnotation",e.TSTypeAssertion="TSTypeAssertion",e.TSTypeLiteral="TSTypeLiteral",e.TSTypeOperator="TSTypeOperator",e.TSTypeParameter="TSTypeParameter",e.TSTypeParameterDeclaration="TSTypeParameterDeclaration",e.TSTypeParameterInstantiation="TSTypeParameterInstantiation",e.TSTypePredicate="TSTypePredicate",e.TSTypeQuery="TSTypeQuery",e.TSTypeReference="TSTypeReference",e.TSUndefinedKeyword="TSUndefinedKeyword",e.TSUnionType="TSUnionType",e.TSUnknownKeyword="TSUnknownKeyword",e.TSVoidKeyword="TSVoidKeyword"})(wB=oo.AST_NODE_TYPES||(oo.AST_NODE_TYPES={}));var EB;(function(e){e.Boolean="Boolean",e.Identifier="Identifier",e.JSXIdentifier="JSXIdentifier",e.JSXText="JSXText",e.Keyword="Keyword",e.Null="Null",e.Numeric="Numeric",e.Punctuator="Punctuator",e.RegularExpression="RegularExpression",e.String="String",e.Template="Template",e.Block="Block",e.Line="Line"})(EB=oo.AST_TOKEN_TYPES||(oo.AST_TOKEN_TYPES={}))});var X7=tt(G7=>{"use strict";Object.defineProperty(G7,"__esModule",{value:!0})});var Q7=tt($7=>{"use strict";Object.defineProperty($7,"__esModule",{value:!0})});var Y7=tt(Xi=>{"use strict";var CB=Xi&&Xi.__createBinding||(Object.create?function(e,t,n,i){i===void 0&&(i=n);var s=Object.getOwnPropertyDescriptor(t,n);(!s||("get"in s?!t.__esModule:s.writable||s.configurable))&&(s={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,i,s)}:function(e,t,n,i){i===void 0&&(i=n),e[i]=t[n]}),kB=Xi&&Xi.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),AB=Xi&&Xi.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var n in e)n!=="default"&&Object.prototype.hasOwnProperty.call(e,n)&&CB(t,e,n);return kB(t,e),t};Object.defineProperty(Xi,"__esModule",{value:!0});Xi.TSESTree=void 0;Xi.TSESTree=AB(Xb())});var ew=tt(Nr=>{"use strict";var DB=Nr&&Nr.__createBinding||(Object.create?function(e,t,n,i){i===void 0&&(i=n);var s=Object.getOwnPropertyDescriptor(t,n);(!s||("get"in s?!t.__esModule:s.writable||s.configurable))&&(s={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,i,s)}:function(e,t,n,i){i===void 0&&(i=n),e[i]=t[n]}),$b=Nr&&Nr.__exportStar||function(e,t){for(var n in e)n!=="default"&&!Object.prototype.hasOwnProperty.call(t,n)&&DB(t,e,n)};Object.defineProperty(Nr,"__esModule",{value:!0});Nr.AST_TOKEN_TYPES=Nr.AST_NODE_TYPES=void 0;var Z7=Xb();Object.defineProperty(Nr,"AST_NODE_TYPES",{enumerable:!0,get:function(){return Z7.AST_NODE_TYPES}});Object.defineProperty(Nr,"AST_TOKEN_TYPES",{enumerable:!0,get:function(){return Z7.AST_TOKEN_TYPES}});$b(X7(),Nr);$b(Q7(),Nr);$b(Y7(),Nr)});var nw=tt(tw=>{"use strict";Object.defineProperty(tw,"__esModule",{value:!0})});var iw=tt(rw=>{"use strict";Object.defineProperty(rw,"__esModule",{value:!0})});var _1=tt(lr=>{"use strict";var PB=lr&&lr.__createBinding||(Object.create?function(e,t,n,i){i===void 0&&(i=n);var s=Object.getOwnPropertyDescriptor(t,n);(!s||("get"in s?!t.__esModule:s.writable||s.configurable))&&(s={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,i,s)}:function(e,t,n,i){i===void 0&&(i=n),e[i]=t[n]}),aw=lr&&lr.__exportStar||function(e,t){for(var n in e)n!=="default"&&!Object.prototype.hasOwnProperty.call(t,n)&&PB(t,e,n)};Object.defineProperty(lr,"__esModule",{value:!0});lr.TSESTree=lr.AST_TOKEN_TYPES=lr.AST_NODE_TYPES=void 0;var Qb=ew();Object.defineProperty(lr,"AST_NODE_TYPES",{enumerable:!0,get:function(){return Qb.AST_NODE_TYPES}});Object.defineProperty(lr,"AST_TOKEN_TYPES",{enumerable:!0,get:function(){return Qb.AST_TOKEN_TYPES}});Object.defineProperty(lr,"TSESTree",{enumerable:!0,get:function(){return Qb.TSESTree}});aw(nw(),lr);aw(iw(),lr)});var l1=tt(xe=>{"use strict";var NB=xe&&xe.__createBinding||(Object.create?function(e,t,n,i){i===void 0&&(i=n);var s=Object.getOwnPropertyDescriptor(t,n);(!s||("get"in s?!t.__esModule:s.writable||s.configurable))&&(s={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,i,s)}:function(e,t,n,i){i===void 0&&(i=n),e[i]=t[n]}),IB=xe&&xe.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),OB=xe&&xe.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var n in e)n!=="default"&&Object.prototype.hasOwnProperty.call(e,n)&&NB(t,e,n);return IB(t,e),t};Object.defineProperty(xe,"__esModule",{value:!0});xe.isThisInTypeQuery=xe.isThisIdentifier=xe.identifierIsThisKeyword=xe.firstDefined=xe.nodeHasTokens=xe.createError=xe.TSError=xe.convertTokens=xe.convertToken=xe.getTokenType=xe.isChildUnwrappableOptionalChain=xe.isChainExpression=xe.isOptional=xe.isComputedProperty=xe.unescapeStringLiteralText=xe.hasJSXAncestor=xe.findFirstMatchingAncestor=xe.findNextToken=xe.getTSNodeAccessibility=xe.getDeclarationKind=xe.isJSXToken=xe.isToken=xe.getRange=xe.canContainDirective=xe.getLocFor=xe.getLineAndCharacterFor=xe.getBinaryExpressionType=xe.isJSDocComment=xe.isComment=xe.isComma=xe.getLastModifier=xe.hasModifier=xe.isESTreeClassMember=xe.getTextForTokenKind=xe.isLogicalOperator=xe.isAssignmentOperator=void 0;var kn=OB(Cn()),e6=Gb(),MB=K7(),on=_1(),LB=o1(),ow=LB.typescriptVersionIsAtLeast["5.0"],ze=kn.SyntaxKind,JB=[ze.BarBarToken,ze.AmpersandAmpersandToken,ze.QuestionQuestionToken];function sw(e){return e.kind>=ze.FirstAssignment&&e.kind<=ze.LastAssignment}xe.isAssignmentOperator=sw;function _w(e){return JB.includes(e.kind)}xe.isLogicalOperator=_w;function RB(e){return kn.tokenToString(e)}xe.getTextForTokenKind=RB;function FB(e){return e.kind!==ze.SemicolonClassElement}xe.isESTreeClassMember=FB;function jB(e,t){let n=(0,e6.getModifiers)(t);return(n==null?void 0:n.some(i=>i.kind===e))===!0}xe.hasModifier=jB;function BB(e){var t;let n=(0,e6.getModifiers)(e);return n==null?null:(t=n[n.length-1])!==null&&t!==void 0?t:null}xe.getLastModifier=BB;function UB(e){return e.kind===ze.CommaToken}xe.isComma=UB;function cw(e){return e.kind===ze.SingleLineCommentTrivia||e.kind===ze.MultiLineCommentTrivia}xe.isComment=cw;function lw(e){return e.kind===ze.JSDocComment}xe.isJSDocComment=lw;function qB(e){return sw(e)?on.AST_NODE_TYPES.AssignmentExpression:_w(e)?on.AST_NODE_TYPES.LogicalExpression:on.AST_NODE_TYPES.BinaryExpression}xe.getBinaryExpressionType=qB;function Yb(e,t){let n=t.getLineAndCharacterOfPosition(e);return{line:n.line+1,column:n.character}}xe.getLineAndCharacterFor=Yb;function Zb(e,t,n){return{start:Yb(e,n),end:Yb(t,n)}}xe.getLocFor=Zb;function zB(e){if(e.kind===kn.SyntaxKind.Block)switch(e.parent.kind){case kn.SyntaxKind.Constructor:case kn.SyntaxKind.GetAccessor:case kn.SyntaxKind.SetAccessor:case kn.SyntaxKind.ArrowFunction:case kn.SyntaxKind.FunctionExpression:case kn.SyntaxKind.FunctionDeclaration:case kn.SyntaxKind.MethodDeclaration:return!0;default:return!1}return!0}xe.canContainDirective=zB;function WB(e,t){return[e.getStart(t),e.getEnd()]}xe.getRange=WB;function uw(e){return e.kind>=ze.FirstToken&&e.kind<=ze.LastToken}xe.isToken=uw;function t6(e){return e.kind>=ze.JsxElement&&e.kind<=ze.JsxAttribute}xe.isJSXToken=t6;function VB(e){return e.flags&kn.NodeFlags.Let?"let":e.flags&kn.NodeFlags.Const?"const":"var"}xe.getDeclarationKind=VB;function HB(e){let t=(0,e6.getModifiers)(e);if(t==null)return null;for(let n of t)switch(n.kind){case ze.PublicKeyword:return"public";case ze.ProtectedKeyword:return"protected";case ze.PrivateKeyword:return"private";default:break}return null}xe.getTSNodeAccessibility=HB;function KB(e,t,n){return i(t);function i(s){return kn.isToken(s)&&s.pos===e.end?s:gw(s.getChildren(n),l=>(l.pos<=e.pos&&l.end>e.end||l.pos===e.end)&&hw(l,n)?i(l):void 0)}}xe.findNextToken=KB;function pw(e,t){for(;e;){if(t(e))return e;e=e.parent}}xe.findFirstMatchingAncestor=pw;function dw(e){return!!pw(e,t6)}xe.hasJSXAncestor=dw;function GB(e){return e.replace(/&(?:#\d+|#x[\da-fA-F]+|[0-9a-zA-Z]+);/g,t=>{let n=t.slice(1,-1);if(n[0]==="#"){let i=n[1]==="x"?parseInt(n.slice(2),16):parseInt(n.slice(1),10);return i>1114111?t:String.fromCodePoint(i)}return MB.xhtmlEntities[n]||t})}xe.unescapeStringLiteralText=GB;function XB(e){return e.kind===ze.ComputedPropertyName}xe.isComputedProperty=XB;function $B(e){return e.questionToken?e.questionToken.kind===ze.QuestionToken:!1}xe.isOptional=$B;function fw(e){return e.type===on.AST_NODE_TYPES.ChainExpression}xe.isChainExpression=fw;function QB(e,t){return fw(t)&&e.expression.kind!==kn.SyntaxKind.ParenthesizedExpression}xe.isChildUnwrappableOptionalChain=QB;function mw(e){let t;if(ow&&e.kind===ze.Identifier?t=kn.identifierToKeywordKind(e):"originalKeywordKind"in e&&(t=e.originalKeywordKind),t)return t===ze.NullKeyword?on.AST_TOKEN_TYPES.Null:t>=ze.FirstFutureReservedWord&&t<=ze.LastKeyword?on.AST_TOKEN_TYPES.Identifier:on.AST_TOKEN_TYPES.Keyword;if(e.kind>=ze.FirstKeyword&&e.kind<=ze.LastFutureReservedWord)return e.kind===ze.FalseKeyword||e.kind===ze.TrueKeyword?on.AST_TOKEN_TYPES.Boolean:on.AST_TOKEN_TYPES.Keyword;if(e.kind>=ze.FirstPunctuation&&e.kind<=ze.LastPunctuation)return on.AST_TOKEN_TYPES.Punctuator;if(e.kind>=ze.NoSubstitutionTemplateLiteral&&e.kind<=ze.TemplateTail)return on.AST_TOKEN_TYPES.Template;switch(e.kind){case ze.NumericLiteral:return on.AST_TOKEN_TYPES.Numeric;case ze.JsxText:return on.AST_TOKEN_TYPES.JSXText;case ze.StringLiteral:return e.parent&&(e.parent.kind===ze.JsxAttribute||e.parent.kind===ze.JsxElement)?on.AST_TOKEN_TYPES.JSXText:on.AST_TOKEN_TYPES.String;case ze.RegularExpressionLiteral:return on.AST_TOKEN_TYPES.RegularExpression;case ze.Identifier:case ze.ConstructorKeyword:case ze.GetKeyword:case ze.SetKeyword:default:}return e.parent&&e.kind===ze.Identifier&&(t6(e.parent)||e.parent.kind===ze.PropertyAccessExpression&&dw(e))?on.AST_TOKEN_TYPES.JSXIdentifier:on.AST_TOKEN_TYPES.Identifier}xe.getTokenType=mw;function yw(e,t){let n=e.kind===ze.JsxText?e.getFullStart():e.getStart(t),i=e.getEnd(),s=t.text.slice(n,i),l=mw(e);return l===on.AST_TOKEN_TYPES.RegularExpression?{type:l,value:s,range:[n,i],loc:Zb(n,i,t),regex:{pattern:s.slice(1,s.lastIndexOf("/")),flags:s.slice(s.lastIndexOf("/")+1)}}:{type:l,value:s,range:[n,i],loc:Zb(n,i,t)}}xe.convertToken=yw;function YB(e){let t=[];function n(i){if(!(cw(i)||lw(i)))if(uw(i)&&i.kind!==ze.EndOfFileToken){let s=yw(i,e);s&&t.push(s)}else i.getChildren(e).forEach(n)}return n(e),t}xe.convertTokens=YB;var c1=class extends Error{constructor(t,n,i,s,l){super(t),this.fileName=n,this.index=i,this.lineNumber=s,this.column=l,Object.defineProperty(this,"name",{value:new.target.name,enumerable:!1,configurable:!0})}};xe.TSError=c1;function ZB(e,t,n){let i=e.getLineAndCharacterOfPosition(t);return new c1(n,e.fileName,t,i.line+1,i.character)}xe.createError=ZB;function hw(e,t){return e.kind===ze.EndOfFileToken?!!e.jsDoc:e.getWidth(t)!==0}xe.nodeHasTokens=hw;function gw(e,t){if(e!==void 0)for(let n=0;n{"use strict";var tU=Yr&&Yr.__createBinding||(Object.create?function(e,t,n,i){i===void 0&&(i=n);var s=Object.getOwnPropertyDescriptor(t,n);(!s||("get"in s?!t.__esModule:s.writable||s.configurable))&&(s={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,i,s)}:function(e,t,n,i){i===void 0&&(i=n),e[i]=t[n]}),nU=Yr&&Yr.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),rU=Yr&&Yr.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var n in e)n!=="default"&&Object.prototype.hasOwnProperty.call(e,n)&&tU(t,e,n);return nU(t,e),t};Object.defineProperty(Yr,"__esModule",{value:!0});Yr.Converter=Yr.convertError=void 0;var so=rU(Cn()),$i=Gb(),ye=l1(),q=_1(),Tw=o1(),O=so.SyntaxKind;function iU(e){return(0,ye.createError)(e.file,e.start,"message"in e&&e.message||e.messageText)}Yr.convertError=iU;var n6=class{constructor(t,n){this.esTreeNodeToTSNodeMap=new WeakMap,this.tsNodeToESTreeNodeMap=new WeakMap,this.allowPattern=!1,this.inTypeMode=!1,this.ast=t,this.options=Object.assign({},n)}getASTMaps(){return{esTreeNodeToTSNodeMap:this.esTreeNodeToTSNodeMap,tsNodeToESTreeNodeMap:this.tsNodeToESTreeNodeMap}}convertProgram(){return this.converter(this.ast)}converter(t,n,i,s){if(!t)return null;let l=this.inTypeMode,d=this.allowPattern;i!==void 0&&(this.inTypeMode=i),s!==void 0&&(this.allowPattern=s);let y=this.convertNode(t,n??t.parent);return this.registerTSNodeInNodeMap(t,y),this.inTypeMode=l,this.allowPattern=d,y}fixExports(t,n){let i=(0,$i.getModifiers)(t);if((i==null?void 0:i[0].kind)===O.ExportKeyword){this.registerTSNodeInNodeMap(t,n);let s=i[0],l=i[1],d=l&&l.kind===O.DefaultKeyword,y=d?(0,ye.findNextToken)(l,this.ast,this.ast):(0,ye.findNextToken)(s,this.ast,this.ast);if(n.range[0]=y.getStart(this.ast),n.loc=(0,ye.getLocFor)(n.range[0],n.range[1],this.ast),d)return this.createNode(t,{type:q.AST_NODE_TYPES.ExportDefaultDeclaration,declaration:n,range:[s.getStart(this.ast),n.range[1]],exportKind:"value"});{let p=n.type===q.AST_NODE_TYPES.TSInterfaceDeclaration||n.type===q.AST_NODE_TYPES.TSTypeAliasDeclaration,x="declare"in n&&n.declare===!0;return this.createNode(t,{type:q.AST_NODE_TYPES.ExportNamedDeclaration,declaration:n,specifiers:[],source:null,exportKind:p||x?"type":"value",range:[s.getStart(this.ast),n.range[1]],assertions:[]})}}return n}registerTSNodeInNodeMap(t,n){n&&this.options.shouldPreserveNodeMaps&&(this.tsNodeToESTreeNodeMap.has(t)||this.tsNodeToESTreeNodeMap.set(t,n))}convertPattern(t,n){return this.converter(t,n,this.inTypeMode,!0)}convertChild(t,n){return this.converter(t,n,this.inTypeMode,!1)}convertType(t,n){return this.converter(t,n,!0,!1)}createNode(t,n){let i=n;return i.range||(i.range=(0,ye.getRange)(t,this.ast)),i.loc||(i.loc=(0,ye.getLocFor)(i.range[0],i.range[1],this.ast)),i&&this.options.shouldPreserveNodeMaps&&this.esTreeNodeToTSNodeMap.set(i,t),i}convertBindingNameWithTypeAnnotation(t,n,i){let s=this.convertPattern(t);return n&&(s.typeAnnotation=this.convertTypeAnnotation(n,i),this.fixParentLocation(s,s.typeAnnotation.range)),s}convertTypeAnnotation(t,n){let i=(n==null?void 0:n.kind)===O.FunctionType||(n==null?void 0:n.kind)===O.ConstructorType?2:1,s=t.getFullStart()-i,l=(0,ye.getLocFor)(s,t.end,this.ast);return{type:q.AST_NODE_TYPES.TSTypeAnnotation,loc:l,range:[s,t.end],typeAnnotation:this.convertType(t)}}convertBodyExpressions(t,n){let i=(0,ye.canContainDirective)(n);return t.map(s=>{let l=this.convertChild(s);if(i)if(l!=null&&l.expression&&so.isExpressionStatement(s)&&so.isStringLiteral(s.expression)){let d=l.expression.raw;return l.directive=d.slice(1,-1),l}else i=!1;return l}).filter(s=>s)}convertTypeArgumentsToTypeParameters(t,n){let i=(0,ye.findNextToken)(t,this.ast,this.ast);return this.createNode(n,{type:q.AST_NODE_TYPES.TSTypeParameterInstantiation,range:[t.pos-1,i.end],params:t.map(s=>this.convertType(s))})}convertTSTypeParametersToTypeParametersDeclaration(t){let n=(0,ye.findNextToken)(t,this.ast,this.ast);return{type:q.AST_NODE_TYPES.TSTypeParameterDeclaration,range:[t.pos-1,n.end],loc:(0,ye.getLocFor)(t.pos-1,n.end,this.ast),params:t.map(i=>this.convertType(i))}}convertParameters(t){return t!=null&&t.length?t.map(n=>{let i=this.convertChild(n),s=(0,$i.getDecorators)(n);return s!=null&&s.length&&(i.decorators=s.map(l=>this.convertChild(l))),i}):[]}convertChainExpression(t,n){let{child:i,isOptional:s}=(()=>t.type===q.AST_NODE_TYPES.MemberExpression?{child:t.object,isOptional:t.optional}:t.type===q.AST_NODE_TYPES.CallExpression?{child:t.callee,isOptional:t.optional}:{child:t.expression,isOptional:!1})(),l=(0,ye.isChildUnwrappableOptionalChain)(n,i);if(!l&&!s)return t;if(l&&(0,ye.isChainExpression)(i)){let d=i.expression;t.type===q.AST_NODE_TYPES.MemberExpression?t.object=d:t.type===q.AST_NODE_TYPES.CallExpression?t.callee=d:t.expression=d}return this.createNode(n,{type:q.AST_NODE_TYPES.ChainExpression,expression:t})}deeplyCopy(t){if(t.kind===so.SyntaxKind.JSDocFunctionType)throw(0,ye.createError)(this.ast,t.pos,"JSDoc types can only be used inside documentation comments.");let n=`TS${O[t.kind]}`;if(this.options.errorOnUnknownASTType&&!q.AST_NODE_TYPES[n])throw new Error(`Unknown AST_NODE_TYPE: "${n}"`);let i=this.createNode(t,{type:n});"type"in t&&(i.typeAnnotation=t.type&&"kind"in t.type&&so.isTypeNode(t.type)?this.convertTypeAnnotation(t.type,t):null),"typeArguments"in t&&(i.typeParameters=t.typeArguments&&"pos"in t.typeArguments?this.convertTypeArgumentsToTypeParameters(t.typeArguments,t):null),"typeParameters"in t&&(i.typeParameters=t.typeParameters&&"pos"in t.typeParameters?this.convertTSTypeParametersToTypeParametersDeclaration(t.typeParameters):null);let s=(0,$i.getDecorators)(t);s!=null&&s.length&&(i.decorators=s.map(d=>this.convertChild(d)));let l=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(t).filter(([d])=>!l.has(d)).forEach(([d,y])=>{Array.isArray(y)?i[d]=y.map(p=>this.convertChild(p)):y&&typeof y=="object"&&y.kind?i[d]=this.convertChild(y):i[d]=y}),i}convertJSXIdentifier(t){let n=this.createNode(t,{type:q.AST_NODE_TYPES.JSXIdentifier,name:t.getText()});return this.registerTSNodeInNodeMap(t,n),n}convertJSXNamespaceOrIdentifier(t){let n=t.getText(),i=n.indexOf(":");if(i>0){let s=(0,ye.getRange)(t,this.ast),l=this.createNode(t,{type:q.AST_NODE_TYPES.JSXNamespacedName,namespace:this.createNode(t,{type:q.AST_NODE_TYPES.JSXIdentifier,name:n.slice(0,i),range:[s[0],s[0]+i]}),name:this.createNode(t,{type:q.AST_NODE_TYPES.JSXIdentifier,name:n.slice(i+1),range:[s[0]+i+1,s[1]]}),range:s});return this.registerTSNodeInNodeMap(t,l),l}return this.convertJSXIdentifier(t)}convertJSXTagName(t,n){let i;switch(t.kind){case O.PropertyAccessExpression:if(t.name.kind===O.PrivateIdentifier)throw new Error("Non-private identifier expected.");i=this.createNode(t,{type:q.AST_NODE_TYPES.JSXMemberExpression,object:this.convertJSXTagName(t.expression,n),property:this.convertJSXIdentifier(t.name)});break;case O.ThisKeyword:case O.Identifier:default:return this.convertJSXNamespaceOrIdentifier(t)}return this.registerTSNodeInNodeMap(t,i),i}convertMethodSignature(t){let n=this.createNode(t,{type:q.AST_NODE_TYPES.TSMethodSignature,computed:(0,ye.isComputedProperty)(t.name),key:this.convertChild(t.name),params:this.convertParameters(t.parameters),kind:(()=>{switch(t.kind){case O.GetAccessor:return"get";case O.SetAccessor:return"set";case O.MethodSignature:return"method"}})()});(0,ye.isOptional)(t)&&(n.optional=!0),t.type&&(n.returnType=this.convertTypeAnnotation(t.type,t)),(0,ye.hasModifier)(O.ReadonlyKeyword,t)&&(n.readonly=!0),t.typeParameters&&(n.typeParameters=this.convertTSTypeParametersToTypeParametersDeclaration(t.typeParameters));let i=(0,ye.getTSNodeAccessibility)(t);return i&&(n.accessibility=i),(0,ye.hasModifier)(O.ExportKeyword,t)&&(n.export=!0),(0,ye.hasModifier)(O.StaticKeyword,t)&&(n.static=!0),n}convertAssertClasue(t){return t===void 0?[]:t.elements.map(n=>this.convertChild(n))}applyModifiersToResult(t,n){if(!n)return;let i=[];for(let s of n)switch(s.kind){case O.ExportKeyword:case O.DefaultKeyword:break;case O.ConstKeyword:t.const=!0;break;case O.DeclareKeyword:t.declare=!0;break;default:i.push(this.convertChild(s));break}i.length>0&&(t.modifiers=i)}fixParentLocation(t,n){n[0]t.range[1]&&(t.range[1]=n[1],t.loc.end=(0,ye.getLineAndCharacterFor)(t.range[1],this.ast))}assertModuleSpecifier(t,n){var i;if(!n&&t.moduleSpecifier==null)throw(0,ye.createError)(this.ast,t.pos,"Module specifier must be a string literal.");if(t.moduleSpecifier&&((i=t.moduleSpecifier)===null||i===void 0?void 0:i.kind)!==O.StringLiteral)throw(0,ye.createError)(this.ast,t.moduleSpecifier.pos,"Module specifier must be a string literal.")}convertNode(t,n){var i,s,l,d,y,p,x,h,D,w;switch(t.kind){case O.SourceFile:return this.createNode(t,{type:q.AST_NODE_TYPES.Program,body:this.convertBodyExpressions(t.statements,t),sourceType:t.externalModuleIndicator?"module":"script",range:[t.getStart(this.ast),t.endOfFileToken.end]});case O.Block:return this.createNode(t,{type:q.AST_NODE_TYPES.BlockStatement,body:this.convertBodyExpressions(t.statements,t)});case O.Identifier:return(0,ye.isThisInTypeQuery)(t)?this.createNode(t,{type:q.AST_NODE_TYPES.ThisExpression}):this.createNode(t,{type:q.AST_NODE_TYPES.Identifier,name:t.text});case O.PrivateIdentifier:return this.createNode(t,{type:q.AST_NODE_TYPES.PrivateIdentifier,name:t.text.slice(1)});case O.WithStatement:return this.createNode(t,{type:q.AST_NODE_TYPES.WithStatement,object:this.convertChild(t.expression),body:this.convertChild(t.statement)});case O.ReturnStatement:return this.createNode(t,{type:q.AST_NODE_TYPES.ReturnStatement,argument:this.convertChild(t.expression)});case O.LabeledStatement:return this.createNode(t,{type:q.AST_NODE_TYPES.LabeledStatement,label:this.convertChild(t.label),body:this.convertChild(t.statement)});case O.ContinueStatement:return this.createNode(t,{type:q.AST_NODE_TYPES.ContinueStatement,label:this.convertChild(t.label)});case O.BreakStatement:return this.createNode(t,{type:q.AST_NODE_TYPES.BreakStatement,label:this.convertChild(t.label)});case O.IfStatement:return this.createNode(t,{type:q.AST_NODE_TYPES.IfStatement,test:this.convertChild(t.expression),consequent:this.convertChild(t.thenStatement),alternate:this.convertChild(t.elseStatement)});case O.SwitchStatement:return this.createNode(t,{type:q.AST_NODE_TYPES.SwitchStatement,discriminant:this.convertChild(t.expression),cases:t.caseBlock.clauses.map(g=>this.convertChild(g))});case O.CaseClause:case O.DefaultClause:return this.createNode(t,{type:q.AST_NODE_TYPES.SwitchCase,test:t.kind===O.CaseClause?this.convertChild(t.expression):null,consequent:t.statements.map(g=>this.convertChild(g))});case O.ThrowStatement:return this.createNode(t,{type:q.AST_NODE_TYPES.ThrowStatement,argument:this.convertChild(t.expression)});case O.TryStatement:return this.createNode(t,{type:q.AST_NODE_TYPES.TryStatement,block:this.convertChild(t.tryBlock),handler:this.convertChild(t.catchClause),finalizer:this.convertChild(t.finallyBlock)});case O.CatchClause:return this.createNode(t,{type:q.AST_NODE_TYPES.CatchClause,param:t.variableDeclaration?this.convertBindingNameWithTypeAnnotation(t.variableDeclaration.name,t.variableDeclaration.type):null,body:this.convertChild(t.block)});case O.WhileStatement:return this.createNode(t,{type:q.AST_NODE_TYPES.WhileStatement,test:this.convertChild(t.expression),body:this.convertChild(t.statement)});case O.DoStatement:return this.createNode(t,{type:q.AST_NODE_TYPES.DoWhileStatement,test:this.convertChild(t.expression),body:this.convertChild(t.statement)});case O.ForStatement:return this.createNode(t,{type:q.AST_NODE_TYPES.ForStatement,init:this.convertChild(t.initializer),test:this.convertChild(t.condition),update:this.convertChild(t.incrementor),body:this.convertChild(t.statement)});case O.ForInStatement:return this.createNode(t,{type:q.AST_NODE_TYPES.ForInStatement,left:this.convertPattern(t.initializer),right:this.convertChild(t.expression),body:this.convertChild(t.statement)});case O.ForOfStatement:return this.createNode(t,{type:q.AST_NODE_TYPES.ForOfStatement,left:this.convertPattern(t.initializer),right:this.convertChild(t.expression),body:this.convertChild(t.statement),await:!!(t.awaitModifier&&t.awaitModifier.kind===O.AwaitKeyword)});case O.FunctionDeclaration:{let g=(0,ye.hasModifier)(O.DeclareKeyword,t),A=this.createNode(t,{type:g||!t.body?q.AST_NODE_TYPES.TSDeclareFunction:q.AST_NODE_TYPES.FunctionDeclaration,id:this.convertChild(t.name),generator:!!t.asteriskToken,expression:!1,async:(0,ye.hasModifier)(O.AsyncKeyword,t),params:this.convertParameters(t.parameters),body:this.convertChild(t.body)||void 0});return t.type&&(A.returnType=this.convertTypeAnnotation(t.type,t)),t.typeParameters&&(A.typeParameters=this.convertTSTypeParametersToTypeParametersDeclaration(t.typeParameters)),g&&(A.declare=!0),this.fixExports(t,A)}case O.VariableDeclaration:{let g=this.createNode(t,{type:q.AST_NODE_TYPES.VariableDeclarator,id:this.convertBindingNameWithTypeAnnotation(t.name,t.type,t),init:this.convertChild(t.initializer)});return t.exclamationToken&&(g.definite=!0),g}case O.VariableStatement:{let g=this.createNode(t,{type:q.AST_NODE_TYPES.VariableDeclaration,declarations:t.declarationList.declarations.map(A=>this.convertChild(A)),kind:(0,ye.getDeclarationKind)(t.declarationList)});return(0,ye.hasModifier)(O.DeclareKeyword,t)&&(g.declare=!0),this.fixExports(t,g)}case O.VariableDeclarationList:return this.createNode(t,{type:q.AST_NODE_TYPES.VariableDeclaration,declarations:t.declarations.map(g=>this.convertChild(g)),kind:(0,ye.getDeclarationKind)(t)});case O.ExpressionStatement:return this.createNode(t,{type:q.AST_NODE_TYPES.ExpressionStatement,expression:this.convertChild(t.expression)});case O.ThisKeyword:return this.createNode(t,{type:q.AST_NODE_TYPES.ThisExpression});case O.ArrayLiteralExpression:return this.allowPattern?this.createNode(t,{type:q.AST_NODE_TYPES.ArrayPattern,elements:t.elements.map(g=>this.convertPattern(g))}):this.createNode(t,{type:q.AST_NODE_TYPES.ArrayExpression,elements:t.elements.map(g=>this.convertChild(g))});case O.ObjectLiteralExpression:return this.allowPattern?this.createNode(t,{type:q.AST_NODE_TYPES.ObjectPattern,properties:t.properties.map(g=>this.convertPattern(g))}):this.createNode(t,{type:q.AST_NODE_TYPES.ObjectExpression,properties:t.properties.map(g=>this.convertChild(g))});case O.PropertyAssignment:return this.createNode(t,{type:q.AST_NODE_TYPES.Property,key:this.convertChild(t.name),value:this.converter(t.initializer,t,this.inTypeMode,this.allowPattern),computed:(0,ye.isComputedProperty)(t.name),method:!1,shorthand:!1,kind:"init"});case O.ShorthandPropertyAssignment:return t.objectAssignmentInitializer?this.createNode(t,{type:q.AST_NODE_TYPES.Property,key:this.convertChild(t.name),value:this.createNode(t,{type:q.AST_NODE_TYPES.AssignmentPattern,left:this.convertPattern(t.name),right:this.convertChild(t.objectAssignmentInitializer)}),computed:!1,method:!1,shorthand:!0,kind:"init"}):this.createNode(t,{type:q.AST_NODE_TYPES.Property,key:this.convertChild(t.name),value:this.convertChild(t.name),computed:!1,method:!1,shorthand:!0,kind:"init"});case O.ComputedPropertyName:return this.convertChild(t.expression);case O.PropertyDeclaration:{let g=(0,ye.hasModifier)(O.AbstractKeyword,t),A=(0,ye.hasModifier)(O.AccessorKeyword,t),B=(()=>A?g?q.AST_NODE_TYPES.TSAbstractAccessorProperty:q.AST_NODE_TYPES.AccessorProperty:g?q.AST_NODE_TYPES.TSAbstractPropertyDefinition:q.AST_NODE_TYPES.PropertyDefinition)(),G=this.createNode(t,{type:B,key:this.convertChild(t.name),value:g?null:this.convertChild(t.initializer),computed:(0,ye.isComputedProperty)(t.name),static:(0,ye.hasModifier)(O.StaticKeyword,t),readonly:(0,ye.hasModifier)(O.ReadonlyKeyword,t)||void 0,declare:(0,ye.hasModifier)(O.DeclareKeyword,t),override:(0,ye.hasModifier)(O.OverrideKeyword,t)});t.type&&(G.typeAnnotation=this.convertTypeAnnotation(t.type,t));let oe=(0,$i.getDecorators)(t);oe&&(G.decorators=oe.map(W=>this.convertChild(W)));let Q=(0,ye.getTSNodeAccessibility)(t);return Q&&(G.accessibility=Q),(t.name.kind===O.Identifier||t.name.kind===O.ComputedPropertyName||t.name.kind===O.PrivateIdentifier)&&t.questionToken&&(G.optional=!0),t.exclamationToken&&(G.definite=!0),G.key.type===q.AST_NODE_TYPES.Literal&&t.questionToken&&(G.optional=!0),G}case O.GetAccessor:case O.SetAccessor:if(t.parent.kind===O.InterfaceDeclaration||t.parent.kind===O.TypeLiteral)return this.convertMethodSignature(t);case O.MethodDeclaration:{let g=this.createNode(t,{type:t.body?q.AST_NODE_TYPES.FunctionExpression:q.AST_NODE_TYPES.TSEmptyBodyFunctionExpression,id:null,generator:!!t.asteriskToken,expression:!1,async:(0,ye.hasModifier)(O.AsyncKeyword,t),body:this.convertChild(t.body),range:[t.parameters.pos-1,t.end],params:[]});t.type&&(g.returnType=this.convertTypeAnnotation(t.type,t)),t.typeParameters&&(g.typeParameters=this.convertTSTypeParametersToTypeParametersDeclaration(t.typeParameters),this.fixParentLocation(g,g.typeParameters.range));let A;if(n.kind===O.ObjectLiteralExpression)g.params=t.parameters.map(B=>this.convertChild(B)),A=this.createNode(t,{type:q.AST_NODE_TYPES.Property,key:this.convertChild(t.name),value:g,computed:(0,ye.isComputedProperty)(t.name),method:t.kind===O.MethodDeclaration,shorthand:!1,kind:"init"});else{g.params=this.convertParameters(t.parameters);let B=(0,ye.hasModifier)(O.AbstractKeyword,t)?q.AST_NODE_TYPES.TSAbstractMethodDefinition:q.AST_NODE_TYPES.MethodDefinition;A=this.createNode(t,{type:B,key:this.convertChild(t.name),value:g,computed:(0,ye.isComputedProperty)(t.name),static:(0,ye.hasModifier)(O.StaticKeyword,t),kind:"method",override:(0,ye.hasModifier)(O.OverrideKeyword,t)});let G=(0,$i.getDecorators)(t);G&&(A.decorators=G.map(Q=>this.convertChild(Q)));let oe=(0,ye.getTSNodeAccessibility)(t);oe&&(A.accessibility=oe)}return t.questionToken&&(A.optional=!0),t.kind===O.GetAccessor?A.kind="get":t.kind===O.SetAccessor?A.kind="set":!A.static&&t.name.kind===O.StringLiteral&&t.name.text==="constructor"&&A.type!==q.AST_NODE_TYPES.Property&&(A.kind="constructor"),A}case O.Constructor:{let g=(0,ye.getLastModifier)(t),A=g&&(0,ye.findNextToken)(g,t,this.ast)||t.getFirstToken(),B=this.createNode(t,{type:t.body?q.AST_NODE_TYPES.FunctionExpression:q.AST_NODE_TYPES.TSEmptyBodyFunctionExpression,id:null,params:this.convertParameters(t.parameters),generator:!1,expression:!1,async:!1,body:this.convertChild(t.body),range:[t.parameters.pos-1,t.end]});t.typeParameters&&(B.typeParameters=this.convertTSTypeParametersToTypeParametersDeclaration(t.typeParameters),this.fixParentLocation(B,B.typeParameters.range)),t.type&&(B.returnType=this.convertTypeAnnotation(t.type,t));let G=this.createNode(t,{type:q.AST_NODE_TYPES.Identifier,name:"constructor",range:[A.getStart(this.ast),A.end]}),oe=(0,ye.hasModifier)(O.StaticKeyword,t),Q=this.createNode(t,{type:(0,ye.hasModifier)(O.AbstractKeyword,t)?q.AST_NODE_TYPES.TSAbstractMethodDefinition:q.AST_NODE_TYPES.MethodDefinition,key:G,value:B,computed:!1,static:oe,kind:oe?"method":"constructor",override:!1}),W=(0,ye.getTSNodeAccessibility)(t);return W&&(Q.accessibility=W),Q}case O.FunctionExpression:{let g=this.createNode(t,{type:q.AST_NODE_TYPES.FunctionExpression,id:this.convertChild(t.name),generator:!!t.asteriskToken,params:this.convertParameters(t.parameters),body:this.convertChild(t.body),async:(0,ye.hasModifier)(O.AsyncKeyword,t),expression:!1});return t.type&&(g.returnType=this.convertTypeAnnotation(t.type,t)),t.typeParameters&&(g.typeParameters=this.convertTSTypeParametersToTypeParametersDeclaration(t.typeParameters)),g}case O.SuperKeyword:return this.createNode(t,{type:q.AST_NODE_TYPES.Super});case O.ArrayBindingPattern:return this.createNode(t,{type:q.AST_NODE_TYPES.ArrayPattern,elements:t.elements.map(g=>this.convertPattern(g))});case O.OmittedExpression:return null;case O.ObjectBindingPattern:return this.createNode(t,{type:q.AST_NODE_TYPES.ObjectPattern,properties:t.elements.map(g=>this.convertPattern(g))});case O.BindingElement:if(n.kind===O.ArrayBindingPattern){let g=this.convertChild(t.name,n);return t.initializer?this.createNode(t,{type:q.AST_NODE_TYPES.AssignmentPattern,left:g,right:this.convertChild(t.initializer)}):t.dotDotDotToken?this.createNode(t,{type:q.AST_NODE_TYPES.RestElement,argument:g}):g}else{let g;return t.dotDotDotToken?g=this.createNode(t,{type:q.AST_NODE_TYPES.RestElement,argument:this.convertChild((i=t.propertyName)!==null&&i!==void 0?i:t.name)}):g=this.createNode(t,{type:q.AST_NODE_TYPES.Property,key:this.convertChild((s=t.propertyName)!==null&&s!==void 0?s:t.name),value:this.convertChild(t.name),computed:!!(t.propertyName&&t.propertyName.kind===O.ComputedPropertyName),method:!1,shorthand:!t.propertyName,kind:"init"}),t.initializer&&(g.value=this.createNode(t,{type:q.AST_NODE_TYPES.AssignmentPattern,left:this.convertChild(t.name),right:this.convertChild(t.initializer),range:[t.name.getStart(this.ast),t.initializer.end]})),g}case O.ArrowFunction:{let g=this.createNode(t,{type:q.AST_NODE_TYPES.ArrowFunctionExpression,generator:!1,id:null,params:this.convertParameters(t.parameters),body:this.convertChild(t.body),async:(0,ye.hasModifier)(O.AsyncKeyword,t),expression:t.body.kind!==O.Block});return t.type&&(g.returnType=this.convertTypeAnnotation(t.type,t)),t.typeParameters&&(g.typeParameters=this.convertTSTypeParametersToTypeParametersDeclaration(t.typeParameters)),g}case O.YieldExpression:return this.createNode(t,{type:q.AST_NODE_TYPES.YieldExpression,delegate:!!t.asteriskToken,argument:this.convertChild(t.expression)});case O.AwaitExpression:return this.createNode(t,{type:q.AST_NODE_TYPES.AwaitExpression,argument:this.convertChild(t.expression)});case O.NoSubstitutionTemplateLiteral:return this.createNode(t,{type:q.AST_NODE_TYPES.TemplateLiteral,quasis:[this.createNode(t,{type:q.AST_NODE_TYPES.TemplateElement,value:{raw:this.ast.text.slice(t.getStart(this.ast)+1,t.end-1),cooked:t.text},tail:!0})],expressions:[]});case O.TemplateExpression:{let g=this.createNode(t,{type:q.AST_NODE_TYPES.TemplateLiteral,quasis:[this.convertChild(t.head)],expressions:[]});return t.templateSpans.forEach(A=>{g.expressions.push(this.convertChild(A.expression)),g.quasis.push(this.convertChild(A.literal))}),g}case O.TaggedTemplateExpression:return this.createNode(t,{type:q.AST_NODE_TYPES.TaggedTemplateExpression,typeParameters:t.typeArguments?this.convertTypeArgumentsToTypeParameters(t.typeArguments,t):void 0,tag:this.convertChild(t.tag),quasi:this.convertChild(t.template)});case O.TemplateHead:case O.TemplateMiddle:case O.TemplateTail:{let g=t.kind===O.TemplateTail;return this.createNode(t,{type:q.AST_NODE_TYPES.TemplateElement,value:{raw:this.ast.text.slice(t.getStart(this.ast)+1,t.end-(g?1:2)),cooked:t.text},tail:g})}case O.SpreadAssignment:case O.SpreadElement:return this.allowPattern?this.createNode(t,{type:q.AST_NODE_TYPES.RestElement,argument:this.convertPattern(t.expression)}):this.createNode(t,{type:q.AST_NODE_TYPES.SpreadElement,argument:this.convertChild(t.expression)});case O.Parameter:{let g,A;return t.dotDotDotToken?g=A=this.createNode(t,{type:q.AST_NODE_TYPES.RestElement,argument:this.convertChild(t.name)}):t.initializer?(g=this.convertChild(t.name),A=this.createNode(t,{type:q.AST_NODE_TYPES.AssignmentPattern,left:g,right:this.convertChild(t.initializer)}),(0,$i.getModifiers)(t)&&(A.range[0]=g.range[0],A.loc=(0,ye.getLocFor)(A.range[0],A.range[1],this.ast))):g=A=this.convertChild(t.name,n),t.type&&(g.typeAnnotation=this.convertTypeAnnotation(t.type,t),this.fixParentLocation(g,g.typeAnnotation.range)),t.questionToken&&(t.questionToken.end>g.range[1]&&(g.range[1]=t.questionToken.end,g.loc.end=(0,ye.getLineAndCharacterFor)(g.range[1],this.ast)),g.optional=!0),(0,$i.getModifiers)(t)?this.createNode(t,{type:q.AST_NODE_TYPES.TSParameterProperty,accessibility:(l=(0,ye.getTSNodeAccessibility)(t))!==null&&l!==void 0?l:void 0,readonly:(0,ye.hasModifier)(O.ReadonlyKeyword,t)||void 0,static:(0,ye.hasModifier)(O.StaticKeyword,t)||void 0,export:(0,ye.hasModifier)(O.ExportKeyword,t)||void 0,override:(0,ye.hasModifier)(O.OverrideKeyword,t)||void 0,parameter:A}):A}case O.ClassDeclaration:case O.ClassExpression:{let g=(d=t.heritageClauses)!==null&&d!==void 0?d:[],A=t.kind===O.ClassDeclaration?q.AST_NODE_TYPES.ClassDeclaration:q.AST_NODE_TYPES.ClassExpression,B=g.find(se=>se.token===O.ExtendsKeyword),G=g.find(se=>se.token===O.ImplementsKeyword),oe=this.createNode(t,{type:A,id:this.convertChild(t.name),body:this.createNode(t,{type:q.AST_NODE_TYPES.ClassBody,body:[],range:[t.members.pos-1,t.end]}),superClass:B!=null&&B.types[0]?this.convertChild(B.types[0].expression):null});if(B){if(B.types.length>1)throw(0,ye.createError)(this.ast,B.types[1].pos,"Classes can only extend a single class.");!((y=B.types[0])===null||y===void 0)&&y.typeArguments&&(oe.superTypeParameters=this.convertTypeArgumentsToTypeParameters(B.types[0].typeArguments,B.types[0]))}t.typeParameters&&(oe.typeParameters=this.convertTSTypeParametersToTypeParametersDeclaration(t.typeParameters)),G&&(oe.implements=G.types.map(se=>this.convertChild(se))),(0,ye.hasModifier)(O.AbstractKeyword,t)&&(oe.abstract=!0),(0,ye.hasModifier)(O.DeclareKeyword,t)&&(oe.declare=!0);let Q=(0,$i.getDecorators)(t);Q&&(oe.decorators=Q.map(se=>this.convertChild(se)));let W=t.members.filter(ye.isESTreeClassMember);return W.length&&(oe.body.body=W.map(se=>this.convertChild(se))),this.fixExports(t,oe)}case O.ModuleBlock:return this.createNode(t,{type:q.AST_NODE_TYPES.TSModuleBlock,body:this.convertBodyExpressions(t.statements,t)});case O.ImportDeclaration:{this.assertModuleSpecifier(t,!1);let g=this.createNode(t,{type:q.AST_NODE_TYPES.ImportDeclaration,source:this.convertChild(t.moduleSpecifier),specifiers:[],importKind:"value",assertions:this.convertAssertClasue(t.assertClause)});if(t.importClause&&(t.importClause.isTypeOnly&&(g.importKind="type"),t.importClause.name&&g.specifiers.push(this.convertChild(t.importClause)),t.importClause.namedBindings))switch(t.importClause.namedBindings.kind){case O.NamespaceImport:g.specifiers.push(this.convertChild(t.importClause.namedBindings));break;case O.NamedImports:g.specifiers=g.specifiers.concat(t.importClause.namedBindings.elements.map(A=>this.convertChild(A)));break}return g}case O.NamespaceImport:return this.createNode(t,{type:q.AST_NODE_TYPES.ImportNamespaceSpecifier,local:this.convertChild(t.name)});case O.ImportSpecifier:return this.createNode(t,{type:q.AST_NODE_TYPES.ImportSpecifier,local:this.convertChild(t.name),imported:this.convertChild((p=t.propertyName)!==null&&p!==void 0?p:t.name),importKind:t.isTypeOnly?"type":"value"});case O.ImportClause:{let g=this.convertChild(t.name);return this.createNode(t,{type:q.AST_NODE_TYPES.ImportDefaultSpecifier,local:g,range:g.range})}case O.ExportDeclaration:return((x=t.exportClause)===null||x===void 0?void 0:x.kind)===O.NamedExports?(this.assertModuleSpecifier(t,!0),this.createNode(t,{type:q.AST_NODE_TYPES.ExportNamedDeclaration,source:this.convertChild(t.moduleSpecifier),specifiers:t.exportClause.elements.map(g=>this.convertChild(g)),exportKind:t.isTypeOnly?"type":"value",declaration:null,assertions:this.convertAssertClasue(t.assertClause)})):(this.assertModuleSpecifier(t,!1),this.createNode(t,{type:q.AST_NODE_TYPES.ExportAllDeclaration,source:this.convertChild(t.moduleSpecifier),exportKind:t.isTypeOnly?"type":"value",exported:t.exportClause&&t.exportClause.kind===O.NamespaceExport?this.convertChild(t.exportClause.name):null,assertions:this.convertAssertClasue(t.assertClause)}));case O.ExportSpecifier:return this.createNode(t,{type:q.AST_NODE_TYPES.ExportSpecifier,local:this.convertChild((h=t.propertyName)!==null&&h!==void 0?h:t.name),exported:this.convertChild(t.name),exportKind:t.isTypeOnly?"type":"value"});case O.ExportAssignment:return t.isExportEquals?this.createNode(t,{type:q.AST_NODE_TYPES.TSExportAssignment,expression:this.convertChild(t.expression)}):this.createNode(t,{type:q.AST_NODE_TYPES.ExportDefaultDeclaration,declaration:this.convertChild(t.expression),exportKind:"value"});case O.PrefixUnaryExpression:case O.PostfixUnaryExpression:{let g=(0,ye.getTextForTokenKind)(t.operator);return g==="++"||g==="--"?this.createNode(t,{type:q.AST_NODE_TYPES.UpdateExpression,operator:g,prefix:t.kind===O.PrefixUnaryExpression,argument:this.convertChild(t.operand)}):this.createNode(t,{type:q.AST_NODE_TYPES.UnaryExpression,operator:g,prefix:t.kind===O.PrefixUnaryExpression,argument:this.convertChild(t.operand)})}case O.DeleteExpression:return this.createNode(t,{type:q.AST_NODE_TYPES.UnaryExpression,operator:"delete",prefix:!0,argument:this.convertChild(t.expression)});case O.VoidExpression:return this.createNode(t,{type:q.AST_NODE_TYPES.UnaryExpression,operator:"void",prefix:!0,argument:this.convertChild(t.expression)});case O.TypeOfExpression:return this.createNode(t,{type:q.AST_NODE_TYPES.UnaryExpression,operator:"typeof",prefix:!0,argument:this.convertChild(t.expression)});case O.TypeOperator:return this.createNode(t,{type:q.AST_NODE_TYPES.TSTypeOperator,operator:(0,ye.getTextForTokenKind)(t.operator),typeAnnotation:this.convertChild(t.type)});case O.BinaryExpression:if((0,ye.isComma)(t.operatorToken)){let g=this.createNode(t,{type:q.AST_NODE_TYPES.SequenceExpression,expressions:[]}),A=this.convertChild(t.left);return A.type===q.AST_NODE_TYPES.SequenceExpression&&t.left.kind!==O.ParenthesizedExpression?g.expressions=g.expressions.concat(A.expressions):g.expressions.push(A),g.expressions.push(this.convertChild(t.right)),g}else{let g=(0,ye.getBinaryExpressionType)(t.operatorToken);return this.allowPattern&&g===q.AST_NODE_TYPES.AssignmentExpression?this.createNode(t,{type:q.AST_NODE_TYPES.AssignmentPattern,left:this.convertPattern(t.left,t),right:this.convertChild(t.right)}):this.createNode(t,{type:g,operator:(0,ye.getTextForTokenKind)(t.operatorToken.kind),left:this.converter(t.left,t,this.inTypeMode,g===q.AST_NODE_TYPES.AssignmentExpression),right:this.convertChild(t.right)})}case O.PropertyAccessExpression:{let g=this.convertChild(t.expression),A=this.convertChild(t.name),B=!1,G=this.createNode(t,{type:q.AST_NODE_TYPES.MemberExpression,object:g,property:A,computed:B,optional:t.questionDotToken!==void 0});return this.convertChainExpression(G,t)}case O.ElementAccessExpression:{let g=this.convertChild(t.expression),A=this.convertChild(t.argumentExpression),B=!0,G=this.createNode(t,{type:q.AST_NODE_TYPES.MemberExpression,object:g,property:A,computed:B,optional:t.questionDotToken!==void 0});return this.convertChainExpression(G,t)}case O.CallExpression:{if(t.expression.kind===O.ImportKeyword){if(t.arguments.length!==1&&t.arguments.length!==2)throw(0,ye.createError)(this.ast,t.arguments.pos,"Dynamic import requires exactly one or two arguments.");return this.createNode(t,{type:q.AST_NODE_TYPES.ImportExpression,source:this.convertChild(t.arguments[0]),attributes:t.arguments[1]?this.convertChild(t.arguments[1]):null})}let g=this.convertChild(t.expression),A=t.arguments.map(G=>this.convertChild(G)),B=this.createNode(t,{type:q.AST_NODE_TYPES.CallExpression,callee:g,arguments:A,optional:t.questionDotToken!==void 0});return t.typeArguments&&(B.typeParameters=this.convertTypeArgumentsToTypeParameters(t.typeArguments,t)),this.convertChainExpression(B,t)}case O.NewExpression:{let g=this.createNode(t,{type:q.AST_NODE_TYPES.NewExpression,callee:this.convertChild(t.expression),arguments:t.arguments?t.arguments.map(A=>this.convertChild(A)):[]});return t.typeArguments&&(g.typeParameters=this.convertTypeArgumentsToTypeParameters(t.typeArguments,t)),g}case O.ConditionalExpression:return this.createNode(t,{type:q.AST_NODE_TYPES.ConditionalExpression,test:this.convertChild(t.condition),consequent:this.convertChild(t.whenTrue),alternate:this.convertChild(t.whenFalse)});case O.MetaProperty:return this.createNode(t,{type:q.AST_NODE_TYPES.MetaProperty,meta:this.createNode(t.getFirstToken(),{type:q.AST_NODE_TYPES.Identifier,name:(0,ye.getTextForTokenKind)(t.keywordToken)}),property:this.convertChild(t.name)});case O.Decorator:return this.createNode(t,{type:q.AST_NODE_TYPES.Decorator,expression:this.convertChild(t.expression)});case O.StringLiteral:return this.createNode(t,{type:q.AST_NODE_TYPES.Literal,value:n.kind===O.JsxAttribute?(0,ye.unescapeStringLiteralText)(t.text):t.text,raw:t.getText()});case O.NumericLiteral:return this.createNode(t,{type:q.AST_NODE_TYPES.Literal,value:Number(t.text),raw:t.getText()});case O.BigIntLiteral:{let g=(0,ye.getRange)(t,this.ast),A=this.ast.text.slice(g[0],g[1]),B=A.slice(0,-1).replace(/_/g,""),G=typeof BigInt<"u"?BigInt(B):null;return this.createNode(t,{type:q.AST_NODE_TYPES.Literal,raw:A,value:G,bigint:G==null?B:String(G),range:g})}case O.RegularExpressionLiteral:{let g=t.text.slice(1,t.text.lastIndexOf("/")),A=t.text.slice(t.text.lastIndexOf("/")+1),B=null;try{B=new RegExp(g,A)}catch{B=null}return this.createNode(t,{type:q.AST_NODE_TYPES.Literal,value:B,raw:t.text,regex:{pattern:g,flags:A}})}case O.TrueKeyword:return this.createNode(t,{type:q.AST_NODE_TYPES.Literal,value:!0,raw:"true"});case O.FalseKeyword:return this.createNode(t,{type:q.AST_NODE_TYPES.Literal,value:!1,raw:"false"});case O.NullKeyword:return!Tw.typescriptVersionIsAtLeast["4.0"]&&this.inTypeMode?this.createNode(t,{type:q.AST_NODE_TYPES.TSNullKeyword}):this.createNode(t,{type:q.AST_NODE_TYPES.Literal,value:null,raw:"null"});case O.EmptyStatement:return this.createNode(t,{type:q.AST_NODE_TYPES.EmptyStatement});case O.DebuggerStatement:return this.createNode(t,{type:q.AST_NODE_TYPES.DebuggerStatement});case O.JsxElement:return this.createNode(t,{type:q.AST_NODE_TYPES.JSXElement,openingElement:this.convertChild(t.openingElement),closingElement:this.convertChild(t.closingElement),children:t.children.map(g=>this.convertChild(g))});case O.JsxFragment:return this.createNode(t,{type:q.AST_NODE_TYPES.JSXFragment,openingFragment:this.convertChild(t.openingFragment),closingFragment:this.convertChild(t.closingFragment),children:t.children.map(g=>this.convertChild(g))});case O.JsxSelfClosingElement:return this.createNode(t,{type:q.AST_NODE_TYPES.JSXElement,openingElement:this.createNode(t,{type:q.AST_NODE_TYPES.JSXOpeningElement,typeParameters:t.typeArguments?this.convertTypeArgumentsToTypeParameters(t.typeArguments,t):void 0,selfClosing:!0,name:this.convertJSXTagName(t.tagName,t),attributes:t.attributes.properties.map(g=>this.convertChild(g)),range:(0,ye.getRange)(t,this.ast)}),closingElement:null,children:[]});case O.JsxOpeningElement:return this.createNode(t,{type:q.AST_NODE_TYPES.JSXOpeningElement,typeParameters:t.typeArguments?this.convertTypeArgumentsToTypeParameters(t.typeArguments,t):void 0,selfClosing:!1,name:this.convertJSXTagName(t.tagName,t),attributes:t.attributes.properties.map(g=>this.convertChild(g))});case O.JsxClosingElement:return this.createNode(t,{type:q.AST_NODE_TYPES.JSXClosingElement,name:this.convertJSXTagName(t.tagName,t)});case O.JsxOpeningFragment:return this.createNode(t,{type:q.AST_NODE_TYPES.JSXOpeningFragment});case O.JsxClosingFragment:return this.createNode(t,{type:q.AST_NODE_TYPES.JSXClosingFragment});case O.JsxExpression:{let g=t.expression?this.convertChild(t.expression):this.createNode(t,{type:q.AST_NODE_TYPES.JSXEmptyExpression,range:[t.getStart(this.ast)+1,t.getEnd()-1]});return t.dotDotDotToken?this.createNode(t,{type:q.AST_NODE_TYPES.JSXSpreadChild,expression:g}):this.createNode(t,{type:q.AST_NODE_TYPES.JSXExpressionContainer,expression:g})}case O.JsxAttribute:return this.createNode(t,{type:q.AST_NODE_TYPES.JSXAttribute,name:this.convertJSXNamespaceOrIdentifier(t.name),value:this.convertChild(t.initializer)});case O.JsxText:{let g=t.getFullStart(),A=t.getEnd(),B=this.ast.text.slice(g,A);return this.createNode(t,{type:q.AST_NODE_TYPES.JSXText,value:(0,ye.unescapeStringLiteralText)(B),raw:B,range:[g,A]})}case O.JsxSpreadAttribute:return this.createNode(t,{type:q.AST_NODE_TYPES.JSXSpreadAttribute,argument:this.convertChild(t.expression)});case O.QualifiedName:return this.createNode(t,{type:q.AST_NODE_TYPES.TSQualifiedName,left:this.convertChild(t.left),right:this.convertChild(t.right)});case O.TypeReference:return this.createNode(t,{type:q.AST_NODE_TYPES.TSTypeReference,typeName:this.convertType(t.typeName),typeParameters:t.typeArguments?this.convertTypeArgumentsToTypeParameters(t.typeArguments,t):void 0});case O.TypeParameter:return this.createNode(t,{type:q.AST_NODE_TYPES.TSTypeParameter,name:this.convertType(t.name),constraint:t.constraint?this.convertType(t.constraint):void 0,default:t.default?this.convertType(t.default):void 0,in:(0,ye.hasModifier)(O.InKeyword,t),out:(0,ye.hasModifier)(O.OutKeyword,t),const:(0,ye.hasModifier)(O.ConstKeyword,t)});case O.ThisType:return this.createNode(t,{type:q.AST_NODE_TYPES.TSThisType});case O.AnyKeyword:case O.BigIntKeyword:case O.BooleanKeyword:case O.NeverKeyword:case O.NumberKeyword:case O.ObjectKeyword:case O.StringKeyword:case O.SymbolKeyword:case O.UnknownKeyword:case O.VoidKeyword:case O.UndefinedKeyword:case O.IntrinsicKeyword:return this.createNode(t,{type:q.AST_NODE_TYPES[`TS${O[t.kind]}`]});case O.NonNullExpression:{let g=this.createNode(t,{type:q.AST_NODE_TYPES.TSNonNullExpression,expression:this.convertChild(t.expression)});return this.convertChainExpression(g,t)}case O.TypeLiteral:return this.createNode(t,{type:q.AST_NODE_TYPES.TSTypeLiteral,members:t.members.map(g=>this.convertChild(g))});case O.ArrayType:return this.createNode(t,{type:q.AST_NODE_TYPES.TSArrayType,elementType:this.convertType(t.elementType)});case O.IndexedAccessType:return this.createNode(t,{type:q.AST_NODE_TYPES.TSIndexedAccessType,objectType:this.convertType(t.objectType),indexType:this.convertType(t.indexType)});case O.ConditionalType:return this.createNode(t,{type:q.AST_NODE_TYPES.TSConditionalType,checkType:this.convertType(t.checkType),extendsType:this.convertType(t.extendsType),trueType:this.convertType(t.trueType),falseType:this.convertType(t.falseType)});case O.TypeQuery:return this.createNode(t,{type:q.AST_NODE_TYPES.TSTypeQuery,exprName:this.convertType(t.exprName),typeParameters:t.typeArguments&&this.convertTypeArgumentsToTypeParameters(t.typeArguments,t)});case O.MappedType:{let g=this.createNode(t,{type:q.AST_NODE_TYPES.TSMappedType,typeParameter:this.convertType(t.typeParameter),nameType:(D=this.convertType(t.nameType))!==null&&D!==void 0?D:null});return t.readonlyToken&&(t.readonlyToken.kind===O.ReadonlyKeyword?g.readonly=!0:g.readonly=(0,ye.getTextForTokenKind)(t.readonlyToken.kind)),t.questionToken&&(t.questionToken.kind===O.QuestionToken?g.optional=!0:g.optional=(0,ye.getTextForTokenKind)(t.questionToken.kind)),t.type&&(g.typeAnnotation=this.convertType(t.type)),g}case O.ParenthesizedExpression:return this.convertChild(t.expression,n);case O.TypeAliasDeclaration:{let g=this.createNode(t,{type:q.AST_NODE_TYPES.TSTypeAliasDeclaration,id:this.convertChild(t.name),typeAnnotation:this.convertType(t.type)});return(0,ye.hasModifier)(O.DeclareKeyword,t)&&(g.declare=!0),t.typeParameters&&(g.typeParameters=this.convertTSTypeParametersToTypeParametersDeclaration(t.typeParameters)),this.fixExports(t,g)}case O.MethodSignature:return this.convertMethodSignature(t);case O.PropertySignature:{let g=this.createNode(t,{type:q.AST_NODE_TYPES.TSPropertySignature,optional:(0,ye.isOptional)(t)||void 0,computed:(0,ye.isComputedProperty)(t.name),key:this.convertChild(t.name),typeAnnotation:t.type?this.convertTypeAnnotation(t.type,t):void 0,initializer:this.convertChild(t.initializer)||void 0,readonly:(0,ye.hasModifier)(O.ReadonlyKeyword,t)||void 0,static:(0,ye.hasModifier)(O.StaticKeyword,t)||void 0,export:(0,ye.hasModifier)(O.ExportKeyword,t)||void 0}),A=(0,ye.getTSNodeAccessibility)(t);return A&&(g.accessibility=A),g}case O.IndexSignature:{let g=this.createNode(t,{type:q.AST_NODE_TYPES.TSIndexSignature,parameters:t.parameters.map(B=>this.convertChild(B))});t.type&&(g.typeAnnotation=this.convertTypeAnnotation(t.type,t)),(0,ye.hasModifier)(O.ReadonlyKeyword,t)&&(g.readonly=!0);let A=(0,ye.getTSNodeAccessibility)(t);return A&&(g.accessibility=A),(0,ye.hasModifier)(O.ExportKeyword,t)&&(g.export=!0),(0,ye.hasModifier)(O.StaticKeyword,t)&&(g.static=!0),g}case O.ConstructorType:{let g=this.createNode(t,{type:q.AST_NODE_TYPES.TSConstructorType,params:this.convertParameters(t.parameters),abstract:(0,ye.hasModifier)(O.AbstractKeyword,t)});return t.type&&(g.returnType=this.convertTypeAnnotation(t.type,t)),t.typeParameters&&(g.typeParameters=this.convertTSTypeParametersToTypeParametersDeclaration(t.typeParameters)),g}case O.FunctionType:case O.ConstructSignature:case O.CallSignature:{let g=t.kind===O.ConstructSignature?q.AST_NODE_TYPES.TSConstructSignatureDeclaration:t.kind===O.CallSignature?q.AST_NODE_TYPES.TSCallSignatureDeclaration:q.AST_NODE_TYPES.TSFunctionType,A=this.createNode(t,{type:g,params:this.convertParameters(t.parameters)});return t.type&&(A.returnType=this.convertTypeAnnotation(t.type,t)),t.typeParameters&&(A.typeParameters=this.convertTSTypeParametersToTypeParametersDeclaration(t.typeParameters)),A}case O.ExpressionWithTypeArguments:{let g=n.kind,A=g===O.InterfaceDeclaration?q.AST_NODE_TYPES.TSInterfaceHeritage:g===O.HeritageClause?q.AST_NODE_TYPES.TSClassImplements:q.AST_NODE_TYPES.TSInstantiationExpression,B=this.createNode(t,{type:A,expression:this.convertChild(t.expression)});return t.typeArguments&&(B.typeParameters=this.convertTypeArgumentsToTypeParameters(t.typeArguments,t)),B}case O.InterfaceDeclaration:{let g=(w=t.heritageClauses)!==null&&w!==void 0?w:[],A=this.createNode(t,{type:q.AST_NODE_TYPES.TSInterfaceDeclaration,body:this.createNode(t,{type:q.AST_NODE_TYPES.TSInterfaceBody,body:t.members.map(B=>this.convertChild(B)),range:[t.members.pos-1,t.end]}),id:this.convertChild(t.name)});if(t.typeParameters&&(A.typeParameters=this.convertTSTypeParametersToTypeParametersDeclaration(t.typeParameters)),g.length>0){let B=[],G=[];for(let oe of g)if(oe.token===O.ExtendsKeyword)for(let Q of oe.types)B.push(this.convertChild(Q,t));else for(let Q of oe.types)G.push(this.convertChild(Q,t));B.length&&(A.extends=B),G.length&&(A.implements=G)}return(0,ye.hasModifier)(O.AbstractKeyword,t)&&(A.abstract=!0),(0,ye.hasModifier)(O.DeclareKeyword,t)&&(A.declare=!0),this.fixExports(t,A)}case O.TypePredicate:{let g=this.createNode(t,{type:q.AST_NODE_TYPES.TSTypePredicate,asserts:t.assertsModifier!==void 0,parameterName:this.convertChild(t.parameterName),typeAnnotation:null});return t.type&&(g.typeAnnotation=this.convertTypeAnnotation(t.type,t),g.typeAnnotation.loc=g.typeAnnotation.typeAnnotation.loc,g.typeAnnotation.range=g.typeAnnotation.typeAnnotation.range),g}case O.ImportType:return this.createNode(t,{type:q.AST_NODE_TYPES.TSImportType,isTypeOf:!!t.isTypeOf,parameter:this.convertChild(t.argument),qualifier:this.convertChild(t.qualifier),typeParameters:t.typeArguments?this.convertTypeArgumentsToTypeParameters(t.typeArguments,t):null});case O.EnumDeclaration:{let g=this.createNode(t,{type:q.AST_NODE_TYPES.TSEnumDeclaration,id:this.convertChild(t.name),members:t.members.map(A=>this.convertChild(A))});return this.applyModifiersToResult(g,(0,$i.getModifiers)(t)),this.fixExports(t,g)}case O.EnumMember:{let g=this.createNode(t,{type:q.AST_NODE_TYPES.TSEnumMember,id:this.convertChild(t.name)});return t.initializer&&(g.initializer=this.convertChild(t.initializer)),t.name.kind===so.SyntaxKind.ComputedPropertyName&&(g.computed=!0),g}case O.ModuleDeclaration:{let g=this.createNode(t,Object.assign({type:q.AST_NODE_TYPES.TSModuleDeclaration},(()=>{let A=this.convertChild(t.name),B=this.convertChild(t.body);if(t.flags&so.NodeFlags.GlobalAugmentation){if(B==null||B.type===q.AST_NODE_TYPES.TSModuleDeclaration)throw new Error("Expected a valid module body");if(A.type!==q.AST_NODE_TYPES.Identifier)throw new Error("global module augmentation must have an Identifier id");return{kind:"global",id:A,body:B,global:!0}}else if(t.flags&so.NodeFlags.Namespace){if(B==null)throw new Error("Expected a module body");if(A.type!==q.AST_NODE_TYPES.Identifier)throw new Error("`namespace`s must have an Identifier id");return{kind:"namespace",id:A,body:B}}else return Object.assign({kind:"module",id:A},B!=null?{body:B}:{})})()));return this.applyModifiersToResult(g,(0,$i.getModifiers)(t)),this.fixExports(t,g)}case O.ParenthesizedType:return this.convertType(t.type);case O.UnionType:return this.createNode(t,{type:q.AST_NODE_TYPES.TSUnionType,types:t.types.map(g=>this.convertType(g))});case O.IntersectionType:return this.createNode(t,{type:q.AST_NODE_TYPES.TSIntersectionType,types:t.types.map(g=>this.convertType(g))});case O.AsExpression:return this.createNode(t,{type:q.AST_NODE_TYPES.TSAsExpression,expression:this.convertChild(t.expression),typeAnnotation:this.convertType(t.type)});case O.InferType:return this.createNode(t,{type:q.AST_NODE_TYPES.TSInferType,typeParameter:this.convertType(t.typeParameter)});case O.LiteralType:return Tw.typescriptVersionIsAtLeast["4.0"]&&t.literal.kind===O.NullKeyword?this.createNode(t.literal,{type:q.AST_NODE_TYPES.TSNullKeyword}):this.createNode(t,{type:q.AST_NODE_TYPES.TSLiteralType,literal:this.convertType(t.literal)});case O.TypeAssertionExpression:return this.createNode(t,{type:q.AST_NODE_TYPES.TSTypeAssertion,typeAnnotation:this.convertType(t.type),expression:this.convertChild(t.expression)});case O.ImportEqualsDeclaration:return this.createNode(t,{type:q.AST_NODE_TYPES.TSImportEqualsDeclaration,id:this.convertChild(t.name),moduleReference:this.convertChild(t.moduleReference),importKind:t.isTypeOnly?"type":"value",isExport:(0,ye.hasModifier)(O.ExportKeyword,t)});case O.ExternalModuleReference:return this.createNode(t,{type:q.AST_NODE_TYPES.TSExternalModuleReference,expression:this.convertChild(t.expression)});case O.NamespaceExportDeclaration:return this.createNode(t,{type:q.AST_NODE_TYPES.TSNamespaceExportDeclaration,id:this.convertChild(t.name)});case O.AbstractKeyword:return this.createNode(t,{type:q.AST_NODE_TYPES.TSAbstractKeyword});case O.TupleType:{let g="elementTypes"in t?t.elementTypes.map(A=>this.convertType(A)):t.elements.map(A=>this.convertType(A));return this.createNode(t,{type:q.AST_NODE_TYPES.TSTupleType,elementTypes:g})}case O.NamedTupleMember:{let g=this.createNode(t,{type:q.AST_NODE_TYPES.TSNamedTupleMember,elementType:this.convertType(t.type,t),label:this.convertChild(t.name,t),optional:t.questionToken!=null});return t.dotDotDotToken?(g.range[0]=g.label.range[0],g.loc.start=g.label.loc.start,this.createNode(t,{type:q.AST_NODE_TYPES.TSRestType,typeAnnotation:g})):g}case O.OptionalType:return this.createNode(t,{type:q.AST_NODE_TYPES.TSOptionalType,typeAnnotation:this.convertType(t.type)});case O.RestType:return this.createNode(t,{type:q.AST_NODE_TYPES.TSRestType,typeAnnotation:this.convertType(t.type)});case O.TemplateLiteralType:{let g=this.createNode(t,{type:q.AST_NODE_TYPES.TSTemplateLiteralType,quasis:[this.convertChild(t.head)],types:[]});return t.templateSpans.forEach(A=>{g.types.push(this.convertChild(A.type)),g.quasis.push(this.convertChild(A.literal))}),g}case O.ClassStaticBlockDeclaration:return this.createNode(t,{type:q.AST_NODE_TYPES.StaticBlock,body:this.convertBodyExpressions(t.body.statements,t)});case O.AssertEntry:return this.createNode(t,{type:q.AST_NODE_TYPES.ImportAttribute,key:this.convertChild(t.name),value:this.convertChild(t.value)});case O.SatisfiesExpression:return this.createNode(t,{type:q.AST_NODE_TYPES.TSSatisfiesExpression,expression:this.convertChild(t.expression),typeAnnotation:this.convertChild(t.type)});default:return this.deeplyCopy(t)}}};Yr.Converter=n6});var Qi={};Ud(Qi,{__assign:()=>a6,__asyncDelegator:()=>hU,__asyncGenerator:()=>yU,__asyncValues:()=>gU,__await:()=>iu,__awaiter:()=>lU,__classPrivateFieldGet:()=>xU,__classPrivateFieldSet:()=>SU,__createBinding:()=>pU,__decorate:()=>sU,__exportStar:()=>dU,__extends:()=>aU,__generator:()=>uU,__importDefault:()=>TU,__importStar:()=>vU,__makeTemplateObject:()=>bU,__metadata:()=>cU,__param:()=>_U,__read:()=>xw,__rest:()=>oU,__spread:()=>fU,__spreadArrays:()=>mU,__values:()=>o6});function aU(e,t){i6(e,t);function n(){this.constructor=e}e.prototype=t===null?Object.create(t):(n.prototype=t.prototype,new n)}function oU(e,t){var n={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.indexOf(i)<0&&(n[i]=e[i]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var s=0,i=Object.getOwnPropertySymbols(e);s=0;y--)(d=e[y])&&(l=(s<3?d(l):s>3?d(t,n,l):d(t,n))||l);return s>3&&l&&Object.defineProperty(t,n,l),l}function _U(e,t){return function(n,i){t(n,i,e)}}function cU(e,t){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(e,t)}function lU(e,t,n,i){function s(l){return l instanceof n?l:new n(function(d){d(l)})}return new(n||(n=Promise))(function(l,d){function y(h){try{x(i.next(h))}catch(D){d(D)}}function p(h){try{x(i.throw(h))}catch(D){d(D)}}function x(h){h.done?l(h.value):s(h.value).then(y,p)}x((i=i.apply(e,t||[])).next())})}function uU(e,t){var n={label:0,sent:function(){if(l[0]&1)throw l[1];return l[1]},trys:[],ops:[]},i,s,l,d;return d={next:y(0),throw:y(1),return:y(2)},typeof Symbol=="function"&&(d[Symbol.iterator]=function(){return this}),d;function y(x){return function(h){return p([x,h])}}function p(x){if(i)throw new TypeError("Generator is already executing.");for(;n;)try{if(i=1,s&&(l=x[0]&2?s.return:x[0]?s.throw||((l=s.return)&&l.call(s),0):s.next)&&!(l=l.call(s,x[1])).done)return l;switch(s=0,l&&(x=[x[0]&2,l.value]),x[0]){case 0:case 1:l=x;break;case 4:return n.label++,{value:x[1],done:!1};case 5:n.label++,s=x[1],x=[0];continue;case 7:x=n.ops.pop(),n.trys.pop();continue;default:if(l=n.trys,!(l=l.length>0&&l[l.length-1])&&(x[0]===6||x[0]===2)){n=0;continue}if(x[0]===3&&(!l||x[1]>l[0]&&x[1]=e.length&&(e=void 0),{value:e&&e[i++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function xw(e,t){var n=typeof Symbol=="function"&&e[Symbol.iterator];if(!n)return e;var i=n.call(e),s,l=[],d;try{for(;(t===void 0||t-- >0)&&!(s=i.next()).done;)l.push(s.value)}catch(y){d={error:y}}finally{try{s&&!s.done&&(n=i.return)&&n.call(i)}finally{if(d)throw d.error}}return l}function fU(){for(var e=[],t=0;t1||y(w,g)})})}function y(w,g){try{p(i[w](g))}catch(A){D(l[0][3],A)}}function p(w){w.value instanceof iu?Promise.resolve(w.value.v).then(x,h):D(l[0][2],w)}function x(w){y("next",w)}function h(w){y("throw",w)}function D(w,g){w(g),l.shift(),l.length&&y(l[0][0],l[0][1])}}function hU(e){var t,n;return t={},i("next"),i("throw",function(s){throw s}),i("return"),t[Symbol.iterator]=function(){return this},t;function i(s,l){t[s]=e[s]?function(d){return(n=!n)?{value:iu(e[s](d)),done:s==="return"}:l?l(d):d}:l}}function gU(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t=e[Symbol.asyncIterator],n;return t?t.call(e):(e=typeof o6=="function"?o6(e):e[Symbol.iterator](),n={},i("next"),i("throw"),i("return"),n[Symbol.asyncIterator]=function(){return this},n);function i(l){n[l]=e[l]&&function(d){return new Promise(function(y,p){d=e[l](d),s(y,p,d.done,d.value)})}}function s(l,d,y,p){Promise.resolve(p).then(function(x){l({value:x,done:y})},d)}}function bU(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e}function vU(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var n in e)Object.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function TU(e){return e&&e.__esModule?e:{default:e}}function xU(e,t){if(!t.has(e))throw new TypeError("attempted to get private field on non-instance");return t.get(e)}function SU(e,t,n){if(!t.has(e))throw new TypeError("attempted to set private field on non-instance");return t.set(e,n),n}var i6,a6,Yi=$6(()=>{i6=function(e,t){return i6=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,i){n.__proto__=i}||function(n,i){for(var s in i)i.hasOwnProperty(s)&&(n[s]=i[s])},i6(e,t)};a6=function(){return a6=Object.assign||function(t){for(var n,i=1,s=arguments.length;i{"use strict";Object.defineProperty(k,"__esModule",{value:!0});k.isExpressionStatement=k.isExpression=k.isExportSpecifier=k.isExportDeclaration=k.isExportAssignment=k.isEnumMember=k.isEnumDeclaration=k.isEntityNameExpression=k.isEntityName=k.isEmptyStatement=k.isElementAccessExpression=k.isDoStatement=k.isDeleteExpression=k.isDefaultClause=k.isDecorator=k.isDebuggerStatement=k.isComputedPropertyName=k.isContinueStatement=k.isConstructSignatureDeclaration=k.isConstructorTypeNode=k.isConstructorDeclaration=k.isConditionalTypeNode=k.isConditionalExpression=k.isCommaListExpression=k.isClassLikeDeclaration=k.isClassExpression=k.isClassDeclaration=k.isCatchClause=k.isCaseOrDefaultClause=k.isCaseClause=k.isCaseBlock=k.isCallSignatureDeclaration=k.isCallLikeExpression=k.isCallExpression=k.isBreakStatement=k.isBreakOrContinueStatement=k.isBooleanLiteral=k.isBlockLike=k.isBlock=k.isBindingPattern=k.isBindingElement=k.isBinaryExpression=k.isAwaitExpression=k.isAssertionExpression=k.isAsExpression=k.isArrowFunction=k.isArrayTypeNode=k.isArrayLiteralExpression=k.isArrayBindingPattern=k.isAccessorDeclaration=void 0;k.isNamespaceImport=k.isNamespaceDeclaration=k.isNamedImports=k.isNamedExports=k.isModuleDeclaration=k.isModuleBlock=k.isMethodSignature=k.isMethodDeclaration=k.isMetaProperty=k.isMappedTypeNode=k.isLiteralTypeNode=k.isLiteralExpression=k.isLabeledStatement=k.isJsxText=k.isJsxSpreadAttribute=k.isJsxSelfClosingElement=k.isJsxOpeningLikeElement=k.isJsxOpeningFragment=k.isJsxOpeningElement=k.isJsxFragment=k.isJsxExpression=k.isJsxElement=k.isJsxClosingFragment=k.isJsxClosingElement=k.isJsxAttributes=k.isJsxAttributeLike=k.isJsxAttribute=k.isJsDoc=k.isIterationStatement=k.isIntersectionTypeNode=k.isInterfaceDeclaration=k.isInferTypeNode=k.isIndexSignatureDeclaration=k.isIndexedAccessTypeNode=k.isImportSpecifier=k.isImportEqualsDeclaration=k.isImportDeclaration=k.isImportClause=k.isIfStatement=k.isIdentifier=k.isGetAccessorDeclaration=k.isFunctionTypeNode=k.isFunctionExpression=k.isFunctionDeclaration=k.isForStatement=k.isForOfStatement=k.isForInOrOfStatement=k.isForInStatement=k.isExternalModuleReference=k.isExpressionWithTypeArguments=void 0;k.isVariableStatement=k.isVariableDeclaration=k.isUnionTypeNode=k.isTypeQueryNode=k.isTypeReferenceNode=k.isTypePredicateNode=k.isTypeParameterDeclaration=k.isTypeOperatorNode=k.isTypeOfExpression=k.isTypeLiteralNode=k.isTypeAssertion=k.isTypeAliasDeclaration=k.isTupleTypeNode=k.isTryStatement=k.isThrowStatement=k.isTextualLiteral=k.isTemplateLiteral=k.isTemplateExpression=k.isTaggedTemplateExpression=k.isSyntaxList=k.isSwitchStatement=k.isStringLiteral=k.isSpreadElement=k.isSpreadAssignment=k.isSourceFile=k.isSignatureDeclaration=k.isShorthandPropertyAssignment=k.isSetAccessorDeclaration=k.isReturnStatement=k.isRegularExpressionLiteral=k.isQualifiedName=k.isPropertySignature=k.isPropertyDeclaration=k.isPropertyAssignment=k.isPropertyAccessExpression=k.isPrefixUnaryExpression=k.isPostfixUnaryExpression=k.isParenthesizedTypeNode=k.isParenthesizedExpression=k.isParameterDeclaration=k.isOmittedExpression=k.isObjectLiteralExpression=k.isObjectBindingPattern=k.isNumericOrStringLikeLiteral=k.isNumericLiteral=k.isNullLiteral=k.isNoSubstitutionTemplateLiteral=k.isNonNullExpression=k.isNewExpression=k.isNamespaceExportDeclaration=void 0;k.isWithStatement=k.isWhileStatement=k.isVoidExpression=k.isVariableDeclarationList=void 0;var L=Cn();function wU(e){return e.kind===L.SyntaxKind.GetAccessor||e.kind===L.SyntaxKind.SetAccessor}k.isAccessorDeclaration=wU;function EU(e){return e.kind===L.SyntaxKind.ArrayBindingPattern}k.isArrayBindingPattern=EU;function CU(e){return e.kind===L.SyntaxKind.ArrayLiteralExpression}k.isArrayLiteralExpression=CU;function kU(e){return e.kind===L.SyntaxKind.ArrayType}k.isArrayTypeNode=kU;function AU(e){return e.kind===L.SyntaxKind.ArrowFunction}k.isArrowFunction=AU;function DU(e){return e.kind===L.SyntaxKind.AsExpression}k.isAsExpression=DU;function PU(e){return e.kind===L.SyntaxKind.AsExpression||e.kind===L.SyntaxKind.TypeAssertionExpression}k.isAssertionExpression=PU;function NU(e){return e.kind===L.SyntaxKind.AwaitExpression}k.isAwaitExpression=NU;function IU(e){return e.kind===L.SyntaxKind.BinaryExpression}k.isBinaryExpression=IU;function OU(e){return e.kind===L.SyntaxKind.BindingElement}k.isBindingElement=OU;function MU(e){return e.kind===L.SyntaxKind.ArrayBindingPattern||e.kind===L.SyntaxKind.ObjectBindingPattern}k.isBindingPattern=MU;function LU(e){return e.kind===L.SyntaxKind.Block}k.isBlock=LU;function JU(e){return e.statements!==void 0}k.isBlockLike=JU;function RU(e){return e.kind===L.SyntaxKind.TrueKeyword||e.kind===L.SyntaxKind.FalseKeyword}k.isBooleanLiteral=RU;function FU(e){return e.kind===L.SyntaxKind.BreakStatement||e.kind===L.SyntaxKind.ContinueStatement}k.isBreakOrContinueStatement=FU;function jU(e){return e.kind===L.SyntaxKind.BreakStatement}k.isBreakStatement=jU;function BU(e){return e.kind===L.SyntaxKind.CallExpression}k.isCallExpression=BU;function UU(e){switch(e.kind){case L.SyntaxKind.CallExpression:case L.SyntaxKind.Decorator:case L.SyntaxKind.JsxOpeningElement:case L.SyntaxKind.JsxSelfClosingElement:case L.SyntaxKind.NewExpression:case L.SyntaxKind.TaggedTemplateExpression:return!0;default:return!1}}k.isCallLikeExpression=UU;function qU(e){return e.kind===L.SyntaxKind.CallSignature}k.isCallSignatureDeclaration=qU;function zU(e){return e.kind===L.SyntaxKind.CaseBlock}k.isCaseBlock=zU;function WU(e){return e.kind===L.SyntaxKind.CaseClause}k.isCaseClause=WU;function VU(e){return e.kind===L.SyntaxKind.CaseClause||e.kind===L.SyntaxKind.DefaultClause}k.isCaseOrDefaultClause=VU;function HU(e){return e.kind===L.SyntaxKind.CatchClause}k.isCatchClause=HU;function KU(e){return e.kind===L.SyntaxKind.ClassDeclaration}k.isClassDeclaration=KU;function GU(e){return e.kind===L.SyntaxKind.ClassExpression}k.isClassExpression=GU;function XU(e){return e.kind===L.SyntaxKind.ClassDeclaration||e.kind===L.SyntaxKind.ClassExpression}k.isClassLikeDeclaration=XU;function $U(e){return e.kind===L.SyntaxKind.CommaListExpression}k.isCommaListExpression=$U;function QU(e){return e.kind===L.SyntaxKind.ConditionalExpression}k.isConditionalExpression=QU;function YU(e){return e.kind===L.SyntaxKind.ConditionalType}k.isConditionalTypeNode=YU;function ZU(e){return e.kind===L.SyntaxKind.Constructor}k.isConstructorDeclaration=ZU;function eq(e){return e.kind===L.SyntaxKind.ConstructorType}k.isConstructorTypeNode=eq;function tq(e){return e.kind===L.SyntaxKind.ConstructSignature}k.isConstructSignatureDeclaration=tq;function nq(e){return e.kind===L.SyntaxKind.ContinueStatement}k.isContinueStatement=nq;function rq(e){return e.kind===L.SyntaxKind.ComputedPropertyName}k.isComputedPropertyName=rq;function iq(e){return e.kind===L.SyntaxKind.DebuggerStatement}k.isDebuggerStatement=iq;function aq(e){return e.kind===L.SyntaxKind.Decorator}k.isDecorator=aq;function oq(e){return e.kind===L.SyntaxKind.DefaultClause}k.isDefaultClause=oq;function sq(e){return e.kind===L.SyntaxKind.DeleteExpression}k.isDeleteExpression=sq;function _q(e){return e.kind===L.SyntaxKind.DoStatement}k.isDoStatement=_q;function cq(e){return e.kind===L.SyntaxKind.ElementAccessExpression}k.isElementAccessExpression=cq;function lq(e){return e.kind===L.SyntaxKind.EmptyStatement}k.isEmptyStatement=lq;function uq(e){return e.kind===L.SyntaxKind.Identifier||kw(e)}k.isEntityName=uq;function Sw(e){return e.kind===L.SyntaxKind.Identifier||Cw(e)&&Sw(e.expression)}k.isEntityNameExpression=Sw;function pq(e){return e.kind===L.SyntaxKind.EnumDeclaration}k.isEnumDeclaration=pq;function dq(e){return e.kind===L.SyntaxKind.EnumMember}k.isEnumMember=dq;function fq(e){return e.kind===L.SyntaxKind.ExportAssignment}k.isExportAssignment=fq;function mq(e){return e.kind===L.SyntaxKind.ExportDeclaration}k.isExportDeclaration=mq;function yq(e){return e.kind===L.SyntaxKind.ExportSpecifier}k.isExportSpecifier=yq;function hq(e){switch(e.kind){case L.SyntaxKind.ArrayLiteralExpression:case L.SyntaxKind.ArrowFunction:case L.SyntaxKind.AsExpression:case L.SyntaxKind.AwaitExpression:case L.SyntaxKind.BinaryExpression:case L.SyntaxKind.CallExpression:case L.SyntaxKind.ClassExpression:case L.SyntaxKind.CommaListExpression:case L.SyntaxKind.ConditionalExpression:case L.SyntaxKind.DeleteExpression:case L.SyntaxKind.ElementAccessExpression:case L.SyntaxKind.FalseKeyword:case L.SyntaxKind.FunctionExpression:case L.SyntaxKind.Identifier:case L.SyntaxKind.JsxElement:case L.SyntaxKind.JsxFragment:case L.SyntaxKind.JsxExpression:case L.SyntaxKind.JsxOpeningElement:case L.SyntaxKind.JsxOpeningFragment:case L.SyntaxKind.JsxSelfClosingElement:case L.SyntaxKind.MetaProperty:case L.SyntaxKind.NewExpression:case L.SyntaxKind.NonNullExpression:case L.SyntaxKind.NoSubstitutionTemplateLiteral:case L.SyntaxKind.NullKeyword:case L.SyntaxKind.NumericLiteral:case L.SyntaxKind.ObjectLiteralExpression:case L.SyntaxKind.OmittedExpression:case L.SyntaxKind.ParenthesizedExpression:case L.SyntaxKind.PostfixUnaryExpression:case L.SyntaxKind.PrefixUnaryExpression:case L.SyntaxKind.PropertyAccessExpression:case L.SyntaxKind.RegularExpressionLiteral:case L.SyntaxKind.SpreadElement:case L.SyntaxKind.StringLiteral:case L.SyntaxKind.SuperKeyword:case L.SyntaxKind.TaggedTemplateExpression:case L.SyntaxKind.TemplateExpression:case L.SyntaxKind.ThisKeyword:case L.SyntaxKind.TrueKeyword:case L.SyntaxKind.TypeAssertionExpression:case L.SyntaxKind.TypeOfExpression:case L.SyntaxKind.VoidExpression:case L.SyntaxKind.YieldExpression:return!0;default:return!1}}k.isExpression=hq;function gq(e){return e.kind===L.SyntaxKind.ExpressionStatement}k.isExpressionStatement=gq;function bq(e){return e.kind===L.SyntaxKind.ExpressionWithTypeArguments}k.isExpressionWithTypeArguments=bq;function vq(e){return e.kind===L.SyntaxKind.ExternalModuleReference}k.isExternalModuleReference=vq;function Tq(e){return e.kind===L.SyntaxKind.ForInStatement}k.isForInStatement=Tq;function xq(e){return e.kind===L.SyntaxKind.ForOfStatement||e.kind===L.SyntaxKind.ForInStatement}k.isForInOrOfStatement=xq;function Sq(e){return e.kind===L.SyntaxKind.ForOfStatement}k.isForOfStatement=Sq;function wq(e){return e.kind===L.SyntaxKind.ForStatement}k.isForStatement=wq;function Eq(e){return e.kind===L.SyntaxKind.FunctionDeclaration}k.isFunctionDeclaration=Eq;function Cq(e){return e.kind===L.SyntaxKind.FunctionExpression}k.isFunctionExpression=Cq;function kq(e){return e.kind===L.SyntaxKind.FunctionType}k.isFunctionTypeNode=kq;function Aq(e){return e.kind===L.SyntaxKind.GetAccessor}k.isGetAccessorDeclaration=Aq;function Dq(e){return e.kind===L.SyntaxKind.Identifier}k.isIdentifier=Dq;function Pq(e){return e.kind===L.SyntaxKind.IfStatement}k.isIfStatement=Pq;function Nq(e){return e.kind===L.SyntaxKind.ImportClause}k.isImportClause=Nq;function Iq(e){return e.kind===L.SyntaxKind.ImportDeclaration}k.isImportDeclaration=Iq;function Oq(e){return e.kind===L.SyntaxKind.ImportEqualsDeclaration}k.isImportEqualsDeclaration=Oq;function Mq(e){return e.kind===L.SyntaxKind.ImportSpecifier}k.isImportSpecifier=Mq;function Lq(e){return e.kind===L.SyntaxKind.IndexedAccessType}k.isIndexedAccessTypeNode=Lq;function Jq(e){return e.kind===L.SyntaxKind.IndexSignature}k.isIndexSignatureDeclaration=Jq;function Rq(e){return e.kind===L.SyntaxKind.InferType}k.isInferTypeNode=Rq;function Fq(e){return e.kind===L.SyntaxKind.InterfaceDeclaration}k.isInterfaceDeclaration=Fq;function jq(e){return e.kind===L.SyntaxKind.IntersectionType}k.isIntersectionTypeNode=jq;function Bq(e){switch(e.kind){case L.SyntaxKind.ForStatement:case L.SyntaxKind.ForOfStatement:case L.SyntaxKind.ForInStatement:case L.SyntaxKind.WhileStatement:case L.SyntaxKind.DoStatement:return!0;default:return!1}}k.isIterationStatement=Bq;function Uq(e){return e.kind===L.SyntaxKind.JSDocComment}k.isJsDoc=Uq;function qq(e){return e.kind===L.SyntaxKind.JsxAttribute}k.isJsxAttribute=qq;function zq(e){return e.kind===L.SyntaxKind.JsxAttribute||e.kind===L.SyntaxKind.JsxSpreadAttribute}k.isJsxAttributeLike=zq;function Wq(e){return e.kind===L.SyntaxKind.JsxAttributes}k.isJsxAttributes=Wq;function Vq(e){return e.kind===L.SyntaxKind.JsxClosingElement}k.isJsxClosingElement=Vq;function Hq(e){return e.kind===L.SyntaxKind.JsxClosingFragment}k.isJsxClosingFragment=Hq;function Kq(e){return e.kind===L.SyntaxKind.JsxElement}k.isJsxElement=Kq;function Gq(e){return e.kind===L.SyntaxKind.JsxExpression}k.isJsxExpression=Gq;function Xq(e){return e.kind===L.SyntaxKind.JsxFragment}k.isJsxFragment=Xq;function $q(e){return e.kind===L.SyntaxKind.JsxOpeningElement}k.isJsxOpeningElement=$q;function Qq(e){return e.kind===L.SyntaxKind.JsxOpeningFragment}k.isJsxOpeningFragment=Qq;function Yq(e){return e.kind===L.SyntaxKind.JsxOpeningElement||e.kind===L.SyntaxKind.JsxSelfClosingElement}k.isJsxOpeningLikeElement=Yq;function Zq(e){return e.kind===L.SyntaxKind.JsxSelfClosingElement}k.isJsxSelfClosingElement=Zq;function ez(e){return e.kind===L.SyntaxKind.JsxSpreadAttribute}k.isJsxSpreadAttribute=ez;function tz(e){return e.kind===L.SyntaxKind.JsxText}k.isJsxText=tz;function nz(e){return e.kind===L.SyntaxKind.LabeledStatement}k.isLabeledStatement=nz;function rz(e){return e.kind>=L.SyntaxKind.FirstLiteralToken&&e.kind<=L.SyntaxKind.LastLiteralToken}k.isLiteralExpression=rz;function iz(e){return e.kind===L.SyntaxKind.LiteralType}k.isLiteralTypeNode=iz;function az(e){return e.kind===L.SyntaxKind.MappedType}k.isMappedTypeNode=az;function oz(e){return e.kind===L.SyntaxKind.MetaProperty}k.isMetaProperty=oz;function sz(e){return e.kind===L.SyntaxKind.MethodDeclaration}k.isMethodDeclaration=sz;function _z(e){return e.kind===L.SyntaxKind.MethodSignature}k.isMethodSignature=_z;function cz(e){return e.kind===L.SyntaxKind.ModuleBlock}k.isModuleBlock=cz;function ww(e){return e.kind===L.SyntaxKind.ModuleDeclaration}k.isModuleDeclaration=ww;function lz(e){return e.kind===L.SyntaxKind.NamedExports}k.isNamedExports=lz;function uz(e){return e.kind===L.SyntaxKind.NamedImports}k.isNamedImports=uz;function Ew(e){return ww(e)&&e.name.kind===L.SyntaxKind.Identifier&&e.body!==void 0&&(e.body.kind===L.SyntaxKind.ModuleBlock||Ew(e.body))}k.isNamespaceDeclaration=Ew;function pz(e){return e.kind===L.SyntaxKind.NamespaceImport}k.isNamespaceImport=pz;function dz(e){return e.kind===L.SyntaxKind.NamespaceExportDeclaration}k.isNamespaceExportDeclaration=dz;function fz(e){return e.kind===L.SyntaxKind.NewExpression}k.isNewExpression=fz;function mz(e){return e.kind===L.SyntaxKind.NonNullExpression}k.isNonNullExpression=mz;function yz(e){return e.kind===L.SyntaxKind.NoSubstitutionTemplateLiteral}k.isNoSubstitutionTemplateLiteral=yz;function hz(e){return e.kind===L.SyntaxKind.NullKeyword}k.isNullLiteral=hz;function gz(e){return e.kind===L.SyntaxKind.NumericLiteral}k.isNumericLiteral=gz;function bz(e){switch(e.kind){case L.SyntaxKind.StringLiteral:case L.SyntaxKind.NumericLiteral:case L.SyntaxKind.NoSubstitutionTemplateLiteral:return!0;default:return!1}}k.isNumericOrStringLikeLiteral=bz;function vz(e){return e.kind===L.SyntaxKind.ObjectBindingPattern}k.isObjectBindingPattern=vz;function Tz(e){return e.kind===L.SyntaxKind.ObjectLiteralExpression}k.isObjectLiteralExpression=Tz;function xz(e){return e.kind===L.SyntaxKind.OmittedExpression}k.isOmittedExpression=xz;function Sz(e){return e.kind===L.SyntaxKind.Parameter}k.isParameterDeclaration=Sz;function wz(e){return e.kind===L.SyntaxKind.ParenthesizedExpression}k.isParenthesizedExpression=wz;function Ez(e){return e.kind===L.SyntaxKind.ParenthesizedType}k.isParenthesizedTypeNode=Ez;function Cz(e){return e.kind===L.SyntaxKind.PostfixUnaryExpression}k.isPostfixUnaryExpression=Cz;function kz(e){return e.kind===L.SyntaxKind.PrefixUnaryExpression}k.isPrefixUnaryExpression=kz;function Cw(e){return e.kind===L.SyntaxKind.PropertyAccessExpression}k.isPropertyAccessExpression=Cw;function Az(e){return e.kind===L.SyntaxKind.PropertyAssignment}k.isPropertyAssignment=Az;function Dz(e){return e.kind===L.SyntaxKind.PropertyDeclaration}k.isPropertyDeclaration=Dz;function Pz(e){return e.kind===L.SyntaxKind.PropertySignature}k.isPropertySignature=Pz;function kw(e){return e.kind===L.SyntaxKind.QualifiedName}k.isQualifiedName=kw;function Nz(e){return e.kind===L.SyntaxKind.RegularExpressionLiteral}k.isRegularExpressionLiteral=Nz;function Iz(e){return e.kind===L.SyntaxKind.ReturnStatement}k.isReturnStatement=Iz;function Oz(e){return e.kind===L.SyntaxKind.SetAccessor}k.isSetAccessorDeclaration=Oz;function Mz(e){return e.kind===L.SyntaxKind.ShorthandPropertyAssignment}k.isShorthandPropertyAssignment=Mz;function Lz(e){return e.parameters!==void 0}k.isSignatureDeclaration=Lz;function Jz(e){return e.kind===L.SyntaxKind.SourceFile}k.isSourceFile=Jz;function Rz(e){return e.kind===L.SyntaxKind.SpreadAssignment}k.isSpreadAssignment=Rz;function Fz(e){return e.kind===L.SyntaxKind.SpreadElement}k.isSpreadElement=Fz;function jz(e){return e.kind===L.SyntaxKind.StringLiteral}k.isStringLiteral=jz;function Bz(e){return e.kind===L.SyntaxKind.SwitchStatement}k.isSwitchStatement=Bz;function Uz(e){return e.kind===L.SyntaxKind.SyntaxList}k.isSyntaxList=Uz;function qz(e){return e.kind===L.SyntaxKind.TaggedTemplateExpression}k.isTaggedTemplateExpression=qz;function zz(e){return e.kind===L.SyntaxKind.TemplateExpression}k.isTemplateExpression=zz;function Wz(e){return e.kind===L.SyntaxKind.TemplateExpression||e.kind===L.SyntaxKind.NoSubstitutionTemplateLiteral}k.isTemplateLiteral=Wz;function Vz(e){return e.kind===L.SyntaxKind.StringLiteral||e.kind===L.SyntaxKind.NoSubstitutionTemplateLiteral}k.isTextualLiteral=Vz;function Hz(e){return e.kind===L.SyntaxKind.ThrowStatement}k.isThrowStatement=Hz;function Kz(e){return e.kind===L.SyntaxKind.TryStatement}k.isTryStatement=Kz;function Gz(e){return e.kind===L.SyntaxKind.TupleType}k.isTupleTypeNode=Gz;function Xz(e){return e.kind===L.SyntaxKind.TypeAliasDeclaration}k.isTypeAliasDeclaration=Xz;function $z(e){return e.kind===L.SyntaxKind.TypeAssertionExpression}k.isTypeAssertion=$z;function Qz(e){return e.kind===L.SyntaxKind.TypeLiteral}k.isTypeLiteralNode=Qz;function Yz(e){return e.kind===L.SyntaxKind.TypeOfExpression}k.isTypeOfExpression=Yz;function Zz(e){return e.kind===L.SyntaxKind.TypeOperator}k.isTypeOperatorNode=Zz;function eW(e){return e.kind===L.SyntaxKind.TypeParameter}k.isTypeParameterDeclaration=eW;function tW(e){return e.kind===L.SyntaxKind.TypePredicate}k.isTypePredicateNode=tW;function nW(e){return e.kind===L.SyntaxKind.TypeReference}k.isTypeReferenceNode=nW;function rW(e){return e.kind===L.SyntaxKind.TypeQuery}k.isTypeQueryNode=rW;function iW(e){return e.kind===L.SyntaxKind.UnionType}k.isUnionTypeNode=iW;function aW(e){return e.kind===L.SyntaxKind.VariableDeclaration}k.isVariableDeclaration=aW;function oW(e){return e.kind===L.SyntaxKind.VariableStatement}k.isVariableStatement=oW;function sW(e){return e.kind===L.SyntaxKind.VariableDeclarationList}k.isVariableDeclarationList=sW;function _W(e){return e.kind===L.SyntaxKind.VoidExpression}k.isVoidExpression=_W;function cW(e){return e.kind===L.SyntaxKind.WhileStatement}k.isWhileStatement=cW;function lW(e){return e.kind===L.SyntaxKind.WithStatement}k.isWithStatement=lW});var Dw=tt(au=>{"use strict";Object.defineProperty(au,"__esModule",{value:!0});au.isImportTypeNode=void 0;var uW=(Yi(),jr(Qi));uW.__exportStar(Aw(),au);var pW=Cn();function dW(e){return e.kind===pW.SyntaxKind.ImportType}au.isImportTypeNode=dW});var Pw=tt(Aa=>{"use strict";Object.defineProperty(Aa,"__esModule",{value:!0});Aa.isSyntheticExpression=Aa.isRestTypeNode=Aa.isOptionalTypeNode=void 0;var fW=(Yi(),jr(Qi));fW.__exportStar(Dw(),Aa);var s6=Cn();function mW(e){return e.kind===s6.SyntaxKind.OptionalType}Aa.isOptionalTypeNode=mW;function yW(e){return e.kind===s6.SyntaxKind.RestType}Aa.isRestTypeNode=yW;function hW(e){return e.kind===s6.SyntaxKind.SyntheticExpression}Aa.isSyntheticExpression=hW});var _6=tt(ou=>{"use strict";Object.defineProperty(ou,"__esModule",{value:!0});ou.isBigIntLiteral=void 0;var gW=(Yi(),jr(Qi));gW.__exportStar(Pw(),ou);var bW=Cn();function vW(e){return e.kind===bW.SyntaxKind.BigIntLiteral}ou.isBigIntLiteral=vW});var l6=tt(c6=>{"use strict";Object.defineProperty(c6,"__esModule",{value:!0});var TW=(Yi(),jr(Qi));TW.__exportStar(_6(),c6)});var Nw=tt(it=>{"use strict";Object.defineProperty(it,"__esModule",{value:!0});it.isUniqueESSymbolType=it.isUnionType=it.isUnionOrIntersectionType=it.isTypeVariable=it.isTypeReference=it.isTypeParameter=it.isSubstitutionType=it.isObjectType=it.isLiteralType=it.isIntersectionType=it.isInterfaceType=it.isInstantiableType=it.isIndexedAccessype=it.isIndexedAccessType=it.isGenericType=it.isEnumType=it.isConditionalType=void 0;var Kt=Cn();function xW(e){return(e.flags&Kt.TypeFlags.Conditional)!==0}it.isConditionalType=xW;function SW(e){return(e.flags&Kt.TypeFlags.Enum)!==0}it.isEnumType=SW;function wW(e){return(e.flags&Kt.TypeFlags.Object)!==0&&(e.objectFlags&Kt.ObjectFlags.ClassOrInterface)!==0&&(e.objectFlags&Kt.ObjectFlags.Reference)!==0}it.isGenericType=wW;function EW(e){return(e.flags&Kt.TypeFlags.IndexedAccess)!==0}it.isIndexedAccessType=EW;function CW(e){return(e.flags&Kt.TypeFlags.Index)!==0}it.isIndexedAccessype=CW;function kW(e){return(e.flags&Kt.TypeFlags.Instantiable)!==0}it.isInstantiableType=kW;function AW(e){return(e.flags&Kt.TypeFlags.Object)!==0&&(e.objectFlags&Kt.ObjectFlags.ClassOrInterface)!==0}it.isInterfaceType=AW;function DW(e){return(e.flags&Kt.TypeFlags.Intersection)!==0}it.isIntersectionType=DW;function PW(e){return(e.flags&(Kt.TypeFlags.StringOrNumberLiteral|Kt.TypeFlags.BigIntLiteral))!==0}it.isLiteralType=PW;function NW(e){return(e.flags&Kt.TypeFlags.Object)!==0}it.isObjectType=NW;function IW(e){return(e.flags&Kt.TypeFlags.Substitution)!==0}it.isSubstitutionType=IW;function OW(e){return(e.flags&Kt.TypeFlags.TypeParameter)!==0}it.isTypeParameter=OW;function MW(e){return(e.flags&Kt.TypeFlags.Object)!==0&&(e.objectFlags&Kt.ObjectFlags.Reference)!==0}it.isTypeReference=MW;function LW(e){return(e.flags&Kt.TypeFlags.TypeVariable)!==0}it.isTypeVariable=LW;function JW(e){return(e.flags&Kt.TypeFlags.UnionOrIntersection)!==0}it.isUnionOrIntersectionType=JW;function RW(e){return(e.flags&Kt.TypeFlags.Union)!==0}it.isUnionType=RW;function FW(e){return(e.flags&Kt.TypeFlags.UniqueESSymbol)!==0}it.isUniqueESSymbolType=FW});var p6=tt(u6=>{"use strict";Object.defineProperty(u6,"__esModule",{value:!0});var jW=(Yi(),jr(Qi));jW.__exportStar(Nw(),u6)});var Mw=tt(fs=>{"use strict";Object.defineProperty(fs,"__esModule",{value:!0});fs.isTupleTypeReference=fs.isTupleType=void 0;var BW=(Yi(),jr(Qi));BW.__exportStar(p6(),fs);var Iw=Cn(),UW=p6();function Ow(e){return(e.flags&Iw.TypeFlags.Object&&e.objectFlags&Iw.ObjectFlags.Tuple)!==0}fs.isTupleType=Ow;function qW(e){return UW.isTypeReference(e)&&Ow(e.target)}fs.isTupleTypeReference=qW});var f6=tt(d6=>{"use strict";Object.defineProperty(d6,"__esModule",{value:!0});var zW=(Yi(),jr(Qi));zW.__exportStar(Mw(),d6)});var Jw=tt(u1=>{"use strict";Object.defineProperty(u1,"__esModule",{value:!0});var Lw=(Yi(),jr(Qi));Lw.__exportStar(_6(),u1);Lw.__exportStar(f6(),u1)});var Rw=tt(m6=>{"use strict";Object.defineProperty(m6,"__esModule",{value:!0});var WW=(Yi(),jr(Qi));WW.__exportStar(f6(),m6)});var Vw=tt(Ke=>{"use strict";Object.defineProperty(Ke,"__esModule",{value:!0});Ke.getBaseClassMemberOfClassElement=Ke.getIteratorYieldResultFromIteratorResult=Ke.getInstanceTypeOfClassLikeDeclaration=Ke.getConstructorTypeOfClassLikeDeclaration=Ke.getSymbolOfClassLikeDeclaration=Ke.getPropertyNameFromType=Ke.symbolHasReadonlyDeclaration=Ke.isPropertyReadonlyInType=Ke.getWellKnownSymbolPropertyOfType=Ke.getPropertyOfType=Ke.isBooleanLiteralType=Ke.isFalsyType=Ke.isThenableType=Ke.someTypePart=Ke.intersectionTypeParts=Ke.unionTypeParts=Ke.getCallSignaturesOfType=Ke.isTypeAssignableToString=Ke.isTypeAssignableToNumber=Ke.isOptionalChainingUndefinedMarkerType=Ke.removeOptionalChainingUndefinedMarkerType=Ke.removeOptionalityFromType=Ke.isEmptyObjectType=void 0;var pt=Cn(),Fn=Rw(),An=v6(),_o=l6();function jw(e){if(Fn.isObjectType(e)&&e.objectFlags&pt.ObjectFlags.Anonymous&&e.getProperties().length===0&&e.getCallSignatures().length===0&&e.getConstructSignatures().length===0&&e.getStringIndexType()===void 0&&e.getNumberIndexType()===void 0){let t=e.getBaseTypes();return t===void 0||t.every(jw)}return!1}Ke.isEmptyObjectType=jw;function Bw(e,t){if(!Fw(t,pt.TypeFlags.Undefined))return t;let n=Fw(t,pt.TypeFlags.Null);return t=e.getNonNullableType(t),n?e.getNullableType(t,pt.TypeFlags.Null):t}Ke.removeOptionalityFromType=Bw;function Fw(e,t){for(let n of B_(e))if(An.isTypeFlagSet(n,t))return!0;return!1}function VW(e,t){if(!Fn.isUnionType(t))return y6(e,t)?t.getNonNullableType():t;let n=0,i=!1;for(let s of t.types)y6(e,s)?i=!0:n|=s.flags;return i?e.getNullableType(t.getNonNullableType(),n):t}Ke.removeOptionalChainingUndefinedMarkerType=VW;function y6(e,t){return An.isTypeFlagSet(t,pt.TypeFlags.Undefined)&&e.getNullableType(t.getNonNullableType(),pt.TypeFlags.Undefined)!==t}Ke.isOptionalChainingUndefinedMarkerType=y6;function HW(e,t){return Uw(e,t,pt.TypeFlags.NumberLike)}Ke.isTypeAssignableToNumber=HW;function KW(e,t){return Uw(e,t,pt.TypeFlags.StringLike)}Ke.isTypeAssignableToString=KW;function Uw(e,t,n){n|=pt.TypeFlags.Any;let i;return function s(l){if(Fn.isTypeParameter(l)&&l.symbol!==void 0&&l.symbol.declarations!==void 0){if(i===void 0)i=new Set([l]);else if(!i.has(l))i.add(l);else return!1;let d=l.symbol.declarations[0];return d.constraint===void 0?!0:s(e.getTypeFromTypeNode(d.constraint))}return Fn.isUnionType(l)?l.types.every(s):Fn.isIntersectionType(l)?l.types.some(s):An.isTypeFlagSet(l,n)}(t)}function h6(e){if(Fn.isUnionType(e)){let t=[];for(let n of e.types)t.push(...h6(n));return t}if(Fn.isIntersectionType(e)){let t;for(let n of e.types){let i=h6(n);if(i.length!==0){if(t!==void 0)return[];t=i}}return t===void 0?[]:t}return e.getCallSignatures()}Ke.getCallSignaturesOfType=h6;function B_(e){return Fn.isUnionType(e)?e.types:[e]}Ke.unionTypeParts=B_;function GW(e){return Fn.isIntersectionType(e)?e.types:[e]}Ke.intersectionTypeParts=GW;function qw(e,t,n){return t(e)?e.types.some(n):n(e)}Ke.someTypePart=qw;function XW(e,t,n=e.getTypeAtLocation(t)){for(let i of B_(e.getApparentType(n))){let s=i.getProperty("then");if(s===void 0)continue;let l=e.getTypeOfSymbolAtLocation(s,t);for(let d of B_(l))for(let y of d.getCallSignatures())if(y.parameters.length!==0&&$W(e,y.parameters[0],t))return!0}return!1}Ke.isThenableType=XW;function $W(e,t,n){let i=e.getApparentType(e.getTypeOfSymbolAtLocation(t,n));if(t.valueDeclaration.dotDotDotToken&&(i=i.getNumberIndexType(),i===void 0))return!1;for(let s of B_(i))if(s.getCallSignatures().length!==0)return!0;return!1}function QW(e){return e.flags&(pt.TypeFlags.Undefined|pt.TypeFlags.Null|pt.TypeFlags.Void)?!0:Fn.isLiteralType(e)?!e.value:g6(e,!1)}Ke.isFalsyType=QW;function g6(e,t){return An.isTypeFlagSet(e,pt.TypeFlags.BooleanLiteral)&&e.intrinsicName===(t?"true":"false")}Ke.isBooleanLiteralType=g6;function p1(e,t){return t.startsWith("__")?e.getProperties().find(n=>n.escapedName===t):e.getProperty(t)}Ke.getPropertyOfType=p1;function YW(e,t,n){let i="__@"+t;for(let s of e.getProperties()){if(!s.name.startsWith(i))continue;let l=n.getApparentType(n.getTypeAtLocation(s.valueDeclaration.name.expression)).symbol;if(s.escapedName===ZW(n,l,t))return s}}Ke.getWellKnownSymbolPropertyOfType=YW;function ZW(e,t,n){let i=t&&e.getTypeOfSymbolAtLocation(t,t.valueDeclaration).getProperty(n),s=i&&e.getTypeOfSymbolAtLocation(i,i.valueDeclaration);return s&&Fn.isUniqueESSymbolType(s)?s.escapedName:"__@"+n}function zw(e,t,n){let i=!1,s=!1;for(let l of B_(e))if(p1(l,t)===void 0){let d=(An.isNumericPropertyName(t)?n.getIndexInfoOfType(l,pt.IndexKind.Number):void 0)||n.getIndexInfoOfType(l,pt.IndexKind.String);if(d!==void 0&&d.isReadonly){if(i)return!0;s=!0}}else{if(s||eV(l,t,n))return!0;i=!0}return!1}Ke.isPropertyReadonlyInType=zw;function eV(e,t,n){return qw(e,Fn.isIntersectionType,i=>{let s=p1(i,t);if(s===void 0)return!1;if(s.flags&pt.SymbolFlags.Transient){if(/^(?:[1-9]\d*|0)$/.test(t)&&Fn.isTupleTypeReference(i))return i.target.readonly;switch(tV(i,t,n)){case!0:return!0;case!1:return!1;default:}}return An.isSymbolFlagSet(s,pt.SymbolFlags.ValueModule)||Ww(s,n)})}function tV(e,t,n){if(!Fn.isObjectType(e)||!An.isObjectFlagSet(e,pt.ObjectFlags.Mapped))return;let i=e.symbol.declarations[0];return i.readonlyToken!==void 0&&!/^__@[^@]+$/.test(t)?i.readonlyToken.kind!==pt.SyntaxKind.MinusToken:zw(e.modifiersType,t,n)}function Ww(e,t){return(e.flags&pt.SymbolFlags.Accessor)===pt.SymbolFlags.GetAccessor||e.declarations!==void 0&&e.declarations.some(n=>An.isModifierFlagSet(n,pt.ModifierFlags.Readonly)||_o.isVariableDeclaration(n)&&An.isNodeFlagSet(n.parent,pt.NodeFlags.Const)||_o.isCallExpression(n)&&An.isReadonlyAssignmentDeclaration(n,t)||_o.isEnumMember(n)||(_o.isPropertyAssignment(n)||_o.isShorthandPropertyAssignment(n))&&An.isInConstContext(n.parent))}Ke.symbolHasReadonlyDeclaration=Ww;function nV(e){if(e.flags&(pt.TypeFlags.StringLiteral|pt.TypeFlags.NumberLiteral)){let t=String(e.value);return{displayName:t,symbolName:pt.escapeLeadingUnderscores(t)}}if(Fn.isUniqueESSymbolType(e))return{displayName:`[${e.symbol?`${rV(e.symbol)?"Symbol.":""}${e.symbol.name}`:e.escapedName.replace(/^__@|@\d+$/g,"")}]`,symbolName:e.escapedName}}Ke.getPropertyNameFromType=nV;function rV(e){return An.isSymbolFlagSet(e,pt.SymbolFlags.Property)&&e.valueDeclaration!==void 0&&_o.isInterfaceDeclaration(e.valueDeclaration.parent)&&e.valueDeclaration.parent.name.text==="SymbolConstructor"&&iV(e.valueDeclaration.parent)}function iV(e){return An.isNodeFlagSet(e.parent,pt.NodeFlags.GlobalAugmentation)||_o.isSourceFile(e.parent)&&!pt.isExternalModule(e.parent)}function b6(e,t){var n;return t.getSymbolAtLocation((n=e.name)!==null&&n!==void 0?n:An.getChildOfKind(e,pt.SyntaxKind.ClassKeyword))}Ke.getSymbolOfClassLikeDeclaration=b6;function aV(e,t){return e.kind===pt.SyntaxKind.ClassExpression?t.getTypeAtLocation(e):t.getTypeOfSymbolAtLocation(b6(e,t),e)}Ke.getConstructorTypeOfClassLikeDeclaration=aV;function oV(e,t){return e.kind===pt.SyntaxKind.ClassDeclaration?t.getTypeAtLocation(e):t.getDeclaredTypeOfSymbol(b6(e,t))}Ke.getInstanceTypeOfClassLikeDeclaration=oV;function sV(e,t,n){return Fn.isUnionType(e)&&e.types.find(i=>{let s=i.getProperty("done");return s!==void 0&&g6(Bw(n,n.getTypeOfSymbolAtLocation(s,t)),!1)})||e}Ke.getIteratorYieldResultFromIteratorResult=sV;function _V(e,t){if(!_o.isClassLikeDeclaration(e.parent))return;let n=An.getBaseOfClassLikeExpression(e.parent);if(n===void 0)return;let i=An.getSingleLateBoundPropertyNameOfPropertyName(e.name,t);if(i===void 0)return;let s=t.getTypeAtLocation(An.hasModifier(e.modifiers,pt.SyntaxKind.StaticKeyword)?n.expression:n);return p1(s,i.symbolName)}Ke.getBaseClassMemberOfClassElement=_V});var v6=tt(z=>{"use strict";Object.defineProperty(z,"__esModule",{value:!0});z.isValidIdentifier=z.getLineBreakStyle=z.getLineRanges=z.forEachComment=z.forEachTokenWithTrivia=z.forEachToken=z.isFunctionWithBody=z.hasOwnThisReference=z.isBlockScopeBoundary=z.isFunctionScopeBoundary=z.isTypeScopeBoundary=z.isScopeBoundary=z.ScopeBoundarySelector=z.ScopeBoundary=z.isInSingleStatementContext=z.isBlockScopedDeclarationStatement=z.isBlockScopedVariableDeclaration=z.isBlockScopedVariableDeclarationList=z.getVariableDeclarationKind=z.VariableDeclarationKind=z.forEachDeclaredVariable=z.forEachDestructuringIdentifier=z.getPropertyName=z.getWrappedNodeAtPosition=z.getAstNodeAtPosition=z.commentText=z.isPositionInComment=z.getCommentAtPosition=z.getTokenAtPosition=z.getNextToken=z.getPreviousToken=z.getNextStatement=z.getPreviousStatement=z.isModifierFlagSet=z.isObjectFlagSet=z.isSymbolFlagSet=z.isTypeFlagSet=z.isNodeFlagSet=z.hasAccessModifier=z.isParameterProperty=z.hasModifier=z.getModifier=z.isThisParameter=z.isKeywordKind=z.isJsDocKind=z.isTypeNodeKind=z.isAssignmentKind=z.isNodeKind=z.isTokenKind=z.getChildOfKind=void 0;z.getBaseOfClassLikeExpression=z.hasExhaustiveCaseClauses=z.formatPseudoBigInt=z.unwrapParentheses=z.getSingleLateBoundPropertyNameOfPropertyName=z.getLateBoundPropertyNamesOfPropertyName=z.getLateBoundPropertyNames=z.getPropertyNameOfWellKnownSymbol=z.isWellKnownSymbolLiterally=z.isBindableObjectDefinePropertyCall=z.isReadonlyAssignmentDeclaration=z.isInConstContext=z.isConstAssertion=z.getTsCheckDirective=z.getCheckJsDirective=z.isAmbientModule=z.isCompilerOptionEnabled=z.isStrictCompilerOptionEnabled=z.getIIFE=z.isAmbientModuleBlock=z.isStatementInAmbientContext=z.findImportLikeNodes=z.findImports=z.ImportKind=z.parseJsDocOfNode=z.getJsDoc=z.canHaveJsDoc=z.isReassignmentTarget=z.getAccessKind=z.AccessKind=z.isExpressionValueUsed=z.getDeclarationOfBindingElement=z.hasSideEffects=z.SideEffectOptions=z.isSameLine=z.isNumericPropertyName=z.isValidJsxIdentifier=z.isValidNumericLiteral=z.isValidPropertyName=z.isValidPropertyAccess=void 0;var T=Cn(),Gt=l6(),x6=Jw(),ms=Vw();function cV(e,t,n){for(let i of e.getChildren(n))if(i.kind===t)return i}z.getChildOfKind=cV;function _u(e){return e>=T.SyntaxKind.FirstToken&&e<=T.SyntaxKind.LastToken}z.isTokenKind=_u;function Gw(e){return e>=T.SyntaxKind.FirstNode}z.isNodeKind=Gw;function w6(e){return e>=T.SyntaxKind.FirstAssignment&&e<=T.SyntaxKind.LastAssignment}z.isAssignmentKind=w6;function lV(e){return e>=T.SyntaxKind.FirstTypeNode&&e<=T.SyntaxKind.LastTypeNode}z.isTypeNodeKind=lV;function uV(e){return e>=T.SyntaxKind.FirstJSDocNode&&e<=T.SyntaxKind.LastJSDocNode}z.isJsDocKind=uV;function pV(e){return e>=T.SyntaxKind.FirstKeyword&&e<=T.SyntaxKind.LastKeyword}z.isKeywordKind=pV;function dV(e){return e.name.kind===T.SyntaxKind.Identifier&&e.name.originalKeywordKind===T.SyntaxKind.ThisKeyword}z.isThisParameter=dV;function fV(e,t){if(e.modifiers!==void 0){for(let n of e.modifiers)if(n.kind===t)return n}}z.getModifier=fV;function z_(e,...t){if(e===void 0)return!1;for(let n of e)if(t.includes(n.kind))return!0;return!1}z.hasModifier=z_;function mV(e){return z_(e.modifiers,T.SyntaxKind.PublicKeyword,T.SyntaxKind.ProtectedKeyword,T.SyntaxKind.PrivateKeyword,T.SyntaxKind.ReadonlyKeyword)}z.isParameterProperty=mV;function yV(e){return Xw(e,T.ModifierFlags.AccessibilityModifier)}z.hasAccessModifier=yV;function E6(e,t){return(e.flags&t)!==0}z.isNodeFlagSet=E6;z.isTypeFlagSet=E6;z.isSymbolFlagSet=E6;function hV(e,t){return(e.objectFlags&t)!==0}z.isObjectFlagSet=hV;function Xw(e,t){return(T.getCombinedModifierFlags(e)&t)!==0}z.isModifierFlagSet=Xw;function gV(e){let t=e.parent;if(Gt.isBlockLike(t)){let n=t.statements.indexOf(e);if(n>0)return t.statements[n-1]}}z.getPreviousStatement=gV;function bV(e){let t=e.parent;if(Gt.isBlockLike(t)){let n=t.statements.indexOf(e);if(n=e.end))return _u(e.kind)?e:d1(e,t,n??e.getSourceFile(),i===!0)}z.getTokenAtPosition=$w;function d1(e,t,n,i){if(!i&&(e=Yw(e,t),_u(e.kind)))return e;e:for(;;){for(let s of e.getChildren(n))if(s.end>t&&(i||s.kind!==T.SyntaxKind.JSDocComment)){if(_u(s.kind))return s;e=s;continue e}return}}function Qw(e,t,n=e){let i=$w(n,t,e);if(i===void 0||i.kind===T.SyntaxKind.JsxText||t>=i.end-(T.tokenToString(i.kind)||"").length)return;let s=i.pos===0?(T.getShebang(e.text)||"").length:i.pos;return s!==0&&T.forEachTrailingCommentRange(e.text,s,Hw,t)||T.forEachLeadingCommentRange(e.text,s,Hw,t)}z.getCommentAtPosition=Qw;function Hw(e,t,n,i,s){return s>=e&&st||e.end<=t)){for(;Gw(e.kind);){let n=T.forEachChild(e,i=>i.pos<=t&&i.end>t?i:void 0);if(n===void 0)break;e=n}return e}}z.getAstNodeAtPosition=Yw;function wV(e,t){if(!(e.node.pos>t||e.node.end<=t))e:for(;;){for(let n of e.children){if(n.node.pos>t)return e;if(n.node.end>t){e=n;continue e}}return e}}z.getWrappedNodeAtPosition=wV;function C6(e){if(e.kind===T.SyntaxKind.ComputedPropertyName){let t=R6(e.expression);if(Gt.isPrefixUnaryExpression(t)){let n=!1;switch(t.operator){case T.SyntaxKind.MinusToken:n=!0;case T.SyntaxKind.PlusToken:return Gt.isNumericLiteral(t.operand)?`${n?"-":""}${t.operand.text}`:x6.isBigIntLiteral(t.operand)?`${n?"-":""}${t.operand.text.slice(0,-1)}`:void 0;default:return}}return x6.isBigIntLiteral(t)?t.text.slice(0,-1):Gt.isNumericOrStringLikeLiteral(t)?t.text:void 0}return e.kind===T.SyntaxKind.PrivateIdentifier?void 0:e.text}z.getPropertyName=C6;function k6(e,t){for(let n of e.elements){if(n.kind!==T.SyntaxKind.BindingElement)continue;let i;if(n.name.kind===T.SyntaxKind.Identifier?i=t(n):i=k6(n.name,t),i)return i}}z.forEachDestructuringIdentifier=k6;function EV(e,t){for(let n of e.declarations){let i;if(n.name.kind===T.SyntaxKind.Identifier?i=t(n):i=k6(n.name,t),i)return i}}z.forEachDeclaredVariable=EV;var CV;(function(e){e[e.Var=0]="Var",e[e.Let=1]="Let",e[e.Const=2]="Const"})(CV=z.VariableDeclarationKind||(z.VariableDeclarationKind={}));function kV(e){return e.flags&T.NodeFlags.Let?1:e.flags&T.NodeFlags.Const?2:0}z.getVariableDeclarationKind=kV;function A6(e){return(e.flags&T.NodeFlags.BlockScoped)!==0}z.isBlockScopedVariableDeclarationList=A6;function AV(e){let t=e.parent;return t.kind===T.SyntaxKind.CatchClause||A6(t)}z.isBlockScopedVariableDeclaration=AV;function DV(e){switch(e.kind){case T.SyntaxKind.VariableStatement:return A6(e.declarationList);case T.SyntaxKind.ClassDeclaration:case T.SyntaxKind.EnumDeclaration:case T.SyntaxKind.InterfaceDeclaration:case T.SyntaxKind.TypeAliasDeclaration:return!0;default:return!1}}z.isBlockScopedDeclarationStatement=DV;function PV(e){switch(e.parent.kind){case T.SyntaxKind.ForStatement:case T.SyntaxKind.ForInStatement:case T.SyntaxKind.ForOfStatement:case T.SyntaxKind.WhileStatement:case T.SyntaxKind.DoStatement:case T.SyntaxKind.IfStatement:case T.SyntaxKind.WithStatement:case T.SyntaxKind.LabeledStatement:return!0;default:return!1}}z.isInSingleStatementContext=PV;var NV;(function(e){e[e.None=0]="None",e[e.Function=1]="Function",e[e.Block=2]="Block",e[e.Type=4]="Type",e[e.ConditionalType=8]="ConditionalType"})(NV=z.ScopeBoundary||(z.ScopeBoundary={}));var IV;(function(e){e[e.Function=1]="Function",e[e.Block=3]="Block",e[e.Type=7]="Type",e[e.InferType=8]="InferType"})(IV=z.ScopeBoundarySelector||(z.ScopeBoundarySelector={}));function OV(e){return D6(e)||eE(e)||Zw(e)}z.isScopeBoundary=OV;function Zw(e){switch(e.kind){case T.SyntaxKind.InterfaceDeclaration:case T.SyntaxKind.TypeAliasDeclaration:case T.SyntaxKind.MappedType:return 4;case T.SyntaxKind.ConditionalType:return 8;default:return 0}}z.isTypeScopeBoundary=Zw;function D6(e){switch(e.kind){case T.SyntaxKind.FunctionExpression:case T.SyntaxKind.ArrowFunction:case T.SyntaxKind.Constructor:case T.SyntaxKind.ModuleDeclaration:case T.SyntaxKind.ClassDeclaration:case T.SyntaxKind.ClassExpression:case T.SyntaxKind.EnumDeclaration:case T.SyntaxKind.MethodDeclaration:case T.SyntaxKind.FunctionDeclaration:case T.SyntaxKind.GetAccessor:case T.SyntaxKind.SetAccessor:case T.SyntaxKind.MethodSignature:case T.SyntaxKind.CallSignature:case T.SyntaxKind.ConstructSignature:case T.SyntaxKind.ConstructorType:case T.SyntaxKind.FunctionType:return 1;case T.SyntaxKind.SourceFile:return T.isExternalModule(e)?1:0;default:return 0}}z.isFunctionScopeBoundary=D6;function eE(e){switch(e.kind){case T.SyntaxKind.Block:let t=e.parent;return t.kind!==T.SyntaxKind.CatchClause&&(t.kind===T.SyntaxKind.SourceFile||!D6(t))?2:0;case T.SyntaxKind.ForStatement:case T.SyntaxKind.ForInStatement:case T.SyntaxKind.ForOfStatement:case T.SyntaxKind.CaseBlock:case T.SyntaxKind.CatchClause:case T.SyntaxKind.WithStatement:return 2;default:return 0}}z.isBlockScopeBoundary=eE;function MV(e){switch(e.kind){case T.SyntaxKind.ClassDeclaration:case T.SyntaxKind.ClassExpression:case T.SyntaxKind.FunctionExpression:return!0;case T.SyntaxKind.FunctionDeclaration:return e.body!==void 0;case T.SyntaxKind.MethodDeclaration:case T.SyntaxKind.GetAccessor:case T.SyntaxKind.SetAccessor:return e.parent.kind===T.SyntaxKind.ObjectLiteralExpression;default:return!1}}z.hasOwnThisReference=MV;function LV(e){switch(e.kind){case T.SyntaxKind.GetAccessor:case T.SyntaxKind.SetAccessor:case T.SyntaxKind.FunctionDeclaration:case T.SyntaxKind.MethodDeclaration:case T.SyntaxKind.Constructor:return e.body!==void 0;case T.SyntaxKind.FunctionExpression:case T.SyntaxKind.ArrowFunction:return!0;default:return!1}}z.isFunctionWithBody=LV;function P6(e,t,n=e.getSourceFile()){let i=[];for(;;){if(_u(e.kind))t(e);else if(e.kind!==T.SyntaxKind.JSDocComment){let s=e.getChildren(n);if(s.length===1){e=s[0];continue}for(let l=s.length-1;l>=0;--l)i.push(s[l])}if(i.length===0)break;e=i.pop()}}z.forEachToken=P6;function JV(e,t,n=e.getSourceFile()){let i=n.text,s=T.createScanner(n.languageVersion,!1,n.languageVariant,i);return P6(e,l=>{let d=l.kind===T.SyntaxKind.JsxText||l.pos===l.end?l.pos:l.getStart(n);if(d!==l.pos){s.setTextPos(l.pos);let y=s.scan(),p=s.getTokenPos();for(;p{if(d.pos!==d.end&&(d.kind!==T.SyntaxKind.JsxText&&T.forEachLeadingCommentRange(i,d.pos===0?(T.getShebang(i)||"").length:d.pos,l),s||FV(d)))return T.forEachTrailingCommentRange(i,d.end,l)},n);function l(d,y,p){t(i,{pos:d,end:y,kind:p})}}z.forEachComment=RV;function FV(e){switch(e.kind){case T.SyntaxKind.CloseBraceToken:return e.parent.kind!==T.SyntaxKind.JsxExpression||!T6(e.parent.parent);case T.SyntaxKind.GreaterThanToken:switch(e.parent.kind){case T.SyntaxKind.JsxOpeningElement:return e.end!==e.parent.end;case T.SyntaxKind.JsxOpeningFragment:return!1;case T.SyntaxKind.JsxSelfClosingElement:return e.end!==e.parent.end||!T6(e.parent.parent);case T.SyntaxKind.JsxClosingElement:case T.SyntaxKind.JsxClosingFragment:return!T6(e.parent.parent.parent)}}return!0}function T6(e){return e.kind===T.SyntaxKind.JsxElement||e.kind===T.SyntaxKind.JsxFragment}function jV(e){let t=e.getLineStarts(),n=[],i=t.length,s=e.text,l=0;for(let d=1;dl&&T.isLineBreak(s.charCodeAt(p-1));--p);n.push({pos:l,end:y,contentLength:p-l}),l=y}return n.push({pos:l,end:e.end,contentLength:e.end-l}),n}z.getLineRanges=jV;function BV(e){let t=e.getLineStarts();return t.length===1||t[1]<2||e.text[t[1]-2]!=="\r"?` -`:`\r -`}z.getLineBreakStyle=BV;var U_;function N6(e,t){return U_===void 0?U_=T.createScanner(t,!1,void 0,e):(U_.setScriptTarget(t),U_.setText(e)),U_.scan(),U_}function UV(e,t=T.ScriptTarget.Latest){let n=N6(e,t);return n.isIdentifier()&&n.getTextPos()===e.length&&n.getTokenPos()===0}z.isValidIdentifier=UV;function su(e){return e>=65536?2:1}function tE(e,t=T.ScriptTarget.Latest){if(e.length===0)return!1;let n=e.codePointAt(0);if(!T.isIdentifierStart(n,t))return!1;for(let i=su(n);iw===T.SyntaxKind.MultiLineCommentTrivia&&n.text[h+2]==="*"?{pos:h}:void 0);if(s===void 0)return[];let l=s.pos,d=n.text.slice(l,t),y=T.createSourceFile("jsdoc.ts",`${d}var a;`,n.languageVersion),p=O6(y.statements[0],y);for(let h of p)x(h,e);return p;function x(h,D){return h.pos+=l,h.end+=l,h.parent=D,T.forEachChild(h,w=>x(w,h),w=>{w.pos+=l,w.end+=l;for(let g of w)x(g,h)})}}var eH;(function(e){e[e.ImportDeclaration=1]="ImportDeclaration",e[e.ImportEquals=2]="ImportEquals",e[e.ExportFrom=4]="ExportFrom",e[e.DynamicImport=8]="DynamicImport",e[e.Require=16]="Require",e[e.ImportType=32]="ImportType",e[e.All=63]="All",e[e.AllImports=59]="AllImports",e[e.AllStaticImports=3]="AllStaticImports",e[e.AllImportExpressions=24]="AllImportExpressions",e[e.AllRequireLike=18]="AllRequireLike",e[e.AllNestedImports=56]="AllNestedImports",e[e.AllTopLevelImports=7]="AllTopLevelImports"})(eH=z.ImportKind||(z.ImportKind={}));function tH(e,t,n=!0){let i=[];for(let l of iE(e,t,n))switch(l.kind){case T.SyntaxKind.ImportDeclaration:s(l.moduleSpecifier);break;case T.SyntaxKind.ImportEqualsDeclaration:s(l.moduleReference.expression);break;case T.SyntaxKind.ExportDeclaration:s(l.moduleSpecifier);break;case T.SyntaxKind.CallExpression:s(l.arguments[0]);break;case T.SyntaxKind.ImportType:Gt.isLiteralTypeNode(l.argument)&&s(l.argument.literal);break;default:throw new Error("unexpected node")}return i;function s(l){Gt.isTextualLiteral(l)&&i.push(l)}}z.findImports=tH;function iE(e,t,n=!0){return new S6(e,t,n).find()}z.findImportLikeNodes=iE;var S6=class{constructor(t,n,i){this._sourceFile=t,this._options=n,this._ignoreFileName=i,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(t){for(let n of t)Gt.isImportDeclaration(n)?this._options&1&&this._result.push(n):Gt.isImportEqualsDeclaration(n)?this._options&2&&n.moduleReference.kind===T.SyntaxKind.ExternalModuleReference&&this._result.push(n):Gt.isExportDeclaration(n)?n.moduleSpecifier!==void 0&&this._options&4&&this._result.push(n):Gt.isModuleDeclaration(n)&&this._findImportsInModule(n)}_findImportsInModule(t){if(t.body!==void 0){if(t.body.kind===T.SyntaxKind.ModuleDeclaration)return this._findImportsInModule(t.body);this._findImports(t.body.statements)}}_findNestedImports(){let t=this._ignoreFileName||(this._sourceFile.flags&T.NodeFlags.JavaScriptFile)!==0,n,i;if((this._options&56)===16){if(!t)return;n=/\brequire\s*[1&&this._result.push(l.parent)}}else l.kind===T.SyntaxKind.Identifier&&l.end-7===s.index&&l.parent.kind===T.SyntaxKind.CallExpression&&l.parent.expression===l&&l.parent.arguments.length===1&&this._result.push(l.parent)}}};function nH(e){for(;e.flags&T.NodeFlags.NestedNamespace;)e=e.parent;return z_(e.modifiers,T.SyntaxKind.DeclareKeyword)||aE(e.parent)}z.isStatementInAmbientContext=nH;function aE(e){for(;e.kind===T.SyntaxKind.ModuleBlock;){do e=e.parent;while(e.flags&T.NodeFlags.NestedNamespace);if(z_(e.modifiers,T.SyntaxKind.DeclareKeyword))return!0;e=e.parent}return!1}z.isAmbientModuleBlock=aE;function rH(e){let t=e.parent;for(;t.kind===T.SyntaxKind.ParenthesizedExpression;)t=t.parent;return Gt.isCallExpression(t)&&e.end<=t.expression.end?t:void 0}z.getIIFE=rH;function M6(e,t){return(e.strict?e[t]!==!1:e[t]===!0)&&(t!=="strictPropertyInitialization"||M6(e,"strictNullChecks"))}z.isStrictCompilerOptionEnabled=M6;function Da(e,t){switch(t){case"stripInternal":case"declarationMap":case"emitDeclarationOnly":return e[t]===!0&&Da(e,"declaration");case"declaration":return e.declaration||Da(e,"composite");case"incremental":return e.incremental===void 0?Da(e,"composite"):e.incremental;case"skipDefaultLibCheck":return e.skipDefaultLibCheck||Da(e,"skipLibCheck");case"suppressImplicitAnyIndexErrors":return e.suppressImplicitAnyIndexErrors===!0&&Da(e,"noImplicitAny");case"allowSyntheticDefaultImports":return e.allowSyntheticDefaultImports!==void 0?e.allowSyntheticDefaultImports:Da(e,"esModuleInterop")||e.module===T.ModuleKind.System;case"noUncheckedIndexedAccess":return e.noUncheckedIndexedAccess===!0&&Da(e,"strictNullChecks");case"allowJs":return e.allowJs===void 0?Da(e,"checkJs"):e.allowJs;case"noImplicitAny":case"noImplicitThis":case"strictNullChecks":case"strictFunctionTypes":case"strictPropertyInitialization":case"alwaysStrict":case"strictBindCallApply":return M6(e,t)}return e[t]===!0}z.isCompilerOptionEnabled=Da;function iH(e){return e.name.kind===T.SyntaxKind.StringLiteral||(e.flags&T.NodeFlags.GlobalAugmentation)!==0}z.isAmbientModule=iH;function aH(e){return oE(e)}z.getCheckJsDirective=aH;function oE(e){let t;return T.forEachLeadingCommentRange(e,(T.getShebang(e)||"").length,(n,i,s)=>{if(s===T.SyntaxKind.SingleLineCommentTrivia){let l=e.slice(n,i),d=/^\/{2,3}\s*@ts-(no)?check(?:\s|$)/i.exec(l);d!==null&&(t={pos:n,end:i,enabled:d[1]===void 0})}}),t}z.getTsCheckDirective=oE;function sE(e){return Gt.isTypeReferenceNode(e.type)&&e.type.typeName.kind===T.SyntaxKind.Identifier&&e.type.typeName.escapedText==="const"}z.isConstAssertion=sE;function oH(e){let t=e;for(;;){let n=t.parent;e:switch(n.kind){case T.SyntaxKind.TypeAssertionExpression:case T.SyntaxKind.AsExpression:return sE(n);case T.SyntaxKind.PrefixUnaryExpression:if(t.kind!==T.SyntaxKind.NumericLiteral)return!1;switch(n.operator){case T.SyntaxKind.PlusToken:case T.SyntaxKind.MinusToken:t=n;break e;default:return!1}case T.SyntaxKind.PropertyAssignment:if(n.initializer!==t)return!1;t=n.parent;break;case T.SyntaxKind.ShorthandPropertyAssignment:t=n.parent;break;case T.SyntaxKind.ParenthesizedExpression:case T.SyntaxKind.ArrayLiteralExpression:case T.SyntaxKind.ObjectLiteralExpression:case T.SyntaxKind.TemplateExpression:t=n;break;default:return!1}}}z.isInConstContext=oH;function sH(e,t){if(!_E(e))return!1;let n=t.getTypeAtLocation(e.arguments[2]);if(n.getProperty("value")===void 0)return n.getProperty("set")===void 0;let i=n.getProperty("writable");if(i===void 0)return!1;let s=i.valueDeclaration!==void 0&&Gt.isPropertyAssignment(i.valueDeclaration)?t.getTypeAtLocation(i.valueDeclaration.initializer):t.getTypeOfSymbolAtLocation(i,e.arguments[2]);return ms.isBooleanLiteralType(s,!1)}z.isReadonlyAssignmentDeclaration=sH;function _E(e){return e.arguments.length===3&&Gt.isEntityNameExpression(e.arguments[0])&&Gt.isNumericOrStringLikeLiteral(e.arguments[1])&&Gt.isPropertyAccessExpression(e.expression)&&e.expression.name.escapedText==="defineProperty"&&Gt.isIdentifier(e.expression.expression)&&e.expression.expression.escapedText==="Object"}z.isBindableObjectDefinePropertyCall=_E;function L6(e){return T.isPropertyAccessExpression(e)&&T.isIdentifier(e.expression)&&e.expression.escapedText==="Symbol"}z.isWellKnownSymbolLiterally=L6;function J6(e){return{displayName:`[Symbol.${e.name.text}]`,symbolName:"__@"+e.name.text}}z.getPropertyNameOfWellKnownSymbol=J6;var cE=(([e,t])=>e<"4"||e==="4"&&t<"3")(T.versionMajorMinor.split("."));function lE(e,t){let n={known:!0,names:[]};if(e=R6(e),cE&&L6(e))n.names.push(J6(e));else{let i=t.getTypeAtLocation(e);for(let s of ms.unionTypeParts(t.getBaseConstraintOfType(i)||i)){let l=ms.getPropertyNameFromType(s);l?n.names.push(l):n.known=!1}}return n}z.getLateBoundPropertyNames=lE;function _H(e,t){let n=C6(e);return n!==void 0?{known:!0,names:[{displayName:n,symbolName:T.escapeLeadingUnderscores(n)}]}:e.kind===T.SyntaxKind.PrivateIdentifier?{known:!0,names:[{displayName:e.text,symbolName:t.getSymbolAtLocation(e).escapedName}]}:lE(e.expression,t)}z.getLateBoundPropertyNamesOfPropertyName=_H;function cH(e,t){let n=C6(e);if(n!==void 0)return{displayName:n,symbolName:T.escapeLeadingUnderscores(n)};if(e.kind===T.SyntaxKind.PrivateIdentifier)return{displayName:e.text,symbolName:t.getSymbolAtLocation(e).escapedName};let{expression:i}=e;return cE&&L6(i)?J6(i):ms.getPropertyNameFromType(t.getTypeAtLocation(i))}z.getSingleLateBoundPropertyNameOfPropertyName=cH;function R6(e){for(;e.kind===T.SyntaxKind.ParenthesizedExpression;)e=e.expression;return e}z.unwrapParentheses=R6;function uE(e){return`${e.negative?"-":""}${e.base10Value}n`}z.formatPseudoBigInt=uE;function lH(e,t){let n=e.caseBlock.clauses.filter(Gt.isCaseClause);if(n.length===0)return!1;let i=ms.unionTypeParts(t.getTypeAtLocation(e.expression));if(i.length>n.length)return!1;let s=new Set(i.map(Kw));if(s.has(void 0))return!1;let l=new Set;for(let d of n){let y=t.getTypeAtLocation(d.expression);if(z.isTypeFlagSet(y,T.TypeFlags.Never))continue;let p=Kw(y);if(s.has(p))l.add(p);else if(p!=="null"&&p!=="undefined")return!1}return s.size===l.size}z.hasExhaustiveCaseClauses=lH;function Kw(e){if(z.isTypeFlagSet(e,T.TypeFlags.Null))return"null";if(z.isTypeFlagSet(e,T.TypeFlags.Undefined))return"undefined";if(z.isTypeFlagSet(e,T.TypeFlags.NumberLiteral))return`${z.isTypeFlagSet(e,T.TypeFlags.EnumLiteral)?"enum:":""}${e.value}`;if(z.isTypeFlagSet(e,T.TypeFlags.StringLiteral))return`${z.isTypeFlagSet(e,T.TypeFlags.EnumLiteral)?"enum:":""}string:${e.value}`;if(z.isTypeFlagSet(e,T.TypeFlags.BigIntLiteral))return uE(e.value);if(x6.isUniqueESSymbolType(e))return e.escapedName;if(ms.isBooleanLiteralType(e,!0))return"true";if(ms.isBooleanLiteralType(e,!1))return"false"}function pE(e){var t;if(((t=e.heritageClauses)===null||t===void 0?void 0:t[0].token)===T.SyntaxKind.ExtendsKeyword)return e.heritageClauses[0].types[0]}z.getBaseOfClassLikeExpression=pE});var mE=tt(Zi=>{"use strict";var uH=Zi&&Zi.__createBinding||(Object.create?function(e,t,n,i){i===void 0&&(i=n);var s=Object.getOwnPropertyDescriptor(t,n);(!s||("get"in s?!t.__esModule:s.writable||s.configurable))&&(s={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,i,s)}:function(e,t,n,i){i===void 0&&(i=n),e[i]=t[n]}),pH=Zi&&Zi.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),dH=Zi&&Zi.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var n in e)n!=="default"&&Object.prototype.hasOwnProperty.call(e,n)&&uH(t,e,n);return pH(t,e),t};Object.defineProperty(Zi,"__esModule",{value:!0});Zi.convertComments=void 0;var fH=v6(),dE=dH(Cn()),mH=l1(),fE=_1();function yH(e,t){let n=[];return(0,fH.forEachComment)(e,(i,s)=>{let l=s.kind===dE.SyntaxKind.SingleLineCommentTrivia?fE.AST_TOKEN_TYPES.Line:fE.AST_TOKEN_TYPES.Block,d=[s.pos,s.end],y=(0,mH.getLocFor)(d[0],d[1],e),p=d[0]+2,x=s.kind===dE.SyntaxKind.SingleLineCommentTrivia?d[1]-p:d[1]-p-2;n.push({type:l,value:t.slice(p,p+x),range:d,loc:y})},e),n}Zi.convertComments=yH});var hE=tt(f1=>{"use strict";Object.defineProperty(f1,"__esModule",{value:!0});f1.astConverter=void 0;var yE=r6(),hH=mE(),gH=l1(),bH={};function vH(e,t,n){let{parseDiagnostics:i}=e;if(i.length)throw(0,yE.convertError)(i[0]);let s=new yE.Converter(e,{errorOnUnknownASTType:t.errorOnUnknownASTType||!1,shouldPreserveNodeMaps:n}),l=s.convertProgram();(!t.range||!t.loc)&&(0,bH.simpleTraverse)(l,{enter:y=>{t.range||delete y.range,t.loc||delete y.loc}}),t.tokens&&(l.tokens=(0,gH.convertTokens)(e)),t.comment&&(l.comments=(0,hH.convertComments)(e,t.code));let d=s.getASTMaps();return{estree:l,astMaps:d}}f1.astConverter=vH});var gE=tt(ur=>{"use strict";var TH=ur&&ur.__createBinding||(Object.create?function(e,t,n,i){i===void 0&&(i=n);var s=Object.getOwnPropertyDescriptor(t,n);(!s||("get"in s?!t.__esModule:s.writable||s.configurable))&&(s={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,i,s)}:function(e,t,n,i){i===void 0&&(i=n),e[i]=t[n]}),xH=ur&&ur.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),SH=ur&&ur.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var n in e)n!=="default"&&Object.prototype.hasOwnProperty.call(e,n)&&TH(t,e,n);return xH(t,e),t},wH=ur&&ur.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(ur,"__esModule",{value:!0});ur.getLanguageVariant=ur.getScriptKind=void 0;var EH=wH({extname:e=>"."+e.split(".").pop()}),Xt=SH(Cn());function CH(e,t){switch(EH.default.extname(e).toLowerCase()){case Xt.Extension.Js:case Xt.Extension.Cjs:case Xt.Extension.Mjs:return Xt.ScriptKind.JS;case Xt.Extension.Jsx:return Xt.ScriptKind.JSX;case Xt.Extension.Ts:case Xt.Extension.Cts:case Xt.Extension.Mts:return Xt.ScriptKind.TS;case Xt.Extension.Tsx:return Xt.ScriptKind.TSX;case Xt.Extension.Json:return Xt.ScriptKind.JSON;default:return t?Xt.ScriptKind.TSX:Xt.ScriptKind.TS}}ur.getScriptKind=CH;function kH(e){switch(e){case Xt.ScriptKind.TSX:case Xt.ScriptKind.JSX:case Xt.ScriptKind.JS:case Xt.ScriptKind.JSON:return Xt.LanguageVariant.JSX;default:return Xt.LanguageVariant.Standard}}ur.getLanguageVariant=kH});var vE=tt(Zr=>{"use strict";var AH=Zr&&Zr.__createBinding||(Object.create?function(e,t,n,i){i===void 0&&(i=n);var s=Object.getOwnPropertyDescriptor(t,n);(!s||("get"in s?!t.__esModule:s.writable||s.configurable))&&(s={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,i,s)}:function(e,t,n,i){i===void 0&&(i=n),e[i]=t[n]}),DH=Zr&&Zr.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),PH=Zr&&Zr.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var n in e)n!=="default"&&Object.prototype.hasOwnProperty.call(e,n)&&AH(t,e,n);return DH(t,e),t},NH=Zr&&Zr.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(Zr,"__esModule",{value:!0});Zr.createSourceFile=void 0;var IH=NH((zd(),jr(qd))),bE=PH(Cn()),OH=gE(),MH=(0,IH.default)("typescript-eslint:typescript-estree:createSourceFile");function LH(e){return MH("Getting AST without type information in %s mode for: %s",e.jsx?"TSX":"TS",e.filePath),bE.createSourceFile(e.filePath,e.code,bE.ScriptTarget.Latest,!0,(0,OH.getScriptKind)(e.filePath,e.jsx))}Zr.createSourceFile=LH});var xE=tt(TE=>{TE.ExpiringCache=class{}});var wE=tt(SE=>{SE.resolveProjectList=()=>[]});var CE=tt(EE=>{EE.inferSingleRun=()=>!1});var AE=tt(kE=>{kE.warnAboutTSVersion=()=>{}});var PE=tt(co=>{"use strict";var JH=co&&co.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(co,"__esModule",{value:!0});co.clearTSConfigMatchCache=co.createParseSettings=void 0;var F6=JH((zd(),jr(qd))),RH={ensureAbsolutePath:e=>e},DE=xE(),VG=wE(),FH=CE(),jH=AE(),BH=(0,F6.default)("typescript-eslint:typescript-estree:parser:parseSettings:createParseSettings"),ys;function UH(e,t={}){var n,i,s;let l=(0,FH.inferSingleRun)(t),d=typeof t.tsconfigRootDir=="string"?t.tsconfigRootDir:"/prettier-security-dirname-placeholder",y={code:zH(e),comment:t.comment===!0,comments:[],createDefaultProgram:t.createDefaultProgram===!0,debugLevel:t.debugLevel===!0?new Set(["typescript-eslint"]):Array.isArray(t.debugLevel)?new Set(t.debugLevel):new Set,errorOnTypeScriptSyntacticAndSemanticIssues:!1,errorOnUnknownASTType:t.errorOnUnknownASTType===!0,EXPERIMENTAL_useSourceOfProjectReferenceRedirect:t.EXPERIMENTAL_useSourceOfProjectReferenceRedirect===!0,extraFileExtensions:Array.isArray(t.extraFileExtensions)&&t.extraFileExtensions.every(p=>typeof p=="string")?t.extraFileExtensions:[],filePath:(0,RH.ensureAbsolutePath)(typeof t.filePath=="string"&&t.filePath!==""?t.filePath:WH(t.jsx),d),jsx:t.jsx===!0,loc:t.loc===!0,log:typeof t.loggerFn=="function"?t.loggerFn:t.loggerFn===!1?()=>{}:console.log,moduleResolver:(n=t.moduleResolver)!==null&&n!==void 0?n:"",preserveNodeMaps:t.preserveNodeMaps!==!1,programs:Array.isArray(t.programs)?t.programs:null,projects:[],range:t.range===!0,singleRun:l,tokens:t.tokens===!0?[]:null,tsconfigMatchCache:ys??(ys=new DE.ExpiringCache(l?"Infinity":(s=(i=t.cacheLifetime)===null||i===void 0?void 0:i.glob)!==null&&s!==void 0?s:DE.DEFAULT_TSCONFIG_CACHE_DURATION_SECONDS)),tsconfigRootDir:d};if(y.debugLevel.size>0){let p=[];y.debugLevel.has("typescript-eslint")&&p.push("typescript-eslint:*"),(y.debugLevel.has("eslint")||F6.default.enabled("eslint:*,-eslint:code-path"))&&p.push("eslint:*,-eslint:code-path"),F6.default.enable(p.join(","))}if(Array.isArray(t.programs)){if(!t.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.");BH("parserOptions.programs was provided, so parserOptions.project will be ignored.")}return y.programs||(y.projects=[]),(0,jH.warnAboutTSVersion)(y),y}co.createParseSettings=UH;function qH(){ys==null||ys.clear()}co.clearTSConfigMatchCache=qH;function zH(e){return typeof e!="string"?String(e):e}function WH(e){return e?"estree.tsx":"estree.ts"}});var ME=tt(m1=>{"use strict";Object.defineProperty(m1,"__esModule",{value:!0});m1.getFirstSemanticOrSyntacticError=void 0;var NE=Cn();function VH(e,t){try{let n=IE(e.getSyntacticDiagnostics(t));if(n.length)return OE(n[0]);let i=IE(e.getSemanticDiagnostics(t));return i.length?OE(i[0]):void 0}catch(n){console.warn(`Warning From TSC: "${n.message}`);return}}m1.getFirstSemanticOrSyntacticError=VH;function IE(e){return e.filter(t=>{switch(t.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 OE(e){return Object.assign(Object.assign({},e),{message:(0,NE.flattenDiagnosticMessageText)(e.messageText,NE.sys.newLine)})}});var BE=tt(pr=>{"use strict";var HH=pr&&pr.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(pr,"__esModule",{value:!0});pr.clearParseAndGenerateServicesCalls=pr.clearProgramCache=pr.parseWithNodeMaps=pr.parseAndGenerateServices=pr.parse=void 0;var KH=HH((zd(),jr(qd))),LE=hE(),GH=r6(),XH={},JE={},$H={},QH=vE(),RE={},FE=PE(),YH=ME(),ZH=(0,KH.default)("typescript-eslint:typescript-estree:parser"),j6=new Map;function eK(){j6.clear()}pr.clearProgramCache=eK;function tK(e,t){return e.programs&&(0,RE.useProvidedPrograms)(e.programs,e)||t&&(0,$H.createProjectProgram)(e)||t&&e.createDefaultProgram&&(0,XH.createDefaultProgram)(e)||(0,JE.createIsolatedProgram)(e)}function nK(e,t){let{ast:n}=jE(e,t,!1);return n}pr.parse=nK;function jE(e,t,n){let i=(0,FE.createParseSettings)(e,t);if(t!=null&&t.errorOnTypeScriptSyntacticAndSemanticIssues)throw new Error('"errorOnTypeScriptSyntacticAndSemanticIssues" is only supported for parseAndGenerateServices()');let s=(0,QH.createSourceFile)(i),{estree:l,astMaps:d}=(0,LE.astConverter)(s,i,n);return{ast:l,esTreeNodeToTSNodeMap:d.esTreeNodeToTSNodeMap,tsNodeToESTreeNodeMap:d.tsNodeToESTreeNodeMap}}function rK(e,t){return jE(e,t,!0)}pr.parseWithNodeMaps=rK;var y1={};function iK(){y1={}}pr.clearParseAndGenerateServicesCalls=iK;function aK(e,t){var n,i;let s=(0,FE.createParseSettings)(e,t);t!==void 0&&typeof t.errorOnTypeScriptSyntacticAndSemanticIssues=="boolean"&&t.errorOnTypeScriptSyntacticAndSemanticIssues&&(s.errorOnTypeScriptSyntacticAndSemanticIssues=!0),s.singleRun&&!s.programs&&((n=s.projects)===null||n===void 0?void 0:n.length)>0&&(s.programs={*[Symbol.iterator](){for(let D of s.projects){let w=j6.get(D);if(w)yield w;else{ZH("Detected single-run/CLI usage, creating Program once ahead of time for project: %s",D);let g=(0,RE.createProgramFromConfigFile)(D);j6.set(D,g),yield g}}}});let l=s.programs!=null||((i=s.projects)===null||i===void 0?void 0:i.length)>0;s.singleRun&&t.filePath&&(y1[t.filePath]=(y1[t.filePath]||0)+1);let{ast:d,program:y}=s.singleRun&&t.filePath&&y1[t.filePath]>1?(0,JE.createIsolatedProgram)(s):tK(s,l),p=typeof s.preserveNodeMaps=="boolean"?s.preserveNodeMaps:!0,{estree:x,astMaps:h}=(0,LE.astConverter)(d,s,p);if(y&&s.errorOnTypeScriptSyntacticAndSemanticIssues){let D=(0,YH.getFirstSemanticOrSyntacticError)(y,d);if(D)throw(0,GH.convertError)(D)}return{ast:x,services:{hasFullTypeInformation:l,program:y,esTreeNodeToTSNodeMap:h.esTreeNodeToTSNodeMap,tsNodeToESTreeNodeMap:h.tsNodeToESTreeNodeMap}}}pr.parseAndGenerateServices=aK});var GE=tt(hs=>{"use strict";Object.defineProperty(hs,"__esModule",{value:!0});hs.extract=dK;hs.parse=mK;hs.parseWithComments=KE;hs.print=yK;hs.strip=fK;var _K=/\*\/$/,cK=/^\/\*\*?/,VE=/^\s*(\/\*\*?(.|\r?\n)*?\*\/)/,lK=/(^|\s+)\/\/([^\r\n]*)/g,qE=/^(\r?\n)+/,uK=/(?:^|\r?\n) *(@[^\r\n]*?) *\r?\n *(?![^@\r\n]*\/\/[^]*)([^@\r\n\s][^@\r\n]+?) *\r?\n/g,zE=/(?:^|\r?\n) *@(\S+) *([^\r\n]*)/g,pK=/(\r?\n|^) *\* ?/g,HE=[];function dK(e){let t=e.match(VE);return t?t[0].trimLeft():""}function fK(e){let t=e.match(VE);return t&&t[0]?e.substring(t[0].length):e}function mK(e){return KE(e).pragmas}function KE(e){let t=` -`;e=e.replace(cK,"").replace(_K,"").replace(pK,"$1");let n="";for(;n!==e;)n=e,e=e.replace(uK,`${t}$1 $2${t}`);e=e.replace(qE,"").trimRight();let i=Object.create(null),s=e.replace(zE,"").replace(qE,"").trimRight(),l;for(;l=zE.exec(e);){let d=l[2].replace(lK,"");typeof i[l[1]]=="string"||Array.isArray(i[l[1]])?i[l[1]]=HE.concat(i[l[1]],d):i[l[1]]=d}return{comments:s,pragmas:i}}function yK({comments:e="",pragmas:t={}}){let n=` -`,i="/**",s=" *",l=" */",d=Object.keys(t),y=d.map(x=>WE(x,t[x])).reduce((x,h)=>x.concat(h),[]).map(x=>`${s} ${x}${n}`).join("");if(!e){if(d.length===0)return"";if(d.length===1&&!Array.isArray(t[d[0]])){let x=t[d[0]];return`${i} ${WE(d[0],x)[0]}${l}`}}let p=e.split(n).map(x=>`${s} ${x}`).join(n)+n;return i+n+(e?p:"")+(e&&d.length?s+n:"")+y+l}function WE(e,t){return HE.concat(t).map(n=>`@${e} ${n}`.trim())}});var H6={};Ud(H6,{parsers:()=>g1});var g1={};Ud(g1,{typescript:()=>WK});var sC=Xy(BE(),1);function oK(e,t){let n=new SyntaxError(e+" ("+t.loc.start.line+":"+t.loc.start.column+")");return Object.assign(n,t)}var h1=oK;function sK(e){let t=[];for(let n of e)try{return n()}catch(i){t.push(i)}throw Object.assign(new Error("All combinations failed"),{errors:t})}var UE=sK;var W_=Xy(GE(),1);function hK(e){if(!e.startsWith("#!"))return"";let t=e.indexOf(` -`);return t===-1?e:e.slice(0,t)}var XE=hK;function gK(e){let t=XE(e);t&&(e=e.slice(t.length+1));let n=(0,W_.extract)(e),{pragmas:i,comments:s}=(0,W_.parseWithComments)(n);return{shebang:t,text:e,pragmas:i,comments:s}}function $E(e){let{pragmas:t}=gK(e);return Object.prototype.hasOwnProperty.call(t,"prettier")||Object.prototype.hasOwnProperty.call(t,"format")}function bK(e){return Array.isArray(e)&&e.length>0}var gs=bK;function Ir(e){var i;let t=e.range?e.range[0]:e.start,n=((i=e.declaration)==null?void 0:i.decorators)??e.decorators;return gs(n)?Math.min(Ir(n[0]),t):t}function ea(e){return e.range?e.range[1]:e.end}function vK(e){return e=typeof e=="function"?{parse:e}:e,{astFormat:"estree",hasPragma:$E,locStart:Ir,locEnd:ea,...e}}var QE=vK;function TK(e){return e.charAt(0)==="#"&&e.charAt(1)==="!"?"//"+e.slice(2):e}var YE=TK;var xK=(e,t,n)=>{if(!(e&&t==null))return Array.isArray(t)||typeof t=="string"?t[n<0?t.length+n:n]:t.at(n)},B6=xK;function SK(e){return e=new Set(e),t=>e.has(t==null?void 0:t.type)}var ZE=SK;var wK=ZE(["Block","CommentBlock","MultiLine"]),cu=wK;function EK(e){return cu(e)&&e.value[0]==="*"&&/@(?:type|satisfies)\b/.test(e.value)}var eC=EK;function CK(e){let t=`*${e.value}*`.split(` -`);return t.length>1&&t.every(n=>n.trimStart()[0]==="*")}var U6=CK;var lu=null;function uu(e){if(lu!==null&&typeof lu.property){let t=lu;return lu=uu.prototype=null,t}return lu=uu.prototype=e??Object.create(null),new uu}var kK=10;for(let e=0;e<=kK;e++)uu();function q6(e){return uu(e)}function AK(e,t="type"){q6(e);function n(i){let s=i[t],l=e[s];if(!Array.isArray(l))throw Object.assign(new Error(`Missing visitor keys for '${s}'.`),{node:i});return l}return n}var tC=AK;var nC={ArrayExpression:["elements"],AssignmentExpression:["left","right"],BinaryExpression:["left","right"],InterpreterDirective:[],Directive:["value"],DirectiveLiteral:[],BlockStatement:["directives","body"],BreakStatement:["label"],CallExpression:["callee","arguments","typeParameters","typeArguments"],CatchClause:["param","body"],ConditionalExpression:["test","consequent","alternate"],ContinueStatement:["label"],DebuggerStatement:[],DoWhileStatement:["test","body"],EmptyStatement:[],ExpressionStatement:["expression"],File:["program"],ForInStatement:["left","right","body"],ForStatement:["init","test","update","body"],FunctionDeclaration:["id","params","body","returnType","typeParameters","predicate"],FunctionExpression:["id","params","body","returnType","typeParameters"],Identifier:["typeAnnotation","decorators"],IfStatement:["test","consequent","alternate"],LabeledStatement:["label","body"],StringLiteral:[],NumericLiteral:[],NullLiteral:[],BooleanLiteral:[],RegExpLiteral:[],LogicalExpression:["left","right"],MemberExpression:["object","property"],NewExpression:["callee","arguments","typeParameters","typeArguments"],Program:["directives","body"],ObjectExpression:["properties"],ObjectMethod:["key","params","body","decorators","returnType","typeParameters"],ObjectProperty:["key","value","decorators"],RestElement:["argument","typeAnnotation","decorators"],ReturnStatement:["argument"],SequenceExpression:["expressions"],ParenthesizedExpression:["expression"],SwitchCase:["test","consequent"],SwitchStatement:["discriminant","cases"],ThisExpression:[],ThrowStatement:["argument"],TryStatement:["block","handler","finalizer"],UnaryExpression:["argument"],UpdateExpression:["argument"],VariableDeclaration:["declarations"],VariableDeclarator:["id","init"],WhileStatement:["test","body"],WithStatement:["object","body"],AssignmentPattern:["left","right","decorators","typeAnnotation"],ArrayPattern:["elements","typeAnnotation","decorators"],ArrowFunctionExpression:["params","body","returnType","typeParameters","predicate"],ClassBody:["body"],ClassExpression:["id","body","superClass","mixins","typeParameters","superTypeParameters","implements","decorators"],ClassDeclaration:["id","body","superClass","mixins","typeParameters","superTypeParameters","implements","decorators"],ExportAllDeclaration:["source","attributes","assertions","exported"],ExportDefaultDeclaration:["declaration"],ExportNamedDeclaration:["declaration","specifiers","source","attributes","assertions"],ExportSpecifier:["local","exported"],ForOfStatement:["left","right","body"],ImportDeclaration:["specifiers","source","attributes","assertions"],ImportDefaultSpecifier:["local"],ImportNamespaceSpecifier:["local"],ImportSpecifier:["local","imported"],MetaProperty:["meta","property"],ClassMethod:["key","params","body","decorators","returnType","typeParameters"],ObjectPattern:["properties","typeAnnotation","decorators"],SpreadElement:["argument"],Super:[],TaggedTemplateExpression:["tag","quasi","typeParameters"],TemplateElement:[],TemplateLiteral:["quasis","expressions"],YieldExpression:["argument"],AwaitExpression:["argument"],Import:[],BigIntLiteral:[],ExportNamespaceSpecifier:["exported"],OptionalMemberExpression:["object","property"],OptionalCallExpression:["callee","arguments","typeParameters","typeArguments"],ClassProperty:["key","value","typeAnnotation","decorators","variance"],ClassAccessorProperty:["key","value","typeAnnotation","decorators"],ClassPrivateProperty:["key","value","decorators","typeAnnotation","variance"],ClassPrivateMethod:["key","params","body","decorators","returnType","typeParameters"],PrivateName:["id"],StaticBlock:["body"],AnyTypeAnnotation:[],ArrayTypeAnnotation:["elementType"],BooleanTypeAnnotation:[],BooleanLiteralTypeAnnotation:[],NullLiteralTypeAnnotation:[],ClassImplements:["id","typeParameters"],DeclareClass:["id","typeParameters","extends","mixins","implements","body"],DeclareFunction:["id","predicate"],DeclareInterface:["id","typeParameters","extends","body"],DeclareModule:["id","body"],DeclareModuleExports:["typeAnnotation"],DeclareTypeAlias:["id","typeParameters","right"],DeclareOpaqueType:["id","typeParameters","supertype"],DeclareVariable:["id"],DeclareExportDeclaration:["declaration","specifiers","source"],DeclareExportAllDeclaration:["source"],DeclaredPredicate:["value"],ExistsTypeAnnotation:[],FunctionTypeAnnotation:["typeParameters","params","rest","returnType","this"],FunctionTypeParam:["name","typeAnnotation"],GenericTypeAnnotation:["id","typeParameters"],InferredPredicate:[],InterfaceExtends:["id","typeParameters"],InterfaceDeclaration:["id","typeParameters","extends","body"],InterfaceTypeAnnotation:["extends","body"],IntersectionTypeAnnotation:["types"],MixedTypeAnnotation:[],EmptyTypeAnnotation:[],NullableTypeAnnotation:["typeAnnotation"],NumberLiteralTypeAnnotation:[],NumberTypeAnnotation:[],ObjectTypeAnnotation:["properties","indexers","callProperties","internalSlots"],ObjectTypeInternalSlot:["id","value","optional","static","method"],ObjectTypeCallProperty:["value"],ObjectTypeIndexer:["id","key","value","variance"],ObjectTypeProperty:["key","value","variance"],ObjectTypeSpreadProperty:["argument"],OpaqueType:["id","typeParameters","supertype","impltype"],QualifiedTypeIdentifier:["id","qualification"],StringLiteralTypeAnnotation:[],StringTypeAnnotation:[],SymbolTypeAnnotation:[],ThisTypeAnnotation:[],TupleTypeAnnotation:["types","elementTypes"],TypeofTypeAnnotation:["argument"],TypeAlias:["id","typeParameters","right"],TypeAnnotation:["typeAnnotation"],TypeCastExpression:["expression","typeAnnotation"],TypeParameter:["bound","default","variance"],TypeParameterDeclaration:["params"],TypeParameterInstantiation:["params"],UnionTypeAnnotation:["types"],Variance:[],VoidTypeAnnotation:[],EnumDeclaration:["id","body"],EnumBooleanBody:["members"],EnumNumberBody:["members"],EnumStringBody:["members"],EnumSymbolBody:["members"],EnumBooleanMember:["id","init"],EnumNumberMember:["id","init"],EnumStringMember:["id","init"],EnumDefaultedMember:["id"],IndexedAccessType:["objectType","indexType"],OptionalIndexedAccessType:["objectType","indexType"],JSXAttribute:["name","value"],JSXClosingElement:["name"],JSXElement:["openingElement","children","closingElement"],JSXEmptyExpression:[],JSXExpressionContainer:["expression"],JSXSpreadChild:["expression"],JSXIdentifier:[],JSXMemberExpression:["object","property"],JSXNamespacedName:["namespace","name"],JSXOpeningElement:["name","attributes","typeParameters"],JSXSpreadAttribute:["argument"],JSXText:[],JSXFragment:["openingFragment","children","closingFragment"],JSXOpeningFragment:[],JSXClosingFragment:[],Noop:[],Placeholder:[],V8IntrinsicIdentifier:[],ArgumentPlaceholder:[],BindExpression:["object","callee"],ImportAttribute:["key","value"],Decorator:["expression"],DoExpression:["body"],ExportDefaultSpecifier:["exported"],RecordExpression:["properties"],TupleExpression:["elements"],DecimalLiteral:[],ModuleExpression:["body"],TopicReference:[],PipelineTopicExpression:["expression"],PipelineBareFunction:["callee"],PipelinePrimaryTopicReference:[],TSParameterProperty:["parameter","decorators"],TSDeclareFunction:["id","typeParameters","params","returnType","body"],TSDeclareMethod:["decorators","key","typeParameters","params","returnType"],TSQualifiedName:["left","right"],TSCallSignatureDeclaration:["typeParameters","parameters","typeAnnotation","params","returnType"],TSConstructSignatureDeclaration:["typeParameters","parameters","typeAnnotation","params","returnType"],TSPropertySignature:["key","typeAnnotation"],TSMethodSignature:["key","typeParameters","parameters","typeAnnotation","params","returnType"],TSIndexSignature:["parameters","typeAnnotation"],TSAnyKeyword:[],TSBooleanKeyword:[],TSBigIntKeyword:[],TSIntrinsicKeyword:[],TSNeverKeyword:[],TSNullKeyword:[],TSNumberKeyword:[],TSObjectKeyword:[],TSStringKeyword:[],TSSymbolKeyword:[],TSUndefinedKeyword:[],TSUnknownKeyword:[],TSVoidKeyword:[],TSThisType:[],TSFunctionType:["typeParameters","parameters","typeAnnotation","params","returnType"],TSConstructorType:["typeParameters","parameters","typeAnnotation","params","returnType"],TSTypeReference:["typeName","typeParameters"],TSTypePredicate:["parameterName","typeAnnotation"],TSTypeQuery:["exprName","typeParameters"],TSTypeLiteral:["members"],TSArrayType:["elementType"],TSTupleType:["elementTypes"],TSOptionalType:["typeAnnotation"],TSRestType:["typeAnnotation"],TSNamedTupleMember:["label","elementType"],TSUnionType:["types"],TSIntersectionType:["types"],TSConditionalType:["checkType","extendsType","trueType","falseType"],TSInferType:["typeParameter"],TSParenthesizedType:["typeAnnotation"],TSTypeOperator:["typeAnnotation"],TSIndexedAccessType:["objectType","indexType"],TSMappedType:["typeParameter","typeAnnotation","nameType"],TSLiteralType:["literal"],TSExpressionWithTypeArguments:["expression","typeParameters"],TSInterfaceDeclaration:["id","typeParameters","extends","body"],TSInterfaceBody:["body"],TSTypeAliasDeclaration:["id","typeParameters","typeAnnotation"],TSInstantiationExpression:["expression","typeParameters"],TSAsExpression:["expression","typeAnnotation"],TSSatisfiesExpression:["expression","typeAnnotation"],TSTypeAssertion:["typeAnnotation","expression"],TSEnumDeclaration:["id","members"],TSEnumMember:["id","initializer"],TSModuleDeclaration:["id","body"],TSModuleBlock:["body"],TSImportType:["argument","qualifier","typeParameters","parameter"],TSImportEqualsDeclaration:["id","moduleReference"],TSExternalModuleReference:["expression"],TSNonNullExpression:["expression"],TSExportAssignment:["expression"],TSNamespaceExportDeclaration:["id"],TSTypeAnnotation:["typeAnnotation"],TSTypeParameterInstantiation:["params"],TSTypeParameterDeclaration:["params"],TSTypeParameter:["constraint","default","name"],ChainExpression:["expression"],ExperimentalRestProperty:["argument"],ExperimentalSpreadProperty:["argument"],ImportExpression:["source","attributes"],Literal:[],MethodDefinition:["decorators","key","value"],PrivateIdentifier:[],Property:["key","value"],PropertyDefinition:["decorators","key","typeAnnotation","value","variance"],AccessorProperty:["decorators","key","typeAnnotation","value"],TSAbstractAccessorProperty:["decorators","key","typeAnnotation"],TSAbstractKeyword:[],TSAbstractMethodDefinition:["key","value"],TSAbstractPropertyDefinition:["decorators","key","typeAnnotation"],TSAsyncKeyword:[],TSClassImplements:["expression","typeParameters"],TSDeclareKeyword:[],TSEmptyBodyFunctionExpression:["id","typeParameters","params","returnType"],TSExportKeyword:[],TSInterfaceHeritage:["expression","typeParameters"],TSPrivateKeyword:[],TSProtectedKeyword:[],TSPublicKeyword:[],TSReadonlyKeyword:[],TSStaticKeyword:[],TSTemplateLiteralType:["quasis","types"],BigIntLiteralTypeAnnotation:[],BigIntTypeAnnotation:[],ConditionalTypeAnnotation:["checkType","extendsType","trueType","falseType"],DeclareEnum:["id","body"],InferTypeAnnotation:["typeParameter"],KeyofTypeAnnotation:["argument"],ObjectTypeMappedTypeProperty:["keyTparam","propType","sourceType","variance"],QualifiedTypeofIdentifier:["qualification","id"],TupleTypeLabeledElement:["label","elementType","variance"],TupleTypeSpreadElement:["label","typeAnnotation"],TypePredicate:["parameterName","typeAnnotation","asserts"],NGRoot:["node"],NGPipeExpression:["left","right","arguments"],NGChainedExpression:["expressions"],NGEmptyExpression:[],NGMicrosyntax:["body"],NGMicrosyntaxKey:[],NGMicrosyntaxExpression:["expression","alias"],NGMicrosyntaxKeyedExpression:["key","expression"],NGMicrosyntaxLet:["key","value"],NGMicrosyntaxAs:["key","alias"],JsExpressionRoot:["node"],JsonRoot:["node"],TSJSDocAllType:[],TSJSDocUnknownType:[],TSJSDocNullableType:["typeAnnotation"],TSJSDocNonNullableType:["typeAnnotation"],NeverTypeAnnotation:[],UndefinedTypeAnnotation:[],UnknownTypeAnnotation:[]};var DK=tC(nC),rC=DK;function z6(e,t){if(!(e!==null&&typeof e=="object"))return e;if(Array.isArray(e)){for(let i=0;i{var y;(y=d.leadingComments)!=null&&y.some(eC)&&l.add(Ir(d))}),e=V_(e,d=>{if(d.type==="ParenthesizedExpression"){let{expression:y}=d;if(y.type==="TypeCastExpression")return y.range=d.range,y;let p=Ir(d);if(!l.has(p))return y.extra={...y.extra,parenthesized:!0},y}})}if(e=V_(e,l=>{switch(l.type){case"LogicalExpression":if(iC(l))return W6(l);break;case"VariableDeclaration":{let d=B6(!1,l.declarations,-1);d!=null&&d.init&&s(l,d);break}case"TSParenthesizedType":return l.typeAnnotation;case"TSTypeParameter":if(typeof l.name=="string"){let d=Ir(l);l.name={type:"Identifier",name:l.name,range:[d,d+l.name.length]}}break;case"ObjectExpression":if(n==="typescript"){let d=l.properties.find(y=>y.type==="Property"&&y.value.type==="TSEmptyBodyFunctionExpression");d&&bs(d.value,"Unexpected token.")}break;case"TSInterfaceDeclaration":gs(l.implements)&&bs(l.implements[0],"Interface declaration cannot have 'implements' clause.");break;case"TSPropertySignature":l.initializer&&bs(l.initializer,"An interface property cannot have an initializer.");break;case"TopicReference":e.extra={...e.extra,__isUsingHackPipeline:!0};break;case"ExportAllDeclaration":{let{exported:d}=l;if(n==="meriyah"&&(d==null?void 0:d.type)==="Identifier"){let y=i.slice(Ir(d),ea(d));(y.startsWith('"')||y.startsWith("'"))&&(l.exported={...l.exported,type:"Literal",value:l.exported.name,raw:y})}break}case"TSUnionType":case"TSIntersectionType":if(l.types.length===1)return l.types[0];break}}),gs(e.comments)){let l=B6(!1,e.comments,-1);for(let d=e.comments.length-2;d>=0;d--){let y=e.comments[d];ea(y)===Ir(l)&&cu(y)&&cu(l)&&U6(y)&&U6(l)&&(e.comments.splice(d+1,1),y.value+="*//*"+l.value,y.range=[Ir(y),ea(l)]),l=y}}return e.type==="Program"&&(e.range=[0,i.length]),e;function s(l,d){i[ea(d)]!==";"&&(l.range=[Ir(l),ea(d)])}}function iC(e){return e.type==="LogicalExpression"&&e.right.type==="LogicalExpression"&&e.operator===e.right.operator}function W6(e){return iC(e)?W6({type:"LogicalExpression",operator:e.operator,left:W6({type:"LogicalExpression",operator:e.operator,left:e.left,right:e.right.left,range:[Ir(e.left),ea(e.right.left)]}),right:e.right.right,range:[Ir(e),ea(e)]}):e}var aC=NK;var Dt=Xy(Cn(),1);function IK(e){let t=Dt.default.getSourceFileOfNode(e),n=Dt.default.rangeOfNode(e),[i,s]=[n.pos,n.end].map(l=>{let{line:d,character:y}=t.getLineAndCharacterOfPosition(l);return{line:d+1,column:y}});return{start:i,end:s}}function dr(e,t){bs({loc:IK(e)},t)}function OK(e,t){var n;e.kind===Dt.default.SyntaxKind.PropertyDeclaration&&e.initializer&&t.value===null&&((n=e.modifiers)!=null&&n.some(i=>i.kind===Dt.default.SyntaxKind.AbstractKeyword))&&bs(t,"Abstract property cannot have an initializer")}function MK(e){return[!0,!1].some(t=>Dt.default.nodeCanBeDecorated(t,e,e.parent,e.parent.parent))}function LK(e){let{modifiers:t}=e;if(!gs(t))return;let{SyntaxKind:n}=Dt.default;for(let i of t)if(Dt.default.isDecorator(i)&&!MK(e)&&(e.kind===n.MethodDeclaration&&!Dt.default.nodeIsPresent(e.body)&&dr(i,"A decorator can only decorate a method implementation, not an overload."),dr(i,"Decorators are not valid here.")),i.kind!==n.ReadonlyKeyword&&((e.kind===n.PropertySignature||e.kind===n.MethodSignature)&&dr(i,`'${Dt.default.tokenToString(i.kind)}' modifier cannot appear on a type member`),e.kind===n.IndexSignature&&(i.kind!==n.StaticKeyword||!Dt.default.isClassLike(e.parent))&&dr(i,`'${Dt.default.tokenToString(i.kind)}' modifier cannot appear on an index signature`)),i.kind!==n.InKeyword&&i.kind!==n.OutKeyword&&i.kind!==n.ConstKeyword&&e.kind===n.TypeParameter&&dr(i,`'${Dt.default.tokenToString(i.kind)}' modifier cannot appear on a type parameter`),(i.kind===n.InKeyword||i.kind===n.OutKeyword)&&(e.kind!==n.TypeParameter||!(Dt.default.isInterfaceDeclaration(e.parent)||Dt.default.isClassLike(e.parent)||Dt.default.isTypeAliasDeclaration(e.parent)))&&dr(i,`'${Dt.default.tokenToString(i.kind)}' modifier can only appear on a type parameter of a class, interface or type alias`),i.kind===n.ReadonlyKeyword&&e.kind!==n.PropertyDeclaration&&e.kind!==n.PropertySignature&&e.kind!==n.IndexSignature&&e.kind!==n.Parameter&&dr(i,"'readonly' modifier can only appear on a property declaration or index signature."),i.kind===n.DeclareKeyword&&Dt.default.isClassLike(e.parent)&&!Dt.default.isPropertyDeclaration(e)&&dr(i,`'${Dt.default.tokenToString(i.kind)}' modifier cannot appear on class elements of this kind.`),i.kind===n.AbstractKeyword&&e.kind!==n.ClassDeclaration&&e.kind!==n.ConstructorType&&e.kind!==n.MethodDeclaration&&e.kind!==n.PropertyDeclaration&&e.kind!==n.GetAccessor&&e.kind!==n.SetAccessor&&dr(i,`'${Dt.default.tokenToString(i.kind)}' modifier can only appear on a class, method, or property declaration.`),(i.kind===n.StaticKeyword||i.kind===n.PublicKeyword||i.kind===n.ProtectedKeyword||i.kind===n.PrivateKeyword)&&(e.parent.kind===n.ModuleBlock||e.parent.kind===n.SourceFile)&&dr(i,`'${Dt.default.tokenToString(i.kind)}' modifier cannot appear on a module or namespace element.`),i.kind===n.AccessorKeyword&&e.kind!==n.PropertyDeclaration&&dr(i,"'accessor' modifier can only appear on a property declaration."),i.kind===n.AsyncKeyword&&e.kind!==n.MethodDeclaration&&e.kind!==n.FunctionDeclaration&&e.kind!==n.FunctionExpression&&e.kind!==n.ArrowFunction&&dr(i,"'async' modifier cannot be used here."),e.kind===n.Parameter&&(i.kind===n.StaticKeyword||i.kind===n.ExportKeyword||i.kind===n.DeclareKeyword||i.kind===n.AsyncKeyword)&&dr(i,`'${Dt.default.tokenToString(i.kind)}' modifier cannot appear on a parameter.`),e.kind===n.Parameter&&Dt.default.hasSyntacticModifier(e,Dt.default.ModifierFlags.ParameterPropertyModifier)){let s=Dt.default.getContainingFunction(e);s.kind===n.Constructor&&Dt.default.nodeIsPresent(s.body)||dr(i,"A parameter property is only allowed in a constructor implementation.")}}function JK(e,t){let{esTreeNodeToTSNodeMap:n,tsNodeToESTreeNodeMap:i}=t,s=n.get(e);if(!(!s||i.get(s)!==e))return s}var RK=["abstract","accessor","async","const","declare","default","export","in","out","override","private","protected","public","readonly","static"],FK=new RegExp(["@",...RK].join("|"));function oC(e,t){FK.test(t)&&V_(e.ast,n=>{let i=JK(n,e);i&&(OK(i,n),LK(i))})}var V6={loc:!0,range:!0,comment:!0,tokens:!0,loggerFn:!1,project:[]};function jK(e){let{message:t,lineNumber:n,column:i}=e;return typeof n!="number"?e:h1(t,{loc:{start:{line:n,column:i+1}},cause:e})}var BK=e=>/\.(?:js|mjs|cjs|jsx|ts|mts|cts|tsx)$/i.test(e);function UK(e,t){let n=t==null?void 0:t.filepath;if(n&&BK(n))return[{...V6,filePath:n}];let i=zK(e);return[{...V6,jsx:i},{...V6,jsx:!i}]}function qK(e,t){let n=YE(e),i=UK(e,t),s;try{s=UE(i.map(l=>()=>(0,sC.parseWithNodeMaps)(n,l)))}catch({errors:[l]}){throw jK(l)}return oC(s,e),aC(s.ast,{parser:"typescript",text:e})}function zK(e){return new RegExp(["(?:^[^\"'`]*)"].join(""),"m").test(e)}var WK=QE(qK);var QX=H6;export{QX as default,g1 as parsers}; +`;function cn(Fe,He){Me[Fe]+=He}}function ii(u){switch(u){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 M(u,Oe){if(u.fill)u.fill(Oe);else for(let Me=0;Me0?u.repeat(Oe):"";let Me="";for(;Me.length{},{get:()=>Xp}),zd=()=>{},$y=()=>{},rl,ce=(e=>(e[e.Unknown=0]="Unknown",e[e.EndOfFileToken=1]="EndOfFileToken",e[e.SingleLineCommentTrivia=2]="SingleLineCommentTrivia",e[e.MultiLineCommentTrivia=3]="MultiLineCommentTrivia",e[e.NewLineTrivia=4]="NewLineTrivia",e[e.WhitespaceTrivia=5]="WhitespaceTrivia",e[e.ShebangTrivia=6]="ShebangTrivia",e[e.ConflictMarkerTrivia=7]="ConflictMarkerTrivia",e[e.NonTextFileMarkerTrivia=8]="NonTextFileMarkerTrivia",e[e.NumericLiteral=9]="NumericLiteral",e[e.BigIntLiteral=10]="BigIntLiteral",e[e.StringLiteral=11]="StringLiteral",e[e.JsxText=12]="JsxText",e[e.JsxTextAllWhiteSpaces=13]="JsxTextAllWhiteSpaces",e[e.RegularExpressionLiteral=14]="RegularExpressionLiteral",e[e.NoSubstitutionTemplateLiteral=15]="NoSubstitutionTemplateLiteral",e[e.TemplateHead=16]="TemplateHead",e[e.TemplateMiddle=17]="TemplateMiddle",e[e.TemplateTail=18]="TemplateTail",e[e.OpenBraceToken=19]="OpenBraceToken",e[e.CloseBraceToken=20]="CloseBraceToken",e[e.OpenParenToken=21]="OpenParenToken",e[e.CloseParenToken=22]="CloseParenToken",e[e.OpenBracketToken=23]="OpenBracketToken",e[e.CloseBracketToken=24]="CloseBracketToken",e[e.DotToken=25]="DotToken",e[e.DotDotDotToken=26]="DotDotDotToken",e[e.SemicolonToken=27]="SemicolonToken",e[e.CommaToken=28]="CommaToken",e[e.QuestionDotToken=29]="QuestionDotToken",e[e.LessThanToken=30]="LessThanToken",e[e.LessThanSlashToken=31]="LessThanSlashToken",e[e.GreaterThanToken=32]="GreaterThanToken",e[e.LessThanEqualsToken=33]="LessThanEqualsToken",e[e.GreaterThanEqualsToken=34]="GreaterThanEqualsToken",e[e.EqualsEqualsToken=35]="EqualsEqualsToken",e[e.ExclamationEqualsToken=36]="ExclamationEqualsToken",e[e.EqualsEqualsEqualsToken=37]="EqualsEqualsEqualsToken",e[e.ExclamationEqualsEqualsToken=38]="ExclamationEqualsEqualsToken",e[e.EqualsGreaterThanToken=39]="EqualsGreaterThanToken",e[e.PlusToken=40]="PlusToken",e[e.MinusToken=41]="MinusToken",e[e.AsteriskToken=42]="AsteriskToken",e[e.AsteriskAsteriskToken=43]="AsteriskAsteriskToken",e[e.SlashToken=44]="SlashToken",e[e.PercentToken=45]="PercentToken",e[e.PlusPlusToken=46]="PlusPlusToken",e[e.MinusMinusToken=47]="MinusMinusToken",e[e.LessThanLessThanToken=48]="LessThanLessThanToken",e[e.GreaterThanGreaterThanToken=49]="GreaterThanGreaterThanToken",e[e.GreaterThanGreaterThanGreaterThanToken=50]="GreaterThanGreaterThanGreaterThanToken",e[e.AmpersandToken=51]="AmpersandToken",e[e.BarToken=52]="BarToken",e[e.CaretToken=53]="CaretToken",e[e.ExclamationToken=54]="ExclamationToken",e[e.TildeToken=55]="TildeToken",e[e.AmpersandAmpersandToken=56]="AmpersandAmpersandToken",e[e.BarBarToken=57]="BarBarToken",e[e.QuestionToken=58]="QuestionToken",e[e.ColonToken=59]="ColonToken",e[e.AtToken=60]="AtToken",e[e.QuestionQuestionToken=61]="QuestionQuestionToken",e[e.BacktickToken=62]="BacktickToken",e[e.HashToken=63]="HashToken",e[e.EqualsToken=64]="EqualsToken",e[e.PlusEqualsToken=65]="PlusEqualsToken",e[e.MinusEqualsToken=66]="MinusEqualsToken",e[e.AsteriskEqualsToken=67]="AsteriskEqualsToken",e[e.AsteriskAsteriskEqualsToken=68]="AsteriskAsteriskEqualsToken",e[e.SlashEqualsToken=69]="SlashEqualsToken",e[e.PercentEqualsToken=70]="PercentEqualsToken",e[e.LessThanLessThanEqualsToken=71]="LessThanLessThanEqualsToken",e[e.GreaterThanGreaterThanEqualsToken=72]="GreaterThanGreaterThanEqualsToken",e[e.GreaterThanGreaterThanGreaterThanEqualsToken=73]="GreaterThanGreaterThanGreaterThanEqualsToken",e[e.AmpersandEqualsToken=74]="AmpersandEqualsToken",e[e.BarEqualsToken=75]="BarEqualsToken",e[e.BarBarEqualsToken=76]="BarBarEqualsToken",e[e.AmpersandAmpersandEqualsToken=77]="AmpersandAmpersandEqualsToken",e[e.QuestionQuestionEqualsToken=78]="QuestionQuestionEqualsToken",e[e.CaretEqualsToken=79]="CaretEqualsToken",e[e.Identifier=80]="Identifier",e[e.PrivateIdentifier=81]="PrivateIdentifier",e[e.JSDocCommentTextToken=82]="JSDocCommentTextToken",e[e.BreakKeyword=83]="BreakKeyword",e[e.CaseKeyword=84]="CaseKeyword",e[e.CatchKeyword=85]="CatchKeyword",e[e.ClassKeyword=86]="ClassKeyword",e[e.ConstKeyword=87]="ConstKeyword",e[e.ContinueKeyword=88]="ContinueKeyword",e[e.DebuggerKeyword=89]="DebuggerKeyword",e[e.DefaultKeyword=90]="DefaultKeyword",e[e.DeleteKeyword=91]="DeleteKeyword",e[e.DoKeyword=92]="DoKeyword",e[e.ElseKeyword=93]="ElseKeyword",e[e.EnumKeyword=94]="EnumKeyword",e[e.ExportKeyword=95]="ExportKeyword",e[e.ExtendsKeyword=96]="ExtendsKeyword",e[e.FalseKeyword=97]="FalseKeyword",e[e.FinallyKeyword=98]="FinallyKeyword",e[e.ForKeyword=99]="ForKeyword",e[e.FunctionKeyword=100]="FunctionKeyword",e[e.IfKeyword=101]="IfKeyword",e[e.ImportKeyword=102]="ImportKeyword",e[e.InKeyword=103]="InKeyword",e[e.InstanceOfKeyword=104]="InstanceOfKeyword",e[e.NewKeyword=105]="NewKeyword",e[e.NullKeyword=106]="NullKeyword",e[e.ReturnKeyword=107]="ReturnKeyword",e[e.SuperKeyword=108]="SuperKeyword",e[e.SwitchKeyword=109]="SwitchKeyword",e[e.ThisKeyword=110]="ThisKeyword",e[e.ThrowKeyword=111]="ThrowKeyword",e[e.TrueKeyword=112]="TrueKeyword",e[e.TryKeyword=113]="TryKeyword",e[e.TypeOfKeyword=114]="TypeOfKeyword",e[e.VarKeyword=115]="VarKeyword",e[e.VoidKeyword=116]="VoidKeyword",e[e.WhileKeyword=117]="WhileKeyword",e[e.WithKeyword=118]="WithKeyword",e[e.ImplementsKeyword=119]="ImplementsKeyword",e[e.InterfaceKeyword=120]="InterfaceKeyword",e[e.LetKeyword=121]="LetKeyword",e[e.PackageKeyword=122]="PackageKeyword",e[e.PrivateKeyword=123]="PrivateKeyword",e[e.ProtectedKeyword=124]="ProtectedKeyword",e[e.PublicKeyword=125]="PublicKeyword",e[e.StaticKeyword=126]="StaticKeyword",e[e.YieldKeyword=127]="YieldKeyword",e[e.AbstractKeyword=128]="AbstractKeyword",e[e.AccessorKeyword=129]="AccessorKeyword",e[e.AsKeyword=130]="AsKeyword",e[e.AssertsKeyword=131]="AssertsKeyword",e[e.AssertKeyword=132]="AssertKeyword",e[e.AnyKeyword=133]="AnyKeyword",e[e.AsyncKeyword=134]="AsyncKeyword",e[e.AwaitKeyword=135]="AwaitKeyword",e[e.BooleanKeyword=136]="BooleanKeyword",e[e.ConstructorKeyword=137]="ConstructorKeyword",e[e.DeclareKeyword=138]="DeclareKeyword",e[e.GetKeyword=139]="GetKeyword",e[e.InferKeyword=140]="InferKeyword",e[e.IntrinsicKeyword=141]="IntrinsicKeyword",e[e.IsKeyword=142]="IsKeyword",e[e.KeyOfKeyword=143]="KeyOfKeyword",e[e.ModuleKeyword=144]="ModuleKeyword",e[e.NamespaceKeyword=145]="NamespaceKeyword",e[e.NeverKeyword=146]="NeverKeyword",e[e.OutKeyword=147]="OutKeyword",e[e.ReadonlyKeyword=148]="ReadonlyKeyword",e[e.RequireKeyword=149]="RequireKeyword",e[e.NumberKeyword=150]="NumberKeyword",e[e.ObjectKeyword=151]="ObjectKeyword",e[e.SatisfiesKeyword=152]="SatisfiesKeyword",e[e.SetKeyword=153]="SetKeyword",e[e.StringKeyword=154]="StringKeyword",e[e.SymbolKeyword=155]="SymbolKeyword",e[e.TypeKeyword=156]="TypeKeyword",e[e.UndefinedKeyword=157]="UndefinedKeyword",e[e.UniqueKeyword=158]="UniqueKeyword",e[e.UnknownKeyword=159]="UnknownKeyword",e[e.UsingKeyword=160]="UsingKeyword",e[e.FromKeyword=161]="FromKeyword",e[e.GlobalKeyword=162]="GlobalKeyword",e[e.BigIntKeyword=163]="BigIntKeyword",e[e.OverrideKeyword=164]="OverrideKeyword",e[e.OfKeyword=165]="OfKeyword",e[e.QualifiedName=166]="QualifiedName",e[e.ComputedPropertyName=167]="ComputedPropertyName",e[e.TypeParameter=168]="TypeParameter",e[e.Parameter=169]="Parameter",e[e.Decorator=170]="Decorator",e[e.PropertySignature=171]="PropertySignature",e[e.PropertyDeclaration=172]="PropertyDeclaration",e[e.MethodSignature=173]="MethodSignature",e[e.MethodDeclaration=174]="MethodDeclaration",e[e.ClassStaticBlockDeclaration=175]="ClassStaticBlockDeclaration",e[e.Constructor=176]="Constructor",e[e.GetAccessor=177]="GetAccessor",e[e.SetAccessor=178]="SetAccessor",e[e.CallSignature=179]="CallSignature",e[e.ConstructSignature=180]="ConstructSignature",e[e.IndexSignature=181]="IndexSignature",e[e.TypePredicate=182]="TypePredicate",e[e.TypeReference=183]="TypeReference",e[e.FunctionType=184]="FunctionType",e[e.ConstructorType=185]="ConstructorType",e[e.TypeQuery=186]="TypeQuery",e[e.TypeLiteral=187]="TypeLiteral",e[e.ArrayType=188]="ArrayType",e[e.TupleType=189]="TupleType",e[e.OptionalType=190]="OptionalType",e[e.RestType=191]="RestType",e[e.UnionType=192]="UnionType",e[e.IntersectionType=193]="IntersectionType",e[e.ConditionalType=194]="ConditionalType",e[e.InferType=195]="InferType",e[e.ParenthesizedType=196]="ParenthesizedType",e[e.ThisType=197]="ThisType",e[e.TypeOperator=198]="TypeOperator",e[e.IndexedAccessType=199]="IndexedAccessType",e[e.MappedType=200]="MappedType",e[e.LiteralType=201]="LiteralType",e[e.NamedTupleMember=202]="NamedTupleMember",e[e.TemplateLiteralType=203]="TemplateLiteralType",e[e.TemplateLiteralTypeSpan=204]="TemplateLiteralTypeSpan",e[e.ImportType=205]="ImportType",e[e.ObjectBindingPattern=206]="ObjectBindingPattern",e[e.ArrayBindingPattern=207]="ArrayBindingPattern",e[e.BindingElement=208]="BindingElement",e[e.ArrayLiteralExpression=209]="ArrayLiteralExpression",e[e.ObjectLiteralExpression=210]="ObjectLiteralExpression",e[e.PropertyAccessExpression=211]="PropertyAccessExpression",e[e.ElementAccessExpression=212]="ElementAccessExpression",e[e.CallExpression=213]="CallExpression",e[e.NewExpression=214]="NewExpression",e[e.TaggedTemplateExpression=215]="TaggedTemplateExpression",e[e.TypeAssertionExpression=216]="TypeAssertionExpression",e[e.ParenthesizedExpression=217]="ParenthesizedExpression",e[e.FunctionExpression=218]="FunctionExpression",e[e.ArrowFunction=219]="ArrowFunction",e[e.DeleteExpression=220]="DeleteExpression",e[e.TypeOfExpression=221]="TypeOfExpression",e[e.VoidExpression=222]="VoidExpression",e[e.AwaitExpression=223]="AwaitExpression",e[e.PrefixUnaryExpression=224]="PrefixUnaryExpression",e[e.PostfixUnaryExpression=225]="PostfixUnaryExpression",e[e.BinaryExpression=226]="BinaryExpression",e[e.ConditionalExpression=227]="ConditionalExpression",e[e.TemplateExpression=228]="TemplateExpression",e[e.YieldExpression=229]="YieldExpression",e[e.SpreadElement=230]="SpreadElement",e[e.ClassExpression=231]="ClassExpression",e[e.OmittedExpression=232]="OmittedExpression",e[e.ExpressionWithTypeArguments=233]="ExpressionWithTypeArguments",e[e.AsExpression=234]="AsExpression",e[e.NonNullExpression=235]="NonNullExpression",e[e.MetaProperty=236]="MetaProperty",e[e.SyntheticExpression=237]="SyntheticExpression",e[e.SatisfiesExpression=238]="SatisfiesExpression",e[e.TemplateSpan=239]="TemplateSpan",e[e.SemicolonClassElement=240]="SemicolonClassElement",e[e.Block=241]="Block",e[e.EmptyStatement=242]="EmptyStatement",e[e.VariableStatement=243]="VariableStatement",e[e.ExpressionStatement=244]="ExpressionStatement",e[e.IfStatement=245]="IfStatement",e[e.DoStatement=246]="DoStatement",e[e.WhileStatement=247]="WhileStatement",e[e.ForStatement=248]="ForStatement",e[e.ForInStatement=249]="ForInStatement",e[e.ForOfStatement=250]="ForOfStatement",e[e.ContinueStatement=251]="ContinueStatement",e[e.BreakStatement=252]="BreakStatement",e[e.ReturnStatement=253]="ReturnStatement",e[e.WithStatement=254]="WithStatement",e[e.SwitchStatement=255]="SwitchStatement",e[e.LabeledStatement=256]="LabeledStatement",e[e.ThrowStatement=257]="ThrowStatement",e[e.TryStatement=258]="TryStatement",e[e.DebuggerStatement=259]="DebuggerStatement",e[e.VariableDeclaration=260]="VariableDeclaration",e[e.VariableDeclarationList=261]="VariableDeclarationList",e[e.FunctionDeclaration=262]="FunctionDeclaration",e[e.ClassDeclaration=263]="ClassDeclaration",e[e.InterfaceDeclaration=264]="InterfaceDeclaration",e[e.TypeAliasDeclaration=265]="TypeAliasDeclaration",e[e.EnumDeclaration=266]="EnumDeclaration",e[e.ModuleDeclaration=267]="ModuleDeclaration",e[e.ModuleBlock=268]="ModuleBlock",e[e.CaseBlock=269]="CaseBlock",e[e.NamespaceExportDeclaration=270]="NamespaceExportDeclaration",e[e.ImportEqualsDeclaration=271]="ImportEqualsDeclaration",e[e.ImportDeclaration=272]="ImportDeclaration",e[e.ImportClause=273]="ImportClause",e[e.NamespaceImport=274]="NamespaceImport",e[e.NamedImports=275]="NamedImports",e[e.ImportSpecifier=276]="ImportSpecifier",e[e.ExportAssignment=277]="ExportAssignment",e[e.ExportDeclaration=278]="ExportDeclaration",e[e.NamedExports=279]="NamedExports",e[e.NamespaceExport=280]="NamespaceExport",e[e.ExportSpecifier=281]="ExportSpecifier",e[e.MissingDeclaration=282]="MissingDeclaration",e[e.ExternalModuleReference=283]="ExternalModuleReference",e[e.JsxElement=284]="JsxElement",e[e.JsxSelfClosingElement=285]="JsxSelfClosingElement",e[e.JsxOpeningElement=286]="JsxOpeningElement",e[e.JsxClosingElement=287]="JsxClosingElement",e[e.JsxFragment=288]="JsxFragment",e[e.JsxOpeningFragment=289]="JsxOpeningFragment",e[e.JsxClosingFragment=290]="JsxClosingFragment",e[e.JsxAttribute=291]="JsxAttribute",e[e.JsxAttributes=292]="JsxAttributes",e[e.JsxSpreadAttribute=293]="JsxSpreadAttribute",e[e.JsxExpression=294]="JsxExpression",e[e.JsxNamespacedName=295]="JsxNamespacedName",e[e.CaseClause=296]="CaseClause",e[e.DefaultClause=297]="DefaultClause",e[e.HeritageClause=298]="HeritageClause",e[e.CatchClause=299]="CatchClause",e[e.ImportAttributes=300]="ImportAttributes",e[e.ImportAttribute=301]="ImportAttribute",e[e.AssertClause=300]="AssertClause",e[e.AssertEntry=301]="AssertEntry",e[e.ImportTypeAssertionContainer=302]="ImportTypeAssertionContainer",e[e.PropertyAssignment=303]="PropertyAssignment",e[e.ShorthandPropertyAssignment=304]="ShorthandPropertyAssignment",e[e.SpreadAssignment=305]="SpreadAssignment",e[e.EnumMember=306]="EnumMember",e[e.SourceFile=307]="SourceFile",e[e.Bundle=308]="Bundle",e[e.JSDocTypeExpression=309]="JSDocTypeExpression",e[e.JSDocNameReference=310]="JSDocNameReference",e[e.JSDocMemberName=311]="JSDocMemberName",e[e.JSDocAllType=312]="JSDocAllType",e[e.JSDocUnknownType=313]="JSDocUnknownType",e[e.JSDocNullableType=314]="JSDocNullableType",e[e.JSDocNonNullableType=315]="JSDocNonNullableType",e[e.JSDocOptionalType=316]="JSDocOptionalType",e[e.JSDocFunctionType=317]="JSDocFunctionType",e[e.JSDocVariadicType=318]="JSDocVariadicType",e[e.JSDocNamepathType=319]="JSDocNamepathType",e[e.JSDoc=320]="JSDoc",e[e.JSDocComment=320]="JSDocComment",e[e.JSDocText=321]="JSDocText",e[e.JSDocTypeLiteral=322]="JSDocTypeLiteral",e[e.JSDocSignature=323]="JSDocSignature",e[e.JSDocLink=324]="JSDocLink",e[e.JSDocLinkCode=325]="JSDocLinkCode",e[e.JSDocLinkPlain=326]="JSDocLinkPlain",e[e.JSDocTag=327]="JSDocTag",e[e.JSDocAugmentsTag=328]="JSDocAugmentsTag",e[e.JSDocImplementsTag=329]="JSDocImplementsTag",e[e.JSDocAuthorTag=330]="JSDocAuthorTag",e[e.JSDocDeprecatedTag=331]="JSDocDeprecatedTag",e[e.JSDocClassTag=332]="JSDocClassTag",e[e.JSDocPublicTag=333]="JSDocPublicTag",e[e.JSDocPrivateTag=334]="JSDocPrivateTag",e[e.JSDocProtectedTag=335]="JSDocProtectedTag",e[e.JSDocReadonlyTag=336]="JSDocReadonlyTag",e[e.JSDocOverrideTag=337]="JSDocOverrideTag",e[e.JSDocCallbackTag=338]="JSDocCallbackTag",e[e.JSDocOverloadTag=339]="JSDocOverloadTag",e[e.JSDocEnumTag=340]="JSDocEnumTag",e[e.JSDocParameterTag=341]="JSDocParameterTag",e[e.JSDocReturnTag=342]="JSDocReturnTag",e[e.JSDocThisTag=343]="JSDocThisTag",e[e.JSDocTypeTag=344]="JSDocTypeTag",e[e.JSDocTemplateTag=345]="JSDocTemplateTag",e[e.JSDocTypedefTag=346]="JSDocTypedefTag",e[e.JSDocSeeTag=347]="JSDocSeeTag",e[e.JSDocPropertyTag=348]="JSDocPropertyTag",e[e.JSDocThrowsTag=349]="JSDocThrowsTag",e[e.JSDocSatisfiesTag=350]="JSDocSatisfiesTag",e[e.JSDocImportTag=351]="JSDocImportTag",e[e.SyntaxList=352]="SyntaxList",e[e.NotEmittedStatement=353]="NotEmittedStatement",e[e.PartiallyEmittedExpression=354]="PartiallyEmittedExpression",e[e.CommaListExpression=355]="CommaListExpression",e[e.SyntheticReferenceExpression=356]="SyntheticReferenceExpression",e[e.Count=357]="Count",e[e.FirstAssignment=64]="FirstAssignment",e[e.LastAssignment=79]="LastAssignment",e[e.FirstCompoundAssignment=65]="FirstCompoundAssignment",e[e.LastCompoundAssignment=79]="LastCompoundAssignment",e[e.FirstReservedWord=83]="FirstReservedWord",e[e.LastReservedWord=118]="LastReservedWord",e[e.FirstKeyword=83]="FirstKeyword",e[e.LastKeyword=165]="LastKeyword",e[e.FirstFutureReservedWord=119]="FirstFutureReservedWord",e[e.LastFutureReservedWord=127]="LastFutureReservedWord",e[e.FirstTypeNode=182]="FirstTypeNode",e[e.LastTypeNode=205]="LastTypeNode",e[e.FirstPunctuation=19]="FirstPunctuation",e[e.LastPunctuation=79]="LastPunctuation",e[e.FirstToken=0]="FirstToken",e[e.LastToken=165]="LastToken",e[e.FirstTriviaToken=2]="FirstTriviaToken",e[e.LastTriviaToken=7]="LastTriviaToken",e[e.FirstLiteralToken=9]="FirstLiteralToken",e[e.LastLiteralToken=15]="LastLiteralToken",e[e.FirstTemplateToken=15]="FirstTemplateToken",e[e.LastTemplateToken=18]="LastTemplateToken",e[e.FirstBinaryOperator=30]="FirstBinaryOperator",e[e.LastBinaryOperator=79]="LastBinaryOperator",e[e.FirstStatement=243]="FirstStatement",e[e.LastStatement=259]="LastStatement",e[e.FirstNode=166]="FirstNode",e[e.FirstJSDocNode=309]="FirstJSDocNode",e[e.LastJSDocNode=351]="LastJSDocNode",e[e.FirstJSDocTagNode=327]="FirstJSDocTagNode",e[e.LastJSDocTagNode=351]="LastJSDocTagNode",e[e.FirstContextualKeyword=128]="FirstContextualKeyword",e[e.LastContextualKeyword=165]="LastContextualKeyword",e))(ce||{}),Xt=(e=>(e[e.None=0]="None",e[e.Let=1]="Let",e[e.Const=2]="Const",e[e.Using=4]="Using",e[e.AwaitUsing=6]="AwaitUsing",e[e.NestedNamespace=8]="NestedNamespace",e[e.Synthesized=16]="Synthesized",e[e.Namespace=32]="Namespace",e[e.OptionalChain=64]="OptionalChain",e[e.ExportContext=128]="ExportContext",e[e.ContainsThis=256]="ContainsThis",e[e.HasImplicitReturn=512]="HasImplicitReturn",e[e.HasExplicitReturn=1024]="HasExplicitReturn",e[e.GlobalAugmentation=2048]="GlobalAugmentation",e[e.HasAsyncFunctions=4096]="HasAsyncFunctions",e[e.DisallowInContext=8192]="DisallowInContext",e[e.YieldContext=16384]="YieldContext",e[e.DecoratorContext=32768]="DecoratorContext",e[e.AwaitContext=65536]="AwaitContext",e[e.DisallowConditionalTypesContext=131072]="DisallowConditionalTypesContext",e[e.ThisNodeHasError=262144]="ThisNodeHasError",e[e.JavaScriptFile=524288]="JavaScriptFile",e[e.ThisNodeOrAnySubNodesHasError=1048576]="ThisNodeOrAnySubNodesHasError",e[e.HasAggregatedChildData=2097152]="HasAggregatedChildData",e[e.PossiblyContainsDynamicImport=4194304]="PossiblyContainsDynamicImport",e[e.PossiblyContainsImportMeta=8388608]="PossiblyContainsImportMeta",e[e.JSDoc=16777216]="JSDoc",e[e.Ambient=33554432]="Ambient",e[e.InWithStatement=67108864]="InWithStatement",e[e.JsonFile=134217728]="JsonFile",e[e.TypeCached=268435456]="TypeCached",e[e.Deprecated=536870912]="Deprecated",e[e.BlockScoped=7]="BlockScoped",e[e.Constant=6]="Constant",e[e.ReachabilityCheckFlags=1536]="ReachabilityCheckFlags",e[e.ReachabilityAndEmitFlags=5632]="ReachabilityAndEmitFlags",e[e.ContextFlags=101441536]="ContextFlags",e[e.TypeExcludesFlags=81920]="TypeExcludesFlags",e[e.PermanentlySetIncrementalFlags=12582912]="PermanentlySetIncrementalFlags",e[e.IdentifierHasExtendedUnicodeEscape=256]="IdentifierHasExtendedUnicodeEscape",e[e.IdentifierIsInJSDocNamespace=4096]="IdentifierIsInJSDocNamespace",e))(Xt||{}),mf=(e=>(e[e.None=0]="None",e[e.Public=1]="Public",e[e.Private=2]="Private",e[e.Protected=4]="Protected",e[e.Readonly=8]="Readonly",e[e.Override=16]="Override",e[e.Export=32]="Export",e[e.Abstract=64]="Abstract",e[e.Ambient=128]="Ambient",e[e.Static=256]="Static",e[e.Accessor=512]="Accessor",e[e.Async=1024]="Async",e[e.Default=2048]="Default",e[e.Const=4096]="Const",e[e.In=8192]="In",e[e.Out=16384]="Out",e[e.Decorator=32768]="Decorator",e[e.Deprecated=65536]="Deprecated",e[e.JSDocPublic=8388608]="JSDocPublic",e[e.JSDocPrivate=16777216]="JSDocPrivate",e[e.JSDocProtected=33554432]="JSDocProtected",e[e.JSDocReadonly=67108864]="JSDocReadonly",e[e.JSDocOverride=134217728]="JSDocOverride",e[e.SyntacticOrJSDocModifiers=31]="SyntacticOrJSDocModifiers",e[e.SyntacticOnlyModifiers=65504]="SyntacticOnlyModifiers",e[e.SyntacticModifiers=65535]="SyntacticModifiers",e[e.JSDocCacheOnlyModifiers=260046848]="JSDocCacheOnlyModifiers",e[e.JSDocOnlyModifiers=65536]="JSDocOnlyModifiers",e[e.NonCacheOnlyModifiers=131071]="NonCacheOnlyModifiers",e[e.HasComputedJSDocModifiers=268435456]="HasComputedJSDocModifiers",e[e.HasComputedFlags=536870912]="HasComputedFlags",e[e.AccessibilityModifier=7]="AccessibilityModifier",e[e.ParameterPropertyModifier=31]="ParameterPropertyModifier",e[e.NonPublicAccessibilityModifier=6]="NonPublicAccessibilityModifier",e[e.TypeScriptModifier=28895]="TypeScriptModifier",e[e.ExportDefault=2080]="ExportDefault",e[e.All=131071]="All",e[e.Modifier=98303]="Modifier",e))(mf||{});var Gm=(e=>(e[e.None=0]="None",e[e.Succeeded=1]="Succeeded",e[e.Failed=2]="Failed",e[e.Reported=4]="Reported",e[e.ReportsUnmeasurable=8]="ReportsUnmeasurable",e[e.ReportsUnreliable=16]="ReportsUnreliable",e[e.ReportsMask=24]="ReportsMask",e))(Gm||{});var $p=(e=>(e[e.Unreachable=1]="Unreachable",e[e.Start=2]="Start",e[e.BranchLabel=4]="BranchLabel",e[e.LoopLabel=8]="LoopLabel",e[e.Assignment=16]="Assignment",e[e.TrueCondition=32]="TrueCondition",e[e.FalseCondition=64]="FalseCondition",e[e.SwitchClause=128]="SwitchClause",e[e.ArrayMutation=256]="ArrayMutation",e[e.Call=512]="Call",e[e.ReduceLabel=1024]="ReduceLabel",e[e.Referenced=2048]="Referenced",e[e.Shared=4096]="Shared",e[e.Label=12]="Label",e[e.Condition=96]="Condition",e))($p||{});var hf=(e=>(e[e.None=0]="None",e[e.FunctionScopedVariable=1]="FunctionScopedVariable",e[e.BlockScopedVariable=2]="BlockScopedVariable",e[e.Property=4]="Property",e[e.EnumMember=8]="EnumMember",e[e.Function=16]="Function",e[e.Class=32]="Class",e[e.Interface=64]="Interface",e[e.ConstEnum=128]="ConstEnum",e[e.RegularEnum=256]="RegularEnum",e[e.ValueModule=512]="ValueModule",e[e.NamespaceModule=1024]="NamespaceModule",e[e.TypeLiteral=2048]="TypeLiteral",e[e.ObjectLiteral=4096]="ObjectLiteral",e[e.Method=8192]="Method",e[e.Constructor=16384]="Constructor",e[e.GetAccessor=32768]="GetAccessor",e[e.SetAccessor=65536]="SetAccessor",e[e.Signature=131072]="Signature",e[e.TypeParameter=262144]="TypeParameter",e[e.TypeAlias=524288]="TypeAlias",e[e.ExportValue=1048576]="ExportValue",e[e.Alias=2097152]="Alias",e[e.Prototype=4194304]="Prototype",e[e.ExportStar=8388608]="ExportStar",e[e.Optional=16777216]="Optional",e[e.Transient=33554432]="Transient",e[e.Assignment=67108864]="Assignment",e[e.ModuleExports=134217728]="ModuleExports",e[e.All=-1]="All",e[e.Enum=384]="Enum",e[e.Variable=3]="Variable",e[e.Value=111551]="Value",e[e.Type=788968]="Type",e[e.Namespace=1920]="Namespace",e[e.Module=1536]="Module",e[e.Accessor=98304]="Accessor",e[e.FunctionScopedVariableExcludes=111550]="FunctionScopedVariableExcludes",e[e.BlockScopedVariableExcludes=111551]="BlockScopedVariableExcludes",e[e.ParameterExcludes=111551]="ParameterExcludes",e[e.PropertyExcludes=0]="PropertyExcludes",e[e.EnumMemberExcludes=900095]="EnumMemberExcludes",e[e.FunctionExcludes=110991]="FunctionExcludes",e[e.ClassExcludes=899503]="ClassExcludes",e[e.InterfaceExcludes=788872]="InterfaceExcludes",e[e.RegularEnumExcludes=899327]="RegularEnumExcludes",e[e.ConstEnumExcludes=899967]="ConstEnumExcludes",e[e.ValueModuleExcludes=110735]="ValueModuleExcludes",e[e.NamespaceModuleExcludes=0]="NamespaceModuleExcludes",e[e.MethodExcludes=103359]="MethodExcludes",e[e.GetAccessorExcludes=46015]="GetAccessorExcludes",e[e.SetAccessorExcludes=78783]="SetAccessorExcludes",e[e.AccessorExcludes=13247]="AccessorExcludes",e[e.TypeParameterExcludes=526824]="TypeParameterExcludes",e[e.TypeAliasExcludes=788968]="TypeAliasExcludes",e[e.AliasExcludes=2097152]="AliasExcludes",e[e.ModuleMember=2623475]="ModuleMember",e[e.ExportHasLocal=944]="ExportHasLocal",e[e.BlockScoped=418]="BlockScoped",e[e.PropertyOrAccessor=98308]="PropertyOrAccessor",e[e.ClassMember=106500]="ClassMember",e[e.ExportSupportsDefaultModifier=112]="ExportSupportsDefaultModifier",e[e.ExportDoesNotSupportDefaultModifier=-113]="ExportDoesNotSupportDefaultModifier",e[e.Classifiable=2885600]="Classifiable",e[e.LateBindingContainer=6256]="LateBindingContainer",e))(hf||{});var Ym=(e=>(e[e.None=0]="None",e[e.TypeChecked=1]="TypeChecked",e[e.LexicalThis=2]="LexicalThis",e[e.CaptureThis=4]="CaptureThis",e[e.CaptureNewTarget=8]="CaptureNewTarget",e[e.SuperInstance=16]="SuperInstance",e[e.SuperStatic=32]="SuperStatic",e[e.ContextChecked=64]="ContextChecked",e[e.MethodWithSuperPropertyAccessInAsync=128]="MethodWithSuperPropertyAccessInAsync",e[e.MethodWithSuperPropertyAssignmentInAsync=256]="MethodWithSuperPropertyAssignmentInAsync",e[e.CaptureArguments=512]="CaptureArguments",e[e.EnumValuesComputed=1024]="EnumValuesComputed",e[e.LexicalModuleMergesWithClass=2048]="LexicalModuleMergesWithClass",e[e.LoopWithCapturedBlockScopedBinding=4096]="LoopWithCapturedBlockScopedBinding",e[e.ContainsCapturedBlockScopeBinding=8192]="ContainsCapturedBlockScopeBinding",e[e.CapturedBlockScopedBinding=16384]="CapturedBlockScopedBinding",e[e.BlockScopedBindingInLoop=32768]="BlockScopedBindingInLoop",e[e.NeedsLoopOutParameter=65536]="NeedsLoopOutParameter",e[e.AssignmentsMarked=131072]="AssignmentsMarked",e[e.ContainsConstructorReference=262144]="ContainsConstructorReference",e[e.ConstructorReference=536870912]="ConstructorReference",e[e.ContainsClassWithPrivateIdentifiers=1048576]="ContainsClassWithPrivateIdentifiers",e[e.ContainsSuperPropertyInStaticInitializer=2097152]="ContainsSuperPropertyInStaticInitializer",e[e.InCheckIdentifier=4194304]="InCheckIdentifier",e[e.LazyFlags=539358128]="LazyFlags",e))(Ym||{}),zt=(e=>(e[e.Any=1]="Any",e[e.Unknown=2]="Unknown",e[e.String=4]="String",e[e.Number=8]="Number",e[e.Boolean=16]="Boolean",e[e.Enum=32]="Enum",e[e.BigInt=64]="BigInt",e[e.StringLiteral=128]="StringLiteral",e[e.NumberLiteral=256]="NumberLiteral",e[e.BooleanLiteral=512]="BooleanLiteral",e[e.EnumLiteral=1024]="EnumLiteral",e[e.BigIntLiteral=2048]="BigIntLiteral",e[e.ESSymbol=4096]="ESSymbol",e[e.UniqueESSymbol=8192]="UniqueESSymbol",e[e.Void=16384]="Void",e[e.Undefined=32768]="Undefined",e[e.Null=65536]="Null",e[e.Never=131072]="Never",e[e.TypeParameter=262144]="TypeParameter",e[e.Object=524288]="Object",e[e.Union=1048576]="Union",e[e.Intersection=2097152]="Intersection",e[e.Index=4194304]="Index",e[e.IndexedAccess=8388608]="IndexedAccess",e[e.Conditional=16777216]="Conditional",e[e.Substitution=33554432]="Substitution",e[e.NonPrimitive=67108864]="NonPrimitive",e[e.TemplateLiteral=134217728]="TemplateLiteral",e[e.StringMapping=268435456]="StringMapping",e[e.Reserved1=536870912]="Reserved1",e[e.Reserved2=1073741824]="Reserved2",e[e.AnyOrUnknown=3]="AnyOrUnknown",e[e.Nullable=98304]="Nullable",e[e.Literal=2944]="Literal",e[e.Unit=109472]="Unit",e[e.Freshable=2976]="Freshable",e[e.StringOrNumberLiteral=384]="StringOrNumberLiteral",e[e.StringOrNumberLiteralOrUnique=8576]="StringOrNumberLiteralOrUnique",e[e.DefinitelyFalsy=117632]="DefinitelyFalsy",e[e.PossiblyFalsy=117724]="PossiblyFalsy",e[e.Intrinsic=67359327]="Intrinsic",e[e.StringLike=402653316]="StringLike",e[e.NumberLike=296]="NumberLike",e[e.BigIntLike=2112]="BigIntLike",e[e.BooleanLike=528]="BooleanLike",e[e.EnumLike=1056]="EnumLike",e[e.ESSymbolLike=12288]="ESSymbolLike",e[e.VoidLike=49152]="VoidLike",e[e.Primitive=402784252]="Primitive",e[e.DefinitelyNonNullable=470302716]="DefinitelyNonNullable",e[e.DisjointDomains=469892092]="DisjointDomains",e[e.UnionOrIntersection=3145728]="UnionOrIntersection",e[e.StructuredType=3670016]="StructuredType",e[e.TypeVariable=8650752]="TypeVariable",e[e.InstantiableNonPrimitive=58982400]="InstantiableNonPrimitive",e[e.InstantiablePrimitive=406847488]="InstantiablePrimitive",e[e.Instantiable=465829888]="Instantiable",e[e.StructuredOrInstantiable=469499904]="StructuredOrInstantiable",e[e.ObjectFlagsType=3899393]="ObjectFlagsType",e[e.Simplifiable=25165824]="Simplifiable",e[e.Singleton=67358815]="Singleton",e[e.Narrowable=536624127]="Narrowable",e[e.IncludesMask=473694207]="IncludesMask",e[e.IncludesMissingType=262144]="IncludesMissingType",e[e.IncludesNonWideningType=4194304]="IncludesNonWideningType",e[e.IncludesWildcard=8388608]="IncludesWildcard",e[e.IncludesEmptyObject=16777216]="IncludesEmptyObject",e[e.IncludesInstantiable=33554432]="IncludesInstantiable",e[e.IncludesConstrainedTypeVariable=536870912]="IncludesConstrainedTypeVariable",e[e.IncludesError=1073741824]="IncludesError",e[e.NotPrimitiveUnion=36323331]="NotPrimitiveUnion",e))(zt||{}),gl=(e=>(e[e.None=0]="None",e[e.Class=1]="Class",e[e.Interface=2]="Interface",e[e.Reference=4]="Reference",e[e.Tuple=8]="Tuple",e[e.Anonymous=16]="Anonymous",e[e.Mapped=32]="Mapped",e[e.Instantiated=64]="Instantiated",e[e.ObjectLiteral=128]="ObjectLiteral",e[e.EvolvingArray=256]="EvolvingArray",e[e.ObjectLiteralPatternWithComputedProperties=512]="ObjectLiteralPatternWithComputedProperties",e[e.ReverseMapped=1024]="ReverseMapped",e[e.JsxAttributes=2048]="JsxAttributes",e[e.JSLiteral=4096]="JSLiteral",e[e.FreshLiteral=8192]="FreshLiteral",e[e.ArrayLiteral=16384]="ArrayLiteral",e[e.PrimitiveUnion=32768]="PrimitiveUnion",e[e.ContainsWideningType=65536]="ContainsWideningType",e[e.ContainsObjectOrArrayLiteral=131072]="ContainsObjectOrArrayLiteral",e[e.NonInferrableType=262144]="NonInferrableType",e[e.CouldContainTypeVariablesComputed=524288]="CouldContainTypeVariablesComputed",e[e.CouldContainTypeVariables=1048576]="CouldContainTypeVariables",e[e.ClassOrInterface=3]="ClassOrInterface",e[e.RequiresWidening=196608]="RequiresWidening",e[e.PropagatingFlags=458752]="PropagatingFlags",e[e.InstantiatedMapped=96]="InstantiatedMapped",e[e.ObjectTypeKindMask=1343]="ObjectTypeKindMask",e[e.ContainsSpread=2097152]="ContainsSpread",e[e.ObjectRestType=4194304]="ObjectRestType",e[e.InstantiationExpressionType=8388608]="InstantiationExpressionType",e[e.SingleSignatureType=134217728]="SingleSignatureType",e[e.IsClassInstanceClone=16777216]="IsClassInstanceClone",e[e.IdenticalBaseTypeCalculated=33554432]="IdenticalBaseTypeCalculated",e[e.IdenticalBaseTypeExists=67108864]="IdenticalBaseTypeExists",e[e.IsGenericTypeComputed=2097152]="IsGenericTypeComputed",e[e.IsGenericObjectType=4194304]="IsGenericObjectType",e[e.IsGenericIndexType=8388608]="IsGenericIndexType",e[e.IsGenericType=12582912]="IsGenericType",e[e.ContainsIntersections=16777216]="ContainsIntersections",e[e.IsUnknownLikeUnionComputed=33554432]="IsUnknownLikeUnionComputed",e[e.IsUnknownLikeUnion=67108864]="IsUnknownLikeUnion",e[e.IsNeverIntersectionComputed=16777216]="IsNeverIntersectionComputed",e[e.IsNeverIntersection=33554432]="IsNeverIntersection",e[e.IsConstrainedTypeVariable=67108864]="IsConstrainedTypeVariable",e))(gl||{});var Hm=(e=>(e[e.None=0]="None",e[e.HasRestParameter=1]="HasRestParameter",e[e.HasLiteralTypes=2]="HasLiteralTypes",e[e.Abstract=4]="Abstract",e[e.IsInnerCallChain=8]="IsInnerCallChain",e[e.IsOuterCallChain=16]="IsOuterCallChain",e[e.IsUntypedSignatureInJSFile=32]="IsUntypedSignatureInJSFile",e[e.IsNonInferrable=64]="IsNonInferrable",e[e.IsSignatureCandidateForOverloadFailure=128]="IsSignatureCandidateForOverloadFailure",e[e.PropagatingFlags=167]="PropagatingFlags",e[e.CallChainFlags=24]="CallChainFlags",e))(Hm||{});var Jr=(e=>(e[e.Unknown=0]="Unknown",e[e.JS=1]="JS",e[e.JSX=2]="JSX",e[e.TS=3]="TS",e[e.TSX=4]="TSX",e[e.External=5]="External",e[e.JSON=6]="JSON",e[e.Deferred=7]="Deferred",e))(Jr||{}),Ps=(e=>(e[e.ES3=0]="ES3",e[e.ES5=1]="ES5",e[e.ES2015=2]="ES2015",e[e.ES2016=3]="ES2016",e[e.ES2017=4]="ES2017",e[e.ES2018=5]="ES2018",e[e.ES2019=6]="ES2019",e[e.ES2020=7]="ES2020",e[e.ES2021=8]="ES2021",e[e.ES2022=9]="ES2022",e[e.ES2023=10]="ES2023",e[e.ESNext=99]="ESNext",e[e.JSON=100]="JSON",e[e.Latest=99]="Latest",e))(Ps||{}),bl=(e=>(e[e.Standard=0]="Standard",e[e.JSX=1]="JSX",e))(bl||{});var gr=(e=>(e.Ts=".ts",e.Tsx=".tsx",e.Dts=".d.ts",e.Js=".js",e.Jsx=".jsx",e.Json=".json",e.TsBuildInfo=".tsbuildinfo",e.Mjs=".mjs",e.Mts=".mts",e.Dmts=".d.mts",e.Cjs=".cjs",e.Cts=".cts",e.Dcts=".d.cts",e))(gr||{}),Xm=(e=>(e[e.None=0]="None",e[e.ContainsTypeScript=1]="ContainsTypeScript",e[e.ContainsJsx=2]="ContainsJsx",e[e.ContainsESNext=4]="ContainsESNext",e[e.ContainsES2022=8]="ContainsES2022",e[e.ContainsES2021=16]="ContainsES2021",e[e.ContainsES2020=32]="ContainsES2020",e[e.ContainsES2019=64]="ContainsES2019",e[e.ContainsES2018=128]="ContainsES2018",e[e.ContainsES2017=256]="ContainsES2017",e[e.ContainsES2016=512]="ContainsES2016",e[e.ContainsES2015=1024]="ContainsES2015",e[e.ContainsGenerator=2048]="ContainsGenerator",e[e.ContainsDestructuringAssignment=4096]="ContainsDestructuringAssignment",e[e.ContainsTypeScriptClassSyntax=8192]="ContainsTypeScriptClassSyntax",e[e.ContainsLexicalThis=16384]="ContainsLexicalThis",e[e.ContainsRestOrSpread=32768]="ContainsRestOrSpread",e[e.ContainsObjectRestOrSpread=65536]="ContainsObjectRestOrSpread",e[e.ContainsComputedPropertyName=131072]="ContainsComputedPropertyName",e[e.ContainsBlockScopedBinding=262144]="ContainsBlockScopedBinding",e[e.ContainsBindingPattern=524288]="ContainsBindingPattern",e[e.ContainsYield=1048576]="ContainsYield",e[e.ContainsAwait=2097152]="ContainsAwait",e[e.ContainsHoistedDeclarationOrCompletion=4194304]="ContainsHoistedDeclarationOrCompletion",e[e.ContainsDynamicImport=8388608]="ContainsDynamicImport",e[e.ContainsClassFields=16777216]="ContainsClassFields",e[e.ContainsDecorators=33554432]="ContainsDecorators",e[e.ContainsPossibleTopLevelAwait=67108864]="ContainsPossibleTopLevelAwait",e[e.ContainsLexicalSuper=134217728]="ContainsLexicalSuper",e[e.ContainsUpdateExpressionForIdentifier=268435456]="ContainsUpdateExpressionForIdentifier",e[e.ContainsPrivateIdentifierInExpression=536870912]="ContainsPrivateIdentifierInExpression",e[e.HasComputedFlags=-2147483648]="HasComputedFlags",e[e.AssertTypeScript=1]="AssertTypeScript",e[e.AssertJsx=2]="AssertJsx",e[e.AssertESNext=4]="AssertESNext",e[e.AssertES2022=8]="AssertES2022",e[e.AssertES2021=16]="AssertES2021",e[e.AssertES2020=32]="AssertES2020",e[e.AssertES2019=64]="AssertES2019",e[e.AssertES2018=128]="AssertES2018",e[e.AssertES2017=256]="AssertES2017",e[e.AssertES2016=512]="AssertES2016",e[e.AssertES2015=1024]="AssertES2015",e[e.AssertGenerator=2048]="AssertGenerator",e[e.AssertDestructuringAssignment=4096]="AssertDestructuringAssignment",e[e.OuterExpressionExcludes=-2147483648]="OuterExpressionExcludes",e[e.PropertyAccessExcludes=-2147483648]="PropertyAccessExcludes",e[e.NodeExcludes=-2147483648]="NodeExcludes",e[e.ArrowFunctionExcludes=-2072174592]="ArrowFunctionExcludes",e[e.FunctionExcludes=-1937940480]="FunctionExcludes",e[e.ConstructorExcludes=-1937948672]="ConstructorExcludes",e[e.MethodOrAccessorExcludes=-2005057536]="MethodOrAccessorExcludes",e[e.PropertyExcludes=-2013249536]="PropertyExcludes",e[e.ClassExcludes=-2147344384]="ClassExcludes",e[e.ModuleExcludes=-1941676032]="ModuleExcludes",e[e.TypeExcludes=-2]="TypeExcludes",e[e.ObjectLiteralExcludes=-2147278848]="ObjectLiteralExcludes",e[e.ArrayLiteralOrCallOrNewExcludes=-2147450880]="ArrayLiteralOrCallOrNewExcludes",e[e.VariableDeclarationListExcludes=-2146893824]="VariableDeclarationListExcludes",e[e.ParameterExcludes=-2147483648]="ParameterExcludes",e[e.CatchClauseExcludes=-2147418112]="CatchClauseExcludes",e[e.BindingPatternExcludes=-2147450880]="BindingPatternExcludes",e[e.ContainsLexicalThisOrSuper=134234112]="ContainsLexicalThisOrSuper",e[e.PropertyNamePropagatingFlags=134234112]="PropertyNamePropagatingFlags",e))(Xm||{}),$m=(e=>(e[e.TabStop=0]="TabStop",e[e.Placeholder=1]="Placeholder",e[e.Choice=2]="Choice",e[e.Variable=3]="Variable",e))($m||{}),Qm=(e=>(e[e.None=0]="None",e[e.SingleLine=1]="SingleLine",e[e.MultiLine=2]="MultiLine",e[e.AdviseOnEmitNode=4]="AdviseOnEmitNode",e[e.NoSubstitution=8]="NoSubstitution",e[e.CapturesThis=16]="CapturesThis",e[e.NoLeadingSourceMap=32]="NoLeadingSourceMap",e[e.NoTrailingSourceMap=64]="NoTrailingSourceMap",e[e.NoSourceMap=96]="NoSourceMap",e[e.NoNestedSourceMaps=128]="NoNestedSourceMaps",e[e.NoTokenLeadingSourceMaps=256]="NoTokenLeadingSourceMaps",e[e.NoTokenTrailingSourceMaps=512]="NoTokenTrailingSourceMaps",e[e.NoTokenSourceMaps=768]="NoTokenSourceMaps",e[e.NoLeadingComments=1024]="NoLeadingComments",e[e.NoTrailingComments=2048]="NoTrailingComments",e[e.NoComments=3072]="NoComments",e[e.NoNestedComments=4096]="NoNestedComments",e[e.HelperName=8192]="HelperName",e[e.ExportName=16384]="ExportName",e[e.LocalName=32768]="LocalName",e[e.InternalName=65536]="InternalName",e[e.Indented=131072]="Indented",e[e.NoIndentation=262144]="NoIndentation",e[e.AsyncFunctionBody=524288]="AsyncFunctionBody",e[e.ReuseTempVariableScope=1048576]="ReuseTempVariableScope",e[e.CustomPrologue=2097152]="CustomPrologue",e[e.NoHoisting=4194304]="NoHoisting",e[e.Iterator=8388608]="Iterator",e[e.NoAsciiEscaping=16777216]="NoAsciiEscaping",e))(Qm||{});var Km={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},{name:"preserve",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}},$a=(e=>(e[e.ParseAll=0]="ParseAll",e[e.ParseNone=1]="ParseNone",e[e.ParseForTypeErrors=2]="ParseForTypeErrors",e[e.ParseForTypeInfo=3]="ParseForTypeInfo",e))($a||{});var ra="/",Qy="\\",Fd="://",Ky=/\\/g;function Zy(e){return e===47||e===92}function eg(e,t){return e.length>t.length&&Gy(e,t)}function yf(e){return e.length>0&&Zy(e.charCodeAt(e.length-1))}function Vd(e){return e>=97&&e<=122||e>=65&&e<=90}function tg(e,t){let a=e.charCodeAt(t);if(a===58)return t+1;if(a===37&&e.charCodeAt(t+1)===51){let o=e.charCodeAt(t+2);if(o===97||o===65)return t+3}return-1}function ng(e){if(!e)return 0;let t=e.charCodeAt(0);if(t===47||t===92){if(e.charCodeAt(1)!==t)return 1;let o=e.indexOf(t===47?ra:Qy,2);return o<0?e.length:o+1}if(Vd(t)&&e.charCodeAt(1)===58){let o=e.charCodeAt(2);if(o===47||o===92)return 3;if(e.length===2)return 2}let a=e.indexOf(Fd);if(a!==-1){let o=a+Fd.length,h=e.indexOf(ra,o);if(h!==-1){let g=e.slice(0,a),E=e.slice(o,h);if(g==="file"&&(E===""||E==="localhost")&&Vd(e.charCodeAt(h+1))){let C=tg(e,h+2);if(C!==-1){if(e.charCodeAt(C)===47)return~(C+1);if(C===e.length)return~C}}return~(h+1)}return~e.length}return 0}function cl(e){let t=ng(e);return t<0?~t:t}function Zm(e,t,a){if(e=ll(e),cl(e)===e.length)return"";e=t1(e);let h=e.slice(Math.max(cl(e),e.lastIndexOf(ra)+1)),g=t!==void 0&&a!==void 0?e1(h,t,a):void 0;return g?h.slice(0,h.length-g.length):h}function Wd(e,t,a){if(ol(t,".")||(t="."+t),e.length>=t.length&&e.charCodeAt(e.length-t.length)===46){let o=e.slice(e.length-t.length);if(a(o,t))return o}}function rg(e,t,a){if(typeof t=="string")return Wd(e,t,a)||"";for(let o of t){let h=Wd(e,o,a);if(h)return h}return""}function e1(e,t,a){if(t)return rg(t1(e),t,a?ff:Fy);let o=Zm(e),h=o.lastIndexOf(".");return h>=0?o.substring(h):""}function ig(e,t){let a=e.substring(0,t),o=e.substring(t).split(ra);return o.length&&!Ki(o)&&o.pop(),[a,...o]}function ag(e,t=""){return e=og(t,e),ig(e,cl(e))}function _g(e,t){return e.length===0?"":(e[0]&&gf(e[0]))+e.slice(1,t).join(ra)}function ll(e){return e.includes("\\")?e.replace(Ky,ra):e}function sg(e){if(!qt(e))return[];let t=[e[0]];for(let a=1;a1){if(t[t.length-1]!==".."){t.pop();continue}}else if(t[0])continue}t.push(o)}}return t}function og(e,...t){e&&(e=ll(e));for(let a of t)a&&(a=ll(a),!e||cl(a)!==0?e=a:e=gf(e)+a);return e}function cg(e){if(e=ll(e),!Gd.test(e))return e;let t=e.replace(/\/\.\//g,"/").replace(/^\.\//,"");if(t!==e&&(e=t,!Gd.test(e)))return e;let a=_g(sg(ag(e)));return a&&yf(e)?gf(a):a}function t1(e){return yf(e)?e.substr(0,e.length-1):e}function gf(e){return yf(e)?e:e+ra}var Gd=/(?:\/\/)|(?:^|\/)\.\.?(?:$|\/)/;function r(e,t,a,o,h,g,E){return{code:e,category:t,key:a,message:o,reportsUnnecessary:h,elidedInCompatabilityPyramid:g,reportsDeprecated:E}}var A={Unterminated_string_literal:r(1002,1,"Unterminated_string_literal_1002","Unterminated string literal."),Identifier_expected:r(1003,1,"Identifier_expected_1003","Identifier expected."),_0_expected:r(1005,1,"_0_expected_1005","'{0}' expected."),A_file_cannot_have_a_reference_to_itself:r(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:r(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:r(1009,1,"Trailing_comma_not_allowed_1009","Trailing comma not allowed."),Asterisk_Slash_expected:r(1010,1,"Asterisk_Slash_expected_1010","'*/' expected."),An_element_access_expression_should_take_an_argument:r(1011,1,"An_element_access_expression_should_take_an_argument_1011","An element access expression should take an argument."),Unexpected_token:r(1012,1,"Unexpected_token_1012","Unexpected token."),A_rest_parameter_or_binding_pattern_may_not_have_a_trailing_comma:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(1025,1,"An_index_signature_cannot_have_a_trailing_comma_1025","An index signature cannot have a trailing comma."),Accessibility_modifier_already_seen:r(1028,1,"Accessibility_modifier_already_seen_1028","Accessibility modifier already seen."),_0_modifier_must_precede_1_modifier:r(1029,1,"_0_modifier_must_precede_1_modifier_1029","'{0}' modifier must precede '{1}' modifier."),_0_modifier_already_seen:r(1030,1,"_0_modifier_already_seen_1030","'{0}' modifier already seen."),_0_modifier_cannot_appear_on_class_elements_of_this_kind:r(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:r(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:r(1035,1,"Only_ambient_modules_can_use_quoted_names_1035","Only ambient modules can use quoted names."),Statements_are_not_allowed_in_ambient_contexts:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(1047,1,"A_rest_parameter_cannot_be_optional_1047","A rest parameter cannot be optional."),A_rest_parameter_cannot_have_an_initializer:r(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:r(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:r(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:r(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:r(1053,1,"A_set_accessor_cannot_have_rest_parameter_1053","A 'set' accessor cannot have rest parameter."),A_get_accessor_cannot_have_parameters:r(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_because_it_does_not_refer_to_a_Promise_compatible_constructor_value:r(1055,1,"Type_0_is_not_a_valid_async_function_return_type_in_ES5_because_it_does_not_refer_to_a_Promise_compa_1055","Type '{0}' is not a valid async function return type in ES5 because it does not refer to a Promise-compatible constructor value."),Accessors_are_only_available_when_targeting_ECMAScript_5_and_higher:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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 type. Did you mean to write 'Promise<{0}>'?"),The_return_type_of_an_async_function_or_method_must_be_the_global_Promise_T_type:r(1065,1,"The_return_type_of_an_async_function_or_method_must_be_the_global_Promise_T_type_1065","The return type of an async function or method must be the global Promise type."),In_ambient_enum_declarations_member_initializer_must_be_constant_expression:r(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:r(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:r(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:r(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:r(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:r(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:r(1084,1,"Invalid_reference_directive_syntax_1084","Invalid 'reference' directive syntax."),_0_modifier_cannot_appear_on_a_constructor_declaration:r(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:r(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:r(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:r(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:r(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:r(1094,1,"An_accessor_cannot_have_type_parameters_1094","An accessor cannot have type parameters."),A_set_accessor_cannot_have_a_return_type_annotation:r(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:r(1096,1,"An_index_signature_must_have_exactly_one_parameter_1096","An index signature must have exactly one parameter."),_0_list_cannot_be_empty:r(1097,1,"_0_list_cannot_be_empty_1097","'{0}' list cannot be empty."),Type_parameter_list_cannot_be_empty:r(1098,1,"Type_parameter_list_cannot_be_empty_1098","Type parameter list cannot be empty."),Type_argument_list_cannot_be_empty:r(1099,1,"Type_argument_list_cannot_be_empty_1099","Type argument list cannot be empty."),Invalid_use_of_0_in_strict_mode:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(1109,1,"Expression_expected_1109","Expression expected."),Type_expected:r(1110,1,"Type_expected_1110","Type expected."),Private_field_0_must_be_declared_in_an_enclosing_class:r(1111,1,"Private_field_0_must_be_declared_in_an_enclosing_class_1111","Private field '{0}' must be declared in an enclosing class."),A_default_clause_cannot_appear_more_than_once_in_a_switch_statement:r(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:r(1114,1,"Duplicate_label_0_1114","Duplicate label '{0}'."),A_continue_statement_can_only_jump_to_a_label_of_an_enclosing_iteration_statement:r(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:r(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:r(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:r(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:r(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:r(1120,1,"An_export_assignment_cannot_have_modifiers_1120","An export assignment cannot have modifiers."),Octal_literals_are_not_allowed_Use_the_syntax_0:r(1121,1,"Octal_literals_are_not_allowed_Use_the_syntax_0_1121","Octal literals are not allowed. Use the syntax '{0}'."),Variable_declaration_list_cannot_be_empty:r(1123,1,"Variable_declaration_list_cannot_be_empty_1123","Variable declaration list cannot be empty."),Digit_expected:r(1124,1,"Digit_expected_1124","Digit expected."),Hexadecimal_digit_expected:r(1125,1,"Hexadecimal_digit_expected_1125","Hexadecimal digit expected."),Unexpected_end_of_text:r(1126,1,"Unexpected_end_of_text_1126","Unexpected end of text."),Invalid_character:r(1127,1,"Invalid_character_1127","Invalid character."),Declaration_or_statement_expected:r(1128,1,"Declaration_or_statement_expected_1128","Declaration or statement expected."),Statement_expected:r(1129,1,"Statement_expected_1129","Statement expected."),case_or_default_expected:r(1130,1,"case_or_default_expected_1130","'case' or 'default' expected."),Property_or_signature_expected:r(1131,1,"Property_or_signature_expected_1131","Property or signature expected."),Enum_member_expected:r(1132,1,"Enum_member_expected_1132","Enum member expected."),Variable_declaration_expected:r(1134,1,"Variable_declaration_expected_1134","Variable declaration expected."),Argument_expression_expected:r(1135,1,"Argument_expression_expected_1135","Argument expression expected."),Property_assignment_expected:r(1136,1,"Property_assignment_expected_1136","Property assignment expected."),Expression_or_comma_expected:r(1137,1,"Expression_or_comma_expected_1137","Expression or comma expected."),Parameter_declaration_expected:r(1138,1,"Parameter_declaration_expected_1138","Parameter declaration expected."),Type_parameter_declaration_expected:r(1139,1,"Type_parameter_declaration_expected_1139","Type parameter declaration expected."),Type_argument_expected:r(1140,1,"Type_argument_expected_1140","Type argument expected."),String_literal_expected:r(1141,1,"String_literal_expected_1141","String literal expected."),Line_break_not_permitted_here:r(1142,1,"Line_break_not_permitted_here_1142","Line break not permitted here."),or_expected:r(1144,1,"or_expected_1144","'{' or ';' expected."),or_JSX_element_expected:r(1145,1,"or_JSX_element_expected_1145","'{' or JSX element expected."),Declaration_expected:r(1146,1,"Declaration_expected_1146","Declaration expected."),Import_declarations_in_a_namespace_cannot_reference_a_module:r(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:r(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:r(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."),_0_declarations_must_be_initialized:r(1155,1,"_0_declarations_must_be_initialized_1155","'{0}' declarations must be initialized."),_0_declarations_can_only_be_declared_inside_a_block:r(1156,1,"_0_declarations_can_only_be_declared_inside_a_block_1156","'{0}' declarations can only be declared inside a block."),Unterminated_template_literal:r(1160,1,"Unterminated_template_literal_1160","Unterminated template literal."),Unterminated_regular_expression_literal:r(1161,1,"Unterminated_regular_expression_literal_1161","Unterminated regular expression literal."),An_object_member_cannot_be_declared_optional:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(1172,1,"extends_clause_already_seen_1172","'extends' clause already seen."),extends_clause_must_precede_implements_clause:r(1173,1,"extends_clause_must_precede_implements_clause_1173","'extends' clause must precede 'implements' clause."),Classes_can_only_extend_a_single_class:r(1174,1,"Classes_can_only_extend_a_single_class_1174","Classes can only extend a single class."),implements_clause_already_seen:r(1175,1,"implements_clause_already_seen_1175","'implements' clause already seen."),Interface_declaration_cannot_have_implements_clause:r(1176,1,"Interface_declaration_cannot_have_implements_clause_1176","Interface declaration cannot have 'implements' clause."),Binary_digit_expected:r(1177,1,"Binary_digit_expected_1177","Binary digit expected."),Octal_digit_expected:r(1178,1,"Octal_digit_expected_1178","Octal digit expected."),Unexpected_token_expected:r(1179,1,"Unexpected_token_expected_1179","Unexpected token. '{' expected."),Property_destructuring_pattern_expected:r(1180,1,"Property_destructuring_pattern_expected_1180","Property destructuring pattern expected."),Array_element_destructuring_pattern_expected:r(1181,1,"Array_element_destructuring_pattern_expected_1181","Array element destructuring pattern expected."),A_destructuring_declaration_must_have_an_initializer:r(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:r(1183,1,"An_implementation_cannot_be_declared_in_ambient_contexts_1183","An implementation cannot be declared in ambient contexts."),Modifiers_cannot_appear_here:r(1184,1,"Modifiers_cannot_appear_here_1184","Modifiers cannot appear here."),Merge_conflict_marker_encountered:r(1185,1,"Merge_conflict_marker_encountered_1185","Merge conflict marker encountered."),A_rest_element_cannot_have_an_initializer:r(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:r(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:r(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:r(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:r(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:r(1191,1,"An_import_declaration_cannot_have_modifiers_1191","An import declaration cannot have modifiers."),Module_0_has_no_default_export:r(1192,1,"Module_0_has_no_default_export_1192","Module '{0}' has no default export."),An_export_declaration_cannot_have_modifiers:r(1193,1,"An_export_declaration_cannot_have_modifiers_1193","An export declaration cannot have modifiers."),Export_declarations_are_not_permitted_in_a_namespace:r(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:r(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:r(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:r(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:r(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:r(1199,1,"Unterminated_Unicode_escape_sequence_1199","Unterminated Unicode escape sequence."),Line_terminator_not_permitted_before_arrow:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(1223,1,"_0_tag_already_specified_1223","'{0}' tag already specified."),Signature_0_must_be_a_type_predicate:r(1224,1,"Signature_0_must_be_a_type_predicate_1224","Signature '{0}' must be a type predicate."),Cannot_find_parameter_0:r(1225,1,"Cannot_find_parameter_0_1225","Cannot find parameter '{0}'."),Type_predicate_0_is_not_assignable_to_1:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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_ES5:r(1250,1,"Function_declarations_are_not_allowed_inside_blocks_in_strict_mode_when_targeting_ES5_1250","Function declarations are not allowed inside blocks in strict mode when targeting 'ES5'."),Function_declarations_are_not_allowed_inside_blocks_in_strict_mode_when_targeting_ES5_Class_definitions_are_automatically_in_strict_mode:r(1251,1,"Function_declarations_are_not_allowed_inside_blocks_in_strict_mode_when_targeting_ES5_Class_definiti_1251","Function declarations are not allowed inside blocks in strict mode when targeting 'ES5'. Class definitions are automatically in strict mode."),Function_declarations_are_not_allowed_inside_blocks_in_strict_mode_when_targeting_ES5_Modules_are_automatically_in_strict_mode:r(1252,1,"Function_declarations_are_not_allowed_inside_blocks_in_strict_mode_when_targeting_ES5_Modules_are_au_1252","Function declarations are not allowed inside blocks in strict mode when targeting 'ES5'. Modules are automatically in strict mode."),Abstract_properties_can_only_appear_within_an_abstract_class:r(1253,1,"Abstract_properties_can_only_appear_within_an_abstract_class_1253","Abstract properties can only appear within an abstract class."),A_const_initializer_in_an_ambient_context_must_be_a_string_or_numeric_literal_or_literal_enum_reference:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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."),_0_resolves_to_a_type_only_declaration_and_must_be_marked_type_only_in_this_file_before_re_exporting_when_1_is_enabled_Consider_using_import_type_where_0_is_imported:r(1289,1,"_0_resolves_to_a_type_only_declaration_and_must_be_marked_type_only_in_this_file_before_re_exporting_1289","'{0}' resolves to a type-only declaration and must be marked type-only in this file before re-exporting when '{1}' is enabled. Consider using 'import type' where '{0}' is imported."),_0_resolves_to_a_type_only_declaration_and_must_be_marked_type_only_in_this_file_before_re_exporting_when_1_is_enabled_Consider_using_export_type_0_as_default:r(1290,1,"_0_resolves_to_a_type_only_declaration_and_must_be_marked_type_only_in_this_file_before_re_exporting_1290","'{0}' resolves to a type-only declaration and must be marked type-only in this file before re-exporting when '{1}' is enabled. Consider using 'export type { {0} as default }'."),_0_resolves_to_a_type_and_must_be_marked_type_only_in_this_file_before_re_exporting_when_1_is_enabled_Consider_using_import_type_where_0_is_imported:r(1291,1,"_0_resolves_to_a_type_and_must_be_marked_type_only_in_this_file_before_re_exporting_when_1_is_enable_1291","'{0}' resolves to a type and must be marked type-only in this file before re-exporting when '{1}' is enabled. Consider using 'import type' where '{0}' is imported."),_0_resolves_to_a_type_and_must_be_marked_type_only_in_this_file_before_re_exporting_when_1_is_enabled_Consider_using_export_type_0_as_default:r(1292,1,"_0_resolves_to_a_type_and_must_be_marked_type_only_in_this_file_before_re_exporting_when_1_is_enable_1292","'{0}' resolves to a type and must be marked type-only in this file before re-exporting when '{1}' is enabled. Consider using 'export type { {0} as default }'."),with_statements_are_not_allowed_in_an_async_function_block:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(1348,1,"Non_simple_parameter_declared_here_1348","Non-simple parameter declared here."),use_strict_directive_used_here:r(1349,1,"use_strict_directive_used_here_1349","'use strict' directive used here."),Print_the_final_configuration_instead_of_building:r(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:r(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:r(1352,1,"A_bigint_literal_cannot_use_exponential_notation_1352","A bigint literal cannot use exponential notation."),A_bigint_literal_must_be_an_integer:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(1364,3,"Convert_to_type_only_export_1364","Convert to type-only export"),Convert_all_re_exported_types_to_type_only_exports:r(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:r(1366,3,"Split_into_two_separate_import_declarations_1366","Split into two separate import declarations"),Split_all_invalid_type_only_imports:r(1367,3,"Split_all_invalid_type_only_imports_1367","Split all invalid type-only imports"),Class_constructor_may_not_be_a_generator:r(1368,1,"Class_constructor_may_not_be_a_generator_1368","Class constructor may not be a generator."),Did_you_mean_0:r(1369,3,"Did_you_mean_0_1369","Did you mean '{0}'?"),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:r(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:r(1376,3,"_0_was_imported_here_1376","'{0}' was imported here."),_0_was_exported_here:r(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_nodenext_or_preserve_and_the_target_option_is_set_to_es2017_or_higher:r(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', 'nodenext', or 'preserve', and the 'target' option is set to 'es2017' or higher."),An_import_alias_cannot_reference_a_declaration_that_was_exported_using_export_type:r(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:r(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:r(1381,1,"Unexpected_token_Did_you_mean_or_rbrace_1381","Unexpected token. Did you mean `{'}'}` or `}`?"),Unexpected_token_Did_you_mean_or_gt:r(1382,1,"Unexpected_token_Did_you_mean_or_gt_1382","Unexpected token. Did you mean `{'>'}` or `>`?"),Function_type_notation_must_be_parenthesized_when_used_in_a_union_type:r(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:r(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:r(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:r(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:r(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:r(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:r(1392,1,"An_import_alias_cannot_use_import_type_1392","An import alias cannot use 'import type'"),Imported_via_0_from_file_1:r(1393,3,"Imported_via_0_from_file_1_1393","Imported via {0} from file '{1}'"),Imported_via_0_from_file_1_with_packageId_2:r(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:r(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:r(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:r(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:r(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:r(1399,3,"File_is_included_via_import_here_1399","File is included via import here."),Referenced_via_0_from_file_1:r(1400,3,"Referenced_via_0_from_file_1_1400","Referenced via '{0}' from file '{1}'"),File_is_included_via_reference_here:r(1401,3,"File_is_included_via_reference_here_1401","File is included via reference here."),Type_library_referenced_via_0_from_file_1:r(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:r(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:r(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:r(1405,3,"Library_referenced_via_0_from_file_1_1405","Library referenced via '{0}' from file '{1}'"),File_is_included_via_library_reference_here:r(1406,3,"File_is_included_via_library_reference_here_1406","File is included via library reference here."),Matched_by_include_pattern_0_in_1:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(1422,3,"Library_0_specified_in_compilerOptions_1422","Library '{0}' specified in compilerOptions"),File_is_library_specified_here:r(1423,3,"File_is_library_specified_here_1423","File is library specified here."),Default_library:r(1424,3,"Default_library_1424","Default library"),Default_library_for_target_0:r(1425,3,"Default_library_for_target_0_1425","Default library for target '{0}'"),File_is_default_library_for_target_specified_here:r(1426,3,"File_is_default_library_for_target_specified_here_1426","File is default library for target specified here."),Root_file_specified_for_compilation:r(1427,3,"Root_file_specified_for_compilation_1427","Root file specified for compilation"),File_is_output_of_project_reference_source_0:r(1428,3,"File_is_output_of_project_reference_source_0_1428","File is output of project reference source '{0}'"),File_redirects_to_file_0:r(1429,3,"File_redirects_to_file_0_1429","File redirects to file '{0}'"),The_file_is_in_the_program_because_Colon:r(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:r(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_nodenext_or_preserve_and_the_target_option_is_set_to_es2017_or_higher:r(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', 'nodenext', or 'preserve', and the 'target' option is set to 'es2017' or higher."),Neither_decorators_nor_modifiers_may_be_applied_to_this_parameters:r(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:r(1434,1,"Unexpected_keyword_or_identifier_1434","Unexpected keyword or identifier."),Unknown_keyword_or_identifier_Did_you_mean_0:r(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:r(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:r(1437,1,"Namespace_must_be_given_a_name_1437","Namespace must be given a name."),Interface_must_be_given_a_name:r(1438,1,"Interface_must_be_given_a_name_1438","Interface must be given a name."),Type_alias_must_be_given_a_name:r(1439,1,"Type_alias_must_be_given_a_name_1439","Type alias must be given a name."),Variable_declaration_not_allowed_at_this_location:r(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:r(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:r(1442,1,"Expected_for_property_initializer_1442","Expected '=' for property initializer."),Module_declaration_names_may_only_use_or_quoted_strings:r(1443,1,"Module_declaration_names_may_only_use_or_quoted_strings_1443",`Module declaration names may only use ' or " quoted strings.`),_0_resolves_to_a_type_only_declaration_and_must_be_re_exported_using_a_type_only_re_export_when_1_is_enabled:r(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:r(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_set_of_attributes_as_arguments:r(1450,3,"Dynamic_imports_can_only_accept_a_module_specifier_and_an_optional_set_of_attributes_as_arguments_1450","Dynamic imports can only accept a module specifier and an optional set of attributes 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:r(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_should_be_either_require_or_import:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(1461,3,"File_is_CommonJS_module_because_package_json_was_not_found_1461","File is CommonJS module because 'package.json' was not found"),resolution_mode_is_the_only_valid_key_for_type_import_attributes:r(1463,1,"resolution_mode_is_the_only_valid_key_for_type_import_attributes_1463","'resolution-mode' is the only valid key for type import attributes."),Type_import_attributes_should_have_exactly_one_key_resolution_mode_with_value_import_or_require:r(1464,1,"Type_import_attributes_should_have_exactly_one_key_resolution_mode_with_value_import_or_require_1464","Type import attributes should have exactly one key - 'resolution-mode' - with value 'import' or 'require'."),The_import_meta_meta_property_is_not_allowed_in_files_which_will_build_into_CommonJS_output:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(1486,1,"Decorator_used_before_export_here_1486","Decorator used before 'export' here."),Octal_escape_sequences_are_not_allowed_Use_the_syntax_0:r(1487,1,"Octal_escape_sequences_are_not_allowed_Use_the_syntax_0_1487","Octal escape sequences are not allowed. Use the syntax '{0}'."),Escape_sequence_0_is_not_allowed:r(1488,1,"Escape_sequence_0_is_not_allowed_1488","Escape sequence '{0}' is not allowed."),Decimals_with_leading_zeros_are_not_allowed:r(1489,1,"Decimals_with_leading_zeros_are_not_allowed_1489","Decimals with leading zeros are not allowed."),File_appears_to_be_binary:r(1490,1,"File_appears_to_be_binary_1490","File appears to be binary."),_0_modifier_cannot_appear_on_a_using_declaration:r(1491,1,"_0_modifier_cannot_appear_on_a_using_declaration_1491","'{0}' modifier cannot appear on a 'using' declaration."),_0_declarations_may_not_have_binding_patterns:r(1492,1,"_0_declarations_may_not_have_binding_patterns_1492","'{0}' declarations may not have binding patterns."),The_left_hand_side_of_a_for_in_statement_cannot_be_a_using_declaration:r(1493,1,"The_left_hand_side_of_a_for_in_statement_cannot_be_a_using_declaration_1493","The left-hand side of a 'for...in' statement cannot be a 'using' declaration."),The_left_hand_side_of_a_for_in_statement_cannot_be_an_await_using_declaration:r(1494,1,"The_left_hand_side_of_a_for_in_statement_cannot_be_an_await_using_declaration_1494","The left-hand side of a 'for...in' statement cannot be an 'await using' declaration."),_0_modifier_cannot_appear_on_an_await_using_declaration:r(1495,1,"_0_modifier_cannot_appear_on_an_await_using_declaration_1495","'{0}' modifier cannot appear on an 'await using' declaration."),Identifier_string_literal_or_number_literal_expected:r(1496,1,"Identifier_string_literal_or_number_literal_expected_1496","Identifier, string literal, or number literal expected."),Expression_must_be_enclosed_in_parentheses_to_be_used_as_a_decorator:r(1497,1,"Expression_must_be_enclosed_in_parentheses_to_be_used_as_a_decorator_1497","Expression must be enclosed in parentheses to be used as a decorator."),Invalid_syntax_in_decorator:r(1498,1,"Invalid_syntax_in_decorator_1498","Invalid syntax in decorator."),Unknown_regular_expression_flag:r(1499,1,"Unknown_regular_expression_flag_1499","Unknown regular expression flag."),Duplicate_regular_expression_flag:r(1500,1,"Duplicate_regular_expression_flag_1500","Duplicate regular expression flag."),This_regular_expression_flag_is_only_available_when_targeting_0_or_later:r(1501,1,"This_regular_expression_flag_is_only_available_when_targeting_0_or_later_1501","This regular expression flag is only available when targeting '{0}' or later."),The_Unicode_u_flag_and_the_Unicode_Sets_v_flag_cannot_be_set_simultaneously:r(1502,1,"The_Unicode_u_flag_and_the_Unicode_Sets_v_flag_cannot_be_set_simultaneously_1502","The Unicode (u) flag and the Unicode Sets (v) flag cannot be set simultaneously."),Named_capturing_groups_are_only_available_when_targeting_ES2018_or_later:r(1503,1,"Named_capturing_groups_are_only_available_when_targeting_ES2018_or_later_1503","Named capturing groups are only available when targeting 'ES2018' or later."),Subpattern_flags_must_be_present_when_there_is_a_minus_sign:r(1504,1,"Subpattern_flags_must_be_present_when_there_is_a_minus_sign_1504","Subpattern flags must be present when there is a minus sign."),Incomplete_quantifier_Digit_expected:r(1505,1,"Incomplete_quantifier_Digit_expected_1505","Incomplete quantifier. Digit expected."),Numbers_out_of_order_in_quantifier:r(1506,1,"Numbers_out_of_order_in_quantifier_1506","Numbers out of order in quantifier."),There_is_nothing_available_for_repetition:r(1507,1,"There_is_nothing_available_for_repetition_1507","There is nothing available for repetition."),Unexpected_0_Did_you_mean_to_escape_it_with_backslash:r(1508,1,"Unexpected_0_Did_you_mean_to_escape_it_with_backslash_1508","Unexpected '{0}'. Did you mean to escape it with backslash?"),This_regular_expression_flag_cannot_be_toggled_within_a_subpattern:r(1509,1,"This_regular_expression_flag_cannot_be_toggled_within_a_subpattern_1509","This regular expression flag cannot be toggled within a subpattern."),k_must_be_followed_by_a_capturing_group_name_enclosed_in_angle_brackets:r(1510,1,"k_must_be_followed_by_a_capturing_group_name_enclosed_in_angle_brackets_1510","'\\k' must be followed by a capturing group name enclosed in angle brackets."),q_is_only_available_inside_character_class:r(1511,1,"q_is_only_available_inside_character_class_1511","'\\q' is only available inside character class."),c_must_be_followed_by_an_ASCII_letter:r(1512,1,"c_must_be_followed_by_an_ASCII_letter_1512","'\\c' must be followed by an ASCII letter."),Undetermined_character_escape:r(1513,1,"Undetermined_character_escape_1513","Undetermined character escape."),Expected_a_capturing_group_name:r(1514,1,"Expected_a_capturing_group_name_1514","Expected a capturing group name."),Named_capturing_groups_with_the_same_name_must_be_mutually_exclusive_to_each_other:r(1515,1,"Named_capturing_groups_with_the_same_name_must_be_mutually_exclusive_to_each_other_1515","Named capturing groups with the same name must be mutually exclusive to each other."),A_character_class_range_must_not_be_bounded_by_another_character_class:r(1516,1,"A_character_class_range_must_not_be_bounded_by_another_character_class_1516","A character class range must not be bounded by another character class."),Range_out_of_order_in_character_class:r(1517,1,"Range_out_of_order_in_character_class_1517","Range out of order in character class."),Anything_that_would_possibly_match_more_than_a_single_character_is_invalid_inside_a_negated_character_class:r(1518,1,"Anything_that_would_possibly_match_more_than_a_single_character_is_invalid_inside_a_negated_characte_1518","Anything that would possibly match more than a single character is invalid inside a negated character class."),Operators_must_not_be_mixed_within_a_character_class_Wrap_it_in_a_nested_class_instead:r(1519,1,"Operators_must_not_be_mixed_within_a_character_class_Wrap_it_in_a_nested_class_instead_1519","Operators must not be mixed within a character class. Wrap it in a nested class instead."),Expected_a_class_set_operand:r(1520,1,"Expected_a_class_set_operand_1520","Expected a class set operand."),q_must_be_followed_by_string_alternatives_enclosed_in_braces:r(1521,1,"q_must_be_followed_by_string_alternatives_enclosed_in_braces_1521","'\\q' must be followed by string alternatives enclosed in braces."),A_character_class_must_not_contain_a_reserved_double_punctuator_Did_you_mean_to_escape_it_with_backslash:r(1522,1,"A_character_class_must_not_contain_a_reserved_double_punctuator_Did_you_mean_to_escape_it_with_backs_1522","A character class must not contain a reserved double punctuator. Did you mean to escape it with backslash?"),Expected_a_Unicode_property_name:r(1523,1,"Expected_a_Unicode_property_name_1523","Expected a Unicode property name."),Unknown_Unicode_property_name:r(1524,1,"Unknown_Unicode_property_name_1524","Unknown Unicode property name."),Expected_a_Unicode_property_value:r(1525,1,"Expected_a_Unicode_property_value_1525","Expected a Unicode property value."),Unknown_Unicode_property_value:r(1526,1,"Unknown_Unicode_property_value_1526","Unknown Unicode property value."),Expected_a_Unicode_property_name_or_value:r(1527,1,"Expected_a_Unicode_property_name_or_value_1527","Expected a Unicode property name or value."),Any_Unicode_property_that_would_possibly_match_more_than_a_single_character_is_only_available_when_the_Unicode_Sets_v_flag_is_set:r(1528,1,"Any_Unicode_property_that_would_possibly_match_more_than_a_single_character_is_only_available_when_t_1528","Any Unicode property that would possibly match more than a single character is only available when the Unicode Sets (v) flag is set."),Unknown_Unicode_property_name_or_value:r(1529,1,"Unknown_Unicode_property_name_or_value_1529","Unknown Unicode property name or value."),Unicode_property_value_expressions_are_only_available_when_the_Unicode_u_flag_or_the_Unicode_Sets_v_flag_is_set:r(1530,1,"Unicode_property_value_expressions_are_only_available_when_the_Unicode_u_flag_or_the_Unicode_Sets_v__1530","Unicode property value expressions are only available when the Unicode (u) flag or the Unicode Sets (v) flag is set."),_0_must_be_followed_by_a_Unicode_property_value_expression_enclosed_in_braces:r(1531,1,"_0_must_be_followed_by_a_Unicode_property_value_expression_enclosed_in_braces_1531","'\\{0}' must be followed by a Unicode property value expression enclosed in braces."),There_is_no_capturing_group_named_0_in_this_regular_expression:r(1532,1,"There_is_no_capturing_group_named_0_in_this_regular_expression_1532","There is no capturing group named '{0}' in this regular expression."),This_backreference_refers_to_a_group_that_does_not_exist_There_are_only_0_capturing_groups_in_this_regular_expression:r(1533,1,"This_backreference_refers_to_a_group_that_does_not_exist_There_are_only_0_capturing_groups_in_this_r_1533","This backreference refers to a group that does not exist. There are only {0} capturing groups in this regular expression."),This_backreference_refers_to_a_group_that_does_not_exist_There_are_no_capturing_groups_in_this_regular_expression:r(1534,1,"This_backreference_refers_to_a_group_that_does_not_exist_There_are_no_capturing_groups_in_this_regul_1534","This backreference refers to a group that does not exist. There are no capturing groups in this regular expression."),This_character_cannot_be_escaped_in_a_regular_expression:r(1535,1,"This_character_cannot_be_escaped_in_a_regular_expression_1535","This character cannot be escaped in a regular expression."),Octal_escape_sequences_and_backreferences_are_not_allowed_in_a_character_class_If_this_was_intended_as_an_escape_sequence_use_the_syntax_0_instead:r(1536,1,"Octal_escape_sequences_and_backreferences_are_not_allowed_in_a_character_class_If_this_was_intended__1536","Octal escape sequences and backreferences are not allowed in a character class. If this was intended as an escape sequence, use the syntax '{0}' instead."),Decimal_escape_sequences_and_backreferences_are_not_allowed_in_a_character_class:r(1537,1,"Decimal_escape_sequences_and_backreferences_are_not_allowed_in_a_character_class_1537","Decimal escape sequences and backreferences are not allowed in a character class."),The_types_of_0_are_incompatible_between_these_types:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(2211,3,"Add_extends_constraint_2211","Add `extends` constraint."),Add_extends_constraint_to_all_type_parameters:r(2212,3,"Add_extends_constraint_to_all_type_parameters_2212","Add `extends` constraint to all type parameters"),Duplicate_identifier_0:r(2300,1,"Duplicate_identifier_0_2300","Duplicate identifier '{0}'."),Initializer_of_instance_member_variable_0_cannot_reference_identifier_1_declared_in_the_constructor:r(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:r(2302,1,"Static_members_cannot_reference_class_type_parameters_2302","Static members cannot reference class type parameters."),Circular_definition_of_import_alias_0:r(2303,1,"Circular_definition_of_import_alias_0_2303","Circular definition of import alias '{0}'."),Cannot_find_name_0:r(2304,1,"Cannot_find_name_0_2304","Cannot find name '{0}'."),Module_0_has_no_exported_member_1:r(2305,1,"Module_0_has_no_exported_member_1_2305","Module '{0}' has no exported member '{1}'."),File_0_is_not_a_module:r(2306,1,"File_0_is_not_a_module_2306","File '{0}' is not a module."),Cannot_find_module_0_or_its_corresponding_type_declarations:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(2314,1,"Generic_type_0_requires_1_type_argument_s_2314","Generic type '{0}' requires {1} type argument(s)."),Type_0_is_not_generic:r(2315,1,"Type_0_is_not_generic_2315","Type '{0}' is not generic."),Global_type_0_must_be_a_class_or_interface_type:r(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:r(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:r(2318,1,"Cannot_find_global_type_0_2318","Cannot find global type '{0}'."),Named_property_0_of_types_1_and_2_are_not_identical:r(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:r(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:r(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:r(2322,1,"Type_0_is_not_assignable_to_type_1_2322","Type '{0}' is not assignable to type '{1}'."),Cannot_redeclare_exported_variable_0:r(2323,1,"Cannot_redeclare_exported_variable_0_2323","Cannot redeclare exported variable '{0}'."),Property_0_is_missing_in_type_1:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(2332,1,"this_cannot_be_referenced_in_current_location_2332","'this' cannot be referenced in current location."),this_cannot_be_referenced_in_a_static_property_initializer:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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}'."),Untyped_function_calls_may_not_accept_type_arguments:r(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:r(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:r(2349,1,"This_expression_is_not_callable_2349","This expression is not callable."),Only_a_void_function_can_be_called_with_the_new_keyword:r(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:r(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:r(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:r(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:r(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_undefined_void_nor_any_must_return_a_value:r(2355,1,"A_function_whose_declared_type_is_neither_undefined_void_nor_any_must_return_a_value_2355","A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value."),An_arithmetic_operand_must_be_of_type_any_number_bigint_or_an_enum_type:r(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:r(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:r(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_either_of_type_any_a_class_function_or_other_type_assignable_to_the_Function_interface_type_or_an_object_type_with_a_Symbol_hasInstance_method:r(2359,1,"The_right_hand_side_of_an_instanceof_expression_must_be_either_of_type_any_a_class_function_or_other_2359","The right-hand side of an 'instanceof' expression must be either of type 'any', a class, function, or other type assignable to the 'Function' interface type, or an object type with a 'Symbol.hasInstance' method."),The_left_hand_side_of_an_arithmetic_operation_must_be_of_type_any_number_bigint_or_an_enum_type:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(2372,1,"Parameter_0_cannot_reference_itself_2372","Parameter '{0}' cannot reference itself."),Parameter_0_cannot_reference_identifier_1_declared_after_it:r(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:r(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:r(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:r(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:r(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:r(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:r(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."),Overload_signatures_must_all_be_exported_or_non_exported:r(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:r(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:r(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:r(2386,1,"Overload_signatures_must_all_be_optional_or_required_2386","Overload signatures must all be optional or required."),Function_overload_must_be_static:r(2387,1,"Function_overload_must_be_static_2387","Function overload must be static."),Function_overload_must_not_be_static:r(2388,1,"Function_overload_must_not_be_static_2388","Function overload must not be static."),Function_implementation_name_must_be_0:r(2389,1,"Function_implementation_name_must_be_0_2389","Function implementation name must be '{0}'."),Constructor_implementation_is_missing:r(2390,1,"Constructor_implementation_is_missing_2390","Constructor implementation is missing."),Function_implementation_is_missing_or_not_immediately_following_the_declaration:r(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:r(2392,1,"Multiple_constructor_implementations_are_not_allowed_2392","Multiple constructor implementations are not allowed."),Duplicate_function_implementation:r(2393,1,"Duplicate_function_implementation_2393","Duplicate function implementation."),This_overload_signature_is_not_compatible_with_its_implementation_signature:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(2414,1,"Class_name_cannot_be_0_2414","Class name cannot be '{0}'."),Class_0_incorrectly_extends_base_class_1:r(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:r(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:r(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:r(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:r(2419,1,"Types_of_construct_signatures_are_incompatible_2419","Types of construct signatures are incompatible."),Class_0_incorrectly_implements_interface_1:r(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:r(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:r(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:r(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:r(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:r(2427,1,"Interface_name_cannot_be_0_2427","Interface name cannot be '{0}'."),All_declarations_of_0_must_have_identical_type_parameters:r(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:r(2430,1,"Interface_0_incorrectly_extends_interface_1_2430","Interface '{0}' incorrectly extends interface '{1}'."),Enum_name_cannot_be_0:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(2449,1,"Class_0_used_before_its_declaration_2449","Class '{0}' used before its declaration."),Enum_0_used_before_its_declaration:r(2450,1,"Enum_0_used_before_its_declaration_2450","Enum '{0}' used before its declaration."),Cannot_redeclare_block_scoped_variable_0:r(2451,1,"Cannot_redeclare_block_scoped_variable_0_2451","Cannot redeclare block-scoped variable '{0}'."),An_enum_member_cannot_have_a_numeric_name:r(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:r(2454,1,"Variable_0_is_used_before_being_assigned_2454","Variable '{0}' is used before being assigned."),Type_alias_0_circularly_references_itself:r(2456,1,"Type_alias_0_circularly_references_itself_2456","Type alias '{0}' circularly references itself."),Type_alias_name_cannot_be_0:r(2457,1,"Type_alias_name_cannot_be_0_2457","Type alias name cannot be '{0}'."),An_AMD_module_cannot_have_multiple_name_assignments:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(2468,1,"Cannot_find_global_value_0_2468","Cannot find global value '{0}'."),The_0_operator_cannot_be_applied_to_type_symbol:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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_ES5_Consider_using_a_standard_function_expression:r(2496,1,"The_arguments_object_cannot_be_referenced_in_an_arrow_function_in_ES5_Consider_using_a_standard_func_2496","The 'arguments' object cannot be referenced in an arrow function in 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:r(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:r(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:r(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:r(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:r(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:r(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:r(2503,1,"Cannot_find_namespace_0_2503","Cannot find namespace '{0}'."),Type_0_must_have_a_Symbol_asyncIterator_method_that_returns_an_async_iterator:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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_ES5_Consider_using_a_standard_function_or_method:r(2522,1,"The_arguments_object_cannot_be_referenced_in_an_async_function_or_method_in_ES5_Consider_using_a_sta_2522","The 'arguments' object cannot be referenced in an async function or method in ES5. Consider using a standard function or method."),yield_expressions_cannot_be_used_in_a_parameter_initializer:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(2530,1,"Property_0_is_incompatible_with_index_signature_2530","Property '{0}' is incompatible with index signature."),Object_is_possibly_null:r(2531,1,"Object_is_possibly_null_2531","Object is possibly 'null'."),Object_is_possibly_undefined:r(2532,1,"Object_is_possibly_undefined_2532","Object is possibly 'undefined'."),Object_is_possibly_null_or_undefined:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(2554,1,"Expected_0_arguments_but_got_1_2554","Expected {0} arguments, but got {1}."),Expected_at_least_0_arguments_but_got_1:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(2571,1,"Object_is_of_type_unknown_2571","Object is of type 'unknown'."),A_rest_element_type_must_be_an_array_type:r(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:r(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:r(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:r(2577,1,"Return_type_annotation_circularly_references_itself_2577","Return type annotation circularly references itself."),Unused_ts_expect_error_directive:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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."),React_components_cannot_include_JSX_namespace_names:r(2639,1,"React_components_cannot_include_JSX_namespace_names_2639","React components cannot include JSX namespace names"),Cannot_augment_module_0_with_value_exports_because_it_resolves_to_a_non_module_entity:r(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."),Non_abstract_class_expression_is_missing_implementations_for_the_following_members_of_0_Colon_1_and_2_more:r(2650,1,"Non_abstract_class_expression_is_missing_implementations_for_the_following_members_of_0_Colon_1_and__2650","Non-abstract class expression is missing implementations for the following members of '{0}': {1} and {2} more."),A_member_initializer_in_a_enum_declaration_cannot_reference_members_declared_after_it_including_members_defined_in_other_enums:r(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:r(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:r(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}'."),Non_abstract_class_0_is_missing_implementations_for_the_following_members_of_1_Colon_2:r(2654,1,"Non_abstract_class_0_is_missing_implementations_for_the_following_members_of_1_Colon_2_2654","Non-abstract class '{0}' is missing implementations for the following members of '{1}': {2}."),Non_abstract_class_0_is_missing_implementations_for_the_following_members_of_1_Colon_2_and_3_more:r(2655,1,"Non_abstract_class_0_is_missing_implementations_for_the_following_members_of_1_Colon_2_and_3_more_2655","Non-abstract class '{0}' is missing implementations for the following members of '{1}': {2} and {3} more."),Non_abstract_class_expression_is_missing_implementations_for_the_following_members_of_0_Colon_1:r(2656,1,"Non_abstract_class_expression_is_missing_implementations_for_the_following_members_of_0_Colon_1_2656","Non-abstract class expression is missing implementations for the following members of '{0}': {1}."),JSX_expressions_must_have_one_parent_element:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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_requires_the_Promise_constructor_Make_sure_you_have_a_declaration_for_the_Promise_constructor_or_include_ES2015_in_your_lib_option:r(2705,1,"An_async_function_or_method_in_ES5_requires_the_Promise_constructor_Make_sure_you_have_a_declaration_2705","An async function or method in ES5 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:r(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:r(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:r(2708,1,"Cannot_use_namespace_0_as_a_value_2708","Cannot use namespace '{0}' as a value."),Cannot_use_namespace_0_as_a_type:r(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:r(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:r(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_requires_the_Promise_constructor_Make_sure_you_have_a_declaration_for_the_Promise_constructor_or_include_ES2015_in_your_lib_option:r(2712,1,"A_dynamic_import_call_in_ES5_requires_the_Promise_constructor_Make_sure_you_have_a_declaration_for_t_2712","A dynamic import call in ES5 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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(2728,3,"_0_is_declared_here_2728","'{0}' is declared here."),Property_0_is_used_before_its_initialization:r(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:r(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:r(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:r(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:r(2733,1,"Property_0_was_also_declared_here_2733","Property '{0}' was also declared here."),Are_you_missing_a_semicolon:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(2750,1,"The_implementation_signature_is_declared_here_2750","The implementation signature is declared here."),Circularity_originates_in_type_at_this_location:r(2751,1,"Circularity_originates_in_type_at_this_location_2751","Circularity originates in type at this location."),The_first_export_default_is_here:r(2752,1,"The_first_export_default_is_here_2752","The first export default is here."),Another_export_default_is_here:r(2753,1,"Another_export_default_is_here_2753","Another export default is here."),super_may_not_use_type_arguments:r(2754,1,"super_may_not_use_type_arguments_2754","'super' may not use type arguments."),No_constituent_of_type_0_is_callable:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(2769,1,"No_overload_matches_this_call_2769","No overload matches this call."),The_last_overload_gave_the_following_error:r(2770,1,"The_last_overload_gave_the_following_error_2770","The last overload gave the following error."),The_last_overload_is_declared_here:r(2771,1,"The_last_overload_is_declared_here_2771","The last overload is declared here."),Overload_0_of_1_2_gave_the_following_error:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(2785,1,"This_spread_always_overwrites_this_property_2785","This spread always overwrites this property."),_0_cannot_be_used_as_a_JSX_component:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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_nodenext_or_preserve:r(2821,1,"Import_assertions_are_only_supported_when_the_module_option_is_set_to_esnext_nodenext_or_preserve_2821","Import assertions are only supported when the '--module' option is set to 'esnext', 'nodenext', or 'preserve'."),Import_assertions_cannot_be_used_with_type_only_imports_or_exports:r(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."),Import_attributes_are_only_supported_when_the_module_option_is_set_to_esnext_nodenext_or_preserve:r(2823,1,"Import_attributes_are_only_supported_when_the_module_option_is_set_to_esnext_nodenext_or_preserve_2823","Import attributes are only supported when the '--module' option is set to 'esnext', 'nodenext', or 'preserve'."),Cannot_find_namespace_0_Did_you_mean_1:r(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:r(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:r(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_compile_to_CommonJS_require_calls:r(2836,1,"Import_assertions_are_not_allowed_on_statements_that_compile_to_CommonJS_require_calls_2836","Import assertions are not allowed on statements that compile to CommonJS 'require' calls."),Import_assertion_values_must_be_string_literal_expressions:r(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:r(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:r(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_It_can_only_extend_other_named_object_types:r(2840,1,"An_interface_cannot_extend_a_primitive_type_like_0_It_can_only_extend_other_named_object_types_2840","An interface cannot extend a primitive type like '{0}'. It can only extend other named object types."),_0_is_an_unused_renaming_of_1_Did_you_intend_to_use_it_as_a_type_annotation:r(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:r(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:r(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:r(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:r(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?"),The_right_hand_side_of_an_instanceof_expression_must_not_be_an_instantiation_expression:r(2848,1,"The_right_hand_side_of_an_instanceof_expression_must_not_be_an_instantiation_expression_2848","The right-hand side of an 'instanceof' expression must not be an instantiation expression."),Target_signature_provides_too_few_arguments_Expected_0_or_more_but_got_1:r(2849,1,"Target_signature_provides_too_few_arguments_Expected_0_or_more_but_got_1_2849","Target signature provides too few arguments. Expected {0} or more, but got {1}."),The_initializer_of_a_using_declaration_must_be_either_an_object_with_a_Symbol_dispose_method_or_be_null_or_undefined:r(2850,1,"The_initializer_of_a_using_declaration_must_be_either_an_object_with_a_Symbol_dispose_method_or_be_n_2850","The initializer of a 'using' declaration must be either an object with a '[Symbol.dispose]()' method, or be 'null' or 'undefined'."),The_initializer_of_an_await_using_declaration_must_be_either_an_object_with_a_Symbol_asyncDispose_or_Symbol_dispose_method_or_be_null_or_undefined:r(2851,1,"The_initializer_of_an_await_using_declaration_must_be_either_an_object_with_a_Symbol_asyncDispose_or_2851","The initializer of an 'await using' declaration must be either an object with a '[Symbol.asyncDispose]()' or '[Symbol.dispose]()' method, or be 'null' or 'undefined'."),await_using_statements_are_only_allowed_within_async_functions_and_at_the_top_levels_of_modules:r(2852,1,"await_using_statements_are_only_allowed_within_async_functions_and_at_the_top_levels_of_modules_2852","'await using' statements are only allowed within async functions and at the top levels of modules."),await_using_statements_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:r(2853,1,"await_using_statements_are_only_allowed_at_the_top_level_of_a_file_when_that_file_is_a_module_but_th_2853","'await using' statements 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_await_using_statements_are_only_allowed_when_the_module_option_is_set_to_es2022_esnext_system_node16_nodenext_or_preserve_and_the_target_option_is_set_to_es2017_or_higher:r(2854,1,"Top_level_await_using_statements_are_only_allowed_when_the_module_option_is_set_to_es2022_esnext_sys_2854","Top-level 'await using' statements are only allowed when the 'module' option is set to 'es2022', 'esnext', 'system', 'node16', 'nodenext', or 'preserve', and the 'target' option is set to 'es2017' or higher."),Class_field_0_defined_by_the_parent_class_is_not_accessible_in_the_child_class_via_super:r(2855,1,"Class_field_0_defined_by_the_parent_class_is_not_accessible_in_the_child_class_via_super_2855","Class field '{0}' defined by the parent class is not accessible in the child class via super."),Import_attributes_are_not_allowed_on_statements_that_compile_to_CommonJS_require_calls:r(2856,1,"Import_attributes_are_not_allowed_on_statements_that_compile_to_CommonJS_require_calls_2856","Import attributes are not allowed on statements that compile to CommonJS 'require' calls."),Import_attributes_cannot_be_used_with_type_only_imports_or_exports:r(2857,1,"Import_attributes_cannot_be_used_with_type_only_imports_or_exports_2857","Import attributes cannot be used with type-only imports or exports."),Import_attribute_values_must_be_string_literal_expressions:r(2858,1,"Import_attribute_values_must_be_string_literal_expressions_2858","Import attribute values must be string literal expressions."),Excessive_complexity_comparing_types_0_and_1:r(2859,1,"Excessive_complexity_comparing_types_0_and_1_2859","Excessive complexity comparing types '{0}' and '{1}'."),The_left_hand_side_of_an_instanceof_expression_must_be_assignable_to_the_first_argument_of_the_right_hand_side_s_Symbol_hasInstance_method:r(2860,1,"The_left_hand_side_of_an_instanceof_expression_must_be_assignable_to_the_first_argument_of_the_right_2860","The left-hand side of an 'instanceof' expression must be assignable to the first argument of the right-hand side's '[Symbol.hasInstance]' method."),An_object_s_Symbol_hasInstance_method_must_return_a_boolean_value_for_it_to_be_used_on_the_right_hand_side_of_an_instanceof_expression:r(2861,1,"An_object_s_Symbol_hasInstance_method_must_return_a_boolean_value_for_it_to_be_used_on_the_right_han_2861","An object's '[Symbol.hasInstance]' method must return a boolean value for it to be used on the right-hand side of an 'instanceof' expression."),Type_0_is_generic_and_can_only_be_indexed_for_reading:r(2862,1,"Type_0_is_generic_and_can_only_be_indexed_for_reading_2862","Type '{0}' is generic and can only be indexed for reading."),A_class_cannot_extend_a_primitive_type_like_0_Classes_can_only_extend_constructable_values:r(2863,1,"A_class_cannot_extend_a_primitive_type_like_0_Classes_can_only_extend_constructable_values_2863","A class cannot extend a primitive type like '{0}'. Classes can only extend constructable values."),A_class_cannot_implement_a_primitive_type_like_0_It_can_only_implement_other_named_object_types:r(2864,1,"A_class_cannot_implement_a_primitive_type_like_0_It_can_only_implement_other_named_object_types_2864","A class cannot implement a primitive type like '{0}'. It can only implement other named object types."),Import_0_conflicts_with_local_value_so_must_be_declared_with_a_type_only_import_when_isolatedModules_is_enabled:r(2865,1,"Import_0_conflicts_with_local_value_so_must_be_declared_with_a_type_only_import_when_isolatedModules_2865","Import '{0}' conflicts with local value, so must be declared with a type-only import when 'isolatedModules' is enabled."),Import_0_conflicts_with_global_value_used_in_this_file_so_must_be_declared_with_a_type_only_import_when_isolatedModules_is_enabled:r(2866,1,"Import_0_conflicts_with_global_value_used_in_this_file_so_must_be_declared_with_a_type_only_import_w_2866","Import '{0}' conflicts with global value used in this file, so must be declared with a type-only import when 'isolatedModules' is enabled."),Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_Bun_Try_npm_i_save_dev_types_Slashbun:r(2867,1,"Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_Bun_Try_npm_i_save_dev_types_Slashbun_2867","Cannot find name '{0}'. Do you need to install type definitions for Bun? Try `npm i --save-dev @types/bun`."),Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_Bun_Try_npm_i_save_dev_types_Slashbun_and_then_add_bun_to_the_types_field_in_your_tsconfig:r(2868,1,"Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_Bun_Try_npm_i_save_dev_types_Slashbun_2868","Cannot find name '{0}'. Do you need to install type definitions for Bun? Try `npm i --save-dev @types/bun` and then add 'bun' to the types field in your tsconfig."),Import_declaration_0_is_using_private_name_1:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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}'."),Parameter_0_of_index_signature_from_exported_interface_has_or_is_using_name_1_from_private_module_2:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(4109,1,"Type_arguments_for_0_circularly_reference_themselves_4109","Type arguments for '{0}' circularly reference themselves."),Tuple_type_arguments_circularly_reference_themselves:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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'."),Each_declaration_of_0_1_differs_in_its_value_where_2_was_expected_but_3_was_given:r(4125,1,"Each_declaration_of_0_1_differs_in_its_value_where_2_was_expected_but_3_was_given_4125","Each declaration of '{0}.{1}' differs in its value, where '{2}' was expected but '{3}' was given."),One_value_of_0_1_is_the_string_2_and_the_other_is_assumed_to_be_an_unknown_numeric_value:r(4126,1,"One_value_of_0_1_is_the_string_2_and_the_other_is_assumed_to_be_an_unknown_numeric_value_4126","One value of '{0}.{1}' is the string '{2}', and the other is assumed to be an unknown numeric value."),The_current_host_does_not_support_the_0_option:r(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:r(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:r(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:r(5012,1,"Cannot_read_file_0_Colon_1_5012","Cannot read file '{0}': {1}."),Failed_to_parse_file_0_Colon_1:r(5014,1,"Failed_to_parse_file_0_Colon_1_5014","Failed to parse file '{0}': {1}."),Unknown_compiler_option_0:r(5023,1,"Unknown_compiler_option_0_5023","Unknown compiler option '{0}'."),Compiler_option_0_requires_a_value_of_type_1:r(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:r(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:r(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:r(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:r(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_can_only_be_used_when_either_option_inlineSourceMap_or_option_sourceMap_is_provided:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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_cannot_be_specified_when_module_is_set_to_none_system_or_umd:r(5071,1,"Option_resolveJsonModule_cannot_be_specified_when_module_is_set_to_none_system_or_umd_5071","Option '--resolveJsonModule' cannot be specified when 'module' is set to 'none', 'system', or 'umd'."),Unknown_build_option_0:r(5072,1,"Unknown_build_option_0_5072","Unknown build option '{0}'."),Build_option_0_requires_a_value_of_type_1:r(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:r(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:r(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:r(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:r(5077,1,"Unknown_build_option_0_Did_you_mean_1_5077","Unknown build option '{0}'. Did you mean '{1}'?"),Unknown_watch_option_0:r(5078,1,"Unknown_watch_option_0_5078","Unknown watch option '{0}'."),Unknown_watch_option_0_Did_you_mean_1:r(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:r(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:r(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:r(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:r(5083,1,"Cannot_read_file_0_5083","Cannot read file '{0}'."),A_tuple_member_cannot_be_both_optional_and_rest:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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_preserve_or_to_es2015_or_later:r(5095,1,"Option_0_can_only_be_used_when_module_is_set_to_preserve_or_to_es2015_or_later_5095","Option '{0}' can only be used when 'module' is set to 'preserve' or to 'es2015' or later."),Option_allowImportingTsExtensions_can_only_be_used_when_either_noEmit_or_emitDeclarationOnly_is_set:r(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:r(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:r(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:r(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:r(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:r(5103,1,"Invalid_value_for_ignoreDeprecations_5103","Invalid value for '--ignoreDeprecations'."),Option_0_is_redundant_and_cannot_be_specified_with_option_1:r(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:r(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:r(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:r(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:r(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."),Option_moduleResolution_must_be_set_to_0_or_left_unspecified_when_option_module_is_set_to_1:r(5109,1,"Option_moduleResolution_must_be_set_to_0_or_left_unspecified_when_option_module_is_set_to_1_5109","Option 'moduleResolution' must be set to '{0}' (or left unspecified) when option 'module' is set to '{1}'."),Option_module_must_be_set_to_0_when_option_moduleResolution_is_set_to_1:r(5110,1,"Option_module_must_be_set_to_0_when_option_moduleResolution_is_set_to_1_5110","Option 'module' must be set to '{0}' when option 'moduleResolution' is set to '{1}'."),Generates_a_sourcemap_for_each_corresponding_d_ts_file:r(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:r(6001,3,"Concatenate_and_emit_output_to_single_file_6001","Concatenate and emit output to single file."),Generates_corresponding_d_ts_file:r(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:r(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:r(6005,3,"Watch_input_files_6005","Watch input files."),Redirect_output_structure_to_the_directory:r(6006,3,"Redirect_output_structure_to_the_directory_6006","Redirect output structure to the directory."),Do_not_erase_const_enum_declarations_in_generated_code:r(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:r(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:r(6009,3,"Do_not_emit_comments_to_output_6009","Do not emit comments to output."),Do_not_emit_outputs:r(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:r(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:r(6012,3,"Skip_type_checking_of_declaration_files_6012","Skip type checking of declaration files."),Do_not_resolve_the_real_path_of_symlinks:r(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:r(6014,3,"Only_emit_d_ts_declaration_files_6014","Only emit '.d.ts' declaration files."),Specify_ECMAScript_target_version:r(6015,3,"Specify_ECMAScript_target_version_6015","Specify ECMAScript target version."),Specify_module_code_generation:r(6016,3,"Specify_module_code_generation_6016","Specify module code generation."),Print_this_message:r(6017,3,"Print_this_message_6017","Print this message."),Print_the_compiler_s_version:r(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:r(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:r(6023,3,"Syntax_Colon_0_6023","Syntax: {0}"),options:r(6024,3,"options_6024","options"),file:r(6025,3,"file_6025","file"),Examples_Colon_0:r(6026,3,"Examples_Colon_0_6026","Examples: {0}"),Options_Colon:r(6027,3,"Options_Colon_6027","Options:"),Version_0:r(6029,3,"Version_0_6029","Version {0}"),Insert_command_line_options_and_files_from_a_file:r(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:r(6031,3,"Starting_compilation_in_watch_mode_6031","Starting compilation in watch mode..."),File_change_detected_Starting_incremental_compilation:r(6032,3,"File_change_detected_Starting_incremental_compilation_6032","File change detected. Starting incremental compilation..."),KIND:r(6034,3,"KIND_6034","KIND"),FILE:r(6035,3,"FILE_6035","FILE"),VERSION:r(6036,3,"VERSION_6036","VERSION"),LOCATION:r(6037,3,"LOCATION_6037","LOCATION"),DIRECTORY:r(6038,3,"DIRECTORY_6038","DIRECTORY"),STRATEGY:r(6039,3,"STRATEGY_6039","STRATEGY"),FILE_OR_DIRECTORY:r(6040,3,"FILE_OR_DIRECTORY_6040","FILE OR DIRECTORY"),Errors_Files:r(6041,3,"Errors_Files_6041","Errors Files"),Generates_corresponding_map_file:r(6043,3,"Generates_corresponding_map_file_6043","Generates corresponding '.map' file."),Compiler_option_0_expects_an_argument:r(6044,1,"Compiler_option_0_expects_an_argument_6044","Compiler option '{0}' expects an argument."),Unterminated_quoted_string_in_response_file_0:r(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:r(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:r(6048,1,"Locale_must_be_of_the_form_language_or_language_territory_For_example_0_or_1_6048","Locale must be of the form or -. For example '{0}' or '{1}'."),Unable_to_open_file_0:r(6050,1,"Unable_to_open_file_0_6050","Unable to open file '{0}'."),Corrupted_locale_file_0:r(6051,1,"Corrupted_locale_file_0_6051","Corrupted locale file {0}."),Raise_error_on_expressions_and_declarations_with_an_implied_any_type:r(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:r(6053,1,"File_0_not_found_6053","File '{0}' not found."),File_0_has_an_unsupported_extension_The_only_supported_extensions_are_1:r(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:r(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:r(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:r(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:r(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:r(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:r(6061,3,"NEWLINE_6061","NEWLINE"),Option_0_can_only_be_specified_in_tsconfig_json_file_or_set_to_null_on_command_line:r(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:r(6065,3,"Enables_experimental_support_for_ES7_decorators_6065","Enables experimental support for ES7 decorators."),Enables_experimental_support_for_emitting_type_metadata_for_decorators:r(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:r(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:r(6071,3,"Successfully_created_a_tsconfig_json_file_6071","Successfully created a tsconfig.json file."),Suppress_excess_property_checks_for_object_literals:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(6080,3,"Specify_JSX_code_generation_6080","Specify JSX code generation."),Only_amd_and_system_modules_are_supported_alongside_0:r(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:r(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:r(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:r(6085,3,"Enable_tracing_of_the_name_resolution_process_6085","Enable tracing of the name resolution process."),Resolving_module_0_from_1:r(6086,3,"Resolving_module_0_from_1_6086","======== Resolving module '{0}' from '{1}'. ========"),Explicitly_specified_module_resolution_kind_Colon_0:r(6087,3,"Explicitly_specified_module_resolution_kind_Colon_0_6087","Explicitly specified module resolution kind: '{0}'."),Module_resolution_kind_is_not_specified_using_0:r(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:r(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:r(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:r(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:r(6092,3,"Module_name_0_matched_pattern_1_6092","Module name '{0}', matched pattern '{1}'."),Trying_substitution_0_candidate_module_location_Colon_1:r(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:r(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:r(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:r(6096,3,"File_0_does_not_exist_6096","File '{0}' does not exist."),File_0_exists_use_it_as_a_name_resolution_result:r(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:r(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:r(6099,3,"Found_package_json_at_0_6099","Found 'package.json' at '{0}'."),package_json_does_not_have_a_0_field:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(6110,3,"Trying_other_entries_in_rootDirs_6110","Trying other entries in 'rootDirs'."),Module_resolution_using_rootDirs_has_failed:r(6111,3,"Module_resolution_using_rootDirs_has_failed_6111","Module resolution using 'rootDirs' has failed."),Do_not_emit_use_strict_directives_in_module_output:r(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:r(6113,3,"Enable_strict_null_checks_6113","Enable strict null checks."),Unknown_option_excludes_Did_you_mean_exclude:r(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:r(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:r(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:r(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:r(6120,3,"Type_reference_directive_0_was_not_resolved_6120","======== Type reference directive '{0}' was not resolved. ========"),Resolving_with_primary_search_path_0:r(6121,3,"Resolving_with_primary_search_path_0_6121","Resolving with primary search path '{0}'."),Root_directory_cannot_be_determined_skipping_primary_search_paths:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(6134,3,"Report_errors_on_unused_locals_6134","Report errors on unused locals."),Report_errors_on_unused_parameters:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(6149,3,"Show_diagnostic_information_6149","Show diagnostic information."),Show_verbose_diagnostic_information:r(6150,3,"Show_verbose_diagnostic_information_6150","Show verbose diagnostic information."),Emit_a_single_file_with_source_maps_instead_of_having_a_separate_file:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(6162,3,"Disable_size_limitations_on_JavaScript_projects_6162","Disable size limitations on JavaScript projects."),The_character_set_of_the_input_files:r(6163,3,"The_character_set_of_the_input_files_6163","The character set of the input files."),Skipping_module_0_that_looks_like_an_absolute_URI_target_file_types_Colon_1:r(6164,3,"Skipping_module_0_that_looks_like_an_absolute_URI_target_file_types_Colon_1_6164","Skipping module '{0}' that looks like an absolute URI, target file types: {1}."),Do_not_truncate_error_messages:r(6165,3,"Do_not_truncate_error_messages_6165","Do not truncate error messages."),Output_directory_for_generated_declaration_files:r(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:r(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:r(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:r(6169,3,"Show_all_compiler_options_6169","Show all compiler options."),Deprecated_Use_outFile_instead_Concatenate_and_emit_output_to_single_file:r(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:r(6171,3,"Command_line_Options_6171","Command-line Options"),Provide_full_support_for_iterables_in_for_of_spread_and_destructuring_when_targeting_ES5:r(6179,3,"Provide_full_support_for_iterables_in_for_of_spread_and_destructuring_when_targeting_ES5_6179","Provide full support for iterables in 'for-of', spread, and destructuring when targeting 'ES5'."),Enable_all_strict_type_checking_options:r(6180,3,"Enable_all_strict_type_checking_options_6180","Enable all strict type-checking options."),Scoped_package_detected_looking_in_0:r(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:r(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:r(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:r(6186,3,"Enable_strict_checking_of_function_types_6186","Enable strict checking of function types."),Enable_strict_checking_of_property_initialization_in_classes:r(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:r(6188,1,"Numeric_separators_are_not_allowed_here_6188","Numeric separators are not allowed here."),Multiple_consecutive_numeric_separators_are_not_permitted:r(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:r(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:r(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:r(6193,3,"Found_1_error_Watching_for_file_changes_6193","Found 1 error. Watching for file changes."),Found_0_errors_Watching_for_file_changes:r(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:r(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:r(6196,1,"_0_is_declared_but_never_used_6196","'{0}' is declared but never used.",!0),Include_modules_imported_with_json_extension:r(6197,3,"Include_modules_imported_with_json_extension_6197","Include modules imported with '.json' extension"),All_destructured_elements_are_unused:r(6198,1,"All_destructured_elements_are_unused_6198","All destructured elements are unused.",!0),All_variables_are_unused:r(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:r(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:r(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:r(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:r(6203,3,"_0_was_also_declared_here_6203","'{0}' was also declared here."),and_here:r(6204,3,"and_here_6204","and here."),All_type_parameters_are_unused:r(6205,1,"All_type_parameters_are_unused_6205","All type parameters are unused."),package_json_has_a_typesVersions_field_with_version_specific_path_mappings:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(6215,3,"Using_compiler_options_of_project_reference_redirect_0_6215","Using compiler options of project reference redirect '{0}'."),Found_1_error:r(6216,3,"Found_1_error_6216","Found 1 error."),Found_0_errors:r(6217,3,"Found_0_errors_6217","Found {0} errors."),Module_name_0_was_successfully_resolved_to_1_with_Package_ID_2:r(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:r(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:r(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:r(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:r(6222,3,"Emit_class_fields_with_Define_instead_of_Set_6222","Emit class fields with Define instead of Set."),Generates_a_CPU_profile:r(6223,3,"Generates_a_CPU_profile_6223","Generates a CPU profile."),Disable_solution_searching_for_this_project:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(6235,3,"Disable_loading_referenced_projects_6235","Disable loading referenced projects."),Arguments_for_the_rest_parameter_0_were_not_provided:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(6243,3,"Interpret_optional_property_types_as_written_rather_than_adding_undefined_6243","Interpret optional property types as written, rather than adding 'undefined'."),Modules:r(6244,3,"Modules_6244","Modules"),File_Management:r(6245,3,"File_Management_6245","File Management"),Emit:r(6246,3,"Emit_6246","Emit"),JavaScript_Support:r(6247,3,"JavaScript_Support_6247","JavaScript Support"),Type_Checking:r(6248,3,"Type_Checking_6248","Type Checking"),Editor_Support:r(6249,3,"Editor_Support_6249","Editor Support"),Watch_and_Build_Modes:r(6250,3,"Watch_and_Build_Modes_6250","Watch and Build Modes"),Compiler_Diagnostics:r(6251,3,"Compiler_Diagnostics_6251","Compiler Diagnostics"),Interop_Constraints:r(6252,3,"Interop_Constraints_6252","Interop Constraints"),Backwards_Compatibility:r(6253,3,"Backwards_Compatibility_6253","Backwards Compatibility"),Language_and_Environment:r(6254,3,"Language_and_Environment_6254","Language and Environment"),Projects:r(6255,3,"Projects_6255","Projects"),Output_Formatting:r(6256,3,"Output_Formatting_6256","Output Formatting"),Completeness:r(6257,3,"Completeness_6257","Completeness"),_0_should_be_set_inside_the_compilerOptions_object_of_the_config_json_file:r(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_0:r(6259,3,"Found_1_error_in_0_6259","Found 1 error in {0}"),Found_0_errors_in_the_same_file_starting_at_Colon_1:r(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:r(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:r(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:r(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:r(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."),Resolving_type_reference_directive_for_program_that_specifies_custom_typeRoots_skipping_lookup_in_node_modules_folder:r(6265,3,"Resolving_type_reference_directive_for_program_that_specifies_custom_typeRoots_skipping_lookup_in_no_6265","Resolving type reference directive for program that specifies custom typeRoots, skipping lookup in 'node_modules' folder."),Option_0_can_only_be_specified_on_command_line:r(6266,1,"Option_0_can_only_be_specified_on_command_line_6266","Option '{0}' can only be specified on command line."),Directory_0_has_no_containing_package_json_scope_Imports_will_not_resolve:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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.`),Resolution_of_non_relative_name_failed_trying_with_moduleResolution_bundler_to_see_if_project_may_need_configuration_update:r(6279,3,"Resolution_of_non_relative_name_failed_trying_with_moduleResolution_bundler_to_see_if_project_may_ne_6279","Resolution of non-relative name failed; trying with '--moduleResolution bundler' to see if project may need configuration update."),There_are_types_at_0_but_this_result_could_not_be_resolved_under_your_current_moduleResolution_setting_Consider_updating_to_node16_nodenext_or_bundler:r(6280,3,"There_are_types_at_0_but_this_result_could_not_be_resolved_under_your_current_moduleResolution_setti_6280","There are types at '{0}', but this result could not be resolved under your current 'moduleResolution' setting. Consider updating to 'node16', 'nodenext', or 'bundler'."),package_json_has_a_peerDependencies_field:r(6281,3,"package_json_has_a_peerDependencies_field_6281","'package.json' has a 'peerDependencies' field."),Found_peerDependency_0_with_1_version:r(6282,3,"Found_peerDependency_0_with_1_version_6282","Found peerDependency '{0}' with '{1}' version."),Failed_to_find_peerDependency_0:r(6283,3,"Failed_to_find_peerDependency_0_6283","Failed to find peerDependency '{0}'."),Enable_project_compilation:r(6302,3,"Enable_project_compilation_6302","Enable project compilation"),Composite_projects_may_not_disable_declaration_emit:r(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:r(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:r(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:r(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."),Referenced_project_0_may_not_disable_emit:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(6357,3,"A_non_dry_build_would_build_project_0_6357","A non-dry build would build project '{0}'"),Building_project_0:r(6358,3,"Building_project_0_6358","Building project '{0}'..."),Updating_output_timestamps_of_project_0:r(6359,3,"Updating_output_timestamps_of_project_0_6359","Updating output timestamps of project '{0}'..."),Project_0_is_up_to_date:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(6370,1,"Options_0_and_1_cannot_be_combined_6370","Options '{0}' and '{1}' cannot be combined."),Updating_unchanged_output_timestamps_of_project_0:r(6371,3,"Updating_unchanged_output_timestamps_of_project_0_6371","Updating unchanged output timestamps of project '{0}'..."),A_non_dry_build_would_update_timestamps_for_output_of_project_0:r(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}'"),Cannot_write_file_0_because_it_will_overwrite_tsbuildinfo_file_generated_by_referenced_project_1:r(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:r(6379,1,"Composite_projects_may_not_disable_incremental_compilation_6379","Composite projects may not disable incremental compilation."),Specify_file_to_store_incremental_compilation_information:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(6402,3,"Resolving_in_0_mode_with_conditions_1_6402","Resolving in {0} mode with conditions {1}."),Matched_0_condition_1:r(6403,3,"Matched_0_condition_1_6403","Matched '{0}' condition '{1}'."),Using_0_subpath_1_with_target_2:r(6404,3,"Using_0_subpath_1_with_target_2_6404","Using '{0}' subpath '{1}' with target '{2}'."),Saw_non_matching_condition_0:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(6413,3,"Entering_conditional_exports_6413","Entering conditional exports."),Resolved_under_condition_0:r(6414,3,"Resolved_under_condition_0_6414","Resolved under condition '{0}'."),Failed_to_resolve_under_condition_0:r(6415,3,"Failed_to_resolve_under_condition_0_6415","Failed to resolve under condition '{0}'."),Exiting_conditional_exports:r(6416,3,"Exiting_conditional_exports_6416","Exiting conditional exports."),Searching_all_ancestor_node_modules_directories_for_preferred_extensions_Colon_0:r(6417,3,"Searching_all_ancestor_node_modules_directories_for_preferred_extensions_Colon_0_6417","Searching all ancestor node_modules directories for preferred extensions: {0}."),Searching_all_ancestor_node_modules_directories_for_fallback_extensions_Colon_0:r(6418,3,"Searching_all_ancestor_node_modules_directories_for_fallback_extensions_Colon_0_6418","Searching all ancestor node_modules directories for fallback extensions: {0}."),The_expected_type_comes_from_property_0_which_is_declared_here_on_type_1:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(6602,3,"Allow_accessing_UMD_globals_from_modules_6602","Allow accessing UMD globals from modules."),Disable_error_reporting_for_unreachable_code:r(6603,3,"Disable_error_reporting_for_unreachable_code_6603","Disable error reporting for unreachable code."),Disable_error_reporting_for_unused_labels:r(6604,3,"Disable_error_reporting_for_unused_labels_6604","Disable error reporting for unused labels."),Ensure_use_strict_is_always_emitted:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(6614,3,"Create_sourcemaps_for_d_ts_files_6614","Create sourcemaps for d.ts files."),Output_compiler_performance_information_after_building:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(6627,3,"Filters_results_from_the_include_option_6627","Filters results from the `include` option."),Remove_a_list_of_directories_from_the_watch_process:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(6659,3,"Set_the_newline_character_for_emitting_files_6659","Set the newline character for emitting files."),Disable_emitting_files_from_a_compilation:r(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:r(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:r(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:r(6663,3,"Disable_truncating_types_in_error_messages_6663","Disable truncating types in error messages."),Enable_error_reporting_for_fallthrough_cases_in_switch_statements:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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 ''s from expanding the number of files TypeScript should add to a project."),Disable_strict_checking_of_generic_signatures_in_function_types:r(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:r(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:r(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:r(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:r(6677,3,"Deprecated_setting_Use_outFile_instead_6677","Deprecated setting. Use 'outFile' instead."),Specify_an_output_folder_for_all_emitted_files:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(6688,3,"Disable_emitting_comments_6688","Disable emitting comments."),Enable_importing_json_files:r(6689,3,"Enable_importing_json_files_6689","Enable importing .json files."),Specify_the_root_folder_within_your_source_files:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(6712,3,"Emit_ECMAScript_standard_compliant_class_fields_6712","Emit ECMAScript-standard-compliant class fields."),Enable_verbose_logging:r(6713,3,"Enable_verbose_logging_6713","Enable verbose logging."),Specify_how_directories_are_watched_on_systems_that_lack_recursive_file_watching_functionality:r(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:r(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:r(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:r(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."),Require_sufficient_annotation_on_exports_so_other_tools_can_trivially_generate_declaration_files:r(6719,3,"Require_sufficient_annotation_on_exports_so_other_tools_can_trivially_generate_declaration_files_6719","Require sufficient annotation on exports so other tools can trivially generate declaration files."),Default_catch_clause_variables_as_unknown_instead_of_any:r(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:r(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."),Disable_full_type_checking_only_critical_parse_and_emit_errors_will_be_reported:r(6805,3,"Disable_full_type_checking_only_critical_parse_and_emit_errors_will_be_reported_6805","Disable full type checking (only critical parse and emit errors will be reported)."),one_of_Colon:r(6900,3,"one_of_Colon_6900","one of:"),one_or_more_Colon:r(6901,3,"one_or_more_Colon_6901","one or more:"),type_Colon:r(6902,3,"type_Colon_6902","type:"),default_Colon:r(6903,3,"default_Colon_6903","default:"),module_system_or_esModuleInterop:r(6904,3,"module_system_or_esModuleInterop_6904",'module === "system" or esModuleInterop'),false_unless_strict_is_set:r(6905,3,"false_unless_strict_is_set_6905","`false`, unless `strict` is set"),false_unless_composite_is_set:r(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:r(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:r(6908,3,"if_files_is_specified_otherwise_Asterisk_Asterisk_Slash_Asterisk_6908",'`[]` if `files` is specified, otherwise `["**/*"]`'),true_if_composite_false_otherwise:r(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:r(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:r(6911,3,"Computed_from_the_list_of_input_files_6911","Computed from the list of input files"),Platform_specific:r(6912,3,"Platform_specific_6912","Platform specific"),You_can_learn_about_all_of_the_compiler_options_at_0:r(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:r(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:r(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:r(6916,3,"COMMON_COMMANDS_6916","COMMON COMMANDS"),ALL_COMPILER_OPTIONS:r(6917,3,"ALL_COMPILER_OPTIONS_6917","ALL COMPILER OPTIONS"),WATCH_OPTIONS:r(6918,3,"WATCH_OPTIONS_6918","WATCH OPTIONS"),BUILD_OPTIONS:r(6919,3,"BUILD_OPTIONS_6919","BUILD OPTIONS"),COMMON_COMPILER_OPTIONS:r(6920,3,"COMMON_COMPILER_OPTIONS_6920","COMMON COMPILER OPTIONS"),COMMAND_LINE_FLAGS:r(6921,3,"COMMAND_LINE_FLAGS_6921","COMMAND LINE FLAGS"),tsc_Colon_The_TypeScript_Compiler:r(6922,3,"tsc_Colon_The_TypeScript_Compiler_6922","tsc: The TypeScript Compiler"),Compiles_the_current_project_tsconfig_json_in_the_working_directory:r(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:r(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:r(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:r(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:r(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:r(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:r(6929,3,"Compiles_the_current_project_with_additional_settings_6929","Compiles the current project, with additional settings."),true_for_ES2022_and_above_including_ESNext:r(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:r(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:r(7005,1,"Variable_0_implicitly_has_an_1_type_7005","Variable '{0}' implicitly has an '{1}' type."),Parameter_0_implicitly_has_an_1_type:r(7006,1,"Parameter_0_implicitly_has_an_1_type_7006","Parameter '{0}' implicitly has an '{1}' type."),Member_0_implicitly_has_an_1_type:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(7027,1,"Unreachable_code_detected_7027","Unreachable code detected.",!0),Unused_label:r(7028,1,"Unused_label_7028","Unused label.",!0),Fallthrough_case_in_switch:r(7029,1,"Fallthrough_case_in_switch_7029","Fallthrough case in switch."),Not_all_code_paths_return_a_value:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(8016,1,"Type_assertion_expressions_can_only_be_used_in_TypeScript_files_8016","Type assertion expressions can only be used in TypeScript files."),Signature_declarations_can_only_be_used_in_TypeScript_files:r(8017,1,"Signature_declarations_can_only_be_used_in_TypeScript_files_8017","Signature declarations can only be used in TypeScript files."),Report_errors_in_js_files:r(8019,3,"Report_errors_in_js_files_8019","Report errors in .js files."),JSDoc_types_can_only_be_used_inside_documentation_comments:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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'."),A_JSDoc_template_tag_may_not_follow_a_typedef_callback_or_overload_tag:r(8039,1,"A_JSDoc_template_tag_may_not_follow_a_typedef_callback_or_overload_tag_8039","A JSDoc '@template' tag may not follow a '@typedef', '@callback', or '@overload' tag"),Declaration_emit_for_this_file_requires_using_private_name_0_An_explicit_type_annotation_may_unblock_declaration_emit:r(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:r(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."),Function_must_have_an_explicit_return_type_annotation_with_isolatedDeclarations:r(9007,1,"Function_must_have_an_explicit_return_type_annotation_with_isolatedDeclarations_9007","Function must have an explicit return type annotation with --isolatedDeclarations."),Method_must_have_an_explicit_return_type_annotation_with_isolatedDeclarations:r(9008,1,"Method_must_have_an_explicit_return_type_annotation_with_isolatedDeclarations_9008","Method must have an explicit return type annotation with --isolatedDeclarations."),At_least_one_accessor_must_have_an_explicit_return_type_annotation_with_isolatedDeclarations:r(9009,1,"At_least_one_accessor_must_have_an_explicit_return_type_annotation_with_isolatedDeclarations_9009","At least one accessor must have an explicit return type annotation with --isolatedDeclarations."),Variable_must_have_an_explicit_type_annotation_with_isolatedDeclarations:r(9010,1,"Variable_must_have_an_explicit_type_annotation_with_isolatedDeclarations_9010","Variable must have an explicit type annotation with --isolatedDeclarations."),Parameter_must_have_an_explicit_type_annotation_with_isolatedDeclarations:r(9011,1,"Parameter_must_have_an_explicit_type_annotation_with_isolatedDeclarations_9011","Parameter must have an explicit type annotation with --isolatedDeclarations."),Property_must_have_an_explicit_type_annotation_with_isolatedDeclarations:r(9012,1,"Property_must_have_an_explicit_type_annotation_with_isolatedDeclarations_9012","Property must have an explicit type annotation with --isolatedDeclarations."),Expression_type_can_t_be_inferred_with_isolatedDeclarations:r(9013,1,"Expression_type_can_t_be_inferred_with_isolatedDeclarations_9013","Expression type can't be inferred with --isolatedDeclarations."),Computed_properties_must_be_number_or_string_literals_variables_or_dotted_expressions_with_isolatedDeclarations:r(9014,1,"Computed_properties_must_be_number_or_string_literals_variables_or_dotted_expressions_with_isolatedD_9014","Computed properties must be number or string literals, variables or dotted expressions with --isolatedDeclarations."),Objects_that_contain_spread_assignments_can_t_be_inferred_with_isolatedDeclarations:r(9015,1,"Objects_that_contain_spread_assignments_can_t_be_inferred_with_isolatedDeclarations_9015","Objects that contain spread assignments can't be inferred with --isolatedDeclarations."),Objects_that_contain_shorthand_properties_can_t_be_inferred_with_isolatedDeclarations:r(9016,1,"Objects_that_contain_shorthand_properties_can_t_be_inferred_with_isolatedDeclarations_9016","Objects that contain shorthand properties can't be inferred with --isolatedDeclarations."),Only_const_arrays_can_be_inferred_with_isolatedDeclarations:r(9017,1,"Only_const_arrays_can_be_inferred_with_isolatedDeclarations_9017","Only const arrays can be inferred with --isolatedDeclarations."),Arrays_with_spread_elements_can_t_inferred_with_isolatedDeclarations:r(9018,1,"Arrays_with_spread_elements_can_t_inferred_with_isolatedDeclarations_9018","Arrays with spread elements can't inferred with --isolatedDeclarations."),Binding_elements_can_t_be_exported_directly_with_isolatedDeclarations:r(9019,1,"Binding_elements_can_t_be_exported_directly_with_isolatedDeclarations_9019","Binding elements can't be exported directly with --isolatedDeclarations."),Enum_member_initializers_must_be_computable_without_references_to_external_symbols_with_isolatedDeclarations:r(9020,1,"Enum_member_initializers_must_be_computable_without_references_to_external_symbols_with_isolatedDecl_9020","Enum member initializers must be computable without references to external symbols with --isolatedDeclarations."),Extends_clause_can_t_contain_an_expression_with_isolatedDeclarations:r(9021,1,"Extends_clause_can_t_contain_an_expression_with_isolatedDeclarations_9021","Extends clause can't contain an expression with --isolatedDeclarations."),Inference_from_class_expressions_is_not_supported_with_isolatedDeclarations:r(9022,1,"Inference_from_class_expressions_is_not_supported_with_isolatedDeclarations_9022","Inference from class expressions is not supported with --isolatedDeclarations."),Assigning_properties_to_functions_without_declaring_them_is_not_supported_with_isolatedDeclarations_Add_an_explicit_declaration_for_the_properties_assigned_to_this_function:r(9023,1,"Assigning_properties_to_functions_without_declaring_them_is_not_supported_with_isolatedDeclarations__9023","Assigning properties to functions without declaring them is not supported with --isolatedDeclarations. Add an explicit declaration for the properties assigned to this function."),Declaration_emit_for_this_parameter_requires_implicitly_adding_undefined_to_it_s_type_This_is_not_supported_with_isolatedDeclarations:r(9025,1,"Declaration_emit_for_this_parameter_requires_implicitly_adding_undefined_to_it_s_type_This_is_not_su_9025","Declaration emit for this parameter requires implicitly adding undefined to it's type. This is not supported with --isolatedDeclarations."),Declaration_emit_for_this_file_requires_preserving_this_import_for_augmentations_This_is_not_supported_with_isolatedDeclarations:r(9026,1,"Declaration_emit_for_this_file_requires_preserving_this_import_for_augmentations_This_is_not_support_9026","Declaration emit for this file requires preserving this import for augmentations. This is not supported with --isolatedDeclarations."),Add_a_type_annotation_to_the_variable_0:r(9027,1,"Add_a_type_annotation_to_the_variable_0_9027","Add a type annotation to the variable {0}."),Add_a_type_annotation_to_the_parameter_0:r(9028,1,"Add_a_type_annotation_to_the_parameter_0_9028","Add a type annotation to the parameter {0}."),Add_a_type_annotation_to_the_property_0:r(9029,1,"Add_a_type_annotation_to_the_property_0_9029","Add a type annotation to the property {0}."),Add_a_return_type_to_the_function_expression:r(9030,1,"Add_a_return_type_to_the_function_expression_9030","Add a return type to the function expression."),Add_a_return_type_to_the_function_declaration:r(9031,1,"Add_a_return_type_to_the_function_declaration_9031","Add a return type to the function declaration."),Add_a_return_type_to_the_get_accessor_declaration:r(9032,1,"Add_a_return_type_to_the_get_accessor_declaration_9032","Add a return type to the get accessor declaration."),Add_a_type_to_parameter_of_the_set_accessor_declaration:r(9033,1,"Add_a_type_to_parameter_of_the_set_accessor_declaration_9033","Add a type to parameter of the set accessor declaration."),Add_a_return_type_to_the_method:r(9034,1,"Add_a_return_type_to_the_method_9034","Add a return type to the method"),Add_satisfies_and_a_type_assertion_to_this_expression_satisfies_T_as_T_to_make_the_type_explicit:r(9035,1,"Add_satisfies_and_a_type_assertion_to_this_expression_satisfies_T_as_T_to_make_the_type_explicit_9035","Add satisfies and a type assertion to this expression (satisfies T as T) to make the type explicit."),Move_the_expression_in_default_export_to_a_variable_and_add_a_type_annotation_to_it:r(9036,1,"Move_the_expression_in_default_export_to_a_variable_and_add_a_type_annotation_to_it_9036","Move the expression in default export to a variable and add a type annotation to it."),Default_exports_can_t_be_inferred_with_isolatedDeclarations:r(9037,1,"Default_exports_can_t_be_inferred_with_isolatedDeclarations_9037","Default exports can't be inferred with --isolatedDeclarations."),Computed_property_names_on_class_or_object_literals_cannot_be_inferred_with_isolatedDeclarations:r(9038,1,"Computed_property_names_on_class_or_object_literals_cannot_be_inferred_with_isolatedDeclarations_9038","Computed property names on class or object literals cannot be inferred with --isolatedDeclarations."),Type_containing_private_name_0_can_t_be_used_with_isolatedDeclarations:r(9039,1,"Type_containing_private_name_0_can_t_be_used_with_isolatedDeclarations_9039","Type containing private name '{0}' can't be used with --isolatedDeclarations."),JSX_attributes_must_only_be_assigned_a_non_empty_expression:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(17014,1,"JSX_fragment_has_no_corresponding_closing_tag_17014","JSX fragment has no corresponding closing tag."),Expected_corresponding_closing_tag_for_JSX_fragment:r(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:r(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:r(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:r(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:r(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:r(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}'?"),Unicode_escape_sequence_cannot_appear_here:r(17021,1,"Unicode_escape_sequence_cannot_appear_here_17021","Unicode escape sequence cannot appear here."),Circularity_detected_while_resolving_configuration_Colon_0:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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."),JSDoc_typedef_may_be_converted_to_TypeScript_type:r(80009,2,"JSDoc_typedef_may_be_converted_to_TypeScript_type_80009","JSDoc typedef may be converted to TypeScript type."),JSDoc_typedefs_may_be_converted_to_TypeScript_types:r(80010,2,"JSDoc_typedefs_may_be_converted_to_TypeScript_types_80010","JSDoc typedefs may be converted to TypeScript types."),Add_missing_super_call:r(90001,3,"Add_missing_super_call_90001","Add missing 'super()' call"),Make_super_call_the_first_statement_in_the_constructor:r(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:r(90003,3,"Change_extends_to_implements_90003","Change 'extends' to 'implements'"),Remove_unused_declaration_for_Colon_0:r(90004,3,"Remove_unused_declaration_for_Colon_0_90004","Remove unused declaration for: '{0}'"),Remove_import_from_0:r(90005,3,"Remove_import_from_0_90005","Remove import from '{0}'"),Implement_interface_0:r(90006,3,"Implement_interface_0_90006","Implement interface '{0}'"),Implement_inherited_abstract_class:r(90007,3,"Implement_inherited_abstract_class_90007","Implement inherited abstract class"),Add_0_to_unresolved_variable:r(90008,3,"Add_0_to_unresolved_variable_90008","Add '{0}.' to unresolved variable"),Remove_variable_statement:r(90010,3,"Remove_variable_statement_90010","Remove variable statement"),Remove_template_tag:r(90011,3,"Remove_template_tag_90011","Remove template tag"),Remove_type_parameters:r(90012,3,"Remove_type_parameters_90012","Remove type parameters"),Import_0_from_1:r(90013,3,"Import_0_from_1_90013",`Import '{0}' from "{1}"`),Change_0_to_1:r(90014,3,"Change_0_to_1_90014","Change '{0}' to '{1}'"),Declare_property_0:r(90016,3,"Declare_property_0_90016","Declare property '{0}'"),Add_index_signature_for_property_0:r(90017,3,"Add_index_signature_for_property_0_90017","Add index signature for property '{0}'"),Disable_checking_for_this_file:r(90018,3,"Disable_checking_for_this_file_90018","Disable checking for this file"),Ignore_this_error_message:r(90019,3,"Ignore_this_error_message_90019","Ignore this error message"),Initialize_property_0_in_the_constructor:r(90020,3,"Initialize_property_0_in_the_constructor_90020","Initialize property '{0}' in the constructor"),Initialize_static_property_0:r(90021,3,"Initialize_static_property_0_90021","Initialize static property '{0}'"),Change_spelling_to_0:r(90022,3,"Change_spelling_to_0_90022","Change spelling to '{0}'"),Declare_method_0:r(90023,3,"Declare_method_0_90023","Declare method '{0}'"),Declare_static_method_0:r(90024,3,"Declare_static_method_0_90024","Declare static method '{0}'"),Prefix_0_with_an_underscore:r(90025,3,"Prefix_0_with_an_underscore_90025","Prefix '{0}' with an underscore"),Rewrite_as_the_indexed_access_type_0:r(90026,3,"Rewrite_as_the_indexed_access_type_0_90026","Rewrite as the indexed access type '{0}'"),Declare_static_property_0:r(90027,3,"Declare_static_property_0_90027","Declare static property '{0}'"),Call_decorator_expression:r(90028,3,"Call_decorator_expression_90028","Call decorator expression"),Add_async_modifier_to_containing_function:r(90029,3,"Add_async_modifier_to_containing_function_90029","Add async modifier to containing function"),Replace_infer_0_with_unknown:r(90030,3,"Replace_infer_0_with_unknown_90030","Replace 'infer {0}' with 'unknown'"),Replace_all_unused_infer_with_unknown:r(90031,3,"Replace_all_unused_infer_with_unknown_90031","Replace all unused 'infer' with 'unknown'"),Add_parameter_name:r(90034,3,"Add_parameter_name_90034","Add parameter name"),Declare_private_property_0:r(90035,3,"Declare_private_property_0_90035","Declare private property '{0}'"),Replace_0_with_Promise_1:r(90036,3,"Replace_0_with_Promise_1_90036","Replace '{0}' with 'Promise<{1}>'"),Fix_all_incorrect_return_type_of_an_async_functions:r(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:r(90038,3,"Declare_private_method_0_90038","Declare private method '{0}'"),Remove_unused_destructuring_declaration:r(90039,3,"Remove_unused_destructuring_declaration_90039","Remove unused destructuring declaration"),Remove_unused_declarations_for_Colon_0:r(90041,3,"Remove_unused_declarations_for_Colon_0_90041","Remove unused declarations for: '{0}'"),Declare_a_private_field_named_0:r(90053,3,"Declare_a_private_field_named_0_90053","Declare a private field named '{0}'."),Includes_imports_of_types_referenced_by_0:r(90054,3,"Includes_imports_of_types_referenced_by_0_90054","Includes imports of types referenced by '{0}'"),Remove_type_from_import_declaration_from_0:r(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:r(90056,3,"Remove_type_from_import_of_0_from_1_90056",`Remove 'type' from import of '{0}' from "{1}"`),Add_import_from_0:r(90057,3,"Add_import_from_0_90057",'Add import from "{0}"'),Update_import_from_0:r(90058,3,"Update_import_from_0_90058",'Update import from "{0}"'),Export_0_from_module_1:r(90059,3,"Export_0_from_module_1_90059","Export '{0}' from module '{1}'"),Export_all_referenced_locals:r(90060,3,"Export_all_referenced_locals_90060","Export all referenced locals"),Update_modifiers_of_0:r(90061,3,"Update_modifiers_of_0_90061","Update modifiers of '{0}'"),Add_annotation_of_type_0:r(90062,3,"Add_annotation_of_type_0_90062","Add annotation of type '{0}'"),Add_return_type_0:r(90063,3,"Add_return_type_0_90063","Add return type '{0}'"),Extract_base_class_to_variable:r(90064,3,"Extract_base_class_to_variable_90064","Extract base class to variable"),Extract_default_export_to_variable:r(90065,3,"Extract_default_export_to_variable_90065","Extract default export to variable"),Extract_binding_expressions_to_variable:r(90066,3,"Extract_binding_expressions_to_variable_90066","Extract binding expressions to variable"),Add_all_missing_type_annotations:r(90067,3,"Add_all_missing_type_annotations_90067","Add all missing type annotations"),Add_satisfies_and_an_inline_type_assertion_with_0:r(90068,3,"Add_satisfies_and_an_inline_type_assertion_with_0_90068","Add satisfies and an inline type assertion with '{0}'"),Extract_to_variable_and_replace_with_0_as_typeof_0:r(90069,3,"Extract_to_variable_and_replace_with_0_as_typeof_0_90069","Extract to variable and replace with '{0} as typeof {0}'"),Mark_array_literal_as_const:r(90070,3,"Mark_array_literal_as_const_90070","Mark array literal as const"),Annotate_types_of_properties_expando_function_in_a_namespace:r(90071,3,"Annotate_types_of_properties_expando_function_in_a_namespace_90071","Annotate types of properties expando function in a namespace"),Convert_function_to_an_ES2015_class:r(95001,3,"Convert_function_to_an_ES2015_class_95001","Convert function to an ES2015 class"),Convert_0_to_1_in_0:r(95003,3,"Convert_0_to_1_in_0_95003","Convert '{0}' to '{1} in {0}'"),Extract_to_0_in_1:r(95004,3,"Extract_to_0_in_1_95004","Extract to {0} in {1}"),Extract_function:r(95005,3,"Extract_function_95005","Extract function"),Extract_constant:r(95006,3,"Extract_constant_95006","Extract constant"),Extract_to_0_in_enclosing_scope:r(95007,3,"Extract_to_0_in_enclosing_scope_95007","Extract to {0} in enclosing scope"),Extract_to_0_in_1_scope:r(95008,3,"Extract_to_0_in_1_scope_95008","Extract to {0} in {1} scope"),Annotate_with_type_from_JSDoc:r(95009,3,"Annotate_with_type_from_JSDoc_95009","Annotate with type from JSDoc"),Infer_type_of_0_from_usage:r(95011,3,"Infer_type_of_0_from_usage_95011","Infer type of '{0}' from usage"),Infer_parameter_types_from_usage:r(95012,3,"Infer_parameter_types_from_usage_95012","Infer parameter types from usage"),Convert_to_default_import:r(95013,3,"Convert_to_default_import_95013","Convert to default import"),Install_0:r(95014,3,"Install_0_95014","Install '{0}'"),Replace_import_with_0:r(95015,3,"Replace_import_with_0_95015","Replace import with '{0}'."),Use_synthetic_default_member:r(95016,3,"Use_synthetic_default_member_95016","Use synthetic 'default' member."),Convert_to_ES_module:r(95017,3,"Convert_to_ES_module_95017","Convert to ES module"),Add_undefined_type_to_property_0:r(95018,3,"Add_undefined_type_to_property_0_95018","Add 'undefined' type to property '{0}'"),Add_initializer_to_property_0:r(95019,3,"Add_initializer_to_property_0_95019","Add initializer to property '{0}'"),Add_definite_assignment_assertion_to_property_0:r(95020,3,"Add_definite_assignment_assertion_to_property_0_95020","Add definite assignment assertion to property '{0}'"),Convert_all_type_literals_to_mapped_type:r(95021,3,"Convert_all_type_literals_to_mapped_type_95021","Convert all type literals to mapped type"),Add_all_missing_members:r(95022,3,"Add_all_missing_members_95022","Add all missing members"),Infer_all_types_from_usage:r(95023,3,"Infer_all_types_from_usage_95023","Infer all types from usage"),Delete_all_unused_declarations:r(95024,3,"Delete_all_unused_declarations_95024","Delete all unused declarations"),Prefix_all_unused_declarations_with_where_possible:r(95025,3,"Prefix_all_unused_declarations_with_where_possible_95025","Prefix all unused declarations with '_' where possible"),Fix_all_detected_spelling_errors:r(95026,3,"Fix_all_detected_spelling_errors_95026","Fix all detected spelling errors"),Add_initializers_to_all_uninitialized_properties:r(95027,3,"Add_initializers_to_all_uninitialized_properties_95027","Add initializers to all uninitialized properties"),Add_definite_assignment_assertions_to_all_uninitialized_properties:r(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:r(95029,3,"Add_undefined_type_to_all_uninitialized_properties_95029","Add undefined type to all uninitialized properties"),Change_all_jsdoc_style_types_to_TypeScript:r(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:r(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:r(95032,3,"Implement_all_unimplemented_interfaces_95032","Implement all unimplemented interfaces"),Install_all_missing_types_packages:r(95033,3,"Install_all_missing_types_packages_95033","Install all missing types packages"),Rewrite_all_as_indexed_access_types:r(95034,3,"Rewrite_all_as_indexed_access_types_95034","Rewrite all as indexed access types"),Convert_all_to_default_imports:r(95035,3,"Convert_all_to_default_imports_95035","Convert all to default imports"),Make_all_super_calls_the_first_statement_in_their_constructor:r(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:r(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:r(95038,3,"Change_all_extended_interfaces_to_implements_95038","Change all extended interfaces to 'implements'"),Add_all_missing_super_calls:r(95039,3,"Add_all_missing_super_calls_95039","Add all missing super calls"),Implement_all_inherited_abstract_classes:r(95040,3,"Implement_all_inherited_abstract_classes_95040","Implement all inherited abstract classes"),Add_all_missing_async_modifiers:r(95041,3,"Add_all_missing_async_modifiers_95041","Add all missing 'async' modifiers"),Add_ts_ignore_to_all_error_messages:r(95042,3,"Add_ts_ignore_to_all_error_messages_95042","Add '@ts-ignore' to all error messages"),Annotate_everything_with_types_from_JSDoc:r(95043,3,"Annotate_everything_with_types_from_JSDoc_95043","Annotate everything with types from JSDoc"),Add_to_all_uncalled_decorators:r(95044,3,"Add_to_all_uncalled_decorators_95044","Add '()' to all uncalled decorators"),Convert_all_constructor_functions_to_classes:r(95045,3,"Convert_all_constructor_functions_to_classes_95045","Convert all constructor functions to classes"),Generate_get_and_set_accessors:r(95046,3,"Generate_get_and_set_accessors_95046","Generate 'get' and 'set' accessors"),Convert_require_to_import:r(95047,3,"Convert_require_to_import_95047","Convert 'require' to 'import'"),Convert_all_require_to_import:r(95048,3,"Convert_all_require_to_import_95048","Convert all 'require' to 'import'"),Move_to_a_new_file:r(95049,3,"Move_to_a_new_file_95049","Move to a new file"),Remove_unreachable_code:r(95050,3,"Remove_unreachable_code_95050","Remove unreachable code"),Remove_all_unreachable_code:r(95051,3,"Remove_all_unreachable_code_95051","Remove all unreachable code"),Add_missing_typeof:r(95052,3,"Add_missing_typeof_95052","Add missing 'typeof'"),Remove_unused_label:r(95053,3,"Remove_unused_label_95053","Remove unused label"),Remove_all_unused_labels:r(95054,3,"Remove_all_unused_labels_95054","Remove all unused labels"),Convert_0_to_mapped_object_type:r(95055,3,"Convert_0_to_mapped_object_type_95055","Convert '{0}' to mapped object type"),Convert_namespace_import_to_named_imports:r(95056,3,"Convert_namespace_import_to_named_imports_95056","Convert namespace import to named imports"),Convert_named_imports_to_namespace_import:r(95057,3,"Convert_named_imports_to_namespace_import_95057","Convert named imports to namespace import"),Add_or_remove_braces_in_an_arrow_function:r(95058,3,"Add_or_remove_braces_in_an_arrow_function_95058","Add or remove braces in an arrow function"),Add_braces_to_arrow_function:r(95059,3,"Add_braces_to_arrow_function_95059","Add braces to arrow function"),Remove_braces_from_arrow_function:r(95060,3,"Remove_braces_from_arrow_function_95060","Remove braces from arrow function"),Convert_default_export_to_named_export:r(95061,3,"Convert_default_export_to_named_export_95061","Convert default export to named export"),Convert_named_export_to_default_export:r(95062,3,"Convert_named_export_to_default_export_95062","Convert named export to default export"),Add_missing_enum_member_0:r(95063,3,"Add_missing_enum_member_0_95063","Add missing enum member '{0}'"),Add_all_missing_imports:r(95064,3,"Add_all_missing_imports_95064","Add all missing imports"),Convert_to_async_function:r(95065,3,"Convert_to_async_function_95065","Convert to async function"),Convert_all_to_async_functions:r(95066,3,"Convert_all_to_async_functions_95066","Convert all to async functions"),Add_missing_call_parentheses:r(95067,3,"Add_missing_call_parentheses_95067","Add missing call parentheses"),Add_all_missing_call_parentheses:r(95068,3,"Add_all_missing_call_parentheses_95068","Add all missing call parentheses"),Add_unknown_conversion_for_non_overlapping_types:r(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:r(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:r(95071,3,"Add_missing_new_operator_to_call_95071","Add missing 'new' operator to call"),Add_missing_new_operator_to_all_calls:r(95072,3,"Add_missing_new_operator_to_all_calls_95072","Add missing 'new' operator to all calls"),Add_names_to_all_parameters_without_names:r(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:r(95074,3,"Enable_the_experimentalDecorators_option_in_your_configuration_file_95074","Enable the 'experimentalDecorators' option in your configuration file"),Convert_parameters_to_destructured_object:r(95075,3,"Convert_parameters_to_destructured_object_95075","Convert parameters to destructured object"),Extract_type:r(95077,3,"Extract_type_95077","Extract type"),Extract_to_type_alias:r(95078,3,"Extract_to_type_alias_95078","Extract to type alias"),Extract_to_typedef:r(95079,3,"Extract_to_typedef_95079","Extract to typedef"),Infer_this_type_of_0_from_usage:r(95080,3,"Infer_this_type_of_0_from_usage_95080","Infer 'this' type of '{0}' from usage"),Add_const_to_unresolved_variable:r(95081,3,"Add_const_to_unresolved_variable_95081","Add 'const' to unresolved variable"),Add_const_to_all_unresolved_variables:r(95082,3,"Add_const_to_all_unresolved_variables_95082","Add 'const' to all unresolved variables"),Add_await:r(95083,3,"Add_await_95083","Add 'await'"),Add_await_to_initializer_for_0:r(95084,3,"Add_await_to_initializer_for_0_95084","Add 'await' to initializer for '{0}'"),Fix_all_expressions_possibly_missing_await:r(95085,3,"Fix_all_expressions_possibly_missing_await_95085","Fix all expressions possibly missing 'await'"),Remove_unnecessary_await:r(95086,3,"Remove_unnecessary_await_95086","Remove unnecessary 'await'"),Remove_all_unnecessary_uses_of_await:r(95087,3,"Remove_all_unnecessary_uses_of_await_95087","Remove all unnecessary uses of 'await'"),Enable_the_jsx_flag_in_your_configuration_file:r(95088,3,"Enable_the_jsx_flag_in_your_configuration_file_95088","Enable the '--jsx' flag in your configuration file"),Add_await_to_initializers:r(95089,3,"Add_await_to_initializers_95089","Add 'await' to initializers"),Extract_to_interface:r(95090,3,"Extract_to_interface_95090","Extract to interface"),Convert_to_a_bigint_numeric_literal:r(95091,3,"Convert_to_a_bigint_numeric_literal_95091","Convert to a bigint numeric literal"),Convert_all_to_bigint_numeric_literals:r(95092,3,"Convert_all_to_bigint_numeric_literals_95092","Convert all to bigint numeric literals"),Convert_const_to_let:r(95093,3,"Convert_const_to_let_95093","Convert 'const' to 'let'"),Prefix_with_declare:r(95094,3,"Prefix_with_declare_95094","Prefix with 'declare'"),Prefix_all_incorrect_property_declarations_with_declare:r(95095,3,"Prefix_all_incorrect_property_declarations_with_declare_95095","Prefix all incorrect property declarations with 'declare'"),Convert_to_template_string:r(95096,3,"Convert_to_template_string_95096","Convert to template string"),Add_export_to_make_this_file_into_a_module:r(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:r(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:r(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:r(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:r(95101,3,"Convert_all_invalid_characters_to_HTML_entity_code_95101","Convert all invalid characters to HTML entity code"),Convert_all_const_to_let:r(95102,3,"Convert_all_const_to_let_95102","Convert all 'const' to 'let'"),Convert_function_expression_0_to_arrow_function:r(95105,3,"Convert_function_expression_0_to_arrow_function_95105","Convert function expression '{0}' to arrow function"),Convert_function_declaration_0_to_arrow_function:r(95106,3,"Convert_function_declaration_0_to_arrow_function_95106","Convert function declaration '{0}' to arrow function"),Fix_all_implicit_this_errors:r(95107,3,"Fix_all_implicit_this_errors_95107","Fix all implicit-'this' errors"),Wrap_invalid_character_in_an_expression_container:r(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:r(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:r(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:r(95111,3,"Add_a_return_statement_95111","Add a return statement"),Remove_braces_from_arrow_function_body:r(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:r(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:r(95114,3,"Add_all_missing_return_statement_95114","Add all missing return statement"),Remove_braces_from_all_arrow_function_bodies_with_relevant_issues:r(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:r(95116,3,"Wrap_all_object_literal_with_parentheses_95116","Wrap all object literal with parentheses"),Move_labeled_tuple_element_modifiers_to_labels:r(95117,3,"Move_labeled_tuple_element_modifiers_to_labels_95117","Move labeled tuple element modifiers to labels"),Convert_overload_list_to_single_signature:r(95118,3,"Convert_overload_list_to_single_signature_95118","Convert overload list to single signature"),Generate_get_and_set_accessors_for_all_overriding_properties:r(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:r(95120,3,"Wrap_in_JSX_fragment_95120","Wrap in JSX fragment"),Wrap_all_unparented_JSX_in_JSX_fragment:r(95121,3,"Wrap_all_unparented_JSX_in_JSX_fragment_95121","Wrap all unparented JSX in JSX fragment"),Convert_arrow_function_or_function_expression:r(95122,3,"Convert_arrow_function_or_function_expression_95122","Convert arrow function or function expression"),Convert_to_anonymous_function:r(95123,3,"Convert_to_anonymous_function_95123","Convert to anonymous function"),Convert_to_named_function:r(95124,3,"Convert_to_named_function_95124","Convert to named function"),Convert_to_arrow_function:r(95125,3,"Convert_to_arrow_function_95125","Convert to arrow function"),Remove_parentheses:r(95126,3,"Remove_parentheses_95126","Remove parentheses"),Could_not_find_a_containing_arrow_function:r(95127,3,"Could_not_find_a_containing_arrow_function_95127","Could not find a containing arrow function"),Containing_function_is_not_an_arrow_function:r(95128,3,"Containing_function_is_not_an_arrow_function_95128","Containing function is not an arrow function"),Could_not_find_export_statement:r(95129,3,"Could_not_find_export_statement_95129","Could not find export statement"),This_file_already_has_a_default_export:r(95130,3,"This_file_already_has_a_default_export_95130","This file already has a default export"),Could_not_find_import_clause:r(95131,3,"Could_not_find_import_clause_95131","Could not find import clause"),Could_not_find_namespace_import_or_named_imports:r(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:r(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:r(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:r(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:r(95136,3,"Name_is_not_valid_95136","Name is not valid"),Can_only_convert_property_with_modifier:r(95137,3,"Can_only_convert_property_with_modifier_95137","Can only convert property with modifier"),Switch_each_misused_0_to_1:r(95138,3,"Switch_each_misused_0_to_1_95138","Switch each misused '{0}' to '{1}'"),Convert_to_optional_chain_expression:r(95139,3,"Convert_to_optional_chain_expression_95139","Convert to optional chain expression"),Could_not_find_convertible_access_expression:r(95140,3,"Could_not_find_convertible_access_expression_95140","Could not find convertible access expression"),Could_not_find_matching_access_expressions:r(95141,3,"Could_not_find_matching_access_expressions_95141","Could not find matching access expressions"),Can_only_convert_logical_AND_access_chains:r(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:r(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:r(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:r(95145,3,"Use_element_access_for_0_95145","Use element access for '{0}'"),Use_element_access_for_all_undeclared_properties:r(95146,3,"Use_element_access_for_all_undeclared_properties_95146","Use element access for all undeclared properties."),Delete_all_unused_imports:r(95147,3,"Delete_all_unused_imports_95147","Delete all unused imports"),Infer_function_return_type:r(95148,3,"Infer_function_return_type_95148","Infer function return type"),Return_type_must_be_inferred_from_a_function:r(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:r(95150,3,"Could_not_determine_function_return_type_95150","Could not determine function return type"),Could_not_convert_to_arrow_function:r(95151,3,"Could_not_convert_to_arrow_function_95151","Could not convert to arrow function"),Could_not_convert_to_named_function:r(95152,3,"Could_not_convert_to_named_function_95152","Could not convert to named function"),Could_not_convert_to_anonymous_function:r(95153,3,"Could_not_convert_to_anonymous_function_95153","Could not convert to anonymous function"),Can_only_convert_string_concatenations_and_string_literals:r(95154,3,"Can_only_convert_string_concatenations_and_string_literals_95154","Can only convert string concatenations and string literals"),Selection_is_not_a_valid_statement_or_statements:r(95155,3,"Selection_is_not_a_valid_statement_or_statements_95155","Selection is not a valid statement or statements"),Add_missing_function_declaration_0:r(95156,3,"Add_missing_function_declaration_0_95156","Add missing function declaration '{0}'"),Add_all_missing_function_declarations:r(95157,3,"Add_all_missing_function_declarations_95157","Add all missing function declarations"),Method_not_implemented:r(95158,3,"Method_not_implemented_95158","Method not implemented."),Function_not_implemented:r(95159,3,"Function_not_implemented_95159","Function not implemented."),Add_override_modifier:r(95160,3,"Add_override_modifier_95160","Add 'override' modifier"),Remove_override_modifier:r(95161,3,"Remove_override_modifier_95161","Remove 'override' modifier"),Add_all_missing_override_modifiers:r(95162,3,"Add_all_missing_override_modifiers_95162","Add all missing 'override' modifiers"),Remove_all_unnecessary_override_modifiers:r(95163,3,"Remove_all_unnecessary_override_modifiers_95163","Remove all unnecessary 'override' modifiers"),Can_only_convert_named_export:r(95164,3,"Can_only_convert_named_export_95164","Can only convert named export"),Add_missing_properties:r(95165,3,"Add_missing_properties_95165","Add missing properties"),Add_all_missing_properties:r(95166,3,"Add_all_missing_properties_95166","Add all missing properties"),Add_missing_attributes:r(95167,3,"Add_missing_attributes_95167","Add missing attributes"),Add_all_missing_attributes:r(95168,3,"Add_all_missing_attributes_95168","Add all missing attributes"),Add_undefined_to_optional_property_type:r(95169,3,"Add_undefined_to_optional_property_type_95169","Add 'undefined' to optional property type"),Convert_named_imports_to_default_import:r(95170,3,"Convert_named_imports_to_default_import_95170","Convert named imports to default import"),Delete_unused_param_tag_0:r(95171,3,"Delete_unused_param_tag_0_95171","Delete unused '@param' tag '{0}'"),Delete_all_unused_param_tags:r(95172,3,"Delete_all_unused_param_tags_95172","Delete all unused '@param' tags"),Rename_param_tag_name_0_to_1:r(95173,3,"Rename_param_tag_name_0_to_1_95173","Rename '@param' tag name '{0}' to '{1}'"),Use_0:r(95174,3,"Use_0_95174","Use `{0}`."),Use_Number_isNaN_in_all_conditions:r(95175,3,"Use_Number_isNaN_in_all_conditions_95175","Use `Number.isNaN` in all conditions."),Convert_typedef_to_TypeScript_type:r(95176,3,"Convert_typedef_to_TypeScript_type_95176","Convert typedef to TypeScript type."),Convert_all_typedef_to_TypeScript_types:r(95177,3,"Convert_all_typedef_to_TypeScript_types_95177","Convert all typedef to TypeScript types."),Move_to_file:r(95178,3,"Move_to_file_95178","Move to file"),Cannot_move_to_file_selected_file_is_invalid:r(95179,3,"Cannot_move_to_file_selected_file_is_invalid_95179","Cannot move to file, selected file is invalid"),Use_import_type:r(95180,3,"Use_import_type_95180","Use 'import type'"),Use_type_0:r(95181,3,"Use_type_0_95181","Use 'type {0}'"),Fix_all_with_type_only_imports:r(95182,3,"Fix_all_with_type_only_imports_95182","Fix all with type-only imports"),Cannot_move_statements_to_the_selected_file:r(95183,3,"Cannot_move_statements_to_the_selected_file_95183","Cannot move statements to the selected file"),Inline_variable:r(95184,3,"Inline_variable_95184","Inline variable"),Could_not_find_variable_to_inline:r(95185,3,"Could_not_find_variable_to_inline_95185","Could not find variable to inline."),Variables_with_multiple_declarations_cannot_be_inlined:r(95186,3,"Variables_with_multiple_declarations_cannot_be_inlined_95186","Variables with multiple declarations cannot be inlined."),Add_missing_comma_for_object_member_completion_0:r(95187,3,"Add_missing_comma_for_object_member_completion_0_95187","Add missing comma for object member completion '{0}'."),Add_missing_parameter_to_0:r(95188,3,"Add_missing_parameter_to_0_95188","Add missing parameter to '{0}'"),Add_missing_parameters_to_0:r(95189,3,"Add_missing_parameters_to_0_95189","Add missing parameters to '{0}'"),Add_all_missing_parameters:r(95190,3,"Add_all_missing_parameters_95190","Add all missing parameters"),Add_optional_parameter_to_0:r(95191,3,"Add_optional_parameter_to_0_95191","Add optional parameter to '{0}'"),Add_optional_parameters_to_0:r(95192,3,"Add_optional_parameters_to_0_95192","Add optional parameters to '{0}'"),Add_all_optional_parameters:r(95193,3,"Add_all_optional_parameters_95193","Add all optional parameters"),Wrap_in_parentheses:r(95194,3,"Wrap_in_parentheses_95194","Wrap in parentheses"),Wrap_all_invalid_decorator_expressions_in_parentheses:r(95195,3,"Wrap_all_invalid_decorator_expressions_in_parentheses_95195","Wrap all invalid decorator expressions in parentheses"),No_value_exists_in_scope_for_the_shorthand_property_0_Either_declare_one_or_provide_an_initializer:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(18046,1,"_0_is_of_type_unknown_18046","'{0}' is of type 'unknown'."),_0_is_possibly_null:r(18047,1,"_0_is_possibly_null_18047","'{0}' is possibly 'null'."),_0_is_possibly_undefined:r(18048,1,"_0_is_possibly_undefined_18048","'{0}' is possibly 'undefined'."),_0_is_possibly_null_or_undefined:r(18049,1,"_0_is_possibly_null_or_undefined_18049","'{0}' is possibly 'null' or 'undefined'."),The_value_0_cannot_be_used_here:r(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:r(18051,1,"Compiler_option_0_cannot_be_given_an_empty_string_18051","Compiler option '{0}' cannot be given an empty string."),Its_type_0_is_not_a_valid_JSX_element_type:r(18053,1,"Its_type_0_is_not_a_valid_JSX_element_type_18053","Its type '{0}' is not a valid JSX element type."),await_using_statements_cannot_be_used_inside_a_class_static_block:r(18054,1,"await_using_statements_cannot_be_used_inside_a_class_static_block_18054","'await using' statements cannot be used inside a class static block."),_0_has_a_string_type_but_must_have_syntactically_recognizable_string_syntax_when_isolatedModules_is_enabled:r(18055,1,"_0_has_a_string_type_but_must_have_syntactically_recognizable_string_syntax_when_isolatedModules_is__18055","'{0}' has a string type, but must have syntactically recognizable string syntax when 'isolatedModules' is enabled."),Enum_member_following_a_non_literal_numeric_member_must_have_an_initializer_when_isolatedModules_is_enabled:r(18056,1,"Enum_member_following_a_non_literal_numeric_member_must_have_an_initializer_when_isolatedModules_is__18056","Enum member following a non-literal numeric member must have an initializer when 'isolatedModules' is enabled.")};function bt(e){return e>=80}function lg(e){return e===32||bt(e)}var bf={abstract:128,accessor:129,any:133,as:130,asserts:131,assert:132,bigint:163,boolean:136,break:83,case:84,catch:85,class:86,continue:88,const:87,constructor:137,debugger:89,declare:138,default:90,delete:91,do:92,else:93,enum:94,export:95,extends:96,false:97,finally:98,for:99,from:161,function:100,get:139,if:101,implements:119,import:102,in:103,infer:140,instanceof:104,interface:120,intrinsic:141,is:142,keyof:143,let:121,module:144,namespace:145,never:146,new:105,null:106,number:150,object:151,package:122,private:123,protected:124,public:125,override:164,out:147,readonly:148,require:149,global:162,return:107,satisfies:152,set:153,static:126,string:154,super:108,switch:109,symbol:155,this:110,throw:111,true:112,try:113,type:156,typeof:114,undefined:157,unique:158,unknown:159,using:160,var:115,void:116,while:117,with:118,yield:127,async:134,await:135,of:165},ug=new Map(Object.entries(bf)),n1=new Map(Object.entries({...bf,"{":19,"}":20,"(":21,")":22,"[":23,"]":24,".":25,"...":26,";":27,",":28,"<":30,">":32,"<=":33,">=":34,"==":35,"!=":36,"===":37,"!==":38,"=>":39,"+":40,"-":41,"**":43,"*":42,"/":44,"%":45,"++":46,"--":47,"<<":48,">":49,">>>":50,"&":51,"|":52,"^":53,"!":54,"~":55,"&&":56,"||":57,"?":58,"??":61,"?.":29,":":59,"=":64,"+=":65,"-=":66,"*=":67,"**=":68,"/=":69,"%=":70,"<<=":71,">>=":72,">>>=":73,"&=":74,"|=":75,"^=":79,"||=":76,"&&=":77,"??=":78,"@":60,"#":63,"`":62})),r1=new Map(Object.entries({d:1,g:2,i:4,m:8,s:16,u:32,v:64,y:128})),pg=new Map([[1,9],[16,5],[32,2],[64,99],[128,2]]),fg=[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],dg=[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],mg=[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,2160,2183,2185,2190,2208,2249,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,3165,3165,3168,3169,3200,3200,3205,3212,3214,3216,3218,3240,3242,3251,3253,3257,3261,3261,3293,3294,3296,3297,3313,3314,3332,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,5905,5919,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,6988,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,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,12735,12784,12799,13312,19903,19968,42124,42192,42237,42240,42508,42512,42527,42538,42539,42560,42606,42623,42653,42656,42735,42775,42783,42786,42888,42891,42954,42960,42961,42963,42963,42965,42969,42994,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,43881,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,66928,66938,66940,66954,66956,66962,66964,66965,66967,66977,66979,66993,66995,67001,67003,67004,67072,67382,67392,67413,67424,67431,67456,67461,67463,67504,67506,67514,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,69248,69289,69296,69297,69376,69404,69415,69415,69424,69445,69488,69505,69552,69572,69600,69622,69635,69687,69745,69746,69749,69749,69763,69807,69840,69864,69891,69926,69956,69956,69959,69959,69968,70002,70006,70006,70019,70066,70081,70084,70106,70106,70108,70108,70144,70161,70163,70187,70207,70208,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,70753,70784,70831,70852,70853,70855,70855,71040,71086,71128,71131,71168,71215,71236,71236,71296,71338,71352,71352,71424,71450,71488,71494,71680,71723,71840,71903,71935,71942,71945,71945,71948,71955,71957,71958,71960,71983,71999,71999,72001,72001,72096,72103,72106,72144,72161,72161,72163,72163,72192,72192,72203,72242,72250,72250,72272,72272,72284,72329,72349,72349,72368,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,73474,73474,73476,73488,73490,73523,73648,73648,73728,74649,74752,74862,74880,75075,77712,77808,77824,78895,78913,78918,82944,83526,92160,92728,92736,92766,92784,92862,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,101589,101632,101640,110576,110579,110581,110587,110589,110590,110592,110882,110898,110898,110928,110930,110933,110933,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,122624,122654,122661,122666,122928,122989,123136,123180,123191,123197,123214,123214,123536,123565,123584,123627,124112,124139,124896,124902,124904,124907,124909,124910,124912,124926,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,173791,173824,177977,177984,178205,178208,183969,183984,191456,191472,192093,194560,195101,196608,201546,201552,205743],hg=[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,2160,2183,2185,2190,2200,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,2901,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,3132,3140,3142,3144,3146,3149,3157,3158,3160,3162,3165,3165,3168,3171,3174,3183,3200,3203,3205,3212,3214,3216,3218,3240,3242,3251,3253,3257,3260,3268,3270,3272,3274,3277,3285,3286,3293,3294,3296,3299,3302,3311,3313,3315,3328,3340,3342,3344,3346,3396,3398,3400,3402,3406,3412,3415,3423,3427,3430,3439,3450,3455,3457,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,3790,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,5909,5919,5940,5952,5971,5984,5996,5998,6e3,6002,6003,6016,6099,6103,6103,6108,6109,6112,6121,6155,6157,6159,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,6847,6862,6912,6988,6992,7001,7019,7027,7040,7155,7168,7223,7232,7241,7245,7293,7296,7304,7312,7354,7357,7359,7376,7378,7380,7418,7424,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,8472,8477,8484,8484,8486,8486,8488,8488,8490,8505,8508,8511,8517,8521,8526,8526,8544,8584,11264,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,12543,12549,12591,12593,12686,12704,12735,12784,12799,13312,19903,19968,42124,42192,42237,42240,42508,42512,42539,42560,42607,42612,42621,42623,42737,42775,42783,42786,42888,42891,42954,42960,42961,42963,42963,42965,42969,42994,43047,43052,43052,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,43881,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,65381,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,66928,66938,66940,66954,66956,66962,66964,66965,66967,66977,66979,66993,66995,67001,67003,67004,67072,67382,67392,67413,67424,67431,67456,67461,67463,67504,67506,67514,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,69248,69289,69291,69292,69296,69297,69373,69404,69415,69415,69424,69456,69488,69509,69552,69572,69600,69622,69632,69702,69734,69749,69759,69818,69826,69826,69840,69864,69872,69881,69888,69940,69942,69951,69956,69959,69968,70003,70006,70006,70016,70084,70089,70092,70094,70106,70108,70108,70144,70161,70163,70199,70206,70209,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,70753,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,71488,71494,71680,71738,71840,71913,71935,71942,71945,71945,71948,71955,71957,71958,71960,71989,71991,71992,71995,72003,72016,72025,72096,72103,72106,72151,72154,72161,72163,72164,72192,72254,72263,72263,72272,72345,72349,72349,72368,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,73472,73488,73490,73530,73534,73538,73552,73561,73648,73648,73728,74649,74752,74862,74880,75075,77712,77808,77824,78895,78912,78933,82944,83526,92160,92728,92736,92766,92768,92777,92784,92862,92864,92873,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,94180,94192,94193,94208,100343,100352,101589,101632,101640,110576,110579,110581,110587,110589,110590,110592,110882,110898,110898,110928,110930,110933,110933,110948,110951,110960,111355,113664,113770,113776,113788,113792,113800,113808,113817,113821,113822,118528,118573,118576,118598,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,122624,122654,122661,122666,122880,122886,122888,122904,122907,122913,122915,122916,122918,122922,122928,122989,123023,123023,123136,123180,123184,123197,123200,123209,123214,123214,123536,123566,123584,123641,124112,124153,124896,124902,124904,124907,124909,124910,124912,124926,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,130032,130041,131072,173791,173824,177977,177984,178205,178208,183969,183984,191456,191472,192093,194560,195101,196608,201546,201552,205743,917760,917999],yg=/^\/\/\/?\s*@(ts-expect-error|ts-ignore)/,gg=/^(?:\/|\*)*\s*@(ts-expect-error|ts-ignore)/,bg=/@(?:see|link)/i;function ul(e,t){if(e=2?ul(e,mg):ul(e,fg)}function xg(e,t){return t>=2?ul(e,hg):ul(e,dg)}function i1(e){let t=[];return e.forEach((a,o)=>{t[a]=o}),t}var Tg=i1(n1);function _t(e){return Tg[e]}function a1(e){return n1.get(e)}var N3=i1(r1);function Yd(e){return r1.get(e)}function _1(e){let t=[],a=0,o=0;for(;a127&&Dn(h)&&(t.push(o),o=a);break}}return t.push(o),t}function Sg(e,t,a,o,h){(t<0||t>=e.length)&&(h?t=t<0?0:t>=e.length?e.length-1:t:B.fail(`Bad line number. Line: ${t}, lineStarts.length: ${e.length} , line map is correct? ${o!==void 0?Sy(e,_1(o)):"unknown"}`));let g=e[t]+a;return h?g>e[t+1]?e[t+1]:typeof o=="string"&&g>o.length?o.length:g:(t=8192&&e<=8203||e===8239||e===8287||e===12288||e===65279}function Dn(e){return e===10||e===13||e===8232||e===8233}function xi(e){return e>=48&&e<=57}function jp(e){return xi(e)||e>=65&&e<=70||e>=97&&e<=102}function vf(e){return e>=65&&e<=90||e>=97&&e<=122}function o1(e){return vf(e)||xi(e)||e===95}function Lp(e){return e>=48&&e<=55}function Qr(e,t,a,o,h){if(Es(t))return t;let g=!1;for(;;){let E=e.charCodeAt(t);switch(E){case 13:e.charCodeAt(t+1)===10&&t++;case 10:if(t++,a)return t;g=!!h;continue;case 9:case 11:case 12:case 32:t++;continue;case 47:if(o)break;if(e.charCodeAt(t+1)===47){for(t+=2;t127&&Fa(E)){t++;continue}break}return t}}var il=7;function $i(e,t){if(B.assert(t>=0),t===0||Dn(e.charCodeAt(t-1))){let a=e.charCodeAt(t);if(t+il=0&&a127&&Fa(J)){k&&Dn(J)&&(f=!0),a++;continue}break e}}return k&&(w=h(C,l,Z,f,g,w)),w}function u1(e,t,a,o){return vl(!1,e,t,!1,a,o)}function p1(e,t,a,o){return vl(!1,e,t,!0,a,o)}function Eg(e,t,a,o,h){return vl(!0,e,t,!1,a,o,h)}function Ag(e,t,a,o,h){return vl(!0,e,t,!0,a,o,h)}function f1(e,t,a,o,h,g=[]){return g.push({kind:a,pos:e,end:t,hasTrailingNewLine:o}),g}function Kp(e,t){return Eg(e,t,f1,void 0,void 0)}function Cg(e,t){return Ag(e,t,f1,void 0,void 0)}function Tf(e){let t=xf.exec(e);if(t)return t[0]}function nr(e,t){return vf(e)||e===36||e===95||e>127&&vg(e,t)}function Or(e,t,a){return o1(e)||e===36||(a===1?e===45||e===58:!1)||e>127&&xg(e,t)}function Dg(e,t,a){let o=Qi(e,0);if(!nr(o,t))return!1;for(let h=sn(o);hf,getStartPos:()=>f,getTokenEnd:()=>l,getTextPos:()=>l,getToken:()=>v,getTokenStart:()=>k,getTokenPos:()=>k,getTokenText:()=>C.substring(k,l),getTokenValue:()=>w,hasUnicodeEscape:()=>(J&1024)!==0,hasExtendedUnicodeEscape:()=>(J&8)!==0,hasPrecedingLineBreak:()=>(J&1)!==0,hasPrecedingJSDocComment:()=>(J&2)!==0,isIdentifier:()=>v===80||v>118,isReservedWord:()=>v>=83&&v<=118,isUnterminated:()=>(J&4)!==0,getCommentDirectives:()=>re,getNumericLiteralFlags:()=>J&25584,getTokenFlags:()=>J,reScanGreaterToken:pt,reScanAsteriskEqualsToken:sr,reScanSlashToken:yt,reScanTemplateToken:Wt,reScanTemplateHeadOrNoSubstitutionTemplate:on,scanJsxIdentifier:Ur,scanJsxAttributeValue:Hn,reScanJsxAttributeValue:Ne,reScanJsxToken:or,reScanLessThanToken:vr,reScanHashToken:xr,reScanQuestionToken:Gn,reScanInvalidIdentifier:Vt,scanJsxToken:Yn,scanJsDocToken:j,scanJSDocCommentTextToken:Tr,scan:ut,getText:Ke,clearCommentDirectives:ot,setText:Pt,setScriptTarget:ft,setLanguageVariant:Br,setScriptKind:Sr,setJSDocParsingMode:Jn,setOnError:Tt,resetTokenState:Xn,setTextPos:Xn,setSkipJsDocLeadingAsterisks:Pi,tryScan:Xe,lookAhead:xe,scanRange:fe};return B.isDebugging&&Object.defineProperty(O,"__debugShowCurrentPositionInText",{get:()=>{let z=O.getText();return z.slice(0,O.getTokenFullStart())+"\u2551"+z.slice(O.getTokenFullStart())}}),O;function ae(z){return Qi(C,z)}function ve(z){return z>=0&&z=0&&z=65&&ye<=70)ye+=32;else if(!(ye>=48&&ye<=57||ye>=97&&ye<=102))break;Te.push(ye),l++,Ce=!1}return Te.length=Z){Q+=C.substring(Te,l),J|=4,G(A.Unterminated_string_literal);break}let Se=X(l);if(Se===V){Q+=C.substring(Te,l),l++;break}if(Se===92&&!z){Q+=C.substring(Te,l),Q+=Mt(3),Te=l;continue}if((Se===10||Se===13)&&!z){Q+=C.substring(Te,l),J|=4,G(A.Unterminated_string_literal);break}l++}return Q}function Rr(z){let V=X(l)===96;l++;let Q=l,Te="",Se;for(;;){if(l>=Z){Te+=C.substring(Q,l),J|=4,G(A.Unterminated_template_literal),Se=V?15:18;break}let Ce=X(l);if(Ce===96){Te+=C.substring(Q,l),l++,Se=V?15:18;break}if(Ce===36&&l+1=Z)return G(A.Unexpected_end_of_text),"";let Q=X(l);switch(l++,Q){case 48:if(l>=Z||!xi(X(l)))return"\0";case 49:case 50:case 51:l=55296&&Te<=56319&&l+6=56320&&Ye<=57343)return l=ye,Se+String.fromCharCode(Ye)}return Se;case 120:for(;l1114111&&(z&&G(A.An_extended_Unicode_escape_value_must_be_between_0x0_and_0x10FFFF_inclusive,Q,l-Q),Ce=!0),l>=Z?(z&&G(A.Unexpected_end_of_text),Ce=!0):X(l)===125?l++:(z&&G(A.Unterminated_Unicode_escape_sequence),Ce=!0),Ce?(J|=2048,C.substring(V,l)):(J|=8,Hd(Se))}function Mn(){if(l+5=0&&Or(Q,e)){z+=Vn(!0),V=l;continue}if(Q=Mn(),!(Q>=0&&Or(Q,e)))break;J|=1024,z+=C.substring(V,l),z+=Hd(Q),l+=6,V=l}else break}return z+=C.substring(V,l),z}function Qe(){let z=w.length;if(z>=2&&z<=12){let V=w.charCodeAt(0);if(V>=97&&V<=122){let Q=ug.get(w);if(Q!==void 0)return v=Q}}return v=80}function Wn(z){let V="",Q=!1,Te=!1;for(;;){let Se=X(l);if(Se===95){J|=512,Q?(Q=!1,Te=!0):G(Te?A.Multiple_consecutive_numeric_separators_are_not_permitted:A.Numeric_separators_are_not_allowed_here,l,1),l++;continue}if(Q=!0,!xi(Se)||Se-48>=z)break;V+=C[l],l++,Te=!1}return X(l-1)===95&&G(A.Numeric_separators_are_not_allowed_here,l-1,1),V}function nn(){return X(l)===110?(w+="n",J&384&&(w=qb(w)+"n"),l++,10):(w=""+(J&128?parseInt(w.slice(2),2):J&256?parseInt(w.slice(2),8):+w),9)}function ut(){f=l,J=0;let z=!1;for(;;){if(k=l,l>=Z)return v=1;let V=ae(l);if(l===0&&V===35&&c1(C,l)){if(l=l1(C,l),t)continue;return v=6}switch(V){case 10:case 13:if(J|=1,t){l++;continue}else return V===13&&l+1=0&&nr(Q,e))return w=Vn(!0)+xt(),v=Qe();let Te=Mn();return Te>=0&&nr(Te,e)?(l+=6,J|=1024,w=String.fromCharCode(Te)+xt(),v=Qe()):(G(A.Invalid_character),l++,v=0);case 35:if(l!==0&&C[l+1]==="!")return G(A.can_only_be_used_at_the_start_of_a_file,l,2),l++,v=0;let Se=ae(l+1);if(Se===92){l++;let Ye=Jt();if(Ye>=0&&nr(Ye,e))return w="#"+Vn(!0)+xt(),v=81;let $e=Mn();if($e>=0&&nr($e,e))return l+=6,J|=1024,w="#"+String.fromCharCode($e)+xt(),v=81;l--}return nr(Se,e)?(l++,jt(Se,e)):(w="#",G(A.Invalid_character,l++,sn(V))),v=81;case 65533:return G(A.File_appears_to_be_binary,0,0),l=Z,v=8;default:let Ce=jt(V,e);if(Ce)return v=Ce;if(hs(V)){l+=sn(V);continue}else if(Dn(V)){J|=1,l+=sn(V);continue}let ye=sn(V);return G(A.Invalid_character,l,ye),l+=ye,v=0}}}function st(){switch(me){case 0:return!0;case 1:return!1}return he!==3&&he!==4?!0:me===3?!1:bg.test(C.slice(f,l))}function Vt(){B.assert(v===0,"'reScanInvalidIdentifier' should only be called when the current token is 'SyntaxKind.Unknown'."),l=k=f,J=0;let z=ae(l),V=jt(z,99);return V?v=V:(l+=sn(z),v)}function jt(z,V){let Q=z;if(nr(Q,V)){for(l+=sn(Q);l=Z)return v=1;let V=X(l);if(V===60)return X(l+1)===47?(l+=2,v=31):(l++,v=30);if(V===123)return l++,v=19;let Q=0;for(;l0)break;Fa(V)||(Q=l)}l++}return w=C.substring(f,l),Q===-1?13:12}function Ur(){if(bt(v)){for(;l=Z)return v=1;for(let V=X(l);l=0&&hs(X(l-1))&&!(l+1=Z)return v=1;let z=ae(l);switch(l+=sn(z),z){case 9:case 11:case 12:case 32:for(;l=0&&nr(V,e))return w=Vn(!0)+xt(),v=Qe();let Q=Mn();return Q>=0&&nr(Q,e)?(l+=6,J|=1024,w=String.fromCharCode(Q)+xt(),v=Qe()):(l++,v=0)}if(nr(z,e)){let V=z;for(;l=0),l=z,f=z,k=z,v=0,w=void 0,J=0}function Pi(z){be+=z?1:-1}}function Qi(e,t){return e.codePointAt(t)}function sn(e){return e>=65536?2:e===-1?0:1}function Pg(e){if(B.assert(0<=e&&e<=1114111),e<=65535)return String.fromCharCode(e);let t=Math.floor((e-65536)/1024)+55296,a=(e-65536)%1024+56320;return String.fromCharCode(t,a)}var Ng=String.fromCodePoint?e=>String.fromCodePoint(e):Pg;function Hd(e){return Ng(e)}var Xd=new Map(Object.entries({General_Category:"General_Category",gc:"General_Category",Script:"Script",sc:"Script",Script_Extensions:"Script_Extensions",scx:"Script_Extensions"})),$d=new Set(["ASCII","ASCII_Hex_Digit","AHex","Alphabetic","Alpha","Any","Assigned","Bidi_Control","Bidi_C","Bidi_Mirrored","Bidi_M","Case_Ignorable","CI","Cased","Changes_When_Casefolded","CWCF","Changes_When_Casemapped","CWCM","Changes_When_Lowercased","CWL","Changes_When_NFKC_Casefolded","CWKCF","Changes_When_Titlecased","CWT","Changes_When_Uppercased","CWU","Dash","Default_Ignorable_Code_Point","DI","Deprecated","Dep","Diacritic","Dia","Emoji","Emoji_Component","EComp","Emoji_Modifier","EMod","Emoji_Modifier_Base","EBase","Emoji_Presentation","EPres","Extended_Pictographic","ExtPict","Extender","Ext","Grapheme_Base","Gr_Base","Grapheme_Extend","Gr_Ext","Hex_Digit","Hex","IDS_Binary_Operator","IDSB","IDS_Trinary_Operator","IDST","ID_Continue","IDC","ID_Start","IDS","Ideographic","Ideo","Join_Control","Join_C","Logical_Order_Exception","LOE","Lowercase","Lower","Math","Noncharacter_Code_Point","NChar","Pattern_Syntax","Pat_Syn","Pattern_White_Space","Pat_WS","Quotation_Mark","QMark","Radical","Regional_Indicator","RI","Sentence_Terminal","STerm","Soft_Dotted","SD","Terminal_Punctuation","Term","Unified_Ideograph","UIdeo","Uppercase","Upper","Variation_Selector","VS","White_Space","space","XID_Continue","XIDC","XID_Start","XIDS"]),Qd=new Set(["Basic_Emoji","Emoji_Keycap_Sequence","RGI_Emoji_Modifier_Sequence","RGI_Emoji_Flag_Sequence","RGI_Emoji_Tag_Sequence","RGI_Emoji_ZWJ_Sequence","RGI_Emoji"]),qa={General_Category:new Set(["C","Other","Cc","Control","cntrl","Cf","Format","Cn","Unassigned","Co","Private_Use","Cs","Surrogate","L","Letter","LC","Cased_Letter","Ll","Lowercase_Letter","Lm","Modifier_Letter","Lo","Other_Letter","Lt","Titlecase_Letter","Lu","Uppercase_Letter","M","Mark","Combining_Mark","Mc","Spacing_Mark","Me","Enclosing_Mark","Mn","Nonspacing_Mark","N","Number","Nd","Decimal_Number","digit","Nl","Letter_Number","No","Other_Number","P","Punctuation","punct","Pc","Connector_Punctuation","Pd","Dash_Punctuation","Pe","Close_Punctuation","Pf","Final_Punctuation","Pi","Initial_Punctuation","Po","Other_Punctuation","Ps","Open_Punctuation","S","Symbol","Sc","Currency_Symbol","Sk","Modifier_Symbol","Sm","Math_Symbol","So","Other_Symbol","Z","Separator","Zl","Line_Separator","Zp","Paragraph_Separator","Zs","Space_Separator"]),Script:new Set(["Adlm","Adlam","Aghb","Caucasian_Albanian","Ahom","Arab","Arabic","Armi","Imperial_Aramaic","Armn","Armenian","Avst","Avestan","Bali","Balinese","Bamu","Bamum","Bass","Bassa_Vah","Batk","Batak","Beng","Bengali","Bhks","Bhaiksuki","Bopo","Bopomofo","Brah","Brahmi","Brai","Braille","Bugi","Buginese","Buhd","Buhid","Cakm","Chakma","Cans","Canadian_Aboriginal","Cari","Carian","Cham","Cher","Cherokee","Chrs","Chorasmian","Copt","Coptic","Qaac","Cpmn","Cypro_Minoan","Cprt","Cypriot","Cyrl","Cyrillic","Deva","Devanagari","Diak","Dives_Akuru","Dogr","Dogra","Dsrt","Deseret","Dupl","Duployan","Egyp","Egyptian_Hieroglyphs","Elba","Elbasan","Elym","Elymaic","Ethi","Ethiopic","Geor","Georgian","Glag","Glagolitic","Gong","Gunjala_Gondi","Gonm","Masaram_Gondi","Goth","Gothic","Gran","Grantha","Grek","Greek","Gujr","Gujarati","Guru","Gurmukhi","Hang","Hangul","Hani","Han","Hano","Hanunoo","Hatr","Hatran","Hebr","Hebrew","Hira","Hiragana","Hluw","Anatolian_Hieroglyphs","Hmng","Pahawh_Hmong","Hmnp","Nyiakeng_Puachue_Hmong","Hrkt","Katakana_Or_Hiragana","Hung","Old_Hungarian","Ital","Old_Italic","Java","Javanese","Kali","Kayah_Li","Kana","Katakana","Kawi","Khar","Kharoshthi","Khmr","Khmer","Khoj","Khojki","Kits","Khitan_Small_Script","Knda","Kannada","Kthi","Kaithi","Lana","Tai_Tham","Laoo","Lao","Latn","Latin","Lepc","Lepcha","Limb","Limbu","Lina","Linear_A","Linb","Linear_B","Lisu","Lyci","Lycian","Lydi","Lydian","Mahj","Mahajani","Maka","Makasar","Mand","Mandaic","Mani","Manichaean","Marc","Marchen","Medf","Medefaidrin","Mend","Mende_Kikakui","Merc","Meroitic_Cursive","Mero","Meroitic_Hieroglyphs","Mlym","Malayalam","Modi","Mong","Mongolian","Mroo","Mro","Mtei","Meetei_Mayek","Mult","Multani","Mymr","Myanmar","Nagm","Nag_Mundari","Nand","Nandinagari","Narb","Old_North_Arabian","Nbat","Nabataean","Newa","Nkoo","Nko","Nshu","Nushu","Ogam","Ogham","Olck","Ol_Chiki","Orkh","Old_Turkic","Orya","Oriya","Osge","Osage","Osma","Osmanya","Ougr","Old_Uyghur","Palm","Palmyrene","Pauc","Pau_Cin_Hau","Perm","Old_Permic","Phag","Phags_Pa","Phli","Inscriptional_Pahlavi","Phlp","Psalter_Pahlavi","Phnx","Phoenician","Plrd","Miao","Prti","Inscriptional_Parthian","Rjng","Rejang","Rohg","Hanifi_Rohingya","Runr","Runic","Samr","Samaritan","Sarb","Old_South_Arabian","Saur","Saurashtra","Sgnw","SignWriting","Shaw","Shavian","Shrd","Sharada","Sidd","Siddham","Sind","Khudawadi","Sinh","Sinhala","Sogd","Sogdian","Sogo","Old_Sogdian","Sora","Sora_Sompeng","Soyo","Soyombo","Sund","Sundanese","Sylo","Syloti_Nagri","Syrc","Syriac","Tagb","Tagbanwa","Takr","Takri","Tale","Tai_Le","Talu","New_Tai_Lue","Taml","Tamil","Tang","Tangut","Tavt","Tai_Viet","Telu","Telugu","Tfng","Tifinagh","Tglg","Tagalog","Thaa","Thaana","Thai","Tibt","Tibetan","Tirh","Tirhuta","Tnsa","Tangsa","Toto","Ugar","Ugaritic","Vaii","Vai","Vith","Vithkuqi","Wara","Warang_Citi","Wcho","Wancho","Xpeo","Old_Persian","Xsux","Cuneiform","Yezi","Yezidi","Yiii","Yi","Zanb","Zanabazar_Square","Zinh","Inherited","Qaai","Zyyy","Common","Zzzz","Unknown"]),Script_Extensions:void 0};qa.Script_Extensions=qa.Script;function Nr(e){return e.start+e.length}function Ig(e){return e.length===0}function wf(e,t){if(e<0)throw new Error("start < 0");if(t<0)throw new Error("length < 0");return{start:e,length:t}}function Og(e,t){return wf(e,t-e)}function ps(e){return wf(e.span.start,e.newLength)}function Mg(e){return Ig(e.span)&&e.newLength===0}function d1(e,t){if(t<0)throw new Error("newLength < 0");return{span:e,newLength:t}}var I3=d1(wf(0,0),0);function kf(e,t){for(;e;){let a=t(e);if(a==="quit")return;if(a)return e;e=e.parent}}function pl(e){return(e.flags&16)===0}function Jg(e,t){if(e===void 0||pl(e))return e;for(e=e.original;e;){if(pl(e))return!t||t(e)?e:void 0;e=e.original}}function Ra(e){return e.length>=2&&e.charCodeAt(0)===95&&e.charCodeAt(1)===95?"_"+e:e}function Ts(e){let t=e;return t.length>=3&&t.charCodeAt(0)===95&&t.charCodeAt(1)===95&&t.charCodeAt(2)===95?t.substr(1):t}function Nn(e){return Ts(e.escapedText)}function Ns(e){let t=a1(e.escapedText);return t?qy(t,Ti):void 0}function Zp(e){return e.valueDeclaration&&r2(e.valueDeclaration)?Nn(e.valueDeclaration.name):Ts(e.escapedName)}function m1(e){let t=e.parent.parent;if(t){if(em(t))return Xc(t);switch(t.kind){case 243:if(t.declarationList&&t.declarationList.declarations[0])return Xc(t.declarationList.declarations[0]);break;case 244:let a=t.expression;switch(a.kind===226&&a.operatorToken.kind===64&&(a=a.left),a.kind){case 211:return a.name;case 212:let o=a.argumentExpression;if(et(o))return o}break;case 217:return Xc(t.expression);case 256:{if(em(t.statement)||m2(t.statement))return Xc(t.statement);break}}}}function Xc(e){let t=h1(e);return t&&et(t)?t:void 0}function jg(e){return e.name||m1(e)}function Lg(e){return!!e.name}function Ef(e){switch(e.kind){case 80:return e;case 348:case 341:{let{name:a}=e;if(a.kind===166)return a.right;break}case 213:case 226:{let a=e;switch(If(a)){case 1:case 4:case 5:case 3:return Of(a.left);case 7:case 8:case 9:return a.arguments[1];default:return}}case 346:return jg(e);case 340:return m1(e);case 277:{let{expression:a}=e;return et(a)?a:void 0}case 212:let t=e;if(O1(t))return t.argumentExpression}return e.name}function h1(e){if(e!==void 0)return Ef(e)||(Yf(e)||Hf(e)||hl(e)?Rg(e):void 0)}function Rg(e){if(e.parent){if(td(e.parent)||ih(e.parent))return e.parent.name;if(ia(e.parent)&&e===e.parent.right){if(et(e.parent.left))return e.parent.left;if(U1(e.parent.left))return Of(e.parent.left)}else if(Pl(e.parent)&&et(e.parent.name))return e.parent.name}else return}function xl(e){if(cb(e))return Kr(e.modifiers,kl)}function y1(e){if(Os(e,98303))return Kr(e.modifiers,_2)}function g1(e,t){if(e.name)if(et(e.name)){let a=e.name.escapedText;return Ss(e.parent,t).filter(o=>_f(o)&&et(o.name)&&o.name.escapedText===a)}else{let a=e.parent.parameters.indexOf(e);B.assert(a>-1,"Parameters should always be in their parents' parameter list");let o=Ss(e.parent,t).filter(_f);if(axh(o)&&o.typeParameters.some(h=>h.name.escapedText===a))}function qg(e){return b1(e,!1)}function zg(e){return b1(e,!0)}function Fg(e){return ki(e,k6)}function Vg(e){return Kg(e,M6)}function Wg(e){return ki(e,E6,!0)}function Gg(e){return ki(e,A6,!0)}function Yg(e){return ki(e,C6,!0)}function Hg(e){return ki(e,D6,!0)}function Xg(e){return ki(e,P6,!0)}function $g(e){return ki(e,I6,!0)}function Qg(e){let t=ki(e,nd);if(t&&t.typeExpression&&t.typeExpression.type)return t}function Ss(e,t){var a;if(!Mf(e))return Ot;let o=(a=e.jsDoc)==null?void 0:a.jsDocCache;if(o===void 0||t){let h=Y2(e,t);B.assert(h.length<2||h[0]!==h[1]),o=Vm(h,g=>vh(g)?g.tags:g),t||(e.jsDoc??(e.jsDoc=[]),e.jsDoc.jsDocCache=o)}return o}function v1(e){return Ss(e,!1)}function ki(e,t,a){return zm(Ss(e,a),t)}function Kg(e,t){return v1(e).filter(t)}function ef(e){return e.kind===80||e.kind===81}function Zg(e){return br(e)&&!!(e.flags&64)}function e2(e){return _a(e)&&!!(e.flags&64)}function Kd(e){return Al(e)&&!!(e.flags&64)}function Af(e){return ad(e,8)}function t2(e){return _l(e)&&!!(e.flags&64)}function Cf(e){return e>=166}function Df(e){return e>=0&&e<=165}function x1(e){return Df(e.kind)}function Si(e){return Mr(e,"pos")&&Mr(e,"end")}function n2(e){return 9<=e&&e<=15}function Zd(e){return 15<=e&&e<=18}function za(e){var t;return et(e)&&((t=e.emitNode)==null?void 0:t.autoGenerate)!==void 0}function T1(e){var t;return wi(e)&&((t=e.emitNode)==null?void 0:t.autoGenerate)!==void 0}function r2(e){return(Ha(e)||c2(e))&&wi(e.name)}function $r(e){switch(e){case 128:case 129:case 134:case 87:case 138:case 90:case 95:case 103:case 125:case 123:case 124:case 148:case 126:case 147:case 164:return!0}return!1}function i2(e){return!!(L1(e)&31)}function a2(e){return i2(e)||e===126||e===164||e===129}function _2(e){return $r(e.kind)}function S1(e){let t=e.kind;return t===80||t===81||t===11||t===9||t===167}function Pf(e){return!!e&&o2(e.kind)}function s2(e){switch(e){case 262:case 174:case 176:case 177:case 178:case 218:case 219:return!0;default:return!1}}function o2(e){switch(e){case 173:case 179:case 323:case 180:case 181:case 184:case 317:case 185:return!0;default:return s2(e)}}function Ei(e){return e&&(e.kind===263||e.kind===231)}function c2(e){switch(e.kind){case 174:case 177:case 178:return!0;default:return!1}}function l2(e){let t=e.kind;return t===303||t===304||t===305||t===174||t===177||t===178}function w1(e){return vb(e.kind)}function u2(e){if(e){let t=e.kind;return t===207||t===206}return!1}function p2(e){let t=e.kind;return t===209||t===210}function f2(e){switch(e.kind){case 260:case 169:case 208:return!0}return!1}function Va(e){return k1(Af(e).kind)}function k1(e){switch(e){case 211:case 212:case 214:case 213:case 284:case 285:case 288:case 215:case 209:case 217:case 210:case 231:case 218:case 80:case 81:case 14:case 9:case 10:case 11:case 15:case 228:case 97:case 106:case 110:case 112:case 108:case 235:case 233:case 236:case 102:case 282:return!0;default:return!1}}function d2(e){return E1(Af(e).kind)}function E1(e){switch(e){case 224:case 225:case 220:case 221:case 222:case 223:case 216:return!0;default:return k1(e)}}function m2(e){return h2(Af(e).kind)}function h2(e){switch(e){case 227:case 229:case 219:case 226:case 230:case 234:case 232:case 355:case 354:case 238:return!0;default:return E1(e)}}function y2(e){return e===219||e===208||e===263||e===231||e===175||e===176||e===266||e===306||e===281||e===262||e===218||e===177||e===273||e===271||e===276||e===264||e===291||e===174||e===173||e===267||e===270||e===274||e===280||e===169||e===303||e===172||e===171||e===178||e===304||e===265||e===168||e===260||e===346||e===338||e===348||e===202}function A1(e){return e===262||e===282||e===263||e===264||e===265||e===266||e===267||e===272||e===271||e===278||e===277||e===270}function C1(e){return e===252||e===251||e===259||e===246||e===244||e===242||e===249||e===250||e===248||e===245||e===256||e===253||e===255||e===257||e===258||e===243||e===247||e===254||e===353}function em(e){return e.kind===168?e.parent&&e.parent.kind!==345||aa(e):y2(e.kind)}function g2(e){let t=e.kind;return C1(t)||A1(t)||b2(e)}function b2(e){return e.kind!==241||e.parent!==void 0&&(e.parent.kind===258||e.parent.kind===299)?!1:!M2(e)}function v2(e){let t=e.kind;return C1(t)||A1(t)||t===241}function D1(e){return e.kind>=309&&e.kind<=351}function x2(e){return e.kind===320||e.kind===319||e.kind===321||w2(e)||T2(e)||w6(e)||Il(e)}function T2(e){return e.kind>=327&&e.kind<=351}function $c(e){return e.kind===178}function Qc(e){return e.kind===177}function Zi(e){if(!Mf(e))return!1;let{jsDoc:t}=e;return!!t&&t.length>0}function S2(e){return!!e.initializer}function Tl(e){return e.kind===11||e.kind===15}function w2(e){return e.kind===324||e.kind===325||e.kind===326}function tm(e){return(e.flags&33554432)!==0}var O3=k2();function k2(){var e="";let t=a=>e+=a;return{getText:()=>e,write:t,rawWrite:t,writeKeyword:t,writeOperator:t,writePunctuation:t,writeSpace:t,writeStringLiteral:t,writeLiteral:t,writeParameter:t,writeProperty:t,writeSymbol:(a,o)=>t(a),writeTrailingSemicolon:t,writeComment:t,getTextPos:()=>e.length,getLine:()=>0,getColumn:()=>0,getIndent:()=>0,isAtStartOfLine:()=>!1,hasTrailingComment:()=>!1,hasTrailingWhitespace:()=>!!e.length&&Fa(e.charCodeAt(e.length-1)),writeLine:()=>e+=" ",increaseIndent:Ga,decreaseIndent:Ga,clear:()=>e=""}}function E2(e,t){let a=e.entries();for(let[o,h]of a){let g=t(h,o);if(g)return g}}function A2(e){return e.end-e.pos}function P1(e){return C2(e),(e.flags&1048576)!==0}function C2(e){e.flags&2097152||((e.flags&262144||tn(e,P1))&&(e.flags|=1048576),e.flags|=2097152)}function Ya(e){for(;e&&e.kind!==307;)e=e.parent;return e}function ea(e){return e===void 0?!0:e.pos===e.end&&e.pos>=0&&e.kind!==1}function tf(e){return!ea(e)}function fl(e,t,a){if(ea(e))return e.pos;if(D1(e)||e.kind===12)return Qr((t||Ya(e)).text,e.pos,!1,!0);if(a&&Zi(e))return fl(e.jsDoc[0],t);if(e.kind===352){let o=uf(Th(e));if(o)return fl(o,t,a)}return Qr((t||Ya(e)).text,e.pos,!1,!1,J2(e))}function nm(e,t,a=!1){return ys(e.text,t,a)}function D2(e){return!!kf(e,yh)}function ys(e,t,a=!1){if(ea(t))return"";let o=e.substring(a?t.pos:Qr(e,t.pos),t.end);return D2(t)&&(o=o.split(/\r\n|\n|\r/).map(h=>h.replace(/^\s*\*/,"").trimStart()).join(` +`)),o}function Wa(e){let t=e.emitNode;return t&&t.flags||0}function P2(e,t,a){B.assertGreaterThanOrEqual(t,0),B.assertGreaterThanOrEqual(a,0),B.assertLessThanOrEqual(t,e.length),B.assertLessThanOrEqual(t+a,e.length)}function al(e){return e.kind===244&&e.expression.kind===11}function Nf(e){return!!(Wa(e)&2097152)}function rm(e){return Nf(e)&&Xf(e)}function N2(e){return et(e.name)&&!e.initializer}function im(e){return Nf(e)&&Ka(e)&&cf(e.declarationList.declarations,N2)}function I2(e,t){let a=e.kind===169||e.kind===168||e.kind===218||e.kind===219||e.kind===217||e.kind===260||e.kind===281?lf(Cg(t,e.pos),Kp(t,e.pos)):Kp(t,e.pos);return Kr(a,o=>o.end<=e.end&&t.charCodeAt(o.pos+1)===42&&t.charCodeAt(o.pos+2)===42&&t.charCodeAt(o.pos+3)!==47)}function O2(e){if(e)switch(e.kind){case 208:case 306:case 169:case 303:case 172:case 171:case 304:case 260:return!0}return!1}function M2(e){return e&&e.kind===241&&Pf(e.parent)}function am(e){let t=e.kind;return(t===211||t===212)&&e.expression.kind===108}function aa(e){return!!e&&!!(e.flags&524288)}function J2(e){return!!e&&!!(e.flags&16777216)}function j2(e){for(;dl(e,!0);)e=e.right;return e}function L2(e){return et(e)&&e.escapedText==="exports"}function R2(e){return et(e)&&e.escapedText==="module"}function N1(e){return(br(e)||I1(e))&&R2(e.expression)&&ks(e)==="exports"}function If(e){let t=B2(e);return t===5||aa(e)?t:0}function U2(e){return ms(e.arguments)===3&&br(e.expression)&&et(e.expression.expression)&&Nn(e.expression.expression)==="Object"&&Nn(e.expression.name)==="defineProperty"&&Sl(e.arguments[1])&&ws(e.arguments[0],!0)}function I1(e){return _a(e)&&Sl(e.argumentExpression)}function Is(e,t){return br(e)&&(!t&&e.expression.kind===110||et(e.name)&&ws(e.expression,!0))||O1(e,t)}function O1(e,t){return I1(e)&&(!t&&e.expression.kind===110||Lf(e.expression)||Is(e.expression,!0))}function ws(e,t){return Lf(e)||Is(e,t)}function B2(e){if(Al(e)){if(!U2(e))return 0;let t=e.arguments[0];return L2(t)||N1(t)?8:Is(t)&&ks(t)==="prototype"?9:7}return e.operatorToken.kind!==64||!U1(e.left)||q2(j2(e))?0:ws(e.left.expression,!0)&&ks(e.left)==="prototype"&&Gf(F2(e))?6:z2(e.left)}function q2(e){return g6(e)&&Ai(e.expression)&&e.expression.text==="0"}function Of(e){if(br(e))return e.name;let t=Jf(e.argumentExpression);return Ai(t)||Tl(t)?t:e}function ks(e){let t=Of(e);if(t){if(et(t))return t.escapedText;if(Tl(t)||Ai(t))return Ra(t.text)}}function z2(e){if(e.expression.kind===110)return 4;if(N1(e))return 2;if(ws(e.expression,!0)){if(gb(e.expression))return 3;let t=e;for(;!et(t.expression);)t=t.expression;let a=t.expression;if((a.escapedText==="exports"||a.escapedText==="module"&&ks(t)==="exports")&&Is(e))return 1;if(ws(e,!0)||_a(e)&&rb(e))return 5}return 0}function F2(e){for(;ia(e.right);)e=e.right;return e.right}function V2(e){return Dl(e)&&ia(e.expression)&&If(e.expression)!==0&&ia(e.expression.right)&&(e.expression.right.operatorToken.kind===57||e.expression.right.operatorToken.kind===61)?e.expression.right.right:void 0}function W2(e){switch(e.kind){case 243:let t=nf(e);return t&&t.initializer;case 172:return e.initializer;case 303:return e.initializer}}function nf(e){return Ka(e)?uf(e.declarationList.declarations):void 0}function G2(e){return ei(e)&&e.body&&e.body.kind===267?e.body:void 0}function Mf(e){switch(e.kind){case 219:case 226:case 241:case 252:case 179:case 296:case 263:case 231:case 175:case 176:case 185:case 180:case 251:case 259:case 246:case 212:case 242:case 1:case 266:case 306:case 277:case 278:case 281:case 244:case 249:case 250:case 248:case 262:case 218:case 184:case 177:case 80:case 245:case 272:case 271:case 181:case 264:case 317:case 323:case 256:case 174:case 173:case 267:case 202:case 270:case 210:case 169:case 217:case 211:case 303:case 172:case 171:case 253:case 240:case 178:case 304:case 305:case 255:case 257:case 258:case 265:case 168:case 260:case 243:case 247:case 254:return!0;default:return!1}}function Y2(e,t){let a;O2(e)&&S2(e)&&Zi(e.initializer)&&(a=Pn(a,_m(e,e.initializer.jsDoc)));let o=e;for(;o&&o.parent;){if(Zi(o)&&(a=Pn(a,_m(e,o.jsDoc))),o.kind===169){a=Pn(a,(t?Bg:Ug)(o));break}if(o.kind===168){a=Pn(a,(t?zg:qg)(o));break}o=X2(o)}return a||Ot}function _m(e,t){let a=Iy(t);return Vm(t,o=>{if(o===a){let h=Kr(o.tags,g=>H2(e,g));return o.tags===h?[o]:h}else return Kr(o.tags,N6)})}function H2(e,t){return!(nd(t)||J6(t))||!t.parent||!vh(t.parent)||!Cl(t.parent.parent)||t.parent.parent===e}function X2(e){let t=e.parent;if(t.kind===303||t.kind===277||t.kind===172||t.kind===244&&e.kind===211||t.kind===253||G2(t)||dl(e))return t;if(t.parent&&(nf(t.parent)===e||dl(t)))return t.parent;if(t.parent&&t.parent.parent&&(nf(t.parent.parent)||W2(t.parent.parent)===e||V2(t.parent.parent)))return t.parent.parent}function Jf(e,t){return ad(e,t?17:1)}function $2(e){let t=Q2(e);if(t&&aa(e)){let a=Fg(e);if(a)return a.class}return t}function Q2(e){let t=jf(e.heritageClauses,96);return t&&t.types.length>0?t.types[0]:void 0}function K2(e){if(aa(e))return Vg(e).map(t=>t.class);{let t=jf(e.heritageClauses,119);return t==null?void 0:t.types}}function Z2(e){return Ms(e)?eb(e)||Ot:Ei(e)&&lf(Hp($2(e)),K2(e))||Ot}function eb(e){let t=jf(e.heritageClauses,96);return t?t.types:void 0}function jf(e,t){if(e){for(let a of e)if(a.token===t)return a}}function Ti(e){return 83<=e&&e<=165}function tb(e){return 19<=e&&e<=79}function Rp(e){return Ti(e)||tb(e)}function Sl(e){return Tl(e)||Ai(e)}function nb(e){return sh(e)&&(e.operator===40||e.operator===41)&&Ai(e.operand)}function rb(e){if(!(e.kind===167||e.kind===212))return!1;let t=_a(e)?Jf(e.argumentExpression):e.expression;return!Sl(t)&&!nb(t)}function ib(e){return ef(e)?Nn(e):mh(e)?Yb(e):e.text}function Ua(e){return Es(e.pos)||Es(e.end)}function Up(e){switch(e){case 61:return 4;case 57:return 5;case 56:return 6;case 52:return 7;case 53:return 8;case 51:return 9;case 35:case 36:case 37:case 38:return 10;case 30:case 32:case 33:case 34:case 104:case 103:case 130:case 152:return 11;case 48:case 49:case 50:return 12;case 40:case 41:return 13;case 42:case 44:case 45:return 14;case 43:return 15}return-1}function Bp(e){return!!((e.templateFlags||0)&2048)}function ab(e){return e&&!!(V1(e)?Bp(e):Bp(e.head)||qt(e.templateSpans,t=>Bp(t.literal)))}var M3=new Map(Object.entries({" ":"\\t","\v":"\\v","\f":"\\f","\b":"\\b","\r":"\\r","\n":"\\n","\\":"\\\\",'"':'\\"',"'":"\\'","`":"\\`","\u2028":"\\u2028","\u2029":"\\u2029","\x85":"\\u0085","\r\n":"\\r\\n"}));var J3=new Map(Object.entries({'"':""","'":"'"}));function _b(e){return!!e&&e.kind===80&&sb(e)}function sb(e){return e.escapedText==="this"}function Os(e,t){return!!lb(e,t)}function ob(e){return Os(e,256)}function cb(e){return Os(e,32768)}function lb(e,t){return pb(e)&t}function ub(e,t,a){return e.kind>=0&&e.kind<=165?0:(e.modifierFlagsCache&536870912||(e.modifierFlagsCache=j1(e)|536870912),a||t&&aa(e)?(!(e.modifierFlagsCache&268435456)&&e.parent&&(e.modifierFlagsCache|=M1(e)|268435456),J1(e.modifierFlagsCache)):fb(e.modifierFlagsCache))}function pb(e){return ub(e,!1)}function M1(e){let t=0;return e.parent&&!As(e)&&(aa(e)&&(Wg(e)&&(t|=8388608),Gg(e)&&(t|=16777216),Yg(e)&&(t|=33554432),Hg(e)&&(t|=67108864),Xg(e)&&(t|=134217728)),$g(e)&&(t|=65536)),t}function fb(e){return e&65535}function J1(e){return e&131071|(e&260046848)>>>23}function db(e){return J1(M1(e))}function mb(e){return j1(e)|db(e)}function j1(e){let t=Ol(e)?qn(e.modifiers):0;return(e.flags&8||e.kind===80&&e.flags&4096)&&(t|=32),t}function qn(e){let t=0;if(e)for(let a of e)t|=L1(a.kind);return t}function L1(e){switch(e){case 126:return 256;case 125:return 1;case 124:return 4;case 123:return 2;case 128:return 64;case 129:return 512;case 95:return 32;case 138:return 128;case 87:return 4096;case 90:return 2048;case 134:return 1024;case 148:return 8;case 164:return 16;case 103:return 8192;case 147:return 16384;case 170:return 32768}return 0}function hb(e){return e===76||e===77||e===78}function R1(e){return e>=64&&e<=79}function dl(e,t){return ia(e)&&(t?e.operatorToken.kind===64:R1(e.operatorToken.kind))&&Va(e.left)}function Lf(e){return e.kind===80||yb(e)}function yb(e){return br(e)&&et(e.name)&&Lf(e.expression)}function gb(e){return Is(e)&&ks(e)==="prototype"}function qp(e){return e.flags&3899393?e.objectFlags:0}function bb(e){let t;return tn(e,a=>{tf(a)&&(t=a)},a=>{for(let o=a.length-1;o>=0;o--)if(tf(a[o])){t=a[o];break}}),t}function vb(e){return e>=182&&e<=205||e===133||e===159||e===150||e===163||e===151||e===136||e===154||e===155||e===116||e===157||e===146||e===141||e===233||e===312||e===313||e===314||e===315||e===316||e===317||e===318}function U1(e){return e.kind===211||e.kind===212}function xb(e,t){this.flags=e,this.escapedName=t,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.lastAssignmentPos=void 0,this.links=void 0}function Tb(e,t){this.flags=t,(B.isDebugging||rl)&&(this.checker=e)}function Sb(e,t){this.flags=t,B.isDebugging&&(this.checker=e)}function zp(e,t,a){this.pos=t,this.end=a,this.kind=e,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 wb(e,t,a){this.pos=t,this.end=a,this.kind=e,this.id=0,this.flags=0,this.transformFlags=0,this.parent=void 0,this.emitNode=void 0}function kb(e,t,a){this.pos=t,this.end=a,this.kind=e,this.id=0,this.flags=0,this.transformFlags=0,this.parent=void 0,this.original=void 0,this.emitNode=void 0}function Eb(e,t,a){this.fileName=e,this.text=t,this.skipTrivia=a||(o=>o)}var Ct={getNodeConstructor:()=>zp,getTokenConstructor:()=>wb,getIdentifierConstructor:()=>kb,getPrivateIdentifierConstructor:()=>zp,getSourceFileConstructor:()=>zp,getSymbolConstructor:()=>xb,getTypeConstructor:()=>Tb,getSignatureConstructor:()=>Sb,getSourceMapSourceConstructor:()=>Eb},Ab=[];function Cb(e){Object.assign(Ct,e),zn(Ab,t=>t(Ct))}function Db(e,t){return e.replace(/{(\d+)}/g,(a,o)=>""+B.checkDefined(t[+o]))}var sm;function Pb(e){return sm&&sm[e.key]||e.message}function ja(e,t,a,o,h,...g){a+o>t.length&&(o=t.length-a),P2(t,a,o);let E=Pb(h);return qt(g)&&(E=Db(E,g)),{file:void 0,start:a,length:o,messageText:E,category:h.category,code:h.code,reportsUnnecessary:h.reportsUnnecessary,fileName:e}}function Nb(e){return e.file===void 0&&e.start!==void 0&&e.length!==void 0&&typeof e.fileName=="string"}function B1(e,t){let a=t.fileName||"",o=t.text.length;B.assertEqual(e.fileName,a),B.assertLessThanOrEqual(e.start,o),B.assertLessThanOrEqual(e.start+e.length,o);let h={file:t,start:e.start,length:e.length,messageText:e.messageText,category:e.category,code:e.code,reportsUnnecessary:e.reportsUnnecessary};if(e.relatedInformation){h.relatedInformation=[];for(let g of e.relatedInformation)Nb(g)&&g.fileName===a?(B.assertLessThanOrEqual(g.start,o),B.assertLessThanOrEqual(g.start+g.length,o),h.relatedInformation.push(B1(g,t))):h.relatedInformation.push(g)}return h}function Yi(e,t){let a=[];for(let o of e)a.push(B1(o,t));return a}function om(e){return e===4||e===2||e===1||e===6?1:0}var lt={target:{dependencies:["module"],computeValue:e=>(e.target===0?void 0:e.target)??(e.module===100&&9||e.module===199&&99||1)},module:{dependencies:["target"],computeValue:e=>typeof e.module=="number"?e.module:lt.target.computeValue(e)>=2?5:1},moduleResolution:{dependencies:["module","target"],computeValue:e=>{let t=e.moduleResolution;if(t===void 0)switch(lt.module.computeValue(e)){case 1:t=2;break;case 100:t=3;break;case 199:t=99;break;case 200:t=100;break;default:t=1;break}return t}},moduleDetection:{dependencies:["module","target"],computeValue:e=>e.moduleDetection||(lt.module.computeValue(e)===100||lt.module.computeValue(e)===199?3:2)},isolatedModules:{dependencies:["verbatimModuleSyntax"],computeValue:e=>!!(e.isolatedModules||e.verbatimModuleSyntax)},esModuleInterop:{dependencies:["module","target"],computeValue:e=>{if(e.esModuleInterop!==void 0)return e.esModuleInterop;switch(lt.module.computeValue(e)){case 100:case 199:case 200:return!0}return!1}},allowSyntheticDefaultImports:{dependencies:["module","target","moduleResolution"],computeValue:e=>e.allowSyntheticDefaultImports!==void 0?e.allowSyntheticDefaultImports:lt.esModuleInterop.computeValue(e)||lt.module.computeValue(e)===4||lt.moduleResolution.computeValue(e)===100},resolvePackageJsonExports:{dependencies:["moduleResolution"],computeValue:e=>{let t=lt.moduleResolution.computeValue(e);if(!cm(t))return!1;if(e.resolvePackageJsonExports!==void 0)return e.resolvePackageJsonExports;switch(t){case 3:case 99:case 100:return!0}return!1}},resolvePackageJsonImports:{dependencies:["moduleResolution","resolvePackageJsonExports"],computeValue:e=>{let t=lt.moduleResolution.computeValue(e);if(!cm(t))return!1;if(e.resolvePackageJsonExports!==void 0)return e.resolvePackageJsonExports;switch(t){case 3:case 99:case 100:return!0}return!1}},resolveJsonModule:{dependencies:["moduleResolution","module","target"],computeValue:e=>e.resolveJsonModule!==void 0?e.resolveJsonModule:lt.moduleResolution.computeValue(e)===100},declaration:{dependencies:["composite"],computeValue:e=>!!(e.declaration||e.composite)},preserveConstEnums:{dependencies:["isolatedModules","verbatimModuleSyntax"],computeValue:e=>!!(e.preserveConstEnums||lt.isolatedModules.computeValue(e))},incremental:{dependencies:["composite"],computeValue:e=>!!(e.incremental||e.composite)},declarationMap:{dependencies:["declaration","composite"],computeValue:e=>!!(e.declarationMap&<.declaration.computeValue(e))},allowJs:{dependencies:["checkJs"],computeValue:e=>e.allowJs===void 0?!!e.checkJs:e.allowJs},useDefineForClassFields:{dependencies:["target","module"],computeValue:e=>e.useDefineForClassFields===void 0?lt.target.computeValue(e)>=9:e.useDefineForClassFields},noImplicitAny:{dependencies:["strict"],computeValue:e=>gi(e,"noImplicitAny")},noImplicitThis:{dependencies:["strict"],computeValue:e=>gi(e,"noImplicitThis")},strictNullChecks:{dependencies:["strict"],computeValue:e=>gi(e,"strictNullChecks")},strictFunctionTypes:{dependencies:["strict"],computeValue:e=>gi(e,"strictFunctionTypes")},strictBindCallApply:{dependencies:["strict"],computeValue:e=>gi(e,"strictBindCallApply")},strictPropertyInitialization:{dependencies:["strict"],computeValue:e=>gi(e,"strictPropertyInitialization")},alwaysStrict:{dependencies:["strict"],computeValue:e=>gi(e,"alwaysStrict")},useUnknownInCatchVariables:{dependencies:["strict"],computeValue:e=>gi(e,"useUnknownInCatchVariables")}},j3=lt.target.computeValue,L3=lt.module.computeValue,R3=lt.moduleResolution.computeValue,U3=lt.moduleDetection.computeValue,B3=lt.isolatedModules.computeValue,q3=lt.esModuleInterop.computeValue,z3=lt.allowSyntheticDefaultImports.computeValue,F3=lt.resolvePackageJsonExports.computeValue,V3=lt.resolvePackageJsonImports.computeValue,W3=lt.resolveJsonModule.computeValue,G3=lt.declaration.computeValue,Y3=lt.preserveConstEnums.computeValue,H3=lt.incremental.computeValue,X3=lt.declarationMap.computeValue,$3=lt.allowJs.computeValue,Q3=lt.useDefineForClassFields.computeValue;function cm(e){return e>=3&&e<=99||e===100}function gi(e,t){return e[t]===void 0?!!e.strict:!!e[t]}function Ib(e){return E2(targetOptionDeclaration.type,(t,a)=>t===e?a:void 0)}var Ob=["node_modules","bower_components","jspm_packages"],q1=`(?!(${Ob.join("|")})(/|$))`,Mb={singleAsteriskRegexFragment:"([^./]|(\\.(?!min\\.js$))?)*",doubleAsteriskRegexFragment:`(/${q1}[^/.][^/]*)*?`,replaceWildcardCharacter:e=>z1(e,Mb.singleAsteriskRegexFragment)},Jb={singleAsteriskRegexFragment:"[^/]*",doubleAsteriskRegexFragment:`(/${q1}[^/.][^/]*)*?`,replaceWildcardCharacter:e=>z1(e,Jb.singleAsteriskRegexFragment)};function z1(e,t){return e==="*"?t:e==="?"?"[^/]":"\\"+e}function jb(e,t){return t||Lb(e)||3}function Lb(e){switch(e.substr(e.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}}var F1=[[".ts",".tsx",".d.ts"],[".cts",".d.cts"],[".mts",".d.mts"]],K3=Fm(F1),Z3=[...F1,[".json"]];var Rb=[[".js",".jsx"],[".mjs"],[".cjs"]],ex=Fm(Rb),Ub=[[".ts",".tsx",".d.ts",".js",".jsx"],[".cts",".d.cts",".cjs"],[".mts",".d.mts",".mjs"]],tx=[...Ub,[".json"]],Bb=[".d.ts",".d.cts",".d.mts"];function Es(e){return!(e>=0)}function Kc(e,...t){return t.length&&(e.relatedInformation||(e.relatedInformation=[]),B.assert(e.relatedInformation!==Ot,"Diagnostic had empty array singleton for related info, but is still being constructed!"),e.relatedInformation.push(...t)),e}function qb(e){let t;switch(e.charCodeAt(1)){case 98:case 66:t=1;break;case 111:case 79:t=3;break;case 120:case 88:t=4;break;default:let Z=e.length-1,f=0;for(;e.charCodeAt(f)===48;)f++;return e.slice(f,Z)||"0"}let a=2,o=e.length-1,h=(o-a)*t,g=new Uint16Array((h>>>4)+(h&15?1:0));for(let Z=o-1,f=0;Z>=a;Z--,f+=t){let k=f>>>4,v=e.charCodeAt(Z),J=(v<=57?v-48:10+v-(v<=70?65:97))<<(f&15);g[k]|=J;let re=J>>>16;re&&(g[k+1]|=re)}let E="",C=g.length-1,l=!0;for(;l;){let Z=0;l=!1;for(let f=C;f>=0;f--){let k=Z<<16|g[f],v=k/10|0;g[f]=v,Z=k-v*10,v&&!l&&(C=f,l=!0)}E=Z+E}return E}function zb({negative:e,base10Value:t}){return(e&&t!=="0"?"-":"")+t}function rf(e,t){return e.pos=t,e}function Fb(e,t){return e.end=t,e}function ta(e,t,a){return Fb(rf(e,t),a)}function lm(e,t,a){return ta(e,t,t+a)}function Rf(e,t){return e&&t&&(e.parent=t),e}function Vb(e,t){if(!e)return e;return Lm(e,D1(e)?a:h),e;function a(g,E){if(t&&g.parent===E)return"skip";Rf(g,E)}function o(g){if(Zi(g))for(let E of g.jsDoc)a(E,g),Lm(E,a)}function h(g,E){return a(g,E)||o(g)}}function Wb(e){return!!(e.flags&262144&&e.isThisType)}function Gb(e){var t;return((t=getSnippetElement(e))==null?void 0:t.kind)===0}function Yb(e){return`${Nn(e.namespace)}:${Nn(e.name)}`}var nx=String.prototype.replace;function Hb(){let e,t,a,o,h;return{createBaseSourceFileNode:g,createBaseIdentifierNode:E,createBasePrivateIdentifierNode:C,createBaseTokenNode:l,createBaseNode:Z};function g(f){return new(h||(h=Ct.getSourceFileConstructor()))(f,-1,-1)}function E(f){return new(a||(a=Ct.getIdentifierConstructor()))(f,-1,-1)}function C(f){return new(o||(o=Ct.getPrivateIdentifierConstructor()))(f,-1,-1)}function l(f){return new(t||(t=Ct.getTokenConstructor()))(f,-1,-1)}function Z(f){return new(e||(e=Ct.getNodeConstructor()))(f,-1,-1)}}var Xb={getParenthesizeLeftSideOfBinaryForOperator:e=>kt,getParenthesizeRightSideOfBinaryForOperator:e=>kt,parenthesizeLeftSideOfBinary:(e,t)=>t,parenthesizeRightSideOfBinary:(e,t,a)=>a,parenthesizeExpressionOfComputedPropertyName:kt,parenthesizeConditionOfConditionalExpression:kt,parenthesizeBranchOfConditionalExpression:kt,parenthesizeExpressionOfExportDefault:kt,parenthesizeExpressionOfNew:e=>Ir(e,Va),parenthesizeLeftSideOfAccess:e=>Ir(e,Va),parenthesizeOperandOfPostfixUnary:e=>Ir(e,Va),parenthesizeOperandOfPrefixUnary:e=>Ir(e,d2),parenthesizeExpressionsOfCommaDelimitedList:e=>Ir(e,Si),parenthesizeExpressionForDisallowedComma:kt,parenthesizeExpressionOfExpressionStatement:kt,parenthesizeConciseBodyOfArrowFunction:kt,parenthesizeCheckTypeOfConditionalType:kt,parenthesizeExtendsTypeOfConditionalType:kt,parenthesizeConstituentTypesOfUnionType:e=>Ir(e,Si),parenthesizeConstituentTypeOfUnionType:kt,parenthesizeConstituentTypesOfIntersectionType:e=>Ir(e,Si),parenthesizeConstituentTypeOfIntersectionType:kt,parenthesizeOperandOfTypeOperator:kt,parenthesizeOperandOfReadonlyTypeOperator:kt,parenthesizeNonArrayTypeOfPostfixType:kt,parenthesizeElementTypesOfTupleType:e=>Ir(e,Si),parenthesizeElementTypeOfTupleType:kt,parenthesizeTypeOfOptionalType:kt,parenthesizeTypeArguments:e=>e&&Ir(e,Si),parenthesizeLeadingTypeArgument:kt},Zc=0;var $b=[];function Uf(e,t){let a=e&8?kt:t6,o=qd(()=>e&1?Xb:createParenthesizerRules(he)),h=qd(()=>e&2?nullNodeConverters:createNodeConverters(he)),g=tr(n=>(i,_)=>h_(i,n,_)),E=tr(n=>i=>d_(n,i)),C=tr(n=>i=>m_(i,n)),l=tr(n=>()=>Pu(n)),Z=tr(n=>i=>F_(n,i)),f=tr(n=>(i,_)=>Iu(n,i,_)),k=tr(n=>(i,_)=>tc(n,i,_)),v=tr(n=>(i,_)=>Nu(n,i,_)),w=tr(n=>(i,_)=>fc(n,i,_)),J=tr(n=>(i,_,c)=>Yu(n,i,_,c)),re=tr(n=>(i,_,c)=>dc(n,i,_,c)),be=tr(n=>(i,_,c,d)=>Hu(n,i,_,c,d)),he={get parenthesizer(){return o()},get converters(){return h()},baseFactory:t,flags:e,createNodeArray:me,createNumericLiteral:X,createBigIntLiteral:oe,createStringLiteral:ht,createStringLiteralFromNode:ir,createRegularExpressionLiteral:xn,createLiteralLikeNode:ar,createIdentifier:Ve,createTempVariable:_r,createLoopVariable:Rr,createUniqueName:Mt,getGeneratedNameForNode:Vn,createPrivateIdentifier:Jt,createUniquePrivateName:Qe,getGeneratedPrivateNameForNode:Wn,createToken:ut,createSuper:st,createThis:Vt,createNull:jt,createTrue:pt,createFalse:sr,createModifier:yt,createModifiersFromModifierFlags:Sn,createQualifiedName:vt,updateQualifiedName:dn,createComputedPropertyName:rt,updateComputedPropertyName:Wt,createTypeParameterDeclaration:on,updateTypeParameterDeclaration:or,createParameterDeclaration:vr,updateParameterDeclaration:xr,createDecorator:Gn,updateDecorator:Yn,createPropertySignature:Ur,updatePropertySignature:Hn,createPropertyDeclaration:Tr,updatePropertyDeclaration:j,createMethodSignature:se,updateMethodSignature:fe,createMethodDeclaration:xe,updateMethodDeclaration:Xe,createConstructorDeclaration:ft,updateConstructorDeclaration:Br,createGetAccessorDeclaration:Jn,updateGetAccessorDeclaration:Xn,createSetAccessorDeclaration:z,updateSetAccessorDeclaration:V,createCallSignature:Te,updateCallSignature:Se,createConstructSignature:Ce,updateConstructSignature:ye,createIndexSignature:Ye,updateIndexSignature:$e,createClassStaticBlockDeclaration:ot,updateClassStaticBlockDeclaration:Pt,createTemplateLiteralTypeSpan:Ze,updateTemplateLiteralTypeSpan:Ee,createKeywordTypeNode:wn,createTypePredicateNode:at,updateTypePredicateNode:mn,createTypeReferenceNode:ii,updateTypeReferenceNode:M,createFunctionTypeNode:Be,updateFunctionTypeNode:u,createConstructorTypeNode:Me,updateConstructorTypeNode:cn,createTypeQueryNode:Nt,updateTypeQueryNode:Et,createTypeLiteralNode:It,updateTypeLiteralNode:Gt,createArrayTypeNode:$n,updateArrayTypeNode:Ni,createTupleTypeNode:hn,updateTupleTypeNode:Y,createNamedTupleMember:de,updateNamedTupleMember:ze,createOptionalTypeNode:ke,updateOptionalTypeNode:L,createRestTypeNode:gt,updateRestTypeNode:St,createUnionTypeNode:Fl,updateUnionTypeNode:zs,createIntersectionTypeNode:qr,updateIntersectionTypeNode:Je,createConditionalTypeNode:mt,updateConditionalTypeNode:Vl,createInferTypeNode:Qn,updateInferTypeNode:Wl,createImportTypeNode:cr,updateImportTypeNode:fa,createParenthesizedType:rn,updateParenthesizedType:Dt,createThisTypeNode:D,createTypeOperatorNode:an,updateTypeOperatorNode:zr,createIndexedAccessTypeNode:lr,updateIndexedAccessTypeNode:r_,createMappedTypeNode:wt,updateMappedTypeNode:Rt,createLiteralTypeNode:ai,updateLiteralTypeNode:Fr,createTemplateLiteralType:Qt,updateTemplateLiteralType:Gl,createObjectBindingPattern:Fs,updateObjectBindingPattern:Yl,createArrayBindingPattern:Vr,updateArrayBindingPattern:Hl,createBindingElement:da,updateBindingElement:_i,createArrayLiteralExpression:i_,updateArrayLiteralExpression:Vs,createObjectLiteralExpression:Ii,updateObjectLiteralExpression:Xl,createPropertyAccessExpression:e&4?(n,i)=>setEmitFlags(ur(n,i),262144):ur,updatePropertyAccessExpression:Gs,createPropertyAccessChain:e&4?(n,i,_)=>setEmitFlags(si(n,i,_),262144):si,updatePropertyAccessChain:Ys,createElementAccessExpression:a_,updateElementAccessExpression:$l,createElementAccessChain:__,updateElementAccessChain:Hs,createCallExpression:wr,updateCallExpression:Ql,createCallChain:s_,updateCallChain:kn,createNewExpression:ha,updateNewExpression:o_,createTaggedTemplateExpression:c_,updateTaggedTemplateExpression:Kl,createTypeAssertion:$s,updateTypeAssertion:Qs,createParenthesizedExpression:l_,updateParenthesizedExpression:Ks,createFunctionExpression:u_,updateFunctionExpression:Zs,createArrowFunction:p_,updateArrowFunction:eo,createDeleteExpression:f_,updateDeleteExpression:Zl,createTypeOfExpression:Kt,updateTypeOfExpression:eu,createVoidExpression:jn,updateVoidExpression:tu,createAwaitExpression:kr,updateAwaitExpression:Oi,createPrefixUnaryExpression:d_,updatePrefixUnaryExpression:ya,createPostfixUnaryExpression:m_,updatePostfixUnaryExpression:to,createBinaryExpression:h_,updateBinaryExpression:nu,createConditionalExpression:y_,updateConditionalExpression:ru,createTemplateExpression:Kn,updateTemplateExpression:ro,createTemplateHead:ba,createTemplateMiddle:b_,createTemplateTail:iu,createNoSubstitutionTemplateLiteral:ao,createTemplateLiteralLikeNode:oi,createYieldExpression:_o,updateYieldExpression:au,createSpreadElement:so,updateSpreadElement:_u,createClassExpression:oo,updateClassExpression:Ji,createOmittedExpression:su,createExpressionWithTypeArguments:co,updateExpressionWithTypeArguments:En,createAsExpression:va,updateAsExpression:lo,createNonNullExpression:uo,updateNonNullExpression:v_,createSatisfiesExpression:po,updateSatisfiesExpression:x_,createNonNullChain:Ln,updateNonNullChain:fo,createMetaProperty:xa,updateMetaProperty:pr,createTemplateSpan:ji,updateTemplateSpan:mo,createSemicolonClassElement:ho,createBlock:ci,updateBlock:yo,createVariableStatement:go,updateVariableStatement:bo,createEmptyStatement:T_,createExpressionStatement:Li,updateExpressionStatement:ou,createIfStatement:S_,updateIfStatement:cu,createDoStatement:w_,updateDoStatement:lu,createWhileStatement:vo,updateWhileStatement:uu,createForStatement:k_,updateForStatement:xo,createForInStatement:To,updateForInStatement:pu,createForOfStatement:So,updateForOfStatement:fu,createContinueStatement:wo,updateContinueStatement:ko,createBreakStatement:E_,updateBreakStatement:Eo,createReturnStatement:Ao,updateReturnStatement:Co,createWithStatement:A_,updateWithStatement:Do,createSwitchStatement:Wr,updateSwitchStatement:du,createLabeledStatement:Po,updateLabeledStatement:No,createThrowStatement:Io,updateThrowStatement:mu,createTryStatement:Oo,updateTryStatement:Mo,createDebuggerStatement:Jo,createVariableDeclaration:Ta,updateVariableDeclaration:hu,createVariableDeclarationList:C_,updateVariableDeclarationList:yu,createFunctionDeclaration:D_,updateFunctionDeclaration:jo,createClassDeclaration:P_,updateClassDeclaration:N_,createInterfaceDeclaration:Lo,updateInterfaceDeclaration:ct,createTypeAliasDeclaration:Er,updateTypeAliasDeclaration:I_,createEnumDeclaration:Ar,updateEnumDeclaration:Ro,createModuleDeclaration:At,updateModuleDeclaration:Cr,createModuleBlock:Ut,updateModuleBlock:bu,createCaseBlock:Uo,updateCaseBlock:vu,createNamespaceExportDeclaration:O_,updateNamespaceExportDeclaration:xu,createImportEqualsDeclaration:Bo,updateImportEqualsDeclaration:qo,createImportDeclaration:zo,updateImportDeclaration:Fo,createImportClause:M_,updateImportClause:Vo,createAssertClause:Wo,updateAssertClause:Sa,createAssertEntry:J_,updateAssertEntry:Go,createImportTypeAssertionContainer:j_,updateImportTypeAssertionContainer:Su,createImportAttributes:wa,updateImportAttributes:wu,createImportAttribute:L_,updateImportAttribute:ku,createNamespaceImport:Yo,updateNamespaceImport:Eu,createNamespaceExport:Ho,updateNamespaceExport:Au,createNamedImports:R_,updateNamedImports:Gr,createImportSpecifier:Xo,updateImportSpecifier:$o,createExportAssignment:li,updateExportAssignment:U_,createExportDeclaration:B_,updateExportDeclaration:ui,createNamedExports:q_,updateNamedExports:Qo,createExportSpecifier:z_,updateExportSpecifier:Du,createMissingDeclaration:Ko,createExternalModuleReference:Zo,updateExternalModuleReference:ec,get createJSDocAllType(){return l(312)},get createJSDocUnknownType(){return l(313)},get createJSDocNonNullableType(){return k(315)},get updateJSDocNonNullableType(){return v(315)},get createJSDocNullableType(){return k(314)},get updateJSDocNullableType(){return v(314)},get createJSDocOptionalType(){return Z(316)},get updateJSDocOptionalType(){return f(316)},get createJSDocVariadicType(){return Z(318)},get updateJSDocVariadicType(){return f(318)},get createJSDocNamepathType(){return Z(319)},get updateJSDocNamepathType(){return f(319)},createJSDocFunctionType:nc,updateJSDocFunctionType:Ou,createJSDocTypeLiteral:rc,updateJSDocTypeLiteral:Mu,createJSDocTypeExpression:ka,updateJSDocTypeExpression:Ju,createJSDocSignature:ic,updateJSDocSignature:Ea,createJSDocTemplateTag:V_,updateJSDocTemplateTag:W_,createJSDocTypedefTag:ac,updateJSDocTypedefTag:_c,createJSDocParameterTag:sc,updateJSDocParameterTag:ju,createJSDocPropertyTag:G_,updateJSDocPropertyTag:Lu,createJSDocCallbackTag:Y_,updateJSDocCallbackTag:Ru,createJSDocOverloadTag:Aa,updateJSDocOverloadTag:oc,createJSDocAugmentsTag:fi,updateJSDocAugmentsTag:Uu,createJSDocImplementsTag:Yr,updateJSDocImplementsTag:Gu,createJSDocSeeTag:Ri,updateJSDocSeeTag:Bu,createJSDocImportTag:X_,updateJSDocImportTag:hc,createJSDocNameReference:cc,updateJSDocNameReference:qu,createJSDocMemberName:lc,updateJSDocMemberName:zu,createJSDocLink:H_,updateJSDocLink:Fu,createJSDocLinkCode:uc,updateJSDocLinkCode:Vu,createJSDocLinkPlain:pc,updateJSDocLinkPlain:Wu,get createJSDocTypeTag(){return re(344)},get updateJSDocTypeTag(){return be(344)},get createJSDocReturnTag(){return re(342)},get updateJSDocReturnTag(){return be(342)},get createJSDocThisTag(){return re(343)},get updateJSDocThisTag(){return be(343)},get createJSDocAuthorTag(){return w(330)},get updateJSDocAuthorTag(){return J(330)},get createJSDocClassTag(){return w(332)},get updateJSDocClassTag(){return J(332)},get createJSDocPublicTag(){return w(333)},get updateJSDocPublicTag(){return J(333)},get createJSDocPrivateTag(){return w(334)},get updateJSDocPrivateTag(){return J(334)},get createJSDocProtectedTag(){return w(335)},get updateJSDocProtectedTag(){return J(335)},get createJSDocReadonlyTag(){return w(336)},get updateJSDocReadonlyTag(){return J(336)},get createJSDocOverrideTag(){return w(337)},get updateJSDocOverrideTag(){return J(337)},get createJSDocDeprecatedTag(){return w(331)},get updateJSDocDeprecatedTag(){return J(331)},get createJSDocThrowsTag(){return re(349)},get updateJSDocThrowsTag(){return be(349)},get createJSDocSatisfiesTag(){return re(350)},get updateJSDocSatisfiesTag(){return be(350)},createJSDocEnumTag:Ca,updateJSDocEnumTag:$u,createJSDocUnknownTag:mc,updateJSDocUnknownTag:Xu,createJSDocText:yc,updateJSDocText:Da,createJSDocComment:$_,updateJSDocComment:Qu,createJsxElement:gc,updateJsxElement:Ku,createJsxSelfClosingElement:Pa,updateJsxSelfClosingElement:bc,createJsxOpeningElement:Q_,updateJsxOpeningElement:K_,createJsxClosingElement:Zt,updateJsxClosingElement:vc,createJsxFragment:Z_,createJsxText:Ui,updateJsxText:ep,createJsxOpeningFragment:tp,createJsxJsxClosingFragment:np,updateJsxFragment:Zu,createJsxAttribute:Bi,updateJsxAttribute:rp,createJsxAttributes:xc,updateJsxAttributes:ip,createJsxSpreadAttribute:Tc,updateJsxSpreadAttribute:es,createJsxExpression:di,updateJsxExpression:ap,createJsxNamespacedName:Na,updateJsxNamespacedName:Sc,createCaseClause:wc,updateCaseClause:qi,createDefaultClause:ts,updateDefaultClause:_p,createHeritageClause:kc,updateHeritageClause:Ec,createCatchClause:ns,updateCatchClause:Ac,createPropertyAssignment:Dr,updatePropertyAssignment:Cc,createShorthandPropertyAssignment:Dc,updateShorthandPropertyAssignment:op,createSpreadAssignment:rs,updateSpreadAssignment:Un,createEnumMember:is,updateEnumMember:cp,createSourceFile:lp,updateSourceFile:Mc,createRedirectedSourceFile:Nc,createBundle:Jc,updateBundle:pp,createSyntheticExpression:Ia,createSyntaxList:jc,createNotEmittedStatement:fp,createPartiallyEmittedExpression:Lc,updatePartiallyEmittedExpression:Rc,createCommaListExpression:_s,updateCommaListExpression:Uc,createSyntheticReferenceExpression:ss,updateSyntheticReferenceExpression:Bc,cloneNode:os,get createComma(){return g(28)},get createAssignment(){return g(64)},get createLogicalOr(){return g(57)},get createLogicalAnd(){return g(56)},get createBitwiseOr(){return g(52)},get createBitwiseXor(){return g(53)},get createBitwiseAnd(){return g(51)},get createStrictEquality(){return g(37)},get createStrictInequality(){return g(38)},get createEquality(){return g(35)},get createInequality(){return g(36)},get createLessThan(){return g(30)},get createLessThanEquals(){return g(33)},get createGreaterThan(){return g(32)},get createGreaterThanEquals(){return g(34)},get createLeftShift(){return g(48)},get createRightShift(){return g(49)},get createUnsignedRightShift(){return g(50)},get createAdd(){return g(40)},get createSubtract(){return g(41)},get createMultiply(){return g(42)},get createDivide(){return g(44)},get createModulo(){return g(45)},get createExponent(){return g(43)},get createPrefixPlus(){return E(40)},get createPrefixMinus(){return E(41)},get createPrefixIncrement(){return E(46)},get createPrefixDecrement(){return E(47)},get createBitwiseNot(){return E(55)},get createLogicalNot(){return E(54)},get createPostfixIncrement(){return C(46)},get createPostfixDecrement(){return C(47)},createImmediatelyInvokedFunctionExpression:yp,createImmediatelyInvokedArrowFunction:gp,createVoidZero:mi,createExportDefault:Fc,createExternalModuleExport:bp,createTypeCheck:cs,createIsNotTypeCheck:vp,createMethodCall:Hr,createGlobalMethodCall:zi,createFunctionBindCall:xp,createFunctionCallCall:Tp,createFunctionApplyCall:Sp,createArraySliceCall:Fi,createArrayConcatCall:wp,createObjectDefinePropertyCall:Vc,createObjectGetOwnPropertyDescriptorCall:kp,createReflectGetCall:Ep,createReflectSetCall:Wc,createPropertyDescriptor:Ap,createCallBinding:p,createAssignmentTargetWrapper:m,inlineExpressions:y,getInternalName:N,getLocalName:$,getExportName:_e,getDeclarationName:ee,getNamespaceMemberName:K,getExternalModuleOrNamespaceExportName:le,restoreOuterExpressions:ls,restoreEnclosingLabel:us,createUseStrictPrologue:De,copyPrologue:Ue,copyStandardPrologue:Yt,copyCustomPrologue:un,ensureUseStrict:fr,liftToBlock:dr,mergeLexicalEnvironment:Xr,replaceModifiers:Dp,replaceDecoratorsAndModifiers:Pp,replacePropertyName:Np};return zn($b,n=>n(he)),he;function me(n,i){if(n===void 0||n===Ot)n=[];else if(Si(n)){if(i===void 0||n.hasTrailingComma===i)return n.transformFlags===void 0&&pm(n),B.attachNodeArrayDebugInfo(n),n;let d=n.slice();return d.pos=n.pos,d.end=n.end,d.hasTrailingComma=i,d.transformFlags=n.transformFlags,B.attachNodeArrayDebugInfo(d),d}let _=n.length,c=_>=1&&_<=4?n.slice():n;return c.pos=-1,c.end=-1,c.hasTrailingComma=!!i,c.transformFlags=0,pm(c),B.attachNodeArrayDebugInfo(c),c}function O(n){return t.createBaseNode(n)}function ae(n){let i=O(n);return i.symbol=void 0,i.localSymbol=void 0,i}function ve(n,i){return n!==i&&(n.typeArguments=i.typeArguments),R(n,i)}function X(n,i=0){let _=typeof n=="number"?n+"":n;B.assert(_.charCodeAt(0)!==45,"Negative numbers should be created in combination with createPrefixUnaryExpression");let c=ae(9);return c.text=_,c.numericLiteralFlags=i,i&384&&(c.transformFlags|=1024),c}function oe(n){let i=nn(10);return i.text=typeof n=="string"?n:zb(n)+"n",i.transformFlags|=32,i}function G(n,i){let _=ae(11);return _.text=n,_.singleQuote=i,_}function ht(n,i,_){let c=G(n,i);return c.hasExtendedUnicodeEscape=_,_&&(c.transformFlags|=1024),c}function ir(n){let i=G(ib(n),void 0);return i.textSourceNode=n,i}function xn(n){let i=nn(14);return i.text=n,i}function ar(n,i){switch(n){case 9:return X(i,0);case 10:return oe(i);case 11:return ht(i,void 0);case 12:return Ui(i,!1);case 13:return Ui(i,!0);case 14:return xn(i);case 15:return oi(n,i,void 0,0)}}function Tn(n){let i=t.createBaseIdentifierNode(80);return i.escapedText=n,i.jsDoc=void 0,i.flowNode=void 0,i.symbol=void 0,i}function On(n,i,_,c){let d=Tn(Ra(n));return setIdentifierAutoGenerate(d,{flags:i,id:Zc,prefix:_,suffix:c}),Zc++,d}function Ve(n,i,_){i===void 0&&n&&(i=a1(n)),i===80&&(i=void 0);let c=Tn(Ra(n));return _&&(c.flags|=256),c.escapedText==="await"&&(c.transformFlags|=67108864),c.flags&256&&(c.transformFlags|=1024),c}function _r(n,i,_,c){let d=1;i&&(d|=8);let T=On("",d,_,c);return n&&n(T),T}function Rr(n){let i=2;return n&&(i|=8),On("",i,void 0,void 0)}function Mt(n,i=0,_,c){return B.assert(!(i&7),"Argument out of range: flags"),B.assert((i&48)!==32,"GeneratedIdentifierFlags.FileLevel cannot be set without also setting GeneratedIdentifierFlags.Optimistic"),On(n,3|i,_,c)}function Vn(n,i=0,_,c){B.assert(!(i&7),"Argument out of range: flags");let d=n?ef(n)?sf(!1,_,n,c,Nn):`generated@${getNodeId(n)}`:"";(_||c)&&(i|=16);let T=On(d,4|i,_,c);return T.original=n,T}function Mn(n){let i=t.createBasePrivateIdentifierNode(81);return i.escapedText=n,i.transformFlags|=16777216,i}function Jt(n){return ol(n,"#")||B.fail("First character of private identifier must be #: "+n),Mn(Ra(n))}function xt(n,i,_,c){let d=Mn(Ra(n));return setIdentifierAutoGenerate(d,{flags:i,id:Zc,prefix:_,suffix:c}),Zc++,d}function Qe(n,i,_){n&&!ol(n,"#")&&B.fail("First character of private identifier must be #: "+n);let c=8|(n?3:1);return xt(n??"",c,i,_)}function Wn(n,i,_){let c=ef(n)?sf(!0,i,n,_,Nn):`#generated@${getNodeId(n)}`,T=xt(c,4|(i||_?16:0),i,_);return T.original=n,T}function nn(n){return t.createBaseTokenNode(n)}function ut(n){B.assert(n>=0&&n<=165,"Invalid token"),B.assert(n<=15||n>=18,"Invalid token. Use 'createTemplateLiteralLikeNode' to create template literals."),B.assert(n<=9||n>=15,"Invalid token. Use 'createLiteralLikeNode' to create literals."),B.assert(n!==80,"Invalid token. Use 'createIdentifier' to create identifiers");let i=nn(n),_=0;switch(n){case 134:_=384;break;case 160:_=4;break;case 125:case 123:case 124:case 148:case 128:case 138:case 87:case 133:case 150:case 163:case 146:case 151:case 103:case 147:case 164:case 154:case 136:case 155:case 116:case 159:case 157:_=1;break;case 108:_=134218752,i.flowNode=void 0;break;case 126:_=1024;break;case 129:_=16777216;break;case 110:_=16384,i.flowNode=void 0;break}return _&&(i.transformFlags|=_),i}function st(){return ut(108)}function Vt(){return ut(110)}function jt(){return ut(106)}function pt(){return ut(112)}function sr(){return ut(97)}function yt(n){return ut(n)}function Sn(n){let i=[];return n&32&&i.push(yt(95)),n&128&&i.push(yt(138)),n&2048&&i.push(yt(90)),n&4096&&i.push(yt(87)),n&1&&i.push(yt(125)),n&2&&i.push(yt(123)),n&4&&i.push(yt(124)),n&64&&i.push(yt(128)),n&256&&i.push(yt(126)),n&16&&i.push(yt(164)),n&8&&i.push(yt(148)),n&512&&i.push(yt(129)),n&1024&&i.push(yt(134)),n&8192&&i.push(yt(103)),n&16384&&i.push(yt(147)),i.length?i:void 0}function vt(n,i){let _=O(166);return _.left=n,_.right=nt(i),_.transformFlags|=F(_.left)|Ba(_.right),_.flowNode=void 0,_}function dn(n,i,_){return n.left!==i||n.right!==_?R(vt(i,_),n):n}function rt(n){let i=O(167);return i.expression=o().parenthesizeExpressionOfComputedPropertyName(n),i.transformFlags|=F(i.expression)|1024|131072,i}function Wt(n,i){return n.expression!==i?R(rt(i),n):n}function on(n,i,_,c){let d=ae(168);return d.modifiers=Pe(n),d.name=nt(i),d.constraint=_,d.default=c,d.transformFlags=1,d.expression=void 0,d.jsDoc=void 0,d}function or(n,i,_,c,d){return n.modifiers!==i||n.name!==_||n.constraint!==c||n.default!==d?R(on(i,_,c,d),n):n}function vr(n,i,_,c,d,T){let q=ae(169);return q.modifiers=Pe(n),q.dotDotDotToken=i,q.name=nt(_),q.questionToken=c,q.type=d,q.initializer=pn(T),_b(q.name)?q.transformFlags=1:q.transformFlags=Ae(q.modifiers)|F(q.dotDotDotToken)|Bn(q.name)|F(q.questionToken)|F(q.initializer)|(q.questionToken??q.type?1:0)|(q.dotDotDotToken??q.initializer?1024:0)|(qn(q.modifiers)&31?8192:0),q.jsDoc=void 0,q}function xr(n,i,_,c,d,T,q){return n.modifiers!==i||n.dotDotDotToken!==_||n.name!==c||n.questionToken!==d||n.type!==T||n.initializer!==q?R(vr(i,_,c,d,T,q),n):n}function Gn(n){let i=O(170);return i.expression=o().parenthesizeLeftSideOfAccess(n,!1),i.transformFlags|=F(i.expression)|1|8192|33554432,i}function Yn(n,i){return n.expression!==i?R(Gn(i),n):n}function Ur(n,i,_,c){let d=ae(171);return d.modifiers=Pe(n),d.name=nt(i),d.type=c,d.questionToken=_,d.transformFlags=1,d.initializer=void 0,d.jsDoc=void 0,d}function Hn(n,i,_,c,d){return n.modifiers!==i||n.name!==_||n.questionToken!==c||n.type!==d?Ne(Ur(i,_,c,d),n):n}function Ne(n,i){return n!==i&&(n.initializer=i.initializer),R(n,i)}function Tr(n,i,_,c,d){let T=ae(172);T.modifiers=Pe(n),T.name=nt(i),T.questionToken=_&&dm(_)?_:void 0,T.exclamationToken=_&&fm(_)?_:void 0,T.type=c,T.initializer=pn(d);let q=T.flags&33554432||qn(T.modifiers)&128;return T.transformFlags=Ae(T.modifiers)|Bn(T.name)|F(T.initializer)|(q||T.questionToken||T.exclamationToken||T.type?1:0)|(wl(T.name)||qn(T.modifiers)&256&&T.initializer?8192:0)|16777216,T.jsDoc=void 0,T}function j(n,i,_,c,d,T){return n.modifiers!==i||n.name!==_||n.questionToken!==(c!==void 0&&dm(c)?c:void 0)||n.exclamationToken!==(c!==void 0&&fm(c)?c:void 0)||n.type!==d||n.initializer!==T?R(Tr(i,_,c,d,T),n):n}function se(n,i,_,c,d,T){let q=ae(173);return q.modifiers=Pe(n),q.name=nt(i),q.questionToken=_,q.typeParameters=Pe(c),q.parameters=Pe(d),q.type=T,q.transformFlags=1,q.jsDoc=void 0,q.locals=void 0,q.nextContainer=void 0,q.typeArguments=void 0,q}function fe(n,i,_,c,d,T,q){return n.modifiers!==i||n.name!==_||n.questionToken!==c||n.typeParameters!==d||n.parameters!==T||n.type!==q?ve(se(i,_,c,d,T,q),n):n}function xe(n,i,_,c,d,T,q,pe){let Le=ae(174);if(Le.modifiers=Pe(n),Le.asteriskToken=i,Le.name=nt(_),Le.questionToken=c,Le.exclamationToken=void 0,Le.typeParameters=Pe(d),Le.parameters=me(T),Le.type=q,Le.body=pe,!Le.body)Le.transformFlags=1;else{let en=qn(Le.modifiers)&1024,hr=!!Le.asteriskToken,yr=en&&hr;Le.transformFlags=Ae(Le.modifiers)|F(Le.asteriskToken)|Bn(Le.name)|F(Le.questionToken)|Ae(Le.typeParameters)|Ae(Le.parameters)|F(Le.type)|F(Le.body)&-67108865|(yr?128:en?256:hr?2048:0)|(Le.questionToken||Le.typeParameters||Le.type?1:0)|1024}return Le.typeArguments=void 0,Le.jsDoc=void 0,Le.locals=void 0,Le.nextContainer=void 0,Le.flowNode=void 0,Le.endFlowNode=void 0,Le.returnFlowNode=void 0,Le}function Xe(n,i,_,c,d,T,q,pe,Le){return n.modifiers!==i||n.asteriskToken!==_||n.name!==c||n.questionToken!==d||n.typeParameters!==T||n.parameters!==q||n.type!==pe||n.body!==Le?Ke(xe(i,_,c,d,T,q,pe,Le),n):n}function Ke(n,i){return n!==i&&(n.exclamationToken=i.exclamationToken),R(n,i)}function ot(n){let i=ae(175);return i.body=n,i.transformFlags=F(n)|16777216,i.modifiers=void 0,i.jsDoc=void 0,i.locals=void 0,i.nextContainer=void 0,i.endFlowNode=void 0,i.returnFlowNode=void 0,i}function Pt(n,i){return n.body!==i?Tt(ot(i),n):n}function Tt(n,i){return n!==i&&(n.modifiers=i.modifiers),R(n,i)}function ft(n,i,_){let c=ae(176);return c.modifiers=Pe(n),c.parameters=me(i),c.body=_,c.transformFlags=Ae(c.modifiers)|Ae(c.parameters)|F(c.body)&-67108865|1024,c.typeParameters=void 0,c.type=void 0,c.typeArguments=void 0,c.jsDoc=void 0,c.locals=void 0,c.nextContainer=void 0,c.endFlowNode=void 0,c.returnFlowNode=void 0,c}function Br(n,i,_,c){return n.modifiers!==i||n.parameters!==_||n.body!==c?Sr(ft(i,_,c),n):n}function Sr(n,i){return n!==i&&(n.typeParameters=i.typeParameters,n.type=i.type),ve(n,i)}function Jn(n,i,_,c,d){let T=ae(177);return T.modifiers=Pe(n),T.name=nt(i),T.parameters=me(_),T.type=c,T.body=d,T.body?T.transformFlags=Ae(T.modifiers)|Bn(T.name)|Ae(T.parameters)|F(T.type)|F(T.body)&-67108865|(T.type?1:0):T.transformFlags=1,T.typeArguments=void 0,T.typeParameters=void 0,T.jsDoc=void 0,T.locals=void 0,T.nextContainer=void 0,T.flowNode=void 0,T.endFlowNode=void 0,T.returnFlowNode=void 0,T}function Xn(n,i,_,c,d,T){return n.modifiers!==i||n.name!==_||n.parameters!==c||n.type!==d||n.body!==T?Pi(Jn(i,_,c,d,T),n):n}function Pi(n,i){return n!==i&&(n.typeParameters=i.typeParameters),ve(n,i)}function z(n,i,_,c){let d=ae(178);return d.modifiers=Pe(n),d.name=nt(i),d.parameters=me(_),d.body=c,d.body?d.transformFlags=Ae(d.modifiers)|Bn(d.name)|Ae(d.parameters)|F(d.body)&-67108865|(d.type?1:0):d.transformFlags=1,d.typeArguments=void 0,d.typeParameters=void 0,d.type=void 0,d.jsDoc=void 0,d.locals=void 0,d.nextContainer=void 0,d.flowNode=void 0,d.endFlowNode=void 0,d.returnFlowNode=void 0,d}function V(n,i,_,c,d){return n.modifiers!==i||n.name!==_||n.parameters!==c||n.body!==d?Q(z(i,_,c,d),n):n}function Q(n,i){return n!==i&&(n.typeParameters=i.typeParameters,n.type=i.type),ve(n,i)}function Te(n,i,_){let c=ae(179);return c.typeParameters=Pe(n),c.parameters=Pe(i),c.type=_,c.transformFlags=1,c.jsDoc=void 0,c.locals=void 0,c.nextContainer=void 0,c.typeArguments=void 0,c}function Se(n,i,_,c){return n.typeParameters!==i||n.parameters!==_||n.type!==c?ve(Te(i,_,c),n):n}function Ce(n,i,_){let c=ae(180);return c.typeParameters=Pe(n),c.parameters=Pe(i),c.type=_,c.transformFlags=1,c.jsDoc=void 0,c.locals=void 0,c.nextContainer=void 0,c.typeArguments=void 0,c}function ye(n,i,_,c){return n.typeParameters!==i||n.parameters!==_||n.type!==c?ve(Ce(i,_,c),n):n}function Ye(n,i,_){let c=ae(181);return c.modifiers=Pe(n),c.parameters=Pe(i),c.type=_,c.transformFlags=1,c.jsDoc=void 0,c.locals=void 0,c.nextContainer=void 0,c.typeArguments=void 0,c}function $e(n,i,_,c){return n.parameters!==_||n.type!==c||n.modifiers!==i?ve(Ye(i,_,c),n):n}function Ze(n,i){let _=O(204);return _.type=n,_.literal=i,_.transformFlags=1,_}function Ee(n,i,_){return n.type!==i||n.literal!==_?R(Ze(i,_),n):n}function wn(n){return ut(n)}function at(n,i,_){let c=O(182);return c.assertsModifier=n,c.parameterName=nt(i),c.type=_,c.transformFlags=1,c}function mn(n,i,_,c){return n.assertsModifier!==i||n.parameterName!==_||n.type!==c?R(at(i,_,c),n):n}function ii(n,i){let _=O(183);return _.typeName=nt(n),_.typeArguments=i&&o().parenthesizeTypeArguments(me(i)),_.transformFlags=1,_}function M(n,i,_){return n.typeName!==i||n.typeArguments!==_?R(ii(i,_),n):n}function Be(n,i,_){let c=ae(184);return c.typeParameters=Pe(n),c.parameters=Pe(i),c.type=_,c.transformFlags=1,c.modifiers=void 0,c.jsDoc=void 0,c.locals=void 0,c.nextContainer=void 0,c.typeArguments=void 0,c}function u(n,i,_,c){return n.typeParameters!==i||n.parameters!==_||n.type!==c?Oe(Be(i,_,c),n):n}function Oe(n,i){return n!==i&&(n.modifiers=i.modifiers),ve(n,i)}function Me(...n){return n.length===4?U(...n):n.length===3?qe(...n):B.fail("Incorrect number of arguments specified.")}function U(n,i,_,c){let d=ae(185);return d.modifiers=Pe(n),d.typeParameters=Pe(i),d.parameters=Pe(_),d.type=c,d.transformFlags=1,d.jsDoc=void 0,d.locals=void 0,d.nextContainer=void 0,d.typeArguments=void 0,d}function qe(n,i,_){return U(void 0,n,i,_)}function cn(...n){return n.length===5?Fe(...n):n.length===4?He(...n):B.fail("Incorrect number of arguments specified.")}function Fe(n,i,_,c,d){return n.modifiers!==i||n.typeParameters!==_||n.parameters!==c||n.type!==d?ve(Me(i,_,c,d),n):n}function He(n,i,_,c){return Fe(n,n.modifiers,i,_,c)}function Nt(n,i){let _=O(186);return _.exprName=n,_.typeArguments=i&&o().parenthesizeTypeArguments(i),_.transformFlags=1,_}function Et(n,i,_){return n.exprName!==i||n.typeArguments!==_?R(Nt(i,_),n):n}function It(n){let i=ae(187);return i.members=me(n),i.transformFlags=1,i}function Gt(n,i){return n.members!==i?R(It(i),n):n}function $n(n){let i=O(188);return i.elementType=o().parenthesizeNonArrayTypeOfPostfixType(n),i.transformFlags=1,i}function Ni(n,i){return n.elementType!==i?R($n(i),n):n}function hn(n){let i=O(189);return i.elements=me(o().parenthesizeElementTypesOfTupleType(n)),i.transformFlags=1,i}function Y(n,i){return n.elements!==i?R(hn(i),n):n}function de(n,i,_,c){let d=ae(202);return d.dotDotDotToken=n,d.name=i,d.questionToken=_,d.type=c,d.transformFlags=1,d.jsDoc=void 0,d}function ze(n,i,_,c,d){return n.dotDotDotToken!==i||n.name!==_||n.questionToken!==c||n.type!==d?R(de(i,_,c,d),n):n}function ke(n){let i=O(190);return i.type=o().parenthesizeTypeOfOptionalType(n),i.transformFlags=1,i}function L(n,i){return n.type!==i?R(ke(i),n):n}function gt(n){let i=O(191);return i.type=n,i.transformFlags=1,i}function St(n,i){return n.type!==i?R(gt(i),n):n}function Lt(n,i,_){let c=O(n);return c.types=he.createNodeArray(_(i)),c.transformFlags=1,c}function yn(n,i,_){return n.types!==i?R(Lt(n.kind,i,_),n):n}function Fl(n){return Lt(192,n,o().parenthesizeConstituentTypesOfUnionType)}function zs(n,i){return yn(n,i,o().parenthesizeConstituentTypesOfUnionType)}function qr(n){return Lt(193,n,o().parenthesizeConstituentTypesOfIntersectionType)}function Je(n,i){return yn(n,i,o().parenthesizeConstituentTypesOfIntersectionType)}function mt(n,i,_,c){let d=O(194);return d.checkType=o().parenthesizeCheckTypeOfConditionalType(n),d.extendsType=o().parenthesizeExtendsTypeOfConditionalType(i),d.trueType=_,d.falseType=c,d.transformFlags=1,d.locals=void 0,d.nextContainer=void 0,d}function Vl(n,i,_,c,d){return n.checkType!==i||n.extendsType!==_||n.trueType!==c||n.falseType!==d?R(mt(i,_,c,d),n):n}function Qn(n){let i=O(195);return i.typeParameter=n,i.transformFlags=1,i}function Wl(n,i){return n.typeParameter!==i?R(Qn(i),n):n}function Qt(n,i){let _=O(203);return _.head=n,_.templateSpans=me(i),_.transformFlags=1,_}function Gl(n,i,_){return n.head!==i||n.templateSpans!==_?R(Qt(i,_),n):n}function cr(n,i,_,c,d=!1){let T=O(205);return T.argument=n,T.attributes=i,T.assertions&&T.assertions.assertClause&&T.attributes&&(T.assertions.assertClause=T.attributes),T.qualifier=_,T.typeArguments=c&&o().parenthesizeTypeArguments(c),T.isTypeOf=d,T.transformFlags=1,T}function fa(n,i,_,c,d,T=n.isTypeOf){return n.argument!==i||n.attributes!==_||n.qualifier!==c||n.typeArguments!==d||n.isTypeOf!==T?R(cr(i,_,c,d,T),n):n}function rn(n){let i=O(196);return i.type=n,i.transformFlags=1,i}function Dt(n,i){return n.type!==i?R(rn(i),n):n}function D(){let n=O(197);return n.transformFlags=1,n}function an(n,i){let _=O(198);return _.operator=n,_.type=n===148?o().parenthesizeOperandOfReadonlyTypeOperator(i):o().parenthesizeOperandOfTypeOperator(i),_.transformFlags=1,_}function zr(n,i){return n.type!==i?R(an(n.operator,i),n):n}function lr(n,i){let _=O(199);return _.objectType=o().parenthesizeNonArrayTypeOfPostfixType(n),_.indexType=i,_.transformFlags=1,_}function r_(n,i,_){return n.objectType!==i||n.indexType!==_?R(lr(i,_),n):n}function wt(n,i,_,c,d,T){let q=ae(200);return q.readonlyToken=n,q.typeParameter=i,q.nameType=_,q.questionToken=c,q.type=d,q.members=T&&me(T),q.transformFlags=1,q.locals=void 0,q.nextContainer=void 0,q}function Rt(n,i,_,c,d,T,q){return n.readonlyToken!==i||n.typeParameter!==_||n.nameType!==c||n.questionToken!==d||n.type!==T||n.members!==q?R(wt(i,_,c,d,T,q),n):n}function ai(n){let i=O(201);return i.literal=n,i.transformFlags=1,i}function Fr(n,i){return n.literal!==i?R(ai(i),n):n}function Fs(n){let i=O(206);return i.elements=me(n),i.transformFlags|=Ae(i.elements)|1024|524288,i.transformFlags&32768&&(i.transformFlags|=65664),i}function Yl(n,i){return n.elements!==i?R(Fs(i),n):n}function Vr(n){let i=O(207);return i.elements=me(n),i.transformFlags|=Ae(i.elements)|1024|524288,i}function Hl(n,i){return n.elements!==i?R(Vr(i),n):n}function da(n,i,_,c){let d=ae(208);return d.dotDotDotToken=n,d.propertyName=nt(i),d.name=nt(_),d.initializer=pn(c),d.transformFlags|=F(d.dotDotDotToken)|Bn(d.propertyName)|Bn(d.name)|F(d.initializer)|(d.dotDotDotToken?32768:0)|1024,d.flowNode=void 0,d}function _i(n,i,_,c,d){return n.propertyName!==_||n.dotDotDotToken!==i||n.name!==c||n.initializer!==d?R(da(i,_,c,d),n):n}function i_(n,i){let _=O(209),c=n&&Ki(n),d=me(n,c&&ch(c)?!0:void 0);return _.elements=o().parenthesizeExpressionsOfCommaDelimitedList(d),_.multiLine=i,_.transformFlags|=Ae(_.elements),_}function Vs(n,i){return n.elements!==i?R(i_(i,n.multiLine),n):n}function Ii(n,i){let _=ae(210);return _.properties=me(n),_.multiLine=i,_.transformFlags|=Ae(_.properties),_.jsDoc=void 0,_}function Xl(n,i){return n.properties!==i?R(Ii(i,n.multiLine),n):n}function Ws(n,i,_){let c=ae(211);return c.expression=n,c.questionDotToken=i,c.name=_,c.transformFlags=F(c.expression)|F(c.questionDotToken)|(et(c.name)?Ba(c.name):F(c.name)|536870912),c.jsDoc=void 0,c.flowNode=void 0,c}function ur(n,i){let _=Ws(o().parenthesizeLeftSideOfAccess(n,!1),void 0,nt(i));return Fp(n)&&(_.transformFlags|=384),_}function Gs(n,i,_){return Zg(n)?Ys(n,i,n.questionDotToken,Ir(_,et)):n.expression!==i||n.name!==_?R(ur(i,_),n):n}function si(n,i,_){let c=Ws(o().parenthesizeLeftSideOfAccess(n,!0),i,nt(_));return c.flags|=64,c.transformFlags|=32,c}function Ys(n,i,_,c){return B.assert(!!(n.flags&64),"Cannot update a PropertyAccessExpression using updatePropertyAccessChain. Use updatePropertyAccess instead."),n.expression!==i||n.questionDotToken!==_||n.name!==c?R(si(i,_,c),n):n}function ma(n,i,_){let c=ae(212);return c.expression=n,c.questionDotToken=i,c.argumentExpression=_,c.transformFlags|=F(c.expression)|F(c.questionDotToken)|F(c.argumentExpression),c.jsDoc=void 0,c.flowNode=void 0,c}function a_(n,i){let _=ma(o().parenthesizeLeftSideOfAccess(n,!1),void 0,mr(i));return Fp(n)&&(_.transformFlags|=384),_}function $l(n,i,_){return e2(n)?Hs(n,i,n.questionDotToken,_):n.expression!==i||n.argumentExpression!==_?R(a_(i,_),n):n}function __(n,i,_){let c=ma(o().parenthesizeLeftSideOfAccess(n,!0),i,mr(_));return c.flags|=64,c.transformFlags|=32,c}function Hs(n,i,_,c){return B.assert(!!(n.flags&64),"Cannot update a ElementAccessExpression using updateElementAccessChain. Use updateElementAccess instead."),n.expression!==i||n.questionDotToken!==_||n.argumentExpression!==c?R(__(i,_,c),n):n}function Xs(n,i,_,c){let d=ae(213);return d.expression=n,d.questionDotToken=i,d.typeArguments=_,d.arguments=c,d.transformFlags|=F(d.expression)|F(d.questionDotToken)|Ae(d.typeArguments)|Ae(d.arguments),d.typeArguments&&(d.transformFlags|=1),am(d.expression)&&(d.transformFlags|=16384),d}function wr(n,i,_){let c=Xs(o().parenthesizeLeftSideOfAccess(n,!1),void 0,Pe(i),o().parenthesizeExpressionsOfCommaDelimitedList(me(_)));return _6(c.expression)&&(c.transformFlags|=8388608),c}function Ql(n,i,_,c){return Kd(n)?kn(n,i,n.questionDotToken,_,c):n.expression!==i||n.typeArguments!==_||n.arguments!==c?R(wr(i,_,c),n):n}function s_(n,i,_,c){let d=Xs(o().parenthesizeLeftSideOfAccess(n,!0),i,Pe(_),o().parenthesizeExpressionsOfCommaDelimitedList(me(c)));return d.flags|=64,d.transformFlags|=32,d}function kn(n,i,_,c,d){return B.assert(!!(n.flags&64),"Cannot update a CallExpression using updateCallChain. Use updateCall instead."),n.expression!==i||n.questionDotToken!==_||n.typeArguments!==c||n.arguments!==d?R(s_(i,_,c,d),n):n}function ha(n,i,_){let c=ae(214);return c.expression=o().parenthesizeExpressionOfNew(n),c.typeArguments=Pe(i),c.arguments=_?o().parenthesizeExpressionsOfCommaDelimitedList(_):void 0,c.transformFlags|=F(c.expression)|Ae(c.typeArguments)|Ae(c.arguments)|32,c.typeArguments&&(c.transformFlags|=1),c}function o_(n,i,_,c){return n.expression!==i||n.typeArguments!==_||n.arguments!==c?R(ha(i,_,c),n):n}function c_(n,i,_){let c=O(215);return c.tag=o().parenthesizeLeftSideOfAccess(n,!1),c.typeArguments=Pe(i),c.template=_,c.transformFlags|=F(c.tag)|Ae(c.typeArguments)|F(c.template)|1024,c.typeArguments&&(c.transformFlags|=1),ab(c.template)&&(c.transformFlags|=128),c}function Kl(n,i,_,c){return n.tag!==i||n.typeArguments!==_||n.template!==c?R(c_(i,_,c),n):n}function $s(n,i){let _=O(216);return _.expression=o().parenthesizeOperandOfPrefixUnary(i),_.type=n,_.transformFlags|=F(_.expression)|F(_.type)|1,_}function Qs(n,i,_){return n.type!==i||n.expression!==_?R($s(i,_),n):n}function l_(n){let i=O(217);return i.expression=n,i.transformFlags=F(i.expression),i.jsDoc=void 0,i}function Ks(n,i){return n.expression!==i?R(l_(i),n):n}function u_(n,i,_,c,d,T,q){let pe=ae(218);pe.modifiers=Pe(n),pe.asteriskToken=i,pe.name=nt(_),pe.typeParameters=Pe(c),pe.parameters=me(d),pe.type=T,pe.body=q;let Le=qn(pe.modifiers)&1024,en=!!pe.asteriskToken,hr=Le&&en;return pe.transformFlags=Ae(pe.modifiers)|F(pe.asteriskToken)|Bn(pe.name)|Ae(pe.typeParameters)|Ae(pe.parameters)|F(pe.type)|F(pe.body)&-67108865|(hr?128:Le?256:en?2048:0)|(pe.typeParameters||pe.type?1:0)|4194304,pe.typeArguments=void 0,pe.jsDoc=void 0,pe.locals=void 0,pe.nextContainer=void 0,pe.flowNode=void 0,pe.endFlowNode=void 0,pe.returnFlowNode=void 0,pe}function Zs(n,i,_,c,d,T,q,pe){return n.name!==c||n.modifiers!==i||n.asteriskToken!==_||n.typeParameters!==d||n.parameters!==T||n.type!==q||n.body!==pe?ve(u_(i,_,c,d,T,q,pe),n):n}function p_(n,i,_,c,d,T){let q=ae(219);q.modifiers=Pe(n),q.typeParameters=Pe(i),q.parameters=me(_),q.type=c,q.equalsGreaterThanToken=d??ut(39),q.body=o().parenthesizeConciseBodyOfArrowFunction(T);let pe=qn(q.modifiers)&1024;return q.transformFlags=Ae(q.modifiers)|Ae(q.typeParameters)|Ae(q.parameters)|F(q.type)|F(q.equalsGreaterThanToken)|F(q.body)&-67108865|(q.typeParameters||q.type?1:0)|(pe?16640:0)|1024,q.typeArguments=void 0,q.jsDoc=void 0,q.locals=void 0,q.nextContainer=void 0,q.flowNode=void 0,q.endFlowNode=void 0,q.returnFlowNode=void 0,q}function eo(n,i,_,c,d,T,q){return n.modifiers!==i||n.typeParameters!==_||n.parameters!==c||n.type!==d||n.equalsGreaterThanToken!==T||n.body!==q?ve(p_(i,_,c,d,T,q),n):n}function f_(n){let i=O(220);return i.expression=o().parenthesizeOperandOfPrefixUnary(n),i.transformFlags|=F(i.expression),i}function Zl(n,i){return n.expression!==i?R(f_(i),n):n}function Kt(n){let i=O(221);return i.expression=o().parenthesizeOperandOfPrefixUnary(n),i.transformFlags|=F(i.expression),i}function eu(n,i){return n.expression!==i?R(Kt(i),n):n}function jn(n){let i=O(222);return i.expression=o().parenthesizeOperandOfPrefixUnary(n),i.transformFlags|=F(i.expression),i}function tu(n,i){return n.expression!==i?R(jn(i),n):n}function kr(n){let i=O(223);return i.expression=o().parenthesizeOperandOfPrefixUnary(n),i.transformFlags|=F(i.expression)|256|128|2097152,i}function Oi(n,i){return n.expression!==i?R(kr(i),n):n}function d_(n,i){let _=O(224);return _.operator=n,_.operand=o().parenthesizeOperandOfPrefixUnary(i),_.transformFlags|=F(_.operand),(n===46||n===47)&&et(_.operand)&&!za(_.operand)&&!hm(_.operand)&&(_.transformFlags|=268435456),_}function ya(n,i){return n.operand!==i?R(d_(n.operator,i),n):n}function m_(n,i){let _=O(225);return _.operator=i,_.operand=o().parenthesizeOperandOfPostfixUnary(n),_.transformFlags|=F(_.operand),et(_.operand)&&!za(_.operand)&&!hm(_.operand)&&(_.transformFlags|=268435456),_}function to(n,i){return n.operand!==i?R(m_(i,n.operator),n):n}function h_(n,i,_){let c=ae(226),d=Pr(i),T=d.kind;return c.left=o().parenthesizeLeftSideOfBinary(T,n),c.operatorToken=d,c.right=o().parenthesizeRightSideOfBinary(T,c.left,_),c.transformFlags|=F(c.left)|F(c.operatorToken)|F(c.right),T===61?c.transformFlags|=32:T===64?Gf(c.left)?c.transformFlags|=5248|no(c.left):ah(c.left)&&(c.transformFlags|=5120|no(c.left)):T===43||T===68?c.transformFlags|=512:hb(T)&&(c.transformFlags|=16),T===103&&wi(c.left)&&(c.transformFlags|=536870912),c.jsDoc=void 0,c}function no(n){return wh(n)?65536:0}function nu(n,i,_,c){return n.left!==i||n.operatorToken!==_||n.right!==c?R(h_(i,_,c),n):n}function y_(n,i,_,c,d){let T=O(227);return T.condition=o().parenthesizeConditionOfConditionalExpression(n),T.questionToken=i??ut(58),T.whenTrue=o().parenthesizeBranchOfConditionalExpression(_),T.colonToken=c??ut(59),T.whenFalse=o().parenthesizeBranchOfConditionalExpression(d),T.transformFlags|=F(T.condition)|F(T.questionToken)|F(T.whenTrue)|F(T.colonToken)|F(T.whenFalse),T}function ru(n,i,_,c,d,T){return n.condition!==i||n.questionToken!==_||n.whenTrue!==c||n.colonToken!==d||n.whenFalse!==T?R(y_(i,_,c,d,T),n):n}function Kn(n,i){let _=O(228);return _.head=n,_.templateSpans=me(i),_.transformFlags|=F(_.head)|Ae(_.templateSpans)|1024,_}function ro(n,i,_){return n.head!==i||n.templateSpans!==_?R(Kn(i,_),n):n}function ga(n,i,_,c=0){B.assert(!(c&-7177),"Unsupported template flags.");let d;if(_!==void 0&&_!==i&&(d=Qb(n,_),typeof d=="object"))return B.fail("Invalid raw text");if(i===void 0){if(d===void 0)return B.fail("Arguments 'text' and 'rawText' may not both be undefined.");i=d}else d!==void 0&&B.assert(i===d,"Expected argument 'text' to be the normalized (i.e. 'cooked') version of argument 'rawText'.");return i}function io(n){let i=1024;return n&&(i|=128),i}function Mi(n,i,_,c){let d=nn(n);return d.text=i,d.rawText=_,d.templateFlags=c&7176,d.transformFlags=io(d.templateFlags),d}function g_(n,i,_,c){let d=ae(n);return d.text=i,d.rawText=_,d.templateFlags=c&7176,d.transformFlags=io(d.templateFlags),d}function oi(n,i,_,c){return n===15?g_(n,i,_,c):Mi(n,i,_,c)}function ba(n,i,_){return n=ga(16,n,i,_),oi(16,n,i,_)}function b_(n,i,_){return n=ga(16,n,i,_),oi(17,n,i,_)}function iu(n,i,_){return n=ga(16,n,i,_),oi(18,n,i,_)}function ao(n,i,_){return n=ga(16,n,i,_),g_(15,n,i,_)}function _o(n,i){B.assert(!n||!!i,"A `YieldExpression` with an asteriskToken must have an expression.");let _=O(229);return _.expression=i&&o().parenthesizeExpressionForDisallowedComma(i),_.asteriskToken=n,_.transformFlags|=F(_.expression)|F(_.asteriskToken)|1024|128|1048576,_}function au(n,i,_){return n.expression!==_||n.asteriskToken!==i?R(_o(i,_),n):n}function so(n){let i=O(230);return i.expression=o().parenthesizeExpressionForDisallowedComma(n),i.transformFlags|=F(i.expression)|1024|32768,i}function _u(n,i){return n.expression!==i?R(so(i),n):n}function oo(n,i,_,c,d){let T=ae(231);return T.modifiers=Pe(n),T.name=nt(i),T.typeParameters=Pe(_),T.heritageClauses=Pe(c),T.members=me(d),T.transformFlags|=Ae(T.modifiers)|Bn(T.name)|Ae(T.typeParameters)|Ae(T.heritageClauses)|Ae(T.members)|(T.typeParameters?1:0)|1024,T.jsDoc=void 0,T}function Ji(n,i,_,c,d,T){return n.modifiers!==i||n.name!==_||n.typeParameters!==c||n.heritageClauses!==d||n.members!==T?R(oo(i,_,c,d,T),n):n}function su(){return O(232)}function co(n,i){let _=O(233);return _.expression=o().parenthesizeLeftSideOfAccess(n,!1),_.typeArguments=i&&o().parenthesizeTypeArguments(i),_.transformFlags|=F(_.expression)|Ae(_.typeArguments)|1024,_}function En(n,i,_){return n.expression!==i||n.typeArguments!==_?R(co(i,_),n):n}function va(n,i){let _=O(234);return _.expression=n,_.type=i,_.transformFlags|=F(_.expression)|F(_.type)|1,_}function lo(n,i,_){return n.expression!==i||n.type!==_?R(va(i,_),n):n}function uo(n){let i=O(235);return i.expression=o().parenthesizeLeftSideOfAccess(n,!1),i.transformFlags|=F(i.expression)|1,i}function v_(n,i){return t2(n)?fo(n,i):n.expression!==i?R(uo(i),n):n}function po(n,i){let _=O(238);return _.expression=n,_.type=i,_.transformFlags|=F(_.expression)|F(_.type)|1,_}function x_(n,i,_){return n.expression!==i||n.type!==_?R(po(i,_),n):n}function Ln(n){let i=O(235);return i.flags|=64,i.expression=o().parenthesizeLeftSideOfAccess(n,!0),i.transformFlags|=F(i.expression)|1,i}function fo(n,i){return B.assert(!!(n.flags&64),"Cannot update a NonNullExpression using updateNonNullChain. Use updateNonNullExpression instead."),n.expression!==i?R(Ln(i),n):n}function xa(n,i){let _=O(236);switch(_.keywordToken=n,_.name=i,_.transformFlags|=F(_.name),n){case 105:_.transformFlags|=1024;break;case 102:_.transformFlags|=32;break;default:return B.assertNever(n)}return _.flowNode=void 0,_}function pr(n,i){return n.name!==i?R(xa(n.keywordToken,i),n):n}function ji(n,i){let _=O(239);return _.expression=n,_.literal=i,_.transformFlags|=F(_.expression)|F(_.literal)|1024,_}function mo(n,i,_){return n.expression!==i||n.literal!==_?R(ji(i,_),n):n}function ho(){let n=O(240);return n.transformFlags|=1024,n}function ci(n,i){let _=O(241);return _.statements=me(n),_.multiLine=i,_.transformFlags|=Ae(_.statements),_.jsDoc=void 0,_.locals=void 0,_.nextContainer=void 0,_}function yo(n,i){return n.statements!==i?R(ci(i,n.multiLine),n):n}function go(n,i){let _=O(243);return _.modifiers=Pe(n),_.declarationList=Zr(i)?C_(i):i,_.transformFlags|=Ae(_.modifiers)|F(_.declarationList),qn(_.modifiers)&128&&(_.transformFlags=1),_.jsDoc=void 0,_.flowNode=void 0,_}function bo(n,i,_){return n.modifiers!==i||n.declarationList!==_?R(go(i,_),n):n}function T_(){let n=O(242);return n.jsDoc=void 0,n}function Li(n){let i=O(244);return i.expression=o().parenthesizeExpressionOfExpressionStatement(n),i.transformFlags|=F(i.expression),i.jsDoc=void 0,i.flowNode=void 0,i}function ou(n,i){return n.expression!==i?R(Li(i),n):n}function S_(n,i,_){let c=O(245);return c.expression=n,c.thenStatement=Zn(i),c.elseStatement=Zn(_),c.transformFlags|=F(c.expression)|F(c.thenStatement)|F(c.elseStatement),c.jsDoc=void 0,c.flowNode=void 0,c}function cu(n,i,_,c){return n.expression!==i||n.thenStatement!==_||n.elseStatement!==c?R(S_(i,_,c),n):n}function w_(n,i){let _=O(246);return _.statement=Zn(n),_.expression=i,_.transformFlags|=F(_.statement)|F(_.expression),_.jsDoc=void 0,_.flowNode=void 0,_}function lu(n,i,_){return n.statement!==i||n.expression!==_?R(w_(i,_),n):n}function vo(n,i){let _=O(247);return _.expression=n,_.statement=Zn(i),_.transformFlags|=F(_.expression)|F(_.statement),_.jsDoc=void 0,_.flowNode=void 0,_}function uu(n,i,_){return n.expression!==i||n.statement!==_?R(vo(i,_),n):n}function k_(n,i,_,c){let d=O(248);return d.initializer=n,d.condition=i,d.incrementor=_,d.statement=Zn(c),d.transformFlags|=F(d.initializer)|F(d.condition)|F(d.incrementor)|F(d.statement),d.jsDoc=void 0,d.locals=void 0,d.nextContainer=void 0,d.flowNode=void 0,d}function xo(n,i,_,c,d){return n.initializer!==i||n.condition!==_||n.incrementor!==c||n.statement!==d?R(k_(i,_,c,d),n):n}function To(n,i,_){let c=O(249);return c.initializer=n,c.expression=i,c.statement=Zn(_),c.transformFlags|=F(c.initializer)|F(c.expression)|F(c.statement),c.jsDoc=void 0,c.locals=void 0,c.nextContainer=void 0,c.flowNode=void 0,c}function pu(n,i,_,c){return n.initializer!==i||n.expression!==_||n.statement!==c?R(To(i,_,c),n):n}function So(n,i,_,c){let d=O(250);return d.awaitModifier=n,d.initializer=i,d.expression=o().parenthesizeExpressionForDisallowedComma(_),d.statement=Zn(c),d.transformFlags|=F(d.awaitModifier)|F(d.initializer)|F(d.expression)|F(d.statement)|1024,n&&(d.transformFlags|=128),d.jsDoc=void 0,d.locals=void 0,d.nextContainer=void 0,d.flowNode=void 0,d}function fu(n,i,_,c,d){return n.awaitModifier!==i||n.initializer!==_||n.expression!==c||n.statement!==d?R(So(i,_,c,d),n):n}function wo(n){let i=O(251);return i.label=nt(n),i.transformFlags|=F(i.label)|4194304,i.jsDoc=void 0,i.flowNode=void 0,i}function ko(n,i){return n.label!==i?R(wo(i),n):n}function E_(n){let i=O(252);return i.label=nt(n),i.transformFlags|=F(i.label)|4194304,i.jsDoc=void 0,i.flowNode=void 0,i}function Eo(n,i){return n.label!==i?R(E_(i),n):n}function Ao(n){let i=O(253);return i.expression=n,i.transformFlags|=F(i.expression)|128|4194304,i.jsDoc=void 0,i.flowNode=void 0,i}function Co(n,i){return n.expression!==i?R(Ao(i),n):n}function A_(n,i){let _=O(254);return _.expression=n,_.statement=Zn(i),_.transformFlags|=F(_.expression)|F(_.statement),_.jsDoc=void 0,_.flowNode=void 0,_}function Do(n,i,_){return n.expression!==i||n.statement!==_?R(A_(i,_),n):n}function Wr(n,i){let _=O(255);return _.expression=o().parenthesizeExpressionForDisallowedComma(n),_.caseBlock=i,_.transformFlags|=F(_.expression)|F(_.caseBlock),_.jsDoc=void 0,_.flowNode=void 0,_.possiblyExhaustive=!1,_}function du(n,i,_){return n.expression!==i||n.caseBlock!==_?R(Wr(i,_),n):n}function Po(n,i){let _=O(256);return _.label=nt(n),_.statement=Zn(i),_.transformFlags|=F(_.label)|F(_.statement),_.jsDoc=void 0,_.flowNode=void 0,_}function No(n,i,_){return n.label!==i||n.statement!==_?R(Po(i,_),n):n}function Io(n){let i=O(257);return i.expression=n,i.transformFlags|=F(i.expression),i.jsDoc=void 0,i.flowNode=void 0,i}function mu(n,i){return n.expression!==i?R(Io(i),n):n}function Oo(n,i,_){let c=O(258);return c.tryBlock=n,c.catchClause=i,c.finallyBlock=_,c.transformFlags|=F(c.tryBlock)|F(c.catchClause)|F(c.finallyBlock),c.jsDoc=void 0,c.flowNode=void 0,c}function Mo(n,i,_,c){return n.tryBlock!==i||n.catchClause!==_||n.finallyBlock!==c?R(Oo(i,_,c),n):n}function Jo(){let n=O(259);return n.jsDoc=void 0,n.flowNode=void 0,n}function Ta(n,i,_,c){let d=ae(260);return d.name=nt(n),d.exclamationToken=i,d.type=_,d.initializer=pn(c),d.transformFlags|=Bn(d.name)|F(d.initializer)|(d.exclamationToken??d.type?1:0),d.jsDoc=void 0,d}function hu(n,i,_,c,d){return n.name!==i||n.type!==c||n.exclamationToken!==_||n.initializer!==d?R(Ta(i,_,c,d),n):n}function C_(n,i=0){let _=O(261);return _.flags|=i&7,_.declarations=me(n),_.transformFlags|=Ae(_.declarations)|4194304,i&7&&(_.transformFlags|=263168),i&4&&(_.transformFlags|=4),_}function yu(n,i){return n.declarations!==i?R(C_(i,n.flags),n):n}function D_(n,i,_,c,d,T,q){let pe=ae(262);if(pe.modifiers=Pe(n),pe.asteriskToken=i,pe.name=nt(_),pe.typeParameters=Pe(c),pe.parameters=me(d),pe.type=T,pe.body=q,!pe.body||qn(pe.modifiers)&128)pe.transformFlags=1;else{let Le=qn(pe.modifiers)&1024,en=!!pe.asteriskToken,hr=Le&&en;pe.transformFlags=Ae(pe.modifiers)|F(pe.asteriskToken)|Bn(pe.name)|Ae(pe.typeParameters)|Ae(pe.parameters)|F(pe.type)|F(pe.body)&-67108865|(hr?128:Le?256:en?2048:0)|(pe.typeParameters||pe.type?1:0)|4194304}return pe.typeArguments=void 0,pe.jsDoc=void 0,pe.locals=void 0,pe.nextContainer=void 0,pe.endFlowNode=void 0,pe.returnFlowNode=void 0,pe}function jo(n,i,_,c,d,T,q,pe){return n.modifiers!==i||n.asteriskToken!==_||n.name!==c||n.typeParameters!==d||n.parameters!==T||n.type!==q||n.body!==pe?gu(D_(i,_,c,d,T,q,pe),n):n}function gu(n,i){return n!==i&&n.modifiers===i.modifiers&&(n.modifiers=i.modifiers),ve(n,i)}function P_(n,i,_,c,d){let T=ae(263);return T.modifiers=Pe(n),T.name=nt(i),T.typeParameters=Pe(_),T.heritageClauses=Pe(c),T.members=me(d),qn(T.modifiers)&128?T.transformFlags=1:(T.transformFlags|=Ae(T.modifiers)|Bn(T.name)|Ae(T.typeParameters)|Ae(T.heritageClauses)|Ae(T.members)|(T.typeParameters?1:0)|1024,T.transformFlags&8192&&(T.transformFlags|=1)),T.jsDoc=void 0,T}function N_(n,i,_,c,d,T){return n.modifiers!==i||n.name!==_||n.typeParameters!==c||n.heritageClauses!==d||n.members!==T?R(P_(i,_,c,d,T),n):n}function Lo(n,i,_,c,d){let T=ae(264);return T.modifiers=Pe(n),T.name=nt(i),T.typeParameters=Pe(_),T.heritageClauses=Pe(c),T.members=me(d),T.transformFlags=1,T.jsDoc=void 0,T}function ct(n,i,_,c,d,T){return n.modifiers!==i||n.name!==_||n.typeParameters!==c||n.heritageClauses!==d||n.members!==T?R(Lo(i,_,c,d,T),n):n}function Er(n,i,_,c){let d=ae(265);return d.modifiers=Pe(n),d.name=nt(i),d.typeParameters=Pe(_),d.type=c,d.transformFlags=1,d.jsDoc=void 0,d.locals=void 0,d.nextContainer=void 0,d}function I_(n,i,_,c,d){return n.modifiers!==i||n.name!==_||n.typeParameters!==c||n.type!==d?R(Er(i,_,c,d),n):n}function Ar(n,i,_){let c=ae(266);return c.modifiers=Pe(n),c.name=nt(i),c.members=me(_),c.transformFlags|=Ae(c.modifiers)|F(c.name)|Ae(c.members)|1,c.transformFlags&=-67108865,c.jsDoc=void 0,c}function Ro(n,i,_,c){return n.modifiers!==i||n.name!==_||n.members!==c?R(Ar(i,_,c),n):n}function At(n,i,_,c=0){let d=ae(267);return d.modifiers=Pe(n),d.flags|=c&2088,d.name=i,d.body=_,qn(d.modifiers)&128?d.transformFlags=1:d.transformFlags|=Ae(d.modifiers)|F(d.name)|F(d.body)|1,d.transformFlags&=-67108865,d.jsDoc=void 0,d.locals=void 0,d.nextContainer=void 0,d}function Cr(n,i,_,c){return n.modifiers!==i||n.name!==_||n.body!==c?R(At(i,_,c,n.flags),n):n}function Ut(n){let i=O(268);return i.statements=me(n),i.transformFlags|=Ae(i.statements),i.jsDoc=void 0,i}function bu(n,i){return n.statements!==i?R(Ut(i),n):n}function Uo(n){let i=O(269);return i.clauses=me(n),i.transformFlags|=Ae(i.clauses),i.locals=void 0,i.nextContainer=void 0,i}function vu(n,i){return n.clauses!==i?R(Uo(i),n):n}function O_(n){let i=ae(270);return i.name=nt(n),i.transformFlags|=Ba(i.name)|1,i.modifiers=void 0,i.jsDoc=void 0,i}function xu(n,i){return n.name!==i?Tu(O_(i),n):n}function Tu(n,i){return n!==i&&(n.modifiers=i.modifiers),R(n,i)}function Bo(n,i,_,c){let d=ae(271);return d.modifiers=Pe(n),d.name=nt(_),d.isTypeOnly=i,d.moduleReference=c,d.transformFlags|=Ae(d.modifiers)|Ba(d.name)|F(d.moduleReference),ed(d.moduleReference)||(d.transformFlags|=1),d.transformFlags&=-67108865,d.jsDoc=void 0,d}function qo(n,i,_,c,d){return n.modifiers!==i||n.isTypeOnly!==_||n.name!==c||n.moduleReference!==d?R(Bo(i,_,c,d),n):n}function zo(n,i,_,c){let d=O(272);return d.modifiers=Pe(n),d.importClause=i,d.moduleSpecifier=_,d.attributes=d.assertClause=c,d.transformFlags|=F(d.importClause)|F(d.moduleSpecifier),d.transformFlags&=-67108865,d.jsDoc=void 0,d}function Fo(n,i,_,c,d){return n.modifiers!==i||n.importClause!==_||n.moduleSpecifier!==c||n.attributes!==d?R(zo(i,_,c,d),n):n}function M_(n,i,_){let c=ae(273);return c.isTypeOnly=n,c.name=i,c.namedBindings=_,c.transformFlags|=F(c.name)|F(c.namedBindings),n&&(c.transformFlags|=1),c.transformFlags&=-67108865,c}function Vo(n,i,_,c){return n.isTypeOnly!==i||n.name!==_||n.namedBindings!==c?R(M_(i,_,c),n):n}function Wo(n,i){let _=O(300);return _.elements=me(n),_.multiLine=i,_.token=132,_.transformFlags|=4,_}function Sa(n,i,_){return n.elements!==i||n.multiLine!==_?R(Wo(i,_),n):n}function J_(n,i){let _=O(301);return _.name=n,_.value=i,_.transformFlags|=4,_}function Go(n,i,_){return n.name!==i||n.value!==_?R(J_(i,_),n):n}function j_(n,i){let _=O(302);return _.assertClause=n,_.multiLine=i,_}function Su(n,i,_){return n.assertClause!==i||n.multiLine!==_?R(j_(i,_),n):n}function wa(n,i,_){let c=O(300);return c.token=_??118,c.elements=me(n),c.multiLine=i,c.transformFlags|=4,c}function wu(n,i,_){return n.elements!==i||n.multiLine!==_?R(wa(i,_,n.token),n):n}function L_(n,i){let _=O(301);return _.name=n,_.value=i,_.transformFlags|=4,_}function ku(n,i,_){return n.name!==i||n.value!==_?R(L_(i,_),n):n}function Yo(n){let i=ae(274);return i.name=n,i.transformFlags|=F(i.name),i.transformFlags&=-67108865,i}function Eu(n,i){return n.name!==i?R(Yo(i),n):n}function Ho(n){let i=ae(280);return i.name=n,i.transformFlags|=F(i.name)|32,i.transformFlags&=-67108865,i}function Au(n,i){return n.name!==i?R(Ho(i),n):n}function R_(n){let i=O(275);return i.elements=me(n),i.transformFlags|=Ae(i.elements),i.transformFlags&=-67108865,i}function Gr(n,i){return n.elements!==i?R(R_(i),n):n}function Xo(n,i,_){let c=ae(276);return c.isTypeOnly=n,c.propertyName=i,c.name=_,c.transformFlags|=F(c.propertyName)|F(c.name),c.transformFlags&=-67108865,c}function $o(n,i,_,c){return n.isTypeOnly!==i||n.propertyName!==_||n.name!==c?R(Xo(i,_,c),n):n}function li(n,i,_){let c=ae(277);return c.modifiers=Pe(n),c.isExportEquals=i,c.expression=i?o().parenthesizeRightSideOfBinary(64,void 0,_):o().parenthesizeExpressionOfExportDefault(_),c.transformFlags|=Ae(c.modifiers)|F(c.expression),c.transformFlags&=-67108865,c.jsDoc=void 0,c}function U_(n,i,_){return n.modifiers!==i||n.expression!==_?R(li(i,n.isExportEquals,_),n):n}function B_(n,i,_,c,d){let T=ae(278);return T.modifiers=Pe(n),T.isTypeOnly=i,T.exportClause=_,T.moduleSpecifier=c,T.attributes=T.assertClause=d,T.transformFlags|=Ae(T.modifiers)|F(T.exportClause)|F(T.moduleSpecifier),T.transformFlags&=-67108865,T.jsDoc=void 0,T}function ui(n,i,_,c,d,T){return n.modifiers!==i||n.isTypeOnly!==_||n.exportClause!==c||n.moduleSpecifier!==d||n.attributes!==T?Cu(B_(i,_,c,d,T),n):n}function Cu(n,i){return n!==i&&n.modifiers===i.modifiers&&(n.modifiers=i.modifiers),R(n,i)}function q_(n){let i=O(279);return i.elements=me(n),i.transformFlags|=Ae(i.elements),i.transformFlags&=-67108865,i}function Qo(n,i){return n.elements!==i?R(q_(i),n):n}function z_(n,i,_){let c=O(281);return c.isTypeOnly=n,c.propertyName=nt(i),c.name=nt(_),c.transformFlags|=F(c.propertyName)|F(c.name),c.transformFlags&=-67108865,c.jsDoc=void 0,c}function Du(n,i,_,c){return n.isTypeOnly!==i||n.propertyName!==_||n.name!==c?R(z_(i,_,c),n):n}function Ko(){let n=ae(282);return n.jsDoc=void 0,n}function Zo(n){let i=O(283);return i.expression=n,i.transformFlags|=F(i.expression),i.transformFlags&=-67108865,i}function ec(n,i){return n.expression!==i?R(Zo(i),n):n}function Pu(n){return O(n)}function tc(n,i,_=!1){let c=F_(n,_?i&&o().parenthesizeNonArrayTypeOfPostfixType(i):i);return c.postfix=_,c}function F_(n,i){let _=O(n);return _.type=i,_}function Nu(n,i,_){return i.type!==_?R(tc(n,_,i.postfix),i):i}function Iu(n,i,_){return i.type!==_?R(F_(n,_),i):i}function nc(n,i){let _=ae(317);return _.parameters=Pe(n),_.type=i,_.transformFlags=Ae(_.parameters)|(_.type?1:0),_.jsDoc=void 0,_.locals=void 0,_.nextContainer=void 0,_.typeArguments=void 0,_}function Ou(n,i,_){return n.parameters!==i||n.type!==_?R(nc(i,_),n):n}function rc(n,i=!1){let _=ae(322);return _.jsDocPropertyTags=Pe(n),_.isArrayType=i,_}function Mu(n,i,_){return n.jsDocPropertyTags!==i||n.isArrayType!==_?R(rc(i,_),n):n}function ka(n){let i=O(309);return i.type=n,i}function Ju(n,i){return n.type!==i?R(ka(i),n):n}function ic(n,i,_){let c=ae(323);return c.typeParameters=Pe(n),c.parameters=me(i),c.type=_,c.jsDoc=void 0,c.locals=void 0,c.nextContainer=void 0,c}function Ea(n,i,_,c){return n.typeParameters!==i||n.parameters!==_||n.type!==c?R(ic(i,_,c),n):n}function ln(n){let i=el(n.kind);return n.tagName.escapedText===Ra(i)?n.tagName:Ve(i)}function Rn(n,i,_){let c=O(n);return c.tagName=i,c.comment=_,c}function pi(n,i,_){let c=ae(n);return c.tagName=i,c.comment=_,c}function V_(n,i,_,c){let d=Rn(345,n??Ve("template"),c);return d.constraint=i,d.typeParameters=me(_),d}function W_(n,i=ln(n),_,c,d){return n.tagName!==i||n.constraint!==_||n.typeParameters!==c||n.comment!==d?R(V_(i,_,c,d),n):n}function ac(n,i,_,c){let d=pi(346,n??Ve("typedef"),c);return d.typeExpression=i,d.fullName=_,d.name=ym(_),d.locals=void 0,d.nextContainer=void 0,d}function _c(n,i=ln(n),_,c,d){return n.tagName!==i||n.typeExpression!==_||n.fullName!==c||n.comment!==d?R(ac(i,_,c,d),n):n}function sc(n,i,_,c,d,T){let q=pi(341,n??Ve("param"),T);return q.typeExpression=c,q.name=i,q.isNameFirst=!!d,q.isBracketed=_,q}function ju(n,i=ln(n),_,c,d,T,q){return n.tagName!==i||n.name!==_||n.isBracketed!==c||n.typeExpression!==d||n.isNameFirst!==T||n.comment!==q?R(sc(i,_,c,d,T,q),n):n}function G_(n,i,_,c,d,T){let q=pi(348,n??Ve("prop"),T);return q.typeExpression=c,q.name=i,q.isNameFirst=!!d,q.isBracketed=_,q}function Lu(n,i=ln(n),_,c,d,T,q){return n.tagName!==i||n.name!==_||n.isBracketed!==c||n.typeExpression!==d||n.isNameFirst!==T||n.comment!==q?R(G_(i,_,c,d,T,q),n):n}function Y_(n,i,_,c){let d=pi(338,n??Ve("callback"),c);return d.typeExpression=i,d.fullName=_,d.name=ym(_),d.locals=void 0,d.nextContainer=void 0,d}function Ru(n,i=ln(n),_,c,d){return n.tagName!==i||n.typeExpression!==_||n.fullName!==c||n.comment!==d?R(Y_(i,_,c,d),n):n}function Aa(n,i,_){let c=Rn(339,n??Ve("overload"),_);return c.typeExpression=i,c}function oc(n,i=ln(n),_,c){return n.tagName!==i||n.typeExpression!==_||n.comment!==c?R(Aa(i,_,c),n):n}function fi(n,i,_){let c=Rn(328,n??Ve("augments"),_);return c.class=i,c}function Uu(n,i=ln(n),_,c){return n.tagName!==i||n.class!==_||n.comment!==c?R(fi(i,_,c),n):n}function Yr(n,i,_){let c=Rn(329,n??Ve("implements"),_);return c.class=i,c}function Ri(n,i,_){let c=Rn(347,n??Ve("see"),_);return c.name=i,c}function Bu(n,i,_,c){return n.tagName!==i||n.name!==_||n.comment!==c?R(Ri(i,_,c),n):n}function cc(n){let i=O(310);return i.name=n,i}function qu(n,i){return n.name!==i?R(cc(i),n):n}function lc(n,i){let _=O(311);return _.left=n,_.right=i,_.transformFlags|=F(_.left)|F(_.right),_}function zu(n,i,_){return n.left!==i||n.right!==_?R(lc(i,_),n):n}function H_(n,i){let _=O(324);return _.name=n,_.text=i,_}function Fu(n,i,_){return n.name!==i?R(H_(i,_),n):n}function uc(n,i){let _=O(325);return _.name=n,_.text=i,_}function Vu(n,i,_){return n.name!==i?R(uc(i,_),n):n}function pc(n,i){let _=O(326);return _.name=n,_.text=i,_}function Wu(n,i,_){return n.name!==i?R(pc(i,_),n):n}function Gu(n,i=ln(n),_,c){return n.tagName!==i||n.class!==_||n.comment!==c?R(Yr(i,_,c),n):n}function fc(n,i,_){return Rn(n,i??Ve(el(n)),_)}function Yu(n,i,_=ln(i),c){return i.tagName!==_||i.comment!==c?R(fc(n,_,c),i):i}function dc(n,i,_,c){let d=Rn(n,i??Ve(el(n)),c);return d.typeExpression=_,d}function Hu(n,i,_=ln(i),c,d){return i.tagName!==_||i.typeExpression!==c||i.comment!==d?R(dc(n,_,c,d),i):i}function mc(n,i){return Rn(327,n,i)}function Xu(n,i,_){return n.tagName!==i||n.comment!==_?R(mc(i,_),n):n}function Ca(n,i,_){let c=pi(340,n??Ve(el(340)),_);return c.typeExpression=i,c.locals=void 0,c.nextContainer=void 0,c}function $u(n,i=ln(n),_,c){return n.tagName!==i||n.typeExpression!==_||n.comment!==c?R(Ca(i,_,c),n):n}function X_(n,i,_,c,d){let T=Rn(351,n??Ve("import"),d);return T.importClause=i,T.moduleSpecifier=_,T.attributes=c,T.comment=d,T}function hc(n,i,_,c,d,T){return n.tagName!==i||n.comment!==T||n.importClause!==_||n.moduleSpecifier!==c||n.attributes!==d?R(X_(i,_,c,d,T),n):n}function yc(n){let i=O(321);return i.text=n,i}function Da(n,i){return n.text!==i?R(yc(i),n):n}function $_(n,i){let _=O(320);return _.comment=n,_.tags=Pe(i),_}function Qu(n,i,_){return n.comment!==i||n.tags!==_?R($_(i,_),n):n}function gc(n,i,_){let c=O(284);return c.openingElement=n,c.children=me(i),c.closingElement=_,c.transformFlags|=F(c.openingElement)|Ae(c.children)|F(c.closingElement)|2,c}function Ku(n,i,_,c){return n.openingElement!==i||n.children!==_||n.closingElement!==c?R(gc(i,_,c),n):n}function Pa(n,i,_){let c=O(285);return c.tagName=n,c.typeArguments=Pe(i),c.attributes=_,c.transformFlags|=F(c.tagName)|Ae(c.typeArguments)|F(c.attributes)|2,c.typeArguments&&(c.transformFlags|=1),c}function bc(n,i,_,c){return n.tagName!==i||n.typeArguments!==_||n.attributes!==c?R(Pa(i,_,c),n):n}function Q_(n,i,_){let c=O(286);return c.tagName=n,c.typeArguments=Pe(i),c.attributes=_,c.transformFlags|=F(c.tagName)|Ae(c.typeArguments)|F(c.attributes)|2,i&&(c.transformFlags|=1),c}function K_(n,i,_,c){return n.tagName!==i||n.typeArguments!==_||n.attributes!==c?R(Q_(i,_,c),n):n}function Zt(n){let i=O(287);return i.tagName=n,i.transformFlags|=F(i.tagName)|2,i}function vc(n,i){return n.tagName!==i?R(Zt(i),n):n}function Z_(n,i,_){let c=O(288);return c.openingFragment=n,c.children=me(i),c.closingFragment=_,c.transformFlags|=F(c.openingFragment)|Ae(c.children)|F(c.closingFragment)|2,c}function Zu(n,i,_,c){return n.openingFragment!==i||n.children!==_||n.closingFragment!==c?R(Z_(i,_,c),n):n}function Ui(n,i){let _=O(12);return _.text=n,_.containsOnlyTriviaWhiteSpaces=!!i,_.transformFlags|=2,_}function ep(n,i,_){return n.text!==i||n.containsOnlyTriviaWhiteSpaces!==_?R(Ui(i,_),n):n}function tp(){let n=O(289);return n.transformFlags|=2,n}function np(){let n=O(290);return n.transformFlags|=2,n}function Bi(n,i){let _=ae(291);return _.name=n,_.initializer=i,_.transformFlags|=F(_.name)|F(_.initializer)|2,_}function rp(n,i,_){return n.name!==i||n.initializer!==_?R(Bi(i,_),n):n}function xc(n){let i=ae(292);return i.properties=me(n),i.transformFlags|=Ae(i.properties)|2,i}function ip(n,i){return n.properties!==i?R(xc(i),n):n}function Tc(n){let i=O(293);return i.expression=n,i.transformFlags|=F(i.expression)|2,i}function es(n,i){return n.expression!==i?R(Tc(i),n):n}function di(n,i){let _=O(294);return _.dotDotDotToken=n,_.expression=i,_.transformFlags|=F(_.dotDotDotToken)|F(_.expression)|2,_}function ap(n,i){return n.expression!==i?R(di(n.dotDotDotToken,i),n):n}function Na(n,i){let _=O(295);return _.namespace=n,_.name=i,_.transformFlags|=F(_.namespace)|F(_.name)|2,_}function Sc(n,i,_){return n.namespace!==i||n.name!==_?R(Na(i,_),n):n}function wc(n,i){let _=O(296);return _.expression=o().parenthesizeExpressionForDisallowedComma(n),_.statements=me(i),_.transformFlags|=F(_.expression)|Ae(_.statements),_.jsDoc=void 0,_}function qi(n,i,_){return n.expression!==i||n.statements!==_?R(wc(i,_),n):n}function ts(n){let i=O(297);return i.statements=me(n),i.transformFlags=Ae(i.statements),i}function _p(n,i){return n.statements!==i?R(ts(i),n):n}function kc(n,i){let _=O(298);switch(_.token=n,_.types=me(i),_.transformFlags|=Ae(_.types),n){case 96:_.transformFlags|=1024;break;case 119:_.transformFlags|=1;break;default:return B.assertNever(n)}return _}function Ec(n,i){return n.types!==i?R(kc(n.token,i),n):n}function ns(n,i){let _=O(299);return _.variableDeclaration=Bt(n),_.block=i,_.transformFlags|=F(_.variableDeclaration)|F(_.block)|(n?0:64),_.locals=void 0,_.nextContainer=void 0,_}function Ac(n,i,_){return n.variableDeclaration!==i||n.block!==_?R(ns(i,_),n):n}function Dr(n,i){let _=ae(303);return _.name=nt(n),_.initializer=o().parenthesizeExpressionForDisallowedComma(i),_.transformFlags|=Bn(_.name)|F(_.initializer),_.modifiers=void 0,_.questionToken=void 0,_.exclamationToken=void 0,_.jsDoc=void 0,_}function Cc(n,i,_){return n.name!==i||n.initializer!==_?sp(Dr(i,_),n):n}function sp(n,i){return n!==i&&(n.modifiers=i.modifiers,n.questionToken=i.questionToken,n.exclamationToken=i.exclamationToken),R(n,i)}function Dc(n,i){let _=ae(304);return _.name=nt(n),_.objectAssignmentInitializer=i&&o().parenthesizeExpressionForDisallowedComma(i),_.transformFlags|=Ba(_.name)|F(_.objectAssignmentInitializer)|1024,_.equalsToken=void 0,_.modifiers=void 0,_.questionToken=void 0,_.exclamationToken=void 0,_.jsDoc=void 0,_}function op(n,i,_){return n.name!==i||n.objectAssignmentInitializer!==_?Pc(Dc(i,_),n):n}function Pc(n,i){return n!==i&&(n.modifiers=i.modifiers,n.questionToken=i.questionToken,n.exclamationToken=i.exclamationToken,n.equalsToken=i.equalsToken),R(n,i)}function rs(n){let i=ae(305);return i.expression=o().parenthesizeExpressionForDisallowedComma(n),i.transformFlags|=F(i.expression)|128|65536,i.jsDoc=void 0,i}function Un(n,i){return n.expression!==i?R(rs(i),n):n}function is(n,i){let _=ae(306);return _.name=nt(n),_.initializer=i&&o().parenthesizeExpressionForDisallowedComma(i),_.transformFlags|=F(_.name)|F(_.initializer)|1,_.jsDoc=void 0,_}function cp(n,i,_){return n.name!==i||n.initializer!==_?R(is(i,_),n):n}function lp(n,i,_){let c=t.createBaseSourceFileNode(307);return c.statements=me(n),c.endOfFileToken=i,c.flags|=_,c.text="",c.fileName="",c.path="",c.resolvedPath="",c.originalFileName="",c.languageVersion=1,c.languageVariant=0,c.scriptKind=0,c.isDeclarationFile=!1,c.hasNoDefaultLib=!1,c.transformFlags|=Ae(c.statements)|F(c.endOfFileToken),c.locals=void 0,c.nextContainer=void 0,c.endFlowNode=void 0,c.nodeCount=0,c.identifierCount=0,c.symbolCount=0,c.parseDiagnostics=void 0,c.bindDiagnostics=void 0,c.bindSuggestionDiagnostics=void 0,c.lineMap=void 0,c.externalModuleIndicator=void 0,c.setExternalModuleIndicator=void 0,c.pragmas=void 0,c.checkJsDirective=void 0,c.referencedFiles=void 0,c.typeReferenceDirectives=void 0,c.libReferenceDirectives=void 0,c.amdDependencies=void 0,c.commentDirectives=void 0,c.identifiers=void 0,c.packageJsonLocations=void 0,c.packageJsonScope=void 0,c.imports=void 0,c.moduleAugmentations=void 0,c.ambientModuleNames=void 0,c.classifiableNames=void 0,c.impliedNodeFormat=void 0,c}function Nc(n){let i=Object.create(n.redirectTarget);return Object.defineProperties(i,{id:{get(){return this.redirectInfo.redirectTarget.id},set(_){this.redirectInfo.redirectTarget.id=_}},symbol:{get(){return this.redirectInfo.redirectTarget.symbol},set(_){this.redirectInfo.redirectTarget.symbol=_}}}),i.redirectInfo=n,i}function Ic(n){let i=Nc(n.redirectInfo);return i.flags|=n.flags&-17,i.fileName=n.fileName,i.path=n.path,i.resolvedPath=n.resolvedPath,i.originalFileName=n.originalFileName,i.packageJsonLocations=n.packageJsonLocations,i.packageJsonScope=n.packageJsonScope,i.emitNode=void 0,i}function as(n){let i=t.createBaseSourceFileNode(307);i.flags|=n.flags&-17;for(let _ in n)if(!(Mr(i,_)||!Mr(n,_))){if(_==="emitNode"){i.emitNode=void 0;continue}i[_]=n[_]}return i}function Oc(n){let i=n.redirectInfo?Ic(n):as(n);return a(i,n),i}function up(n,i,_,c,d,T,q){let pe=Oc(n);return pe.statements=me(i),pe.isDeclarationFile=_,pe.referencedFiles=c,pe.typeReferenceDirectives=d,pe.hasNoDefaultLib=T,pe.libReferenceDirectives=q,pe.transformFlags=Ae(pe.statements)|F(pe.endOfFileToken),pe}function Mc(n,i,_=n.isDeclarationFile,c=n.referencedFiles,d=n.typeReferenceDirectives,T=n.hasNoDefaultLib,q=n.libReferenceDirectives){return n.statements!==i||n.isDeclarationFile!==_||n.referencedFiles!==c||n.typeReferenceDirectives!==d||n.hasNoDefaultLib!==T||n.libReferenceDirectives!==q?R(up(n,i,_,c,d,T,q),n):n}function Jc(n){let i=O(308);return i.sourceFiles=n,i.syntheticFileReferences=void 0,i.syntheticTypeReferences=void 0,i.syntheticLibReferences=void 0,i.hasNoDefaultLib=void 0,i}function pp(n,i){return n.sourceFiles!==i?R(Jc(i),n):n}function Ia(n,i=!1,_){let c=O(237);return c.type=n,c.isSpread=i,c.tupleNameSource=_,c}function jc(n){let i=O(352);return id(i,n),i}function fp(n){let i=O(353);return i.original=n,bn(i,n),i}function Lc(n,i){let _=O(354);return _.expression=n,_.original=i,_.transformFlags|=F(_.expression)|1,bn(_,i),_}function Rc(n,i){return n.expression!==i?R(Lc(i,n.original),n):n}function dp(n){if(Ua(n)&&!pl(n)&&!n.original&&!n.emitNode&&!n.id){if(v6(n))return n.elements;if(ia(n)&&i6(n.operatorToken))return[n.left,n.right]}return n}function _s(n){let i=O(355);return i.elements=me(wy(n,dp)),i.transformFlags|=Ae(i.elements),i}function Uc(n,i){return n.elements!==i?R(_s(i),n):n}function ss(n,i){let _=O(356);return _.expression=n,_.thisArg=i,_.transformFlags|=F(_.expression)|F(_.thisArg),_}function Bc(n,i,_){return n.expression!==i||n.thisArg!==_?R(ss(i,_),n):n}function mp(n){let i=Tn(n.escapedText);return i.flags|=n.flags&-17,i.transformFlags=n.transformFlags,a(i,n),setIdentifierAutoGenerate(i,{...n.emitNode.autoGenerate}),i}function hp(n){let i=Tn(n.escapedText);i.flags|=n.flags&-17,i.jsDoc=n.jsDoc,i.flowNode=n.flowNode,i.symbol=n.symbol,i.transformFlags=n.transformFlags,a(i,n);let _=getIdentifierTypeArguments(n);return _&&setIdentifierTypeArguments(i,_),i}function qc(n){let i=Mn(n.escapedText);return i.flags|=n.flags&-17,i.transformFlags=n.transformFlags,a(i,n),setIdentifierAutoGenerate(i,{...n.emitNode.autoGenerate}),i}function zc(n){let i=Mn(n.escapedText);return i.flags|=n.flags&-17,i.transformFlags=n.transformFlags,a(i,n),i}function os(n){if(n===void 0)return n;if(hh(n))return Oc(n);if(za(n))return mp(n);if(et(n))return hp(n);if(T1(n))return qc(n);if(wi(n))return zc(n);let i=Cf(n.kind)?t.createBaseNode(n.kind):t.createBaseTokenNode(n.kind);i.flags|=n.flags&-17,i.transformFlags=n.transformFlags,a(i,n);for(let _ in n)Mr(i,_)||!Mr(n,_)||(i[_]=n[_]);return i}function yp(n,i,_){return wr(u_(void 0,void 0,void 0,void 0,i?[i]:[],void 0,ci(n,!0)),void 0,_?[_]:[])}function gp(n,i,_){return wr(p_(void 0,void 0,i?[i]:[],void 0,void 0,ci(n,!0)),void 0,_?[_]:[])}function mi(){return jn(X("0"))}function Fc(n){return li(void 0,!1,n)}function bp(n){return B_(void 0,!1,q_([z_(!1,void 0,n)]))}function cs(n,i){return i==="null"?he.createStrictEquality(n,jt()):i==="undefined"?he.createStrictEquality(n,mi()):he.createStrictEquality(Kt(n),ht(i))}function vp(n,i){return i==="null"?he.createStrictInequality(n,jt()):i==="undefined"?he.createStrictInequality(n,mi()):he.createStrictInequality(Kt(n),ht(i))}function Hr(n,i,_){return Kd(n)?s_(si(n,void 0,i),void 0,void 0,_):wr(ur(n,i),void 0,_)}function xp(n,i,_){return Hr(n,"bind",[i,..._])}function Tp(n,i,_){return Hr(n,"call",[i,..._])}function Sp(n,i,_){return Hr(n,"apply",[i,_])}function zi(n,i,_){return Hr(Ve(n),i,_)}function Fi(n,i){return Hr(n,"slice",i===void 0?[]:[mr(i)])}function wp(n,i){return Hr(n,"concat",i)}function Vc(n,i,_){return zi("Object","defineProperty",[n,mr(i),_])}function kp(n,i){return zi("Object","getOwnPropertyDescriptor",[n,mr(i)])}function Ep(n,i,_){return zi("Reflect","get",_?[n,i,_]:[n,i])}function Wc(n,i,_,c){return zi("Reflect","set",c?[n,i,_,c]:[n,i,_])}function hi(n,i,_){return _?(n.push(Dr(i,_)),!0):!1}function Ap(n,i){let _=[];hi(_,"enumerable",mr(n.enumerable)),hi(_,"configurable",mr(n.configurable));let c=hi(_,"writable",mr(n.writable));c=hi(_,"value",n.value)||c;let d=hi(_,"get",n.get);return d=hi(_,"set",n.set)||d,B.assert(!(c&&d),"A PropertyDescriptor may not be both an accessor descriptor and a data descriptor."),Ii(_,!i)}function Cp(n,i){switch(n.kind){case 217:return Ks(n,i);case 216:return Qs(n,n.type,i);case 234:return lo(n,i,n.type);case 238:return x_(n,i,n.type);case 235:return v_(n,i);case 354:return Rc(n,i)}}function Gc(n){return Cl(n)&&Ua(n)&&Ua(getSourceMapRange(n))&&Ua(getCommentRange(n))&&!qt(getSyntheticLeadingComments(n))&&!qt(getSyntheticTrailingComments(n))}function ls(n,i,_=15){return n&&Sh(n,_)&&!Gc(n)?Cp(n,ls(n.expression,i)):i}function us(n,i,_){if(!i)return n;let c=No(i,i.label,uh(i.statement)?us(n,i.statement):n);return _&&_(i),c}function s(n,i){let _=Jf(n);switch(_.kind){case 80:return i;case 110:case 9:case 10:case 11:return!1;case 209:return _.elements.length!==0;case 210:return _.properties.length>0;default:return!0}}function p(n,i,_,c=!1){let d=ad(n,15),T,q;return am(d)?(T=Vt(),q=d):Fp(d)?(T=Vt(),q=_!==void 0&&_<2?bn(Ve("_super"),d):d):Wa(d)&8192?(T=mi(),q=o().parenthesizeLeftSideOfAccess(d,!1)):br(d)?s(d.expression,c)?(T=_r(i),q=ur(bn(he.createAssignment(T,d.expression),d.expression),d.name),bn(q,d)):(T=d.expression,q=d):_a(d)?s(d.expression,c)?(T=_r(i),q=a_(bn(he.createAssignment(T,d.expression),d.expression),d.argumentExpression),bn(q,d)):(T=d.expression,q=d):(T=mi(),q=o().parenthesizeLeftSideOfAccess(n,!1)),{target:q,thisArg:T}}function m(n,i){return ur(l_(Ii([z(void 0,"value",[vr(void 0,void 0,n,void 0,void 0,void 0)],ci([Li(i)]))])),"value")}function y(n){return n.length>10?_s(n):jy(n,he.createComma)}function x(n,i,_,c=0,d){let T=d?n&&Ef(n):h1(n);if(T&&et(T)&&!za(T)){let q=Rf(bn(os(T),T),T.parent);return c|=Wa(T),_||(c|=96),i||(c|=3072),c&&setEmitFlags(q,c),q}return Vn(n)}function N(n,i,_){return x(n,i,_,98304)}function $(n,i,_,c){return x(n,i,_,32768,c)}function _e(n,i,_){return x(n,i,_,16384)}function ee(n,i,_){return x(n,i,_)}function K(n,i,_,c){let d=ur(n,Ua(i)?i:os(i));bn(d,i);let T=0;return c||(T|=96),_||(T|=3072),T&&setEmitFlags(d,T),d}function le(n,i,_,c){return n&&Os(i,32)?K(n,x(i),_,c):_e(i,_,c)}function Ue(n,i,_,c){let d=Yt(n,i,0,_);return un(n,i,d,c)}function je(n){return Qa(n.expression)&&n.expression.text==="use strict"}function De(){return U6(Li(ht("use strict")))}function Yt(n,i,_=0,c){B.assert(i.length===0,"Prologue directives should be at the first statement in the target statements array");let d=!1,T=n.length;for(;_pe&&en.splice(d,0,...i.slice(pe,Le)),pe>q&&en.splice(c,0,...i.slice(q,pe)),q>T&&en.splice(_,0,...i.slice(T,q)),T>0)if(_===0)en.splice(0,0,...i.slice(0,T));else{let hr=new Map;for(let yr=0;yr<_;yr++){let Vi=n[yr];hr.set(Vi.expression.text,!0)}for(let yr=T-1;yr>=0;yr--){let Vi=i[yr];hr.has(Vi.expression.text)||en.unshift(Vi)}}return Si(n)?bn(me(en,n.hasTrailingComma),n):n}function Dp(n,i){let _;return typeof i=="number"?_=Sn(i):_=i,qf(n)?or(n,_,n.name,n.constraint,n.default):As(n)?xr(n,_,n.dotDotDotToken,n.name,n.questionToken,n.type,n.initializer):Wf(n)?Fe(n,_,n.typeParameters,n.parameters,n.type):G1(n)?Hn(n,_,n.name,n.questionToken,n.type):Ha(n)?j(n,_,n.name,n.questionToken??n.exclamationToken,n.type,n.initializer):Y1(n)?fe(n,_,n.name,n.questionToken,n.typeParameters,n.parameters,n.type):Cs(n)?Xe(n,_,n.asteriskToken,n.name,n.questionToken,n.typeParameters,n.parameters,n.type,n.body):zf(n)?Br(n,_,n.parameters,n.body):ml(n)?Xn(n,_,n.name,n.parameters,n.type,n.body):Ds(n)?V(n,_,n.name,n.parameters,n.body):Ff(n)?$e(n,_,n.parameters,n.type):Yf(n)?Zs(n,_,n.asteriskToken,n.name,n.typeParameters,n.parameters,n.type,n.body):Hf(n)?eo(n,_,n.typeParameters,n.parameters,n.type,n.equalsGreaterThanToken,n.body):hl(n)?Ji(n,_,n.name,n.typeParameters,n.heritageClauses,n.members):Ka(n)?bo(n,_,n.declarationList):Xf(n)?jo(n,_,n.asteriskToken,n.name,n.typeParameters,n.parameters,n.type,n.body):Xa(n)?N_(n,_,n.name,n.typeParameters,n.heritageClauses,n.members):Ms(n)?ct(n,_,n.name,n.typeParameters,n.heritageClauses,n.members):Nl(n)?I_(n,_,n.name,n.typeParameters,n.type):fh(n)?Ro(n,_,n.name,n.members):ei(n)?Cr(n,_,n.name,n.body):$f(n)?qo(n,_,n.isTypeOnly,n.name,n.moduleReference):Qf(n)?Fo(n,_,n.importClause,n.moduleSpecifier,n.attributes):Kf(n)?U_(n,_,n.expression):Zf(n)?ui(n,_,n.isTypeOnly,n.exportClause,n.moduleSpecifier,n.attributes):B.assertNever(n)}function Pp(n,i){return As(n)?xr(n,i,n.dotDotDotToken,n.name,n.questionToken,n.type,n.initializer):Ha(n)?j(n,i,n.name,n.questionToken??n.exclamationToken,n.type,n.initializer):Cs(n)?Xe(n,i,n.asteriskToken,n.name,n.questionToken,n.typeParameters,n.parameters,n.type,n.body):ml(n)?Xn(n,i,n.name,n.parameters,n.type,n.body):Ds(n)?V(n,i,n.name,n.parameters,n.body):hl(n)?Ji(n,i,n.name,n.typeParameters,n.heritageClauses,n.members):Xa(n)?N_(n,i,n.name,n.typeParameters,n.heritageClauses,n.members):B.assertNever(n)}function Np(n,i){switch(n.kind){case 177:return Xn(n,n.modifiers,i,n.parameters,n.type,n.body);case 178:return V(n,n.modifiers,i,n.parameters,n.body);case 174:return Xe(n,n.modifiers,n.asteriskToken,i,n.questionToken,n.typeParameters,n.parameters,n.type,n.body);case 173:return fe(n,n.modifiers,i,n.questionToken,n.typeParameters,n.parameters,n.type);case 172:return j(n,n.modifiers,i,n.questionToken??n.exclamationToken,n.type,n.initializer);case 171:return Hn(n,n.modifiers,i,n.questionToken,n.type);case 303:return Cc(n,i,n.initializer)}}function Pe(n){return n?me(n):void 0}function nt(n){return typeof n=="string"?Ve(n):n}function mr(n){return typeof n=="string"?ht(n):typeof n=="number"?X(n):typeof n=="boolean"?n?pt():sr():n}function pn(n){return n&&o().parenthesizeExpressionForDisallowedComma(n)}function Pr(n){return typeof n=="number"?ut(n):n}function Zn(n){return n&&x6(n)?bn(a(T_(),n),n):n}function Bt(n){return typeof n=="string"||n&&!Pl(n)?Ta(n,void 0,void 0,void 0):n}function R(n,i){return n!==i&&(a(n,i),bn(n,i)),n}}function el(e){switch(e){case 344:return"type";case 342:return"returns";case 343:return"this";case 340:return"enum";case 330:return"author";case 332:return"class";case 333:return"public";case 334:return"private";case 335:return"protected";case 336:return"readonly";case 337:return"override";case 345:return"template";case 346:return"typedef";case 341:return"param";case 348:return"prop";case 338:return"callback";case 339:return"overload";case 328:return"augments";case 329:return"implements";case 351:return"import";default:return B.fail(`Unsupported kind: ${B.formatSyntaxKind(e)}`)}}var An,um={};function Qb(e,t){switch(An||(An=Sf(99,!1,0)),e){case 15:An.setText("`"+t+"`");break;case 16:An.setText("`"+t+"${");break;case 17:An.setText("}"+t+"${");break;case 18:An.setText("}"+t+"`");break}let a=An.scan();if(a===20&&(a=An.reScanTemplateToken(!1)),An.isUnterminated())return An.setText(void 0),um;let o;switch(a){case 15:case 16:case 17:case 18:o=An.getTokenValue();break}return o===void 0||An.scan()!==1?(An.setText(void 0),um):(An.setText(void 0),o)}function Bn(e){return e&&et(e)?Ba(e):F(e)}function Ba(e){return F(e)&-67108865}function Kb(e,t){return t|e.transformFlags&134234112}function F(e){if(!e)return 0;let t=e.transformFlags&~Zb(e.kind);return Lg(e)&&S1(e.name)?Kb(e.name,t):t}function Ae(e){return e?e.transformFlags:0}function pm(e){let t=0;for(let a of e)t|=F(a);e.transformFlags=t}function Zb(e){if(e>=182&&e<=205)return-2;switch(e){case 213:case 214:case 209:return-2147450880;case 267:return-1941676032;case 169:return-2147483648;case 219:return-2072174592;case 218:case 262:return-1937940480;case 261:return-2146893824;case 263:case 231:return-2147344384;case 176:return-1937948672;case 172:return-2013249536;case 174:case 177:case 178:return-2005057536;case 133:case 150:case 163:case 146:case 154:case 151:case 136:case 155:case 116:case 168:case 171:case 173:case 179:case 180:case 181:case 264:case 265:return-2;case 210:return-2147278848;case 299:return-2147418112;case 206:case 207:return-2147450880;case 216:case 238:case 234:case 354:case 217:case 108:return-2147483648;case 211:case 212:return-2147483648;default:return-2147483648}}var fs=Hb();function ds(e){return e.flags|=16,e}var e6={createBaseSourceFileNode:e=>ds(fs.createBaseSourceFileNode(e)),createBaseIdentifierNode:e=>ds(fs.createBaseIdentifierNode(e)),createBasePrivateIdentifierNode:e=>ds(fs.createBasePrivateIdentifierNode(e)),createBaseTokenNode:e=>ds(fs.createBaseTokenNode(e)),createBaseNode:e=>ds(fs.createBaseNode(e))},rx=Uf(4,e6);function t6(e,t){if(e.original!==t&&(e.original=t,t)){let a=t.emitNode;a&&(e.emitNode=n6(a,e.emitNode))}return e}function n6(e,t){let{flags:a,internalFlags:o,leadingComments:h,trailingComments:g,commentRange:E,sourceMapRange:C,tokenSourceMapRanges:l,constantValue:Z,helpers:f,startsOnNewLine:k,snippetElement:v,classThis:w,assignedName:J}=e;if(t||(t={}),a&&(t.flags=a),o&&(t.internalFlags=o&-9),h&&(t.leadingComments=Pn(h.slice(),t.leadingComments)),g&&(t.trailingComments=Pn(g.slice(),t.trailingComments)),E&&(t.commentRange=E),C&&(t.sourceMapRange=C),l&&(t.tokenSourceMapRanges=r6(l,t.tokenSourceMapRanges)),Z!==void 0&&(t.constantValue=Z),f)for(let re of f)t.helpers=Dy(t.helpers,re);return k!==void 0&&(t.startsOnNewLine=k),v!==void 0&&(t.snippetElement=v),w&&(t.classThis=w),J&&(t.assignedName=J),t}function r6(e,t){t||(t=[]);for(let a in e)t[a]=e[a];return t}function Ai(e){return e.kind===9}function Bf(e){return e.kind===10}function Qa(e){return e.kind===11}function V1(e){return e.kind===15}function i6(e){return e.kind===28}function fm(e){return e.kind===54}function dm(e){return e.kind===58}function et(e){return e.kind===80}function wi(e){return e.kind===81}function a6(e){return e.kind===95}function tl(e){return e.kind===134}function Fp(e){return e.kind===108}function _6(e){return e.kind===102}function W1(e){return e.kind===166}function wl(e){return e.kind===167}function qf(e){return e.kind===168}function As(e){return e.kind===169}function kl(e){return e.kind===170}function G1(e){return e.kind===171}function Ha(e){return e.kind===172}function Y1(e){return e.kind===173}function Cs(e){return e.kind===174}function zf(e){return e.kind===176}function ml(e){return e.kind===177}function Ds(e){return e.kind===178}function H1(e){return e.kind===179}function X1(e){return e.kind===180}function Ff(e){return e.kind===181}function $1(e){return e.kind===182}function El(e){return e.kind===183}function Vf(e){return e.kind===184}function Wf(e){return e.kind===185}function s6(e){return e.kind===186}function Q1(e){return e.kind===187}function o6(e){return e.kind===188}function c6(e){return e.kind===189}function K1(e){return e.kind===202}function l6(e){return e.kind===190}function u6(e){return e.kind===191}function Z1(e){return e.kind===192}function eh(e){return e.kind===193}function p6(e){return e.kind===194}function f6(e){return e.kind===195}function th(e){return e.kind===196}function d6(e){return e.kind===197}function nh(e){return e.kind===198}function m6(e){return e.kind===199}function rh(e){return e.kind===200}function h6(e){return e.kind===201}function y6(e){return e.kind===205}function ih(e){return e.kind===208}function ah(e){return e.kind===209}function Gf(e){return e.kind===210}function br(e){return e.kind===211}function _a(e){return e.kind===212}function Al(e){return e.kind===213}function _h(e){return e.kind===215}function Cl(e){return e.kind===217}function Yf(e){return e.kind===218}function Hf(e){return e.kind===219}function g6(e){return e.kind===222}function sh(e){return e.kind===224}function ia(e){return e.kind===226}function oh(e){return e.kind===230}function hl(e){return e.kind===231}function ch(e){return e.kind===232}function lh(e){return e.kind===233}function _l(e){return e.kind===235}function b6(e){return e.kind===236}function v6(e){return e.kind===355}function Ka(e){return e.kind===243}function Dl(e){return e.kind===244}function uh(e){return e.kind===256}function Pl(e){return e.kind===260}function ph(e){return e.kind===261}function Xf(e){return e.kind===262}function Xa(e){return e.kind===263}function Ms(e){return e.kind===264}function Nl(e){return e.kind===265}function fh(e){return e.kind===266}function ei(e){return e.kind===267}function $f(e){return e.kind===271}function Qf(e){return e.kind===272}function Kf(e){return e.kind===277}function Zf(e){return e.kind===278}function dh(e){return e.kind===279}function x6(e){return e.kind===353}function ed(e){return e.kind===283}function af(e){return e.kind===286}function T6(e){return e.kind===289}function mh(e){return e.kind===295}function S6(e){return e.kind===297}function td(e){return e.kind===303}function hh(e){return e.kind===307}function yh(e){return e.kind===309}function gh(e){return e.kind===314}function bh(e){return e.kind===317}function vh(e){return e.kind===320}function w6(e){return e.kind===322}function Il(e){return e.kind===323}function k6(e){return e.kind===328}function E6(e){return e.kind===333}function A6(e){return e.kind===334}function C6(e){return e.kind===335}function D6(e){return e.kind===336}function P6(e){return e.kind===337}function N6(e){return e.kind===339}function I6(e){return e.kind===331}function _f(e){return e.kind===341}function O6(e){return e.kind===342}function nd(e){return e.kind===344}function xh(e){return e.kind===345}function M6(e){return e.kind===329}function J6(e){return e.kind===350}var rd=new WeakMap;function Th(e){return Cf(e.kind)?rd.get(e):Ot}function id(e,t){return rd.set(e,t),t}function mm(e){rd.delete(e)}function hm(e){return(Wa(e)&32768)!==0}function j6(e){return Qa(e.expression)&&e.expression.text==="use strict"}function L6(e){for(let t of e)if(al(t)){if(j6(t))return t}else break}function R6(e){return Cl(e)&&aa(e)&&!!Qg(e)}function Sh(e,t=15){switch(e.kind){case 217:return t&16&&R6(e)?!1:(t&1)!==0;case 216:case 234:case 233:case 238:return(t&2)!==0;case 235:return(t&4)!==0;case 354:return(t&8)!==0}return!1}function ad(e,t=15){for(;Sh(e,t);)e=e.expression;return e}function U6(e){return setStartsOnNewLine(e,!0)}function gs(e){if(f2(e))return e.name;if(l2(e)){switch(e.kind){case 303:return gs(e.initializer);case 304:return e.name;case 305:return gs(e.expression)}return}return dl(e,!0)?gs(e.left):oh(e)?gs(e.expression):e}function B6(e){switch(e.kind){case 206:case 207:case 209:return e.elements;case 210:return e.properties}}function ym(e){if(e){let t=e;for(;;){if(et(t)||!t.body)return et(t)?t:t.name;t=t.body}}}var gm;(e=>{function t(f,k,v,w,J,re,be){let he=k>0?J[k-1]:void 0;return B.assertEqual(v[k],t),J[k]=f.onEnter(w[k],he,be),v[k]=C(f,t),k}e.enter=t;function a(f,k,v,w,J,re,be){B.assertEqual(v[k],a),B.assertIsDefined(f.onLeft),v[k]=C(f,a);let he=f.onLeft(w[k].left,J[k],w[k]);return he?(Z(k,w,he),l(k,v,w,J,he)):k}e.left=a;function o(f,k,v,w,J,re,be){return B.assertEqual(v[k],o),B.assertIsDefined(f.onOperator),v[k]=C(f,o),f.onOperator(w[k].operatorToken,J[k],w[k]),k}e.operator=o;function h(f,k,v,w,J,re,be){B.assertEqual(v[k],h),B.assertIsDefined(f.onRight),v[k]=C(f,h);let he=f.onRight(w[k].right,J[k],w[k]);return he?(Z(k,w,he),l(k,v,w,J,he)):k}e.right=h;function g(f,k,v,w,J,re,be){B.assertEqual(v[k],g),v[k]=C(f,g);let he=f.onExit(w[k],J[k]);if(k>0){if(k--,f.foldState){let me=v[k]===g?"right":"left";J[k]=f.foldState(J[k],he,me)}}else re.value=he;return k}e.exit=g;function E(f,k,v,w,J,re,be){return B.assertEqual(v[k],E),k}e.done=E;function C(f,k){switch(k){case t:if(f.onLeft)return a;case a:if(f.onOperator)return o;case o:if(f.onRight)return h;case h:return g;case g:return E;case E:return E;default:B.fail("Invalid state")}}e.nextState=C;function l(f,k,v,w,J){return f++,k[f]=t,v[f]=J,w[f]=void 0,f}function Z(f,k,v){if(B.shouldAssert(2))for(;f>=0;)B.assert(k[f]!==v,"Circular traversal detected."),f--}})(gm||(gm={}));function bm(e,t){return typeof e=="object"?sf(!1,e.prefix,e.node,e.suffix,t):typeof e=="string"?e.length>0&&e.charCodeAt(0)===35?e.slice(1):e:""}function q6(e,t){return typeof e=="string"?e:z6(e,B.checkDefined(t))}function z6(e,t){return T1(e)?t(e).slice(1):za(e)?t(e):wi(e)?e.escapedText.slice(1):Nn(e)}function sf(e,t,a,o,h){return t=bm(t,h),o=bm(o,h),a=q6(a,h),`${e?"#":""}${t}${a}${o}`}function wh(e){if(e.transformFlags&65536)return!0;if(e.transformFlags&128)for(let t of B6(e)){let a=gs(t);if(a&&p2(a)&&(a.transformFlags&65536||a.transformFlags&128&&wh(a)))return!0}return!1}function bn(e,t){return t?ta(e,t.pos,t.end):e}function Ol(e){let t=e.kind;return t===168||t===169||t===171||t===172||t===173||t===174||t===176||t===177||t===178||t===181||t===185||t===218||t===219||t===231||t===243||t===262||t===263||t===264||t===265||t===266||t===267||t===271||t===272||t===277||t===278}function Ml(e){let t=e.kind;return t===169||t===172||t===174||t===177||t===178||t===231||t===263}var vm,xm,Tm,Sm,wm,F6={createBaseSourceFileNode:e=>new(wm||(wm=Ct.getSourceFileConstructor()))(e,-1,-1),createBaseIdentifierNode:e=>new(Tm||(Tm=Ct.getIdentifierConstructor()))(e,-1,-1),createBasePrivateIdentifierNode:e=>new(Sm||(Sm=Ct.getPrivateIdentifierConstructor()))(e,-1,-1),createBaseTokenNode:e=>new(xm||(xm=Ct.getTokenConstructor()))(e,-1,-1),createBaseNode:e=>new(vm||(vm=Ct.getNodeConstructor()))(e,-1,-1)},ix=Uf(1,F6);function S(e,t){return t&&e(t)}function ie(e,t,a){if(a){if(t)return t(a);for(let o of a){let h=e(o);if(h)return h}}}function V6(e,t){return e.charCodeAt(t+1)===42&&e.charCodeAt(t+2)===42&&e.charCodeAt(t+3)!==47}function W6(e){return zn(e.statements,G6)||Y6(e)}function G6(e){return Ol(e)&&H6(e,95)||$f(e)&&ed(e.moduleReference)||Qf(e)||Kf(e)||Zf(e)?e:void 0}function Y6(e){return e.flags&8388608?kh(e):void 0}function kh(e){return X6(e)?e:tn(e,kh)}function H6(e,t){return qt(e.modifiers,a=>a.kind===t)}function X6(e){return b6(e)&&e.keywordToken===102&&e.name.escapedText==="meta"}var $6={166:function(t,a,o){return S(a,t.left)||S(a,t.right)},168:function(t,a,o){return ie(a,o,t.modifiers)||S(a,t.name)||S(a,t.constraint)||S(a,t.default)||S(a,t.expression)},304:function(t,a,o){return ie(a,o,t.modifiers)||S(a,t.name)||S(a,t.questionToken)||S(a,t.exclamationToken)||S(a,t.equalsToken)||S(a,t.objectAssignmentInitializer)},305:function(t,a,o){return S(a,t.expression)},169:function(t,a,o){return ie(a,o,t.modifiers)||S(a,t.dotDotDotToken)||S(a,t.name)||S(a,t.questionToken)||S(a,t.type)||S(a,t.initializer)},172:function(t,a,o){return ie(a,o,t.modifiers)||S(a,t.name)||S(a,t.questionToken)||S(a,t.exclamationToken)||S(a,t.type)||S(a,t.initializer)},171:function(t,a,o){return ie(a,o,t.modifiers)||S(a,t.name)||S(a,t.questionToken)||S(a,t.type)||S(a,t.initializer)},303:function(t,a,o){return ie(a,o,t.modifiers)||S(a,t.name)||S(a,t.questionToken)||S(a,t.exclamationToken)||S(a,t.initializer)},260:function(t,a,o){return S(a,t.name)||S(a,t.exclamationToken)||S(a,t.type)||S(a,t.initializer)},208:function(t,a,o){return S(a,t.dotDotDotToken)||S(a,t.propertyName)||S(a,t.name)||S(a,t.initializer)},181:function(t,a,o){return ie(a,o,t.modifiers)||ie(a,o,t.typeParameters)||ie(a,o,t.parameters)||S(a,t.type)},185:function(t,a,o){return ie(a,o,t.modifiers)||ie(a,o,t.typeParameters)||ie(a,o,t.parameters)||S(a,t.type)},184:function(t,a,o){return ie(a,o,t.modifiers)||ie(a,o,t.typeParameters)||ie(a,o,t.parameters)||S(a,t.type)},179:km,180:km,174:function(t,a,o){return ie(a,o,t.modifiers)||S(a,t.asteriskToken)||S(a,t.name)||S(a,t.questionToken)||S(a,t.exclamationToken)||ie(a,o,t.typeParameters)||ie(a,o,t.parameters)||S(a,t.type)||S(a,t.body)},173:function(t,a,o){return ie(a,o,t.modifiers)||S(a,t.name)||S(a,t.questionToken)||ie(a,o,t.typeParameters)||ie(a,o,t.parameters)||S(a,t.type)},176:function(t,a,o){return ie(a,o,t.modifiers)||S(a,t.name)||ie(a,o,t.typeParameters)||ie(a,o,t.parameters)||S(a,t.type)||S(a,t.body)},177:function(t,a,o){return ie(a,o,t.modifiers)||S(a,t.name)||ie(a,o,t.typeParameters)||ie(a,o,t.parameters)||S(a,t.type)||S(a,t.body)},178:function(t,a,o){return ie(a,o,t.modifiers)||S(a,t.name)||ie(a,o,t.typeParameters)||ie(a,o,t.parameters)||S(a,t.type)||S(a,t.body)},262:function(t,a,o){return ie(a,o,t.modifiers)||S(a,t.asteriskToken)||S(a,t.name)||ie(a,o,t.typeParameters)||ie(a,o,t.parameters)||S(a,t.type)||S(a,t.body)},218:function(t,a,o){return ie(a,o,t.modifiers)||S(a,t.asteriskToken)||S(a,t.name)||ie(a,o,t.typeParameters)||ie(a,o,t.parameters)||S(a,t.type)||S(a,t.body)},219:function(t,a,o){return ie(a,o,t.modifiers)||ie(a,o,t.typeParameters)||ie(a,o,t.parameters)||S(a,t.type)||S(a,t.equalsGreaterThanToken)||S(a,t.body)},175:function(t,a,o){return ie(a,o,t.modifiers)||S(a,t.body)},183:function(t,a,o){return S(a,t.typeName)||ie(a,o,t.typeArguments)},182:function(t,a,o){return S(a,t.assertsModifier)||S(a,t.parameterName)||S(a,t.type)},186:function(t,a,o){return S(a,t.exprName)||ie(a,o,t.typeArguments)},187:function(t,a,o){return ie(a,o,t.members)},188:function(t,a,o){return S(a,t.elementType)},189:function(t,a,o){return ie(a,o,t.elements)},192:Em,193:Em,194:function(t,a,o){return S(a,t.checkType)||S(a,t.extendsType)||S(a,t.trueType)||S(a,t.falseType)},195:function(t,a,o){return S(a,t.typeParameter)},205:function(t,a,o){return S(a,t.argument)||S(a,t.attributes)||S(a,t.qualifier)||ie(a,o,t.typeArguments)},302:function(t,a,o){return S(a,t.assertClause)},196:Am,198:Am,199:function(t,a,o){return S(a,t.objectType)||S(a,t.indexType)},200:function(t,a,o){return S(a,t.readonlyToken)||S(a,t.typeParameter)||S(a,t.nameType)||S(a,t.questionToken)||S(a,t.type)||ie(a,o,t.members)},201:function(t,a,o){return S(a,t.literal)},202:function(t,a,o){return S(a,t.dotDotDotToken)||S(a,t.name)||S(a,t.questionToken)||S(a,t.type)},206:Cm,207:Cm,209:function(t,a,o){return ie(a,o,t.elements)},210:function(t,a,o){return ie(a,o,t.properties)},211:function(t,a,o){return S(a,t.expression)||S(a,t.questionDotToken)||S(a,t.name)},212:function(t,a,o){return S(a,t.expression)||S(a,t.questionDotToken)||S(a,t.argumentExpression)},213:Dm,214:Dm,215:function(t,a,o){return S(a,t.tag)||S(a,t.questionDotToken)||ie(a,o,t.typeArguments)||S(a,t.template)},216:function(t,a,o){return S(a,t.type)||S(a,t.expression)},217:function(t,a,o){return S(a,t.expression)},220:function(t,a,o){return S(a,t.expression)},221:function(t,a,o){return S(a,t.expression)},222:function(t,a,o){return S(a,t.expression)},224:function(t,a,o){return S(a,t.operand)},229:function(t,a,o){return S(a,t.asteriskToken)||S(a,t.expression)},223:function(t,a,o){return S(a,t.expression)},225:function(t,a,o){return S(a,t.operand)},226:function(t,a,o){return S(a,t.left)||S(a,t.operatorToken)||S(a,t.right)},234:function(t,a,o){return S(a,t.expression)||S(a,t.type)},235:function(t,a,o){return S(a,t.expression)},238:function(t,a,o){return S(a,t.expression)||S(a,t.type)},236:function(t,a,o){return S(a,t.name)},227:function(t,a,o){return S(a,t.condition)||S(a,t.questionToken)||S(a,t.whenTrue)||S(a,t.colonToken)||S(a,t.whenFalse)},230:function(t,a,o){return S(a,t.expression)},241:Pm,268:Pm,307:function(t,a,o){return ie(a,o,t.statements)||S(a,t.endOfFileToken)},243:function(t,a,o){return ie(a,o,t.modifiers)||S(a,t.declarationList)},261:function(t,a,o){return ie(a,o,t.declarations)},244:function(t,a,o){return S(a,t.expression)},245:function(t,a,o){return S(a,t.expression)||S(a,t.thenStatement)||S(a,t.elseStatement)},246:function(t,a,o){return S(a,t.statement)||S(a,t.expression)},247:function(t,a,o){return S(a,t.expression)||S(a,t.statement)},248:function(t,a,o){return S(a,t.initializer)||S(a,t.condition)||S(a,t.incrementor)||S(a,t.statement)},249:function(t,a,o){return S(a,t.initializer)||S(a,t.expression)||S(a,t.statement)},250:function(t,a,o){return S(a,t.awaitModifier)||S(a,t.initializer)||S(a,t.expression)||S(a,t.statement)},251:Nm,252:Nm,253:function(t,a,o){return S(a,t.expression)},254:function(t,a,o){return S(a,t.expression)||S(a,t.statement)},255:function(t,a,o){return S(a,t.expression)||S(a,t.caseBlock)},269:function(t,a,o){return ie(a,o,t.clauses)},296:function(t,a,o){return S(a,t.expression)||ie(a,o,t.statements)},297:function(t,a,o){return ie(a,o,t.statements)},256:function(t,a,o){return S(a,t.label)||S(a,t.statement)},257:function(t,a,o){return S(a,t.expression)},258:function(t,a,o){return S(a,t.tryBlock)||S(a,t.catchClause)||S(a,t.finallyBlock)},299:function(t,a,o){return S(a,t.variableDeclaration)||S(a,t.block)},170:function(t,a,o){return S(a,t.expression)},263:Im,231:Im,264:function(t,a,o){return ie(a,o,t.modifiers)||S(a,t.name)||ie(a,o,t.typeParameters)||ie(a,o,t.heritageClauses)||ie(a,o,t.members)},265:function(t,a,o){return ie(a,o,t.modifiers)||S(a,t.name)||ie(a,o,t.typeParameters)||S(a,t.type)},266:function(t,a,o){return ie(a,o,t.modifiers)||S(a,t.name)||ie(a,o,t.members)},306:function(t,a,o){return S(a,t.name)||S(a,t.initializer)},267:function(t,a,o){return ie(a,o,t.modifiers)||S(a,t.name)||S(a,t.body)},271:function(t,a,o){return ie(a,o,t.modifiers)||S(a,t.name)||S(a,t.moduleReference)},272:function(t,a,o){return ie(a,o,t.modifiers)||S(a,t.importClause)||S(a,t.moduleSpecifier)||S(a,t.attributes)},273:function(t,a,o){return S(a,t.name)||S(a,t.namedBindings)},300:function(t,a,o){return ie(a,o,t.elements)},301:function(t,a,o){return S(a,t.name)||S(a,t.value)},270:function(t,a,o){return ie(a,o,t.modifiers)||S(a,t.name)},274:function(t,a,o){return S(a,t.name)},280:function(t,a,o){return S(a,t.name)},275:Om,279:Om,278:function(t,a,o){return ie(a,o,t.modifiers)||S(a,t.exportClause)||S(a,t.moduleSpecifier)||S(a,t.attributes)},276:Mm,281:Mm,277:function(t,a,o){return ie(a,o,t.modifiers)||S(a,t.expression)},228:function(t,a,o){return S(a,t.head)||ie(a,o,t.templateSpans)},239:function(t,a,o){return S(a,t.expression)||S(a,t.literal)},203:function(t,a,o){return S(a,t.head)||ie(a,o,t.templateSpans)},204:function(t,a,o){return S(a,t.type)||S(a,t.literal)},167:function(t,a,o){return S(a,t.expression)},298:function(t,a,o){return ie(a,o,t.types)},233:function(t,a,o){return S(a,t.expression)||ie(a,o,t.typeArguments)},283:function(t,a,o){return S(a,t.expression)},282:function(t,a,o){return ie(a,o,t.modifiers)},355:function(t,a,o){return ie(a,o,t.elements)},284:function(t,a,o){return S(a,t.openingElement)||ie(a,o,t.children)||S(a,t.closingElement)},288:function(t,a,o){return S(a,t.openingFragment)||ie(a,o,t.children)||S(a,t.closingFragment)},285:Jm,286:Jm,292:function(t,a,o){return ie(a,o,t.properties)},291:function(t,a,o){return S(a,t.name)||S(a,t.initializer)},293:function(t,a,o){return S(a,t.expression)},294:function(t,a,o){return S(a,t.dotDotDotToken)||S(a,t.expression)},287:function(t,a,o){return S(a,t.tagName)},295:function(t,a,o){return S(a,t.namespace)||S(a,t.name)},190:Hi,191:Hi,309:Hi,315:Hi,314:Hi,316:Hi,318:Hi,317:function(t,a,o){return ie(a,o,t.parameters)||S(a,t.type)},320:function(t,a,o){return(typeof t.comment=="string"?void 0:ie(a,o,t.comment))||ie(a,o,t.tags)},347:function(t,a,o){return S(a,t.tagName)||S(a,t.name)||(typeof t.comment=="string"?void 0:ie(a,o,t.comment))},310:function(t,a,o){return S(a,t.name)},311:function(t,a,o){return S(a,t.left)||S(a,t.right)},341:jm,348:jm,330:function(t,a,o){return S(a,t.tagName)||(typeof t.comment=="string"?void 0:ie(a,o,t.comment))},329:function(t,a,o){return S(a,t.tagName)||S(a,t.class)||(typeof t.comment=="string"?void 0:ie(a,o,t.comment))},328:function(t,a,o){return S(a,t.tagName)||S(a,t.class)||(typeof t.comment=="string"?void 0:ie(a,o,t.comment))},345:function(t,a,o){return S(a,t.tagName)||S(a,t.constraint)||ie(a,o,t.typeParameters)||(typeof t.comment=="string"?void 0:ie(a,o,t.comment))},346:function(t,a,o){return S(a,t.tagName)||(t.typeExpression&&t.typeExpression.kind===309?S(a,t.typeExpression)||S(a,t.fullName)||(typeof t.comment=="string"?void 0:ie(a,o,t.comment)):S(a,t.fullName)||S(a,t.typeExpression)||(typeof t.comment=="string"?void 0:ie(a,o,t.comment)))},338:function(t,a,o){return S(a,t.tagName)||S(a,t.fullName)||S(a,t.typeExpression)||(typeof t.comment=="string"?void 0:ie(a,o,t.comment))},342:Xi,344:Xi,343:Xi,340:Xi,350:Xi,349:Xi,339:Xi,323:function(t,a,o){return zn(t.typeParameters,a)||zn(t.parameters,a)||S(a,t.type)},324:Vp,325:Vp,326:Vp,322:function(t,a,o){return zn(t.jsDocPropertyTags,a)},327:bi,332:bi,333:bi,334:bi,335:bi,336:bi,331:bi,337:bi,351:Q6,354:K6};function km(e,t,a){return ie(t,a,e.typeParameters)||ie(t,a,e.parameters)||S(t,e.type)}function Em(e,t,a){return ie(t,a,e.types)}function Am(e,t,a){return S(t,e.type)}function Cm(e,t,a){return ie(t,a,e.elements)}function Dm(e,t,a){return S(t,e.expression)||S(t,e.questionDotToken)||ie(t,a,e.typeArguments)||ie(t,a,e.arguments)}function Pm(e,t,a){return ie(t,a,e.statements)}function Nm(e,t,a){return S(t,e.label)}function Im(e,t,a){return ie(t,a,e.modifiers)||S(t,e.name)||ie(t,a,e.typeParameters)||ie(t,a,e.heritageClauses)||ie(t,a,e.members)}function Om(e,t,a){return ie(t,a,e.elements)}function Mm(e,t,a){return S(t,e.propertyName)||S(t,e.name)}function Jm(e,t,a){return S(t,e.tagName)||ie(t,a,e.typeArguments)||S(t,e.attributes)}function Hi(e,t,a){return S(t,e.type)}function jm(e,t,a){return S(t,e.tagName)||(e.isNameFirst?S(t,e.name)||S(t,e.typeExpression):S(t,e.typeExpression)||S(t,e.name))||(typeof e.comment=="string"?void 0:ie(t,a,e.comment))}function Xi(e,t,a){return S(t,e.tagName)||S(t,e.typeExpression)||(typeof e.comment=="string"?void 0:ie(t,a,e.comment))}function Vp(e,t,a){return S(t,e.name)}function bi(e,t,a){return S(t,e.tagName)||(typeof e.comment=="string"?void 0:ie(t,a,e.comment))}function Q6(e,t,a){return S(t,e.tagName)||S(t,e.importClause)||S(t,e.moduleSpecifier)||S(t,e.attributes)||(typeof e.comment=="string"?void 0:ie(t,a,e.comment))}function K6(e,t,a){return S(t,e.expression)}function tn(e,t,a){if(e===void 0||e.kind<=165)return;let o=$6[e.kind];return o===void 0?void 0:o(e,t,a)}function Lm(e,t,a){let o=Rm(e),h=[];for(;h.length=0;--C)o.push(g[C]),h.push(E)}else{let C=t(g,E);if(C){if(C==="skip")continue;return C}if(g.kind>=166)for(let l of Rm(g))o.push(l),h.push(g)}}}function Rm(e){let t=[];return tn(e,a,a),t;function a(o){t.unshift(o)}}function Eh(e){e.externalModuleIndicator=W6(e)}function Ah(e,t,a,o=!1,h){var g,E,C,l;(g=rl)==null||g.push(rl.Phase.Parse,"createSourceFile",{path:e},!0),zd("beforeParse");let Z;(E=Xp)==null||E.logStartParseSourceFile(e);let{languageVersion:f,setExternalModuleIndicator:k,impliedNodeFormat:v,jsDocParsingMode:w}=typeof a=="object"?a:{languageVersion:a};if(f===100)Z=na.parseSourceFile(e,t,f,void 0,o,6,Ga,w);else{let J=v===void 0?k:re=>(re.impliedNodeFormat=v,(k||Eh)(re));Z=na.parseSourceFile(e,t,f,void 0,o,h,J,w)}return(C=Xp)==null||C.logStopParseSourceFile(),zd("afterParse"),$y("Parse","beforeParse","afterParse"),(l=rl)==null||l.pop(),Z}function _d(e){return e.externalModuleIndicator!==void 0}function Z6(e,t,a,o=!1){let h=yl.updateSourceFile(e,t,a,o);return h.flags|=e.flags&12582912,h}var na;(e=>{var t=Sf(99,!0),a=40960,o,h,g,E,C;function l(s){return sr++,s}var Z={createBaseSourceFileNode:s=>l(new C(s,0,0)),createBaseIdentifierNode:s=>l(new g(s,0,0)),createBasePrivateIdentifierNode:s=>l(new E(s,0,0)),createBaseTokenNode:s=>l(new h(s,0,0)),createBaseNode:s=>l(new o(s,0,0))},f=Uf(11,Z),{createNodeArray:k,createNumericLiteral:v,createStringLiteral:w,createLiteralLikeNode:J,createIdentifier:re,createPrivateIdentifier:be,createToken:he,createArrayLiteralExpression:me,createObjectLiteralExpression:O,createPropertyAccessExpression:ae,createPropertyAccessChain:ve,createElementAccessExpression:X,createElementAccessChain:oe,createCallExpression:G,createCallChain:ht,createNewExpression:ir,createParenthesizedExpression:xn,createBlock:ar,createVariableStatement:Tn,createExpressionStatement:On,createIfStatement:Ve,createWhileStatement:_r,createForStatement:Rr,createForOfStatement:Mt,createVariableDeclaration:Vn,createVariableDeclarationList:Mn}=f,Jt,xt,Qe,Wn,nn,ut,st,Vt,jt,pt,sr,yt,Sn,vt,dn,rt,Wt=!0,on=!1;function or(s,p,m,y,x=!1,N,$,_e=0){var ee;if(N=jb(s,N),N===6){let le=xr(s,p,m,y,x);return convertToJson(le,(ee=le.statements[0])==null?void 0:ee.expression,le.parseDiagnostics,!1,void 0),le.referencedFiles=Ot,le.typeReferenceDirectives=Ot,le.libReferenceDirectives=Ot,le.amdDependencies=Ot,le.hasNoDefaultLib=!1,le.pragmas=vy,le}Gn(s,p,m,y,N,_e);let K=Ur(m,x,N,$||Eh,_e);return Yn(),K}e.parseSourceFile=or;function vr(s,p){Gn("",s,p,void 0,1,0),U();let m=Oi(!0),y=u()===1&&!st.length;return Yn(),y?m:void 0}e.parseIsolatedEntityName=vr;function xr(s,p,m=2,y,x=!1){Gn(s,p,m,y,6,0),xt=rt,U();let N=M(),$,_e;if(u()===1)$=Dt([],N,N),_e=Qt();else{let le;for(;u()!==1;){let De;switch(u()){case 23:De=Y_();break;case 112:case 97:case 106:De=Qt();break;case 41:Y(()=>U()===9&&U()!==59)?De=L_():De=Aa();break;case 9:case 11:if(Y(()=>U()!==59)){De=Kn();break}default:De=Aa();break}le&&Zr(le)?le.push(De):le?le=[le,De]:(le=De,u()!==1&&Ee(A.Unexpected_token))}let Ue=Zr(le)?D(me(le),N):B.checkDefined(le),je=On(Ue);D(je,N),$=Dt([je],N),_e=Qn(1,A.Unexpected_token)}let ee=se(s,2,6,!1,$,_e,xt,Ga);x&&j(ee),ee.nodeCount=sr,ee.identifierCount=Sn,ee.identifiers=yt,ee.parseDiagnostics=Yi(st,ee),Vt&&(ee.jsDocDiagnostics=Yi(Vt,ee));let K=ee;return Yn(),K}e.parseJsonText=xr;function Gn(s,p,m,y,x,N){switch(o=Ct.getNodeConstructor(),h=Ct.getTokenConstructor(),g=Ct.getIdentifierConstructor(),E=Ct.getPrivateIdentifierConstructor(),C=Ct.getSourceFileConstructor(),Jt=cg(s),Qe=p,Wn=m,jt=y,nn=x,ut=om(x),st=[],vt=0,yt=new Map,Sn=0,sr=0,xt=0,Wt=!0,nn){case 1:case 2:rt=524288;break;case 6:rt=134742016;break;default:rt=0;break}on=!1,t.setText(Qe),t.setOnError(ii),t.setScriptTarget(Wn),t.setLanguageVariant(ut),t.setScriptKind(nn),t.setJSDocParsingMode(N)}function Yn(){t.clearCommentDirectives(),t.setText(""),t.setOnError(void 0),t.setScriptKind(0),t.setJSDocParsingMode(0),Qe=void 0,Wn=void 0,jt=void 0,nn=void 0,ut=void 0,xt=0,st=void 0,Vt=void 0,vt=0,yt=void 0,dn=void 0,Wt=!0}function Ur(s,p,m,y,x){let N=nv(Jt);N&&(rt|=33554432),xt=rt,U();let $=kn(0,Zt);B.assert(u()===1);let _e=Be(),ee=Ne(Qt(),_e),K=se(Jt,s,m,N,$,ee,xt,y);return av(K,Qe),_v(K,le),K.commentDirectives=t.getCommentDirectives(),K.nodeCount=sr,K.identifierCount=Sn,K.identifiers=yt,K.parseDiagnostics=Yi(st,K),K.jsDocParsingMode=x,Vt&&(K.jsDocDiagnostics=Yi(Vt,K)),p&&j(K),K;function le(Ue,je,De){st.push(ja(Jt,Qe,Ue,je,De))}}let Hn=!1;function Ne(s,p){if(!p)return s;B.assert(!s.jsDoc);let m=ky(I2(s,Qe),y=>us.parseJSDocComment(s,y.pos,y.end-y.pos));return m.length&&(s.jsDoc=m),Hn&&(Hn=!1,s.flags|=536870912),s}function Tr(s){let p=jt,m=yl.createSyntaxCursor(s);jt={currentNode:le};let y=[],x=st;st=[];let N=0,$=ee(s.statements,0);for(;$!==-1;){let Ue=s.statements[N],je=s.statements[$];Pn(y,s.statements,N,$),N=K(s.statements,$);let De=Mp(x,un=>un.start>=Ue.pos),Yt=De>=0?Mp(x,un=>un.start>=je.pos,De):-1;De>=0&&Pn(st,x,De,Yt>=0?Yt:void 0),hn(()=>{let un=rt;for(rt|=65536,t.resetTokenState(je.pos),U();u()!==1;){let fr=t.getTokenFullStart(),dr=ha(0,Zt);if(y.push(dr),fr===t.getTokenFullStart()&&U(),N>=0){let Ht=s.statements[N];if(dr.end===Ht.pos)break;dr.end>Ht.pos&&(N=K(s.statements,N+1))}}rt=un},2),$=N>=0?ee(s.statements,N):-1}if(N>=0){let Ue=s.statements[N];Pn(y,s.statements,N);let je=Mp(x,De=>De.start>=Ue.pos);je>=0&&Pn(st,x,je)}return jt=p,f.updateSourceFile(s,bn(k(y),s.statements));function _e(Ue){return!(Ue.flags&65536)&&!!(Ue.transformFlags&67108864)}function ee(Ue,je){for(let De=je;De118}function ke(){return u()===80?!0:u()===127&&Ce()||u()===135&&Ze()?!1:u()>118}function L(s,p,m=!0){return u()===s?(m&&U(),!0):(p?Ee(p):Ee(A._0_expected,_t(s)),!1)}let gt=Object.keys(bf).filter(s=>s.length>2);function St(s){if(_h(s)){at(Qr(Qe,s.template.pos),s.template.end,A.Module_declaration_names_may_only_use_or_quoted_strings);return}let p=et(s)?Nn(s):void 0;if(!p||!Dg(p,Wn)){Ee(A._0_expected,_t(27));return}let m=Qr(Qe,s.pos);switch(p){case"const":case"let":case"var":at(m,s.end,A.Variable_declaration_not_allowed_at_this_location);return;case"declare":return;case"interface":Lt(A.Interface_name_cannot_be_0,A.Interface_must_be_given_a_name,19);return;case"is":at(m,t.getTokenStart(),A.A_type_predicate_is_only_allowed_in_return_type_position_for_functions_and_methods);return;case"module":case"namespace":Lt(A.Namespace_name_cannot_be_0,A.Namespace_must_be_given_a_name,19);return;case"type":Lt(A.Type_alias_name_cannot_be_0,A.Type_alias_must_be_given_a_name,64);return}let y=nl(p,gt,kt)??yn(p);if(y){at(m,s.end,A.Unknown_keyword_or_identifier_Did_you_mean_0,y);return}u()!==0&&at(m,s.end,A.Unexpected_keyword_or_identifier)}function Lt(s,p,m){u()===m?Ee(p):Ee(s,t.getTokenValue())}function yn(s){for(let p of gt)if(s.length>p.length+2&&ol(s,p))return`${p} ${s.slice(p.length)}`}function Fl(s,p,m){if(u()===60&&!t.hasPrecedingLineBreak()){Ee(A.Decorators_must_precede_the_name_and_all_keywords_of_property_declarations);return}if(u()===21){Ee(A.Cannot_start_a_function_call_in_a_type_annotation),U();return}if(p&&!cr()){m?Ee(A._0_expected,_t(27)):Ee(A.Expected_for_property_initializer);return}if(!fa()){if(m){Ee(A._0_expected,_t(27));return}St(s)}}function zs(s){return u()===s?(qe(),!0):(B.assert(Rp(s)),Ee(A._0_expected,_t(s)),!1)}function qr(s,p,m,y){if(u()===p){U();return}let x=Ee(A._0_expected,_t(p));m&&x&&Kc(x,ja(Jt,Qe,y,1,A.The_parser_expected_to_find_a_1_to_match_the_0_token_here,_t(s),_t(p)))}function Je(s){return u()===s?(U(),!0):!1}function mt(s){if(u()===s)return Qt()}function Vl(s){if(u()===s)return Gl()}function Qn(s,p,m){return mt(s)||an(s,!1,p||A._0_expected,m||_t(s))}function Wl(s){let p=Vl(s);return p||(B.assert(Rp(s)),an(s,!1,A._0_expected,_t(s)))}function Qt(){let s=M(),p=u();return U(),D(he(p),s)}function Gl(){let s=M(),p=u();return qe(),D(he(p),s)}function cr(){return u()===27?!0:u()===20||u()===1||t.hasPrecedingLineBreak()}function fa(){return cr()?(u()===27&&U(),!0):!1}function rn(){return fa()||L(27)}function Dt(s,p,m,y){let x=k(s,y);return ta(x,p,m??t.getTokenFullStart()),x}function D(s,p,m){return ta(s,p,m??t.getTokenFullStart()),rt&&(s.flags|=rt),on&&(on=!1,s.flags|=262144),s}function an(s,p,m,...y){p?wn(t.getTokenFullStart(),0,m,...y):m&&Ee(m,...y);let x=M(),N=s===80?re("",void 0):Zd(s)?f.createTemplateLiteralLikeNode(s,"","",void 0):s===9?v("",void 0):s===11?w("",void 0):s===282?f.createMissingDeclaration():he(s);return D(N,x)}function zr(s){let p=yt.get(s);return p===void 0&&yt.set(s,p=s),p}function lr(s,p,m){if(s){Sn++;let _e=M(),ee=u(),K=zr(t.getTokenValue()),le=t.hasExtendedUnicodeEscape();return Oe(),D(re(K,ee,le),_e)}if(u()===81)return Ee(m||A.Private_identifiers_are_not_allowed_outside_class_bodies),lr(!0);if(u()===0&&t.tryScan(()=>t.reScanInvalidIdentifier()===80))return lr(!0);Sn++;let y=u()===1,x=t.isReservedWord(),N=t.getTokenText(),$=x?A.Identifier_expected_0_is_a_reserved_word_that_cannot_be_used_here:A.Identifier_expected;return an(80,y,p||$,N)}function r_(s){return lr(ze(),void 0,s)}function wt(s,p){return lr(ke(),s,p)}function Rt(s){return lr(bt(u()),s)}function ai(){return(t.hasUnicodeEscape()||t.hasExtendedUnicodeEscape())&&Ee(A.Unicode_escape_sequence_cannot_appear_here),lr(bt(u()))}function Fr(){return bt(u())||u()===11||u()===9}function Fs(){return bt(u())||u()===11}function Yl(s){if(u()===11||u()===9){let p=Kn();return p.text=zr(p.text),p}return s&&u()===23?Hl():u()===81?da():Rt()}function Vr(){return Yl(!0)}function Hl(){let s=M();L(23);let p=ft(At);return L(24),D(f.createComputedPropertyName(p),s)}function da(){let s=M(),p=be(zr(t.getTokenValue()));return U(),D(p,s)}function _i(s){return u()===s&&de(Vs)}function i_(){return U(),t.hasPrecedingLineBreak()?!1:ur()}function Vs(){switch(u()){case 87:return U()===94;case 95:return U(),u()===90?Y(Gs):u()===156?Y(Xl):Ii();case 90:return Gs();case 126:case 139:case 153:return U(),ur();default:return i_()}}function Ii(){return u()===60||u()!==42&&u()!==130&&u()!==19&&ur()}function Xl(){return U(),Ii()}function Ws(){return $r(u())&&de(Vs)}function ur(){return u()===23||u()===19||u()===42||u()===26||Fr()}function Gs(){return U(),u()===86||u()===100||u()===120||u()===60||u()===128&&Y($u)||u()===134&&Y(X_)}function si(s,p){if(o_(s))return!0;switch(s){case 0:case 1:case 3:return!(u()===27&&p)&&$_();case 2:return u()===84||u()===90;case 4:return Y(bo);case 5:return Y(Cc)||u()===27&&!p;case 6:return u()===23||Fr();case 12:switch(u()){case 23:case 42:case 26:case 25:return!0;default:return Fr()}case 18:return Fr();case 9:return u()===23||u()===26||Fr();case 24:return Fs();case 7:return u()===19?Y(Ys):p?ke()&&!__():I_()&&!__();case 8:return es();case 10:return u()===28||u()===26||es();case 19:return u()===103||u()===87||ke();case 15:switch(u()){case 28:case 25:return!0}case 11:return u()===26||Ar();case 16:return va(!1);case 17:return va(!0);case 20:case 21:return u()===28||Wr();case 22:return jc();case 23:return u()===161&&Y(ep)?!1:bt(u());case 13:return bt(u())||u()===19;case 14:return!0;case 25:return!0;case 26:return B.fail("ParsingContext.Count used as a context");default:B.assertNever(s,"Non-exhaustive case in 'isListElement'.")}}function Ys(){if(B.assert(u()===19),U()===20){let s=U();return s===28||s===19||s===96||s===119}return!0}function ma(){return U(),ke()}function a_(){return U(),bt(u())}function $l(){return U(),lg(u())}function __(){return u()===119||u()===96?Y(Hs):!1}function Hs(){return U(),Ar()}function Xs(){return U(),Wr()}function wr(s){if(u()===1)return!0;switch(s){case 1:case 2:case 4:case 5:case 6:case 12:case 9:case 23:case 24:return u()===20;case 3:return u()===20||u()===84||u()===90;case 7:return u()===19||u()===96||u()===119;case 8:return Ql();case 19:return u()===32||u()===21||u()===19||u()===96||u()===119;case 11:return u()===22||u()===27;case 15:case 21:case 10:return u()===24;case 17:case 16:case 18:return u()===22||u()===24;case 20:return u()!==28;case 22:return u()===19||u()===20;case 13:return u()===32||u()===44;case 14:return u()===30&&Y(os);default:return!1}}function Ql(){return!!(cr()||J_(u())||u()===39)}function s_(){B.assert(vt,"Missing parsing context");for(let s=0;s<26;s++)if(vt&1<=0)}function eu(s){return s===6?A.An_enum_member_name_must_be_followed_by_a_or:void 0}function jn(){let s=Dt([],M());return s.isMissingList=!0,s}function tu(s){return!!s.isMissingList}function kr(s,p,m,y){if(L(m)){let x=Kt(s,p);return L(y),x}return jn()}function Oi(s,p){let m=M(),y=s?Rt(p):wt(p);for(;Je(25)&&u()!==30;)y=D(f.createQualifiedName(y,ya(s,!1,!0)),m);return y}function d_(s,p){return D(f.createQualifiedName(s,p),s.pos)}function ya(s,p,m){if(t.hasPrecedingLineBreak()&&bt(u())&&Y(Ca))return an(80,!0,A.Identifier_expected);if(u()===81){let y=da();return p?y:an(80,!0,A.Identifier_expected)}return s?m?Rt():ai():wt()}function m_(s){let p=M(),m=[],y;do y=ru(s),m.push(y);while(y.literal.kind===17);return Dt(m,p)}function to(s){let p=M();return D(f.createTemplateExpression(ro(s),m_(s)),p)}function h_(){let s=M();return D(f.createTemplateLiteralType(ro(!1),no()),s)}function no(){let s=M(),p=[],m;do m=nu(),p.push(m);while(m.literal.kind===17);return Dt(p,s)}function nu(){let s=M();return D(f.createTemplateLiteralTypeSpan(ct(),y_(!1)),s)}function y_(s){return u()===20?(Nt(s),ga()):Qn(18,A._0_expected,_t(20))}function ru(s){let p=M();return D(f.createTemplateSpan(ft(At),y_(s)),p)}function Kn(){return Mi(u())}function ro(s){!s&&t.getTokenFlags()&26656&&Nt(!1);let p=Mi(u());return B.assert(p.kind===16,"Template head has wrong token kind"),p}function ga(){let s=Mi(u());return B.assert(s.kind===17||s.kind===18,"Template fragment has wrong token kind"),s}function io(s){let p=s===15||s===18,m=t.getTokenText();return m.substring(1,m.length-(t.isUnterminated()?0:p?1:2))}function Mi(s){let p=M(),m=Zd(s)?f.createTemplateLiteralLikeNode(s,t.getTokenValue(),io(s),t.getTokenFlags()&7176):s===9?v(t.getTokenValue(),t.getNumericLiteralFlags()):s===11?w(t.getTokenValue(),void 0,t.hasExtendedUnicodeEscape()):n2(s)?J(s,t.getTokenValue()):B.fail();return t.hasExtendedUnicodeEscape()&&(m.hasExtendedUnicodeEscape=!0),t.isUnterminated()&&(m.isUnterminated=!0),U(),D(m,p)}function g_(){return Oi(!0,A.Type_expected)}function oi(){if(!t.hasPrecedingLineBreak()&&Et()===30)return kr(20,ct,30,32)}function ba(){let s=M();return D(f.createTypeReferenceNode(g_(),oi()),s)}function b_(s){switch(s.kind){case 183:return ea(s.typeName);case 184:case 185:{let{parameters:p,type:m}=s;return tu(p)||b_(m)}case 196:return b_(s.type);default:return!1}}function iu(s){return U(),D(f.createTypePredicateNode(void 0,s,ct()),s.pos)}function ao(){let s=M();return U(),D(f.createThisTypeNode(),s)}function _o(){let s=M();return U(),D(f.createJSDocAllType(),s)}function au(){let s=M();return U(),D(f.createJSDocNonNullableType(Do(),!1),s)}function so(){let s=M();return U(),u()===28||u()===20||u()===22||u()===32||u()===64||u()===52?D(f.createJSDocUnknownType(),s):D(f.createJSDocNullableType(ct(),!1),s)}function _u(){let s=M(),p=Be();if(de(qc)){let m=pr(36),y=Ln(59,!1);return Ne(D(f.createJSDocFunctionType(m,y),s),p)}return D(f.createTypeReferenceNode(Rt(),void 0),s)}function oo(){let s=M(),p;return(u()===110||u()===105)&&(p=Rt(),L(59)),D(f.createParameterDeclaration(void 0,void 0,p,void 0,Ji(),void 0),s)}function Ji(){t.setSkipJsDocLeadingAsterisks(!0);let s=M();if(Je(144)){let y=f.createJSDocNamepathType(void 0);e:for(;;)switch(u()){case 20:case 1:case 28:case 5:break e;default:qe()}return t.setSkipJsDocLeadingAsterisks(!1),D(y,s)}let p=Je(26),m=P_();return t.setSkipJsDocLeadingAsterisks(!1),p&&(m=D(f.createJSDocVariadicType(m),s)),u()===64?(U(),D(f.createJSDocOptionalType(m),s)):m}function su(){let s=M();L(114);let p=Oi(!0),m=t.hasPrecedingLineBreak()?void 0:Ia();return D(f.createTypeQueryNode(p,m),s)}function co(){let s=M(),p=Un(!1,!0),m=wt(),y,x;Je(96)&&(Wr()||!Ar()?y=ct():x=R_());let N=Je(64)?ct():void 0,$=f.createTypeParameterDeclaration(p,m,y,N);return $.expression=x,D($,s)}function En(){if(u()===30)return kr(19,co,30,32)}function va(s){return u()===26||es()||$r(u())||u()===60||Wr(!s)}function lo(s){let p=di(A.Private_identifiers_cannot_be_used_as_parameters);return A2(p)===0&&!qt(s)&&$r(u())&&U(),p}function uo(){return ze()||u()===23||u()===19}function v_(s){return x_(s)}function po(s){return x_(s,!1)}function x_(s,p=!0){let m=M(),y=Be(),x=s?z(()=>Un(!0)):V(()=>Un(!0));if(u()===110){let ee=f.createParameterDeclaration(x,void 0,lr(!0),void 0,Er(),void 0),K=uf(x);return K&&mn(K,A.Neither_decorators_nor_modifiers_may_be_applied_to_this_parameters),Ne(D(ee,m),y)}let N=Wt;Wt=!1;let $=mt(26);if(!p&&!uo())return;let _e=Ne(D(f.createParameterDeclaration(x,$,lo(x),mt(58),Er(),Cr()),m),y);return Wt=N,_e}function Ln(s,p){if(fo(s,p))return Sr(P_)}function fo(s,p){return s===39?(L(s),!0):Je(59)?!0:p&&u()===39?(Ee(A._0_expected,_t(59)),U(),!0):!1}function xa(s,p){let m=Ce(),y=Ze();Xe(!!(s&1)),ot(!!(s&2));let x=s&32?Kt(17,oo):Kt(16,()=>p?v_(y):po(y));return Xe(m),ot(y),x}function pr(s){if(!L(21))return jn();let p=xa(s,!0);return L(22),p}function ji(){Je(28)||rn()}function mo(s){let p=M(),m=Be();s===180&&L(105);let y=En(),x=pr(4),N=Ln(59,!0);ji();let $=s===179?f.createCallSignature(y,x,N):f.createConstructSignature(y,x,N);return Ne(D($,p),m)}function ho(){return u()===23&&Y(ci)}function ci(){if(U(),u()===26||u()===24)return!0;if($r(u())){if(U(),ke())return!0}else if(ke())U();else return!1;return u()===59||u()===28?!0:u()!==58?!1:(U(),u()===59||u()===28||u()===24)}function yo(s,p,m){let y=kr(16,()=>v_(!1),23,24),x=Er();ji();let N=f.createIndexSignature(m,y,x);return Ne(D(N,s),p)}function go(s,p,m){let y=Vr(),x=mt(58),N;if(u()===21||u()===30){let $=En(),_e=pr(4),ee=Ln(59,!0);N=f.createMethodSignature(m,y,x,$,_e,ee)}else{let $=Er();N=f.createPropertySignature(m,y,x,$),u()===64&&(N.initializer=Cr())}return ji(),Ne(D(N,s),p)}function bo(){if(u()===21||u()===30||u()===139||u()===153)return!0;let s=!1;for(;$r(u());)s=!0,U();return u()===23?!0:(Fr()&&(s=!0,U()),s?u()===21||u()===30||u()===58||u()===59||u()===28||cr():!1)}function T_(){if(u()===21||u()===30)return mo(179);if(u()===105&&Y(Li))return mo(180);let s=M(),p=Be(),m=Un(!1);return _i(139)?Dr(s,p,m,177,4):_i(153)?Dr(s,p,m,178,4):ho()?yo(s,p,m):go(s,p,m)}function Li(){return U(),u()===21||u()===30}function ou(){return U()===25}function S_(){switch(U()){case 21:case 30:case 25:return!0}return!1}function cu(){let s=M();return D(f.createTypeLiteralNode(w_()),s)}function w_(){let s;return L(19)?(s=kn(4,T_),L(20)):s=jn(),s}function lu(){return U(),u()===40||u()===41?U()===148:(u()===148&&U(),u()===23&&ma()&&U()===103)}function vo(){let s=M(),p=Rt();L(103);let m=ct();return D(f.createTypeParameterDeclaration(void 0,p,m,void 0),s)}function uu(){let s=M();L(19);let p;(u()===148||u()===40||u()===41)&&(p=Qt(),p.kind!==148&&L(148)),L(23);let m=vo(),y=Je(130)?ct():void 0;L(24);let x;(u()===58||u()===40||u()===41)&&(x=Qt(),x.kind!==58&&L(58));let N=Er();rn();let $=kn(4,T_);return L(20),D(f.createMappedTypeNode(p,m,y,x,N,$),s)}function k_(){let s=M();if(Je(26))return D(f.createRestTypeNode(ct()),s);let p=ct();if(gh(p)&&p.pos===p.type.pos){let m=f.createOptionalTypeNode(p.type);return bn(m,p),m.flags=p.flags,m}return p}function xo(){return U()===59||u()===58&&U()===59}function To(){return u()===26?bt(U())&&xo():bt(u())&&xo()}function pu(){if(Y(To)){let s=M(),p=Be(),m=mt(26),y=Rt(),x=mt(58);L(59);let N=k_(),$=f.createNamedTupleMember(m,y,x,N);return Ne(D($,s),p)}return k_()}function So(){let s=M();return D(f.createTupleTypeNode(kr(21,pu,23,24)),s)}function fu(){let s=M();L(21);let p=ct();return L(22),D(f.createParenthesizedType(p),s)}function wo(){let s;if(u()===128){let p=M();U();let m=D(he(128),p);s=Dt([m],p)}return s}function ko(){let s=M(),p=Be(),m=wo(),y=Je(105);B.assert(!m||y,"Per isStartOfFunctionOrConstructorType, a function type cannot have modifiers.");let x=En(),N=pr(4),$=Ln(39,!1),_e=y?f.createConstructorTypeNode(m,x,N,$):f.createFunctionTypeNode(x,N,$);return Ne(D(_e,s),p)}function E_(){let s=Qt();return u()===25?void 0:s}function Eo(s){let p=M();s&&U();let m=u()===112||u()===97||u()===106?Qt():Mi(u());return s&&(m=D(f.createPrefixUnaryExpression(41,m),p)),D(f.createLiteralTypeNode(m),p)}function Ao(){return U(),u()===102}function Co(){xt|=4194304;let s=M(),p=Je(114);L(102),L(21);let m=ct(),y;if(Je(28)){let $=t.getTokenStart();L(19);let _e=u();if(_e===118||_e===132?U():Ee(A._0_expected,_t(118)),L(59),y=cs(_e,!0),!L(20)){let ee=Ki(st);ee&&ee.code===A._0_expected.code&&Kc(ee,ja(Jt,Qe,$,1,A.The_parser_expected_to_find_a_1_to_match_the_0_token_here,"{","}"))}}L(22);let x=Je(25)?g_():void 0,N=oi();return D(f.createImportTypeNode(m,y,x,N,p),s)}function A_(){return U(),u()===9||u()===10}function Do(){switch(u()){case 133:case 159:case 154:case 150:case 163:case 155:case 136:case 157:case 146:case 151:return de(E_)||ba();case 67:t.reScanAsteriskEqualsToken();case 42:return _o();case 61:t.reScanQuestionToken();case 58:return so();case 100:return _u();case 54:return au();case 15:case 11:case 9:case 10:case 112:case 97:case 106:return Eo();case 41:return Y(A_)?Eo(!0):ba();case 116:return Qt();case 110:{let s=ao();return u()===142&&!t.hasPrecedingLineBreak()?iu(s):s}case 114:return Y(Ao)?Co():su();case 19:return Y(lu)?uu():cu();case 23:return So();case 21:return fu();case 102:return Co();case 131:return Y(Ca)?Lo():ba();case 16:return h_();default:return ba()}}function Wr(s){switch(u()){case 133:case 159:case 154:case 150:case 163:case 136:case 148:case 155:case 158:case 116:case 157:case 106:case 110:case 114:case 146:case 19:case 23:case 30:case 52:case 51:case 105:case 11:case 9:case 10:case 112:case 97:case 151:case 42:case 58:case 54:case 26:case 140:case 102:case 131:case 15:case 16:return!0;case 100:return!s;case 41:return!s&&Y(A_);case 21:return!s&&Y(du);default:return ke()}}function du(){return U(),u()===22||va(!1)||Wr()}function Po(){let s=M(),p=Do();for(;!t.hasPrecedingLineBreak();)switch(u()){case 54:U(),p=D(f.createJSDocNonNullableType(p,!0),s);break;case 58:if(Y(Xs))return p;U(),p=D(f.createJSDocNullableType(p,!0),s);break;case 23:if(L(23),Wr()){let m=ct();L(24),p=D(f.createIndexedAccessTypeNode(p,m),s)}else L(24),p=D(f.createArrayTypeNode(p),s);break;default:return p}return p}function No(s){let p=M();return L(s),D(f.createTypeOperatorNode(s,Mo()),p)}function Io(){if(Je(96)){let s=Jn(ct);if(Ye()||u()!==58)return s}}function mu(){let s=M(),p=wt(),m=de(Io),y=f.createTypeParameterDeclaration(void 0,p,m);return D(y,s)}function Oo(){let s=M();return L(140),D(f.createInferTypeNode(mu()),s)}function Mo(){let s=u();switch(s){case 143:case 158:case 148:return No(s);case 140:return Oo()}return Sr(Po)}function Jo(s){if(D_()){let p=ko(),m;return Vf(p)?m=s?A.Function_type_notation_must_be_parenthesized_when_used_in_a_union_type:A.Function_type_notation_must_be_parenthesized_when_used_in_an_intersection_type:m=s?A.Constructor_type_notation_must_be_parenthesized_when_used_in_a_union_type:A.Constructor_type_notation_must_be_parenthesized_when_used_in_an_intersection_type,mn(p,m),p}}function Ta(s,p,m){let y=M(),x=s===52,N=Je(s),$=N&&Jo(x)||p();if(u()===s||N){let _e=[$];for(;Je(s);)_e.push(Jo(x)||p());$=D(m(Dt(_e,y)),y)}return $}function hu(){return Ta(51,Mo,f.createIntersectionTypeNode)}function C_(){return Ta(52,hu,f.createUnionTypeNode)}function yu(){return U(),u()===105}function D_(){return u()===30||u()===21&&Y(gu)?!0:u()===105||u()===128&&Y(yu)}function jo(){if($r(u())&&Un(!1),ke()||u()===110)return U(),!0;if(u()===23||u()===19){let s=st.length;return di(),s===st.length}return!1}function gu(){return U(),!!(u()===22||u()===26||jo()&&(u()===59||u()===28||u()===58||u()===64||u()===22&&(U(),u()===39)))}function P_(){let s=M(),p=ke()&&de(N_),m=ct();return p?D(f.createTypePredicateNode(void 0,p,m),s):m}function N_(){let s=wt();if(u()===142&&!t.hasPrecedingLineBreak())return U(),s}function Lo(){let s=M(),p=Qn(131),m=u()===110?ao():wt(),y=Je(142)?ct():void 0;return D(f.createTypePredicateNode(p,m,y),s)}function ct(){if(rt&81920)return Pt(81920,ct);if(D_())return ko();let s=M(),p=C_();if(!Ye()&&!t.hasPrecedingLineBreak()&&Je(96)){let m=Jn(ct);L(58);let y=Sr(ct);L(59);let x=Sr(ct);return D(f.createConditionalTypeNode(p,m,y,x),s)}return p}function Er(){return Je(59)?ct():void 0}function I_(){switch(u()){case 110:case 108:case 106:case 112:case 97:case 9:case 10:case 11:case 15:case 16:case 21:case 23:case 19:case 100:case 86:case 105:case 44:case 69:case 80:return!0;case 102:return Y(S_);default:return ke()}}function Ar(){if(I_())return!0;switch(u()){case 40:case 41:case 55:case 54:case 91:case 114:case 116:case 46:case 47:case 30:case 135:case 127:case 81:case 60:return!0;default:return j_()?!0:ke()}}function Ro(){return u()!==19&&u()!==100&&u()!==86&&u()!==60&&Ar()}function At(){let s=$e();s&&Ke(!1);let p=M(),m=Ut(!0),y;for(;y=mt(28);)m=wa(m,y,Ut(!0),p);return s&&Ke(!0),m}function Cr(){return Je(64)?Ut(!0):void 0}function Ut(s){if(bu())return vu();let p=xu(s)||zo(s);if(p)return p;let m=M(),y=Be(),x=Sa(0);return x.kind===80&&u()===39?O_(m,x,s,y,void 0):Va(x)&&R1(Fe())?wa(x,Qt(),Ut(s),m):Wo(x,m,s)}function bu(){return u()===127?Ce()?!0:Y(hc):!1}function Uo(){return U(),!t.hasPrecedingLineBreak()&&ke()}function vu(){let s=M();return U(),!t.hasPrecedingLineBreak()&&(u()===42||Ar())?D(f.createYieldExpression(mt(42),Ut(!0)),s):D(f.createYieldExpression(void 0,void 0),s)}function O_(s,p,m,y,x){B.assert(u()===39,"parseSimpleArrowFunctionExpression should only have been called if we had a =>");let N=f.createParameterDeclaration(void 0,void 0,p,void 0,void 0,void 0);D(N,p.pos);let $=Dt([N],N.pos,N.end),_e=Qn(39),ee=Vo(!!x,m),K=f.createArrowFunction(x,void 0,$,void 0,_e,ee);return Ne(D(K,s),y)}function xu(s){let p=Tu();if(p!==0)return p===1?M_(!0,!0):de(()=>qo(s))}function Tu(){return u()===21||u()===30||u()===134?Y(Bo):u()===39?1:0}function Bo(){if(u()===134&&(U(),t.hasPrecedingLineBreak()||u()!==21&&u()!==30))return 0;let s=u(),p=U();if(s===21){if(p===22)switch(U()){case 39:case 59:case 19:return 1;default:return 0}if(p===23||p===19)return 2;if(p===26)return 1;if($r(p)&&p!==134&&Y(ma))return U()===130?0:1;if(!ke()&&p!==110)return 0;switch(U()){case 59:return 1;case 58:return U(),u()===59||u()===28||u()===64||u()===22?1:0;case 28:case 64:case 22:return 2}return 0}else return B.assert(s===30),!ke()&&u()!==87?0:ut===1?Y(()=>{Je(87);let y=U();if(y===96)switch(U()){case 64:case 32:case 44:return!1;default:return!0}else if(y===28||y===64)return!0;return!1})?1:0:2}function qo(s){let p=t.getTokenStart();if(dn!=null&&dn.has(p))return;let m=M_(!1,s);return m||(dn||(dn=new Set)).add(p),m}function zo(s){if(u()===134&&Y(Fo)===1){let p=M(),m=Be(),y=is(),x=Sa(0);return O_(p,x,s,m,y)}}function Fo(){if(u()===134){if(U(),t.hasPrecedingLineBreak()||u()===39)return 0;let s=Sa(0);if(!t.hasPrecedingLineBreak()&&s.kind===80&&u()===39)return 1}return 0}function M_(s,p){let m=M(),y=Be(),x=is(),N=qt(x,tl)?2:0,$=En(),_e;if(L(21)){if(s)_e=xa(N,s);else{let fr=xa(N,s);if(!fr)return;_e=fr}if(!L(22)&&!s)return}else{if(!s)return;_e=jn()}let ee=u()===59,K=Ln(59,!1);if(K&&!s&&b_(K))return;let le=K;for(;(le==null?void 0:le.kind)===196;)le=le.type;let Ue=le&&bh(le);if(!s&&u()!==39&&(Ue||u()!==19))return;let je=u(),De=Qn(39),Yt=je===39||je===19?Vo(qt(x,tl),p):wt();if(!p&&ee&&u()!==59)return;let un=f.createArrowFunction(x,$,_e,K,De,Yt);return Ne(D(un,m),y)}function Vo(s,p){if(u()===19)return Ri(s?2:0);if(u()!==27&&u()!==100&&u()!==86&&$_()&&!Ro())return Ri(16|(s?2:0));let m=Wt;Wt=!1;let y=s?z(()=>Ut(p)):V(()=>Ut(p));return Wt=m,y}function Wo(s,p,m){let y=mt(58);if(!y)return s;let x;return D(f.createConditionalExpression(s,y,Pt(a,()=>Ut(!1)),x=Qn(59),tf(x)?Ut(m):an(80,!1,A._0_expected,_t(59))),p)}function Sa(s){let p=M(),m=R_();return Go(s,m,p)}function J_(s){return s===103||s===165}function Go(s,p,m){for(;;){Fe();let y=Up(u());if(!(u()===43?y>=s:y>s)||u()===103&&ye())break;if(u()===130||u()===152){if(t.hasPrecedingLineBreak())break;{let N=u();U(),p=N===152?Su(p,ct()):wu(p,ct())}}else p=wa(p,Qt(),Sa(y),m)}return p}function j_(){return ye()&&u()===103?!1:Up(u())>0}function Su(s,p){return D(f.createSatisfiesExpression(s,p),s.pos)}function wa(s,p,m,y){return D(f.createBinaryExpression(s,p,m),y)}function wu(s,p){return D(f.createAsExpression(s,p),s.pos)}function L_(){let s=M();return D(f.createPrefixUnaryExpression(u(),Me(Gr)),s)}function ku(){let s=M();return D(f.createDeleteExpression(Me(Gr)),s)}function Yo(){let s=M();return D(f.createTypeOfExpression(Me(Gr)),s)}function Eu(){let s=M();return D(f.createVoidExpression(Me(Gr)),s)}function Ho(){return u()===135?Ze()?!0:Y(hc):!1}function Au(){let s=M();return D(f.createAwaitExpression(Me(Gr)),s)}function R_(){if(Xo()){let m=M(),y=$o();return u()===43?Go(Up(u()),y,m):y}let s=u(),p=Gr();if(u()===43){let m=Qr(Qe,p.pos),{end:y}=p;p.kind===216?at(m,y,A.A_type_assertion_expression_is_not_allowed_in_the_left_hand_side_of_an_exponentiation_expression_Consider_enclosing_the_expression_in_parentheses):(B.assert(Rp(s)),at(m,y,A.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,_t(s)))}return p}function Gr(){switch(u()){case 40:case 41:case 55:case 54:return L_();case 91:return ku();case 114:return Yo();case 116:return Eu();case 30:return ut===1?ui(!0,void 0,void 0,!0):Ou();case 135:if(Ho())return Au();default:return $o()}}function Xo(){switch(u()){case 40:case 41:case 55:case 54:case 91:case 114:case 116:case 135:return!1;case 30:if(ut!==1)return!1;default:return!0}}function $o(){if(u()===46||u()===47){let p=M();return D(f.createPrefixUnaryExpression(u(),Me(li)),p)}else if(ut===1&&u()===30&&Y($l))return ui(!0);let s=li();if(B.assert(Va(s)),(u()===46||u()===47)&&!t.hasPrecedingLineBreak()){let p=u();return U(),D(f.createPostfixUnaryExpression(s,p),s.pos)}return s}function li(){let s=M(),p;return u()===102?Y(Li)?(xt|=4194304,p=Qt()):Y(ou)?(U(),U(),p=D(f.createMetaProperty(102,Rt()),s),xt|=8388608):p=U_():p=u()===108?B_():U_(),pi(s,p)}function U_(){let s=M(),p=_c();return Ea(s,p,!0)}function B_(){let s=M(),p=Qt();if(u()===30){let m=M(),y=de(W_);y!==void 0&&(at(m,M(),A.super_may_not_use_type_arguments),ln()||(p=f.createExpressionWithTypeArguments(p,y)))}return u()===21||u()===25||u()===23?p:(Qn(25,A.super_must_be_followed_by_an_argument_list_or_member_access),D(ae(p,ya(!0,!0,!0)),s))}function ui(s,p,m,y=!1){let x=M(),N=Du(s),$;if(N.kind===286){let _e=Qo(N),ee,K=_e[_e.length-1];if((K==null?void 0:K.kind)===284&&!vi(K.openingElement.tagName,K.closingElement.tagName)&&vi(N.tagName,K.closingElement.tagName)){let le=K.children.end,Ue=D(f.createJsxElement(K.openingElement,K.children,D(f.createJsxClosingElement(D(re(""),le,le)),le,le)),K.openingElement.pos,le);_e=Dt([..._e.slice(0,_e.length-1),Ue],_e.pos,le),ee=K.closingElement}else ee=Iu(N,s),vi(N.tagName,ee.tagName)||(m&&af(m)&&vi(ee.tagName,m.tagName)?mn(N.tagName,A.JSX_element_0_has_no_corresponding_closing_tag,ys(Qe,N.tagName)):mn(ee.tagName,A.Expected_corresponding_JSX_closing_tag_for_0,ys(Qe,N.tagName)));$=D(f.createJsxElement(N,_e,ee),x)}else N.kind===289?$=D(f.createJsxFragment(N,Qo(N),nc(s)),x):(B.assert(N.kind===285),$=N);if(!y&&s&&u()===30){let _e=typeof p>"u"?$.pos:p,ee=de(()=>ui(!0,_e));if(ee){let K=an(28,!1);return lm(K,ee.pos,0),at(Qr(Qe,_e),ee.end,A.JSX_expressions_must_have_one_parent_element),D(f.createBinaryExpression($,K,ee),x)}}return $}function Cu(){let s=M(),p=f.createJsxText(t.getTokenValue(),pt===13);return pt=t.scanJsxToken(),D(p,s)}function q_(s,p){switch(p){case 1:if(T6(s))mn(s,A.JSX_fragment_has_no_corresponding_closing_tag);else{let m=s.tagName,y=Math.min(Qr(Qe,m.pos),m.end);at(y,m.end,A.JSX_element_0_has_no_corresponding_closing_tag,ys(Qe,s.tagName))}return;case 31:case 7:return;case 12:case 13:return Cu();case 19:return ec(!1);case 30:return ui(!1,void 0,s);default:return B.assertNever(p)}}function Qo(s){let p=[],m=M(),y=vt;for(vt|=16384;;){let x=q_(s,pt=t.reScanJsxToken());if(!x||(p.push(x),af(s)&&(x==null?void 0:x.kind)===284&&!vi(x.openingElement.tagName,x.closingElement.tagName)&&vi(s.tagName,x.closingElement.tagName)))break}return vt=y,Dt(p,m)}function z_(){let s=M();return D(f.createJsxAttributes(kn(13,Pu)),s)}function Du(s){let p=M();if(L(30),u()===32)return $n(),D(f.createJsxOpeningFragment(),p);let m=Ko(),y=rt&524288?void 0:Ia(),x=z_(),N;return u()===32?($n(),N=f.createJsxOpeningElement(m,y,x)):(L(44),L(32,void 0,!1)&&(s?U():$n()),N=f.createJsxSelfClosingElement(m,y,x)),D(N,p)}function Ko(){let s=M(),p=Zo();if(mh(p))return p;let m=p;for(;Je(25);)m=D(ae(m,ya(!0,!1,!1)),s);return m}function Zo(){let s=M();Gt();let p=u()===110,m=ai();return Je(59)?(Gt(),D(f.createJsxNamespacedName(m,ai()),s)):p?D(f.createToken(110),s):m}function ec(s){let p=M();if(!L(19))return;let m,y;return u()!==20&&(s||(m=mt(26)),y=At()),s?L(20):L(20,void 0,!1)&&$n(),D(f.createJsxExpression(m,y),p)}function Pu(){if(u()===19)return Nu();let s=M();return D(f.createJsxAttribute(F_(),tc()),s)}function tc(){if(u()===64){if(Ni()===11)return Kn();if(u()===19)return ec(!0);if(u()===30)return ui(!0);Ee(A.or_JSX_element_expected)}}function F_(){let s=M();Gt();let p=ai();return Je(59)?(Gt(),D(f.createJsxNamespacedName(p,ai()),s)):p}function Nu(){let s=M();L(19),L(26);let p=At();return L(20),D(f.createJsxSpreadAttribute(p),s)}function Iu(s,p){let m=M();L(31);let y=Ko();return L(32,void 0,!1)&&(p||!vi(s.tagName,y)?U():$n()),D(f.createJsxClosingElement(y),m)}function nc(s){let p=M();return L(31),L(32,A.Expected_corresponding_closing_tag_for_JSX_fragment,!1)&&(s?U():$n()),D(f.createJsxJsxClosingFragment(),p)}function Ou(){B.assert(ut!==1,"Type assertions should never be parsed in JSX; they should be parsed as comparisons or JSX elements/fragments.");let s=M();L(30);let p=ct();L(32);let m=Gr();return D(f.createTypeAssertion(p,m),s)}function rc(){return U(),bt(u())||u()===23||ln()}function Mu(){return u()===29&&Y(rc)}function ka(s){if(s.flags&64)return!0;if(_l(s)){let p=s.expression;for(;_l(p)&&!(p.flags&64);)p=p.expression;if(p.flags&64){for(;_l(s);)s.flags|=64,s=s.expression;return!0}}return!1}function Ju(s,p,m){let y=ya(!0,!0,!0),x=m||ka(p),N=x?ve(p,m,y):ae(p,y);if(x&&wi(N.name)&&mn(N.name,A.An_optional_chain_cannot_contain_private_identifiers),lh(p)&&p.typeArguments){let $=p.typeArguments.pos-1,_e=Qr(Qe,p.typeArguments.end)+1;at($,_e,A.An_instantiation_expression_cannot_be_followed_by_a_property_access)}return D(N,s)}function ic(s,p,m){let y;if(u()===24)y=an(80,!0,A.An_element_access_expression_should_take_an_argument);else{let N=ft(At);Sl(N)&&(N.text=zr(N.text)),y=N}L(24);let x=m||ka(p)?oe(p,m,y):X(p,y);return D(x,s)}function Ea(s,p,m){for(;;){let y,x=!1;if(m&&Mu()?(y=Qn(29),x=bt(u())):x=Je(25),x){p=Ju(s,p,y);continue}if((y||!$e())&&Je(23)){p=ic(s,p,y);continue}if(ln()){p=!y&&p.kind===233?Rn(s,p.expression,y,p.typeArguments):Rn(s,p,y,void 0);continue}if(!y){if(u()===54&&!t.hasPrecedingLineBreak()){U(),p=D(f.createNonNullExpression(p),s);continue}let N=de(W_);if(N){p=D(f.createExpressionWithTypeArguments(p,N),s);continue}}return p}}function ln(){return u()===15||u()===16}function Rn(s,p,m,y){let x=f.createTaggedTemplateExpression(p,y,u()===15?(Nt(!0),Kn()):to(!0));return(m||p.flags&64)&&(x.flags|=64),x.questionDotToken=m,D(x,s)}function pi(s,p){for(;;){p=Ea(s,p,!0);let m,y=mt(29);if(y&&(m=de(W_),ln())){p=Rn(s,p,y,m);continue}if(m||u()===21){!y&&p.kind===233&&(m=p.typeArguments,p=p.expression);let x=V_(),N=y||ka(p)?ht(p,y,m,x):G(p,m,x);p=D(N,s);continue}if(y){let x=an(80,!1,A.Identifier_expected);p=D(ve(p,y,x),s)}break}return p}function V_(){L(21);let s=Kt(11,Lu);return L(22),s}function W_(){if(rt&524288||Et()!==30)return;U();let s=Kt(20,ct);if(Fe()===32)return U(),s&&ac()?s:void 0}function ac(){switch(u()){case 21:case 15:case 16:return!0;case 30:case 32:case 40:case 41:return!1}return t.hasPrecedingLineBreak()||j_()||!Ar()}function _c(){switch(u()){case 15:t.getTokenFlags()&26656&&Nt(!1);case 9:case 10:case 11:return Kn();case 110:case 108:case 106:case 112:case 97:return Qt();case 21:return sc();case 23:return Y_();case 19:return Aa();case 134:if(!Y(X_))break;return oc();case 60:return lp();case 86:return Nc();case 100:return oc();case 105:return Uu();case 44:case 69:if(He()===14)return Kn();break;case 16:return to(!1);case 81:return da()}return wt(A.Expression_expected)}function sc(){let s=M(),p=Be();L(21);let m=ft(At);return L(22),Ne(D(xn(m),s),p)}function ju(){let s=M();L(26);let p=Ut(!0);return D(f.createSpreadElement(p),s)}function G_(){return u()===26?ju():u()===28?D(f.createOmittedExpression(),M()):Ut(!0)}function Lu(){return Pt(a,G_)}function Y_(){let s=M(),p=t.getTokenStart(),m=L(23),y=t.hasPrecedingLineBreak(),x=Kt(15,G_);return qr(23,24,m,p),D(me(x,y),s)}function Ru(){let s=M(),p=Be();if(mt(26)){let le=Ut(!0);return Ne(D(f.createSpreadAssignment(le),s),p)}let m=Un(!0);if(_i(139))return Dr(s,p,m,177,0);if(_i(153))return Dr(s,p,m,178,0);let y=mt(42),x=ke(),N=Vr(),$=mt(58),_e=mt(54);if(y||u()===21||u()===30)return Ec(s,p,m,y,N,$,_e);let ee;if(x&&u()!==59){let le=mt(64),Ue=le?ft(()=>Ut(!0)):void 0;ee=f.createShorthandPropertyAssignment(N,Ue),ee.equalsToken=le}else{L(59);let le=ft(()=>Ut(!0));ee=f.createPropertyAssignment(N,le)}return ee.modifiers=m,ee.questionToken=$,ee.exclamationToken=_e,Ne(D(ee,s),p)}function Aa(){let s=M(),p=t.getTokenStart(),m=L(19),y=t.hasPrecedingLineBreak(),x=Kt(12,Ru,!0);return qr(19,20,m,p),D(O(x,y),s)}function oc(){let s=$e();Ke(!1);let p=M(),m=Be(),y=Un(!1);L(100);let x=mt(42),N=x?1:0,$=qt(y,tl)?2:0,_e=N&&$?Q(fi):N?Xn(fi):$?z(fi):fi(),ee=En(),K=pr(N|$),le=Ln(59,!1),Ue=Ri(N|$);Ke(s);let je=f.createFunctionExpression(y,x,_e,ee,K,le,Ue);return Ne(D(je,p),m)}function fi(){return ze()?r_():void 0}function Uu(){let s=M();if(L(105),Je(25)){let N=Rt();return D(f.createMetaProperty(105,N),s)}let p=M(),m=Ea(p,_c(),!1),y;m.kind===233&&(y=m.typeArguments,m=m.expression),u()===29&&Ee(A.Invalid_optional_chain_from_new_expression_Did_you_mean_to_call_0,ys(Qe,m));let x=u()===21?V_():void 0;return D(ir(m,y,x),s)}function Yr(s,p){let m=M(),y=Be(),x=t.getTokenStart(),N=L(19,p);if(N||s){let $=t.hasPrecedingLineBreak(),_e=kn(1,Zt);qr(19,20,N,x);let ee=Ne(D(ar(_e,$),m),y);return u()===64&&(Ee(A.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),U()),ee}else{let $=jn();return Ne(D(ar($,void 0),m),y)}}function Ri(s,p){let m=Ce();Xe(!!(s&1));let y=Ze();ot(!!(s&2));let x=Wt;Wt=!1;let N=$e();N&&Ke(!1);let $=Yr(!!(s&16),p);return N&&Ke(!0),Wt=x,Xe(m),ot(y),$}function Bu(){let s=M(),p=Be();return L(27),Ne(D(f.createEmptyStatement(),s),p)}function cc(){let s=M(),p=Be();L(101);let m=t.getTokenStart(),y=L(21),x=ft(At);qr(21,22,y,m);let N=Zt(),$=Je(93)?Zt():void 0;return Ne(D(Ve(x,N,$),s),p)}function qu(){let s=M(),p=Be();L(92);let m=Zt();L(117);let y=t.getTokenStart(),x=L(21),N=ft(At);return qr(21,22,x,y),Je(27),Ne(D(f.createDoStatement(m,N),s),p)}function lc(){let s=M(),p=Be();L(117);let m=t.getTokenStart(),y=L(21),x=ft(At);qr(21,22,y,m);let N=Zt();return Ne(D(_r(x,N),s),p)}function zu(){let s=M(),p=Be();L(99);let m=mt(135);L(21);let y;u()!==27&&(u()===115||u()===121||u()===87||u()===160&&Y(Ku)||u()===135&&Y(Q_)?y=Sc(!0):y=Br(At));let x;if(m?L(165):Je(165)){let N=ft(()=>Ut(!0));L(22),x=Mt(m,y,N,Zt())}else if(Je(103)){let N=ft(At);L(22),x=f.createForInStatement(y,N,Zt())}else{L(27);let N=u()!==27&&u()!==22?ft(At):void 0;L(27);let $=u()!==22?ft(At):void 0;L(22),x=Rr(y,N,$,Zt())}return Ne(D(x,s),p)}function H_(s){let p=M(),m=Be();L(s===252?83:88);let y=cr()?void 0:wt();rn();let x=s===252?f.createBreakStatement(y):f.createContinueStatement(y);return Ne(D(x,p),m)}function Fu(){let s=M(),p=Be();L(107);let m=cr()?void 0:ft(At);return rn(),Ne(D(f.createReturnStatement(m),s),p)}function uc(){let s=M(),p=Be();L(118);let m=t.getTokenStart(),y=L(21),x=ft(At);qr(21,22,y,m);let N=Tt(67108864,Zt);return Ne(D(f.createWithStatement(x,N),s),p)}function Vu(){let s=M(),p=Be();L(84);let m=ft(At);L(59);let y=kn(3,Zt);return Ne(D(f.createCaseClause(m,y),s),p)}function pc(){let s=M();L(90),L(59);let p=kn(3,Zt);return D(f.createDefaultClause(p),s)}function Wu(){return u()===84?Vu():pc()}function Gu(){let s=M();L(19);let p=kn(2,Wu);return L(20),D(f.createCaseBlock(p),s)}function fc(){let s=M(),p=Be();L(109),L(21);let m=ft(At);L(22);let y=Gu();return Ne(D(f.createSwitchStatement(m,y),s),p)}function Yu(){let s=M(),p=Be();L(111);let m=t.hasPrecedingLineBreak()?void 0:ft(At);return m===void 0&&(Sn++,m=D(re(""),M())),fa()||St(m),Ne(D(f.createThrowStatement(m),s),p)}function dc(){let s=M(),p=Be();L(113);let m=Yr(!1),y=u()===85?Hu():void 0,x;return(!y||u()===98)&&(L(98,A.catch_or_finally_expected),x=Yr(!1)),Ne(D(f.createTryStatement(m,y,x),s),p)}function Hu(){let s=M();L(85);let p;Je(21)?(p=Na(),L(22)):p=void 0;let m=Yr(!1);return D(f.createCatchClause(p,m),s)}function mc(){let s=M(),p=Be();return L(89),rn(),Ne(D(f.createDebuggerStatement(),s),p)}function Xu(){let s=M(),p=Be(),m,y=u()===21,x=ft(At);return et(x)&&Je(59)?m=f.createLabeledStatement(x,Zt()):(fa()||St(x),m=On(x),y&&(p=!1)),Ne(D(m,s),p)}function Ca(){return U(),bt(u())&&!t.hasPrecedingLineBreak()}function $u(){return U(),u()===86&&!t.hasPrecedingLineBreak()}function X_(){return U(),u()===100&&!t.hasPrecedingLineBreak()}function hc(){return U(),(bt(u())||u()===9||u()===10||u()===11)&&!t.hasPrecedingLineBreak()}function yc(){for(;;)switch(u()){case 115:case 121:case 87:case 100:case 86:case 94:return!0;case 160:return bc();case 135:return K_();case 120:case 156:return Uo();case 144:case 145:return np();case 128:case 129:case 134:case 138:case 123:case 124:case 125:case 148:let s=u();if(U(),t.hasPrecedingLineBreak())return!1;if(s===138&&u()===156)return!0;continue;case 162:return U(),u()===19||u()===80||u()===95;case 102:return U(),u()===11||u()===42||u()===19||bt(u());case 95:let p=U();if(p===156&&(p=Y(U)),p===64||p===42||p===19||p===90||p===130||p===60)return!0;continue;case 126:U();continue;default:return!1}}function Da(){return Y(yc)}function $_(){switch(u()){case 60:case 27:case 19:case 115:case 121:case 160:case 100:case 86:case 94:case 101:case 92:case 117:case 99:case 88:case 83:case 107:case 118:case 109:case 111:case 113:case 89:case 85:case 98:return!0;case 102:return Da()||Y(S_);case 87:case 95:return Da();case 134:case 138:case 120:case 144:case 145:case 156:case 162:return!0;case 129:case 125:case 123:case 124:case 126:case 148:return Da()||!Y(Ca);default:return Ar()}}function Qu(){return U(),ze()||u()===19||u()===23}function gc(){return Y(Qu)}function Ku(){return Pa(!0)}function Pa(s){return U(),s&&u()===165?!1:(ze()||u()===19)&&!t.hasPrecedingLineBreak()}function bc(){return Y(Pa)}function Q_(s){return U()===160?Pa(s):!1}function K_(){return Y(Q_)}function Zt(){switch(u()){case 27:return Bu();case 19:return Yr(!1);case 115:return qi(M(),Be(),void 0);case 121:if(gc())return qi(M(),Be(),void 0);break;case 135:if(K_())return qi(M(),Be(),void 0);break;case 160:if(bc())return qi(M(),Be(),void 0);break;case 100:return ts(M(),Be(),void 0);case 86:return Ic(M(),Be(),void 0);case 101:return cc();case 92:return qu();case 117:return lc();case 99:return zu();case 88:return H_(251);case 83:return H_(252);case 107:return Fu();case 118:return uc();case 109:return fc();case 111:return Yu();case 113:case 85:case 98:return dc();case 89:return mc();case 60:return Z_();case 134:case 120:case 156:case 144:case 145:case 138:case 87:case 94:case 95:case 102:case 123:case 124:case 125:case 128:case 129:case 126:case 148:case 162:if(Da())return Z_();break}return Xu()}function vc(s){return s.kind===138}function Z_(){let s=M(),p=Be(),m=Un(!0);if(qt(m,vc)){let x=Zu(s);if(x)return x;for(let N of m)N.flags|=33554432;return Tt(33554432,()=>Ui(s,p,m))}else return Ui(s,p,m)}function Zu(s){return Tt(33554432,()=>{let p=o_(vt,s);if(p)return c_(p)})}function Ui(s,p,m){switch(u()){case 115:case 121:case 87:case 160:case 135:return qi(s,p,m);case 100:return ts(s,p,m);case 86:return Ic(s,p,m);case 120:return Lc(s,p,m);case 156:return Rc(s,p,m);case 94:return _s(s,p,m);case 162:case 144:case 145:return mp(s,p,m);case 102:return gp(s,p,m);case 95:switch(U(),u()){case 90:case 64:return Cp(s,p,m);case 130:return yp(s,p,m);default:return Ap(s,p,m)}default:if(m){let y=an(282,!0,A.Declaration_expected);return rf(y,s),y.modifiers=m,y}return}}function ep(){return U()===11}function tp(){return U(),u()===161||u()===64}function np(){return U(),!t.hasPrecedingLineBreak()&&(ke()||u()===11)}function Bi(s,p){if(u()!==19){if(s&4){ji();return}if(cr()){rn();return}}return Ri(s,p)}function rp(){let s=M();if(u()===28)return D(f.createOmittedExpression(),s);let p=mt(26),m=di(),y=Cr();return D(f.createBindingElement(p,void 0,m,y),s)}function xc(){let s=M(),p=mt(26),m=ze(),y=Vr(),x;m&&u()!==59?(x=y,y=void 0):(L(59),x=di());let N=Cr();return D(f.createBindingElement(p,y,x,N),s)}function ip(){let s=M();L(19);let p=ft(()=>Kt(9,xc));return L(20),D(f.createObjectBindingPattern(p),s)}function Tc(){let s=M();L(23);let p=ft(()=>Kt(10,rp));return L(24),D(f.createArrayBindingPattern(p),s)}function es(){return u()===19||u()===23||u()===81||ze()}function di(s){return u()===23?Tc():u()===19?ip():r_(s)}function ap(){return Na(!0)}function Na(s){let p=M(),m=Be(),y=di(A.Private_identifiers_are_not_allowed_in_variable_declarations),x;s&&y.kind===80&&u()===54&&!t.hasPrecedingLineBreak()&&(x=Qt());let N=Er(),$=J_(u())?void 0:Cr(),_e=Vn(y,x,N,$);return Ne(D(_e,p),m)}function Sc(s){let p=M(),m=0;switch(u()){case 115:break;case 121:m|=1;break;case 87:m|=2;break;case 160:m|=4;break;case 135:B.assert(K_()),m|=6,U();break;default:B.fail()}U();let y;if(u()===165&&Y(wc))y=jn();else{let x=ye();xe(s),y=Kt(8,s?Na:ap),xe(x)}return D(Mn(y,m),p)}function wc(){return ma()&&U()===22}function qi(s,p,m){let y=Sc(!1);rn();let x=Tn(m,y);return Ne(D(x,s),p)}function ts(s,p,m){let y=Ze(),x=qn(m);L(100);let N=mt(42),$=x&2048?fi():r_(),_e=N?1:0,ee=x&1024?2:0,K=En();x&32&&ot(!0);let le=pr(_e|ee),Ue=Ln(59,!1),je=Bi(_e|ee,A.or_expected);ot(y);let De=f.createFunctionDeclaration(m,N,$,K,le,Ue,je);return Ne(D(De,s),p)}function _p(){if(u()===137)return L(137);if(u()===11&&Y(U)===21)return de(()=>{let s=Kn();return s.text==="constructor"?s:void 0})}function kc(s,p,m){return de(()=>{if(_p()){let y=En(),x=pr(0),N=Ln(59,!1),$=Bi(0,A.or_expected),_e=f.createConstructorDeclaration(m,x,$);return _e.typeParameters=y,_e.type=N,Ne(D(_e,s),p)}})}function Ec(s,p,m,y,x,N,$,_e){let ee=y?1:0,K=qt(m,tl)?2:0,le=En(),Ue=pr(ee|K),je=Ln(59,!1),De=Bi(ee|K,_e),Yt=f.createMethodDeclaration(m,y,x,N,le,Ue,je,De);return Yt.exclamationToken=$,Ne(D(Yt,s),p)}function ns(s,p,m,y,x){let N=!x&&!t.hasPrecedingLineBreak()?mt(54):void 0,$=Er(),_e=Pt(90112,Cr);Fl(y,$,_e);let ee=f.createPropertyDeclaration(m,y,x||N,$,_e);return Ne(D(ee,s),p)}function Ac(s,p,m){let y=mt(42),x=Vr(),N=mt(58);return y||u()===21||u()===30?Ec(s,p,m,y,x,N,void 0,A.or_expected):ns(s,p,m,x,N)}function Dr(s,p,m,y,x){let N=Vr(),$=En(),_e=pr(0),ee=Ln(59,!1),K=Bi(x),le=y===177?f.createGetAccessorDeclaration(m,N,_e,ee,K):f.createSetAccessorDeclaration(m,N,_e,K);return le.typeParameters=$,Ds(le)&&(le.type=ee),Ne(D(le,s),p)}function Cc(){let s;if(u()===60)return!0;for(;$r(u());){if(s=u(),a2(s))return!0;U()}if(u()===42||(Fr()&&(s=u(),U()),u()===23))return!0;if(s!==void 0){if(!Ti(s)||s===153||s===139)return!0;switch(u()){case 21:case 30:case 54:case 59:case 64:case 58:return!0;default:return cr()}}return!1}function sp(s,p,m){Qn(126);let y=Dc(),x=Ne(D(f.createClassStaticBlockDeclaration(y),s),p);return x.modifiers=m,x}function Dc(){let s=Ce(),p=Ze();Xe(!1),ot(!0);let m=Yr(!1);return Xe(s),ot(p),m}function op(){if(Ze()&&u()===135){let s=M(),p=wt(A.Expression_expected);U();let m=Ea(s,p,!0);return pi(s,m)}return li()}function Pc(){let s=M();if(!Je(60))return;let p=Pi(op);return D(f.createDecorator(p),s)}function rs(s,p,m){let y=M(),x=u();if(u()===87&&p){if(!de(i_))return}else{if(m&&u()===126&&Y(zc))return;if(s&&u()===126)return;if(!Ws())return}return D(he(x),y)}function Un(s,p,m){let y=M(),x,N,$,_e=!1,ee=!1,K=!1;if(s&&u()===60)for(;N=Pc();)x=Cn(x,N);for(;$=rs(_e,p,m);)$.kind===126&&(_e=!0),x=Cn(x,$),ee=!0;if(ee&&s&&u()===60)for(;N=Pc();)x=Cn(x,N),K=!0;if(K)for(;$=rs(_e,p,m);)$.kind===126&&(_e=!0),x=Cn(x,$);return x&&Dt(x,y)}function is(){let s;if(u()===134){let p=M();U();let m=D(he(134),p);s=Dt([m],p)}return s}function cp(){let s=M(),p=Be();if(u()===27)return U(),Ne(D(f.createSemicolonClassElement(),s),p);let m=Un(!0,!0,!0);if(u()===126&&Y(zc))return sp(s,p,m);if(_i(139))return Dr(s,p,m,177,0);if(_i(153))return Dr(s,p,m,178,0);if(u()===137||u()===11){let y=kc(s,p,m);if(y)return y}if(ho())return yo(s,p,m);if(bt(u())||u()===11||u()===9||u()===42||u()===23)if(qt(m,vc)){for(let x of m)x.flags|=33554432;return Tt(33554432,()=>Ac(s,p,m))}else return Ac(s,p,m);if(m){let y=an(80,!0,A.Declaration_expected);return ns(s,p,m,y,void 0)}return B.fail("Should not have attempted to parse class member declaration.")}function lp(){let s=M(),p=Be(),m=Un(!0);if(u()===86)return as(s,p,m,231);let y=an(282,!0,A.Expression_expected);return rf(y,s),y.modifiers=m,y}function Nc(){return as(M(),Be(),void 0,231)}function Ic(s,p,m){return as(s,p,m,263)}function as(s,p,m,y){let x=Ze();L(86);let N=Oc(),$=En();qt(m,a6)&&ot(!0);let _e=Mc(),ee;L(19)?(ee=fp(),L(20)):ee=jn(),ot(x);let K=y===263?f.createClassDeclaration(m,N,$,_e,ee):f.createClassExpression(m,N,$,_e,ee);return Ne(D(K,s),p)}function Oc(){return ze()&&!up()?lr(ze()):void 0}function up(){return u()===119&&Y(a_)}function Mc(){if(jc())return kn(22,Jc)}function Jc(){let s=M(),p=u();B.assert(p===96||p===119),U();let m=Kt(7,pp);return D(f.createHeritageClause(p,m),s)}function pp(){let s=M(),p=li();if(p.kind===233)return p;let m=Ia();return D(f.createExpressionWithTypeArguments(p,m),s)}function Ia(){return u()===30?kr(20,ct,30,32):void 0}function jc(){return u()===96||u()===119}function fp(){return kn(5,cp)}function Lc(s,p,m){L(120);let y=wt(),x=En(),N=Mc(),$=w_(),_e=f.createInterfaceDeclaration(m,y,x,N,$);return Ne(D(_e,s),p)}function Rc(s,p,m){L(156),t.hasPrecedingLineBreak()&&Ee(A.Line_break_not_permitted_here);let y=wt(),x=En();L(64);let N=u()===141&&de(E_)||ct();rn();let $=f.createTypeAliasDeclaration(m,y,x,N);return Ne(D($,s),p)}function dp(){let s=M(),p=Be(),m=Vr(),y=ft(Cr);return Ne(D(f.createEnumMember(m,y),s),p)}function _s(s,p,m){L(94);let y=wt(),x;L(19)?(x=Te(()=>Kt(6,dp)),L(20)):x=jn();let N=f.createEnumDeclaration(m,y,x);return Ne(D(N,s),p)}function Uc(){let s=M(),p;return L(19)?(p=kn(1,Zt),L(20)):p=jn(),D(f.createModuleBlock(p),s)}function ss(s,p,m,y){let x=y&32,N=y&8?Rt():wt(),$=Je(25)?ss(M(),!1,void 0,8|x):Uc(),_e=f.createModuleDeclaration(m,N,$,y);return Ne(D(_e,s),p)}function Bc(s,p,m){let y=0,x;u()===162?(x=wt(),y|=2048):(x=Kn(),x.text=zr(x.text));let N;u()===19?N=Uc():rn();let $=f.createModuleDeclaration(m,x,N,y);return Ne(D($,s),p)}function mp(s,p,m){let y=0;if(u()===162)return Bc(s,p,m);if(Je(145))y|=32;else if(L(144),u()===11)return Bc(s,p,m);return ss(s,p,m,y)}function hp(){return u()===149&&Y(qc)}function qc(){return U()===21}function zc(){return U()===19}function os(){return U()===44}function yp(s,p,m){L(130),L(145);let y=wt();rn();let x=f.createNamespaceExportDeclaration(y);return x.modifiers=m,Ne(D(x,s),p)}function gp(s,p,m){L(102);let y=t.getTokenFullStart(),x;ke()&&(x=wt());let N=!1;if((x==null?void 0:x.escapedText)==="type"&&(u()!==161||ke()&&Y(tp))&&(ke()||vp())&&(N=!0,x=ke()?wt():void 0),x&&!Hr())return xp(s,p,m,x,N);let $=mi(x,y,N),_e=Fi(),ee=Fc();rn();let K=f.createImportDeclaration(m,$,_e,ee);return Ne(D(K,s),p)}function mi(s,p,m,y=!1){let x;return(s||u()===42||u()===19)&&(x=Tp(s,p,m,y),L(161)),x}function Fc(){let s=u();if((s===118||s===132)&&!t.hasPrecedingLineBreak())return cs(s)}function bp(){let s=M(),p=bt(u())?Rt():Mi(11);L(59);let m=Ut(!0);return D(f.createImportAttribute(p,m),s)}function cs(s,p){let m=M();p||L(s);let y=t.getTokenStart();if(L(19)){let x=t.hasPrecedingLineBreak(),N=Kt(24,bp,!0);if(!L(20)){let $=Ki(st);$&&$.code===A._0_expected.code&&Kc($,ja(Jt,Qe,y,1,A.The_parser_expected_to_find_a_1_to_match_the_0_token_here,"{","}"))}return D(f.createImportAttributes(N,x,s),m)}else{let x=Dt([],M(),void 0,!1);return D(f.createImportAttributes(x,!1,s),m)}}function vp(){return u()===42||u()===19}function Hr(){return u()===28||u()===161}function xp(s,p,m,y,x){L(64);let N=Sp();rn();let $=f.createImportEqualsDeclaration(m,x,y,N);return Ne(D($,s),p)}function Tp(s,p,m,y){let x;return(!s||Je(28))&&(y&&t.setSkipJsDocLeadingAsterisks(!0),x=u()===42?wp():Vc(275),y&&t.setSkipJsDocLeadingAsterisks(!1)),D(f.createImportClause(m,s,x),p)}function Sp(){return hp()?zi():Oi(!1)}function zi(){let s=M();L(149),L(21);let p=Fi();return L(22),D(f.createExternalModuleReference(p),s)}function Fi(){if(u()===11){let s=Kn();return s.text=zr(s.text),s}else return At()}function wp(){let s=M();L(42),L(130);let p=wt();return D(f.createNamespaceImport(p),s)}function Vc(s){let p=M(),m=s===275?f.createNamedImports(kr(23,Ep,19,20)):f.createNamedExports(kr(23,kp,19,20));return D(m,p)}function kp(){let s=Be();return Ne(Wc(281),s)}function Ep(){return Wc(276)}function Wc(s){let p=M(),m=Ti(u())&&!ke(),y=t.getTokenStart(),x=t.getTokenEnd(),N=!1,$,_e=!0,ee=Rt();if(ee.escapedText==="type")if(u()===130){let Ue=Rt();if(u()===130){let je=Rt();bt(u())?(N=!0,$=Ue,ee=le(),_e=!1):($=ee,ee=je,_e=!1)}else bt(u())?($=ee,_e=!1,ee=le()):(N=!0,ee=Ue)}else bt(u())&&(N=!0,ee=le());_e&&u()===130&&($=ee,L(130),ee=le()),s===276&&m&&at(y,x,A.Identifier_expected);let K=s===276?f.createImportSpecifier(N,$,ee):f.createExportSpecifier(N,$,ee);return D(K,p);function le(){return m=Ti(u())&&!ke(),y=t.getTokenStart(),x=t.getTokenEnd(),Rt()}}function hi(s){return D(f.createNamespaceExport(Rt()),s)}function Ap(s,p,m){let y=Ze();ot(!0);let x,N,$,_e=Je(156),ee=M();Je(42)?(Je(130)&&(x=hi(ee)),L(161),N=Fi()):(x=Vc(279),(u()===161||u()===11&&!t.hasPrecedingLineBreak())&&(L(161),N=Fi()));let K=u();N&&(K===118||K===132)&&!t.hasPrecedingLineBreak()&&($=cs(K)),rn(),ot(y);let le=f.createExportDeclaration(m,_e,x,N,$);return Ne(D(le,s),p)}function Cp(s,p,m){let y=Ze();ot(!0);let x;Je(64)?x=!0:L(90);let N=Ut(!0);rn(),ot(y);let $=f.createExportAssignment(m,x,N);return Ne(D($,s),p)}let Gc;(s=>{s[s.SourceElements=0]="SourceElements",s[s.BlockStatements=1]="BlockStatements",s[s.SwitchClauses=2]="SwitchClauses",s[s.SwitchClauseStatements=3]="SwitchClauseStatements",s[s.TypeMembers=4]="TypeMembers",s[s.ClassMembers=5]="ClassMembers",s[s.EnumMembers=6]="EnumMembers",s[s.HeritageClauseElement=7]="HeritageClauseElement",s[s.VariableDeclarations=8]="VariableDeclarations",s[s.ObjectBindingElements=9]="ObjectBindingElements",s[s.ArrayBindingElements=10]="ArrayBindingElements",s[s.ArgumentExpressions=11]="ArgumentExpressions",s[s.ObjectLiteralMembers=12]="ObjectLiteralMembers",s[s.JsxAttributes=13]="JsxAttributes",s[s.JsxChildren=14]="JsxChildren",s[s.ArrayLiteralMembers=15]="ArrayLiteralMembers",s[s.Parameters=16]="Parameters",s[s.JSDocParameters=17]="JSDocParameters",s[s.RestProperties=18]="RestProperties",s[s.TypeParameters=19]="TypeParameters",s[s.TypeArguments=20]="TypeArguments",s[s.TupleElementTypes=21]="TupleElementTypes",s[s.HeritageClauses=22]="HeritageClauses",s[s.ImportOrExportSpecifiers=23]="ImportOrExportSpecifiers",s[s.ImportAttributes=24]="ImportAttributes",s[s.JSDocComment=25]="JSDocComment",s[s.Count=26]="Count"})(Gc||(Gc={}));let ls;(s=>{s[s.False=0]="False",s[s.True=1]="True",s[s.Unknown=2]="Unknown"})(ls||(ls={}));let us;(s=>{function p(K,le,Ue){Gn("file.js",K,99,void 0,1,0),t.setText(K,le,Ue),pt=t.scan();let je=m(),De=se("file.js",99,1,!1,[],he(1),0,Ga),Yt=Yi(st,De);return Vt&&(De.jsDocDiagnostics=Yi(Vt,De)),Yn(),je?{jsDocTypeExpression:je,diagnostics:Yt}:void 0}s.parseJSDocTypeExpressionForTests=p;function m(K){let le=M(),Ue=(K?Je:L)(19),je=Tt(16777216,Ji);(!K||Ue)&&zs(20);let De=f.createJSDocTypeExpression(je);return j(De),D(De,le)}s.parseJSDocTypeExpression=m;function y(){let K=M(),le=Je(19),Ue=M(),je=Oi(!1);for(;u()===81;)It(),qe(),je=D(f.createJSDocMemberName(je,wt()),Ue);le&&zs(20);let De=f.createJSDocNameReference(je);return j(De),D(De,K)}s.parseJSDocNameReference=y;function x(K,le,Ue){Gn("",K,99,void 0,1,0);let je=Tt(16777216,()=>ee(le,Ue)),Yt=Yi(st,{languageVariant:0,text:K});return Yn(),je?{jsDoc:je,diagnostics:Yt}:void 0}s.parseIsolatedJSDocComment=x;function N(K,le,Ue){let je=pt,De=st.length,Yt=on,un=Tt(16777216,()=>ee(le,Ue));return Rf(un,K),rt&524288&&(Vt||(Vt=[]),Pn(Vt,st,De)),pt=je,st.length=De,on=Yt,un}s.parseJSDocComment=N;let $;(K=>{K[K.BeginningOfLine=0]="BeginningOfLine",K[K.SawAsterisk=1]="SawAsterisk",K[K.SavingComments=2]="SavingComments",K[K.SavingBackticks=3]="SavingBackticks"})($||($={}));let _e;(K=>{K[K.Property=1]="Property",K[K.Parameter=2]="Parameter",K[K.CallbackParameter=4]="CallbackParameter"})(_e||(_e={}));function ee(K=0,le){let Ue=Qe,je=le===void 0?Ue.length:K+le;if(le=je-K,B.assert(K>=0),B.assert(K<=je),B.assert(je<=Ue.length),!V6(Ue,K))return;let De,Yt,un,fr,dr,Ht=[],Xr=[],Dp=vt;vt|=1<<25;let Pp=t.scanRange(K+3,le-5,Np);return vt=Dp,Pp;function Np(){let I=1,W,H=K-(Ue.lastIndexOf(` +`,K)+1)+4;function te(Re){W||(W=H),Ht.push(Re),H+=Re.length}for(qe();Gi(5););Gi(4)&&(I=0,H=0);e:for(;;){switch(u()){case 60:nt(Ht),dr||(dr=M()),T(Zn(H)),I=0,W=void 0;break;case 4:Ht.push(t.getTokenText()),I=0,H=0;break;case 42:let Re=t.getTokenText();I===1?(I=2,te(Re)):(B.assert(I===0),I=1,H+=Re.length);break;case 5:B.assert(I!==2,"whitespace shouldn't come from the scanner while saving top-level comment text");let dt=t.getTokenText();W!==void 0&&H+dt.length>W&&Ht.push(dt.slice(W-H)),H+=dt.length;break;case 1:break e;case 82:I=2,te(t.getTokenValue());break;case 19:I=2;let gn=t.getTokenFullStart(),fn=t.getTokenEnd()-1,_n=n(fn);if(_n){fr||Pe(Ht),Xr.push(D(f.createJSDocText(Ht.join("")),fr??K,gn)),Xr.push(_n),Ht=[],fr=t.getTokenEnd();break}default:I=2,te(t.getTokenText());break}I===2?cn(!1):qe()}let ne=Ht.join("").trimEnd();Xr.length&&ne.length&&Xr.push(D(f.createJSDocText(ne),fr??K,dr)),Xr.length&&De&&B.assertIsDefined(dr,"having parsed tags implies that the end of the comment span should be set");let Ie=De&&Dt(De,Yt,un);return D(f.createJSDocComment(Xr.length?Dt(Xr,K,dr):ne.length?ne:void 0,Ie),K,je)}function Pe(I){for(;I.length&&(I[0]===` +`||I[0]==="\r");)I.shift()}function nt(I){for(;I.length;){let W=I[I.length-1].trimEnd();if(W==="")I.pop();else if(W.lengthdt&&(te.push(er.slice(dt-I)),Re=2),I+=er.length;break;case 19:Re=2;let Yc=t.getTokenFullStart(),Oa=t.getTokenEnd()-1,Hc=n(Oa);Hc?(ne.push(D(f.createJSDocText(te.join("")),Ie??H,Yc)),ne.push(Hc),te=[],Ie=t.getTokenEnd()):gn(t.getTokenText());break;case 62:Re===3?Re=2:Re=3,gn(t.getTokenText());break;case 82:Re!==3&&(Re=2),gn(t.getTokenValue());break;case 42:if(Re===0){Re=1,I+=1;break}default:Re!==3&&(Re=2),gn(t.getTokenText());break}Re===2||Re===3?fn=cn(Re===3):fn=qe()}Pe(te);let _n=te.join("").trimEnd();if(ne.length)return _n.length&&ne.push(D(f.createJSDocText(_n),Ie??H)),Dt(ne,H,t.getTokenEnd());if(_n.length)return _n}function n(I){let W=de(_);if(!W)return;qe(),pn();let H=i(),te=[];for(;u()!==20&&u()!==4&&u()!==1;)te.push(t.getTokenText()),qe();let ne=W==="link"?f.createJSDocLink:W==="linkcode"?f.createJSDocLinkCode:f.createJSDocLinkPlain;return D(ne(H,te.join("")),I,t.getTokenEnd())}function i(){if(bt(u())){let I=M(),W=Rt();for(;Je(25);)W=D(f.createQualifiedName(W,u()===81?an(80,!1):Rt()),I);for(;u()===81;)It(),qe(),W=D(f.createJSDocMemberName(W,wt()),I);return W}}function _(){if(Pr(),u()===19&&qe()===60&&bt(qe())){let I=t.getTokenValue();if(c(I))return I}}function c(I){return I==="link"||I==="linkcode"||I==="linkplain"}function d(I,W,H,te){return D(f.createJSDocUnknownTag(W,Bt(I,M(),H,te)),I)}function T(I){I&&(De?De.push(I):(De=[I],Yt=I.pos),un=I.end)}function q(){return Pr(),u()===19?m():void 0}function pe(){let I=Gi(23);I&&pn();let W=Gi(62),H=hy();return W&&Wl(62),I&&(pn(),mt(64)&&At(),L(24)),{name:H,isBracketed:I}}function Le(I){switch(I.kind){case 151:return!0;case 188:return Le(I.elementType);default:return El(I)&&et(I.typeName)&&I.typeName.escapedText==="Object"&&!I.typeArguments}}function en(I,W,H,te){let ne=q(),Ie=!ne;Pr();let{name:Re,isBracketed:dt}=pe(),gn=Pr();Ie&&!Y(_)&&(ne=q());let fn=Bt(I,M(),te,gn),_n=hr(ne,Re,H,te);_n&&(ne=_n,Ie=!0);let er=H===1?f.createJSDocPropertyTag(W,Re,dt,ne,Ie,fn):f.createJSDocParameterTag(W,Re,dt,ne,Ie,fn);return D(er,I)}function hr(I,W,H,te){if(I&&Le(I.type)){let ne=M(),Ie,Re;for(;Ie=de(()=>Op(H,te,W));)Ie.kind===341||Ie.kind===348?Re=Cn(Re,Ie):Ie.kind===345&&mn(Ie.tagName,A.A_JSDoc_template_tag_may_not_follow_a_typedef_callback_or_overload_tag);if(Re){let dt=D(f.createJSDocTypeLiteral(Re,I.type.kind===188),ne);return D(f.createJSDocTypeExpression(dt),ne)}}}function yr(I,W,H,te){qt(De,O6)&&at(W.pos,t.getTokenStart(),A._0_tag_already_specified,Ts(W.escapedText));let ne=q();return D(f.createJSDocReturnTag(W,ne,Bt(I,M(),H,te)),I)}function Vi(I,W,H,te){qt(De,nd)&&at(W.pos,t.getTokenStart(),A._0_tag_already_specified,Ts(W.escapedText));let ne=m(!0),Ie=H!==void 0&&te!==void 0?Bt(I,M(),H,te):void 0;return D(f.createJSDocTypeTag(W,ne,Ie),I)}function Q0(I,W,H,te){let Ie=u()===23||Y(()=>qe()===60&&bt(qe())&&c(t.getTokenValue()))?void 0:y(),Re=H!==void 0&&te!==void 0?Bt(I,M(),H,te):void 0;return D(f.createJSDocSeeTag(W,Ie,Re),I)}function K0(I,W,H,te){let ne=q(),Ie=Bt(I,M(),H,te);return D(f.createJSDocThrowsTag(W,ne,Ie),I)}function Z0(I,W,H,te){let ne=M(),Ie=ey(),Re=t.getTokenFullStart(),dt=Bt(I,Re,H,te);dt||(Re=t.getTokenFullStart());let gn=typeof dt!="string"?Dt(lf([D(Ie,ne,Re)],dt),ne):Ie.text+dt;return D(f.createJSDocAuthorTag(W,gn),I)}function ey(){let I=[],W=!1,H=t.getToken();for(;H!==1&&H!==4;){if(H===30)W=!0;else{if(H===60&&!W)break;if(H===32&&W){I.push(t.getTokenText()),t.resetTokenState(t.getTokenEnd());break}}I.push(t.getTokenText()),H=qe()}return f.createJSDocText(I.join(""))}function ty(I,W,H,te){let ne=Id();return D(f.createJSDocImplementsTag(W,ne,Bt(I,M(),H,te)),I)}function ny(I,W,H,te){let ne=Id();return D(f.createJSDocAugmentsTag(W,ne,Bt(I,M(),H,te)),I)}function ry(I,W,H,te){let ne=m(!1),Ie=H!==void 0&&te!==void 0?Bt(I,M(),H,te):void 0;return D(f.createJSDocSatisfiesTag(W,ne,Ie),I)}function iy(I,W,H,te){let ne=t.getTokenFullStart(),Ie;ke()&&(Ie=wt());let Re=mi(Ie,ne,!0,!0),dt=Fi(),gn=Fc(),fn=H!==void 0&&te!==void 0?Bt(I,M(),H,te):void 0;return D(f.createJSDocImportTag(W,Re,dt,gn,fn),I)}function Id(){let I=Je(19),W=M(),H=ay();t.setSkipJsDocLeadingAsterisks(!0);let te=Ia();t.setSkipJsDocLeadingAsterisks(!1);let ne=f.createExpressionWithTypeArguments(H,te),Ie=D(ne,W);return I&&L(20),Ie}function ay(){let I=M(),W=yi();for(;Je(25);){let H=yi();W=D(ae(W,H),I)}return W}function Wi(I,W,H,te,ne){return D(W(H,Bt(I,M(),te,ne)),I)}function Od(I,W,H,te){let ne=m(!0);return pn(),D(f.createJSDocThisTag(W,ne,Bt(I,M(),H,te)),I)}function _y(I,W,H,te){let ne=m(!0);return pn(),D(f.createJSDocEnumTag(W,ne,Bt(I,M(),H,te)),I)}function sy(I,W,H,te){let ne=q();Pr();let Ie=Ip();pn();let Re=R(H),dt;if(!ne||Le(ne.type)){let fn,_n,er,Yc=!1;for(;(fn=de(()=>py(H)))&&fn.kind!==345;)if(Yc=!0,fn.kind===344)if(_n){let Oa=Ee(A.A_JSDoc_typedef_comment_may_not_contain_multiple_type_tags);Oa&&Kc(Oa,ja(Jt,Qe,0,0,A.The_tag_was_first_specified_here));break}else _n=fn;else er=Cn(er,fn);if(Yc){let Oa=ne&&ne.type.kind===188,Hc=f.createJSDocTypeLiteral(er,Oa);ne=_n&&_n.typeExpression&&!Le(_n.typeExpression.type)?_n.typeExpression:D(Hc,I),dt=ne.end}}dt=dt||Re!==void 0?M():(Ie??ne??W).end,Re||(Re=Bt(I,dt,H,te));let gn=f.createJSDocTypedefTag(W,ne,Ie,Re);return D(gn,I,dt)}function Ip(I){let W=t.getTokenStart();if(!bt(u()))return;let H=yi();if(Je(25)){let te=Ip(!0),ne=f.createModuleDeclaration(void 0,H,te,I?8:void 0);return D(ne,W)}return I&&(H.flags|=4096),H}function oy(I){let W=M(),H,te;for(;H=de(()=>Op(4,I));){if(H.kind===345){mn(H.tagName,A.A_JSDoc_template_tag_may_not_follow_a_typedef_callback_or_overload_tag);break}te=Cn(te,H)}return Dt(te||[],W)}function Md(I,W){let H=oy(W),te=de(()=>{if(Gi(60)){let ne=Zn(W);if(ne&&ne.kind===342)return ne}});return D(f.createJSDocSignature(void 0,H,te),I)}function cy(I,W,H,te){let ne=Ip();pn();let Ie=R(H),Re=Md(I,H);Ie||(Ie=Bt(I,M(),H,te));let dt=Ie!==void 0?M():Re.end;return D(f.createJSDocCallbackTag(W,Re,ne,Ie),I,dt)}function ly(I,W,H,te){pn();let ne=R(H),Ie=Md(I,H);ne||(ne=Bt(I,M(),H,te));let Re=ne!==void 0?M():Ie.end;return D(f.createJSDocOverloadTag(W,Ie,ne),I,Re)}function uy(I,W){for(;!et(I)||!et(W);)if(!et(I)&&!et(W)&&I.right.escapedText===W.right.escapedText)I=I.left,W=W.left;else return!1;return I.escapedText===W.escapedText}function py(I){return Op(1,I)}function Op(I,W,H){let te=!0,ne=!1;for(;;)switch(qe()){case 60:if(te){let Ie=fy(I,W);return Ie&&(Ie.kind===341||Ie.kind===348)&&H&&(et(Ie.name)||!uy(H,Ie.name.left))?!1:Ie}ne=!1;break;case 4:te=!0,ne=!1;break;case 42:ne&&(te=!1),ne=!0;break;case 80:te=!1;break;case 1:return!1}}function fy(I,W){B.assert(u()===60);let H=t.getTokenFullStart();qe();let te=yi(),ne=Pr(),Ie;switch(te.escapedText){case"type":return I===1&&Vi(H,te);case"prop":case"property":Ie=1;break;case"arg":case"argument":case"param":Ie=6;break;case"template":return Jd(H,te,W,ne);case"this":return Od(H,te,W,ne);default:return!1}return I&Ie?en(H,te,I,W):!1}function dy(){let I=M(),W=Gi(23);W&&pn();let H=Un(!1,!0),te=yi(A.Unexpected_token_A_type_parameter_name_was_expected_without_curly_braces),ne;if(W&&(pn(),L(64),ne=Tt(16777216,Ji),L(24)),!ea(te))return D(f.createTypeParameterDeclaration(H,te,void 0,ne),I)}function my(){let I=M(),W=[];do{pn();let H=dy();H!==void 0&&W.push(H),Pr()}while(Gi(28));return Dt(W,I)}function Jd(I,W,H,te){let ne=u()===19?m():void 0,Ie=my();return D(f.createJSDocTemplateTag(W,ne,Ie,Bt(I,M(),H,te)),I)}function Gi(I){return u()===I?(qe(),!0):!1}function hy(){let I=yi();for(Je(23)&&L(24);Je(25);){let W=yi();Je(23)&&L(24),I=d_(I,W)}return I}function yi(I){if(!bt(u()))return an(80,!I,I||A.Identifier_expected);Sn++;let W=t.getTokenStart(),H=t.getTokenEnd(),te=u(),ne=zr(t.getTokenValue()),Ie=D(re(ne,te),W,H);return qe(),Ie}}})(us=e.JSDocParser||(e.JSDocParser={}))})(na||(na={}));var Um=new WeakSet;function ev(e){Um.has(e)&&B.fail("Source file has already been incrementally parsed"),Um.add(e)}var Ch=new WeakSet;function tv(e){return Ch.has(e)}function of(e){Ch.add(e)}var yl;(e=>{function t(w,J,re,be){if(be=be||B.shouldAssert(2),f(w,J,re,be),Mg(re))return w;if(w.statements.length===0)return na.parseSourceFile(w.fileName,J,w.languageVersion,void 0,!0,w.scriptKind,w.setExternalModuleIndicator,w.jsDocParsingMode);ev(w),na.fixupParentReferences(w);let he=w.text,me=k(w),O=l(w,re);f(w,J,O,be),B.assert(O.span.start<=re.span.start),B.assert(Nr(O.span)===Nr(re.span)),B.assert(Nr(ps(O))===Nr(ps(re)));let ae=ps(O).length-O.span.length;C(w,O.span.start,Nr(O.span),Nr(ps(O)),ae,he,J,be);let ve=na.parseSourceFile(w.fileName,J,w.languageVersion,me,!0,w.scriptKind,w.setExternalModuleIndicator,w.jsDocParsingMode);return ve.commentDirectives=a(w.commentDirectives,ve.commentDirectives,O.span.start,Nr(O.span),ae,he,J,be),ve.impliedNodeFormat=w.impliedNodeFormat,ve}e.updateSourceFile=t;function a(w,J,re,be,he,me,O,ae){if(!w)return J;let ve,X=!1;for(let G of w){let{range:ht,type:ir}=G;if(ht.endbe){oe();let xn={range:{pos:ht.pos+he,end:ht.end+he},type:ir};ve=Cn(ve,xn),ae&&B.assert(me.substring(ht.pos,ht.end)===O.substring(xn.range.pos,xn.range.end))}}return oe(),ve;function oe(){X||(X=!0,ve?J&&ve.push(...J):ve=J)}}function o(w,J,re,be,he,me){J?ae(w):O(w);return;function O(ve){let X="";if(me&&h(ve)&&(X=be.substring(ve.pos,ve.end)),mm(ve),ta(ve,ve.pos+re,ve.end+re),me&&h(ve)&&B.assert(X===he.substring(ve.pos,ve.end)),tn(ve,O,ae),Zi(ve))for(let oe of ve.jsDoc)O(oe);E(ve,me)}function ae(ve){ta(ve,ve.pos+re,ve.end+re);for(let X of ve)O(X)}}function h(w){switch(w.kind){case 11:case 9:case 80:return!0}return!1}function g(w,J,re,be,he){B.assert(w.end>=J,"Adjusting an element that was entirely before the change range"),B.assert(w.pos<=re,"Adjusting an element that was entirely after the change range"),B.assert(w.pos<=w.end);let me=Math.min(w.pos,be),O=w.end>=re?w.end+he:Math.min(w.end,be);if(B.assert(me<=O),w.parent){let ae=w.parent;B.assertGreaterThanOrEqual(me,ae.pos),B.assertLessThanOrEqual(O,ae.end)}ta(w,me,O)}function E(w,J){if(J){let re=w.pos,be=he=>{B.assert(he.pos>=re),re=he.end};if(Zi(w))for(let he of w.jsDoc)be(he);tn(w,be),B.assert(re<=w.end)}}function C(w,J,re,be,he,me,O,ae){ve(w);return;function ve(oe){if(B.assert(oe.pos<=oe.end),oe.pos>re){o(oe,!1,he,me,O,ae);return}let G=oe.end;if(G>=J){if(of(oe),mm(oe),g(oe,J,re,be,he),tn(oe,ve,X),Zi(oe))for(let ht of oe.jsDoc)ve(ht);E(oe,ae);return}B.assert(Gre){o(oe,!0,he,me,O,ae);return}let G=oe.end;if(G>=J){of(oe),g(oe,J,re,be,he);for(let ht of oe)ve(ht);return}B.assert(G0&&O<=1;O++){let ae=Z(w,be);B.assert(ae.pos<=be);let ve=ae.pos;be=Math.max(0,ve-1)}let he=Og(be,Nr(J.span)),me=J.newLength+(J.span.start-be);return d1(he,me)}function Z(w,J){let re=w,be;if(tn(w,me),be){let O=he(be);O.pos>re.pos&&(re=O)}return re;function he(O){for(;;){let ae=bb(O);if(ae)O=ae;else return O}}function me(O){if(!ea(O))if(O.pos<=J){if(O.pos>=re.pos&&(re=O),JJ),!0}}function f(w,J,re,be){let he=w.text;if(re&&(B.assert(he.length-re.span.length+re.newLength===J.length),be||B.shouldAssert(3))){let me=he.substr(0,re.span.start),O=J.substr(0,re.span.start);B.assert(me===O);let ae=he.substring(Nr(re.span),he.length),ve=J.substring(Nr(ps(re)),J.length);B.assert(ae===ve)}}function k(w){let J=w.statements,re=0;B.assert(re=X.pos&&O=X.pos&&O{w[w.Value=-1]="Value"})(v||(v={}))})(yl||(yl={}));function nv(e){return rv(e)!==void 0}function rv(e){let t=e1(e,Bb,!1);if(t)return t;if(eg(e,".ts")){let a=Zm(e).lastIndexOf(".d.");if(a>=0)return e.substring(a)}}function iv(e,t,a,o){if(e){if(e==="import")return 99;if(e==="require")return 1;o(t,a-t,A.resolution_mode_should_be_either_require_or_import)}}function av(e,t){let a=[];for(let o of Kp(t,0)||Ot){let h=t.substring(o.pos,o.end);lv(a,o,h)}e.pragmas=new Map;for(let o of a){if(e.pragmas.has(o.name)){let h=e.pragmas.get(o.name);h instanceof Array?h.push(o.args):e.pragmas.set(o.name,[h,o.args]);continue}e.pragmas.set(o.name,o.args)}}function _v(e,t){e.checkJsDirective=void 0,e.referencedFiles=[],e.typeReferenceDirectives=[],e.libReferenceDirectives=[],e.amdDependencies=[],e.hasNoDefaultLib=!1,e.pragmas.forEach((a,o)=>{switch(o){case"reference":{let h=e.referencedFiles,g=e.typeReferenceDirectives,E=e.libReferenceDirectives;zn(Jp(a),C=>{let{types:l,lib:Z,path:f,["resolution-mode"]:k,preserve:v}=C.arguments,w=v==="true"?!0:void 0;if(C.arguments["no-default-lib"]==="true")e.hasNoDefaultLib=!0;else if(l){let J=iv(k,l.pos,l.end,t);g.push({pos:l.pos,end:l.end,fileName:l.value,...J?{resolutionMode:J}:{},...w?{preserve:w}:{}})}else Z?E.push({pos:Z.pos,end:Z.end,fileName:Z.value,...w?{preserve:w}:{}}):f?h.push({pos:f.pos,end:f.end,fileName:f.value,...w?{preserve:w}:{}}):t(C.range.pos,C.range.end-C.range.pos,A.Invalid_reference_directive_syntax)});break}case"amd-dependency":{e.amdDependencies=Gp(Jp(a),h=>({name:h.arguments.name,path:h.arguments.path}));break}case"amd-module":{if(a instanceof Array)for(let h of a)e.moduleName&&t(h.range.pos,h.range.end-h.range.pos,A.An_AMD_module_cannot_have_multiple_name_assignments),e.moduleName=h.arguments.name;else e.moduleName=a.arguments.name;break}case"ts-nocheck":case"ts-check":{zn(Jp(a),h=>{(!e.checkJsDirective||h.range.pos>e.checkJsDirective.pos)&&(e.checkJsDirective={enabled:o==="ts-check",end:h.range.end,pos:h.range.pos})});break}case"jsx":case"jsxfrag":case"jsximportsource":case"jsxruntime":return;default:B.fail("Unhandled pragma kind")}})}var Wp=new Map;function sv(e){if(Wp.has(e))return Wp.get(e);let t=new RegExp(`(\\s${e}\\s*=\\s*)(?:(?:'([^']*)')|(?:"([^"]*)"))`,"im");return Wp.set(e,t),t}var ov=/^\/\/\/\s*<(\S+)\s.*?\/>/im,cv=/^\/\/\/?\s*@([^\s:]+)(.*)\s*$/im;function lv(e,t,a){let o=t.kind===2&&ov.exec(a);if(o){let g=o[1].toLowerCase(),E=Km[g];if(!E||!(E.kind&1))return;if(E.args){let C={};for(let l of E.args){let f=sv(l.name).exec(a);if(!f&&!l.optional)return;if(f){let k=f[2]||f[3];if(l.captureSpan){let v=t.pos+f.index+f[1].length+1;C[l.name]={value:k,pos:v,end:v+k.length}}else C[l.name]=k}}e.push({name:g,args:{arguments:C,range:t}})}else e.push({name:g,args:{arguments:{},range:t}});return}let h=t.kind===2&&cv.exec(a);if(h)return Bm(e,t,2,h);if(t.kind===3){let g=/@(\S+)(\s+.*)?$/gim,E;for(;E=g.exec(a);)Bm(e,t,4,E)}}function Bm(e,t,a,o){if(!o)return;let h=o[1].toLowerCase(),g=Km[h];if(!g||!(g.kind&a))return;let E=o[2],C=uv(g,E);C!=="fail"&&e.push({name:h,args:{arguments:C,range:t}})}function uv(e,t){if(!t)return{};if(!e.args)return{};let a=t.trim().split(/\s+/),o={};for(let h=0;ho.kind<309||o.kind>351);return a.kind<166?a:a.getFirstToken(e)}getLastToken(e){this.assertHasRealPosition();let t=this.getChildren(e),a=Ki(t);if(a)return a.kind<166?a:a.getLastToken(e)}forEachChild(e,t){return tn(this,e,t)}};function pv(e,t){let a=[];if(x2(e))return e.forEachChild(E=>{a.push(E)}),a;vs.setText((t||e.getSourceFile()).text);let o=e.pos,h=E=>{xs(a,o,E.pos,e),a.push(E),o=E.end},g=E=>{xs(a,o,E.pos,e),a.push(fv(E,e)),o=E.end};return zn(e.jsDoc,h),o=e.pos,e.forEachChild(h,g),xs(a,o,e.end,e),vs.setText(void 0),a}function xs(e,t,a,o){for(vs.resetTokenState(t);tt.tagName.text==="inheritDoc"||t.tagName.text==="inheritdoc")}function sl(e,t){if(!e)return Ot;let a=ts_JsDoc_exports.getJsDocTagsFromDeclarations(e,t);if(t&&(a.length===0||e.some(Oh))){let o=new Set;for(let h of e){let g=Mh(t,h,E=>{var C;if(!o.has(E))return o.add(E),h.kind===177||h.kind===178?E.getContextualJsDocTags(h,t):((C=E.declarations)==null?void 0:C.length)===1?E.getJsDocTags(t):void 0});g&&(a=[...g,...a])}}return a}function bs(e,t){if(!e)return Ot;let a=ts_JsDoc_exports.getJsDocCommentsFromDeclarations(e,t);if(t&&(a.length===0||e.some(Oh))){let o=new Set;for(let h of e){let g=Mh(t,h,E=>{if(!o.has(E))return o.add(E),h.kind===177||h.kind===178?E.getContextualDocumentationComment(h,t):E.getDocumentationComment(t)});g&&(a=a.length===0?g.slice():g.concat(lineBreakPart(),a))}}return a}function Mh(e,t,a){var o;let h=((o=t.parent)==null?void 0:o.kind)===176?t.parent.parent:t.parent;if(!h)return;let g=ob(t);return xy(Z2(h),E=>{let C=e.getTypeAtLocation(E),l=g&&C.symbol?e.getTypeOfSymbol(C.symbol):C,Z=e.getPropertyOfType(l,t.symbol.name);return Z?a(Z):void 0})}var yv=class extends sd{constructor(e,t,a){super(e,t,a)}update(e,t){return Z6(this,e,t)}getLineAndCharacterOfPosition(e){return s1(this,e)}getLineStarts(){return Qp(this)}getPositionOfLineAndCharacter(e,t,a){return Sg(Qp(this),e,t,this.text,a)}getLineEndOfPosition(e){let{line:t}=this.getLineAndCharacterOfPosition(e),a=this.getLineStarts(),o;t+1>=a.length&&(o=this.getEnd()),o||(o=a[t+1]-1);let h=this.getFullText();return h[o]===` +`&&h[o-1]==="\r"?o-1:o}getNamedDeclarations(){return this.namedDeclarations||(this.namedDeclarations=this.computeNamedDeclarations()),this.namedDeclarations}computeNamedDeclarations(){let e=Ry();return this.forEachChild(h),e;function t(g){let E=o(g);E&&e.add(E,g)}function a(g){let E=e.get(g);return E||e.set(g,E=[]),E}function o(g){let E=Ef(g);return E&&(wl(E)&&br(E.expression)?E.expression.name.text:S1(E)?getNameFromPropertyName(E):void 0)}function h(g){switch(g.kind){case 262:case 218:case 174:case 173:let E=g,C=o(E);if(C){let f=a(C),k=Ki(f);k&&E.parent===k.parent&&E.symbol===k.symbol?E.body&&!k.body&&(f[f.length-1]=E):f.push(E)}tn(g,h);break;case 263:case 231:case 264:case 265:case 266:case 267:case 271:case 281:case 276:case 273:case 274:case 177:case 178:case 187:t(g),tn(g,h);break;case 169:if(!Os(g,31))break;case 260:case 208:{let f=g;if(u2(f.name)){tn(f.name,h);break}f.initializer&&h(f.initializer)}case 306:case 172:case 171:t(g);break;case 278:let l=g;l.exportClause&&(dh(l.exportClause)?zn(l.exportClause.elements,h):h(l.exportClause.name));break;case 272:let Z=g.importClause;Z&&(Z.name&&t(Z.name),Z.namedBindings&&(Z.namedBindings.kind===274?t(Z.namedBindings):zn(Z.namedBindings.elements,h)));break;case 226:If(g)!==0&&t(g);default:tn(g,h)}}}},gv=class{constructor(e,t,a){this.fileName=e,this.text=t,this.skipTrivia=a||(o=>o)}getLineAndCharacterOfPosition(e){return s1(this,e)}};function bv(){return{getNodeConstructor:()=>sd,getTokenConstructor:()=>Ph,getIdentifierConstructor:()=>Nh,getPrivateIdentifierConstructor:()=>Ih,getSourceFileConstructor:()=>yv,getSymbolConstructor:()=>dv,getTypeConstructor:()=>mv,getSignatureConstructor:()=>hv,getSourceMapSourceConstructor:()=>gv}}var vv=["getSemanticDiagnostics","getSuggestionDiagnostics","getCompilerOptionsDiagnostics","getSemanticClassifications","getEncodedSemanticClassifications","getCodeFixesAtPosition","getCombinedCodeFix","applyCodeActionCommand","organizeImports","getEditsForFileRename","getEmitOutput","getApplicableRefactors","getEditsForRefactor","prepareCallHierarchy","provideCallHierarchyIncomingCalls","provideCallHierarchyOutgoingCalls","provideInlayHints","getSupportedCodeFixes","getPasteEdits"],ax=[...vv,"getCompletionsAtPosition","getCompletionEntryDetails","getCompletionEntrySymbol","getSignatureHelpItems","getQuickInfoAtPosition","getDefinitionAtPosition","getDefinitionAndBoundSpan","getImplementationAtPosition","getTypeDefinitionAtPosition","getReferencesAtPosition","findReferences","getDocumentHighlights","getNavigateToItems","getRenameInfo","findRenameLocations","getApplicableRefactors"];Cb(bv());var Jl=new Proxy({},{get:()=>!0});var jh=Jl["4.8"];function rr(e,t=!1){var a;if(e!=null){if(jh){if(t||Ol(e)){let o=y1(e);return o?Array.from(o):void 0}return}return(a=e.modifiers)==null?void 0:a.filter(o=>!kl(o))}}function sa(e,t=!1){var a;if(e!=null){if(jh){if(t||Ml(e)){let o=xl(e);return o?Array.from(o):void 0}return}return(a=e.decorators)==null?void 0:a.filter(kl)}}var Rh={};var jl=new Proxy({},{get:(e,t)=>t});var Uh=jl,Bh=jl;var P=Uh,Ft=Bh;var qh=Jl["5.0"],ue=ce,Sv=new Set([ue.BarBarToken,ue.AmpersandAmpersandToken,ue.QuestionQuestionToken]),wv=new Set([ce.EqualsToken,ce.PlusEqualsToken,ce.MinusEqualsToken,ce.AsteriskEqualsToken,ce.AsteriskAsteriskEqualsToken,ce.SlashEqualsToken,ce.PercentEqualsToken,ce.LessThanLessThanEqualsToken,ce.GreaterThanGreaterThanEqualsToken,ce.GreaterThanGreaterThanGreaterThanEqualsToken,ce.AmpersandEqualsToken,ce.BarEqualsToken,ce.BarBarEqualsToken,ce.AmpersandAmpersandEqualsToken,ce.QuestionQuestionEqualsToken,ce.CaretEqualsToken]),kv=new Set([ue.InstanceOfKeyword,ue.InKeyword,ue.AsteriskAsteriskToken,ue.AsteriskToken,ue.SlashToken,ue.PercentToken,ue.PlusToken,ue.MinusToken,ue.AmpersandToken,ue.BarToken,ue.CaretToken,ue.LessThanLessThanToken,ue.GreaterThanGreaterThanToken,ue.GreaterThanGreaterThanGreaterThanToken,ue.AmpersandAmpersandToken,ue.BarBarToken,ue.LessThanToken,ue.LessThanEqualsToken,ue.GreaterThanToken,ue.GreaterThanEqualsToken,ue.EqualsEqualsToken,ue.EqualsEqualsEqualsToken,ue.ExclamationEqualsEqualsToken,ue.ExclamationEqualsToken]);function Ev(e){return wv.has(e.kind)}function Av(e){return Sv.has(e.kind)}function Cv(e){return kv.has(e.kind)}function ti(e){return _t(e)}function zh(e){return e.kind!==ue.SemicolonClassElement}function We(e,t){let a=rr(t);return(a==null?void 0:a.some(o=>o.kind===e))===!0}function Fh(e){let t=rr(e);return t==null?null:t[t.length-1]??null}function Vh(e){return e.kind===ue.CommaToken}function Dv(e){return e.kind===ue.SingleLineCommentTrivia||e.kind===ue.MultiLineCommentTrivia}function Pv(e){return e.kind===ue.JSDocComment}function Wh(e){if(Ev(e))return{type:P.AssignmentExpression,operator:ti(e.kind)};if(Av(e))return{type:P.LogicalExpression,operator:ti(e.kind)};if(Cv(e))return{type:P.BinaryExpression,operator:ti(e.kind)};throw new Error(`Unexpected binary operator ${_t(e.kind)}`)}function Js(e,t){let a=t.getLineAndCharacterOfPosition(e);return{line:a.line+1,column:a.character}}function ni(e,t){let[a,o]=e.map(h=>Js(h,t));return{start:a,end:o}}function Gh(e){if(e.kind===ce.Block)switch(e.parent.kind){case ce.Constructor:case ce.GetAccessor:case ce.SetAccessor:case ce.ArrowFunction:case ce.FunctionExpression:case ce.FunctionDeclaration:case ce.MethodDeclaration:return!0;default:return!1}return!0}function Za(e,t){return[e.getStart(t),e.getEnd()]}function Nv(e){return e.kind>=ue.FirstToken&&e.kind<=ue.LastToken}function Yh(e){return e.kind>=ue.JsxElement&&e.kind<=ue.JsxAttribute}function Ll(e){return e.flags&Xt.Let?"let":(e.flags&Xt.AwaitUsing)===Xt.AwaitUsing?"await using":e.flags&Xt.Const?"const":e.flags&Xt.Using?"using":"var"}function Ci(e){let t=rr(e);if(t!=null)for(let a of t)switch(a.kind){case ue.PublicKeyword:return"public";case ue.ProtectedKeyword:return"protected";case ue.PrivateKeyword:return"private";default:break}}function oa(e,t,a){return o(t);function o(h){return x1(h)&&h.pos===e.end?h:Lv(h.getChildren(a),g=>(g.pos<=e.pos&&g.end>e.end||g.pos===e.end)&&jv(g,a)?o(g):void 0)}}function Iv(e,t){let a=e;for(;a;){if(t(a))return a;a=a.parent}}function Ov(e){return!!Iv(e,Yh)}function pd(e){return e.replace(/&(?:#\d+|#x[\da-fA-F]+|[0-9a-zA-Z]+);/g,t=>{let a=t.slice(1,-1);if(a[0]==="#"){let o=a[1]==="x"?parseInt(a.slice(2),16):parseInt(a.slice(1),10);return o>1114111?t:String.fromCodePoint(o)}return Rh[a]||t})}function ca(e){return e.kind===ue.ComputedPropertyName}function fd(e){return!!e.questionToken}function dd(e){return e.type===P.ChainExpression}function Hh(e,t){return dd(t)&&e.expression.kind!==ce.ParenthesizedExpression}function Mv(e){let t;if(qh&&e.kind===ue.Identifier?t=Ns(e):"originalKeywordKind"in e&&(t=e.originalKeywordKind),t)return t===ue.NullKeyword?Ft.Null:t>=ue.FirstFutureReservedWord&&t<=ue.LastKeyword?Ft.Identifier:Ft.Keyword;if(e.kind>=ue.FirstKeyword&&e.kind<=ue.LastFutureReservedWord)return e.kind===ue.FalseKeyword||e.kind===ue.TrueKeyword?Ft.Boolean:Ft.Keyword;if(e.kind>=ue.FirstPunctuation&&e.kind<=ue.LastPunctuation)return Ft.Punctuator;if(e.kind>=ue.NoSubstitutionTemplateLiteral&&e.kind<=ue.TemplateTail)return Ft.Template;switch(e.kind){case ue.NumericLiteral:return Ft.Numeric;case ue.JsxText:return Ft.JSXText;case ue.StringLiteral:return e.parent.kind===ue.JsxAttribute||e.parent.kind===ue.JsxElement?Ft.JSXText:Ft.String;case ue.RegularExpressionLiteral:return Ft.RegularExpression;case ue.Identifier:case ue.ConstructorKeyword:case ue.GetKeyword:case ue.SetKeyword:default:}if(e.kind===ue.Identifier){if(Yh(e.parent))return Ft.JSXIdentifier;if(e.parent.kind===ue.PropertyAccessExpression&&Ov(e))return Ft.JSXIdentifier}return Ft.Identifier}function Jv(e,t){let a=e.kind===ue.JsxText?e.getFullStart():e.getStart(t),o=e.getEnd(),h=t.text.slice(a,o),g=Mv(e),E=[a,o],C=ni(E,t);return g===Ft.RegularExpression?{type:g,value:h,range:E,loc:C,regex:{pattern:h.slice(1,h.lastIndexOf("/")),flags:h.slice(h.lastIndexOf("/")+1)}}:{type:g,value:h,range:E,loc:C}}function Xh(e){let t=[];function a(o){Dv(o)||Pv(o)||(Nv(o)&&o.kind!==ue.EndOfFileToken?t.push(Jv(o,e)):o.getChildren(e).forEach(a))}return a(e),t}var ud=class extends Error{fileName;location;constructor(t,a,o){super(t),this.fileName=a,this.location=o,Object.defineProperty(this,"name",{value:new.target.name,enumerable:!1,configurable:!0})}get index(){return this.location.start.offset}get lineNumber(){return this.location.start.line}get column(){return this.location.start.column}};function md(e,t,a,o=a){let[h,g]=[a,o].map(E=>{let{line:C,character:l}=t.getLineAndCharacterOfPosition(E);return{line:C+1,column:l,offset:E}});return new ud(e,t.fileName,{start:h,end:g})}function $h(e){var t;return!!("illegalDecorators"in e&&((t=e.illegalDecorators)!=null&&t.length))}function jv(e,t){return e.kind===ue.EndOfFileToken?!!e.jsDoc:e.getWidth(t)!==0}function Lv(e,t){if(e!==void 0)for(let a=0;a=0&&e.kind!==ue.EndOfFileToken}function hd(e){return!Uv(e)}function Zh(e){return kf(e.parent,Pf)}function Bv(e){return We(ue.AbstractKeyword,e)}function qv(e){if(e.parameters.length&&!Il(e)){let t=e.parameters[0];if(zv(t))return t}return null}function zv(e){return Qh(e.name)}function e0(e){switch(e.kind){case ue.ClassDeclaration:return!0;case ue.ClassExpression:return!0;case ue.PropertyDeclaration:{let{parent:t}=e;return!!(Xa(t)||Ei(t)&&!Bv(e))}case ue.GetAccessor:case ue.SetAccessor:case ue.MethodDeclaration:{let{parent:t}=e;return!!e.body&&(Xa(t)||Ei(t))}case ue.Parameter:{let{parent:t}=e,a=t.parent;return!!t&&"body"in t&&!!t.body&&(t.kind===ue.Constructor||t.kind===ue.MethodDeclaration||t.kind===ue.SetAccessor)&&qv(t)!==e&&!!a&&a.kind===ue.ClassDeclaration}}return!1}function yd(e){switch(e.kind){case ue.Identifier:return!0;case ue.PropertyAccessExpression:case ue.ElementAccessExpression:return!(e.flags&Xt.OptionalChain);case ue.ParenthesizedExpression:case ue.TypeAssertionExpression:case ue.AsExpression:case ue.SatisfiesExpression:case ue.NonNullExpression:return yd(e.expression);default:return!1}}function t0(e){let t=rr(e),a=e;for(;(!t||t.length===0)&&ei(a.parent);){let o=rr(a.parent);o!=null&&o.length&&(t=o),a=a.parent}return t}var b=ce;function vd(e){return md("message"in e&&e.message||e.messageText,e.file,e.start)}var ge,n0,$t,js,bd,Ge,r0,Rl=class{constructor(t,a){Ud(this,ge);Ma(this,"ast");Ma(this,"options");Ma(this,"esTreeNodeToTSNodeMap",new WeakMap);Ma(this,"tsNodeToESTreeNodeMap",new WeakMap);Ma(this,"allowPattern",!1);this.ast=t,this.options={...a}}getASTMaps(){return{esTreeNodeToTSNodeMap:this.esTreeNodeToTSNodeMap,tsNodeToESTreeNodeMap:this.tsNodeToESTreeNodeMap}}convertProgram(){return this.converter(this.ast)}converter(t,a,o){if(!t)return null;we(this,ge,n0).call(this,t);let h=this.allowPattern;o!==void 0&&(this.allowPattern=o);let g=this.convertNode(t,a??t.parent);return this.registerTSNodeInNodeMap(t,g),this.allowPattern=h,g}fixExports(t,a){let h=ei(t)&&!!(t.flags&Xt.Namespace)?t0(t):rr(t);if((h==null?void 0:h[0].kind)===b.ExportKeyword){this.registerTSNodeInNodeMap(t,a);let g=h[0],E=h[1],C=(E==null?void 0:E.kind)===b.DefaultKeyword,l=C?oa(E,this.ast,this.ast):oa(g,this.ast,this.ast);if(a.range[0]=l.getStart(this.ast),a.loc=ni(a.range,this.ast),C)return this.createNode(t,{type:P.ExportDefaultDeclaration,declaration:a,range:[g.getStart(this.ast),a.range[1]],exportKind:"value"});let Z=a.type===P.TSInterfaceDeclaration||a.type===P.TSTypeAliasDeclaration,f="declare"in a&&a.declare;return this.createNode(t,we(this,ge,js).call(this,{type:P.ExportNamedDeclaration,declaration:a,specifiers:[],source:null,exportKind:Z||f?"type":"value",range:[g.getStart(this.ast),a.range[1]],attributes:[]},"assertions","attributes",!0))}return a}registerTSNodeInNodeMap(t,a){a&&this.options.shouldPreserveNodeMaps&&(this.tsNodeToESTreeNodeMap.has(t)||this.tsNodeToESTreeNodeMap.set(t,a))}convertPattern(t,a){return this.converter(t,a,!0)}convertChild(t,a){return this.converter(t,a,!1)}createNode(t,a){let o=a;return o.range??(o.range=Za(t,this.ast)),o.loc??(o.loc=ni(o.range,this.ast)),o&&this.options.shouldPreserveNodeMaps&&this.esTreeNodeToTSNodeMap.set(o,t),o}convertBindingNameWithTypeAnnotation(t,a,o){let h=this.convertPattern(t);return a&&(h.typeAnnotation=this.convertTypeAnnotation(a,o),this.fixParentLocation(h,h.typeAnnotation.range)),h}convertTypeAnnotation(t,a){let o=(a==null?void 0:a.kind)===b.FunctionType||(a==null?void 0:a.kind)===b.ConstructorType?2:1,g=[t.getFullStart()-o,t.end],E=ni(g,this.ast);return{type:P.TSTypeAnnotation,loc:E,range:g,typeAnnotation:this.convertChild(t)}}convertBodyExpressions(t,a){let o=Gh(a);return t.map(h=>{let g=this.convertChild(h);if(o){if(g!=null&&g.expression&&Dl(h)&&Qa(h.expression)){let E=g.expression.raw;return g.directive=E.slice(1,-1),g}o=!1}return g}).filter(h=>h)}convertTypeArgumentsToTypeParameterInstantiation(t,a){let o=oa(t,this.ast,this.ast);return this.createNode(a,{type:P.TSTypeParameterInstantiation,range:[t.pos-1,o.end],params:t.map(h=>this.convertChild(h))})}convertTSTypeParametersToTypeParametersDeclaration(t){let a=oa(t,this.ast,this.ast),o=[t.pos-1,a.end];return{type:P.TSTypeParameterDeclaration,range:o,loc:ni(o,this.ast),params:t.map(h=>this.convertChild(h))}}convertParameters(t){return t!=null&&t.length?t.map(a=>{var h;let o=this.convertChild(a);return o.decorators=((h=sa(a))==null?void 0:h.map(g=>this.convertChild(g)))??[],o}):[]}convertChainExpression(t,a){let{child:o,isOptional:h}=t.type===P.MemberExpression?{child:t.object,isOptional:t.optional}:t.type===P.CallExpression?{child:t.callee,isOptional:t.optional}:{child:t.expression,isOptional:!1},g=Hh(a,o);if(!g&&!h)return t;if(g&&dd(o)){let E=o.expression;t.type===P.MemberExpression?t.object=E:t.type===P.CallExpression?t.callee=E:t.expression=E}return this.createNode(a,{type:P.ChainExpression,expression:t})}deeplyCopy(t){t.kind===ce.JSDocFunctionType&&we(this,ge,Ge).call(this,t,"JSDoc types can only be used inside documentation comments.");let a=`TS${b[t.kind]}`;if(this.options.errorOnUnknownASTType&&!P[a])throw new Error(`Unknown AST_NODE_TYPE: "${a}"`);let o=this.createNode(t,{type:a});"type"in t&&(o.typeAnnotation=t.type&&"kind"in t.type&&w1(t.type)?this.convertTypeAnnotation(t.type,t):null),"typeArguments"in t&&(o.typeArguments=t.typeArguments&&"pos"in t.typeArguments?this.convertTypeArgumentsToTypeParameterInstantiation(t.typeArguments,t):null),"typeParameters"in t&&(o.typeParameters=t.typeParameters&&"pos"in t.typeParameters?this.convertTSTypeParametersToTypeParametersDeclaration(t.typeParameters):null);let h=sa(t);h!=null&&h.length&&(o.decorators=h.map(E=>this.convertChild(E)));let g=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(t).filter(([E])=>!g.has(E)).forEach(([E,C])=>{Array.isArray(C)?o[E]=C.map(l=>this.convertChild(l)):C&&typeof C=="object"&&C.kind?o[E]=this.convertChild(C):o[E]=C}),o}convertJSXIdentifier(t){let a=this.createNode(t,{type:P.JSXIdentifier,name:t.getText()});return this.registerTSNodeInNodeMap(t,a),a}convertJSXNamespaceOrIdentifier(t){if(t.kind===ce.JsxNamespacedName){let h=this.createNode(t,{type:P.JSXNamespacedName,namespace:this.createNode(t.namespace,{type:P.JSXIdentifier,name:t.namespace.text}),name:this.createNode(t.name,{type:P.JSXIdentifier,name:t.name.text})});return this.registerTSNodeInNodeMap(t,h),h}let a=t.getText(),o=a.indexOf(":");if(o>0){let h=Za(t,this.ast),g=this.createNode(t,{type:P.JSXNamespacedName,namespace:this.createNode(t,{type:P.JSXIdentifier,name:a.slice(0,o),range:[h[0],h[0]+o]}),name:this.createNode(t,{type:P.JSXIdentifier,name:a.slice(o+1),range:[h[0]+o+1,h[1]]}),range:h});return this.registerTSNodeInNodeMap(t,g),g}return this.convertJSXIdentifier(t)}convertJSXTagName(t,a){let o;switch(t.kind){case b.PropertyAccessExpression:t.name.kind===b.PrivateIdentifier&&we(this,ge,Ge).call(this,t.name,"Non-private identifier expected."),o=this.createNode(t,{type:P.JSXMemberExpression,object:this.convertJSXTagName(t.expression,a),property:this.convertJSXIdentifier(t.name)});break;case b.ThisKeyword:case b.Identifier:default:return this.convertJSXNamespaceOrIdentifier(t)}return this.registerTSNodeInNodeMap(t,o),o}convertMethodSignature(t){return this.createNode(t,{type:P.TSMethodSignature,accessibility:Ci(t),computed:ca(t.name),key:this.convertChild(t.name),kind:(()=>{switch(t.kind){case b.GetAccessor:return"get";case b.SetAccessor:return"set";case b.MethodSignature:return"method"}})(),optional:fd(t),params:this.convertParameters(t.parameters),returnType:t.type&&this.convertTypeAnnotation(t.type,t),readonly:We(b.ReadonlyKeyword,t),static:We(b.StaticKeyword,t),typeParameters:t.typeParameters&&this.convertTSTypeParametersToTypeParametersDeclaration(t.typeParameters)})}convertImportAttributes(t){return t===void 0?[]:t.elements.map(a=>this.convertChild(a))}fixParentLocation(t,a){a[0]t.range[1]&&(t.range[1]=a[1],t.loc.end=Js(t.range[1],this.ast))}assertModuleSpecifier(t,a){var o;!a&&t.moduleSpecifier==null&&we(this,ge,$t).call(this,t,"Module specifier must be a string literal."),t.moduleSpecifier&&((o=t.moduleSpecifier)==null?void 0:o.kind)!==b.StringLiteral&&we(this,ge,$t).call(this,t.moduleSpecifier,"Module specifier must be a string literal.")}convertNode(t,a){var o,h,g,E,C,l,Z;switch(t.kind){case b.SourceFile:return this.createNode(t,{type:P.Program,body:this.convertBodyExpressions(t.statements,t),comments:void 0,range:[t.getStart(this.ast),t.endOfFileToken.end],sourceType:t.externalModuleIndicator?"module":"script",tokens:void 0});case b.Block:return this.createNode(t,{type:P.BlockStatement,body:this.convertBodyExpressions(t.statements,t)});case b.Identifier:return Kh(t)?this.createNode(t,{type:P.ThisExpression}):this.createNode(t,{type:P.Identifier,decorators:[],name:t.text,optional:!1,typeAnnotation:void 0});case b.PrivateIdentifier:return this.createNode(t,{type:P.PrivateIdentifier,name:t.text.slice(1)});case b.WithStatement:return this.createNode(t,{type:P.WithStatement,object:this.convertChild(t.expression),body:this.convertChild(t.statement)});case b.ReturnStatement:return this.createNode(t,{type:P.ReturnStatement,argument:this.convertChild(t.expression)});case b.LabeledStatement:return this.createNode(t,{type:P.LabeledStatement,label:this.convertChild(t.label),body:this.convertChild(t.statement)});case b.ContinueStatement:return this.createNode(t,{type:P.ContinueStatement,label:this.convertChild(t.label)});case b.BreakStatement:return this.createNode(t,{type:P.BreakStatement,label:this.convertChild(t.label)});case b.IfStatement:return this.createNode(t,{type:P.IfStatement,test:this.convertChild(t.expression),consequent:this.convertChild(t.thenStatement),alternate:this.convertChild(t.elseStatement)});case b.SwitchStatement:return t.caseBlock.clauses.filter(f=>f.kind===b.DefaultClause).length>1&&we(this,ge,Ge).call(this,t,"A 'default' clause cannot appear more than once in a 'switch' statement."),this.createNode(t,{type:P.SwitchStatement,discriminant:this.convertChild(t.expression),cases:t.caseBlock.clauses.map(f=>this.convertChild(f))});case b.CaseClause:case b.DefaultClause:return this.createNode(t,{type:P.SwitchCase,test:t.kind===b.CaseClause?this.convertChild(t.expression):null,consequent:t.statements.map(f=>this.convertChild(f))});case b.ThrowStatement:return t.expression.end===t.expression.pos&&we(this,ge,$t).call(this,t,"A throw statement must throw an expression."),this.createNode(t,{type:P.ThrowStatement,argument:this.convertChild(t.expression)});case b.TryStatement:return this.createNode(t,{type:P.TryStatement,block:this.convertChild(t.tryBlock),handler:this.convertChild(t.catchClause),finalizer:this.convertChild(t.finallyBlock)});case b.CatchClause:return(o=t.variableDeclaration)!=null&&o.initializer&&we(this,ge,Ge).call(this,t.variableDeclaration.initializer,"Catch clause variable cannot have an initializer."),this.createNode(t,{type:P.CatchClause,param:t.variableDeclaration?this.convertBindingNameWithTypeAnnotation(t.variableDeclaration.name,t.variableDeclaration.type):null,body:this.convertChild(t.block)});case b.WhileStatement:return this.createNode(t,{type:P.WhileStatement,test:this.convertChild(t.expression),body:this.convertChild(t.statement)});case b.DoStatement:return this.createNode(t,{type:P.DoWhileStatement,test:this.convertChild(t.expression),body:this.convertChild(t.statement)});case b.ForStatement:return this.createNode(t,{type:P.ForStatement,init:this.convertChild(t.initializer),test:this.convertChild(t.condition),update:this.convertChild(t.incrementor),body:this.convertChild(t.statement)});case b.ForInStatement:return we(this,ge,r0).call(this,t.initializer),this.createNode(t,{type:P.ForInStatement,left:this.convertPattern(t.initializer),right:this.convertChild(t.expression),body:this.convertChild(t.statement)});case b.ForOfStatement:return this.createNode(t,{type:P.ForOfStatement,left:this.convertPattern(t.initializer),right:this.convertChild(t.expression),body:this.convertChild(t.statement),await:!!(t.awaitModifier&&t.awaitModifier.kind===b.AwaitKeyword)});case b.FunctionDeclaration:{let f=We(b.DeclareKeyword,t),k=We(b.AsyncKeyword,t),v=!!t.asteriskToken;f?t.body?we(this,ge,Ge).call(this,t,"An implementation cannot be declared in ambient contexts."):k?we(this,ge,Ge).call(this,t,"'async' modifier cannot be used in an ambient context."):v&&we(this,ge,Ge).call(this,t,"Generators are not allowed in an ambient context."):!t.body&&v&&we(this,ge,Ge).call(this,t,"A function signature cannot be declared as a generator.");let w=this.createNode(t,{type:t.body?P.FunctionDeclaration:P.TSDeclareFunction,async:k,body:this.convertChild(t.body)||void 0,declare:f,expression:!1,generator:v,id:this.convertChild(t.name),params:this.convertParameters(t.parameters),returnType:t.type&&this.convertTypeAnnotation(t.type,t),typeParameters:t.typeParameters&&this.convertTSTypeParametersToTypeParametersDeclaration(t.typeParameters)});return this.fixExports(t,w)}case b.VariableDeclaration:return this.createNode(t,{type:P.VariableDeclarator,definite:!!t.exclamationToken,id:this.convertBindingNameWithTypeAnnotation(t.name,t.type,t),init:this.convertChild(t.initializer)});case b.VariableStatement:{let f=this.createNode(t,{type:P.VariableDeclaration,declarations:t.declarationList.declarations.map(k=>this.convertChild(k)),declare:We(b.DeclareKeyword,t),kind:Ll(t.declarationList)});return f.declarations.length||we(this,ge,$t).call(this,t,"A variable declaration list must have at least one variable declarator."),(f.kind==="using"||f.kind==="await using")&&t.declarationList.declarations.forEach((k,v)=>{f.declarations[v].init==null&&we(this,ge,Ge).call(this,k,`'${f.kind}' declarations must be initialized.`),f.declarations[v].id.type!==P.Identifier&&we(this,ge,Ge).call(this,k.name,`'${f.kind}' declarations may not have binding patterns.`)}),this.fixExports(t,f)}case b.VariableDeclarationList:{let f=this.createNode(t,{type:P.VariableDeclaration,declarations:t.declarations.map(k=>this.convertChild(k)),declare:!1,kind:Ll(t)});return(f.kind==="using"||f.kind==="await using")&&t.declarations.forEach((k,v)=>{f.declarations[v].init!=null&&we(this,ge,Ge).call(this,k,`'${f.kind}' declarations may not be initialized in for statement.`),f.declarations[v].id.type!==P.Identifier&&we(this,ge,Ge).call(this,k.name,`'${f.kind}' declarations may not have binding patterns.`)}),f}case b.ExpressionStatement:return this.createNode(t,{type:P.ExpressionStatement,directive:void 0,expression:this.convertChild(t.expression)});case b.ThisKeyword:return this.createNode(t,{type:P.ThisExpression});case b.ArrayLiteralExpression:return this.allowPattern?this.createNode(t,{type:P.ArrayPattern,decorators:[],elements:t.elements.map(f=>this.convertPattern(f)),optional:!1,typeAnnotation:void 0}):this.createNode(t,{type:P.ArrayExpression,elements:t.elements.map(f=>this.convertChild(f))});case b.ObjectLiteralExpression:{if(this.allowPattern)return this.createNode(t,{type:P.ObjectPattern,decorators:[],optional:!1,properties:t.properties.map(k=>this.convertPattern(k)),typeAnnotation:void 0});let f=[];for(let k of t.properties)(k.kind===b.GetAccessor||k.kind===b.SetAccessor||k.kind===b.MethodDeclaration)&&!k.body&&we(this,ge,$t).call(this,k.end-1,"'{' expected."),f.push(this.convertChild(k));return this.createNode(t,{type:P.ObjectExpression,properties:f})}case b.PropertyAssignment:{let{questionToken:f,exclamationToken:k}=t;return f&&we(this,ge,Ge).call(this,f,"A property assignment cannot have a question token."),k&&we(this,ge,Ge).call(this,k,"A property assignment cannot have an exclamation token."),this.createNode(t,{type:P.Property,key:this.convertChild(t.name),value:this.converter(t.initializer,t,this.allowPattern),computed:ca(t.name),method:!1,optional:!1,shorthand:!1,kind:"init"})}case b.ShorthandPropertyAssignment:{let{modifiers:f,questionToken:k,exclamationToken:v}=t;return f&&we(this,ge,Ge).call(this,f[0],"A shorthand property assignment cannot have modifiers."),k&&we(this,ge,Ge).call(this,k,"A shorthand property assignment cannot have a question token."),v&&we(this,ge,Ge).call(this,v,"A shorthand property assignment cannot have an exclamation token."),t.objectAssignmentInitializer?this.createNode(t,{type:P.Property,key:this.convertChild(t.name),value:this.createNode(t,{type:P.AssignmentPattern,decorators:[],left:this.convertPattern(t.name),optional:!1,right:this.convertChild(t.objectAssignmentInitializer),typeAnnotation:void 0}),computed:!1,method:!1,optional:!1,shorthand:!0,kind:"init"}):this.createNode(t,{type:P.Property,computed:!1,key:this.convertChild(t.name),kind:"init",method:!1,optional:!1,shorthand:!0,value:this.convertChild(t.name)})}case b.ComputedPropertyName:return this.convertChild(t.expression);case b.PropertyDeclaration:{let f=We(b.AbstractKeyword,t);f&&t.initializer&&we(this,ge,Ge).call(this,t.initializer,"Abstract property cannot have an initializer.");let k=We(b.AccessorKeyword,t),v=k?f?P.TSAbstractAccessorProperty:P.AccessorProperty:f?P.TSAbstractPropertyDefinition:P.PropertyDefinition,w=this.convertChild(t.name);return this.createNode(t,{type:v,key:w,accessibility:Ci(t),value:f?null:this.convertChild(t.initializer),computed:ca(t.name),static:We(b.StaticKeyword,t),readonly:We(b.ReadonlyKeyword,t),decorators:((h=sa(t))==null?void 0:h.map(J=>this.convertChild(J)))??[],declare:We(b.DeclareKeyword,t),override:We(b.OverrideKeyword,t),typeAnnotation:t.type&&this.convertTypeAnnotation(t.type,t),optional:(w.type===P.Literal||t.name.kind===b.Identifier||t.name.kind===b.ComputedPropertyName||t.name.kind===b.PrivateIdentifier)&&!!t.questionToken,definite:!!t.exclamationToken})}case b.GetAccessor:case b.SetAccessor:if(t.parent.kind===b.InterfaceDeclaration||t.parent.kind===b.TypeLiteral)return this.convertMethodSignature(t);case b.MethodDeclaration:{let f=this.createNode(t,{type:t.body?P.FunctionExpression:P.TSEmptyBodyFunctionExpression,id:null,generator:!!t.asteriskToken,expression:!1,async:We(b.AsyncKeyword,t),body:this.convertChild(t.body),declare:!1,range:[t.parameters.pos-1,t.end],params:[],returnType:t.type&&this.convertTypeAnnotation(t.type,t),typeParameters:t.typeParameters&&this.convertTSTypeParametersToTypeParametersDeclaration(t.typeParameters)});f.typeParameters&&this.fixParentLocation(f,f.typeParameters.range);let k;if(a.kind===b.ObjectLiteralExpression)f.params=t.parameters.map(v=>this.convertChild(v)),k=this.createNode(t,{type:P.Property,key:this.convertChild(t.name),value:f,computed:ca(t.name),optional:!!t.questionToken,method:t.kind===b.MethodDeclaration,shorthand:!1,kind:"init"});else{f.params=this.convertParameters(t.parameters);let v=We(b.AbstractKeyword,t)?P.TSAbstractMethodDefinition:P.MethodDefinition;k=this.createNode(t,{type:v,accessibility:Ci(t),computed:ca(t.name),decorators:((g=sa(t))==null?void 0:g.map(w=>this.convertChild(w)))??[],key:this.convertChild(t.name),kind:"method",optional:!!t.questionToken,override:We(b.OverrideKeyword,t),static:We(b.StaticKeyword,t),value:f})}return t.kind===b.GetAccessor?k.kind="get":t.kind===b.SetAccessor?k.kind="set":!k.static&&t.name.kind===b.StringLiteral&&t.name.text==="constructor"&&k.type!==P.Property&&(k.kind="constructor"),k}case b.Constructor:{let f=Fh(t),k=(f&&oa(f,t,this.ast))??t.getFirstToken(),v=this.createNode(t,{type:t.body?P.FunctionExpression:P.TSEmptyBodyFunctionExpression,async:!1,body:this.convertChild(t.body),declare:!1,expression:!1,generator:!1,id:null,params:this.convertParameters(t.parameters),range:[t.parameters.pos-1,t.end],returnType:t.type&&this.convertTypeAnnotation(t.type,t),typeParameters:t.typeParameters&&this.convertTSTypeParametersToTypeParametersDeclaration(t.typeParameters)});v.typeParameters&&this.fixParentLocation(v,v.typeParameters.range);let w=this.createNode(t,{type:P.Identifier,decorators:[],name:"constructor",optional:!1,range:[k.getStart(this.ast),k.end],typeAnnotation:void 0}),J=We(b.StaticKeyword,t);return this.createNode(t,{type:We(b.AbstractKeyword,t)?P.TSAbstractMethodDefinition:P.MethodDefinition,accessibility:Ci(t),computed:!1,decorators:[],optional:!1,key:w,kind:J?"method":"constructor",override:!1,static:J,value:v})}case b.FunctionExpression:return this.createNode(t,{type:P.FunctionExpression,async:We(b.AsyncKeyword,t),body:this.convertChild(t.body),declare:!1,expression:!1,generator:!!t.asteriskToken,id:this.convertChild(t.name),params:this.convertParameters(t.parameters),returnType:t.type&&this.convertTypeAnnotation(t.type,t),typeParameters:t.typeParameters&&this.convertTSTypeParametersToTypeParametersDeclaration(t.typeParameters)});case b.SuperKeyword:return this.createNode(t,{type:P.Super});case b.ArrayBindingPattern:return this.createNode(t,{type:P.ArrayPattern,decorators:[],elements:t.elements.map(f=>this.convertPattern(f)),optional:!1,typeAnnotation:void 0});case b.OmittedExpression:return null;case b.ObjectBindingPattern:return this.createNode(t,{type:P.ObjectPattern,decorators:[],optional:!1,properties:t.elements.map(f=>this.convertPattern(f)),typeAnnotation:void 0});case b.BindingElement:{if(a.kind===b.ArrayBindingPattern){let k=this.convertChild(t.name,a);return t.initializer?this.createNode(t,{type:P.AssignmentPattern,decorators:[],left:k,optional:!1,right:this.convertChild(t.initializer),typeAnnotation:void 0}):t.dotDotDotToken?this.createNode(t,{type:P.RestElement,argument:k,decorators:[],optional:!1,typeAnnotation:void 0,value:void 0}):k}let f;return t.dotDotDotToken?f=this.createNode(t,{type:P.RestElement,argument:this.convertChild(t.propertyName??t.name),decorators:[],optional:!1,typeAnnotation:void 0,value:void 0}):f=this.createNode(t,{type:P.Property,key:this.convertChild(t.propertyName??t.name),value:this.convertChild(t.name),computed:!!(t.propertyName&&t.propertyName.kind===b.ComputedPropertyName),method:!1,optional:!1,shorthand:!t.propertyName,kind:"init"}),t.initializer&&(f.value=this.createNode(t,{type:P.AssignmentPattern,decorators:[],left:this.convertChild(t.name),optional:!1,range:[t.name.getStart(this.ast),t.initializer.end],right:this.convertChild(t.initializer),typeAnnotation:void 0})),f}case b.ArrowFunction:return this.createNode(t,{type:P.ArrowFunctionExpression,generator:!1,id:null,params:this.convertParameters(t.parameters),body:this.convertChild(t.body),async:We(b.AsyncKeyword,t),expression:t.body.kind!==b.Block,returnType:t.type&&this.convertTypeAnnotation(t.type,t),typeParameters:t.typeParameters&&this.convertTSTypeParametersToTypeParametersDeclaration(t.typeParameters)});case b.YieldExpression:return this.createNode(t,{type:P.YieldExpression,delegate:!!t.asteriskToken,argument:this.convertChild(t.expression)});case b.AwaitExpression:return this.createNode(t,{type:P.AwaitExpression,argument:this.convertChild(t.expression)});case b.NoSubstitutionTemplateLiteral:return this.createNode(t,{type:P.TemplateLiteral,quasis:[this.createNode(t,{type:P.TemplateElement,value:{raw:this.ast.text.slice(t.getStart(this.ast)+1,t.end-1),cooked:t.text},tail:!0})],expressions:[]});case b.TemplateExpression:{let f=this.createNode(t,{type:P.TemplateLiteral,quasis:[this.convertChild(t.head)],expressions:[]});return t.templateSpans.forEach(k=>{f.expressions.push(this.convertChild(k.expression)),f.quasis.push(this.convertChild(k.literal))}),f}case b.TaggedTemplateExpression:return this.createNode(t,{type:P.TaggedTemplateExpression,typeArguments:t.typeArguments&&this.convertTypeArgumentsToTypeParameterInstantiation(t.typeArguments,t),tag:this.convertChild(t.tag),quasi:this.convertChild(t.template)});case b.TemplateHead:case b.TemplateMiddle:case b.TemplateTail:{let f=t.kind===b.TemplateTail;return this.createNode(t,{type:P.TemplateElement,value:{raw:this.ast.text.slice(t.getStart(this.ast)+1,t.end-(f?1:2)),cooked:t.text},tail:f})}case b.SpreadAssignment:case b.SpreadElement:return this.allowPattern?this.createNode(t,{type:P.RestElement,argument:this.convertPattern(t.expression),decorators:[],optional:!1,typeAnnotation:void 0,value:void 0}):this.createNode(t,{type:P.SpreadElement,argument:this.convertChild(t.expression)});case b.Parameter:{let f,k;return t.dotDotDotToken?f=k=this.createNode(t,{type:P.RestElement,argument:this.convertChild(t.name),decorators:[],optional:!1,typeAnnotation:void 0,value:void 0}):t.initializer?(f=this.convertChild(t.name),k=this.createNode(t,{type:P.AssignmentPattern,decorators:[],left:f,optional:!1,right:this.convertChild(t.initializer),typeAnnotation:void 0}),rr(t)&&(k.range[0]=f.range[0],k.loc=ni(k.range,this.ast))):f=k=this.convertChild(t.name,a),t.type&&(f.typeAnnotation=this.convertTypeAnnotation(t.type,t),this.fixParentLocation(f,f.typeAnnotation.range)),t.questionToken&&(t.questionToken.end>f.range[1]&&(f.range[1]=t.questionToken.end,f.loc.end=Js(f.range[1],this.ast)),f.optional=!0),rr(t)?this.createNode(t,{type:P.TSParameterProperty,accessibility:Ci(t),decorators:[],override:We(b.OverrideKeyword,t),parameter:k,readonly:We(b.ReadonlyKeyword,t),static:We(b.StaticKeyword,t)}):k}case b.ClassDeclaration:!t.name&&(!We(ce.ExportKeyword,t)||!We(ce.DefaultKeyword,t))&&we(this,ge,$t).call(this,t,"A class declaration without the 'default' modifier must have a name.");case b.ClassExpression:{let f=t.heritageClauses??[],k=t.kind===b.ClassDeclaration?P.ClassDeclaration:P.ClassExpression,v,w;for(let re of f){let{token:be,types:he}=re;he.length===0&&we(this,ge,$t).call(this,re,`'${_t(be)}' list cannot be empty.`),be===b.ExtendsKeyword?(v&&we(this,ge,$t).call(this,re,"'extends' clause already seen."),w&&we(this,ge,$t).call(this,re,"'extends' clause must precede 'implements' clause."),he.length>1&&we(this,ge,$t).call(this,he[1],"Classes can only extend a single class."),v??(v=re)):be===b.ImplementsKeyword&&(w&&we(this,ge,$t).call(this,re,"'implements' clause already seen."),w??(w=re))}let J=this.createNode(t,{type:k,abstract:We(b.AbstractKeyword,t),body:this.createNode(t,{type:P.ClassBody,body:t.members.filter(zh).map(re=>this.convertChild(re)),range:[t.members.pos-1,t.end]}),declare:We(b.DeclareKeyword,t),decorators:((E=sa(t))==null?void 0:E.map(re=>this.convertChild(re)))??[],id:this.convertChild(t.name),implements:(w==null?void 0:w.types.map(re=>this.convertChild(re)))??[],superClass:v!=null&&v.types[0]?this.convertChild(v.types[0].expression):null,superTypeArguments:void 0,typeParameters:t.typeParameters&&this.convertTSTypeParametersToTypeParametersDeclaration(t.typeParameters)});return(C=v==null?void 0:v.types[0])!=null&&C.typeArguments&&(J.superTypeArguments=this.convertTypeArgumentsToTypeParameterInstantiation(v.types[0].typeArguments,v.types[0])),this.fixExports(t,J)}case b.ModuleBlock:return this.createNode(t,{type:P.TSModuleBlock,body:this.convertBodyExpressions(t.statements,t)});case b.ImportDeclaration:{this.assertModuleSpecifier(t,!1);let f=this.createNode(t,we(this,ge,js).call(this,{type:P.ImportDeclaration,source:this.convertChild(t.moduleSpecifier),specifiers:[],importKind:"value",attributes:this.convertImportAttributes(t.attributes??t.assertClause)},"assertions","attributes",!0));if(t.importClause&&(t.importClause.isTypeOnly&&(f.importKind="type"),t.importClause.name&&f.specifiers.push(this.convertChild(t.importClause)),t.importClause.namedBindings))switch(t.importClause.namedBindings.kind){case b.NamespaceImport:f.specifiers.push(this.convertChild(t.importClause.namedBindings));break;case b.NamedImports:f.specifiers=f.specifiers.concat(t.importClause.namedBindings.elements.map(k=>this.convertChild(k)));break}return f}case b.NamespaceImport:return this.createNode(t,{type:P.ImportNamespaceSpecifier,local:this.convertChild(t.name)});case b.ImportSpecifier:return this.createNode(t,{type:P.ImportSpecifier,local:this.convertChild(t.name),imported:this.convertChild(t.propertyName??t.name),importKind:t.isTypeOnly?"type":"value"});case b.ImportClause:{let f=this.convertChild(t.name);return this.createNode(t,{type:P.ImportDefaultSpecifier,local:f,range:f.range})}case b.ExportDeclaration:return((l=t.exportClause)==null?void 0:l.kind)===b.NamedExports?(this.assertModuleSpecifier(t,!0),this.createNode(t,we(this,ge,js).call(this,{type:P.ExportNamedDeclaration,source:this.convertChild(t.moduleSpecifier),specifiers:t.exportClause.elements.map(f=>this.convertChild(f)),exportKind:t.isTypeOnly?"type":"value",declaration:null,attributes:this.convertImportAttributes(t.attributes??t.assertClause)},"assertions","attributes",!0))):(this.assertModuleSpecifier(t,!1),this.createNode(t,we(this,ge,js).call(this,{type:P.ExportAllDeclaration,source:this.convertChild(t.moduleSpecifier),exportKind:t.isTypeOnly?"type":"value",exported:((Z=t.exportClause)==null?void 0:Z.kind)===b.NamespaceExport?this.convertChild(t.exportClause.name):null,attributes:this.convertImportAttributes(t.attributes??t.assertClause)},"assertions","attributes",!0)));case b.ExportSpecifier:return this.createNode(t,{type:P.ExportSpecifier,local:this.convertChild(t.propertyName??t.name),exported:this.convertChild(t.name),exportKind:t.isTypeOnly?"type":"value"});case b.ExportAssignment:return t.isExportEquals?this.createNode(t,{type:P.TSExportAssignment,expression:this.convertChild(t.expression)}):this.createNode(t,{type:P.ExportDefaultDeclaration,declaration:this.convertChild(t.expression),exportKind:"value"});case b.PrefixUnaryExpression:case b.PostfixUnaryExpression:{let f=ti(t.operator);return f==="++"||f==="--"?(yd(t.operand)||we(this,ge,$t).call(this,t.operand,"Invalid left-hand side expression in unary operation"),this.createNode(t,{type:P.UpdateExpression,operator:f,prefix:t.kind===b.PrefixUnaryExpression,argument:this.convertChild(t.operand)})):this.createNode(t,{type:P.UnaryExpression,operator:f,prefix:t.kind===b.PrefixUnaryExpression,argument:this.convertChild(t.operand)})}case b.DeleteExpression:return this.createNode(t,{type:P.UnaryExpression,operator:"delete",prefix:!0,argument:this.convertChild(t.expression)});case b.VoidExpression:return this.createNode(t,{type:P.UnaryExpression,operator:"void",prefix:!0,argument:this.convertChild(t.expression)});case b.TypeOfExpression:return this.createNode(t,{type:P.UnaryExpression,operator:"typeof",prefix:!0,argument:this.convertChild(t.expression)});case b.TypeOperator:return this.createNode(t,{type:P.TSTypeOperator,operator:ti(t.operator),typeAnnotation:this.convertChild(t.type)});case b.BinaryExpression:{if(Vh(t.operatorToken)){let k=this.createNode(t,{type:P.SequenceExpression,expressions:[]}),v=this.convertChild(t.left);return v.type===P.SequenceExpression&&t.left.kind!==b.ParenthesizedExpression?k.expressions=k.expressions.concat(v.expressions):k.expressions.push(v),k.expressions.push(this.convertChild(t.right)),k}let f=Wh(t.operatorToken);return this.allowPattern&&f.type===P.AssignmentExpression?this.createNode(t,{type:P.AssignmentPattern,decorators:[],left:this.convertPattern(t.left,t),optional:!1,right:this.convertChild(t.right),typeAnnotation:void 0}):this.createNode(t,{...f,left:this.converter(t.left,t,f.type===P.AssignmentExpression),right:this.convertChild(t.right)})}case b.PropertyAccessExpression:{let f=this.convertChild(t.expression),k=this.convertChild(t.name),w=this.createNode(t,{type:P.MemberExpression,object:f,property:k,computed:!1,optional:t.questionDotToken!==void 0});return this.convertChainExpression(w,t)}case b.ElementAccessExpression:{let f=this.convertChild(t.expression),k=this.convertChild(t.argumentExpression),w=this.createNode(t,{type:P.MemberExpression,object:f,property:k,computed:!0,optional:t.questionDotToken!==void 0});return this.convertChainExpression(w,t)}case b.CallExpression:{if(t.expression.kind===b.ImportKeyword)return t.arguments.length!==1&&t.arguments.length!==2&&we(this,ge,$t).call(this,t.arguments[2]??t,"Dynamic import requires exactly one or two arguments."),this.createNode(t,{type:P.ImportExpression,source:this.convertChild(t.arguments[0]),attributes:t.arguments[1]?this.convertChild(t.arguments[1]):null});let f=this.convertChild(t.expression),k=t.arguments.map(J=>this.convertChild(J)),v=t.typeArguments&&this.convertTypeArgumentsToTypeParameterInstantiation(t.typeArguments,t),w=this.createNode(t,{type:P.CallExpression,callee:f,arguments:k,optional:t.questionDotToken!==void 0,typeArguments:v});return this.convertChainExpression(w,t)}case b.NewExpression:{let f=t.typeArguments&&this.convertTypeArgumentsToTypeParameterInstantiation(t.typeArguments,t);return this.createNode(t,{type:P.NewExpression,arguments:t.arguments?t.arguments.map(k=>this.convertChild(k)):[],callee:this.convertChild(t.expression),typeArguments:f})}case b.ConditionalExpression:return this.createNode(t,{type:P.ConditionalExpression,test:this.convertChild(t.condition),consequent:this.convertChild(t.whenTrue),alternate:this.convertChild(t.whenFalse)});case b.MetaProperty:return this.createNode(t,{type:P.MetaProperty,meta:this.createNode(t.getFirstToken(),{type:P.Identifier,decorators:[],name:ti(t.keywordToken),optional:!1,typeAnnotation:void 0}),property:this.convertChild(t.name)});case b.Decorator:return this.createNode(t,{type:P.Decorator,expression:this.convertChild(t.expression)});case b.StringLiteral:return this.createNode(t,{type:P.Literal,value:a.kind===b.JsxAttribute?pd(t.text):t.text,raw:t.getText()});case b.NumericLiteral:return this.createNode(t,{type:P.Literal,value:Number(t.text),raw:t.getText()});case b.BigIntLiteral:{let f=Za(t,this.ast),k=this.ast.text.slice(f[0],f[1]),v=k.slice(0,-1).replace(/_/g,""),w=typeof BigInt<"u"?BigInt(v):null;return this.createNode(t,{type:P.Literal,raw:k,value:w,bigint:w==null?v:String(w),range:f})}case b.RegularExpressionLiteral:{let f=t.text.slice(1,t.text.lastIndexOf("/")),k=t.text.slice(t.text.lastIndexOf("/")+1),v=null;try{v=new RegExp(f,k)}catch{}return this.createNode(t,{type:P.Literal,value:v,raw:t.text,regex:{pattern:f,flags:k}})}case b.TrueKeyword:return this.createNode(t,{type:P.Literal,value:!0,raw:"true"});case b.FalseKeyword:return this.createNode(t,{type:P.Literal,value:!1,raw:"false"});case b.NullKeyword:return this.createNode(t,{type:P.Literal,value:null,raw:"null"});case b.EmptyStatement:return this.createNode(t,{type:P.EmptyStatement});case b.DebuggerStatement:return this.createNode(t,{type:P.DebuggerStatement});case b.JsxElement:return this.createNode(t,{type:P.JSXElement,openingElement:this.convertChild(t.openingElement),closingElement:this.convertChild(t.closingElement),children:t.children.map(f=>this.convertChild(f))});case b.JsxFragment:return this.createNode(t,{type:P.JSXFragment,openingFragment:this.convertChild(t.openingFragment),closingFragment:this.convertChild(t.closingFragment),children:t.children.map(f=>this.convertChild(f))});case b.JsxSelfClosingElement:return this.createNode(t,{type:P.JSXElement,openingElement:this.createNode(t,{type:P.JSXOpeningElement,typeArguments:t.typeArguments?this.convertTypeArgumentsToTypeParameterInstantiation(t.typeArguments,t):void 0,selfClosing:!0,name:this.convertJSXTagName(t.tagName,t),attributes:t.attributes.properties.map(f=>this.convertChild(f)),range:Za(t,this.ast)}),closingElement:null,children:[]});case b.JsxOpeningElement:return this.createNode(t,{type:P.JSXOpeningElement,typeArguments:t.typeArguments&&this.convertTypeArgumentsToTypeParameterInstantiation(t.typeArguments,t),selfClosing:!1,name:this.convertJSXTagName(t.tagName,t),attributes:t.attributes.properties.map(f=>this.convertChild(f))});case b.JsxClosingElement:return this.createNode(t,{type:P.JSXClosingElement,name:this.convertJSXTagName(t.tagName,t)});case b.JsxOpeningFragment:return this.createNode(t,{type:P.JSXOpeningFragment});case b.JsxClosingFragment:return this.createNode(t,{type:P.JSXClosingFragment});case b.JsxExpression:{let f=t.expression?this.convertChild(t.expression):this.createNode(t,{type:P.JSXEmptyExpression,range:[t.getStart(this.ast)+1,t.getEnd()-1]});return t.dotDotDotToken?this.createNode(t,{type:P.JSXSpreadChild,expression:f}):this.createNode(t,{type:P.JSXExpressionContainer,expression:f})}case b.JsxAttribute:return this.createNode(t,{type:P.JSXAttribute,name:this.convertJSXNamespaceOrIdentifier(t.name),value:this.convertChild(t.initializer)});case b.JsxText:{let f=t.getFullStart(),k=t.getEnd(),v=this.ast.text.slice(f,k);return this.createNode(t,{type:P.JSXText,value:pd(v),raw:v,range:[f,k]})}case b.JsxSpreadAttribute:return this.createNode(t,{type:P.JSXSpreadAttribute,argument:this.convertChild(t.expression)});case b.QualifiedName:return this.createNode(t,{type:P.TSQualifiedName,left:this.convertChild(t.left),right:this.convertChild(t.right)});case b.TypeReference:return this.createNode(t,{type:P.TSTypeReference,typeName:this.convertChild(t.typeName),typeArguments:t.typeArguments&&this.convertTypeArgumentsToTypeParameterInstantiation(t.typeArguments,t)});case b.TypeParameter:return this.createNode(t,{type:P.TSTypeParameter,name:this.convertChild(t.name),constraint:t.constraint&&this.convertChild(t.constraint),default:t.default?this.convertChild(t.default):void 0,in:We(b.InKeyword,t),out:We(b.OutKeyword,t),const:We(b.ConstKeyword,t)});case b.ThisType:return this.createNode(t,{type:P.TSThisType});case b.AnyKeyword:case b.BigIntKeyword:case b.BooleanKeyword:case b.NeverKeyword:case b.NumberKeyword:case b.ObjectKeyword:case b.StringKeyword:case b.SymbolKeyword:case b.UnknownKeyword:case b.VoidKeyword:case b.UndefinedKeyword:case b.IntrinsicKeyword:return this.createNode(t,{type:P[`TS${b[t.kind]}`]});case b.NonNullExpression:{let f=this.createNode(t,{type:P.TSNonNullExpression,expression:this.convertChild(t.expression)});return this.convertChainExpression(f,t)}case b.TypeLiteral:return this.createNode(t,{type:P.TSTypeLiteral,members:t.members.map(f=>this.convertChild(f))});case b.ArrayType:return this.createNode(t,{type:P.TSArrayType,elementType:this.convertChild(t.elementType)});case b.IndexedAccessType:return this.createNode(t,{type:P.TSIndexedAccessType,objectType:this.convertChild(t.objectType),indexType:this.convertChild(t.indexType)});case b.ConditionalType:return this.createNode(t,{type:P.TSConditionalType,checkType:this.convertChild(t.checkType),extendsType:this.convertChild(t.extendsType),trueType:this.convertChild(t.trueType),falseType:this.convertChild(t.falseType)});case b.TypeQuery:return this.createNode(t,{type:P.TSTypeQuery,exprName:this.convertChild(t.exprName),typeArguments:t.typeArguments&&this.convertTypeArgumentsToTypeParameterInstantiation(t.typeArguments,t)});case b.MappedType:return t.members&&t.members.length>0&&we(this,ge,$t).call(this,t.members[0],"A mapped type may not declare properties or methods."),this.createNode(t,we(this,ge,bd).call(this,{type:P.TSMappedType,constraint:this.convertChild(t.typeParameter.constraint),key:this.convertChild(t.typeParameter.name),nameType:this.convertChild(t.nameType)??null,optional:t.questionToken&&(t.questionToken.kind===b.QuestionToken||ti(t.questionToken.kind)),readonly:t.readonlyToken&&(t.readonlyToken.kind===b.ReadonlyKeyword||ti(t.readonlyToken.kind)),typeAnnotation:t.type&&this.convertChild(t.type)},"typeParameter","'constraint' and 'key'",this.convertChild(t.typeParameter)));case b.ParenthesizedExpression:return this.convertChild(t.expression,a);case b.TypeAliasDeclaration:{let f=this.createNode(t,{type:P.TSTypeAliasDeclaration,declare:We(b.DeclareKeyword,t),id:this.convertChild(t.name),typeAnnotation:this.convertChild(t.type),typeParameters:t.typeParameters&&this.convertTSTypeParametersToTypeParametersDeclaration(t.typeParameters)});return this.fixExports(t,f)}case b.MethodSignature:return this.convertMethodSignature(t);case b.PropertySignature:{let{initializer:f}=t;return f&&we(this,ge,Ge).call(this,f,"A property signature cannot have an initializer."),this.createNode(t,{type:P.TSPropertySignature,accessibility:Ci(t),computed:ca(t.name),key:this.convertChild(t.name),optional:fd(t),readonly:We(b.ReadonlyKeyword,t),static:We(b.StaticKeyword,t),typeAnnotation:t.type&&this.convertTypeAnnotation(t.type,t)})}case b.IndexSignature:return this.createNode(t,{type:P.TSIndexSignature,accessibility:Ci(t),parameters:t.parameters.map(f=>this.convertChild(f)),readonly:We(b.ReadonlyKeyword,t),static:We(b.StaticKeyword,t),typeAnnotation:t.type&&this.convertTypeAnnotation(t.type,t)});case b.ConstructorType:return this.createNode(t,{type:P.TSConstructorType,abstract:We(b.AbstractKeyword,t),params:this.convertParameters(t.parameters),returnType:t.type&&this.convertTypeAnnotation(t.type,t),typeParameters:t.typeParameters&&this.convertTSTypeParametersToTypeParametersDeclaration(t.typeParameters)});case b.FunctionType:{let{modifiers:f}=t;f&&we(this,ge,Ge).call(this,f[0],"A function type cannot have modifiers.")}case b.ConstructSignature:case b.CallSignature:{let f=t.kind===b.ConstructSignature?P.TSConstructSignatureDeclaration:t.kind===b.CallSignature?P.TSCallSignatureDeclaration:P.TSFunctionType;return this.createNode(t,{type:f,params:this.convertParameters(t.parameters),returnType:t.type&&this.convertTypeAnnotation(t.type,t),typeParameters:t.typeParameters&&this.convertTSTypeParametersToTypeParametersDeclaration(t.typeParameters)})}case b.ExpressionWithTypeArguments:{let f=a.kind,k=f===b.InterfaceDeclaration?P.TSInterfaceHeritage:f===b.HeritageClause?P.TSClassImplements:P.TSInstantiationExpression;return this.createNode(t,{type:k,expression:this.convertChild(t.expression),typeArguments:t.typeArguments&&this.convertTypeArgumentsToTypeParameterInstantiation(t.typeArguments,t)})}case b.InterfaceDeclaration:{let f=t.heritageClauses??[],k=[];for(let w of f){w.token!==b.ExtendsKeyword&&we(this,ge,Ge).call(this,w,w.token===b.ImplementsKeyword?"Interface declaration cannot have 'implements' clause.":"Unexpected token.");for(let J of w.types)k.push(this.convertChild(J,t))}let v=this.createNode(t,{type:P.TSInterfaceDeclaration,body:this.createNode(t,{type:P.TSInterfaceBody,body:t.members.map(w=>this.convertChild(w)),range:[t.members.pos-1,t.end]}),declare:We(b.DeclareKeyword,t),extends:k,id:this.convertChild(t.name),typeParameters:t.typeParameters&&this.convertTSTypeParametersToTypeParametersDeclaration(t.typeParameters)});return this.fixExports(t,v)}case b.TypePredicate:{let f=this.createNode(t,{type:P.TSTypePredicate,asserts:t.assertsModifier!==void 0,parameterName:this.convertChild(t.parameterName),typeAnnotation:null});return t.type&&(f.typeAnnotation=this.convertTypeAnnotation(t.type,t),f.typeAnnotation.loc=f.typeAnnotation.typeAnnotation.loc,f.typeAnnotation.range=f.typeAnnotation.typeAnnotation.range),f}case b.ImportType:{let f=Za(t,this.ast);if(t.isTypeOf){let v=oa(t.getFirstToken(),t,this.ast);f[0]=v.getStart(this.ast)}let k=this.createNode(t,{type:P.TSImportType,argument:this.convertChild(t.argument),qualifier:this.convertChild(t.qualifier),typeArguments:t.typeArguments?this.convertTypeArgumentsToTypeParameterInstantiation(t.typeArguments,t):null,range:f});return t.isTypeOf?this.createNode(t,{type:P.TSTypeQuery,exprName:k,typeArguments:void 0}):k}case b.EnumDeclaration:{let f=t.members.map(v=>this.convertChild(v)),k=this.createNode(t,we(this,ge,bd).call(this,{type:P.TSEnumDeclaration,body:this.createNode(t,{type:P.TSEnumBody,members:f,range:[t.members.pos-1,t.end]}),const:We(b.ConstKeyword,t),declare:We(b.DeclareKeyword,t),id:this.convertChild(t.name)},"members","'body.members'",t.members.map(v=>this.convertChild(v))));return this.fixExports(t,k)}case b.EnumMember:return this.createNode(t,{type:P.TSEnumMember,computed:t.name.kind===ce.ComputedPropertyName,id:this.convertChild(t.name),initializer:t.initializer&&this.convertChild(t.initializer)});case b.ModuleDeclaration:{let f=We(b.DeclareKeyword,t),k=this.createNode(t,{type:P.TSModuleDeclaration,...(()=>{if(t.flags&Xt.GlobalAugmentation){let w=this.convertChild(t.name),J=this.convertChild(t.body);return(J==null||J.type===P.TSModuleDeclaration)&&we(this,ge,$t).call(this,t.body??t,"Expected a valid module body"),w.type!==P.Identifier&&we(this,ge,$t).call(this,t.name,"global module augmentation must have an Identifier id"),{kind:"global",body:J,declare:!1,global:!1,id:w}}if(!(t.flags&Xt.Namespace)){let w=this.convertChild(t.body);return{kind:"module",...w!=null?{body:w}:{},declare:!1,global:!1,id:this.convertChild(t.name)}}t.body==null&&we(this,ge,$t).call(this,t,"Expected a module body"),t.name.kind!==ce.Identifier&&we(this,ge,$t).call(this,t.name,"`namespace`s must have an Identifier id");let v=this.createNode(t.name,{decorators:[],name:t.name.text,optional:!1,range:[t.name.getStart(this.ast),t.name.getEnd()],type:P.Identifier,typeAnnotation:void 0});for(;t.body&&ei(t.body)&&t.body.name;){t=t.body,f||(f=We(b.DeclareKeyword,t));let w=t.name,J=this.createNode(w,{decorators:[],name:w.text,optional:!1,range:[w.getStart(this.ast),w.getEnd()],type:P.Identifier,typeAnnotation:void 0});v=this.createNode(w,{left:v,right:J,range:[v.range[0],J.range[1]],type:P.TSQualifiedName})}return{kind:"namespace",body:this.convertChild(t.body),declare:!1,global:!1,id:v}})()});return k.declare=f,t.flags&Xt.GlobalAugmentation&&(k.global=!0),this.fixExports(t,k)}case b.ParenthesizedType:return this.convertChild(t.type);case b.UnionType:return this.createNode(t,{type:P.TSUnionType,types:t.types.map(f=>this.convertChild(f))});case b.IntersectionType:return this.createNode(t,{type:P.TSIntersectionType,types:t.types.map(f=>this.convertChild(f))});case b.AsExpression:return this.createNode(t,{type:P.TSAsExpression,expression:this.convertChild(t.expression),typeAnnotation:this.convertChild(t.type)});case b.InferType:return this.createNode(t,{type:P.TSInferType,typeParameter:this.convertChild(t.typeParameter)});case b.LiteralType:return t.literal.kind===b.NullKeyword?this.createNode(t.literal,{type:P.TSNullKeyword}):this.createNode(t,{type:P.TSLiteralType,literal:this.convertChild(t.literal)});case b.TypeAssertionExpression:return this.createNode(t,{type:P.TSTypeAssertion,typeAnnotation:this.convertChild(t.type),expression:this.convertChild(t.expression)});case b.ImportEqualsDeclaration:return this.fixExports(t,this.createNode(t,{type:P.TSImportEqualsDeclaration,id:this.convertChild(t.name),importKind:t.isTypeOnly?"type":"value",moduleReference:this.convertChild(t.moduleReference)}));case b.ExternalModuleReference:return t.expression.kind!==b.StringLiteral&&we(this,ge,Ge).call(this,t.expression,"String literal expected."),this.createNode(t,{type:P.TSExternalModuleReference,expression:this.convertChild(t.expression)});case b.NamespaceExportDeclaration:return this.createNode(t,{type:P.TSNamespaceExportDeclaration,id:this.convertChild(t.name)});case b.AbstractKeyword:return this.createNode(t,{type:P.TSAbstractKeyword});case b.TupleType:{let f=t.elements.map(k=>this.convertChild(k));return this.createNode(t,{type:P.TSTupleType,elementTypes:f})}case b.NamedTupleMember:{let f=this.createNode(t,{type:P.TSNamedTupleMember,elementType:this.convertChild(t.type,t),label:this.convertChild(t.name,t),optional:t.questionToken!=null});return t.dotDotDotToken?(f.range[0]=f.label.range[0],f.loc.start=f.label.loc.start,this.createNode(t,{type:P.TSRestType,typeAnnotation:f})):f}case b.OptionalType:return this.createNode(t,{type:P.TSOptionalType,typeAnnotation:this.convertChild(t.type)});case b.RestType:return this.createNode(t,{type:P.TSRestType,typeAnnotation:this.convertChild(t.type)});case b.TemplateLiteralType:{let f=this.createNode(t,{type:P.TSTemplateLiteralType,quasis:[this.convertChild(t.head)],types:[]});return t.templateSpans.forEach(k=>{f.types.push(this.convertChild(k.type)),f.quasis.push(this.convertChild(k.literal))}),f}case b.ClassStaticBlockDeclaration:return this.createNode(t,{type:P.StaticBlock,body:this.convertBodyExpressions(t.body.statements,t)});case b.AssertEntry:case b.ImportAttribute:return this.createNode(t,{type:P.ImportAttribute,key:this.convertChild(t.name),value:this.convertChild(t.value)});case b.SatisfiesExpression:return this.createNode(t,{type:P.TSSatisfiesExpression,expression:this.convertChild(t.expression),typeAnnotation:this.convertChild(t.type)});default:return this.deeplyCopy(t)}}};ge=new WeakSet,n0=function(t){if(!this.options.allowInvalidAST){$h(t)&&we(this,ge,Ge).call(this,t.illegalDecorators[0],"Decorators are not valid here.");for(let a of sa(t,!0)??[])e0(t)||(Cs(t)&&!hd(t.body)?we(this,ge,Ge).call(this,a,"A decorator can only decorate a method implementation, not an overload."):we(this,ge,Ge).call(this,a,"Decorators are not valid here."));for(let a of rr(t,!0)??[]){if(a.kind!==b.ReadonlyKeyword&&((t.kind===b.PropertySignature||t.kind===b.MethodSignature)&&we(this,ge,Ge).call(this,a,`'${_t(a.kind)}' modifier cannot appear on a type member`),t.kind===b.IndexSignature&&(a.kind!==b.StaticKeyword||!Ei(t.parent))&&we(this,ge,Ge).call(this,a,`'${_t(a.kind)}' modifier cannot appear on an index signature`)),a.kind!==b.InKeyword&&a.kind!==b.OutKeyword&&a.kind!==b.ConstKeyword&&t.kind===b.TypeParameter&&we(this,ge,Ge).call(this,a,`'${_t(a.kind)}' modifier cannot appear on a type parameter`),(a.kind===b.InKeyword||a.kind===b.OutKeyword)&&(t.kind!==b.TypeParameter||!(Ms(t.parent)||Ei(t.parent)||Nl(t.parent)))&&we(this,ge,Ge).call(this,a,`'${_t(a.kind)}' modifier can only appear on a type parameter of a class, interface or type alias`),a.kind===b.ReadonlyKeyword&&t.kind!==b.PropertyDeclaration&&t.kind!==b.PropertySignature&&t.kind!==b.IndexSignature&&t.kind!==b.Parameter&&we(this,ge,Ge).call(this,a,"'readonly' modifier can only appear on a property declaration or index signature."),a.kind===b.DeclareKeyword&&Ei(t.parent)&&!Ha(t)&&we(this,ge,Ge).call(this,a,`'${_t(a.kind)}' modifier cannot appear on class elements of this kind.`),a.kind===b.DeclareKeyword&&Ka(t)){let o=Ll(t.declarationList);(o==="using"||o==="await using")&&we(this,ge,Ge).call(this,a,`'declare' modifier cannot appear on a '${o}' declaration.`)}if(a.kind===b.AbstractKeyword&&t.kind!==b.ClassDeclaration&&t.kind!==b.ConstructorType&&t.kind!==b.MethodDeclaration&&t.kind!==b.PropertyDeclaration&&t.kind!==b.GetAccessor&&t.kind!==b.SetAccessor&&we(this,ge,Ge).call(this,a,`'${_t(a.kind)}' modifier can only appear on a class, method, or property declaration.`),(a.kind===b.StaticKeyword||a.kind===b.PublicKeyword||a.kind===b.ProtectedKeyword||a.kind===b.PrivateKeyword)&&(t.parent.kind===b.ModuleBlock||t.parent.kind===b.SourceFile)&&we(this,ge,Ge).call(this,a,`'${_t(a.kind)}' modifier cannot appear on a module or namespace element.`),a.kind===b.AccessorKeyword&&t.kind!==b.PropertyDeclaration&&we(this,ge,Ge).call(this,a,"'accessor' modifier can only appear on a property declaration."),a.kind===b.AsyncKeyword&&t.kind!==b.MethodDeclaration&&t.kind!==b.FunctionDeclaration&&t.kind!==b.FunctionExpression&&t.kind!==b.ArrowFunction&&we(this,ge,Ge).call(this,a,"'async' modifier cannot be used here."),t.kind===b.Parameter&&(a.kind===b.StaticKeyword||a.kind===b.ExportKeyword||a.kind===b.DeclareKeyword||a.kind===b.AsyncKeyword)&&we(this,ge,Ge).call(this,a,`'${_t(a.kind)}' modifier cannot appear on a parameter.`),a.kind===b.PublicKeyword||a.kind===b.ProtectedKeyword||a.kind===b.PrivateKeyword)for(let o of rr(t)??[])o!==a&&(o.kind===b.PublicKeyword||o.kind===b.ProtectedKeyword||o.kind===b.PrivateKeyword)&&we(this,ge,Ge).call(this,o,"Accessibility modifier already seen.");if(t.kind===b.Parameter&&(a.kind===b.PublicKeyword||a.kind===b.PrivateKeyword||a.kind===b.ProtectedKeyword||a.kind===b.ReadonlyKeyword||a.kind===b.OverrideKeyword)){let o=Zh(t);o.kind===b.Constructor&&hd(o.body)||we(this,ge,Ge).call(this,a,"A parameter property is only allowed in a constructor implementation.")}}}},$t=function(t,a){this.options.allowInvalidAST||we(this,ge,Ge).call(this,t,a)},js=function(t,a,o,h=!1){let g=h;return Object.defineProperty(t,a,{configurable:!0,get:this.options.suppressDeprecatedPropertyWarnings?()=>t[o]:()=>(g||((void 0)(`The '${a}' property is deprecated on ${t.type} nodes. Use '${o}' instead. See https://typescript-eslint.io/troubleshooting/faqs/general#the-key-property-is-deprecated-on-type-nodes-use-key-instead-warnings.`,"DeprecationWarning"),g=!0),t[o]),set(E){Object.defineProperty(t,a,{enumerable:!0,writable:!0,value:E})}}),t},bd=function(t,a,o,h){let g=!1;return Object.defineProperty(t,a,{configurable:!0,get:this.options.suppressDeprecatedPropertyWarnings?()=>h:()=>(g||((void 0)(`The '${a}' property is deprecated on ${t.type} nodes. Use ${o} instead. See https://typescript-eslint.io/troubleshooting/faqs/general#the-key-property-is-deprecated-on-type-nodes-use-key-instead-warnings.`,"DeprecationWarning"),g=!0),h),set(E){Object.defineProperty(t,a,{enumerable:!0,writable:!0,value:E})}}),t},Ge=function(t,a){let o,h;throw typeof t=="number"?o=h=t:(o=t.getStart(this.ast),h=t.getEnd()),md(a,this.ast,o,h)},r0=function(t){ph(t)&&t.flags&Xt.Using&&we(this,ge,Ge).call(this,t,"The left-hand side of a 'for...in' statement cannot be a 'using' declaration.")};var Td=(e,t,a)=>{if(!t.has(e))throw TypeError("Cannot "+a)},tt=(e,t,a)=>(Td(e,t,"read from private field"),a?a.call(e):t.get(e)),Di=(e,t,a)=>{if(t.has(e))throw TypeError("Cannot add the same private member more than once");t instanceof WeakSet?t.add(e):t.set(e,a)},vn=(e,t,a,o)=>(Td(e,t,"write to private field"),o?o.call(e,a):t.set(e,a),a),s0=(e,t,a)=>(Td(e,t,"access private method"),a);function Wv(e,t,a=e.getSourceFile()){let o=[];for(;;){if(Df(e.kind))t(e);else if(e.kind!==ce.JSDocComment){let h=e.getChildren(a);if(h.length===1){e=h[0];continue}for(let g=h.length-1;g>=0;--g)o.push(h[g])}if(o.length===0)break;e=o.pop()}}function Gv(e){switch(e.kind){case ce.CloseBraceToken:return e.parent.kind!==ce.JsxExpression||!xd(e.parent.parent);case ce.GreaterThanToken:switch(e.parent.kind){case ce.JsxOpeningElement:return e.end!==e.parent.end;case ce.JsxOpeningFragment:return!1;case ce.JsxSelfClosingElement:return e.end!==e.parent.end||!xd(e.parent.parent);case ce.JsxClosingElement:case ce.JsxClosingFragment:return!xd(e.parent.parent.parent)}}return!0}function xd(e){return e.kind===ce.JsxElement||e.kind===ce.JsxFragment}function o0(e,t,a=e.getSourceFile()){let o=a.text,h=a.languageVariant!==bl.JSX;return Wv(e,E=>{if(E.pos!==E.end&&(E.kind!==ce.JsxText&&u1(o,E.pos===0?(Tf(o)??"").length:E.pos,g),h||Gv(E)))return p1(o,E.end,g)},a);function g(E,C,l){t(o,{end:C,kind:l,pos:E})}}function Bl(e,...t){if(e===void 0)return!1;for(let a of e)if(t.includes(a.kind))return!0;return!1}var[CT,DT]=qm.split(".").map(e=>Number.parseInt(e,10));var PT=zt.Intrinsic??zt.Any|zt.Unknown|zt.String|zt.Number|zt.BigInt|zt.Boolean|zt.BooleanLiteral|zt.ESSymbol|zt.Void|zt.Undefined|zt.Null|zt.Never|zt.NonPrimitive;function Yv(e){return Ns(e)}function Hv(e){return Ml(e)}function Xv(e){return xl(e)}function $v(e){switch(e.parent.kind){case ce.TypeParameter:case ce.InterfaceDeclaration:case ce.TypeAliasDeclaration:return 2;case ce.ClassDeclaration:case ce.ClassExpression:return 6;case ce.EnumDeclaration:return 7;case ce.NamespaceImport:case ce.ImportClause:return 15;case ce.ImportEqualsDeclaration:case ce.ImportSpecifier:return e.parent.name===e?15:void 0;case ce.ModuleDeclaration:return 1;case ce.Parameter:if(e.parent.parent.kind===ce.IndexSignature||Yv(e)===ce.ThisKeyword)return;case ce.BindingElement:case ce.VariableDeclaration:return e.parent.name===e?4:void 0;case ce.FunctionDeclaration:case ce.FunctionExpression:return 4}}var la,Qv=class{constructor(e){this.global=e,Di(this,la,void 0),this.namespaceScopes=void 0,this.uses=[],this.variables=new Map}addUse(e){this.uses.push(e)}addUseToParent(e){}addVariable(e,t,a,o,h){let g=this.getDestinationScope(a).getVariables(),E={declaration:t,domain:h,exported:o},C=g.get(e);C===void 0?g.set(e,{declarations:[E],domain:h,uses:[]}):(C.domain|=h,C.declarations.push(E))}applyUse(e,t=this.variables){let a=t.get(e.location.text);return a===void 0||!(a.domain&e.domain)?!1:(a.uses.push(e),!0)}applyUses(){for(let e of this.uses)this.applyUse(e)||this.addUseToParent(e);this.uses=[]}createOrReuseEnumScope(e,t){let a;return tt(this,la)===void 0?vn(this,la,new Map):a=tt(this,la).get(e),a===void 0&&(a=new Kv(this),tt(this,la).set(e,a)),a}createOrReuseNamespaceScope(e,t,a,o){let h;return this.namespaceScopes===void 0?this.namespaceScopes=new Map:h=this.namespaceScopes.get(e),h===void 0?(h=new n4(a,o,this),this.namespaceScopes.set(e,h)):h.refresh(a,o),h}end(e){this.namespaceScopes!==void 0&&this.namespaceScopes.forEach(t=>t.finish(e)),this.namespaceScopes=vn(this,la,void 0),this.applyUses(),this.variables.forEach(t=>{for(let a of t.declarations){let o={declarations:[],domain:a.domain,exported:a.exported,inGlobalScope:this.global,uses:[]};for(let h of t.declarations)h.domain&a.domain&&o.declarations.push(h.declaration);for(let h of t.uses)h.domain&a.domain&&o.uses.push(h);e(o,a.declaration,this)}})}getFunctionScope(){return this}getVariables(){return this.variables}markExported(e){}};la=new WeakMap;var pa=class extends Qv{constructor(e,t){super(!1),this.parent=e,this.boundary=t}addUseToParent(e){return this.parent.addUse(e,this)}getDestinationScope(e){return this.boundary&e?this:this.parent.getDestinationScope(e)}},Kv=class extends pa{constructor(e){super(e,1)}end(){this.applyUses()}},Zv,e4,t4;Zv=new WeakMap;e4=new WeakMap;t4=new WeakMap;var ri,ua,e_,jr,n4=class extends pa{constructor(e,t,a){super(a,1),Di(this,ri,void 0),Di(this,ua,void 0),Di(this,e_,void 0),Di(this,jr,new pa(this,1)),vn(this,ri,e),vn(this,e_,t)}addUse(e,t){if(t!==tt(this,jr))return tt(this,jr).addUse(e);this.uses.push(e)}createOrReuseEnumScope(e,t){return!t&&(!tt(this,ri)||tt(this,e_))?tt(this,jr).createOrReuseEnumScope(e,t):super.createOrReuseEnumScope(e,t)}createOrReuseNamespaceScope(e,t,a,o){return!t&&(!tt(this,ri)||tt(this,e_))?tt(this,jr).createOrReuseNamespaceScope(e,t,a||tt(this,ri),o):super.createOrReuseNamespaceScope(e,t,a||tt(this,ri),o)}end(e){tt(this,jr).end((t,a,o)=>{if(o!==tt(this,jr)||!t.exported&&(!tt(this,ri)||tt(this,ua)!==void 0&&!tt(this,ua).has(a.text)))return e(t,a,o);let h=this.variables.get(a.text);if(h===void 0)this.variables.set(a.text,{declarations:t.declarations.map(a0),domain:t.domain,uses:[...t.uses]});else{e:for(let g of t.declarations)for(let E of h.declarations){if(E.declaration===g)continue e;h.declarations.push(a0(g))}h.domain|=t.domain;for(let g of t.uses)h.uses.includes(g)||h.uses.push(g)}}),this.applyUses(),vn(this,jr,new pa(this,1))}finish(e){return super.end(e)}getDestinationScope(){return tt(this,jr)}markExported(e){tt(this,ua)===void 0&&vn(this,ua,new Set),tt(this,ua).add(e.text)}refresh(e,t){vn(this,ri,e),vn(this,e_,t)}};ri=new WeakMap;ua=new WeakMap;e_=new WeakMap;jr=new WeakMap;function a0(e){return{declaration:e,domain:$v(e),exported:!0}}var c0=class extends pa{constructor(e){super(e,1)}beginBody(){this.applyUses()}},Ls,t_,r4=class extends pa{constructor(e,t,a){super(a,1),Di(this,Ls,void 0),Di(this,t_,void 0),vn(this,t_,e),vn(this,Ls,t)}addUse(e,t){if(t!==this.innerScope)return this.innerScope.addUse(e);if(e.domain&tt(this,Ls)&&e.location.text===tt(this,t_).text)this.uses.push(e);else return this.parent.addUse(e,this)}end(e){return this.innerScope.end(e),e({declarations:[tt(this,t_)],domain:tt(this,Ls),exported:!1,inGlobalScope:!1,uses:this.uses},tt(this,t_),this)}getDestinationScope(){return this.innerScope}getFunctionScope(){return this.innerScope}};Ls=new WeakMap;t_=new WeakMap;var i4=class extends r4{constructor(e,t){super(e,4,t),this.innerScope=new c0(this)}beginBody(){return this.innerScope.beginBody()}},a4;a4=new WeakMap;var Ul,_4=class extends pa{constructor(e){super(e,8),Di(this,Ul,0)}addUse(e){return tt(this,Ul)===2?void this.uses.push(e):this.parent.addUse(e,this)}updateState(e){vn(this,Ul,e)}};Ul=new WeakMap;var s4,In,l0,u0,o4,c4,p0,f0,l4,u4,p4,f4,d4,m4;s4=new WeakMap;In=new WeakMap;l0=new WeakSet;u0=function(e,t,a){if(e.kind===ce.Identifier)return tt(this,In).addVariable(e.text,e,t?3:1,a,4);d0(e,o=>{tt(this,In).addVariable(o.name.text,o.name,t?3:1,a,4)})};o4=new WeakSet;c4=function(e,t,a){let o=tt(this,In),h=vn(this,In,new _4(o));t(e.checkType),h.updateState(1),t(e.extendsType),h.updateState(2),t(e.trueType),h.updateState(3),t(e.falseType),h.end(a),vn(this,In,o)};p0=new WeakSet;f0=function(e,t,a){e.name!==void 0&&tt(this,In).addVariable(e.name.text,e.name,t?3:1,Bl(e.modifiers,ce.ExportKeyword),a)};l4=new WeakSet;u4=function(e,t,a){var g;Hv(e)&&((g=Xv(e))==null||g.forEach(t));let o=tt(this,In);e.kind===ce.FunctionDeclaration&&s0(this,p0,f0).call(this,e,!1,4);let h=vn(this,In,e.kind===ce.FunctionExpression&&e.name!==void 0?new i4(e.name,o):new c0(o));e.name!==void 0&&t(e.name),e.typeParameters!==void 0&&e.typeParameters.forEach(t),e.parameters.forEach(t),e.type!==void 0&&t(e.type),e.body!==void 0&&(h.beginBody(),t(e.body)),h.end(a),vn(this,In,o)};p4=new WeakSet;f4=function(e,t){if(e.flags&Xt.GlobalAugmentation)return t(e,tt(this,In).createOrReuseNamespaceScope("-global",!1,!0,!1));if(e.name.kind===ce.Identifier){let a=h4(e);tt(this,In).addVariable(e.name.text,e.name,1,a,5);let o=Bl(e.modifiers,ce.DeclareKeyword);return t(e,tt(this,In).createOrReuseNamespaceScope(e.name.text,a,o,o&&_0(e)))}return t(e,tt(this,In).createOrReuseNamespaceScope(`"${e.name.text}"`,!1,!0,_0(e)))};d4=new WeakSet;m4=function(e){let t=g4(e),a=e.parent.kind===ce.VariableStatement&&Bl(e.parent.modifiers,ce.ExportKeyword);for(let o of e.declarations)s0(this,l0,u0).call(this,o.name,t,a)};function h4(e){return e.parent.kind===ce.ModuleDeclaration||Bl(e.modifiers,ce.ExportKeyword)}function _0(e){return e.body===void 0||e.body.kind!==ce.ModuleBlock?!1:y4(e.body)}function y4(e){for(let t of e.statements)if(t.kind===ce.ExportDeclaration||t.kind===ce.ExportAssignment)return!0;return!1}function g4(e){return(e.flags&Xt.BlockScoped)!==0}function d0(e,t){for(let a of e.elements){if(a.kind!==ce.BindingElement)continue;let o;if(a.name.kind===ce.Identifier?o=t(a):o=d0(a.name,t),o)return o}}function m0(e,t){let a=[];return o0(e,(o,h)=>{let g=h.kind===ce.SingleLineCommentTrivia?Ft.Line:Ft.Block,E=[h.pos,h.end],C=ni(E,e),l=E[0]+2,Z=h.kind===ce.SingleLineCommentTrivia?E[1]-l:E[1]-l-2;a.push({type:g,value:t.slice(l,l+Z),range:E,loc:C})},e),a}var h0=()=>{};function y0(e,t,a){let{parseDiagnostics:o}=e;if(o.length)throw vd(o[0]);let h=new Rl(e,{allowInvalidAST:t.allowInvalidAST,errorOnUnknownASTType:t.errorOnUnknownASTType,shouldPreserveNodeMaps:a,suppressDeprecatedPropertyWarnings:t.suppressDeprecatedPropertyWarnings}),g=h.convertProgram();(!t.range||!t.loc)&&h0(g,{enter:C=>{t.range||delete C.range,t.loc||delete C.loc}}),t.tokens&&(g.tokens=Xh(e)),t.comment&&(g.comments=m0(e,t.codeFullText));let E=h.getASTMaps();return{estree:g,astMaps:E}}function ql(e){if(typeof e!="object"||e==null)return!1;let t=e;return t.kind===ce.SourceFile&&typeof t.getFullText=="function"}var k4=function(e){return e&&e.__esModule?e:{default:e}};var E4=k4({extname:e=>"."+e.split(".").pop()});function b0(e,t){switch(E4.default.extname(e).toLowerCase()){case gr.Js:case gr.Cjs:case gr.Mjs:return Jr.JS;case gr.Jsx:return Jr.JSX;case gr.Ts:case gr.Cts:case gr.Mts:return Jr.TS;case gr.Tsx:return Jr.TSX;case gr.Json:return Jr.JSON;default:return t?Jr.TSX:Jr.TS}}var C4={default:Ja},D4=(0,C4.default)("typescript-eslint:typescript-estree:createSourceFile");function v0(e){return D4("Getting AST without type information in %s mode for: %s",e.jsx?"TSX":"TS",e.filePath),ql(e.code)?e.code:Ah(e.filePath,e.codeFullText,{languageVersion:Ps.Latest,jsDocParsingMode:e.jsDocParsingMode},!0,b0(e.filePath,e.jsx))}var x0=()=>{};var T0=e=>e;var S0=class{};var k0=()=>!1;var E0=()=>{};var Sd={default:Ja},q4=(0,Sd.default)("typescript-eslint:typescript-estree:parser:parseSettings:createParseSettings"),z4,F4=null,A0,C0,D0,P0,Rs={ParseAll:(A0=$a)==null?void 0:A0.ParseAll,ParseNone:(C0=$a)==null?void 0:C0.ParseNone,ParseForTypeErrors:(D0=$a)==null?void 0:D0.ParseForTypeErrors,ParseForTypeInfo:(P0=$a)==null?void 0:P0.ParseForTypeInfo};function N0(e,t={}){var l;let a=V4(e),o=k0(t),h=typeof t.tsconfigRootDir=="string"?t.tsconfigRootDir:"/prettier-security-dirname-placeholder",g=typeof t.loggerFn=="function",E=(()=>{switch(t.jsDocParsingMode){case"all":return Rs.ParseAll;case"none":return Rs.ParseNone;case"type-info":return Rs.ParseForTypeInfo;default:return Rs.ParseAll}})(),C={allowInvalidAST:t.allowInvalidAST===!0,code:e,codeFullText:a,comment:t.comment===!0,comments:[],debugLevel:t.debugLevel===!0?new Set(["typescript-eslint"]):Array.isArray(t.debugLevel)?new Set(t.debugLevel):new Set,errorOnTypeScriptSyntacticAndSemanticIssues:!1,errorOnUnknownASTType:t.errorOnUnknownASTType===!0,extraFileExtensions:Array.isArray(t.extraFileExtensions)&&t.extraFileExtensions.every(Z=>typeof Z=="string")?t.extraFileExtensions:[],filePath:T0(typeof t.filePath=="string"&&t.filePath!==""?t.filePath:W4(t.jsx),h),jsDocParsingMode:E,jsx:t.jsx===!0,loc:t.loc===!0,log:typeof t.loggerFn=="function"?t.loggerFn:t.loggerFn===!1?()=>{}:console.log,preserveNodeMaps:t.preserveNodeMaps!==!1,programs:Array.isArray(t.programs)?t.programs:null,projects:new Map,projectService:t.projectService||t.project&&t.projectService!==!1&&(void 0).env.TYPESCRIPT_ESLINT_PROJECT_SERVICE==="true"?F4??(F4=x0(t.projectService,E)):void 0,range:t.range===!0,singleRun:o,suppressDeprecatedPropertyWarnings:t.suppressDeprecatedPropertyWarnings??!0,tokens:t.tokens===!0?[]:null,tsconfigMatchCache:z4??(z4=new S0(o?"Infinity":((l=t.cacheLifetime)==null?void 0:l.glob)??void 0)),tsconfigRootDir:h};if(C.debugLevel.size>0){let Z=[];C.debugLevel.has("typescript-eslint")&&Z.push("typescript-eslint:*"),(C.debugLevel.has("eslint")||Sd.default.enabled("eslint:*,-eslint:code-path"))&&Z.push("eslint:*,-eslint:code-path"),Sd.default.enable(Z.join(","))}if(Array.isArray(t.programs)){if(!t.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.");q4("parserOptions.programs was provided, so parserOptions.project will be ignored.")}return!C.programs&&!C.projectService&&(C.projects=new Map),t.jsDocParsingMode==null&&C.projects.size===0&&C.programs==null&&C.projectService==null&&(C.jsDocParsingMode=Rs.ParseNone),E0(C,g),C}function V4(e){return ql(e)?e.getFullText(e):typeof e=="string"?e:String(e)}function W4(e){return e?"estree.tsx":"estree.ts"}var X4={default:Ja},ZT=(0,X4.default)("typescript-eslint:typescript-estree:parser");function I0(e,t){let{ast:a}=$4(e,t,!1);return a}function $4(e,t,a){let o=N0(e,t);if(t!=null&&t.errorOnTypeScriptSyntacticAndSemanticIssues)throw new Error('"errorOnTypeScriptSyntacticAndSemanticIssues" is only supported for parseAndGenerateServices()');let h=v0(o),{estree:g,astMaps:E}=y0(h,o,a);return{ast:g,esTreeNodeToTSNodeMap:E.esTreeNodeToTSNodeMap,tsNodeToESTreeNodeMap:E.tsNodeToESTreeNodeMap}}function Q4(e,t){let a=new SyntaxError(e+" ("+t.loc.start.line+":"+t.loc.start.column+")");return Object.assign(a,t)}var O0=Q4;function K4(e){let t=[];for(let a of e)try{return a()}catch(o){t.push(o)}throw Object.assign(new Error("All combinations failed"),{errors:t})}var M0=K4;var Z4=(e,t,a)=>{if(!(e&&t==null))return Array.isArray(t)||typeof t=="string"?t[a<0?t.length+a:a]:t.at(a)},wd=Z4;function e3(e){return Array.isArray(e)&&e.length>0}var J0=e3;function Fn(e){var o,h,g;let t=((o=e.range)==null?void 0:o[0])??e.start,a=(g=((h=e.declaration)==null?void 0:h.decorators)??e.decorators)==null?void 0:g[0];return a?Math.min(Fn(a),t):t}function Lr(e){var t;return((t=e.range)==null?void 0:t[1])??e.end}function t3(e){let t=new Set(e);return a=>t.has(a==null?void 0:a.type)}var j0=t3;var n3=j0(["Block","CommentBlock","MultiLine"]),Us=n3;function r3(e){let t=`*${e.value}*`.split(` +`);return t.length>1&&t.every(a=>a.trimStart()[0]==="*")}var kd=r3;function i3(e){return Us(e)&&e.value[0]==="*"&&/@(?:type|satisfies)\b/u.test(e.value)}var L0=i3;var Bs=null;function qs(e){if(Bs!==null&&typeof Bs.property){let t=Bs;return Bs=qs.prototype=null,t}return Bs=qs.prototype=e??Object.create(null),new qs}var a3=10;for(let e=0;e<=a3;e++)qs();function Ed(e){return qs(e)}function _3(e,t="type"){Ed(e);function a(o){let h=o[t],g=e[h];if(!Array.isArray(g))throw Object.assign(new Error(`Missing visitor keys for '${h}'.`),{node:o});return g}return a}var R0=_3;var U0={ArrayExpression:["elements"],AssignmentExpression:["left","right"],BinaryExpression:["left","right"],InterpreterDirective:[],Directive:["value"],DirectiveLiteral:[],BlockStatement:["directives","body"],BreakStatement:["label"],CallExpression:["callee","arguments","typeParameters","typeArguments"],CatchClause:["param","body"],ConditionalExpression:["test","consequent","alternate"],ContinueStatement:["label"],DebuggerStatement:[],DoWhileStatement:["test","body"],EmptyStatement:[],ExpressionStatement:["expression"],File:["program"],ForInStatement:["left","right","body"],ForStatement:["init","test","update","body"],FunctionDeclaration:["id","params","body","returnType","typeParameters","predicate"],FunctionExpression:["id","params","body","returnType","typeParameters"],Identifier:["typeAnnotation","decorators"],IfStatement:["test","consequent","alternate"],LabeledStatement:["label","body"],StringLiteral:[],NumericLiteral:[],NullLiteral:[],BooleanLiteral:[],RegExpLiteral:[],LogicalExpression:["left","right"],MemberExpression:["object","property"],NewExpression:["callee","arguments","typeParameters","typeArguments"],Program:["directives","body"],ObjectExpression:["properties"],ObjectMethod:["key","params","body","decorators","returnType","typeParameters"],ObjectProperty:["key","value","decorators"],RestElement:["argument","typeAnnotation","decorators"],ReturnStatement:["argument"],SequenceExpression:["expressions"],ParenthesizedExpression:["expression"],SwitchCase:["test","consequent"],SwitchStatement:["discriminant","cases"],ThisExpression:[],ThrowStatement:["argument"],TryStatement:["block","handler","finalizer"],UnaryExpression:["argument"],UpdateExpression:["argument"],VariableDeclaration:["declarations"],VariableDeclarator:["id","init"],WhileStatement:["test","body"],WithStatement:["object","body"],AssignmentPattern:["left","right","decorators","typeAnnotation"],ArrayPattern:["elements","typeAnnotation","decorators"],ArrowFunctionExpression:["params","body","returnType","typeParameters","predicate"],ClassBody:["body"],ClassExpression:["id","body","superClass","mixins","typeParameters","superTypeParameters","implements","decorators","superTypeArguments"],ClassDeclaration:["id","body","superClass","mixins","typeParameters","superTypeParameters","implements","decorators","superTypeArguments"],ExportAllDeclaration:["source","attributes","exported"],ExportDefaultDeclaration:["declaration"],ExportNamedDeclaration:["declaration","specifiers","source","attributes"],ExportSpecifier:["local","exported"],ForOfStatement:["left","right","body"],ImportDeclaration:["specifiers","source","attributes"],ImportDefaultSpecifier:["local"],ImportNamespaceSpecifier:["local"],ImportSpecifier:["local","imported"],ImportExpression:["source","options","attributes"],MetaProperty:["meta","property"],ClassMethod:["key","params","body","decorators","returnType","typeParameters"],ObjectPattern:["properties","typeAnnotation","decorators"],SpreadElement:["argument"],Super:[],TaggedTemplateExpression:["tag","quasi","typeParameters","typeArguments"],TemplateElement:[],TemplateLiteral:["quasis","expressions"],YieldExpression:["argument"],AwaitExpression:["argument"],Import:[],BigIntLiteral:[],ExportNamespaceSpecifier:["exported"],OptionalMemberExpression:["object","property"],OptionalCallExpression:["callee","arguments","typeParameters","typeArguments"],ClassProperty:["key","value","typeAnnotation","decorators","variance"],ClassAccessorProperty:["key","value","typeAnnotation","decorators"],ClassPrivateProperty:["key","value","decorators","typeAnnotation","variance"],ClassPrivateMethod:["key","params","body","decorators","returnType","typeParameters"],PrivateName:["id"],StaticBlock:["body"],AnyTypeAnnotation:[],ArrayTypeAnnotation:["elementType"],BooleanTypeAnnotation:[],BooleanLiteralTypeAnnotation:[],NullLiteralTypeAnnotation:[],ClassImplements:["id","typeParameters"],DeclareClass:["id","typeParameters","extends","mixins","implements","body"],DeclareFunction:["id","predicate"],DeclareInterface:["id","typeParameters","extends","body"],DeclareModule:["id","body"],DeclareModuleExports:["typeAnnotation"],DeclareTypeAlias:["id","typeParameters","right"],DeclareOpaqueType:["id","typeParameters","supertype"],DeclareVariable:["id"],DeclareExportDeclaration:["declaration","specifiers","source"],DeclareExportAllDeclaration:["source"],DeclaredPredicate:["value"],ExistsTypeAnnotation:[],FunctionTypeAnnotation:["typeParameters","params","rest","returnType","this"],FunctionTypeParam:["name","typeAnnotation"],GenericTypeAnnotation:["id","typeParameters"],InferredPredicate:[],InterfaceExtends:["id","typeParameters"],InterfaceDeclaration:["id","typeParameters","extends","body"],InterfaceTypeAnnotation:["extends","body"],IntersectionTypeAnnotation:["types"],MixedTypeAnnotation:[],EmptyTypeAnnotation:[],NullableTypeAnnotation:["typeAnnotation"],NumberLiteralTypeAnnotation:[],NumberTypeAnnotation:[],ObjectTypeAnnotation:["properties","indexers","callProperties","internalSlots"],ObjectTypeInternalSlot:["id","value"],ObjectTypeCallProperty:["value"],ObjectTypeIndexer:["id","key","value","variance"],ObjectTypeProperty:["key","value","variance"],ObjectTypeSpreadProperty:["argument"],OpaqueType:["id","typeParameters","supertype","impltype"],QualifiedTypeIdentifier:["id","qualification"],StringLiteralTypeAnnotation:[],StringTypeAnnotation:[],SymbolTypeAnnotation:[],ThisTypeAnnotation:[],TupleTypeAnnotation:["types","elementTypes"],TypeofTypeAnnotation:["argument","typeArguments"],TypeAlias:["id","typeParameters","right"],TypeAnnotation:["typeAnnotation"],TypeCastExpression:["expression","typeAnnotation"],TypeParameter:["bound","default","variance"],TypeParameterDeclaration:["params"],TypeParameterInstantiation:["params"],UnionTypeAnnotation:["types"],Variance:[],VoidTypeAnnotation:[],EnumDeclaration:["id","body"],EnumBooleanBody:["members"],EnumNumberBody:["members"],EnumStringBody:["members"],EnumSymbolBody:["members"],EnumBooleanMember:["id","init"],EnumNumberMember:["id","init"],EnumStringMember:["id","init"],EnumDefaultedMember:["id"],IndexedAccessType:["objectType","indexType"],OptionalIndexedAccessType:["objectType","indexType"],JSXAttribute:["name","value"],JSXClosingElement:["name"],JSXElement:["openingElement","children","closingElement"],JSXEmptyExpression:[],JSXExpressionContainer:["expression"],JSXSpreadChild:["expression"],JSXIdentifier:[],JSXMemberExpression:["object","property"],JSXNamespacedName:["namespace","name"],JSXOpeningElement:["name","attributes","typeArguments","typeParameters"],JSXSpreadAttribute:["argument"],JSXText:[],JSXFragment:["openingFragment","children","closingFragment"],JSXOpeningFragment:[],JSXClosingFragment:[],Noop:[],Placeholder:[],V8IntrinsicIdentifier:[],ArgumentPlaceholder:[],BindExpression:["object","callee"],ImportAttribute:["key","value"],Decorator:["expression"],DoExpression:["body"],ExportDefaultSpecifier:["exported"],RecordExpression:["properties"],TupleExpression:["elements"],DecimalLiteral:[],ModuleExpression:["body"],TopicReference:[],PipelineTopicExpression:["expression"],PipelineBareFunction:["callee"],PipelinePrimaryTopicReference:[],TSParameterProperty:["parameter","decorators"],TSDeclareFunction:["id","typeParameters","params","returnType","body"],TSDeclareMethod:["decorators","key","typeParameters","params","returnType"],TSQualifiedName:["left","right"],TSCallSignatureDeclaration:["typeParameters","parameters","typeAnnotation","params","returnType"],TSConstructSignatureDeclaration:["typeParameters","parameters","typeAnnotation","params","returnType"],TSPropertySignature:["key","typeAnnotation"],TSMethodSignature:["key","typeParameters","parameters","typeAnnotation","params","returnType"],TSIndexSignature:["parameters","typeAnnotation"],TSAnyKeyword:[],TSBooleanKeyword:[],TSBigIntKeyword:[],TSIntrinsicKeyword:[],TSNeverKeyword:[],TSNullKeyword:[],TSNumberKeyword:[],TSObjectKeyword:[],TSStringKeyword:[],TSSymbolKeyword:[],TSUndefinedKeyword:[],TSUnknownKeyword:[],TSVoidKeyword:[],TSThisType:[],TSFunctionType:["typeParameters","parameters","typeAnnotation","params","returnType"],TSConstructorType:["typeParameters","parameters","typeAnnotation","params","returnType"],TSTypeReference:["typeName","typeParameters","typeArguments"],TSTypePredicate:["parameterName","typeAnnotation"],TSTypeQuery:["exprName","typeParameters","typeArguments"],TSTypeLiteral:["members"],TSArrayType:["elementType"],TSTupleType:["elementTypes"],TSOptionalType:["typeAnnotation"],TSRestType:["typeAnnotation"],TSNamedTupleMember:["label","elementType"],TSUnionType:["types"],TSIntersectionType:["types"],TSConditionalType:["checkType","extendsType","trueType","falseType"],TSInferType:["typeParameter"],TSParenthesizedType:["typeAnnotation"],TSTypeOperator:["typeAnnotation"],TSIndexedAccessType:["objectType","indexType"],TSMappedType:["typeParameter","typeAnnotation","nameType"],TSLiteralType:["literal"],TSExpressionWithTypeArguments:["expression","typeParameters"],TSInterfaceDeclaration:["id","typeParameters","extends","body"],TSInterfaceBody:["body"],TSTypeAliasDeclaration:["id","typeParameters","typeAnnotation"],TSInstantiationExpression:["expression","typeParameters","typeArguments"],TSAsExpression:["expression","typeAnnotation"],TSSatisfiesExpression:["expression","typeAnnotation"],TSTypeAssertion:["typeAnnotation","expression"],TSEnumDeclaration:["id","members"],TSEnumMember:["id","initializer"],TSModuleDeclaration:["id","body"],TSModuleBlock:["body"],TSImportType:["argument","qualifier","typeParameters","typeArguments"],TSImportEqualsDeclaration:["id","moduleReference"],TSExternalModuleReference:["expression"],TSNonNullExpression:["expression"],TSExportAssignment:["expression"],TSNamespaceExportDeclaration:["id"],TSTypeAnnotation:["typeAnnotation"],TSTypeParameterInstantiation:["params"],TSTypeParameterDeclaration:["params"],TSTypeParameter:["constraint","default","name"],ChainExpression:["expression"],ExperimentalRestProperty:["argument"],ExperimentalSpreadProperty:["argument"],Literal:[],MethodDefinition:["decorators","key","value"],PrivateIdentifier:[],Property:["key","value"],PropertyDefinition:["decorators","key","typeAnnotation","value","variance"],AccessorProperty:["decorators","key","typeAnnotation","value"],TSAbstractAccessorProperty:["decorators","key","typeAnnotation"],TSAbstractKeyword:[],TSAbstractMethodDefinition:["key","value"],TSAbstractPropertyDefinition:["decorators","key","typeAnnotation"],TSAsyncKeyword:[],TSClassImplements:["expression","typeArguments","typeParameters"],TSDeclareKeyword:[],TSEmptyBodyFunctionExpression:["id","typeParameters","params","returnType"],TSEnumBody:["members"],TSExportKeyword:[],TSInterfaceHeritage:["expression","typeArguments","typeParameters"],TSPrivateKeyword:[],TSProtectedKeyword:[],TSPublicKeyword:[],TSReadonlyKeyword:[],TSStaticKeyword:[],TSTemplateLiteralType:["quasis","types"],AsConstExpression:["expression"],AsExpression:["expression","typeAnnotation"],BigIntLiteralTypeAnnotation:[],BigIntTypeAnnotation:[],ComponentDeclaration:["id","params","body","typeParameters","rendersType"],ComponentParameter:["name","local"],ComponentTypeAnnotation:["params","rest","typeParameters","rendersType"],ComponentTypeParameter:["name","typeAnnotation"],ConditionalTypeAnnotation:["checkType","extendsType","trueType","falseType"],DeclareComponent:["id","params","rest","typeParameters","rendersType"],DeclareEnum:["id","body"],DeclareHook:["id"],DeclareNamespace:["id","body"],EnumBigIntBody:["members"],EnumBigIntMember:["id","init"],HookDeclaration:["id","params","body","typeParameters","returnType"],HookTypeAnnotation:["params","returnType","rest","typeParameters"],InferTypeAnnotation:["typeParameter"],KeyofTypeAnnotation:["argument"],ObjectTypeMappedTypeProperty:["keyTparam","propType","sourceType","variance"],QualifiedTypeofIdentifier:["qualification","id"],TupleTypeLabeledElement:["label","elementType","variance"],TupleTypeSpreadElement:["label","typeAnnotation"],TypeOperator:["typeAnnotation"],TypePredicate:["parameterName","typeAnnotation","asserts"],NGRoot:["node"],NGPipeExpression:["left","right","arguments"],NGChainedExpression:["expressions"],NGEmptyExpression:[],NGMicrosyntax:["body"],NGMicrosyntaxKey:[],NGMicrosyntaxExpression:["expression","alias"],NGMicrosyntaxKeyedExpression:["key","expression"],NGMicrosyntaxLet:["key","value"],NGMicrosyntaxAs:["key","alias"],JsExpressionRoot:["node"],JsonRoot:["node"],TSJSDocAllType:[],TSJSDocUnknownType:[],TSJSDocNullableType:["typeAnnotation"],TSJSDocNonNullableType:["typeAnnotation"],NeverTypeAnnotation:[],UndefinedTypeAnnotation:[],UnknownTypeAnnotation:[],SatisfiesExpression:["expression","typeAnnotation"]};var s3=R0(U0),B0=s3;function Ad(e,t){if(!(e!==null&&typeof e=="object"))return e;if(Array.isArray(e)){for(let o=0;o{var E;(E=g.leadingComments)!=null&&E.some(L0)&&h.add(Fn(g))}),e=zl(e,g=>{if(g.type==="ParenthesizedExpression"){let{expression:E}=g;if(E.type==="TypeCastExpression")return E.range=[...g.range],E;let C=Fn(g);if(!h.has(C))return E.extra={...E.extra,parenthesized:!0},E}})}if(e=zl(e,h=>{var g;switch(h.type){case"LogicalExpression":if(q0(h))return Cd(h);break;case"VariableDeclaration":{let E=wd(!1,h.declarations,-1);E!=null&&E.init&&o[Lr(E)]!==";"&&(h.range=[Fn(h),Lr(E)]);break}case"TSParenthesizedType":return h.typeAnnotation;case"TSTypeParameter":if(typeof h.name=="string"){let E=Fn(h);h.name={type:"Identifier",name:h.name,range:[E,E+h.name.length]}}break;case"TopicReference":e.extra={...e.extra,__isUsingHackPipeline:!0};break;case"ExportAllDeclaration":if(a==="meriyah"&&((g=h.exported)==null?void 0:g.type)==="Identifier"){let{exported:E}=h,C=o.slice(Fn(E),Lr(E));(C.startsWith('"')||C.startsWith("'"))&&(h.exported={...h.exported,type:"Literal",value:h.exported.name,raw:C})}break;case"TSUnionType":case"TSIntersectionType":if(h.types.length===1)return h.types[0];break}}),J0(e.comments)){let h=wd(!1,e.comments,-1);for(let g=e.comments.length-2;g>=0;g--){let E=e.comments[g];Lr(E)===Fn(h)&&Us(E)&&Us(h)&&kd(E)&&kd(h)&&(e.comments.splice(g+1,1),E.value+="*//*"+h.value,E.range=[Fn(E),Lr(h)]),h=E}}return e.type==="Program"&&(e.range=[0,o.length]),e}function q0(e){return e.type==="LogicalExpression"&&e.right.type==="LogicalExpression"&&e.operator===e.right.operator}function Cd(e){return q0(e)?Cd({type:"LogicalExpression",operator:e.operator,left:Cd({type:"LogicalExpression",operator:e.operator,left:e.left,right:e.right.left,range:[Fn(e.left),Lr(e.right.left)]}),right:e.right.right,range:[Fn(e),Lr(e)]}):e}var z0=o3;var c3=(e,t,a,o)=>{if(!(e&&t==null))return t.replaceAll?t.replaceAll(a,o):a.global?t.replace(a,o):t.split(a).join(o)},n_=c3;var l3=/\*\/$/,u3=/^\/\*\*?/,p3=/^\s*(\/\*\*?(.|\r?\n)*?\*\/)/,f3=/(^|\s+)\/\/([^\n\r]*)/g,F0=/^(\r?\n)+/,d3=/(?:^|\r?\n) *(@[^\n\r]*?) *\r?\n *(?![^\n\r@]*\/\/[^]*)([^\s@][^\n\r@]+?) *\r?\n/g,V0=/(?:^|\r?\n) *@(\S+) *([^\n\r]*)/g,m3=/(\r?\n|^) *\* ?/g,h3=[];function W0(e){let t=e.match(p3);return t?t[0].trimStart():""}function G0(e){let t=` +`;e=n_(!1,e.replace(u3,"").replace(l3,""),m3,"$1");let a="";for(;a!==e;)a=e,e=n_(!1,e,d3,`${t}$1 $2${t}`);e=e.replace(F0,"").trimEnd();let o=Object.create(null),h=n_(!1,e,V0,"").replace(F0,"").trimEnd(),g;for(;g=V0.exec(e);){let E=n_(!1,g[2],f3,"");if(typeof o[g[1]]=="string"||Array.isArray(o[g[1]])){let C=o[g[1]];o[g[1]]=[...h3,...Array.isArray(C)?C:[C],E]}else o[g[1]]=E}return{comments:h,pragmas:o}}function y3(e){if(!e.startsWith("#!"))return"";let t=e.indexOf(` +`);return t===-1?e:e.slice(0,t)}var Y0=y3;function g3(e){let t=Y0(e);t&&(e=e.slice(t.length+1));let a=W0(e),{pragmas:o,comments:h}=G0(a);return{shebang:t,text:e,pragmas:o,comments:h}}function H0(e){let{pragmas:t}=g3(e);return Object.prototype.hasOwnProperty.call(t,"prettier")||Object.prototype.hasOwnProperty.call(t,"format")}function b3(e){return e=typeof e=="function"?{parse:e}:e,{astFormat:"estree",hasPragma:H0,locStart:Fn,locEnd:Lr,...e}}var X0=b3;function v3(e){return e.charAt(0)==="#"&&e.charAt(1)==="!"?"//"+e.slice(2):e}var $0=v3;var Dd={loc:!0,range:!0,comment:!0,tokens:!0,loggerFn:!1,project:!1,jsDocParsingMode:"none",suppressDeprecatedPropertyWarnings:!0};function x3(e){if(!(e!=null&&e.location))return e;let{message:t,location:{start:a,end:o}}=e;return O0(t,{loc:{start:{line:a.line,column:a.column+1},end:{line:o.line,column:o.column+1}},cause:e})}var T3=e=>/\.(?:js|mjs|cjs|jsx|ts|mts|cts|tsx)$/iu.test(e);function S3(e,t){let a=t==null?void 0:t.filepath;if(a&&T3(a))return[{...Dd,filePath:a}];let o=k3(e);return[{...Dd,jsx:o},{...Dd,jsx:!o}]}function w3(e,t){let a=$0(e),o=S3(e,t),h;try{h=M0(o.map(g=>()=>I0(a,g)))}catch({errors:[g]}){throw x3(g)}return z0(h,{text:e})}function k3(e){return new RegExp(["(?:^[^\"'`]*)"].join(""),"mu").test(e)}var E3=X0(w3);var KS=Nd;export{KS as default,Pd as parsers}; diff --git a/node_modules/prettier/plugins/yaml.js b/node_modules/prettier/plugins/yaml.js index a870916cf4..905178717b 100644 --- a/node_modules/prettier/plugins/yaml.js +++ b/node_modules/prettier/plugins/yaml.js @@ -1,7 +1,7 @@ -(function(f){function e(){var i=f();return i.default||i}if(typeof exports=="object"&&typeof module=="object")module.exports=e();else if(typeof define=="function"&&define.amd)define(e);else{var t=typeof globalThis<"u"?globalThis:typeof global<"u"?global:typeof self<"u"?self:this||{};t.prettierPlugins=t.prettierPlugins||{},t.prettierPlugins.yaml=e()}})(function(){"use strict";var Li=Object.create;var yt=Object.defineProperty;var Ai=Object.getOwnPropertyDescriptor;var Ti=Object.getOwnPropertyNames;var Ci=Object.getPrototypeOf,Mi=Object.prototype.hasOwnProperty;var ee=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports),tr=(t,e)=>{for(var n in e)yt(t,n,{get:e[n],enumerable:!0})},nr=(t,e,n,r)=>{if(e&&typeof e=="object"||typeof e=="function")for(let s of Ti(e))!Mi.call(t,s)&&s!==n&&yt(t,s,{get:()=>e[s],enumerable:!(r=Ai(e,s))||r.enumerable});return t};var rr=(t,e,n)=>(n=t!=null?Li(Ci(t)):{},nr(e||!t||!t.__esModule?yt(n,"default",{value:t,enumerable:!0}):n,t)),ki=t=>nr(yt({},"__esModule",{value:!0}),t);var le=ee(U=>{"use strict";var re={ANCHOR:"&",COMMENT:"#",TAG:"!",DIRECTIVES_END:"-",DOCUMENT_END:"."},lt={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"},No="tag:yaml.org,2002:",Oo={MAP:"tag:yaml.org,2002:map",SEQ:"tag:yaml.org,2002:seq",STR:"tag:yaml.org,2002:str"};function Ms(t){let e=[0],n=t.indexOf(` +(function(f){function e(){var i=f();return i.default||i}if(typeof exports=="object"&&typeof module=="object")module.exports=e();else if(typeof define=="function"&&define.amd)define(e);else{var t=typeof globalThis<"u"?globalThis:typeof global<"u"?global:typeof self<"u"?self:this||{};t.prettierPlugins=t.prettierPlugins||{},t.prettierPlugins.yaml=e()}})(function(){"use strict";var Ai=Object.create;var yt=Object.defineProperty;var Ti=Object.getOwnPropertyDescriptor;var Ci=Object.getOwnPropertyNames;var Mi=Object.getPrototypeOf,ki=Object.prototype.hasOwnProperty;var ee=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports),tr=(t,e)=>{for(var n in e)yt(t,n,{get:e[n],enumerable:!0})},nr=(t,e,n,r)=>{if(e&&typeof e=="object"||typeof e=="function")for(let s of Ci(e))!ki.call(t,s)&&s!==n&&yt(t,s,{get:()=>e[s],enumerable:!(r=Ti(e,s))||r.enumerable});return t};var rr=(t,e,n)=>(n=t!=null?Ai(Mi(t)):{},nr(e||!t||!t.__esModule?yt(n,"default",{value:t,enumerable:!0}):n,t)),vi=t=>nr(yt({},"__esModule",{value:!0}),t);var le=ee(U=>{"use strict";var re={ANCHOR:"&",COMMENT:"#",TAG:"!",DIRECTIVES_END:"-",DOCUMENT_END:"."},lt={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"},Oo="tag:yaml.org,2002:",Lo={MAP:"tag:yaml.org,2002:map",SEQ:"tag:yaml.org,2002:seq",STR:"tag:yaml.org,2002:str"};function Is(t){let e=[0],n=t.indexOf(` `);for(;n!==-1;)n+=1,e.push(n),n=t.indexOf(` -`,n);return e}function ks(t){let e,n;return typeof t=="string"?(e=Ms(t),n=t):(Array.isArray(t)&&(t=t[0]),t&&t.context&&(t.lineStarts||(t.lineStarts=Ms(t.context.src)),e=t.lineStarts,n=t.context.src)),{lineStarts:e,src:n}}function Tn(t,e){if(typeof t!="number"||t<0)return null;let{lineStarts:n,src:r}=ks(e);if(!n||!r||t>r.length)return null;for(let i=0;i=1)||t>n.length)return null;let s=n[t-1],i=n[t];for(;i&&i>s&&r[i-1]===` -`;)--i;return r.slice(s,i)}function Ao({start:t,end:e},n,r=80){let s=Lo(t.line,n);if(!s)return null;let{col:i}=t;if(s.length>r)if(i<=r-10)s=s.substr(0,r-1)+"\u2026";else{let f=Math.round(r/2);s.length>i+f&&(s=s.substr(0,i+f-1)+"\u2026"),i-=s.length-r,s="\u2026"+s.substr(1-r)}let o=1,a="";e&&(e.line===t.line&&i+(e.col-t.col)<=r+1?o=e.col-t.col:(o=Math.min(s.length+1,r)-i,a="\u2026"));let c=i>1?" ".repeat(i-1):"",l="^".repeat(o);return`${s} +`,n);return e}function Ps(t){let e,n;return typeof t=="string"?(e=Is(t),n=t):(Array.isArray(t)&&(t=t[0]),t&&t.context&&(t.lineStarts||(t.lineStarts=Is(t.context.src)),e=t.lineStarts,n=t.context.src)),{lineStarts:e,src:n}}function An(t,e){if(typeof t!="number"||t<0)return null;let{lineStarts:n,src:r}=Ps(e);if(!n||!r||t>r.length)return null;for(let i=0;i=1)||t>n.length)return null;let s=n[t-1],i=n[t];for(;i&&i>s&&r[i-1]===` +`;)--i;return r.slice(s,i)}function To({start:t,end:e},n,r=80){let s=Ao(t.line,n);if(!s)return null;let{col:i}=t;if(s.length>r)if(i<=r-10)s=s.substr(0,r-1)+"\u2026";else{let f=Math.round(r/2);s.length>i+f&&(s=s.substr(0,i+f-1)+"\u2026"),i-=s.length-r,s="\u2026"+s.substr(1-r)}let o=1,a="";e&&(e.line===t.line&&i+(e.col-t.col)<=r+1?o=e.col-t.col:(o=Math.min(s.length+1,r)-i,a="\u2026"));let c=i>1?" ".repeat(i-1):"",l="^".repeat(o);return`${s} ${c}${l}${a}`}var Ye=class t{static copy(e){return new t(e.start,e.end)}constructor(e,n){this.start=e,this.end=n||e}isEmpty(){return typeof this.start!="number"||!this.end||this.end<=this.start}setOrigRange(e,n){let{start:r,end:s}=this;if(e.length===0||s<=e[0])return this.origStart=r,this.origEnd=s,n;let i=n;for(;ir);)++i;this.origStart=r+i;let o=i;for(;i=s);)++i;return this.origEnd=s+i,o}},se=class t{static addStringTerminator(e,n,r){if(r[r.length-1]===` `)return r;let s=t.endOfWhiteSpace(e,n);return s>=e.length||e[s]===` `?r+` @@ -20,11 +20,11 @@ ${c}${l}${a}`}var Ye=class t{static copy(e){return new t(e.start,e.end)}construc `;){switch(a){case` `:s=0,n+=1,o+=` `;break;case" ":s<=r&&(i=!0),n=t.endOfWhiteSpace(e,n+2)-1;break;case" ":s+=1,n+=1;break}a=e[n+1]}return o||(o=" "),a&&s<=r&&(i=!0),{fold:o,offset:n,error:i}}constructor(e,n,r){Object.defineProperty(this,"context",{value:r||null,writable:!0}),this.error=null,this.range=null,this.valueRange=null,this.props=n||[],this.type=e,this.value=null}getPropValue(e,n,r){if(!this.context)return null;let{src:s}=this.context,i=this.props[e];return i&&s[i.start]===n?s.slice(i.start+(r?1:0),i.end):null}get anchor(){for(let e=0;e0?e.join(` -`):null}commentHasRequiredWhitespace(e){let{src:n}=this.context;if(this.header&&e===this.header.end||!this.valueRange)return!1;let{end:r}=this.valueRange;return e!==r||t.atBlank(n,r-1)}get hasComment(){if(this.context){let{src:e}=this.context;for(let n=0;nr.setOrigRange(e,n)),n}toString(){let{context:{src:e},range:n,value:r}=this;if(r!=null)return r;let s=e.slice(n.start,n.end);return t.addStringTerminator(e,n.end,s)}},de=class extends Error{constructor(e,n,r){if(!r||!(n instanceof se))throw new Error(`Invalid arguments for new ${e}`);super(),this.name=e,this.message=r,this.source=n}makePretty(){if(!this.source)return;this.nodeType=this.source.type;let e=this.source.context&&this.source.context.root;if(typeof this.offset=="number"){this.range=new Ye(this.offset,this.offset+1);let n=e&&Tn(this.offset,e);if(n){let r={line:n.line,col:n.col+1};this.linePos={start:n,end:r}}delete this.offset}else this.range=this.source.range,this.linePos=this.source.rangeAsLinePos;if(this.linePos){let{line:n,col:r}=this.linePos.start;this.message+=` at line ${n}, column ${r}`;let s=e&&Ao(this.linePos,e);s&&(this.message+=`: +`):null}commentHasRequiredWhitespace(e){let{src:n}=this.context;if(this.header&&e===this.header.end||!this.valueRange)return!1;let{end:r}=this.valueRange;return e!==r||t.atBlank(n,r-1)}get hasComment(){if(this.context){let{src:e}=this.context;for(let n=0;nr.setOrigRange(e,n)),n}toString(){let{context:{src:e},range:n,value:r}=this;if(r!=null)return r;let s=e.slice(n.start,n.end);return t.addStringTerminator(e,n.end,s)}},de=class extends Error{constructor(e,n,r){if(!r||!(n instanceof se))throw new Error(`Invalid arguments for new ${e}`);super(),this.name=e,this.message=r,this.source=n}makePretty(){if(!this.source)return;this.nodeType=this.source.type;let e=this.source.context&&this.source.context.root;if(typeof this.offset=="number"){this.range=new Ye(this.offset,this.offset+1);let n=e&&An(this.offset,e);if(n){let r={line:n.line,col:n.col+1};this.linePos={start:n,end:r}}delete this.offset}else this.range=this.source.range,this.linePos=this.source.rangeAsLinePos;if(this.linePos){let{line:n,col:r}=this.linePos.start;this.message+=` at line ${n}, column ${r}`;let s=e&&To(this.linePos,e);s&&(this.message+=`: ${s} -`)}delete this.source}},Cn=class extends de{constructor(e,n){super("YAMLReferenceError",e,n)}},ft=class extends de{constructor(e,n){super("YAMLSemanticError",e,n)}},Mn=class extends de{constructor(e,n){super("YAMLSyntaxError",e,n)}},kn=class extends de{constructor(e,n){super("YAMLWarning",e,n)}};function To(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var vn=class t extends se{static endOfLine(e,n,r){let s=e[n],i=n;for(;s&&s!==` +`)}delete this.source}},Tn=class extends de{constructor(e,n){super("YAMLReferenceError",e,n)}},ft=class extends de{constructor(e,n){super("YAMLSemanticError",e,n)}},Cn=class extends de{constructor(e,n){super("YAMLSyntaxError",e,n)}},Mn=class extends de{constructor(e,n){super("YAMLWarning",e,n)}};function Co(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var kn=class t extends se{static endOfLine(e,n,r){let s=e[n],i=n;for(;s&&s!==` `&&!(r&&(s==="["||s==="]"||s==="{"||s==="}"||s===","));){let o=e[i+1];if(s===":"&&(!o||o===` `||o===" "||o===" "||r&&o===",")||(s===" "||s===" ")&&o==="#")break;i+=1,s=o}return i}get strValue(){if(!this.valueRange||!this.context)return null;let{start:e,end:n}=this.valueRange,{src:r}=this.context,s=r[n-1];for(;el?r.slice(l,a+1):c)}else i+=c}let o=r[e];switch(o){case" ":{let a="Plain value cannot start with a tab character";return{errors:[new ft(this,a)],str:i}}case"@":case"`":{let a=`Plain value cannot start with reserved character ${o}`;return{errors:[new ft(this,a)],str:i}}default:return i}}parseBlockValue(e){let{indent:n,inFlow:r,src:s}=this.context,i=e,o=e;for(let a=s[i];a===` `&&!se.atDocumentBoundary(s,i+1);a=s[i]){let c=se.endOfBlockIndent(s,n,i+1);if(c===null||s[c]==="#")break;s[c]===` `?i=c:(o=t.endOfLine(s,c,r),i=o)}return this.valueRange.isEmpty()&&(this.valueRange.start=e),this.valueRange.end=o,o}parse(e,n){this.context=e;let{inFlow:r,src:s}=e,i=n,o=s[i];return o&&o!=="#"&&o!==` -`&&(i=t.endOfLine(s,n,r)),this.valueRange=new Ye(n,i),i=se.endOfWhiteSpace(s,i),i=this.parseComment(i),(!this.hasComment||this.valueRange.isEmpty())&&(i=this.parseBlockValue(i)),i}};U.Char=re;U.Node=se;U.PlainValue=vn;U.Range=Ye;U.Type=lt;U.YAMLError=de;U.YAMLReferenceError=Cn;U.YAMLSemanticError=ft;U.YAMLSyntaxError=Mn;U.YAMLWarning=kn;U._defineProperty=To;U.defaultTagPrefix=No;U.defaultTags=Oo});var Is=ee(vs=>{"use strict";var u=le(),Ee=class extends u.Node{constructor(){super(u.Type.BLANK_LINE)}get includesTrailingLines(){return!0}parse(e,n){return this.context=e,this.range=new u.Range(n,n+1),n+1}},ut=class extends u.Node{constructor(e,n){super(e,n),this.node=null}get includesTrailingLines(){return!!this.node&&this.node.includesTrailingLines}parse(e,n){this.context=e;let{parseNode:r,src:s}=e,{atLineStart:i,lineStart:o}=e;!i&&this.type===u.Type.SEQ_ITEM&&(this.error=new u.YAMLSemanticError(this,"Sequence items must not have preceding content on the same line"));let a=i?n-o:e.indent,c=u.Node.endOfWhiteSpace(s,n+1),l=s[c],f=l==="#",m=[],d=null;for(;l===` +`&&(i=t.endOfLine(s,n,r)),this.valueRange=new Ye(n,i),i=se.endOfWhiteSpace(s,i),i=this.parseComment(i),(!this.hasComment||this.valueRange.isEmpty())&&(i=this.parseBlockValue(i)),i}};U.Char=re;U.Node=se;U.PlainValue=kn;U.Range=Ye;U.Type=lt;U.YAMLError=de;U.YAMLReferenceError=Tn;U.YAMLSemanticError=ft;U.YAMLSyntaxError=Cn;U.YAMLWarning=Mn;U._defineProperty=Co;U.defaultTagPrefix=Oo;U.defaultTags=Lo});var xs=ee(_s=>{"use strict";var u=le(),Ee=class extends u.Node{constructor(){super(u.Type.BLANK_LINE)}get includesTrailingLines(){return!0}parse(e,n){return this.context=e,this.range=new u.Range(n,n+1),n+1}},ut=class extends u.Node{constructor(e,n){super(e,n),this.node=null}get includesTrailingLines(){return!!this.node&&this.node.includesTrailingLines}parse(e,n){this.context=e;let{parseNode:r,src:s}=e,{atLineStart:i,lineStart:o}=e;!i&&this.type===u.Type.SEQ_ITEM&&(this.error=new u.YAMLSemanticError(this,"Sequence items must not have preceding content on the same line"));let a=i?n-o:e.indent,c=u.Node.endOfWhiteSpace(s,n+1),l=s[c],f=l==="#",m=[],d=null;for(;l===` `||l==="#";){if(l==="#"){let h=u.Node.endOfLine(s,c+1);m.push(new u.Range(c,h)),c=h}else{i=!0,o=c+1;let h=u.Node.endOfWhiteSpace(s,o);s[h]===` -`&&m.length===0&&(d=new Ee,o=d.parse({src:s},o)),c=u.Node.endOfIndent(s,o)}l=s[c]}if(u.Node.nextNodeIsIndented(l,c-(o+a),this.type!==u.Type.SEQ_ITEM)?this.node=r({atLineStart:i,inCollection:!1,indent:a,lineStart:o,parent:this},c):l&&o>n+1&&(c=o-1),this.node){if(d){let h=e.parent.items||e.parent.contents;h&&h.push(d)}m.length&&Array.prototype.push.apply(this.props,m),c=this.node.range.end}else if(f){let h=m[0];this.props.push(h),c=h.end}else c=u.Node.endOfLine(s,n+1);let y=this.node?this.node.valueRange.end:c;return this.valueRange=new u.Range(n,y),c}setOrigRanges(e,n){return n=super.setOrigRanges(e,n),this.node?this.node.setOrigRanges(e,n):n}toString(){let{context:{src:e},node:n,range:r,value:s}=this;if(s!=null)return s;let i=n?e.slice(r.start,n.range.start)+String(n):e.slice(r.start,r.end);return u.Node.addStringTerminator(e,r.end,i)}},ye=class extends u.Node{constructor(){super(u.Type.COMMENT)}parse(e,n){this.context=e;let r=this.parseComment(n);return this.range=new u.Range(n,r),r}};function In(t){let e=t;for(;e instanceof ut;)e=e.node;if(!(e instanceof $t))return null;let n=e.items.length,r=-1;for(let o=n-1;o>=0;--o){let a=e.items[o];if(a.type===u.Type.COMMENT){let{indent:c,lineStart:l}=a.context;if(c>0&&a.range.start>=l+c)break;r=o}else if(a.type===u.Type.BLANK_LINE)r=o;else break}if(r===-1)return null;let s=e.items.splice(r,n-r),i=s[0].range.start;for(;e.range.end=i,e.valueRange&&e.valueRange.end>i&&(e.valueRange.end=i),e!==t;)e=e.context.parent;return s}var $t=class t extends u.Node{static nextContentHasIndent(e,n,r){let s=u.Node.endOfLine(e,n)+1;n=u.Node.endOfWhiteSpace(e,s);let i=e[n];return i?n>=s+r?!0:i!=="#"&&i!==` -`?!1:t.nextContentHasIndent(e,n,r):!1}constructor(e){super(e.type===u.Type.SEQ_ITEM?u.Type.SEQ:u.Type.MAP);for(let r=e.props.length-1;r>=0;--r)if(e.props[r].start0}parse(e,n){this.context=e;let{parseNode:r,src:s}=e,i=u.Node.startOfLine(s,n),o=this.items[0];o.context.parent=this,this.valueRange=u.Range.copy(o.valueRange);let a=o.range.start-o.context.lineStart,c=n;c=u.Node.normalizeOffset(s,c);let l=s[c],f=u.Node.endOfWhiteSpace(s,i)===c,m=!1;for(;l;){for(;l===` +`&&m.length===0&&(d=new Ee,o=d.parse({src:s},o)),c=u.Node.endOfIndent(s,o)}l=s[c]}if(u.Node.nextNodeIsIndented(l,c-(o+a),this.type!==u.Type.SEQ_ITEM)?this.node=r({atLineStart:i,inCollection:!1,indent:a,lineStart:o,parent:this},c):l&&o>n+1&&(c=o-1),this.node){if(d){let h=e.parent.items||e.parent.contents;h&&h.push(d)}m.length&&Array.prototype.push.apply(this.props,m),c=this.node.range.end}else if(f){let h=m[0];this.props.push(h),c=h.end}else c=u.Node.endOfLine(s,n+1);let y=this.node?this.node.valueRange.end:c;return this.valueRange=new u.Range(n,y),c}setOrigRanges(e,n){return n=super.setOrigRanges(e,n),this.node?this.node.setOrigRanges(e,n):n}toString(){let{context:{src:e},node:n,range:r,value:s}=this;if(s!=null)return s;let i=n?e.slice(r.start,n.range.start)+String(n):e.slice(r.start,r.end);return u.Node.addStringTerminator(e,r.end,i)}},ye=class extends u.Node{constructor(){super(u.Type.COMMENT)}parse(e,n){this.context=e;let r=this.parseComment(n);return this.range=new u.Range(n,r),r}};function vn(t){let e=t;for(;e instanceof ut;)e=e.node;if(!(e instanceof Ft))return null;let n=e.items.length,r=-1;for(let o=n-1;o>=0;--o){let a=e.items[o];if(a.type===u.Type.COMMENT){let{indent:c,lineStart:l}=a.context;if(c>0&&a.range.start>=l+c)break;r=o}else if(a.type===u.Type.BLANK_LINE)r=o;else break}if(r===-1)return null;let s=e.items.splice(r,n-r),i=s[0].range.start;for(;e.range.end=i,e.valueRange&&e.valueRange.end>i&&(e.valueRange.end=i),e!==t;)e=e.context.parent;return s}var Ft=class t extends u.Node{static nextContentHasIndent(e,n,r){let s=u.Node.endOfLine(e,n)+1;n=u.Node.endOfWhiteSpace(e,s);let i=e[n];return i?n>=s+r?!0:i!=="#"&&i!==` +`?!1:t.nextContentHasIndent(e,n,r):!1}constructor(e){super(e.type===u.Type.SEQ_ITEM?u.Type.SEQ:u.Type.MAP);for(let r=e.props.length-1;r>=0;--r)if(e.props[r].start0}parse(e,n){this.context=e;let{parseNode:r,src:s}=e,i=u.Node.startOfLine(s,n),o=this.items[0];o.context.parent=this,this.valueRange=u.Range.copy(o.valueRange);let a=o.range.start-o.context.lineStart,c=n;c=u.Node.normalizeOffset(s,c);let l=s[c],f=u.Node.endOfWhiteSpace(s,i)===c,m=!1;for(;l;){for(;l===` `||l==="#";){if(f&&l===` `&&!m){let h=new Ee;if(c=h.parse({src:s},c),this.valueRange.end=c,c>=s.length){l=null;break}this.items.push(h),c-=1}else if(l==="#"){if(c=s.length){l=null;break}}if(i=c+1,c=u.Node.endOfIndent(s,i),u.Node.atBlank(s,c)){let h=u.Node.endOfWhiteSpace(s,c),g=s[h];(!g||g===` `||g==="#")&&(c=h)}l=s[c],f=!0}if(!l)break;if(c!==i+a&&(f||l!==":")){if(cn&&(c=i);break}else if(!this.error){let h="All collection items must start at the same column";this.error=new u.YAMLSyntaxError(this,h)}}if(o.type===u.Type.SEQ_ITEM){if(l!=="-"){i>n&&(c=i);break}}else if(l==="-"&&!this.error){let h=s[c+1];if(!h||h===` `||h===" "||h===" "){let g="A collection cannot be both a mapping and a sequence";this.error=new u.YAMLSyntaxError(this,g)}}let d=r({atLineStart:f,inCollection:!0,indent:a,lineStart:i,parent:this},c);if(!d)return c;if(this.items.push(d),this.valueRange.end=d.valueRange.end,c=u.Node.normalizeOffset(s,d.range.end),l=s[c],f=!1,m=d.includesTrailingLines,l){let h=c-1,g=s[h];for(;g===" "||g===" ";)g=s[--h];g===` -`&&(i=h+1,f=!0)}let y=In(d);y&&Array.prototype.push.apply(this.items,y)}return c}setOrigRanges(e,n){return n=super.setOrigRanges(e,n),this.items.forEach(r=>{n=r.setOrigRanges(e,n)}),n}toString(){let{context:{src:e},items:n,range:r,value:s}=this;if(s!=null)return s;let i=e.slice(r.start,n[0].range.start)+String(n[0]);for(let o=1;o{n=r.setOrigRanges(e,n)}),n}toString(){let{context:{src:e},items:n,range:r,value:s}=this;if(s!=null)return s;let i=e.slice(r.start,n[0].range.start)+String(n[0]);for(let o=1;o0&&(this.contents=this.directives,this.directives=[]),i}return n[i]?(this.directivesEndMarker=new u.Range(i,i+3),i+3):(s?this.error=new u.YAMLSemanticError(this,"Missing directives-end indicator line"):this.directives.length>0&&(this.contents=this.directives,this.directives=[]),i)}parseContents(e){let{parseNode:n,src:r}=this.context;this.contents||(this.contents=[]);let s=e;for(;r[s-1]==="-";)s-=1;let i=u.Node.endOfWhiteSpace(r,e),o=s===e;for(this.valueRange=new u.Range(i);!u.Node.atDocumentBoundary(r,i,u.Char.DOCUMENT_END);){switch(r[i]){case` -`:if(o){let a=new Ee;i=a.parse({src:r},i),i0&&(this.contents=this.directives,this.directives=[]),i}return n[i]?(this.directivesEndMarker=new u.Range(i,i+3),i+3):(s?this.error=new u.YAMLSemanticError(this,"Missing directives-end indicator line"):this.directives.length>0&&(this.contents=this.directives,this.directives=[]),i)}parseContents(e){let{parseNode:n,src:r}=this.context;this.contents||(this.contents=[]);let s=e;for(;r[s-1]==="-";)s-=1;let i=u.Node.endOfWhiteSpace(r,e),o=s===e;for(this.valueRange=new u.Range(i);!u.Node.atDocumentBoundary(r,i,u.Char.DOCUMENT_END);){switch(r[i]){case` +`:if(o){let a=new Ee;i=a.parse({src:r},i),i{n=r.setOrigRanges(e,n)}),this.directivesEndMarker&&(n=this.directivesEndMarker.setOrigRange(e,n)),this.contents.forEach(r=>{n=r.setOrigRanges(e,n)}),this.documentEndMarker&&(n=this.documentEndMarker.setOrigRange(e,n)),n}toString(){let{contents:e,directives:n,value:r}=this;if(r!=null)return r;let s=n.join("");return e.length>0&&((n.length>0||e[0].type===u.Type.COMMENT)&&(s+=`--- `),s+=e.join("")),s[s.length-1]!==` `&&(s+=` -`),s}},xn=class extends u.Node{parse(e,n){this.context=e;let{src:r}=e,s=u.Node.endOfIdentifier(r,n+1);return this.valueRange=new u.Range(n+1,s),s=u.Node.endOfWhiteSpace(r,s),s=this.parseComment(s),s}},fe={CLIP:"CLIP",KEEP:"KEEP",STRIP:"STRIP"},Rn=class extends u.Node{constructor(e,n){super(e,n),this.blockIndent=null,this.chomping=fe.CLIP,this.header=null}get includesTrailingLines(){return this.chomping===fe.KEEP}get strValue(){if(!this.valueRange||!this.context)return null;let{start:e,end:n}=this.valueRange,{indent:r,src:s}=this.context;if(this.valueRange.isEmpty())return"";let i=null,o=s[n-1];for(;o===` +`),s}},_n=class extends u.Node{parse(e,n){this.context=e;let{src:r}=e,s=u.Node.endOfIdentifier(r,n+1);return this.valueRange=new u.Range(n+1,s),s=u.Node.endOfWhiteSpace(r,s),s=this.parseComment(s),s}},fe={CLIP:"CLIP",KEEP:"KEEP",STRIP:"STRIP"},xn=class extends u.Node{constructor(e,n){super(e,n),this.blockIndent=null,this.chomping=fe.CLIP,this.header=null}get includesTrailingLines(){return this.chomping===fe.KEEP}get strValue(){if(!this.valueRange||!this.context)return null;let{start:e,end:n}=this.valueRange,{indent:r,src:s}=this.context;if(this.valueRange.isEmpty())return"";let i=null,o=s[n-1];for(;o===` `||o===" "||o===" ";){if(n-=1,n<=e){if(this.chomping===fe.KEEP)break;return""}o===` `&&(i=n),o=s[n-1]}let a=n+1;i&&(this.chomping===fe.KEEP?(a=i,n=this.valueRange.end):n=i);let c=r+this.blockIndent,l=this.type===u.Type.BLOCK_FOLDED,f=!0,m="",d="",y=!1;for(let h=e;ha&&(a=m);r[l]===` -`?i=l:i=o=u.Node.endOfLine(r,l)}return this.chomping!==fe.KEEP&&(i=r[o]?o+1:o),this.valueRange=new u.Range(e+1,i),i}parse(e,n){this.context=e;let{src:r}=e,s=this.parseBlockHeader(n);return s=u.Node.endOfWhiteSpace(r,s),s=this.parseComment(s),s=this.parseBlockValue(s),s}setOrigRanges(e,n){return n=super.setOrigRanges(e,n),this.header?this.header.setOrigRange(e,n):n}},Dn=class extends u.Node{constructor(e,n){super(e,n),this.items=null}prevNodeIsJsonLike(e=this.items.length){let n=this.items[e-1];return!!n&&(n.jsonLike||n.type===u.Type.COMMENT&&this.prevNodeIsJsonLike(e-1))}parse(e,n){this.context=e;let{parseNode:r,src:s}=e,{indent:i,lineStart:o}=e,a=s[n];this.items=[{char:a,offset:n}];let c=u.Node.endOfWhiteSpace(s,n+1);for(a=s[c];a&&a!=="]"&&a!=="}";){switch(a){case` +`?i=l:i=o=u.Node.endOfLine(r,l)}return this.chomping!==fe.KEEP&&(i=r[o]?o+1:o),this.valueRange=new u.Range(e+1,i),i}parse(e,n){this.context=e;let{src:r}=e,s=this.parseBlockHeader(n);return s=u.Node.endOfWhiteSpace(r,s),s=this.parseComment(s),s=this.parseBlockValue(s),s}setOrigRanges(e,n){return n=super.setOrigRanges(e,n),this.header?this.header.setOrigRange(e,n):n}},Rn=class extends u.Node{constructor(e,n){super(e,n),this.items=null}prevNodeIsJsonLike(e=this.items.length){let n=this.items[e-1];return!!n&&(n.jsonLike||n.type===u.Type.COMMENT&&this.prevNodeIsJsonLike(e-1))}parse(e,n){this.context=e;let{parseNode:r,src:s}=e,{indent:i,lineStart:o}=e,a=s[n];this.items=[{char:a,offset:n}];let c=u.Node.endOfWhiteSpace(s,n+1);for(a=s[c];a&&a!=="]"&&a!=="}";){switch(a){case` `:{o=c+1;let l=u.Node.endOfWhiteSpace(s,o);if(s[l]===` `){let f=new Ee;o=f.parse({src:s},o),this.items.push(f)}if(c=u.Node.endOfIndent(s,o),c<=o+i&&(a=s[c],c{if(r instanceof u.Node)n=r.setOrigRanges(e,n);else if(e.length===0)r.origOffset=r.offset;else{let s=n;for(;sr.offset);)++s;r.origOffset=r.offset+s,n=s}}),n}toString(){let{context:{src:e},items:n,range:r,value:s}=this;if(s!=null)return s;let i=n.filter(c=>c instanceof u.Node),o="",a=r.start;return i.forEach(c=>{let l=e.slice(a,c.range.start);a=c.range.end,o+=l+String(c),o[o.length-1]===` `&&e[a-1]!==` `&&e[a]===` -`&&(a+=1)}),o+=e.slice(a,r.end),u.Node.addStringTerminator(e,r.end,o)}},Yn=class t extends u.Node{static endOfQuote(e,n){let r=e[n];for(;r&&r!=='"';)n+=r==="\\"?2:1,r=e[n];return n+1}get strValue(){if(!this.valueRange||!this.context)return null;let e=[],{start:n,end:r}=this.valueRange,{indent:s,src:i}=this.context;i[r-1]!=='"'&&e.push(new u.YAMLSyntaxError(this,'Missing closing "quote'));let o="";for(let a=n+1;al?i.slice(l,a+1):c)}else o+=c}return e.length>0?{errors:e,str:o}:o}parseCharCode(e,n,r){let{src:s}=this.context,i=s.substr(e,n),a=i.length===n&&/^[0-9a-fA-F]+$/.test(i)?parseInt(i,16):NaN;return isNaN(a)?(r.push(new u.YAMLSyntaxError(this,`Invalid escape sequence ${s.substr(e-2,n+2)}`)),s.substr(e-2,n+2)):String.fromCodePoint(a)}parse(e,n){this.context=e;let{src:r}=e,s=t.endOfQuote(r,n+1);return this.valueRange=new u.Range(n,s),s=u.Node.endOfWhiteSpace(r,s),s=this.parseComment(s),s}},Bn=class t extends u.Node{static endOfQuote(e,n){let r=e[n];for(;r;)if(r==="'"){if(e[n+1]!=="'")break;r=e[n+=2]}else r=e[n+=1];return n+1}get strValue(){if(!this.valueRange||!this.context)return null;let e=[],{start:n,end:r}=this.valueRange,{indent:s,src:i}=this.context;i[r-1]!=="'"&&e.push(new u.YAMLSyntaxError(this,"Missing closing 'quote"));let o="";for(let a=n+1;al?i.slice(l,a+1):c)}else o+=c}return e.length>0?{errors:e,str:o}:o}parseCharCode(e,n,r){let{src:s}=this.context,i=s.substr(e,n),a=i.length===n&&/^[0-9a-fA-F]+$/.test(i)?parseInt(i,16):NaN;return isNaN(a)?(r.push(new u.YAMLSyntaxError(this,`Invalid escape sequence ${s.substr(e-2,n+2)}`)),s.substr(e-2,n+2)):String.fromCodePoint(a)}parse(e,n){this.context=e;let{src:r}=e,s=t.endOfQuote(r,n+1);return this.valueRange=new u.Range(n,s),s=u.Node.endOfWhiteSpace(r,s),s=this.parseComment(s),s}},Yn=class t extends u.Node{static endOfQuote(e,n){let r=e[n];for(;r;)if(r==="'"){if(e[n+1]!=="'")break;r=e[n+=2]}else r=e[n+=1];return n+1}get strValue(){if(!this.valueRange||!this.context)return null;let e=[],{start:n,end:r}=this.valueRange,{indent:s,src:i}=this.context;i[r-1]!=="'"&&e.push(new u.YAMLSyntaxError(this,"Missing closing 'quote"));let o="";for(let a=n+1;al?i.slice(l,a+1):c)}else o+=c}return e.length>0?{errors:e,str:o}:o}parse(e,n){this.context=e;let{src:r}=e,s=t.endOfQuote(r,n+1);return this.valueRange=new u.Range(n,s),s=u.Node.endOfWhiteSpace(r,s),s=this.parseComment(s),s}};function Co(t,e){switch(t){case u.Type.ALIAS:return new xn(t,e);case u.Type.BLOCK_FOLDED:case u.Type.BLOCK_LITERAL:return new Rn(t,e);case u.Type.FLOW_MAP:case u.Type.FLOW_SEQ:return new Dn(t,e);case u.Type.MAP_KEY:case u.Type.MAP_VALUE:case u.Type.SEQ_ITEM:return new ut(t,e);case u.Type.COMMENT:case u.Type.PLAIN:return new u.PlainValue(t,e);case u.Type.QUOTE_DOUBLE:return new Yn(t,e);case u.Type.QUOTE_SINGLE:return new Bn(t,e);default:return null}}var $n=class t{static parseType(e,n,r){switch(e[n]){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!r&&u.Node.atBlank(e,n+1,!0)?u.Type.MAP_KEY:u.Type.PLAIN;case":":return!r&&u.Node.atBlank(e,n+1,!0)?u.Type.MAP_VALUE:u.Type.PLAIN;case"-":return!r&&u.Node.atBlank(e,n+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(e={},{atLineStart:n,inCollection:r,inFlow:s,indent:i,lineStart:o,parent:a}={}){u._defineProperty(this,"parseNode",(c,l)=>{if(u.Node.atDocumentBoundary(this.src,l))return null;let f=new t(this,c),{props:m,type:d,valueStart:y}=f.parseProps(l),h=Co(d,m),g=h.parse(f,y);if(h.range=new u.Range(l,g),g<=l&&(h.error=new Error("Node#parse consumed no characters"),h.error.parseEnd=g,h.error.source=h,h.range.end=l+1),f.nodeStartsCollection(h)){!h.error&&!f.atLineStart&&f.parent.type===u.Type.DOCUMENT&&(h.error=new u.YAMLSyntaxError(h,"Block collection must not have preceding content here (e.g. directives-end indicator)"));let w=new $t(h);return g=w.parse(new t(f),g),w.range=new u.Range(l,g),w}return h}),this.atLineStart=n??(e.atLineStart||!1),this.inCollection=r??(e.inCollection||!1),this.inFlow=s??(e.inFlow||!1),this.indent=i??e.indent,this.lineStart=o??e.lineStart,this.parent=a??(e.parent||{}),this.root=e.root,this.src=e.src}nodeStartsCollection(e){let{inCollection:n,inFlow:r,src:s}=this;if(n||r)return!1;if(e instanceof ut)return!0;let i=e.range.end;return s[i]===` +`&&(o+=a>l?i.slice(l,a+1):c)}else o+=c}return e.length>0?{errors:e,str:o}:o}parse(e,n){this.context=e;let{src:r}=e,s=t.endOfQuote(r,n+1);return this.valueRange=new u.Range(n,s),s=u.Node.endOfWhiteSpace(r,s),s=this.parseComment(s),s}};function Mo(t,e){switch(t){case u.Type.ALIAS:return new _n(t,e);case u.Type.BLOCK_FOLDED:case u.Type.BLOCK_LITERAL:return new xn(t,e);case u.Type.FLOW_MAP:case u.Type.FLOW_SEQ:return new Rn(t,e);case u.Type.MAP_KEY:case u.Type.MAP_VALUE:case u.Type.SEQ_ITEM:return new ut(t,e);case u.Type.COMMENT:case u.Type.PLAIN:return new u.PlainValue(t,e);case u.Type.QUOTE_DOUBLE:return new Dn(t,e);case u.Type.QUOTE_SINGLE:return new Yn(t,e);default:return null}}var Bn=class t{static parseType(e,n,r){switch(e[n]){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!r&&u.Node.atBlank(e,n+1,!0)?u.Type.MAP_KEY:u.Type.PLAIN;case":":return!r&&u.Node.atBlank(e,n+1,!0)?u.Type.MAP_VALUE:u.Type.PLAIN;case"-":return!r&&u.Node.atBlank(e,n+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(e={},{atLineStart:n,inCollection:r,inFlow:s,indent:i,lineStart:o,parent:a}={}){u._defineProperty(this,"parseNode",(c,l)=>{if(u.Node.atDocumentBoundary(this.src,l))return null;let f=new t(this,c),{props:m,type:d,valueStart:y}=f.parseProps(l),h=Mo(d,m),g=h.parse(f,y);if(h.range=new u.Range(l,g),g<=l&&(h.error=new Error("Node#parse consumed no characters"),h.error.parseEnd=g,h.error.source=h,h.range.end=l+1),f.nodeStartsCollection(h)){!h.error&&!f.atLineStart&&f.parent.type===u.Type.DOCUMENT&&(h.error=new u.YAMLSyntaxError(h,"Block collection must not have preceding content here (e.g. directives-end indicator)"));let w=new Ft(h);return g=w.parse(new t(f),g),w.range=new u.Range(l,g),w}return h}),this.atLineStart=n??(e.atLineStart||!1),this.inCollection=r??(e.inCollection||!1),this.inFlow=s??(e.inFlow||!1),this.indent=i??e.indent,this.lineStart=o??e.lineStart,this.parent=a??(e.parent||{}),this.root=e.root,this.src=e.src}nodeStartsCollection(e){let{inCollection:n,inFlow:r,src:s}=this;if(n||r)return!1;if(e instanceof ut)return!0;let i=e.range.end;return s[i]===` `||s[i-1]===` `?!1:(i=u.Node.endOfWhiteSpace(s,i),s[i]===":")}parseProps(e){let{inFlow:n,parent:r,src:s}=this,i=[],o=!1;e=this.atLineStart?u.Node.endOfIndent(s,e):u.Node.endOfWhiteSpace(s,e);let a=s[e];for(;a===u.Char.ANCHOR||a===u.Char.COMMENT||a===u.Char.TAG||a===` `;){if(a===` `){let l=e,f;do f=l+1,l=u.Node.endOfIndent(s,f);while(s[l]===` -`);let m=l-(f+this.indent),d=r.type===u.Type.SEQ_ITEM&&r.context.atLineStart;if(s[l]!=="#"&&!u.Node.nextNodeIsIndented(s[l],m,!d))break;this.atLineStart=!0,this.lineStart=f,o=!1,e=l}else if(a===u.Char.COMMENT){let l=u.Node.endOfLine(s,e+1);i.push(new u.Range(e,l)),e=l}else{let l=u.Node.endOfIdentifier(s,e+1);a===u.Char.TAG&&s[l]===","&&/^[a-zA-Z0-9-]+\.[a-zA-Z0-9-]+,\d\d\d\d(-\d\d){0,2}\/\S/.test(s.slice(e+1,l+13))&&(l=u.Node.endOfIdentifier(s,l+5)),i.push(new u.Range(e,l)),o=!0,e=u.Node.endOfWhiteSpace(s,l)}a=s[e]}o&&a===":"&&u.Node.atBlank(s,e+1,!0)&&(e-=1);let c=t.parseType(s,e,n);return{props:i,type:c,valueStart:e}}};function Mo(t){let e=[];t.indexOf("\r")!==-1&&(t=t.replace(/\r\n?/g,(s,i)=>(s.length>1&&e.push(i),` -`)));let n=[],r=0;do{let s=new _n,i=new $n({src:t});r=s.parse(i,r),n.push(s)}while(r{if(e.length===0)return!1;for(let i=1;in.join(`... -`),n}vs.parse=Mo});var $e=ee(k=>{"use strict";var p=le();function ko(t,e,n){return n?`#${n.replace(/[\s\S]^/gm,`$&${e}#`)} +`);let m=l-(f+this.indent),d=r.type===u.Type.SEQ_ITEM&&r.context.atLineStart;if(s[l]!=="#"&&!u.Node.nextNodeIsIndented(s[l],m,!d))break;this.atLineStart=!0,this.lineStart=f,o=!1,e=l}else if(a===u.Char.COMMENT){let l=u.Node.endOfLine(s,e+1);i.push(new u.Range(e,l)),e=l}else{let l=u.Node.endOfIdentifier(s,e+1);a===u.Char.TAG&&s[l]===","&&/^[a-zA-Z0-9-]+\.[a-zA-Z0-9-]+,\d\d\d\d(-\d\d){0,2}\/\S/.test(s.slice(e+1,l+13))&&(l=u.Node.endOfIdentifier(s,l+5)),i.push(new u.Range(e,l)),o=!0,e=u.Node.endOfWhiteSpace(s,l)}a=s[e]}o&&a===":"&&u.Node.atBlank(s,e+1,!0)&&(e-=1);let c=t.parseType(s,e,n);return{props:i,type:c,valueStart:e}}};function ko(t){let e=[];t.indexOf("\r")!==-1&&(t=t.replace(/\r\n?/g,(s,i)=>(s.length>1&&e.push(i),` +`)));let n=[],r=0;do{let s=new Pn,i=new Bn({src:t});r=s.parse(i,r),n.push(s)}while(r{if(e.length===0)return!1;for(let i=1;in.join(`... +`),n}_s.parse=ko});var $e=ee(k=>{"use strict";var p=le();function vo(t,e,n){return n?`#${n.replace(/[\s\S]^/gm,`$&${e}#`)} ${e}${t}`:t}function Be(t,e,n){return n?n.indexOf(` `)===-1?`${t} #${n}`:`${t} -`+n.replace(/^/gm,`${e||""}#`):t}var V=class{};function ue(t,e,n){if(Array.isArray(t))return t.map((r,s)=>ue(r,String(s),n));if(t&&typeof t.toJSON=="function"){let r=n&&n.anchors&&n.anchors.get(t);r&&(n.onCreate=i=>{r.res=i,delete n.onCreate});let s=t.toJSON(e,n);return r&&n.onCreate&&n.onCreate(s),s}return(!n||!n.keep)&&typeof t=="bigint"?Number(t):t}var P=class extends V{constructor(e){super(),this.value=e}toJSON(e,n){return n&&n.keep?this.value:ue(this.value,e,n)}toString(){return String(this.value)}};function Ps(t,e,n){let r=n;for(let s=e.length-1;s>=0;--s){let i=e[s];if(Number.isInteger(i)&&i>=0){let o=[];o[i]=r,r=o}else{let o={};Object.defineProperty(o,i,{value:r,writable:!0,enumerable:!0,configurable:!0}),r=o}}return t.createNode(r,!1)}var Rs=t=>t==null||typeof t=="object"&&t[Symbol.iterator]().next().done,W=class t extends V{constructor(e){super(),p._defineProperty(this,"items",[]),this.schema=e}addIn(e,n){if(Rs(e))this.add(n);else{let[r,...s]=e,i=this.get(r,!0);if(i instanceof t)i.addIn(s,n);else if(i===void 0&&this.schema)this.set(r,Ps(this.schema,s,n));else throw new Error(`Expected YAML collection at ${r}. Remaining path: ${s}`)}}deleteIn([e,...n]){if(n.length===0)return this.delete(e);let r=this.get(e,!0);if(r instanceof t)return r.deleteIn(n);throw new Error(`Expected YAML collection at ${e}. Remaining path: ${n}`)}getIn([e,...n],r){let s=this.get(e,!0);return n.length===0?!r&&s instanceof P?s.value:s:s instanceof t?s.getIn(n,r):void 0}hasAllNullValues(){return this.items.every(e=>{if(!e||e.type!=="PAIR")return!1;let n=e.value;return n==null||n instanceof P&&n.value==null&&!n.commentBefore&&!n.comment&&!n.tag})}hasIn([e,...n]){if(n.length===0)return this.has(e);let r=this.get(e,!0);return r instanceof t?r.hasIn(n):!1}setIn([e,...n],r){if(n.length===0)this.set(e,r);else{let s=this.get(e,!0);if(s instanceof t)s.setIn(n,r);else if(s===void 0&&this.schema)this.set(e,Ps(this.schema,n,r));else throw new Error(`Expected YAML collection at ${e}. Remaining path: ${n}`)}}toJSON(){return null}toString(e,{blockItem:n,flowChars:r,isMap:s,itemIndent:i},o,a){let{indent:c,indentStep:l,stringify:f}=e,m=this.type===p.Type.FLOW_MAP||this.type===p.Type.FLOW_SEQ||e.inFlow;m&&(i+=l);let d=s&&this.hasAllNullValues();e=Object.assign({},e,{allNullValues:d,indent:i,inFlow:m,type:null});let y=!1,h=!1,g=this.items.reduce((C,L,M)=>{let A;L&&(!y&&L.spaceBefore&&C.push({type:"comment",str:""}),L.commentBefore&&L.commentBefore.match(/^.*$/gm).forEach(Oi=>{C.push({type:"comment",str:`#${Oi}`})}),L.comment&&(A=L.comment),m&&(!y&&L.spaceBefore||L.commentBefore||L.comment||L.key&&(L.key.commentBefore||L.key.comment)||L.value&&(L.value.commentBefore||L.value.comment))&&(h=!0)),y=!1;let _=f(L,e,()=>A=null,()=>y=!0);return m&&!h&&_.includes(` +`+n.replace(/^/gm,`${e||""}#`):t}var V=class{};function ue(t,e,n){if(Array.isArray(t))return t.map((r,s)=>ue(r,String(s),n));if(t&&typeof t.toJSON=="function"){let r=n&&n.anchors&&n.anchors.get(t);r&&(n.onCreate=i=>{r.res=i,delete n.onCreate});let s=t.toJSON(e,n);return r&&n.onCreate&&n.onCreate(s),s}return(!n||!n.keep)&&typeof t=="bigint"?Number(t):t}var P=class extends V{constructor(e){super(),this.value=e}toJSON(e,n){return n&&n.keep?this.value:ue(this.value,e,n)}toString(){return String(this.value)}};function Rs(t,e,n){let r=n;for(let s=e.length-1;s>=0;--s){let i=e[s];if(Number.isInteger(i)&&i>=0){let o=[];o[i]=r,r=o}else{let o={};Object.defineProperty(o,i,{value:r,writable:!0,enumerable:!0,configurable:!0}),r=o}}return t.createNode(r,!1)}var Bs=t=>t==null||typeof t=="object"&&t[Symbol.iterator]().next().done,W=class t extends V{constructor(e){super(),p._defineProperty(this,"items",[]),this.schema=e}addIn(e,n){if(Bs(e))this.add(n);else{let[r,...s]=e,i=this.get(r,!0);if(i instanceof t)i.addIn(s,n);else if(i===void 0&&this.schema)this.set(r,Rs(this.schema,s,n));else throw new Error(`Expected YAML collection at ${r}. Remaining path: ${s}`)}}deleteIn([e,...n]){if(n.length===0)return this.delete(e);let r=this.get(e,!0);if(r instanceof t)return r.deleteIn(n);throw new Error(`Expected YAML collection at ${e}. Remaining path: ${n}`)}getIn([e,...n],r){let s=this.get(e,!0);return n.length===0?!r&&s instanceof P?s.value:s:s instanceof t?s.getIn(n,r):void 0}hasAllNullValues(){return this.items.every(e=>{if(!e||e.type!=="PAIR")return!1;let n=e.value;return n==null||n instanceof P&&n.value==null&&!n.commentBefore&&!n.comment&&!n.tag})}hasIn([e,...n]){if(n.length===0)return this.has(e);let r=this.get(e,!0);return r instanceof t?r.hasIn(n):!1}setIn([e,...n],r){if(n.length===0)this.set(e,r);else{let s=this.get(e,!0);if(s instanceof t)s.setIn(n,r);else if(s===void 0&&this.schema)this.set(e,Rs(this.schema,n,r));else throw new Error(`Expected YAML collection at ${e}. Remaining path: ${n}`)}}toJSON(){return null}toString(e,{blockItem:n,flowChars:r,isMap:s,itemIndent:i},o,a){let{indent:c,indentStep:l,stringify:f}=e,m=this.type===p.Type.FLOW_MAP||this.type===p.Type.FLOW_SEQ||e.inFlow;m&&(i+=l);let d=s&&this.hasAllNullValues();e=Object.assign({},e,{allNullValues:d,indent:i,inFlow:m,type:null});let y=!1,h=!1,g=this.items.reduce((C,L,M)=>{let A;L&&(!y&&L.spaceBefore&&C.push({type:"comment",str:""}),L.commentBefore&&L.commentBefore.match(/^.*$/gm).forEach(Li=>{C.push({type:"comment",str:`#${Li}`})}),L.comment&&(A=L.comment),m&&(!y&&L.spaceBefore||L.commentBefore||L.comment||L.key&&(L.key.commentBefore||L.key.comment)||L.value&&(L.value.commentBefore||L.value.comment))&&(h=!0)),y=!1;let _=f(L,e,()=>A=null,()=>y=!0);return m&&!h&&_.includes(` `)&&(h=!0),m&&MA.str);if(h||M.reduce((A,_)=>A+_.length+2,2)>t.maxFlowStringSingleLineLength){w=C;for(let A of M)w+=A?` ${l}${c}${A}`:` `;w+=` ${c}${L}`}else w=`${C} ${M.join(" ")} ${L}`}else{let C=g.map(n);w=C.shift();for(let L of C)w+=L?` ${c}${L}`:` `}return this.comment?(w+=` -`+this.comment.replace(/^/gm,`${c}#`),o&&o()):y&&a&&a(),w}};p._defineProperty(W,"maxFlowStringSingleLineLength",60);function Ft(t){let e=t instanceof P?t.value:t;return e&&typeof e=="string"&&(e=Number(e)),Number.isInteger(e)&&e>=0?e:null}var pe=class extends W{add(e){this.items.push(e)}delete(e){let n=Ft(e);return typeof n!="number"?!1:this.items.splice(n,1).length>0}get(e,n){let r=Ft(e);if(typeof r!="number")return;let s=this.items[r];return!n&&s instanceof P?s.value:s}has(e){let n=Ft(e);return typeof n=="number"&&ns.type==="comment"?s.str:`- ${s.str}`,flowChars:{start:"[",end:"]"},isMap:!1,itemIndent:(e.indent||"")+" "},n,r):JSON.stringify(this)}},vo=(t,e,n)=>e===null?"":typeof e!="object"?String(e):t instanceof V&&n&&n.doc?t.toString({anchors:Object.create(null),doc:n.doc,indent:"",indentStep:n.indentStep,inFlow:!0,inStringifyKey:!0,stringify:n.stringify}):JSON.stringify(e),T=class t extends V{constructor(e,n=null){super(),this.key=e,this.value=n,this.type=t.Type.PAIR}get commentBefore(){return this.key instanceof V?this.key.commentBefore:void 0}set commentBefore(e){if(this.key==null&&(this.key=new P(null)),this.key instanceof V)this.key.commentBefore=e;else{let n="Pair.commentBefore is an alias for Pair.key.commentBefore. To set it, the key must be a Node.";throw new Error(n)}}addToJSMap(e,n){let r=ue(this.key,"",e);if(n instanceof Map){let s=ue(this.value,r,e);n.set(r,s)}else if(n instanceof Set)n.add(r);else{let s=vo(this.key,r,e),i=ue(this.value,s,e);s in n?Object.defineProperty(n,s,{value:i,writable:!0,enumerable:!0,configurable:!0}):n[s]=i}return n}toJSON(e,n){let r=n&&n.mapAsMap?new Map:{};return this.addToJSMap(n,r)}toString(e,n,r){if(!e||!e.doc)return JSON.stringify(this);let{indent:s,indentSeq:i,simpleKeys:o}=e.doc.options,{key:a,value:c}=this,l=a instanceof V&&a.comment;if(o){if(l)throw new Error("With simple keys, key nodes cannot have comments");if(a instanceof W){let _="With simple keys, collection cannot be used as a key value";throw new Error(_)}}let f=!o&&(!a||l||(a instanceof V?a instanceof W||a.type===p.Type.BLOCK_FOLDED||a.type===p.Type.BLOCK_LITERAL:typeof a=="object")),{doc:m,indent:d,indentStep:y,stringify:h}=e;e=Object.assign({},e,{implicitKey:!f,indent:d+y});let g=!1,w=h(a,e,()=>l=null,()=>g=!0);if(w=Be(w,e.indent,l),!f&&w.length>1024){if(o)throw new Error("With simple keys, single line scalar must not span more than 1024 characters");f=!0}if(e.allNullValues&&!o)return this.comment?(w=Be(w,e.indent,this.comment),n&&n()):g&&!l&&r&&r(),e.inFlow&&!f?w:`? ${w}`;w=f?`? ${w} +`+this.comment.replace(/^/gm,`${c}#`),o&&o()):y&&a&&a(),w}};p._defineProperty(W,"maxFlowStringSingleLineLength",60);function qt(t){let e=t instanceof P?t.value:t;return e&&typeof e=="string"&&(e=Number(e)),Number.isInteger(e)&&e>=0?e:null}var pe=class extends W{add(e){this.items.push(e)}delete(e){let n=qt(e);return typeof n!="number"?!1:this.items.splice(n,1).length>0}get(e,n){let r=qt(e);if(typeof r!="number")return;let s=this.items[r];return!n&&s instanceof P?s.value:s}has(e){let n=qt(e);return typeof n=="number"&&ns.type==="comment"?s.str:`- ${s.str}`,flowChars:{start:"[",end:"]"},isMap:!1,itemIndent:(e.indent||"")+" "},n,r):JSON.stringify(this)}},Io=(t,e,n)=>e===null?"":typeof e!="object"?String(e):t instanceof V&&n&&n.doc?t.toString({anchors:Object.create(null),doc:n.doc,indent:"",indentStep:n.indentStep,inFlow:!0,inStringifyKey:!0,stringify:n.stringify}):JSON.stringify(e),T=class t extends V{constructor(e,n=null){super(),this.key=e,this.value=n,this.type=t.Type.PAIR}get commentBefore(){return this.key instanceof V?this.key.commentBefore:void 0}set commentBefore(e){if(this.key==null&&(this.key=new P(null)),this.key instanceof V)this.key.commentBefore=e;else{let n="Pair.commentBefore is an alias for Pair.key.commentBefore. To set it, the key must be a Node.";throw new Error(n)}}addToJSMap(e,n){let r=ue(this.key,"",e);if(n instanceof Map){let s=ue(this.value,r,e);n.set(r,s)}else if(n instanceof Set)n.add(r);else{let s=Io(this.key,r,e),i=ue(this.value,s,e);s in n?Object.defineProperty(n,s,{value:i,writable:!0,enumerable:!0,configurable:!0}):n[s]=i}return n}toJSON(e,n){let r=n&&n.mapAsMap?new Map:{};return this.addToJSMap(n,r)}toString(e,n,r){if(!e||!e.doc)return JSON.stringify(this);let{indent:s,indentSeq:i,simpleKeys:o}=e.doc.options,{key:a,value:c}=this,l=a instanceof V&&a.comment;if(o){if(l)throw new Error("With simple keys, key nodes cannot have comments");if(a instanceof W){let _="With simple keys, collection cannot be used as a key value";throw new Error(_)}}let f=!o&&(!a||l||(a instanceof V?a instanceof W||a.type===p.Type.BLOCK_FOLDED||a.type===p.Type.BLOCK_LITERAL:typeof a=="object")),{doc:m,indent:d,indentStep:y,stringify:h}=e;e=Object.assign({},e,{implicitKey:!f,indent:d+y});let g=!1,w=h(a,e,()=>l=null,()=>g=!0);if(w=Be(w,e.indent,l),!f&&w.length>1024){if(o)throw new Error("With simple keys, single line scalar must not span more than 1024 characters");f=!0}if(e.allNullValues&&!o)return this.comment?(w=Be(w,e.indent,this.comment),n&&n()):g&&!l&&r&&r(),e.inFlow&&!f?w:`? ${w}`;w=f?`? ${w} ${d}:`:`${w}:`,this.comment&&(w=Be(w,e.indent,this.comment),n&&n());let C="",L=null;if(c instanceof V){if(c.spaceBefore&&(C=` `),c.commentBefore){let _=c.commentBefore.replace(/^/gm,`${e.indent}#`);C+=` ${_}`}L=c.comment}else c&&typeof c=="object"&&(c=m.schema.createNode(c,!0));e.implicitKey=!1,!f&&!this.comment&&c instanceof P&&(e.indentAtStart=w.length+1),g=!1,!i&&s>=2&&!e.inFlow&&!f&&c instanceof pe&&c.type!==p.Type.FLOW_SEQ&&!c.tag&&!m.anchors.getName(c)&&(e.indent=e.indent.substr(2));let M=h(c,e,()=>L=null,()=>g=!0),A=" ";return C||this.comment?A=`${C} ${e.indent}`:!f&&c instanceof W?(!(M[0]==="["||M[0]==="{")||M.includes(` `))&&(A=` ${e.indent}`):M[0]===` -`&&(A=""),g&&!L&&r&&r(),Be(w+A+M,e.indent,L)}};p._defineProperty(T,"Type",{PAIR:"PAIR",MERGE_PAIR:"MERGE_PAIR"});var qt=(t,e)=>{if(t instanceof we){let n=e.get(t.source);return n.count*n.aliasCount}else if(t instanceof W){let n=0;for(let r of t.items){let s=qt(r,e);s>n&&(n=s)}return n}else if(t instanceof T){let n=qt(t.key,e),r=qt(t.value,e);return Math.max(n,r)}return 1},we=class t extends V{static stringify({range:e,source:n},{anchors:r,doc:s,implicitKey:i,inStringifyKey:o}){let a=Object.keys(r).find(l=>r[l]===n);if(!a&&o&&(a=s.anchors.getName(n)||s.anchors.newName()),a)return`*${a}${i?" ":""}`;let c=s.anchors.getName(n)?"Alias node must be after source node":"Source node not found for alias node";throw new Error(`${c} [${e}]`)}constructor(e){super(),this.source=e,this.type=p.Type.ALIAS}set tag(e){throw new Error("Alias nodes cannot have tags")}toJSON(e,n){if(!n)return ue(this.source,e,n);let{anchors:r,maxAliasCount:s}=n,i=r.get(this.source);if(!i||i.res===void 0){let o="This should not happen: Alias anchor was not resolved?";throw this.cstNode?new p.YAMLReferenceError(this.cstNode,o):new ReferenceError(o)}if(s>=0&&(i.count+=1,i.aliasCount===0&&(i.aliasCount=qt(this.source,r)),i.count*i.aliasCount>s)){let o="Excessive alias count indicates a resource exhaustion attack";throw this.cstNode?new p.YAMLReferenceError(this.cstNode,o):new ReferenceError(o)}return i.res}toString(e){return t.stringify(this,e)}};p._defineProperty(we,"default",!0);function pt(t,e){let n=e instanceof P?e.value:e;for(let r of t)if(r instanceof T&&(r.key===e||r.key===n||r.key&&r.key.value===n))return r}var mt=class extends W{add(e,n){e?e instanceof T||(e=new T(e.key||e,e.value)):e=new T(e);let r=pt(this.items,e.key),s=this.schema&&this.schema.sortMapEntries;if(r)if(n)r.value=e.value;else throw new Error(`Key ${e.key} already set`);else if(s){let i=this.items.findIndex(o=>s(e,o)<0);i===-1?this.items.push(e):this.items.splice(i,0,e)}else this.items.push(e)}delete(e){let n=pt(this.items,e);return n?this.items.splice(this.items.indexOf(n),1).length>0:!1}get(e,n){let r=pt(this.items,e),s=r&&r.value;return!n&&s instanceof P?s.value:s}has(e){return!!pt(this.items,e)}set(e,n){this.add(new T(e,n),!0)}toJSON(e,n,r){let s=r?new r:n&&n.mapAsMap?new Map:{};n&&n.onCreate&&n.onCreate(s);for(let i of this.items)i.addToJSMap(n,s);return s}toString(e,n,r){if(!e)return JSON.stringify(this);for(let s of this.items)if(!(s instanceof T))throw new Error(`Map items must all be pairs; found ${JSON.stringify(s)} instead`);return super.toString(e,{blockItem:s=>s.str,flowChars:{start:"{",end:"}"},isMap:!0,itemIndent:e.indent||""},n,r)}},Ds="<<",Vt=class extends T{constructor(e){if(e instanceof T){let n=e.value;n instanceof pe||(n=new pe,n.items.push(e.value),n.range=e.value.range),super(e.key,n),this.range=e.range}else super(new P(Ds),new pe);this.type=T.Type.MERGE_PAIR}addToJSMap(e,n){for(let{source:r}of this.value.items){if(!(r instanceof mt))throw new Error("Merge sources must be maps");let s=r.toJSON(null,e,Map);for(let[i,o]of s)n instanceof Map?n.has(i)||n.set(i,o):n instanceof Set?n.add(i):Object.prototype.hasOwnProperty.call(n,i)||Object.defineProperty(n,i,{value:o,writable:!0,enumerable:!0,configurable:!0})}return n}toString(e,n){let r=this.value;if(r.items.length>1)return super.toString(e,n);this.value=r.items[0];let s=super.toString(e,n);return this.value=r,s}},Io={defaultType:p.Type.BLOCK_LITERAL,lineWidth:76},Po={trueStr:"true",falseStr:"false"},_o={asBigInt:!1},xo={nullStr:"null"},be={defaultType:p.Type.PLAIN,doubleQuoted:{jsonEncoding:!1,minMultiLineLength:40},fold:{lineWidth:80,minContentWidth:20}};function qn(t,e,n){for(let{format:r,test:s,resolve:i}of e)if(s){let o=t.match(s);if(o){let a=i.apply(null,o);return a instanceof P||(a=new P(a)),r&&(a.format=r),a}}return n&&(t=n(t)),new P(t)}var Ys="flow",Fn="block",Ut="quoted",_s=(t,e)=>{let n=t[e+1];for(;n===" "||n===" ";){do n=t[e+=1];while(n&&n!==` -`);n=t[e+1]}return e};function Wt(t,e,n,{indentAtStart:r,lineWidth:s=80,minContentWidth:i=20,onFold:o,onOverflow:a}){if(!s||s<0)return t;let c=Math.max(1+i,1+s-e.length);if(t.length<=c)return t;let l=[],f={},m=s-e.length;typeof r=="number"&&(r>s-Math.max(2,i)?l.push(0):m=s-r);let d,y,h=!1,g=-1,w=-1,C=-1;n===Fn&&(g=_s(t,g),g!==-1&&(m=g+c));for(let M;M=t[g+=1];){if(n===Ut&&M==="\\"){switch(w=g,t[g+1]){case"x":g+=3;break;case"u":g+=5;break;case"U":g+=9;break;default:g+=1}C=g}if(M===` -`)n===Fn&&(g=_s(t,g)),m=g+c,d=void 0;else{if(M===" "&&y&&y!==" "&&y!==` +`&&(A=""),g&&!L&&r&&r(),Be(w+A+M,e.indent,L)}};p._defineProperty(T,"Type",{PAIR:"PAIR",MERGE_PAIR:"MERGE_PAIR"});var Ut=(t,e)=>{if(t instanceof we){let n=e.get(t.source);return n.count*n.aliasCount}else if(t instanceof W){let n=0;for(let r of t.items){let s=Ut(r,e);s>n&&(n=s)}return n}else if(t instanceof T){let n=Ut(t.key,e),r=Ut(t.value,e);return Math.max(n,r)}return 1},we=class t extends V{static stringify({range:e,source:n},{anchors:r,doc:s,implicitKey:i,inStringifyKey:o}){let a=Object.keys(r).find(l=>r[l]===n);if(!a&&o&&(a=s.anchors.getName(n)||s.anchors.newName()),a)return`*${a}${i?" ":""}`;let c=s.anchors.getName(n)?"Alias node must be after source node":"Source node not found for alias node";throw new Error(`${c} [${e}]`)}constructor(e){super(),this.source=e,this.type=p.Type.ALIAS}set tag(e){throw new Error("Alias nodes cannot have tags")}toJSON(e,n){if(!n)return ue(this.source,e,n);let{anchors:r,maxAliasCount:s}=n,i=r.get(this.source);if(!i||i.res===void 0){let o="This should not happen: Alias anchor was not resolved?";throw this.cstNode?new p.YAMLReferenceError(this.cstNode,o):new ReferenceError(o)}if(s>=0&&(i.count+=1,i.aliasCount===0&&(i.aliasCount=Ut(this.source,r)),i.count*i.aliasCount>s)){let o="Excessive alias count indicates a resource exhaustion attack";throw this.cstNode?new p.YAMLReferenceError(this.cstNode,o):new ReferenceError(o)}return i.res}toString(e){return t.stringify(this,e)}};p._defineProperty(we,"default",!0);function pt(t,e){let n=e instanceof P?e.value:e;for(let r of t)if(r instanceof T&&(r.key===e||r.key===n||r.key&&r.key.value===n))return r}var mt=class extends W{add(e,n){e?e instanceof T||(e=new T(e.key||e,e.value)):e=new T(e);let r=pt(this.items,e.key),s=this.schema&&this.schema.sortMapEntries;if(r)if(n)r.value=e.value;else throw new Error(`Key ${e.key} already set`);else if(s){let i=this.items.findIndex(o=>s(e,o)<0);i===-1?this.items.push(e):this.items.splice(i,0,e)}else this.items.push(e)}delete(e){let n=pt(this.items,e);return n?this.items.splice(this.items.indexOf(n),1).length>0:!1}get(e,n){let r=pt(this.items,e),s=r&&r.value;return!n&&s instanceof P?s.value:s}has(e){return!!pt(this.items,e)}set(e,n){this.add(new T(e,n),!0)}toJSON(e,n,r){let s=r?new r:n&&n.mapAsMap?new Map:{};n&&n.onCreate&&n.onCreate(s);for(let i of this.items)i.addToJSMap(n,s);return s}toString(e,n,r){if(!e)return JSON.stringify(this);for(let s of this.items)if(!(s instanceof T))throw new Error(`Map items must all be pairs; found ${JSON.stringify(s)} instead`);return super.toString(e,{blockItem:s=>s.str,flowChars:{start:"{",end:"}"},isMap:!0,itemIndent:e.indent||""},n,r)}},$s="<<",Wt=class extends T{constructor(e){if(e instanceof T){let n=e.value;n instanceof pe||(n=new pe,n.items.push(e.value),n.range=e.value.range),super(e.key,n),this.range=e.range}else super(new P($s),new pe);this.type=T.Type.MERGE_PAIR}addToJSMap(e,n){for(let{source:r}of this.value.items){if(!(r instanceof mt))throw new Error("Merge sources must be maps");let s=r.toJSON(null,e,Map);for(let[i,o]of s)n instanceof Map?n.has(i)||n.set(i,o):n instanceof Set?n.add(i):Object.prototype.hasOwnProperty.call(n,i)||Object.defineProperty(n,i,{value:o,writable:!0,enumerable:!0,configurable:!0})}return n}toString(e,n){let r=this.value;if(r.items.length>1)return super.toString(e,n);this.value=r.items[0];let s=super.toString(e,n);return this.value=r,s}},Po={defaultType:p.Type.BLOCK_LITERAL,lineWidth:76},_o={trueStr:"true",falseStr:"false"},xo={asBigInt:!1},Ro={nullStr:"null"},be={defaultType:p.Type.PLAIN,doubleQuoted:{jsonEncoding:!1,minMultiLineLength:40},fold:{lineWidth:80,minContentWidth:20}};function Fn(t,e,n){for(let{format:r,test:s,resolve:i}of e)if(s){let o=t.match(s);if(o){let a=i.apply(null,o);return a instanceof P||(a=new P(a)),r&&(a.format=r),a}}return n&&(t=n(t)),new P(t)}var Fs="flow",$n="block",Kt="quoted",Ds=(t,e)=>{let n=t[e+1];for(;n===" "||n===" ";){do n=t[e+=1];while(n&&n!==` +`);n=t[e+1]}return e};function jt(t,e,n,{indentAtStart:r,lineWidth:s=80,minContentWidth:i=20,onFold:o,onOverflow:a}){if(!s||s<0)return t;let c=Math.max(1+i,1+s-e.length);if(t.length<=c)return t;let l=[],f={},m=s-e.length;typeof r=="number"&&(r>s-Math.max(2,i)?l.push(0):m=s-r);let d,y,h=!1,g=-1,w=-1,C=-1;n===$n&&(g=Ds(t,g),g!==-1&&(m=g+c));for(let M;M=t[g+=1];){if(n===Kt&&M==="\\"){switch(w=g,t[g+1]){case"x":g+=3;break;case"u":g+=5;break;case"U":g+=9;break;default:g+=1}C=g}if(M===` +`)n===$n&&(g=Ds(t,g)),m=g+c,d=void 0;else{if(M===" "&&y&&y!==" "&&y!==` `&&y!==" "){let A=t[g+1];A&&A!==" "&&A!==` -`&&A!==" "&&(d=g)}if(g>=m)if(d)l.push(d),m=d+c,d=void 0;else if(n===Ut){for(;y===" "||y===" ";)y=M,M=t[g+=1],h=!0;let A=g>C+1?g-2:w-1;if(f[A])return t;l.push(A),f[A]=!0,m=A+c,d=void 0}else h=!0}y=M}if(h&&a&&a(),l.length===0)return t;o&&o();let L=t.slice(0,l[0]);for(let M=0;Mt?Object.assign({indentAtStart:t},be.fold):be.fold,jt=t=>/^(%|---|\.\.\.)/m.test(t);function Ro(t,e,n){if(!e||e<0)return!1;let r=e-n,s=t.length;if(s<=r)return!1;for(let i=0,o=0;ir)return!0;if(o=i+1,s-o<=r)return!1}return!0}function Se(t,e){let{implicitKey:n}=e,{jsonEncoding:r,minMultiLineLength:s}=be.doubleQuoted,i=JSON.stringify(t);if(r)return i;let o=e.indent||(jt(t)?" ":""),a="",c=0;for(let l=0,f=i[l];f;f=i[++l])if(f===" "&&i[l+1]==="\\"&&i[l+2]==="n"&&(a+=i.slice(c,l)+"\\ ",l+=1,c=l,f="\\"),f==="\\")switch(i[l+1]){case"u":{a+=i.slice(c,l);let m=i.substr(l+2,4);switch(m){case"0000":a+="\\0";break;case"0007":a+="\\a";break;case"000b":a+="\\v";break;case"001b":a+="\\e";break;case"0085":a+="\\N";break;case"00a0":a+="\\_";break;case"2028":a+="\\L";break;case"2029":a+="\\P";break;default:m.substr(0,2)==="00"?a+="\\x"+m.substr(2):a+=i.substr(l,6)}l+=5,c=l+1}break;case"n":if(n||i[l+2]==='"'||i.length=m)if(d)l.push(d),m=d+c,d=void 0;else if(n===Kt){for(;y===" "||y===" ";)y=M,M=t[g+=1],h=!0;let A=g>C+1?g-2:w-1;if(f[A])return t;l.push(A),f[A]=!0,m=A+c,d=void 0}else h=!0}y=M}if(h&&a&&a(),l.length===0)return t;o&&o();let L=t.slice(0,l[0]);for(let M=0;Mt?Object.assign({indentAtStart:t},be.fold):be.fold,Qt=t=>/^(%|---|\.\.\.)/m.test(t);function Do(t,e,n){if(!e||e<0)return!1;let r=e-n,s=t.length;if(s<=r)return!1;for(let i=0,o=0;ir)return!0;if(o=i+1,s-o<=r)return!1}return!0}function Se(t,e){let{implicitKey:n}=e,{jsonEncoding:r,minMultiLineLength:s}=be.doubleQuoted,i=JSON.stringify(t);if(r)return i;let o=e.indent||(Qt(t)?" ":""),a="",c=0;for(let l=0,f=i[l];f;f=i[++l])if(f===" "&&i[l+1]==="\\"&&i[l+2]==="n"&&(a+=i.slice(c,l)+"\\ ",l+=1,c=l,f="\\"),f==="\\")switch(i[l+1]){case"u":{a+=i.slice(c,l);let m=i.substr(l+2,4);switch(m){case"0000":a+="\\0";break;case"0007":a+="\\a";break;case"000b":a+="\\v";break;case"001b":a+="\\e";break;case"0085":a+="\\N";break;case"00a0":a+="\\_";break;case"2028":a+="\\L";break;case"2029":a+="\\P";break;default:m.substr(0,2)==="00"?a+="\\x"+m.substr(2):a+=i.substr(l,6)}l+=5,c=l+1}break;case"n":if(n||i[l+2]==='"'||i.length";if(!n)return l+` +`,l+=2;a+=o,i[l+2]===" "&&(a+="\\"),l+=1,c=l+1}break;default:l+=1}return a=c?a+i.slice(c):i,n?a:jt(a,o,Kt,qn(e))}function qs(t,e){if(e.implicitKey){if(/\n/.test(t))return Se(t,e)}else if(/[ \t]\n|\n[ \t]/.test(t))return Se(t,e);let n=e.indent||(Qt(t)?" ":""),r="'"+t.replace(/'/g,"''").replace(/\n+/g,`$& +${n}`)+"'";return e.implicitKey?r:jt(r,n,Fs,qn(e))}function Vt({comment:t,type:e,value:n},r,s,i){if(/\n[\t ]+$/.test(n)||/^\s*$/.test(n))return Se(n,r);let o=r.indent||(r.forceBlockIndent||Qt(n)?" ":""),a=o?"2":"1",c=e===p.Type.BLOCK_FOLDED?!1:e===p.Type.BLOCK_LITERAL?!0:!Do(n,be.fold.lineWidth,o.length),l=c?"|":">";if(!n)return l+` `;let f="",m="";if(n=n.replace(/[\n\t ]*$/,y=>{let h=y.indexOf(` `);return h===-1?l+="-":(n===y||h!==y.length-1)&&(l+="+",i&&i()),m=y.replace(/\n$/,""),""}).replace(/^[\n ]*/,y=>{y.indexOf(" ")!==-1&&(l+=a);let h=y.match(/ +$/);return h?(f=y.slice(0,-h[0].length),h[0]):(f=y,"")}),m&&(m=m.replace(/\n+(?!\n|$)/g,`$&${o}`)),f&&(f=f.replace(/\n+/g,`$&${o}`)),t&&(l+=" #"+t.replace(/ ?[\r\n]+/g," "),s&&s()),!n)return`${l}${a} ${o}${m}`;if(c)return n=n.replace(/\n+/g,`$&${o}`),`${l} ${o}${f}${n}${m}`;n=n.replace(/\n+/g,` -$&`).replace(/(?:^|\n)([\t ].*)(?:([\n\t ]*)\n(?![\n\t ]))?/g,"$1$2").replace(/\n+/g,`$&${o}`);let d=Wt(`${f}${n}${m}`,o,Fn,be.fold);return`${l} -${o}${d}`}function Do(t,e,n,r){let{comment:s,type:i,value:o}=t,{actualString:a,implicitKey:c,indent:l,inFlow:f}=e;if(c&&/[\n[\]{},]/.test(o)||f&&/[[\]{},]/.test(o))return Se(o,e);if(!o||/^[\n\t ,[\]{}#&*!|>'"%@`]|^[?-]$|^[?-][ \t]|[\n:][ \t]|[ \t]\n|[\n\t ]#|[\n\t :]$/.test(o))return c||f||o.indexOf(` -`)===-1?o.indexOf('"')!==-1&&o.indexOf("'")===-1?Bs(o,e):Se(o,e):Kt(t,e,n,r);if(!c&&!f&&i!==p.Type.PLAIN&&o.indexOf(` -`)!==-1)return Kt(t,e,n,r);if(l===""&&jt(o))return e.forceBlockIndent=!0,Kt(t,e,n,r);let m=o.replace(/\n+/g,`$& -${l}`);if(a){let{tags:y}=e.doc.schema;if(typeof qn(m,y,y.scalarFallback).value!="string")return Se(o,e)}let d=c?m:Wt(m,l,Ys,Un(e));return s&&!f&&(d.indexOf(` +$&`).replace(/(?:^|\n)([\t ].*)(?:([\n\t ]*)\n(?![\n\t ]))?/g,"$1$2").replace(/\n+/g,`$&${o}`);let d=jt(`${f}${n}${m}`,o,$n,be.fold);return`${l} +${o}${d}`}function Yo(t,e,n,r){let{comment:s,type:i,value:o}=t,{actualString:a,implicitKey:c,indent:l,inFlow:f}=e;if(c&&/[\n[\]{},]/.test(o)||f&&/[[\]{},]/.test(o))return Se(o,e);if(!o||/^[\n\t ,[\]{}#&*!|>'"%@`]|^[?-]$|^[?-][ \t]|[\n:][ \t]|[ \t]\n|[\n\t ]#|[\n\t :]$/.test(o))return c||f||o.indexOf(` +`)===-1?o.indexOf('"')!==-1&&o.indexOf("'")===-1?qs(o,e):Se(o,e):Vt(t,e,n,r);if(!c&&!f&&i!==p.Type.PLAIN&&o.indexOf(` +`)!==-1)return Vt(t,e,n,r);if(l===""&&Qt(o))return e.forceBlockIndent=!0,Vt(t,e,n,r);let m=o.replace(/\n+/g,`$& +${l}`);if(a){let{tags:y}=e.doc.schema;if(typeof Fn(m,y,y.scalarFallback).value!="string")return Se(o,e)}let d=c?m:jt(m,l,Fs,qn(e));return s&&!f&&(d.indexOf(` `)!==-1||s.indexOf(` -`)!==-1)?(n&&n(),ko(d,l,s)):d}function Yo(t,e,n,r){let{defaultType:s}=be,{implicitKey:i,inFlow:o}=e,{type:a,value:c}=t;typeof c!="string"&&(c=String(c),t=Object.assign({},t,{value:c}));let l=m=>{switch(m){case p.Type.BLOCK_FOLDED:case p.Type.BLOCK_LITERAL:return Kt(t,e,n,r);case p.Type.QUOTE_DOUBLE:return Se(c,e);case p.Type.QUOTE_SINGLE:return Bs(c,e);case p.Type.PLAIN:return Do(t,e,n,r);default:return null}};(a!==p.Type.QUOTE_DOUBLE&&/[\x00-\x08\x0b-\x1f\x7f-\x9f]/.test(c)||(i||o)&&(a===p.Type.BLOCK_FOLDED||a===p.Type.BLOCK_LITERAL))&&(a=p.Type.QUOTE_DOUBLE);let f=l(a);if(f===null&&(f=l(s),f===null))throw new Error(`Unsupported default string type ${s}`);return f}function Bo({format:t,minFractionDigits:e,tag:n,value:r}){if(typeof r=="bigint")return String(r);if(!isFinite(r))return isNaN(r)?".nan":r<0?"-.inf":".inf";let s=JSON.stringify(r);if(!t&&e&&(!n||n==="tag:yaml.org,2002:float")&&/^\d/.test(s)){let i=s.indexOf(".");i<0&&(i=s.length,s+=".");let o=e-(s.length-i-1);for(;o-- >0;)s+="0"}return s}function $s(t,e){let n,r;switch(e.type){case p.Type.FLOW_MAP:n="}",r="flow map";break;case p.Type.FLOW_SEQ:n="]",r="flow sequence";break;default:t.push(new p.YAMLSemanticError(e,"Not a flow collection!?"));return}let s;for(let i=e.items.length-1;i>=0;--i){let o=e.items[i];if(!o||o.type!==p.Type.COMMENT){s=o;break}}if(s&&s.char!==n){let i=`Expected ${r} to end with ${n}`,o;typeof s.offset=="number"?(o=new p.YAMLSemanticError(e,i),o.offset=s.offset+1):(o=new p.YAMLSemanticError(s,i),s.range&&s.range.end&&(o.offset=s.range.end-s.range.start)),t.push(o)}}function Fs(t,e){let n=e.context.src[e.range.start-1];if(n!==` -`&&n!==" "&&n!==" "){let r="Comments must be separated from other tokens by white space characters";t.push(new p.YAMLSemanticError(e,r))}}function qs(t,e){let n=String(e),r=n.substr(0,8)+"..."+n.substr(-8);return new p.YAMLSemanticError(t,`The "${r}" key is too long`)}function Us(t,e){for(let{afterKey:n,before:r,comment:s}of e){let i=t.items[r];i?(n&&i.value&&(i=i.value),s===void 0?(n||!i.commentBefore)&&(i.spaceBefore=!0):i.commentBefore?i.commentBefore+=` +`)!==-1)?(n&&n(),vo(d,l,s)):d}function Bo(t,e,n,r){let{defaultType:s}=be,{implicitKey:i,inFlow:o}=e,{type:a,value:c}=t;typeof c!="string"&&(c=String(c),t=Object.assign({},t,{value:c}));let l=m=>{switch(m){case p.Type.BLOCK_FOLDED:case p.Type.BLOCK_LITERAL:return Vt(t,e,n,r);case p.Type.QUOTE_DOUBLE:return Se(c,e);case p.Type.QUOTE_SINGLE:return qs(c,e);case p.Type.PLAIN:return Yo(t,e,n,r);default:return null}};(a!==p.Type.QUOTE_DOUBLE&&/[\x00-\x08\x0b-\x1f\x7f-\x9f]/.test(c)||(i||o)&&(a===p.Type.BLOCK_FOLDED||a===p.Type.BLOCK_LITERAL))&&(a=p.Type.QUOTE_DOUBLE);let f=l(a);if(f===null&&(f=l(s),f===null))throw new Error(`Unsupported default string type ${s}`);return f}function $o({format:t,minFractionDigits:e,tag:n,value:r}){if(typeof r=="bigint")return String(r);if(!isFinite(r))return isNaN(r)?".nan":r<0?"-.inf":".inf";let s=JSON.stringify(r);if(!t&&e&&(!n||n==="tag:yaml.org,2002:float")&&/^\d/.test(s)){let i=s.indexOf(".");i<0&&(i=s.length,s+=".");let o=e-(s.length-i-1);for(;o-- >0;)s+="0"}return s}function Us(t,e){let n,r;switch(e.type){case p.Type.FLOW_MAP:n="}",r="flow map";break;case p.Type.FLOW_SEQ:n="]",r="flow sequence";break;default:t.push(new p.YAMLSemanticError(e,"Not a flow collection!?"));return}let s;for(let i=e.items.length-1;i>=0;--i){let o=e.items[i];if(!o||o.type!==p.Type.COMMENT){s=o;break}}if(s&&s.char!==n){let i=`Expected ${r} to end with ${n}`,o;typeof s.offset=="number"?(o=new p.YAMLSemanticError(e,i),o.offset=s.offset+1):(o=new p.YAMLSemanticError(s,i),s.range&&s.range.end&&(o.offset=s.range.end-s.range.start)),t.push(o)}}function Ks(t,e){let n=e.context.src[e.range.start-1];if(n!==` +`&&n!==" "&&n!==" "){let r="Comments must be separated from other tokens by white space characters";t.push(new p.YAMLSemanticError(e,r))}}function Vs(t,e){let n=String(e),r=n.substr(0,8)+"..."+n.substr(-8);return new p.YAMLSemanticError(t,`The "${r}" key is too long`)}function Ws(t,e){for(let{afterKey:n,before:r,comment:s}of e){let i=t.items[r];i?(n&&i.value&&(i=i.value),s===void 0?(n||!i.commentBefore)&&(i.spaceBefore=!0):i.commentBefore?i.commentBefore+=` `+s:i.commentBefore=s):s!==void 0&&(t.comment?t.comment+=` -`+s:t.comment=s)}}function Kn(t,e){let n=e.strValue;return n?typeof n=="string"?n:(n.errors.forEach(r=>{r.source||(r.source=e),t.errors.push(r)}),n.str):""}function $o(t,e){let{handle:n,suffix:r}=e.tag,s=t.tagPrefixes.find(i=>i.handle===n);if(!s){let i=t.getDefaults().tagPrefixes;if(i&&(s=i.find(o=>o.handle===n)),!s)throw new p.YAMLSemanticError(e,`The ${n} tag handle is non-default and was not declared.`)}if(!r)throw new p.YAMLSemanticError(e,`The ${n} tag has no suffix.`);if(n==="!"&&(t.version||t.options.version)==="1.0"){if(r[0]==="^")return t.warnings.push(new p.YAMLWarning(e,"YAML 1.0 ^ tag expansion is not supported")),r;if(/[:/]/.test(r)){let i=r.match(/^([a-z0-9-]+)\/(.*)/i);return i?`tag:${i[1]}.yaml.org,2002:${i[2]}`:`tag:${r}`}}return s.prefix+decodeURIComponent(r)}function Fo(t,e){let{tag:n,type:r}=e,s=!1;if(n){let{handle:i,suffix:o,verbatim:a}=n;if(a){if(a!=="!"&&a!=="!!")return a;let c=`Verbatim tags aren't resolved, so ${a} is invalid.`;t.errors.push(new p.YAMLSemanticError(e,c))}else if(i==="!"&&!o)s=!0;else try{return $o(t,e)}catch(c){t.errors.push(c)}}switch(r){case p.Type.BLOCK_FOLDED:case p.Type.BLOCK_LITERAL:case p.Type.QUOTE_DOUBLE:case p.Type.QUOTE_SINGLE:return p.defaultTags.STR;case p.Type.FLOW_MAP:case p.Type.MAP:return p.defaultTags.MAP;case p.Type.FLOW_SEQ:case p.Type.SEQ:return p.defaultTags.SEQ;case p.Type.PLAIN:return s?p.defaultTags.STR:null;default:return null}}function xs(t,e,n){let{tags:r}=t.schema,s=[];for(let o of r)if(o.tag===n)if(o.test)s.push(o);else{let a=o.resolve(t,e);return a instanceof W?a:new P(a)}let i=Kn(t,e);return typeof i=="string"&&s.length>0?qn(i,s,r.scalarFallback):null}function qo({type:t}){switch(t){case p.Type.FLOW_MAP:case p.Type.MAP:return p.defaultTags.MAP;case p.Type.FLOW_SEQ:case p.Type.SEQ:return p.defaultTags.SEQ;default:return p.defaultTags.STR}}function Uo(t,e,n){try{let r=xs(t,e,n);if(r)return n&&e.tag&&(r.tag=n),r}catch(r){return r.source||(r.source=e),t.errors.push(r),null}try{let r=qo(e);if(!r)throw new Error(`The tag ${n} is unavailable`);let s=`The tag ${n} is unavailable, falling back to ${r}`;t.warnings.push(new p.YAMLWarning(e,s));let i=xs(t,e,r);return i.tag=n,i}catch(r){let s=new p.YAMLReferenceError(e,r.message);return s.stack=r.stack,t.errors.push(s),null}}var Ko=t=>{if(!t)return!1;let{type:e}=t;return e===p.Type.MAP_KEY||e===p.Type.MAP_VALUE||e===p.Type.SEQ_ITEM};function Vo(t,e){let n={before:[],after:[]},r=!1,s=!1,i=Ko(e.context.parent)?e.context.parent.props.concat(e.props):e.props;for(let{start:o,end:a}of i)switch(e.context.src[o]){case p.Char.COMMENT:{if(!e.commentHasRequiredWhitespace(o)){let m="Comments must be separated from other tokens by white space characters";t.push(new p.YAMLSemanticError(e,m))}let{header:c,valueRange:l}=e;(l&&(o>l.start||c&&o>c.start)?n.after:n.before).push(e.context.src.slice(o+1,a));break}case p.Char.ANCHOR:if(r){let c="A node can have at most one anchor";t.push(new p.YAMLSemanticError(e,c))}r=!0;break;case p.Char.TAG:if(s){let c="A node can have at most one tag";t.push(new p.YAMLSemanticError(e,c))}s=!0;break}return{comments:n,hasAnchor:r,hasTag:s}}function Wo(t,e){let{anchors:n,errors:r,schema:s}=t;if(e.type===p.Type.ALIAS){let o=e.rawValue,a=n.getNode(o);if(!a){let l=`Aliased anchor not found: ${o}`;return r.push(new p.YAMLReferenceError(e,l)),null}let c=new we(a);return n._cstAliases.push(c),c}let i=Fo(t,e);if(i)return Uo(t,e,i);if(e.type!==p.Type.PLAIN){let o=`Failed to resolve ${e.type} node here`;return r.push(new p.YAMLSyntaxError(e,o)),null}try{let o=Kn(t,e);return qn(o,s.tags,s.tags.scalarFallback)}catch(o){return o.source||(o.source=e),r.push(o),null}}function me(t,e){if(!e)return null;e.error&&t.errors.push(e.error);let{comments:n,hasAnchor:r,hasTag:s}=Vo(t.errors,e);if(r){let{anchors:o}=t,a=e.anchor,c=o.getNode(a);c&&(o.map[o.newName(a)]=c),o.map[a]=e}if(e.type===p.Type.ALIAS&&(r||s)){let o="An alias node must not specify any properties";t.errors.push(new p.YAMLSemanticError(e,o))}let i=Wo(t,e);if(i){i.range=[e.range.start,e.range.end],t.options.keepCstNodes&&(i.cstNode=e),t.options.keepNodeTypes&&(i.type=e.type);let o=n.before.join(` +`+s:t.comment=s)}}function Un(t,e){let n=e.strValue;return n?typeof n=="string"?n:(n.errors.forEach(r=>{r.source||(r.source=e),t.errors.push(r)}),n.str):""}function Fo(t,e){let{handle:n,suffix:r}=e.tag,s=t.tagPrefixes.find(i=>i.handle===n);if(!s){let i=t.getDefaults().tagPrefixes;if(i&&(s=i.find(o=>o.handle===n)),!s)throw new p.YAMLSemanticError(e,`The ${n} tag handle is non-default and was not declared.`)}if(!r)throw new p.YAMLSemanticError(e,`The ${n} tag has no suffix.`);if(n==="!"&&(t.version||t.options.version)==="1.0"){if(r[0]==="^")return t.warnings.push(new p.YAMLWarning(e,"YAML 1.0 ^ tag expansion is not supported")),r;if(/[:/]/.test(r)){let i=r.match(/^([a-z0-9-]+)\/(.*)/i);return i?`tag:${i[1]}.yaml.org,2002:${i[2]}`:`tag:${r}`}}return s.prefix+decodeURIComponent(r)}function qo(t,e){let{tag:n,type:r}=e,s=!1;if(n){let{handle:i,suffix:o,verbatim:a}=n;if(a){if(a!=="!"&&a!=="!!")return a;let c=`Verbatim tags aren't resolved, so ${a} is invalid.`;t.errors.push(new p.YAMLSemanticError(e,c))}else if(i==="!"&&!o)s=!0;else try{return Fo(t,e)}catch(c){t.errors.push(c)}}switch(r){case p.Type.BLOCK_FOLDED:case p.Type.BLOCK_LITERAL:case p.Type.QUOTE_DOUBLE:case p.Type.QUOTE_SINGLE:return p.defaultTags.STR;case p.Type.FLOW_MAP:case p.Type.MAP:return p.defaultTags.MAP;case p.Type.FLOW_SEQ:case p.Type.SEQ:return p.defaultTags.SEQ;case p.Type.PLAIN:return s?p.defaultTags.STR:null;default:return null}}function Ys(t,e,n){let{tags:r}=t.schema,s=[];for(let o of r)if(o.tag===n)if(o.test)s.push(o);else{let a=o.resolve(t,e);return a instanceof W?a:new P(a)}let i=Un(t,e);return typeof i=="string"&&s.length>0?Fn(i,s,r.scalarFallback):null}function Uo({type:t}){switch(t){case p.Type.FLOW_MAP:case p.Type.MAP:return p.defaultTags.MAP;case p.Type.FLOW_SEQ:case p.Type.SEQ:return p.defaultTags.SEQ;default:return p.defaultTags.STR}}function Ko(t,e,n){try{let r=Ys(t,e,n);if(r)return n&&e.tag&&(r.tag=n),r}catch(r){return r.source||(r.source=e),t.errors.push(r),null}try{let r=Uo(e);if(!r)throw new Error(`The tag ${n} is unavailable`);let s=`The tag ${n} is unavailable, falling back to ${r}`;t.warnings.push(new p.YAMLWarning(e,s));let i=Ys(t,e,r);return i.tag=n,i}catch(r){let s=new p.YAMLReferenceError(e,r.message);return s.stack=r.stack,t.errors.push(s),null}}var Vo=t=>{if(!t)return!1;let{type:e}=t;return e===p.Type.MAP_KEY||e===p.Type.MAP_VALUE||e===p.Type.SEQ_ITEM};function Wo(t,e){let n={before:[],after:[]},r=!1,s=!1,i=Vo(e.context.parent)?e.context.parent.props.concat(e.props):e.props;for(let{start:o,end:a}of i)switch(e.context.src[o]){case p.Char.COMMENT:{if(!e.commentHasRequiredWhitespace(o)){let m="Comments must be separated from other tokens by white space characters";t.push(new p.YAMLSemanticError(e,m))}let{header:c,valueRange:l}=e;(l&&(o>l.start||c&&o>c.start)?n.after:n.before).push(e.context.src.slice(o+1,a));break}case p.Char.ANCHOR:if(r){let c="A node can have at most one anchor";t.push(new p.YAMLSemanticError(e,c))}r=!0;break;case p.Char.TAG:if(s){let c="A node can have at most one tag";t.push(new p.YAMLSemanticError(e,c))}s=!0;break}return{comments:n,hasAnchor:r,hasTag:s}}function jo(t,e){let{anchors:n,errors:r,schema:s}=t;if(e.type===p.Type.ALIAS){let o=e.rawValue,a=n.getNode(o);if(!a){let l=`Aliased anchor not found: ${o}`;return r.push(new p.YAMLReferenceError(e,l)),null}let c=new we(a);return n._cstAliases.push(c),c}let i=qo(t,e);if(i)return Ko(t,e,i);if(e.type!==p.Type.PLAIN){let o=`Failed to resolve ${e.type} node here`;return r.push(new p.YAMLSyntaxError(e,o)),null}try{let o=Un(t,e);return Fn(o,s.tags,s.tags.scalarFallback)}catch(o){return o.source||(o.source=e),r.push(o),null}}function me(t,e){if(!e)return null;e.error&&t.errors.push(e.error);let{comments:n,hasAnchor:r,hasTag:s}=Wo(t.errors,e);if(r){let{anchors:o}=t,a=e.anchor,c=o.getNode(a);c&&(o.map[o.newName(a)]=c),o.map[a]=e}if(e.type===p.Type.ALIAS&&(r||s)){let o="An alias node must not specify any properties";t.errors.push(new p.YAMLSemanticError(e,o))}let i=jo(t,e);if(i){i.range=[e.range.start,e.range.end],t.options.keepCstNodes&&(i.cstNode=e),t.options.keepNodeTypes&&(i.type=e.type);let o=n.before.join(` `);o&&(i.commentBefore=i.commentBefore?`${i.commentBefore} ${o}`:o);let a=n.after.join(` `);a&&(i.comment=i.comment?`${i.comment} -${a}`:a)}return e.resolved=i}function jo(t,e){if(e.type!==p.Type.MAP&&e.type!==p.Type.FLOW_MAP){let o=`A ${e.type} node cannot be resolved as a mapping`;return t.errors.push(new p.YAMLSyntaxError(e,o)),null}let{comments:n,items:r}=e.type===p.Type.FLOW_MAP?Ho(t,e):Go(t,e),s=new mt;s.items=r,Us(s,n);let i=!1;for(let o=0;o{if(f instanceof we){let{type:m}=f.source;return m===p.Type.MAP||m===p.Type.FLOW_MAP?!1:l="Merge nodes aliases can only point to maps"}return l="Merge nodes can only have Alias nodes as values"}),l&&t.errors.push(new p.YAMLSemanticError(e,l))}else for(let c=o+1;c{if(r.length===0)return!1;let{start:s}=r[0];if(e&&s>e.valueRange.start||n[s]!==p.Char.COMMENT)return!1;for(let i=t;i0){c=new p.PlainValue(p.Type.PLAIN,[]),c.context={parent:a,src:a.context.src};let f=a.range.start+1;if(c.range={start:f,end:f},c.valueRange={start:f,end:f},typeof a.range.origStart=="number"){let m=a.range.origStart+1;c.range.origStart=c.range.origEnd=m,c.valueRange.origStart=c.valueRange.origEnd=m}}let l=new T(s,me(t,c));Jo(a,l),r.push(l),s&&typeof i=="number"&&a.range.start>i+1024&&t.errors.push(qs(e,s)),s=void 0,i=null}break;default:s!==void 0&&r.push(new T(s)),s=me(t,a),i=a.range.start,a.error&&t.errors.push(a.error);e:for(let c=o+1;;++c){let l=e.items[c];switch(l&&l.type){case p.Type.BLANK_LINE:case p.Type.COMMENT:continue e;case p.Type.MAP_VALUE:break e;default:{let f="Implicit map keys need to be followed by map values";t.errors.push(new p.YAMLSemanticError(a,f));break e}}}if(a.valueRangeContainsNewline){let c="Implicit map keys need to be on a single line";t.errors.push(new p.YAMLSemanticError(a,c))}}}return s!==void 0&&r.push(new T(s)),{comments:n,items:r}}function Ho(t,e){let n=[],r=[],s,i=!1,o="{";for(let a=0;ai instanceof T&&i.key instanceof W)){let i="Keys with collection values will be stringified as YAML due to JS Object restrictions. Use mapAsMap: true to avoid this.";t.warnings.push(new p.YAMLWarning(e,i))}return e.resolved=s,s}function zo(t,e){let n=[],r=[];for(let s=0;so+1024&&t.errors.push(qs(e,i));let{src:h}=c.context;for(let g=o;g{"use strict";var j=le(),O=$e(),ea={identify:t=>t instanceof Uint8Array,default:!1,tag:"tag:yaml.org,2002:binary",resolve:(t,e)=>{let n=O.resolveString(t,e);if(typeof Buffer=="function")return Buffer.from(n,"base64");if(typeof atob=="function"){let r=atob(n.replace(/[\n\r]/g,"")),s=new Uint8Array(r.length);for(let i=0;i{let o;if(typeof Buffer=="function")o=n instanceof Buffer?n.toString("base64"):Buffer.from(n.buffer).toString("base64");else if(typeof btoa=="function"){let a="";for(let c=0;c1){let o="Each pair must have its own sequence indicator";throw new j.YAMLSemanticError(e,o)}let i=s.items[0]||new O.Pair;s.commentBefore&&(i.commentBefore=i.commentBefore?`${s.commentBefore} +${a}`:a)}return e.resolved=i}function Qo(t,e){if(e.type!==p.Type.MAP&&e.type!==p.Type.FLOW_MAP){let o=`A ${e.type} node cannot be resolved as a mapping`;return t.errors.push(new p.YAMLSyntaxError(e,o)),null}let{comments:n,items:r}=e.type===p.Type.FLOW_MAP?Xo(t,e):Ho(t,e),s=new mt;s.items=r,Ws(s,n);let i=!1;for(let o=0;o{if(f instanceof we){let{type:m}=f.source;return m===p.Type.MAP||m===p.Type.FLOW_MAP?!1:l="Merge nodes aliases can only point to maps"}return l="Merge nodes can only have Alias nodes as values"}),l&&t.errors.push(new p.YAMLSemanticError(e,l))}else for(let c=o+1;c{if(r.length===0)return!1;let{start:s}=r[0];if(e&&s>e.valueRange.start||n[s]!==p.Char.COMMENT)return!1;for(let i=t;i0){c=new p.PlainValue(p.Type.PLAIN,[]),c.context={parent:a,src:a.context.src};let f=a.range.start+1;if(c.range={start:f,end:f},c.valueRange={start:f,end:f},typeof a.range.origStart=="number"){let m=a.range.origStart+1;c.range.origStart=c.range.origEnd=m,c.valueRange.origStart=c.valueRange.origEnd=m}}let l=new T(s,me(t,c));Go(a,l),r.push(l),s&&typeof i=="number"&&a.range.start>i+1024&&t.errors.push(Vs(e,s)),s=void 0,i=null}break;default:s!==void 0&&r.push(new T(s)),s=me(t,a),i=a.range.start,a.error&&t.errors.push(a.error);e:for(let c=o+1;;++c){let l=e.items[c];switch(l&&l.type){case p.Type.BLANK_LINE:case p.Type.COMMENT:continue e;case p.Type.MAP_VALUE:break e;default:{let f="Implicit map keys need to be followed by map values";t.errors.push(new p.YAMLSemanticError(a,f));break e}}}if(a.valueRangeContainsNewline){let c="Implicit map keys need to be on a single line";t.errors.push(new p.YAMLSemanticError(a,c))}}}return s!==void 0&&r.push(new T(s)),{comments:n,items:r}}function Xo(t,e){let n=[],r=[],s,i=!1,o="{";for(let a=0;ai instanceof T&&i.key instanceof W)){let i="Keys with collection values will be stringified as YAML due to JS Object restrictions. Use mapAsMap: true to avoid this.";t.warnings.push(new p.YAMLWarning(e,i))}return e.resolved=s,s}function Zo(t,e){let n=[],r=[];for(let s=0;so+1024&&t.errors.push(Vs(e,i));let{src:h}=c.context;for(let g=o;g{"use strict";var j=le(),O=$e(),ta={identify:t=>t instanceof Uint8Array,default:!1,tag:"tag:yaml.org,2002:binary",resolve:(t,e)=>{let n=O.resolveString(t,e);if(typeof Buffer=="function")return Buffer.from(n,"base64");if(typeof atob=="function"){let r=atob(n.replace(/[\n\r]/g,"")),s=new Uint8Array(r.length);for(let i=0;i{let o;if(typeof Buffer=="function")o=n instanceof Buffer?n.toString("base64"):Buffer.from(n.buffer).toString("base64");else if(typeof btoa=="function"){let a="";for(let c=0;c1){let o="Each pair must have its own sequence indicator";throw new j.YAMLSemanticError(e,o)}let i=s.items[0]||new O.Pair;s.commentBefore&&(i.commentBefore=i.commentBefore?`${s.commentBefore} ${i.commentBefore}`:s.commentBefore),s.comment&&(i.comment=i.comment?`${s.comment} -${i.comment}`:s.comment),s=i}n.items[r]=s instanceof O.Pair?s:new O.Pair(s)}}return n}function Ws(t,e,n){let r=new O.YAMLSeq(t);r.tag="tag:yaml.org,2002:pairs";for(let s of e){let i,o;if(Array.isArray(s))if(s.length===2)i=s[0],o=s[1];else throw new TypeError(`Expected [key, value] tuple: ${s}`);else if(s&&s instanceof Object){let c=Object.keys(s);if(c.length===1)i=c[0],o=s[i];else throw new TypeError(`Expected { key: value } tuple: ${s}`)}else i=s;let a=t.createPair(i,o,n);r.items.push(a)}return r}var ta={default:!1,tag:"tag:yaml.org,2002:pairs",resolve:Vs,createNode:Ws},Fe=class t extends O.YAMLSeq{constructor(){super(),j._defineProperty(this,"add",O.YAMLMap.prototype.add.bind(this)),j._defineProperty(this,"delete",O.YAMLMap.prototype.delete.bind(this)),j._defineProperty(this,"get",O.YAMLMap.prototype.get.bind(this)),j._defineProperty(this,"has",O.YAMLMap.prototype.has.bind(this)),j._defineProperty(this,"set",O.YAMLMap.prototype.set.bind(this)),this.tag=t.tag}toJSON(e,n){let r=new Map;n&&n.onCreate&&n.onCreate(r);for(let s of this.items){let i,o;if(s instanceof O.Pair?(i=O.toJSON(s.key,"",n),o=O.toJSON(s.value,i,n)):i=O.toJSON(s,"",n),r.has(i))throw new Error("Ordered maps must not include duplicate keys");r.set(i,o)}return r}};j._defineProperty(Fe,"tag","tag:yaml.org,2002:omap");function na(t,e){let n=Vs(t,e),r=[];for(let{key:s}of n.items)if(s instanceof O.Scalar)if(r.includes(s.value)){let i="Ordered maps must not include duplicate keys";throw new j.YAMLSemanticError(e,i)}else r.push(s.value);return Object.assign(new Fe,n)}function ra(t,e,n){let r=Ws(t,e,n),s=new Fe;return s.items=r.items,s}var sa={identify:t=>t instanceof Map,nodeClass:Fe,default:!1,tag:"tag:yaml.org,2002:omap",resolve:na,createNode:ra},qe=class t extends O.YAMLMap{constructor(){super(),this.tag=t.tag}add(e){let n=e instanceof O.Pair?e:new O.Pair(e);O.findPair(this.items,n.key)||this.items.push(n)}get(e,n){let r=O.findPair(this.items,e);return!n&&r instanceof O.Pair?r.key instanceof O.Scalar?r.key.value:r.key:r}set(e,n){if(typeof n!="boolean")throw new Error(`Expected boolean value for set(key, value) in a YAML set, not ${typeof n}`);let r=O.findPair(this.items,e);r&&!n?this.items.splice(this.items.indexOf(r),1):!r&&n&&this.items.push(new O.Pair(e))}toJSON(e,n){return super.toJSON(e,n,Set)}toString(e,n,r){if(!e)return JSON.stringify(this);if(this.hasAllNullValues())return super.toString(e,n,r);throw new Error("Set items must all have null values")}};j._defineProperty(qe,"tag","tag:yaml.org,2002:set");function ia(t,e){let n=O.resolveMap(t,e);if(!n.hasAllNullValues())throw new j.YAMLSemanticError(e,"Set items must all have null values");return Object.assign(new qe,n)}function oa(t,e,n){let r=new qe;for(let s of e)r.items.push(t.createPair(s,null,n));return r}var aa={identify:t=>t instanceof Set,nodeClass:qe,default:!1,tag:"tag:yaml.org,2002:set",resolve:ia,createNode:oa},Vn=(t,e)=>{let n=e.split(":").reduce((r,s)=>r*60+Number(s),0);return t==="-"?-n:n},js=({value:t})=>{if(isNaN(t)||!isFinite(t))return O.stringifyNumber(t);let e="";t<0&&(e="-",t=Math.abs(t));let n=[t%60];return t<60?n.unshift(0):(t=Math.round((t-n[0])/60),n.unshift(t%60),t>=60&&(t=Math.round((t-n[0])/60),n.unshift(t))),e+n.map(r=>r<10?"0"+String(r):String(r)).join(":").replace(/000000\d*$/,"")},ca={identify:t=>typeof t=="number",default:!0,tag:"tag:yaml.org,2002:int",format:"TIME",test:/^([-+]?)([0-9][0-9_]*(?::[0-5]?[0-9])+)$/,resolve:(t,e,n)=>Vn(e,n.replace(/_/g,"")),stringify:js},la={identify:t=>typeof t=="number",default:!0,tag:"tag:yaml.org,2002:float",format:"TIME",test:/^([-+]?)([0-9][0-9_]*(?::[0-5]?[0-9])+\.[0-9_]*)$/,resolve:(t,e,n)=>Vn(e,n.replace(/_/g,"")),stringify:js},fa={identify:t=>t 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:(t,e,n,r,s,i,o,a,c)=>{a&&(a=(a+"00").substr(1,3));let l=Date.UTC(e,n-1,r,s||0,i||0,o||0,a||0);if(c&&c!=="Z"){let f=Vn(c[0],c.slice(1));Math.abs(f)<30&&(f*=60),l-=6e4*f}return new Date(l)},stringify:({value:t})=>t.toISOString().replace(/((T00:00)?:00)?\.000Z$/,"")};function Wn(t){let e={};return t?typeof YAML_SILENCE_DEPRECATION_WARNINGS<"u"?!YAML_SILENCE_DEPRECATION_WARNINGS:!e.YAML_SILENCE_DEPRECATION_WARNINGS:typeof YAML_SILENCE_WARNINGS<"u"?!YAML_SILENCE_WARNINGS:!e.YAML_SILENCE_WARNINGS}function jn(t,e){Wn(!1)&&console.warn(e?`${e}: ${t}`:t)}function ua(t){if(Wn(!0)){let e=t.replace(/.*yaml[/\\]/i,"").replace(/\.js$/,"").replace(/\\/g,"/");jn(`The endpoint 'yaml/${e}' will be removed in a future release.`,"DeprecationWarning")}}var Ks={};function pa(t,e){if(!Ks[t]&&Wn(!0)){Ks[t]=!0;let n=`The option '${t}' will be removed in a future release`;n+=e?`, use '${e}' instead.`:".",jn(n,"DeprecationWarning")}}z.binary=ea;z.floatTime=la;z.intTime=ca;z.omap=sa;z.pairs=ta;z.set=aa;z.timestamp=fa;z.warn=jn;z.warnFileDeprecation=ua;z.warnOptionDeprecation=pa});var Xn=ee(ii=>{"use strict";var Gt=le(),E=$e(),D=Qn();function ma(t,e,n){let r=new E.YAMLMap(t);if(e instanceof Map)for(let[s,i]of e)r.items.push(t.createPair(s,i,n));else if(e&&typeof e=="object")for(let s of Object.keys(e))r.items.push(t.createPair(s,e[s],n));return typeof t.sortMapEntries=="function"&&r.items.sort(t.sortMapEntries),r}var gt={createNode:ma,default:!0,nodeClass:E.YAMLMap,tag:"tag:yaml.org,2002:map",resolve:E.resolveMap};function ha(t,e,n){let r=new E.YAMLSeq(t);if(e&&e[Symbol.iterator])for(let s of e){let i=t.createNode(s,n.wrapScalars,null,n);r.items.push(i)}return r}var Ht={createNode:ha,default:!0,nodeClass:E.YAMLSeq,tag:"tag:yaml.org,2002:seq",resolve:E.resolveSeq},ga={identify:t=>typeof t=="string",default:!0,tag:"tag:yaml.org,2002:str",resolve:E.resolveString,stringify(t,e,n,r){return e=Object.assign({actualString:!0},e),E.stringifyString(t,e,n,r)},options:E.strOptions},Gn=[gt,Ht,ga],Xt=t=>typeof t=="bigint"||Number.isInteger(t),Hn=(t,e,n)=>E.intOptions.asBigInt?BigInt(t):parseInt(e,n);function Gs(t,e,n){let{value:r}=t;return Xt(r)&&r>=0?n+r.toString(e):E.stringifyNumber(t)}var Hs={identify:t=>t==null,createNode:(t,e,n)=>n.wrapScalars?new E.Scalar(null):null,default:!0,tag:"tag:yaml.org,2002:null",test:/^(?:~|[Nn]ull|NULL)?$/,resolve:()=>null,options:E.nullOptions,stringify:()=>E.nullOptions.nullStr},Xs={identify:t=>typeof t=="boolean",default:!0,tag:"tag:yaml.org,2002:bool",test:/^(?:[Tt]rue|TRUE|[Ff]alse|FALSE)$/,resolve:t=>t[0]==="t"||t[0]==="T",options:E.boolOptions,stringify:({value:t})=>t?E.boolOptions.trueStr:E.boolOptions.falseStr},zs={identify:t=>Xt(t)&&t>=0,default:!0,tag:"tag:yaml.org,2002:int",format:"OCT",test:/^0o([0-7]+)$/,resolve:(t,e)=>Hn(t,e,8),options:E.intOptions,stringify:t=>Gs(t,8,"0o")},Zs={identify:Xt,default:!0,tag:"tag:yaml.org,2002:int",test:/^[-+]?[0-9]+$/,resolve:t=>Hn(t,t,10),options:E.intOptions,stringify:E.stringifyNumber},ei={identify:t=>Xt(t)&&t>=0,default:!0,tag:"tag:yaml.org,2002:int",format:"HEX",test:/^0x([0-9a-fA-F]+)$/,resolve:(t,e)=>Hn(t,e,16),options:E.intOptions,stringify:t=>Gs(t,16,"0x")},ti={identify:t=>typeof t=="number",default:!0,tag:"tag:yaml.org,2002:float",test:/^(?:[-+]?\.inf|(\.nan))$/i,resolve:(t,e)=>e?NaN:t[0]==="-"?Number.NEGATIVE_INFINITY:Number.POSITIVE_INFINITY,stringify:E.stringifyNumber},ni={identify:t=>typeof t=="number",default:!0,tag:"tag:yaml.org,2002:float",format:"EXP",test:/^[-+]?(?:\.[0-9]+|[0-9]+(?:\.[0-9]*)?)[eE][-+]?[0-9]+$/,resolve:t=>parseFloat(t),stringify:({value:t})=>Number(t).toExponential()},ri={identify:t=>typeof t=="number",default:!0,tag:"tag:yaml.org,2002:float",test:/^[-+]?(?:\.([0-9]+)|[0-9]+\.([0-9]*))$/,resolve(t,e,n){let r=e||n,s=new E.Scalar(parseFloat(t));return r&&r[r.length-1]==="0"&&(s.minFractionDigits=r.length),s},stringify:E.stringifyNumber},da=Gn.concat([Hs,Xs,zs,Zs,ei,ti,ni,ri]),Qs=t=>typeof t=="bigint"||Number.isInteger(t),Qt=({value:t})=>JSON.stringify(t),si=[gt,Ht,{identify:t=>typeof t=="string",default:!0,tag:"tag:yaml.org,2002:str",resolve:E.resolveString,stringify:Qt},{identify:t=>t==null,createNode:(t,e,n)=>n.wrapScalars?new E.Scalar(null):null,default:!0,tag:"tag:yaml.org,2002:null",test:/^null$/,resolve:()=>null,stringify:Qt},{identify:t=>typeof t=="boolean",default:!0,tag:"tag:yaml.org,2002:bool",test:/^true|false$/,resolve:t=>t==="true",stringify:Qt},{identify:Qs,default:!0,tag:"tag:yaml.org,2002:int",test:/^-?(?:0|[1-9][0-9]*)$/,resolve:t=>E.intOptions.asBigInt?BigInt(t):parseInt(t,10),stringify:({value:t})=>Qs(t)?t.toString():JSON.stringify(t)},{identify:t=>typeof t=="number",default:!0,tag:"tag:yaml.org,2002:float",test:/^-?(?:0|[1-9][0-9]*)(?:\.[0-9]*)?(?:[eE][-+]?[0-9]+)?$/,resolve:t=>parseFloat(t),stringify:Qt}];si.scalarFallback=t=>{throw new SyntaxError(`Unresolved plain scalar ${JSON.stringify(t)}`)};var Js=({value:t})=>t?E.boolOptions.trueStr:E.boolOptions.falseStr,ht=t=>typeof t=="bigint"||Number.isInteger(t);function Jt(t,e,n){let r=e.replace(/_/g,"");if(E.intOptions.asBigInt){switch(n){case 2:r=`0b${r}`;break;case 8:r=`0o${r}`;break;case 16:r=`0x${r}`;break}let i=BigInt(r);return t==="-"?BigInt(-1)*i:i}let s=parseInt(r,n);return t==="-"?-1*s:s}function Jn(t,e,n){let{value:r}=t;if(ht(r)){let s=r.toString(e);return r<0?"-"+n+s.substr(1):n+s}return E.stringifyNumber(t)}var ya=Gn.concat([{identify:t=>t==null,createNode:(t,e,n)=>n.wrapScalars?new E.Scalar(null):null,default:!0,tag:"tag:yaml.org,2002:null",test:/^(?:~|[Nn]ull|NULL)?$/,resolve:()=>null,options:E.nullOptions,stringify:()=>E.nullOptions.nullStr},{identify:t=>typeof t=="boolean",default:!0,tag:"tag:yaml.org,2002:bool",test:/^(?:Y|y|[Yy]es|YES|[Tt]rue|TRUE|[Oo]n|ON)$/,resolve:()=>!0,options:E.boolOptions,stringify:Js},{identify:t=>typeof t=="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:E.boolOptions,stringify:Js},{identify:ht,default:!0,tag:"tag:yaml.org,2002:int",format:"BIN",test:/^([-+]?)0b([0-1_]+)$/,resolve:(t,e,n)=>Jt(e,n,2),stringify:t=>Jn(t,2,"0b")},{identify:ht,default:!0,tag:"tag:yaml.org,2002:int",format:"OCT",test:/^([-+]?)0([0-7_]+)$/,resolve:(t,e,n)=>Jt(e,n,8),stringify:t=>Jn(t,8,"0")},{identify:ht,default:!0,tag:"tag:yaml.org,2002:int",test:/^([-+]?)([0-9][0-9_]*)$/,resolve:(t,e,n)=>Jt(e,n,10),stringify:E.stringifyNumber},{identify:ht,default:!0,tag:"tag:yaml.org,2002:int",format:"HEX",test:/^([-+]?)0x([0-9a-fA-F_]+)$/,resolve:(t,e,n)=>Jt(e,n,16),stringify:t=>Jn(t,16,"0x")},{identify:t=>typeof t=="number",default:!0,tag:"tag:yaml.org,2002:float",test:/^(?:[-+]?\.inf|(\.nan))$/i,resolve:(t,e)=>e?NaN:t[0]==="-"?Number.NEGATIVE_INFINITY:Number.POSITIVE_INFINITY,stringify:E.stringifyNumber},{identify:t=>typeof t=="number",default:!0,tag:"tag:yaml.org,2002:float",format:"EXP",test:/^[-+]?([0-9][0-9_]*)?(\.[0-9_]*)?[eE][-+]?[0-9]+$/,resolve:t=>parseFloat(t.replace(/_/g,"")),stringify:({value:t})=>Number(t).toExponential()},{identify:t=>typeof t=="number",default:!0,tag:"tag:yaml.org,2002:float",test:/^[-+]?(?:[0-9][0-9_]*)?\.([0-9_]*)$/,resolve(t,e){let n=new E.Scalar(parseFloat(t.replace(/_/g,"")));if(e){let r=e.replace(/_/g,"");r[r.length-1]==="0"&&(n.minFractionDigits=r.length)}return n},stringify:E.stringifyNumber}],D.binary,D.omap,D.pairs,D.set,D.intTime,D.floatTime,D.timestamp),Ea={core:da,failsafe:Gn,json:si,yaml11:ya},Sa={binary:D.binary,bool:Xs,float:ri,floatExp:ni,floatNaN:ti,floatTime:D.floatTime,int:Zs,intHex:ei,intOct:zs,intTime:D.intTime,map:gt,null:Hs,omap:D.omap,pairs:D.pairs,seq:Ht,set:D.set,timestamp:D.timestamp};function wa(t,e,n){if(e){let r=n.filter(i=>i.tag===e),s=r.find(i=>!i.format)||r[0];if(!s)throw new Error(`Tag ${e} not found`);return s}return n.find(r=>(r.identify&&r.identify(t)||r.class&&t instanceof r.class)&&!r.format)}function ba(t,e,n){if(t instanceof E.Node)return t;let{defaultPrefix:r,onTagObj:s,prevObjects:i,schema:o,wrapScalars:a}=n;e&&e.startsWith("!!")&&(e=r+e.slice(2));let c=wa(t,e,o.tags);if(!c){if(typeof t.toJSON=="function"&&(t=t.toJSON()),!t||typeof t!="object")return a?new E.Scalar(t):t;c=t instanceof Map?gt:t[Symbol.iterator]?Ht:gt}s&&(s(c),delete n.onTagObj);let l={value:void 0,node:void 0};if(t&&typeof t=="object"&&i){let f=i.get(t);if(f){let m=new E.Alias(f);return n.aliasNodes.push(m),m}l.value=t,i.set(t,l)}return l.node=c.createNode?c.createNode(n.schema,t,n):a?new E.Scalar(t):t,e&&l.node instanceof E.Node&&(l.node.tag=e),l.node}function Na(t,e,n,r){let s=t[r.replace(/\W/g,"")];if(!s){let i=Object.keys(t).map(o=>JSON.stringify(o)).join(", ");throw new Error(`Unknown schema "${r}"; use one of ${i}`)}if(Array.isArray(n))for(let i of n)s=s.concat(i);else typeof n=="function"&&(s=n(s.slice()));for(let i=0;iJSON.stringify(l)).join(", ");throw new Error(`Unknown custom tag "${o}"; use one of ${c}`)}s[i]=a}}return s}var Oa=(t,e)=>t.keye.key?1:0,dt=class t{constructor({customTags:e,merge:n,schema:r,sortMapEntries:s,tags:i}){this.merge=!!n,this.name=r,this.sortMapEntries=s===!0?Oa:s||null,!e&&i&&D.warnOptionDeprecation("tags","customTags"),this.tags=Na(Ea,Sa,e||i,r)}createNode(e,n,r,s){let i={defaultPrefix:t.defaultPrefix,schema:this,wrapScalars:n},o=s?Object.assign(s,i):i;return ba(e,r,o)}createPair(e,n,r){r||(r={wrapScalars:!0});let s=this.createNode(e,r.wrapScalars,null,r),i=this.createNode(n,r.wrapScalars,null,r);return new E.Pair(s,i)}};Gt._defineProperty(dt,"defaultPrefix",Gt.defaultTagPrefix);Gt._defineProperty(dt,"defaultTags",Gt.defaultTags);ii.Schema=dt});var li=ee(tn=>{"use strict";var Y=le(),S=$e(),oi=Xn(),La={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"},Aa={get binary(){return S.binaryOptions},set binary(t){Object.assign(S.binaryOptions,t)},get bool(){return S.boolOptions},set bool(t){Object.assign(S.boolOptions,t)},get int(){return S.intOptions},set int(t){Object.assign(S.intOptions,t)},get null(){return S.nullOptions},set null(t){Object.assign(S.nullOptions,t)},get str(){return S.strOptions},set str(t){Object.assign(S.strOptions,t)}},ci={"1.0":{schema:"yaml-1.1",merge:!0,tagPrefixes:[{handle:"!",prefix:Y.defaultTagPrefix},{handle:"!!",prefix:"tag:private.yaml.org,2002:"}]},1.1:{schema:"yaml-1.1",merge:!0,tagPrefixes:[{handle:"!",prefix:"!"},{handle:"!!",prefix:Y.defaultTagPrefix}]},1.2:{schema:"core",merge:!1,tagPrefixes:[{handle:"!",prefix:"!"},{handle:"!!",prefix:Y.defaultTagPrefix}]}};function ai(t,e){if((t.version||t.options.version)==="1.0"){let s=e.match(/^tag:private\.yaml\.org,2002:([^:/]+)$/);if(s)return"!"+s[1];let i=e.match(/^tag:([a-zA-Z0-9-]+)\.yaml\.org,2002:(.*)/);return i?`!${i[1]}/${i[2]}`:`!${e.replace(/^tag:/,"")}`}let n=t.tagPrefixes.find(s=>e.indexOf(s.prefix)===0);if(!n){let s=t.getDefaults().tagPrefixes;n=s&&s.find(i=>e.indexOf(i.prefix)===0)}if(!n)return e[0]==="!"?e:`!<${e}>`;let r=e.substr(n.prefix.length).replace(/[!,[\]{}]/g,s=>({"!":"%21",",":"%2C","[":"%5B","]":"%5D","{":"%7B","}":"%7D"})[s]);return n.handle+r}function Ta(t,e){if(e instanceof S.Alias)return S.Alias;if(e.tag){let s=t.filter(i=>i.tag===e.tag);if(s.length>0)return s.find(i=>i.format===e.format)||s[0]}let n,r;if(e instanceof S.Scalar){r=e.value;let s=t.filter(i=>i.identify&&i.identify(r)||i.class&&r instanceof i.class);n=s.find(i=>i.format===e.format)||s.find(i=>!i.format)}else r=e,n=t.find(s=>s.nodeClass&&r instanceof s.nodeClass);if(!n){let s=r&&r.constructor?r.constructor.name:typeof r;throw new Error(`Tag not resolved for ${s} value`)}return n}function Ca(t,e,{anchors:n,doc:r}){let s=[],i=r.anchors.getName(t);return i&&(n[i]=t,s.push(`&${i}`)),t.tag?s.push(ai(r,t.tag)):e.default||s.push(ai(r,e.tag)),s.join(" ")}function zt(t,e,n,r){let{anchors:s,schema:i}=e.doc,o;if(!(t instanceof S.Node)){let l={aliasNodes:[],onTagObj:f=>o=f,prevObjects:new Map};t=i.createNode(t,!0,null,l);for(let f of l.aliasNodes){f.source=f.source.node;let m=s.getName(f.source);m||(m=s.newName(),s.map[m]=f.source)}}if(t instanceof S.Pair)return t.toString(e,n,r);o||(o=Ta(i.tags,t));let a=Ca(t,o,e);a.length>0&&(e.indentAtStart=(e.indentAtStart||0)+a.length+1);let c=typeof o.stringify=="function"?o.stringify(t,e,n,r):t instanceof S.Scalar?S.stringifyString(t,e,n,r):t.toString(e,n,r);return a?t instanceof S.Scalar||c[0]==="{"||c[0]==="["?`${a} ${c}`:`${a} -${e.indent}${c}`:c}var zn=class t{static validAnchorNode(e){return e instanceof S.Scalar||e instanceof S.YAMLSeq||e instanceof S.YAMLMap}constructor(e){Y._defineProperty(this,"map",Object.create(null)),this.prefix=e}createAlias(e,n){return this.setAnchor(e,n),new S.Alias(e)}createMergePair(...e){let n=new S.Merge;return n.value.items=e.map(r=>{if(r instanceof S.Alias){if(r.source instanceof S.YAMLMap)return r}else if(r instanceof S.YAMLMap)return this.createAlias(r);throw new Error("Merge sources must be Map nodes or their Aliases")}),n}getName(e){let{map:n}=this;return Object.keys(n).find(r=>n[r]===e)}getNames(){return Object.keys(this.map)}getNode(e){return this.map[e]}newName(e){e||(e=this.prefix);let n=Object.keys(this.map);for(let r=1;;++r){let s=`${e}${r}`;if(!n.includes(s))return s}}resolveNodes(){let{map:e,_cstAliases:n}=this;Object.keys(e).forEach(r=>{e[r]=e[r].resolved}),n.forEach(r=>{r.source=r.source.resolved}),delete this._cstAliases}setAnchor(e,n){if(e!=null&&!t.validAnchorNode(e))throw new Error("Anchors may only be set for Scalar, Seq and Map nodes");if(n&&/[\x00-\x19\s,[\]{}]/.test(n))throw new Error("Anchor names must not contain whitespace or control characters");let{map:r}=this,s=e&&Object.keys(r).find(i=>r[i]===e);if(s)if(n)s!==n&&(delete r[s],r[n]=e);else return s;else{if(!n){if(!e)return null;n=this.newName()}r[n]=e}return n}},Zt=(t,e)=>{if(t&&typeof t=="object"){let{tag:n}=t;t instanceof S.Collection?(n&&(e[n]=!0),t.items.forEach(r=>Zt(r,e))):t instanceof S.Pair?(Zt(t.key,e),Zt(t.value,e)):t instanceof S.Scalar&&n&&(e[n]=!0)}return e},Ma=t=>Object.keys(Zt(t,{}));function ka(t,e){let n={before:[],after:[]},r,s=!1;for(let i of e)if(i.valueRange){if(r!==void 0){let a="Document contains trailing content not separated by a ... or --- line";t.errors.push(new Y.YAMLSyntaxError(i,a));break}let o=S.resolveNode(t,i);s&&(o.spaceBefore=!0,s=!1),r=o}else i.comment!==null?(r===void 0?n.before:n.after).push(i.comment):i.type===Y.Type.BLANK_LINE&&(s=!0,r===void 0&&n.before.length>0&&!t.commentBefore&&(t.commentBefore=n.before.join(` +${i.comment}`:s.comment),s=i}n.items[r]=s instanceof O.Pair?s:new O.Pair(s)}}return n}function Js(t,e,n){let r=new O.YAMLSeq(t);r.tag="tag:yaml.org,2002:pairs";for(let s of e){let i,o;if(Array.isArray(s))if(s.length===2)i=s[0],o=s[1];else throw new TypeError(`Expected [key, value] tuple: ${s}`);else if(s&&s instanceof Object){let c=Object.keys(s);if(c.length===1)i=c[0],o=s[i];else throw new TypeError(`Expected { key: value } tuple: ${s}`)}else i=s;let a=t.createPair(i,o,n);r.items.push(a)}return r}var na={default:!1,tag:"tag:yaml.org,2002:pairs",resolve:Qs,createNode:Js},Fe=class t extends O.YAMLSeq{constructor(){super(),j._defineProperty(this,"add",O.YAMLMap.prototype.add.bind(this)),j._defineProperty(this,"delete",O.YAMLMap.prototype.delete.bind(this)),j._defineProperty(this,"get",O.YAMLMap.prototype.get.bind(this)),j._defineProperty(this,"has",O.YAMLMap.prototype.has.bind(this)),j._defineProperty(this,"set",O.YAMLMap.prototype.set.bind(this)),this.tag=t.tag}toJSON(e,n){let r=new Map;n&&n.onCreate&&n.onCreate(r);for(let s of this.items){let i,o;if(s instanceof O.Pair?(i=O.toJSON(s.key,"",n),o=O.toJSON(s.value,i,n)):i=O.toJSON(s,"",n),r.has(i))throw new Error("Ordered maps must not include duplicate keys");r.set(i,o)}return r}};j._defineProperty(Fe,"tag","tag:yaml.org,2002:omap");function ra(t,e){let n=Qs(t,e),r=[];for(let{key:s}of n.items)if(s instanceof O.Scalar)if(r.includes(s.value)){let i="Ordered maps must not include duplicate keys";throw new j.YAMLSemanticError(e,i)}else r.push(s.value);return Object.assign(new Fe,n)}function sa(t,e,n){let r=Js(t,e,n),s=new Fe;return s.items=r.items,s}var ia={identify:t=>t instanceof Map,nodeClass:Fe,default:!1,tag:"tag:yaml.org,2002:omap",resolve:ra,createNode:sa},qe=class t extends O.YAMLMap{constructor(){super(),this.tag=t.tag}add(e){let n=e instanceof O.Pair?e:new O.Pair(e);O.findPair(this.items,n.key)||this.items.push(n)}get(e,n){let r=O.findPair(this.items,e);return!n&&r instanceof O.Pair?r.key instanceof O.Scalar?r.key.value:r.key:r}set(e,n){if(typeof n!="boolean")throw new Error(`Expected boolean value for set(key, value) in a YAML set, not ${typeof n}`);let r=O.findPair(this.items,e);r&&!n?this.items.splice(this.items.indexOf(r),1):!r&&n&&this.items.push(new O.Pair(e))}toJSON(e,n){return super.toJSON(e,n,Set)}toString(e,n,r){if(!e)return JSON.stringify(this);if(this.hasAllNullValues())return super.toString(e,n,r);throw new Error("Set items must all have null values")}};j._defineProperty(qe,"tag","tag:yaml.org,2002:set");function oa(t,e){let n=O.resolveMap(t,e);if(!n.hasAllNullValues())throw new j.YAMLSemanticError(e,"Set items must all have null values");return Object.assign(new qe,n)}function aa(t,e,n){let r=new qe;for(let s of e)r.items.push(t.createPair(s,null,n));return r}var ca={identify:t=>t instanceof Set,nodeClass:qe,default:!1,tag:"tag:yaml.org,2002:set",resolve:oa,createNode:aa},Kn=(t,e)=>{let n=e.split(":").reduce((r,s)=>r*60+Number(s),0);return t==="-"?-n:n},Gs=({value:t})=>{if(isNaN(t)||!isFinite(t))return O.stringifyNumber(t);let e="";t<0&&(e="-",t=Math.abs(t));let n=[t%60];return t<60?n.unshift(0):(t=Math.round((t-n[0])/60),n.unshift(t%60),t>=60&&(t=Math.round((t-n[0])/60),n.unshift(t))),e+n.map(r=>r<10?"0"+String(r):String(r)).join(":").replace(/000000\d*$/,"")},la={identify:t=>typeof t=="number",default:!0,tag:"tag:yaml.org,2002:int",format:"TIME",test:/^([-+]?)([0-9][0-9_]*(?::[0-5]?[0-9])+)$/,resolve:(t,e,n)=>Kn(e,n.replace(/_/g,"")),stringify:Gs},fa={identify:t=>typeof t=="number",default:!0,tag:"tag:yaml.org,2002:float",format:"TIME",test:/^([-+]?)([0-9][0-9_]*(?::[0-5]?[0-9])+\.[0-9_]*)$/,resolve:(t,e,n)=>Kn(e,n.replace(/_/g,"")),stringify:Gs},ua={identify:t=>t 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:(t,e,n,r,s,i,o,a,c)=>{a&&(a=(a+"00").substr(1,3));let l=Date.UTC(e,n-1,r,s||0,i||0,o||0,a||0);if(c&&c!=="Z"){let f=Kn(c[0],c.slice(1));Math.abs(f)<30&&(f*=60),l-=6e4*f}return new Date(l)},stringify:({value:t})=>t.toISOString().replace(/((T00:00)?:00)?\.000Z$/,"")};function Vn(t){let e={};return t?typeof YAML_SILENCE_DEPRECATION_WARNINGS<"u"?!YAML_SILENCE_DEPRECATION_WARNINGS:!e.YAML_SILENCE_DEPRECATION_WARNINGS:typeof YAML_SILENCE_WARNINGS<"u"?!YAML_SILENCE_WARNINGS:!e.YAML_SILENCE_WARNINGS}function Wn(t,e){Vn(!1)&&console.warn(e?`${e}: ${t}`:t)}function pa(t){if(Vn(!0)){let e=t.replace(/.*yaml[/\\]/i,"").replace(/\.js$/,"").replace(/\\/g,"/");Wn(`The endpoint 'yaml/${e}' will be removed in a future release.`,"DeprecationWarning")}}var js={};function ma(t,e){if(!js[t]&&Vn(!0)){js[t]=!0;let n=`The option '${t}' will be removed in a future release`;n+=e?`, use '${e}' instead.`:".",Wn(n,"DeprecationWarning")}}z.binary=ta;z.floatTime=fa;z.intTime=la;z.omap=ia;z.pairs=na;z.set=ca;z.timestamp=ua;z.warn=Wn;z.warnFileDeprecation=pa;z.warnOptionDeprecation=ma});var Hn=ee(ci=>{"use strict";var Ht=le(),E=$e(),D=jn();function ha(t,e,n){let r=new E.YAMLMap(t);if(e instanceof Map)for(let[s,i]of e)r.items.push(t.createPair(s,i,n));else if(e&&typeof e=="object")for(let s of Object.keys(e))r.items.push(t.createPair(s,e[s],n));return typeof t.sortMapEntries=="function"&&r.items.sort(t.sortMapEntries),r}var gt={createNode:ha,default:!0,nodeClass:E.YAMLMap,tag:"tag:yaml.org,2002:map",resolve:E.resolveMap};function ga(t,e,n){let r=new E.YAMLSeq(t);if(e&&e[Symbol.iterator])for(let s of e){let i=t.createNode(s,n.wrapScalars,null,n);r.items.push(i)}return r}var Xt={createNode:ga,default:!0,nodeClass:E.YAMLSeq,tag:"tag:yaml.org,2002:seq",resolve:E.resolveSeq},da={identify:t=>typeof t=="string",default:!0,tag:"tag:yaml.org,2002:str",resolve:E.resolveString,stringify(t,e,n,r){return e=Object.assign({actualString:!0},e),E.stringifyString(t,e,n,r)},options:E.strOptions},Jn=[gt,Xt,da],zt=t=>typeof t=="bigint"||Number.isInteger(t),Gn=(t,e,n)=>E.intOptions.asBigInt?BigInt(t):parseInt(e,n);function zs(t,e,n){let{value:r}=t;return zt(r)&&r>=0?n+r.toString(e):E.stringifyNumber(t)}var Zs={identify:t=>t==null,createNode:(t,e,n)=>n.wrapScalars?new E.Scalar(null):null,default:!0,tag:"tag:yaml.org,2002:null",test:/^(?:~|[Nn]ull|NULL)?$/,resolve:()=>null,options:E.nullOptions,stringify:()=>E.nullOptions.nullStr},ei={identify:t=>typeof t=="boolean",default:!0,tag:"tag:yaml.org,2002:bool",test:/^(?:[Tt]rue|TRUE|[Ff]alse|FALSE)$/,resolve:t=>t[0]==="t"||t[0]==="T",options:E.boolOptions,stringify:({value:t})=>t?E.boolOptions.trueStr:E.boolOptions.falseStr},ti={identify:t=>zt(t)&&t>=0,default:!0,tag:"tag:yaml.org,2002:int",format:"OCT",test:/^0o([0-7]+)$/,resolve:(t,e)=>Gn(t,e,8),options:E.intOptions,stringify:t=>zs(t,8,"0o")},ni={identify:zt,default:!0,tag:"tag:yaml.org,2002:int",test:/^[-+]?[0-9]+$/,resolve:t=>Gn(t,t,10),options:E.intOptions,stringify:E.stringifyNumber},ri={identify:t=>zt(t)&&t>=0,default:!0,tag:"tag:yaml.org,2002:int",format:"HEX",test:/^0x([0-9a-fA-F]+)$/,resolve:(t,e)=>Gn(t,e,16),options:E.intOptions,stringify:t=>zs(t,16,"0x")},si={identify:t=>typeof t=="number",default:!0,tag:"tag:yaml.org,2002:float",test:/^(?:[-+]?\.inf|(\.nan))$/i,resolve:(t,e)=>e?NaN:t[0]==="-"?Number.NEGATIVE_INFINITY:Number.POSITIVE_INFINITY,stringify:E.stringifyNumber},ii={identify:t=>typeof t=="number",default:!0,tag:"tag:yaml.org,2002:float",format:"EXP",test:/^[-+]?(?:\.[0-9]+|[0-9]+(?:\.[0-9]*)?)[eE][-+]?[0-9]+$/,resolve:t=>parseFloat(t),stringify:({value:t})=>Number(t).toExponential()},oi={identify:t=>typeof t=="number",default:!0,tag:"tag:yaml.org,2002:float",test:/^[-+]?(?:\.([0-9]+)|[0-9]+\.([0-9]*))$/,resolve(t,e,n){let r=e||n,s=new E.Scalar(parseFloat(t));return r&&r[r.length-1]==="0"&&(s.minFractionDigits=r.length),s},stringify:E.stringifyNumber},ya=Jn.concat([Zs,ei,ti,ni,ri,si,ii,oi]),Hs=t=>typeof t=="bigint"||Number.isInteger(t),Jt=({value:t})=>JSON.stringify(t),ai=[gt,Xt,{identify:t=>typeof t=="string",default:!0,tag:"tag:yaml.org,2002:str",resolve:E.resolveString,stringify:Jt},{identify:t=>t==null,createNode:(t,e,n)=>n.wrapScalars?new E.Scalar(null):null,default:!0,tag:"tag:yaml.org,2002:null",test:/^null$/,resolve:()=>null,stringify:Jt},{identify:t=>typeof t=="boolean",default:!0,tag:"tag:yaml.org,2002:bool",test:/^true|false$/,resolve:t=>t==="true",stringify:Jt},{identify:Hs,default:!0,tag:"tag:yaml.org,2002:int",test:/^-?(?:0|[1-9][0-9]*)$/,resolve:t=>E.intOptions.asBigInt?BigInt(t):parseInt(t,10),stringify:({value:t})=>Hs(t)?t.toString():JSON.stringify(t)},{identify:t=>typeof t=="number",default:!0,tag:"tag:yaml.org,2002:float",test:/^-?(?:0|[1-9][0-9]*)(?:\.[0-9]*)?(?:[eE][-+]?[0-9]+)?$/,resolve:t=>parseFloat(t),stringify:Jt}];ai.scalarFallback=t=>{throw new SyntaxError(`Unresolved plain scalar ${JSON.stringify(t)}`)};var Xs=({value:t})=>t?E.boolOptions.trueStr:E.boolOptions.falseStr,ht=t=>typeof t=="bigint"||Number.isInteger(t);function Gt(t,e,n){let r=e.replace(/_/g,"");if(E.intOptions.asBigInt){switch(n){case 2:r=`0b${r}`;break;case 8:r=`0o${r}`;break;case 16:r=`0x${r}`;break}let i=BigInt(r);return t==="-"?BigInt(-1)*i:i}let s=parseInt(r,n);return t==="-"?-1*s:s}function Qn(t,e,n){let{value:r}=t;if(ht(r)){let s=r.toString(e);return r<0?"-"+n+s.substr(1):n+s}return E.stringifyNumber(t)}var Ea=Jn.concat([{identify:t=>t==null,createNode:(t,e,n)=>n.wrapScalars?new E.Scalar(null):null,default:!0,tag:"tag:yaml.org,2002:null",test:/^(?:~|[Nn]ull|NULL)?$/,resolve:()=>null,options:E.nullOptions,stringify:()=>E.nullOptions.nullStr},{identify:t=>typeof t=="boolean",default:!0,tag:"tag:yaml.org,2002:bool",test:/^(?:Y|y|[Yy]es|YES|[Tt]rue|TRUE|[Oo]n|ON)$/,resolve:()=>!0,options:E.boolOptions,stringify:Xs},{identify:t=>typeof t=="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:E.boolOptions,stringify:Xs},{identify:ht,default:!0,tag:"tag:yaml.org,2002:int",format:"BIN",test:/^([-+]?)0b([0-1_]+)$/,resolve:(t,e,n)=>Gt(e,n,2),stringify:t=>Qn(t,2,"0b")},{identify:ht,default:!0,tag:"tag:yaml.org,2002:int",format:"OCT",test:/^([-+]?)0([0-7_]+)$/,resolve:(t,e,n)=>Gt(e,n,8),stringify:t=>Qn(t,8,"0")},{identify:ht,default:!0,tag:"tag:yaml.org,2002:int",test:/^([-+]?)([0-9][0-9_]*)$/,resolve:(t,e,n)=>Gt(e,n,10),stringify:E.stringifyNumber},{identify:ht,default:!0,tag:"tag:yaml.org,2002:int",format:"HEX",test:/^([-+]?)0x([0-9a-fA-F_]+)$/,resolve:(t,e,n)=>Gt(e,n,16),stringify:t=>Qn(t,16,"0x")},{identify:t=>typeof t=="number",default:!0,tag:"tag:yaml.org,2002:float",test:/^(?:[-+]?\.inf|(\.nan))$/i,resolve:(t,e)=>e?NaN:t[0]==="-"?Number.NEGATIVE_INFINITY:Number.POSITIVE_INFINITY,stringify:E.stringifyNumber},{identify:t=>typeof t=="number",default:!0,tag:"tag:yaml.org,2002:float",format:"EXP",test:/^[-+]?([0-9][0-9_]*)?(\.[0-9_]*)?[eE][-+]?[0-9]+$/,resolve:t=>parseFloat(t.replace(/_/g,"")),stringify:({value:t})=>Number(t).toExponential()},{identify:t=>typeof t=="number",default:!0,tag:"tag:yaml.org,2002:float",test:/^[-+]?(?:[0-9][0-9_]*)?\.([0-9_]*)$/,resolve(t,e){let n=new E.Scalar(parseFloat(t.replace(/_/g,"")));if(e){let r=e.replace(/_/g,"");r[r.length-1]==="0"&&(n.minFractionDigits=r.length)}return n},stringify:E.stringifyNumber}],D.binary,D.omap,D.pairs,D.set,D.intTime,D.floatTime,D.timestamp),Sa={core:ya,failsafe:Jn,json:ai,yaml11:Ea},wa={binary:D.binary,bool:ei,float:oi,floatExp:ii,floatNaN:si,floatTime:D.floatTime,int:ni,intHex:ri,intOct:ti,intTime:D.intTime,map:gt,null:Zs,omap:D.omap,pairs:D.pairs,seq:Xt,set:D.set,timestamp:D.timestamp};function ba(t,e,n){if(e){let r=n.filter(i=>i.tag===e),s=r.find(i=>!i.format)||r[0];if(!s)throw new Error(`Tag ${e} not found`);return s}return n.find(r=>(r.identify&&r.identify(t)||r.class&&t instanceof r.class)&&!r.format)}function Na(t,e,n){if(t instanceof E.Node)return t;let{defaultPrefix:r,onTagObj:s,prevObjects:i,schema:o,wrapScalars:a}=n;e&&e.startsWith("!!")&&(e=r+e.slice(2));let c=ba(t,e,o.tags);if(!c){if(typeof t.toJSON=="function"&&(t=t.toJSON()),!t||typeof t!="object")return a?new E.Scalar(t):t;c=t instanceof Map?gt:t[Symbol.iterator]?Xt:gt}s&&(s(c),delete n.onTagObj);let l={value:void 0,node:void 0};if(t&&typeof t=="object"&&i){let f=i.get(t);if(f){let m=new E.Alias(f);return n.aliasNodes.push(m),m}l.value=t,i.set(t,l)}return l.node=c.createNode?c.createNode(n.schema,t,n):a?new E.Scalar(t):t,e&&l.node instanceof E.Node&&(l.node.tag=e),l.node}function Oa(t,e,n,r){let s=t[r.replace(/\W/g,"")];if(!s){let i=Object.keys(t).map(o=>JSON.stringify(o)).join(", ");throw new Error(`Unknown schema "${r}"; use one of ${i}`)}if(Array.isArray(n))for(let i of n)s=s.concat(i);else typeof n=="function"&&(s=n(s.slice()));for(let i=0;iJSON.stringify(l)).join(", ");throw new Error(`Unknown custom tag "${o}"; use one of ${c}`)}s[i]=a}}return s}var La=(t,e)=>t.keye.key?1:0,dt=class t{constructor({customTags:e,merge:n,schema:r,sortMapEntries:s,tags:i}){this.merge=!!n,this.name=r,this.sortMapEntries=s===!0?La:s||null,!e&&i&&D.warnOptionDeprecation("tags","customTags"),this.tags=Oa(Sa,wa,e||i,r)}createNode(e,n,r,s){let i={defaultPrefix:t.defaultPrefix,schema:this,wrapScalars:n},o=s?Object.assign(s,i):i;return Na(e,r,o)}createPair(e,n,r){r||(r={wrapScalars:!0});let s=this.createNode(e,r.wrapScalars,null,r),i=this.createNode(n,r.wrapScalars,null,r);return new E.Pair(s,i)}};Ht._defineProperty(dt,"defaultPrefix",Ht.defaultTagPrefix);Ht._defineProperty(dt,"defaultTags",Ht.defaultTags);ci.Schema=dt});var pi=ee(nn=>{"use strict";var Y=le(),S=$e(),li=Hn(),Aa={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"},Ta={get binary(){return S.binaryOptions},set binary(t){Object.assign(S.binaryOptions,t)},get bool(){return S.boolOptions},set bool(t){Object.assign(S.boolOptions,t)},get int(){return S.intOptions},set int(t){Object.assign(S.intOptions,t)},get null(){return S.nullOptions},set null(t){Object.assign(S.nullOptions,t)},get str(){return S.strOptions},set str(t){Object.assign(S.strOptions,t)}},ui={"1.0":{schema:"yaml-1.1",merge:!0,tagPrefixes:[{handle:"!",prefix:Y.defaultTagPrefix},{handle:"!!",prefix:"tag:private.yaml.org,2002:"}]},1.1:{schema:"yaml-1.1",merge:!0,tagPrefixes:[{handle:"!",prefix:"!"},{handle:"!!",prefix:Y.defaultTagPrefix}]},1.2:{schema:"core",merge:!1,tagPrefixes:[{handle:"!",prefix:"!"},{handle:"!!",prefix:Y.defaultTagPrefix}]}};function fi(t,e){if((t.version||t.options.version)==="1.0"){let s=e.match(/^tag:private\.yaml\.org,2002:([^:/]+)$/);if(s)return"!"+s[1];let i=e.match(/^tag:([a-zA-Z0-9-]+)\.yaml\.org,2002:(.*)/);return i?`!${i[1]}/${i[2]}`:`!${e.replace(/^tag:/,"")}`}let n=t.tagPrefixes.find(s=>e.indexOf(s.prefix)===0);if(!n){let s=t.getDefaults().tagPrefixes;n=s&&s.find(i=>e.indexOf(i.prefix)===0)}if(!n)return e[0]==="!"?e:`!<${e}>`;let r=e.substr(n.prefix.length).replace(/[!,[\]{}]/g,s=>({"!":"%21",",":"%2C","[":"%5B","]":"%5D","{":"%7B","}":"%7D"})[s]);return n.handle+r}function Ca(t,e){if(e instanceof S.Alias)return S.Alias;if(e.tag){let s=t.filter(i=>i.tag===e.tag);if(s.length>0)return s.find(i=>i.format===e.format)||s[0]}let n,r;if(e instanceof S.Scalar){r=e.value;let s=t.filter(i=>i.identify&&i.identify(r)||i.class&&r instanceof i.class);n=s.find(i=>i.format===e.format)||s.find(i=>!i.format)}else r=e,n=t.find(s=>s.nodeClass&&r instanceof s.nodeClass);if(!n){let s=r&&r.constructor?r.constructor.name:typeof r;throw new Error(`Tag not resolved for ${s} value`)}return n}function Ma(t,e,{anchors:n,doc:r}){let s=[],i=r.anchors.getName(t);return i&&(n[i]=t,s.push(`&${i}`)),t.tag?s.push(fi(r,t.tag)):e.default||s.push(fi(r,e.tag)),s.join(" ")}function Zt(t,e,n,r){let{anchors:s,schema:i}=e.doc,o;if(!(t instanceof S.Node)){let l={aliasNodes:[],onTagObj:f=>o=f,prevObjects:new Map};t=i.createNode(t,!0,null,l);for(let f of l.aliasNodes){f.source=f.source.node;let m=s.getName(f.source);m||(m=s.newName(),s.map[m]=f.source)}}if(t instanceof S.Pair)return t.toString(e,n,r);o||(o=Ca(i.tags,t));let a=Ma(t,o,e);a.length>0&&(e.indentAtStart=(e.indentAtStart||0)+a.length+1);let c=typeof o.stringify=="function"?o.stringify(t,e,n,r):t instanceof S.Scalar?S.stringifyString(t,e,n,r):t.toString(e,n,r);return a?t instanceof S.Scalar||c[0]==="{"||c[0]==="["?`${a} ${c}`:`${a} +${e.indent}${c}`:c}var Xn=class t{static validAnchorNode(e){return e instanceof S.Scalar||e instanceof S.YAMLSeq||e instanceof S.YAMLMap}constructor(e){Y._defineProperty(this,"map",Object.create(null)),this.prefix=e}createAlias(e,n){return this.setAnchor(e,n),new S.Alias(e)}createMergePair(...e){let n=new S.Merge;return n.value.items=e.map(r=>{if(r instanceof S.Alias){if(r.source instanceof S.YAMLMap)return r}else if(r instanceof S.YAMLMap)return this.createAlias(r);throw new Error("Merge sources must be Map nodes or their Aliases")}),n}getName(e){let{map:n}=this;return Object.keys(n).find(r=>n[r]===e)}getNames(){return Object.keys(this.map)}getNode(e){return this.map[e]}newName(e){e||(e=this.prefix);let n=Object.keys(this.map);for(let r=1;;++r){let s=`${e}${r}`;if(!n.includes(s))return s}}resolveNodes(){let{map:e,_cstAliases:n}=this;Object.keys(e).forEach(r=>{e[r]=e[r].resolved}),n.forEach(r=>{r.source=r.source.resolved}),delete this._cstAliases}setAnchor(e,n){if(e!=null&&!t.validAnchorNode(e))throw new Error("Anchors may only be set for Scalar, Seq and Map nodes");if(n&&/[\x00-\x19\s,[\]{}]/.test(n))throw new Error("Anchor names must not contain whitespace or control characters");let{map:r}=this,s=e&&Object.keys(r).find(i=>r[i]===e);if(s)if(n)s!==n&&(delete r[s],r[n]=e);else return s;else{if(!n){if(!e)return null;n=this.newName()}r[n]=e}return n}},en=(t,e)=>{if(t&&typeof t=="object"){let{tag:n}=t;t instanceof S.Collection?(n&&(e[n]=!0),t.items.forEach(r=>en(r,e))):t instanceof S.Pair?(en(t.key,e),en(t.value,e)):t instanceof S.Scalar&&n&&(e[n]=!0)}return e},ka=t=>Object.keys(en(t,{}));function va(t,e){let n={before:[],after:[]},r,s=!1;for(let i of e)if(i.valueRange){if(r!==void 0){let a="Document contains trailing content not separated by a ... or --- line";t.errors.push(new Y.YAMLSyntaxError(i,a));break}let o=S.resolveNode(t,i);s&&(o.spaceBefore=!0,s=!1),r=o}else i.comment!==null?(r===void 0?n.before:n.after).push(i.comment):i.type===Y.Type.BLANK_LINE&&(s=!0,r===void 0&&n.before.length>0&&!t.commentBefore&&(t.commentBefore=n.before.join(` `),n.before=[]));if(t.contents=r||null,!r)t.comment=n.before.concat(n.after).join(` `)||null;else{let i=n.before.join(` `);if(i){let o=r instanceof S.Collection&&r.items[0]?r.items[0]:r;o.commentBefore=o.commentBefore?`${i} ${o.commentBefore}`:i}t.comment=n.after.join(` -`)||null}}function va({tagPrefixes:t},e){let[n,r]=e.parameters;if(!n||!r){let s="Insufficient parameters given for %TAG directive";throw new Y.YAMLSemanticError(e,s)}if(t.some(s=>s.handle===n)){let s="The %TAG directive must only be given at most once per handle in the same document.";throw new Y.YAMLSemanticError(e,s)}return{handle:n,prefix:r}}function Ia(t,e){let[n]=e.parameters;if(e.name==="YAML:1.0"&&(n="1.0"),!n){let r="Insufficient parameters given for %YAML directive";throw new Y.YAMLSemanticError(e,r)}if(!ci[n]){let s=`Document will be parsed as YAML ${t.version||t.options.version} rather than YAML ${n}`;t.warnings.push(new Y.YAMLWarning(e,s))}return n}function Pa(t,e,n){let r=[],s=!1;for(let i of e){let{comment:o,name:a}=i;switch(a){case"TAG":try{t.tagPrefixes.push(va(t,i))}catch(c){t.errors.push(c)}s=!0;break;case"YAML":case"YAML:1.0":if(t.version){let c="The %YAML directive must only be given at most once per document.";t.errors.push(new Y.YAMLSemanticError(i,c))}try{t.version=Ia(t,i)}catch(c){t.errors.push(c)}s=!0;break;default:if(a){let c=`YAML only supports %TAG and %YAML directives, and not %${a}`;t.warnings.push(new Y.YAMLWarning(i,c))}}o&&r.push(o)}if(n&&!s&&(t.version||n.version||t.options.version)==="1.1"){let i=({handle:o,prefix:a})=>({handle:o,prefix:a});t.tagPrefixes=n.tagPrefixes.map(i),t.version=n.version}t.commentBefore=r.join(` -`)||null}function Ue(t){if(t instanceof S.Collection)return!0;throw new Error("Expected a YAML collection as document contents")}var en=class t{constructor(e){this.anchors=new zn(e.anchorPrefix),this.commentBefore=null,this.comment=null,this.contents=null,this.directivesEndMarker=null,this.errors=[],this.options=e,this.schema=null,this.tagPrefixes=[],this.version=null,this.warnings=[]}add(e){return Ue(this.contents),this.contents.add(e)}addIn(e,n){Ue(this.contents),this.contents.addIn(e,n)}delete(e){return Ue(this.contents),this.contents.delete(e)}deleteIn(e){return S.isEmptyPath(e)?this.contents==null?!1:(this.contents=null,!0):(Ue(this.contents),this.contents.deleteIn(e))}getDefaults(){return t.defaults[this.version]||t.defaults[this.options.version]||{}}get(e,n){return this.contents instanceof S.Collection?this.contents.get(e,n):void 0}getIn(e,n){return S.isEmptyPath(e)?!n&&this.contents instanceof S.Scalar?this.contents.value:this.contents:this.contents instanceof S.Collection?this.contents.getIn(e,n):void 0}has(e){return this.contents instanceof S.Collection?this.contents.has(e):!1}hasIn(e){return S.isEmptyPath(e)?this.contents!==void 0:this.contents instanceof S.Collection?this.contents.hasIn(e):!1}set(e,n){Ue(this.contents),this.contents.set(e,n)}setIn(e,n){S.isEmptyPath(e)?this.contents=n:(Ue(this.contents),this.contents.setIn(e,n))}setSchema(e,n){if(!e&&!n&&this.schema)return;typeof e=="number"&&(e=e.toFixed(1)),e==="1.0"||e==="1.1"||e==="1.2"?(this.version?this.version=e:this.options.version=e,delete this.options.schema):e&&typeof e=="string"&&(this.options.schema=e),Array.isArray(n)&&(this.options.customTags=n);let r=Object.assign({},this.getDefaults(),this.options);this.schema=new oi.Schema(r)}parse(e,n){this.options.keepCstNodes&&(this.cstNode=e),this.options.keepNodeTypes&&(this.type="DOCUMENT");let{directives:r=[],contents:s=[],directivesEndMarker:i,error:o,valueRange:a}=e;if(o&&(o.source||(o.source=this),this.errors.push(o)),Pa(this,r,n),i&&(this.directivesEndMarker=!0),this.range=a?[a.start,a.end]:null,this.setSchema(),this.anchors._cstAliases=[],ka(this,s),this.anchors.resolveNodes(),this.options.prettyErrors){for(let c of this.errors)c instanceof Y.YAMLError&&c.makePretty();for(let c of this.warnings)c instanceof Y.YAMLError&&c.makePretty()}return this}listNonDefaultTags(){return Ma(this.contents).filter(e=>e.indexOf(oi.Schema.defaultPrefix)!==0)}setTagPrefix(e,n){if(e[0]!=="!"||e[e.length-1]!=="!")throw new Error("Handle must start and end with !");if(n){let r=this.tagPrefixes.find(s=>s.handle===e);r?r.prefix=n:this.tagPrefixes.push({handle:e,prefix:n})}else this.tagPrefixes=this.tagPrefixes.filter(r=>r.handle!==e)}toJSON(e,n){let{keepBlobsInJSON:r,mapAsMap:s,maxAliasCount:i}=this.options,o=r&&(typeof e!="string"||!(this.contents instanceof S.Scalar)),a={doc:this,indentStep:" ",keep:o,mapAsMap:o&&!!s,maxAliasCount:i,stringify:zt},c=Object.keys(this.anchors.map);c.length>0&&(a.anchors=new Map(c.map(f=>[this.anchors.map[f],{alias:[],aliasCount:0,count:1}])));let l=S.toJSON(this.contents,e,a);if(typeof n=="function"&&a.anchors)for(let{count:f,res:m}of a.anchors.values())n(m,f);return l}toString(){if(this.errors.length>0)throw new Error("Document with errors cannot be stringified");let e=this.options.indent;if(!Number.isInteger(e)||e<=0){let c=JSON.stringify(e);throw new Error(`"indent" option must be a positive integer, not ${c}`)}this.setSchema();let n=[],r=!1;if(this.version){let c="%YAML 1.2";this.schema.name==="yaml-1.1"&&(this.version==="1.0"?c="%YAML:1.0":this.version==="1.1"&&(c="%YAML 1.1")),n.push(c),r=!0}let s=this.listNonDefaultTags();this.tagPrefixes.forEach(({handle:c,prefix:l})=>{s.some(f=>f.indexOf(l)===0)&&(n.push(`%TAG ${c} ${l}`),r=!0)}),(r||this.directivesEndMarker)&&n.push("---"),this.commentBefore&&((r||!this.directivesEndMarker)&&n.unshift(""),n.unshift(this.commentBefore.replace(/^/gm,"#")));let i={anchors:Object.create(null),doc:this,indent:"",indentStep:" ".repeat(e),stringify:zt},o=!1,a=null;if(this.contents){this.contents instanceof S.Node&&(this.contents.spaceBefore&&(r||this.directivesEndMarker)&&n.push(""),this.contents.commentBefore&&n.push(this.contents.commentBefore.replace(/^/gm,"#")),i.forceBlockIndent=!!this.comment,a=this.contents.comment);let c=a?null:()=>o=!0,l=zt(this.contents,i,()=>a=null,c);n.push(S.addComment(l,"",a))}else this.contents!==void 0&&n.push(zt(this.contents,i));return this.comment&&((!o||a)&&n[n.length-1]!==""&&n.push(""),n.push(this.comment.replace(/^/gm,"#"))),n.join(` +`)||null}}function Ia({tagPrefixes:t},e){let[n,r]=e.parameters;if(!n||!r){let s="Insufficient parameters given for %TAG directive";throw new Y.YAMLSemanticError(e,s)}if(t.some(s=>s.handle===n)){let s="The %TAG directive must only be given at most once per handle in the same document.";throw new Y.YAMLSemanticError(e,s)}return{handle:n,prefix:r}}function Pa(t,e){let[n]=e.parameters;if(e.name==="YAML:1.0"&&(n="1.0"),!n){let r="Insufficient parameters given for %YAML directive";throw new Y.YAMLSemanticError(e,r)}if(!ui[n]){let s=`Document will be parsed as YAML ${t.version||t.options.version} rather than YAML ${n}`;t.warnings.push(new Y.YAMLWarning(e,s))}return n}function _a(t,e,n){let r=[],s=!1;for(let i of e){let{comment:o,name:a}=i;switch(a){case"TAG":try{t.tagPrefixes.push(Ia(t,i))}catch(c){t.errors.push(c)}s=!0;break;case"YAML":case"YAML:1.0":if(t.version){let c="The %YAML directive must only be given at most once per document.";t.errors.push(new Y.YAMLSemanticError(i,c))}try{t.version=Pa(t,i)}catch(c){t.errors.push(c)}s=!0;break;default:if(a){let c=`YAML only supports %TAG and %YAML directives, and not %${a}`;t.warnings.push(new Y.YAMLWarning(i,c))}}o&&r.push(o)}if(n&&!s&&(t.version||n.version||t.options.version)==="1.1"){let i=({handle:o,prefix:a})=>({handle:o,prefix:a});t.tagPrefixes=n.tagPrefixes.map(i),t.version=n.version}t.commentBefore=r.join(` +`)||null}function Ue(t){if(t instanceof S.Collection)return!0;throw new Error("Expected a YAML collection as document contents")}var tn=class t{constructor(e){this.anchors=new Xn(e.anchorPrefix),this.commentBefore=null,this.comment=null,this.contents=null,this.directivesEndMarker=null,this.errors=[],this.options=e,this.schema=null,this.tagPrefixes=[],this.version=null,this.warnings=[]}add(e){return Ue(this.contents),this.contents.add(e)}addIn(e,n){Ue(this.contents),this.contents.addIn(e,n)}delete(e){return Ue(this.contents),this.contents.delete(e)}deleteIn(e){return S.isEmptyPath(e)?this.contents==null?!1:(this.contents=null,!0):(Ue(this.contents),this.contents.deleteIn(e))}getDefaults(){return t.defaults[this.version]||t.defaults[this.options.version]||{}}get(e,n){return this.contents instanceof S.Collection?this.contents.get(e,n):void 0}getIn(e,n){return S.isEmptyPath(e)?!n&&this.contents instanceof S.Scalar?this.contents.value:this.contents:this.contents instanceof S.Collection?this.contents.getIn(e,n):void 0}has(e){return this.contents instanceof S.Collection?this.contents.has(e):!1}hasIn(e){return S.isEmptyPath(e)?this.contents!==void 0:this.contents instanceof S.Collection?this.contents.hasIn(e):!1}set(e,n){Ue(this.contents),this.contents.set(e,n)}setIn(e,n){S.isEmptyPath(e)?this.contents=n:(Ue(this.contents),this.contents.setIn(e,n))}setSchema(e,n){if(!e&&!n&&this.schema)return;typeof e=="number"&&(e=e.toFixed(1)),e==="1.0"||e==="1.1"||e==="1.2"?(this.version?this.version=e:this.options.version=e,delete this.options.schema):e&&typeof e=="string"&&(this.options.schema=e),Array.isArray(n)&&(this.options.customTags=n);let r=Object.assign({},this.getDefaults(),this.options);this.schema=new li.Schema(r)}parse(e,n){this.options.keepCstNodes&&(this.cstNode=e),this.options.keepNodeTypes&&(this.type="DOCUMENT");let{directives:r=[],contents:s=[],directivesEndMarker:i,error:o,valueRange:a}=e;if(o&&(o.source||(o.source=this),this.errors.push(o)),_a(this,r,n),i&&(this.directivesEndMarker=!0),this.range=a?[a.start,a.end]:null,this.setSchema(),this.anchors._cstAliases=[],va(this,s),this.anchors.resolveNodes(),this.options.prettyErrors){for(let c of this.errors)c instanceof Y.YAMLError&&c.makePretty();for(let c of this.warnings)c instanceof Y.YAMLError&&c.makePretty()}return this}listNonDefaultTags(){return ka(this.contents).filter(e=>e.indexOf(li.Schema.defaultPrefix)!==0)}setTagPrefix(e,n){if(e[0]!=="!"||e[e.length-1]!=="!")throw new Error("Handle must start and end with !");if(n){let r=this.tagPrefixes.find(s=>s.handle===e);r?r.prefix=n:this.tagPrefixes.push({handle:e,prefix:n})}else this.tagPrefixes=this.tagPrefixes.filter(r=>r.handle!==e)}toJSON(e,n){let{keepBlobsInJSON:r,mapAsMap:s,maxAliasCount:i}=this.options,o=r&&(typeof e!="string"||!(this.contents instanceof S.Scalar)),a={doc:this,indentStep:" ",keep:o,mapAsMap:o&&!!s,maxAliasCount:i,stringify:Zt},c=Object.keys(this.anchors.map);c.length>0&&(a.anchors=new Map(c.map(f=>[this.anchors.map[f],{alias:[],aliasCount:0,count:1}])));let l=S.toJSON(this.contents,e,a);if(typeof n=="function"&&a.anchors)for(let{count:f,res:m}of a.anchors.values())n(m,f);return l}toString(){if(this.errors.length>0)throw new Error("Document with errors cannot be stringified");let e=this.options.indent;if(!Number.isInteger(e)||e<=0){let c=JSON.stringify(e);throw new Error(`"indent" option must be a positive integer, not ${c}`)}this.setSchema();let n=[],r=!1;if(this.version){let c="%YAML 1.2";this.schema.name==="yaml-1.1"&&(this.version==="1.0"?c="%YAML:1.0":this.version==="1.1"&&(c="%YAML 1.1")),n.push(c),r=!0}let s=this.listNonDefaultTags();this.tagPrefixes.forEach(({handle:c,prefix:l})=>{s.some(f=>f.indexOf(l)===0)&&(n.push(`%TAG ${c} ${l}`),r=!0)}),(r||this.directivesEndMarker)&&n.push("---"),this.commentBefore&&((r||!this.directivesEndMarker)&&n.unshift(""),n.unshift(this.commentBefore.replace(/^/gm,"#")));let i={anchors:Object.create(null),doc:this,indent:"",indentStep:" ".repeat(e),stringify:Zt},o=!1,a=null;if(this.contents){this.contents instanceof S.Node&&(this.contents.spaceBefore&&(r||this.directivesEndMarker)&&n.push(""),this.contents.commentBefore&&n.push(this.contents.commentBefore.replace(/^/gm,"#")),i.forceBlockIndent=!!this.comment,a=this.contents.comment);let c=a?null:()=>o=!0,l=Zt(this.contents,i,()=>a=null,c);n.push(S.addComment(l,"",a))}else this.contents!==void 0&&n.push(Zt(this.contents,i));return this.comment&&((!o||a)&&n[n.length-1]!==""&&n.push(""),n.push(this.comment.replace(/^/gm,"#"))),n.join(` `)+` -`}};Y._defineProperty(en,"defaults",ci);tn.Document=en;tn.defaultOptions=La;tn.scalarOptions=Aa});var pi=ee(ui=>{"use strict";var Zn=Is(),Ne=li(),_a=Xn(),xa=le(),Ra=Qn();$e();function Da(t,e=!0,n){n===void 0&&typeof e=="string"&&(n=e,e=!0);let r=Object.assign({},Ne.Document.defaults[Ne.defaultOptions.version],Ne.defaultOptions);return new _a.Schema(r).createNode(t,e,n)}var Ke=class extends Ne.Document{constructor(e){super(Object.assign({},Ne.defaultOptions,e))}};function Ya(t,e){let n=[],r;for(let s of Zn.parse(t)){let i=new Ke(e);i.parse(s,r),n.push(i),r=i}return n}function fi(t,e){let n=Zn.parse(t),r=new Ke(e).parse(n[0]);if(n.length>1){let s="Source contains multiple documents; please use YAML.parseAllDocuments()";r.errors.unshift(new xa.YAMLSemanticError(n[1],s))}return r}function Ba(t,e){let n=fi(t,e);if(n.warnings.forEach(r=>Ra.warn(r)),n.errors.length>0)throw n.errors[0];return n.toJSON()}function $a(t,e){let n=new Ke(e);return n.contents=t,String(n)}var Fa={createNode:Da,defaultOptions:Ne.defaultOptions,Document:Ke,parse:Ba,parseAllDocuments:Ya,parseCST:Zn.parse,parseDocument:fi,scalarOptions:Ne.scalarOptions,stringify:$a};ui.YAML=Fa});var hi=ee((Pm,mi)=>{mi.exports=pi().YAML});var gi=ee(Q=>{"use strict";var Ve=$e(),We=le();Q.findPair=Ve.findPair;Q.parseMap=Ve.resolveMap;Q.parseSeq=Ve.resolveSeq;Q.stringifyNumber=Ve.stringifyNumber;Q.stringifyString=Ve.stringifyString;Q.toJSON=Ve.toJSON;Q.Type=We.Type;Q.YAMLError=We.YAMLError;Q.YAMLReferenceError=We.YAMLReferenceError;Q.YAMLSemanticError=We.YAMLSemanticError;Q.YAMLSyntaxError=We.YAMLSyntaxError;Q.YAMLWarning=We.YAMLWarning});var Ga={};tr(Ga,{languages:()=>bi,options:()=>Ni,parsers:()=>nn,printers:()=>Ja});var vi=(t,e,n,r)=>{if(!(t&&e==null))return e.replaceAll?e.replaceAll(n,r):n.global?e.replace(n,r):e.split(n).join(r)},Et=vi;var je="string",Qe="array",Je="cursor",Ge="indent",Oe="align",He="trim",Le="group",Ae="fill",Te="if-break",Xe="indent-if-break",Ce="line-suffix",ze="line-suffix-boundary",te="line",Ze="label",Me="break-parent",St=new Set([Je,Ge,Oe,He,Le,Ae,Te,Xe,Ce,ze,te,Ze,Me]);function Ii(t){if(typeof t=="string")return je;if(Array.isArray(t))return Qe;if(!t)return;let{type:e}=t;if(St.has(e))return e}var et=Ii;var Pi=t=>new Intl.ListFormat("en-US",{type:"disjunction"}).format(t);function _i(t){let e=t===null?"null":typeof t;if(e!=="string"&&e!=="object")return`Unexpected doc '${e}', -Expected it to be 'string' or 'object'.`;if(et(t))throw new Error("doc is valid.");let n=Object.prototype.toString.call(t);if(n!=="[object Object]")return`Unexpected doc '${n}'.`;let r=Pi([...St].map(s=>`'${s}'`));return`Unexpected doc.type '${t.type}'. -Expected it to be ${r}.`}var sn=class extends Error{name="InvalidDocError";constructor(e){super(_i(e)),this.doc=e}},on=sn;var sr=()=>{},he=sr,wt=sr;function tt(t,e){return he(e),{type:Oe,contents:e,n:t}}function ke(t,e={}){return he(t),wt(e.expandedStates,!0),{type:Le,id:e.id,contents:t,break:!!e.shouldBreak,expandedStates:e.expandedStates}}function an(t){return tt(Number.NEGATIVE_INFINITY,t)}function ir(t){return tt({type:"root"},t)}function or(t){return tt(-1,t)}function cn(t,e){return ke(t[0],{...e,expandedStates:t})}function bt(t){return wt(t),{type:Ae,parts:t}}function nt(t,e="",n={}){return he(t),e!==""&&he(e),{type:Te,breakContents:t,flatContents:e,groupId:n.groupId}}function ar(t){return he(t),{type:Ce,contents:t}}var Nt={type:Me};var xi={type:te,hard:!0},Ri={type:te,hard:!0,literal:!0},ne={type:te},Ot={type:te,soft:!0},N=[xi,Nt],rt=[Ri,Nt];function v(t,e){he(t),wt(e);let n=[];for(let r=0;r{if(!(t&&e==null))return Array.isArray(e)||typeof e=="string"?e[n<0?e.length+n:n]:e.at(n)},x=Di;function Yi(t,e){if(typeof t=="string")return e(t);let n=new Map;return r(t);function r(i){if(n.has(i))return n.get(i);let o=s(i);return n.set(i,o),o}function s(i){switch(et(i)){case Qe:return e(i.map(r));case Ae:return e({...i,parts:i.parts.map(r)});case Te:return e({...i,breakContents:r(i.breakContents),flatContents:r(i.flatContents)});case Le:{let{expandedStates:o,contents:a}=i;return o?(o=o.map(r),a=o[0]):a=r(a),e({...i,contents:a,expandedStates:o})}case Oe:case Ge:case Xe:case Ze:case Ce:return e({...i,contents:r(i.contents)});case je:case Je:case He:case ze:case te:case Me:return e(i);default:throw new on(i)}}}function cr(t,e=rt){return Yi(t,n=>typeof n=="string"?v(e,n.split(` -`)):n)}function Bi(t,e,n){let r=!!(n!=null&&n.backwards);if(e===!1)return!1;let s=t.charAt(e);if(r){if(t.charAt(e-1)==="\r"&&s===` +`}};Y._defineProperty(tn,"defaults",ui);nn.Document=tn;nn.defaultOptions=Aa;nn.scalarOptions=Ta});var gi=ee(hi=>{"use strict";var zn=xs(),Ne=pi(),xa=Hn(),Ra=le(),Da=jn();$e();function Ya(t,e=!0,n){n===void 0&&typeof e=="string"&&(n=e,e=!0);let r=Object.assign({},Ne.Document.defaults[Ne.defaultOptions.version],Ne.defaultOptions);return new xa.Schema(r).createNode(t,e,n)}var Ke=class extends Ne.Document{constructor(e){super(Object.assign({},Ne.defaultOptions,e))}};function Ba(t,e){let n=[],r;for(let s of zn.parse(t)){let i=new Ke(e);i.parse(s,r),n.push(i),r=i}return n}function mi(t,e){let n=zn.parse(t),r=new Ke(e).parse(n[0]);if(n.length>1){let s="Source contains multiple documents; please use YAML.parseAllDocuments()";r.errors.unshift(new Ra.YAMLSemanticError(n[1],s))}return r}function $a(t,e){let n=mi(t,e);if(n.warnings.forEach(r=>Da.warn(r)),n.errors.length>0)throw n.errors[0];return n.toJSON()}function Fa(t,e){let n=new Ke(e);return n.contents=t,String(n)}var qa={createNode:Ya,defaultOptions:Ne.defaultOptions,Document:Ke,parse:$a,parseAllDocuments:Ba,parseCST:zn.parse,parseDocument:mi,scalarOptions:Ne.scalarOptions,stringify:Fa};hi.YAML=qa});var yi=ee((Dm,di)=>{di.exports=gi().YAML});var Ei=ee(Q=>{"use strict";var Ve=$e(),We=le();Q.findPair=Ve.findPair;Q.parseMap=Ve.resolveMap;Q.parseSeq=Ve.resolveSeq;Q.stringifyNumber=Ve.stringifyNumber;Q.stringifyString=Ve.stringifyString;Q.toJSON=Ve.toJSON;Q.Type=We.Type;Q.YAMLError=We.YAMLError;Q.YAMLReferenceError=We.YAMLReferenceError;Q.YAMLSemanticError=We.YAMLSemanticError;Q.YAMLSyntaxError=We.YAMLSyntaxError;Q.YAMLWarning=We.YAMLWarning});var Ga={};tr(Ga,{languages:()=>Pr,options:()=>_r,parsers:()=>er,printers:()=>Ja});var Ii=(t,e,n,r)=>{if(!(t&&e==null))return e.replaceAll?e.replaceAll(n,r):n.global?e.replace(n,r):e.split(n).join(r)},Et=Ii;var je="string",Qe="array",Je="cursor",Ge="indent",Oe="align",He="trim",Le="group",Ae="fill",Te="if-break",Xe="indent-if-break",Ce="line-suffix",ze="line-suffix-boundary",te="line",Ze="label",Me="break-parent",St=new Set([Je,Ge,Oe,He,Le,Ae,Te,Xe,Ce,ze,te,Ze,Me]);function Pi(t){if(typeof t=="string")return je;if(Array.isArray(t))return Qe;if(!t)return;let{type:e}=t;if(St.has(e))return e}var et=Pi;var _i=t=>new Intl.ListFormat("en-US",{type:"disjunction"}).format(t);function xi(t){let e=t===null?"null":typeof t;if(e!=="string"&&e!=="object")return`Unexpected doc '${e}', +Expected it to be 'string' or 'object'.`;if(et(t))throw new Error("doc is valid.");let n=Object.prototype.toString.call(t);if(n!=="[object Object]")return`Unexpected doc '${n}'.`;let r=_i([...St].map(s=>`'${s}'`));return`Unexpected doc.type '${t.type}'. +Expected it to be ${r}.`}var rn=class extends Error{name="InvalidDocError";constructor(e){super(xi(e)),this.doc=e}},sn=rn;var sr=()=>{},he=sr,wt=sr;function tt(t,e){return he(e),{type:Oe,contents:e,n:t}}function ke(t,e={}){return he(t),wt(e.expandedStates,!0),{type:Le,id:e.id,contents:t,break:!!e.shouldBreak,expandedStates:e.expandedStates}}function on(t){return tt(Number.NEGATIVE_INFINITY,t)}function ir(t){return tt({type:"root"},t)}function or(t){return tt(-1,t)}function an(t,e){return ke(t[0],{...e,expandedStates:t})}function bt(t){return wt(t),{type:Ae,parts:t}}function nt(t,e="",n={}){return he(t),e!==""&&he(e),{type:Te,breakContents:t,flatContents:e,groupId:n.groupId}}function ar(t){return he(t),{type:Ce,contents:t}}var Nt={type:Me};var Ri={type:te,hard:!0},Di={type:te,hard:!0,literal:!0},ne={type:te},Ot={type:te,soft:!0},N=[Ri,Nt],rt=[Di,Nt];function v(t,e){he(t),wt(e);let n=[];for(let r=0;r{if(!(t&&e==null))return Array.isArray(e)||typeof e=="string"?e[n<0?e.length+n:n]:e.at(n)},x=Yi;function Bi(t,e){if(typeof t=="string")return e(t);let n=new Map;return r(t);function r(i){if(n.has(i))return n.get(i);let o=s(i);return n.set(i,o),o}function s(i){switch(et(i)){case Qe:return e(i.map(r));case Ae:return e({...i,parts:i.parts.map(r)});case Te:return e({...i,breakContents:r(i.breakContents),flatContents:r(i.flatContents)});case Le:{let{expandedStates:o,contents:a}=i;return o?(o=o.map(r),a=o[0]):a=r(a),e({...i,contents:a,expandedStates:o})}case Oe:case Ge:case Xe:case Ze:case Ce:return e({...i,contents:r(i.contents)});case je:case Je:case He:case ze:case te:case Me:return e(i);default:throw new sn(i)}}}function cr(t,e=rt){return Bi(t,n=>typeof n=="string"?v(e,n.split(` +`)):n)}function Lt(t){return(e,n,r)=>{let s=!!(r!=null&&r.backwards);if(n===!1)return!1;let{length:i}=e,o=n;for(;o>=0&&o{let s=!!(r!=null&&r.backwards);if(n===!1)return!1;let{length:i}=e,o=n;for(;o>=0&&o{let s=await r(e.originalText,{parser:"json"});return s?[s,N]:void 0}}ur.getVisitorKeys=()=>[];var pr=ur;var st=null;function it(t){if(st!==null&&typeof st.property){let e=st;return st=it.prototype=null,e}return st=it.prototype=t??Object.create(null),new it}var qi=10;for(let t=0;t<=qi;t++)it();function un(t){return it(t)}function Ui(t,e="type"){un(t);function n(r){let s=r[e],i=t[s];if(!Array.isArray(i))throw Object.assign(new Error(`Missing visitor keys for '${s}'.`),{node:r});return i}return n}var mr=Ui;var Ki=Object.fromEntries(Object.entries({root:["children"],document:["head","body","children"],documentHead:["children"],documentBody:["children"],directive:[],alias:[],blockLiteral:[],blockFolded:["children"],plain:["children"],quoteSingle:[],quoteDouble:[],mapping:["children"],mappingItem:["key","value","children"],mappingKey:["content","children"],mappingValue:["content","children"],sequence:["children"],sequenceItem:["content","children"],flowMapping:["children"],flowMappingItem:["key","value","children"],flowSequence:["children"],flowSequenceItem:["content","children"],comment:[],tag:[],anchor:[]}).map(([t,e])=>[t,[...e,"anchor","tag","indicatorComment","leadingComments","middleComments","trailingComment","endComments"]])),hr=Ki;var Vi=mr(hr),gr=Vi;function ve(t){return t.position.start.offset}function dr(t){return t.position.end.offset}function yr(t){return/^\s*@(?:prettier|format)\s*$/u.test(t)}function Er(t){return/^\s*#[^\S\n]*@(?:prettier|format)\s*?(?:\n|$)/u.test(t)}function Sr(t){return`# @format -${t}`}function ve(t){return t.position.start.offset}function hr(t){return t.position.end.offset}function gr(t,e){let{node:n}=t;if(n.type==="root"&&e.filepath&&/(?:[/\\]|^)\.(?:prettier|stylelint|lintstaged)rc$/.test(e.filepath))return async r=>{let s=await r(e.originalText,{parser:"json"});return s?[s,N]:void 0}}gr.getVisitorKeys=()=>[];var dr=gr;function Fi(t){return Array.isArray(t)&&t.length>0}var Ie=Fi;function G(t,e){return typeof(t==null?void 0:t.type)=="string"&&(!e||e.includes(t.type))}function pn(t,e,n){return e("children"in t?{...t,children:t.children.map(r=>pn(r,e,t))}:t,n)}function Pe(t,e,n){Object.defineProperty(t,e,{get:n,enumerable:!1})}function Er(t,e){let n=0,r=e.length;for(let s=t.position.end.offset-1;si===0&&i===o.length-1?s:i!==0&&i!==o.length-1?s.trim():i===0?s.trimEnd():s.trimStart());return n.proseWrap==="preserve"?r.map(s=>s.length===0?[]:[s]):r.map(s=>s.length===0?[]:wr(s)).reduce((s,i,o)=>o!==0&&r[o-1].length>0&&i.length>0&&!(t==="quoteDouble"&&x(!1,x(!1,s,-1),-1).endsWith("\\"))?[...s.slice(0,-1),[...x(!1,s,-1),...i]]:[...s,i],[]).map(s=>n.proseWrap==="never"?[s.join(" ")]:s)}function Nr(t,{parentIndent:e,isLastDescendant:n,options:r}){let s=t.position.start.line===t.position.end.line?"":r.originalText.slice(t.position.start.offset,t.position.end.offset).match(/^[^\n]*\n(.*)$/s)[1],i;if(t.indent===null){let c=s.match(/^(? *)[^\n\r ]/m);i=c?c.groups.leadingSpace.length:Number.POSITIVE_INFINITY}else i=t.indent-1+e;let o=s.split(` -`).map(c=>c.slice(i));if(r.proseWrap==="preserve"||t.type==="blockLiteral")return a(o.map(c=>c.length===0?[]:[c]));return a(o.map(c=>c.length===0?[]:wr(c)).reduce((c,l,f)=>f!==0&&o[f-1].length>0&&l.length>0&&!/^\s/.test(l[0])&&!/^\s|\s$/.test(x(!1,c,-1))?[...c.slice(0,-1),[...x(!1,c,-1),...l]]:[...c,l],[]).map(c=>c.reduce((l,f)=>l.length>0&&/\s$/.test(x(!1,l,-1))?[...l.slice(0,-1),x(!1,l,-1)+" "+f]:[...l,f],[])).map(c=>r.proseWrap==="never"?[c.join(" ")]:c));function a(c){if(t.chomping==="keep")return x(!1,c,-1).length===0?c.slice(0,-1):c;let l=0;for(let f=c.length-1;f>=0&&c[f].length===0;f--)l++;return l===0?c:l>=2&&!n?c.slice(0,-(l-1)):c.slice(0,-l)}}function st(t){if(!t)return!0;switch(t.type){case"plain":case"quoteDouble":case"quoteSingle":case"alias":case"flowMapping":case"flowSequence":return!0;default:return!1}}var it=null;function ot(t){if(it!==null&&typeof it.property){let e=it;return it=ot.prototype=null,e}return it=ot.prototype=t??Object.create(null),new ot}var Ui=10;for(let t=0;t<=Ui;t++)ot();function hn(t){return ot(t)}function Ki(t,e="type"){hn(t);function n(r){let s=r[e],i=t[s];if(!Array.isArray(i))throw Object.assign(new Error(`Missing visitor keys for '${s}'.`),{node:r});return i}return n}var Or=Ki;var Vi=Object.fromEntries(Object.entries({root:["children"],document:["head","body","children"],documentHead:["children"],documentBody:["children"],directive:[],alias:[],blockLiteral:[],blockFolded:["children"],plain:["children"],quoteSingle:[],quoteDouble:[],mapping:["children"],mappingItem:["key","value","children"],mappingKey:["content","children"],mappingValue:["content","children"],sequence:["children"],sequenceItem:["content","children"],flowMapping:["children"],flowMappingItem:["key","value","children"],flowSequence:["children"],flowSequenceItem:["content","children"],comment:[],tag:[],anchor:[]}).map(([t,e])=>[t,[...e,"anchor","tag","indicatorComment","leadingComments","middleComments","trailingComment","endComments"]])),Lr=Vi;var Wi=Or(Lr),Ar=Wi;function ji(t){return pn(t,Qi)}function Qi(t){switch(t.type){case"document":Pe(t,"head",()=>t.children[0]),Pe(t,"body",()=>t.children[1]);break;case"documentBody":case"sequenceItem":case"flowSequenceItem":case"mappingKey":case"mappingValue":Pe(t,"content",()=>t.children[0]);break;case"mappingItem":case"flowMappingItem":Pe(t,"key",()=>t.children[0]),Pe(t,"value",()=>t.children[1]);break}return t}var Tr=ji;var gn=new WeakMap;function Ct(t,e){let{node:n,root:r}=t,s;return gn.has(r)?s=gn.get(r):(s=new Set,gn.set(r,s)),!s.has(n.position.end.line)&&(s.add(n.position.end.line),Er(n,e)&&!dn(t.parent))?Ot:""}function dn(t){return R(t)&&!G(t,["documentHead","documentBody","flowMapping","flowSequence"])}function I(t,e){return tt(" ".repeat(t),e)}function Mt(t,e,n){let{node:r}=t,s=r.type==="flowMapping",i=s?"{":"[",o=s?"}":"]",a=Ot;s&&r.children.length>0&&n.bracketSpacing&&(a=ne);let c=x(!1,r.children,-1),l=(c==null?void 0:c.type)==="flowMappingItem"&&_e(c.key)&&_e(c.value);return[i,I(n.tabWidth,[a,Ji(t,e,n),n.trailingComma==="none"?"":nt(","),R(r)?[N,v(N,t.map(e,"endComments"))]:""]),l?"":a,o]}function Ji(t,e,n){return t.map(({isLast:r,node:s,next:i})=>[e(),r?"":[",",ne,s.position.start.line!==i.position.start.line?Ct(t,n.originalText):""]],"children")}function Gi(t,e,n){var C;let{node:r,parent:s}=t,{key:i,value:o}=r,a=_e(i),c=_e(o);if(a&&c)return": ";let l=e("key"),f=Hi(r)?" ":"";if(c)return r.type==="flowMappingItem"&&s.type==="flowMapping"?l:r.type==="mappingItem"&&yn(i.content,n)&&!H(i.content)&&((C=s.tag)==null?void 0:C.value)!=="tag:yaml.org,2002:set"?[l,f,":"]:["? ",I(2,l)];let m=e("value");if(a)return[": ",I(2,m)];if(Z(o)||!st(i.content))return["? ",I(2,l),N,...t.map(()=>[e(),N],"value","leadingComments"),": ",I(2,m)];if(Xi(i.content)&&!Z(i.content)&&!ie(i.content)&&!H(i.content)&&!R(i)&&!Z(o.content)&&!ie(o.content)&&!R(o)&&yn(o.content,n))return[l,f,": ",m];let d=Symbol("mappingKey"),y=ke([nt("? "),ke(I(2,l),{id:d})]),h=[N,": ",I(2,m)],g=[f,":"];Z(o.content)||R(o)&&o.content&&!G(o.content,["mapping","sequence"])||s.type==="mapping"&&H(i.content)&&st(o.content)||G(o.content,["mapping","sequence"])&&o.content.tag===null&&o.content.anchor===null?g.push(N):o.content&&g.push(ne),g.push(m);let w=I(n.tabWidth,g);return yn(i.content,n)&&!Z(i.content)&&!ie(i.content)&&!R(i)?cn([[l,w]]):cn([[y,nt(h,w,{groupId:d})]])}function yn(t,e){if(!t)return!0;switch(t.type){case"plain":case"quoteSingle":case"quoteDouble":break;case"alias":return!0;default:return!1}if(e.proseWrap==="preserve")return t.position.start.line===t.position.end.line;if(/\\$/m.test(e.originalText.slice(t.position.start.offset,t.position.end.offset)))return!1;switch(e.proseWrap){case"never":return!t.value.includes(` -`);case"always":return!/[\n ]/.test(t.value);default:return!1}}function Hi(t){var e;return((e=t.key.content)==null?void 0:e.type)==="alias"}function Xi(t){if(!t)return!0;switch(t.type){case"plain":case"quoteDouble":case"quoteSingle":return t.position.start.line===t.position.end.line;case"alias":return!0;default:return!1}}var Cr=Gi;function zi(t,e,n){let{node:r}=t,s=t.ancestors.filter(l=>l.type==="sequence"||l.type==="mapping").length,i=At(t),o=[r.type==="blockFolded"?">":"|"];r.indent!==null&&o.push(r.indent.toString()),r.chomping!=="clip"&&o.push(r.chomping==="keep"?"+":"-"),mn(r)&&o.push(" ",e("indicatorComment"));let a=Nr(r,{parentIndent:s,isLastDescendant:i,options:n}),c=[];for(let[l,f]of a.entries())l===0&&c.push(N),c.push(bt(v(ne,f))),l!==a.length-1?c.push(f.length===0?N:ir(rt)):r.chomping==="keep"&&i&&c.push(an(f.length===0?N:rt));return r.indent===null?o.push(or(I(n.tabWidth,c))):o.push(an(I(r.indent-1+s,c))),o}var Mr=zi;function Zi(t,e,n){let{node:r}=t,s=[];r.type!=="mappingValue"&&Z(r)&&s.push([v(N,t.map(n,"leadingComments")),N]);let{tag:i,anchor:o}=r;i&&s.push(n("tag")),i&&o&&s.push(" "),o&&s.push(n("anchor"));let a="";return G(r,["mapping","sequence","comment","directive","mappingItem","sequenceItem"])&&!At(t)&&(a=Ct(t,e.originalText)),(i||o)&&(G(r,["sequence","mapping"])&&!ie(r)?s.push(N):s.push(" ")),ie(r)&&s.push([r.middleComments.length===1?"":N,v(N,t.map(n,"middleComments")),N]),Sr(t)?s.push(cr(e.originalText.slice(r.position.start.offset,r.position.end.offset).trimEnd())):s.push(ke(eo(t,e,n))),H(r)&&!G(r,["document","documentHead"])&&s.push(ar([r.type==="mappingValue"&&!r.content?"":" ",t.parent.type==="mappingKey"&&t.getParentNode(2).type==="mapping"&&st(r)?"":Nt,n("trailingComment")])),dn(r)&&s.push(I(r.type==="sequenceItem"?2:0,[N,v(N,t.map(({node:c})=>[lr(e.originalText,ve(c))?N:"",n()],"endComments"))])),s.push(a),s}function eo(t,e,n){let{node:r}=t;switch(r.type){case"root":{let s=[];t.each(({node:o,next:a,isFirst:c})=>{c||s.push(N),s.push(n()),kr(o,a)?(s.push(N,"..."),H(o)&&s.push(" ",n("trailingComment"))):a&&!H(a.head)&&s.push(N,"---")},"children");let i=Tt(r);return(!G(i,["blockLiteral","blockFolded"])||i.chomping!=="keep")&&s.push(N),s}case"document":{let s=[];return no(t,e)==="head"&&((r.head.children.length>0||r.head.endComments.length>0)&&s.push(n("head")),H(r.head)?s.push(["---"," ",n(["head","trailingComment"])]):s.push("---")),to(r)&&s.push(n("body")),v(N,s)}case"documentHead":return v(N,[...t.map(n,"children"),...t.map(n,"endComments")]);case"documentBody":{let{children:s,endComments:i}=r,o="";if(s.length>0&&i.length>0){let a=Tt(r);G(a,["blockFolded","blockLiteral"])?a.chomping!=="keep"&&(o=[N,N]):o=N}return[v(N,t.map(n,"children")),o,v(N,t.map(n,"endComments"))]}case"directive":return["%",v(" ",[r.name,...r.parameters])];case"comment":return["#",r.value];case"alias":return["*",r.value];case"tag":return e.originalText.slice(r.position.start.offset,r.position.end.offset);case"anchor":return["&",r.value];case"plain":return at(r.type,e.originalText.slice(r.position.start.offset,r.position.end.offset),e);case"quoteDouble":case"quoteSingle":{let s="'",i='"',o=e.originalText.slice(r.position.start.offset+1,r.position.end.offset-1);if(r.type==="quoteSingle"&&o.includes("\\")||r.type==="quoteDouble"&&/\\[^"]/.test(o)){let c=r.type==="quoteDouble"?i:s;return[c,at(r.type,o,e),c]}if(o.includes(i))return[s,at(r.type,r.type==="quoteDouble"?Et(!1,Et(!1,o,'\\"',i),"'",s.repeat(2)):o,e),s];if(o.includes(s))return[i,at(r.type,r.type==="quoteSingle"?Et(!1,o,"''",s):o,e),i];let a=e.singleQuote?s:i;return[a,at(r.type,o,e),a]}case"blockFolded":case"blockLiteral":return Mr(t,n,e);case"mapping":case"sequence":return v(N,t.map(n,"children"));case"sequenceItem":return["- ",I(2,r.content?n("content"):"")];case"mappingKey":case"mappingValue":return r.content?n("content"):"";case"mappingItem":case"flowMappingItem":return Cr(t,n,e);case"flowMapping":return Mt(t,n,e);case"flowSequence":return Mt(t,n,e);case"flowSequenceItem":return n("content");default:throw new fr(r,"YAML")}}function to(t){return t.body.children.length>0||R(t.body)}function kr(t,e){return H(t)||e&&(e.head.children.length>0||R(e.head))}function no(t,e){let n=t.node;if(t.isFirst&&/---(?:\s|$)/.test(e.originalText.slice(ve(n),ve(n)+4))||n.head.children.length>0||R(n.head)||H(n.head))return"head";let r=t.next;return kr(n,r)?!1:r?"root":!1}function at(t,e,n){let r=br(t,e,n);return v(N,r.map(s=>bt(v(ne,s))))}function ro(t,e){if(G(e))switch(delete e.position,e.type){case"comment":if(ur(e.value))return null;break;case"quoteDouble":case"quoteSingle":e.type="quote";break}}var so={preprocess:Tr,embed:dr,print:Zi,massageAstNode:ro,insertPragma:mr,getVisitorKeys:Ar},vr=so;var nn={};tr(nn,{yaml:()=>ja});var kt=` -`,Ir="\r",Pr=function(){function t(e){this.length=e.length;for(var n=[0],r=0;rthis.length)return null;for(var n=0,r=this.offsets;r[n+1]<=e;)n++;var s=e-r[n];return{line:n,column:s}},t.prototype.indexForLocation=function(e){var n=e.line,r=e.column;return n<0||n>=this.offsets.length||r<0||r>this.lengthOfLine(n)?null:this.offsets[n]+r},t.prototype.lengthOfLine=function(e){var n=this.offsets[e],r=e===this.offsets.length-1?this.length:this.offsets[e+1];return r-n},t}();function B(t,e=null){"children"in t&&t.children.forEach(n=>B(n,t)),"anchor"in t&&t.anchor&&B(t.anchor,t),"tag"in t&&t.tag&&B(t.tag,t),"leadingComments"in t&&t.leadingComments.forEach(n=>B(n,t)),"middleComments"in t&&t.middleComments.forEach(n=>B(n,t)),"indicatorComment"in t&&t.indicatorComment&&B(t.indicatorComment,t),"trailingComment"in t&&t.trailingComment&&B(t.trailingComment,t),"endComments"in t&&t.endComments.forEach(n=>B(n,t)),Object.defineProperty(t,"_parent",{value:e,enumerable:!1})}function ge(t){return`${t.line}:${t.column}`}function _r(t){B(t);let e=io(t),n=t.children.slice();t.comments.sort((r,s)=>r.position.start.offset-s.position.end.offset).filter(r=>!r._parent).forEach(r=>{for(;n.length>1&&r.position.start.line>n[0].position.end.line;)n.shift();oo(r,e,n[0])})}function io(t){let e=Array.from(new Array(t.position.end.line),()=>({}));for(let n of t.comments)e[n.position.start.line-1].comment=n;return xr(e,t),e}function xr(t,e){if(e.position.start.offset!==e.position.end.offset){if("leadingComments"in e){let{start:n}=e.position,{leadingAttachableNode:r}=t[n.line-1];(!r||n.column1&&e.type!=="document"&&e.type!=="documentHead"){let{end:n}=e.position,{trailingAttachableNode:r}=t[n.line-1];(!r||n.column>=r.position.end.column)&&(t[n.line-1].trailingAttachableNode=e)}if(e.type!=="root"&&e.type!=="document"&&e.type!=="documentHead"&&e.type!=="documentBody"){let{start:n,end:r}=e.position,s=[r.line].concat(n.line===r.line?[]:n.line);for(let i of s){let o=t[i-1].trailingNode;(!o||r.column>=o.position.end.column)&&(t[i-1].trailingNode=e)}}"children"in e&&e.children.forEach(n=>{xr(t,n)})}}function oo(t,e,n){let r=t.position.start.line,{trailingAttachableNode:s}=e[r-1];if(s){if(s.trailingComment)throw new Error(`Unexpected multiple trailing comment at ${ge(t.position.start)}`);B(t,s),s.trailingComment=t;return}for(let o=r;o>=n.position.start.line;o--){let{trailingNode:a}=e[o-1],c;if(a)c=a;else if(o!==r&&e[o-1].comment)c=e[o-1].comment._parent;else continue;if((c.type==="sequence"||c.type==="mapping")&&(c=c.children[0]),c.type==="mappingItem"){let[l,f]=c.children;c=Rr(l)?l:f}for(;;){if(ao(c,t)){B(t,c),c.endComments.push(t);return}if(!c._parent)break;c=c._parent}break}for(let o=r+1;o<=n.position.end.line;o++){let{leadingAttachableNode:a}=e[o-1];if(a){B(t,a),a.leadingComments.push(t);return}}let i=n.children[1];B(t,i),i.endComments.push(t)}function ao(t,e){if(t.position.start.offsete.position.end.offset)switch(t.type){case"flowMapping":case"flowSequence":return t.children.length===0||e.position.start.line>t.children[t.children.length-1].position.end.line}if(e.position.end.offsett.position.start.column;case"mappingKey":case"mappingValue":return e.position.start.column>t._parent.position.start.column&&(t.children.length===0||t.children.length===1&&t.children[0].type!=="blockFolded"&&t.children[0].type!=="blockLiteral")&&(t.type==="mappingValue"||Rr(t));default:return!1}}function Rr(t){return t.position.start!==t.position.end&&(t.children.length===0||t.position.start.offset!==t.children[0].position.start.offset)}function b(t,e){return{type:t,position:e}}function Dr(t,e,n){return{...b("root",t),children:e,comments:n}}function ct(t){switch(t.type){case"DOCUMENT":for(let e=t.contents.length-1;e>=0;e--)t.contents[e].type==="BLANK_LINE"?t.contents.splice(e,1):ct(t.contents[e]);for(let e=t.directives.length-1;e>=0;e--)t.directives[e].type==="BLANK_LINE"&&t.directives.splice(e,1);break;case"FLOW_MAP":case"FLOW_SEQ":case"MAP":case"SEQ":for(let e=t.items.length-1;e>=0;e--){let n=t.items[e];"char"in n||(n.type==="BLANK_LINE"?t.items.splice(e,1):ct(n))}break;case"MAP_KEY":case"MAP_VALUE":case"SEQ_ITEM":t.node&&ct(t.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(t.type)}`)}}function X(){return{leadingComments:[]}}function oe(t=null){return{trailingComment:t}}function $(){return{...X(),...oe()}}function Yr(t,e,n){return{...b("alias",t),...$(),...e,value:n}}function Br(t,e){let n=t.cstNode;return Yr(e.transformRange({origStart:n.valueRange.origStart-1,origEnd:n.valueRange.origEnd}),e.transformContent(t),n.rawValue)}function $r(t){return{...t,type:"blockFolded"}}function Fr(t,e,n,r,s,i){return{...b("blockValue",t),...X(),...e,chomping:n,indent:r,value:s,indicatorComment:i}}var ae;(function(t){t.Tag="!",t.Anchor="&",t.Comment="#"})(ae||(ae={}));function qr(t,e){return{...b("anchor",t),value:e}}function xe(t,e){return{...b("comment",t),value:e}}function Ur(t,e,n){return{anchor:e,tag:t,middleComments:n}}function Kr(t,e){return{...b("tag",t),value:e}}function vt(t,e,n=()=>!1){let r=t.cstNode,s=[],i=null,o=null,a=null;for(let c of r.props){let l=e.text[c.origStart];switch(l){case ae.Tag:i=i||c,o=Kr(e.transformRange(c),t.tag);break;case ae.Anchor:i=i||c,a=qr(e.transformRange(c),r.anchor);break;case ae.Comment:{let f=xe(e.transformRange(c),e.text.slice(c.origStart+1,c.origEnd));e.comments.push(f),!n(f)&&i&&i.origEnd<=c.origStart&&c.origEnd<=r.valueRange.origStart&&s.push(f);break}default:throw new Error(`Unexpected leading character ${JSON.stringify(l)}`)}}return Ur(o,a,s)}var En;(function(t){t.CLIP="clip",t.STRIP="strip",t.KEEP="keep"})(En||(En={}));function It(t,e){let n=t.cstNode,r=1,s=n.chomping==="CLIP"?0:1,o=n.header.origEnd-n.header.origStart-r-s!==0,a=e.transformRange({origStart:n.header.origStart,origEnd:n.valueRange.origEnd}),c=null,l=vt(t,e,f=>{if(!(a.start.offset=0;c--){let l=t.contents[c];if(l.type==="COMMENT"){let f=e.transformNode(l);n&&n.line===f.position.start.line?o.unshift(f):a?r.unshift(f):f.position.start.offset>=t.valueRange.origEnd?i.unshift(f):r.unshift(f)}else a=!0}if(i.length>1)throw new Error(`Unexpected multiple document trailing comments at ${ge(i[1].position.start)}`);if(o.length>1)throw new Error(`Unexpected multiple documentHead trailing comments at ${ge(o[1].position.start)}`);return{comments:r,endComments:s,documentTrailingComment:q(i)||null,documentHeadTrailingComment:q(o)||null}}function lo(t,e,n){let r=Pt(n.text.slice(t.valueRange.origEnd),/^\.\.\./),s=r===-1?t.valueRange.origEnd:Math.max(0,t.valueRange.origEnd-1);n.text[s-1]==="\r"&&s--;let i=n.transformRange({origStart:e!==null?e.position.start.offset:s,origEnd:s}),o=r===-1?i.end:n.transformOffset(t.valueRange.origEnd+3);return{position:i,documentEndPoint:o}}function Zr(t,e,n,r){return{...b("documentHead",t),...F(n),...oe(r),children:e}}function es(t,e){let n=t.cstNode,{directives:r,comments:s,endComments:i}=fo(n,e),{position:o,endMarkerPoint:a}=uo(n,r,e);return e.comments.push(...s,...i),{createDocumentHeadWithTrailingComment:l=>(l&&e.comments.push(l),Zr(o,r,i,l)),documentHeadEndMarkerPoint:a}}function fo(t,e){let n=[],r=[],s=[],i=!1;for(let o=t.directives.length-1;o>=0;o--){let a=e.transformNode(t.directives[o]);a.type==="comment"?i?r.unshift(a):s.unshift(a):(i=!0,n.unshift(a))}return{directives:n,comments:r,endComments:s}}function uo(t,e,n){let r=Pt(n.text.slice(0,t.valueRange.origStart),/---\s*$/);r>0&&!/[\r\n]/.test(n.text[r-1])&&(r=-1);let s=r===-1?{origStart:t.valueRange.origStart,origEnd:t.valueRange.origStart}:{origStart:r,origEnd:r+3};return e.length!==0&&(s.origStart=e[0].position.start.offset),{position:n.transformRange(s),endMarkerPoint:r===-1?null:n.transformOffset(r)}}function ts(t,e){let{createDocumentHeadWithTrailingComment:n,documentHeadEndMarkerPoint:r}=es(t,e),{documentBody:s,documentEndPoint:i,documentTrailingComment:o,documentHeadTrailingComment:a}=zr(t,e,r),c=n(a);return o&&e.comments.push(o),Hr(K(c.position.start,i),c,s,o)}function _t(t,e,n){return{...b("flowCollection",t),...$(),...F(),...e,children:n}}function ns(t,e,n){return{..._t(t,e,n),type:"flowMapping"}}function xt(t,e,n){return{...b("flowMappingItem",t),...X(),children:[e,n]}}function ce(t,e){let n=[];for(let r of t)r&&"type"in r&&r.type==="COMMENT"?e.comments.push(e.transformNode(r)):n.push(r);return n}function Rt(t){let[e,n]=["?",":"].map(r=>{let s=t.find(i=>"char"in i&&i.char===r);return s?{origStart:s.origOffset,origEnd:s.origOffset+1}:null});return{additionalKeyRange:e,additionalValueRange:n}}function Dt(t,e){let n=e;return r=>t.slice(n,n=r)}function Yt(t){let e=[],n=Dt(t,1),r=!1;for(let s=1;s{let l=r[c],{additionalKeyRange:f,additionalValueRange:m}=Rt(l);return De(a,e,xt,f,m)}),i=n[0],o=q(n);return ns(e.transformRange({origStart:i.origOffset,origEnd:o.origOffset+1}),e.transformContent(t),s)}function ss(t,e,n){return{..._t(t,e,n),type:"flowSequence"}}function is(t,e){return{...b("flowSequenceItem",t),children:[e]}}function os(t,e){let n=ce(t.cstNode.items,e),r=Yt(n),s=t.items.map((a,c)=>{if(a.type!=="PAIR"){let l=e.transformNode(a);return is(K(l.position.start,l.position.end),l)}else{let l=r[c],{additionalKeyRange:f,additionalValueRange:m}=Rt(l);return De(a,e,xt,f,m)}}),i=n[0],o=q(n);return ss(e.transformRange({origStart:i.origOffset,origEnd:o.origOffset+1}),e.transformContent(t),s)}function as(t,e,n){return{...b("mapping",t),...X(),...e,children:n}}function cs(t,e,n){return{...b("mappingItem",t),...X(),children:[e,n]}}function ls(t,e){let n=t.cstNode;n.items.filter(o=>o.type==="MAP_KEY"||o.type==="MAP_VALUE").forEach(o=>Re(o,e));let r=ce(n.items,e),s=po(r),i=t.items.map((o,a)=>{let c=s[a],[l,f]=c[0].type==="MAP_VALUE"?[null,c[0].range]:[c[0].range,c.length===1?null:c[1].range];return De(o,e,cs,l,f)});return as(K(i[0].position.start,q(i).position.end),e.transformContent(t),i)}function po(t){let e=[],n=Dt(t,0),r=!1;for(let s=0;s=0;r--)if(n.test(t[r]))return r;return-1}function ps(t,e){let n=t.cstNode;return fs(e.transformRange({origStart:n.valueRange.origStart,origEnd:us(e.text,n.valueRange.origEnd-1,/\S/)+1}),e.transformContent(t),n.strValue)}function ms(t){return{...t,type:"quoteDouble"}}function hs(t,e,n){return{...b("quoteValue",t),...e,...$(),value:n}}function Bt(t,e){let n=t.cstNode;return hs(e.transformRange(n.valueRange),e.transformContent(t),n.strValue)}function gs(t,e){return ms(Bt(t,e))}function ds(t){return{...t,type:"quoteSingle"}}function ys(t,e){return ds(Bt(t,e))}function Es(t,e,n){return{...b("sequence",t),...X(),...F(),...e,children:n}}function Ss(t,e){return{...b("sequenceItem",t),...$(),...F(),children:e?[e]:[]}}function ws(t,e){let r=ce(t.cstNode.items,e).map((s,i)=>{Re(s,e);let o=e.transformNode(t.items[i]);return Ss(K(e.transformOffset(s.valueRange.origStart),o===null?e.transformOffset(s.valueRange.origStart+1):o.position.end),o)});return Es(K(r[0].position.start,q(r).position.end),e.transformContent(t),r)}function bs(t,e){if(t===null||t.type===void 0&&t.value===null)return null;switch(t.type){case"ALIAS":return Br(t,e);case"BLOCK_FOLDED":return Vr(t,e);case"BLOCK_LITERAL":return jr(t,e);case"COMMENT":return Qr(t,e);case"DIRECTIVE":return Gr(t,e);case"DOCUMENT":return ts(t,e);case"FLOW_MAP":return rs(t,e);case"FLOW_SEQ":return os(t,e);case"MAP":return ls(t,e);case"PLAIN":return ps(t,e);case"QUOTE_DOUBLE":return gs(t,e);case"QUOTE_SINGLE":return ys(t,e);case"SEQ":return ws(t,e);default:throw new Error(`Unexpected node type ${t.type}`)}}function Ns(t,e,n){let r=new SyntaxError(t);return r.name="YAMLSyntaxError",r.source=e,r.position=n,r}function Os(t,e){let n=t.source.range||t.source.valueRange;return Ns(t.message,e.text,e.transformRange(n))}function Ls(t,e,n){return{offset:t,line:e,column:n}}function As(t,e){t<0?t=0:t>e.text.length&&(t=e.text.length);let n=e.locator.locationForIndex(t);return Ls(t,n.line+1,n.column+1)}function Ts(t,e){return K(e.transformOffset(t.origStart),e.transformOffset(t.origEnd))}function Cs(t){if(!t.setOrigRanges()){let e=n=>{if(mo(n))return n.origStart=n.start,n.origEnd=n.end,!0;if(ho(n))return n.origOffset=n.offset,!0};t.forEach(n=>Nn(n,e))}}function Nn(t,e){if(!(!t||typeof t!="object")&&e(t)!==!0)for(let n of Object.keys(t)){if(n==="context"||n==="error")continue;let r=t[n];Array.isArray(r)?r.forEach(s=>Nn(s,e)):Nn(r,e)}}function mo(t){return typeof t.start=="number"}function ho(t){return typeof t.offset=="number"}function On(t){if("children"in t){if(t.children.length===1){let e=t.children[0];if(e.type==="plain"&&e.tag===null&&e.anchor===null&&e.value==="")return t.children.splice(0,1),t}t.children.forEach(On)}return t}function Ln(t,e,n,r){let s=e(t);return i=>{r(s,i)&&n(t,s=i)}}function An(t){if(t===null||!("children"in t))return;let e=t.children;if(e.forEach(An),t.type==="document"){let[i,o]=t.children;i.position.start.offset===i.position.end.offset?i.position.start=i.position.end=o.position.start:o.position.start.offset===o.position.end.offset&&(o.position.start=o.position.end=i.position.end)}let n=Ln(t.position,go,yo,wo),r=Ln(t.position,Eo,So,bo);"endComments"in t&&t.endComments.length!==0&&(n(t.endComments[0].position.start),r(q(t.endComments).position.end));let s=e.filter(i=>i!==null);if(s.length!==0){let i=s[0],o=q(s);n(i.position.start),r(o.position.end),"leadingComments"in i&&i.leadingComments.length!==0&&n(i.leadingComments[0].position.start),"tag"in i&&i.tag&&n(i.tag.position.start),"anchor"in i&&i.anchor&&n(i.anchor.position.start),"trailingComment"in o&&o.trailingComment&&r(o.trailingComment.position.end)}}function go(t){return t.start}function yo(t,e){t.start=e}function Eo(t){return t.end}function So(t,e){t.end=e}function wo(t,e){return e.offsett.offset}var di=rr(hi(),1);var J=rr(gi(),1),xm=J.default.findPair,Rm=J.default.toJSON,Dm=J.default.parseMap,Ym=J.default.parseSeq,Bm=J.default.stringifyNumber,$m=J.default.stringifyString,Fm=J.default.Type,qa=J.default.YAMLError,qm=J.default.YAMLReferenceError,er=J.default.YAMLSemanticError,Ua=J.default.YAMLSyntaxError,Um=J.default.YAMLWarning;var{Document:yi,parseCST:Ei}=di.default;function Si(t){let e=Ei(t);Cs(e);let n=e.map(a=>new yi({merge:!1,keepCstNodes:!0}).parse(a)),r=new Pr(t),s=[],i={text:t,locator:r,comments:s,transformOffset:a=>As(a,i),transformRange:a=>Ts(a,i),transformNode:a=>bs(a,i),transformContent:a=>vt(a,i)};for(let a of n)for(let c of a.errors)if(!(c instanceof er&&c.message==='Map keys must be unique; "<<" is repeated'))throw Os(c,i);n.forEach(a=>ct(a.cstNode));let o=Dr(i.transformRange({origStart:0,origEnd:i.text.length}),n.map(i.transformNode),s);return _r(o),An(o),On(o),o}function Va(t,e){let n=new SyntaxError(t+" ("+e.loc.start.line+":"+e.loc.start.column+")");return Object.assign(n,e)}var wi=Va;function Wa(t){try{let e=Si(t);return delete e.comments,e}catch(e){throw e!=null&&e.position?wi(e.message,{loc:e.position,cause:e}):e}}var ja={astFormat:"yaml",parse:Wa,hasPragma:pr,locStart:ve,locEnd:hr};var bi=[{linguistLanguageId:407,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",".prettierrc",".stylelintrc",".lintstagedrc"],aceMode:"yaml",codemirrorMode:"yaml",codemirrorMimeType:"text/x-yaml",parsers:["yaml"],vscodeLanguageIds:["yaml","ansible","home-assistant"]}];var rn={bracketSpacing:{category:"Common",type:"boolean",default:!0,description:"Print spaces between brackets.",oppositeDescription:"Do not print spaces between brackets."},singleQuote:{category:"Common",type:"boolean",default:!1,description:"Use single quotes instead of double quotes."},proseWrap:{category:"Common",type:"choice",default:"preserve",description:"How to wrap prose.",choices:[{value:"always",description:"Wrap prose if it exceeds the print width."},{value:"never",description:"Do not wrap prose."},{value:"preserve",description:"Wrap prose as-is."}]},bracketSameLine:{category:"Common",type:"boolean",default:!1,description:"Put > of opening tags on the last line instead of on a new line."},singleAttributePerLine:{category:"Common",type:"boolean",default:!1,description:"Enforce single attribute per line in HTML, Vue and JSX."}};var Qa={bracketSpacing:rn.bracketSpacing,singleQuote:rn.singleQuote,proseWrap:rn.proseWrap},Ni=Qa;var Ja={yaml:vr};return ki(Ga);}); \ No newline at end of file +${t}`}function Wi(t){return Array.isArray(t)&&t.length>0}var Ie=Wi;function G(t,e){return typeof(t==null?void 0:t.type)=="string"&&(!e||e.includes(t.type))}function pn(t,e,n){return e("children"in t?{...t,children:t.children.map(r=>pn(r,e,t))}:t,n)}function Pe(t,e,n){Object.defineProperty(t,e,{get:n,enumerable:!1})}function br(t,e){let n=0,r=e.length;for(let s=t.position.end.offset-1;si===0&&i===o.length-1?s:i!==0&&i!==o.length-1?s.trim():i===0?s.trimEnd():s.trimStart());return n.proseWrap==="preserve"?r.map(s=>s.length===0?[]:[s]):r.map(s=>s.length===0?[]:Or(s)).reduce((s,i,o)=>o!==0&&r[o-1].length>0&&i.length>0&&!(t==="quoteDouble"&&x(!1,x(!1,s,-1),-1).endsWith("\\"))?[...s.slice(0,-1),[...x(!1,s,-1),...i]]:[...s,i],[]).map(s=>n.proseWrap==="never"?[s.join(" ")]:s)}function Ar(t,{parentIndent:e,isLastDescendant:n,options:r}){let s=t.position.start.line===t.position.end.line?"":r.originalText.slice(t.position.start.offset,t.position.end.offset).match(/^[^\n]*\n(.*)$/su)[1],i;if(t.indent===null){let c=s.match(/^(? *)[^\n\r ]/mu);i=c?c.groups.leadingSpace.length:Number.POSITIVE_INFINITY}else i=t.indent-1+e;let o=s.split(` +`).map(c=>c.slice(i));if(r.proseWrap==="preserve"||t.type==="blockLiteral")return a(o.map(c=>c.length===0?[]:[c]));return a(o.map(c=>c.length===0?[]:Or(c)).reduce((c,l,f)=>f!==0&&o[f-1].length>0&&l.length>0&&!/^\s/u.test(l[0])&&!/^\s|\s$/u.test(x(!1,c,-1))?[...c.slice(0,-1),[...x(!1,c,-1),...l]]:[...c,l],[]).map(c=>c.reduce((l,f)=>l.length>0&&/\s$/u.test(x(!1,l,-1))?[...l.slice(0,-1),x(!1,l,-1)+" "+f]:[...l,f],[])).map(c=>r.proseWrap==="never"?[c.join(" ")]:c));function a(c){if(t.chomping==="keep")return x(!1,c,-1).length===0?c.slice(0,-1):c;let l=0;for(let f=c.length-1;f>=0&&c[f].length===0;f--)l++;return l===0?c:l>=2&&!n?c.slice(0,-(l-1)):c.slice(0,-l)}}function ot(t){if(!t)return!0;switch(t.type){case"plain":case"quoteDouble":case"quoteSingle":case"alias":case"flowMapping":case"flowSequence":return!0;default:return!1}}var hn=new WeakMap;function Ct(t,e){let{node:n,root:r}=t,s;return hn.has(r)?s=hn.get(r):(s=new Set,hn.set(r,s)),!s.has(n.position.end.line)&&(s.add(n.position.end.line),br(n,e)&&!gn(t.parent))?Ot:""}function gn(t){return R(t)&&!G(t,["documentHead","documentBody","flowMapping","flowSequence"])}function I(t,e){return tt(" ".repeat(t),e)}function Qi(t,e,n){let{node:r}=t,s=t.ancestors.filter(l=>l.type==="sequence"||l.type==="mapping").length,i=At(t),o=[r.type==="blockFolded"?">":"|"];r.indent!==null&&o.push(r.indent.toString()),r.chomping!=="clip"&&o.push(r.chomping==="keep"?"+":"-"),mn(r)&&o.push(" ",e("indicatorComment"));let a=Ar(r,{parentIndent:s,isLastDescendant:i,options:n}),c=[];for(let[l,f]of a.entries())l===0&&c.push(N),c.push(bt(v(ne,f))),l!==a.length-1?c.push(f.length===0?N:ir(rt)):r.chomping==="keep"&&i&&c.push(on(f.length===0?N:rt));return r.indent===null?o.push(or(I(n.tabWidth,c))):o.push(on(I(r.indent-1+s,c))),o}var Tr=Qi;function Mt(t,e,n){let{node:r}=t,s=r.type==="flowMapping",i=s?"{":"[",o=s?"}":"]",a=Ot;s&&r.children.length>0&&n.bracketSpacing&&(a=ne);let c=x(!1,r.children,-1),l=(c==null?void 0:c.type)==="flowMappingItem"&&_e(c.key)&&_e(c.value);return[i,I(n.tabWidth,[a,Ji(t,e,n),n.trailingComma==="none"?"":nt(","),R(r)?[N,v(N,t.map(e,"endComments"))]:""]),l?"":a,o]}function Ji(t,e,n){return t.map(({isLast:r,node:s,next:i})=>[e(),r?"":[",",ne,s.position.start.line!==i.position.start.line?Ct(t,n.originalText):""]],"children")}function Gi(t,e,n){var C;let{node:r,parent:s}=t,{key:i,value:o}=r,a=_e(i),c=_e(o);if(a&&c)return": ";let l=e("key"),f=Hi(r)?" ":"";if(c)return r.type==="flowMappingItem"&&s.type==="flowMapping"?l:r.type==="mappingItem"&&dn(i.content,n)&&!H(i.content)&&((C=s.tag)==null?void 0:C.value)!=="tag:yaml.org,2002:set"?[l,f,":"]:["? ",I(2,l)];let m=e("value");if(a)return[": ",I(2,m)];if(Z(o)||!ot(i.content))return["? ",I(2,l),N,...t.map(()=>[e(),N],"value","leadingComments"),": ",I(2,m)];if(Xi(i.content)&&!Z(i.content)&&!ie(i.content)&&!H(i.content)&&!R(i)&&!Z(o.content)&&!ie(o.content)&&!R(o)&&dn(o.content,n))return[l,f,": ",m];let d=Symbol("mappingKey"),y=ke([nt("? "),ke(I(2,l),{id:d})]),h=[N,": ",I(2,m)],g=[f,":"];Z(o.content)||R(o)&&o.content&&!G(o.content,["mapping","sequence"])||s.type==="mapping"&&H(i.content)&&ot(o.content)||G(o.content,["mapping","sequence"])&&o.content.tag===null&&o.content.anchor===null?g.push(N):o.content&&g.push(ne),g.push(m);let w=I(n.tabWidth,g);return dn(i.content,n)&&!Z(i.content)&&!ie(i.content)&&!R(i)?an([[l,w]]):an([[y,nt(h,w,{groupId:d})]])}function dn(t,e){if(!t)return!0;switch(t.type){case"plain":case"quoteSingle":case"quoteDouble":break;case"alias":return!0;default:return!1}if(e.proseWrap==="preserve")return t.position.start.line===t.position.end.line;if(/\\$/mu.test(e.originalText.slice(t.position.start.offset,t.position.end.offset)))return!1;switch(e.proseWrap){case"never":return!t.value.includes(` +`);case"always":return!/[\n ]/u.test(t.value);default:return!1}}function Hi(t){var e;return((e=t.key.content)==null?void 0:e.type)==="alias"}function Xi(t){if(!t)return!0;switch(t.type){case"plain":case"quoteDouble":case"quoteSingle":return t.position.start.line===t.position.end.line;case"alias":return!0;default:return!1}}var Cr=Gi;function zi(t){return pn(t,Zi)}function Zi(t){switch(t.type){case"document":Pe(t,"head",()=>t.children[0]),Pe(t,"body",()=>t.children[1]);break;case"documentBody":case"sequenceItem":case"flowSequenceItem":case"mappingKey":case"mappingValue":Pe(t,"content",()=>t.children[0]);break;case"mappingItem":case"flowMappingItem":Pe(t,"key",()=>t.children[0]),Pe(t,"value",()=>t.children[1]);break}return t}var Mr=zi;function eo(t,e,n){let{node:r}=t,s=[];r.type!=="mappingValue"&&Z(r)&&s.push([v(N,t.map(n,"leadingComments")),N]);let{tag:i,anchor:o}=r;i&&s.push(n("tag")),i&&o&&s.push(" "),o&&s.push(n("anchor"));let a="";return G(r,["mapping","sequence","comment","directive","mappingItem","sequenceItem"])&&!At(t)&&(a=Ct(t,e.originalText)),(i||o)&&(G(r,["sequence","mapping"])&&!ie(r)?s.push(N):s.push(" ")),ie(r)&&s.push([r.middleComments.length===1?"":N,v(N,t.map(n,"middleComments")),N]),Nr(t)?s.push(cr(e.originalText.slice(r.position.start.offset,r.position.end.offset).trimEnd())):s.push(ke(to(t,e,n))),H(r)&&!G(r,["document","documentHead"])&&s.push(ar([r.type==="mappingValue"&&!r.content?"":" ",t.parent.type==="mappingKey"&&t.getParentNode(2).type==="mapping"&&ot(r)?"":Nt,n("trailingComment")])),gn(r)&&s.push(I(r.type==="sequenceItem"?2:0,[N,v(N,t.map(({node:c})=>[lr(e.originalText,ve(c))?N:"",n()],"endComments"))])),s.push(a),s}function to(t,e,n){let{node:r}=t;switch(r.type){case"root":{let s=[];t.each(({node:o,next:a,isFirst:c})=>{c||s.push(N),s.push(n()),kr(o,a)?(s.push(N,"..."),H(o)&&s.push(" ",n("trailingComment"))):a&&!H(a.head)&&s.push(N,"---")},"children");let i=Tt(r);return(!G(i,["blockLiteral","blockFolded"])||i.chomping!=="keep")&&s.push(N),s}case"document":{let s=[];return ro(t,e)==="head"&&((r.head.children.length>0||r.head.endComments.length>0)&&s.push(n("head")),H(r.head)?s.push(["---"," ",n(["head","trailingComment"])]):s.push("---")),no(r)&&s.push(n("body")),v(N,s)}case"documentHead":return v(N,[...t.map(n,"children"),...t.map(n,"endComments")]);case"documentBody":{let{children:s,endComments:i}=r,o="";if(s.length>0&&i.length>0){let a=Tt(r);G(a,["blockFolded","blockLiteral"])?a.chomping!=="keep"&&(o=[N,N]):o=N}return[v(N,t.map(n,"children")),o,v(N,t.map(n,"endComments"))]}case"directive":return["%",v(" ",[r.name,...r.parameters])];case"comment":return["#",r.value];case"alias":return["*",r.value];case"tag":return e.originalText.slice(r.position.start.offset,r.position.end.offset);case"anchor":return["&",r.value];case"plain":return at(r.type,e.originalText.slice(r.position.start.offset,r.position.end.offset),e);case"quoteDouble":case"quoteSingle":{let s="'",i='"',o=e.originalText.slice(r.position.start.offset+1,r.position.end.offset-1);if(r.type==="quoteSingle"&&o.includes("\\")||r.type==="quoteDouble"&&/\\[^"]/u.test(o)){let c=r.type==="quoteDouble"?i:s;return[c,at(r.type,o,e),c]}if(o.includes(i))return[s,at(r.type,r.type==="quoteDouble"?Et(!1,Et(!1,o,String.raw`\"`,i),"'",s.repeat(2)):o,e),s];if(o.includes(s))return[i,at(r.type,r.type==="quoteSingle"?Et(!1,o,"''",s):o,e),i];let a=e.singleQuote?s:i;return[a,at(r.type,o,e),a]}case"blockFolded":case"blockLiteral":return Tr(t,n,e);case"mapping":case"sequence":return v(N,t.map(n,"children"));case"sequenceItem":return["- ",I(2,r.content?n("content"):"")];case"mappingKey":case"mappingValue":return r.content?n("content"):"";case"mappingItem":case"flowMappingItem":return Cr(t,n,e);case"flowMapping":return Mt(t,n,e);case"flowSequence":return Mt(t,n,e);case"flowSequenceItem":return n("content");default:throw new fr(r,"YAML")}}function no(t){return t.body.children.length>0||R(t.body)}function kr(t,e){return H(t)||e&&(e.head.children.length>0||R(e.head))}function ro(t,e){let n=t.node;if(t.isFirst&&/---(?:\s|$)/u.test(e.originalText.slice(ve(n),ve(n)+4))||n.head.children.length>0||R(n.head)||H(n.head))return"head";let r=t.next;return kr(n,r)?!1:r?"root":!1}function at(t,e,n){let r=Lr(t,e,n);return v(N,r.map(s=>bt(v(ne,s))))}function vr(t,e){if(G(t))switch(t.type){case"comment":if(yr(t.value))return null;break;case"quoteDouble":case"quoteSingle":e.type="quote";break}}vr.ignoredProperties=new Set(["position"]);var so={preprocess:Mr,embed:pr,print:eo,massageAstNode:vr,insertPragma:Sr,getVisitorKeys:gr},Ir=so;var Pr=[{linguistLanguageId:407,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",".prettierrc",".stylelintrc",".lintstagedrc"],aceMode:"yaml",codemirrorMode:"yaml",codemirrorMimeType:"text/x-yaml",parsers:["yaml"],vscodeLanguageIds:["yaml","ansible","home-assistant"]}];var kt={bracketSpacing:{category:"Common",type:"boolean",default:!0,description:"Print spaces between brackets.",oppositeDescription:"Do not print spaces between brackets."},singleQuote:{category:"Common",type:"boolean",default:!1,description:"Use single quotes instead of double quotes."},proseWrap:{category:"Common",type:"choice",default:"preserve",description:"How to wrap prose.",choices:[{value:"always",description:"Wrap prose if it exceeds the print width."},{value:"never",description:"Do not wrap prose."},{value:"preserve",description:"Wrap prose as-is."}]},bracketSameLine:{category:"Common",type:"boolean",default:!1,description:"Put > of opening tags on the last line instead of on a new line."},singleAttributePerLine:{category:"Common",type:"boolean",default:!1,description:"Enforce single attribute per line in HTML, Vue and JSX."}};var io={bracketSpacing:kt.bracketSpacing,singleQuote:kt.singleQuote,proseWrap:kt.proseWrap},_r=io;var er={};tr(er,{yaml:()=>Qa});var vt=` +`,xr="\r",Rr=function(){function t(e){this.length=e.length;for(var n=[0],r=0;rthis.length)return null;for(var n=0,r=this.offsets;r[n+1]<=e;)n++;var s=e-r[n];return{line:n,column:s}},t.prototype.indexForLocation=function(e){var n=e.line,r=e.column;return n<0||n>=this.offsets.length||r<0||r>this.lengthOfLine(n)?null:this.offsets[n]+r},t.prototype.lengthOfLine=function(e){var n=this.offsets[e],r=e===this.offsets.length-1?this.length:this.offsets[e+1];return r-n},t}();function B(t,e=null){"children"in t&&t.children.forEach(n=>B(n,t)),"anchor"in t&&t.anchor&&B(t.anchor,t),"tag"in t&&t.tag&&B(t.tag,t),"leadingComments"in t&&t.leadingComments.forEach(n=>B(n,t)),"middleComments"in t&&t.middleComments.forEach(n=>B(n,t)),"indicatorComment"in t&&t.indicatorComment&&B(t.indicatorComment,t),"trailingComment"in t&&t.trailingComment&&B(t.trailingComment,t),"endComments"in t&&t.endComments.forEach(n=>B(n,t)),Object.defineProperty(t,"_parent",{value:e,enumerable:!1})}function ge(t){return`${t.line}:${t.column}`}function Dr(t){B(t);let e=oo(t),n=t.children.slice();t.comments.sort((r,s)=>r.position.start.offset-s.position.end.offset).filter(r=>!r._parent).forEach(r=>{for(;n.length>1&&r.position.start.line>n[0].position.end.line;)n.shift();ao(r,e,n[0])})}function oo(t){let e=Array.from(new Array(t.position.end.line),()=>({}));for(let n of t.comments)e[n.position.start.line-1].comment=n;return Yr(e,t),e}function Yr(t,e){if(e.position.start.offset!==e.position.end.offset){if("leadingComments"in e){let{start:n}=e.position,{leadingAttachableNode:r}=t[n.line-1];(!r||n.column1&&e.type!=="document"&&e.type!=="documentHead"){let{end:n}=e.position,{trailingAttachableNode:r}=t[n.line-1];(!r||n.column>=r.position.end.column)&&(t[n.line-1].trailingAttachableNode=e)}if(e.type!=="root"&&e.type!=="document"&&e.type!=="documentHead"&&e.type!=="documentBody"){let{start:n,end:r}=e.position,s=[r.line].concat(n.line===r.line?[]:n.line);for(let i of s){let o=t[i-1].trailingNode;(!o||r.column>=o.position.end.column)&&(t[i-1].trailingNode=e)}}"children"in e&&e.children.forEach(n=>{Yr(t,n)})}}function ao(t,e,n){let r=t.position.start.line,{trailingAttachableNode:s}=e[r-1];if(s){if(s.trailingComment)throw new Error(`Unexpected multiple trailing comment at ${ge(t.position.start)}`);B(t,s),s.trailingComment=t;return}for(let o=r;o>=n.position.start.line;o--){let{trailingNode:a}=e[o-1],c;if(a)c=a;else if(o!==r&&e[o-1].comment)c=e[o-1].comment._parent;else continue;if((c.type==="sequence"||c.type==="mapping")&&(c=c.children[0]),c.type==="mappingItem"){let[l,f]=c.children;c=Br(l)?l:f}for(;;){if(co(c,t)){B(t,c),c.endComments.push(t);return}if(!c._parent)break;c=c._parent}break}for(let o=r+1;o<=n.position.end.line;o++){let{leadingAttachableNode:a}=e[o-1];if(a){B(t,a),a.leadingComments.push(t);return}}let i=n.children[1];B(t,i),i.endComments.push(t)}function co(t,e){if(t.position.start.offsete.position.end.offset)switch(t.type){case"flowMapping":case"flowSequence":return t.children.length===0||e.position.start.line>t.children[t.children.length-1].position.end.line}if(e.position.end.offsett.position.start.column;case"mappingKey":case"mappingValue":return e.position.start.column>t._parent.position.start.column&&(t.children.length===0||t.children.length===1&&t.children[0].type!=="blockFolded"&&t.children[0].type!=="blockLiteral")&&(t.type==="mappingValue"||Br(t));default:return!1}}function Br(t){return t.position.start!==t.position.end&&(t.children.length===0||t.position.start.offset!==t.children[0].position.start.offset)}function b(t,e){return{type:t,position:e}}function $r(t,e,n){return{...b("root",t),children:e,comments:n}}function ct(t){switch(t.type){case"DOCUMENT":for(let e=t.contents.length-1;e>=0;e--)t.contents[e].type==="BLANK_LINE"?t.contents.splice(e,1):ct(t.contents[e]);for(let e=t.directives.length-1;e>=0;e--)t.directives[e].type==="BLANK_LINE"&&t.directives.splice(e,1);break;case"FLOW_MAP":case"FLOW_SEQ":case"MAP":case"SEQ":for(let e=t.items.length-1;e>=0;e--){let n=t.items[e];"char"in n||(n.type==="BLANK_LINE"?t.items.splice(e,1):ct(n))}break;case"MAP_KEY":case"MAP_VALUE":case"SEQ_ITEM":t.node&&ct(t.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(t.type)}`)}}function X(){return{leadingComments:[]}}function oe(t=null){return{trailingComment:t}}function $(){return{...X(),...oe()}}function Fr(t,e,n){return{...b("alias",t),...$(),...e,value:n}}function qr(t,e){let n=t.cstNode;return Fr(e.transformRange({origStart:n.valueRange.origStart-1,origEnd:n.valueRange.origEnd}),e.transformContent(t),n.rawValue)}function Ur(t){return{...t,type:"blockFolded"}}function Kr(t,e,n,r,s,i){return{...b("blockValue",t),...X(),...e,chomping:n,indent:r,value:s,indicatorComment:i}}var ae;(function(t){t.Tag="!",t.Anchor="&",t.Comment="#"})(ae||(ae={}));function Vr(t,e){return{...b("anchor",t),value:e}}function xe(t,e){return{...b("comment",t),value:e}}function Wr(t,e,n){return{anchor:e,tag:t,middleComments:n}}function jr(t,e){return{...b("tag",t),value:e}}function It(t,e,n=()=>!1){let r=t.cstNode,s=[],i=null,o=null,a=null;for(let c of r.props){let l=e.text[c.origStart];switch(l){case ae.Tag:i=i||c,o=jr(e.transformRange(c),t.tag);break;case ae.Anchor:i=i||c,a=Vr(e.transformRange(c),r.anchor);break;case ae.Comment:{let f=xe(e.transformRange(c),e.text.slice(c.origStart+1,c.origEnd));e.comments.push(f),!n(f)&&i&&i.origEnd<=c.origStart&&c.origEnd<=r.valueRange.origStart&&s.push(f);break}default:throw new Error(`Unexpected leading character ${JSON.stringify(l)}`)}}return Wr(o,a,s)}var yn;(function(t){t.CLIP="clip",t.STRIP="strip",t.KEEP="keep"})(yn||(yn={}));function Pt(t,e){let n=t.cstNode,r=1,s=n.chomping==="CLIP"?0:1,o=n.header.origEnd-n.header.origStart-r-s!==0,a=e.transformRange({origStart:n.header.origStart,origEnd:n.valueRange.origEnd}),c=null,l=It(t,e,f=>{if(!(a.start.offset=0;c--){let l=t.contents[c];if(l.type==="COMMENT"){let f=e.transformNode(l);n&&n.line===f.position.start.line?o.unshift(f):a?r.unshift(f):f.position.start.offset>=t.valueRange.origEnd?i.unshift(f):r.unshift(f)}else a=!0}if(i.length>1)throw new Error(`Unexpected multiple document trailing comments at ${ge(i[1].position.start)}`);if(o.length>1)throw new Error(`Unexpected multiple documentHead trailing comments at ${ge(o[1].position.start)}`);return{comments:r,endComments:s,documentTrailingComment:q(i)||null,documentHeadTrailingComment:q(o)||null}}function fo(t,e,n){let r=_t(n.text.slice(t.valueRange.origEnd),/^\.\.\./),s=r===-1?t.valueRange.origEnd:Math.max(0,t.valueRange.origEnd-1);n.text[s-1]==="\r"&&s--;let i=n.transformRange({origStart:e!==null?e.position.start.offset:s,origEnd:s}),o=r===-1?i.end:n.transformOffset(t.valueRange.origEnd+3);return{position:i,documentEndPoint:o}}function ns(t,e,n,r){return{...b("documentHead",t),...F(n),...oe(r),children:e}}function rs(t,e){let n=t.cstNode,{directives:r,comments:s,endComments:i}=uo(n,e),{position:o,endMarkerPoint:a}=po(n,r,e);return e.comments.push(...s,...i),{createDocumentHeadWithTrailingComment:l=>(l&&e.comments.push(l),ns(o,r,i,l)),documentHeadEndMarkerPoint:a}}function uo(t,e){let n=[],r=[],s=[],i=!1;for(let o=t.directives.length-1;o>=0;o--){let a=e.transformNode(t.directives[o]);a.type==="comment"?i?r.unshift(a):s.unshift(a):(i=!0,n.unshift(a))}return{directives:n,comments:r,endComments:s}}function po(t,e,n){let r=_t(n.text.slice(0,t.valueRange.origStart),/---\s*$/);r>0&&!/[\r\n]/.test(n.text[r-1])&&(r=-1);let s=r===-1?{origStart:t.valueRange.origStart,origEnd:t.valueRange.origStart}:{origStart:r,origEnd:r+3};return e.length!==0&&(s.origStart=e[0].position.start.offset),{position:n.transformRange(s),endMarkerPoint:r===-1?null:n.transformOffset(r)}}function ss(t,e){let{createDocumentHeadWithTrailingComment:n,documentHeadEndMarkerPoint:r}=rs(t,e),{documentBody:s,documentEndPoint:i,documentTrailingComment:o,documentHeadTrailingComment:a}=ts(t,e,r),c=n(a);return o&&e.comments.push(o),Zr(K(c.position.start,i),c,s,o)}function xt(t,e,n){return{...b("flowCollection",t),...$(),...F(),...e,children:n}}function is(t,e,n){return{...xt(t,e,n),type:"flowMapping"}}function Rt(t,e,n){return{...b("flowMappingItem",t),...X(),children:[e,n]}}function ce(t,e){let n=[];for(let r of t)r&&"type"in r&&r.type==="COMMENT"?e.comments.push(e.transformNode(r)):n.push(r);return n}function Dt(t){let[e,n]=["?",":"].map(r=>{let s=t.find(i=>"char"in i&&i.char===r);return s?{origStart:s.origOffset,origEnd:s.origOffset+1}:null});return{additionalKeyRange:e,additionalValueRange:n}}function Yt(t,e){let n=e;return r=>t.slice(n,n=r)}function Bt(t){let e=[],n=Yt(t,1),r=!1;for(let s=1;s{let l=r[c],{additionalKeyRange:f,additionalValueRange:m}=Dt(l);return De(a,e,Rt,f,m)}),i=n[0],o=q(n);return is(e.transformRange({origStart:i.origOffset,origEnd:o.origOffset+1}),e.transformContent(t),s)}function as(t,e,n){return{...xt(t,e,n),type:"flowSequence"}}function cs(t,e){return{...b("flowSequenceItem",t),children:[e]}}function ls(t,e){let n=ce(t.cstNode.items,e),r=Bt(n),s=t.items.map((a,c)=>{if(a.type!=="PAIR"){let l=e.transformNode(a);return cs(K(l.position.start,l.position.end),l)}else{let l=r[c],{additionalKeyRange:f,additionalValueRange:m}=Dt(l);return De(a,e,Rt,f,m)}}),i=n[0],o=q(n);return as(e.transformRange({origStart:i.origOffset,origEnd:o.origOffset+1}),e.transformContent(t),s)}function fs(t,e,n){return{...b("mapping",t),...X(),...e,children:n}}function us(t,e,n){return{...b("mappingItem",t),...X(),children:[e,n]}}function ps(t,e){let n=t.cstNode;n.items.filter(o=>o.type==="MAP_KEY"||o.type==="MAP_VALUE").forEach(o=>Re(o,e));let r=ce(n.items,e),s=mo(r),i=t.items.map((o,a)=>{let c=s[a],[l,f]=c[0].type==="MAP_VALUE"?[null,c[0].range]:[c[0].range,c.length===1?null:c[1].range];return De(o,e,us,l,f)});return fs(K(i[0].position.start,q(i).position.end),e.transformContent(t),i)}function mo(t){let e=[],n=Yt(t,0),r=!1;for(let s=0;s=0;r--)if(n.test(t[r]))return r;return-1}function gs(t,e){let n=t.cstNode;return ms(e.transformRange({origStart:n.valueRange.origStart,origEnd:hs(e.text,n.valueRange.origEnd-1,/\S/)+1}),e.transformContent(t),n.strValue)}function ds(t){return{...t,type:"quoteDouble"}}function ys(t,e,n){return{...b("quoteValue",t),...e,...$(),value:n}}function $t(t,e){let n=t.cstNode;return ys(e.transformRange(n.valueRange),e.transformContent(t),n.strValue)}function Es(t,e){return ds($t(t,e))}function Ss(t){return{...t,type:"quoteSingle"}}function ws(t,e){return Ss($t(t,e))}function bs(t,e,n){return{...b("sequence",t),...X(),...F(),...e,children:n}}function Ns(t,e){return{...b("sequenceItem",t),...$(),...F(),children:e?[e]:[]}}function Os(t,e){let r=ce(t.cstNode.items,e).map((s,i)=>{Re(s,e);let o=e.transformNode(t.items[i]);return Ns(K(e.transformOffset(s.valueRange.origStart),o===null?e.transformOffset(s.valueRange.origStart+1):o.position.end),o)});return bs(K(r[0].position.start,q(r).position.end),e.transformContent(t),r)}function Ls(t,e){if(t===null||t.type===void 0&&t.value===null)return null;switch(t.type){case"ALIAS":return qr(t,e);case"BLOCK_FOLDED":return Qr(t,e);case"BLOCK_LITERAL":return Gr(t,e);case"COMMENT":return Hr(t,e);case"DIRECTIVE":return zr(t,e);case"DOCUMENT":return ss(t,e);case"FLOW_MAP":return os(t,e);case"FLOW_SEQ":return ls(t,e);case"MAP":return ps(t,e);case"PLAIN":return gs(t,e);case"QUOTE_DOUBLE":return Es(t,e);case"QUOTE_SINGLE":return ws(t,e);case"SEQ":return Os(t,e);default:throw new Error(`Unexpected node type ${t.type}`)}}function As(t,e,n){let r=new SyntaxError(t);return r.name="YAMLSyntaxError",r.source=e,r.position=n,r}function Ts(t,e){let n=t.source.range||t.source.valueRange;return As(t.message,e.text,e.transformRange(n))}function Cs(t,e,n){return{offset:t,line:e,column:n}}function Ms(t,e){t<0?t=0:t>e.text.length&&(t=e.text.length);let n=e.locator.locationForIndex(t);return Cs(t,n.line+1,n.column+1)}function ks(t,e){return K(e.transformOffset(t.origStart),e.transformOffset(t.origEnd))}function vs(t){if(!t.setOrigRanges()){let e=n=>{if(ho(n))return n.origStart=n.start,n.origEnd=n.end,!0;if(go(n))return n.origOffset=n.offset,!0};t.forEach(n=>bn(n,e))}}function bn(t,e){if(!(!t||typeof t!="object")&&e(t)!==!0)for(let n of Object.keys(t)){if(n==="context"||n==="error")continue;let r=t[n];Array.isArray(r)?r.forEach(s=>bn(s,e)):bn(r,e)}}function ho(t){return typeof t.start=="number"}function go(t){return typeof t.offset=="number"}function Nn(t){if("children"in t){if(t.children.length===1){let e=t.children[0];if(e.type==="plain"&&e.tag===null&&e.anchor===null&&e.value==="")return t.children.splice(0,1),t}t.children.forEach(Nn)}return t}function On(t,e,n,r){let s=e(t);return i=>{r(s,i)&&n(t,s=i)}}function Ln(t){if(t===null||!("children"in t))return;let e=t.children;if(e.forEach(Ln),t.type==="document"){let[i,o]=t.children;i.position.start.offset===i.position.end.offset?i.position.start=i.position.end=o.position.start:o.position.start.offset===o.position.end.offset&&(o.position.start=o.position.end=i.position.end)}let n=On(t.position,yo,Eo,bo),r=On(t.position,So,wo,No);"endComments"in t&&t.endComments.length!==0&&(n(t.endComments[0].position.start),r(q(t.endComments).position.end));let s=e.filter(i=>i!==null);if(s.length!==0){let i=s[0],o=q(s);n(i.position.start),r(o.position.end),"leadingComments"in i&&i.leadingComments.length!==0&&n(i.leadingComments[0].position.start),"tag"in i&&i.tag&&n(i.tag.position.start),"anchor"in i&&i.anchor&&n(i.anchor.position.start),"trailingComment"in o&&o.trailingComment&&r(o.trailingComment.position.end)}}function yo(t){return t.start}function Eo(t,e){t.start=e}function So(t){return t.end}function wo(t,e){t.end=e}function bo(t,e){return e.offsett.offset}var Si=rr(yi(),1);var J=rr(Ei(),1),Bm=J.default.findPair,$m=J.default.toJSON,Fm=J.default.parseMap,qm=J.default.parseSeq,Um=J.default.stringifyNumber,Km=J.default.stringifyString,Vm=J.default.Type,Ua=J.default.YAMLError,Wm=J.default.YAMLReferenceError,Zn=J.default.YAMLSemanticError,Ka=J.default.YAMLSyntaxError,jm=J.default.YAMLWarning;var{Document:wi,parseCST:bi}=Si.default;function Ni(t){let e=bi(t);vs(e);let n=e.map(a=>new wi({merge:!1,keepCstNodes:!0}).parse(a)),r=new Rr(t),s=[],i={text:t,locator:r,comments:s,transformOffset:a=>Ms(a,i),transformRange:a=>ks(a,i),transformNode:a=>Ls(a,i),transformContent:a=>It(a,i)};for(let a of n)for(let c of a.errors)if(!(c instanceof Zn&&c.message==='Map keys must be unique; "<<" is repeated'))throw Ts(c,i);n.forEach(a=>ct(a.cstNode));let o=$r(i.transformRange({origStart:0,origEnd:i.text.length}),n.map(i.transformNode),s);return Dr(o),Ln(o),Nn(o),o}function Wa(t,e){let n=new SyntaxError(t+" ("+e.loc.start.line+":"+e.loc.start.column+")");return Object.assign(n,e)}var Oi=Wa;function ja(t){try{let e=Ni(t);return delete e.comments,e}catch(e){throw e!=null&&e.position?Oi(e.message,{loc:e.position,cause:e}):e}}var Qa={astFormat:"yaml",parse:ja,hasPragma:Er,locStart:ve,locEnd:dr};var Ja={yaml:Ir};return vi(Ga);}); \ No newline at end of file diff --git a/node_modules/prettier/plugins/yaml.mjs b/node_modules/prettier/plugins/yaml.mjs index c0ba9105dc..a1abcfdce2 100644 --- a/node_modules/prettier/plugins/yaml.mjs +++ b/node_modules/prettier/plugins/yaml.mjs @@ -1,7 +1,7 @@ -var Li=Object.create;var rn=Object.defineProperty;var Ai=Object.getOwnPropertyDescriptor;var Ti=Object.getOwnPropertyNames;var Ci=Object.getPrototypeOf,Mi=Object.prototype.hasOwnProperty;var ee=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports),nr=(t,e)=>{for(var n in e)rn(t,n,{get:e[n],enumerable:!0})},ki=(t,e,n,r)=>{if(e&&typeof e=="object"||typeof e=="function")for(let s of Ti(e))!Mi.call(t,s)&&s!==n&&rn(t,s,{get:()=>e[s],enumerable:!(r=Ai(e,s))||r.enumerable});return t};var rr=(t,e,n)=>(n=t!=null?Li(Ci(t)):{},ki(e||!t||!t.__esModule?rn(n,"default",{value:t,enumerable:!0}):n,t));var le=ee(U=>{"use strict";var re={ANCHOR:"&",COMMENT:"#",TAG:"!",DIRECTIVES_END:"-",DOCUMENT_END:"."},lt={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"},No="tag:yaml.org,2002:",Oo={MAP:"tag:yaml.org,2002:map",SEQ:"tag:yaml.org,2002:seq",STR:"tag:yaml.org,2002:str"};function Ms(t){let e=[0],n=t.indexOf(` +var Ai=Object.create;var nn=Object.defineProperty;var Ti=Object.getOwnPropertyDescriptor;var Ci=Object.getOwnPropertyNames;var Mi=Object.getPrototypeOf,ki=Object.prototype.hasOwnProperty;var ee=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports),nr=(t,e)=>{for(var n in e)nn(t,n,{get:e[n],enumerable:!0})},vi=(t,e,n,r)=>{if(e&&typeof e=="object"||typeof e=="function")for(let s of Ci(e))!ki.call(t,s)&&s!==n&&nn(t,s,{get:()=>e[s],enumerable:!(r=Ti(e,s))||r.enumerable});return t};var rr=(t,e,n)=>(n=t!=null?Ai(Mi(t)):{},vi(e||!t||!t.__esModule?nn(n,"default",{value:t,enumerable:!0}):n,t));var le=ee(U=>{"use strict";var re={ANCHOR:"&",COMMENT:"#",TAG:"!",DIRECTIVES_END:"-",DOCUMENT_END:"."},lt={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"},Oo="tag:yaml.org,2002:",Lo={MAP:"tag:yaml.org,2002:map",SEQ:"tag:yaml.org,2002:seq",STR:"tag:yaml.org,2002:str"};function Is(t){let e=[0],n=t.indexOf(` `);for(;n!==-1;)n+=1,e.push(n),n=t.indexOf(` -`,n);return e}function ks(t){let e,n;return typeof t=="string"?(e=Ms(t),n=t):(Array.isArray(t)&&(t=t[0]),t&&t.context&&(t.lineStarts||(t.lineStarts=Ms(t.context.src)),e=t.lineStarts,n=t.context.src)),{lineStarts:e,src:n}}function Tn(t,e){if(typeof t!="number"||t<0)return null;let{lineStarts:n,src:r}=ks(e);if(!n||!r||t>r.length)return null;for(let i=0;i=1)||t>n.length)return null;let s=n[t-1],i=n[t];for(;i&&i>s&&r[i-1]===` -`;)--i;return r.slice(s,i)}function Ao({start:t,end:e},n,r=80){let s=Lo(t.line,n);if(!s)return null;let{col:i}=t;if(s.length>r)if(i<=r-10)s=s.substr(0,r-1)+"\u2026";else{let f=Math.round(r/2);s.length>i+f&&(s=s.substr(0,i+f-1)+"\u2026"),i-=s.length-r,s="\u2026"+s.substr(1-r)}let o=1,a="";e&&(e.line===t.line&&i+(e.col-t.col)<=r+1?o=e.col-t.col:(o=Math.min(s.length+1,r)-i,a="\u2026"));let c=i>1?" ".repeat(i-1):"",l="^".repeat(o);return`${s} +`,n);return e}function Ps(t){let e,n;return typeof t=="string"?(e=Is(t),n=t):(Array.isArray(t)&&(t=t[0]),t&&t.context&&(t.lineStarts||(t.lineStarts=Is(t.context.src)),e=t.lineStarts,n=t.context.src)),{lineStarts:e,src:n}}function An(t,e){if(typeof t!="number"||t<0)return null;let{lineStarts:n,src:r}=Ps(e);if(!n||!r||t>r.length)return null;for(let i=0;i=1)||t>n.length)return null;let s=n[t-1],i=n[t];for(;i&&i>s&&r[i-1]===` +`;)--i;return r.slice(s,i)}function To({start:t,end:e},n,r=80){let s=Ao(t.line,n);if(!s)return null;let{col:i}=t;if(s.length>r)if(i<=r-10)s=s.substr(0,r-1)+"\u2026";else{let f=Math.round(r/2);s.length>i+f&&(s=s.substr(0,i+f-1)+"\u2026"),i-=s.length-r,s="\u2026"+s.substr(1-r)}let o=1,a="";e&&(e.line===t.line&&i+(e.col-t.col)<=r+1?o=e.col-t.col:(o=Math.min(s.length+1,r)-i,a="\u2026"));let c=i>1?" ".repeat(i-1):"",l="^".repeat(o);return`${s} ${c}${l}${a}`}var Ye=class t{static copy(e){return new t(e.start,e.end)}constructor(e,n){this.start=e,this.end=n||e}isEmpty(){return typeof this.start!="number"||!this.end||this.end<=this.start}setOrigRange(e,n){let{start:r,end:s}=this;if(e.length===0||s<=e[0])return this.origStart=r,this.origEnd=s,n;let i=n;for(;ir);)++i;this.origStart=r+i;let o=i;for(;i=s);)++i;return this.origEnd=s+i,o}},se=class t{static addStringTerminator(e,n,r){if(r[r.length-1]===` `)return r;let s=t.endOfWhiteSpace(e,n);return s>=e.length||e[s]===` `?r+` @@ -20,11 +20,11 @@ ${c}${l}${a}`}var Ye=class t{static copy(e){return new t(e.start,e.end)}construc `;){switch(a){case` `:s=0,n+=1,o+=` `;break;case" ":s<=r&&(i=!0),n=t.endOfWhiteSpace(e,n+2)-1;break;case" ":s+=1,n+=1;break}a=e[n+1]}return o||(o=" "),a&&s<=r&&(i=!0),{fold:o,offset:n,error:i}}constructor(e,n,r){Object.defineProperty(this,"context",{value:r||null,writable:!0}),this.error=null,this.range=null,this.valueRange=null,this.props=n||[],this.type=e,this.value=null}getPropValue(e,n,r){if(!this.context)return null;let{src:s}=this.context,i=this.props[e];return i&&s[i.start]===n?s.slice(i.start+(r?1:0),i.end):null}get anchor(){for(let e=0;e0?e.join(` -`):null}commentHasRequiredWhitespace(e){let{src:n}=this.context;if(this.header&&e===this.header.end||!this.valueRange)return!1;let{end:r}=this.valueRange;return e!==r||t.atBlank(n,r-1)}get hasComment(){if(this.context){let{src:e}=this.context;for(let n=0;nr.setOrigRange(e,n)),n}toString(){let{context:{src:e},range:n,value:r}=this;if(r!=null)return r;let s=e.slice(n.start,n.end);return t.addStringTerminator(e,n.end,s)}},de=class extends Error{constructor(e,n,r){if(!r||!(n instanceof se))throw new Error(`Invalid arguments for new ${e}`);super(),this.name=e,this.message=r,this.source=n}makePretty(){if(!this.source)return;this.nodeType=this.source.type;let e=this.source.context&&this.source.context.root;if(typeof this.offset=="number"){this.range=new Ye(this.offset,this.offset+1);let n=e&&Tn(this.offset,e);if(n){let r={line:n.line,col:n.col+1};this.linePos={start:n,end:r}}delete this.offset}else this.range=this.source.range,this.linePos=this.source.rangeAsLinePos;if(this.linePos){let{line:n,col:r}=this.linePos.start;this.message+=` at line ${n}, column ${r}`;let s=e&&Ao(this.linePos,e);s&&(this.message+=`: +`):null}commentHasRequiredWhitespace(e){let{src:n}=this.context;if(this.header&&e===this.header.end||!this.valueRange)return!1;let{end:r}=this.valueRange;return e!==r||t.atBlank(n,r-1)}get hasComment(){if(this.context){let{src:e}=this.context;for(let n=0;nr.setOrigRange(e,n)),n}toString(){let{context:{src:e},range:n,value:r}=this;if(r!=null)return r;let s=e.slice(n.start,n.end);return t.addStringTerminator(e,n.end,s)}},de=class extends Error{constructor(e,n,r){if(!r||!(n instanceof se))throw new Error(`Invalid arguments for new ${e}`);super(),this.name=e,this.message=r,this.source=n}makePretty(){if(!this.source)return;this.nodeType=this.source.type;let e=this.source.context&&this.source.context.root;if(typeof this.offset=="number"){this.range=new Ye(this.offset,this.offset+1);let n=e&&An(this.offset,e);if(n){let r={line:n.line,col:n.col+1};this.linePos={start:n,end:r}}delete this.offset}else this.range=this.source.range,this.linePos=this.source.rangeAsLinePos;if(this.linePos){let{line:n,col:r}=this.linePos.start;this.message+=` at line ${n}, column ${r}`;let s=e&&To(this.linePos,e);s&&(this.message+=`: ${s} -`)}delete this.source}},Cn=class extends de{constructor(e,n){super("YAMLReferenceError",e,n)}},ft=class extends de{constructor(e,n){super("YAMLSemanticError",e,n)}},Mn=class extends de{constructor(e,n){super("YAMLSyntaxError",e,n)}},kn=class extends de{constructor(e,n){super("YAMLWarning",e,n)}};function To(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var vn=class t extends se{static endOfLine(e,n,r){let s=e[n],i=n;for(;s&&s!==` +`)}delete this.source}},Tn=class extends de{constructor(e,n){super("YAMLReferenceError",e,n)}},ft=class extends de{constructor(e,n){super("YAMLSemanticError",e,n)}},Cn=class extends de{constructor(e,n){super("YAMLSyntaxError",e,n)}},Mn=class extends de{constructor(e,n){super("YAMLWarning",e,n)}};function Co(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var kn=class t extends se{static endOfLine(e,n,r){let s=e[n],i=n;for(;s&&s!==` `&&!(r&&(s==="["||s==="]"||s==="{"||s==="}"||s===","));){let o=e[i+1];if(s===":"&&(!o||o===` `||o===" "||o===" "||r&&o===",")||(s===" "||s===" ")&&o==="#")break;i+=1,s=o}return i}get strValue(){if(!this.valueRange||!this.context)return null;let{start:e,end:n}=this.valueRange,{src:r}=this.context,s=r[n-1];for(;el?r.slice(l,a+1):c)}else i+=c}let o=r[e];switch(o){case" ":{let a="Plain value cannot start with a tab character";return{errors:[new ft(this,a)],str:i}}case"@":case"`":{let a=`Plain value cannot start with reserved character ${o}`;return{errors:[new ft(this,a)],str:i}}default:return i}}parseBlockValue(e){let{indent:n,inFlow:r,src:s}=this.context,i=e,o=e;for(let a=s[i];a===` `&&!se.atDocumentBoundary(s,i+1);a=s[i]){let c=se.endOfBlockIndent(s,n,i+1);if(c===null||s[c]==="#")break;s[c]===` `?i=c:(o=t.endOfLine(s,c,r),i=o)}return this.valueRange.isEmpty()&&(this.valueRange.start=e),this.valueRange.end=o,o}parse(e,n){this.context=e;let{inFlow:r,src:s}=e,i=n,o=s[i];return o&&o!=="#"&&o!==` -`&&(i=t.endOfLine(s,n,r)),this.valueRange=new Ye(n,i),i=se.endOfWhiteSpace(s,i),i=this.parseComment(i),(!this.hasComment||this.valueRange.isEmpty())&&(i=this.parseBlockValue(i)),i}};U.Char=re;U.Node=se;U.PlainValue=vn;U.Range=Ye;U.Type=lt;U.YAMLError=de;U.YAMLReferenceError=Cn;U.YAMLSemanticError=ft;U.YAMLSyntaxError=Mn;U.YAMLWarning=kn;U._defineProperty=To;U.defaultTagPrefix=No;U.defaultTags=Oo});var Is=ee(vs=>{"use strict";var u=le(),Ee=class extends u.Node{constructor(){super(u.Type.BLANK_LINE)}get includesTrailingLines(){return!0}parse(e,n){return this.context=e,this.range=new u.Range(n,n+1),n+1}},ut=class extends u.Node{constructor(e,n){super(e,n),this.node=null}get includesTrailingLines(){return!!this.node&&this.node.includesTrailingLines}parse(e,n){this.context=e;let{parseNode:r,src:s}=e,{atLineStart:i,lineStart:o}=e;!i&&this.type===u.Type.SEQ_ITEM&&(this.error=new u.YAMLSemanticError(this,"Sequence items must not have preceding content on the same line"));let a=i?n-o:e.indent,c=u.Node.endOfWhiteSpace(s,n+1),l=s[c],f=l==="#",m=[],d=null;for(;l===` +`&&(i=t.endOfLine(s,n,r)),this.valueRange=new Ye(n,i),i=se.endOfWhiteSpace(s,i),i=this.parseComment(i),(!this.hasComment||this.valueRange.isEmpty())&&(i=this.parseBlockValue(i)),i}};U.Char=re;U.Node=se;U.PlainValue=kn;U.Range=Ye;U.Type=lt;U.YAMLError=de;U.YAMLReferenceError=Tn;U.YAMLSemanticError=ft;U.YAMLSyntaxError=Cn;U.YAMLWarning=Mn;U._defineProperty=Co;U.defaultTagPrefix=Oo;U.defaultTags=Lo});var xs=ee(_s=>{"use strict";var u=le(),Ee=class extends u.Node{constructor(){super(u.Type.BLANK_LINE)}get includesTrailingLines(){return!0}parse(e,n){return this.context=e,this.range=new u.Range(n,n+1),n+1}},ut=class extends u.Node{constructor(e,n){super(e,n),this.node=null}get includesTrailingLines(){return!!this.node&&this.node.includesTrailingLines}parse(e,n){this.context=e;let{parseNode:r,src:s}=e,{atLineStart:i,lineStart:o}=e;!i&&this.type===u.Type.SEQ_ITEM&&(this.error=new u.YAMLSemanticError(this,"Sequence items must not have preceding content on the same line"));let a=i?n-o:e.indent,c=u.Node.endOfWhiteSpace(s,n+1),l=s[c],f=l==="#",m=[],d=null;for(;l===` `||l==="#";){if(l==="#"){let h=u.Node.endOfLine(s,c+1);m.push(new u.Range(c,h)),c=h}else{i=!0,o=c+1;let h=u.Node.endOfWhiteSpace(s,o);s[h]===` -`&&m.length===0&&(d=new Ee,o=d.parse({src:s},o)),c=u.Node.endOfIndent(s,o)}l=s[c]}if(u.Node.nextNodeIsIndented(l,c-(o+a),this.type!==u.Type.SEQ_ITEM)?this.node=r({atLineStart:i,inCollection:!1,indent:a,lineStart:o,parent:this},c):l&&o>n+1&&(c=o-1),this.node){if(d){let h=e.parent.items||e.parent.contents;h&&h.push(d)}m.length&&Array.prototype.push.apply(this.props,m),c=this.node.range.end}else if(f){let h=m[0];this.props.push(h),c=h.end}else c=u.Node.endOfLine(s,n+1);let y=this.node?this.node.valueRange.end:c;return this.valueRange=new u.Range(n,y),c}setOrigRanges(e,n){return n=super.setOrigRanges(e,n),this.node?this.node.setOrigRanges(e,n):n}toString(){let{context:{src:e},node:n,range:r,value:s}=this;if(s!=null)return s;let i=n?e.slice(r.start,n.range.start)+String(n):e.slice(r.start,r.end);return u.Node.addStringTerminator(e,r.end,i)}},ye=class extends u.Node{constructor(){super(u.Type.COMMENT)}parse(e,n){this.context=e;let r=this.parseComment(n);return this.range=new u.Range(n,r),r}};function In(t){let e=t;for(;e instanceof ut;)e=e.node;if(!(e instanceof Bt))return null;let n=e.items.length,r=-1;for(let o=n-1;o>=0;--o){let a=e.items[o];if(a.type===u.Type.COMMENT){let{indent:c,lineStart:l}=a.context;if(c>0&&a.range.start>=l+c)break;r=o}else if(a.type===u.Type.BLANK_LINE)r=o;else break}if(r===-1)return null;let s=e.items.splice(r,n-r),i=s[0].range.start;for(;e.range.end=i,e.valueRange&&e.valueRange.end>i&&(e.valueRange.end=i),e!==t;)e=e.context.parent;return s}var Bt=class t extends u.Node{static nextContentHasIndent(e,n,r){let s=u.Node.endOfLine(e,n)+1;n=u.Node.endOfWhiteSpace(e,s);let i=e[n];return i?n>=s+r?!0:i!=="#"&&i!==` -`?!1:t.nextContentHasIndent(e,n,r):!1}constructor(e){super(e.type===u.Type.SEQ_ITEM?u.Type.SEQ:u.Type.MAP);for(let r=e.props.length-1;r>=0;--r)if(e.props[r].start0}parse(e,n){this.context=e;let{parseNode:r,src:s}=e,i=u.Node.startOfLine(s,n),o=this.items[0];o.context.parent=this,this.valueRange=u.Range.copy(o.valueRange);let a=o.range.start-o.context.lineStart,c=n;c=u.Node.normalizeOffset(s,c);let l=s[c],f=u.Node.endOfWhiteSpace(s,i)===c,m=!1;for(;l;){for(;l===` +`&&m.length===0&&(d=new Ee,o=d.parse({src:s},o)),c=u.Node.endOfIndent(s,o)}l=s[c]}if(u.Node.nextNodeIsIndented(l,c-(o+a),this.type!==u.Type.SEQ_ITEM)?this.node=r({atLineStart:i,inCollection:!1,indent:a,lineStart:o,parent:this},c):l&&o>n+1&&(c=o-1),this.node){if(d){let h=e.parent.items||e.parent.contents;h&&h.push(d)}m.length&&Array.prototype.push.apply(this.props,m),c=this.node.range.end}else if(f){let h=m[0];this.props.push(h),c=h.end}else c=u.Node.endOfLine(s,n+1);let y=this.node?this.node.valueRange.end:c;return this.valueRange=new u.Range(n,y),c}setOrigRanges(e,n){return n=super.setOrigRanges(e,n),this.node?this.node.setOrigRanges(e,n):n}toString(){let{context:{src:e},node:n,range:r,value:s}=this;if(s!=null)return s;let i=n?e.slice(r.start,n.range.start)+String(n):e.slice(r.start,r.end);return u.Node.addStringTerminator(e,r.end,i)}},ye=class extends u.Node{constructor(){super(u.Type.COMMENT)}parse(e,n){this.context=e;let r=this.parseComment(n);return this.range=new u.Range(n,r),r}};function vn(t){let e=t;for(;e instanceof ut;)e=e.node;if(!(e instanceof $t))return null;let n=e.items.length,r=-1;for(let o=n-1;o>=0;--o){let a=e.items[o];if(a.type===u.Type.COMMENT){let{indent:c,lineStart:l}=a.context;if(c>0&&a.range.start>=l+c)break;r=o}else if(a.type===u.Type.BLANK_LINE)r=o;else break}if(r===-1)return null;let s=e.items.splice(r,n-r),i=s[0].range.start;for(;e.range.end=i,e.valueRange&&e.valueRange.end>i&&(e.valueRange.end=i),e!==t;)e=e.context.parent;return s}var $t=class t extends u.Node{static nextContentHasIndent(e,n,r){let s=u.Node.endOfLine(e,n)+1;n=u.Node.endOfWhiteSpace(e,s);let i=e[n];return i?n>=s+r?!0:i!=="#"&&i!==` +`?!1:t.nextContentHasIndent(e,n,r):!1}constructor(e){super(e.type===u.Type.SEQ_ITEM?u.Type.SEQ:u.Type.MAP);for(let r=e.props.length-1;r>=0;--r)if(e.props[r].start0}parse(e,n){this.context=e;let{parseNode:r,src:s}=e,i=u.Node.startOfLine(s,n),o=this.items[0];o.context.parent=this,this.valueRange=u.Range.copy(o.valueRange);let a=o.range.start-o.context.lineStart,c=n;c=u.Node.normalizeOffset(s,c);let l=s[c],f=u.Node.endOfWhiteSpace(s,i)===c,m=!1;for(;l;){for(;l===` `||l==="#";){if(f&&l===` `&&!m){let h=new Ee;if(c=h.parse({src:s},c),this.valueRange.end=c,c>=s.length){l=null;break}this.items.push(h),c-=1}else if(l==="#"){if(c=s.length){l=null;break}}if(i=c+1,c=u.Node.endOfIndent(s,i),u.Node.atBlank(s,c)){let h=u.Node.endOfWhiteSpace(s,c),g=s[h];(!g||g===` `||g==="#")&&(c=h)}l=s[c],f=!0}if(!l)break;if(c!==i+a&&(f||l!==":")){if(cn&&(c=i);break}else if(!this.error){let h="All collection items must start at the same column";this.error=new u.YAMLSyntaxError(this,h)}}if(o.type===u.Type.SEQ_ITEM){if(l!=="-"){i>n&&(c=i);break}}else if(l==="-"&&!this.error){let h=s[c+1];if(!h||h===` `||h===" "||h===" "){let g="A collection cannot be both a mapping and a sequence";this.error=new u.YAMLSyntaxError(this,g)}}let d=r({atLineStart:f,inCollection:!0,indent:a,lineStart:i,parent:this},c);if(!d)return c;if(this.items.push(d),this.valueRange.end=d.valueRange.end,c=u.Node.normalizeOffset(s,d.range.end),l=s[c],f=!1,m=d.includesTrailingLines,l){let h=c-1,g=s[h];for(;g===" "||g===" ";)g=s[--h];g===` -`&&(i=h+1,f=!0)}let y=In(d);y&&Array.prototype.push.apply(this.items,y)}return c}setOrigRanges(e,n){return n=super.setOrigRanges(e,n),this.items.forEach(r=>{n=r.setOrigRanges(e,n)}),n}toString(){let{context:{src:e},items:n,range:r,value:s}=this;if(s!=null)return s;let i=e.slice(r.start,n[0].range.start)+String(n[0]);for(let o=1;o{n=r.setOrigRanges(e,n)}),n}toString(){let{context:{src:e},items:n,range:r,value:s}=this;if(s!=null)return s;let i=e.slice(r.start,n[0].range.start)+String(n[0]);for(let o=1;o0&&(this.contents=this.directives,this.directives=[]),i}return n[i]?(this.directivesEndMarker=new u.Range(i,i+3),i+3):(s?this.error=new u.YAMLSemanticError(this,"Missing directives-end indicator line"):this.directives.length>0&&(this.contents=this.directives,this.directives=[]),i)}parseContents(e){let{parseNode:n,src:r}=this.context;this.contents||(this.contents=[]);let s=e;for(;r[s-1]==="-";)s-=1;let i=u.Node.endOfWhiteSpace(r,e),o=s===e;for(this.valueRange=new u.Range(i);!u.Node.atDocumentBoundary(r,i,u.Char.DOCUMENT_END);){switch(r[i]){case` -`:if(o){let a=new Ee;i=a.parse({src:r},i),i0&&(this.contents=this.directives,this.directives=[]),i}return n[i]?(this.directivesEndMarker=new u.Range(i,i+3),i+3):(s?this.error=new u.YAMLSemanticError(this,"Missing directives-end indicator line"):this.directives.length>0&&(this.contents=this.directives,this.directives=[]),i)}parseContents(e){let{parseNode:n,src:r}=this.context;this.contents||(this.contents=[]);let s=e;for(;r[s-1]==="-";)s-=1;let i=u.Node.endOfWhiteSpace(r,e),o=s===e;for(this.valueRange=new u.Range(i);!u.Node.atDocumentBoundary(r,i,u.Char.DOCUMENT_END);){switch(r[i]){case` +`:if(o){let a=new Ee;i=a.parse({src:r},i),i{n=r.setOrigRanges(e,n)}),this.directivesEndMarker&&(n=this.directivesEndMarker.setOrigRange(e,n)),this.contents.forEach(r=>{n=r.setOrigRanges(e,n)}),this.documentEndMarker&&(n=this.documentEndMarker.setOrigRange(e,n)),n}toString(){let{contents:e,directives:n,value:r}=this;if(r!=null)return r;let s=n.join("");return e.length>0&&((n.length>0||e[0].type===u.Type.COMMENT)&&(s+=`--- `),s+=e.join("")),s[s.length-1]!==` `&&(s+=` -`),s}},xn=class extends u.Node{parse(e,n){this.context=e;let{src:r}=e,s=u.Node.endOfIdentifier(r,n+1);return this.valueRange=new u.Range(n+1,s),s=u.Node.endOfWhiteSpace(r,s),s=this.parseComment(s),s}},fe={CLIP:"CLIP",KEEP:"KEEP",STRIP:"STRIP"},Rn=class extends u.Node{constructor(e,n){super(e,n),this.blockIndent=null,this.chomping=fe.CLIP,this.header=null}get includesTrailingLines(){return this.chomping===fe.KEEP}get strValue(){if(!this.valueRange||!this.context)return null;let{start:e,end:n}=this.valueRange,{indent:r,src:s}=this.context;if(this.valueRange.isEmpty())return"";let i=null,o=s[n-1];for(;o===` +`),s}},_n=class extends u.Node{parse(e,n){this.context=e;let{src:r}=e,s=u.Node.endOfIdentifier(r,n+1);return this.valueRange=new u.Range(n+1,s),s=u.Node.endOfWhiteSpace(r,s),s=this.parseComment(s),s}},fe={CLIP:"CLIP",KEEP:"KEEP",STRIP:"STRIP"},xn=class extends u.Node{constructor(e,n){super(e,n),this.blockIndent=null,this.chomping=fe.CLIP,this.header=null}get includesTrailingLines(){return this.chomping===fe.KEEP}get strValue(){if(!this.valueRange||!this.context)return null;let{start:e,end:n}=this.valueRange,{indent:r,src:s}=this.context;if(this.valueRange.isEmpty())return"";let i=null,o=s[n-1];for(;o===` `||o===" "||o===" ";){if(n-=1,n<=e){if(this.chomping===fe.KEEP)break;return""}o===` `&&(i=n),o=s[n-1]}let a=n+1;i&&(this.chomping===fe.KEEP?(a=i,n=this.valueRange.end):n=i);let c=r+this.blockIndent,l=this.type===u.Type.BLOCK_FOLDED,f=!0,m="",d="",y=!1;for(let h=e;ha&&(a=m);r[l]===` -`?i=l:i=o=u.Node.endOfLine(r,l)}return this.chomping!==fe.KEEP&&(i=r[o]?o+1:o),this.valueRange=new u.Range(e+1,i),i}parse(e,n){this.context=e;let{src:r}=e,s=this.parseBlockHeader(n);return s=u.Node.endOfWhiteSpace(r,s),s=this.parseComment(s),s=this.parseBlockValue(s),s}setOrigRanges(e,n){return n=super.setOrigRanges(e,n),this.header?this.header.setOrigRange(e,n):n}},Dn=class extends u.Node{constructor(e,n){super(e,n),this.items=null}prevNodeIsJsonLike(e=this.items.length){let n=this.items[e-1];return!!n&&(n.jsonLike||n.type===u.Type.COMMENT&&this.prevNodeIsJsonLike(e-1))}parse(e,n){this.context=e;let{parseNode:r,src:s}=e,{indent:i,lineStart:o}=e,a=s[n];this.items=[{char:a,offset:n}];let c=u.Node.endOfWhiteSpace(s,n+1);for(a=s[c];a&&a!=="]"&&a!=="}";){switch(a){case` +`?i=l:i=o=u.Node.endOfLine(r,l)}return this.chomping!==fe.KEEP&&(i=r[o]?o+1:o),this.valueRange=new u.Range(e+1,i),i}parse(e,n){this.context=e;let{src:r}=e,s=this.parseBlockHeader(n);return s=u.Node.endOfWhiteSpace(r,s),s=this.parseComment(s),s=this.parseBlockValue(s),s}setOrigRanges(e,n){return n=super.setOrigRanges(e,n),this.header?this.header.setOrigRange(e,n):n}},Rn=class extends u.Node{constructor(e,n){super(e,n),this.items=null}prevNodeIsJsonLike(e=this.items.length){let n=this.items[e-1];return!!n&&(n.jsonLike||n.type===u.Type.COMMENT&&this.prevNodeIsJsonLike(e-1))}parse(e,n){this.context=e;let{parseNode:r,src:s}=e,{indent:i,lineStart:o}=e,a=s[n];this.items=[{char:a,offset:n}];let c=u.Node.endOfWhiteSpace(s,n+1);for(a=s[c];a&&a!=="]"&&a!=="}";){switch(a){case` `:{o=c+1;let l=u.Node.endOfWhiteSpace(s,o);if(s[l]===` `){let f=new Ee;o=f.parse({src:s},o),this.items.push(f)}if(c=u.Node.endOfIndent(s,o),c<=o+i&&(a=s[c],c{if(r instanceof u.Node)n=r.setOrigRanges(e,n);else if(e.length===0)r.origOffset=r.offset;else{let s=n;for(;sr.offset);)++s;r.origOffset=r.offset+s,n=s}}),n}toString(){let{context:{src:e},items:n,range:r,value:s}=this;if(s!=null)return s;let i=n.filter(c=>c instanceof u.Node),o="",a=r.start;return i.forEach(c=>{let l=e.slice(a,c.range.start);a=c.range.end,o+=l+String(c),o[o.length-1]===` `&&e[a-1]!==` `&&e[a]===` -`&&(a+=1)}),o+=e.slice(a,r.end),u.Node.addStringTerminator(e,r.end,o)}},Yn=class t extends u.Node{static endOfQuote(e,n){let r=e[n];for(;r&&r!=='"';)n+=r==="\\"?2:1,r=e[n];return n+1}get strValue(){if(!this.valueRange||!this.context)return null;let e=[],{start:n,end:r}=this.valueRange,{indent:s,src:i}=this.context;i[r-1]!=='"'&&e.push(new u.YAMLSyntaxError(this,'Missing closing "quote'));let o="";for(let a=n+1;al?i.slice(l,a+1):c)}else o+=c}return e.length>0?{errors:e,str:o}:o}parseCharCode(e,n,r){let{src:s}=this.context,i=s.substr(e,n),a=i.length===n&&/^[0-9a-fA-F]+$/.test(i)?parseInt(i,16):NaN;return isNaN(a)?(r.push(new u.YAMLSyntaxError(this,`Invalid escape sequence ${s.substr(e-2,n+2)}`)),s.substr(e-2,n+2)):String.fromCodePoint(a)}parse(e,n){this.context=e;let{src:r}=e,s=t.endOfQuote(r,n+1);return this.valueRange=new u.Range(n,s),s=u.Node.endOfWhiteSpace(r,s),s=this.parseComment(s),s}},Bn=class t extends u.Node{static endOfQuote(e,n){let r=e[n];for(;r;)if(r==="'"){if(e[n+1]!=="'")break;r=e[n+=2]}else r=e[n+=1];return n+1}get strValue(){if(!this.valueRange||!this.context)return null;let e=[],{start:n,end:r}=this.valueRange,{indent:s,src:i}=this.context;i[r-1]!=="'"&&e.push(new u.YAMLSyntaxError(this,"Missing closing 'quote"));let o="";for(let a=n+1;al?i.slice(l,a+1):c)}else o+=c}return e.length>0?{errors:e,str:o}:o}parseCharCode(e,n,r){let{src:s}=this.context,i=s.substr(e,n),a=i.length===n&&/^[0-9a-fA-F]+$/.test(i)?parseInt(i,16):NaN;return isNaN(a)?(r.push(new u.YAMLSyntaxError(this,`Invalid escape sequence ${s.substr(e-2,n+2)}`)),s.substr(e-2,n+2)):String.fromCodePoint(a)}parse(e,n){this.context=e;let{src:r}=e,s=t.endOfQuote(r,n+1);return this.valueRange=new u.Range(n,s),s=u.Node.endOfWhiteSpace(r,s),s=this.parseComment(s),s}},Yn=class t extends u.Node{static endOfQuote(e,n){let r=e[n];for(;r;)if(r==="'"){if(e[n+1]!=="'")break;r=e[n+=2]}else r=e[n+=1];return n+1}get strValue(){if(!this.valueRange||!this.context)return null;let e=[],{start:n,end:r}=this.valueRange,{indent:s,src:i}=this.context;i[r-1]!=="'"&&e.push(new u.YAMLSyntaxError(this,"Missing closing 'quote"));let o="";for(let a=n+1;al?i.slice(l,a+1):c)}else o+=c}return e.length>0?{errors:e,str:o}:o}parse(e,n){this.context=e;let{src:r}=e,s=t.endOfQuote(r,n+1);return this.valueRange=new u.Range(n,s),s=u.Node.endOfWhiteSpace(r,s),s=this.parseComment(s),s}};function Co(t,e){switch(t){case u.Type.ALIAS:return new xn(t,e);case u.Type.BLOCK_FOLDED:case u.Type.BLOCK_LITERAL:return new Rn(t,e);case u.Type.FLOW_MAP:case u.Type.FLOW_SEQ:return new Dn(t,e);case u.Type.MAP_KEY:case u.Type.MAP_VALUE:case u.Type.SEQ_ITEM:return new ut(t,e);case u.Type.COMMENT:case u.Type.PLAIN:return new u.PlainValue(t,e);case u.Type.QUOTE_DOUBLE:return new Yn(t,e);case u.Type.QUOTE_SINGLE:return new Bn(t,e);default:return null}}var $n=class t{static parseType(e,n,r){switch(e[n]){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!r&&u.Node.atBlank(e,n+1,!0)?u.Type.MAP_KEY:u.Type.PLAIN;case":":return!r&&u.Node.atBlank(e,n+1,!0)?u.Type.MAP_VALUE:u.Type.PLAIN;case"-":return!r&&u.Node.atBlank(e,n+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(e={},{atLineStart:n,inCollection:r,inFlow:s,indent:i,lineStart:o,parent:a}={}){u._defineProperty(this,"parseNode",(c,l)=>{if(u.Node.atDocumentBoundary(this.src,l))return null;let f=new t(this,c),{props:m,type:d,valueStart:y}=f.parseProps(l),h=Co(d,m),g=h.parse(f,y);if(h.range=new u.Range(l,g),g<=l&&(h.error=new Error("Node#parse consumed no characters"),h.error.parseEnd=g,h.error.source=h,h.range.end=l+1),f.nodeStartsCollection(h)){!h.error&&!f.atLineStart&&f.parent.type===u.Type.DOCUMENT&&(h.error=new u.YAMLSyntaxError(h,"Block collection must not have preceding content here (e.g. directives-end indicator)"));let w=new Bt(h);return g=w.parse(new t(f),g),w.range=new u.Range(l,g),w}return h}),this.atLineStart=n??(e.atLineStart||!1),this.inCollection=r??(e.inCollection||!1),this.inFlow=s??(e.inFlow||!1),this.indent=i??e.indent,this.lineStart=o??e.lineStart,this.parent=a??(e.parent||{}),this.root=e.root,this.src=e.src}nodeStartsCollection(e){let{inCollection:n,inFlow:r,src:s}=this;if(n||r)return!1;if(e instanceof ut)return!0;let i=e.range.end;return s[i]===` +`&&(o+=a>l?i.slice(l,a+1):c)}else o+=c}return e.length>0?{errors:e,str:o}:o}parse(e,n){this.context=e;let{src:r}=e,s=t.endOfQuote(r,n+1);return this.valueRange=new u.Range(n,s),s=u.Node.endOfWhiteSpace(r,s),s=this.parseComment(s),s}};function Mo(t,e){switch(t){case u.Type.ALIAS:return new _n(t,e);case u.Type.BLOCK_FOLDED:case u.Type.BLOCK_LITERAL:return new xn(t,e);case u.Type.FLOW_MAP:case u.Type.FLOW_SEQ:return new Rn(t,e);case u.Type.MAP_KEY:case u.Type.MAP_VALUE:case u.Type.SEQ_ITEM:return new ut(t,e);case u.Type.COMMENT:case u.Type.PLAIN:return new u.PlainValue(t,e);case u.Type.QUOTE_DOUBLE:return new Dn(t,e);case u.Type.QUOTE_SINGLE:return new Yn(t,e);default:return null}}var Bn=class t{static parseType(e,n,r){switch(e[n]){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!r&&u.Node.atBlank(e,n+1,!0)?u.Type.MAP_KEY:u.Type.PLAIN;case":":return!r&&u.Node.atBlank(e,n+1,!0)?u.Type.MAP_VALUE:u.Type.PLAIN;case"-":return!r&&u.Node.atBlank(e,n+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(e={},{atLineStart:n,inCollection:r,inFlow:s,indent:i,lineStart:o,parent:a}={}){u._defineProperty(this,"parseNode",(c,l)=>{if(u.Node.atDocumentBoundary(this.src,l))return null;let f=new t(this,c),{props:m,type:d,valueStart:y}=f.parseProps(l),h=Mo(d,m),g=h.parse(f,y);if(h.range=new u.Range(l,g),g<=l&&(h.error=new Error("Node#parse consumed no characters"),h.error.parseEnd=g,h.error.source=h,h.range.end=l+1),f.nodeStartsCollection(h)){!h.error&&!f.atLineStart&&f.parent.type===u.Type.DOCUMENT&&(h.error=new u.YAMLSyntaxError(h,"Block collection must not have preceding content here (e.g. directives-end indicator)"));let w=new $t(h);return g=w.parse(new t(f),g),w.range=new u.Range(l,g),w}return h}),this.atLineStart=n??(e.atLineStart||!1),this.inCollection=r??(e.inCollection||!1),this.inFlow=s??(e.inFlow||!1),this.indent=i??e.indent,this.lineStart=o??e.lineStart,this.parent=a??(e.parent||{}),this.root=e.root,this.src=e.src}nodeStartsCollection(e){let{inCollection:n,inFlow:r,src:s}=this;if(n||r)return!1;if(e instanceof ut)return!0;let i=e.range.end;return s[i]===` `||s[i-1]===` `?!1:(i=u.Node.endOfWhiteSpace(s,i),s[i]===":")}parseProps(e){let{inFlow:n,parent:r,src:s}=this,i=[],o=!1;e=this.atLineStart?u.Node.endOfIndent(s,e):u.Node.endOfWhiteSpace(s,e);let a=s[e];for(;a===u.Char.ANCHOR||a===u.Char.COMMENT||a===u.Char.TAG||a===` `;){if(a===` `){let l=e,f;do f=l+1,l=u.Node.endOfIndent(s,f);while(s[l]===` -`);let m=l-(f+this.indent),d=r.type===u.Type.SEQ_ITEM&&r.context.atLineStart;if(s[l]!=="#"&&!u.Node.nextNodeIsIndented(s[l],m,!d))break;this.atLineStart=!0,this.lineStart=f,o=!1,e=l}else if(a===u.Char.COMMENT){let l=u.Node.endOfLine(s,e+1);i.push(new u.Range(e,l)),e=l}else{let l=u.Node.endOfIdentifier(s,e+1);a===u.Char.TAG&&s[l]===","&&/^[a-zA-Z0-9-]+\.[a-zA-Z0-9-]+,\d\d\d\d(-\d\d){0,2}\/\S/.test(s.slice(e+1,l+13))&&(l=u.Node.endOfIdentifier(s,l+5)),i.push(new u.Range(e,l)),o=!0,e=u.Node.endOfWhiteSpace(s,l)}a=s[e]}o&&a===":"&&u.Node.atBlank(s,e+1,!0)&&(e-=1);let c=t.parseType(s,e,n);return{props:i,type:c,valueStart:e}}};function Mo(t){let e=[];t.indexOf("\r")!==-1&&(t=t.replace(/\r\n?/g,(s,i)=>(s.length>1&&e.push(i),` -`)));let n=[],r=0;do{let s=new _n,i=new $n({src:t});r=s.parse(i,r),n.push(s)}while(r{if(e.length===0)return!1;for(let i=1;in.join(`... -`),n}vs.parse=Mo});var $e=ee(k=>{"use strict";var p=le();function ko(t,e,n){return n?`#${n.replace(/[\s\S]^/gm,`$&${e}#`)} +`);let m=l-(f+this.indent),d=r.type===u.Type.SEQ_ITEM&&r.context.atLineStart;if(s[l]!=="#"&&!u.Node.nextNodeIsIndented(s[l],m,!d))break;this.atLineStart=!0,this.lineStart=f,o=!1,e=l}else if(a===u.Char.COMMENT){let l=u.Node.endOfLine(s,e+1);i.push(new u.Range(e,l)),e=l}else{let l=u.Node.endOfIdentifier(s,e+1);a===u.Char.TAG&&s[l]===","&&/^[a-zA-Z0-9-]+\.[a-zA-Z0-9-]+,\d\d\d\d(-\d\d){0,2}\/\S/.test(s.slice(e+1,l+13))&&(l=u.Node.endOfIdentifier(s,l+5)),i.push(new u.Range(e,l)),o=!0,e=u.Node.endOfWhiteSpace(s,l)}a=s[e]}o&&a===":"&&u.Node.atBlank(s,e+1,!0)&&(e-=1);let c=t.parseType(s,e,n);return{props:i,type:c,valueStart:e}}};function ko(t){let e=[];t.indexOf("\r")!==-1&&(t=t.replace(/\r\n?/g,(s,i)=>(s.length>1&&e.push(i),` +`)));let n=[],r=0;do{let s=new Pn,i=new Bn({src:t});r=s.parse(i,r),n.push(s)}while(r{if(e.length===0)return!1;for(let i=1;in.join(`... +`),n}_s.parse=ko});var $e=ee(k=>{"use strict";var p=le();function vo(t,e,n){return n?`#${n.replace(/[\s\S]^/gm,`$&${e}#`)} ${e}${t}`:t}function Be(t,e,n){return n?n.indexOf(` `)===-1?`${t} #${n}`:`${t} -`+n.replace(/^/gm,`${e||""}#`):t}var V=class{};function ue(t,e,n){if(Array.isArray(t))return t.map((r,s)=>ue(r,String(s),n));if(t&&typeof t.toJSON=="function"){let r=n&&n.anchors&&n.anchors.get(t);r&&(n.onCreate=i=>{r.res=i,delete n.onCreate});let s=t.toJSON(e,n);return r&&n.onCreate&&n.onCreate(s),s}return(!n||!n.keep)&&typeof t=="bigint"?Number(t):t}var P=class extends V{constructor(e){super(),this.value=e}toJSON(e,n){return n&&n.keep?this.value:ue(this.value,e,n)}toString(){return String(this.value)}};function Ps(t,e,n){let r=n;for(let s=e.length-1;s>=0;--s){let i=e[s];if(Number.isInteger(i)&&i>=0){let o=[];o[i]=r,r=o}else{let o={};Object.defineProperty(o,i,{value:r,writable:!0,enumerable:!0,configurable:!0}),r=o}}return t.createNode(r,!1)}var Rs=t=>t==null||typeof t=="object"&&t[Symbol.iterator]().next().done,W=class t extends V{constructor(e){super(),p._defineProperty(this,"items",[]),this.schema=e}addIn(e,n){if(Rs(e))this.add(n);else{let[r,...s]=e,i=this.get(r,!0);if(i instanceof t)i.addIn(s,n);else if(i===void 0&&this.schema)this.set(r,Ps(this.schema,s,n));else throw new Error(`Expected YAML collection at ${r}. Remaining path: ${s}`)}}deleteIn([e,...n]){if(n.length===0)return this.delete(e);let r=this.get(e,!0);if(r instanceof t)return r.deleteIn(n);throw new Error(`Expected YAML collection at ${e}. Remaining path: ${n}`)}getIn([e,...n],r){let s=this.get(e,!0);return n.length===0?!r&&s instanceof P?s.value:s:s instanceof t?s.getIn(n,r):void 0}hasAllNullValues(){return this.items.every(e=>{if(!e||e.type!=="PAIR")return!1;let n=e.value;return n==null||n instanceof P&&n.value==null&&!n.commentBefore&&!n.comment&&!n.tag})}hasIn([e,...n]){if(n.length===0)return this.has(e);let r=this.get(e,!0);return r instanceof t?r.hasIn(n):!1}setIn([e,...n],r){if(n.length===0)this.set(e,r);else{let s=this.get(e,!0);if(s instanceof t)s.setIn(n,r);else if(s===void 0&&this.schema)this.set(e,Ps(this.schema,n,r));else throw new Error(`Expected YAML collection at ${e}. Remaining path: ${n}`)}}toJSON(){return null}toString(e,{blockItem:n,flowChars:r,isMap:s,itemIndent:i},o,a){let{indent:c,indentStep:l,stringify:f}=e,m=this.type===p.Type.FLOW_MAP||this.type===p.Type.FLOW_SEQ||e.inFlow;m&&(i+=l);let d=s&&this.hasAllNullValues();e=Object.assign({},e,{allNullValues:d,indent:i,inFlow:m,type:null});let y=!1,h=!1,g=this.items.reduce((C,L,M)=>{let A;L&&(!y&&L.spaceBefore&&C.push({type:"comment",str:""}),L.commentBefore&&L.commentBefore.match(/^.*$/gm).forEach(Oi=>{C.push({type:"comment",str:`#${Oi}`})}),L.comment&&(A=L.comment),m&&(!y&&L.spaceBefore||L.commentBefore||L.comment||L.key&&(L.key.commentBefore||L.key.comment)||L.value&&(L.value.commentBefore||L.value.comment))&&(h=!0)),y=!1;let _=f(L,e,()=>A=null,()=>y=!0);return m&&!h&&_.includes(` +`+n.replace(/^/gm,`${e||""}#`):t}var V=class{};function ue(t,e,n){if(Array.isArray(t))return t.map((r,s)=>ue(r,String(s),n));if(t&&typeof t.toJSON=="function"){let r=n&&n.anchors&&n.anchors.get(t);r&&(n.onCreate=i=>{r.res=i,delete n.onCreate});let s=t.toJSON(e,n);return r&&n.onCreate&&n.onCreate(s),s}return(!n||!n.keep)&&typeof t=="bigint"?Number(t):t}var P=class extends V{constructor(e){super(),this.value=e}toJSON(e,n){return n&&n.keep?this.value:ue(this.value,e,n)}toString(){return String(this.value)}};function Rs(t,e,n){let r=n;for(let s=e.length-1;s>=0;--s){let i=e[s];if(Number.isInteger(i)&&i>=0){let o=[];o[i]=r,r=o}else{let o={};Object.defineProperty(o,i,{value:r,writable:!0,enumerable:!0,configurable:!0}),r=o}}return t.createNode(r,!1)}var Bs=t=>t==null||typeof t=="object"&&t[Symbol.iterator]().next().done,W=class t extends V{constructor(e){super(),p._defineProperty(this,"items",[]),this.schema=e}addIn(e,n){if(Bs(e))this.add(n);else{let[r,...s]=e,i=this.get(r,!0);if(i instanceof t)i.addIn(s,n);else if(i===void 0&&this.schema)this.set(r,Rs(this.schema,s,n));else throw new Error(`Expected YAML collection at ${r}. Remaining path: ${s}`)}}deleteIn([e,...n]){if(n.length===0)return this.delete(e);let r=this.get(e,!0);if(r instanceof t)return r.deleteIn(n);throw new Error(`Expected YAML collection at ${e}. Remaining path: ${n}`)}getIn([e,...n],r){let s=this.get(e,!0);return n.length===0?!r&&s instanceof P?s.value:s:s instanceof t?s.getIn(n,r):void 0}hasAllNullValues(){return this.items.every(e=>{if(!e||e.type!=="PAIR")return!1;let n=e.value;return n==null||n instanceof P&&n.value==null&&!n.commentBefore&&!n.comment&&!n.tag})}hasIn([e,...n]){if(n.length===0)return this.has(e);let r=this.get(e,!0);return r instanceof t?r.hasIn(n):!1}setIn([e,...n],r){if(n.length===0)this.set(e,r);else{let s=this.get(e,!0);if(s instanceof t)s.setIn(n,r);else if(s===void 0&&this.schema)this.set(e,Rs(this.schema,n,r));else throw new Error(`Expected YAML collection at ${e}. Remaining path: ${n}`)}}toJSON(){return null}toString(e,{blockItem:n,flowChars:r,isMap:s,itemIndent:i},o,a){let{indent:c,indentStep:l,stringify:f}=e,m=this.type===p.Type.FLOW_MAP||this.type===p.Type.FLOW_SEQ||e.inFlow;m&&(i+=l);let d=s&&this.hasAllNullValues();e=Object.assign({},e,{allNullValues:d,indent:i,inFlow:m,type:null});let y=!1,h=!1,g=this.items.reduce((C,L,M)=>{let A;L&&(!y&&L.spaceBefore&&C.push({type:"comment",str:""}),L.commentBefore&&L.commentBefore.match(/^.*$/gm).forEach(Li=>{C.push({type:"comment",str:`#${Li}`})}),L.comment&&(A=L.comment),m&&(!y&&L.spaceBefore||L.commentBefore||L.comment||L.key&&(L.key.commentBefore||L.key.comment)||L.value&&(L.value.commentBefore||L.value.comment))&&(h=!0)),y=!1;let _=f(L,e,()=>A=null,()=>y=!0);return m&&!h&&_.includes(` `)&&(h=!0),m&&MA.str);if(h||M.reduce((A,_)=>A+_.length+2,2)>t.maxFlowStringSingleLineLength){w=C;for(let A of M)w+=A?` ${l}${c}${A}`:` `;w+=` ${c}${L}`}else w=`${C} ${M.join(" ")} ${L}`}else{let C=g.map(n);w=C.shift();for(let L of C)w+=L?` ${c}${L}`:` `}return this.comment?(w+=` -`+this.comment.replace(/^/gm,`${c}#`),o&&o()):y&&a&&a(),w}};p._defineProperty(W,"maxFlowStringSingleLineLength",60);function $t(t){let e=t instanceof P?t.value:t;return e&&typeof e=="string"&&(e=Number(e)),Number.isInteger(e)&&e>=0?e:null}var pe=class extends W{add(e){this.items.push(e)}delete(e){let n=$t(e);return typeof n!="number"?!1:this.items.splice(n,1).length>0}get(e,n){let r=$t(e);if(typeof r!="number")return;let s=this.items[r];return!n&&s instanceof P?s.value:s}has(e){let n=$t(e);return typeof n=="number"&&ns.type==="comment"?s.str:`- ${s.str}`,flowChars:{start:"[",end:"]"},isMap:!1,itemIndent:(e.indent||"")+" "},n,r):JSON.stringify(this)}},vo=(t,e,n)=>e===null?"":typeof e!="object"?String(e):t instanceof V&&n&&n.doc?t.toString({anchors:Object.create(null),doc:n.doc,indent:"",indentStep:n.indentStep,inFlow:!0,inStringifyKey:!0,stringify:n.stringify}):JSON.stringify(e),T=class t extends V{constructor(e,n=null){super(),this.key=e,this.value=n,this.type=t.Type.PAIR}get commentBefore(){return this.key instanceof V?this.key.commentBefore:void 0}set commentBefore(e){if(this.key==null&&(this.key=new P(null)),this.key instanceof V)this.key.commentBefore=e;else{let n="Pair.commentBefore is an alias for Pair.key.commentBefore. To set it, the key must be a Node.";throw new Error(n)}}addToJSMap(e,n){let r=ue(this.key,"",e);if(n instanceof Map){let s=ue(this.value,r,e);n.set(r,s)}else if(n instanceof Set)n.add(r);else{let s=vo(this.key,r,e),i=ue(this.value,s,e);s in n?Object.defineProperty(n,s,{value:i,writable:!0,enumerable:!0,configurable:!0}):n[s]=i}return n}toJSON(e,n){let r=n&&n.mapAsMap?new Map:{};return this.addToJSMap(n,r)}toString(e,n,r){if(!e||!e.doc)return JSON.stringify(this);let{indent:s,indentSeq:i,simpleKeys:o}=e.doc.options,{key:a,value:c}=this,l=a instanceof V&&a.comment;if(o){if(l)throw new Error("With simple keys, key nodes cannot have comments");if(a instanceof W){let _="With simple keys, collection cannot be used as a key value";throw new Error(_)}}let f=!o&&(!a||l||(a instanceof V?a instanceof W||a.type===p.Type.BLOCK_FOLDED||a.type===p.Type.BLOCK_LITERAL:typeof a=="object")),{doc:m,indent:d,indentStep:y,stringify:h}=e;e=Object.assign({},e,{implicitKey:!f,indent:d+y});let g=!1,w=h(a,e,()=>l=null,()=>g=!0);if(w=Be(w,e.indent,l),!f&&w.length>1024){if(o)throw new Error("With simple keys, single line scalar must not span more than 1024 characters");f=!0}if(e.allNullValues&&!o)return this.comment?(w=Be(w,e.indent,this.comment),n&&n()):g&&!l&&r&&r(),e.inFlow&&!f?w:`? ${w}`;w=f?`? ${w} +`+this.comment.replace(/^/gm,`${c}#`),o&&o()):y&&a&&a(),w}};p._defineProperty(W,"maxFlowStringSingleLineLength",60);function Ft(t){let e=t instanceof P?t.value:t;return e&&typeof e=="string"&&(e=Number(e)),Number.isInteger(e)&&e>=0?e:null}var pe=class extends W{add(e){this.items.push(e)}delete(e){let n=Ft(e);return typeof n!="number"?!1:this.items.splice(n,1).length>0}get(e,n){let r=Ft(e);if(typeof r!="number")return;let s=this.items[r];return!n&&s instanceof P?s.value:s}has(e){let n=Ft(e);return typeof n=="number"&&ns.type==="comment"?s.str:`- ${s.str}`,flowChars:{start:"[",end:"]"},isMap:!1,itemIndent:(e.indent||"")+" "},n,r):JSON.stringify(this)}},Io=(t,e,n)=>e===null?"":typeof e!="object"?String(e):t instanceof V&&n&&n.doc?t.toString({anchors:Object.create(null),doc:n.doc,indent:"",indentStep:n.indentStep,inFlow:!0,inStringifyKey:!0,stringify:n.stringify}):JSON.stringify(e),T=class t extends V{constructor(e,n=null){super(),this.key=e,this.value=n,this.type=t.Type.PAIR}get commentBefore(){return this.key instanceof V?this.key.commentBefore:void 0}set commentBefore(e){if(this.key==null&&(this.key=new P(null)),this.key instanceof V)this.key.commentBefore=e;else{let n="Pair.commentBefore is an alias for Pair.key.commentBefore. To set it, the key must be a Node.";throw new Error(n)}}addToJSMap(e,n){let r=ue(this.key,"",e);if(n instanceof Map){let s=ue(this.value,r,e);n.set(r,s)}else if(n instanceof Set)n.add(r);else{let s=Io(this.key,r,e),i=ue(this.value,s,e);s in n?Object.defineProperty(n,s,{value:i,writable:!0,enumerable:!0,configurable:!0}):n[s]=i}return n}toJSON(e,n){let r=n&&n.mapAsMap?new Map:{};return this.addToJSMap(n,r)}toString(e,n,r){if(!e||!e.doc)return JSON.stringify(this);let{indent:s,indentSeq:i,simpleKeys:o}=e.doc.options,{key:a,value:c}=this,l=a instanceof V&&a.comment;if(o){if(l)throw new Error("With simple keys, key nodes cannot have comments");if(a instanceof W){let _="With simple keys, collection cannot be used as a key value";throw new Error(_)}}let f=!o&&(!a||l||(a instanceof V?a instanceof W||a.type===p.Type.BLOCK_FOLDED||a.type===p.Type.BLOCK_LITERAL:typeof a=="object")),{doc:m,indent:d,indentStep:y,stringify:h}=e;e=Object.assign({},e,{implicitKey:!f,indent:d+y});let g=!1,w=h(a,e,()=>l=null,()=>g=!0);if(w=Be(w,e.indent,l),!f&&w.length>1024){if(o)throw new Error("With simple keys, single line scalar must not span more than 1024 characters");f=!0}if(e.allNullValues&&!o)return this.comment?(w=Be(w,e.indent,this.comment),n&&n()):g&&!l&&r&&r(),e.inFlow&&!f?w:`? ${w}`;w=f?`? ${w} ${d}:`:`${w}:`,this.comment&&(w=Be(w,e.indent,this.comment),n&&n());let C="",L=null;if(c instanceof V){if(c.spaceBefore&&(C=` `),c.commentBefore){let _=c.commentBefore.replace(/^/gm,`${e.indent}#`);C+=` ${_}`}L=c.comment}else c&&typeof c=="object"&&(c=m.schema.createNode(c,!0));e.implicitKey=!1,!f&&!this.comment&&c instanceof P&&(e.indentAtStart=w.length+1),g=!1,!i&&s>=2&&!e.inFlow&&!f&&c instanceof pe&&c.type!==p.Type.FLOW_SEQ&&!c.tag&&!m.anchors.getName(c)&&(e.indent=e.indent.substr(2));let M=h(c,e,()=>L=null,()=>g=!0),A=" ";return C||this.comment?A=`${C} ${e.indent}`:!f&&c instanceof W?(!(M[0]==="["||M[0]==="{")||M.includes(` `))&&(A=` ${e.indent}`):M[0]===` -`&&(A=""),g&&!L&&r&&r(),Be(w+A+M,e.indent,L)}};p._defineProperty(T,"Type",{PAIR:"PAIR",MERGE_PAIR:"MERGE_PAIR"});var Ft=(t,e)=>{if(t instanceof we){let n=e.get(t.source);return n.count*n.aliasCount}else if(t instanceof W){let n=0;for(let r of t.items){let s=Ft(r,e);s>n&&(n=s)}return n}else if(t instanceof T){let n=Ft(t.key,e),r=Ft(t.value,e);return Math.max(n,r)}return 1},we=class t extends V{static stringify({range:e,source:n},{anchors:r,doc:s,implicitKey:i,inStringifyKey:o}){let a=Object.keys(r).find(l=>r[l]===n);if(!a&&o&&(a=s.anchors.getName(n)||s.anchors.newName()),a)return`*${a}${i?" ":""}`;let c=s.anchors.getName(n)?"Alias node must be after source node":"Source node not found for alias node";throw new Error(`${c} [${e}]`)}constructor(e){super(),this.source=e,this.type=p.Type.ALIAS}set tag(e){throw new Error("Alias nodes cannot have tags")}toJSON(e,n){if(!n)return ue(this.source,e,n);let{anchors:r,maxAliasCount:s}=n,i=r.get(this.source);if(!i||i.res===void 0){let o="This should not happen: Alias anchor was not resolved?";throw this.cstNode?new p.YAMLReferenceError(this.cstNode,o):new ReferenceError(o)}if(s>=0&&(i.count+=1,i.aliasCount===0&&(i.aliasCount=Ft(this.source,r)),i.count*i.aliasCount>s)){let o="Excessive alias count indicates a resource exhaustion attack";throw this.cstNode?new p.YAMLReferenceError(this.cstNode,o):new ReferenceError(o)}return i.res}toString(e){return t.stringify(this,e)}};p._defineProperty(we,"default",!0);function pt(t,e){let n=e instanceof P?e.value:e;for(let r of t)if(r instanceof T&&(r.key===e||r.key===n||r.key&&r.key.value===n))return r}var mt=class extends W{add(e,n){e?e instanceof T||(e=new T(e.key||e,e.value)):e=new T(e);let r=pt(this.items,e.key),s=this.schema&&this.schema.sortMapEntries;if(r)if(n)r.value=e.value;else throw new Error(`Key ${e.key} already set`);else if(s){let i=this.items.findIndex(o=>s(e,o)<0);i===-1?this.items.push(e):this.items.splice(i,0,e)}else this.items.push(e)}delete(e){let n=pt(this.items,e);return n?this.items.splice(this.items.indexOf(n),1).length>0:!1}get(e,n){let r=pt(this.items,e),s=r&&r.value;return!n&&s instanceof P?s.value:s}has(e){return!!pt(this.items,e)}set(e,n){this.add(new T(e,n),!0)}toJSON(e,n,r){let s=r?new r:n&&n.mapAsMap?new Map:{};n&&n.onCreate&&n.onCreate(s);for(let i of this.items)i.addToJSMap(n,s);return s}toString(e,n,r){if(!e)return JSON.stringify(this);for(let s of this.items)if(!(s instanceof T))throw new Error(`Map items must all be pairs; found ${JSON.stringify(s)} instead`);return super.toString(e,{blockItem:s=>s.str,flowChars:{start:"{",end:"}"},isMap:!0,itemIndent:e.indent||""},n,r)}},Ds="<<",Kt=class extends T{constructor(e){if(e instanceof T){let n=e.value;n instanceof pe||(n=new pe,n.items.push(e.value),n.range=e.value.range),super(e.key,n),this.range=e.range}else super(new P(Ds),new pe);this.type=T.Type.MERGE_PAIR}addToJSMap(e,n){for(let{source:r}of this.value.items){if(!(r instanceof mt))throw new Error("Merge sources must be maps");let s=r.toJSON(null,e,Map);for(let[i,o]of s)n instanceof Map?n.has(i)||n.set(i,o):n instanceof Set?n.add(i):Object.prototype.hasOwnProperty.call(n,i)||Object.defineProperty(n,i,{value:o,writable:!0,enumerable:!0,configurable:!0})}return n}toString(e,n){let r=this.value;if(r.items.length>1)return super.toString(e,n);this.value=r.items[0];let s=super.toString(e,n);return this.value=r,s}},Io={defaultType:p.Type.BLOCK_LITERAL,lineWidth:76},Po={trueStr:"true",falseStr:"false"},_o={asBigInt:!1},xo={nullStr:"null"},be={defaultType:p.Type.PLAIN,doubleQuoted:{jsonEncoding:!1,minMultiLineLength:40},fold:{lineWidth:80,minContentWidth:20}};function qn(t,e,n){for(let{format:r,test:s,resolve:i}of e)if(s){let o=t.match(s);if(o){let a=i.apply(null,o);return a instanceof P||(a=new P(a)),r&&(a.format=r),a}}return n&&(t=n(t)),new P(t)}var Ys="flow",Fn="block",qt="quoted",_s=(t,e)=>{let n=t[e+1];for(;n===" "||n===" ";){do n=t[e+=1];while(n&&n!==` -`);n=t[e+1]}return e};function Vt(t,e,n,{indentAtStart:r,lineWidth:s=80,minContentWidth:i=20,onFold:o,onOverflow:a}){if(!s||s<0)return t;let c=Math.max(1+i,1+s-e.length);if(t.length<=c)return t;let l=[],f={},m=s-e.length;typeof r=="number"&&(r>s-Math.max(2,i)?l.push(0):m=s-r);let d,y,h=!1,g=-1,w=-1,C=-1;n===Fn&&(g=_s(t,g),g!==-1&&(m=g+c));for(let M;M=t[g+=1];){if(n===qt&&M==="\\"){switch(w=g,t[g+1]){case"x":g+=3;break;case"u":g+=5;break;case"U":g+=9;break;default:g+=1}C=g}if(M===` -`)n===Fn&&(g=_s(t,g)),m=g+c,d=void 0;else{if(M===" "&&y&&y!==" "&&y!==` +`&&(A=""),g&&!L&&r&&r(),Be(w+A+M,e.indent,L)}};p._defineProperty(T,"Type",{PAIR:"PAIR",MERGE_PAIR:"MERGE_PAIR"});var qt=(t,e)=>{if(t instanceof we){let n=e.get(t.source);return n.count*n.aliasCount}else if(t instanceof W){let n=0;for(let r of t.items){let s=qt(r,e);s>n&&(n=s)}return n}else if(t instanceof T){let n=qt(t.key,e),r=qt(t.value,e);return Math.max(n,r)}return 1},we=class t extends V{static stringify({range:e,source:n},{anchors:r,doc:s,implicitKey:i,inStringifyKey:o}){let a=Object.keys(r).find(l=>r[l]===n);if(!a&&o&&(a=s.anchors.getName(n)||s.anchors.newName()),a)return`*${a}${i?" ":""}`;let c=s.anchors.getName(n)?"Alias node must be after source node":"Source node not found for alias node";throw new Error(`${c} [${e}]`)}constructor(e){super(),this.source=e,this.type=p.Type.ALIAS}set tag(e){throw new Error("Alias nodes cannot have tags")}toJSON(e,n){if(!n)return ue(this.source,e,n);let{anchors:r,maxAliasCount:s}=n,i=r.get(this.source);if(!i||i.res===void 0){let o="This should not happen: Alias anchor was not resolved?";throw this.cstNode?new p.YAMLReferenceError(this.cstNode,o):new ReferenceError(o)}if(s>=0&&(i.count+=1,i.aliasCount===0&&(i.aliasCount=qt(this.source,r)),i.count*i.aliasCount>s)){let o="Excessive alias count indicates a resource exhaustion attack";throw this.cstNode?new p.YAMLReferenceError(this.cstNode,o):new ReferenceError(o)}return i.res}toString(e){return t.stringify(this,e)}};p._defineProperty(we,"default",!0);function pt(t,e){let n=e instanceof P?e.value:e;for(let r of t)if(r instanceof T&&(r.key===e||r.key===n||r.key&&r.key.value===n))return r}var mt=class extends W{add(e,n){e?e instanceof T||(e=new T(e.key||e,e.value)):e=new T(e);let r=pt(this.items,e.key),s=this.schema&&this.schema.sortMapEntries;if(r)if(n)r.value=e.value;else throw new Error(`Key ${e.key} already set`);else if(s){let i=this.items.findIndex(o=>s(e,o)<0);i===-1?this.items.push(e):this.items.splice(i,0,e)}else this.items.push(e)}delete(e){let n=pt(this.items,e);return n?this.items.splice(this.items.indexOf(n),1).length>0:!1}get(e,n){let r=pt(this.items,e),s=r&&r.value;return!n&&s instanceof P?s.value:s}has(e){return!!pt(this.items,e)}set(e,n){this.add(new T(e,n),!0)}toJSON(e,n,r){let s=r?new r:n&&n.mapAsMap?new Map:{};n&&n.onCreate&&n.onCreate(s);for(let i of this.items)i.addToJSMap(n,s);return s}toString(e,n,r){if(!e)return JSON.stringify(this);for(let s of this.items)if(!(s instanceof T))throw new Error(`Map items must all be pairs; found ${JSON.stringify(s)} instead`);return super.toString(e,{blockItem:s=>s.str,flowChars:{start:"{",end:"}"},isMap:!0,itemIndent:e.indent||""},n,r)}},$s="<<",Vt=class extends T{constructor(e){if(e instanceof T){let n=e.value;n instanceof pe||(n=new pe,n.items.push(e.value),n.range=e.value.range),super(e.key,n),this.range=e.range}else super(new P($s),new pe);this.type=T.Type.MERGE_PAIR}addToJSMap(e,n){for(let{source:r}of this.value.items){if(!(r instanceof mt))throw new Error("Merge sources must be maps");let s=r.toJSON(null,e,Map);for(let[i,o]of s)n instanceof Map?n.has(i)||n.set(i,o):n instanceof Set?n.add(i):Object.prototype.hasOwnProperty.call(n,i)||Object.defineProperty(n,i,{value:o,writable:!0,enumerable:!0,configurable:!0})}return n}toString(e,n){let r=this.value;if(r.items.length>1)return super.toString(e,n);this.value=r.items[0];let s=super.toString(e,n);return this.value=r,s}},Po={defaultType:p.Type.BLOCK_LITERAL,lineWidth:76},_o={trueStr:"true",falseStr:"false"},xo={asBigInt:!1},Ro={nullStr:"null"},be={defaultType:p.Type.PLAIN,doubleQuoted:{jsonEncoding:!1,minMultiLineLength:40},fold:{lineWidth:80,minContentWidth:20}};function Fn(t,e,n){for(let{format:r,test:s,resolve:i}of e)if(s){let o=t.match(s);if(o){let a=i.apply(null,o);return a instanceof P||(a=new P(a)),r&&(a.format=r),a}}return n&&(t=n(t)),new P(t)}var Fs="flow",$n="block",Ut="quoted",Ds=(t,e)=>{let n=t[e+1];for(;n===" "||n===" ";){do n=t[e+=1];while(n&&n!==` +`);n=t[e+1]}return e};function Wt(t,e,n,{indentAtStart:r,lineWidth:s=80,minContentWidth:i=20,onFold:o,onOverflow:a}){if(!s||s<0)return t;let c=Math.max(1+i,1+s-e.length);if(t.length<=c)return t;let l=[],f={},m=s-e.length;typeof r=="number"&&(r>s-Math.max(2,i)?l.push(0):m=s-r);let d,y,h=!1,g=-1,w=-1,C=-1;n===$n&&(g=Ds(t,g),g!==-1&&(m=g+c));for(let M;M=t[g+=1];){if(n===Ut&&M==="\\"){switch(w=g,t[g+1]){case"x":g+=3;break;case"u":g+=5;break;case"U":g+=9;break;default:g+=1}C=g}if(M===` +`)n===$n&&(g=Ds(t,g)),m=g+c,d=void 0;else{if(M===" "&&y&&y!==" "&&y!==` `&&y!==" "){let A=t[g+1];A&&A!==" "&&A!==` -`&&A!==" "&&(d=g)}if(g>=m)if(d)l.push(d),m=d+c,d=void 0;else if(n===qt){for(;y===" "||y===" ";)y=M,M=t[g+=1],h=!0;let A=g>C+1?g-2:w-1;if(f[A])return t;l.push(A),f[A]=!0,m=A+c,d=void 0}else h=!0}y=M}if(h&&a&&a(),l.length===0)return t;o&&o();let L=t.slice(0,l[0]);for(let M=0;Mt?Object.assign({indentAtStart:t},be.fold):be.fold,Wt=t=>/^(%|---|\.\.\.)/m.test(t);function Ro(t,e,n){if(!e||e<0)return!1;let r=e-n,s=t.length;if(s<=r)return!1;for(let i=0,o=0;ir)return!0;if(o=i+1,s-o<=r)return!1}return!0}function Se(t,e){let{implicitKey:n}=e,{jsonEncoding:r,minMultiLineLength:s}=be.doubleQuoted,i=JSON.stringify(t);if(r)return i;let o=e.indent||(Wt(t)?" ":""),a="",c=0;for(let l=0,f=i[l];f;f=i[++l])if(f===" "&&i[l+1]==="\\"&&i[l+2]==="n"&&(a+=i.slice(c,l)+"\\ ",l+=1,c=l,f="\\"),f==="\\")switch(i[l+1]){case"u":{a+=i.slice(c,l);let m=i.substr(l+2,4);switch(m){case"0000":a+="\\0";break;case"0007":a+="\\a";break;case"000b":a+="\\v";break;case"001b":a+="\\e";break;case"0085":a+="\\N";break;case"00a0":a+="\\_";break;case"2028":a+="\\L";break;case"2029":a+="\\P";break;default:m.substr(0,2)==="00"?a+="\\x"+m.substr(2):a+=i.substr(l,6)}l+=5,c=l+1}break;case"n":if(n||i[l+2]==='"'||i.length=m)if(d)l.push(d),m=d+c,d=void 0;else if(n===Ut){for(;y===" "||y===" ";)y=M,M=t[g+=1],h=!0;let A=g>C+1?g-2:w-1;if(f[A])return t;l.push(A),f[A]=!0,m=A+c,d=void 0}else h=!0}y=M}if(h&&a&&a(),l.length===0)return t;o&&o();let L=t.slice(0,l[0]);for(let M=0;Mt?Object.assign({indentAtStart:t},be.fold):be.fold,jt=t=>/^(%|---|\.\.\.)/m.test(t);function Do(t,e,n){if(!e||e<0)return!1;let r=e-n,s=t.length;if(s<=r)return!1;for(let i=0,o=0;ir)return!0;if(o=i+1,s-o<=r)return!1}return!0}function Se(t,e){let{implicitKey:n}=e,{jsonEncoding:r,minMultiLineLength:s}=be.doubleQuoted,i=JSON.stringify(t);if(r)return i;let o=e.indent||(jt(t)?" ":""),a="",c=0;for(let l=0,f=i[l];f;f=i[++l])if(f===" "&&i[l+1]==="\\"&&i[l+2]==="n"&&(a+=i.slice(c,l)+"\\ ",l+=1,c=l,f="\\"),f==="\\")switch(i[l+1]){case"u":{a+=i.slice(c,l);let m=i.substr(l+2,4);switch(m){case"0000":a+="\\0";break;case"0007":a+="\\a";break;case"000b":a+="\\v";break;case"001b":a+="\\e";break;case"0085":a+="\\N";break;case"00a0":a+="\\_";break;case"2028":a+="\\L";break;case"2029":a+="\\P";break;default:m.substr(0,2)==="00"?a+="\\x"+m.substr(2):a+=i.substr(l,6)}l+=5,c=l+1}break;case"n":if(n||i[l+2]==='"'||i.length";if(!n)return l+` +`,l+=2;a+=o,i[l+2]===" "&&(a+="\\"),l+=1,c=l+1}break;default:l+=1}return a=c?a+i.slice(c):i,n?a:Wt(a,o,Ut,qn(e))}function qs(t,e){if(e.implicitKey){if(/\n/.test(t))return Se(t,e)}else if(/[ \t]\n|\n[ \t]/.test(t))return Se(t,e);let n=e.indent||(jt(t)?" ":""),r="'"+t.replace(/'/g,"''").replace(/\n+/g,`$& +${n}`)+"'";return e.implicitKey?r:Wt(r,n,Fs,qn(e))}function Kt({comment:t,type:e,value:n},r,s,i){if(/\n[\t ]+$/.test(n)||/^\s*$/.test(n))return Se(n,r);let o=r.indent||(r.forceBlockIndent||jt(n)?" ":""),a=o?"2":"1",c=e===p.Type.BLOCK_FOLDED?!1:e===p.Type.BLOCK_LITERAL?!0:!Do(n,be.fold.lineWidth,o.length),l=c?"|":">";if(!n)return l+` `;let f="",m="";if(n=n.replace(/[\n\t ]*$/,y=>{let h=y.indexOf(` `);return h===-1?l+="-":(n===y||h!==y.length-1)&&(l+="+",i&&i()),m=y.replace(/\n$/,""),""}).replace(/^[\n ]*/,y=>{y.indexOf(" ")!==-1&&(l+=a);let h=y.match(/ +$/);return h?(f=y.slice(0,-h[0].length),h[0]):(f=y,"")}),m&&(m=m.replace(/\n+(?!\n|$)/g,`$&${o}`)),f&&(f=f.replace(/\n+/g,`$&${o}`)),t&&(l+=" #"+t.replace(/ ?[\r\n]+/g," "),s&&s()),!n)return`${l}${a} ${o}${m}`;if(c)return n=n.replace(/\n+/g,`$&${o}`),`${l} ${o}${f}${n}${m}`;n=n.replace(/\n+/g,` -$&`).replace(/(?:^|\n)([\t ].*)(?:([\n\t ]*)\n(?![\n\t ]))?/g,"$1$2").replace(/\n+/g,`$&${o}`);let d=Vt(`${f}${n}${m}`,o,Fn,be.fold);return`${l} -${o}${d}`}function Do(t,e,n,r){let{comment:s,type:i,value:o}=t,{actualString:a,implicitKey:c,indent:l,inFlow:f}=e;if(c&&/[\n[\]{},]/.test(o)||f&&/[[\]{},]/.test(o))return Se(o,e);if(!o||/^[\n\t ,[\]{}#&*!|>'"%@`]|^[?-]$|^[?-][ \t]|[\n:][ \t]|[ \t]\n|[\n\t ]#|[\n\t :]$/.test(o))return c||f||o.indexOf(` -`)===-1?o.indexOf('"')!==-1&&o.indexOf("'")===-1?Bs(o,e):Se(o,e):Ut(t,e,n,r);if(!c&&!f&&i!==p.Type.PLAIN&&o.indexOf(` -`)!==-1)return Ut(t,e,n,r);if(l===""&&Wt(o))return e.forceBlockIndent=!0,Ut(t,e,n,r);let m=o.replace(/\n+/g,`$& -${l}`);if(a){let{tags:y}=e.doc.schema;if(typeof qn(m,y,y.scalarFallback).value!="string")return Se(o,e)}let d=c?m:Vt(m,l,Ys,Un(e));return s&&!f&&(d.indexOf(` +$&`).replace(/(?:^|\n)([\t ].*)(?:([\n\t ]*)\n(?![\n\t ]))?/g,"$1$2").replace(/\n+/g,`$&${o}`);let d=Wt(`${f}${n}${m}`,o,$n,be.fold);return`${l} +${o}${d}`}function Yo(t,e,n,r){let{comment:s,type:i,value:o}=t,{actualString:a,implicitKey:c,indent:l,inFlow:f}=e;if(c&&/[\n[\]{},]/.test(o)||f&&/[[\]{},]/.test(o))return Se(o,e);if(!o||/^[\n\t ,[\]{}#&*!|>'"%@`]|^[?-]$|^[?-][ \t]|[\n:][ \t]|[ \t]\n|[\n\t ]#|[\n\t :]$/.test(o))return c||f||o.indexOf(` +`)===-1?o.indexOf('"')!==-1&&o.indexOf("'")===-1?qs(o,e):Se(o,e):Kt(t,e,n,r);if(!c&&!f&&i!==p.Type.PLAIN&&o.indexOf(` +`)!==-1)return Kt(t,e,n,r);if(l===""&&jt(o))return e.forceBlockIndent=!0,Kt(t,e,n,r);let m=o.replace(/\n+/g,`$& +${l}`);if(a){let{tags:y}=e.doc.schema;if(typeof Fn(m,y,y.scalarFallback).value!="string")return Se(o,e)}let d=c?m:Wt(m,l,Fs,qn(e));return s&&!f&&(d.indexOf(` `)!==-1||s.indexOf(` -`)!==-1)?(n&&n(),ko(d,l,s)):d}function Yo(t,e,n,r){let{defaultType:s}=be,{implicitKey:i,inFlow:o}=e,{type:a,value:c}=t;typeof c!="string"&&(c=String(c),t=Object.assign({},t,{value:c}));let l=m=>{switch(m){case p.Type.BLOCK_FOLDED:case p.Type.BLOCK_LITERAL:return Ut(t,e,n,r);case p.Type.QUOTE_DOUBLE:return Se(c,e);case p.Type.QUOTE_SINGLE:return Bs(c,e);case p.Type.PLAIN:return Do(t,e,n,r);default:return null}};(a!==p.Type.QUOTE_DOUBLE&&/[\x00-\x08\x0b-\x1f\x7f-\x9f]/.test(c)||(i||o)&&(a===p.Type.BLOCK_FOLDED||a===p.Type.BLOCK_LITERAL))&&(a=p.Type.QUOTE_DOUBLE);let f=l(a);if(f===null&&(f=l(s),f===null))throw new Error(`Unsupported default string type ${s}`);return f}function Bo({format:t,minFractionDigits:e,tag:n,value:r}){if(typeof r=="bigint")return String(r);if(!isFinite(r))return isNaN(r)?".nan":r<0?"-.inf":".inf";let s=JSON.stringify(r);if(!t&&e&&(!n||n==="tag:yaml.org,2002:float")&&/^\d/.test(s)){let i=s.indexOf(".");i<0&&(i=s.length,s+=".");let o=e-(s.length-i-1);for(;o-- >0;)s+="0"}return s}function $s(t,e){let n,r;switch(e.type){case p.Type.FLOW_MAP:n="}",r="flow map";break;case p.Type.FLOW_SEQ:n="]",r="flow sequence";break;default:t.push(new p.YAMLSemanticError(e,"Not a flow collection!?"));return}let s;for(let i=e.items.length-1;i>=0;--i){let o=e.items[i];if(!o||o.type!==p.Type.COMMENT){s=o;break}}if(s&&s.char!==n){let i=`Expected ${r} to end with ${n}`,o;typeof s.offset=="number"?(o=new p.YAMLSemanticError(e,i),o.offset=s.offset+1):(o=new p.YAMLSemanticError(s,i),s.range&&s.range.end&&(o.offset=s.range.end-s.range.start)),t.push(o)}}function Fs(t,e){let n=e.context.src[e.range.start-1];if(n!==` -`&&n!==" "&&n!==" "){let r="Comments must be separated from other tokens by white space characters";t.push(new p.YAMLSemanticError(e,r))}}function qs(t,e){let n=String(e),r=n.substr(0,8)+"..."+n.substr(-8);return new p.YAMLSemanticError(t,`The "${r}" key is too long`)}function Us(t,e){for(let{afterKey:n,before:r,comment:s}of e){let i=t.items[r];i?(n&&i.value&&(i=i.value),s===void 0?(n||!i.commentBefore)&&(i.spaceBefore=!0):i.commentBefore?i.commentBefore+=` +`)!==-1)?(n&&n(),vo(d,l,s)):d}function Bo(t,e,n,r){let{defaultType:s}=be,{implicitKey:i,inFlow:o}=e,{type:a,value:c}=t;typeof c!="string"&&(c=String(c),t=Object.assign({},t,{value:c}));let l=m=>{switch(m){case p.Type.BLOCK_FOLDED:case p.Type.BLOCK_LITERAL:return Kt(t,e,n,r);case p.Type.QUOTE_DOUBLE:return Se(c,e);case p.Type.QUOTE_SINGLE:return qs(c,e);case p.Type.PLAIN:return Yo(t,e,n,r);default:return null}};(a!==p.Type.QUOTE_DOUBLE&&/[\x00-\x08\x0b-\x1f\x7f-\x9f]/.test(c)||(i||o)&&(a===p.Type.BLOCK_FOLDED||a===p.Type.BLOCK_LITERAL))&&(a=p.Type.QUOTE_DOUBLE);let f=l(a);if(f===null&&(f=l(s),f===null))throw new Error(`Unsupported default string type ${s}`);return f}function $o({format:t,minFractionDigits:e,tag:n,value:r}){if(typeof r=="bigint")return String(r);if(!isFinite(r))return isNaN(r)?".nan":r<0?"-.inf":".inf";let s=JSON.stringify(r);if(!t&&e&&(!n||n==="tag:yaml.org,2002:float")&&/^\d/.test(s)){let i=s.indexOf(".");i<0&&(i=s.length,s+=".");let o=e-(s.length-i-1);for(;o-- >0;)s+="0"}return s}function Us(t,e){let n,r;switch(e.type){case p.Type.FLOW_MAP:n="}",r="flow map";break;case p.Type.FLOW_SEQ:n="]",r="flow sequence";break;default:t.push(new p.YAMLSemanticError(e,"Not a flow collection!?"));return}let s;for(let i=e.items.length-1;i>=0;--i){let o=e.items[i];if(!o||o.type!==p.Type.COMMENT){s=o;break}}if(s&&s.char!==n){let i=`Expected ${r} to end with ${n}`,o;typeof s.offset=="number"?(o=new p.YAMLSemanticError(e,i),o.offset=s.offset+1):(o=new p.YAMLSemanticError(s,i),s.range&&s.range.end&&(o.offset=s.range.end-s.range.start)),t.push(o)}}function Ks(t,e){let n=e.context.src[e.range.start-1];if(n!==` +`&&n!==" "&&n!==" "){let r="Comments must be separated from other tokens by white space characters";t.push(new p.YAMLSemanticError(e,r))}}function Vs(t,e){let n=String(e),r=n.substr(0,8)+"..."+n.substr(-8);return new p.YAMLSemanticError(t,`The "${r}" key is too long`)}function Ws(t,e){for(let{afterKey:n,before:r,comment:s}of e){let i=t.items[r];i?(n&&i.value&&(i=i.value),s===void 0?(n||!i.commentBefore)&&(i.spaceBefore=!0):i.commentBefore?i.commentBefore+=` `+s:i.commentBefore=s):s!==void 0&&(t.comment?t.comment+=` -`+s:t.comment=s)}}function Kn(t,e){let n=e.strValue;return n?typeof n=="string"?n:(n.errors.forEach(r=>{r.source||(r.source=e),t.errors.push(r)}),n.str):""}function $o(t,e){let{handle:n,suffix:r}=e.tag,s=t.tagPrefixes.find(i=>i.handle===n);if(!s){let i=t.getDefaults().tagPrefixes;if(i&&(s=i.find(o=>o.handle===n)),!s)throw new p.YAMLSemanticError(e,`The ${n} tag handle is non-default and was not declared.`)}if(!r)throw new p.YAMLSemanticError(e,`The ${n} tag has no suffix.`);if(n==="!"&&(t.version||t.options.version)==="1.0"){if(r[0]==="^")return t.warnings.push(new p.YAMLWarning(e,"YAML 1.0 ^ tag expansion is not supported")),r;if(/[:/]/.test(r)){let i=r.match(/^([a-z0-9-]+)\/(.*)/i);return i?`tag:${i[1]}.yaml.org,2002:${i[2]}`:`tag:${r}`}}return s.prefix+decodeURIComponent(r)}function Fo(t,e){let{tag:n,type:r}=e,s=!1;if(n){let{handle:i,suffix:o,verbatim:a}=n;if(a){if(a!=="!"&&a!=="!!")return a;let c=`Verbatim tags aren't resolved, so ${a} is invalid.`;t.errors.push(new p.YAMLSemanticError(e,c))}else if(i==="!"&&!o)s=!0;else try{return $o(t,e)}catch(c){t.errors.push(c)}}switch(r){case p.Type.BLOCK_FOLDED:case p.Type.BLOCK_LITERAL:case p.Type.QUOTE_DOUBLE:case p.Type.QUOTE_SINGLE:return p.defaultTags.STR;case p.Type.FLOW_MAP:case p.Type.MAP:return p.defaultTags.MAP;case p.Type.FLOW_SEQ:case p.Type.SEQ:return p.defaultTags.SEQ;case p.Type.PLAIN:return s?p.defaultTags.STR:null;default:return null}}function xs(t,e,n){let{tags:r}=t.schema,s=[];for(let o of r)if(o.tag===n)if(o.test)s.push(o);else{let a=o.resolve(t,e);return a instanceof W?a:new P(a)}let i=Kn(t,e);return typeof i=="string"&&s.length>0?qn(i,s,r.scalarFallback):null}function qo({type:t}){switch(t){case p.Type.FLOW_MAP:case p.Type.MAP:return p.defaultTags.MAP;case p.Type.FLOW_SEQ:case p.Type.SEQ:return p.defaultTags.SEQ;default:return p.defaultTags.STR}}function Uo(t,e,n){try{let r=xs(t,e,n);if(r)return n&&e.tag&&(r.tag=n),r}catch(r){return r.source||(r.source=e),t.errors.push(r),null}try{let r=qo(e);if(!r)throw new Error(`The tag ${n} is unavailable`);let s=`The tag ${n} is unavailable, falling back to ${r}`;t.warnings.push(new p.YAMLWarning(e,s));let i=xs(t,e,r);return i.tag=n,i}catch(r){let s=new p.YAMLReferenceError(e,r.message);return s.stack=r.stack,t.errors.push(s),null}}var Ko=t=>{if(!t)return!1;let{type:e}=t;return e===p.Type.MAP_KEY||e===p.Type.MAP_VALUE||e===p.Type.SEQ_ITEM};function Vo(t,e){let n={before:[],after:[]},r=!1,s=!1,i=Ko(e.context.parent)?e.context.parent.props.concat(e.props):e.props;for(let{start:o,end:a}of i)switch(e.context.src[o]){case p.Char.COMMENT:{if(!e.commentHasRequiredWhitespace(o)){let m="Comments must be separated from other tokens by white space characters";t.push(new p.YAMLSemanticError(e,m))}let{header:c,valueRange:l}=e;(l&&(o>l.start||c&&o>c.start)?n.after:n.before).push(e.context.src.slice(o+1,a));break}case p.Char.ANCHOR:if(r){let c="A node can have at most one anchor";t.push(new p.YAMLSemanticError(e,c))}r=!0;break;case p.Char.TAG:if(s){let c="A node can have at most one tag";t.push(new p.YAMLSemanticError(e,c))}s=!0;break}return{comments:n,hasAnchor:r,hasTag:s}}function Wo(t,e){let{anchors:n,errors:r,schema:s}=t;if(e.type===p.Type.ALIAS){let o=e.rawValue,a=n.getNode(o);if(!a){let l=`Aliased anchor not found: ${o}`;return r.push(new p.YAMLReferenceError(e,l)),null}let c=new we(a);return n._cstAliases.push(c),c}let i=Fo(t,e);if(i)return Uo(t,e,i);if(e.type!==p.Type.PLAIN){let o=`Failed to resolve ${e.type} node here`;return r.push(new p.YAMLSyntaxError(e,o)),null}try{let o=Kn(t,e);return qn(o,s.tags,s.tags.scalarFallback)}catch(o){return o.source||(o.source=e),r.push(o),null}}function me(t,e){if(!e)return null;e.error&&t.errors.push(e.error);let{comments:n,hasAnchor:r,hasTag:s}=Vo(t.errors,e);if(r){let{anchors:o}=t,a=e.anchor,c=o.getNode(a);c&&(o.map[o.newName(a)]=c),o.map[a]=e}if(e.type===p.Type.ALIAS&&(r||s)){let o="An alias node must not specify any properties";t.errors.push(new p.YAMLSemanticError(e,o))}let i=Wo(t,e);if(i){i.range=[e.range.start,e.range.end],t.options.keepCstNodes&&(i.cstNode=e),t.options.keepNodeTypes&&(i.type=e.type);let o=n.before.join(` +`+s:t.comment=s)}}function Un(t,e){let n=e.strValue;return n?typeof n=="string"?n:(n.errors.forEach(r=>{r.source||(r.source=e),t.errors.push(r)}),n.str):""}function Fo(t,e){let{handle:n,suffix:r}=e.tag,s=t.tagPrefixes.find(i=>i.handle===n);if(!s){let i=t.getDefaults().tagPrefixes;if(i&&(s=i.find(o=>o.handle===n)),!s)throw new p.YAMLSemanticError(e,`The ${n} tag handle is non-default and was not declared.`)}if(!r)throw new p.YAMLSemanticError(e,`The ${n} tag has no suffix.`);if(n==="!"&&(t.version||t.options.version)==="1.0"){if(r[0]==="^")return t.warnings.push(new p.YAMLWarning(e,"YAML 1.0 ^ tag expansion is not supported")),r;if(/[:/]/.test(r)){let i=r.match(/^([a-z0-9-]+)\/(.*)/i);return i?`tag:${i[1]}.yaml.org,2002:${i[2]}`:`tag:${r}`}}return s.prefix+decodeURIComponent(r)}function qo(t,e){let{tag:n,type:r}=e,s=!1;if(n){let{handle:i,suffix:o,verbatim:a}=n;if(a){if(a!=="!"&&a!=="!!")return a;let c=`Verbatim tags aren't resolved, so ${a} is invalid.`;t.errors.push(new p.YAMLSemanticError(e,c))}else if(i==="!"&&!o)s=!0;else try{return Fo(t,e)}catch(c){t.errors.push(c)}}switch(r){case p.Type.BLOCK_FOLDED:case p.Type.BLOCK_LITERAL:case p.Type.QUOTE_DOUBLE:case p.Type.QUOTE_SINGLE:return p.defaultTags.STR;case p.Type.FLOW_MAP:case p.Type.MAP:return p.defaultTags.MAP;case p.Type.FLOW_SEQ:case p.Type.SEQ:return p.defaultTags.SEQ;case p.Type.PLAIN:return s?p.defaultTags.STR:null;default:return null}}function Ys(t,e,n){let{tags:r}=t.schema,s=[];for(let o of r)if(o.tag===n)if(o.test)s.push(o);else{let a=o.resolve(t,e);return a instanceof W?a:new P(a)}let i=Un(t,e);return typeof i=="string"&&s.length>0?Fn(i,s,r.scalarFallback):null}function Uo({type:t}){switch(t){case p.Type.FLOW_MAP:case p.Type.MAP:return p.defaultTags.MAP;case p.Type.FLOW_SEQ:case p.Type.SEQ:return p.defaultTags.SEQ;default:return p.defaultTags.STR}}function Ko(t,e,n){try{let r=Ys(t,e,n);if(r)return n&&e.tag&&(r.tag=n),r}catch(r){return r.source||(r.source=e),t.errors.push(r),null}try{let r=Uo(e);if(!r)throw new Error(`The tag ${n} is unavailable`);let s=`The tag ${n} is unavailable, falling back to ${r}`;t.warnings.push(new p.YAMLWarning(e,s));let i=Ys(t,e,r);return i.tag=n,i}catch(r){let s=new p.YAMLReferenceError(e,r.message);return s.stack=r.stack,t.errors.push(s),null}}var Vo=t=>{if(!t)return!1;let{type:e}=t;return e===p.Type.MAP_KEY||e===p.Type.MAP_VALUE||e===p.Type.SEQ_ITEM};function Wo(t,e){let n={before:[],after:[]},r=!1,s=!1,i=Vo(e.context.parent)?e.context.parent.props.concat(e.props):e.props;for(let{start:o,end:a}of i)switch(e.context.src[o]){case p.Char.COMMENT:{if(!e.commentHasRequiredWhitespace(o)){let m="Comments must be separated from other tokens by white space characters";t.push(new p.YAMLSemanticError(e,m))}let{header:c,valueRange:l}=e;(l&&(o>l.start||c&&o>c.start)?n.after:n.before).push(e.context.src.slice(o+1,a));break}case p.Char.ANCHOR:if(r){let c="A node can have at most one anchor";t.push(new p.YAMLSemanticError(e,c))}r=!0;break;case p.Char.TAG:if(s){let c="A node can have at most one tag";t.push(new p.YAMLSemanticError(e,c))}s=!0;break}return{comments:n,hasAnchor:r,hasTag:s}}function jo(t,e){let{anchors:n,errors:r,schema:s}=t;if(e.type===p.Type.ALIAS){let o=e.rawValue,a=n.getNode(o);if(!a){let l=`Aliased anchor not found: ${o}`;return r.push(new p.YAMLReferenceError(e,l)),null}let c=new we(a);return n._cstAliases.push(c),c}let i=qo(t,e);if(i)return Ko(t,e,i);if(e.type!==p.Type.PLAIN){let o=`Failed to resolve ${e.type} node here`;return r.push(new p.YAMLSyntaxError(e,o)),null}try{let o=Un(t,e);return Fn(o,s.tags,s.tags.scalarFallback)}catch(o){return o.source||(o.source=e),r.push(o),null}}function me(t,e){if(!e)return null;e.error&&t.errors.push(e.error);let{comments:n,hasAnchor:r,hasTag:s}=Wo(t.errors,e);if(r){let{anchors:o}=t,a=e.anchor,c=o.getNode(a);c&&(o.map[o.newName(a)]=c),o.map[a]=e}if(e.type===p.Type.ALIAS&&(r||s)){let o="An alias node must not specify any properties";t.errors.push(new p.YAMLSemanticError(e,o))}let i=jo(t,e);if(i){i.range=[e.range.start,e.range.end],t.options.keepCstNodes&&(i.cstNode=e),t.options.keepNodeTypes&&(i.type=e.type);let o=n.before.join(` `);o&&(i.commentBefore=i.commentBefore?`${i.commentBefore} ${o}`:o);let a=n.after.join(` `);a&&(i.comment=i.comment?`${i.comment} -${a}`:a)}return e.resolved=i}function jo(t,e){if(e.type!==p.Type.MAP&&e.type!==p.Type.FLOW_MAP){let o=`A ${e.type} node cannot be resolved as a mapping`;return t.errors.push(new p.YAMLSyntaxError(e,o)),null}let{comments:n,items:r}=e.type===p.Type.FLOW_MAP?Ho(t,e):Go(t,e),s=new mt;s.items=r,Us(s,n);let i=!1;for(let o=0;o{if(f instanceof we){let{type:m}=f.source;return m===p.Type.MAP||m===p.Type.FLOW_MAP?!1:l="Merge nodes aliases can only point to maps"}return l="Merge nodes can only have Alias nodes as values"}),l&&t.errors.push(new p.YAMLSemanticError(e,l))}else for(let c=o+1;c{if(r.length===0)return!1;let{start:s}=r[0];if(e&&s>e.valueRange.start||n[s]!==p.Char.COMMENT)return!1;for(let i=t;i0){c=new p.PlainValue(p.Type.PLAIN,[]),c.context={parent:a,src:a.context.src};let f=a.range.start+1;if(c.range={start:f,end:f},c.valueRange={start:f,end:f},typeof a.range.origStart=="number"){let m=a.range.origStart+1;c.range.origStart=c.range.origEnd=m,c.valueRange.origStart=c.valueRange.origEnd=m}}let l=new T(s,me(t,c));Jo(a,l),r.push(l),s&&typeof i=="number"&&a.range.start>i+1024&&t.errors.push(qs(e,s)),s=void 0,i=null}break;default:s!==void 0&&r.push(new T(s)),s=me(t,a),i=a.range.start,a.error&&t.errors.push(a.error);e:for(let c=o+1;;++c){let l=e.items[c];switch(l&&l.type){case p.Type.BLANK_LINE:case p.Type.COMMENT:continue e;case p.Type.MAP_VALUE:break e;default:{let f="Implicit map keys need to be followed by map values";t.errors.push(new p.YAMLSemanticError(a,f));break e}}}if(a.valueRangeContainsNewline){let c="Implicit map keys need to be on a single line";t.errors.push(new p.YAMLSemanticError(a,c))}}}return s!==void 0&&r.push(new T(s)),{comments:n,items:r}}function Ho(t,e){let n=[],r=[],s,i=!1,o="{";for(let a=0;ai instanceof T&&i.key instanceof W)){let i="Keys with collection values will be stringified as YAML due to JS Object restrictions. Use mapAsMap: true to avoid this.";t.warnings.push(new p.YAMLWarning(e,i))}return e.resolved=s,s}function zo(t,e){let n=[],r=[];for(let s=0;so+1024&&t.errors.push(qs(e,i));let{src:h}=c.context;for(let g=o;g{"use strict";var j=le(),O=$e(),ea={identify:t=>t instanceof Uint8Array,default:!1,tag:"tag:yaml.org,2002:binary",resolve:(t,e)=>{let n=O.resolveString(t,e);if(typeof Buffer=="function")return Buffer.from(n,"base64");if(typeof atob=="function"){let r=atob(n.replace(/[\n\r]/g,"")),s=new Uint8Array(r.length);for(let i=0;i{let o;if(typeof Buffer=="function")o=n instanceof Buffer?n.toString("base64"):Buffer.from(n.buffer).toString("base64");else if(typeof btoa=="function"){let a="";for(let c=0;c1){let o="Each pair must have its own sequence indicator";throw new j.YAMLSemanticError(e,o)}let i=s.items[0]||new O.Pair;s.commentBefore&&(i.commentBefore=i.commentBefore?`${s.commentBefore} +${a}`:a)}return e.resolved=i}function Qo(t,e){if(e.type!==p.Type.MAP&&e.type!==p.Type.FLOW_MAP){let o=`A ${e.type} node cannot be resolved as a mapping`;return t.errors.push(new p.YAMLSyntaxError(e,o)),null}let{comments:n,items:r}=e.type===p.Type.FLOW_MAP?Xo(t,e):Ho(t,e),s=new mt;s.items=r,Ws(s,n);let i=!1;for(let o=0;o{if(f instanceof we){let{type:m}=f.source;return m===p.Type.MAP||m===p.Type.FLOW_MAP?!1:l="Merge nodes aliases can only point to maps"}return l="Merge nodes can only have Alias nodes as values"}),l&&t.errors.push(new p.YAMLSemanticError(e,l))}else for(let c=o+1;c{if(r.length===0)return!1;let{start:s}=r[0];if(e&&s>e.valueRange.start||n[s]!==p.Char.COMMENT)return!1;for(let i=t;i0){c=new p.PlainValue(p.Type.PLAIN,[]),c.context={parent:a,src:a.context.src};let f=a.range.start+1;if(c.range={start:f,end:f},c.valueRange={start:f,end:f},typeof a.range.origStart=="number"){let m=a.range.origStart+1;c.range.origStart=c.range.origEnd=m,c.valueRange.origStart=c.valueRange.origEnd=m}}let l=new T(s,me(t,c));Go(a,l),r.push(l),s&&typeof i=="number"&&a.range.start>i+1024&&t.errors.push(Vs(e,s)),s=void 0,i=null}break;default:s!==void 0&&r.push(new T(s)),s=me(t,a),i=a.range.start,a.error&&t.errors.push(a.error);e:for(let c=o+1;;++c){let l=e.items[c];switch(l&&l.type){case p.Type.BLANK_LINE:case p.Type.COMMENT:continue e;case p.Type.MAP_VALUE:break e;default:{let f="Implicit map keys need to be followed by map values";t.errors.push(new p.YAMLSemanticError(a,f));break e}}}if(a.valueRangeContainsNewline){let c="Implicit map keys need to be on a single line";t.errors.push(new p.YAMLSemanticError(a,c))}}}return s!==void 0&&r.push(new T(s)),{comments:n,items:r}}function Xo(t,e){let n=[],r=[],s,i=!1,o="{";for(let a=0;ai instanceof T&&i.key instanceof W)){let i="Keys with collection values will be stringified as YAML due to JS Object restrictions. Use mapAsMap: true to avoid this.";t.warnings.push(new p.YAMLWarning(e,i))}return e.resolved=s,s}function Zo(t,e){let n=[],r=[];for(let s=0;so+1024&&t.errors.push(Vs(e,i));let{src:h}=c.context;for(let g=o;g{"use strict";var j=le(),O=$e(),ta={identify:t=>t instanceof Uint8Array,default:!1,tag:"tag:yaml.org,2002:binary",resolve:(t,e)=>{let n=O.resolveString(t,e);if(typeof Buffer=="function")return Buffer.from(n,"base64");if(typeof atob=="function"){let r=atob(n.replace(/[\n\r]/g,"")),s=new Uint8Array(r.length);for(let i=0;i{let o;if(typeof Buffer=="function")o=n instanceof Buffer?n.toString("base64"):Buffer.from(n.buffer).toString("base64");else if(typeof btoa=="function"){let a="";for(let c=0;c1){let o="Each pair must have its own sequence indicator";throw new j.YAMLSemanticError(e,o)}let i=s.items[0]||new O.Pair;s.commentBefore&&(i.commentBefore=i.commentBefore?`${s.commentBefore} ${i.commentBefore}`:s.commentBefore),s.comment&&(i.comment=i.comment?`${s.comment} -${i.comment}`:s.comment),s=i}n.items[r]=s instanceof O.Pair?s:new O.Pair(s)}}return n}function Ws(t,e,n){let r=new O.YAMLSeq(t);r.tag="tag:yaml.org,2002:pairs";for(let s of e){let i,o;if(Array.isArray(s))if(s.length===2)i=s[0],o=s[1];else throw new TypeError(`Expected [key, value] tuple: ${s}`);else if(s&&s instanceof Object){let c=Object.keys(s);if(c.length===1)i=c[0],o=s[i];else throw new TypeError(`Expected { key: value } tuple: ${s}`)}else i=s;let a=t.createPair(i,o,n);r.items.push(a)}return r}var ta={default:!1,tag:"tag:yaml.org,2002:pairs",resolve:Vs,createNode:Ws},Fe=class t extends O.YAMLSeq{constructor(){super(),j._defineProperty(this,"add",O.YAMLMap.prototype.add.bind(this)),j._defineProperty(this,"delete",O.YAMLMap.prototype.delete.bind(this)),j._defineProperty(this,"get",O.YAMLMap.prototype.get.bind(this)),j._defineProperty(this,"has",O.YAMLMap.prototype.has.bind(this)),j._defineProperty(this,"set",O.YAMLMap.prototype.set.bind(this)),this.tag=t.tag}toJSON(e,n){let r=new Map;n&&n.onCreate&&n.onCreate(r);for(let s of this.items){let i,o;if(s instanceof O.Pair?(i=O.toJSON(s.key,"",n),o=O.toJSON(s.value,i,n)):i=O.toJSON(s,"",n),r.has(i))throw new Error("Ordered maps must not include duplicate keys");r.set(i,o)}return r}};j._defineProperty(Fe,"tag","tag:yaml.org,2002:omap");function na(t,e){let n=Vs(t,e),r=[];for(let{key:s}of n.items)if(s instanceof O.Scalar)if(r.includes(s.value)){let i="Ordered maps must not include duplicate keys";throw new j.YAMLSemanticError(e,i)}else r.push(s.value);return Object.assign(new Fe,n)}function ra(t,e,n){let r=Ws(t,e,n),s=new Fe;return s.items=r.items,s}var sa={identify:t=>t instanceof Map,nodeClass:Fe,default:!1,tag:"tag:yaml.org,2002:omap",resolve:na,createNode:ra},qe=class t extends O.YAMLMap{constructor(){super(),this.tag=t.tag}add(e){let n=e instanceof O.Pair?e:new O.Pair(e);O.findPair(this.items,n.key)||this.items.push(n)}get(e,n){let r=O.findPair(this.items,e);return!n&&r instanceof O.Pair?r.key instanceof O.Scalar?r.key.value:r.key:r}set(e,n){if(typeof n!="boolean")throw new Error(`Expected boolean value for set(key, value) in a YAML set, not ${typeof n}`);let r=O.findPair(this.items,e);r&&!n?this.items.splice(this.items.indexOf(r),1):!r&&n&&this.items.push(new O.Pair(e))}toJSON(e,n){return super.toJSON(e,n,Set)}toString(e,n,r){if(!e)return JSON.stringify(this);if(this.hasAllNullValues())return super.toString(e,n,r);throw new Error("Set items must all have null values")}};j._defineProperty(qe,"tag","tag:yaml.org,2002:set");function ia(t,e){let n=O.resolveMap(t,e);if(!n.hasAllNullValues())throw new j.YAMLSemanticError(e,"Set items must all have null values");return Object.assign(new qe,n)}function oa(t,e,n){let r=new qe;for(let s of e)r.items.push(t.createPair(s,null,n));return r}var aa={identify:t=>t instanceof Set,nodeClass:qe,default:!1,tag:"tag:yaml.org,2002:set",resolve:ia,createNode:oa},Vn=(t,e)=>{let n=e.split(":").reduce((r,s)=>r*60+Number(s),0);return t==="-"?-n:n},js=({value:t})=>{if(isNaN(t)||!isFinite(t))return O.stringifyNumber(t);let e="";t<0&&(e="-",t=Math.abs(t));let n=[t%60];return t<60?n.unshift(0):(t=Math.round((t-n[0])/60),n.unshift(t%60),t>=60&&(t=Math.round((t-n[0])/60),n.unshift(t))),e+n.map(r=>r<10?"0"+String(r):String(r)).join(":").replace(/000000\d*$/,"")},ca={identify:t=>typeof t=="number",default:!0,tag:"tag:yaml.org,2002:int",format:"TIME",test:/^([-+]?)([0-9][0-9_]*(?::[0-5]?[0-9])+)$/,resolve:(t,e,n)=>Vn(e,n.replace(/_/g,"")),stringify:js},la={identify:t=>typeof t=="number",default:!0,tag:"tag:yaml.org,2002:float",format:"TIME",test:/^([-+]?)([0-9][0-9_]*(?::[0-5]?[0-9])+\.[0-9_]*)$/,resolve:(t,e,n)=>Vn(e,n.replace(/_/g,"")),stringify:js},fa={identify:t=>t 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:(t,e,n,r,s,i,o,a,c)=>{a&&(a=(a+"00").substr(1,3));let l=Date.UTC(e,n-1,r,s||0,i||0,o||0,a||0);if(c&&c!=="Z"){let f=Vn(c[0],c.slice(1));Math.abs(f)<30&&(f*=60),l-=6e4*f}return new Date(l)},stringify:({value:t})=>t.toISOString().replace(/((T00:00)?:00)?\.000Z$/,"")};function Wn(t){let e={};return t?typeof YAML_SILENCE_DEPRECATION_WARNINGS<"u"?!YAML_SILENCE_DEPRECATION_WARNINGS:!e.YAML_SILENCE_DEPRECATION_WARNINGS:typeof YAML_SILENCE_WARNINGS<"u"?!YAML_SILENCE_WARNINGS:!e.YAML_SILENCE_WARNINGS}function jn(t,e){Wn(!1)&&console.warn(e?`${e}: ${t}`:t)}function ua(t){if(Wn(!0)){let e=t.replace(/.*yaml[/\\]/i,"").replace(/\.js$/,"").replace(/\\/g,"/");jn(`The endpoint 'yaml/${e}' will be removed in a future release.`,"DeprecationWarning")}}var Ks={};function pa(t,e){if(!Ks[t]&&Wn(!0)){Ks[t]=!0;let n=`The option '${t}' will be removed in a future release`;n+=e?`, use '${e}' instead.`:".",jn(n,"DeprecationWarning")}}z.binary=ea;z.floatTime=la;z.intTime=ca;z.omap=sa;z.pairs=ta;z.set=aa;z.timestamp=fa;z.warn=jn;z.warnFileDeprecation=ua;z.warnOptionDeprecation=pa});var Xn=ee(ii=>{"use strict";var Jt=le(),E=$e(),D=Qn();function ma(t,e,n){let r=new E.YAMLMap(t);if(e instanceof Map)for(let[s,i]of e)r.items.push(t.createPair(s,i,n));else if(e&&typeof e=="object")for(let s of Object.keys(e))r.items.push(t.createPair(s,e[s],n));return typeof t.sortMapEntries=="function"&&r.items.sort(t.sortMapEntries),r}var gt={createNode:ma,default:!0,nodeClass:E.YAMLMap,tag:"tag:yaml.org,2002:map",resolve:E.resolveMap};function ha(t,e,n){let r=new E.YAMLSeq(t);if(e&&e[Symbol.iterator])for(let s of e){let i=t.createNode(s,n.wrapScalars,null,n);r.items.push(i)}return r}var Gt={createNode:ha,default:!0,nodeClass:E.YAMLSeq,tag:"tag:yaml.org,2002:seq",resolve:E.resolveSeq},ga={identify:t=>typeof t=="string",default:!0,tag:"tag:yaml.org,2002:str",resolve:E.resolveString,stringify(t,e,n,r){return e=Object.assign({actualString:!0},e),E.stringifyString(t,e,n,r)},options:E.strOptions},Gn=[gt,Gt,ga],Ht=t=>typeof t=="bigint"||Number.isInteger(t),Hn=(t,e,n)=>E.intOptions.asBigInt?BigInt(t):parseInt(e,n);function Gs(t,e,n){let{value:r}=t;return Ht(r)&&r>=0?n+r.toString(e):E.stringifyNumber(t)}var Hs={identify:t=>t==null,createNode:(t,e,n)=>n.wrapScalars?new E.Scalar(null):null,default:!0,tag:"tag:yaml.org,2002:null",test:/^(?:~|[Nn]ull|NULL)?$/,resolve:()=>null,options:E.nullOptions,stringify:()=>E.nullOptions.nullStr},Xs={identify:t=>typeof t=="boolean",default:!0,tag:"tag:yaml.org,2002:bool",test:/^(?:[Tt]rue|TRUE|[Ff]alse|FALSE)$/,resolve:t=>t[0]==="t"||t[0]==="T",options:E.boolOptions,stringify:({value:t})=>t?E.boolOptions.trueStr:E.boolOptions.falseStr},zs={identify:t=>Ht(t)&&t>=0,default:!0,tag:"tag:yaml.org,2002:int",format:"OCT",test:/^0o([0-7]+)$/,resolve:(t,e)=>Hn(t,e,8),options:E.intOptions,stringify:t=>Gs(t,8,"0o")},Zs={identify:Ht,default:!0,tag:"tag:yaml.org,2002:int",test:/^[-+]?[0-9]+$/,resolve:t=>Hn(t,t,10),options:E.intOptions,stringify:E.stringifyNumber},ei={identify:t=>Ht(t)&&t>=0,default:!0,tag:"tag:yaml.org,2002:int",format:"HEX",test:/^0x([0-9a-fA-F]+)$/,resolve:(t,e)=>Hn(t,e,16),options:E.intOptions,stringify:t=>Gs(t,16,"0x")},ti={identify:t=>typeof t=="number",default:!0,tag:"tag:yaml.org,2002:float",test:/^(?:[-+]?\.inf|(\.nan))$/i,resolve:(t,e)=>e?NaN:t[0]==="-"?Number.NEGATIVE_INFINITY:Number.POSITIVE_INFINITY,stringify:E.stringifyNumber},ni={identify:t=>typeof t=="number",default:!0,tag:"tag:yaml.org,2002:float",format:"EXP",test:/^[-+]?(?:\.[0-9]+|[0-9]+(?:\.[0-9]*)?)[eE][-+]?[0-9]+$/,resolve:t=>parseFloat(t),stringify:({value:t})=>Number(t).toExponential()},ri={identify:t=>typeof t=="number",default:!0,tag:"tag:yaml.org,2002:float",test:/^[-+]?(?:\.([0-9]+)|[0-9]+\.([0-9]*))$/,resolve(t,e,n){let r=e||n,s=new E.Scalar(parseFloat(t));return r&&r[r.length-1]==="0"&&(s.minFractionDigits=r.length),s},stringify:E.stringifyNumber},da=Gn.concat([Hs,Xs,zs,Zs,ei,ti,ni,ri]),Qs=t=>typeof t=="bigint"||Number.isInteger(t),jt=({value:t})=>JSON.stringify(t),si=[gt,Gt,{identify:t=>typeof t=="string",default:!0,tag:"tag:yaml.org,2002:str",resolve:E.resolveString,stringify:jt},{identify:t=>t==null,createNode:(t,e,n)=>n.wrapScalars?new E.Scalar(null):null,default:!0,tag:"tag:yaml.org,2002:null",test:/^null$/,resolve:()=>null,stringify:jt},{identify:t=>typeof t=="boolean",default:!0,tag:"tag:yaml.org,2002:bool",test:/^true|false$/,resolve:t=>t==="true",stringify:jt},{identify:Qs,default:!0,tag:"tag:yaml.org,2002:int",test:/^-?(?:0|[1-9][0-9]*)$/,resolve:t=>E.intOptions.asBigInt?BigInt(t):parseInt(t,10),stringify:({value:t})=>Qs(t)?t.toString():JSON.stringify(t)},{identify:t=>typeof t=="number",default:!0,tag:"tag:yaml.org,2002:float",test:/^-?(?:0|[1-9][0-9]*)(?:\.[0-9]*)?(?:[eE][-+]?[0-9]+)?$/,resolve:t=>parseFloat(t),stringify:jt}];si.scalarFallback=t=>{throw new SyntaxError(`Unresolved plain scalar ${JSON.stringify(t)}`)};var Js=({value:t})=>t?E.boolOptions.trueStr:E.boolOptions.falseStr,ht=t=>typeof t=="bigint"||Number.isInteger(t);function Qt(t,e,n){let r=e.replace(/_/g,"");if(E.intOptions.asBigInt){switch(n){case 2:r=`0b${r}`;break;case 8:r=`0o${r}`;break;case 16:r=`0x${r}`;break}let i=BigInt(r);return t==="-"?BigInt(-1)*i:i}let s=parseInt(r,n);return t==="-"?-1*s:s}function Jn(t,e,n){let{value:r}=t;if(ht(r)){let s=r.toString(e);return r<0?"-"+n+s.substr(1):n+s}return E.stringifyNumber(t)}var ya=Gn.concat([{identify:t=>t==null,createNode:(t,e,n)=>n.wrapScalars?new E.Scalar(null):null,default:!0,tag:"tag:yaml.org,2002:null",test:/^(?:~|[Nn]ull|NULL)?$/,resolve:()=>null,options:E.nullOptions,stringify:()=>E.nullOptions.nullStr},{identify:t=>typeof t=="boolean",default:!0,tag:"tag:yaml.org,2002:bool",test:/^(?:Y|y|[Yy]es|YES|[Tt]rue|TRUE|[Oo]n|ON)$/,resolve:()=>!0,options:E.boolOptions,stringify:Js},{identify:t=>typeof t=="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:E.boolOptions,stringify:Js},{identify:ht,default:!0,tag:"tag:yaml.org,2002:int",format:"BIN",test:/^([-+]?)0b([0-1_]+)$/,resolve:(t,e,n)=>Qt(e,n,2),stringify:t=>Jn(t,2,"0b")},{identify:ht,default:!0,tag:"tag:yaml.org,2002:int",format:"OCT",test:/^([-+]?)0([0-7_]+)$/,resolve:(t,e,n)=>Qt(e,n,8),stringify:t=>Jn(t,8,"0")},{identify:ht,default:!0,tag:"tag:yaml.org,2002:int",test:/^([-+]?)([0-9][0-9_]*)$/,resolve:(t,e,n)=>Qt(e,n,10),stringify:E.stringifyNumber},{identify:ht,default:!0,tag:"tag:yaml.org,2002:int",format:"HEX",test:/^([-+]?)0x([0-9a-fA-F_]+)$/,resolve:(t,e,n)=>Qt(e,n,16),stringify:t=>Jn(t,16,"0x")},{identify:t=>typeof t=="number",default:!0,tag:"tag:yaml.org,2002:float",test:/^(?:[-+]?\.inf|(\.nan))$/i,resolve:(t,e)=>e?NaN:t[0]==="-"?Number.NEGATIVE_INFINITY:Number.POSITIVE_INFINITY,stringify:E.stringifyNumber},{identify:t=>typeof t=="number",default:!0,tag:"tag:yaml.org,2002:float",format:"EXP",test:/^[-+]?([0-9][0-9_]*)?(\.[0-9_]*)?[eE][-+]?[0-9]+$/,resolve:t=>parseFloat(t.replace(/_/g,"")),stringify:({value:t})=>Number(t).toExponential()},{identify:t=>typeof t=="number",default:!0,tag:"tag:yaml.org,2002:float",test:/^[-+]?(?:[0-9][0-9_]*)?\.([0-9_]*)$/,resolve(t,e){let n=new E.Scalar(parseFloat(t.replace(/_/g,"")));if(e){let r=e.replace(/_/g,"");r[r.length-1]==="0"&&(n.minFractionDigits=r.length)}return n},stringify:E.stringifyNumber}],D.binary,D.omap,D.pairs,D.set,D.intTime,D.floatTime,D.timestamp),Ea={core:da,failsafe:Gn,json:si,yaml11:ya},Sa={binary:D.binary,bool:Xs,float:ri,floatExp:ni,floatNaN:ti,floatTime:D.floatTime,int:Zs,intHex:ei,intOct:zs,intTime:D.intTime,map:gt,null:Hs,omap:D.omap,pairs:D.pairs,seq:Gt,set:D.set,timestamp:D.timestamp};function wa(t,e,n){if(e){let r=n.filter(i=>i.tag===e),s=r.find(i=>!i.format)||r[0];if(!s)throw new Error(`Tag ${e} not found`);return s}return n.find(r=>(r.identify&&r.identify(t)||r.class&&t instanceof r.class)&&!r.format)}function ba(t,e,n){if(t instanceof E.Node)return t;let{defaultPrefix:r,onTagObj:s,prevObjects:i,schema:o,wrapScalars:a}=n;e&&e.startsWith("!!")&&(e=r+e.slice(2));let c=wa(t,e,o.tags);if(!c){if(typeof t.toJSON=="function"&&(t=t.toJSON()),!t||typeof t!="object")return a?new E.Scalar(t):t;c=t instanceof Map?gt:t[Symbol.iterator]?Gt:gt}s&&(s(c),delete n.onTagObj);let l={value:void 0,node:void 0};if(t&&typeof t=="object"&&i){let f=i.get(t);if(f){let m=new E.Alias(f);return n.aliasNodes.push(m),m}l.value=t,i.set(t,l)}return l.node=c.createNode?c.createNode(n.schema,t,n):a?new E.Scalar(t):t,e&&l.node instanceof E.Node&&(l.node.tag=e),l.node}function Na(t,e,n,r){let s=t[r.replace(/\W/g,"")];if(!s){let i=Object.keys(t).map(o=>JSON.stringify(o)).join(", ");throw new Error(`Unknown schema "${r}"; use one of ${i}`)}if(Array.isArray(n))for(let i of n)s=s.concat(i);else typeof n=="function"&&(s=n(s.slice()));for(let i=0;iJSON.stringify(l)).join(", ");throw new Error(`Unknown custom tag "${o}"; use one of ${c}`)}s[i]=a}}return s}var Oa=(t,e)=>t.keye.key?1:0,dt=class t{constructor({customTags:e,merge:n,schema:r,sortMapEntries:s,tags:i}){this.merge=!!n,this.name=r,this.sortMapEntries=s===!0?Oa:s||null,!e&&i&&D.warnOptionDeprecation("tags","customTags"),this.tags=Na(Ea,Sa,e||i,r)}createNode(e,n,r,s){let i={defaultPrefix:t.defaultPrefix,schema:this,wrapScalars:n},o=s?Object.assign(s,i):i;return ba(e,r,o)}createPair(e,n,r){r||(r={wrapScalars:!0});let s=this.createNode(e,r.wrapScalars,null,r),i=this.createNode(n,r.wrapScalars,null,r);return new E.Pair(s,i)}};Jt._defineProperty(dt,"defaultPrefix",Jt.defaultTagPrefix);Jt._defineProperty(dt,"defaultTags",Jt.defaultTags);ii.Schema=dt});var li=ee(en=>{"use strict";var Y=le(),S=$e(),oi=Xn(),La={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"},Aa={get binary(){return S.binaryOptions},set binary(t){Object.assign(S.binaryOptions,t)},get bool(){return S.boolOptions},set bool(t){Object.assign(S.boolOptions,t)},get int(){return S.intOptions},set int(t){Object.assign(S.intOptions,t)},get null(){return S.nullOptions},set null(t){Object.assign(S.nullOptions,t)},get str(){return S.strOptions},set str(t){Object.assign(S.strOptions,t)}},ci={"1.0":{schema:"yaml-1.1",merge:!0,tagPrefixes:[{handle:"!",prefix:Y.defaultTagPrefix},{handle:"!!",prefix:"tag:private.yaml.org,2002:"}]},1.1:{schema:"yaml-1.1",merge:!0,tagPrefixes:[{handle:"!",prefix:"!"},{handle:"!!",prefix:Y.defaultTagPrefix}]},1.2:{schema:"core",merge:!1,tagPrefixes:[{handle:"!",prefix:"!"},{handle:"!!",prefix:Y.defaultTagPrefix}]}};function ai(t,e){if((t.version||t.options.version)==="1.0"){let s=e.match(/^tag:private\.yaml\.org,2002:([^:/]+)$/);if(s)return"!"+s[1];let i=e.match(/^tag:([a-zA-Z0-9-]+)\.yaml\.org,2002:(.*)/);return i?`!${i[1]}/${i[2]}`:`!${e.replace(/^tag:/,"")}`}let n=t.tagPrefixes.find(s=>e.indexOf(s.prefix)===0);if(!n){let s=t.getDefaults().tagPrefixes;n=s&&s.find(i=>e.indexOf(i.prefix)===0)}if(!n)return e[0]==="!"?e:`!<${e}>`;let r=e.substr(n.prefix.length).replace(/[!,[\]{}]/g,s=>({"!":"%21",",":"%2C","[":"%5B","]":"%5D","{":"%7B","}":"%7D"})[s]);return n.handle+r}function Ta(t,e){if(e instanceof S.Alias)return S.Alias;if(e.tag){let s=t.filter(i=>i.tag===e.tag);if(s.length>0)return s.find(i=>i.format===e.format)||s[0]}let n,r;if(e instanceof S.Scalar){r=e.value;let s=t.filter(i=>i.identify&&i.identify(r)||i.class&&r instanceof i.class);n=s.find(i=>i.format===e.format)||s.find(i=>!i.format)}else r=e,n=t.find(s=>s.nodeClass&&r instanceof s.nodeClass);if(!n){let s=r&&r.constructor?r.constructor.name:typeof r;throw new Error(`Tag not resolved for ${s} value`)}return n}function Ca(t,e,{anchors:n,doc:r}){let s=[],i=r.anchors.getName(t);return i&&(n[i]=t,s.push(`&${i}`)),t.tag?s.push(ai(r,t.tag)):e.default||s.push(ai(r,e.tag)),s.join(" ")}function Xt(t,e,n,r){let{anchors:s,schema:i}=e.doc,o;if(!(t instanceof S.Node)){let l={aliasNodes:[],onTagObj:f=>o=f,prevObjects:new Map};t=i.createNode(t,!0,null,l);for(let f of l.aliasNodes){f.source=f.source.node;let m=s.getName(f.source);m||(m=s.newName(),s.map[m]=f.source)}}if(t instanceof S.Pair)return t.toString(e,n,r);o||(o=Ta(i.tags,t));let a=Ca(t,o,e);a.length>0&&(e.indentAtStart=(e.indentAtStart||0)+a.length+1);let c=typeof o.stringify=="function"?o.stringify(t,e,n,r):t instanceof S.Scalar?S.stringifyString(t,e,n,r):t.toString(e,n,r);return a?t instanceof S.Scalar||c[0]==="{"||c[0]==="["?`${a} ${c}`:`${a} -${e.indent}${c}`:c}var zn=class t{static validAnchorNode(e){return e instanceof S.Scalar||e instanceof S.YAMLSeq||e instanceof S.YAMLMap}constructor(e){Y._defineProperty(this,"map",Object.create(null)),this.prefix=e}createAlias(e,n){return this.setAnchor(e,n),new S.Alias(e)}createMergePair(...e){let n=new S.Merge;return n.value.items=e.map(r=>{if(r instanceof S.Alias){if(r.source instanceof S.YAMLMap)return r}else if(r instanceof S.YAMLMap)return this.createAlias(r);throw new Error("Merge sources must be Map nodes or their Aliases")}),n}getName(e){let{map:n}=this;return Object.keys(n).find(r=>n[r]===e)}getNames(){return Object.keys(this.map)}getNode(e){return this.map[e]}newName(e){e||(e=this.prefix);let n=Object.keys(this.map);for(let r=1;;++r){let s=`${e}${r}`;if(!n.includes(s))return s}}resolveNodes(){let{map:e,_cstAliases:n}=this;Object.keys(e).forEach(r=>{e[r]=e[r].resolved}),n.forEach(r=>{r.source=r.source.resolved}),delete this._cstAliases}setAnchor(e,n){if(e!=null&&!t.validAnchorNode(e))throw new Error("Anchors may only be set for Scalar, Seq and Map nodes");if(n&&/[\x00-\x19\s,[\]{}]/.test(n))throw new Error("Anchor names must not contain whitespace or control characters");let{map:r}=this,s=e&&Object.keys(r).find(i=>r[i]===e);if(s)if(n)s!==n&&(delete r[s],r[n]=e);else return s;else{if(!n){if(!e)return null;n=this.newName()}r[n]=e}return n}},zt=(t,e)=>{if(t&&typeof t=="object"){let{tag:n}=t;t instanceof S.Collection?(n&&(e[n]=!0),t.items.forEach(r=>zt(r,e))):t instanceof S.Pair?(zt(t.key,e),zt(t.value,e)):t instanceof S.Scalar&&n&&(e[n]=!0)}return e},Ma=t=>Object.keys(zt(t,{}));function ka(t,e){let n={before:[],after:[]},r,s=!1;for(let i of e)if(i.valueRange){if(r!==void 0){let a="Document contains trailing content not separated by a ... or --- line";t.errors.push(new Y.YAMLSyntaxError(i,a));break}let o=S.resolveNode(t,i);s&&(o.spaceBefore=!0,s=!1),r=o}else i.comment!==null?(r===void 0?n.before:n.after).push(i.comment):i.type===Y.Type.BLANK_LINE&&(s=!0,r===void 0&&n.before.length>0&&!t.commentBefore&&(t.commentBefore=n.before.join(` +${i.comment}`:s.comment),s=i}n.items[r]=s instanceof O.Pair?s:new O.Pair(s)}}return n}function Js(t,e,n){let r=new O.YAMLSeq(t);r.tag="tag:yaml.org,2002:pairs";for(let s of e){let i,o;if(Array.isArray(s))if(s.length===2)i=s[0],o=s[1];else throw new TypeError(`Expected [key, value] tuple: ${s}`);else if(s&&s instanceof Object){let c=Object.keys(s);if(c.length===1)i=c[0],o=s[i];else throw new TypeError(`Expected { key: value } tuple: ${s}`)}else i=s;let a=t.createPair(i,o,n);r.items.push(a)}return r}var na={default:!1,tag:"tag:yaml.org,2002:pairs",resolve:Qs,createNode:Js},Fe=class t extends O.YAMLSeq{constructor(){super(),j._defineProperty(this,"add",O.YAMLMap.prototype.add.bind(this)),j._defineProperty(this,"delete",O.YAMLMap.prototype.delete.bind(this)),j._defineProperty(this,"get",O.YAMLMap.prototype.get.bind(this)),j._defineProperty(this,"has",O.YAMLMap.prototype.has.bind(this)),j._defineProperty(this,"set",O.YAMLMap.prototype.set.bind(this)),this.tag=t.tag}toJSON(e,n){let r=new Map;n&&n.onCreate&&n.onCreate(r);for(let s of this.items){let i,o;if(s instanceof O.Pair?(i=O.toJSON(s.key,"",n),o=O.toJSON(s.value,i,n)):i=O.toJSON(s,"",n),r.has(i))throw new Error("Ordered maps must not include duplicate keys");r.set(i,o)}return r}};j._defineProperty(Fe,"tag","tag:yaml.org,2002:omap");function ra(t,e){let n=Qs(t,e),r=[];for(let{key:s}of n.items)if(s instanceof O.Scalar)if(r.includes(s.value)){let i="Ordered maps must not include duplicate keys";throw new j.YAMLSemanticError(e,i)}else r.push(s.value);return Object.assign(new Fe,n)}function sa(t,e,n){let r=Js(t,e,n),s=new Fe;return s.items=r.items,s}var ia={identify:t=>t instanceof Map,nodeClass:Fe,default:!1,tag:"tag:yaml.org,2002:omap",resolve:ra,createNode:sa},qe=class t extends O.YAMLMap{constructor(){super(),this.tag=t.tag}add(e){let n=e instanceof O.Pair?e:new O.Pair(e);O.findPair(this.items,n.key)||this.items.push(n)}get(e,n){let r=O.findPair(this.items,e);return!n&&r instanceof O.Pair?r.key instanceof O.Scalar?r.key.value:r.key:r}set(e,n){if(typeof n!="boolean")throw new Error(`Expected boolean value for set(key, value) in a YAML set, not ${typeof n}`);let r=O.findPair(this.items,e);r&&!n?this.items.splice(this.items.indexOf(r),1):!r&&n&&this.items.push(new O.Pair(e))}toJSON(e,n){return super.toJSON(e,n,Set)}toString(e,n,r){if(!e)return JSON.stringify(this);if(this.hasAllNullValues())return super.toString(e,n,r);throw new Error("Set items must all have null values")}};j._defineProperty(qe,"tag","tag:yaml.org,2002:set");function oa(t,e){let n=O.resolveMap(t,e);if(!n.hasAllNullValues())throw new j.YAMLSemanticError(e,"Set items must all have null values");return Object.assign(new qe,n)}function aa(t,e,n){let r=new qe;for(let s of e)r.items.push(t.createPair(s,null,n));return r}var ca={identify:t=>t instanceof Set,nodeClass:qe,default:!1,tag:"tag:yaml.org,2002:set",resolve:oa,createNode:aa},Kn=(t,e)=>{let n=e.split(":").reduce((r,s)=>r*60+Number(s),0);return t==="-"?-n:n},Gs=({value:t})=>{if(isNaN(t)||!isFinite(t))return O.stringifyNumber(t);let e="";t<0&&(e="-",t=Math.abs(t));let n=[t%60];return t<60?n.unshift(0):(t=Math.round((t-n[0])/60),n.unshift(t%60),t>=60&&(t=Math.round((t-n[0])/60),n.unshift(t))),e+n.map(r=>r<10?"0"+String(r):String(r)).join(":").replace(/000000\d*$/,"")},la={identify:t=>typeof t=="number",default:!0,tag:"tag:yaml.org,2002:int",format:"TIME",test:/^([-+]?)([0-9][0-9_]*(?::[0-5]?[0-9])+)$/,resolve:(t,e,n)=>Kn(e,n.replace(/_/g,"")),stringify:Gs},fa={identify:t=>typeof t=="number",default:!0,tag:"tag:yaml.org,2002:float",format:"TIME",test:/^([-+]?)([0-9][0-9_]*(?::[0-5]?[0-9])+\.[0-9_]*)$/,resolve:(t,e,n)=>Kn(e,n.replace(/_/g,"")),stringify:Gs},ua={identify:t=>t 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:(t,e,n,r,s,i,o,a,c)=>{a&&(a=(a+"00").substr(1,3));let l=Date.UTC(e,n-1,r,s||0,i||0,o||0,a||0);if(c&&c!=="Z"){let f=Kn(c[0],c.slice(1));Math.abs(f)<30&&(f*=60),l-=6e4*f}return new Date(l)},stringify:({value:t})=>t.toISOString().replace(/((T00:00)?:00)?\.000Z$/,"")};function Vn(t){let e={};return t?typeof YAML_SILENCE_DEPRECATION_WARNINGS<"u"?!YAML_SILENCE_DEPRECATION_WARNINGS:!e.YAML_SILENCE_DEPRECATION_WARNINGS:typeof YAML_SILENCE_WARNINGS<"u"?!YAML_SILENCE_WARNINGS:!e.YAML_SILENCE_WARNINGS}function Wn(t,e){Vn(!1)&&console.warn(e?`${e}: ${t}`:t)}function pa(t){if(Vn(!0)){let e=t.replace(/.*yaml[/\\]/i,"").replace(/\.js$/,"").replace(/\\/g,"/");Wn(`The endpoint 'yaml/${e}' will be removed in a future release.`,"DeprecationWarning")}}var js={};function ma(t,e){if(!js[t]&&Vn(!0)){js[t]=!0;let n=`The option '${t}' will be removed in a future release`;n+=e?`, use '${e}' instead.`:".",Wn(n,"DeprecationWarning")}}z.binary=ta;z.floatTime=fa;z.intTime=la;z.omap=ia;z.pairs=na;z.set=ca;z.timestamp=ua;z.warn=Wn;z.warnFileDeprecation=pa;z.warnOptionDeprecation=ma});var Hn=ee(ci=>{"use strict";var Gt=le(),E=$e(),D=jn();function ha(t,e,n){let r=new E.YAMLMap(t);if(e instanceof Map)for(let[s,i]of e)r.items.push(t.createPair(s,i,n));else if(e&&typeof e=="object")for(let s of Object.keys(e))r.items.push(t.createPair(s,e[s],n));return typeof t.sortMapEntries=="function"&&r.items.sort(t.sortMapEntries),r}var gt={createNode:ha,default:!0,nodeClass:E.YAMLMap,tag:"tag:yaml.org,2002:map",resolve:E.resolveMap};function ga(t,e,n){let r=new E.YAMLSeq(t);if(e&&e[Symbol.iterator])for(let s of e){let i=t.createNode(s,n.wrapScalars,null,n);r.items.push(i)}return r}var Ht={createNode:ga,default:!0,nodeClass:E.YAMLSeq,tag:"tag:yaml.org,2002:seq",resolve:E.resolveSeq},da={identify:t=>typeof t=="string",default:!0,tag:"tag:yaml.org,2002:str",resolve:E.resolveString,stringify(t,e,n,r){return e=Object.assign({actualString:!0},e),E.stringifyString(t,e,n,r)},options:E.strOptions},Jn=[gt,Ht,da],Xt=t=>typeof t=="bigint"||Number.isInteger(t),Gn=(t,e,n)=>E.intOptions.asBigInt?BigInt(t):parseInt(e,n);function zs(t,e,n){let{value:r}=t;return Xt(r)&&r>=0?n+r.toString(e):E.stringifyNumber(t)}var Zs={identify:t=>t==null,createNode:(t,e,n)=>n.wrapScalars?new E.Scalar(null):null,default:!0,tag:"tag:yaml.org,2002:null",test:/^(?:~|[Nn]ull|NULL)?$/,resolve:()=>null,options:E.nullOptions,stringify:()=>E.nullOptions.nullStr},ei={identify:t=>typeof t=="boolean",default:!0,tag:"tag:yaml.org,2002:bool",test:/^(?:[Tt]rue|TRUE|[Ff]alse|FALSE)$/,resolve:t=>t[0]==="t"||t[0]==="T",options:E.boolOptions,stringify:({value:t})=>t?E.boolOptions.trueStr:E.boolOptions.falseStr},ti={identify:t=>Xt(t)&&t>=0,default:!0,tag:"tag:yaml.org,2002:int",format:"OCT",test:/^0o([0-7]+)$/,resolve:(t,e)=>Gn(t,e,8),options:E.intOptions,stringify:t=>zs(t,8,"0o")},ni={identify:Xt,default:!0,tag:"tag:yaml.org,2002:int",test:/^[-+]?[0-9]+$/,resolve:t=>Gn(t,t,10),options:E.intOptions,stringify:E.stringifyNumber},ri={identify:t=>Xt(t)&&t>=0,default:!0,tag:"tag:yaml.org,2002:int",format:"HEX",test:/^0x([0-9a-fA-F]+)$/,resolve:(t,e)=>Gn(t,e,16),options:E.intOptions,stringify:t=>zs(t,16,"0x")},si={identify:t=>typeof t=="number",default:!0,tag:"tag:yaml.org,2002:float",test:/^(?:[-+]?\.inf|(\.nan))$/i,resolve:(t,e)=>e?NaN:t[0]==="-"?Number.NEGATIVE_INFINITY:Number.POSITIVE_INFINITY,stringify:E.stringifyNumber},ii={identify:t=>typeof t=="number",default:!0,tag:"tag:yaml.org,2002:float",format:"EXP",test:/^[-+]?(?:\.[0-9]+|[0-9]+(?:\.[0-9]*)?)[eE][-+]?[0-9]+$/,resolve:t=>parseFloat(t),stringify:({value:t})=>Number(t).toExponential()},oi={identify:t=>typeof t=="number",default:!0,tag:"tag:yaml.org,2002:float",test:/^[-+]?(?:\.([0-9]+)|[0-9]+\.([0-9]*))$/,resolve(t,e,n){let r=e||n,s=new E.Scalar(parseFloat(t));return r&&r[r.length-1]==="0"&&(s.minFractionDigits=r.length),s},stringify:E.stringifyNumber},ya=Jn.concat([Zs,ei,ti,ni,ri,si,ii,oi]),Hs=t=>typeof t=="bigint"||Number.isInteger(t),Qt=({value:t})=>JSON.stringify(t),ai=[gt,Ht,{identify:t=>typeof t=="string",default:!0,tag:"tag:yaml.org,2002:str",resolve:E.resolveString,stringify:Qt},{identify:t=>t==null,createNode:(t,e,n)=>n.wrapScalars?new E.Scalar(null):null,default:!0,tag:"tag:yaml.org,2002:null",test:/^null$/,resolve:()=>null,stringify:Qt},{identify:t=>typeof t=="boolean",default:!0,tag:"tag:yaml.org,2002:bool",test:/^true|false$/,resolve:t=>t==="true",stringify:Qt},{identify:Hs,default:!0,tag:"tag:yaml.org,2002:int",test:/^-?(?:0|[1-9][0-9]*)$/,resolve:t=>E.intOptions.asBigInt?BigInt(t):parseInt(t,10),stringify:({value:t})=>Hs(t)?t.toString():JSON.stringify(t)},{identify:t=>typeof t=="number",default:!0,tag:"tag:yaml.org,2002:float",test:/^-?(?:0|[1-9][0-9]*)(?:\.[0-9]*)?(?:[eE][-+]?[0-9]+)?$/,resolve:t=>parseFloat(t),stringify:Qt}];ai.scalarFallback=t=>{throw new SyntaxError(`Unresolved plain scalar ${JSON.stringify(t)}`)};var Xs=({value:t})=>t?E.boolOptions.trueStr:E.boolOptions.falseStr,ht=t=>typeof t=="bigint"||Number.isInteger(t);function Jt(t,e,n){let r=e.replace(/_/g,"");if(E.intOptions.asBigInt){switch(n){case 2:r=`0b${r}`;break;case 8:r=`0o${r}`;break;case 16:r=`0x${r}`;break}let i=BigInt(r);return t==="-"?BigInt(-1)*i:i}let s=parseInt(r,n);return t==="-"?-1*s:s}function Qn(t,e,n){let{value:r}=t;if(ht(r)){let s=r.toString(e);return r<0?"-"+n+s.substr(1):n+s}return E.stringifyNumber(t)}var Ea=Jn.concat([{identify:t=>t==null,createNode:(t,e,n)=>n.wrapScalars?new E.Scalar(null):null,default:!0,tag:"tag:yaml.org,2002:null",test:/^(?:~|[Nn]ull|NULL)?$/,resolve:()=>null,options:E.nullOptions,stringify:()=>E.nullOptions.nullStr},{identify:t=>typeof t=="boolean",default:!0,tag:"tag:yaml.org,2002:bool",test:/^(?:Y|y|[Yy]es|YES|[Tt]rue|TRUE|[Oo]n|ON)$/,resolve:()=>!0,options:E.boolOptions,stringify:Xs},{identify:t=>typeof t=="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:E.boolOptions,stringify:Xs},{identify:ht,default:!0,tag:"tag:yaml.org,2002:int",format:"BIN",test:/^([-+]?)0b([0-1_]+)$/,resolve:(t,e,n)=>Jt(e,n,2),stringify:t=>Qn(t,2,"0b")},{identify:ht,default:!0,tag:"tag:yaml.org,2002:int",format:"OCT",test:/^([-+]?)0([0-7_]+)$/,resolve:(t,e,n)=>Jt(e,n,8),stringify:t=>Qn(t,8,"0")},{identify:ht,default:!0,tag:"tag:yaml.org,2002:int",test:/^([-+]?)([0-9][0-9_]*)$/,resolve:(t,e,n)=>Jt(e,n,10),stringify:E.stringifyNumber},{identify:ht,default:!0,tag:"tag:yaml.org,2002:int",format:"HEX",test:/^([-+]?)0x([0-9a-fA-F_]+)$/,resolve:(t,e,n)=>Jt(e,n,16),stringify:t=>Qn(t,16,"0x")},{identify:t=>typeof t=="number",default:!0,tag:"tag:yaml.org,2002:float",test:/^(?:[-+]?\.inf|(\.nan))$/i,resolve:(t,e)=>e?NaN:t[0]==="-"?Number.NEGATIVE_INFINITY:Number.POSITIVE_INFINITY,stringify:E.stringifyNumber},{identify:t=>typeof t=="number",default:!0,tag:"tag:yaml.org,2002:float",format:"EXP",test:/^[-+]?([0-9][0-9_]*)?(\.[0-9_]*)?[eE][-+]?[0-9]+$/,resolve:t=>parseFloat(t.replace(/_/g,"")),stringify:({value:t})=>Number(t).toExponential()},{identify:t=>typeof t=="number",default:!0,tag:"tag:yaml.org,2002:float",test:/^[-+]?(?:[0-9][0-9_]*)?\.([0-9_]*)$/,resolve(t,e){let n=new E.Scalar(parseFloat(t.replace(/_/g,"")));if(e){let r=e.replace(/_/g,"");r[r.length-1]==="0"&&(n.minFractionDigits=r.length)}return n},stringify:E.stringifyNumber}],D.binary,D.omap,D.pairs,D.set,D.intTime,D.floatTime,D.timestamp),Sa={core:ya,failsafe:Jn,json:ai,yaml11:Ea},wa={binary:D.binary,bool:ei,float:oi,floatExp:ii,floatNaN:si,floatTime:D.floatTime,int:ni,intHex:ri,intOct:ti,intTime:D.intTime,map:gt,null:Zs,omap:D.omap,pairs:D.pairs,seq:Ht,set:D.set,timestamp:D.timestamp};function ba(t,e,n){if(e){let r=n.filter(i=>i.tag===e),s=r.find(i=>!i.format)||r[0];if(!s)throw new Error(`Tag ${e} not found`);return s}return n.find(r=>(r.identify&&r.identify(t)||r.class&&t instanceof r.class)&&!r.format)}function Na(t,e,n){if(t instanceof E.Node)return t;let{defaultPrefix:r,onTagObj:s,prevObjects:i,schema:o,wrapScalars:a}=n;e&&e.startsWith("!!")&&(e=r+e.slice(2));let c=ba(t,e,o.tags);if(!c){if(typeof t.toJSON=="function"&&(t=t.toJSON()),!t||typeof t!="object")return a?new E.Scalar(t):t;c=t instanceof Map?gt:t[Symbol.iterator]?Ht:gt}s&&(s(c),delete n.onTagObj);let l={value:void 0,node:void 0};if(t&&typeof t=="object"&&i){let f=i.get(t);if(f){let m=new E.Alias(f);return n.aliasNodes.push(m),m}l.value=t,i.set(t,l)}return l.node=c.createNode?c.createNode(n.schema,t,n):a?new E.Scalar(t):t,e&&l.node instanceof E.Node&&(l.node.tag=e),l.node}function Oa(t,e,n,r){let s=t[r.replace(/\W/g,"")];if(!s){let i=Object.keys(t).map(o=>JSON.stringify(o)).join(", ");throw new Error(`Unknown schema "${r}"; use one of ${i}`)}if(Array.isArray(n))for(let i of n)s=s.concat(i);else typeof n=="function"&&(s=n(s.slice()));for(let i=0;iJSON.stringify(l)).join(", ");throw new Error(`Unknown custom tag "${o}"; use one of ${c}`)}s[i]=a}}return s}var La=(t,e)=>t.keye.key?1:0,dt=class t{constructor({customTags:e,merge:n,schema:r,sortMapEntries:s,tags:i}){this.merge=!!n,this.name=r,this.sortMapEntries=s===!0?La:s||null,!e&&i&&D.warnOptionDeprecation("tags","customTags"),this.tags=Oa(Sa,wa,e||i,r)}createNode(e,n,r,s){let i={defaultPrefix:t.defaultPrefix,schema:this,wrapScalars:n},o=s?Object.assign(s,i):i;return Na(e,r,o)}createPair(e,n,r){r||(r={wrapScalars:!0});let s=this.createNode(e,r.wrapScalars,null,r),i=this.createNode(n,r.wrapScalars,null,r);return new E.Pair(s,i)}};Gt._defineProperty(dt,"defaultPrefix",Gt.defaultTagPrefix);Gt._defineProperty(dt,"defaultTags",Gt.defaultTags);ci.Schema=dt});var pi=ee(tn=>{"use strict";var Y=le(),S=$e(),li=Hn(),Aa={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"},Ta={get binary(){return S.binaryOptions},set binary(t){Object.assign(S.binaryOptions,t)},get bool(){return S.boolOptions},set bool(t){Object.assign(S.boolOptions,t)},get int(){return S.intOptions},set int(t){Object.assign(S.intOptions,t)},get null(){return S.nullOptions},set null(t){Object.assign(S.nullOptions,t)},get str(){return S.strOptions},set str(t){Object.assign(S.strOptions,t)}},ui={"1.0":{schema:"yaml-1.1",merge:!0,tagPrefixes:[{handle:"!",prefix:Y.defaultTagPrefix},{handle:"!!",prefix:"tag:private.yaml.org,2002:"}]},1.1:{schema:"yaml-1.1",merge:!0,tagPrefixes:[{handle:"!",prefix:"!"},{handle:"!!",prefix:Y.defaultTagPrefix}]},1.2:{schema:"core",merge:!1,tagPrefixes:[{handle:"!",prefix:"!"},{handle:"!!",prefix:Y.defaultTagPrefix}]}};function fi(t,e){if((t.version||t.options.version)==="1.0"){let s=e.match(/^tag:private\.yaml\.org,2002:([^:/]+)$/);if(s)return"!"+s[1];let i=e.match(/^tag:([a-zA-Z0-9-]+)\.yaml\.org,2002:(.*)/);return i?`!${i[1]}/${i[2]}`:`!${e.replace(/^tag:/,"")}`}let n=t.tagPrefixes.find(s=>e.indexOf(s.prefix)===0);if(!n){let s=t.getDefaults().tagPrefixes;n=s&&s.find(i=>e.indexOf(i.prefix)===0)}if(!n)return e[0]==="!"?e:`!<${e}>`;let r=e.substr(n.prefix.length).replace(/[!,[\]{}]/g,s=>({"!":"%21",",":"%2C","[":"%5B","]":"%5D","{":"%7B","}":"%7D"})[s]);return n.handle+r}function Ca(t,e){if(e instanceof S.Alias)return S.Alias;if(e.tag){let s=t.filter(i=>i.tag===e.tag);if(s.length>0)return s.find(i=>i.format===e.format)||s[0]}let n,r;if(e instanceof S.Scalar){r=e.value;let s=t.filter(i=>i.identify&&i.identify(r)||i.class&&r instanceof i.class);n=s.find(i=>i.format===e.format)||s.find(i=>!i.format)}else r=e,n=t.find(s=>s.nodeClass&&r instanceof s.nodeClass);if(!n){let s=r&&r.constructor?r.constructor.name:typeof r;throw new Error(`Tag not resolved for ${s} value`)}return n}function Ma(t,e,{anchors:n,doc:r}){let s=[],i=r.anchors.getName(t);return i&&(n[i]=t,s.push(`&${i}`)),t.tag?s.push(fi(r,t.tag)):e.default||s.push(fi(r,e.tag)),s.join(" ")}function zt(t,e,n,r){let{anchors:s,schema:i}=e.doc,o;if(!(t instanceof S.Node)){let l={aliasNodes:[],onTagObj:f=>o=f,prevObjects:new Map};t=i.createNode(t,!0,null,l);for(let f of l.aliasNodes){f.source=f.source.node;let m=s.getName(f.source);m||(m=s.newName(),s.map[m]=f.source)}}if(t instanceof S.Pair)return t.toString(e,n,r);o||(o=Ca(i.tags,t));let a=Ma(t,o,e);a.length>0&&(e.indentAtStart=(e.indentAtStart||0)+a.length+1);let c=typeof o.stringify=="function"?o.stringify(t,e,n,r):t instanceof S.Scalar?S.stringifyString(t,e,n,r):t.toString(e,n,r);return a?t instanceof S.Scalar||c[0]==="{"||c[0]==="["?`${a} ${c}`:`${a} +${e.indent}${c}`:c}var Xn=class t{static validAnchorNode(e){return e instanceof S.Scalar||e instanceof S.YAMLSeq||e instanceof S.YAMLMap}constructor(e){Y._defineProperty(this,"map",Object.create(null)),this.prefix=e}createAlias(e,n){return this.setAnchor(e,n),new S.Alias(e)}createMergePair(...e){let n=new S.Merge;return n.value.items=e.map(r=>{if(r instanceof S.Alias){if(r.source instanceof S.YAMLMap)return r}else if(r instanceof S.YAMLMap)return this.createAlias(r);throw new Error("Merge sources must be Map nodes or their Aliases")}),n}getName(e){let{map:n}=this;return Object.keys(n).find(r=>n[r]===e)}getNames(){return Object.keys(this.map)}getNode(e){return this.map[e]}newName(e){e||(e=this.prefix);let n=Object.keys(this.map);for(let r=1;;++r){let s=`${e}${r}`;if(!n.includes(s))return s}}resolveNodes(){let{map:e,_cstAliases:n}=this;Object.keys(e).forEach(r=>{e[r]=e[r].resolved}),n.forEach(r=>{r.source=r.source.resolved}),delete this._cstAliases}setAnchor(e,n){if(e!=null&&!t.validAnchorNode(e))throw new Error("Anchors may only be set for Scalar, Seq and Map nodes");if(n&&/[\x00-\x19\s,[\]{}]/.test(n))throw new Error("Anchor names must not contain whitespace or control characters");let{map:r}=this,s=e&&Object.keys(r).find(i=>r[i]===e);if(s)if(n)s!==n&&(delete r[s],r[n]=e);else return s;else{if(!n){if(!e)return null;n=this.newName()}r[n]=e}return n}},Zt=(t,e)=>{if(t&&typeof t=="object"){let{tag:n}=t;t instanceof S.Collection?(n&&(e[n]=!0),t.items.forEach(r=>Zt(r,e))):t instanceof S.Pair?(Zt(t.key,e),Zt(t.value,e)):t instanceof S.Scalar&&n&&(e[n]=!0)}return e},ka=t=>Object.keys(Zt(t,{}));function va(t,e){let n={before:[],after:[]},r,s=!1;for(let i of e)if(i.valueRange){if(r!==void 0){let a="Document contains trailing content not separated by a ... or --- line";t.errors.push(new Y.YAMLSyntaxError(i,a));break}let o=S.resolveNode(t,i);s&&(o.spaceBefore=!0,s=!1),r=o}else i.comment!==null?(r===void 0?n.before:n.after).push(i.comment):i.type===Y.Type.BLANK_LINE&&(s=!0,r===void 0&&n.before.length>0&&!t.commentBefore&&(t.commentBefore=n.before.join(` `),n.before=[]));if(t.contents=r||null,!r)t.comment=n.before.concat(n.after).join(` `)||null;else{let i=n.before.join(` `);if(i){let o=r instanceof S.Collection&&r.items[0]?r.items[0]:r;o.commentBefore=o.commentBefore?`${i} ${o.commentBefore}`:i}t.comment=n.after.join(` -`)||null}}function va({tagPrefixes:t},e){let[n,r]=e.parameters;if(!n||!r){let s="Insufficient parameters given for %TAG directive";throw new Y.YAMLSemanticError(e,s)}if(t.some(s=>s.handle===n)){let s="The %TAG directive must only be given at most once per handle in the same document.";throw new Y.YAMLSemanticError(e,s)}return{handle:n,prefix:r}}function Ia(t,e){let[n]=e.parameters;if(e.name==="YAML:1.0"&&(n="1.0"),!n){let r="Insufficient parameters given for %YAML directive";throw new Y.YAMLSemanticError(e,r)}if(!ci[n]){let s=`Document will be parsed as YAML ${t.version||t.options.version} rather than YAML ${n}`;t.warnings.push(new Y.YAMLWarning(e,s))}return n}function Pa(t,e,n){let r=[],s=!1;for(let i of e){let{comment:o,name:a}=i;switch(a){case"TAG":try{t.tagPrefixes.push(va(t,i))}catch(c){t.errors.push(c)}s=!0;break;case"YAML":case"YAML:1.0":if(t.version){let c="The %YAML directive must only be given at most once per document.";t.errors.push(new Y.YAMLSemanticError(i,c))}try{t.version=Ia(t,i)}catch(c){t.errors.push(c)}s=!0;break;default:if(a){let c=`YAML only supports %TAG and %YAML directives, and not %${a}`;t.warnings.push(new Y.YAMLWarning(i,c))}}o&&r.push(o)}if(n&&!s&&(t.version||n.version||t.options.version)==="1.1"){let i=({handle:o,prefix:a})=>({handle:o,prefix:a});t.tagPrefixes=n.tagPrefixes.map(i),t.version=n.version}t.commentBefore=r.join(` -`)||null}function Ue(t){if(t instanceof S.Collection)return!0;throw new Error("Expected a YAML collection as document contents")}var Zt=class t{constructor(e){this.anchors=new zn(e.anchorPrefix),this.commentBefore=null,this.comment=null,this.contents=null,this.directivesEndMarker=null,this.errors=[],this.options=e,this.schema=null,this.tagPrefixes=[],this.version=null,this.warnings=[]}add(e){return Ue(this.contents),this.contents.add(e)}addIn(e,n){Ue(this.contents),this.contents.addIn(e,n)}delete(e){return Ue(this.contents),this.contents.delete(e)}deleteIn(e){return S.isEmptyPath(e)?this.contents==null?!1:(this.contents=null,!0):(Ue(this.contents),this.contents.deleteIn(e))}getDefaults(){return t.defaults[this.version]||t.defaults[this.options.version]||{}}get(e,n){return this.contents instanceof S.Collection?this.contents.get(e,n):void 0}getIn(e,n){return S.isEmptyPath(e)?!n&&this.contents instanceof S.Scalar?this.contents.value:this.contents:this.contents instanceof S.Collection?this.contents.getIn(e,n):void 0}has(e){return this.contents instanceof S.Collection?this.contents.has(e):!1}hasIn(e){return S.isEmptyPath(e)?this.contents!==void 0:this.contents instanceof S.Collection?this.contents.hasIn(e):!1}set(e,n){Ue(this.contents),this.contents.set(e,n)}setIn(e,n){S.isEmptyPath(e)?this.contents=n:(Ue(this.contents),this.contents.setIn(e,n))}setSchema(e,n){if(!e&&!n&&this.schema)return;typeof e=="number"&&(e=e.toFixed(1)),e==="1.0"||e==="1.1"||e==="1.2"?(this.version?this.version=e:this.options.version=e,delete this.options.schema):e&&typeof e=="string"&&(this.options.schema=e),Array.isArray(n)&&(this.options.customTags=n);let r=Object.assign({},this.getDefaults(),this.options);this.schema=new oi.Schema(r)}parse(e,n){this.options.keepCstNodes&&(this.cstNode=e),this.options.keepNodeTypes&&(this.type="DOCUMENT");let{directives:r=[],contents:s=[],directivesEndMarker:i,error:o,valueRange:a}=e;if(o&&(o.source||(o.source=this),this.errors.push(o)),Pa(this,r,n),i&&(this.directivesEndMarker=!0),this.range=a?[a.start,a.end]:null,this.setSchema(),this.anchors._cstAliases=[],ka(this,s),this.anchors.resolveNodes(),this.options.prettyErrors){for(let c of this.errors)c instanceof Y.YAMLError&&c.makePretty();for(let c of this.warnings)c instanceof Y.YAMLError&&c.makePretty()}return this}listNonDefaultTags(){return Ma(this.contents).filter(e=>e.indexOf(oi.Schema.defaultPrefix)!==0)}setTagPrefix(e,n){if(e[0]!=="!"||e[e.length-1]!=="!")throw new Error("Handle must start and end with !");if(n){let r=this.tagPrefixes.find(s=>s.handle===e);r?r.prefix=n:this.tagPrefixes.push({handle:e,prefix:n})}else this.tagPrefixes=this.tagPrefixes.filter(r=>r.handle!==e)}toJSON(e,n){let{keepBlobsInJSON:r,mapAsMap:s,maxAliasCount:i}=this.options,o=r&&(typeof e!="string"||!(this.contents instanceof S.Scalar)),a={doc:this,indentStep:" ",keep:o,mapAsMap:o&&!!s,maxAliasCount:i,stringify:Xt},c=Object.keys(this.anchors.map);c.length>0&&(a.anchors=new Map(c.map(f=>[this.anchors.map[f],{alias:[],aliasCount:0,count:1}])));let l=S.toJSON(this.contents,e,a);if(typeof n=="function"&&a.anchors)for(let{count:f,res:m}of a.anchors.values())n(m,f);return l}toString(){if(this.errors.length>0)throw new Error("Document with errors cannot be stringified");let e=this.options.indent;if(!Number.isInteger(e)||e<=0){let c=JSON.stringify(e);throw new Error(`"indent" option must be a positive integer, not ${c}`)}this.setSchema();let n=[],r=!1;if(this.version){let c="%YAML 1.2";this.schema.name==="yaml-1.1"&&(this.version==="1.0"?c="%YAML:1.0":this.version==="1.1"&&(c="%YAML 1.1")),n.push(c),r=!0}let s=this.listNonDefaultTags();this.tagPrefixes.forEach(({handle:c,prefix:l})=>{s.some(f=>f.indexOf(l)===0)&&(n.push(`%TAG ${c} ${l}`),r=!0)}),(r||this.directivesEndMarker)&&n.push("---"),this.commentBefore&&((r||!this.directivesEndMarker)&&n.unshift(""),n.unshift(this.commentBefore.replace(/^/gm,"#")));let i={anchors:Object.create(null),doc:this,indent:"",indentStep:" ".repeat(e),stringify:Xt},o=!1,a=null;if(this.contents){this.contents instanceof S.Node&&(this.contents.spaceBefore&&(r||this.directivesEndMarker)&&n.push(""),this.contents.commentBefore&&n.push(this.contents.commentBefore.replace(/^/gm,"#")),i.forceBlockIndent=!!this.comment,a=this.contents.comment);let c=a?null:()=>o=!0,l=Xt(this.contents,i,()=>a=null,c);n.push(S.addComment(l,"",a))}else this.contents!==void 0&&n.push(Xt(this.contents,i));return this.comment&&((!o||a)&&n[n.length-1]!==""&&n.push(""),n.push(this.comment.replace(/^/gm,"#"))),n.join(` +`)||null}}function Ia({tagPrefixes:t},e){let[n,r]=e.parameters;if(!n||!r){let s="Insufficient parameters given for %TAG directive";throw new Y.YAMLSemanticError(e,s)}if(t.some(s=>s.handle===n)){let s="The %TAG directive must only be given at most once per handle in the same document.";throw new Y.YAMLSemanticError(e,s)}return{handle:n,prefix:r}}function Pa(t,e){let[n]=e.parameters;if(e.name==="YAML:1.0"&&(n="1.0"),!n){let r="Insufficient parameters given for %YAML directive";throw new Y.YAMLSemanticError(e,r)}if(!ui[n]){let s=`Document will be parsed as YAML ${t.version||t.options.version} rather than YAML ${n}`;t.warnings.push(new Y.YAMLWarning(e,s))}return n}function _a(t,e,n){let r=[],s=!1;for(let i of e){let{comment:o,name:a}=i;switch(a){case"TAG":try{t.tagPrefixes.push(Ia(t,i))}catch(c){t.errors.push(c)}s=!0;break;case"YAML":case"YAML:1.0":if(t.version){let c="The %YAML directive must only be given at most once per document.";t.errors.push(new Y.YAMLSemanticError(i,c))}try{t.version=Pa(t,i)}catch(c){t.errors.push(c)}s=!0;break;default:if(a){let c=`YAML only supports %TAG and %YAML directives, and not %${a}`;t.warnings.push(new Y.YAMLWarning(i,c))}}o&&r.push(o)}if(n&&!s&&(t.version||n.version||t.options.version)==="1.1"){let i=({handle:o,prefix:a})=>({handle:o,prefix:a});t.tagPrefixes=n.tagPrefixes.map(i),t.version=n.version}t.commentBefore=r.join(` +`)||null}function Ue(t){if(t instanceof S.Collection)return!0;throw new Error("Expected a YAML collection as document contents")}var en=class t{constructor(e){this.anchors=new Xn(e.anchorPrefix),this.commentBefore=null,this.comment=null,this.contents=null,this.directivesEndMarker=null,this.errors=[],this.options=e,this.schema=null,this.tagPrefixes=[],this.version=null,this.warnings=[]}add(e){return Ue(this.contents),this.contents.add(e)}addIn(e,n){Ue(this.contents),this.contents.addIn(e,n)}delete(e){return Ue(this.contents),this.contents.delete(e)}deleteIn(e){return S.isEmptyPath(e)?this.contents==null?!1:(this.contents=null,!0):(Ue(this.contents),this.contents.deleteIn(e))}getDefaults(){return t.defaults[this.version]||t.defaults[this.options.version]||{}}get(e,n){return this.contents instanceof S.Collection?this.contents.get(e,n):void 0}getIn(e,n){return S.isEmptyPath(e)?!n&&this.contents instanceof S.Scalar?this.contents.value:this.contents:this.contents instanceof S.Collection?this.contents.getIn(e,n):void 0}has(e){return this.contents instanceof S.Collection?this.contents.has(e):!1}hasIn(e){return S.isEmptyPath(e)?this.contents!==void 0:this.contents instanceof S.Collection?this.contents.hasIn(e):!1}set(e,n){Ue(this.contents),this.contents.set(e,n)}setIn(e,n){S.isEmptyPath(e)?this.contents=n:(Ue(this.contents),this.contents.setIn(e,n))}setSchema(e,n){if(!e&&!n&&this.schema)return;typeof e=="number"&&(e=e.toFixed(1)),e==="1.0"||e==="1.1"||e==="1.2"?(this.version?this.version=e:this.options.version=e,delete this.options.schema):e&&typeof e=="string"&&(this.options.schema=e),Array.isArray(n)&&(this.options.customTags=n);let r=Object.assign({},this.getDefaults(),this.options);this.schema=new li.Schema(r)}parse(e,n){this.options.keepCstNodes&&(this.cstNode=e),this.options.keepNodeTypes&&(this.type="DOCUMENT");let{directives:r=[],contents:s=[],directivesEndMarker:i,error:o,valueRange:a}=e;if(o&&(o.source||(o.source=this),this.errors.push(o)),_a(this,r,n),i&&(this.directivesEndMarker=!0),this.range=a?[a.start,a.end]:null,this.setSchema(),this.anchors._cstAliases=[],va(this,s),this.anchors.resolveNodes(),this.options.prettyErrors){for(let c of this.errors)c instanceof Y.YAMLError&&c.makePretty();for(let c of this.warnings)c instanceof Y.YAMLError&&c.makePretty()}return this}listNonDefaultTags(){return ka(this.contents).filter(e=>e.indexOf(li.Schema.defaultPrefix)!==0)}setTagPrefix(e,n){if(e[0]!=="!"||e[e.length-1]!=="!")throw new Error("Handle must start and end with !");if(n){let r=this.tagPrefixes.find(s=>s.handle===e);r?r.prefix=n:this.tagPrefixes.push({handle:e,prefix:n})}else this.tagPrefixes=this.tagPrefixes.filter(r=>r.handle!==e)}toJSON(e,n){let{keepBlobsInJSON:r,mapAsMap:s,maxAliasCount:i}=this.options,o=r&&(typeof e!="string"||!(this.contents instanceof S.Scalar)),a={doc:this,indentStep:" ",keep:o,mapAsMap:o&&!!s,maxAliasCount:i,stringify:zt},c=Object.keys(this.anchors.map);c.length>0&&(a.anchors=new Map(c.map(f=>[this.anchors.map[f],{alias:[],aliasCount:0,count:1}])));let l=S.toJSON(this.contents,e,a);if(typeof n=="function"&&a.anchors)for(let{count:f,res:m}of a.anchors.values())n(m,f);return l}toString(){if(this.errors.length>0)throw new Error("Document with errors cannot be stringified");let e=this.options.indent;if(!Number.isInteger(e)||e<=0){let c=JSON.stringify(e);throw new Error(`"indent" option must be a positive integer, not ${c}`)}this.setSchema();let n=[],r=!1;if(this.version){let c="%YAML 1.2";this.schema.name==="yaml-1.1"&&(this.version==="1.0"?c="%YAML:1.0":this.version==="1.1"&&(c="%YAML 1.1")),n.push(c),r=!0}let s=this.listNonDefaultTags();this.tagPrefixes.forEach(({handle:c,prefix:l})=>{s.some(f=>f.indexOf(l)===0)&&(n.push(`%TAG ${c} ${l}`),r=!0)}),(r||this.directivesEndMarker)&&n.push("---"),this.commentBefore&&((r||!this.directivesEndMarker)&&n.unshift(""),n.unshift(this.commentBefore.replace(/^/gm,"#")));let i={anchors:Object.create(null),doc:this,indent:"",indentStep:" ".repeat(e),stringify:zt},o=!1,a=null;if(this.contents){this.contents instanceof S.Node&&(this.contents.spaceBefore&&(r||this.directivesEndMarker)&&n.push(""),this.contents.commentBefore&&n.push(this.contents.commentBefore.replace(/^/gm,"#")),i.forceBlockIndent=!!this.comment,a=this.contents.comment);let c=a?null:()=>o=!0,l=zt(this.contents,i,()=>a=null,c);n.push(S.addComment(l,"",a))}else this.contents!==void 0&&n.push(zt(this.contents,i));return this.comment&&((!o||a)&&n[n.length-1]!==""&&n.push(""),n.push(this.comment.replace(/^/gm,"#"))),n.join(` `)+` -`}};Y._defineProperty(Zt,"defaults",ci);en.Document=Zt;en.defaultOptions=La;en.scalarOptions=Aa});var pi=ee(ui=>{"use strict";var Zn=Is(),Ne=li(),_a=Xn(),xa=le(),Ra=Qn();$e();function Da(t,e=!0,n){n===void 0&&typeof e=="string"&&(n=e,e=!0);let r=Object.assign({},Ne.Document.defaults[Ne.defaultOptions.version],Ne.defaultOptions);return new _a.Schema(r).createNode(t,e,n)}var Ke=class extends Ne.Document{constructor(e){super(Object.assign({},Ne.defaultOptions,e))}};function Ya(t,e){let n=[],r;for(let s of Zn.parse(t)){let i=new Ke(e);i.parse(s,r),n.push(i),r=i}return n}function fi(t,e){let n=Zn.parse(t),r=new Ke(e).parse(n[0]);if(n.length>1){let s="Source contains multiple documents; please use YAML.parseAllDocuments()";r.errors.unshift(new xa.YAMLSemanticError(n[1],s))}return r}function Ba(t,e){let n=fi(t,e);if(n.warnings.forEach(r=>Ra.warn(r)),n.errors.length>0)throw n.errors[0];return n.toJSON()}function $a(t,e){let n=new Ke(e);return n.contents=t,String(n)}var Fa={createNode:Da,defaultOptions:Ne.defaultOptions,Document:Ke,parse:Ba,parseAllDocuments:Ya,parseCST:Zn.parse,parseDocument:fi,scalarOptions:Ne.scalarOptions,stringify:$a};ui.YAML=Fa});var hi=ee((Im,mi)=>{mi.exports=pi().YAML});var gi=ee(Q=>{"use strict";var Ve=$e(),We=le();Q.findPair=Ve.findPair;Q.parseMap=Ve.resolveMap;Q.parseSeq=Ve.resolveSeq;Q.stringifyNumber=Ve.stringifyNumber;Q.stringifyString=Ve.stringifyString;Q.toJSON=Ve.toJSON;Q.Type=We.Type;Q.YAMLError=We.YAMLError;Q.YAMLReferenceError=We.YAMLReferenceError;Q.YAMLSemanticError=We.YAMLSemanticError;Q.YAMLSyntaxError=We.YAMLSyntaxError;Q.YAMLWarning=We.YAMLWarning});var tr={};nr(tr,{languages:()=>bi,options:()=>Ni,parsers:()=>tn,printers:()=>Ja});var vi=(t,e,n,r)=>{if(!(t&&e==null))return e.replaceAll?e.replaceAll(n,r):n.global?e.replace(n,r):e.split(n).join(r)},yt=vi;var je="string",Qe="array",Je="cursor",Ge="indent",Oe="align",He="trim",Le="group",Ae="fill",Te="if-break",Xe="indent-if-break",Ce="line-suffix",ze="line-suffix-boundary",te="line",Ze="label",Me="break-parent",Et=new Set([Je,Ge,Oe,He,Le,Ae,Te,Xe,Ce,ze,te,Ze,Me]);function Ii(t){if(typeof t=="string")return je;if(Array.isArray(t))return Qe;if(!t)return;let{type:e}=t;if(Et.has(e))return e}var et=Ii;var Pi=t=>new Intl.ListFormat("en-US",{type:"disjunction"}).format(t);function _i(t){let e=t===null?"null":typeof t;if(e!=="string"&&e!=="object")return`Unexpected doc '${e}', -Expected it to be 'string' or 'object'.`;if(et(t))throw new Error("doc is valid.");let n=Object.prototype.toString.call(t);if(n!=="[object Object]")return`Unexpected doc '${n}'.`;let r=Pi([...Et].map(s=>`'${s}'`));return`Unexpected doc.type '${t.type}'. -Expected it to be ${r}.`}var sn=class extends Error{name="InvalidDocError";constructor(e){super(_i(e)),this.doc=e}},on=sn;var sr=()=>{},he=sr,St=sr;function tt(t,e){return he(e),{type:Oe,contents:e,n:t}}function ke(t,e={}){return he(t),St(e.expandedStates,!0),{type:Le,id:e.id,contents:t,break:!!e.shouldBreak,expandedStates:e.expandedStates}}function an(t){return tt(Number.NEGATIVE_INFINITY,t)}function ir(t){return tt({type:"root"},t)}function or(t){return tt(-1,t)}function cn(t,e){return ke(t[0],{...e,expandedStates:t})}function wt(t){return St(t),{type:Ae,parts:t}}function nt(t,e="",n={}){return he(t),e!==""&&he(e),{type:Te,breakContents:t,flatContents:e,groupId:n.groupId}}function ar(t){return he(t),{type:Ce,contents:t}}var bt={type:Me};var xi={type:te,hard:!0},Ri={type:te,hard:!0,literal:!0},ne={type:te},Nt={type:te,soft:!0},N=[xi,bt],rt=[Ri,bt];function v(t,e){he(t),St(e);let n=[];for(let r=0;r{if(!(t&&e==null))return Array.isArray(e)||typeof e=="string"?e[n<0?e.length+n:n]:e.at(n)},x=Di;function Yi(t,e){if(typeof t=="string")return e(t);let n=new Map;return r(t);function r(i){if(n.has(i))return n.get(i);let o=s(i);return n.set(i,o),o}function s(i){switch(et(i)){case Qe:return e(i.map(r));case Ae:return e({...i,parts:i.parts.map(r)});case Te:return e({...i,breakContents:r(i.breakContents),flatContents:r(i.flatContents)});case Le:{let{expandedStates:o,contents:a}=i;return o?(o=o.map(r),a=o[0]):a=r(a),e({...i,contents:a,expandedStates:o})}case Oe:case Ge:case Xe:case Ze:case Ce:return e({...i,contents:r(i.contents)});case je:case Je:case He:case ze:case te:case Me:return e(i);default:throw new on(i)}}}function cr(t,e=rt){return Yi(t,n=>typeof n=="string"?v(e,n.split(` -`)):n)}function Bi(t,e,n){let r=!!(n!=null&&n.backwards);if(e===!1)return!1;let s=t.charAt(e);if(r){if(t.charAt(e-1)==="\r"&&s===` +`}};Y._defineProperty(en,"defaults",ui);tn.Document=en;tn.defaultOptions=Aa;tn.scalarOptions=Ta});var gi=ee(hi=>{"use strict";var zn=xs(),Ne=pi(),xa=Hn(),Ra=le(),Da=jn();$e();function Ya(t,e=!0,n){n===void 0&&typeof e=="string"&&(n=e,e=!0);let r=Object.assign({},Ne.Document.defaults[Ne.defaultOptions.version],Ne.defaultOptions);return new xa.Schema(r).createNode(t,e,n)}var Ke=class extends Ne.Document{constructor(e){super(Object.assign({},Ne.defaultOptions,e))}};function Ba(t,e){let n=[],r;for(let s of zn.parse(t)){let i=new Ke(e);i.parse(s,r),n.push(i),r=i}return n}function mi(t,e){let n=zn.parse(t),r=new Ke(e).parse(n[0]);if(n.length>1){let s="Source contains multiple documents; please use YAML.parseAllDocuments()";r.errors.unshift(new Ra.YAMLSemanticError(n[1],s))}return r}function $a(t,e){let n=mi(t,e);if(n.warnings.forEach(r=>Da.warn(r)),n.errors.length>0)throw n.errors[0];return n.toJSON()}function Fa(t,e){let n=new Ke(e);return n.contents=t,String(n)}var qa={createNode:Ya,defaultOptions:Ne.defaultOptions,Document:Ke,parse:$a,parseAllDocuments:Ba,parseCST:zn.parse,parseDocument:mi,scalarOptions:Ne.scalarOptions,stringify:Fa};hi.YAML=qa});var yi=ee((Rm,di)=>{di.exports=gi().YAML});var Ei=ee(Q=>{"use strict";var Ve=$e(),We=le();Q.findPair=Ve.findPair;Q.parseMap=Ve.resolveMap;Q.parseSeq=Ve.resolveSeq;Q.stringifyNumber=Ve.stringifyNumber;Q.stringifyString=Ve.stringifyString;Q.toJSON=Ve.toJSON;Q.Type=We.Type;Q.YAMLError=We.YAMLError;Q.YAMLReferenceError=We.YAMLReferenceError;Q.YAMLSemanticError=We.YAMLSemanticError;Q.YAMLSyntaxError=We.YAMLSyntaxError;Q.YAMLWarning=We.YAMLWarning});var tr={};nr(tr,{languages:()=>Pr,options:()=>_r,parsers:()=>er,printers:()=>Ja});var Ii=(t,e,n,r)=>{if(!(t&&e==null))return e.replaceAll?e.replaceAll(n,r):n.global?e.replace(n,r):e.split(n).join(r)},yt=Ii;var je="string",Qe="array",Je="cursor",Ge="indent",Oe="align",He="trim",Le="group",Ae="fill",Te="if-break",Xe="indent-if-break",Ce="line-suffix",ze="line-suffix-boundary",te="line",Ze="label",Me="break-parent",Et=new Set([Je,Ge,Oe,He,Le,Ae,Te,Xe,Ce,ze,te,Ze,Me]);function Pi(t){if(typeof t=="string")return je;if(Array.isArray(t))return Qe;if(!t)return;let{type:e}=t;if(Et.has(e))return e}var et=Pi;var _i=t=>new Intl.ListFormat("en-US",{type:"disjunction"}).format(t);function xi(t){let e=t===null?"null":typeof t;if(e!=="string"&&e!=="object")return`Unexpected doc '${e}', +Expected it to be 'string' or 'object'.`;if(et(t))throw new Error("doc is valid.");let n=Object.prototype.toString.call(t);if(n!=="[object Object]")return`Unexpected doc '${n}'.`;let r=_i([...Et].map(s=>`'${s}'`));return`Unexpected doc.type '${t.type}'. +Expected it to be ${r}.`}var rn=class extends Error{name="InvalidDocError";constructor(e){super(xi(e)),this.doc=e}},sn=rn;var sr=()=>{},he=sr,St=sr;function tt(t,e){return he(e),{type:Oe,contents:e,n:t}}function ke(t,e={}){return he(t),St(e.expandedStates,!0),{type:Le,id:e.id,contents:t,break:!!e.shouldBreak,expandedStates:e.expandedStates}}function on(t){return tt(Number.NEGATIVE_INFINITY,t)}function ir(t){return tt({type:"root"},t)}function or(t){return tt(-1,t)}function an(t,e){return ke(t[0],{...e,expandedStates:t})}function wt(t){return St(t),{type:Ae,parts:t}}function nt(t,e="",n={}){return he(t),e!==""&&he(e),{type:Te,breakContents:t,flatContents:e,groupId:n.groupId}}function ar(t){return he(t),{type:Ce,contents:t}}var bt={type:Me};var Ri={type:te,hard:!0},Di={type:te,hard:!0,literal:!0},ne={type:te},Nt={type:te,soft:!0},N=[Ri,bt],rt=[Di,bt];function v(t,e){he(t),St(e);let n=[];for(let r=0;r{if(!(t&&e==null))return Array.isArray(e)||typeof e=="string"?e[n<0?e.length+n:n]:e.at(n)},x=Yi;function Bi(t,e){if(typeof t=="string")return e(t);let n=new Map;return r(t);function r(i){if(n.has(i))return n.get(i);let o=s(i);return n.set(i,o),o}function s(i){switch(et(i)){case Qe:return e(i.map(r));case Ae:return e({...i,parts:i.parts.map(r)});case Te:return e({...i,breakContents:r(i.breakContents),flatContents:r(i.flatContents)});case Le:{let{expandedStates:o,contents:a}=i;return o?(o=o.map(r),a=o[0]):a=r(a),e({...i,contents:a,expandedStates:o})}case Oe:case Ge:case Xe:case Ze:case Ce:return e({...i,contents:r(i.contents)});case je:case Je:case He:case ze:case te:case Me:return e(i);default:throw new sn(i)}}}function cr(t,e=rt){return Bi(t,n=>typeof n=="string"?v(e,n.split(` +`)):n)}function Ot(t){return(e,n,r)=>{let s=!!(r!=null&&r.backwards);if(n===!1)return!1;let{length:i}=e,o=n;for(;o>=0&&o{let s=!!(r!=null&&r.backwards);if(n===!1)return!1;let{length:i}=e,o=n;for(;o>=0&&o{let s=await r(e.originalText,{parser:"json"});return s?[s,N]:void 0}}ur.getVisitorKeys=()=>[];var pr=ur;var st=null;function it(t){if(st!==null&&typeof st.property){let e=st;return st=it.prototype=null,e}return st=it.prototype=t??Object.create(null),new it}var qi=10;for(let t=0;t<=qi;t++)it();function un(t){return it(t)}function Ui(t,e="type"){un(t);function n(r){let s=r[e],i=t[s];if(!Array.isArray(i))throw Object.assign(new Error(`Missing visitor keys for '${s}'.`),{node:r});return i}return n}var mr=Ui;var Ki=Object.fromEntries(Object.entries({root:["children"],document:["head","body","children"],documentHead:["children"],documentBody:["children"],directive:[],alias:[],blockLiteral:[],blockFolded:["children"],plain:["children"],quoteSingle:[],quoteDouble:[],mapping:["children"],mappingItem:["key","value","children"],mappingKey:["content","children"],mappingValue:["content","children"],sequence:["children"],sequenceItem:["content","children"],flowMapping:["children"],flowMappingItem:["key","value","children"],flowSequence:["children"],flowSequenceItem:["content","children"],comment:[],tag:[],anchor:[]}).map(([t,e])=>[t,[...e,"anchor","tag","indicatorComment","leadingComments","middleComments","trailingComment","endComments"]])),hr=Ki;var Vi=mr(hr),gr=Vi;function ve(t){return t.position.start.offset}function dr(t){return t.position.end.offset}function yr(t){return/^\s*@(?:prettier|format)\s*$/u.test(t)}function Er(t){return/^\s*#[^\S\n]*@(?:prettier|format)\s*?(?:\n|$)/u.test(t)}function Sr(t){return`# @format -${t}`}function ve(t){return t.position.start.offset}function hr(t){return t.position.end.offset}function gr(t,e){let{node:n}=t;if(n.type==="root"&&e.filepath&&/(?:[/\\]|^)\.(?:prettier|stylelint|lintstaged)rc$/.test(e.filepath))return async r=>{let s=await r(e.originalText,{parser:"json"});return s?[s,N]:void 0}}gr.getVisitorKeys=()=>[];var dr=gr;function Fi(t){return Array.isArray(t)&&t.length>0}var Ie=Fi;function G(t,e){return typeof(t==null?void 0:t.type)=="string"&&(!e||e.includes(t.type))}function pn(t,e,n){return e("children"in t?{...t,children:t.children.map(r=>pn(r,e,t))}:t,n)}function Pe(t,e,n){Object.defineProperty(t,e,{get:n,enumerable:!1})}function Er(t,e){let n=0,r=e.length;for(let s=t.position.end.offset-1;si===0&&i===o.length-1?s:i!==0&&i!==o.length-1?s.trim():i===0?s.trimEnd():s.trimStart());return n.proseWrap==="preserve"?r.map(s=>s.length===0?[]:[s]):r.map(s=>s.length===0?[]:wr(s)).reduce((s,i,o)=>o!==0&&r[o-1].length>0&&i.length>0&&!(t==="quoteDouble"&&x(!1,x(!1,s,-1),-1).endsWith("\\"))?[...s.slice(0,-1),[...x(!1,s,-1),...i]]:[...s,i],[]).map(s=>n.proseWrap==="never"?[s.join(" ")]:s)}function Nr(t,{parentIndent:e,isLastDescendant:n,options:r}){let s=t.position.start.line===t.position.end.line?"":r.originalText.slice(t.position.start.offset,t.position.end.offset).match(/^[^\n]*\n(.*)$/s)[1],i;if(t.indent===null){let c=s.match(/^(? *)[^\n\r ]/m);i=c?c.groups.leadingSpace.length:Number.POSITIVE_INFINITY}else i=t.indent-1+e;let o=s.split(` -`).map(c=>c.slice(i));if(r.proseWrap==="preserve"||t.type==="blockLiteral")return a(o.map(c=>c.length===0?[]:[c]));return a(o.map(c=>c.length===0?[]:wr(c)).reduce((c,l,f)=>f!==0&&o[f-1].length>0&&l.length>0&&!/^\s/.test(l[0])&&!/^\s|\s$/.test(x(!1,c,-1))?[...c.slice(0,-1),[...x(!1,c,-1),...l]]:[...c,l],[]).map(c=>c.reduce((l,f)=>l.length>0&&/\s$/.test(x(!1,l,-1))?[...l.slice(0,-1),x(!1,l,-1)+" "+f]:[...l,f],[])).map(c=>r.proseWrap==="never"?[c.join(" ")]:c));function a(c){if(t.chomping==="keep")return x(!1,c,-1).length===0?c.slice(0,-1):c;let l=0;for(let f=c.length-1;f>=0&&c[f].length===0;f--)l++;return l===0?c:l>=2&&!n?c.slice(0,-(l-1)):c.slice(0,-l)}}function st(t){if(!t)return!0;switch(t.type){case"plain":case"quoteDouble":case"quoteSingle":case"alias":case"flowMapping":case"flowSequence":return!0;default:return!1}}var it=null;function ot(t){if(it!==null&&typeof it.property){let e=it;return it=ot.prototype=null,e}return it=ot.prototype=t??Object.create(null),new ot}var Ui=10;for(let t=0;t<=Ui;t++)ot();function hn(t){return ot(t)}function Ki(t,e="type"){hn(t);function n(r){let s=r[e],i=t[s];if(!Array.isArray(i))throw Object.assign(new Error(`Missing visitor keys for '${s}'.`),{node:r});return i}return n}var Or=Ki;var Vi=Object.fromEntries(Object.entries({root:["children"],document:["head","body","children"],documentHead:["children"],documentBody:["children"],directive:[],alias:[],blockLiteral:[],blockFolded:["children"],plain:["children"],quoteSingle:[],quoteDouble:[],mapping:["children"],mappingItem:["key","value","children"],mappingKey:["content","children"],mappingValue:["content","children"],sequence:["children"],sequenceItem:["content","children"],flowMapping:["children"],flowMappingItem:["key","value","children"],flowSequence:["children"],flowSequenceItem:["content","children"],comment:[],tag:[],anchor:[]}).map(([t,e])=>[t,[...e,"anchor","tag","indicatorComment","leadingComments","middleComments","trailingComment","endComments"]])),Lr=Vi;var Wi=Or(Lr),Ar=Wi;function ji(t){return pn(t,Qi)}function Qi(t){switch(t.type){case"document":Pe(t,"head",()=>t.children[0]),Pe(t,"body",()=>t.children[1]);break;case"documentBody":case"sequenceItem":case"flowSequenceItem":case"mappingKey":case"mappingValue":Pe(t,"content",()=>t.children[0]);break;case"mappingItem":case"flowMappingItem":Pe(t,"key",()=>t.children[0]),Pe(t,"value",()=>t.children[1]);break}return t}var Tr=ji;var gn=new WeakMap;function Tt(t,e){let{node:n,root:r}=t,s;return gn.has(r)?s=gn.get(r):(s=new Set,gn.set(r,s)),!s.has(n.position.end.line)&&(s.add(n.position.end.line),Er(n,e)&&!dn(t.parent))?Nt:""}function dn(t){return R(t)&&!G(t,["documentHead","documentBody","flowMapping","flowSequence"])}function I(t,e){return tt(" ".repeat(t),e)}function Ct(t,e,n){let{node:r}=t,s=r.type==="flowMapping",i=s?"{":"[",o=s?"}":"]",a=Nt;s&&r.children.length>0&&n.bracketSpacing&&(a=ne);let c=x(!1,r.children,-1),l=(c==null?void 0:c.type)==="flowMappingItem"&&_e(c.key)&&_e(c.value);return[i,I(n.tabWidth,[a,Ji(t,e,n),n.trailingComma==="none"?"":nt(","),R(r)?[N,v(N,t.map(e,"endComments"))]:""]),l?"":a,o]}function Ji(t,e,n){return t.map(({isLast:r,node:s,next:i})=>[e(),r?"":[",",ne,s.position.start.line!==i.position.start.line?Tt(t,n.originalText):""]],"children")}function Gi(t,e,n){var C;let{node:r,parent:s}=t,{key:i,value:o}=r,a=_e(i),c=_e(o);if(a&&c)return": ";let l=e("key"),f=Hi(r)?" ":"";if(c)return r.type==="flowMappingItem"&&s.type==="flowMapping"?l:r.type==="mappingItem"&&yn(i.content,n)&&!H(i.content)&&((C=s.tag)==null?void 0:C.value)!=="tag:yaml.org,2002:set"?[l,f,":"]:["? ",I(2,l)];let m=e("value");if(a)return[": ",I(2,m)];if(Z(o)||!st(i.content))return["? ",I(2,l),N,...t.map(()=>[e(),N],"value","leadingComments"),": ",I(2,m)];if(Xi(i.content)&&!Z(i.content)&&!ie(i.content)&&!H(i.content)&&!R(i)&&!Z(o.content)&&!ie(o.content)&&!R(o)&&yn(o.content,n))return[l,f,": ",m];let d=Symbol("mappingKey"),y=ke([nt("? "),ke(I(2,l),{id:d})]),h=[N,": ",I(2,m)],g=[f,":"];Z(o.content)||R(o)&&o.content&&!G(o.content,["mapping","sequence"])||s.type==="mapping"&&H(i.content)&&st(o.content)||G(o.content,["mapping","sequence"])&&o.content.tag===null&&o.content.anchor===null?g.push(N):o.content&&g.push(ne),g.push(m);let w=I(n.tabWidth,g);return yn(i.content,n)&&!Z(i.content)&&!ie(i.content)&&!R(i)?cn([[l,w]]):cn([[y,nt(h,w,{groupId:d})]])}function yn(t,e){if(!t)return!0;switch(t.type){case"plain":case"quoteSingle":case"quoteDouble":break;case"alias":return!0;default:return!1}if(e.proseWrap==="preserve")return t.position.start.line===t.position.end.line;if(/\\$/m.test(e.originalText.slice(t.position.start.offset,t.position.end.offset)))return!1;switch(e.proseWrap){case"never":return!t.value.includes(` -`);case"always":return!/[\n ]/.test(t.value);default:return!1}}function Hi(t){var e;return((e=t.key.content)==null?void 0:e.type)==="alias"}function Xi(t){if(!t)return!0;switch(t.type){case"plain":case"quoteDouble":case"quoteSingle":return t.position.start.line===t.position.end.line;case"alias":return!0;default:return!1}}var Cr=Gi;function zi(t,e,n){let{node:r}=t,s=t.ancestors.filter(l=>l.type==="sequence"||l.type==="mapping").length,i=Lt(t),o=[r.type==="blockFolded"?">":"|"];r.indent!==null&&o.push(r.indent.toString()),r.chomping!=="clip"&&o.push(r.chomping==="keep"?"+":"-"),mn(r)&&o.push(" ",e("indicatorComment"));let a=Nr(r,{parentIndent:s,isLastDescendant:i,options:n}),c=[];for(let[l,f]of a.entries())l===0&&c.push(N),c.push(wt(v(ne,f))),l!==a.length-1?c.push(f.length===0?N:ir(rt)):r.chomping==="keep"&&i&&c.push(an(f.length===0?N:rt));return r.indent===null?o.push(or(I(n.tabWidth,c))):o.push(an(I(r.indent-1+s,c))),o}var Mr=zi;function Zi(t,e,n){let{node:r}=t,s=[];r.type!=="mappingValue"&&Z(r)&&s.push([v(N,t.map(n,"leadingComments")),N]);let{tag:i,anchor:o}=r;i&&s.push(n("tag")),i&&o&&s.push(" "),o&&s.push(n("anchor"));let a="";return G(r,["mapping","sequence","comment","directive","mappingItem","sequenceItem"])&&!Lt(t)&&(a=Tt(t,e.originalText)),(i||o)&&(G(r,["sequence","mapping"])&&!ie(r)?s.push(N):s.push(" ")),ie(r)&&s.push([r.middleComments.length===1?"":N,v(N,t.map(n,"middleComments")),N]),Sr(t)?s.push(cr(e.originalText.slice(r.position.start.offset,r.position.end.offset).trimEnd())):s.push(ke(eo(t,e,n))),H(r)&&!G(r,["document","documentHead"])&&s.push(ar([r.type==="mappingValue"&&!r.content?"":" ",t.parent.type==="mappingKey"&&t.getParentNode(2).type==="mapping"&&st(r)?"":bt,n("trailingComment")])),dn(r)&&s.push(I(r.type==="sequenceItem"?2:0,[N,v(N,t.map(({node:c})=>[lr(e.originalText,ve(c))?N:"",n()],"endComments"))])),s.push(a),s}function eo(t,e,n){let{node:r}=t;switch(r.type){case"root":{let s=[];t.each(({node:o,next:a,isFirst:c})=>{c||s.push(N),s.push(n()),kr(o,a)?(s.push(N,"..."),H(o)&&s.push(" ",n("trailingComment"))):a&&!H(a.head)&&s.push(N,"---")},"children");let i=At(r);return(!G(i,["blockLiteral","blockFolded"])||i.chomping!=="keep")&&s.push(N),s}case"document":{let s=[];return no(t,e)==="head"&&((r.head.children.length>0||r.head.endComments.length>0)&&s.push(n("head")),H(r.head)?s.push(["---"," ",n(["head","trailingComment"])]):s.push("---")),to(r)&&s.push(n("body")),v(N,s)}case"documentHead":return v(N,[...t.map(n,"children"),...t.map(n,"endComments")]);case"documentBody":{let{children:s,endComments:i}=r,o="";if(s.length>0&&i.length>0){let a=At(r);G(a,["blockFolded","blockLiteral"])?a.chomping!=="keep"&&(o=[N,N]):o=N}return[v(N,t.map(n,"children")),o,v(N,t.map(n,"endComments"))]}case"directive":return["%",v(" ",[r.name,...r.parameters])];case"comment":return["#",r.value];case"alias":return["*",r.value];case"tag":return e.originalText.slice(r.position.start.offset,r.position.end.offset);case"anchor":return["&",r.value];case"plain":return at(r.type,e.originalText.slice(r.position.start.offset,r.position.end.offset),e);case"quoteDouble":case"quoteSingle":{let s="'",i='"',o=e.originalText.slice(r.position.start.offset+1,r.position.end.offset-1);if(r.type==="quoteSingle"&&o.includes("\\")||r.type==="quoteDouble"&&/\\[^"]/.test(o)){let c=r.type==="quoteDouble"?i:s;return[c,at(r.type,o,e),c]}if(o.includes(i))return[s,at(r.type,r.type==="quoteDouble"?yt(!1,yt(!1,o,'\\"',i),"'",s.repeat(2)):o,e),s];if(o.includes(s))return[i,at(r.type,r.type==="quoteSingle"?yt(!1,o,"''",s):o,e),i];let a=e.singleQuote?s:i;return[a,at(r.type,o,e),a]}case"blockFolded":case"blockLiteral":return Mr(t,n,e);case"mapping":case"sequence":return v(N,t.map(n,"children"));case"sequenceItem":return["- ",I(2,r.content?n("content"):"")];case"mappingKey":case"mappingValue":return r.content?n("content"):"";case"mappingItem":case"flowMappingItem":return Cr(t,n,e);case"flowMapping":return Ct(t,n,e);case"flowSequence":return Ct(t,n,e);case"flowSequenceItem":return n("content");default:throw new fr(r,"YAML")}}function to(t){return t.body.children.length>0||R(t.body)}function kr(t,e){return H(t)||e&&(e.head.children.length>0||R(e.head))}function no(t,e){let n=t.node;if(t.isFirst&&/---(?:\s|$)/.test(e.originalText.slice(ve(n),ve(n)+4))||n.head.children.length>0||R(n.head)||H(n.head))return"head";let r=t.next;return kr(n,r)?!1:r?"root":!1}function at(t,e,n){let r=br(t,e,n);return v(N,r.map(s=>wt(v(ne,s))))}function ro(t,e){if(G(e))switch(delete e.position,e.type){case"comment":if(ur(e.value))return null;break;case"quoteDouble":case"quoteSingle":e.type="quote";break}}var so={preprocess:Tr,embed:dr,print:Zi,massageAstNode:ro,insertPragma:mr,getVisitorKeys:Ar},vr=so;var tn={};nr(tn,{yaml:()=>ja});var Mt=` -`,Ir="\r",Pr=function(){function t(e){this.length=e.length;for(var n=[0],r=0;rthis.length)return null;for(var n=0,r=this.offsets;r[n+1]<=e;)n++;var s=e-r[n];return{line:n,column:s}},t.prototype.indexForLocation=function(e){var n=e.line,r=e.column;return n<0||n>=this.offsets.length||r<0||r>this.lengthOfLine(n)?null:this.offsets[n]+r},t.prototype.lengthOfLine=function(e){var n=this.offsets[e],r=e===this.offsets.length-1?this.length:this.offsets[e+1];return r-n},t}();function B(t,e=null){"children"in t&&t.children.forEach(n=>B(n,t)),"anchor"in t&&t.anchor&&B(t.anchor,t),"tag"in t&&t.tag&&B(t.tag,t),"leadingComments"in t&&t.leadingComments.forEach(n=>B(n,t)),"middleComments"in t&&t.middleComments.forEach(n=>B(n,t)),"indicatorComment"in t&&t.indicatorComment&&B(t.indicatorComment,t),"trailingComment"in t&&t.trailingComment&&B(t.trailingComment,t),"endComments"in t&&t.endComments.forEach(n=>B(n,t)),Object.defineProperty(t,"_parent",{value:e,enumerable:!1})}function ge(t){return`${t.line}:${t.column}`}function _r(t){B(t);let e=io(t),n=t.children.slice();t.comments.sort((r,s)=>r.position.start.offset-s.position.end.offset).filter(r=>!r._parent).forEach(r=>{for(;n.length>1&&r.position.start.line>n[0].position.end.line;)n.shift();oo(r,e,n[0])})}function io(t){let e=Array.from(new Array(t.position.end.line),()=>({}));for(let n of t.comments)e[n.position.start.line-1].comment=n;return xr(e,t),e}function xr(t,e){if(e.position.start.offset!==e.position.end.offset){if("leadingComments"in e){let{start:n}=e.position,{leadingAttachableNode:r}=t[n.line-1];(!r||n.column1&&e.type!=="document"&&e.type!=="documentHead"){let{end:n}=e.position,{trailingAttachableNode:r}=t[n.line-1];(!r||n.column>=r.position.end.column)&&(t[n.line-1].trailingAttachableNode=e)}if(e.type!=="root"&&e.type!=="document"&&e.type!=="documentHead"&&e.type!=="documentBody"){let{start:n,end:r}=e.position,s=[r.line].concat(n.line===r.line?[]:n.line);for(let i of s){let o=t[i-1].trailingNode;(!o||r.column>=o.position.end.column)&&(t[i-1].trailingNode=e)}}"children"in e&&e.children.forEach(n=>{xr(t,n)})}}function oo(t,e,n){let r=t.position.start.line,{trailingAttachableNode:s}=e[r-1];if(s){if(s.trailingComment)throw new Error(`Unexpected multiple trailing comment at ${ge(t.position.start)}`);B(t,s),s.trailingComment=t;return}for(let o=r;o>=n.position.start.line;o--){let{trailingNode:a}=e[o-1],c;if(a)c=a;else if(o!==r&&e[o-1].comment)c=e[o-1].comment._parent;else continue;if((c.type==="sequence"||c.type==="mapping")&&(c=c.children[0]),c.type==="mappingItem"){let[l,f]=c.children;c=Rr(l)?l:f}for(;;){if(ao(c,t)){B(t,c),c.endComments.push(t);return}if(!c._parent)break;c=c._parent}break}for(let o=r+1;o<=n.position.end.line;o++){let{leadingAttachableNode:a}=e[o-1];if(a){B(t,a),a.leadingComments.push(t);return}}let i=n.children[1];B(t,i),i.endComments.push(t)}function ao(t,e){if(t.position.start.offsete.position.end.offset)switch(t.type){case"flowMapping":case"flowSequence":return t.children.length===0||e.position.start.line>t.children[t.children.length-1].position.end.line}if(e.position.end.offsett.position.start.column;case"mappingKey":case"mappingValue":return e.position.start.column>t._parent.position.start.column&&(t.children.length===0||t.children.length===1&&t.children[0].type!=="blockFolded"&&t.children[0].type!=="blockLiteral")&&(t.type==="mappingValue"||Rr(t));default:return!1}}function Rr(t){return t.position.start!==t.position.end&&(t.children.length===0||t.position.start.offset!==t.children[0].position.start.offset)}function b(t,e){return{type:t,position:e}}function Dr(t,e,n){return{...b("root",t),children:e,comments:n}}function ct(t){switch(t.type){case"DOCUMENT":for(let e=t.contents.length-1;e>=0;e--)t.contents[e].type==="BLANK_LINE"?t.contents.splice(e,1):ct(t.contents[e]);for(let e=t.directives.length-1;e>=0;e--)t.directives[e].type==="BLANK_LINE"&&t.directives.splice(e,1);break;case"FLOW_MAP":case"FLOW_SEQ":case"MAP":case"SEQ":for(let e=t.items.length-1;e>=0;e--){let n=t.items[e];"char"in n||(n.type==="BLANK_LINE"?t.items.splice(e,1):ct(n))}break;case"MAP_KEY":case"MAP_VALUE":case"SEQ_ITEM":t.node&&ct(t.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(t.type)}`)}}function X(){return{leadingComments:[]}}function oe(t=null){return{trailingComment:t}}function $(){return{...X(),...oe()}}function Yr(t,e,n){return{...b("alias",t),...$(),...e,value:n}}function Br(t,e){let n=t.cstNode;return Yr(e.transformRange({origStart:n.valueRange.origStart-1,origEnd:n.valueRange.origEnd}),e.transformContent(t),n.rawValue)}function $r(t){return{...t,type:"blockFolded"}}function Fr(t,e,n,r,s,i){return{...b("blockValue",t),...X(),...e,chomping:n,indent:r,value:s,indicatorComment:i}}var ae;(function(t){t.Tag="!",t.Anchor="&",t.Comment="#"})(ae||(ae={}));function qr(t,e){return{...b("anchor",t),value:e}}function xe(t,e){return{...b("comment",t),value:e}}function Ur(t,e,n){return{anchor:e,tag:t,middleComments:n}}function Kr(t,e){return{...b("tag",t),value:e}}function kt(t,e,n=()=>!1){let r=t.cstNode,s=[],i=null,o=null,a=null;for(let c of r.props){let l=e.text[c.origStart];switch(l){case ae.Tag:i=i||c,o=Kr(e.transformRange(c),t.tag);break;case ae.Anchor:i=i||c,a=qr(e.transformRange(c),r.anchor);break;case ae.Comment:{let f=xe(e.transformRange(c),e.text.slice(c.origStart+1,c.origEnd));e.comments.push(f),!n(f)&&i&&i.origEnd<=c.origStart&&c.origEnd<=r.valueRange.origStart&&s.push(f);break}default:throw new Error(`Unexpected leading character ${JSON.stringify(l)}`)}}return Ur(o,a,s)}var En;(function(t){t.CLIP="clip",t.STRIP="strip",t.KEEP="keep"})(En||(En={}));function vt(t,e){let n=t.cstNode,r=1,s=n.chomping==="CLIP"?0:1,o=n.header.origEnd-n.header.origStart-r-s!==0,a=e.transformRange({origStart:n.header.origStart,origEnd:n.valueRange.origEnd}),c=null,l=kt(t,e,f=>{if(!(a.start.offset=0;c--){let l=t.contents[c];if(l.type==="COMMENT"){let f=e.transformNode(l);n&&n.line===f.position.start.line?o.unshift(f):a?r.unshift(f):f.position.start.offset>=t.valueRange.origEnd?i.unshift(f):r.unshift(f)}else a=!0}if(i.length>1)throw new Error(`Unexpected multiple document trailing comments at ${ge(i[1].position.start)}`);if(o.length>1)throw new Error(`Unexpected multiple documentHead trailing comments at ${ge(o[1].position.start)}`);return{comments:r,endComments:s,documentTrailingComment:q(i)||null,documentHeadTrailingComment:q(o)||null}}function lo(t,e,n){let r=It(n.text.slice(t.valueRange.origEnd),/^\.\.\./),s=r===-1?t.valueRange.origEnd:Math.max(0,t.valueRange.origEnd-1);n.text[s-1]==="\r"&&s--;let i=n.transformRange({origStart:e!==null?e.position.start.offset:s,origEnd:s}),o=r===-1?i.end:n.transformOffset(t.valueRange.origEnd+3);return{position:i,documentEndPoint:o}}function Zr(t,e,n,r){return{...b("documentHead",t),...F(n),...oe(r),children:e}}function es(t,e){let n=t.cstNode,{directives:r,comments:s,endComments:i}=fo(n,e),{position:o,endMarkerPoint:a}=uo(n,r,e);return e.comments.push(...s,...i),{createDocumentHeadWithTrailingComment:l=>(l&&e.comments.push(l),Zr(o,r,i,l)),documentHeadEndMarkerPoint:a}}function fo(t,e){let n=[],r=[],s=[],i=!1;for(let o=t.directives.length-1;o>=0;o--){let a=e.transformNode(t.directives[o]);a.type==="comment"?i?r.unshift(a):s.unshift(a):(i=!0,n.unshift(a))}return{directives:n,comments:r,endComments:s}}function uo(t,e,n){let r=It(n.text.slice(0,t.valueRange.origStart),/---\s*$/);r>0&&!/[\r\n]/.test(n.text[r-1])&&(r=-1);let s=r===-1?{origStart:t.valueRange.origStart,origEnd:t.valueRange.origStart}:{origStart:r,origEnd:r+3};return e.length!==0&&(s.origStart=e[0].position.start.offset),{position:n.transformRange(s),endMarkerPoint:r===-1?null:n.transformOffset(r)}}function ts(t,e){let{createDocumentHeadWithTrailingComment:n,documentHeadEndMarkerPoint:r}=es(t,e),{documentBody:s,documentEndPoint:i,documentTrailingComment:o,documentHeadTrailingComment:a}=zr(t,e,r),c=n(a);return o&&e.comments.push(o),Hr(K(c.position.start,i),c,s,o)}function Pt(t,e,n){return{...b("flowCollection",t),...$(),...F(),...e,children:n}}function ns(t,e,n){return{...Pt(t,e,n),type:"flowMapping"}}function _t(t,e,n){return{...b("flowMappingItem",t),...X(),children:[e,n]}}function ce(t,e){let n=[];for(let r of t)r&&"type"in r&&r.type==="COMMENT"?e.comments.push(e.transformNode(r)):n.push(r);return n}function xt(t){let[e,n]=["?",":"].map(r=>{let s=t.find(i=>"char"in i&&i.char===r);return s?{origStart:s.origOffset,origEnd:s.origOffset+1}:null});return{additionalKeyRange:e,additionalValueRange:n}}function Rt(t,e){let n=e;return r=>t.slice(n,n=r)}function Dt(t){let e=[],n=Rt(t,1),r=!1;for(let s=1;s{let l=r[c],{additionalKeyRange:f,additionalValueRange:m}=xt(l);return De(a,e,_t,f,m)}),i=n[0],o=q(n);return ns(e.transformRange({origStart:i.origOffset,origEnd:o.origOffset+1}),e.transformContent(t),s)}function ss(t,e,n){return{...Pt(t,e,n),type:"flowSequence"}}function is(t,e){return{...b("flowSequenceItem",t),children:[e]}}function os(t,e){let n=ce(t.cstNode.items,e),r=Dt(n),s=t.items.map((a,c)=>{if(a.type!=="PAIR"){let l=e.transformNode(a);return is(K(l.position.start,l.position.end),l)}else{let l=r[c],{additionalKeyRange:f,additionalValueRange:m}=xt(l);return De(a,e,_t,f,m)}}),i=n[0],o=q(n);return ss(e.transformRange({origStart:i.origOffset,origEnd:o.origOffset+1}),e.transformContent(t),s)}function as(t,e,n){return{...b("mapping",t),...X(),...e,children:n}}function cs(t,e,n){return{...b("mappingItem",t),...X(),children:[e,n]}}function ls(t,e){let n=t.cstNode;n.items.filter(o=>o.type==="MAP_KEY"||o.type==="MAP_VALUE").forEach(o=>Re(o,e));let r=ce(n.items,e),s=po(r),i=t.items.map((o,a)=>{let c=s[a],[l,f]=c[0].type==="MAP_VALUE"?[null,c[0].range]:[c[0].range,c.length===1?null:c[1].range];return De(o,e,cs,l,f)});return as(K(i[0].position.start,q(i).position.end),e.transformContent(t),i)}function po(t){let e=[],n=Rt(t,0),r=!1;for(let s=0;s=0;r--)if(n.test(t[r]))return r;return-1}function ps(t,e){let n=t.cstNode;return fs(e.transformRange({origStart:n.valueRange.origStart,origEnd:us(e.text,n.valueRange.origEnd-1,/\S/)+1}),e.transformContent(t),n.strValue)}function ms(t){return{...t,type:"quoteDouble"}}function hs(t,e,n){return{...b("quoteValue",t),...e,...$(),value:n}}function Yt(t,e){let n=t.cstNode;return hs(e.transformRange(n.valueRange),e.transformContent(t),n.strValue)}function gs(t,e){return ms(Yt(t,e))}function ds(t){return{...t,type:"quoteSingle"}}function ys(t,e){return ds(Yt(t,e))}function Es(t,e,n){return{...b("sequence",t),...X(),...F(),...e,children:n}}function Ss(t,e){return{...b("sequenceItem",t),...$(),...F(),children:e?[e]:[]}}function ws(t,e){let r=ce(t.cstNode.items,e).map((s,i)=>{Re(s,e);let o=e.transformNode(t.items[i]);return Ss(K(e.transformOffset(s.valueRange.origStart),o===null?e.transformOffset(s.valueRange.origStart+1):o.position.end),o)});return Es(K(r[0].position.start,q(r).position.end),e.transformContent(t),r)}function bs(t,e){if(t===null||t.type===void 0&&t.value===null)return null;switch(t.type){case"ALIAS":return Br(t,e);case"BLOCK_FOLDED":return Vr(t,e);case"BLOCK_LITERAL":return jr(t,e);case"COMMENT":return Qr(t,e);case"DIRECTIVE":return Gr(t,e);case"DOCUMENT":return ts(t,e);case"FLOW_MAP":return rs(t,e);case"FLOW_SEQ":return os(t,e);case"MAP":return ls(t,e);case"PLAIN":return ps(t,e);case"QUOTE_DOUBLE":return gs(t,e);case"QUOTE_SINGLE":return ys(t,e);case"SEQ":return ws(t,e);default:throw new Error(`Unexpected node type ${t.type}`)}}function Ns(t,e,n){let r=new SyntaxError(t);return r.name="YAMLSyntaxError",r.source=e,r.position=n,r}function Os(t,e){let n=t.source.range||t.source.valueRange;return Ns(t.message,e.text,e.transformRange(n))}function Ls(t,e,n){return{offset:t,line:e,column:n}}function As(t,e){t<0?t=0:t>e.text.length&&(t=e.text.length);let n=e.locator.locationForIndex(t);return Ls(t,n.line+1,n.column+1)}function Ts(t,e){return K(e.transformOffset(t.origStart),e.transformOffset(t.origEnd))}function Cs(t){if(!t.setOrigRanges()){let e=n=>{if(mo(n))return n.origStart=n.start,n.origEnd=n.end,!0;if(ho(n))return n.origOffset=n.offset,!0};t.forEach(n=>Nn(n,e))}}function Nn(t,e){if(!(!t||typeof t!="object")&&e(t)!==!0)for(let n of Object.keys(t)){if(n==="context"||n==="error")continue;let r=t[n];Array.isArray(r)?r.forEach(s=>Nn(s,e)):Nn(r,e)}}function mo(t){return typeof t.start=="number"}function ho(t){return typeof t.offset=="number"}function On(t){if("children"in t){if(t.children.length===1){let e=t.children[0];if(e.type==="plain"&&e.tag===null&&e.anchor===null&&e.value==="")return t.children.splice(0,1),t}t.children.forEach(On)}return t}function Ln(t,e,n,r){let s=e(t);return i=>{r(s,i)&&n(t,s=i)}}function An(t){if(t===null||!("children"in t))return;let e=t.children;if(e.forEach(An),t.type==="document"){let[i,o]=t.children;i.position.start.offset===i.position.end.offset?i.position.start=i.position.end=o.position.start:o.position.start.offset===o.position.end.offset&&(o.position.start=o.position.end=i.position.end)}let n=Ln(t.position,go,yo,wo),r=Ln(t.position,Eo,So,bo);"endComments"in t&&t.endComments.length!==0&&(n(t.endComments[0].position.start),r(q(t.endComments).position.end));let s=e.filter(i=>i!==null);if(s.length!==0){let i=s[0],o=q(s);n(i.position.start),r(o.position.end),"leadingComments"in i&&i.leadingComments.length!==0&&n(i.leadingComments[0].position.start),"tag"in i&&i.tag&&n(i.tag.position.start),"anchor"in i&&i.anchor&&n(i.anchor.position.start),"trailingComment"in o&&o.trailingComment&&r(o.trailingComment.position.end)}}function go(t){return t.start}function yo(t,e){t.start=e}function Eo(t){return t.end}function So(t,e){t.end=e}function wo(t,e){return e.offsett.offset}var di=rr(hi(),1);var J=rr(gi(),1),_m=J.default.findPair,xm=J.default.toJSON,Rm=J.default.parseMap,Dm=J.default.parseSeq,Ym=J.default.stringifyNumber,Bm=J.default.stringifyString,$m=J.default.Type,qa=J.default.YAMLError,Fm=J.default.YAMLReferenceError,er=J.default.YAMLSemanticError,Ua=J.default.YAMLSyntaxError,qm=J.default.YAMLWarning;var{Document:yi,parseCST:Ei}=di.default;function Si(t){let e=Ei(t);Cs(e);let n=e.map(a=>new yi({merge:!1,keepCstNodes:!0}).parse(a)),r=new Pr(t),s=[],i={text:t,locator:r,comments:s,transformOffset:a=>As(a,i),transformRange:a=>Ts(a,i),transformNode:a=>bs(a,i),transformContent:a=>kt(a,i)};for(let a of n)for(let c of a.errors)if(!(c instanceof er&&c.message==='Map keys must be unique; "<<" is repeated'))throw Os(c,i);n.forEach(a=>ct(a.cstNode));let o=Dr(i.transformRange({origStart:0,origEnd:i.text.length}),n.map(i.transformNode),s);return _r(o),An(o),On(o),o}function Va(t,e){let n=new SyntaxError(t+" ("+e.loc.start.line+":"+e.loc.start.column+")");return Object.assign(n,e)}var wi=Va;function Wa(t){try{let e=Si(t);return delete e.comments,e}catch(e){throw e!=null&&e.position?wi(e.message,{loc:e.position,cause:e}):e}}var ja={astFormat:"yaml",parse:Wa,hasPragma:pr,locStart:ve,locEnd:hr};var bi=[{linguistLanguageId:407,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",".prettierrc",".stylelintrc",".lintstagedrc"],aceMode:"yaml",codemirrorMode:"yaml",codemirrorMimeType:"text/x-yaml",parsers:["yaml"],vscodeLanguageIds:["yaml","ansible","home-assistant"]}];var nn={bracketSpacing:{category:"Common",type:"boolean",default:!0,description:"Print spaces between brackets.",oppositeDescription:"Do not print spaces between brackets."},singleQuote:{category:"Common",type:"boolean",default:!1,description:"Use single quotes instead of double quotes."},proseWrap:{category:"Common",type:"choice",default:"preserve",description:"How to wrap prose.",choices:[{value:"always",description:"Wrap prose if it exceeds the print width."},{value:"never",description:"Do not wrap prose."},{value:"preserve",description:"Wrap prose as-is."}]},bracketSameLine:{category:"Common",type:"boolean",default:!1,description:"Put > of opening tags on the last line instead of on a new line."},singleAttributePerLine:{category:"Common",type:"boolean",default:!1,description:"Enforce single attribute per line in HTML, Vue and JSX."}};var Qa={bracketSpacing:nn.bracketSpacing,singleQuote:nn.singleQuote,proseWrap:nn.proseWrap},Ni=Qa;var Ja={yaml:vr};var yh=tr;export{yh as default,bi as languages,Ni as options,tn as parsers,Ja as printers}; +${t}`}function Wi(t){return Array.isArray(t)&&t.length>0}var Ie=Wi;function G(t,e){return typeof(t==null?void 0:t.type)=="string"&&(!e||e.includes(t.type))}function pn(t,e,n){return e("children"in t?{...t,children:t.children.map(r=>pn(r,e,t))}:t,n)}function Pe(t,e,n){Object.defineProperty(t,e,{get:n,enumerable:!1})}function br(t,e){let n=0,r=e.length;for(let s=t.position.end.offset-1;si===0&&i===o.length-1?s:i!==0&&i!==o.length-1?s.trim():i===0?s.trimEnd():s.trimStart());return n.proseWrap==="preserve"?r.map(s=>s.length===0?[]:[s]):r.map(s=>s.length===0?[]:Or(s)).reduce((s,i,o)=>o!==0&&r[o-1].length>0&&i.length>0&&!(t==="quoteDouble"&&x(!1,x(!1,s,-1),-1).endsWith("\\"))?[...s.slice(0,-1),[...x(!1,s,-1),...i]]:[...s,i],[]).map(s=>n.proseWrap==="never"?[s.join(" ")]:s)}function Ar(t,{parentIndent:e,isLastDescendant:n,options:r}){let s=t.position.start.line===t.position.end.line?"":r.originalText.slice(t.position.start.offset,t.position.end.offset).match(/^[^\n]*\n(.*)$/su)[1],i;if(t.indent===null){let c=s.match(/^(? *)[^\n\r ]/mu);i=c?c.groups.leadingSpace.length:Number.POSITIVE_INFINITY}else i=t.indent-1+e;let o=s.split(` +`).map(c=>c.slice(i));if(r.proseWrap==="preserve"||t.type==="blockLiteral")return a(o.map(c=>c.length===0?[]:[c]));return a(o.map(c=>c.length===0?[]:Or(c)).reduce((c,l,f)=>f!==0&&o[f-1].length>0&&l.length>0&&!/^\s/u.test(l[0])&&!/^\s|\s$/u.test(x(!1,c,-1))?[...c.slice(0,-1),[...x(!1,c,-1),...l]]:[...c,l],[]).map(c=>c.reduce((l,f)=>l.length>0&&/\s$/u.test(x(!1,l,-1))?[...l.slice(0,-1),x(!1,l,-1)+" "+f]:[...l,f],[])).map(c=>r.proseWrap==="never"?[c.join(" ")]:c));function a(c){if(t.chomping==="keep")return x(!1,c,-1).length===0?c.slice(0,-1):c;let l=0;for(let f=c.length-1;f>=0&&c[f].length===0;f--)l++;return l===0?c:l>=2&&!n?c.slice(0,-(l-1)):c.slice(0,-l)}}function ot(t){if(!t)return!0;switch(t.type){case"plain":case"quoteDouble":case"quoteSingle":case"alias":case"flowMapping":case"flowSequence":return!0;default:return!1}}var hn=new WeakMap;function Tt(t,e){let{node:n,root:r}=t,s;return hn.has(r)?s=hn.get(r):(s=new Set,hn.set(r,s)),!s.has(n.position.end.line)&&(s.add(n.position.end.line),br(n,e)&&!gn(t.parent))?Nt:""}function gn(t){return R(t)&&!G(t,["documentHead","documentBody","flowMapping","flowSequence"])}function I(t,e){return tt(" ".repeat(t),e)}function Qi(t,e,n){let{node:r}=t,s=t.ancestors.filter(l=>l.type==="sequence"||l.type==="mapping").length,i=Lt(t),o=[r.type==="blockFolded"?">":"|"];r.indent!==null&&o.push(r.indent.toString()),r.chomping!=="clip"&&o.push(r.chomping==="keep"?"+":"-"),mn(r)&&o.push(" ",e("indicatorComment"));let a=Ar(r,{parentIndent:s,isLastDescendant:i,options:n}),c=[];for(let[l,f]of a.entries())l===0&&c.push(N),c.push(wt(v(ne,f))),l!==a.length-1?c.push(f.length===0?N:ir(rt)):r.chomping==="keep"&&i&&c.push(on(f.length===0?N:rt));return r.indent===null?o.push(or(I(n.tabWidth,c))):o.push(on(I(r.indent-1+s,c))),o}var Tr=Qi;function Ct(t,e,n){let{node:r}=t,s=r.type==="flowMapping",i=s?"{":"[",o=s?"}":"]",a=Nt;s&&r.children.length>0&&n.bracketSpacing&&(a=ne);let c=x(!1,r.children,-1),l=(c==null?void 0:c.type)==="flowMappingItem"&&_e(c.key)&&_e(c.value);return[i,I(n.tabWidth,[a,Ji(t,e,n),n.trailingComma==="none"?"":nt(","),R(r)?[N,v(N,t.map(e,"endComments"))]:""]),l?"":a,o]}function Ji(t,e,n){return t.map(({isLast:r,node:s,next:i})=>[e(),r?"":[",",ne,s.position.start.line!==i.position.start.line?Tt(t,n.originalText):""]],"children")}function Gi(t,e,n){var C;let{node:r,parent:s}=t,{key:i,value:o}=r,a=_e(i),c=_e(o);if(a&&c)return": ";let l=e("key"),f=Hi(r)?" ":"";if(c)return r.type==="flowMappingItem"&&s.type==="flowMapping"?l:r.type==="mappingItem"&&dn(i.content,n)&&!H(i.content)&&((C=s.tag)==null?void 0:C.value)!=="tag:yaml.org,2002:set"?[l,f,":"]:["? ",I(2,l)];let m=e("value");if(a)return[": ",I(2,m)];if(Z(o)||!ot(i.content))return["? ",I(2,l),N,...t.map(()=>[e(),N],"value","leadingComments"),": ",I(2,m)];if(Xi(i.content)&&!Z(i.content)&&!ie(i.content)&&!H(i.content)&&!R(i)&&!Z(o.content)&&!ie(o.content)&&!R(o)&&dn(o.content,n))return[l,f,": ",m];let d=Symbol("mappingKey"),y=ke([nt("? "),ke(I(2,l),{id:d})]),h=[N,": ",I(2,m)],g=[f,":"];Z(o.content)||R(o)&&o.content&&!G(o.content,["mapping","sequence"])||s.type==="mapping"&&H(i.content)&&ot(o.content)||G(o.content,["mapping","sequence"])&&o.content.tag===null&&o.content.anchor===null?g.push(N):o.content&&g.push(ne),g.push(m);let w=I(n.tabWidth,g);return dn(i.content,n)&&!Z(i.content)&&!ie(i.content)&&!R(i)?an([[l,w]]):an([[y,nt(h,w,{groupId:d})]])}function dn(t,e){if(!t)return!0;switch(t.type){case"plain":case"quoteSingle":case"quoteDouble":break;case"alias":return!0;default:return!1}if(e.proseWrap==="preserve")return t.position.start.line===t.position.end.line;if(/\\$/mu.test(e.originalText.slice(t.position.start.offset,t.position.end.offset)))return!1;switch(e.proseWrap){case"never":return!t.value.includes(` +`);case"always":return!/[\n ]/u.test(t.value);default:return!1}}function Hi(t){var e;return((e=t.key.content)==null?void 0:e.type)==="alias"}function Xi(t){if(!t)return!0;switch(t.type){case"plain":case"quoteDouble":case"quoteSingle":return t.position.start.line===t.position.end.line;case"alias":return!0;default:return!1}}var Cr=Gi;function zi(t){return pn(t,Zi)}function Zi(t){switch(t.type){case"document":Pe(t,"head",()=>t.children[0]),Pe(t,"body",()=>t.children[1]);break;case"documentBody":case"sequenceItem":case"flowSequenceItem":case"mappingKey":case"mappingValue":Pe(t,"content",()=>t.children[0]);break;case"mappingItem":case"flowMappingItem":Pe(t,"key",()=>t.children[0]),Pe(t,"value",()=>t.children[1]);break}return t}var Mr=zi;function eo(t,e,n){let{node:r}=t,s=[];r.type!=="mappingValue"&&Z(r)&&s.push([v(N,t.map(n,"leadingComments")),N]);let{tag:i,anchor:o}=r;i&&s.push(n("tag")),i&&o&&s.push(" "),o&&s.push(n("anchor"));let a="";return G(r,["mapping","sequence","comment","directive","mappingItem","sequenceItem"])&&!Lt(t)&&(a=Tt(t,e.originalText)),(i||o)&&(G(r,["sequence","mapping"])&&!ie(r)?s.push(N):s.push(" ")),ie(r)&&s.push([r.middleComments.length===1?"":N,v(N,t.map(n,"middleComments")),N]),Nr(t)?s.push(cr(e.originalText.slice(r.position.start.offset,r.position.end.offset).trimEnd())):s.push(ke(to(t,e,n))),H(r)&&!G(r,["document","documentHead"])&&s.push(ar([r.type==="mappingValue"&&!r.content?"":" ",t.parent.type==="mappingKey"&&t.getParentNode(2).type==="mapping"&&ot(r)?"":bt,n("trailingComment")])),gn(r)&&s.push(I(r.type==="sequenceItem"?2:0,[N,v(N,t.map(({node:c})=>[lr(e.originalText,ve(c))?N:"",n()],"endComments"))])),s.push(a),s}function to(t,e,n){let{node:r}=t;switch(r.type){case"root":{let s=[];t.each(({node:o,next:a,isFirst:c})=>{c||s.push(N),s.push(n()),kr(o,a)?(s.push(N,"..."),H(o)&&s.push(" ",n("trailingComment"))):a&&!H(a.head)&&s.push(N,"---")},"children");let i=At(r);return(!G(i,["blockLiteral","blockFolded"])||i.chomping!=="keep")&&s.push(N),s}case"document":{let s=[];return ro(t,e)==="head"&&((r.head.children.length>0||r.head.endComments.length>0)&&s.push(n("head")),H(r.head)?s.push(["---"," ",n(["head","trailingComment"])]):s.push("---")),no(r)&&s.push(n("body")),v(N,s)}case"documentHead":return v(N,[...t.map(n,"children"),...t.map(n,"endComments")]);case"documentBody":{let{children:s,endComments:i}=r,o="";if(s.length>0&&i.length>0){let a=At(r);G(a,["blockFolded","blockLiteral"])?a.chomping!=="keep"&&(o=[N,N]):o=N}return[v(N,t.map(n,"children")),o,v(N,t.map(n,"endComments"))]}case"directive":return["%",v(" ",[r.name,...r.parameters])];case"comment":return["#",r.value];case"alias":return["*",r.value];case"tag":return e.originalText.slice(r.position.start.offset,r.position.end.offset);case"anchor":return["&",r.value];case"plain":return at(r.type,e.originalText.slice(r.position.start.offset,r.position.end.offset),e);case"quoteDouble":case"quoteSingle":{let s="'",i='"',o=e.originalText.slice(r.position.start.offset+1,r.position.end.offset-1);if(r.type==="quoteSingle"&&o.includes("\\")||r.type==="quoteDouble"&&/\\[^"]/u.test(o)){let c=r.type==="quoteDouble"?i:s;return[c,at(r.type,o,e),c]}if(o.includes(i))return[s,at(r.type,r.type==="quoteDouble"?yt(!1,yt(!1,o,String.raw`\"`,i),"'",s.repeat(2)):o,e),s];if(o.includes(s))return[i,at(r.type,r.type==="quoteSingle"?yt(!1,o,"''",s):o,e),i];let a=e.singleQuote?s:i;return[a,at(r.type,o,e),a]}case"blockFolded":case"blockLiteral":return Tr(t,n,e);case"mapping":case"sequence":return v(N,t.map(n,"children"));case"sequenceItem":return["- ",I(2,r.content?n("content"):"")];case"mappingKey":case"mappingValue":return r.content?n("content"):"";case"mappingItem":case"flowMappingItem":return Cr(t,n,e);case"flowMapping":return Ct(t,n,e);case"flowSequence":return Ct(t,n,e);case"flowSequenceItem":return n("content");default:throw new fr(r,"YAML")}}function no(t){return t.body.children.length>0||R(t.body)}function kr(t,e){return H(t)||e&&(e.head.children.length>0||R(e.head))}function ro(t,e){let n=t.node;if(t.isFirst&&/---(?:\s|$)/u.test(e.originalText.slice(ve(n),ve(n)+4))||n.head.children.length>0||R(n.head)||H(n.head))return"head";let r=t.next;return kr(n,r)?!1:r?"root":!1}function at(t,e,n){let r=Lr(t,e,n);return v(N,r.map(s=>wt(v(ne,s))))}function vr(t,e){if(G(t))switch(t.type){case"comment":if(yr(t.value))return null;break;case"quoteDouble":case"quoteSingle":e.type="quote";break}}vr.ignoredProperties=new Set(["position"]);var so={preprocess:Mr,embed:pr,print:eo,massageAstNode:vr,insertPragma:Sr,getVisitorKeys:gr},Ir=so;var Pr=[{linguistLanguageId:407,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",".prettierrc",".stylelintrc",".lintstagedrc"],aceMode:"yaml",codemirrorMode:"yaml",codemirrorMimeType:"text/x-yaml",parsers:["yaml"],vscodeLanguageIds:["yaml","ansible","home-assistant"]}];var Mt={bracketSpacing:{category:"Common",type:"boolean",default:!0,description:"Print spaces between brackets.",oppositeDescription:"Do not print spaces between brackets."},singleQuote:{category:"Common",type:"boolean",default:!1,description:"Use single quotes instead of double quotes."},proseWrap:{category:"Common",type:"choice",default:"preserve",description:"How to wrap prose.",choices:[{value:"always",description:"Wrap prose if it exceeds the print width."},{value:"never",description:"Do not wrap prose."},{value:"preserve",description:"Wrap prose as-is."}]},bracketSameLine:{category:"Common",type:"boolean",default:!1,description:"Put > of opening tags on the last line instead of on a new line."},singleAttributePerLine:{category:"Common",type:"boolean",default:!1,description:"Enforce single attribute per line in HTML, Vue and JSX."}};var io={bracketSpacing:Mt.bracketSpacing,singleQuote:Mt.singleQuote,proseWrap:Mt.proseWrap},_r=io;var er={};nr(er,{yaml:()=>Qa});var kt=` +`,xr="\r",Rr=function(){function t(e){this.length=e.length;for(var n=[0],r=0;rthis.length)return null;for(var n=0,r=this.offsets;r[n+1]<=e;)n++;var s=e-r[n];return{line:n,column:s}},t.prototype.indexForLocation=function(e){var n=e.line,r=e.column;return n<0||n>=this.offsets.length||r<0||r>this.lengthOfLine(n)?null:this.offsets[n]+r},t.prototype.lengthOfLine=function(e){var n=this.offsets[e],r=e===this.offsets.length-1?this.length:this.offsets[e+1];return r-n},t}();function B(t,e=null){"children"in t&&t.children.forEach(n=>B(n,t)),"anchor"in t&&t.anchor&&B(t.anchor,t),"tag"in t&&t.tag&&B(t.tag,t),"leadingComments"in t&&t.leadingComments.forEach(n=>B(n,t)),"middleComments"in t&&t.middleComments.forEach(n=>B(n,t)),"indicatorComment"in t&&t.indicatorComment&&B(t.indicatorComment,t),"trailingComment"in t&&t.trailingComment&&B(t.trailingComment,t),"endComments"in t&&t.endComments.forEach(n=>B(n,t)),Object.defineProperty(t,"_parent",{value:e,enumerable:!1})}function ge(t){return`${t.line}:${t.column}`}function Dr(t){B(t);let e=oo(t),n=t.children.slice();t.comments.sort((r,s)=>r.position.start.offset-s.position.end.offset).filter(r=>!r._parent).forEach(r=>{for(;n.length>1&&r.position.start.line>n[0].position.end.line;)n.shift();ao(r,e,n[0])})}function oo(t){let e=Array.from(new Array(t.position.end.line),()=>({}));for(let n of t.comments)e[n.position.start.line-1].comment=n;return Yr(e,t),e}function Yr(t,e){if(e.position.start.offset!==e.position.end.offset){if("leadingComments"in e){let{start:n}=e.position,{leadingAttachableNode:r}=t[n.line-1];(!r||n.column1&&e.type!=="document"&&e.type!=="documentHead"){let{end:n}=e.position,{trailingAttachableNode:r}=t[n.line-1];(!r||n.column>=r.position.end.column)&&(t[n.line-1].trailingAttachableNode=e)}if(e.type!=="root"&&e.type!=="document"&&e.type!=="documentHead"&&e.type!=="documentBody"){let{start:n,end:r}=e.position,s=[r.line].concat(n.line===r.line?[]:n.line);for(let i of s){let o=t[i-1].trailingNode;(!o||r.column>=o.position.end.column)&&(t[i-1].trailingNode=e)}}"children"in e&&e.children.forEach(n=>{Yr(t,n)})}}function ao(t,e,n){let r=t.position.start.line,{trailingAttachableNode:s}=e[r-1];if(s){if(s.trailingComment)throw new Error(`Unexpected multiple trailing comment at ${ge(t.position.start)}`);B(t,s),s.trailingComment=t;return}for(let o=r;o>=n.position.start.line;o--){let{trailingNode:a}=e[o-1],c;if(a)c=a;else if(o!==r&&e[o-1].comment)c=e[o-1].comment._parent;else continue;if((c.type==="sequence"||c.type==="mapping")&&(c=c.children[0]),c.type==="mappingItem"){let[l,f]=c.children;c=Br(l)?l:f}for(;;){if(co(c,t)){B(t,c),c.endComments.push(t);return}if(!c._parent)break;c=c._parent}break}for(let o=r+1;o<=n.position.end.line;o++){let{leadingAttachableNode:a}=e[o-1];if(a){B(t,a),a.leadingComments.push(t);return}}let i=n.children[1];B(t,i),i.endComments.push(t)}function co(t,e){if(t.position.start.offsete.position.end.offset)switch(t.type){case"flowMapping":case"flowSequence":return t.children.length===0||e.position.start.line>t.children[t.children.length-1].position.end.line}if(e.position.end.offsett.position.start.column;case"mappingKey":case"mappingValue":return e.position.start.column>t._parent.position.start.column&&(t.children.length===0||t.children.length===1&&t.children[0].type!=="blockFolded"&&t.children[0].type!=="blockLiteral")&&(t.type==="mappingValue"||Br(t));default:return!1}}function Br(t){return t.position.start!==t.position.end&&(t.children.length===0||t.position.start.offset!==t.children[0].position.start.offset)}function b(t,e){return{type:t,position:e}}function $r(t,e,n){return{...b("root",t),children:e,comments:n}}function ct(t){switch(t.type){case"DOCUMENT":for(let e=t.contents.length-1;e>=0;e--)t.contents[e].type==="BLANK_LINE"?t.contents.splice(e,1):ct(t.contents[e]);for(let e=t.directives.length-1;e>=0;e--)t.directives[e].type==="BLANK_LINE"&&t.directives.splice(e,1);break;case"FLOW_MAP":case"FLOW_SEQ":case"MAP":case"SEQ":for(let e=t.items.length-1;e>=0;e--){let n=t.items[e];"char"in n||(n.type==="BLANK_LINE"?t.items.splice(e,1):ct(n))}break;case"MAP_KEY":case"MAP_VALUE":case"SEQ_ITEM":t.node&&ct(t.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(t.type)}`)}}function X(){return{leadingComments:[]}}function oe(t=null){return{trailingComment:t}}function $(){return{...X(),...oe()}}function Fr(t,e,n){return{...b("alias",t),...$(),...e,value:n}}function qr(t,e){let n=t.cstNode;return Fr(e.transformRange({origStart:n.valueRange.origStart-1,origEnd:n.valueRange.origEnd}),e.transformContent(t),n.rawValue)}function Ur(t){return{...t,type:"blockFolded"}}function Kr(t,e,n,r,s,i){return{...b("blockValue",t),...X(),...e,chomping:n,indent:r,value:s,indicatorComment:i}}var ae;(function(t){t.Tag="!",t.Anchor="&",t.Comment="#"})(ae||(ae={}));function Vr(t,e){return{...b("anchor",t),value:e}}function xe(t,e){return{...b("comment",t),value:e}}function Wr(t,e,n){return{anchor:e,tag:t,middleComments:n}}function jr(t,e){return{...b("tag",t),value:e}}function vt(t,e,n=()=>!1){let r=t.cstNode,s=[],i=null,o=null,a=null;for(let c of r.props){let l=e.text[c.origStart];switch(l){case ae.Tag:i=i||c,o=jr(e.transformRange(c),t.tag);break;case ae.Anchor:i=i||c,a=Vr(e.transformRange(c),r.anchor);break;case ae.Comment:{let f=xe(e.transformRange(c),e.text.slice(c.origStart+1,c.origEnd));e.comments.push(f),!n(f)&&i&&i.origEnd<=c.origStart&&c.origEnd<=r.valueRange.origStart&&s.push(f);break}default:throw new Error(`Unexpected leading character ${JSON.stringify(l)}`)}}return Wr(o,a,s)}var yn;(function(t){t.CLIP="clip",t.STRIP="strip",t.KEEP="keep"})(yn||(yn={}));function It(t,e){let n=t.cstNode,r=1,s=n.chomping==="CLIP"?0:1,o=n.header.origEnd-n.header.origStart-r-s!==0,a=e.transformRange({origStart:n.header.origStart,origEnd:n.valueRange.origEnd}),c=null,l=vt(t,e,f=>{if(!(a.start.offset=0;c--){let l=t.contents[c];if(l.type==="COMMENT"){let f=e.transformNode(l);n&&n.line===f.position.start.line?o.unshift(f):a?r.unshift(f):f.position.start.offset>=t.valueRange.origEnd?i.unshift(f):r.unshift(f)}else a=!0}if(i.length>1)throw new Error(`Unexpected multiple document trailing comments at ${ge(i[1].position.start)}`);if(o.length>1)throw new Error(`Unexpected multiple documentHead trailing comments at ${ge(o[1].position.start)}`);return{comments:r,endComments:s,documentTrailingComment:q(i)||null,documentHeadTrailingComment:q(o)||null}}function fo(t,e,n){let r=Pt(n.text.slice(t.valueRange.origEnd),/^\.\.\./),s=r===-1?t.valueRange.origEnd:Math.max(0,t.valueRange.origEnd-1);n.text[s-1]==="\r"&&s--;let i=n.transformRange({origStart:e!==null?e.position.start.offset:s,origEnd:s}),o=r===-1?i.end:n.transformOffset(t.valueRange.origEnd+3);return{position:i,documentEndPoint:o}}function ns(t,e,n,r){return{...b("documentHead",t),...F(n),...oe(r),children:e}}function rs(t,e){let n=t.cstNode,{directives:r,comments:s,endComments:i}=uo(n,e),{position:o,endMarkerPoint:a}=po(n,r,e);return e.comments.push(...s,...i),{createDocumentHeadWithTrailingComment:l=>(l&&e.comments.push(l),ns(o,r,i,l)),documentHeadEndMarkerPoint:a}}function uo(t,e){let n=[],r=[],s=[],i=!1;for(let o=t.directives.length-1;o>=0;o--){let a=e.transformNode(t.directives[o]);a.type==="comment"?i?r.unshift(a):s.unshift(a):(i=!0,n.unshift(a))}return{directives:n,comments:r,endComments:s}}function po(t,e,n){let r=Pt(n.text.slice(0,t.valueRange.origStart),/---\s*$/);r>0&&!/[\r\n]/.test(n.text[r-1])&&(r=-1);let s=r===-1?{origStart:t.valueRange.origStart,origEnd:t.valueRange.origStart}:{origStart:r,origEnd:r+3};return e.length!==0&&(s.origStart=e[0].position.start.offset),{position:n.transformRange(s),endMarkerPoint:r===-1?null:n.transformOffset(r)}}function ss(t,e){let{createDocumentHeadWithTrailingComment:n,documentHeadEndMarkerPoint:r}=rs(t,e),{documentBody:s,documentEndPoint:i,documentTrailingComment:o,documentHeadTrailingComment:a}=ts(t,e,r),c=n(a);return o&&e.comments.push(o),Zr(K(c.position.start,i),c,s,o)}function _t(t,e,n){return{...b("flowCollection",t),...$(),...F(),...e,children:n}}function is(t,e,n){return{..._t(t,e,n),type:"flowMapping"}}function xt(t,e,n){return{...b("flowMappingItem",t),...X(),children:[e,n]}}function ce(t,e){let n=[];for(let r of t)r&&"type"in r&&r.type==="COMMENT"?e.comments.push(e.transformNode(r)):n.push(r);return n}function Rt(t){let[e,n]=["?",":"].map(r=>{let s=t.find(i=>"char"in i&&i.char===r);return s?{origStart:s.origOffset,origEnd:s.origOffset+1}:null});return{additionalKeyRange:e,additionalValueRange:n}}function Dt(t,e){let n=e;return r=>t.slice(n,n=r)}function Yt(t){let e=[],n=Dt(t,1),r=!1;for(let s=1;s{let l=r[c],{additionalKeyRange:f,additionalValueRange:m}=Rt(l);return De(a,e,xt,f,m)}),i=n[0],o=q(n);return is(e.transformRange({origStart:i.origOffset,origEnd:o.origOffset+1}),e.transformContent(t),s)}function as(t,e,n){return{..._t(t,e,n),type:"flowSequence"}}function cs(t,e){return{...b("flowSequenceItem",t),children:[e]}}function ls(t,e){let n=ce(t.cstNode.items,e),r=Yt(n),s=t.items.map((a,c)=>{if(a.type!=="PAIR"){let l=e.transformNode(a);return cs(K(l.position.start,l.position.end),l)}else{let l=r[c],{additionalKeyRange:f,additionalValueRange:m}=Rt(l);return De(a,e,xt,f,m)}}),i=n[0],o=q(n);return as(e.transformRange({origStart:i.origOffset,origEnd:o.origOffset+1}),e.transformContent(t),s)}function fs(t,e,n){return{...b("mapping",t),...X(),...e,children:n}}function us(t,e,n){return{...b("mappingItem",t),...X(),children:[e,n]}}function ps(t,e){let n=t.cstNode;n.items.filter(o=>o.type==="MAP_KEY"||o.type==="MAP_VALUE").forEach(o=>Re(o,e));let r=ce(n.items,e),s=mo(r),i=t.items.map((o,a)=>{let c=s[a],[l,f]=c[0].type==="MAP_VALUE"?[null,c[0].range]:[c[0].range,c.length===1?null:c[1].range];return De(o,e,us,l,f)});return fs(K(i[0].position.start,q(i).position.end),e.transformContent(t),i)}function mo(t){let e=[],n=Dt(t,0),r=!1;for(let s=0;s=0;r--)if(n.test(t[r]))return r;return-1}function gs(t,e){let n=t.cstNode;return ms(e.transformRange({origStart:n.valueRange.origStart,origEnd:hs(e.text,n.valueRange.origEnd-1,/\S/)+1}),e.transformContent(t),n.strValue)}function ds(t){return{...t,type:"quoteDouble"}}function ys(t,e,n){return{...b("quoteValue",t),...e,...$(),value:n}}function Bt(t,e){let n=t.cstNode;return ys(e.transformRange(n.valueRange),e.transformContent(t),n.strValue)}function Es(t,e){return ds(Bt(t,e))}function Ss(t){return{...t,type:"quoteSingle"}}function ws(t,e){return Ss(Bt(t,e))}function bs(t,e,n){return{...b("sequence",t),...X(),...F(),...e,children:n}}function Ns(t,e){return{...b("sequenceItem",t),...$(),...F(),children:e?[e]:[]}}function Os(t,e){let r=ce(t.cstNode.items,e).map((s,i)=>{Re(s,e);let o=e.transformNode(t.items[i]);return Ns(K(e.transformOffset(s.valueRange.origStart),o===null?e.transformOffset(s.valueRange.origStart+1):o.position.end),o)});return bs(K(r[0].position.start,q(r).position.end),e.transformContent(t),r)}function Ls(t,e){if(t===null||t.type===void 0&&t.value===null)return null;switch(t.type){case"ALIAS":return qr(t,e);case"BLOCK_FOLDED":return Qr(t,e);case"BLOCK_LITERAL":return Gr(t,e);case"COMMENT":return Hr(t,e);case"DIRECTIVE":return zr(t,e);case"DOCUMENT":return ss(t,e);case"FLOW_MAP":return os(t,e);case"FLOW_SEQ":return ls(t,e);case"MAP":return ps(t,e);case"PLAIN":return gs(t,e);case"QUOTE_DOUBLE":return Es(t,e);case"QUOTE_SINGLE":return ws(t,e);case"SEQ":return Os(t,e);default:throw new Error(`Unexpected node type ${t.type}`)}}function As(t,e,n){let r=new SyntaxError(t);return r.name="YAMLSyntaxError",r.source=e,r.position=n,r}function Ts(t,e){let n=t.source.range||t.source.valueRange;return As(t.message,e.text,e.transformRange(n))}function Cs(t,e,n){return{offset:t,line:e,column:n}}function Ms(t,e){t<0?t=0:t>e.text.length&&(t=e.text.length);let n=e.locator.locationForIndex(t);return Cs(t,n.line+1,n.column+1)}function ks(t,e){return K(e.transformOffset(t.origStart),e.transformOffset(t.origEnd))}function vs(t){if(!t.setOrigRanges()){let e=n=>{if(ho(n))return n.origStart=n.start,n.origEnd=n.end,!0;if(go(n))return n.origOffset=n.offset,!0};t.forEach(n=>bn(n,e))}}function bn(t,e){if(!(!t||typeof t!="object")&&e(t)!==!0)for(let n of Object.keys(t)){if(n==="context"||n==="error")continue;let r=t[n];Array.isArray(r)?r.forEach(s=>bn(s,e)):bn(r,e)}}function ho(t){return typeof t.start=="number"}function go(t){return typeof t.offset=="number"}function Nn(t){if("children"in t){if(t.children.length===1){let e=t.children[0];if(e.type==="plain"&&e.tag===null&&e.anchor===null&&e.value==="")return t.children.splice(0,1),t}t.children.forEach(Nn)}return t}function On(t,e,n,r){let s=e(t);return i=>{r(s,i)&&n(t,s=i)}}function Ln(t){if(t===null||!("children"in t))return;let e=t.children;if(e.forEach(Ln),t.type==="document"){let[i,o]=t.children;i.position.start.offset===i.position.end.offset?i.position.start=i.position.end=o.position.start:o.position.start.offset===o.position.end.offset&&(o.position.start=o.position.end=i.position.end)}let n=On(t.position,yo,Eo,bo),r=On(t.position,So,wo,No);"endComments"in t&&t.endComments.length!==0&&(n(t.endComments[0].position.start),r(q(t.endComments).position.end));let s=e.filter(i=>i!==null);if(s.length!==0){let i=s[0],o=q(s);n(i.position.start),r(o.position.end),"leadingComments"in i&&i.leadingComments.length!==0&&n(i.leadingComments[0].position.start),"tag"in i&&i.tag&&n(i.tag.position.start),"anchor"in i&&i.anchor&&n(i.anchor.position.start),"trailingComment"in o&&o.trailingComment&&r(o.trailingComment.position.end)}}function yo(t){return t.start}function Eo(t,e){t.start=e}function So(t){return t.end}function wo(t,e){t.end=e}function bo(t,e){return e.offsett.offset}var Si=rr(yi(),1);var J=rr(Ei(),1),Ym=J.default.findPair,Bm=J.default.toJSON,$m=J.default.parseMap,Fm=J.default.parseSeq,qm=J.default.stringifyNumber,Um=J.default.stringifyString,Km=J.default.Type,Ua=J.default.YAMLError,Vm=J.default.YAMLReferenceError,Zn=J.default.YAMLSemanticError,Ka=J.default.YAMLSyntaxError,Wm=J.default.YAMLWarning;var{Document:wi,parseCST:bi}=Si.default;function Ni(t){let e=bi(t);vs(e);let n=e.map(a=>new wi({merge:!1,keepCstNodes:!0}).parse(a)),r=new Rr(t),s=[],i={text:t,locator:r,comments:s,transformOffset:a=>Ms(a,i),transformRange:a=>ks(a,i),transformNode:a=>Ls(a,i),transformContent:a=>vt(a,i)};for(let a of n)for(let c of a.errors)if(!(c instanceof Zn&&c.message==='Map keys must be unique; "<<" is repeated'))throw Ts(c,i);n.forEach(a=>ct(a.cstNode));let o=$r(i.transformRange({origStart:0,origEnd:i.text.length}),n.map(i.transformNode),s);return Dr(o),Ln(o),Nn(o),o}function Wa(t,e){let n=new SyntaxError(t+" ("+e.loc.start.line+":"+e.loc.start.column+")");return Object.assign(n,e)}var Oi=Wa;function ja(t){try{let e=Ni(t);return delete e.comments,e}catch(e){throw e!=null&&e.position?Oi(e.message,{loc:e.position,cause:e}):e}}var Qa={astFormat:"yaml",parse:ja,hasPragma:Er,locStart:ve,locEnd:dr};var Ja={yaml:Ir};var yh=tr;export{yh as default,Pr as languages,_r as options,er as parsers,Ja as printers}; diff --git a/node_modules/prettier/standalone.d.ts b/node_modules/prettier/standalone.d.ts index 5dbb70e91e..953ccf49c4 100644 --- a/node_modules/prettier/standalone.d.ts +++ b/node_modules/prettier/standalone.d.ts @@ -4,7 +4,7 @@ import { CursorOptions, CursorResult, Options, SupportInfo } from "./index.js"; * formatWithCursor both formats the code, and translates a cursor position from unformatted code to formatted code. * This is useful for editor integrations, to prevent the cursor from moving when code is formatted * - * The cursorOffset option should be provided, to specify where the cursor is. This option cannot be used with rangeStart and rangeEnd. + * The cursorOffset option should be provided, to specify where the cursor is. * * ```js * await prettier.formatWithCursor(" 1", { cursorOffset: 2, parser: "babel" }); @@ -13,7 +13,7 @@ import { CursorOptions, CursorResult, Options, SupportInfo } from "./index.js"; */ export function formatWithCursor( source: string, - options: CursorOptions + options: CursorOptions, ): Promise; /** diff --git a/node_modules/prettier/standalone.js b/node_modules/prettier/standalone.js index 7b9e6944aa..b9b6eb2d4d 100644 --- a/node_modules/prettier/standalone.js +++ b/node_modules/prettier/standalone.js @@ -1,34 +1,35 @@ -(function(t){function e(){var o=t();return o.default||o}if(typeof exports=="object"&&typeof module=="object")module.exports=e();else if(typeof define=="function"&&define.amd)define(e);else{var f=typeof globalThis<"u"?globalThis:typeof global<"u"?global:typeof self<"u"?self:this||{};f.prettier=e()}})(function(){"use strict";var zu=Object.create;var et=Object.defineProperty;var Wu=Object.getOwnPropertyDescriptor;var Gu=Object.getOwnPropertyNames;var Uu=Object.getPrototypeOf,Ku=Object.prototype.hasOwnProperty;var Ot=(e,t)=>()=>(e&&(t=e(e=0)),t);var E=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),ge=(e,t)=>{for(var r in t)et(e,r,{get:t[r],enumerable:!0})},jr=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let i of Gu(t))!Ku.call(e,i)&&i!==r&&et(e,i,{get:()=>t[i],enumerable:!(n=Wu(t,i))||n.enumerable});return e};var kt=(e,t,r)=>(r=e!=null?zu(Uu(e)):{},jr(t||!e||!e.__esModule?et(r,"default",{value:e,enumerable:!0}):r,e)),Y=e=>jr(et({},"__esModule",{value:!0}),e);var Hu=(e,t,r)=>{if(!t.has(e))throw TypeError("Cannot "+r)};var St=(e,t,r)=>{if(t.has(e))throw TypeError("Cannot add the same private member more than once");t instanceof WeakSet?t.add(e):t.set(e,r)};var ye=(e,t,r)=>(Hu(e,t,"access private method"),r);var Mr=E(vt=>{"use strict";Object.defineProperty(vt,"__esModule",{value:!0});vt.default=Yr;function Yr(){}Yr.prototype={diff:function(t,r){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},i=n.callback;typeof n=="function"&&(i=n,n={}),this.options=n;var u=this;function o(p){return i?(setTimeout(function(){i(void 0,p)},0),!0):p}t=this.castInput(t),r=this.castInput(r),t=this.removeEmpty(this.tokenize(t)),r=this.removeEmpty(this.tokenize(r));var s=r.length,a=t.length,D=1,c=s+a;n.maxEditLength&&(c=Math.min(c,n.maxEditLength));var d=[{newPos:-1,components:[]}],l=this.extractCommon(d[0],r,t,0);if(d[0].newPos+1>=s&&l+1>=a)return o([{value:this.join(r),count:r.length}]);function F(){for(var p=-1*D;p<=D;p+=2){var m=void 0,h=d[p-1],C=d[p+1],g=(C?C.newPos:0)-p;h&&(d[p-1]=void 0);var y=h&&h.newPos+1=s&&g+1>=a)return o(Xu(u,m.components,r,t,u.useLongestToken));d[p]=m}D++}if(i)(function p(){setTimeout(function(){if(D>c)return i();F()||p()},0)})();else for(;D<=c;){var f=F();if(f)return f}},pushComponent:function(t,r,n){var i=t[t.length-1];i&&i.added===r&&i.removed===n?t[t.length-1]={count:i.count+1,added:r,removed:n}:t.push({count:1,added:r,removed:n})},extractCommon:function(t,r,n,i){for(var u=r.length,o=n.length,s=t.newPos,a=s-i,D=0;s+1F.length?p:F}),D.value=e.join(c)}else D.value=e.join(r.slice(s,s+D.count));s+=D.count,D.added||(a+=D.count)}}var l=t[o-1];return o>1&&typeof l.value=="string"&&(l.added||l.removed)&&e.equals("",l.value)&&(t[o-2].value+=l.value,t.pop()),t}function Zu(e){return{newPos:e.newPos,components:e.components.slice(0)}}});var qr=E(ve=>{"use strict";Object.defineProperty(ve,"__esModule",{value:!0});ve.diffArrays=ti;ve.arrayDiff=void 0;var Qu=ei(Mr());function ei(e){return e&&e.__esModule?e:{default:e}}var Se=new Qu.default;ve.arrayDiff=Se;Se.tokenize=function(e){return e.slice()};Se.join=Se.removeEmpty=function(e){return e};function ti(e,t,r){return Se.diff(e,t,r)}});var ne={};ge(ne,{__assign:()=>Yt,__asyncDelegator:()=>Pi,__asyncGenerator:()=>Ni,__asyncValues:()=>Ri,__await:()=>ze,__awaiter:()=>wi,__classPrivateFieldGet:()=>Yi,__classPrivateFieldSet:()=>Mi,__createBinding:()=>ki,__decorate:()=>bi,__exportStar:()=>Si,__extends:()=>_i,__generator:()=>Oi,__importDefault:()=>ji,__importStar:()=>Li,__makeTemplateObject:()=>Ii,__metadata:()=>Bi,__param:()=>Ai,__read:()=>En,__rest:()=>xi,__spread:()=>vi,__spreadArrays:()=>Ti,__values:()=>Mt});function _i(e,t){jt(e,t);function r(){this.constructor=e}e.prototype=t===null?Object.create(t):(r.prototype=t.prototype,new r)}function xi(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,n=Object.getOwnPropertySymbols(e);i=0;s--)(o=e[s])&&(u=(i<3?o(u):i>3?o(t,r,u):o(t,r))||u);return i>3&&u&&Object.defineProperty(t,r,u),u}function Ai(e,t){return function(r,n){t(r,n,e)}}function Bi(e,t){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(e,t)}function wi(e,t,r,n){function i(u){return u instanceof r?u:new r(function(o){o(u)})}return new(r||(r=Promise))(function(u,o){function s(c){try{D(n.next(c))}catch(d){o(d)}}function a(c){try{D(n.throw(c))}catch(d){o(d)}}function D(c){c.done?u(c.value):i(c.value).then(s,a)}D((n=n.apply(e,t||[])).next())})}function Oi(e,t){var r={label:0,sent:function(){if(u[0]&1)throw u[1];return u[1]},trys:[],ops:[]},n,i,u,o;return o={next:s(0),throw:s(1),return:s(2)},typeof Symbol=="function"&&(o[Symbol.iterator]=function(){return this}),o;function s(D){return function(c){return a([D,c])}}function a(D){if(n)throw new TypeError("Generator is already executing.");for(;r;)try{if(n=1,i&&(u=D[0]&2?i.return:D[0]?i.throw||((u=i.return)&&u.call(i),0):i.next)&&!(u=u.call(i,D[1])).done)return u;switch(i=0,u&&(D=[D[0]&2,u.value]),D[0]){case 0:case 1:u=D;break;case 4:return r.label++,{value:D[1],done:!1};case 5:r.label++,i=D[1],D=[0];continue;case 7:D=r.ops.pop(),r.trys.pop();continue;default:if(u=r.trys,!(u=u.length>0&&u[u.length-1])&&(D[0]===6||D[0]===2)){r=0;continue}if(D[0]===3&&(!u||D[1]>u[0]&&D[1]=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function En(e,t){var r=typeof Symbol=="function"&&e[Symbol.iterator];if(!r)return e;var n=r.call(e),i,u=[],o;try{for(;(t===void 0||t-- >0)&&!(i=n.next()).done;)u.push(i.value)}catch(s){o={error:s}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(o)throw o.error}}return u}function vi(){for(var e=[],t=0;t1||s(l,F)})})}function s(l,F){try{a(n[l](F))}catch(f){d(u[0][3],f)}}function a(l){l.value instanceof ze?Promise.resolve(l.value.v).then(D,c):d(u[0][2],l)}function D(l){s("next",l)}function c(l){s("throw",l)}function d(l,F){l(F),u.shift(),u.length&&s(u[0][0],u[0][1])}}function Pi(e){var t,r;return t={},n("next"),n("throw",function(i){throw i}),n("return"),t[Symbol.iterator]=function(){return this},t;function n(i,u){t[i]=e[i]?function(o){return(r=!r)?{value:ze(e[i](o)),done:i==="return"}:u?u(o):o}:u}}function Ri(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t=e[Symbol.asyncIterator],r;return t?t.call(e):(e=typeof Mt=="function"?Mt(e):e[Symbol.iterator](),r={},n("next"),n("throw"),n("return"),r[Symbol.asyncIterator]=function(){return this},r);function n(u){r[u]=e[u]&&function(o){return new Promise(function(s,a){o=e[u](o),i(s,a,o.done,o.value)})}}function i(u,o,s,a){Promise.resolve(a).then(function(D){u({value:D,done:s})},o)}}function Ii(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e}function Li(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var r in e)Object.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t.default=e,t}function ji(e){return e&&e.__esModule?e:{default:e}}function Yi(e,t){if(!t.has(e))throw new TypeError("attempted to get private field on non-instance");return t.get(e)}function Mi(e,t,r){if(!t.has(e))throw new TypeError("attempted to set private field on non-instance");return t.set(e,r),r}var jt,Yt,ue=Ot(()=>{jt=function(e,t){return jt=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,n){r.__proto__=n}||function(r,n){for(var i in n)n.hasOwnProperty(i)&&(r[i]=n[i])},jt(e,t)};Yt=function(){return Yt=Object.assign||function(t){for(var r,n=1,i=arguments.length;n{"use strict";Object.defineProperty(me,"__esModule",{value:!0});me.apiDescriptor={key:e=>/^[$_a-zA-Z][$_a-zA-Z0-9]*$/.test(e)?e:JSON.stringify(e),value(e){if(e===null||typeof e!="object")return JSON.stringify(e);if(Array.isArray(e))return`[${e.map(r=>me.apiDescriptor.value(r)).join(", ")}]`;let t=Object.keys(e);return t.length===0?"{}":`{ ${t.map(r=>`${me.apiDescriptor.key(r)}: ${me.apiDescriptor.value(e[r])}`).join(", ")} }`},pair:({key:e,value:t})=>me.apiDescriptor.value({[e]:t})}});var Cn=E($t=>{"use strict";Object.defineProperty($t,"__esModule",{value:!0});var qi=(ue(),Y(ne));qi.__exportStar(qt(),$t)});var ft={};ge(ft,{default:()=>Vt});var M,Vt,We=Ot(()=>{M=e=>e;M.grey=M;M.red=M;M.bold=M;M.yellow=M;M.blue=M;M.default=M;Vt=M});var Wt=E(zt=>{"use strict";Object.defineProperty(zt,"__esModule",{value:!0});var gn=(We(),Y(ft));zt.commonDeprecatedHandler=(e,t,{descriptor:r})=>{let n=[`${gn.default.yellow(typeof e=="string"?r.key(e):r.pair(e))} is deprecated`];return t&&n.push(`we now treat it as ${gn.default.blue(typeof t=="string"?r.key(t):r.pair(t))}`),n.join("; ")+"."}});var yn=E(Gt=>{"use strict";Object.defineProperty(Gt,"__esModule",{value:!0});var $i=(ue(),Y(ne));$i.__exportStar(Wt(),Gt)});var _n=E(Kt=>{"use strict";Object.defineProperty(Kt,"__esModule",{value:!0});var Ut=(We(),Y(ft));Kt.commonInvalidHandler=(e,t,r)=>[`Invalid ${Ut.default.red(r.descriptor.key(e))} value.`,`Expected ${Ut.default.blue(r.schemas[e].expected(r))},`,`but received ${Ut.default.red(r.descriptor.value(t))}.`].join(" ")});var Jt=E(Ht=>{"use strict";Object.defineProperty(Ht,"__esModule",{value:!0});var Vi=(ue(),Y(ne));Vi.__exportStar(_n(),Ht)});var An=E((Pa,bn)=>{"use strict";var Xt=[],xn=[];bn.exports=function(e,t){if(e===t)return 0;var r=e;e.length>t.length&&(e=t,t=r);var n=e.length,i=t.length;if(n===0)return i;if(i===0)return n;for(;n>0&&e.charCodeAt(~-n)===t.charCodeAt(~-i);)n--,i--;if(n===0)return i;for(var u=0;us?D>s?s+1:D:D>a?a+1:D;return s}});var Qt=E(Zt=>{"use strict";Object.defineProperty(Zt,"__esModule",{value:!0});var Bn=(We(),Y(ft)),zi=An();Zt.levenUnknownHandler=(e,t,{descriptor:r,logger:n,schemas:i})=>{let u=[`Ignored unknown option ${Bn.default.yellow(r.pair({key:e,value:t}))}.`],o=Object.keys(i).sort().find(s=>zi(e,s)<3);o&&u.push(`Did you mean ${Bn.default.blue(r.key(o))}?`),n.warn(u.join(" "))}});var wn=E(er=>{"use strict";Object.defineProperty(er,"__esModule",{value:!0});var Wi=(ue(),Y(ne));Wi.__exportStar(Qt(),er)});var On=E(Ge=>{"use strict";Object.defineProperty(Ge,"__esModule",{value:!0});var tr=(ue(),Y(ne));tr.__exportStar(yn(),Ge);tr.__exportStar(Jt(),Ge);tr.__exportStar(wn(),Ge)});var ie=E(dt=>{"use strict";Object.defineProperty(dt,"__esModule",{value:!0});var Gi=["default","expected","validate","deprecated","forward","redirect","overlap","preprocess","postprocess"];function kn(e,t){let r=new e(t),n=Object.create(r);for(let i of Gi)i in t&&(n[i]=Ui(t[i],r,pt.prototype[i].length));return n}dt.createSchema=kn;var pt=class{constructor(t){this.name=t.name}static create(t){return kn(this,t)}default(t){}expected(t){return"nothing"}validate(t,r){return!1}deprecated(t,r){return!1}forward(t,r){}redirect(t,r){}overlap(t,r,n){return t}preprocess(t,r){return t}postprocess(t,r){return t}};dt.Schema=pt;function Ui(e,t,r){return typeof e=="function"?(...n)=>e(...n.slice(0,r-1),t,...n.slice(r-1)):()=>e}});var Sn=E(nr=>{"use strict";Object.defineProperty(nr,"__esModule",{value:!0});var Ki=ie(),rr=class extends Ki.Schema{constructor(t){super(t),this._sourceName=t.sourceName}expected(t){return t.schemas[this._sourceName].expected(t)}validate(t,r){return r.schemas[this._sourceName].validate(t,r)}redirect(t,r){return this._sourceName}};nr.AliasSchema=rr});var vn=E(ir=>{"use strict";Object.defineProperty(ir,"__esModule",{value:!0});var Hi=ie(),ur=class extends Hi.Schema{expected(){return"anything"}validate(){return!0}};ir.AnySchema=ur});var Nn=E(sr=>{"use strict";Object.defineProperty(sr,"__esModule",{value:!0});var Ji=(ue(),Y(ne)),Xi=ie(),or=class extends Xi.Schema{constructor(t){var{valueSchema:r,name:n=r.name}=t,i=Ji.__rest(t,["valueSchema","name"]);super(Object.assign({},i,{name:n})),this._valueSchema=r}expected(t){return`an array of ${this._valueSchema.expected(t)}`}validate(t,r){if(!Array.isArray(t))return!1;let n=[];for(let i of t){let u=r.normalizeValidateResult(this._valueSchema.validate(i,r),i);u!==!0&&n.push(u.value)}return n.length===0?!0:{value:n}}deprecated(t,r){let n=[];for(let i of t){let u=r.normalizeDeprecatedResult(this._valueSchema.deprecated(i,r),i);u!==!1&&n.push(...u.map(({value:o})=>({value:[o]})))}return n}forward(t,r){let n=[];for(let i of t){let u=r.normalizeForwardResult(this._valueSchema.forward(i,r),i);n.push(...u.map(Tn))}return n}redirect(t,r){let n=[],i=[];for(let u of t){let o=r.normalizeRedirectResult(this._valueSchema.redirect(u,r),u);"remain"in o&&n.push(o.remain),i.push(...o.redirect.map(Tn))}return n.length===0?{redirect:i}:{redirect:i,remain:n}}overlap(t,r){return t.concat(r)}};sr.ArraySchema=or;function Tn({from:e,to:t}){return{from:[e],to:t}}});var Pn=E(Dr=>{"use strict";Object.defineProperty(Dr,"__esModule",{value:!0});var Zi=ie(),ar=class extends Zi.Schema{expected(){return"true or false"}validate(t){return typeof t=="boolean"}};Dr.BooleanSchema=ar});var Ft=E(j=>{"use strict";Object.defineProperty(j,"__esModule",{value:!0});function Qi(e,t){let r=Object.create(null);for(let n of e){let i=n[t];if(r[i])throw new Error(`Duplicate ${t} ${JSON.stringify(i)}`);r[i]=n}return r}j.recordFromArray=Qi;function eo(e,t){let r=new Map;for(let n of e){let i=n[t];if(r.has(i))throw new Error(`Duplicate ${t} ${JSON.stringify(i)}`);r.set(i,n)}return r}j.mapFromArray=eo;function to(){let e=Object.create(null);return t=>{let r=JSON.stringify(t);return e[r]?!0:(e[r]=!0,!1)}}j.createAutoChecklist=to;function ro(e,t){let r=[],n=[];for(let i of e)t(i)?r.push(i):n.push(i);return[r,n]}j.partition=ro;function no(e){return e===Math.floor(e)}j.isInt=no;function uo(e,t){if(e===t)return 0;let r=typeof e,n=typeof t,i=["undefined","object","boolean","number","string"];return r!==n?i.indexOf(r)-i.indexOf(n):r!=="string"?Number(e)-Number(t):e.localeCompare(t)}j.comparePrimitive=uo;function io(e){return e===void 0?{}:e}j.normalizeDefaultResult=io;function oo(e,t){return e===!0?!0:e===!1?{value:t}:e}j.normalizeValidateResult=oo;function so(e,t,r=!1){return e===!1?!1:e===!0?r?!0:[{value:t}]:"value"in e?[e]:e.length===0?!1:e}j.normalizeDeprecatedResult=so;function cr(e,t){return typeof e=="string"||"key"in e?{from:t,to:e}:"from"in e?{from:e.from,to:e.to}:{from:t,to:e.to}}j.normalizeTransferResult=cr;function Rn(e,t){return e===void 0?[]:Array.isArray(e)?e.map(r=>cr(r,t)):[cr(e,t)]}j.normalizeForwardResult=Rn;function ao(e,t){let r=Rn(typeof e=="object"&&"redirect"in e?e.redirect:e,t);return r.length===0?{remain:t,redirect:r}:typeof e=="object"&&"remain"in e?{remain:e.remain,redirect:r}:{redirect:r}}j.normalizeRedirectResult=ao});var Ln=E(fr=>{"use strict";Object.defineProperty(fr,"__esModule",{value:!0});var Do=ie(),In=Ft(),lr=class extends Do.Schema{constructor(t){super(t),this._choices=In.mapFromArray(t.choices.map(r=>r&&typeof r=="object"?r:{value:r}),"value")}expected({descriptor:t}){let r=Array.from(this._choices.keys()).map(u=>this._choices.get(u)).filter(u=>!u.deprecated).map(u=>u.value).sort(In.comparePrimitive).map(t.value),n=r.slice(0,-2),i=r.slice(-2);return n.concat(i.join(" or ")).join(", ")}validate(t){return this._choices.has(t)}deprecated(t){let r=this._choices.get(t);return r&&r.deprecated?{value:t}:!1}forward(t){let r=this._choices.get(t);return r?r.forward:void 0}redirect(t){let r=this._choices.get(t);return r?r.redirect:void 0}};fr.ChoiceSchema=lr});var Fr=E(dr=>{"use strict";Object.defineProperty(dr,"__esModule",{value:!0});var co=ie(),pr=class extends co.Schema{expected(){return"a number"}validate(t,r){return typeof t=="number"}};dr.NumberSchema=pr});var jn=E(hr=>{"use strict";Object.defineProperty(hr,"__esModule",{value:!0});var lo=Ft(),fo=Fr(),mr=class extends fo.NumberSchema{expected(){return"an integer"}validate(t,r){return r.normalizeValidateResult(super.validate(t,r),t)===!0&&lo.isInt(t)}};hr.IntegerSchema=mr});var Yn=E(Cr=>{"use strict";Object.defineProperty(Cr,"__esModule",{value:!0});var po=ie(),Er=class extends po.Schema{expected(){return"a string"}validate(t){return typeof t=="string"}};Cr.StringSchema=Er});var Mn=E(Q=>{"use strict";Object.defineProperty(Q,"__esModule",{value:!0});var ce=(ue(),Y(ne));ce.__exportStar(Sn(),Q);ce.__exportStar(vn(),Q);ce.__exportStar(Nn(),Q);ce.__exportStar(Pn(),Q);ce.__exportStar(Ln(),Q);ce.__exportStar(jn(),Q);ce.__exportStar(Fr(),Q);ce.__exportStar(Yn(),Q)});var qn=E(Ae=>{"use strict";Object.defineProperty(Ae,"__esModule",{value:!0});var Fo=qt(),mo=Wt(),ho=Jt(),Eo=Qt();Ae.defaultDescriptor=Fo.apiDescriptor;Ae.defaultUnknownHandler=Eo.levenUnknownHandler;Ae.defaultInvalidHandler=ho.commonInvalidHandler;Ae.defaultDeprecatedHandler=mo.commonDeprecatedHandler});var $n=E(Et=>{"use strict";Object.defineProperty(Et,"__esModule",{value:!0});var mt=qn(),q=Ft();Et.normalize=(e,t,r)=>new ht(t,r).normalize(e);var ht=class{constructor(t,r){let{logger:n=console,descriptor:i=mt.defaultDescriptor,unknown:u=mt.defaultUnknownHandler,invalid:o=mt.defaultInvalidHandler,deprecated:s=mt.defaultDeprecatedHandler}=r||{};this._utils={descriptor:i,logger:n||{warn:()=>{}},schemas:q.recordFromArray(t,"name"),normalizeDefaultResult:q.normalizeDefaultResult,normalizeDeprecatedResult:q.normalizeDeprecatedResult,normalizeForwardResult:q.normalizeForwardResult,normalizeRedirectResult:q.normalizeRedirectResult,normalizeValidateResult:q.normalizeValidateResult},this._unknownHandler=u,this._invalidHandler=o,this._deprecatedHandler=s,this.cleanHistory()}cleanHistory(){this._hasDeprecationWarned=q.createAutoChecklist()}normalize(t){let r={},n=[t],i=()=>{for(;n.length!==0;){let u=n.shift(),o=this._applyNormalization(u,r);n.push(...o)}};i();for(let u of Object.keys(this._utils.schemas)){let o=this._utils.schemas[u];if(!(u in r)){let s=q.normalizeDefaultResult(o.default(this._utils));"value"in s&&n.push({[u]:s.value})}}i();for(let u of Object.keys(this._utils.schemas)){let o=this._utils.schemas[u];u in r&&(r[u]=o.postprocess(r[u],this._utils))}return r}_applyNormalization(t,r){let n=[],[i,u]=q.partition(Object.keys(t),o=>o in this._utils.schemas);for(let o of i){let s=this._utils.schemas[o],a=s.preprocess(t[o],this._utils),D=q.normalizeValidateResult(s.validate(a,this._utils),a);if(D!==!0){let{value:f}=D,p=this._invalidHandler(o,f,this._utils);throw typeof p=="string"?new Error(p):p}let c=({from:f,to:p})=>{n.push(typeof p=="string"?{[p]:f}:{[p.key]:p.value})},d=({value:f,redirectTo:p})=>{let m=q.normalizeDeprecatedResult(s.deprecated(f,this._utils),a,!0);if(m!==!1)if(m===!0)this._hasDeprecationWarned(o)||this._utils.logger.warn(this._deprecatedHandler(o,p,this._utils));else for(let{value:h}of m){let C={key:o,value:h};if(!this._hasDeprecationWarned(C)){let g=typeof p=="string"?{key:p,value:h}:p;this._utils.logger.warn(this._deprecatedHandler(C,g,this._utils))}}};q.normalizeForwardResult(s.forward(a,this._utils),a).forEach(c);let F=q.normalizeRedirectResult(s.redirect(a,this._utils),a);if(F.redirect.forEach(c),"remain"in F){let f=F.remain;r[o]=o in r?s.overlap(r[o],f,this._utils):f,d({value:f})}for(let{from:f,to:p}of F.redirect)d({value:f,redirectTo:p})}for(let o of u){let s=t[o],a=this._unknownHandler(o,s,this._utils);if(a)for(let D of Object.keys(a)){let c={[D]:a[D]};D in this._utils.schemas?n.push(c):Object.assign(r,c)}}return n}};Et.Normalizer=ht});var Vn=E(he=>{"use strict";Object.defineProperty(he,"__esModule",{value:!0});var Ue=(ue(),Y(ne));Ue.__exportStar(Cn(),he);Ue.__exportStar(On(),he);Ue.__exportStar(Mn(),he);Ue.__exportStar($n(),he);Ue.__exportStar(ie(),he)});var Jn={};ge(Jn,{getChalk:()=>wo,shouldHighlight:()=>Bo});var Bo,wo,Xn=Ot(()=>{We();Bo=()=>!1,wo=()=>Vt});var tu=E(gt=>{"use strict";Object.defineProperty(gt,"__esModule",{value:!0});gt.codeFrameColumns=eu;gt.default=So;var xr=(Xn(),Y(Jn)),Zn=!1;function Oo(e){return{gutter:e.grey,marker:e.red.bold,message:e.red.bold}}var Qn=/\r\n|[\n\r\u2028\u2029]/;function ko(e,t,r){let n=Object.assign({column:0,line:-1},e.start),i=Object.assign({},n,e.end),{linesAbove:u=2,linesBelow:o=3}=r||{},s=n.line,a=n.column,D=i.line,c=i.column,d=Math.max(s-(u+1),0),l=Math.min(t.length,D+o);s===-1&&(d=0),D===-1&&(l=t.length);let F=D-s,f={};if(F)for(let p=0;p<=F;p++){let m=p+s;if(!a)f[m]=!0;else if(p===0){let h=t[m-1].length;f[m]=[a,h-a+1]}else if(p===F)f[m]=[0,c];else{let h=t[m-p].length;f[m]=[0,h]}}else a===c?a?f[s]=[a,0]:f[s]=!0:f[s]=[a,c-a];return{start:d,end:l,markerLines:f}}function eu(e,t,r={}){let n=(r.highlightCode||r.forceColor)&&(0,xr.shouldHighlight)(r),i=(0,xr.getChalk)(r),u=Oo(i),o=(p,m)=>n?p(m):m,s=e.split(Qn),{start:a,end:D,markerLines:c}=ko(t,s,r),d=t.start&&typeof t.start.column=="number",l=String(D).length,f=(n?(0,xr.default)(e,r):e).split(Qn,D).slice(a,D).map((p,m)=>{let h=a+1+m,g=` ${` ${h}`.slice(-l)} |`,y=c[h],b=!c[h+1];if(y){let se="";if(Array.isArray(y)){let G=p.slice(0,Math.max(y[0]-1,0)).replace(/[^\t]/g," "),ae=y[1]||1;se=[` - `,o(u.gutter,g.replace(/\d/g," "))," ",G,o(u.marker,"^").repeat(ae)].join(""),b&&r.message&&(se+=" "+o(u.message,r.message))}return[o(u.marker,">"),o(u.gutter,g),p.length>0?` ${p}`:"",se].join("")}else return` ${o(u.gutter,g)}${p.length>0?` ${p}`:""}`}).join(` -`);return r.message&&!d&&(f=`${" ".repeat(l+1)}${r.message} -${f}`),n?i.reset(f):f}function So(e,t,r,n={}){if(!Zn){Zn=!0;let u="Passing lineNumber and colNumber is deprecated to @babel/code-frame. Please use `codeFrameColumns`.";{let o=new Error(u);o.name="DeprecationWarning",console.warn(new Error(u))}}return r=Math.max(r,0),eu(e,{start:{column:r,line:t}},n)}});var xs={};ge(xs,{__debug:()=>_s,check:()=>gs,doc:()=>wt,format:()=>Vu,formatWithCursor:()=>$u,getSupportInfo:()=>ys,util:()=>Bt,version:()=>qu});var Ju=(e,t,r,n)=>{if(!(e&&t==null))return t.replaceAll?t.replaceAll(r,n):r.global?t.replace(r,n):t.split(r).join(n)},De=Ju;var Bu=kt(qr(),1);var U="string",V="array",K="cursor",v="indent",T="align",N="trim",A="group",w="fill",B="if-break",P="indent-if-break",R="line-suffix",I="line-suffix-boundary",x="line",k="label",O="break-parent",tt=new Set([K,v,T,N,A,w,B,P,R,I,x,k,O]);function ri(e){if(typeof e=="string")return U;if(Array.isArray(e))return V;if(!e)return;let{type:t}=e;if(tt.has(t))return t}var H=ri;var ni=e=>new Intl.ListFormat("en-US",{type:"disjunction"}).format(e);function ui(e){let t=e===null?"null":typeof e;if(t!=="string"&&t!=="object")return`Unexpected doc '${t}', -Expected it to be 'string' or 'object'.`;if(H(e))throw new Error("doc is valid.");let r=Object.prototype.toString.call(e);if(r!=="[object Object]")return`Unexpected doc '${r}'.`;let n=ni([...tt].map(i=>`'${i}'`));return`Unexpected doc.type '${e.type}'. -Expected it to be ${n}.`}var Tt=class extends Error{name="InvalidDocError";constructor(t){super(ui(t)),this.doc=t}},te=Tt;var $r={};function ii(e,t,r,n){let i=[e];for(;i.length>0;){let u=i.pop();if(u===$r){r(i.pop());continue}r&&i.push(u,$r);let o=H(u);if(!o)throw new te(u);if((t==null?void 0:t(u))!==!1)switch(o){case V:case w:{let s=o===V?u:u.parts;for(let a=s.length,D=a-1;D>=0;--D)i.push(s[D]);break}case B:i.push(u.flatContents,u.breakContents);break;case A:if(n&&u.expandedStates)for(let s=u.expandedStates.length,a=s-1;a>=0;--a)i.push(u.expandedStates[a]);else i.push(u.contents);break;case T:case v:case P:case k:case R:i.push(u.contents);break;case U:case K:case N:case I:case x:case O:break;default:throw new te(u)}}}var Te=ii;var Vr=()=>{},J=Vr,rt=Vr;function Fe(e){return J(e),{type:v,contents:e}}function de(e,t){return J(t),{type:T,contents:t,n:e}}function Nt(e,t={}){return J(e),rt(t.expandedStates,!0),{type:A,id:t.id,contents:e,break:!!t.shouldBreak,expandedStates:t.expandedStates}}function zr(e){return de(Number.NEGATIVE_INFINITY,e)}function Wr(e){return de({type:"root"},e)}function Gr(e){return de(-1,e)}function Ur(e,t){return Nt(e[0],{...t,expandedStates:e})}function nt(e){return rt(e),{type:w,parts:e}}function Kr(e,t="",r={}){return J(e),t!==""&&J(t),{type:B,breakContents:e,flatContents:t,groupId:r.groupId}}function Hr(e,t){return J(e),{type:P,contents:e,groupId:t.groupId,negate:t.negate}}function Ne(e){return J(e),{type:R,contents:e}}var Jr={type:I},_e={type:O},Xr={type:N},Pe={type:x,hard:!0},Pt={type:x,hard:!0,literal:!0},ut={type:x},Zr={type:x,soft:!0},X=[Pe,_e],it=[Pt,_e],Re={type:K};function Ie(e,t){J(e),rt(t);let r=[];for(let n=0;n0){for(let i=0;i{if(!(e&&t==null))return Array.isArray(t)||typeof t=="string"?t[r<0?t.length+r:r]:t.at(r)},_=oi;function en(e){let t=e.indexOf("\r");return t>=0?e.charAt(t+1)===` -`?"crlf":"cr":"lf"}function Le(e){switch(e){case"cr":return"\r";case"crlf":return`\r +(function(t){function e(){var o=t();return o.default||o}if(typeof exports=="object"&&typeof module=="object")module.exports=e();else if(typeof define=="function"&&define.amd)define(e);else{var f=typeof globalThis<"u"?globalThis:typeof global<"u"?global:typeof self<"u"?self:this||{};f.prettier=e()}})(function(){"use strict";var yu=Object.create;var He=Object.defineProperty;var Au=Object.getOwnPropertyDescriptor;var Bu=Object.getOwnPropertyNames;var wu=Object.getPrototypeOf,_u=Object.prototype.hasOwnProperty;var or=e=>{throw TypeError(e)};var xu=(e,t)=>()=>(e&&(t=e(e=0)),t);var At=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),We=(e,t)=>{for(var r in t)He(e,r,{get:t[r],enumerable:!0})},sr=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let i of Bu(t))!_u.call(e,i)&&i!==r&&He(e,i,{get:()=>t[i],enumerable:!(n=Au(t,i))||n.enumerable});return e};var Me=(e,t,r)=>(r=e!=null?yu(wu(e)):{},sr(t||!e||!e.__esModule?He(r,"default",{value:e,enumerable:!0}):r,e)),ar=e=>sr(He({},"__esModule",{value:!0}),e);var vu=(e,t,r)=>t.has(e)||or("Cannot "+r);var Dr=(e,t,r)=>t.has(e)?or("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,r);var pe=(e,t,r)=>(vu(e,t,"access private method"),r);var ot=At((oa,sn)=>{"use strict";var on=new Proxy(String,{get:()=>on});sn.exports=on});var Tn={};We(Tn,{default:()=>wi,shouldHighlight:()=>Bi});var Bi,wi,kn=xu(()=>{Bi=()=>!1,wi=String});var Pn=At((bD,Xt)=>{var g=String,Ln=function(){return{isColorSupported:!1,reset:g,bold:g,dim:g,italic:g,underline:g,inverse:g,hidden:g,strikethrough:g,black:g,red:g,green:g,yellow:g,blue:g,magenta:g,cyan:g,white:g,gray:g,bgBlack:g,bgRed:g,bgGreen:g,bgYellow:g,bgBlue:g,bgMagenta:g,bgCyan:g,bgWhite:g}};Xt.exports=Ln();Xt.exports.createColors=Ln});var $n=At(Ct=>{"use strict";Object.defineProperty(Ct,"__esModule",{value:!0});Ct.codeFrameColumns=Mn;Ct.default=Si;var In=(kn(),ar(Tn)),Hn=_i(Pn(),!0);function Wn(e){if(typeof WeakMap!="function")return null;var t=new WeakMap,r=new WeakMap;return(Wn=function(n){return n?r:t})(e)}function _i(e,t){if(!t&&e&&e.__esModule)return e;if(e===null||typeof e!="object"&&typeof e!="function")return{default:e};var r=Wn(t);if(r&&r.has(e))return r.get(e);var n={__proto__:null},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var u in e)if(u!=="default"&&{}.hasOwnProperty.call(e,u)){var o=i?Object.getOwnPropertyDescriptor(e,u):null;o&&(o.get||o.set)?Object.defineProperty(n,u,o):n[u]=e[u]}return n.default=e,r&&r.set(e,n),n}var xi=Hn.default,Rn=(e,t)=>r=>e(t(r)),Zt;function vi(e){if(e){var t;return(t=Zt)!=null||(Zt=(0,Hn.createColors)(!0)),Zt}return xi}var Yn=!1;function bi(e){return{gutter:e.gray,marker:Rn(e.red,e.bold),message:Rn(e.red,e.bold)}}var jn=/\r\n|[\n\r\u2028\u2029]/;function Oi(e,t,r){let n=Object.assign({column:0,line:-1},e.start),i=Object.assign({},n,e.end),{linesAbove:u=2,linesBelow:o=3}=r||{},s=n.line,a=n.column,D=i.line,l=i.column,d=Math.max(s-(u+1),0),f=Math.min(t.length,D+o);s===-1&&(d=0),D===-1&&(f=t.length);let p=D-s,c={};if(p)for(let F=0;F<=p;F++){let m=F+s;if(!a)c[m]=!0;else if(F===0){let E=t[m-1].length;c[m]=[a,E-a+1]}else if(F===p)c[m]=[0,l];else{let E=t[m-F].length;c[m]=[0,E]}}else a===l?a?c[s]=[a,0]:c[s]=!0:c[s]=[a,l-a];return{start:d,end:f,markerLines:c}}function Mn(e,t,r={}){let n=(r.highlightCode||r.forceColor)&&(0,In.shouldHighlight)(r),i=vi(r.forceColor),u=bi(i),o=(F,m)=>n?F(m):m,s=e.split(jn),{start:a,end:D,markerLines:l}=Oi(t,s,r),d=t.start&&typeof t.start.column=="number",f=String(D).length,c=(n?(0,In.default)(e,r):e).split(jn,D).slice(a,D).map((F,m)=>{let E=a+1+m,w=` ${` ${E}`.slice(-f)} |`,h=l[E],C=!l[E+1];if(h){let k="";if(Array.isArray(h)){let v=F.slice(0,Math.max(h[0]-1,0)).replace(/[^\t]/g," "),$=h[1]||1;k=[` + `,o(u.gutter,w.replace(/\d/g," "))," ",v,o(u.marker,"^").repeat($)].join(""),C&&r.message&&(k+=" "+o(u.message,r.message))}return[o(u.marker,">"),o(u.gutter,w),F.length>0?` ${F}`:"",k].join("")}else return` ${o(u.gutter,w)}${F.length>0?` ${F}`:""}`}).join(` +`);return r.message&&!d&&(c=`${" ".repeat(f+1)}${r.message} +${c}`),n?i.reset(c):c}function Si(e,t,r,n={}){if(!Yn){Yn=!0;let u="Passing lineNumber and colNumber is deprecated to @babel/code-frame. Please use `codeFrameColumns`.";{let o=new Error(u);o.name="DeprecationWarning",console.warn(new Error(u))}}return r=Math.max(r,0),Mn(e,{start:{column:r,line:t}},n)}});var po={};We(po,{__debug:()=>fo,check:()=>lo,doc:()=>nr,format:()=>gu,formatWithCursor:()=>Cu,getSupportInfo:()=>co,util:()=>ir,version:()=>fu});var bu=(e,t,r,n)=>{if(!(e&&t==null))return t.replaceAll?t.replaceAll(r,n):r.global?t.replace(r,n):t.split(r).join(n)},ne=bu;function Z(){}Z.prototype={diff:function(t,r){var n,i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},u=i.callback;typeof i=="function"&&(u=i,i={}),this.options=i;var o=this;function s(h){return u?(setTimeout(function(){u(void 0,h)},0),!0):h}t=this.castInput(t),r=this.castInput(r),t=this.removeEmpty(this.tokenize(t)),r=this.removeEmpty(this.tokenize(r));var a=r.length,D=t.length,l=1,d=a+D;i.maxEditLength&&(d=Math.min(d,i.maxEditLength));var f=(n=i.timeout)!==null&&n!==void 0?n:1/0,p=Date.now()+f,c=[{oldPos:-1,lastComponent:void 0}],F=this.extractCommon(c[0],r,t,0);if(c[0].oldPos+1>=D&&F+1>=a)return s([{value:this.join(r),count:r.length}]);var m=-1/0,E=1/0;function A(){for(var h=Math.max(m,-l);h<=Math.min(E,l);h+=2){var C=void 0,k=c[h-1],v=c[h+1];k&&(c[h-1]=void 0);var $=!1;if(v){var ye=v.oldPos-h;$=v&&0<=ye&&ye=D&&F+1>=a)return s(Ou(o,C.lastComponent,r,t,o.useLongestToken));c[h]=C,C.oldPos+1>=D&&(E=Math.min(E,h-1)),F+1>=a&&(m=Math.max(m,h+1))}l++}if(u)(function h(){setTimeout(function(){if(l>d||Date.now()>p)return u();A()||h()},0)})();else for(;l<=d&&Date.now()<=p;){var w=A();if(w)return w}},addToPath:function(t,r,n,i){var u=t.lastComponent;return u&&u.added===r&&u.removed===n?{oldPos:t.oldPos+i,lastComponent:{count:u.count+1,added:r,removed:n,previousComponent:u.previousComponent}}:{oldPos:t.oldPos+i,lastComponent:{count:1,added:r,removed:n,previousComponent:u}}},extractCommon:function(t,r,n,i){for(var u=r.length,o=n.length,s=t.oldPos,a=s-i,D=0;a+1F.length?E:F}),d.value=e.join(f)}else d.value=e.join(r.slice(D,D+d.count));D+=d.count,d.added||(l+=d.count)}}var c=u[a-1];return a>1&&typeof c.value=="string"&&(c.added||c.removed)&&e.equals("",c.value)&&(u[a-2].value+=c.value,u.pop()),u}var ho=new Z;var lr=/^[A-Za-z\xC0-\u02C6\u02C8-\u02D7\u02DE-\u02FF\u1E00-\u1EFF]+$/,cr=/\S/,fr=new Z;fr.equals=function(e,t){return this.options.ignoreCase&&(e=e.toLowerCase(),t=t.toLowerCase()),e===t||this.options.ignoreWhitespace&&!cr.test(e)&&!cr.test(t)};fr.tokenize=function(e){for(var t=e.split(/([^\S\r\n]+|[()[\]{}'"\r\n]|\b)/),r=0;r"u"?r:o}:n;return typeof e=="string"?e:JSON.stringify(Bt(e,null,null,i),i," ")};Ae.equals=function(e,t){return Z.prototype.equals.call(Ae,e.replace(/,([\r\n])/g,"$1"),t.replace(/,([\r\n])/g,"$1"))};function Bt(e,t,r,n,i){t=t||[],r=r||[],n&&(e=n(i,e));var u;for(u=0;u=0?e.charAt(t+1)===` +`?"crlf":"cr":"lf"}function Be(e){switch(e){case"cr":return"\r";case"crlf":return`\r `;default:return` -`}}function Rt(e,t){let r;switch(t){case` -`:r=/\n/g;break;case"\r":r=/\r/g;break;case`\r -`:r=/\r\n/g;break;default:throw new Error(`Unexpected "eol" ${JSON.stringify(t)}.`)}let n=e.match(r);return n?n.length:0}function tn(e){return De(!1,e,/\r\n?/g,` -`)}var rn=()=>/[#*0-9]\uFE0F?\u20E3|[\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u231A\u231B\u2328\u23CF\u23ED-\u23EF\u23F1\u23F2\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB\u25FC\u25FE\u2600-\u2604\u260E\u2611\u2614\u2615\u2618\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638-\u263A\u2640\u2642\u2648-\u2653\u265F\u2660\u2663\u2665\u2666\u2668\u267B\u267E\u267F\u2692\u2694-\u2697\u2699\u269B\u269C\u26A0\u26A7\u26AA\u26B0\u26B1\u26BD\u26BE\u26C4\u26C8\u26CF\u26D1\u26D3\u26E9\u26F0-\u26F5\u26F7\u26F8\u26FA\u2702\u2708\u2709\u270F\u2712\u2714\u2716\u271D\u2721\u2733\u2734\u2744\u2747\u2757\u2763\u27A1\u2934\u2935\u2B05-\u2B07\u2B1B\u2B1C\u2B55\u3030\u303D\u3297\u3299]\uFE0F?|[\u261D\u270C\u270D](?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?|[\u270A\u270B](?:\uD83C[\uDFFB-\uDFFF])?|[\u23E9-\u23EC\u23F0\u23F3\u25FD\u2693\u26A1\u26AB\u26C5\u26CE\u26D4\u26EA\u26FD\u2705\u2728\u274C\u274E\u2753-\u2755\u2795-\u2797\u27B0\u27BF\u2B50]|\u26F9(?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|\u2764\uFE0F?(?:\u200D(?:\uD83D\uDD25|\uD83E\uDE79))?|\uD83C(?:[\uDC04\uDD70\uDD71\uDD7E\uDD7F\uDE02\uDE37\uDF21\uDF24-\uDF2C\uDF36\uDF7D\uDF96\uDF97\uDF99-\uDF9B\uDF9E\uDF9F\uDFCD\uDFCE\uDFD4-\uDFDF\uDFF5\uDFF7]\uFE0F?|[\uDF85\uDFC2\uDFC7](?:\uD83C[\uDFFB-\uDFFF])?|[\uDFC3\uDFC4\uDFCA](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDFCB\uDFCC](?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\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]|\uDDE6\uD83C[\uDDE8-\uDDEC\uDDEE\uDDF1\uDDF2\uDDF4\uDDF6-\uDDFA\uDDFC\uDDFD\uDDFF]|\uDDE7\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEF\uDDF1-\uDDF4\uDDF6-\uDDF9\uDDFB\uDDFC\uDDFE\uDDFF]|\uDDE8\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDEE\uDDF0-\uDDF5\uDDF7\uDDFA-\uDDFF]|\uDDE9\uD83C[\uDDEA\uDDEC\uDDEF\uDDF0\uDDF2\uDDF4\uDDFF]|\uDDEA\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDED\uDDF7-\uDDFA]|\uDDEB\uD83C[\uDDEE-\uDDF0\uDDF2\uDDF4\uDDF7]|\uDDEC\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEE\uDDF1-\uDDF3\uDDF5-\uDDFA\uDDFC\uDDFE]|\uDDED\uD83C[\uDDF0\uDDF2\uDDF3\uDDF7\uDDF9\uDDFA]|\uDDEE\uD83C[\uDDE8-\uDDEA\uDDF1-\uDDF4\uDDF6-\uDDF9]|\uDDEF\uD83C[\uDDEA\uDDF2\uDDF4\uDDF5]|\uDDF0\uD83C[\uDDEA\uDDEC-\uDDEE\uDDF2\uDDF3\uDDF5\uDDF7\uDDFC\uDDFE\uDDFF]|\uDDF1\uD83C[\uDDE6-\uDDE8\uDDEE\uDDF0\uDDF7-\uDDFB\uDDFE]|\uDDF2\uD83C[\uDDE6\uDDE8-\uDDED\uDDF0-\uDDFF]|\uDDF3\uD83C[\uDDE6\uDDE8\uDDEA-\uDDEC\uDDEE\uDDF1\uDDF4\uDDF5\uDDF7\uDDFA\uDDFF]|\uDDF4\uD83C\uDDF2|\uDDF5\uD83C[\uDDE6\uDDEA-\uDDED\uDDF0-\uDDF3\uDDF7-\uDDF9\uDDFC\uDDFE]|\uDDF6\uD83C\uDDE6|\uDDF7\uD83C[\uDDEA\uDDF4\uDDF8\uDDFA\uDDFC]|\uDDF8\uD83C[\uDDE6-\uDDEA\uDDEC-\uDDF4\uDDF7-\uDDF9\uDDFB\uDDFD-\uDDFF]|\uDDF9\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDED\uDDEF-\uDDF4\uDDF7\uDDF9\uDDFB\uDDFC\uDDFF]|\uDDFA\uD83C[\uDDE6\uDDEC\uDDF2\uDDF3\uDDF8\uDDFE\uDDFF]|\uDDFB\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDEE\uDDF3\uDDFA]|\uDDFC\uD83C[\uDDEB\uDDF8]|\uDDFD\uD83C\uDDF0|\uDDFE\uD83C[\uDDEA\uDDF9]|\uDDFF\uD83C[\uDDE6\uDDF2\uDDFC]|\uDFF3\uFE0F?(?:\u200D(?:\u26A7\uFE0F?|\uD83C\uDF08))?|\uDFF4(?:\u200D\u2620\uFE0F?|\uDB40\uDC67\uDB40\uDC62\uDB40(?:\uDC65\uDB40\uDC6E\uDB40\uDC67|\uDC73\uDB40\uDC63\uDB40\uDC74|\uDC77\uDB40\uDC6C\uDB40\uDC73)\uDB40\uDC7F)?)|\uD83D(?:[\uDC08\uDC26](?:\u200D\u2B1B)?|[\uDC3F\uDCFD\uDD49\uDD4A\uDD6F\uDD70\uDD73\uDD76-\uDD79\uDD87\uDD8A-\uDD8D\uDDA5\uDDA8\uDDB1\uDDB2\uDDBC\uDDC2-\uDDC4\uDDD1-\uDDD3\uDDDC-\uDDDE\uDDE1\uDDE3\uDDE8\uDDEF\uDDF3\uDDFA\uDECB\uDECD-\uDECF\uDEE0-\uDEE5\uDEE9\uDEF0\uDEF3]\uFE0F?|[\uDC42\uDC43\uDC46-\uDC50\uDC66\uDC67\uDC6B-\uDC6D\uDC72\uDC74-\uDC76\uDC78\uDC7C\uDC83\uDC85\uDC8F\uDC91\uDCAA\uDD7A\uDD95\uDD96\uDE4C\uDE4F\uDEC0\uDECC](?:\uD83C[\uDFFB-\uDFFF])?|[\uDC6E\uDC70\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDD74\uDD90](?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?|[\uDC00-\uDC07\uDC09-\uDC14\uDC16-\uDC25\uDC27-\uDC3A\uDC3C-\uDC3E\uDC40\uDC44\uDC45\uDC51-\uDC65\uDC6A\uDC79-\uDC7B\uDC7D-\uDC80\uDC84\uDC88-\uDC8E\uDC90\uDC92-\uDCA9\uDCAB-\uDCFC\uDCFF-\uDD3D\uDD4B-\uDD4E\uDD50-\uDD67\uDDA4\uDDFB-\uDE2D\uDE2F-\uDE34\uDE37-\uDE44\uDE48-\uDE4A\uDE80-\uDEA2\uDEA4-\uDEB3\uDEB7-\uDEBF\uDEC1-\uDEC5\uDED0-\uDED2\uDED5-\uDED7\uDEDC-\uDEDF\uDEEB\uDEEC\uDEF4-\uDEFC\uDFE0-\uDFEB\uDFF0]|\uDC15(?:\u200D\uD83E\uDDBA)?|\uDC3B(?:\u200D\u2744\uFE0F?)?|\uDC41\uFE0F?(?:\u200D\uD83D\uDDE8\uFE0F?)?|\uDC68(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDC68\uDC69]\u200D\uD83D(?:\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?)|[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?)|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFC-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFD-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFD\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFE])))?))?|\uDC69(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?[\uDC68\uDC69]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?|\uDC69\u200D\uD83D(?:\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?))|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFC-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB\uDFFD-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB-\uDFFD\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB-\uDFFE])))?))?|\uDC6F(?:\u200D[\u2640\u2642]\uFE0F?)?|\uDD75(?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|\uDE2E(?:\u200D\uD83D\uDCA8)?|\uDE35(?:\u200D\uD83D\uDCAB)?|\uDE36(?:\u200D\uD83C\uDF2B\uFE0F?)?)|\uD83E(?:[\uDD0C\uDD0F\uDD18-\uDD1F\uDD30-\uDD34\uDD36\uDD77\uDDB5\uDDB6\uDDBB\uDDD2\uDDD3\uDDD5\uDEC3-\uDEC5\uDEF0\uDEF2-\uDEF8](?:\uD83C[\uDFFB-\uDFFF])?|[\uDD26\uDD35\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD-\uDDCF\uDDD4\uDDD6-\uDDDD](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDDDE\uDDDF](?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDD0D\uDD0E\uDD10-\uDD17\uDD20-\uDD25\uDD27-\uDD2F\uDD3A\uDD3F-\uDD45\uDD47-\uDD76\uDD78-\uDDB4\uDDB7\uDDBA\uDDBC-\uDDCC\uDDD0\uDDE0-\uDDFF\uDE70-\uDE7C\uDE80-\uDE88\uDE90-\uDEBD\uDEBF-\uDEC2\uDECE-\uDEDB\uDEE0-\uDEE8]|\uDD3C(?:\u200D[\u2640\u2642]\uFE0F?|\uD83C[\uDFFB-\uDFFF])?|\uDDD1(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83E\uDDD1))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFC-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB\uDFFD-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB-\uDFFD\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB-\uDFFE]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?))?|\uDEF1(?:\uD83C(?:\uDFFB(?:\u200D\uD83E\uDEF2\uD83C[\uDFFC-\uDFFF])?|\uDFFC(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB\uDFFD-\uDFFF])?|\uDFFD(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])?|\uDFFE(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB-\uDFFD\uDFFF])?|\uDFFF(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB-\uDFFE])?))?)/g;var nn={eastAsianWidth(e){var t=e.charCodeAt(0),r=e.length==2?e.charCodeAt(1):0,n=t;return 55296<=t&&t<=56319&&56320<=r&&r<=57343&&(t&=1023,r&=1023,n=t<<10|r,n+=65536),n==12288||65281<=n&&n<=65376||65504<=n&&n<=65510?"F":4352<=n&&n<=4447||4515<=n&&n<=4519||4602<=n&&n<=4607||9001<=n&&n<=9002||11904<=n&&n<=11929||11931<=n&&n<=12019||12032<=n&&n<=12245||12272<=n&&n<=12283||12289<=n&&n<=12350||12353<=n&&n<=12438||12441<=n&&n<=12543||12549<=n&&n<=12589||12593<=n&&n<=12686||12688<=n&&n<=12730||12736<=n&&n<=12771||12784<=n&&n<=12830||12832<=n&&n<=12871||12880<=n&&n<=13054||13056<=n&&n<=19903||19968<=n&&n<=42124||42128<=n&&n<=42182||43360<=n&&n<=43388||44032<=n&&n<=55203||55216<=n&&n<=55238||55243<=n&&n<=55291||63744<=n&&n<=64255||65040<=n&&n<=65049||65072<=n&&n<=65106||65108<=n&&n<=65126||65128<=n&&n<=65131||110592<=n&&n<=110593||127488<=n&&n<=127490||127504<=n&&n<=127546||127552<=n&&n<=127560||127568<=n&&n<=127569||131072<=n&&n<=194367||177984<=n&&n<=196605||196608<=n&&n<=262141?"W":"N"}};var si=/[^\x20-\x7F]/;function ai(e){if(!e)return 0;if(!si.test(e))return e.length;e=e.replace(rn()," ");let t=0;for(let r of e){let n=r.codePointAt(0);if(n<=31||n>=127&&n<=159||n>=768&&n<=879)continue;let i=nn.eastAsianWidth(r);t+=i==="F"||i==="W"?2:1}return t}var je=ai;var sn=e=>{if(Array.isArray(e))return e;if(e.type!==w)throw new Error(`Expect doc to be 'array' or '${w}'.`);return e.parts};function Me(e,t){if(typeof e=="string")return t(e);let r=new Map;return n(e);function n(u){if(r.has(u))return r.get(u);let o=i(u);return r.set(u,o),o}function i(u){switch(H(u)){case V:return t(u.map(n));case w:return t({...u,parts:u.parts.map(n)});case B:return t({...u,breakContents:n(u.breakContents),flatContents:n(u.flatContents)});case A:{let{expandedStates:o,contents:s}=u;return o?(o=o.map(n),s=o[0]):s=n(s),t({...u,contents:s,expandedStates:o})}case T:case v:case P:case k:case R:return t({...u,contents:n(u.contents)});case U:case K:case N:case I:case x:case O:return t(u);default:throw new te(u)}}}function st(e,t,r){let n=r,i=!1;function u(o){if(i)return!1;let s=t(o);s!==void 0&&(i=!0,n=s)}return Te(e,u),n}function Di(e){if(e.type===A&&e.break||e.type===x&&e.hard||e.type===O)return!0}function an(e){return st(e,Di,!1)}function un(e){if(e.length>0){let t=_(!1,e,-1);!t.expandedStates&&!t.break&&(t.break="propagated")}return null}function Dn(e){let t=new Set,r=[];function n(u){if(u.type===O&&un(r),u.type===A){if(r.push(u),t.has(u))return!1;t.add(u)}}function i(u){u.type===A&&r.pop().break&&un(r)}Te(e,n,i,!0)}function ci(e){return e.type===x&&!e.hard?e.soft?"":" ":e.type===B?e.flatContents:e}function cn(e){return Me(e,ci)}function on(e){for(e=[...e];e.length>=2&&_(!1,e,-2).type===x&&_(!1,e,-1).type===O;)e.length-=2;if(e.length>0){let t=Ye(_(!1,e,-1));e[e.length-1]=t}return e}function Ye(e){switch(H(e)){case T:case v:case P:case A:case R:case k:{let t=Ye(e.contents);return{...e,contents:t}}case B:return{...e,breakContents:Ye(e.breakContents),flatContents:Ye(e.flatContents)};case w:return{...e,parts:on(e.parts)};case V:return on(e);case U:return e.replace(/[\n\r]*$/,"");case K:case N:case I:case x:case O:break;default:throw new te(e)}return e}function at(e){return Ye(fi(e))}function li(e){switch(H(e)){case w:if(e.parts.every(t=>t===""))return"";break;case A:if(!e.contents&&!e.id&&!e.break&&!e.expandedStates)return"";if(e.contents.type===A&&e.contents.id===e.id&&e.contents.break===e.break&&e.contents.expandedStates===e.expandedStates)return e.contents;break;case T:case v:case P:case R:if(!e.contents)return"";break;case B:if(!e.flatContents&&!e.breakContents)return"";break;case V:{let t=[];for(let r of e){if(!r)continue;let[n,...i]=Array.isArray(r)?r:[r];typeof n=="string"&&typeof _(!1,t,-1)=="string"?t[t.length-1]+=n:t.push(n),t.push(...i)}return t.length===0?"":t.length===1?t[0]:t}case U:case K:case N:case I:case x:case k:case O:break;default:throw new te(e)}return e}function fi(e){return Me(e,t=>li(t))}function ln(e,t=it){return Me(e,r=>typeof r=="string"?Ie(t,r.split(` -`)):r)}function pi(e){if(e.type===x)return!0}function fn(e){return st(e,pi,!1)}function Dt(e,t){return e.type===k?{...e,contents:t(e.contents)}:t(e)}var L=Symbol("MODE_BREAK"),Z=Symbol("MODE_FLAT"),qe=Symbol("cursor");function pn(){return{value:"",length:0,queue:[]}}function di(e,t){return It(e,{type:"indent"},t)}function Fi(e,t,r){return t===Number.NEGATIVE_INFINITY?e.root||pn():t<0?It(e,{type:"dedent"},r):t?t.type==="root"?{...e,root:e}:It(e,{type:typeof t=="string"?"stringAlign":"numberAlign",n:t},r):e}function It(e,t,r){let n=t.type==="dedent"?e.queue.slice(0,-1):[...e.queue,t],i="",u=0,o=0,s=0;for(let f of n)switch(f.type){case"indent":c(),r.useTabs?a(1):D(r.tabWidth);break;case"stringAlign":c(),i+=f.n,u+=f.n.length;break;case"numberAlign":o+=1,s+=f.n;break;default:throw new Error(`Unexpected type '${f.type}'`)}return l(),{...e,value:i,length:u,queue:n};function a(f){i+=" ".repeat(f),u+=r.tabWidth*f}function D(f){i+=" ".repeat(f),u+=f}function c(){r.useTabs?d():l()}function d(){o>0&&a(o),F()}function l(){s>0&&D(s),F()}function F(){o=0,s=0}}function Lt(e){let t=0,r=0,n=e.length;e:for(;n--;){let i=e[n];if(i===qe){r++;continue}for(let u=i.length-1;u>=0;u--){let o=i[u];if(o===" "||o===" ")t++;else{e[n]=i.slice(0,u+1);break e}}}if(t>0||r>0)for(e.length=n+1;r-- >0;)e.push(qe);return t}function ct(e,t,r,n,i,u){if(r===Number.POSITIVE_INFINITY)return!0;let o=t.length,s=[e],a=[];for(;r>=0;){if(s.length===0){if(o===0)return!0;s.push(t[--o]);continue}let{mode:D,doc:c}=s.pop();switch(H(c)){case U:a.push(c),r-=je(c);break;case V:case w:{let d=sn(c);for(let l=d.length-1;l>=0;l--)s.push({mode:D,doc:d[l]});break}case v:case T:case P:case k:s.push({mode:D,doc:c.contents});break;case N:r+=Lt(a);break;case A:{if(u&&c.break)return!1;let d=c.break?L:D,l=c.expandedStates&&d===L?_(!1,c.expandedStates,-1):c.contents;s.push({mode:d,doc:l});break}case B:{let l=(c.groupId?i[c.groupId]||Z:D)===L?c.breakContents:c.flatContents;l&&s.push({mode:D,doc:l});break}case x:if(D===L||c.hard)return!0;c.soft||(a.push(" "),r--);break;case R:n=!0;break;case I:if(n)return!1;break}}return!1}function xe(e,t){let r={},n=t.printWidth,i=Le(t.endOfLine),u=0,o=[{ind:pn(),mode:L,doc:e}],s=[],a=!1,D=[],c=0;for(Dn(e);o.length>0;){let{ind:l,mode:F,doc:f}=o.pop();switch(H(f)){case U:{let p=i!==` -`?De(!1,f,` -`,i):f;s.push(p),o.length>0&&(u+=je(p));break}case V:for(let p=f.length-1;p>=0;p--)o.push({ind:l,mode:F,doc:f[p]});break;case K:if(c>=2)throw new Error("There are too many 'cursor' in doc.");s.push(qe),c++;break;case v:o.push({ind:di(l,t),mode:F,doc:f.contents});break;case T:o.push({ind:Fi(l,f.n,t),mode:F,doc:f.contents});break;case N:u-=Lt(s);break;case A:switch(F){case Z:if(!a){o.push({ind:l,mode:f.break?L:Z,doc:f.contents});break}case L:{a=!1;let p={ind:l,mode:Z,doc:f.contents},m=n-u,h=D.length>0;if(!f.break&&ct(p,o,m,h,r))o.push(p);else if(f.expandedStates){let C=_(!1,f.expandedStates,-1);if(f.break){o.push({ind:l,mode:L,doc:C});break}else for(let g=1;g=f.expandedStates.length){o.push({ind:l,mode:L,doc:C});break}else{let y=f.expandedStates[g],b={ind:l,mode:Z,doc:y};if(ct(b,o,m,h,r)){o.push(b);break}}}else o.push({ind:l,mode:L,doc:f.contents});break}}f.id&&(r[f.id]=_(!1,o,-1).mode);break;case w:{let p=n-u,{parts:m}=f;if(m.length===0)break;let[h,C]=m,g={ind:l,mode:Z,doc:h},y={ind:l,mode:L,doc:h},b=ct(g,[],p,D.length>0,r,!0);if(m.length===1){b?o.push(g):o.push(y);break}let se={ind:l,mode:Z,doc:C},G={ind:l,mode:L,doc:C};if(m.length===2){b?o.push(se,g):o.push(G,y);break}m.splice(0,2);let ae={ind:l,mode:F,doc:nt(m)},Lr=m[0];ct({ind:l,mode:Z,doc:[h,C,Lr]},[],p,D.length>0,r,!0)?o.push(ae,se,g):b?o.push(ae,G,g):o.push(ae,G,y);break}case B:case P:{let p=f.groupId?r[f.groupId]:F;if(p===L){let m=f.type===B?f.breakContents:f.negate?f.contents:Fe(f.contents);m&&o.push({ind:l,mode:F,doc:m})}if(p===Z){let m=f.type===B?f.flatContents:f.negate?Fe(f.contents):f.contents;m&&o.push({ind:l,mode:F,doc:m})}break}case R:D.push({ind:l,mode:F,doc:f.contents});break;case I:D.length>0&&o.push({ind:l,mode:F,doc:Pe});break;case x:switch(F){case Z:if(f.hard)a=!0;else{f.soft||(s.push(" "),u+=1);break}case L:if(D.length>0){o.push({ind:l,mode:F,doc:f},...D.reverse()),D.length=0;break}f.literal?l.root?(s.push(i,l.root.value),u=l.root.length):(s.push(i),u=0):(u-=Lt(s),s.push(i+l.value),u=l.length);break}break;case k:o.push({ind:l,mode:F,doc:f.contents});break;case O:break;default:throw new te(f)}o.length===0&&D.length>0&&(o.push(...D.reverse()),D.length=0)}let d=s.indexOf(qe);if(d!==-1){let l=s.indexOf(qe,d+1),F=s.slice(0,d).join(""),f=s.slice(d+1,l).join(""),p=s.slice(l+1).join("");return{formatted:F+f+p,cursorNodeStart:F.length,cursorNodeText:f}}return{formatted:s.join("")}}function re(e){var t;if(!e)return"";if(Array.isArray(e)){let r=[];for(let n of e)if(Array.isArray(n))r.push(...re(n));else{let i=re(n);i!==""&&r.push(i)}return r}return e.type===B?{...e,breakContents:re(e.breakContents),flatContents:re(e.flatContents)}:e.type===A?{...e,contents:re(e.contents),expandedStates:(t=e.expandedStates)==null?void 0:t.map(re)}:e.type===w?{type:"fill",parts:e.parts.map(re)}:e.contents?{...e,contents:re(e.contents)}:e}function dn(e){let t=Object.create(null),r=new Set;return n(re(e));function n(u,o,s){var a,D;if(typeof u=="string")return JSON.stringify(u);if(Array.isArray(u)){let c=u.map(n).filter(Boolean);return c.length===1?c[0]:`[${c.join(", ")}]`}if(u.type===x){let c=((a=s==null?void 0:s[o+1])==null?void 0:a.type)===O;return u.literal?c?"literalline":"literallineWithoutBreakParent":u.hard?c?"hardline":"hardlineWithoutBreakParent":u.soft?"softline":"line"}if(u.type===O)return((D=s==null?void 0:s[o-1])==null?void 0:D.type)===x&&s[o-1].hard?void 0:"breakParent";if(u.type===N)return"trim";if(u.type===v)return"indent("+n(u.contents)+")";if(u.type===T)return u.n===Number.NEGATIVE_INFINITY?"dedentToRoot("+n(u.contents)+")":u.n<0?"dedent("+n(u.contents)+")":u.n.type==="root"?"markAsRoot("+n(u.contents)+")":"align("+JSON.stringify(u.n)+", "+n(u.contents)+")";if(u.type===B)return"ifBreak("+n(u.breakContents)+(u.flatContents?", "+n(u.flatContents):"")+(u.groupId?(u.flatContents?"":', ""')+`, { groupId: ${i(u.groupId)} }`:"")+")";if(u.type===P){let c=[];u.negate&&c.push("negate: true"),u.groupId&&c.push(`groupId: ${i(u.groupId)}`);let d=c.length>0?`, { ${c.join(", ")} }`:"";return`indentIfBreak(${n(u.contents)}${d})`}if(u.type===A){let c=[];u.break&&u.break!=="propagated"&&c.push("shouldBreak: true"),u.id&&c.push(`id: ${i(u.id)}`);let d=c.length>0?`, { ${c.join(", ")} }`:"";return u.expandedStates?`conditionalGroup([${u.expandedStates.map(l=>n(l)).join(",")}]${d})`:`group(${n(u.contents)}${d})`}if(u.type===w)return`fill([${u.parts.map(c=>n(c)).join(", ")}])`;if(u.type===R)return"lineSuffix("+n(u.contents)+")";if(u.type===I)return"lineSuffixBoundary";if(u.type===k)return`label(${JSON.stringify(u.label)}, ${n(u.contents)})`;throw new Error("Unknown doc type "+u.type)}function i(u){if(typeof u!="symbol")return JSON.stringify(String(u));if(u in t)return t[u];let o=u.description||"symbol";for(let s=0;;s++){let a=o+(s>0?` #${s}`:"");if(!r.has(a))return r.add(a),t[u]=`Symbol.for(${JSON.stringify(a)})`}}}function mi(e,t,r=0){let n=0;for(let i=r;itypeof e=="string"||typeof e=="function",choices:[{value:"flow",description:"Flow"},{value:"babel",description:"JavaScript"},{value:"babel-flow",description:"Flow"},{value:"babel-ts",description:"TypeScript"},{value:"typescript",description:"TypeScript"},{value:"acorn",description:"JavaScript"},{value:"espree",description:"JavaScript"},{value:"meriyah",description:"JavaScript"},{value:"css",description:"CSS"},{value:"less",description:"Less"},{value:"scss",description:"SCSS"},{value:"json",description:"JSON"},{value:"json5",description:"JSON5"},{value:"json-stringify",description:"JSON.stringify"},{value:"graphql",description:"GraphQL"},{value:"markdown",description:"Markdown"},{value:"mdx",description:"MDX"},{value:"vue",description:"Vue"},{value:"yaml",description:"YAML"},{value:"glimmer",description:"Ember / Handlebars"},{value:"html",description:"HTML"},{value:"angular",description:"Angular"},{value:"lwc",description:"Lightning Web Components"}]},plugins:{type:"path",array:!0,default:[{value:[]}],category:"Global",description:"Add a plugin. Multiple plugins can be passed as separate `--plugin`s.",exception:e=>typeof e=="string"||typeof e=="object",cliName:"plugin",cliCategory:"Config"},printWidth:{category:"Global",type:"int",default:80,description:"The line length where Prettier will try wrap.",range:{start:0,end:1/0,step:1}},rangeEnd:{category:"Special",type:"int",default:1/0,range:{start:0,end:1/0,step:1},description:`Format code ending at a given character offset (exclusive). -The range will extend forwards to the end of the selected statement. -This option cannot be used with --cursor-offset.`,cliCategory:"Editor"},rangeStart:{category:"Special",type:"int",default:0,range:{start:0,end:1/0,step:1},description:`Format code starting at a given character offset. -The range will extend backwards to the start of the first line containing the selected statement. -This option cannot be used with --cursor-offset.`,cliCategory:"Editor"},requirePragma:{category:"Special",type:"boolean",default:!1,description:`Require either '@prettier' or '@format' to be present in the file's first docblock comment -in order for it to be formatted.`,cliCategory:"Other"},tabWidth:{type:"int",category:"Global",default:2,description:"Number of spaces per indentation level.",range:{start:0,end:1/0,step:1}},useTabs:{category:"Global",type:"boolean",default:!1,description:"Indent with tabs instead of spaces."},embeddedLanguageFormatting:{category:"Global",type:"choice",default:"auto",description:"Control how Prettier formats quoted code embedded in the file.",choices:[{value:"auto",description:"Format embedded code if Prettier can automatically identify it."},{value:"off",description:"Never automatically format embedded code."}]}};function lt({plugins:e=[],showDeprecated:t=!1}={}){let r=e.flatMap(i=>i.languages??[]),n=[];for(let i of Ei(Object.assign({},...e.map(({options:u})=>u),Fn)))!t&&i.deprecated||(Array.isArray(i.choices)&&(t||(i.choices=i.choices.filter(u=>!u.deprecated)),i.name==="parser"&&(i.choices=[...i.choices,...hi(i.choices,r,e)])),i.pluginDefaults=Object.fromEntries(e.filter(u=>{var o;return((o=u.defaultOptions)==null?void 0:o[i.name])!==void 0}).map(u=>[u.name,u.defaultOptions[i.name]])),n.push(i));return{languages:r,options:n}}function*hi(e,t,r){let n=new Set(e.map(i=>i.value));for(let i of t)if(i.parsers){for(let u of i.parsers)if(!n.has(u)){n.add(u);let o=r.find(a=>a.parsers&&Object.prototype.hasOwnProperty.call(a.parsers,u)),s=i.name;o!=null&&o.name&&(s+=` (plugin: ${o.name})`),yield{value:u,description:s}}}}function Ei(e){let t=[];for(let[r,n]of Object.entries(e)){let i={name:r,...n};Array.isArray(i.default)&&(i.default=_(!1,i.default,-1).value),t.push(i)}return t}var Ci=e=>e.split(/[/\\]/).pop();function mn(e,t){if(!t)return;let r=Ci(t).toLowerCase();return e.find(n=>{var i,u;return((i=n.extensions)==null?void 0:i.some(o=>r.endsWith(o)))||((u=n.filenames)==null?void 0:u.some(o=>o.toLowerCase()===r))})}function gi(e,t){if(t)return e.find(({name:r})=>r.toLowerCase()===t)??e.find(({aliases:r})=>r==null?void 0:r.includes(t))??e.find(({extensions:r})=>r==null?void 0:r.includes(`.${t}`))}function yi(e,t){let r=e.plugins.flatMap(i=>i.languages??[]),n=gi(r,t.language)??mn(r,t.physicalFile)??mn(r,t.file)??(t.physicalFile,void 0);return n==null?void 0:n.parsers[0]}var hn=yi;var z=kt(Vn(),1),gr;function Co(e,t,{logger:r=!1,isCLI:n=!1,passThrough:i=!1,FlagSchema:u,descriptor:o}={}){if(n){if(!u)throw new Error("'FlagSchema' option is required.");if(!o)throw new Error("'descriptor' option is required.")}else o=z.default.apiDescriptor;let s=i?Array.isArray(i)?(l,F)=>i.includes(l)?{[l]:F}:void 0:(l,F)=>({[l]:F}):(l,F,f)=>{let{_:p,...m}=f.schemas;return z.default.levenUnknownHandler(l,F,{...f,schemas:m})},a=go(t,{isCLI:n,FlagSchema:u}),D=new z.default.Normalizer(a,{logger:r,unknown:s,descriptor:o}),c=r!==!1;c&&gr&&(D._hasDeprecationWarned=gr);let d=D.normalize(e);return c&&(gr=D._hasDeprecationWarned),d}function go(e,{isCLI:t,FlagSchema:r}){let n=[];t&&n.push(z.default.AnySchema.create({name:"_"}));for(let i of e)n.push(yo(i,{isCLI:t,optionInfos:e,FlagSchema:r})),i.alias&&t&&n.push(z.default.AliasSchema.create({name:i.alias,sourceName:i.name}));return n}function yo(e,{isCLI:t,optionInfos:r,FlagSchema:n}){let{name:i}=e,u={name:i},o,s={};switch(e.type){case"int":o=z.default.IntegerSchema,t&&(u.preprocess=Number);break;case"string":o=z.default.StringSchema;break;case"choice":o=z.default.ChoiceSchema,u.choices=e.choices.map(a=>a!=null&&a.redirect?{...a,redirect:{to:{key:e.name,value:a.redirect}}}:a);break;case"boolean":o=z.default.BooleanSchema;break;case"flag":o=n,u.flags=r.flatMap(a=>[a.alias,a.description&&a.name,a.oppositeDescription&&`no-${a.name}`].filter(Boolean));break;case"path":o=z.default.StringSchema;break;default:throw new Error(`Unexpected type ${e.type}`)}if(e.exception?u.validate=(a,D,c)=>e.exception(a)||D.validate(a,c):u.validate=(a,D,c)=>a===void 0||D.validate(a,c),e.redirect&&(s.redirect=a=>a?{to:{key:e.redirect.option,value:e.redirect.value}}:void 0),e.deprecated&&(s.deprecated=!0),t&&!e.array){let a=u.preprocess||(D=>D);u.preprocess=(D,c,d)=>c.preprocess(a(Array.isArray(D)?_(!1,D,-1):D),d)}return e.array?z.default.ArraySchema.create({...t?{preprocess:a=>Array.isArray(a)?a:[a]}:{},...s,valueSchema:o.create(u)}):o.create({...u,...s})}var zn=Co;function yr(e,t){if(!t)throw new Error("parserName is required.");for(let n=e.length-1;n>=0;n--){let i=e[n];if(i.parsers&&Object.prototype.hasOwnProperty.call(i.parsers,t))return i}let r=`Couldn't resolve parser "${t}".`;throw r+=" Plugins must be explicitly added to the standalone bundle.",new $e(r)}function Wn(e,t){if(!t)throw new Error("astFormat is required.");for(let n=e.length-1;n>=0;n--){let i=e[n];if(i.printers&&Object.prototype.hasOwnProperty.call(i.printers,t))return i}let r=`Couldn't find plugin for AST format "${t}".`;throw r+=" Plugins must be explicitly added to the standalone bundle.",new $e(r)}function Ct({plugins:e,parser:t}){let r=yr(e,t);return _r(r,t)}function _r(e,t){let r=e.parsers[t];return typeof r=="function"?r():r}function Gn(e,t){let r=e.printers[t];return typeof r=="function"?r():r}var Un={astFormat:"estree",printer:{},originalText:void 0,locStart:null,locEnd:null};async function _o(e,t={}){var d;let r={...e};if(!r.parser)if(r.filepath){if(r.parser=hn(r,{physicalFile:r.filepath}),!r.parser)throw new Ve(`No parser could be inferred for file "${r.filepath}".`)}else throw new Ve("No parser and no file path given, couldn't infer a parser.");let n=lt({plugins:e.plugins,showDeprecated:!0}).options,i={...Un,...Object.fromEntries(n.filter(l=>l.default!==void 0).map(l=>[l.name,l.default]))},u=yr(r.plugins,r.parser),o=await _r(u,r.parser);r.astFormat=o.astFormat,r.locEnd=o.locEnd,r.locStart=o.locStart;let s=(d=u.printers)!=null&&d[o.astFormat]?u:Wn(r.plugins,o.astFormat),a=await Gn(s,o.astFormat);r.printer=a;let D=s.defaultOptions?Object.fromEntries(Object.entries(s.defaultOptions).filter(([,l])=>l!==void 0)):{},c={...i,...D};for(let[l,F]of Object.entries(c))(r[l]===null||r[l]===void 0)&&(r[l]=F);return r.parser==="json"&&(r.trailingComma="none"),zn(r,n,{passThrough:Object.keys(Un),...t})}var le=_o;var Kn=new Set(["tokens","comments","parent","enclosingNode","precedingNode","followingNode"]),xo=e=>Object.keys(e).filter(t=>!Kn.has(t));function bo(e){return e?t=>e(t,Kn):xo}var ee=bo;function Ao(e,t){let{printer:{massageAstNode:r,getVisitorKeys:n}}=t;if(!r)return e;let i=ee(n),u=r.ignoredProperties??new Set;return o(e);function o(s,a){if(!(s!==null&&typeof s=="object"))return s;if(Array.isArray(s))return s.map(l=>o(l,a)).filter(Boolean);let D={},c=new Set(i(s));for(let l in s)!Object.prototype.hasOwnProperty.call(s,l)||u.has(l)||(c.has(l)?D[l]=o(s[l],s):D[l]=s[l]);let d=r(s,D,a);if(d!==null)return d??D}}var Hn=Ao;var ru=kt(tu(),1);async function vo(e,t){let r=await Ct(t),n=r.preprocess?r.preprocess(e,t):e;t.originalText=n;let i;try{i=await r.parse(n,t,t)}catch(u){To(u,e)}return{text:n,ast:i}}function To(e,t){let{loc:r}=e;if(r){let n=(0,ru.codeFrameColumns)(t,r,{highlightCode:!0});throw e.message+=` -`+n,e.codeFrame=n,e}throw e}var Ee=vo;var Ke,Ar,Be,yt,br=class{constructor(t){St(this,Ke);St(this,Be);this.stack=[t]}get key(){let{stack:t,siblings:r}=this;return _(!1,t,r===null?-2:-4)??null}get index(){return this.siblings===null?null:_(!1,this.stack,-2)}get node(){return _(!1,this.stack,-1)}get parent(){return this.getNode(1)}get grandparent(){return this.getNode(2)}get isInArray(){return this.siblings!==null}get siblings(){let{stack:t}=this,r=_(!1,t,-3);return Array.isArray(r)?r:null}get next(){let{siblings:t}=this;return t===null?null:t[this.index+1]}get previous(){let{siblings:t}=this;return t===null?null:t[this.index-1]}get isFirst(){return this.index===0}get isLast(){let{siblings:t,index:r}=this;return t!==null&&r===t.length-1}get isRoot(){return this.stack.length===1}get root(){return this.stack[0]}get ancestors(){return[...ye(this,Be,yt).call(this)]}getName(){let{stack:t}=this,{length:r}=t;return r>1?_(!1,t,-2):null}getValue(){return _(!1,this.stack,-1)}getNode(t=0){let r=ye(this,Ke,Ar).call(this,t);return r===-1?null:this.stack[r]}getParentNode(t=0){return this.getNode(t+1)}call(t,...r){let{stack:n}=this,{length:i}=n,u=_(!1,n,-1);for(let o of r)u=u[o],n.push(o,u);try{return t(this)}finally{n.length=i}}callParent(t,r=0){let n=ye(this,Ke,Ar).call(this,r+1),i=this.stack.splice(n+1);try{return t(this)}finally{this.stack.push(...i)}}each(t,...r){let{stack:n}=this,{length:i}=n,u=_(!1,n,-1);for(let o of r)u=u[o],n.push(o,u);try{for(let o=0;o{n[u]=t(i,u,o)},...r),n}match(...t){let r=this.stack.length-1,n=null,i=this.stack[r--];for(let u of t){if(i===void 0)return!1;let o=null;if(typeof n=="number"&&(o=n,n=this.stack[r--],i=this.stack[r--]),u&&!u(i,n,o))return!1;n=this.stack[r--],i=this.stack[r--]}return!0}findAncestor(t){for(let r of ye(this,Be,yt).call(this))if(t(r))return r}hasAncestor(t){for(let r of ye(this,Be,yt).call(this))if(t(r))return!0;return!1}};Ke=new WeakSet,Ar=function(t){let{stack:r}=this;for(let n=r.length-1;n>=0;n-=2)if(!Array.isArray(r[n])&&--t<0)return n;return-1},Be=new WeakSet,yt=function*(){let{stack:t}=this;for(let r=t.length-3;r>=0;r-=2){let n=t[r];Array.isArray(n)||(yield n)}};var nu=br;var He=()=>{};He.ok=He;He.strictEqual=He;var Je=He;function we(e){return(t,r,n)=>{let i=!!(n!=null&&n.backwards);if(r===!1)return!1;let{length:u}=t,o=r;for(;o>=0&&onew Intl.ListFormat("en-US",{type:"disjunction"}).format(e);function Pu(e){let t=e===null?"null":typeof e;if(t!=="string"&&t!=="object")return`Unexpected doc '${t}', +Expected it to be 'string' or 'object'.`;if(G(e))throw new Error("doc is valid.");let r=Object.prototype.toString.call(e);if(r!=="[object Object]")return`Unexpected doc '${r}'.`;let n=Lu([...Ue].map(i=>`'${i}'`));return`Unexpected doc.type '${e.type}'. +Expected it to be ${n}.`}var _t=class extends Error{name="InvalidDocError";constructor(t){super(Pu(t)),this.doc=t}},Q=_t;var Er={};function Iu(e,t,r,n){let i=[e];for(;i.length>0;){let u=i.pop();if(u===Er){r(i.pop());continue}r&&i.push(u,Er);let o=G(u);if(!o)throw new Q(u);if((t==null?void 0:t(u))!==!1)switch(o){case W:case S:{let s=o===W?u:u.parts;for(let a=s.length,D=a-1;D>=0;--D)i.push(s[D]);break}case x:i.push(u.flatContents,u.breakContents);break;case _:if(n&&u.expandedStates)for(let s=u.expandedStates.length,a=s-1;a>=0;--a)i.push(u.expandedStates[a]);else i.push(u.contents);break;case P:case L:case R:case N:case Y:i.push(u.contents);break;case U:case z:case I:case j:case B:case b:break;default:throw new Q(u)}}}var we=Iu;var hr=()=>{},K=hr,ze=hr;function De(e){return K(e),{type:L,contents:e}}function ae(e,t){return K(t),{type:P,contents:t,n:e}}function xt(e,t={}){return K(e),ze(t.expandedStates,!0),{type:_,id:t.id,contents:e,break:!!t.shouldBreak,expandedStates:t.expandedStates}}function Cr(e){return ae(Number.NEGATIVE_INFINITY,e)}function gr(e){return ae({type:"root"},e)}function yr(e){return ae(-1,e)}function Ar(e,t){return xt(e[0],{...t,expandedStates:e})}function Ge(e){return ze(e),{type:S,parts:e}}function Br(e,t="",r={}){return K(e),t!==""&&K(t),{type:x,breakContents:e,flatContents:t,groupId:r.groupId}}function wr(e,t){return K(e),{type:R,contents:e,groupId:t.groupId,negate:t.negate}}function _e(e){return K(e),{type:Y,contents:e}}var _r={type:j},de={type:b},xr={type:I},xe={type:B,hard:!0},vt={type:B,hard:!0,literal:!0},Ke={type:B},vr={type:B,soft:!0},q=[xe,de],qe=[vt,de],ve={type:z};function be(e,t){K(e),ze(t);let r=[];for(let n=0;n0){for(let i=0;i0?`, { ${l.join(", ")} }`:"";return`indentIfBreak(${n(u.contents)}${d})`}if(u.type===_){let l=[];u.break&&u.break!=="propagated"&&l.push("shouldBreak: true"),u.id&&l.push(`id: ${i(u.id)}`);let d=l.length>0?`, { ${l.join(", ")} }`:"";return u.expandedStates?`conditionalGroup([${u.expandedStates.map(f=>n(f)).join(",")}]${d})`:`group(${n(u.contents)}${d})`}if(u.type===S)return`fill([${u.parts.map(l=>n(l)).join(", ")}])`;if(u.type===Y)return"lineSuffix("+n(u.contents)+")";if(u.type===j)return"lineSuffixBoundary";if(u.type===N)return`label(${JSON.stringify(u.label)}, ${n(u.contents)})`;throw new Error("Unknown doc type "+u.type)}function i(u){if(typeof u!="symbol")return JSON.stringify(String(u));if(u in t)return t[u];let o=u.description||"symbol";for(let s=0;;s++){let a=o+(s>0?` #${s}`:"");if(!r.has(a))return r.add(a),t[u]=`Symbol.for(${JSON.stringify(a)})`}}}var Ru=(e,t,r)=>{if(!(e&&t==null))return Array.isArray(t)||typeof t=="string"?t[r<0?t.length+r:r]:t.at(r)},y=Ru;var Sr=()=>/[#*0-9]\uFE0F?\u20E3|[\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u231A\u231B\u2328\u23CF\u23ED-\u23EF\u23F1\u23F2\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB\u25FC\u25FE\u2600-\u2604\u260E\u2611\u2614\u2615\u2618\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638-\u263A\u2640\u2642\u2648-\u2653\u265F\u2660\u2663\u2665\u2666\u2668\u267B\u267E\u267F\u2692\u2694-\u2697\u2699\u269B\u269C\u26A0\u26A7\u26AA\u26B0\u26B1\u26BD\u26BE\u26C4\u26C8\u26CF\u26D1\u26E9\u26F0-\u26F5\u26F7\u26F8\u26FA\u2702\u2708\u2709\u270F\u2712\u2714\u2716\u271D\u2721\u2733\u2734\u2744\u2747\u2757\u2763\u27A1\u2934\u2935\u2B05-\u2B07\u2B1B\u2B1C\u2B55\u3030\u303D\u3297\u3299]\uFE0F?|[\u261D\u270C\u270D](?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?|[\u270A\u270B](?:\uD83C[\uDFFB-\uDFFF])?|[\u23E9-\u23EC\u23F0\u23F3\u25FD\u2693\u26A1\u26AB\u26C5\u26CE\u26D4\u26EA\u26FD\u2705\u2728\u274C\u274E\u2753-\u2755\u2795-\u2797\u27B0\u27BF\u2B50]|\u26D3\uFE0F?(?:\u200D\uD83D\uDCA5)?|\u26F9(?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|\u2764\uFE0F?(?:\u200D(?:\uD83D\uDD25|\uD83E\uDE79))?|\uD83C(?:[\uDC04\uDD70\uDD71\uDD7E\uDD7F\uDE02\uDE37\uDF21\uDF24-\uDF2C\uDF36\uDF7D\uDF96\uDF97\uDF99-\uDF9B\uDF9E\uDF9F\uDFCD\uDFCE\uDFD4-\uDFDF\uDFF5\uDFF7]\uFE0F?|[\uDF85\uDFC2\uDFC7](?:\uD83C[\uDFFB-\uDFFF])?|[\uDFC4\uDFCA](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDFCB\uDFCC](?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDCCF\uDD8E\uDD91-\uDD9A\uDE01\uDE1A\uDE2F\uDE32-\uDE36\uDE38-\uDE3A\uDE50\uDE51\uDF00-\uDF20\uDF2D-\uDF35\uDF37-\uDF43\uDF45-\uDF4A\uDF4C-\uDF7C\uDF7E-\uDF84\uDF86-\uDF93\uDFA0-\uDFC1\uDFC5\uDFC6\uDFC8\uDFC9\uDFCF-\uDFD3\uDFE0-\uDFF0\uDFF8-\uDFFF]|\uDDE6\uD83C[\uDDE8-\uDDEC\uDDEE\uDDF1\uDDF2\uDDF4\uDDF6-\uDDFA\uDDFC\uDDFD\uDDFF]|\uDDE7\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEF\uDDF1-\uDDF4\uDDF6-\uDDF9\uDDFB\uDDFC\uDDFE\uDDFF]|\uDDE8\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDEE\uDDF0-\uDDF5\uDDF7\uDDFA-\uDDFF]|\uDDE9\uD83C[\uDDEA\uDDEC\uDDEF\uDDF0\uDDF2\uDDF4\uDDFF]|\uDDEA\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDED\uDDF7-\uDDFA]|\uDDEB\uD83C[\uDDEE-\uDDF0\uDDF2\uDDF4\uDDF7]|\uDDEC\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEE\uDDF1-\uDDF3\uDDF5-\uDDFA\uDDFC\uDDFE]|\uDDED\uD83C[\uDDF0\uDDF2\uDDF3\uDDF7\uDDF9\uDDFA]|\uDDEE\uD83C[\uDDE8-\uDDEA\uDDF1-\uDDF4\uDDF6-\uDDF9]|\uDDEF\uD83C[\uDDEA\uDDF2\uDDF4\uDDF5]|\uDDF0\uD83C[\uDDEA\uDDEC-\uDDEE\uDDF2\uDDF3\uDDF5\uDDF7\uDDFC\uDDFE\uDDFF]|\uDDF1\uD83C[\uDDE6-\uDDE8\uDDEE\uDDF0\uDDF7-\uDDFB\uDDFE]|\uDDF2\uD83C[\uDDE6\uDDE8-\uDDED\uDDF0-\uDDFF]|\uDDF3\uD83C[\uDDE6\uDDE8\uDDEA-\uDDEC\uDDEE\uDDF1\uDDF4\uDDF5\uDDF7\uDDFA\uDDFF]|\uDDF4\uD83C\uDDF2|\uDDF5\uD83C[\uDDE6\uDDEA-\uDDED\uDDF0-\uDDF3\uDDF7-\uDDF9\uDDFC\uDDFE]|\uDDF6\uD83C\uDDE6|\uDDF7\uD83C[\uDDEA\uDDF4\uDDF8\uDDFA\uDDFC]|\uDDF8\uD83C[\uDDE6-\uDDEA\uDDEC-\uDDF4\uDDF7-\uDDF9\uDDFB\uDDFD-\uDDFF]|\uDDF9\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDED\uDDEF-\uDDF4\uDDF7\uDDF9\uDDFB\uDDFC\uDDFF]|\uDDFA\uD83C[\uDDE6\uDDEC\uDDF2\uDDF3\uDDF8\uDDFE\uDDFF]|\uDDFB\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDEE\uDDF3\uDDFA]|\uDDFC\uD83C[\uDDEB\uDDF8]|\uDDFD\uD83C\uDDF0|\uDDFE\uD83C[\uDDEA\uDDF9]|\uDDFF\uD83C[\uDDE6\uDDF2\uDDFC]|\uDF44(?:\u200D\uD83D\uDFEB)?|\uDF4B(?:\u200D\uD83D\uDFE9)?|\uDFC3(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?|\uDFF3\uFE0F?(?:\u200D(?:\u26A7\uFE0F?|\uD83C\uDF08))?|\uDFF4(?:\u200D\u2620\uFE0F?|\uDB40\uDC67\uDB40\uDC62\uDB40(?:\uDC65\uDB40\uDC6E\uDB40\uDC67|\uDC73\uDB40\uDC63\uDB40\uDC74|\uDC77\uDB40\uDC6C\uDB40\uDC73)\uDB40\uDC7F)?)|\uD83D(?:[\uDC3F\uDCFD\uDD49\uDD4A\uDD6F\uDD70\uDD73\uDD76-\uDD79\uDD87\uDD8A-\uDD8D\uDDA5\uDDA8\uDDB1\uDDB2\uDDBC\uDDC2-\uDDC4\uDDD1-\uDDD3\uDDDC-\uDDDE\uDDE1\uDDE3\uDDE8\uDDEF\uDDF3\uDDFA\uDECB\uDECD-\uDECF\uDEE0-\uDEE5\uDEE9\uDEF0\uDEF3]\uFE0F?|[\uDC42\uDC43\uDC46-\uDC50\uDC66\uDC67\uDC6B-\uDC6D\uDC72\uDC74-\uDC76\uDC78\uDC7C\uDC83\uDC85\uDC8F\uDC91\uDCAA\uDD7A\uDD95\uDD96\uDE4C\uDE4F\uDEC0\uDECC](?:\uD83C[\uDFFB-\uDFFF])?|[\uDC6E\uDC70\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4\uDEB5](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDD74\uDD90](?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?|[\uDC00-\uDC07\uDC09-\uDC14\uDC16-\uDC25\uDC27-\uDC3A\uDC3C-\uDC3E\uDC40\uDC44\uDC45\uDC51-\uDC65\uDC6A\uDC79-\uDC7B\uDC7D-\uDC80\uDC84\uDC88-\uDC8E\uDC90\uDC92-\uDCA9\uDCAB-\uDCFC\uDCFF-\uDD3D\uDD4B-\uDD4E\uDD50-\uDD67\uDDA4\uDDFB-\uDE2D\uDE2F-\uDE34\uDE37-\uDE41\uDE43\uDE44\uDE48-\uDE4A\uDE80-\uDEA2\uDEA4-\uDEB3\uDEB7-\uDEBF\uDEC1-\uDEC5\uDED0-\uDED2\uDED5-\uDED7\uDEDC-\uDEDF\uDEEB\uDEEC\uDEF4-\uDEFC\uDFE0-\uDFEB\uDFF0]|\uDC08(?:\u200D\u2B1B)?|\uDC15(?:\u200D\uD83E\uDDBA)?|\uDC26(?:\u200D(?:\u2B1B|\uD83D\uDD25))?|\uDC3B(?:\u200D\u2744\uFE0F?)?|\uDC41\uFE0F?(?:\u200D\uD83D\uDDE8\uFE0F?)?|\uDC68(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDC68\uDC69]\u200D\uD83D(?:\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?)|[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?)|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFC-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFD-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFD\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFE])))?))?|\uDC69(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?[\uDC68\uDC69]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?|\uDC69\u200D\uD83D(?:\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?))|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFC-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB\uDFFD-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB-\uDFFD\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB-\uDFFE])))?))?|\uDC6F(?:\u200D[\u2640\u2642]\uFE0F?)?|\uDD75(?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|\uDE2E(?:\u200D\uD83D\uDCA8)?|\uDE35(?:\u200D\uD83D\uDCAB)?|\uDE36(?:\u200D\uD83C\uDF2B\uFE0F?)?|\uDE42(?:\u200D[\u2194\u2195]\uFE0F?)?|\uDEB6(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?)|\uD83E(?:[\uDD0C\uDD0F\uDD18-\uDD1F\uDD30-\uDD34\uDD36\uDD77\uDDB5\uDDB6\uDDBB\uDDD2\uDDD3\uDDD5\uDEC3-\uDEC5\uDEF0\uDEF2-\uDEF8](?:\uD83C[\uDFFB-\uDFFF])?|[\uDD26\uDD35\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD\uDDCF\uDDD4\uDDD6-\uDDDD](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDDDE\uDDDF](?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDD0D\uDD0E\uDD10-\uDD17\uDD20-\uDD25\uDD27-\uDD2F\uDD3A\uDD3F-\uDD45\uDD47-\uDD76\uDD78-\uDDB4\uDDB7\uDDBA\uDDBC-\uDDCC\uDDD0\uDDE0-\uDDFF\uDE70-\uDE7C\uDE80-\uDE88\uDE90-\uDEBD\uDEBF-\uDEC2\uDECE-\uDEDB\uDEE0-\uDEE8]|\uDD3C(?:\u200D[\u2640\u2642]\uFE0F?|\uD83C[\uDFFB-\uDFFF])?|\uDDCE(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?|\uDDD1(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1|\uDDD1\u200D\uD83E\uDDD2(?:\u200D\uD83E\uDDD2)?|\uDDD2(?:\u200D\uD83E\uDDD2)?))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFC-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB\uDFFD-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB-\uDFFD\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB-\uDFFE]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?))?|\uDEF1(?:\uD83C(?:\uDFFB(?:\u200D\uD83E\uDEF2\uD83C[\uDFFC-\uDFFF])?|\uDFFC(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB\uDFFD-\uDFFF])?|\uDFFD(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])?|\uDFFE(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB-\uDFFD\uDFFF])?|\uDFFF(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB-\uDFFE])?))?)/g;function Nr(e){return e===12288||e>=65281&&e<=65376||e>=65504&&e<=65510}function Tr(e){return e>=4352&&e<=4447||e===8986||e===8987||e===9001||e===9002||e>=9193&&e<=9196||e===9200||e===9203||e===9725||e===9726||e===9748||e===9749||e>=9800&&e<=9811||e===9855||e===9875||e===9889||e===9898||e===9899||e===9917||e===9918||e===9924||e===9925||e===9934||e===9940||e===9962||e===9970||e===9971||e===9973||e===9978||e===9981||e===9989||e===9994||e===9995||e===10024||e===10060||e===10062||e>=10067&&e<=10069||e===10071||e>=10133&&e<=10135||e===10160||e===10175||e===11035||e===11036||e===11088||e===11093||e>=11904&&e<=11929||e>=11931&&e<=12019||e>=12032&&e<=12245||e>=12272&&e<=12287||e>=12289&&e<=12350||e>=12353&&e<=12438||e>=12441&&e<=12543||e>=12549&&e<=12591||e>=12593&&e<=12686||e>=12688&&e<=12771||e>=12783&&e<=12830||e>=12832&&e<=12871||e>=12880&&e<=19903||e>=19968&&e<=42124||e>=42128&&e<=42182||e>=43360&&e<=43388||e>=44032&&e<=55203||e>=63744&&e<=64255||e>=65040&&e<=65049||e>=65072&&e<=65106||e>=65108&&e<=65126||e>=65128&&e<=65131||e>=94176&&e<=94180||e===94192||e===94193||e>=94208&&e<=100343||e>=100352&&e<=101589||e>=101632&&e<=101640||e>=110576&&e<=110579||e>=110581&&e<=110587||e===110589||e===110590||e>=110592&&e<=110882||e===110898||e>=110928&&e<=110930||e===110933||e>=110948&&e<=110951||e>=110960&&e<=111355||e===126980||e===127183||e===127374||e>=127377&&e<=127386||e>=127488&&e<=127490||e>=127504&&e<=127547||e>=127552&&e<=127560||e===127568||e===127569||e>=127584&&e<=127589||e>=127744&&e<=127776||e>=127789&&e<=127797||e>=127799&&e<=127868||e>=127870&&e<=127891||e>=127904&&e<=127946||e>=127951&&e<=127955||e>=127968&&e<=127984||e===127988||e>=127992&&e<=128062||e===128064||e>=128066&&e<=128252||e>=128255&&e<=128317||e>=128331&&e<=128334||e>=128336&&e<=128359||e===128378||e===128405||e===128406||e===128420||e>=128507&&e<=128591||e>=128640&&e<=128709||e===128716||e>=128720&&e<=128722||e>=128725&&e<=128727||e>=128732&&e<=128735||e===128747||e===128748||e>=128756&&e<=128764||e>=128992&&e<=129003||e===129008||e>=129292&&e<=129338||e>=129340&&e<=129349||e>=129351&&e<=129535||e>=129648&&e<=129660||e>=129664&&e<=129672||e>=129680&&e<=129725||e>=129727&&e<=129733||e>=129742&&e<=129755||e>=129760&&e<=129768||e>=129776&&e<=129784||e>=131072&&e<=196605||e>=196608&&e<=262141}var kr=e=>!(Nr(e)||Tr(e));var Yu=/[^\x20-\x7F]/u;function ju(e){if(!e)return 0;if(!Yu.test(e))return e.length;e=e.replace(Sr()," ");let t=0;for(let r of e){let n=r.codePointAt(0);n<=31||n>=127&&n<=159||n>=768&&n<=879||(t+=kr(n)?1:2)}return t}var Oe=ju;function Ne(e,t){if(typeof e=="string")return t(e);let r=new Map;return n(e);function n(u){if(r.has(u))return r.get(u);let o=i(u);return r.set(u,o),o}function i(u){switch(G(u)){case W:return t(u.map(n));case S:return t({...u,parts:u.parts.map(n)});case x:return t({...u,breakContents:n(u.breakContents),flatContents:n(u.flatContents)});case _:{let{expandedStates:o,contents:s}=u;return o?(o=o.map(n),s=o[0]):s=n(s),t({...u,contents:s,expandedStates:o})}case P:case L:case R:case N:case Y:return t({...u,contents:n(u.contents)});case U:case z:case I:case j:case B:case b:return t(u);default:throw new Q(u)}}}function Xe(e,t,r){let n=r,i=!1;function u(o){if(i)return!1;let s=t(o);s!==void 0&&(i=!0,n=s)}return we(e,u),n}function Hu(e){if(e.type===_&&e.break||e.type===B&&e.hard||e.type===b)return!0}function Ir(e){return Xe(e,Hu,!1)}function Lr(e){if(e.length>0){let t=y(!1,e,-1);!t.expandedStates&&!t.break&&(t.break="propagated")}return null}function Rr(e){let t=new Set,r=[];function n(u){if(u.type===b&&Lr(r),u.type===_){if(r.push(u),t.has(u))return!1;t.add(u)}}function i(u){u.type===_&&r.pop().break&&Lr(r)}we(e,n,i,!0)}function Wu(e){return e.type===B&&!e.hard?e.soft?"":" ":e.type===x?e.flatContents:e}function Yr(e){return Ne(e,Wu)}function Pr(e){for(e=[...e];e.length>=2&&y(!1,e,-2).type===B&&y(!1,e,-1).type===b;)e.length-=2;if(e.length>0){let t=Se(y(!1,e,-1));e[e.length-1]=t}return e}function Se(e){switch(G(e)){case L:case R:case _:case Y:case N:{let t=Se(e.contents);return{...e,contents:t}}case x:return{...e,breakContents:Se(e.breakContents),flatContents:Se(e.flatContents)};case S:return{...e,parts:Pr(e.parts)};case W:return Pr(e);case U:return e.replace(/[\n\r]*$/u,"");case P:case z:case I:case j:case B:case b:break;default:throw new Q(e)}return e}function Ze(e){return Se($u(e))}function Mu(e){switch(G(e)){case S:if(e.parts.every(t=>t===""))return"";break;case _:if(!e.contents&&!e.id&&!e.break&&!e.expandedStates)return"";if(e.contents.type===_&&e.contents.id===e.id&&e.contents.break===e.break&&e.contents.expandedStates===e.expandedStates)return e.contents;break;case P:case L:case R:case Y:if(!e.contents)return"";break;case x:if(!e.flatContents&&!e.breakContents)return"";break;case W:{let t=[];for(let r of e){if(!r)continue;let[n,...i]=Array.isArray(r)?r:[r];typeof n=="string"&&typeof y(!1,t,-1)=="string"?t[t.length-1]+=n:t.push(n),t.push(...i)}return t.length===0?"":t.length===1?t[0]:t}case U:case z:case I:case j:case B:case N:case b:break;default:throw new Q(e)}return e}function $u(e){return Ne(e,t=>Mu(t))}function jr(e,t=qe){return Ne(e,r=>typeof r=="string"?be(t,r.split(` +`)):r)}function Vu(e){if(e.type===B)return!0}function Hr(e){return Xe(e,Vu,!1)}function Qe(e,t){return e.type===N?{...e,contents:t(e.contents)}:t(e)}var H=Symbol("MODE_BREAK"),J=Symbol("MODE_FLAT"),Te=Symbol("cursor");function Wr(){return{value:"",length:0,queue:[]}}function Uu(e,t){return bt(e,{type:"indent"},t)}function zu(e,t,r){return t===Number.NEGATIVE_INFINITY?e.root||Wr():t<0?bt(e,{type:"dedent"},r):t?t.type==="root"?{...e,root:e}:bt(e,{type:typeof t=="string"?"stringAlign":"numberAlign",n:t},r):e}function bt(e,t,r){let n=t.type==="dedent"?e.queue.slice(0,-1):[...e.queue,t],i="",u=0,o=0,s=0;for(let c of n)switch(c.type){case"indent":l(),r.useTabs?a(1):D(r.tabWidth);break;case"stringAlign":l(),i+=c.n,u+=c.n.length;break;case"numberAlign":o+=1,s+=c.n;break;default:throw new Error(`Unexpected type '${c.type}'`)}return f(),{...e,value:i,length:u,queue:n};function a(c){i+=" ".repeat(c),u+=r.tabWidth*c}function D(c){i+=" ".repeat(c),u+=c}function l(){r.useTabs?d():f()}function d(){o>0&&a(o),p()}function f(){s>0&&D(s),p()}function p(){o=0,s=0}}function Ot(e){let t=0,r=0,n=e.length;e:for(;n--;){let i=e[n];if(i===Te){r++;continue}for(let u=i.length-1;u>=0;u--){let o=i[u];if(o===" "||o===" ")t++;else{e[n]=i.slice(0,u+1);break e}}}if(t>0||r>0)for(e.length=n+1;r-- >0;)e.push(Te);return t}function et(e,t,r,n,i,u){if(r===Number.POSITIVE_INFINITY)return!0;let o=t.length,s=[e],a=[];for(;r>=0;){if(s.length===0){if(o===0)return!0;s.push(t[--o]);continue}let{mode:D,doc:l}=s.pop(),d=G(l);switch(d){case U:a.push(l),r-=Oe(l);break;case W:case S:{let f=d===W?l:l.parts;for(let p=f.length-1;p>=0;p--)s.push({mode:D,doc:f[p]});break}case L:case P:case R:case N:s.push({mode:D,doc:l.contents});break;case I:r+=Ot(a);break;case _:{if(u&&l.break)return!1;let f=l.break?H:D,p=l.expandedStates&&f===H?y(!1,l.expandedStates,-1):l.contents;s.push({mode:f,doc:p});break}case x:{let p=(l.groupId?i[l.groupId]||J:D)===H?l.breakContents:l.flatContents;p&&s.push({mode:D,doc:p});break}case B:if(D===H||l.hard)return!0;l.soft||(a.push(" "),r--);break;case Y:n=!0;break;case j:if(n)return!1;break}}return!1}function Fe(e,t){let r={},n=t.printWidth,i=Be(t.endOfLine),u=0,o=[{ind:Wr(),mode:H,doc:e}],s=[],a=!1,D=[],l=0;for(Rr(e);o.length>0;){let{ind:f,mode:p,doc:c}=o.pop();switch(G(c)){case U:{let F=i!==` +`?ne(!1,c,` +`,i):c;s.push(F),o.length>0&&(u+=Oe(F));break}case W:for(let F=c.length-1;F>=0;F--)o.push({ind:f,mode:p,doc:c[F]});break;case z:if(l>=2)throw new Error("There are too many 'cursor' in doc.");s.push(Te),l++;break;case L:o.push({ind:Uu(f,t),mode:p,doc:c.contents});break;case P:o.push({ind:zu(f,c.n,t),mode:p,doc:c.contents});break;case I:u-=Ot(s);break;case _:switch(p){case J:if(!a){o.push({ind:f,mode:c.break?H:J,doc:c.contents});break}case H:{a=!1;let F={ind:f,mode:J,doc:c.contents},m=n-u,E=D.length>0;if(!c.break&&et(F,o,m,E,r))o.push(F);else if(c.expandedStates){let A=y(!1,c.expandedStates,-1);if(c.break){o.push({ind:f,mode:H,doc:A});break}else for(let w=1;w=c.expandedStates.length){o.push({ind:f,mode:H,doc:A});break}else{let h=c.expandedStates[w],C={ind:f,mode:J,doc:h};if(et(C,o,m,E,r)){o.push(C);break}}}else o.push({ind:f,mode:H,doc:c.contents});break}}c.id&&(r[c.id]=y(!1,o,-1).mode);break;case S:{let F=n-u,{parts:m}=c;if(m.length===0)break;let[E,A]=m,w={ind:f,mode:J,doc:E},h={ind:f,mode:H,doc:E},C=et(w,[],F,D.length>0,r,!0);if(m.length===1){C?o.push(w):o.push(h);break}let k={ind:f,mode:J,doc:A},v={ind:f,mode:H,doc:A};if(m.length===2){C?o.push(k,w):o.push(v,h);break}m.splice(0,2);let $={ind:f,mode:p,doc:Ge(m)},ye=m[0];et({ind:f,mode:J,doc:[E,A,ye]},[],F,D.length>0,r,!0)?o.push($,k,w):C?o.push($,v,w):o.push($,v,h);break}case x:case R:{let F=c.groupId?r[c.groupId]:p;if(F===H){let m=c.type===x?c.breakContents:c.negate?c.contents:De(c.contents);m&&o.push({ind:f,mode:p,doc:m})}if(F===J){let m=c.type===x?c.flatContents:c.negate?De(c.contents):c.contents;m&&o.push({ind:f,mode:p,doc:m})}break}case Y:D.push({ind:f,mode:p,doc:c.contents});break;case j:D.length>0&&o.push({ind:f,mode:p,doc:xe});break;case B:switch(p){case J:if(c.hard)a=!0;else{c.soft||(s.push(" "),u+=1);break}case H:if(D.length>0){o.push({ind:f,mode:p,doc:c},...D.reverse()),D.length=0;break}c.literal?f.root?(s.push(i,f.root.value),u=f.root.length):(s.push(i),u=0):(u-=Ot(s),s.push(i+f.value),u=f.length);break}break;case N:o.push({ind:f,mode:p,doc:c.contents});break;case b:break;default:throw new Q(c)}o.length===0&&D.length>0&&(o.push(...D.reverse()),D.length=0)}let d=s.indexOf(Te);if(d!==-1){let f=s.indexOf(Te,d+1),p=s.slice(0,d).join(""),c=s.slice(d+1,f).join(""),F=s.slice(f+1).join("");return{formatted:p+c+F,cursorNodeStart:p.length,cursorNodeText:c}}return{formatted:s.join("")}}function Gu(e,t,r=0){let n=0;for(let i=r;i1?y(!1,t,-2):null}getValue(){return y(!1,this.stack,-1)}getNode(t=0){let r=pe(this,te,Nt).call(this,t);return r===-1?null:this.stack[r]}getParentNode(t=0){return this.getNode(t+1)}call(t,...r){let{stack:n}=this,{length:i}=n,u=y(!1,n,-1);for(let o of r)u=u[o],n.push(o,u);try{return t(this)}finally{n.length=i}}callParent(t,r=0){let n=pe(this,te,Nt).call(this,r+1),i=this.stack.splice(n+1);try{return t(this)}finally{this.stack.push(...i)}}each(t,...r){let{stack:n}=this,{length:i}=n,u=y(!1,n,-1);for(let o of r)u=u[o],n.push(o,u);try{for(let o=0;o{n[u]=t(i,u,o)},...r),n}match(...t){let r=this.stack.length-1,n=null,i=this.stack[r--];for(let u of t){if(i===void 0)return!1;let o=null;if(typeof n=="number"&&(o=n,n=this.stack[r--],i=this.stack[r--]),u&&!u(i,n,o))return!1;n=this.stack[r--],i=this.stack[r--]}return!0}findAncestor(t){for(let r of pe(this,te,tt).call(this))if(t(r))return r}hasAncestor(t){for(let r of pe(this,te,tt).call(this))if(t(r))return!0;return!1}};te=new WeakSet,Nt=function(t){let{stack:r}=this;for(let n=r.length-1;n>=0;n-=2)if(!Array.isArray(r[n])&&--t<0)return n;return-1},tt=function*(){let{stack:t}=this;for(let r=t.length-3;r>=0;r-=2){let n=t[r];Array.isArray(n)||(yield n)}};var Mr=St;var $r=new Proxy(()=>{},{get:()=>$r}),ke=$r;function Ku(e){return e!==null&&typeof e=="object"}var Vr=Ku;function*Tt(e,t){let{getVisitorKeys:r,filter:n=()=>!0}=t,i=u=>Vr(u)&&n(u);for(let u of r(e)){let o=e[u];if(Array.isArray(o))for(let s of o)i(s)&&(yield s);else i(o)&&(yield o)}}function*Ur(e,t){let r=[e];for(let n=0;n{let i=!!(n!=null&&n.backwards);if(r===!1)return!1;let{length:u}=t,o=r;for(;o>=0&&o0}var Br=Ro;function Io(e){return e!==null&&typeof e=="object"}var iu=Io;function*wr(e,t){let{getVisitorKeys:r,filter:n=()=>!0}=t,i=u=>iu(u)&&n(u);for(let u of r(e)){let o=e[u];if(Array.isArray(o))for(let s of o)i(s)&&(yield s);else i(o)&&(yield o)}}function*ou(e,t){let r=[e];for(let n=0;n20&&(r=r.slice(0,19)+"\u2026"),t+(r?" "+r:"")}function Or(e,t){(e.comments??(e.comments=[])).push(t),t.printed=!1,t.nodeDescription=Lo(e)}function fe(e,t){t.leading=!0,t.trailing=!1,Or(e,t)}function oe(e,t,r){t.leading=!1,t.trailing=!1,r&&(t.marker=r),Or(e,t)}function pe(e,t){t.leading=!1,t.trailing=!0,Or(e,t)}var kr=new WeakMap;function bt(e,t){if(kr.has(e))return kr.get(e);let{printer:{getCommentChildNodes:r,canAttachComment:n,getVisitorKeys:i},locStart:u,locEnd:o}=t;if(!n)return[];let s=((r==null?void 0:r(e,t))??[...wr(e,{getVisitorKeys:ee(i)})]).flatMap(a=>n(a)?[a]:bt(a,t));return s.sort((a,D)=>u(a)-u(D)||o(a)-o(D)),kr.set(e,s),s}function au(e,t,r,n){let{locStart:i,locEnd:u}=r,o=i(t),s=u(t),a=bt(e,r),D,c,d=0,l=a.length;for(;d>1,f=a[F],p=i(f),m=u(f);if(p<=o&&s<=m)return au(f,t,r,f);if(m<=o){D=f,d=F+1;continue}if(s<=p){c=f,l=F;continue}throw new Error("Comment location overlaps with node location")}if((n==null?void 0:n.type)==="TemplateLiteral"){let{quasis:F}=n,f=vr(F,t,r);D&&vr(F,D,r)!==f&&(D=null),c&&vr(F,c,r)!==f&&(c=null)}return{enclosingNode:n,precedingNode:D,followingNode:c}}var Sr=()=>!1;function Du(e,t){let{comments:r}=e;if(delete e.comments,!Br(r)||!t.printer.canAttachComment)return;let n=[],{locStart:i,locEnd:u,printer:{experimentalFeatures:{avoidAstMutation:o=!1}={},handleComments:s={}},originalText:a}=t,{ownLine:D=Sr,endOfLine:c=Sr,remaining:d=Sr}=s,l=r.map((F,f)=>({...au(e,F,t),comment:F,text:a,options:t,ast:e,isLastComment:r.length-1===f}));for(let[F,f]of l.entries()){let{comment:p,precedingNode:m,enclosingNode:h,followingNode:C,text:g,options:y,ast:b,isLastComment:se}=f;if(y.parser==="json"||y.parser==="json5"||y.parser==="__js_expression"||y.parser==="__ts_expression"||y.parser==="__vue_expression"||y.parser==="__vue_ts_expression"){if(i(p)-i(b)<=0){fe(b,p);continue}if(u(p)-u(b)>=0){pe(b,p);continue}}let G;if(o?G=[f]:(p.enclosingNode=h,p.precedingNode=m,p.followingNode=C,G=[p,g,y,b,se]),jo(g,y,l,F))p.placement="ownLine",D(...G)||(C?fe(C,p):m?pe(m,p):h?oe(h,p):oe(b,p));else if(Yo(g,y,l,F))p.placement="endOfLine",c(...G)||(m?pe(m,p):C?fe(C,p):h?oe(h,p):oe(b,p));else if(p.placement="remaining",!d(...G))if(m&&C){let ae=n.length;ae>0&&n[ae-1].followingNode!==C&&su(n,y),n.push(f)}else m?pe(m,p):C?fe(C,p):h?oe(h,p):oe(b,p)}if(su(n,t),!o)for(let F of r)delete F.precedingNode,delete F.enclosingNode,delete F.followingNode}var cu=e=>!/[\S\n\u2028\u2029]/.test(e);function jo(e,t,r,n){let{comment:i,precedingNode:u}=r[n],{locStart:o,locEnd:s}=t,a=o(i);if(u)for(let D=n-1;D>=0;D--){let{comment:c,precedingNode:d}=r[D];if(d!==u||!cu(e.slice(s(c),a)))break;a=o(c)}return W(e,a,{backwards:!0})}function Yo(e,t,r,n){let{comment:i,followingNode:u}=r[n],{locStart:o,locEnd:s}=t,a=s(i);if(u)for(let D=n+1;D0;--o){let{comment:D,precedingNode:c,followingNode:d}=e[o-1];Je.strictEqual(c,n),Je.strictEqual(d,i);let l=t.originalText.slice(t.locEnd(D),u);if(((a=(s=t.printer).isGap)==null?void 0:a.call(s,l,t))??/^[\s(]*$/.test(l))u=t.locStart(D);else break}for(let[D,{comment:c}]of e.entries())D1&&D.comments.sort((c,d)=>t.locStart(c)-t.locStart(d));e.length=0}function vr(e,t,r){let n=r.locStart(t)-1;for(let i=1;i!n.has(a)).length===0)return{leading:"",trailing:""};let u=[],o=[],s;return e.each(()=>{let a=e.node;if(n!=null&&n.has(a))return;let{leading:D,trailing:c}=a;D?u.push(qo(e,t)):c&&(s=$o(e,t,s),o.push(s.doc))},"comments"),{leading:u,trailing:o}}function fu(e,t,r){let{leading:n,trailing:i}=Vo(e,r);return!n&&!i?t:Dt(t,u=>[n,u,i])}function pu(e){let{[Symbol.for("comments")]:t,[Symbol.for("printedComments")]:r}=e;for(let n of t){if(!n.printed&&!r.has(n))throw new Error('Comment "'+n.value.trim()+'" was not printed. Please report this error!');delete n.printed}}async function du(e,t,r,n,i){let{embeddedLanguageFormatting:u,printer:{embed:o,hasPrettierIgnore:s=()=>!1,getVisitorKeys:a}}=r;if(!o||u!=="auto")return;if(o.length>2)throw new Error("printer.embed has too many parameters. The API changed in Prettier v3. Please update your plugin. See https://prettier.io/docs/en/plugins.html#optional-embed");let D=ee(o.getVisitorKeys??a),c=[];F();let d=e.stack;for(let{print:f,node:p,pathStack:m}of c)try{e.stack=m;let h=await f(l,t,e,r);h&&i.set(p,h)}catch(h){if(globalThis.PRETTIER_DEBUG)throw h}e.stack=d;function l(f,p){return zo(f,p,r,n)}function F(){let{node:f}=e;if(f===null||typeof f!="object"||s(e))return;for(let m of D(f))Array.isArray(f[m])?e.each(F,m):e.call(F,m);let p=o(e,r);if(p){if(typeof p=="function"){c.push({print:p,node:f,pathStack:[...e.stack]});return}i.set(f,p)}}}async function zo(e,t,r,n){let i=await le({...r,...t,parentParser:r.parser,originalText:e},{passThrough:!0}),{ast:u}=await Ee(e,i),o=await n(u,i);return at(o)}function Wo(e){return()=>{}}var Fu=Wo;function Go(e,t){let{originalText:r,[Symbol.for("comments")]:n,locStart:i,locEnd:u,[Symbol.for("printedComments")]:o}=t,{node:s}=e,a=i(s),D=u(s);for(let c of n)i(c)>=a&&u(c)<=D&&o.add(c);return r.slice(a,D)}var mu=Go;async function Ze(e,t){({ast:e}=await Tr(e,t));let r=new Map,n=new nu(e),i=Fu(t),u=new Map;await du(n,s,t,Ze,u);let o=await hu(n,t,s,void 0,u);return pu(t),o;function s(D,c){return D===void 0||D===n?a(c):Array.isArray(D)?n.call(()=>a(c),...D):n.call(()=>a(c),D)}function a(D){i(n);let c=n.node;if(c==null)return"";let d=c&&typeof c=="object"&&D===void 0;if(d&&r.has(c))return r.get(c);let l=hu(n,t,s,D,u);return d&&r.set(c,l),l}}function hu(e,t,r,n,i){var a;let{node:u}=e,{printer:o}=t,s;return(a=o.hasPrettierIgnore)!=null&&a.call(o,e)?s=mu(e,t):i.has(u)?s=i.get(u):s=o.print(e,t,r,n),o.printComment&&(!o.willPrintOwnComments||!o.willPrintOwnComments(e,t))&&(s=fu(e,s,t)),u===t.cursorNode&&(s=Dt(s,D=>[Re,D,Re])),s}async function Tr(e,t){let r=e.comments??[];t[Symbol.for("comments")]=r,t[Symbol.for("tokens")]=e.tokens??[],t[Symbol.for("printedComments")]=new Set,Du(e,t);let{printer:{preprocess:n}}=t;return e=n?await n(e,t):e,{ast:e,comments:r}}var Uo=({parser:e})=>e==="json"||e==="json5"||e==="json-stringify";function Ko(e,t){let r=[e.node,...e.parentNodes],n=new Set([t.node,...t.parentNodes]);return r.find(i=>gu.has(i.type)&&n.has(i))}function Eu(e){let t=e.length-1;for(;;){let r=e[t];if((r==null?void 0:r.type)==="Program"||(r==null?void 0:r.type)==="File")t--;else break}return e.slice(0,t+1)}function Ho(e,t,{locStart:r,locEnd:n}){let i=e.node,u=t.node;if(i===u)return{startNode:i,endNode:u};let o=r(e.node);for(let a of Eu(t.parentNodes))if(r(a)>=o)u=a;else break;let s=n(t.node);for(let a of Eu(e.parentNodes)){if(n(a)<=s)i=a;else break;if(i===u)break}return{startNode:i,endNode:u}}function Nr(e,t,r,n,i=[],u){let{locStart:o,locEnd:s}=r,a=o(e),D=s(e);if(!(t>D||tn);let s=e.slice(n,i).search(/\S/),a=s===-1;if(!a)for(n+=s;i>n&&!/\S/.test(e[i-1]);--i);let D=Nr(r,n,t,(F,f)=>Cu(t,F,f),[],"rangeStart"),c=a?D:Nr(r,i,t,F=>Cu(t,F),[],"rangeEnd");if(!D||!c)return{rangeStart:0,rangeEnd:0};let d,l;if(Uo(t)){let F=Ko(D,c);d=F,l=F}else({startNode:d,endNode:l}=Ho(D,c,t));return{rangeStart:Math.min(u(d),u(l)),rangeEnd:Math.max(o(d),o(l))}}function Zo(e,t){let{cursorOffset:r,locStart:n,locEnd:i}=t,u=ee(t.printer.getVisitorKeys),o=a=>n(a)<=r&&i(a)>=r,s=e;for(let a of ou(e,{getVisitorKeys:u,filter:o}))s=a;return s}var _u=Zo;var wu="\uFEFF",xu=Symbol("cursor");async function Ou(e,t,r=0){if(!e||e.trim().length===0)return{formatted:"",cursorOffset:-1,comments:[]};let{ast:n,text:i}=await Ee(e,t);t.cursorOffset>=0&&(t.cursorNode=_u(n,t));let u=await Ze(n,t,r);r>0&&(u=ot([X,u],r,t.tabWidth));let o=xe(u,t);if(r>0){let a=o.formatted.trim();o.cursorNodeStart!==void 0&&(o.cursorNodeStart-=o.formatted.indexOf(a)),o.formatted=a+Le(t.endOfLine)}let s=t[Symbol.for("comments")];if(t.cursorOffset>=0){let a,D,c,d,l;if(t.cursorNode&&o.cursorNodeText?(a=t.locStart(t.cursorNode),D=i.slice(a,t.locEnd(t.cursorNode)),c=t.cursorOffset-a,d=o.cursorNodeStart,l=o.cursorNodeText):(a=0,D=i,c=t.cursorOffset,d=0,l=o.formatted),D===l)return{formatted:o.formatted,cursorOffset:d+c,comments:s};let F=D.split("");F.splice(c,0,xu);let f=l.split(""),p=(0,Bu.diffArrays)(F,f),m=d;for(let h of p)if(h.removed){if(h.value.includes(xu))break}else m+=h.count;return{formatted:o.formatted,cursorOffset:m,comments:s}}return{formatted:o.formatted,cursorOffset:-1,comments:s}}async function Qo(e,t){let{ast:r,text:n}=await Ee(e,t),{rangeStart:i,rangeEnd:u}=yu(n,t,r),o=n.slice(i,u),s=Math.min(i,n.lastIndexOf(` -`,i)+1),a=n.slice(s,i).match(/^\s*/)[0],D=be(a,t.tabWidth),c=await Ou(o,{...t,rangeStart:0,rangeEnd:Number.POSITIVE_INFINITY,cursorOffset:t.cursorOffset>i&&t.cursorOffset<=u?t.cursorOffset-i:-1,endOfLine:"lf"},D),d=c.formatted.trimEnd(),{cursorOffset:l}=t;l>u?l+=d.length-o.length:c.cursorOffset>=0&&(l=c.cursorOffset+i);let F=n.slice(0,i)+d+n.slice(u);if(t.endOfLine!=="lf"){let f=Le(t.endOfLine);l>=0&&f===`\r -`&&(l+=Rt(F.slice(0,l),` -`)),F=De(!1,F,` -`,f)}return{formatted:F,cursorOffset:l,comments:c.comments}}function Pr(e,t,r){return typeof t!="number"||Number.isNaN(t)||t<0||t>e.length?r:t}function bu(e,t){let{cursorOffset:r,rangeStart:n,rangeEnd:i}=t;return r=Pr(e,r,-1),n=Pr(e,n,0),i=Pr(e,i,e.length),{...t,cursorOffset:r,rangeStart:n,rangeEnd:i}}function ku(e,t){let{cursorOffset:r,rangeStart:n,rangeEnd:i,endOfLine:u}=bu(e,t),o=e.charAt(0)===wu;if(o&&(e=e.slice(1),r--,n--,i--),u==="auto"&&(u=en(e)),e.includes("\r")){let s=a=>Rt(e.slice(0,Math.max(a,0)),`\r -`);r-=s(r),n-=s(n),i-=s(i),e=tn(e)}return{hasBOM:o,text:e,options:bu(e,{...t,cursorOffset:r,rangeStart:n,rangeEnd:i,endOfLine:u})}}async function Au(e,t){let r=await Ct(t);return!r.hasPragma||r.hasPragma(e)}async function Rr(e,t){let{hasBOM:r,text:n,options:i}=ku(e,await le(t));if(i.rangeStart>=i.rangeEnd&&n!==""||i.requirePragma&&!await Au(n,i))return{formatted:e,cursorOffset:t.cursorOffset,comments:[]};let u;return i.rangeStart>0||i.rangeEnd=0&&u.cursorOffset++),u}async function Su(e,t,r){let{text:n,options:i}=ku(e,await le(t)),u=await Ee(n,i);return r&&(r.preprocessForPrint&&(u.ast=await Tr(u.ast,i)),r.massage&&(u.ast=Hn(u.ast,i))),u}async function vu(e,t){t=await le(t);let r=await Ze(e,t);return xe(r,t)}async function Tu(e,t){let r=dn(e),{formatted:n}=await Rr(r,{...t,parser:"__js_expression"});return n}async function Nu(e,t){t=await le(t);let{ast:r}=await Ee(e,t);return Ze(r,t)}async function Pu(e,t){return xe(e,await le(t))}var Bt={};ge(Bt,{addDanglingComment:()=>oe,addLeadingComment:()=>fe,addTrailingComment:()=>pe,getAlignmentSize:()=>be,getIndentSize:()=>Iu,getMaxContinuousCount:()=>Ru,getNextNonSpaceNonCommentCharacter:()=>Yu,getNextNonSpaceNonCommentCharacterIndex:()=>fs,getStringWidth:()=>je,hasNewline:()=>W,hasNewlineInRange:()=>Lu,hasSpaces:()=>ju,isNextLineEmpty:()=>ms,isNextLineEmptyAfterIndex:()=>At,isPreviousLineEmpty:()=>ds,makeString:()=>Mu,skip:()=>we,skipEverythingButNewLine:()=>xt,skipInlineComment:()=>Oe,skipNewline:()=>$,skipSpaces:()=>S,skipToLineEnd:()=>_t,skipTrailingComment:()=>ke,skipWhitespace:()=>uu});function ts(e,t){if(t===!1)return!1;if(e.charAt(t)==="/"&&e.charAt(t+1)==="*"){for(let r=t+2;rMath.max(n,i.length/t.length),0)}var Ru=is;function os(e,t){let r=e.lastIndexOf(` -`);return r===-1?0:be(e.slice(r+1).match(/^[\t ]*/)[0],t)}var Iu=os;function ss(e,t,r){for(let n=t;ns===n?s:a===t?"\\"+a:a||(r&&/^[^\n\r"'0-7\\bfnrt-vx\u2028\u2029]$/.test(s)?s:"\\"+s));return t+u+t}var Mu=cs;function ls(e,t,r){return Qe(e,r(t))}function fs(e,t){return arguments.length===2||typeof t=="number"?Qe(e,t):ls(...arguments)}function ps(e,t,r){return Xe(e,r(t))}function ds(e,t){return arguments.length===2||typeof t=="number"?Xe(e,t):ps(...arguments)}function Fs(e,t,r){return At(e,r(t))}function ms(e,t){return arguments.length===2||typeof t=="number"?At(e,t):Fs(...arguments)}var wt={};ge(wt,{builders:()=>hs,printer:()=>Es,utils:()=>Cs});var hs={join:Ie,line:ut,softline:Zr,hardline:X,literalline:it,group:Nt,conditionalGroup:Ur,fill:nt,lineSuffix:Ne,lineSuffixBoundary:Jr,cursor:Re,breakParent:_e,ifBreak:Kr,trim:Xr,indent:Fe,indentIfBreak:Hr,align:de,addAlignmentToDoc:ot,markAsRoot:Wr,dedentToRoot:zr,dedent:Gr,hardlineWithoutBreakParent:Pe,literallineWithoutBreakParent:Pt,label:Qr,concat:e=>e},Es={printDocToString:xe},Cs={willBreak:an,traverseDoc:Te,findInDoc:st,mapDoc:Me,removeLines:cn,stripTrailingHardline:at,replaceEndOfLine:ln,canBreak:fn};var qu="3.0.0";function Ce(e,t=1){return async(...r)=>{let n=r[t]??{},i=n.plugins??[];return r[t]={...n,plugins:Array.isArray(i)?i:Object.values(i)},e(...r)}}var $u=Ce(Rr);async function Vu(e,t){let{formatted:r}=await $u(e,{...t,cursorOffset:-1});return r}async function gs(e,t){return await Vu(e,t)===e}var ys=Ce(lt,0),_s={parse:Ce(Su),formatAST:Ce(vu),formatDoc:Ce(Tu),printToDoc:Ce(Nu),printDocToString:Ce(Pu)};return Y(xs);}); \ No newline at end of file +`||i==="\r"||i==="\u2028"||i==="\u2029")return t+1}return t}var M=qu;function Ju(e,t,r={}){let n=T(e,r.backwards?t-1:t,r),i=M(e,n,r);return n!==i}var V=Ju;function Xu(e){return Array.isArray(e)&&e.length>0}var kt=Xu;var Gr=new Set(["tokens","comments","parent","enclosingNode","precedingNode","followingNode"]),Zu=e=>Object.keys(e).filter(t=>!Gr.has(t));function Qu(e){return e?t=>e(t,Gr):Zu}var X=Qu;function ei(e){let t=e.type||e.kind||"(unknown type)",r=String(e.name||e.id&&(typeof e.id=="object"?e.id.name:e.id)||e.key&&(typeof e.key=="object"?e.key.name:e.key)||e.value&&(typeof e.value=="object"?"":String(e.value))||e.operator||"");return r.length>20&&(r=r.slice(0,19)+"\u2026"),t+(r?" "+r:"")}function Lt(e,t){(e.comments??(e.comments=[])).push(t),t.printed=!1,t.nodeDescription=ei(e)}function ue(e,t){t.leading=!0,t.trailing=!1,Lt(e,t)}function re(e,t,r){t.leading=!1,t.trailing=!1,r&&(t.marker=r),Lt(e,t)}function ie(e,t){t.leading=!1,t.trailing=!0,Lt(e,t)}var Pt=new WeakMap;function ut(e,t){if(Pt.has(e))return Pt.get(e);let{printer:{getCommentChildNodes:r,canAttachComment:n,getVisitorKeys:i},locStart:u,locEnd:o}=t;if(!n)return[];let s=((r==null?void 0:r(e,t))??[...Tt(e,{getVisitorKeys:X(i)})]).flatMap(a=>n(a)?[a]:ut(a,t));return s.sort((a,D)=>u(a)-u(D)||o(a)-o(D)),Pt.set(e,s),s}function qr(e,t,r,n){let{locStart:i,locEnd:u}=r,o=i(t),s=u(t),a=ut(e,r),D,l,d=0,f=a.length;for(;d>1,c=a[p],F=i(c),m=u(c);if(F<=o&&s<=m)return qr(c,t,r,c);if(m<=o){D=c,d=p+1;continue}if(s<=F){l=c,f=p;continue}throw new Error("Comment location overlaps with node location")}if((n==null?void 0:n.type)==="TemplateLiteral"){let{quasis:p}=n,c=Rt(p,t,r);D&&Rt(p,D,r)!==c&&(D=null),l&&Rt(p,l,r)!==c&&(l=null)}return{enclosingNode:n,precedingNode:D,followingNode:l}}var It=()=>!1;function Jr(e,t){let{comments:r}=e;if(delete e.comments,!kt(r)||!t.printer.canAttachComment)return;let n=[],{locStart:i,locEnd:u,printer:{experimentalFeatures:{avoidAstMutation:o=!1}={},handleComments:s={}},originalText:a}=t,{ownLine:D=It,endOfLine:l=It,remaining:d=It}=s,f=r.map((p,c)=>({...qr(e,p,t),comment:p,text:a,options:t,ast:e,isLastComment:r.length-1===c}));for(let[p,c]of f.entries()){let{comment:F,precedingNode:m,enclosingNode:E,followingNode:A,text:w,options:h,ast:C,isLastComment:k}=c;if(h.parser==="json"||h.parser==="json5"||h.parser==="jsonc"||h.parser==="__js_expression"||h.parser==="__ts_expression"||h.parser==="__vue_expression"||h.parser==="__vue_ts_expression"){if(i(F)-i(C)<=0){ue(C,F);continue}if(u(F)-u(C)>=0){ie(C,F);continue}}let v;if(o?v=[c]:(F.enclosingNode=E,F.precedingNode=m,F.followingNode=A,v=[F,w,h,C,k]),ti(w,h,f,p))F.placement="ownLine",D(...v)||(A?ue(A,F):m?ie(m,F):E?re(E,F):re(C,F));else if(ri(w,h,f,p))F.placement="endOfLine",l(...v)||(m?ie(m,F):A?ue(A,F):E?re(E,F):re(C,F));else if(F.placement="remaining",!d(...v))if(m&&A){let $=n.length;$>0&&n[$-1].followingNode!==A&&Kr(n,h),n.push(c)}else m?ie(m,F):A?ue(A,F):E?re(E,F):re(C,F)}if(Kr(n,t),!o)for(let p of r)delete p.precedingNode,delete p.enclosingNode,delete p.followingNode}var Xr=e=>!/[\S\n\u2028\u2029]/u.test(e);function ti(e,t,r,n){let{comment:i,precedingNode:u}=r[n],{locStart:o,locEnd:s}=t,a=o(i);if(u)for(let D=n-1;D>=0;D--){let{comment:l,precedingNode:d}=r[D];if(d!==u||!Xr(e.slice(s(l),a)))break;a=o(l)}return V(e,a,{backwards:!0})}function ri(e,t,r,n){let{comment:i,followingNode:u}=r[n],{locStart:o,locEnd:s}=t,a=s(i);if(u)for(let D=n+1;D0;--o){let{comment:D,precedingNode:l,followingNode:d}=e[o-1];ke.strictEqual(l,n),ke.strictEqual(d,i);let f=t.originalText.slice(t.locEnd(D),u);if(((a=(s=t.printer).isGap)==null?void 0:a.call(s,f,t))??/^[\s(]*$/u.test(f))u=t.locStart(D);else break}for(let[D,{comment:l}]of e.entries())D1&&D.comments.sort((l,d)=>t.locStart(l)-t.locStart(d));e.length=0}function Rt(e,t,r){let n=r.locStart(t)-1;for(let i=1;i!n.has(a)).length===0)return{leading:"",trailing:""};let u=[],o=[],s;return e.each(()=>{let a=e.node;if(n!=null&&n.has(a))return;let{leading:D,trailing:l}=a;D?u.push(ui(e,t)):l&&(s=ii(e,t,s),o.push(s.doc))},"comments"),{leading:u,trailing:o}}function Qr(e,t,r){let{leading:n,trailing:i}=oi(e,r);return!n&&!i?t:Qe(t,u=>[n,u,i])}function en(e){let{[Symbol.for("comments")]:t,[Symbol.for("printedComments")]:r}=e;for(let n of t){if(!n.printed&&!r.has(n))throw new Error('Comment "'+n.value.trim()+'" was not printed. Please report this error!');delete n.printed}}function si(e){return()=>{}}var tn=si;var Pe=class extends Error{name="ConfigError"},Ie=class extends Error{name="UndefinedParserError"};var rn={cursorOffset:{category:"Special",type:"int",default:-1,range:{start:-1,end:1/0,step:1},description:"Print (to stderr) where a cursor at the given position would move to after formatting.",cliCategory:"Editor"},endOfLine:{category:"Global",type:"choice",default:"lf",description:"Which end of line characters to apply.",choices:[{value:"lf",description:"Line Feed only (\\n), common on Linux and macOS as well as inside git repos"},{value:"crlf",description:"Carriage Return + Line Feed characters (\\r\\n), common on Windows"},{value:"cr",description:"Carriage Return character only (\\r), used very rarely"},{value:"auto",description:`Maintain existing +(mixed values within one file are normalised by looking at what's used after the first line)`}]},filepath:{category:"Special",type:"path",description:"Specify the input filepath. This will be used to do parser inference.",cliName:"stdin-filepath",cliCategory:"Other",cliDescription:"Path to the file to pretend that stdin comes from."},insertPragma:{category:"Special",type:"boolean",default:!1,description:"Insert @format pragma into file's first docblock comment.",cliCategory:"Other"},parser:{category:"Global",type:"choice",default:void 0,description:"Which parser to use.",exception:e=>typeof e=="string"||typeof e=="function",choices:[{value:"flow",description:"Flow"},{value:"babel",description:"JavaScript"},{value:"babel-flow",description:"Flow"},{value:"babel-ts",description:"TypeScript"},{value:"typescript",description:"TypeScript"},{value:"acorn",description:"JavaScript"},{value:"espree",description:"JavaScript"},{value:"meriyah",description:"JavaScript"},{value:"css",description:"CSS"},{value:"less",description:"Less"},{value:"scss",description:"SCSS"},{value:"json",description:"JSON"},{value:"json5",description:"JSON5"},{value:"jsonc",description:"JSON with Comments"},{value:"json-stringify",description:"JSON.stringify"},{value:"graphql",description:"GraphQL"},{value:"markdown",description:"Markdown"},{value:"mdx",description:"MDX"},{value:"vue",description:"Vue"},{value:"yaml",description:"YAML"},{value:"glimmer",description:"Ember / Handlebars"},{value:"html",description:"HTML"},{value:"angular",description:"Angular"},{value:"lwc",description:"Lightning Web Components"}]},plugins:{type:"path",array:!0,default:[{value:[]}],category:"Global",description:"Add a plugin. Multiple plugins can be passed as separate `--plugin`s.",exception:e=>typeof e=="string"||typeof e=="object",cliName:"plugin",cliCategory:"Config"},printWidth:{category:"Global",type:"int",default:80,description:"The line length where Prettier will try wrap.",range:{start:0,end:1/0,step:1}},rangeEnd:{category:"Special",type:"int",default:1/0,range:{start:0,end:1/0,step:1},description:`Format code ending at a given character offset (exclusive). +The range will extend forwards to the end of the selected statement.`,cliCategory:"Editor"},rangeStart:{category:"Special",type:"int",default:0,range:{start:0,end:1/0,step:1},description:`Format code starting at a given character offset. +The range will extend backwards to the start of the first line containing the selected statement.`,cliCategory:"Editor"},requirePragma:{category:"Special",type:"boolean",default:!1,description:`Require either '@prettier' or '@format' to be present in the file's first docblock comment +in order for it to be formatted.`,cliCategory:"Other"},tabWidth:{type:"int",category:"Global",default:2,description:"Number of spaces per indentation level.",range:{start:0,end:1/0,step:1}},useTabs:{category:"Global",type:"boolean",default:!1,description:"Indent with tabs instead of spaces."},embeddedLanguageFormatting:{category:"Global",type:"choice",default:"auto",description:"Control how Prettier formats quoted code embedded in the file.",choices:[{value:"auto",description:"Format embedded code if Prettier can automatically identify it."},{value:"off",description:"Never automatically format embedded code."}]}};function it({plugins:e=[],showDeprecated:t=!1}={}){let r=e.flatMap(i=>i.languages??[]),n=[];for(let i of Di(Object.assign({},...e.map(({options:u})=>u),rn)))!t&&i.deprecated||(Array.isArray(i.choices)&&(t||(i.choices=i.choices.filter(u=>!u.deprecated)),i.name==="parser"&&(i.choices=[...i.choices,...ai(i.choices,r,e)])),i.pluginDefaults=Object.fromEntries(e.filter(u=>{var o;return((o=u.defaultOptions)==null?void 0:o[i.name])!==void 0}).map(u=>[u.name,u.defaultOptions[i.name]])),n.push(i));return{languages:r,options:n}}function*ai(e,t,r){let n=new Set(e.map(i=>i.value));for(let i of t)if(i.parsers){for(let u of i.parsers)if(!n.has(u)){n.add(u);let o=r.find(a=>a.parsers&&Object.prototype.hasOwnProperty.call(a.parsers,u)),s=i.name;o!=null&&o.name&&(s+=` (plugin: ${o.name})`),yield{value:u,description:s}}}}function Di(e){let t=[];for(let[r,n]of Object.entries(e)){let i={name:r,...n};Array.isArray(i.default)&&(i.default=y(!1,i.default,-1).value),t.push(i)}return t}var li=e=>String(e).split(/[/\\]/u).pop();function nn(e,t){if(!t)return;let r=li(t).toLowerCase();return e.find(({filenames:n})=>n==null?void 0:n.some(i=>i.toLowerCase()===r))??e.find(({extensions:n})=>n==null?void 0:n.some(i=>r.endsWith(i)))}function ci(e,t){if(t)return e.find(({name:r})=>r.toLowerCase()===t)??e.find(({aliases:r})=>r==null?void 0:r.includes(t))??e.find(({extensions:r})=>r==null?void 0:r.includes(`.${t}`))}function fi(e,t){let r=e.plugins.flatMap(i=>i.languages??[]),n=ci(r,t.language)??nn(r,t.physicalFile)??nn(r,t.file)??(t.physicalFile,void 0);return n==null?void 0:n.parsers[0]}var un=fi;var oe={key:e=>/^[$_a-zA-Z][$_a-zA-Z0-9]*$/.test(e)?e:JSON.stringify(e),value(e){if(e===null||typeof e!="object")return JSON.stringify(e);if(Array.isArray(e))return`[${e.map(r=>oe.value(r)).join(", ")}]`;let t=Object.keys(e);return t.length===0?"{}":`{ ${t.map(r=>`${oe.key(r)}: ${oe.value(e[r])}`).join(", ")} }`},pair:({key:e,value:t})=>oe.value({[e]:t})};var Yt=Me(ot(),1),an=(e,t,{descriptor:r})=>{let n=[`${Yt.default.yellow(typeof e=="string"?r.key(e):r.pair(e))} is deprecated`];return t&&n.push(`we now treat it as ${Yt.default.blue(typeof t=="string"?r.key(t):r.pair(t))}`),n.join("; ")+"."};var le=Me(ot(),1);var st=Symbol.for("vnopts.VALUE_NOT_EXIST"),he=Symbol.for("vnopts.VALUE_UNCHANGED");var Dn=" ".repeat(2),cn=(e,t,r)=>{let{text:n,list:i}=r.normalizeExpectedResult(r.schemas[e].expected(r)),u=[];return n&&u.push(ln(e,t,n,r.descriptor)),i&&u.push([ln(e,t,i.title,r.descriptor)].concat(i.values.map(o=>fn(o,r.loggerPrintWidth))).join(` +`)),pn(u,r.loggerPrintWidth)};function ln(e,t,r,n){return[`Invalid ${le.default.red(n.key(e))} value.`,`Expected ${le.default.blue(r)},`,`but received ${t===st?le.default.gray("nothing"):le.default.red(n.value(t))}.`].join(" ")}function fn({text:e,list:t},r){let n=[];return e&&n.push(`- ${le.default.blue(e)}`),t&&n.push([`- ${le.default.blue(t.title)}:`].concat(t.values.map(i=>fn(i,r-Dn.length).replace(/^|\n/g,`$&${Dn}`))).join(` +`)),pn(n,r)}function pn(e,t){if(e.length===1)return e[0];let[r,n]=e,[i,u]=e.map(o=>o.split(` +`,1)[0].length);return i>t&&i>u?n:r}var Wt=Me(ot(),1);var jt=[],dn=[];function Ht(e,t){if(e===t)return 0;let r=e;e.length>t.length&&(e=t,t=r);let n=e.length,i=t.length;for(;n>0&&e.charCodeAt(~-n)===t.charCodeAt(~-i);)n--,i--;let u=0;for(;us?D>s?s+1:D:D>a?a+1:D;return s}var at=(e,t,{descriptor:r,logger:n,schemas:i})=>{let u=[`Ignored unknown option ${Wt.default.yellow(r.pair({key:e,value:t}))}.`],o=Object.keys(i).sort().find(s=>Ht(e,s)<3);o&&u.push(`Did you mean ${Wt.default.blue(r.key(o))}?`),n.warn(u.join(" "))};var pi=["default","expected","validate","deprecated","forward","redirect","overlap","preprocess","postprocess"];function di(e,t){let r=new e(t),n=Object.create(r);for(let i of pi)i in t&&(n[i]=Fi(t[i],r,O.prototype[i].length));return n}var O=class{static create(t){return di(this,t)}constructor(t){this.name=t.name}default(t){}expected(t){return"nothing"}validate(t,r){return!1}deprecated(t,r){return!1}forward(t,r){}redirect(t,r){}overlap(t,r,n){return t}preprocess(t,r){return t}postprocess(t,r){return he}};function Fi(e,t,r){return typeof e=="function"?(...n)=>e(...n.slice(0,r-1),t,...n.slice(r-1)):()=>e}var Dt=class extends O{constructor(t){super(t),this._sourceName=t.sourceName}expected(t){return t.schemas[this._sourceName].expected(t)}validate(t,r){return r.schemas[this._sourceName].validate(t,r)}redirect(t,r){return this._sourceName}};var lt=class extends O{expected(){return"anything"}validate(){return!0}};var ct=class extends O{constructor({valueSchema:t,name:r=t.name,...n}){super({...n,name:r}),this._valueSchema=t}expected(t){let{text:r,list:n}=t.normalizeExpectedResult(this._valueSchema.expected(t));return{text:r&&`an array of ${r}`,list:n&&{title:"an array of the following values",values:[{list:n}]}}}validate(t,r){if(!Array.isArray(t))return!1;let n=[];for(let i of t){let u=r.normalizeValidateResult(this._valueSchema.validate(i,r),i);u!==!0&&n.push(u.value)}return n.length===0?!0:{value:n}}deprecated(t,r){let n=[];for(let i of t){let u=r.normalizeDeprecatedResult(this._valueSchema.deprecated(i,r),i);u!==!1&&n.push(...u.map(({value:o})=>({value:[o]})))}return n}forward(t,r){let n=[];for(let i of t){let u=r.normalizeForwardResult(this._valueSchema.forward(i,r),i);n.push(...u.map(Fn))}return n}redirect(t,r){let n=[],i=[];for(let u of t){let o=r.normalizeRedirectResult(this._valueSchema.redirect(u,r),u);"remain"in o&&n.push(o.remain),i.push(...o.redirect.map(Fn))}return n.length===0?{redirect:i}:{redirect:i,remain:n}}overlap(t,r){return t.concat(r)}};function Fn({from:e,to:t}){return{from:[e],to:t}}var ft=class extends O{expected(){return"true or false"}validate(t){return typeof t=="boolean"}};function En(e,t){let r=Object.create(null);for(let n of e){let i=n[t];if(r[i])throw new Error(`Duplicate ${t} ${JSON.stringify(i)}`);r[i]=n}return r}function hn(e,t){let r=new Map;for(let n of e){let i=n[t];if(r.has(i))throw new Error(`Duplicate ${t} ${JSON.stringify(i)}`);r.set(i,n)}return r}function Cn(){let e=Object.create(null);return t=>{let r=JSON.stringify(t);return e[r]?!0:(e[r]=!0,!1)}}function gn(e,t){let r=[],n=[];for(let i of e)t(i)?r.push(i):n.push(i);return[r,n]}function yn(e){return e===Math.floor(e)}function An(e,t){if(e===t)return 0;let r=typeof e,n=typeof t,i=["undefined","object","boolean","number","string"];return r!==n?i.indexOf(r)-i.indexOf(n):r!=="string"?Number(e)-Number(t):e.localeCompare(t)}function Bn(e){return(...t)=>{let r=e(...t);return typeof r=="string"?new Error(r):r}}function Mt(e){return e===void 0?{}:e}function $t(e){if(typeof e=="string")return{text:e};let{text:t,list:r}=e;return mi((t||r)!==void 0,"Unexpected `expected` result, there should be at least one field."),r?{text:t,list:{title:r.title,values:r.values.map($t)}}:{text:t}}function Vt(e,t){return e===!0?!0:e===!1?{value:t}:e}function Ut(e,t,r=!1){return e===!1?!1:e===!0?r?!0:[{value:t}]:"value"in e?[e]:e.length===0?!1:e}function mn(e,t){return typeof e=="string"||"key"in e?{from:t,to:e}:"from"in e?{from:e.from,to:e.to}:{from:t,to:e.to}}function pt(e,t){return e===void 0?[]:Array.isArray(e)?e.map(r=>mn(r,t)):[mn(e,t)]}function zt(e,t){let r=pt(typeof e=="object"&&"redirect"in e?e.redirect:e,t);return r.length===0?{remain:t,redirect:r}:typeof e=="object"&&"remain"in e?{remain:e.remain,redirect:r}:{redirect:r}}function mi(e,t){if(!e)throw new Error(t)}var dt=class extends O{constructor(t){super(t),this._choices=hn(t.choices.map(r=>r&&typeof r=="object"?r:{value:r}),"value")}expected({descriptor:t}){let r=Array.from(this._choices.keys()).map(o=>this._choices.get(o)).filter(({hidden:o})=>!o).map(o=>o.value).sort(An).map(t.value),n=r.slice(0,-2),i=r.slice(-2);return{text:n.concat(i.join(" or ")).join(", "),list:{title:"one of the following values",values:r}}}validate(t){return this._choices.has(t)}deprecated(t){let r=this._choices.get(t);return r&&r.deprecated?{value:t}:!1}forward(t){let r=this._choices.get(t);return r?r.forward:void 0}redirect(t){let r=this._choices.get(t);return r?r.redirect:void 0}};var Ft=class extends O{expected(){return"a number"}validate(t,r){return typeof t=="number"}};var mt=class extends Ft{expected(){return"an integer"}validate(t,r){return r.normalizeValidateResult(super.validate(t,r),t)===!0&&yn(t)}};var Re=class extends O{expected(){return"a string"}validate(t){return typeof t=="string"}};var wn=oe,_n=at,xn=cn,vn=an;var Et=class{constructor(t,r){let{logger:n=console,loggerPrintWidth:i=80,descriptor:u=wn,unknown:o=_n,invalid:s=xn,deprecated:a=vn,missing:D=()=>!1,required:l=()=>!1,preprocess:d=p=>p,postprocess:f=()=>he}=r||{};this._utils={descriptor:u,logger:n||{warn:()=>{}},loggerPrintWidth:i,schemas:En(t,"name"),normalizeDefaultResult:Mt,normalizeExpectedResult:$t,normalizeDeprecatedResult:Ut,normalizeForwardResult:pt,normalizeRedirectResult:zt,normalizeValidateResult:Vt},this._unknownHandler=o,this._invalidHandler=Bn(s),this._deprecatedHandler=a,this._identifyMissing=(p,c)=>!(p in c)||D(p,c),this._identifyRequired=l,this._preprocess=d,this._postprocess=f,this.cleanHistory()}cleanHistory(){this._hasDeprecationWarned=Cn()}normalize(t){let r={},i=[this._preprocess(t,this._utils)],u=()=>{for(;i.length!==0;){let o=i.shift(),s=this._applyNormalization(o,r);i.push(...s)}};u();for(let o of Object.keys(this._utils.schemas)){let s=this._utils.schemas[o];if(!(o in r)){let a=Mt(s.default(this._utils));"value"in a&&i.push({[o]:a.value})}}u();for(let o of Object.keys(this._utils.schemas)){if(!(o in r))continue;let s=this._utils.schemas[o],a=r[o],D=s.postprocess(a,this._utils);D!==he&&(this._applyValidation(D,o,s),r[o]=D)}return this._applyPostprocess(r),this._applyRequiredCheck(r),r}_applyNormalization(t,r){let n=[],{knownKeys:i,unknownKeys:u}=this._partitionOptionKeys(t);for(let o of i){let s=this._utils.schemas[o],a=s.preprocess(t[o],this._utils);this._applyValidation(a,o,s);let D=({from:p,to:c})=>{n.push(typeof c=="string"?{[c]:p}:{[c.key]:c.value})},l=({value:p,redirectTo:c})=>{let F=Ut(s.deprecated(p,this._utils),a,!0);if(F!==!1)if(F===!0)this._hasDeprecationWarned(o)||this._utils.logger.warn(this._deprecatedHandler(o,c,this._utils));else for(let{value:m}of F){let E={key:o,value:m};if(!this._hasDeprecationWarned(E)){let A=typeof c=="string"?{key:c,value:m}:c;this._utils.logger.warn(this._deprecatedHandler(E,A,this._utils))}}};pt(s.forward(a,this._utils),a).forEach(D);let f=zt(s.redirect(a,this._utils),a);if(f.redirect.forEach(D),"remain"in f){let p=f.remain;r[o]=o in r?s.overlap(r[o],p,this._utils):p,l({value:p})}for(let{from:p,to:c}of f.redirect)l({value:p,redirectTo:c})}for(let o of u){let s=t[o];this._applyUnknownHandler(o,s,r,(a,D)=>{n.push({[a]:D})})}return n}_applyRequiredCheck(t){for(let r of Object.keys(this._utils.schemas))if(this._identifyMissing(r,t)&&this._identifyRequired(r))throw this._invalidHandler(r,st,this._utils)}_partitionOptionKeys(t){let[r,n]=gn(Object.keys(t).filter(i=>!this._identifyMissing(i,t)),i=>i in this._utils.schemas);return{knownKeys:r,unknownKeys:n}}_applyValidation(t,r,n){let i=Vt(n.validate(t,this._utils),t);if(i!==!0)throw this._invalidHandler(r,i.value,this._utils)}_applyUnknownHandler(t,r,n,i){let u=this._unknownHandler(t,r,this._utils);if(u)for(let o of Object.keys(u)){if(this._identifyMissing(o,u))continue;let s=u[o];o in this._utils.schemas?i(o,s):n[o]=s}}_applyPostprocess(t){let r=this._postprocess(t,this._utils);if(r!==he){if(r.delete)for(let n of r.delete)delete t[n];if(r.override){let{knownKeys:n,unknownKeys:i}=this._partitionOptionKeys(r.override);for(let u of n){let o=r.override[u];this._applyValidation(o,u,this._utils.schemas[u]),t[u]=o}for(let u of i){let o=r.override[u];this._applyUnknownHandler(u,o,t,(s,a)=>{let D=this._utils.schemas[s];this._applyValidation(a,s,D),t[s]=a})}}}}};var Gt;function hi(e,t,{logger:r=!1,isCLI:n=!1,passThrough:i=!1,FlagSchema:u,descriptor:o}={}){if(n){if(!u)throw new Error("'FlagSchema' option is required.");if(!o)throw new Error("'descriptor' option is required.")}else o=oe;let s=i?Array.isArray(i)?(f,p)=>i.includes(f)?{[f]:p}:void 0:(f,p)=>({[f]:p}):(f,p,c)=>{let{_:F,...m}=c.schemas;return at(f,p,{...c,schemas:m})},a=Ci(t,{isCLI:n,FlagSchema:u}),D=new Et(a,{logger:r,unknown:s,descriptor:o}),l=r!==!1;l&&Gt&&(D._hasDeprecationWarned=Gt);let d=D.normalize(e);return l&&(Gt=D._hasDeprecationWarned),d}function Ci(e,{isCLI:t,FlagSchema:r}){let n=[];t&&n.push(lt.create({name:"_"}));for(let i of e)n.push(gi(i,{isCLI:t,optionInfos:e,FlagSchema:r})),i.alias&&t&&n.push(Dt.create({name:i.alias,sourceName:i.name}));return n}function gi(e,{isCLI:t,optionInfos:r,FlagSchema:n}){let{name:i}=e,u={name:i},o,s={};switch(e.type){case"int":o=mt,t&&(u.preprocess=Number);break;case"string":o=Re;break;case"choice":o=dt,u.choices=e.choices.map(a=>a!=null&&a.redirect?{...a,redirect:{to:{key:e.name,value:a.redirect}}}:a);break;case"boolean":o=ft;break;case"flag":o=n,u.flags=r.flatMap(a=>[a.alias,a.description&&a.name,a.oppositeDescription&&`no-${a.name}`].filter(Boolean));break;case"path":o=Re;break;default:throw new Error(`Unexpected type ${e.type}`)}if(e.exception?u.validate=(a,D,l)=>e.exception(a)||D.validate(a,l):u.validate=(a,D,l)=>a===void 0||D.validate(a,l),e.redirect&&(s.redirect=a=>a?{to:typeof e.redirect=="string"?e.redirect:{key:e.redirect.option,value:e.redirect.value}}:void 0),e.deprecated&&(s.deprecated=!0),t&&!e.array){let a=u.preprocess||(D=>D);u.preprocess=(D,l,d)=>l.preprocess(a(Array.isArray(D)?y(!1,D,-1):D),d)}return e.array?ct.create({...t?{preprocess:a=>Array.isArray(a)?a:[a]}:{},...s,valueSchema:o.create(u)}):o.create({...u,...s})}var bn=hi;var yi=(e,t,r)=>{if(!(e&&t==null)){if(t.findLast)return t.findLast(r);for(let n=t.length-1;n>=0;n--){let i=t[n];if(r(i,n,t))return i}}},Kt=yi;function qt(e,t){if(!t)throw new Error("parserName is required.");let r=Kt(!1,e,i=>i.parsers&&Object.prototype.hasOwnProperty.call(i.parsers,t));if(r)return r;let n=`Couldn't resolve parser "${t}".`;throw n+=" Plugins must be explicitly added to the standalone bundle.",new Pe(n)}function On(e,t){if(!t)throw new Error("astFormat is required.");let r=Kt(!1,e,i=>i.printers&&Object.prototype.hasOwnProperty.call(i.printers,t));if(r)return r;let n=`Couldn't find plugin for AST format "${t}".`;throw n+=" Plugins must be explicitly added to the standalone bundle.",new Pe(n)}function ht({plugins:e,parser:t}){let r=qt(e,t);return Jt(r,t)}function Jt(e,t){let r=e.parsers[t];return typeof r=="function"?r():r}function Sn(e,t){let r=e.printers[t];return typeof r=="function"?r():r}var Nn={astFormat:"estree",printer:{},originalText:void 0,locStart:null,locEnd:null};async function Ai(e,t={}){var d;let r={...e};if(!r.parser)if(r.filepath){if(r.parser=un(r,{physicalFile:r.filepath}),!r.parser)throw new Ie(`No parser could be inferred for file "${r.filepath}".`)}else throw new Ie("No parser and no file path given, couldn't infer a parser.");let n=it({plugins:e.plugins,showDeprecated:!0}).options,i={...Nn,...Object.fromEntries(n.filter(f=>f.default!==void 0).map(f=>[f.name,f.default]))},u=qt(r.plugins,r.parser),o=await Jt(u,r.parser);r.astFormat=o.astFormat,r.locEnd=o.locEnd,r.locStart=o.locStart;let s=(d=u.printers)!=null&&d[o.astFormat]?u:On(r.plugins,o.astFormat),a=await Sn(s,o.astFormat);r.printer=a;let D=s.defaultOptions?Object.fromEntries(Object.entries(s.defaultOptions).filter(([,f])=>f!==void 0)):{},l={...i,...D};for(let[f,p]of Object.entries(l))(r[f]===null||r[f]===void 0)&&(r[f]=p);return r.parser==="json"&&(r.trailingComma="none"),bn(r,n,{passThrough:Object.keys(Nn),...t})}var se=Ai;var Vn=Me($n(),1);async function Ni(e,t){let r=await ht(t),n=r.preprocess?r.preprocess(e,t):e;t.originalText=n;let i;try{i=await r.parse(n,t,t)}catch(u){Ti(u,e)}return{text:n,ast:i}}function Ti(e,t){let{loc:r}=e;if(r){let n=(0,Vn.codeFrameColumns)(t,r,{highlightCode:!0});throw e.message+=` +`+n,e.codeFrame=n,e}throw e}var ce=Ni;async function Un(e,t,r,n,i){let{embeddedLanguageFormatting:u,printer:{embed:o,hasPrettierIgnore:s=()=>!1,getVisitorKeys:a}}=r;if(!o||u!=="auto")return;if(o.length>2)throw new Error("printer.embed has too many parameters. The API changed in Prettier v3. Please update your plugin. See https://prettier.io/docs/en/plugins.html#optional-embed");let D=X(o.getVisitorKeys??a),l=[];p();let d=e.stack;for(let{print:c,node:F,pathStack:m}of l)try{e.stack=m;let E=await c(f,t,e,r);E&&i.set(F,E)}catch(E){if(globalThis.PRETTIER_DEBUG)throw E}e.stack=d;function f(c,F){return ki(c,F,r,n)}function p(){let{node:c}=e;if(c===null||typeof c!="object"||s(e))return;for(let m of D(c))Array.isArray(c[m])?e.each(p,m):e.call(p,m);let F=o(e,r);if(F){if(typeof F=="function"){l.push({print:F,node:c,pathStack:[...e.stack]});return}i.set(c,F)}}}async function ki(e,t,r,n){let i=await se({...r,...t,parentParser:r.parser,originalText:e},{passThrough:!0}),{ast:u}=await ce(e,i),o=await n(u,i);return Ze(o)}function Li(e,t){let{originalText:r,[Symbol.for("comments")]:n,locStart:i,locEnd:u,[Symbol.for("printedComments")]:o}=t,{node:s}=e,a=i(s),D=u(s);for(let l of n)i(l)>=a&&u(l)<=D&&o.add(l);return r.slice(a,D)}var zn=Li;async function Ye(e,t){({ast:e}=await Qt(e,t));let r=new Map,n=new Mr(e),i=tn(t),u=new Map;await Un(n,s,t,Ye,u);let o=await Gn(n,t,s,void 0,u);return en(t),o;function s(D,l){return D===void 0||D===n?a(l):Array.isArray(D)?n.call(()=>a(l),...D):n.call(()=>a(l),D)}function a(D){i(n);let l=n.node;if(l==null)return"";let d=l&&typeof l=="object"&&D===void 0;if(d&&r.has(l))return r.get(l);let f=Gn(n,t,s,D,u);return d&&r.set(l,f),f}}function Gn(e,t,r,n,i){var a;let{node:u}=e,{printer:o}=t,s;return(a=o.hasPrettierIgnore)!=null&&a.call(o,e)?s=zn(e,t):i.has(u)?s=i.get(u):s=o.print(e,t,r,n),u===t.cursorNode&&(s=Qe(s,D=>[ve,D,ve])),o.printComment&&(!o.willPrintOwnComments||!o.willPrintOwnComments(e,t))&&(s=Qr(e,s,t)),s}async function Qt(e,t){let r=e.comments??[];t[Symbol.for("comments")]=r,t[Symbol.for("tokens")]=e.tokens??[],t[Symbol.for("printedComments")]=new Set,Jr(e,t);let{printer:{preprocess:n}}=t;return e=n?await n(e,t):e,{ast:e,comments:r}}function Pi(e,t){let{cursorOffset:r,locStart:n,locEnd:i}=t,u=X(t.printer.getVisitorKeys),o=a=>n(a)<=r&&i(a)>=r,s=e;for(let a of Ur(e,{getVisitorKeys:u,filter:o}))s=a;return s}var Kn=Pi;function Ii(e,t){let{printer:{massageAstNode:r,getVisitorKeys:n}}=t;if(!r)return e;let i=X(n),u=r.ignoredProperties??new Set;return o(e);function o(s,a){if(!(s!==null&&typeof s=="object"))return s;if(Array.isArray(s))return s.map(f=>o(f,a)).filter(Boolean);let D={},l=new Set(i(s));for(let f in s)!Object.prototype.hasOwnProperty.call(s,f)||u.has(f)||(l.has(f)?D[f]=o(s[f],s):D[f]=s[f]);let d=r(s,D,a);if(d!==null)return d??D}}var qn=Ii;var Ri=(e,t,r)=>{if(!(e&&t==null)){if(t.findLastIndex)return t.findLastIndex(r);for(let n=t.length-1;n>=0;n--){let i=t[n];if(r(i,n,t))return n}return-1}},Jn=Ri;var Yi=({parser:e})=>e==="json"||e==="json5"||e==="jsonc"||e==="json-stringify";function ji(e,t){let r=[e.node,...e.parentNodes],n=new Set([t.node,...t.parentNodes]);return r.find(i=>Qn.has(i.type)&&n.has(i))}function Xn(e){let t=Jn(!1,e,r=>r.type!=="Program"&&r.type!=="File");return t===-1?e:e.slice(0,t+1)}function Hi(e,t,{locStart:r,locEnd:n}){let i=e.node,u=t.node;if(i===u)return{startNode:i,endNode:u};let o=r(e.node);for(let a of Xn(t.parentNodes))if(r(a)>=o)u=a;else break;let s=n(t.node);for(let a of Xn(e.parentNodes)){if(n(a)<=s)i=a;else break;if(i===u)break}return{startNode:i,endNode:u}}function er(e,t,r,n,i=[],u){let{locStart:o,locEnd:s}=r,a=o(e),D=s(e);if(!(t>D||tn);let s=e.slice(n,i).search(/\S/u),a=s===-1;if(!a)for(n+=s;i>n&&!/\S/u.test(e[i-1]);--i);let D=er(r,n,t,(p,c)=>Zn(t,p,c),[],"rangeStart"),l=a?D:er(r,i,t,p=>Zn(t,p),[],"rangeEnd");if(!D||!l)return{rangeStart:0,rangeEnd:0};let d,f;if(Yi(t)){let p=ji(D,l);d=p,f=p}else({startNode:d,endNode:f}=Hi(D,l,t));return{rangeStart:Math.min(u(d),u(f)),rangeEnd:Math.max(o(d),o(f))}}var uu="\uFEFF",tu=Symbol("cursor");async function iu(e,t,r=0){if(!e||e.trim().length===0)return{formatted:"",cursorOffset:-1,comments:[]};let{ast:n,text:i}=await ce(e,t);t.cursorOffset>=0&&(t.cursorNode=Kn(n,t));let u=await Ye(n,t,r);r>0&&(u=Je([q,u],r,t.tabWidth));let o=Fe(u,t);if(r>0){let a=o.formatted.trim();o.cursorNodeStart!==void 0&&(o.cursorNodeStart-=o.formatted.indexOf(a)),o.formatted=a+Be(t.endOfLine)}let s=t[Symbol.for("comments")];if(t.cursorOffset>=0){let a,D,l,d,f;if(t.cursorNode&&o.cursorNodeText?(a=t.locStart(t.cursorNode),D=i.slice(a,t.locEnd(t.cursorNode)),l=t.cursorOffset-a,d=o.cursorNodeStart,f=o.cursorNodeText):(a=0,D=i,l=t.cursorOffset,d=0,f=o.formatted),D===f)return{formatted:o.formatted,cursorOffset:d+l,comments:s};let p=D.split("");p.splice(l,0,tu);let c=f.split(""),F=dr(p,c),m=d;for(let E of F)if(E.removed){if(E.value.includes(tu))break}else m+=E.count;return{formatted:o.formatted,cursorOffset:m,comments:s}}return{formatted:o.formatted,cursorOffset:-1,comments:s}}async function $i(e,t){let{ast:r,text:n}=await ce(e,t),{rangeStart:i,rangeEnd:u}=eu(n,t,r),o=n.slice(i,u),s=Math.min(i,n.lastIndexOf(` +`,i)+1),a=n.slice(s,i).match(/^\s*/u)[0],D=me(a,t.tabWidth),l=await iu(o,{...t,rangeStart:0,rangeEnd:Number.POSITIVE_INFINITY,cursorOffset:t.cursorOffset>i&&t.cursorOffset<=u?t.cursorOffset-i:-1,endOfLine:"lf"},D),d=l.formatted.trimEnd(),{cursorOffset:f}=t;f>u?f+=d.length-o.length:l.cursorOffset>=0&&(f=l.cursorOffset+i);let p=n.slice(0,i)+d+n.slice(u);if(t.endOfLine!=="lf"){let c=Be(t.endOfLine);f>=0&&c===`\r +`&&(f+=wt(p.slice(0,f),` +`)),p=ne(!1,p,` +`,c)}return{formatted:p,cursorOffset:f,comments:l.comments}}function tr(e,t,r){return typeof t!="number"||Number.isNaN(t)||t<0||t>e.length?r:t}function ru(e,t){let{cursorOffset:r,rangeStart:n,rangeEnd:i}=t;return r=tr(e,r,-1),n=tr(e,n,0),i=tr(e,i,e.length),{...t,cursorOffset:r,rangeStart:n,rangeEnd:i}}function ou(e,t){let{cursorOffset:r,rangeStart:n,rangeEnd:i,endOfLine:u}=ru(e,t),o=e.charAt(0)===uu;if(o&&(e=e.slice(1),r--,n--,i--),u==="auto"&&(u=Fr(e)),e.includes("\r")){let s=a=>wt(e.slice(0,Math.max(a,0)),`\r +`);r-=s(r),n-=s(n),i-=s(i),e=mr(e)}return{hasBOM:o,text:e,options:ru(e,{...t,cursorOffset:r,rangeStart:n,rangeEnd:i,endOfLine:u})}}async function nu(e,t){let r=await ht(t);return!r.hasPragma||r.hasPragma(e)}async function rr(e,t){let{hasBOM:r,text:n,options:i}=ou(e,await se(t));if(i.rangeStart>=i.rangeEnd&&n!==""||i.requirePragma&&!await nu(n,i))return{formatted:e,cursorOffset:t.cursorOffset,comments:[]};let u;return i.rangeStart>0||i.rangeEnd=0&&u.cursorOffset++),u}async function su(e,t,r){let{text:n,options:i}=ou(e,await se(t)),u=await ce(n,i);return r&&(r.preprocessForPrint&&(u.ast=await Qt(u.ast,i)),r.massage&&(u.ast=qn(u.ast,i))),u}async function au(e,t){t=await se(t);let r=await Ye(e,t);return Fe(r,t)}async function Du(e,t){let r=Or(e),{formatted:n}=await rr(r,{...t,parser:"__js_expression"});return n}async function lu(e,t){t=await se(t);let{ast:r}=await ce(e,t);return Ye(r,t)}async function cu(e,t){return Fe(e,await se(t))}var nr={};We(nr,{builders:()=>Ui,printer:()=>zi,utils:()=>Gi});var Ui={join:be,line:Ke,softline:vr,hardline:q,literalline:qe,group:xt,conditionalGroup:Ar,fill:Ge,lineSuffix:_e,lineSuffixBoundary:_r,cursor:ve,breakParent:de,ifBreak:Br,trim:xr,indent:De,indentIfBreak:wr,align:ae,addAlignmentToDoc:Je,markAsRoot:gr,dedentToRoot:Cr,dedent:yr,hardlineWithoutBreakParent:xe,literallineWithoutBreakParent:vt,label:br,concat:e=>e},zi={printDocToString:Fe},Gi={willBreak:Ir,traverseDoc:we,findInDoc:Xe,mapDoc:Ne,removeLines:Yr,stripTrailingHardline:Ze,replaceEndOfLine:jr,canBreak:Hr};var fu="3.3.3";var ir={};We(ir,{addDanglingComment:()=>re,addLeadingComment:()=>ue,addTrailingComment:()=>ie,getAlignmentSize:()=>me,getIndentSize:()=>pu,getMaxContinuousCount:()=>du,getNextNonSpaceNonCommentCharacter:()=>Fu,getNextNonSpaceNonCommentCharacterIndex:()=>io,getStringWidth:()=>Oe,hasNewline:()=>V,hasNewlineInRange:()=>mu,hasSpaces:()=>Eu,isNextLineEmpty:()=>Do,isNextLineEmptyAfterIndex:()=>gt,isPreviousLineEmpty:()=>so,makeString:()=>hu,skip:()=>Ee,skipEverythingButNewLine:()=>nt,skipInlineComment:()=>Ce,skipNewline:()=>M,skipSpaces:()=>T,skipToLineEnd:()=>rt,skipTrailingComment:()=>ge,skipWhitespace:()=>zr});function Ki(e,t){if(t===!1)return!1;if(e.charAt(t)==="/"&&e.charAt(t+1)==="*"){for(let r=t+2;rMath.max(n,i.length/t.length),0)}var du=Qi;function eo(e,t){let r=je(e,t);return r===!1?"":e.charAt(r)}var Fu=eo;function to(e,t,r){for(let n=t;ns===n?s:a===t?"\\"+a:a||(r&&/^[^\n\r"'0-7\\bfnrt-vx\u2028\u2029]$/u.test(s)?s:"\\"+s));return t+u+t}var hu=no;function uo(e,t,r){return je(e,r(t))}function io(e,t){return arguments.length===2||typeof t=="number"?je(e,t):uo(...arguments)}function oo(e,t,r){return Le(e,r(t))}function so(e,t){return arguments.length===2||typeof t=="number"?Le(e,t):oo(...arguments)}function ao(e,t,r){return gt(e,r(t))}function Do(e,t){return arguments.length===2||typeof t=="number"?gt(e,t):ao(...arguments)}function fe(e,t=1){return async(...r)=>{let n=r[t]??{},i=n.plugins??[];return r[t]={...n,plugins:Array.isArray(i)?i:Object.values(i)},e(...r)}}var Cu=fe(rr);async function gu(e,t){let{formatted:r}=await Cu(e,{...t,cursorOffset:-1});return r}async function lo(e,t){return await gu(e,t)===e}var co=fe(it,0),fo={parse:fe(su),formatAST:fe(au),formatDoc:fe(Du),printToDoc:fe(lu),printDocToString:fe(cu)};return ar(po);}); \ No newline at end of file diff --git a/node_modules/prettier/standalone.mjs b/node_modules/prettier/standalone.mjs index 0bbf6e1fd9..0541cb67fb 100644 --- a/node_modules/prettier/standalone.mjs +++ b/node_modules/prettier/standalone.mjs @@ -1,34 +1,35 @@ -var Wu=Object.create;var et=Object.defineProperty;var Gu=Object.getOwnPropertyDescriptor;var Uu=Object.getOwnPropertyNames;var Ku=Object.getPrototypeOf,Hu=Object.prototype.hasOwnProperty;var Ot=(e,t)=>()=>(e&&(t=e(e=0)),t);var E=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),ge=(e,t)=>{for(var r in t)et(e,r,{get:t[r],enumerable:!0})},Yr=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let i of Uu(t))!Hu.call(e,i)&&i!==r&&et(e,i,{get:()=>t[i],enumerable:!(n=Gu(t,i))||n.enumerable});return e};var kt=(e,t,r)=>(r=e!=null?Wu(Ku(e)):{},Yr(t||!e||!e.__esModule?et(r,"default",{value:e,enumerable:!0}):r,e)),$=e=>Yr(et({},"__esModule",{value:!0}),e);var Ju=(e,t,r)=>{if(!t.has(e))throw TypeError("Cannot "+r)};var St=(e,t,r)=>{if(t.has(e))throw TypeError("Cannot add the same private member more than once");t instanceof WeakSet?t.add(e):t.set(e,r)};var ye=(e,t,r)=>(Ju(e,t,"access private method"),r);var qr=E(vt=>{"use strict";Object.defineProperty(vt,"__esModule",{value:!0});vt.default=Mr;function Mr(){}Mr.prototype={diff:function(t,r){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},i=n.callback;typeof n=="function"&&(i=n,n={}),this.options=n;var u=this;function o(p){return i?(setTimeout(function(){i(void 0,p)},0),!0):p}t=this.castInput(t),r=this.castInput(r),t=this.removeEmpty(this.tokenize(t)),r=this.removeEmpty(this.tokenize(r));var s=r.length,a=t.length,D=1,c=s+a;n.maxEditLength&&(c=Math.min(c,n.maxEditLength));var d=[{newPos:-1,components:[]}],l=this.extractCommon(d[0],r,t,0);if(d[0].newPos+1>=s&&l+1>=a)return o([{value:this.join(r),count:r.length}]);function F(){for(var p=-1*D;p<=D;p+=2){var m=void 0,h=d[p-1],C=d[p+1],g=(C?C.newPos:0)-p;h&&(d[p-1]=void 0);var y=h&&h.newPos+1=s&&g+1>=a)return o(Zu(u,m.components,r,t,u.useLongestToken));d[p]=m}D++}if(i)(function p(){setTimeout(function(){if(D>c)return i();F()||p()},0)})();else for(;D<=c;){var f=F();if(f)return f}},pushComponent:function(t,r,n){var i=t[t.length-1];i&&i.added===r&&i.removed===n?t[t.length-1]={count:i.count+1,added:r,removed:n}:t.push({count:1,added:r,removed:n})},extractCommon:function(t,r,n,i){for(var u=r.length,o=n.length,s=t.newPos,a=s-i,D=0;s+1F.length?p:F}),D.value=e.join(c)}else D.value=e.join(r.slice(s,s+D.count));s+=D.count,D.added||(a+=D.count)}}var l=t[o-1];return o>1&&typeof l.value=="string"&&(l.added||l.removed)&&e.equals("",l.value)&&(t[o-2].value+=l.value,t.pop()),t}function Qu(e){return{newPos:e.newPos,components:e.components.slice(0)}}});var $r=E(ve=>{"use strict";Object.defineProperty(ve,"__esModule",{value:!0});ve.diffArrays=ri;ve.arrayDiff=void 0;var ei=ti(qr());function ti(e){return e&&e.__esModule?e:{default:e}}var Se=new ei.default;ve.arrayDiff=Se;Se.tokenize=function(e){return e.slice()};Se.join=Se.removeEmpty=function(e){return e};function ri(e,t,r){return Se.diff(e,t,r)}});var ne={};ge(ne,{__assign:()=>Yt,__asyncDelegator:()=>Ri,__asyncGenerator:()=>Pi,__asyncValues:()=>Ii,__await:()=>ze,__awaiter:()=>Oi,__classPrivateFieldGet:()=>Mi,__classPrivateFieldSet:()=>qi,__createBinding:()=>Si,__decorate:()=>Ai,__exportStar:()=>vi,__extends:()=>xi,__generator:()=>ki,__importDefault:()=>Yi,__importStar:()=>ji,__makeTemplateObject:()=>Li,__metadata:()=>wi,__param:()=>Bi,__read:()=>Cn,__rest:()=>bi,__spread:()=>Ti,__spreadArrays:()=>Ni,__values:()=>Mt});function xi(e,t){jt(e,t);function r(){this.constructor=e}e.prototype=t===null?Object.create(t):(r.prototype=t.prototype,new r)}function bi(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,n=Object.getOwnPropertySymbols(e);i=0;s--)(o=e[s])&&(u=(i<3?o(u):i>3?o(t,r,u):o(t,r))||u);return i>3&&u&&Object.defineProperty(t,r,u),u}function Bi(e,t){return function(r,n){t(r,n,e)}}function wi(e,t){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(e,t)}function Oi(e,t,r,n){function i(u){return u instanceof r?u:new r(function(o){o(u)})}return new(r||(r=Promise))(function(u,o){function s(c){try{D(n.next(c))}catch(d){o(d)}}function a(c){try{D(n.throw(c))}catch(d){o(d)}}function D(c){c.done?u(c.value):i(c.value).then(s,a)}D((n=n.apply(e,t||[])).next())})}function ki(e,t){var r={label:0,sent:function(){if(u[0]&1)throw u[1];return u[1]},trys:[],ops:[]},n,i,u,o;return o={next:s(0),throw:s(1),return:s(2)},typeof Symbol=="function"&&(o[Symbol.iterator]=function(){return this}),o;function s(D){return function(c){return a([D,c])}}function a(D){if(n)throw new TypeError("Generator is already executing.");for(;r;)try{if(n=1,i&&(u=D[0]&2?i.return:D[0]?i.throw||((u=i.return)&&u.call(i),0):i.next)&&!(u=u.call(i,D[1])).done)return u;switch(i=0,u&&(D=[D[0]&2,u.value]),D[0]){case 0:case 1:u=D;break;case 4:return r.label++,{value:D[1],done:!1};case 5:r.label++,i=D[1],D=[0];continue;case 7:D=r.ops.pop(),r.trys.pop();continue;default:if(u=r.trys,!(u=u.length>0&&u[u.length-1])&&(D[0]===6||D[0]===2)){r=0;continue}if(D[0]===3&&(!u||D[1]>u[0]&&D[1]=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function Cn(e,t){var r=typeof Symbol=="function"&&e[Symbol.iterator];if(!r)return e;var n=r.call(e),i,u=[],o;try{for(;(t===void 0||t-- >0)&&!(i=n.next()).done;)u.push(i.value)}catch(s){o={error:s}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(o)throw o.error}}return u}function Ti(){for(var e=[],t=0;t1||s(l,F)})})}function s(l,F){try{a(n[l](F))}catch(f){d(u[0][3],f)}}function a(l){l.value instanceof ze?Promise.resolve(l.value.v).then(D,c):d(u[0][2],l)}function D(l){s("next",l)}function c(l){s("throw",l)}function d(l,F){l(F),u.shift(),u.length&&s(u[0][0],u[0][1])}}function Ri(e){var t,r;return t={},n("next"),n("throw",function(i){throw i}),n("return"),t[Symbol.iterator]=function(){return this},t;function n(i,u){t[i]=e[i]?function(o){return(r=!r)?{value:ze(e[i](o)),done:i==="return"}:u?u(o):o}:u}}function Ii(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t=e[Symbol.asyncIterator],r;return t?t.call(e):(e=typeof Mt=="function"?Mt(e):e[Symbol.iterator](),r={},n("next"),n("throw"),n("return"),r[Symbol.asyncIterator]=function(){return this},r);function n(u){r[u]=e[u]&&function(o){return new Promise(function(s,a){o=e[u](o),i(s,a,o.done,o.value)})}}function i(u,o,s,a){Promise.resolve(a).then(function(D){u({value:D,done:s})},o)}}function Li(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e}function ji(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var r in e)Object.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t.default=e,t}function Yi(e){return e&&e.__esModule?e:{default:e}}function Mi(e,t){if(!t.has(e))throw new TypeError("attempted to get private field on non-instance");return t.get(e)}function qi(e,t,r){if(!t.has(e))throw new TypeError("attempted to set private field on non-instance");return t.set(e,r),r}var jt,Yt,ue=Ot(()=>{jt=function(e,t){return jt=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,n){r.__proto__=n}||function(r,n){for(var i in n)n.hasOwnProperty(i)&&(r[i]=n[i])},jt(e,t)};Yt=function(){return Yt=Object.assign||function(t){for(var r,n=1,i=arguments.length;n{"use strict";Object.defineProperty(me,"__esModule",{value:!0});me.apiDescriptor={key:e=>/^[$_a-zA-Z][$_a-zA-Z0-9]*$/.test(e)?e:JSON.stringify(e),value(e){if(e===null||typeof e!="object")return JSON.stringify(e);if(Array.isArray(e))return`[${e.map(r=>me.apiDescriptor.value(r)).join(", ")}]`;let t=Object.keys(e);return t.length===0?"{}":`{ ${t.map(r=>`${me.apiDescriptor.key(r)}: ${me.apiDescriptor.value(e[r])}`).join(", ")} }`},pair:({key:e,value:t})=>me.apiDescriptor.value({[e]:t})}});var gn=E($t=>{"use strict";Object.defineProperty($t,"__esModule",{value:!0});var $i=(ue(),$(ne));$i.__exportStar(qt(),$t)});var ft={};ge(ft,{default:()=>Vt});var Y,Vt,We=Ot(()=>{Y=e=>e;Y.grey=Y;Y.red=Y;Y.bold=Y;Y.yellow=Y;Y.blue=Y;Y.default=Y;Vt=Y});var Wt=E(zt=>{"use strict";Object.defineProperty(zt,"__esModule",{value:!0});var yn=(We(),$(ft));zt.commonDeprecatedHandler=(e,t,{descriptor:r})=>{let n=[`${yn.default.yellow(typeof e=="string"?r.key(e):r.pair(e))} is deprecated`];return t&&n.push(`we now treat it as ${yn.default.blue(typeof t=="string"?r.key(t):r.pair(t))}`),n.join("; ")+"."}});var _n=E(Gt=>{"use strict";Object.defineProperty(Gt,"__esModule",{value:!0});var Vi=(ue(),$(ne));Vi.__exportStar(Wt(),Gt)});var xn=E(Kt=>{"use strict";Object.defineProperty(Kt,"__esModule",{value:!0});var Ut=(We(),$(ft));Kt.commonInvalidHandler=(e,t,r)=>[`Invalid ${Ut.default.red(r.descriptor.key(e))} value.`,`Expected ${Ut.default.blue(r.schemas[e].expected(r))},`,`but received ${Ut.default.red(r.descriptor.value(t))}.`].join(" ")});var Jt=E(Ht=>{"use strict";Object.defineProperty(Ht,"__esModule",{value:!0});var zi=(ue(),$(ne));zi.__exportStar(xn(),Ht)});var Bn=E((Pa,An)=>{"use strict";var Xt=[],bn=[];An.exports=function(e,t){if(e===t)return 0;var r=e;e.length>t.length&&(e=t,t=r);var n=e.length,i=t.length;if(n===0)return i;if(i===0)return n;for(;n>0&&e.charCodeAt(~-n)===t.charCodeAt(~-i);)n--,i--;if(n===0)return i;for(var u=0;us?D>s?s+1:D:D>a?a+1:D;return s}});var Qt=E(Zt=>{"use strict";Object.defineProperty(Zt,"__esModule",{value:!0});var wn=(We(),$(ft)),Wi=Bn();Zt.levenUnknownHandler=(e,t,{descriptor:r,logger:n,schemas:i})=>{let u=[`Ignored unknown option ${wn.default.yellow(r.pair({key:e,value:t}))}.`],o=Object.keys(i).sort().find(s=>Wi(e,s)<3);o&&u.push(`Did you mean ${wn.default.blue(r.key(o))}?`),n.warn(u.join(" "))}});var On=E(er=>{"use strict";Object.defineProperty(er,"__esModule",{value:!0});var Gi=(ue(),$(ne));Gi.__exportStar(Qt(),er)});var kn=E(Ge=>{"use strict";Object.defineProperty(Ge,"__esModule",{value:!0});var tr=(ue(),$(ne));tr.__exportStar(_n(),Ge);tr.__exportStar(Jt(),Ge);tr.__exportStar(On(),Ge)});var ie=E(dt=>{"use strict";Object.defineProperty(dt,"__esModule",{value:!0});var Ui=["default","expected","validate","deprecated","forward","redirect","overlap","preprocess","postprocess"];function Sn(e,t){let r=new e(t),n=Object.create(r);for(let i of Ui)i in t&&(n[i]=Ki(t[i],r,pt.prototype[i].length));return n}dt.createSchema=Sn;var pt=class{constructor(t){this.name=t.name}static create(t){return Sn(this,t)}default(t){}expected(t){return"nothing"}validate(t,r){return!1}deprecated(t,r){return!1}forward(t,r){}redirect(t,r){}overlap(t,r,n){return t}preprocess(t,r){return t}postprocess(t,r){return t}};dt.Schema=pt;function Ki(e,t,r){return typeof e=="function"?(...n)=>e(...n.slice(0,r-1),t,...n.slice(r-1)):()=>e}});var vn=E(nr=>{"use strict";Object.defineProperty(nr,"__esModule",{value:!0});var Hi=ie(),rr=class extends Hi.Schema{constructor(t){super(t),this._sourceName=t.sourceName}expected(t){return t.schemas[this._sourceName].expected(t)}validate(t,r){return r.schemas[this._sourceName].validate(t,r)}redirect(t,r){return this._sourceName}};nr.AliasSchema=rr});var Tn=E(ir=>{"use strict";Object.defineProperty(ir,"__esModule",{value:!0});var Ji=ie(),ur=class extends Ji.Schema{expected(){return"anything"}validate(){return!0}};ir.AnySchema=ur});var Pn=E(sr=>{"use strict";Object.defineProperty(sr,"__esModule",{value:!0});var Xi=(ue(),$(ne)),Zi=ie(),or=class extends Zi.Schema{constructor(t){var{valueSchema:r,name:n=r.name}=t,i=Xi.__rest(t,["valueSchema","name"]);super(Object.assign({},i,{name:n})),this._valueSchema=r}expected(t){return`an array of ${this._valueSchema.expected(t)}`}validate(t,r){if(!Array.isArray(t))return!1;let n=[];for(let i of t){let u=r.normalizeValidateResult(this._valueSchema.validate(i,r),i);u!==!0&&n.push(u.value)}return n.length===0?!0:{value:n}}deprecated(t,r){let n=[];for(let i of t){let u=r.normalizeDeprecatedResult(this._valueSchema.deprecated(i,r),i);u!==!1&&n.push(...u.map(({value:o})=>({value:[o]})))}return n}forward(t,r){let n=[];for(let i of t){let u=r.normalizeForwardResult(this._valueSchema.forward(i,r),i);n.push(...u.map(Nn))}return n}redirect(t,r){let n=[],i=[];for(let u of t){let o=r.normalizeRedirectResult(this._valueSchema.redirect(u,r),u);"remain"in o&&n.push(o.remain),i.push(...o.redirect.map(Nn))}return n.length===0?{redirect:i}:{redirect:i,remain:n}}overlap(t,r){return t.concat(r)}};sr.ArraySchema=or;function Nn({from:e,to:t}){return{from:[e],to:t}}});var Rn=E(Dr=>{"use strict";Object.defineProperty(Dr,"__esModule",{value:!0});var Qi=ie(),ar=class extends Qi.Schema{expected(){return"true or false"}validate(t){return typeof t=="boolean"}};Dr.BooleanSchema=ar});var Ft=E(j=>{"use strict";Object.defineProperty(j,"__esModule",{value:!0});function eo(e,t){let r=Object.create(null);for(let n of e){let i=n[t];if(r[i])throw new Error(`Duplicate ${t} ${JSON.stringify(i)}`);r[i]=n}return r}j.recordFromArray=eo;function to(e,t){let r=new Map;for(let n of e){let i=n[t];if(r.has(i))throw new Error(`Duplicate ${t} ${JSON.stringify(i)}`);r.set(i,n)}return r}j.mapFromArray=to;function ro(){let e=Object.create(null);return t=>{let r=JSON.stringify(t);return e[r]?!0:(e[r]=!0,!1)}}j.createAutoChecklist=ro;function no(e,t){let r=[],n=[];for(let i of e)t(i)?r.push(i):n.push(i);return[r,n]}j.partition=no;function uo(e){return e===Math.floor(e)}j.isInt=uo;function io(e,t){if(e===t)return 0;let r=typeof e,n=typeof t,i=["undefined","object","boolean","number","string"];return r!==n?i.indexOf(r)-i.indexOf(n):r!=="string"?Number(e)-Number(t):e.localeCompare(t)}j.comparePrimitive=io;function oo(e){return e===void 0?{}:e}j.normalizeDefaultResult=oo;function so(e,t){return e===!0?!0:e===!1?{value:t}:e}j.normalizeValidateResult=so;function ao(e,t,r=!1){return e===!1?!1:e===!0?r?!0:[{value:t}]:"value"in e?[e]:e.length===0?!1:e}j.normalizeDeprecatedResult=ao;function cr(e,t){return typeof e=="string"||"key"in e?{from:t,to:e}:"from"in e?{from:e.from,to:e.to}:{from:t,to:e.to}}j.normalizeTransferResult=cr;function In(e,t){return e===void 0?[]:Array.isArray(e)?e.map(r=>cr(r,t)):[cr(e,t)]}j.normalizeForwardResult=In;function Do(e,t){let r=In(typeof e=="object"&&"redirect"in e?e.redirect:e,t);return r.length===0?{remain:t,redirect:r}:typeof e=="object"&&"remain"in e?{remain:e.remain,redirect:r}:{redirect:r}}j.normalizeRedirectResult=Do});var jn=E(fr=>{"use strict";Object.defineProperty(fr,"__esModule",{value:!0});var co=ie(),Ln=Ft(),lr=class extends co.Schema{constructor(t){super(t),this._choices=Ln.mapFromArray(t.choices.map(r=>r&&typeof r=="object"?r:{value:r}),"value")}expected({descriptor:t}){let r=Array.from(this._choices.keys()).map(u=>this._choices.get(u)).filter(u=>!u.deprecated).map(u=>u.value).sort(Ln.comparePrimitive).map(t.value),n=r.slice(0,-2),i=r.slice(-2);return n.concat(i.join(" or ")).join(", ")}validate(t){return this._choices.has(t)}deprecated(t){let r=this._choices.get(t);return r&&r.deprecated?{value:t}:!1}forward(t){let r=this._choices.get(t);return r?r.forward:void 0}redirect(t){let r=this._choices.get(t);return r?r.redirect:void 0}};fr.ChoiceSchema=lr});var Fr=E(dr=>{"use strict";Object.defineProperty(dr,"__esModule",{value:!0});var lo=ie(),pr=class extends lo.Schema{expected(){return"a number"}validate(t,r){return typeof t=="number"}};dr.NumberSchema=pr});var Yn=E(hr=>{"use strict";Object.defineProperty(hr,"__esModule",{value:!0});var fo=Ft(),po=Fr(),mr=class extends po.NumberSchema{expected(){return"an integer"}validate(t,r){return r.normalizeValidateResult(super.validate(t,r),t)===!0&&fo.isInt(t)}};hr.IntegerSchema=mr});var Mn=E(Cr=>{"use strict";Object.defineProperty(Cr,"__esModule",{value:!0});var Fo=ie(),Er=class extends Fo.Schema{expected(){return"a string"}validate(t){return typeof t=="string"}};Cr.StringSchema=Er});var qn=E(Q=>{"use strict";Object.defineProperty(Q,"__esModule",{value:!0});var ce=(ue(),$(ne));ce.__exportStar(vn(),Q);ce.__exportStar(Tn(),Q);ce.__exportStar(Pn(),Q);ce.__exportStar(Rn(),Q);ce.__exportStar(jn(),Q);ce.__exportStar(Yn(),Q);ce.__exportStar(Fr(),Q);ce.__exportStar(Mn(),Q)});var $n=E(Ae=>{"use strict";Object.defineProperty(Ae,"__esModule",{value:!0});var mo=qt(),ho=Wt(),Eo=Jt(),Co=Qt();Ae.defaultDescriptor=mo.apiDescriptor;Ae.defaultUnknownHandler=Co.levenUnknownHandler;Ae.defaultInvalidHandler=Eo.commonInvalidHandler;Ae.defaultDeprecatedHandler=ho.commonDeprecatedHandler});var Vn=E(Et=>{"use strict";Object.defineProperty(Et,"__esModule",{value:!0});var mt=$n(),M=Ft();Et.normalize=(e,t,r)=>new ht(t,r).normalize(e);var ht=class{constructor(t,r){let{logger:n=console,descriptor:i=mt.defaultDescriptor,unknown:u=mt.defaultUnknownHandler,invalid:o=mt.defaultInvalidHandler,deprecated:s=mt.defaultDeprecatedHandler}=r||{};this._utils={descriptor:i,logger:n||{warn:()=>{}},schemas:M.recordFromArray(t,"name"),normalizeDefaultResult:M.normalizeDefaultResult,normalizeDeprecatedResult:M.normalizeDeprecatedResult,normalizeForwardResult:M.normalizeForwardResult,normalizeRedirectResult:M.normalizeRedirectResult,normalizeValidateResult:M.normalizeValidateResult},this._unknownHandler=u,this._invalidHandler=o,this._deprecatedHandler=s,this.cleanHistory()}cleanHistory(){this._hasDeprecationWarned=M.createAutoChecklist()}normalize(t){let r={},n=[t],i=()=>{for(;n.length!==0;){let u=n.shift(),o=this._applyNormalization(u,r);n.push(...o)}};i();for(let u of Object.keys(this._utils.schemas)){let o=this._utils.schemas[u];if(!(u in r)){let s=M.normalizeDefaultResult(o.default(this._utils));"value"in s&&n.push({[u]:s.value})}}i();for(let u of Object.keys(this._utils.schemas)){let o=this._utils.schemas[u];u in r&&(r[u]=o.postprocess(r[u],this._utils))}return r}_applyNormalization(t,r){let n=[],[i,u]=M.partition(Object.keys(t),o=>o in this._utils.schemas);for(let o of i){let s=this._utils.schemas[o],a=s.preprocess(t[o],this._utils),D=M.normalizeValidateResult(s.validate(a,this._utils),a);if(D!==!0){let{value:f}=D,p=this._invalidHandler(o,f,this._utils);throw typeof p=="string"?new Error(p):p}let c=({from:f,to:p})=>{n.push(typeof p=="string"?{[p]:f}:{[p.key]:p.value})},d=({value:f,redirectTo:p})=>{let m=M.normalizeDeprecatedResult(s.deprecated(f,this._utils),a,!0);if(m!==!1)if(m===!0)this._hasDeprecationWarned(o)||this._utils.logger.warn(this._deprecatedHandler(o,p,this._utils));else for(let{value:h}of m){let C={key:o,value:h};if(!this._hasDeprecationWarned(C)){let g=typeof p=="string"?{key:p,value:h}:p;this._utils.logger.warn(this._deprecatedHandler(C,g,this._utils))}}};M.normalizeForwardResult(s.forward(a,this._utils),a).forEach(c);let F=M.normalizeRedirectResult(s.redirect(a,this._utils),a);if(F.redirect.forEach(c),"remain"in F){let f=F.remain;r[o]=o in r?s.overlap(r[o],f,this._utils):f,d({value:f})}for(let{from:f,to:p}of F.redirect)d({value:f,redirectTo:p})}for(let o of u){let s=t[o],a=this._unknownHandler(o,s,this._utils);if(a)for(let D of Object.keys(a)){let c={[D]:a[D]};D in this._utils.schemas?n.push(c):Object.assign(r,c)}}return n}};Et.Normalizer=ht});var zn=E(he=>{"use strict";Object.defineProperty(he,"__esModule",{value:!0});var Ue=(ue(),$(ne));Ue.__exportStar(gn(),he);Ue.__exportStar(kn(),he);Ue.__exportStar(qn(),he);Ue.__exportStar(Vn(),he);Ue.__exportStar(ie(),he)});var Xn={};ge(Xn,{getChalk:()=>Oo,shouldHighlight:()=>wo});var wo,Oo,Zn=Ot(()=>{We();wo=()=>!1,Oo=()=>Vt});var ru=E(gt=>{"use strict";Object.defineProperty(gt,"__esModule",{value:!0});gt.codeFrameColumns=tu;gt.default=vo;var xr=(Zn(),$(Xn)),Qn=!1;function ko(e){return{gutter:e.grey,marker:e.red.bold,message:e.red.bold}}var eu=/\r\n|[\n\r\u2028\u2029]/;function So(e,t,r){let n=Object.assign({column:0,line:-1},e.start),i=Object.assign({},n,e.end),{linesAbove:u=2,linesBelow:o=3}=r||{},s=n.line,a=n.column,D=i.line,c=i.column,d=Math.max(s-(u+1),0),l=Math.min(t.length,D+o);s===-1&&(d=0),D===-1&&(l=t.length);let F=D-s,f={};if(F)for(let p=0;p<=F;p++){let m=p+s;if(!a)f[m]=!0;else if(p===0){let h=t[m-1].length;f[m]=[a,h-a+1]}else if(p===F)f[m]=[0,c];else{let h=t[m-p].length;f[m]=[0,h]}}else a===c?a?f[s]=[a,0]:f[s]=!0:f[s]=[a,c-a];return{start:d,end:l,markerLines:f}}function tu(e,t,r={}){let n=(r.highlightCode||r.forceColor)&&(0,xr.shouldHighlight)(r),i=(0,xr.getChalk)(r),u=ko(i),o=(p,m)=>n?p(m):m,s=e.split(eu),{start:a,end:D,markerLines:c}=So(t,s,r),d=t.start&&typeof t.start.column=="number",l=String(D).length,f=(n?(0,xr.default)(e,r):e).split(eu,D).slice(a,D).map((p,m)=>{let h=a+1+m,g=` ${` ${h}`.slice(-l)} |`,y=c[h],b=!c[h+1];if(y){let se="";if(Array.isArray(y)){let G=p.slice(0,Math.max(y[0]-1,0)).replace(/[^\t]/g," "),ae=y[1]||1;se=[` - `,o(u.gutter,g.replace(/\d/g," "))," ",G,o(u.marker,"^").repeat(ae)].join(""),b&&r.message&&(se+=" "+o(u.message,r.message))}return[o(u.marker,">"),o(u.gutter,g),p.length>0?` ${p}`:"",se].join("")}else return` ${o(u.gutter,g)}${p.length>0?` ${p}`:""}`}).join(` -`);return r.message&&!d&&(f=`${" ".repeat(l+1)}${r.message} -${f}`),n?i.reset(f):f}function vo(e,t,r,n={}){if(!Qn){Qn=!0;let u="Passing lineNumber and colNumber is deprecated to @babel/code-frame. Please use `codeFrameColumns`.";{let o=new Error(u);o.name="DeprecationWarning",console.warn(new Error(u))}}return r=Math.max(r,0),tu(e,{start:{column:r,line:t}},n)}});var Lr={};ge(Lr,{__debug:()=>xs,check:()=>ys,doc:()=>wt,format:()=>zu,formatWithCursor:()=>Vu,getSupportInfo:()=>_s,util:()=>Bt,version:()=>$u});var Xu=(e,t,r,n)=>{if(!(e&&t==null))return t.replaceAll?t.replaceAll(r,n):r.global?t.replace(r,n):t.split(r).join(n)},De=Xu;var wu=kt($r(),1);var U="string",V="array",K="cursor",v="indent",T="align",N="trim",A="group",w="fill",B="if-break",P="indent-if-break",R="line-suffix",I="line-suffix-boundary",x="line",k="label",O="break-parent",tt=new Set([K,v,T,N,A,w,B,P,R,I,x,k,O]);function ni(e){if(typeof e=="string")return U;if(Array.isArray(e))return V;if(!e)return;let{type:t}=e;if(tt.has(t))return t}var H=ni;var ui=e=>new Intl.ListFormat("en-US",{type:"disjunction"}).format(e);function ii(e){let t=e===null?"null":typeof e;if(t!=="string"&&t!=="object")return`Unexpected doc '${t}', -Expected it to be 'string' or 'object'.`;if(H(e))throw new Error("doc is valid.");let r=Object.prototype.toString.call(e);if(r!=="[object Object]")return`Unexpected doc '${r}'.`;let n=ui([...tt].map(i=>`'${i}'`));return`Unexpected doc.type '${e.type}'. -Expected it to be ${n}.`}var Tt=class extends Error{name="InvalidDocError";constructor(t){super(ii(t)),this.doc=t}},te=Tt;var Vr={};function oi(e,t,r,n){let i=[e];for(;i.length>0;){let u=i.pop();if(u===Vr){r(i.pop());continue}r&&i.push(u,Vr);let o=H(u);if(!o)throw new te(u);if((t==null?void 0:t(u))!==!1)switch(o){case V:case w:{let s=o===V?u:u.parts;for(let a=s.length,D=a-1;D>=0;--D)i.push(s[D]);break}case B:i.push(u.flatContents,u.breakContents);break;case A:if(n&&u.expandedStates)for(let s=u.expandedStates.length,a=s-1;a>=0;--a)i.push(u.expandedStates[a]);else i.push(u.contents);break;case T:case v:case P:case k:case R:i.push(u.contents);break;case U:case K:case N:case I:case x:case O:break;default:throw new te(u)}}}var Te=oi;var zr=()=>{},J=zr,rt=zr;function Fe(e){return J(e),{type:v,contents:e}}function de(e,t){return J(t),{type:T,contents:t,n:e}}function Nt(e,t={}){return J(e),rt(t.expandedStates,!0),{type:A,id:t.id,contents:e,break:!!t.shouldBreak,expandedStates:t.expandedStates}}function Wr(e){return de(Number.NEGATIVE_INFINITY,e)}function Gr(e){return de({type:"root"},e)}function Ur(e){return de(-1,e)}function Kr(e,t){return Nt(e[0],{...t,expandedStates:e})}function nt(e){return rt(e),{type:w,parts:e}}function Hr(e,t="",r={}){return J(e),t!==""&&J(t),{type:B,breakContents:e,flatContents:t,groupId:r.groupId}}function Jr(e,t){return J(e),{type:P,contents:e,groupId:t.groupId,negate:t.negate}}function Ne(e){return J(e),{type:R,contents:e}}var Xr={type:I},_e={type:O},Zr={type:N},Pe={type:x,hard:!0},Pt={type:x,hard:!0,literal:!0},ut={type:x},Qr={type:x,soft:!0},X=[Pe,_e],it=[Pt,_e],Re={type:K};function Ie(e,t){J(e),rt(t);let r=[];for(let n=0;n0){for(let i=0;i{if(!(e&&t==null))return Array.isArray(t)||typeof t=="string"?t[r<0?t.length+r:r]:t.at(r)},_=si;function tn(e){let t=e.indexOf("\r");return t>=0?e.charAt(t+1)===` -`?"crlf":"cr":"lf"}function Le(e){switch(e){case"cr":return"\r";case"crlf":return`\r +var yu=Object.create;var He=Object.defineProperty;var Au=Object.getOwnPropertyDescriptor;var Bu=Object.getOwnPropertyNames;var wu=Object.getPrototypeOf,xu=Object.prototype.hasOwnProperty;var sr=e=>{throw TypeError(e)};var _u=(e,t)=>()=>(e&&(t=e(e=0)),t);var At=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),We=(e,t)=>{for(var r in t)He(e,r,{get:t[r],enumerable:!0})},ar=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of Bu(t))!xu.call(e,o)&&o!==r&&He(e,o,{get:()=>t[o],enumerable:!(n=Au(t,o))||n.enumerable});return e};var Me=(e,t,r)=>(r=e!=null?yu(wu(e)):{},ar(t||!e||!e.__esModule?He(r,"default",{value:e,enumerable:!0}):r,e)),vu=e=>ar(He({},"__esModule",{value:!0}),e);var bu=(e,t,r)=>t.has(e)||sr("Cannot "+r);var Dr=(e,t,r)=>t.has(e)?sr("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,r);var pe=(e,t,r)=>(bu(e,t,"access private method"),r);var it=At((ia,sn)=>{"use strict";var on=new Proxy(String,{get:()=>on});sn.exports=on});var Tn={};We(Tn,{default:()=>_o,shouldHighlight:()=>xo});var xo,_o,kn=_u(()=>{xo=()=>!1,_o=String});var Pn=At((bD,Xt)=>{var g=String,Ln=function(){return{isColorSupported:!1,reset:g,bold:g,dim:g,italic:g,underline:g,inverse:g,hidden:g,strikethrough:g,black:g,red:g,green:g,yellow:g,blue:g,magenta:g,cyan:g,white:g,gray:g,bgBlack:g,bgRed:g,bgGreen:g,bgYellow:g,bgBlue:g,bgMagenta:g,bgCyan:g,bgWhite:g}};Xt.exports=Ln();Xt.exports.createColors=Ln});var $n=At(Ct=>{"use strict";Object.defineProperty(Ct,"__esModule",{value:!0});Ct.codeFrameColumns=Mn;Ct.default=To;var In=(kn(),vu(Tn)),Hn=vo(Pn(),!0);function Wn(e){if(typeof WeakMap!="function")return null;var t=new WeakMap,r=new WeakMap;return(Wn=function(n){return n?r:t})(e)}function vo(e,t){if(!t&&e&&e.__esModule)return e;if(e===null||typeof e!="object"&&typeof e!="function")return{default:e};var r=Wn(t);if(r&&r.has(e))return r.get(e);var n={__proto__:null},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var u in e)if(u!=="default"&&{}.hasOwnProperty.call(e,u)){var i=o?Object.getOwnPropertyDescriptor(e,u):null;i&&(i.get||i.set)?Object.defineProperty(n,u,i):n[u]=e[u]}return n.default=e,r&&r.set(e,n),n}var bo=Hn.default,Rn=(e,t)=>r=>e(t(r)),Zt;function Oo(e){if(e){var t;return(t=Zt)!=null||(Zt=(0,Hn.createColors)(!0)),Zt}return bo}var Yn=!1;function So(e){return{gutter:e.gray,marker:Rn(e.red,e.bold),message:Rn(e.red,e.bold)}}var jn=/\r\n|[\n\r\u2028\u2029]/;function No(e,t,r){let n=Object.assign({column:0,line:-1},e.start),o=Object.assign({},n,e.end),{linesAbove:u=2,linesBelow:i=3}=r||{},s=n.line,a=n.column,D=o.line,l=o.column,d=Math.max(s-(u+1),0),f=Math.min(t.length,D+i);s===-1&&(d=0),D===-1&&(f=t.length);let p=D-s,c={};if(p)for(let F=0;F<=p;F++){let m=F+s;if(!a)c[m]=!0;else if(F===0){let E=t[m-1].length;c[m]=[a,E-a+1]}else if(F===p)c[m]=[0,l];else{let E=t[m-F].length;c[m]=[0,E]}}else a===l?a?c[s]=[a,0]:c[s]=!0:c[s]=[a,l-a];return{start:d,end:f,markerLines:c}}function Mn(e,t,r={}){let n=(r.highlightCode||r.forceColor)&&(0,In.shouldHighlight)(r),o=Oo(r.forceColor),u=So(o),i=(F,m)=>n?F(m):m,s=e.split(jn),{start:a,end:D,markerLines:l}=No(t,s,r),d=t.start&&typeof t.start.column=="number",f=String(D).length,c=(n?(0,In.default)(e,r):e).split(jn,D).slice(a,D).map((F,m)=>{let E=a+1+m,w=` ${` ${E}`.slice(-f)} |`,h=l[E],C=!l[E+1];if(h){let k="";if(Array.isArray(h)){let v=F.slice(0,Math.max(h[0]-1,0)).replace(/[^\t]/g," "),$=h[1]||1;k=[` + `,i(u.gutter,w.replace(/\d/g," "))," ",v,i(u.marker,"^").repeat($)].join(""),C&&r.message&&(k+=" "+i(u.message,r.message))}return[i(u.marker,">"),i(u.gutter,w),F.length>0?` ${F}`:"",k].join("")}else return` ${i(u.gutter,w)}${F.length>0?` ${F}`:""}`}).join(` +`);return r.message&&!d&&(c=`${" ".repeat(f+1)}${r.message} +${c}`),n?o.reset(c):c}function To(e,t,r,n={}){if(!Yn){Yn=!0;let u="Passing lineNumber and colNumber is deprecated to @babel/code-frame. Please use `codeFrameColumns`.";{let i=new Error(u);i.name="DeprecationWarning",console.warn(new Error(u))}}return r=Math.max(r,0),Mn(e,{start:{column:r,line:t}},n)}});var ir={};We(ir,{__debug:()=>di,check:()=>fi,doc:()=>nr,format:()=>gu,formatWithCursor:()=>Cu,getSupportInfo:()=>pi,util:()=>or,version:()=>fu});var Ou=(e,t,r,n)=>{if(!(e&&t==null))return t.replaceAll?t.replaceAll(r,n):r.global?t.replace(r,n):t.split(r).join(n)},ne=Ou;function Z(){}Z.prototype={diff:function(t,r){var n,o=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},u=o.callback;typeof o=="function"&&(u=o,o={}),this.options=o;var i=this;function s(h){return u?(setTimeout(function(){u(void 0,h)},0),!0):h}t=this.castInput(t),r=this.castInput(r),t=this.removeEmpty(this.tokenize(t)),r=this.removeEmpty(this.tokenize(r));var a=r.length,D=t.length,l=1,d=a+D;o.maxEditLength&&(d=Math.min(d,o.maxEditLength));var f=(n=o.timeout)!==null&&n!==void 0?n:1/0,p=Date.now()+f,c=[{oldPos:-1,lastComponent:void 0}],F=this.extractCommon(c[0],r,t,0);if(c[0].oldPos+1>=D&&F+1>=a)return s([{value:this.join(r),count:r.length}]);var m=-1/0,E=1/0;function A(){for(var h=Math.max(m,-l);h<=Math.min(E,l);h+=2){var C=void 0,k=c[h-1],v=c[h+1];k&&(c[h-1]=void 0);var $=!1;if(v){var ye=v.oldPos-h;$=v&&0<=ye&&ye=D&&F+1>=a)return s(Su(i,C.lastComponent,r,t,i.useLongestToken));c[h]=C,C.oldPos+1>=D&&(E=Math.min(E,h-1)),F+1>=a&&(m=Math.max(m,h+1))}l++}if(u)(function h(){setTimeout(function(){if(l>d||Date.now()>p)return u();A()||h()},0)})();else for(;l<=d&&Date.now()<=p;){var w=A();if(w)return w}},addToPath:function(t,r,n,o){var u=t.lastComponent;return u&&u.added===r&&u.removed===n?{oldPos:t.oldPos+o,lastComponent:{count:u.count+1,added:r,removed:n,previousComponent:u.previousComponent}}:{oldPos:t.oldPos+o,lastComponent:{count:1,added:r,removed:n,previousComponent:u}}},extractCommon:function(t,r,n,o){for(var u=r.length,i=n.length,s=t.oldPos,a=s-o,D=0;a+1F.length?E:F}),d.value=e.join(f)}else d.value=e.join(r.slice(D,D+d.count));D+=d.count,d.added||(l+=d.count)}}var c=u[a-1];return a>1&&typeof c.value=="string"&&(c.added||c.removed)&&e.equals("",c.value)&&(u[a-2].value+=c.value,u.pop()),u}var hi=new Z;var lr=/^[A-Za-z\xC0-\u02C6\u02C8-\u02D7\u02DE-\u02FF\u1E00-\u1EFF]+$/,cr=/\S/,fr=new Z;fr.equals=function(e,t){return this.options.ignoreCase&&(e=e.toLowerCase(),t=t.toLowerCase()),e===t||this.options.ignoreWhitespace&&!cr.test(e)&&!cr.test(t)};fr.tokenize=function(e){for(var t=e.split(/([^\S\r\n]+|[()[\]{}'"\r\n]|\b)/),r=0;r"u"?r:i}:n;return typeof e=="string"?e:JSON.stringify(Bt(e,null,null,o),o," ")};Ae.equals=function(e,t){return Z.prototype.equals.call(Ae,e.replace(/,([\r\n])/g,"$1"),t.replace(/,([\r\n])/g,"$1"))};function Bt(e,t,r,n,o){t=t||[],r=r||[],n&&(e=n(o,e));var u;for(u=0;u=0?e.charAt(t+1)===` +`?"crlf":"cr":"lf"}function Be(e){switch(e){case"cr":return"\r";case"crlf":return`\r `;default:return` -`}}function Rt(e,t){let r;switch(t){case` -`:r=/\n/g;break;case"\r":r=/\r/g;break;case`\r -`:r=/\r\n/g;break;default:throw new Error(`Unexpected "eol" ${JSON.stringify(t)}.`)}let n=e.match(r);return n?n.length:0}function rn(e){return De(!1,e,/\r\n?/g,` -`)}var nn=()=>/[#*0-9]\uFE0F?\u20E3|[\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u231A\u231B\u2328\u23CF\u23ED-\u23EF\u23F1\u23F2\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB\u25FC\u25FE\u2600-\u2604\u260E\u2611\u2614\u2615\u2618\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638-\u263A\u2640\u2642\u2648-\u2653\u265F\u2660\u2663\u2665\u2666\u2668\u267B\u267E\u267F\u2692\u2694-\u2697\u2699\u269B\u269C\u26A0\u26A7\u26AA\u26B0\u26B1\u26BD\u26BE\u26C4\u26C8\u26CF\u26D1\u26D3\u26E9\u26F0-\u26F5\u26F7\u26F8\u26FA\u2702\u2708\u2709\u270F\u2712\u2714\u2716\u271D\u2721\u2733\u2734\u2744\u2747\u2757\u2763\u27A1\u2934\u2935\u2B05-\u2B07\u2B1B\u2B1C\u2B55\u3030\u303D\u3297\u3299]\uFE0F?|[\u261D\u270C\u270D](?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?|[\u270A\u270B](?:\uD83C[\uDFFB-\uDFFF])?|[\u23E9-\u23EC\u23F0\u23F3\u25FD\u2693\u26A1\u26AB\u26C5\u26CE\u26D4\u26EA\u26FD\u2705\u2728\u274C\u274E\u2753-\u2755\u2795-\u2797\u27B0\u27BF\u2B50]|\u26F9(?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|\u2764\uFE0F?(?:\u200D(?:\uD83D\uDD25|\uD83E\uDE79))?|\uD83C(?:[\uDC04\uDD70\uDD71\uDD7E\uDD7F\uDE02\uDE37\uDF21\uDF24-\uDF2C\uDF36\uDF7D\uDF96\uDF97\uDF99-\uDF9B\uDF9E\uDF9F\uDFCD\uDFCE\uDFD4-\uDFDF\uDFF5\uDFF7]\uFE0F?|[\uDF85\uDFC2\uDFC7](?:\uD83C[\uDFFB-\uDFFF])?|[\uDFC3\uDFC4\uDFCA](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDFCB\uDFCC](?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\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]|\uDDE6\uD83C[\uDDE8-\uDDEC\uDDEE\uDDF1\uDDF2\uDDF4\uDDF6-\uDDFA\uDDFC\uDDFD\uDDFF]|\uDDE7\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEF\uDDF1-\uDDF4\uDDF6-\uDDF9\uDDFB\uDDFC\uDDFE\uDDFF]|\uDDE8\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDEE\uDDF0-\uDDF5\uDDF7\uDDFA-\uDDFF]|\uDDE9\uD83C[\uDDEA\uDDEC\uDDEF\uDDF0\uDDF2\uDDF4\uDDFF]|\uDDEA\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDED\uDDF7-\uDDFA]|\uDDEB\uD83C[\uDDEE-\uDDF0\uDDF2\uDDF4\uDDF7]|\uDDEC\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEE\uDDF1-\uDDF3\uDDF5-\uDDFA\uDDFC\uDDFE]|\uDDED\uD83C[\uDDF0\uDDF2\uDDF3\uDDF7\uDDF9\uDDFA]|\uDDEE\uD83C[\uDDE8-\uDDEA\uDDF1-\uDDF4\uDDF6-\uDDF9]|\uDDEF\uD83C[\uDDEA\uDDF2\uDDF4\uDDF5]|\uDDF0\uD83C[\uDDEA\uDDEC-\uDDEE\uDDF2\uDDF3\uDDF5\uDDF7\uDDFC\uDDFE\uDDFF]|\uDDF1\uD83C[\uDDE6-\uDDE8\uDDEE\uDDF0\uDDF7-\uDDFB\uDDFE]|\uDDF2\uD83C[\uDDE6\uDDE8-\uDDED\uDDF0-\uDDFF]|\uDDF3\uD83C[\uDDE6\uDDE8\uDDEA-\uDDEC\uDDEE\uDDF1\uDDF4\uDDF5\uDDF7\uDDFA\uDDFF]|\uDDF4\uD83C\uDDF2|\uDDF5\uD83C[\uDDE6\uDDEA-\uDDED\uDDF0-\uDDF3\uDDF7-\uDDF9\uDDFC\uDDFE]|\uDDF6\uD83C\uDDE6|\uDDF7\uD83C[\uDDEA\uDDF4\uDDF8\uDDFA\uDDFC]|\uDDF8\uD83C[\uDDE6-\uDDEA\uDDEC-\uDDF4\uDDF7-\uDDF9\uDDFB\uDDFD-\uDDFF]|\uDDF9\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDED\uDDEF-\uDDF4\uDDF7\uDDF9\uDDFB\uDDFC\uDDFF]|\uDDFA\uD83C[\uDDE6\uDDEC\uDDF2\uDDF3\uDDF8\uDDFE\uDDFF]|\uDDFB\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDEE\uDDF3\uDDFA]|\uDDFC\uD83C[\uDDEB\uDDF8]|\uDDFD\uD83C\uDDF0|\uDDFE\uD83C[\uDDEA\uDDF9]|\uDDFF\uD83C[\uDDE6\uDDF2\uDDFC]|\uDFF3\uFE0F?(?:\u200D(?:\u26A7\uFE0F?|\uD83C\uDF08))?|\uDFF4(?:\u200D\u2620\uFE0F?|\uDB40\uDC67\uDB40\uDC62\uDB40(?:\uDC65\uDB40\uDC6E\uDB40\uDC67|\uDC73\uDB40\uDC63\uDB40\uDC74|\uDC77\uDB40\uDC6C\uDB40\uDC73)\uDB40\uDC7F)?)|\uD83D(?:[\uDC08\uDC26](?:\u200D\u2B1B)?|[\uDC3F\uDCFD\uDD49\uDD4A\uDD6F\uDD70\uDD73\uDD76-\uDD79\uDD87\uDD8A-\uDD8D\uDDA5\uDDA8\uDDB1\uDDB2\uDDBC\uDDC2-\uDDC4\uDDD1-\uDDD3\uDDDC-\uDDDE\uDDE1\uDDE3\uDDE8\uDDEF\uDDF3\uDDFA\uDECB\uDECD-\uDECF\uDEE0-\uDEE5\uDEE9\uDEF0\uDEF3]\uFE0F?|[\uDC42\uDC43\uDC46-\uDC50\uDC66\uDC67\uDC6B-\uDC6D\uDC72\uDC74-\uDC76\uDC78\uDC7C\uDC83\uDC85\uDC8F\uDC91\uDCAA\uDD7A\uDD95\uDD96\uDE4C\uDE4F\uDEC0\uDECC](?:\uD83C[\uDFFB-\uDFFF])?|[\uDC6E\uDC70\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDD74\uDD90](?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?|[\uDC00-\uDC07\uDC09-\uDC14\uDC16-\uDC25\uDC27-\uDC3A\uDC3C-\uDC3E\uDC40\uDC44\uDC45\uDC51-\uDC65\uDC6A\uDC79-\uDC7B\uDC7D-\uDC80\uDC84\uDC88-\uDC8E\uDC90\uDC92-\uDCA9\uDCAB-\uDCFC\uDCFF-\uDD3D\uDD4B-\uDD4E\uDD50-\uDD67\uDDA4\uDDFB-\uDE2D\uDE2F-\uDE34\uDE37-\uDE44\uDE48-\uDE4A\uDE80-\uDEA2\uDEA4-\uDEB3\uDEB7-\uDEBF\uDEC1-\uDEC5\uDED0-\uDED2\uDED5-\uDED7\uDEDC-\uDEDF\uDEEB\uDEEC\uDEF4-\uDEFC\uDFE0-\uDFEB\uDFF0]|\uDC15(?:\u200D\uD83E\uDDBA)?|\uDC3B(?:\u200D\u2744\uFE0F?)?|\uDC41\uFE0F?(?:\u200D\uD83D\uDDE8\uFE0F?)?|\uDC68(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDC68\uDC69]\u200D\uD83D(?:\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?)|[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?)|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFC-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFD-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFD\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFE])))?))?|\uDC69(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?[\uDC68\uDC69]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?|\uDC69\u200D\uD83D(?:\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?))|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFC-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB\uDFFD-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB-\uDFFD\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB-\uDFFE])))?))?|\uDC6F(?:\u200D[\u2640\u2642]\uFE0F?)?|\uDD75(?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|\uDE2E(?:\u200D\uD83D\uDCA8)?|\uDE35(?:\u200D\uD83D\uDCAB)?|\uDE36(?:\u200D\uD83C\uDF2B\uFE0F?)?)|\uD83E(?:[\uDD0C\uDD0F\uDD18-\uDD1F\uDD30-\uDD34\uDD36\uDD77\uDDB5\uDDB6\uDDBB\uDDD2\uDDD3\uDDD5\uDEC3-\uDEC5\uDEF0\uDEF2-\uDEF8](?:\uD83C[\uDFFB-\uDFFF])?|[\uDD26\uDD35\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD-\uDDCF\uDDD4\uDDD6-\uDDDD](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDDDE\uDDDF](?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDD0D\uDD0E\uDD10-\uDD17\uDD20-\uDD25\uDD27-\uDD2F\uDD3A\uDD3F-\uDD45\uDD47-\uDD76\uDD78-\uDDB4\uDDB7\uDDBA\uDDBC-\uDDCC\uDDD0\uDDE0-\uDDFF\uDE70-\uDE7C\uDE80-\uDE88\uDE90-\uDEBD\uDEBF-\uDEC2\uDECE-\uDEDB\uDEE0-\uDEE8]|\uDD3C(?:\u200D[\u2640\u2642]\uFE0F?|\uD83C[\uDFFB-\uDFFF])?|\uDDD1(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83E\uDDD1))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFC-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB\uDFFD-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB-\uDFFD\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB-\uDFFE]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?))?|\uDEF1(?:\uD83C(?:\uDFFB(?:\u200D\uD83E\uDEF2\uD83C[\uDFFC-\uDFFF])?|\uDFFC(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB\uDFFD-\uDFFF])?|\uDFFD(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])?|\uDFFE(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB-\uDFFD\uDFFF])?|\uDFFF(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB-\uDFFE])?))?)/g;var un={eastAsianWidth(e){var t=e.charCodeAt(0),r=e.length==2?e.charCodeAt(1):0,n=t;return 55296<=t&&t<=56319&&56320<=r&&r<=57343&&(t&=1023,r&=1023,n=t<<10|r,n+=65536),n==12288||65281<=n&&n<=65376||65504<=n&&n<=65510?"F":4352<=n&&n<=4447||4515<=n&&n<=4519||4602<=n&&n<=4607||9001<=n&&n<=9002||11904<=n&&n<=11929||11931<=n&&n<=12019||12032<=n&&n<=12245||12272<=n&&n<=12283||12289<=n&&n<=12350||12353<=n&&n<=12438||12441<=n&&n<=12543||12549<=n&&n<=12589||12593<=n&&n<=12686||12688<=n&&n<=12730||12736<=n&&n<=12771||12784<=n&&n<=12830||12832<=n&&n<=12871||12880<=n&&n<=13054||13056<=n&&n<=19903||19968<=n&&n<=42124||42128<=n&&n<=42182||43360<=n&&n<=43388||44032<=n&&n<=55203||55216<=n&&n<=55238||55243<=n&&n<=55291||63744<=n&&n<=64255||65040<=n&&n<=65049||65072<=n&&n<=65106||65108<=n&&n<=65126||65128<=n&&n<=65131||110592<=n&&n<=110593||127488<=n&&n<=127490||127504<=n&&n<=127546||127552<=n&&n<=127560||127568<=n&&n<=127569||131072<=n&&n<=194367||177984<=n&&n<=196605||196608<=n&&n<=262141?"W":"N"}};var ai=/[^\x20-\x7F]/;function Di(e){if(!e)return 0;if(!ai.test(e))return e.length;e=e.replace(nn()," ");let t=0;for(let r of e){let n=r.codePointAt(0);if(n<=31||n>=127&&n<=159||n>=768&&n<=879)continue;let i=un.eastAsianWidth(r);t+=i==="F"||i==="W"?2:1}return t}var je=Di;var an=e=>{if(Array.isArray(e))return e;if(e.type!==w)throw new Error(`Expect doc to be 'array' or '${w}'.`);return e.parts};function Me(e,t){if(typeof e=="string")return t(e);let r=new Map;return n(e);function n(u){if(r.has(u))return r.get(u);let o=i(u);return r.set(u,o),o}function i(u){switch(H(u)){case V:return t(u.map(n));case w:return t({...u,parts:u.parts.map(n)});case B:return t({...u,breakContents:n(u.breakContents),flatContents:n(u.flatContents)});case A:{let{expandedStates:o,contents:s}=u;return o?(o=o.map(n),s=o[0]):s=n(s),t({...u,contents:s,expandedStates:o})}case T:case v:case P:case k:case R:return t({...u,contents:n(u.contents)});case U:case K:case N:case I:case x:case O:return t(u);default:throw new te(u)}}}function st(e,t,r){let n=r,i=!1;function u(o){if(i)return!1;let s=t(o);s!==void 0&&(i=!0,n=s)}return Te(e,u),n}function ci(e){if(e.type===A&&e.break||e.type===x&&e.hard||e.type===O)return!0}function Dn(e){return st(e,ci,!1)}function on(e){if(e.length>0){let t=_(!1,e,-1);!t.expandedStates&&!t.break&&(t.break="propagated")}return null}function cn(e){let t=new Set,r=[];function n(u){if(u.type===O&&on(r),u.type===A){if(r.push(u),t.has(u))return!1;t.add(u)}}function i(u){u.type===A&&r.pop().break&&on(r)}Te(e,n,i,!0)}function li(e){return e.type===x&&!e.hard?e.soft?"":" ":e.type===B?e.flatContents:e}function ln(e){return Me(e,li)}function sn(e){for(e=[...e];e.length>=2&&_(!1,e,-2).type===x&&_(!1,e,-1).type===O;)e.length-=2;if(e.length>0){let t=Ye(_(!1,e,-1));e[e.length-1]=t}return e}function Ye(e){switch(H(e)){case T:case v:case P:case A:case R:case k:{let t=Ye(e.contents);return{...e,contents:t}}case B:return{...e,breakContents:Ye(e.breakContents),flatContents:Ye(e.flatContents)};case w:return{...e,parts:sn(e.parts)};case V:return sn(e);case U:return e.replace(/[\n\r]*$/,"");case K:case N:case I:case x:case O:break;default:throw new te(e)}return e}function at(e){return Ye(pi(e))}function fi(e){switch(H(e)){case w:if(e.parts.every(t=>t===""))return"";break;case A:if(!e.contents&&!e.id&&!e.break&&!e.expandedStates)return"";if(e.contents.type===A&&e.contents.id===e.id&&e.contents.break===e.break&&e.contents.expandedStates===e.expandedStates)return e.contents;break;case T:case v:case P:case R:if(!e.contents)return"";break;case B:if(!e.flatContents&&!e.breakContents)return"";break;case V:{let t=[];for(let r of e){if(!r)continue;let[n,...i]=Array.isArray(r)?r:[r];typeof n=="string"&&typeof _(!1,t,-1)=="string"?t[t.length-1]+=n:t.push(n),t.push(...i)}return t.length===0?"":t.length===1?t[0]:t}case U:case K:case N:case I:case x:case k:case O:break;default:throw new te(e)}return e}function pi(e){return Me(e,t=>fi(t))}function fn(e,t=it){return Me(e,r=>typeof r=="string"?Ie(t,r.split(` -`)):r)}function di(e){if(e.type===x)return!0}function pn(e){return st(e,di,!1)}function Dt(e,t){return e.type===k?{...e,contents:t(e.contents)}:t(e)}var L=Symbol("MODE_BREAK"),Z=Symbol("MODE_FLAT"),qe=Symbol("cursor");function dn(){return{value:"",length:0,queue:[]}}function Fi(e,t){return It(e,{type:"indent"},t)}function mi(e,t,r){return t===Number.NEGATIVE_INFINITY?e.root||dn():t<0?It(e,{type:"dedent"},r):t?t.type==="root"?{...e,root:e}:It(e,{type:typeof t=="string"?"stringAlign":"numberAlign",n:t},r):e}function It(e,t,r){let n=t.type==="dedent"?e.queue.slice(0,-1):[...e.queue,t],i="",u=0,o=0,s=0;for(let f of n)switch(f.type){case"indent":c(),r.useTabs?a(1):D(r.tabWidth);break;case"stringAlign":c(),i+=f.n,u+=f.n.length;break;case"numberAlign":o+=1,s+=f.n;break;default:throw new Error(`Unexpected type '${f.type}'`)}return l(),{...e,value:i,length:u,queue:n};function a(f){i+=" ".repeat(f),u+=r.tabWidth*f}function D(f){i+=" ".repeat(f),u+=f}function c(){r.useTabs?d():l()}function d(){o>0&&a(o),F()}function l(){s>0&&D(s),F()}function F(){o=0,s=0}}function Lt(e){let t=0,r=0,n=e.length;e:for(;n--;){let i=e[n];if(i===qe){r++;continue}for(let u=i.length-1;u>=0;u--){let o=i[u];if(o===" "||o===" ")t++;else{e[n]=i.slice(0,u+1);break e}}}if(t>0||r>0)for(e.length=n+1;r-- >0;)e.push(qe);return t}function ct(e,t,r,n,i,u){if(r===Number.POSITIVE_INFINITY)return!0;let o=t.length,s=[e],a=[];for(;r>=0;){if(s.length===0){if(o===0)return!0;s.push(t[--o]);continue}let{mode:D,doc:c}=s.pop();switch(H(c)){case U:a.push(c),r-=je(c);break;case V:case w:{let d=an(c);for(let l=d.length-1;l>=0;l--)s.push({mode:D,doc:d[l]});break}case v:case T:case P:case k:s.push({mode:D,doc:c.contents});break;case N:r+=Lt(a);break;case A:{if(u&&c.break)return!1;let d=c.break?L:D,l=c.expandedStates&&d===L?_(!1,c.expandedStates,-1):c.contents;s.push({mode:d,doc:l});break}case B:{let l=(c.groupId?i[c.groupId]||Z:D)===L?c.breakContents:c.flatContents;l&&s.push({mode:D,doc:l});break}case x:if(D===L||c.hard)return!0;c.soft||(a.push(" "),r--);break;case R:n=!0;break;case I:if(n)return!1;break}}return!1}function xe(e,t){let r={},n=t.printWidth,i=Le(t.endOfLine),u=0,o=[{ind:dn(),mode:L,doc:e}],s=[],a=!1,D=[],c=0;for(cn(e);o.length>0;){let{ind:l,mode:F,doc:f}=o.pop();switch(H(f)){case U:{let p=i!==` -`?De(!1,f,` -`,i):f;s.push(p),o.length>0&&(u+=je(p));break}case V:for(let p=f.length-1;p>=0;p--)o.push({ind:l,mode:F,doc:f[p]});break;case K:if(c>=2)throw new Error("There are too many 'cursor' in doc.");s.push(qe),c++;break;case v:o.push({ind:Fi(l,t),mode:F,doc:f.contents});break;case T:o.push({ind:mi(l,f.n,t),mode:F,doc:f.contents});break;case N:u-=Lt(s);break;case A:switch(F){case Z:if(!a){o.push({ind:l,mode:f.break?L:Z,doc:f.contents});break}case L:{a=!1;let p={ind:l,mode:Z,doc:f.contents},m=n-u,h=D.length>0;if(!f.break&&ct(p,o,m,h,r))o.push(p);else if(f.expandedStates){let C=_(!1,f.expandedStates,-1);if(f.break){o.push({ind:l,mode:L,doc:C});break}else for(let g=1;g=f.expandedStates.length){o.push({ind:l,mode:L,doc:C});break}else{let y=f.expandedStates[g],b={ind:l,mode:Z,doc:y};if(ct(b,o,m,h,r)){o.push(b);break}}}else o.push({ind:l,mode:L,doc:f.contents});break}}f.id&&(r[f.id]=_(!1,o,-1).mode);break;case w:{let p=n-u,{parts:m}=f;if(m.length===0)break;let[h,C]=m,g={ind:l,mode:Z,doc:h},y={ind:l,mode:L,doc:h},b=ct(g,[],p,D.length>0,r,!0);if(m.length===1){b?o.push(g):o.push(y);break}let se={ind:l,mode:Z,doc:C},G={ind:l,mode:L,doc:C};if(m.length===2){b?o.push(se,g):o.push(G,y);break}m.splice(0,2);let ae={ind:l,mode:F,doc:nt(m)},jr=m[0];ct({ind:l,mode:Z,doc:[h,C,jr]},[],p,D.length>0,r,!0)?o.push(ae,se,g):b?o.push(ae,G,g):o.push(ae,G,y);break}case B:case P:{let p=f.groupId?r[f.groupId]:F;if(p===L){let m=f.type===B?f.breakContents:f.negate?f.contents:Fe(f.contents);m&&o.push({ind:l,mode:F,doc:m})}if(p===Z){let m=f.type===B?f.flatContents:f.negate?Fe(f.contents):f.contents;m&&o.push({ind:l,mode:F,doc:m})}break}case R:D.push({ind:l,mode:F,doc:f.contents});break;case I:D.length>0&&o.push({ind:l,mode:F,doc:Pe});break;case x:switch(F){case Z:if(f.hard)a=!0;else{f.soft||(s.push(" "),u+=1);break}case L:if(D.length>0){o.push({ind:l,mode:F,doc:f},...D.reverse()),D.length=0;break}f.literal?l.root?(s.push(i,l.root.value),u=l.root.length):(s.push(i),u=0):(u-=Lt(s),s.push(i+l.value),u=l.length);break}break;case k:o.push({ind:l,mode:F,doc:f.contents});break;case O:break;default:throw new te(f)}o.length===0&&D.length>0&&(o.push(...D.reverse()),D.length=0)}let d=s.indexOf(qe);if(d!==-1){let l=s.indexOf(qe,d+1),F=s.slice(0,d).join(""),f=s.slice(d+1,l).join(""),p=s.slice(l+1).join("");return{formatted:F+f+p,cursorNodeStart:F.length,cursorNodeText:f}}return{formatted:s.join("")}}function re(e){var t;if(!e)return"";if(Array.isArray(e)){let r=[];for(let n of e)if(Array.isArray(n))r.push(...re(n));else{let i=re(n);i!==""&&r.push(i)}return r}return e.type===B?{...e,breakContents:re(e.breakContents),flatContents:re(e.flatContents)}:e.type===A?{...e,contents:re(e.contents),expandedStates:(t=e.expandedStates)==null?void 0:t.map(re)}:e.type===w?{type:"fill",parts:e.parts.map(re)}:e.contents?{...e,contents:re(e.contents)}:e}function Fn(e){let t=Object.create(null),r=new Set;return n(re(e));function n(u,o,s){var a,D;if(typeof u=="string")return JSON.stringify(u);if(Array.isArray(u)){let c=u.map(n).filter(Boolean);return c.length===1?c[0]:`[${c.join(", ")}]`}if(u.type===x){let c=((a=s==null?void 0:s[o+1])==null?void 0:a.type)===O;return u.literal?c?"literalline":"literallineWithoutBreakParent":u.hard?c?"hardline":"hardlineWithoutBreakParent":u.soft?"softline":"line"}if(u.type===O)return((D=s==null?void 0:s[o-1])==null?void 0:D.type)===x&&s[o-1].hard?void 0:"breakParent";if(u.type===N)return"trim";if(u.type===v)return"indent("+n(u.contents)+")";if(u.type===T)return u.n===Number.NEGATIVE_INFINITY?"dedentToRoot("+n(u.contents)+")":u.n<0?"dedent("+n(u.contents)+")":u.n.type==="root"?"markAsRoot("+n(u.contents)+")":"align("+JSON.stringify(u.n)+", "+n(u.contents)+")";if(u.type===B)return"ifBreak("+n(u.breakContents)+(u.flatContents?", "+n(u.flatContents):"")+(u.groupId?(u.flatContents?"":', ""')+`, { groupId: ${i(u.groupId)} }`:"")+")";if(u.type===P){let c=[];u.negate&&c.push("negate: true"),u.groupId&&c.push(`groupId: ${i(u.groupId)}`);let d=c.length>0?`, { ${c.join(", ")} }`:"";return`indentIfBreak(${n(u.contents)}${d})`}if(u.type===A){let c=[];u.break&&u.break!=="propagated"&&c.push("shouldBreak: true"),u.id&&c.push(`id: ${i(u.id)}`);let d=c.length>0?`, { ${c.join(", ")} }`:"";return u.expandedStates?`conditionalGroup([${u.expandedStates.map(l=>n(l)).join(",")}]${d})`:`group(${n(u.contents)}${d})`}if(u.type===w)return`fill([${u.parts.map(c=>n(c)).join(", ")}])`;if(u.type===R)return"lineSuffix("+n(u.contents)+")";if(u.type===I)return"lineSuffixBoundary";if(u.type===k)return`label(${JSON.stringify(u.label)}, ${n(u.contents)})`;throw new Error("Unknown doc type "+u.type)}function i(u){if(typeof u!="symbol")return JSON.stringify(String(u));if(u in t)return t[u];let o=u.description||"symbol";for(let s=0;;s++){let a=o+(s>0?` #${s}`:"");if(!r.has(a))return r.add(a),t[u]=`Symbol.for(${JSON.stringify(a)})`}}}function hi(e,t,r=0){let n=0;for(let i=r;itypeof e=="string"||typeof e=="function",choices:[{value:"flow",description:"Flow"},{value:"babel",description:"JavaScript"},{value:"babel-flow",description:"Flow"},{value:"babel-ts",description:"TypeScript"},{value:"typescript",description:"TypeScript"},{value:"acorn",description:"JavaScript"},{value:"espree",description:"JavaScript"},{value:"meriyah",description:"JavaScript"},{value:"css",description:"CSS"},{value:"less",description:"Less"},{value:"scss",description:"SCSS"},{value:"json",description:"JSON"},{value:"json5",description:"JSON5"},{value:"json-stringify",description:"JSON.stringify"},{value:"graphql",description:"GraphQL"},{value:"markdown",description:"Markdown"},{value:"mdx",description:"MDX"},{value:"vue",description:"Vue"},{value:"yaml",description:"YAML"},{value:"glimmer",description:"Ember / Handlebars"},{value:"html",description:"HTML"},{value:"angular",description:"Angular"},{value:"lwc",description:"Lightning Web Components"}]},plugins:{type:"path",array:!0,default:[{value:[]}],category:"Global",description:"Add a plugin. Multiple plugins can be passed as separate `--plugin`s.",exception:e=>typeof e=="string"||typeof e=="object",cliName:"plugin",cliCategory:"Config"},printWidth:{category:"Global",type:"int",default:80,description:"The line length where Prettier will try wrap.",range:{start:0,end:1/0,step:1}},rangeEnd:{category:"Special",type:"int",default:1/0,range:{start:0,end:1/0,step:1},description:`Format code ending at a given character offset (exclusive). -The range will extend forwards to the end of the selected statement. -This option cannot be used with --cursor-offset.`,cliCategory:"Editor"},rangeStart:{category:"Special",type:"int",default:0,range:{start:0,end:1/0,step:1},description:`Format code starting at a given character offset. -The range will extend backwards to the start of the first line containing the selected statement. -This option cannot be used with --cursor-offset.`,cliCategory:"Editor"},requirePragma:{category:"Special",type:"boolean",default:!1,description:`Require either '@prettier' or '@format' to be present in the file's first docblock comment -in order for it to be formatted.`,cliCategory:"Other"},tabWidth:{type:"int",category:"Global",default:2,description:"Number of spaces per indentation level.",range:{start:0,end:1/0,step:1}},useTabs:{category:"Global",type:"boolean",default:!1,description:"Indent with tabs instead of spaces."},embeddedLanguageFormatting:{category:"Global",type:"choice",default:"auto",description:"Control how Prettier formats quoted code embedded in the file.",choices:[{value:"auto",description:"Format embedded code if Prettier can automatically identify it."},{value:"off",description:"Never automatically format embedded code."}]}};function lt({plugins:e=[],showDeprecated:t=!1}={}){let r=e.flatMap(i=>i.languages??[]),n=[];for(let i of Ci(Object.assign({},...e.map(({options:u})=>u),mn)))!t&&i.deprecated||(Array.isArray(i.choices)&&(t||(i.choices=i.choices.filter(u=>!u.deprecated)),i.name==="parser"&&(i.choices=[...i.choices,...Ei(i.choices,r,e)])),i.pluginDefaults=Object.fromEntries(e.filter(u=>{var o;return((o=u.defaultOptions)==null?void 0:o[i.name])!==void 0}).map(u=>[u.name,u.defaultOptions[i.name]])),n.push(i));return{languages:r,options:n}}function*Ei(e,t,r){let n=new Set(e.map(i=>i.value));for(let i of t)if(i.parsers){for(let u of i.parsers)if(!n.has(u)){n.add(u);let o=r.find(a=>a.parsers&&Object.prototype.hasOwnProperty.call(a.parsers,u)),s=i.name;o!=null&&o.name&&(s+=` (plugin: ${o.name})`),yield{value:u,description:s}}}}function Ci(e){let t=[];for(let[r,n]of Object.entries(e)){let i={name:r,...n};Array.isArray(i.default)&&(i.default=_(!1,i.default,-1).value),t.push(i)}return t}var gi=e=>e.split(/[/\\]/).pop();function hn(e,t){if(!t)return;let r=gi(t).toLowerCase();return e.find(n=>{var i,u;return((i=n.extensions)==null?void 0:i.some(o=>r.endsWith(o)))||((u=n.filenames)==null?void 0:u.some(o=>o.toLowerCase()===r))})}function yi(e,t){if(t)return e.find(({name:r})=>r.toLowerCase()===t)??e.find(({aliases:r})=>r==null?void 0:r.includes(t))??e.find(({extensions:r})=>r==null?void 0:r.includes(`.${t}`))}function _i(e,t){let r=e.plugins.flatMap(i=>i.languages??[]),n=yi(r,t.language)??hn(r,t.physicalFile)??hn(r,t.file)??(t.physicalFile,void 0);return n==null?void 0:n.parsers[0]}var En=_i;var z=kt(zn(),1),gr;function go(e,t,{logger:r=!1,isCLI:n=!1,passThrough:i=!1,FlagSchema:u,descriptor:o}={}){if(n){if(!u)throw new Error("'FlagSchema' option is required.");if(!o)throw new Error("'descriptor' option is required.")}else o=z.default.apiDescriptor;let s=i?Array.isArray(i)?(l,F)=>i.includes(l)?{[l]:F}:void 0:(l,F)=>({[l]:F}):(l,F,f)=>{let{_:p,...m}=f.schemas;return z.default.levenUnknownHandler(l,F,{...f,schemas:m})},a=yo(t,{isCLI:n,FlagSchema:u}),D=new z.default.Normalizer(a,{logger:r,unknown:s,descriptor:o}),c=r!==!1;c&&gr&&(D._hasDeprecationWarned=gr);let d=D.normalize(e);return c&&(gr=D._hasDeprecationWarned),d}function yo(e,{isCLI:t,FlagSchema:r}){let n=[];t&&n.push(z.default.AnySchema.create({name:"_"}));for(let i of e)n.push(_o(i,{isCLI:t,optionInfos:e,FlagSchema:r})),i.alias&&t&&n.push(z.default.AliasSchema.create({name:i.alias,sourceName:i.name}));return n}function _o(e,{isCLI:t,optionInfos:r,FlagSchema:n}){let{name:i}=e,u={name:i},o,s={};switch(e.type){case"int":o=z.default.IntegerSchema,t&&(u.preprocess=Number);break;case"string":o=z.default.StringSchema;break;case"choice":o=z.default.ChoiceSchema,u.choices=e.choices.map(a=>a!=null&&a.redirect?{...a,redirect:{to:{key:e.name,value:a.redirect}}}:a);break;case"boolean":o=z.default.BooleanSchema;break;case"flag":o=n,u.flags=r.flatMap(a=>[a.alias,a.description&&a.name,a.oppositeDescription&&`no-${a.name}`].filter(Boolean));break;case"path":o=z.default.StringSchema;break;default:throw new Error(`Unexpected type ${e.type}`)}if(e.exception?u.validate=(a,D,c)=>e.exception(a)||D.validate(a,c):u.validate=(a,D,c)=>a===void 0||D.validate(a,c),e.redirect&&(s.redirect=a=>a?{to:{key:e.redirect.option,value:e.redirect.value}}:void 0),e.deprecated&&(s.deprecated=!0),t&&!e.array){let a=u.preprocess||(D=>D);u.preprocess=(D,c,d)=>c.preprocess(a(Array.isArray(D)?_(!1,D,-1):D),d)}return e.array?z.default.ArraySchema.create({...t?{preprocess:a=>Array.isArray(a)?a:[a]}:{},...s,valueSchema:o.create(u)}):o.create({...u,...s})}var Wn=go;function yr(e,t){if(!t)throw new Error("parserName is required.");for(let n=e.length-1;n>=0;n--){let i=e[n];if(i.parsers&&Object.prototype.hasOwnProperty.call(i.parsers,t))return i}let r=`Couldn't resolve parser "${t}".`;throw r+=" Plugins must be explicitly added to the standalone bundle.",new $e(r)}function Gn(e,t){if(!t)throw new Error("astFormat is required.");for(let n=e.length-1;n>=0;n--){let i=e[n];if(i.printers&&Object.prototype.hasOwnProperty.call(i.printers,t))return i}let r=`Couldn't find plugin for AST format "${t}".`;throw r+=" Plugins must be explicitly added to the standalone bundle.",new $e(r)}function Ct({plugins:e,parser:t}){let r=yr(e,t);return _r(r,t)}function _r(e,t){let r=e.parsers[t];return typeof r=="function"?r():r}function Un(e,t){let r=e.printers[t];return typeof r=="function"?r():r}var Kn={astFormat:"estree",printer:{},originalText:void 0,locStart:null,locEnd:null};async function xo(e,t={}){var d;let r={...e};if(!r.parser)if(r.filepath){if(r.parser=En(r,{physicalFile:r.filepath}),!r.parser)throw new Ve(`No parser could be inferred for file "${r.filepath}".`)}else throw new Ve("No parser and no file path given, couldn't infer a parser.");let n=lt({plugins:e.plugins,showDeprecated:!0}).options,i={...Kn,...Object.fromEntries(n.filter(l=>l.default!==void 0).map(l=>[l.name,l.default]))},u=yr(r.plugins,r.parser),o=await _r(u,r.parser);r.astFormat=o.astFormat,r.locEnd=o.locEnd,r.locStart=o.locStart;let s=(d=u.printers)!=null&&d[o.astFormat]?u:Gn(r.plugins,o.astFormat),a=await Un(s,o.astFormat);r.printer=a;let D=s.defaultOptions?Object.fromEntries(Object.entries(s.defaultOptions).filter(([,l])=>l!==void 0)):{},c={...i,...D};for(let[l,F]of Object.entries(c))(r[l]===null||r[l]===void 0)&&(r[l]=F);return r.parser==="json"&&(r.trailingComma="none"),Wn(r,n,{passThrough:Object.keys(Kn),...t})}var le=xo;var Hn=new Set(["tokens","comments","parent","enclosingNode","precedingNode","followingNode"]),bo=e=>Object.keys(e).filter(t=>!Hn.has(t));function Ao(e){return e?t=>e(t,Hn):bo}var ee=Ao;function Bo(e,t){let{printer:{massageAstNode:r,getVisitorKeys:n}}=t;if(!r)return e;let i=ee(n),u=r.ignoredProperties??new Set;return o(e);function o(s,a){if(!(s!==null&&typeof s=="object"))return s;if(Array.isArray(s))return s.map(l=>o(l,a)).filter(Boolean);let D={},c=new Set(i(s));for(let l in s)!Object.prototype.hasOwnProperty.call(s,l)||u.has(l)||(c.has(l)?D[l]=o(s[l],s):D[l]=s[l]);let d=r(s,D,a);if(d!==null)return d??D}}var Jn=Bo;var nu=kt(ru(),1);async function To(e,t){let r=await Ct(t),n=r.preprocess?r.preprocess(e,t):e;t.originalText=n;let i;try{i=await r.parse(n,t,t)}catch(u){No(u,e)}return{text:n,ast:i}}function No(e,t){let{loc:r}=e;if(r){let n=(0,nu.codeFrameColumns)(t,r,{highlightCode:!0});throw e.message+=` -`+n,e.codeFrame=n,e}throw e}var Ee=To;var Ke,Ar,Be,yt,br=class{constructor(t){St(this,Ke);St(this,Be);this.stack=[t]}get key(){let{stack:t,siblings:r}=this;return _(!1,t,r===null?-2:-4)??null}get index(){return this.siblings===null?null:_(!1,this.stack,-2)}get node(){return _(!1,this.stack,-1)}get parent(){return this.getNode(1)}get grandparent(){return this.getNode(2)}get isInArray(){return this.siblings!==null}get siblings(){let{stack:t}=this,r=_(!1,t,-3);return Array.isArray(r)?r:null}get next(){let{siblings:t}=this;return t===null?null:t[this.index+1]}get previous(){let{siblings:t}=this;return t===null?null:t[this.index-1]}get isFirst(){return this.index===0}get isLast(){let{siblings:t,index:r}=this;return t!==null&&r===t.length-1}get isRoot(){return this.stack.length===1}get root(){return this.stack[0]}get ancestors(){return[...ye(this,Be,yt).call(this)]}getName(){let{stack:t}=this,{length:r}=t;return r>1?_(!1,t,-2):null}getValue(){return _(!1,this.stack,-1)}getNode(t=0){let r=ye(this,Ke,Ar).call(this,t);return r===-1?null:this.stack[r]}getParentNode(t=0){return this.getNode(t+1)}call(t,...r){let{stack:n}=this,{length:i}=n,u=_(!1,n,-1);for(let o of r)u=u[o],n.push(o,u);try{return t(this)}finally{n.length=i}}callParent(t,r=0){let n=ye(this,Ke,Ar).call(this,r+1),i=this.stack.splice(n+1);try{return t(this)}finally{this.stack.push(...i)}}each(t,...r){let{stack:n}=this,{length:i}=n,u=_(!1,n,-1);for(let o of r)u=u[o],n.push(o,u);try{for(let o=0;o{n[u]=t(i,u,o)},...r),n}match(...t){let r=this.stack.length-1,n=null,i=this.stack[r--];for(let u of t){if(i===void 0)return!1;let o=null;if(typeof n=="number"&&(o=n,n=this.stack[r--],i=this.stack[r--]),u&&!u(i,n,o))return!1;n=this.stack[r--],i=this.stack[r--]}return!0}findAncestor(t){for(let r of ye(this,Be,yt).call(this))if(t(r))return r}hasAncestor(t){for(let r of ye(this,Be,yt).call(this))if(t(r))return!0;return!1}};Ke=new WeakSet,Ar=function(t){let{stack:r}=this;for(let n=r.length-1;n>=0;n-=2)if(!Array.isArray(r[n])&&--t<0)return n;return-1},Be=new WeakSet,yt=function*(){let{stack:t}=this;for(let r=t.length-3;r>=0;r-=2){let n=t[r];Array.isArray(n)||(yield n)}};var uu=br;var He=()=>{};He.ok=He;He.strictEqual=He;var Je=He;function we(e){return(t,r,n)=>{let i=!!(n!=null&&n.backwards);if(r===!1)return!1;let{length:u}=t,o=r;for(;o>=0&&o0}var Br=Io;function Lo(e){return e!==null&&typeof e=="object"}var ou=Lo;function*wr(e,t){let{getVisitorKeys:r,filter:n=()=>!0}=t,i=u=>ou(u)&&n(u);for(let u of r(e)){let o=e[u];if(Array.isArray(o))for(let s of o)i(s)&&(yield s);else i(o)&&(yield o)}}function*su(e,t){let r=[e];for(let n=0;n20&&(r=r.slice(0,19)+"\u2026"),t+(r?" "+r:"")}function Or(e,t){(e.comments??(e.comments=[])).push(t),t.printed=!1,t.nodeDescription=jo(e)}function fe(e,t){t.leading=!0,t.trailing=!1,Or(e,t)}function oe(e,t,r){t.leading=!1,t.trailing=!1,r&&(t.marker=r),Or(e,t)}function pe(e,t){t.leading=!1,t.trailing=!0,Or(e,t)}var kr=new WeakMap;function bt(e,t){if(kr.has(e))return kr.get(e);let{printer:{getCommentChildNodes:r,canAttachComment:n,getVisitorKeys:i},locStart:u,locEnd:o}=t;if(!n)return[];let s=((r==null?void 0:r(e,t))??[...wr(e,{getVisitorKeys:ee(i)})]).flatMap(a=>n(a)?[a]:bt(a,t));return s.sort((a,D)=>u(a)-u(D)||o(a)-o(D)),kr.set(e,s),s}function Du(e,t,r,n){let{locStart:i,locEnd:u}=r,o=i(t),s=u(t),a=bt(e,r),D,c,d=0,l=a.length;for(;d>1,f=a[F],p=i(f),m=u(f);if(p<=o&&s<=m)return Du(f,t,r,f);if(m<=o){D=f,d=F+1;continue}if(s<=p){c=f,l=F;continue}throw new Error("Comment location overlaps with node location")}if((n==null?void 0:n.type)==="TemplateLiteral"){let{quasis:F}=n,f=vr(F,t,r);D&&vr(F,D,r)!==f&&(D=null),c&&vr(F,c,r)!==f&&(c=null)}return{enclosingNode:n,precedingNode:D,followingNode:c}}var Sr=()=>!1;function cu(e,t){let{comments:r}=e;if(delete e.comments,!Br(r)||!t.printer.canAttachComment)return;let n=[],{locStart:i,locEnd:u,printer:{experimentalFeatures:{avoidAstMutation:o=!1}={},handleComments:s={}},originalText:a}=t,{ownLine:D=Sr,endOfLine:c=Sr,remaining:d=Sr}=s,l=r.map((F,f)=>({...Du(e,F,t),comment:F,text:a,options:t,ast:e,isLastComment:r.length-1===f}));for(let[F,f]of l.entries()){let{comment:p,precedingNode:m,enclosingNode:h,followingNode:C,text:g,options:y,ast:b,isLastComment:se}=f;if(y.parser==="json"||y.parser==="json5"||y.parser==="__js_expression"||y.parser==="__ts_expression"||y.parser==="__vue_expression"||y.parser==="__vue_ts_expression"){if(i(p)-i(b)<=0){fe(b,p);continue}if(u(p)-u(b)>=0){pe(b,p);continue}}let G;if(o?G=[f]:(p.enclosingNode=h,p.precedingNode=m,p.followingNode=C,G=[p,g,y,b,se]),Yo(g,y,l,F))p.placement="ownLine",D(...G)||(C?fe(C,p):m?pe(m,p):h?oe(h,p):oe(b,p));else if(Mo(g,y,l,F))p.placement="endOfLine",c(...G)||(m?pe(m,p):C?fe(C,p):h?oe(h,p):oe(b,p));else if(p.placement="remaining",!d(...G))if(m&&C){let ae=n.length;ae>0&&n[ae-1].followingNode!==C&&au(n,y),n.push(f)}else m?pe(m,p):C?fe(C,p):h?oe(h,p):oe(b,p)}if(au(n,t),!o)for(let F of r)delete F.precedingNode,delete F.enclosingNode,delete F.followingNode}var lu=e=>!/[\S\n\u2028\u2029]/.test(e);function Yo(e,t,r,n){let{comment:i,precedingNode:u}=r[n],{locStart:o,locEnd:s}=t,a=o(i);if(u)for(let D=n-1;D>=0;D--){let{comment:c,precedingNode:d}=r[D];if(d!==u||!lu(e.slice(s(c),a)))break;a=o(c)}return W(e,a,{backwards:!0})}function Mo(e,t,r,n){let{comment:i,followingNode:u}=r[n],{locStart:o,locEnd:s}=t,a=s(i);if(u)for(let D=n+1;D0;--o){let{comment:D,precedingNode:c,followingNode:d}=e[o-1];Je.strictEqual(c,n),Je.strictEqual(d,i);let l=t.originalText.slice(t.locEnd(D),u);if(((a=(s=t.printer).isGap)==null?void 0:a.call(s,l,t))??/^[\s(]*$/.test(l))u=t.locStart(D);else break}for(let[D,{comment:c}]of e.entries())D1&&D.comments.sort((c,d)=>t.locStart(c)-t.locStart(d));e.length=0}function vr(e,t,r){let n=r.locStart(t)-1;for(let i=1;i!n.has(a)).length===0)return{leading:"",trailing:""};let u=[],o=[],s;return e.each(()=>{let a=e.node;if(n!=null&&n.has(a))return;let{leading:D,trailing:c}=a;D?u.push($o(e,t)):c&&(s=Vo(e,t,s),o.push(s.doc))},"comments"),{leading:u,trailing:o}}function pu(e,t,r){let{leading:n,trailing:i}=zo(e,r);return!n&&!i?t:Dt(t,u=>[n,u,i])}function du(e){let{[Symbol.for("comments")]:t,[Symbol.for("printedComments")]:r}=e;for(let n of t){if(!n.printed&&!r.has(n))throw new Error('Comment "'+n.value.trim()+'" was not printed. Please report this error!');delete n.printed}}async function Fu(e,t,r,n,i){let{embeddedLanguageFormatting:u,printer:{embed:o,hasPrettierIgnore:s=()=>!1,getVisitorKeys:a}}=r;if(!o||u!=="auto")return;if(o.length>2)throw new Error("printer.embed has too many parameters. The API changed in Prettier v3. Please update your plugin. See https://prettier.io/docs/en/plugins.html#optional-embed");let D=ee(o.getVisitorKeys??a),c=[];F();let d=e.stack;for(let{print:f,node:p,pathStack:m}of c)try{e.stack=m;let h=await f(l,t,e,r);h&&i.set(p,h)}catch(h){if(globalThis.PRETTIER_DEBUG)throw h}e.stack=d;function l(f,p){return Wo(f,p,r,n)}function F(){let{node:f}=e;if(f===null||typeof f!="object"||s(e))return;for(let m of D(f))Array.isArray(f[m])?e.each(F,m):e.call(F,m);let p=o(e,r);if(p){if(typeof p=="function"){c.push({print:p,node:f,pathStack:[...e.stack]});return}i.set(f,p)}}}async function Wo(e,t,r,n){let i=await le({...r,...t,parentParser:r.parser,originalText:e},{passThrough:!0}),{ast:u}=await Ee(e,i),o=await n(u,i);return at(o)}function Go(e){return()=>{}}var mu=Go;function Uo(e,t){let{originalText:r,[Symbol.for("comments")]:n,locStart:i,locEnd:u,[Symbol.for("printedComments")]:o}=t,{node:s}=e,a=i(s),D=u(s);for(let c of n)i(c)>=a&&u(c)<=D&&o.add(c);return r.slice(a,D)}var hu=Uo;async function Ze(e,t){({ast:e}=await Tr(e,t));let r=new Map,n=new uu(e),i=mu(t),u=new Map;await Fu(n,s,t,Ze,u);let o=await Eu(n,t,s,void 0,u);return du(t),o;function s(D,c){return D===void 0||D===n?a(c):Array.isArray(D)?n.call(()=>a(c),...D):n.call(()=>a(c),D)}function a(D){i(n);let c=n.node;if(c==null)return"";let d=c&&typeof c=="object"&&D===void 0;if(d&&r.has(c))return r.get(c);let l=Eu(n,t,s,D,u);return d&&r.set(c,l),l}}function Eu(e,t,r,n,i){var a;let{node:u}=e,{printer:o}=t,s;return(a=o.hasPrettierIgnore)!=null&&a.call(o,e)?s=hu(e,t):i.has(u)?s=i.get(u):s=o.print(e,t,r,n),o.printComment&&(!o.willPrintOwnComments||!o.willPrintOwnComments(e,t))&&(s=pu(e,s,t)),u===t.cursorNode&&(s=Dt(s,D=>[Re,D,Re])),s}async function Tr(e,t){let r=e.comments??[];t[Symbol.for("comments")]=r,t[Symbol.for("tokens")]=e.tokens??[],t[Symbol.for("printedComments")]=new Set,cu(e,t);let{printer:{preprocess:n}}=t;return e=n?await n(e,t):e,{ast:e,comments:r}}var Ko=({parser:e})=>e==="json"||e==="json5"||e==="json-stringify";function Ho(e,t){let r=[e.node,...e.parentNodes],n=new Set([t.node,...t.parentNodes]);return r.find(i=>yu.has(i.type)&&n.has(i))}function Cu(e){let t=e.length-1;for(;;){let r=e[t];if((r==null?void 0:r.type)==="Program"||(r==null?void 0:r.type)==="File")t--;else break}return e.slice(0,t+1)}function Jo(e,t,{locStart:r,locEnd:n}){let i=e.node,u=t.node;if(i===u)return{startNode:i,endNode:u};let o=r(e.node);for(let a of Cu(t.parentNodes))if(r(a)>=o)u=a;else break;let s=n(t.node);for(let a of Cu(e.parentNodes)){if(n(a)<=s)i=a;else break;if(i===u)break}return{startNode:i,endNode:u}}function Nr(e,t,r,n,i=[],u){let{locStart:o,locEnd:s}=r,a=o(e),D=s(e);if(!(t>D||tn);let s=e.slice(n,i).search(/\S/),a=s===-1;if(!a)for(n+=s;i>n&&!/\S/.test(e[i-1]);--i);let D=Nr(r,n,t,(F,f)=>gu(t,F,f),[],"rangeStart"),c=a?D:Nr(r,i,t,F=>gu(t,F),[],"rangeEnd");if(!D||!c)return{rangeStart:0,rangeEnd:0};let d,l;if(Ko(t)){let F=Ho(D,c);d=F,l=F}else({startNode:d,endNode:l}=Jo(D,c,t));return{rangeStart:Math.min(u(d),u(l)),rangeEnd:Math.max(o(d),o(l))}}function Qo(e,t){let{cursorOffset:r,locStart:n,locEnd:i}=t,u=ee(t.printer.getVisitorKeys),o=a=>n(a)<=r&&i(a)>=r,s=e;for(let a of su(e,{getVisitorKeys:u,filter:o}))s=a;return s}var xu=Qo;var Ou="\uFEFF",bu=Symbol("cursor");async function ku(e,t,r=0){if(!e||e.trim().length===0)return{formatted:"",cursorOffset:-1,comments:[]};let{ast:n,text:i}=await Ee(e,t);t.cursorOffset>=0&&(t.cursorNode=xu(n,t));let u=await Ze(n,t,r);r>0&&(u=ot([X,u],r,t.tabWidth));let o=xe(u,t);if(r>0){let a=o.formatted.trim();o.cursorNodeStart!==void 0&&(o.cursorNodeStart-=o.formatted.indexOf(a)),o.formatted=a+Le(t.endOfLine)}let s=t[Symbol.for("comments")];if(t.cursorOffset>=0){let a,D,c,d,l;if(t.cursorNode&&o.cursorNodeText?(a=t.locStart(t.cursorNode),D=i.slice(a,t.locEnd(t.cursorNode)),c=t.cursorOffset-a,d=o.cursorNodeStart,l=o.cursorNodeText):(a=0,D=i,c=t.cursorOffset,d=0,l=o.formatted),D===l)return{formatted:o.formatted,cursorOffset:d+c,comments:s};let F=D.split("");F.splice(c,0,bu);let f=l.split(""),p=(0,wu.diffArrays)(F,f),m=d;for(let h of p)if(h.removed){if(h.value.includes(bu))break}else m+=h.count;return{formatted:o.formatted,cursorOffset:m,comments:s}}return{formatted:o.formatted,cursorOffset:-1,comments:s}}async function es(e,t){let{ast:r,text:n}=await Ee(e,t),{rangeStart:i,rangeEnd:u}=_u(n,t,r),o=n.slice(i,u),s=Math.min(i,n.lastIndexOf(` -`,i)+1),a=n.slice(s,i).match(/^\s*/)[0],D=be(a,t.tabWidth),c=await ku(o,{...t,rangeStart:0,rangeEnd:Number.POSITIVE_INFINITY,cursorOffset:t.cursorOffset>i&&t.cursorOffset<=u?t.cursorOffset-i:-1,endOfLine:"lf"},D),d=c.formatted.trimEnd(),{cursorOffset:l}=t;l>u?l+=d.length-o.length:c.cursorOffset>=0&&(l=c.cursorOffset+i);let F=n.slice(0,i)+d+n.slice(u);if(t.endOfLine!=="lf"){let f=Le(t.endOfLine);l>=0&&f===`\r -`&&(l+=Rt(F.slice(0,l),` -`)),F=De(!1,F,` -`,f)}return{formatted:F,cursorOffset:l,comments:c.comments}}function Pr(e,t,r){return typeof t!="number"||Number.isNaN(t)||t<0||t>e.length?r:t}function Au(e,t){let{cursorOffset:r,rangeStart:n,rangeEnd:i}=t;return r=Pr(e,r,-1),n=Pr(e,n,0),i=Pr(e,i,e.length),{...t,cursorOffset:r,rangeStart:n,rangeEnd:i}}function Su(e,t){let{cursorOffset:r,rangeStart:n,rangeEnd:i,endOfLine:u}=Au(e,t),o=e.charAt(0)===Ou;if(o&&(e=e.slice(1),r--,n--,i--),u==="auto"&&(u=tn(e)),e.includes("\r")){let s=a=>Rt(e.slice(0,Math.max(a,0)),`\r -`);r-=s(r),n-=s(n),i-=s(i),e=rn(e)}return{hasBOM:o,text:e,options:Au(e,{...t,cursorOffset:r,rangeStart:n,rangeEnd:i,endOfLine:u})}}async function Bu(e,t){let r=await Ct(t);return!r.hasPragma||r.hasPragma(e)}async function Rr(e,t){let{hasBOM:r,text:n,options:i}=Su(e,await le(t));if(i.rangeStart>=i.rangeEnd&&n!==""||i.requirePragma&&!await Bu(n,i))return{formatted:e,cursorOffset:t.cursorOffset,comments:[]};let u;return i.rangeStart>0||i.rangeEnd=0&&u.cursorOffset++),u}async function vu(e,t,r){let{text:n,options:i}=Su(e,await le(t)),u=await Ee(n,i);return r&&(r.preprocessForPrint&&(u.ast=await Tr(u.ast,i)),r.massage&&(u.ast=Jn(u.ast,i))),u}async function Tu(e,t){t=await le(t);let r=await Ze(e,t);return xe(r,t)}async function Nu(e,t){let r=Fn(e),{formatted:n}=await Rr(r,{...t,parser:"__js_expression"});return n}async function Pu(e,t){t=await le(t);let{ast:r}=await Ee(e,t);return Ze(r,t)}async function Ru(e,t){return xe(e,await le(t))}var Bt={};ge(Bt,{addDanglingComment:()=>oe,addLeadingComment:()=>fe,addTrailingComment:()=>pe,getAlignmentSize:()=>be,getIndentSize:()=>Lu,getMaxContinuousCount:()=>Iu,getNextNonSpaceNonCommentCharacter:()=>Mu,getNextNonSpaceNonCommentCharacterIndex:()=>ps,getStringWidth:()=>je,hasNewline:()=>W,hasNewlineInRange:()=>ju,hasSpaces:()=>Yu,isNextLineEmpty:()=>hs,isNextLineEmptyAfterIndex:()=>At,isPreviousLineEmpty:()=>Fs,makeString:()=>qu,skip:()=>we,skipEverythingButNewLine:()=>xt,skipInlineComment:()=>Oe,skipNewline:()=>q,skipSpaces:()=>S,skipToLineEnd:()=>_t,skipTrailingComment:()=>ke,skipWhitespace:()=>iu});function rs(e,t){if(t===!1)return!1;if(e.charAt(t)==="/"&&e.charAt(t+1)==="*"){for(let r=t+2;rMath.max(n,i.length/t.length),0)}var Iu=os;function ss(e,t){let r=e.lastIndexOf(` -`);return r===-1?0:be(e.slice(r+1).match(/^[\t ]*/)[0],t)}var Lu=ss;function as(e,t,r){for(let n=t;ns===n?s:a===t?"\\"+a:a||(r&&/^[^\n\r"'0-7\\bfnrt-vx\u2028\u2029]$/.test(s)?s:"\\"+s));return t+u+t}var qu=ls;function fs(e,t,r){return Qe(e,r(t))}function ps(e,t){return arguments.length===2||typeof t=="number"?Qe(e,t):fs(...arguments)}function ds(e,t,r){return Xe(e,r(t))}function Fs(e,t){return arguments.length===2||typeof t=="number"?Xe(e,t):ds(...arguments)}function ms(e,t,r){return At(e,r(t))}function hs(e,t){return arguments.length===2||typeof t=="number"?At(e,t):ms(...arguments)}var wt={};ge(wt,{builders:()=>Es,printer:()=>Cs,utils:()=>gs});var Es={join:Ie,line:ut,softline:Qr,hardline:X,literalline:it,group:Nt,conditionalGroup:Kr,fill:nt,lineSuffix:Ne,lineSuffixBoundary:Xr,cursor:Re,breakParent:_e,ifBreak:Hr,trim:Zr,indent:Fe,indentIfBreak:Jr,align:de,addAlignmentToDoc:ot,markAsRoot:Gr,dedentToRoot:Wr,dedent:Ur,hardlineWithoutBreakParent:Pe,literallineWithoutBreakParent:Pt,label:en,concat:e=>e},Cs={printDocToString:xe},gs={willBreak:Dn,traverseDoc:Te,findInDoc:st,mapDoc:Me,removeLines:ln,stripTrailingHardline:at,replaceEndOfLine:fn,canBreak:pn};var $u="3.0.0";function Ce(e,t=1){return async(...r)=>{let n=r[t]??{},i=n.plugins??[];return r[t]={...n,plugins:Array.isArray(i)?i:Object.values(i)},e(...r)}}var Vu=Ce(Rr);async function zu(e,t){let{formatted:r}=await Vu(e,{...t,cursorOffset:-1});return r}async function ys(e,t){return await zu(e,t)===e}var _s=Ce(lt,0),xs={parse:Ce(vu),formatAST:Ce(Tu),formatDoc:Ce(Nu),printToDoc:Ce(Pu),printDocToString:Ce(Ru)};var bl=Lr;export{xs as __debug,ys as check,bl as default,wt as doc,zu as format,Vu as formatWithCursor,_s as getSupportInfo,Bt as util,$u as version}; +`}}function wt(e,t){let r;switch(t){case` +`:r=/\n/gu;break;case"\r":r=/\r/gu;break;case`\r +`:r=/\r\n/gu;break;default:throw new Error(`Unexpected "eol" ${JSON.stringify(t)}.`)}let n=e.match(r);return n?n.length:0}function mr(e){return ne(!1,e,/\r\n?/gu,` +`)}var U="string",W="array",z="cursor",L="indent",P="align",I="trim",x="group",S="fill",_="if-break",R="indent-if-break",Y="line-suffix",j="line-suffix-boundary",B="line",N="label",b="break-parent",Ue=new Set([z,L,P,I,x,S,_,R,Y,j,B,N,b]);function Lu(e){if(typeof e=="string")return U;if(Array.isArray(e))return W;if(!e)return;let{type:t}=e;if(Ue.has(t))return t}var G=Lu;var Pu=e=>new Intl.ListFormat("en-US",{type:"disjunction"}).format(e);function Iu(e){let t=e===null?"null":typeof e;if(t!=="string"&&t!=="object")return`Unexpected doc '${t}', +Expected it to be 'string' or 'object'.`;if(G(e))throw new Error("doc is valid.");let r=Object.prototype.toString.call(e);if(r!=="[object Object]")return`Unexpected doc '${r}'.`;let n=Pu([...Ue].map(o=>`'${o}'`));return`Unexpected doc.type '${e.type}'. +Expected it to be ${n}.`}var xt=class extends Error{name="InvalidDocError";constructor(t){super(Iu(t)),this.doc=t}},Q=xt;var Er={};function Ru(e,t,r,n){let o=[e];for(;o.length>0;){let u=o.pop();if(u===Er){r(o.pop());continue}r&&o.push(u,Er);let i=G(u);if(!i)throw new Q(u);if((t==null?void 0:t(u))!==!1)switch(i){case W:case S:{let s=i===W?u:u.parts;for(let a=s.length,D=a-1;D>=0;--D)o.push(s[D]);break}case _:o.push(u.flatContents,u.breakContents);break;case x:if(n&&u.expandedStates)for(let s=u.expandedStates.length,a=s-1;a>=0;--a)o.push(u.expandedStates[a]);else o.push(u.contents);break;case P:case L:case R:case N:case Y:o.push(u.contents);break;case U:case z:case I:case j:case B:case b:break;default:throw new Q(u)}}}var we=Ru;var hr=()=>{},K=hr,ze=hr;function De(e){return K(e),{type:L,contents:e}}function ae(e,t){return K(t),{type:P,contents:t,n:e}}function _t(e,t={}){return K(e),ze(t.expandedStates,!0),{type:x,id:t.id,contents:e,break:!!t.shouldBreak,expandedStates:t.expandedStates}}function Cr(e){return ae(Number.NEGATIVE_INFINITY,e)}function gr(e){return ae({type:"root"},e)}function yr(e){return ae(-1,e)}function Ar(e,t){return _t(e[0],{...t,expandedStates:e})}function Ge(e){return ze(e),{type:S,parts:e}}function Br(e,t="",r={}){return K(e),t!==""&&K(t),{type:_,breakContents:e,flatContents:t,groupId:r.groupId}}function wr(e,t){return K(e),{type:R,contents:e,groupId:t.groupId,negate:t.negate}}function xe(e){return K(e),{type:Y,contents:e}}var xr={type:j},de={type:b},_r={type:I},_e={type:B,hard:!0},vt={type:B,hard:!0,literal:!0},Ke={type:B},vr={type:B,soft:!0},q=[_e,de],qe=[vt,de],ve={type:z};function be(e,t){K(e),ze(t);let r=[];for(let n=0;n0){for(let o=0;o0?`, { ${l.join(", ")} }`:"";return`indentIfBreak(${n(u.contents)}${d})`}if(u.type===x){let l=[];u.break&&u.break!=="propagated"&&l.push("shouldBreak: true"),u.id&&l.push(`id: ${o(u.id)}`);let d=l.length>0?`, { ${l.join(", ")} }`:"";return u.expandedStates?`conditionalGroup([${u.expandedStates.map(f=>n(f)).join(",")}]${d})`:`group(${n(u.contents)}${d})`}if(u.type===S)return`fill([${u.parts.map(l=>n(l)).join(", ")}])`;if(u.type===Y)return"lineSuffix("+n(u.contents)+")";if(u.type===j)return"lineSuffixBoundary";if(u.type===N)return`label(${JSON.stringify(u.label)}, ${n(u.contents)})`;throw new Error("Unknown doc type "+u.type)}function o(u){if(typeof u!="symbol")return JSON.stringify(String(u));if(u in t)return t[u];let i=u.description||"symbol";for(let s=0;;s++){let a=i+(s>0?` #${s}`:"");if(!r.has(a))return r.add(a),t[u]=`Symbol.for(${JSON.stringify(a)})`}}}var Yu=(e,t,r)=>{if(!(e&&t==null))return Array.isArray(t)||typeof t=="string"?t[r<0?t.length+r:r]:t.at(r)},y=Yu;var Sr=()=>/[#*0-9]\uFE0F?\u20E3|[\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u231A\u231B\u2328\u23CF\u23ED-\u23EF\u23F1\u23F2\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB\u25FC\u25FE\u2600-\u2604\u260E\u2611\u2614\u2615\u2618\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638-\u263A\u2640\u2642\u2648-\u2653\u265F\u2660\u2663\u2665\u2666\u2668\u267B\u267E\u267F\u2692\u2694-\u2697\u2699\u269B\u269C\u26A0\u26A7\u26AA\u26B0\u26B1\u26BD\u26BE\u26C4\u26C8\u26CF\u26D1\u26E9\u26F0-\u26F5\u26F7\u26F8\u26FA\u2702\u2708\u2709\u270F\u2712\u2714\u2716\u271D\u2721\u2733\u2734\u2744\u2747\u2757\u2763\u27A1\u2934\u2935\u2B05-\u2B07\u2B1B\u2B1C\u2B55\u3030\u303D\u3297\u3299]\uFE0F?|[\u261D\u270C\u270D](?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?|[\u270A\u270B](?:\uD83C[\uDFFB-\uDFFF])?|[\u23E9-\u23EC\u23F0\u23F3\u25FD\u2693\u26A1\u26AB\u26C5\u26CE\u26D4\u26EA\u26FD\u2705\u2728\u274C\u274E\u2753-\u2755\u2795-\u2797\u27B0\u27BF\u2B50]|\u26D3\uFE0F?(?:\u200D\uD83D\uDCA5)?|\u26F9(?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|\u2764\uFE0F?(?:\u200D(?:\uD83D\uDD25|\uD83E\uDE79))?|\uD83C(?:[\uDC04\uDD70\uDD71\uDD7E\uDD7F\uDE02\uDE37\uDF21\uDF24-\uDF2C\uDF36\uDF7D\uDF96\uDF97\uDF99-\uDF9B\uDF9E\uDF9F\uDFCD\uDFCE\uDFD4-\uDFDF\uDFF5\uDFF7]\uFE0F?|[\uDF85\uDFC2\uDFC7](?:\uD83C[\uDFFB-\uDFFF])?|[\uDFC4\uDFCA](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDFCB\uDFCC](?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDCCF\uDD8E\uDD91-\uDD9A\uDE01\uDE1A\uDE2F\uDE32-\uDE36\uDE38-\uDE3A\uDE50\uDE51\uDF00-\uDF20\uDF2D-\uDF35\uDF37-\uDF43\uDF45-\uDF4A\uDF4C-\uDF7C\uDF7E-\uDF84\uDF86-\uDF93\uDFA0-\uDFC1\uDFC5\uDFC6\uDFC8\uDFC9\uDFCF-\uDFD3\uDFE0-\uDFF0\uDFF8-\uDFFF]|\uDDE6\uD83C[\uDDE8-\uDDEC\uDDEE\uDDF1\uDDF2\uDDF4\uDDF6-\uDDFA\uDDFC\uDDFD\uDDFF]|\uDDE7\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEF\uDDF1-\uDDF4\uDDF6-\uDDF9\uDDFB\uDDFC\uDDFE\uDDFF]|\uDDE8\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDEE\uDDF0-\uDDF5\uDDF7\uDDFA-\uDDFF]|\uDDE9\uD83C[\uDDEA\uDDEC\uDDEF\uDDF0\uDDF2\uDDF4\uDDFF]|\uDDEA\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDED\uDDF7-\uDDFA]|\uDDEB\uD83C[\uDDEE-\uDDF0\uDDF2\uDDF4\uDDF7]|\uDDEC\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEE\uDDF1-\uDDF3\uDDF5-\uDDFA\uDDFC\uDDFE]|\uDDED\uD83C[\uDDF0\uDDF2\uDDF3\uDDF7\uDDF9\uDDFA]|\uDDEE\uD83C[\uDDE8-\uDDEA\uDDF1-\uDDF4\uDDF6-\uDDF9]|\uDDEF\uD83C[\uDDEA\uDDF2\uDDF4\uDDF5]|\uDDF0\uD83C[\uDDEA\uDDEC-\uDDEE\uDDF2\uDDF3\uDDF5\uDDF7\uDDFC\uDDFE\uDDFF]|\uDDF1\uD83C[\uDDE6-\uDDE8\uDDEE\uDDF0\uDDF7-\uDDFB\uDDFE]|\uDDF2\uD83C[\uDDE6\uDDE8-\uDDED\uDDF0-\uDDFF]|\uDDF3\uD83C[\uDDE6\uDDE8\uDDEA-\uDDEC\uDDEE\uDDF1\uDDF4\uDDF5\uDDF7\uDDFA\uDDFF]|\uDDF4\uD83C\uDDF2|\uDDF5\uD83C[\uDDE6\uDDEA-\uDDED\uDDF0-\uDDF3\uDDF7-\uDDF9\uDDFC\uDDFE]|\uDDF6\uD83C\uDDE6|\uDDF7\uD83C[\uDDEA\uDDF4\uDDF8\uDDFA\uDDFC]|\uDDF8\uD83C[\uDDE6-\uDDEA\uDDEC-\uDDF4\uDDF7-\uDDF9\uDDFB\uDDFD-\uDDFF]|\uDDF9\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDED\uDDEF-\uDDF4\uDDF7\uDDF9\uDDFB\uDDFC\uDDFF]|\uDDFA\uD83C[\uDDE6\uDDEC\uDDF2\uDDF3\uDDF8\uDDFE\uDDFF]|\uDDFB\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDEE\uDDF3\uDDFA]|\uDDFC\uD83C[\uDDEB\uDDF8]|\uDDFD\uD83C\uDDF0|\uDDFE\uD83C[\uDDEA\uDDF9]|\uDDFF\uD83C[\uDDE6\uDDF2\uDDFC]|\uDF44(?:\u200D\uD83D\uDFEB)?|\uDF4B(?:\u200D\uD83D\uDFE9)?|\uDFC3(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?|\uDFF3\uFE0F?(?:\u200D(?:\u26A7\uFE0F?|\uD83C\uDF08))?|\uDFF4(?:\u200D\u2620\uFE0F?|\uDB40\uDC67\uDB40\uDC62\uDB40(?:\uDC65\uDB40\uDC6E\uDB40\uDC67|\uDC73\uDB40\uDC63\uDB40\uDC74|\uDC77\uDB40\uDC6C\uDB40\uDC73)\uDB40\uDC7F)?)|\uD83D(?:[\uDC3F\uDCFD\uDD49\uDD4A\uDD6F\uDD70\uDD73\uDD76-\uDD79\uDD87\uDD8A-\uDD8D\uDDA5\uDDA8\uDDB1\uDDB2\uDDBC\uDDC2-\uDDC4\uDDD1-\uDDD3\uDDDC-\uDDDE\uDDE1\uDDE3\uDDE8\uDDEF\uDDF3\uDDFA\uDECB\uDECD-\uDECF\uDEE0-\uDEE5\uDEE9\uDEF0\uDEF3]\uFE0F?|[\uDC42\uDC43\uDC46-\uDC50\uDC66\uDC67\uDC6B-\uDC6D\uDC72\uDC74-\uDC76\uDC78\uDC7C\uDC83\uDC85\uDC8F\uDC91\uDCAA\uDD7A\uDD95\uDD96\uDE4C\uDE4F\uDEC0\uDECC](?:\uD83C[\uDFFB-\uDFFF])?|[\uDC6E\uDC70\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4\uDEB5](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDD74\uDD90](?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?|[\uDC00-\uDC07\uDC09-\uDC14\uDC16-\uDC25\uDC27-\uDC3A\uDC3C-\uDC3E\uDC40\uDC44\uDC45\uDC51-\uDC65\uDC6A\uDC79-\uDC7B\uDC7D-\uDC80\uDC84\uDC88-\uDC8E\uDC90\uDC92-\uDCA9\uDCAB-\uDCFC\uDCFF-\uDD3D\uDD4B-\uDD4E\uDD50-\uDD67\uDDA4\uDDFB-\uDE2D\uDE2F-\uDE34\uDE37-\uDE41\uDE43\uDE44\uDE48-\uDE4A\uDE80-\uDEA2\uDEA4-\uDEB3\uDEB7-\uDEBF\uDEC1-\uDEC5\uDED0-\uDED2\uDED5-\uDED7\uDEDC-\uDEDF\uDEEB\uDEEC\uDEF4-\uDEFC\uDFE0-\uDFEB\uDFF0]|\uDC08(?:\u200D\u2B1B)?|\uDC15(?:\u200D\uD83E\uDDBA)?|\uDC26(?:\u200D(?:\u2B1B|\uD83D\uDD25))?|\uDC3B(?:\u200D\u2744\uFE0F?)?|\uDC41\uFE0F?(?:\u200D\uD83D\uDDE8\uFE0F?)?|\uDC68(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDC68\uDC69]\u200D\uD83D(?:\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?)|[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?)|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFC-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFD-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFD\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFE])))?))?|\uDC69(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?[\uDC68\uDC69]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?|\uDC69\u200D\uD83D(?:\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?))|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFC-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB\uDFFD-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB-\uDFFD\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB-\uDFFE])))?))?|\uDC6F(?:\u200D[\u2640\u2642]\uFE0F?)?|\uDD75(?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|\uDE2E(?:\u200D\uD83D\uDCA8)?|\uDE35(?:\u200D\uD83D\uDCAB)?|\uDE36(?:\u200D\uD83C\uDF2B\uFE0F?)?|\uDE42(?:\u200D[\u2194\u2195]\uFE0F?)?|\uDEB6(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?)|\uD83E(?:[\uDD0C\uDD0F\uDD18-\uDD1F\uDD30-\uDD34\uDD36\uDD77\uDDB5\uDDB6\uDDBB\uDDD2\uDDD3\uDDD5\uDEC3-\uDEC5\uDEF0\uDEF2-\uDEF8](?:\uD83C[\uDFFB-\uDFFF])?|[\uDD26\uDD35\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD\uDDCF\uDDD4\uDDD6-\uDDDD](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDDDE\uDDDF](?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDD0D\uDD0E\uDD10-\uDD17\uDD20-\uDD25\uDD27-\uDD2F\uDD3A\uDD3F-\uDD45\uDD47-\uDD76\uDD78-\uDDB4\uDDB7\uDDBA\uDDBC-\uDDCC\uDDD0\uDDE0-\uDDFF\uDE70-\uDE7C\uDE80-\uDE88\uDE90-\uDEBD\uDEBF-\uDEC2\uDECE-\uDEDB\uDEE0-\uDEE8]|\uDD3C(?:\u200D[\u2640\u2642]\uFE0F?|\uD83C[\uDFFB-\uDFFF])?|\uDDCE(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?|\uDDD1(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1|\uDDD1\u200D\uD83E\uDDD2(?:\u200D\uD83E\uDDD2)?|\uDDD2(?:\u200D\uD83E\uDDD2)?))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFC-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB\uDFFD-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB-\uDFFD\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB-\uDFFE]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?))?|\uDEF1(?:\uD83C(?:\uDFFB(?:\u200D\uD83E\uDEF2\uD83C[\uDFFC-\uDFFF])?|\uDFFC(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB\uDFFD-\uDFFF])?|\uDFFD(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])?|\uDFFE(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB-\uDFFD\uDFFF])?|\uDFFF(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB-\uDFFE])?))?)/g;function Nr(e){return e===12288||e>=65281&&e<=65376||e>=65504&&e<=65510}function Tr(e){return e>=4352&&e<=4447||e===8986||e===8987||e===9001||e===9002||e>=9193&&e<=9196||e===9200||e===9203||e===9725||e===9726||e===9748||e===9749||e>=9800&&e<=9811||e===9855||e===9875||e===9889||e===9898||e===9899||e===9917||e===9918||e===9924||e===9925||e===9934||e===9940||e===9962||e===9970||e===9971||e===9973||e===9978||e===9981||e===9989||e===9994||e===9995||e===10024||e===10060||e===10062||e>=10067&&e<=10069||e===10071||e>=10133&&e<=10135||e===10160||e===10175||e===11035||e===11036||e===11088||e===11093||e>=11904&&e<=11929||e>=11931&&e<=12019||e>=12032&&e<=12245||e>=12272&&e<=12287||e>=12289&&e<=12350||e>=12353&&e<=12438||e>=12441&&e<=12543||e>=12549&&e<=12591||e>=12593&&e<=12686||e>=12688&&e<=12771||e>=12783&&e<=12830||e>=12832&&e<=12871||e>=12880&&e<=19903||e>=19968&&e<=42124||e>=42128&&e<=42182||e>=43360&&e<=43388||e>=44032&&e<=55203||e>=63744&&e<=64255||e>=65040&&e<=65049||e>=65072&&e<=65106||e>=65108&&e<=65126||e>=65128&&e<=65131||e>=94176&&e<=94180||e===94192||e===94193||e>=94208&&e<=100343||e>=100352&&e<=101589||e>=101632&&e<=101640||e>=110576&&e<=110579||e>=110581&&e<=110587||e===110589||e===110590||e>=110592&&e<=110882||e===110898||e>=110928&&e<=110930||e===110933||e>=110948&&e<=110951||e>=110960&&e<=111355||e===126980||e===127183||e===127374||e>=127377&&e<=127386||e>=127488&&e<=127490||e>=127504&&e<=127547||e>=127552&&e<=127560||e===127568||e===127569||e>=127584&&e<=127589||e>=127744&&e<=127776||e>=127789&&e<=127797||e>=127799&&e<=127868||e>=127870&&e<=127891||e>=127904&&e<=127946||e>=127951&&e<=127955||e>=127968&&e<=127984||e===127988||e>=127992&&e<=128062||e===128064||e>=128066&&e<=128252||e>=128255&&e<=128317||e>=128331&&e<=128334||e>=128336&&e<=128359||e===128378||e===128405||e===128406||e===128420||e>=128507&&e<=128591||e>=128640&&e<=128709||e===128716||e>=128720&&e<=128722||e>=128725&&e<=128727||e>=128732&&e<=128735||e===128747||e===128748||e>=128756&&e<=128764||e>=128992&&e<=129003||e===129008||e>=129292&&e<=129338||e>=129340&&e<=129349||e>=129351&&e<=129535||e>=129648&&e<=129660||e>=129664&&e<=129672||e>=129680&&e<=129725||e>=129727&&e<=129733||e>=129742&&e<=129755||e>=129760&&e<=129768||e>=129776&&e<=129784||e>=131072&&e<=196605||e>=196608&&e<=262141}var kr=e=>!(Nr(e)||Tr(e));var ju=/[^\x20-\x7F]/u;function Hu(e){if(!e)return 0;if(!ju.test(e))return e.length;e=e.replace(Sr()," ");let t=0;for(let r of e){let n=r.codePointAt(0);n<=31||n>=127&&n<=159||n>=768&&n<=879||(t+=kr(n)?1:2)}return t}var Oe=Hu;function Ne(e,t){if(typeof e=="string")return t(e);let r=new Map;return n(e);function n(u){if(r.has(u))return r.get(u);let i=o(u);return r.set(u,i),i}function o(u){switch(G(u)){case W:return t(u.map(n));case S:return t({...u,parts:u.parts.map(n)});case _:return t({...u,breakContents:n(u.breakContents),flatContents:n(u.flatContents)});case x:{let{expandedStates:i,contents:s}=u;return i?(i=i.map(n),s=i[0]):s=n(s),t({...u,contents:s,expandedStates:i})}case P:case L:case R:case N:case Y:return t({...u,contents:n(u.contents)});case U:case z:case I:case j:case B:case b:return t(u);default:throw new Q(u)}}}function Xe(e,t,r){let n=r,o=!1;function u(i){if(o)return!1;let s=t(i);s!==void 0&&(o=!0,n=s)}return we(e,u),n}function Wu(e){if(e.type===x&&e.break||e.type===B&&e.hard||e.type===b)return!0}function Ir(e){return Xe(e,Wu,!1)}function Lr(e){if(e.length>0){let t=y(!1,e,-1);!t.expandedStates&&!t.break&&(t.break="propagated")}return null}function Rr(e){let t=new Set,r=[];function n(u){if(u.type===b&&Lr(r),u.type===x){if(r.push(u),t.has(u))return!1;t.add(u)}}function o(u){u.type===x&&r.pop().break&&Lr(r)}we(e,n,o,!0)}function Mu(e){return e.type===B&&!e.hard?e.soft?"":" ":e.type===_?e.flatContents:e}function Yr(e){return Ne(e,Mu)}function Pr(e){for(e=[...e];e.length>=2&&y(!1,e,-2).type===B&&y(!1,e,-1).type===b;)e.length-=2;if(e.length>0){let t=Se(y(!1,e,-1));e[e.length-1]=t}return e}function Se(e){switch(G(e)){case L:case R:case x:case Y:case N:{let t=Se(e.contents);return{...e,contents:t}}case _:return{...e,breakContents:Se(e.breakContents),flatContents:Se(e.flatContents)};case S:return{...e,parts:Pr(e.parts)};case W:return Pr(e);case U:return e.replace(/[\n\r]*$/u,"");case P:case z:case I:case j:case B:case b:break;default:throw new Q(e)}return e}function Ze(e){return Se(Vu(e))}function $u(e){switch(G(e)){case S:if(e.parts.every(t=>t===""))return"";break;case x:if(!e.contents&&!e.id&&!e.break&&!e.expandedStates)return"";if(e.contents.type===x&&e.contents.id===e.id&&e.contents.break===e.break&&e.contents.expandedStates===e.expandedStates)return e.contents;break;case P:case L:case R:case Y:if(!e.contents)return"";break;case _:if(!e.flatContents&&!e.breakContents)return"";break;case W:{let t=[];for(let r of e){if(!r)continue;let[n,...o]=Array.isArray(r)?r:[r];typeof n=="string"&&typeof y(!1,t,-1)=="string"?t[t.length-1]+=n:t.push(n),t.push(...o)}return t.length===0?"":t.length===1?t[0]:t}case U:case z:case I:case j:case B:case N:case b:break;default:throw new Q(e)}return e}function Vu(e){return Ne(e,t=>$u(t))}function jr(e,t=qe){return Ne(e,r=>typeof r=="string"?be(t,r.split(` +`)):r)}function Uu(e){if(e.type===B)return!0}function Hr(e){return Xe(e,Uu,!1)}function Qe(e,t){return e.type===N?{...e,contents:t(e.contents)}:t(e)}var H=Symbol("MODE_BREAK"),J=Symbol("MODE_FLAT"),Te=Symbol("cursor");function Wr(){return{value:"",length:0,queue:[]}}function zu(e,t){return bt(e,{type:"indent"},t)}function Gu(e,t,r){return t===Number.NEGATIVE_INFINITY?e.root||Wr():t<0?bt(e,{type:"dedent"},r):t?t.type==="root"?{...e,root:e}:bt(e,{type:typeof t=="string"?"stringAlign":"numberAlign",n:t},r):e}function bt(e,t,r){let n=t.type==="dedent"?e.queue.slice(0,-1):[...e.queue,t],o="",u=0,i=0,s=0;for(let c of n)switch(c.type){case"indent":l(),r.useTabs?a(1):D(r.tabWidth);break;case"stringAlign":l(),o+=c.n,u+=c.n.length;break;case"numberAlign":i+=1,s+=c.n;break;default:throw new Error(`Unexpected type '${c.type}'`)}return f(),{...e,value:o,length:u,queue:n};function a(c){o+=" ".repeat(c),u+=r.tabWidth*c}function D(c){o+=" ".repeat(c),u+=c}function l(){r.useTabs?d():f()}function d(){i>0&&a(i),p()}function f(){s>0&&D(s),p()}function p(){i=0,s=0}}function Ot(e){let t=0,r=0,n=e.length;e:for(;n--;){let o=e[n];if(o===Te){r++;continue}for(let u=o.length-1;u>=0;u--){let i=o[u];if(i===" "||i===" ")t++;else{e[n]=o.slice(0,u+1);break e}}}if(t>0||r>0)for(e.length=n+1;r-- >0;)e.push(Te);return t}function et(e,t,r,n,o,u){if(r===Number.POSITIVE_INFINITY)return!0;let i=t.length,s=[e],a=[];for(;r>=0;){if(s.length===0){if(i===0)return!0;s.push(t[--i]);continue}let{mode:D,doc:l}=s.pop(),d=G(l);switch(d){case U:a.push(l),r-=Oe(l);break;case W:case S:{let f=d===W?l:l.parts;for(let p=f.length-1;p>=0;p--)s.push({mode:D,doc:f[p]});break}case L:case P:case R:case N:s.push({mode:D,doc:l.contents});break;case I:r+=Ot(a);break;case x:{if(u&&l.break)return!1;let f=l.break?H:D,p=l.expandedStates&&f===H?y(!1,l.expandedStates,-1):l.contents;s.push({mode:f,doc:p});break}case _:{let p=(l.groupId?o[l.groupId]||J:D)===H?l.breakContents:l.flatContents;p&&s.push({mode:D,doc:p});break}case B:if(D===H||l.hard)return!0;l.soft||(a.push(" "),r--);break;case Y:n=!0;break;case j:if(n)return!1;break}}return!1}function Fe(e,t){let r={},n=t.printWidth,o=Be(t.endOfLine),u=0,i=[{ind:Wr(),mode:H,doc:e}],s=[],a=!1,D=[],l=0;for(Rr(e);i.length>0;){let{ind:f,mode:p,doc:c}=i.pop();switch(G(c)){case U:{let F=o!==` +`?ne(!1,c,` +`,o):c;s.push(F),i.length>0&&(u+=Oe(F));break}case W:for(let F=c.length-1;F>=0;F--)i.push({ind:f,mode:p,doc:c[F]});break;case z:if(l>=2)throw new Error("There are too many 'cursor' in doc.");s.push(Te),l++;break;case L:i.push({ind:zu(f,t),mode:p,doc:c.contents});break;case P:i.push({ind:Gu(f,c.n,t),mode:p,doc:c.contents});break;case I:u-=Ot(s);break;case x:switch(p){case J:if(!a){i.push({ind:f,mode:c.break?H:J,doc:c.contents});break}case H:{a=!1;let F={ind:f,mode:J,doc:c.contents},m=n-u,E=D.length>0;if(!c.break&&et(F,i,m,E,r))i.push(F);else if(c.expandedStates){let A=y(!1,c.expandedStates,-1);if(c.break){i.push({ind:f,mode:H,doc:A});break}else for(let w=1;w=c.expandedStates.length){i.push({ind:f,mode:H,doc:A});break}else{let h=c.expandedStates[w],C={ind:f,mode:J,doc:h};if(et(C,i,m,E,r)){i.push(C);break}}}else i.push({ind:f,mode:H,doc:c.contents});break}}c.id&&(r[c.id]=y(!1,i,-1).mode);break;case S:{let F=n-u,{parts:m}=c;if(m.length===0)break;let[E,A]=m,w={ind:f,mode:J,doc:E},h={ind:f,mode:H,doc:E},C=et(w,[],F,D.length>0,r,!0);if(m.length===1){C?i.push(w):i.push(h);break}let k={ind:f,mode:J,doc:A},v={ind:f,mode:H,doc:A};if(m.length===2){C?i.push(k,w):i.push(v,h);break}m.splice(0,2);let $={ind:f,mode:p,doc:Ge(m)},ye=m[0];et({ind:f,mode:J,doc:[E,A,ye]},[],F,D.length>0,r,!0)?i.push($,k,w):C?i.push($,v,w):i.push($,v,h);break}case _:case R:{let F=c.groupId?r[c.groupId]:p;if(F===H){let m=c.type===_?c.breakContents:c.negate?c.contents:De(c.contents);m&&i.push({ind:f,mode:p,doc:m})}if(F===J){let m=c.type===_?c.flatContents:c.negate?De(c.contents):c.contents;m&&i.push({ind:f,mode:p,doc:m})}break}case Y:D.push({ind:f,mode:p,doc:c.contents});break;case j:D.length>0&&i.push({ind:f,mode:p,doc:_e});break;case B:switch(p){case J:if(c.hard)a=!0;else{c.soft||(s.push(" "),u+=1);break}case H:if(D.length>0){i.push({ind:f,mode:p,doc:c},...D.reverse()),D.length=0;break}c.literal?f.root?(s.push(o,f.root.value),u=f.root.length):(s.push(o),u=0):(u-=Ot(s),s.push(o+f.value),u=f.length);break}break;case N:i.push({ind:f,mode:p,doc:c.contents});break;case b:break;default:throw new Q(c)}i.length===0&&D.length>0&&(i.push(...D.reverse()),D.length=0)}let d=s.indexOf(Te);if(d!==-1){let f=s.indexOf(Te,d+1),p=s.slice(0,d).join(""),c=s.slice(d+1,f).join(""),F=s.slice(f+1).join("");return{formatted:p+c+F,cursorNodeStart:p.length,cursorNodeText:c}}return{formatted:s.join("")}}function Ku(e,t,r=0){let n=0;for(let o=r;o1?y(!1,t,-2):null}getValue(){return y(!1,this.stack,-1)}getNode(t=0){let r=pe(this,te,Nt).call(this,t);return r===-1?null:this.stack[r]}getParentNode(t=0){return this.getNode(t+1)}call(t,...r){let{stack:n}=this,{length:o}=n,u=y(!1,n,-1);for(let i of r)u=u[i],n.push(i,u);try{return t(this)}finally{n.length=o}}callParent(t,r=0){let n=pe(this,te,Nt).call(this,r+1),o=this.stack.splice(n+1);try{return t(this)}finally{this.stack.push(...o)}}each(t,...r){let{stack:n}=this,{length:o}=n,u=y(!1,n,-1);for(let i of r)u=u[i],n.push(i,u);try{for(let i=0;i{n[u]=t(o,u,i)},...r),n}match(...t){let r=this.stack.length-1,n=null,o=this.stack[r--];for(let u of t){if(o===void 0)return!1;let i=null;if(typeof n=="number"&&(i=n,n=this.stack[r--],o=this.stack[r--]),u&&!u(o,n,i))return!1;n=this.stack[r--],o=this.stack[r--]}return!0}findAncestor(t){for(let r of pe(this,te,tt).call(this))if(t(r))return r}hasAncestor(t){for(let r of pe(this,te,tt).call(this))if(t(r))return!0;return!1}};te=new WeakSet,Nt=function(t){let{stack:r}=this;for(let n=r.length-1;n>=0;n-=2)if(!Array.isArray(r[n])&&--t<0)return n;return-1},tt=function*(){let{stack:t}=this;for(let r=t.length-3;r>=0;r-=2){let n=t[r];Array.isArray(n)||(yield n)}};var Mr=St;var $r=new Proxy(()=>{},{get:()=>$r}),ke=$r;function qu(e){return e!==null&&typeof e=="object"}var Vr=qu;function*Tt(e,t){let{getVisitorKeys:r,filter:n=()=>!0}=t,o=u=>Vr(u)&&n(u);for(let u of r(e)){let i=e[u];if(Array.isArray(i))for(let s of i)o(s)&&(yield s);else o(i)&&(yield i)}}function*Ur(e,t){let r=[e];for(let n=0;n{let o=!!(n!=null&&n.backwards);if(r===!1)return!1;let{length:u}=t,i=r;for(;i>=0&&i0}var kt=Zu;var Gr=new Set(["tokens","comments","parent","enclosingNode","precedingNode","followingNode"]),Qu=e=>Object.keys(e).filter(t=>!Gr.has(t));function eo(e){return e?t=>e(t,Gr):Qu}var X=eo;function to(e){let t=e.type||e.kind||"(unknown type)",r=String(e.name||e.id&&(typeof e.id=="object"?e.id.name:e.id)||e.key&&(typeof e.key=="object"?e.key.name:e.key)||e.value&&(typeof e.value=="object"?"":String(e.value))||e.operator||"");return r.length>20&&(r=r.slice(0,19)+"\u2026"),t+(r?" "+r:"")}function Lt(e,t){(e.comments??(e.comments=[])).push(t),t.printed=!1,t.nodeDescription=to(e)}function ue(e,t){t.leading=!0,t.trailing=!1,Lt(e,t)}function re(e,t,r){t.leading=!1,t.trailing=!1,r&&(t.marker=r),Lt(e,t)}function oe(e,t){t.leading=!1,t.trailing=!0,Lt(e,t)}var Pt=new WeakMap;function ut(e,t){if(Pt.has(e))return Pt.get(e);let{printer:{getCommentChildNodes:r,canAttachComment:n,getVisitorKeys:o},locStart:u,locEnd:i}=t;if(!n)return[];let s=((r==null?void 0:r(e,t))??[...Tt(e,{getVisitorKeys:X(o)})]).flatMap(a=>n(a)?[a]:ut(a,t));return s.sort((a,D)=>u(a)-u(D)||i(a)-i(D)),Pt.set(e,s),s}function qr(e,t,r,n){let{locStart:o,locEnd:u}=r,i=o(t),s=u(t),a=ut(e,r),D,l,d=0,f=a.length;for(;d>1,c=a[p],F=o(c),m=u(c);if(F<=i&&s<=m)return qr(c,t,r,c);if(m<=i){D=c,d=p+1;continue}if(s<=F){l=c,f=p;continue}throw new Error("Comment location overlaps with node location")}if((n==null?void 0:n.type)==="TemplateLiteral"){let{quasis:p}=n,c=Rt(p,t,r);D&&Rt(p,D,r)!==c&&(D=null),l&&Rt(p,l,r)!==c&&(l=null)}return{enclosingNode:n,precedingNode:D,followingNode:l}}var It=()=>!1;function Jr(e,t){let{comments:r}=e;if(delete e.comments,!kt(r)||!t.printer.canAttachComment)return;let n=[],{locStart:o,locEnd:u,printer:{experimentalFeatures:{avoidAstMutation:i=!1}={},handleComments:s={}},originalText:a}=t,{ownLine:D=It,endOfLine:l=It,remaining:d=It}=s,f=r.map((p,c)=>({...qr(e,p,t),comment:p,text:a,options:t,ast:e,isLastComment:r.length-1===c}));for(let[p,c]of f.entries()){let{comment:F,precedingNode:m,enclosingNode:E,followingNode:A,text:w,options:h,ast:C,isLastComment:k}=c;if(h.parser==="json"||h.parser==="json5"||h.parser==="jsonc"||h.parser==="__js_expression"||h.parser==="__ts_expression"||h.parser==="__vue_expression"||h.parser==="__vue_ts_expression"){if(o(F)-o(C)<=0){ue(C,F);continue}if(u(F)-u(C)>=0){oe(C,F);continue}}let v;if(i?v=[c]:(F.enclosingNode=E,F.precedingNode=m,F.followingNode=A,v=[F,w,h,C,k]),ro(w,h,f,p))F.placement="ownLine",D(...v)||(A?ue(A,F):m?oe(m,F):E?re(E,F):re(C,F));else if(no(w,h,f,p))F.placement="endOfLine",l(...v)||(m?oe(m,F):A?ue(A,F):E?re(E,F):re(C,F));else if(F.placement="remaining",!d(...v))if(m&&A){let $=n.length;$>0&&n[$-1].followingNode!==A&&Kr(n,h),n.push(c)}else m?oe(m,F):A?ue(A,F):E?re(E,F):re(C,F)}if(Kr(n,t),!i)for(let p of r)delete p.precedingNode,delete p.enclosingNode,delete p.followingNode}var Xr=e=>!/[\S\n\u2028\u2029]/u.test(e);function ro(e,t,r,n){let{comment:o,precedingNode:u}=r[n],{locStart:i,locEnd:s}=t,a=i(o);if(u)for(let D=n-1;D>=0;D--){let{comment:l,precedingNode:d}=r[D];if(d!==u||!Xr(e.slice(s(l),a)))break;a=i(l)}return V(e,a,{backwards:!0})}function no(e,t,r,n){let{comment:o,followingNode:u}=r[n],{locStart:i,locEnd:s}=t,a=s(o);if(u)for(let D=n+1;D0;--i){let{comment:D,precedingNode:l,followingNode:d}=e[i-1];ke.strictEqual(l,n),ke.strictEqual(d,o);let f=t.originalText.slice(t.locEnd(D),u);if(((a=(s=t.printer).isGap)==null?void 0:a.call(s,f,t))??/^[\s(]*$/u.test(f))u=t.locStart(D);else break}for(let[D,{comment:l}]of e.entries())D1&&D.comments.sort((l,d)=>t.locStart(l)-t.locStart(d));e.length=0}function Rt(e,t,r){let n=r.locStart(t)-1;for(let o=1;o!n.has(a)).length===0)return{leading:"",trailing:""};let u=[],i=[],s;return e.each(()=>{let a=e.node;if(n!=null&&n.has(a))return;let{leading:D,trailing:l}=a;D?u.push(oo(e,t)):l&&(s=io(e,t,s),i.push(s.doc))},"comments"),{leading:u,trailing:i}}function Qr(e,t,r){let{leading:n,trailing:o}=so(e,r);return!n&&!o?t:Qe(t,u=>[n,u,o])}function en(e){let{[Symbol.for("comments")]:t,[Symbol.for("printedComments")]:r}=e;for(let n of t){if(!n.printed&&!r.has(n))throw new Error('Comment "'+n.value.trim()+'" was not printed. Please report this error!');delete n.printed}}function ao(e){return()=>{}}var tn=ao;var Pe=class extends Error{name="ConfigError"},Ie=class extends Error{name="UndefinedParserError"};var rn={cursorOffset:{category:"Special",type:"int",default:-1,range:{start:-1,end:1/0,step:1},description:"Print (to stderr) where a cursor at the given position would move to after formatting.",cliCategory:"Editor"},endOfLine:{category:"Global",type:"choice",default:"lf",description:"Which end of line characters to apply.",choices:[{value:"lf",description:"Line Feed only (\\n), common on Linux and macOS as well as inside git repos"},{value:"crlf",description:"Carriage Return + Line Feed characters (\\r\\n), common on Windows"},{value:"cr",description:"Carriage Return character only (\\r), used very rarely"},{value:"auto",description:`Maintain existing +(mixed values within one file are normalised by looking at what's used after the first line)`}]},filepath:{category:"Special",type:"path",description:"Specify the input filepath. This will be used to do parser inference.",cliName:"stdin-filepath",cliCategory:"Other",cliDescription:"Path to the file to pretend that stdin comes from."},insertPragma:{category:"Special",type:"boolean",default:!1,description:"Insert @format pragma into file's first docblock comment.",cliCategory:"Other"},parser:{category:"Global",type:"choice",default:void 0,description:"Which parser to use.",exception:e=>typeof e=="string"||typeof e=="function",choices:[{value:"flow",description:"Flow"},{value:"babel",description:"JavaScript"},{value:"babel-flow",description:"Flow"},{value:"babel-ts",description:"TypeScript"},{value:"typescript",description:"TypeScript"},{value:"acorn",description:"JavaScript"},{value:"espree",description:"JavaScript"},{value:"meriyah",description:"JavaScript"},{value:"css",description:"CSS"},{value:"less",description:"Less"},{value:"scss",description:"SCSS"},{value:"json",description:"JSON"},{value:"json5",description:"JSON5"},{value:"jsonc",description:"JSON with Comments"},{value:"json-stringify",description:"JSON.stringify"},{value:"graphql",description:"GraphQL"},{value:"markdown",description:"Markdown"},{value:"mdx",description:"MDX"},{value:"vue",description:"Vue"},{value:"yaml",description:"YAML"},{value:"glimmer",description:"Ember / Handlebars"},{value:"html",description:"HTML"},{value:"angular",description:"Angular"},{value:"lwc",description:"Lightning Web Components"}]},plugins:{type:"path",array:!0,default:[{value:[]}],category:"Global",description:"Add a plugin. Multiple plugins can be passed as separate `--plugin`s.",exception:e=>typeof e=="string"||typeof e=="object",cliName:"plugin",cliCategory:"Config"},printWidth:{category:"Global",type:"int",default:80,description:"The line length where Prettier will try wrap.",range:{start:0,end:1/0,step:1}},rangeEnd:{category:"Special",type:"int",default:1/0,range:{start:0,end:1/0,step:1},description:`Format code ending at a given character offset (exclusive). +The range will extend forwards to the end of the selected statement.`,cliCategory:"Editor"},rangeStart:{category:"Special",type:"int",default:0,range:{start:0,end:1/0,step:1},description:`Format code starting at a given character offset. +The range will extend backwards to the start of the first line containing the selected statement.`,cliCategory:"Editor"},requirePragma:{category:"Special",type:"boolean",default:!1,description:`Require either '@prettier' or '@format' to be present in the file's first docblock comment +in order for it to be formatted.`,cliCategory:"Other"},tabWidth:{type:"int",category:"Global",default:2,description:"Number of spaces per indentation level.",range:{start:0,end:1/0,step:1}},useTabs:{category:"Global",type:"boolean",default:!1,description:"Indent with tabs instead of spaces."},embeddedLanguageFormatting:{category:"Global",type:"choice",default:"auto",description:"Control how Prettier formats quoted code embedded in the file.",choices:[{value:"auto",description:"Format embedded code if Prettier can automatically identify it."},{value:"off",description:"Never automatically format embedded code."}]}};function ot({plugins:e=[],showDeprecated:t=!1}={}){let r=e.flatMap(o=>o.languages??[]),n=[];for(let o of lo(Object.assign({},...e.map(({options:u})=>u),rn)))!t&&o.deprecated||(Array.isArray(o.choices)&&(t||(o.choices=o.choices.filter(u=>!u.deprecated)),o.name==="parser"&&(o.choices=[...o.choices,...Do(o.choices,r,e)])),o.pluginDefaults=Object.fromEntries(e.filter(u=>{var i;return((i=u.defaultOptions)==null?void 0:i[o.name])!==void 0}).map(u=>[u.name,u.defaultOptions[o.name]])),n.push(o));return{languages:r,options:n}}function*Do(e,t,r){let n=new Set(e.map(o=>o.value));for(let o of t)if(o.parsers){for(let u of o.parsers)if(!n.has(u)){n.add(u);let i=r.find(a=>a.parsers&&Object.prototype.hasOwnProperty.call(a.parsers,u)),s=o.name;i!=null&&i.name&&(s+=` (plugin: ${i.name})`),yield{value:u,description:s}}}}function lo(e){let t=[];for(let[r,n]of Object.entries(e)){let o={name:r,...n};Array.isArray(o.default)&&(o.default=y(!1,o.default,-1).value),t.push(o)}return t}var co=e=>String(e).split(/[/\\]/u).pop();function nn(e,t){if(!t)return;let r=co(t).toLowerCase();return e.find(({filenames:n})=>n==null?void 0:n.some(o=>o.toLowerCase()===r))??e.find(({extensions:n})=>n==null?void 0:n.some(o=>r.endsWith(o)))}function fo(e,t){if(t)return e.find(({name:r})=>r.toLowerCase()===t)??e.find(({aliases:r})=>r==null?void 0:r.includes(t))??e.find(({extensions:r})=>r==null?void 0:r.includes(`.${t}`))}function po(e,t){let r=e.plugins.flatMap(o=>o.languages??[]),n=fo(r,t.language)??nn(r,t.physicalFile)??nn(r,t.file)??(t.physicalFile,void 0);return n==null?void 0:n.parsers[0]}var un=po;var ie={key:e=>/^[$_a-zA-Z][$_a-zA-Z0-9]*$/.test(e)?e:JSON.stringify(e),value(e){if(e===null||typeof e!="object")return JSON.stringify(e);if(Array.isArray(e))return`[${e.map(r=>ie.value(r)).join(", ")}]`;let t=Object.keys(e);return t.length===0?"{}":`{ ${t.map(r=>`${ie.key(r)}: ${ie.value(e[r])}`).join(", ")} }`},pair:({key:e,value:t})=>ie.value({[e]:t})};var Yt=Me(it(),1),an=(e,t,{descriptor:r})=>{let n=[`${Yt.default.yellow(typeof e=="string"?r.key(e):r.pair(e))} is deprecated`];return t&&n.push(`we now treat it as ${Yt.default.blue(typeof t=="string"?r.key(t):r.pair(t))}`),n.join("; ")+"."};var le=Me(it(),1);var st=Symbol.for("vnopts.VALUE_NOT_EXIST"),he=Symbol.for("vnopts.VALUE_UNCHANGED");var Dn=" ".repeat(2),cn=(e,t,r)=>{let{text:n,list:o}=r.normalizeExpectedResult(r.schemas[e].expected(r)),u=[];return n&&u.push(ln(e,t,n,r.descriptor)),o&&u.push([ln(e,t,o.title,r.descriptor)].concat(o.values.map(i=>fn(i,r.loggerPrintWidth))).join(` +`)),pn(u,r.loggerPrintWidth)};function ln(e,t,r,n){return[`Invalid ${le.default.red(n.key(e))} value.`,`Expected ${le.default.blue(r)},`,`but received ${t===st?le.default.gray("nothing"):le.default.red(n.value(t))}.`].join(" ")}function fn({text:e,list:t},r){let n=[];return e&&n.push(`- ${le.default.blue(e)}`),t&&n.push([`- ${le.default.blue(t.title)}:`].concat(t.values.map(o=>fn(o,r-Dn.length).replace(/^|\n/g,`$&${Dn}`))).join(` +`)),pn(n,r)}function pn(e,t){if(e.length===1)return e[0];let[r,n]=e,[o,u]=e.map(i=>i.split(` +`,1)[0].length);return o>t&&o>u?n:r}var Wt=Me(it(),1);var jt=[],dn=[];function Ht(e,t){if(e===t)return 0;let r=e;e.length>t.length&&(e=t,t=r);let n=e.length,o=t.length;for(;n>0&&e.charCodeAt(~-n)===t.charCodeAt(~-o);)n--,o--;let u=0;for(;us?D>s?s+1:D:D>a?a+1:D;return s}var at=(e,t,{descriptor:r,logger:n,schemas:o})=>{let u=[`Ignored unknown option ${Wt.default.yellow(r.pair({key:e,value:t}))}.`],i=Object.keys(o).sort().find(s=>Ht(e,s)<3);i&&u.push(`Did you mean ${Wt.default.blue(r.key(i))}?`),n.warn(u.join(" "))};var Fo=["default","expected","validate","deprecated","forward","redirect","overlap","preprocess","postprocess"];function mo(e,t){let r=new e(t),n=Object.create(r);for(let o of Fo)o in t&&(n[o]=Eo(t[o],r,O.prototype[o].length));return n}var O=class{static create(t){return mo(this,t)}constructor(t){this.name=t.name}default(t){}expected(t){return"nothing"}validate(t,r){return!1}deprecated(t,r){return!1}forward(t,r){}redirect(t,r){}overlap(t,r,n){return t}preprocess(t,r){return t}postprocess(t,r){return he}};function Eo(e,t,r){return typeof e=="function"?(...n)=>e(...n.slice(0,r-1),t,...n.slice(r-1)):()=>e}var Dt=class extends O{constructor(t){super(t),this._sourceName=t.sourceName}expected(t){return t.schemas[this._sourceName].expected(t)}validate(t,r){return r.schemas[this._sourceName].validate(t,r)}redirect(t,r){return this._sourceName}};var lt=class extends O{expected(){return"anything"}validate(){return!0}};var ct=class extends O{constructor({valueSchema:t,name:r=t.name,...n}){super({...n,name:r}),this._valueSchema=t}expected(t){let{text:r,list:n}=t.normalizeExpectedResult(this._valueSchema.expected(t));return{text:r&&`an array of ${r}`,list:n&&{title:"an array of the following values",values:[{list:n}]}}}validate(t,r){if(!Array.isArray(t))return!1;let n=[];for(let o of t){let u=r.normalizeValidateResult(this._valueSchema.validate(o,r),o);u!==!0&&n.push(u.value)}return n.length===0?!0:{value:n}}deprecated(t,r){let n=[];for(let o of t){let u=r.normalizeDeprecatedResult(this._valueSchema.deprecated(o,r),o);u!==!1&&n.push(...u.map(({value:i})=>({value:[i]})))}return n}forward(t,r){let n=[];for(let o of t){let u=r.normalizeForwardResult(this._valueSchema.forward(o,r),o);n.push(...u.map(Fn))}return n}redirect(t,r){let n=[],o=[];for(let u of t){let i=r.normalizeRedirectResult(this._valueSchema.redirect(u,r),u);"remain"in i&&n.push(i.remain),o.push(...i.redirect.map(Fn))}return n.length===0?{redirect:o}:{redirect:o,remain:n}}overlap(t,r){return t.concat(r)}};function Fn({from:e,to:t}){return{from:[e],to:t}}var ft=class extends O{expected(){return"true or false"}validate(t){return typeof t=="boolean"}};function En(e,t){let r=Object.create(null);for(let n of e){let o=n[t];if(r[o])throw new Error(`Duplicate ${t} ${JSON.stringify(o)}`);r[o]=n}return r}function hn(e,t){let r=new Map;for(let n of e){let o=n[t];if(r.has(o))throw new Error(`Duplicate ${t} ${JSON.stringify(o)}`);r.set(o,n)}return r}function Cn(){let e=Object.create(null);return t=>{let r=JSON.stringify(t);return e[r]?!0:(e[r]=!0,!1)}}function gn(e,t){let r=[],n=[];for(let o of e)t(o)?r.push(o):n.push(o);return[r,n]}function yn(e){return e===Math.floor(e)}function An(e,t){if(e===t)return 0;let r=typeof e,n=typeof t,o=["undefined","object","boolean","number","string"];return r!==n?o.indexOf(r)-o.indexOf(n):r!=="string"?Number(e)-Number(t):e.localeCompare(t)}function Bn(e){return(...t)=>{let r=e(...t);return typeof r=="string"?new Error(r):r}}function Mt(e){return e===void 0?{}:e}function $t(e){if(typeof e=="string")return{text:e};let{text:t,list:r}=e;return ho((t||r)!==void 0,"Unexpected `expected` result, there should be at least one field."),r?{text:t,list:{title:r.title,values:r.values.map($t)}}:{text:t}}function Vt(e,t){return e===!0?!0:e===!1?{value:t}:e}function Ut(e,t,r=!1){return e===!1?!1:e===!0?r?!0:[{value:t}]:"value"in e?[e]:e.length===0?!1:e}function mn(e,t){return typeof e=="string"||"key"in e?{from:t,to:e}:"from"in e?{from:e.from,to:e.to}:{from:t,to:e.to}}function pt(e,t){return e===void 0?[]:Array.isArray(e)?e.map(r=>mn(r,t)):[mn(e,t)]}function zt(e,t){let r=pt(typeof e=="object"&&"redirect"in e?e.redirect:e,t);return r.length===0?{remain:t,redirect:r}:typeof e=="object"&&"remain"in e?{remain:e.remain,redirect:r}:{redirect:r}}function ho(e,t){if(!e)throw new Error(t)}var dt=class extends O{constructor(t){super(t),this._choices=hn(t.choices.map(r=>r&&typeof r=="object"?r:{value:r}),"value")}expected({descriptor:t}){let r=Array.from(this._choices.keys()).map(i=>this._choices.get(i)).filter(({hidden:i})=>!i).map(i=>i.value).sort(An).map(t.value),n=r.slice(0,-2),o=r.slice(-2);return{text:n.concat(o.join(" or ")).join(", "),list:{title:"one of the following values",values:r}}}validate(t){return this._choices.has(t)}deprecated(t){let r=this._choices.get(t);return r&&r.deprecated?{value:t}:!1}forward(t){let r=this._choices.get(t);return r?r.forward:void 0}redirect(t){let r=this._choices.get(t);return r?r.redirect:void 0}};var Ft=class extends O{expected(){return"a number"}validate(t,r){return typeof t=="number"}};var mt=class extends Ft{expected(){return"an integer"}validate(t,r){return r.normalizeValidateResult(super.validate(t,r),t)===!0&&yn(t)}};var Re=class extends O{expected(){return"a string"}validate(t){return typeof t=="string"}};var wn=ie,xn=at,_n=cn,vn=an;var Et=class{constructor(t,r){let{logger:n=console,loggerPrintWidth:o=80,descriptor:u=wn,unknown:i=xn,invalid:s=_n,deprecated:a=vn,missing:D=()=>!1,required:l=()=>!1,preprocess:d=p=>p,postprocess:f=()=>he}=r||{};this._utils={descriptor:u,logger:n||{warn:()=>{}},loggerPrintWidth:o,schemas:En(t,"name"),normalizeDefaultResult:Mt,normalizeExpectedResult:$t,normalizeDeprecatedResult:Ut,normalizeForwardResult:pt,normalizeRedirectResult:zt,normalizeValidateResult:Vt},this._unknownHandler=i,this._invalidHandler=Bn(s),this._deprecatedHandler=a,this._identifyMissing=(p,c)=>!(p in c)||D(p,c),this._identifyRequired=l,this._preprocess=d,this._postprocess=f,this.cleanHistory()}cleanHistory(){this._hasDeprecationWarned=Cn()}normalize(t){let r={},o=[this._preprocess(t,this._utils)],u=()=>{for(;o.length!==0;){let i=o.shift(),s=this._applyNormalization(i,r);o.push(...s)}};u();for(let i of Object.keys(this._utils.schemas)){let s=this._utils.schemas[i];if(!(i in r)){let a=Mt(s.default(this._utils));"value"in a&&o.push({[i]:a.value})}}u();for(let i of Object.keys(this._utils.schemas)){if(!(i in r))continue;let s=this._utils.schemas[i],a=r[i],D=s.postprocess(a,this._utils);D!==he&&(this._applyValidation(D,i,s),r[i]=D)}return this._applyPostprocess(r),this._applyRequiredCheck(r),r}_applyNormalization(t,r){let n=[],{knownKeys:o,unknownKeys:u}=this._partitionOptionKeys(t);for(let i of o){let s=this._utils.schemas[i],a=s.preprocess(t[i],this._utils);this._applyValidation(a,i,s);let D=({from:p,to:c})=>{n.push(typeof c=="string"?{[c]:p}:{[c.key]:c.value})},l=({value:p,redirectTo:c})=>{let F=Ut(s.deprecated(p,this._utils),a,!0);if(F!==!1)if(F===!0)this._hasDeprecationWarned(i)||this._utils.logger.warn(this._deprecatedHandler(i,c,this._utils));else for(let{value:m}of F){let E={key:i,value:m};if(!this._hasDeprecationWarned(E)){let A=typeof c=="string"?{key:c,value:m}:c;this._utils.logger.warn(this._deprecatedHandler(E,A,this._utils))}}};pt(s.forward(a,this._utils),a).forEach(D);let f=zt(s.redirect(a,this._utils),a);if(f.redirect.forEach(D),"remain"in f){let p=f.remain;r[i]=i in r?s.overlap(r[i],p,this._utils):p,l({value:p})}for(let{from:p,to:c}of f.redirect)l({value:p,redirectTo:c})}for(let i of u){let s=t[i];this._applyUnknownHandler(i,s,r,(a,D)=>{n.push({[a]:D})})}return n}_applyRequiredCheck(t){for(let r of Object.keys(this._utils.schemas))if(this._identifyMissing(r,t)&&this._identifyRequired(r))throw this._invalidHandler(r,st,this._utils)}_partitionOptionKeys(t){let[r,n]=gn(Object.keys(t).filter(o=>!this._identifyMissing(o,t)),o=>o in this._utils.schemas);return{knownKeys:r,unknownKeys:n}}_applyValidation(t,r,n){let o=Vt(n.validate(t,this._utils),t);if(o!==!0)throw this._invalidHandler(r,o.value,this._utils)}_applyUnknownHandler(t,r,n,o){let u=this._unknownHandler(t,r,this._utils);if(u)for(let i of Object.keys(u)){if(this._identifyMissing(i,u))continue;let s=u[i];i in this._utils.schemas?o(i,s):n[i]=s}}_applyPostprocess(t){let r=this._postprocess(t,this._utils);if(r!==he){if(r.delete)for(let n of r.delete)delete t[n];if(r.override){let{knownKeys:n,unknownKeys:o}=this._partitionOptionKeys(r.override);for(let u of n){let i=r.override[u];this._applyValidation(i,u,this._utils.schemas[u]),t[u]=i}for(let u of o){let i=r.override[u];this._applyUnknownHandler(u,i,t,(s,a)=>{let D=this._utils.schemas[s];this._applyValidation(a,s,D),t[s]=a})}}}}};var Gt;function go(e,t,{logger:r=!1,isCLI:n=!1,passThrough:o=!1,FlagSchema:u,descriptor:i}={}){if(n){if(!u)throw new Error("'FlagSchema' option is required.");if(!i)throw new Error("'descriptor' option is required.")}else i=ie;let s=o?Array.isArray(o)?(f,p)=>o.includes(f)?{[f]:p}:void 0:(f,p)=>({[f]:p}):(f,p,c)=>{let{_:F,...m}=c.schemas;return at(f,p,{...c,schemas:m})},a=yo(t,{isCLI:n,FlagSchema:u}),D=new Et(a,{logger:r,unknown:s,descriptor:i}),l=r!==!1;l&&Gt&&(D._hasDeprecationWarned=Gt);let d=D.normalize(e);return l&&(Gt=D._hasDeprecationWarned),d}function yo(e,{isCLI:t,FlagSchema:r}){let n=[];t&&n.push(lt.create({name:"_"}));for(let o of e)n.push(Ao(o,{isCLI:t,optionInfos:e,FlagSchema:r})),o.alias&&t&&n.push(Dt.create({name:o.alias,sourceName:o.name}));return n}function Ao(e,{isCLI:t,optionInfos:r,FlagSchema:n}){let{name:o}=e,u={name:o},i,s={};switch(e.type){case"int":i=mt,t&&(u.preprocess=Number);break;case"string":i=Re;break;case"choice":i=dt,u.choices=e.choices.map(a=>a!=null&&a.redirect?{...a,redirect:{to:{key:e.name,value:a.redirect}}}:a);break;case"boolean":i=ft;break;case"flag":i=n,u.flags=r.flatMap(a=>[a.alias,a.description&&a.name,a.oppositeDescription&&`no-${a.name}`].filter(Boolean));break;case"path":i=Re;break;default:throw new Error(`Unexpected type ${e.type}`)}if(e.exception?u.validate=(a,D,l)=>e.exception(a)||D.validate(a,l):u.validate=(a,D,l)=>a===void 0||D.validate(a,l),e.redirect&&(s.redirect=a=>a?{to:typeof e.redirect=="string"?e.redirect:{key:e.redirect.option,value:e.redirect.value}}:void 0),e.deprecated&&(s.deprecated=!0),t&&!e.array){let a=u.preprocess||(D=>D);u.preprocess=(D,l,d)=>l.preprocess(a(Array.isArray(D)?y(!1,D,-1):D),d)}return e.array?ct.create({...t?{preprocess:a=>Array.isArray(a)?a:[a]}:{},...s,valueSchema:i.create(u)}):i.create({...u,...s})}var bn=go;var Bo=(e,t,r)=>{if(!(e&&t==null)){if(t.findLast)return t.findLast(r);for(let n=t.length-1;n>=0;n--){let o=t[n];if(r(o,n,t))return o}}},Kt=Bo;function qt(e,t){if(!t)throw new Error("parserName is required.");let r=Kt(!1,e,o=>o.parsers&&Object.prototype.hasOwnProperty.call(o.parsers,t));if(r)return r;let n=`Couldn't resolve parser "${t}".`;throw n+=" Plugins must be explicitly added to the standalone bundle.",new Pe(n)}function On(e,t){if(!t)throw new Error("astFormat is required.");let r=Kt(!1,e,o=>o.printers&&Object.prototype.hasOwnProperty.call(o.printers,t));if(r)return r;let n=`Couldn't find plugin for AST format "${t}".`;throw n+=" Plugins must be explicitly added to the standalone bundle.",new Pe(n)}function ht({plugins:e,parser:t}){let r=qt(e,t);return Jt(r,t)}function Jt(e,t){let r=e.parsers[t];return typeof r=="function"?r():r}function Sn(e,t){let r=e.printers[t];return typeof r=="function"?r():r}var Nn={astFormat:"estree",printer:{},originalText:void 0,locStart:null,locEnd:null};async function wo(e,t={}){var d;let r={...e};if(!r.parser)if(r.filepath){if(r.parser=un(r,{physicalFile:r.filepath}),!r.parser)throw new Ie(`No parser could be inferred for file "${r.filepath}".`)}else throw new Ie("No parser and no file path given, couldn't infer a parser.");let n=ot({plugins:e.plugins,showDeprecated:!0}).options,o={...Nn,...Object.fromEntries(n.filter(f=>f.default!==void 0).map(f=>[f.name,f.default]))},u=qt(r.plugins,r.parser),i=await Jt(u,r.parser);r.astFormat=i.astFormat,r.locEnd=i.locEnd,r.locStart=i.locStart;let s=(d=u.printers)!=null&&d[i.astFormat]?u:On(r.plugins,i.astFormat),a=await Sn(s,i.astFormat);r.printer=a;let D=s.defaultOptions?Object.fromEntries(Object.entries(s.defaultOptions).filter(([,f])=>f!==void 0)):{},l={...o,...D};for(let[f,p]of Object.entries(l))(r[f]===null||r[f]===void 0)&&(r[f]=p);return r.parser==="json"&&(r.trailingComma="none"),bn(r,n,{passThrough:Object.keys(Nn),...t})}var se=wo;var Vn=Me($n(),1);async function ko(e,t){let r=await ht(t),n=r.preprocess?r.preprocess(e,t):e;t.originalText=n;let o;try{o=await r.parse(n,t,t)}catch(u){Lo(u,e)}return{text:n,ast:o}}function Lo(e,t){let{loc:r}=e;if(r){let n=(0,Vn.codeFrameColumns)(t,r,{highlightCode:!0});throw e.message+=` +`+n,e.codeFrame=n,e}throw e}var ce=ko;async function Un(e,t,r,n,o){let{embeddedLanguageFormatting:u,printer:{embed:i,hasPrettierIgnore:s=()=>!1,getVisitorKeys:a}}=r;if(!i||u!=="auto")return;if(i.length>2)throw new Error("printer.embed has too many parameters. The API changed in Prettier v3. Please update your plugin. See https://prettier.io/docs/en/plugins.html#optional-embed");let D=X(i.getVisitorKeys??a),l=[];p();let d=e.stack;for(let{print:c,node:F,pathStack:m}of l)try{e.stack=m;let E=await c(f,t,e,r);E&&o.set(F,E)}catch(E){if(globalThis.PRETTIER_DEBUG)throw E}e.stack=d;function f(c,F){return Po(c,F,r,n)}function p(){let{node:c}=e;if(c===null||typeof c!="object"||s(e))return;for(let m of D(c))Array.isArray(c[m])?e.each(p,m):e.call(p,m);let F=i(e,r);if(F){if(typeof F=="function"){l.push({print:F,node:c,pathStack:[...e.stack]});return}o.set(c,F)}}}async function Po(e,t,r,n){let o=await se({...r,...t,parentParser:r.parser,originalText:e},{passThrough:!0}),{ast:u}=await ce(e,o),i=await n(u,o);return Ze(i)}function Io(e,t){let{originalText:r,[Symbol.for("comments")]:n,locStart:o,locEnd:u,[Symbol.for("printedComments")]:i}=t,{node:s}=e,a=o(s),D=u(s);for(let l of n)o(l)>=a&&u(l)<=D&&i.add(l);return r.slice(a,D)}var zn=Io;async function Ye(e,t){({ast:e}=await Qt(e,t));let r=new Map,n=new Mr(e),o=tn(t),u=new Map;await Un(n,s,t,Ye,u);let i=await Gn(n,t,s,void 0,u);return en(t),i;function s(D,l){return D===void 0||D===n?a(l):Array.isArray(D)?n.call(()=>a(l),...D):n.call(()=>a(l),D)}function a(D){o(n);let l=n.node;if(l==null)return"";let d=l&&typeof l=="object"&&D===void 0;if(d&&r.has(l))return r.get(l);let f=Gn(n,t,s,D,u);return d&&r.set(l,f),f}}function Gn(e,t,r,n,o){var a;let{node:u}=e,{printer:i}=t,s;return(a=i.hasPrettierIgnore)!=null&&a.call(i,e)?s=zn(e,t):o.has(u)?s=o.get(u):s=i.print(e,t,r,n),u===t.cursorNode&&(s=Qe(s,D=>[ve,D,ve])),i.printComment&&(!i.willPrintOwnComments||!i.willPrintOwnComments(e,t))&&(s=Qr(e,s,t)),s}async function Qt(e,t){let r=e.comments??[];t[Symbol.for("comments")]=r,t[Symbol.for("tokens")]=e.tokens??[],t[Symbol.for("printedComments")]=new Set,Jr(e,t);let{printer:{preprocess:n}}=t;return e=n?await n(e,t):e,{ast:e,comments:r}}function Ro(e,t){let{cursorOffset:r,locStart:n,locEnd:o}=t,u=X(t.printer.getVisitorKeys),i=a=>n(a)<=r&&o(a)>=r,s=e;for(let a of Ur(e,{getVisitorKeys:u,filter:i}))s=a;return s}var Kn=Ro;function Yo(e,t){let{printer:{massageAstNode:r,getVisitorKeys:n}}=t;if(!r)return e;let o=X(n),u=r.ignoredProperties??new Set;return i(e);function i(s,a){if(!(s!==null&&typeof s=="object"))return s;if(Array.isArray(s))return s.map(f=>i(f,a)).filter(Boolean);let D={},l=new Set(o(s));for(let f in s)!Object.prototype.hasOwnProperty.call(s,f)||u.has(f)||(l.has(f)?D[f]=i(s[f],s):D[f]=s[f]);let d=r(s,D,a);if(d!==null)return d??D}}var qn=Yo;var jo=(e,t,r)=>{if(!(e&&t==null)){if(t.findLastIndex)return t.findLastIndex(r);for(let n=t.length-1;n>=0;n--){let o=t[n];if(r(o,n,t))return n}return-1}},Jn=jo;var Ho=({parser:e})=>e==="json"||e==="json5"||e==="jsonc"||e==="json-stringify";function Wo(e,t){let r=[e.node,...e.parentNodes],n=new Set([t.node,...t.parentNodes]);return r.find(o=>Qn.has(o.type)&&n.has(o))}function Xn(e){let t=Jn(!1,e,r=>r.type!=="Program"&&r.type!=="File");return t===-1?e:e.slice(0,t+1)}function Mo(e,t,{locStart:r,locEnd:n}){let o=e.node,u=t.node;if(o===u)return{startNode:o,endNode:u};let i=r(e.node);for(let a of Xn(t.parentNodes))if(r(a)>=i)u=a;else break;let s=n(t.node);for(let a of Xn(e.parentNodes)){if(n(a)<=s)o=a;else break;if(o===u)break}return{startNode:o,endNode:u}}function er(e,t,r,n,o=[],u){let{locStart:i,locEnd:s}=r,a=i(e),D=s(e);if(!(t>D||tn);let s=e.slice(n,o).search(/\S/u),a=s===-1;if(!a)for(n+=s;o>n&&!/\S/u.test(e[o-1]);--o);let D=er(r,n,t,(p,c)=>Zn(t,p,c),[],"rangeStart"),l=a?D:er(r,o,t,p=>Zn(t,p),[],"rangeEnd");if(!D||!l)return{rangeStart:0,rangeEnd:0};let d,f;if(Ho(t)){let p=Wo(D,l);d=p,f=p}else({startNode:d,endNode:f}=Mo(D,l,t));return{rangeStart:Math.min(u(d),u(f)),rangeEnd:Math.max(i(d),i(f))}}var uu="\uFEFF",tu=Symbol("cursor");async function ou(e,t,r=0){if(!e||e.trim().length===0)return{formatted:"",cursorOffset:-1,comments:[]};let{ast:n,text:o}=await ce(e,t);t.cursorOffset>=0&&(t.cursorNode=Kn(n,t));let u=await Ye(n,t,r);r>0&&(u=Je([q,u],r,t.tabWidth));let i=Fe(u,t);if(r>0){let a=i.formatted.trim();i.cursorNodeStart!==void 0&&(i.cursorNodeStart-=i.formatted.indexOf(a)),i.formatted=a+Be(t.endOfLine)}let s=t[Symbol.for("comments")];if(t.cursorOffset>=0){let a,D,l,d,f;if(t.cursorNode&&i.cursorNodeText?(a=t.locStart(t.cursorNode),D=o.slice(a,t.locEnd(t.cursorNode)),l=t.cursorOffset-a,d=i.cursorNodeStart,f=i.cursorNodeText):(a=0,D=o,l=t.cursorOffset,d=0,f=i.formatted),D===f)return{formatted:i.formatted,cursorOffset:d+l,comments:s};let p=D.split("");p.splice(l,0,tu);let c=f.split(""),F=dr(p,c),m=d;for(let E of F)if(E.removed){if(E.value.includes(tu))break}else m+=E.count;return{formatted:i.formatted,cursorOffset:m,comments:s}}return{formatted:i.formatted,cursorOffset:-1,comments:s}}async function Uo(e,t){let{ast:r,text:n}=await ce(e,t),{rangeStart:o,rangeEnd:u}=eu(n,t,r),i=n.slice(o,u),s=Math.min(o,n.lastIndexOf(` +`,o)+1),a=n.slice(s,o).match(/^\s*/u)[0],D=me(a,t.tabWidth),l=await ou(i,{...t,rangeStart:0,rangeEnd:Number.POSITIVE_INFINITY,cursorOffset:t.cursorOffset>o&&t.cursorOffset<=u?t.cursorOffset-o:-1,endOfLine:"lf"},D),d=l.formatted.trimEnd(),{cursorOffset:f}=t;f>u?f+=d.length-i.length:l.cursorOffset>=0&&(f=l.cursorOffset+o);let p=n.slice(0,o)+d+n.slice(u);if(t.endOfLine!=="lf"){let c=Be(t.endOfLine);f>=0&&c===`\r +`&&(f+=wt(p.slice(0,f),` +`)),p=ne(!1,p,` +`,c)}return{formatted:p,cursorOffset:f,comments:l.comments}}function tr(e,t,r){return typeof t!="number"||Number.isNaN(t)||t<0||t>e.length?r:t}function ru(e,t){let{cursorOffset:r,rangeStart:n,rangeEnd:o}=t;return r=tr(e,r,-1),n=tr(e,n,0),o=tr(e,o,e.length),{...t,cursorOffset:r,rangeStart:n,rangeEnd:o}}function iu(e,t){let{cursorOffset:r,rangeStart:n,rangeEnd:o,endOfLine:u}=ru(e,t),i=e.charAt(0)===uu;if(i&&(e=e.slice(1),r--,n--,o--),u==="auto"&&(u=Fr(e)),e.includes("\r")){let s=a=>wt(e.slice(0,Math.max(a,0)),`\r +`);r-=s(r),n-=s(n),o-=s(o),e=mr(e)}return{hasBOM:i,text:e,options:ru(e,{...t,cursorOffset:r,rangeStart:n,rangeEnd:o,endOfLine:u})}}async function nu(e,t){let r=await ht(t);return!r.hasPragma||r.hasPragma(e)}async function rr(e,t){let{hasBOM:r,text:n,options:o}=iu(e,await se(t));if(o.rangeStart>=o.rangeEnd&&n!==""||o.requirePragma&&!await nu(n,o))return{formatted:e,cursorOffset:t.cursorOffset,comments:[]};let u;return o.rangeStart>0||o.rangeEnd=0&&u.cursorOffset++),u}async function su(e,t,r){let{text:n,options:o}=iu(e,await se(t)),u=await ce(n,o);return r&&(r.preprocessForPrint&&(u.ast=await Qt(u.ast,o)),r.massage&&(u.ast=qn(u.ast,o))),u}async function au(e,t){t=await se(t);let r=await Ye(e,t);return Fe(r,t)}async function Du(e,t){let r=Or(e),{formatted:n}=await rr(r,{...t,parser:"__js_expression"});return n}async function lu(e,t){t=await se(t);let{ast:r}=await ce(e,t);return Ye(r,t)}async function cu(e,t){return Fe(e,await se(t))}var nr={};We(nr,{builders:()=>Go,printer:()=>Ko,utils:()=>qo});var Go={join:be,line:Ke,softline:vr,hardline:q,literalline:qe,group:_t,conditionalGroup:Ar,fill:Ge,lineSuffix:xe,lineSuffixBoundary:xr,cursor:ve,breakParent:de,ifBreak:Br,trim:_r,indent:De,indentIfBreak:wr,align:ae,addAlignmentToDoc:Je,markAsRoot:gr,dedentToRoot:Cr,dedent:yr,hardlineWithoutBreakParent:_e,literallineWithoutBreakParent:vt,label:br,concat:e=>e},Ko={printDocToString:Fe},qo={willBreak:Ir,traverseDoc:we,findInDoc:Xe,mapDoc:Ne,removeLines:Yr,stripTrailingHardline:Ze,replaceEndOfLine:jr,canBreak:Hr};var fu="3.3.3";var or={};We(or,{addDanglingComment:()=>re,addLeadingComment:()=>ue,addTrailingComment:()=>oe,getAlignmentSize:()=>me,getIndentSize:()=>pu,getMaxContinuousCount:()=>du,getNextNonSpaceNonCommentCharacter:()=>Fu,getNextNonSpaceNonCommentCharacterIndex:()=>si,getStringWidth:()=>Oe,hasNewline:()=>V,hasNewlineInRange:()=>mu,hasSpaces:()=>Eu,isNextLineEmpty:()=>ci,isNextLineEmptyAfterIndex:()=>gt,isPreviousLineEmpty:()=>Di,makeString:()=>hu,skip:()=>Ee,skipEverythingButNewLine:()=>nt,skipInlineComment:()=>Ce,skipNewline:()=>M,skipSpaces:()=>T,skipToLineEnd:()=>rt,skipTrailingComment:()=>ge,skipWhitespace:()=>zr});function Jo(e,t){if(t===!1)return!1;if(e.charAt(t)==="/"&&e.charAt(t+1)==="*"){for(let r=t+2;rMath.max(n,o.length/t.length),0)}var du=ti;function ri(e,t){let r=je(e,t);return r===!1?"":e.charAt(r)}var Fu=ri;function ni(e,t,r){for(let n=t;ns===n?s:a===t?"\\"+a:a||(r&&/^[^\n\r"'0-7\\bfnrt-vx\u2028\u2029]$/u.test(s)?s:"\\"+s));return t+u+t}var hu=oi;function ii(e,t,r){return je(e,r(t))}function si(e,t){return arguments.length===2||typeof t=="number"?je(e,t):ii(...arguments)}function ai(e,t,r){return Le(e,r(t))}function Di(e,t){return arguments.length===2||typeof t=="number"?Le(e,t):ai(...arguments)}function li(e,t,r){return gt(e,r(t))}function ci(e,t){return arguments.length===2||typeof t=="number"?gt(e,t):li(...arguments)}function fe(e,t=1){return async(...r)=>{let n=r[t]??{},o=n.plugins??[];return r[t]={...n,plugins:Array.isArray(o)?o:Object.values(o)},e(...r)}}var Cu=fe(rr);async function gu(e,t){let{formatted:r}=await Cu(e,{...t,cursorOffset:-1});return r}async function fi(e,t){return await gu(e,t)===e}var pi=fe(ot,0),di={parse:fe(su),formatAST:fe(au),formatDoc:fe(Du),printToDoc:fe(lu),printDocToString:fe(cu)};var fc=ir;export{di as __debug,fi as check,fc as default,nr as doc,gu as format,Cu as formatWithCursor,pi as getSupportInfo,or as util,fu as version}; diff --git a/node_modules/run-applescript/index.d.ts b/node_modules/run-applescript/index.d.ts deleted file mode 100644 index 023383c671..0000000000 --- a/node_modules/run-applescript/index.d.ts +++ /dev/null @@ -1,35 +0,0 @@ -/** -Run AppleScript asynchronously. - -@param script - The script to run. -@returns The script result. - -@example -``` -import {runAppleScriptAsync} from 'run-applescript'; - -const result = await runAppleScriptAsync('return "unicorn"'); - -console.log(result); -//=> 'unicorn' -``` -*/ -export function runAppleScriptAsync(script: string): Promise; - -/** -Run AppleScript synchronously. - -@param script - The script to run. -@returns The script result. - -@example -``` -import {runAppleScriptSync} from 'run-applescript'; - -const result = runAppleScriptSync('return "unicorn"'); - -console.log(result); -//=> 'unicorn' -``` -*/ -export function runAppleScriptSync(script: string): string; diff --git a/node_modules/run-applescript/index.js b/node_modules/run-applescript/index.js deleted file mode 100644 index edd499d5ca..0000000000 --- a/node_modules/run-applescript/index.js +++ /dev/null @@ -1,19 +0,0 @@ -import execa from 'execa'; - -export async function runAppleScriptAsync(script) { - if (process.platform !== 'darwin') { - throw new Error('macOS only'); - } - - const {stdout} = await execa('osascript', ['-e', script]); - return stdout; -} - -export function runAppleScriptSync(script) { - if (process.platform !== 'darwin') { - throw new Error('macOS only'); - } - - const {stdout} = execa.sync('osascript', ['-e', script]); - return stdout; -} diff --git a/node_modules/run-applescript/license b/node_modules/run-applescript/license deleted file mode 100644 index fa7ceba3eb..0000000000 --- a/node_modules/run-applescript/license +++ /dev/null @@ -1,9 +0,0 @@ -MIT License - -Copyright (c) Sindre Sorhus (https://sindresorhus.com) - -Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/node_modules/run-applescript/node_modules/execa/index.d.ts b/node_modules/run-applescript/node_modules/execa/index.d.ts deleted file mode 100644 index 417d535575..0000000000 --- a/node_modules/run-applescript/node_modules/execa/index.d.ts +++ /dev/null @@ -1,564 +0,0 @@ -/// -import {ChildProcess} from 'child_process'; -import {Stream, Readable as ReadableStream} from 'stream'; - -declare namespace execa { - type StdioOption = - | 'pipe' - | 'ipc' - | 'ignore' - | 'inherit' - | Stream - | number - | undefined; - - interface CommonOptions { - /** - Kill the spawned process when the parent process exits unless either: - - the spawned process is [`detached`](https://nodejs.org/api/child_process.html#child_process_options_detached) - - the parent process is terminated abruptly, for example, with `SIGKILL` as opposed to `SIGTERM` or a normal exit - - @default true - */ - readonly cleanup?: boolean; - - /** - Prefer locally installed binaries when looking for a binary to execute. - - If you `$ npm install foo`, you can then `execa('foo')`. - - @default false - */ - readonly preferLocal?: boolean; - - /** - Preferred path to find locally installed binaries in (use with `preferLocal`). - - @default process.cwd() - */ - readonly localDir?: string; - - /** - Path to the Node.js executable to use in child processes. - - This can be either an absolute path or a path relative to the `cwd` option. - - Requires `preferLocal` to be `true`. - - For example, this can be used together with [`get-node`](https://github.com/ehmicky/get-node) to run a specific Node.js version in a child process. - - @default process.execPath - */ - readonly execPath?: string; - - /** - Buffer the output from the spawned process. When set to `false`, you must read the output of `stdout` and `stderr` (or `all` if the `all` option is `true`). Otherwise the returned promise will not be resolved/rejected. - - If the spawned process fails, `error.stdout`, `error.stderr`, and `error.all` will contain the buffered data. - - @default true - */ - readonly buffer?: boolean; - - /** - Same options as [`stdio`](https://nodejs.org/dist/latest-v6.x/docs/api/child_process.html#child_process_options_stdio). - - @default 'pipe' - */ - readonly stdin?: StdioOption; - - /** - Same options as [`stdio`](https://nodejs.org/dist/latest-v6.x/docs/api/child_process.html#child_process_options_stdio). - - @default 'pipe' - */ - readonly stdout?: StdioOption; - - /** - Same options as [`stdio`](https://nodejs.org/dist/latest-v6.x/docs/api/child_process.html#child_process_options_stdio). - - @default 'pipe' - */ - readonly stderr?: StdioOption; - - /** - Setting this to `false` resolves the promise with the error instead of rejecting it. - - @default true - */ - readonly reject?: boolean; - - /** - Add an `.all` property on the promise and the resolved value. The property contains the output of the process with `stdout` and `stderr` interleaved. - - @default false - */ - readonly all?: boolean; - - /** - Strip the final [newline character](https://en.wikipedia.org/wiki/Newline) from the output. - - @default true - */ - readonly stripFinalNewline?: boolean; - - /** - Set to `false` if you don't want to extend the environment variables when providing the `env` property. - - @default true - */ - readonly extendEnv?: boolean; - - /** - Current working directory of the child process. - - @default process.cwd() - */ - readonly cwd?: string; - - /** - Environment key-value pairs. Extends automatically from `process.env`. Set `extendEnv` to `false` if you don't want this. - - @default process.env - */ - readonly env?: NodeJS.ProcessEnv; - - /** - Explicitly set the value of `argv[0]` sent to the child process. This will be set to `command` or `file` if not specified. - */ - readonly argv0?: string; - - /** - Child's [stdio](https://nodejs.org/api/child_process.html#child_process_options_stdio) configuration. - - @default 'pipe' - */ - readonly stdio?: 'pipe' | 'ignore' | 'inherit' | readonly StdioOption[]; - - /** - Specify the kind of serialization used for sending messages between processes when using the `stdio: 'ipc'` option or `execa.node()`: - - `json`: Uses `JSON.stringify()` and `JSON.parse()`. - - `advanced`: Uses [`v8.serialize()`](https://nodejs.org/api/v8.html#v8_v8_serialize_value) - - Requires Node.js `13.2.0` or later. - - [More info.](https://nodejs.org/api/child_process.html#child_process_advanced_serialization) - - @default 'json' - */ - readonly serialization?: 'json' | 'advanced'; - - /** - Prepare child to run independently of its parent process. Specific behavior [depends on the platform](https://nodejs.org/api/child_process.html#child_process_options_detached). - - @default false - */ - readonly detached?: boolean; - - /** - Sets the user identity of the process. - */ - readonly uid?: number; - - /** - Sets the group identity of the process. - */ - readonly gid?: number; - - /** - If `true`, runs `command` inside of a shell. Uses `/bin/sh` on UNIX and `cmd.exe` on Windows. A different shell can be specified as a string. The shell should understand the `-c` switch on UNIX or `/d /s /c` on Windows. - - We recommend against using this option since it is: - - not cross-platform, encouraging shell-specific syntax. - - slower, because of the additional shell interpretation. - - unsafe, potentially allowing command injection. - - @default false - */ - readonly shell?: boolean | string; - - /** - Specify the character encoding used to decode the `stdout` and `stderr` output. If set to `null`, then `stdout` and `stderr` will be a `Buffer` instead of a string. - - @default 'utf8' - */ - readonly encoding?: EncodingType; - - /** - If `timeout` is greater than `0`, the parent will send the signal identified by the `killSignal` property (the default is `SIGTERM`) if the child runs longer than `timeout` milliseconds. - - @default 0 - */ - readonly timeout?: number; - - /** - Largest amount of data in bytes allowed on `stdout` or `stderr`. Default: 100 MB. - - @default 100_000_000 - */ - readonly maxBuffer?: number; - - /** - Signal value to be used when the spawned process will be killed. - - @default 'SIGTERM' - */ - readonly killSignal?: string | number; - - /** - If `true`, no quoting or escaping of arguments is done on Windows. Ignored on other platforms. This is set to `true` automatically when the `shell` option is `true`. - - @default false - */ - readonly windowsVerbatimArguments?: boolean; - - /** - On Windows, do not create a new console window. Please note this also prevents `CTRL-C` [from working](https://github.com/nodejs/node/issues/29837) on Windows. - - @default true - */ - readonly windowsHide?: boolean; - } - - interface Options extends CommonOptions { - /** - Write some input to the `stdin` of your binary. - */ - readonly input?: string | Buffer | ReadableStream; - } - - interface SyncOptions extends CommonOptions { - /** - Write some input to the `stdin` of your binary. - */ - readonly input?: string | Buffer; - } - - interface NodeOptions extends Options { - /** - The Node.js executable to use. - - @default process.execPath - */ - readonly nodePath?: string; - - /** - List of [CLI options](https://nodejs.org/api/cli.html#cli_options) passed to the Node.js executable. - - @default process.execArgv - */ - readonly nodeOptions?: string[]; - } - - interface ExecaReturnBase { - /** - The file and arguments that were run, for logging purposes. - - This is not escaped and should not be executed directly as a process, including using `execa()` or `execa.command()`. - */ - command: string; - - /** - Same as `command` but escaped. - - This is meant to be copy and pasted into a shell, for debugging purposes. - Since the escaping is fairly basic, this should not be executed directly as a process, including using `execa()` or `execa.command()`. - */ - escapedCommand: string; - - /** - The numeric exit code of the process that was run. - */ - exitCode: number; - - /** - The output of the process on stdout. - */ - stdout: StdoutStderrType; - - /** - The output of the process on stderr. - */ - stderr: StdoutStderrType; - - /** - Whether the process failed to run. - */ - failed: boolean; - - /** - Whether the process timed out. - */ - timedOut: boolean; - - /** - Whether the process was killed. - */ - killed: boolean; - - /** - The name of the signal that was used to terminate the process. For example, `SIGFPE`. - - If a signal terminated the process, this property is defined and included in the error message. Otherwise it is `undefined`. - */ - signal?: string; - - /** - A human-friendly description of the signal that was used to terminate the process. For example, `Floating point arithmetic error`. - - If a signal terminated the process, this property is defined and included in the error message. Otherwise it is `undefined`. It is also `undefined` when the signal is very uncommon which should seldomly happen. - */ - signalDescription?: string; - } - - interface ExecaSyncReturnValue - extends ExecaReturnBase { - } - - /** - Result of a child process execution. On success this is a plain object. On failure this is also an `Error` instance. - - The child process fails when: - - its exit code is not `0` - - it was killed with a signal - - timing out - - being canceled - - there's not enough memory or there are already too many child processes - */ - interface ExecaReturnValue - extends ExecaSyncReturnValue { - /** - The output of the process with `stdout` and `stderr` interleaved. - - This is `undefined` if either: - - the `all` option is `false` (default value) - - `execa.sync()` was used - */ - all?: StdoutErrorType; - - /** - Whether the process was canceled. - */ - isCanceled: boolean; - } - - interface ExecaSyncError - extends Error, - ExecaReturnBase { - /** - Error message when the child process failed to run. In addition to the underlying error message, it also contains some information related to why the child process errored. - - The child process stderr then stdout are appended to the end, separated with newlines and not interleaved. - */ - message: string; - - /** - This is the same as the `message` property except it does not include the child process stdout/stderr. - */ - shortMessage: string; - - /** - Original error message. This is the same as the `message` property except it includes neither the child process stdout/stderr nor some additional information added by Execa. - - This is `undefined` unless the child process exited due to an `error` event or a timeout. - */ - originalMessage?: string; - } - - interface ExecaError - extends ExecaSyncError { - /** - The output of the process with `stdout` and `stderr` interleaved. - - This is `undefined` if either: - - the `all` option is `false` (default value) - - `execa.sync()` was used - */ - all?: StdoutErrorType; - - /** - Whether the process was canceled. - */ - isCanceled: boolean; - } - - interface KillOptions { - /** - Milliseconds to wait for the child process to terminate before sending `SIGKILL`. - - Can be disabled with `false`. - - @default 5000 - */ - forceKillAfterTimeout?: number | false; - } - - interface ExecaChildPromise { - /** - Stream combining/interleaving [`stdout`](https://nodejs.org/api/child_process.html#child_process_subprocess_stdout) and [`stderr`](https://nodejs.org/api/child_process.html#child_process_subprocess_stderr). - - This is `undefined` if either: - - the `all` option is `false` (the default value) - - both `stdout` and `stderr` options are set to [`'inherit'`, `'ipc'`, `Stream` or `integer`](https://nodejs.org/dist/latest-v6.x/docs/api/child_process.html#child_process_options_stdio) - */ - all?: ReadableStream; - - catch( - onRejected?: (reason: ExecaError) => ResultType | PromiseLike - ): Promise | ResultType>; - - /** - Same as the original [`child_process#kill()`](https://nodejs.org/api/child_process.html#child_process_subprocess_kill_signal), except if `signal` is `SIGTERM` (the default value) and the child process is not terminated after 5 seconds, force it by sending `SIGKILL`. - */ - kill(signal?: string, options?: KillOptions): void; - - /** - Similar to [`childProcess.kill()`](https://nodejs.org/api/child_process.html#child_process_subprocess_kill_signal). This is preferred when cancelling the child process execution as the error is more descriptive and [`childProcessResult.isCanceled`](#iscanceled) is set to `true`. - */ - cancel(): void; - } - - type ExecaChildProcess = ChildProcess & - ExecaChildPromise & - Promise>; -} - -declare const execa: { - /** - Execute a file. - - Think of this as a mix of `child_process.execFile` and `child_process.spawn`. - - @param file - The program/script to execute. - @param arguments - Arguments to pass to `file` on execution. - @returns A [`child_process` instance](https://nodejs.org/api/child_process.html#child_process_class_childprocess), which is enhanced to also be a `Promise` for a result `Object` with `stdout` and `stderr` properties. - - @example - ``` - import execa = require('execa'); - - (async () => { - const {stdout} = await execa('echo', ['unicorns']); - console.log(stdout); - //=> 'unicorns' - - // Cancelling a spawned process - - const subprocess = execa('node'); - - setTimeout(() => { - subprocess.cancel() - }, 1000); - - try { - await subprocess; - } catch (error) { - console.log(subprocess.killed); // true - console.log(error.isCanceled); // true - } - })(); - - // Pipe the child process stdout to the current stdout - execa('echo', ['unicorns']).stdout.pipe(process.stdout); - ``` - */ - ( - file: string, - arguments?: readonly string[], - options?: execa.Options - ): execa.ExecaChildProcess; - ( - file: string, - arguments?: readonly string[], - options?: execa.Options - ): execa.ExecaChildProcess; - (file: string, options?: execa.Options): execa.ExecaChildProcess; - (file: string, options?: execa.Options): execa.ExecaChildProcess< - Buffer - >; - - /** - Execute a file synchronously. - - This method throws an `Error` if the command fails. - - @param file - The program/script to execute. - @param arguments - Arguments to pass to `file` on execution. - @returns A result `Object` with `stdout` and `stderr` properties. - */ - sync( - file: string, - arguments?: readonly string[], - options?: execa.SyncOptions - ): execa.ExecaSyncReturnValue; - sync( - file: string, - arguments?: readonly string[], - options?: execa.SyncOptions - ): execa.ExecaSyncReturnValue; - sync(file: string, options?: execa.SyncOptions): execa.ExecaSyncReturnValue; - sync( - file: string, - options?: execa.SyncOptions - ): execa.ExecaSyncReturnValue; - - /** - Same as `execa()` except both file and arguments are specified in a single `command` string. For example, `execa('echo', ['unicorns'])` is the same as `execa.command('echo unicorns')`. - - If the file or an argument contains spaces, they must be escaped with backslashes. This matters especially if `command` is not a constant but a variable, for example with `__dirname` or `process.cwd()`. Except for spaces, no escaping/quoting is needed. - - The `shell` option must be used if the `command` uses shell-specific features (for example, `&&` or `||`), as opposed to being a simple `file` followed by its `arguments`. - - @param command - The program/script to execute and its arguments. - @returns A [`child_process` instance](https://nodejs.org/api/child_process.html#child_process_class_childprocess), which is enhanced to also be a `Promise` for a result `Object` with `stdout` and `stderr` properties. - - @example - ``` - import execa = require('execa'); - - (async () => { - const {stdout} = await execa.command('echo unicorns'); - console.log(stdout); - //=> 'unicorns' - })(); - ``` - */ - command(command: string, options?: execa.Options): execa.ExecaChildProcess; - command(command: string, options?: execa.Options): execa.ExecaChildProcess; - - /** - Same as `execa.command()` but synchronous. - - @param command - The program/script to execute and its arguments. - @returns A result `Object` with `stdout` and `stderr` properties. - */ - commandSync(command: string, options?: execa.SyncOptions): execa.ExecaSyncReturnValue; - commandSync(command: string, options?: execa.SyncOptions): execa.ExecaSyncReturnValue; - - /** - Execute a Node.js script as a child process. - - Same as `execa('node', [scriptPath, ...arguments], options)` except (like [`child_process#fork()`](https://nodejs.org/api/child_process.html#child_process_child_process_fork_modulepath_args_options)): - - the current Node version and options are used. This can be overridden using the `nodePath` and `nodeArguments` options. - - the `shell` option cannot be used - - an extra channel [`ipc`](https://nodejs.org/api/child_process.html#child_process_options_stdio) is passed to [`stdio`](#stdio) - - @param scriptPath - Node.js script to execute. - @param arguments - Arguments to pass to `scriptPath` on execution. - @returns A [`child_process` instance](https://nodejs.org/api/child_process.html#child_process_class_childprocess), which is enhanced to also be a `Promise` for a result `Object` with `stdout` and `stderr` properties. - */ - node( - scriptPath: string, - arguments?: readonly string[], - options?: execa.NodeOptions - ): execa.ExecaChildProcess; - node( - scriptPath: string, - arguments?: readonly string[], - options?: execa.Options - ): execa.ExecaChildProcess; - node(scriptPath: string, options?: execa.Options): execa.ExecaChildProcess; - node(scriptPath: string, options?: execa.Options): execa.ExecaChildProcess; -}; - -export = execa; diff --git a/node_modules/run-applescript/node_modules/execa/index.js b/node_modules/run-applescript/node_modules/execa/index.js deleted file mode 100644 index 6fc9f12954..0000000000 --- a/node_modules/run-applescript/node_modules/execa/index.js +++ /dev/null @@ -1,268 +0,0 @@ -'use strict'; -const path = require('path'); -const childProcess = require('child_process'); -const crossSpawn = require('cross-spawn'); -const stripFinalNewline = require('strip-final-newline'); -const npmRunPath = require('npm-run-path'); -const onetime = require('onetime'); -const makeError = require('./lib/error'); -const normalizeStdio = require('./lib/stdio'); -const {spawnedKill, spawnedCancel, setupTimeout, validateTimeout, setExitHandler} = require('./lib/kill'); -const {handleInput, getSpawnedResult, makeAllStream, validateInputSync} = require('./lib/stream'); -const {mergePromise, getSpawnedPromise} = require('./lib/promise'); -const {joinCommand, parseCommand, getEscapedCommand} = require('./lib/command'); - -const DEFAULT_MAX_BUFFER = 1000 * 1000 * 100; - -const getEnv = ({env: envOption, extendEnv, preferLocal, localDir, execPath}) => { - const env = extendEnv ? {...process.env, ...envOption} : envOption; - - if (preferLocal) { - return npmRunPath.env({env, cwd: localDir, execPath}); - } - - return env; -}; - -const handleArguments = (file, args, options = {}) => { - const parsed = crossSpawn._parse(file, args, options); - file = parsed.command; - args = parsed.args; - options = parsed.options; - - options = { - maxBuffer: DEFAULT_MAX_BUFFER, - buffer: true, - stripFinalNewline: true, - extendEnv: true, - preferLocal: false, - localDir: options.cwd || process.cwd(), - execPath: process.execPath, - encoding: 'utf8', - reject: true, - cleanup: true, - all: false, - windowsHide: true, - ...options - }; - - options.env = getEnv(options); - - options.stdio = normalizeStdio(options); - - if (process.platform === 'win32' && path.basename(file, '.exe') === 'cmd') { - // #116 - args.unshift('/q'); - } - - return {file, args, options, parsed}; -}; - -const handleOutput = (options, value, error) => { - if (typeof value !== 'string' && !Buffer.isBuffer(value)) { - // When `execa.sync()` errors, we normalize it to '' to mimic `execa()` - return error === undefined ? undefined : ''; - } - - if (options.stripFinalNewline) { - return stripFinalNewline(value); - } - - return value; -}; - -const execa = (file, args, options) => { - const parsed = handleArguments(file, args, options); - const command = joinCommand(file, args); - const escapedCommand = getEscapedCommand(file, args); - - validateTimeout(parsed.options); - - let spawned; - try { - spawned = childProcess.spawn(parsed.file, parsed.args, parsed.options); - } catch (error) { - // Ensure the returned error is always both a promise and a child process - const dummySpawned = new childProcess.ChildProcess(); - const errorPromise = Promise.reject(makeError({ - error, - stdout: '', - stderr: '', - all: '', - command, - escapedCommand, - parsed, - timedOut: false, - isCanceled: false, - killed: false - })); - return mergePromise(dummySpawned, errorPromise); - } - - const spawnedPromise = getSpawnedPromise(spawned); - const timedPromise = setupTimeout(spawned, parsed.options, spawnedPromise); - const processDone = setExitHandler(spawned, parsed.options, timedPromise); - - const context = {isCanceled: false}; - - spawned.kill = spawnedKill.bind(null, spawned.kill.bind(spawned)); - spawned.cancel = spawnedCancel.bind(null, spawned, context); - - const handlePromise = async () => { - const [{error, exitCode, signal, timedOut}, stdoutResult, stderrResult, allResult] = await getSpawnedResult(spawned, parsed.options, processDone); - const stdout = handleOutput(parsed.options, stdoutResult); - const stderr = handleOutput(parsed.options, stderrResult); - const all = handleOutput(parsed.options, allResult); - - if (error || exitCode !== 0 || signal !== null) { - const returnedError = makeError({ - error, - exitCode, - signal, - stdout, - stderr, - all, - command, - escapedCommand, - parsed, - timedOut, - isCanceled: context.isCanceled, - killed: spawned.killed - }); - - if (!parsed.options.reject) { - return returnedError; - } - - throw returnedError; - } - - return { - command, - escapedCommand, - exitCode: 0, - stdout, - stderr, - all, - failed: false, - timedOut: false, - isCanceled: false, - killed: false - }; - }; - - const handlePromiseOnce = onetime(handlePromise); - - handleInput(spawned, parsed.options.input); - - spawned.all = makeAllStream(spawned, parsed.options); - - return mergePromise(spawned, handlePromiseOnce); -}; - -module.exports = execa; - -module.exports.sync = (file, args, options) => { - const parsed = handleArguments(file, args, options); - const command = joinCommand(file, args); - const escapedCommand = getEscapedCommand(file, args); - - validateInputSync(parsed.options); - - let result; - try { - result = childProcess.spawnSync(parsed.file, parsed.args, parsed.options); - } catch (error) { - throw makeError({ - error, - stdout: '', - stderr: '', - all: '', - command, - escapedCommand, - parsed, - timedOut: false, - isCanceled: false, - killed: false - }); - } - - const stdout = handleOutput(parsed.options, result.stdout, result.error); - const stderr = handleOutput(parsed.options, result.stderr, result.error); - - if (result.error || result.status !== 0 || result.signal !== null) { - const error = makeError({ - stdout, - stderr, - error: result.error, - signal: result.signal, - exitCode: result.status, - command, - escapedCommand, - parsed, - timedOut: result.error && result.error.code === 'ETIMEDOUT', - isCanceled: false, - killed: result.signal !== null - }); - - if (!parsed.options.reject) { - return error; - } - - throw error; - } - - return { - command, - escapedCommand, - exitCode: 0, - stdout, - stderr, - failed: false, - timedOut: false, - isCanceled: false, - killed: false - }; -}; - -module.exports.command = (command, options) => { - const [file, ...args] = parseCommand(command); - return execa(file, args, options); -}; - -module.exports.commandSync = (command, options) => { - const [file, ...args] = parseCommand(command); - return execa.sync(file, args, options); -}; - -module.exports.node = (scriptPath, args, options = {}) => { - if (args && !Array.isArray(args) && typeof args === 'object') { - options = args; - args = []; - } - - const stdio = normalizeStdio.node(options); - const defaultExecArgv = process.execArgv.filter(arg => !arg.startsWith('--inspect')); - - const { - nodePath = process.execPath, - nodeOptions = defaultExecArgv - } = options; - - return execa( - nodePath, - [ - ...nodeOptions, - scriptPath, - ...(Array.isArray(args) ? args : []) - ], - { - ...options, - stdin: undefined, - stdout: undefined, - stderr: undefined, - stdio, - shell: false - } - ); -}; diff --git a/node_modules/run-applescript/node_modules/execa/lib/command.js b/node_modules/run-applescript/node_modules/execa/lib/command.js deleted file mode 100644 index 859b006a06..0000000000 --- a/node_modules/run-applescript/node_modules/execa/lib/command.js +++ /dev/null @@ -1,52 +0,0 @@ -'use strict'; -const normalizeArgs = (file, args = []) => { - if (!Array.isArray(args)) { - return [file]; - } - - return [file, ...args]; -}; - -const NO_ESCAPE_REGEXP = /^[\w.-]+$/; -const DOUBLE_QUOTES_REGEXP = /"/g; - -const escapeArg = arg => { - if (typeof arg !== 'string' || NO_ESCAPE_REGEXP.test(arg)) { - return arg; - } - - return `"${arg.replace(DOUBLE_QUOTES_REGEXP, '\\"')}"`; -}; - -const joinCommand = (file, args) => { - return normalizeArgs(file, args).join(' '); -}; - -const getEscapedCommand = (file, args) => { - return normalizeArgs(file, args).map(arg => escapeArg(arg)).join(' '); -}; - -const SPACES_REGEXP = / +/g; - -// Handle `execa.command()` -const parseCommand = command => { - const tokens = []; - for (const token of command.trim().split(SPACES_REGEXP)) { - // Allow spaces to be escaped by a backslash if not meant as a delimiter - const previousToken = tokens[tokens.length - 1]; - if (previousToken && previousToken.endsWith('\\')) { - // Merge previous token with current one - tokens[tokens.length - 1] = `${previousToken.slice(0, -1)} ${token}`; - } else { - tokens.push(token); - } - } - - return tokens; -}; - -module.exports = { - joinCommand, - getEscapedCommand, - parseCommand -}; diff --git a/node_modules/run-applescript/node_modules/execa/lib/error.js b/node_modules/run-applescript/node_modules/execa/lib/error.js deleted file mode 100644 index 42144674dc..0000000000 --- a/node_modules/run-applescript/node_modules/execa/lib/error.js +++ /dev/null @@ -1,88 +0,0 @@ -'use strict'; -const {signalsByName} = require('human-signals'); - -const getErrorPrefix = ({timedOut, timeout, errorCode, signal, signalDescription, exitCode, isCanceled}) => { - if (timedOut) { - return `timed out after ${timeout} milliseconds`; - } - - if (isCanceled) { - return 'was canceled'; - } - - if (errorCode !== undefined) { - return `failed with ${errorCode}`; - } - - if (signal !== undefined) { - return `was killed with ${signal} (${signalDescription})`; - } - - if (exitCode !== undefined) { - return `failed with exit code ${exitCode}`; - } - - return 'failed'; -}; - -const makeError = ({ - stdout, - stderr, - all, - error, - signal, - exitCode, - command, - escapedCommand, - timedOut, - isCanceled, - killed, - parsed: {options: {timeout}} -}) => { - // `signal` and `exitCode` emitted on `spawned.on('exit')` event can be `null`. - // We normalize them to `undefined` - exitCode = exitCode === null ? undefined : exitCode; - signal = signal === null ? undefined : signal; - const signalDescription = signal === undefined ? undefined : signalsByName[signal].description; - - const errorCode = error && error.code; - - const prefix = getErrorPrefix({timedOut, timeout, errorCode, signal, signalDescription, exitCode, isCanceled}); - const execaMessage = `Command ${prefix}: ${command}`; - const isError = Object.prototype.toString.call(error) === '[object Error]'; - const shortMessage = isError ? `${execaMessage}\n${error.message}` : execaMessage; - const message = [shortMessage, stderr, stdout].filter(Boolean).join('\n'); - - if (isError) { - error.originalMessage = error.message; - error.message = message; - } else { - error = new Error(message); - } - - error.shortMessage = shortMessage; - error.command = command; - error.escapedCommand = escapedCommand; - error.exitCode = exitCode; - error.signal = signal; - error.signalDescription = signalDescription; - error.stdout = stdout; - error.stderr = stderr; - - if (all !== undefined) { - error.all = all; - } - - if ('bufferedData' in error) { - delete error.bufferedData; - } - - error.failed = true; - error.timedOut = Boolean(timedOut); - error.isCanceled = isCanceled; - error.killed = killed && !timedOut; - - return error; -}; - -module.exports = makeError; diff --git a/node_modules/run-applescript/node_modules/execa/lib/kill.js b/node_modules/run-applescript/node_modules/execa/lib/kill.js deleted file mode 100644 index 287a14238e..0000000000 --- a/node_modules/run-applescript/node_modules/execa/lib/kill.js +++ /dev/null @@ -1,115 +0,0 @@ -'use strict'; -const os = require('os'); -const onExit = require('signal-exit'); - -const DEFAULT_FORCE_KILL_TIMEOUT = 1000 * 5; - -// Monkey-patches `childProcess.kill()` to add `forceKillAfterTimeout` behavior -const spawnedKill = (kill, signal = 'SIGTERM', options = {}) => { - const killResult = kill(signal); - setKillTimeout(kill, signal, options, killResult); - return killResult; -}; - -const setKillTimeout = (kill, signal, options, killResult) => { - if (!shouldForceKill(signal, options, killResult)) { - return; - } - - const timeout = getForceKillAfterTimeout(options); - const t = setTimeout(() => { - kill('SIGKILL'); - }, timeout); - - // Guarded because there's no `.unref()` when `execa` is used in the renderer - // process in Electron. This cannot be tested since we don't run tests in - // Electron. - // istanbul ignore else - if (t.unref) { - t.unref(); - } -}; - -const shouldForceKill = (signal, {forceKillAfterTimeout}, killResult) => { - return isSigterm(signal) && forceKillAfterTimeout !== false && killResult; -}; - -const isSigterm = signal => { - return signal === os.constants.signals.SIGTERM || - (typeof signal === 'string' && signal.toUpperCase() === 'SIGTERM'); -}; - -const getForceKillAfterTimeout = ({forceKillAfterTimeout = true}) => { - if (forceKillAfterTimeout === true) { - return DEFAULT_FORCE_KILL_TIMEOUT; - } - - if (!Number.isFinite(forceKillAfterTimeout) || forceKillAfterTimeout < 0) { - throw new TypeError(`Expected the \`forceKillAfterTimeout\` option to be a non-negative integer, got \`${forceKillAfterTimeout}\` (${typeof forceKillAfterTimeout})`); - } - - return forceKillAfterTimeout; -}; - -// `childProcess.cancel()` -const spawnedCancel = (spawned, context) => { - const killResult = spawned.kill(); - - if (killResult) { - context.isCanceled = true; - } -}; - -const timeoutKill = (spawned, signal, reject) => { - spawned.kill(signal); - reject(Object.assign(new Error('Timed out'), {timedOut: true, signal})); -}; - -// `timeout` option handling -const setupTimeout = (spawned, {timeout, killSignal = 'SIGTERM'}, spawnedPromise) => { - if (timeout === 0 || timeout === undefined) { - return spawnedPromise; - } - - let timeoutId; - const timeoutPromise = new Promise((resolve, reject) => { - timeoutId = setTimeout(() => { - timeoutKill(spawned, killSignal, reject); - }, timeout); - }); - - const safeSpawnedPromise = spawnedPromise.finally(() => { - clearTimeout(timeoutId); - }); - - return Promise.race([timeoutPromise, safeSpawnedPromise]); -}; - -const validateTimeout = ({timeout}) => { - if (timeout !== undefined && (!Number.isFinite(timeout) || timeout < 0)) { - throw new TypeError(`Expected the \`timeout\` option to be a non-negative integer, got \`${timeout}\` (${typeof timeout})`); - } -}; - -// `cleanup` option handling -const setExitHandler = async (spawned, {cleanup, detached}, timedPromise) => { - if (!cleanup || detached) { - return timedPromise; - } - - const removeExitHandler = onExit(() => { - spawned.kill(); - }); - - return timedPromise.finally(() => { - removeExitHandler(); - }); -}; - -module.exports = { - spawnedKill, - spawnedCancel, - setupTimeout, - validateTimeout, - setExitHandler -}; diff --git a/node_modules/run-applescript/node_modules/execa/lib/promise.js b/node_modules/run-applescript/node_modules/execa/lib/promise.js deleted file mode 100644 index bd9d52333d..0000000000 --- a/node_modules/run-applescript/node_modules/execa/lib/promise.js +++ /dev/null @@ -1,46 +0,0 @@ -'use strict'; - -const nativePromisePrototype = (async () => {})().constructor.prototype; -const descriptors = ['then', 'catch', 'finally'].map(property => [ - property, - Reflect.getOwnPropertyDescriptor(nativePromisePrototype, property) -]); - -// The return value is a mixin of `childProcess` and `Promise` -const mergePromise = (spawned, promise) => { - for (const [property, descriptor] of descriptors) { - // Starting the main `promise` is deferred to avoid consuming streams - const value = typeof promise === 'function' ? - (...args) => Reflect.apply(descriptor.value, promise(), args) : - descriptor.value.bind(promise); - - Reflect.defineProperty(spawned, property, {...descriptor, value}); - } - - return spawned; -}; - -// Use promises instead of `child_process` events -const getSpawnedPromise = spawned => { - return new Promise((resolve, reject) => { - spawned.on('exit', (exitCode, signal) => { - resolve({exitCode, signal}); - }); - - spawned.on('error', error => { - reject(error); - }); - - if (spawned.stdin) { - spawned.stdin.on('error', error => { - reject(error); - }); - } - }); -}; - -module.exports = { - mergePromise, - getSpawnedPromise -}; - diff --git a/node_modules/run-applescript/node_modules/execa/lib/stdio.js b/node_modules/run-applescript/node_modules/execa/lib/stdio.js deleted file mode 100644 index 45129ed7ef..0000000000 --- a/node_modules/run-applescript/node_modules/execa/lib/stdio.js +++ /dev/null @@ -1,52 +0,0 @@ -'use strict'; -const aliases = ['stdin', 'stdout', 'stderr']; - -const hasAlias = options => aliases.some(alias => options[alias] !== undefined); - -const normalizeStdio = options => { - if (!options) { - return; - } - - const {stdio} = options; - - if (stdio === undefined) { - return aliases.map(alias => options[alias]); - } - - if (hasAlias(options)) { - throw new Error(`It's not possible to provide \`stdio\` in combination with one of ${aliases.map(alias => `\`${alias}\``).join(', ')}`); - } - - if (typeof stdio === 'string') { - return stdio; - } - - if (!Array.isArray(stdio)) { - throw new TypeError(`Expected \`stdio\` to be of type \`string\` or \`Array\`, got \`${typeof stdio}\``); - } - - const length = Math.max(stdio.length, aliases.length); - return Array.from({length}, (value, index) => stdio[index]); -}; - -module.exports = normalizeStdio; - -// `ipc` is pushed unless it is already present -module.exports.node = options => { - const stdio = normalizeStdio(options); - - if (stdio === 'ipc') { - return 'ipc'; - } - - if (stdio === undefined || typeof stdio === 'string') { - return [stdio, stdio, stdio, 'ipc']; - } - - if (stdio.includes('ipc')) { - return stdio; - } - - return [...stdio, 'ipc']; -}; diff --git a/node_modules/run-applescript/node_modules/execa/lib/stream.js b/node_modules/run-applescript/node_modules/execa/lib/stream.js deleted file mode 100644 index d445dd4710..0000000000 --- a/node_modules/run-applescript/node_modules/execa/lib/stream.js +++ /dev/null @@ -1,97 +0,0 @@ -'use strict'; -const isStream = require('is-stream'); -const getStream = require('get-stream'); -const mergeStream = require('merge-stream'); - -// `input` option -const handleInput = (spawned, input) => { - // Checking for stdin is workaround for https://github.com/nodejs/node/issues/26852 - // @todo remove `|| spawned.stdin === undefined` once we drop support for Node.js <=12.2.0 - if (input === undefined || spawned.stdin === undefined) { - return; - } - - if (isStream(input)) { - input.pipe(spawned.stdin); - } else { - spawned.stdin.end(input); - } -}; - -// `all` interleaves `stdout` and `stderr` -const makeAllStream = (spawned, {all}) => { - if (!all || (!spawned.stdout && !spawned.stderr)) { - return; - } - - const mixed = mergeStream(); - - if (spawned.stdout) { - mixed.add(spawned.stdout); - } - - if (spawned.stderr) { - mixed.add(spawned.stderr); - } - - return mixed; -}; - -// On failure, `result.stdout|stderr|all` should contain the currently buffered stream -const getBufferedData = async (stream, streamPromise) => { - if (!stream) { - return; - } - - stream.destroy(); - - try { - return await streamPromise; - } catch (error) { - return error.bufferedData; - } -}; - -const getStreamPromise = (stream, {encoding, buffer, maxBuffer}) => { - if (!stream || !buffer) { - return; - } - - if (encoding) { - return getStream(stream, {encoding, maxBuffer}); - } - - return getStream.buffer(stream, {maxBuffer}); -}; - -// Retrieve result of child process: exit code, signal, error, streams (stdout/stderr/all) -const getSpawnedResult = async ({stdout, stderr, all}, {encoding, buffer, maxBuffer}, processDone) => { - const stdoutPromise = getStreamPromise(stdout, {encoding, buffer, maxBuffer}); - const stderrPromise = getStreamPromise(stderr, {encoding, buffer, maxBuffer}); - const allPromise = getStreamPromise(all, {encoding, buffer, maxBuffer: maxBuffer * 2}); - - try { - return await Promise.all([processDone, stdoutPromise, stderrPromise, allPromise]); - } catch (error) { - return Promise.all([ - {error, signal: error.signal, timedOut: error.timedOut}, - getBufferedData(stdout, stdoutPromise), - getBufferedData(stderr, stderrPromise), - getBufferedData(all, allPromise) - ]); - } -}; - -const validateInputSync = ({input}) => { - if (isStream(input)) { - throw new TypeError('The `input` option cannot be a stream in sync mode'); - } -}; - -module.exports = { - handleInput, - makeAllStream, - getSpawnedResult, - validateInputSync -}; - diff --git a/node_modules/run-applescript/node_modules/execa/license b/node_modules/run-applescript/node_modules/execa/license deleted file mode 100644 index fa7ceba3eb..0000000000 --- a/node_modules/run-applescript/node_modules/execa/license +++ /dev/null @@ -1,9 +0,0 @@ -MIT License - -Copyright (c) Sindre Sorhus (https://sindresorhus.com) - -Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/node_modules/run-applescript/node_modules/execa/package.json b/node_modules/run-applescript/node_modules/execa/package.json deleted file mode 100644 index 441e23c8a8..0000000000 --- a/node_modules/run-applescript/node_modules/execa/package.json +++ /dev/null @@ -1,74 +0,0 @@ -{ - "name": "execa", - "version": "5.1.1", - "description": "Process execution for humans", - "license": "MIT", - "repository": "sindresorhus/execa", - "funding": "https://github.com/sindresorhus/execa?sponsor=1", - "author": { - "name": "Sindre Sorhus", - "email": "sindresorhus@gmail.com", - "url": "https://sindresorhus.com" - }, - "engines": { - "node": ">=10" - }, - "scripts": { - "test": "xo && nyc ava && tsd" - }, - "files": [ - "index.js", - "index.d.ts", - "lib" - ], - "keywords": [ - "exec", - "child", - "process", - "execute", - "fork", - "execfile", - "spawn", - "file", - "shell", - "bin", - "binary", - "binaries", - "npm", - "path", - "local" - ], - "dependencies": { - "cross-spawn": "^7.0.3", - "get-stream": "^6.0.0", - "human-signals": "^2.1.0", - "is-stream": "^2.0.0", - "merge-stream": "^2.0.0", - "npm-run-path": "^4.0.1", - "onetime": "^5.1.2", - "signal-exit": "^3.0.3", - "strip-final-newline": "^2.0.0" - }, - "devDependencies": { - "@types/node": "^14.14.10", - "ava": "^2.4.0", - "get-node": "^11.0.1", - "is-running": "^2.1.0", - "nyc": "^15.1.0", - "p-event": "^4.2.0", - "tempfile": "^3.0.0", - "tsd": "^0.13.1", - "xo": "^0.35.0" - }, - "nyc": { - "reporter": [ - "text", - "lcov" - ], - "exclude": [ - "**/fixtures/**", - "**/test.js", - "**/test/**" - ] - } -} diff --git a/node_modules/run-applescript/node_modules/execa/readme.md b/node_modules/run-applescript/node_modules/execa/readme.md deleted file mode 100644 index 843edbc7d1..0000000000 --- a/node_modules/run-applescript/node_modules/execa/readme.md +++ /dev/null @@ -1,663 +0,0 @@ - -
- -[![Coverage Status](https://codecov.io/gh/sindresorhus/execa/branch/main/graph/badge.svg)](https://codecov.io/gh/sindresorhus/execa) - -> Process execution for humans - -## Why - -This package improves [`child_process`](https://nodejs.org/api/child_process.html) methods with: - -- Promise interface. -- [Strips the final newline](#stripfinalnewline) from the output so you don't have to do `stdout.trim()`. -- Supports [shebang](https://en.wikipedia.org/wiki/Shebang_(Unix)) binaries cross-platform. -- [Improved Windows support.](https://github.com/IndigoUnited/node-cross-spawn#why) -- Higher max buffer. 100 MB instead of 200 KB. -- [Executes locally installed binaries by name.](#preferlocal) -- [Cleans up spawned processes when the parent process dies.](#cleanup) -- [Get interleaved output](#all) from `stdout` and `stderr` similar to what is printed on the terminal. [*(Async only)*](#execasyncfile-arguments-options) -- [Can specify file and arguments as a single string without a shell](#execacommandcommand-options) -- More descriptive errors. - -## Install - -``` -$ npm install execa -``` - -## Usage - -```js -const execa = require('execa'); - -(async () => { - const {stdout} = await execa('echo', ['unicorns']); - console.log(stdout); - //=> 'unicorns' -})(); -``` - -### Pipe the child process stdout to the parent - -```js -const execa = require('execa'); - -execa('echo', ['unicorns']).stdout.pipe(process.stdout); -``` - -### Handling Errors - -```js -const execa = require('execa'); - -(async () => { - // Catching an error - try { - await execa('unknown', ['command']); - } catch (error) { - console.log(error); - /* - { - message: 'Command failed with ENOENT: unknown command spawn unknown ENOENT', - errno: -2, - code: 'ENOENT', - syscall: 'spawn unknown', - path: 'unknown', - spawnargs: ['command'], - originalMessage: 'spawn unknown ENOENT', - shortMessage: 'Command failed with ENOENT: unknown command spawn unknown ENOENT', - command: 'unknown command', - escapedCommand: 'unknown command', - stdout: '', - stderr: '', - all: '', - failed: true, - timedOut: false, - isCanceled: false, - killed: false - } - */ - } - -})(); -``` - -### Cancelling a spawned process - -```js -const execa = require('execa'); - -(async () => { - const subprocess = execa('node'); - - setTimeout(() => { - subprocess.cancel(); - }, 1000); - - try { - await subprocess; - } catch (error) { - console.log(subprocess.killed); // true - console.log(error.isCanceled); // true - } -})() -``` - -### Catching an error with the sync method - -```js -try { - execa.sync('unknown', ['command']); -} catch (error) { - console.log(error); - /* - { - message: 'Command failed with ENOENT: unknown command spawnSync unknown ENOENT', - errno: -2, - code: 'ENOENT', - syscall: 'spawnSync unknown', - path: 'unknown', - spawnargs: ['command'], - originalMessage: 'spawnSync unknown ENOENT', - shortMessage: 'Command failed with ENOENT: unknown command spawnSync unknown ENOENT', - command: 'unknown command', - escapedCommand: 'unknown command', - stdout: '', - stderr: '', - all: '', - failed: true, - timedOut: false, - isCanceled: false, - killed: false - } - */ -} -``` - -### Kill a process - -Using SIGTERM, and after 2 seconds, kill it with SIGKILL. - -```js -const subprocess = execa('node'); - -setTimeout(() => { - subprocess.kill('SIGTERM', { - forceKillAfterTimeout: 2000 - }); -}, 1000); -``` - -## API - -### execa(file, arguments, options?) - -Execute a file. Think of this as a mix of [`child_process.execFile()`](https://nodejs.org/api/child_process.html#child_process_child_process_execfile_file_args_options_callback) and [`child_process.spawn()`](https://nodejs.org/api/child_process.html#child_process_child_process_spawn_command_args_options). - -No escaping/quoting is needed. - -Unless the [`shell`](#shell) option is used, no shell interpreter (Bash, `cmd.exe`, etc.) is used, so shell features such as variables substitution (`echo $PATH`) are not allowed. - -Returns a [`child_process` instance](https://nodejs.org/api/child_process.html#child_process_class_childprocess) which: - - is also a `Promise` resolving or rejecting with a [`childProcessResult`](#childProcessResult). - - exposes the following additional methods and properties. - -#### kill(signal?, options?) - -Same as the original [`child_process#kill()`](https://nodejs.org/api/child_process.html#child_process_subprocess_kill_signal) except: if `signal` is `SIGTERM` (the default value) and the child process is not terminated after 5 seconds, force it by sending `SIGKILL`. - -##### options.forceKillAfterTimeout - -Type: `number | false`\ -Default: `5000` - -Milliseconds to wait for the child process to terminate before sending `SIGKILL`. - -Can be disabled with `false`. - -#### cancel() - -Similar to [`childProcess.kill()`](https://nodejs.org/api/child_process.html#child_process_subprocess_kill_signal). This is preferred when cancelling the child process execution as the error is more descriptive and [`childProcessResult.isCanceled`](#iscanceled) is set to `true`. - -#### all - -Type: `ReadableStream | undefined` - -Stream combining/interleaving [`stdout`](https://nodejs.org/api/child_process.html#child_process_subprocess_stdout) and [`stderr`](https://nodejs.org/api/child_process.html#child_process_subprocess_stderr). - -This is `undefined` if either: - - the [`all` option](#all-2) is `false` (the default value) - - both [`stdout`](#stdout-1) and [`stderr`](#stderr-1) options are set to [`'inherit'`, `'ipc'`, `Stream` or `integer`](https://nodejs.org/dist/latest-v6.x/docs/api/child_process.html#child_process_options_stdio) - -### execa.sync(file, arguments?, options?) - -Execute a file synchronously. - -Returns or throws a [`childProcessResult`](#childProcessResult). - -### execa.command(command, options?) - -Same as [`execa()`](#execafile-arguments-options) except both file and arguments are specified in a single `command` string. For example, `execa('echo', ['unicorns'])` is the same as `execa.command('echo unicorns')`. - -If the file or an argument contains spaces, they must be escaped with backslashes. This matters especially if `command` is not a constant but a variable, for example with `__dirname` or `process.cwd()`. Except for spaces, no escaping/quoting is needed. - -The [`shell` option](#shell) must be used if the `command` uses shell-specific features (for example, `&&` or `||`), as opposed to being a simple `file` followed by its `arguments`. - -### execa.commandSync(command, options?) - -Same as [`execa.command()`](#execacommand-command-options) but synchronous. - -Returns or throws a [`childProcessResult`](#childProcessResult). - -### execa.node(scriptPath, arguments?, options?) - -Execute a Node.js script as a child process. - -Same as `execa('node', [scriptPath, ...arguments], options)` except (like [`child_process#fork()`](https://nodejs.org/api/child_process.html#child_process_child_process_fork_modulepath_args_options)): - - the current Node version and options are used. This can be overridden using the [`nodePath`](#nodepath-for-node-only) and [`nodeOptions`](#nodeoptions-for-node-only) options. - - the [`shell`](#shell) option cannot be used - - an extra channel [`ipc`](https://nodejs.org/api/child_process.html#child_process_options_stdio) is passed to [`stdio`](#stdio) - -### childProcessResult - -Type: `object` - -Result of a child process execution. On success this is a plain object. On failure this is also an `Error` instance. - -The child process [fails](#failed) when: -- its [exit code](#exitcode) is not `0` -- it was [killed](#killed) with a [signal](#signal) -- [timing out](#timedout) -- [being canceled](#iscanceled) -- there's not enough memory or there are already too many child processes - -#### command - -Type: `string` - -The file and arguments that were run, for logging purposes. - -This is not escaped and should not be executed directly as a process, including using [`execa()`](#execafile-arguments-options) or [`execa.command()`](#execacommandcommand-options). - -#### escapedCommand - -Type: `string` - -Same as [`command`](#command) but escaped. - -This is meant to be copy and pasted into a shell, for debugging purposes. -Since the escaping is fairly basic, this should not be executed directly as a process, including using [`execa()`](#execafile-arguments-options) or [`execa.command()`](#execacommandcommand-options). - -#### exitCode - -Type: `number` - -The numeric exit code of the process that was run. - -#### stdout - -Type: `string | Buffer` - -The output of the process on stdout. - -#### stderr - -Type: `string | Buffer` - -The output of the process on stderr. - -#### all - -Type: `string | Buffer | undefined` - -The output of the process with `stdout` and `stderr` interleaved. - -This is `undefined` if either: - - the [`all` option](#all-2) is `false` (the default value) - - `execa.sync()` was used - -#### failed - -Type: `boolean` - -Whether the process failed to run. - -#### timedOut - -Type: `boolean` - -Whether the process timed out. - -#### isCanceled - -Type: `boolean` - -Whether the process was canceled. - -#### killed - -Type: `boolean` - -Whether the process was killed. - -#### signal - -Type: `string | undefined` - -The name of the signal that was used to terminate the process. For example, `SIGFPE`. - -If a signal terminated the process, this property is defined and included in the error message. Otherwise it is `undefined`. - -#### signalDescription - -Type: `string | undefined` - -A human-friendly description of the signal that was used to terminate the process. For example, `Floating point arithmetic error`. - -If a signal terminated the process, this property is defined and included in the error message. Otherwise it is `undefined`. It is also `undefined` when the signal is very uncommon which should seldomly happen. - -#### message - -Type: `string` - -Error message when the child process failed to run. In addition to the [underlying error message](#originalMessage), it also contains some information related to why the child process errored. - -The child process [stderr](#stderr) then [stdout](#stdout) are appended to the end, separated with newlines and not interleaved. - -#### shortMessage - -Type: `string` - -This is the same as the [`message` property](#message) except it does not include the child process stdout/stderr. - -#### originalMessage - -Type: `string | undefined` - -Original error message. This is the same as the `message` property except it includes neither the child process stdout/stderr nor some additional information added by Execa. - -This is `undefined` unless the child process exited due to an `error` event or a timeout. - -### options - -Type: `object` - -#### cleanup - -Type: `boolean`\ -Default: `true` - -Kill the spawned process when the parent process exits unless either: - - the spawned process is [`detached`](https://nodejs.org/api/child_process.html#child_process_options_detached) - - the parent process is terminated abruptly, for example, with `SIGKILL` as opposed to `SIGTERM` or a normal exit - -#### preferLocal - -Type: `boolean`\ -Default: `false` - -Prefer locally installed binaries when looking for a binary to execute.\ -If you `$ npm install foo`, you can then `execa('foo')`. - -#### localDir - -Type: `string`\ -Default: `process.cwd()` - -Preferred path to find locally installed binaries in (use with `preferLocal`). - -#### execPath - -Type: `string`\ -Default: `process.execPath` (Current Node.js executable) - -Path to the Node.js executable to use in child processes. - -This can be either an absolute path or a path relative to the [`cwd` option](#cwd). - -Requires [`preferLocal`](#preferlocal) to be `true`. - -For example, this can be used together with [`get-node`](https://github.com/ehmicky/get-node) to run a specific Node.js version in a child process. - -#### buffer - -Type: `boolean`\ -Default: `true` - -Buffer the output from the spawned process. When set to `false`, you must read the output of [`stdout`](#stdout-1) and [`stderr`](#stderr-1) (or [`all`](#all) if the [`all`](#all-2) option is `true`). Otherwise the returned promise will not be resolved/rejected. - -If the spawned process fails, [`error.stdout`](#stdout), [`error.stderr`](#stderr), and [`error.all`](#all) will contain the buffered data. - -#### input - -Type: `string | Buffer | stream.Readable` - -Write some input to the `stdin` of your binary.\ -Streams are not allowed when using the synchronous methods. - -#### stdin - -Type: `string | number | Stream | undefined`\ -Default: `pipe` - -Same options as [`stdio`](https://nodejs.org/dist/latest-v6.x/docs/api/child_process.html#child_process_options_stdio). - -#### stdout - -Type: `string | number | Stream | undefined`\ -Default: `pipe` - -Same options as [`stdio`](https://nodejs.org/dist/latest-v6.x/docs/api/child_process.html#child_process_options_stdio). - -#### stderr - -Type: `string | number | Stream | undefined`\ -Default: `pipe` - -Same options as [`stdio`](https://nodejs.org/dist/latest-v6.x/docs/api/child_process.html#child_process_options_stdio). - -#### all - -Type: `boolean`\ -Default: `false` - -Add an `.all` property on the [promise](#all) and the [resolved value](#all-1). The property contains the output of the process with `stdout` and `stderr` interleaved. - -#### reject - -Type: `boolean`\ -Default: `true` - -Setting this to `false` resolves the promise with the error instead of rejecting it. - -#### stripFinalNewline - -Type: `boolean`\ -Default: `true` - -Strip the final [newline character](https://en.wikipedia.org/wiki/Newline) from the output. - -#### extendEnv - -Type: `boolean`\ -Default: `true` - -Set to `false` if you don't want to extend the environment variables when providing the `env` property. - ---- - -Execa also accepts the below options which are the same as the options for [`child_process#spawn()`](https://nodejs.org/api/child_process.html#child_process_child_process_spawn_command_args_options)/[`child_process#exec()`](https://nodejs.org/api/child_process.html#child_process_child_process_exec_command_options_callback) - -#### cwd - -Type: `string`\ -Default: `process.cwd()` - -Current working directory of the child process. - -#### env - -Type: `object`\ -Default: `process.env` - -Environment key-value pairs. Extends automatically from `process.env`. Set [`extendEnv`](#extendenv) to `false` if you don't want this. - -#### argv0 - -Type: `string` - -Explicitly set the value of `argv[0]` sent to the child process. This will be set to `file` if not specified. - -#### stdio - -Type: `string | string[]`\ -Default: `pipe` - -Child's [stdio](https://nodejs.org/api/child_process.html#child_process_options_stdio) configuration. - -#### serialization - -Type: `string`\ -Default: `'json'` - -Specify the kind of serialization used for sending messages between processes when using the [`stdio: 'ipc'`](#stdio) option or [`execa.node()`](#execanodescriptpath-arguments-options): - - `json`: Uses `JSON.stringify()` and `JSON.parse()`. - - `advanced`: Uses [`v8.serialize()`](https://nodejs.org/api/v8.html#v8_v8_serialize_value) - -Requires Node.js `13.2.0` or later. - -[More info.](https://nodejs.org/api/child_process.html#child_process_advanced_serialization) - -#### detached - -Type: `boolean` - -Prepare child to run independently of its parent process. Specific behavior [depends on the platform](https://nodejs.org/api/child_process.html#child_process_options_detached). - -#### uid - -Type: `number` - -Sets the user identity of the process. - -#### gid - -Type: `number` - -Sets the group identity of the process. - -#### shell - -Type: `boolean | string`\ -Default: `false` - -If `true`, runs `file` inside of a shell. Uses `/bin/sh` on UNIX and `cmd.exe` on Windows. A different shell can be specified as a string. The shell should understand the `-c` switch on UNIX or `/d /s /c` on Windows. - -We recommend against using this option since it is: -- not cross-platform, encouraging shell-specific syntax. -- slower, because of the additional shell interpretation. -- unsafe, potentially allowing command injection. - -#### encoding - -Type: `string | null`\ -Default: `utf8` - -Specify the character encoding used to decode the `stdout` and `stderr` output. If set to `null`, then `stdout` and `stderr` will be a `Buffer` instead of a string. - -#### timeout - -Type: `number`\ -Default: `0` - -If timeout is greater than `0`, the parent will send the signal identified by the `killSignal` property (the default is `SIGTERM`) if the child runs longer than timeout milliseconds. - -#### maxBuffer - -Type: `number`\ -Default: `100_000_000` (100 MB) - -Largest amount of data in bytes allowed on `stdout` or `stderr`. - -#### killSignal - -Type: `string | number`\ -Default: `SIGTERM` - -Signal value to be used when the spawned process will be killed. - -#### windowsVerbatimArguments - -Type: `boolean`\ -Default: `false` - -If `true`, no quoting or escaping of arguments is done on Windows. Ignored on other platforms. This is set to `true` automatically when the `shell` option is `true`. - -#### windowsHide - -Type: `boolean`\ -Default: `true` - -On Windows, do not create a new console window. Please note this also prevents `CTRL-C` [from working](https://github.com/nodejs/node/issues/29837) on Windows. - -#### nodePath *(For `.node()` only)* - -Type: `string`\ -Default: [`process.execPath`](https://nodejs.org/api/process.html#process_process_execpath) - -Node.js executable used to create the child process. - -#### nodeOptions *(For `.node()` only)* - -Type: `string[]`\ -Default: [`process.execArgv`](https://nodejs.org/api/process.html#process_process_execargv) - -List of [CLI options](https://nodejs.org/api/cli.html#cli_options) passed to the Node.js executable. - -## Tips - -### Retry on error - -Gracefully handle failures by using automatic retries and exponential backoff with the [`p-retry`](https://github.com/sindresorhus/p-retry) package: - -```js -const pRetry = require('p-retry'); - -const run = async () => { - const results = await execa('curl', ['-sSL', 'https://sindresorhus.com/unicorn']); - return results; -}; - -(async () => { - console.log(await pRetry(run, {retries: 5})); -})(); -``` - -### Save and pipe output from a child process - -Let's say you want to show the output of a child process in real-time while also saving it to a variable. - -```js -const execa = require('execa'); - -const subprocess = execa('echo', ['foo']); -subprocess.stdout.pipe(process.stdout); - -(async () => { - const {stdout} = await subprocess; - console.log('child output:', stdout); -})(); -``` - -### Redirect output to a file - -```js -const execa = require('execa'); - -const subprocess = execa('echo', ['foo']) -subprocess.stdout.pipe(fs.createWriteStream('stdout.txt')) -``` - -### Redirect input from a file - -```js -const execa = require('execa'); - -const subprocess = execa('cat') -fs.createReadStream('stdin.txt').pipe(subprocess.stdin) -``` - -### Execute the current package's binary - -```js -const {getBinPathSync} = require('get-bin-path'); - -const binPath = getBinPathSync(); -const subprocess = execa(binPath); -``` - -`execa` can be combined with [`get-bin-path`](https://github.com/ehmicky/get-bin-path) to test the current package's binary. As opposed to hard-coding the path to the binary, this validates that the `package.json` `bin` field is correctly set up. - -## Related - -- [gulp-execa](https://github.com/ehmicky/gulp-execa) - Gulp plugin for `execa` -- [nvexeca](https://github.com/ehmicky/nvexeca) - Run `execa` using any Node.js version -- [sudo-prompt](https://github.com/jorangreef/sudo-prompt) - Run commands with elevated privileges. - -## Maintainers - -- [Sindre Sorhus](https://github.com/sindresorhus) -- [@ehmicky](https://github.com/ehmicky) - ---- - -

- - Get professional support for this package with a Tidelift subscription - -
- - Tidelift helps make open source sustainable for maintainers while giving companies
assurances about security, maintenance, and licensing for their dependencies. -
-
diff --git a/node_modules/run-applescript/node_modules/human-signals/CHANGELOG.md b/node_modules/run-applescript/node_modules/human-signals/CHANGELOG.md deleted file mode 100644 index 70d0392933..0000000000 --- a/node_modules/run-applescript/node_modules/human-signals/CHANGELOG.md +++ /dev/null @@ -1,11 +0,0 @@ -# 2.1.0 - -## TypeScript types - -- Add [TypeScript definitions](src/main.d.ts) - -# 2.0.0 - -## Breaking changes - -- Minimal supported Node.js version is now `10.17.0` diff --git a/node_modules/run-applescript/node_modules/human-signals/README.md b/node_modules/run-applescript/node_modules/human-signals/README.md deleted file mode 100644 index 2af37c370c..0000000000 --- a/node_modules/run-applescript/node_modules/human-signals/README.md +++ /dev/null @@ -1,165 +0,0 @@ -[![Codecov](https://img.shields.io/codecov/c/github/ehmicky/human-signals.svg?label=tested&logo=codecov)](https://codecov.io/gh/ehmicky/human-signals) -[![Travis](https://img.shields.io/badge/cross-platform-4cc61e.svg?logo=travis)](https://travis-ci.org/ehmicky/human-signals) -[![Node](https://img.shields.io/node/v/human-signals.svg?logo=node.js)](https://www.npmjs.com/package/human-signals) -[![Gitter](https://img.shields.io/gitter/room/ehmicky/human-signals.svg?logo=gitter)](https://gitter.im/ehmicky/human-signals) -[![Twitter](https://img.shields.io/badge/%E2%80%8B-twitter-4cc61e.svg?logo=twitter)](https://twitter.com/intent/follow?screen_name=ehmicky) -[![Medium](https://img.shields.io/badge/%E2%80%8B-medium-4cc61e.svg?logo=medium)](https://medium.com/@ehmicky) - -Human-friendly process signals. - -This is a map of known process signals with some information about each signal. - -Unlike -[`os.constants.signals`](https://nodejs.org/api/os.html#os_signal_constants) -this includes: - -- human-friendly [descriptions](#description) -- [default actions](#action), including whether they [can be prevented](#forced) -- whether the signal is [supported](#supported) by the current OS - -# Example - -```js -const { signalsByName, signalsByNumber } = require('human-signals') - -console.log(signalsByName.SIGINT) -// { -// name: 'SIGINT', -// number: 2, -// description: 'User interruption with CTRL-C', -// supported: true, -// action: 'terminate', -// forced: false, -// standard: 'ansi' -// } - -console.log(signalsByNumber[8]) -// { -// name: 'SIGFPE', -// number: 8, -// description: 'Floating point arithmetic error', -// supported: true, -// action: 'core', -// forced: false, -// standard: 'ansi' -// } -``` - -# Install - -```bash -npm install human-signals -``` - -# Usage - -## signalsByName - -_Type_: `object` - -Object whose keys are signal [names](#name) and values are -[signal objects](#signal). - -## signalsByNumber - -_Type_: `object` - -Object whose keys are signal [numbers](#number) and values are -[signal objects](#signal). - -## signal - -_Type_: `object` - -Signal object with the following properties. - -### name - -_Type_: `string` - -Standard name of the signal, for example `'SIGINT'`. - -### number - -_Type_: `number` - -Code number of the signal, for example `2`. While most `number` are -cross-platform, some are different between different OS. - -### description - -_Type_: `string` - -Human-friendly description for the signal, for example -`'User interruption with CTRL-C'`. - -### supported - -_Type_: `boolean` - -Whether the current OS can handle this signal in Node.js using -[`process.on(name, handler)`](https://nodejs.org/api/process.html#process_signal_events). - -The list of supported signals -[is OS-specific](https://github.com/ehmicky/cross-platform-node-guide/blob/master/docs/6_networking_ipc/signals.md#cross-platform-signals). - -### action - -_Type_: `string`\ -_Enum_: `'terminate'`, `'core'`, `'ignore'`, `'pause'`, `'unpause'` - -What is the default action for this signal when it is not handled. - -### forced - -_Type_: `boolean` - -Whether the signal's default action cannot be prevented. This is `true` for -`SIGTERM`, `SIGKILL` and `SIGSTOP`. - -### standard - -_Type_: `string`\ -_Enum_: `'ansi'`, `'posix'`, `'bsd'`, `'systemv'`, `'other'` - -Which standard defined that signal. - -# Support - -If you found a bug or would like a new feature, _don't hesitate_ to -[submit an issue on GitHub](../../issues). - -For other questions, feel free to -[chat with us on Gitter](https://gitter.im/ehmicky/human-signals). - -Everyone is welcome regardless of personal background. We enforce a -[Code of conduct](CODE_OF_CONDUCT.md) in order to promote a positive and -inclusive environment. - -# Contributing - -This project was made with ❤️. The simplest way to give back is by starring and -sharing it online. - -If the documentation is unclear or has a typo, please click on the page's `Edit` -button (pencil icon) and suggest a correction. - -If you would like to help us fix a bug or add a new feature, please check our -[guidelines](CONTRIBUTING.md). Pull requests are welcome! - -Thanks go to our wonderful contributors: - - - - - - - - - -

ehmicky

💻 🎨 🤔 📖

electrovir

💻
- - - - - diff --git a/node_modules/run-applescript/node_modules/human-signals/build/src/core.js b/node_modules/run-applescript/node_modules/human-signals/build/src/core.js deleted file mode 100644 index 98e8fced05..0000000000 --- a/node_modules/run-applescript/node_modules/human-signals/build/src/core.js +++ /dev/null @@ -1,273 +0,0 @@ -"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.SIGNALS=void 0; - -const SIGNALS=[ -{ -name:"SIGHUP", -number:1, -action:"terminate", -description:"Terminal closed", -standard:"posix"}, - -{ -name:"SIGINT", -number:2, -action:"terminate", -description:"User interruption with CTRL-C", -standard:"ansi"}, - -{ -name:"SIGQUIT", -number:3, -action:"core", -description:"User interruption with CTRL-\\", -standard:"posix"}, - -{ -name:"SIGILL", -number:4, -action:"core", -description:"Invalid machine instruction", -standard:"ansi"}, - -{ -name:"SIGTRAP", -number:5, -action:"core", -description:"Debugger breakpoint", -standard:"posix"}, - -{ -name:"SIGABRT", -number:6, -action:"core", -description:"Aborted", -standard:"ansi"}, - -{ -name:"SIGIOT", -number:6, -action:"core", -description:"Aborted", -standard:"bsd"}, - -{ -name:"SIGBUS", -number:7, -action:"core", -description: -"Bus error due to misaligned, non-existing address or paging error", -standard:"bsd"}, - -{ -name:"SIGEMT", -number:7, -action:"terminate", -description:"Command should be emulated but is not implemented", -standard:"other"}, - -{ -name:"SIGFPE", -number:8, -action:"core", -description:"Floating point arithmetic error", -standard:"ansi"}, - -{ -name:"SIGKILL", -number:9, -action:"terminate", -description:"Forced termination", -standard:"posix", -forced:true}, - -{ -name:"SIGUSR1", -number:10, -action:"terminate", -description:"Application-specific signal", -standard:"posix"}, - -{ -name:"SIGSEGV", -number:11, -action:"core", -description:"Segmentation fault", -standard:"ansi"}, - -{ -name:"SIGUSR2", -number:12, -action:"terminate", -description:"Application-specific signal", -standard:"posix"}, - -{ -name:"SIGPIPE", -number:13, -action:"terminate", -description:"Broken pipe or socket", -standard:"posix"}, - -{ -name:"SIGALRM", -number:14, -action:"terminate", -description:"Timeout or timer", -standard:"posix"}, - -{ -name:"SIGTERM", -number:15, -action:"terminate", -description:"Termination", -standard:"ansi"}, - -{ -name:"SIGSTKFLT", -number:16, -action:"terminate", -description:"Stack is empty or overflowed", -standard:"other"}, - -{ -name:"SIGCHLD", -number:17, -action:"ignore", -description:"Child process terminated, paused or unpaused", -standard:"posix"}, - -{ -name:"SIGCLD", -number:17, -action:"ignore", -description:"Child process terminated, paused or unpaused", -standard:"other"}, - -{ -name:"SIGCONT", -number:18, -action:"unpause", -description:"Unpaused", -standard:"posix", -forced:true}, - -{ -name:"SIGSTOP", -number:19, -action:"pause", -description:"Paused", -standard:"posix", -forced:true}, - -{ -name:"SIGTSTP", -number:20, -action:"pause", -description:"Paused using CTRL-Z or \"suspend\"", -standard:"posix"}, - -{ -name:"SIGTTIN", -number:21, -action:"pause", -description:"Background process cannot read terminal input", -standard:"posix"}, - -{ -name:"SIGBREAK", -number:21, -action:"terminate", -description:"User interruption with CTRL-BREAK", -standard:"other"}, - -{ -name:"SIGTTOU", -number:22, -action:"pause", -description:"Background process cannot write to terminal output", -standard:"posix"}, - -{ -name:"SIGURG", -number:23, -action:"ignore", -description:"Socket received out-of-band data", -standard:"bsd"}, - -{ -name:"SIGXCPU", -number:24, -action:"core", -description:"Process timed out", -standard:"bsd"}, - -{ -name:"SIGXFSZ", -number:25, -action:"core", -description:"File too big", -standard:"bsd"}, - -{ -name:"SIGVTALRM", -number:26, -action:"terminate", -description:"Timeout or timer", -standard:"bsd"}, - -{ -name:"SIGPROF", -number:27, -action:"terminate", -description:"Timeout or timer", -standard:"bsd"}, - -{ -name:"SIGWINCH", -number:28, -action:"ignore", -description:"Terminal window size changed", -standard:"bsd"}, - -{ -name:"SIGIO", -number:29, -action:"terminate", -description:"I/O is available", -standard:"other"}, - -{ -name:"SIGPOLL", -number:29, -action:"terminate", -description:"Watched event", -standard:"other"}, - -{ -name:"SIGINFO", -number:29, -action:"ignore", -description:"Request for process information", -standard:"other"}, - -{ -name:"SIGPWR", -number:30, -action:"terminate", -description:"Device running out of power", -standard:"systemv"}, - -{ -name:"SIGSYS", -number:31, -action:"core", -description:"Invalid system call", -standard:"other"}, - -{ -name:"SIGUNUSED", -number:31, -action:"terminate", -description:"Invalid system call", -standard:"other"}];exports.SIGNALS=SIGNALS; -//# sourceMappingURL=core.js.map \ No newline at end of file diff --git a/node_modules/run-applescript/node_modules/human-signals/build/src/core.js.map b/node_modules/run-applescript/node_modules/human-signals/build/src/core.js.map deleted file mode 100644 index cbfce26de3..0000000000 --- a/node_modules/run-applescript/node_modules/human-signals/build/src/core.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"sources":["../../src/core.js"],"names":["SIGNALS","name","number","action","description","standard","forced"],"mappings":";;AAEO,KAAMA,CAAAA,OAAO,CAAG;AACrB;AACEC,IAAI,CAAE,QADR;AAEEC,MAAM,CAAE,CAFV;AAGEC,MAAM,CAAE,WAHV;AAIEC,WAAW,CAAE,iBAJf;AAKEC,QAAQ,CAAE,OALZ,CADqB;;AAQrB;AACEJ,IAAI,CAAE,QADR;AAEEC,MAAM,CAAE,CAFV;AAGEC,MAAM,CAAE,WAHV;AAIEC,WAAW,CAAE,+BAJf;AAKEC,QAAQ,CAAE,MALZ,CARqB;;AAerB;AACEJ,IAAI,CAAE,SADR;AAEEC,MAAM,CAAE,CAFV;AAGEC,MAAM,CAAE,MAHV;AAIEC,WAAW,CAAE,gCAJf;AAKEC,QAAQ,CAAE,OALZ,CAfqB;;AAsBrB;AACEJ,IAAI,CAAE,QADR;AAEEC,MAAM,CAAE,CAFV;AAGEC,MAAM,CAAE,MAHV;AAIEC,WAAW,CAAE,6BAJf;AAKEC,QAAQ,CAAE,MALZ,CAtBqB;;AA6BrB;AACEJ,IAAI,CAAE,SADR;AAEEC,MAAM,CAAE,CAFV;AAGEC,MAAM,CAAE,MAHV;AAIEC,WAAW,CAAE,qBAJf;AAKEC,QAAQ,CAAE,OALZ,CA7BqB;;AAoCrB;AACEJ,IAAI,CAAE,SADR;AAEEC,MAAM,CAAE,CAFV;AAGEC,MAAM,CAAE,MAHV;AAIEC,WAAW,CAAE,SAJf;AAKEC,QAAQ,CAAE,MALZ,CApCqB;;AA2CrB;AACEJ,IAAI,CAAE,QADR;AAEEC,MAAM,CAAE,CAFV;AAGEC,MAAM,CAAE,MAHV;AAIEC,WAAW,CAAE,SAJf;AAKEC,QAAQ,CAAE,KALZ,CA3CqB;;AAkDrB;AACEJ,IAAI,CAAE,QADR;AAEEC,MAAM,CAAE,CAFV;AAGEC,MAAM,CAAE,MAHV;AAIEC,WAAW;AACT,mEALJ;AAMEC,QAAQ,CAAE,KANZ,CAlDqB;;AA0DrB;AACEJ,IAAI,CAAE,QADR;AAEEC,MAAM,CAAE,CAFV;AAGEC,MAAM,CAAE,WAHV;AAIEC,WAAW,CAAE,mDAJf;AAKEC,QAAQ,CAAE,OALZ,CA1DqB;;AAiErB;AACEJ,IAAI,CAAE,QADR;AAEEC,MAAM,CAAE,CAFV;AAGEC,MAAM,CAAE,MAHV;AAIEC,WAAW,CAAE,iCAJf;AAKEC,QAAQ,CAAE,MALZ,CAjEqB;;AAwErB;AACEJ,IAAI,CAAE,SADR;AAEEC,MAAM,CAAE,CAFV;AAGEC,MAAM,CAAE,WAHV;AAIEC,WAAW,CAAE,oBAJf;AAKEC,QAAQ,CAAE,OALZ;AAMEC,MAAM,CAAE,IANV,CAxEqB;;AAgFrB;AACEL,IAAI,CAAE,SADR;AAEEC,MAAM,CAAE,EAFV;AAGEC,MAAM,CAAE,WAHV;AAIEC,WAAW,CAAE,6BAJf;AAKEC,QAAQ,CAAE,OALZ,CAhFqB;;AAuFrB;AACEJ,IAAI,CAAE,SADR;AAEEC,MAAM,CAAE,EAFV;AAGEC,MAAM,CAAE,MAHV;AAIEC,WAAW,CAAE,oBAJf;AAKEC,QAAQ,CAAE,MALZ,CAvFqB;;AA8FrB;AACEJ,IAAI,CAAE,SADR;AAEEC,MAAM,CAAE,EAFV;AAGEC,MAAM,CAAE,WAHV;AAIEC,WAAW,CAAE,6BAJf;AAKEC,QAAQ,CAAE,OALZ,CA9FqB;;AAqGrB;AACEJ,IAAI,CAAE,SADR;AAEEC,MAAM,CAAE,EAFV;AAGEC,MAAM,CAAE,WAHV;AAIEC,WAAW,CAAE,uBAJf;AAKEC,QAAQ,CAAE,OALZ,CArGqB;;AA4GrB;AACEJ,IAAI,CAAE,SADR;AAEEC,MAAM,CAAE,EAFV;AAGEC,MAAM,CAAE,WAHV;AAIEC,WAAW,CAAE,kBAJf;AAKEC,QAAQ,CAAE,OALZ,CA5GqB;;AAmHrB;AACEJ,IAAI,CAAE,SADR;AAEEC,MAAM,CAAE,EAFV;AAGEC,MAAM,CAAE,WAHV;AAIEC,WAAW,CAAE,aAJf;AAKEC,QAAQ,CAAE,MALZ,CAnHqB;;AA0HrB;AACEJ,IAAI,CAAE,WADR;AAEEC,MAAM,CAAE,EAFV;AAGEC,MAAM,CAAE,WAHV;AAIEC,WAAW,CAAE,8BAJf;AAKEC,QAAQ,CAAE,OALZ,CA1HqB;;AAiIrB;AACEJ,IAAI,CAAE,SADR;AAEEC,MAAM,CAAE,EAFV;AAGEC,MAAM,CAAE,QAHV;AAIEC,WAAW,CAAE,8CAJf;AAKEC,QAAQ,CAAE,OALZ,CAjIqB;;AAwIrB;AACEJ,IAAI,CAAE,QADR;AAEEC,MAAM,CAAE,EAFV;AAGEC,MAAM,CAAE,QAHV;AAIEC,WAAW,CAAE,8CAJf;AAKEC,QAAQ,CAAE,OALZ,CAxIqB;;AA+IrB;AACEJ,IAAI,CAAE,SADR;AAEEC,MAAM,CAAE,EAFV;AAGEC,MAAM,CAAE,SAHV;AAIEC,WAAW,CAAE,UAJf;AAKEC,QAAQ,CAAE,OALZ;AAMEC,MAAM,CAAE,IANV,CA/IqB;;AAuJrB;AACEL,IAAI,CAAE,SADR;AAEEC,MAAM,CAAE,EAFV;AAGEC,MAAM,CAAE,OAHV;AAIEC,WAAW,CAAE,QAJf;AAKEC,QAAQ,CAAE,OALZ;AAMEC,MAAM,CAAE,IANV,CAvJqB;;AA+JrB;AACEL,IAAI,CAAE,SADR;AAEEC,MAAM,CAAE,EAFV;AAGEC,MAAM,CAAE,OAHV;AAIEC,WAAW,CAAE,oCAJf;AAKEC,QAAQ,CAAE,OALZ,CA/JqB;;AAsKrB;AACEJ,IAAI,CAAE,SADR;AAEEC,MAAM,CAAE,EAFV;AAGEC,MAAM,CAAE,OAHV;AAIEC,WAAW,CAAE,+CAJf;AAKEC,QAAQ,CAAE,OALZ,CAtKqB;;AA6KrB;AACEJ,IAAI,CAAE,UADR;AAEEC,MAAM,CAAE,EAFV;AAGEC,MAAM,CAAE,WAHV;AAIEC,WAAW,CAAE,mCAJf;AAKEC,QAAQ,CAAE,OALZ,CA7KqB;;AAoLrB;AACEJ,IAAI,CAAE,SADR;AAEEC,MAAM,CAAE,EAFV;AAGEC,MAAM,CAAE,OAHV;AAIEC,WAAW,CAAE,oDAJf;AAKEC,QAAQ,CAAE,OALZ,CApLqB;;AA2LrB;AACEJ,IAAI,CAAE,QADR;AAEEC,MAAM,CAAE,EAFV;AAGEC,MAAM,CAAE,QAHV;AAIEC,WAAW,CAAE,kCAJf;AAKEC,QAAQ,CAAE,KALZ,CA3LqB;;AAkMrB;AACEJ,IAAI,CAAE,SADR;AAEEC,MAAM,CAAE,EAFV;AAGEC,MAAM,CAAE,MAHV;AAIEC,WAAW,CAAE,mBAJf;AAKEC,QAAQ,CAAE,KALZ,CAlMqB;;AAyMrB;AACEJ,IAAI,CAAE,SADR;AAEEC,MAAM,CAAE,EAFV;AAGEC,MAAM,CAAE,MAHV;AAIEC,WAAW,CAAE,cAJf;AAKEC,QAAQ,CAAE,KALZ,CAzMqB;;AAgNrB;AACEJ,IAAI,CAAE,WADR;AAEEC,MAAM,CAAE,EAFV;AAGEC,MAAM,CAAE,WAHV;AAIEC,WAAW,CAAE,kBAJf;AAKEC,QAAQ,CAAE,KALZ,CAhNqB;;AAuNrB;AACEJ,IAAI,CAAE,SADR;AAEEC,MAAM,CAAE,EAFV;AAGEC,MAAM,CAAE,WAHV;AAIEC,WAAW,CAAE,kBAJf;AAKEC,QAAQ,CAAE,KALZ,CAvNqB;;AA8NrB;AACEJ,IAAI,CAAE,UADR;AAEEC,MAAM,CAAE,EAFV;AAGEC,MAAM,CAAE,QAHV;AAIEC,WAAW,CAAE,8BAJf;AAKEC,QAAQ,CAAE,KALZ,CA9NqB;;AAqOrB;AACEJ,IAAI,CAAE,OADR;AAEEC,MAAM,CAAE,EAFV;AAGEC,MAAM,CAAE,WAHV;AAIEC,WAAW,CAAE,kBAJf;AAKEC,QAAQ,CAAE,OALZ,CArOqB;;AA4OrB;AACEJ,IAAI,CAAE,SADR;AAEEC,MAAM,CAAE,EAFV;AAGEC,MAAM,CAAE,WAHV;AAIEC,WAAW,CAAE,eAJf;AAKEC,QAAQ,CAAE,OALZ,CA5OqB;;AAmPrB;AACEJ,IAAI,CAAE,SADR;AAEEC,MAAM,CAAE,EAFV;AAGEC,MAAM,CAAE,QAHV;AAIEC,WAAW,CAAE,iCAJf;AAKEC,QAAQ,CAAE,OALZ,CAnPqB;;AA0PrB;AACEJ,IAAI,CAAE,QADR;AAEEC,MAAM,CAAE,EAFV;AAGEC,MAAM,CAAE,WAHV;AAIEC,WAAW,CAAE,6BAJf;AAKEC,QAAQ,CAAE,SALZ,CA1PqB;;AAiQrB;AACEJ,IAAI,CAAE,QADR;AAEEC,MAAM,CAAE,EAFV;AAGEC,MAAM,CAAE,MAHV;AAIEC,WAAW,CAAE,qBAJf;AAKEC,QAAQ,CAAE,OALZ,CAjQqB;;AAwQrB;AACEJ,IAAI,CAAE,WADR;AAEEC,MAAM,CAAE,EAFV;AAGEC,MAAM,CAAE,WAHV;AAIEC,WAAW,CAAE,qBAJf;AAKEC,QAAQ,CAAE,OALZ,CAxQqB,CAAhB,C","sourcesContent":["/* eslint-disable max-lines */\n// List of known process signals with information about them\nexport const 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:\n '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/* eslint-enable max-lines */\n"],"file":"src/core.js"} \ No newline at end of file diff --git a/node_modules/run-applescript/node_modules/human-signals/build/src/main.d.ts b/node_modules/run-applescript/node_modules/human-signals/build/src/main.d.ts deleted file mode 100644 index 2dc5ea78e5..0000000000 --- a/node_modules/run-applescript/node_modules/human-signals/build/src/main.d.ts +++ /dev/null @@ -1,52 +0,0 @@ -/** - * Object whose keys are signal names and values are signal objects. - */ -export declare const signalsByName: { [signalName: string]: Signal } -/** - * Object whose keys are signal numbers and values are signal objects. - */ -export declare const signalsByNumber: { [signalNumber: string]: Signal } - -export declare type SignalAction = - | 'terminate' - | 'core' - | 'ignore' - | 'pause' - | 'unpause' -export declare type SignalStandard = - | 'ansi' - | 'posix' - | 'bsd' - | 'systemv' - | 'other' - -export declare type Signal = { - /** - * Standard name of the signal, for example 'SIGINT'. - */ - name: string - /** - * Code number of the signal, for example 2. While most number are cross-platform, some are different between different OS. - */ - number: number - /** - * Human-friendly description for the signal, for example 'User interruption with CTRL-C'. - */ - description: string - /** - * Whether the current OS can handle this signal in Node.js using process.on(name, handler). The list of supported signals is OS-specific. - */ - supported: boolean - /** - * What is the default action for this signal when it is not handled. - */ - action: SignalAction - /** - * Whether the signal's default action cannot be prevented. This is true for SIGTERM, SIGKILL and SIGSTOP. - */ - forced: boolean - /** - * Which standard defined that signal. - */ - standard: SignalStandard -} diff --git a/node_modules/run-applescript/node_modules/human-signals/build/src/main.js b/node_modules/run-applescript/node_modules/human-signals/build/src/main.js deleted file mode 100644 index 88f5fd29be..0000000000 --- a/node_modules/run-applescript/node_modules/human-signals/build/src/main.js +++ /dev/null @@ -1,71 +0,0 @@ -"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.signalsByNumber=exports.signalsByName=void 0;var _os=require("os"); - -var _signals=require("./signals.js"); -var _realtime=require("./realtime.js"); - - - -const getSignalsByName=function(){ -const signals=(0,_signals.getSignals)(); -return signals.reduce(getSignalByName,{}); -}; - -const getSignalByName=function( -signalByNameMemo, -{name,number,description,supported,action,forced,standard}) -{ -return{ -...signalByNameMemo, -[name]:{name,number,description,supported,action,forced,standard}}; - -}; - -const signalsByName=getSignalsByName();exports.signalsByName=signalsByName; - - - - -const getSignalsByNumber=function(){ -const signals=(0,_signals.getSignals)(); -const length=_realtime.SIGRTMAX+1; -const signalsA=Array.from({length},(value,number)=> -getSignalByNumber(number,signals)); - -return Object.assign({},...signalsA); -}; - -const getSignalByNumber=function(number,signals){ -const signal=findSignalByNumber(number,signals); - -if(signal===undefined){ -return{}; -} - -const{name,description,supported,action,forced,standard}=signal; -return{ -[number]:{ -name, -number, -description, -supported, -action, -forced, -standard}}; - - -}; - - - -const findSignalByNumber=function(number,signals){ -const signal=signals.find(({name})=>_os.constants.signals[name]===number); - -if(signal!==undefined){ -return signal; -} - -return signals.find(signalA=>signalA.number===number); -}; - -const signalsByNumber=getSignalsByNumber();exports.signalsByNumber=signalsByNumber; -//# sourceMappingURL=main.js.map \ No newline at end of file diff --git a/node_modules/run-applescript/node_modules/human-signals/build/src/main.js.map b/node_modules/run-applescript/node_modules/human-signals/build/src/main.js.map deleted file mode 100644 index 3fdcede941..0000000000 --- a/node_modules/run-applescript/node_modules/human-signals/build/src/main.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"sources":["../../src/main.js"],"names":["getSignalsByName","signals","reduce","getSignalByName","signalByNameMemo","name","number","description","supported","action","forced","standard","signalsByName","getSignalsByNumber","length","SIGRTMAX","signalsA","Array","from","value","getSignalByNumber","Object","assign","signal","findSignalByNumber","undefined","find","constants","signalA","signalsByNumber"],"mappings":"2HAAA;;AAEA;AACA;;;;AAIA,KAAMA,CAAAA,gBAAgB,CAAG,UAAW;AAClC,KAAMC,CAAAA,OAAO,CAAG,yBAAhB;AACA,MAAOA,CAAAA,OAAO,CAACC,MAAR,CAAeC,eAAf,CAAgC,EAAhC,CAAP;AACD,CAHD;;AAKA,KAAMA,CAAAA,eAAe,CAAG;AACtBC,gBADsB;AAEtB,CAAEC,IAAF,CAAQC,MAAR,CAAgBC,WAAhB,CAA6BC,SAA7B,CAAwCC,MAAxC,CAAgDC,MAAhD,CAAwDC,QAAxD,CAFsB;AAGtB;AACA,MAAO;AACL,GAAGP,gBADE;AAEL,CAACC,IAAD,EAAQ,CAAEA,IAAF,CAAQC,MAAR,CAAgBC,WAAhB,CAA6BC,SAA7B,CAAwCC,MAAxC,CAAgDC,MAAhD,CAAwDC,QAAxD,CAFH,CAAP;;AAID,CARD;;AAUO,KAAMC,CAAAA,aAAa,CAAGZ,gBAAgB,EAAtC,C;;;;;AAKP,KAAMa,CAAAA,kBAAkB,CAAG,UAAW;AACpC,KAAMZ,CAAAA,OAAO,CAAG,yBAAhB;AACA,KAAMa,CAAAA,MAAM,CAAGC,mBAAW,CAA1B;AACA,KAAMC,CAAAA,QAAQ,CAAGC,KAAK,CAACC,IAAN,CAAW,CAAEJ,MAAF,CAAX,CAAuB,CAACK,KAAD,CAAQb,MAAR;AACtCc,iBAAiB,CAACd,MAAD,CAASL,OAAT,CADF,CAAjB;;AAGA,MAAOoB,CAAAA,MAAM,CAACC,MAAP,CAAc,EAAd,CAAkB,GAAGN,QAArB,CAAP;AACD,CAPD;;AASA,KAAMI,CAAAA,iBAAiB,CAAG,SAASd,MAAT,CAAiBL,OAAjB,CAA0B;AAClD,KAAMsB,CAAAA,MAAM,CAAGC,kBAAkB,CAAClB,MAAD,CAASL,OAAT,CAAjC;;AAEA,GAAIsB,MAAM,GAAKE,SAAf,CAA0B;AACxB,MAAO,EAAP;AACD;;AAED,KAAM,CAAEpB,IAAF,CAAQE,WAAR,CAAqBC,SAArB,CAAgCC,MAAhC,CAAwCC,MAAxC,CAAgDC,QAAhD,EAA6DY,MAAnE;AACA,MAAO;AACL,CAACjB,MAAD,EAAU;AACRD,IADQ;AAERC,MAFQ;AAGRC,WAHQ;AAIRC,SAJQ;AAKRC,MALQ;AAMRC,MANQ;AAORC,QAPQ,CADL,CAAP;;;AAWD,CAnBD;;;;AAuBA,KAAMa,CAAAA,kBAAkB,CAAG,SAASlB,MAAT,CAAiBL,OAAjB,CAA0B;AACnD,KAAMsB,CAAAA,MAAM,CAAGtB,OAAO,CAACyB,IAAR,CAAa,CAAC,CAAErB,IAAF,CAAD,GAAcsB,cAAU1B,OAAV,CAAkBI,IAAlB,IAA4BC,MAAvD,CAAf;;AAEA,GAAIiB,MAAM,GAAKE,SAAf,CAA0B;AACxB,MAAOF,CAAAA,MAAP;AACD;;AAED,MAAOtB,CAAAA,OAAO,CAACyB,IAAR,CAAaE,OAAO,EAAIA,OAAO,CAACtB,MAAR,GAAmBA,MAA3C,CAAP;AACD,CARD;;AAUO,KAAMuB,CAAAA,eAAe,CAAGhB,kBAAkB,EAA1C,C","sourcesContent":["import { constants } from 'os'\n\nimport { getSignals } from './signals.js'\nimport { SIGRTMAX } from './realtime.js'\n\n// Retrieve `signalsByName`, an object mapping signal name to signal properties.\n// We make sure the object is sorted by `number`.\nconst getSignalsByName = function() {\n const signals = getSignals()\n return signals.reduce(getSignalByName, {})\n}\n\nconst getSignalByName = function(\n signalByNameMemo,\n { name, number, description, supported, action, forced, standard },\n) {\n return {\n ...signalByNameMemo,\n [name]: { name, number, description, supported, action, forced, standard },\n }\n}\n\nexport const signalsByName = getSignalsByName()\n\n// Retrieve `signalsByNumber`, an object mapping signal number to signal\n// properties.\n// We make sure the object is sorted by `number`.\nconst getSignalsByNumber = function() {\n const signals = getSignals()\n const length = SIGRTMAX + 1\n const signalsA = Array.from({ length }, (value, number) =>\n getSignalByNumber(number, signals),\n )\n return Object.assign({}, ...signalsA)\n}\n\nconst getSignalByNumber = function(number, signals) {\n const signal = findSignalByNumber(number, signals)\n\n if (signal === undefined) {\n return {}\n }\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}\n\n// Several signals might end up sharing the same number because of OS-specific\n// numbers, in which case those prevail.\nconst findSignalByNumber = function(number, signals) {\n const signal = signals.find(({ name }) => constants.signals[name] === number)\n\n if (signal !== undefined) {\n return signal\n }\n\n return signals.find(signalA => signalA.number === number)\n}\n\nexport const signalsByNumber = getSignalsByNumber()\n"],"file":"src/main.js"} \ No newline at end of file diff --git a/node_modules/run-applescript/node_modules/human-signals/build/src/realtime.js b/node_modules/run-applescript/node_modules/human-signals/build/src/realtime.js deleted file mode 100644 index f665516fd0..0000000000 --- a/node_modules/run-applescript/node_modules/human-signals/build/src/realtime.js +++ /dev/null @@ -1,19 +0,0 @@ -"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.SIGRTMAX=exports.getRealtimeSignals=void 0; -const getRealtimeSignals=function(){ -const length=SIGRTMAX-SIGRTMIN+1; -return Array.from({length},getRealtimeSignal); -};exports.getRealtimeSignals=getRealtimeSignals; - -const getRealtimeSignal=function(value,index){ -return{ -name:`SIGRT${index+1}`, -number:SIGRTMIN+index, -action:"terminate", -description:"Application-specific signal (realtime)", -standard:"posix"}; - -}; - -const SIGRTMIN=34; -const SIGRTMAX=64;exports.SIGRTMAX=SIGRTMAX; -//# sourceMappingURL=realtime.js.map \ No newline at end of file diff --git a/node_modules/run-applescript/node_modules/human-signals/build/src/realtime.js.map b/node_modules/run-applescript/node_modules/human-signals/build/src/realtime.js.map deleted file mode 100644 index 808bbd12f7..0000000000 --- a/node_modules/run-applescript/node_modules/human-signals/build/src/realtime.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"sources":["../../src/realtime.js"],"names":["getRealtimeSignals","length","SIGRTMAX","SIGRTMIN","Array","from","getRealtimeSignal","value","index","name","number","action","description","standard"],"mappings":";AACO,KAAMA,CAAAA,kBAAkB,CAAG,UAAW;AAC3C,KAAMC,CAAAA,MAAM,CAAGC,QAAQ,CAAGC,QAAX,CAAsB,CAArC;AACA,MAAOC,CAAAA,KAAK,CAACC,IAAN,CAAW,CAAEJ,MAAF,CAAX,CAAuBK,iBAAvB,CAAP;AACD,CAHM,C;;AAKP,KAAMA,CAAAA,iBAAiB,CAAG,SAASC,KAAT,CAAgBC,KAAhB,CAAuB;AAC/C,MAAO;AACLC,IAAI,CAAG,QAAOD,KAAK,CAAG,CAAE,EADnB;AAELE,MAAM,CAAEP,QAAQ,CAAGK,KAFd;AAGLG,MAAM,CAAE,WAHH;AAILC,WAAW,CAAE,wCAJR;AAKLC,QAAQ,CAAE,OALL,CAAP;;AAOD,CARD;;AAUA,KAAMV,CAAAA,QAAQ,CAAG,EAAjB;AACO,KAAMD,CAAAA,QAAQ,CAAG,EAAjB,C","sourcesContent":["// List of realtime signals with information about them\nexport const getRealtimeSignals = function() {\n const length = SIGRTMAX - SIGRTMIN + 1\n return Array.from({ length }, getRealtimeSignal)\n}\n\nconst 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}\n\nconst SIGRTMIN = 34\nexport const SIGRTMAX = 64\n"],"file":"src/realtime.js"} \ No newline at end of file diff --git a/node_modules/run-applescript/node_modules/human-signals/build/src/signals.js b/node_modules/run-applescript/node_modules/human-signals/build/src/signals.js deleted file mode 100644 index ab3b387d91..0000000000 --- a/node_modules/run-applescript/node_modules/human-signals/build/src/signals.js +++ /dev/null @@ -1,35 +0,0 @@ -"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.getSignals=void 0;var _os=require("os"); - -var _core=require("./core.js"); -var _realtime=require("./realtime.js"); - - - -const getSignals=function(){ -const realtimeSignals=(0,_realtime.getRealtimeSignals)(); -const signals=[..._core.SIGNALS,...realtimeSignals].map(normalizeSignal); -return signals; -};exports.getSignals=getSignals; - - - - - - - -const normalizeSignal=function({ -name, -number:defaultNumber, -description, -action, -forced=false, -standard}) -{ -const{ -signals:{[name]:constantSignal}}= -_os.constants; -const supported=constantSignal!==undefined; -const number=supported?constantSignal:defaultNumber; -return{name,number,description,supported,action,forced,standard}; -}; -//# sourceMappingURL=signals.js.map \ No newline at end of file diff --git a/node_modules/run-applescript/node_modules/human-signals/build/src/signals.js.map b/node_modules/run-applescript/node_modules/human-signals/build/src/signals.js.map deleted file mode 100644 index 2a6b919ecf..0000000000 --- a/node_modules/run-applescript/node_modules/human-signals/build/src/signals.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"sources":["../../src/signals.js"],"names":["getSignals","realtimeSignals","signals","SIGNALS","map","normalizeSignal","name","number","defaultNumber","description","action","forced","standard","constantSignal","constants","supported","undefined"],"mappings":"gGAAA;;AAEA;AACA;;;;AAIO,KAAMA,CAAAA,UAAU,CAAG,UAAW;AACnC,KAAMC,CAAAA,eAAe,CAAG,kCAAxB;AACA,KAAMC,CAAAA,OAAO,CAAG,CAAC,GAAGC,aAAJ,CAAa,GAAGF,eAAhB,EAAiCG,GAAjC,CAAqCC,eAArC,CAAhB;AACA,MAAOH,CAAAA,OAAP;AACD,CAJM,C;;;;;;;;AAYP,KAAMG,CAAAA,eAAe,CAAG,SAAS;AAC/BC,IAD+B;AAE/BC,MAAM,CAAEC,aAFuB;AAG/BC,WAH+B;AAI/BC,MAJ+B;AAK/BC,MAAM,CAAG,KALsB;AAM/BC,QAN+B,CAAT;AAOrB;AACD,KAAM;AACJV,OAAO,CAAE,CAAE,CAACI,IAAD,EAAQO,cAAV,CADL;AAEFC,aAFJ;AAGA,KAAMC,CAAAA,SAAS,CAAGF,cAAc,GAAKG,SAArC;AACA,KAAMT,CAAAA,MAAM,CAAGQ,SAAS,CAAGF,cAAH,CAAoBL,aAA5C;AACA,MAAO,CAAEF,IAAF,CAAQC,MAAR,CAAgBE,WAAhB,CAA6BM,SAA7B,CAAwCL,MAAxC,CAAgDC,MAAhD,CAAwDC,QAAxD,CAAP;AACD,CAdD","sourcesContent":["import { constants } from 'os'\n\nimport { SIGNALS } from './core.js'\nimport { getRealtimeSignals } from './realtime.js'\n\n// Retrieve list of know signals (including realtime) with information about\n// them\nexport const getSignals = function() {\n const realtimeSignals = getRealtimeSignals()\n const signals = [...SIGNALS, ...realtimeSignals].map(normalizeSignal)\n return signals\n}\n\n// Normalize signal:\n// - `number`: signal numbers are OS-specific. This is taken into account by\n// `os.constants.signals`. However we provide a default `number` since some\n// signals are not defined for some OS.\n// - `forced`: set default to `false`\n// - `supported`: set value\nconst normalizeSignal = function({\n name,\n number: defaultNumber,\n description,\n action,\n forced = false,\n standard,\n}) {\n const {\n signals: { [name]: constantSignal },\n } = constants\n const supported = constantSignal !== undefined\n const number = supported ? constantSignal : defaultNumber\n return { name, number, description, supported, action, forced, standard }\n}\n"],"file":"src/signals.js"} \ No newline at end of file diff --git a/node_modules/run-applescript/node_modules/human-signals/package.json b/node_modules/run-applescript/node_modules/human-signals/package.json deleted file mode 100644 index fd1d0274f6..0000000000 --- a/node_modules/run-applescript/node_modules/human-signals/package.json +++ /dev/null @@ -1,64 +0,0 @@ -{ - "name": "human-signals", - "version": "2.1.0", - "main": "build/src/main.js", - "files": [ - "build/src", - "!~" - ], - "scripts": { - "test": "gulp test" - }, - "husky": { - "hooks": { - "pre-push": "gulp check --full" - } - }, - "description": "Human-friendly process signals", - "keywords": [ - "signal", - "signals", - "handlers", - "error-handling", - "errors", - "interrupts", - "sigterm", - "sigint", - "irq", - "process", - "exit", - "exit-code", - "status", - "operating-system", - "es6", - "javascript", - "linux", - "macos", - "windows", - "nodejs" - ], - "license": "Apache-2.0", - "homepage": "https://git.io/JeluP", - "repository": "ehmicky/human-signals", - "bugs": { - "url": "https://github.com/ehmicky/human-signals/issues" - }, - "author": "ehmicky (https://github.com/ehmicky)", - "directories": { - "lib": "src", - "test": "test" - }, - "types": "build/src/main.d.ts", - "dependencies": {}, - "devDependencies": { - "@ehmicky/dev-tasks": "^0.31.9", - "ajv": "^6.12.0", - "ava": "^3.5.0", - "gulp": "^4.0.2", - "husky": "^4.2.3", - "test-each": "^2.0.0" - }, - "engines": { - "node": ">=10.17.0" - } -} diff --git a/node_modules/run-applescript/node_modules/is-stream/index.d.ts b/node_modules/run-applescript/node_modules/is-stream/index.d.ts deleted file mode 100644 index eee2e83e81..0000000000 --- a/node_modules/run-applescript/node_modules/is-stream/index.d.ts +++ /dev/null @@ -1,79 +0,0 @@ -import * as stream from 'stream'; - -declare const isStream: { - /** - @returns Whether `stream` is a [`Stream`](https://nodejs.org/api/stream.html#stream_stream). - - @example - ``` - import * as fs from 'fs'; - import isStream = require('is-stream'); - - isStream(fs.createReadStream('unicorn.png')); - //=> true - - isStream({}); - //=> false - ``` - */ - (stream: unknown): stream is stream.Stream; - - /** - @returns Whether `stream` is a [`stream.Writable`](https://nodejs.org/api/stream.html#stream_class_stream_writable). - - @example - ``` - import * as fs from 'fs'; - import isStream = require('is-stream'); - - isStream.writable(fs.createWriteStrem('unicorn.txt')); - //=> true - ``` - */ - writable(stream: unknown): stream is stream.Writable; - - /** - @returns Whether `stream` is a [`stream.Readable`](https://nodejs.org/api/stream.html#stream_class_stream_readable). - - @example - ``` - import * as fs from 'fs'; - import isStream = require('is-stream'); - - isStream.readable(fs.createReadStream('unicorn.png')); - //=> true - ``` - */ - readable(stream: unknown): stream is stream.Readable; - - /** - @returns Whether `stream` is a [`stream.Duplex`](https://nodejs.org/api/stream.html#stream_class_stream_duplex). - - @example - ``` - import {Duplex} from 'stream'; - import isStream = require('is-stream'); - - isStream.duplex(new Duplex()); - //=> true - ``` - */ - duplex(stream: unknown): stream is stream.Duplex; - - /** - @returns Whether `stream` is a [`stream.Transform`](https://nodejs.org/api/stream.html#stream_class_stream_transform). - - @example - ``` - import * as fs from 'fs'; - import Stringify = require('streaming-json-stringify'); - import isStream = require('is-stream'); - - isStream.transform(Stringify()); - //=> true - ``` - */ - transform(input: unknown): input is stream.Transform; -}; - -export = isStream; diff --git a/node_modules/run-applescript/node_modules/is-stream/index.js b/node_modules/run-applescript/node_modules/is-stream/index.js deleted file mode 100644 index 2e43434daa..0000000000 --- a/node_modules/run-applescript/node_modules/is-stream/index.js +++ /dev/null @@ -1,28 +0,0 @@ -'use strict'; - -const isStream = stream => - stream !== null && - typeof stream === 'object' && - typeof stream.pipe === 'function'; - -isStream.writable = stream => - isStream(stream) && - stream.writable !== false && - typeof stream._write === 'function' && - typeof stream._writableState === 'object'; - -isStream.readable = stream => - isStream(stream) && - stream.readable !== false && - typeof stream._read === 'function' && - typeof stream._readableState === 'object'; - -isStream.duplex = stream => - isStream.writable(stream) && - isStream.readable(stream); - -isStream.transform = stream => - isStream.duplex(stream) && - typeof stream._transform === 'function'; - -module.exports = isStream; diff --git a/node_modules/run-applescript/node_modules/is-stream/license b/node_modules/run-applescript/node_modules/is-stream/license deleted file mode 100644 index fa7ceba3eb..0000000000 --- a/node_modules/run-applescript/node_modules/is-stream/license +++ /dev/null @@ -1,9 +0,0 @@ -MIT License - -Copyright (c) Sindre Sorhus (https://sindresorhus.com) - -Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/node_modules/run-applescript/node_modules/is-stream/package.json b/node_modules/run-applescript/node_modules/is-stream/package.json deleted file mode 100644 index 9b68e6ae2d..0000000000 --- a/node_modules/run-applescript/node_modules/is-stream/package.json +++ /dev/null @@ -1,42 +0,0 @@ -{ - "name": "is-stream", - "version": "2.0.1", - "description": "Check if something is a Node.js stream", - "license": "MIT", - "repository": "sindresorhus/is-stream", - "funding": "https://github.com/sponsors/sindresorhus", - "author": { - "name": "Sindre Sorhus", - "email": "sindresorhus@gmail.com", - "url": "https://sindresorhus.com" - }, - "engines": { - "node": ">=8" - }, - "scripts": { - "test": "xo && ava && tsd" - }, - "files": [ - "index.js", - "index.d.ts" - ], - "keywords": [ - "stream", - "type", - "streams", - "writable", - "readable", - "duplex", - "transform", - "check", - "detect", - "is" - ], - "devDependencies": { - "@types/node": "^11.13.6", - "ava": "^1.4.1", - "tempy": "^0.3.0", - "tsd": "^0.7.2", - "xo": "^0.24.0" - } -} diff --git a/node_modules/run-applescript/node_modules/is-stream/readme.md b/node_modules/run-applescript/node_modules/is-stream/readme.md deleted file mode 100644 index 19308e7335..0000000000 --- a/node_modules/run-applescript/node_modules/is-stream/readme.md +++ /dev/null @@ -1,60 +0,0 @@ -# is-stream - -> Check if something is a [Node.js stream](https://nodejs.org/api/stream.html) - -## Install - -``` -$ npm install is-stream -``` - -## Usage - -```js -const fs = require('fs'); -const isStream = require('is-stream'); - -isStream(fs.createReadStream('unicorn.png')); -//=> true - -isStream({}); -//=> false -``` - -## API - -### isStream(stream) - -Returns a `boolean` for whether it's a [`Stream`](https://nodejs.org/api/stream.html#stream_stream). - -#### isStream.writable(stream) - -Returns a `boolean` for whether it's a [`stream.Writable`](https://nodejs.org/api/stream.html#stream_class_stream_writable). - -#### isStream.readable(stream) - -Returns a `boolean` for whether it's a [`stream.Readable`](https://nodejs.org/api/stream.html#stream_class_stream_readable). - -#### isStream.duplex(stream) - -Returns a `boolean` for whether it's a [`stream.Duplex`](https://nodejs.org/api/stream.html#stream_class_stream_duplex). - -#### isStream.transform(stream) - -Returns a `boolean` for whether it's a [`stream.Transform`](https://nodejs.org/api/stream.html#stream_class_stream_transform). - -## Related - -- [is-file-stream](https://github.com/jamestalmage/is-file-stream) - Detect if a stream is a file stream - ---- - -
- - Get professional support for this package with a Tidelift subscription - -
- - Tidelift helps make open source sustainable for maintainers while giving companies
assurances about security, maintenance, and licensing for their dependencies. -
-
diff --git a/node_modules/run-applescript/node_modules/mimic-fn/index.d.ts b/node_modules/run-applescript/node_modules/mimic-fn/index.d.ts deleted file mode 100644 index b4047d5890..0000000000 --- a/node_modules/run-applescript/node_modules/mimic-fn/index.d.ts +++ /dev/null @@ -1,54 +0,0 @@ -declare const mimicFn: { - /** - Make a function mimic another one. It will copy over the properties `name`, `length`, `displayName`, and any custom properties you may have set. - - @param to - Mimicking function. - @param from - Function to mimic. - @returns The modified `to` function. - - @example - ``` - import mimicFn = require('mimic-fn'); - - function foo() {} - foo.unicorn = '🦄'; - - function wrapper() { - return foo(); - } - - console.log(wrapper.name); - //=> 'wrapper' - - mimicFn(wrapper, foo); - - console.log(wrapper.name); - //=> 'foo' - - console.log(wrapper.unicorn); - //=> '🦄' - ``` - */ - < - ArgumentsType extends unknown[], - ReturnType, - FunctionType extends (...arguments: ArgumentsType) => ReturnType - >( - to: (...arguments: ArgumentsType) => ReturnType, - from: FunctionType - ): FunctionType; - - // TODO: Remove this for the next major release, refactor the whole definition to: - // declare function mimicFn< - // ArgumentsType extends unknown[], - // ReturnType, - // FunctionType extends (...arguments: ArgumentsType) => ReturnType - // >( - // to: (...arguments: ArgumentsType) => ReturnType, - // from: FunctionType - // ): FunctionType; - // export = mimicFn; - default: typeof mimicFn; -}; - -export = mimicFn; diff --git a/node_modules/run-applescript/node_modules/mimic-fn/index.js b/node_modules/run-applescript/node_modules/mimic-fn/index.js deleted file mode 100644 index 1a59705175..0000000000 --- a/node_modules/run-applescript/node_modules/mimic-fn/index.js +++ /dev/null @@ -1,13 +0,0 @@ -'use strict'; - -const mimicFn = (to, from) => { - for (const prop of Reflect.ownKeys(from)) { - Object.defineProperty(to, prop, Object.getOwnPropertyDescriptor(from, prop)); - } - - return to; -}; - -module.exports = mimicFn; -// TODO: Remove this for the next major release -module.exports.default = mimicFn; diff --git a/node_modules/run-applescript/node_modules/mimic-fn/license b/node_modules/run-applescript/node_modules/mimic-fn/license deleted file mode 100644 index e7af2f7710..0000000000 --- a/node_modules/run-applescript/node_modules/mimic-fn/license +++ /dev/null @@ -1,9 +0,0 @@ -MIT License - -Copyright (c) Sindre Sorhus (sindresorhus.com) - -Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/node_modules/run-applescript/node_modules/mimic-fn/package.json b/node_modules/run-applescript/node_modules/mimic-fn/package.json deleted file mode 100644 index 5c00a5ae07..0000000000 --- a/node_modules/run-applescript/node_modules/mimic-fn/package.json +++ /dev/null @@ -1,42 +0,0 @@ -{ - "name": "mimic-fn", - "version": "2.1.0", - "description": "Make a function mimic another one", - "license": "MIT", - "repository": "sindresorhus/mimic-fn", - "author": { - "name": "Sindre Sorhus", - "email": "sindresorhus@gmail.com", - "url": "sindresorhus.com" - }, - "engines": { - "node": ">=6" - }, - "scripts": { - "test": "xo && ava && tsd" - }, - "files": [ - "index.js", - "index.d.ts" - ], - "keywords": [ - "function", - "mimic", - "imitate", - "rename", - "copy", - "inherit", - "properties", - "name", - "func", - "fn", - "set", - "infer", - "change" - ], - "devDependencies": { - "ava": "^1.4.1", - "tsd": "^0.7.1", - "xo": "^0.24.0" - } -} diff --git a/node_modules/run-applescript/node_modules/mimic-fn/readme.md b/node_modules/run-applescript/node_modules/mimic-fn/readme.md deleted file mode 100644 index 0ef8a13d7e..0000000000 --- a/node_modules/run-applescript/node_modules/mimic-fn/readme.md +++ /dev/null @@ -1,69 +0,0 @@ -# mimic-fn [![Build Status](https://travis-ci.org/sindresorhus/mimic-fn.svg?branch=master)](https://travis-ci.org/sindresorhus/mimic-fn) - -> Make a function mimic another one - -Useful when you wrap a function in another function and like to preserve the original name and other properties. - - -## Install - -``` -$ npm install mimic-fn -``` - - -## Usage - -```js -const mimicFn = require('mimic-fn'); - -function foo() {} -foo.unicorn = '🦄'; - -function wrapper() { - return foo(); -} - -console.log(wrapper.name); -//=> 'wrapper' - -mimicFn(wrapper, foo); - -console.log(wrapper.name); -//=> 'foo' - -console.log(wrapper.unicorn); -//=> '🦄' -``` - - -## API - -It will copy over the properties `name`, `length`, `displayName`, and any custom properties you may have set. - -### mimicFn(to, from) - -Modifies the `to` function and returns it. - -#### to - -Type: `Function` - -Mimicking function. - -#### from - -Type: `Function` - -Function to mimic. - - -## Related - -- [rename-fn](https://github.com/sindresorhus/rename-fn) - Rename a function -- [keep-func-props](https://github.com/ehmicky/keep-func-props) - Wrap a function without changing its name, length and other properties - - -## License - -MIT © [Sindre Sorhus](https://sindresorhus.com) diff --git a/node_modules/run-applescript/node_modules/npm-run-path/index.d.ts b/node_modules/run-applescript/node_modules/npm-run-path/index.d.ts deleted file mode 100644 index af10d41a67..0000000000 --- a/node_modules/run-applescript/node_modules/npm-run-path/index.d.ts +++ /dev/null @@ -1,89 +0,0 @@ -declare namespace npmRunPath { - interface RunPathOptions { - /** - Working directory. - - @default process.cwd() - */ - readonly cwd?: string; - - /** - PATH to be appended. Default: [`PATH`](https://github.com/sindresorhus/path-key). - - Set it to an empty string to exclude the default PATH. - */ - readonly path?: string; - - /** - Path to the Node.js executable to use in child processes if that is different from the current one. Its directory is pushed to the front of PATH. - - This can be either an absolute path or a path relative to the `cwd` option. - - @default process.execPath - */ - readonly execPath?: string; - } - - interface ProcessEnv { - [key: string]: string | undefined; - } - - interface EnvOptions { - /** - Working directory. - - @default process.cwd() - */ - readonly cwd?: string; - - /** - Accepts an object of environment variables, like `process.env`, and modifies the PATH using the correct [PATH key](https://github.com/sindresorhus/path-key). Use this if you're modifying the PATH for use in the `child_process` options. - */ - readonly env?: ProcessEnv; - - /** - Path to the current Node.js executable. Its directory is pushed to the front of PATH. - - This can be either an absolute path or a path relative to the `cwd` option. - - @default process.execPath - */ - readonly execPath?: string; - } -} - -declare const npmRunPath: { - /** - Get your [PATH](https://en.wikipedia.org/wiki/PATH_(variable)) prepended with locally installed binaries. - - @returns The augmented path string. - - @example - ``` - import * as childProcess from 'child_process'; - import npmRunPath = require('npm-run-path'); - - console.log(process.env.PATH); - //=> '/usr/local/bin' - - console.log(npmRunPath()); - //=> '/Users/sindresorhus/dev/foo/node_modules/.bin:/Users/sindresorhus/dev/node_modules/.bin:/Users/sindresorhus/node_modules/.bin:/Users/node_modules/.bin:/node_modules/.bin:/usr/local/bin' - - // `foo` is a locally installed binary - childProcess.execFileSync('foo', { - env: npmRunPath.env() - }); - ``` - */ - (options?: npmRunPath.RunPathOptions): string; - - /** - @returns The augmented [`process.env`](https://nodejs.org/api/process.html#process_process_env) object. - */ - env(options?: npmRunPath.EnvOptions): npmRunPath.ProcessEnv; - - // TODO: Remove this for the next major release - default: typeof npmRunPath; -}; - -export = npmRunPath; diff --git a/node_modules/run-applescript/node_modules/npm-run-path/index.js b/node_modules/run-applescript/node_modules/npm-run-path/index.js deleted file mode 100644 index 8c94abc986..0000000000 --- a/node_modules/run-applescript/node_modules/npm-run-path/index.js +++ /dev/null @@ -1,47 +0,0 @@ -'use strict'; -const path = require('path'); -const pathKey = require('path-key'); - -const npmRunPath = options => { - options = { - cwd: process.cwd(), - path: process.env[pathKey()], - execPath: process.execPath, - ...options - }; - - let previous; - let cwdPath = path.resolve(options.cwd); - const result = []; - - while (previous !== cwdPath) { - result.push(path.join(cwdPath, 'node_modules/.bin')); - previous = cwdPath; - cwdPath = path.resolve(cwdPath, '..'); - } - - // Ensure the running `node` binary is used - const execPathDir = path.resolve(options.cwd, options.execPath, '..'); - result.push(execPathDir); - - return result.concat(options.path).join(path.delimiter); -}; - -module.exports = npmRunPath; -// TODO: Remove this for the next major release -module.exports.default = npmRunPath; - -module.exports.env = options => { - options = { - env: process.env, - ...options - }; - - const env = {...options.env}; - const path = pathKey({env}); - - options.path = env[path]; - env[path] = module.exports(options); - - return env; -}; diff --git a/node_modules/run-applescript/node_modules/npm-run-path/license b/node_modules/run-applescript/node_modules/npm-run-path/license deleted file mode 100644 index e7af2f7710..0000000000 --- a/node_modules/run-applescript/node_modules/npm-run-path/license +++ /dev/null @@ -1,9 +0,0 @@ -MIT License - -Copyright (c) Sindre Sorhus (sindresorhus.com) - -Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/node_modules/run-applescript/node_modules/npm-run-path/package.json b/node_modules/run-applescript/node_modules/npm-run-path/package.json deleted file mode 100644 index 39497091c3..0000000000 --- a/node_modules/run-applescript/node_modules/npm-run-path/package.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "name": "npm-run-path", - "version": "4.0.1", - "description": "Get your PATH prepended with locally installed binaries", - "license": "MIT", - "repository": "sindresorhus/npm-run-path", - "author": { - "name": "Sindre Sorhus", - "email": "sindresorhus@gmail.com", - "url": "sindresorhus.com" - }, - "engines": { - "node": ">=8" - }, - "scripts": { - "test": "xo && ava && tsd" - }, - "files": [ - "index.js", - "index.d.ts" - ], - "keywords": [ - "npm", - "run", - "path", - "package", - "bin", - "binary", - "binaries", - "script", - "cli", - "command-line", - "execute", - "executable" - ], - "dependencies": { - "path-key": "^3.0.0" - }, - "devDependencies": { - "ava": "^1.4.1", - "tsd": "^0.7.2", - "xo": "^0.24.0" - } -} diff --git a/node_modules/run-applescript/node_modules/npm-run-path/readme.md b/node_modules/run-applescript/node_modules/npm-run-path/readme.md deleted file mode 100644 index 557fbeb6c4..0000000000 --- a/node_modules/run-applescript/node_modules/npm-run-path/readme.md +++ /dev/null @@ -1,115 +0,0 @@ -# npm-run-path [![Build Status](https://travis-ci.org/sindresorhus/npm-run-path.svg?branch=master)](https://travis-ci.org/sindresorhus/npm-run-path) - -> Get your [PATH](https://en.wikipedia.org/wiki/PATH_(variable)) prepended with locally installed binaries - -In [npm run scripts](https://docs.npmjs.com/cli/run-script) you can execute locally installed binaries by name. This enables the same outside npm. - - -## Install - -``` -$ npm install npm-run-path -``` - - -## Usage - -```js -const childProcess = require('child_process'); -const npmRunPath = require('npm-run-path'); - -console.log(process.env.PATH); -//=> '/usr/local/bin' - -console.log(npmRunPath()); -//=> '/Users/sindresorhus/dev/foo/node_modules/.bin:/Users/sindresorhus/dev/node_modules/.bin:/Users/sindresorhus/node_modules/.bin:/Users/node_modules/.bin:/node_modules/.bin:/usr/local/bin' - -// `foo` is a locally installed binary -childProcess.execFileSync('foo', { - env: npmRunPath.env() -}); -``` - - -## API - -### npmRunPath(options?) - -Returns the augmented path string. - -#### options - -Type: `object` - -##### cwd - -Type: `string`
-Default: `process.cwd()` - -Working directory. - -##### path - -Type: `string`
-Default: [`PATH`](https://github.com/sindresorhus/path-key) - -PATH to be appended.
-Set it to an empty string to exclude the default PATH. - -##### execPath - -Type: `string`
-Default: `process.execPath` - -Path to the current Node.js executable. Its directory is pushed to the front of PATH. - -This can be either an absolute path or a path relative to the [`cwd` option](#cwd). - -### npmRunPath.env(options?) - -Returns the augmented [`process.env`](https://nodejs.org/api/process.html#process_process_env) object. - -#### options - -Type: `object` - -##### cwd - -Type: `string`
-Default: `process.cwd()` - -Working directory. - -##### env - -Type: `Object` - -Accepts an object of environment variables, like `process.env`, and modifies the PATH using the correct [PATH key](https://github.com/sindresorhus/path-key). Use this if you're modifying the PATH for use in the `child_process` options. - -##### execPath - -Type: `string`
-Default: `process.execPath` - -Path to the Node.js executable to use in child processes if that is different from the current one. Its directory is pushed to the front of PATH. - -This can be either an absolute path or a path relative to the [`cwd` option](#cwd). - - -## Related - -- [npm-run-path-cli](https://github.com/sindresorhus/npm-run-path-cli) - CLI for this module -- [execa](https://github.com/sindresorhus/execa) - Execute a locally installed binary - - ---- - -
- - Get professional support for this package with a Tidelift subscription - -
- - Tidelift helps make open source sustainable for maintainers while giving companies
assurances about security, maintenance, and licensing for their dependencies. -
-
diff --git a/node_modules/run-applescript/node_modules/onetime/index.d.ts b/node_modules/run-applescript/node_modules/onetime/index.d.ts deleted file mode 100644 index ea84caba32..0000000000 --- a/node_modules/run-applescript/node_modules/onetime/index.d.ts +++ /dev/null @@ -1,64 +0,0 @@ -declare namespace onetime { - interface Options { - /** - Throw an error when called more than once. - - @default false - */ - throw?: boolean; - } -} - -declare const onetime: { - /** - Ensure a function is only called once. When called multiple times it will return the return value from the first call. - - @param fn - Function that should only be called once. - @returns A function that only calls `fn` once. - - @example - ``` - import onetime = require('onetime'); - - let i = 0; - - const foo = onetime(() => ++i); - - foo(); //=> 1 - foo(); //=> 1 - foo(); //=> 1 - - onetime.callCount(foo); //=> 3 - ``` - */ - ( - fn: (...arguments: ArgumentsType) => ReturnType, - options?: onetime.Options - ): (...arguments: ArgumentsType) => ReturnType; - - /** - Get the number of times `fn` has been called. - - @param fn - Function to get call count from. - @returns A number representing how many times `fn` has been called. - - @example - ``` - import onetime = require('onetime'); - - const foo = onetime(() => {}); - foo(); - foo(); - foo(); - - console.log(onetime.callCount(foo)); - //=> 3 - ``` - */ - callCount(fn: (...arguments: any[]) => unknown): number; - - // TODO: Remove this for the next major release - default: typeof onetime; -}; - -export = onetime; diff --git a/node_modules/run-applescript/node_modules/onetime/index.js b/node_modules/run-applescript/node_modules/onetime/index.js deleted file mode 100644 index 99c5fc1cb4..0000000000 --- a/node_modules/run-applescript/node_modules/onetime/index.js +++ /dev/null @@ -1,44 +0,0 @@ -'use strict'; -const mimicFn = require('mimic-fn'); - -const calledFunctions = new WeakMap(); - -const onetime = (function_, options = {}) => { - if (typeof function_ !== 'function') { - throw new TypeError('Expected a function'); - } - - let returnValue; - let callCount = 0; - const functionName = function_.displayName || function_.name || ''; - - const onetime = function (...arguments_) { - calledFunctions.set(onetime, ++callCount); - - if (callCount === 1) { - returnValue = function_.apply(this, arguments_); - function_ = null; - } else if (options.throw === true) { - throw new Error(`Function \`${functionName}\` can only be called once`); - } - - return returnValue; - }; - - mimicFn(onetime, function_); - calledFunctions.set(onetime, callCount); - - return onetime; -}; - -module.exports = onetime; -// TODO: Remove this for the next major release -module.exports.default = onetime; - -module.exports.callCount = function_ => { - if (!calledFunctions.has(function_)) { - throw new Error(`The given function \`${function_.name}\` is not wrapped by the \`onetime\` package`); - } - - return calledFunctions.get(function_); -}; diff --git a/node_modules/run-applescript/node_modules/onetime/license b/node_modules/run-applescript/node_modules/onetime/license deleted file mode 100644 index fa7ceba3eb..0000000000 --- a/node_modules/run-applescript/node_modules/onetime/license +++ /dev/null @@ -1,9 +0,0 @@ -MIT License - -Copyright (c) Sindre Sorhus (https://sindresorhus.com) - -Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/node_modules/run-applescript/node_modules/onetime/package.json b/node_modules/run-applescript/node_modules/onetime/package.json deleted file mode 100644 index c4fe4e245d..0000000000 --- a/node_modules/run-applescript/node_modules/onetime/package.json +++ /dev/null @@ -1,43 +0,0 @@ -{ - "name": "onetime", - "version": "5.1.2", - "description": "Ensure a function is only called once", - "license": "MIT", - "repository": "sindresorhus/onetime", - "funding": "https://github.com/sponsors/sindresorhus", - "author": { - "name": "Sindre Sorhus", - "email": "sindresorhus@gmail.com", - "url": "https://sindresorhus.com" - }, - "engines": { - "node": ">=6" - }, - "scripts": { - "test": "xo && ava && tsd" - }, - "files": [ - "index.js", - "index.d.ts" - ], - "keywords": [ - "once", - "function", - "one", - "onetime", - "func", - "fn", - "single", - "call", - "called", - "prevent" - ], - "dependencies": { - "mimic-fn": "^2.1.0" - }, - "devDependencies": { - "ava": "^1.4.1", - "tsd": "^0.7.1", - "xo": "^0.24.0" - } -} diff --git a/node_modules/run-applescript/node_modules/onetime/readme.md b/node_modules/run-applescript/node_modules/onetime/readme.md deleted file mode 100644 index 2d133d3a09..0000000000 --- a/node_modules/run-applescript/node_modules/onetime/readme.md +++ /dev/null @@ -1,94 +0,0 @@ -# onetime [![Build Status](https://travis-ci.com/sindresorhus/onetime.svg?branch=master)](https://travis-ci.com/github/sindresorhus/onetime) - -> Ensure a function is only called once - -When called multiple times it will return the return value from the first call. - -*Unlike the module [once](https://github.com/isaacs/once), this one isn't naughty and extending `Function.prototype`.* - -## Install - -``` -$ npm install onetime -``` - -## Usage - -```js -const onetime = require('onetime'); - -let i = 0; - -const foo = onetime(() => ++i); - -foo(); //=> 1 -foo(); //=> 1 -foo(); //=> 1 - -onetime.callCount(foo); //=> 3 -``` - -```js -const onetime = require('onetime'); - -const foo = onetime(() => {}, {throw: true}); - -foo(); - -foo(); -//=> Error: Function `foo` can only be called once -``` - -## API - -### onetime(fn, options?) - -Returns a function that only calls `fn` once. - -#### fn - -Type: `Function` - -Function that should only be called once. - -#### options - -Type: `object` - -##### throw - -Type: `boolean`\ -Default: `false` - -Throw an error when called more than once. - -### onetime.callCount(fn) - -Returns a number representing how many times `fn` has been called. - -Note: It throws an error if you pass in a function that is not wrapped by `onetime`. - -```js -const onetime = require('onetime'); - -const foo = onetime(() => {}); - -foo(); -foo(); -foo(); - -console.log(onetime.callCount(foo)); -//=> 3 -``` - -#### fn - -Type: `Function` - -Function to get call count from. - -## onetime for enterprise - -Available as part of the Tidelift Subscription. - -The maintainers of onetime and thousands of other packages are working with Tidelift to deliver commercial support and maintenance for the open source dependencies you use to build your applications. Save time, reduce risk, and improve code health, while paying the maintainers of the exact dependencies you use. [Learn more.](https://tidelift.com/subscription/pkg/npm-onetime?utm_source=npm-onetime&utm_medium=referral&utm_campaign=enterprise&utm_term=repo) diff --git a/node_modules/run-applescript/node_modules/strip-final-newline/index.js b/node_modules/run-applescript/node_modules/strip-final-newline/index.js deleted file mode 100644 index 78fc0c5939..0000000000 --- a/node_modules/run-applescript/node_modules/strip-final-newline/index.js +++ /dev/null @@ -1,16 +0,0 @@ -'use strict'; - -module.exports = input => { - const LF = typeof input === 'string' ? '\n' : '\n'.charCodeAt(); - const CR = typeof input === 'string' ? '\r' : '\r'.charCodeAt(); - - if (input[input.length - 1] === LF) { - input = input.slice(0, input.length - 1); - } - - if (input[input.length - 1] === CR) { - input = input.slice(0, input.length - 1); - } - - return input; -}; diff --git a/node_modules/run-applescript/node_modules/strip-final-newline/license b/node_modules/run-applescript/node_modules/strip-final-newline/license deleted file mode 100644 index e7af2f7710..0000000000 --- a/node_modules/run-applescript/node_modules/strip-final-newline/license +++ /dev/null @@ -1,9 +0,0 @@ -MIT License - -Copyright (c) Sindre Sorhus (sindresorhus.com) - -Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/node_modules/run-applescript/node_modules/strip-final-newline/package.json b/node_modules/run-applescript/node_modules/strip-final-newline/package.json deleted file mode 100644 index 40b7e802c9..0000000000 --- a/node_modules/run-applescript/node_modules/strip-final-newline/package.json +++ /dev/null @@ -1,40 +0,0 @@ -{ - "name": "strip-final-newline", - "version": "2.0.0", - "description": "Strip the final newline character from a string/buffer", - "license": "MIT", - "repository": "sindresorhus/strip-final-newline", - "author": { - "name": "Sindre Sorhus", - "email": "sindresorhus@gmail.com", - "url": "sindresorhus.com" - }, - "engines": { - "node": ">=6" - }, - "scripts": { - "test": "xo && ava" - }, - "files": [ - "index.js" - ], - "keywords": [ - "strip", - "trim", - "remove", - "delete", - "final", - "last", - "end", - "file", - "newline", - "linebreak", - "character", - "string", - "buffer" - ], - "devDependencies": { - "ava": "^0.25.0", - "xo": "^0.23.0" - } -} diff --git a/node_modules/run-applescript/node_modules/strip-final-newline/readme.md b/node_modules/run-applescript/node_modules/strip-final-newline/readme.md deleted file mode 100644 index 32dfd50904..0000000000 --- a/node_modules/run-applescript/node_modules/strip-final-newline/readme.md +++ /dev/null @@ -1,30 +0,0 @@ -# strip-final-newline [![Build Status](https://travis-ci.com/sindresorhus/strip-final-newline.svg?branch=master)](https://travis-ci.com/sindresorhus/strip-final-newline) - -> Strip the final [newline character](https://en.wikipedia.org/wiki/Newline) from a string/buffer - -Can be useful when parsing the output of, for example, `ChildProcess#execFile`, as [binaries usually output a newline at the end](https://stackoverflow.com/questions/729692/why-should-text-files-end-with-a-newline). Normally, you would use `stdout.trim()`, but that would also remove newlines at the start and whitespace. - - -## Install - -``` -$ npm install strip-final-newline -``` - - -## Usage - -```js -const stripFinalNewline = require('strip-final-newline'); - -stripFinalNewline('foo\nbar\n\n'); -//=> 'foo\nbar\n' - -stripFinalNewline(Buffer.from('foo\nbar\n\n')).toString(); -//=> 'foo\nbar\n' -``` - - -## License - -MIT © [Sindre Sorhus](https://sindresorhus.com) diff --git a/node_modules/run-applescript/package.json b/node_modules/run-applescript/package.json deleted file mode 100644 index e633c76272..0000000000 --- a/node_modules/run-applescript/package.json +++ /dev/null @@ -1,41 +0,0 @@ -{ - "name": "run-applescript", - "version": "5.0.0", - "description": "Run AppleScript and get the result", - "license": "MIT", - "repository": "sindresorhus/run-applescript", - "funding": "https://github.com/sponsors/sindresorhus", - "author": { - "name": "Sindre Sorhus", - "email": "sindresorhus@gmail.com", - "url": "https://sindresorhus.com" - }, - "type": "module", - "exports": "./index.js", - "engines": { - "node": ">=12" - }, - "scripts": { - "test": "xo && ava && tsd" - }, - "files": [ - "index.js", - "index.d.ts" - ], - "keywords": [ - "macos", - "mac", - "applescript", - "osascript", - "run", - "execute" - ], - "dependencies": { - "execa": "^5.0.0" - }, - "devDependencies": { - "ava": "^3.15.0", - "tsd": "^0.14.0", - "xo": "^0.38.2" - } -} diff --git a/node_modules/run-applescript/readme.md b/node_modules/run-applescript/readme.md deleted file mode 100644 index 86ed498c58..0000000000 --- a/node_modules/run-applescript/readme.md +++ /dev/null @@ -1,34 +0,0 @@ -# run-applescript - -> Run AppleScript and get the result - -## Install - -``` -$ npm install run-applescript -``` - -## Usage - -```js -import {runAppleScriptAsync} from 'run-applescript'; - -const result = await runAppleScriptAsync('return "unicorn"'); - -console.log(result); -//=> 'unicorn' -``` - -## API - -### runAppleScriptAsync(script) - -Returns a `Promise` with the script result. - -### runAppleScriptSync(script) - -Returns a `string` with the script result. - -## Related - -- [run-jxa](https://github.com/sindresorhus/run-jxa) - Run JXA code and get the result diff --git a/node_modules/synckit/README.md b/node_modules/synckit/README.md index b6f8499363..153ae783b2 100644 --- a/node_modules/synckit/README.md +++ b/node_modules/synckit/README.md @@ -2,7 +2,6 @@ [![GitHub Actions](https://github.com/un-ts/synckit/workflows/CI/badge.svg)](https://github.com/un-ts/synckit/actions/workflows/ci.yml) [![Codecov](https://img.shields.io/codecov/c/github/un-ts/synckit.svg)](https://codecov.io/gh/un-ts/synckit) -[![Language grade: JavaScript](https://img.shields.io/lgtm/grade/javascript/g/un-ts/synckit.svg?logo=lgtm&logoWidth=18)](https://lgtm.com/projects/g/un-ts/synckit/context:javascript) [![type-coverage](https://img.shields.io/badge/dynamic/json.svg?label=type-coverage&prefix=%E2%89%A5&suffix=%&query=$.typeCoverage.atLeast&uri=https%3A%2F%2Fraw.githubusercontent.com%2Fun-ts%2Fsynckit%2Fmain%2Fpackage.json)](https://github.com/plantain-00/type-coverage) [![npm](https://img.shields.io/npm/v/synckit.svg)](https://www.npmjs.com/package/synckit) [![GitHub Release](https://img.shields.io/github/release/un-ts/synckit)](https://github.com/un-ts/synckit/releases) @@ -12,13 +11,14 @@ [![JavaScript Style Guide](https://img.shields.io/badge/code_style-standard-brightgreen.svg)](https://standardjs.com) [![Code Style: Prettier](https://img.shields.io/badge/code_style-prettier-ff69b4.svg)](https://github.com/prettier/prettier) -Perform async work synchronously in Node.js using `worker_threads` with first-class TypeScript support. +Perform async work synchronously in Node.js using `worker_threads` with first-class TypeScript and Yarn P'n'P support. ## TOC - [Usage](#usage) - [Install](#install) - [API](#api) + - [Types](#types) - [Options](#options) - [Envs](#envs) - [TypeScript](#typescript) @@ -72,18 +72,56 @@ runAsWorker(async (...args) => { You must make sure, the `result` is serializable by [`Structured Clone Algorithm`](https://developer.mozilla.org/en-US/docs/Web/API/Web_Workers_API/Structured_clone_algorithm) +### Types + +````ts +export interface GlobalShim { + moduleName: string + /** + * `undefined` means side effect only + */ + globalName?: string + /** + * 1. `undefined` or empty string means `default`, for example: + * ```js + * import globalName from 'module-name' + * ``` + * + * 2. `null` means namespaced, for example: + * ```js + * import * as globalName from 'module-name' + * ``` + * + */ + named?: string | null + /** + * If not `false`, the shim will only be applied when the original `globalName` unavailable, + * for example you may only want polyfill `globalThis.fetch` when it's unavailable natively: + * ```js + * import fetch from 'node-fetch' + * + * if (!globalThis.fetch) { + * globalThis.fetch = fetch + * } + * ``` + */ + conditional?: boolean +} +```` + ### Options -1. `bufferSize` same as env `SYNCKIT_BUFFER_SIZE` -2. `timeout` same as env `SYNCKIT_TIMEOUT` -3. `execArgv` same as env `SYNCKIT_EXEC_ARGV` -4. `tsRunner` same as env `SYNCKIT_TS_RUNNER` +1. `execArgv` same as env `SYNCKIT_EXEC_ARGV` +2. `globalShims`: Similar like env `SYNCKIT_GLOBAL_SHIMS` but much more flexible which can be a `GlobalShim` `Array`, see `GlobalShim`'s [definition](#types) for more details +3. `timeout` same as env `SYNCKIT_TIMEOUT` +4. `transferList`: Please refer Node.js [`worker_threads`](https://nodejs.org/api/worker_threads.html#:~:text=Default%3A%20true.-,transferList,-%3CObject%5B%5D%3E%20If) documentation +5. `tsRunner` same as env `SYNCKIT_TS_RUNNER` ### Envs -1. `SYNCKIT_BUFFER_SIZE`: `bufferSize` to create `SharedArrayBuffer` for `worker_threads` (default as `1024`) -2. `SYNCKIT_TIMEOUT`: `timeout` for performing the async job (no default) -3. `SYNCKIT_EXEC_ARGV`: List of node CLI options passed to the worker, split with comma `,`. (default as `[]`), see also [`node` docs](https://nodejs.org/api/worker_threads.html) +1. `SYNCKIT_EXEC_ARGV`: List of node CLI options passed to the worker, split with comma `,`. (default as `[]`), see also [`node` docs](https://nodejs.org/api/worker_threads.html) +2. `SYNCKIT_GLOBAL_SHIMS`: Whether to enable the default `DEFAULT_GLOBAL_SHIMS_PRESET` as `globalShims` +3. `SYNCKIT_TIMEOUT`: `timeout` for performing the async job (no default) 4. `SYNCKIT_TS_RUNNER`: Which TypeScript runner to be used, it could be very useful for development, could be `'ts-node' | 'esbuild-register' | 'esbuild-runner' | 'swc' | 'tsx'`, `'ts-node'` is used by default, make sure you have installed them already ### TypeScript @@ -114,9 +152,9 @@ Please view [`tsx`][] for its document ## Benchmark -It is about 20x faster than [`sync-threads`](https://github.com/lambci/sync-threads) but 3x slower than native for reading the file content itself 1000 times during runtime, and 18x faster than `sync-threads` but 4x slower than native for total time. +It is about 50x faster than [`sync-threads`](https://github.com/lambci/sync-threads) but 10x slower than native for reading the file content itself 1000 times during runtime, and 40x faster than `sync-threads` but 10x slower than native for total time on my personal MacBook Pro with 64G M1 Max. -And it's almost same as [`deasync`](https://github.com/abbr/deasync) but requires no native bindings or `node-gyp`. +And it's almost 5x faster than [`deasync`](https://github.com/abbr/deasync) but requires no native bindings or `node-gyp`. See [benchmark.cjs](./benchmarks/benchmark.cjs.txt) and [benchmark.esm](./benchmarks/benchmark.esm.txt) for more details. @@ -130,6 +168,8 @@ You can try it with running `yarn benchmark` by yourself. [Here](./benchmarks/be ## Backers +[![Backers](https://raw.githubusercontent.com/1stG/static/master/sponsors.svg)](https://github.com/sponsors/JounQin) + | 1stG | RxTS | UnTS | | -------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------- | | [![1stG Open Collective backers and sponsors](https://opencollective.com/1stG/individuals.svg)](https://opencollective.com/1stG) | [![RxTS Open Collective backers and sponsors](https://opencollective.com/rxts/individuals.svg)](https://opencollective.com/rxts) | [![UnTS Open Collective backers and sponsors](https://opencollective.com/unts/individuals.svg)](https://opencollective.com/unts) | diff --git a/node_modules/synckit/lib/index.cjs b/node_modules/synckit/lib/index.cjs index 6e2655ca83..6169304d44 100644 --- a/node_modules/synckit/lib/index.cjs +++ b/node_modules/synckit/lib/index.cjs @@ -1,19 +1,41 @@ 'use strict'; -Object.defineProperty(exports, '__esModule', { value: true }); - +var node_crypto = require('node:crypto'); var fs = require('node:fs'); -var node_module = require('node:module'); +var module$1 = require('node:module'); var path = require('node:path'); var node_url = require('node:url'); var node_worker_threads = require('node:worker_threads'); -var utils = require('@pkgr/utils'); - -function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; } - -var fs__default = /*#__PURE__*/_interopDefaultLegacy(fs); -var path__default = /*#__PURE__*/_interopDefaultLegacy(path); +var core = require('@pkgr/core'); +var __defProp = Object.defineProperty; +var __getOwnPropSymbols = Object.getOwnPropertySymbols; +var __hasOwnProp = Object.prototype.hasOwnProperty; +var __propIsEnum = Object.prototype.propertyIsEnumerable; +var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value; +var __spreadValues = (a, b) => { + for (var prop in b || (b = {})) + if (__hasOwnProp.call(b, prop)) + __defNormalProp(a, prop, b[prop]); + if (__getOwnPropSymbols) + for (var prop of __getOwnPropSymbols(b)) { + if (__propIsEnum.call(b, prop)) + __defNormalProp(a, prop, b[prop]); + } + return a; +}; +var __objRest = (source, exclude) => { + var target = {}; + for (var prop in source) + if (__hasOwnProp.call(source, prop) && exclude.indexOf(prop) < 0) + target[prop] = source[prop]; + if (source != null && __getOwnPropSymbols) + for (var prop of __getOwnPropSymbols(source)) { + if (exclude.indexOf(prop) < 0 && __propIsEnum.call(source, prop)) + target[prop] = source[prop]; + } + return target; +}; var __async = (__this, __arguments, generator) => { return new Promise((resolve, reject) => { var fulfilled = (value) => { @@ -35,27 +57,46 @@ var __async = (__this, __arguments, generator) => { }); }; const import_meta = {}; +const INT32_BYTES = 4; const TsRunner = { + // https://github.com/TypeStrong/ts-node TsNode: "ts-node", + // https://github.com/egoist/esbuild-register EsbuildRegister: "esbuild-register", + // https://github.com/folke/esbuild-runner EsbuildRunner: "esbuild-runner", + // https://github.com/swc-project/swc-node/tree/master/packages/register SWC: "swc", + // https://github.com/esbuild-kit/tsx TSX: "tsx" }; const { - SYNCKIT_BUFFER_SIZE, - SYNCKIT_TIMEOUT, + NODE_OPTIONS, SYNCKIT_EXEC_ARGV, - SYNCKIT_TS_RUNNER, - NODE_OPTIONS + SYNCKIT_GLOBAL_SHIMS, + SYNCKIT_TIMEOUT, + SYNCKIT_TS_RUNNER } = process.env; -const DEFAULT_BUFFER_SIZE = SYNCKIT_BUFFER_SIZE ? +SYNCKIT_BUFFER_SIZE : void 0; +const IS_NODE_20 = Number(process.versions.node.split(".")[0]) >= 20; const DEFAULT_TIMEOUT = SYNCKIT_TIMEOUT ? +SYNCKIT_TIMEOUT : void 0; -const DEFAULT_WORKER_BUFFER_SIZE = DEFAULT_BUFFER_SIZE || 1024; const DEFAULT_EXEC_ARGV = (SYNCKIT_EXEC_ARGV == null ? void 0 : SYNCKIT_EXEC_ARGV.split(",")) || []; -const DEFAULT_TS_RUNNER = SYNCKIT_TS_RUNNER || TsRunner.TsNode; +const DEFAULT_TS_RUNNER = SYNCKIT_TS_RUNNER; +const DEFAULT_GLOBAL_SHIMS = ["1", "true"].includes( + SYNCKIT_GLOBAL_SHIMS +); +const DEFAULT_GLOBAL_SHIMS_PRESET = [ + { + moduleName: "node-fetch", + globalName: "fetch" + }, + { + moduleName: "node:perf_hooks", + globalName: "performance", + named: "performance" + } +]; const MTS_SUPPORTED_NODE_VERSION = 16; -const syncFnCache = /* @__PURE__ */ new Map(); +let syncFnCache; function extractProperties(object) { if (object && typeof object === "object") { const properties = {}; @@ -65,64 +106,77 @@ function extractProperties(object) { return properties; } } -function createSyncFn(workerPath, bufferSizeOrOptions, timeout) { - if (!path__default["default"].isAbsolute(workerPath)) { - throw new Error("`workerPath` must be absolute"); - } +function createSyncFn(workerPath, timeoutOrOptions) { + syncFnCache != null ? syncFnCache : syncFnCache = /* @__PURE__ */ new Map(); const cachedSyncFn = syncFnCache.get(workerPath); if (cachedSyncFn) { return cachedSyncFn; } + if (!path.isAbsolute(workerPath)) { + throw new Error("`workerPath` must be absolute"); + } const syncFn = startWorkerThread( workerPath, - typeof bufferSizeOrOptions === "number" ? { bufferSize: bufferSizeOrOptions, timeout } : bufferSizeOrOptions + /* istanbul ignore next */ + typeof timeoutOrOptions === "number" ? { timeout: timeoutOrOptions } : timeoutOrOptions ); syncFnCache.set(workerPath, syncFn); return syncFn; } -const cjsRequire = typeof require === "undefined" ? node_module.createRequire(import_meta.url) : require; +const cjsRequire = typeof require === "undefined" ? module$1.createRequire(import_meta.url) : ( + /* istanbul ignore next */ + require +); const dataUrl = (code) => new URL(`data:text/javascript,${encodeURIComponent(code)}`); const isFile = (path2) => { + var _a; try { - return fs__default["default"].statSync(path2).isFile(); + return !!((_a = fs.statSync(path2, { throwIfNoEntry: false })) == null ? void 0 : _a.isFile()); } catch (e) { return false; } }; const setupTsRunner = (workerPath, { execArgv, tsRunner }) => { - let ext = path__default["default"].extname(workerPath); + let ext = path.extname(workerPath); if (!/[/\\]node_modules[/\\]/.test(workerPath) && (!ext || /^\.[cm]?js$/.test(ext))) { const workPathWithoutExt = ext ? workerPath.slice(0, -ext.length) : workerPath; let extensions; switch (ext) { - case ".cjs": + case ".cjs": { extensions = [".cts", ".cjs"]; break; - case ".mjs": + } + case ".mjs": { extensions = [".mts", ".mjs"]; break; - default: + } + default: { extensions = [".ts", ".js"]; break; + } } - const found = utils.tryExtensions(workPathWithoutExt, extensions); + const found = core.tryExtensions(workPathWithoutExt, extensions); let differentExt; if (found && (!ext || (differentExt = found !== workPathWithoutExt))) { workerPath = found; if (differentExt) { - ext = path__default["default"].extname(workerPath); + ext = path.extname(workerPath); } } } const isTs = /\.[cm]?ts$/.test(workerPath); + let jsUseEsm = workerPath.endsWith(".mjs"); let tsUseEsm = workerPath.endsWith(".mts"); if (isTs) { if (!tsUseEsm) { - const pkg = utils.findUp(workerPath); + const pkg = core.findUp(workerPath); if (pkg) { tsUseEsm = cjsRequire(pkg).type === "module"; } } + if (tsRunner == null && core.isPkgAvailable(TsRunner.TsNode)) { + tsRunner = TsRunner.TsNode; + } switch (tsRunner) { case TsRunner.TsNode: { if (tsUseEsm) { @@ -162,7 +216,13 @@ const setupTsRunner = (workerPath, { execArgv, tsRunner }) => { throw new Error(`Unknown ts runner: ${String(tsRunner)}`); } } + } else if (!jsUseEsm) { + const pkg = core.findUp(workerPath); + if (pkg) { + jsUseEsm = cjsRequire(pkg).type === "module"; + } } + let resolvedPnpLoaderPath; if (process.versions.pnp) { const nodeOptions = NODE_OPTIONS == null ? void 0 : NODE_OPTIONS.split(/\s+/); let pnpApiPath; @@ -174,79 +234,182 @@ const setupTsRunner = (workerPath, { execArgv, tsRunner }) => { (option, index) => ["-r", "--require"].includes(option) && pnpApiPath === cjsRequire.resolve(nodeOptions[index + 1]) )) && !execArgv.includes(pnpApiPath)) { execArgv = ["-r", pnpApiPath, ...execArgv]; - const pnpLoaderPath = path__default["default"].resolve(pnpApiPath, "../.pnp.loader.mjs"); + const pnpLoaderPath = path.resolve(pnpApiPath, "../.pnp.loader.mjs"); if (isFile(pnpLoaderPath)) { - const experimentalLoader = node_url.pathToFileURL(pnpLoaderPath).toString(); - execArgv = ["--experimental-loader", experimentalLoader, ...execArgv]; + resolvedPnpLoaderPath = node_url.pathToFileURL(pnpLoaderPath).toString(); + if (!IS_NODE_20) { + execArgv = [ + "--experimental-loader", + resolvedPnpLoaderPath, + ...execArgv + ]; + } } } } return { ext, isTs, + jsUseEsm, + tsRunner, tsUseEsm, workerPath, + pnpLoaderPath: resolvedPnpLoaderPath, execArgv }; }; +const md5Hash = (text) => node_crypto.createHash("md5").update(text).digest("hex"); +const encodeImportModule = (moduleNameOrGlobalShim, type = "import") => { + const { moduleName, globalName, named, conditional } = typeof moduleNameOrGlobalShim === "string" ? { moduleName: moduleNameOrGlobalShim } : moduleNameOrGlobalShim; + const importStatement = type === "import" ? `import${globalName ? " " + (named === null ? "* as " + globalName : (named == null ? void 0 : named.trim()) ? `{${named}}` : globalName) + " from" : ""} '${path.isAbsolute(moduleName) ? String(node_url.pathToFileURL(moduleName)) : moduleName}'` : `${globalName ? "const " + ((named == null ? void 0 : named.trim()) ? `{${named}}` : globalName) + "=" : ""}require('${moduleName.replace(/\\/g, "\\\\")}')`; + if (!globalName) { + return importStatement; + } + const overrideStatement = `globalThis.${globalName}=${(named == null ? void 0 : named.trim()) ? named : globalName}`; + return importStatement + (conditional === false ? `;${overrideStatement}` : `;if(!globalThis.${globalName})${overrideStatement}`); +}; +const _generateGlobals = (globalShims, type) => globalShims.reduce( + (acc, shim) => `${acc}${acc ? ";" : ""}${encodeImportModule(shim, type)}`, + "" +); +let globalsCache; +let tmpdir; +const _dirname = typeof __dirname === "undefined" ? path.dirname(node_url.fileURLToPath(import_meta.url)) : ( + /* istanbul ignore next */ + __dirname +); +let sharedBuffer; +let sharedBufferView; +const generateGlobals = (workerPath, globalShims, type = "import") => { + globalsCache != null ? globalsCache : globalsCache = /* @__PURE__ */ new Map(); + const cached = globalsCache.get(workerPath); + if (cached) { + const [content2, filepath2] = cached; + if (type === "require" && !filepath2 || type === "import" && filepath2 && isFile(filepath2)) { + return content2; + } + } + const globals = _generateGlobals(globalShims, type); + let content = globals; + let filepath; + if (type === "import") { + if (!tmpdir) { + tmpdir = path.resolve(core.findUp(_dirname), "../node_modules/.synckit"); + } + fs.mkdirSync(tmpdir, { recursive: true }); + filepath = path.resolve(tmpdir, md5Hash(workerPath) + ".mjs"); + content = encodeImportModule(filepath); + fs.writeFileSync(filepath, globals); + } + globalsCache.set(workerPath, [content, filepath]); + return content; +}; function startWorkerThread(workerPath, { - bufferSize = DEFAULT_WORKER_BUFFER_SIZE, timeout = DEFAULT_TIMEOUT, execArgv = DEFAULT_EXEC_ARGV, - tsRunner = DEFAULT_TS_RUNNER + tsRunner = DEFAULT_TS_RUNNER, + transferList = [], + globalShims = DEFAULT_GLOBAL_SHIMS } = {}) { const { port1: mainPort, port2: workerPort } = new node_worker_threads.MessageChannel(); const { isTs, ext, + jsUseEsm, tsUseEsm, + tsRunner: finalTsRunner, workerPath: finalWorkerPath, + pnpLoaderPath, execArgv: finalExecArgv } = setupTsRunner(workerPath, { execArgv, tsRunner }); const workerPathUrl = node_url.pathToFileURL(finalWorkerPath); if (/\.[cm]ts$/.test(finalWorkerPath)) { const isTsxSupported = !tsUseEsm || Number.parseFloat(process.versions.node) >= MTS_SUPPORTED_NODE_VERSION; - if ([ + if (!finalTsRunner) { + throw new Error("No ts runner specified, ts worker path is not supported"); + } else if ([ + // https://github.com/egoist/esbuild-register/issues/79 TsRunner.EsbuildRegister, + // https://github.com/folke/esbuild-runner/issues/67 TsRunner.EsbuildRunner, + // https://github.com/swc-project/swc-node/issues/667 TsRunner.SWC, - ...isTsxSupported ? [] : [TsRunner.TSX] - ].includes(tsRunner)) { + .../* istanbul ignore next */ + isTsxSupported ? [] : [TsRunner.TSX] + ].includes(finalTsRunner)) { throw new Error( - `${tsRunner} is not supported for ${ext} files yet` + (isTsxSupported ? ", you can try [tsx](https://github.com/esbuild-kit/tsx) instead" : "") + `${finalTsRunner} is not supported for ${ext} files yet` + /* istanbul ignore next */ + (isTsxSupported ? ", you can try [tsx](https://github.com/esbuild-kit/tsx) instead" : "") ); } } - const useEval = isTs && !tsUseEsm; + const finalGlobalShims = (globalShims === true ? DEFAULT_GLOBAL_SHIMS_PRESET : Array.isArray(globalShims) ? globalShims : []).filter(({ moduleName }) => core.isPkgAvailable(moduleName)); + sharedBufferView != null ? sharedBufferView : sharedBufferView = new Int32Array( + /* istanbul ignore next */ + sharedBuffer != null ? sharedBuffer : sharedBuffer = new SharedArrayBuffer( + INT32_BYTES + ), + 0, + 1 + ); + const useGlobals = finalGlobalShims.length > 0; + const useEval = isTs ? !tsUseEsm : !jsUseEsm && useGlobals; const worker = new node_worker_threads.Worker( - tsUseEsm && tsRunner === TsRunner.TsNode ? dataUrl(`import '${String(workerPathUrl)}'`) : useEval ? `require('${finalWorkerPath.replace(/\\/g, "\\\\")}')` : workerPathUrl, + jsUseEsm && useGlobals || tsUseEsm && finalTsRunner === TsRunner.TsNode ? dataUrl( + `${generateGlobals( + finalWorkerPath, + finalGlobalShims + )};import '${String(workerPathUrl)}'` + ) : useEval ? `${generateGlobals( + finalWorkerPath, + finalGlobalShims, + "require" + )};${encodeImportModule(finalWorkerPath, "require")}` : workerPathUrl, { eval: useEval, - workerData: { workerPort }, - transferList: [workerPort], + workerData: { sharedBuffer, workerPort, pnpLoaderPath }, + transferList: [workerPort, ...transferList], execArgv: finalExecArgv } ); let nextID = 0; - const syncFn = (...args) => { - const id = nextID++; - const sharedBuffer = new SharedArrayBuffer(bufferSize); - const sharedBufferView = new Int32Array(sharedBuffer); - const msg = { sharedBuffer, id, args }; - worker.postMessage(msg); - const status = Atomics.wait(sharedBufferView, 0, 0, timeout); + const receiveMessageWithId = (port, expectedId, waitingTimeout) => { + const start = Date.now(); + const status = Atomics.wait(sharedBufferView, 0, 0, waitingTimeout); + Atomics.store(sharedBufferView, 0, 0); if (!["ok", "not-equal"].includes(status)) { + const abortMsg = { + id: expectedId, + cmd: "abort" + }; + port.postMessage(abortMsg); throw new Error("Internal error: Atomics.wait() failed: " + status); } - const { - id: id2, - result, - error, - properties - } = node_worker_threads.receiveMessageOnPort(mainPort).message; - if (id !== id2) { - throw new Error(`Internal error: Expected id ${id} but got id ${id2}`); + const _a = node_worker_threads.receiveMessageOnPort(mainPort).message, { id } = _a, message = __objRest(_a, ["id"]); + if (id < expectedId) { + const waitingTime = Date.now() - start; + return receiveMessageWithId( + port, + expectedId, + waitingTimeout ? waitingTimeout - waitingTime : void 0 + ); } + if (expectedId !== id) { + throw new Error( + `Internal error: Expected id ${expectedId} but got id ${id}` + ); + } + return __spreadValues({ id }, message); + }; + const syncFn = (...args) => { + const id = nextID++; + const msg = { id, args }; + worker.postMessage(msg); + const { result, error, properties } = receiveMessageWithId( + mainPort, + id, + timeout + ); if (error) { throw Object.assign(error, properties); } @@ -259,51 +422,51 @@ function runAsWorker(fn) { if (!node_worker_threads.workerData) { return; } - const { workerPort } = node_worker_threads.workerData; - try { - node_worker_threads.parentPort.on( - "message", - ({ sharedBuffer, id, args }) => { - ; - (() => __async(this, null, function* () { - const sharedBufferView = new Int32Array(sharedBuffer); - let msg; - try { - msg = { id, result: yield fn(...args) }; - } catch (error) { - msg = { id, error, properties: extractProperties(error) }; - } - workerPort.postMessage(msg); - Atomics.add(sharedBufferView, 0, 1); - Atomics.notify(sharedBufferView, 0); - }))(); - } - ); - } catch (error) { - node_worker_threads.parentPort.on( - "message", - ({ sharedBuffer, id }) => { - const sharedBufferView = new Int32Array(sharedBuffer); - workerPort.postMessage({ - id, - error, - properties: extractProperties(error) - }); - Atomics.add(sharedBufferView, 0, 1); - Atomics.notify(sharedBufferView, 0); - } - ); + const { workerPort, sharedBuffer: sharedBuffer2, pnpLoaderPath } = node_worker_threads.workerData; + if (pnpLoaderPath && IS_NODE_20) { + module$1.register(pnpLoaderPath); } + const sharedBufferView2 = new Int32Array(sharedBuffer2, 0, 1); + node_worker_threads.parentPort.on( + "message", + ({ id, args }) => { + (() => __async(this, null, function* () { + let isAborted = false; + const handleAbortMessage = (msg2) => { + if (msg2.id === id && msg2.cmd === "abort") { + isAborted = true; + } + }; + workerPort.on("message", handleAbortMessage); + let msg; + try { + msg = { id, result: yield fn(...args) }; + } catch (error) { + msg = { id, error, properties: extractProperties(error) }; + } + workerPort.off("message", handleAbortMessage); + if (isAborted) { + return; + } + workerPort.postMessage(msg); + Atomics.add(sharedBufferView2, 0, 1); + Atomics.notify(sharedBufferView2, 0); + }))(); + } + ); } -exports.DEFAULT_BUFFER_SIZE = DEFAULT_BUFFER_SIZE; exports.DEFAULT_EXEC_ARGV = DEFAULT_EXEC_ARGV; +exports.DEFAULT_GLOBAL_SHIMS = DEFAULT_GLOBAL_SHIMS; +exports.DEFAULT_GLOBAL_SHIMS_PRESET = DEFAULT_GLOBAL_SHIMS_PRESET; exports.DEFAULT_TIMEOUT = DEFAULT_TIMEOUT; exports.DEFAULT_TS_RUNNER = DEFAULT_TS_RUNNER; -exports.DEFAULT_WORKER_BUFFER_SIZE = DEFAULT_WORKER_BUFFER_SIZE; exports.MTS_SUPPORTED_NODE_VERSION = MTS_SUPPORTED_NODE_VERSION; exports.TsRunner = TsRunner; +exports._generateGlobals = _generateGlobals; exports.createSyncFn = createSyncFn; +exports.encodeImportModule = encodeImportModule; exports.extractProperties = extractProperties; +exports.generateGlobals = generateGlobals; exports.isFile = isFile; exports.runAsWorker = runAsWorker; diff --git a/node_modules/synckit/lib/index.d.ts b/node_modules/synckit/lib/index.d.ts index 77505ccb75..25b3a8ba1f 100644 --- a/node_modules/synckit/lib/index.d.ts +++ b/node_modules/synckit/lib/index.d.ts @@ -1,4 +1,6 @@ -import { AnyAsyncFn, Syncify, ValueOf } from './types.js'; +/// +import { type TransferListItem } from 'node:worker_threads'; +import type { AnyAsyncFn, GlobalShim, Syncify, ValueOf } from './types.js'; export * from './types.js'; export declare const TsRunner: { readonly TsNode: "ts-node"; @@ -8,21 +10,23 @@ export declare const TsRunner: { readonly TSX: "tsx"; }; export type TsRunner = ValueOf; -export declare const DEFAULT_BUFFER_SIZE: number | undefined; export declare const DEFAULT_TIMEOUT: number | undefined; -export declare const DEFAULT_WORKER_BUFFER_SIZE: number; export declare const DEFAULT_EXEC_ARGV: string[]; -export declare const DEFAULT_TS_RUNNER: TsRunner; +export declare const DEFAULT_TS_RUNNER: TsRunner | undefined; +export declare const DEFAULT_GLOBAL_SHIMS: boolean; +export declare const DEFAULT_GLOBAL_SHIMS_PRESET: GlobalShim[]; export declare const MTS_SUPPORTED_NODE_VERSION = 16; export interface SynckitOptions { - bufferSize?: number; - timeout?: number; execArgv?: string[]; + globalShims?: GlobalShim[] | boolean; + timeout?: number; + transferList?: TransferListItem[]; tsRunner?: TsRunner; } export declare function extractProperties(object: T): T; export declare function extractProperties(object?: T): T | undefined; -export declare function createSyncFn(workerPath: string, bufferSize?: number, timeout?: number): Syncify; -export declare function createSyncFn(workerPath: string, options?: SynckitOptions): Syncify; +export declare function createSyncFn, R = unknown>(workerPath: string, timeoutOrOptions?: SynckitOptions | number): Syncify; export declare const isFile: (path: string) => boolean; +export declare const encodeImportModule: (moduleNameOrGlobalShim: GlobalShim | string, type?: 'import' | 'require') => string; +export declare const generateGlobals: (workerPath: string, globalShims: GlobalShim[], type?: 'import' | 'require') => string; export declare function runAsWorker = AnyAsyncFn>(fn: T): void; diff --git a/node_modules/synckit/lib/index.js b/node_modules/synckit/lib/index.js index 92536a3799..2c28246c12 100644 --- a/node_modules/synckit/lib/index.js +++ b/node_modules/synckit/lib/index.js @@ -1,10 +1,12 @@ -import { __awaiter } from "tslib"; +import { __awaiter, __rest } from "tslib"; +import { createHash } from 'node:crypto'; import fs from 'node:fs'; -import { createRequire } from 'node:module'; +import module from 'node:module'; import path from 'node:path'; -import { pathToFileURL } from 'node:url'; -import { MessageChannel, Worker, receiveMessageOnPort, workerData, parentPort, } from 'node:worker_threads'; -import { findUp, tryExtensions } from '@pkgr/utils'; +import { fileURLToPath, pathToFileURL } from 'node:url'; +import { MessageChannel, Worker, parentPort, receiveMessageOnPort, workerData, } from 'node:worker_threads'; +import { findUp, isPkgAvailable, tryExtensions } from '@pkgr/core'; +const INT32_BYTES = 4; export * from './types.js'; export const TsRunner = { TsNode: 'ts-node', @@ -13,17 +15,25 @@ export const TsRunner = { SWC: 'swc', TSX: 'tsx', }; -const { SYNCKIT_BUFFER_SIZE, SYNCKIT_TIMEOUT, SYNCKIT_EXEC_ARGV, SYNCKIT_TS_RUNNER, NODE_OPTIONS, } = process.env; -export const DEFAULT_BUFFER_SIZE = SYNCKIT_BUFFER_SIZE - ? +SYNCKIT_BUFFER_SIZE - : undefined; +const { NODE_OPTIONS, SYNCKIT_EXEC_ARGV, SYNCKIT_GLOBAL_SHIMS, SYNCKIT_TIMEOUT, SYNCKIT_TS_RUNNER, } = process.env; +const IS_NODE_20 = Number(process.versions.node.split('.')[0]) >= 20; export const DEFAULT_TIMEOUT = SYNCKIT_TIMEOUT ? +SYNCKIT_TIMEOUT : undefined; -export const DEFAULT_WORKER_BUFFER_SIZE = DEFAULT_BUFFER_SIZE || 1024; export const DEFAULT_EXEC_ARGV = (SYNCKIT_EXEC_ARGV === null || SYNCKIT_EXEC_ARGV === void 0 ? void 0 : SYNCKIT_EXEC_ARGV.split(',')) || []; -export const DEFAULT_TS_RUNNER = (SYNCKIT_TS_RUNNER || - TsRunner.TsNode); +export const DEFAULT_TS_RUNNER = SYNCKIT_TS_RUNNER; +export const DEFAULT_GLOBAL_SHIMS = ['1', 'true'].includes(SYNCKIT_GLOBAL_SHIMS); +export const DEFAULT_GLOBAL_SHIMS_PRESET = [ + { + moduleName: 'node-fetch', + globalName: 'fetch', + }, + { + moduleName: 'node:perf_hooks', + globalName: 'performance', + named: 'performance', + }, +]; export const MTS_SUPPORTED_NODE_VERSION = 16; -const syncFnCache = new Map(); +let syncFnCache; export function extractProperties(object) { if (object && typeof object === 'object') { const properties = {}; @@ -33,29 +43,31 @@ export function extractProperties(object) { return properties; } } -export function createSyncFn(workerPath, bufferSizeOrOptions, timeout) { - if (!path.isAbsolute(workerPath)) { - throw new Error('`workerPath` must be absolute'); - } +export function createSyncFn(workerPath, timeoutOrOptions) { + syncFnCache !== null && syncFnCache !== void 0 ? syncFnCache : (syncFnCache = new Map()); const cachedSyncFn = syncFnCache.get(workerPath); if (cachedSyncFn) { return cachedSyncFn; } - const syncFn = startWorkerThread(workerPath, typeof bufferSizeOrOptions === 'number' - ? { bufferSize: bufferSizeOrOptions, timeout } - : bufferSizeOrOptions); + if (!path.isAbsolute(workerPath)) { + throw new Error('`workerPath` must be absolute'); + } + const syncFn = startWorkerThread(workerPath, typeof timeoutOrOptions === 'number' + ? { timeout: timeoutOrOptions } + : timeoutOrOptions); syncFnCache.set(workerPath, syncFn); return syncFn; } const cjsRequire = typeof require === 'undefined' - ? createRequire(import.meta.url) + ? module.createRequire(import.meta.url) : require; const dataUrl = (code) => new URL(`data:text/javascript,${encodeURIComponent(code)}`); export const isFile = (path) => { + var _a; try { - return fs.statSync(path).isFile(); + return !!((_a = fs.statSync(path, { throwIfNoEntry: false })) === null || _a === void 0 ? void 0 : _a.isFile()); } - catch (_a) { + catch (_b) { return false; } }; @@ -68,15 +80,18 @@ const setupTsRunner = (workerPath, { execArgv, tsRunner }) => { : workerPath; let extensions; switch (ext) { - case '.cjs': + case '.cjs': { extensions = ['.cts', '.cjs']; break; - case '.mjs': + } + case '.mjs': { extensions = ['.mts', '.mjs']; break; - default: + } + default: { extensions = ['.ts', '.js']; break; + } } const found = tryExtensions(workPathWithoutExt, extensions); let differentExt; @@ -88,6 +103,7 @@ const setupTsRunner = (workerPath, { execArgv, tsRunner }) => { } } const isTs = /\.[cm]?ts$/.test(workerPath); + let jsUseEsm = workerPath.endsWith('.mjs'); let tsUseEsm = workerPath.endsWith('.mts'); if (isTs) { if (!tsUseEsm) { @@ -98,6 +114,9 @@ const setupTsRunner = (workerPath, { execArgv, tsRunner }) => { 'module'; } } + if (tsRunner == null && isPkgAvailable(TsRunner.TsNode)) { + tsRunner = TsRunner.TsNode; + } switch (tsRunner) { case TsRunner.TsNode: { if (tsUseEsm) { @@ -139,6 +158,14 @@ const setupTsRunner = (workerPath, { execArgv, tsRunner }) => { } } } + else if (!jsUseEsm) { + const pkg = findUp(workerPath); + if (pkg) { + jsUseEsm = + cjsRequire(pkg).type === 'module'; + } + } + let resolvedPnpLoaderPath; if (process.versions.pnp) { const nodeOptions = NODE_OPTIONS === null || NODE_OPTIONS === void 0 ? void 0 : NODE_OPTIONS.split(/\s+/); let pnpApiPath; @@ -153,65 +180,159 @@ const setupTsRunner = (workerPath, { execArgv, tsRunner }) => { execArgv = ['-r', pnpApiPath, ...execArgv]; const pnpLoaderPath = path.resolve(pnpApiPath, '../.pnp.loader.mjs'); if (isFile(pnpLoaderPath)) { - const experimentalLoader = pathToFileURL(pnpLoaderPath).toString(); - execArgv = ['--experimental-loader', experimentalLoader, ...execArgv]; + resolvedPnpLoaderPath = pathToFileURL(pnpLoaderPath).toString(); + if (!IS_NODE_20) { + execArgv = [ + '--experimental-loader', + resolvedPnpLoaderPath, + ...execArgv, + ]; + } } } } return { ext, isTs, + jsUseEsm, + tsRunner, tsUseEsm, workerPath, + pnpLoaderPath: resolvedPnpLoaderPath, execArgv, }; }; -function startWorkerThread(workerPath, { bufferSize = DEFAULT_WORKER_BUFFER_SIZE, timeout = DEFAULT_TIMEOUT, execArgv = DEFAULT_EXEC_ARGV, tsRunner = DEFAULT_TS_RUNNER, } = {}) { +const md5Hash = (text) => createHash('md5').update(text).digest('hex'); +export const encodeImportModule = (moduleNameOrGlobalShim, type = 'import') => { + const { moduleName, globalName, named, conditional } = typeof moduleNameOrGlobalShim === 'string' + ? { moduleName: moduleNameOrGlobalShim } + : moduleNameOrGlobalShim; + const importStatement = type === 'import' + ? `import${globalName + ? ' ' + + (named === null + ? '* as ' + globalName + : (named === null || named === void 0 ? void 0 : named.trim()) + ? `{${named}}` + : globalName) + + ' from' + : ''} '${path.isAbsolute(moduleName) + ? String(pathToFileURL(moduleName)) + : moduleName}'` + : `${globalName + ? 'const ' + ((named === null || named === void 0 ? void 0 : named.trim()) ? `{${named}}` : globalName) + '=' + : ''}require('${moduleName + .replace(/\\/g, '\\\\')}')`; + if (!globalName) { + return importStatement; + } + const overrideStatement = `globalThis.${globalName}=${(named === null || named === void 0 ? void 0 : named.trim()) ? named : globalName}`; + return (importStatement + + (conditional === false + ? `;${overrideStatement}` + : `;if(!globalThis.${globalName})${overrideStatement}`)); +}; +export const _generateGlobals = (globalShims, type) => globalShims.reduce((acc, shim) => `${acc}${acc ? ';' : ''}${encodeImportModule(shim, type)}`, ''); +let globalsCache; +let tmpdir; +const _dirname = typeof __dirname === 'undefined' + ? path.dirname(fileURLToPath(import.meta.url)) + : __dirname; +let sharedBuffer; +let sharedBufferView; +export const generateGlobals = (workerPath, globalShims, type = 'import') => { + globalsCache !== null && globalsCache !== void 0 ? globalsCache : (globalsCache = new Map()); + const cached = globalsCache.get(workerPath); + if (cached) { + const [content, filepath] = cached; + if ((type === 'require' && !filepath) || + (type === 'import' && filepath && isFile(filepath))) { + return content; + } + } + const globals = _generateGlobals(globalShims, type); + let content = globals; + let filepath; + if (type === 'import') { + if (!tmpdir) { + tmpdir = path.resolve(findUp(_dirname), '../node_modules/.synckit'); + } + fs.mkdirSync(tmpdir, { recursive: true }); + filepath = path.resolve(tmpdir, md5Hash(workerPath) + '.mjs'); + content = encodeImportModule(filepath); + fs.writeFileSync(filepath, globals); + } + globalsCache.set(workerPath, [content, filepath]); + return content; +}; +function startWorkerThread(workerPath, { timeout = DEFAULT_TIMEOUT, execArgv = DEFAULT_EXEC_ARGV, tsRunner = DEFAULT_TS_RUNNER, transferList = [], globalShims = DEFAULT_GLOBAL_SHIMS, } = {}) { const { port1: mainPort, port2: workerPort } = new MessageChannel(); - const { isTs, ext, tsUseEsm, workerPath: finalWorkerPath, execArgv: finalExecArgv, } = setupTsRunner(workerPath, { execArgv, tsRunner }); + const { isTs, ext, jsUseEsm, tsUseEsm, tsRunner: finalTsRunner, workerPath: finalWorkerPath, pnpLoaderPath, execArgv: finalExecArgv, } = setupTsRunner(workerPath, { execArgv, tsRunner }); const workerPathUrl = pathToFileURL(finalWorkerPath); if (/\.[cm]ts$/.test(finalWorkerPath)) { const isTsxSupported = !tsUseEsm || Number.parseFloat(process.versions.node) >= MTS_SUPPORTED_NODE_VERSION; - if ([ + if (!finalTsRunner) { + throw new Error('No ts runner specified, ts worker path is not supported'); + } + else if ([ TsRunner.EsbuildRegister, TsRunner.EsbuildRunner, TsRunner.SWC, ...(isTsxSupported ? [] : [TsRunner.TSX]), - ].includes(tsRunner)) { - throw new Error(`${tsRunner} is not supported for ${ext} files yet` + + ].includes(finalTsRunner)) { + throw new Error(`${finalTsRunner} is not supported for ${ext} files yet` + (isTsxSupported ? ', you can try [tsx](https://github.com/esbuild-kit/tsx) instead' : '')); } } - const useEval = isTs && !tsUseEsm; - const worker = new Worker(tsUseEsm && tsRunner === TsRunner.TsNode - ? dataUrl(`import '${String(workerPathUrl)}'`) + const finalGlobalShims = (globalShims === true + ? DEFAULT_GLOBAL_SHIMS_PRESET + : Array.isArray(globalShims) + ? globalShims + : []).filter(({ moduleName }) => isPkgAvailable(moduleName)); + sharedBufferView !== null && sharedBufferView !== void 0 ? sharedBufferView : (sharedBufferView = new Int32Array((sharedBuffer !== null && sharedBuffer !== void 0 ? sharedBuffer : (sharedBuffer = new SharedArrayBuffer(INT32_BYTES))), 0, 1)); + const useGlobals = finalGlobalShims.length > 0; + const useEval = isTs ? !tsUseEsm : !jsUseEsm && useGlobals; + const worker = new Worker((jsUseEsm && useGlobals) || (tsUseEsm && finalTsRunner === TsRunner.TsNode) + ? dataUrl(`${generateGlobals(finalWorkerPath, finalGlobalShims)};import '${String(workerPathUrl)}'`) : useEval - ? `require('${finalWorkerPath.replace(/\\/g, '\\\\')}')` + ? `${generateGlobals(finalWorkerPath, finalGlobalShims, 'require')};${encodeImportModule(finalWorkerPath, 'require')}` : workerPathUrl, { eval: useEval, - workerData: { workerPort }, - transferList: [workerPort], + workerData: { sharedBuffer, workerPort, pnpLoaderPath }, + transferList: [workerPort, ...transferList], execArgv: finalExecArgv, }); let nextID = 0; - const syncFn = (...args) => { - const id = nextID++; - const sharedBuffer = new SharedArrayBuffer(bufferSize); - const sharedBufferView = new Int32Array(sharedBuffer); - const msg = { sharedBuffer, id, args }; - worker.postMessage(msg); - const status = Atomics.wait(sharedBufferView, 0, 0, timeout); + const receiveMessageWithId = (port, expectedId, waitingTimeout) => { + const start = Date.now(); + const status = Atomics.wait(sharedBufferView, 0, 0, waitingTimeout); + Atomics.store(sharedBufferView, 0, 0); if (!['ok', 'not-equal'].includes(status)) { + const abortMsg = { + id: expectedId, + cmd: 'abort', + }; + port.postMessage(abortMsg); throw new Error('Internal error: Atomics.wait() failed: ' + status); } - const { id: id2, result, error, properties, } = receiveMessageOnPort(mainPort) - .message; - if (id !== id2) { - throw new Error(`Internal error: Expected id ${id} but got id ${id2}`); + const _a = receiveMessageOnPort(mainPort).message, { id } = _a, message = __rest(_a, ["id"]); + if (id < expectedId) { + const waitingTime = Date.now() - start; + return receiveMessageWithId(port, expectedId, waitingTimeout ? waitingTimeout - waitingTime : undefined); } + if (expectedId !== id) { + throw new Error(`Internal error: Expected id ${expectedId} but got id ${id}`); + } + return Object.assign({ id }, message); + }; + const syncFn = (...args) => { + const id = nextID++; + const msg = { id, args }; + worker.postMessage(msg); + const { result, error, properties } = receiveMessageWithId(mainPort, id, timeout); if (error) { throw Object.assign(error, properties); } @@ -224,36 +345,36 @@ export function runAsWorker(fn) { if (!workerData) { return; } - const { workerPort } = workerData; - try { - parentPort.on('message', ({ sharedBuffer, id, args }) => { - ; - (() => __awaiter(this, void 0, void 0, function* () { - const sharedBufferView = new Int32Array(sharedBuffer); - let msg; - try { - msg = { id, result: yield fn(...args) }; - } - catch (error) { - msg = { id, error, properties: extractProperties(error) }; - } - workerPort.postMessage(msg); - Atomics.add(sharedBufferView, 0, 1); - Atomics.notify(sharedBufferView, 0); - }))(); - }); + const { workerPort, sharedBuffer, pnpLoaderPath } = workerData; + if (pnpLoaderPath && IS_NODE_20) { + module.register(pnpLoaderPath); } - catch (error) { - parentPort.on('message', ({ sharedBuffer, id }) => { - const sharedBufferView = new Int32Array(sharedBuffer); - workerPort.postMessage({ - id, - error, - properties: extractProperties(error), - }); + const sharedBufferView = new Int32Array(sharedBuffer, 0, 1); + parentPort.on('message', ({ id, args }) => { + ; + (() => __awaiter(this, void 0, void 0, function* () { + let isAborted = false; + const handleAbortMessage = (msg) => { + if (msg.id === id && msg.cmd === 'abort') { + isAborted = true; + } + }; + workerPort.on('message', handleAbortMessage); + let msg; + try { + msg = { id, result: yield fn(...args) }; + } + catch (error) { + msg = { id, error, properties: extractProperties(error) }; + } + workerPort.off('message', handleAbortMessage); + if (isAborted) { + return; + } + workerPort.postMessage(msg); Atomics.add(sharedBufferView, 0, 1); Atomics.notify(sharedBufferView, 0); - }); - } + }))(); + }); } //# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/node_modules/synckit/lib/index.js.map b/node_modules/synckit/lib/index.js.map index f4068b4c6e..31f1503f9f 100644 --- a/node_modules/synckit/lib/index.js.map +++ b/node_modules/synckit/lib/index.js.map @@ -1 +1 @@ -{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,MAAM,SAAS,CAAA;AACxB,OAAO,EAAE,aAAa,EAAE,MAAM,aAAa,CAAA;AAC3C,OAAO,IAAI,MAAM,WAAW,CAAA;AAC5B,OAAO,EAAE,aAAa,EAAE,MAAM,UAAU,CAAA;AACxC,OAAO,EACL,cAAc,EACd,MAAM,EACN,oBAAoB,EAEpB,UAAU,EACV,UAAU,GACX,MAAM,qBAAqB,CAAA;AAE5B,OAAO,EAAE,MAAM,EAAE,aAAa,EAAE,MAAM,aAAa,CAAA;AAYnD,cAAc,YAAY,CAAA;AAE1B,MAAM,CAAC,MAAM,QAAQ,GAAG;IAEtB,MAAM,EAAE,SAAS;IAEjB,eAAe,EAAE,kBAAkB;IAEnC,aAAa,EAAE,gBAAgB;IAE/B,GAAG,EAAE,KAAK;IAEV,GAAG,EAAE,KAAK;CACF,CAAA;AAIV,MAAM,EACJ,mBAAmB,EACnB,eAAe,EACf,iBAAiB,EACjB,iBAAiB,EACjB,YAAY,GACb,GAAG,OAAO,CAAC,GAAG,CAAA;AAEf,MAAM,CAAC,MAAM,mBAAmB,GAAG,mBAAmB;IACpD,CAAC,CAAC,CAAC,mBAAmB;IACtB,CAAC,CAAC,SAAS,CAAA;AAEb,MAAM,CAAC,MAAM,eAAe,GAAG,eAAe,CAAC,CAAC,CAAC,CAAC,eAAe,CAAC,CAAC,CAAC,SAAS,CAAA;AAE7E,MAAM,CAAC,MAAM,0BAA0B,GAAG,mBAAmB,IAAI,IAAI,CAAA;AAGrE,MAAM,CAAC,MAAM,iBAAiB,GAAG,CAAA,iBAAiB,aAAjB,iBAAiB,uBAAjB,iBAAiB,CAAE,KAAK,CAAC,GAAG,CAAC,KAAI,EAAE,CAAA;AAEpE,MAAM,CAAC,MAAM,iBAAiB,GAAG,CAAC,iBAAiB;IACjD,QAAQ,CAAC,MAAM,CAAa,CAAA;AAE9B,MAAM,CAAC,MAAM,0BAA0B,GAAG,EAAE,CAAA;AAE5C,MAAM,WAAW,GAAG,IAAI,GAAG,EAAiB,CAAA;AAc5C,MAAM,UAAU,iBAAiB,CAAI,MAAU;IAC7C,IAAI,MAAM,IAAI,OAAO,MAAM,KAAK,QAAQ,EAAE;QACxC,MAAM,UAAU,GAAG,EAAO,CAAA;QAC1B,KAAK,MAAM,GAAG,IAAI,MAAM,EAAE;YACxB,UAAU,CAAC,GAAc,CAAC,GAAG,MAAM,CAAC,GAAG,CAAC,CAAA;SACzC;QACD,OAAO,UAAU,CAAA;KAClB;AACH,CAAC;AAWD,MAAM,UAAU,YAAY,CAC1B,UAAkB,EAClB,mBAA6C,EAC7C,OAAgB;IAEhB,IAAI,CAAC,IAAI,CAAC,UAAU,CAAC,UAAU,CAAC,EAAE;QAChC,MAAM,IAAI,KAAK,CAAC,+BAA+B,CAAC,CAAA;KACjD;IAED,MAAM,YAAY,GAAG,WAAW,CAAC,GAAG,CAAC,UAAU,CAAC,CAAA;IAEhD,IAAI,YAAY,EAAE;QAChB,OAAO,YAAY,CAAA;KACpB;IAED,MAAM,MAAM,GAAG,iBAAiB,CAC9B,UAAU,EACiB,OAAO,mBAAmB,KAAK,QAAQ;QAChE,CAAC,CAAC,EAAE,UAAU,EAAE,mBAAmB,EAAE,OAAO,EAAE;QAC9C,CAAC,CAAC,mBAAmB,CACxB,CAAA;IAED,WAAW,CAAC,GAAG,CAAC,UAAU,EAAE,MAAM,CAAC,CAAA;IAEnC,OAAO,MAAM,CAAA;AACf,CAAC;AAED,MAAM,UAAU,GACd,OAAO,OAAO,KAAK,WAAW;IAC5B,CAAC,CAAC,aAAa,CAAC,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC;IAChC,CAAC,CAA4B,OAAO,CAAA;AAExC,MAAM,OAAO,GAAG,CAAC,IAAY,EAAE,EAAE,CAC/B,IAAI,GAAG,CAAC,wBAAwB,kBAAkB,CAAC,IAAI,CAAC,EAAE,CAAC,CAAA;AAE7D,MAAM,CAAC,MAAM,MAAM,GAAG,CAAC,IAAY,EAAE,EAAE;IACrC,IAAI;QACF,OAAO,EAAE,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC,MAAM,EAAE,CAAA;KAClC;IAAC,WAAM;QACN,OAAO,KAAK,CAAA;KACb;AACH,CAAC,CAAA;AAED,MAAM,aAAa,GAAG,CACpB,UAAkB,EAClB,EAAE,QAAQ,EAAE,QAAQ,EAA8C,EAClE,EAAE;IACF,IAAI,GAAG,GAAG,IAAI,CAAC,OAAO,CAAC,UAAU,CAAC,CAAA;IAElC,IACE,CAAC,wBAAwB,CAAC,IAAI,CAAC,UAAU,CAAC;QAC1C,CAAC,CAAC,GAAG,IAAI,aAAa,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,EACjC;QACA,MAAM,kBAAkB,GAAG,GAAG;YAC5B,CAAC,CAAC,UAAU,CAAC,KAAK,CAAC,CAAC,EAAE,CAAC,GAAG,CAAC,MAAM,CAAC;YAClC,CAAC,CAAC,UAAU,CAAA;QACd,IAAI,UAAoB,CAAA;QACxB,QAAQ,GAAG,EAAE;YACX,KAAK,MAAM;gBACT,UAAU,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC,CAAA;gBAC7B,MAAK;YACP,KAAK,MAAM;gBACT,UAAU,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC,CAAA;gBAC7B,MAAK;YACP;gBACE,UAAU,GAAG,CAAC,KAAK,EAAE,KAAK,CAAC,CAAA;gBAC3B,MAAK;SACR;QACD,MAAM,KAAK,GAAG,aAAa,CAAC,kBAAkB,EAAE,UAAU,CAAC,CAAA;QAC3D,IAAI,YAAiC,CAAA;QACrC,IAAI,KAAK,IAAI,CAAC,CAAC,GAAG,IAAI,CAAC,YAAY,GAAG,KAAK,KAAK,kBAAkB,CAAC,CAAC,EAAE;YACpE,UAAU,GAAG,KAAK,CAAA;YAClB,IAAI,YAAY,EAAE;gBAChB,GAAG,GAAG,IAAI,CAAC,OAAO,CAAC,UAAU,CAAC,CAAA;aAC/B;SACF;KACF;IAED,MAAM,IAAI,GAAG,YAAY,CAAC,IAAI,CAAC,UAAU,CAAC,CAAA;IAE1C,IAAI,QAAQ,GAAG,UAAU,CAAC,QAAQ,CAAC,MAAM,CAAC,CAAA;IAE1C,IAAI,IAAI,EAAE;QACR,IAAI,CAAC,QAAQ,EAAE;YACb,MAAM,GAAG,GAAG,MAAM,CAAC,UAAU,CAAC,CAAA;YAC9B,IAAI,GAAG,EAAE;gBACP,QAAQ;oBACL,UAAU,CAAC,GAAG,CAAsC,CAAC,IAAI;wBAC1D,QAAQ,CAAA;aACX;SACF;QACD,QAAQ,QAAQ,EAAE;YAChB,KAAK,QAAQ,CAAC,MAAM,CAAC,CAAC;gBACpB,IAAI,QAAQ,EAAE;oBACZ,IAAI,CAAC,QAAQ,CAAC,QAAQ,CAAC,UAAU,CAAC,EAAE;wBAClC,QAAQ,GAAG,CAAC,UAAU,EAAE,GAAG,QAAQ,CAAC,MAAM,MAAM,EAAE,GAAG,QAAQ,CAAC,CAAA;qBAC/D;iBACF;qBAAM,IAAI,CAAC,QAAQ,CAAC,QAAQ,CAAC,IAAI,CAAC,EAAE;oBACnC,QAAQ,GAAG,CAAC,IAAI,EAAE,GAAG,QAAQ,CAAC,MAAM,WAAW,EAAE,GAAG,QAAQ,CAAC,CAAA;iBAC9D;gBACD,MAAK;aACN;YACD,KAAK,QAAQ,CAAC,eAAe,CAAC,CAAC;gBAC7B,IAAI,CAAC,QAAQ,CAAC,QAAQ,CAAC,IAAI,CAAC,EAAE;oBAC5B,QAAQ,GAAG,CAAC,IAAI,EAAE,QAAQ,CAAC,eAAe,EAAE,GAAG,QAAQ,CAAC,CAAA;iBACzD;gBACD,MAAK;aACN;YACD,KAAK,QAAQ,CAAC,aAAa,CAAC,CAAC;gBAC3B,IAAI,CAAC,QAAQ,CAAC,QAAQ,CAAC,IAAI,CAAC,EAAE;oBAC5B,QAAQ,GAAG,CAAC,IAAI,EAAE,GAAG,QAAQ,CAAC,aAAa,WAAW,EAAE,GAAG,QAAQ,CAAC,CAAA;iBACrE;gBACD,MAAK;aACN;YACD,KAAK,QAAQ,CAAC,GAAG,CAAC,CAAC;gBACjB,IAAI,CAAC,QAAQ,CAAC,QAAQ,CAAC,IAAI,CAAC,EAAE;oBAC5B,QAAQ,GAAG,CAAC,IAAI,EAAE,IAAI,QAAQ,CAAC,GAAG,gBAAgB,EAAE,GAAG,QAAQ,CAAC,CAAA;iBACjE;gBACD,MAAK;aACN;YACD,KAAK,QAAQ,CAAC,GAAG,CAAC,CAAC;gBACjB,IAAI,CAAC,QAAQ,CAAC,QAAQ,CAAC,UAAU,CAAC,EAAE;oBAClC,QAAQ,GAAG,CAAC,UAAU,EAAE,QAAQ,CAAC,GAAG,EAAE,GAAG,QAAQ,CAAC,CAAA;iBACnD;gBACD,MAAK;aACN;YACD,OAAO,CAAC,CAAC;gBACP,MAAM,IAAI,KAAK,CAAC,sBAAsB,MAAM,CAAC,QAAQ,CAAC,EAAE,CAAC,CAAA;aAC1D;SACF;KACF;IAGD,IAAI,OAAO,CAAC,QAAQ,CAAC,GAAG,EAAE;QACxB,MAAM,WAAW,GAAG,YAAY,aAAZ,YAAY,uBAAZ,YAAY,CAAE,KAAK,CAAC,KAAK,CAAC,CAAA;QAC9C,IAAI,UAA8B,CAAA;QAClC,IAAI;YAEF,UAAU,GAAG,UAAU,CAAC,OAAO,CAAC,QAAQ,CAAC,CAAA;SAC1C;QAAC,WAAM,GAAE;QACV,IACE,UAAU;YACV,CAAC,CAAA,WAAW,aAAX,WAAW,uBAAX,WAAW,CAAE,IAAI,CAChB,CAAC,MAAM,EAAE,KAAK,EAAE,EAAE,CAChB,CAAC,IAAI,EAAE,WAAW,CAAC,CAAC,QAAQ,CAAC,MAAM,CAAC;gBACpC,UAAU,KAAK,UAAU,CAAC,OAAO,CAAC,WAAW,CAAC,KAAK,GAAG,CAAC,CAAC,CAAC,CAC5D,CAAA;YACD,CAAC,QAAQ,CAAC,QAAQ,CAAC,UAAU,CAAC,EAC9B;YACA,QAAQ,GAAG,CAAC,IAAI,EAAE,UAAU,EAAE,GAAG,QAAQ,CAAC,CAAA;YAC1C,MAAM,aAAa,GAAG,IAAI,CAAC,OAAO,CAAC,UAAU,EAAE,oBAAoB,CAAC,CAAA;YACpE,IAAI,MAAM,CAAC,aAAa,CAAC,EAAE;gBAIzB,MAAM,kBAAkB,GAAG,aAAa,CAAC,aAAa,CAAC,CAAC,QAAQ,EAAE,CAAA;gBAClE,QAAQ,GAAG,CAAC,uBAAuB,EAAE,kBAAkB,EAAE,GAAG,QAAQ,CAAC,CAAA;aACtE;SACF;KACF;IAED,OAAO;QACL,GAAG;QACH,IAAI;QACJ,QAAQ;QACR,UAAU;QACV,QAAQ;KACT,CAAA;AACH,CAAC,CAAA;AAGD,SAAS,iBAAiB,CACxB,UAAkB,EAClB,EACE,UAAU,GAAG,0BAA0B,EACvC,OAAO,GAAG,eAAe,EACzB,QAAQ,GAAG,iBAAiB,EAC5B,QAAQ,GAAG,iBAAiB,MACV,EAAE;IAEtB,MAAM,EAAE,KAAK,EAAE,QAAQ,EAAE,KAAK,EAAE,UAAU,EAAE,GAAG,IAAI,cAAc,EAAE,CAAA;IAEnE,MAAM,EACJ,IAAI,EACJ,GAAG,EACH,QAAQ,EACR,UAAU,EAAE,eAAe,EAC3B,QAAQ,EAAE,aAAa,GACxB,GAAG,aAAa,CAAC,UAAU,EAAE,EAAE,QAAQ,EAAE,QAAQ,EAAE,CAAC,CAAA;IAErD,MAAM,aAAa,GAAG,aAAa,CAAC,eAAe,CAAC,CAAA;IAEpD,IAAI,WAAW,CAAC,IAAI,CAAC,eAAe,CAAC,EAAE;QACrC,MAAM,cAAc,GAClB,CAAC,QAAQ;YACT,MAAM,CAAC,UAAU,CAAC,OAAO,CAAC,QAAQ,CAAC,IAAI,CAAC,IAAI,0BAA0B,CAAA;QAExE,IAEI;YAEE,QAAQ,CAAC,eAAe;YAExB,QAAQ,CAAC,aAAa;YAEtB,QAAQ,CAAC,GAAG;YACZ,GAA8B,CAAC,cAAc,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC,QAAQ,CAAC,GAAG,CAAC,CAAC;SAEvE,CAAC,QAAQ,CAAC,QAAQ,CAAC,EACpB;YACA,MAAM,IAAI,KAAK,CACb,GAAG,QAAQ,yBAAyB,GAAG,YAAY;gBACjD,CAAC,cAAc;oBACb,CAAC,CAAC,iEAAiE;oBACnE,CAAC,CAAC,EAAE,CAAC,CACV,CAAA;SACF;KACF;IAED,MAAM,OAAO,GAAG,IAAI,IAAI,CAAC,QAAQ,CAAA;IAEjC,MAAM,MAAM,GAAG,IAAI,MAAM,CACvB,QAAQ,IAAI,QAAQ,KAAK,QAAQ,CAAC,MAAM;QACtC,CAAC,CAAC,OAAO,CAAC,WAAW,MAAM,CAAC,aAAa,CAAC,GAAG,CAAC;QAC9C,CAAC,CAAC,OAAO;YACT,CAAC,CAAC,YAAY,eAAe,CAAC,OAAO,CAAC,KAAK,EAAE,MAAM,CAAC,IAAI;YACxD,CAAC,CAAC,aAAa,EACjB;QACE,IAAI,EAAE,OAAO;QACb,UAAU,EAAE,EAAE,UAAU,EAAE;QAC1B,YAAY,EAAE,CAAC,UAAU,CAAC;QAC1B,QAAQ,EAAE,aAAa;KACxB,CACF,CAAA;IAED,IAAI,MAAM,GAAG,CAAC,CAAA;IAEd,MAAM,MAAM,GAAG,CAAC,GAAG,IAAmB,EAAK,EAAE;QAC3C,MAAM,EAAE,GAAG,MAAM,EAAE,CAAA;QAEnB,MAAM,YAAY,GAAG,IAAI,iBAAiB,CAAC,UAAU,CAAC,CAAA;QACtD,MAAM,gBAAgB,GAAG,IAAI,UAAU,CAAC,YAAY,CAAC,CAAA;QAErD,MAAM,GAAG,GAAuC,EAAE,YAAY,EAAE,EAAE,EAAE,IAAI,EAAE,CAAA;QAC1E,MAAM,CAAC,WAAW,CAAC,GAAG,CAAC,CAAA;QAEvB,MAAM,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC,gBAAgB,EAAE,CAAC,EAAE,CAAC,EAAE,OAAO,CAAC,CAAA;QAG5D,IAAI,CAAC,CAAC,IAAI,EAAE,WAAW,CAAC,CAAC,QAAQ,CAAC,MAAM,CAAC,EAAE;YACzC,MAAM,IAAI,KAAK,CAAC,yCAAyC,GAAG,MAAM,CAAC,CAAA;SACpE;QAED,MAAM,EACJ,EAAE,EAAE,GAAG,EACP,MAAM,EACN,KAAK,EACL,UAAU,GACX,GAAI,oBAAoB,CAAC,QAAQ,CAAyC;aACxE,OAAO,CAAA;QAGV,IAAI,EAAE,KAAK,GAAG,EAAE;YACd,MAAM,IAAI,KAAK,CAAC,+BAA+B,EAAE,eAAe,GAAG,EAAE,CAAC,CAAA;SACvE;QAED,IAAI,KAAK,EAAE;YACT,MAAM,MAAM,CAAC,MAAM,CAAC,KAAe,EAAE,UAAU,CAAC,CAAA;SACjD;QAED,OAAO,MAAO,CAAA;IAChB,CAAC,CAAA;IAED,MAAM,CAAC,KAAK,EAAE,CAAA;IAEd,OAAO,MAAM,CAAA;AACf,CAAC;AAGD,MAAM,UAAU,WAAW,CAGzB,EAAK;IAEL,IAAI,CAAC,UAAU,EAAE;QACf,OAAM;KACP;IAED,MAAM,EAAE,UAAU,EAAE,GAAG,UAAwB,CAAA;IAE/C,IAAI;QACF,UAAW,CAAC,EAAE,CACZ,SAAS,EACT,CAAC,EAAE,YAAY,EAAE,EAAE,EAAE,IAAI,EAAsC,EAAE,EAAE;YAEjE,CAAC;YAAA,CAAC,GAAS,EAAE;gBACX,MAAM,gBAAgB,GAAG,IAAI,UAAU,CAAC,YAAY,CAAC,CAAA;gBACrD,IAAI,GAA2B,CAAA;gBAC/B,IAAI;oBACF,GAAG,GAAG,EAAE,EAAE,EAAE,MAAM,EAAE,MAAM,EAAE,CAAC,GAAG,IAAI,CAAC,EAAE,CAAA;iBACxC;gBAAC,OAAO,KAAc,EAAE;oBACvB,GAAG,GAAG,EAAE,EAAE,EAAE,KAAK,EAAE,UAAU,EAAE,iBAAiB,CAAC,KAAK,CAAC,EAAE,CAAA;iBAC1D;gBACD,UAAU,CAAC,WAAW,CAAC,GAAG,CAAC,CAAA;gBAC3B,OAAO,CAAC,GAAG,CAAC,gBAAgB,EAAE,CAAC,EAAE,CAAC,CAAC,CAAA;gBACnC,OAAO,CAAC,MAAM,CAAC,gBAAgB,EAAE,CAAC,CAAC,CAAA;YACrC,CAAC,CAAA,CAAC,EAAE,CAAA;QACN,CAAC,CACF,CAAA;KASF;IAAC,OAAO,KAAK,EAAE;QACd,UAAW,CAAC,EAAE,CACZ,SAAS,EACT,CAAC,EAAE,YAAY,EAAE,EAAE,EAAsC,EAAE,EAAE;YAC3D,MAAM,gBAAgB,GAAG,IAAI,UAAU,CAAC,YAAY,CAAC,CAAA;YACrD,UAAU,CAAC,WAAW,CAAC;gBACrB,EAAE;gBACF,KAAK;gBACL,UAAU,EAAE,iBAAiB,CAAC,KAAK,CAAC;aACrC,CAAC,CAAA;YACF,OAAO,CAAC,GAAG,CAAC,gBAAgB,EAAE,CAAC,EAAE,CAAC,CAAC,CAAA;YACnC,OAAO,CAAC,MAAM,CAAC,gBAAgB,EAAE,CAAC,CAAC,CAAA;QACrC,CAAC,CACF,CAAA;KACF;AACH,CAAC"} \ No newline at end of file +{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,aAAa,CAAA;AACxC,OAAO,EAAE,MAAM,SAAS,CAAA;AACxB,OAAO,MAAM,MAAM,aAAa,CAAA;AAChC,OAAO,IAAI,MAAM,WAAW,CAAA;AAC5B,OAAO,EAAE,aAAa,EAAE,aAAa,EAAE,MAAM,UAAU,CAAA;AACvD,OAAO,EACL,cAAc,EAGd,MAAM,EACN,UAAU,EACV,oBAAoB,EAEpB,UAAU,GACX,MAAM,qBAAqB,CAAA;AAE5B,OAAO,EAAE,MAAM,EAAE,cAAc,EAAE,aAAa,EAAE,MAAM,YAAY,CAAA;AAclE,MAAM,WAAW,GAAG,CAAC,CAAA;AAErB,cAAc,YAAY,CAAA;AAE1B,MAAM,CAAC,MAAM,QAAQ,GAAG;IAEtB,MAAM,EAAE,SAAS;IAEjB,eAAe,EAAE,kBAAkB;IAEnC,aAAa,EAAE,gBAAgB;IAE/B,GAAG,EAAE,KAAK;IAEV,GAAG,EAAE,KAAK;CACF,CAAA;AAIV,MAAM,EACJ,YAAY,EACZ,iBAAiB,EACjB,oBAAoB,EACpB,eAAe,EACf,iBAAiB,GAClB,GAAG,OAAO,CAAC,GAAG,CAAA;AAEf,MAAM,UAAU,GAAG,MAAM,CAAC,OAAO,CAAC,QAAQ,CAAC,IAAI,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC,IAAI,EAAE,CAAA;AAEpE,MAAM,CAAC,MAAM,eAAe,GAAG,eAAe,CAAC,CAAC,CAAC,CAAC,eAAe,CAAC,CAAC,CAAC,SAAS,CAAA;AAG7E,MAAM,CAAC,MAAM,iBAAiB,GAAG,CAAA,iBAAiB,aAAjB,iBAAiB,uBAAjB,iBAAiB,CAAE,KAAK,CAAC,GAAG,CAAC,KAAI,EAAE,CAAA;AAEpE,MAAM,CAAC,MAAM,iBAAiB,GAAG,iBAAyC,CAAA;AAE1E,MAAM,CAAC,MAAM,oBAAoB,GAAG,CAAC,GAAG,EAAE,MAAM,CAAC,CAAC,QAAQ,CACxD,oBAAqB,CACtB,CAAA;AAED,MAAM,CAAC,MAAM,2BAA2B,GAAiB;IACvD;QACE,UAAU,EAAE,YAAY;QACxB,UAAU,EAAE,OAAO;KACpB;IACD;QACE,UAAU,EAAE,iBAAiB;QAC7B,UAAU,EAAE,aAAa;QACzB,KAAK,EAAE,aAAa;KACrB;CACF,CAAA;AAED,MAAM,CAAC,MAAM,0BAA0B,GAAG,EAAE,CAAA;AAE5C,IAAI,WAA2C,CAAA;AAe/C,MAAM,UAAU,iBAAiB,CAAI,MAAU;IAC7C,IAAI,MAAM,IAAI,OAAO,MAAM,KAAK,QAAQ,EAAE,CAAC;QACzC,MAAM,UAAU,GAAG,EAAO,CAAA;QAC1B,KAAK,MAAM,GAAG,IAAI,MAAM,EAAE,CAAC;YACzB,UAAU,CAAC,GAAc,CAAC,GAAG,MAAM,CAAC,GAAG,CAAC,CAAA;QAC1C,CAAC;QACD,OAAO,UAAU,CAAA;IACnB,CAAC;AACH,CAAC;AAED,MAAM,UAAU,YAAY,CAC1B,UAAkB,EAClB,gBAA0C;IAE1C,WAAW,aAAX,WAAW,cAAX,WAAW,IAAX,WAAW,GAAK,IAAI,GAAG,EAAE,EAAA;IAEzB,MAAM,YAAY,GAAG,WAAW,CAAC,GAAG,CAAC,UAAU,CAAC,CAAA;IAEhD,IAAI,YAAY,EAAE,CAAC;QACjB,OAAO,YAA0B,CAAA;IACnC,CAAC;IAED,IAAI,CAAC,IAAI,CAAC,UAAU,CAAC,UAAU,CAAC,EAAE,CAAC;QACjC,MAAM,IAAI,KAAK,CAAC,+BAA+B,CAAC,CAAA;IAClD,CAAC;IAED,MAAM,MAAM,GAAG,iBAAiB,CAC9B,UAAU,EACiB,OAAO,gBAAgB,KAAK,QAAQ;QAC7D,CAAC,CAAC,EAAE,OAAO,EAAE,gBAAgB,EAAE;QAC/B,CAAC,CAAC,gBAAgB,CACrB,CAAA;IAED,WAAW,CAAC,GAAG,CAAC,UAAU,EAAE,MAAM,CAAC,CAAA;IAEnC,OAAO,MAAoB,CAAA;AAC7B,CAAC;AAED,MAAM,UAAU,GACd,OAAO,OAAO,KAAK,WAAW;IAC5B,CAAC,CAAC,MAAM,CAAC,aAAa,CAAC,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC;IACvC,CAAC,CAA4B,OAAO,CAAA;AAExC,MAAM,OAAO,GAAG,CAAC,IAAY,EAAE,EAAE,CAC/B,IAAI,GAAG,CAAC,wBAAwB,kBAAkB,CAAC,IAAI,CAAC,EAAE,CAAC,CAAA;AAE7D,MAAM,CAAC,MAAM,MAAM,GAAG,CAAC,IAAY,EAAE,EAAE;;IACrC,IAAI,CAAC;QACH,OAAO,CAAC,CAAC,CAAA,MAAA,EAAE,CAAC,QAAQ,CAAC,IAAI,EAAE,EAAE,cAAc,EAAE,KAAK,EAAE,CAAC,0CAAE,MAAM,EAAE,CAAA,CAAA;IACjE,CAAC;IAAC,WAAM,CAAC;QAEP,OAAO,KAAK,CAAA;IACd,CAAC;AACH,CAAC,CAAA;AAED,MAAM,aAAa,GAAG,CACpB,UAAkB,EAClB,EAAE,QAAQ,EAAE,QAAQ,EAA+C,EACnE,EAAE;IACF,IAAI,GAAG,GAAG,IAAI,CAAC,OAAO,CAAC,UAAU,CAAC,CAAA;IAElC,IACE,CAAC,wBAAwB,CAAC,IAAI,CAAC,UAAU,CAAC;QAC1C,CAAC,CAAC,GAAG,IAAI,aAAa,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,EACjC,CAAC;QACD,MAAM,kBAAkB,GAAG,GAAG;YAC5B,CAAC,CAAC,UAAU,CAAC,KAAK,CAAC,CAAC,EAAE,CAAC,GAAG,CAAC,MAAM,CAAC;YAClC,CAAC,CAAC,UAAU,CAAA;QACd,IAAI,UAAoB,CAAA;QACxB,QAAQ,GAAG,EAAE,CAAC;YACZ,KAAK,MAAM,CAAC,CAAC,CAAC;gBACZ,UAAU,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC,CAAA;gBAC7B,MAAK;YACP,CAAC;YACD,KAAK,MAAM,CAAC,CAAC,CAAC;gBACZ,UAAU,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC,CAAA;gBAC7B,MAAK;YACP,CAAC;YACD,OAAO,CAAC,CAAC,CAAC;gBACR,UAAU,GAAG,CAAC,KAAK,EAAE,KAAK,CAAC,CAAA;gBAC3B,MAAK;YACP,CAAC;QACH,CAAC;QACD,MAAM,KAAK,GAAG,aAAa,CAAC,kBAAkB,EAAE,UAAU,CAAC,CAAA;QAC3D,IAAI,YAAiC,CAAA;QACrC,IAAI,KAAK,IAAI,CAAC,CAAC,GAAG,IAAI,CAAC,YAAY,GAAG,KAAK,KAAK,kBAAkB,CAAC,CAAC,EAAE,CAAC;YACrE,UAAU,GAAG,KAAK,CAAA;YAClB,IAAI,YAAY,EAAE,CAAC;gBACjB,GAAG,GAAG,IAAI,CAAC,OAAO,CAAC,UAAU,CAAC,CAAA;YAChC,CAAC;QACH,CAAC;IACH,CAAC;IAED,MAAM,IAAI,GAAG,YAAY,CAAC,IAAI,CAAC,UAAU,CAAC,CAAA;IAE1C,IAAI,QAAQ,GAAG,UAAU,CAAC,QAAQ,CAAC,MAAM,CAAC,CAAA;IAC1C,IAAI,QAAQ,GAAG,UAAU,CAAC,QAAQ,CAAC,MAAM,CAAC,CAAA;IAE1C,IAAI,IAAI,EAAE,CAAC;QACT,IAAI,CAAC,QAAQ,EAAE,CAAC;YACd,MAAM,GAAG,GAAG,MAAM,CAAC,UAAU,CAAC,CAAA;YAC9B,IAAI,GAAG,EAAE,CAAC;gBACR,QAAQ;oBACL,UAAU,CAAC,GAAG,CAAsC,CAAC,IAAI;wBAC1D,QAAQ,CAAA;YACZ,CAAC;QACH,CAAC;QAED,IAAI,QAAQ,IAAI,IAAI,IAAI,cAAc,CAAC,QAAQ,CAAC,MAAM,CAAC,EAAE,CAAC;YACxD,QAAQ,GAAG,QAAQ,CAAC,MAAM,CAAA;QAC5B,CAAC;QAED,QAAQ,QAAQ,EAAE,CAAC;YACjB,KAAK,QAAQ,CAAC,MAAM,CAAC,CAAC,CAAC;gBACrB,IAAI,QAAQ,EAAE,CAAC;oBACb,IAAI,CAAC,QAAQ,CAAC,QAAQ,CAAC,UAAU,CAAC,EAAE,CAAC;wBACnC,QAAQ,GAAG,CAAC,UAAU,EAAE,GAAG,QAAQ,CAAC,MAAM,MAAM,EAAE,GAAG,QAAQ,CAAC,CAAA;oBAChE,CAAC;gBACH,CAAC;qBAAM,IAAI,CAAC,QAAQ,CAAC,QAAQ,CAAC,IAAI,CAAC,EAAE,CAAC;oBACpC,QAAQ,GAAG,CAAC,IAAI,EAAE,GAAG,QAAQ,CAAC,MAAM,WAAW,EAAE,GAAG,QAAQ,CAAC,CAAA;gBAC/D,CAAC;gBACD,MAAK;YACP,CAAC;YACD,KAAK,QAAQ,CAAC,eAAe,CAAC,CAAC,CAAC;gBAC9B,IAAI,CAAC,QAAQ,CAAC,QAAQ,CAAC,IAAI,CAAC,EAAE,CAAC;oBAC7B,QAAQ,GAAG,CAAC,IAAI,EAAE,QAAQ,CAAC,eAAe,EAAE,GAAG,QAAQ,CAAC,CAAA;gBAC1D,CAAC;gBACD,MAAK;YACP,CAAC;YACD,KAAK,QAAQ,CAAC,aAAa,CAAC,CAAC,CAAC;gBAC5B,IAAI,CAAC,QAAQ,CAAC,QAAQ,CAAC,IAAI,CAAC,EAAE,CAAC;oBAC7B,QAAQ,GAAG,CAAC,IAAI,EAAE,GAAG,QAAQ,CAAC,aAAa,WAAW,EAAE,GAAG,QAAQ,CAAC,CAAA;gBACtE,CAAC;gBACD,MAAK;YACP,CAAC;YACD,KAAK,QAAQ,CAAC,GAAG,CAAC,CAAC,CAAC;gBAClB,IAAI,CAAC,QAAQ,CAAC,QAAQ,CAAC,IAAI,CAAC,EAAE,CAAC;oBAC7B,QAAQ,GAAG,CAAC,IAAI,EAAE,IAAI,QAAQ,CAAC,GAAG,gBAAgB,EAAE,GAAG,QAAQ,CAAC,CAAA;gBAClE,CAAC;gBACD,MAAK;YACP,CAAC;YACD,KAAK,QAAQ,CAAC,GAAG,CAAC,CAAC,CAAC;gBAClB,IAAI,CAAC,QAAQ,CAAC,QAAQ,CAAC,UAAU,CAAC,EAAE,CAAC;oBACnC,QAAQ,GAAG,CAAC,UAAU,EAAE,QAAQ,CAAC,GAAG,EAAE,GAAG,QAAQ,CAAC,CAAA;gBACpD,CAAC;gBACD,MAAK;YACP,CAAC;YACD,OAAO,CAAC,CAAC,CAAC;gBACR,MAAM,IAAI,KAAK,CAAC,sBAAsB,MAAM,CAAC,QAAQ,CAAC,EAAE,CAAC,CAAA;YAC3D,CAAC;QACH,CAAC;IACH,CAAC;SAAM,IAAI,CAAC,QAAQ,EAAE,CAAC;QACrB,MAAM,GAAG,GAAG,MAAM,CAAC,UAAU,CAAC,CAAA;QAC9B,IAAI,GAAG,EAAE,CAAC;YACR,QAAQ;gBACL,UAAU,CAAC,GAAG,CAAsC,CAAC,IAAI,KAAK,QAAQ,CAAA;QAC3E,CAAC;IACH,CAAC;IAED,IAAI,qBAAyC,CAAA;IAG7C,IAAI,OAAO,CAAC,QAAQ,CAAC,GAAG,EAAE,CAAC;QACzB,MAAM,WAAW,GAAG,YAAY,aAAZ,YAAY,uBAAZ,YAAY,CAAE,KAAK,CAAC,KAAK,CAAC,CAAA;QAC9C,IAAI,UAA8B,CAAA;QAClC,IAAI,CAAC;YAEH,UAAU,GAAG,UAAU,CAAC,OAAO,CAAC,QAAQ,CAAC,CAAA;QAC3C,CAAC;QAAC,WAAM,CAAC,CAAA,CAAC;QACV,IACE,UAAU;YACV,CAAC,CAAA,WAAW,aAAX,WAAW,uBAAX,WAAW,CAAE,IAAI,CAChB,CAAC,MAAM,EAAE,KAAK,EAAE,EAAE,CAChB,CAAC,IAAI,EAAE,WAAW,CAAC,CAAC,QAAQ,CAAC,MAAM,CAAC;gBACpC,UAAU,KAAK,UAAU,CAAC,OAAO,CAAC,WAAW,CAAC,KAAK,GAAG,CAAC,CAAC,CAAC,CAC5D,CAAA;YACD,CAAC,QAAQ,CAAC,QAAQ,CAAC,UAAU,CAAC,EAC9B,CAAC;YACD,QAAQ,GAAG,CAAC,IAAI,EAAE,UAAU,EAAE,GAAG,QAAQ,CAAC,CAAA;YAC1C,MAAM,aAAa,GAAG,IAAI,CAAC,OAAO,CAAC,UAAU,EAAE,oBAAoB,CAAC,CAAA;YACpE,IAAI,MAAM,CAAC,aAAa,CAAC,EAAE,CAAC;gBAI1B,qBAAqB,GAAG,aAAa,CAAC,aAAa,CAAC,CAAC,QAAQ,EAAE,CAAA;gBAE/D,IAAI,CAAC,UAAU,EAAE,CAAC;oBAChB,QAAQ,GAAG;wBACT,uBAAuB;wBACvB,qBAAqB;wBACrB,GAAG,QAAQ;qBACZ,CAAA;gBACH,CAAC;YACH,CAAC;QACH,CAAC;IACH,CAAC;IAED,OAAO;QACL,GAAG;QACH,IAAI;QACJ,QAAQ;QACR,QAAQ;QACR,QAAQ;QACR,UAAU;QACV,aAAa,EAAE,qBAAqB;QACpC,QAAQ;KACT,CAAA;AACH,CAAC,CAAA;AAED,MAAM,OAAO,GAAG,CAAC,IAAY,EAAE,EAAE,CAAC,UAAU,CAAC,KAAK,CAAC,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,MAAM,CAAC,KAAK,CAAC,CAAA;AAE9E,MAAM,CAAC,MAAM,kBAAkB,GAAG,CAChC,sBAA2C,EAC3C,OAA6B,QAAQ,EAErC,EAAE;IACF,MAAM,EAAE,UAAU,EAAE,UAAU,EAAE,KAAK,EAAE,WAAW,EAAE,GAClD,OAAO,sBAAsB,KAAK,QAAQ;QACxC,CAAC,CAAC,EAAE,UAAU,EAAE,sBAAsB,EAAE;QACxC,CAAC,CAAC,sBAAsB,CAAA;IAC5B,MAAM,eAAe,GACnB,IAAI,KAAK,QAAQ;QACf,CAAC,CAAC,SACE,UAAU;YACR,CAAC,CAAC,GAAG;gBACH,CAAC,KAAK,KAAK,IAAI;oBACb,CAAC,CAAC,OAAO,GAAG,UAAU;oBACtB,CAAC,CAAC,CAAA,KAAK,aAAL,KAAK,uBAAL,KAAK,CAAE,IAAI,EAAE;wBACb,CAAC,CAAC,IAAI,KAAK,GAAG;wBACd,CAAC,CAAC,UAAU,CAAC;gBACjB,OAAO;YACT,CAAC,CAAC,EACN,KACE,IAAI,CAAC,UAAU,CAAC,UAAU,CAAC;YACzB,CAAC,CAAC,MAAM,CAAC,aAAa,CAAC,UAAU,CAAC,CAAC;YACnC,CAAC,CAAC,UACN,GAAG;QACL,CAAC,CAAC,GACE,UAAU;YACR,CAAC,CAAC,QAAQ,GAAG,CAAC,CAAA,KAAK,aAAL,KAAK,uBAAL,KAAK,CAAE,IAAI,EAAE,EAAC,CAAC,CAAC,IAAI,KAAK,GAAG,CAAC,CAAC,CAAC,UAAU,CAAC,GAAG,GAAG;YAC9D,CAAC,CAAC,EACN,YAAY,UAAU;aAEnB,OAAO,CAAC,KAAK,EAAE,MAAM,CAAC,IAAI,CAAA;IAEnC,IAAI,CAAC,UAAU,EAAE,CAAC;QAChB,OAAO,eAAe,CAAA;IACxB,CAAC;IAED,MAAM,iBAAiB,GAAG,cAAc,UAAU,IAChD,CAAA,KAAK,aAAL,KAAK,uBAAL,KAAK,CAAE,IAAI,EAAE,EAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,UAC1B,EAAE,CAAA;IAEF,OAAO,CACL,eAAe;QACf,CAAC,WAAW,KAAK,KAAK;YACpB,CAAC,CAAC,IAAI,iBAAiB,EAAE;YACzB,CAAC,CAAC,mBAAmB,UAAU,IAAI,iBAAiB,EAAE,CAAC,CAC1D,CAAA;AACH,CAAC,CAAA;AAKD,MAAM,CAAC,MAAM,gBAAgB,GAAG,CAC9B,WAAyB,EACzB,IAA0B,EAC1B,EAAE,CACF,WAAW,CAAC,MAAM,CAChB,CAAC,GAAG,EAAE,IAAI,EAAE,EAAE,CAAC,GAAG,GAAG,GAAG,GAAG,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,GAAG,kBAAkB,CAAC,IAAI,EAAE,IAAI,CAAC,EAAE,EACzE,EAAE,CACH,CAAA;AAEH,IAAI,YAA2E,CAAA;AAE/E,IAAI,MAAc,CAAA;AAElB,MAAM,QAAQ,GACZ,OAAO,SAAS,KAAK,WAAW;IAC9B,CAAC,CAAC,IAAI,CAAC,OAAO,CAAC,aAAa,CAAC,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;IAC9C,CAAC,CAA4B,SAAS,CAAA;AAE1C,IAAI,YAA2C,CAAA;AAC/C,IAAI,gBAAwC,CAAA;AAE5C,MAAM,CAAC,MAAM,eAAe,GAAG,CAC7B,UAAkB,EAClB,WAAyB,EACzB,OAA6B,QAAQ,EACrC,EAAE;IACF,YAAY,aAAZ,YAAY,cAAZ,YAAY,IAAZ,YAAY,GAAK,IAAI,GAAG,EAAE,EAAA;IAE1B,MAAM,MAAM,GAAG,YAAY,CAAC,GAAG,CAAC,UAAU,CAAC,CAAA;IAE3C,IAAI,MAAM,EAAE,CAAC;QACX,MAAM,CAAC,OAAO,EAAE,QAAQ,CAAC,GAAG,MAAM,CAAA;QAElC,IACE,CAAC,IAAI,KAAK,SAAS,IAAI,CAAC,QAAQ,CAAC;YACjC,CAAC,IAAI,KAAK,QAAQ,IAAI,QAAQ,IAAI,MAAM,CAAC,QAAQ,CAAC,CAAC,EACnD,CAAC;YACD,OAAO,OAAO,CAAA;QAChB,CAAC;IACH,CAAC;IAED,MAAM,OAAO,GAAG,gBAAgB,CAAC,WAAW,EAAE,IAAI,CAAC,CAAA;IAEnD,IAAI,OAAO,GAAG,OAAO,CAAA;IACrB,IAAI,QAA4B,CAAA;IAEhC,IAAI,IAAI,KAAK,QAAQ,EAAE,CAAC;QACtB,IAAI,CAAC,MAAM,EAAE,CAAC;YACZ,MAAM,GAAG,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,QAAQ,CAAC,EAAE,0BAA0B,CAAC,CAAA;QACrE,CAAC;QACD,EAAE,CAAC,SAAS,CAAC,MAAM,EAAE,EAAE,SAAS,EAAE,IAAI,EAAE,CAAC,CAAA;QACzC,QAAQ,GAAG,IAAI,CAAC,OAAO,CAAC,MAAM,EAAE,OAAO,CAAC,UAAU,CAAC,GAAG,MAAM,CAAC,CAAA;QAC7D,OAAO,GAAG,kBAAkB,CAAC,QAAQ,CAAC,CAAA;QACtC,EAAE,CAAC,aAAa,CAAC,QAAQ,EAAE,OAAO,CAAC,CAAA;IACrC,CAAC;IAED,YAAY,CAAC,GAAG,CAAC,UAAU,EAAE,CAAC,OAAO,EAAE,QAAQ,CAAC,CAAC,CAAA;IAEjD,OAAO,OAAO,CAAA;AAChB,CAAC,CAAA;AAGD,SAAS,iBAAiB,CACxB,UAAkB,EAClB,EACE,OAAO,GAAG,eAAe,EACzB,QAAQ,GAAG,iBAAiB,EAC5B,QAAQ,GAAG,iBAAiB,EAC5B,YAAY,GAAG,EAAE,EACjB,WAAW,GAAG,oBAAoB,MAChB,EAAE;IAEtB,MAAM,EAAE,KAAK,EAAE,QAAQ,EAAE,KAAK,EAAE,UAAU,EAAE,GAAG,IAAI,cAAc,EAAE,CAAA;IAEnE,MAAM,EACJ,IAAI,EACJ,GAAG,EACH,QAAQ,EACR,QAAQ,EACR,QAAQ,EAAE,aAAa,EACvB,UAAU,EAAE,eAAe,EAC3B,aAAa,EACb,QAAQ,EAAE,aAAa,GACxB,GAAG,aAAa,CAAC,UAAU,EAAE,EAAE,QAAQ,EAAE,QAAQ,EAAE,CAAC,CAAA;IAErD,MAAM,aAAa,GAAG,aAAa,CAAC,eAAe,CAAC,CAAA;IAEpD,IAAI,WAAW,CAAC,IAAI,CAAC,eAAe,CAAC,EAAE,CAAC;QACtC,MAAM,cAAc,GAClB,CAAC,QAAQ;YACT,MAAM,CAAC,UAAU,CAAC,OAAO,CAAC,QAAQ,CAAC,IAAI,CAAC,IAAI,0BAA0B,CAAA;QAExE,IAAI,CAAC,aAAa,EAAE,CAAC;YACnB,MAAM,IAAI,KAAK,CAAC,yDAAyD,CAAC,CAAA;QAC5E,CAAC;aAA+B,IAE5B;YAEE,QAAQ,CAAC,eAAe;YAExB,QAAQ,CAAC,aAAa;YAEtB,QAAQ,CAAC,GAAG;YACZ,GAA8B,CAAC,cAAc,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC,QAAQ,CAAC,GAAG,CAAC,CAAC;SAEvE,CAAC,QAAQ,CAAC,aAAa,CAAC,EACzB,CAAC;YACD,MAAM,IAAI,KAAK,CACb,GAAG,aAAa,yBAAyB,GAAG,YAAY;gBAC3B,CAAC,cAAc;oBACxC,CAAC,CAAC,iEAAiE;oBACnE,CAAC,CAAC,EAAE,CAAC,CACV,CAAA;QACH,CAAC;IACH,CAAC;IAED,MAAM,gBAAgB,GAAG,CACvB,WAAW,KAAK,IAAI;QAClB,CAAC,CAAC,2BAA2B;QAC7B,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,WAAW,CAAC;YAC1B,CAAC,CAAC,WAAW;YACb,CAAC,CAAC,EAAE,CACT,CAAC,MAAM,CAAC,CAAC,EAAE,UAAU,EAAE,EAAE,EAAE,CAAC,cAAc,CAAC,UAAU,CAAC,CAAC,CAAA;IAIxD,gBAAgB,aAAhB,gBAAgB,cAAhB,gBAAgB,IAAhB,gBAAgB,GAAK,IAAI,UAAU,CACN,CAAC,YAAY,aAAZ,YAAY,cAAZ,YAAY,IAAZ,YAAY,GAAK,IAAI,iBAAiB,CAChE,WAAW,CACZ,EAAC,EACF,CAAC,EACD,CAAC,CACF,EAAA;IAED,MAAM,UAAU,GAAG,gBAAgB,CAAC,MAAM,GAAG,CAAC,CAAA;IAE9C,MAAM,OAAO,GAAG,IAAI,CAAC,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,QAAQ,IAAI,UAAU,CAAA;IAE1D,MAAM,MAAM,GAAG,IAAI,MAAM,CACvB,CAAC,QAAQ,IAAI,UAAU,CAAC,IAAI,CAAC,QAAQ,IAAI,aAAa,KAAK,QAAQ,CAAC,MAAM,CAAC;QACzE,CAAC,CAAC,OAAO,CACL,GAAG,eAAe,CAChB,eAAe,EACf,gBAAgB,CACjB,YAAY,MAAM,CAAC,aAAa,CAAC,GAAG,CACtC;QACH,CAAC,CAAC,OAAO;YACP,CAAC,CAAC,GAAG,eAAe,CAChB,eAAe,EACf,gBAAgB,EAChB,SAAS,CACV,IAAI,kBAAkB,CAAC,eAAe,EAAE,SAAS,CAAC,EAAE;YACvD,CAAC,CAAC,aAAa,EACnB;QACE,IAAI,EAAE,OAAO;QACb,UAAU,EAAE,EAAE,YAAY,EAAE,UAAU,EAAE,aAAa,EAAE;QACvD,YAAY,EAAE,CAAC,UAAU,EAAE,GAAG,YAAY,CAAC;QAC3C,QAAQ,EAAE,aAAa;KACxB,CACF,CAAA;IAED,IAAI,MAAM,GAAG,CAAC,CAAA;IAEd,MAAM,oBAAoB,GAAG,CAC3B,IAAiB,EACjB,UAAkB,EAClB,cAAuB,EACC,EAAE;QAC1B,MAAM,KAAK,GAAG,IAAI,CAAC,GAAG,EAAE,CAAA;QACxB,MAAM,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC,gBAAiB,EAAE,CAAC,EAAE,CAAC,EAAE,cAAc,CAAC,CAAA;QACpE,OAAO,CAAC,KAAK,CAAC,gBAAiB,EAAE,CAAC,EAAE,CAAC,CAAC,CAAA;QAEtC,IAAI,CAAC,CAAC,IAAI,EAAE,WAAW,CAAC,CAAC,QAAQ,CAAC,MAAM,CAAC,EAAE,CAAC;YAC1C,MAAM,QAAQ,GAA+B;gBAC3C,EAAE,EAAE,UAAU;gBACd,GAAG,EAAE,OAAO;aACb,CAAA;YACD,IAAI,CAAC,WAAW,CAAC,QAAQ,CAAC,CAAA;YAC1B,MAAM,IAAI,KAAK,CAAC,yCAAyC,GAAG,MAAM,CAAC,CAAA;QACrE,CAAC;QAED,MAAM,KACJ,oBAAoB,CAAC,QAAQ,CAC9B,CAAC,OAAO,EAFH,EAAE,EAAE,OAED,EAFM,OAAO,cAAhB,MAAkB,CAEf,CAAA;QAET,IAAI,EAAE,GAAG,UAAU,EAAE,CAAC;YACpB,MAAM,WAAW,GAAG,IAAI,CAAC,GAAG,EAAE,GAAG,KAAK,CAAA;YACtC,OAAO,oBAAoB,CACzB,IAAI,EACJ,UAAU,EACV,cAAc,CAAC,CAAC,CAAC,cAAc,GAAG,WAAW,CAAC,CAAC,CAAC,SAAS,CAC1D,CAAA;QACH,CAAC;QAED,IAAI,UAAU,KAAK,EAAE,EAAE,CAAC;YACtB,MAAM,IAAI,KAAK,CACb,+BAA+B,UAAU,eAAe,EAAE,EAAE,CAC7D,CAAA;QACH,CAAC;QAED,uBAAS,EAAE,IAAK,OAAO,EAAE;IAC3B,CAAC,CAAA;IAED,MAAM,MAAM,GAAG,CAAC,GAAG,IAAmB,EAAK,EAAE;QAC3C,MAAM,EAAE,GAAG,MAAM,EAAE,CAAA;QAEnB,MAAM,GAAG,GAAuC,EAAE,EAAE,EAAE,IAAI,EAAE,CAAA;QAE5D,MAAM,CAAC,WAAW,CAAC,GAAG,CAAC,CAAA;QAEvB,MAAM,EAAE,MAAM,EAAE,KAAK,EAAE,UAAU,EAAE,GAAG,oBAAoB,CACxD,QAAQ,EACR,EAAE,EACF,OAAO,CACR,CAAA;QAED,IAAI,KAAK,EAAE,CAAC;YACV,MAAM,MAAM,CAAC,MAAM,CAAC,KAAe,EAAE,UAAU,CAAC,CAAA;QAClD,CAAC;QAED,OAAO,MAAO,CAAA;IAChB,CAAC,CAAA;IAED,MAAM,CAAC,KAAK,EAAE,CAAA;IAEd,OAAO,MAAM,CAAA;AACf,CAAC;AAGD,MAAM,UAAU,WAAW,CAGzB,EAAK;IAEL,IAAI,CAAC,UAAU,EAAE,CAAC;QAChB,OAAM;IACR,CAAC;IAED,MAAM,EAAE,UAAU,EAAE,YAAY,EAAE,aAAa,EAAE,GAAG,UAAwB,CAAA;IAE5E,IAAI,aAAa,IAAI,UAAU,EAAE,CAAC;QAChC,MAAM,CAAC,QAAQ,CAAC,aAAa,CAAC,CAAA;IAChC,CAAC;IAED,MAAM,gBAAgB,GAAG,IAAI,UAAU,CAAC,YAAY,EAAE,CAAC,EAAE,CAAC,CAAC,CAAA;IAE3D,UAAW,CAAC,EAAE,CACZ,SAAS,EACT,CAAC,EAAE,EAAE,EAAE,IAAI,EAAsC,EAAE,EAAE;QAEnD,CAAC;QAAA,CAAC,GAAS,EAAE;YACX,IAAI,SAAS,GAAG,KAAK,CAAA;YACrB,MAAM,kBAAkB,GAAG,CAAC,GAA+B,EAAE,EAAE;gBAC7D,IAAI,GAAG,CAAC,EAAE,KAAK,EAAE,IAAI,GAAG,CAAC,GAAG,KAAK,OAAO,EAAE,CAAC;oBACzC,SAAS,GAAG,IAAI,CAAA;gBAClB,CAAC;YACH,CAAC,CAAA;YACD,UAAU,CAAC,EAAE,CAAC,SAAS,EAAE,kBAAkB,CAAC,CAAA;YAC5C,IAAI,GAA2B,CAAA;YAC/B,IAAI,CAAC;gBACH,GAAG,GAAG,EAAE,EAAE,EAAE,MAAM,EAAE,MAAM,EAAE,CAAC,GAAG,IAAI,CAAC,EAAE,CAAA;YACzC,CAAC;YAAC,OAAO,KAAc,EAAE,CAAC;gBACxB,GAAG,GAAG,EAAE,EAAE,EAAE,KAAK,EAAE,UAAU,EAAE,iBAAiB,CAAC,KAAK,CAAC,EAAE,CAAA;YAC3D,CAAC;YACD,UAAU,CAAC,GAAG,CAAC,SAAS,EAAE,kBAAkB,CAAC,CAAA;YAE7C,IAAI,SAAS,EAAE,CAAC;gBACd,OAAM;YACR,CAAC;YACD,UAAU,CAAC,WAAW,CAAC,GAAG,CAAC,CAAA;YAC3B,OAAO,CAAC,GAAG,CAAC,gBAAgB,EAAE,CAAC,EAAE,CAAC,CAAC,CAAA;YACnC,OAAO,CAAC,MAAM,CAAC,gBAAgB,EAAE,CAAC,CAAC,CAAA;QACrC,CAAC,CAAA,CAAC,EAAE,CAAA;IACN,CAAC,CACF,CAAA;AACH,CAAC"} \ No newline at end of file diff --git a/node_modules/synckit/lib/types.d.ts b/node_modules/synckit/lib/types.d.ts index 88d76807f9..7cb6380a5f 100644 --- a/node_modules/synckit/lib/types.d.ts +++ b/node_modules/synckit/lib/types.d.ts @@ -7,12 +7,17 @@ export type Syncify = T extends (...args: infer Args) => P export type PromiseType = T extends Promise ? R : never; export type ValueOf = T[keyof T]; export interface MainToWorkerMessage { - sharedBuffer: SharedArrayBuffer; id: number; args: T; } +export interface MainToWorkerCommandMessage { + id: number; + cmd: string; +} export interface WorkerData { + sharedBuffer: SharedArrayBuffer; workerPort: MessagePort; + pnpLoaderPath: string | undefined; } export interface DataMessage { result?: T; @@ -22,3 +27,9 @@ export interface DataMessage { export interface WorkerToMainMessage extends DataMessage { id: number; } +export interface GlobalShim { + moduleName: string; + globalName?: string; + named?: string | null; + conditional?: boolean; +} diff --git a/node_modules/synckit/node_modules/tslib/modules/index.d.ts b/node_modules/synckit/node_modules/tslib/modules/index.d.ts index 0fedae881e..3244fabeec 100644 --- a/node_modules/synckit/node_modules/tslib/modules/index.d.ts +++ b/node_modules/synckit/node_modules/tslib/modules/index.d.ts @@ -33,5 +33,6 @@ export { __createBinding, __addDisposableResource, __disposeResources, + __rewriteRelativeImportExtension, } from '../tslib.js'; export * as default from '../tslib.js'; diff --git a/node_modules/synckit/node_modules/tslib/modules/index.js b/node_modules/synckit/node_modules/tslib/modules/index.js index af9f5ac4e2..c91f61864f 100644 --- a/node_modules/synckit/node_modules/tslib/modules/index.js +++ b/node_modules/synckit/node_modules/tslib/modules/index.js @@ -31,6 +31,7 @@ const { __classPrivateFieldIn, __addDisposableResource, __disposeResources, + __rewriteRelativeImportExtension, } = tslib; export { __extends, @@ -64,5 +65,6 @@ export { __classPrivateFieldIn, __addDisposableResource, __disposeResources, + __rewriteRelativeImportExtension, }; export default tslib; diff --git a/node_modules/synckit/node_modules/tslib/package.json b/node_modules/synckit/node_modules/tslib/package.json index 2e92f67a77..737066ef7f 100644 --- a/node_modules/synckit/node_modules/tslib/package.json +++ b/node_modules/synckit/node_modules/tslib/package.json @@ -2,7 +2,7 @@ "name": "tslib", "author": "Microsoft Corp.", "homepage": "https://www.typescriptlang.org/", - "version": "2.6.0", + "version": "2.8.1", "license": "0BSD", "description": "Runtime library for TypeScript helper functions", "keywords": [ @@ -29,7 +29,7 @@ "exports": { ".": { "module": { - "types": "./tslib/modules/index.d.ts", + "types": "./modules/index.d.ts", "default": "./tslib.es6.mjs" }, "import": { diff --git a/node_modules/synckit/node_modules/tslib/tslib.d.ts b/node_modules/synckit/node_modules/tslib/tslib.d.ts index 104369b3b5..f23df5596e 100644 --- a/node_modules/synckit/node_modules/tslib/tslib.d.ts +++ b/node_modules/synckit/node_modules/tslib/tslib.d.ts @@ -123,7 +123,7 @@ export declare function __generator(thisArg: any, body: Function): any; * Creates bindings for all enumerable properties of `m` on `exports` * * @param m The source object - * @param exports The `exports` object. + * @param o The `exports` object. */ export declare function __exportStar(m: any, o: any): void; @@ -451,3 +451,10 @@ export declare function __addDisposableResource(env: { stack: { value?: unkno * @seealso {@link __addDisposableResource} */ export declare function __disposeResources(env: { stack: { value?: unknown, dispose?: Function, async: boolean }[]; error: unknown; hasError: boolean; }): any; + +/** + * Transforms a relative import specifier ending in a non-declaration TypeScript file extension to its JavaScript file extension counterpart. + * @param path The import specifier. + * @param preserveJsx Causes '*.tsx' to transform to '*.jsx' instead of '*.js'. Should be true when `--jsx` is set to `preserve`. + */ +export declare function __rewriteRelativeImportExtension(path: string, preserveJsx?: boolean): string; \ No newline at end of file diff --git a/node_modules/synckit/node_modules/tslib/tslib.es6.js b/node_modules/synckit/node_modules/tslib/tslib.es6.js index 801630cc8e..6c1739b341 100644 --- a/node_modules/synckit/node_modules/tslib/tslib.es6.js +++ b/node_modules/synckit/node_modules/tslib/tslib.es6.js @@ -12,7 +12,7 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. ***************************************************************************** */ -/* global Reflect, Promise, SuppressedError, Symbol */ +/* global Reflect, Promise, SuppressedError, Symbol, Iterator */ var extendStatics = function(d, b) { extendStatics = Object.setPrototypeOf || @@ -123,8 +123,8 @@ export function __awaiter(thisArg, _arguments, P, generator) { } export function __generator(thisArg, body) { - var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g; - return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g; + var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype); + return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g; function verb(n) { return function (v) { return step([n, v]); }; } function step(op) { if (f) throw new TypeError("Generator is already executing."); @@ -228,8 +228,9 @@ export function __await(v) { export function __asyncGenerator(thisArg, _arguments, generator) { if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined."); var g = generator.apply(thisArg, _arguments || []), i, q = []; - return i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i; - 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); }); }; } + return i = Object.create((typeof AsyncIterator === "function" ? AsyncIterator : Object).prototype), verb("next"), verb("throw"), verb("return", awaitReturn), i[Symbol.asyncIterator] = function () { return this; }, i; + function awaitReturn(f) { return function (v) { return Promise.resolve(v).then(f, reject); }; } + function verb(n, f) { if (g[n]) { i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; if (f) i[n] = f(i[n]); } } function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } } function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); } function fulfill(value) { resume("next", value); } @@ -262,10 +263,19 @@ var __setModuleDefault = Object.create ? (function(o, v) { o["default"] = v; }; +var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); +}; + export function __importStar(mod) { if (mod && mod.__esModule) return mod; var result = {}; - if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k); + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); __setModuleDefault(result, mod); return result; } @@ -294,8 +304,8 @@ export function __classPrivateFieldIn(state, receiver) { export function __addDisposableResource(env, value, async) { if (value !== null && value !== void 0) { - if (typeof value !== "object") throw new TypeError("Object expected."); - var dispose; + if (typeof value !== "object" && typeof value !== "function") throw new TypeError("Object expected."); + var dispose, inner; if (async) { if (!Symbol.asyncDispose) throw new TypeError("Symbol.asyncDispose is not defined."); dispose = value[Symbol.asyncDispose]; @@ -303,14 +313,17 @@ export function __addDisposableResource(env, value, async) { if (dispose === void 0) { if (!Symbol.dispose) throw new TypeError("Symbol.dispose is not defined."); dispose = value[Symbol.dispose]; + if (async) inner = dispose; } if (typeof dispose !== "function") throw new TypeError("Object not disposable."); + if (inner) dispose = function() { try { inner.call(this); } catch (e) { return Promise.reject(e); } }; env.stack.push({ value: value, dispose: dispose, async: async }); } else if (async) { env.stack.push({ async: true }); } return value; + } var _SuppressedError = typeof SuppressedError === "function" ? SuppressedError : function (error, suppressed, message) { @@ -323,48 +336,67 @@ export function __disposeResources(env) { env.error = env.hasError ? new _SuppressedError(e, env.error, "An error was suppressed during disposal.") : e; env.hasError = true; } + var r, s = 0; function next() { - while (env.stack.length) { - var rec = env.stack.pop(); + while (r = env.stack.pop()) { try { - var result = rec.dispose && rec.dispose.call(rec.value); - if (rec.async) return Promise.resolve(result).then(next, function(e) { fail(e); return next(); }); + if (!r.async && s === 1) return s = 0, env.stack.push(r), Promise.resolve().then(next); + if (r.dispose) { + var result = r.dispose.call(r.value); + if (r.async) return s |= 2, Promise.resolve(result).then(next, function(e) { fail(e); return next(); }); + } + else s |= 1; } catch (e) { fail(e); } } + if (s === 1) return env.hasError ? Promise.reject(env.error) : Promise.resolve(); if (env.hasError) throw env.error; } return next(); } +export function __rewriteRelativeImportExtension(path, preserveJsx) { + if (typeof path === "string" && /^\.\.?\//.test(path)) { + return path.replace(/\.(tsx)$|((?:\.d)?)((?:\.[^./]+?)?)\.([cm]?)ts$/i, function (m, tsx, d, ext, cm) { + return tsx ? preserveJsx ? ".jsx" : ".js" : d && (!ext || !cm) ? m : (d + ext + "." + cm.toLowerCase() + "js"); + }); + } + return path; +} + export default { - __extends, - __assign, - __rest, - __decorate, - __param, - __metadata, - __awaiter, - __generator, - __createBinding, - __exportStar, - __values, - __read, - __spread, - __spreadArrays, - __spreadArray, - __await, - __asyncGenerator, - __asyncDelegator, - __asyncValues, - __makeTemplateObject, - __importStar, - __importDefault, - __classPrivateFieldGet, - __classPrivateFieldSet, - __classPrivateFieldIn, - __addDisposableResource, - __disposeResources, + __extends: __extends, + __assign: __assign, + __rest: __rest, + __decorate: __decorate, + __param: __param, + __esDecorate: __esDecorate, + __runInitializers: __runInitializers, + __propKey: __propKey, + __setFunctionName: __setFunctionName, + __metadata: __metadata, + __awaiter: __awaiter, + __generator: __generator, + __createBinding: __createBinding, + __exportStar: __exportStar, + __values: __values, + __read: __read, + __spread: __spread, + __spreadArrays: __spreadArrays, + __spreadArray: __spreadArray, + __await: __await, + __asyncGenerator: __asyncGenerator, + __asyncDelegator: __asyncDelegator, + __asyncValues: __asyncValues, + __makeTemplateObject: __makeTemplateObject, + __importStar: __importStar, + __importDefault: __importDefault, + __classPrivateFieldGet: __classPrivateFieldGet, + __classPrivateFieldSet: __classPrivateFieldSet, + __classPrivateFieldIn: __classPrivateFieldIn, + __addDisposableResource: __addDisposableResource, + __disposeResources: __disposeResources, + __rewriteRelativeImportExtension: __rewriteRelativeImportExtension, }; diff --git a/node_modules/synckit/node_modules/tslib/tslib.es6.mjs b/node_modules/synckit/node_modules/tslib/tslib.es6.mjs index 3f941d2044..c17990a13a 100644 --- a/node_modules/synckit/node_modules/tslib/tslib.es6.mjs +++ b/node_modules/synckit/node_modules/tslib/tslib.es6.mjs @@ -12,7 +12,7 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. ***************************************************************************** */ -/* global Reflect, Promise, SuppressedError, Symbol */ +/* global Reflect, Promise, SuppressedError, Symbol, Iterator */ var extendStatics = function(d, b) { extendStatics = Object.setPrototypeOf || @@ -123,8 +123,8 @@ export function __awaiter(thisArg, _arguments, P, generator) { } export function __generator(thisArg, body) { - var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g; - return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g; + var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype); + return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g; function verb(n) { return function (v) { return step([n, v]); }; } function step(op) { if (f) throw new TypeError("Generator is already executing."); @@ -228,8 +228,9 @@ export function __await(v) { export function __asyncGenerator(thisArg, _arguments, generator) { if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined."); var g = generator.apply(thisArg, _arguments || []), i, q = []; - return i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i; - 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); }); }; } + return i = Object.create((typeof AsyncIterator === "function" ? AsyncIterator : Object).prototype), verb("next"), verb("throw"), verb("return", awaitReturn), i[Symbol.asyncIterator] = function () { return this; }, i; + function awaitReturn(f) { return function (v) { return Promise.resolve(v).then(f, reject); }; } + function verb(n, f) { if (g[n]) { i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; if (f) i[n] = f(i[n]); } } function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } } function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); } function fulfill(value) { resume("next", value); } @@ -262,10 +263,19 @@ var __setModuleDefault = Object.create ? (function(o, v) { o["default"] = v; }; +var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); +}; + export function __importStar(mod) { if (mod && mod.__esModule) return mod; var result = {}; - if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k); + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); __setModuleDefault(result, mod); return result; } @@ -294,17 +304,19 @@ export function __classPrivateFieldIn(state, receiver) { export function __addDisposableResource(env, value, async) { if (value !== null && value !== void 0) { - if (typeof value !== "object") throw new TypeError("Object expected."); - var dispose; + if (typeof value !== "object" && typeof value !== "function") throw new TypeError("Object expected."); + var dispose, inner; if (async) { - if (!Symbol.asyncDispose) throw new TypeError("Symbol.asyncDispose is not defined."); - dispose = value[Symbol.asyncDispose]; + if (!Symbol.asyncDispose) throw new TypeError("Symbol.asyncDispose is not defined."); + dispose = value[Symbol.asyncDispose]; } if (dispose === void 0) { - if (!Symbol.dispose) throw new TypeError("Symbol.dispose is not defined."); - dispose = value[Symbol.dispose]; + if (!Symbol.dispose) throw new TypeError("Symbol.dispose is not defined."); + dispose = value[Symbol.dispose]; + if (async) inner = dispose; } if (typeof dispose !== "function") throw new TypeError("Object not disposable."); + if (inner) dispose = function() { try { inner.call(this); } catch (e) { return Promise.reject(e); } }; env.stack.push({ value: value, dispose: dispose, async: async }); } else if (async) { @@ -323,28 +335,46 @@ export function __disposeResources(env) { env.error = env.hasError ? new _SuppressedError(e, env.error, "An error was suppressed during disposal.") : e; env.hasError = true; } + var r, s = 0; function next() { - while (env.stack.length) { - var rec = env.stack.pop(); + while (r = env.stack.pop()) { try { - var result = rec.dispose && rec.dispose.call(rec.value); - if (rec.async) return Promise.resolve(result).then(next, function(e) { fail(e); return next(); }); + if (!r.async && s === 1) return s = 0, env.stack.push(r), Promise.resolve().then(next); + if (r.dispose) { + var result = r.dispose.call(r.value); + if (r.async) return s |= 2, Promise.resolve(result).then(next, function(e) { fail(e); return next(); }); + } + else s |= 1; } catch (e) { - fail(e); + fail(e); } } + if (s === 1) return env.hasError ? Promise.reject(env.error) : Promise.resolve(); if (env.hasError) throw env.error; } return next(); } +export function __rewriteRelativeImportExtension(path, preserveJsx) { + if (typeof path === "string" && /^\.\.?\//.test(path)) { + return path.replace(/\.(tsx)$|((?:\.d)?)((?:\.[^./]+?)?)\.([cm]?)ts$/i, function (m, tsx, d, ext, cm) { + return tsx ? preserveJsx ? ".jsx" : ".js" : d && (!ext || !cm) ? m : (d + ext + "." + cm.toLowerCase() + "js"); + }); + } + return path; +} + export default { __extends, __assign, __rest, __decorate, __param, + __esDecorate, + __runInitializers, + __propKey, + __setFunctionName, __metadata, __awaiter, __generator, @@ -367,4 +397,5 @@ export default { __classPrivateFieldIn, __addDisposableResource, __disposeResources, + __rewriteRelativeImportExtension, }; diff --git a/node_modules/synckit/node_modules/tslib/tslib.js b/node_modules/synckit/node_modules/tslib/tslib.js index 54c30ed78e..5e12ace6db 100644 --- a/node_modules/synckit/node_modules/tslib/tslib.js +++ b/node_modules/synckit/node_modules/tslib/tslib.js @@ -12,7 +12,7 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. ***************************************************************************** */ -/* global global, define, Symbol, Reflect, Promise, SuppressedError */ +/* global global, define, Symbol, Reflect, Promise, SuppressedError, Iterator */ var __extends; var __assign; var __rest; @@ -44,6 +44,7 @@ var __classPrivateFieldIn; var __createBinding; var __addDisposableResource; var __disposeResources; +var __rewriteRelativeImportExtension; (function (factory) { var root = typeof global === "object" ? global : typeof self === "object" ? self : typeof this === "object" ? this : {}; if (typeof define === "function" && define.amd) { @@ -171,8 +172,8 @@ var __disposeResources; }; __generator = function (thisArg, body) { - var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g; - return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g; + var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype); + return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g; function verb(n) { return function (v) { return step([n, v]); }; } function step(op) { if (f) throw new TypeError("Generator is already executing."); @@ -276,10 +277,11 @@ var __disposeResources; __asyncGenerator = function (thisArg, _arguments, generator) { if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined."); var g = generator.apply(thisArg, _arguments || []), i, q = []; - return i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i; - 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); }); }; } + return i = Object.create((typeof AsyncIterator === "function" ? AsyncIterator : Object).prototype), verb("next"), verb("throw"), verb("return", awaitReturn), i[Symbol.asyncIterator] = function () { return this; }, i; + function awaitReturn(f) { return function (v) { return Promise.resolve(v).then(f, reject); }; } + function verb(n, f) { if (g[n]) { i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; if (f) i[n] = f(i[n]); } } function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } } - function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); } + function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); } function fulfill(value) { resume("next", value); } function reject(value) { resume("throw", value); } function settle(f, v) { if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]); } @@ -310,10 +312,19 @@ var __disposeResources; o["default"] = v; }; + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + __importStar = function (mod) { if (mod && mod.__esModule) return mod; var result = {}; - if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k); + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); __setModuleDefault(result, mod); return result; }; @@ -342,8 +353,8 @@ var __disposeResources; __addDisposableResource = function (env, value, async) { if (value !== null && value !== void 0) { - if (typeof value !== "object") throw new TypeError("Object expected."); - var dispose; + if (typeof value !== "object" && typeof value !== "function") throw new TypeError("Object expected."); + var dispose, inner; if (async) { if (!Symbol.asyncDispose) throw new TypeError("Symbol.asyncDispose is not defined."); dispose = value[Symbol.asyncDispose]; @@ -351,8 +362,10 @@ var __disposeResources; if (dispose === void 0) { if (!Symbol.dispose) throw new TypeError("Symbol.dispose is not defined."); dispose = value[Symbol.dispose]; + if (async) inner = dispose; } if (typeof dispose !== "function") throw new TypeError("Object not disposable."); + if (inner) dispose = function() { try { inner.call(this); } catch (e) { return Promise.reject(e); } }; env.stack.push({ value: value, dispose: dispose, async: async }); } else if (async) { @@ -371,22 +384,36 @@ var __disposeResources; env.error = env.hasError ? new _SuppressedError(e, env.error, "An error was suppressed during disposal.") : e; env.hasError = true; } + var r, s = 0; function next() { - while (env.stack.length) { - var rec = env.stack.pop(); + while (r = env.stack.pop()) { try { - var result = rec.dispose && rec.dispose.call(rec.value); - if (rec.async) return Promise.resolve(result).then(next, function(e) { fail(e); return next(); }); + if (!r.async && s === 1) return s = 0, env.stack.push(r), Promise.resolve().then(next); + if (r.dispose) { + var result = r.dispose.call(r.value); + if (r.async) return s |= 2, Promise.resolve(result).then(next, function(e) { fail(e); return next(); }); + } + else s |= 1; } catch (e) { fail(e); } } + if (s === 1) return env.hasError ? Promise.reject(env.error) : Promise.resolve(); if (env.hasError) throw env.error; } return next(); }; + __rewriteRelativeImportExtension = function (path, preserveJsx) { + if (typeof path === "string" && /^\.\.?\//.test(path)) { + return path.replace(/\.(tsx)$|((?:\.d)?)((?:\.[^./]+?)?)\.([cm]?)ts$/i, function (m, tsx, d, ext, cm) { + return tsx ? preserveJsx ? ".jsx" : ".js" : d && (!ext || !cm) ? m : (d + ext + "." + cm.toLowerCase() + "js"); + }); + } + return path; + }; + exporter("__extends", __extends); exporter("__assign", __assign); exporter("__rest", __rest); @@ -418,4 +445,40 @@ var __disposeResources; exporter("__classPrivateFieldIn", __classPrivateFieldIn); exporter("__addDisposableResource", __addDisposableResource); exporter("__disposeResources", __disposeResources); + exporter("__rewriteRelativeImportExtension", __rewriteRelativeImportExtension); +}); + +0 && (module.exports = { + __extends: __extends, + __assign: __assign, + __rest: __rest, + __decorate: __decorate, + __param: __param, + __esDecorate: __esDecorate, + __runInitializers: __runInitializers, + __propKey: __propKey, + __setFunctionName: __setFunctionName, + __metadata: __metadata, + __awaiter: __awaiter, + __generator: __generator, + __exportStar: __exportStar, + __createBinding: __createBinding, + __values: __values, + __read: __read, + __spread: __spread, + __spreadArrays: __spreadArrays, + __spreadArray: __spreadArray, + __await: __await, + __asyncGenerator: __asyncGenerator, + __asyncDelegator: __asyncDelegator, + __asyncValues: __asyncValues, + __makeTemplateObject: __makeTemplateObject, + __importStar: __importStar, + __importDefault: __importDefault, + __classPrivateFieldGet: __classPrivateFieldGet, + __classPrivateFieldSet: __classPrivateFieldSet, + __classPrivateFieldIn: __classPrivateFieldIn, + __addDisposableResource: __addDisposableResource, + __disposeResources: __disposeResources, + __rewriteRelativeImportExtension: __rewriteRelativeImportExtension, }); diff --git a/node_modules/synckit/package.json b/node_modules/synckit/package.json index 7a20098002..4dc092f561 100644 --- a/node_modules/synckit/package.json +++ b/node_modules/synckit/package.json @@ -1,6 +1,6 @@ { "name": "synckit", - "version": "0.8.5", + "version": "0.9.2", "type": "module", "description": "Perform async work synchronously in Node.js using `worker_threads` with first-class TypeScript support.", "repository": "git+https://github.com/un-ts/synckit.git", @@ -24,6 +24,7 @@ ], "keywords": [ "deasync", + "make-synchronized", "make-synchronous", "sync", "sync-exec", @@ -33,7 +34,7 @@ "synckit" ], "dependencies": { - "@pkgr/utils": "^2.3.1", - "tslib": "^2.5.0" + "@pkgr/core": "^0.1.0", + "tslib": "^2.6.2" } } \ No newline at end of file diff --git a/node_modules/titleize/index.d.ts b/node_modules/titleize/index.d.ts deleted file mode 100644 index 38114dc52c..0000000000 --- a/node_modules/titleize/index.d.ts +++ /dev/null @@ -1,17 +0,0 @@ -/** -Capitalize every word in a string: `unicorn cake` → `Unicorn Cake`. - -@param string - The string to titleize. - -@example -``` -import titleize from 'titleize'; - -titleize('foo bar'); -//=> 'Foo Bar' - -titleize('foo-bar'); -//=> 'Foo-Bar' -``` -*/ -export default function titleize(string: string): string; diff --git a/node_modules/titleize/index.js b/node_modules/titleize/index.js deleted file mode 100644 index 61424bdb68..0000000000 --- a/node_modules/titleize/index.js +++ /dev/null @@ -1,7 +0,0 @@ -export default function titleize(string) { - if (typeof string !== 'string') { - throw new TypeError('Expected a string'); - } - - return string.toLowerCase().replace(/(?:^|\s|-)\S/g, x => x.toUpperCase()); -} diff --git a/node_modules/titleize/license b/node_modules/titleize/license deleted file mode 100644 index fa7ceba3eb..0000000000 --- a/node_modules/titleize/license +++ /dev/null @@ -1,9 +0,0 @@ -MIT License - -Copyright (c) Sindre Sorhus (https://sindresorhus.com) - -Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/node_modules/titleize/package.json b/node_modules/titleize/package.json deleted file mode 100644 index b8352927d3..0000000000 --- a/node_modules/titleize/package.json +++ /dev/null @@ -1,42 +0,0 @@ -{ - "name": "titleize", - "version": "3.0.0", - "description": "Capitalize every word in a string: `unicorn cake` → `Unicorn Cake`", - "license": "MIT", - "repository": "sindresorhus/titleize", - "funding": "https://github.com/sponsors/sindresorhus", - "author": { - "name": "Sindre Sorhus", - "email": "sindresorhus@gmail.com", - "url": "https://sindresorhus.com" - }, - "type": "module", - "exports": "./index.js", - "engines": { - "node": ">=12" - }, - "scripts": { - "test": "xo && ava && tsd" - }, - "files": [ - "index.js", - "index.d.ts" - ], - "keywords": [ - "titleize", - "title", - "capitalize", - "uppercase", - "case", - "dash", - "hyphen", - "string", - "text", - "convert" - ], - "devDependencies": { - "ava": "^3.15.0", - "tsd": "^0.14.0", - "xo": "^0.39.1" - } -} diff --git a/node_modules/titleize/readme.md b/node_modules/titleize/readme.md deleted file mode 100644 index bfdb353a84..0000000000 --- a/node_modules/titleize/readme.md +++ /dev/null @@ -1,25 +0,0 @@ -# titleize - -> Capitalize every word in a string: `unicorn cake` → `Unicorn Cake` - -## Install - -``` -$ npm install titleize -``` - -## Usage - -```js -import titleize from 'titleize'; - -titleize('foo bar'); -//=> 'Foo Bar' - -titleize('foo-bar'); -//=> 'Foo-Bar' -``` - -## Related - -- [camelcase](https://github.com/sindresorhus/camelcase) - Convert a dash/dot/underscore/space separated string to camelcase diff --git a/node_modules/typescript-eslint/LICENSE b/node_modules/typescript-eslint/LICENSE new file mode 100644 index 0000000000..a1164108d4 --- /dev/null +++ b/node_modules/typescript-eslint/LICENSE @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) 2019 typescript-eslint and other contributors + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/node_modules/typescript-eslint/README.md b/node_modules/typescript-eslint/README.md new file mode 100644 index 0000000000..3c078eae2d --- /dev/null +++ b/node_modules/typescript-eslint/README.md @@ -0,0 +1,12 @@ +# `typescript-eslint` + +> Tooling which enables you to use TypeScript with ESLint + +[![NPM Version](https://img.shields.io/npm/v/typescript-eslint.svg?style=flat-square)](https://www.npmjs.com/package/typescript-eslint) +[![NPM Downloads](https://img.shields.io/npm/dm/typescript-eslint.svg?style=flat-square)](https://www.npmjs.com/package/typescript-eslint) + +👉 See **https://typescript-eslint.io/packages/typescript-eslint** for documentation on this package. + +> See https://typescript-eslint.io for general documentation on typescript-eslint, the tooling that allows you to run ESLint and Prettier on TypeScript code. + + diff --git a/node_modules/typescript-eslint/dist/config-helper.d.ts b/node_modules/typescript-eslint/dist/config-helper.d.ts new file mode 100644 index 0000000000..e0a25b9ec7 --- /dev/null +++ b/node_modules/typescript-eslint/dist/config-helper.d.ts @@ -0,0 +1,67 @@ +import type { TSESLint } from '@typescript-eslint/utils'; +export type InfiniteDepthConfigWithExtends = ConfigWithExtends | InfiniteDepthConfigWithExtends[]; +export interface ConfigWithExtends extends TSESLint.FlatConfig.Config { + /** + * Allows you to "extend" a set of configs similar to `extends` from the + * classic configs. + * + * This is just a convenience short-hand to help reduce duplication. + * + * ```js + * export default tseslint.config({ + * files: ['** /*.ts'], + * extends: [ + * eslint.configs.recommended, + * ...tseslint.configs.recommended, + * ], + * rules: { + * '@typescript-eslint/array-type': 'error', + * '@typescript-eslint/consistent-type-imports': 'error', + * }, + * }) + * + * // expands to + * + * export default [ + * { + * ...eslint.configs.recommended, + * files: ['** /*.ts'], + * }, + * ...tseslint.configs.recommended.map(conf => ({ + * ...conf, + * files: ['** /*.ts'], + * })), + * { + * files: ['** /*.ts'], + * rules: { + * '@typescript-eslint/array-type': 'error', + * '@typescript-eslint/consistent-type-imports': 'error', + * }, + * }, + * ] + * ``` + */ + extends?: InfiniteDepthConfigWithExtends[]; +} +/** + * Utility function to make it easy to strictly type your "Flat" config file + * @example + * ```js + * // @ts-check + * + * import eslint from '@eslint/js'; + * import tseslint from 'typescript-eslint'; + * + * export default tseslint.config( + * eslint.configs.recommended, + * ...tseslint.configs.recommended, + * { + * rules: { + * '@typescript-eslint/array-type': 'error', + * }, + * }, + * ); + * ``` + */ +export declare function config(...configs: InfiniteDepthConfigWithExtends[]): TSESLint.FlatConfig.ConfigArray; +//# sourceMappingURL=config-helper.d.ts.map \ No newline at end of file diff --git a/node_modules/typescript-eslint/dist/config-helper.d.ts.map b/node_modules/typescript-eslint/dist/config-helper.d.ts.map new file mode 100644 index 0000000000..f09504362d --- /dev/null +++ b/node_modules/typescript-eslint/dist/config-helper.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"config-helper.d.ts","sourceRoot":"","sources":["../src/config-helper.ts"],"names":[],"mappings":"AAkBA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AAEzD,MAAM,MAAM,8BAA8B,GACtC,iBAAiB,GACjB,8BAA8B,EAAE,CAAC;AAErC,MAAM,WAAW,iBAAkB,SAAQ,QAAQ,CAAC,UAAU,CAAC,MAAM;IACnE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAuCG;IACH,OAAO,CAAC,EAAE,8BAA8B,EAAE,CAAC;CAC5C;AAED;;;;;;;;;;;;;;;;;;;GAmBG;AACH,wBAAgB,MAAM,CACpB,GAAG,OAAO,EAAE,8BAA8B,EAAE,GAC3C,QAAQ,CAAC,UAAU,CAAC,WAAW,CAkDjC"} \ No newline at end of file diff --git a/node_modules/typescript-eslint/dist/config-helper.js b/node_modules/typescript-eslint/dist/config-helper.js new file mode 100644 index 0000000000..8b448a9079 --- /dev/null +++ b/node_modules/typescript-eslint/dist/config-helper.js @@ -0,0 +1,63 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.config = config; +/** + * Utility function to make it easy to strictly type your "Flat" config file + * @example + * ```js + * // @ts-check + * + * import eslint from '@eslint/js'; + * import tseslint from 'typescript-eslint'; + * + * export default tseslint.config( + * eslint.configs.recommended, + * ...tseslint.configs.recommended, + * { + * rules: { + * '@typescript-eslint/array-type': 'error', + * }, + * }, + * ); + * ``` + */ +function config(...configs) { + const flattened = + // @ts-expect-error -- intentionally an infinite type + configs.flat(Infinity); + return flattened.flatMap((configWithExtends, configIndex) => { + const { extends: extendsArr, ...config } = configWithExtends; + if (extendsArr == null || extendsArr.length === 0) { + return config; + } + const extendsArrFlattened = extendsArr.flat(Infinity); + const undefinedExtensions = extendsArrFlattened.reduce((acc, extension, extensionIndex) => { + const maybeExtension = extension; + if (maybeExtension == null) { + acc.push(extensionIndex); + } + return acc; + }, []); + if (undefinedExtensions.length) { + const configName = configWithExtends.name != null + ? `, named "${configWithExtends.name}",` + : ' (anonymous)'; + const extensionIndices = undefinedExtensions.join(', '); + throw new Error(`Your config at index ${configIndex}${configName} contains undefined` + + ` extensions at the following indices: ${extensionIndices}.`); + } + return [ + ...extendsArrFlattened.map(extension => { + const name = [config.name, extension.name].filter(Boolean).join('__'); + return { + ...extension, + ...(config.files && { files: config.files }), + ...(config.ignores && { ignores: config.ignores }), + ...(name && { name }), + }; + }), + config, + ]; + }); +} +//# sourceMappingURL=config-helper.js.map \ No newline at end of file diff --git a/node_modules/typescript-eslint/dist/config-helper.js.map b/node_modules/typescript-eslint/dist/config-helper.js.map new file mode 100644 index 0000000000..dbeca5d16b --- /dev/null +++ b/node_modules/typescript-eslint/dist/config-helper.js.map @@ -0,0 +1 @@ +{"version":3,"file":"config-helper.js","sourceRoot":"","sources":["../src/config-helper.ts"],"names":[],"mappings":";;AAwFA,wBAoDC;AAxED;;;;;;;;;;;;;;;;;;;GAmBG;AACH,SAAgB,MAAM,CACpB,GAAG,OAAyC;IAE5C,MAAM,SAAS;IACb,qDAAqD;IACrD,OAAO,CAAC,IAAI,CAAC,QAAQ,CAAwB,CAAC;IAChD,OAAO,SAAS,CAAC,OAAO,CAAC,CAAC,iBAAiB,EAAE,WAAW,EAAE,EAAE;QAC1D,MAAM,EAAE,OAAO,EAAE,UAAU,EAAE,GAAG,MAAM,EAAE,GAAG,iBAAiB,CAAC;QAC7D,IAAI,UAAU,IAAI,IAAI,IAAI,UAAU,CAAC,MAAM,KAAK,CAAC,EAAE,CAAC;YAClD,OAAO,MAAM,CAAC;QAChB,CAAC;QACD,MAAM,mBAAmB,GAAG,UAAU,CAAC,IAAI,CACzC,QAAQ,CACc,CAAC;QAEzB,MAAM,mBAAmB,GAAG,mBAAmB,CAAC,MAAM,CACpD,CAAC,GAAG,EAAE,SAAS,EAAE,cAAc,EAAE,EAAE;YACjC,MAAM,cAAc,GAAG,SAEV,CAAC;YACd,IAAI,cAAc,IAAI,IAAI,EAAE,CAAC;gBAC3B,GAAG,CAAC,IAAI,CAAC,cAAc,CAAC,CAAC;YAC3B,CAAC;YACD,OAAO,GAAG,CAAC;QACb,CAAC,EACD,EAAE,CACH,CAAC;QACF,IAAI,mBAAmB,CAAC,MAAM,EAAE,CAAC;YAC/B,MAAM,UAAU,GACd,iBAAiB,CAAC,IAAI,IAAI,IAAI;gBAC5B,CAAC,CAAC,YAAY,iBAAiB,CAAC,IAAI,IAAI;gBACxC,CAAC,CAAC,cAAc,CAAC;YACrB,MAAM,gBAAgB,GAAG,mBAAmB,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;YACxD,MAAM,IAAI,KAAK,CACb,wBAAwB,WAAW,GAAG,UAAU,qBAAqB;gBACnE,yCAAyC,gBAAgB,GAAG,CAC/D,CAAC;QACJ,CAAC;QAED,OAAO;YACL,GAAG,mBAAmB,CAAC,GAAG,CAAC,SAAS,CAAC,EAAE;gBACrC,MAAM,IAAI,GAAG,CAAC,MAAM,CAAC,IAAI,EAAE,SAAS,CAAC,IAAI,CAAC,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;gBACtE,OAAO;oBACL,GAAG,SAAS;oBACZ,GAAG,CAAC,MAAM,CAAC,KAAK,IAAI,EAAE,KAAK,EAAE,MAAM,CAAC,KAAK,EAAE,CAAC;oBAC5C,GAAG,CAAC,MAAM,CAAC,OAAO,IAAI,EAAE,OAAO,EAAE,MAAM,CAAC,OAAO,EAAE,CAAC;oBAClD,GAAG,CAAC,IAAI,IAAI,EAAE,IAAI,EAAE,CAAC;iBACtB,CAAC;YACJ,CAAC,CAAC;YACF,MAAM;SACP,CAAC;IACJ,CAAC,CAAC,CAAC;AACL,CAAC"} \ No newline at end of file diff --git a/node_modules/typescript-eslint/dist/configs/all.d.ts b/node_modules/typescript-eslint/dist/configs/all.d.ts new file mode 100644 index 0000000000..aa288395ff --- /dev/null +++ b/node_modules/typescript-eslint/dist/configs/all.d.ts @@ -0,0 +1,8 @@ +import type { FlatConfig } from '@typescript-eslint/utils/ts-eslint'; +/** + * Enables each the rules provided as a part of typescript-eslint. Note that many rules are not applicable in all codebases, or are meant to be configured. + * @see {@link https://typescript-eslint.io/users/configs#all} + */ +declare const _default: (plugin: FlatConfig.Plugin, parser: FlatConfig.Parser) => FlatConfig.ConfigArray; +export default _default; +//# sourceMappingURL=all.d.ts.map \ No newline at end of file diff --git a/node_modules/typescript-eslint/dist/configs/all.d.ts.map b/node_modules/typescript-eslint/dist/configs/all.d.ts.map new file mode 100644 index 0000000000..683fd7a94e --- /dev/null +++ b/node_modules/typescript-eslint/dist/configs/all.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"all.d.ts","sourceRoot":"","sources":["../../src/configs/all.ts"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,oCAAoC,CAAC;AAKrE;;;GAGG;iCAEO,UAAU,CAAC,MAAM,UACjB,UAAU,CAAC,MAAM,KACxB,UAAU,CAAC,WAAW;AAHzB,wBAgKE"} \ No newline at end of file diff --git a/node_modules/typescript-eslint/dist/configs/all.js b/node_modules/typescript-eslint/dist/configs/all.js new file mode 100644 index 0000000000..d442baed70 --- /dev/null +++ b/node_modules/typescript-eslint/dist/configs/all.js @@ -0,0 +1,175 @@ +"use strict"; +// THIS CODE WAS AUTOMATICALLY GENERATED +// DO NOT EDIT THIS CODE BY HAND +// SEE https://typescript-eslint.io/users/configs +// +// For developers working in the typescript-eslint monorepo: +// You can regenerate it using `yarn generate:configs` +var __importDefault = (this && this.__importDefault) || function (mod) { + return (mod && mod.__esModule) ? mod : { "default": mod }; +}; +Object.defineProperty(exports, "__esModule", { value: true }); +const base_1 = __importDefault(require("./base")); +const eslint_recommended_1 = __importDefault(require("./eslint-recommended")); +/** + * Enables each the rules provided as a part of typescript-eslint. Note that many rules are not applicable in all codebases, or are meant to be configured. + * @see {@link https://typescript-eslint.io/users/configs#all} + */ +exports.default = (plugin, parser) => [ + (0, base_1.default)(plugin, parser), + (0, eslint_recommended_1.default)(plugin, parser), + { + name: 'typescript-eslint/all', + rules: { + '@typescript-eslint/adjacent-overload-signatures': 'error', + '@typescript-eslint/array-type': 'error', + '@typescript-eslint/await-thenable': 'error', + '@typescript-eslint/ban-ts-comment': 'error', + '@typescript-eslint/ban-tslint-comment': 'error', + '@typescript-eslint/class-literal-property-style': 'error', + 'class-methods-use-this': 'off', + '@typescript-eslint/class-methods-use-this': 'error', + '@typescript-eslint/consistent-generic-constructors': 'error', + '@typescript-eslint/consistent-indexed-object-style': 'error', + 'consistent-return': 'off', + '@typescript-eslint/consistent-return': 'error', + '@typescript-eslint/consistent-type-assertions': 'error', + '@typescript-eslint/consistent-type-definitions': 'error', + '@typescript-eslint/consistent-type-exports': 'error', + '@typescript-eslint/consistent-type-imports': 'error', + 'default-param-last': 'off', + '@typescript-eslint/default-param-last': 'error', + 'dot-notation': 'off', + '@typescript-eslint/dot-notation': 'error', + '@typescript-eslint/explicit-function-return-type': 'error', + '@typescript-eslint/explicit-member-accessibility': 'error', + '@typescript-eslint/explicit-module-boundary-types': 'error', + 'init-declarations': 'off', + '@typescript-eslint/init-declarations': 'error', + 'max-params': 'off', + '@typescript-eslint/max-params': 'error', + '@typescript-eslint/member-ordering': 'error', + '@typescript-eslint/method-signature-style': 'error', + '@typescript-eslint/naming-convention': 'error', + 'no-array-constructor': 'off', + '@typescript-eslint/no-array-constructor': 'error', + '@typescript-eslint/no-array-delete': 'error', + '@typescript-eslint/no-base-to-string': 'error', + '@typescript-eslint/no-confusing-non-null-assertion': 'error', + '@typescript-eslint/no-confusing-void-expression': 'error', + '@typescript-eslint/no-deprecated': 'error', + 'no-dupe-class-members': 'off', + '@typescript-eslint/no-dupe-class-members': 'error', + '@typescript-eslint/no-duplicate-enum-values': 'error', + '@typescript-eslint/no-duplicate-type-constituents': 'error', + '@typescript-eslint/no-dynamic-delete': 'error', + 'no-empty-function': 'off', + '@typescript-eslint/no-empty-function': 'error', + '@typescript-eslint/no-empty-object-type': 'error', + '@typescript-eslint/no-explicit-any': 'error', + '@typescript-eslint/no-extra-non-null-assertion': 'error', + '@typescript-eslint/no-extraneous-class': 'error', + '@typescript-eslint/no-floating-promises': 'error', + '@typescript-eslint/no-for-in-array': 'error', + 'no-implied-eval': 'off', + '@typescript-eslint/no-implied-eval': 'error', + '@typescript-eslint/no-import-type-side-effects': 'error', + '@typescript-eslint/no-inferrable-types': 'error', + 'no-invalid-this': 'off', + '@typescript-eslint/no-invalid-this': 'error', + '@typescript-eslint/no-invalid-void-type': 'error', + 'no-loop-func': 'off', + '@typescript-eslint/no-loop-func': 'error', + 'no-magic-numbers': 'off', + '@typescript-eslint/no-magic-numbers': 'error', + '@typescript-eslint/no-meaningless-void-operator': 'error', + '@typescript-eslint/no-misused-new': 'error', + '@typescript-eslint/no-misused-promises': 'error', + '@typescript-eslint/no-mixed-enums': 'error', + '@typescript-eslint/no-namespace': 'error', + '@typescript-eslint/no-non-null-asserted-nullish-coalescing': 'error', + '@typescript-eslint/no-non-null-asserted-optional-chain': 'error', + '@typescript-eslint/no-non-null-assertion': 'error', + 'no-redeclare': 'off', + '@typescript-eslint/no-redeclare': 'error', + '@typescript-eslint/no-redundant-type-constituents': 'error', + '@typescript-eslint/no-require-imports': 'error', + 'no-restricted-imports': 'off', + '@typescript-eslint/no-restricted-imports': 'error', + '@typescript-eslint/no-restricted-types': 'error', + 'no-shadow': 'off', + '@typescript-eslint/no-shadow': 'error', + '@typescript-eslint/no-this-alias': 'error', + '@typescript-eslint/no-unnecessary-boolean-literal-compare': 'error', + '@typescript-eslint/no-unnecessary-condition': 'error', + '@typescript-eslint/no-unnecessary-parameter-property-assignment': 'error', + '@typescript-eslint/no-unnecessary-qualifier': 'error', + '@typescript-eslint/no-unnecessary-template-expression': 'error', + '@typescript-eslint/no-unnecessary-type-arguments': 'error', + '@typescript-eslint/no-unnecessary-type-assertion': 'error', + '@typescript-eslint/no-unnecessary-type-constraint': 'error', + '@typescript-eslint/no-unnecessary-type-parameters': 'error', + '@typescript-eslint/no-unsafe-argument': 'error', + '@typescript-eslint/no-unsafe-assignment': 'error', + '@typescript-eslint/no-unsafe-call': 'error', + '@typescript-eslint/no-unsafe-declaration-merging': 'error', + '@typescript-eslint/no-unsafe-enum-comparison': 'error', + '@typescript-eslint/no-unsafe-function-type': 'error', + '@typescript-eslint/no-unsafe-member-access': 'error', + '@typescript-eslint/no-unsafe-return': 'error', + '@typescript-eslint/no-unsafe-type-assertion': 'error', + '@typescript-eslint/no-unsafe-unary-minus': 'error', + 'no-unused-expressions': 'off', + '@typescript-eslint/no-unused-expressions': 'error', + 'no-unused-vars': 'off', + '@typescript-eslint/no-unused-vars': 'error', + 'no-use-before-define': 'off', + '@typescript-eslint/no-use-before-define': 'error', + 'no-useless-constructor': 'off', + '@typescript-eslint/no-useless-constructor': 'error', + '@typescript-eslint/no-useless-empty-export': 'error', + '@typescript-eslint/no-wrapper-object-types': 'error', + '@typescript-eslint/non-nullable-type-assertion-style': 'error', + 'no-throw-literal': 'off', + '@typescript-eslint/only-throw-error': 'error', + '@typescript-eslint/parameter-properties': 'error', + '@typescript-eslint/prefer-as-const': 'error', + 'prefer-destructuring': 'off', + '@typescript-eslint/prefer-destructuring': 'error', + '@typescript-eslint/prefer-enum-initializers': 'error', + '@typescript-eslint/prefer-find': 'error', + '@typescript-eslint/prefer-for-of': 'error', + '@typescript-eslint/prefer-function-type': 'error', + '@typescript-eslint/prefer-includes': 'error', + '@typescript-eslint/prefer-literal-enum-member': 'error', + '@typescript-eslint/prefer-namespace-keyword': 'error', + '@typescript-eslint/prefer-nullish-coalescing': 'error', + '@typescript-eslint/prefer-optional-chain': 'error', + 'prefer-promise-reject-errors': 'off', + '@typescript-eslint/prefer-promise-reject-errors': 'error', + '@typescript-eslint/prefer-readonly': 'error', + '@typescript-eslint/prefer-readonly-parameter-types': 'error', + '@typescript-eslint/prefer-reduce-type-parameter': 'error', + '@typescript-eslint/prefer-regexp-exec': 'error', + '@typescript-eslint/prefer-return-this-type': 'error', + '@typescript-eslint/prefer-string-starts-ends-with': 'error', + '@typescript-eslint/promise-function-async': 'error', + '@typescript-eslint/related-getter-setter-pairs': 'error', + '@typescript-eslint/require-array-sort-compare': 'error', + 'require-await': 'off', + '@typescript-eslint/require-await': 'error', + '@typescript-eslint/restrict-plus-operands': 'error', + '@typescript-eslint/restrict-template-expressions': 'error', + 'no-return-await': 'off', + '@typescript-eslint/return-await': 'error', + '@typescript-eslint/strict-boolean-expressions': 'error', + '@typescript-eslint/switch-exhaustiveness-check': 'error', + '@typescript-eslint/triple-slash-reference': 'error', + '@typescript-eslint/typedef': 'error', + '@typescript-eslint/unbound-method': 'error', + '@typescript-eslint/unified-signatures': 'error', + '@typescript-eslint/use-unknown-in-catch-callback-variable': 'error', + }, + }, +]; +//# sourceMappingURL=all.js.map \ No newline at end of file diff --git a/node_modules/typescript-eslint/dist/configs/all.js.map b/node_modules/typescript-eslint/dist/configs/all.js.map new file mode 100644 index 0000000000..73ba6831d7 --- /dev/null +++ b/node_modules/typescript-eslint/dist/configs/all.js.map @@ -0,0 +1 @@ +{"version":3,"file":"all.js","sourceRoot":"","sources":["../../src/configs/all.ts"],"names":[],"mappings":";AAAA,wCAAwC;AACxC,gCAAgC;AAChC,iDAAiD;AACjD,EAAE;AACF,4DAA4D;AAC5D,sDAAsD;;;;;AAItD,kDAAgC;AAChC,8EAA2D;AAE3D;;;GAGG;AACH,kBAAe,CACb,MAAyB,EACzB,MAAyB,EACD,EAAE,CAAC;IAC3B,IAAA,cAAU,EAAC,MAAM,EAAE,MAAM,CAAC;IAC1B,IAAA,4BAAuB,EAAC,MAAM,EAAE,MAAM,CAAC;IACvC;QACE,IAAI,EAAE,uBAAuB;QAC7B,KAAK,EAAE;YACL,iDAAiD,EAAE,OAAO;YAC1D,+BAA+B,EAAE,OAAO;YACxC,mCAAmC,EAAE,OAAO;YAC5C,mCAAmC,EAAE,OAAO;YAC5C,uCAAuC,EAAE,OAAO;YAChD,iDAAiD,EAAE,OAAO;YAC1D,wBAAwB,EAAE,KAAK;YAC/B,2CAA2C,EAAE,OAAO;YACpD,oDAAoD,EAAE,OAAO;YAC7D,oDAAoD,EAAE,OAAO;YAC7D,mBAAmB,EAAE,KAAK;YAC1B,sCAAsC,EAAE,OAAO;YAC/C,+CAA+C,EAAE,OAAO;YACxD,gDAAgD,EAAE,OAAO;YACzD,4CAA4C,EAAE,OAAO;YACrD,4CAA4C,EAAE,OAAO;YACrD,oBAAoB,EAAE,KAAK;YAC3B,uCAAuC,EAAE,OAAO;YAChD,cAAc,EAAE,KAAK;YACrB,iCAAiC,EAAE,OAAO;YAC1C,kDAAkD,EAAE,OAAO;YAC3D,kDAAkD,EAAE,OAAO;YAC3D,mDAAmD,EAAE,OAAO;YAC5D,mBAAmB,EAAE,KAAK;YAC1B,sCAAsC,EAAE,OAAO;YAC/C,YAAY,EAAE,KAAK;YACnB,+BAA+B,EAAE,OAAO;YACxC,oCAAoC,EAAE,OAAO;YAC7C,2CAA2C,EAAE,OAAO;YACpD,sCAAsC,EAAE,OAAO;YAC/C,sBAAsB,EAAE,KAAK;YAC7B,yCAAyC,EAAE,OAAO;YAClD,oCAAoC,EAAE,OAAO;YAC7C,sCAAsC,EAAE,OAAO;YAC/C,oDAAoD,EAAE,OAAO;YAC7D,iDAAiD,EAAE,OAAO;YAC1D,kCAAkC,EAAE,OAAO;YAC3C,uBAAuB,EAAE,KAAK;YAC9B,0CAA0C,EAAE,OAAO;YACnD,6CAA6C,EAAE,OAAO;YACtD,mDAAmD,EAAE,OAAO;YAC5D,sCAAsC,EAAE,OAAO;YAC/C,mBAAmB,EAAE,KAAK;YAC1B,sCAAsC,EAAE,OAAO;YAC/C,yCAAyC,EAAE,OAAO;YAClD,oCAAoC,EAAE,OAAO;YAC7C,gDAAgD,EAAE,OAAO;YACzD,wCAAwC,EAAE,OAAO;YACjD,yCAAyC,EAAE,OAAO;YAClD,oCAAoC,EAAE,OAAO;YAC7C,iBAAiB,EAAE,KAAK;YACxB,oCAAoC,EAAE,OAAO;YAC7C,gDAAgD,EAAE,OAAO;YACzD,wCAAwC,EAAE,OAAO;YACjD,iBAAiB,EAAE,KAAK;YACxB,oCAAoC,EAAE,OAAO;YAC7C,yCAAyC,EAAE,OAAO;YAClD,cAAc,EAAE,KAAK;YACrB,iCAAiC,EAAE,OAAO;YAC1C,kBAAkB,EAAE,KAAK;YACzB,qCAAqC,EAAE,OAAO;YAC9C,iDAAiD,EAAE,OAAO;YAC1D,mCAAmC,EAAE,OAAO;YAC5C,wCAAwC,EAAE,OAAO;YACjD,mCAAmC,EAAE,OAAO;YAC5C,iCAAiC,EAAE,OAAO;YAC1C,4DAA4D,EAAE,OAAO;YACrE,wDAAwD,EAAE,OAAO;YACjE,0CAA0C,EAAE,OAAO;YACnD,cAAc,EAAE,KAAK;YACrB,iCAAiC,EAAE,OAAO;YAC1C,mDAAmD,EAAE,OAAO;YAC5D,uCAAuC,EAAE,OAAO;YAChD,uBAAuB,EAAE,KAAK;YAC9B,0CAA0C,EAAE,OAAO;YACnD,wCAAwC,EAAE,OAAO;YACjD,WAAW,EAAE,KAAK;YAClB,8BAA8B,EAAE,OAAO;YACvC,kCAAkC,EAAE,OAAO;YAC3C,2DAA2D,EAAE,OAAO;YACpE,6CAA6C,EAAE,OAAO;YACtD,iEAAiE,EAC/D,OAAO;YACT,6CAA6C,EAAE,OAAO;YACtD,uDAAuD,EAAE,OAAO;YAChE,kDAAkD,EAAE,OAAO;YAC3D,kDAAkD,EAAE,OAAO;YAC3D,mDAAmD,EAAE,OAAO;YAC5D,mDAAmD,EAAE,OAAO;YAC5D,uCAAuC,EAAE,OAAO;YAChD,yCAAyC,EAAE,OAAO;YAClD,mCAAmC,EAAE,OAAO;YAC5C,kDAAkD,EAAE,OAAO;YAC3D,8CAA8C,EAAE,OAAO;YACvD,4CAA4C,EAAE,OAAO;YACrD,4CAA4C,EAAE,OAAO;YACrD,qCAAqC,EAAE,OAAO;YAC9C,6CAA6C,EAAE,OAAO;YACtD,0CAA0C,EAAE,OAAO;YACnD,uBAAuB,EAAE,KAAK;YAC9B,0CAA0C,EAAE,OAAO;YACnD,gBAAgB,EAAE,KAAK;YACvB,mCAAmC,EAAE,OAAO;YAC5C,sBAAsB,EAAE,KAAK;YAC7B,yCAAyC,EAAE,OAAO;YAClD,wBAAwB,EAAE,KAAK;YAC/B,2CAA2C,EAAE,OAAO;YACpD,4CAA4C,EAAE,OAAO;YACrD,4CAA4C,EAAE,OAAO;YACrD,sDAAsD,EAAE,OAAO;YAC/D,kBAAkB,EAAE,KAAK;YACzB,qCAAqC,EAAE,OAAO;YAC9C,yCAAyC,EAAE,OAAO;YAClD,oCAAoC,EAAE,OAAO;YAC7C,sBAAsB,EAAE,KAAK;YAC7B,yCAAyC,EAAE,OAAO;YAClD,6CAA6C,EAAE,OAAO;YACtD,gCAAgC,EAAE,OAAO;YACzC,kCAAkC,EAAE,OAAO;YAC3C,yCAAyC,EAAE,OAAO;YAClD,oCAAoC,EAAE,OAAO;YAC7C,+CAA+C,EAAE,OAAO;YACxD,6CAA6C,EAAE,OAAO;YACtD,8CAA8C,EAAE,OAAO;YACvD,0CAA0C,EAAE,OAAO;YACnD,8BAA8B,EAAE,KAAK;YACrC,iDAAiD,EAAE,OAAO;YAC1D,oCAAoC,EAAE,OAAO;YAC7C,oDAAoD,EAAE,OAAO;YAC7D,iDAAiD,EAAE,OAAO;YAC1D,uCAAuC,EAAE,OAAO;YAChD,4CAA4C,EAAE,OAAO;YACrD,mDAAmD,EAAE,OAAO;YAC5D,2CAA2C,EAAE,OAAO;YACpD,gDAAgD,EAAE,OAAO;YACzD,+CAA+C,EAAE,OAAO;YACxD,eAAe,EAAE,KAAK;YACtB,kCAAkC,EAAE,OAAO;YAC3C,2CAA2C,EAAE,OAAO;YACpD,kDAAkD,EAAE,OAAO;YAC3D,iBAAiB,EAAE,KAAK;YACxB,iCAAiC,EAAE,OAAO;YAC1C,+CAA+C,EAAE,OAAO;YACxD,gDAAgD,EAAE,OAAO;YACzD,2CAA2C,EAAE,OAAO;YACpD,4BAA4B,EAAE,OAAO;YACrC,mCAAmC,EAAE,OAAO;YAC5C,uCAAuC,EAAE,OAAO;YAChD,2DAA2D,EAAE,OAAO;SACrE;KACF;CACF,CAAC"} \ No newline at end of file diff --git a/node_modules/typescript-eslint/dist/configs/base.d.ts b/node_modules/typescript-eslint/dist/configs/base.d.ts new file mode 100644 index 0000000000..06628aaa57 --- /dev/null +++ b/node_modules/typescript-eslint/dist/configs/base.d.ts @@ -0,0 +1,9 @@ +import type { FlatConfig } from '@typescript-eslint/utils/ts-eslint'; +/** + * A minimal ruleset that sets only the required parser and plugin options needed to run typescript-eslint. + * We don't recommend using this directly; instead, extend from an earlier recommended rule. + * @see {@link https://typescript-eslint.io/users/configs#base} + */ +declare const _default: (plugin: FlatConfig.Plugin, parser: FlatConfig.Parser) => FlatConfig.Config; +export default _default; +//# sourceMappingURL=base.d.ts.map \ No newline at end of file diff --git a/node_modules/typescript-eslint/dist/configs/base.d.ts.map b/node_modules/typescript-eslint/dist/configs/base.d.ts.map new file mode 100644 index 0000000000..bceb1da363 --- /dev/null +++ b/node_modules/typescript-eslint/dist/configs/base.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"base.d.ts","sourceRoot":"","sources":["../../src/configs/base.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,oCAAoC,CAAC;AAErE;;;;GAIG;iCAEO,UAAU,CAAC,MAAM,UACjB,UAAU,CAAC,MAAM,KACxB,UAAU,CAAC,MAAM;AAHpB,wBAYG"} \ No newline at end of file diff --git a/node_modules/typescript-eslint/dist/configs/base.js b/node_modules/typescript-eslint/dist/configs/base.js new file mode 100644 index 0000000000..b31c3f2470 --- /dev/null +++ b/node_modules/typescript-eslint/dist/configs/base.js @@ -0,0 +1,18 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +/** + * A minimal ruleset that sets only the required parser and plugin options needed to run typescript-eslint. + * We don't recommend using this directly; instead, extend from an earlier recommended rule. + * @see {@link https://typescript-eslint.io/users/configs#base} + */ +exports.default = (plugin, parser) => ({ + name: 'typescript-eslint/base', + languageOptions: { + parser, + sourceType: 'module', + }, + plugins: { + '@typescript-eslint': plugin, + }, +}); +//# sourceMappingURL=base.js.map \ No newline at end of file diff --git a/node_modules/typescript-eslint/dist/configs/base.js.map b/node_modules/typescript-eslint/dist/configs/base.js.map new file mode 100644 index 0000000000..b7b127611e --- /dev/null +++ b/node_modules/typescript-eslint/dist/configs/base.js.map @@ -0,0 +1 @@ +{"version":3,"file":"base.js","sourceRoot":"","sources":["../../src/configs/base.ts"],"names":[],"mappings":";;AAEA;;;;GAIG;AACH,kBAAe,CACb,MAAyB,EACzB,MAAyB,EACN,EAAE,CAAC,CAAC;IACvB,IAAI,EAAE,wBAAwB;IAC9B,eAAe,EAAE;QACf,MAAM;QACN,UAAU,EAAE,QAAQ;KACrB;IACD,OAAO,EAAE;QACP,oBAAoB,EAAE,MAAM;KAC7B;CACF,CAAC,CAAC"} \ No newline at end of file diff --git a/node_modules/typescript-eslint/dist/configs/disable-type-checked.d.ts b/node_modules/typescript-eslint/dist/configs/disable-type-checked.d.ts new file mode 100644 index 0000000000..446a037df3 --- /dev/null +++ b/node_modules/typescript-eslint/dist/configs/disable-type-checked.d.ts @@ -0,0 +1,8 @@ +import type { FlatConfig } from '@typescript-eslint/utils/ts-eslint'; +/** + * A utility ruleset that will disable type-aware linting and all type-aware rules available in our project. + * @see {@link https://typescript-eslint.io/users/configs#disable-type-checked} + */ +declare const _default: (_plugin: FlatConfig.Plugin, _parser: FlatConfig.Parser) => FlatConfig.Config; +export default _default; +//# sourceMappingURL=disable-type-checked.d.ts.map \ No newline at end of file diff --git a/node_modules/typescript-eslint/dist/configs/disable-type-checked.d.ts.map b/node_modules/typescript-eslint/dist/configs/disable-type-checked.d.ts.map new file mode 100644 index 0000000000..ef6025fbf0 --- /dev/null +++ b/node_modules/typescript-eslint/dist/configs/disable-type-checked.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"disable-type-checked.d.ts","sourceRoot":"","sources":["../../src/configs/disable-type-checked.ts"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,oCAAoC,CAAC;AAErE;;;GAGG;kCAEQ,UAAU,CAAC,MAAM,WACjB,UAAU,CAAC,MAAM,KACzB,UAAU,CAAC,MAAM;AAHpB,wBAmEG"} \ No newline at end of file diff --git a/node_modules/typescript-eslint/dist/configs/disable-type-checked.js b/node_modules/typescript-eslint/dist/configs/disable-type-checked.js new file mode 100644 index 0000000000..f889d7601a --- /dev/null +++ b/node_modules/typescript-eslint/dist/configs/disable-type-checked.js @@ -0,0 +1,78 @@ +"use strict"; +// THIS CODE WAS AUTOMATICALLY GENERATED +// DO NOT EDIT THIS CODE BY HAND +// SEE https://typescript-eslint.io/users/configs +// +// For developers working in the typescript-eslint monorepo: +// You can regenerate it using `yarn generate:configs` +Object.defineProperty(exports, "__esModule", { value: true }); +/** + * A utility ruleset that will disable type-aware linting and all type-aware rules available in our project. + * @see {@link https://typescript-eslint.io/users/configs#disable-type-checked} + */ +exports.default = (_plugin, _parser) => ({ + name: 'typescript-eslint/disable-type-checked', + rules: { + '@typescript-eslint/await-thenable': 'off', + '@typescript-eslint/consistent-return': 'off', + '@typescript-eslint/consistent-type-exports': 'off', + '@typescript-eslint/dot-notation': 'off', + '@typescript-eslint/naming-convention': 'off', + '@typescript-eslint/no-array-delete': 'off', + '@typescript-eslint/no-base-to-string': 'off', + '@typescript-eslint/no-confusing-void-expression': 'off', + '@typescript-eslint/no-deprecated': 'off', + '@typescript-eslint/no-duplicate-type-constituents': 'off', + '@typescript-eslint/no-floating-promises': 'off', + '@typescript-eslint/no-for-in-array': 'off', + '@typescript-eslint/no-implied-eval': 'off', + '@typescript-eslint/no-meaningless-void-operator': 'off', + '@typescript-eslint/no-misused-promises': 'off', + '@typescript-eslint/no-mixed-enums': 'off', + '@typescript-eslint/no-redundant-type-constituents': 'off', + '@typescript-eslint/no-unnecessary-boolean-literal-compare': 'off', + '@typescript-eslint/no-unnecessary-condition': 'off', + '@typescript-eslint/no-unnecessary-qualifier': 'off', + '@typescript-eslint/no-unnecessary-template-expression': 'off', + '@typescript-eslint/no-unnecessary-type-arguments': 'off', + '@typescript-eslint/no-unnecessary-type-assertion': 'off', + '@typescript-eslint/no-unnecessary-type-parameters': 'off', + '@typescript-eslint/no-unsafe-argument': 'off', + '@typescript-eslint/no-unsafe-assignment': 'off', + '@typescript-eslint/no-unsafe-call': 'off', + '@typescript-eslint/no-unsafe-enum-comparison': 'off', + '@typescript-eslint/no-unsafe-member-access': 'off', + '@typescript-eslint/no-unsafe-return': 'off', + '@typescript-eslint/no-unsafe-type-assertion': 'off', + '@typescript-eslint/no-unsafe-unary-minus': 'off', + '@typescript-eslint/non-nullable-type-assertion-style': 'off', + '@typescript-eslint/only-throw-error': 'off', + '@typescript-eslint/prefer-destructuring': 'off', + '@typescript-eslint/prefer-find': 'off', + '@typescript-eslint/prefer-includes': 'off', + '@typescript-eslint/prefer-nullish-coalescing': 'off', + '@typescript-eslint/prefer-optional-chain': 'off', + '@typescript-eslint/prefer-promise-reject-errors': 'off', + '@typescript-eslint/prefer-readonly': 'off', + '@typescript-eslint/prefer-readonly-parameter-types': 'off', + '@typescript-eslint/prefer-reduce-type-parameter': 'off', + '@typescript-eslint/prefer-regexp-exec': 'off', + '@typescript-eslint/prefer-return-this-type': 'off', + '@typescript-eslint/prefer-string-starts-ends-with': 'off', + '@typescript-eslint/promise-function-async': 'off', + '@typescript-eslint/related-getter-setter-pairs': 'off', + '@typescript-eslint/require-array-sort-compare': 'off', + '@typescript-eslint/require-await': 'off', + '@typescript-eslint/restrict-plus-operands': 'off', + '@typescript-eslint/restrict-template-expressions': 'off', + '@typescript-eslint/return-await': 'off', + '@typescript-eslint/strict-boolean-expressions': 'off', + '@typescript-eslint/switch-exhaustiveness-check': 'off', + '@typescript-eslint/unbound-method': 'off', + '@typescript-eslint/use-unknown-in-catch-callback-variable': 'off', + }, + languageOptions: { + parserOptions: { project: false, program: null, projectService: false }, + }, +}); +//# sourceMappingURL=disable-type-checked.js.map \ No newline at end of file diff --git a/node_modules/typescript-eslint/dist/configs/disable-type-checked.js.map b/node_modules/typescript-eslint/dist/configs/disable-type-checked.js.map new file mode 100644 index 0000000000..3f34b26e97 --- /dev/null +++ b/node_modules/typescript-eslint/dist/configs/disable-type-checked.js.map @@ -0,0 +1 @@ +{"version":3,"file":"disable-type-checked.js","sourceRoot":"","sources":["../../src/configs/disable-type-checked.ts"],"names":[],"mappings":";AAAA,wCAAwC;AACxC,gCAAgC;AAChC,iDAAiD;AACjD,EAAE;AACF,4DAA4D;AAC5D,sDAAsD;;AAItD;;;GAGG;AACH,kBAAe,CACb,OAA0B,EAC1B,OAA0B,EACP,EAAE,CAAC,CAAC;IACvB,IAAI,EAAE,wCAAwC;IAC9C,KAAK,EAAE;QACL,mCAAmC,EAAE,KAAK;QAC1C,sCAAsC,EAAE,KAAK;QAC7C,4CAA4C,EAAE,KAAK;QACnD,iCAAiC,EAAE,KAAK;QACxC,sCAAsC,EAAE,KAAK;QAC7C,oCAAoC,EAAE,KAAK;QAC3C,sCAAsC,EAAE,KAAK;QAC7C,iDAAiD,EAAE,KAAK;QACxD,kCAAkC,EAAE,KAAK;QACzC,mDAAmD,EAAE,KAAK;QAC1D,yCAAyC,EAAE,KAAK;QAChD,oCAAoC,EAAE,KAAK;QAC3C,oCAAoC,EAAE,KAAK;QAC3C,iDAAiD,EAAE,KAAK;QACxD,wCAAwC,EAAE,KAAK;QAC/C,mCAAmC,EAAE,KAAK;QAC1C,mDAAmD,EAAE,KAAK;QAC1D,2DAA2D,EAAE,KAAK;QAClE,6CAA6C,EAAE,KAAK;QACpD,6CAA6C,EAAE,KAAK;QACpD,uDAAuD,EAAE,KAAK;QAC9D,kDAAkD,EAAE,KAAK;QACzD,kDAAkD,EAAE,KAAK;QACzD,mDAAmD,EAAE,KAAK;QAC1D,uCAAuC,EAAE,KAAK;QAC9C,yCAAyC,EAAE,KAAK;QAChD,mCAAmC,EAAE,KAAK;QAC1C,8CAA8C,EAAE,KAAK;QACrD,4CAA4C,EAAE,KAAK;QACnD,qCAAqC,EAAE,KAAK;QAC5C,6CAA6C,EAAE,KAAK;QACpD,0CAA0C,EAAE,KAAK;QACjD,sDAAsD,EAAE,KAAK;QAC7D,qCAAqC,EAAE,KAAK;QAC5C,yCAAyC,EAAE,KAAK;QAChD,gCAAgC,EAAE,KAAK;QACvC,oCAAoC,EAAE,KAAK;QAC3C,8CAA8C,EAAE,KAAK;QACrD,0CAA0C,EAAE,KAAK;QACjD,iDAAiD,EAAE,KAAK;QACxD,oCAAoC,EAAE,KAAK;QAC3C,oDAAoD,EAAE,KAAK;QAC3D,iDAAiD,EAAE,KAAK;QACxD,uCAAuC,EAAE,KAAK;QAC9C,4CAA4C,EAAE,KAAK;QACnD,mDAAmD,EAAE,KAAK;QAC1D,2CAA2C,EAAE,KAAK;QAClD,gDAAgD,EAAE,KAAK;QACvD,+CAA+C,EAAE,KAAK;QACtD,kCAAkC,EAAE,KAAK;QACzC,2CAA2C,EAAE,KAAK;QAClD,kDAAkD,EAAE,KAAK;QACzD,iCAAiC,EAAE,KAAK;QACxC,+CAA+C,EAAE,KAAK;QACtD,gDAAgD,EAAE,KAAK;QACvD,mCAAmC,EAAE,KAAK;QAC1C,2DAA2D,EAAE,KAAK;KACnE;IACD,eAAe,EAAE;QACf,aAAa,EAAE,EAAE,OAAO,EAAE,KAAK,EAAE,OAAO,EAAE,IAAI,EAAE,cAAc,EAAE,KAAK,EAAE;KACxE;CACF,CAAC,CAAC"} \ No newline at end of file diff --git a/node_modules/typescript-eslint/dist/configs/eslint-recommended.d.ts b/node_modules/typescript-eslint/dist/configs/eslint-recommended.d.ts new file mode 100644 index 0000000000..f1d2632040 --- /dev/null +++ b/node_modules/typescript-eslint/dist/configs/eslint-recommended.d.ts @@ -0,0 +1,10 @@ +import type { FlatConfig } from '@typescript-eslint/utils/ts-eslint'; +/** + * This is a compatibility ruleset that: + * - disables rules from eslint:recommended which are already handled by TypeScript. + * - enables rules that make sense due to TS's typechecking / transpilation. + * @see {@link https://typescript-eslint.io/users/configs/#eslint-recommended} + */ +declare const _default: (_plugin: FlatConfig.Plugin, _parser: FlatConfig.Parser) => FlatConfig.Config; +export default _default; +//# sourceMappingURL=eslint-recommended.d.ts.map \ No newline at end of file diff --git a/node_modules/typescript-eslint/dist/configs/eslint-recommended.d.ts.map b/node_modules/typescript-eslint/dist/configs/eslint-recommended.d.ts.map new file mode 100644 index 0000000000..72f86e4eaf --- /dev/null +++ b/node_modules/typescript-eslint/dist/configs/eslint-recommended.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"eslint-recommended.d.ts","sourceRoot":"","sources":["../../src/configs/eslint-recommended.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,oCAAoC,CAAC;AAIrE;;;;;GAKG;kCAEQ,UAAU,CAAC,MAAM,WACjB,UAAU,CAAC,MAAM,KACzB,UAAU,CAAC,MAAM;AAHpB,wBAMG"} \ No newline at end of file diff --git a/node_modules/typescript-eslint/dist/configs/eslint-recommended.js b/node_modules/typescript-eslint/dist/configs/eslint-recommended.js new file mode 100644 index 0000000000..449d422425 --- /dev/null +++ b/node_modules/typescript-eslint/dist/configs/eslint-recommended.js @@ -0,0 +1,17 @@ +"use strict"; +var __importDefault = (this && this.__importDefault) || function (mod) { + return (mod && mod.__esModule) ? mod : { "default": mod }; +}; +Object.defineProperty(exports, "__esModule", { value: true }); +const eslint_recommended_raw_1 = __importDefault(require("@typescript-eslint/eslint-plugin/use-at-your-own-risk/eslint-recommended-raw")); +/** + * This is a compatibility ruleset that: + * - disables rules from eslint:recommended which are already handled by TypeScript. + * - enables rules that make sense due to TS's typechecking / transpilation. + * @see {@link https://typescript-eslint.io/users/configs/#eslint-recommended} + */ +exports.default = (_plugin, _parser) => ({ + ...(0, eslint_recommended_raw_1.default)('minimatch'), + name: 'typescript-eslint/eslint-recommended', +}); +//# sourceMappingURL=eslint-recommended.js.map \ No newline at end of file diff --git a/node_modules/typescript-eslint/dist/configs/eslint-recommended.js.map b/node_modules/typescript-eslint/dist/configs/eslint-recommended.js.map new file mode 100644 index 0000000000..1efd479ae5 --- /dev/null +++ b/node_modules/typescript-eslint/dist/configs/eslint-recommended.js.map @@ -0,0 +1 @@ +{"version":3,"file":"eslint-recommended.js","sourceRoot":"","sources":["../../src/configs/eslint-recommended.ts"],"names":[],"mappings":";;;;;AAEA,0IAAkG;AAElG;;;;;GAKG;AACH,kBAAe,CACb,OAA0B,EAC1B,OAA0B,EACP,EAAE,CAAC,CAAC;IACvB,GAAG,IAAA,gCAAM,EAAC,WAAW,CAAC;IACtB,IAAI,EAAE,sCAAsC;CAC7C,CAAC,CAAC"} \ No newline at end of file diff --git a/node_modules/typescript-eslint/dist/configs/recommended-type-checked-only.d.ts b/node_modules/typescript-eslint/dist/configs/recommended-type-checked-only.d.ts new file mode 100644 index 0000000000..154c5b96b4 --- /dev/null +++ b/node_modules/typescript-eslint/dist/configs/recommended-type-checked-only.d.ts @@ -0,0 +1,8 @@ +import type { FlatConfig } from '@typescript-eslint/utils/ts-eslint'; +/** + * A version of `recommended` that only contains type-checked rules and disables of any corresponding core ESLint rules. + * @see {@link https://typescript-eslint.io/users/configs#recommended-type-checked-only} + */ +declare const _default: (plugin: FlatConfig.Plugin, parser: FlatConfig.Parser) => FlatConfig.ConfigArray; +export default _default; +//# sourceMappingURL=recommended-type-checked-only.d.ts.map \ No newline at end of file diff --git a/node_modules/typescript-eslint/dist/configs/recommended-type-checked-only.d.ts.map b/node_modules/typescript-eslint/dist/configs/recommended-type-checked-only.d.ts.map new file mode 100644 index 0000000000..e5d5e5ecb4 --- /dev/null +++ b/node_modules/typescript-eslint/dist/configs/recommended-type-checked-only.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"recommended-type-checked-only.d.ts","sourceRoot":"","sources":["../../src/configs/recommended-type-checked-only.ts"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,oCAAoC,CAAC;AAKrE;;;GAGG;iCAEO,UAAU,CAAC,MAAM,UACjB,UAAU,CAAC,MAAM,KACxB,UAAU,CAAC,WAAW;AAHzB,wBAsCE"} \ No newline at end of file diff --git a/node_modules/typescript-eslint/dist/configs/recommended-type-checked-only.js b/node_modules/typescript-eslint/dist/configs/recommended-type-checked-only.js new file mode 100644 index 0000000000..9c5040cd65 --- /dev/null +++ b/node_modules/typescript-eslint/dist/configs/recommended-type-checked-only.js @@ -0,0 +1,54 @@ +"use strict"; +// THIS CODE WAS AUTOMATICALLY GENERATED +// DO NOT EDIT THIS CODE BY HAND +// SEE https://typescript-eslint.io/users/configs +// +// For developers working in the typescript-eslint monorepo: +// You can regenerate it using `yarn generate:configs` +var __importDefault = (this && this.__importDefault) || function (mod) { + return (mod && mod.__esModule) ? mod : { "default": mod }; +}; +Object.defineProperty(exports, "__esModule", { value: true }); +const base_1 = __importDefault(require("./base")); +const eslint_recommended_1 = __importDefault(require("./eslint-recommended")); +/** + * A version of `recommended` that only contains type-checked rules and disables of any corresponding core ESLint rules. + * @see {@link https://typescript-eslint.io/users/configs#recommended-type-checked-only} + */ +exports.default = (plugin, parser) => [ + (0, base_1.default)(plugin, parser), + (0, eslint_recommended_1.default)(plugin, parser), + { + name: 'typescript-eslint/recommended-type-checked-only', + rules: { + '@typescript-eslint/await-thenable': 'error', + '@typescript-eslint/no-array-delete': 'error', + '@typescript-eslint/no-base-to-string': 'error', + '@typescript-eslint/no-duplicate-type-constituents': 'error', + '@typescript-eslint/no-floating-promises': 'error', + '@typescript-eslint/no-for-in-array': 'error', + 'no-implied-eval': 'off', + '@typescript-eslint/no-implied-eval': 'error', + '@typescript-eslint/no-misused-promises': 'error', + '@typescript-eslint/no-redundant-type-constituents': 'error', + '@typescript-eslint/no-unnecessary-type-assertion': 'error', + '@typescript-eslint/no-unsafe-argument': 'error', + '@typescript-eslint/no-unsafe-assignment': 'error', + '@typescript-eslint/no-unsafe-call': 'error', + '@typescript-eslint/no-unsafe-enum-comparison': 'error', + '@typescript-eslint/no-unsafe-member-access': 'error', + '@typescript-eslint/no-unsafe-return': 'error', + '@typescript-eslint/no-unsafe-unary-minus': 'error', + 'no-throw-literal': 'off', + '@typescript-eslint/only-throw-error': 'error', + 'prefer-promise-reject-errors': 'off', + '@typescript-eslint/prefer-promise-reject-errors': 'error', + 'require-await': 'off', + '@typescript-eslint/require-await': 'error', + '@typescript-eslint/restrict-plus-operands': 'error', + '@typescript-eslint/restrict-template-expressions': 'error', + '@typescript-eslint/unbound-method': 'error', + }, + }, +]; +//# sourceMappingURL=recommended-type-checked-only.js.map \ No newline at end of file diff --git a/node_modules/typescript-eslint/dist/configs/recommended-type-checked-only.js.map b/node_modules/typescript-eslint/dist/configs/recommended-type-checked-only.js.map new file mode 100644 index 0000000000..565983a188 --- /dev/null +++ b/node_modules/typescript-eslint/dist/configs/recommended-type-checked-only.js.map @@ -0,0 +1 @@ +{"version":3,"file":"recommended-type-checked-only.js","sourceRoot":"","sources":["../../src/configs/recommended-type-checked-only.ts"],"names":[],"mappings":";AAAA,wCAAwC;AACxC,gCAAgC;AAChC,iDAAiD;AACjD,EAAE;AACF,4DAA4D;AAC5D,sDAAsD;;;;;AAItD,kDAAgC;AAChC,8EAA2D;AAE3D;;;GAGG;AACH,kBAAe,CACb,MAAyB,EACzB,MAAyB,EACD,EAAE,CAAC;IAC3B,IAAA,cAAU,EAAC,MAAM,EAAE,MAAM,CAAC;IAC1B,IAAA,4BAAuB,EAAC,MAAM,EAAE,MAAM,CAAC;IACvC;QACE,IAAI,EAAE,iDAAiD;QACvD,KAAK,EAAE;YACL,mCAAmC,EAAE,OAAO;YAC5C,oCAAoC,EAAE,OAAO;YAC7C,sCAAsC,EAAE,OAAO;YAC/C,mDAAmD,EAAE,OAAO;YAC5D,yCAAyC,EAAE,OAAO;YAClD,oCAAoC,EAAE,OAAO;YAC7C,iBAAiB,EAAE,KAAK;YACxB,oCAAoC,EAAE,OAAO;YAC7C,wCAAwC,EAAE,OAAO;YACjD,mDAAmD,EAAE,OAAO;YAC5D,kDAAkD,EAAE,OAAO;YAC3D,uCAAuC,EAAE,OAAO;YAChD,yCAAyC,EAAE,OAAO;YAClD,mCAAmC,EAAE,OAAO;YAC5C,8CAA8C,EAAE,OAAO;YACvD,4CAA4C,EAAE,OAAO;YACrD,qCAAqC,EAAE,OAAO;YAC9C,0CAA0C,EAAE,OAAO;YACnD,kBAAkB,EAAE,KAAK;YACzB,qCAAqC,EAAE,OAAO;YAC9C,8BAA8B,EAAE,KAAK;YACrC,iDAAiD,EAAE,OAAO;YAC1D,eAAe,EAAE,KAAK;YACtB,kCAAkC,EAAE,OAAO;YAC3C,2CAA2C,EAAE,OAAO;YACpD,kDAAkD,EAAE,OAAO;YAC3D,mCAAmC,EAAE,OAAO;SAC7C;KACF;CACF,CAAC"} \ No newline at end of file diff --git a/node_modules/typescript-eslint/dist/configs/recommended-type-checked.d.ts b/node_modules/typescript-eslint/dist/configs/recommended-type-checked.d.ts new file mode 100644 index 0000000000..eff1bb91bd --- /dev/null +++ b/node_modules/typescript-eslint/dist/configs/recommended-type-checked.d.ts @@ -0,0 +1,8 @@ +import type { FlatConfig } from '@typescript-eslint/utils/ts-eslint'; +/** + * Contains all of `recommended` along with additional recommended rules that require type information. + * @see {@link https://typescript-eslint.io/users/configs#recommended-type-checked} + */ +declare const _default: (plugin: FlatConfig.Plugin, parser: FlatConfig.Parser) => FlatConfig.ConfigArray; +export default _default; +//# sourceMappingURL=recommended-type-checked.d.ts.map \ No newline at end of file diff --git a/node_modules/typescript-eslint/dist/configs/recommended-type-checked.d.ts.map b/node_modules/typescript-eslint/dist/configs/recommended-type-checked.d.ts.map new file mode 100644 index 0000000000..c46d8f819a --- /dev/null +++ b/node_modules/typescript-eslint/dist/configs/recommended-type-checked.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"recommended-type-checked.d.ts","sourceRoot":"","sources":["../../src/configs/recommended-type-checked.ts"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,oCAAoC,CAAC;AAKrE;;;GAGG;iCAEO,UAAU,CAAC,MAAM,UACjB,UAAU,CAAC,MAAM,KACxB,UAAU,CAAC,WAAW;AAHzB,wBA6DE"} \ No newline at end of file diff --git a/node_modules/typescript-eslint/dist/configs/recommended-type-checked.js b/node_modules/typescript-eslint/dist/configs/recommended-type-checked.js new file mode 100644 index 0000000000..6d2027bc57 --- /dev/null +++ b/node_modules/typescript-eslint/dist/configs/recommended-type-checked.js @@ -0,0 +1,77 @@ +"use strict"; +// THIS CODE WAS AUTOMATICALLY GENERATED +// DO NOT EDIT THIS CODE BY HAND +// SEE https://typescript-eslint.io/users/configs +// +// For developers working in the typescript-eslint monorepo: +// You can regenerate it using `yarn generate:configs` +var __importDefault = (this && this.__importDefault) || function (mod) { + return (mod && mod.__esModule) ? mod : { "default": mod }; +}; +Object.defineProperty(exports, "__esModule", { value: true }); +const base_1 = __importDefault(require("./base")); +const eslint_recommended_1 = __importDefault(require("./eslint-recommended")); +/** + * Contains all of `recommended` along with additional recommended rules that require type information. + * @see {@link https://typescript-eslint.io/users/configs#recommended-type-checked} + */ +exports.default = (plugin, parser) => [ + (0, base_1.default)(plugin, parser), + (0, eslint_recommended_1.default)(plugin, parser), + { + name: 'typescript-eslint/recommended-type-checked', + rules: { + '@typescript-eslint/await-thenable': 'error', + '@typescript-eslint/ban-ts-comment': 'error', + 'no-array-constructor': 'off', + '@typescript-eslint/no-array-constructor': 'error', + '@typescript-eslint/no-array-delete': 'error', + '@typescript-eslint/no-base-to-string': 'error', + '@typescript-eslint/no-duplicate-enum-values': 'error', + '@typescript-eslint/no-duplicate-type-constituents': 'error', + '@typescript-eslint/no-empty-object-type': 'error', + '@typescript-eslint/no-explicit-any': 'error', + '@typescript-eslint/no-extra-non-null-assertion': 'error', + '@typescript-eslint/no-floating-promises': 'error', + '@typescript-eslint/no-for-in-array': 'error', + 'no-implied-eval': 'off', + '@typescript-eslint/no-implied-eval': 'error', + '@typescript-eslint/no-misused-new': 'error', + '@typescript-eslint/no-misused-promises': 'error', + '@typescript-eslint/no-namespace': 'error', + '@typescript-eslint/no-non-null-asserted-optional-chain': 'error', + '@typescript-eslint/no-redundant-type-constituents': 'error', + '@typescript-eslint/no-require-imports': 'error', + '@typescript-eslint/no-this-alias': 'error', + '@typescript-eslint/no-unnecessary-type-assertion': 'error', + '@typescript-eslint/no-unnecessary-type-constraint': 'error', + '@typescript-eslint/no-unsafe-argument': 'error', + '@typescript-eslint/no-unsafe-assignment': 'error', + '@typescript-eslint/no-unsafe-call': 'error', + '@typescript-eslint/no-unsafe-declaration-merging': 'error', + '@typescript-eslint/no-unsafe-enum-comparison': 'error', + '@typescript-eslint/no-unsafe-function-type': 'error', + '@typescript-eslint/no-unsafe-member-access': 'error', + '@typescript-eslint/no-unsafe-return': 'error', + '@typescript-eslint/no-unsafe-unary-minus': 'error', + 'no-unused-expressions': 'off', + '@typescript-eslint/no-unused-expressions': 'error', + 'no-unused-vars': 'off', + '@typescript-eslint/no-unused-vars': 'error', + '@typescript-eslint/no-wrapper-object-types': 'error', + 'no-throw-literal': 'off', + '@typescript-eslint/only-throw-error': 'error', + '@typescript-eslint/prefer-as-const': 'error', + '@typescript-eslint/prefer-namespace-keyword': 'error', + 'prefer-promise-reject-errors': 'off', + '@typescript-eslint/prefer-promise-reject-errors': 'error', + 'require-await': 'off', + '@typescript-eslint/require-await': 'error', + '@typescript-eslint/restrict-plus-operands': 'error', + '@typescript-eslint/restrict-template-expressions': 'error', + '@typescript-eslint/triple-slash-reference': 'error', + '@typescript-eslint/unbound-method': 'error', + }, + }, +]; +//# sourceMappingURL=recommended-type-checked.js.map \ No newline at end of file diff --git a/node_modules/typescript-eslint/dist/configs/recommended-type-checked.js.map b/node_modules/typescript-eslint/dist/configs/recommended-type-checked.js.map new file mode 100644 index 0000000000..3f82c89cbf --- /dev/null +++ b/node_modules/typescript-eslint/dist/configs/recommended-type-checked.js.map @@ -0,0 +1 @@ +{"version":3,"file":"recommended-type-checked.js","sourceRoot":"","sources":["../../src/configs/recommended-type-checked.ts"],"names":[],"mappings":";AAAA,wCAAwC;AACxC,gCAAgC;AAChC,iDAAiD;AACjD,EAAE;AACF,4DAA4D;AAC5D,sDAAsD;;;;;AAItD,kDAAgC;AAChC,8EAA2D;AAE3D;;;GAGG;AACH,kBAAe,CACb,MAAyB,EACzB,MAAyB,EACD,EAAE,CAAC;IAC3B,IAAA,cAAU,EAAC,MAAM,EAAE,MAAM,CAAC;IAC1B,IAAA,4BAAuB,EAAC,MAAM,EAAE,MAAM,CAAC;IACvC;QACE,IAAI,EAAE,4CAA4C;QAClD,KAAK,EAAE;YACL,mCAAmC,EAAE,OAAO;YAC5C,mCAAmC,EAAE,OAAO;YAC5C,sBAAsB,EAAE,KAAK;YAC7B,yCAAyC,EAAE,OAAO;YAClD,oCAAoC,EAAE,OAAO;YAC7C,sCAAsC,EAAE,OAAO;YAC/C,6CAA6C,EAAE,OAAO;YACtD,mDAAmD,EAAE,OAAO;YAC5D,yCAAyC,EAAE,OAAO;YAClD,oCAAoC,EAAE,OAAO;YAC7C,gDAAgD,EAAE,OAAO;YACzD,yCAAyC,EAAE,OAAO;YAClD,oCAAoC,EAAE,OAAO;YAC7C,iBAAiB,EAAE,KAAK;YACxB,oCAAoC,EAAE,OAAO;YAC7C,mCAAmC,EAAE,OAAO;YAC5C,wCAAwC,EAAE,OAAO;YACjD,iCAAiC,EAAE,OAAO;YAC1C,wDAAwD,EAAE,OAAO;YACjE,mDAAmD,EAAE,OAAO;YAC5D,uCAAuC,EAAE,OAAO;YAChD,kCAAkC,EAAE,OAAO;YAC3C,kDAAkD,EAAE,OAAO;YAC3D,mDAAmD,EAAE,OAAO;YAC5D,uCAAuC,EAAE,OAAO;YAChD,yCAAyC,EAAE,OAAO;YAClD,mCAAmC,EAAE,OAAO;YAC5C,kDAAkD,EAAE,OAAO;YAC3D,8CAA8C,EAAE,OAAO;YACvD,4CAA4C,EAAE,OAAO;YACrD,4CAA4C,EAAE,OAAO;YACrD,qCAAqC,EAAE,OAAO;YAC9C,0CAA0C,EAAE,OAAO;YACnD,uBAAuB,EAAE,KAAK;YAC9B,0CAA0C,EAAE,OAAO;YACnD,gBAAgB,EAAE,KAAK;YACvB,mCAAmC,EAAE,OAAO;YAC5C,4CAA4C,EAAE,OAAO;YACrD,kBAAkB,EAAE,KAAK;YACzB,qCAAqC,EAAE,OAAO;YAC9C,oCAAoC,EAAE,OAAO;YAC7C,6CAA6C,EAAE,OAAO;YACtD,8BAA8B,EAAE,KAAK;YACrC,iDAAiD,EAAE,OAAO;YAC1D,eAAe,EAAE,KAAK;YACtB,kCAAkC,EAAE,OAAO;YAC3C,2CAA2C,EAAE,OAAO;YACpD,kDAAkD,EAAE,OAAO;YAC3D,2CAA2C,EAAE,OAAO;YACpD,mCAAmC,EAAE,OAAO;SAC7C;KACF;CACF,CAAC"} \ No newline at end of file diff --git a/node_modules/typescript-eslint/dist/configs/recommended.d.ts b/node_modules/typescript-eslint/dist/configs/recommended.d.ts new file mode 100644 index 0000000000..a4e4e4c162 --- /dev/null +++ b/node_modules/typescript-eslint/dist/configs/recommended.d.ts @@ -0,0 +1,8 @@ +import type { FlatConfig } from '@typescript-eslint/utils/ts-eslint'; +/** + * Recommended rules for code correctness that you can drop in without additional configuration. + * @see {@link https://typescript-eslint.io/users/configs#recommended} + */ +declare const _default: (plugin: FlatConfig.Plugin, parser: FlatConfig.Parser) => FlatConfig.ConfigArray; +export default _default; +//# sourceMappingURL=recommended.d.ts.map \ No newline at end of file diff --git a/node_modules/typescript-eslint/dist/configs/recommended.d.ts.map b/node_modules/typescript-eslint/dist/configs/recommended.d.ts.map new file mode 100644 index 0000000000..d1c3215e02 --- /dev/null +++ b/node_modules/typescript-eslint/dist/configs/recommended.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"recommended.d.ts","sourceRoot":"","sources":["../../src/configs/recommended.ts"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,oCAAoC,CAAC;AAKrE;;;GAGG;iCAEO,UAAU,CAAC,MAAM,UACjB,UAAU,CAAC,MAAM,KACxB,UAAU,CAAC,WAAW;AAHzB,wBAkCE"} \ No newline at end of file diff --git a/node_modules/typescript-eslint/dist/configs/recommended.js b/node_modules/typescript-eslint/dist/configs/recommended.js new file mode 100644 index 0000000000..091e88bff2 --- /dev/null +++ b/node_modules/typescript-eslint/dist/configs/recommended.js @@ -0,0 +1,50 @@ +"use strict"; +// THIS CODE WAS AUTOMATICALLY GENERATED +// DO NOT EDIT THIS CODE BY HAND +// SEE https://typescript-eslint.io/users/configs +// +// For developers working in the typescript-eslint monorepo: +// You can regenerate it using `yarn generate:configs` +var __importDefault = (this && this.__importDefault) || function (mod) { + return (mod && mod.__esModule) ? mod : { "default": mod }; +}; +Object.defineProperty(exports, "__esModule", { value: true }); +const base_1 = __importDefault(require("./base")); +const eslint_recommended_1 = __importDefault(require("./eslint-recommended")); +/** + * Recommended rules for code correctness that you can drop in without additional configuration. + * @see {@link https://typescript-eslint.io/users/configs#recommended} + */ +exports.default = (plugin, parser) => [ + (0, base_1.default)(plugin, parser), + (0, eslint_recommended_1.default)(plugin, parser), + { + name: 'typescript-eslint/recommended', + rules: { + '@typescript-eslint/ban-ts-comment': 'error', + 'no-array-constructor': 'off', + '@typescript-eslint/no-array-constructor': 'error', + '@typescript-eslint/no-duplicate-enum-values': 'error', + '@typescript-eslint/no-empty-object-type': 'error', + '@typescript-eslint/no-explicit-any': 'error', + '@typescript-eslint/no-extra-non-null-assertion': 'error', + '@typescript-eslint/no-misused-new': 'error', + '@typescript-eslint/no-namespace': 'error', + '@typescript-eslint/no-non-null-asserted-optional-chain': 'error', + '@typescript-eslint/no-require-imports': 'error', + '@typescript-eslint/no-this-alias': 'error', + '@typescript-eslint/no-unnecessary-type-constraint': 'error', + '@typescript-eslint/no-unsafe-declaration-merging': 'error', + '@typescript-eslint/no-unsafe-function-type': 'error', + 'no-unused-expressions': 'off', + '@typescript-eslint/no-unused-expressions': 'error', + 'no-unused-vars': 'off', + '@typescript-eslint/no-unused-vars': 'error', + '@typescript-eslint/no-wrapper-object-types': 'error', + '@typescript-eslint/prefer-as-const': 'error', + '@typescript-eslint/prefer-namespace-keyword': 'error', + '@typescript-eslint/triple-slash-reference': 'error', + }, + }, +]; +//# sourceMappingURL=recommended.js.map \ No newline at end of file diff --git a/node_modules/typescript-eslint/dist/configs/recommended.js.map b/node_modules/typescript-eslint/dist/configs/recommended.js.map new file mode 100644 index 0000000000..3e48eb9583 --- /dev/null +++ b/node_modules/typescript-eslint/dist/configs/recommended.js.map @@ -0,0 +1 @@ +{"version":3,"file":"recommended.js","sourceRoot":"","sources":["../../src/configs/recommended.ts"],"names":[],"mappings":";AAAA,wCAAwC;AACxC,gCAAgC;AAChC,iDAAiD;AACjD,EAAE;AACF,4DAA4D;AAC5D,sDAAsD;;;;;AAItD,kDAAgC;AAChC,8EAA2D;AAE3D;;;GAGG;AACH,kBAAe,CACb,MAAyB,EACzB,MAAyB,EACD,EAAE,CAAC;IAC3B,IAAA,cAAU,EAAC,MAAM,EAAE,MAAM,CAAC;IAC1B,IAAA,4BAAuB,EAAC,MAAM,EAAE,MAAM,CAAC;IACvC;QACE,IAAI,EAAE,+BAA+B;QACrC,KAAK,EAAE;YACL,mCAAmC,EAAE,OAAO;YAC5C,sBAAsB,EAAE,KAAK;YAC7B,yCAAyC,EAAE,OAAO;YAClD,6CAA6C,EAAE,OAAO;YACtD,yCAAyC,EAAE,OAAO;YAClD,oCAAoC,EAAE,OAAO;YAC7C,gDAAgD,EAAE,OAAO;YACzD,mCAAmC,EAAE,OAAO;YAC5C,iCAAiC,EAAE,OAAO;YAC1C,wDAAwD,EAAE,OAAO;YACjE,uCAAuC,EAAE,OAAO;YAChD,kCAAkC,EAAE,OAAO;YAC3C,mDAAmD,EAAE,OAAO;YAC5D,kDAAkD,EAAE,OAAO;YAC3D,4CAA4C,EAAE,OAAO;YACrD,uBAAuB,EAAE,KAAK;YAC9B,0CAA0C,EAAE,OAAO;YACnD,gBAAgB,EAAE,KAAK;YACvB,mCAAmC,EAAE,OAAO;YAC5C,4CAA4C,EAAE,OAAO;YACrD,oCAAoC,EAAE,OAAO;YAC7C,6CAA6C,EAAE,OAAO;YACtD,2CAA2C,EAAE,OAAO;SACrD;KACF;CACF,CAAC"} \ No newline at end of file diff --git a/node_modules/typescript-eslint/dist/configs/strict-type-checked-only.d.ts b/node_modules/typescript-eslint/dist/configs/strict-type-checked-only.d.ts new file mode 100644 index 0000000000..c23c69e6a9 --- /dev/null +++ b/node_modules/typescript-eslint/dist/configs/strict-type-checked-only.d.ts @@ -0,0 +1,8 @@ +import type { FlatConfig } from '@typescript-eslint/utils/ts-eslint'; +/** + * A version of `strict` that only contains type-checked rules and disables of any corresponding core ESLint rules. + * @see {@link https://typescript-eslint.io/users/configs#strict-type-checked-only} + */ +declare const _default: (plugin: FlatConfig.Plugin, parser: FlatConfig.Parser) => FlatConfig.ConfigArray; +export default _default; +//# sourceMappingURL=strict-type-checked-only.d.ts.map \ No newline at end of file diff --git a/node_modules/typescript-eslint/dist/configs/strict-type-checked-only.d.ts.map b/node_modules/typescript-eslint/dist/configs/strict-type-checked-only.d.ts.map new file mode 100644 index 0000000000..6020867a8d --- /dev/null +++ b/node_modules/typescript-eslint/dist/configs/strict-type-checked-only.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"strict-type-checked-only.d.ts","sourceRoot":"","sources":["../../src/configs/strict-type-checked-only.ts"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,oCAAoC,CAAC;AAKrE;;;GAGG;iCAEO,UAAU,CAAC,MAAM,UACjB,UAAU,CAAC,MAAM,KACxB,UAAU,CAAC,WAAW;AAHzB,wBA2EE"} \ No newline at end of file diff --git a/node_modules/typescript-eslint/dist/configs/strict-type-checked-only.js b/node_modules/typescript-eslint/dist/configs/strict-type-checked-only.js new file mode 100644 index 0000000000..4e8247f4e4 --- /dev/null +++ b/node_modules/typescript-eslint/dist/configs/strict-type-checked-only.js @@ -0,0 +1,91 @@ +"use strict"; +// THIS CODE WAS AUTOMATICALLY GENERATED +// DO NOT EDIT THIS CODE BY HAND +// SEE https://typescript-eslint.io/users/configs +// +// For developers working in the typescript-eslint monorepo: +// You can regenerate it using `yarn generate:configs` +var __importDefault = (this && this.__importDefault) || function (mod) { + return (mod && mod.__esModule) ? mod : { "default": mod }; +}; +Object.defineProperty(exports, "__esModule", { value: true }); +const base_1 = __importDefault(require("./base")); +const eslint_recommended_1 = __importDefault(require("./eslint-recommended")); +/** + * A version of `strict` that only contains type-checked rules and disables of any corresponding core ESLint rules. + * @see {@link https://typescript-eslint.io/users/configs#strict-type-checked-only} + */ +exports.default = (plugin, parser) => [ + (0, base_1.default)(plugin, parser), + (0, eslint_recommended_1.default)(plugin, parser), + { + name: 'typescript-eslint/strict-type-checked-only', + rules: { + '@typescript-eslint/await-thenable': 'error', + '@typescript-eslint/no-array-delete': 'error', + '@typescript-eslint/no-base-to-string': 'error', + '@typescript-eslint/no-confusing-void-expression': 'error', + '@typescript-eslint/no-deprecated': 'error', + '@typescript-eslint/no-duplicate-type-constituents': 'error', + '@typescript-eslint/no-floating-promises': 'error', + '@typescript-eslint/no-for-in-array': 'error', + 'no-implied-eval': 'off', + '@typescript-eslint/no-implied-eval': 'error', + '@typescript-eslint/no-meaningless-void-operator': 'error', + '@typescript-eslint/no-misused-promises': 'error', + '@typescript-eslint/no-mixed-enums': 'error', + '@typescript-eslint/no-redundant-type-constituents': 'error', + '@typescript-eslint/no-unnecessary-boolean-literal-compare': 'error', + '@typescript-eslint/no-unnecessary-condition': 'error', + '@typescript-eslint/no-unnecessary-template-expression': 'error', + '@typescript-eslint/no-unnecessary-type-arguments': 'error', + '@typescript-eslint/no-unnecessary-type-assertion': 'error', + '@typescript-eslint/no-unnecessary-type-parameters': 'error', + '@typescript-eslint/no-unsafe-argument': 'error', + '@typescript-eslint/no-unsafe-assignment': 'error', + '@typescript-eslint/no-unsafe-call': 'error', + '@typescript-eslint/no-unsafe-enum-comparison': 'error', + '@typescript-eslint/no-unsafe-member-access': 'error', + '@typescript-eslint/no-unsafe-return': 'error', + '@typescript-eslint/no-unsafe-unary-minus': 'error', + 'no-throw-literal': 'off', + '@typescript-eslint/only-throw-error': 'error', + 'prefer-promise-reject-errors': 'off', + '@typescript-eslint/prefer-promise-reject-errors': 'error', + '@typescript-eslint/prefer-reduce-type-parameter': 'error', + '@typescript-eslint/prefer-return-this-type': 'error', + '@typescript-eslint/related-getter-setter-pairs': 'error', + 'require-await': 'off', + '@typescript-eslint/require-await': 'error', + '@typescript-eslint/restrict-plus-operands': [ + 'error', + { + allowAny: false, + allowBoolean: false, + allowNullish: false, + allowNumberAndString: false, + allowRegExp: false, + }, + ], + '@typescript-eslint/restrict-template-expressions': [ + 'error', + { + allowAny: false, + allowBoolean: false, + allowNullish: false, + allowNumber: false, + allowRegExp: false, + allowNever: false, + }, + ], + 'no-return-await': 'off', + '@typescript-eslint/return-await': [ + 'error', + 'error-handling-correctness-only', + ], + '@typescript-eslint/unbound-method': 'error', + '@typescript-eslint/use-unknown-in-catch-callback-variable': 'error', + }, + }, +]; +//# sourceMappingURL=strict-type-checked-only.js.map \ No newline at end of file diff --git a/node_modules/typescript-eslint/dist/configs/strict-type-checked-only.js.map b/node_modules/typescript-eslint/dist/configs/strict-type-checked-only.js.map new file mode 100644 index 0000000000..ca48087e5a --- /dev/null +++ b/node_modules/typescript-eslint/dist/configs/strict-type-checked-only.js.map @@ -0,0 +1 @@ +{"version":3,"file":"strict-type-checked-only.js","sourceRoot":"","sources":["../../src/configs/strict-type-checked-only.ts"],"names":[],"mappings":";AAAA,wCAAwC;AACxC,gCAAgC;AAChC,iDAAiD;AACjD,EAAE;AACF,4DAA4D;AAC5D,sDAAsD;;;;;AAItD,kDAAgC;AAChC,8EAA2D;AAE3D;;;GAGG;AACH,kBAAe,CACb,MAAyB,EACzB,MAAyB,EACD,EAAE,CAAC;IAC3B,IAAA,cAAU,EAAC,MAAM,EAAE,MAAM,CAAC;IAC1B,IAAA,4BAAuB,EAAC,MAAM,EAAE,MAAM,CAAC;IACvC;QACE,IAAI,EAAE,4CAA4C;QAClD,KAAK,EAAE;YACL,mCAAmC,EAAE,OAAO;YAC5C,oCAAoC,EAAE,OAAO;YAC7C,sCAAsC,EAAE,OAAO;YAC/C,iDAAiD,EAAE,OAAO;YAC1D,kCAAkC,EAAE,OAAO;YAC3C,mDAAmD,EAAE,OAAO;YAC5D,yCAAyC,EAAE,OAAO;YAClD,oCAAoC,EAAE,OAAO;YAC7C,iBAAiB,EAAE,KAAK;YACxB,oCAAoC,EAAE,OAAO;YAC7C,iDAAiD,EAAE,OAAO;YAC1D,wCAAwC,EAAE,OAAO;YACjD,mCAAmC,EAAE,OAAO;YAC5C,mDAAmD,EAAE,OAAO;YAC5D,2DAA2D,EAAE,OAAO;YACpE,6CAA6C,EAAE,OAAO;YACtD,uDAAuD,EAAE,OAAO;YAChE,kDAAkD,EAAE,OAAO;YAC3D,kDAAkD,EAAE,OAAO;YAC3D,mDAAmD,EAAE,OAAO;YAC5D,uCAAuC,EAAE,OAAO;YAChD,yCAAyC,EAAE,OAAO;YAClD,mCAAmC,EAAE,OAAO;YAC5C,8CAA8C,EAAE,OAAO;YACvD,4CAA4C,EAAE,OAAO;YACrD,qCAAqC,EAAE,OAAO;YAC9C,0CAA0C,EAAE,OAAO;YACnD,kBAAkB,EAAE,KAAK;YACzB,qCAAqC,EAAE,OAAO;YAC9C,8BAA8B,EAAE,KAAK;YACrC,iDAAiD,EAAE,OAAO;YAC1D,iDAAiD,EAAE,OAAO;YAC1D,4CAA4C,EAAE,OAAO;YACrD,gDAAgD,EAAE,OAAO;YACzD,eAAe,EAAE,KAAK;YACtB,kCAAkC,EAAE,OAAO;YAC3C,2CAA2C,EAAE;gBAC3C,OAAO;gBACP;oBACE,QAAQ,EAAE,KAAK;oBACf,YAAY,EAAE,KAAK;oBACnB,YAAY,EAAE,KAAK;oBACnB,oBAAoB,EAAE,KAAK;oBAC3B,WAAW,EAAE,KAAK;iBACnB;aACF;YACD,kDAAkD,EAAE;gBAClD,OAAO;gBACP;oBACE,QAAQ,EAAE,KAAK;oBACf,YAAY,EAAE,KAAK;oBACnB,YAAY,EAAE,KAAK;oBACnB,WAAW,EAAE,KAAK;oBAClB,WAAW,EAAE,KAAK;oBAClB,UAAU,EAAE,KAAK;iBAClB;aACF;YACD,iBAAiB,EAAE,KAAK;YACxB,iCAAiC,EAAE;gBACjC,OAAO;gBACP,iCAAiC;aAClC;YACD,mCAAmC,EAAE,OAAO;YAC5C,2DAA2D,EAAE,OAAO;SACrE;KACF;CACF,CAAC"} \ No newline at end of file diff --git a/node_modules/typescript-eslint/dist/configs/strict-type-checked.d.ts b/node_modules/typescript-eslint/dist/configs/strict-type-checked.d.ts new file mode 100644 index 0000000000..d40726dd96 --- /dev/null +++ b/node_modules/typescript-eslint/dist/configs/strict-type-checked.d.ts @@ -0,0 +1,8 @@ +import type { FlatConfig } from '@typescript-eslint/utils/ts-eslint'; +/** + * Contains all of `recommended`, `recommended-type-checked`, and `strict`, along with additional strict rules that require type information. + * @see {@link https://typescript-eslint.io/users/configs#strict-type-checked} + */ +declare const _default: (plugin: FlatConfig.Plugin, parser: FlatConfig.Parser) => FlatConfig.ConfigArray; +export default _default; +//# sourceMappingURL=strict-type-checked.d.ts.map \ No newline at end of file diff --git a/node_modules/typescript-eslint/dist/configs/strict-type-checked.d.ts.map b/node_modules/typescript-eslint/dist/configs/strict-type-checked.d.ts.map new file mode 100644 index 0000000000..edd17fb7f1 --- /dev/null +++ b/node_modules/typescript-eslint/dist/configs/strict-type-checked.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"strict-type-checked.d.ts","sourceRoot":"","sources":["../../src/configs/strict-type-checked.ts"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,oCAAoC,CAAC;AAKrE;;;GAGG;iCAEO,UAAU,CAAC,MAAM,UACjB,UAAU,CAAC,MAAM,KACxB,UAAU,CAAC,WAAW;AAHzB,wBA8GE"} \ No newline at end of file diff --git a/node_modules/typescript-eslint/dist/configs/strict-type-checked.js b/node_modules/typescript-eslint/dist/configs/strict-type-checked.js new file mode 100644 index 0000000000..cb0b9ecf8a --- /dev/null +++ b/node_modules/typescript-eslint/dist/configs/strict-type-checked.js @@ -0,0 +1,126 @@ +"use strict"; +// THIS CODE WAS AUTOMATICALLY GENERATED +// DO NOT EDIT THIS CODE BY HAND +// SEE https://typescript-eslint.io/users/configs +// +// For developers working in the typescript-eslint monorepo: +// You can regenerate it using `yarn generate:configs` +var __importDefault = (this && this.__importDefault) || function (mod) { + return (mod && mod.__esModule) ? mod : { "default": mod }; +}; +Object.defineProperty(exports, "__esModule", { value: true }); +const base_1 = __importDefault(require("./base")); +const eslint_recommended_1 = __importDefault(require("./eslint-recommended")); +/** + * Contains all of `recommended`, `recommended-type-checked`, and `strict`, along with additional strict rules that require type information. + * @see {@link https://typescript-eslint.io/users/configs#strict-type-checked} + */ +exports.default = (plugin, parser) => [ + (0, base_1.default)(plugin, parser), + (0, eslint_recommended_1.default)(plugin, parser), + { + name: 'typescript-eslint/strict-type-checked', + rules: { + '@typescript-eslint/await-thenable': 'error', + '@typescript-eslint/ban-ts-comment': [ + 'error', + { minimumDescriptionLength: 10 }, + ], + 'no-array-constructor': 'off', + '@typescript-eslint/no-array-constructor': 'error', + '@typescript-eslint/no-array-delete': 'error', + '@typescript-eslint/no-base-to-string': 'error', + '@typescript-eslint/no-confusing-void-expression': 'error', + '@typescript-eslint/no-deprecated': 'error', + '@typescript-eslint/no-duplicate-enum-values': 'error', + '@typescript-eslint/no-duplicate-type-constituents': 'error', + '@typescript-eslint/no-dynamic-delete': 'error', + '@typescript-eslint/no-empty-object-type': 'error', + '@typescript-eslint/no-explicit-any': 'error', + '@typescript-eslint/no-extra-non-null-assertion': 'error', + '@typescript-eslint/no-extraneous-class': 'error', + '@typescript-eslint/no-floating-promises': 'error', + '@typescript-eslint/no-for-in-array': 'error', + 'no-implied-eval': 'off', + '@typescript-eslint/no-implied-eval': 'error', + '@typescript-eslint/no-invalid-void-type': 'error', + '@typescript-eslint/no-meaningless-void-operator': 'error', + '@typescript-eslint/no-misused-new': 'error', + '@typescript-eslint/no-misused-promises': 'error', + '@typescript-eslint/no-mixed-enums': 'error', + '@typescript-eslint/no-namespace': 'error', + '@typescript-eslint/no-non-null-asserted-nullish-coalescing': 'error', + '@typescript-eslint/no-non-null-asserted-optional-chain': 'error', + '@typescript-eslint/no-non-null-assertion': 'error', + '@typescript-eslint/no-redundant-type-constituents': 'error', + '@typescript-eslint/no-require-imports': 'error', + '@typescript-eslint/no-this-alias': 'error', + '@typescript-eslint/no-unnecessary-boolean-literal-compare': 'error', + '@typescript-eslint/no-unnecessary-condition': 'error', + '@typescript-eslint/no-unnecessary-template-expression': 'error', + '@typescript-eslint/no-unnecessary-type-arguments': 'error', + '@typescript-eslint/no-unnecessary-type-assertion': 'error', + '@typescript-eslint/no-unnecessary-type-constraint': 'error', + '@typescript-eslint/no-unnecessary-type-parameters': 'error', + '@typescript-eslint/no-unsafe-argument': 'error', + '@typescript-eslint/no-unsafe-assignment': 'error', + '@typescript-eslint/no-unsafe-call': 'error', + '@typescript-eslint/no-unsafe-declaration-merging': 'error', + '@typescript-eslint/no-unsafe-enum-comparison': 'error', + '@typescript-eslint/no-unsafe-function-type': 'error', + '@typescript-eslint/no-unsafe-member-access': 'error', + '@typescript-eslint/no-unsafe-return': 'error', + '@typescript-eslint/no-unsafe-unary-minus': 'error', + 'no-unused-expressions': 'off', + '@typescript-eslint/no-unused-expressions': 'error', + 'no-unused-vars': 'off', + '@typescript-eslint/no-unused-vars': 'error', + 'no-useless-constructor': 'off', + '@typescript-eslint/no-useless-constructor': 'error', + '@typescript-eslint/no-wrapper-object-types': 'error', + 'no-throw-literal': 'off', + '@typescript-eslint/only-throw-error': 'error', + '@typescript-eslint/prefer-as-const': 'error', + '@typescript-eslint/prefer-literal-enum-member': 'error', + '@typescript-eslint/prefer-namespace-keyword': 'error', + 'prefer-promise-reject-errors': 'off', + '@typescript-eslint/prefer-promise-reject-errors': 'error', + '@typescript-eslint/prefer-reduce-type-parameter': 'error', + '@typescript-eslint/prefer-return-this-type': 'error', + '@typescript-eslint/related-getter-setter-pairs': 'error', + 'require-await': 'off', + '@typescript-eslint/require-await': 'error', + '@typescript-eslint/restrict-plus-operands': [ + 'error', + { + allowAny: false, + allowBoolean: false, + allowNullish: false, + allowNumberAndString: false, + allowRegExp: false, + }, + ], + '@typescript-eslint/restrict-template-expressions': [ + 'error', + { + allowAny: false, + allowBoolean: false, + allowNullish: false, + allowNumber: false, + allowRegExp: false, + allowNever: false, + }, + ], + 'no-return-await': 'off', + '@typescript-eslint/return-await': [ + 'error', + 'error-handling-correctness-only', + ], + '@typescript-eslint/triple-slash-reference': 'error', + '@typescript-eslint/unbound-method': 'error', + '@typescript-eslint/unified-signatures': 'error', + '@typescript-eslint/use-unknown-in-catch-callback-variable': 'error', + }, + }, +]; +//# sourceMappingURL=strict-type-checked.js.map \ No newline at end of file diff --git a/node_modules/typescript-eslint/dist/configs/strict-type-checked.js.map b/node_modules/typescript-eslint/dist/configs/strict-type-checked.js.map new file mode 100644 index 0000000000..b3631b18bd --- /dev/null +++ b/node_modules/typescript-eslint/dist/configs/strict-type-checked.js.map @@ -0,0 +1 @@ +{"version":3,"file":"strict-type-checked.js","sourceRoot":"","sources":["../../src/configs/strict-type-checked.ts"],"names":[],"mappings":";AAAA,wCAAwC;AACxC,gCAAgC;AAChC,iDAAiD;AACjD,EAAE;AACF,4DAA4D;AAC5D,sDAAsD;;;;;AAItD,kDAAgC;AAChC,8EAA2D;AAE3D;;;GAGG;AACH,kBAAe,CACb,MAAyB,EACzB,MAAyB,EACD,EAAE,CAAC;IAC3B,IAAA,cAAU,EAAC,MAAM,EAAE,MAAM,CAAC;IAC1B,IAAA,4BAAuB,EAAC,MAAM,EAAE,MAAM,CAAC;IACvC;QACE,IAAI,EAAE,uCAAuC;QAC7C,KAAK,EAAE;YACL,mCAAmC,EAAE,OAAO;YAC5C,mCAAmC,EAAE;gBACnC,OAAO;gBACP,EAAE,wBAAwB,EAAE,EAAE,EAAE;aACjC;YACD,sBAAsB,EAAE,KAAK;YAC7B,yCAAyC,EAAE,OAAO;YAClD,oCAAoC,EAAE,OAAO;YAC7C,sCAAsC,EAAE,OAAO;YAC/C,iDAAiD,EAAE,OAAO;YAC1D,kCAAkC,EAAE,OAAO;YAC3C,6CAA6C,EAAE,OAAO;YACtD,mDAAmD,EAAE,OAAO;YAC5D,sCAAsC,EAAE,OAAO;YAC/C,yCAAyC,EAAE,OAAO;YAClD,oCAAoC,EAAE,OAAO;YAC7C,gDAAgD,EAAE,OAAO;YACzD,wCAAwC,EAAE,OAAO;YACjD,yCAAyC,EAAE,OAAO;YAClD,oCAAoC,EAAE,OAAO;YAC7C,iBAAiB,EAAE,KAAK;YACxB,oCAAoC,EAAE,OAAO;YAC7C,yCAAyC,EAAE,OAAO;YAClD,iDAAiD,EAAE,OAAO;YAC1D,mCAAmC,EAAE,OAAO;YAC5C,wCAAwC,EAAE,OAAO;YACjD,mCAAmC,EAAE,OAAO;YAC5C,iCAAiC,EAAE,OAAO;YAC1C,4DAA4D,EAAE,OAAO;YACrE,wDAAwD,EAAE,OAAO;YACjE,0CAA0C,EAAE,OAAO;YACnD,mDAAmD,EAAE,OAAO;YAC5D,uCAAuC,EAAE,OAAO;YAChD,kCAAkC,EAAE,OAAO;YAC3C,2DAA2D,EAAE,OAAO;YACpE,6CAA6C,EAAE,OAAO;YACtD,uDAAuD,EAAE,OAAO;YAChE,kDAAkD,EAAE,OAAO;YAC3D,kDAAkD,EAAE,OAAO;YAC3D,mDAAmD,EAAE,OAAO;YAC5D,mDAAmD,EAAE,OAAO;YAC5D,uCAAuC,EAAE,OAAO;YAChD,yCAAyC,EAAE,OAAO;YAClD,mCAAmC,EAAE,OAAO;YAC5C,kDAAkD,EAAE,OAAO;YAC3D,8CAA8C,EAAE,OAAO;YACvD,4CAA4C,EAAE,OAAO;YACrD,4CAA4C,EAAE,OAAO;YACrD,qCAAqC,EAAE,OAAO;YAC9C,0CAA0C,EAAE,OAAO;YACnD,uBAAuB,EAAE,KAAK;YAC9B,0CAA0C,EAAE,OAAO;YACnD,gBAAgB,EAAE,KAAK;YACvB,mCAAmC,EAAE,OAAO;YAC5C,wBAAwB,EAAE,KAAK;YAC/B,2CAA2C,EAAE,OAAO;YACpD,4CAA4C,EAAE,OAAO;YACrD,kBAAkB,EAAE,KAAK;YACzB,qCAAqC,EAAE,OAAO;YAC9C,oCAAoC,EAAE,OAAO;YAC7C,+CAA+C,EAAE,OAAO;YACxD,6CAA6C,EAAE,OAAO;YACtD,8BAA8B,EAAE,KAAK;YACrC,iDAAiD,EAAE,OAAO;YAC1D,iDAAiD,EAAE,OAAO;YAC1D,4CAA4C,EAAE,OAAO;YACrD,gDAAgD,EAAE,OAAO;YACzD,eAAe,EAAE,KAAK;YACtB,kCAAkC,EAAE,OAAO;YAC3C,2CAA2C,EAAE;gBAC3C,OAAO;gBACP;oBACE,QAAQ,EAAE,KAAK;oBACf,YAAY,EAAE,KAAK;oBACnB,YAAY,EAAE,KAAK;oBACnB,oBAAoB,EAAE,KAAK;oBAC3B,WAAW,EAAE,KAAK;iBACnB;aACF;YACD,kDAAkD,EAAE;gBAClD,OAAO;gBACP;oBACE,QAAQ,EAAE,KAAK;oBACf,YAAY,EAAE,KAAK;oBACnB,YAAY,EAAE,KAAK;oBACnB,WAAW,EAAE,KAAK;oBAClB,WAAW,EAAE,KAAK;oBAClB,UAAU,EAAE,KAAK;iBAClB;aACF;YACD,iBAAiB,EAAE,KAAK;YACxB,iCAAiC,EAAE;gBACjC,OAAO;gBACP,iCAAiC;aAClC;YACD,2CAA2C,EAAE,OAAO;YACpD,mCAAmC,EAAE,OAAO;YAC5C,uCAAuC,EAAE,OAAO;YAChD,2DAA2D,EAAE,OAAO;SACrE;KACF;CACF,CAAC"} \ No newline at end of file diff --git a/node_modules/typescript-eslint/dist/configs/strict.d.ts b/node_modules/typescript-eslint/dist/configs/strict.d.ts new file mode 100644 index 0000000000..e4fc5d4e4f --- /dev/null +++ b/node_modules/typescript-eslint/dist/configs/strict.d.ts @@ -0,0 +1,8 @@ +import type { FlatConfig } from '@typescript-eslint/utils/ts-eslint'; +/** + * Contains all of `recommended`, as well as additional strict rules that can also catch bugs. + * @see {@link https://typescript-eslint.io/users/configs#strict} + */ +declare const _default: (plugin: FlatConfig.Plugin, parser: FlatConfig.Parser) => FlatConfig.ConfigArray; +export default _default; +//# sourceMappingURL=strict.d.ts.map \ No newline at end of file diff --git a/node_modules/typescript-eslint/dist/configs/strict.d.ts.map b/node_modules/typescript-eslint/dist/configs/strict.d.ts.map new file mode 100644 index 0000000000..0b51a3f4ca --- /dev/null +++ b/node_modules/typescript-eslint/dist/configs/strict.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"strict.d.ts","sourceRoot":"","sources":["../../src/configs/strict.ts"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,oCAAoC,CAAC;AAKrE;;;GAGG;iCAEO,UAAU,CAAC,MAAM,UACjB,UAAU,CAAC,MAAM,KACxB,UAAU,CAAC,WAAW;AAHzB,wBA8CE"} \ No newline at end of file diff --git a/node_modules/typescript-eslint/dist/configs/strict.js b/node_modules/typescript-eslint/dist/configs/strict.js new file mode 100644 index 0000000000..f8e15aa7dc --- /dev/null +++ b/node_modules/typescript-eslint/dist/configs/strict.js @@ -0,0 +1,62 @@ +"use strict"; +// THIS CODE WAS AUTOMATICALLY GENERATED +// DO NOT EDIT THIS CODE BY HAND +// SEE https://typescript-eslint.io/users/configs +// +// For developers working in the typescript-eslint monorepo: +// You can regenerate it using `yarn generate:configs` +var __importDefault = (this && this.__importDefault) || function (mod) { + return (mod && mod.__esModule) ? mod : { "default": mod }; +}; +Object.defineProperty(exports, "__esModule", { value: true }); +const base_1 = __importDefault(require("./base")); +const eslint_recommended_1 = __importDefault(require("./eslint-recommended")); +/** + * Contains all of `recommended`, as well as additional strict rules that can also catch bugs. + * @see {@link https://typescript-eslint.io/users/configs#strict} + */ +exports.default = (plugin, parser) => [ + (0, base_1.default)(plugin, parser), + (0, eslint_recommended_1.default)(plugin, parser), + { + name: 'typescript-eslint/strict', + rules: { + '@typescript-eslint/ban-ts-comment': [ + 'error', + { minimumDescriptionLength: 10 }, + ], + 'no-array-constructor': 'off', + '@typescript-eslint/no-array-constructor': 'error', + '@typescript-eslint/no-duplicate-enum-values': 'error', + '@typescript-eslint/no-dynamic-delete': 'error', + '@typescript-eslint/no-empty-object-type': 'error', + '@typescript-eslint/no-explicit-any': 'error', + '@typescript-eslint/no-extra-non-null-assertion': 'error', + '@typescript-eslint/no-extraneous-class': 'error', + '@typescript-eslint/no-invalid-void-type': 'error', + '@typescript-eslint/no-misused-new': 'error', + '@typescript-eslint/no-namespace': 'error', + '@typescript-eslint/no-non-null-asserted-nullish-coalescing': 'error', + '@typescript-eslint/no-non-null-asserted-optional-chain': 'error', + '@typescript-eslint/no-non-null-assertion': 'error', + '@typescript-eslint/no-require-imports': 'error', + '@typescript-eslint/no-this-alias': 'error', + '@typescript-eslint/no-unnecessary-type-constraint': 'error', + '@typescript-eslint/no-unsafe-declaration-merging': 'error', + '@typescript-eslint/no-unsafe-function-type': 'error', + 'no-unused-expressions': 'off', + '@typescript-eslint/no-unused-expressions': 'error', + 'no-unused-vars': 'off', + '@typescript-eslint/no-unused-vars': 'error', + 'no-useless-constructor': 'off', + '@typescript-eslint/no-useless-constructor': 'error', + '@typescript-eslint/no-wrapper-object-types': 'error', + '@typescript-eslint/prefer-as-const': 'error', + '@typescript-eslint/prefer-literal-enum-member': 'error', + '@typescript-eslint/prefer-namespace-keyword': 'error', + '@typescript-eslint/triple-slash-reference': 'error', + '@typescript-eslint/unified-signatures': 'error', + }, + }, +]; +//# sourceMappingURL=strict.js.map \ No newline at end of file diff --git a/node_modules/typescript-eslint/dist/configs/strict.js.map b/node_modules/typescript-eslint/dist/configs/strict.js.map new file mode 100644 index 0000000000..55ecdb2741 --- /dev/null +++ b/node_modules/typescript-eslint/dist/configs/strict.js.map @@ -0,0 +1 @@ +{"version":3,"file":"strict.js","sourceRoot":"","sources":["../../src/configs/strict.ts"],"names":[],"mappings":";AAAA,wCAAwC;AACxC,gCAAgC;AAChC,iDAAiD;AACjD,EAAE;AACF,4DAA4D;AAC5D,sDAAsD;;;;;AAItD,kDAAgC;AAChC,8EAA2D;AAE3D;;;GAGG;AACH,kBAAe,CACb,MAAyB,EACzB,MAAyB,EACD,EAAE,CAAC;IAC3B,IAAA,cAAU,EAAC,MAAM,EAAE,MAAM,CAAC;IAC1B,IAAA,4BAAuB,EAAC,MAAM,EAAE,MAAM,CAAC;IACvC;QACE,IAAI,EAAE,0BAA0B;QAChC,KAAK,EAAE;YACL,mCAAmC,EAAE;gBACnC,OAAO;gBACP,EAAE,wBAAwB,EAAE,EAAE,EAAE;aACjC;YACD,sBAAsB,EAAE,KAAK;YAC7B,yCAAyC,EAAE,OAAO;YAClD,6CAA6C,EAAE,OAAO;YACtD,sCAAsC,EAAE,OAAO;YAC/C,yCAAyC,EAAE,OAAO;YAClD,oCAAoC,EAAE,OAAO;YAC7C,gDAAgD,EAAE,OAAO;YACzD,wCAAwC,EAAE,OAAO;YACjD,yCAAyC,EAAE,OAAO;YAClD,mCAAmC,EAAE,OAAO;YAC5C,iCAAiC,EAAE,OAAO;YAC1C,4DAA4D,EAAE,OAAO;YACrE,wDAAwD,EAAE,OAAO;YACjE,0CAA0C,EAAE,OAAO;YACnD,uCAAuC,EAAE,OAAO;YAChD,kCAAkC,EAAE,OAAO;YAC3C,mDAAmD,EAAE,OAAO;YAC5D,kDAAkD,EAAE,OAAO;YAC3D,4CAA4C,EAAE,OAAO;YACrD,uBAAuB,EAAE,KAAK;YAC9B,0CAA0C,EAAE,OAAO;YACnD,gBAAgB,EAAE,KAAK;YACvB,mCAAmC,EAAE,OAAO;YAC5C,wBAAwB,EAAE,KAAK;YAC/B,2CAA2C,EAAE,OAAO;YACpD,4CAA4C,EAAE,OAAO;YACrD,oCAAoC,EAAE,OAAO;YAC7C,+CAA+C,EAAE,OAAO;YACxD,6CAA6C,EAAE,OAAO;YACtD,2CAA2C,EAAE,OAAO;YACpD,uCAAuC,EAAE,OAAO;SACjD;KACF;CACF,CAAC"} \ No newline at end of file diff --git a/node_modules/typescript-eslint/dist/configs/stylistic-type-checked-only.d.ts b/node_modules/typescript-eslint/dist/configs/stylistic-type-checked-only.d.ts new file mode 100644 index 0000000000..220782c3a1 --- /dev/null +++ b/node_modules/typescript-eslint/dist/configs/stylistic-type-checked-only.d.ts @@ -0,0 +1,8 @@ +import type { FlatConfig } from '@typescript-eslint/utils/ts-eslint'; +/** + * A version of `stylistic` that only contains type-checked rules and disables of any corresponding core ESLint rules. + * @see {@link https://typescript-eslint.io/users/configs#stylistic-type-checked-only} + */ +declare const _default: (plugin: FlatConfig.Plugin, parser: FlatConfig.Parser) => FlatConfig.ConfigArray; +export default _default; +//# sourceMappingURL=stylistic-type-checked-only.d.ts.map \ No newline at end of file diff --git a/node_modules/typescript-eslint/dist/configs/stylistic-type-checked-only.d.ts.map b/node_modules/typescript-eslint/dist/configs/stylistic-type-checked-only.d.ts.map new file mode 100644 index 0000000000..977124e3fc --- /dev/null +++ b/node_modules/typescript-eslint/dist/configs/stylistic-type-checked-only.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"stylistic-type-checked-only.d.ts","sourceRoot":"","sources":["../../src/configs/stylistic-type-checked-only.ts"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,oCAAoC,CAAC;AAKrE;;;GAGG;iCAEO,UAAU,CAAC,MAAM,UACjB,UAAU,CAAC,MAAM,KACxB,UAAU,CAAC,WAAW;AAHzB,wBAoBE"} \ No newline at end of file diff --git a/node_modules/typescript-eslint/dist/configs/stylistic-type-checked-only.js b/node_modules/typescript-eslint/dist/configs/stylistic-type-checked-only.js new file mode 100644 index 0000000000..302f2eef88 --- /dev/null +++ b/node_modules/typescript-eslint/dist/configs/stylistic-type-checked-only.js @@ -0,0 +1,36 @@ +"use strict"; +// THIS CODE WAS AUTOMATICALLY GENERATED +// DO NOT EDIT THIS CODE BY HAND +// SEE https://typescript-eslint.io/users/configs +// +// For developers working in the typescript-eslint monorepo: +// You can regenerate it using `yarn generate:configs` +var __importDefault = (this && this.__importDefault) || function (mod) { + return (mod && mod.__esModule) ? mod : { "default": mod }; +}; +Object.defineProperty(exports, "__esModule", { value: true }); +const base_1 = __importDefault(require("./base")); +const eslint_recommended_1 = __importDefault(require("./eslint-recommended")); +/** + * A version of `stylistic` that only contains type-checked rules and disables of any corresponding core ESLint rules. + * @see {@link https://typescript-eslint.io/users/configs#stylistic-type-checked-only} + */ +exports.default = (plugin, parser) => [ + (0, base_1.default)(plugin, parser), + (0, eslint_recommended_1.default)(plugin, parser), + { + name: 'typescript-eslint/stylistic-type-checked-only', + rules: { + 'dot-notation': 'off', + '@typescript-eslint/dot-notation': 'error', + '@typescript-eslint/non-nullable-type-assertion-style': 'error', + '@typescript-eslint/prefer-find': 'error', + '@typescript-eslint/prefer-includes': 'error', + '@typescript-eslint/prefer-nullish-coalescing': 'error', + '@typescript-eslint/prefer-optional-chain': 'error', + '@typescript-eslint/prefer-regexp-exec': 'error', + '@typescript-eslint/prefer-string-starts-ends-with': 'error', + }, + }, +]; +//# sourceMappingURL=stylistic-type-checked-only.js.map \ No newline at end of file diff --git a/node_modules/typescript-eslint/dist/configs/stylistic-type-checked-only.js.map b/node_modules/typescript-eslint/dist/configs/stylistic-type-checked-only.js.map new file mode 100644 index 0000000000..361521e2da --- /dev/null +++ b/node_modules/typescript-eslint/dist/configs/stylistic-type-checked-only.js.map @@ -0,0 +1 @@ +{"version":3,"file":"stylistic-type-checked-only.js","sourceRoot":"","sources":["../../src/configs/stylistic-type-checked-only.ts"],"names":[],"mappings":";AAAA,wCAAwC;AACxC,gCAAgC;AAChC,iDAAiD;AACjD,EAAE;AACF,4DAA4D;AAC5D,sDAAsD;;;;;AAItD,kDAAgC;AAChC,8EAA2D;AAE3D;;;GAGG;AACH,kBAAe,CACb,MAAyB,EACzB,MAAyB,EACD,EAAE,CAAC;IAC3B,IAAA,cAAU,EAAC,MAAM,EAAE,MAAM,CAAC;IAC1B,IAAA,4BAAuB,EAAC,MAAM,EAAE,MAAM,CAAC;IACvC;QACE,IAAI,EAAE,+CAA+C;QACrD,KAAK,EAAE;YACL,cAAc,EAAE,KAAK;YACrB,iCAAiC,EAAE,OAAO;YAC1C,sDAAsD,EAAE,OAAO;YAC/D,gCAAgC,EAAE,OAAO;YACzC,oCAAoC,EAAE,OAAO;YAC7C,8CAA8C,EAAE,OAAO;YACvD,0CAA0C,EAAE,OAAO;YACnD,uCAAuC,EAAE,OAAO;YAChD,mDAAmD,EAAE,OAAO;SAC7D;KACF;CACF,CAAC"} \ No newline at end of file diff --git a/node_modules/typescript-eslint/dist/configs/stylistic-type-checked.d.ts b/node_modules/typescript-eslint/dist/configs/stylistic-type-checked.d.ts new file mode 100644 index 0000000000..0df5ad041d --- /dev/null +++ b/node_modules/typescript-eslint/dist/configs/stylistic-type-checked.d.ts @@ -0,0 +1,8 @@ +import type { FlatConfig } from '@typescript-eslint/utils/ts-eslint'; +/** + * Contains all of `stylistic`, along with additional stylistic rules that require type information. + * @see {@link https://typescript-eslint.io/users/configs#stylistic-type-checked} + */ +declare const _default: (plugin: FlatConfig.Plugin, parser: FlatConfig.Parser) => FlatConfig.ConfigArray; +export default _default; +//# sourceMappingURL=stylistic-type-checked.d.ts.map \ No newline at end of file diff --git a/node_modules/typescript-eslint/dist/configs/stylistic-type-checked.d.ts.map b/node_modules/typescript-eslint/dist/configs/stylistic-type-checked.d.ts.map new file mode 100644 index 0000000000..3674779c6a --- /dev/null +++ b/node_modules/typescript-eslint/dist/configs/stylistic-type-checked.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"stylistic-type-checked.d.ts","sourceRoot":"","sources":["../../src/configs/stylistic-type-checked.ts"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,oCAAoC,CAAC;AAKrE;;;GAGG;iCAEO,UAAU,CAAC,MAAM,UACjB,UAAU,CAAC,MAAM,KACxB,UAAU,CAAC,WAAW;AAHzB,wBAkCE"} \ No newline at end of file diff --git a/node_modules/typescript-eslint/dist/configs/stylistic-type-checked.js b/node_modules/typescript-eslint/dist/configs/stylistic-type-checked.js new file mode 100644 index 0000000000..e15d2d8565 --- /dev/null +++ b/node_modules/typescript-eslint/dist/configs/stylistic-type-checked.js @@ -0,0 +1,50 @@ +"use strict"; +// THIS CODE WAS AUTOMATICALLY GENERATED +// DO NOT EDIT THIS CODE BY HAND +// SEE https://typescript-eslint.io/users/configs +// +// For developers working in the typescript-eslint monorepo: +// You can regenerate it using `yarn generate:configs` +var __importDefault = (this && this.__importDefault) || function (mod) { + return (mod && mod.__esModule) ? mod : { "default": mod }; +}; +Object.defineProperty(exports, "__esModule", { value: true }); +const base_1 = __importDefault(require("./base")); +const eslint_recommended_1 = __importDefault(require("./eslint-recommended")); +/** + * Contains all of `stylistic`, along with additional stylistic rules that require type information. + * @see {@link https://typescript-eslint.io/users/configs#stylistic-type-checked} + */ +exports.default = (plugin, parser) => [ + (0, base_1.default)(plugin, parser), + (0, eslint_recommended_1.default)(plugin, parser), + { + name: 'typescript-eslint/stylistic-type-checked', + rules: { + '@typescript-eslint/adjacent-overload-signatures': 'error', + '@typescript-eslint/array-type': 'error', + '@typescript-eslint/ban-tslint-comment': 'error', + '@typescript-eslint/class-literal-property-style': 'error', + '@typescript-eslint/consistent-generic-constructors': 'error', + '@typescript-eslint/consistent-indexed-object-style': 'error', + '@typescript-eslint/consistent-type-assertions': 'error', + '@typescript-eslint/consistent-type-definitions': 'error', + 'dot-notation': 'off', + '@typescript-eslint/dot-notation': 'error', + '@typescript-eslint/no-confusing-non-null-assertion': 'error', + 'no-empty-function': 'off', + '@typescript-eslint/no-empty-function': 'error', + '@typescript-eslint/no-inferrable-types': 'error', + '@typescript-eslint/non-nullable-type-assertion-style': 'error', + '@typescript-eslint/prefer-find': 'error', + '@typescript-eslint/prefer-for-of': 'error', + '@typescript-eslint/prefer-function-type': 'error', + '@typescript-eslint/prefer-includes': 'error', + '@typescript-eslint/prefer-nullish-coalescing': 'error', + '@typescript-eslint/prefer-optional-chain': 'error', + '@typescript-eslint/prefer-regexp-exec': 'error', + '@typescript-eslint/prefer-string-starts-ends-with': 'error', + }, + }, +]; +//# sourceMappingURL=stylistic-type-checked.js.map \ No newline at end of file diff --git a/node_modules/typescript-eslint/dist/configs/stylistic-type-checked.js.map b/node_modules/typescript-eslint/dist/configs/stylistic-type-checked.js.map new file mode 100644 index 0000000000..ca2b7e2a59 --- /dev/null +++ b/node_modules/typescript-eslint/dist/configs/stylistic-type-checked.js.map @@ -0,0 +1 @@ +{"version":3,"file":"stylistic-type-checked.js","sourceRoot":"","sources":["../../src/configs/stylistic-type-checked.ts"],"names":[],"mappings":";AAAA,wCAAwC;AACxC,gCAAgC;AAChC,iDAAiD;AACjD,EAAE;AACF,4DAA4D;AAC5D,sDAAsD;;;;;AAItD,kDAAgC;AAChC,8EAA2D;AAE3D;;;GAGG;AACH,kBAAe,CACb,MAAyB,EACzB,MAAyB,EACD,EAAE,CAAC;IAC3B,IAAA,cAAU,EAAC,MAAM,EAAE,MAAM,CAAC;IAC1B,IAAA,4BAAuB,EAAC,MAAM,EAAE,MAAM,CAAC;IACvC;QACE,IAAI,EAAE,0CAA0C;QAChD,KAAK,EAAE;YACL,iDAAiD,EAAE,OAAO;YAC1D,+BAA+B,EAAE,OAAO;YACxC,uCAAuC,EAAE,OAAO;YAChD,iDAAiD,EAAE,OAAO;YAC1D,oDAAoD,EAAE,OAAO;YAC7D,oDAAoD,EAAE,OAAO;YAC7D,+CAA+C,EAAE,OAAO;YACxD,gDAAgD,EAAE,OAAO;YACzD,cAAc,EAAE,KAAK;YACrB,iCAAiC,EAAE,OAAO;YAC1C,oDAAoD,EAAE,OAAO;YAC7D,mBAAmB,EAAE,KAAK;YAC1B,sCAAsC,EAAE,OAAO;YAC/C,wCAAwC,EAAE,OAAO;YACjD,sDAAsD,EAAE,OAAO;YAC/D,gCAAgC,EAAE,OAAO;YACzC,kCAAkC,EAAE,OAAO;YAC3C,yCAAyC,EAAE,OAAO;YAClD,oCAAoC,EAAE,OAAO;YAC7C,8CAA8C,EAAE,OAAO;YACvD,0CAA0C,EAAE,OAAO;YACnD,uCAAuC,EAAE,OAAO;YAChD,mDAAmD,EAAE,OAAO;SAC7D;KACF;CACF,CAAC"} \ No newline at end of file diff --git a/node_modules/typescript-eslint/dist/configs/stylistic.d.ts b/node_modules/typescript-eslint/dist/configs/stylistic.d.ts new file mode 100644 index 0000000000..99730bf886 --- /dev/null +++ b/node_modules/typescript-eslint/dist/configs/stylistic.d.ts @@ -0,0 +1,8 @@ +import type { FlatConfig } from '@typescript-eslint/utils/ts-eslint'; +/** + * Rules considered to be best practice for modern TypeScript codebases, but that do not impact program logic. + * @see {@link https://typescript-eslint.io/users/configs#stylistic} + */ +declare const _default: (plugin: FlatConfig.Plugin, parser: FlatConfig.Parser) => FlatConfig.ConfigArray; +export default _default; +//# sourceMappingURL=stylistic.d.ts.map \ No newline at end of file diff --git a/node_modules/typescript-eslint/dist/configs/stylistic.d.ts.map b/node_modules/typescript-eslint/dist/configs/stylistic.d.ts.map new file mode 100644 index 0000000000..04691e6440 --- /dev/null +++ b/node_modules/typescript-eslint/dist/configs/stylistic.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"stylistic.d.ts","sourceRoot":"","sources":["../../src/configs/stylistic.ts"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,oCAAoC,CAAC;AAKrE;;;GAGG;iCAEO,UAAU,CAAC,MAAM,UACjB,UAAU,CAAC,MAAM,KACxB,UAAU,CAAC,WAAW;AAHzB,wBAyBE"} \ No newline at end of file diff --git a/node_modules/typescript-eslint/dist/configs/stylistic.js b/node_modules/typescript-eslint/dist/configs/stylistic.js new file mode 100644 index 0000000000..deb6708c9b --- /dev/null +++ b/node_modules/typescript-eslint/dist/configs/stylistic.js @@ -0,0 +1,41 @@ +"use strict"; +// THIS CODE WAS AUTOMATICALLY GENERATED +// DO NOT EDIT THIS CODE BY HAND +// SEE https://typescript-eslint.io/users/configs +// +// For developers working in the typescript-eslint monorepo: +// You can regenerate it using `yarn generate:configs` +var __importDefault = (this && this.__importDefault) || function (mod) { + return (mod && mod.__esModule) ? mod : { "default": mod }; +}; +Object.defineProperty(exports, "__esModule", { value: true }); +const base_1 = __importDefault(require("./base")); +const eslint_recommended_1 = __importDefault(require("./eslint-recommended")); +/** + * Rules considered to be best practice for modern TypeScript codebases, but that do not impact program logic. + * @see {@link https://typescript-eslint.io/users/configs#stylistic} + */ +exports.default = (plugin, parser) => [ + (0, base_1.default)(plugin, parser), + (0, eslint_recommended_1.default)(plugin, parser), + { + name: 'typescript-eslint/stylistic', + rules: { + '@typescript-eslint/adjacent-overload-signatures': 'error', + '@typescript-eslint/array-type': 'error', + '@typescript-eslint/ban-tslint-comment': 'error', + '@typescript-eslint/class-literal-property-style': 'error', + '@typescript-eslint/consistent-generic-constructors': 'error', + '@typescript-eslint/consistent-indexed-object-style': 'error', + '@typescript-eslint/consistent-type-assertions': 'error', + '@typescript-eslint/consistent-type-definitions': 'error', + '@typescript-eslint/no-confusing-non-null-assertion': 'error', + 'no-empty-function': 'off', + '@typescript-eslint/no-empty-function': 'error', + '@typescript-eslint/no-inferrable-types': 'error', + '@typescript-eslint/prefer-for-of': 'error', + '@typescript-eslint/prefer-function-type': 'error', + }, + }, +]; +//# sourceMappingURL=stylistic.js.map \ No newline at end of file diff --git a/node_modules/typescript-eslint/dist/configs/stylistic.js.map b/node_modules/typescript-eslint/dist/configs/stylistic.js.map new file mode 100644 index 0000000000..34ea0d10ee --- /dev/null +++ b/node_modules/typescript-eslint/dist/configs/stylistic.js.map @@ -0,0 +1 @@ +{"version":3,"file":"stylistic.js","sourceRoot":"","sources":["../../src/configs/stylistic.ts"],"names":[],"mappings":";AAAA,wCAAwC;AACxC,gCAAgC;AAChC,iDAAiD;AACjD,EAAE;AACF,4DAA4D;AAC5D,sDAAsD;;;;;AAItD,kDAAgC;AAChC,8EAA2D;AAE3D;;;GAGG;AACH,kBAAe,CACb,MAAyB,EACzB,MAAyB,EACD,EAAE,CAAC;IAC3B,IAAA,cAAU,EAAC,MAAM,EAAE,MAAM,CAAC;IAC1B,IAAA,4BAAuB,EAAC,MAAM,EAAE,MAAM,CAAC;IACvC;QACE,IAAI,EAAE,6BAA6B;QACnC,KAAK,EAAE;YACL,iDAAiD,EAAE,OAAO;YAC1D,+BAA+B,EAAE,OAAO;YACxC,uCAAuC,EAAE,OAAO;YAChD,iDAAiD,EAAE,OAAO;YAC1D,oDAAoD,EAAE,OAAO;YAC7D,oDAAoD,EAAE,OAAO;YAC7D,+CAA+C,EAAE,OAAO;YACxD,gDAAgD,EAAE,OAAO;YACzD,oDAAoD,EAAE,OAAO;YAC7D,mBAAmB,EAAE,KAAK;YAC1B,sCAAsC,EAAE,OAAO;YAC/C,wCAAwC,EAAE,OAAO;YACjD,kCAAkC,EAAE,OAAO;YAC3C,yCAAyC,EAAE,OAAO;SACnD;KACF;CACF,CAAC"} \ No newline at end of file diff --git a/node_modules/typescript-eslint/dist/index.d.ts b/node_modules/typescript-eslint/dist/index.d.ts new file mode 100644 index 0000000000..52de710799 --- /dev/null +++ b/node_modules/typescript-eslint/dist/index.d.ts @@ -0,0 +1,157 @@ +import type { TSESLint } from '@typescript-eslint/utils'; +import { config } from './config-helper'; +declare const parser: TSESLint.FlatConfig.Parser; +declare const plugin: TSESLint.FlatConfig.Plugin; +declare const configs: { + /** + * Enables each the rules provided as a part of typescript-eslint. Note that many rules are not applicable in all codebases, or are meant to be configured. + * @see {@link https://typescript-eslint.io/users/configs#all} + */ + all: TSESLint.FlatConfig.ConfigArray; + /** + * A minimal ruleset that sets only the required parser and plugin options needed to run typescript-eslint. + * We don't recommend using this directly; instead, extend from an earlier recommended rule. + * @see {@link https://typescript-eslint.io/users/configs#base} + */ + base: TSESLint.FlatConfig.Config; + /** + * A utility ruleset that will disable type-aware linting and all type-aware rules available in our project. + * @see {@link https://typescript-eslint.io/users/configs#disable-type-checked} + */ + disableTypeChecked: TSESLint.FlatConfig.Config; + /** + * This is a compatibility ruleset that: + * - disables rules from eslint:recommended which are already handled by TypeScript. + * - enables rules that make sense due to TS's typechecking / transpilation. + * @see {@link https://typescript-eslint.io/users/configs/#eslint-recommended} + */ + eslintRecommended: TSESLint.FlatConfig.Config; + /** + * Recommended rules for code correctness that you can drop in without additional configuration. + * @see {@link https://typescript-eslint.io/users/configs#recommended} + */ + recommended: TSESLint.FlatConfig.ConfigArray; + /** + * Contains all of `recommended` along with additional recommended rules that require type information. + * @see {@link https://typescript-eslint.io/users/configs#recommended-type-checked} + */ + recommendedTypeChecked: TSESLint.FlatConfig.ConfigArray; + /** + * A version of `recommended` that only contains type-checked rules and disables of any corresponding core ESLint rules. + * @see {@link https://typescript-eslint.io/users/configs#recommended-type-checked-only} + */ + recommendedTypeCheckedOnly: TSESLint.FlatConfig.ConfigArray; + /** + * Contains all of `recommended`, as well as additional strict rules that can also catch bugs. + * @see {@link https://typescript-eslint.io/users/configs#strict} + */ + strict: TSESLint.FlatConfig.ConfigArray; + /** + * Contains all of `recommended`, `recommended-type-checked`, and `strict`, along with additional strict rules that require type information. + * @see {@link https://typescript-eslint.io/users/configs#strict-type-checked} + */ + strictTypeChecked: TSESLint.FlatConfig.ConfigArray; + /** + * A version of `strict` that only contains type-checked rules and disables of any corresponding core ESLint rules. + * @see {@link https://typescript-eslint.io/users/configs#strict-type-checked-only} + */ + strictTypeCheckedOnly: TSESLint.FlatConfig.ConfigArray; + /** + * Rules considered to be best practice for modern TypeScript codebases, but that do not impact program logic. + * @see {@link https://typescript-eslint.io/users/configs#stylistic} + */ + stylistic: TSESLint.FlatConfig.ConfigArray; + /** + * Contains all of `stylistic`, along with additional stylistic rules that require type information. + * @see {@link https://typescript-eslint.io/users/configs#stylistic-type-checked} + */ + stylisticTypeChecked: TSESLint.FlatConfig.ConfigArray; + /** + * A version of `stylistic` that only contains type-checked rules and disables of any corresponding core ESLint rules. + * @see {@link https://typescript-eslint.io/users/configs#stylistic-type-checked-only} + */ + stylisticTypeCheckedOnly: TSESLint.FlatConfig.ConfigArray; +}; +export type Config = TSESLint.FlatConfig.ConfigFile; +declare const _default: { + config: typeof config; + configs: { + /** + * Enables each the rules provided as a part of typescript-eslint. Note that many rules are not applicable in all codebases, or are meant to be configured. + * @see {@link https://typescript-eslint.io/users/configs#all} + */ + all: TSESLint.FlatConfig.ConfigArray; + /** + * A minimal ruleset that sets only the required parser and plugin options needed to run typescript-eslint. + * We don't recommend using this directly; instead, extend from an earlier recommended rule. + * @see {@link https://typescript-eslint.io/users/configs#base} + */ + base: TSESLint.FlatConfig.Config; + /** + * A utility ruleset that will disable type-aware linting and all type-aware rules available in our project. + * @see {@link https://typescript-eslint.io/users/configs#disable-type-checked} + */ + disableTypeChecked: TSESLint.FlatConfig.Config; + /** + * This is a compatibility ruleset that: + * - disables rules from eslint:recommended which are already handled by TypeScript. + * - enables rules that make sense due to TS's typechecking / transpilation. + * @see {@link https://typescript-eslint.io/users/configs/#eslint-recommended} + */ + eslintRecommended: TSESLint.FlatConfig.Config; + /** + * Recommended rules for code correctness that you can drop in without additional configuration. + * @see {@link https://typescript-eslint.io/users/configs#recommended} + */ + recommended: TSESLint.FlatConfig.ConfigArray; + /** + * Contains all of `recommended` along with additional recommended rules that require type information. + * @see {@link https://typescript-eslint.io/users/configs#recommended-type-checked} + */ + recommendedTypeChecked: TSESLint.FlatConfig.ConfigArray; + /** + * A version of `recommended` that only contains type-checked rules and disables of any corresponding core ESLint rules. + * @see {@link https://typescript-eslint.io/users/configs#recommended-type-checked-only} + */ + recommendedTypeCheckedOnly: TSESLint.FlatConfig.ConfigArray; + /** + * Contains all of `recommended`, as well as additional strict rules that can also catch bugs. + * @see {@link https://typescript-eslint.io/users/configs#strict} + */ + strict: TSESLint.FlatConfig.ConfigArray; + /** + * Contains all of `recommended`, `recommended-type-checked`, and `strict`, along with additional strict rules that require type information. + * @see {@link https://typescript-eslint.io/users/configs#strict-type-checked} + */ + strictTypeChecked: TSESLint.FlatConfig.ConfigArray; + /** + * A version of `strict` that only contains type-checked rules and disables of any corresponding core ESLint rules. + * @see {@link https://typescript-eslint.io/users/configs#strict-type-checked-only} + */ + strictTypeCheckedOnly: TSESLint.FlatConfig.ConfigArray; + /** + * Rules considered to be best practice for modern TypeScript codebases, but that do not impact program logic. + * @see {@link https://typescript-eslint.io/users/configs#stylistic} + */ + stylistic: TSESLint.FlatConfig.ConfigArray; + /** + * Contains all of `stylistic`, along with additional stylistic rules that require type information. + * @see {@link https://typescript-eslint.io/users/configs#stylistic-type-checked} + */ + stylisticTypeChecked: TSESLint.FlatConfig.ConfigArray; + /** + * A version of `stylistic` that only contains type-checked rules and disables of any corresponding core ESLint rules. + * @see {@link https://typescript-eslint.io/users/configs#stylistic-type-checked-only} + */ + stylisticTypeCheckedOnly: TSESLint.FlatConfig.ConfigArray; + }; + parser: { + meta?: { [K in keyof TSESLint.Parser.ParserMeta]?: TSESLint.Parser.ParserMeta[K] | undefined; }; + parseForESLint(text: string, options?: unknown): { [k in keyof TSESLint.Parser.ParseResult]: unknown; }; + }; + plugin: TSESLint.FlatConfig.Plugin; +}; +export default _default; +export { configs, parser, plugin }; +export { config, type ConfigWithExtends } from './config-helper'; +//# sourceMappingURL=index.d.ts.map \ No newline at end of file diff --git a/node_modules/typescript-eslint/dist/index.d.ts.map b/node_modules/typescript-eslint/dist/index.d.ts.map new file mode 100644 index 0000000000..bfd21a3722 --- /dev/null +++ b/node_modules/typescript-eslint/dist/index.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AAKzD,OAAO,EAAE,MAAM,EAAE,MAAM,iBAAiB,CAAC;AAezC,QAAA,MAAM,MAAM,EAAE,QAAQ,CAAC,UAAU,CAAC,MAGjC,CAAC;AAyBF,QAAA,MAAM,MAAM,EAAE,QAAQ,CAAC,UAAU,CAAC,MAGjC,CAAC;AAEF,QAAA,MAAM,OAAO;IACX;;;OAGG;;IAGH;;;;OAIG;;IAGH;;;OAGG;;IAGH;;;;;OAKG;;IAGH;;;OAGG;;IAGH;;;OAGG;;IAGH;;;OAGG;;IAGH;;;OAGG;;IAGH;;;OAGG;;IAGH;;;OAGG;;IAGH;;;OAGG;;IAGH;;;OAGG;;IAGH;;;OAGG;;CAEJ,CAAC;AAEF,MAAM,MAAM,MAAM,GAAG,QAAQ,CAAC,UAAU,CAAC,UAAU,CAAC;;;;QAlFlD;;;WAGG;;QAGH;;;;WAIG;;QAGH;;;WAGG;;QAGH;;;;;WAKG;;QAGH;;;WAGG;;QAGH;;;WAGG;;QAGH;;;WAGG;;QAGH;;;WAGG;;QAGH;;;WAGG;;QAGH;;;WAGG;;QAGH;;;WAGG;;QAGH;;;WAGG;;QAGH;;;WAGG;;;;wDApHI,CAAC;;;;;AAmKV,wBAKE;AACF,OAAO,EAAE,OAAO,EAAE,MAAM,EAAE,MAAM,EAAE,CAAC;AAEnC,OAAO,EAAE,MAAM,EAAE,KAAK,iBAAiB,EAAE,MAAM,iBAAiB,CAAC"} \ No newline at end of file diff --git a/node_modules/typescript-eslint/dist/index.js b/node_modules/typescript-eslint/dist/index.js new file mode 100644 index 0000000000..8b2d329384 --- /dev/null +++ b/node_modules/typescript-eslint/dist/index.js @@ -0,0 +1,206 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +var __importDefault = (this && this.__importDefault) || function (mod) { + return (mod && mod.__esModule) ? mod : { "default": mod }; +}; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.config = exports.plugin = exports.parser = exports.configs = void 0; +const eslint_plugin_1 = __importDefault(require("@typescript-eslint/eslint-plugin")); +const parserBase = __importStar(require("@typescript-eslint/parser")); +const config_helper_1 = require("./config-helper"); +const all_1 = __importDefault(require("./configs/all")); +const base_1 = __importDefault(require("./configs/base")); +const disable_type_checked_1 = __importDefault(require("./configs/disable-type-checked")); +const eslint_recommended_1 = __importDefault(require("./configs/eslint-recommended")); +const recommended_1 = __importDefault(require("./configs/recommended")); +const recommended_type_checked_1 = __importDefault(require("./configs/recommended-type-checked")); +const recommended_type_checked_only_1 = __importDefault(require("./configs/recommended-type-checked-only")); +const strict_1 = __importDefault(require("./configs/strict")); +const strict_type_checked_1 = __importDefault(require("./configs/strict-type-checked")); +const strict_type_checked_only_1 = __importDefault(require("./configs/strict-type-checked-only")); +const stylistic_1 = __importDefault(require("./configs/stylistic")); +const stylistic_type_checked_1 = __importDefault(require("./configs/stylistic-type-checked")); +const stylistic_type_checked_only_1 = __importDefault(require("./configs/stylistic-type-checked-only")); +const parser = { + meta: parserBase.meta, + parseForESLint: parserBase.parseForESLint, +}; +exports.parser = parser; +/* +we could build a plugin object here without the `configs` key - but if we do +that then we create a situation in which +``` +require('typescript-eslint').plugin !== require('@typescript-eslint/eslint-plugin') +``` + +This is bad because it means that 3rd party configs would be required to use +`typescript-eslint` or else they would break a user's config if the user either +used `tseslint.configs.recomended` et al or +``` +{ + plugins: { + '@typescript-eslint': tseslint.plugin, + }, +} +``` + +This might be something we could consider okay (eg 3rd party flat configs must +use our new package); however legacy configs consumed via `@eslint/eslintrc` +would never be able to satisfy this constraint and thus users would be blocked +from using them. +*/ +const plugin = eslint_plugin_1.default; +exports.plugin = plugin; +const configs = { + /** + * Enables each the rules provided as a part of typescript-eslint. Note that many rules are not applicable in all codebases, or are meant to be configured. + * @see {@link https://typescript-eslint.io/users/configs#all} + */ + all: (0, all_1.default)(plugin, parser), + /** + * A minimal ruleset that sets only the required parser and plugin options needed to run typescript-eslint. + * We don't recommend using this directly; instead, extend from an earlier recommended rule. + * @see {@link https://typescript-eslint.io/users/configs#base} + */ + base: (0, base_1.default)(plugin, parser), + /** + * A utility ruleset that will disable type-aware linting and all type-aware rules available in our project. + * @see {@link https://typescript-eslint.io/users/configs#disable-type-checked} + */ + disableTypeChecked: (0, disable_type_checked_1.default)(plugin, parser), + /** + * This is a compatibility ruleset that: + * - disables rules from eslint:recommended which are already handled by TypeScript. + * - enables rules that make sense due to TS's typechecking / transpilation. + * @see {@link https://typescript-eslint.io/users/configs/#eslint-recommended} + */ + eslintRecommended: (0, eslint_recommended_1.default)(plugin, parser), + /** + * Recommended rules for code correctness that you can drop in without additional configuration. + * @see {@link https://typescript-eslint.io/users/configs#recommended} + */ + recommended: (0, recommended_1.default)(plugin, parser), + /** + * Contains all of `recommended` along with additional recommended rules that require type information. + * @see {@link https://typescript-eslint.io/users/configs#recommended-type-checked} + */ + recommendedTypeChecked: (0, recommended_type_checked_1.default)(plugin, parser), + /** + * A version of `recommended` that only contains type-checked rules and disables of any corresponding core ESLint rules. + * @see {@link https://typescript-eslint.io/users/configs#recommended-type-checked-only} + */ + recommendedTypeCheckedOnly: (0, recommended_type_checked_only_1.default)(plugin, parser), + /** + * Contains all of `recommended`, as well as additional strict rules that can also catch bugs. + * @see {@link https://typescript-eslint.io/users/configs#strict} + */ + strict: (0, strict_1.default)(plugin, parser), + /** + * Contains all of `recommended`, `recommended-type-checked`, and `strict`, along with additional strict rules that require type information. + * @see {@link https://typescript-eslint.io/users/configs#strict-type-checked} + */ + strictTypeChecked: (0, strict_type_checked_1.default)(plugin, parser), + /** + * A version of `strict` that only contains type-checked rules and disables of any corresponding core ESLint rules. + * @see {@link https://typescript-eslint.io/users/configs#strict-type-checked-only} + */ + strictTypeCheckedOnly: (0, strict_type_checked_only_1.default)(plugin, parser), + /** + * Rules considered to be best practice for modern TypeScript codebases, but that do not impact program logic. + * @see {@link https://typescript-eslint.io/users/configs#stylistic} + */ + stylistic: (0, stylistic_1.default)(plugin, parser), + /** + * Contains all of `stylistic`, along with additional stylistic rules that require type information. + * @see {@link https://typescript-eslint.io/users/configs#stylistic-type-checked} + */ + stylisticTypeChecked: (0, stylistic_type_checked_1.default)(plugin, parser), + /** + * A version of `stylistic` that only contains type-checked rules and disables of any corresponding core ESLint rules. + * @see {@link https://typescript-eslint.io/users/configs#stylistic-type-checked-only} + */ + stylisticTypeCheckedOnly: (0, stylistic_type_checked_only_1.default)(plugin, parser), +}; +exports.configs = configs; +/* +we do both a default and named exports to allow people to use this package from +both CJS and ESM in very natural ways. + +EG it means that all of the following are valid: + +```ts +import tseslint from 'typescript-eslint'; + +export default tseslint.config( + ...tseslint.configs.recommended, +); +``` +```ts +import { config, parser, plugin } from 'typescript-eslint'; + +export default config( + { + languageOptions: { parser } + plugins: { ts: plugin }, + } +); +``` +```ts +const tseslint = require('typescript-eslint'); + +module.exports = tseslint.config( + ...tseslint.configs.recommended, +); +``` +```ts +const { config, parser, plugin } = require('typescript-eslint'); + +module.exports = config( + { + languageOptions: { parser } + plugins: { ts: plugin }, + } +); +``` +*/ +exports.default = { + config: config_helper_1.config, + configs, + parser, + plugin, +}; +var config_helper_2 = require("./config-helper"); +Object.defineProperty(exports, "config", { enumerable: true, get: function () { return config_helper_2.config; } }); +//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/node_modules/typescript-eslint/dist/index.js.map b/node_modules/typescript-eslint/dist/index.js.map new file mode 100644 index 0000000000..f641f44d29 --- /dev/null +++ b/node_modules/typescript-eslint/dist/index.js.map @@ -0,0 +1 @@ +{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAGA,qFAA0D;AAC1D,sEAAwD;AAExD,mDAAyC;AACzC,wDAAsC;AACtC,0DAAwC;AACxC,0FAAsE;AACtE,sFAAmE;AACnE,wEAAsD;AACtD,kGAA8E;AAC9E,4GAAuF;AACvF,8DAA4C;AAC5C,wFAAoE;AACpE,kGAA6E;AAC7E,oEAAkD;AAClD,8FAA0E;AAC1E,wGAAmF;AAEnF,MAAM,MAAM,GAA+B;IACzC,IAAI,EAAE,UAAU,CAAC,IAAI;IACrB,cAAc,EAAE,UAAU,CAAC,cAAc;CAC1C,CAAC;AAkKgB,wBAAM;AAhKxB;;;;;;;;;;;;;;;;;;;;;;EAsBE;AACF,MAAM,MAAM,GAA+B,uBAG1C,CAAC;AAsIwB,wBAAM;AApIhC,MAAM,OAAO,GAAG;IACd;;;OAGG;IACH,GAAG,EAAE,IAAA,aAAS,EAAC,MAAM,EAAE,MAAM,CAAC;IAE9B;;;;OAIG;IACH,IAAI,EAAE,IAAA,cAAU,EAAC,MAAM,EAAE,MAAM,CAAC;IAEhC;;;OAGG;IACH,kBAAkB,EAAE,IAAA,8BAAwB,EAAC,MAAM,EAAE,MAAM,CAAC;IAE5D;;;;;OAKG;IACH,iBAAiB,EAAE,IAAA,4BAAuB,EAAC,MAAM,EAAE,MAAM,CAAC;IAE1D;;;OAGG;IACH,WAAW,EAAE,IAAA,qBAAiB,EAAC,MAAM,EAAE,MAAM,CAAC;IAE9C;;;OAGG;IACH,sBAAsB,EAAE,IAAA,kCAA4B,EAAC,MAAM,EAAE,MAAM,CAAC;IAEpE;;;OAGG;IACH,0BAA0B,EAAE,IAAA,uCAAgC,EAAC,MAAM,EAAE,MAAM,CAAC;IAE5E;;;OAGG;IACH,MAAM,EAAE,IAAA,gBAAY,EAAC,MAAM,EAAE,MAAM,CAAC;IAEpC;;;OAGG;IACH,iBAAiB,EAAE,IAAA,6BAAuB,EAAC,MAAM,EAAE,MAAM,CAAC;IAE1D;;;OAGG;IACH,qBAAqB,EAAE,IAAA,kCAA2B,EAAC,MAAM,EAAE,MAAM,CAAC;IAElE;;;OAGG;IACH,SAAS,EAAE,IAAA,mBAAe,EAAC,MAAM,EAAE,MAAM,CAAC;IAE1C;;;OAGG;IACH,oBAAoB,EAAE,IAAA,gCAA0B,EAAC,MAAM,EAAE,MAAM,CAAC;IAEhE;;;OAGG;IACH,wBAAwB,EAAE,IAAA,qCAA8B,EAAC,MAAM,EAAE,MAAM,CAAC;CACzE,CAAC;AAmDO,0BAAO;AA/ChB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAwCE;AACF,kBAAe;IACb,MAAM,EAAN,sBAAM;IACN,OAAO;IACP,MAAM;IACN,MAAM;CACP,CAAC;AAGF,iDAAiE;AAAxD,uGAAA,MAAM,OAAA"} \ No newline at end of file diff --git a/node_modules/typescript-eslint/package.json b/node_modules/typescript-eslint/package.json new file mode 100644 index 0000000000..65c40521fb --- /dev/null +++ b/node_modules/typescript-eslint/package.json @@ -0,0 +1,86 @@ +{ + "name": "typescript-eslint", + "version": "8.16.0", + "description": "Tooling which enables you to use TypeScript with ESLint", + "files": [ + "dist", + "_ts4.3", + "README.md", + "LICENSE" + ], + "type": "commonjs", + "exports": { + ".": { + "types": "./dist/index.d.ts", + "default": "./dist/index.js" + }, + "./package.json": "./package.json" + }, + "types": "./dist/index.d.ts", + "engines": { + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + }, + "repository": { + "type": "git", + "url": "https://github.com/typescript-eslint/typescript-eslint.git", + "directory": "packages/typescript-eslint" + }, + "bugs": { + "url": "https://github.com/typescript-eslint/typescript-eslint/issues" + }, + "homepage": "https://typescript-eslint.io/packages/typescript-eslint", + "license": "MIT", + "keywords": [ + "ast", + "ecmascript", + "javascript", + "typescript", + "parser", + "syntax", + "eslint", + "eslintplugin", + "eslint-plugin" + ], + "scripts": { + "build": "tsc -b tsconfig.build.json", + "postbuild": "downlevel-dts dist _ts4.3/dist --to=4.3", + "clean": "tsc -b tsconfig.build.json --clean", + "postclean": "rimraf dist && rimraf _ts4.3 && 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 --passWithNoTests", + "typecheck": "tsc --noEmit" + }, + "dependencies": { + "@typescript-eslint/eslint-plugin": "8.16.0", + "@typescript-eslint/parser": "8.16.0", + "@typescript-eslint/utils": "8.16.0" + }, + "peerDependencies": { + "eslint": "^8.57.0 || ^9.0.0" + }, + "devDependencies": { + "@jest/types": "29.6.3", + "downlevel-dts": "*", + "jest": "29.7.0", + "prettier": "^3.2.5", + "rimraf": "*", + "typescript": "*" + }, + "peerDependenciesMeta": { + "typescript": { + "optional": true + } + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/typescript-eslint" + }, + "typesVersions": { + "<4.7": { + "*": [ + "_ts4.3/*" + ] + } + } +} diff --git a/node_modules/typescript/lib/_tsc.js b/node_modules/typescript/lib/_tsc.js new file mode 100644 index 0000000000..3bcdbf7ae5 --- /dev/null +++ b/node_modules/typescript/lib/_tsc.js @@ -0,0 +1,132379 @@ +/*! ***************************************************************************** +Copyright (c) Microsoft Corporation. All rights reserved. +Licensed under the Apache License, Version 2.0 (the "License"); you may not use +this file except in compliance with the License. You may obtain a copy of the +License at http://www.apache.org/licenses/LICENSE-2.0 + +THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED +WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE, +MERCHANTABLITY OR NON-INFRINGEMENT. + +See the Apache Version 2.0 License for specific language governing permissions +and limitations under the License. +***************************************************************************** */ + + +"use strict"; + +// src/compiler/corePublic.ts +var versionMajorMinor = "5.7"; +var version = "5.7.2"; + +// src/compiler/core.ts +var emptyArray = []; +var emptyMap = /* @__PURE__ */ new Map(); +function length(array) { + return array !== void 0 ? array.length : 0; +} +function forEach(array, callback) { + if (array !== void 0) { + for (let i = 0; i < array.length; i++) { + const result = callback(array[i], i); + if (result) { + return result; + } + } + } + return void 0; +} +function firstDefined(array, callback) { + if (array === void 0) { + return void 0; + } + for (let i = 0; i < array.length; i++) { + const result = callback(array[i], i); + if (result !== void 0) { + return result; + } + } + return void 0; +} +function firstDefinedIterator(iter, callback) { + for (const value of iter) { + const result = callback(value); + if (result !== void 0) { + return result; + } + } + return void 0; +} +function reduceLeftIterator(iterator, f, initial) { + let result = initial; + if (iterator) { + let pos = 0; + for (const value of iterator) { + result = f(result, value, pos); + pos++; + } + } + return result; +} +function zipWith(arrayA, arrayB, callback) { + const result = []; + Debug.assertEqual(arrayA.length, arrayB.length); + for (let i = 0; i < arrayA.length; i++) { + result.push(callback(arrayA[i], arrayB[i], i)); + } + return result; +} +function every(array, callback) { + if (array !== void 0) { + for (let i = 0; i < array.length; i++) { + if (!callback(array[i], i)) { + return false; + } + } + } + return true; +} +function find(array, predicate, startIndex) { + if (array === void 0) return void 0; + for (let i = startIndex ?? 0; i < array.length; i++) { + const value = array[i]; + if (predicate(value, i)) { + return value; + } + } + return void 0; +} +function findLast(array, predicate, startIndex) { + if (array === void 0) return void 0; + for (let i = startIndex ?? array.length - 1; i >= 0; i--) { + const value = array[i]; + if (predicate(value, i)) { + return value; + } + } + return void 0; +} +function findIndex(array, predicate, startIndex) { + if (array === void 0) return -1; + for (let i = startIndex ?? 0; i < array.length; i++) { + if (predicate(array[i], i)) { + return i; + } + } + return -1; +} +function findLastIndex(array, predicate, startIndex) { + if (array === void 0) return -1; + for (let i = startIndex ?? array.length - 1; i >= 0; i--) { + if (predicate(array[i], i)) { + return i; + } + } + return -1; +} +function contains(array, value, equalityComparer = equateValues) { + if (array !== void 0) { + for (let i = 0; i < array.length; i++) { + if (equalityComparer(array[i], value)) { + return true; + } + } + } + return false; +} +function indexOfAnyCharCode(text, charCodes, start) { + for (let i = start ?? 0; i < text.length; i++) { + if (contains(charCodes, text.charCodeAt(i))) { + return i; + } + } + return -1; +} +function countWhere(array, predicate) { + let count = 0; + if (array !== void 0) { + for (let i = 0; i < array.length; i++) { + const v = array[i]; + if (predicate(v, i)) { + count++; + } + } + } + return count; +} +function filter(array, f) { + if (array !== void 0) { + const len = array.length; + let i = 0; + while (i < len && f(array[i])) i++; + if (i < len) { + const result = array.slice(0, i); + i++; + while (i < len) { + const item = array[i]; + if (f(item)) { + result.push(item); + } + i++; + } + return result; + } + } + return array; +} +function filterMutate(array, f) { + let outIndex = 0; + for (let i = 0; i < array.length; i++) { + if (f(array[i], i, array)) { + array[outIndex] = array[i]; + outIndex++; + } + } + array.length = outIndex; +} +function clear(array) { + array.length = 0; +} +function map(array, f) { + let result; + if (array !== void 0) { + result = []; + for (let i = 0; i < array.length; i++) { + result.push(f(array[i], i)); + } + } + return result; +} +function* mapIterator(iter, mapFn) { + for (const x of iter) { + yield mapFn(x); + } +} +function sameMap(array, f) { + if (array !== void 0) { + for (let i = 0; i < array.length; i++) { + const item = array[i]; + const mapped = f(item, i); + if (item !== mapped) { + const result = array.slice(0, i); + result.push(mapped); + for (i++; i < array.length; i++) { + result.push(f(array[i], i)); + } + return result; + } + } + } + return array; +} +function flatten(array) { + const result = []; + for (let i = 0; i < array.length; i++) { + const v = array[i]; + if (v) { + if (isArray(v)) { + addRange(result, v); + } else { + result.push(v); + } + } + } + return result; +} +function flatMap(array, mapfn) { + let result; + if (array !== void 0) { + for (let i = 0; i < array.length; i++) { + const v = mapfn(array[i], i); + if (v) { + if (isArray(v)) { + result = addRange(result, v); + } else { + result = append(result, v); + } + } + } + } + return result ?? emptyArray; +} +function flatMapToMutable(array, mapfn) { + const result = []; + if (array !== void 0) { + for (let i = 0; i < array.length; i++) { + const v = mapfn(array[i], i); + if (v) { + if (isArray(v)) { + addRange(result, v); + } else { + result.push(v); + } + } + } + } + return result; +} +function sameFlatMap(array, mapfn) { + let result; + if (array !== void 0) { + for (let i = 0; i < array.length; i++) { + const item = array[i]; + const mapped = mapfn(item, i); + if (result || item !== mapped || isArray(mapped)) { + if (!result) { + result = array.slice(0, i); + } + if (isArray(mapped)) { + addRange(result, mapped); + } else { + result.push(mapped); + } + } + } + } + return result ?? array; +} +function mapDefined(array, mapFn) { + const result = []; + if (array !== void 0) { + for (let i = 0; i < array.length; i++) { + const mapped = mapFn(array[i], i); + if (mapped !== void 0) { + result.push(mapped); + } + } + } + return result; +} +function* mapDefinedIterator(iter, mapFn) { + for (const x of iter) { + const value = mapFn(x); + if (value !== void 0) { + yield value; + } + } +} +function getOrUpdate(map2, key, callback) { + if (map2.has(key)) { + return map2.get(key); + } + const value = callback(); + map2.set(key, value); + return value; +} +function tryAddToSet(set, value) { + if (!set.has(value)) { + set.add(value); + return true; + } + return false; +} +function spanMap(array, keyfn, mapfn) { + let result; + if (array !== void 0) { + result = []; + const len = array.length; + let previousKey; + let key; + let start = 0; + let pos = 0; + while (start < len) { + while (pos < len) { + const value = array[pos]; + key = keyfn(value, pos); + if (pos === 0) { + previousKey = key; + } else if (key !== previousKey) { + break; + } + pos++; + } + if (start < pos) { + const v = mapfn(array.slice(start, pos), previousKey, start, pos); + if (v) { + result.push(v); + } + start = pos; + } + previousKey = key; + pos++; + } + } + return result; +} +function some(array, predicate) { + if (array !== void 0) { + if (predicate !== void 0) { + for (let i = 0; i < array.length; i++) { + if (predicate(array[i])) { + return true; + } + } + } else { + return array.length > 0; + } + } + return false; +} +function getRangesWhere(arr, pred, cb) { + let start; + for (let i = 0; i < arr.length; i++) { + if (pred(arr[i])) { + start = start === void 0 ? i : start; + } else { + if (start !== void 0) { + cb(start, i); + start = void 0; + } + } + } + if (start !== void 0) cb(start, arr.length); +} +function concatenate(array1, array2) { + if (array2 === void 0 || array2.length === 0) return array1; + if (array1 === void 0 || array1.length === 0) return array2; + return [...array1, ...array2]; +} +function selectIndex(_, i) { + return i; +} +function indicesOf(array) { + return array.map(selectIndex); +} +function deduplicateRelational(array, equalityComparer, comparer) { + const indices = indicesOf(array); + stableSortIndices(array, indices, comparer); + let last2 = array[indices[0]]; + const deduplicated = [indices[0]]; + for (let i = 1; i < indices.length; i++) { + const index = indices[i]; + const item = array[index]; + if (!equalityComparer(last2, item)) { + deduplicated.push(index); + last2 = item; + } + } + deduplicated.sort(); + return deduplicated.map((i) => array[i]); +} +function deduplicateEquality(array, equalityComparer) { + const result = []; + for (let i = 0; i < array.length; i++) { + pushIfUnique(result, array[i], equalityComparer); + } + return result; +} +function deduplicate(array, equalityComparer, comparer) { + return array.length === 0 ? [] : array.length === 1 ? array.slice() : comparer ? deduplicateRelational(array, equalityComparer, comparer) : deduplicateEquality(array, equalityComparer); +} +function deduplicateSorted(array, comparer) { + if (array.length === 0) return emptyArray; + let last2 = array[0]; + const deduplicated = [last2]; + for (let i = 1; i < array.length; i++) { + const next = array[i]; + switch (comparer(next, last2)) { + // equality comparison + case true: + // relational comparison + // falls through + case 0 /* EqualTo */: + continue; + case -1 /* LessThan */: + return Debug.fail("Array is unsorted."); + } + deduplicated.push(last2 = next); + } + return deduplicated; +} +function insertSorted(array, insert, compare, equalityComparer, allowDuplicates) { + if (array.length === 0) { + array.push(insert); + return true; + } + const insertIndex = binarySearch(array, insert, identity, compare); + if (insertIndex < 0) { + if (equalityComparer && !allowDuplicates) { + const idx = ~insertIndex; + if (idx > 0 && equalityComparer(insert, array[idx - 1])) { + return false; + } + if (idx < array.length && equalityComparer(insert, array[idx])) { + array.splice(idx, 1, insert); + return true; + } + } + array.splice(~insertIndex, 0, insert); + return true; + } + if (allowDuplicates) { + array.splice(insertIndex, 0, insert); + return true; + } + return false; +} +function sortAndDeduplicate(array, comparer, equalityComparer) { + return deduplicateSorted(toSorted(array, comparer), equalityComparer ?? comparer ?? compareStringsCaseSensitive); +} +function arrayIsEqualTo(array1, array2, equalityComparer = equateValues) { + if (array1 === void 0 || array2 === void 0) { + return array1 === array2; + } + if (array1.length !== array2.length) { + return false; + } + for (let i = 0; i < array1.length; i++) { + if (!equalityComparer(array1[i], array2[i], i)) { + return false; + } + } + return true; +} +function compact(array) { + let result; + if (array !== void 0) { + for (let i = 0; i < array.length; i++) { + const v = array[i]; + if (result ?? !v) { + result ?? (result = array.slice(0, i)); + if (v) { + result.push(v); + } + } + } + } + return result ?? array; +} +function relativeComplement(arrayA, arrayB, comparer) { + if (!arrayB || !arrayA || arrayB.length === 0 || arrayA.length === 0) return arrayB; + const result = []; + loopB: + for (let offsetA = 0, offsetB = 0; offsetB < arrayB.length; offsetB++) { + if (offsetB > 0) { + Debug.assertGreaterThanOrEqual(comparer(arrayB[offsetB], arrayB[offsetB - 1]), 0 /* EqualTo */); + } + loopA: + for (const startA = offsetA; offsetA < arrayA.length; offsetA++) { + if (offsetA > startA) { + Debug.assertGreaterThanOrEqual(comparer(arrayA[offsetA], arrayA[offsetA - 1]), 0 /* EqualTo */); + } + switch (comparer(arrayB[offsetB], arrayA[offsetA])) { + case -1 /* LessThan */: + result.push(arrayB[offsetB]); + continue loopB; + case 0 /* EqualTo */: + continue loopB; + case 1 /* GreaterThan */: + continue loopA; + } + } + } + return result; +} +function append(to, value) { + if (value === void 0) return to; + if (to === void 0) return [value]; + to.push(value); + return to; +} +function toOffset(array, offset) { + return offset < 0 ? array.length + offset : offset; +} +function addRange(to, from, start, end) { + if (from === void 0 || from.length === 0) return to; + if (to === void 0) return from.slice(start, end); + start = start === void 0 ? 0 : toOffset(from, start); + end = end === void 0 ? from.length : toOffset(from, end); + for (let i = start; i < end && i < from.length; i++) { + if (from[i] !== void 0) { + to.push(from[i]); + } + } + return to; +} +function pushIfUnique(array, toAdd, equalityComparer) { + if (contains(array, toAdd, equalityComparer)) { + return false; + } else { + array.push(toAdd); + return true; + } +} +function appendIfUnique(array, toAdd, equalityComparer) { + if (array !== void 0) { + pushIfUnique(array, toAdd, equalityComparer); + return array; + } else { + return [toAdd]; + } +} +function stableSortIndices(array, indices, comparer) { + indices.sort((x, y) => comparer(array[x], array[y]) || compareValues(x, y)); +} +function toSorted(array, comparer) { + return array.length === 0 ? emptyArray : array.slice().sort(comparer); +} +function rangeEquals(array1, array2, pos, end) { + while (pos < end) { + if (array1[pos] !== array2[pos]) { + return false; + } + pos++; + } + return true; +} +var elementAt = !!Array.prototype.at ? (array, offset) => array == null ? void 0 : array.at(offset) : (array, offset) => { + if (array !== void 0) { + offset = toOffset(array, offset); + if (offset < array.length) { + return array[offset]; + } + } + return void 0; +}; +function firstOrUndefined(array) { + return array === void 0 || array.length === 0 ? void 0 : array[0]; +} +function firstOrUndefinedIterator(iter) { + if (iter !== void 0) { + for (const value of iter) { + return value; + } + } + return void 0; +} +function first(array) { + Debug.assert(array.length !== 0); + return array[0]; +} +function firstIterator(iter) { + for (const value of iter) { + return value; + } + Debug.fail("iterator is empty"); +} +function lastOrUndefined(array) { + return array === void 0 || array.length === 0 ? void 0 : array[array.length - 1]; +} +function last(array) { + Debug.assert(array.length !== 0); + return array[array.length - 1]; +} +function singleOrUndefined(array) { + return array !== void 0 && array.length === 1 ? array[0] : void 0; +} +function singleOrMany(array) { + return array !== void 0 && array.length === 1 ? array[0] : array; +} +function replaceElement(array, index, value) { + const result = array.slice(0); + result[index] = value; + return result; +} +function binarySearch(array, value, keySelector, keyComparer, offset) { + return binarySearchKey(array, keySelector(value), keySelector, keyComparer, offset); +} +function binarySearchKey(array, key, keySelector, keyComparer, offset) { + if (!some(array)) { + return -1; + } + let low = offset ?? 0; + let high = array.length - 1; + while (low <= high) { + const middle = low + (high - low >> 1); + const midKey = keySelector(array[middle], middle); + switch (keyComparer(midKey, key)) { + case -1 /* LessThan */: + low = middle + 1; + break; + case 0 /* EqualTo */: + return middle; + case 1 /* GreaterThan */: + high = middle - 1; + break; + } + } + return ~low; +} +function reduceLeft(array, f, initial, start, count) { + if (array && array.length > 0) { + const size = array.length; + if (size > 0) { + let pos = start === void 0 || start < 0 ? 0 : start; + const end = count === void 0 || pos + count > size - 1 ? size - 1 : pos + count; + let result; + if (arguments.length <= 2) { + result = array[pos]; + pos++; + } else { + result = initial; + } + while (pos <= end) { + result = f(result, array[pos], pos); + pos++; + } + return result; + } + } + return initial; +} +var hasOwnProperty = Object.prototype.hasOwnProperty; +function hasProperty(map2, key) { + return hasOwnProperty.call(map2, key); +} +function getOwnKeys(map2) { + const keys = []; + for (const key in map2) { + if (hasOwnProperty.call(map2, key)) { + keys.push(key); + } + } + return keys; +} +function getOwnValues(collection) { + const values = []; + for (const key in collection) { + if (hasOwnProperty.call(collection, key)) { + values.push(collection[key]); + } + } + return values; +} +function arrayOf(count, f) { + const result = new Array(count); + for (let i = 0; i < count; i++) { + result[i] = f(i); + } + return result; +} +function arrayFrom(iterator, map2) { + const result = []; + for (const value of iterator) { + result.push(map2 ? map2(value) : value); + } + return result; +} +function assign(t, ...args) { + for (const arg of args) { + if (arg === void 0) continue; + for (const p in arg) { + if (hasProperty(arg, p)) { + t[p] = arg[p]; + } + } + } + return t; +} +function equalOwnProperties(left, right, equalityComparer = equateValues) { + if (left === right) return true; + if (!left || !right) return false; + for (const key in left) { + if (hasOwnProperty.call(left, key)) { + if (!hasOwnProperty.call(right, key)) return false; + if (!equalityComparer(left[key], right[key])) return false; + } + } + for (const key in right) { + if (hasOwnProperty.call(right, key)) { + if (!hasOwnProperty.call(left, key)) return false; + } + } + return true; +} +function arrayToMap(array, makeKey, makeValue = identity) { + const result = /* @__PURE__ */ new Map(); + for (let i = 0; i < array.length; i++) { + const value = array[i]; + const key = makeKey(value); + if (key !== void 0) result.set(key, makeValue(value)); + } + return result; +} +function arrayToMultiMap(values, makeKey, makeValue = identity) { + const result = createMultiMap(); + for (let i = 0; i < values.length; i++) { + const value = values[i]; + result.add(makeKey(value), makeValue(value)); + } + return result; +} +function group(values, getGroupId, resultSelector = identity) { + return arrayFrom(arrayToMultiMap(values, getGroupId).values(), resultSelector); +} +function groupBy(values, keySelector) { + const result = {}; + if (values !== void 0) { + for (let i = 0; i < values.length; i++) { + const value = values[i]; + const key = `${keySelector(value)}`; + const array = result[key] ?? (result[key] = []); + array.push(value); + } + } + return result; +} +function extend(first2, second) { + const result = {}; + for (const id in second) { + if (hasOwnProperty.call(second, id)) { + result[id] = second[id]; + } + } + for (const id in first2) { + if (hasOwnProperty.call(first2, id)) { + result[id] = first2[id]; + } + } + return result; +} +function copyProperties(first2, second) { + for (const id in second) { + if (hasOwnProperty.call(second, id)) { + first2[id] = second[id]; + } + } +} +function maybeBind(obj, fn) { + return fn == null ? void 0 : fn.bind(obj); +} +function createMultiMap() { + const map2 = /* @__PURE__ */ new Map(); + map2.add = multiMapAdd; + map2.remove = multiMapRemove; + return map2; +} +function multiMapAdd(key, value) { + let values = this.get(key); + if (values !== void 0) { + values.push(value); + } else { + this.set(key, values = [value]); + } + return values; +} +function multiMapRemove(key, value) { + const values = this.get(key); + if (values !== void 0) { + unorderedRemoveItem(values, value); + if (!values.length) { + this.delete(key); + } + } +} +function createQueue(items) { + const elements = (items == null ? void 0 : items.slice()) ?? []; + let headIndex = 0; + function isEmpty() { + return headIndex === elements.length; + } + function enqueue(...items2) { + elements.push(...items2); + } + function dequeue() { + if (isEmpty()) { + throw new Error("Queue is empty"); + } + const result = elements[headIndex]; + elements[headIndex] = void 0; + headIndex++; + if (headIndex > 100 && headIndex > elements.length >> 1) { + const newLength = elements.length - headIndex; + elements.copyWithin( + /*target*/ + 0, + /*start*/ + headIndex + ); + elements.length = newLength; + headIndex = 0; + } + return result; + } + return { + enqueue, + dequeue, + isEmpty + }; +} +function isArray(value) { + return Array.isArray(value); +} +function toArray(value) { + return isArray(value) ? value : [value]; +} +function isString(text) { + return typeof text === "string"; +} +function isNumber(x) { + return typeof x === "number"; +} +function tryCast(value, test) { + return value !== void 0 && test(value) ? value : void 0; +} +function cast(value, test) { + if (value !== void 0 && test(value)) return value; + return Debug.fail(`Invalid cast. The supplied value ${value} did not pass the test '${Debug.getFunctionName(test)}'.`); +} +function noop(_) { +} +function returnFalse() { + return false; +} +function returnTrue() { + return true; +} +function returnUndefined() { + return void 0; +} +function identity(x) { + return x; +} +function toLowerCase(x) { + return x.toLowerCase(); +} +var fileNameLowerCaseRegExp = /[^\u0130\u0131\u00DFa-z0-9\\/:\-_. ]+/g; +function toFileNameLowerCase(x) { + return fileNameLowerCaseRegExp.test(x) ? x.replace(fileNameLowerCaseRegExp, toLowerCase) : x; +} +function notImplemented() { + throw new Error("Not implemented"); +} +function memoize(callback) { + let value; + return () => { + if (callback) { + value = callback(); + callback = void 0; + } + return value; + }; +} +function memoizeOne(callback) { + const map2 = /* @__PURE__ */ new Map(); + return (arg) => { + const key = `${typeof arg}:${arg}`; + let value = map2.get(key); + if (value === void 0 && !map2.has(key)) { + value = callback(arg); + map2.set(key, value); + } + return value; + }; +} +function equateValues(a, b) { + return a === b; +} +function equateStringsCaseInsensitive(a, b) { + return a === b || a !== void 0 && b !== void 0 && a.toUpperCase() === b.toUpperCase(); +} +function equateStringsCaseSensitive(a, b) { + return equateValues(a, b); +} +function compareComparableValues(a, b) { + return a === b ? 0 /* EqualTo */ : a === void 0 ? -1 /* LessThan */ : b === void 0 ? 1 /* GreaterThan */ : a < b ? -1 /* LessThan */ : 1 /* GreaterThan */; +} +function compareValues(a, b) { + return compareComparableValues(a, b); +} +function maxBy(arr, init, mapper) { + for (let i = 0; i < arr.length; i++) { + init = Math.max(init, mapper(arr[i])); + } + return init; +} +function min(items, compare) { + return reduceLeft(items, (x, y) => compare(x, y) === -1 /* LessThan */ ? x : y); +} +function compareStringsCaseInsensitive(a, b) { + if (a === b) return 0 /* EqualTo */; + if (a === void 0) return -1 /* LessThan */; + if (b === void 0) return 1 /* GreaterThan */; + a = a.toUpperCase(); + b = b.toUpperCase(); + return a < b ? -1 /* LessThan */ : a > b ? 1 /* GreaterThan */ : 0 /* EqualTo */; +} +function compareStringsCaseSensitive(a, b) { + return compareComparableValues(a, b); +} +function getStringComparer(ignoreCase) { + return ignoreCase ? compareStringsCaseInsensitive : compareStringsCaseSensitive; +} +var uiComparerCaseSensitive; +var uiLocale; +function setUILocale(value) { + if (uiLocale !== value) { + uiLocale = value; + uiComparerCaseSensitive = void 0; + } +} +function compareBooleans(a, b) { + return compareValues(a ? 1 : 0, b ? 1 : 0); +} +function getSpellingSuggestion(name, candidates, getName) { + const maximumLengthDifference = Math.max(2, Math.floor(name.length * 0.34)); + let bestDistance = Math.floor(name.length * 0.4) + 1; + let bestCandidate; + for (const candidate of candidates) { + const candidateName = getName(candidate); + if (candidateName !== void 0 && Math.abs(candidateName.length - name.length) <= maximumLengthDifference) { + if (candidateName === name) { + continue; + } + if (candidateName.length < 3 && candidateName.toLowerCase() !== name.toLowerCase()) { + continue; + } + const distance = levenshteinWithMax(name, candidateName, bestDistance - 0.1); + if (distance === void 0) { + continue; + } + Debug.assert(distance < bestDistance); + bestDistance = distance; + bestCandidate = candidate; + } + } + return bestCandidate; +} +function levenshteinWithMax(s1, s2, max) { + let previous = new Array(s2.length + 1); + let current = new Array(s2.length + 1); + const big = max + 0.01; + for (let i = 0; i <= s2.length; i++) { + previous[i] = i; + } + for (let i = 1; i <= s1.length; i++) { + const c1 = s1.charCodeAt(i - 1); + const minJ = Math.ceil(i > max ? i - max : 1); + const maxJ = Math.floor(s2.length > max + i ? max + i : s2.length); + current[0] = i; + let colMin = i; + for (let j = 1; j < minJ; j++) { + current[j] = big; + } + for (let j = minJ; j <= maxJ; j++) { + const substitutionDistance = s1[i - 1].toLowerCase() === s2[j - 1].toLowerCase() ? previous[j - 1] + 0.1 : previous[j - 1] + 2; + const dist = c1 === s2.charCodeAt(j - 1) ? previous[j - 1] : Math.min( + /*delete*/ + previous[j] + 1, + /*insert*/ + current[j - 1] + 1, + /*substitute*/ + substitutionDistance + ); + current[j] = dist; + colMin = Math.min(colMin, dist); + } + for (let j = maxJ + 1; j <= s2.length; j++) { + current[j] = big; + } + if (colMin > max) { + return void 0; + } + const temp = previous; + previous = current; + current = temp; + } + const res = previous[s2.length]; + return res > max ? void 0 : res; +} +function endsWith(str, suffix, ignoreCase) { + const expectedPos = str.length - suffix.length; + return expectedPos >= 0 && (ignoreCase ? equateStringsCaseInsensitive(str.slice(expectedPos), suffix) : str.indexOf(suffix, expectedPos) === expectedPos); +} +function removeSuffix(str, suffix) { + return endsWith(str, suffix) ? str.slice(0, str.length - suffix.length) : str; +} +function orderedRemoveItem(array, item) { + for (let i = 0; i < array.length; i++) { + if (array[i] === item) { + orderedRemoveItemAt(array, i); + return true; + } + } + return false; +} +function orderedRemoveItemAt(array, index) { + for (let i = index; i < array.length - 1; i++) { + array[i] = array[i + 1]; + } + array.pop(); +} +function unorderedRemoveItemAt(array, index) { + array[index] = array[array.length - 1]; + array.pop(); +} +function unorderedRemoveItem(array, item) { + return unorderedRemoveFirstItemWhere(array, (element) => element === item); +} +function unorderedRemoveFirstItemWhere(array, predicate) { + for (let i = 0; i < array.length; i++) { + if (predicate(array[i])) { + unorderedRemoveItemAt(array, i); + return true; + } + } + return false; +} +function createGetCanonicalFileName(useCaseSensitiveFileNames2) { + return useCaseSensitiveFileNames2 ? identity : toFileNameLowerCase; +} +function patternText({ prefix, suffix }) { + return `${prefix}*${suffix}`; +} +function matchedText(pattern, candidate) { + Debug.assert(isPatternMatch(pattern, candidate)); + return candidate.substring(pattern.prefix.length, candidate.length - pattern.suffix.length); +} +function findBestPatternMatch(values, getPattern, candidate) { + let matchedValue; + let longestMatchPrefixLength = -1; + for (let i = 0; i < values.length; i++) { + const v = values[i]; + const pattern = getPattern(v); + if (pattern.prefix.length > longestMatchPrefixLength && isPatternMatch(pattern, candidate)) { + longestMatchPrefixLength = pattern.prefix.length; + matchedValue = v; + } + } + return matchedValue; +} +function startsWith(str, prefix, ignoreCase) { + return ignoreCase ? equateStringsCaseInsensitive(str.slice(0, prefix.length), prefix) : str.lastIndexOf(prefix, 0) === 0; +} +function removePrefix(str, prefix) { + return startsWith(str, prefix) ? str.substr(prefix.length) : str; +} +function isPatternMatch({ prefix, suffix }, candidate) { + return candidate.length >= prefix.length + suffix.length && startsWith(candidate, prefix) && endsWith(candidate, suffix); +} +function and(f, g) { + return (arg) => f(arg) && g(arg); +} +function or(...fs) { + return (...args) => { + let lastResult; + for (const f of fs) { + lastResult = f(...args); + if (lastResult) { + return lastResult; + } + } + return lastResult; + }; +} +function not(fn) { + return (...args) => !fn(...args); +} +function assertType(_) { +} +function singleElementArray(t) { + return t === void 0 ? void 0 : [t]; +} +function enumerateInsertsAndDeletes(newItems, oldItems, comparer, inserted, deleted, unchanged) { + unchanged ?? (unchanged = noop); + let newIndex = 0; + let oldIndex = 0; + const newLen = newItems.length; + const oldLen = oldItems.length; + let hasChanges = false; + while (newIndex < newLen && oldIndex < oldLen) { + const newItem = newItems[newIndex]; + const oldItem = oldItems[oldIndex]; + const compareResult = comparer(newItem, oldItem); + if (compareResult === -1 /* LessThan */) { + inserted(newItem); + newIndex++; + hasChanges = true; + } else if (compareResult === 1 /* GreaterThan */) { + deleted(oldItem); + oldIndex++; + hasChanges = true; + } else { + unchanged(oldItem, newItem); + newIndex++; + oldIndex++; + } + } + while (newIndex < newLen) { + inserted(newItems[newIndex++]); + hasChanges = true; + } + while (oldIndex < oldLen) { + deleted(oldItems[oldIndex++]); + hasChanges = true; + } + return hasChanges; +} +function cartesianProduct(arrays) { + const result = []; + cartesianProductWorker( + arrays, + result, + /*outer*/ + void 0, + 0 + ); + return result; +} +function cartesianProductWorker(arrays, result, outer, index) { + for (const element of arrays[index]) { + let inner; + if (outer) { + inner = outer.slice(); + inner.push(element); + } else { + inner = [element]; + } + if (index === arrays.length - 1) { + result.push(inner); + } else { + cartesianProductWorker(arrays, result, inner, index + 1); + } + } +} +function takeWhile(array, predicate) { + if (array !== void 0) { + const len = array.length; + let index = 0; + while (index < len && predicate(array[index])) { + index++; + } + return array.slice(0, index); + } +} +function skipWhile(array, predicate) { + if (array !== void 0) { + const len = array.length; + let index = 0; + while (index < len && predicate(array[index])) { + index++; + } + return array.slice(index); + } +} +function isNodeLikeSystem() { + return typeof process !== "undefined" && !!process.nextTick && !process.browser && typeof require !== "undefined"; +} + +// src/compiler/debug.ts +var Debug; +((Debug2) => { + let currentAssertionLevel = 0 /* None */; + Debug2.currentLogLevel = 2 /* Warning */; + Debug2.isDebugging = false; + function shouldLog(level) { + return Debug2.currentLogLevel <= level; + } + Debug2.shouldLog = shouldLog; + function logMessage(level, s) { + if (Debug2.loggingHost && shouldLog(level)) { + Debug2.loggingHost.log(level, s); + } + } + function log(s) { + logMessage(3 /* Info */, s); + } + Debug2.log = log; + ((_log) => { + function error(s) { + logMessage(1 /* Error */, s); + } + _log.error = error; + function warn(s) { + logMessage(2 /* Warning */, s); + } + _log.warn = warn; + function log2(s) { + logMessage(3 /* Info */, s); + } + _log.log = log2; + function trace2(s) { + logMessage(4 /* Verbose */, s); + } + _log.trace = trace2; + })(log = Debug2.log || (Debug2.log = {})); + const assertionCache = {}; + function getAssertionLevel() { + return currentAssertionLevel; + } + Debug2.getAssertionLevel = getAssertionLevel; + function setAssertionLevel(level) { + const prevAssertionLevel = currentAssertionLevel; + currentAssertionLevel = level; + if (level > prevAssertionLevel) { + for (const key of getOwnKeys(assertionCache)) { + const cachedFunc = assertionCache[key]; + if (cachedFunc !== void 0 && Debug2[key] !== cachedFunc.assertion && level >= cachedFunc.level) { + Debug2[key] = cachedFunc; + assertionCache[key] = void 0; + } + } + } + } + Debug2.setAssertionLevel = setAssertionLevel; + function shouldAssert(level) { + return currentAssertionLevel >= level; + } + Debug2.shouldAssert = shouldAssert; + function shouldAssertFunction(level, name) { + if (!shouldAssert(level)) { + assertionCache[name] = { level, assertion: Debug2[name] }; + Debug2[name] = noop; + return false; + } + return true; + } + function fail(message, stackCrawlMark) { + debugger; + const e = new Error(message ? `Debug Failure. ${message}` : "Debug Failure."); + if (Error.captureStackTrace) { + Error.captureStackTrace(e, stackCrawlMark || fail); + } + throw e; + } + Debug2.fail = fail; + function failBadSyntaxKind(node, message, stackCrawlMark) { + return fail( + `${message || "Unexpected node."}\r +Node ${formatSyntaxKind(node.kind)} was unexpected.`, + stackCrawlMark || failBadSyntaxKind + ); + } + Debug2.failBadSyntaxKind = failBadSyntaxKind; + function assert(expression, message, verboseDebugInfo, stackCrawlMark) { + if (!expression) { + message = message ? `False expression: ${message}` : "False expression."; + if (verboseDebugInfo) { + message += "\r\nVerbose Debug Information: " + (typeof verboseDebugInfo === "string" ? verboseDebugInfo : verboseDebugInfo()); + } + fail(message, stackCrawlMark || assert); + } + } + Debug2.assert = assert; + function assertEqual(a, b, msg, msg2, stackCrawlMark) { + if (a !== b) { + const message = msg ? msg2 ? `${msg} ${msg2}` : msg : ""; + fail(`Expected ${a} === ${b}. ${message}`, stackCrawlMark || assertEqual); + } + } + Debug2.assertEqual = assertEqual; + function assertLessThan(a, b, msg, stackCrawlMark) { + if (a >= b) { + fail(`Expected ${a} < ${b}. ${msg || ""}`, stackCrawlMark || assertLessThan); + } + } + Debug2.assertLessThan = assertLessThan; + function assertLessThanOrEqual(a, b, stackCrawlMark) { + if (a > b) { + fail(`Expected ${a} <= ${b}`, stackCrawlMark || assertLessThanOrEqual); + } + } + Debug2.assertLessThanOrEqual = assertLessThanOrEqual; + function assertGreaterThanOrEqual(a, b, stackCrawlMark) { + if (a < b) { + fail(`Expected ${a} >= ${b}`, stackCrawlMark || assertGreaterThanOrEqual); + } + } + Debug2.assertGreaterThanOrEqual = assertGreaterThanOrEqual; + function assertIsDefined(value, message, stackCrawlMark) { + if (value === void 0 || value === null) { + fail(message, stackCrawlMark || assertIsDefined); + } + } + Debug2.assertIsDefined = assertIsDefined; + function checkDefined(value, message, stackCrawlMark) { + assertIsDefined(value, message, stackCrawlMark || checkDefined); + return value; + } + Debug2.checkDefined = checkDefined; + function assertEachIsDefined(value, message, stackCrawlMark) { + for (const v of value) { + assertIsDefined(v, message, stackCrawlMark || assertEachIsDefined); + } + } + Debug2.assertEachIsDefined = assertEachIsDefined; + function checkEachDefined(value, message, stackCrawlMark) { + assertEachIsDefined(value, message, stackCrawlMark || checkEachDefined); + return value; + } + Debug2.checkEachDefined = checkEachDefined; + function assertNever(member, message = "Illegal value:", stackCrawlMark) { + const detail = typeof member === "object" && hasProperty(member, "kind") && hasProperty(member, "pos") ? "SyntaxKind: " + formatSyntaxKind(member.kind) : JSON.stringify(member); + return fail(`${message} ${detail}`, stackCrawlMark || assertNever); + } + Debug2.assertNever = assertNever; + function assertEachNode(nodes, test, message, stackCrawlMark) { + if (shouldAssertFunction(1 /* Normal */, "assertEachNode")) { + assert( + test === void 0 || every(nodes, test), + message || "Unexpected node.", + () => `Node array did not pass test '${getFunctionName(test)}'.`, + stackCrawlMark || assertEachNode + ); + } + } + Debug2.assertEachNode = assertEachNode; + function assertNode(node, test, message, stackCrawlMark) { + if (shouldAssertFunction(1 /* Normal */, "assertNode")) { + assert( + node !== void 0 && (test === void 0 || test(node)), + message || "Unexpected node.", + () => `Node ${formatSyntaxKind(node == null ? void 0 : node.kind)} did not pass test '${getFunctionName(test)}'.`, + stackCrawlMark || assertNode + ); + } + } + Debug2.assertNode = assertNode; + function assertNotNode(node, test, message, stackCrawlMark) { + if (shouldAssertFunction(1 /* Normal */, "assertNotNode")) { + assert( + node === void 0 || test === void 0 || !test(node), + message || "Unexpected node.", + () => `Node ${formatSyntaxKind(node.kind)} should not have passed test '${getFunctionName(test)}'.`, + stackCrawlMark || assertNotNode + ); + } + } + Debug2.assertNotNode = assertNotNode; + function assertOptionalNode(node, test, message, stackCrawlMark) { + if (shouldAssertFunction(1 /* Normal */, "assertOptionalNode")) { + assert( + test === void 0 || node === void 0 || test(node), + message || "Unexpected node.", + () => `Node ${formatSyntaxKind(node == null ? void 0 : node.kind)} did not pass test '${getFunctionName(test)}'.`, + stackCrawlMark || assertOptionalNode + ); + } + } + Debug2.assertOptionalNode = assertOptionalNode; + function assertOptionalToken(node, kind, message, stackCrawlMark) { + if (shouldAssertFunction(1 /* Normal */, "assertOptionalToken")) { + assert( + kind === void 0 || node === void 0 || node.kind === kind, + message || "Unexpected node.", + () => `Node ${formatSyntaxKind(node == null ? void 0 : node.kind)} was not a '${formatSyntaxKind(kind)}' token.`, + stackCrawlMark || assertOptionalToken + ); + } + } + Debug2.assertOptionalToken = assertOptionalToken; + function assertMissingNode(node, message, stackCrawlMark) { + if (shouldAssertFunction(1 /* Normal */, "assertMissingNode")) { + assert( + node === void 0, + message || "Unexpected node.", + () => `Node ${formatSyntaxKind(node.kind)} was unexpected'.`, + stackCrawlMark || assertMissingNode + ); + } + } + Debug2.assertMissingNode = assertMissingNode; + function type(_value) { + } + Debug2.type = type; + function getFunctionName(func) { + if (typeof func !== "function") { + return ""; + } else if (hasProperty(func, "name")) { + return func.name; + } else { + const text = Function.prototype.toString.call(func); + const match = /^function\s+([\w$]+)\s*\(/.exec(text); + return match ? match[1] : ""; + } + } + Debug2.getFunctionName = getFunctionName; + function formatSymbol(symbol) { + return `{ name: ${unescapeLeadingUnderscores(symbol.escapedName)}; flags: ${formatSymbolFlags(symbol.flags)}; declarations: ${map(symbol.declarations, (node) => formatSyntaxKind(node.kind))} }`; + } + Debug2.formatSymbol = formatSymbol; + function formatEnum(value = 0, enumObject, isFlags) { + const members = getEnumMembers(enumObject); + if (value === 0) { + return members.length > 0 && members[0][0] === 0 ? members[0][1] : "0"; + } + if (isFlags) { + const result = []; + let remainingFlags = value; + for (const [enumValue, enumName] of members) { + if (enumValue > value) { + break; + } + if (enumValue !== 0 && enumValue & value) { + result.push(enumName); + remainingFlags &= ~enumValue; + } + } + if (remainingFlags === 0) { + return result.join("|"); + } + } else { + for (const [enumValue, enumName] of members) { + if (enumValue === value) { + return enumName; + } + } + } + return value.toString(); + } + Debug2.formatEnum = formatEnum; + const enumMemberCache = /* @__PURE__ */ new Map(); + function getEnumMembers(enumObject) { + const existing = enumMemberCache.get(enumObject); + if (existing) { + return existing; + } + const result = []; + for (const name in enumObject) { + const value = enumObject[name]; + if (typeof value === "number") { + result.push([value, name]); + } + } + const sorted = toSorted(result, (x, y) => compareValues(x[0], y[0])); + enumMemberCache.set(enumObject, sorted); + return sorted; + } + function formatSyntaxKind(kind) { + return formatEnum( + kind, + SyntaxKind, + /*isFlags*/ + false + ); + } + Debug2.formatSyntaxKind = formatSyntaxKind; + function formatSnippetKind(kind) { + return formatEnum( + kind, + SnippetKind, + /*isFlags*/ + false + ); + } + Debug2.formatSnippetKind = formatSnippetKind; + function formatScriptKind(kind) { + return formatEnum( + kind, + ScriptKind, + /*isFlags*/ + false + ); + } + Debug2.formatScriptKind = formatScriptKind; + function formatNodeFlags(flags) { + return formatEnum( + flags, + NodeFlags, + /*isFlags*/ + true + ); + } + Debug2.formatNodeFlags = formatNodeFlags; + function formatNodeCheckFlags(flags) { + return formatEnum( + flags, + NodeCheckFlags, + /*isFlags*/ + true + ); + } + Debug2.formatNodeCheckFlags = formatNodeCheckFlags; + function formatModifierFlags(flags) { + return formatEnum( + flags, + ModifierFlags, + /*isFlags*/ + true + ); + } + Debug2.formatModifierFlags = formatModifierFlags; + function formatTransformFlags(flags) { + return formatEnum( + flags, + TransformFlags, + /*isFlags*/ + true + ); + } + Debug2.formatTransformFlags = formatTransformFlags; + function formatEmitFlags(flags) { + return formatEnum( + flags, + EmitFlags, + /*isFlags*/ + true + ); + } + Debug2.formatEmitFlags = formatEmitFlags; + function formatSymbolFlags(flags) { + return formatEnum( + flags, + SymbolFlags, + /*isFlags*/ + true + ); + } + Debug2.formatSymbolFlags = formatSymbolFlags; + function formatTypeFlags(flags) { + return formatEnum( + flags, + TypeFlags, + /*isFlags*/ + true + ); + } + Debug2.formatTypeFlags = formatTypeFlags; + function formatSignatureFlags(flags) { + return formatEnum( + flags, + SignatureFlags, + /*isFlags*/ + true + ); + } + Debug2.formatSignatureFlags = formatSignatureFlags; + function formatObjectFlags(flags) { + return formatEnum( + flags, + ObjectFlags, + /*isFlags*/ + true + ); + } + Debug2.formatObjectFlags = formatObjectFlags; + function formatFlowFlags(flags) { + return formatEnum( + flags, + FlowFlags, + /*isFlags*/ + true + ); + } + Debug2.formatFlowFlags = formatFlowFlags; + function formatRelationComparisonResult(result) { + return formatEnum( + result, + RelationComparisonResult, + /*isFlags*/ + true + ); + } + Debug2.formatRelationComparisonResult = formatRelationComparisonResult; + function formatCheckMode(mode) { + return formatEnum( + mode, + CheckMode, + /*isFlags*/ + true + ); + } + Debug2.formatCheckMode = formatCheckMode; + function formatSignatureCheckMode(mode) { + return formatEnum( + mode, + SignatureCheckMode, + /*isFlags*/ + true + ); + } + Debug2.formatSignatureCheckMode = formatSignatureCheckMode; + function formatTypeFacts(facts) { + return formatEnum( + facts, + TypeFacts, + /*isFlags*/ + true + ); + } + Debug2.formatTypeFacts = formatTypeFacts; + let isDebugInfoEnabled = false; + let flowNodeProto; + function attachFlowNodeDebugInfoWorker(flowNode) { + if (!("__debugFlowFlags" in flowNode)) { + Object.defineProperties(flowNode, { + // for use with vscode-js-debug's new customDescriptionGenerator in launch.json + __tsDebuggerDisplay: { + value() { + const flowHeader = this.flags & 2 /* Start */ ? "FlowStart" : this.flags & 4 /* BranchLabel */ ? "FlowBranchLabel" : this.flags & 8 /* LoopLabel */ ? "FlowLoopLabel" : this.flags & 16 /* Assignment */ ? "FlowAssignment" : this.flags & 32 /* TrueCondition */ ? "FlowTrueCondition" : this.flags & 64 /* FalseCondition */ ? "FlowFalseCondition" : this.flags & 128 /* SwitchClause */ ? "FlowSwitchClause" : this.flags & 256 /* ArrayMutation */ ? "FlowArrayMutation" : this.flags & 512 /* Call */ ? "FlowCall" : this.flags & 1024 /* ReduceLabel */ ? "FlowReduceLabel" : this.flags & 1 /* Unreachable */ ? "FlowUnreachable" : "UnknownFlow"; + const remainingFlags = this.flags & ~(2048 /* Referenced */ - 1); + return `${flowHeader}${remainingFlags ? ` (${formatFlowFlags(remainingFlags)})` : ""}`; + } + }, + __debugFlowFlags: { + get() { + return formatEnum( + this.flags, + FlowFlags, + /*isFlags*/ + true + ); + } + }, + __debugToString: { + value() { + return formatControlFlowGraph(this); + } + } + }); + } + } + function attachFlowNodeDebugInfo(flowNode) { + if (isDebugInfoEnabled) { + if (typeof Object.setPrototypeOf === "function") { + if (!flowNodeProto) { + flowNodeProto = Object.create(Object.prototype); + attachFlowNodeDebugInfoWorker(flowNodeProto); + } + Object.setPrototypeOf(flowNode, flowNodeProto); + } else { + attachFlowNodeDebugInfoWorker(flowNode); + } + } + return flowNode; + } + Debug2.attachFlowNodeDebugInfo = attachFlowNodeDebugInfo; + let nodeArrayProto; + function attachNodeArrayDebugInfoWorker(array) { + if (!("__tsDebuggerDisplay" in array)) { + Object.defineProperties(array, { + __tsDebuggerDisplay: { + value(defaultValue) { + defaultValue = String(defaultValue).replace(/(?:,[\s\w]+:[^,]+)+\]$/, "]"); + return `NodeArray ${defaultValue}`; + } + } + }); + } + } + function attachNodeArrayDebugInfo(array) { + if (isDebugInfoEnabled) { + if (typeof Object.setPrototypeOf === "function") { + if (!nodeArrayProto) { + nodeArrayProto = Object.create(Array.prototype); + attachNodeArrayDebugInfoWorker(nodeArrayProto); + } + Object.setPrototypeOf(array, nodeArrayProto); + } else { + attachNodeArrayDebugInfoWorker(array); + } + } + } + Debug2.attachNodeArrayDebugInfo = attachNodeArrayDebugInfo; + function enableDebugInfo() { + if (isDebugInfoEnabled) return; + const weakTypeTextMap = /* @__PURE__ */ new WeakMap(); + const weakNodeTextMap = /* @__PURE__ */ new WeakMap(); + Object.defineProperties(objectAllocator.getSymbolConstructor().prototype, { + // for use with vscode-js-debug's new customDescriptionGenerator in launch.json + __tsDebuggerDisplay: { + value() { + const symbolHeader = this.flags & 33554432 /* Transient */ ? "TransientSymbol" : "Symbol"; + const remainingSymbolFlags = this.flags & ~33554432 /* Transient */; + return `${symbolHeader} '${symbolName(this)}'${remainingSymbolFlags ? ` (${formatSymbolFlags(remainingSymbolFlags)})` : ""}`; + } + }, + __debugFlags: { + get() { + return formatSymbolFlags(this.flags); + } + } + }); + Object.defineProperties(objectAllocator.getTypeConstructor().prototype, { + // for use with vscode-js-debug's new customDescriptionGenerator in launch.json + __tsDebuggerDisplay: { + value() { + const typeHeader = this.flags & 67359327 /* Intrinsic */ ? `IntrinsicType ${this.intrinsicName}${this.debugIntrinsicName ? ` (${this.debugIntrinsicName})` : ""}` : this.flags & 98304 /* Nullable */ ? "NullableType" : this.flags & 384 /* StringOrNumberLiteral */ ? `LiteralType ${JSON.stringify(this.value)}` : this.flags & 2048 /* BigIntLiteral */ ? `LiteralType ${this.value.negative ? "-" : ""}${this.value.base10Value}n` : this.flags & 8192 /* UniqueESSymbol */ ? "UniqueESSymbolType" : this.flags & 32 /* Enum */ ? "EnumType" : this.flags & 1048576 /* Union */ ? "UnionType" : this.flags & 2097152 /* Intersection */ ? "IntersectionType" : this.flags & 4194304 /* Index */ ? "IndexType" : this.flags & 8388608 /* IndexedAccess */ ? "IndexedAccessType" : this.flags & 16777216 /* Conditional */ ? "ConditionalType" : this.flags & 33554432 /* Substitution */ ? "SubstitutionType" : this.flags & 262144 /* TypeParameter */ ? "TypeParameter" : this.flags & 524288 /* Object */ ? this.objectFlags & 3 /* ClassOrInterface */ ? "InterfaceType" : this.objectFlags & 4 /* Reference */ ? "TypeReference" : this.objectFlags & 8 /* Tuple */ ? "TupleType" : this.objectFlags & 16 /* Anonymous */ ? "AnonymousType" : this.objectFlags & 32 /* Mapped */ ? "MappedType" : this.objectFlags & 1024 /* ReverseMapped */ ? "ReverseMappedType" : this.objectFlags & 256 /* EvolvingArray */ ? "EvolvingArrayType" : "ObjectType" : "Type"; + const remainingObjectFlags = this.flags & 524288 /* Object */ ? this.objectFlags & ~1343 /* ObjectTypeKindMask */ : 0; + return `${typeHeader}${this.symbol ? ` '${symbolName(this.symbol)}'` : ""}${remainingObjectFlags ? ` (${formatObjectFlags(remainingObjectFlags)})` : ""}`; + } + }, + __debugFlags: { + get() { + return formatTypeFlags(this.flags); + } + }, + __debugObjectFlags: { + get() { + return this.flags & 524288 /* Object */ ? formatObjectFlags(this.objectFlags) : ""; + } + }, + __debugTypeToString: { + value() { + let text = weakTypeTextMap.get(this); + if (text === void 0) { + text = this.checker.typeToString(this); + weakTypeTextMap.set(this, text); + } + return text; + } + } + }); + Object.defineProperties(objectAllocator.getSignatureConstructor().prototype, { + __debugFlags: { + get() { + return formatSignatureFlags(this.flags); + } + }, + __debugSignatureToString: { + value() { + var _a; + return (_a = this.checker) == null ? void 0 : _a.signatureToString(this); + } + } + }); + const nodeConstructors = [ + objectAllocator.getNodeConstructor(), + objectAllocator.getIdentifierConstructor(), + objectAllocator.getTokenConstructor(), + objectAllocator.getSourceFileConstructor() + ]; + for (const ctor of nodeConstructors) { + if (!hasProperty(ctor.prototype, "__debugKind")) { + Object.defineProperties(ctor.prototype, { + // for use with vscode-js-debug's new customDescriptionGenerator in launch.json + __tsDebuggerDisplay: { + value() { + const nodeHeader = isGeneratedIdentifier(this) ? "GeneratedIdentifier" : isIdentifier(this) ? `Identifier '${idText(this)}'` : isPrivateIdentifier(this) ? `PrivateIdentifier '${idText(this)}'` : isStringLiteral(this) ? `StringLiteral ${JSON.stringify(this.text.length < 10 ? this.text : this.text.slice(10) + "...")}` : isNumericLiteral(this) ? `NumericLiteral ${this.text}` : isBigIntLiteral(this) ? `BigIntLiteral ${this.text}n` : isTypeParameterDeclaration(this) ? "TypeParameterDeclaration" : isParameter(this) ? "ParameterDeclaration" : isConstructorDeclaration(this) ? "ConstructorDeclaration" : isGetAccessorDeclaration(this) ? "GetAccessorDeclaration" : isSetAccessorDeclaration(this) ? "SetAccessorDeclaration" : isCallSignatureDeclaration(this) ? "CallSignatureDeclaration" : isConstructSignatureDeclaration(this) ? "ConstructSignatureDeclaration" : isIndexSignatureDeclaration(this) ? "IndexSignatureDeclaration" : isTypePredicateNode(this) ? "TypePredicateNode" : isTypeReferenceNode(this) ? "TypeReferenceNode" : isFunctionTypeNode(this) ? "FunctionTypeNode" : isConstructorTypeNode(this) ? "ConstructorTypeNode" : isTypeQueryNode(this) ? "TypeQueryNode" : isTypeLiteralNode(this) ? "TypeLiteralNode" : isArrayTypeNode(this) ? "ArrayTypeNode" : isTupleTypeNode(this) ? "TupleTypeNode" : isOptionalTypeNode(this) ? "OptionalTypeNode" : isRestTypeNode(this) ? "RestTypeNode" : isUnionTypeNode(this) ? "UnionTypeNode" : isIntersectionTypeNode(this) ? "IntersectionTypeNode" : isConditionalTypeNode(this) ? "ConditionalTypeNode" : isInferTypeNode(this) ? "InferTypeNode" : isParenthesizedTypeNode(this) ? "ParenthesizedTypeNode" : isThisTypeNode(this) ? "ThisTypeNode" : isTypeOperatorNode(this) ? "TypeOperatorNode" : isIndexedAccessTypeNode(this) ? "IndexedAccessTypeNode" : isMappedTypeNode(this) ? "MappedTypeNode" : isLiteralTypeNode(this) ? "LiteralTypeNode" : isNamedTupleMember(this) ? "NamedTupleMember" : isImportTypeNode(this) ? "ImportTypeNode" : formatSyntaxKind(this.kind); + return `${nodeHeader}${this.flags ? ` (${formatNodeFlags(this.flags)})` : ""}`; + } + }, + __debugKind: { + get() { + return formatSyntaxKind(this.kind); + } + }, + __debugNodeFlags: { + get() { + return formatNodeFlags(this.flags); + } + }, + __debugModifierFlags: { + get() { + return formatModifierFlags(getEffectiveModifierFlagsNoCache(this)); + } + }, + __debugTransformFlags: { + get() { + return formatTransformFlags(this.transformFlags); + } + }, + __debugIsParseTreeNode: { + get() { + return isParseTreeNode(this); + } + }, + __debugEmitFlags: { + get() { + return formatEmitFlags(getEmitFlags(this)); + } + }, + __debugGetText: { + value(includeTrivia) { + if (nodeIsSynthesized(this)) return ""; + let text = weakNodeTextMap.get(this); + if (text === void 0) { + const parseNode = getParseTreeNode(this); + const sourceFile = parseNode && getSourceFileOfNode(parseNode); + text = sourceFile ? getSourceTextOfNodeFromSourceFile(sourceFile, parseNode, includeTrivia) : ""; + weakNodeTextMap.set(this, text); + } + return text; + } + } + }); + } + } + isDebugInfoEnabled = true; + } + Debug2.enableDebugInfo = enableDebugInfo; + function formatVariance(varianceFlags) { + const variance = varianceFlags & 7 /* VarianceMask */; + let result = variance === 0 /* Invariant */ ? "in out" : variance === 3 /* Bivariant */ ? "[bivariant]" : variance === 2 /* Contravariant */ ? "in" : variance === 1 /* Covariant */ ? "out" : variance === 4 /* Independent */ ? "[independent]" : ""; + if (varianceFlags & 8 /* Unmeasurable */) { + result += " (unmeasurable)"; + } else if (varianceFlags & 16 /* Unreliable */) { + result += " (unreliable)"; + } + return result; + } + Debug2.formatVariance = formatVariance; + class DebugTypeMapper { + __debugToString() { + var _a; + type(this); + switch (this.kind) { + case 3 /* Function */: + return ((_a = this.debugInfo) == null ? void 0 : _a.call(this)) || "(function mapper)"; + case 0 /* Simple */: + return `${this.source.__debugTypeToString()} -> ${this.target.__debugTypeToString()}`; + case 1 /* Array */: + return zipWith( + this.sources, + this.targets || map(this.sources, () => "any"), + (s, t) => `${s.__debugTypeToString()} -> ${typeof t === "string" ? t : t.__debugTypeToString()}` + ).join(", "); + case 2 /* Deferred */: + return zipWith( + this.sources, + this.targets, + (s, t) => `${s.__debugTypeToString()} -> ${t().__debugTypeToString()}` + ).join(", "); + case 5 /* Merged */: + case 4 /* Composite */: + return `m1: ${this.mapper1.__debugToString().split("\n").join("\n ")} +m2: ${this.mapper2.__debugToString().split("\n").join("\n ")}`; + default: + return assertNever(this); + } + } + } + Debug2.DebugTypeMapper = DebugTypeMapper; + function attachDebugPrototypeIfDebug(mapper) { + if (Debug2.isDebugging) { + return Object.setPrototypeOf(mapper, DebugTypeMapper.prototype); + } + return mapper; + } + Debug2.attachDebugPrototypeIfDebug = attachDebugPrototypeIfDebug; + function printControlFlowGraph(flowNode) { + return console.log(formatControlFlowGraph(flowNode)); + } + Debug2.printControlFlowGraph = printControlFlowGraph; + function formatControlFlowGraph(flowNode) { + let nextDebugFlowId = -1; + function getDebugFlowNodeId(f) { + if (!f.id) { + f.id = nextDebugFlowId; + nextDebugFlowId--; + } + return f.id; + } + let BoxCharacter; + ((BoxCharacter2) => { + BoxCharacter2["lr"] = "\u2500"; + BoxCharacter2["ud"] = "\u2502"; + BoxCharacter2["dr"] = "\u256D"; + BoxCharacter2["dl"] = "\u256E"; + BoxCharacter2["ul"] = "\u256F"; + BoxCharacter2["ur"] = "\u2570"; + BoxCharacter2["udr"] = "\u251C"; + BoxCharacter2["udl"] = "\u2524"; + BoxCharacter2["dlr"] = "\u252C"; + BoxCharacter2["ulr"] = "\u2534"; + BoxCharacter2["udlr"] = "\u256B"; + })(BoxCharacter || (BoxCharacter = {})); + let Connection; + ((Connection2) => { + Connection2[Connection2["None"] = 0] = "None"; + Connection2[Connection2["Up"] = 1] = "Up"; + Connection2[Connection2["Down"] = 2] = "Down"; + Connection2[Connection2["Left"] = 4] = "Left"; + Connection2[Connection2["Right"] = 8] = "Right"; + Connection2[Connection2["UpDown"] = 3] = "UpDown"; + Connection2[Connection2["LeftRight"] = 12] = "LeftRight"; + Connection2[Connection2["UpLeft"] = 5] = "UpLeft"; + Connection2[Connection2["UpRight"] = 9] = "UpRight"; + Connection2[Connection2["DownLeft"] = 6] = "DownLeft"; + Connection2[Connection2["DownRight"] = 10] = "DownRight"; + Connection2[Connection2["UpDownLeft"] = 7] = "UpDownLeft"; + Connection2[Connection2["UpDownRight"] = 11] = "UpDownRight"; + Connection2[Connection2["UpLeftRight"] = 13] = "UpLeftRight"; + Connection2[Connection2["DownLeftRight"] = 14] = "DownLeftRight"; + Connection2[Connection2["UpDownLeftRight"] = 15] = "UpDownLeftRight"; + Connection2[Connection2["NoChildren"] = 16] = "NoChildren"; + })(Connection || (Connection = {})); + const hasAntecedentFlags = 16 /* Assignment */ | 96 /* Condition */ | 128 /* SwitchClause */ | 256 /* ArrayMutation */ | 512 /* Call */ | 1024 /* ReduceLabel */; + const hasNodeFlags = 2 /* Start */ | 16 /* Assignment */ | 512 /* Call */ | 96 /* Condition */ | 256 /* ArrayMutation */; + const links = /* @__PURE__ */ Object.create( + /*o*/ + null + ); + const nodes = []; + const edges = []; + const root = buildGraphNode(flowNode, /* @__PURE__ */ new Set()); + for (const node of nodes) { + node.text = renderFlowNode(node.flowNode, node.circular); + computeLevel(node); + } + const height = computeHeight(root); + const columnWidths = computeColumnWidths(height); + computeLanes(root, 0); + return renderGraph(); + function isFlowSwitchClause(f) { + return !!(f.flags & 128 /* SwitchClause */); + } + function hasAntecedents(f) { + return !!(f.flags & 12 /* Label */) && !!f.antecedent; + } + function hasAntecedent(f) { + return !!(f.flags & hasAntecedentFlags); + } + function hasNode(f) { + return !!(f.flags & hasNodeFlags); + } + function getChildren(node) { + const children = []; + for (const edge of node.edges) { + if (edge.source === node) { + children.push(edge.target); + } + } + return children; + } + function getParents(node) { + const parents = []; + for (const edge of node.edges) { + if (edge.target === node) { + parents.push(edge.source); + } + } + return parents; + } + function buildGraphNode(flowNode2, seen) { + const id = getDebugFlowNodeId(flowNode2); + let graphNode = links[id]; + if (graphNode && seen.has(flowNode2)) { + graphNode.circular = true; + graphNode = { + id: -1, + flowNode: flowNode2, + edges: [], + text: "", + lane: -1, + endLane: -1, + level: -1, + circular: "circularity" + }; + nodes.push(graphNode); + return graphNode; + } + seen.add(flowNode2); + if (!graphNode) { + links[id] = graphNode = { id, flowNode: flowNode2, edges: [], text: "", lane: -1, endLane: -1, level: -1, circular: false }; + nodes.push(graphNode); + if (hasAntecedents(flowNode2)) { + for (const antecedent of flowNode2.antecedent) { + buildGraphEdge(graphNode, antecedent, seen); + } + } else if (hasAntecedent(flowNode2)) { + buildGraphEdge(graphNode, flowNode2.antecedent, seen); + } + } + seen.delete(flowNode2); + return graphNode; + } + function buildGraphEdge(source, antecedent, seen) { + const target = buildGraphNode(antecedent, seen); + const edge = { source, target }; + edges.push(edge); + source.edges.push(edge); + target.edges.push(edge); + } + function computeLevel(node) { + if (node.level !== -1) { + return node.level; + } + let level = 0; + for (const parent of getParents(node)) { + level = Math.max(level, computeLevel(parent) + 1); + } + return node.level = level; + } + function computeHeight(node) { + let height2 = 0; + for (const child of getChildren(node)) { + height2 = Math.max(height2, computeHeight(child)); + } + return height2 + 1; + } + function computeColumnWidths(height2) { + const columns = fill(Array(height2), 0); + for (const node of nodes) { + columns[node.level] = Math.max(columns[node.level], node.text.length); + } + return columns; + } + function computeLanes(node, lane) { + if (node.lane === -1) { + node.lane = lane; + node.endLane = lane; + const children = getChildren(node); + for (let i = 0; i < children.length; i++) { + if (i > 0) lane++; + const child = children[i]; + computeLanes(child, lane); + if (child.endLane > node.endLane) { + lane = child.endLane; + } + } + node.endLane = lane; + } + } + function getHeader2(flags) { + if (flags & 2 /* Start */) return "Start"; + if (flags & 4 /* BranchLabel */) return "Branch"; + if (flags & 8 /* LoopLabel */) return "Loop"; + if (flags & 16 /* Assignment */) return "Assignment"; + if (flags & 32 /* TrueCondition */) return "True"; + if (flags & 64 /* FalseCondition */) return "False"; + if (flags & 128 /* SwitchClause */) return "SwitchClause"; + if (flags & 256 /* ArrayMutation */) return "ArrayMutation"; + if (flags & 512 /* Call */) return "Call"; + if (flags & 1024 /* ReduceLabel */) return "ReduceLabel"; + if (flags & 1 /* Unreachable */) return "Unreachable"; + throw new Error(); + } + function getNodeText(node) { + const sourceFile = getSourceFileOfNode(node); + return getSourceTextOfNodeFromSourceFile( + sourceFile, + node, + /*includeTrivia*/ + false + ); + } + function renderFlowNode(flowNode2, circular) { + let text = getHeader2(flowNode2.flags); + if (circular) { + text = `${text}#${getDebugFlowNodeId(flowNode2)}`; + } + if (isFlowSwitchClause(flowNode2)) { + const clauses = []; + const { switchStatement, clauseStart, clauseEnd } = flowNode2.node; + for (let i = clauseStart; i < clauseEnd; i++) { + const clause = switchStatement.caseBlock.clauses[i]; + if (isDefaultClause(clause)) { + clauses.push("default"); + } else { + clauses.push(getNodeText(clause.expression)); + } + } + text += ` (${clauses.join(", ")})`; + } else if (hasNode(flowNode2)) { + if (flowNode2.node) { + text += ` (${getNodeText(flowNode2.node)})`; + } + } + return circular === "circularity" ? `Circular(${text})` : text; + } + function renderGraph() { + const columnCount = columnWidths.length; + const laneCount = maxBy(nodes, 0, (n) => n.lane) + 1; + const lanes = fill(Array(laneCount), ""); + const grid = columnWidths.map(() => Array(laneCount)); + const connectors = columnWidths.map(() => fill(Array(laneCount), 0)); + for (const node of nodes) { + grid[node.level][node.lane] = node; + const children = getChildren(node); + for (let i = 0; i < children.length; i++) { + const child = children[i]; + let connector = 8 /* Right */; + if (child.lane === node.lane) connector |= 4 /* Left */; + if (i > 0) connector |= 1 /* Up */; + if (i < children.length - 1) connector |= 2 /* Down */; + connectors[node.level][child.lane] |= connector; + } + if (children.length === 0) { + connectors[node.level][node.lane] |= 16 /* NoChildren */; + } + const parents = getParents(node); + for (let i = 0; i < parents.length; i++) { + const parent = parents[i]; + let connector = 4 /* Left */; + if (i > 0) connector |= 1 /* Up */; + if (i < parents.length - 1) connector |= 2 /* Down */; + connectors[node.level - 1][parent.lane] |= connector; + } + } + for (let column = 0; column < columnCount; column++) { + for (let lane = 0; lane < laneCount; lane++) { + const left = column > 0 ? connectors[column - 1][lane] : 0; + const above = lane > 0 ? connectors[column][lane - 1] : 0; + let connector = connectors[column][lane]; + if (!connector) { + if (left & 8 /* Right */) connector |= 12 /* LeftRight */; + if (above & 2 /* Down */) connector |= 3 /* UpDown */; + connectors[column][lane] = connector; + } + } + } + for (let column = 0; column < columnCount; column++) { + for (let lane = 0; lane < lanes.length; lane++) { + const connector = connectors[column][lane]; + const fill2 = connector & 4 /* Left */ ? "\u2500" /* lr */ : " "; + const node = grid[column][lane]; + if (!node) { + if (column < columnCount - 1) { + writeLane(lane, repeat(fill2, columnWidths[column] + 1)); + } + } else { + writeLane(lane, node.text); + if (column < columnCount - 1) { + writeLane(lane, " "); + writeLane(lane, repeat(fill2, columnWidths[column] - node.text.length)); + } + } + writeLane(lane, getBoxCharacter(connector)); + writeLane(lane, connector & 8 /* Right */ && column < columnCount - 1 && !grid[column + 1][lane] ? "\u2500" /* lr */ : " "); + } + } + return ` +${lanes.join("\n")} +`; + function writeLane(lane, text) { + lanes[lane] += text; + } + } + function getBoxCharacter(connector) { + switch (connector) { + case 3 /* UpDown */: + return "\u2502" /* ud */; + case 12 /* LeftRight */: + return "\u2500" /* lr */; + case 5 /* UpLeft */: + return "\u256F" /* ul */; + case 9 /* UpRight */: + return "\u2570" /* ur */; + case 6 /* DownLeft */: + return "\u256E" /* dl */; + case 10 /* DownRight */: + return "\u256D" /* dr */; + case 7 /* UpDownLeft */: + return "\u2524" /* udl */; + case 11 /* UpDownRight */: + return "\u251C" /* udr */; + case 13 /* UpLeftRight */: + return "\u2534" /* ulr */; + case 14 /* DownLeftRight */: + return "\u252C" /* dlr */; + case 15 /* UpDownLeftRight */: + return "\u256B" /* udlr */; + } + return " "; + } + function fill(array, value) { + if (array.fill) { + array.fill(value); + } else { + for (let i = 0; i < array.length; i++) { + array[i] = value; + } + } + return array; + } + function repeat(ch, length2) { + if (ch.repeat) { + return length2 > 0 ? ch.repeat(length2) : ""; + } + let s = ""; + while (s.length < length2) { + s += ch; + } + return s; + } + } + Debug2.formatControlFlowGraph = formatControlFlowGraph; +})(Debug || (Debug = {})); + +// src/compiler/semver.ts +var versionRegExp = /^(0|[1-9]\d*)(?:\.(0|[1-9]\d*)(?:\.(0|[1-9]\d*)(?:-([a-z0-9-.]+))?(?:\+([a-z0-9-.]+))?)?)?$/i; +var prereleaseRegExp = /^(?:0|[1-9]\d*|[a-z-][a-z0-9-]*)(?:\.(?:0|[1-9]\d*|[a-z-][a-z0-9-]*))*$/i; +var prereleasePartRegExp = /^(?:0|[1-9]\d*|[a-z-][a-z0-9-]*)$/i; +var buildRegExp = /^[a-z0-9-]+(?:\.[a-z0-9-]+)*$/i; +var buildPartRegExp = /^[a-z0-9-]+$/i; +var numericIdentifierRegExp = /^(?:0|[1-9]\d*)$/; +var _Version = class _Version { + constructor(major, minor = 0, patch = 0, prerelease = "", build2 = "") { + if (typeof major === "string") { + const result = Debug.checkDefined(tryParseComponents(major), "Invalid version"); + ({ major, minor, patch, prerelease, build: build2 } = result); + } + Debug.assert(major >= 0, "Invalid argument: major"); + Debug.assert(minor >= 0, "Invalid argument: minor"); + Debug.assert(patch >= 0, "Invalid argument: patch"); + const prereleaseArray = prerelease ? isArray(prerelease) ? prerelease : prerelease.split(".") : emptyArray; + const buildArray = build2 ? isArray(build2) ? build2 : build2.split(".") : emptyArray; + Debug.assert(every(prereleaseArray, (s) => prereleasePartRegExp.test(s)), "Invalid argument: prerelease"); + Debug.assert(every(buildArray, (s) => buildPartRegExp.test(s)), "Invalid argument: build"); + this.major = major; + this.minor = minor; + this.patch = patch; + this.prerelease = prereleaseArray; + this.build = buildArray; + } + static tryParse(text) { + const result = tryParseComponents(text); + if (!result) return void 0; + const { major, minor, patch, prerelease, build: build2 } = result; + return new _Version(major, minor, patch, prerelease, build2); + } + compareTo(other) { + if (this === other) return 0 /* EqualTo */; + if (other === void 0) return 1 /* GreaterThan */; + return compareValues(this.major, other.major) || compareValues(this.minor, other.minor) || compareValues(this.patch, other.patch) || comparePrereleaseIdentifiers(this.prerelease, other.prerelease); + } + increment(field) { + switch (field) { + case "major": + return new _Version(this.major + 1, 0, 0); + case "minor": + return new _Version(this.major, this.minor + 1, 0); + case "patch": + return new _Version(this.major, this.minor, this.patch + 1); + default: + return Debug.assertNever(field); + } + } + with(fields) { + const { + major = this.major, + minor = this.minor, + patch = this.patch, + prerelease = this.prerelease, + build: build2 = this.build + } = fields; + return new _Version(major, minor, patch, prerelease, build2); + } + toString() { + let result = `${this.major}.${this.minor}.${this.patch}`; + if (some(this.prerelease)) result += `-${this.prerelease.join(".")}`; + if (some(this.build)) result += `+${this.build.join(".")}`; + return result; + } +}; +_Version.zero = new _Version(0, 0, 0, ["0"]); +var Version = _Version; +function tryParseComponents(text) { + const match = versionRegExp.exec(text); + if (!match) return void 0; + const [, major, minor = "0", patch = "0", prerelease = "", build2 = ""] = match; + if (prerelease && !prereleaseRegExp.test(prerelease)) return void 0; + if (build2 && !buildRegExp.test(build2)) return void 0; + return { + major: parseInt(major, 10), + minor: parseInt(minor, 10), + patch: parseInt(patch, 10), + prerelease, + build: build2 + }; +} +function comparePrereleaseIdentifiers(left, right) { + if (left === right) return 0 /* EqualTo */; + if (left.length === 0) return right.length === 0 ? 0 /* EqualTo */ : 1 /* GreaterThan */; + if (right.length === 0) return -1 /* LessThan */; + const length2 = Math.min(left.length, right.length); + for (let i = 0; i < length2; i++) { + const leftIdentifier = left[i]; + const rightIdentifier = right[i]; + if (leftIdentifier === rightIdentifier) continue; + const leftIsNumeric = numericIdentifierRegExp.test(leftIdentifier); + const rightIsNumeric = numericIdentifierRegExp.test(rightIdentifier); + if (leftIsNumeric || rightIsNumeric) { + if (leftIsNumeric !== rightIsNumeric) return leftIsNumeric ? -1 /* LessThan */ : 1 /* GreaterThan */; + const result = compareValues(+leftIdentifier, +rightIdentifier); + if (result) return result; + } else { + const result = compareStringsCaseSensitive(leftIdentifier, rightIdentifier); + if (result) return result; + } + } + return compareValues(left.length, right.length); +} +var VersionRange = class _VersionRange { + constructor(spec) { + this._alternatives = spec ? Debug.checkDefined(parseRange(spec), "Invalid range spec.") : emptyArray; + } + static tryParse(text) { + const sets = parseRange(text); + if (sets) { + const range = new _VersionRange(""); + range._alternatives = sets; + return range; + } + return void 0; + } + /** + * Tests whether a version matches the range. This is equivalent to `satisfies(version, range, { includePrerelease: true })`. + * in `node-semver`. + */ + test(version2) { + if (typeof version2 === "string") version2 = new Version(version2); + return testDisjunction(version2, this._alternatives); + } + toString() { + return formatDisjunction(this._alternatives); + } +}; +var logicalOrRegExp = /\|\|/; +var whitespaceRegExp = /\s+/; +var partialRegExp = /^([x*0]|[1-9]\d*)(?:\.([x*0]|[1-9]\d*)(?:\.([x*0]|[1-9]\d*)(?:-([a-z0-9-.]+))?(?:\+([a-z0-9-.]+))?)?)?$/i; +var hyphenRegExp = /^\s*([a-z0-9-+.*]+)\s+-\s+([a-z0-9-+.*]+)\s*$/i; +var rangeRegExp = /^([~^<>=]|<=|>=)?\s*([a-z0-9-+.*]+)$/i; +function parseRange(text) { + const alternatives = []; + for (let range of text.trim().split(logicalOrRegExp)) { + if (!range) continue; + const comparators = []; + range = range.trim(); + const match = hyphenRegExp.exec(range); + if (match) { + if (!parseHyphen(match[1], match[2], comparators)) return void 0; + } else { + for (const simple of range.split(whitespaceRegExp)) { + const match2 = rangeRegExp.exec(simple.trim()); + if (!match2 || !parseComparator(match2[1], match2[2], comparators)) return void 0; + } + } + alternatives.push(comparators); + } + return alternatives; +} +function parsePartial(text) { + const match = partialRegExp.exec(text); + if (!match) return void 0; + const [, major, minor = "*", patch = "*", prerelease, build2] = match; + const version2 = new Version( + isWildcard(major) ? 0 : parseInt(major, 10), + isWildcard(major) || isWildcard(minor) ? 0 : parseInt(minor, 10), + isWildcard(major) || isWildcard(minor) || isWildcard(patch) ? 0 : parseInt(patch, 10), + prerelease, + build2 + ); + return { version: version2, major, minor, patch }; +} +function parseHyphen(left, right, comparators) { + const leftResult = parsePartial(left); + if (!leftResult) return false; + const rightResult = parsePartial(right); + if (!rightResult) return false; + if (!isWildcard(leftResult.major)) { + comparators.push(createComparator(">=", leftResult.version)); + } + if (!isWildcard(rightResult.major)) { + comparators.push( + isWildcard(rightResult.minor) ? createComparator("<", rightResult.version.increment("major")) : isWildcard(rightResult.patch) ? createComparator("<", rightResult.version.increment("minor")) : createComparator("<=", rightResult.version) + ); + } + return true; +} +function parseComparator(operator, text, comparators) { + const result = parsePartial(text); + if (!result) return false; + const { version: version2, major, minor, patch } = result; + if (!isWildcard(major)) { + switch (operator) { + case "~": + comparators.push(createComparator(">=", version2)); + comparators.push(createComparator( + "<", + version2.increment( + isWildcard(minor) ? "major" : "minor" + ) + )); + break; + case "^": + comparators.push(createComparator(">=", version2)); + comparators.push(createComparator( + "<", + version2.increment( + version2.major > 0 || isWildcard(minor) ? "major" : version2.minor > 0 || isWildcard(patch) ? "minor" : "patch" + ) + )); + break; + case "<": + case ">=": + comparators.push( + isWildcard(minor) || isWildcard(patch) ? createComparator(operator, version2.with({ prerelease: "0" })) : createComparator(operator, version2) + ); + break; + case "<=": + case ">": + comparators.push( + isWildcard(minor) ? createComparator(operator === "<=" ? "<" : ">=", version2.increment("major").with({ prerelease: "0" })) : isWildcard(patch) ? createComparator(operator === "<=" ? "<" : ">=", version2.increment("minor").with({ prerelease: "0" })) : createComparator(operator, version2) + ); + break; + case "=": + case void 0: + if (isWildcard(minor) || isWildcard(patch)) { + comparators.push(createComparator(">=", version2.with({ prerelease: "0" }))); + comparators.push(createComparator("<", version2.increment(isWildcard(minor) ? "major" : "minor").with({ prerelease: "0" }))); + } else { + comparators.push(createComparator("=", version2)); + } + break; + default: + return false; + } + } else if (operator === "<" || operator === ">") { + comparators.push(createComparator("<", Version.zero)); + } + return true; +} +function isWildcard(part) { + return part === "*" || part === "x" || part === "X"; +} +function createComparator(operator, operand) { + return { operator, operand }; +} +function testDisjunction(version2, alternatives) { + if (alternatives.length === 0) return true; + for (const alternative of alternatives) { + if (testAlternative(version2, alternative)) return true; + } + return false; +} +function testAlternative(version2, comparators) { + for (const comparator of comparators) { + if (!testComparator(version2, comparator.operator, comparator.operand)) return false; + } + return true; +} +function testComparator(version2, operator, operand) { + const cmp = version2.compareTo(operand); + switch (operator) { + case "<": + return cmp < 0; + case "<=": + return cmp <= 0; + case ">": + return cmp > 0; + case ">=": + return cmp >= 0; + case "=": + return cmp === 0; + default: + return Debug.assertNever(operator); + } +} +function formatDisjunction(alternatives) { + return map(alternatives, formatAlternative).join(" || ") || "*"; +} +function formatAlternative(comparators) { + return map(comparators, formatComparator).join(" "); +} +function formatComparator(comparator) { + return `${comparator.operator}${comparator.operand}`; +} + +// src/compiler/performanceCore.ts +function tryGetPerformance() { + if (isNodeLikeSystem()) { + try { + const { performance: performance2 } = require("perf_hooks"); + if (performance2) { + return { + shouldWriteNativeEvents: false, + performance: performance2 + }; + } + } catch { + } + } + if (typeof performance === "object") { + return { + shouldWriteNativeEvents: true, + performance + }; + } + return void 0; +} +function tryGetPerformanceHooks() { + const p = tryGetPerformance(); + if (!p) return void 0; + const { shouldWriteNativeEvents, performance: performance2 } = p; + const hooks = { + shouldWriteNativeEvents, + performance: void 0, + performanceTime: void 0 + }; + if (typeof performance2.timeOrigin === "number" && typeof performance2.now === "function") { + hooks.performanceTime = performance2; + } + if (hooks.performanceTime && typeof performance2.mark === "function" && typeof performance2.measure === "function" && typeof performance2.clearMarks === "function" && typeof performance2.clearMeasures === "function") { + hooks.performance = performance2; + } + return hooks; +} +var nativePerformanceHooks = tryGetPerformanceHooks(); +var nativePerformanceTime = nativePerformanceHooks == null ? void 0 : nativePerformanceHooks.performanceTime; +function tryGetNativePerformanceHooks() { + return nativePerformanceHooks; +} +var timestamp = nativePerformanceTime ? () => nativePerformanceTime.now() : Date.now; + +// src/compiler/performance.ts +var perfHooks; +var performanceImpl; +function createTimerIf(condition, measureName, startMarkName, endMarkName) { + return condition ? createTimer(measureName, startMarkName, endMarkName) : nullTimer; +} +function createTimer(measureName, startMarkName, endMarkName) { + let enterCount = 0; + return { + enter, + exit + }; + function enter() { + if (++enterCount === 1) { + mark(startMarkName); + } + } + function exit() { + if (--enterCount === 0) { + mark(endMarkName); + measure(measureName, startMarkName, endMarkName); + } else if (enterCount < 0) { + Debug.fail("enter/exit count does not match."); + } + } +} +var nullTimer = { enter: noop, exit: noop }; +var enabled = false; +var timeorigin = timestamp(); +var marks = /* @__PURE__ */ new Map(); +var counts = /* @__PURE__ */ new Map(); +var durations = /* @__PURE__ */ new Map(); +function mark(markName) { + if (enabled) { + const count = counts.get(markName) ?? 0; + counts.set(markName, count + 1); + marks.set(markName, timestamp()); + performanceImpl == null ? void 0 : performanceImpl.mark(markName); + if (typeof onProfilerEvent === "function") { + onProfilerEvent(markName); + } + } +} +function measure(measureName, startMarkName, endMarkName) { + if (enabled) { + const end = (endMarkName !== void 0 ? marks.get(endMarkName) : void 0) ?? timestamp(); + const start = (startMarkName !== void 0 ? marks.get(startMarkName) : void 0) ?? timeorigin; + const previousDuration = durations.get(measureName) || 0; + durations.set(measureName, previousDuration + (end - start)); + performanceImpl == null ? void 0 : performanceImpl.measure(measureName, startMarkName, endMarkName); + } +} +function getCount(markName) { + return counts.get(markName) || 0; +} +function getDuration(measureName) { + return durations.get(measureName) || 0; +} +function forEachMeasure(cb) { + durations.forEach((duration, measureName) => cb(measureName, duration)); +} +function forEachMark(cb) { + marks.forEach((_time, markName) => cb(markName)); +} +function clearMeasures(name) { + if (name !== void 0) durations.delete(name); + else durations.clear(); + performanceImpl == null ? void 0 : performanceImpl.clearMeasures(name); +} +function clearMarks(name) { + if (name !== void 0) { + counts.delete(name); + marks.delete(name); + } else { + counts.clear(); + marks.clear(); + } + performanceImpl == null ? void 0 : performanceImpl.clearMarks(name); +} +function isEnabled() { + return enabled; +} +function enable(system = sys) { + var _a; + if (!enabled) { + enabled = true; + perfHooks || (perfHooks = tryGetNativePerformanceHooks()); + if (perfHooks == null ? void 0 : perfHooks.performance) { + timeorigin = perfHooks.performance.timeOrigin; + if (perfHooks.shouldWriteNativeEvents || ((_a = system == null ? void 0 : system.cpuProfilingEnabled) == null ? void 0 : _a.call(system)) || (system == null ? void 0 : system.debugMode)) { + performanceImpl = perfHooks.performance; + } + } + } + return true; +} +function disable() { + if (enabled) { + marks.clear(); + counts.clear(); + durations.clear(); + performanceImpl = void 0; + enabled = false; + } +} + +// src/compiler/tracing.ts +var tracing; +var tracingEnabled; +((tracingEnabled2) => { + let fs; + let traceCount = 0; + let traceFd = 0; + let mode; + const typeCatalog = []; + let legendPath; + const legend = []; + function startTracing2(tracingMode, traceDir, configFilePath) { + Debug.assert(!tracing, "Tracing already started"); + if (fs === void 0) { + try { + fs = require("fs"); + } catch (e) { + throw new Error(`tracing requires having fs +(original error: ${e.message || e})`); + } + } + mode = tracingMode; + typeCatalog.length = 0; + if (legendPath === void 0) { + legendPath = combinePaths(traceDir, "legend.json"); + } + if (!fs.existsSync(traceDir)) { + fs.mkdirSync(traceDir, { recursive: true }); + } + const countPart = mode === "build" ? `.${process.pid}-${++traceCount}` : mode === "server" ? `.${process.pid}` : ``; + const tracePath = combinePaths(traceDir, `trace${countPart}.json`); + const typesPath = combinePaths(traceDir, `types${countPart}.json`); + legend.push({ + configFilePath, + tracePath, + typesPath + }); + traceFd = fs.openSync(tracePath, "w"); + tracing = tracingEnabled2; + const meta = { cat: "__metadata", ph: "M", ts: 1e3 * timestamp(), pid: 1, tid: 1 }; + fs.writeSync( + traceFd, + "[\n" + [{ name: "process_name", args: { name: "tsc" }, ...meta }, { name: "thread_name", args: { name: "Main" }, ...meta }, { name: "TracingStartedInBrowser", ...meta, cat: "disabled-by-default-devtools.timeline" }].map((v) => JSON.stringify(v)).join(",\n") + ); + } + tracingEnabled2.startTracing = startTracing2; + function stopTracing() { + Debug.assert(tracing, "Tracing is not in progress"); + Debug.assert(!!typeCatalog.length === (mode !== "server")); + fs.writeSync(traceFd, ` +] +`); + fs.closeSync(traceFd); + tracing = void 0; + if (typeCatalog.length) { + dumpTypes(typeCatalog); + } else { + legend[legend.length - 1].typesPath = void 0; + } + } + tracingEnabled2.stopTracing = stopTracing; + function recordType(type) { + if (mode !== "server") { + typeCatalog.push(type); + } + } + tracingEnabled2.recordType = recordType; + let Phase; + ((Phase2) => { + Phase2["Parse"] = "parse"; + Phase2["Program"] = "program"; + Phase2["Bind"] = "bind"; + Phase2["Check"] = "check"; + Phase2["CheckTypes"] = "checkTypes"; + Phase2["Emit"] = "emit"; + Phase2["Session"] = "session"; + })(Phase = tracingEnabled2.Phase || (tracingEnabled2.Phase = {})); + function instant(phase, name, args) { + writeEvent("I", phase, name, args, `"s":"g"`); + } + tracingEnabled2.instant = instant; + const eventStack = []; + function push(phase, name, args, separateBeginAndEnd = false) { + if (separateBeginAndEnd) { + writeEvent("B", phase, name, args); + } + eventStack.push({ phase, name, args, time: 1e3 * timestamp(), separateBeginAndEnd }); + } + tracingEnabled2.push = push; + function pop(results) { + Debug.assert(eventStack.length > 0); + writeStackEvent(eventStack.length - 1, 1e3 * timestamp(), results); + eventStack.length--; + } + tracingEnabled2.pop = pop; + function popAll() { + const endTime = 1e3 * timestamp(); + for (let i = eventStack.length - 1; i >= 0; i--) { + writeStackEvent(i, endTime); + } + eventStack.length = 0; + } + tracingEnabled2.popAll = popAll; + const sampleInterval = 1e3 * 10; + function writeStackEvent(index, endTime, results) { + const { phase, name, args, time, separateBeginAndEnd } = eventStack[index]; + if (separateBeginAndEnd) { + Debug.assert(!results, "`results` are not supported for events with `separateBeginAndEnd`"); + writeEvent( + "E", + phase, + name, + args, + /*extras*/ + void 0, + endTime + ); + } else if (sampleInterval - time % sampleInterval <= endTime - time) { + writeEvent("X", phase, name, { ...args, results }, `"dur":${endTime - time}`, time); + } + } + function writeEvent(eventType, phase, name, args, extras, time = 1e3 * timestamp()) { + if (mode === "server" && phase === "checkTypes" /* CheckTypes */) return; + mark("beginTracing"); + fs.writeSync(traceFd, `, +{"pid":1,"tid":1,"ph":"${eventType}","cat":"${phase}","ts":${time},"name":"${name}"`); + if (extras) fs.writeSync(traceFd, `,${extras}`); + if (args) fs.writeSync(traceFd, `,"args":${JSON.stringify(args)}`); + fs.writeSync(traceFd, `}`); + mark("endTracing"); + measure("Tracing", "beginTracing", "endTracing"); + } + function getLocation(node) { + const file = getSourceFileOfNode(node); + return !file ? void 0 : { + path: file.path, + start: indexFromOne(getLineAndCharacterOfPosition(file, node.pos)), + end: indexFromOne(getLineAndCharacterOfPosition(file, node.end)) + }; + function indexFromOne(lc) { + return { + line: lc.line + 1, + character: lc.character + 1 + }; + } + } + function dumpTypes(types) { + var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m, _n, _o, _p, _q, _r, _s; + mark("beginDumpTypes"); + const typesPath = legend[legend.length - 1].typesPath; + const typesFd = fs.openSync(typesPath, "w"); + const recursionIdentityMap = /* @__PURE__ */ new Map(); + fs.writeSync(typesFd, "["); + const numTypes = types.length; + for (let i = 0; i < numTypes; i++) { + const type = types[i]; + const objectFlags = type.objectFlags; + const symbol = type.aliasSymbol ?? type.symbol; + let display; + if (objectFlags & 16 /* Anonymous */ | type.flags & 2944 /* Literal */) { + try { + display = (_a = type.checker) == null ? void 0 : _a.typeToString(type); + } catch { + display = void 0; + } + } + let indexedAccessProperties = {}; + if (type.flags & 8388608 /* IndexedAccess */) { + const indexedAccessType = type; + indexedAccessProperties = { + indexedAccessObjectType: (_b = indexedAccessType.objectType) == null ? void 0 : _b.id, + indexedAccessIndexType: (_c = indexedAccessType.indexType) == null ? void 0 : _c.id + }; + } + let referenceProperties = {}; + if (objectFlags & 4 /* Reference */) { + const referenceType = type; + referenceProperties = { + instantiatedType: (_d = referenceType.target) == null ? void 0 : _d.id, + typeArguments: (_e = referenceType.resolvedTypeArguments) == null ? void 0 : _e.map((t) => t.id), + referenceLocation: getLocation(referenceType.node) + }; + } + let conditionalProperties = {}; + if (type.flags & 16777216 /* Conditional */) { + const conditionalType = type; + conditionalProperties = { + conditionalCheckType: (_f = conditionalType.checkType) == null ? void 0 : _f.id, + conditionalExtendsType: (_g = conditionalType.extendsType) == null ? void 0 : _g.id, + conditionalTrueType: ((_h = conditionalType.resolvedTrueType) == null ? void 0 : _h.id) ?? -1, + conditionalFalseType: ((_i = conditionalType.resolvedFalseType) == null ? void 0 : _i.id) ?? -1 + }; + } + let substitutionProperties = {}; + if (type.flags & 33554432 /* Substitution */) { + const substitutionType = type; + substitutionProperties = { + substitutionBaseType: (_j = substitutionType.baseType) == null ? void 0 : _j.id, + constraintType: (_k = substitutionType.constraint) == null ? void 0 : _k.id + }; + } + let reverseMappedProperties = {}; + if (objectFlags & 1024 /* ReverseMapped */) { + const reverseMappedType = type; + reverseMappedProperties = { + reverseMappedSourceType: (_l = reverseMappedType.source) == null ? void 0 : _l.id, + reverseMappedMappedType: (_m = reverseMappedType.mappedType) == null ? void 0 : _m.id, + reverseMappedConstraintType: (_n = reverseMappedType.constraintType) == null ? void 0 : _n.id + }; + } + let evolvingArrayProperties = {}; + if (objectFlags & 256 /* EvolvingArray */) { + const evolvingArrayType = type; + evolvingArrayProperties = { + evolvingArrayElementType: evolvingArrayType.elementType.id, + evolvingArrayFinalType: (_o = evolvingArrayType.finalArrayType) == null ? void 0 : _o.id + }; + } + let recursionToken; + const recursionIdentity = type.checker.getRecursionIdentity(type); + if (recursionIdentity) { + recursionToken = recursionIdentityMap.get(recursionIdentity); + if (!recursionToken) { + recursionToken = recursionIdentityMap.size; + recursionIdentityMap.set(recursionIdentity, recursionToken); + } + } + const descriptor = { + id: type.id, + intrinsicName: type.intrinsicName, + symbolName: (symbol == null ? void 0 : symbol.escapedName) && unescapeLeadingUnderscores(symbol.escapedName), + recursionId: recursionToken, + isTuple: objectFlags & 8 /* Tuple */ ? true : void 0, + unionTypes: type.flags & 1048576 /* Union */ ? (_p = type.types) == null ? void 0 : _p.map((t) => t.id) : void 0, + intersectionTypes: type.flags & 2097152 /* Intersection */ ? type.types.map((t) => t.id) : void 0, + aliasTypeArguments: (_q = type.aliasTypeArguments) == null ? void 0 : _q.map((t) => t.id), + keyofType: type.flags & 4194304 /* Index */ ? (_r = type.type) == null ? void 0 : _r.id : void 0, + ...indexedAccessProperties, + ...referenceProperties, + ...conditionalProperties, + ...substitutionProperties, + ...reverseMappedProperties, + ...evolvingArrayProperties, + destructuringPattern: getLocation(type.pattern), + firstDeclaration: getLocation((_s = symbol == null ? void 0 : symbol.declarations) == null ? void 0 : _s[0]), + flags: Debug.formatTypeFlags(type.flags).split("|"), + display + }; + fs.writeSync(typesFd, JSON.stringify(descriptor)); + if (i < numTypes - 1) { + fs.writeSync(typesFd, ",\n"); + } + } + fs.writeSync(typesFd, "]\n"); + fs.closeSync(typesFd); + mark("endDumpTypes"); + measure("Dump types", "beginDumpTypes", "endDumpTypes"); + } + function dumpLegend() { + if (!legendPath) { + return; + } + fs.writeFileSync(legendPath, JSON.stringify(legend)); + } + tracingEnabled2.dumpLegend = dumpLegend; +})(tracingEnabled || (tracingEnabled = {})); +var startTracing = tracingEnabled.startTracing; +var dumpTracingLegend = tracingEnabled.dumpLegend; + +// src/compiler/types.ts +var SyntaxKind = /* @__PURE__ */ ((SyntaxKind4) => { + SyntaxKind4[SyntaxKind4["Unknown"] = 0] = "Unknown"; + SyntaxKind4[SyntaxKind4["EndOfFileToken"] = 1] = "EndOfFileToken"; + SyntaxKind4[SyntaxKind4["SingleLineCommentTrivia"] = 2] = "SingleLineCommentTrivia"; + SyntaxKind4[SyntaxKind4["MultiLineCommentTrivia"] = 3] = "MultiLineCommentTrivia"; + SyntaxKind4[SyntaxKind4["NewLineTrivia"] = 4] = "NewLineTrivia"; + SyntaxKind4[SyntaxKind4["WhitespaceTrivia"] = 5] = "WhitespaceTrivia"; + SyntaxKind4[SyntaxKind4["ShebangTrivia"] = 6] = "ShebangTrivia"; + SyntaxKind4[SyntaxKind4["ConflictMarkerTrivia"] = 7] = "ConflictMarkerTrivia"; + SyntaxKind4[SyntaxKind4["NonTextFileMarkerTrivia"] = 8] = "NonTextFileMarkerTrivia"; + SyntaxKind4[SyntaxKind4["NumericLiteral"] = 9] = "NumericLiteral"; + SyntaxKind4[SyntaxKind4["BigIntLiteral"] = 10] = "BigIntLiteral"; + SyntaxKind4[SyntaxKind4["StringLiteral"] = 11] = "StringLiteral"; + SyntaxKind4[SyntaxKind4["JsxText"] = 12] = "JsxText"; + SyntaxKind4[SyntaxKind4["JsxTextAllWhiteSpaces"] = 13] = "JsxTextAllWhiteSpaces"; + SyntaxKind4[SyntaxKind4["RegularExpressionLiteral"] = 14] = "RegularExpressionLiteral"; + SyntaxKind4[SyntaxKind4["NoSubstitutionTemplateLiteral"] = 15] = "NoSubstitutionTemplateLiteral"; + SyntaxKind4[SyntaxKind4["TemplateHead"] = 16] = "TemplateHead"; + SyntaxKind4[SyntaxKind4["TemplateMiddle"] = 17] = "TemplateMiddle"; + SyntaxKind4[SyntaxKind4["TemplateTail"] = 18] = "TemplateTail"; + SyntaxKind4[SyntaxKind4["OpenBraceToken"] = 19] = "OpenBraceToken"; + SyntaxKind4[SyntaxKind4["CloseBraceToken"] = 20] = "CloseBraceToken"; + SyntaxKind4[SyntaxKind4["OpenParenToken"] = 21] = "OpenParenToken"; + SyntaxKind4[SyntaxKind4["CloseParenToken"] = 22] = "CloseParenToken"; + SyntaxKind4[SyntaxKind4["OpenBracketToken"] = 23] = "OpenBracketToken"; + SyntaxKind4[SyntaxKind4["CloseBracketToken"] = 24] = "CloseBracketToken"; + SyntaxKind4[SyntaxKind4["DotToken"] = 25] = "DotToken"; + SyntaxKind4[SyntaxKind4["DotDotDotToken"] = 26] = "DotDotDotToken"; + SyntaxKind4[SyntaxKind4["SemicolonToken"] = 27] = "SemicolonToken"; + SyntaxKind4[SyntaxKind4["CommaToken"] = 28] = "CommaToken"; + SyntaxKind4[SyntaxKind4["QuestionDotToken"] = 29] = "QuestionDotToken"; + SyntaxKind4[SyntaxKind4["LessThanToken"] = 30] = "LessThanToken"; + SyntaxKind4[SyntaxKind4["LessThanSlashToken"] = 31] = "LessThanSlashToken"; + SyntaxKind4[SyntaxKind4["GreaterThanToken"] = 32] = "GreaterThanToken"; + SyntaxKind4[SyntaxKind4["LessThanEqualsToken"] = 33] = "LessThanEqualsToken"; + SyntaxKind4[SyntaxKind4["GreaterThanEqualsToken"] = 34] = "GreaterThanEqualsToken"; + SyntaxKind4[SyntaxKind4["EqualsEqualsToken"] = 35] = "EqualsEqualsToken"; + SyntaxKind4[SyntaxKind4["ExclamationEqualsToken"] = 36] = "ExclamationEqualsToken"; + SyntaxKind4[SyntaxKind4["EqualsEqualsEqualsToken"] = 37] = "EqualsEqualsEqualsToken"; + SyntaxKind4[SyntaxKind4["ExclamationEqualsEqualsToken"] = 38] = "ExclamationEqualsEqualsToken"; + SyntaxKind4[SyntaxKind4["EqualsGreaterThanToken"] = 39] = "EqualsGreaterThanToken"; + SyntaxKind4[SyntaxKind4["PlusToken"] = 40] = "PlusToken"; + SyntaxKind4[SyntaxKind4["MinusToken"] = 41] = "MinusToken"; + SyntaxKind4[SyntaxKind4["AsteriskToken"] = 42] = "AsteriskToken"; + SyntaxKind4[SyntaxKind4["AsteriskAsteriskToken"] = 43] = "AsteriskAsteriskToken"; + SyntaxKind4[SyntaxKind4["SlashToken"] = 44] = "SlashToken"; + SyntaxKind4[SyntaxKind4["PercentToken"] = 45] = "PercentToken"; + SyntaxKind4[SyntaxKind4["PlusPlusToken"] = 46] = "PlusPlusToken"; + SyntaxKind4[SyntaxKind4["MinusMinusToken"] = 47] = "MinusMinusToken"; + SyntaxKind4[SyntaxKind4["LessThanLessThanToken"] = 48] = "LessThanLessThanToken"; + SyntaxKind4[SyntaxKind4["GreaterThanGreaterThanToken"] = 49] = "GreaterThanGreaterThanToken"; + SyntaxKind4[SyntaxKind4["GreaterThanGreaterThanGreaterThanToken"] = 50] = "GreaterThanGreaterThanGreaterThanToken"; + SyntaxKind4[SyntaxKind4["AmpersandToken"] = 51] = "AmpersandToken"; + SyntaxKind4[SyntaxKind4["BarToken"] = 52] = "BarToken"; + SyntaxKind4[SyntaxKind4["CaretToken"] = 53] = "CaretToken"; + SyntaxKind4[SyntaxKind4["ExclamationToken"] = 54] = "ExclamationToken"; + SyntaxKind4[SyntaxKind4["TildeToken"] = 55] = "TildeToken"; + SyntaxKind4[SyntaxKind4["AmpersandAmpersandToken"] = 56] = "AmpersandAmpersandToken"; + SyntaxKind4[SyntaxKind4["BarBarToken"] = 57] = "BarBarToken"; + SyntaxKind4[SyntaxKind4["QuestionToken"] = 58] = "QuestionToken"; + SyntaxKind4[SyntaxKind4["ColonToken"] = 59] = "ColonToken"; + SyntaxKind4[SyntaxKind4["AtToken"] = 60] = "AtToken"; + SyntaxKind4[SyntaxKind4["QuestionQuestionToken"] = 61] = "QuestionQuestionToken"; + SyntaxKind4[SyntaxKind4["BacktickToken"] = 62] = "BacktickToken"; + SyntaxKind4[SyntaxKind4["HashToken"] = 63] = "HashToken"; + SyntaxKind4[SyntaxKind4["EqualsToken"] = 64] = "EqualsToken"; + SyntaxKind4[SyntaxKind4["PlusEqualsToken"] = 65] = "PlusEqualsToken"; + SyntaxKind4[SyntaxKind4["MinusEqualsToken"] = 66] = "MinusEqualsToken"; + SyntaxKind4[SyntaxKind4["AsteriskEqualsToken"] = 67] = "AsteriskEqualsToken"; + SyntaxKind4[SyntaxKind4["AsteriskAsteriskEqualsToken"] = 68] = "AsteriskAsteriskEqualsToken"; + SyntaxKind4[SyntaxKind4["SlashEqualsToken"] = 69] = "SlashEqualsToken"; + SyntaxKind4[SyntaxKind4["PercentEqualsToken"] = 70] = "PercentEqualsToken"; + SyntaxKind4[SyntaxKind4["LessThanLessThanEqualsToken"] = 71] = "LessThanLessThanEqualsToken"; + SyntaxKind4[SyntaxKind4["GreaterThanGreaterThanEqualsToken"] = 72] = "GreaterThanGreaterThanEqualsToken"; + SyntaxKind4[SyntaxKind4["GreaterThanGreaterThanGreaterThanEqualsToken"] = 73] = "GreaterThanGreaterThanGreaterThanEqualsToken"; + SyntaxKind4[SyntaxKind4["AmpersandEqualsToken"] = 74] = "AmpersandEqualsToken"; + SyntaxKind4[SyntaxKind4["BarEqualsToken"] = 75] = "BarEqualsToken"; + SyntaxKind4[SyntaxKind4["BarBarEqualsToken"] = 76] = "BarBarEqualsToken"; + SyntaxKind4[SyntaxKind4["AmpersandAmpersandEqualsToken"] = 77] = "AmpersandAmpersandEqualsToken"; + SyntaxKind4[SyntaxKind4["QuestionQuestionEqualsToken"] = 78] = "QuestionQuestionEqualsToken"; + SyntaxKind4[SyntaxKind4["CaretEqualsToken"] = 79] = "CaretEqualsToken"; + SyntaxKind4[SyntaxKind4["Identifier"] = 80] = "Identifier"; + SyntaxKind4[SyntaxKind4["PrivateIdentifier"] = 81] = "PrivateIdentifier"; + SyntaxKind4[SyntaxKind4["JSDocCommentTextToken"] = 82] = "JSDocCommentTextToken"; + SyntaxKind4[SyntaxKind4["BreakKeyword"] = 83] = "BreakKeyword"; + SyntaxKind4[SyntaxKind4["CaseKeyword"] = 84] = "CaseKeyword"; + SyntaxKind4[SyntaxKind4["CatchKeyword"] = 85] = "CatchKeyword"; + SyntaxKind4[SyntaxKind4["ClassKeyword"] = 86] = "ClassKeyword"; + SyntaxKind4[SyntaxKind4["ConstKeyword"] = 87] = "ConstKeyword"; + SyntaxKind4[SyntaxKind4["ContinueKeyword"] = 88] = "ContinueKeyword"; + SyntaxKind4[SyntaxKind4["DebuggerKeyword"] = 89] = "DebuggerKeyword"; + SyntaxKind4[SyntaxKind4["DefaultKeyword"] = 90] = "DefaultKeyword"; + SyntaxKind4[SyntaxKind4["DeleteKeyword"] = 91] = "DeleteKeyword"; + SyntaxKind4[SyntaxKind4["DoKeyword"] = 92] = "DoKeyword"; + SyntaxKind4[SyntaxKind4["ElseKeyword"] = 93] = "ElseKeyword"; + SyntaxKind4[SyntaxKind4["EnumKeyword"] = 94] = "EnumKeyword"; + SyntaxKind4[SyntaxKind4["ExportKeyword"] = 95] = "ExportKeyword"; + SyntaxKind4[SyntaxKind4["ExtendsKeyword"] = 96] = "ExtendsKeyword"; + SyntaxKind4[SyntaxKind4["FalseKeyword"] = 97] = "FalseKeyword"; + SyntaxKind4[SyntaxKind4["FinallyKeyword"] = 98] = "FinallyKeyword"; + SyntaxKind4[SyntaxKind4["ForKeyword"] = 99] = "ForKeyword"; + SyntaxKind4[SyntaxKind4["FunctionKeyword"] = 100] = "FunctionKeyword"; + SyntaxKind4[SyntaxKind4["IfKeyword"] = 101] = "IfKeyword"; + SyntaxKind4[SyntaxKind4["ImportKeyword"] = 102] = "ImportKeyword"; + SyntaxKind4[SyntaxKind4["InKeyword"] = 103] = "InKeyword"; + SyntaxKind4[SyntaxKind4["InstanceOfKeyword"] = 104] = "InstanceOfKeyword"; + SyntaxKind4[SyntaxKind4["NewKeyword"] = 105] = "NewKeyword"; + SyntaxKind4[SyntaxKind4["NullKeyword"] = 106] = "NullKeyword"; + SyntaxKind4[SyntaxKind4["ReturnKeyword"] = 107] = "ReturnKeyword"; + SyntaxKind4[SyntaxKind4["SuperKeyword"] = 108] = "SuperKeyword"; + SyntaxKind4[SyntaxKind4["SwitchKeyword"] = 109] = "SwitchKeyword"; + SyntaxKind4[SyntaxKind4["ThisKeyword"] = 110] = "ThisKeyword"; + SyntaxKind4[SyntaxKind4["ThrowKeyword"] = 111] = "ThrowKeyword"; + SyntaxKind4[SyntaxKind4["TrueKeyword"] = 112] = "TrueKeyword"; + SyntaxKind4[SyntaxKind4["TryKeyword"] = 113] = "TryKeyword"; + SyntaxKind4[SyntaxKind4["TypeOfKeyword"] = 114] = "TypeOfKeyword"; + SyntaxKind4[SyntaxKind4["VarKeyword"] = 115] = "VarKeyword"; + SyntaxKind4[SyntaxKind4["VoidKeyword"] = 116] = "VoidKeyword"; + SyntaxKind4[SyntaxKind4["WhileKeyword"] = 117] = "WhileKeyword"; + SyntaxKind4[SyntaxKind4["WithKeyword"] = 118] = "WithKeyword"; + SyntaxKind4[SyntaxKind4["ImplementsKeyword"] = 119] = "ImplementsKeyword"; + SyntaxKind4[SyntaxKind4["InterfaceKeyword"] = 120] = "InterfaceKeyword"; + SyntaxKind4[SyntaxKind4["LetKeyword"] = 121] = "LetKeyword"; + SyntaxKind4[SyntaxKind4["PackageKeyword"] = 122] = "PackageKeyword"; + SyntaxKind4[SyntaxKind4["PrivateKeyword"] = 123] = "PrivateKeyword"; + SyntaxKind4[SyntaxKind4["ProtectedKeyword"] = 124] = "ProtectedKeyword"; + SyntaxKind4[SyntaxKind4["PublicKeyword"] = 125] = "PublicKeyword"; + SyntaxKind4[SyntaxKind4["StaticKeyword"] = 126] = "StaticKeyword"; + SyntaxKind4[SyntaxKind4["YieldKeyword"] = 127] = "YieldKeyword"; + SyntaxKind4[SyntaxKind4["AbstractKeyword"] = 128] = "AbstractKeyword"; + SyntaxKind4[SyntaxKind4["AccessorKeyword"] = 129] = "AccessorKeyword"; + SyntaxKind4[SyntaxKind4["AsKeyword"] = 130] = "AsKeyword"; + SyntaxKind4[SyntaxKind4["AssertsKeyword"] = 131] = "AssertsKeyword"; + SyntaxKind4[SyntaxKind4["AssertKeyword"] = 132] = "AssertKeyword"; + SyntaxKind4[SyntaxKind4["AnyKeyword"] = 133] = "AnyKeyword"; + SyntaxKind4[SyntaxKind4["AsyncKeyword"] = 134] = "AsyncKeyword"; + SyntaxKind4[SyntaxKind4["AwaitKeyword"] = 135] = "AwaitKeyword"; + SyntaxKind4[SyntaxKind4["BooleanKeyword"] = 136] = "BooleanKeyword"; + SyntaxKind4[SyntaxKind4["ConstructorKeyword"] = 137] = "ConstructorKeyword"; + SyntaxKind4[SyntaxKind4["DeclareKeyword"] = 138] = "DeclareKeyword"; + SyntaxKind4[SyntaxKind4["GetKeyword"] = 139] = "GetKeyword"; + SyntaxKind4[SyntaxKind4["InferKeyword"] = 140] = "InferKeyword"; + SyntaxKind4[SyntaxKind4["IntrinsicKeyword"] = 141] = "IntrinsicKeyword"; + SyntaxKind4[SyntaxKind4["IsKeyword"] = 142] = "IsKeyword"; + SyntaxKind4[SyntaxKind4["KeyOfKeyword"] = 143] = "KeyOfKeyword"; + SyntaxKind4[SyntaxKind4["ModuleKeyword"] = 144] = "ModuleKeyword"; + SyntaxKind4[SyntaxKind4["NamespaceKeyword"] = 145] = "NamespaceKeyword"; + SyntaxKind4[SyntaxKind4["NeverKeyword"] = 146] = "NeverKeyword"; + SyntaxKind4[SyntaxKind4["OutKeyword"] = 147] = "OutKeyword"; + SyntaxKind4[SyntaxKind4["ReadonlyKeyword"] = 148] = "ReadonlyKeyword"; + SyntaxKind4[SyntaxKind4["RequireKeyword"] = 149] = "RequireKeyword"; + SyntaxKind4[SyntaxKind4["NumberKeyword"] = 150] = "NumberKeyword"; + SyntaxKind4[SyntaxKind4["ObjectKeyword"] = 151] = "ObjectKeyword"; + SyntaxKind4[SyntaxKind4["SatisfiesKeyword"] = 152] = "SatisfiesKeyword"; + SyntaxKind4[SyntaxKind4["SetKeyword"] = 153] = "SetKeyword"; + SyntaxKind4[SyntaxKind4["StringKeyword"] = 154] = "StringKeyword"; + SyntaxKind4[SyntaxKind4["SymbolKeyword"] = 155] = "SymbolKeyword"; + SyntaxKind4[SyntaxKind4["TypeKeyword"] = 156] = "TypeKeyword"; + SyntaxKind4[SyntaxKind4["UndefinedKeyword"] = 157] = "UndefinedKeyword"; + SyntaxKind4[SyntaxKind4["UniqueKeyword"] = 158] = "UniqueKeyword"; + SyntaxKind4[SyntaxKind4["UnknownKeyword"] = 159] = "UnknownKeyword"; + SyntaxKind4[SyntaxKind4["UsingKeyword"] = 160] = "UsingKeyword"; + SyntaxKind4[SyntaxKind4["FromKeyword"] = 161] = "FromKeyword"; + SyntaxKind4[SyntaxKind4["GlobalKeyword"] = 162] = "GlobalKeyword"; + SyntaxKind4[SyntaxKind4["BigIntKeyword"] = 163] = "BigIntKeyword"; + SyntaxKind4[SyntaxKind4["OverrideKeyword"] = 164] = "OverrideKeyword"; + SyntaxKind4[SyntaxKind4["OfKeyword"] = 165] = "OfKeyword"; + SyntaxKind4[SyntaxKind4["QualifiedName"] = 166] = "QualifiedName"; + SyntaxKind4[SyntaxKind4["ComputedPropertyName"] = 167] = "ComputedPropertyName"; + SyntaxKind4[SyntaxKind4["TypeParameter"] = 168] = "TypeParameter"; + SyntaxKind4[SyntaxKind4["Parameter"] = 169] = "Parameter"; + SyntaxKind4[SyntaxKind4["Decorator"] = 170] = "Decorator"; + SyntaxKind4[SyntaxKind4["PropertySignature"] = 171] = "PropertySignature"; + SyntaxKind4[SyntaxKind4["PropertyDeclaration"] = 172] = "PropertyDeclaration"; + SyntaxKind4[SyntaxKind4["MethodSignature"] = 173] = "MethodSignature"; + SyntaxKind4[SyntaxKind4["MethodDeclaration"] = 174] = "MethodDeclaration"; + SyntaxKind4[SyntaxKind4["ClassStaticBlockDeclaration"] = 175] = "ClassStaticBlockDeclaration"; + SyntaxKind4[SyntaxKind4["Constructor"] = 176] = "Constructor"; + SyntaxKind4[SyntaxKind4["GetAccessor"] = 177] = "GetAccessor"; + SyntaxKind4[SyntaxKind4["SetAccessor"] = 178] = "SetAccessor"; + SyntaxKind4[SyntaxKind4["CallSignature"] = 179] = "CallSignature"; + SyntaxKind4[SyntaxKind4["ConstructSignature"] = 180] = "ConstructSignature"; + SyntaxKind4[SyntaxKind4["IndexSignature"] = 181] = "IndexSignature"; + SyntaxKind4[SyntaxKind4["TypePredicate"] = 182] = "TypePredicate"; + SyntaxKind4[SyntaxKind4["TypeReference"] = 183] = "TypeReference"; + SyntaxKind4[SyntaxKind4["FunctionType"] = 184] = "FunctionType"; + SyntaxKind4[SyntaxKind4["ConstructorType"] = 185] = "ConstructorType"; + SyntaxKind4[SyntaxKind4["TypeQuery"] = 186] = "TypeQuery"; + SyntaxKind4[SyntaxKind4["TypeLiteral"] = 187] = "TypeLiteral"; + SyntaxKind4[SyntaxKind4["ArrayType"] = 188] = "ArrayType"; + SyntaxKind4[SyntaxKind4["TupleType"] = 189] = "TupleType"; + SyntaxKind4[SyntaxKind4["OptionalType"] = 190] = "OptionalType"; + SyntaxKind4[SyntaxKind4["RestType"] = 191] = "RestType"; + SyntaxKind4[SyntaxKind4["UnionType"] = 192] = "UnionType"; + SyntaxKind4[SyntaxKind4["IntersectionType"] = 193] = "IntersectionType"; + SyntaxKind4[SyntaxKind4["ConditionalType"] = 194] = "ConditionalType"; + SyntaxKind4[SyntaxKind4["InferType"] = 195] = "InferType"; + SyntaxKind4[SyntaxKind4["ParenthesizedType"] = 196] = "ParenthesizedType"; + SyntaxKind4[SyntaxKind4["ThisType"] = 197] = "ThisType"; + SyntaxKind4[SyntaxKind4["TypeOperator"] = 198] = "TypeOperator"; + SyntaxKind4[SyntaxKind4["IndexedAccessType"] = 199] = "IndexedAccessType"; + SyntaxKind4[SyntaxKind4["MappedType"] = 200] = "MappedType"; + SyntaxKind4[SyntaxKind4["LiteralType"] = 201] = "LiteralType"; + SyntaxKind4[SyntaxKind4["NamedTupleMember"] = 202] = "NamedTupleMember"; + SyntaxKind4[SyntaxKind4["TemplateLiteralType"] = 203] = "TemplateLiteralType"; + SyntaxKind4[SyntaxKind4["TemplateLiteralTypeSpan"] = 204] = "TemplateLiteralTypeSpan"; + SyntaxKind4[SyntaxKind4["ImportType"] = 205] = "ImportType"; + SyntaxKind4[SyntaxKind4["ObjectBindingPattern"] = 206] = "ObjectBindingPattern"; + SyntaxKind4[SyntaxKind4["ArrayBindingPattern"] = 207] = "ArrayBindingPattern"; + SyntaxKind4[SyntaxKind4["BindingElement"] = 208] = "BindingElement"; + SyntaxKind4[SyntaxKind4["ArrayLiteralExpression"] = 209] = "ArrayLiteralExpression"; + SyntaxKind4[SyntaxKind4["ObjectLiteralExpression"] = 210] = "ObjectLiteralExpression"; + SyntaxKind4[SyntaxKind4["PropertyAccessExpression"] = 211] = "PropertyAccessExpression"; + SyntaxKind4[SyntaxKind4["ElementAccessExpression"] = 212] = "ElementAccessExpression"; + SyntaxKind4[SyntaxKind4["CallExpression"] = 213] = "CallExpression"; + SyntaxKind4[SyntaxKind4["NewExpression"] = 214] = "NewExpression"; + SyntaxKind4[SyntaxKind4["TaggedTemplateExpression"] = 215] = "TaggedTemplateExpression"; + SyntaxKind4[SyntaxKind4["TypeAssertionExpression"] = 216] = "TypeAssertionExpression"; + SyntaxKind4[SyntaxKind4["ParenthesizedExpression"] = 217] = "ParenthesizedExpression"; + SyntaxKind4[SyntaxKind4["FunctionExpression"] = 218] = "FunctionExpression"; + SyntaxKind4[SyntaxKind4["ArrowFunction"] = 219] = "ArrowFunction"; + SyntaxKind4[SyntaxKind4["DeleteExpression"] = 220] = "DeleteExpression"; + SyntaxKind4[SyntaxKind4["TypeOfExpression"] = 221] = "TypeOfExpression"; + SyntaxKind4[SyntaxKind4["VoidExpression"] = 222] = "VoidExpression"; + SyntaxKind4[SyntaxKind4["AwaitExpression"] = 223] = "AwaitExpression"; + SyntaxKind4[SyntaxKind4["PrefixUnaryExpression"] = 224] = "PrefixUnaryExpression"; + SyntaxKind4[SyntaxKind4["PostfixUnaryExpression"] = 225] = "PostfixUnaryExpression"; + SyntaxKind4[SyntaxKind4["BinaryExpression"] = 226] = "BinaryExpression"; + SyntaxKind4[SyntaxKind4["ConditionalExpression"] = 227] = "ConditionalExpression"; + SyntaxKind4[SyntaxKind4["TemplateExpression"] = 228] = "TemplateExpression"; + SyntaxKind4[SyntaxKind4["YieldExpression"] = 229] = "YieldExpression"; + SyntaxKind4[SyntaxKind4["SpreadElement"] = 230] = "SpreadElement"; + SyntaxKind4[SyntaxKind4["ClassExpression"] = 231] = "ClassExpression"; + SyntaxKind4[SyntaxKind4["OmittedExpression"] = 232] = "OmittedExpression"; + SyntaxKind4[SyntaxKind4["ExpressionWithTypeArguments"] = 233] = "ExpressionWithTypeArguments"; + SyntaxKind4[SyntaxKind4["AsExpression"] = 234] = "AsExpression"; + SyntaxKind4[SyntaxKind4["NonNullExpression"] = 235] = "NonNullExpression"; + SyntaxKind4[SyntaxKind4["MetaProperty"] = 236] = "MetaProperty"; + SyntaxKind4[SyntaxKind4["SyntheticExpression"] = 237] = "SyntheticExpression"; + SyntaxKind4[SyntaxKind4["SatisfiesExpression"] = 238] = "SatisfiesExpression"; + SyntaxKind4[SyntaxKind4["TemplateSpan"] = 239] = "TemplateSpan"; + SyntaxKind4[SyntaxKind4["SemicolonClassElement"] = 240] = "SemicolonClassElement"; + SyntaxKind4[SyntaxKind4["Block"] = 241] = "Block"; + SyntaxKind4[SyntaxKind4["EmptyStatement"] = 242] = "EmptyStatement"; + SyntaxKind4[SyntaxKind4["VariableStatement"] = 243] = "VariableStatement"; + SyntaxKind4[SyntaxKind4["ExpressionStatement"] = 244] = "ExpressionStatement"; + SyntaxKind4[SyntaxKind4["IfStatement"] = 245] = "IfStatement"; + SyntaxKind4[SyntaxKind4["DoStatement"] = 246] = "DoStatement"; + SyntaxKind4[SyntaxKind4["WhileStatement"] = 247] = "WhileStatement"; + SyntaxKind4[SyntaxKind4["ForStatement"] = 248] = "ForStatement"; + SyntaxKind4[SyntaxKind4["ForInStatement"] = 249] = "ForInStatement"; + SyntaxKind4[SyntaxKind4["ForOfStatement"] = 250] = "ForOfStatement"; + SyntaxKind4[SyntaxKind4["ContinueStatement"] = 251] = "ContinueStatement"; + SyntaxKind4[SyntaxKind4["BreakStatement"] = 252] = "BreakStatement"; + SyntaxKind4[SyntaxKind4["ReturnStatement"] = 253] = "ReturnStatement"; + SyntaxKind4[SyntaxKind4["WithStatement"] = 254] = "WithStatement"; + SyntaxKind4[SyntaxKind4["SwitchStatement"] = 255] = "SwitchStatement"; + SyntaxKind4[SyntaxKind4["LabeledStatement"] = 256] = "LabeledStatement"; + SyntaxKind4[SyntaxKind4["ThrowStatement"] = 257] = "ThrowStatement"; + SyntaxKind4[SyntaxKind4["TryStatement"] = 258] = "TryStatement"; + SyntaxKind4[SyntaxKind4["DebuggerStatement"] = 259] = "DebuggerStatement"; + SyntaxKind4[SyntaxKind4["VariableDeclaration"] = 260] = "VariableDeclaration"; + SyntaxKind4[SyntaxKind4["VariableDeclarationList"] = 261] = "VariableDeclarationList"; + SyntaxKind4[SyntaxKind4["FunctionDeclaration"] = 262] = "FunctionDeclaration"; + SyntaxKind4[SyntaxKind4["ClassDeclaration"] = 263] = "ClassDeclaration"; + SyntaxKind4[SyntaxKind4["InterfaceDeclaration"] = 264] = "InterfaceDeclaration"; + SyntaxKind4[SyntaxKind4["TypeAliasDeclaration"] = 265] = "TypeAliasDeclaration"; + SyntaxKind4[SyntaxKind4["EnumDeclaration"] = 266] = "EnumDeclaration"; + SyntaxKind4[SyntaxKind4["ModuleDeclaration"] = 267] = "ModuleDeclaration"; + SyntaxKind4[SyntaxKind4["ModuleBlock"] = 268] = "ModuleBlock"; + SyntaxKind4[SyntaxKind4["CaseBlock"] = 269] = "CaseBlock"; + SyntaxKind4[SyntaxKind4["NamespaceExportDeclaration"] = 270] = "NamespaceExportDeclaration"; + SyntaxKind4[SyntaxKind4["ImportEqualsDeclaration"] = 271] = "ImportEqualsDeclaration"; + SyntaxKind4[SyntaxKind4["ImportDeclaration"] = 272] = "ImportDeclaration"; + SyntaxKind4[SyntaxKind4["ImportClause"] = 273] = "ImportClause"; + SyntaxKind4[SyntaxKind4["NamespaceImport"] = 274] = "NamespaceImport"; + SyntaxKind4[SyntaxKind4["NamedImports"] = 275] = "NamedImports"; + SyntaxKind4[SyntaxKind4["ImportSpecifier"] = 276] = "ImportSpecifier"; + SyntaxKind4[SyntaxKind4["ExportAssignment"] = 277] = "ExportAssignment"; + SyntaxKind4[SyntaxKind4["ExportDeclaration"] = 278] = "ExportDeclaration"; + SyntaxKind4[SyntaxKind4["NamedExports"] = 279] = "NamedExports"; + SyntaxKind4[SyntaxKind4["NamespaceExport"] = 280] = "NamespaceExport"; + SyntaxKind4[SyntaxKind4["ExportSpecifier"] = 281] = "ExportSpecifier"; + SyntaxKind4[SyntaxKind4["MissingDeclaration"] = 282] = "MissingDeclaration"; + SyntaxKind4[SyntaxKind4["ExternalModuleReference"] = 283] = "ExternalModuleReference"; + SyntaxKind4[SyntaxKind4["JsxElement"] = 284] = "JsxElement"; + SyntaxKind4[SyntaxKind4["JsxSelfClosingElement"] = 285] = "JsxSelfClosingElement"; + SyntaxKind4[SyntaxKind4["JsxOpeningElement"] = 286] = "JsxOpeningElement"; + SyntaxKind4[SyntaxKind4["JsxClosingElement"] = 287] = "JsxClosingElement"; + SyntaxKind4[SyntaxKind4["JsxFragment"] = 288] = "JsxFragment"; + SyntaxKind4[SyntaxKind4["JsxOpeningFragment"] = 289] = "JsxOpeningFragment"; + SyntaxKind4[SyntaxKind4["JsxClosingFragment"] = 290] = "JsxClosingFragment"; + SyntaxKind4[SyntaxKind4["JsxAttribute"] = 291] = "JsxAttribute"; + SyntaxKind4[SyntaxKind4["JsxAttributes"] = 292] = "JsxAttributes"; + SyntaxKind4[SyntaxKind4["JsxSpreadAttribute"] = 293] = "JsxSpreadAttribute"; + SyntaxKind4[SyntaxKind4["JsxExpression"] = 294] = "JsxExpression"; + SyntaxKind4[SyntaxKind4["JsxNamespacedName"] = 295] = "JsxNamespacedName"; + SyntaxKind4[SyntaxKind4["CaseClause"] = 296] = "CaseClause"; + SyntaxKind4[SyntaxKind4["DefaultClause"] = 297] = "DefaultClause"; + SyntaxKind4[SyntaxKind4["HeritageClause"] = 298] = "HeritageClause"; + SyntaxKind4[SyntaxKind4["CatchClause"] = 299] = "CatchClause"; + SyntaxKind4[SyntaxKind4["ImportAttributes"] = 300] = "ImportAttributes"; + SyntaxKind4[SyntaxKind4["ImportAttribute"] = 301] = "ImportAttribute"; + SyntaxKind4[SyntaxKind4["AssertClause"] = 300 /* ImportAttributes */] = "AssertClause"; + SyntaxKind4[SyntaxKind4["AssertEntry"] = 301 /* ImportAttribute */] = "AssertEntry"; + SyntaxKind4[SyntaxKind4["ImportTypeAssertionContainer"] = 302] = "ImportTypeAssertionContainer"; + SyntaxKind4[SyntaxKind4["PropertyAssignment"] = 303] = "PropertyAssignment"; + SyntaxKind4[SyntaxKind4["ShorthandPropertyAssignment"] = 304] = "ShorthandPropertyAssignment"; + SyntaxKind4[SyntaxKind4["SpreadAssignment"] = 305] = "SpreadAssignment"; + SyntaxKind4[SyntaxKind4["EnumMember"] = 306] = "EnumMember"; + SyntaxKind4[SyntaxKind4["SourceFile"] = 307] = "SourceFile"; + SyntaxKind4[SyntaxKind4["Bundle"] = 308] = "Bundle"; + SyntaxKind4[SyntaxKind4["JSDocTypeExpression"] = 309] = "JSDocTypeExpression"; + SyntaxKind4[SyntaxKind4["JSDocNameReference"] = 310] = "JSDocNameReference"; + SyntaxKind4[SyntaxKind4["JSDocMemberName"] = 311] = "JSDocMemberName"; + SyntaxKind4[SyntaxKind4["JSDocAllType"] = 312] = "JSDocAllType"; + SyntaxKind4[SyntaxKind4["JSDocUnknownType"] = 313] = "JSDocUnknownType"; + SyntaxKind4[SyntaxKind4["JSDocNullableType"] = 314] = "JSDocNullableType"; + SyntaxKind4[SyntaxKind4["JSDocNonNullableType"] = 315] = "JSDocNonNullableType"; + SyntaxKind4[SyntaxKind4["JSDocOptionalType"] = 316] = "JSDocOptionalType"; + SyntaxKind4[SyntaxKind4["JSDocFunctionType"] = 317] = "JSDocFunctionType"; + SyntaxKind4[SyntaxKind4["JSDocVariadicType"] = 318] = "JSDocVariadicType"; + SyntaxKind4[SyntaxKind4["JSDocNamepathType"] = 319] = "JSDocNamepathType"; + SyntaxKind4[SyntaxKind4["JSDoc"] = 320] = "JSDoc"; + SyntaxKind4[SyntaxKind4["JSDocComment"] = 320 /* JSDoc */] = "JSDocComment"; + SyntaxKind4[SyntaxKind4["JSDocText"] = 321] = "JSDocText"; + SyntaxKind4[SyntaxKind4["JSDocTypeLiteral"] = 322] = "JSDocTypeLiteral"; + SyntaxKind4[SyntaxKind4["JSDocSignature"] = 323] = "JSDocSignature"; + SyntaxKind4[SyntaxKind4["JSDocLink"] = 324] = "JSDocLink"; + SyntaxKind4[SyntaxKind4["JSDocLinkCode"] = 325] = "JSDocLinkCode"; + SyntaxKind4[SyntaxKind4["JSDocLinkPlain"] = 326] = "JSDocLinkPlain"; + SyntaxKind4[SyntaxKind4["JSDocTag"] = 327] = "JSDocTag"; + SyntaxKind4[SyntaxKind4["JSDocAugmentsTag"] = 328] = "JSDocAugmentsTag"; + SyntaxKind4[SyntaxKind4["JSDocImplementsTag"] = 329] = "JSDocImplementsTag"; + SyntaxKind4[SyntaxKind4["JSDocAuthorTag"] = 330] = "JSDocAuthorTag"; + SyntaxKind4[SyntaxKind4["JSDocDeprecatedTag"] = 331] = "JSDocDeprecatedTag"; + SyntaxKind4[SyntaxKind4["JSDocClassTag"] = 332] = "JSDocClassTag"; + SyntaxKind4[SyntaxKind4["JSDocPublicTag"] = 333] = "JSDocPublicTag"; + SyntaxKind4[SyntaxKind4["JSDocPrivateTag"] = 334] = "JSDocPrivateTag"; + SyntaxKind4[SyntaxKind4["JSDocProtectedTag"] = 335] = "JSDocProtectedTag"; + SyntaxKind4[SyntaxKind4["JSDocReadonlyTag"] = 336] = "JSDocReadonlyTag"; + SyntaxKind4[SyntaxKind4["JSDocOverrideTag"] = 337] = "JSDocOverrideTag"; + SyntaxKind4[SyntaxKind4["JSDocCallbackTag"] = 338] = "JSDocCallbackTag"; + SyntaxKind4[SyntaxKind4["JSDocOverloadTag"] = 339] = "JSDocOverloadTag"; + SyntaxKind4[SyntaxKind4["JSDocEnumTag"] = 340] = "JSDocEnumTag"; + SyntaxKind4[SyntaxKind4["JSDocParameterTag"] = 341] = "JSDocParameterTag"; + SyntaxKind4[SyntaxKind4["JSDocReturnTag"] = 342] = "JSDocReturnTag"; + SyntaxKind4[SyntaxKind4["JSDocThisTag"] = 343] = "JSDocThisTag"; + SyntaxKind4[SyntaxKind4["JSDocTypeTag"] = 344] = "JSDocTypeTag"; + SyntaxKind4[SyntaxKind4["JSDocTemplateTag"] = 345] = "JSDocTemplateTag"; + SyntaxKind4[SyntaxKind4["JSDocTypedefTag"] = 346] = "JSDocTypedefTag"; + SyntaxKind4[SyntaxKind4["JSDocSeeTag"] = 347] = "JSDocSeeTag"; + SyntaxKind4[SyntaxKind4["JSDocPropertyTag"] = 348] = "JSDocPropertyTag"; + SyntaxKind4[SyntaxKind4["JSDocThrowsTag"] = 349] = "JSDocThrowsTag"; + SyntaxKind4[SyntaxKind4["JSDocSatisfiesTag"] = 350] = "JSDocSatisfiesTag"; + SyntaxKind4[SyntaxKind4["JSDocImportTag"] = 351] = "JSDocImportTag"; + SyntaxKind4[SyntaxKind4["SyntaxList"] = 352] = "SyntaxList"; + SyntaxKind4[SyntaxKind4["NotEmittedStatement"] = 353] = "NotEmittedStatement"; + SyntaxKind4[SyntaxKind4["NotEmittedTypeElement"] = 354] = "NotEmittedTypeElement"; + SyntaxKind4[SyntaxKind4["PartiallyEmittedExpression"] = 355] = "PartiallyEmittedExpression"; + SyntaxKind4[SyntaxKind4["CommaListExpression"] = 356] = "CommaListExpression"; + SyntaxKind4[SyntaxKind4["SyntheticReferenceExpression"] = 357] = "SyntheticReferenceExpression"; + SyntaxKind4[SyntaxKind4["Count"] = 358] = "Count"; + SyntaxKind4[SyntaxKind4["FirstAssignment"] = 64 /* EqualsToken */] = "FirstAssignment"; + SyntaxKind4[SyntaxKind4["LastAssignment"] = 79 /* CaretEqualsToken */] = "LastAssignment"; + SyntaxKind4[SyntaxKind4["FirstCompoundAssignment"] = 65 /* PlusEqualsToken */] = "FirstCompoundAssignment"; + SyntaxKind4[SyntaxKind4["LastCompoundAssignment"] = 79 /* CaretEqualsToken */] = "LastCompoundAssignment"; + SyntaxKind4[SyntaxKind4["FirstReservedWord"] = 83 /* BreakKeyword */] = "FirstReservedWord"; + SyntaxKind4[SyntaxKind4["LastReservedWord"] = 118 /* WithKeyword */] = "LastReservedWord"; + SyntaxKind4[SyntaxKind4["FirstKeyword"] = 83 /* BreakKeyword */] = "FirstKeyword"; + SyntaxKind4[SyntaxKind4["LastKeyword"] = 165 /* OfKeyword */] = "LastKeyword"; + SyntaxKind4[SyntaxKind4["FirstFutureReservedWord"] = 119 /* ImplementsKeyword */] = "FirstFutureReservedWord"; + SyntaxKind4[SyntaxKind4["LastFutureReservedWord"] = 127 /* YieldKeyword */] = "LastFutureReservedWord"; + SyntaxKind4[SyntaxKind4["FirstTypeNode"] = 182 /* TypePredicate */] = "FirstTypeNode"; + SyntaxKind4[SyntaxKind4["LastTypeNode"] = 205 /* ImportType */] = "LastTypeNode"; + SyntaxKind4[SyntaxKind4["FirstPunctuation"] = 19 /* OpenBraceToken */] = "FirstPunctuation"; + SyntaxKind4[SyntaxKind4["LastPunctuation"] = 79 /* CaretEqualsToken */] = "LastPunctuation"; + SyntaxKind4[SyntaxKind4["FirstToken"] = 0 /* Unknown */] = "FirstToken"; + SyntaxKind4[SyntaxKind4["LastToken"] = 165 /* LastKeyword */] = "LastToken"; + SyntaxKind4[SyntaxKind4["FirstTriviaToken"] = 2 /* SingleLineCommentTrivia */] = "FirstTriviaToken"; + SyntaxKind4[SyntaxKind4["LastTriviaToken"] = 7 /* ConflictMarkerTrivia */] = "LastTriviaToken"; + SyntaxKind4[SyntaxKind4["FirstLiteralToken"] = 9 /* NumericLiteral */] = "FirstLiteralToken"; + SyntaxKind4[SyntaxKind4["LastLiteralToken"] = 15 /* NoSubstitutionTemplateLiteral */] = "LastLiteralToken"; + SyntaxKind4[SyntaxKind4["FirstTemplateToken"] = 15 /* NoSubstitutionTemplateLiteral */] = "FirstTemplateToken"; + SyntaxKind4[SyntaxKind4["LastTemplateToken"] = 18 /* TemplateTail */] = "LastTemplateToken"; + SyntaxKind4[SyntaxKind4["FirstBinaryOperator"] = 30 /* LessThanToken */] = "FirstBinaryOperator"; + SyntaxKind4[SyntaxKind4["LastBinaryOperator"] = 79 /* CaretEqualsToken */] = "LastBinaryOperator"; + SyntaxKind4[SyntaxKind4["FirstStatement"] = 243 /* VariableStatement */] = "FirstStatement"; + SyntaxKind4[SyntaxKind4["LastStatement"] = 259 /* DebuggerStatement */] = "LastStatement"; + SyntaxKind4[SyntaxKind4["FirstNode"] = 166 /* QualifiedName */] = "FirstNode"; + SyntaxKind4[SyntaxKind4["FirstJSDocNode"] = 309 /* JSDocTypeExpression */] = "FirstJSDocNode"; + SyntaxKind4[SyntaxKind4["LastJSDocNode"] = 351 /* JSDocImportTag */] = "LastJSDocNode"; + SyntaxKind4[SyntaxKind4["FirstJSDocTagNode"] = 327 /* JSDocTag */] = "FirstJSDocTagNode"; + SyntaxKind4[SyntaxKind4["LastJSDocTagNode"] = 351 /* JSDocImportTag */] = "LastJSDocTagNode"; + SyntaxKind4[SyntaxKind4["FirstContextualKeyword"] = 128 /* AbstractKeyword */] = "FirstContextualKeyword"; + SyntaxKind4[SyntaxKind4["LastContextualKeyword"] = 165 /* OfKeyword */] = "LastContextualKeyword"; + return SyntaxKind4; +})(SyntaxKind || {}); +var NodeFlags = /* @__PURE__ */ ((NodeFlags3) => { + NodeFlags3[NodeFlags3["None"] = 0] = "None"; + NodeFlags3[NodeFlags3["Let"] = 1] = "Let"; + NodeFlags3[NodeFlags3["Const"] = 2] = "Const"; + NodeFlags3[NodeFlags3["Using"] = 4] = "Using"; + NodeFlags3[NodeFlags3["AwaitUsing"] = 6] = "AwaitUsing"; + NodeFlags3[NodeFlags3["NestedNamespace"] = 8] = "NestedNamespace"; + NodeFlags3[NodeFlags3["Synthesized"] = 16] = "Synthesized"; + NodeFlags3[NodeFlags3["Namespace"] = 32] = "Namespace"; + NodeFlags3[NodeFlags3["OptionalChain"] = 64] = "OptionalChain"; + NodeFlags3[NodeFlags3["ExportContext"] = 128] = "ExportContext"; + NodeFlags3[NodeFlags3["ContainsThis"] = 256] = "ContainsThis"; + NodeFlags3[NodeFlags3["HasImplicitReturn"] = 512] = "HasImplicitReturn"; + NodeFlags3[NodeFlags3["HasExplicitReturn"] = 1024] = "HasExplicitReturn"; + NodeFlags3[NodeFlags3["GlobalAugmentation"] = 2048] = "GlobalAugmentation"; + NodeFlags3[NodeFlags3["HasAsyncFunctions"] = 4096] = "HasAsyncFunctions"; + NodeFlags3[NodeFlags3["DisallowInContext"] = 8192] = "DisallowInContext"; + NodeFlags3[NodeFlags3["YieldContext"] = 16384] = "YieldContext"; + NodeFlags3[NodeFlags3["DecoratorContext"] = 32768] = "DecoratorContext"; + NodeFlags3[NodeFlags3["AwaitContext"] = 65536] = "AwaitContext"; + NodeFlags3[NodeFlags3["DisallowConditionalTypesContext"] = 131072] = "DisallowConditionalTypesContext"; + NodeFlags3[NodeFlags3["ThisNodeHasError"] = 262144] = "ThisNodeHasError"; + NodeFlags3[NodeFlags3["JavaScriptFile"] = 524288] = "JavaScriptFile"; + NodeFlags3[NodeFlags3["ThisNodeOrAnySubNodesHasError"] = 1048576] = "ThisNodeOrAnySubNodesHasError"; + NodeFlags3[NodeFlags3["HasAggregatedChildData"] = 2097152] = "HasAggregatedChildData"; + NodeFlags3[NodeFlags3["PossiblyContainsDynamicImport"] = 4194304] = "PossiblyContainsDynamicImport"; + NodeFlags3[NodeFlags3["PossiblyContainsImportMeta"] = 8388608] = "PossiblyContainsImportMeta"; + NodeFlags3[NodeFlags3["JSDoc"] = 16777216] = "JSDoc"; + NodeFlags3[NodeFlags3["Ambient"] = 33554432] = "Ambient"; + NodeFlags3[NodeFlags3["InWithStatement"] = 67108864] = "InWithStatement"; + NodeFlags3[NodeFlags3["JsonFile"] = 134217728] = "JsonFile"; + NodeFlags3[NodeFlags3["TypeCached"] = 268435456] = "TypeCached"; + NodeFlags3[NodeFlags3["Deprecated"] = 536870912] = "Deprecated"; + NodeFlags3[NodeFlags3["BlockScoped"] = 7] = "BlockScoped"; + NodeFlags3[NodeFlags3["Constant"] = 6] = "Constant"; + NodeFlags3[NodeFlags3["ReachabilityCheckFlags"] = 1536] = "ReachabilityCheckFlags"; + NodeFlags3[NodeFlags3["ReachabilityAndEmitFlags"] = 5632] = "ReachabilityAndEmitFlags"; + NodeFlags3[NodeFlags3["ContextFlags"] = 101441536] = "ContextFlags"; + NodeFlags3[NodeFlags3["TypeExcludesFlags"] = 81920] = "TypeExcludesFlags"; + NodeFlags3[NodeFlags3["PermanentlySetIncrementalFlags"] = 12582912] = "PermanentlySetIncrementalFlags"; + NodeFlags3[NodeFlags3["IdentifierHasExtendedUnicodeEscape"] = 256 /* ContainsThis */] = "IdentifierHasExtendedUnicodeEscape"; + NodeFlags3[NodeFlags3["IdentifierIsInJSDocNamespace"] = 4096 /* HasAsyncFunctions */] = "IdentifierIsInJSDocNamespace"; + return NodeFlags3; +})(NodeFlags || {}); +var ModifierFlags = /* @__PURE__ */ ((ModifierFlags3) => { + ModifierFlags3[ModifierFlags3["None"] = 0] = "None"; + ModifierFlags3[ModifierFlags3["Public"] = 1] = "Public"; + ModifierFlags3[ModifierFlags3["Private"] = 2] = "Private"; + ModifierFlags3[ModifierFlags3["Protected"] = 4] = "Protected"; + ModifierFlags3[ModifierFlags3["Readonly"] = 8] = "Readonly"; + ModifierFlags3[ModifierFlags3["Override"] = 16] = "Override"; + ModifierFlags3[ModifierFlags3["Export"] = 32] = "Export"; + ModifierFlags3[ModifierFlags3["Abstract"] = 64] = "Abstract"; + ModifierFlags3[ModifierFlags3["Ambient"] = 128] = "Ambient"; + ModifierFlags3[ModifierFlags3["Static"] = 256] = "Static"; + ModifierFlags3[ModifierFlags3["Accessor"] = 512] = "Accessor"; + ModifierFlags3[ModifierFlags3["Async"] = 1024] = "Async"; + ModifierFlags3[ModifierFlags3["Default"] = 2048] = "Default"; + ModifierFlags3[ModifierFlags3["Const"] = 4096] = "Const"; + ModifierFlags3[ModifierFlags3["In"] = 8192] = "In"; + ModifierFlags3[ModifierFlags3["Out"] = 16384] = "Out"; + ModifierFlags3[ModifierFlags3["Decorator"] = 32768] = "Decorator"; + ModifierFlags3[ModifierFlags3["Deprecated"] = 65536] = "Deprecated"; + ModifierFlags3[ModifierFlags3["JSDocPublic"] = 8388608] = "JSDocPublic"; + ModifierFlags3[ModifierFlags3["JSDocPrivate"] = 16777216] = "JSDocPrivate"; + ModifierFlags3[ModifierFlags3["JSDocProtected"] = 33554432] = "JSDocProtected"; + ModifierFlags3[ModifierFlags3["JSDocReadonly"] = 67108864] = "JSDocReadonly"; + ModifierFlags3[ModifierFlags3["JSDocOverride"] = 134217728] = "JSDocOverride"; + ModifierFlags3[ModifierFlags3["SyntacticOrJSDocModifiers"] = 31] = "SyntacticOrJSDocModifiers"; + ModifierFlags3[ModifierFlags3["SyntacticOnlyModifiers"] = 65504] = "SyntacticOnlyModifiers"; + ModifierFlags3[ModifierFlags3["SyntacticModifiers"] = 65535] = "SyntacticModifiers"; + ModifierFlags3[ModifierFlags3["JSDocCacheOnlyModifiers"] = 260046848] = "JSDocCacheOnlyModifiers"; + ModifierFlags3[ModifierFlags3["JSDocOnlyModifiers"] = 65536 /* Deprecated */] = "JSDocOnlyModifiers"; + ModifierFlags3[ModifierFlags3["NonCacheOnlyModifiers"] = 131071] = "NonCacheOnlyModifiers"; + ModifierFlags3[ModifierFlags3["HasComputedJSDocModifiers"] = 268435456] = "HasComputedJSDocModifiers"; + ModifierFlags3[ModifierFlags3["HasComputedFlags"] = 536870912] = "HasComputedFlags"; + ModifierFlags3[ModifierFlags3["AccessibilityModifier"] = 7] = "AccessibilityModifier"; + ModifierFlags3[ModifierFlags3["ParameterPropertyModifier"] = 31] = "ParameterPropertyModifier"; + ModifierFlags3[ModifierFlags3["NonPublicAccessibilityModifier"] = 6] = "NonPublicAccessibilityModifier"; + ModifierFlags3[ModifierFlags3["TypeScriptModifier"] = 28895] = "TypeScriptModifier"; + ModifierFlags3[ModifierFlags3["ExportDefault"] = 2080] = "ExportDefault"; + ModifierFlags3[ModifierFlags3["All"] = 131071] = "All"; + ModifierFlags3[ModifierFlags3["Modifier"] = 98303] = "Modifier"; + return ModifierFlags3; +})(ModifierFlags || {}); +var RelationComparisonResult = /* @__PURE__ */ ((RelationComparisonResult3) => { + RelationComparisonResult3[RelationComparisonResult3["None"] = 0] = "None"; + RelationComparisonResult3[RelationComparisonResult3["Succeeded"] = 1] = "Succeeded"; + RelationComparisonResult3[RelationComparisonResult3["Failed"] = 2] = "Failed"; + RelationComparisonResult3[RelationComparisonResult3["ReportsUnmeasurable"] = 8] = "ReportsUnmeasurable"; + RelationComparisonResult3[RelationComparisonResult3["ReportsUnreliable"] = 16] = "ReportsUnreliable"; + RelationComparisonResult3[RelationComparisonResult3["ReportsMask"] = 24] = "ReportsMask"; + RelationComparisonResult3[RelationComparisonResult3["ComplexityOverflow"] = 32] = "ComplexityOverflow"; + RelationComparisonResult3[RelationComparisonResult3["StackDepthOverflow"] = 64] = "StackDepthOverflow"; + RelationComparisonResult3[RelationComparisonResult3["Overflow"] = 96] = "Overflow"; + return RelationComparisonResult3; +})(RelationComparisonResult || {}); +var GeneratedIdentifierFlags = /* @__PURE__ */ ((GeneratedIdentifierFlags2) => { + GeneratedIdentifierFlags2[GeneratedIdentifierFlags2["None"] = 0] = "None"; + GeneratedIdentifierFlags2[GeneratedIdentifierFlags2["Auto"] = 1] = "Auto"; + GeneratedIdentifierFlags2[GeneratedIdentifierFlags2["Loop"] = 2] = "Loop"; + GeneratedIdentifierFlags2[GeneratedIdentifierFlags2["Unique"] = 3] = "Unique"; + GeneratedIdentifierFlags2[GeneratedIdentifierFlags2["Node"] = 4] = "Node"; + GeneratedIdentifierFlags2[GeneratedIdentifierFlags2["KindMask"] = 7] = "KindMask"; + GeneratedIdentifierFlags2[GeneratedIdentifierFlags2["ReservedInNestedScopes"] = 8] = "ReservedInNestedScopes"; + GeneratedIdentifierFlags2[GeneratedIdentifierFlags2["Optimistic"] = 16] = "Optimistic"; + GeneratedIdentifierFlags2[GeneratedIdentifierFlags2["FileLevel"] = 32] = "FileLevel"; + GeneratedIdentifierFlags2[GeneratedIdentifierFlags2["AllowNameSubstitution"] = 64] = "AllowNameSubstitution"; + return GeneratedIdentifierFlags2; +})(GeneratedIdentifierFlags || {}); +var FlowFlags = /* @__PURE__ */ ((FlowFlags2) => { + FlowFlags2[FlowFlags2["Unreachable"] = 1] = "Unreachable"; + FlowFlags2[FlowFlags2["Start"] = 2] = "Start"; + FlowFlags2[FlowFlags2["BranchLabel"] = 4] = "BranchLabel"; + FlowFlags2[FlowFlags2["LoopLabel"] = 8] = "LoopLabel"; + FlowFlags2[FlowFlags2["Assignment"] = 16] = "Assignment"; + FlowFlags2[FlowFlags2["TrueCondition"] = 32] = "TrueCondition"; + FlowFlags2[FlowFlags2["FalseCondition"] = 64] = "FalseCondition"; + FlowFlags2[FlowFlags2["SwitchClause"] = 128] = "SwitchClause"; + FlowFlags2[FlowFlags2["ArrayMutation"] = 256] = "ArrayMutation"; + FlowFlags2[FlowFlags2["Call"] = 512] = "Call"; + FlowFlags2[FlowFlags2["ReduceLabel"] = 1024] = "ReduceLabel"; + FlowFlags2[FlowFlags2["Referenced"] = 2048] = "Referenced"; + FlowFlags2[FlowFlags2["Shared"] = 4096] = "Shared"; + FlowFlags2[FlowFlags2["Label"] = 12] = "Label"; + FlowFlags2[FlowFlags2["Condition"] = 96] = "Condition"; + return FlowFlags2; +})(FlowFlags || {}); +var OperationCanceledException = class { +}; +var FileIncludeKind = /* @__PURE__ */ ((FileIncludeKind2) => { + FileIncludeKind2[FileIncludeKind2["RootFile"] = 0] = "RootFile"; + FileIncludeKind2[FileIncludeKind2["SourceFromProjectReference"] = 1] = "SourceFromProjectReference"; + FileIncludeKind2[FileIncludeKind2["OutputFromProjectReference"] = 2] = "OutputFromProjectReference"; + FileIncludeKind2[FileIncludeKind2["Import"] = 3] = "Import"; + FileIncludeKind2[FileIncludeKind2["ReferenceFile"] = 4] = "ReferenceFile"; + FileIncludeKind2[FileIncludeKind2["TypeReferenceDirective"] = 5] = "TypeReferenceDirective"; + FileIncludeKind2[FileIncludeKind2["LibFile"] = 6] = "LibFile"; + FileIncludeKind2[FileIncludeKind2["LibReferenceDirective"] = 7] = "LibReferenceDirective"; + FileIncludeKind2[FileIncludeKind2["AutomaticTypeDirectiveFile"] = 8] = "AutomaticTypeDirectiveFile"; + return FileIncludeKind2; +})(FileIncludeKind || {}); +var SymbolFlags = /* @__PURE__ */ ((SymbolFlags2) => { + SymbolFlags2[SymbolFlags2["None"] = 0] = "None"; + SymbolFlags2[SymbolFlags2["FunctionScopedVariable"] = 1] = "FunctionScopedVariable"; + SymbolFlags2[SymbolFlags2["BlockScopedVariable"] = 2] = "BlockScopedVariable"; + SymbolFlags2[SymbolFlags2["Property"] = 4] = "Property"; + SymbolFlags2[SymbolFlags2["EnumMember"] = 8] = "EnumMember"; + SymbolFlags2[SymbolFlags2["Function"] = 16] = "Function"; + SymbolFlags2[SymbolFlags2["Class"] = 32] = "Class"; + SymbolFlags2[SymbolFlags2["Interface"] = 64] = "Interface"; + SymbolFlags2[SymbolFlags2["ConstEnum"] = 128] = "ConstEnum"; + SymbolFlags2[SymbolFlags2["RegularEnum"] = 256] = "RegularEnum"; + SymbolFlags2[SymbolFlags2["ValueModule"] = 512] = "ValueModule"; + SymbolFlags2[SymbolFlags2["NamespaceModule"] = 1024] = "NamespaceModule"; + SymbolFlags2[SymbolFlags2["TypeLiteral"] = 2048] = "TypeLiteral"; + SymbolFlags2[SymbolFlags2["ObjectLiteral"] = 4096] = "ObjectLiteral"; + SymbolFlags2[SymbolFlags2["Method"] = 8192] = "Method"; + SymbolFlags2[SymbolFlags2["Constructor"] = 16384] = "Constructor"; + SymbolFlags2[SymbolFlags2["GetAccessor"] = 32768] = "GetAccessor"; + SymbolFlags2[SymbolFlags2["SetAccessor"] = 65536] = "SetAccessor"; + SymbolFlags2[SymbolFlags2["Signature"] = 131072] = "Signature"; + SymbolFlags2[SymbolFlags2["TypeParameter"] = 262144] = "TypeParameter"; + SymbolFlags2[SymbolFlags2["TypeAlias"] = 524288] = "TypeAlias"; + SymbolFlags2[SymbolFlags2["ExportValue"] = 1048576] = "ExportValue"; + SymbolFlags2[SymbolFlags2["Alias"] = 2097152] = "Alias"; + SymbolFlags2[SymbolFlags2["Prototype"] = 4194304] = "Prototype"; + SymbolFlags2[SymbolFlags2["ExportStar"] = 8388608] = "ExportStar"; + SymbolFlags2[SymbolFlags2["Optional"] = 16777216] = "Optional"; + SymbolFlags2[SymbolFlags2["Transient"] = 33554432] = "Transient"; + SymbolFlags2[SymbolFlags2["Assignment"] = 67108864] = "Assignment"; + SymbolFlags2[SymbolFlags2["ModuleExports"] = 134217728] = "ModuleExports"; + SymbolFlags2[SymbolFlags2["All"] = -1] = "All"; + SymbolFlags2[SymbolFlags2["Enum"] = 384] = "Enum"; + SymbolFlags2[SymbolFlags2["Variable"] = 3] = "Variable"; + SymbolFlags2[SymbolFlags2["Value"] = 111551] = "Value"; + SymbolFlags2[SymbolFlags2["Type"] = 788968] = "Type"; + SymbolFlags2[SymbolFlags2["Namespace"] = 1920] = "Namespace"; + SymbolFlags2[SymbolFlags2["Module"] = 1536] = "Module"; + SymbolFlags2[SymbolFlags2["Accessor"] = 98304] = "Accessor"; + SymbolFlags2[SymbolFlags2["FunctionScopedVariableExcludes"] = 111550] = "FunctionScopedVariableExcludes"; + SymbolFlags2[SymbolFlags2["BlockScopedVariableExcludes"] = 111551 /* Value */] = "BlockScopedVariableExcludes"; + SymbolFlags2[SymbolFlags2["ParameterExcludes"] = 111551 /* Value */] = "ParameterExcludes"; + SymbolFlags2[SymbolFlags2["PropertyExcludes"] = 0 /* None */] = "PropertyExcludes"; + SymbolFlags2[SymbolFlags2["EnumMemberExcludes"] = 900095] = "EnumMemberExcludes"; + SymbolFlags2[SymbolFlags2["FunctionExcludes"] = 110991] = "FunctionExcludes"; + SymbolFlags2[SymbolFlags2["ClassExcludes"] = 899503] = "ClassExcludes"; + SymbolFlags2[SymbolFlags2["InterfaceExcludes"] = 788872] = "InterfaceExcludes"; + SymbolFlags2[SymbolFlags2["RegularEnumExcludes"] = 899327] = "RegularEnumExcludes"; + SymbolFlags2[SymbolFlags2["ConstEnumExcludes"] = 899967] = "ConstEnumExcludes"; + SymbolFlags2[SymbolFlags2["ValueModuleExcludes"] = 110735] = "ValueModuleExcludes"; + SymbolFlags2[SymbolFlags2["NamespaceModuleExcludes"] = 0] = "NamespaceModuleExcludes"; + SymbolFlags2[SymbolFlags2["MethodExcludes"] = 103359] = "MethodExcludes"; + SymbolFlags2[SymbolFlags2["GetAccessorExcludes"] = 46015] = "GetAccessorExcludes"; + SymbolFlags2[SymbolFlags2["SetAccessorExcludes"] = 78783] = "SetAccessorExcludes"; + SymbolFlags2[SymbolFlags2["AccessorExcludes"] = 13247] = "AccessorExcludes"; + SymbolFlags2[SymbolFlags2["TypeParameterExcludes"] = 526824] = "TypeParameterExcludes"; + SymbolFlags2[SymbolFlags2["TypeAliasExcludes"] = 788968 /* Type */] = "TypeAliasExcludes"; + SymbolFlags2[SymbolFlags2["AliasExcludes"] = 2097152 /* Alias */] = "AliasExcludes"; + SymbolFlags2[SymbolFlags2["ModuleMember"] = 2623475] = "ModuleMember"; + SymbolFlags2[SymbolFlags2["ExportHasLocal"] = 944] = "ExportHasLocal"; + SymbolFlags2[SymbolFlags2["BlockScoped"] = 418] = "BlockScoped"; + SymbolFlags2[SymbolFlags2["PropertyOrAccessor"] = 98308] = "PropertyOrAccessor"; + SymbolFlags2[SymbolFlags2["ClassMember"] = 106500] = "ClassMember"; + SymbolFlags2[SymbolFlags2["ExportSupportsDefaultModifier"] = 112] = "ExportSupportsDefaultModifier"; + SymbolFlags2[SymbolFlags2["ExportDoesNotSupportDefaultModifier"] = -113] = "ExportDoesNotSupportDefaultModifier"; + SymbolFlags2[SymbolFlags2["Classifiable"] = 2885600] = "Classifiable"; + SymbolFlags2[SymbolFlags2["LateBindingContainer"] = 6256] = "LateBindingContainer"; + return SymbolFlags2; +})(SymbolFlags || {}); +var NodeCheckFlags = /* @__PURE__ */ ((NodeCheckFlags3) => { + NodeCheckFlags3[NodeCheckFlags3["None"] = 0] = "None"; + NodeCheckFlags3[NodeCheckFlags3["TypeChecked"] = 1] = "TypeChecked"; + NodeCheckFlags3[NodeCheckFlags3["LexicalThis"] = 2] = "LexicalThis"; + NodeCheckFlags3[NodeCheckFlags3["CaptureThis"] = 4] = "CaptureThis"; + NodeCheckFlags3[NodeCheckFlags3["CaptureNewTarget"] = 8] = "CaptureNewTarget"; + NodeCheckFlags3[NodeCheckFlags3["SuperInstance"] = 16] = "SuperInstance"; + NodeCheckFlags3[NodeCheckFlags3["SuperStatic"] = 32] = "SuperStatic"; + NodeCheckFlags3[NodeCheckFlags3["ContextChecked"] = 64] = "ContextChecked"; + NodeCheckFlags3[NodeCheckFlags3["MethodWithSuperPropertyAccessInAsync"] = 128] = "MethodWithSuperPropertyAccessInAsync"; + NodeCheckFlags3[NodeCheckFlags3["MethodWithSuperPropertyAssignmentInAsync"] = 256] = "MethodWithSuperPropertyAssignmentInAsync"; + NodeCheckFlags3[NodeCheckFlags3["CaptureArguments"] = 512] = "CaptureArguments"; + NodeCheckFlags3[NodeCheckFlags3["EnumValuesComputed"] = 1024] = "EnumValuesComputed"; + NodeCheckFlags3[NodeCheckFlags3["LexicalModuleMergesWithClass"] = 2048] = "LexicalModuleMergesWithClass"; + NodeCheckFlags3[NodeCheckFlags3["LoopWithCapturedBlockScopedBinding"] = 4096] = "LoopWithCapturedBlockScopedBinding"; + NodeCheckFlags3[NodeCheckFlags3["ContainsCapturedBlockScopeBinding"] = 8192] = "ContainsCapturedBlockScopeBinding"; + NodeCheckFlags3[NodeCheckFlags3["CapturedBlockScopedBinding"] = 16384] = "CapturedBlockScopedBinding"; + NodeCheckFlags3[NodeCheckFlags3["BlockScopedBindingInLoop"] = 32768] = "BlockScopedBindingInLoop"; + NodeCheckFlags3[NodeCheckFlags3["NeedsLoopOutParameter"] = 65536] = "NeedsLoopOutParameter"; + NodeCheckFlags3[NodeCheckFlags3["AssignmentsMarked"] = 131072] = "AssignmentsMarked"; + NodeCheckFlags3[NodeCheckFlags3["ContainsConstructorReference"] = 262144] = "ContainsConstructorReference"; + NodeCheckFlags3[NodeCheckFlags3["ConstructorReference"] = 536870912] = "ConstructorReference"; + NodeCheckFlags3[NodeCheckFlags3["ContainsClassWithPrivateIdentifiers"] = 1048576] = "ContainsClassWithPrivateIdentifiers"; + NodeCheckFlags3[NodeCheckFlags3["ContainsSuperPropertyInStaticInitializer"] = 2097152] = "ContainsSuperPropertyInStaticInitializer"; + NodeCheckFlags3[NodeCheckFlags3["InCheckIdentifier"] = 4194304] = "InCheckIdentifier"; + NodeCheckFlags3[NodeCheckFlags3["PartiallyTypeChecked"] = 8388608] = "PartiallyTypeChecked"; + NodeCheckFlags3[NodeCheckFlags3["LazyFlags"] = 539358128] = "LazyFlags"; + return NodeCheckFlags3; +})(NodeCheckFlags || {}); +var TypeFlags = /* @__PURE__ */ ((TypeFlags2) => { + TypeFlags2[TypeFlags2["Any"] = 1] = "Any"; + TypeFlags2[TypeFlags2["Unknown"] = 2] = "Unknown"; + TypeFlags2[TypeFlags2["String"] = 4] = "String"; + TypeFlags2[TypeFlags2["Number"] = 8] = "Number"; + TypeFlags2[TypeFlags2["Boolean"] = 16] = "Boolean"; + TypeFlags2[TypeFlags2["Enum"] = 32] = "Enum"; + TypeFlags2[TypeFlags2["BigInt"] = 64] = "BigInt"; + TypeFlags2[TypeFlags2["StringLiteral"] = 128] = "StringLiteral"; + TypeFlags2[TypeFlags2["NumberLiteral"] = 256] = "NumberLiteral"; + TypeFlags2[TypeFlags2["BooleanLiteral"] = 512] = "BooleanLiteral"; + TypeFlags2[TypeFlags2["EnumLiteral"] = 1024] = "EnumLiteral"; + TypeFlags2[TypeFlags2["BigIntLiteral"] = 2048] = "BigIntLiteral"; + TypeFlags2[TypeFlags2["ESSymbol"] = 4096] = "ESSymbol"; + TypeFlags2[TypeFlags2["UniqueESSymbol"] = 8192] = "UniqueESSymbol"; + TypeFlags2[TypeFlags2["Void"] = 16384] = "Void"; + TypeFlags2[TypeFlags2["Undefined"] = 32768] = "Undefined"; + TypeFlags2[TypeFlags2["Null"] = 65536] = "Null"; + TypeFlags2[TypeFlags2["Never"] = 131072] = "Never"; + TypeFlags2[TypeFlags2["TypeParameter"] = 262144] = "TypeParameter"; + TypeFlags2[TypeFlags2["Object"] = 524288] = "Object"; + TypeFlags2[TypeFlags2["Union"] = 1048576] = "Union"; + TypeFlags2[TypeFlags2["Intersection"] = 2097152] = "Intersection"; + TypeFlags2[TypeFlags2["Index"] = 4194304] = "Index"; + TypeFlags2[TypeFlags2["IndexedAccess"] = 8388608] = "IndexedAccess"; + TypeFlags2[TypeFlags2["Conditional"] = 16777216] = "Conditional"; + TypeFlags2[TypeFlags2["Substitution"] = 33554432] = "Substitution"; + TypeFlags2[TypeFlags2["NonPrimitive"] = 67108864] = "NonPrimitive"; + TypeFlags2[TypeFlags2["TemplateLiteral"] = 134217728] = "TemplateLiteral"; + TypeFlags2[TypeFlags2["StringMapping"] = 268435456] = "StringMapping"; + TypeFlags2[TypeFlags2["Reserved1"] = 536870912] = "Reserved1"; + TypeFlags2[TypeFlags2["Reserved2"] = 1073741824] = "Reserved2"; + TypeFlags2[TypeFlags2["AnyOrUnknown"] = 3] = "AnyOrUnknown"; + TypeFlags2[TypeFlags2["Nullable"] = 98304] = "Nullable"; + TypeFlags2[TypeFlags2["Literal"] = 2944] = "Literal"; + TypeFlags2[TypeFlags2["Unit"] = 109472] = "Unit"; + TypeFlags2[TypeFlags2["Freshable"] = 2976] = "Freshable"; + TypeFlags2[TypeFlags2["StringOrNumberLiteral"] = 384] = "StringOrNumberLiteral"; + TypeFlags2[TypeFlags2["StringOrNumberLiteralOrUnique"] = 8576] = "StringOrNumberLiteralOrUnique"; + TypeFlags2[TypeFlags2["DefinitelyFalsy"] = 117632] = "DefinitelyFalsy"; + TypeFlags2[TypeFlags2["PossiblyFalsy"] = 117724] = "PossiblyFalsy"; + TypeFlags2[TypeFlags2["Intrinsic"] = 67359327] = "Intrinsic"; + TypeFlags2[TypeFlags2["StringLike"] = 402653316] = "StringLike"; + TypeFlags2[TypeFlags2["NumberLike"] = 296] = "NumberLike"; + TypeFlags2[TypeFlags2["BigIntLike"] = 2112] = "BigIntLike"; + TypeFlags2[TypeFlags2["BooleanLike"] = 528] = "BooleanLike"; + TypeFlags2[TypeFlags2["EnumLike"] = 1056] = "EnumLike"; + TypeFlags2[TypeFlags2["ESSymbolLike"] = 12288] = "ESSymbolLike"; + TypeFlags2[TypeFlags2["VoidLike"] = 49152] = "VoidLike"; + TypeFlags2[TypeFlags2["Primitive"] = 402784252] = "Primitive"; + TypeFlags2[TypeFlags2["DefinitelyNonNullable"] = 470302716] = "DefinitelyNonNullable"; + TypeFlags2[TypeFlags2["DisjointDomains"] = 469892092] = "DisjointDomains"; + TypeFlags2[TypeFlags2["UnionOrIntersection"] = 3145728] = "UnionOrIntersection"; + TypeFlags2[TypeFlags2["StructuredType"] = 3670016] = "StructuredType"; + TypeFlags2[TypeFlags2["TypeVariable"] = 8650752] = "TypeVariable"; + TypeFlags2[TypeFlags2["InstantiableNonPrimitive"] = 58982400] = "InstantiableNonPrimitive"; + TypeFlags2[TypeFlags2["InstantiablePrimitive"] = 406847488] = "InstantiablePrimitive"; + TypeFlags2[TypeFlags2["Instantiable"] = 465829888] = "Instantiable"; + TypeFlags2[TypeFlags2["StructuredOrInstantiable"] = 469499904] = "StructuredOrInstantiable"; + TypeFlags2[TypeFlags2["ObjectFlagsType"] = 3899393] = "ObjectFlagsType"; + TypeFlags2[TypeFlags2["Simplifiable"] = 25165824] = "Simplifiable"; + TypeFlags2[TypeFlags2["Singleton"] = 67358815] = "Singleton"; + TypeFlags2[TypeFlags2["Narrowable"] = 536624127] = "Narrowable"; + TypeFlags2[TypeFlags2["IncludesMask"] = 473694207] = "IncludesMask"; + TypeFlags2[TypeFlags2["IncludesMissingType"] = 262144 /* TypeParameter */] = "IncludesMissingType"; + TypeFlags2[TypeFlags2["IncludesNonWideningType"] = 4194304 /* Index */] = "IncludesNonWideningType"; + TypeFlags2[TypeFlags2["IncludesWildcard"] = 8388608 /* IndexedAccess */] = "IncludesWildcard"; + TypeFlags2[TypeFlags2["IncludesEmptyObject"] = 16777216 /* Conditional */] = "IncludesEmptyObject"; + TypeFlags2[TypeFlags2["IncludesInstantiable"] = 33554432 /* Substitution */] = "IncludesInstantiable"; + TypeFlags2[TypeFlags2["IncludesConstrainedTypeVariable"] = 536870912 /* Reserved1 */] = "IncludesConstrainedTypeVariable"; + TypeFlags2[TypeFlags2["IncludesError"] = 1073741824 /* Reserved2 */] = "IncludesError"; + TypeFlags2[TypeFlags2["NotPrimitiveUnion"] = 36323331] = "NotPrimitiveUnion"; + return TypeFlags2; +})(TypeFlags || {}); +var ObjectFlags = /* @__PURE__ */ ((ObjectFlags3) => { + ObjectFlags3[ObjectFlags3["None"] = 0] = "None"; + ObjectFlags3[ObjectFlags3["Class"] = 1] = "Class"; + ObjectFlags3[ObjectFlags3["Interface"] = 2] = "Interface"; + ObjectFlags3[ObjectFlags3["Reference"] = 4] = "Reference"; + ObjectFlags3[ObjectFlags3["Tuple"] = 8] = "Tuple"; + ObjectFlags3[ObjectFlags3["Anonymous"] = 16] = "Anonymous"; + ObjectFlags3[ObjectFlags3["Mapped"] = 32] = "Mapped"; + ObjectFlags3[ObjectFlags3["Instantiated"] = 64] = "Instantiated"; + ObjectFlags3[ObjectFlags3["ObjectLiteral"] = 128] = "ObjectLiteral"; + ObjectFlags3[ObjectFlags3["EvolvingArray"] = 256] = "EvolvingArray"; + ObjectFlags3[ObjectFlags3["ObjectLiteralPatternWithComputedProperties"] = 512] = "ObjectLiteralPatternWithComputedProperties"; + ObjectFlags3[ObjectFlags3["ReverseMapped"] = 1024] = "ReverseMapped"; + ObjectFlags3[ObjectFlags3["JsxAttributes"] = 2048] = "JsxAttributes"; + ObjectFlags3[ObjectFlags3["JSLiteral"] = 4096] = "JSLiteral"; + ObjectFlags3[ObjectFlags3["FreshLiteral"] = 8192] = "FreshLiteral"; + ObjectFlags3[ObjectFlags3["ArrayLiteral"] = 16384] = "ArrayLiteral"; + ObjectFlags3[ObjectFlags3["PrimitiveUnion"] = 32768] = "PrimitiveUnion"; + ObjectFlags3[ObjectFlags3["ContainsWideningType"] = 65536] = "ContainsWideningType"; + ObjectFlags3[ObjectFlags3["ContainsObjectOrArrayLiteral"] = 131072] = "ContainsObjectOrArrayLiteral"; + ObjectFlags3[ObjectFlags3["NonInferrableType"] = 262144] = "NonInferrableType"; + ObjectFlags3[ObjectFlags3["CouldContainTypeVariablesComputed"] = 524288] = "CouldContainTypeVariablesComputed"; + ObjectFlags3[ObjectFlags3["CouldContainTypeVariables"] = 1048576] = "CouldContainTypeVariables"; + ObjectFlags3[ObjectFlags3["ClassOrInterface"] = 3] = "ClassOrInterface"; + ObjectFlags3[ObjectFlags3["RequiresWidening"] = 196608] = "RequiresWidening"; + ObjectFlags3[ObjectFlags3["PropagatingFlags"] = 458752] = "PropagatingFlags"; + ObjectFlags3[ObjectFlags3["InstantiatedMapped"] = 96] = "InstantiatedMapped"; + ObjectFlags3[ObjectFlags3["ObjectTypeKindMask"] = 1343] = "ObjectTypeKindMask"; + ObjectFlags3[ObjectFlags3["ContainsSpread"] = 2097152] = "ContainsSpread"; + ObjectFlags3[ObjectFlags3["ObjectRestType"] = 4194304] = "ObjectRestType"; + ObjectFlags3[ObjectFlags3["InstantiationExpressionType"] = 8388608] = "InstantiationExpressionType"; + ObjectFlags3[ObjectFlags3["SingleSignatureType"] = 134217728] = "SingleSignatureType"; + ObjectFlags3[ObjectFlags3["IsClassInstanceClone"] = 16777216] = "IsClassInstanceClone"; + ObjectFlags3[ObjectFlags3["IdenticalBaseTypeCalculated"] = 33554432] = "IdenticalBaseTypeCalculated"; + ObjectFlags3[ObjectFlags3["IdenticalBaseTypeExists"] = 67108864] = "IdenticalBaseTypeExists"; + ObjectFlags3[ObjectFlags3["IsGenericTypeComputed"] = 2097152] = "IsGenericTypeComputed"; + ObjectFlags3[ObjectFlags3["IsGenericObjectType"] = 4194304] = "IsGenericObjectType"; + ObjectFlags3[ObjectFlags3["IsGenericIndexType"] = 8388608] = "IsGenericIndexType"; + ObjectFlags3[ObjectFlags3["IsGenericType"] = 12582912] = "IsGenericType"; + ObjectFlags3[ObjectFlags3["ContainsIntersections"] = 16777216] = "ContainsIntersections"; + ObjectFlags3[ObjectFlags3["IsUnknownLikeUnionComputed"] = 33554432] = "IsUnknownLikeUnionComputed"; + ObjectFlags3[ObjectFlags3["IsUnknownLikeUnion"] = 67108864] = "IsUnknownLikeUnion"; + ObjectFlags3[ObjectFlags3["IsNeverIntersectionComputed"] = 16777216] = "IsNeverIntersectionComputed"; + ObjectFlags3[ObjectFlags3["IsNeverIntersection"] = 33554432] = "IsNeverIntersection"; + ObjectFlags3[ObjectFlags3["IsConstrainedTypeVariable"] = 67108864] = "IsConstrainedTypeVariable"; + return ObjectFlags3; +})(ObjectFlags || {}); +var SignatureFlags = /* @__PURE__ */ ((SignatureFlags4) => { + SignatureFlags4[SignatureFlags4["None"] = 0] = "None"; + SignatureFlags4[SignatureFlags4["HasRestParameter"] = 1] = "HasRestParameter"; + SignatureFlags4[SignatureFlags4["HasLiteralTypes"] = 2] = "HasLiteralTypes"; + SignatureFlags4[SignatureFlags4["Abstract"] = 4] = "Abstract"; + SignatureFlags4[SignatureFlags4["IsInnerCallChain"] = 8] = "IsInnerCallChain"; + SignatureFlags4[SignatureFlags4["IsOuterCallChain"] = 16] = "IsOuterCallChain"; + SignatureFlags4[SignatureFlags4["IsUntypedSignatureInJSFile"] = 32] = "IsUntypedSignatureInJSFile"; + SignatureFlags4[SignatureFlags4["IsNonInferrable"] = 64] = "IsNonInferrable"; + SignatureFlags4[SignatureFlags4["IsSignatureCandidateForOverloadFailure"] = 128] = "IsSignatureCandidateForOverloadFailure"; + SignatureFlags4[SignatureFlags4["PropagatingFlags"] = 167] = "PropagatingFlags"; + SignatureFlags4[SignatureFlags4["CallChainFlags"] = 24] = "CallChainFlags"; + return SignatureFlags4; +})(SignatureFlags || {}); +var DiagnosticCategory = /* @__PURE__ */ ((DiagnosticCategory2) => { + DiagnosticCategory2[DiagnosticCategory2["Warning"] = 0] = "Warning"; + DiagnosticCategory2[DiagnosticCategory2["Error"] = 1] = "Error"; + DiagnosticCategory2[DiagnosticCategory2["Suggestion"] = 2] = "Suggestion"; + DiagnosticCategory2[DiagnosticCategory2["Message"] = 3] = "Message"; + return DiagnosticCategory2; +})(DiagnosticCategory || {}); +function diagnosticCategoryName(d, lowerCase = true) { + const name = DiagnosticCategory[d.category]; + return lowerCase ? name.toLowerCase() : name; +} +var ModuleResolutionKind = /* @__PURE__ */ ((ModuleResolutionKind2) => { + ModuleResolutionKind2[ModuleResolutionKind2["Classic"] = 1] = "Classic"; + ModuleResolutionKind2[ModuleResolutionKind2["NodeJs"] = 2] = "NodeJs"; + ModuleResolutionKind2[ModuleResolutionKind2["Node10"] = 2] = "Node10"; + ModuleResolutionKind2[ModuleResolutionKind2["Node16"] = 3] = "Node16"; + ModuleResolutionKind2[ModuleResolutionKind2["NodeNext"] = 99] = "NodeNext"; + ModuleResolutionKind2[ModuleResolutionKind2["Bundler"] = 100] = "Bundler"; + return ModuleResolutionKind2; +})(ModuleResolutionKind || {}); +var ModuleKind = /* @__PURE__ */ ((ModuleKind2) => { + ModuleKind2[ModuleKind2["None"] = 0] = "None"; + ModuleKind2[ModuleKind2["CommonJS"] = 1] = "CommonJS"; + ModuleKind2[ModuleKind2["AMD"] = 2] = "AMD"; + ModuleKind2[ModuleKind2["UMD"] = 3] = "UMD"; + ModuleKind2[ModuleKind2["System"] = 4] = "System"; + ModuleKind2[ModuleKind2["ES2015"] = 5] = "ES2015"; + ModuleKind2[ModuleKind2["ES2020"] = 6] = "ES2020"; + ModuleKind2[ModuleKind2["ES2022"] = 7] = "ES2022"; + ModuleKind2[ModuleKind2["ESNext"] = 99] = "ESNext"; + ModuleKind2[ModuleKind2["Node16"] = 100] = "Node16"; + ModuleKind2[ModuleKind2["NodeNext"] = 199] = "NodeNext"; + ModuleKind2[ModuleKind2["Preserve"] = 200] = "Preserve"; + return ModuleKind2; +})(ModuleKind || {}); +var ScriptKind = /* @__PURE__ */ ((ScriptKind3) => { + ScriptKind3[ScriptKind3["Unknown"] = 0] = "Unknown"; + ScriptKind3[ScriptKind3["JS"] = 1] = "JS"; + ScriptKind3[ScriptKind3["JSX"] = 2] = "JSX"; + ScriptKind3[ScriptKind3["TS"] = 3] = "TS"; + ScriptKind3[ScriptKind3["TSX"] = 4] = "TSX"; + ScriptKind3[ScriptKind3["External"] = 5] = "External"; + ScriptKind3[ScriptKind3["JSON"] = 6] = "JSON"; + ScriptKind3[ScriptKind3["Deferred"] = 7] = "Deferred"; + return ScriptKind3; +})(ScriptKind || {}); +var TransformFlags = /* @__PURE__ */ ((TransformFlags3) => { + TransformFlags3[TransformFlags3["None"] = 0] = "None"; + TransformFlags3[TransformFlags3["ContainsTypeScript"] = 1] = "ContainsTypeScript"; + TransformFlags3[TransformFlags3["ContainsJsx"] = 2] = "ContainsJsx"; + TransformFlags3[TransformFlags3["ContainsESNext"] = 4] = "ContainsESNext"; + TransformFlags3[TransformFlags3["ContainsES2022"] = 8] = "ContainsES2022"; + TransformFlags3[TransformFlags3["ContainsES2021"] = 16] = "ContainsES2021"; + TransformFlags3[TransformFlags3["ContainsES2020"] = 32] = "ContainsES2020"; + TransformFlags3[TransformFlags3["ContainsES2019"] = 64] = "ContainsES2019"; + TransformFlags3[TransformFlags3["ContainsES2018"] = 128] = "ContainsES2018"; + TransformFlags3[TransformFlags3["ContainsES2017"] = 256] = "ContainsES2017"; + TransformFlags3[TransformFlags3["ContainsES2016"] = 512] = "ContainsES2016"; + TransformFlags3[TransformFlags3["ContainsES2015"] = 1024] = "ContainsES2015"; + TransformFlags3[TransformFlags3["ContainsGenerator"] = 2048] = "ContainsGenerator"; + TransformFlags3[TransformFlags3["ContainsDestructuringAssignment"] = 4096] = "ContainsDestructuringAssignment"; + TransformFlags3[TransformFlags3["ContainsTypeScriptClassSyntax"] = 8192] = "ContainsTypeScriptClassSyntax"; + TransformFlags3[TransformFlags3["ContainsLexicalThis"] = 16384] = "ContainsLexicalThis"; + TransformFlags3[TransformFlags3["ContainsRestOrSpread"] = 32768] = "ContainsRestOrSpread"; + TransformFlags3[TransformFlags3["ContainsObjectRestOrSpread"] = 65536] = "ContainsObjectRestOrSpread"; + TransformFlags3[TransformFlags3["ContainsComputedPropertyName"] = 131072] = "ContainsComputedPropertyName"; + TransformFlags3[TransformFlags3["ContainsBlockScopedBinding"] = 262144] = "ContainsBlockScopedBinding"; + TransformFlags3[TransformFlags3["ContainsBindingPattern"] = 524288] = "ContainsBindingPattern"; + TransformFlags3[TransformFlags3["ContainsYield"] = 1048576] = "ContainsYield"; + TransformFlags3[TransformFlags3["ContainsAwait"] = 2097152] = "ContainsAwait"; + TransformFlags3[TransformFlags3["ContainsHoistedDeclarationOrCompletion"] = 4194304] = "ContainsHoistedDeclarationOrCompletion"; + TransformFlags3[TransformFlags3["ContainsDynamicImport"] = 8388608] = "ContainsDynamicImport"; + TransformFlags3[TransformFlags3["ContainsClassFields"] = 16777216] = "ContainsClassFields"; + TransformFlags3[TransformFlags3["ContainsDecorators"] = 33554432] = "ContainsDecorators"; + TransformFlags3[TransformFlags3["ContainsPossibleTopLevelAwait"] = 67108864] = "ContainsPossibleTopLevelAwait"; + TransformFlags3[TransformFlags3["ContainsLexicalSuper"] = 134217728] = "ContainsLexicalSuper"; + TransformFlags3[TransformFlags3["ContainsUpdateExpressionForIdentifier"] = 268435456] = "ContainsUpdateExpressionForIdentifier"; + TransformFlags3[TransformFlags3["ContainsPrivateIdentifierInExpression"] = 536870912] = "ContainsPrivateIdentifierInExpression"; + TransformFlags3[TransformFlags3["HasComputedFlags"] = -2147483648] = "HasComputedFlags"; + TransformFlags3[TransformFlags3["AssertTypeScript"] = 1 /* ContainsTypeScript */] = "AssertTypeScript"; + TransformFlags3[TransformFlags3["AssertJsx"] = 2 /* ContainsJsx */] = "AssertJsx"; + TransformFlags3[TransformFlags3["AssertESNext"] = 4 /* ContainsESNext */] = "AssertESNext"; + TransformFlags3[TransformFlags3["AssertES2022"] = 8 /* ContainsES2022 */] = "AssertES2022"; + TransformFlags3[TransformFlags3["AssertES2021"] = 16 /* ContainsES2021 */] = "AssertES2021"; + TransformFlags3[TransformFlags3["AssertES2020"] = 32 /* ContainsES2020 */] = "AssertES2020"; + TransformFlags3[TransformFlags3["AssertES2019"] = 64 /* ContainsES2019 */] = "AssertES2019"; + TransformFlags3[TransformFlags3["AssertES2018"] = 128 /* ContainsES2018 */] = "AssertES2018"; + TransformFlags3[TransformFlags3["AssertES2017"] = 256 /* ContainsES2017 */] = "AssertES2017"; + TransformFlags3[TransformFlags3["AssertES2016"] = 512 /* ContainsES2016 */] = "AssertES2016"; + TransformFlags3[TransformFlags3["AssertES2015"] = 1024 /* ContainsES2015 */] = "AssertES2015"; + TransformFlags3[TransformFlags3["AssertGenerator"] = 2048 /* ContainsGenerator */] = "AssertGenerator"; + TransformFlags3[TransformFlags3["AssertDestructuringAssignment"] = 4096 /* ContainsDestructuringAssignment */] = "AssertDestructuringAssignment"; + TransformFlags3[TransformFlags3["OuterExpressionExcludes"] = -2147483648 /* HasComputedFlags */] = "OuterExpressionExcludes"; + TransformFlags3[TransformFlags3["PropertyAccessExcludes"] = -2147483648 /* OuterExpressionExcludes */] = "PropertyAccessExcludes"; + TransformFlags3[TransformFlags3["NodeExcludes"] = -2147483648 /* PropertyAccessExcludes */] = "NodeExcludes"; + TransformFlags3[TransformFlags3["ArrowFunctionExcludes"] = -2072174592] = "ArrowFunctionExcludes"; + TransformFlags3[TransformFlags3["FunctionExcludes"] = -1937940480] = "FunctionExcludes"; + TransformFlags3[TransformFlags3["ConstructorExcludes"] = -1937948672] = "ConstructorExcludes"; + TransformFlags3[TransformFlags3["MethodOrAccessorExcludes"] = -2005057536] = "MethodOrAccessorExcludes"; + TransformFlags3[TransformFlags3["PropertyExcludes"] = -2013249536] = "PropertyExcludes"; + TransformFlags3[TransformFlags3["ClassExcludes"] = -2147344384] = "ClassExcludes"; + TransformFlags3[TransformFlags3["ModuleExcludes"] = -1941676032] = "ModuleExcludes"; + TransformFlags3[TransformFlags3["TypeExcludes"] = -2] = "TypeExcludes"; + TransformFlags3[TransformFlags3["ObjectLiteralExcludes"] = -2147278848] = "ObjectLiteralExcludes"; + TransformFlags3[TransformFlags3["ArrayLiteralOrCallOrNewExcludes"] = -2147450880] = "ArrayLiteralOrCallOrNewExcludes"; + TransformFlags3[TransformFlags3["VariableDeclarationListExcludes"] = -2146893824] = "VariableDeclarationListExcludes"; + TransformFlags3[TransformFlags3["ParameterExcludes"] = -2147483648 /* NodeExcludes */] = "ParameterExcludes"; + TransformFlags3[TransformFlags3["CatchClauseExcludes"] = -2147418112] = "CatchClauseExcludes"; + TransformFlags3[TransformFlags3["BindingPatternExcludes"] = -2147450880] = "BindingPatternExcludes"; + TransformFlags3[TransformFlags3["ContainsLexicalThisOrSuper"] = 134234112] = "ContainsLexicalThisOrSuper"; + TransformFlags3[TransformFlags3["PropertyNamePropagatingFlags"] = 134234112] = "PropertyNamePropagatingFlags"; + return TransformFlags3; +})(TransformFlags || {}); +var SnippetKind = /* @__PURE__ */ ((SnippetKind3) => { + SnippetKind3[SnippetKind3["TabStop"] = 0] = "TabStop"; + SnippetKind3[SnippetKind3["Placeholder"] = 1] = "Placeholder"; + SnippetKind3[SnippetKind3["Choice"] = 2] = "Choice"; + SnippetKind3[SnippetKind3["Variable"] = 3] = "Variable"; + return SnippetKind3; +})(SnippetKind || {}); +var EmitFlags = /* @__PURE__ */ ((EmitFlags3) => { + EmitFlags3[EmitFlags3["None"] = 0] = "None"; + EmitFlags3[EmitFlags3["SingleLine"] = 1] = "SingleLine"; + EmitFlags3[EmitFlags3["MultiLine"] = 2] = "MultiLine"; + EmitFlags3[EmitFlags3["AdviseOnEmitNode"] = 4] = "AdviseOnEmitNode"; + EmitFlags3[EmitFlags3["NoSubstitution"] = 8] = "NoSubstitution"; + EmitFlags3[EmitFlags3["CapturesThis"] = 16] = "CapturesThis"; + EmitFlags3[EmitFlags3["NoLeadingSourceMap"] = 32] = "NoLeadingSourceMap"; + EmitFlags3[EmitFlags3["NoTrailingSourceMap"] = 64] = "NoTrailingSourceMap"; + EmitFlags3[EmitFlags3["NoSourceMap"] = 96] = "NoSourceMap"; + EmitFlags3[EmitFlags3["NoNestedSourceMaps"] = 128] = "NoNestedSourceMaps"; + EmitFlags3[EmitFlags3["NoTokenLeadingSourceMaps"] = 256] = "NoTokenLeadingSourceMaps"; + EmitFlags3[EmitFlags3["NoTokenTrailingSourceMaps"] = 512] = "NoTokenTrailingSourceMaps"; + EmitFlags3[EmitFlags3["NoTokenSourceMaps"] = 768] = "NoTokenSourceMaps"; + EmitFlags3[EmitFlags3["NoLeadingComments"] = 1024] = "NoLeadingComments"; + EmitFlags3[EmitFlags3["NoTrailingComments"] = 2048] = "NoTrailingComments"; + EmitFlags3[EmitFlags3["NoComments"] = 3072] = "NoComments"; + EmitFlags3[EmitFlags3["NoNestedComments"] = 4096] = "NoNestedComments"; + EmitFlags3[EmitFlags3["HelperName"] = 8192] = "HelperName"; + EmitFlags3[EmitFlags3["ExportName"] = 16384] = "ExportName"; + EmitFlags3[EmitFlags3["LocalName"] = 32768] = "LocalName"; + EmitFlags3[EmitFlags3["InternalName"] = 65536] = "InternalName"; + EmitFlags3[EmitFlags3["Indented"] = 131072] = "Indented"; + EmitFlags3[EmitFlags3["NoIndentation"] = 262144] = "NoIndentation"; + EmitFlags3[EmitFlags3["AsyncFunctionBody"] = 524288] = "AsyncFunctionBody"; + EmitFlags3[EmitFlags3["ReuseTempVariableScope"] = 1048576] = "ReuseTempVariableScope"; + EmitFlags3[EmitFlags3["CustomPrologue"] = 2097152] = "CustomPrologue"; + EmitFlags3[EmitFlags3["NoHoisting"] = 4194304] = "NoHoisting"; + EmitFlags3[EmitFlags3["Iterator"] = 8388608] = "Iterator"; + EmitFlags3[EmitFlags3["NoAsciiEscaping"] = 16777216] = "NoAsciiEscaping"; + return EmitFlags3; +})(EmitFlags || {}); +var LanguageFeatureMinimumTarget = { + Classes: 2 /* ES2015 */, + ForOf: 2 /* ES2015 */, + Generators: 2 /* ES2015 */, + Iteration: 2 /* ES2015 */, + SpreadElements: 2 /* ES2015 */, + RestElements: 2 /* ES2015 */, + TaggedTemplates: 2 /* ES2015 */, + DestructuringAssignment: 2 /* ES2015 */, + BindingPatterns: 2 /* ES2015 */, + ArrowFunctions: 2 /* ES2015 */, + BlockScopedVariables: 2 /* ES2015 */, + ObjectAssign: 2 /* ES2015 */, + RegularExpressionFlagsUnicode: 2 /* ES2015 */, + RegularExpressionFlagsSticky: 2 /* ES2015 */, + Exponentiation: 3 /* ES2016 */, + AsyncFunctions: 4 /* ES2017 */, + ForAwaitOf: 5 /* ES2018 */, + AsyncGenerators: 5 /* ES2018 */, + AsyncIteration: 5 /* ES2018 */, + ObjectSpreadRest: 5 /* ES2018 */, + RegularExpressionFlagsDotAll: 5 /* ES2018 */, + BindinglessCatch: 6 /* ES2019 */, + BigInt: 7 /* ES2020 */, + NullishCoalesce: 7 /* ES2020 */, + OptionalChaining: 7 /* ES2020 */, + LogicalAssignment: 8 /* ES2021 */, + TopLevelAwait: 9 /* ES2022 */, + ClassFields: 9 /* ES2022 */, + PrivateNamesAndClassStaticBlocks: 9 /* ES2022 */, + RegularExpressionFlagsHasIndices: 9 /* ES2022 */, + ShebangComments: 10 /* ES2023 */, + RegularExpressionFlagsUnicodeSets: 11 /* ES2024 */, + UsingAndAwaitUsing: 99 /* ESNext */, + ClassAndClassElementDecorators: 99 /* ESNext */ +}; +var commentPragmas = { + "reference": { + args: [ + { name: "types", optional: true, captureSpan: true }, + { name: "lib", optional: true, captureSpan: true }, + { name: "path", optional: true, captureSpan: true }, + { name: "no-default-lib", optional: true }, + { name: "resolution-mode", optional: true }, + { name: "preserve", optional: true } + ], + kind: 1 /* TripleSlashXML */ + }, + "amd-dependency": { + args: [{ name: "path" }, { name: "name", optional: true }], + kind: 1 /* TripleSlashXML */ + }, + "amd-module": { + args: [{ name: "name" }], + kind: 1 /* TripleSlashXML */ + }, + "ts-check": { + kind: 2 /* SingleLine */ + }, + "ts-nocheck": { + kind: 2 /* SingleLine */ + }, + "jsx": { + args: [{ name: "factory" }], + kind: 4 /* MultiLine */ + }, + "jsxfrag": { + args: [{ name: "factory" }], + kind: 4 /* MultiLine */ + }, + "jsximportsource": { + args: [{ name: "factory" }], + kind: 4 /* MultiLine */ + }, + "jsxruntime": { + args: [{ name: "factory" }], + kind: 4 /* MultiLine */ + } +}; + +// src/compiler/sys.ts +function generateDjb2Hash(data) { + let acc = 5381; + for (let i = 0; i < data.length; i++) { + acc = (acc << 5) + acc + data.charCodeAt(i); + } + return acc.toString(); +} +var PollingInterval = /* @__PURE__ */ ((PollingInterval3) => { + PollingInterval3[PollingInterval3["High"] = 2e3] = "High"; + PollingInterval3[PollingInterval3["Medium"] = 500] = "Medium"; + PollingInterval3[PollingInterval3["Low"] = 250] = "Low"; + return PollingInterval3; +})(PollingInterval || {}); +var missingFileModifiedTime = /* @__PURE__ */ new Date(0); +function getModifiedTime(host, fileName) { + return host.getModifiedTime(fileName) || missingFileModifiedTime; +} +function createPollingIntervalBasedLevels(levels) { + return { + [250 /* Low */]: levels.Low, + [500 /* Medium */]: levels.Medium, + [2e3 /* High */]: levels.High + }; +} +var defaultChunkLevels = { Low: 32, Medium: 64, High: 256 }; +var pollingChunkSize = createPollingIntervalBasedLevels(defaultChunkLevels); +var unchangedPollThresholds = createPollingIntervalBasedLevels(defaultChunkLevels); +function setCustomPollingValues(system) { + if (!system.getEnvironmentVariable) { + return; + } + const pollingIntervalChanged = setCustomLevels("TSC_WATCH_POLLINGINTERVAL", PollingInterval); + pollingChunkSize = getCustomPollingBasedLevels("TSC_WATCH_POLLINGCHUNKSIZE", defaultChunkLevels) || pollingChunkSize; + unchangedPollThresholds = getCustomPollingBasedLevels("TSC_WATCH_UNCHANGEDPOLLTHRESHOLDS", defaultChunkLevels) || unchangedPollThresholds; + function getLevel(envVar, level) { + return system.getEnvironmentVariable(`${envVar}_${level.toUpperCase()}`); + } + function getCustomLevels(baseVariable) { + let customLevels; + setCustomLevel("Low"); + setCustomLevel("Medium"); + setCustomLevel("High"); + return customLevels; + function setCustomLevel(level) { + const customLevel = getLevel(baseVariable, level); + if (customLevel) { + (customLevels || (customLevels = {}))[level] = Number(customLevel); + } + } + } + function setCustomLevels(baseVariable, levels) { + const customLevels = getCustomLevels(baseVariable); + if (customLevels) { + setLevel("Low"); + setLevel("Medium"); + setLevel("High"); + return true; + } + return false; + function setLevel(level) { + levels[level] = customLevels[level] || levels[level]; + } + } + function getCustomPollingBasedLevels(baseVariable, defaultLevels) { + const customLevels = getCustomLevels(baseVariable); + return (pollingIntervalChanged || customLevels) && createPollingIntervalBasedLevels(customLevels ? { ...defaultLevels, ...customLevels } : defaultLevels); + } +} +function pollWatchedFileQueue(host, queue, pollIndex, chunkSize, callbackOnWatchFileStat) { + let definedValueCopyToIndex = pollIndex; + for (let canVisit = queue.length; chunkSize && canVisit; nextPollIndex(), canVisit--) { + const watchedFile = queue[pollIndex]; + if (!watchedFile) { + continue; + } else if (watchedFile.isClosed) { + queue[pollIndex] = void 0; + continue; + } + chunkSize--; + const fileChanged = onWatchedFileStat(watchedFile, getModifiedTime(host, watchedFile.fileName)); + if (watchedFile.isClosed) { + queue[pollIndex] = void 0; + continue; + } + callbackOnWatchFileStat == null ? void 0 : callbackOnWatchFileStat(watchedFile, pollIndex, fileChanged); + if (queue[pollIndex]) { + if (definedValueCopyToIndex < pollIndex) { + queue[definedValueCopyToIndex] = watchedFile; + queue[pollIndex] = void 0; + } + definedValueCopyToIndex++; + } + } + return pollIndex; + function nextPollIndex() { + pollIndex++; + if (pollIndex === queue.length) { + if (definedValueCopyToIndex < pollIndex) { + queue.length = definedValueCopyToIndex; + } + pollIndex = 0; + definedValueCopyToIndex = 0; + } + } +} +function createDynamicPriorityPollingWatchFile(host) { + const watchedFiles = []; + const changedFilesInLastPoll = []; + const lowPollingIntervalQueue = createPollingIntervalQueue(250 /* Low */); + const mediumPollingIntervalQueue = createPollingIntervalQueue(500 /* Medium */); + const highPollingIntervalQueue = createPollingIntervalQueue(2e3 /* High */); + return watchFile2; + function watchFile2(fileName, callback, defaultPollingInterval) { + const file = { + fileName, + callback, + unchangedPolls: 0, + mtime: getModifiedTime(host, fileName) + }; + watchedFiles.push(file); + addToPollingIntervalQueue(file, defaultPollingInterval); + return { + close: () => { + file.isClosed = true; + unorderedRemoveItem(watchedFiles, file); + } + }; + } + function createPollingIntervalQueue(pollingInterval) { + const queue = []; + queue.pollingInterval = pollingInterval; + queue.pollIndex = 0; + queue.pollScheduled = false; + return queue; + } + function pollPollingIntervalQueue(_timeoutType, queue) { + queue.pollIndex = pollQueue(queue, queue.pollingInterval, queue.pollIndex, pollingChunkSize[queue.pollingInterval]); + if (queue.length) { + scheduleNextPoll(queue.pollingInterval); + } else { + Debug.assert(queue.pollIndex === 0); + queue.pollScheduled = false; + } + } + function pollLowPollingIntervalQueue(_timeoutType, queue) { + pollQueue( + changedFilesInLastPoll, + 250 /* Low */, + /*pollIndex*/ + 0, + changedFilesInLastPoll.length + ); + pollPollingIntervalQueue(_timeoutType, queue); + if (!queue.pollScheduled && changedFilesInLastPoll.length) { + scheduleNextPoll(250 /* Low */); + } + } + function pollQueue(queue, pollingInterval, pollIndex, chunkSize) { + return pollWatchedFileQueue( + host, + queue, + pollIndex, + chunkSize, + onWatchFileStat + ); + function onWatchFileStat(watchedFile, pollIndex2, fileChanged) { + if (fileChanged) { + watchedFile.unchangedPolls = 0; + if (queue !== changedFilesInLastPoll) { + queue[pollIndex2] = void 0; + addChangedFileToLowPollingIntervalQueue(watchedFile); + } + } else if (watchedFile.unchangedPolls !== unchangedPollThresholds[pollingInterval]) { + watchedFile.unchangedPolls++; + } else if (queue === changedFilesInLastPoll) { + watchedFile.unchangedPolls = 1; + queue[pollIndex2] = void 0; + addToPollingIntervalQueue(watchedFile, 250 /* Low */); + } else if (pollingInterval !== 2e3 /* High */) { + watchedFile.unchangedPolls++; + queue[pollIndex2] = void 0; + addToPollingIntervalQueue(watchedFile, pollingInterval === 250 /* Low */ ? 500 /* Medium */ : 2e3 /* High */); + } + } + } + function pollingIntervalQueue(pollingInterval) { + switch (pollingInterval) { + case 250 /* Low */: + return lowPollingIntervalQueue; + case 500 /* Medium */: + return mediumPollingIntervalQueue; + case 2e3 /* High */: + return highPollingIntervalQueue; + } + } + function addToPollingIntervalQueue(file, pollingInterval) { + pollingIntervalQueue(pollingInterval).push(file); + scheduleNextPollIfNotAlreadyScheduled(pollingInterval); + } + function addChangedFileToLowPollingIntervalQueue(file) { + changedFilesInLastPoll.push(file); + scheduleNextPollIfNotAlreadyScheduled(250 /* Low */); + } + function scheduleNextPollIfNotAlreadyScheduled(pollingInterval) { + if (!pollingIntervalQueue(pollingInterval).pollScheduled) { + scheduleNextPoll(pollingInterval); + } + } + function scheduleNextPoll(pollingInterval) { + pollingIntervalQueue(pollingInterval).pollScheduled = host.setTimeout(pollingInterval === 250 /* Low */ ? pollLowPollingIntervalQueue : pollPollingIntervalQueue, pollingInterval, pollingInterval === 250 /* Low */ ? "pollLowPollingIntervalQueue" : "pollPollingIntervalQueue", pollingIntervalQueue(pollingInterval)); + } +} +function createUseFsEventsOnParentDirectoryWatchFile(fsWatch, useCaseSensitiveFileNames2, getModifiedTime3, fsWatchWithTimestamp) { + const fileWatcherCallbacks = createMultiMap(); + const fileTimestamps = fsWatchWithTimestamp ? /* @__PURE__ */ new Map() : void 0; + const dirWatchers = /* @__PURE__ */ new Map(); + const toCanonicalName = createGetCanonicalFileName(useCaseSensitiveFileNames2); + return nonPollingWatchFile; + function nonPollingWatchFile(fileName, callback, _pollingInterval, fallbackOptions) { + const filePath = toCanonicalName(fileName); + if (fileWatcherCallbacks.add(filePath, callback).length === 1 && fileTimestamps) { + fileTimestamps.set(filePath, getModifiedTime3(fileName) || missingFileModifiedTime); + } + const dirPath = getDirectoryPath(filePath) || "."; + const watcher = dirWatchers.get(dirPath) || createDirectoryWatcher(getDirectoryPath(fileName) || ".", dirPath, fallbackOptions); + watcher.referenceCount++; + return { + close: () => { + if (watcher.referenceCount === 1) { + watcher.close(); + dirWatchers.delete(dirPath); + } else { + watcher.referenceCount--; + } + fileWatcherCallbacks.remove(filePath, callback); + } + }; + } + function createDirectoryWatcher(dirName, dirPath, fallbackOptions) { + const watcher = fsWatch( + dirName, + 1 /* Directory */, + (eventName, relativeFileName) => { + if (!isString(relativeFileName)) return; + const fileName = getNormalizedAbsolutePath(relativeFileName, dirName); + const filePath = toCanonicalName(fileName); + const callbacks = fileName && fileWatcherCallbacks.get(filePath); + if (callbacks) { + let currentModifiedTime; + let eventKind = 1 /* Changed */; + if (fileTimestamps) { + const existingTime = fileTimestamps.get(filePath); + if (eventName === "change") { + currentModifiedTime = getModifiedTime3(fileName) || missingFileModifiedTime; + if (currentModifiedTime.getTime() === existingTime.getTime()) return; + } + currentModifiedTime || (currentModifiedTime = getModifiedTime3(fileName) || missingFileModifiedTime); + fileTimestamps.set(filePath, currentModifiedTime); + if (existingTime === missingFileModifiedTime) eventKind = 0 /* Created */; + else if (currentModifiedTime === missingFileModifiedTime) eventKind = 2 /* Deleted */; + } + for (const fileCallback of callbacks) { + fileCallback(fileName, eventKind, currentModifiedTime); + } + } + }, + /*recursive*/ + false, + 500 /* Medium */, + fallbackOptions + ); + watcher.referenceCount = 0; + dirWatchers.set(dirPath, watcher); + return watcher; + } +} +function createFixedChunkSizePollingWatchFile(host) { + const watchedFiles = []; + let pollIndex = 0; + let pollScheduled; + return watchFile2; + function watchFile2(fileName, callback) { + const file = { + fileName, + callback, + mtime: getModifiedTime(host, fileName) + }; + watchedFiles.push(file); + scheduleNextPoll(); + return { + close: () => { + file.isClosed = true; + unorderedRemoveItem(watchedFiles, file); + } + }; + } + function pollQueue() { + pollScheduled = void 0; + pollIndex = pollWatchedFileQueue(host, watchedFiles, pollIndex, pollingChunkSize[250 /* Low */]); + scheduleNextPoll(); + } + function scheduleNextPoll() { + if (!watchedFiles.length || pollScheduled) return; + pollScheduled = host.setTimeout(pollQueue, 2e3 /* High */, "pollQueue"); + } +} +function createSingleWatcherPerName(cache, useCaseSensitiveFileNames2, name, callback, createWatcher) { + const toCanonicalFileName = createGetCanonicalFileName(useCaseSensitiveFileNames2); + const path = toCanonicalFileName(name); + const existing = cache.get(path); + if (existing) { + existing.callbacks.push(callback); + } else { + cache.set(path, { + watcher: createWatcher( + // Cant infer types correctly so lets satisfy checker + (param1, param2, param3) => { + var _a; + return (_a = cache.get(path)) == null ? void 0 : _a.callbacks.slice().forEach((cb) => cb(param1, param2, param3)); + } + ), + callbacks: [callback] + }); + } + return { + close: () => { + const watcher = cache.get(path); + if (!watcher) return; + if (!orderedRemoveItem(watcher.callbacks, callback) || watcher.callbacks.length) return; + cache.delete(path); + closeFileWatcherOf(watcher); + } + }; +} +function onWatchedFileStat(watchedFile, modifiedTime) { + const oldTime = watchedFile.mtime.getTime(); + const newTime = modifiedTime.getTime(); + if (oldTime !== newTime) { + watchedFile.mtime = modifiedTime; + watchedFile.callback(watchedFile.fileName, getFileWatcherEventKind(oldTime, newTime), modifiedTime); + return true; + } + return false; +} +function getFileWatcherEventKind(oldTime, newTime) { + return oldTime === 0 ? 0 /* Created */ : newTime === 0 ? 2 /* Deleted */ : 1 /* Changed */; +} +var ignoredPaths = ["/node_modules/.", "/.git", "/.#"]; +var curSysLog = noop; +function sysLog(s) { + return curSysLog(s); +} +function setSysLog(logger) { + curSysLog = logger; +} +function createDirectoryWatcherSupportingRecursive({ + watchDirectory, + useCaseSensitiveFileNames: useCaseSensitiveFileNames2, + getCurrentDirectory, + getAccessibleSortedChildDirectories, + fileSystemEntryExists, + realpath, + setTimeout: setTimeout2, + clearTimeout: clearTimeout2 +}) { + const cache = /* @__PURE__ */ new Map(); + const callbackCache = createMultiMap(); + const cacheToUpdateChildWatches = /* @__PURE__ */ new Map(); + let timerToUpdateChildWatches; + const filePathComparer = getStringComparer(!useCaseSensitiveFileNames2); + const toCanonicalFilePath = createGetCanonicalFileName(useCaseSensitiveFileNames2); + return (dirName, callback, recursive, options) => recursive ? createDirectoryWatcher(dirName, options, callback) : watchDirectory(dirName, callback, recursive, options); + function createDirectoryWatcher(dirName, options, callback, link) { + const dirPath = toCanonicalFilePath(dirName); + let directoryWatcher = cache.get(dirPath); + if (directoryWatcher) { + directoryWatcher.refCount++; + } else { + directoryWatcher = { + watcher: watchDirectory( + dirName, + (fileName) => { + var _a; + if (isIgnoredPath(fileName, options)) return; + if (options == null ? void 0 : options.synchronousWatchDirectory) { + if (!((_a = cache.get(dirPath)) == null ? void 0 : _a.targetWatcher)) invokeCallbacks(dirName, dirPath, fileName); + updateChildWatches(dirName, dirPath, options); + } else { + nonSyncUpdateChildWatches(dirName, dirPath, fileName, options); + } + }, + /*recursive*/ + false, + options + ), + refCount: 1, + childWatches: emptyArray, + targetWatcher: void 0, + links: void 0 + }; + cache.set(dirPath, directoryWatcher); + updateChildWatches(dirName, dirPath, options); + } + if (link) (directoryWatcher.links ?? (directoryWatcher.links = /* @__PURE__ */ new Set())).add(link); + const callbackToAdd = callback && { dirName, callback }; + if (callbackToAdd) { + callbackCache.add(dirPath, callbackToAdd); + } + return { + dirName, + close: () => { + var _a; + const directoryWatcher2 = Debug.checkDefined(cache.get(dirPath)); + if (callbackToAdd) callbackCache.remove(dirPath, callbackToAdd); + if (link) (_a = directoryWatcher2.links) == null ? void 0 : _a.delete(link); + directoryWatcher2.refCount--; + if (directoryWatcher2.refCount) return; + cache.delete(dirPath); + directoryWatcher2.links = void 0; + closeFileWatcherOf(directoryWatcher2); + closeTargetWatcher(directoryWatcher2); + directoryWatcher2.childWatches.forEach(closeFileWatcher); + } + }; + } + function invokeCallbacks(dirName, dirPath, fileNameOrInvokeMap, fileNames) { + var _a, _b; + let fileName; + let invokeMap; + if (isString(fileNameOrInvokeMap)) { + fileName = fileNameOrInvokeMap; + } else { + invokeMap = fileNameOrInvokeMap; + } + callbackCache.forEach((callbacks, rootDirName) => { + if (invokeMap && invokeMap.get(rootDirName) === true) return; + if (rootDirName === dirPath || startsWith(dirPath, rootDirName) && dirPath[rootDirName.length] === directorySeparator) { + if (invokeMap) { + if (fileNames) { + const existing = invokeMap.get(rootDirName); + if (existing) { + existing.push(...fileNames); + } else { + invokeMap.set(rootDirName, fileNames.slice()); + } + } else { + invokeMap.set(rootDirName, true); + } + } else { + callbacks.forEach(({ callback }) => callback(fileName)); + } + } + }); + (_b = (_a = cache.get(dirPath)) == null ? void 0 : _a.links) == null ? void 0 : _b.forEach((link) => { + const toPathInLink = (fileName2) => combinePaths(link, getRelativePathFromDirectory(dirName, fileName2, toCanonicalFilePath)); + if (invokeMap) { + invokeCallbacks(link, toCanonicalFilePath(link), invokeMap, fileNames == null ? void 0 : fileNames.map(toPathInLink)); + } else { + invokeCallbacks(link, toCanonicalFilePath(link), toPathInLink(fileName)); + } + }); + } + function nonSyncUpdateChildWatches(dirName, dirPath, fileName, options) { + const parentWatcher = cache.get(dirPath); + if (parentWatcher && fileSystemEntryExists(dirName, 1 /* Directory */)) { + scheduleUpdateChildWatches(dirName, dirPath, fileName, options); + return; + } + invokeCallbacks(dirName, dirPath, fileName); + closeTargetWatcher(parentWatcher); + removeChildWatches(parentWatcher); + } + function scheduleUpdateChildWatches(dirName, dirPath, fileName, options) { + const existing = cacheToUpdateChildWatches.get(dirPath); + if (existing) { + existing.fileNames.push(fileName); + } else { + cacheToUpdateChildWatches.set(dirPath, { dirName, options, fileNames: [fileName] }); + } + if (timerToUpdateChildWatches) { + clearTimeout2(timerToUpdateChildWatches); + timerToUpdateChildWatches = void 0; + } + timerToUpdateChildWatches = setTimeout2(onTimerToUpdateChildWatches, 1e3, "timerToUpdateChildWatches"); + } + function onTimerToUpdateChildWatches() { + var _a; + timerToUpdateChildWatches = void 0; + sysLog(`sysLog:: onTimerToUpdateChildWatches:: ${cacheToUpdateChildWatches.size}`); + const start = timestamp(); + const invokeMap = /* @__PURE__ */ new Map(); + while (!timerToUpdateChildWatches && cacheToUpdateChildWatches.size) { + const result = cacheToUpdateChildWatches.entries().next(); + Debug.assert(!result.done); + const { value: [dirPath, { dirName, options, fileNames }] } = result; + cacheToUpdateChildWatches.delete(dirPath); + const hasChanges = updateChildWatches(dirName, dirPath, options); + if (!((_a = cache.get(dirPath)) == null ? void 0 : _a.targetWatcher)) invokeCallbacks(dirName, dirPath, invokeMap, hasChanges ? void 0 : fileNames); + } + sysLog(`sysLog:: invokingWatchers:: Elapsed:: ${timestamp() - start}ms:: ${cacheToUpdateChildWatches.size}`); + callbackCache.forEach((callbacks, rootDirName) => { + const existing = invokeMap.get(rootDirName); + if (existing) { + callbacks.forEach(({ callback, dirName }) => { + if (isArray(existing)) { + existing.forEach(callback); + } else { + callback(dirName); + } + }); + } + }); + const elapsed = timestamp() - start; + sysLog(`sysLog:: Elapsed:: ${elapsed}ms:: onTimerToUpdateChildWatches:: ${cacheToUpdateChildWatches.size} ${timerToUpdateChildWatches}`); + } + function removeChildWatches(parentWatcher) { + if (!parentWatcher) return; + const existingChildWatches = parentWatcher.childWatches; + parentWatcher.childWatches = emptyArray; + for (const childWatcher of existingChildWatches) { + childWatcher.close(); + removeChildWatches(cache.get(toCanonicalFilePath(childWatcher.dirName))); + } + } + function closeTargetWatcher(watcher) { + if (watcher == null ? void 0 : watcher.targetWatcher) { + watcher.targetWatcher.close(); + watcher.targetWatcher = void 0; + } + } + function updateChildWatches(parentDir, parentDirPath, options) { + const parentWatcher = cache.get(parentDirPath); + if (!parentWatcher) return false; + const target = normalizePath(realpath(parentDir)); + let hasChanges; + let newChildWatches; + if (filePathComparer(target, parentDir) === 0 /* EqualTo */) { + hasChanges = enumerateInsertsAndDeletes( + fileSystemEntryExists(parentDir, 1 /* Directory */) ? mapDefined(getAccessibleSortedChildDirectories(parentDir), (child) => { + const childFullName = getNormalizedAbsolutePath(child, parentDir); + return !isIgnoredPath(childFullName, options) && filePathComparer(childFullName, normalizePath(realpath(childFullName))) === 0 /* EqualTo */ ? childFullName : void 0; + }) : emptyArray, + parentWatcher.childWatches, + (child, childWatcher) => filePathComparer(child, childWatcher.dirName), + createAndAddChildDirectoryWatcher, + closeFileWatcher, + addChildDirectoryWatcher + ); + } else if (parentWatcher.targetWatcher && filePathComparer(target, parentWatcher.targetWatcher.dirName) === 0 /* EqualTo */) { + hasChanges = false; + Debug.assert(parentWatcher.childWatches === emptyArray); + } else { + closeTargetWatcher(parentWatcher); + parentWatcher.targetWatcher = createDirectoryWatcher( + target, + options, + /*callback*/ + void 0, + parentDir + ); + parentWatcher.childWatches.forEach(closeFileWatcher); + hasChanges = true; + } + parentWatcher.childWatches = newChildWatches || emptyArray; + return hasChanges; + function createAndAddChildDirectoryWatcher(childName) { + const result = createDirectoryWatcher(childName, options); + addChildDirectoryWatcher(result); + } + function addChildDirectoryWatcher(childWatcher) { + (newChildWatches || (newChildWatches = [])).push(childWatcher); + } + } + function isIgnoredPath(path, options) { + return some(ignoredPaths, (searchPath) => isInPath(path, searchPath)) || isIgnoredByWatchOptions(path, options, useCaseSensitiveFileNames2, getCurrentDirectory); + } + function isInPath(path, searchPath) { + if (path.includes(searchPath)) return true; + if (useCaseSensitiveFileNames2) return false; + return toCanonicalFilePath(path).includes(searchPath); + } +} +function createFileWatcherCallback(callback) { + return (_fileName, eventKind, modifiedTime) => callback(eventKind === 1 /* Changed */ ? "change" : "rename", "", modifiedTime); +} +function createFsWatchCallbackForFileWatcherCallback(fileName, callback, getModifiedTime3) { + return (eventName, _relativeFileName, modifiedTime) => { + if (eventName === "rename") { + modifiedTime || (modifiedTime = getModifiedTime3(fileName) || missingFileModifiedTime); + callback(fileName, modifiedTime !== missingFileModifiedTime ? 0 /* Created */ : 2 /* Deleted */, modifiedTime); + } else { + callback(fileName, 1 /* Changed */, modifiedTime); + } + }; +} +function isIgnoredByWatchOptions(pathToCheck, options, useCaseSensitiveFileNames2, getCurrentDirectory) { + return ((options == null ? void 0 : options.excludeDirectories) || (options == null ? void 0 : options.excludeFiles)) && (matchesExclude(pathToCheck, options == null ? void 0 : options.excludeFiles, useCaseSensitiveFileNames2, getCurrentDirectory()) || matchesExclude(pathToCheck, options == null ? void 0 : options.excludeDirectories, useCaseSensitiveFileNames2, getCurrentDirectory())); +} +function createFsWatchCallbackForDirectoryWatcherCallback(directoryName, callback, options, useCaseSensitiveFileNames2, getCurrentDirectory) { + return (eventName, relativeFileName) => { + if (eventName === "rename") { + const fileName = !relativeFileName ? directoryName : normalizePath(combinePaths(directoryName, relativeFileName)); + if (!relativeFileName || !isIgnoredByWatchOptions(fileName, options, useCaseSensitiveFileNames2, getCurrentDirectory)) { + callback(fileName); + } + } + }; +} +function createSystemWatchFunctions({ + pollingWatchFileWorker, + getModifiedTime: getModifiedTime3, + setTimeout: setTimeout2, + clearTimeout: clearTimeout2, + fsWatchWorker, + fileSystemEntryExists, + useCaseSensitiveFileNames: useCaseSensitiveFileNames2, + getCurrentDirectory, + fsSupportsRecursiveFsWatch, + getAccessibleSortedChildDirectories, + realpath, + tscWatchFile, + useNonPollingWatchers, + tscWatchDirectory, + inodeWatching, + fsWatchWithTimestamp, + sysLog: sysLog2 +}) { + const pollingWatches = /* @__PURE__ */ new Map(); + const fsWatches = /* @__PURE__ */ new Map(); + const fsWatchesRecursive = /* @__PURE__ */ new Map(); + let dynamicPollingWatchFile; + let fixedChunkSizePollingWatchFile; + let nonPollingWatchFile; + let hostRecursiveDirectoryWatcher; + let hitSystemWatcherLimit = false; + return { + watchFile: watchFile2, + watchDirectory + }; + function watchFile2(fileName, callback, pollingInterval, options) { + options = updateOptionsForWatchFile(options, useNonPollingWatchers); + const watchFileKind = Debug.checkDefined(options.watchFile); + switch (watchFileKind) { + case 0 /* FixedPollingInterval */: + return pollingWatchFile( + fileName, + callback, + 250 /* Low */, + /*options*/ + void 0 + ); + case 1 /* PriorityPollingInterval */: + return pollingWatchFile( + fileName, + callback, + pollingInterval, + /*options*/ + void 0 + ); + case 2 /* DynamicPriorityPolling */: + return ensureDynamicPollingWatchFile()( + fileName, + callback, + pollingInterval, + /*options*/ + void 0 + ); + case 3 /* FixedChunkSizePolling */: + return ensureFixedChunkSizePollingWatchFile()( + fileName, + callback, + /* pollingInterval */ + void 0, + /*options*/ + void 0 + ); + case 4 /* UseFsEvents */: + return fsWatch( + fileName, + 0 /* File */, + createFsWatchCallbackForFileWatcherCallback(fileName, callback, getModifiedTime3), + /*recursive*/ + false, + pollingInterval, + getFallbackOptions(options) + ); + case 5 /* UseFsEventsOnParentDirectory */: + if (!nonPollingWatchFile) { + nonPollingWatchFile = createUseFsEventsOnParentDirectoryWatchFile(fsWatch, useCaseSensitiveFileNames2, getModifiedTime3, fsWatchWithTimestamp); + } + return nonPollingWatchFile(fileName, callback, pollingInterval, getFallbackOptions(options)); + default: + Debug.assertNever(watchFileKind); + } + } + function ensureDynamicPollingWatchFile() { + return dynamicPollingWatchFile || (dynamicPollingWatchFile = createDynamicPriorityPollingWatchFile({ getModifiedTime: getModifiedTime3, setTimeout: setTimeout2 })); + } + function ensureFixedChunkSizePollingWatchFile() { + return fixedChunkSizePollingWatchFile || (fixedChunkSizePollingWatchFile = createFixedChunkSizePollingWatchFile({ getModifiedTime: getModifiedTime3, setTimeout: setTimeout2 })); + } + function updateOptionsForWatchFile(options, useNonPollingWatchers2) { + if (options && options.watchFile !== void 0) return options; + switch (tscWatchFile) { + case "PriorityPollingInterval": + return { watchFile: 1 /* PriorityPollingInterval */ }; + case "DynamicPriorityPolling": + return { watchFile: 2 /* DynamicPriorityPolling */ }; + case "UseFsEvents": + return generateWatchFileOptions(4 /* UseFsEvents */, 1 /* PriorityInterval */, options); + case "UseFsEventsWithFallbackDynamicPolling": + return generateWatchFileOptions(4 /* UseFsEvents */, 2 /* DynamicPriority */, options); + case "UseFsEventsOnParentDirectory": + useNonPollingWatchers2 = true; + // fall through + default: + return useNonPollingWatchers2 ? ( + // Use notifications from FS to watch with falling back to fs.watchFile + generateWatchFileOptions(5 /* UseFsEventsOnParentDirectory */, 1 /* PriorityInterval */, options) + ) : ( + // Default to using fs events + { watchFile: 4 /* UseFsEvents */ } + ); + } + } + function generateWatchFileOptions(watchFile3, fallbackPolling, options) { + const defaultFallbackPolling = options == null ? void 0 : options.fallbackPolling; + return { + watchFile: watchFile3, + fallbackPolling: defaultFallbackPolling === void 0 ? fallbackPolling : defaultFallbackPolling + }; + } + function watchDirectory(directoryName, callback, recursive, options) { + if (fsSupportsRecursiveFsWatch) { + return fsWatch( + directoryName, + 1 /* Directory */, + createFsWatchCallbackForDirectoryWatcherCallback(directoryName, callback, options, useCaseSensitiveFileNames2, getCurrentDirectory), + recursive, + 500 /* Medium */, + getFallbackOptions(options) + ); + } + if (!hostRecursiveDirectoryWatcher) { + hostRecursiveDirectoryWatcher = createDirectoryWatcherSupportingRecursive({ + useCaseSensitiveFileNames: useCaseSensitiveFileNames2, + getCurrentDirectory, + fileSystemEntryExists, + getAccessibleSortedChildDirectories, + watchDirectory: nonRecursiveWatchDirectory, + realpath, + setTimeout: setTimeout2, + clearTimeout: clearTimeout2 + }); + } + return hostRecursiveDirectoryWatcher(directoryName, callback, recursive, options); + } + function nonRecursiveWatchDirectory(directoryName, callback, recursive, options) { + Debug.assert(!recursive); + const watchDirectoryOptions = updateOptionsForWatchDirectory(options); + const watchDirectoryKind = Debug.checkDefined(watchDirectoryOptions.watchDirectory); + switch (watchDirectoryKind) { + case 1 /* FixedPollingInterval */: + return pollingWatchFile( + directoryName, + () => callback(directoryName), + 500 /* Medium */, + /*options*/ + void 0 + ); + case 2 /* DynamicPriorityPolling */: + return ensureDynamicPollingWatchFile()( + directoryName, + () => callback(directoryName), + 500 /* Medium */, + /*options*/ + void 0 + ); + case 3 /* FixedChunkSizePolling */: + return ensureFixedChunkSizePollingWatchFile()( + directoryName, + () => callback(directoryName), + /* pollingInterval */ + void 0, + /*options*/ + void 0 + ); + case 0 /* UseFsEvents */: + return fsWatch( + directoryName, + 1 /* Directory */, + createFsWatchCallbackForDirectoryWatcherCallback(directoryName, callback, options, useCaseSensitiveFileNames2, getCurrentDirectory), + recursive, + 500 /* Medium */, + getFallbackOptions(watchDirectoryOptions) + ); + default: + Debug.assertNever(watchDirectoryKind); + } + } + function updateOptionsForWatchDirectory(options) { + if (options && options.watchDirectory !== void 0) return options; + switch (tscWatchDirectory) { + case "RecursiveDirectoryUsingFsWatchFile": + return { watchDirectory: 1 /* FixedPollingInterval */ }; + case "RecursiveDirectoryUsingDynamicPriorityPolling": + return { watchDirectory: 2 /* DynamicPriorityPolling */ }; + default: + const defaultFallbackPolling = options == null ? void 0 : options.fallbackPolling; + return { + watchDirectory: 0 /* UseFsEvents */, + fallbackPolling: defaultFallbackPolling !== void 0 ? defaultFallbackPolling : void 0 + }; + } + } + function pollingWatchFile(fileName, callback, pollingInterval, options) { + return createSingleWatcherPerName( + pollingWatches, + useCaseSensitiveFileNames2, + fileName, + callback, + (cb) => pollingWatchFileWorker(fileName, cb, pollingInterval, options) + ); + } + function fsWatch(fileOrDirectory, entryKind, callback, recursive, fallbackPollingInterval, fallbackOptions) { + return createSingleWatcherPerName( + recursive ? fsWatchesRecursive : fsWatches, + useCaseSensitiveFileNames2, + fileOrDirectory, + callback, + (cb) => fsWatchHandlingExistenceOnHost(fileOrDirectory, entryKind, cb, recursive, fallbackPollingInterval, fallbackOptions) + ); + } + function fsWatchHandlingExistenceOnHost(fileOrDirectory, entryKind, callback, recursive, fallbackPollingInterval, fallbackOptions) { + let lastDirectoryPartWithDirectorySeparator; + let lastDirectoryPart; + if (inodeWatching) { + lastDirectoryPartWithDirectorySeparator = fileOrDirectory.substring(fileOrDirectory.lastIndexOf(directorySeparator)); + lastDirectoryPart = lastDirectoryPartWithDirectorySeparator.slice(directorySeparator.length); + } + let watcher = !fileSystemEntryExists(fileOrDirectory, entryKind) ? watchMissingFileSystemEntry() : watchPresentFileSystemEntry(); + return { + close: () => { + if (watcher) { + watcher.close(); + watcher = void 0; + } + } + }; + function updateWatcher(createWatcher) { + if (watcher) { + sysLog2(`sysLog:: ${fileOrDirectory}:: Changing watcher to ${createWatcher === watchPresentFileSystemEntry ? "Present" : "Missing"}FileSystemEntryWatcher`); + watcher.close(); + watcher = createWatcher(); + } + } + function watchPresentFileSystemEntry() { + if (hitSystemWatcherLimit) { + sysLog2(`sysLog:: ${fileOrDirectory}:: Defaulting to watchFile`); + return watchPresentFileSystemEntryWithFsWatchFile(); + } + try { + const presentWatcher = (entryKind === 1 /* Directory */ || !fsWatchWithTimestamp ? fsWatchWorker : fsWatchWorkerHandlingTimestamp)( + fileOrDirectory, + recursive, + inodeWatching ? callbackChangingToMissingFileSystemEntry : callback + ); + presentWatcher.on("error", () => { + callback("rename", ""); + updateWatcher(watchMissingFileSystemEntry); + }); + return presentWatcher; + } catch (e) { + hitSystemWatcherLimit || (hitSystemWatcherLimit = e.code === "ENOSPC"); + sysLog2(`sysLog:: ${fileOrDirectory}:: Changing to watchFile`); + return watchPresentFileSystemEntryWithFsWatchFile(); + } + } + function callbackChangingToMissingFileSystemEntry(event, relativeName) { + let originalRelativeName; + if (relativeName && endsWith(relativeName, "~")) { + originalRelativeName = relativeName; + relativeName = relativeName.slice(0, relativeName.length - 1); + } + if (event === "rename" && (!relativeName || relativeName === lastDirectoryPart || endsWith(relativeName, lastDirectoryPartWithDirectorySeparator))) { + const modifiedTime = getModifiedTime3(fileOrDirectory) || missingFileModifiedTime; + if (originalRelativeName) callback(event, originalRelativeName, modifiedTime); + callback(event, relativeName, modifiedTime); + if (inodeWatching) { + updateWatcher(modifiedTime === missingFileModifiedTime ? watchMissingFileSystemEntry : watchPresentFileSystemEntry); + } else if (modifiedTime === missingFileModifiedTime) { + updateWatcher(watchMissingFileSystemEntry); + } + } else { + if (originalRelativeName) callback(event, originalRelativeName); + callback(event, relativeName); + } + } + function watchPresentFileSystemEntryWithFsWatchFile() { + return watchFile2( + fileOrDirectory, + createFileWatcherCallback(callback), + fallbackPollingInterval, + fallbackOptions + ); + } + function watchMissingFileSystemEntry() { + return watchFile2( + fileOrDirectory, + (_fileName, eventKind, modifiedTime) => { + if (eventKind === 0 /* Created */) { + modifiedTime || (modifiedTime = getModifiedTime3(fileOrDirectory) || missingFileModifiedTime); + if (modifiedTime !== missingFileModifiedTime) { + callback("rename", "", modifiedTime); + updateWatcher(watchPresentFileSystemEntry); + } + } + }, + fallbackPollingInterval, + fallbackOptions + ); + } + } + function fsWatchWorkerHandlingTimestamp(fileOrDirectory, recursive, callback) { + let modifiedTime = getModifiedTime3(fileOrDirectory) || missingFileModifiedTime; + return fsWatchWorker(fileOrDirectory, recursive, (eventName, relativeFileName, currentModifiedTime) => { + if (eventName === "change") { + currentModifiedTime || (currentModifiedTime = getModifiedTime3(fileOrDirectory) || missingFileModifiedTime); + if (currentModifiedTime.getTime() === modifiedTime.getTime()) return; + } + modifiedTime = currentModifiedTime || getModifiedTime3(fileOrDirectory) || missingFileModifiedTime; + callback(eventName, relativeFileName, modifiedTime); + }); + } +} +function patchWriteFileEnsuringDirectory(sys2) { + const originalWriteFile = sys2.writeFile; + sys2.writeFile = (path, data, writeBom) => writeFileEnsuringDirectories( + path, + data, + !!writeBom, + (path2, data2, writeByteOrderMark) => originalWriteFile.call(sys2, path2, data2, writeByteOrderMark), + (path2) => sys2.createDirectory(path2), + (path2) => sys2.directoryExists(path2) + ); +} +var sys = (() => { + const byteOrderMarkIndicator = "\uFEFF"; + function getNodeSystem() { + const nativePattern = /^native |^\([^)]+\)$|^(?:internal[\\/]|[\w\s]+(?:\.js)?$)/; + const _fs = require("fs"); + const _path = require("path"); + const _os = require("os"); + let _crypto; + try { + _crypto = require("crypto"); + } catch { + _crypto = void 0; + } + let activeSession; + let profilePath = "./profile.cpuprofile"; + const isMacOs = process.platform === "darwin"; + const isLinuxOrMacOs = process.platform === "linux" || isMacOs; + const statSyncOptions = { throwIfNoEntry: false }; + const platform = _os.platform(); + const useCaseSensitiveFileNames2 = isFileSystemCaseSensitive(); + const fsRealpath = !!_fs.realpathSync.native ? process.platform === "win32" ? fsRealPathHandlingLongPath : _fs.realpathSync.native : _fs.realpathSync; + const executingFilePath = __filename.endsWith("sys.js") ? _path.join(_path.dirname(__dirname), "__fake__.js") : __filename; + const fsSupportsRecursiveFsWatch = process.platform === "win32" || isMacOs; + const getCurrentDirectory = memoize(() => process.cwd()); + const { watchFile: watchFile2, watchDirectory } = createSystemWatchFunctions({ + pollingWatchFileWorker: fsWatchFileWorker, + getModifiedTime: getModifiedTime3, + setTimeout, + clearTimeout, + fsWatchWorker, + useCaseSensitiveFileNames: useCaseSensitiveFileNames2, + getCurrentDirectory, + fileSystemEntryExists, + // Node 4.0 `fs.watch` function supports the "recursive" option on both OSX and Windows + // (ref: https://github.com/nodejs/node/pull/2649 and https://github.com/Microsoft/TypeScript/issues/4643) + fsSupportsRecursiveFsWatch, + getAccessibleSortedChildDirectories: (path) => getAccessibleFileSystemEntries(path).directories, + realpath, + tscWatchFile: process.env.TSC_WATCHFILE, + useNonPollingWatchers: !!process.env.TSC_NONPOLLING_WATCHER, + tscWatchDirectory: process.env.TSC_WATCHDIRECTORY, + inodeWatching: isLinuxOrMacOs, + fsWatchWithTimestamp: isMacOs, + sysLog + }); + const nodeSystem = { + args: process.argv.slice(2), + newLine: _os.EOL, + useCaseSensitiveFileNames: useCaseSensitiveFileNames2, + write(s) { + process.stdout.write(s); + }, + getWidthOfTerminal() { + return process.stdout.columns; + }, + writeOutputIsTTY() { + return process.stdout.isTTY; + }, + readFile, + writeFile: writeFile2, + watchFile: watchFile2, + watchDirectory, + preferNonRecursiveWatch: !fsSupportsRecursiveFsWatch, + resolvePath: (path) => _path.resolve(path), + fileExists, + directoryExists, + getAccessibleFileSystemEntries, + createDirectory(directoryName) { + if (!nodeSystem.directoryExists(directoryName)) { + try { + _fs.mkdirSync(directoryName); + } catch (e) { + if (e.code !== "EEXIST") { + throw e; + } + } + } + }, + getExecutingFilePath() { + return executingFilePath; + }, + getCurrentDirectory, + getDirectories, + getEnvironmentVariable(name) { + return process.env[name] || ""; + }, + readDirectory, + getModifiedTime: getModifiedTime3, + setModifiedTime, + deleteFile, + createHash: _crypto ? createSHA256Hash : generateDjb2Hash, + createSHA256Hash: _crypto ? createSHA256Hash : void 0, + getMemoryUsage() { + if (global.gc) { + global.gc(); + } + return process.memoryUsage().heapUsed; + }, + getFileSize(path) { + const stat = statSync(path); + if (stat == null ? void 0 : stat.isFile()) { + return stat.size; + } + return 0; + }, + exit(exitCode) { + disableCPUProfiler(() => process.exit(exitCode)); + }, + enableCPUProfiler, + disableCPUProfiler, + cpuProfilingEnabled: () => !!activeSession || contains(process.execArgv, "--cpu-prof") || contains(process.execArgv, "--prof"), + realpath, + debugMode: !!process.env.NODE_INSPECTOR_IPC || !!process.env.VSCODE_INSPECTOR_OPTIONS || some(process.execArgv, (arg) => /^--(?:inspect|debug)(?:-brk)?(?:=\d+)?$/i.test(arg)) || !!process.recordreplay, + tryEnableSourceMapsForHost() { + try { + require("source-map-support").install(); + } catch { + } + }, + setTimeout, + clearTimeout, + clearScreen: () => { + process.stdout.write("\x1B[2J\x1B[3J\x1B[H"); + }, + setBlocking: () => { + var _a; + const handle = (_a = process.stdout) == null ? void 0 : _a._handle; + if (handle && handle.setBlocking) { + handle.setBlocking(true); + } + }, + base64decode: (input) => Buffer.from(input, "base64").toString("utf8"), + base64encode: (input) => Buffer.from(input).toString("base64"), + require: (baseDir, moduleName) => { + try { + const modulePath = resolveJSModule(moduleName, baseDir, nodeSystem); + return { module: require(modulePath), modulePath, error: void 0 }; + } catch (error) { + return { module: void 0, modulePath: void 0, error }; + } + } + }; + return nodeSystem; + function statSync(path) { + try { + return _fs.statSync(path, statSyncOptions); + } catch { + return void 0; + } + } + function enableCPUProfiler(path, cb) { + if (activeSession) { + cb(); + return false; + } + const inspector = require("inspector"); + if (!inspector || !inspector.Session) { + cb(); + return false; + } + const session = new inspector.Session(); + session.connect(); + session.post("Profiler.enable", () => { + session.post("Profiler.start", () => { + activeSession = session; + profilePath = path; + cb(); + }); + }); + return true; + } + function cleanupPaths(profile) { + let externalFileCounter = 0; + const remappedPaths = /* @__PURE__ */ new Map(); + const normalizedDir = normalizeSlashes(_path.dirname(executingFilePath)); + const fileUrlRoot = `file://${getRootLength(normalizedDir) === 1 ? "" : "/"}${normalizedDir}`; + for (const node of profile.nodes) { + if (node.callFrame.url) { + const url = normalizeSlashes(node.callFrame.url); + if (containsPath(fileUrlRoot, url, useCaseSensitiveFileNames2)) { + node.callFrame.url = getRelativePathToDirectoryOrUrl( + fileUrlRoot, + url, + fileUrlRoot, + createGetCanonicalFileName(useCaseSensitiveFileNames2), + /*isAbsolutePathAnUrl*/ + true + ); + } else if (!nativePattern.test(url)) { + node.callFrame.url = (remappedPaths.has(url) ? remappedPaths : remappedPaths.set(url, `external${externalFileCounter}.js`)).get(url); + externalFileCounter++; + } + } + } + return profile; + } + function disableCPUProfiler(cb) { + if (activeSession && activeSession !== "stopping") { + const s = activeSession; + activeSession.post("Profiler.stop", (err, { profile }) => { + var _a; + if (!err) { + if ((_a = statSync(profilePath)) == null ? void 0 : _a.isDirectory()) { + profilePath = _path.join(profilePath, `${(/* @__PURE__ */ new Date()).toISOString().replace(/:/g, "-")}+P${process.pid}.cpuprofile`); + } + try { + _fs.mkdirSync(_path.dirname(profilePath), { recursive: true }); + } catch { + } + _fs.writeFileSync(profilePath, JSON.stringify(cleanupPaths(profile))); + } + activeSession = void 0; + s.disconnect(); + cb(); + }); + activeSession = "stopping"; + return true; + } else { + cb(); + return false; + } + } + function isFileSystemCaseSensitive() { + if (platform === "win32" || platform === "win64") { + return false; + } + return !fileExists(swapCase(__filename)); + } + function swapCase(s) { + return s.replace(/\w/g, (ch) => { + const up = ch.toUpperCase(); + return ch === up ? ch.toLowerCase() : up; + }); + } + function fsWatchFileWorker(fileName, callback, pollingInterval) { + _fs.watchFile(fileName, { persistent: true, interval: pollingInterval }, fileChanged); + let eventKind; + return { + close: () => _fs.unwatchFile(fileName, fileChanged) + }; + function fileChanged(curr, prev) { + const isPreviouslyDeleted = +prev.mtime === 0 || eventKind === 2 /* Deleted */; + if (+curr.mtime === 0) { + if (isPreviouslyDeleted) { + return; + } + eventKind = 2 /* Deleted */; + } else if (isPreviouslyDeleted) { + eventKind = 0 /* Created */; + } else if (+curr.mtime === +prev.mtime) { + return; + } else { + eventKind = 1 /* Changed */; + } + callback(fileName, eventKind, curr.mtime); + } + } + function fsWatchWorker(fileOrDirectory, recursive, callback) { + return _fs.watch( + fileOrDirectory, + fsSupportsRecursiveFsWatch ? { persistent: true, recursive: !!recursive } : { persistent: true }, + callback + ); + } + function readFile(fileName, _encoding) { + let buffer; + try { + buffer = _fs.readFileSync(fileName); + } catch { + return void 0; + } + let len = buffer.length; + if (len >= 2 && buffer[0] === 254 && buffer[1] === 255) { + len &= ~1; + for (let i = 0; i < len; i += 2) { + const temp = buffer[i]; + buffer[i] = buffer[i + 1]; + buffer[i + 1] = temp; + } + return buffer.toString("utf16le", 2); + } + if (len >= 2 && buffer[0] === 255 && buffer[1] === 254) { + return buffer.toString("utf16le", 2); + } + if (len >= 3 && buffer[0] === 239 && buffer[1] === 187 && buffer[2] === 191) { + return buffer.toString("utf8", 3); + } + return buffer.toString("utf8"); + } + function writeFile2(fileName, data, writeByteOrderMark) { + if (writeByteOrderMark) { + data = byteOrderMarkIndicator + data; + } + let fd; + try { + fd = _fs.openSync(fileName, "w"); + _fs.writeSync( + fd, + data, + /*position*/ + void 0, + "utf8" + ); + } finally { + if (fd !== void 0) { + _fs.closeSync(fd); + } + } + } + function getAccessibleFileSystemEntries(path) { + try { + const entries = _fs.readdirSync(path || ".", { withFileTypes: true }); + const files = []; + const directories = []; + for (const dirent of entries) { + const entry = typeof dirent === "string" ? dirent : dirent.name; + if (entry === "." || entry === "..") { + continue; + } + let stat; + if (typeof dirent === "string" || dirent.isSymbolicLink()) { + const name = combinePaths(path, entry); + stat = statSync(name); + if (!stat) { + continue; + } + } else { + stat = dirent; + } + if (stat.isFile()) { + files.push(entry); + } else if (stat.isDirectory()) { + directories.push(entry); + } + } + files.sort(); + directories.sort(); + return { files, directories }; + } catch { + return emptyFileSystemEntries; + } + } + function readDirectory(path, extensions, excludes, includes, depth) { + return matchFiles(path, extensions, excludes, includes, useCaseSensitiveFileNames2, process.cwd(), depth, getAccessibleFileSystemEntries, realpath); + } + function fileSystemEntryExists(path, entryKind) { + const stat = statSync(path); + if (!stat) { + return false; + } + switch (entryKind) { + case 0 /* File */: + return stat.isFile(); + case 1 /* Directory */: + return stat.isDirectory(); + default: + return false; + } + } + function fileExists(path) { + return fileSystemEntryExists(path, 0 /* File */); + } + function directoryExists(path) { + return fileSystemEntryExists(path, 1 /* Directory */); + } + function getDirectories(path) { + return getAccessibleFileSystemEntries(path).directories.slice(); + } + function fsRealPathHandlingLongPath(path) { + return path.length < 260 ? _fs.realpathSync.native(path) : _fs.realpathSync(path); + } + function realpath(path) { + try { + return fsRealpath(path); + } catch { + return path; + } + } + function getModifiedTime3(path) { + var _a; + return (_a = statSync(path)) == null ? void 0 : _a.mtime; + } + function setModifiedTime(path, time) { + try { + _fs.utimesSync(path, time, time); + } catch { + return; + } + } + function deleteFile(path) { + try { + return _fs.unlinkSync(path); + } catch { + return; + } + } + function createSHA256Hash(data) { + const hash = _crypto.createHash("sha256"); + hash.update(data); + return hash.digest("hex"); + } + } + let sys2; + if (isNodeLikeSystem()) { + sys2 = getNodeSystem(); + } + if (sys2) { + patchWriteFileEnsuringDirectory(sys2); + } + return sys2; +})(); +if (sys && sys.getEnvironmentVariable) { + setCustomPollingValues(sys); + Debug.setAssertionLevel( + /^development$/i.test(sys.getEnvironmentVariable("NODE_ENV")) ? 1 /* Normal */ : 0 /* None */ + ); +} +if (sys && sys.debugMode) { + Debug.isDebugging = true; +} + +// src/compiler/path.ts +var directorySeparator = "/"; +var altDirectorySeparator = "\\"; +var urlSchemeSeparator = "://"; +var backslashRegExp = /\\/g; +function isAnyDirectorySeparator(charCode) { + return charCode === 47 /* slash */ || charCode === 92 /* backslash */; +} +function isRootedDiskPath(path) { + return getEncodedRootLength(path) > 0; +} +function isDiskPathRoot(path) { + const rootLength = getEncodedRootLength(path); + return rootLength > 0 && rootLength === path.length; +} +function pathIsAbsolute(path) { + return getEncodedRootLength(path) !== 0; +} +function pathIsRelative(path) { + return /^\.\.?(?:$|[\\/])/.test(path); +} +function pathIsBareSpecifier(path) { + return !pathIsAbsolute(path) && !pathIsRelative(path); +} +function hasExtension(fileName) { + return getBaseFileName(fileName).includes("."); +} +function fileExtensionIs(path, extension) { + return path.length > extension.length && endsWith(path, extension); +} +function fileExtensionIsOneOf(path, extensions) { + for (const extension of extensions) { + if (fileExtensionIs(path, extension)) { + return true; + } + } + return false; +} +function hasTrailingDirectorySeparator(path) { + return path.length > 0 && isAnyDirectorySeparator(path.charCodeAt(path.length - 1)); +} +function isVolumeCharacter(charCode) { + return charCode >= 97 /* a */ && charCode <= 122 /* z */ || charCode >= 65 /* A */ && charCode <= 90 /* Z */; +} +function getFileUrlVolumeSeparatorEnd(url, start) { + const ch0 = url.charCodeAt(start); + if (ch0 === 58 /* colon */) return start + 1; + if (ch0 === 37 /* percent */ && url.charCodeAt(start + 1) === 51 /* _3 */) { + const ch2 = url.charCodeAt(start + 2); + if (ch2 === 97 /* a */ || ch2 === 65 /* A */) return start + 3; + } + return -1; +} +function getEncodedRootLength(path) { + if (!path) return 0; + const ch0 = path.charCodeAt(0); + if (ch0 === 47 /* slash */ || ch0 === 92 /* backslash */) { + if (path.charCodeAt(1) !== ch0) return 1; + const p1 = path.indexOf(ch0 === 47 /* slash */ ? directorySeparator : altDirectorySeparator, 2); + if (p1 < 0) return path.length; + return p1 + 1; + } + if (isVolumeCharacter(ch0) && path.charCodeAt(1) === 58 /* colon */) { + const ch2 = path.charCodeAt(2); + if (ch2 === 47 /* slash */ || ch2 === 92 /* backslash */) return 3; + if (path.length === 2) return 2; + } + const schemeEnd = path.indexOf(urlSchemeSeparator); + if (schemeEnd !== -1) { + const authorityStart = schemeEnd + urlSchemeSeparator.length; + const authorityEnd = path.indexOf(directorySeparator, authorityStart); + if (authorityEnd !== -1) { + const scheme = path.slice(0, schemeEnd); + const authority = path.slice(authorityStart, authorityEnd); + if (scheme === "file" && (authority === "" || authority === "localhost") && isVolumeCharacter(path.charCodeAt(authorityEnd + 1))) { + const volumeSeparatorEnd = getFileUrlVolumeSeparatorEnd(path, authorityEnd + 2); + if (volumeSeparatorEnd !== -1) { + if (path.charCodeAt(volumeSeparatorEnd) === 47 /* slash */) { + return ~(volumeSeparatorEnd + 1); + } + if (volumeSeparatorEnd === path.length) { + return ~volumeSeparatorEnd; + } + } + } + return ~(authorityEnd + 1); + } + return ~path.length; + } + return 0; +} +function getRootLength(path) { + const rootLength = getEncodedRootLength(path); + return rootLength < 0 ? ~rootLength : rootLength; +} +function getDirectoryPath(path) { + path = normalizeSlashes(path); + const rootLength = getRootLength(path); + if (rootLength === path.length) return path; + path = removeTrailingDirectorySeparator(path); + return path.slice(0, Math.max(rootLength, path.lastIndexOf(directorySeparator))); +} +function getBaseFileName(path, extensions, ignoreCase) { + path = normalizeSlashes(path); + const rootLength = getRootLength(path); + if (rootLength === path.length) return ""; + path = removeTrailingDirectorySeparator(path); + const name = path.slice(Math.max(getRootLength(path), path.lastIndexOf(directorySeparator) + 1)); + const extension = extensions !== void 0 && ignoreCase !== void 0 ? getAnyExtensionFromPath(name, extensions, ignoreCase) : void 0; + return extension ? name.slice(0, name.length - extension.length) : name; +} +function tryGetExtensionFromPath(path, extension, stringEqualityComparer) { + if (!startsWith(extension, ".")) extension = "." + extension; + if (path.length >= extension.length && path.charCodeAt(path.length - extension.length) === 46 /* dot */) { + const pathExtension = path.slice(path.length - extension.length); + if (stringEqualityComparer(pathExtension, extension)) { + return pathExtension; + } + } +} +function getAnyExtensionFromPathWorker(path, extensions, stringEqualityComparer) { + if (typeof extensions === "string") { + return tryGetExtensionFromPath(path, extensions, stringEqualityComparer) || ""; + } + for (const extension of extensions) { + const result = tryGetExtensionFromPath(path, extension, stringEqualityComparer); + if (result) return result; + } + return ""; +} +function getAnyExtensionFromPath(path, extensions, ignoreCase) { + if (extensions) { + return getAnyExtensionFromPathWorker(removeTrailingDirectorySeparator(path), extensions, ignoreCase ? equateStringsCaseInsensitive : equateStringsCaseSensitive); + } + const baseFileName = getBaseFileName(path); + const extensionIndex = baseFileName.lastIndexOf("."); + if (extensionIndex >= 0) { + return baseFileName.substring(extensionIndex); + } + return ""; +} +function pathComponents(path, rootLength) { + const root = path.substring(0, rootLength); + const rest = path.substring(rootLength).split(directorySeparator); + if (rest.length && !lastOrUndefined(rest)) rest.pop(); + return [root, ...rest]; +} +function getPathComponents(path, currentDirectory = "") { + path = combinePaths(currentDirectory, path); + return pathComponents(path, getRootLength(path)); +} +function getPathFromPathComponents(pathComponents2, length2) { + if (pathComponents2.length === 0) return ""; + const root = pathComponents2[0] && ensureTrailingDirectorySeparator(pathComponents2[0]); + return root + pathComponents2.slice(1, length2).join(directorySeparator); +} +function normalizeSlashes(path) { + return path.includes("\\") ? path.replace(backslashRegExp, directorySeparator) : path; +} +function reducePathComponents(components) { + if (!some(components)) return []; + const reduced = [components[0]]; + for (let i = 1; i < components.length; i++) { + const component = components[i]; + if (!component) continue; + if (component === ".") continue; + if (component === "..") { + if (reduced.length > 1) { + if (reduced[reduced.length - 1] !== "..") { + reduced.pop(); + continue; + } + } else if (reduced[0]) continue; + } + reduced.push(component); + } + return reduced; +} +function combinePaths(path, ...paths) { + if (path) path = normalizeSlashes(path); + for (let relativePath of paths) { + if (!relativePath) continue; + relativePath = normalizeSlashes(relativePath); + if (!path || getRootLength(relativePath) !== 0) { + path = relativePath; + } else { + path = ensureTrailingDirectorySeparator(path) + relativePath; + } + } + return path; +} +function resolvePath(path, ...paths) { + return normalizePath(some(paths) ? combinePaths(path, ...paths) : normalizeSlashes(path)); +} +function getNormalizedPathComponents(path, currentDirectory) { + return reducePathComponents(getPathComponents(path, currentDirectory)); +} +function getNormalizedAbsolutePath(fileName, currentDirectory) { + return getPathFromPathComponents(getNormalizedPathComponents(fileName, currentDirectory)); +} +function normalizePath(path) { + path = normalizeSlashes(path); + if (!relativePathSegmentRegExp.test(path)) { + return path; + } + const simplified = path.replace(/\/\.\//g, "/").replace(/^\.\//, ""); + if (simplified !== path) { + path = simplified; + if (!relativePathSegmentRegExp.test(path)) { + return path; + } + } + const normalized = getPathFromPathComponents(reducePathComponents(getPathComponents(path))); + return normalized && hasTrailingDirectorySeparator(path) ? ensureTrailingDirectorySeparator(normalized) : normalized; +} +function getPathWithoutRoot(pathComponents2) { + if (pathComponents2.length === 0) return ""; + return pathComponents2.slice(1).join(directorySeparator); +} +function getNormalizedAbsolutePathWithoutRoot(fileName, currentDirectory) { + return getPathWithoutRoot(getNormalizedPathComponents(fileName, currentDirectory)); +} +function toPath(fileName, basePath, getCanonicalFileName) { + const nonCanonicalizedPath = isRootedDiskPath(fileName) ? normalizePath(fileName) : getNormalizedAbsolutePath(fileName, basePath); + return getCanonicalFileName(nonCanonicalizedPath); +} +function removeTrailingDirectorySeparator(path) { + if (hasTrailingDirectorySeparator(path)) { + return path.substr(0, path.length - 1); + } + return path; +} +function ensureTrailingDirectorySeparator(path) { + if (!hasTrailingDirectorySeparator(path)) { + return path + directorySeparator; + } + return path; +} +function ensurePathIsNonModuleName(path) { + return !pathIsAbsolute(path) && !pathIsRelative(path) ? "./" + path : path; +} +function changeAnyExtension(path, ext, extensions, ignoreCase) { + const pathext = extensions !== void 0 && ignoreCase !== void 0 ? getAnyExtensionFromPath(path, extensions, ignoreCase) : getAnyExtensionFromPath(path); + return pathext ? path.slice(0, path.length - pathext.length) + (startsWith(ext, ".") ? ext : "." + ext) : path; +} +function changeFullExtension(path, newExtension) { + const declarationExtension = getDeclarationFileExtension(path); + if (declarationExtension) { + return path.slice(0, path.length - declarationExtension.length) + (startsWith(newExtension, ".") ? newExtension : "." + newExtension); + } + return changeAnyExtension(path, newExtension); +} +var relativePathSegmentRegExp = /\/\/|(?:^|\/)\.\.?(?:$|\/)/; +function comparePathsWorker(a, b, componentComparer) { + if (a === b) return 0 /* EqualTo */; + if (a === void 0) return -1 /* LessThan */; + if (b === void 0) return 1 /* GreaterThan */; + const aRoot = a.substring(0, getRootLength(a)); + const bRoot = b.substring(0, getRootLength(b)); + const result = compareStringsCaseInsensitive(aRoot, bRoot); + if (result !== 0 /* EqualTo */) { + return result; + } + const aRest = a.substring(aRoot.length); + const bRest = b.substring(bRoot.length); + if (!relativePathSegmentRegExp.test(aRest) && !relativePathSegmentRegExp.test(bRest)) { + return componentComparer(aRest, bRest); + } + const aComponents = reducePathComponents(getPathComponents(a)); + const bComponents = reducePathComponents(getPathComponents(b)); + const sharedLength = Math.min(aComponents.length, bComponents.length); + for (let i = 1; i < sharedLength; i++) { + const result2 = componentComparer(aComponents[i], bComponents[i]); + if (result2 !== 0 /* EqualTo */) { + return result2; + } + } + return compareValues(aComponents.length, bComponents.length); +} +function comparePaths(a, b, currentDirectory, ignoreCase) { + if (typeof currentDirectory === "string") { + a = combinePaths(currentDirectory, a); + b = combinePaths(currentDirectory, b); + } else if (typeof currentDirectory === "boolean") { + ignoreCase = currentDirectory; + } + return comparePathsWorker(a, b, getStringComparer(ignoreCase)); +} +function containsPath(parent, child, currentDirectory, ignoreCase) { + if (typeof currentDirectory === "string") { + parent = combinePaths(currentDirectory, parent); + child = combinePaths(currentDirectory, child); + } else if (typeof currentDirectory === "boolean") { + ignoreCase = currentDirectory; + } + if (parent === void 0 || child === void 0) return false; + if (parent === child) return true; + const parentComponents = reducePathComponents(getPathComponents(parent)); + const childComponents = reducePathComponents(getPathComponents(child)); + if (childComponents.length < parentComponents.length) { + return false; + } + const componentEqualityComparer = ignoreCase ? equateStringsCaseInsensitive : equateStringsCaseSensitive; + for (let i = 0; i < parentComponents.length; i++) { + const equalityComparer = i === 0 ? equateStringsCaseInsensitive : componentEqualityComparer; + if (!equalityComparer(parentComponents[i], childComponents[i])) { + return false; + } + } + return true; +} +function startsWithDirectory(fileName, directoryName, getCanonicalFileName) { + const canonicalFileName = getCanonicalFileName(fileName); + const canonicalDirectoryName = getCanonicalFileName(directoryName); + return startsWith(canonicalFileName, canonicalDirectoryName + "/") || startsWith(canonicalFileName, canonicalDirectoryName + "\\"); +} +function getPathComponentsRelativeTo(from, to, stringEqualityComparer, getCanonicalFileName) { + const fromComponents = reducePathComponents(getPathComponents(from)); + const toComponents = reducePathComponents(getPathComponents(to)); + let start; + for (start = 0; start < fromComponents.length && start < toComponents.length; start++) { + const fromComponent = getCanonicalFileName(fromComponents[start]); + const toComponent = getCanonicalFileName(toComponents[start]); + const comparer = start === 0 ? equateStringsCaseInsensitive : stringEqualityComparer; + if (!comparer(fromComponent, toComponent)) break; + } + if (start === 0) { + return toComponents; + } + const components = toComponents.slice(start); + const relative = []; + for (; start < fromComponents.length; start++) { + relative.push(".."); + } + return ["", ...relative, ...components]; +} +function getRelativePathFromDirectory(fromDirectory, to, getCanonicalFileNameOrIgnoreCase) { + Debug.assert(getRootLength(fromDirectory) > 0 === getRootLength(to) > 0, "Paths must either both be absolute or both be relative"); + const getCanonicalFileName = typeof getCanonicalFileNameOrIgnoreCase === "function" ? getCanonicalFileNameOrIgnoreCase : identity; + const ignoreCase = typeof getCanonicalFileNameOrIgnoreCase === "boolean" ? getCanonicalFileNameOrIgnoreCase : false; + const pathComponents2 = getPathComponentsRelativeTo(fromDirectory, to, ignoreCase ? equateStringsCaseInsensitive : equateStringsCaseSensitive, getCanonicalFileName); + return getPathFromPathComponents(pathComponents2); +} +function convertToRelativePath(absoluteOrRelativePath, basePath, getCanonicalFileName) { + return !isRootedDiskPath(absoluteOrRelativePath) ? absoluteOrRelativePath : getRelativePathToDirectoryOrUrl( + basePath, + absoluteOrRelativePath, + basePath, + getCanonicalFileName, + /*isAbsolutePathAnUrl*/ + false + ); +} +function getRelativePathFromFile(from, to, getCanonicalFileName) { + return ensurePathIsNonModuleName(getRelativePathFromDirectory(getDirectoryPath(from), to, getCanonicalFileName)); +} +function getRelativePathToDirectoryOrUrl(directoryPathOrUrl, relativeOrAbsolutePath, currentDirectory, getCanonicalFileName, isAbsolutePathAnUrl) { + const pathComponents2 = getPathComponentsRelativeTo( + resolvePath(currentDirectory, directoryPathOrUrl), + resolvePath(currentDirectory, relativeOrAbsolutePath), + equateStringsCaseSensitive, + getCanonicalFileName + ); + const firstComponent = pathComponents2[0]; + if (isAbsolutePathAnUrl && isRootedDiskPath(firstComponent)) { + const prefix = firstComponent.charAt(0) === directorySeparator ? "file://" : "file:///"; + pathComponents2[0] = prefix + firstComponent; + } + return getPathFromPathComponents(pathComponents2); +} +function forEachAncestorDirectory(directory, callback) { + while (true) { + const result = callback(directory); + if (result !== void 0) { + return result; + } + const parentPath = getDirectoryPath(directory); + if (parentPath === directory) { + return void 0; + } + directory = parentPath; + } +} +function isNodeModulesDirectory(dirPath) { + return endsWith(dirPath, "/node_modules"); +} + +// src/compiler/diagnosticInformationMap.generated.ts +function diag(code, category, key, message, reportsUnnecessary, elidedInCompatabilityPyramid, reportsDeprecated) { + return { code, category, key, message, reportsUnnecessary, elidedInCompatabilityPyramid, reportsDeprecated }; +} +var Diagnostics = { + Unterminated_string_literal: diag(1002, 1 /* Error */, "Unterminated_string_literal_1002", "Unterminated string literal."), + Identifier_expected: diag(1003, 1 /* Error */, "Identifier_expected_1003", "Identifier expected."), + _0_expected: diag(1005, 1 /* Error */, "_0_expected_1005", "'{0}' expected."), + A_file_cannot_have_a_reference_to_itself: diag(1006, 1 /* Error */, "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: diag(1007, 1 /* Error */, "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: diag(1009, 1 /* Error */, "Trailing_comma_not_allowed_1009", "Trailing comma not allowed."), + Asterisk_Slash_expected: diag(1010, 1 /* Error */, "Asterisk_Slash_expected_1010", "'*/' expected."), + An_element_access_expression_should_take_an_argument: diag(1011, 1 /* Error */, "An_element_access_expression_should_take_an_argument_1011", "An element access expression should take an argument."), + Unexpected_token: diag(1012, 1 /* Error */, "Unexpected_token_1012", "Unexpected token."), + A_rest_parameter_or_binding_pattern_may_not_have_a_trailing_comma: diag(1013, 1 /* 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: diag(1014, 1 /* 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: diag(1015, 1 /* Error */, "Parameter_cannot_have_question_mark_and_initializer_1015", "Parameter cannot have question mark and initializer."), + A_required_parameter_cannot_follow_an_optional_parameter: diag(1016, 1 /* 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: diag(1017, 1 /* 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: diag(1018, 1 /* 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: diag(1019, 1 /* 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: diag(1020, 1 /* 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: diag(1021, 1 /* 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: diag(1022, 1 /* 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: diag(1024, 1 /* 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: diag(1025, 1 /* Error */, "An_index_signature_cannot_have_a_trailing_comma_1025", "An index signature cannot have a trailing comma."), + Accessibility_modifier_already_seen: diag(1028, 1 /* Error */, "Accessibility_modifier_already_seen_1028", "Accessibility modifier already seen."), + _0_modifier_must_precede_1_modifier: diag(1029, 1 /* Error */, "_0_modifier_must_precede_1_modifier_1029", "'{0}' modifier must precede '{1}' modifier."), + _0_modifier_already_seen: diag(1030, 1 /* Error */, "_0_modifier_already_seen_1030", "'{0}' modifier already seen."), + _0_modifier_cannot_appear_on_class_elements_of_this_kind: diag(1031, 1 /* 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: diag(1034, 1 /* 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: diag(1035, 1 /* Error */, "Only_ambient_modules_can_use_quoted_names_1035", "Only ambient modules can use quoted names."), + Statements_are_not_allowed_in_ambient_contexts: diag(1036, 1 /* 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: diag(1038, 1 /* 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: diag(1039, 1 /* 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: diag(1040, 1 /* 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: diag(1042, 1 /* Error */, "_0_modifier_cannot_be_used_here_1042", "'{0}' modifier cannot be used here."), + _0_modifier_cannot_appear_on_a_module_or_namespace_element: diag(1044, 1 /* 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: diag(1046, 1 /* 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: diag(1047, 1 /* Error */, "A_rest_parameter_cannot_be_optional_1047", "A rest parameter cannot be optional."), + A_rest_parameter_cannot_have_an_initializer: diag(1048, 1 /* Error */, "A_rest_parameter_cannot_have_an_initializer_1048", "A rest parameter cannot have an initializer."), + A_set_accessor_must_have_exactly_one_parameter: diag(1049, 1 /* 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: diag(1051, 1 /* 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: diag(1052, 1 /* 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: diag(1053, 1 /* Error */, "A_set_accessor_cannot_have_rest_parameter_1053", "A 'set' accessor cannot have rest parameter."), + A_get_accessor_cannot_have_parameters: diag(1054, 1 /* 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_because_it_does_not_refer_to_a_Promise_compatible_constructor_value: diag(1055, 1 /* Error */, "Type_0_is_not_a_valid_async_function_return_type_in_ES5_because_it_does_not_refer_to_a_Promise_compa_1055", "Type '{0}' is not a valid async function return type in ES5 because it does not refer to a Promise-compatible constructor value."), + Accessors_are_only_available_when_targeting_ECMAScript_5_and_higher: diag(1056, 1 /* 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: diag(1058, 1 /* 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: diag(1059, 1 /* 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: diag(1060, 1 /* 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: diag(1061, 1 /* 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: diag(1062, 1 /* 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: diag(1063, 1 /* 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: diag(1064, 1 /* 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 type. Did you mean to write 'Promise<{0}>'?"), + The_return_type_of_an_async_function_or_method_must_be_the_global_Promise_T_type: diag(1065, 1 /* Error */, "The_return_type_of_an_async_function_or_method_must_be_the_global_Promise_T_type_1065", "The return type of an async function or method must be the global Promise type."), + In_ambient_enum_declarations_member_initializer_must_be_constant_expression: diag(1066, 1 /* 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: diag(1068, 1 /* 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: diag(1069, 1 /* 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: diag(1070, 1 /* 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: diag(1071, 1 /* 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: diag(1079, 1 /* 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: diag(1084, 1 /* Error */, "Invalid_reference_directive_syntax_1084", "Invalid 'reference' directive syntax."), + _0_modifier_cannot_appear_on_a_constructor_declaration: diag(1089, 1 /* 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: diag(1090, 1 /* 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: diag(1091, 1 /* 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: diag(1092, 1 /* 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: diag(1093, 1 /* Error */, "Type_annotation_cannot_appear_on_a_constructor_declaration_1093", "Type annotation cannot appear on a constructor declaration."), + An_accessor_cannot_have_type_parameters: diag(1094, 1 /* Error */, "An_accessor_cannot_have_type_parameters_1094", "An accessor cannot have type parameters."), + A_set_accessor_cannot_have_a_return_type_annotation: diag(1095, 1 /* 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: diag(1096, 1 /* Error */, "An_index_signature_must_have_exactly_one_parameter_1096", "An index signature must have exactly one parameter."), + _0_list_cannot_be_empty: diag(1097, 1 /* Error */, "_0_list_cannot_be_empty_1097", "'{0}' list cannot be empty."), + Type_parameter_list_cannot_be_empty: diag(1098, 1 /* Error */, "Type_parameter_list_cannot_be_empty_1098", "Type parameter list cannot be empty."), + Type_argument_list_cannot_be_empty: diag(1099, 1 /* Error */, "Type_argument_list_cannot_be_empty_1099", "Type argument list cannot be empty."), + Invalid_use_of_0_in_strict_mode: diag(1100, 1 /* Error */, "Invalid_use_of_0_in_strict_mode_1100", "Invalid use of '{0}' in strict mode."), + with_statements_are_not_allowed_in_strict_mode: diag(1101, 1 /* 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: diag(1102, 1 /* 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: diag(1103, 1 /* 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: diag(1104, 1 /* 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: diag(1105, 1 /* 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: diag(1106, 1 /* 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: diag(1107, 1 /* 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: diag(1108, 1 /* 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: diag(1109, 1 /* Error */, "Expression_expected_1109", "Expression expected."), + Type_expected: diag(1110, 1 /* Error */, "Type_expected_1110", "Type expected."), + Private_field_0_must_be_declared_in_an_enclosing_class: diag(1111, 1 /* Error */, "Private_field_0_must_be_declared_in_an_enclosing_class_1111", "Private field '{0}' must be declared in an enclosing class."), + A_default_clause_cannot_appear_more_than_once_in_a_switch_statement: diag(1113, 1 /* 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: diag(1114, 1 /* Error */, "Duplicate_label_0_1114", "Duplicate label '{0}'."), + A_continue_statement_can_only_jump_to_a_label_of_an_enclosing_iteration_statement: diag(1115, 1 /* 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: diag(1116, 1 /* 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: diag(1117, 1 /* Error */, "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: diag(1118, 1 /* 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: diag(1119, 1 /* 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: diag(1120, 1 /* Error */, "An_export_assignment_cannot_have_modifiers_1120", "An export assignment cannot have modifiers."), + Octal_literals_are_not_allowed_Use_the_syntax_0: diag(1121, 1 /* Error */, "Octal_literals_are_not_allowed_Use_the_syntax_0_1121", "Octal literals are not allowed. Use the syntax '{0}'."), + Variable_declaration_list_cannot_be_empty: diag(1123, 1 /* Error */, "Variable_declaration_list_cannot_be_empty_1123", "Variable declaration list cannot be empty."), + Digit_expected: diag(1124, 1 /* Error */, "Digit_expected_1124", "Digit expected."), + Hexadecimal_digit_expected: diag(1125, 1 /* Error */, "Hexadecimal_digit_expected_1125", "Hexadecimal digit expected."), + Unexpected_end_of_text: diag(1126, 1 /* Error */, "Unexpected_end_of_text_1126", "Unexpected end of text."), + Invalid_character: diag(1127, 1 /* Error */, "Invalid_character_1127", "Invalid character."), + Declaration_or_statement_expected: diag(1128, 1 /* Error */, "Declaration_or_statement_expected_1128", "Declaration or statement expected."), + Statement_expected: diag(1129, 1 /* Error */, "Statement_expected_1129", "Statement expected."), + case_or_default_expected: diag(1130, 1 /* Error */, "case_or_default_expected_1130", "'case' or 'default' expected."), + Property_or_signature_expected: diag(1131, 1 /* Error */, "Property_or_signature_expected_1131", "Property or signature expected."), + Enum_member_expected: diag(1132, 1 /* Error */, "Enum_member_expected_1132", "Enum member expected."), + Variable_declaration_expected: diag(1134, 1 /* Error */, "Variable_declaration_expected_1134", "Variable declaration expected."), + Argument_expression_expected: diag(1135, 1 /* Error */, "Argument_expression_expected_1135", "Argument expression expected."), + Property_assignment_expected: diag(1136, 1 /* Error */, "Property_assignment_expected_1136", "Property assignment expected."), + Expression_or_comma_expected: diag(1137, 1 /* Error */, "Expression_or_comma_expected_1137", "Expression or comma expected."), + Parameter_declaration_expected: diag(1138, 1 /* Error */, "Parameter_declaration_expected_1138", "Parameter declaration expected."), + Type_parameter_declaration_expected: diag(1139, 1 /* Error */, "Type_parameter_declaration_expected_1139", "Type parameter declaration expected."), + Type_argument_expected: diag(1140, 1 /* Error */, "Type_argument_expected_1140", "Type argument expected."), + String_literal_expected: diag(1141, 1 /* Error */, "String_literal_expected_1141", "String literal expected."), + Line_break_not_permitted_here: diag(1142, 1 /* Error */, "Line_break_not_permitted_here_1142", "Line break not permitted here."), + or_expected: diag(1144, 1 /* Error */, "or_expected_1144", "'{' or ';' expected."), + or_JSX_element_expected: diag(1145, 1 /* Error */, "or_JSX_element_expected_1145", "'{' or JSX element expected."), + Declaration_expected: diag(1146, 1 /* Error */, "Declaration_expected_1146", "Declaration expected."), + Import_declarations_in_a_namespace_cannot_reference_a_module: diag(1147, 1 /* 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: diag(1148, 1 /* 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: diag(1149, 1 /* 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."), + _0_declarations_must_be_initialized: diag(1155, 1 /* Error */, "_0_declarations_must_be_initialized_1155", "'{0}' declarations must be initialized."), + _0_declarations_can_only_be_declared_inside_a_block: diag(1156, 1 /* Error */, "_0_declarations_can_only_be_declared_inside_a_block_1156", "'{0}' declarations can only be declared inside a block."), + Unterminated_template_literal: diag(1160, 1 /* Error */, "Unterminated_template_literal_1160", "Unterminated template literal."), + Unterminated_regular_expression_literal: diag(1161, 1 /* Error */, "Unterminated_regular_expression_literal_1161", "Unterminated regular expression literal."), + An_object_member_cannot_be_declared_optional: diag(1162, 1 /* 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: diag(1163, 1 /* 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: diag(1164, 1 /* 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: diag(1165, 1 /* 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: diag(1166, 1 /* 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: diag(1168, 1 /* 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: diag(1169, 1 /* 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: diag(1170, 1 /* 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: diag(1171, 1 /* 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: diag(1172, 1 /* Error */, "extends_clause_already_seen_1172", "'extends' clause already seen."), + extends_clause_must_precede_implements_clause: diag(1173, 1 /* Error */, "extends_clause_must_precede_implements_clause_1173", "'extends' clause must precede 'implements' clause."), + Classes_can_only_extend_a_single_class: diag(1174, 1 /* Error */, "Classes_can_only_extend_a_single_class_1174", "Classes can only extend a single class."), + implements_clause_already_seen: diag(1175, 1 /* Error */, "implements_clause_already_seen_1175", "'implements' clause already seen."), + Interface_declaration_cannot_have_implements_clause: diag(1176, 1 /* Error */, "Interface_declaration_cannot_have_implements_clause_1176", "Interface declaration cannot have 'implements' clause."), + Binary_digit_expected: diag(1177, 1 /* Error */, "Binary_digit_expected_1177", "Binary digit expected."), + Octal_digit_expected: diag(1178, 1 /* Error */, "Octal_digit_expected_1178", "Octal digit expected."), + Unexpected_token_expected: diag(1179, 1 /* Error */, "Unexpected_token_expected_1179", "Unexpected token. '{' expected."), + Property_destructuring_pattern_expected: diag(1180, 1 /* Error */, "Property_destructuring_pattern_expected_1180", "Property destructuring pattern expected."), + Array_element_destructuring_pattern_expected: diag(1181, 1 /* Error */, "Array_element_destructuring_pattern_expected_1181", "Array element destructuring pattern expected."), + A_destructuring_declaration_must_have_an_initializer: diag(1182, 1 /* Error */, "A_destructuring_declaration_must_have_an_initializer_1182", "A destructuring declaration must have an initializer."), + An_implementation_cannot_be_declared_in_ambient_contexts: diag(1183, 1 /* Error */, "An_implementation_cannot_be_declared_in_ambient_contexts_1183", "An implementation cannot be declared in ambient contexts."), + Modifiers_cannot_appear_here: diag(1184, 1 /* Error */, "Modifiers_cannot_appear_here_1184", "Modifiers cannot appear here."), + Merge_conflict_marker_encountered: diag(1185, 1 /* Error */, "Merge_conflict_marker_encountered_1185", "Merge conflict marker encountered."), + A_rest_element_cannot_have_an_initializer: diag(1186, 1 /* 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: diag(1187, 1 /* 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: diag(1188, 1 /* 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: diag(1189, 1 /* 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: diag(1190, 1 /* 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: diag(1191, 1 /* Error */, "An_import_declaration_cannot_have_modifiers_1191", "An import declaration cannot have modifiers."), + Module_0_has_no_default_export: diag(1192, 1 /* Error */, "Module_0_has_no_default_export_1192", "Module '{0}' has no default export."), + An_export_declaration_cannot_have_modifiers: diag(1193, 1 /* Error */, "An_export_declaration_cannot_have_modifiers_1193", "An export declaration cannot have modifiers."), + Export_declarations_are_not_permitted_in_a_namespace: diag(1194, 1 /* 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: diag(1195, 1 /* 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: diag(1196, 1 /* 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: diag(1197, 1 /* 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: diag(1198, 1 /* 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: diag(1199, 1 /* Error */, "Unterminated_Unicode_escape_sequence_1199", "Unterminated Unicode escape sequence."), + Line_terminator_not_permitted_before_arrow: diag(1200, 1 /* 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: diag(1202, 1 /* 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: diag(1203, 1 /* 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_0_is_enabled_requires_using_export_type: diag(1205, 1 /* Error */, "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: diag(1206, 1 /* 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: diag(1207, 1 /* 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."), + Invalid_optional_chain_from_new_expression_Did_you_mean_to_call_0: diag(1209, 1 /* Error */, "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: diag(1210, 1 /* 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: diag(1211, 1 /* 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: diag(1212, 1 /* 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: diag(1213, 1 /* 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: diag(1214, 1 /* 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: diag(1215, 1 /* 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: diag(1216, 1 /* 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: diag(1218, 1 /* Error */, "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: diag(1221, 1 /* 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: diag(1222, 1 /* Error */, "An_overload_signature_cannot_be_declared_as_a_generator_1222", "An overload signature cannot be declared as a generator."), + _0_tag_already_specified: diag(1223, 1 /* Error */, "_0_tag_already_specified_1223", "'{0}' tag already specified."), + Signature_0_must_be_a_type_predicate: diag(1224, 1 /* Error */, "Signature_0_must_be_a_type_predicate_1224", "Signature '{0}' must be a type predicate."), + Cannot_find_parameter_0: diag(1225, 1 /* Error */, "Cannot_find_parameter_0_1225", "Cannot find parameter '{0}'."), + Type_predicate_0_is_not_assignable_to_1: diag(1226, 1 /* 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: diag(1227, 1 /* 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: diag(1228, 1 /* 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: diag(1229, 1 /* 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: diag(1230, 1 /* 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: diag(1231, 1 /* 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_at_the_top_level_of_a_namespace_or_module: diag(1232, 1 /* Error */, "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: diag(1233, 1 /* Error */, "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: diag(1234, 1 /* 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_at_the_top_level_of_a_namespace_or_module: diag(1235, 1 /* Error */, "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: diag(1236, 1 /* 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: diag(1237, 1 /* 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: diag(1238, 1 /* 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: diag(1239, 1 /* 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: diag(1240, 1 /* 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: diag(1241, 1 /* 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: diag(1242, 1 /* 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: diag(1243, 1 /* 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: diag(1244, 1 /* 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: diag(1245, 1 /* 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: diag(1246, 1 /* Error */, "An_interface_property_cannot_have_an_initializer_1246", "An interface property cannot have an initializer."), + A_type_literal_property_cannot_have_an_initializer: diag(1247, 1 /* 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: diag(1248, 1 /* 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: diag(1249, 1 /* 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_ES5: diag(1250, 1 /* Error */, "Function_declarations_are_not_allowed_inside_blocks_in_strict_mode_when_targeting_ES5_1250", "Function declarations are not allowed inside blocks in strict mode when targeting 'ES5'."), + Function_declarations_are_not_allowed_inside_blocks_in_strict_mode_when_targeting_ES5_Class_definitions_are_automatically_in_strict_mode: diag(1251, 1 /* Error */, "Function_declarations_are_not_allowed_inside_blocks_in_strict_mode_when_targeting_ES5_Class_definiti_1251", "Function declarations are not allowed inside blocks in strict mode when targeting 'ES5'. Class definitions are automatically in strict mode."), + Function_declarations_are_not_allowed_inside_blocks_in_strict_mode_when_targeting_ES5_Modules_are_automatically_in_strict_mode: diag(1252, 1 /* Error */, "Function_declarations_are_not_allowed_inside_blocks_in_strict_mode_when_targeting_ES5_Modules_are_au_1252", "Function declarations are not allowed inside blocks in strict mode when targeting 'ES5'. Modules are automatically in strict mode."), + Abstract_properties_can_only_appear_within_an_abstract_class: diag(1253, 1 /* Error */, "Abstract_properties_can_only_appear_within_an_abstract_class_1253", "Abstract properties can only appear within an abstract class."), + A_const_initializer_in_an_ambient_context_must_be_a_string_or_numeric_literal_or_literal_enum_reference: diag(1254, 1 /* 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: diag(1255, 1 /* 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: diag(1257, 1 /* 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: diag(1258, 1 /* 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: diag(1259, 1 /* 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: diag(1260, 1 /* 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: diag(1261, 1 /* 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: diag(1262, 1 /* 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: diag(1263, 1 /* 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: diag(1264, 1 /* 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: diag(1265, 1 /* 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: diag(1266, 1 /* 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: diag(1267, 1 /* 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: diag(1268, 1 /* 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."), + Cannot_use_export_import_on_a_type_or_type_only_namespace_when_0_is_enabled: diag(1269, 1 /* Error */, "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: diag(1270, 1 /* Error */, "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: diag(1271, 1 /* Error */, "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: diag(1272, 1 /* Error */, "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: diag(1273, 1 /* Error */, "_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: diag(1274, 1 /* Error */, "_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: diag(1275, 1 /* Error */, "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: diag(1276, 1 /* Error */, "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: diag(1277, 1 /* Error */, "_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: diag(1278, 1 /* Error */, "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: diag(1279, 1 /* Error */, "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: diag(1280, 1 /* Error */, "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: diag(1281, 1 /* Error */, "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: diag(1282, 1 /* Error */, "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: diag(1283, 1 /* Error */, "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: diag(1284, 1 /* Error */, "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: diag(1285, 1 /* Error */, "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: diag(1286, 1 /* Error */, "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: diag(1287, 1 /* Error */, "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: diag(1288, 1 /* Error */, "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."), + _0_resolves_to_a_type_only_declaration_and_must_be_marked_type_only_in_this_file_before_re_exporting_when_1_is_enabled_Consider_using_import_type_where_0_is_imported: diag(1289, 1 /* Error */, "_0_resolves_to_a_type_only_declaration_and_must_be_marked_type_only_in_this_file_before_re_exporting_1289", "'{0}' resolves to a type-only declaration and must be marked type-only in this file before re-exporting when '{1}' is enabled. Consider using 'import type' where '{0}' is imported."), + _0_resolves_to_a_type_only_declaration_and_must_be_marked_type_only_in_this_file_before_re_exporting_when_1_is_enabled_Consider_using_export_type_0_as_default: diag(1290, 1 /* Error */, "_0_resolves_to_a_type_only_declaration_and_must_be_marked_type_only_in_this_file_before_re_exporting_1290", "'{0}' resolves to a type-only declaration and must be marked type-only in this file before re-exporting when '{1}' is enabled. Consider using 'export type { {0} as default }'."), + _0_resolves_to_a_type_and_must_be_marked_type_only_in_this_file_before_re_exporting_when_1_is_enabled_Consider_using_import_type_where_0_is_imported: diag(1291, 1 /* Error */, "_0_resolves_to_a_type_and_must_be_marked_type_only_in_this_file_before_re_exporting_when_1_is_enable_1291", "'{0}' resolves to a type and must be marked type-only in this file before re-exporting when '{1}' is enabled. Consider using 'import type' where '{0}' is imported."), + _0_resolves_to_a_type_and_must_be_marked_type_only_in_this_file_before_re_exporting_when_1_is_enabled_Consider_using_export_type_0_as_default: diag(1292, 1 /* Error */, "_0_resolves_to_a_type_and_must_be_marked_type_only_in_this_file_before_re_exporting_when_1_is_enable_1292", "'{0}' resolves to a type and must be marked type-only in this file before re-exporting when '{1}' is enabled. Consider using 'export type { {0} as default }'."), + ESM_syntax_is_not_allowed_in_a_CommonJS_module_when_module_is_set_to_preserve: diag(1293, 1 /* Error */, "ESM_syntax_is_not_allowed_in_a_CommonJS_module_when_module_is_set_to_preserve_1293", "ESM syntax is not allowed in a CommonJS module when 'module' is set to 'preserve'."), + with_statements_are_not_allowed_in_an_async_function_block: diag(1300, 1 /* 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: diag(1308, 1 /* 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."), + The_current_file_is_a_CommonJS_module_and_cannot_use_await_at_the_top_level: diag(1309, 1 /* Error */, "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: diag(1312, 1 /* 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: diag(1313, 1 /* 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: diag(1314, 1 /* 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: diag(1315, 1 /* 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: diag(1316, 1 /* 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: diag(1317, 1 /* 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: diag(1318, 1 /* 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: diag(1319, 1 /* 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: diag(1320, 1 /* 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: diag(1321, 1 /* 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: diag(1322, 1 /* 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_node16_or_nodenext: diag(1323, 1 /* 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', 'node16', or 'nodenext'."), + Dynamic_imports_only_support_a_second_argument_when_the_module_option_is_set_to_esnext_node16_nodenext_or_preserve: diag(1324, 1 /* Error */, "Dynamic_imports_only_support_a_second_argument_when_the_module_option_is_set_to_esnext_node16_nodene_1324", "Dynamic imports only support a second argument when the '--module' option is set to 'esnext', 'node16', 'nodenext', or 'preserve'."), + Argument_of_dynamic_import_cannot_be_spread_element: diag(1325, 1 /* Error */, "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: diag(1326, 1 /* Error */, "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: diag(1327, 1 /* 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: diag(1328, 1 /* 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: diag(1329, 1 /* 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: diag(1330, 1 /* 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: diag(1331, 1 /* 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: diag(1332, 1 /* 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: diag(1333, 1 /* 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: diag(1334, 1 /* 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: diag(1335, 1 /* 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: diag(1337, 1 /* 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: diag(1338, 1 /* 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: diag(1339, 1 /* 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: diag(1340, 1 /* 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}')'?"), + Class_constructor_may_not_be_an_accessor: diag(1341, 1 /* Error */, "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: diag(1343, 1 /* 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', 'node16', or 'nodenext'."), + A_label_is_not_allowed_here: diag(1344, 1 /* Error */, "A_label_is_not_allowed_here_1344", "'A label is not allowed here."), + An_expression_of_type_void_cannot_be_tested_for_truthiness: diag(1345, 1 /* 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: diag(1346, 1 /* 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: diag(1347, 1 /* 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: diag(1348, 1 /* Error */, "Non_simple_parameter_declared_here_1348", "Non-simple parameter declared here."), + use_strict_directive_used_here: diag(1349, 1 /* Error */, "use_strict_directive_used_here_1349", "'use strict' directive used here."), + Print_the_final_configuration_instead_of_building: diag(1350, 3 /* 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: diag(1351, 1 /* 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: diag(1352, 1 /* Error */, "A_bigint_literal_cannot_use_exponential_notation_1352", "A bigint literal cannot use exponential notation."), + A_bigint_literal_must_be_an_integer: diag(1353, 1 /* 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: diag(1354, 1 /* 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: diag(1355, 1 /* 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: diag(1356, 1 /* 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: diag(1357, 1 /* 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: diag(1358, 1 /* 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: diag(1359, 1 /* 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."), + Type_0_does_not_satisfy_the_expected_type_1: diag(1360, 1 /* Error */, "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: diag(1361, 1 /* 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: diag(1362, 1 /* 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: diag(1363, 1 /* 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: diag(1364, 3 /* Message */, "Convert_to_type_only_export_1364", "Convert to type-only export"), + Convert_all_re_exported_types_to_type_only_exports: diag(1365, 3 /* 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: diag(1366, 3 /* Message */, "Split_into_two_separate_import_declarations_1366", "Split into two separate import declarations"), + Split_all_invalid_type_only_imports: diag(1367, 3 /* Message */, "Split_all_invalid_type_only_imports_1367", "Split all invalid type-only imports"), + Class_constructor_may_not_be_a_generator: diag(1368, 1 /* Error */, "Class_constructor_may_not_be_a_generator_1368", "Class constructor may not be a generator."), + Did_you_mean_0: diag(1369, 3 /* Message */, "Did_you_mean_0_1369", "Did you mean '{0}'?"), + await_expressions_are_only_allowed_at_the_top_level_of_a_file_when_that_file_is_a_module_but_this_file_has_no_imports_or_exports_Consider_adding_an_empty_export_to_make_this_file_a_module: diag(1375, 1 /* 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: diag(1376, 3 /* Message */, "_0_was_imported_here_1376", "'{0}' was imported here."), + _0_was_exported_here: diag(1377, 3 /* 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_node16_nodenext_or_preserve_and_the_target_option_is_set_to_es2017_or_higher: diag(1378, 1 /* Error */, "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', 'nodenext', or 'preserve', and the 'target' option is set to 'es2017' or higher."), + An_import_alias_cannot_reference_a_declaration_that_was_exported_using_export_type: diag(1379, 1 /* 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: diag(1380, 1 /* 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: diag(1381, 1 /* Error */, "Unexpected_token_Did_you_mean_or_rbrace_1381", "Unexpected token. Did you mean `{'}'}` or `}`?"), + Unexpected_token_Did_you_mean_or_gt: diag(1382, 1 /* Error */, "Unexpected_token_Did_you_mean_or_gt_1382", "Unexpected token. Did you mean `{'>'}` or `>`?"), + Function_type_notation_must_be_parenthesized_when_used_in_a_union_type: diag(1385, 1 /* 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: diag(1386, 1 /* 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: diag(1387, 1 /* 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: diag(1388, 1 /* 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: diag(1389, 1 /* 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: diag(1390, 1 /* 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: diag(1392, 1 /* Error */, "An_import_alias_cannot_use_import_type_1392", "An import alias cannot use 'import type'"), + Imported_via_0_from_file_1: diag(1393, 3 /* Message */, "Imported_via_0_from_file_1_1393", "Imported via {0} from file '{1}'"), + Imported_via_0_from_file_1_with_packageId_2: diag(1394, 3 /* 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: diag(1395, 3 /* 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: diag(1396, 3 /* 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: diag(1397, 3 /* 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: diag(1398, 3 /* 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: diag(1399, 3 /* Message */, "File_is_included_via_import_here_1399", "File is included via import here."), + Referenced_via_0_from_file_1: diag(1400, 3 /* Message */, "Referenced_via_0_from_file_1_1400", "Referenced via '{0}' from file '{1}'"), + File_is_included_via_reference_here: diag(1401, 3 /* Message */, "File_is_included_via_reference_here_1401", "File is included via reference here."), + Type_library_referenced_via_0_from_file_1: diag(1402, 3 /* 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: diag(1403, 3 /* 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: diag(1404, 3 /* 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: diag(1405, 3 /* Message */, "Library_referenced_via_0_from_file_1_1405", "Library referenced via '{0}' from file '{1}'"), + File_is_included_via_library_reference_here: diag(1406, 3 /* Message */, "File_is_included_via_library_reference_here_1406", "File is included via library reference here."), + Matched_by_include_pattern_0_in_1: diag(1407, 3 /* Message */, "Matched_by_include_pattern_0_in_1_1407", "Matched by include pattern '{0}' in '{1}'"), + File_is_matched_by_include_pattern_specified_here: diag(1408, 3 /* 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: diag(1409, 3 /* Message */, "Part_of_files_list_in_tsconfig_json_1409", "Part of 'files' list in tsconfig.json"), + File_is_matched_by_files_list_specified_here: diag(1410, 3 /* 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: diag(1411, 3 /* 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: diag(1412, 3 /* 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: diag(1413, 3 /* 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: diag(1414, 3 /* 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: diag(1415, 3 /* 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: diag(1416, 3 /* 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: diag(1417, 3 /* 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: diag(1418, 3 /* 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: diag(1419, 3 /* 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: diag(1420, 3 /* 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: diag(1421, 3 /* 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: diag(1422, 3 /* Message */, "Library_0_specified_in_compilerOptions_1422", "Library '{0}' specified in compilerOptions"), + File_is_library_specified_here: diag(1423, 3 /* Message */, "File_is_library_specified_here_1423", "File is library specified here."), + Default_library: diag(1424, 3 /* Message */, "Default_library_1424", "Default library"), + Default_library_for_target_0: diag(1425, 3 /* Message */, "Default_library_for_target_0_1425", "Default library for target '{0}'"), + File_is_default_library_for_target_specified_here: diag(1426, 3 /* Message */, "File_is_default_library_for_target_specified_here_1426", "File is default library for target specified here."), + Root_file_specified_for_compilation: diag(1427, 3 /* Message */, "Root_file_specified_for_compilation_1427", "Root file specified for compilation"), + File_is_output_of_project_reference_source_0: diag(1428, 3 /* Message */, "File_is_output_of_project_reference_source_0_1428", "File is output of project reference source '{0}'"), + File_redirects_to_file_0: diag(1429, 3 /* Message */, "File_redirects_to_file_0_1429", "File redirects to file '{0}'"), + The_file_is_in_the_program_because_Colon: diag(1430, 3 /* 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: diag(1431, 1 /* 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_node16_nodenext_or_preserve_and_the_target_option_is_set_to_es2017_or_higher: diag(1432, 1 /* Error */, "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', 'nodenext', or 'preserve', and the 'target' option is set to 'es2017' or higher."), + Neither_decorators_nor_modifiers_may_be_applied_to_this_parameters: diag(1433, 1 /* Error */, "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: diag(1434, 1 /* Error */, "Unexpected_keyword_or_identifier_1434", "Unexpected keyword or identifier."), + Unknown_keyword_or_identifier_Did_you_mean_0: diag(1435, 1 /* 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: diag(1436, 1 /* 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: diag(1437, 1 /* Error */, "Namespace_must_be_given_a_name_1437", "Namespace must be given a name."), + Interface_must_be_given_a_name: diag(1438, 1 /* Error */, "Interface_must_be_given_a_name_1438", "Interface must be given a name."), + Type_alias_must_be_given_a_name: diag(1439, 1 /* Error */, "Type_alias_must_be_given_a_name_1439", "Type alias must be given a name."), + Variable_declaration_not_allowed_at_this_location: diag(1440, 1 /* 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: diag(1441, 1 /* Error */, "Cannot_start_a_function_call_in_a_type_annotation_1441", "Cannot start a function call in a type annotation."), + Expected_for_property_initializer: diag(1442, 1 /* Error */, "Expected_for_property_initializer_1442", "Expected '=' for property initializer."), + Module_declaration_names_may_only_use_or_quoted_strings: diag(1443, 1 /* Error */, "Module_declaration_names_may_only_use_or_quoted_strings_1443", `Module declaration names may only use ' or " quoted strings.`), + _0_resolves_to_a_type_only_declaration_and_must_be_re_exported_using_a_type_only_re_export_when_1_is_enabled: diag(1448, 1 /* Error */, "_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: diag(1449, 3 /* 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_set_of_attributes_as_arguments: diag(1450, 3 /* Message */, "Dynamic_imports_can_only_accept_a_module_specifier_and_an_optional_set_of_attributes_as_arguments_1450", "Dynamic imports can only accept a module specifier and an optional set of attributes 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: diag(1451, 1 /* 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"), + resolution_mode_should_be_either_require_or_import: diag(1453, 1 /* Error */, "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: diag(1454, 1 /* Error */, "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: diag(1455, 1 /* Error */, "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: diag(1456, 1 /* Error */, "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: diag(1457, 3 /* Message */, "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: diag(1458, 3 /* Message */, "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: diag(1459, 3 /* Message */, "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: diag(1460, 3 /* Message */, "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: diag(1461, 3 /* Message */, "File_is_CommonJS_module_because_package_json_was_not_found_1461", "File is CommonJS module because 'package.json' was not found"), + resolution_mode_is_the_only_valid_key_for_type_import_attributes: diag(1463, 1 /* Error */, "resolution_mode_is_the_only_valid_key_for_type_import_attributes_1463", "'resolution-mode' is the only valid key for type import attributes."), + Type_import_attributes_should_have_exactly_one_key_resolution_mode_with_value_import_or_require: diag(1464, 1 /* Error */, "Type_import_attributes_should_have_exactly_one_key_resolution_mode_with_value_import_or_require_1464", "Type import attributes should have exactly one key - 'resolution-mode' - with value 'import' or 'require'."), + The_import_meta_meta_property_is_not_allowed_in_files_which_will_build_into_CommonJS_output: diag(1470, 1 /* 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_with_require_Use_an_ECMAScript_import_instead: diag(1471, 1 /* 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 with 'require'. Use an ECMAScript import instead."), + catch_or_finally_expected: diag(1472, 1 /* Error */, "catch_or_finally_expected_1472", "'catch' or 'finally' expected."), + An_import_declaration_can_only_be_used_at_the_top_level_of_a_module: diag(1473, 1 /* Error */, "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: diag(1474, 1 /* Error */, "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: diag(1475, 3 /* Message */, "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: diag(1476, 3 /* Message */, "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: diag(1477, 1 /* Error */, "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: diag(1478, 1 /* Error */, "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: diag(1479, 1 /* Error */, "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: diag(1480, 3 /* Message */, "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: diag(1481, 3 /* Message */, "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: diag(1482, 3 /* Message */, "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: diag(1483, 3 /* Message */, "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: diag(1484, 1 /* Error */, "_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: diag(1485, 1 /* Error */, "_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: diag(1486, 1 /* Error */, "Decorator_used_before_export_here_1486", "Decorator used before 'export' here."), + Octal_escape_sequences_are_not_allowed_Use_the_syntax_0: diag(1487, 1 /* Error */, "Octal_escape_sequences_are_not_allowed_Use_the_syntax_0_1487", "Octal escape sequences are not allowed. Use the syntax '{0}'."), + Escape_sequence_0_is_not_allowed: diag(1488, 1 /* Error */, "Escape_sequence_0_is_not_allowed_1488", "Escape sequence '{0}' is not allowed."), + Decimals_with_leading_zeros_are_not_allowed: diag(1489, 1 /* Error */, "Decimals_with_leading_zeros_are_not_allowed_1489", "Decimals with leading zeros are not allowed."), + File_appears_to_be_binary: diag(1490, 1 /* Error */, "File_appears_to_be_binary_1490", "File appears to be binary."), + _0_modifier_cannot_appear_on_a_using_declaration: diag(1491, 1 /* Error */, "_0_modifier_cannot_appear_on_a_using_declaration_1491", "'{0}' modifier cannot appear on a 'using' declaration."), + _0_declarations_may_not_have_binding_patterns: diag(1492, 1 /* Error */, "_0_declarations_may_not_have_binding_patterns_1492", "'{0}' declarations may not have binding patterns."), + The_left_hand_side_of_a_for_in_statement_cannot_be_a_using_declaration: diag(1493, 1 /* Error */, "The_left_hand_side_of_a_for_in_statement_cannot_be_a_using_declaration_1493", "The left-hand side of a 'for...in' statement cannot be a 'using' declaration."), + The_left_hand_side_of_a_for_in_statement_cannot_be_an_await_using_declaration: diag(1494, 1 /* Error */, "The_left_hand_side_of_a_for_in_statement_cannot_be_an_await_using_declaration_1494", "The left-hand side of a 'for...in' statement cannot be an 'await using' declaration."), + _0_modifier_cannot_appear_on_an_await_using_declaration: diag(1495, 1 /* Error */, "_0_modifier_cannot_appear_on_an_await_using_declaration_1495", "'{0}' modifier cannot appear on an 'await using' declaration."), + Identifier_string_literal_or_number_literal_expected: diag(1496, 1 /* Error */, "Identifier_string_literal_or_number_literal_expected_1496", "Identifier, string literal, or number literal expected."), + Expression_must_be_enclosed_in_parentheses_to_be_used_as_a_decorator: diag(1497, 1 /* Error */, "Expression_must_be_enclosed_in_parentheses_to_be_used_as_a_decorator_1497", "Expression must be enclosed in parentheses to be used as a decorator."), + Invalid_syntax_in_decorator: diag(1498, 1 /* Error */, "Invalid_syntax_in_decorator_1498", "Invalid syntax in decorator."), + Unknown_regular_expression_flag: diag(1499, 1 /* Error */, "Unknown_regular_expression_flag_1499", "Unknown regular expression flag."), + Duplicate_regular_expression_flag: diag(1500, 1 /* Error */, "Duplicate_regular_expression_flag_1500", "Duplicate regular expression flag."), + This_regular_expression_flag_is_only_available_when_targeting_0_or_later: diag(1501, 1 /* Error */, "This_regular_expression_flag_is_only_available_when_targeting_0_or_later_1501", "This regular expression flag is only available when targeting '{0}' or later."), + The_Unicode_u_flag_and_the_Unicode_Sets_v_flag_cannot_be_set_simultaneously: diag(1502, 1 /* Error */, "The_Unicode_u_flag_and_the_Unicode_Sets_v_flag_cannot_be_set_simultaneously_1502", "The Unicode (u) flag and the Unicode Sets (v) flag cannot be set simultaneously."), + Named_capturing_groups_are_only_available_when_targeting_ES2018_or_later: diag(1503, 1 /* Error */, "Named_capturing_groups_are_only_available_when_targeting_ES2018_or_later_1503", "Named capturing groups are only available when targeting 'ES2018' or later."), + Subpattern_flags_must_be_present_when_there_is_a_minus_sign: diag(1504, 1 /* Error */, "Subpattern_flags_must_be_present_when_there_is_a_minus_sign_1504", "Subpattern flags must be present when there is a minus sign."), + Incomplete_quantifier_Digit_expected: diag(1505, 1 /* Error */, "Incomplete_quantifier_Digit_expected_1505", "Incomplete quantifier. Digit expected."), + Numbers_out_of_order_in_quantifier: diag(1506, 1 /* Error */, "Numbers_out_of_order_in_quantifier_1506", "Numbers out of order in quantifier."), + There_is_nothing_available_for_repetition: diag(1507, 1 /* Error */, "There_is_nothing_available_for_repetition_1507", "There is nothing available for repetition."), + Unexpected_0_Did_you_mean_to_escape_it_with_backslash: diag(1508, 1 /* Error */, "Unexpected_0_Did_you_mean_to_escape_it_with_backslash_1508", "Unexpected '{0}'. Did you mean to escape it with backslash?"), + This_regular_expression_flag_cannot_be_toggled_within_a_subpattern: diag(1509, 1 /* Error */, "This_regular_expression_flag_cannot_be_toggled_within_a_subpattern_1509", "This regular expression flag cannot be toggled within a subpattern."), + k_must_be_followed_by_a_capturing_group_name_enclosed_in_angle_brackets: diag(1510, 1 /* Error */, "k_must_be_followed_by_a_capturing_group_name_enclosed_in_angle_brackets_1510", "'\\k' must be followed by a capturing group name enclosed in angle brackets."), + q_is_only_available_inside_character_class: diag(1511, 1 /* Error */, "q_is_only_available_inside_character_class_1511", "'\\q' is only available inside character class."), + c_must_be_followed_by_an_ASCII_letter: diag(1512, 1 /* Error */, "c_must_be_followed_by_an_ASCII_letter_1512", "'\\c' must be followed by an ASCII letter."), + Undetermined_character_escape: diag(1513, 1 /* Error */, "Undetermined_character_escape_1513", "Undetermined character escape."), + Expected_a_capturing_group_name: diag(1514, 1 /* Error */, "Expected_a_capturing_group_name_1514", "Expected a capturing group name."), + Named_capturing_groups_with_the_same_name_must_be_mutually_exclusive_to_each_other: diag(1515, 1 /* Error */, "Named_capturing_groups_with_the_same_name_must_be_mutually_exclusive_to_each_other_1515", "Named capturing groups with the same name must be mutually exclusive to each other."), + A_character_class_range_must_not_be_bounded_by_another_character_class: diag(1516, 1 /* Error */, "A_character_class_range_must_not_be_bounded_by_another_character_class_1516", "A character class range must not be bounded by another character class."), + Range_out_of_order_in_character_class: diag(1517, 1 /* Error */, "Range_out_of_order_in_character_class_1517", "Range out of order in character class."), + Anything_that_would_possibly_match_more_than_a_single_character_is_invalid_inside_a_negated_character_class: diag(1518, 1 /* Error */, "Anything_that_would_possibly_match_more_than_a_single_character_is_invalid_inside_a_negated_characte_1518", "Anything that would possibly match more than a single character is invalid inside a negated character class."), + Operators_must_not_be_mixed_within_a_character_class_Wrap_it_in_a_nested_class_instead: diag(1519, 1 /* Error */, "Operators_must_not_be_mixed_within_a_character_class_Wrap_it_in_a_nested_class_instead_1519", "Operators must not be mixed within a character class. Wrap it in a nested class instead."), + Expected_a_class_set_operand: diag(1520, 1 /* Error */, "Expected_a_class_set_operand_1520", "Expected a class set operand."), + q_must_be_followed_by_string_alternatives_enclosed_in_braces: diag(1521, 1 /* Error */, "q_must_be_followed_by_string_alternatives_enclosed_in_braces_1521", "'\\q' must be followed by string alternatives enclosed in braces."), + A_character_class_must_not_contain_a_reserved_double_punctuator_Did_you_mean_to_escape_it_with_backslash: diag(1522, 1 /* Error */, "A_character_class_must_not_contain_a_reserved_double_punctuator_Did_you_mean_to_escape_it_with_backs_1522", "A character class must not contain a reserved double punctuator. Did you mean to escape it with backslash?"), + Expected_a_Unicode_property_name: diag(1523, 1 /* Error */, "Expected_a_Unicode_property_name_1523", "Expected a Unicode property name."), + Unknown_Unicode_property_name: diag(1524, 1 /* Error */, "Unknown_Unicode_property_name_1524", "Unknown Unicode property name."), + Expected_a_Unicode_property_value: diag(1525, 1 /* Error */, "Expected_a_Unicode_property_value_1525", "Expected a Unicode property value."), + Unknown_Unicode_property_value: diag(1526, 1 /* Error */, "Unknown_Unicode_property_value_1526", "Unknown Unicode property value."), + Expected_a_Unicode_property_name_or_value: diag(1527, 1 /* Error */, "Expected_a_Unicode_property_name_or_value_1527", "Expected a Unicode property name or value."), + Any_Unicode_property_that_would_possibly_match_more_than_a_single_character_is_only_available_when_the_Unicode_Sets_v_flag_is_set: diag(1528, 1 /* Error */, "Any_Unicode_property_that_would_possibly_match_more_than_a_single_character_is_only_available_when_t_1528", "Any Unicode property that would possibly match more than a single character is only available when the Unicode Sets (v) flag is set."), + Unknown_Unicode_property_name_or_value: diag(1529, 1 /* Error */, "Unknown_Unicode_property_name_or_value_1529", "Unknown Unicode property name or value."), + Unicode_property_value_expressions_are_only_available_when_the_Unicode_u_flag_or_the_Unicode_Sets_v_flag_is_set: diag(1530, 1 /* Error */, "Unicode_property_value_expressions_are_only_available_when_the_Unicode_u_flag_or_the_Unicode_Sets_v__1530", "Unicode property value expressions are only available when the Unicode (u) flag or the Unicode Sets (v) flag is set."), + _0_must_be_followed_by_a_Unicode_property_value_expression_enclosed_in_braces: diag(1531, 1 /* Error */, "_0_must_be_followed_by_a_Unicode_property_value_expression_enclosed_in_braces_1531", "'\\{0}' must be followed by a Unicode property value expression enclosed in braces."), + There_is_no_capturing_group_named_0_in_this_regular_expression: diag(1532, 1 /* Error */, "There_is_no_capturing_group_named_0_in_this_regular_expression_1532", "There is no capturing group named '{0}' in this regular expression."), + This_backreference_refers_to_a_group_that_does_not_exist_There_are_only_0_capturing_groups_in_this_regular_expression: diag(1533, 1 /* Error */, "This_backreference_refers_to_a_group_that_does_not_exist_There_are_only_0_capturing_groups_in_this_r_1533", "This backreference refers to a group that does not exist. There are only {0} capturing groups in this regular expression."), + This_backreference_refers_to_a_group_that_does_not_exist_There_are_no_capturing_groups_in_this_regular_expression: diag(1534, 1 /* Error */, "This_backreference_refers_to_a_group_that_does_not_exist_There_are_no_capturing_groups_in_this_regul_1534", "This backreference refers to a group that does not exist. There are no capturing groups in this regular expression."), + This_character_cannot_be_escaped_in_a_regular_expression: diag(1535, 1 /* Error */, "This_character_cannot_be_escaped_in_a_regular_expression_1535", "This character cannot be escaped in a regular expression."), + Octal_escape_sequences_and_backreferences_are_not_allowed_in_a_character_class_If_this_was_intended_as_an_escape_sequence_use_the_syntax_0_instead: diag(1536, 1 /* Error */, "Octal_escape_sequences_and_backreferences_are_not_allowed_in_a_character_class_If_this_was_intended__1536", "Octal escape sequences and backreferences are not allowed in a character class. If this was intended as an escape sequence, use the syntax '{0}' instead."), + Decimal_escape_sequences_and_backreferences_are_not_allowed_in_a_character_class: diag(1537, 1 /* Error */, "Decimal_escape_sequences_and_backreferences_are_not_allowed_in_a_character_class_1537", "Decimal escape sequences and backreferences are not allowed in a character class."), + Unicode_escape_sequences_are_only_available_when_the_Unicode_u_flag_or_the_Unicode_Sets_v_flag_is_set: diag(1538, 1 /* Error */, "Unicode_escape_sequences_are_only_available_when_the_Unicode_u_flag_or_the_Unicode_Sets_v_flag_is_se_1538", "Unicode escape sequences are only available when the Unicode (u) flag or the Unicode Sets (v) flag is set."), + A_bigint_literal_cannot_be_used_as_a_property_name: diag(1539, 1 /* Error */, "A_bigint_literal_cannot_be_used_as_a_property_name_1539", "A 'bigint' literal cannot be used as a property name."), + A_namespace_declaration_should_not_be_declared_using_the_module_keyword_Please_use_the_namespace_keyword_instead: diag( + 1540, + 2 /* Suggestion */, + "A_namespace_declaration_should_not_be_declared_using_the_module_keyword_Please_use_the_namespace_key_1540", + "A 'namespace' declaration should not be declared using the 'module' keyword. Please use the 'namespace' keyword instead.", + /*reportsUnnecessary*/ + void 0, + /*elidedInCompatabilityPyramid*/ + void 0, + /*reportsDeprecated*/ + true + ), + Type_only_import_of_an_ECMAScript_module_from_a_CommonJS_module_must_have_a_resolution_mode_attribute: diag(1541, 1 /* Error */, "Type_only_import_of_an_ECMAScript_module_from_a_CommonJS_module_must_have_a_resolution_mode_attribut_1541", "Type-only import of an ECMAScript module from a CommonJS module must have a 'resolution-mode' attribute."), + Type_import_of_an_ECMAScript_module_from_a_CommonJS_module_must_have_a_resolution_mode_attribute: diag(1542, 1 /* Error */, "Type_import_of_an_ECMAScript_module_from_a_CommonJS_module_must_have_a_resolution_mode_attribute_1542", "Type import of an ECMAScript module from a CommonJS module must have a 'resolution-mode' attribute."), + Importing_a_JSON_file_into_an_ECMAScript_module_requires_a_type_Colon_json_import_attribute_when_module_is_set_to_0: diag(1543, 1 /* Error */, "Importing_a_JSON_file_into_an_ECMAScript_module_requires_a_type_Colon_json_import_attribute_when_mod_1543", `Importing a JSON file into an ECMAScript module requires a 'type: "json"' import attribute when 'module' is set to '{0}'.`), + Named_imports_from_a_JSON_file_into_an_ECMAScript_module_are_not_allowed_when_module_is_set_to_0: diag(1544, 1 /* Error */, "Named_imports_from_a_JSON_file_into_an_ECMAScript_module_are_not_allowed_when_module_is_set_to_0_1544", "Named imports from a JSON file into an ECMAScript module are not allowed when 'module' is set to '{0}'."), + The_types_of_0_are_incompatible_between_these_types: diag(2200, 1 /* 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: diag(2201, 1 /* 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: diag( + 2202, + 1 /* Error */, + "Call_signature_return_types_0_and_1_are_incompatible_2202", + "Call signature return types '{0}' and '{1}' are incompatible.", + /*reportsUnnecessary*/ + void 0, + /*elidedInCompatabilityPyramid*/ + true + ), + Construct_signature_return_types_0_and_1_are_incompatible: diag( + 2203, + 1 /* Error */, + "Construct_signature_return_types_0_and_1_are_incompatible_2203", + "Construct signature return types '{0}' and '{1}' are incompatible.", + /*reportsUnnecessary*/ + void 0, + /*elidedInCompatabilityPyramid*/ + true + ), + Call_signatures_with_no_arguments_have_incompatible_return_types_0_and_1: diag( + 2204, + 1 /* 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}'.", + /*reportsUnnecessary*/ + void 0, + /*elidedInCompatabilityPyramid*/ + true + ), + Construct_signatures_with_no_arguments_have_incompatible_return_types_0_and_1: diag( + 2205, + 1 /* 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}'.", + /*reportsUnnecessary*/ + void 0, + /*elidedInCompatabilityPyramid*/ + true + ), + The_type_modifier_cannot_be_used_on_a_named_import_when_import_type_is_used_on_its_import_statement: diag(2206, 1 /* 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: diag(2207, 1 /* 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."), + This_type_parameter_might_need_an_extends_0_constraint: diag(2208, 1 /* Error */, "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: diag(2209, 1 /* Error */, "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: diag(2210, 1 /* Error */, "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: diag(2211, 3 /* Message */, "Add_extends_constraint_2211", "Add `extends` constraint."), + Add_extends_constraint_to_all_type_parameters: diag(2212, 3 /* Message */, "Add_extends_constraint_to_all_type_parameters_2212", "Add `extends` constraint to all type parameters"), + Duplicate_identifier_0: diag(2300, 1 /* Error */, "Duplicate_identifier_0_2300", "Duplicate identifier '{0}'."), + Initializer_of_instance_member_variable_0_cannot_reference_identifier_1_declared_in_the_constructor: diag(2301, 1 /* 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: diag(2302, 1 /* Error */, "Static_members_cannot_reference_class_type_parameters_2302", "Static members cannot reference class type parameters."), + Circular_definition_of_import_alias_0: diag(2303, 1 /* Error */, "Circular_definition_of_import_alias_0_2303", "Circular definition of import alias '{0}'."), + Cannot_find_name_0: diag(2304, 1 /* Error */, "Cannot_find_name_0_2304", "Cannot find name '{0}'."), + Module_0_has_no_exported_member_1: diag(2305, 1 /* Error */, "Module_0_has_no_exported_member_1_2305", "Module '{0}' has no exported member '{1}'."), + File_0_is_not_a_module: diag(2306, 1 /* Error */, "File_0_is_not_a_module_2306", "File '{0}' is not a module."), + Cannot_find_module_0_or_its_corresponding_type_declarations: diag(2307, 1 /* 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: diag(2308, 1 /* 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: diag(2309, 1 /* 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: diag(2310, 1 /* Error */, "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: diag(2311, 1 /* Error */, "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: diag(2312, 1 /* 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: diag(2313, 1 /* Error */, "Type_parameter_0_has_a_circular_constraint_2313", "Type parameter '{0}' has a circular constraint."), + Generic_type_0_requires_1_type_argument_s: diag(2314, 1 /* Error */, "Generic_type_0_requires_1_type_argument_s_2314", "Generic type '{0}' requires {1} type argument(s)."), + Type_0_is_not_generic: diag(2315, 1 /* Error */, "Type_0_is_not_generic_2315", "Type '{0}' is not generic."), + Global_type_0_must_be_a_class_or_interface_type: diag(2316, 1 /* 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: diag(2317, 1 /* 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: diag(2318, 1 /* Error */, "Cannot_find_global_type_0_2318", "Cannot find global type '{0}'."), + Named_property_0_of_types_1_and_2_are_not_identical: diag(2319, 1 /* 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: diag(2320, 1 /* 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: diag(2321, 1 /* 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: diag(2322, 1 /* Error */, "Type_0_is_not_assignable_to_type_1_2322", "Type '{0}' is not assignable to type '{1}'."), + Cannot_redeclare_exported_variable_0: diag(2323, 1 /* Error */, "Cannot_redeclare_exported_variable_0_2323", "Cannot redeclare exported variable '{0}'."), + Property_0_is_missing_in_type_1: diag(2324, 1 /* 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: diag(2325, 1 /* 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: diag(2326, 1 /* 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: diag(2327, 1 /* 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: diag(2328, 1 /* 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: diag(2329, 1 /* 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: diag(2330, 1 /* 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: diag(2331, 1 /* 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: diag(2332, 1 /* Error */, "this_cannot_be_referenced_in_current_location_2332", "'this' cannot be referenced in current location."), + this_cannot_be_referenced_in_a_static_property_initializer: diag(2334, 1 /* 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: diag(2335, 1 /* 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: diag(2336, 1 /* 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: diag(2337, 1 /* 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: diag(2338, 1 /* 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: diag(2339, 1 /* 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: diag(2340, 1 /* 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: diag(2341, 1 /* 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: diag(2343, 1 /* 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: diag(2344, 1 /* 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: diag(2345, 1 /* 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}'."), + Untyped_function_calls_may_not_accept_type_arguments: diag(2347, 1 /* 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: diag(2348, 1 /* 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: diag(2349, 1 /* Error */, "This_expression_is_not_callable_2349", "This expression is not callable."), + Only_a_void_function_can_be_called_with_the_new_keyword: diag(2350, 1 /* 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: diag(2351, 1 /* 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: diag(2352, 1 /* 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: diag(2353, 1 /* 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: diag(2354, 1 /* 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_undefined_void_nor_any_must_return_a_value: diag(2355, 1 /* Error */, "A_function_whose_declared_type_is_neither_undefined_void_nor_any_must_return_a_value_2355", "A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value."), + An_arithmetic_operand_must_be_of_type_any_number_bigint_or_an_enum_type: diag(2356, 1 /* 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: diag(2357, 1 /* 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: diag(2358, 1 /* 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_either_of_type_any_a_class_function_or_other_type_assignable_to_the_Function_interface_type_or_an_object_type_with_a_Symbol_hasInstance_method: diag(2359, 1 /* Error */, "The_right_hand_side_of_an_instanceof_expression_must_be_either_of_type_any_a_class_function_or_other_2359", "The right-hand side of an 'instanceof' expression must be either of type 'any', a class, function, or other type assignable to the 'Function' interface type, or an object type with a 'Symbol.hasInstance' method."), + The_left_hand_side_of_an_arithmetic_operation_must_be_of_type_any_number_bigint_or_an_enum_type: diag(2362, 1 /* 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: diag(2363, 1 /* 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: diag(2364, 1 /* 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: diag(2365, 1 /* 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: diag(2366, 1 /* 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_comparison_appears_to_be_unintentional_because_the_types_0_and_1_have_no_overlap: diag(2367, 1 /* Error */, "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: diag(2368, 1 /* Error */, "Type_parameter_name_cannot_be_0_2368", "Type parameter name cannot be '{0}'."), + A_parameter_property_is_only_allowed_in_a_constructor_implementation: diag(2369, 1 /* 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: diag(2370, 1 /* 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: diag(2371, 1 /* 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: diag(2372, 1 /* Error */, "Parameter_0_cannot_reference_itself_2372", "Parameter '{0}' cannot reference itself."), + Parameter_0_cannot_reference_identifier_1_declared_after_it: diag(2373, 1 /* 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: diag(2374, 1 /* 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: diag(2375, 1 /* 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_to_refer_to_super_or_this_when_a_derived_class_contains_initialized_properties_parameter_properties_or_private_identifiers: diag(2376, 1 /* Error */, "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: diag(2377, 1 /* 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: diag(2378, 1 /* 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: diag(2379, 1 /* 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."), + Overload_signatures_must_all_be_exported_or_non_exported: diag(2383, 1 /* 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: diag(2384, 1 /* 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: diag(2385, 1 /* 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: diag(2386, 1 /* Error */, "Overload_signatures_must_all_be_optional_or_required_2386", "Overload signatures must all be optional or required."), + Function_overload_must_be_static: diag(2387, 1 /* Error */, "Function_overload_must_be_static_2387", "Function overload must be static."), + Function_overload_must_not_be_static: diag(2388, 1 /* Error */, "Function_overload_must_not_be_static_2388", "Function overload must not be static."), + Function_implementation_name_must_be_0: diag(2389, 1 /* Error */, "Function_implementation_name_must_be_0_2389", "Function implementation name must be '{0}'."), + Constructor_implementation_is_missing: diag(2390, 1 /* Error */, "Constructor_implementation_is_missing_2390", "Constructor implementation is missing."), + Function_implementation_is_missing_or_not_immediately_following_the_declaration: diag(2391, 1 /* 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: diag(2392, 1 /* Error */, "Multiple_constructor_implementations_are_not_allowed_2392", "Multiple constructor implementations are not allowed."), + Duplicate_function_implementation: diag(2393, 1 /* Error */, "Duplicate_function_implementation_2393", "Duplicate function implementation."), + This_overload_signature_is_not_compatible_with_its_implementation_signature: diag(2394, 1 /* 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: diag(2395, 1 /* 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: diag(2396, 1 /* 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: diag(2397, 1 /* 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: diag(2398, 1 /* 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: diag(2399, 1 /* 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: diag(2400, 1 /* 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."), + A_super_call_must_be_a_root_level_statement_within_a_constructor_of_a_derived_class_that_contains_initialized_properties_parameter_properties_or_private_identifiers: diag(2401, 1 /* Error */, "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: diag(2402, 1 /* 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: diag(2403, 1 /* 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: diag(2404, 1 /* 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: diag(2405, 1 /* 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: diag(2406, 1 /* 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: diag(2407, 1 /* 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: diag(2408, 1 /* 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: diag(2409, 1 /* 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: diag(2410, 1 /* 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: diag(2412, 1 /* 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: diag(2411, 1 /* 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: diag(2413, 1 /* 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: diag(2414, 1 /* Error */, "Class_name_cannot_be_0_2414", "Class name cannot be '{0}'."), + Class_0_incorrectly_extends_base_class_1: diag(2415, 1 /* 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: diag(2416, 1 /* 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: diag(2417, 1 /* 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: diag(2418, 1 /* 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: diag(2419, 1 /* Error */, "Types_of_construct_signatures_are_incompatible_2419", "Types of construct signatures are incompatible."), + Class_0_incorrectly_implements_interface_1: diag(2420, 1 /* 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: diag(2422, 1 /* 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: diag(2423, 1 /* 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: diag(2425, 1 /* 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: diag(2426, 1 /* 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: diag(2427, 1 /* Error */, "Interface_name_cannot_be_0_2427", "Interface name cannot be '{0}'."), + All_declarations_of_0_must_have_identical_type_parameters: diag(2428, 1 /* 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: diag(2430, 1 /* Error */, "Interface_0_incorrectly_extends_interface_1_2430", "Interface '{0}' incorrectly extends interface '{1}'."), + Enum_name_cannot_be_0: diag(2431, 1 /* 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: diag(2432, 1 /* 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: diag(2433, 1 /* 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: diag(2434, 1 /* 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: diag(2435, 1 /* 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: diag(2436, 1 /* 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: diag(2437, 1 /* 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: diag(2438, 1 /* 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: diag(2439, 1 /* 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: diag(2440, 1 /* 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: diag(2441, 1 /* 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: diag(2442, 1 /* 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: diag(2443, 1 /* 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: diag(2444, 1 /* 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: diag(2445, 1 /* 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: diag(2446, 1 /* 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: diag(2447, 1 /* 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: diag(2448, 1 /* Error */, "Block_scoped_variable_0_used_before_its_declaration_2448", "Block-scoped variable '{0}' used before its declaration."), + Class_0_used_before_its_declaration: diag(2449, 1 /* Error */, "Class_0_used_before_its_declaration_2449", "Class '{0}' used before its declaration."), + Enum_0_used_before_its_declaration: diag(2450, 1 /* Error */, "Enum_0_used_before_its_declaration_2450", "Enum '{0}' used before its declaration."), + Cannot_redeclare_block_scoped_variable_0: diag(2451, 1 /* Error */, "Cannot_redeclare_block_scoped_variable_0_2451", "Cannot redeclare block-scoped variable '{0}'."), + An_enum_member_cannot_have_a_numeric_name: diag(2452, 1 /* 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: diag(2454, 1 /* Error */, "Variable_0_is_used_before_being_assigned_2454", "Variable '{0}' is used before being assigned."), + Type_alias_0_circularly_references_itself: diag(2456, 1 /* Error */, "Type_alias_0_circularly_references_itself_2456", "Type alias '{0}' circularly references itself."), + Type_alias_name_cannot_be_0: diag(2457, 1 /* Error */, "Type_alias_name_cannot_be_0_2457", "Type alias name cannot be '{0}'."), + An_AMD_module_cannot_have_multiple_name_assignments: diag(2458, 1 /* 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: diag(2459, 1 /* 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: diag(2460, 1 /* 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: diag(2461, 1 /* 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: diag(2462, 1 /* 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: diag(2463, 1 /* 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: diag(2464, 1 /* 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: diag(2465, 1 /* 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: diag(2466, 1 /* 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: diag(2467, 1 /* 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: diag(2468, 1 /* Error */, "Cannot_find_global_value_0_2468", "Cannot find global value '{0}'."), + The_0_operator_cannot_be_applied_to_type_symbol: diag(2469, 1 /* 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: diag(2472, 1 /* 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: diag(2473, 1 /* Error */, "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: diag(2474, 1 /* Error */, "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: diag(2475, 1 /* 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: diag(2476, 1 /* 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: diag(2477, 1 /* 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: diag(2478, 1 /* 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: diag(2480, 1 /* 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: diag(2481, 1 /* 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: diag(2483, 1 /* 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: diag(2484, 1 /* 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: diag(2487, 1 /* 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: diag(2488, 1 /* 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: diag(2489, 1 /* 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: diag(2490, 1 /* 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: diag(2491, 1 /* 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: diag(2492, 1 /* 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: diag(2493, 1 /* 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: diag(2494, 1 /* 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: diag(2495, 1 /* 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_ES5_Consider_using_a_standard_function_expression: diag(2496, 1 /* Error */, "The_arguments_object_cannot_be_referenced_in_an_arrow_function_in_ES5_Consider_using_a_standard_func_2496", "The 'arguments' object cannot be referenced in an arrow function in 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: diag(2497, 1 /* 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: diag(2498, 1 /* 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: diag(2499, 1 /* 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: diag(2500, 1 /* 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: diag(2501, 1 /* 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: diag(2502, 1 /* 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: diag(2503, 1 /* Error */, "Cannot_find_namespace_0_2503", "Cannot find namespace '{0}'."), + Type_0_must_have_a_Symbol_asyncIterator_method_that_returns_an_async_iterator: diag(2504, 1 /* 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: diag(2505, 1 /* 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: diag(2506, 1 /* 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: diag(2507, 1 /* 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: diag(2508, 1 /* 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: diag(2509, 1 /* 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: diag(2510, 1 /* 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: diag(2511, 1 /* 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: diag(2512, 1 /* 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: diag(2513, 1 /* 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."), + A_tuple_type_cannot_be_indexed_with_a_negative_value: diag(2514, 1 /* Error */, "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: diag(2515, 1 /* 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: diag(2516, 1 /* 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: diag(2517, 1 /* 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: diag(2518, 1 /* 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: diag(2519, 1 /* 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: diag(2520, 1 /* 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_ES5_Consider_using_a_standard_function_or_method: diag(2522, 1 /* Error */, "The_arguments_object_cannot_be_referenced_in_an_async_function_or_method_in_ES5_Consider_using_a_sta_2522", "The 'arguments' object cannot be referenced in an async function or method in ES5. Consider using a standard function or method."), + yield_expressions_cannot_be_used_in_a_parameter_initializer: diag(2523, 1 /* 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: diag(2524, 1 /* Error */, "await_expressions_cannot_be_used_in_a_parameter_initializer_2524", "'await' expressions cannot be used in a parameter initializer."), + A_this_type_is_available_only_in_a_non_static_member_of_a_class_or_interface: diag(2526, 1 /* 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: diag(2527, 1 /* 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: diag(2528, 1 /* 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: diag(2529, 1 /* 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: diag(2530, 1 /* Error */, "Property_0_is_incompatible_with_index_signature_2530", "Property '{0}' is incompatible with index signature."), + Object_is_possibly_null: diag(2531, 1 /* Error */, "Object_is_possibly_null_2531", "Object is possibly 'null'."), + Object_is_possibly_undefined: diag(2532, 1 /* Error */, "Object_is_possibly_undefined_2532", "Object is possibly 'undefined'."), + Object_is_possibly_null_or_undefined: diag(2533, 1 /* Error */, "Object_is_possibly_null_or_undefined_2533", "Object is possibly 'null' or 'undefined'."), + A_function_returning_never_cannot_have_a_reachable_end_point: diag(2534, 1 /* Error */, "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: diag(2536, 1 /* 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: diag(2537, 1 /* 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: diag(2538, 1 /* 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: diag(2539, 1 /* 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: diag(2540, 1 /* 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: diag(2542, 1 /* 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: diag(2543, 1 /* 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: diag(2544, 1 /* 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: diag(2545, 1 /* 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: diag(2547, 1 /* 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: diag(2548, 1 /* 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: diag(2549, 1 /* 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: diag(2550, 1 /* 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: diag(2551, 1 /* 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: diag(2552, 1 /* 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: diag(2553, 1 /* 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: diag(2554, 1 /* Error */, "Expected_0_arguments_but_got_1_2554", "Expected {0} arguments, but got {1}."), + Expected_at_least_0_arguments_but_got_1: diag(2555, 1 /* 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: diag(2556, 1 /* 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: diag(2558, 1 /* 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: diag(2559, 1 /* 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: diag(2560, 1 /* 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: diag(2561, 1 /* 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: diag(2562, 1 /* 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: diag(2563, 1 /* 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: diag(2564, 1 /* 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: diag(2565, 1 /* Error */, "Property_0_is_used_before_being_assigned_2565", "Property '{0}' is used before being assigned."), + A_rest_element_cannot_have_a_property_name: diag(2566, 1 /* 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: diag(2567, 1 /* 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: diag(2568, 1 /* 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}'?"), + Could_not_find_name_0_Did_you_mean_1: diag(2570, 1 /* 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: diag(2571, 1 /* Error */, "Object_is_of_type_unknown_2571", "Object is of type 'unknown'."), + A_rest_element_type_must_be_an_array_type: diag(2574, 1 /* 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: diag(2575, 1 /* 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: diag(2576, 1 /* 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: diag(2577, 1 /* Error */, "Return_type_annotation_circularly_references_itself_2577", "Return type annotation circularly references itself."), + Unused_ts_expect_error_directive: diag(2578, 1 /* 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: diag(2580, 1 /* 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: diag(2581, 1 /* 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: diag(2582, 1 /* 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: diag(2583, 1 /* 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: diag(2584, 1 /* 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: diag(2585, 1 /* 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: diag(2588, 1 /* 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: diag(2589, 1 /* 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: diag(2590, 1 /* 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: diag(2591, 1 /* 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: diag(2592, 1 /* 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: diag(2593, 1 /* 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_export_and_can_only_be_used_with_a_default_import_when_using_the_0_flag: diag(2594, 1 /* Error */, "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: diag(2595, 1 /* 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: diag(2596, 1 /* 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: diag(2597, 1 /* 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: diag(2598, 1 /* 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: diag(2602, 1 /* 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: diag(2603, 1 /* 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: diag(2604, 1 /* 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: diag(2606, 1 /* 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: diag(2607, 1 /* 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: diag(2608, 1 /* 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: diag(2609, 1 /* 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: diag(2610, 1 /* 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: diag(2611, 1 /* 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: diag(2612, 1 /* 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: diag(2613, 1 /* 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: diag(2614, 1 /* 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: diag(2615, 1 /* 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: diag(2616, 1 /* 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: diag(2617, 1 /* 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: diag(2618, 1 /* 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: diag(2619, 1 /* 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: diag(2620, 1 /* 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: diag(2621, 1 /* 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: diag(2623, 1 /* 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: diag(2624, 1 /* 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: diag(2625, 1 /* 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: diag(2626, 1 /* 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: diag(2627, 1 /* 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: diag(2628, 1 /* 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: diag(2629, 1 /* 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: diag(2630, 1 /* 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: diag(2631, 1 /* 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: diag(2632, 1 /* 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: diag(2633, 1 /* 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: diag(2634, 1 /* Error */, "_0_index_signatures_are_incompatible_2634", "'{0}' index signatures are incompatible."), + Type_0_has_no_signatures_for_which_the_type_argument_list_is_applicable: diag(2635, 1 /* Error */, "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: diag(2636, 1 /* Error */, "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: diag(2637, 1 /* Error */, "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: diag(2638, 1 /* Error */, "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."), + React_components_cannot_include_JSX_namespace_names: diag(2639, 1 /* Error */, "React_components_cannot_include_JSX_namespace_names_2639", "React components cannot include JSX namespace names"), + Cannot_augment_module_0_with_value_exports_because_it_resolves_to_a_non_module_entity: diag(2649, 1 /* 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."), + Non_abstract_class_expression_is_missing_implementations_for_the_following_members_of_0_Colon_1_and_2_more: diag(2650, 1 /* Error */, "Non_abstract_class_expression_is_missing_implementations_for_the_following_members_of_0_Colon_1_and__2650", "Non-abstract class expression is missing implementations for the following members of '{0}': {1} and {2} more."), + A_member_initializer_in_a_enum_declaration_cannot_reference_members_declared_after_it_including_members_defined_in_other_enums: diag(2651, 1 /* 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: diag(2652, 1 /* 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: diag(2653, 1 /* 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}'."), + Non_abstract_class_0_is_missing_implementations_for_the_following_members_of_1_Colon_2: diag(2654, 1 /* Error */, "Non_abstract_class_0_is_missing_implementations_for_the_following_members_of_1_Colon_2_2654", "Non-abstract class '{0}' is missing implementations for the following members of '{1}': {2}."), + Non_abstract_class_0_is_missing_implementations_for_the_following_members_of_1_Colon_2_and_3_more: diag(2655, 1 /* Error */, "Non_abstract_class_0_is_missing_implementations_for_the_following_members_of_1_Colon_2_and_3_more_2655", "Non-abstract class '{0}' is missing implementations for the following members of '{1}': {2} and {3} more."), + Non_abstract_class_expression_is_missing_implementations_for_the_following_members_of_0_Colon_1: diag(2656, 1 /* Error */, "Non_abstract_class_expression_is_missing_implementations_for_the_following_members_of_0_Colon_1_2656", "Non-abstract class expression is missing implementations for the following members of '{0}': {1}."), + JSX_expressions_must_have_one_parent_element: diag(2657, 1 /* 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: diag(2658, 1 /* 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: diag(2659, 1 /* 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: diag(2660, 1 /* 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: diag(2661, 1 /* 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: diag(2662, 1 /* 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: diag(2663, 1 /* 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: diag(2664, 1 /* 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: diag(2665, 1 /* 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: diag(2666, 1 /* 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: diag(2667, 1 /* 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: diag(2668, 1 /* 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: diag(2669, 1 /* 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: diag(2670, 1 /* 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: diag(2671, 1 /* 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: diag(2672, 1 /* 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: diag(2673, 1 /* 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: diag(2674, 1 /* 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: diag(2675, 1 /* 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: diag(2676, 1 /* 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: diag(2677, 1 /* 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: diag(2678, 1 /* 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: diag(2679, 1 /* 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: diag(2680, 1 /* 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: diag(2681, 1 /* 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: diag(2683, 1 /* 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: diag(2684, 1 /* 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: diag(2685, 1 /* 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: diag(2686, 1 /* 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: diag(2687, 1 /* 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: diag(2688, 1 /* 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: diag(2689, 1 /* 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: diag(2690, 1 /* 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}'?"), + _0_is_a_primitive_but_1_is_a_wrapper_object_Prefer_using_0_when_possible: diag(2692, 1 /* 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: diag(2693, 1 /* 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: diag(2694, 1 /* 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: diag( + 2695, + 1 /* 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.", + /*reportsUnnecessary*/ + true + ), + The_Object_type_is_assignable_to_very_few_other_types_Did_you_mean_to_use_the_any_type_instead: diag(2696, 1 /* 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: diag(2697, 1 /* 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: diag(2698, 1 /* 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: diag(2699, 1 /* 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: diag(2700, 1 /* 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: diag(2701, 1 /* 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: diag(2702, 1 /* 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: diag(2703, 1 /* 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: diag(2704, 1 /* 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_requires_the_Promise_constructor_Make_sure_you_have_a_declaration_for_the_Promise_constructor_or_include_ES2015_in_your_lib_option: diag(2705, 1 /* Error */, "An_async_function_or_method_in_ES5_requires_the_Promise_constructor_Make_sure_you_have_a_declaration_2705", "An async function or method in ES5 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: diag(2706, 1 /* 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: diag(2707, 1 /* 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: diag(2708, 1 /* Error */, "Cannot_use_namespace_0_as_a_value_2708", "Cannot use namespace '{0}' as a value."), + Cannot_use_namespace_0_as_a_type: diag(2709, 1 /* 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: diag(2710, 1 /* 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: diag(2711, 1 /* 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_requires_the_Promise_constructor_Make_sure_you_have_a_declaration_for_the_Promise_constructor_or_include_ES2015_in_your_lib_option: diag(2712, 1 /* Error */, "A_dynamic_import_call_in_ES5_requires_the_Promise_constructor_Make_sure_you_have_a_declaration_for_t_2712", "A dynamic import call in ES5 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: diag(2713, 1 /* 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: diag(2714, 1 /* 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: diag(2715, 1 /* 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: diag(2716, 1 /* 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: diag(2717, 1 /* 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: diag(2718, 1 /* 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: diag(2719, 1 /* 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: diag(2720, 1 /* 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: diag(2721, 1 /* 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: diag(2722, 1 /* 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: diag(2723, 1 /* 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: diag(2724, 1 /* 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: diag(2725, 1 /* 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: diag(2726, 1 /* Error */, "Cannot_find_lib_definition_for_0_2726", "Cannot find lib definition for '{0}'."), + Cannot_find_lib_definition_for_0_Did_you_mean_1: diag(2727, 1 /* 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: diag(2728, 3 /* Message */, "_0_is_declared_here_2728", "'{0}' is declared here."), + Property_0_is_used_before_its_initialization: diag(2729, 1 /* Error */, "Property_0_is_used_before_its_initialization_2729", "Property '{0}' is used before its initialization."), + An_arrow_function_cannot_have_a_this_parameter: diag(2730, 1 /* 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: diag(2731, 1 /* 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: diag(2732, 1 /* 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: diag(2733, 1 /* Error */, "Property_0_was_also_declared_here_2733", "Property '{0}' was also declared here."), + Are_you_missing_a_semicolon: diag(2734, 1 /* 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: diag(2735, 1 /* 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: diag(2736, 1 /* 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: diag(2737, 1 /* 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: diag(2738, 3 /* 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: diag(2739, 1 /* 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: diag(2740, 1 /* 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: diag(2741, 1 /* 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: diag(2742, 1 /* 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: diag(2743, 1 /* 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: diag(2744, 1 /* 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: diag(2745, 1 /* 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: diag(2746, 1 /* 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: diag(2747, 1 /* 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_0_is_enabled: diag(2748, 1 /* Error */, "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: diag(2749, 1 /* 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: diag(2750, 1 /* Error */, "The_implementation_signature_is_declared_here_2750", "The implementation signature is declared here."), + Circularity_originates_in_type_at_this_location: diag(2751, 1 /* Error */, "Circularity_originates_in_type_at_this_location_2751", "Circularity originates in type at this location."), + The_first_export_default_is_here: diag(2752, 1 /* Error */, "The_first_export_default_is_here_2752", "The first export default is here."), + Another_export_default_is_here: diag(2753, 1 /* Error */, "Another_export_default_is_here_2753", "Another export default is here."), + super_may_not_use_type_arguments: diag(2754, 1 /* Error */, "super_may_not_use_type_arguments_2754", "'super' may not use type arguments."), + No_constituent_of_type_0_is_callable: diag(2755, 1 /* Error */, "No_constituent_of_type_0_is_callable_2755", "No constituent of type '{0}' is callable."), + Not_all_constituents_of_type_0_are_callable: diag(2756, 1 /* Error */, "Not_all_constituents_of_type_0_are_callable_2756", "Not all constituents of type '{0}' are callable."), + Type_0_has_no_call_signatures: diag(2757, 1 /* 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: diag(2758, 1 /* 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: diag(2759, 1 /* Error */, "No_constituent_of_type_0_is_constructable_2759", "No constituent of type '{0}' is constructable."), + Not_all_constituents_of_type_0_are_constructable: diag(2760, 1 /* Error */, "Not_all_constituents_of_type_0_are_constructable_2760", "Not all constituents of type '{0}' are constructable."), + Type_0_has_no_construct_signatures: diag(2761, 1 /* 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: diag(2762, 1 /* 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: diag(2763, 1 /* 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: diag(2764, 1 /* 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: diag(2765, 1 /* 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: diag(2766, 1 /* 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: diag(2767, 1 /* 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: diag(2768, 1 /* 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: diag(2769, 1 /* Error */, "No_overload_matches_this_call_2769", "No overload matches this call."), + The_last_overload_gave_the_following_error: diag(2770, 1 /* Error */, "The_last_overload_gave_the_following_error_2770", "The last overload gave the following error."), + The_last_overload_is_declared_here: diag(2771, 1 /* Error */, "The_last_overload_is_declared_here_2771", "The last overload is declared here."), + Overload_0_of_1_2_gave_the_following_error: diag(2772, 1 /* 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: diag(2773, 1 /* 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: diag(2774, 1 /* 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: diag(2775, 1 /* 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: diag(2776, 1 /* 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: diag(2777, 1 /* 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: diag(2778, 1 /* 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: diag(2779, 1 /* 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: diag(2780, 1 /* 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: diag(2781, 1 /* 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: diag(2782, 3 /* 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: diag(2783, 1 /* 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: diag(2784, 1 /* Error */, "get_and_set_accessors_cannot_declare_this_parameters_2784", "'get' and 'set' accessors cannot declare 'this' parameters."), + This_spread_always_overwrites_this_property: diag(2785, 1 /* Error */, "This_spread_always_overwrites_this_property_2785", "This spread always overwrites this property."), + _0_cannot_be_used_as_a_JSX_component: diag(2786, 1 /* 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: diag(2787, 1 /* 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: diag(2788, 1 /* 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: diag(2789, 1 /* 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: diag(2790, 1 /* 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: diag(2791, 1 /* 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_nodenext_or_to_add_aliases_to_the_paths_option: diag(2792, 1 /* Error */, "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: diag(2793, 1 /* 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: diag(2794, 1 /* 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: diag(2795, 1 /* 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: diag(2796, 1 /* 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: diag(2797, 1 /* 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: diag(2798, 1 /* 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: diag(2799, 1 /* 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: diag(2800, 1 /* 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: diag(2801, 1 /* 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: diag(2802, 1 /* 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: diag(2803, 1 /* 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: diag(2804, 1 /* 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."), + Private_accessor_was_defined_without_a_getter: diag(2806, 1 /* 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: diag(2807, 1 /* 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: diag(2808, 1 /* 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_whole_assignment_in_parentheses: diag(2809, 1 /* 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 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: diag(2810, 1 /* Error */, "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: diag(2811, 1 /* 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: diag(2812, 1 /* 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: diag(2813, 1 /* 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: diag(2814, 1 /* 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: diag(2815, 1 /* 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: diag(2816, 1 /* 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: diag(2817, 1 /* 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: diag(2818, 1 /* 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: diag(2819, 1 /* Error */, "Namespace_name_cannot_be_0_2819", "Namespace name cannot be '{0}'."), + Type_0_is_not_assignable_to_type_1_Did_you_mean_2: diag(2820, 1 /* 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_nodenext_or_preserve: diag(2821, 1 /* Error */, "Import_assertions_are_only_supported_when_the_module_option_is_set_to_esnext_nodenext_or_preserve_2821", "Import assertions are only supported when the '--module' option is set to 'esnext', 'nodenext', or 'preserve'."), + Import_assertions_cannot_be_used_with_type_only_imports_or_exports: diag(2822, 1 /* Error */, "Import_assertions_cannot_be_used_with_type_only_imports_or_exports_2822", "Import assertions cannot be used with type-only imports or exports."), + Import_attributes_are_only_supported_when_the_module_option_is_set_to_esnext_nodenext_or_preserve: diag(2823, 1 /* Error */, "Import_attributes_are_only_supported_when_the_module_option_is_set_to_esnext_nodenext_or_preserve_2823", "Import attributes are only supported when the '--module' option is set to 'esnext', 'nodenext', or 'preserve'."), + Cannot_find_namespace_0_Did_you_mean_1: diag(2833, 1 /* 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_node16_or_nodenext_Consider_adding_an_extension_to_the_import_path: diag(2834, 1 /* 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 '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: diag(2835, 1 /* 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 'node16' or 'nodenext'. Did you mean '{0}'?"), + Import_assertions_are_not_allowed_on_statements_that_compile_to_CommonJS_require_calls: diag(2836, 1 /* Error */, "Import_assertions_are_not_allowed_on_statements_that_compile_to_CommonJS_require_calls_2836", "Import assertions are not allowed on statements that compile to CommonJS 'require' calls."), + Import_assertion_values_must_be_string_literal_expressions: diag(2837, 1 /* Error */, "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: diag(2838, 1 /* Error */, "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: diag(2839, 1 /* Error */, "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_It_can_only_extend_other_named_object_types: diag(2840, 1 /* Error */, "An_interface_cannot_extend_a_primitive_type_like_0_It_can_only_extend_other_named_object_types_2840", "An interface cannot extend a primitive type like '{0}'. It can only extend other named object types."), + _0_is_an_unused_renaming_of_1_Did_you_intend_to_use_it_as_a_type_annotation: diag(2842, 1 /* Error */, "_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: diag(2843, 1 /* Error */, "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: diag(2844, 1 /* Error */, "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: diag(2845, 1 /* Error */, "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: diag(2846, 1 /* Error */, "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?"), + The_right_hand_side_of_an_instanceof_expression_must_not_be_an_instantiation_expression: diag(2848, 1 /* Error */, "The_right_hand_side_of_an_instanceof_expression_must_not_be_an_instantiation_expression_2848", "The right-hand side of an 'instanceof' expression must not be an instantiation expression."), + Target_signature_provides_too_few_arguments_Expected_0_or_more_but_got_1: diag(2849, 1 /* Error */, "Target_signature_provides_too_few_arguments_Expected_0_or_more_but_got_1_2849", "Target signature provides too few arguments. Expected {0} or more, but got {1}."), + The_initializer_of_a_using_declaration_must_be_either_an_object_with_a_Symbol_dispose_method_or_be_null_or_undefined: diag(2850, 1 /* Error */, "The_initializer_of_a_using_declaration_must_be_either_an_object_with_a_Symbol_dispose_method_or_be_n_2850", "The initializer of a 'using' declaration must be either an object with a '[Symbol.dispose]()' method, or be 'null' or 'undefined'."), + The_initializer_of_an_await_using_declaration_must_be_either_an_object_with_a_Symbol_asyncDispose_or_Symbol_dispose_method_or_be_null_or_undefined: diag(2851, 1 /* Error */, "The_initializer_of_an_await_using_declaration_must_be_either_an_object_with_a_Symbol_asyncDispose_or_2851", "The initializer of an 'await using' declaration must be either an object with a '[Symbol.asyncDispose]()' or '[Symbol.dispose]()' method, or be 'null' or 'undefined'."), + await_using_statements_are_only_allowed_within_async_functions_and_at_the_top_levels_of_modules: diag(2852, 1 /* Error */, "await_using_statements_are_only_allowed_within_async_functions_and_at_the_top_levels_of_modules_2852", "'await using' statements are only allowed within async functions and at the top levels of modules."), + await_using_statements_are_only_allowed_at_the_top_level_of_a_file_when_that_file_is_a_module_but_this_file_has_no_imports_or_exports_Consider_adding_an_empty_export_to_make_this_file_a_module: diag(2853, 1 /* Error */, "await_using_statements_are_only_allowed_at_the_top_level_of_a_file_when_that_file_is_a_module_but_th_2853", "'await using' statements 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_await_using_statements_are_only_allowed_when_the_module_option_is_set_to_es2022_esnext_system_node16_nodenext_or_preserve_and_the_target_option_is_set_to_es2017_or_higher: diag(2854, 1 /* Error */, "Top_level_await_using_statements_are_only_allowed_when_the_module_option_is_set_to_es2022_esnext_sys_2854", "Top-level 'await using' statements are only allowed when the 'module' option is set to 'es2022', 'esnext', 'system', 'node16', 'nodenext', or 'preserve', and the 'target' option is set to 'es2017' or higher."), + Class_field_0_defined_by_the_parent_class_is_not_accessible_in_the_child_class_via_super: diag(2855, 1 /* Error */, "Class_field_0_defined_by_the_parent_class_is_not_accessible_in_the_child_class_via_super_2855", "Class field '{0}' defined by the parent class is not accessible in the child class via super."), + Import_attributes_are_not_allowed_on_statements_that_compile_to_CommonJS_require_calls: diag(2856, 1 /* Error */, "Import_attributes_are_not_allowed_on_statements_that_compile_to_CommonJS_require_calls_2856", "Import attributes are not allowed on statements that compile to CommonJS 'require' calls."), + Import_attributes_cannot_be_used_with_type_only_imports_or_exports: diag(2857, 1 /* Error */, "Import_attributes_cannot_be_used_with_type_only_imports_or_exports_2857", "Import attributes cannot be used with type-only imports or exports."), + Import_attribute_values_must_be_string_literal_expressions: diag(2858, 1 /* Error */, "Import_attribute_values_must_be_string_literal_expressions_2858", "Import attribute values must be string literal expressions."), + Excessive_complexity_comparing_types_0_and_1: diag(2859, 1 /* Error */, "Excessive_complexity_comparing_types_0_and_1_2859", "Excessive complexity comparing types '{0}' and '{1}'."), + The_left_hand_side_of_an_instanceof_expression_must_be_assignable_to_the_first_argument_of_the_right_hand_side_s_Symbol_hasInstance_method: diag(2860, 1 /* Error */, "The_left_hand_side_of_an_instanceof_expression_must_be_assignable_to_the_first_argument_of_the_right_2860", "The left-hand side of an 'instanceof' expression must be assignable to the first argument of the right-hand side's '[Symbol.hasInstance]' method."), + An_object_s_Symbol_hasInstance_method_must_return_a_boolean_value_for_it_to_be_used_on_the_right_hand_side_of_an_instanceof_expression: diag(2861, 1 /* Error */, "An_object_s_Symbol_hasInstance_method_must_return_a_boolean_value_for_it_to_be_used_on_the_right_han_2861", "An object's '[Symbol.hasInstance]' method must return a boolean value for it to be used on the right-hand side of an 'instanceof' expression."), + Type_0_is_generic_and_can_only_be_indexed_for_reading: diag(2862, 1 /* Error */, "Type_0_is_generic_and_can_only_be_indexed_for_reading_2862", "Type '{0}' is generic and can only be indexed for reading."), + A_class_cannot_extend_a_primitive_type_like_0_Classes_can_only_extend_constructable_values: diag(2863, 1 /* Error */, "A_class_cannot_extend_a_primitive_type_like_0_Classes_can_only_extend_constructable_values_2863", "A class cannot extend a primitive type like '{0}'. Classes can only extend constructable values."), + A_class_cannot_implement_a_primitive_type_like_0_It_can_only_implement_other_named_object_types: diag(2864, 1 /* Error */, "A_class_cannot_implement_a_primitive_type_like_0_It_can_only_implement_other_named_object_types_2864", "A class cannot implement a primitive type like '{0}'. It can only implement other named object types."), + Import_0_conflicts_with_local_value_so_must_be_declared_with_a_type_only_import_when_isolatedModules_is_enabled: diag(2865, 1 /* Error */, "Import_0_conflicts_with_local_value_so_must_be_declared_with_a_type_only_import_when_isolatedModules_2865", "Import '{0}' conflicts with local value, so must be declared with a type-only import when 'isolatedModules' is enabled."), + Import_0_conflicts_with_global_value_used_in_this_file_so_must_be_declared_with_a_type_only_import_when_isolatedModules_is_enabled: diag(2866, 1 /* Error */, "Import_0_conflicts_with_global_value_used_in_this_file_so_must_be_declared_with_a_type_only_import_w_2866", "Import '{0}' conflicts with global value used in this file, so must be declared with a type-only import when 'isolatedModules' is enabled."), + Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_Bun_Try_npm_i_save_dev_types_Slashbun: diag(2867, 1 /* Error */, "Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_Bun_Try_npm_i_save_dev_types_Slashbun_2867", "Cannot find name '{0}'. Do you need to install type definitions for Bun? Try `npm i --save-dev @types/bun`."), + Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_Bun_Try_npm_i_save_dev_types_Slashbun_and_then_add_bun_to_the_types_field_in_your_tsconfig: diag(2868, 1 /* Error */, "Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_Bun_Try_npm_i_save_dev_types_Slashbun_2868", "Cannot find name '{0}'. Do you need to install type definitions for Bun? Try `npm i --save-dev @types/bun` and then add 'bun' to the types field in your tsconfig."), + Right_operand_of_is_unreachable_because_the_left_operand_is_never_nullish: diag(2869, 1 /* Error */, "Right_operand_of_is_unreachable_because_the_left_operand_is_never_nullish_2869", "Right operand of ?? is unreachable because the left operand is never nullish."), + This_binary_expression_is_never_nullish_Are_you_missing_parentheses: diag(2870, 1 /* Error */, "This_binary_expression_is_never_nullish_Are_you_missing_parentheses_2870", "This binary expression is never nullish. Are you missing parentheses?"), + This_expression_is_always_nullish: diag(2871, 1 /* Error */, "This_expression_is_always_nullish_2871", "This expression is always nullish."), + This_kind_of_expression_is_always_truthy: diag(2872, 1 /* Error */, "This_kind_of_expression_is_always_truthy_2872", "This kind of expression is always truthy."), + This_kind_of_expression_is_always_falsy: diag(2873, 1 /* Error */, "This_kind_of_expression_is_always_falsy_2873", "This kind of expression is always falsy."), + This_JSX_tag_requires_0_to_be_in_scope_but_it_could_not_be_found: diag(2874, 1 /* Error */, "This_JSX_tag_requires_0_to_be_in_scope_but_it_could_not_be_found_2874", "This JSX tag requires '{0}' to be in scope, but it could not be found."), + This_JSX_tag_requires_the_module_path_0_to_exist_but_none_could_be_found_Make_sure_you_have_types_for_the_appropriate_package_installed: diag(2875, 1 /* Error */, "This_JSX_tag_requires_the_module_path_0_to_exist_but_none_could_be_found_Make_sure_you_have_types_fo_2875", "This JSX tag requires the module path '{0}' to exist, but none could be found. Make sure you have types for the appropriate package installed."), + This_relative_import_path_is_unsafe_to_rewrite_because_it_looks_like_a_file_name_but_actually_resolves_to_0: diag(2876, 1 /* Error */, "This_relative_import_path_is_unsafe_to_rewrite_because_it_looks_like_a_file_name_but_actually_resolv_2876", 'This relative import path is unsafe to rewrite because it looks like a file name, but actually resolves to "{0}".'), + This_import_uses_a_0_extension_to_resolve_to_an_input_TypeScript_file_but_will_not_be_rewritten_during_emit_because_it_is_not_a_relative_path: diag(2877, 1 /* Error */, "This_import_uses_a_0_extension_to_resolve_to_an_input_TypeScript_file_but_will_not_be_rewritten_duri_2877", "This import uses a '{0}' extension to resolve to an input TypeScript file, but will not be rewritten during emit because it is not a relative path."), + This_import_path_is_unsafe_to_rewrite_because_it_resolves_to_another_project_and_the_relative_path_between_the_projects_output_files_is_not_the_same_as_the_relative_path_between_its_input_files: diag(2878, 1 /* Error */, "This_import_path_is_unsafe_to_rewrite_because_it_resolves_to_another_project_and_the_relative_path_b_2878", "This import path is unsafe to rewrite because it resolves to another project, and the relative path between the projects' output files is not the same as the relative path between its input files."), + Using_JSX_fragments_requires_fragment_factory_0_to_be_in_scope_but_it_could_not_be_found: diag(2879, 1 /* Error */, "Using_JSX_fragments_requires_fragment_factory_0_to_be_in_scope_but_it_could_not_be_found_2879", "Using JSX fragments requires fragment factory '{0}' to be in scope, but it could not be found."), + Import_declaration_0_is_using_private_name_1: diag(4e3, 1 /* 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: diag(4002, 1 /* 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: diag(4004, 1 /* 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: diag(4006, 1 /* 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: diag(4008, 1 /* 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: diag(4010, 1 /* 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: diag(4012, 1 /* 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: diag(4014, 1 /* 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: diag(4016, 1 /* 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: diag(4019, 1 /* 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: diag(4020, 1 /* 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: diag(4021, 1 /* 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: diag(4022, 1 /* 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: diag(4023, 1 /* 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: diag(4024, 1 /* 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: diag(4025, 1 /* 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: diag(4026, 1 /* 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: diag(4027, 1 /* 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: diag(4028, 1 /* 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: diag(4029, 1 /* 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: diag(4030, 1 /* 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: diag(4031, 1 /* 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: diag(4032, 1 /* 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: diag(4033, 1 /* 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: diag(4034, 1 /* 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: diag(4035, 1 /* 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: diag(4036, 1 /* 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: diag(4037, 1 /* 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: diag(4038, 1 /* 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: diag(4039, 1 /* 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: diag(4040, 1 /* 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: diag(4041, 1 /* 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: diag(4042, 1 /* 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: diag(4043, 1 /* 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: diag(4044, 1 /* 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: diag(4045, 1 /* 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: diag(4046, 1 /* 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: diag(4047, 1 /* 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: diag(4048, 1 /* 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: diag(4049, 1 /* 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: diag(4050, 1 /* 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: diag(4051, 1 /* 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: diag(4052, 1 /* 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: diag(4053, 1 /* 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: diag(4054, 1 /* 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: diag(4055, 1 /* 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: diag(4056, 1 /* 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: diag(4057, 1 /* 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: diag(4058, 1 /* 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: diag(4059, 1 /* 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: diag(4060, 1 /* 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: diag(4061, 1 /* 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: diag(4062, 1 /* 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: diag(4063, 1 /* 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: diag(4064, 1 /* 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: diag(4065, 1 /* 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: diag(4066, 1 /* 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: diag(4067, 1 /* 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: diag(4068, 1 /* 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: diag(4069, 1 /* 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: diag(4070, 1 /* 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: diag(4071, 1 /* 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: diag(4072, 1 /* 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: diag(4073, 1 /* 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: diag(4074, 1 /* 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: diag(4075, 1 /* 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: diag(4076, 1 /* 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: diag(4077, 1 /* 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: diag(4078, 1 /* 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: diag(4081, 1 /* 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: diag(4082, 1 /* 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: diag(4083, 1 /* 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: diag(4084, 1 /* 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}."), + Extends_clause_for_inferred_type_0_has_or_is_using_private_name_1: diag(4085, 1 /* Error */, "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}'."), + Parameter_0_of_index_signature_from_exported_interface_has_or_is_using_name_1_from_private_module_2: diag(4091, 1 /* 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: diag(4092, 1 /* 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_anonymous_class_type_may_not_be_private_or_protected: diag(4094, 1 /* Error */, "Property_0_of_exported_anonymous_class_type_may_not_be_private_or_protected_4094", "Property '{0}' of exported anonymous class type 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: diag(4095, 1 /* 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: diag(4096, 1 /* 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: diag(4097, 1 /* 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: diag(4098, 1 /* 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: diag(4099, 1 /* 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: diag(4100, 1 /* 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: diag(4101, 1 /* 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: diag(4102, 1 /* 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: diag(4103, 1 /* 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: diag(4104, 1 /* 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: diag(4105, 1 /* 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: diag(4106, 1 /* 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: diag(4107, 1 /* 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: diag(4108, 1 /* 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: diag(4109, 1 /* Error */, "Type_arguments_for_0_circularly_reference_themselves_4109", "Type arguments for '{0}' circularly reference themselves."), + Tuple_type_arguments_circularly_reference_themselves: diag(4110, 1 /* 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: diag(4111, 1 /* 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: diag(4112, 1 /* 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: diag(4113, 1 /* 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: diag(4114, 1 /* 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: diag(4115, 1 /* 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: diag(4116, 1 /* 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: diag(4117, 1 /* 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: diag(4118, 1 /* 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: diag(4119, 1 /* 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: diag(4120, 1 /* 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: diag(4121, 1 /* 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: diag(4122, 1 /* 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: diag(4123, 1 /* 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: diag(4124, 1 /* 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'."), + Each_declaration_of_0_1_differs_in_its_value_where_2_was_expected_but_3_was_given: diag(4125, 1 /* Error */, "Each_declaration_of_0_1_differs_in_its_value_where_2_was_expected_but_3_was_given_4125", "Each declaration of '{0}.{1}' differs in its value, where '{2}' was expected but '{3}' was given."), + One_value_of_0_1_is_the_string_2_and_the_other_is_assumed_to_be_an_unknown_numeric_value: diag(4126, 1 /* Error */, "One_value_of_0_1_is_the_string_2_and_the_other_is_assumed_to_be_an_unknown_numeric_value_4126", "One value of '{0}.{1}' is the string '{2}', and the other is assumed to be an unknown numeric value."), + The_current_host_does_not_support_the_0_option: diag(5001, 1 /* 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: diag(5009, 1 /* 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: diag(5010, 1 /* 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: diag(5012, 1 /* Error */, "Cannot_read_file_0_Colon_1_5012", "Cannot read file '{0}': {1}."), + Unknown_compiler_option_0: diag(5023, 1 /* Error */, "Unknown_compiler_option_0_5023", "Unknown compiler option '{0}'."), + Compiler_option_0_requires_a_value_of_type_1: diag(5024, 1 /* 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: diag(5025, 1 /* 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: diag(5033, 1 /* 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: diag(5042, 1 /* 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: diag(5047, 1 /* 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_can_only_be_used_when_either_option_inlineSourceMap_or_option_sourceMap_is_provided: diag(5051, 1 /* 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: diag(5052, 1 /* 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: diag(5053, 1 /* 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: diag(5054, 1 /* 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: diag(5055, 1 /* 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: diag(5056, 1 /* 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: diag(5057, 1 /* 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: diag(5058, 1 /* 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: diag(5059, 1 /* 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: diag(5061, 1 /* 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: diag(5062, 1 /* 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: diag(5063, 1 /* 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: diag(5064, 1 /* 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: diag(5065, 1 /* 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: diag(5066, 1 /* 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: diag(5067, 1 /* 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: diag(5068, 1 /* 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: diag(5069, 1 /* 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_when_moduleResolution_is_set_to_classic: diag(5070, 1 /* Error */, "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_cannot_be_specified_when_module_is_set_to_none_system_or_umd: diag(5071, 1 /* Error */, "Option_resolveJsonModule_cannot_be_specified_when_module_is_set_to_none_system_or_umd_5071", "Option '--resolveJsonModule' cannot be specified when 'module' is set to 'none', 'system', or 'umd'."), + Unknown_build_option_0: diag(5072, 1 /* Error */, "Unknown_build_option_0_5072", "Unknown build option '{0}'."), + Build_option_0_requires_a_value_of_type_1: diag(5073, 1 /* 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: diag(5074, 1 /* 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: diag(5075, 1 /* 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: diag(5076, 1 /* 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: diag(5077, 1 /* Error */, "Unknown_build_option_0_Did_you_mean_1_5077", "Unknown build option '{0}'. Did you mean '{1}'?"), + Unknown_watch_option_0: diag(5078, 1 /* Error */, "Unknown_watch_option_0_5078", "Unknown watch option '{0}'."), + Unknown_watch_option_0_Did_you_mean_1: diag(5079, 1 /* 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: diag(5080, 1 /* 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: diag(5081, 1 /* 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: diag(5082, 1 /* 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: diag(5083, 1 /* Error */, "Cannot_read_file_0_5083", "Cannot read file '{0}'."), + A_tuple_member_cannot_be_both_optional_and_rest: diag(5085, 1 /* 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: diag(5086, 1 /* 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: diag(5087, 1 /* 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: diag(5088, 1 /* 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: diag(5089, 1 /* 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: diag(5090, 1 /* 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_0_is_enabled: diag(5091, 1 /* Error */, "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: diag(5092, 1 /* 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: diag(5093, 1 /* 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: diag(5094, 1 /* Error */, "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_preserve_or_to_es2015_or_later: diag(5095, 1 /* Error */, "Option_0_can_only_be_used_when_module_is_set_to_preserve_or_to_es2015_or_later_5095", "Option '{0}' can only be used when 'module' is set to 'preserve' or to 'es2015' or later."), + Option_allowImportingTsExtensions_can_only_be_used_when_either_noEmit_or_emitDeclarationOnly_is_set: diag(5096, 1 /* Error */, "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: diag(5097, 1 /* Error */, "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: diag(5098, 1 /* Error */, "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: diag(5101, 1 /* Error */, "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: diag(5102, 1 /* Error */, "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: diag(5103, 1 /* Error */, "Invalid_value_for_ignoreDeprecations_5103", "Invalid value for '--ignoreDeprecations'."), + Option_0_is_redundant_and_cannot_be_specified_with_option_1: diag(5104, 1 /* Error */, "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: diag(5105, 1 /* Error */, "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: diag(5106, 3 /* Message */, "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: diag(5107, 1 /* Error */, "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: diag(5108, 1 /* Error */, "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."), + Option_moduleResolution_must_be_set_to_0_or_left_unspecified_when_option_module_is_set_to_1: diag(5109, 1 /* Error */, "Option_moduleResolution_must_be_set_to_0_or_left_unspecified_when_option_module_is_set_to_1_5109", "Option 'moduleResolution' must be set to '{0}' (or left unspecified) when option 'module' is set to '{1}'."), + Option_module_must_be_set_to_0_when_option_moduleResolution_is_set_to_1: diag(5110, 1 /* Error */, "Option_module_must_be_set_to_0_when_option_moduleResolution_is_set_to_1_5110", "Option 'module' must be set to '{0}' when option 'moduleResolution' is set to '{1}'."), + Generates_a_sourcemap_for_each_corresponding_d_ts_file: diag(6e3, 3 /* 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: diag(6001, 3 /* Message */, "Concatenate_and_emit_output_to_single_file_6001", "Concatenate and emit output to single file."), + Generates_corresponding_d_ts_file: diag(6002, 3 /* 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: diag(6004, 3 /* 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: diag(6005, 3 /* Message */, "Watch_input_files_6005", "Watch input files."), + Redirect_output_structure_to_the_directory: diag(6006, 3 /* Message */, "Redirect_output_structure_to_the_directory_6006", "Redirect output structure to the directory."), + Do_not_erase_const_enum_declarations_in_generated_code: diag(6007, 3 /* 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: diag(6008, 3 /* 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: diag(6009, 3 /* Message */, "Do_not_emit_comments_to_output_6009", "Do not emit comments to output."), + Do_not_emit_outputs: diag(6010, 3 /* 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: diag(6011, 3 /* 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: diag(6012, 3 /* Message */, "Skip_type_checking_of_declaration_files_6012", "Skip type checking of declaration files."), + Do_not_resolve_the_real_path_of_symlinks: diag(6013, 3 /* Message */, "Do_not_resolve_the_real_path_of_symlinks_6013", "Do not resolve the real path of symlinks."), + Only_emit_d_ts_declaration_files: diag(6014, 3 /* Message */, "Only_emit_d_ts_declaration_files_6014", "Only emit '.d.ts' declaration files."), + Specify_ECMAScript_target_version: diag(6015, 3 /* Message */, "Specify_ECMAScript_target_version_6015", "Specify ECMAScript target version."), + Specify_module_code_generation: diag(6016, 3 /* Message */, "Specify_module_code_generation_6016", "Specify module code generation."), + Print_this_message: diag(6017, 3 /* Message */, "Print_this_message_6017", "Print this message."), + Print_the_compiler_s_version: diag(6019, 3 /* 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: diag(6020, 3 /* 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: diag(6023, 3 /* Message */, "Syntax_Colon_0_6023", "Syntax: {0}"), + options: diag(6024, 3 /* Message */, "options_6024", "options"), + file: diag(6025, 3 /* Message */, "file_6025", "file"), + Examples_Colon_0: diag(6026, 3 /* Message */, "Examples_Colon_0_6026", "Examples: {0}"), + Options_Colon: diag(6027, 3 /* Message */, "Options_Colon_6027", "Options:"), + Version_0: diag(6029, 3 /* Message */, "Version_0_6029", "Version {0}"), + Insert_command_line_options_and_files_from_a_file: diag(6030, 3 /* 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: diag(6031, 3 /* Message */, "Starting_compilation_in_watch_mode_6031", "Starting compilation in watch mode..."), + File_change_detected_Starting_incremental_compilation: diag(6032, 3 /* Message */, "File_change_detected_Starting_incremental_compilation_6032", "File change detected. Starting incremental compilation..."), + KIND: diag(6034, 3 /* Message */, "KIND_6034", "KIND"), + FILE: diag(6035, 3 /* Message */, "FILE_6035", "FILE"), + VERSION: diag(6036, 3 /* Message */, "VERSION_6036", "VERSION"), + LOCATION: diag(6037, 3 /* Message */, "LOCATION_6037", "LOCATION"), + DIRECTORY: diag(6038, 3 /* Message */, "DIRECTORY_6038", "DIRECTORY"), + STRATEGY: diag(6039, 3 /* Message */, "STRATEGY_6039", "STRATEGY"), + FILE_OR_DIRECTORY: diag(6040, 3 /* Message */, "FILE_OR_DIRECTORY_6040", "FILE OR DIRECTORY"), + Errors_Files: diag(6041, 3 /* Message */, "Errors_Files_6041", "Errors Files"), + Generates_corresponding_map_file: diag(6043, 3 /* Message */, "Generates_corresponding_map_file_6043", "Generates corresponding '.map' file."), + Compiler_option_0_expects_an_argument: diag(6044, 1 /* Error */, "Compiler_option_0_expects_an_argument_6044", "Compiler option '{0}' expects an argument."), + Unterminated_quoted_string_in_response_file_0: diag(6045, 1 /* Error */, "Unterminated_quoted_string_in_response_file_0_6045", "Unterminated quoted string in response file '{0}'."), + Argument_for_0_option_must_be_Colon_1: diag(6046, 1 /* 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: diag(6048, 1 /* Error */, "Locale_must_be_of_the_form_language_or_language_territory_For_example_0_or_1_6048", "Locale must be of the form or -. For example '{0}' or '{1}'."), + Unable_to_open_file_0: diag(6050, 1 /* Error */, "Unable_to_open_file_0_6050", "Unable to open file '{0}'."), + Corrupted_locale_file_0: diag(6051, 1 /* Error */, "Corrupted_locale_file_0_6051", "Corrupted locale file {0}."), + Raise_error_on_expressions_and_declarations_with_an_implied_any_type: diag(6052, 3 /* 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: diag(6053, 1 /* Error */, "File_0_not_found_6053", "File '{0}' not found."), + File_0_has_an_unsupported_extension_The_only_supported_extensions_are_1: diag(6054, 1 /* 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: diag(6055, 3 /* 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: diag(6056, 3 /* 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: diag(6058, 3 /* 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: diag(6059, 1 /* 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: diag(6060, 3 /* 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: diag(6061, 3 /* Message */, "NEWLINE_6061", "NEWLINE"), + Option_0_can_only_be_specified_in_tsconfig_json_file_or_set_to_null_on_command_line: diag(6064, 1 /* 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: diag(6065, 3 /* Message */, "Enables_experimental_support_for_ES7_decorators_6065", "Enables experimental support for ES7 decorators."), + Enables_experimental_support_for_emitting_type_metadata_for_decorators: diag(6066, 3 /* Message */, "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: diag(6070, 3 /* 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: diag(6071, 3 /* Message */, "Successfully_created_a_tsconfig_json_file_6071", "Successfully created a tsconfig.json file."), + Suppress_excess_property_checks_for_object_literals: diag(6072, 3 /* 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: diag(6073, 3 /* 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: diag(6074, 3 /* 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: diag(6075, 3 /* 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: diag(6076, 3 /* 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: diag(6077, 3 /* Message */, "Do_not_report_errors_on_unreachable_code_6077", "Do not report errors on unreachable code."), + Disallow_inconsistently_cased_references_to_the_same_file: diag(6078, 3 /* 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: diag(6079, 3 /* Message */, "Specify_library_files_to_be_included_in_the_compilation_6079", "Specify library files to be included in the compilation."), + Specify_JSX_code_generation: diag(6080, 3 /* Message */, "Specify_JSX_code_generation_6080", "Specify JSX code generation."), + Only_amd_and_system_modules_are_supported_alongside_0: diag(6082, 1 /* 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: diag(6083, 3 /* 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: diag(6084, 3 /* 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: diag(6085, 3 /* Message */, "Enable_tracing_of_the_name_resolution_process_6085", "Enable tracing of the name resolution process."), + Resolving_module_0_from_1: diag(6086, 3 /* Message */, "Resolving_module_0_from_1_6086", "======== Resolving module '{0}' from '{1}'. ========"), + Explicitly_specified_module_resolution_kind_Colon_0: diag(6087, 3 /* Message */, "Explicitly_specified_module_resolution_kind_Colon_0_6087", "Explicitly specified module resolution kind: '{0}'."), + Module_resolution_kind_is_not_specified_using_0: diag(6088, 3 /* 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: diag(6089, 3 /* Message */, "Module_name_0_was_successfully_resolved_to_1_6089", "======== Module name '{0}' was successfully resolved to '{1}'. ========"), + Module_name_0_was_not_resolved: diag(6090, 3 /* 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: diag(6091, 3 /* 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: diag(6092, 3 /* Message */, "Module_name_0_matched_pattern_1_6092", "Module name '{0}', matched pattern '{1}'."), + Trying_substitution_0_candidate_module_location_Colon_1: diag(6093, 3 /* 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: diag(6094, 3 /* 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_types_Colon_1: diag(6095, 3 /* Message */, "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: diag(6096, 3 /* Message */, "File_0_does_not_exist_6096", "File '{0}' does not exist."), + File_0_exists_use_it_as_a_name_resolution_result: diag(6097, 3 /* Message */, "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: diag(6098, 3 /* Message */, "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: diag(6099, 3 /* Message */, "Found_package_json_at_0_6099", "Found 'package.json' at '{0}'."), + package_json_does_not_have_a_0_field: diag(6100, 3 /* 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: diag(6101, 3 /* 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: diag(6102, 3 /* 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: diag(6104, 3 /* 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: diag(6105, 3 /* 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: diag(6106, 3 /* 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: diag(6107, 3 /* 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: diag(6108, 3 /* 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: diag(6109, 3 /* 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: diag(6110, 3 /* Message */, "Trying_other_entries_in_rootDirs_6110", "Trying other entries in 'rootDirs'."), + Module_resolution_using_rootDirs_has_failed: diag(6111, 3 /* Message */, "Module_resolution_using_rootDirs_has_failed_6111", "Module resolution using 'rootDirs' has failed."), + Do_not_emit_use_strict_directives_in_module_output: diag(6112, 3 /* Message */, "Do_not_emit_use_strict_directives_in_module_output_6112", "Do not emit 'use strict' directives in module output."), + Enable_strict_null_checks: diag(6113, 3 /* Message */, "Enable_strict_null_checks_6113", "Enable strict null checks."), + Unknown_option_excludes_Did_you_mean_exclude: diag(6114, 1 /* 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: diag(6115, 3 /* 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: diag(6116, 3 /* 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: diag(6119, 3 /* 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: diag(6120, 3 /* Message */, "Type_reference_directive_0_was_not_resolved_6120", "======== Type reference directive '{0}' was not resolved. ========"), + Resolving_with_primary_search_path_0: diag(6121, 3 /* Message */, "Resolving_with_primary_search_path_0_6121", "Resolving with primary search path '{0}'."), + Root_directory_cannot_be_determined_skipping_primary_search_paths: diag(6122, 3 /* 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: diag(6123, 3 /* 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: diag(6124, 3 /* 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: diag(6125, 3 /* 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: diag(6126, 3 /* 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: diag(6127, 3 /* 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: diag(6128, 3 /* 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: diag(6130, 3 /* 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: diag(6131, 1 /* 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: diag(6132, 3 /* 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: diag( + 6133, + 1 /* Error */, + "_0_is_declared_but_its_value_is_never_read_6133", + "'{0}' is declared but its value is never read.", + /*reportsUnnecessary*/ + true + ), + Report_errors_on_unused_locals: diag(6134, 3 /* Message */, "Report_errors_on_unused_locals_6134", "Report errors on unused locals."), + Report_errors_on_unused_parameters: diag(6135, 3 /* 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: diag(6136, 3 /* 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: diag(6137, 1 /* 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: diag( + 6138, + 1 /* Error */, + "Property_0_is_declared_but_its_value_is_never_read_6138", + "Property '{0}' is declared but its value is never read.", + /*reportsUnnecessary*/ + true + ), + Import_emit_helpers_from_tslib: diag(6139, 3 /* 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: diag(6140, 1 /* 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: diag(6141, 3 /* 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: diag(6142, 1 /* 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: diag(6144, 3 /* 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}'."), + Specify_the_JSX_factory_function_to_use_when_targeting_react_JSX_emit_e_g_React_createElement_or_h: diag(6146, 3 /* 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: diag(6147, 3 /* 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: diag(6148, 3 /* 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: diag(6149, 3 /* Message */, "Show_diagnostic_information_6149", "Show diagnostic information."), + Show_verbose_diagnostic_information: diag(6150, 3 /* Message */, "Show_verbose_diagnostic_information_6150", "Show verbose diagnostic information."), + Emit_a_single_file_with_source_maps_instead_of_having_a_separate_file: diag(6151, 3 /* 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: diag(6152, 3 /* 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: diag(6153, 3 /* 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: diag(6154, 3 /* 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: diag(6155, 3 /* 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: diag(6156, 3 /* 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: diag(6157, 3 /* 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: diag(6158, 3 /* 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: diag(6159, 3 /* 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: diag(6160, 3 /* 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: diag(6161, 3 /* Message */, "List_of_folders_to_include_type_definitions_from_6161", "List of folders to include type definitions from."), + Disable_size_limitations_on_JavaScript_projects: diag(6162, 3 /* Message */, "Disable_size_limitations_on_JavaScript_projects_6162", "Disable size limitations on JavaScript projects."), + The_character_set_of_the_input_files: diag(6163, 3 /* Message */, "The_character_set_of_the_input_files_6163", "The character set of the input files."), + Skipping_module_0_that_looks_like_an_absolute_URI_target_file_types_Colon_1: diag(6164, 3 /* Message */, "Skipping_module_0_that_looks_like_an_absolute_URI_target_file_types_Colon_1_6164", "Skipping module '{0}' that looks like an absolute URI, target file types: {1}."), + Do_not_truncate_error_messages: diag(6165, 3 /* Message */, "Do_not_truncate_error_messages_6165", "Do not truncate error messages."), + Output_directory_for_generated_declaration_files: diag(6166, 3 /* 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: diag(6167, 3 /* 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: diag(6168, 3 /* 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: diag(6169, 3 /* Message */, "Show_all_compiler_options_6169", "Show all compiler options."), + Deprecated_Use_outFile_instead_Concatenate_and_emit_output_to_single_file: diag(6170, 3 /* 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: diag(6171, 3 /* Message */, "Command_line_Options_6171", "Command-line Options"), + Provide_full_support_for_iterables_in_for_of_spread_and_destructuring_when_targeting_ES5: diag(6179, 3 /* Message */, "Provide_full_support_for_iterables_in_for_of_spread_and_destructuring_when_targeting_ES5_6179", "Provide full support for iterables in 'for-of', spread, and destructuring when targeting 'ES5'."), + Enable_all_strict_type_checking_options: diag(6180, 3 /* Message */, "Enable_all_strict_type_checking_options_6180", "Enable all strict type-checking options."), + Scoped_package_detected_looking_in_0: diag(6182, 3 /* 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: diag(6183, 3 /* 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: diag(6184, 3 /* 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: diag(6186, 3 /* Message */, "Enable_strict_checking_of_function_types_6186", "Enable strict checking of function types."), + Enable_strict_checking_of_property_initialization_in_classes: diag(6187, 3 /* Message */, "Enable_strict_checking_of_property_initialization_in_classes_6187", "Enable strict checking of property initialization in classes."), + Numeric_separators_are_not_allowed_here: diag(6188, 1 /* Error */, "Numeric_separators_are_not_allowed_here_6188", "Numeric separators are not allowed here."), + Multiple_consecutive_numeric_separators_are_not_permitted: diag(6189, 1 /* 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: diag(6191, 3 /* 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: diag( + 6192, + 1 /* Error */, + "All_imports_in_import_declaration_are_unused_6192", + "All imports in import declaration are unused.", + /*reportsUnnecessary*/ + true + ), + Found_1_error_Watching_for_file_changes: diag(6193, 3 /* Message */, "Found_1_error_Watching_for_file_changes_6193", "Found 1 error. Watching for file changes."), + Found_0_errors_Watching_for_file_changes: diag(6194, 3 /* 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: diag(6195, 3 /* 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: diag( + 6196, + 1 /* Error */, + "_0_is_declared_but_never_used_6196", + "'{0}' is declared but never used.", + /*reportsUnnecessary*/ + true + ), + Include_modules_imported_with_json_extension: diag(6197, 3 /* Message */, "Include_modules_imported_with_json_extension_6197", "Include modules imported with '.json' extension"), + All_destructured_elements_are_unused: diag( + 6198, + 1 /* Error */, + "All_destructured_elements_are_unused_6198", + "All destructured elements are unused.", + /*reportsUnnecessary*/ + true + ), + All_variables_are_unused: diag( + 6199, + 1 /* Error */, + "All_variables_are_unused_6199", + "All variables are unused.", + /*reportsUnnecessary*/ + true + ), + Definitions_of_the_following_identifiers_conflict_with_those_in_another_file_Colon_0: diag(6200, 1 /* 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: diag(6201, 3 /* Message */, "Conflicts_are_in_this_file_6201", "Conflicts are in this file."), + Project_references_may_not_form_a_circular_graph_Cycle_detected_Colon_0: diag(6202, 1 /* 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: diag(6203, 3 /* Message */, "_0_was_also_declared_here_6203", "'{0}' was also declared here."), + and_here: diag(6204, 3 /* Message */, "and_here_6204", "and here."), + All_type_parameters_are_unused: diag(6205, 1 /* Error */, "All_type_parameters_are_unused_6205", "All type parameters are unused."), + package_json_has_a_typesVersions_field_with_version_specific_path_mappings: diag(6206, 3 /* 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: diag(6207, 3 /* 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: diag(6208, 3 /* 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: diag(6209, 3 /* 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: diag(6210, 3 /* 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: diag(6211, 3 /* 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: diag(6212, 3 /* 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: diag(6213, 3 /* 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: diag(6214, 3 /* 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: diag(6215, 3 /* Message */, "Using_compiler_options_of_project_reference_redirect_0_6215", "Using compiler options of project reference redirect '{0}'."), + Found_1_error: diag(6216, 3 /* Message */, "Found_1_error_6216", "Found 1 error."), + Found_0_errors: diag(6217, 3 /* Message */, "Found_0_errors_6217", "Found {0} errors."), + Module_name_0_was_successfully_resolved_to_1_with_Package_ID_2: diag(6218, 3 /* 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: diag(6219, 3 /* 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: diag(6220, 3 /* 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: diag(6221, 3 /* 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: diag(6222, 3 /* Message */, "Emit_class_fields_with_Define_instead_of_Set_6222", "Emit class fields with Define instead of Set."), + Generates_a_CPU_profile: diag(6223, 3 /* Message */, "Generates_a_CPU_profile_6223", "Generates a CPU profile."), + Disable_solution_searching_for_this_project: diag(6224, 3 /* 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: diag(6225, 3 /* 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: diag(6226, 3 /* 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: diag(6227, 3 /* 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: diag(6229, 1 /* 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: diag(6230, 1 /* 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: diag(6231, 1 /* 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: diag(6232, 1 /* 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: diag(6233, 1 /* 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: diag(6234, 1 /* 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: diag(6235, 3 /* Message */, "Disable_loading_referenced_projects_6235", "Disable loading referenced projects."), + Arguments_for_the_rest_parameter_0_were_not_provided: diag(6236, 1 /* 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: diag(6237, 3 /* 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: diag(6238, 1 /* 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: diag(6239, 3 /* 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: diag(6240, 3 /* 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: diag(6241, 3 /* 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: diag(6242, 3 /* 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: diag(6243, 3 /* Message */, "Interpret_optional_property_types_as_written_rather_than_adding_undefined_6243", "Interpret optional property types as written, rather than adding 'undefined'."), + Modules: diag(6244, 3 /* Message */, "Modules_6244", "Modules"), + File_Management: diag(6245, 3 /* Message */, "File_Management_6245", "File Management"), + Emit: diag(6246, 3 /* Message */, "Emit_6246", "Emit"), + JavaScript_Support: diag(6247, 3 /* Message */, "JavaScript_Support_6247", "JavaScript Support"), + Type_Checking: diag(6248, 3 /* Message */, "Type_Checking_6248", "Type Checking"), + Editor_Support: diag(6249, 3 /* Message */, "Editor_Support_6249", "Editor Support"), + Watch_and_Build_Modes: diag(6250, 3 /* Message */, "Watch_and_Build_Modes_6250", "Watch and Build Modes"), + Compiler_Diagnostics: diag(6251, 3 /* Message */, "Compiler_Diagnostics_6251", "Compiler Diagnostics"), + Interop_Constraints: diag(6252, 3 /* Message */, "Interop_Constraints_6252", "Interop Constraints"), + Backwards_Compatibility: diag(6253, 3 /* Message */, "Backwards_Compatibility_6253", "Backwards Compatibility"), + Language_and_Environment: diag(6254, 3 /* Message */, "Language_and_Environment_6254", "Language and Environment"), + Projects: diag(6255, 3 /* Message */, "Projects_6255", "Projects"), + Output_Formatting: diag(6256, 3 /* Message */, "Output_Formatting_6256", "Output Formatting"), + Completeness: diag(6257, 3 /* Message */, "Completeness_6257", "Completeness"), + _0_should_be_set_inside_the_compilerOptions_object_of_the_config_json_file: diag(6258, 1 /* 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"), + Found_1_error_in_0: diag(6259, 3 /* Message */, "Found_1_error_in_0_6259", "Found 1 error in {0}"), + Found_0_errors_in_the_same_file_starting_at_Colon_1: diag(6260, 3 /* Message */, "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: diag(6261, 3 /* Message */, "Found_0_errors_in_1_files_6261", "Found {0} errors in {1} files."), + File_name_0_has_a_1_extension_looking_up_2_instead: diag(6262, 3 /* Message */, "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: diag(6263, 1 /* Error */, "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: diag(6264, 3 /* Message */, "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."), + Resolving_type_reference_directive_for_program_that_specifies_custom_typeRoots_skipping_lookup_in_node_modules_folder: diag(6265, 3 /* Message */, "Resolving_type_reference_directive_for_program_that_specifies_custom_typeRoots_skipping_lookup_in_no_6265", "Resolving type reference directive for program that specifies custom typeRoots, skipping lookup in 'node_modules' folder."), + Option_0_can_only_be_specified_on_command_line: diag(6266, 1 /* Error */, "Option_0_can_only_be_specified_on_command_line_6266", "Option '{0}' can only be specified on command line."), + Directory_0_has_no_containing_package_json_scope_Imports_will_not_resolve: diag(6270, 3 /* 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: diag(6271, 3 /* 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: diag(6272, 3 /* 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: diag(6273, 3 /* 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: diag(6274, 3 /* 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: diag(6275, 3 /* 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: diag(6276, 3 /* 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}'."), + Resolution_of_non_relative_name_failed_trying_with_modern_Node_resolution_features_disabled_to_see_if_npm_library_needs_configuration_update: diag(6277, 3 /* Message */, "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: diag(6278, 3 /* Message */, "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.`), + Resolution_of_non_relative_name_failed_trying_with_moduleResolution_bundler_to_see_if_project_may_need_configuration_update: diag(6279, 3 /* Message */, "Resolution_of_non_relative_name_failed_trying_with_moduleResolution_bundler_to_see_if_project_may_ne_6279", "Resolution of non-relative name failed; trying with '--moduleResolution bundler' to see if project may need configuration update."), + There_are_types_at_0_but_this_result_could_not_be_resolved_under_your_current_moduleResolution_setting_Consider_updating_to_node16_nodenext_or_bundler: diag(6280, 3 /* Message */, "There_are_types_at_0_but_this_result_could_not_be_resolved_under_your_current_moduleResolution_setti_6280", "There are types at '{0}', but this result could not be resolved under your current 'moduleResolution' setting. Consider updating to 'node16', 'nodenext', or 'bundler'."), + package_json_has_a_peerDependencies_field: diag(6281, 3 /* Message */, "package_json_has_a_peerDependencies_field_6281", "'package.json' has a 'peerDependencies' field."), + Found_peerDependency_0_with_1_version: diag(6282, 3 /* Message */, "Found_peerDependency_0_with_1_version_6282", "Found peerDependency '{0}' with '{1}' version."), + Failed_to_find_peerDependency_0: diag(6283, 3 /* Message */, "Failed_to_find_peerDependency_0_6283", "Failed to find peerDependency '{0}'."), + Enable_project_compilation: diag(6302, 3 /* Message */, "Enable_project_compilation_6302", "Enable project compilation"), + Composite_projects_may_not_disable_declaration_emit: diag(6304, 1 /* 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: diag(6305, 1 /* 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: diag(6306, 1 /* 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: diag(6307, 1 /* 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."), + Referenced_project_0_may_not_disable_emit: diag(6310, 1 /* Error */, "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: diag(6350, 3 /* Message */, "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: diag(6351, 3 /* Message */, "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: diag(6352, 3 /* 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: diag(6353, 3 /* 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: diag(6354, 3 /* 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: diag(6355, 3 /* Message */, "Projects_in_this_build_Colon_0_6355", "Projects in this build: {0}"), + A_non_dry_build_would_delete_the_following_files_Colon_0: diag(6356, 3 /* 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: diag(6357, 3 /* Message */, "A_non_dry_build_would_build_project_0_6357", "A non-dry build would build project '{0}'"), + Building_project_0: diag(6358, 3 /* Message */, "Building_project_0_6358", "Building project '{0}'..."), + Updating_output_timestamps_of_project_0: diag(6359, 3 /* Message */, "Updating_output_timestamps_of_project_0_6359", "Updating output timestamps of project '{0}'..."), + Project_0_is_up_to_date: diag(6361, 3 /* 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: diag(6362, 3 /* 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: diag(6363, 3 /* 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: diag(6364, 3 /* 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: diag(6365, 3 /* 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: diag(6367, 3 /* 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: diag(6369, 1 /* 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: diag(6370, 1 /* Error */, "Options_0_and_1_cannot_be_combined_6370", "Options '{0}' and '{1}' cannot be combined."), + Updating_unchanged_output_timestamps_of_project_0: diag(6371, 3 /* Message */, "Updating_unchanged_output_timestamps_of_project_0_6371", "Updating unchanged output timestamps of project '{0}'..."), + A_non_dry_build_would_update_timestamps_for_output_of_project_0: diag(6374, 3 /* 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}'"), + Cannot_write_file_0_because_it_will_overwrite_tsbuildinfo_file_generated_by_referenced_project_1: diag(6377, 1 /* 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}'"), + Composite_projects_may_not_disable_incremental_compilation: diag(6379, 1 /* Error */, "Composite_projects_may_not_disable_incremental_compilation_6379", "Composite projects may not disable incremental compilation."), + Specify_file_to_store_incremental_compilation_information: diag(6380, 3 /* 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: diag(6381, 3 /* 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: diag(6382, 3 /* 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: diag(6383, 3 /* 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: diag(6384, 3 /* 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: diag( + 6385, + 2 /* Suggestion */, + "_0_is_deprecated_6385", + "'{0}' is deprecated.", + /*reportsUnnecessary*/ + void 0, + /*elidedInCompatabilityPyramid*/ + void 0, + /*reportsDeprecated*/ + true + ), + Performance_timings_for_diagnostics_or_extendedDiagnostics_are_not_available_in_this_session_A_native_implementation_of_the_Web_Performance_API_could_not_be_found: diag(6386, 3 /* 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: diag( + 6387, + 2 /* Suggestion */, + "The_signature_0_of_1_is_deprecated_6387", + "The signature '{0}' of '{1}' is deprecated.", + /*reportsUnnecessary*/ + void 0, + /*elidedInCompatabilityPyramid*/ + void 0, + /*reportsDeprecated*/ + true + ), + Project_0_is_being_forcibly_rebuilt: diag(6388, 3 /* 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: diag(6389, 3 /* 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: diag(6390, 3 /* 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: diag(6391, 3 /* 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: diag(6392, 3 /* 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: diag(6393, 3 /* 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: diag(6394, 3 /* 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: diag(6395, 3 /* 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: diag(6396, 3 /* 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: diag(6397, 3 /* 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: diag(6398, 3 /* 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."), + Project_0_is_out_of_date_because_buildinfo_file_1_indicates_that_some_of_the_changes_were_not_emitted: diag(6399, 3 /* Message */, "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: diag(6400, 3 /* Message */, "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: diag(6401, 3 /* Message */, "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: diag(6402, 3 /* Message */, "Resolving_in_0_mode_with_conditions_1_6402", "Resolving in {0} mode with conditions {1}."), + Matched_0_condition_1: diag(6403, 3 /* Message */, "Matched_0_condition_1_6403", "Matched '{0}' condition '{1}'."), + Using_0_subpath_1_with_target_2: diag(6404, 3 /* Message */, "Using_0_subpath_1_with_target_2_6404", "Using '{0}' subpath '{1}' with target '{2}'."), + Saw_non_matching_condition_0: diag(6405, 3 /* Message */, "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: diag(6406, 3 /* Message */, "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: diag(6407, 3 /* Message */, "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: diag(6408, 3 /* Message */, "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: diag(6409, 3 /* Message */, "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: diag(6410, 3 /* Message */, "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: diag(6411, 3 /* Message */, "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: diag(6412, 3 /* Message */, "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: diag(6413, 3 /* Message */, "Entering_conditional_exports_6413", "Entering conditional exports."), + Resolved_under_condition_0: diag(6414, 3 /* Message */, "Resolved_under_condition_0_6414", "Resolved under condition '{0}'."), + Failed_to_resolve_under_condition_0: diag(6415, 3 /* Message */, "Failed_to_resolve_under_condition_0_6415", "Failed to resolve under condition '{0}'."), + Exiting_conditional_exports: diag(6416, 3 /* Message */, "Exiting_conditional_exports_6416", "Exiting conditional exports."), + Searching_all_ancestor_node_modules_directories_for_preferred_extensions_Colon_0: diag(6417, 3 /* Message */, "Searching_all_ancestor_node_modules_directories_for_preferred_extensions_Colon_0_6417", "Searching all ancestor node_modules directories for preferred extensions: {0}."), + Searching_all_ancestor_node_modules_directories_for_fallback_extensions_Colon_0: diag(6418, 3 /* Message */, "Searching_all_ancestor_node_modules_directories_for_fallback_extensions_Colon_0_6418", "Searching all ancestor node_modules directories for fallback extensions: {0}."), + Project_0_is_out_of_date_because_buildinfo_file_1_indicates_that_program_needs_to_report_errors: diag(6419, 3 /* Message */, "Project_0_is_out_of_date_because_buildinfo_file_1_indicates_that_program_needs_to_report_errors_6419", "Project '{0}' is out of date because buildinfo file '{1}' indicates that program needs to report errors."), + Project_0_is_out_of_date_because_1: diag(6420, 3 /* Message */, "Project_0_is_out_of_date_because_1_6420", "Project '{0}' is out of date because {1}."), + Rewrite_ts_tsx_mts_and_cts_file_extensions_in_relative_import_paths_to_their_JavaScript_equivalent_in_output_files: diag(6421, 3 /* Message */, "Rewrite_ts_tsx_mts_and_cts_file_extensions_in_relative_import_paths_to_their_JavaScript_equivalent_i_6421", "Rewrite '.ts', '.tsx', '.mts', and '.cts' file extensions in relative import paths to their JavaScript equivalent in output files."), + The_expected_type_comes_from_property_0_which_is_declared_here_on_type_1: diag(6500, 3 /* 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: diag(6501, 3 /* 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: diag(6502, 3 /* 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: diag(6503, 3 /* 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: diag(6504, 1 /* 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: diag(6505, 3 /* 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: diag(6506, 3 /* 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: diag(6600, 3 /* 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: diag(6601, 3 /* 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: diag(6602, 3 /* Message */, "Allow_accessing_UMD_globals_from_modules_6602", "Allow accessing UMD globals from modules."), + Disable_error_reporting_for_unreachable_code: diag(6603, 3 /* Message */, "Disable_error_reporting_for_unreachable_code_6603", "Disable error reporting for unreachable code."), + Disable_error_reporting_for_unused_labels: diag(6604, 3 /* Message */, "Disable_error_reporting_for_unused_labels_6604", "Disable error reporting for unused labels."), + Ensure_use_strict_is_always_emitted: diag(6605, 3 /* 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: diag(6606, 3 /* 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: diag(6607, 3 /* 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: diag(6608, 3 /* 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: diag(6609, 3 /* 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: diag(6611, 3 /* 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: diag(6612, 3 /* 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: diag(6613, 3 /* Message */, "Specify_the_output_directory_for_generated_declaration_files_6613", "Specify the output directory for generated declaration files."), + Create_sourcemaps_for_d_ts_files: diag(6614, 3 /* Message */, "Create_sourcemaps_for_d_ts_files_6614", "Create sourcemaps for d.ts files."), + Output_compiler_performance_information_after_building: diag(6615, 3 /* 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: diag(6616, 3 /* 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: diag(6617, 3 /* 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: diag(6618, 3 /* 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: diag(6619, 3 /* 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: diag(6620, 3 /* 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: diag(6621, 3 /* 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: diag(6622, 3 /* 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: diag(6623, 3 /* 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: diag(6624, 3 /* 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: diag(6625, 3 /* 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: diag(6626, 3 /* 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: diag(6627, 3 /* Message */, "Filters_results_from_the_include_option_6627", "Filters results from the `include` option."), + Remove_a_list_of_directories_from_the_watch_process: diag(6628, 3 /* 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: diag(6629, 3 /* 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_legacy_experimental_decorators: diag(6630, 3 /* Message */, "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: diag(6631, 3 /* 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: diag(6632, 3 /* 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: diag(6633, 3 /* 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: diag(6634, 3 /* 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: diag(6635, 3 /* 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: diag(6636, 3 /* 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: diag(6637, 3 /* 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: diag(6638, 3 /* 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: diag(6639, 3 /* 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."), + Skip_building_downstream_projects_on_error_in_upstream_project: diag(6640, 3 /* Message */, "Skip_building_downstream_projects_on_error_in_upstream_project_6640", "Skip building downstream projects on error in upstream project."), + Specify_a_list_of_glob_patterns_that_match_files_to_be_included_in_compilation: diag(6641, 3 /* 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: diag(6642, 3 /* 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: diag(6643, 3 /* 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: diag(6644, 3 /* 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: diag(6645, 3 /* 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: diag(6646, 3 /* 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: diag(6647, 3 /* 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: diag(6648, 3 /* 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: diag(6649, 3 /* 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: diag(6650, 3 /* 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: diag(6651, 3 /* 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: diag(6652, 3 /* 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: diag(6653, 3 /* 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: diag(6654, 3 /* 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: diag(6655, 3 /* 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: diag(6656, 3 /* 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: diag(6657, 3 /* 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: diag(6658, 3 /* 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: diag(6659, 3 /* Message */, "Set_the_newline_character_for_emitting_files_6659", "Set the newline character for emitting files."), + Disable_emitting_files_from_a_compilation: diag(6660, 3 /* Message */, "Disable_emitting_files_from_a_compilation_6660", "Disable emitting files from a compilation."), + Disable_generating_custom_helper_functions_like_extends_in_compiled_output: diag(6661, 3 /* 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: diag(6662, 3 /* 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: diag(6663, 3 /* Message */, "Disable_truncating_types_in_error_messages_6663", "Disable truncating types in error messages."), + Enable_error_reporting_for_fallthrough_cases_in_switch_statements: diag(6664, 3 /* 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: diag(6665, 3 /* 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: diag(6666, 3 /* 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: diag(6667, 3 /* 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: diag(6668, 3 /* 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: diag(6669, 3 /* 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: diag(6670, 3 /* 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: diag(6671, 3 /* 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: diag(6672, 3 /* 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 ''s from expanding the number of files TypeScript should add to a project."), + Disable_strict_checking_of_generic_signatures_in_function_types: diag(6673, 3 /* 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: diag(6674, 3 /* 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_local_variables_aren_t_read: diag(6675, 3 /* Message */, "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: diag(6676, 3 /* 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: diag(6677, 3 /* Message */, "Deprecated_setting_Use_outFile_instead_6677", "Deprecated setting. Use 'outFile' instead."), + Specify_an_output_folder_for_all_emitted_files: diag(6678, 3 /* 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: diag(6679, 3 /* 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: diag(6680, 3 /* 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: diag(6681, 3 /* 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: diag(6682, 3 /* 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: diag(6683, 3 /* 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: diag(6684, 3 /* 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: diag(6685, 3 /* 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: diag(6686, 3 /* 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: diag(6687, 3 /* 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: diag(6688, 3 /* Message */, "Disable_emitting_comments_6688", "Disable emitting comments."), + Enable_importing_json_files: diag(6689, 3 /* Message */, "Enable_importing_json_files_6689", "Enable importing .json files."), + Specify_the_root_folder_within_your_source_files: diag(6690, 3 /* 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: diag(6691, 3 /* 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: diag(6692, 3 /* 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: diag(6693, 3 /* Message */, "Skip_type_checking_all_d_ts_files_6693", "Skip type checking all .d.ts files."), + Create_source_map_files_for_emitted_JavaScript_files: diag(6694, 3 /* 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: diag(6695, 3 /* 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: diag(6697, 3 /* 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: diag(6698, 3 /* 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: diag(6699, 3 /* 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: diag(6700, 3 /* 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: diag(6701, 3 /* 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: diag(6702, 3 /* 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: diag(6703, 3 /* 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: diag(6704, 3 /* 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: diag(6705, 3 /* 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: diag(6706, 3 /* Message */, "Log_paths_used_during_the_moduleResolution_process_6706", "Log paths used during the 'moduleResolution' process."), + Specify_the_path_to_tsbuildinfo_incremental_compilation_file: diag(6707, 3 /* Message */, "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: diag(6709, 3 /* 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: diag(6710, 3 /* 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: diag(6711, 3 /* 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: diag(6712, 3 /* Message */, "Emit_ECMAScript_standard_compliant_class_fields_6712", "Emit ECMAScript-standard-compliant class fields."), + Enable_verbose_logging: diag(6713, 3 /* Message */, "Enable_verbose_logging_6713", "Enable verbose logging."), + Specify_how_directories_are_watched_on_systems_that_lack_recursive_file_watching_functionality: diag(6714, 3 /* 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: diag(6715, 3 /* Message */, "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: diag(6717, 3 /* 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: diag(6718, 3 /* 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."), + Require_sufficient_annotation_on_exports_so_other_tools_can_trivially_generate_declaration_files: diag(6719, 3 /* Message */, "Require_sufficient_annotation_on_exports_so_other_tools_can_trivially_generate_declaration_files_6719", "Require sufficient annotation on exports so other tools can trivially generate declaration files."), + Built_in_iterators_are_instantiated_with_a_TReturn_type_of_undefined_instead_of_any: diag(6720, 3 /* Message */, "Built_in_iterators_are_instantiated_with_a_TReturn_type_of_undefined_instead_of_any_6720", "Built-in iterators are instantiated with a 'TReturn' type of 'undefined' instead of 'any'."), + Default_catch_clause_variables_as_unknown_instead_of_any: diag(6803, 3 /* Message */, "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: diag(6804, 3 /* Message */, "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."), + Disable_full_type_checking_only_critical_parse_and_emit_errors_will_be_reported: diag(6805, 3 /* Message */, "Disable_full_type_checking_only_critical_parse_and_emit_errors_will_be_reported_6805", "Disable full type checking (only critical parse and emit errors will be reported)."), + Check_side_effect_imports: diag(6806, 3 /* Message */, "Check_side_effect_imports_6806", "Check side effect imports."), + This_operation_can_be_simplified_This_shift_is_identical_to_0_1_2: diag(6807, 1 /* Error */, "This_operation_can_be_simplified_This_shift_is_identical_to_0_1_2_6807", "This operation can be simplified. This shift is identical to `{0} {1} {2}`."), + one_of_Colon: diag(6900, 3 /* Message */, "one_of_Colon_6900", "one of:"), + one_or_more_Colon: diag(6901, 3 /* Message */, "one_or_more_Colon_6901", "one or more:"), + type_Colon: diag(6902, 3 /* Message */, "type_Colon_6902", "type:"), + default_Colon: diag(6903, 3 /* Message */, "default_Colon_6903", "default:"), + module_system_or_esModuleInterop: diag(6904, 3 /* Message */, "module_system_or_esModuleInterop_6904", 'module === "system" or esModuleInterop'), + false_unless_strict_is_set: diag(6905, 3 /* Message */, "false_unless_strict_is_set_6905", "`false`, unless `strict` is set"), + false_unless_composite_is_set: diag(6906, 3 /* 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: diag(6907, 3 /* 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: diag(6908, 3 /* Message */, "if_files_is_specified_otherwise_Asterisk_Asterisk_Slash_Asterisk_6908", '`[]` if `files` is specified, otherwise `["**/*"]`'), + true_if_composite_false_otherwise: diag(6909, 3 /* Message */, "true_if_composite_false_otherwise_6909", "`true` if `composite`, `false` otherwise"), + module_AMD_or_UMD_or_System_or_ES6_then_Classic_Otherwise_Node: diag(69010, 3 /* 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: diag(6911, 3 /* Message */, "Computed_from_the_list_of_input_files_6911", "Computed from the list of input files"), + Platform_specific: diag(6912, 3 /* Message */, "Platform_specific_6912", "Platform specific"), + You_can_learn_about_all_of_the_compiler_options_at_0: diag(6913, 3 /* 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: diag(6914, 3 /* 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: diag(6915, 3 /* 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: diag(6916, 3 /* Message */, "COMMON_COMMANDS_6916", "COMMON COMMANDS"), + ALL_COMPILER_OPTIONS: diag(6917, 3 /* Message */, "ALL_COMPILER_OPTIONS_6917", "ALL COMPILER OPTIONS"), + WATCH_OPTIONS: diag(6918, 3 /* Message */, "WATCH_OPTIONS_6918", "WATCH OPTIONS"), + BUILD_OPTIONS: diag(6919, 3 /* Message */, "BUILD_OPTIONS_6919", "BUILD OPTIONS"), + COMMON_COMPILER_OPTIONS: diag(6920, 3 /* Message */, "COMMON_COMPILER_OPTIONS_6920", "COMMON COMPILER OPTIONS"), + COMMAND_LINE_FLAGS: diag(6921, 3 /* Message */, "COMMAND_LINE_FLAGS_6921", "COMMAND LINE FLAGS"), + tsc_Colon_The_TypeScript_Compiler: diag(6922, 3 /* Message */, "tsc_Colon_The_TypeScript_Compiler_6922", "tsc: The TypeScript Compiler"), + Compiles_the_current_project_tsconfig_json_in_the_working_directory: diag(6923, 3 /* 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: diag(6924, 3 /* 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: diag(6925, 3 /* 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: diag(6926, 3 /* 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: diag(6927, 3 /* 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: diag(6928, 3 /* 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: diag(6929, 3 /* Message */, "Compiles_the_current_project_with_additional_settings_6929", "Compiles the current project, with additional settings."), + true_for_ES2022_and_above_including_ESNext: diag(6930, 3 /* Message */, "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: diag(6931, 1 /* Error */, "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: diag(7005, 1 /* Error */, "Variable_0_implicitly_has_an_1_type_7005", "Variable '{0}' implicitly has an '{1}' type."), + Parameter_0_implicitly_has_an_1_type: diag(7006, 1 /* Error */, "Parameter_0_implicitly_has_an_1_type_7006", "Parameter '{0}' implicitly has an '{1}' type."), + Member_0_implicitly_has_an_1_type: diag(7008, 1 /* 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: diag(7009, 1 /* 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: diag(7010, 1 /* 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: diag(7011, 1 /* 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."), + This_overload_implicitly_returns_the_type_0_because_it_lacks_a_return_type_annotation: diag(7012, 1 /* Error */, "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: diag(7013, 1 /* 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: diag(7014, 1 /* 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: diag(7015, 1 /* 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: diag(7016, 1 /* 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: diag(7017, 1 /* 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: diag(7018, 1 /* 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: diag(7019, 1 /* 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: diag(7020, 1 /* 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: diag(7022, 1 /* 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: diag(7023, 1 /* 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: diag(7024, 1 /* 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_Consider_supplying_a_return_type_annotation: diag(7025, 1 /* Error */, "Generator_implicitly_has_yield_type_0_Consider_supplying_a_return_type_annotation_7025", "Generator implicitly has yield type '{0}'. Consider supplying a return type annotation."), + JSX_element_implicitly_has_type_any_because_no_interface_JSX_0_exists: diag(7026, 1 /* 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: diag( + 7027, + 1 /* Error */, + "Unreachable_code_detected_7027", + "Unreachable code detected.", + /*reportsUnnecessary*/ + true + ), + Unused_label: diag( + 7028, + 1 /* Error */, + "Unused_label_7028", + "Unused label.", + /*reportsUnnecessary*/ + true + ), + Fallthrough_case_in_switch: diag(7029, 1 /* Error */, "Fallthrough_case_in_switch_7029", "Fallthrough case in switch."), + Not_all_code_paths_return_a_value: diag(7030, 1 /* Error */, "Not_all_code_paths_return_a_value_7030", "Not all code paths return a value."), + Binding_element_0_implicitly_has_an_1_type: diag(7031, 1 /* 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: diag(7032, 1 /* 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: diag(7033, 1 /* 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: diag(7034, 1 /* 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: diag(7035, 1 /* 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: diag(7036, 1 /* 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: diag(7037, 3 /* 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: diag(7038, 3 /* 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: diag(7039, 1 /* 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: diag(7040, 1 /* 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: diag(7041, 1 /* 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: diag(7042, 1 /* 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: diag(7043, 2 /* 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: diag(7044, 2 /* 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: diag(7045, 2 /* 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: diag(7046, 2 /* 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: diag(7047, 2 /* 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: diag(7048, 2 /* 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: diag(7049, 2 /* 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: diag(7050, 2 /* 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: diag(7051, 1 /* 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: diag(7052, 1 /* 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: diag(7053, 1 /* 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: diag(7054, 1 /* 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: diag(7055, 1 /* 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: diag(7056, 1 /* 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: diag(7057, 1 /* 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: diag(7058, 1 /* 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: diag(7059, 1 /* 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: diag(7060, 1 /* 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: diag(7061, 1 /* Error */, "A_mapped_type_may_not_declare_properties_or_methods_7061", "A mapped type may not declare properties or methods."), + You_cannot_rename_this_element: diag(8e3, 1 /* Error */, "You_cannot_rename_this_element_8000", "You cannot rename this element."), + You_cannot_rename_elements_that_are_defined_in_the_standard_TypeScript_library: diag(8001, 1 /* 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: diag(8002, 1 /* 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: diag(8003, 1 /* 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: diag(8004, 1 /* 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: diag(8005, 1 /* 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: diag(8006, 1 /* 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: diag(8008, 1 /* 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: diag(8009, 1 /* 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: diag(8010, 1 /* 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: diag(8011, 1 /* 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: diag(8012, 1 /* 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: diag(8013, 1 /* 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: diag(8016, 1 /* Error */, "Type_assertion_expressions_can_only_be_used_in_TypeScript_files_8016", "Type assertion expressions can only be used in TypeScript files."), + Signature_declarations_can_only_be_used_in_TypeScript_files: diag(8017, 1 /* Error */, "Signature_declarations_can_only_be_used_in_TypeScript_files_8017", "Signature declarations can only be used in TypeScript files."), + Report_errors_in_js_files: diag(8019, 3 /* Message */, "Report_errors_in_js_files_8019", "Report errors in .js files."), + JSDoc_types_can_only_be_used_inside_documentation_comments: diag(8020, 1 /* 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: diag(8021, 1 /* 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: diag(8022, 1 /* 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: diag(8023, 1 /* 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: diag(8024, 1 /* 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: diag(8025, 1 /* 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: diag(8026, 1 /* 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: diag(8027, 1 /* 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: diag(8028, 1 /* 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: diag(8029, 1 /* 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: diag(8030, 1 /* 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: diag(8031, 1 /* 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: diag(8032, 1 /* 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: diag(8033, 1 /* 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: diag(8034, 1 /* Error */, "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: diag(8035, 1 /* Error */, "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: diag(8036, 1 /* Error */, "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: diag(8037, 1 /* Error */, "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: diag(8038, 1 /* Error */, "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'."), + A_JSDoc_template_tag_may_not_follow_a_typedef_callback_or_overload_tag: diag(8039, 1 /* Error */, "A_JSDoc_template_tag_may_not_follow_a_typedef_callback_or_overload_tag_8039", "A JSDoc '@template' tag may not follow a '@typedef', '@callback', or '@overload' tag"), + Declaration_emit_for_this_file_requires_using_private_name_0_An_explicit_type_annotation_may_unblock_declaration_emit: diag(9005, 1 /* 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: diag(9006, 1 /* 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."), + Function_must_have_an_explicit_return_type_annotation_with_isolatedDeclarations: diag(9007, 1 /* Error */, "Function_must_have_an_explicit_return_type_annotation_with_isolatedDeclarations_9007", "Function must have an explicit return type annotation with --isolatedDeclarations."), + Method_must_have_an_explicit_return_type_annotation_with_isolatedDeclarations: diag(9008, 1 /* Error */, "Method_must_have_an_explicit_return_type_annotation_with_isolatedDeclarations_9008", "Method must have an explicit return type annotation with --isolatedDeclarations."), + At_least_one_accessor_must_have_an_explicit_type_annotation_with_isolatedDeclarations: diag(9009, 1 /* Error */, "At_least_one_accessor_must_have_an_explicit_type_annotation_with_isolatedDeclarations_9009", "At least one accessor must have an explicit type annotation with --isolatedDeclarations."), + Variable_must_have_an_explicit_type_annotation_with_isolatedDeclarations: diag(9010, 1 /* Error */, "Variable_must_have_an_explicit_type_annotation_with_isolatedDeclarations_9010", "Variable must have an explicit type annotation with --isolatedDeclarations."), + Parameter_must_have_an_explicit_type_annotation_with_isolatedDeclarations: diag(9011, 1 /* Error */, "Parameter_must_have_an_explicit_type_annotation_with_isolatedDeclarations_9011", "Parameter must have an explicit type annotation with --isolatedDeclarations."), + Property_must_have_an_explicit_type_annotation_with_isolatedDeclarations: diag(9012, 1 /* Error */, "Property_must_have_an_explicit_type_annotation_with_isolatedDeclarations_9012", "Property must have an explicit type annotation with --isolatedDeclarations."), + Expression_type_can_t_be_inferred_with_isolatedDeclarations: diag(9013, 1 /* Error */, "Expression_type_can_t_be_inferred_with_isolatedDeclarations_9013", "Expression type can't be inferred with --isolatedDeclarations."), + Computed_properties_must_be_number_or_string_literals_variables_or_dotted_expressions_with_isolatedDeclarations: diag(9014, 1 /* Error */, "Computed_properties_must_be_number_or_string_literals_variables_or_dotted_expressions_with_isolatedD_9014", "Computed properties must be number or string literals, variables or dotted expressions with --isolatedDeclarations."), + Objects_that_contain_spread_assignments_can_t_be_inferred_with_isolatedDeclarations: diag(9015, 1 /* Error */, "Objects_that_contain_spread_assignments_can_t_be_inferred_with_isolatedDeclarations_9015", "Objects that contain spread assignments can't be inferred with --isolatedDeclarations."), + Objects_that_contain_shorthand_properties_can_t_be_inferred_with_isolatedDeclarations: diag(9016, 1 /* Error */, "Objects_that_contain_shorthand_properties_can_t_be_inferred_with_isolatedDeclarations_9016", "Objects that contain shorthand properties can't be inferred with --isolatedDeclarations."), + Only_const_arrays_can_be_inferred_with_isolatedDeclarations: diag(9017, 1 /* Error */, "Only_const_arrays_can_be_inferred_with_isolatedDeclarations_9017", "Only const arrays can be inferred with --isolatedDeclarations."), + Arrays_with_spread_elements_can_t_inferred_with_isolatedDeclarations: diag(9018, 1 /* Error */, "Arrays_with_spread_elements_can_t_inferred_with_isolatedDeclarations_9018", "Arrays with spread elements can't inferred with --isolatedDeclarations."), + Binding_elements_can_t_be_exported_directly_with_isolatedDeclarations: diag(9019, 1 /* Error */, "Binding_elements_can_t_be_exported_directly_with_isolatedDeclarations_9019", "Binding elements can't be exported directly with --isolatedDeclarations."), + Enum_member_initializers_must_be_computable_without_references_to_external_symbols_with_isolatedDeclarations: diag(9020, 1 /* Error */, "Enum_member_initializers_must_be_computable_without_references_to_external_symbols_with_isolatedDecl_9020", "Enum member initializers must be computable without references to external symbols with --isolatedDeclarations."), + Extends_clause_can_t_contain_an_expression_with_isolatedDeclarations: diag(9021, 1 /* Error */, "Extends_clause_can_t_contain_an_expression_with_isolatedDeclarations_9021", "Extends clause can't contain an expression with --isolatedDeclarations."), + Inference_from_class_expressions_is_not_supported_with_isolatedDeclarations: diag(9022, 1 /* Error */, "Inference_from_class_expressions_is_not_supported_with_isolatedDeclarations_9022", "Inference from class expressions is not supported with --isolatedDeclarations."), + Assigning_properties_to_functions_without_declaring_them_is_not_supported_with_isolatedDeclarations_Add_an_explicit_declaration_for_the_properties_assigned_to_this_function: diag(9023, 1 /* Error */, "Assigning_properties_to_functions_without_declaring_them_is_not_supported_with_isolatedDeclarations__9023", "Assigning properties to functions without declaring them is not supported with --isolatedDeclarations. Add an explicit declaration for the properties assigned to this function."), + Declaration_emit_for_this_parameter_requires_implicitly_adding_undefined_to_its_type_This_is_not_supported_with_isolatedDeclarations: diag(9025, 1 /* Error */, "Declaration_emit_for_this_parameter_requires_implicitly_adding_undefined_to_its_type_This_is_not_sup_9025", "Declaration emit for this parameter requires implicitly adding undefined to its type. This is not supported with --isolatedDeclarations."), + Declaration_emit_for_this_file_requires_preserving_this_import_for_augmentations_This_is_not_supported_with_isolatedDeclarations: diag(9026, 1 /* Error */, "Declaration_emit_for_this_file_requires_preserving_this_import_for_augmentations_This_is_not_support_9026", "Declaration emit for this file requires preserving this import for augmentations. This is not supported with --isolatedDeclarations."), + Add_a_type_annotation_to_the_variable_0: diag(9027, 1 /* Error */, "Add_a_type_annotation_to_the_variable_0_9027", "Add a type annotation to the variable {0}."), + Add_a_type_annotation_to_the_parameter_0: diag(9028, 1 /* Error */, "Add_a_type_annotation_to_the_parameter_0_9028", "Add a type annotation to the parameter {0}."), + Add_a_type_annotation_to_the_property_0: diag(9029, 1 /* Error */, "Add_a_type_annotation_to_the_property_0_9029", "Add a type annotation to the property {0}."), + Add_a_return_type_to_the_function_expression: diag(9030, 1 /* Error */, "Add_a_return_type_to_the_function_expression_9030", "Add a return type to the function expression."), + Add_a_return_type_to_the_function_declaration: diag(9031, 1 /* Error */, "Add_a_return_type_to_the_function_declaration_9031", "Add a return type to the function declaration."), + Add_a_return_type_to_the_get_accessor_declaration: diag(9032, 1 /* Error */, "Add_a_return_type_to_the_get_accessor_declaration_9032", "Add a return type to the get accessor declaration."), + Add_a_type_to_parameter_of_the_set_accessor_declaration: diag(9033, 1 /* Error */, "Add_a_type_to_parameter_of_the_set_accessor_declaration_9033", "Add a type to parameter of the set accessor declaration."), + Add_a_return_type_to_the_method: diag(9034, 1 /* Error */, "Add_a_return_type_to_the_method_9034", "Add a return type to the method"), + Add_satisfies_and_a_type_assertion_to_this_expression_satisfies_T_as_T_to_make_the_type_explicit: diag(9035, 1 /* Error */, "Add_satisfies_and_a_type_assertion_to_this_expression_satisfies_T_as_T_to_make_the_type_explicit_9035", "Add satisfies and a type assertion to this expression (satisfies T as T) to make the type explicit."), + Move_the_expression_in_default_export_to_a_variable_and_add_a_type_annotation_to_it: diag(9036, 1 /* Error */, "Move_the_expression_in_default_export_to_a_variable_and_add_a_type_annotation_to_it_9036", "Move the expression in default export to a variable and add a type annotation to it."), + Default_exports_can_t_be_inferred_with_isolatedDeclarations: diag(9037, 1 /* Error */, "Default_exports_can_t_be_inferred_with_isolatedDeclarations_9037", "Default exports can't be inferred with --isolatedDeclarations."), + Computed_property_names_on_class_or_object_literals_cannot_be_inferred_with_isolatedDeclarations: diag(9038, 1 /* Error */, "Computed_property_names_on_class_or_object_literals_cannot_be_inferred_with_isolatedDeclarations_9038", "Computed property names on class or object literals cannot be inferred with --isolatedDeclarations."), + Type_containing_private_name_0_can_t_be_used_with_isolatedDeclarations: diag(9039, 1 /* Error */, "Type_containing_private_name_0_can_t_be_used_with_isolatedDeclarations_9039", "Type containing private name '{0}' can't be used with --isolatedDeclarations."), + JSX_attributes_must_only_be_assigned_a_non_empty_expression: diag(17e3, 1 /* 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: diag(17001, 1 /* 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: diag(17002, 1 /* 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: diag(17004, 1 /* 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: diag(17005, 1 /* 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: diag(17006, 1 /* 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: diag(17007, 1 /* 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: diag(17008, 1 /* 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: diag(17009, 1 /* 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: diag(17010, 1 /* 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: diag(17011, 1 /* 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: diag(17012, 1 /* 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: diag(17013, 1 /* 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: diag(17014, 1 /* Error */, "JSX_fragment_has_no_corresponding_closing_tag_17014", "JSX fragment has no corresponding closing tag."), + Expected_corresponding_closing_tag_for_JSX_fragment: diag(17015, 1 /* 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: diag(17016, 1 /* 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: diag(17017, 1 /* 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: diag(17018, 1 /* Error */, "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: diag(17019, 1 /* Error */, "_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: diag(17020, 1 /* Error */, "_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}'?"), + Unicode_escape_sequence_cannot_appear_here: diag(17021, 1 /* Error */, "Unicode_escape_sequence_cannot_appear_here_17021", "Unicode escape sequence cannot appear here."), + Circularity_detected_while_resolving_configuration_Colon_0: diag(18e3, 1 /* Error */, "Circularity_detected_while_resolving_configuration_Colon_0_18000", "Circularity detected while resolving configuration: {0}"), + The_files_list_in_config_file_0_is_empty: diag(18002, 1 /* 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: diag(18003, 1 /* 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: diag(80001, 2 /* 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: diag(80002, 2 /* 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: diag(80003, 2 /* 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: diag(80004, 2 /* 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: diag(80005, 2 /* 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: diag(80006, 2 /* 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: diag(80007, 2 /* 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: diag(80008, 2 /* 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."), + JSDoc_typedef_may_be_converted_to_TypeScript_type: diag(80009, 2 /* Suggestion */, "JSDoc_typedef_may_be_converted_to_TypeScript_type_80009", "JSDoc typedef may be converted to TypeScript type."), + JSDoc_typedefs_may_be_converted_to_TypeScript_types: diag(80010, 2 /* Suggestion */, "JSDoc_typedefs_may_be_converted_to_TypeScript_types_80010", "JSDoc typedefs may be converted to TypeScript types."), + Add_missing_super_call: diag(90001, 3 /* Message */, "Add_missing_super_call_90001", "Add missing 'super()' call"), + Make_super_call_the_first_statement_in_the_constructor: diag(90002, 3 /* Message */, "Make_super_call_the_first_statement_in_the_constructor_90002", "Make 'super()' call the first statement in the constructor"), + Change_extends_to_implements: diag(90003, 3 /* Message */, "Change_extends_to_implements_90003", "Change 'extends' to 'implements'"), + Remove_unused_declaration_for_Colon_0: diag(90004, 3 /* Message */, "Remove_unused_declaration_for_Colon_0_90004", "Remove unused declaration for: '{0}'"), + Remove_import_from_0: diag(90005, 3 /* Message */, "Remove_import_from_0_90005", "Remove import from '{0}'"), + Implement_interface_0: diag(90006, 3 /* Message */, "Implement_interface_0_90006", "Implement interface '{0}'"), + Implement_inherited_abstract_class: diag(90007, 3 /* Message */, "Implement_inherited_abstract_class_90007", "Implement inherited abstract class"), + Add_0_to_unresolved_variable: diag(90008, 3 /* Message */, "Add_0_to_unresolved_variable_90008", "Add '{0}.' to unresolved variable"), + Remove_variable_statement: diag(90010, 3 /* Message */, "Remove_variable_statement_90010", "Remove variable statement"), + Remove_template_tag: diag(90011, 3 /* Message */, "Remove_template_tag_90011", "Remove template tag"), + Remove_type_parameters: diag(90012, 3 /* Message */, "Remove_type_parameters_90012", "Remove type parameters"), + Import_0_from_1: diag(90013, 3 /* Message */, "Import_0_from_1_90013", `Import '{0}' from "{1}"`), + Change_0_to_1: diag(90014, 3 /* Message */, "Change_0_to_1_90014", "Change '{0}' to '{1}'"), + Declare_property_0: diag(90016, 3 /* Message */, "Declare_property_0_90016", "Declare property '{0}'"), + Add_index_signature_for_property_0: diag(90017, 3 /* Message */, "Add_index_signature_for_property_0_90017", "Add index signature for property '{0}'"), + Disable_checking_for_this_file: diag(90018, 3 /* Message */, "Disable_checking_for_this_file_90018", "Disable checking for this file"), + Ignore_this_error_message: diag(90019, 3 /* Message */, "Ignore_this_error_message_90019", "Ignore this error message"), + Initialize_property_0_in_the_constructor: diag(90020, 3 /* Message */, "Initialize_property_0_in_the_constructor_90020", "Initialize property '{0}' in the constructor"), + Initialize_static_property_0: diag(90021, 3 /* Message */, "Initialize_static_property_0_90021", "Initialize static property '{0}'"), + Change_spelling_to_0: diag(90022, 3 /* Message */, "Change_spelling_to_0_90022", "Change spelling to '{0}'"), + Declare_method_0: diag(90023, 3 /* Message */, "Declare_method_0_90023", "Declare method '{0}'"), + Declare_static_method_0: diag(90024, 3 /* Message */, "Declare_static_method_0_90024", "Declare static method '{0}'"), + Prefix_0_with_an_underscore: diag(90025, 3 /* Message */, "Prefix_0_with_an_underscore_90025", "Prefix '{0}' with an underscore"), + Rewrite_as_the_indexed_access_type_0: diag(90026, 3 /* Message */, "Rewrite_as_the_indexed_access_type_0_90026", "Rewrite as the indexed access type '{0}'"), + Declare_static_property_0: diag(90027, 3 /* Message */, "Declare_static_property_0_90027", "Declare static property '{0}'"), + Call_decorator_expression: diag(90028, 3 /* Message */, "Call_decorator_expression_90028", "Call decorator expression"), + Add_async_modifier_to_containing_function: diag(90029, 3 /* Message */, "Add_async_modifier_to_containing_function_90029", "Add async modifier to containing function"), + Replace_infer_0_with_unknown: diag(90030, 3 /* Message */, "Replace_infer_0_with_unknown_90030", "Replace 'infer {0}' with 'unknown'"), + Replace_all_unused_infer_with_unknown: diag(90031, 3 /* Message */, "Replace_all_unused_infer_with_unknown_90031", "Replace all unused 'infer' with 'unknown'"), + Add_parameter_name: diag(90034, 3 /* Message */, "Add_parameter_name_90034", "Add parameter name"), + Declare_private_property_0: diag(90035, 3 /* Message */, "Declare_private_property_0_90035", "Declare private property '{0}'"), + Replace_0_with_Promise_1: diag(90036, 3 /* Message */, "Replace_0_with_Promise_1_90036", "Replace '{0}' with 'Promise<{1}>'"), + Fix_all_incorrect_return_type_of_an_async_functions: diag(90037, 3 /* Message */, "Fix_all_incorrect_return_type_of_an_async_functions_90037", "Fix all incorrect return type of an async functions"), + Declare_private_method_0: diag(90038, 3 /* Message */, "Declare_private_method_0_90038", "Declare private method '{0}'"), + Remove_unused_destructuring_declaration: diag(90039, 3 /* Message */, "Remove_unused_destructuring_declaration_90039", "Remove unused destructuring declaration"), + Remove_unused_declarations_for_Colon_0: diag(90041, 3 /* Message */, "Remove_unused_declarations_for_Colon_0_90041", "Remove unused declarations for: '{0}'"), + Declare_a_private_field_named_0: diag(90053, 3 /* Message */, "Declare_a_private_field_named_0_90053", "Declare a private field named '{0}'."), + Includes_imports_of_types_referenced_by_0: diag(90054, 3 /* Message */, "Includes_imports_of_types_referenced_by_0_90054", "Includes imports of types referenced by '{0}'"), + Remove_type_from_import_declaration_from_0: diag(90055, 3 /* Message */, "Remove_type_from_import_declaration_from_0_90055", `Remove 'type' from import declaration from "{0}"`), + Remove_type_from_import_of_0_from_1: diag(90056, 3 /* Message */, "Remove_type_from_import_of_0_from_1_90056", `Remove 'type' from import of '{0}' from "{1}"`), + Add_import_from_0: diag(90057, 3 /* Message */, "Add_import_from_0_90057", 'Add import from "{0}"'), + Update_import_from_0: diag(90058, 3 /* Message */, "Update_import_from_0_90058", 'Update import from "{0}"'), + Export_0_from_module_1: diag(90059, 3 /* Message */, "Export_0_from_module_1_90059", "Export '{0}' from module '{1}'"), + Export_all_referenced_locals: diag(90060, 3 /* Message */, "Export_all_referenced_locals_90060", "Export all referenced locals"), + Update_modifiers_of_0: diag(90061, 3 /* Message */, "Update_modifiers_of_0_90061", "Update modifiers of '{0}'"), + Add_annotation_of_type_0: diag(90062, 3 /* Message */, "Add_annotation_of_type_0_90062", "Add annotation of type '{0}'"), + Add_return_type_0: diag(90063, 3 /* Message */, "Add_return_type_0_90063", "Add return type '{0}'"), + Extract_base_class_to_variable: diag(90064, 3 /* Message */, "Extract_base_class_to_variable_90064", "Extract base class to variable"), + Extract_default_export_to_variable: diag(90065, 3 /* Message */, "Extract_default_export_to_variable_90065", "Extract default export to variable"), + Extract_binding_expressions_to_variable: diag(90066, 3 /* Message */, "Extract_binding_expressions_to_variable_90066", "Extract binding expressions to variable"), + Add_all_missing_type_annotations: diag(90067, 3 /* Message */, "Add_all_missing_type_annotations_90067", "Add all missing type annotations"), + Add_satisfies_and_an_inline_type_assertion_with_0: diag(90068, 3 /* Message */, "Add_satisfies_and_an_inline_type_assertion_with_0_90068", "Add satisfies and an inline type assertion with '{0}'"), + Extract_to_variable_and_replace_with_0_as_typeof_0: diag(90069, 3 /* Message */, "Extract_to_variable_and_replace_with_0_as_typeof_0_90069", "Extract to variable and replace with '{0} as typeof {0}'"), + Mark_array_literal_as_const: diag(90070, 3 /* Message */, "Mark_array_literal_as_const_90070", "Mark array literal as const"), + Annotate_types_of_properties_expando_function_in_a_namespace: diag(90071, 3 /* Message */, "Annotate_types_of_properties_expando_function_in_a_namespace_90071", "Annotate types of properties expando function in a namespace"), + Convert_function_to_an_ES2015_class: diag(95001, 3 /* Message */, "Convert_function_to_an_ES2015_class_95001", "Convert function to an ES2015 class"), + Convert_0_to_1_in_0: diag(95003, 3 /* Message */, "Convert_0_to_1_in_0_95003", "Convert '{0}' to '{1} in {0}'"), + Extract_to_0_in_1: diag(95004, 3 /* Message */, "Extract_to_0_in_1_95004", "Extract to {0} in {1}"), + Extract_function: diag(95005, 3 /* Message */, "Extract_function_95005", "Extract function"), + Extract_constant: diag(95006, 3 /* Message */, "Extract_constant_95006", "Extract constant"), + Extract_to_0_in_enclosing_scope: diag(95007, 3 /* Message */, "Extract_to_0_in_enclosing_scope_95007", "Extract to {0} in enclosing scope"), + Extract_to_0_in_1_scope: diag(95008, 3 /* Message */, "Extract_to_0_in_1_scope_95008", "Extract to {0} in {1} scope"), + Annotate_with_type_from_JSDoc: diag(95009, 3 /* Message */, "Annotate_with_type_from_JSDoc_95009", "Annotate with type from JSDoc"), + Infer_type_of_0_from_usage: diag(95011, 3 /* Message */, "Infer_type_of_0_from_usage_95011", "Infer type of '{0}' from usage"), + Infer_parameter_types_from_usage: diag(95012, 3 /* Message */, "Infer_parameter_types_from_usage_95012", "Infer parameter types from usage"), + Convert_to_default_import: diag(95013, 3 /* Message */, "Convert_to_default_import_95013", "Convert to default import"), + Install_0: diag(95014, 3 /* Message */, "Install_0_95014", "Install '{0}'"), + Replace_import_with_0: diag(95015, 3 /* Message */, "Replace_import_with_0_95015", "Replace import with '{0}'."), + Use_synthetic_default_member: diag(95016, 3 /* Message */, "Use_synthetic_default_member_95016", "Use synthetic 'default' member."), + Convert_to_ES_module: diag(95017, 3 /* Message */, "Convert_to_ES_module_95017", "Convert to ES module"), + Add_undefined_type_to_property_0: diag(95018, 3 /* Message */, "Add_undefined_type_to_property_0_95018", "Add 'undefined' type to property '{0}'"), + Add_initializer_to_property_0: diag(95019, 3 /* Message */, "Add_initializer_to_property_0_95019", "Add initializer to property '{0}'"), + Add_definite_assignment_assertion_to_property_0: diag(95020, 3 /* Message */, "Add_definite_assignment_assertion_to_property_0_95020", "Add definite assignment assertion to property '{0}'"), + Convert_all_type_literals_to_mapped_type: diag(95021, 3 /* Message */, "Convert_all_type_literals_to_mapped_type_95021", "Convert all type literals to mapped type"), + Add_all_missing_members: diag(95022, 3 /* Message */, "Add_all_missing_members_95022", "Add all missing members"), + Infer_all_types_from_usage: diag(95023, 3 /* Message */, "Infer_all_types_from_usage_95023", "Infer all types from usage"), + Delete_all_unused_declarations: diag(95024, 3 /* Message */, "Delete_all_unused_declarations_95024", "Delete all unused declarations"), + Prefix_all_unused_declarations_with_where_possible: diag(95025, 3 /* Message */, "Prefix_all_unused_declarations_with_where_possible_95025", "Prefix all unused declarations with '_' where possible"), + Fix_all_detected_spelling_errors: diag(95026, 3 /* Message */, "Fix_all_detected_spelling_errors_95026", "Fix all detected spelling errors"), + Add_initializers_to_all_uninitialized_properties: diag(95027, 3 /* Message */, "Add_initializers_to_all_uninitialized_properties_95027", "Add initializers to all uninitialized properties"), + Add_definite_assignment_assertions_to_all_uninitialized_properties: diag(95028, 3 /* 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: diag(95029, 3 /* Message */, "Add_undefined_type_to_all_uninitialized_properties_95029", "Add undefined type to all uninitialized properties"), + Change_all_jsdoc_style_types_to_TypeScript: diag(95030, 3 /* 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: diag(95031, 3 /* 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: diag(95032, 3 /* Message */, "Implement_all_unimplemented_interfaces_95032", "Implement all unimplemented interfaces"), + Install_all_missing_types_packages: diag(95033, 3 /* Message */, "Install_all_missing_types_packages_95033", "Install all missing types packages"), + Rewrite_all_as_indexed_access_types: diag(95034, 3 /* Message */, "Rewrite_all_as_indexed_access_types_95034", "Rewrite all as indexed access types"), + Convert_all_to_default_imports: diag(95035, 3 /* Message */, "Convert_all_to_default_imports_95035", "Convert all to default imports"), + Make_all_super_calls_the_first_statement_in_their_constructor: diag(95036, 3 /* 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: diag(95037, 3 /* 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: diag(95038, 3 /* Message */, "Change_all_extended_interfaces_to_implements_95038", "Change all extended interfaces to 'implements'"), + Add_all_missing_super_calls: diag(95039, 3 /* Message */, "Add_all_missing_super_calls_95039", "Add all missing super calls"), + Implement_all_inherited_abstract_classes: diag(95040, 3 /* Message */, "Implement_all_inherited_abstract_classes_95040", "Implement all inherited abstract classes"), + Add_all_missing_async_modifiers: diag(95041, 3 /* Message */, "Add_all_missing_async_modifiers_95041", "Add all missing 'async' modifiers"), + Add_ts_ignore_to_all_error_messages: diag(95042, 3 /* Message */, "Add_ts_ignore_to_all_error_messages_95042", "Add '@ts-ignore' to all error messages"), + Annotate_everything_with_types_from_JSDoc: diag(95043, 3 /* Message */, "Annotate_everything_with_types_from_JSDoc_95043", "Annotate everything with types from JSDoc"), + Add_to_all_uncalled_decorators: diag(95044, 3 /* Message */, "Add_to_all_uncalled_decorators_95044", "Add '()' to all uncalled decorators"), + Convert_all_constructor_functions_to_classes: diag(95045, 3 /* Message */, "Convert_all_constructor_functions_to_classes_95045", "Convert all constructor functions to classes"), + Generate_get_and_set_accessors: diag(95046, 3 /* Message */, "Generate_get_and_set_accessors_95046", "Generate 'get' and 'set' accessors"), + Convert_require_to_import: diag(95047, 3 /* Message */, "Convert_require_to_import_95047", "Convert 'require' to 'import'"), + Convert_all_require_to_import: diag(95048, 3 /* Message */, "Convert_all_require_to_import_95048", "Convert all 'require' to 'import'"), + Move_to_a_new_file: diag(95049, 3 /* Message */, "Move_to_a_new_file_95049", "Move to a new file"), + Remove_unreachable_code: diag(95050, 3 /* Message */, "Remove_unreachable_code_95050", "Remove unreachable code"), + Remove_all_unreachable_code: diag(95051, 3 /* Message */, "Remove_all_unreachable_code_95051", "Remove all unreachable code"), + Add_missing_typeof: diag(95052, 3 /* Message */, "Add_missing_typeof_95052", "Add missing 'typeof'"), + Remove_unused_label: diag(95053, 3 /* Message */, "Remove_unused_label_95053", "Remove unused label"), + Remove_all_unused_labels: diag(95054, 3 /* Message */, "Remove_all_unused_labels_95054", "Remove all unused labels"), + Convert_0_to_mapped_object_type: diag(95055, 3 /* Message */, "Convert_0_to_mapped_object_type_95055", "Convert '{0}' to mapped object type"), + Convert_namespace_import_to_named_imports: diag(95056, 3 /* Message */, "Convert_namespace_import_to_named_imports_95056", "Convert namespace import to named imports"), + Convert_named_imports_to_namespace_import: diag(95057, 3 /* Message */, "Convert_named_imports_to_namespace_import_95057", "Convert named imports to namespace import"), + Add_or_remove_braces_in_an_arrow_function: diag(95058, 3 /* Message */, "Add_or_remove_braces_in_an_arrow_function_95058", "Add or remove braces in an arrow function"), + Add_braces_to_arrow_function: diag(95059, 3 /* Message */, "Add_braces_to_arrow_function_95059", "Add braces to arrow function"), + Remove_braces_from_arrow_function: diag(95060, 3 /* Message */, "Remove_braces_from_arrow_function_95060", "Remove braces from arrow function"), + Convert_default_export_to_named_export: diag(95061, 3 /* Message */, "Convert_default_export_to_named_export_95061", "Convert default export to named export"), + Convert_named_export_to_default_export: diag(95062, 3 /* Message */, "Convert_named_export_to_default_export_95062", "Convert named export to default export"), + Add_missing_enum_member_0: diag(95063, 3 /* Message */, "Add_missing_enum_member_0_95063", "Add missing enum member '{0}'"), + Add_all_missing_imports: diag(95064, 3 /* Message */, "Add_all_missing_imports_95064", "Add all missing imports"), + Convert_to_async_function: diag(95065, 3 /* Message */, "Convert_to_async_function_95065", "Convert to async function"), + Convert_all_to_async_functions: diag(95066, 3 /* Message */, "Convert_all_to_async_functions_95066", "Convert all to async functions"), + Add_missing_call_parentheses: diag(95067, 3 /* Message */, "Add_missing_call_parentheses_95067", "Add missing call parentheses"), + Add_all_missing_call_parentheses: diag(95068, 3 /* Message */, "Add_all_missing_call_parentheses_95068", "Add all missing call parentheses"), + Add_unknown_conversion_for_non_overlapping_types: diag(95069, 3 /* 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: diag(95070, 3 /* 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: diag(95071, 3 /* Message */, "Add_missing_new_operator_to_call_95071", "Add missing 'new' operator to call"), + Add_missing_new_operator_to_all_calls: diag(95072, 3 /* Message */, "Add_missing_new_operator_to_all_calls_95072", "Add missing 'new' operator to all calls"), + Add_names_to_all_parameters_without_names: diag(95073, 3 /* Message */, "Add_names_to_all_parameters_without_names_95073", "Add names to all parameters without names"), + Enable_the_experimentalDecorators_option_in_your_configuration_file: diag(95074, 3 /* Message */, "Enable_the_experimentalDecorators_option_in_your_configuration_file_95074", "Enable the 'experimentalDecorators' option in your configuration file"), + Convert_parameters_to_destructured_object: diag(95075, 3 /* Message */, "Convert_parameters_to_destructured_object_95075", "Convert parameters to destructured object"), + Extract_type: diag(95077, 3 /* Message */, "Extract_type_95077", "Extract type"), + Extract_to_type_alias: diag(95078, 3 /* Message */, "Extract_to_type_alias_95078", "Extract to type alias"), + Extract_to_typedef: diag(95079, 3 /* Message */, "Extract_to_typedef_95079", "Extract to typedef"), + Infer_this_type_of_0_from_usage: diag(95080, 3 /* Message */, "Infer_this_type_of_0_from_usage_95080", "Infer 'this' type of '{0}' from usage"), + Add_const_to_unresolved_variable: diag(95081, 3 /* Message */, "Add_const_to_unresolved_variable_95081", "Add 'const' to unresolved variable"), + Add_const_to_all_unresolved_variables: diag(95082, 3 /* Message */, "Add_const_to_all_unresolved_variables_95082", "Add 'const' to all unresolved variables"), + Add_await: diag(95083, 3 /* Message */, "Add_await_95083", "Add 'await'"), + Add_await_to_initializer_for_0: diag(95084, 3 /* Message */, "Add_await_to_initializer_for_0_95084", "Add 'await' to initializer for '{0}'"), + Fix_all_expressions_possibly_missing_await: diag(95085, 3 /* Message */, "Fix_all_expressions_possibly_missing_await_95085", "Fix all expressions possibly missing 'await'"), + Remove_unnecessary_await: diag(95086, 3 /* Message */, "Remove_unnecessary_await_95086", "Remove unnecessary 'await'"), + Remove_all_unnecessary_uses_of_await: diag(95087, 3 /* Message */, "Remove_all_unnecessary_uses_of_await_95087", "Remove all unnecessary uses of 'await'"), + Enable_the_jsx_flag_in_your_configuration_file: diag(95088, 3 /* Message */, "Enable_the_jsx_flag_in_your_configuration_file_95088", "Enable the '--jsx' flag in your configuration file"), + Add_await_to_initializers: diag(95089, 3 /* Message */, "Add_await_to_initializers_95089", "Add 'await' to initializers"), + Extract_to_interface: diag(95090, 3 /* Message */, "Extract_to_interface_95090", "Extract to interface"), + Convert_to_a_bigint_numeric_literal: diag(95091, 3 /* Message */, "Convert_to_a_bigint_numeric_literal_95091", "Convert to a bigint numeric literal"), + Convert_all_to_bigint_numeric_literals: diag(95092, 3 /* Message */, "Convert_all_to_bigint_numeric_literals_95092", "Convert all to bigint numeric literals"), + Convert_const_to_let: diag(95093, 3 /* Message */, "Convert_const_to_let_95093", "Convert 'const' to 'let'"), + Prefix_with_declare: diag(95094, 3 /* Message */, "Prefix_with_declare_95094", "Prefix with 'declare'"), + Prefix_all_incorrect_property_declarations_with_declare: diag(95095, 3 /* Message */, "Prefix_all_incorrect_property_declarations_with_declare_95095", "Prefix all incorrect property declarations with 'declare'"), + Convert_to_template_string: diag(95096, 3 /* Message */, "Convert_to_template_string_95096", "Convert to template string"), + Add_export_to_make_this_file_into_a_module: diag(95097, 3 /* 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: diag(95098, 3 /* 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: diag(95099, 3 /* 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: diag(95100, 3 /* 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: diag(95101, 3 /* Message */, "Convert_all_invalid_characters_to_HTML_entity_code_95101", "Convert all invalid characters to HTML entity code"), + Convert_all_const_to_let: diag(95102, 3 /* Message */, "Convert_all_const_to_let_95102", "Convert all 'const' to 'let'"), + Convert_function_expression_0_to_arrow_function: diag(95105, 3 /* Message */, "Convert_function_expression_0_to_arrow_function_95105", "Convert function expression '{0}' to arrow function"), + Convert_function_declaration_0_to_arrow_function: diag(95106, 3 /* Message */, "Convert_function_declaration_0_to_arrow_function_95106", "Convert function declaration '{0}' to arrow function"), + Fix_all_implicit_this_errors: diag(95107, 3 /* Message */, "Fix_all_implicit_this_errors_95107", "Fix all implicit-'this' errors"), + Wrap_invalid_character_in_an_expression_container: diag(95108, 3 /* Message */, "Wrap_invalid_character_in_an_expression_container_95108", "Wrap invalid character in an expression container"), + Wrap_all_invalid_characters_in_an_expression_container: diag(95109, 3 /* 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_to_read_more_about_this_file: diag(95110, 3 /* Message */, "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: diag(95111, 3 /* Message */, "Add_a_return_statement_95111", "Add a return statement"), + Remove_braces_from_arrow_function_body: diag(95112, 3 /* 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: diag(95113, 3 /* 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: diag(95114, 3 /* Message */, "Add_all_missing_return_statement_95114", "Add all missing return statement"), + Remove_braces_from_all_arrow_function_bodies_with_relevant_issues: diag(95115, 3 /* 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: diag(95116, 3 /* Message */, "Wrap_all_object_literal_with_parentheses_95116", "Wrap all object literal with parentheses"), + Move_labeled_tuple_element_modifiers_to_labels: diag(95117, 3 /* Message */, "Move_labeled_tuple_element_modifiers_to_labels_95117", "Move labeled tuple element modifiers to labels"), + Convert_overload_list_to_single_signature: diag(95118, 3 /* Message */, "Convert_overload_list_to_single_signature_95118", "Convert overload list to single signature"), + Generate_get_and_set_accessors_for_all_overriding_properties: diag(95119, 3 /* Message */, "Generate_get_and_set_accessors_for_all_overriding_properties_95119", "Generate 'get' and 'set' accessors for all overriding properties"), + Wrap_in_JSX_fragment: diag(95120, 3 /* Message */, "Wrap_in_JSX_fragment_95120", "Wrap in JSX fragment"), + Wrap_all_unparented_JSX_in_JSX_fragment: diag(95121, 3 /* Message */, "Wrap_all_unparented_JSX_in_JSX_fragment_95121", "Wrap all unparented JSX in JSX fragment"), + Convert_arrow_function_or_function_expression: diag(95122, 3 /* Message */, "Convert_arrow_function_or_function_expression_95122", "Convert arrow function or function expression"), + Convert_to_anonymous_function: diag(95123, 3 /* Message */, "Convert_to_anonymous_function_95123", "Convert to anonymous function"), + Convert_to_named_function: diag(95124, 3 /* Message */, "Convert_to_named_function_95124", "Convert to named function"), + Convert_to_arrow_function: diag(95125, 3 /* Message */, "Convert_to_arrow_function_95125", "Convert to arrow function"), + Remove_parentheses: diag(95126, 3 /* Message */, "Remove_parentheses_95126", "Remove parentheses"), + Could_not_find_a_containing_arrow_function: diag(95127, 3 /* Message */, "Could_not_find_a_containing_arrow_function_95127", "Could not find a containing arrow function"), + Containing_function_is_not_an_arrow_function: diag(95128, 3 /* Message */, "Containing_function_is_not_an_arrow_function_95128", "Containing function is not an arrow function"), + Could_not_find_export_statement: diag(95129, 3 /* Message */, "Could_not_find_export_statement_95129", "Could not find export statement"), + This_file_already_has_a_default_export: diag(95130, 3 /* Message */, "This_file_already_has_a_default_export_95130", "This file already has a default export"), + Could_not_find_import_clause: diag(95131, 3 /* Message */, "Could_not_find_import_clause_95131", "Could not find import clause"), + Could_not_find_namespace_import_or_named_imports: diag(95132, 3 /* 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: diag(95133, 3 /* 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: diag(95134, 3 /* 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: diag(95135, 3 /* Message */, "Could_not_find_property_for_which_to_generate_accessor_95135", "Could not find property for which to generate accessor"), + Name_is_not_valid: diag(95136, 3 /* Message */, "Name_is_not_valid_95136", "Name is not valid"), + Can_only_convert_property_with_modifier: diag(95137, 3 /* Message */, "Can_only_convert_property_with_modifier_95137", "Can only convert property with modifier"), + Switch_each_misused_0_to_1: diag(95138, 3 /* Message */, "Switch_each_misused_0_to_1_95138", "Switch each misused '{0}' to '{1}'"), + Convert_to_optional_chain_expression: diag(95139, 3 /* Message */, "Convert_to_optional_chain_expression_95139", "Convert to optional chain expression"), + Could_not_find_convertible_access_expression: diag(95140, 3 /* Message */, "Could_not_find_convertible_access_expression_95140", "Could not find convertible access expression"), + Could_not_find_matching_access_expressions: diag(95141, 3 /* Message */, "Could_not_find_matching_access_expressions_95141", "Could not find matching access expressions"), + Can_only_convert_logical_AND_access_chains: diag(95142, 3 /* Message */, "Can_only_convert_logical_AND_access_chains_95142", "Can only convert logical AND access chains"), + Add_void_to_Promise_resolved_without_a_value: diag(95143, 3 /* 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: diag(95144, 3 /* 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: diag(95145, 3 /* Message */, "Use_element_access_for_0_95145", "Use element access for '{0}'"), + Use_element_access_for_all_undeclared_properties: diag(95146, 3 /* Message */, "Use_element_access_for_all_undeclared_properties_95146", "Use element access for all undeclared properties."), + Delete_all_unused_imports: diag(95147, 3 /* Message */, "Delete_all_unused_imports_95147", "Delete all unused imports"), + Infer_function_return_type: diag(95148, 3 /* Message */, "Infer_function_return_type_95148", "Infer function return type"), + Return_type_must_be_inferred_from_a_function: diag(95149, 3 /* Message */, "Return_type_must_be_inferred_from_a_function_95149", "Return type must be inferred from a function"), + Could_not_determine_function_return_type: diag(95150, 3 /* Message */, "Could_not_determine_function_return_type_95150", "Could not determine function return type"), + Could_not_convert_to_arrow_function: diag(95151, 3 /* Message */, "Could_not_convert_to_arrow_function_95151", "Could not convert to arrow function"), + Could_not_convert_to_named_function: diag(95152, 3 /* Message */, "Could_not_convert_to_named_function_95152", "Could not convert to named function"), + Could_not_convert_to_anonymous_function: diag(95153, 3 /* Message */, "Could_not_convert_to_anonymous_function_95153", "Could not convert to anonymous function"), + Can_only_convert_string_concatenations_and_string_literals: diag(95154, 3 /* Message */, "Can_only_convert_string_concatenations_and_string_literals_95154", "Can only convert string concatenations and string literals"), + Selection_is_not_a_valid_statement_or_statements: diag(95155, 3 /* Message */, "Selection_is_not_a_valid_statement_or_statements_95155", "Selection is not a valid statement or statements"), + Add_missing_function_declaration_0: diag(95156, 3 /* Message */, "Add_missing_function_declaration_0_95156", "Add missing function declaration '{0}'"), + Add_all_missing_function_declarations: diag(95157, 3 /* Message */, "Add_all_missing_function_declarations_95157", "Add all missing function declarations"), + Method_not_implemented: diag(95158, 3 /* Message */, "Method_not_implemented_95158", "Method not implemented."), + Function_not_implemented: diag(95159, 3 /* Message */, "Function_not_implemented_95159", "Function not implemented."), + Add_override_modifier: diag(95160, 3 /* Message */, "Add_override_modifier_95160", "Add 'override' modifier"), + Remove_override_modifier: diag(95161, 3 /* Message */, "Remove_override_modifier_95161", "Remove 'override' modifier"), + Add_all_missing_override_modifiers: diag(95162, 3 /* Message */, "Add_all_missing_override_modifiers_95162", "Add all missing 'override' modifiers"), + Remove_all_unnecessary_override_modifiers: diag(95163, 3 /* Message */, "Remove_all_unnecessary_override_modifiers_95163", "Remove all unnecessary 'override' modifiers"), + Can_only_convert_named_export: diag(95164, 3 /* Message */, "Can_only_convert_named_export_95164", "Can only convert named export"), + Add_missing_properties: diag(95165, 3 /* Message */, "Add_missing_properties_95165", "Add missing properties"), + Add_all_missing_properties: diag(95166, 3 /* Message */, "Add_all_missing_properties_95166", "Add all missing properties"), + Add_missing_attributes: diag(95167, 3 /* Message */, "Add_missing_attributes_95167", "Add missing attributes"), + Add_all_missing_attributes: diag(95168, 3 /* Message */, "Add_all_missing_attributes_95168", "Add all missing attributes"), + Add_undefined_to_optional_property_type: diag(95169, 3 /* Message */, "Add_undefined_to_optional_property_type_95169", "Add 'undefined' to optional property type"), + Convert_named_imports_to_default_import: diag(95170, 3 /* Message */, "Convert_named_imports_to_default_import_95170", "Convert named imports to default import"), + Delete_unused_param_tag_0: diag(95171, 3 /* Message */, "Delete_unused_param_tag_0_95171", "Delete unused '@param' tag '{0}'"), + Delete_all_unused_param_tags: diag(95172, 3 /* Message */, "Delete_all_unused_param_tags_95172", "Delete all unused '@param' tags"), + Rename_param_tag_name_0_to_1: diag(95173, 3 /* Message */, "Rename_param_tag_name_0_to_1_95173", "Rename '@param' tag name '{0}' to '{1}'"), + Use_0: diag(95174, 3 /* Message */, "Use_0_95174", "Use `{0}`."), + Use_Number_isNaN_in_all_conditions: diag(95175, 3 /* Message */, "Use_Number_isNaN_in_all_conditions_95175", "Use `Number.isNaN` in all conditions."), + Convert_typedef_to_TypeScript_type: diag(95176, 3 /* Message */, "Convert_typedef_to_TypeScript_type_95176", "Convert typedef to TypeScript type."), + Convert_all_typedef_to_TypeScript_types: diag(95177, 3 /* Message */, "Convert_all_typedef_to_TypeScript_types_95177", "Convert all typedef to TypeScript types."), + Move_to_file: diag(95178, 3 /* Message */, "Move_to_file_95178", "Move to file"), + Cannot_move_to_file_selected_file_is_invalid: diag(95179, 3 /* Message */, "Cannot_move_to_file_selected_file_is_invalid_95179", "Cannot move to file, selected file is invalid"), + Use_import_type: diag(95180, 3 /* Message */, "Use_import_type_95180", "Use 'import type'"), + Use_type_0: diag(95181, 3 /* Message */, "Use_type_0_95181", "Use 'type {0}'"), + Fix_all_with_type_only_imports: diag(95182, 3 /* Message */, "Fix_all_with_type_only_imports_95182", "Fix all with type-only imports"), + Cannot_move_statements_to_the_selected_file: diag(95183, 3 /* Message */, "Cannot_move_statements_to_the_selected_file_95183", "Cannot move statements to the selected file"), + Inline_variable: diag(95184, 3 /* Message */, "Inline_variable_95184", "Inline variable"), + Could_not_find_variable_to_inline: diag(95185, 3 /* Message */, "Could_not_find_variable_to_inline_95185", "Could not find variable to inline."), + Variables_with_multiple_declarations_cannot_be_inlined: diag(95186, 3 /* Message */, "Variables_with_multiple_declarations_cannot_be_inlined_95186", "Variables with multiple declarations cannot be inlined."), + Add_missing_comma_for_object_member_completion_0: diag(95187, 3 /* Message */, "Add_missing_comma_for_object_member_completion_0_95187", "Add missing comma for object member completion '{0}'."), + Add_missing_parameter_to_0: diag(95188, 3 /* Message */, "Add_missing_parameter_to_0_95188", "Add missing parameter to '{0}'"), + Add_missing_parameters_to_0: diag(95189, 3 /* Message */, "Add_missing_parameters_to_0_95189", "Add missing parameters to '{0}'"), + Add_all_missing_parameters: diag(95190, 3 /* Message */, "Add_all_missing_parameters_95190", "Add all missing parameters"), + Add_optional_parameter_to_0: diag(95191, 3 /* Message */, "Add_optional_parameter_to_0_95191", "Add optional parameter to '{0}'"), + Add_optional_parameters_to_0: diag(95192, 3 /* Message */, "Add_optional_parameters_to_0_95192", "Add optional parameters to '{0}'"), + Add_all_optional_parameters: diag(95193, 3 /* Message */, "Add_all_optional_parameters_95193", "Add all optional parameters"), + Wrap_in_parentheses: diag(95194, 3 /* Message */, "Wrap_in_parentheses_95194", "Wrap in parentheses"), + Wrap_all_invalid_decorator_expressions_in_parentheses: diag(95195, 3 /* Message */, "Wrap_all_invalid_decorator_expressions_in_parentheses_95195", "Wrap all invalid decorator expressions in parentheses"), + Add_resolution_mode_import_attribute: diag(95196, 3 /* Message */, "Add_resolution_mode_import_attribute_95196", "Add 'resolution-mode' import attribute"), + Add_resolution_mode_import_attribute_to_all_type_only_imports_that_need_it: diag(95197, 3 /* Message */, "Add_resolution_mode_import_attribute_to_all_type_only_imports_that_need_it_95197", "Add 'resolution-mode' import attribute to all type-only imports that need it"), + No_value_exists_in_scope_for_the_shorthand_property_0_Either_declare_one_or_provide_an_initializer: diag(18004, 1 /* 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: diag(18006, 1 /* 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: diag(18007, 1 /* 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: diag(18009, 1 /* 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: diag(18010, 1 /* 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: diag(18011, 1 /* 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: diag(18012, 1 /* 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: diag(18013, 1 /* 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: diag(18014, 1 /* 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: diag(18015, 1 /* 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: diag(18016, 1 /* 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: diag(18017, 1 /* 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: diag(18018, 1 /* 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: diag(18019, 1 /* 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: diag(18024, 1 /* 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: diag(18026, 1 /* 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: diag(18027, 1 /* 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: diag(18028, 1 /* 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: diag(18029, 1 /* 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: diag(18030, 1 /* 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: diag(18031, 1 /* 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: diag(18032, 1 /* 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."), + Type_0_is_not_assignable_to_type_1_as_required_for_computed_enum_member_values: diag(18033, 1 /* Error */, "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: diag(18034, 3 /* 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: diag(18035, 1 /* 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: diag(18036, 1 /* 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: diag(18037, 1 /* 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: diag(18038, 1 /* 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: diag(18039, 1 /* 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: diag(18041, 1 /* Error */, "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: diag(18042, 1 /* Error */, "_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: diag(18043, 1 /* Error */, "Types_cannot_appear_in_export_declarations_in_JavaScript_files_18043", "Types cannot appear in export declarations in JavaScript files."), + _0_is_automatically_exported_here: diag(18044, 3 /* Message */, "_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: diag(18045, 1 /* Error */, "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: diag(18046, 1 /* Error */, "_0_is_of_type_unknown_18046", "'{0}' is of type 'unknown'."), + _0_is_possibly_null: diag(18047, 1 /* Error */, "_0_is_possibly_null_18047", "'{0}' is possibly 'null'."), + _0_is_possibly_undefined: diag(18048, 1 /* Error */, "_0_is_possibly_undefined_18048", "'{0}' is possibly 'undefined'."), + _0_is_possibly_null_or_undefined: diag(18049, 1 /* Error */, "_0_is_possibly_null_or_undefined_18049", "'{0}' is possibly 'null' or 'undefined'."), + The_value_0_cannot_be_used_here: diag(18050, 1 /* Error */, "The_value_0_cannot_be_used_here_18050", "The value '{0}' cannot be used here."), + Compiler_option_0_cannot_be_given_an_empty_string: diag(18051, 1 /* Error */, "Compiler_option_0_cannot_be_given_an_empty_string_18051", "Compiler option '{0}' cannot be given an empty string."), + Its_type_0_is_not_a_valid_JSX_element_type: diag(18053, 1 /* Error */, "Its_type_0_is_not_a_valid_JSX_element_type_18053", "Its type '{0}' is not a valid JSX element type."), + await_using_statements_cannot_be_used_inside_a_class_static_block: diag(18054, 1 /* Error */, "await_using_statements_cannot_be_used_inside_a_class_static_block_18054", "'await using' statements cannot be used inside a class static block."), + _0_has_a_string_type_but_must_have_syntactically_recognizable_string_syntax_when_isolatedModules_is_enabled: diag(18055, 1 /* Error */, "_0_has_a_string_type_but_must_have_syntactically_recognizable_string_syntax_when_isolatedModules_is__18055", "'{0}' has a string type, but must have syntactically recognizable string syntax when 'isolatedModules' is enabled."), + Enum_member_following_a_non_literal_numeric_member_must_have_an_initializer_when_isolatedModules_is_enabled: diag(18056, 1 /* Error */, "Enum_member_following_a_non_literal_numeric_member_must_have_an_initializer_when_isolatedModules_is__18056", "Enum member following a non-literal numeric member must have an initializer when 'isolatedModules' is enabled."), + String_literal_import_and_export_names_are_not_supported_when_the_module_flag_is_set_to_es2015_or_es2020: diag(18057, 1 /* Error */, "String_literal_import_and_export_names_are_not_supported_when_the_module_flag_is_set_to_es2015_or_es_18057", "String literal import and export names are not supported when the '--module' flag is set to 'es2015' or 'es2020'.") +}; + +// src/compiler/scanner.ts +function tokenIsIdentifierOrKeyword(token) { + return token >= 80 /* Identifier */; +} +function tokenIsIdentifierOrKeywordOrGreaterThan(token) { + return token === 32 /* GreaterThanToken */ || tokenIsIdentifierOrKeyword(token); +} +var textToKeywordObj = { + abstract: 128 /* AbstractKeyword */, + accessor: 129 /* AccessorKeyword */, + any: 133 /* AnyKeyword */, + as: 130 /* AsKeyword */, + asserts: 131 /* AssertsKeyword */, + assert: 132 /* AssertKeyword */, + bigint: 163 /* BigIntKeyword */, + boolean: 136 /* BooleanKeyword */, + break: 83 /* BreakKeyword */, + case: 84 /* CaseKeyword */, + catch: 85 /* CatchKeyword */, + class: 86 /* ClassKeyword */, + continue: 88 /* ContinueKeyword */, + const: 87 /* ConstKeyword */, + ["constructor"]: 137 /* ConstructorKeyword */, + debugger: 89 /* DebuggerKeyword */, + declare: 138 /* DeclareKeyword */, + default: 90 /* DefaultKeyword */, + delete: 91 /* DeleteKeyword */, + do: 92 /* DoKeyword */, + else: 93 /* ElseKeyword */, + enum: 94 /* EnumKeyword */, + export: 95 /* ExportKeyword */, + extends: 96 /* ExtendsKeyword */, + false: 97 /* FalseKeyword */, + finally: 98 /* FinallyKeyword */, + for: 99 /* ForKeyword */, + from: 161 /* FromKeyword */, + function: 100 /* FunctionKeyword */, + get: 139 /* GetKeyword */, + if: 101 /* IfKeyword */, + implements: 119 /* ImplementsKeyword */, + import: 102 /* ImportKeyword */, + in: 103 /* InKeyword */, + infer: 140 /* InferKeyword */, + instanceof: 104 /* InstanceOfKeyword */, + interface: 120 /* InterfaceKeyword */, + intrinsic: 141 /* IntrinsicKeyword */, + is: 142 /* IsKeyword */, + keyof: 143 /* KeyOfKeyword */, + let: 121 /* LetKeyword */, + module: 144 /* ModuleKeyword */, + namespace: 145 /* NamespaceKeyword */, + never: 146 /* NeverKeyword */, + new: 105 /* NewKeyword */, + null: 106 /* NullKeyword */, + number: 150 /* NumberKeyword */, + object: 151 /* ObjectKeyword */, + package: 122 /* PackageKeyword */, + private: 123 /* PrivateKeyword */, + protected: 124 /* ProtectedKeyword */, + public: 125 /* PublicKeyword */, + override: 164 /* OverrideKeyword */, + out: 147 /* OutKeyword */, + readonly: 148 /* ReadonlyKeyword */, + require: 149 /* RequireKeyword */, + global: 162 /* GlobalKeyword */, + return: 107 /* ReturnKeyword */, + satisfies: 152 /* SatisfiesKeyword */, + set: 153 /* SetKeyword */, + static: 126 /* StaticKeyword */, + string: 154 /* StringKeyword */, + super: 108 /* SuperKeyword */, + switch: 109 /* SwitchKeyword */, + symbol: 155 /* SymbolKeyword */, + this: 110 /* ThisKeyword */, + throw: 111 /* ThrowKeyword */, + true: 112 /* TrueKeyword */, + try: 113 /* TryKeyword */, + type: 156 /* TypeKeyword */, + typeof: 114 /* TypeOfKeyword */, + undefined: 157 /* UndefinedKeyword */, + unique: 158 /* UniqueKeyword */, + unknown: 159 /* UnknownKeyword */, + using: 160 /* UsingKeyword */, + var: 115 /* VarKeyword */, + void: 116 /* VoidKeyword */, + while: 117 /* WhileKeyword */, + with: 118 /* WithKeyword */, + yield: 127 /* YieldKeyword */, + async: 134 /* AsyncKeyword */, + await: 135 /* AwaitKeyword */, + of: 165 /* OfKeyword */ +}; +var textToKeyword = new Map(Object.entries(textToKeywordObj)); +var textToToken = new Map(Object.entries({ + ...textToKeywordObj, + "{": 19 /* OpenBraceToken */, + "}": 20 /* CloseBraceToken */, + "(": 21 /* OpenParenToken */, + ")": 22 /* CloseParenToken */, + "[": 23 /* OpenBracketToken */, + "]": 24 /* CloseBracketToken */, + ".": 25 /* DotToken */, + "...": 26 /* DotDotDotToken */, + ";": 27 /* SemicolonToken */, + ",": 28 /* CommaToken */, + "<": 30 /* LessThanToken */, + ">": 32 /* GreaterThanToken */, + "<=": 33 /* LessThanEqualsToken */, + ">=": 34 /* GreaterThanEqualsToken */, + "==": 35 /* EqualsEqualsToken */, + "!=": 36 /* ExclamationEqualsToken */, + "===": 37 /* EqualsEqualsEqualsToken */, + "!==": 38 /* ExclamationEqualsEqualsToken */, + "=>": 39 /* EqualsGreaterThanToken */, + "+": 40 /* PlusToken */, + "-": 41 /* MinusToken */, + "**": 43 /* AsteriskAsteriskToken */, + "*": 42 /* AsteriskToken */, + "/": 44 /* SlashToken */, + "%": 45 /* PercentToken */, + "++": 46 /* PlusPlusToken */, + "--": 47 /* MinusMinusToken */, + "<<": 48 /* LessThanLessThanToken */, + ">": 49 /* GreaterThanGreaterThanToken */, + ">>>": 50 /* GreaterThanGreaterThanGreaterThanToken */, + "&": 51 /* AmpersandToken */, + "|": 52 /* BarToken */, + "^": 53 /* CaretToken */, + "!": 54 /* ExclamationToken */, + "~": 55 /* TildeToken */, + "&&": 56 /* AmpersandAmpersandToken */, + "||": 57 /* BarBarToken */, + "?": 58 /* QuestionToken */, + "??": 61 /* QuestionQuestionToken */, + "?.": 29 /* QuestionDotToken */, + ":": 59 /* ColonToken */, + "=": 64 /* EqualsToken */, + "+=": 65 /* PlusEqualsToken */, + "-=": 66 /* MinusEqualsToken */, + "*=": 67 /* AsteriskEqualsToken */, + "**=": 68 /* AsteriskAsteriskEqualsToken */, + "/=": 69 /* SlashEqualsToken */, + "%=": 70 /* PercentEqualsToken */, + "<<=": 71 /* LessThanLessThanEqualsToken */, + ">>=": 72 /* GreaterThanGreaterThanEqualsToken */, + ">>>=": 73 /* GreaterThanGreaterThanGreaterThanEqualsToken */, + "&=": 74 /* AmpersandEqualsToken */, + "|=": 75 /* BarEqualsToken */, + "^=": 79 /* CaretEqualsToken */, + "||=": 76 /* BarBarEqualsToken */, + "&&=": 77 /* AmpersandAmpersandEqualsToken */, + "??=": 78 /* QuestionQuestionEqualsToken */, + "@": 60 /* AtToken */, + "#": 63 /* HashToken */, + "`": 62 /* BacktickToken */ +})); +var charCodeToRegExpFlag = /* @__PURE__ */ new Map([ + [100 /* d */, 1 /* HasIndices */], + [103 /* g */, 2 /* Global */], + [105 /* i */, 4 /* IgnoreCase */], + [109 /* m */, 8 /* Multiline */], + [115 /* s */, 16 /* DotAll */], + [117 /* u */, 32 /* Unicode */], + [118 /* v */, 64 /* UnicodeSets */], + [121 /* y */, 128 /* Sticky */] +]); +var regExpFlagToFirstAvailableLanguageVersion = /* @__PURE__ */ new Map([ + [1 /* HasIndices */, LanguageFeatureMinimumTarget.RegularExpressionFlagsHasIndices], + [16 /* DotAll */, LanguageFeatureMinimumTarget.RegularExpressionFlagsDotAll], + [32 /* Unicode */, LanguageFeatureMinimumTarget.RegularExpressionFlagsUnicode], + [64 /* UnicodeSets */, LanguageFeatureMinimumTarget.RegularExpressionFlagsUnicodeSets], + [128 /* Sticky */, LanguageFeatureMinimumTarget.RegularExpressionFlagsSticky] +]); +var unicodeES5IdentifierStart = [170, 170, 181, 181, 186, 186, 192, 214, 216, 246, 248, 705, 710, 721, 736, 740, 748, 748, 750, 750, 880, 884, 886, 887, 890, 893, 902, 902, 904, 906, 908, 908, 910, 929, 931, 1013, 1015, 1153, 1162, 1319, 1329, 1366, 1369, 1369, 1377, 1415, 1488, 1514, 1520, 1522, 1568, 1610, 1646, 1647, 1649, 1747, 1749, 1749, 1765, 1766, 1774, 1775, 1786, 1788, 1791, 1791, 1808, 1808, 1810, 1839, 1869, 1957, 1969, 1969, 1994, 2026, 2036, 2037, 2042, 2042, 2048, 2069, 2074, 2074, 2084, 2084, 2088, 2088, 2112, 2136, 2208, 2208, 2210, 2220, 2308, 2361, 2365, 2365, 2384, 2384, 2392, 2401, 2417, 2423, 2425, 2431, 2437, 2444, 2447, 2448, 2451, 2472, 2474, 2480, 2482, 2482, 2486, 2489, 2493, 2493, 2510, 2510, 2524, 2525, 2527, 2529, 2544, 2545, 2565, 2570, 2575, 2576, 2579, 2600, 2602, 2608, 2610, 2611, 2613, 2614, 2616, 2617, 2649, 2652, 2654, 2654, 2674, 2676, 2693, 2701, 2703, 2705, 2707, 2728, 2730, 2736, 2738, 2739, 2741, 2745, 2749, 2749, 2768, 2768, 2784, 2785, 2821, 2828, 2831, 2832, 2835, 2856, 2858, 2864, 2866, 2867, 2869, 2873, 2877, 2877, 2908, 2909, 2911, 2913, 2929, 2929, 2947, 2947, 2949, 2954, 2958, 2960, 2962, 2965, 2969, 2970, 2972, 2972, 2974, 2975, 2979, 2980, 2984, 2986, 2990, 3001, 3024, 3024, 3077, 3084, 3086, 3088, 3090, 3112, 3114, 3123, 3125, 3129, 3133, 3133, 3160, 3161, 3168, 3169, 3205, 3212, 3214, 3216, 3218, 3240, 3242, 3251, 3253, 3257, 3261, 3261, 3294, 3294, 3296, 3297, 3313, 3314, 3333, 3340, 3342, 3344, 3346, 3386, 3389, 3389, 3406, 3406, 3424, 3425, 3450, 3455, 3461, 3478, 3482, 3505, 3507, 3515, 3517, 3517, 3520, 3526, 3585, 3632, 3634, 3635, 3648, 3654, 3713, 3714, 3716, 3716, 3719, 3720, 3722, 3722, 3725, 3725, 3732, 3735, 3737, 3743, 3745, 3747, 3749, 3749, 3751, 3751, 3754, 3755, 3757, 3760, 3762, 3763, 3773, 3773, 3776, 3780, 3782, 3782, 3804, 3807, 3840, 3840, 3904, 3911, 3913, 3948, 3976, 3980, 4096, 4138, 4159, 4159, 4176, 4181, 4186, 4189, 4193, 4193, 4197, 4198, 4206, 4208, 4213, 4225, 4238, 4238, 4256, 4293, 4295, 4295, 4301, 4301, 4304, 4346, 4348, 4680, 4682, 4685, 4688, 4694, 4696, 4696, 4698, 4701, 4704, 4744, 4746, 4749, 4752, 4784, 4786, 4789, 4792, 4798, 4800, 4800, 4802, 4805, 4808, 4822, 4824, 4880, 4882, 4885, 4888, 4954, 4992, 5007, 5024, 5108, 5121, 5740, 5743, 5759, 5761, 5786, 5792, 5866, 5870, 5872, 5888, 5900, 5902, 5905, 5920, 5937, 5952, 5969, 5984, 5996, 5998, 6e3, 6016, 6067, 6103, 6103, 6108, 6108, 6176, 6263, 6272, 6312, 6314, 6314, 6320, 6389, 6400, 6428, 6480, 6509, 6512, 6516, 6528, 6571, 6593, 6599, 6656, 6678, 6688, 6740, 6823, 6823, 6917, 6963, 6981, 6987, 7043, 7072, 7086, 7087, 7098, 7141, 7168, 7203, 7245, 7247, 7258, 7293, 7401, 7404, 7406, 7409, 7413, 7414, 7424, 7615, 7680, 7957, 7960, 7965, 7968, 8005, 8008, 8013, 8016, 8023, 8025, 8025, 8027, 8027, 8029, 8029, 8031, 8061, 8064, 8116, 8118, 8124, 8126, 8126, 8130, 8132, 8134, 8140, 8144, 8147, 8150, 8155, 8160, 8172, 8178, 8180, 8182, 8188, 8305, 8305, 8319, 8319, 8336, 8348, 8450, 8450, 8455, 8455, 8458, 8467, 8469, 8469, 8473, 8477, 8484, 8484, 8486, 8486, 8488, 8488, 8490, 8493, 8495, 8505, 8508, 8511, 8517, 8521, 8526, 8526, 8544, 8584, 11264, 11310, 11312, 11358, 11360, 11492, 11499, 11502, 11506, 11507, 11520, 11557, 11559, 11559, 11565, 11565, 11568, 11623, 11631, 11631, 11648, 11670, 11680, 11686, 11688, 11694, 11696, 11702, 11704, 11710, 11712, 11718, 11720, 11726, 11728, 11734, 11736, 11742, 11823, 11823, 12293, 12295, 12321, 12329, 12337, 12341, 12344, 12348, 12353, 12438, 12445, 12447, 12449, 12538, 12540, 12543, 12549, 12589, 12593, 12686, 12704, 12730, 12784, 12799, 13312, 19893, 19968, 40908, 40960, 42124, 42192, 42237, 42240, 42508, 42512, 42527, 42538, 42539, 42560, 42606, 42623, 42647, 42656, 42735, 42775, 42783, 42786, 42888, 42891, 42894, 42896, 42899, 42912, 42922, 43e3, 43009, 43011, 43013, 43015, 43018, 43020, 43042, 43072, 43123, 43138, 43187, 43250, 43255, 43259, 43259, 43274, 43301, 43312, 43334, 43360, 43388, 43396, 43442, 43471, 43471, 43520, 43560, 43584, 43586, 43588, 43595, 43616, 43638, 43642, 43642, 43648, 43695, 43697, 43697, 43701, 43702, 43705, 43709, 43712, 43712, 43714, 43714, 43739, 43741, 43744, 43754, 43762, 43764, 43777, 43782, 43785, 43790, 43793, 43798, 43808, 43814, 43816, 43822, 43968, 44002, 44032, 55203, 55216, 55238, 55243, 55291, 63744, 64109, 64112, 64217, 64256, 64262, 64275, 64279, 64285, 64285, 64287, 64296, 64298, 64310, 64312, 64316, 64318, 64318, 64320, 64321, 64323, 64324, 64326, 64433, 64467, 64829, 64848, 64911, 64914, 64967, 65008, 65019, 65136, 65140, 65142, 65276, 65313, 65338, 65345, 65370, 65382, 65470, 65474, 65479, 65482, 65487, 65490, 65495, 65498, 65500]; +var unicodeES5IdentifierPart = [170, 170, 181, 181, 186, 186, 192, 214, 216, 246, 248, 705, 710, 721, 736, 740, 748, 748, 750, 750, 768, 884, 886, 887, 890, 893, 902, 902, 904, 906, 908, 908, 910, 929, 931, 1013, 1015, 1153, 1155, 1159, 1162, 1319, 1329, 1366, 1369, 1369, 1377, 1415, 1425, 1469, 1471, 1471, 1473, 1474, 1476, 1477, 1479, 1479, 1488, 1514, 1520, 1522, 1552, 1562, 1568, 1641, 1646, 1747, 1749, 1756, 1759, 1768, 1770, 1788, 1791, 1791, 1808, 1866, 1869, 1969, 1984, 2037, 2042, 2042, 2048, 2093, 2112, 2139, 2208, 2208, 2210, 2220, 2276, 2302, 2304, 2403, 2406, 2415, 2417, 2423, 2425, 2431, 2433, 2435, 2437, 2444, 2447, 2448, 2451, 2472, 2474, 2480, 2482, 2482, 2486, 2489, 2492, 2500, 2503, 2504, 2507, 2510, 2519, 2519, 2524, 2525, 2527, 2531, 2534, 2545, 2561, 2563, 2565, 2570, 2575, 2576, 2579, 2600, 2602, 2608, 2610, 2611, 2613, 2614, 2616, 2617, 2620, 2620, 2622, 2626, 2631, 2632, 2635, 2637, 2641, 2641, 2649, 2652, 2654, 2654, 2662, 2677, 2689, 2691, 2693, 2701, 2703, 2705, 2707, 2728, 2730, 2736, 2738, 2739, 2741, 2745, 2748, 2757, 2759, 2761, 2763, 2765, 2768, 2768, 2784, 2787, 2790, 2799, 2817, 2819, 2821, 2828, 2831, 2832, 2835, 2856, 2858, 2864, 2866, 2867, 2869, 2873, 2876, 2884, 2887, 2888, 2891, 2893, 2902, 2903, 2908, 2909, 2911, 2915, 2918, 2927, 2929, 2929, 2946, 2947, 2949, 2954, 2958, 2960, 2962, 2965, 2969, 2970, 2972, 2972, 2974, 2975, 2979, 2980, 2984, 2986, 2990, 3001, 3006, 3010, 3014, 3016, 3018, 3021, 3024, 3024, 3031, 3031, 3046, 3055, 3073, 3075, 3077, 3084, 3086, 3088, 3090, 3112, 3114, 3123, 3125, 3129, 3133, 3140, 3142, 3144, 3146, 3149, 3157, 3158, 3160, 3161, 3168, 3171, 3174, 3183, 3202, 3203, 3205, 3212, 3214, 3216, 3218, 3240, 3242, 3251, 3253, 3257, 3260, 3268, 3270, 3272, 3274, 3277, 3285, 3286, 3294, 3294, 3296, 3299, 3302, 3311, 3313, 3314, 3330, 3331, 3333, 3340, 3342, 3344, 3346, 3386, 3389, 3396, 3398, 3400, 3402, 3406, 3415, 3415, 3424, 3427, 3430, 3439, 3450, 3455, 3458, 3459, 3461, 3478, 3482, 3505, 3507, 3515, 3517, 3517, 3520, 3526, 3530, 3530, 3535, 3540, 3542, 3542, 3544, 3551, 3570, 3571, 3585, 3642, 3648, 3662, 3664, 3673, 3713, 3714, 3716, 3716, 3719, 3720, 3722, 3722, 3725, 3725, 3732, 3735, 3737, 3743, 3745, 3747, 3749, 3749, 3751, 3751, 3754, 3755, 3757, 3769, 3771, 3773, 3776, 3780, 3782, 3782, 3784, 3789, 3792, 3801, 3804, 3807, 3840, 3840, 3864, 3865, 3872, 3881, 3893, 3893, 3895, 3895, 3897, 3897, 3902, 3911, 3913, 3948, 3953, 3972, 3974, 3991, 3993, 4028, 4038, 4038, 4096, 4169, 4176, 4253, 4256, 4293, 4295, 4295, 4301, 4301, 4304, 4346, 4348, 4680, 4682, 4685, 4688, 4694, 4696, 4696, 4698, 4701, 4704, 4744, 4746, 4749, 4752, 4784, 4786, 4789, 4792, 4798, 4800, 4800, 4802, 4805, 4808, 4822, 4824, 4880, 4882, 4885, 4888, 4954, 4957, 4959, 4992, 5007, 5024, 5108, 5121, 5740, 5743, 5759, 5761, 5786, 5792, 5866, 5870, 5872, 5888, 5900, 5902, 5908, 5920, 5940, 5952, 5971, 5984, 5996, 5998, 6e3, 6002, 6003, 6016, 6099, 6103, 6103, 6108, 6109, 6112, 6121, 6155, 6157, 6160, 6169, 6176, 6263, 6272, 6314, 6320, 6389, 6400, 6428, 6432, 6443, 6448, 6459, 6470, 6509, 6512, 6516, 6528, 6571, 6576, 6601, 6608, 6617, 6656, 6683, 6688, 6750, 6752, 6780, 6783, 6793, 6800, 6809, 6823, 6823, 6912, 6987, 6992, 7001, 7019, 7027, 7040, 7155, 7168, 7223, 7232, 7241, 7245, 7293, 7376, 7378, 7380, 7414, 7424, 7654, 7676, 7957, 7960, 7965, 7968, 8005, 8008, 8013, 8016, 8023, 8025, 8025, 8027, 8027, 8029, 8029, 8031, 8061, 8064, 8116, 8118, 8124, 8126, 8126, 8130, 8132, 8134, 8140, 8144, 8147, 8150, 8155, 8160, 8172, 8178, 8180, 8182, 8188, 8204, 8205, 8255, 8256, 8276, 8276, 8305, 8305, 8319, 8319, 8336, 8348, 8400, 8412, 8417, 8417, 8421, 8432, 8450, 8450, 8455, 8455, 8458, 8467, 8469, 8469, 8473, 8477, 8484, 8484, 8486, 8486, 8488, 8488, 8490, 8493, 8495, 8505, 8508, 8511, 8517, 8521, 8526, 8526, 8544, 8584, 11264, 11310, 11312, 11358, 11360, 11492, 11499, 11507, 11520, 11557, 11559, 11559, 11565, 11565, 11568, 11623, 11631, 11631, 11647, 11670, 11680, 11686, 11688, 11694, 11696, 11702, 11704, 11710, 11712, 11718, 11720, 11726, 11728, 11734, 11736, 11742, 11744, 11775, 11823, 11823, 12293, 12295, 12321, 12335, 12337, 12341, 12344, 12348, 12353, 12438, 12441, 12442, 12445, 12447, 12449, 12538, 12540, 12543, 12549, 12589, 12593, 12686, 12704, 12730, 12784, 12799, 13312, 19893, 19968, 40908, 40960, 42124, 42192, 42237, 42240, 42508, 42512, 42539, 42560, 42607, 42612, 42621, 42623, 42647, 42655, 42737, 42775, 42783, 42786, 42888, 42891, 42894, 42896, 42899, 42912, 42922, 43e3, 43047, 43072, 43123, 43136, 43204, 43216, 43225, 43232, 43255, 43259, 43259, 43264, 43309, 43312, 43347, 43360, 43388, 43392, 43456, 43471, 43481, 43520, 43574, 43584, 43597, 43600, 43609, 43616, 43638, 43642, 43643, 43648, 43714, 43739, 43741, 43744, 43759, 43762, 43766, 43777, 43782, 43785, 43790, 43793, 43798, 43808, 43814, 43816, 43822, 43968, 44010, 44012, 44013, 44016, 44025, 44032, 55203, 55216, 55238, 55243, 55291, 63744, 64109, 64112, 64217, 64256, 64262, 64275, 64279, 64285, 64296, 64298, 64310, 64312, 64316, 64318, 64318, 64320, 64321, 64323, 64324, 64326, 64433, 64467, 64829, 64848, 64911, 64914, 64967, 65008, 65019, 65024, 65039, 65056, 65062, 65075, 65076, 65101, 65103, 65136, 65140, 65142, 65276, 65296, 65305, 65313, 65338, 65343, 65343, 65345, 65370, 65382, 65470, 65474, 65479, 65482, 65487, 65490, 65495, 65498, 65500]; +var unicodeESNextIdentifierStart = [65, 90, 97, 122, 170, 170, 181, 181, 186, 186, 192, 214, 216, 246, 248, 705, 710, 721, 736, 740, 748, 748, 750, 750, 880, 884, 886, 887, 890, 893, 895, 895, 902, 902, 904, 906, 908, 908, 910, 929, 931, 1013, 1015, 1153, 1162, 1327, 1329, 1366, 1369, 1369, 1376, 1416, 1488, 1514, 1519, 1522, 1568, 1610, 1646, 1647, 1649, 1747, 1749, 1749, 1765, 1766, 1774, 1775, 1786, 1788, 1791, 1791, 1808, 1808, 1810, 1839, 1869, 1957, 1969, 1969, 1994, 2026, 2036, 2037, 2042, 2042, 2048, 2069, 2074, 2074, 2084, 2084, 2088, 2088, 2112, 2136, 2144, 2154, 2160, 2183, 2185, 2190, 2208, 2249, 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, 3165, 3165, 3168, 3169, 3200, 3200, 3205, 3212, 3214, 3216, 3218, 3240, 3242, 3251, 3253, 3257, 3261, 3261, 3293, 3294, 3296, 3297, 3313, 3314, 3332, 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, 5905, 5919, 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, 6988, 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, 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, 12735, 12784, 12799, 13312, 19903, 19968, 42124, 42192, 42237, 42240, 42508, 42512, 42527, 42538, 42539, 42560, 42606, 42623, 42653, 42656, 42735, 42775, 42783, 42786, 42888, 42891, 42954, 42960, 42961, 42963, 42963, 42965, 42969, 42994, 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, 43881, 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, 66928, 66938, 66940, 66954, 66956, 66962, 66964, 66965, 66967, 66977, 66979, 66993, 66995, 67001, 67003, 67004, 67072, 67382, 67392, 67413, 67424, 67431, 67456, 67461, 67463, 67504, 67506, 67514, 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, 69248, 69289, 69296, 69297, 69376, 69404, 69415, 69415, 69424, 69445, 69488, 69505, 69552, 69572, 69600, 69622, 69635, 69687, 69745, 69746, 69749, 69749, 69763, 69807, 69840, 69864, 69891, 69926, 69956, 69956, 69959, 69959, 69968, 70002, 70006, 70006, 70019, 70066, 70081, 70084, 70106, 70106, 70108, 70108, 70144, 70161, 70163, 70187, 70207, 70208, 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, 70753, 70784, 70831, 70852, 70853, 70855, 70855, 71040, 71086, 71128, 71131, 71168, 71215, 71236, 71236, 71296, 71338, 71352, 71352, 71424, 71450, 71488, 71494, 71680, 71723, 71840, 71903, 71935, 71942, 71945, 71945, 71948, 71955, 71957, 71958, 71960, 71983, 71999, 71999, 72001, 72001, 72096, 72103, 72106, 72144, 72161, 72161, 72163, 72163, 72192, 72192, 72203, 72242, 72250, 72250, 72272, 72272, 72284, 72329, 72349, 72349, 72368, 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, 73474, 73474, 73476, 73488, 73490, 73523, 73648, 73648, 73728, 74649, 74752, 74862, 74880, 75075, 77712, 77808, 77824, 78895, 78913, 78918, 82944, 83526, 92160, 92728, 92736, 92766, 92784, 92862, 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, 101589, 101632, 101640, 110576, 110579, 110581, 110587, 110589, 110590, 110592, 110882, 110898, 110898, 110928, 110930, 110933, 110933, 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, 122624, 122654, 122661, 122666, 122928, 122989, 123136, 123180, 123191, 123197, 123214, 123214, 123536, 123565, 123584, 123627, 124112, 124139, 124896, 124902, 124904, 124907, 124909, 124910, 124912, 124926, 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, 173791, 173824, 177977, 177984, 178205, 178208, 183969, 183984, 191456, 191472, 192093, 194560, 195101, 196608, 201546, 201552, 205743]; +var unicodeESNextIdentifierPart = [48, 57, 65, 90, 95, 95, 97, 122, 170, 170, 181, 181, 183, 183, 186, 186, 192, 214, 216, 246, 248, 705, 710, 721, 736, 740, 748, 748, 750, 750, 768, 884, 886, 887, 890, 893, 895, 895, 902, 906, 908, 908, 910, 929, 931, 1013, 1015, 1153, 1155, 1159, 1162, 1327, 1329, 1366, 1369, 1369, 1376, 1416, 1425, 1469, 1471, 1471, 1473, 1474, 1476, 1477, 1479, 1479, 1488, 1514, 1519, 1522, 1552, 1562, 1568, 1641, 1646, 1747, 1749, 1756, 1759, 1768, 1770, 1788, 1791, 1791, 1808, 1866, 1869, 1969, 1984, 2037, 2042, 2042, 2045, 2045, 2048, 2093, 2112, 2139, 2144, 2154, 2160, 2183, 2185, 2190, 2200, 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, 2901, 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, 3132, 3140, 3142, 3144, 3146, 3149, 3157, 3158, 3160, 3162, 3165, 3165, 3168, 3171, 3174, 3183, 3200, 3203, 3205, 3212, 3214, 3216, 3218, 3240, 3242, 3251, 3253, 3257, 3260, 3268, 3270, 3272, 3274, 3277, 3285, 3286, 3293, 3294, 3296, 3299, 3302, 3311, 3313, 3315, 3328, 3340, 3342, 3344, 3346, 3396, 3398, 3400, 3402, 3406, 3412, 3415, 3423, 3427, 3430, 3439, 3450, 3455, 3457, 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, 3790, 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, 5909, 5919, 5940, 5952, 5971, 5984, 5996, 5998, 6e3, 6002, 6003, 6016, 6099, 6103, 6103, 6108, 6109, 6112, 6121, 6155, 6157, 6159, 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, 6847, 6862, 6912, 6988, 6992, 7001, 7019, 7027, 7040, 7155, 7168, 7223, 7232, 7241, 7245, 7293, 7296, 7304, 7312, 7354, 7357, 7359, 7376, 7378, 7380, 7418, 7424, 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, 8472, 8477, 8484, 8484, 8486, 8486, 8488, 8488, 8490, 8505, 8508, 8511, 8517, 8521, 8526, 8526, 8544, 8584, 11264, 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, 12543, 12549, 12591, 12593, 12686, 12704, 12735, 12784, 12799, 13312, 19903, 19968, 42124, 42192, 42237, 42240, 42508, 42512, 42539, 42560, 42607, 42612, 42621, 42623, 42737, 42775, 42783, 42786, 42888, 42891, 42954, 42960, 42961, 42963, 42963, 42965, 42969, 42994, 43047, 43052, 43052, 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, 43881, 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, 65381, 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, 66928, 66938, 66940, 66954, 66956, 66962, 66964, 66965, 66967, 66977, 66979, 66993, 66995, 67001, 67003, 67004, 67072, 67382, 67392, 67413, 67424, 67431, 67456, 67461, 67463, 67504, 67506, 67514, 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, 69248, 69289, 69291, 69292, 69296, 69297, 69373, 69404, 69415, 69415, 69424, 69456, 69488, 69509, 69552, 69572, 69600, 69622, 69632, 69702, 69734, 69749, 69759, 69818, 69826, 69826, 69840, 69864, 69872, 69881, 69888, 69940, 69942, 69951, 69956, 69959, 69968, 70003, 70006, 70006, 70016, 70084, 70089, 70092, 70094, 70106, 70108, 70108, 70144, 70161, 70163, 70199, 70206, 70209, 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, 70753, 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, 71488, 71494, 71680, 71738, 71840, 71913, 71935, 71942, 71945, 71945, 71948, 71955, 71957, 71958, 71960, 71989, 71991, 71992, 71995, 72003, 72016, 72025, 72096, 72103, 72106, 72151, 72154, 72161, 72163, 72164, 72192, 72254, 72263, 72263, 72272, 72345, 72349, 72349, 72368, 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, 73472, 73488, 73490, 73530, 73534, 73538, 73552, 73561, 73648, 73648, 73728, 74649, 74752, 74862, 74880, 75075, 77712, 77808, 77824, 78895, 78912, 78933, 82944, 83526, 92160, 92728, 92736, 92766, 92768, 92777, 92784, 92862, 92864, 92873, 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, 94180, 94192, 94193, 94208, 100343, 100352, 101589, 101632, 101640, 110576, 110579, 110581, 110587, 110589, 110590, 110592, 110882, 110898, 110898, 110928, 110930, 110933, 110933, 110948, 110951, 110960, 111355, 113664, 113770, 113776, 113788, 113792, 113800, 113808, 113817, 113821, 113822, 118528, 118573, 118576, 118598, 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, 122624, 122654, 122661, 122666, 122880, 122886, 122888, 122904, 122907, 122913, 122915, 122916, 122918, 122922, 122928, 122989, 123023, 123023, 123136, 123180, 123184, 123197, 123200, 123209, 123214, 123214, 123536, 123566, 123584, 123641, 124112, 124153, 124896, 124902, 124904, 124907, 124909, 124910, 124912, 124926, 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, 130032, 130041, 131072, 173791, 173824, 177977, 177984, 178205, 178208, 183969, 183984, 191456, 191472, 192093, 194560, 195101, 196608, 201546, 201552, 205743, 917760, 917999]; +var commentDirectiveRegExSingleLine = /^\/\/\/?\s*@(ts-expect-error|ts-ignore)/; +var commentDirectiveRegExMultiLine = /^(?:\/|\*)*\s*@(ts-expect-error|ts-ignore)/; +var jsDocSeeOrLink = /@(?:see|link)/i; +function lookupInUnicodeMap(code, map2) { + if (code < map2[0]) { + return false; + } + let lo = 0; + let hi = map2.length; + let mid; + while (lo + 1 < hi) { + mid = lo + (hi - lo) / 2; + mid -= mid % 2; + if (map2[mid] <= code && code <= map2[mid + 1]) { + return true; + } + if (code < map2[mid]) { + hi = mid; + } else { + lo = mid + 2; + } + } + return false; +} +function isUnicodeIdentifierStart(code, languageVersion) { + return languageVersion >= 2 /* ES2015 */ ? lookupInUnicodeMap(code, unicodeESNextIdentifierStart) : lookupInUnicodeMap(code, unicodeES5IdentifierStart); +} +function isUnicodeIdentifierPart(code, languageVersion) { + return languageVersion >= 2 /* ES2015 */ ? lookupInUnicodeMap(code, unicodeESNextIdentifierPart) : lookupInUnicodeMap(code, unicodeES5IdentifierPart); +} +function makeReverseMap(source) { + const result = []; + source.forEach((value, name) => { + result[value] = name; + }); + return result; +} +var tokenStrings = makeReverseMap(textToToken); +function tokenToString(t) { + return tokenStrings[t]; +} +function stringToToken(s) { + return textToToken.get(s); +} +var regExpFlagCharCodes = makeReverseMap(charCodeToRegExpFlag); +function characterCodeToRegularExpressionFlag(ch) { + return charCodeToRegExpFlag.get(ch); +} +function computeLineStarts(text) { + const result = []; + let pos = 0; + let lineStart = 0; + while (pos < text.length) { + const ch = text.charCodeAt(pos); + pos++; + switch (ch) { + case 13 /* carriageReturn */: + if (text.charCodeAt(pos) === 10 /* lineFeed */) { + pos++; + } + // falls through + case 10 /* lineFeed */: + result.push(lineStart); + lineStart = pos; + break; + default: + if (ch > 127 /* maxAsciiCharacter */ && isLineBreak(ch)) { + result.push(lineStart); + lineStart = pos; + } + break; + } + } + result.push(lineStart); + return result; +} +function getPositionOfLineAndCharacter(sourceFile, line, character, allowEdits) { + return sourceFile.getPositionOfLineAndCharacter ? sourceFile.getPositionOfLineAndCharacter(line, character, allowEdits) : computePositionOfLineAndCharacter(getLineStarts(sourceFile), line, character, sourceFile.text, allowEdits); +} +function computePositionOfLineAndCharacter(lineStarts, line, character, debugText, allowEdits) { + if (line < 0 || line >= lineStarts.length) { + if (allowEdits) { + line = line < 0 ? 0 : line >= lineStarts.length ? lineStarts.length - 1 : line; + } else { + Debug.fail(`Bad line number. Line: ${line}, lineStarts.length: ${lineStarts.length} , line map is correct? ${debugText !== void 0 ? arrayIsEqualTo(lineStarts, computeLineStarts(debugText)) : "unknown"}`); + } + } + const res = lineStarts[line] + character; + if (allowEdits) { + return res > lineStarts[line + 1] ? lineStarts[line + 1] : typeof debugText === "string" && res > debugText.length ? debugText.length : res; + } + if (line < lineStarts.length - 1) { + Debug.assert(res < lineStarts[line + 1]); + } else if (debugText !== void 0) { + Debug.assert(res <= debugText.length); + } + return res; +} +function getLineStarts(sourceFile) { + return sourceFile.lineMap || (sourceFile.lineMap = computeLineStarts(sourceFile.text)); +} +function computeLineAndCharacterOfPosition(lineStarts, position) { + const lineNumber = computeLineOfPosition(lineStarts, position); + return { + line: lineNumber, + character: position - lineStarts[lineNumber] + }; +} +function computeLineOfPosition(lineStarts, position, lowerBound) { + let lineNumber = binarySearch(lineStarts, position, identity, compareValues, lowerBound); + if (lineNumber < 0) { + lineNumber = ~lineNumber - 1; + Debug.assert(lineNumber !== -1, "position cannot precede the beginning of the file"); + } + return lineNumber; +} +function getLinesBetweenPositions(sourceFile, pos1, pos2) { + if (pos1 === pos2) return 0; + const lineStarts = getLineStarts(sourceFile); + const lower = Math.min(pos1, pos2); + const isNegative = lower === pos2; + const upper = isNegative ? pos1 : pos2; + const lowerLine = computeLineOfPosition(lineStarts, lower); + const upperLine = computeLineOfPosition(lineStarts, upper, lowerLine); + return isNegative ? lowerLine - upperLine : upperLine - lowerLine; +} +function getLineAndCharacterOfPosition(sourceFile, position) { + return computeLineAndCharacterOfPosition(getLineStarts(sourceFile), position); +} +function isWhiteSpaceLike(ch) { + return isWhiteSpaceSingleLine(ch) || isLineBreak(ch); +} +function isWhiteSpaceSingleLine(ch) { + return ch === 32 /* space */ || ch === 9 /* tab */ || ch === 11 /* verticalTab */ || ch === 12 /* formFeed */ || ch === 160 /* nonBreakingSpace */ || ch === 133 /* nextLine */ || ch === 5760 /* ogham */ || ch >= 8192 /* enQuad */ && ch <= 8203 /* zeroWidthSpace */ || ch === 8239 /* narrowNoBreakSpace */ || ch === 8287 /* mathematicalSpace */ || ch === 12288 /* ideographicSpace */ || ch === 65279 /* byteOrderMark */; +} +function isLineBreak(ch) { + return ch === 10 /* lineFeed */ || ch === 13 /* carriageReturn */ || ch === 8232 /* lineSeparator */ || ch === 8233 /* paragraphSeparator */; +} +function isDigit(ch) { + return ch >= 48 /* _0 */ && ch <= 57 /* _9 */; +} +function isHexDigit(ch) { + return isDigit(ch) || ch >= 65 /* A */ && ch <= 70 /* F */ || ch >= 97 /* a */ && ch <= 102 /* f */; +} +function isASCIILetter(ch) { + return ch >= 65 /* A */ && ch <= 90 /* Z */ || ch >= 97 /* a */ && ch <= 122 /* z */; +} +function isWordCharacter(ch) { + return isASCIILetter(ch) || isDigit(ch) || ch === 95 /* _ */; +} +function isOctalDigit(ch) { + return ch >= 48 /* _0 */ && ch <= 55 /* _7 */; +} +function skipTrivia(text, pos, stopAfterLineBreak, stopAtComments, inJSDoc) { + if (positionIsSynthesized(pos)) { + return pos; + } + let canConsumeStar = false; + while (true) { + const ch = text.charCodeAt(pos); + switch (ch) { + case 13 /* carriageReturn */: + if (text.charCodeAt(pos + 1) === 10 /* lineFeed */) { + pos++; + } + // falls through + case 10 /* lineFeed */: + pos++; + if (stopAfterLineBreak) { + return pos; + } + canConsumeStar = !!inJSDoc; + continue; + case 9 /* tab */: + case 11 /* verticalTab */: + case 12 /* formFeed */: + case 32 /* space */: + pos++; + continue; + case 47 /* slash */: + if (stopAtComments) { + break; + } + if (text.charCodeAt(pos + 1) === 47 /* slash */) { + pos += 2; + while (pos < text.length) { + if (isLineBreak(text.charCodeAt(pos))) { + break; + } + pos++; + } + canConsumeStar = false; + continue; + } + if (text.charCodeAt(pos + 1) === 42 /* asterisk */) { + pos += 2; + while (pos < text.length) { + if (text.charCodeAt(pos) === 42 /* asterisk */ && text.charCodeAt(pos + 1) === 47 /* slash */) { + pos += 2; + break; + } + pos++; + } + canConsumeStar = false; + continue; + } + break; + case 60 /* lessThan */: + case 124 /* bar */: + case 61 /* equals */: + case 62 /* greaterThan */: + if (isConflictMarkerTrivia(text, pos)) { + pos = scanConflictMarkerTrivia(text, pos); + canConsumeStar = false; + continue; + } + break; + case 35 /* hash */: + if (pos === 0 && isShebangTrivia(text, pos)) { + pos = scanShebangTrivia(text, pos); + canConsumeStar = false; + continue; + } + break; + case 42 /* asterisk */: + if (canConsumeStar) { + pos++; + canConsumeStar = false; + continue; + } + break; + default: + if (ch > 127 /* maxAsciiCharacter */ && isWhiteSpaceLike(ch)) { + pos++; + continue; + } + break; + } + return pos; + } +} +var mergeConflictMarkerLength = "<<<<<<<".length; +function isConflictMarkerTrivia(text, pos) { + Debug.assert(pos >= 0); + if (pos === 0 || isLineBreak(text.charCodeAt(pos - 1))) { + const ch = text.charCodeAt(pos); + if (pos + mergeConflictMarkerLength < text.length) { + for (let i = 0; i < mergeConflictMarkerLength; i++) { + if (text.charCodeAt(pos + i) !== ch) { + return false; + } + } + return ch === 61 /* equals */ || text.charCodeAt(pos + mergeConflictMarkerLength) === 32 /* space */; + } + } + return false; +} +function scanConflictMarkerTrivia(text, pos, error) { + if (error) { + error(Diagnostics.Merge_conflict_marker_encountered, pos, mergeConflictMarkerLength); + } + const ch = text.charCodeAt(pos); + const len = text.length; + if (ch === 60 /* lessThan */ || ch === 62 /* greaterThan */) { + while (pos < len && !isLineBreak(text.charCodeAt(pos))) { + pos++; + } + } else { + Debug.assert(ch === 124 /* bar */ || ch === 61 /* equals */); + while (pos < len) { + const currentChar = text.charCodeAt(pos); + if ((currentChar === 61 /* equals */ || currentChar === 62 /* greaterThan */) && currentChar !== ch && isConflictMarkerTrivia(text, pos)) { + break; + } + pos++; + } + } + return pos; +} +var shebangTriviaRegex = /^#!.*/; +function isShebangTrivia(text, pos) { + Debug.assert(pos === 0); + return shebangTriviaRegex.test(text); +} +function scanShebangTrivia(text, pos) { + const shebang = shebangTriviaRegex.exec(text)[0]; + pos = pos + shebang.length; + return pos; +} +function iterateCommentRanges(reduce, text, pos, trailing, cb, state, initial) { + let pendingPos; + let pendingEnd; + let pendingKind; + let pendingHasTrailingNewLine; + let hasPendingCommentRange = false; + let collecting = trailing; + let accumulator = initial; + if (pos === 0) { + collecting = true; + const shebang = getShebang(text); + if (shebang) { + pos = shebang.length; + } + } + scan: + while (pos >= 0 && pos < text.length) { + const ch = text.charCodeAt(pos); + switch (ch) { + case 13 /* carriageReturn */: + if (text.charCodeAt(pos + 1) === 10 /* lineFeed */) { + pos++; + } + // falls through + case 10 /* lineFeed */: + pos++; + if (trailing) { + break scan; + } + collecting = true; + if (hasPendingCommentRange) { + pendingHasTrailingNewLine = true; + } + continue; + case 9 /* tab */: + case 11 /* verticalTab */: + case 12 /* formFeed */: + case 32 /* space */: + pos++; + continue; + case 47 /* slash */: + const nextChar = text.charCodeAt(pos + 1); + let hasTrailingNewLine = false; + if (nextChar === 47 /* slash */ || nextChar === 42 /* asterisk */) { + const kind = nextChar === 47 /* slash */ ? 2 /* SingleLineCommentTrivia */ : 3 /* MultiLineCommentTrivia */; + const startPos = pos; + pos += 2; + if (nextChar === 47 /* slash */) { + while (pos < text.length) { + if (isLineBreak(text.charCodeAt(pos))) { + hasTrailingNewLine = true; + break; + } + pos++; + } + } else { + while (pos < text.length) { + if (text.charCodeAt(pos) === 42 /* asterisk */ && text.charCodeAt(pos + 1) === 47 /* slash */) { + pos += 2; + break; + } + pos++; + } + } + if (collecting) { + if (hasPendingCommentRange) { + accumulator = cb(pendingPos, pendingEnd, pendingKind, pendingHasTrailingNewLine, state, accumulator); + if (!reduce && accumulator) { + return accumulator; + } + } + pendingPos = startPos; + pendingEnd = pos; + pendingKind = kind; + pendingHasTrailingNewLine = hasTrailingNewLine; + hasPendingCommentRange = true; + } + continue; + } + break scan; + default: + if (ch > 127 /* maxAsciiCharacter */ && isWhiteSpaceLike(ch)) { + if (hasPendingCommentRange && isLineBreak(ch)) { + pendingHasTrailingNewLine = true; + } + pos++; + continue; + } + break scan; + } + } + if (hasPendingCommentRange) { + accumulator = cb(pendingPos, pendingEnd, pendingKind, pendingHasTrailingNewLine, state, accumulator); + } + return accumulator; +} +function forEachLeadingCommentRange(text, pos, cb, state) { + return iterateCommentRanges( + /*reduce*/ + false, + text, + pos, + /*trailing*/ + false, + cb, + state + ); +} +function forEachTrailingCommentRange(text, pos, cb, state) { + return iterateCommentRanges( + /*reduce*/ + false, + text, + pos, + /*trailing*/ + true, + cb, + state + ); +} +function reduceEachLeadingCommentRange(text, pos, cb, state, initial) { + return iterateCommentRanges( + /*reduce*/ + true, + text, + pos, + /*trailing*/ + false, + cb, + state, + initial + ); +} +function reduceEachTrailingCommentRange(text, pos, cb, state, initial) { + return iterateCommentRanges( + /*reduce*/ + true, + text, + pos, + /*trailing*/ + true, + cb, + state, + initial + ); +} +function appendCommentRange(pos, end, kind, hasTrailingNewLine, _state, comments = []) { + comments.push({ kind, pos, end, hasTrailingNewLine }); + return comments; +} +function getLeadingCommentRanges(text, pos) { + return reduceEachLeadingCommentRange( + text, + pos, + appendCommentRange, + /*state*/ + void 0, + /*initial*/ + void 0 + ); +} +function getTrailingCommentRanges(text, pos) { + return reduceEachTrailingCommentRange( + text, + pos, + appendCommentRange, + /*state*/ + void 0, + /*initial*/ + void 0 + ); +} +function getShebang(text) { + const match = shebangTriviaRegex.exec(text); + if (match) { + return match[0]; + } +} +function isIdentifierStart(ch, languageVersion) { + return isASCIILetter(ch) || ch === 36 /* $ */ || ch === 95 /* _ */ || ch > 127 /* maxAsciiCharacter */ && isUnicodeIdentifierStart(ch, languageVersion); +} +function isIdentifierPart(ch, languageVersion, identifierVariant) { + return isWordCharacter(ch) || ch === 36 /* $ */ || // "-" and ":" are valid in JSX Identifiers + (identifierVariant === 1 /* JSX */ ? ch === 45 /* minus */ || ch === 58 /* colon */ : false) || ch > 127 /* maxAsciiCharacter */ && isUnicodeIdentifierPart(ch, languageVersion); +} +function isIdentifierText(name, languageVersion, identifierVariant) { + let ch = codePointAt(name, 0); + if (!isIdentifierStart(ch, languageVersion)) { + return false; + } + for (let i = charSize(ch); i < name.length; i += charSize(ch)) { + if (!isIdentifierPart(ch = codePointAt(name, i), languageVersion, identifierVariant)) { + return false; + } + } + return true; +} +function createScanner(languageVersion, skipTrivia2, languageVariant = 0 /* Standard */, textInitial, onError, start, length2) { + var text = textInitial; + var pos; + var end; + var fullStartPos; + var tokenStart; + var token; + var tokenValue; + var tokenFlags; + var commentDirectives; + var skipJsDocLeadingAsterisks = 0; + var scriptKind = 0 /* Unknown */; + var jsDocParsingMode = 0 /* ParseAll */; + setText(text, start, length2); + var scanner = { + getTokenFullStart: () => fullStartPos, + getStartPos: () => fullStartPos, + getTokenEnd: () => pos, + getTextPos: () => pos, + getToken: () => token, + getTokenStart: () => tokenStart, + getTokenPos: () => tokenStart, + getTokenText: () => text.substring(tokenStart, pos), + getTokenValue: () => tokenValue, + hasUnicodeEscape: () => (tokenFlags & 1024 /* UnicodeEscape */) !== 0, + hasExtendedUnicodeEscape: () => (tokenFlags & 8 /* ExtendedUnicodeEscape */) !== 0, + hasPrecedingLineBreak: () => (tokenFlags & 1 /* PrecedingLineBreak */) !== 0, + hasPrecedingJSDocComment: () => (tokenFlags & 2 /* PrecedingJSDocComment */) !== 0, + hasPrecedingJSDocLeadingAsterisks: () => (tokenFlags & 32768 /* PrecedingJSDocLeadingAsterisks */) !== 0, + isIdentifier: () => token === 80 /* Identifier */ || token > 118 /* LastReservedWord */, + isReservedWord: () => token >= 83 /* FirstReservedWord */ && token <= 118 /* LastReservedWord */, + isUnterminated: () => (tokenFlags & 4 /* Unterminated */) !== 0, + getCommentDirectives: () => commentDirectives, + getNumericLiteralFlags: () => tokenFlags & 25584 /* NumericLiteralFlags */, + getTokenFlags: () => tokenFlags, + reScanGreaterToken, + reScanAsteriskEqualsToken, + reScanSlashToken, + reScanTemplateToken, + reScanTemplateHeadOrNoSubstitutionTemplate, + scanJsxIdentifier, + scanJsxAttributeValue, + reScanJsxAttributeValue, + reScanJsxToken, + reScanLessThanToken, + reScanHashToken, + reScanQuestionToken, + reScanInvalidIdentifier, + scanJsxToken, + scanJsDocToken, + scanJSDocCommentTextToken, + scan, + getText, + clearCommentDirectives, + setText, + setScriptTarget, + setLanguageVariant, + setScriptKind, + setJSDocParsingMode, + setOnError, + resetTokenState, + setTextPos: resetTokenState, + setSkipJsDocLeadingAsterisks, + tryScan, + lookAhead, + scanRange + }; + if (Debug.isDebugging) { + Object.defineProperty(scanner, "__debugShowCurrentPositionInText", { + get: () => { + const text2 = scanner.getText(); + return text2.slice(0, scanner.getTokenFullStart()) + "\u2551" + text2.slice(scanner.getTokenFullStart()); + } + }); + } + return scanner; + function codePointUnchecked(pos2) { + return codePointAt(text, pos2); + } + function codePointChecked(pos2) { + return pos2 >= 0 && pos2 < end ? codePointUnchecked(pos2) : -1 /* EOF */; + } + function charCodeUnchecked(pos2) { + return text.charCodeAt(pos2); + } + function charCodeChecked(pos2) { + return pos2 >= 0 && pos2 < end ? charCodeUnchecked(pos2) : -1 /* EOF */; + } + function error(message, errPos = pos, length3, arg0) { + if (onError) { + const oldPos = pos; + pos = errPos; + onError(message, length3 || 0, arg0); + pos = oldPos; + } + } + function scanNumberFragment() { + let start2 = pos; + let allowSeparator = false; + let isPreviousTokenSeparator = false; + let result = ""; + while (true) { + const ch = charCodeUnchecked(pos); + if (ch === 95 /* _ */) { + tokenFlags |= 512 /* ContainsSeparator */; + if (allowSeparator) { + allowSeparator = false; + isPreviousTokenSeparator = true; + result += text.substring(start2, pos); + } else { + tokenFlags |= 16384 /* ContainsInvalidSeparator */; + if (isPreviousTokenSeparator) { + error(Diagnostics.Multiple_consecutive_numeric_separators_are_not_permitted, pos, 1); + } else { + error(Diagnostics.Numeric_separators_are_not_allowed_here, pos, 1); + } + } + pos++; + start2 = pos; + continue; + } + if (isDigit(ch)) { + allowSeparator = true; + isPreviousTokenSeparator = false; + pos++; + continue; + } + break; + } + if (charCodeUnchecked(pos - 1) === 95 /* _ */) { + tokenFlags |= 16384 /* ContainsInvalidSeparator */; + error(Diagnostics.Numeric_separators_are_not_allowed_here, pos - 1, 1); + } + return result + text.substring(start2, pos); + } + function scanNumber() { + let start2 = pos; + let mainFragment; + if (charCodeUnchecked(pos) === 48 /* _0 */) { + pos++; + if (charCodeUnchecked(pos) === 95 /* _ */) { + tokenFlags |= 512 /* ContainsSeparator */ | 16384 /* ContainsInvalidSeparator */; + error(Diagnostics.Numeric_separators_are_not_allowed_here, pos, 1); + pos--; + mainFragment = scanNumberFragment(); + } else if (!scanDigits()) { + tokenFlags |= 8192 /* ContainsLeadingZero */; + mainFragment = "" + +tokenValue; + } else if (!tokenValue) { + mainFragment = "0"; + } else { + tokenValue = "" + parseInt(tokenValue, 8); + tokenFlags |= 32 /* Octal */; + const withMinus = token === 41 /* MinusToken */; + const literal = (withMinus ? "-" : "") + "0o" + (+tokenValue).toString(8); + if (withMinus) start2--; + error(Diagnostics.Octal_literals_are_not_allowed_Use_the_syntax_0, start2, pos - start2, literal); + return 9 /* NumericLiteral */; + } + } else { + mainFragment = scanNumberFragment(); + } + let decimalFragment; + let scientificFragment; + if (charCodeUnchecked(pos) === 46 /* dot */) { + pos++; + decimalFragment = scanNumberFragment(); + } + let end2 = pos; + if (charCodeUnchecked(pos) === 69 /* E */ || charCodeUnchecked(pos) === 101 /* e */) { + pos++; + tokenFlags |= 16 /* Scientific */; + if (charCodeUnchecked(pos) === 43 /* plus */ || charCodeUnchecked(pos) === 45 /* minus */) pos++; + const preNumericPart = pos; + const finalFragment = scanNumberFragment(); + if (!finalFragment) { + error(Diagnostics.Digit_expected); + } else { + scientificFragment = text.substring(end2, preNumericPart) + finalFragment; + end2 = pos; + } + } + let result; + if (tokenFlags & 512 /* ContainsSeparator */) { + result = mainFragment; + if (decimalFragment) { + result += "." + decimalFragment; + } + if (scientificFragment) { + result += scientificFragment; + } + } else { + result = text.substring(start2, end2); + } + if (tokenFlags & 8192 /* ContainsLeadingZero */) { + error(Diagnostics.Decimals_with_leading_zeros_are_not_allowed, start2, end2 - start2); + tokenValue = "" + +result; + return 9 /* NumericLiteral */; + } + if (decimalFragment !== void 0 || tokenFlags & 16 /* Scientific */) { + checkForIdentifierStartAfterNumericLiteral(start2, decimalFragment === void 0 && !!(tokenFlags & 16 /* Scientific */)); + tokenValue = "" + +result; + return 9 /* NumericLiteral */; + } else { + tokenValue = result; + const type = checkBigIntSuffix(); + checkForIdentifierStartAfterNumericLiteral(start2); + return type; + } + } + function checkForIdentifierStartAfterNumericLiteral(numericStart, isScientific) { + if (!isIdentifierStart(codePointUnchecked(pos), languageVersion)) { + return; + } + const identifierStart = pos; + const { length: length3 } = scanIdentifierParts(); + if (length3 === 1 && text[identifierStart] === "n") { + if (isScientific) { + error(Diagnostics.A_bigint_literal_cannot_use_exponential_notation, numericStart, identifierStart - numericStart + 1); + } else { + error(Diagnostics.A_bigint_literal_must_be_an_integer, numericStart, identifierStart - numericStart + 1); + } + } else { + error(Diagnostics.An_identifier_or_keyword_cannot_immediately_follow_a_numeric_literal, identifierStart, length3); + pos = identifierStart; + } + } + function scanDigits() { + const start2 = pos; + let isOctal = true; + while (isDigit(charCodeChecked(pos))) { + if (!isOctalDigit(charCodeUnchecked(pos))) { + isOctal = false; + } + pos++; + } + tokenValue = text.substring(start2, pos); + return isOctal; + } + function scanExactNumberOfHexDigits(count, canHaveSeparators) { + const valueString = scanHexDigits( + /*minCount*/ + count, + /*scanAsManyAsPossible*/ + false, + canHaveSeparators + ); + return valueString ? parseInt(valueString, 16) : -1; + } + function scanMinimumNumberOfHexDigits(count, canHaveSeparators) { + return scanHexDigits( + /*minCount*/ + count, + /*scanAsManyAsPossible*/ + true, + canHaveSeparators + ); + } + function scanHexDigits(minCount, scanAsManyAsPossible, canHaveSeparators) { + let valueChars = []; + let allowSeparator = false; + let isPreviousTokenSeparator = false; + while (valueChars.length < minCount || scanAsManyAsPossible) { + let ch = charCodeUnchecked(pos); + if (canHaveSeparators && ch === 95 /* _ */) { + tokenFlags |= 512 /* ContainsSeparator */; + if (allowSeparator) { + allowSeparator = false; + isPreviousTokenSeparator = true; + } else if (isPreviousTokenSeparator) { + error(Diagnostics.Multiple_consecutive_numeric_separators_are_not_permitted, pos, 1); + } else { + error(Diagnostics.Numeric_separators_are_not_allowed_here, pos, 1); + } + pos++; + continue; + } + allowSeparator = canHaveSeparators; + if (ch >= 65 /* A */ && ch <= 70 /* F */) { + ch += 97 /* a */ - 65 /* A */; + } else if (!(ch >= 48 /* _0 */ && ch <= 57 /* _9 */ || ch >= 97 /* a */ && ch <= 102 /* f */)) { + break; + } + valueChars.push(ch); + pos++; + isPreviousTokenSeparator = false; + } + if (valueChars.length < minCount) { + valueChars = []; + } + if (charCodeUnchecked(pos - 1) === 95 /* _ */) { + error(Diagnostics.Numeric_separators_are_not_allowed_here, pos - 1, 1); + } + return String.fromCharCode(...valueChars); + } + function scanString(jsxAttributeString = false) { + const quote = charCodeUnchecked(pos); + pos++; + let result = ""; + let start2 = pos; + while (true) { + if (pos >= end) { + result += text.substring(start2, pos); + tokenFlags |= 4 /* Unterminated */; + error(Diagnostics.Unterminated_string_literal); + break; + } + const ch = charCodeUnchecked(pos); + if (ch === quote) { + result += text.substring(start2, pos); + pos++; + break; + } + if (ch === 92 /* backslash */ && !jsxAttributeString) { + result += text.substring(start2, pos); + result += scanEscapeSequence(1 /* String */ | 2 /* ReportErrors */); + start2 = pos; + continue; + } + if ((ch === 10 /* lineFeed */ || ch === 13 /* carriageReturn */) && !jsxAttributeString) { + result += text.substring(start2, pos); + tokenFlags |= 4 /* Unterminated */; + error(Diagnostics.Unterminated_string_literal); + break; + } + pos++; + } + return result; + } + function scanTemplateAndSetTokenValue(shouldEmitInvalidEscapeError) { + const startedWithBacktick = charCodeUnchecked(pos) === 96 /* backtick */; + pos++; + let start2 = pos; + let contents = ""; + let resultingToken; + while (true) { + if (pos >= end) { + contents += text.substring(start2, pos); + tokenFlags |= 4 /* Unterminated */; + error(Diagnostics.Unterminated_template_literal); + resultingToken = startedWithBacktick ? 15 /* NoSubstitutionTemplateLiteral */ : 18 /* TemplateTail */; + break; + } + const currChar = charCodeUnchecked(pos); + if (currChar === 96 /* backtick */) { + contents += text.substring(start2, pos); + pos++; + resultingToken = startedWithBacktick ? 15 /* NoSubstitutionTemplateLiteral */ : 18 /* TemplateTail */; + break; + } + if (currChar === 36 /* $ */ && pos + 1 < end && charCodeUnchecked(pos + 1) === 123 /* openBrace */) { + contents += text.substring(start2, pos); + pos += 2; + resultingToken = startedWithBacktick ? 16 /* TemplateHead */ : 17 /* TemplateMiddle */; + break; + } + if (currChar === 92 /* backslash */) { + contents += text.substring(start2, pos); + contents += scanEscapeSequence(1 /* String */ | (shouldEmitInvalidEscapeError ? 2 /* ReportErrors */ : 0)); + start2 = pos; + continue; + } + if (currChar === 13 /* carriageReturn */) { + contents += text.substring(start2, pos); + pos++; + if (pos < end && charCodeUnchecked(pos) === 10 /* lineFeed */) { + pos++; + } + contents += "\n"; + start2 = pos; + continue; + } + pos++; + } + Debug.assert(resultingToken !== void 0); + tokenValue = contents; + return resultingToken; + } + function scanEscapeSequence(flags) { + const start2 = pos; + pos++; + if (pos >= end) { + error(Diagnostics.Unexpected_end_of_text); + return ""; + } + const ch = charCodeUnchecked(pos); + pos++; + switch (ch) { + case 48 /* _0 */: + if (pos >= end || !isDigit(charCodeUnchecked(pos))) { + return "\0"; + } + // '\01', '\011' + // falls through + case 49 /* _1 */: + case 50 /* _2 */: + case 51 /* _3 */: + if (pos < end && isOctalDigit(charCodeUnchecked(pos))) { + pos++; + } + // '\17', '\177' + // falls through + case 52 /* _4 */: + case 53 /* _5 */: + case 54 /* _6 */: + case 55 /* _7 */: + if (pos < end && isOctalDigit(charCodeUnchecked(pos))) { + pos++; + } + tokenFlags |= 2048 /* ContainsInvalidEscape */; + if (flags & 6 /* ReportInvalidEscapeErrors */) { + const code = parseInt(text.substring(start2 + 1, pos), 8); + if (flags & 4 /* RegularExpression */ && !(flags & 32 /* AtomEscape */) && ch !== 48 /* _0 */) { + error(Diagnostics.Octal_escape_sequences_and_backreferences_are_not_allowed_in_a_character_class_If_this_was_intended_as_an_escape_sequence_use_the_syntax_0_instead, start2, pos - start2, "\\x" + code.toString(16).padStart(2, "0")); + } else { + error(Diagnostics.Octal_escape_sequences_are_not_allowed_Use_the_syntax_0, start2, pos - start2, "\\x" + code.toString(16).padStart(2, "0")); + } + return String.fromCharCode(code); + } + return text.substring(start2, pos); + case 56 /* _8 */: + case 57 /* _9 */: + tokenFlags |= 2048 /* ContainsInvalidEscape */; + if (flags & 6 /* ReportInvalidEscapeErrors */) { + if (flags & 4 /* RegularExpression */ && !(flags & 32 /* AtomEscape */)) { + error(Diagnostics.Decimal_escape_sequences_and_backreferences_are_not_allowed_in_a_character_class, start2, pos - start2); + } else { + error(Diagnostics.Escape_sequence_0_is_not_allowed, start2, pos - start2, text.substring(start2, pos)); + } + return String.fromCharCode(ch); + } + return text.substring(start2, pos); + case 98 /* b */: + return "\b"; + case 116 /* t */: + return " "; + case 110 /* n */: + return "\n"; + case 118 /* v */: + return "\v"; + case 102 /* f */: + return "\f"; + case 114 /* r */: + return "\r"; + case 39 /* singleQuote */: + return "'"; + case 34 /* doubleQuote */: + return '"'; + case 117 /* u */: + if (pos < end && charCodeUnchecked(pos) === 123 /* openBrace */) { + pos -= 2; + const result = scanExtendedUnicodeEscape(!!(flags & 6 /* ReportInvalidEscapeErrors */)); + if (!(flags & 17 /* AllowExtendedUnicodeEscape */)) { + tokenFlags |= 2048 /* ContainsInvalidEscape */; + if (flags & 6 /* ReportInvalidEscapeErrors */) { + error(Diagnostics.Unicode_escape_sequences_are_only_available_when_the_Unicode_u_flag_or_the_Unicode_Sets_v_flag_is_set, start2, pos - start2); + } + } + return result; + } + for (; pos < start2 + 6; pos++) { + if (!(pos < end && isHexDigit(charCodeUnchecked(pos)))) { + tokenFlags |= 2048 /* ContainsInvalidEscape */; + if (flags & 6 /* ReportInvalidEscapeErrors */) { + error(Diagnostics.Hexadecimal_digit_expected); + } + return text.substring(start2, pos); + } + } + tokenFlags |= 1024 /* UnicodeEscape */; + const escapedValue = parseInt(text.substring(start2 + 2, pos), 16); + const escapedValueString = String.fromCharCode(escapedValue); + if (flags & 16 /* AnyUnicodeMode */ && escapedValue >= 55296 && escapedValue <= 56319 && pos + 6 < end && text.substring(pos, pos + 2) === "\\u" && charCodeUnchecked(pos + 2) !== 123 /* openBrace */) { + const nextStart = pos; + let nextPos = pos + 2; + for (; nextPos < nextStart + 6; nextPos++) { + if (!isHexDigit(charCodeUnchecked(nextPos))) { + return escapedValueString; + } + } + const nextEscapedValue = parseInt(text.substring(nextStart + 2, nextPos), 16); + if (nextEscapedValue >= 56320 && nextEscapedValue <= 57343) { + pos = nextPos; + return escapedValueString + String.fromCharCode(nextEscapedValue); + } + } + return escapedValueString; + case 120 /* x */: + for (; pos < start2 + 4; pos++) { + if (!(pos < end && isHexDigit(charCodeUnchecked(pos)))) { + tokenFlags |= 2048 /* ContainsInvalidEscape */; + if (flags & 6 /* ReportInvalidEscapeErrors */) { + error(Diagnostics.Hexadecimal_digit_expected); + } + return text.substring(start2, pos); + } + } + tokenFlags |= 4096 /* HexEscape */; + return String.fromCharCode(parseInt(text.substring(start2 + 2, pos), 16)); + // when encountering a LineContinuation (i.e. a backslash and a line terminator sequence), + // the line terminator is interpreted to be "the empty code unit sequence". + case 13 /* carriageReturn */: + if (pos < end && charCodeUnchecked(pos) === 10 /* lineFeed */) { + pos++; + } + // falls through + case 10 /* lineFeed */: + case 8232 /* lineSeparator */: + case 8233 /* paragraphSeparator */: + return ""; + default: + if (flags & 16 /* AnyUnicodeMode */ || flags & 4 /* RegularExpression */ && !(flags & 8 /* AnnexB */) && isIdentifierPart(ch, languageVersion)) { + error(Diagnostics.This_character_cannot_be_escaped_in_a_regular_expression, pos - 2, 2); + } + return String.fromCharCode(ch); + } + } + function scanExtendedUnicodeEscape(shouldEmitInvalidEscapeError) { + const start2 = pos; + pos += 3; + const escapedStart = pos; + const escapedValueString = scanMinimumNumberOfHexDigits( + 1, + /*canHaveSeparators*/ + false + ); + const escapedValue = escapedValueString ? parseInt(escapedValueString, 16) : -1; + let isInvalidExtendedEscape = false; + if (escapedValue < 0) { + if (shouldEmitInvalidEscapeError) { + error(Diagnostics.Hexadecimal_digit_expected); + } + isInvalidExtendedEscape = true; + } else if (escapedValue > 1114111) { + if (shouldEmitInvalidEscapeError) { + error(Diagnostics.An_extended_Unicode_escape_value_must_be_between_0x0_and_0x10FFFF_inclusive, escapedStart, pos - escapedStart); + } + isInvalidExtendedEscape = true; + } + if (pos >= end) { + if (shouldEmitInvalidEscapeError) { + error(Diagnostics.Unexpected_end_of_text); + } + isInvalidExtendedEscape = true; + } else if (charCodeUnchecked(pos) === 125 /* closeBrace */) { + pos++; + } else { + if (shouldEmitInvalidEscapeError) { + error(Diagnostics.Unterminated_Unicode_escape_sequence); + } + isInvalidExtendedEscape = true; + } + if (isInvalidExtendedEscape) { + tokenFlags |= 2048 /* ContainsInvalidEscape */; + return text.substring(start2, pos); + } + tokenFlags |= 8 /* ExtendedUnicodeEscape */; + return utf16EncodeAsString(escapedValue); + } + function peekUnicodeEscape() { + if (pos + 5 < end && charCodeUnchecked(pos + 1) === 117 /* u */) { + const start2 = pos; + pos += 2; + const value = scanExactNumberOfHexDigits( + 4, + /*canHaveSeparators*/ + false + ); + pos = start2; + return value; + } + return -1; + } + function peekExtendedUnicodeEscape() { + if (codePointUnchecked(pos + 1) === 117 /* u */ && codePointUnchecked(pos + 2) === 123 /* openBrace */) { + const start2 = pos; + pos += 3; + const escapedValueString = scanMinimumNumberOfHexDigits( + 1, + /*canHaveSeparators*/ + false + ); + const escapedValue = escapedValueString ? parseInt(escapedValueString, 16) : -1; + pos = start2; + return escapedValue; + } + return -1; + } + function scanIdentifierParts() { + let result = ""; + let start2 = pos; + while (pos < end) { + let ch = codePointUnchecked(pos); + if (isIdentifierPart(ch, languageVersion)) { + pos += charSize(ch); + } else if (ch === 92 /* backslash */) { + ch = peekExtendedUnicodeEscape(); + if (ch >= 0 && isIdentifierPart(ch, languageVersion)) { + result += scanExtendedUnicodeEscape( + /*shouldEmitInvalidEscapeError*/ + true + ); + start2 = pos; + continue; + } + ch = peekUnicodeEscape(); + if (!(ch >= 0 && isIdentifierPart(ch, languageVersion))) { + break; + } + tokenFlags |= 1024 /* UnicodeEscape */; + result += text.substring(start2, pos); + result += utf16EncodeAsString(ch); + pos += 6; + start2 = pos; + } else { + break; + } + } + result += text.substring(start2, pos); + return result; + } + function getIdentifierToken() { + const len = tokenValue.length; + if (len >= 2 && len <= 12) { + const ch = tokenValue.charCodeAt(0); + if (ch >= 97 /* a */ && ch <= 122 /* z */) { + const keyword = textToKeyword.get(tokenValue); + if (keyword !== void 0) { + return token = keyword; + } + } + } + return token = 80 /* Identifier */; + } + function scanBinaryOrOctalDigits(base) { + let value = ""; + let separatorAllowed = false; + let isPreviousTokenSeparator = false; + while (true) { + const ch = charCodeUnchecked(pos); + if (ch === 95 /* _ */) { + tokenFlags |= 512 /* ContainsSeparator */; + if (separatorAllowed) { + separatorAllowed = false; + isPreviousTokenSeparator = true; + } else if (isPreviousTokenSeparator) { + error(Diagnostics.Multiple_consecutive_numeric_separators_are_not_permitted, pos, 1); + } else { + error(Diagnostics.Numeric_separators_are_not_allowed_here, pos, 1); + } + pos++; + continue; + } + separatorAllowed = true; + if (!isDigit(ch) || ch - 48 /* _0 */ >= base) { + break; + } + value += text[pos]; + pos++; + isPreviousTokenSeparator = false; + } + if (charCodeUnchecked(pos - 1) === 95 /* _ */) { + error(Diagnostics.Numeric_separators_are_not_allowed_here, pos - 1, 1); + } + return value; + } + function checkBigIntSuffix() { + if (charCodeUnchecked(pos) === 110 /* n */) { + tokenValue += "n"; + if (tokenFlags & 384 /* BinaryOrOctalSpecifier */) { + tokenValue = parsePseudoBigInt(tokenValue) + "n"; + } + pos++; + return 10 /* BigIntLiteral */; + } else { + const numericValue = tokenFlags & 128 /* BinarySpecifier */ ? parseInt(tokenValue.slice(2), 2) : tokenFlags & 256 /* OctalSpecifier */ ? parseInt(tokenValue.slice(2), 8) : +tokenValue; + tokenValue = "" + numericValue; + return 9 /* NumericLiteral */; + } + } + function scan() { + fullStartPos = pos; + tokenFlags = 0 /* None */; + while (true) { + tokenStart = pos; + if (pos >= end) { + return token = 1 /* EndOfFileToken */; + } + const ch = codePointUnchecked(pos); + if (pos === 0) { + if (ch === 35 /* hash */ && isShebangTrivia(text, pos)) { + pos = scanShebangTrivia(text, pos); + if (skipTrivia2) { + continue; + } else { + return token = 6 /* ShebangTrivia */; + } + } + } + switch (ch) { + case 10 /* lineFeed */: + case 13 /* carriageReturn */: + tokenFlags |= 1 /* PrecedingLineBreak */; + if (skipTrivia2) { + pos++; + continue; + } else { + if (ch === 13 /* carriageReturn */ && pos + 1 < end && charCodeUnchecked(pos + 1) === 10 /* lineFeed */) { + pos += 2; + } else { + pos++; + } + return token = 4 /* NewLineTrivia */; + } + case 9 /* tab */: + case 11 /* verticalTab */: + case 12 /* formFeed */: + case 32 /* space */: + case 160 /* nonBreakingSpace */: + case 5760 /* ogham */: + case 8192 /* enQuad */: + case 8193 /* emQuad */: + case 8194 /* enSpace */: + case 8195 /* emSpace */: + case 8196 /* threePerEmSpace */: + case 8197 /* fourPerEmSpace */: + case 8198 /* sixPerEmSpace */: + case 8199 /* figureSpace */: + case 8200 /* punctuationSpace */: + case 8201 /* thinSpace */: + case 8202 /* hairSpace */: + case 8203 /* zeroWidthSpace */: + case 8239 /* narrowNoBreakSpace */: + case 8287 /* mathematicalSpace */: + case 12288 /* ideographicSpace */: + case 65279 /* byteOrderMark */: + if (skipTrivia2) { + pos++; + continue; + } else { + while (pos < end && isWhiteSpaceSingleLine(charCodeUnchecked(pos))) { + pos++; + } + return token = 5 /* WhitespaceTrivia */; + } + case 33 /* exclamation */: + if (charCodeUnchecked(pos + 1) === 61 /* equals */) { + if (charCodeUnchecked(pos + 2) === 61 /* equals */) { + return pos += 3, token = 38 /* ExclamationEqualsEqualsToken */; + } + return pos += 2, token = 36 /* ExclamationEqualsToken */; + } + pos++; + return token = 54 /* ExclamationToken */; + case 34 /* doubleQuote */: + case 39 /* singleQuote */: + tokenValue = scanString(); + return token = 11 /* StringLiteral */; + case 96 /* backtick */: + return token = scanTemplateAndSetTokenValue( + /*shouldEmitInvalidEscapeError*/ + false + ); + case 37 /* percent */: + if (charCodeUnchecked(pos + 1) === 61 /* equals */) { + return pos += 2, token = 70 /* PercentEqualsToken */; + } + pos++; + return token = 45 /* PercentToken */; + case 38 /* ampersand */: + if (charCodeUnchecked(pos + 1) === 38 /* ampersand */) { + if (charCodeUnchecked(pos + 2) === 61 /* equals */) { + return pos += 3, token = 77 /* AmpersandAmpersandEqualsToken */; + } + return pos += 2, token = 56 /* AmpersandAmpersandToken */; + } + if (charCodeUnchecked(pos + 1) === 61 /* equals */) { + return pos += 2, token = 74 /* AmpersandEqualsToken */; + } + pos++; + return token = 51 /* AmpersandToken */; + case 40 /* openParen */: + pos++; + return token = 21 /* OpenParenToken */; + case 41 /* closeParen */: + pos++; + return token = 22 /* CloseParenToken */; + case 42 /* asterisk */: + if (charCodeUnchecked(pos + 1) === 61 /* equals */) { + return pos += 2, token = 67 /* AsteriskEqualsToken */; + } + if (charCodeUnchecked(pos + 1) === 42 /* asterisk */) { + if (charCodeUnchecked(pos + 2) === 61 /* equals */) { + return pos += 3, token = 68 /* AsteriskAsteriskEqualsToken */; + } + return pos += 2, token = 43 /* AsteriskAsteriskToken */; + } + pos++; + if (skipJsDocLeadingAsterisks && (tokenFlags & 32768 /* PrecedingJSDocLeadingAsterisks */) === 0 && tokenFlags & 1 /* PrecedingLineBreak */) { + tokenFlags |= 32768 /* PrecedingJSDocLeadingAsterisks */; + continue; + } + return token = 42 /* AsteriskToken */; + case 43 /* plus */: + if (charCodeUnchecked(pos + 1) === 43 /* plus */) { + return pos += 2, token = 46 /* PlusPlusToken */; + } + if (charCodeUnchecked(pos + 1) === 61 /* equals */) { + return pos += 2, token = 65 /* PlusEqualsToken */; + } + pos++; + return token = 40 /* PlusToken */; + case 44 /* comma */: + pos++; + return token = 28 /* CommaToken */; + case 45 /* minus */: + if (charCodeUnchecked(pos + 1) === 45 /* minus */) { + return pos += 2, token = 47 /* MinusMinusToken */; + } + if (charCodeUnchecked(pos + 1) === 61 /* equals */) { + return pos += 2, token = 66 /* MinusEqualsToken */; + } + pos++; + return token = 41 /* MinusToken */; + case 46 /* dot */: + if (isDigit(charCodeUnchecked(pos + 1))) { + scanNumber(); + return token = 9 /* NumericLiteral */; + } + if (charCodeUnchecked(pos + 1) === 46 /* dot */ && charCodeUnchecked(pos + 2) === 46 /* dot */) { + return pos += 3, token = 26 /* DotDotDotToken */; + } + pos++; + return token = 25 /* DotToken */; + case 47 /* slash */: + if (charCodeUnchecked(pos + 1) === 47 /* slash */) { + pos += 2; + while (pos < end) { + if (isLineBreak(charCodeUnchecked(pos))) { + break; + } + pos++; + } + commentDirectives = appendIfCommentDirective( + commentDirectives, + text.slice(tokenStart, pos), + commentDirectiveRegExSingleLine, + tokenStart + ); + if (skipTrivia2) { + continue; + } else { + return token = 2 /* SingleLineCommentTrivia */; + } + } + if (charCodeUnchecked(pos + 1) === 42 /* asterisk */) { + pos += 2; + const isJSDoc2 = charCodeUnchecked(pos) === 42 /* asterisk */ && charCodeUnchecked(pos + 1) !== 47 /* slash */; + let commentClosed = false; + let lastLineStart = tokenStart; + while (pos < end) { + const ch2 = charCodeUnchecked(pos); + if (ch2 === 42 /* asterisk */ && charCodeUnchecked(pos + 1) === 47 /* slash */) { + pos += 2; + commentClosed = true; + break; + } + pos++; + if (isLineBreak(ch2)) { + lastLineStart = pos; + tokenFlags |= 1 /* PrecedingLineBreak */; + } + } + if (isJSDoc2 && shouldParseJSDoc()) { + tokenFlags |= 2 /* PrecedingJSDocComment */; + } + commentDirectives = appendIfCommentDirective(commentDirectives, text.slice(lastLineStart, pos), commentDirectiveRegExMultiLine, lastLineStart); + if (!commentClosed) { + error(Diagnostics.Asterisk_Slash_expected); + } + if (skipTrivia2) { + continue; + } else { + if (!commentClosed) { + tokenFlags |= 4 /* Unterminated */; + } + return token = 3 /* MultiLineCommentTrivia */; + } + } + if (charCodeUnchecked(pos + 1) === 61 /* equals */) { + return pos += 2, token = 69 /* SlashEqualsToken */; + } + pos++; + return token = 44 /* SlashToken */; + case 48 /* _0 */: + if (pos + 2 < end && (charCodeUnchecked(pos + 1) === 88 /* X */ || charCodeUnchecked(pos + 1) === 120 /* x */)) { + pos += 2; + tokenValue = scanMinimumNumberOfHexDigits( + 1, + /*canHaveSeparators*/ + true + ); + if (!tokenValue) { + error(Diagnostics.Hexadecimal_digit_expected); + tokenValue = "0"; + } + tokenValue = "0x" + tokenValue; + tokenFlags |= 64 /* HexSpecifier */; + return token = checkBigIntSuffix(); + } else if (pos + 2 < end && (charCodeUnchecked(pos + 1) === 66 /* B */ || charCodeUnchecked(pos + 1) === 98 /* b */)) { + pos += 2; + tokenValue = scanBinaryOrOctalDigits( + /* base */ + 2 + ); + if (!tokenValue) { + error(Diagnostics.Binary_digit_expected); + tokenValue = "0"; + } + tokenValue = "0b" + tokenValue; + tokenFlags |= 128 /* BinarySpecifier */; + return token = checkBigIntSuffix(); + } else if (pos + 2 < end && (charCodeUnchecked(pos + 1) === 79 /* O */ || charCodeUnchecked(pos + 1) === 111 /* o */)) { + pos += 2; + tokenValue = scanBinaryOrOctalDigits( + /* base */ + 8 + ); + if (!tokenValue) { + error(Diagnostics.Octal_digit_expected); + tokenValue = "0"; + } + tokenValue = "0o" + tokenValue; + tokenFlags |= 256 /* OctalSpecifier */; + return token = checkBigIntSuffix(); + } + // falls through + case 49 /* _1 */: + case 50 /* _2 */: + case 51 /* _3 */: + case 52 /* _4 */: + case 53 /* _5 */: + case 54 /* _6 */: + case 55 /* _7 */: + case 56 /* _8 */: + case 57 /* _9 */: + return token = scanNumber(); + case 58 /* colon */: + pos++; + return token = 59 /* ColonToken */; + case 59 /* semicolon */: + pos++; + return token = 27 /* SemicolonToken */; + case 60 /* lessThan */: + if (isConflictMarkerTrivia(text, pos)) { + pos = scanConflictMarkerTrivia(text, pos, error); + if (skipTrivia2) { + continue; + } else { + return token = 7 /* ConflictMarkerTrivia */; + } + } + if (charCodeUnchecked(pos + 1) === 60 /* lessThan */) { + if (charCodeUnchecked(pos + 2) === 61 /* equals */) { + return pos += 3, token = 71 /* LessThanLessThanEqualsToken */; + } + return pos += 2, token = 48 /* LessThanLessThanToken */; + } + if (charCodeUnchecked(pos + 1) === 61 /* equals */) { + return pos += 2, token = 33 /* LessThanEqualsToken */; + } + if (languageVariant === 1 /* JSX */ && charCodeUnchecked(pos + 1) === 47 /* slash */ && charCodeUnchecked(pos + 2) !== 42 /* asterisk */) { + return pos += 2, token = 31 /* LessThanSlashToken */; + } + pos++; + return token = 30 /* LessThanToken */; + case 61 /* equals */: + if (isConflictMarkerTrivia(text, pos)) { + pos = scanConflictMarkerTrivia(text, pos, error); + if (skipTrivia2) { + continue; + } else { + return token = 7 /* ConflictMarkerTrivia */; + } + } + if (charCodeUnchecked(pos + 1) === 61 /* equals */) { + if (charCodeUnchecked(pos + 2) === 61 /* equals */) { + return pos += 3, token = 37 /* EqualsEqualsEqualsToken */; + } + return pos += 2, token = 35 /* EqualsEqualsToken */; + } + if (charCodeUnchecked(pos + 1) === 62 /* greaterThan */) { + return pos += 2, token = 39 /* EqualsGreaterThanToken */; + } + pos++; + return token = 64 /* EqualsToken */; + case 62 /* greaterThan */: + if (isConflictMarkerTrivia(text, pos)) { + pos = scanConflictMarkerTrivia(text, pos, error); + if (skipTrivia2) { + continue; + } else { + return token = 7 /* ConflictMarkerTrivia */; + } + } + pos++; + return token = 32 /* GreaterThanToken */; + case 63 /* question */: + if (charCodeUnchecked(pos + 1) === 46 /* dot */ && !isDigit(charCodeUnchecked(pos + 2))) { + return pos += 2, token = 29 /* QuestionDotToken */; + } + if (charCodeUnchecked(pos + 1) === 63 /* question */) { + if (charCodeUnchecked(pos + 2) === 61 /* equals */) { + return pos += 3, token = 78 /* QuestionQuestionEqualsToken */; + } + return pos += 2, token = 61 /* QuestionQuestionToken */; + } + pos++; + return token = 58 /* QuestionToken */; + case 91 /* openBracket */: + pos++; + return token = 23 /* OpenBracketToken */; + case 93 /* closeBracket */: + pos++; + return token = 24 /* CloseBracketToken */; + case 94 /* caret */: + if (charCodeUnchecked(pos + 1) === 61 /* equals */) { + return pos += 2, token = 79 /* CaretEqualsToken */; + } + pos++; + return token = 53 /* CaretToken */; + case 123 /* openBrace */: + pos++; + return token = 19 /* OpenBraceToken */; + case 124 /* bar */: + if (isConflictMarkerTrivia(text, pos)) { + pos = scanConflictMarkerTrivia(text, pos, error); + if (skipTrivia2) { + continue; + } else { + return token = 7 /* ConflictMarkerTrivia */; + } + } + if (charCodeUnchecked(pos + 1) === 124 /* bar */) { + if (charCodeUnchecked(pos + 2) === 61 /* equals */) { + return pos += 3, token = 76 /* BarBarEqualsToken */; + } + return pos += 2, token = 57 /* BarBarToken */; + } + if (charCodeUnchecked(pos + 1) === 61 /* equals */) { + return pos += 2, token = 75 /* BarEqualsToken */; + } + pos++; + return token = 52 /* BarToken */; + case 125 /* closeBrace */: + pos++; + return token = 20 /* CloseBraceToken */; + case 126 /* tilde */: + pos++; + return token = 55 /* TildeToken */; + case 64 /* at */: + pos++; + return token = 60 /* AtToken */; + case 92 /* backslash */: + const extendedCookedChar = peekExtendedUnicodeEscape(); + if (extendedCookedChar >= 0 && isIdentifierStart(extendedCookedChar, languageVersion)) { + tokenValue = scanExtendedUnicodeEscape( + /*shouldEmitInvalidEscapeError*/ + true + ) + scanIdentifierParts(); + return token = getIdentifierToken(); + } + const cookedChar = peekUnicodeEscape(); + if (cookedChar >= 0 && isIdentifierStart(cookedChar, languageVersion)) { + pos += 6; + tokenFlags |= 1024 /* UnicodeEscape */; + tokenValue = String.fromCharCode(cookedChar) + scanIdentifierParts(); + return token = getIdentifierToken(); + } + error(Diagnostics.Invalid_character); + pos++; + return token = 0 /* Unknown */; + case 35 /* hash */: + if (pos !== 0 && text[pos + 1] === "!") { + error(Diagnostics.can_only_be_used_at_the_start_of_a_file, pos, 2); + pos++; + return token = 0 /* Unknown */; + } + const charAfterHash = codePointUnchecked(pos + 1); + if (charAfterHash === 92 /* backslash */) { + pos++; + const extendedCookedChar2 = peekExtendedUnicodeEscape(); + if (extendedCookedChar2 >= 0 && isIdentifierStart(extendedCookedChar2, languageVersion)) { + tokenValue = "#" + scanExtendedUnicodeEscape( + /*shouldEmitInvalidEscapeError*/ + true + ) + scanIdentifierParts(); + return token = 81 /* PrivateIdentifier */; + } + const cookedChar2 = peekUnicodeEscape(); + if (cookedChar2 >= 0 && isIdentifierStart(cookedChar2, languageVersion)) { + pos += 6; + tokenFlags |= 1024 /* UnicodeEscape */; + tokenValue = "#" + String.fromCharCode(cookedChar2) + scanIdentifierParts(); + return token = 81 /* PrivateIdentifier */; + } + pos--; + } + if (isIdentifierStart(charAfterHash, languageVersion)) { + pos++; + scanIdentifier(charAfterHash, languageVersion); + } else { + tokenValue = "#"; + error(Diagnostics.Invalid_character, pos++, charSize(ch)); + } + return token = 81 /* PrivateIdentifier */; + case 65533 /* replacementCharacter */: + error(Diagnostics.File_appears_to_be_binary, 0, 0); + pos = end; + return token = 8 /* NonTextFileMarkerTrivia */; + default: + const identifierKind = scanIdentifier(ch, languageVersion); + if (identifierKind) { + return token = identifierKind; + } else if (isWhiteSpaceSingleLine(ch)) { + pos += charSize(ch); + continue; + } else if (isLineBreak(ch)) { + tokenFlags |= 1 /* PrecedingLineBreak */; + pos += charSize(ch); + continue; + } + const size = charSize(ch); + error(Diagnostics.Invalid_character, pos, size); + pos += size; + return token = 0 /* Unknown */; + } + } + } + function shouldParseJSDoc() { + switch (jsDocParsingMode) { + case 0 /* ParseAll */: + return true; + case 1 /* ParseNone */: + return false; + } + if (scriptKind !== 3 /* TS */ && scriptKind !== 4 /* TSX */) { + return true; + } + if (jsDocParsingMode === 3 /* ParseForTypeInfo */) { + return false; + } + return jsDocSeeOrLink.test(text.slice(fullStartPos, pos)); + } + function reScanInvalidIdentifier() { + Debug.assert(token === 0 /* Unknown */, "'reScanInvalidIdentifier' should only be called when the current token is 'SyntaxKind.Unknown'."); + pos = tokenStart = fullStartPos; + tokenFlags = 0; + const ch = codePointUnchecked(pos); + const identifierKind = scanIdentifier(ch, 99 /* ESNext */); + if (identifierKind) { + return token = identifierKind; + } + pos += charSize(ch); + return token; + } + function scanIdentifier(startCharacter, languageVersion2) { + let ch = startCharacter; + if (isIdentifierStart(ch, languageVersion2)) { + pos += charSize(ch); + while (pos < end && isIdentifierPart(ch = codePointUnchecked(pos), languageVersion2)) pos += charSize(ch); + tokenValue = text.substring(tokenStart, pos); + if (ch === 92 /* backslash */) { + tokenValue += scanIdentifierParts(); + } + return getIdentifierToken(); + } + } + function reScanGreaterToken() { + if (token === 32 /* GreaterThanToken */) { + if (charCodeUnchecked(pos) === 62 /* greaterThan */) { + if (charCodeUnchecked(pos + 1) === 62 /* greaterThan */) { + if (charCodeUnchecked(pos + 2) === 61 /* equals */) { + return pos += 3, token = 73 /* GreaterThanGreaterThanGreaterThanEqualsToken */; + } + return pos += 2, token = 50 /* GreaterThanGreaterThanGreaterThanToken */; + } + if (charCodeUnchecked(pos + 1) === 61 /* equals */) { + return pos += 2, token = 72 /* GreaterThanGreaterThanEqualsToken */; + } + pos++; + return token = 49 /* GreaterThanGreaterThanToken */; + } + if (charCodeUnchecked(pos) === 61 /* equals */) { + pos++; + return token = 34 /* GreaterThanEqualsToken */; + } + } + return token; + } + function reScanAsteriskEqualsToken() { + Debug.assert(token === 67 /* AsteriskEqualsToken */, "'reScanAsteriskEqualsToken' should only be called on a '*='"); + pos = tokenStart + 1; + return token = 64 /* EqualsToken */; + } + function reScanSlashToken(reportErrors2) { + if (token === 44 /* SlashToken */ || token === 69 /* SlashEqualsToken */) { + const startOfRegExpBody = tokenStart + 1; + pos = startOfRegExpBody; + let inEscape = false; + let namedCaptureGroups = false; + let inCharacterClass = false; + while (true) { + const ch = charCodeChecked(pos); + if (ch === -1 /* EOF */ || isLineBreak(ch)) { + tokenFlags |= 4 /* Unterminated */; + break; + } + if (inEscape) { + inEscape = false; + } else if (ch === 47 /* slash */ && !inCharacterClass) { + break; + } else if (ch === 91 /* openBracket */) { + inCharacterClass = true; + } else if (ch === 92 /* backslash */) { + inEscape = true; + } else if (ch === 93 /* closeBracket */) { + inCharacterClass = false; + } else if (!inCharacterClass && ch === 40 /* openParen */ && charCodeChecked(pos + 1) === 63 /* question */ && charCodeChecked(pos + 2) === 60 /* lessThan */ && charCodeChecked(pos + 3) !== 61 /* equals */ && charCodeChecked(pos + 3) !== 33 /* exclamation */) { + namedCaptureGroups = true; + } + pos++; + } + const endOfRegExpBody = pos; + if (tokenFlags & 4 /* Unterminated */) { + pos = startOfRegExpBody; + inEscape = false; + let characterClassDepth = 0; + let inDecimalQuantifier = false; + let groupDepth = 0; + while (pos < endOfRegExpBody) { + const ch = charCodeUnchecked(pos); + if (inEscape) { + inEscape = false; + } else if (ch === 92 /* backslash */) { + inEscape = true; + } else if (ch === 91 /* openBracket */) { + characterClassDepth++; + } else if (ch === 93 /* closeBracket */ && characterClassDepth) { + characterClassDepth--; + } else if (!characterClassDepth) { + if (ch === 123 /* openBrace */) { + inDecimalQuantifier = true; + } else if (ch === 125 /* closeBrace */ && inDecimalQuantifier) { + inDecimalQuantifier = false; + } else if (!inDecimalQuantifier) { + if (ch === 40 /* openParen */) { + groupDepth++; + } else if (ch === 41 /* closeParen */ && groupDepth) { + groupDepth--; + } else if (ch === 41 /* closeParen */ || ch === 93 /* closeBracket */ || ch === 125 /* closeBrace */) { + break; + } + } + } + pos++; + } + while (isWhiteSpaceLike(charCodeChecked(pos - 1)) || charCodeChecked(pos - 1) === 59 /* semicolon */) pos--; + error(Diagnostics.Unterminated_regular_expression_literal, tokenStart, pos - tokenStart); + } else { + pos++; + let regExpFlags = 0 /* None */; + while (true) { + const ch = codePointChecked(pos); + if (ch === -1 /* EOF */ || !isIdentifierPart(ch, languageVersion)) { + break; + } + const size = charSize(ch); + if (reportErrors2) { + const flag = characterCodeToRegularExpressionFlag(ch); + if (flag === void 0) { + error(Diagnostics.Unknown_regular_expression_flag, pos, size); + } else if (regExpFlags & flag) { + error(Diagnostics.Duplicate_regular_expression_flag, pos, size); + } else if (((regExpFlags | flag) & 96 /* AnyUnicodeMode */) === 96 /* AnyUnicodeMode */) { + error(Diagnostics.The_Unicode_u_flag_and_the_Unicode_Sets_v_flag_cannot_be_set_simultaneously, pos, size); + } else { + regExpFlags |= flag; + checkRegularExpressionFlagAvailability(flag, size); + } + } + pos += size; + } + if (reportErrors2) { + scanRange(startOfRegExpBody, endOfRegExpBody - startOfRegExpBody, () => { + scanRegularExpressionWorker( + regExpFlags, + /*annexB*/ + true, + namedCaptureGroups + ); + }); + } + } + tokenValue = text.substring(tokenStart, pos); + token = 14 /* RegularExpressionLiteral */; + } + return token; + } + function scanRegularExpressionWorker(regExpFlags, annexB, namedCaptureGroups) { + var unicodeSetsMode = !!(regExpFlags & 64 /* UnicodeSets */); + var anyUnicodeMode = !!(regExpFlags & 96 /* AnyUnicodeMode */); + var anyUnicodeModeOrNonAnnexB = anyUnicodeMode || !annexB; + var mayContainStrings = false; + var numberOfCapturingGroups = 0; + var groupSpecifiers; + var groupNameReferences; + var decimalEscapes; + var namedCapturingGroupsScopeStack = []; + var topNamedCapturingGroupsScope; + function scanDisjunction(isInGroup) { + while (true) { + namedCapturingGroupsScopeStack.push(topNamedCapturingGroupsScope); + topNamedCapturingGroupsScope = void 0; + scanAlternative(isInGroup); + topNamedCapturingGroupsScope = namedCapturingGroupsScopeStack.pop(); + if (charCodeChecked(pos) !== 124 /* bar */) { + return; + } + pos++; + } + } + function scanAlternative(isInGroup) { + let isPreviousTermQuantifiable = false; + while (true) { + const start2 = pos; + const ch = charCodeChecked(pos); + switch (ch) { + case -1 /* EOF */: + return; + case 94 /* caret */: + case 36 /* $ */: + pos++; + isPreviousTermQuantifiable = false; + break; + case 92 /* backslash */: + pos++; + switch (charCodeChecked(pos)) { + case 98 /* b */: + case 66 /* B */: + pos++; + isPreviousTermQuantifiable = false; + break; + default: + scanAtomEscape(); + isPreviousTermQuantifiable = true; + break; + } + break; + case 40 /* openParen */: + pos++; + if (charCodeChecked(pos) === 63 /* question */) { + pos++; + switch (charCodeChecked(pos)) { + case 61 /* equals */: + case 33 /* exclamation */: + pos++; + isPreviousTermQuantifiable = !anyUnicodeModeOrNonAnnexB; + break; + case 60 /* lessThan */: + const groupNameStart = pos; + pos++; + switch (charCodeChecked(pos)) { + case 61 /* equals */: + case 33 /* exclamation */: + pos++; + isPreviousTermQuantifiable = false; + break; + default: + scanGroupName( + /*isReference*/ + false + ); + scanExpectedChar(62 /* greaterThan */); + if (languageVersion < 5 /* ES2018 */) { + error(Diagnostics.Named_capturing_groups_are_only_available_when_targeting_ES2018_or_later, groupNameStart, pos - groupNameStart); + } + numberOfCapturingGroups++; + isPreviousTermQuantifiable = true; + break; + } + break; + default: + const start3 = pos; + const setFlags = scanPatternModifiers(0 /* None */); + if (charCodeChecked(pos) === 45 /* minus */) { + pos++; + scanPatternModifiers(setFlags); + if (pos === start3 + 1) { + error(Diagnostics.Subpattern_flags_must_be_present_when_there_is_a_minus_sign, start3, pos - start3); + } + } + scanExpectedChar(58 /* colon */); + isPreviousTermQuantifiable = true; + break; + } + } else { + numberOfCapturingGroups++; + isPreviousTermQuantifiable = true; + } + scanDisjunction( + /*isInGroup*/ + true + ); + scanExpectedChar(41 /* closeParen */); + break; + case 123 /* openBrace */: + pos++; + const digitsStart = pos; + scanDigits(); + const min2 = tokenValue; + if (!anyUnicodeModeOrNonAnnexB && !min2) { + isPreviousTermQuantifiable = true; + break; + } + if (charCodeChecked(pos) === 44 /* comma */) { + pos++; + scanDigits(); + const max = tokenValue; + if (!min2) { + if (max || charCodeChecked(pos) === 125 /* closeBrace */) { + error(Diagnostics.Incomplete_quantifier_Digit_expected, digitsStart, 0); + } else { + error(Diagnostics.Unexpected_0_Did_you_mean_to_escape_it_with_backslash, start2, 1, String.fromCharCode(ch)); + isPreviousTermQuantifiable = true; + break; + } + } else if (max && Number.parseInt(min2) > Number.parseInt(max) && (anyUnicodeModeOrNonAnnexB || charCodeChecked(pos) === 125 /* closeBrace */)) { + error(Diagnostics.Numbers_out_of_order_in_quantifier, digitsStart, pos - digitsStart); + } + } else if (!min2) { + if (anyUnicodeModeOrNonAnnexB) { + error(Diagnostics.Unexpected_0_Did_you_mean_to_escape_it_with_backslash, start2, 1, String.fromCharCode(ch)); + } + isPreviousTermQuantifiable = true; + break; + } + if (charCodeChecked(pos) !== 125 /* closeBrace */) { + if (anyUnicodeModeOrNonAnnexB) { + error(Diagnostics._0_expected, pos, 0, String.fromCharCode(125 /* closeBrace */)); + pos--; + } else { + isPreviousTermQuantifiable = true; + break; + } + } + // falls through + case 42 /* asterisk */: + case 43 /* plus */: + case 63 /* question */: + pos++; + if (charCodeChecked(pos) === 63 /* question */) { + pos++; + } + if (!isPreviousTermQuantifiable) { + error(Diagnostics.There_is_nothing_available_for_repetition, start2, pos - start2); + } + isPreviousTermQuantifiable = false; + break; + case 46 /* dot */: + pos++; + isPreviousTermQuantifiable = true; + break; + case 91 /* openBracket */: + pos++; + if (unicodeSetsMode) { + scanClassSetExpression(); + } else { + scanClassRanges(); + } + scanExpectedChar(93 /* closeBracket */); + isPreviousTermQuantifiable = true; + break; + case 41 /* closeParen */: + if (isInGroup) { + return; + } + // falls through + case 93 /* closeBracket */: + case 125 /* closeBrace */: + if (anyUnicodeModeOrNonAnnexB || ch === 41 /* closeParen */) { + error(Diagnostics.Unexpected_0_Did_you_mean_to_escape_it_with_backslash, pos, 1, String.fromCharCode(ch)); + } + pos++; + isPreviousTermQuantifiable = true; + break; + case 47 /* slash */: + case 124 /* bar */: + return; + default: + scanSourceCharacter(); + isPreviousTermQuantifiable = true; + break; + } + } + } + function scanPatternModifiers(currFlags) { + while (true) { + const ch = codePointChecked(pos); + if (ch === -1 /* EOF */ || !isIdentifierPart(ch, languageVersion)) { + break; + } + const size = charSize(ch); + const flag = characterCodeToRegularExpressionFlag(ch); + if (flag === void 0) { + error(Diagnostics.Unknown_regular_expression_flag, pos, size); + } else if (currFlags & flag) { + error(Diagnostics.Duplicate_regular_expression_flag, pos, size); + } else if (!(flag & 28 /* Modifiers */)) { + error(Diagnostics.This_regular_expression_flag_cannot_be_toggled_within_a_subpattern, pos, size); + } else { + currFlags |= flag; + checkRegularExpressionFlagAvailability(flag, size); + } + pos += size; + } + return currFlags; + } + function scanAtomEscape() { + Debug.assertEqual(charCodeUnchecked(pos - 1), 92 /* backslash */); + switch (charCodeChecked(pos)) { + case 107 /* k */: + pos++; + if (charCodeChecked(pos) === 60 /* lessThan */) { + pos++; + scanGroupName( + /*isReference*/ + true + ); + scanExpectedChar(62 /* greaterThan */); + } else if (anyUnicodeModeOrNonAnnexB || namedCaptureGroups) { + error(Diagnostics.k_must_be_followed_by_a_capturing_group_name_enclosed_in_angle_brackets, pos - 2, 2); + } + break; + case 113 /* q */: + if (unicodeSetsMode) { + pos++; + error(Diagnostics.q_is_only_available_inside_character_class, pos - 2, 2); + break; + } + // falls through + default: + Debug.assert(scanCharacterClassEscape() || scanDecimalEscape() || scanCharacterEscape( + /*atomEscape*/ + true + )); + break; + } + } + function scanDecimalEscape() { + Debug.assertEqual(charCodeUnchecked(pos - 1), 92 /* backslash */); + const ch = charCodeChecked(pos); + if (ch >= 49 /* _1 */ && ch <= 57 /* _9 */) { + const start2 = pos; + scanDigits(); + decimalEscapes = append(decimalEscapes, { pos: start2, end: pos, value: +tokenValue }); + return true; + } + return false; + } + function scanCharacterEscape(atomEscape) { + Debug.assertEqual(charCodeUnchecked(pos - 1), 92 /* backslash */); + let ch = charCodeChecked(pos); + switch (ch) { + case -1 /* EOF */: + error(Diagnostics.Undetermined_character_escape, pos - 1, 1); + return "\\"; + case 99 /* c */: + pos++; + ch = charCodeChecked(pos); + if (isASCIILetter(ch)) { + pos++; + return String.fromCharCode(ch & 31); + } + if (anyUnicodeModeOrNonAnnexB) { + error(Diagnostics.c_must_be_followed_by_an_ASCII_letter, pos - 2, 2); + } else if (atomEscape) { + pos--; + return "\\"; + } + return String.fromCharCode(ch); + case 94 /* caret */: + case 36 /* $ */: + case 47 /* slash */: + case 92 /* backslash */: + case 46 /* dot */: + case 42 /* asterisk */: + case 43 /* plus */: + case 63 /* question */: + case 40 /* openParen */: + case 41 /* closeParen */: + case 91 /* openBracket */: + case 93 /* closeBracket */: + case 123 /* openBrace */: + case 125 /* closeBrace */: + case 124 /* bar */: + pos++; + return String.fromCharCode(ch); + default: + pos--; + return scanEscapeSequence( + 4 /* RegularExpression */ | (annexB ? 8 /* AnnexB */ : 0) | (anyUnicodeMode ? 16 /* AnyUnicodeMode */ : 0) | (atomEscape ? 32 /* AtomEscape */ : 0) + ); + } + } + function scanGroupName(isReference) { + Debug.assertEqual(charCodeUnchecked(pos - 1), 60 /* lessThan */); + tokenStart = pos; + scanIdentifier(codePointChecked(pos), languageVersion); + if (pos === tokenStart) { + error(Diagnostics.Expected_a_capturing_group_name); + } else if (isReference) { + groupNameReferences = append(groupNameReferences, { pos: tokenStart, end: pos, name: tokenValue }); + } else if ((topNamedCapturingGroupsScope == null ? void 0 : topNamedCapturingGroupsScope.has(tokenValue)) || namedCapturingGroupsScopeStack.some((group2) => group2 == null ? void 0 : group2.has(tokenValue))) { + error(Diagnostics.Named_capturing_groups_with_the_same_name_must_be_mutually_exclusive_to_each_other, tokenStart, pos - tokenStart); + } else { + topNamedCapturingGroupsScope ?? (topNamedCapturingGroupsScope = /* @__PURE__ */ new Set()); + topNamedCapturingGroupsScope.add(tokenValue); + groupSpecifiers ?? (groupSpecifiers = /* @__PURE__ */ new Set()); + groupSpecifiers.add(tokenValue); + } + } + function isClassContentExit(ch) { + return ch === 93 /* closeBracket */ || ch === -1 /* EOF */ || pos >= end; + } + function scanClassRanges() { + Debug.assertEqual(charCodeUnchecked(pos - 1), 91 /* openBracket */); + if (charCodeChecked(pos) === 94 /* caret */) { + pos++; + } + while (true) { + const ch = charCodeChecked(pos); + if (isClassContentExit(ch)) { + return; + } + const minStart = pos; + const minCharacter = scanClassAtom(); + if (charCodeChecked(pos) === 45 /* minus */) { + pos++; + const ch2 = charCodeChecked(pos); + if (isClassContentExit(ch2)) { + return; + } + if (!minCharacter && anyUnicodeModeOrNonAnnexB) { + error(Diagnostics.A_character_class_range_must_not_be_bounded_by_another_character_class, minStart, pos - 1 - minStart); + } + const maxStart = pos; + const maxCharacter = scanClassAtom(); + if (!maxCharacter && anyUnicodeModeOrNonAnnexB) { + error(Diagnostics.A_character_class_range_must_not_be_bounded_by_another_character_class, maxStart, pos - maxStart); + continue; + } + if (!minCharacter) { + continue; + } + const minCharacterValue = codePointAt(minCharacter, 0); + const maxCharacterValue = codePointAt(maxCharacter, 0); + if (minCharacter.length === charSize(minCharacterValue) && maxCharacter.length === charSize(maxCharacterValue) && minCharacterValue > maxCharacterValue) { + error(Diagnostics.Range_out_of_order_in_character_class, minStart, pos - minStart); + } + } + } + } + function scanClassSetExpression() { + Debug.assertEqual(charCodeUnchecked(pos - 1), 91 /* openBracket */); + let isCharacterComplement = false; + if (charCodeChecked(pos) === 94 /* caret */) { + pos++; + isCharacterComplement = true; + } + let expressionMayContainStrings = false; + let ch = charCodeChecked(pos); + if (isClassContentExit(ch)) { + return; + } + let start2 = pos; + let operand; + switch (text.slice(pos, pos + 2)) { + // TODO: don't use slice + case "--": + case "&&": + error(Diagnostics.Expected_a_class_set_operand); + mayContainStrings = false; + break; + default: + operand = scanClassSetOperand(); + break; + } + switch (charCodeChecked(pos)) { + case 45 /* minus */: + if (charCodeChecked(pos + 1) === 45 /* minus */) { + if (isCharacterComplement && mayContainStrings) { + error(Diagnostics.Anything_that_would_possibly_match_more_than_a_single_character_is_invalid_inside_a_negated_character_class, start2, pos - start2); + } + expressionMayContainStrings = mayContainStrings; + scanClassSetSubExpression(3 /* ClassSubtraction */); + mayContainStrings = !isCharacterComplement && expressionMayContainStrings; + return; + } + break; + case 38 /* ampersand */: + if (charCodeChecked(pos + 1) === 38 /* ampersand */) { + scanClassSetSubExpression(2 /* ClassIntersection */); + if (isCharacterComplement && mayContainStrings) { + error(Diagnostics.Anything_that_would_possibly_match_more_than_a_single_character_is_invalid_inside_a_negated_character_class, start2, pos - start2); + } + expressionMayContainStrings = mayContainStrings; + mayContainStrings = !isCharacterComplement && expressionMayContainStrings; + return; + } else { + error(Diagnostics.Unexpected_0_Did_you_mean_to_escape_it_with_backslash, pos, 1, String.fromCharCode(ch)); + } + break; + default: + if (isCharacterComplement && mayContainStrings) { + error(Diagnostics.Anything_that_would_possibly_match_more_than_a_single_character_is_invalid_inside_a_negated_character_class, start2, pos - start2); + } + expressionMayContainStrings = mayContainStrings; + break; + } + while (true) { + ch = charCodeChecked(pos); + if (ch === -1 /* EOF */) { + break; + } + switch (ch) { + case 45 /* minus */: + pos++; + ch = charCodeChecked(pos); + if (isClassContentExit(ch)) { + mayContainStrings = !isCharacterComplement && expressionMayContainStrings; + return; + } + if (ch === 45 /* minus */) { + pos++; + error(Diagnostics.Operators_must_not_be_mixed_within_a_character_class_Wrap_it_in_a_nested_class_instead, pos - 2, 2); + start2 = pos - 2; + operand = text.slice(start2, pos); + continue; + } else { + if (!operand) { + error(Diagnostics.A_character_class_range_must_not_be_bounded_by_another_character_class, start2, pos - 1 - start2); + } + const secondStart = pos; + const secondOperand = scanClassSetOperand(); + if (isCharacterComplement && mayContainStrings) { + error(Diagnostics.Anything_that_would_possibly_match_more_than_a_single_character_is_invalid_inside_a_negated_character_class, secondStart, pos - secondStart); + } + expressionMayContainStrings || (expressionMayContainStrings = mayContainStrings); + if (!secondOperand) { + error(Diagnostics.A_character_class_range_must_not_be_bounded_by_another_character_class, secondStart, pos - secondStart); + break; + } + if (!operand) { + break; + } + const minCharacterValue = codePointAt(operand, 0); + const maxCharacterValue = codePointAt(secondOperand, 0); + if (operand.length === charSize(minCharacterValue) && secondOperand.length === charSize(maxCharacterValue) && minCharacterValue > maxCharacterValue) { + error(Diagnostics.Range_out_of_order_in_character_class, start2, pos - start2); + } + } + break; + case 38 /* ampersand */: + start2 = pos; + pos++; + if (charCodeChecked(pos) === 38 /* ampersand */) { + pos++; + error(Diagnostics.Operators_must_not_be_mixed_within_a_character_class_Wrap_it_in_a_nested_class_instead, pos - 2, 2); + if (charCodeChecked(pos) === 38 /* ampersand */) { + error(Diagnostics.Unexpected_0_Did_you_mean_to_escape_it_with_backslash, pos, 1, String.fromCharCode(ch)); + pos++; + } + } else { + error(Diagnostics.Unexpected_0_Did_you_mean_to_escape_it_with_backslash, pos - 1, 1, String.fromCharCode(ch)); + } + operand = text.slice(start2, pos); + continue; + } + if (isClassContentExit(charCodeChecked(pos))) { + break; + } + start2 = pos; + switch (text.slice(pos, pos + 2)) { + // TODO: don't use slice + case "--": + case "&&": + error(Diagnostics.Operators_must_not_be_mixed_within_a_character_class_Wrap_it_in_a_nested_class_instead, pos, 2); + pos += 2; + operand = text.slice(start2, pos); + break; + default: + operand = scanClassSetOperand(); + break; + } + } + mayContainStrings = !isCharacterComplement && expressionMayContainStrings; + } + function scanClassSetSubExpression(expressionType) { + let expressionMayContainStrings = mayContainStrings; + while (true) { + let ch = charCodeChecked(pos); + if (isClassContentExit(ch)) { + break; + } + switch (ch) { + case 45 /* minus */: + pos++; + if (charCodeChecked(pos) === 45 /* minus */) { + pos++; + if (expressionType !== 3 /* ClassSubtraction */) { + error(Diagnostics.Operators_must_not_be_mixed_within_a_character_class_Wrap_it_in_a_nested_class_instead, pos - 2, 2); + } + } else { + error(Diagnostics.Operators_must_not_be_mixed_within_a_character_class_Wrap_it_in_a_nested_class_instead, pos - 1, 1); + } + break; + case 38 /* ampersand */: + pos++; + if (charCodeChecked(pos) === 38 /* ampersand */) { + pos++; + if (expressionType !== 2 /* ClassIntersection */) { + error(Diagnostics.Operators_must_not_be_mixed_within_a_character_class_Wrap_it_in_a_nested_class_instead, pos - 2, 2); + } + if (charCodeChecked(pos) === 38 /* ampersand */) { + error(Diagnostics.Unexpected_0_Did_you_mean_to_escape_it_with_backslash, pos, 1, String.fromCharCode(ch)); + pos++; + } + } else { + error(Diagnostics.Unexpected_0_Did_you_mean_to_escape_it_with_backslash, pos - 1, 1, String.fromCharCode(ch)); + } + break; + default: + switch (expressionType) { + case 3 /* ClassSubtraction */: + error(Diagnostics._0_expected, pos, 0, "--"); + break; + case 2 /* ClassIntersection */: + error(Diagnostics._0_expected, pos, 0, "&&"); + break; + default: + break; + } + break; + } + ch = charCodeChecked(pos); + if (isClassContentExit(ch)) { + error(Diagnostics.Expected_a_class_set_operand); + break; + } + scanClassSetOperand(); + expressionMayContainStrings && (expressionMayContainStrings = mayContainStrings); + } + mayContainStrings = expressionMayContainStrings; + } + function scanClassSetOperand() { + mayContainStrings = false; + switch (charCodeChecked(pos)) { + case -1 /* EOF */: + return ""; + case 91 /* openBracket */: + pos++; + scanClassSetExpression(); + scanExpectedChar(93 /* closeBracket */); + return ""; + case 92 /* backslash */: + pos++; + if (scanCharacterClassEscape()) { + return ""; + } else if (charCodeChecked(pos) === 113 /* q */) { + pos++; + if (charCodeChecked(pos) === 123 /* openBrace */) { + pos++; + scanClassStringDisjunctionContents(); + scanExpectedChar(125 /* closeBrace */); + return ""; + } else { + error(Diagnostics.q_must_be_followed_by_string_alternatives_enclosed_in_braces, pos - 2, 2); + return "q"; + } + } + pos--; + // falls through + default: + return scanClassSetCharacter(); + } + } + function scanClassStringDisjunctionContents() { + Debug.assertEqual(charCodeUnchecked(pos - 1), 123 /* openBrace */); + let characterCount = 0; + while (true) { + const ch = charCodeChecked(pos); + switch (ch) { + case -1 /* EOF */: + return; + case 125 /* closeBrace */: + if (characterCount !== 1) { + mayContainStrings = true; + } + return; + case 124 /* bar */: + if (characterCount !== 1) { + mayContainStrings = true; + } + pos++; + start = pos; + characterCount = 0; + break; + default: + scanClassSetCharacter(); + characterCount++; + break; + } + } + } + function scanClassSetCharacter() { + const ch = charCodeChecked(pos); + if (ch === -1 /* EOF */) { + return ""; + } + if (ch === 92 /* backslash */) { + pos++; + const ch2 = charCodeChecked(pos); + switch (ch2) { + case 98 /* b */: + pos++; + return "\b"; + case 38 /* ampersand */: + case 45 /* minus */: + case 33 /* exclamation */: + case 35 /* hash */: + case 37 /* percent */: + case 44 /* comma */: + case 58 /* colon */: + case 59 /* semicolon */: + case 60 /* lessThan */: + case 61 /* equals */: + case 62 /* greaterThan */: + case 64 /* at */: + case 96 /* backtick */: + case 126 /* tilde */: + pos++; + return String.fromCharCode(ch2); + default: + return scanCharacterEscape( + /*atomEscape*/ + false + ); + } + } else if (ch === charCodeChecked(pos + 1)) { + switch (ch) { + case 38 /* ampersand */: + case 33 /* exclamation */: + case 35 /* hash */: + case 37 /* percent */: + case 42 /* asterisk */: + case 43 /* plus */: + case 44 /* comma */: + case 46 /* dot */: + case 58 /* colon */: + case 59 /* semicolon */: + case 60 /* lessThan */: + case 61 /* equals */: + case 62 /* greaterThan */: + case 63 /* question */: + case 64 /* at */: + case 96 /* backtick */: + case 126 /* tilde */: + error(Diagnostics.A_character_class_must_not_contain_a_reserved_double_punctuator_Did_you_mean_to_escape_it_with_backslash, pos, 2); + pos += 2; + return text.substring(pos - 2, pos); + } + } + switch (ch) { + case 47 /* slash */: + case 40 /* openParen */: + case 41 /* closeParen */: + case 91 /* openBracket */: + case 93 /* closeBracket */: + case 123 /* openBrace */: + case 125 /* closeBrace */: + case 45 /* minus */: + case 124 /* bar */: + error(Diagnostics.Unexpected_0_Did_you_mean_to_escape_it_with_backslash, pos, 1, String.fromCharCode(ch)); + pos++; + return String.fromCharCode(ch); + } + return scanSourceCharacter(); + } + function scanClassAtom() { + if (charCodeChecked(pos) === 92 /* backslash */) { + pos++; + const ch = charCodeChecked(pos); + switch (ch) { + case 98 /* b */: + pos++; + return "\b"; + case 45 /* minus */: + pos++; + return String.fromCharCode(ch); + default: + if (scanCharacterClassEscape()) { + return ""; + } + return scanCharacterEscape( + /*atomEscape*/ + false + ); + } + } else { + return scanSourceCharacter(); + } + } + function scanCharacterClassEscape() { + Debug.assertEqual(charCodeUnchecked(pos - 1), 92 /* backslash */); + let isCharacterComplement = false; + const start2 = pos - 1; + const ch = charCodeChecked(pos); + switch (ch) { + case 100 /* d */: + case 68 /* D */: + case 115 /* s */: + case 83 /* S */: + case 119 /* w */: + case 87 /* W */: + pos++; + return true; + case 80 /* P */: + isCharacterComplement = true; + // falls through + case 112 /* p */: + pos++; + if (charCodeChecked(pos) === 123 /* openBrace */) { + pos++; + const propertyNameOrValueStart = pos; + const propertyNameOrValue = scanWordCharacters(); + if (charCodeChecked(pos) === 61 /* equals */) { + const propertyName = nonBinaryUnicodeProperties.get(propertyNameOrValue); + if (pos === propertyNameOrValueStart) { + error(Diagnostics.Expected_a_Unicode_property_name); + } else if (propertyName === void 0) { + error(Diagnostics.Unknown_Unicode_property_name, propertyNameOrValueStart, pos - propertyNameOrValueStart); + const suggestion = getSpellingSuggestion(propertyNameOrValue, nonBinaryUnicodeProperties.keys(), identity); + if (suggestion) { + error(Diagnostics.Did_you_mean_0, propertyNameOrValueStart, pos - propertyNameOrValueStart, suggestion); + } + } + pos++; + const propertyValueStart = pos; + const propertyValue = scanWordCharacters(); + if (pos === propertyValueStart) { + error(Diagnostics.Expected_a_Unicode_property_value); + } else if (propertyName !== void 0 && !valuesOfNonBinaryUnicodeProperties[propertyName].has(propertyValue)) { + error(Diagnostics.Unknown_Unicode_property_value, propertyValueStart, pos - propertyValueStart); + const suggestion = getSpellingSuggestion(propertyValue, valuesOfNonBinaryUnicodeProperties[propertyName], identity); + if (suggestion) { + error(Diagnostics.Did_you_mean_0, propertyValueStart, pos - propertyValueStart, suggestion); + } + } + } else { + if (pos === propertyNameOrValueStart) { + error(Diagnostics.Expected_a_Unicode_property_name_or_value); + } else if (binaryUnicodePropertiesOfStrings.has(propertyNameOrValue)) { + if (!unicodeSetsMode) { + error(Diagnostics.Any_Unicode_property_that_would_possibly_match_more_than_a_single_character_is_only_available_when_the_Unicode_Sets_v_flag_is_set, propertyNameOrValueStart, pos - propertyNameOrValueStart); + } else if (isCharacterComplement) { + error(Diagnostics.Anything_that_would_possibly_match_more_than_a_single_character_is_invalid_inside_a_negated_character_class, propertyNameOrValueStart, pos - propertyNameOrValueStart); + } else { + mayContainStrings = true; + } + } else if (!valuesOfNonBinaryUnicodeProperties.General_Category.has(propertyNameOrValue) && !binaryUnicodeProperties.has(propertyNameOrValue)) { + error(Diagnostics.Unknown_Unicode_property_name_or_value, propertyNameOrValueStart, pos - propertyNameOrValueStart); + const suggestion = getSpellingSuggestion(propertyNameOrValue, [...valuesOfNonBinaryUnicodeProperties.General_Category, ...binaryUnicodeProperties, ...binaryUnicodePropertiesOfStrings], identity); + if (suggestion) { + error(Diagnostics.Did_you_mean_0, propertyNameOrValueStart, pos - propertyNameOrValueStart, suggestion); + } + } + } + scanExpectedChar(125 /* closeBrace */); + if (!anyUnicodeMode) { + error(Diagnostics.Unicode_property_value_expressions_are_only_available_when_the_Unicode_u_flag_or_the_Unicode_Sets_v_flag_is_set, start2, pos - start2); + } + } else if (anyUnicodeModeOrNonAnnexB) { + error(Diagnostics._0_must_be_followed_by_a_Unicode_property_value_expression_enclosed_in_braces, pos - 2, 2, String.fromCharCode(ch)); + } else { + pos--; + return false; + } + return true; + } + return false; + } + function scanWordCharacters() { + let value = ""; + while (true) { + const ch = charCodeChecked(pos); + if (ch === -1 /* EOF */ || !isWordCharacter(ch)) { + break; + } + value += String.fromCharCode(ch); + pos++; + } + return value; + } + function scanSourceCharacter() { + const size = anyUnicodeMode ? charSize(codePointChecked(pos)) : 1; + pos += size; + return size > 0 ? text.substring(pos - size, pos) : ""; + } + function scanExpectedChar(ch) { + if (charCodeChecked(pos) === ch) { + pos++; + } else { + error(Diagnostics._0_expected, pos, 0, String.fromCharCode(ch)); + } + } + scanDisjunction( + /*isInGroup*/ + false + ); + forEach(groupNameReferences, (reference) => { + if (!(groupSpecifiers == null ? void 0 : groupSpecifiers.has(reference.name))) { + error(Diagnostics.There_is_no_capturing_group_named_0_in_this_regular_expression, reference.pos, reference.end - reference.pos, reference.name); + if (groupSpecifiers) { + const suggestion = getSpellingSuggestion(reference.name, groupSpecifiers, identity); + if (suggestion) { + error(Diagnostics.Did_you_mean_0, reference.pos, reference.end - reference.pos, suggestion); + } + } + } + }); + forEach(decimalEscapes, (escape) => { + if (escape.value > numberOfCapturingGroups) { + if (numberOfCapturingGroups) { + error(Diagnostics.This_backreference_refers_to_a_group_that_does_not_exist_There_are_only_0_capturing_groups_in_this_regular_expression, escape.pos, escape.end - escape.pos, numberOfCapturingGroups); + } else { + error(Diagnostics.This_backreference_refers_to_a_group_that_does_not_exist_There_are_no_capturing_groups_in_this_regular_expression, escape.pos, escape.end - escape.pos); + } + } + }); + } + function checkRegularExpressionFlagAvailability(flag, size) { + const availableFrom = regExpFlagToFirstAvailableLanguageVersion.get(flag); + if (availableFrom && languageVersion < availableFrom) { + error(Diagnostics.This_regular_expression_flag_is_only_available_when_targeting_0_or_later, pos, size, getNameOfScriptTarget(availableFrom)); + } + } + function appendIfCommentDirective(commentDirectives2, text2, commentDirectiveRegEx, lineStart) { + const type = getDirectiveFromComment(text2.trimStart(), commentDirectiveRegEx); + if (type === void 0) { + return commentDirectives2; + } + return append( + commentDirectives2, + { + range: { pos: lineStart, end: pos }, + type + } + ); + } + function getDirectiveFromComment(text2, commentDirectiveRegEx) { + const match = commentDirectiveRegEx.exec(text2); + if (!match) { + return void 0; + } + switch (match[1]) { + case "ts-expect-error": + return 0 /* ExpectError */; + case "ts-ignore": + return 1 /* Ignore */; + } + return void 0; + } + function reScanTemplateToken(isTaggedTemplate) { + pos = tokenStart; + return token = scanTemplateAndSetTokenValue(!isTaggedTemplate); + } + function reScanTemplateHeadOrNoSubstitutionTemplate() { + pos = tokenStart; + return token = scanTemplateAndSetTokenValue( + /*shouldEmitInvalidEscapeError*/ + true + ); + } + function reScanJsxToken(allowMultilineJsxText = true) { + pos = tokenStart = fullStartPos; + return token = scanJsxToken(allowMultilineJsxText); + } + function reScanLessThanToken() { + if (token === 48 /* LessThanLessThanToken */) { + pos = tokenStart + 1; + return token = 30 /* LessThanToken */; + } + return token; + } + function reScanHashToken() { + if (token === 81 /* PrivateIdentifier */) { + pos = tokenStart + 1; + return token = 63 /* HashToken */; + } + return token; + } + function reScanQuestionToken() { + Debug.assert(token === 61 /* QuestionQuestionToken */, "'reScanQuestionToken' should only be called on a '??'"); + pos = tokenStart + 1; + return token = 58 /* QuestionToken */; + } + function scanJsxToken(allowMultilineJsxText = true) { + fullStartPos = tokenStart = pos; + if (pos >= end) { + return token = 1 /* EndOfFileToken */; + } + let char = charCodeUnchecked(pos); + if (char === 60 /* lessThan */) { + if (charCodeUnchecked(pos + 1) === 47 /* slash */) { + pos += 2; + return token = 31 /* LessThanSlashToken */; + } + pos++; + return token = 30 /* LessThanToken */; + } + if (char === 123 /* openBrace */) { + pos++; + return token = 19 /* OpenBraceToken */; + } + let firstNonWhitespace = 0; + while (pos < end) { + char = charCodeUnchecked(pos); + if (char === 123 /* openBrace */) { + break; + } + if (char === 60 /* lessThan */) { + if (isConflictMarkerTrivia(text, pos)) { + pos = scanConflictMarkerTrivia(text, pos, error); + return token = 7 /* ConflictMarkerTrivia */; + } + break; + } + if (char === 62 /* greaterThan */) { + error(Diagnostics.Unexpected_token_Did_you_mean_or_gt, pos, 1); + } + if (char === 125 /* closeBrace */) { + error(Diagnostics.Unexpected_token_Did_you_mean_or_rbrace, pos, 1); + } + if (isLineBreak(char) && firstNonWhitespace === 0) { + firstNonWhitespace = -1; + } else if (!allowMultilineJsxText && isLineBreak(char) && firstNonWhitespace > 0) { + break; + } else if (!isWhiteSpaceLike(char)) { + firstNonWhitespace = pos; + } + pos++; + } + tokenValue = text.substring(fullStartPos, pos); + return firstNonWhitespace === -1 ? 13 /* JsxTextAllWhiteSpaces */ : 12 /* JsxText */; + } + function scanJsxIdentifier() { + if (tokenIsIdentifierOrKeyword(token)) { + while (pos < end) { + const ch = charCodeUnchecked(pos); + if (ch === 45 /* minus */) { + tokenValue += "-"; + pos++; + continue; + } + const oldPos = pos; + tokenValue += scanIdentifierParts(); + if (pos === oldPos) { + break; + } + } + return getIdentifierToken(); + } + return token; + } + function scanJsxAttributeValue() { + fullStartPos = pos; + switch (charCodeUnchecked(pos)) { + case 34 /* doubleQuote */: + case 39 /* singleQuote */: + tokenValue = scanString( + /*jsxAttributeString*/ + true + ); + return token = 11 /* StringLiteral */; + default: + return scan(); + } + } + function reScanJsxAttributeValue() { + pos = tokenStart = fullStartPos; + return scanJsxAttributeValue(); + } + function scanJSDocCommentTextToken(inBackticks) { + fullStartPos = tokenStart = pos; + tokenFlags = 0 /* None */; + if (pos >= end) { + return token = 1 /* EndOfFileToken */; + } + for (let ch = charCodeUnchecked(pos); pos < end && (!isLineBreak(ch) && ch !== 96 /* backtick */); ch = codePointUnchecked(++pos)) { + if (!inBackticks) { + if (ch === 123 /* openBrace */) { + break; + } else if (ch === 64 /* at */ && pos - 1 >= 0 && isWhiteSpaceSingleLine(charCodeUnchecked(pos - 1)) && !(pos + 1 < end && isWhiteSpaceLike(charCodeUnchecked(pos + 1)))) { + break; + } + } + } + if (pos === tokenStart) { + return scanJsDocToken(); + } + tokenValue = text.substring(tokenStart, pos); + return token = 82 /* JSDocCommentTextToken */; + } + function scanJsDocToken() { + fullStartPos = tokenStart = pos; + tokenFlags = 0 /* None */; + if (pos >= end) { + return token = 1 /* EndOfFileToken */; + } + const ch = codePointUnchecked(pos); + pos += charSize(ch); + switch (ch) { + case 9 /* tab */: + case 11 /* verticalTab */: + case 12 /* formFeed */: + case 32 /* space */: + while (pos < end && isWhiteSpaceSingleLine(charCodeUnchecked(pos))) { + pos++; + } + return token = 5 /* WhitespaceTrivia */; + case 64 /* at */: + return token = 60 /* AtToken */; + case 13 /* carriageReturn */: + if (charCodeUnchecked(pos) === 10 /* lineFeed */) { + pos++; + } + // falls through + case 10 /* lineFeed */: + tokenFlags |= 1 /* PrecedingLineBreak */; + return token = 4 /* NewLineTrivia */; + case 42 /* asterisk */: + return token = 42 /* AsteriskToken */; + case 123 /* openBrace */: + return token = 19 /* OpenBraceToken */; + case 125 /* closeBrace */: + return token = 20 /* CloseBraceToken */; + case 91 /* openBracket */: + return token = 23 /* OpenBracketToken */; + case 93 /* closeBracket */: + return token = 24 /* CloseBracketToken */; + case 40 /* openParen */: + return token = 21 /* OpenParenToken */; + case 41 /* closeParen */: + return token = 22 /* CloseParenToken */; + case 60 /* lessThan */: + return token = 30 /* LessThanToken */; + case 62 /* greaterThan */: + return token = 32 /* GreaterThanToken */; + case 61 /* equals */: + return token = 64 /* EqualsToken */; + case 44 /* comma */: + return token = 28 /* CommaToken */; + case 46 /* dot */: + return token = 25 /* DotToken */; + case 96 /* backtick */: + return token = 62 /* BacktickToken */; + case 35 /* hash */: + return token = 63 /* HashToken */; + case 92 /* backslash */: + pos--; + const extendedCookedChar = peekExtendedUnicodeEscape(); + if (extendedCookedChar >= 0 && isIdentifierStart(extendedCookedChar, languageVersion)) { + tokenValue = scanExtendedUnicodeEscape( + /*shouldEmitInvalidEscapeError*/ + true + ) + scanIdentifierParts(); + return token = getIdentifierToken(); + } + const cookedChar = peekUnicodeEscape(); + if (cookedChar >= 0 && isIdentifierStart(cookedChar, languageVersion)) { + pos += 6; + tokenFlags |= 1024 /* UnicodeEscape */; + tokenValue = String.fromCharCode(cookedChar) + scanIdentifierParts(); + return token = getIdentifierToken(); + } + pos++; + return token = 0 /* Unknown */; + } + if (isIdentifierStart(ch, languageVersion)) { + let char = ch; + while (pos < end && isIdentifierPart(char = codePointUnchecked(pos), languageVersion) || char === 45 /* minus */) pos += charSize(char); + tokenValue = text.substring(tokenStart, pos); + if (char === 92 /* backslash */) { + tokenValue += scanIdentifierParts(); + } + return token = getIdentifierToken(); + } else { + return token = 0 /* Unknown */; + } + } + function speculationHelper(callback, isLookahead) { + const savePos = pos; + const saveStartPos = fullStartPos; + const saveTokenPos = tokenStart; + const saveToken = token; + const saveTokenValue = tokenValue; + const saveTokenFlags = tokenFlags; + const result = callback(); + if (!result || isLookahead) { + pos = savePos; + fullStartPos = saveStartPos; + tokenStart = saveTokenPos; + token = saveToken; + tokenValue = saveTokenValue; + tokenFlags = saveTokenFlags; + } + return result; + } + function scanRange(start2, length3, callback) { + const saveEnd = end; + const savePos = pos; + const saveStartPos = fullStartPos; + const saveTokenPos = tokenStart; + const saveToken = token; + const saveTokenValue = tokenValue; + const saveTokenFlags = tokenFlags; + const saveErrorExpectations = commentDirectives; + setText(text, start2, length3); + const result = callback(); + end = saveEnd; + pos = savePos; + fullStartPos = saveStartPos; + tokenStart = saveTokenPos; + token = saveToken; + tokenValue = saveTokenValue; + tokenFlags = saveTokenFlags; + commentDirectives = saveErrorExpectations; + return result; + } + function lookAhead(callback) { + return speculationHelper( + callback, + /*isLookahead*/ + true + ); + } + function tryScan(callback) { + return speculationHelper( + callback, + /*isLookahead*/ + false + ); + } + function getText() { + return text; + } + function clearCommentDirectives() { + commentDirectives = void 0; + } + function setText(newText, start2, length3) { + text = newText || ""; + end = length3 === void 0 ? text.length : start2 + length3; + resetTokenState(start2 || 0); + } + function setOnError(errorCallback) { + onError = errorCallback; + } + function setScriptTarget(scriptTarget) { + languageVersion = scriptTarget; + } + function setLanguageVariant(variant) { + languageVariant = variant; + } + function setScriptKind(kind) { + scriptKind = kind; + } + function setJSDocParsingMode(kind) { + jsDocParsingMode = kind; + } + function resetTokenState(position) { + Debug.assert(position >= 0); + pos = position; + fullStartPos = position; + tokenStart = position; + token = 0 /* Unknown */; + tokenValue = void 0; + tokenFlags = 0 /* None */; + } + function setSkipJsDocLeadingAsterisks(skip) { + skipJsDocLeadingAsterisks += skip ? 1 : -1; + } +} +function codePointAt(s, i) { + return s.codePointAt(i); +} +function charSize(ch) { + if (ch >= 65536) { + return 2; + } + if (ch === -1 /* EOF */) { + return 0; + } + return 1; +} +function utf16EncodeAsStringFallback(codePoint) { + Debug.assert(0 <= codePoint && codePoint <= 1114111); + if (codePoint <= 65535) { + return String.fromCharCode(codePoint); + } + const codeUnit1 = Math.floor((codePoint - 65536) / 1024) + 55296; + const codeUnit2 = (codePoint - 65536) % 1024 + 56320; + return String.fromCharCode(codeUnit1, codeUnit2); +} +var utf16EncodeAsStringWorker = String.fromCodePoint ? (codePoint) => String.fromCodePoint(codePoint) : utf16EncodeAsStringFallback; +function utf16EncodeAsString(codePoint) { + return utf16EncodeAsStringWorker(codePoint); +} +var nonBinaryUnicodeProperties = new Map(Object.entries({ + General_Category: "General_Category", + gc: "General_Category", + Script: "Script", + sc: "Script", + Script_Extensions: "Script_Extensions", + scx: "Script_Extensions" +})); +var binaryUnicodeProperties = /* @__PURE__ */ new Set(["ASCII", "ASCII_Hex_Digit", "AHex", "Alphabetic", "Alpha", "Any", "Assigned", "Bidi_Control", "Bidi_C", "Bidi_Mirrored", "Bidi_M", "Case_Ignorable", "CI", "Cased", "Changes_When_Casefolded", "CWCF", "Changes_When_Casemapped", "CWCM", "Changes_When_Lowercased", "CWL", "Changes_When_NFKC_Casefolded", "CWKCF", "Changes_When_Titlecased", "CWT", "Changes_When_Uppercased", "CWU", "Dash", "Default_Ignorable_Code_Point", "DI", "Deprecated", "Dep", "Diacritic", "Dia", "Emoji", "Emoji_Component", "EComp", "Emoji_Modifier", "EMod", "Emoji_Modifier_Base", "EBase", "Emoji_Presentation", "EPres", "Extended_Pictographic", "ExtPict", "Extender", "Ext", "Grapheme_Base", "Gr_Base", "Grapheme_Extend", "Gr_Ext", "Hex_Digit", "Hex", "IDS_Binary_Operator", "IDSB", "IDS_Trinary_Operator", "IDST", "ID_Continue", "IDC", "ID_Start", "IDS", "Ideographic", "Ideo", "Join_Control", "Join_C", "Logical_Order_Exception", "LOE", "Lowercase", "Lower", "Math", "Noncharacter_Code_Point", "NChar", "Pattern_Syntax", "Pat_Syn", "Pattern_White_Space", "Pat_WS", "Quotation_Mark", "QMark", "Radical", "Regional_Indicator", "RI", "Sentence_Terminal", "STerm", "Soft_Dotted", "SD", "Terminal_Punctuation", "Term", "Unified_Ideograph", "UIdeo", "Uppercase", "Upper", "Variation_Selector", "VS", "White_Space", "space", "XID_Continue", "XIDC", "XID_Start", "XIDS"]); +var binaryUnicodePropertiesOfStrings = /* @__PURE__ */ new Set(["Basic_Emoji", "Emoji_Keycap_Sequence", "RGI_Emoji_Modifier_Sequence", "RGI_Emoji_Flag_Sequence", "RGI_Emoji_Tag_Sequence", "RGI_Emoji_ZWJ_Sequence", "RGI_Emoji"]); +var valuesOfNonBinaryUnicodeProperties = { + General_Category: /* @__PURE__ */ new Set(["C", "Other", "Cc", "Control", "cntrl", "Cf", "Format", "Cn", "Unassigned", "Co", "Private_Use", "Cs", "Surrogate", "L", "Letter", "LC", "Cased_Letter", "Ll", "Lowercase_Letter", "Lm", "Modifier_Letter", "Lo", "Other_Letter", "Lt", "Titlecase_Letter", "Lu", "Uppercase_Letter", "M", "Mark", "Combining_Mark", "Mc", "Spacing_Mark", "Me", "Enclosing_Mark", "Mn", "Nonspacing_Mark", "N", "Number", "Nd", "Decimal_Number", "digit", "Nl", "Letter_Number", "No", "Other_Number", "P", "Punctuation", "punct", "Pc", "Connector_Punctuation", "Pd", "Dash_Punctuation", "Pe", "Close_Punctuation", "Pf", "Final_Punctuation", "Pi", "Initial_Punctuation", "Po", "Other_Punctuation", "Ps", "Open_Punctuation", "S", "Symbol", "Sc", "Currency_Symbol", "Sk", "Modifier_Symbol", "Sm", "Math_Symbol", "So", "Other_Symbol", "Z", "Separator", "Zl", "Line_Separator", "Zp", "Paragraph_Separator", "Zs", "Space_Separator"]), + Script: /* @__PURE__ */ new Set(["Adlm", "Adlam", "Aghb", "Caucasian_Albanian", "Ahom", "Arab", "Arabic", "Armi", "Imperial_Aramaic", "Armn", "Armenian", "Avst", "Avestan", "Bali", "Balinese", "Bamu", "Bamum", "Bass", "Bassa_Vah", "Batk", "Batak", "Beng", "Bengali", "Bhks", "Bhaiksuki", "Bopo", "Bopomofo", "Brah", "Brahmi", "Brai", "Braille", "Bugi", "Buginese", "Buhd", "Buhid", "Cakm", "Chakma", "Cans", "Canadian_Aboriginal", "Cari", "Carian", "Cham", "Cher", "Cherokee", "Chrs", "Chorasmian", "Copt", "Coptic", "Qaac", "Cpmn", "Cypro_Minoan", "Cprt", "Cypriot", "Cyrl", "Cyrillic", "Deva", "Devanagari", "Diak", "Dives_Akuru", "Dogr", "Dogra", "Dsrt", "Deseret", "Dupl", "Duployan", "Egyp", "Egyptian_Hieroglyphs", "Elba", "Elbasan", "Elym", "Elymaic", "Ethi", "Ethiopic", "Geor", "Georgian", "Glag", "Glagolitic", "Gong", "Gunjala_Gondi", "Gonm", "Masaram_Gondi", "Goth", "Gothic", "Gran", "Grantha", "Grek", "Greek", "Gujr", "Gujarati", "Guru", "Gurmukhi", "Hang", "Hangul", "Hani", "Han", "Hano", "Hanunoo", "Hatr", "Hatran", "Hebr", "Hebrew", "Hira", "Hiragana", "Hluw", "Anatolian_Hieroglyphs", "Hmng", "Pahawh_Hmong", "Hmnp", "Nyiakeng_Puachue_Hmong", "Hrkt", "Katakana_Or_Hiragana", "Hung", "Old_Hungarian", "Ital", "Old_Italic", "Java", "Javanese", "Kali", "Kayah_Li", "Kana", "Katakana", "Kawi", "Khar", "Kharoshthi", "Khmr", "Khmer", "Khoj", "Khojki", "Kits", "Khitan_Small_Script", "Knda", "Kannada", "Kthi", "Kaithi", "Lana", "Tai_Tham", "Laoo", "Lao", "Latn", "Latin", "Lepc", "Lepcha", "Limb", "Limbu", "Lina", "Linear_A", "Linb", "Linear_B", "Lisu", "Lyci", "Lycian", "Lydi", "Lydian", "Mahj", "Mahajani", "Maka", "Makasar", "Mand", "Mandaic", "Mani", "Manichaean", "Marc", "Marchen", "Medf", "Medefaidrin", "Mend", "Mende_Kikakui", "Merc", "Meroitic_Cursive", "Mero", "Meroitic_Hieroglyphs", "Mlym", "Malayalam", "Modi", "Mong", "Mongolian", "Mroo", "Mro", "Mtei", "Meetei_Mayek", "Mult", "Multani", "Mymr", "Myanmar", "Nagm", "Nag_Mundari", "Nand", "Nandinagari", "Narb", "Old_North_Arabian", "Nbat", "Nabataean", "Newa", "Nkoo", "Nko", "Nshu", "Nushu", "Ogam", "Ogham", "Olck", "Ol_Chiki", "Orkh", "Old_Turkic", "Orya", "Oriya", "Osge", "Osage", "Osma", "Osmanya", "Ougr", "Old_Uyghur", "Palm", "Palmyrene", "Pauc", "Pau_Cin_Hau", "Perm", "Old_Permic", "Phag", "Phags_Pa", "Phli", "Inscriptional_Pahlavi", "Phlp", "Psalter_Pahlavi", "Phnx", "Phoenician", "Plrd", "Miao", "Prti", "Inscriptional_Parthian", "Rjng", "Rejang", "Rohg", "Hanifi_Rohingya", "Runr", "Runic", "Samr", "Samaritan", "Sarb", "Old_South_Arabian", "Saur", "Saurashtra", "Sgnw", "SignWriting", "Shaw", "Shavian", "Shrd", "Sharada", "Sidd", "Siddham", "Sind", "Khudawadi", "Sinh", "Sinhala", "Sogd", "Sogdian", "Sogo", "Old_Sogdian", "Sora", "Sora_Sompeng", "Soyo", "Soyombo", "Sund", "Sundanese", "Sylo", "Syloti_Nagri", "Syrc", "Syriac", "Tagb", "Tagbanwa", "Takr", "Takri", "Tale", "Tai_Le", "Talu", "New_Tai_Lue", "Taml", "Tamil", "Tang", "Tangut", "Tavt", "Tai_Viet", "Telu", "Telugu", "Tfng", "Tifinagh", "Tglg", "Tagalog", "Thaa", "Thaana", "Thai", "Tibt", "Tibetan", "Tirh", "Tirhuta", "Tnsa", "Tangsa", "Toto", "Ugar", "Ugaritic", "Vaii", "Vai", "Vith", "Vithkuqi", "Wara", "Warang_Citi", "Wcho", "Wancho", "Xpeo", "Old_Persian", "Xsux", "Cuneiform", "Yezi", "Yezidi", "Yiii", "Yi", "Zanb", "Zanabazar_Square", "Zinh", "Inherited", "Qaai", "Zyyy", "Common", "Zzzz", "Unknown"]), + Script_Extensions: void 0 +}; +valuesOfNonBinaryUnicodeProperties.Script_Extensions = valuesOfNonBinaryUnicodeProperties.Script; + +// src/compiler/utilitiesPublic.ts +function isExternalModuleNameRelative(moduleName) { + return pathIsRelative(moduleName) || isRootedDiskPath(moduleName); +} +function sortAndDeduplicateDiagnostics(diagnostics) { + return sortAndDeduplicate(diagnostics, compareDiagnostics, diagnosticsEqualityComparer); +} +var targetToLibMap = /* @__PURE__ */ new Map([ + [99 /* ESNext */, "lib.esnext.full.d.ts"], + [10 /* ES2023 */, "lib.es2023.full.d.ts"], + [9 /* ES2022 */, "lib.es2022.full.d.ts"], + [8 /* ES2021 */, "lib.es2021.full.d.ts"], + [7 /* ES2020 */, "lib.es2020.full.d.ts"], + [6 /* ES2019 */, "lib.es2019.full.d.ts"], + [5 /* ES2018 */, "lib.es2018.full.d.ts"], + [4 /* ES2017 */, "lib.es2017.full.d.ts"], + [3 /* ES2016 */, "lib.es2016.full.d.ts"], + [2 /* ES2015 */, "lib.es6.d.ts"] + // We don't use lib.es2015.full.d.ts due to breaking change. +]); +function getDefaultLibFileName(options) { + const target = getEmitScriptTarget(options); + switch (target) { + case 99 /* ESNext */: + case 10 /* ES2023 */: + case 9 /* ES2022 */: + case 8 /* ES2021 */: + case 7 /* ES2020 */: + case 6 /* ES2019 */: + case 5 /* ES2018 */: + case 4 /* ES2017 */: + case 3 /* ES2016 */: + case 2 /* ES2015 */: + return targetToLibMap.get(target); + default: + return "lib.d.ts"; + } +} +function textSpanEnd(span) { + return span.start + span.length; +} +function textSpanIsEmpty(span) { + return span.length === 0; +} +function textSpanContainsPosition(span, position) { + return position >= span.start && position < textSpanEnd(span); +} +function textRangeContainsPositionInclusive(range, position) { + return position >= range.pos && position <= range.end; +} +function createTextSpan(start, length2) { + if (start < 0) { + throw new Error("start < 0"); + } + if (length2 < 0) { + throw new Error("length < 0"); + } + return { start, length: length2 }; +} +function createTextSpanFromBounds(start, end) { + return createTextSpan(start, end - start); +} +function textChangeRangeNewSpan(range) { + return createTextSpan(range.span.start, range.newLength); +} +function textChangeRangeIsUnchanged(range) { + return textSpanIsEmpty(range.span) && range.newLength === 0; +} +function createTextChangeRange(span, newLength) { + if (newLength < 0) { + throw new Error("newLength < 0"); + } + return { span, newLength }; +} +var unchangedTextChangeRange = createTextChangeRange(createTextSpan(0, 0), 0); +function isParameterPropertyDeclaration(node, parent) { + return isParameter(node) && hasSyntacticModifier(node, 31 /* ParameterPropertyModifier */) && parent.kind === 176 /* Constructor */; +} +function walkUpBindingElementsAndPatterns(binding) { + let node = binding.parent; + while (isBindingElement(node.parent)) { + node = node.parent.parent; + } + return node.parent; +} +function getCombinedFlags(node, getFlags) { + if (isBindingElement(node)) { + node = walkUpBindingElementsAndPatterns(node); + } + let flags = getFlags(node); + if (node.kind === 260 /* VariableDeclaration */) { + node = node.parent; + } + if (node && node.kind === 261 /* VariableDeclarationList */) { + flags |= getFlags(node); + node = node.parent; + } + if (node && node.kind === 243 /* VariableStatement */) { + flags |= getFlags(node); + } + return flags; +} +function getCombinedModifierFlags(node) { + return getCombinedFlags(node, getEffectiveModifierFlags); +} +function getCombinedNodeFlags(node) { + return getCombinedFlags(node, getNodeFlags); +} +function getNodeFlags(node) { + return node.flags; +} +var supportedLocaleDirectories = ["cs", "de", "es", "fr", "it", "ja", "ko", "pl", "pt-br", "ru", "tr", "zh-cn", "zh-tw"]; +function validateLocaleAndSetLanguage(locale, sys2, errors) { + const lowerCaseLocale = locale.toLowerCase(); + const matchResult = /^([a-z]+)(?:[_-]([a-z]+))?$/.exec(lowerCaseLocale); + if (!matchResult) { + if (errors) { + errors.push(createCompilerDiagnostic(Diagnostics.Locale_must_be_of_the_form_language_or_language_territory_For_example_0_or_1, "en", "ja-jp")); + } + return; + } + const language = matchResult[1]; + const territory = matchResult[2]; + if (contains(supportedLocaleDirectories, lowerCaseLocale) && !trySetLanguageAndTerritory(language, territory, errors)) { + trySetLanguageAndTerritory( + language, + /*territory*/ + void 0, + errors + ); + } + setUILocale(locale); + function trySetLanguageAndTerritory(language2, territory2, errors2) { + const compilerFilePath = normalizePath(sys2.getExecutingFilePath()); + const containingDirectoryPath = getDirectoryPath(compilerFilePath); + let filePath = combinePaths(containingDirectoryPath, language2); + if (territory2) { + filePath = filePath + "-" + territory2; + } + filePath = sys2.resolvePath(combinePaths(filePath, "diagnosticMessages.generated.json")); + if (!sys2.fileExists(filePath)) { + return false; + } + let fileContents = ""; + try { + fileContents = sys2.readFile(filePath); + } catch { + if (errors2) { + errors2.push(createCompilerDiagnostic(Diagnostics.Unable_to_open_file_0, filePath)); + } + return false; + } + try { + setLocalizedDiagnosticMessages(JSON.parse(fileContents)); + } catch { + if (errors2) { + errors2.push(createCompilerDiagnostic(Diagnostics.Corrupted_locale_file_0, filePath)); + } + return false; + } + return true; + } +} +function getOriginalNode(node, nodeTest) { + if (node) { + while (node.original !== void 0) { + node = node.original; + } + } + if (!node || !nodeTest) { + return node; + } + return nodeTest(node) ? node : void 0; +} +function findAncestor(node, callback) { + while (node) { + const result = callback(node); + if (result === "quit") { + return void 0; + } else if (result) { + return node; + } + node = node.parent; + } + return void 0; +} +function isParseTreeNode(node) { + return (node.flags & 16 /* Synthesized */) === 0; +} +function getParseTreeNode(node, nodeTest) { + if (node === void 0 || isParseTreeNode(node)) { + return node; + } + node = node.original; + while (node) { + if (isParseTreeNode(node)) { + return !nodeTest || nodeTest(node) ? node : void 0; + } + node = node.original; + } +} +function escapeLeadingUnderscores(identifier) { + return identifier.length >= 2 && identifier.charCodeAt(0) === 95 /* _ */ && identifier.charCodeAt(1) === 95 /* _ */ ? "_" + identifier : identifier; +} +function unescapeLeadingUnderscores(identifier) { + const id = identifier; + return id.length >= 3 && id.charCodeAt(0) === 95 /* _ */ && id.charCodeAt(1) === 95 /* _ */ && id.charCodeAt(2) === 95 /* _ */ ? id.substr(1) : id; +} +function idText(identifierOrPrivateName) { + return unescapeLeadingUnderscores(identifierOrPrivateName.escapedText); +} +function identifierToKeywordKind(node) { + const token = stringToToken(node.escapedText); + return token ? tryCast(token, isKeyword) : void 0; +} +function symbolName(symbol) { + if (symbol.valueDeclaration && isPrivateIdentifierClassElementDeclaration(symbol.valueDeclaration)) { + return idText(symbol.valueDeclaration.name); + } + return unescapeLeadingUnderscores(symbol.escapedName); +} +function nameForNamelessJSDocTypedef(declaration) { + const hostNode = declaration.parent.parent; + if (!hostNode) { + return void 0; + } + if (isDeclaration(hostNode)) { + return getDeclarationIdentifier(hostNode); + } + switch (hostNode.kind) { + case 243 /* VariableStatement */: + if (hostNode.declarationList && hostNode.declarationList.declarations[0]) { + return getDeclarationIdentifier(hostNode.declarationList.declarations[0]); + } + break; + case 244 /* ExpressionStatement */: + let expr = hostNode.expression; + if (expr.kind === 226 /* BinaryExpression */ && expr.operatorToken.kind === 64 /* EqualsToken */) { + expr = expr.left; + } + switch (expr.kind) { + case 211 /* PropertyAccessExpression */: + return expr.name; + case 212 /* ElementAccessExpression */: + const arg = expr.argumentExpression; + if (isIdentifier(arg)) { + return arg; + } + } + break; + case 217 /* ParenthesizedExpression */: { + return getDeclarationIdentifier(hostNode.expression); + } + case 256 /* LabeledStatement */: { + if (isDeclaration(hostNode.statement) || isExpression(hostNode.statement)) { + return getDeclarationIdentifier(hostNode.statement); + } + break; + } + } +} +function getDeclarationIdentifier(node) { + const name = getNameOfDeclaration(node); + return name && isIdentifier(name) ? name : void 0; +} +function nodeHasName(statement, name) { + if (isNamedDeclaration(statement) && isIdentifier(statement.name) && idText(statement.name) === idText(name)) { + return true; + } + if (isVariableStatement(statement) && some(statement.declarationList.declarations, (d) => nodeHasName(d, name))) { + return true; + } + return false; +} +function getNameOfJSDocTypedef(declaration) { + return declaration.name || nameForNamelessJSDocTypedef(declaration); +} +function isNamedDeclaration(node) { + return !!node.name; +} +function getNonAssignedNameOfDeclaration(declaration) { + switch (declaration.kind) { + case 80 /* Identifier */: + return declaration; + case 348 /* JSDocPropertyTag */: + case 341 /* JSDocParameterTag */: { + const { name } = declaration; + if (name.kind === 166 /* QualifiedName */) { + return name.right; + } + break; + } + case 213 /* CallExpression */: + case 226 /* BinaryExpression */: { + const expr2 = declaration; + switch (getAssignmentDeclarationKind(expr2)) { + case 1 /* ExportsProperty */: + case 4 /* ThisProperty */: + case 5 /* Property */: + case 3 /* PrototypeProperty */: + return getElementOrPropertyAccessArgumentExpressionOrName(expr2.left); + case 7 /* ObjectDefinePropertyValue */: + case 8 /* ObjectDefinePropertyExports */: + case 9 /* ObjectDefinePrototypeProperty */: + return expr2.arguments[1]; + default: + return void 0; + } + } + case 346 /* JSDocTypedefTag */: + return getNameOfJSDocTypedef(declaration); + case 340 /* JSDocEnumTag */: + return nameForNamelessJSDocTypedef(declaration); + case 277 /* ExportAssignment */: { + const { expression } = declaration; + return isIdentifier(expression) ? expression : void 0; + } + case 212 /* ElementAccessExpression */: + const expr = declaration; + if (isBindableStaticElementAccessExpression(expr)) { + return expr.argumentExpression; + } + } + return declaration.name; +} +function getNameOfDeclaration(declaration) { + if (declaration === void 0) return void 0; + return getNonAssignedNameOfDeclaration(declaration) || (isFunctionExpression(declaration) || isArrowFunction(declaration) || isClassExpression(declaration) ? getAssignedName(declaration) : void 0); +} +function getAssignedName(node) { + if (!node.parent) { + return void 0; + } else if (isPropertyAssignment(node.parent) || isBindingElement(node.parent)) { + return node.parent.name; + } else if (isBinaryExpression(node.parent) && node === node.parent.right) { + if (isIdentifier(node.parent.left)) { + return node.parent.left; + } else if (isAccessExpression(node.parent.left)) { + return getElementOrPropertyAccessArgumentExpressionOrName(node.parent.left); + } + } else if (isVariableDeclaration(node.parent) && isIdentifier(node.parent.name)) { + return node.parent.name; + } +} +function getDecorators(node) { + if (hasDecorators(node)) { + return filter(node.modifiers, isDecorator); + } +} +function getModifiers(node) { + if (hasSyntacticModifier(node, 98303 /* Modifier */)) { + return filter(node.modifiers, isModifier); + } +} +function getJSDocParameterTagsWorker(param, noCache) { + if (param.name) { + if (isIdentifier(param.name)) { + const name = param.name.escapedText; + return getJSDocTagsWorker(param.parent, noCache).filter((tag) => isJSDocParameterTag(tag) && isIdentifier(tag.name) && tag.name.escapedText === name); + } else { + const i = param.parent.parameters.indexOf(param); + Debug.assert(i > -1, "Parameters should always be in their parents' parameter list"); + const paramTags = getJSDocTagsWorker(param.parent, noCache).filter(isJSDocParameterTag); + if (i < paramTags.length) { + return [paramTags[i]]; + } + } + } + return emptyArray; +} +function getJSDocParameterTags(param) { + return getJSDocParameterTagsWorker( + param, + /*noCache*/ + false + ); +} +function getJSDocParameterTagsNoCache(param) { + return getJSDocParameterTagsWorker( + param, + /*noCache*/ + true + ); +} +function getJSDocTypeParameterTagsWorker(param, noCache) { + const name = param.name.escapedText; + return getJSDocTagsWorker(param.parent, noCache).filter((tag) => isJSDocTemplateTag(tag) && tag.typeParameters.some((tp) => tp.name.escapedText === name)); +} +function getJSDocTypeParameterTags(param) { + return getJSDocTypeParameterTagsWorker( + param, + /*noCache*/ + false + ); +} +function getJSDocTypeParameterTagsNoCache(param) { + return getJSDocTypeParameterTagsWorker( + param, + /*noCache*/ + true + ); +} +function hasJSDocParameterTags(node) { + return !!getFirstJSDocTag(node, isJSDocParameterTag); +} +function getJSDocAugmentsTag(node) { + return getFirstJSDocTag(node, isJSDocAugmentsTag); +} +function getJSDocImplementsTags(node) { + return getAllJSDocTags(node, isJSDocImplementsTag); +} +function getJSDocClassTag(node) { + return getFirstJSDocTag(node, isJSDocClassTag); +} +function getJSDocPublicTagNoCache(node) { + return getFirstJSDocTag( + node, + isJSDocPublicTag, + /*noCache*/ + true + ); +} +function getJSDocPrivateTagNoCache(node) { + return getFirstJSDocTag( + node, + isJSDocPrivateTag, + /*noCache*/ + true + ); +} +function getJSDocProtectedTagNoCache(node) { + return getFirstJSDocTag( + node, + isJSDocProtectedTag, + /*noCache*/ + true + ); +} +function getJSDocReadonlyTagNoCache(node) { + return getFirstJSDocTag( + node, + isJSDocReadonlyTag, + /*noCache*/ + true + ); +} +function getJSDocOverrideTagNoCache(node) { + return getFirstJSDocTag( + node, + isJSDocOverrideTag, + /*noCache*/ + true + ); +} +function getJSDocDeprecatedTag(node) { + return getFirstJSDocTag(node, isJSDocDeprecatedTag); +} +function getJSDocDeprecatedTagNoCache(node) { + return getFirstJSDocTag( + node, + isJSDocDeprecatedTag, + /*noCache*/ + true + ); +} +function getJSDocEnumTag(node) { + return getFirstJSDocTag(node, isJSDocEnumTag); +} +function getJSDocThisTag(node) { + return getFirstJSDocTag(node, isJSDocThisTag); +} +function getJSDocReturnTag(node) { + return getFirstJSDocTag(node, isJSDocReturnTag); +} +function getJSDocSatisfiesTag(node) { + return getFirstJSDocTag(node, isJSDocSatisfiesTag); +} +function getJSDocTypeTag(node) { + const tag = getFirstJSDocTag(node, isJSDocTypeTag); + if (tag && tag.typeExpression && tag.typeExpression.type) { + return tag; + } + return void 0; +} +function getJSDocType(node) { + let tag = getFirstJSDocTag(node, isJSDocTypeTag); + if (!tag && isParameter(node)) { + tag = find(getJSDocParameterTags(node), (tag2) => !!tag2.typeExpression); + } + return tag && tag.typeExpression && tag.typeExpression.type; +} +function getJSDocReturnType(node) { + const returnTag = getJSDocReturnTag(node); + if (returnTag && returnTag.typeExpression) { + return returnTag.typeExpression.type; + } + const typeTag = getJSDocTypeTag(node); + if (typeTag && typeTag.typeExpression) { + const type = typeTag.typeExpression.type; + if (isTypeLiteralNode(type)) { + const sig = find(type.members, isCallSignatureDeclaration); + return sig && sig.type; + } + if (isFunctionTypeNode(type) || isJSDocFunctionType(type)) { + return type.type; + } + } +} +function getJSDocTagsWorker(node, noCache) { + var _a; + if (!canHaveJSDoc(node)) return emptyArray; + let tags = (_a = node.jsDoc) == null ? void 0 : _a.jsDocCache; + if (tags === void 0 || noCache) { + const comments = getJSDocCommentsAndTags(node, noCache); + Debug.assert(comments.length < 2 || comments[0] !== comments[1]); + tags = flatMap(comments, (j) => isJSDoc(j) ? j.tags : j); + if (!noCache) { + node.jsDoc ?? (node.jsDoc = []); + node.jsDoc.jsDocCache = tags; + } + } + return tags; +} +function getJSDocTags(node) { + return getJSDocTagsWorker( + node, + /*noCache*/ + false + ); +} +function getFirstJSDocTag(node, predicate, noCache) { + return find(getJSDocTagsWorker(node, noCache), predicate); +} +function getAllJSDocTags(node, predicate) { + return getJSDocTags(node).filter(predicate); +} +function getTextOfJSDocComment(comment) { + return typeof comment === "string" ? comment : comment == null ? void 0 : comment.map((c) => c.kind === 321 /* JSDocText */ ? c.text : formatJSDocLink(c)).join(""); +} +function formatJSDocLink(link) { + const kind = link.kind === 324 /* JSDocLink */ ? "link" : link.kind === 325 /* JSDocLinkCode */ ? "linkcode" : "linkplain"; + const name = link.name ? entityNameToString(link.name) : ""; + const space = link.name && (link.text === "" || link.text.startsWith("://")) ? "" : " "; + return `{@${kind} ${name}${space}${link.text}}`; +} +function getEffectiveTypeParameterDeclarations(node) { + if (isJSDocSignature(node)) { + if (isJSDocOverloadTag(node.parent)) { + const jsDoc = getJSDocRoot(node.parent); + if (jsDoc && length(jsDoc.tags)) { + return flatMap(jsDoc.tags, (tag) => isJSDocTemplateTag(tag) ? tag.typeParameters : void 0); + } + } + return emptyArray; + } + if (isJSDocTypeAlias(node)) { + Debug.assert(node.parent.kind === 320 /* JSDoc */); + return flatMap(node.parent.tags, (tag) => isJSDocTemplateTag(tag) ? tag.typeParameters : void 0); + } + if (node.typeParameters) { + return node.typeParameters; + } + if (canHaveIllegalTypeParameters(node) && node.typeParameters) { + return node.typeParameters; + } + if (isInJSFile(node)) { + const decls = getJSDocTypeParameterDeclarations(node); + if (decls.length) { + return decls; + } + const typeTag = getJSDocType(node); + if (typeTag && isFunctionTypeNode(typeTag) && typeTag.typeParameters) { + return typeTag.typeParameters; + } + } + return emptyArray; +} +function getEffectiveConstraintOfTypeParameter(node) { + return node.constraint ? node.constraint : isJSDocTemplateTag(node.parent) && node === node.parent.typeParameters[0] ? node.parent.constraint : void 0; +} +function isMemberName(node) { + return node.kind === 80 /* Identifier */ || node.kind === 81 /* PrivateIdentifier */; +} +function isGetOrSetAccessorDeclaration(node) { + return node.kind === 178 /* SetAccessor */ || node.kind === 177 /* GetAccessor */; +} +function isPropertyAccessChain(node) { + return isPropertyAccessExpression(node) && !!(node.flags & 64 /* OptionalChain */); +} +function isElementAccessChain(node) { + return isElementAccessExpression(node) && !!(node.flags & 64 /* OptionalChain */); +} +function isCallChain(node) { + return isCallExpression(node) && !!(node.flags & 64 /* OptionalChain */); +} +function isOptionalChain(node) { + const kind = node.kind; + return !!(node.flags & 64 /* OptionalChain */) && (kind === 211 /* PropertyAccessExpression */ || kind === 212 /* ElementAccessExpression */ || kind === 213 /* CallExpression */ || kind === 235 /* NonNullExpression */); +} +function isOptionalChainRoot(node) { + return isOptionalChain(node) && !isNonNullExpression(node) && !!node.questionDotToken; +} +function isExpressionOfOptionalChainRoot(node) { + return isOptionalChainRoot(node.parent) && node.parent.expression === node; +} +function isOutermostOptionalChain(node) { + return !isOptionalChain(node.parent) || isOptionalChainRoot(node.parent) || node !== node.parent.expression; +} +function isNullishCoalesce(node) { + return node.kind === 226 /* BinaryExpression */ && node.operatorToken.kind === 61 /* QuestionQuestionToken */; +} +function isConstTypeReference(node) { + return isTypeReferenceNode(node) && isIdentifier(node.typeName) && node.typeName.escapedText === "const" && !node.typeArguments; +} +function skipPartiallyEmittedExpressions(node) { + return skipOuterExpressions(node, 8 /* PartiallyEmittedExpressions */); +} +function isNonNullChain(node) { + return isNonNullExpression(node) && !!(node.flags & 64 /* OptionalChain */); +} +function isNamedExportBindings(node) { + return node.kind === 280 /* NamespaceExport */ || node.kind === 279 /* NamedExports */; +} +function isJSDocPropertyLikeTag(node) { + return node.kind === 348 /* JSDocPropertyTag */ || node.kind === 341 /* JSDocParameterTag */; +} +function isNodeKind(kind) { + return kind >= 166 /* FirstNode */; +} +function isTokenKind(kind) { + return kind >= 0 /* FirstToken */ && kind <= 165 /* LastToken */; +} +function isNodeArray(array) { + return hasProperty(array, "pos") && hasProperty(array, "end"); +} +function isLiteralKind(kind) { + return 9 /* FirstLiteralToken */ <= kind && kind <= 15 /* LastLiteralToken */; +} +function isLiteralExpression(node) { + return isLiteralKind(node.kind); +} +function isLiteralExpressionOfObject(node) { + switch (node.kind) { + case 210 /* ObjectLiteralExpression */: + case 209 /* ArrayLiteralExpression */: + case 14 /* RegularExpressionLiteral */: + case 218 /* FunctionExpression */: + case 231 /* ClassExpression */: + return true; + } + return false; +} +function isTemplateLiteralKind(kind) { + return 15 /* FirstTemplateToken */ <= kind && kind <= 18 /* LastTemplateToken */; +} +function isTemplateMiddleOrTemplateTail(node) { + const kind = node.kind; + return kind === 17 /* TemplateMiddle */ || kind === 18 /* TemplateTail */; +} +function isImportOrExportSpecifier(node) { + return isImportSpecifier(node) || isExportSpecifier(node); +} +function isTypeOnlyImportDeclaration(node) { + switch (node.kind) { + case 276 /* ImportSpecifier */: + return node.isTypeOnly || node.parent.parent.isTypeOnly; + case 274 /* NamespaceImport */: + return node.parent.isTypeOnly; + case 273 /* ImportClause */: + case 271 /* ImportEqualsDeclaration */: + return node.isTypeOnly; + } + return false; +} +function isTypeOnlyExportDeclaration(node) { + switch (node.kind) { + case 281 /* ExportSpecifier */: + return node.isTypeOnly || node.parent.parent.isTypeOnly; + case 278 /* ExportDeclaration */: + return node.isTypeOnly && !!node.moduleSpecifier && !node.exportClause; + case 280 /* NamespaceExport */: + return node.parent.isTypeOnly; + } + return false; +} +function isTypeOnlyImportOrExportDeclaration(node) { + return isTypeOnlyImportDeclaration(node) || isTypeOnlyExportDeclaration(node); +} +function isPartOfTypeOnlyImportOrExportDeclaration(node) { + return findAncestor(node, isTypeOnlyImportOrExportDeclaration) !== void 0; +} +function isImportAttributeName(node) { + return isStringLiteral(node) || isIdentifier(node); +} +function isGeneratedIdentifier(node) { + var _a; + return isIdentifier(node) && ((_a = node.emitNode) == null ? void 0 : _a.autoGenerate) !== void 0; +} +function isGeneratedPrivateIdentifier(node) { + var _a; + return isPrivateIdentifier(node) && ((_a = node.emitNode) == null ? void 0 : _a.autoGenerate) !== void 0; +} +function isFileLevelReservedGeneratedIdentifier(node) { + const flags = node.emitNode.autoGenerate.flags; + return !!(flags & 32 /* FileLevel */) && !!(flags & 16 /* Optimistic */) && !!(flags & 8 /* ReservedInNestedScopes */); +} +function isPrivateIdentifierClassElementDeclaration(node) { + return (isPropertyDeclaration(node) || isMethodOrAccessor(node)) && isPrivateIdentifier(node.name); +} +function isPrivateIdentifierPropertyAccessExpression(node) { + return isPropertyAccessExpression(node) && isPrivateIdentifier(node.name); +} +function isModifierKind(token) { + switch (token) { + case 128 /* AbstractKeyword */: + case 129 /* AccessorKeyword */: + case 134 /* AsyncKeyword */: + case 87 /* ConstKeyword */: + case 138 /* DeclareKeyword */: + case 90 /* DefaultKeyword */: + case 95 /* ExportKeyword */: + case 103 /* InKeyword */: + case 125 /* PublicKeyword */: + case 123 /* PrivateKeyword */: + case 124 /* ProtectedKeyword */: + case 148 /* ReadonlyKeyword */: + case 126 /* StaticKeyword */: + case 147 /* OutKeyword */: + case 164 /* OverrideKeyword */: + return true; + } + return false; +} +function isParameterPropertyModifier(kind) { + return !!(modifierToFlag(kind) & 31 /* ParameterPropertyModifier */); +} +function isClassMemberModifier(idToken) { + return isParameterPropertyModifier(idToken) || idToken === 126 /* StaticKeyword */ || idToken === 164 /* OverrideKeyword */ || idToken === 129 /* AccessorKeyword */; +} +function isModifier(node) { + return isModifierKind(node.kind); +} +function isEntityName(node) { + const kind = node.kind; + return kind === 166 /* QualifiedName */ || kind === 80 /* Identifier */; +} +function isPropertyName(node) { + const kind = node.kind; + return kind === 80 /* Identifier */ || kind === 81 /* PrivateIdentifier */ || kind === 11 /* StringLiteral */ || kind === 9 /* NumericLiteral */ || kind === 167 /* ComputedPropertyName */; +} +function isBindingName(node) { + const kind = node.kind; + return kind === 80 /* Identifier */ || kind === 206 /* ObjectBindingPattern */ || kind === 207 /* ArrayBindingPattern */; +} +function isFunctionLike(node) { + return !!node && isFunctionLikeKind(node.kind); +} +function isFunctionLikeOrClassStaticBlockDeclaration(node) { + return !!node && (isFunctionLikeKind(node.kind) || isClassStaticBlockDeclaration(node)); +} +function isFunctionLikeDeclaration(node) { + return node && isFunctionLikeDeclarationKind(node.kind); +} +function isBooleanLiteral(node) { + return node.kind === 112 /* TrueKeyword */ || node.kind === 97 /* FalseKeyword */; +} +function isFunctionLikeDeclarationKind(kind) { + switch (kind) { + case 262 /* FunctionDeclaration */: + case 174 /* MethodDeclaration */: + case 176 /* Constructor */: + case 177 /* GetAccessor */: + case 178 /* SetAccessor */: + case 218 /* FunctionExpression */: + case 219 /* ArrowFunction */: + return true; + default: + return false; + } +} +function isFunctionLikeKind(kind) { + switch (kind) { + case 173 /* MethodSignature */: + case 179 /* CallSignature */: + case 323 /* JSDocSignature */: + case 180 /* ConstructSignature */: + case 181 /* IndexSignature */: + case 184 /* FunctionType */: + case 317 /* JSDocFunctionType */: + case 185 /* ConstructorType */: + return true; + default: + return isFunctionLikeDeclarationKind(kind); + } +} +function isFunctionOrModuleBlock(node) { + return isSourceFile(node) || isModuleBlock(node) || isBlock(node) && isFunctionLike(node.parent); +} +function isClassElement(node) { + const kind = node.kind; + return kind === 176 /* Constructor */ || kind === 172 /* PropertyDeclaration */ || kind === 174 /* MethodDeclaration */ || kind === 177 /* GetAccessor */ || kind === 178 /* SetAccessor */ || kind === 181 /* IndexSignature */ || kind === 175 /* ClassStaticBlockDeclaration */ || kind === 240 /* SemicolonClassElement */; +} +function isClassLike(node) { + return node && (node.kind === 263 /* ClassDeclaration */ || node.kind === 231 /* ClassExpression */); +} +function isAccessor(node) { + return node && (node.kind === 177 /* GetAccessor */ || node.kind === 178 /* SetAccessor */); +} +function isAutoAccessorPropertyDeclaration(node) { + return isPropertyDeclaration(node) && hasAccessorModifier(node); +} +function isClassInstanceProperty(node) { + if (isInJSFile(node) && isExpandoPropertyDeclaration(node)) { + return (!isBindableStaticAccessExpression(node) || !isPrototypeAccess(node.expression)) && !isBindableStaticNameExpression( + node, + /*excludeThisKeyword*/ + true + ); + } + return node.parent && isClassLike(node.parent) && isPropertyDeclaration(node) && !hasAccessorModifier(node); +} +function isMethodOrAccessor(node) { + switch (node.kind) { + case 174 /* MethodDeclaration */: + case 177 /* GetAccessor */: + case 178 /* SetAccessor */: + return true; + default: + return false; + } +} +function isModifierLike(node) { + return isModifier(node) || isDecorator(node); +} +function isTypeElement(node) { + const kind = node.kind; + return kind === 180 /* ConstructSignature */ || kind === 179 /* CallSignature */ || kind === 171 /* PropertySignature */ || kind === 173 /* MethodSignature */ || kind === 181 /* IndexSignature */ || kind === 177 /* GetAccessor */ || kind === 178 /* SetAccessor */ || kind === 354 /* NotEmittedTypeElement */; +} +function isObjectLiteralElementLike(node) { + const kind = node.kind; + return kind === 303 /* PropertyAssignment */ || kind === 304 /* ShorthandPropertyAssignment */ || kind === 305 /* SpreadAssignment */ || kind === 174 /* MethodDeclaration */ || kind === 177 /* GetAccessor */ || kind === 178 /* SetAccessor */; +} +function isTypeNode(node) { + return isTypeNodeKind(node.kind); +} +function isFunctionOrConstructorTypeNode(node) { + switch (node.kind) { + case 184 /* FunctionType */: + case 185 /* ConstructorType */: + return true; + } + return false; +} +function isBindingPattern(node) { + if (node) { + const kind = node.kind; + return kind === 207 /* ArrayBindingPattern */ || kind === 206 /* ObjectBindingPattern */; + } + return false; +} +function isAssignmentPattern(node) { + const kind = node.kind; + return kind === 209 /* ArrayLiteralExpression */ || kind === 210 /* ObjectLiteralExpression */; +} +function isArrayBindingElement(node) { + const kind = node.kind; + return kind === 208 /* BindingElement */ || kind === 232 /* OmittedExpression */; +} +function isDeclarationBindingElement(bindingElement) { + switch (bindingElement.kind) { + case 260 /* VariableDeclaration */: + case 169 /* Parameter */: + case 208 /* BindingElement */: + return true; + } + return false; +} +function isBindingOrAssignmentElement(node) { + return isVariableDeclaration(node) || isParameter(node) || isObjectBindingOrAssignmentElement(node) || isArrayBindingOrAssignmentElement(node); +} +function isBindingOrAssignmentPattern(node) { + return isObjectBindingOrAssignmentPattern(node) || isArrayBindingOrAssignmentPattern(node); +} +function isObjectBindingOrAssignmentPattern(node) { + switch (node.kind) { + case 206 /* ObjectBindingPattern */: + case 210 /* ObjectLiteralExpression */: + return true; + } + return false; +} +function isObjectBindingOrAssignmentElement(node) { + switch (node.kind) { + case 208 /* BindingElement */: + case 303 /* PropertyAssignment */: + // AssignmentProperty + case 304 /* ShorthandPropertyAssignment */: + // AssignmentProperty + case 305 /* SpreadAssignment */: + return true; + } + return false; +} +function isArrayBindingOrAssignmentPattern(node) { + switch (node.kind) { + case 207 /* ArrayBindingPattern */: + case 209 /* ArrayLiteralExpression */: + return true; + } + return false; +} +function isArrayBindingOrAssignmentElement(node) { + switch (node.kind) { + case 208 /* BindingElement */: + case 232 /* OmittedExpression */: + // Elision + case 230 /* SpreadElement */: + // AssignmentRestElement + case 209 /* ArrayLiteralExpression */: + // ArrayAssignmentPattern + case 210 /* ObjectLiteralExpression */: + // ObjectAssignmentPattern + case 80 /* Identifier */: + // DestructuringAssignmentTarget + case 211 /* PropertyAccessExpression */: + // DestructuringAssignmentTarget + case 212 /* ElementAccessExpression */: + return true; + } + return isAssignmentExpression( + node, + /*excludeCompoundAssignment*/ + true + ); +} +function isPropertyAccessOrQualifiedNameOrImportTypeNode(node) { + const kind = node.kind; + return kind === 211 /* PropertyAccessExpression */ || kind === 166 /* QualifiedName */ || kind === 205 /* ImportType */; +} +function isPropertyAccessOrQualifiedName(node) { + const kind = node.kind; + return kind === 211 /* PropertyAccessExpression */ || kind === 166 /* QualifiedName */; +} +function isCallLikeOrFunctionLikeExpression(node) { + return isCallLikeExpression(node) || isFunctionExpressionOrArrowFunction(node); +} +function isCallLikeExpression(node) { + switch (node.kind) { + case 213 /* CallExpression */: + case 214 /* NewExpression */: + case 215 /* TaggedTemplateExpression */: + case 170 /* Decorator */: + case 286 /* JsxOpeningElement */: + case 285 /* JsxSelfClosingElement */: + case 289 /* JsxOpeningFragment */: + return true; + case 226 /* BinaryExpression */: + return node.operatorToken.kind === 104 /* InstanceOfKeyword */; + default: + return false; + } +} +function isCallOrNewExpression(node) { + return node.kind === 213 /* CallExpression */ || node.kind === 214 /* NewExpression */; +} +function isTemplateLiteral(node) { + const kind = node.kind; + return kind === 228 /* TemplateExpression */ || kind === 15 /* NoSubstitutionTemplateLiteral */; +} +function isLeftHandSideExpression(node) { + return isLeftHandSideExpressionKind(skipPartiallyEmittedExpressions(node).kind); +} +function isLeftHandSideExpressionKind(kind) { + switch (kind) { + case 211 /* PropertyAccessExpression */: + case 212 /* ElementAccessExpression */: + case 214 /* NewExpression */: + case 213 /* CallExpression */: + case 284 /* JsxElement */: + case 285 /* JsxSelfClosingElement */: + case 288 /* JsxFragment */: + case 215 /* TaggedTemplateExpression */: + case 209 /* ArrayLiteralExpression */: + case 217 /* ParenthesizedExpression */: + case 210 /* ObjectLiteralExpression */: + case 231 /* ClassExpression */: + case 218 /* FunctionExpression */: + case 80 /* Identifier */: + case 81 /* PrivateIdentifier */: + // technically this is only an Expression if it's in a `#field in expr` BinaryExpression + case 14 /* RegularExpressionLiteral */: + case 9 /* NumericLiteral */: + case 10 /* BigIntLiteral */: + case 11 /* StringLiteral */: + case 15 /* NoSubstitutionTemplateLiteral */: + case 228 /* TemplateExpression */: + case 97 /* FalseKeyword */: + case 106 /* NullKeyword */: + case 110 /* ThisKeyword */: + case 112 /* TrueKeyword */: + case 108 /* SuperKeyword */: + case 235 /* NonNullExpression */: + case 233 /* ExpressionWithTypeArguments */: + case 236 /* MetaProperty */: + case 102 /* ImportKeyword */: + // technically this is only an Expression if it's in a CallExpression + case 282 /* MissingDeclaration */: + return true; + default: + return false; + } +} +function isUnaryExpression(node) { + return isUnaryExpressionKind(skipPartiallyEmittedExpressions(node).kind); +} +function isUnaryExpressionKind(kind) { + switch (kind) { + case 224 /* PrefixUnaryExpression */: + case 225 /* PostfixUnaryExpression */: + case 220 /* DeleteExpression */: + case 221 /* TypeOfExpression */: + case 222 /* VoidExpression */: + case 223 /* AwaitExpression */: + case 216 /* TypeAssertionExpression */: + return true; + default: + return isLeftHandSideExpressionKind(kind); + } +} +function isLiteralTypeLiteral(node) { + switch (node.kind) { + case 106 /* NullKeyword */: + case 112 /* TrueKeyword */: + case 97 /* FalseKeyword */: + case 224 /* PrefixUnaryExpression */: + return true; + default: + return isLiteralExpression(node); + } +} +function isExpression(node) { + return isExpressionKind(skipPartiallyEmittedExpressions(node).kind); +} +function isExpressionKind(kind) { + switch (kind) { + case 227 /* ConditionalExpression */: + case 229 /* YieldExpression */: + case 219 /* ArrowFunction */: + case 226 /* BinaryExpression */: + case 230 /* SpreadElement */: + case 234 /* AsExpression */: + case 232 /* OmittedExpression */: + case 356 /* CommaListExpression */: + case 355 /* PartiallyEmittedExpression */: + case 238 /* SatisfiesExpression */: + return true; + default: + return isUnaryExpressionKind(kind); + } +} +function isAssertionExpression(node) { + const kind = node.kind; + return kind === 216 /* TypeAssertionExpression */ || kind === 234 /* AsExpression */; +} +function isIterationStatement(node, lookInLabeledStatements) { + switch (node.kind) { + case 248 /* ForStatement */: + case 249 /* ForInStatement */: + case 250 /* ForOfStatement */: + case 246 /* DoStatement */: + case 247 /* WhileStatement */: + return true; + case 256 /* LabeledStatement */: + return lookInLabeledStatements && isIterationStatement(node.statement, lookInLabeledStatements); + } + return false; +} +function isScopeMarker(node) { + return isExportAssignment(node) || isExportDeclaration(node); +} +function hasScopeMarker(statements) { + return some(statements, isScopeMarker); +} +function needsScopeMarker(result) { + return !isAnyImportOrReExport(result) && !isExportAssignment(result) && !hasSyntacticModifier(result, 32 /* Export */) && !isAmbientModule(result); +} +function isExternalModuleIndicator(result) { + return isAnyImportOrReExport(result) || isExportAssignment(result) || hasSyntacticModifier(result, 32 /* Export */); +} +function isForInOrOfStatement(node) { + return node.kind === 249 /* ForInStatement */ || node.kind === 250 /* ForOfStatement */; +} +function isConciseBody(node) { + return isBlock(node) || isExpression(node); +} +function isForInitializer(node) { + return isVariableDeclarationList(node) || isExpression(node); +} +function isModuleBody(node) { + const kind = node.kind; + return kind === 268 /* ModuleBlock */ || kind === 267 /* ModuleDeclaration */ || kind === 80 /* Identifier */; +} +function isNamedImportBindings(node) { + const kind = node.kind; + return kind === 275 /* NamedImports */ || kind === 274 /* NamespaceImport */; +} +function isModuleOrEnumDeclaration(node) { + return node.kind === 267 /* ModuleDeclaration */ || node.kind === 266 /* EnumDeclaration */; +} +function canHaveSymbol(node) { + switch (node.kind) { + case 219 /* ArrowFunction */: + case 226 /* BinaryExpression */: + case 208 /* BindingElement */: + case 213 /* CallExpression */: + case 179 /* CallSignature */: + case 263 /* ClassDeclaration */: + case 231 /* ClassExpression */: + case 175 /* ClassStaticBlockDeclaration */: + case 176 /* Constructor */: + case 185 /* ConstructorType */: + case 180 /* ConstructSignature */: + case 212 /* ElementAccessExpression */: + case 266 /* EnumDeclaration */: + case 306 /* EnumMember */: + case 277 /* ExportAssignment */: + case 278 /* ExportDeclaration */: + case 281 /* ExportSpecifier */: + case 262 /* FunctionDeclaration */: + case 218 /* FunctionExpression */: + case 184 /* FunctionType */: + case 177 /* GetAccessor */: + case 80 /* Identifier */: + case 273 /* ImportClause */: + case 271 /* ImportEqualsDeclaration */: + case 276 /* ImportSpecifier */: + case 181 /* IndexSignature */: + case 264 /* InterfaceDeclaration */: + case 338 /* JSDocCallbackTag */: + case 340 /* JSDocEnumTag */: + case 317 /* JSDocFunctionType */: + case 341 /* JSDocParameterTag */: + case 348 /* JSDocPropertyTag */: + case 323 /* JSDocSignature */: + case 346 /* JSDocTypedefTag */: + case 322 /* JSDocTypeLiteral */: + case 291 /* JsxAttribute */: + case 292 /* JsxAttributes */: + case 293 /* JsxSpreadAttribute */: + case 200 /* MappedType */: + case 174 /* MethodDeclaration */: + case 173 /* MethodSignature */: + case 267 /* ModuleDeclaration */: + case 202 /* NamedTupleMember */: + case 280 /* NamespaceExport */: + case 270 /* NamespaceExportDeclaration */: + case 274 /* NamespaceImport */: + case 214 /* NewExpression */: + case 15 /* NoSubstitutionTemplateLiteral */: + case 9 /* NumericLiteral */: + case 210 /* ObjectLiteralExpression */: + case 169 /* Parameter */: + case 211 /* PropertyAccessExpression */: + case 303 /* PropertyAssignment */: + case 172 /* PropertyDeclaration */: + case 171 /* PropertySignature */: + case 178 /* SetAccessor */: + case 304 /* ShorthandPropertyAssignment */: + case 307 /* SourceFile */: + case 305 /* SpreadAssignment */: + case 11 /* StringLiteral */: + case 265 /* TypeAliasDeclaration */: + case 187 /* TypeLiteral */: + case 168 /* TypeParameter */: + case 260 /* VariableDeclaration */: + return true; + default: + return false; + } +} +function canHaveLocals(node) { + switch (node.kind) { + case 219 /* ArrowFunction */: + case 241 /* Block */: + case 179 /* CallSignature */: + case 269 /* CaseBlock */: + case 299 /* CatchClause */: + case 175 /* ClassStaticBlockDeclaration */: + case 194 /* ConditionalType */: + case 176 /* Constructor */: + case 185 /* ConstructorType */: + case 180 /* ConstructSignature */: + case 248 /* ForStatement */: + case 249 /* ForInStatement */: + case 250 /* ForOfStatement */: + case 262 /* FunctionDeclaration */: + case 218 /* FunctionExpression */: + case 184 /* FunctionType */: + case 177 /* GetAccessor */: + case 181 /* IndexSignature */: + case 338 /* JSDocCallbackTag */: + case 340 /* JSDocEnumTag */: + case 317 /* JSDocFunctionType */: + case 323 /* JSDocSignature */: + case 346 /* JSDocTypedefTag */: + case 200 /* MappedType */: + case 174 /* MethodDeclaration */: + case 173 /* MethodSignature */: + case 267 /* ModuleDeclaration */: + case 178 /* SetAccessor */: + case 307 /* SourceFile */: + case 265 /* TypeAliasDeclaration */: + return true; + default: + return false; + } +} +function isDeclarationKind(kind) { + return kind === 219 /* ArrowFunction */ || kind === 208 /* BindingElement */ || kind === 263 /* ClassDeclaration */ || kind === 231 /* ClassExpression */ || kind === 175 /* ClassStaticBlockDeclaration */ || kind === 176 /* Constructor */ || kind === 266 /* EnumDeclaration */ || kind === 306 /* EnumMember */ || kind === 281 /* ExportSpecifier */ || kind === 262 /* FunctionDeclaration */ || kind === 218 /* FunctionExpression */ || kind === 177 /* GetAccessor */ || kind === 273 /* ImportClause */ || kind === 271 /* ImportEqualsDeclaration */ || kind === 276 /* ImportSpecifier */ || kind === 264 /* InterfaceDeclaration */ || kind === 291 /* JsxAttribute */ || kind === 174 /* MethodDeclaration */ || kind === 173 /* MethodSignature */ || kind === 267 /* ModuleDeclaration */ || kind === 270 /* NamespaceExportDeclaration */ || kind === 274 /* NamespaceImport */ || kind === 280 /* NamespaceExport */ || kind === 169 /* Parameter */ || kind === 303 /* PropertyAssignment */ || kind === 172 /* PropertyDeclaration */ || kind === 171 /* PropertySignature */ || kind === 178 /* SetAccessor */ || kind === 304 /* ShorthandPropertyAssignment */ || kind === 265 /* TypeAliasDeclaration */ || kind === 168 /* TypeParameter */ || kind === 260 /* VariableDeclaration */ || kind === 346 /* JSDocTypedefTag */ || kind === 338 /* JSDocCallbackTag */ || kind === 348 /* JSDocPropertyTag */ || kind === 202 /* NamedTupleMember */; +} +function isDeclarationStatementKind(kind) { + return kind === 262 /* FunctionDeclaration */ || kind === 282 /* MissingDeclaration */ || kind === 263 /* ClassDeclaration */ || kind === 264 /* InterfaceDeclaration */ || kind === 265 /* TypeAliasDeclaration */ || kind === 266 /* EnumDeclaration */ || kind === 267 /* ModuleDeclaration */ || kind === 272 /* ImportDeclaration */ || kind === 271 /* ImportEqualsDeclaration */ || kind === 278 /* ExportDeclaration */ || kind === 277 /* ExportAssignment */ || kind === 270 /* NamespaceExportDeclaration */; +} +function isStatementKindButNotDeclarationKind(kind) { + return kind === 252 /* BreakStatement */ || kind === 251 /* ContinueStatement */ || kind === 259 /* DebuggerStatement */ || kind === 246 /* DoStatement */ || kind === 244 /* ExpressionStatement */ || kind === 242 /* EmptyStatement */ || kind === 249 /* ForInStatement */ || kind === 250 /* ForOfStatement */ || kind === 248 /* ForStatement */ || kind === 245 /* IfStatement */ || kind === 256 /* LabeledStatement */ || kind === 253 /* ReturnStatement */ || kind === 255 /* SwitchStatement */ || kind === 257 /* ThrowStatement */ || kind === 258 /* TryStatement */ || kind === 243 /* VariableStatement */ || kind === 247 /* WhileStatement */ || kind === 254 /* WithStatement */ || kind === 353 /* NotEmittedStatement */; +} +function isDeclaration(node) { + if (node.kind === 168 /* TypeParameter */) { + return node.parent && node.parent.kind !== 345 /* JSDocTemplateTag */ || isInJSFile(node); + } + return isDeclarationKind(node.kind); +} +function isDeclarationStatement(node) { + return isDeclarationStatementKind(node.kind); +} +function isStatementButNotDeclaration(node) { + return isStatementKindButNotDeclarationKind(node.kind); +} +function isStatement(node) { + const kind = node.kind; + return isStatementKindButNotDeclarationKind(kind) || isDeclarationStatementKind(kind) || isBlockStatement(node); +} +function isBlockStatement(node) { + if (node.kind !== 241 /* Block */) return false; + if (node.parent !== void 0) { + if (node.parent.kind === 258 /* TryStatement */ || node.parent.kind === 299 /* CatchClause */) { + return false; + } + } + return !isFunctionBlock(node); +} +function isStatementOrBlock(node) { + const kind = node.kind; + return isStatementKindButNotDeclarationKind(kind) || isDeclarationStatementKind(kind) || kind === 241 /* Block */; +} +function isModuleReference(node) { + const kind = node.kind; + return kind === 283 /* ExternalModuleReference */ || kind === 166 /* QualifiedName */ || kind === 80 /* Identifier */; +} +function isJsxTagNameExpression(node) { + const kind = node.kind; + return kind === 110 /* ThisKeyword */ || kind === 80 /* Identifier */ || kind === 211 /* PropertyAccessExpression */ || kind === 295 /* JsxNamespacedName */; +} +function isJsxChild(node) { + const kind = node.kind; + return kind === 284 /* JsxElement */ || kind === 294 /* JsxExpression */ || kind === 285 /* JsxSelfClosingElement */ || kind === 12 /* JsxText */ || kind === 288 /* JsxFragment */; +} +function isJsxAttributeLike(node) { + const kind = node.kind; + return kind === 291 /* JsxAttribute */ || kind === 293 /* JsxSpreadAttribute */; +} +function isStringLiteralOrJsxExpression(node) { + const kind = node.kind; + return kind === 11 /* StringLiteral */ || kind === 294 /* JsxExpression */; +} +function isJsxOpeningLikeElement(node) { + const kind = node.kind; + return kind === 286 /* JsxOpeningElement */ || kind === 285 /* JsxSelfClosingElement */; +} +function isJsxCallLike(node) { + const kind = node.kind; + return kind === 286 /* JsxOpeningElement */ || kind === 285 /* JsxSelfClosingElement */ || kind === 289 /* JsxOpeningFragment */; +} +function isCaseOrDefaultClause(node) { + const kind = node.kind; + return kind === 296 /* CaseClause */ || kind === 297 /* DefaultClause */; +} +function isJSDocNode(node) { + return node.kind >= 309 /* FirstJSDocNode */ && node.kind <= 351 /* LastJSDocNode */; +} +function isJSDocTag(node) { + return node.kind >= 327 /* FirstJSDocTagNode */ && node.kind <= 351 /* LastJSDocTagNode */; +} +function isSetAccessor(node) { + return node.kind === 178 /* SetAccessor */; +} +function isGetAccessor(node) { + return node.kind === 177 /* GetAccessor */; +} +function hasJSDocNodes(node) { + if (!canHaveJSDoc(node)) return false; + const { jsDoc } = node; + return !!jsDoc && jsDoc.length > 0; +} +function hasType(node) { + return !!node.type; +} +function hasInitializer(node) { + return !!node.initializer; +} +function hasOnlyExpressionInitializer(node) { + switch (node.kind) { + case 260 /* VariableDeclaration */: + case 169 /* Parameter */: + case 208 /* BindingElement */: + case 172 /* PropertyDeclaration */: + case 303 /* PropertyAssignment */: + case 306 /* EnumMember */: + return true; + default: + return false; + } +} +function isTypeReferenceType(node) { + return node.kind === 183 /* TypeReference */ || node.kind === 233 /* ExpressionWithTypeArguments */; +} +var MAX_SMI_X86 = 1073741823; +function guessIndentation(lines) { + let indentation = MAX_SMI_X86; + for (const line of lines) { + if (!line.length) { + continue; + } + let i = 0; + for (; i < line.length && i < indentation; i++) { + if (!isWhiteSpaceLike(line.charCodeAt(i))) { + break; + } + } + if (i < indentation) { + indentation = i; + } + if (indentation === 0) { + return 0; + } + } + return indentation === MAX_SMI_X86 ? void 0 : indentation; +} +function isStringLiteralLike(node) { + return node.kind === 11 /* StringLiteral */ || node.kind === 15 /* NoSubstitutionTemplateLiteral */; +} +function isJSDocLinkLike(node) { + return node.kind === 324 /* JSDocLink */ || node.kind === 325 /* JSDocLinkCode */ || node.kind === 326 /* JSDocLinkPlain */; +} +function hasRestParameter(s) { + const last2 = lastOrUndefined(s.parameters); + return !!last2 && isRestParameter(last2); +} +function isRestParameter(node) { + const type = isJSDocParameterTag(node) ? node.typeExpression && node.typeExpression.type : node.type; + return node.dotDotDotToken !== void 0 || !!type && type.kind === 318 /* JSDocVariadicType */; +} +function hasInternalAnnotation(range, sourceFile) { + const comment = sourceFile.text.substring(range.pos, range.end); + return comment.includes("@internal"); +} +function isInternalDeclaration(node, sourceFile) { + sourceFile ?? (sourceFile = getSourceFileOfNode(node)); + const parseTreeNode = getParseTreeNode(node); + if (parseTreeNode && parseTreeNode.kind === 169 /* Parameter */) { + const paramIdx = parseTreeNode.parent.parameters.indexOf(parseTreeNode); + const previousSibling = paramIdx > 0 ? parseTreeNode.parent.parameters[paramIdx - 1] : void 0; + const text = sourceFile.text; + const commentRanges = previousSibling ? concatenate( + // to handle + // ... parameters, /** @internal */ + // public param: string + getTrailingCommentRanges(text, skipTrivia( + text, + previousSibling.end + 1, + /*stopAfterLineBreak*/ + false, + /*stopAtComments*/ + true + )), + getLeadingCommentRanges(text, node.pos) + ) : getTrailingCommentRanges(text, skipTrivia( + text, + node.pos, + /*stopAfterLineBreak*/ + false, + /*stopAtComments*/ + true + )); + return some(commentRanges) && hasInternalAnnotation(last(commentRanges), sourceFile); + } + const leadingCommentRanges = parseTreeNode && getLeadingCommentRangesOfNode(parseTreeNode, sourceFile); + return !!forEach(leadingCommentRanges, (range) => { + return hasInternalAnnotation(range, sourceFile); + }); +} + +// src/compiler/utilities.ts +var resolvingEmptyArray = []; +var externalHelpersModuleNameText = "tslib"; +var defaultMaximumTruncationLength = 160; +var noTruncationMaximumTruncationLength = 1e6; +function getDeclarationOfKind(symbol, kind) { + const declarations = symbol.declarations; + if (declarations) { + for (const declaration of declarations) { + if (declaration.kind === kind) { + return declaration; + } + } + } + return void 0; +} +function getDeclarationsOfKind(symbol, kind) { + return filter(symbol.declarations || emptyArray, (d) => d.kind === kind); +} +function createSymbolTable(symbols) { + const result = /* @__PURE__ */ new Map(); + if (symbols) { + for (const symbol of symbols) { + result.set(symbol.escapedName, symbol); + } + } + return result; +} +function isTransientSymbol(symbol) { + return (symbol.flags & 33554432 /* Transient */) !== 0; +} +function isExternalModuleSymbol(moduleSymbol) { + return !!(moduleSymbol.flags & 1536 /* Module */) && moduleSymbol.escapedName.charCodeAt(0) === 34 /* doubleQuote */; +} +var stringWriter = createSingleLineStringWriter(); +function createSingleLineStringWriter() { + var str = ""; + const writeText = (text) => str += text; + return { + getText: () => str, + write: writeText, + rawWrite: writeText, + writeKeyword: writeText, + writeOperator: writeText, + writePunctuation: writeText, + writeSpace: writeText, + writeStringLiteral: writeText, + writeLiteral: writeText, + writeParameter: writeText, + writeProperty: writeText, + writeSymbol: (s, _) => writeText(s), + writeTrailingSemicolon: writeText, + writeComment: writeText, + getTextPos: () => str.length, + getLine: () => 0, + getColumn: () => 0, + getIndent: () => 0, + isAtStartOfLine: () => false, + hasTrailingComment: () => false, + hasTrailingWhitespace: () => !!str.length && isWhiteSpaceLike(str.charCodeAt(str.length - 1)), + // Completely ignore indentation for string writers. And map newlines to + // a single space. + writeLine: () => str += " ", + increaseIndent: noop, + decreaseIndent: noop, + clear: () => str = "" + }; +} +function changesAffectModuleResolution(oldOptions, newOptions) { + return oldOptions.configFilePath !== newOptions.configFilePath || optionsHaveModuleResolutionChanges(oldOptions, newOptions); +} +function optionsHaveModuleResolutionChanges(oldOptions, newOptions) { + return optionsHaveChanges(oldOptions, newOptions, moduleResolutionOptionDeclarations); +} +function changesAffectingProgramStructure(oldOptions, newOptions) { + return optionsHaveChanges(oldOptions, newOptions, optionsAffectingProgramStructure); +} +function optionsHaveChanges(oldOptions, newOptions, optionDeclarations2) { + return oldOptions !== newOptions && optionDeclarations2.some((o) => !isJsonEqual(getCompilerOptionValue(oldOptions, o), getCompilerOptionValue(newOptions, o))); +} +function forEachEntry(map2, callback) { + const iterator = map2.entries(); + for (const [key, value] of iterator) { + const result = callback(value, key); + if (result) { + return result; + } + } + return void 0; +} +function forEachKey(map2, callback) { + const iterator = map2.keys(); + for (const key of iterator) { + const result = callback(key); + if (result) { + return result; + } + } + return void 0; +} +function copyEntries(source, target) { + source.forEach((value, key) => { + target.set(key, value); + }); +} +function usingSingleLineStringWriter(action) { + const oldString = stringWriter.getText(); + try { + action(stringWriter); + return stringWriter.getText(); + } finally { + stringWriter.clear(); + stringWriter.writeKeyword(oldString); + } +} +function getFullWidth(node) { + return node.end - node.pos; +} +function projectReferenceIsEqualTo(oldRef, newRef) { + return oldRef.path === newRef.path && !oldRef.prepend === !newRef.prepend && !oldRef.circular === !newRef.circular; +} +function moduleResolutionIsEqualTo(oldResolution, newResolution) { + return oldResolution === newResolution || oldResolution.resolvedModule === newResolution.resolvedModule || !!oldResolution.resolvedModule && !!newResolution.resolvedModule && oldResolution.resolvedModule.isExternalLibraryImport === newResolution.resolvedModule.isExternalLibraryImport && oldResolution.resolvedModule.extension === newResolution.resolvedModule.extension && oldResolution.resolvedModule.resolvedFileName === newResolution.resolvedModule.resolvedFileName && oldResolution.resolvedModule.originalPath === newResolution.resolvedModule.originalPath && packageIdIsEqual(oldResolution.resolvedModule.packageId, newResolution.resolvedModule.packageId) && oldResolution.alternateResult === newResolution.alternateResult; +} +function getResolvedModuleFromResolution(resolution) { + return resolution.resolvedModule; +} +function getResolvedTypeReferenceDirectiveFromResolution(resolution) { + return resolution.resolvedTypeReferenceDirective; +} +function createModuleNotFoundChain(sourceFile, host, moduleReference, mode, packageName) { + var _a; + const alternateResult = (_a = host.getResolvedModule(sourceFile, moduleReference, mode)) == null ? void 0 : _a.alternateResult; + const alternateResultMessage = alternateResult && (getEmitModuleResolutionKind(host.getCompilerOptions()) === 2 /* Node10 */ ? [Diagnostics.There_are_types_at_0_but_this_result_could_not_be_resolved_under_your_current_moduleResolution_setting_Consider_updating_to_node16_nodenext_or_bundler, [alternateResult]] : [ + Diagnostics.There_are_types_at_0_but_this_result_could_not_be_resolved_when_respecting_package_json_exports_The_1_library_may_need_to_update_its_package_json_or_typings, + [alternateResult, alternateResult.includes(nodeModulesPathPart + "@types/") ? `@types/${mangleScopedPackageName(packageName)}` : packageName] + ]); + const result = alternateResultMessage ? chainDiagnosticMessages( + /*details*/ + void 0, + alternateResultMessage[0], + ...alternateResultMessage[1] + ) : host.typesPackageExists(packageName) ? chainDiagnosticMessages( + /*details*/ + void 0, + 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, + packageName, + mangleScopedPackageName(packageName) + ) : host.packageBundlesTypes(packageName) ? chainDiagnosticMessages( + /*details*/ + void 0, + Diagnostics.If_the_0_package_actually_exposes_this_module_try_adding_a_new_declaration_d_ts_file_containing_declare_module_1, + packageName, + moduleReference + ) : chainDiagnosticMessages( + /*details*/ + void 0, + Diagnostics.Try_npm_i_save_dev_types_Slash_1_if_it_exists_or_add_a_new_declaration_d_ts_file_containing_declare_module_0, + moduleReference, + mangleScopedPackageName(packageName) + ); + if (result) result.repopulateInfo = () => ({ moduleReference, mode, packageName: packageName === moduleReference ? void 0 : packageName }); + return result; +} +function createModeMismatchDetails(currentSourceFile) { + const ext = tryGetExtensionFromPath2(currentSourceFile.fileName); + const scope = currentSourceFile.packageJsonScope; + const targetExt = ext === ".ts" /* Ts */ ? ".mts" /* Mts */ : ext === ".js" /* Js */ ? ".mjs" /* Mjs */ : void 0; + const result = scope && !scope.contents.packageJsonContent.type ? targetExt ? chainDiagnosticMessages( + /*details*/ + void 0, + Diagnostics.To_convert_this_file_to_an_ECMAScript_module_change_its_file_extension_to_0_or_add_the_field_type_Colon_module_to_1, + targetExt, + combinePaths(scope.packageDirectory, "package.json") + ) : chainDiagnosticMessages( + /*details*/ + void 0, + Diagnostics.To_convert_this_file_to_an_ECMAScript_module_add_the_field_type_Colon_module_to_0, + combinePaths(scope.packageDirectory, "package.json") + ) : targetExt ? chainDiagnosticMessages( + /*details*/ + void 0, + Diagnostics.To_convert_this_file_to_an_ECMAScript_module_change_its_file_extension_to_0_or_create_a_local_package_json_file_with_type_Colon_module, + targetExt + ) : chainDiagnosticMessages( + /*details*/ + void 0, + Diagnostics.To_convert_this_file_to_an_ECMAScript_module_create_a_local_package_json_file_with_type_Colon_module + ); + result.repopulateInfo = () => true; + return result; +} +function packageIdIsEqual(a, b) { + return a === b || !!a && !!b && a.name === b.name && a.subModuleName === b.subModuleName && a.version === b.version && a.peerDependencies === b.peerDependencies; +} +function packageIdToPackageName({ name, subModuleName }) { + return subModuleName ? `${name}/${subModuleName}` : name; +} +function packageIdToString(packageId) { + return `${packageIdToPackageName(packageId)}@${packageId.version}${packageId.peerDependencies ?? ""}`; +} +function typeDirectiveIsEqualTo(oldResolution, newResolution) { + return oldResolution === newResolution || oldResolution.resolvedTypeReferenceDirective === newResolution.resolvedTypeReferenceDirective || !!oldResolution.resolvedTypeReferenceDirective && !!newResolution.resolvedTypeReferenceDirective && oldResolution.resolvedTypeReferenceDirective.resolvedFileName === newResolution.resolvedTypeReferenceDirective.resolvedFileName && !!oldResolution.resolvedTypeReferenceDirective.primary === !!newResolution.resolvedTypeReferenceDirective.primary && oldResolution.resolvedTypeReferenceDirective.originalPath === newResolution.resolvedTypeReferenceDirective.originalPath; +} +function hasChangesInResolutions(names, newResolutions, getOldResolution, comparer) { + Debug.assert(names.length === newResolutions.length); + for (let i = 0; i < names.length; i++) { + const newResolution = newResolutions[i]; + const entry = names[i]; + const oldResolution = getOldResolution(entry); + const changed = oldResolution ? !newResolution || !comparer(oldResolution, newResolution) : newResolution; + if (changed) { + return true; + } + } + return false; +} +function containsParseError(node) { + aggregateChildData(node); + return (node.flags & 1048576 /* ThisNodeOrAnySubNodesHasError */) !== 0; +} +function aggregateChildData(node) { + if (!(node.flags & 2097152 /* HasAggregatedChildData */)) { + const thisNodeOrAnySubNodesHasError = (node.flags & 262144 /* ThisNodeHasError */) !== 0 || forEachChild(node, containsParseError); + if (thisNodeOrAnySubNodesHasError) { + node.flags |= 1048576 /* ThisNodeOrAnySubNodesHasError */; + } + node.flags |= 2097152 /* HasAggregatedChildData */; + } +} +function getSourceFileOfNode(node) { + while (node && node.kind !== 307 /* SourceFile */) { + node = node.parent; + } + return node; +} +function getSourceFileOfModule(module2) { + return getSourceFileOfNode(module2.valueDeclaration || getNonAugmentationDeclaration(module2)); +} +function isPlainJsFile(file, checkJs) { + return !!file && (file.scriptKind === 1 /* JS */ || file.scriptKind === 2 /* JSX */) && !file.checkJsDirective && checkJs === void 0; +} +function isStatementWithLocals(node) { + switch (node.kind) { + case 241 /* Block */: + case 269 /* CaseBlock */: + case 248 /* ForStatement */: + case 249 /* ForInStatement */: + case 250 /* ForOfStatement */: + return true; + } + return false; +} +function getEndLinePosition(line, sourceFile) { + Debug.assert(line >= 0); + const lineStarts = getLineStarts(sourceFile); + const lineIndex = line; + const sourceText = sourceFile.text; + if (lineIndex + 1 === lineStarts.length) { + return sourceText.length - 1; + } else { + const start = lineStarts[lineIndex]; + let pos = lineStarts[lineIndex + 1] - 1; + Debug.assert(isLineBreak(sourceText.charCodeAt(pos))); + while (start <= pos && isLineBreak(sourceText.charCodeAt(pos))) { + pos--; + } + return pos; + } +} +function isFileLevelUniqueName(sourceFile, name, hasGlobalName) { + return !(hasGlobalName && hasGlobalName(name)) && !sourceFile.identifiers.has(name); +} +function nodeIsMissing(node) { + if (node === void 0) { + return true; + } + return node.pos === node.end && node.pos >= 0 && node.kind !== 1 /* EndOfFileToken */; +} +function nodeIsPresent(node) { + return !nodeIsMissing(node); +} +function insertStatementsAfterPrologue(to, from, isPrologueDirective2) { + if (from === void 0 || from.length === 0) return to; + let statementIndex = 0; + for (; statementIndex < to.length; ++statementIndex) { + if (!isPrologueDirective2(to[statementIndex])) { + break; + } + } + to.splice(statementIndex, 0, ...from); + return to; +} +function insertStatementAfterPrologue(to, statement, isPrologueDirective2) { + if (statement === void 0) return to; + let statementIndex = 0; + for (; statementIndex < to.length; ++statementIndex) { + if (!isPrologueDirective2(to[statementIndex])) { + break; + } + } + to.splice(statementIndex, 0, statement); + return to; +} +function isAnyPrologueDirective(node) { + return isPrologueDirective(node) || !!(getEmitFlags(node) & 2097152 /* CustomPrologue */); +} +function insertStatementsAfterStandardPrologue(to, from) { + return insertStatementsAfterPrologue(to, from, isPrologueDirective); +} +function insertStatementsAfterCustomPrologue(to, from) { + return insertStatementsAfterPrologue(to, from, isAnyPrologueDirective); +} +function insertStatementAfterCustomPrologue(to, statement) { + return insertStatementAfterPrologue(to, statement, isAnyPrologueDirective); +} +function isRecognizedTripleSlashComment(text, commentPos, commentEnd) { + if (text.charCodeAt(commentPos + 1) === 47 /* slash */ && commentPos + 2 < commentEnd && text.charCodeAt(commentPos + 2) === 47 /* slash */) { + const textSubStr = text.substring(commentPos, commentEnd); + return fullTripleSlashReferencePathRegEx.test(textSubStr) || fullTripleSlashAMDReferencePathRegEx.test(textSubStr) || fullTripleSlashAMDModuleRegEx.test(textSubStr) || fullTripleSlashReferenceTypeReferenceDirectiveRegEx.test(textSubStr) || fullTripleSlashLibReferenceRegEx.test(textSubStr) || defaultLibReferenceRegEx.test(textSubStr) ? true : false; + } + return false; +} +function isPinnedComment(text, start) { + return text.charCodeAt(start + 1) === 42 /* asterisk */ && text.charCodeAt(start + 2) === 33 /* exclamation */; +} +function createCommentDirectivesMap(sourceFile, commentDirectives) { + const directivesByLine = new Map( + commentDirectives.map((commentDirective) => [ + `${getLineAndCharacterOfPosition(sourceFile, commentDirective.range.end).line}`, + commentDirective + ]) + ); + const usedLines = /* @__PURE__ */ new Map(); + return { getUnusedExpectations, markUsed }; + function getUnusedExpectations() { + return arrayFrom(directivesByLine.entries()).filter(([line, directive]) => directive.type === 0 /* ExpectError */ && !usedLines.get(line)).map(([_, directive]) => directive); + } + function markUsed(line) { + if (!directivesByLine.has(`${line}`)) { + return false; + } + usedLines.set(`${line}`, true); + return true; + } +} +function getTokenPosOfNode(node, sourceFile, includeJsDoc) { + if (nodeIsMissing(node)) { + return node.pos; + } + if (isJSDocNode(node) || node.kind === 12 /* JsxText */) { + return skipTrivia( + (sourceFile ?? getSourceFileOfNode(node)).text, + node.pos, + /*stopAfterLineBreak*/ + false, + /*stopAtComments*/ + true + ); + } + if (includeJsDoc && hasJSDocNodes(node)) { + return getTokenPosOfNode(node.jsDoc[0], sourceFile); + } + if (node.kind === 352 /* SyntaxList */) { + sourceFile ?? (sourceFile = getSourceFileOfNode(node)); + const first2 = firstOrUndefined(getNodeChildren(node, sourceFile)); + if (first2) { + return getTokenPosOfNode(first2, sourceFile, includeJsDoc); + } + } + return skipTrivia( + (sourceFile ?? getSourceFileOfNode(node)).text, + node.pos, + /*stopAfterLineBreak*/ + false, + /*stopAtComments*/ + false, + isInJSDoc(node) + ); +} +function getNonModifierTokenPosOfNode(node, sourceFile) { + const lastModifier = !nodeIsMissing(node) && canHaveModifiers(node) && node.modifiers ? last(node.modifiers) : void 0; + if (!lastModifier) { + return getTokenPosOfNode(node, sourceFile); + } + return skipTrivia((sourceFile || getSourceFileOfNode(node)).text, lastModifier.end); +} +function getSourceTextOfNodeFromSourceFile(sourceFile, node, includeTrivia = false) { + return getTextOfNodeFromSourceText(sourceFile.text, node, includeTrivia); +} +function isJSDocTypeExpressionOrChild(node) { + return !!findAncestor(node, isJSDocTypeExpression); +} +function isExportNamespaceAsDefaultDeclaration(node) { + return !!(isExportDeclaration(node) && node.exportClause && isNamespaceExport(node.exportClause) && moduleExportNameIsDefault(node.exportClause.name)); +} +function moduleExportNameTextUnescaped(node) { + return node.kind === 11 /* StringLiteral */ ? node.text : unescapeLeadingUnderscores(node.escapedText); +} +function moduleExportNameTextEscaped(node) { + return node.kind === 11 /* StringLiteral */ ? escapeLeadingUnderscores(node.text) : node.escapedText; +} +function moduleExportNameIsDefault(node) { + return (node.kind === 11 /* StringLiteral */ ? node.text : node.escapedText) === "default" /* Default */; +} +function getTextOfNodeFromSourceText(sourceText, node, includeTrivia = false) { + if (nodeIsMissing(node)) { + return ""; + } + let text = sourceText.substring(includeTrivia ? node.pos : skipTrivia(sourceText, node.pos), node.end); + if (isJSDocTypeExpressionOrChild(node)) { + text = text.split(/\r\n|\n|\r/).map((line) => line.replace(/^\s*\*/, "").trimStart()).join("\n"); + } + return text; +} +function getTextOfNode(node, includeTrivia = false) { + return getSourceTextOfNodeFromSourceFile(getSourceFileOfNode(node), node, includeTrivia); +} +function getPos(range) { + return range.pos; +} +function indexOfNode(nodeArray, node) { + return binarySearch(nodeArray, node, getPos, compareValues); +} +function getEmitFlags(node) { + const emitNode = node.emitNode; + return emitNode && emitNode.flags || 0; +} +function getInternalEmitFlags(node) { + const emitNode = node.emitNode; + return emitNode && emitNode.internalFlags || 0; +} +var getScriptTargetFeatures = /* @__PURE__ */ memoize( + () => new Map(Object.entries({ + Array: new Map(Object.entries({ + es2015: [ + "find", + "findIndex", + "fill", + "copyWithin", + "entries", + "keys", + "values" + ], + es2016: [ + "includes" + ], + es2019: [ + "flat", + "flatMap" + ], + es2022: [ + "at" + ], + es2023: [ + "findLastIndex", + "findLast", + "toReversed", + "toSorted", + "toSpliced", + "with" + ] + })), + Iterator: new Map(Object.entries({ + es2015: emptyArray + })), + AsyncIterator: new Map(Object.entries({ + es2015: emptyArray + })), + ArrayBuffer: new Map(Object.entries({ + es2024: [ + "maxByteLength", + "resizable", + "resize", + "detached", + "transfer", + "transferToFixedLength" + ] + })), + Atomics: new Map(Object.entries({ + es2017: [ + "add", + "and", + "compareExchange", + "exchange", + "isLockFree", + "load", + "or", + "store", + "sub", + "wait", + "notify", + "xor" + ], + es2024: [ + "waitAsync" + ] + })), + SharedArrayBuffer: new Map(Object.entries({ + es2017: [ + "byteLength", + "slice" + ], + es2024: [ + "growable", + "maxByteLength", + "grow" + ] + })), + AsyncIterable: new Map(Object.entries({ + es2018: emptyArray + })), + AsyncIterableIterator: new Map(Object.entries({ + es2018: emptyArray + })), + AsyncGenerator: new Map(Object.entries({ + es2018: emptyArray + })), + AsyncGeneratorFunction: new Map(Object.entries({ + es2018: emptyArray + })), + RegExp: new Map(Object.entries({ + es2015: [ + "flags", + "sticky", + "unicode" + ], + es2018: [ + "dotAll" + ], + es2024: [ + "unicodeSets" + ] + })), + Reflect: new Map(Object.entries({ + es2015: [ + "apply", + "construct", + "defineProperty", + "deleteProperty", + "get", + "getOwnPropertyDescriptor", + "getPrototypeOf", + "has", + "isExtensible", + "ownKeys", + "preventExtensions", + "set", + "setPrototypeOf" + ] + })), + ArrayConstructor: new Map(Object.entries({ + es2015: [ + "from", + "of" + ], + esnext: [ + "fromAsync" + ] + })), + ObjectConstructor: new Map(Object.entries({ + es2015: [ + "assign", + "getOwnPropertySymbols", + "keys", + "is", + "setPrototypeOf" + ], + es2017: [ + "values", + "entries", + "getOwnPropertyDescriptors" + ], + es2019: [ + "fromEntries" + ], + es2022: [ + "hasOwn" + ], + es2024: [ + "groupBy" + ] + })), + NumberConstructor: new Map(Object.entries({ + es2015: [ + "isFinite", + "isInteger", + "isNaN", + "isSafeInteger", + "parseFloat", + "parseInt" + ] + })), + Math: new Map(Object.entries({ + es2015: [ + "clz32", + "imul", + "sign", + "log10", + "log2", + "log1p", + "expm1", + "cosh", + "sinh", + "tanh", + "acosh", + "asinh", + "atanh", + "hypot", + "trunc", + "fround", + "cbrt" + ] + })), + Map: new Map(Object.entries({ + es2015: [ + "entries", + "keys", + "values" + ] + })), + MapConstructor: new Map(Object.entries({ + es2024: [ + "groupBy" + ] + })), + Set: new Map(Object.entries({ + es2015: [ + "entries", + "keys", + "values" + ], + esnext: [ + "union", + "intersection", + "difference", + "symmetricDifference", + "isSubsetOf", + "isSupersetOf", + "isDisjointFrom" + ] + })), + PromiseConstructor: new Map(Object.entries({ + es2015: [ + "all", + "race", + "reject", + "resolve" + ], + es2020: [ + "allSettled" + ], + es2021: [ + "any" + ], + es2024: [ + "withResolvers" + ] + })), + Symbol: new Map(Object.entries({ + es2015: [ + "for", + "keyFor" + ], + es2019: [ + "description" + ] + })), + WeakMap: new Map(Object.entries({ + es2015: [ + "entries", + "keys", + "values" + ] + })), + WeakSet: new Map(Object.entries({ + es2015: [ + "entries", + "keys", + "values" + ] + })), + String: new Map(Object.entries({ + es2015: [ + "codePointAt", + "includes", + "endsWith", + "normalize", + "repeat", + "startsWith", + "anchor", + "big", + "blink", + "bold", + "fixed", + "fontcolor", + "fontsize", + "italics", + "link", + "small", + "strike", + "sub", + "sup" + ], + es2017: [ + "padStart", + "padEnd" + ], + es2019: [ + "trimStart", + "trimEnd", + "trimLeft", + "trimRight" + ], + es2020: [ + "matchAll" + ], + es2021: [ + "replaceAll" + ], + es2022: [ + "at" + ], + es2024: [ + "isWellFormed", + "toWellFormed" + ] + })), + StringConstructor: new Map(Object.entries({ + es2015: [ + "fromCodePoint", + "raw" + ] + })), + DateTimeFormat: new Map(Object.entries({ + es2017: [ + "formatToParts" + ] + })), + Promise: new Map(Object.entries({ + es2015: emptyArray, + es2018: [ + "finally" + ] + })), + RegExpMatchArray: new Map(Object.entries({ + es2018: [ + "groups" + ] + })), + RegExpExecArray: new Map(Object.entries({ + es2018: [ + "groups" + ] + })), + Intl: new Map(Object.entries({ + es2018: [ + "PluralRules" + ] + })), + NumberFormat: new Map(Object.entries({ + es2018: [ + "formatToParts" + ] + })), + SymbolConstructor: new Map(Object.entries({ + es2020: [ + "matchAll" + ], + esnext: [ + "metadata", + "dispose", + "asyncDispose" + ] + })), + DataView: new Map(Object.entries({ + es2020: [ + "setBigInt64", + "setBigUint64", + "getBigInt64", + "getBigUint64" + ] + })), + BigInt: new Map(Object.entries({ + es2020: emptyArray + })), + RelativeTimeFormat: new Map(Object.entries({ + es2020: [ + "format", + "formatToParts", + "resolvedOptions" + ] + })), + Int8Array: new Map(Object.entries({ + es2022: [ + "at" + ], + es2023: [ + "findLastIndex", + "findLast", + "toReversed", + "toSorted", + "toSpliced", + "with" + ] + })), + Uint8Array: new Map(Object.entries({ + es2022: [ + "at" + ], + es2023: [ + "findLastIndex", + "findLast", + "toReversed", + "toSorted", + "toSpliced", + "with" + ] + })), + Uint8ClampedArray: new Map(Object.entries({ + es2022: [ + "at" + ], + es2023: [ + "findLastIndex", + "findLast", + "toReversed", + "toSorted", + "toSpliced", + "with" + ] + })), + Int16Array: new Map(Object.entries({ + es2022: [ + "at" + ], + es2023: [ + "findLastIndex", + "findLast", + "toReversed", + "toSorted", + "toSpliced", + "with" + ] + })), + Uint16Array: new Map(Object.entries({ + es2022: [ + "at" + ], + es2023: [ + "findLastIndex", + "findLast", + "toReversed", + "toSorted", + "toSpliced", + "with" + ] + })), + Int32Array: new Map(Object.entries({ + es2022: [ + "at" + ], + es2023: [ + "findLastIndex", + "findLast", + "toReversed", + "toSorted", + "toSpliced", + "with" + ] + })), + Uint32Array: new Map(Object.entries({ + es2022: [ + "at" + ], + es2023: [ + "findLastIndex", + "findLast", + "toReversed", + "toSorted", + "toSpliced", + "with" + ] + })), + Float32Array: new Map(Object.entries({ + es2022: [ + "at" + ], + es2023: [ + "findLastIndex", + "findLast", + "toReversed", + "toSorted", + "toSpliced", + "with" + ] + })), + Float64Array: new Map(Object.entries({ + es2022: [ + "at" + ], + es2023: [ + "findLastIndex", + "findLast", + "toReversed", + "toSorted", + "toSpliced", + "with" + ] + })), + BigInt64Array: new Map(Object.entries({ + es2020: emptyArray, + es2022: [ + "at" + ], + es2023: [ + "findLastIndex", + "findLast", + "toReversed", + "toSorted", + "toSpliced", + "with" + ] + })), + BigUint64Array: new Map(Object.entries({ + es2020: emptyArray, + es2022: [ + "at" + ], + es2023: [ + "findLastIndex", + "findLast", + "toReversed", + "toSorted", + "toSpliced", + "with" + ] + })), + Error: new Map(Object.entries({ + es2022: [ + "cause" + ] + })) + })) +); +function getLiteralText(node, sourceFile, flags) { + if (sourceFile && canUseOriginalText(node, flags)) { + return getSourceTextOfNodeFromSourceFile(sourceFile, node); + } + switch (node.kind) { + case 11 /* StringLiteral */: { + const escapeText = flags & 2 /* JsxAttributeEscape */ ? escapeJsxAttributeString : flags & 1 /* NeverAsciiEscape */ || getEmitFlags(node) & 16777216 /* NoAsciiEscaping */ ? escapeString : escapeNonAsciiString; + if (node.singleQuote) { + return "'" + escapeText(node.text, 39 /* singleQuote */) + "'"; + } else { + return '"' + escapeText(node.text, 34 /* doubleQuote */) + '"'; + } + } + case 15 /* NoSubstitutionTemplateLiteral */: + case 16 /* TemplateHead */: + case 17 /* TemplateMiddle */: + case 18 /* TemplateTail */: { + const escapeText = flags & 1 /* NeverAsciiEscape */ || getEmitFlags(node) & 16777216 /* NoAsciiEscaping */ ? escapeString : escapeNonAsciiString; + const rawText = node.rawText ?? escapeTemplateSubstitution(escapeText(node.text, 96 /* backtick */)); + switch (node.kind) { + case 15 /* NoSubstitutionTemplateLiteral */: + return "`" + rawText + "`"; + case 16 /* TemplateHead */: + return "`" + rawText + "${"; + case 17 /* TemplateMiddle */: + return "}" + rawText + "${"; + case 18 /* TemplateTail */: + return "}" + rawText + "`"; + } + break; + } + case 9 /* NumericLiteral */: + case 10 /* BigIntLiteral */: + return node.text; + case 14 /* RegularExpressionLiteral */: + if (flags & 4 /* TerminateUnterminatedLiterals */ && node.isUnterminated) { + return node.text + (node.text.charCodeAt(node.text.length - 1) === 92 /* backslash */ ? " /" : "/"); + } + return node.text; + } + return Debug.fail(`Literal kind '${node.kind}' not accounted for.`); +} +function canUseOriginalText(node, flags) { + if (nodeIsSynthesized(node) || !node.parent || flags & 4 /* TerminateUnterminatedLiterals */ && node.isUnterminated) { + return false; + } + if (isNumericLiteral(node)) { + if (node.numericLiteralFlags & 26656 /* IsInvalid */) { + return false; + } + if (node.numericLiteralFlags & 512 /* ContainsSeparator */) { + return !!(flags & 8 /* AllowNumericSeparator */); + } + } + return !isBigIntLiteral(node); +} +function makeIdentifierFromModuleName(moduleName) { + return getBaseFileName(moduleName).replace(/^(\d)/, "_$1").replace(/\W/g, "_"); +} +function isBlockOrCatchScoped(declaration) { + return (getCombinedNodeFlags(declaration) & 7 /* BlockScoped */) !== 0 || isCatchClauseVariableDeclarationOrBindingElement(declaration); +} +function isCatchClauseVariableDeclarationOrBindingElement(declaration) { + const node = getRootDeclaration(declaration); + return node.kind === 260 /* VariableDeclaration */ && node.parent.kind === 299 /* CatchClause */; +} +function isAmbientModule(node) { + return isModuleDeclaration(node) && (node.name.kind === 11 /* StringLiteral */ || isGlobalScopeAugmentation(node)); +} +function isModuleWithStringLiteralName(node) { + return isModuleDeclaration(node) && node.name.kind === 11 /* StringLiteral */; +} +function isNonGlobalAmbientModule(node) { + return isModuleDeclaration(node) && isStringLiteral(node.name); +} +function isEffectiveModuleDeclaration(node) { + return isModuleDeclaration(node) || isIdentifier(node); +} +function isShorthandAmbientModuleSymbol(moduleSymbol) { + return isShorthandAmbientModule(moduleSymbol.valueDeclaration); +} +function isShorthandAmbientModule(node) { + return !!node && node.kind === 267 /* ModuleDeclaration */ && !node.body; +} +function isBlockScopedContainerTopLevel(node) { + return node.kind === 307 /* SourceFile */ || node.kind === 267 /* ModuleDeclaration */ || isFunctionLikeOrClassStaticBlockDeclaration(node); +} +function isGlobalScopeAugmentation(module2) { + return !!(module2.flags & 2048 /* GlobalAugmentation */); +} +function isExternalModuleAugmentation(node) { + return isAmbientModule(node) && isModuleAugmentationExternal(node); +} +function isModuleAugmentationExternal(node) { + switch (node.parent.kind) { + case 307 /* SourceFile */: + return isExternalModule(node.parent); + case 268 /* ModuleBlock */: + return isAmbientModule(node.parent.parent) && isSourceFile(node.parent.parent.parent) && !isExternalModule(node.parent.parent.parent); + } + return false; +} +function getNonAugmentationDeclaration(symbol) { + var _a; + return (_a = symbol.declarations) == null ? void 0 : _a.find((d) => !isExternalModuleAugmentation(d) && !(isModuleDeclaration(d) && isGlobalScopeAugmentation(d))); +} +function isCommonJSContainingModuleKind(kind) { + return kind === 1 /* CommonJS */ || kind === 100 /* Node16 */ || kind === 199 /* NodeNext */; +} +function isEffectiveExternalModule(node, compilerOptions) { + return isExternalModule(node) || isCommonJSContainingModuleKind(getEmitModuleKind(compilerOptions)) && !!node.commonJsModuleIndicator; +} +function isEffectiveStrictModeSourceFile(node, compilerOptions) { + switch (node.scriptKind) { + case 1 /* JS */: + case 3 /* TS */: + case 2 /* JSX */: + case 4 /* TSX */: + break; + default: + return false; + } + if (node.isDeclarationFile) { + return false; + } + if (getStrictOptionValue(compilerOptions, "alwaysStrict")) { + return true; + } + if (startsWithUseStrict(node.statements)) { + return true; + } + if (isExternalModule(node) || getIsolatedModules(compilerOptions)) { + return true; + } + return false; +} +function isAmbientPropertyDeclaration(node) { + return !!(node.flags & 33554432 /* Ambient */) || hasSyntacticModifier(node, 128 /* Ambient */); +} +function isBlockScope(node, parentNode) { + switch (node.kind) { + case 307 /* SourceFile */: + case 269 /* CaseBlock */: + case 299 /* CatchClause */: + case 267 /* ModuleDeclaration */: + case 248 /* ForStatement */: + case 249 /* ForInStatement */: + case 250 /* ForOfStatement */: + case 176 /* Constructor */: + case 174 /* MethodDeclaration */: + case 177 /* GetAccessor */: + case 178 /* SetAccessor */: + case 262 /* FunctionDeclaration */: + case 218 /* FunctionExpression */: + case 219 /* ArrowFunction */: + case 172 /* PropertyDeclaration */: + case 175 /* ClassStaticBlockDeclaration */: + return true; + case 241 /* Block */: + return !isFunctionLikeOrClassStaticBlockDeclaration(parentNode); + } + return false; +} +function isAnyImportSyntax(node) { + switch (node.kind) { + case 272 /* ImportDeclaration */: + case 271 /* ImportEqualsDeclaration */: + return true; + default: + return false; + } +} +function isLateVisibilityPaintedStatement(node) { + switch (node.kind) { + case 272 /* ImportDeclaration */: + case 271 /* ImportEqualsDeclaration */: + case 243 /* VariableStatement */: + case 263 /* ClassDeclaration */: + case 262 /* FunctionDeclaration */: + case 267 /* ModuleDeclaration */: + case 265 /* TypeAliasDeclaration */: + case 264 /* InterfaceDeclaration */: + case 266 /* EnumDeclaration */: + return true; + default: + return false; + } +} +function hasPossibleExternalModuleReference(node) { + return isAnyImportOrReExport(node) || isModuleDeclaration(node) || isImportTypeNode(node) || isImportCall(node); +} +function isAnyImportOrReExport(node) { + return isAnyImportSyntax(node) || isExportDeclaration(node); +} +function getEnclosingContainer(node) { + return findAncestor(node.parent, (n) => !!(getContainerFlags(n) & 1 /* IsContainer */)); +} +function getEnclosingBlockScopeContainer(node) { + return findAncestor(node.parent, (current) => isBlockScope(current, current.parent)); +} +function forEachEnclosingBlockScopeContainer(node, cb) { + let container = getEnclosingBlockScopeContainer(node); + while (container) { + cb(container); + container = getEnclosingBlockScopeContainer(container); + } +} +function declarationNameToString(name) { + return !name || getFullWidth(name) === 0 ? "(Missing)" : getTextOfNode(name); +} +function getNameFromIndexInfo(info) { + return info.declaration ? declarationNameToString(info.declaration.parameters[0].name) : void 0; +} +function isComputedNonLiteralName(name) { + return name.kind === 167 /* ComputedPropertyName */ && !isStringOrNumericLiteralLike(name.expression); +} +function tryGetTextOfPropertyName(name) { + var _a; + switch (name.kind) { + case 80 /* Identifier */: + case 81 /* PrivateIdentifier */: + return ((_a = name.emitNode) == null ? void 0 : _a.autoGenerate) ? void 0 : name.escapedText; + case 11 /* StringLiteral */: + case 9 /* NumericLiteral */: + case 10 /* BigIntLiteral */: + case 15 /* NoSubstitutionTemplateLiteral */: + return escapeLeadingUnderscores(name.text); + case 167 /* ComputedPropertyName */: + if (isStringOrNumericLiteralLike(name.expression)) return escapeLeadingUnderscores(name.expression.text); + return void 0; + case 295 /* JsxNamespacedName */: + return getEscapedTextOfJsxNamespacedName(name); + default: + return Debug.assertNever(name); + } +} +function getTextOfPropertyName(name) { + return Debug.checkDefined(tryGetTextOfPropertyName(name)); +} +function entityNameToString(name) { + switch (name.kind) { + case 110 /* ThisKeyword */: + return "this"; + case 81 /* PrivateIdentifier */: + case 80 /* Identifier */: + return getFullWidth(name) === 0 ? idText(name) : getTextOfNode(name); + case 166 /* QualifiedName */: + return entityNameToString(name.left) + "." + entityNameToString(name.right); + case 211 /* PropertyAccessExpression */: + if (isIdentifier(name.name) || isPrivateIdentifier(name.name)) { + return entityNameToString(name.expression) + "." + entityNameToString(name.name); + } else { + return Debug.assertNever(name.name); + } + case 311 /* JSDocMemberName */: + return entityNameToString(name.left) + "#" + entityNameToString(name.right); + case 295 /* JsxNamespacedName */: + return entityNameToString(name.namespace) + ":" + entityNameToString(name.name); + default: + return Debug.assertNever(name); + } +} +function createDiagnosticForNode(node, message, ...args) { + const sourceFile = getSourceFileOfNode(node); + return createDiagnosticForNodeInSourceFile(sourceFile, node, message, ...args); +} +function createDiagnosticForNodeArray(sourceFile, nodes, message, ...args) { + const start = skipTrivia(sourceFile.text, nodes.pos); + return createFileDiagnostic(sourceFile, start, nodes.end - start, message, ...args); +} +function createDiagnosticForNodeInSourceFile(sourceFile, node, message, ...args) { + const span = getErrorSpanForNode(sourceFile, node); + return createFileDiagnostic(sourceFile, span.start, span.length, message, ...args); +} +function createDiagnosticForNodeFromMessageChain(sourceFile, node, messageChain, relatedInformation) { + const span = getErrorSpanForNode(sourceFile, node); + return createFileDiagnosticFromMessageChain(sourceFile, span.start, span.length, messageChain, relatedInformation); +} +function createDiagnosticForNodeArrayFromMessageChain(sourceFile, nodes, messageChain, relatedInformation) { + const start = skipTrivia(sourceFile.text, nodes.pos); + return createFileDiagnosticFromMessageChain(sourceFile, start, nodes.end - start, messageChain, relatedInformation); +} +function assertDiagnosticLocation(sourceText, start, length2) { + Debug.assertGreaterThanOrEqual(start, 0); + Debug.assertGreaterThanOrEqual(length2, 0); + Debug.assertLessThanOrEqual(start, sourceText.length); + Debug.assertLessThanOrEqual(start + length2, sourceText.length); +} +function createFileDiagnosticFromMessageChain(file, start, length2, messageChain, relatedInformation) { + assertDiagnosticLocation(file.text, start, length2); + return { + file, + start, + length: length2, + code: messageChain.code, + category: messageChain.category, + messageText: messageChain.next ? messageChain : messageChain.messageText, + relatedInformation, + canonicalHead: messageChain.canonicalHead + }; +} +function createDiagnosticForFileFromMessageChain(sourceFile, messageChain, relatedInformation) { + return { + file: sourceFile, + start: 0, + length: 0, + code: messageChain.code, + category: messageChain.category, + messageText: messageChain.next ? messageChain : messageChain.messageText, + relatedInformation + }; +} +function createDiagnosticMessageChainFromDiagnostic(diagnostic) { + return typeof diagnostic.messageText === "string" ? { + code: diagnostic.code, + category: diagnostic.category, + messageText: diagnostic.messageText, + next: diagnostic.next + } : diagnostic.messageText; +} +function createDiagnosticForRange(sourceFile, range, message) { + return { + file: sourceFile, + start: range.pos, + length: range.end - range.pos, + code: message.code, + category: message.category, + messageText: message.message + }; +} +function getCanonicalDiagnostic(message, ...args) { + return { + code: message.code, + messageText: formatMessage(message, ...args) + }; +} +function getSpanOfTokenAtPosition(sourceFile, pos) { + const scanner = createScanner( + sourceFile.languageVersion, + /*skipTrivia*/ + true, + sourceFile.languageVariant, + sourceFile.text, + /*onError*/ + void 0, + pos + ); + scanner.scan(); + const start = scanner.getTokenStart(); + return createTextSpanFromBounds(start, scanner.getTokenEnd()); +} +function scanTokenAtPosition(sourceFile, pos) { + const scanner = createScanner( + sourceFile.languageVersion, + /*skipTrivia*/ + true, + sourceFile.languageVariant, + sourceFile.text, + /*onError*/ + void 0, + pos + ); + scanner.scan(); + return scanner.getToken(); +} +function getErrorSpanForArrowFunction(sourceFile, node) { + const pos = skipTrivia(sourceFile.text, node.pos); + if (node.body && node.body.kind === 241 /* Block */) { + const { line: startLine } = getLineAndCharacterOfPosition(sourceFile, node.body.pos); + const { line: endLine } = getLineAndCharacterOfPosition(sourceFile, node.body.end); + if (startLine < endLine) { + return createTextSpan(pos, getEndLinePosition(startLine, sourceFile) - pos + 1); + } + } + return createTextSpanFromBounds(pos, node.end); +} +function getErrorSpanForNode(sourceFile, node) { + let errorNode = node; + switch (node.kind) { + case 307 /* SourceFile */: { + const pos2 = skipTrivia( + sourceFile.text, + 0, + /*stopAfterLineBreak*/ + false + ); + if (pos2 === sourceFile.text.length) { + return createTextSpan(0, 0); + } + return getSpanOfTokenAtPosition(sourceFile, pos2); + } + // This list is a work in progress. Add missing node kinds to improve their error + // spans. + case 260 /* VariableDeclaration */: + case 208 /* BindingElement */: + case 263 /* ClassDeclaration */: + case 231 /* ClassExpression */: + case 264 /* InterfaceDeclaration */: + case 267 /* ModuleDeclaration */: + case 266 /* EnumDeclaration */: + case 306 /* EnumMember */: + case 262 /* FunctionDeclaration */: + case 218 /* FunctionExpression */: + case 174 /* MethodDeclaration */: + case 177 /* GetAccessor */: + case 178 /* SetAccessor */: + case 265 /* TypeAliasDeclaration */: + case 172 /* PropertyDeclaration */: + case 171 /* PropertySignature */: + case 274 /* NamespaceImport */: + errorNode = node.name; + break; + case 219 /* ArrowFunction */: + return getErrorSpanForArrowFunction(sourceFile, node); + case 296 /* CaseClause */: + case 297 /* DefaultClause */: { + const start = skipTrivia(sourceFile.text, node.pos); + const end = node.statements.length > 0 ? node.statements[0].pos : node.end; + return createTextSpanFromBounds(start, end); + } + case 253 /* ReturnStatement */: + case 229 /* YieldExpression */: { + const pos2 = skipTrivia(sourceFile.text, node.pos); + return getSpanOfTokenAtPosition(sourceFile, pos2); + } + case 238 /* SatisfiesExpression */: { + const pos2 = skipTrivia(sourceFile.text, node.expression.end); + return getSpanOfTokenAtPosition(sourceFile, pos2); + } + case 350 /* JSDocSatisfiesTag */: { + const pos2 = skipTrivia(sourceFile.text, node.tagName.pos); + return getSpanOfTokenAtPosition(sourceFile, pos2); + } + case 176 /* Constructor */: { + const constructorDeclaration = node; + const start = skipTrivia(sourceFile.text, constructorDeclaration.pos); + const scanner = createScanner( + sourceFile.languageVersion, + /*skipTrivia*/ + true, + sourceFile.languageVariant, + sourceFile.text, + /*onError*/ + void 0, + start + ); + let token = scanner.scan(); + while (token !== 137 /* ConstructorKeyword */ && token !== 1 /* EndOfFileToken */) { + token = scanner.scan(); + } + const end = scanner.getTokenEnd(); + return createTextSpanFromBounds(start, end); + } + } + if (errorNode === void 0) { + return getSpanOfTokenAtPosition(sourceFile, node.pos); + } + Debug.assert(!isJSDoc(errorNode)); + const isMissing = nodeIsMissing(errorNode); + const pos = isMissing || isJsxText(node) ? errorNode.pos : skipTrivia(sourceFile.text, errorNode.pos); + if (isMissing) { + Debug.assert(pos === errorNode.pos, "This failure could trigger https://github.com/Microsoft/TypeScript/issues/20809"); + Debug.assert(pos === errorNode.end, "This failure could trigger https://github.com/Microsoft/TypeScript/issues/20809"); + } else { + Debug.assert(pos >= errorNode.pos, "This failure could trigger https://github.com/Microsoft/TypeScript/issues/20809"); + Debug.assert(pos <= errorNode.end, "This failure could trigger https://github.com/Microsoft/TypeScript/issues/20809"); + } + return createTextSpanFromBounds(pos, errorNode.end); +} +function isGlobalSourceFile(node) { + return node.kind === 307 /* SourceFile */ && !isExternalOrCommonJsModule(node); +} +function isExternalOrCommonJsModule(file) { + return (file.externalModuleIndicator || file.commonJsModuleIndicator) !== void 0; +} +function isJsonSourceFile(file) { + return file.scriptKind === 6 /* JSON */; +} +function isEnumConst(node) { + return !!(getCombinedModifierFlags(node) & 4096 /* Const */); +} +function isDeclarationReadonly(declaration) { + return !!(getCombinedModifierFlags(declaration) & 8 /* Readonly */ && !isParameterPropertyDeclaration(declaration, declaration.parent)); +} +function isVarAwaitUsing(node) { + return (getCombinedNodeFlags(node) & 7 /* BlockScoped */) === 6 /* AwaitUsing */; +} +function isVarUsing(node) { + return (getCombinedNodeFlags(node) & 7 /* BlockScoped */) === 4 /* Using */; +} +function isVarConst(node) { + return (getCombinedNodeFlags(node) & 7 /* BlockScoped */) === 2 /* Const */; +} +function isVarConstLike(node) { + const blockScopeKind = getCombinedNodeFlags(node) & 7 /* BlockScoped */; + return blockScopeKind === 2 /* Const */ || blockScopeKind === 4 /* Using */ || blockScopeKind === 6 /* AwaitUsing */; +} +function isLet(node) { + return (getCombinedNodeFlags(node) & 7 /* BlockScoped */) === 1 /* Let */; +} +function isSuperCall(n) { + return n.kind === 213 /* CallExpression */ && n.expression.kind === 108 /* SuperKeyword */; +} +function isImportCall(n) { + return n.kind === 213 /* CallExpression */ && n.expression.kind === 102 /* ImportKeyword */; +} +function isImportMeta(n) { + return isMetaProperty(n) && n.keywordToken === 102 /* ImportKeyword */ && n.name.escapedText === "meta"; +} +function isLiteralImportTypeNode(n) { + return isImportTypeNode(n) && isLiteralTypeNode(n.argument) && isStringLiteral(n.argument.literal); +} +function isPrologueDirective(node) { + return node.kind === 244 /* ExpressionStatement */ && node.expression.kind === 11 /* StringLiteral */; +} +function isCustomPrologue(node) { + return !!(getEmitFlags(node) & 2097152 /* CustomPrologue */); +} +function isHoistedFunction(node) { + return isCustomPrologue(node) && isFunctionDeclaration(node); +} +function isHoistedVariable(node) { + return isIdentifier(node.name) && !node.initializer; +} +function isHoistedVariableStatement(node) { + return isCustomPrologue(node) && isVariableStatement(node) && every(node.declarationList.declarations, isHoistedVariable); +} +function getLeadingCommentRangesOfNode(node, sourceFileOfNode) { + return node.kind !== 12 /* JsxText */ ? getLeadingCommentRanges(sourceFileOfNode.text, node.pos) : void 0; +} +function getJSDocCommentRanges(node, text) { + const commentRanges = node.kind === 169 /* Parameter */ || node.kind === 168 /* TypeParameter */ || node.kind === 218 /* FunctionExpression */ || node.kind === 219 /* ArrowFunction */ || node.kind === 217 /* ParenthesizedExpression */ || node.kind === 260 /* VariableDeclaration */ || node.kind === 281 /* ExportSpecifier */ ? concatenate(getTrailingCommentRanges(text, node.pos), getLeadingCommentRanges(text, node.pos)) : getLeadingCommentRanges(text, node.pos); + return filter(commentRanges, (comment) => comment.end <= node.end && // Due to parse errors sometime empty parameter may get comments assigned to it that end up not in parameter range + text.charCodeAt(comment.pos + 1) === 42 /* asterisk */ && text.charCodeAt(comment.pos + 2) === 42 /* asterisk */ && text.charCodeAt(comment.pos + 3) !== 47 /* slash */); +} +var fullTripleSlashReferencePathRegEx = /^\/\/\/\s*/; +var fullTripleSlashReferenceTypeReferenceDirectiveRegEx = /^\/\/\/\s*/; +var fullTripleSlashLibReferenceRegEx = /^\/\/\/\s*/; +var fullTripleSlashAMDReferencePathRegEx = /^\/\/\/\s*/; +var fullTripleSlashAMDModuleRegEx = /^\/\/\/\s*/; +var defaultLibReferenceRegEx = /^\/\/\/\s*/; +function isPartOfTypeNode(node) { + if (182 /* FirstTypeNode */ <= node.kind && node.kind <= 205 /* LastTypeNode */) { + return true; + } + switch (node.kind) { + case 133 /* AnyKeyword */: + case 159 /* UnknownKeyword */: + case 150 /* NumberKeyword */: + case 163 /* BigIntKeyword */: + case 154 /* StringKeyword */: + case 136 /* BooleanKeyword */: + case 155 /* SymbolKeyword */: + case 151 /* ObjectKeyword */: + case 157 /* UndefinedKeyword */: + case 106 /* NullKeyword */: + case 146 /* NeverKeyword */: + return true; + case 116 /* VoidKeyword */: + return node.parent.kind !== 222 /* VoidExpression */; + case 233 /* ExpressionWithTypeArguments */: + return isPartOfTypeExpressionWithTypeArguments(node); + case 168 /* TypeParameter */: + return node.parent.kind === 200 /* MappedType */ || node.parent.kind === 195 /* InferType */; + // Identifiers and qualified names may be type nodes, depending on their context. Climb + // above them to find the lowest container + case 80 /* Identifier */: + if (node.parent.kind === 166 /* QualifiedName */ && node.parent.right === node) { + node = node.parent; + } else if (node.parent.kind === 211 /* PropertyAccessExpression */ && node.parent.name === node) { + node = node.parent; + } + Debug.assert(node.kind === 80 /* Identifier */ || node.kind === 166 /* QualifiedName */ || node.kind === 211 /* PropertyAccessExpression */, "'node' was expected to be a qualified name, identifier or property access in 'isPartOfTypeNode'."); + // falls through + case 166 /* QualifiedName */: + case 211 /* PropertyAccessExpression */: + case 110 /* ThisKeyword */: { + const { parent } = node; + if (parent.kind === 186 /* TypeQuery */) { + return false; + } + if (parent.kind === 205 /* ImportType */) { + return !parent.isTypeOf; + } + if (182 /* FirstTypeNode */ <= parent.kind && parent.kind <= 205 /* LastTypeNode */) { + return true; + } + switch (parent.kind) { + case 233 /* ExpressionWithTypeArguments */: + return isPartOfTypeExpressionWithTypeArguments(parent); + case 168 /* TypeParameter */: + return node === parent.constraint; + case 345 /* JSDocTemplateTag */: + return node === parent.constraint; + case 172 /* PropertyDeclaration */: + case 171 /* PropertySignature */: + case 169 /* Parameter */: + case 260 /* VariableDeclaration */: + return node === parent.type; + case 262 /* FunctionDeclaration */: + case 218 /* FunctionExpression */: + case 219 /* ArrowFunction */: + case 176 /* Constructor */: + case 174 /* MethodDeclaration */: + case 173 /* MethodSignature */: + case 177 /* GetAccessor */: + case 178 /* SetAccessor */: + return node === parent.type; + case 179 /* CallSignature */: + case 180 /* ConstructSignature */: + case 181 /* IndexSignature */: + return node === parent.type; + case 216 /* TypeAssertionExpression */: + return node === parent.type; + case 213 /* CallExpression */: + case 214 /* NewExpression */: + case 215 /* TaggedTemplateExpression */: + return contains(parent.typeArguments, node); + } + } + } + return false; +} +function isPartOfTypeExpressionWithTypeArguments(node) { + return isJSDocImplementsTag(node.parent) || isJSDocAugmentsTag(node.parent) || isHeritageClause(node.parent) && !isExpressionWithTypeArgumentsInClassExtendsClause(node); +} +function forEachReturnStatement(body, visitor) { + return traverse(body); + function traverse(node) { + switch (node.kind) { + case 253 /* ReturnStatement */: + return visitor(node); + case 269 /* CaseBlock */: + case 241 /* Block */: + case 245 /* IfStatement */: + case 246 /* DoStatement */: + case 247 /* WhileStatement */: + case 248 /* ForStatement */: + case 249 /* ForInStatement */: + case 250 /* ForOfStatement */: + case 254 /* WithStatement */: + case 255 /* SwitchStatement */: + case 296 /* CaseClause */: + case 297 /* DefaultClause */: + case 256 /* LabeledStatement */: + case 258 /* TryStatement */: + case 299 /* CatchClause */: + return forEachChild(node, traverse); + } + } +} +function forEachYieldExpression(body, visitor) { + return traverse(body); + function traverse(node) { + switch (node.kind) { + case 229 /* YieldExpression */: + visitor(node); + const operand = node.expression; + if (operand) { + traverse(operand); + } + return; + case 266 /* EnumDeclaration */: + case 264 /* InterfaceDeclaration */: + case 267 /* ModuleDeclaration */: + case 265 /* TypeAliasDeclaration */: + return; + default: + if (isFunctionLike(node)) { + if (node.name && node.name.kind === 167 /* ComputedPropertyName */) { + traverse(node.name.expression); + return; + } + } else if (!isPartOfTypeNode(node)) { + forEachChild(node, traverse); + } + } + } +} +function getRestParameterElementType(node) { + if (node && node.kind === 188 /* ArrayType */) { + return node.elementType; + } else if (node && node.kind === 183 /* TypeReference */) { + return singleOrUndefined(node.typeArguments); + } else { + return void 0; + } +} +function getMembersOfDeclaration(node) { + switch (node.kind) { + case 264 /* InterfaceDeclaration */: + case 263 /* ClassDeclaration */: + case 231 /* ClassExpression */: + case 187 /* TypeLiteral */: + return node.members; + case 210 /* ObjectLiteralExpression */: + return node.properties; + } +} +function isVariableLike(node) { + if (node) { + switch (node.kind) { + case 208 /* BindingElement */: + case 306 /* EnumMember */: + case 169 /* Parameter */: + case 303 /* PropertyAssignment */: + case 172 /* PropertyDeclaration */: + case 171 /* PropertySignature */: + case 304 /* ShorthandPropertyAssignment */: + case 260 /* VariableDeclaration */: + return true; + } + } + return false; +} +function isVariableDeclarationInVariableStatement(node) { + return node.parent.kind === 261 /* VariableDeclarationList */ && node.parent.parent.kind === 243 /* VariableStatement */; +} +function isCommonJsExportedExpression(node) { + if (!isInJSFile(node)) return false; + return isObjectLiteralExpression(node.parent) && isBinaryExpression(node.parent.parent) && getAssignmentDeclarationKind(node.parent.parent) === 2 /* ModuleExports */ || isCommonJsExportPropertyAssignment(node.parent); +} +function isCommonJsExportPropertyAssignment(node) { + if (!isInJSFile(node)) return false; + return isBinaryExpression(node) && getAssignmentDeclarationKind(node) === 1 /* ExportsProperty */; +} +function isValidESSymbolDeclaration(node) { + return (isVariableDeclaration(node) ? isVarConst(node) && isIdentifier(node.name) && isVariableDeclarationInVariableStatement(node) : isPropertyDeclaration(node) ? hasEffectiveReadonlyModifier(node) && hasStaticModifier(node) : isPropertySignature(node) && hasEffectiveReadonlyModifier(node)) || isCommonJsExportPropertyAssignment(node); +} +function introducesArgumentsExoticObject(node) { + switch (node.kind) { + case 174 /* MethodDeclaration */: + case 173 /* MethodSignature */: + case 176 /* Constructor */: + case 177 /* GetAccessor */: + case 178 /* SetAccessor */: + case 262 /* FunctionDeclaration */: + case 218 /* FunctionExpression */: + return true; + } + return false; +} +function unwrapInnermostStatementOfLabel(node, beforeUnwrapLabelCallback) { + while (true) { + if (beforeUnwrapLabelCallback) { + beforeUnwrapLabelCallback(node); + } + if (node.statement.kind !== 256 /* LabeledStatement */) { + return node.statement; + } + node = node.statement; + } +} +function isFunctionBlock(node) { + return node && node.kind === 241 /* Block */ && isFunctionLike(node.parent); +} +function isObjectLiteralMethod(node) { + return node && node.kind === 174 /* MethodDeclaration */ && node.parent.kind === 210 /* ObjectLiteralExpression */; +} +function isObjectLiteralOrClassExpressionMethodOrAccessor(node) { + return (node.kind === 174 /* MethodDeclaration */ || node.kind === 177 /* GetAccessor */ || node.kind === 178 /* SetAccessor */) && (node.parent.kind === 210 /* ObjectLiteralExpression */ || node.parent.kind === 231 /* ClassExpression */); +} +function isIdentifierTypePredicate(predicate) { + return predicate && predicate.kind === 1 /* Identifier */; +} +function isThisTypePredicate(predicate) { + return predicate && predicate.kind === 0 /* This */; +} +function forEachPropertyAssignment(objectLiteral, key, callback, key2) { + return forEach(objectLiteral == null ? void 0 : objectLiteral.properties, (property) => { + if (!isPropertyAssignment(property)) return void 0; + const propName = tryGetTextOfPropertyName(property.name); + return key === propName || key2 && key2 === propName ? callback(property) : void 0; + }); +} +function getPropertyArrayElementValue(objectLiteral, propKey, elementValue) { + return forEachPropertyAssignment(objectLiteral, propKey, (property) => isArrayLiteralExpression(property.initializer) ? find(property.initializer.elements, (element) => isStringLiteral(element) && element.text === elementValue) : void 0); +} +function getTsConfigObjectLiteralExpression(tsConfigSourceFile) { + if (tsConfigSourceFile && tsConfigSourceFile.statements.length) { + const expression = tsConfigSourceFile.statements[0].expression; + return tryCast(expression, isObjectLiteralExpression); + } +} +function getTsConfigPropArrayElementValue(tsConfigSourceFile, propKey, elementValue) { + return forEachTsConfigPropArray(tsConfigSourceFile, propKey, (property) => isArrayLiteralExpression(property.initializer) ? find(property.initializer.elements, (element) => isStringLiteral(element) && element.text === elementValue) : void 0); +} +function forEachTsConfigPropArray(tsConfigSourceFile, propKey, callback) { + return forEachPropertyAssignment(getTsConfigObjectLiteralExpression(tsConfigSourceFile), propKey, callback); +} +function getContainingFunction(node) { + return findAncestor(node.parent, isFunctionLike); +} +function getContainingClass(node) { + return findAncestor(node.parent, isClassLike); +} +function getContainingClassStaticBlock(node) { + return findAncestor(node.parent, (n) => { + if (isClassLike(n) || isFunctionLike(n)) { + return "quit"; + } + return isClassStaticBlockDeclaration(n); + }); +} +function getContainingFunctionOrClassStaticBlock(node) { + return findAncestor(node.parent, isFunctionLikeOrClassStaticBlockDeclaration); +} +function getContainingClassExcludingClassDecorators(node) { + const decorator = findAncestor(node.parent, (n) => isClassLike(n) ? "quit" : isDecorator(n)); + return decorator && isClassLike(decorator.parent) ? getContainingClass(decorator.parent) : getContainingClass(decorator ?? node); +} +function getThisContainer(node, includeArrowFunctions, includeClassComputedPropertyName) { + Debug.assert(node.kind !== 307 /* SourceFile */); + while (true) { + node = node.parent; + if (!node) { + return Debug.fail(); + } + switch (node.kind) { + case 167 /* ComputedPropertyName */: + if (includeClassComputedPropertyName && isClassLike(node.parent.parent)) { + return node; + } + node = node.parent.parent; + break; + case 170 /* Decorator */: + if (node.parent.kind === 169 /* Parameter */ && isClassElement(node.parent.parent)) { + node = node.parent.parent; + } else if (isClassElement(node.parent)) { + node = node.parent; + } + break; + case 219 /* ArrowFunction */: + if (!includeArrowFunctions) { + continue; + } + // falls through + case 262 /* FunctionDeclaration */: + case 218 /* FunctionExpression */: + case 267 /* ModuleDeclaration */: + case 175 /* ClassStaticBlockDeclaration */: + case 172 /* PropertyDeclaration */: + case 171 /* PropertySignature */: + case 174 /* MethodDeclaration */: + case 173 /* MethodSignature */: + case 176 /* Constructor */: + case 177 /* GetAccessor */: + case 178 /* SetAccessor */: + case 179 /* CallSignature */: + case 180 /* ConstructSignature */: + case 181 /* IndexSignature */: + case 266 /* EnumDeclaration */: + case 307 /* SourceFile */: + return node; + } + } +} +function isThisContainerOrFunctionBlock(node) { + switch (node.kind) { + // Arrow functions use the same scope, but may do so in a "delayed" manner + // For example, `const getThis = () => this` may be before a super() call in a derived constructor + case 219 /* ArrowFunction */: + case 262 /* FunctionDeclaration */: + case 218 /* FunctionExpression */: + case 172 /* PropertyDeclaration */: + return true; + case 241 /* Block */: + switch (node.parent.kind) { + case 176 /* Constructor */: + case 174 /* MethodDeclaration */: + case 177 /* GetAccessor */: + case 178 /* SetAccessor */: + return true; + default: + return false; + } + default: + return false; + } +} +function isInTopLevelContext(node) { + if (isIdentifier(node) && (isClassDeclaration(node.parent) || isFunctionDeclaration(node.parent)) && node.parent.name === node) { + node = node.parent; + } + const container = getThisContainer( + node, + /*includeArrowFunctions*/ + true, + /*includeClassComputedPropertyName*/ + false + ); + return isSourceFile(container); +} +function getNewTargetContainer(node) { + const container = getThisContainer( + node, + /*includeArrowFunctions*/ + false, + /*includeClassComputedPropertyName*/ + false + ); + if (container) { + switch (container.kind) { + case 176 /* Constructor */: + case 262 /* FunctionDeclaration */: + case 218 /* FunctionExpression */: + return container; + } + } + return void 0; +} +function getSuperContainer(node, stopOnFunctions) { + while (true) { + node = node.parent; + if (!node) { + return void 0; + } + switch (node.kind) { + case 167 /* ComputedPropertyName */: + node = node.parent; + break; + case 262 /* FunctionDeclaration */: + case 218 /* FunctionExpression */: + case 219 /* ArrowFunction */: + if (!stopOnFunctions) { + continue; + } + // falls through + case 172 /* PropertyDeclaration */: + case 171 /* PropertySignature */: + case 174 /* MethodDeclaration */: + case 173 /* MethodSignature */: + case 176 /* Constructor */: + case 177 /* GetAccessor */: + case 178 /* SetAccessor */: + case 175 /* ClassStaticBlockDeclaration */: + return node; + case 170 /* Decorator */: + if (node.parent.kind === 169 /* Parameter */ && isClassElement(node.parent.parent)) { + node = node.parent.parent; + } else if (isClassElement(node.parent)) { + node = node.parent; + } + break; + } + } +} +function getImmediatelyInvokedFunctionExpression(func) { + if (func.kind === 218 /* FunctionExpression */ || func.kind === 219 /* ArrowFunction */) { + let prev = func; + let parent = func.parent; + while (parent.kind === 217 /* ParenthesizedExpression */) { + prev = parent; + parent = parent.parent; + } + if (parent.kind === 213 /* CallExpression */ && parent.expression === prev) { + return parent; + } + } +} +function isSuperProperty(node) { + const kind = node.kind; + return (kind === 211 /* PropertyAccessExpression */ || kind === 212 /* ElementAccessExpression */) && node.expression.kind === 108 /* SuperKeyword */; +} +function isThisProperty(node) { + const kind = node.kind; + return (kind === 211 /* PropertyAccessExpression */ || kind === 212 /* ElementAccessExpression */) && node.expression.kind === 110 /* ThisKeyword */; +} +function isThisInitializedDeclaration(node) { + var _a; + return !!node && isVariableDeclaration(node) && ((_a = node.initializer) == null ? void 0 : _a.kind) === 110 /* ThisKeyword */; +} +function isThisInitializedObjectBindingExpression(node) { + return !!node && (isShorthandPropertyAssignment(node) || isPropertyAssignment(node)) && isBinaryExpression(node.parent.parent) && node.parent.parent.operatorToken.kind === 64 /* EqualsToken */ && node.parent.parent.right.kind === 110 /* ThisKeyword */; +} +function getEntityNameFromTypeNode(node) { + switch (node.kind) { + case 183 /* TypeReference */: + return node.typeName; + case 233 /* ExpressionWithTypeArguments */: + return isEntityNameExpression(node.expression) ? node.expression : void 0; + // TODO(rbuckton): These aren't valid TypeNodes, but we treat them as such because of `isPartOfTypeNode`, which returns `true` for things that aren't `TypeNode`s. + case 80 /* Identifier */: + case 166 /* QualifiedName */: + return node; + } + return void 0; +} +function getInvokedExpression(node) { + switch (node.kind) { + case 215 /* TaggedTemplateExpression */: + return node.tag; + case 286 /* JsxOpeningElement */: + case 285 /* JsxSelfClosingElement */: + return node.tagName; + case 226 /* BinaryExpression */: + return node.right; + case 289 /* JsxOpeningFragment */: + return node; + default: + return node.expression; + } +} +function nodeCanBeDecorated(useLegacyDecorators, node, parent, grandparent) { + if (useLegacyDecorators && isNamedDeclaration(node) && isPrivateIdentifier(node.name)) { + return false; + } + switch (node.kind) { + case 263 /* ClassDeclaration */: + return true; + case 231 /* ClassExpression */: + return !useLegacyDecorators; + case 172 /* PropertyDeclaration */: + return parent !== void 0 && (useLegacyDecorators ? isClassDeclaration(parent) : isClassLike(parent) && !hasAbstractModifier(node) && !hasAmbientModifier(node)); + case 177 /* GetAccessor */: + case 178 /* SetAccessor */: + case 174 /* MethodDeclaration */: + return node.body !== void 0 && parent !== void 0 && (useLegacyDecorators ? isClassDeclaration(parent) : isClassLike(parent)); + case 169 /* Parameter */: + if (!useLegacyDecorators) return false; + return parent !== void 0 && parent.body !== void 0 && (parent.kind === 176 /* Constructor */ || parent.kind === 174 /* MethodDeclaration */ || parent.kind === 178 /* SetAccessor */) && getThisParameter(parent) !== node && grandparent !== void 0 && grandparent.kind === 263 /* ClassDeclaration */; + } + return false; +} +function nodeIsDecorated(useLegacyDecorators, node, parent, grandparent) { + return hasDecorators(node) && nodeCanBeDecorated(useLegacyDecorators, node, parent, grandparent); +} +function nodeOrChildIsDecorated(useLegacyDecorators, node, parent, grandparent) { + return nodeIsDecorated(useLegacyDecorators, node, parent, grandparent) || childIsDecorated(useLegacyDecorators, node, parent); +} +function childIsDecorated(useLegacyDecorators, node, parent) { + switch (node.kind) { + case 263 /* ClassDeclaration */: + return some(node.members, (m) => nodeOrChildIsDecorated(useLegacyDecorators, m, node, parent)); + case 231 /* ClassExpression */: + return !useLegacyDecorators && some(node.members, (m) => nodeOrChildIsDecorated(useLegacyDecorators, m, node, parent)); + case 174 /* MethodDeclaration */: + case 178 /* SetAccessor */: + case 176 /* Constructor */: + return some(node.parameters, (p) => nodeIsDecorated(useLegacyDecorators, p, node, parent)); + default: + return false; + } +} +function classOrConstructorParameterIsDecorated(useLegacyDecorators, node) { + if (nodeIsDecorated(useLegacyDecorators, node)) return true; + const constructor = getFirstConstructorWithBody(node); + return !!constructor && childIsDecorated(useLegacyDecorators, constructor, node); +} +function classElementOrClassElementParameterIsDecorated(useLegacyDecorators, node, parent) { + let parameters; + if (isAccessor(node)) { + const { firstAccessor, secondAccessor, setAccessor } = getAllAccessorDeclarations(parent.members, node); + const firstAccessorWithDecorators = hasDecorators(firstAccessor) ? firstAccessor : secondAccessor && hasDecorators(secondAccessor) ? secondAccessor : void 0; + if (!firstAccessorWithDecorators || node !== firstAccessorWithDecorators) { + return false; + } + parameters = setAccessor == null ? void 0 : setAccessor.parameters; + } else if (isMethodDeclaration(node)) { + parameters = node.parameters; + } + if (nodeIsDecorated(useLegacyDecorators, node, parent)) { + return true; + } + if (parameters) { + for (const parameter of parameters) { + if (parameterIsThisKeyword(parameter)) continue; + if (nodeIsDecorated(useLegacyDecorators, parameter, node, parent)) return true; + } + } + return false; +} +function isEmptyStringLiteral(node) { + if (node.textSourceNode) { + switch (node.textSourceNode.kind) { + case 11 /* StringLiteral */: + return isEmptyStringLiteral(node.textSourceNode); + case 15 /* NoSubstitutionTemplateLiteral */: + return node.text === ""; + } + return false; + } + return node.text === ""; +} +function isJSXTagName(node) { + const { parent } = node; + if (parent.kind === 286 /* JsxOpeningElement */ || parent.kind === 285 /* JsxSelfClosingElement */ || parent.kind === 287 /* JsxClosingElement */) { + return parent.tagName === node; + } + return false; +} +function isExpressionNode(node) { + switch (node.kind) { + case 108 /* SuperKeyword */: + case 106 /* NullKeyword */: + case 112 /* TrueKeyword */: + case 97 /* FalseKeyword */: + case 14 /* RegularExpressionLiteral */: + case 209 /* ArrayLiteralExpression */: + case 210 /* ObjectLiteralExpression */: + case 211 /* PropertyAccessExpression */: + case 212 /* ElementAccessExpression */: + case 213 /* CallExpression */: + case 214 /* NewExpression */: + case 215 /* TaggedTemplateExpression */: + case 234 /* AsExpression */: + case 216 /* TypeAssertionExpression */: + case 238 /* SatisfiesExpression */: + case 235 /* NonNullExpression */: + case 217 /* ParenthesizedExpression */: + case 218 /* FunctionExpression */: + case 231 /* ClassExpression */: + case 219 /* ArrowFunction */: + case 222 /* VoidExpression */: + case 220 /* DeleteExpression */: + case 221 /* TypeOfExpression */: + case 224 /* PrefixUnaryExpression */: + case 225 /* PostfixUnaryExpression */: + case 226 /* BinaryExpression */: + case 227 /* ConditionalExpression */: + case 230 /* SpreadElement */: + case 228 /* TemplateExpression */: + case 232 /* OmittedExpression */: + case 284 /* JsxElement */: + case 285 /* JsxSelfClosingElement */: + case 288 /* JsxFragment */: + case 229 /* YieldExpression */: + case 223 /* AwaitExpression */: + case 236 /* MetaProperty */: + return true; + case 233 /* ExpressionWithTypeArguments */: + return !isHeritageClause(node.parent) && !isJSDocAugmentsTag(node.parent); + case 166 /* QualifiedName */: + while (node.parent.kind === 166 /* QualifiedName */) { + node = node.parent; + } + return node.parent.kind === 186 /* TypeQuery */ || isJSDocLinkLike(node.parent) || isJSDocNameReference(node.parent) || isJSDocMemberName(node.parent) || isJSXTagName(node); + case 311 /* JSDocMemberName */: + while (isJSDocMemberName(node.parent)) { + node = node.parent; + } + return node.parent.kind === 186 /* TypeQuery */ || isJSDocLinkLike(node.parent) || isJSDocNameReference(node.parent) || isJSDocMemberName(node.parent) || isJSXTagName(node); + case 81 /* PrivateIdentifier */: + return isBinaryExpression(node.parent) && node.parent.left === node && node.parent.operatorToken.kind === 103 /* InKeyword */; + case 80 /* Identifier */: + if (node.parent.kind === 186 /* TypeQuery */ || isJSDocLinkLike(node.parent) || isJSDocNameReference(node.parent) || isJSDocMemberName(node.parent) || isJSXTagName(node)) { + return true; + } + // falls through + case 9 /* NumericLiteral */: + case 10 /* BigIntLiteral */: + case 11 /* StringLiteral */: + case 15 /* NoSubstitutionTemplateLiteral */: + case 110 /* ThisKeyword */: + return isInExpressionContext(node); + default: + return false; + } +} +function isInExpressionContext(node) { + const { parent } = node; + switch (parent.kind) { + case 260 /* VariableDeclaration */: + case 169 /* Parameter */: + case 172 /* PropertyDeclaration */: + case 171 /* PropertySignature */: + case 306 /* EnumMember */: + case 303 /* PropertyAssignment */: + case 208 /* BindingElement */: + return parent.initializer === node; + case 244 /* ExpressionStatement */: + case 245 /* IfStatement */: + case 246 /* DoStatement */: + case 247 /* WhileStatement */: + case 253 /* ReturnStatement */: + case 254 /* WithStatement */: + case 255 /* SwitchStatement */: + case 296 /* CaseClause */: + case 257 /* ThrowStatement */: + return parent.expression === node; + case 248 /* ForStatement */: + const forStatement = parent; + return forStatement.initializer === node && forStatement.initializer.kind !== 261 /* VariableDeclarationList */ || forStatement.condition === node || forStatement.incrementor === node; + case 249 /* ForInStatement */: + case 250 /* ForOfStatement */: + const forInOrOfStatement = parent; + return forInOrOfStatement.initializer === node && forInOrOfStatement.initializer.kind !== 261 /* VariableDeclarationList */ || forInOrOfStatement.expression === node; + case 216 /* TypeAssertionExpression */: + case 234 /* AsExpression */: + return node === parent.expression; + case 239 /* TemplateSpan */: + return node === parent.expression; + case 167 /* ComputedPropertyName */: + return node === parent.expression; + case 170 /* Decorator */: + case 294 /* JsxExpression */: + case 293 /* JsxSpreadAttribute */: + case 305 /* SpreadAssignment */: + return true; + case 233 /* ExpressionWithTypeArguments */: + return parent.expression === node && !isPartOfTypeNode(parent); + case 304 /* ShorthandPropertyAssignment */: + return parent.objectAssignmentInitializer === node; + case 238 /* SatisfiesExpression */: + return node === parent.expression; + default: + return isExpressionNode(parent); + } +} +function isPartOfTypeQuery(node) { + while (node.kind === 166 /* QualifiedName */ || node.kind === 80 /* Identifier */) { + node = node.parent; + } + return node.kind === 186 /* TypeQuery */; +} +function isNamespaceReexportDeclaration(node) { + return isNamespaceExport(node) && !!node.parent.moduleSpecifier; +} +function isExternalModuleImportEqualsDeclaration(node) { + return node.kind === 271 /* ImportEqualsDeclaration */ && node.moduleReference.kind === 283 /* ExternalModuleReference */; +} +function getExternalModuleImportEqualsDeclarationExpression(node) { + Debug.assert(isExternalModuleImportEqualsDeclaration(node)); + return node.moduleReference.expression; +} +function getExternalModuleRequireArgument(node) { + return isVariableDeclarationInitializedToBareOrAccessedRequire(node) && getLeftmostAccessExpression(node.initializer).arguments[0]; +} +function isInternalModuleImportEqualsDeclaration(node) { + return node.kind === 271 /* ImportEqualsDeclaration */ && node.moduleReference.kind !== 283 /* ExternalModuleReference */; +} +function isFullSourceFile(sourceFile) { + return (sourceFile == null ? void 0 : sourceFile.kind) === 307 /* SourceFile */; +} +function isSourceFileJS(file) { + return isInJSFile(file); +} +function isInJSFile(node) { + return !!node && !!(node.flags & 524288 /* JavaScriptFile */); +} +function isInJsonFile(node) { + return !!node && !!(node.flags & 134217728 /* JsonFile */); +} +function isSourceFileNotJson(file) { + return !isJsonSourceFile(file); +} +function isInJSDoc(node) { + return !!node && !!(node.flags & 16777216 /* JSDoc */); +} +function isJSDocIndexSignature(node) { + return isTypeReferenceNode(node) && isIdentifier(node.typeName) && node.typeName.escapedText === "Object" && node.typeArguments && node.typeArguments.length === 2 && (node.typeArguments[0].kind === 154 /* StringKeyword */ || node.typeArguments[0].kind === 150 /* NumberKeyword */); +} +function isRequireCall(callExpression, requireStringLiteralLikeArgument) { + if (callExpression.kind !== 213 /* CallExpression */) { + return false; + } + const { expression, arguments: args } = callExpression; + if (expression.kind !== 80 /* Identifier */ || expression.escapedText !== "require") { + return false; + } + if (args.length !== 1) { + return false; + } + const arg = args[0]; + return !requireStringLiteralLikeArgument || isStringLiteralLike(arg); +} +function isVariableDeclarationInitializedToRequire(node) { + return isVariableDeclarationInitializedWithRequireHelper( + node, + /*allowAccessedRequire*/ + false + ); +} +function isVariableDeclarationInitializedToBareOrAccessedRequire(node) { + return isVariableDeclarationInitializedWithRequireHelper( + node, + /*allowAccessedRequire*/ + true + ); +} +function isBindingElementOfBareOrAccessedRequire(node) { + return isBindingElement(node) && isVariableDeclarationInitializedToBareOrAccessedRequire(node.parent.parent); +} +function isVariableDeclarationInitializedWithRequireHelper(node, allowAccessedRequire) { + return isVariableDeclaration(node) && !!node.initializer && isRequireCall( + allowAccessedRequire ? getLeftmostAccessExpression(node.initializer) : node.initializer, + /*requireStringLiteralLikeArgument*/ + true + ); +} +function isRequireVariableStatement(node) { + return isVariableStatement(node) && node.declarationList.declarations.length > 0 && every(node.declarationList.declarations, (decl) => isVariableDeclarationInitializedToRequire(decl)); +} +function isSingleOrDoubleQuote(charCode) { + return charCode === 39 /* singleQuote */ || charCode === 34 /* doubleQuote */; +} +function isStringDoubleQuoted(str, sourceFile) { + return getSourceTextOfNodeFromSourceFile(sourceFile, str).charCodeAt(0) === 34 /* doubleQuote */; +} +function isAssignmentDeclaration(decl) { + return isBinaryExpression(decl) || isAccessExpression(decl) || isIdentifier(decl) || isCallExpression(decl); +} +function getEffectiveInitializer(node) { + if (isInJSFile(node) && node.initializer && isBinaryExpression(node.initializer) && (node.initializer.operatorToken.kind === 57 /* BarBarToken */ || node.initializer.operatorToken.kind === 61 /* QuestionQuestionToken */) && node.name && isEntityNameExpression(node.name) && isSameEntityName(node.name, node.initializer.left)) { + return node.initializer.right; + } + return node.initializer; +} +function getDeclaredExpandoInitializer(node) { + const init = getEffectiveInitializer(node); + return init && getExpandoInitializer(init, isPrototypeAccess(node.name)); +} +function hasExpandoValueProperty(node, isPrototypeAssignment) { + return forEach(node.properties, (p) => isPropertyAssignment(p) && isIdentifier(p.name) && p.name.escapedText === "value" && p.initializer && getExpandoInitializer(p.initializer, isPrototypeAssignment)); +} +function getAssignedExpandoInitializer(node) { + if (node && node.parent && isBinaryExpression(node.parent) && node.parent.operatorToken.kind === 64 /* EqualsToken */) { + const isPrototypeAssignment = isPrototypeAccess(node.parent.left); + return getExpandoInitializer(node.parent.right, isPrototypeAssignment) || getDefaultedExpandoInitializer(node.parent.left, node.parent.right, isPrototypeAssignment); + } + if (node && isCallExpression(node) && isBindableObjectDefinePropertyCall(node)) { + const result = hasExpandoValueProperty(node.arguments[2], node.arguments[1].text === "prototype"); + if (result) { + return result; + } + } +} +function getExpandoInitializer(initializer, isPrototypeAssignment) { + if (isCallExpression(initializer)) { + const e = skipParentheses(initializer.expression); + return e.kind === 218 /* FunctionExpression */ || e.kind === 219 /* ArrowFunction */ ? initializer : void 0; + } + if (initializer.kind === 218 /* FunctionExpression */ || initializer.kind === 231 /* ClassExpression */ || initializer.kind === 219 /* ArrowFunction */) { + return initializer; + } + if (isObjectLiteralExpression(initializer) && (initializer.properties.length === 0 || isPrototypeAssignment)) { + return initializer; + } +} +function getDefaultedExpandoInitializer(name, initializer, isPrototypeAssignment) { + const e = isBinaryExpression(initializer) && (initializer.operatorToken.kind === 57 /* BarBarToken */ || initializer.operatorToken.kind === 61 /* QuestionQuestionToken */) && getExpandoInitializer(initializer.right, isPrototypeAssignment); + if (e && isSameEntityName(name, initializer.left)) { + return e; + } +} +function isDefaultedExpandoInitializer(node) { + const name = isVariableDeclaration(node.parent) ? node.parent.name : isBinaryExpression(node.parent) && node.parent.operatorToken.kind === 64 /* EqualsToken */ ? node.parent.left : void 0; + return name && getExpandoInitializer(node.right, isPrototypeAccess(name)) && isEntityNameExpression(name) && isSameEntityName(name, node.left); +} +function getNameOfExpando(node) { + if (isBinaryExpression(node.parent)) { + const parent = (node.parent.operatorToken.kind === 57 /* BarBarToken */ || node.parent.operatorToken.kind === 61 /* QuestionQuestionToken */) && isBinaryExpression(node.parent.parent) ? node.parent.parent : node.parent; + if (parent.operatorToken.kind === 64 /* EqualsToken */ && isIdentifier(parent.left)) { + return parent.left; + } + } else if (isVariableDeclaration(node.parent)) { + return node.parent.name; + } +} +function isSameEntityName(name, initializer) { + if (isPropertyNameLiteral(name) && isPropertyNameLiteral(initializer)) { + return getTextOfIdentifierOrLiteral(name) === getTextOfIdentifierOrLiteral(initializer); + } + if (isMemberName(name) && isLiteralLikeAccess(initializer) && (initializer.expression.kind === 110 /* ThisKeyword */ || isIdentifier(initializer.expression) && (initializer.expression.escapedText === "window" || initializer.expression.escapedText === "self" || initializer.expression.escapedText === "global"))) { + return isSameEntityName(name, getNameOrArgument(initializer)); + } + if (isLiteralLikeAccess(name) && isLiteralLikeAccess(initializer)) { + return getElementOrPropertyAccessName(name) === getElementOrPropertyAccessName(initializer) && isSameEntityName(name.expression, initializer.expression); + } + return false; +} +function getRightMostAssignedExpression(node) { + while (isAssignmentExpression( + node, + /*excludeCompoundAssignment*/ + true + )) { + node = node.right; + } + return node; +} +function isExportsIdentifier(node) { + return isIdentifier(node) && node.escapedText === "exports"; +} +function isModuleIdentifier(node) { + return isIdentifier(node) && node.escapedText === "module"; +} +function isModuleExportsAccessExpression(node) { + return (isPropertyAccessExpression(node) || isLiteralLikeElementAccess(node)) && isModuleIdentifier(node.expression) && getElementOrPropertyAccessName(node) === "exports"; +} +function getAssignmentDeclarationKind(expr) { + const special = getAssignmentDeclarationKindWorker(expr); + return special === 5 /* Property */ || isInJSFile(expr) ? special : 0 /* None */; +} +function isBindableObjectDefinePropertyCall(expr) { + return length(expr.arguments) === 3 && isPropertyAccessExpression(expr.expression) && isIdentifier(expr.expression.expression) && idText(expr.expression.expression) === "Object" && idText(expr.expression.name) === "defineProperty" && isStringOrNumericLiteralLike(expr.arguments[1]) && isBindableStaticNameExpression( + expr.arguments[0], + /*excludeThisKeyword*/ + true + ); +} +function isLiteralLikeAccess(node) { + return isPropertyAccessExpression(node) || isLiteralLikeElementAccess(node); +} +function isLiteralLikeElementAccess(node) { + return isElementAccessExpression(node) && isStringOrNumericLiteralLike(node.argumentExpression); +} +function isBindableStaticAccessExpression(node, excludeThisKeyword) { + return isPropertyAccessExpression(node) && (!excludeThisKeyword && node.expression.kind === 110 /* ThisKeyword */ || isIdentifier(node.name) && isBindableStaticNameExpression( + node.expression, + /*excludeThisKeyword*/ + true + )) || isBindableStaticElementAccessExpression(node, excludeThisKeyword); +} +function isBindableStaticElementAccessExpression(node, excludeThisKeyword) { + return isLiteralLikeElementAccess(node) && (!excludeThisKeyword && node.expression.kind === 110 /* ThisKeyword */ || isEntityNameExpression(node.expression) || isBindableStaticAccessExpression( + node.expression, + /*excludeThisKeyword*/ + true + )); +} +function isBindableStaticNameExpression(node, excludeThisKeyword) { + return isEntityNameExpression(node) || isBindableStaticAccessExpression(node, excludeThisKeyword); +} +function getNameOrArgument(expr) { + if (isPropertyAccessExpression(expr)) { + return expr.name; + } + return expr.argumentExpression; +} +function getAssignmentDeclarationKindWorker(expr) { + if (isCallExpression(expr)) { + if (!isBindableObjectDefinePropertyCall(expr)) { + return 0 /* None */; + } + const entityName = expr.arguments[0]; + if (isExportsIdentifier(entityName) || isModuleExportsAccessExpression(entityName)) { + return 8 /* ObjectDefinePropertyExports */; + } + if (isBindableStaticAccessExpression(entityName) && getElementOrPropertyAccessName(entityName) === "prototype") { + return 9 /* ObjectDefinePrototypeProperty */; + } + return 7 /* ObjectDefinePropertyValue */; + } + if (expr.operatorToken.kind !== 64 /* EqualsToken */ || !isAccessExpression(expr.left) || isVoidZero(getRightMostAssignedExpression(expr))) { + return 0 /* None */; + } + if (isBindableStaticNameExpression( + expr.left.expression, + /*excludeThisKeyword*/ + true + ) && getElementOrPropertyAccessName(expr.left) === "prototype" && isObjectLiteralExpression(getInitializerOfBinaryExpression(expr))) { + return 6 /* Prototype */; + } + return getAssignmentDeclarationPropertyAccessKind(expr.left); +} +function isVoidZero(node) { + return isVoidExpression(node) && isNumericLiteral(node.expression) && node.expression.text === "0"; +} +function getElementOrPropertyAccessArgumentExpressionOrName(node) { + if (isPropertyAccessExpression(node)) { + return node.name; + } + const arg = skipParentheses(node.argumentExpression); + if (isNumericLiteral(arg) || isStringLiteralLike(arg)) { + return arg; + } + return node; +} +function getElementOrPropertyAccessName(node) { + const name = getElementOrPropertyAccessArgumentExpressionOrName(node); + if (name) { + if (isIdentifier(name)) { + return name.escapedText; + } + if (isStringLiteralLike(name) || isNumericLiteral(name)) { + return escapeLeadingUnderscores(name.text); + } + } + return void 0; +} +function getAssignmentDeclarationPropertyAccessKind(lhs) { + if (lhs.expression.kind === 110 /* ThisKeyword */) { + return 4 /* ThisProperty */; + } else if (isModuleExportsAccessExpression(lhs)) { + return 2 /* ModuleExports */; + } else if (isBindableStaticNameExpression( + lhs.expression, + /*excludeThisKeyword*/ + true + )) { + if (isPrototypeAccess(lhs.expression)) { + return 3 /* PrototypeProperty */; + } + let nextToLast = lhs; + while (!isIdentifier(nextToLast.expression)) { + nextToLast = nextToLast.expression; + } + const id = nextToLast.expression; + if ((id.escapedText === "exports" || id.escapedText === "module" && getElementOrPropertyAccessName(nextToLast) === "exports") && // ExportsProperty does not support binding with computed names + isBindableStaticAccessExpression(lhs)) { + return 1 /* ExportsProperty */; + } + if (isBindableStaticNameExpression( + lhs, + /*excludeThisKeyword*/ + true + ) || isElementAccessExpression(lhs) && isDynamicName(lhs)) { + return 5 /* Property */; + } + } + return 0 /* None */; +} +function getInitializerOfBinaryExpression(expr) { + while (isBinaryExpression(expr.right)) { + expr = expr.right; + } + return expr.right; +} +function isPrototypePropertyAssignment(node) { + return isBinaryExpression(node) && getAssignmentDeclarationKind(node) === 3 /* PrototypeProperty */; +} +function isSpecialPropertyDeclaration(expr) { + return isInJSFile(expr) && expr.parent && expr.parent.kind === 244 /* ExpressionStatement */ && (!isElementAccessExpression(expr) || isLiteralLikeElementAccess(expr)) && !!getJSDocTypeTag(expr.parent); +} +function setValueDeclaration(symbol, node) { + const { valueDeclaration } = symbol; + if (!valueDeclaration || !(node.flags & 33554432 /* Ambient */ && !isInJSFile(node) && !(valueDeclaration.flags & 33554432 /* Ambient */)) && (isAssignmentDeclaration(valueDeclaration) && !isAssignmentDeclaration(node)) || valueDeclaration.kind !== node.kind && isEffectiveModuleDeclaration(valueDeclaration)) { + symbol.valueDeclaration = node; + } +} +function isFunctionSymbol(symbol) { + if (!symbol || !symbol.valueDeclaration) { + return false; + } + const decl = symbol.valueDeclaration; + return decl.kind === 262 /* FunctionDeclaration */ || isVariableDeclaration(decl) && decl.initializer && isFunctionLike(decl.initializer); +} +function canHaveModuleSpecifier(node) { + switch (node == null ? void 0 : node.kind) { + case 260 /* VariableDeclaration */: + case 208 /* BindingElement */: + case 272 /* ImportDeclaration */: + case 278 /* ExportDeclaration */: + case 271 /* ImportEqualsDeclaration */: + case 273 /* ImportClause */: + case 280 /* NamespaceExport */: + case 274 /* NamespaceImport */: + case 281 /* ExportSpecifier */: + case 276 /* ImportSpecifier */: + case 205 /* ImportType */: + return true; + } + return false; +} +function tryGetModuleSpecifierFromDeclaration(node) { + var _a, _b; + switch (node.kind) { + case 260 /* VariableDeclaration */: + case 208 /* BindingElement */: + return (_a = findAncestor(node.initializer, (node2) => isRequireCall( + node2, + /*requireStringLiteralLikeArgument*/ + true + ))) == null ? void 0 : _a.arguments[0]; + case 272 /* ImportDeclaration */: + case 278 /* ExportDeclaration */: + case 351 /* JSDocImportTag */: + return tryCast(node.moduleSpecifier, isStringLiteralLike); + case 271 /* ImportEqualsDeclaration */: + return tryCast((_b = tryCast(node.moduleReference, isExternalModuleReference)) == null ? void 0 : _b.expression, isStringLiteralLike); + case 273 /* ImportClause */: + case 280 /* NamespaceExport */: + return tryCast(node.parent.moduleSpecifier, isStringLiteralLike); + case 274 /* NamespaceImport */: + case 281 /* ExportSpecifier */: + return tryCast(node.parent.parent.moduleSpecifier, isStringLiteralLike); + case 276 /* ImportSpecifier */: + return tryCast(node.parent.parent.parent.moduleSpecifier, isStringLiteralLike); + case 205 /* ImportType */: + return isLiteralImportTypeNode(node) ? node.argument.literal : void 0; + default: + Debug.assertNever(node); + } +} +function shouldRewriteModuleSpecifier(specifier, compilerOptions) { + return !!compilerOptions.rewriteRelativeImportExtensions && pathIsRelative(specifier) && !isDeclarationFileName(specifier) && hasTSFileExtension(specifier); +} +function getExternalModuleName(node) { + switch (node.kind) { + case 272 /* ImportDeclaration */: + case 278 /* ExportDeclaration */: + case 351 /* JSDocImportTag */: + return node.moduleSpecifier; + case 271 /* ImportEqualsDeclaration */: + return node.moduleReference.kind === 283 /* ExternalModuleReference */ ? node.moduleReference.expression : void 0; + case 205 /* ImportType */: + return isLiteralImportTypeNode(node) ? node.argument.literal : void 0; + case 213 /* CallExpression */: + return node.arguments[0]; + case 267 /* ModuleDeclaration */: + return node.name.kind === 11 /* StringLiteral */ ? node.name : void 0; + default: + return Debug.assertNever(node); + } +} +function getNamespaceDeclarationNode(node) { + switch (node.kind) { + case 272 /* ImportDeclaration */: + return node.importClause && tryCast(node.importClause.namedBindings, isNamespaceImport); + case 271 /* ImportEqualsDeclaration */: + return node; + case 278 /* ExportDeclaration */: + return node.exportClause && tryCast(node.exportClause, isNamespaceExport); + default: + return Debug.assertNever(node); + } +} +function isDefaultImport(node) { + return (node.kind === 272 /* ImportDeclaration */ || node.kind === 351 /* JSDocImportTag */) && !!node.importClause && !!node.importClause.name; +} +function hasQuestionToken(node) { + switch (node.kind) { + case 169 /* Parameter */: + case 174 /* MethodDeclaration */: + case 173 /* MethodSignature */: + case 304 /* ShorthandPropertyAssignment */: + case 303 /* PropertyAssignment */: + case 172 /* PropertyDeclaration */: + case 171 /* PropertySignature */: + return node.questionToken !== void 0; + } + return false; +} +function isJSDocConstructSignature(node) { + const param = isJSDocFunctionType(node) ? firstOrUndefined(node.parameters) : void 0; + const name = tryCast(param && param.name, isIdentifier); + return !!name && name.escapedText === "new"; +} +function isJSDocTypeAlias(node) { + return node.kind === 346 /* JSDocTypedefTag */ || node.kind === 338 /* JSDocCallbackTag */ || node.kind === 340 /* JSDocEnumTag */; +} +function isTypeAlias(node) { + return isJSDocTypeAlias(node) || isTypeAliasDeclaration(node); +} +function getSourceOfAssignment(node) { + return isExpressionStatement(node) && isBinaryExpression(node.expression) && node.expression.operatorToken.kind === 64 /* EqualsToken */ ? getRightMostAssignedExpression(node.expression) : void 0; +} +function getSourceOfDefaultedAssignment(node) { + return isExpressionStatement(node) && isBinaryExpression(node.expression) && getAssignmentDeclarationKind(node.expression) !== 0 /* None */ && isBinaryExpression(node.expression.right) && (node.expression.right.operatorToken.kind === 57 /* BarBarToken */ || node.expression.right.operatorToken.kind === 61 /* QuestionQuestionToken */) ? node.expression.right.right : void 0; +} +function getSingleInitializerOfVariableStatementOrPropertyDeclaration(node) { + switch (node.kind) { + case 243 /* VariableStatement */: + const v = getSingleVariableOfVariableStatement(node); + return v && v.initializer; + case 172 /* PropertyDeclaration */: + return node.initializer; + case 303 /* PropertyAssignment */: + return node.initializer; + } +} +function getSingleVariableOfVariableStatement(node) { + return isVariableStatement(node) ? firstOrUndefined(node.declarationList.declarations) : void 0; +} +function getNestedModuleDeclaration(node) { + return isModuleDeclaration(node) && node.body && node.body.kind === 267 /* ModuleDeclaration */ ? node.body : void 0; +} +function canHaveFlowNode(node) { + if (node.kind >= 243 /* FirstStatement */ && node.kind <= 259 /* LastStatement */) { + return true; + } + switch (node.kind) { + case 80 /* Identifier */: + case 110 /* ThisKeyword */: + case 108 /* SuperKeyword */: + case 166 /* QualifiedName */: + case 236 /* MetaProperty */: + case 212 /* ElementAccessExpression */: + case 211 /* PropertyAccessExpression */: + case 208 /* BindingElement */: + case 218 /* FunctionExpression */: + case 219 /* ArrowFunction */: + case 174 /* MethodDeclaration */: + case 177 /* GetAccessor */: + case 178 /* SetAccessor */: + return true; + default: + return false; + } +} +function canHaveJSDoc(node) { + switch (node.kind) { + case 219 /* ArrowFunction */: + case 226 /* BinaryExpression */: + case 241 /* Block */: + case 252 /* BreakStatement */: + case 179 /* CallSignature */: + case 296 /* CaseClause */: + case 263 /* ClassDeclaration */: + case 231 /* ClassExpression */: + case 175 /* ClassStaticBlockDeclaration */: + case 176 /* Constructor */: + case 185 /* ConstructorType */: + case 180 /* ConstructSignature */: + case 251 /* ContinueStatement */: + case 259 /* DebuggerStatement */: + case 246 /* DoStatement */: + case 212 /* ElementAccessExpression */: + case 242 /* EmptyStatement */: + case 1 /* EndOfFileToken */: + case 266 /* EnumDeclaration */: + case 306 /* EnumMember */: + case 277 /* ExportAssignment */: + case 278 /* ExportDeclaration */: + case 281 /* ExportSpecifier */: + case 244 /* ExpressionStatement */: + case 249 /* ForInStatement */: + case 250 /* ForOfStatement */: + case 248 /* ForStatement */: + case 262 /* FunctionDeclaration */: + case 218 /* FunctionExpression */: + case 184 /* FunctionType */: + case 177 /* GetAccessor */: + case 80 /* Identifier */: + case 245 /* IfStatement */: + case 272 /* ImportDeclaration */: + case 271 /* ImportEqualsDeclaration */: + case 181 /* IndexSignature */: + case 264 /* InterfaceDeclaration */: + case 317 /* JSDocFunctionType */: + case 323 /* JSDocSignature */: + case 256 /* LabeledStatement */: + case 174 /* MethodDeclaration */: + case 173 /* MethodSignature */: + case 267 /* ModuleDeclaration */: + case 202 /* NamedTupleMember */: + case 270 /* NamespaceExportDeclaration */: + case 210 /* ObjectLiteralExpression */: + case 169 /* Parameter */: + case 217 /* ParenthesizedExpression */: + case 211 /* PropertyAccessExpression */: + case 303 /* PropertyAssignment */: + case 172 /* PropertyDeclaration */: + case 171 /* PropertySignature */: + case 253 /* ReturnStatement */: + case 240 /* SemicolonClassElement */: + case 178 /* SetAccessor */: + case 304 /* ShorthandPropertyAssignment */: + case 305 /* SpreadAssignment */: + case 255 /* SwitchStatement */: + case 257 /* ThrowStatement */: + case 258 /* TryStatement */: + case 265 /* TypeAliasDeclaration */: + case 168 /* TypeParameter */: + case 260 /* VariableDeclaration */: + case 243 /* VariableStatement */: + case 247 /* WhileStatement */: + case 254 /* WithStatement */: + return true; + default: + return false; + } +} +function getJSDocCommentsAndTags(hostNode, noCache) { + let result; + if (isVariableLike(hostNode) && hasInitializer(hostNode) && hasJSDocNodes(hostNode.initializer)) { + result = addRange(result, filterOwnedJSDocTags(hostNode, hostNode.initializer.jsDoc)); + } + let node = hostNode; + while (node && node.parent) { + if (hasJSDocNodes(node)) { + result = addRange(result, filterOwnedJSDocTags(hostNode, node.jsDoc)); + } + if (node.kind === 169 /* Parameter */) { + result = addRange(result, (noCache ? getJSDocParameterTagsNoCache : getJSDocParameterTags)(node)); + break; + } + if (node.kind === 168 /* TypeParameter */) { + result = addRange(result, (noCache ? getJSDocTypeParameterTagsNoCache : getJSDocTypeParameterTags)(node)); + break; + } + node = getNextJSDocCommentLocation(node); + } + return result || emptyArray; +} +function filterOwnedJSDocTags(hostNode, comments) { + const lastJsDoc = last(comments); + return flatMap(comments, (jsDoc) => { + if (jsDoc === lastJsDoc) { + const ownedTags = filter(jsDoc.tags, (tag) => ownsJSDocTag(hostNode, tag)); + return jsDoc.tags === ownedTags ? [jsDoc] : ownedTags; + } else { + return filter(jsDoc.tags, isJSDocOverloadTag); + } + }); +} +function ownsJSDocTag(hostNode, tag) { + return !(isJSDocTypeTag(tag) || isJSDocSatisfiesTag(tag)) || !tag.parent || !isJSDoc(tag.parent) || !isParenthesizedExpression(tag.parent.parent) || tag.parent.parent === hostNode; +} +function getNextJSDocCommentLocation(node) { + const parent = node.parent; + if (parent.kind === 303 /* PropertyAssignment */ || parent.kind === 277 /* ExportAssignment */ || parent.kind === 172 /* PropertyDeclaration */ || parent.kind === 244 /* ExpressionStatement */ && node.kind === 211 /* PropertyAccessExpression */ || parent.kind === 253 /* ReturnStatement */ || getNestedModuleDeclaration(parent) || isAssignmentExpression(node)) { + return parent; + } else if (parent.parent && (getSingleVariableOfVariableStatement(parent.parent) === node || isAssignmentExpression(parent))) { + return parent.parent; + } else if (parent.parent && parent.parent.parent && (getSingleVariableOfVariableStatement(parent.parent.parent) || getSingleInitializerOfVariableStatementOrPropertyDeclaration(parent.parent.parent) === node || getSourceOfDefaultedAssignment(parent.parent.parent))) { + return parent.parent.parent; + } +} +function getParameterSymbolFromJSDoc(node) { + if (node.symbol) { + return node.symbol; + } + if (!isIdentifier(node.name)) { + return void 0; + } + const name = node.name.escapedText; + const decl = getHostSignatureFromJSDoc(node); + if (!decl) { + return void 0; + } + const parameter = find(decl.parameters, (p) => p.name.kind === 80 /* Identifier */ && p.name.escapedText === name); + return parameter && parameter.symbol; +} +function getEffectiveContainerForJSDocTemplateTag(node) { + if (isJSDoc(node.parent) && node.parent.tags) { + const typeAlias = find(node.parent.tags, isJSDocTypeAlias); + if (typeAlias) { + return typeAlias; + } + } + return getHostSignatureFromJSDoc(node); +} +function getJSDocOverloadTags(node) { + return getAllJSDocTags(node, isJSDocOverloadTag); +} +function getHostSignatureFromJSDoc(node) { + const host = getEffectiveJSDocHost(node); + if (host) { + return isPropertySignature(host) && host.type && isFunctionLike(host.type) ? host.type : isFunctionLike(host) ? host : void 0; + } + return void 0; +} +function getEffectiveJSDocHost(node) { + const host = getJSDocHost(node); + if (host) { + return getSourceOfDefaultedAssignment(host) || getSourceOfAssignment(host) || getSingleInitializerOfVariableStatementOrPropertyDeclaration(host) || getSingleVariableOfVariableStatement(host) || getNestedModuleDeclaration(host) || host; + } +} +function getJSDocHost(node) { + const jsDoc = getJSDocRoot(node); + if (!jsDoc) { + return void 0; + } + const host = jsDoc.parent; + if (host && host.jsDoc && jsDoc === lastOrUndefined(host.jsDoc)) { + return host; + } +} +function getJSDocRoot(node) { + return findAncestor(node.parent, isJSDoc); +} +function getTypeParameterFromJsDoc(node) { + const name = node.name.escapedText; + const { typeParameters } = node.parent.parent.parent; + return typeParameters && find(typeParameters, (p) => p.name.escapedText === name); +} +function getAssignmentTarget(node) { + let parent = node.parent; + while (true) { + switch (parent.kind) { + case 226 /* BinaryExpression */: + const binaryExpression = parent; + const binaryOperator = binaryExpression.operatorToken.kind; + return isAssignmentOperator(binaryOperator) && binaryExpression.left === node ? binaryExpression : void 0; + case 224 /* PrefixUnaryExpression */: + case 225 /* PostfixUnaryExpression */: + const unaryExpression = parent; + const unaryOperator = unaryExpression.operator; + return unaryOperator === 46 /* PlusPlusToken */ || unaryOperator === 47 /* MinusMinusToken */ ? unaryExpression : void 0; + case 249 /* ForInStatement */: + case 250 /* ForOfStatement */: + const forInOrOfStatement = parent; + return forInOrOfStatement.initializer === node ? forInOrOfStatement : void 0; + case 217 /* ParenthesizedExpression */: + case 209 /* ArrayLiteralExpression */: + case 230 /* SpreadElement */: + case 235 /* NonNullExpression */: + node = parent; + break; + case 305 /* SpreadAssignment */: + node = parent.parent; + break; + case 304 /* ShorthandPropertyAssignment */: + if (parent.name !== node) { + return void 0; + } + node = parent.parent; + break; + case 303 /* PropertyAssignment */: + if (parent.name === node) { + return void 0; + } + node = parent.parent; + break; + default: + return void 0; + } + parent = node.parent; + } +} +function getAssignmentTargetKind(node) { + const target = getAssignmentTarget(node); + if (!target) { + return 0 /* None */; + } + switch (target.kind) { + case 226 /* BinaryExpression */: + const binaryOperator = target.operatorToken.kind; + return binaryOperator === 64 /* EqualsToken */ || isLogicalOrCoalescingAssignmentOperator(binaryOperator) ? 1 /* Definite */ : 2 /* Compound */; + case 224 /* PrefixUnaryExpression */: + case 225 /* PostfixUnaryExpression */: + return 2 /* Compound */; + case 249 /* ForInStatement */: + case 250 /* ForOfStatement */: + return 1 /* Definite */; + } +} +function isAssignmentTarget(node) { + return !!getAssignmentTarget(node); +} +function isCompoundLikeAssignment(assignment) { + const right = skipParentheses(assignment.right); + return right.kind === 226 /* BinaryExpression */ && isShiftOperatorOrHigher(right.operatorToken.kind); +} +function isInCompoundLikeAssignment(node) { + const target = getAssignmentTarget(node); + return !!target && isAssignmentExpression( + target, + /*excludeCompoundAssignment*/ + true + ) && isCompoundLikeAssignment(target); +} +function isNodeWithPossibleHoistedDeclaration(node) { + switch (node.kind) { + case 241 /* Block */: + case 243 /* VariableStatement */: + case 254 /* WithStatement */: + case 245 /* IfStatement */: + case 255 /* SwitchStatement */: + case 269 /* CaseBlock */: + case 296 /* CaseClause */: + case 297 /* DefaultClause */: + case 256 /* LabeledStatement */: + case 248 /* ForStatement */: + case 249 /* ForInStatement */: + case 250 /* ForOfStatement */: + case 246 /* DoStatement */: + case 247 /* WhileStatement */: + case 258 /* TryStatement */: + case 299 /* CatchClause */: + return true; + } + return false; +} +function isValueSignatureDeclaration(node) { + return isFunctionExpression(node) || isArrowFunction(node) || isMethodOrAccessor(node) || isFunctionDeclaration(node) || isConstructorDeclaration(node); +} +function walkUp(node, kind) { + while (node && node.kind === kind) { + node = node.parent; + } + return node; +} +function walkUpParenthesizedTypes(node) { + return walkUp(node, 196 /* ParenthesizedType */); +} +function walkUpParenthesizedExpressions(node) { + return walkUp(node, 217 /* ParenthesizedExpression */); +} +function walkUpParenthesizedTypesAndGetParentAndChild(node) { + let child; + while (node && node.kind === 196 /* ParenthesizedType */) { + child = node; + node = node.parent; + } + return [child, node]; +} +function skipTypeParentheses(node) { + while (isParenthesizedTypeNode(node)) node = node.type; + return node; +} +function skipParentheses(node, excludeJSDocTypeAssertions) { + const flags = excludeJSDocTypeAssertions ? 1 /* Parentheses */ | -2147483648 /* ExcludeJSDocTypeAssertion */ : 1 /* Parentheses */; + return skipOuterExpressions(node, flags); +} +function isDeleteTarget(node) { + if (node.kind !== 211 /* PropertyAccessExpression */ && node.kind !== 212 /* ElementAccessExpression */) { + return false; + } + node = walkUpParenthesizedExpressions(node.parent); + return node && node.kind === 220 /* DeleteExpression */; +} +function isNodeDescendantOf(node, ancestor) { + while (node) { + if (node === ancestor) return true; + node = node.parent; + } + return false; +} +function isDeclarationName(name) { + return !isSourceFile(name) && !isBindingPattern(name) && isDeclaration(name.parent) && name.parent.name === name; +} +function isLiteralComputedPropertyDeclarationName(node) { + return isStringOrNumericLiteralLike(node) && node.parent.kind === 167 /* ComputedPropertyName */ && isDeclaration(node.parent.parent); +} +function isIdentifierName(node) { + const parent = node.parent; + switch (parent.kind) { + case 172 /* PropertyDeclaration */: + case 171 /* PropertySignature */: + case 174 /* MethodDeclaration */: + case 173 /* MethodSignature */: + case 177 /* GetAccessor */: + case 178 /* SetAccessor */: + case 306 /* EnumMember */: + case 303 /* PropertyAssignment */: + case 211 /* PropertyAccessExpression */: + return parent.name === node; + case 166 /* QualifiedName */: + return parent.right === node; + case 208 /* BindingElement */: + case 276 /* ImportSpecifier */: + return parent.propertyName === node; + case 281 /* ExportSpecifier */: + case 291 /* JsxAttribute */: + case 285 /* JsxSelfClosingElement */: + case 286 /* JsxOpeningElement */: + case 287 /* JsxClosingElement */: + return true; + } + return false; +} +function getAliasDeclarationFromName(node) { + switch (node.parent.kind) { + case 273 /* ImportClause */: + case 276 /* ImportSpecifier */: + case 274 /* NamespaceImport */: + case 281 /* ExportSpecifier */: + case 277 /* ExportAssignment */: + case 271 /* ImportEqualsDeclaration */: + case 280 /* NamespaceExport */: + return node.parent; + case 166 /* QualifiedName */: + do { + node = node.parent; + } while (node.parent.kind === 166 /* QualifiedName */); + return getAliasDeclarationFromName(node); + } +} +function isAliasableExpression(e) { + return isEntityNameExpression(e) || isClassExpression(e); +} +function exportAssignmentIsAlias(node) { + const e = getExportAssignmentExpression(node); + return isAliasableExpression(e); +} +function getExportAssignmentExpression(node) { + return isExportAssignment(node) ? node.expression : node.right; +} +function getPropertyAssignmentAliasLikeExpression(node) { + return node.kind === 304 /* ShorthandPropertyAssignment */ ? node.name : node.kind === 303 /* PropertyAssignment */ ? node.initializer : node.parent.right; +} +function getEffectiveBaseTypeNode(node) { + const baseType = getClassExtendsHeritageElement(node); + if (baseType && isInJSFile(node)) { + const tag = getJSDocAugmentsTag(node); + if (tag) { + return tag.class; + } + } + return baseType; +} +function getClassExtendsHeritageElement(node) { + const heritageClause = getHeritageClause(node.heritageClauses, 96 /* ExtendsKeyword */); + return heritageClause && heritageClause.types.length > 0 ? heritageClause.types[0] : void 0; +} +function getEffectiveImplementsTypeNodes(node) { + if (isInJSFile(node)) { + return getJSDocImplementsTags(node).map((n) => n.class); + } else { + const heritageClause = getHeritageClause(node.heritageClauses, 119 /* ImplementsKeyword */); + return heritageClause == null ? void 0 : heritageClause.types; + } +} +function getInterfaceBaseTypeNodes(node) { + const heritageClause = getHeritageClause(node.heritageClauses, 96 /* ExtendsKeyword */); + return heritageClause ? heritageClause.types : void 0; +} +function getHeritageClause(clauses, kind) { + if (clauses) { + for (const clause of clauses) { + if (clause.token === kind) { + return clause; + } + } + } + return void 0; +} +function getAncestor(node, kind) { + while (node) { + if (node.kind === kind) { + return node; + } + node = node.parent; + } + return void 0; +} +function isKeyword(token) { + return 83 /* FirstKeyword */ <= token && token <= 165 /* LastKeyword */; +} +function isPunctuation(token) { + return 19 /* FirstPunctuation */ <= token && token <= 79 /* LastPunctuation */; +} +function isKeywordOrPunctuation(token) { + return isKeyword(token) || isPunctuation(token); +} +function isContextualKeyword(token) { + return 128 /* FirstContextualKeyword */ <= token && token <= 165 /* LastContextualKeyword */; +} +function isNonContextualKeyword(token) { + return isKeyword(token) && !isContextualKeyword(token); +} +function isStringANonContextualKeyword(name) { + const token = stringToToken(name); + return token !== void 0 && isNonContextualKeyword(token); +} +function isIdentifierANonContextualKeyword(node) { + const originalKeywordKind = identifierToKeywordKind(node); + return !!originalKeywordKind && !isContextualKeyword(originalKeywordKind); +} +function getFunctionFlags(node) { + if (!node) { + return 4 /* Invalid */; + } + let flags = 0 /* Normal */; + switch (node.kind) { + case 262 /* FunctionDeclaration */: + case 218 /* FunctionExpression */: + case 174 /* MethodDeclaration */: + if (node.asteriskToken) { + flags |= 1 /* Generator */; + } + // falls through + case 219 /* ArrowFunction */: + if (hasSyntacticModifier(node, 1024 /* Async */)) { + flags |= 2 /* Async */; + } + break; + } + if (!node.body) { + flags |= 4 /* Invalid */; + } + return flags; +} +function isAsyncFunction(node) { + switch (node.kind) { + case 262 /* FunctionDeclaration */: + case 218 /* FunctionExpression */: + case 219 /* ArrowFunction */: + case 174 /* MethodDeclaration */: + return node.body !== void 0 && node.asteriskToken === void 0 && hasSyntacticModifier(node, 1024 /* Async */); + } + return false; +} +function isStringOrNumericLiteralLike(node) { + return isStringLiteralLike(node) || isNumericLiteral(node); +} +function isSignedNumericLiteral(node) { + return isPrefixUnaryExpression(node) && (node.operator === 40 /* PlusToken */ || node.operator === 41 /* MinusToken */) && isNumericLiteral(node.operand); +} +function hasDynamicName(declaration) { + const name = getNameOfDeclaration(declaration); + return !!name && isDynamicName(name); +} +function isDynamicName(name) { + if (!(name.kind === 167 /* ComputedPropertyName */ || name.kind === 212 /* ElementAccessExpression */)) { + return false; + } + const expr = isElementAccessExpression(name) ? skipParentheses(name.argumentExpression) : name.expression; + return !isStringOrNumericLiteralLike(expr) && !isSignedNumericLiteral(expr); +} +function getPropertyNameForPropertyNameNode(name) { + switch (name.kind) { + case 80 /* Identifier */: + case 81 /* PrivateIdentifier */: + return name.escapedText; + case 11 /* StringLiteral */: + case 15 /* NoSubstitutionTemplateLiteral */: + case 9 /* NumericLiteral */: + case 10 /* BigIntLiteral */: + return escapeLeadingUnderscores(name.text); + case 167 /* ComputedPropertyName */: + const nameExpression = name.expression; + if (isStringOrNumericLiteralLike(nameExpression)) { + return escapeLeadingUnderscores(nameExpression.text); + } else if (isSignedNumericLiteral(nameExpression)) { + if (nameExpression.operator === 41 /* MinusToken */) { + return tokenToString(nameExpression.operator) + nameExpression.operand.text; + } + return nameExpression.operand.text; + } + return void 0; + case 295 /* JsxNamespacedName */: + return getEscapedTextOfJsxNamespacedName(name); + default: + return Debug.assertNever(name); + } +} +function isPropertyNameLiteral(node) { + switch (node.kind) { + case 80 /* Identifier */: + case 11 /* StringLiteral */: + case 15 /* NoSubstitutionTemplateLiteral */: + case 9 /* NumericLiteral */: + return true; + default: + return false; + } +} +function getTextOfIdentifierOrLiteral(node) { + return isMemberName(node) ? idText(node) : isJsxNamespacedName(node) ? getTextOfJsxNamespacedName(node) : node.text; +} +function getEscapedTextOfIdentifierOrLiteral(node) { + return isMemberName(node) ? node.escapedText : isJsxNamespacedName(node) ? getEscapedTextOfJsxNamespacedName(node) : escapeLeadingUnderscores(node.text); +} +function getSymbolNameForPrivateIdentifier(containingClassSymbol, description) { + return `__#${getSymbolId(containingClassSymbol)}@${description}`; +} +function isKnownSymbol(symbol) { + return startsWith(symbol.escapedName, "__@"); +} +function isProtoSetter(node) { + return isIdentifier(node) ? idText(node) === "__proto__" : isStringLiteral(node) && node.text === "__proto__"; +} +function isAnonymousFunctionDefinition(node, cb) { + node = skipOuterExpressions(node); + switch (node.kind) { + case 231 /* ClassExpression */: + if (classHasDeclaredOrExplicitlyAssignedName(node)) { + return false; + } + break; + case 218 /* FunctionExpression */: + if (node.name) { + return false; + } + break; + case 219 /* ArrowFunction */: + break; + default: + return false; + } + return typeof cb === "function" ? cb(node) : true; +} +function isNamedEvaluationSource(node) { + switch (node.kind) { + case 303 /* PropertyAssignment */: + return !isProtoSetter(node.name); + case 304 /* ShorthandPropertyAssignment */: + return !!node.objectAssignmentInitializer; + case 260 /* VariableDeclaration */: + return isIdentifier(node.name) && !!node.initializer; + case 169 /* Parameter */: + return isIdentifier(node.name) && !!node.initializer && !node.dotDotDotToken; + case 208 /* BindingElement */: + return isIdentifier(node.name) && !!node.initializer && !node.dotDotDotToken; + case 172 /* PropertyDeclaration */: + return !!node.initializer; + case 226 /* BinaryExpression */: + switch (node.operatorToken.kind) { + case 64 /* EqualsToken */: + case 77 /* AmpersandAmpersandEqualsToken */: + case 76 /* BarBarEqualsToken */: + case 78 /* QuestionQuestionEqualsToken */: + return isIdentifier(node.left); + } + break; + case 277 /* ExportAssignment */: + return true; + } + return false; +} +function isNamedEvaluation(node, cb) { + if (!isNamedEvaluationSource(node)) return false; + switch (node.kind) { + case 303 /* PropertyAssignment */: + return isAnonymousFunctionDefinition(node.initializer, cb); + case 304 /* ShorthandPropertyAssignment */: + return isAnonymousFunctionDefinition(node.objectAssignmentInitializer, cb); + case 260 /* VariableDeclaration */: + case 169 /* Parameter */: + case 208 /* BindingElement */: + case 172 /* PropertyDeclaration */: + return isAnonymousFunctionDefinition(node.initializer, cb); + case 226 /* BinaryExpression */: + return isAnonymousFunctionDefinition(node.right, cb); + case 277 /* ExportAssignment */: + return isAnonymousFunctionDefinition(node.expression, cb); + } +} +function isPushOrUnshiftIdentifier(node) { + return node.escapedText === "push" || node.escapedText === "unshift"; +} +function isPartOfParameterDeclaration(node) { + const root = getRootDeclaration(node); + return root.kind === 169 /* Parameter */; +} +function getRootDeclaration(node) { + while (node.kind === 208 /* BindingElement */) { + node = node.parent.parent; + } + return node; +} +function nodeStartsNewLexicalEnvironment(node) { + const kind = node.kind; + return kind === 176 /* Constructor */ || kind === 218 /* FunctionExpression */ || kind === 262 /* FunctionDeclaration */ || kind === 219 /* ArrowFunction */ || kind === 174 /* MethodDeclaration */ || kind === 177 /* GetAccessor */ || kind === 178 /* SetAccessor */ || kind === 267 /* ModuleDeclaration */ || kind === 307 /* SourceFile */; +} +function nodeIsSynthesized(range) { + return positionIsSynthesized(range.pos) || positionIsSynthesized(range.end); +} +function getExpressionAssociativity(expression) { + const operator = getOperator(expression); + const hasArguments = expression.kind === 214 /* NewExpression */ && expression.arguments !== void 0; + return getOperatorAssociativity(expression.kind, operator, hasArguments); +} +function getOperatorAssociativity(kind, operator, hasArguments) { + switch (kind) { + case 214 /* NewExpression */: + return hasArguments ? 0 /* Left */ : 1 /* Right */; + case 224 /* PrefixUnaryExpression */: + case 221 /* TypeOfExpression */: + case 222 /* VoidExpression */: + case 220 /* DeleteExpression */: + case 223 /* AwaitExpression */: + case 227 /* ConditionalExpression */: + case 229 /* YieldExpression */: + return 1 /* Right */; + case 226 /* BinaryExpression */: + switch (operator) { + case 43 /* AsteriskAsteriskToken */: + case 64 /* EqualsToken */: + case 65 /* PlusEqualsToken */: + case 66 /* MinusEqualsToken */: + case 68 /* AsteriskAsteriskEqualsToken */: + case 67 /* AsteriskEqualsToken */: + case 69 /* SlashEqualsToken */: + case 70 /* PercentEqualsToken */: + case 71 /* LessThanLessThanEqualsToken */: + case 72 /* GreaterThanGreaterThanEqualsToken */: + case 73 /* GreaterThanGreaterThanGreaterThanEqualsToken */: + case 74 /* AmpersandEqualsToken */: + case 79 /* CaretEqualsToken */: + case 75 /* BarEqualsToken */: + case 76 /* BarBarEqualsToken */: + case 77 /* AmpersandAmpersandEqualsToken */: + case 78 /* QuestionQuestionEqualsToken */: + return 1 /* Right */; + } + } + return 0 /* Left */; +} +function getExpressionPrecedence(expression) { + const operator = getOperator(expression); + const hasArguments = expression.kind === 214 /* NewExpression */ && expression.arguments !== void 0; + return getOperatorPrecedence(expression.kind, operator, hasArguments); +} +function getOperator(expression) { + if (expression.kind === 226 /* BinaryExpression */) { + return expression.operatorToken.kind; + } else if (expression.kind === 224 /* PrefixUnaryExpression */ || expression.kind === 225 /* PostfixUnaryExpression */) { + return expression.operator; + } else { + return expression.kind; + } +} +function getOperatorPrecedence(nodeKind, operatorKind, hasArguments) { + switch (nodeKind) { + case 356 /* CommaListExpression */: + return 0 /* Comma */; + case 230 /* SpreadElement */: + return 1 /* Spread */; + case 229 /* YieldExpression */: + return 2 /* Yield */; + case 227 /* ConditionalExpression */: + return 4 /* Conditional */; + case 226 /* BinaryExpression */: + switch (operatorKind) { + case 28 /* CommaToken */: + return 0 /* Comma */; + case 64 /* EqualsToken */: + case 65 /* PlusEqualsToken */: + case 66 /* MinusEqualsToken */: + case 68 /* AsteriskAsteriskEqualsToken */: + case 67 /* AsteriskEqualsToken */: + case 69 /* SlashEqualsToken */: + case 70 /* PercentEqualsToken */: + case 71 /* LessThanLessThanEqualsToken */: + case 72 /* GreaterThanGreaterThanEqualsToken */: + case 73 /* GreaterThanGreaterThanGreaterThanEqualsToken */: + case 74 /* AmpersandEqualsToken */: + case 79 /* CaretEqualsToken */: + case 75 /* BarEqualsToken */: + case 76 /* BarBarEqualsToken */: + case 77 /* AmpersandAmpersandEqualsToken */: + case 78 /* QuestionQuestionEqualsToken */: + return 3 /* Assignment */; + default: + return getBinaryOperatorPrecedence(operatorKind); + } + // TODO: Should prefix `++` and `--` be moved to the `Update` precedence? + case 216 /* TypeAssertionExpression */: + case 235 /* NonNullExpression */: + case 224 /* PrefixUnaryExpression */: + case 221 /* TypeOfExpression */: + case 222 /* VoidExpression */: + case 220 /* DeleteExpression */: + case 223 /* AwaitExpression */: + return 16 /* Unary */; + case 225 /* PostfixUnaryExpression */: + return 17 /* Update */; + case 213 /* CallExpression */: + return 18 /* LeftHandSide */; + case 214 /* NewExpression */: + return hasArguments ? 19 /* Member */ : 18 /* LeftHandSide */; + case 215 /* TaggedTemplateExpression */: + case 211 /* PropertyAccessExpression */: + case 212 /* ElementAccessExpression */: + case 236 /* MetaProperty */: + return 19 /* Member */; + case 234 /* AsExpression */: + case 238 /* SatisfiesExpression */: + return 11 /* Relational */; + case 110 /* ThisKeyword */: + case 108 /* SuperKeyword */: + case 80 /* Identifier */: + case 81 /* PrivateIdentifier */: + case 106 /* NullKeyword */: + case 112 /* TrueKeyword */: + case 97 /* FalseKeyword */: + case 9 /* NumericLiteral */: + case 10 /* BigIntLiteral */: + case 11 /* StringLiteral */: + case 209 /* ArrayLiteralExpression */: + case 210 /* ObjectLiteralExpression */: + case 218 /* FunctionExpression */: + case 219 /* ArrowFunction */: + case 231 /* ClassExpression */: + case 14 /* RegularExpressionLiteral */: + case 15 /* NoSubstitutionTemplateLiteral */: + case 228 /* TemplateExpression */: + case 217 /* ParenthesizedExpression */: + case 232 /* OmittedExpression */: + case 284 /* JsxElement */: + case 285 /* JsxSelfClosingElement */: + case 288 /* JsxFragment */: + return 20 /* Primary */; + default: + return -1 /* Invalid */; + } +} +function getBinaryOperatorPrecedence(kind) { + switch (kind) { + case 61 /* QuestionQuestionToken */: + return 4 /* Coalesce */; + case 57 /* BarBarToken */: + return 5 /* LogicalOR */; + case 56 /* AmpersandAmpersandToken */: + return 6 /* LogicalAND */; + case 52 /* BarToken */: + return 7 /* BitwiseOR */; + case 53 /* CaretToken */: + return 8 /* BitwiseXOR */; + case 51 /* AmpersandToken */: + return 9 /* BitwiseAND */; + case 35 /* EqualsEqualsToken */: + case 36 /* ExclamationEqualsToken */: + case 37 /* EqualsEqualsEqualsToken */: + case 38 /* ExclamationEqualsEqualsToken */: + return 10 /* Equality */; + case 30 /* LessThanToken */: + case 32 /* GreaterThanToken */: + case 33 /* LessThanEqualsToken */: + case 34 /* GreaterThanEqualsToken */: + case 104 /* InstanceOfKeyword */: + case 103 /* InKeyword */: + case 130 /* AsKeyword */: + case 152 /* SatisfiesKeyword */: + return 11 /* Relational */; + case 48 /* LessThanLessThanToken */: + case 49 /* GreaterThanGreaterThanToken */: + case 50 /* GreaterThanGreaterThanGreaterThanToken */: + return 12 /* Shift */; + case 40 /* PlusToken */: + case 41 /* MinusToken */: + return 13 /* Additive */; + case 42 /* AsteriskToken */: + case 44 /* SlashToken */: + case 45 /* PercentToken */: + return 14 /* Multiplicative */; + case 43 /* AsteriskAsteriskToken */: + return 15 /* Exponentiation */; + } + return -1; +} +function getSemanticJsxChildren(children) { + return filter(children, (i) => { + switch (i.kind) { + case 294 /* JsxExpression */: + return !!i.expression; + case 12 /* JsxText */: + return !i.containsOnlyTriviaWhiteSpaces; + default: + return true; + } + }); +} +function createDiagnosticCollection() { + let nonFileDiagnostics = []; + const filesWithDiagnostics = []; + const fileDiagnostics = /* @__PURE__ */ new Map(); + let hasReadNonFileDiagnostics = false; + return { + add, + lookup, + getGlobalDiagnostics, + getDiagnostics + }; + function lookup(diagnostic) { + let diagnostics; + if (diagnostic.file) { + diagnostics = fileDiagnostics.get(diagnostic.file.fileName); + } else { + diagnostics = nonFileDiagnostics; + } + if (!diagnostics) { + return void 0; + } + const result = binarySearch(diagnostics, diagnostic, identity, compareDiagnosticsSkipRelatedInformation); + if (result >= 0) { + return diagnostics[result]; + } + if (~result > 0 && diagnosticsEqualityComparer(diagnostic, diagnostics[~result - 1])) { + return diagnostics[~result - 1]; + } + return void 0; + } + function add(diagnostic) { + let diagnostics; + if (diagnostic.file) { + diagnostics = fileDiagnostics.get(diagnostic.file.fileName); + if (!diagnostics) { + diagnostics = []; + fileDiagnostics.set(diagnostic.file.fileName, diagnostics); + insertSorted(filesWithDiagnostics, diagnostic.file.fileName, compareStringsCaseSensitive); + } + } else { + if (hasReadNonFileDiagnostics) { + hasReadNonFileDiagnostics = false; + nonFileDiagnostics = nonFileDiagnostics.slice(); + } + diagnostics = nonFileDiagnostics; + } + insertSorted(diagnostics, diagnostic, compareDiagnosticsSkipRelatedInformation, diagnosticsEqualityComparer); + } + function getGlobalDiagnostics() { + hasReadNonFileDiagnostics = true; + return nonFileDiagnostics; + } + function getDiagnostics(fileName) { + if (fileName) { + return fileDiagnostics.get(fileName) || []; + } + const fileDiags = flatMapToMutable(filesWithDiagnostics, (f) => fileDiagnostics.get(f)); + if (!nonFileDiagnostics.length) { + return fileDiags; + } + fileDiags.unshift(...nonFileDiagnostics); + return fileDiags; + } +} +var templateSubstitutionRegExp = /\$\{/g; +function escapeTemplateSubstitution(str) { + return str.replace(templateSubstitutionRegExp, "\\${"); +} +function containsInvalidEscapeFlag(node) { + return !!((node.templateFlags || 0) & 2048 /* ContainsInvalidEscape */); +} +function hasInvalidEscape(template) { + return template && !!(isNoSubstitutionTemplateLiteral(template) ? containsInvalidEscapeFlag(template) : containsInvalidEscapeFlag(template.head) || some(template.templateSpans, (span) => containsInvalidEscapeFlag(span.literal))); +} +var doubleQuoteEscapedCharsRegExp = /[\\"\u0000-\u001f\u2028\u2029\u0085]/g; +var singleQuoteEscapedCharsRegExp = /[\\'\u0000-\u001f\u2028\u2029\u0085]/g; +var backtickQuoteEscapedCharsRegExp = /\r\n|[\\`\u0000-\u0009\u000b-\u001f\u2028\u2029\u0085]/g; +var escapedCharsMap = new Map(Object.entries({ + " ": "\\t", + "\v": "\\v", + "\f": "\\f", + "\b": "\\b", + "\r": "\\r", + "\n": "\\n", + "\\": "\\\\", + '"': '\\"', + "'": "\\'", + "`": "\\`", + "\u2028": "\\u2028", + // lineSeparator + "\u2029": "\\u2029", + // paragraphSeparator + "\x85": "\\u0085", + // nextLine + "\r\n": "\\r\\n" + // special case for CRLFs in backticks +})); +function encodeUtf16EscapeSequence(charCode) { + const hexCharCode = charCode.toString(16).toUpperCase(); + const paddedHexCode = ("0000" + hexCharCode).slice(-4); + return "\\u" + paddedHexCode; +} +function getReplacement(c, offset, input) { + if (c.charCodeAt(0) === 0 /* nullCharacter */) { + const lookAhead = input.charCodeAt(offset + c.length); + if (lookAhead >= 48 /* _0 */ && lookAhead <= 57 /* _9 */) { + return "\\x00"; + } + return "\\0"; + } + return escapedCharsMap.get(c) || encodeUtf16EscapeSequence(c.charCodeAt(0)); +} +function escapeString(s, quoteChar) { + const escapedCharsRegExp = quoteChar === 96 /* backtick */ ? backtickQuoteEscapedCharsRegExp : quoteChar === 39 /* singleQuote */ ? singleQuoteEscapedCharsRegExp : doubleQuoteEscapedCharsRegExp; + return s.replace(escapedCharsRegExp, getReplacement); +} +var nonAsciiCharacters = /[^\u0000-\u007F]/g; +function escapeNonAsciiString(s, quoteChar) { + s = escapeString(s, quoteChar); + return nonAsciiCharacters.test(s) ? s.replace(nonAsciiCharacters, (c) => encodeUtf16EscapeSequence(c.charCodeAt(0))) : s; +} +var jsxDoubleQuoteEscapedCharsRegExp = /["\u0000-\u001f\u2028\u2029\u0085]/g; +var jsxSingleQuoteEscapedCharsRegExp = /['\u0000-\u001f\u2028\u2029\u0085]/g; +var jsxEscapedCharsMap = new Map(Object.entries({ + '"': """, + "'": "'" +})); +function encodeJsxCharacterEntity(charCode) { + const hexCharCode = charCode.toString(16).toUpperCase(); + return "&#x" + hexCharCode + ";"; +} +function getJsxAttributeStringReplacement(c) { + if (c.charCodeAt(0) === 0 /* nullCharacter */) { + return "�"; + } + return jsxEscapedCharsMap.get(c) || encodeJsxCharacterEntity(c.charCodeAt(0)); +} +function escapeJsxAttributeString(s, quoteChar) { + const escapedCharsRegExp = quoteChar === 39 /* singleQuote */ ? jsxSingleQuoteEscapedCharsRegExp : jsxDoubleQuoteEscapedCharsRegExp; + return s.replace(escapedCharsRegExp, getJsxAttributeStringReplacement); +} +function stripQuotes(name) { + const length2 = name.length; + if (length2 >= 2 && name.charCodeAt(0) === name.charCodeAt(length2 - 1) && isQuoteOrBacktick(name.charCodeAt(0))) { + return name.substring(1, length2 - 1); + } + return name; +} +function isQuoteOrBacktick(charCode) { + return charCode === 39 /* singleQuote */ || charCode === 34 /* doubleQuote */ || charCode === 96 /* backtick */; +} +function isIntrinsicJsxName(name) { + const ch = name.charCodeAt(0); + return ch >= 97 /* a */ && ch <= 122 /* z */ || name.includes("-"); +} +var indentStrings = ["", " "]; +function getIndentString(level) { + const singleLevel = indentStrings[1]; + for (let current = indentStrings.length; current <= level; current++) { + indentStrings.push(indentStrings[current - 1] + singleLevel); + } + return indentStrings[level]; +} +function getIndentSize() { + return indentStrings[1].length; +} +function createTextWriter(newLine) { + var output; + var indent2; + var lineStart; + var lineCount; + var linePos; + var hasTrailingComment = false; + function updateLineCountAndPosFor(s) { + const lineStartsOfS = computeLineStarts(s); + if (lineStartsOfS.length > 1) { + lineCount = lineCount + lineStartsOfS.length - 1; + linePos = output.length - s.length + last(lineStartsOfS); + lineStart = linePos - output.length === 0; + } else { + lineStart = false; + } + } + function writeText(s) { + if (s && s.length) { + if (lineStart) { + s = getIndentString(indent2) + s; + lineStart = false; + } + output += s; + updateLineCountAndPosFor(s); + } + } + function write(s) { + if (s) hasTrailingComment = false; + writeText(s); + } + function writeComment(s) { + if (s) hasTrailingComment = true; + writeText(s); + } + function reset() { + output = ""; + indent2 = 0; + lineStart = true; + lineCount = 0; + linePos = 0; + hasTrailingComment = false; + } + function rawWrite(s) { + if (s !== void 0) { + output += s; + updateLineCountAndPosFor(s); + hasTrailingComment = false; + } + } + function writeLiteral(s) { + if (s && s.length) { + write(s); + } + } + function writeLine(force) { + if (!lineStart || force) { + output += newLine; + lineCount++; + linePos = output.length; + lineStart = true; + hasTrailingComment = false; + } + } + reset(); + return { + write, + rawWrite, + writeLiteral, + writeLine, + increaseIndent: () => { + indent2++; + }, + decreaseIndent: () => { + indent2--; + }, + getIndent: () => indent2, + getTextPos: () => output.length, + getLine: () => lineCount, + getColumn: () => lineStart ? indent2 * getIndentSize() : output.length - linePos, + getText: () => output, + isAtStartOfLine: () => lineStart, + hasTrailingComment: () => hasTrailingComment, + hasTrailingWhitespace: () => !!output.length && isWhiteSpaceLike(output.charCodeAt(output.length - 1)), + clear: reset, + writeKeyword: write, + writeOperator: write, + writeParameter: write, + writeProperty: write, + writePunctuation: write, + writeSpace: write, + writeStringLiteral: write, + writeSymbol: (s, _) => write(s), + writeTrailingSemicolon: write, + writeComment + }; +} +function getTrailingSemicolonDeferringWriter(writer) { + let pendingTrailingSemicolon = false; + function commitPendingTrailingSemicolon() { + if (pendingTrailingSemicolon) { + writer.writeTrailingSemicolon(";"); + pendingTrailingSemicolon = false; + } + } + return { + ...writer, + writeTrailingSemicolon() { + pendingTrailingSemicolon = true; + }, + writeLiteral(s) { + commitPendingTrailingSemicolon(); + writer.writeLiteral(s); + }, + writeStringLiteral(s) { + commitPendingTrailingSemicolon(); + writer.writeStringLiteral(s); + }, + writeSymbol(s, sym) { + commitPendingTrailingSemicolon(); + writer.writeSymbol(s, sym); + }, + writePunctuation(s) { + commitPendingTrailingSemicolon(); + writer.writePunctuation(s); + }, + writeKeyword(s) { + commitPendingTrailingSemicolon(); + writer.writeKeyword(s); + }, + writeOperator(s) { + commitPendingTrailingSemicolon(); + writer.writeOperator(s); + }, + writeParameter(s) { + commitPendingTrailingSemicolon(); + writer.writeParameter(s); + }, + writeSpace(s) { + commitPendingTrailingSemicolon(); + writer.writeSpace(s); + }, + writeProperty(s) { + commitPendingTrailingSemicolon(); + writer.writeProperty(s); + }, + writeComment(s) { + commitPendingTrailingSemicolon(); + writer.writeComment(s); + }, + writeLine() { + commitPendingTrailingSemicolon(); + writer.writeLine(); + }, + increaseIndent() { + commitPendingTrailingSemicolon(); + writer.increaseIndent(); + }, + decreaseIndent() { + commitPendingTrailingSemicolon(); + writer.decreaseIndent(); + } + }; +} +function hostUsesCaseSensitiveFileNames(host) { + return host.useCaseSensitiveFileNames ? host.useCaseSensitiveFileNames() : false; +} +function hostGetCanonicalFileName(host) { + return createGetCanonicalFileName(hostUsesCaseSensitiveFileNames(host)); +} +function getResolvedExternalModuleName(host, file, referenceFile) { + return file.moduleName || getExternalModuleNameFromPath(host, file.fileName, referenceFile && referenceFile.fileName); +} +function getCanonicalAbsolutePath(host, path) { + return host.getCanonicalFileName(getNormalizedAbsolutePath(path, host.getCurrentDirectory())); +} +function getExternalModuleNameFromDeclaration(host, resolver, declaration) { + const file = resolver.getExternalModuleFileFromDeclaration(declaration); + if (!file || file.isDeclarationFile) { + return void 0; + } + const specifier = getExternalModuleName(declaration); + if (specifier && isStringLiteralLike(specifier) && !pathIsRelative(specifier.text) && !getCanonicalAbsolutePath(host, file.path).includes(getCanonicalAbsolutePath(host, ensureTrailingDirectorySeparator(host.getCommonSourceDirectory())))) { + return void 0; + } + return getResolvedExternalModuleName(host, file); +} +function getExternalModuleNameFromPath(host, fileName, referencePath) { + const getCanonicalFileName = (f) => host.getCanonicalFileName(f); + const dir = toPath(referencePath ? getDirectoryPath(referencePath) : host.getCommonSourceDirectory(), host.getCurrentDirectory(), getCanonicalFileName); + const filePath = getNormalizedAbsolutePath(fileName, host.getCurrentDirectory()); + const relativePath = getRelativePathToDirectoryOrUrl( + dir, + filePath, + dir, + getCanonicalFileName, + /*isAbsolutePathAnUrl*/ + false + ); + const extensionless = removeFileExtension(relativePath); + return referencePath ? ensurePathIsNonModuleName(extensionless) : extensionless; +} +function getOwnEmitOutputFilePath(fileName, host, extension) { + const compilerOptions = host.getCompilerOptions(); + let emitOutputFilePathWithoutExtension; + if (compilerOptions.outDir) { + emitOutputFilePathWithoutExtension = removeFileExtension(getSourceFilePathInNewDir(fileName, host, compilerOptions.outDir)); + } else { + emitOutputFilePathWithoutExtension = removeFileExtension(fileName); + } + return emitOutputFilePathWithoutExtension + extension; +} +function getDeclarationEmitOutputFilePath(fileName, host) { + return getDeclarationEmitOutputFilePathWorker(fileName, host.getCompilerOptions(), host); +} +function getDeclarationEmitOutputFilePathWorker(fileName, options, host) { + const outputDir = options.declarationDir || options.outDir; + const path = outputDir ? getSourceFilePathInNewDirWorker(fileName, outputDir, host.getCurrentDirectory(), host.getCommonSourceDirectory(), (f) => host.getCanonicalFileName(f)) : fileName; + const declarationExtension = getDeclarationEmitExtensionForPath(path); + return removeFileExtension(path) + declarationExtension; +} +function getDeclarationEmitExtensionForPath(path) { + return fileExtensionIsOneOf(path, [".mjs" /* Mjs */, ".mts" /* Mts */]) ? ".d.mts" /* Dmts */ : fileExtensionIsOneOf(path, [".cjs" /* Cjs */, ".cts" /* Cts */]) ? ".d.cts" /* Dcts */ : fileExtensionIsOneOf(path, [".json" /* Json */]) ? `.d.json.ts` : ( + // Drive-by redefinition of json declaration file output name so if it's ever enabled, it behaves well + ".d.ts" /* Dts */ + ); +} +function getPossibleOriginalInputExtensionForExtension(path) { + return fileExtensionIsOneOf(path, [".d.mts" /* Dmts */, ".mjs" /* Mjs */, ".mts" /* Mts */]) ? [".mts" /* Mts */, ".mjs" /* Mjs */] : fileExtensionIsOneOf(path, [".d.cts" /* Dcts */, ".cjs" /* Cjs */, ".cts" /* Cts */]) ? [".cts" /* Cts */, ".cjs" /* Cjs */] : fileExtensionIsOneOf(path, [`.d.json.ts`]) ? [".json" /* Json */] : [".tsx" /* Tsx */, ".ts" /* Ts */, ".jsx" /* Jsx */, ".js" /* Js */]; +} +function getPathsBasePath(options, host) { + var _a; + if (!options.paths) return void 0; + return options.baseUrl ?? Debug.checkDefined(options.pathsBasePath || ((_a = host.getCurrentDirectory) == null ? void 0 : _a.call(host)), "Encountered 'paths' without a 'baseUrl', config file, or host 'getCurrentDirectory'."); +} +function getSourceFilesToEmit(host, targetSourceFile, forceDtsEmit) { + const options = host.getCompilerOptions(); + if (options.outFile) { + const moduleKind = getEmitModuleKind(options); + const moduleEmitEnabled = options.emitDeclarationOnly || moduleKind === 2 /* AMD */ || moduleKind === 4 /* System */; + return filter( + host.getSourceFiles(), + (sourceFile) => (moduleEmitEnabled || !isExternalModule(sourceFile)) && sourceFileMayBeEmitted(sourceFile, host, forceDtsEmit) + ); + } else { + const sourceFiles = targetSourceFile === void 0 ? host.getSourceFiles() : [targetSourceFile]; + return filter( + sourceFiles, + (sourceFile) => sourceFileMayBeEmitted(sourceFile, host, forceDtsEmit) + ); + } +} +function sourceFileMayBeEmitted(sourceFile, host, forceDtsEmit) { + const options = host.getCompilerOptions(); + if (options.noEmitForJsFiles && isSourceFileJS(sourceFile)) return false; + if (sourceFile.isDeclarationFile) return false; + if (host.isSourceFileFromExternalLibrary(sourceFile)) return false; + if (forceDtsEmit) return true; + if (host.isSourceOfProjectReferenceRedirect(sourceFile.fileName)) return false; + if (!isJsonSourceFile(sourceFile)) return true; + if (host.getResolvedProjectReferenceToRedirect(sourceFile.fileName)) return false; + if (options.outFile) return true; + if (!options.outDir) return false; + if (options.rootDir || options.composite && options.configFilePath) { + const commonDir = getNormalizedAbsolutePath(getCommonSourceDirectory(options, () => [], host.getCurrentDirectory(), host.getCanonicalFileName), host.getCurrentDirectory()); + const outputPath = getSourceFilePathInNewDirWorker(sourceFile.fileName, options.outDir, host.getCurrentDirectory(), commonDir, host.getCanonicalFileName); + if (comparePaths(sourceFile.fileName, outputPath, host.getCurrentDirectory(), !host.useCaseSensitiveFileNames()) === 0 /* EqualTo */) return false; + } + return true; +} +function getSourceFilePathInNewDir(fileName, host, newDirPath) { + return getSourceFilePathInNewDirWorker(fileName, newDirPath, host.getCurrentDirectory(), host.getCommonSourceDirectory(), (f) => host.getCanonicalFileName(f)); +} +function getSourceFilePathInNewDirWorker(fileName, newDirPath, currentDirectory, commonSourceDirectory, getCanonicalFileName) { + let sourceFilePath = getNormalizedAbsolutePath(fileName, currentDirectory); + const isSourceFileInCommonSourceDirectory = getCanonicalFileName(sourceFilePath).indexOf(getCanonicalFileName(commonSourceDirectory)) === 0; + sourceFilePath = isSourceFileInCommonSourceDirectory ? sourceFilePath.substring(commonSourceDirectory.length) : sourceFilePath; + return combinePaths(newDirPath, sourceFilePath); +} +function writeFile(host, diagnostics, fileName, text, writeByteOrderMark, sourceFiles, data) { + host.writeFile( + fileName, + text, + writeByteOrderMark, + (hostErrorMessage) => { + diagnostics.add(createCompilerDiagnostic(Diagnostics.Could_not_write_file_0_Colon_1, fileName, hostErrorMessage)); + }, + sourceFiles, + data + ); +} +function ensureDirectoriesExist(directoryPath, createDirectory, directoryExists) { + if (directoryPath.length > getRootLength(directoryPath) && !directoryExists(directoryPath)) { + const parentDirectory = getDirectoryPath(directoryPath); + ensureDirectoriesExist(parentDirectory, createDirectory, directoryExists); + createDirectory(directoryPath); + } +} +function writeFileEnsuringDirectories(path, data, writeByteOrderMark, writeFile2, createDirectory, directoryExists) { + try { + writeFile2(path, data, writeByteOrderMark); + } catch { + ensureDirectoriesExist(getDirectoryPath(normalizePath(path)), createDirectory, directoryExists); + writeFile2(path, data, writeByteOrderMark); + } +} +function getLineOfLocalPositionFromLineMap(lineMap, pos) { + return computeLineOfPosition(lineMap, pos); +} +function getFirstConstructorWithBody(node) { + return find(node.members, (member) => isConstructorDeclaration(member) && nodeIsPresent(member.body)); +} +function getSetAccessorValueParameter(accessor) { + if (accessor && accessor.parameters.length > 0) { + const hasThis = accessor.parameters.length === 2 && parameterIsThisKeyword(accessor.parameters[0]); + return accessor.parameters[hasThis ? 1 : 0]; + } +} +function getSetAccessorTypeAnnotationNode(accessor) { + const parameter = getSetAccessorValueParameter(accessor); + return parameter && parameter.type; +} +function getThisParameter(signature) { + if (signature.parameters.length && !isJSDocSignature(signature)) { + const thisParameter = signature.parameters[0]; + if (parameterIsThisKeyword(thisParameter)) { + return thisParameter; + } + } +} +function parameterIsThisKeyword(parameter) { + return isThisIdentifier(parameter.name); +} +function isThisIdentifier(node) { + return !!node && node.kind === 80 /* Identifier */ && identifierIsThisKeyword(node); +} +function isInTypeQuery(node) { + return !!findAncestor( + node, + (n) => n.kind === 186 /* TypeQuery */ ? true : n.kind === 80 /* Identifier */ || n.kind === 166 /* QualifiedName */ ? false : "quit" + ); +} +function isThisInTypeQuery(node) { + if (!isThisIdentifier(node)) { + return false; + } + while (isQualifiedName(node.parent) && node.parent.left === node) { + node = node.parent; + } + return node.parent.kind === 186 /* TypeQuery */; +} +function identifierIsThisKeyword(id) { + return id.escapedText === "this"; +} +function getAllAccessorDeclarations(declarations, accessor) { + let firstAccessor; + let secondAccessor; + let getAccessor; + let setAccessor; + if (hasDynamicName(accessor)) { + firstAccessor = accessor; + if (accessor.kind === 177 /* GetAccessor */) { + getAccessor = accessor; + } else if (accessor.kind === 178 /* SetAccessor */) { + setAccessor = accessor; + } else { + Debug.fail("Accessor has wrong kind"); + } + } else { + forEach(declarations, (member) => { + if (isAccessor(member) && isStatic(member) === isStatic(accessor)) { + const memberName = getPropertyNameForPropertyNameNode(member.name); + const accessorName = getPropertyNameForPropertyNameNode(accessor.name); + if (memberName === accessorName) { + if (!firstAccessor) { + firstAccessor = member; + } else if (!secondAccessor) { + secondAccessor = member; + } + if (member.kind === 177 /* GetAccessor */ && !getAccessor) { + getAccessor = member; + } + if (member.kind === 178 /* SetAccessor */ && !setAccessor) { + setAccessor = member; + } + } + } + }); + } + return { + firstAccessor, + secondAccessor, + getAccessor, + setAccessor + }; +} +function getEffectiveTypeAnnotationNode(node) { + if (!isInJSFile(node) && isFunctionDeclaration(node)) return void 0; + if (isTypeAliasDeclaration(node)) return void 0; + const type = node.type; + if (type || !isInJSFile(node)) return type; + return isJSDocPropertyLikeTag(node) ? node.typeExpression && node.typeExpression.type : getJSDocType(node); +} +function getEffectiveReturnTypeNode(node) { + return isJSDocSignature(node) ? node.type && node.type.typeExpression && node.type.typeExpression.type : node.type || (isInJSFile(node) ? getJSDocReturnType(node) : void 0); +} +function getJSDocTypeParameterDeclarations(node) { + return flatMap(getJSDocTags(node), (tag) => isNonTypeAliasTemplate(tag) ? tag.typeParameters : void 0); +} +function isNonTypeAliasTemplate(tag) { + return isJSDocTemplateTag(tag) && !(tag.parent.kind === 320 /* JSDoc */ && (tag.parent.tags.some(isJSDocTypeAlias) || tag.parent.tags.some(isJSDocOverloadTag))); +} +function getEffectiveSetAccessorTypeAnnotationNode(node) { + const parameter = getSetAccessorValueParameter(node); + return parameter && getEffectiveTypeAnnotationNode(parameter); +} +function emitNewLineBeforeLeadingComments(lineMap, writer, node, leadingComments) { + emitNewLineBeforeLeadingCommentsOfPosition(lineMap, writer, node.pos, leadingComments); +} +function emitNewLineBeforeLeadingCommentsOfPosition(lineMap, writer, pos, leadingComments) { + if (leadingComments && leadingComments.length && pos !== leadingComments[0].pos && getLineOfLocalPositionFromLineMap(lineMap, pos) !== getLineOfLocalPositionFromLineMap(lineMap, leadingComments[0].pos)) { + writer.writeLine(); + } +} +function emitNewLineBeforeLeadingCommentOfPosition(lineMap, writer, pos, commentPos) { + if (pos !== commentPos && getLineOfLocalPositionFromLineMap(lineMap, pos) !== getLineOfLocalPositionFromLineMap(lineMap, commentPos)) { + writer.writeLine(); + } +} +function emitComments(text, lineMap, writer, comments, leadingSeparator, trailingSeparator, newLine, writeComment) { + if (comments && comments.length > 0) { + if (leadingSeparator) { + writer.writeSpace(" "); + } + let emitInterveningSeparator = false; + for (const comment of comments) { + if (emitInterveningSeparator) { + writer.writeSpace(" "); + emitInterveningSeparator = false; + } + writeComment(text, lineMap, writer, comment.pos, comment.end, newLine); + if (comment.hasTrailingNewLine) { + writer.writeLine(); + } else { + emitInterveningSeparator = true; + } + } + if (emitInterveningSeparator && trailingSeparator) { + writer.writeSpace(" "); + } + } +} +function emitDetachedComments(text, lineMap, writer, writeComment, node, newLine, removeComments) { + let leadingComments; + let currentDetachedCommentInfo; + if (removeComments) { + if (node.pos === 0) { + leadingComments = filter(getLeadingCommentRanges(text, node.pos), isPinnedCommentLocal); + } + } else { + leadingComments = getLeadingCommentRanges(text, node.pos); + } + if (leadingComments) { + const detachedComments = []; + let lastComment; + for (const comment of leadingComments) { + if (lastComment) { + const lastCommentLine = getLineOfLocalPositionFromLineMap(lineMap, lastComment.end); + const commentLine = getLineOfLocalPositionFromLineMap(lineMap, comment.pos); + if (commentLine >= lastCommentLine + 2) { + break; + } + } + detachedComments.push(comment); + lastComment = comment; + } + if (detachedComments.length) { + const lastCommentLine = getLineOfLocalPositionFromLineMap(lineMap, last(detachedComments).end); + const nodeLine = getLineOfLocalPositionFromLineMap(lineMap, skipTrivia(text, node.pos)); + if (nodeLine >= lastCommentLine + 2) { + emitNewLineBeforeLeadingComments(lineMap, writer, node, leadingComments); + emitComments( + text, + lineMap, + writer, + detachedComments, + /*leadingSeparator*/ + false, + /*trailingSeparator*/ + true, + newLine, + writeComment + ); + currentDetachedCommentInfo = { nodePos: node.pos, detachedCommentEndPos: last(detachedComments).end }; + } + } + } + return currentDetachedCommentInfo; + function isPinnedCommentLocal(comment) { + return isPinnedComment(text, comment.pos); + } +} +function writeCommentRange(text, lineMap, writer, commentPos, commentEnd, newLine) { + if (text.charCodeAt(commentPos + 1) === 42 /* asterisk */) { + const firstCommentLineAndCharacter = computeLineAndCharacterOfPosition(lineMap, commentPos); + const lineCount = lineMap.length; + let firstCommentLineIndent; + for (let pos = commentPos, currentLine = firstCommentLineAndCharacter.line; pos < commentEnd; currentLine++) { + const nextLineStart = currentLine + 1 === lineCount ? text.length + 1 : lineMap[currentLine + 1]; + if (pos !== commentPos) { + if (firstCommentLineIndent === void 0) { + firstCommentLineIndent = calculateIndent(text, lineMap[firstCommentLineAndCharacter.line], commentPos); + } + const currentWriterIndentSpacing = writer.getIndent() * getIndentSize(); + const spacesToEmit = currentWriterIndentSpacing - firstCommentLineIndent + calculateIndent(text, pos, nextLineStart); + if (spacesToEmit > 0) { + let numberOfSingleSpacesToEmit = spacesToEmit % getIndentSize(); + const indentSizeSpaceString = getIndentString((spacesToEmit - numberOfSingleSpacesToEmit) / getIndentSize()); + writer.rawWrite(indentSizeSpaceString); + while (numberOfSingleSpacesToEmit) { + writer.rawWrite(" "); + numberOfSingleSpacesToEmit--; + } + } else { + writer.rawWrite(""); + } + } + writeTrimmedCurrentLine(text, commentEnd, writer, newLine, pos, nextLineStart); + pos = nextLineStart; + } + } else { + writer.writeComment(text.substring(commentPos, commentEnd)); + } +} +function writeTrimmedCurrentLine(text, commentEnd, writer, newLine, pos, nextLineStart) { + const end = Math.min(commentEnd, nextLineStart - 1); + const currentLineText = text.substring(pos, end).trim(); + if (currentLineText) { + writer.writeComment(currentLineText); + if (end !== commentEnd) { + writer.writeLine(); + } + } else { + writer.rawWrite(newLine); + } +} +function calculateIndent(text, pos, end) { + let currentLineIndent = 0; + for (; pos < end && isWhiteSpaceSingleLine(text.charCodeAt(pos)); pos++) { + if (text.charCodeAt(pos) === 9 /* tab */) { + currentLineIndent += getIndentSize() - currentLineIndent % getIndentSize(); + } else { + currentLineIndent++; + } + } + return currentLineIndent; +} +function hasEffectiveModifiers(node) { + return getEffectiveModifierFlags(node) !== 0 /* None */; +} +function hasSyntacticModifiers(node) { + return getSyntacticModifierFlags(node) !== 0 /* None */; +} +function hasEffectiveModifier(node, flags) { + return !!getSelectedEffectiveModifierFlags(node, flags); +} +function hasSyntacticModifier(node, flags) { + return !!getSelectedSyntacticModifierFlags(node, flags); +} +function isStatic(node) { + return isClassElement(node) && hasStaticModifier(node) || isClassStaticBlockDeclaration(node); +} +function hasStaticModifier(node) { + return hasSyntacticModifier(node, 256 /* Static */); +} +function hasOverrideModifier(node) { + return hasEffectiveModifier(node, 16 /* Override */); +} +function hasAbstractModifier(node) { + return hasSyntacticModifier(node, 64 /* Abstract */); +} +function hasAmbientModifier(node) { + return hasSyntacticModifier(node, 128 /* Ambient */); +} +function hasAccessorModifier(node) { + return hasSyntacticModifier(node, 512 /* Accessor */); +} +function hasEffectiveReadonlyModifier(node) { + return hasEffectiveModifier(node, 8 /* Readonly */); +} +function hasDecorators(node) { + return hasSyntacticModifier(node, 32768 /* Decorator */); +} +function getSelectedEffectiveModifierFlags(node, flags) { + return getEffectiveModifierFlags(node) & flags; +} +function getSelectedSyntacticModifierFlags(node, flags) { + return getSyntacticModifierFlags(node) & flags; +} +function getModifierFlagsWorker(node, includeJSDoc, alwaysIncludeJSDoc) { + if (node.kind >= 0 /* FirstToken */ && node.kind <= 165 /* LastToken */) { + return 0 /* None */; + } + if (!(node.modifierFlagsCache & 536870912 /* HasComputedFlags */)) { + node.modifierFlagsCache = getSyntacticModifierFlagsNoCache(node) | 536870912 /* HasComputedFlags */; + } + if (alwaysIncludeJSDoc || includeJSDoc && isInJSFile(node)) { + if (!(node.modifierFlagsCache & 268435456 /* HasComputedJSDocModifiers */) && node.parent) { + node.modifierFlagsCache |= getRawJSDocModifierFlagsNoCache(node) | 268435456 /* HasComputedJSDocModifiers */; + } + return selectEffectiveModifierFlags(node.modifierFlagsCache); + } + return selectSyntacticModifierFlags(node.modifierFlagsCache); +} +function getEffectiveModifierFlags(node) { + return getModifierFlagsWorker( + node, + /*includeJSDoc*/ + true + ); +} +function getSyntacticModifierFlags(node) { + return getModifierFlagsWorker( + node, + /*includeJSDoc*/ + false + ); +} +function getRawJSDocModifierFlagsNoCache(node) { + let flags = 0 /* None */; + if (!!node.parent && !isParameter(node)) { + if (isInJSFile(node)) { + if (getJSDocPublicTagNoCache(node)) flags |= 8388608 /* JSDocPublic */; + if (getJSDocPrivateTagNoCache(node)) flags |= 16777216 /* JSDocPrivate */; + if (getJSDocProtectedTagNoCache(node)) flags |= 33554432 /* JSDocProtected */; + if (getJSDocReadonlyTagNoCache(node)) flags |= 67108864 /* JSDocReadonly */; + if (getJSDocOverrideTagNoCache(node)) flags |= 134217728 /* JSDocOverride */; + } + if (getJSDocDeprecatedTagNoCache(node)) flags |= 65536 /* Deprecated */; + } + return flags; +} +function selectSyntacticModifierFlags(flags) { + return flags & 65535 /* SyntacticModifiers */; +} +function selectEffectiveModifierFlags(flags) { + return flags & 131071 /* NonCacheOnlyModifiers */ | (flags & 260046848 /* JSDocCacheOnlyModifiers */) >>> 23; +} +function getJSDocModifierFlagsNoCache(node) { + return selectEffectiveModifierFlags(getRawJSDocModifierFlagsNoCache(node)); +} +function getEffectiveModifierFlagsNoCache(node) { + return getSyntacticModifierFlagsNoCache(node) | getJSDocModifierFlagsNoCache(node); +} +function getSyntacticModifierFlagsNoCache(node) { + let flags = canHaveModifiers(node) ? modifiersToFlags(node.modifiers) : 0 /* None */; + if (node.flags & 8 /* NestedNamespace */ || node.kind === 80 /* Identifier */ && node.flags & 4096 /* IdentifierIsInJSDocNamespace */) { + flags |= 32 /* Export */; + } + return flags; +} +function modifiersToFlags(modifiers) { + let flags = 0 /* None */; + if (modifiers) { + for (const modifier of modifiers) { + flags |= modifierToFlag(modifier.kind); + } + } + return flags; +} +function modifierToFlag(token) { + switch (token) { + case 126 /* StaticKeyword */: + return 256 /* Static */; + case 125 /* PublicKeyword */: + return 1 /* Public */; + case 124 /* ProtectedKeyword */: + return 4 /* Protected */; + case 123 /* PrivateKeyword */: + return 2 /* Private */; + case 128 /* AbstractKeyword */: + return 64 /* Abstract */; + case 129 /* AccessorKeyword */: + return 512 /* Accessor */; + case 95 /* ExportKeyword */: + return 32 /* Export */; + case 138 /* DeclareKeyword */: + return 128 /* Ambient */; + case 87 /* ConstKeyword */: + return 4096 /* Const */; + case 90 /* DefaultKeyword */: + return 2048 /* Default */; + case 134 /* AsyncKeyword */: + return 1024 /* Async */; + case 148 /* ReadonlyKeyword */: + return 8 /* Readonly */; + case 164 /* OverrideKeyword */: + return 16 /* Override */; + case 103 /* InKeyword */: + return 8192 /* In */; + case 147 /* OutKeyword */: + return 16384 /* Out */; + case 170 /* Decorator */: + return 32768 /* Decorator */; + } + return 0 /* None */; +} +function isBinaryLogicalOperator(token) { + return token === 57 /* BarBarToken */ || token === 56 /* AmpersandAmpersandToken */; +} +function isLogicalOperator(token) { + return isBinaryLogicalOperator(token) || token === 54 /* ExclamationToken */; +} +function isLogicalOrCoalescingAssignmentOperator(token) { + return token === 76 /* BarBarEqualsToken */ || token === 77 /* AmpersandAmpersandEqualsToken */ || token === 78 /* QuestionQuestionEqualsToken */; +} +function isLogicalOrCoalescingAssignmentExpression(expr) { + return isBinaryExpression(expr) && isLogicalOrCoalescingAssignmentOperator(expr.operatorToken.kind); +} +function isLogicalOrCoalescingBinaryOperator(token) { + return isBinaryLogicalOperator(token) || token === 61 /* QuestionQuestionToken */; +} +function isLogicalOrCoalescingBinaryExpression(expr) { + return isBinaryExpression(expr) && isLogicalOrCoalescingBinaryOperator(expr.operatorToken.kind); +} +function isAssignmentOperator(token) { + return token >= 64 /* FirstAssignment */ && token <= 79 /* LastAssignment */; +} +function tryGetClassExtendingExpressionWithTypeArguments(node) { + const cls = tryGetClassImplementingOrExtendingExpressionWithTypeArguments(node); + return cls && !cls.isImplements ? cls.class : void 0; +} +function tryGetClassImplementingOrExtendingExpressionWithTypeArguments(node) { + if (isExpressionWithTypeArguments(node)) { + if (isHeritageClause(node.parent) && isClassLike(node.parent.parent)) { + return { class: node.parent.parent, isImplements: node.parent.token === 119 /* ImplementsKeyword */ }; + } + if (isJSDocAugmentsTag(node.parent)) { + const host = getEffectiveJSDocHost(node.parent); + if (host && isClassLike(host)) { + return { class: host, isImplements: false }; + } + } + } + return void 0; +} +function isAssignmentExpression(node, excludeCompoundAssignment) { + return isBinaryExpression(node) && (excludeCompoundAssignment ? node.operatorToken.kind === 64 /* EqualsToken */ : isAssignmentOperator(node.operatorToken.kind)) && isLeftHandSideExpression(node.left); +} +function isDestructuringAssignment(node) { + if (isAssignmentExpression( + node, + /*excludeCompoundAssignment*/ + true + )) { + const kind = node.left.kind; + return kind === 210 /* ObjectLiteralExpression */ || kind === 209 /* ArrayLiteralExpression */; + } + return false; +} +function isExpressionWithTypeArgumentsInClassExtendsClause(node) { + return tryGetClassExtendingExpressionWithTypeArguments(node) !== void 0; +} +function isEntityNameExpression(node) { + return node.kind === 80 /* Identifier */ || isPropertyAccessEntityNameExpression(node); +} +function getFirstIdentifier(node) { + switch (node.kind) { + case 80 /* Identifier */: + return node; + case 166 /* QualifiedName */: + do { + node = node.left; + } while (node.kind !== 80 /* Identifier */); + return node; + case 211 /* PropertyAccessExpression */: + do { + node = node.expression; + } while (node.kind !== 80 /* Identifier */); + return node; + } +} +function isDottedName(node) { + return node.kind === 80 /* Identifier */ || node.kind === 110 /* ThisKeyword */ || node.kind === 108 /* SuperKeyword */ || node.kind === 236 /* MetaProperty */ || node.kind === 211 /* PropertyAccessExpression */ && isDottedName(node.expression) || node.kind === 217 /* ParenthesizedExpression */ && isDottedName(node.expression); +} +function isPropertyAccessEntityNameExpression(node) { + return isPropertyAccessExpression(node) && isIdentifier(node.name) && isEntityNameExpression(node.expression); +} +function tryGetPropertyAccessOrIdentifierToString(expr) { + if (isPropertyAccessExpression(expr)) { + const baseStr = tryGetPropertyAccessOrIdentifierToString(expr.expression); + if (baseStr !== void 0) { + return baseStr + "." + entityNameToString(expr.name); + } + } else if (isElementAccessExpression(expr)) { + const baseStr = tryGetPropertyAccessOrIdentifierToString(expr.expression); + if (baseStr !== void 0 && isPropertyName(expr.argumentExpression)) { + return baseStr + "." + getPropertyNameForPropertyNameNode(expr.argumentExpression); + } + } else if (isIdentifier(expr)) { + return unescapeLeadingUnderscores(expr.escapedText); + } else if (isJsxNamespacedName(expr)) { + return getTextOfJsxNamespacedName(expr); + } + return void 0; +} +function isPrototypeAccess(node) { + return isBindableStaticAccessExpression(node) && getElementOrPropertyAccessName(node) === "prototype"; +} +function isRightSideOfQualifiedNameOrPropertyAccess(node) { + return node.parent.kind === 166 /* QualifiedName */ && node.parent.right === node || node.parent.kind === 211 /* PropertyAccessExpression */ && node.parent.name === node || node.parent.kind === 236 /* MetaProperty */ && node.parent.name === node; +} +function isRightSideOfAccessExpression(node) { + return !!node.parent && (isPropertyAccessExpression(node.parent) && node.parent.name === node || isElementAccessExpression(node.parent) && node.parent.argumentExpression === node); +} +function isRightSideOfQualifiedNameOrPropertyAccessOrJSDocMemberName(node) { + return isQualifiedName(node.parent) && node.parent.right === node || isPropertyAccessExpression(node.parent) && node.parent.name === node || isJSDocMemberName(node.parent) && node.parent.right === node; +} +function isInstanceOfExpression(node) { + return isBinaryExpression(node) && node.operatorToken.kind === 104 /* InstanceOfKeyword */; +} +function isRightSideOfInstanceofExpression(node) { + return isInstanceOfExpression(node.parent) && node === node.parent.right; +} +function isEmptyObjectLiteral(expression) { + return expression.kind === 210 /* ObjectLiteralExpression */ && expression.properties.length === 0; +} +function isEmptyArrayLiteral(expression) { + return expression.kind === 209 /* ArrayLiteralExpression */ && expression.elements.length === 0; +} +function getLocalSymbolForExportDefault(symbol) { + if (!isExportDefaultSymbol(symbol) || !symbol.declarations) return void 0; + for (const decl of symbol.declarations) { + if (decl.localSymbol) return decl.localSymbol; + } + return void 0; +} +function isExportDefaultSymbol(symbol) { + return symbol && length(symbol.declarations) > 0 && hasSyntacticModifier(symbol.declarations[0], 2048 /* Default */); +} +function tryExtractTSExtension(fileName) { + return find(supportedTSExtensionsForExtractExtension, (extension) => fileExtensionIs(fileName, extension)); +} +function getExpandedCharCodes(input) { + const output = []; + const length2 = input.length; + for (let i = 0; i < length2; i++) { + const charCode = input.charCodeAt(i); + if (charCode < 128) { + output.push(charCode); + } else if (charCode < 2048) { + output.push(charCode >> 6 | 192); + output.push(charCode & 63 | 128); + } else if (charCode < 65536) { + output.push(charCode >> 12 | 224); + output.push(charCode >> 6 & 63 | 128); + output.push(charCode & 63 | 128); + } else if (charCode < 131072) { + output.push(charCode >> 18 | 240); + output.push(charCode >> 12 & 63 | 128); + output.push(charCode >> 6 & 63 | 128); + output.push(charCode & 63 | 128); + } else { + Debug.assert(false, "Unexpected code point"); + } + } + return output; +} +var base64Digits = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="; +function convertToBase64(input) { + let result = ""; + const charCodes = getExpandedCharCodes(input); + let i = 0; + const length2 = charCodes.length; + let byte1, byte2, byte3, byte4; + while (i < length2) { + byte1 = charCodes[i] >> 2; + byte2 = (charCodes[i] & 3) << 4 | charCodes[i + 1] >> 4; + byte3 = (charCodes[i + 1] & 15) << 2 | charCodes[i + 2] >> 6; + byte4 = charCodes[i + 2] & 63; + if (i + 1 >= length2) { + byte3 = byte4 = 64; + } else if (i + 2 >= length2) { + byte4 = 64; + } + result += base64Digits.charAt(byte1) + base64Digits.charAt(byte2) + base64Digits.charAt(byte3) + base64Digits.charAt(byte4); + i += 3; + } + return result; +} +function base64encode(host, input) { + if (host && host.base64encode) { + return host.base64encode(input); + } + return convertToBase64(input); +} +function readJsonOrUndefined(path, hostOrText) { + const jsonText = isString(hostOrText) ? hostOrText : hostOrText.readFile(path); + if (!jsonText) return void 0; + const result = parseConfigFileTextToJson(path, jsonText); + return !result.error ? result.config : void 0; +} +function readJson(path, host) { + return readJsonOrUndefined(path, host) || {}; +} +function tryParseJson(text) { + try { + return JSON.parse(text); + } catch { + return void 0; + } +} +function directoryProbablyExists(directoryName, host) { + return !host.directoryExists || host.directoryExists(directoryName); +} +var carriageReturnLineFeed = "\r\n"; +var lineFeed = "\n"; +function getNewLineCharacter(options) { + switch (options.newLine) { + case 0 /* CarriageReturnLineFeed */: + return carriageReturnLineFeed; + case 1 /* LineFeed */: + case void 0: + return lineFeed; + } +} +function createRange(pos, end = pos) { + Debug.assert(end >= pos || end === -1); + return { pos, end }; +} +function moveRangeEnd(range, end) { + return createRange(range.pos, end); +} +function moveRangePos(range, pos) { + return createRange(pos, range.end); +} +function moveRangePastDecorators(node) { + const lastDecorator = canHaveModifiers(node) ? findLast(node.modifiers, isDecorator) : void 0; + return lastDecorator && !positionIsSynthesized(lastDecorator.end) ? moveRangePos(node, lastDecorator.end) : node; +} +function moveRangePastModifiers(node) { + if (isPropertyDeclaration(node) || isMethodDeclaration(node)) { + return moveRangePos(node, node.name.pos); + } + const lastModifier = canHaveModifiers(node) ? lastOrUndefined(node.modifiers) : void 0; + return lastModifier && !positionIsSynthesized(lastModifier.end) ? moveRangePos(node, lastModifier.end) : moveRangePastDecorators(node); +} +function createTokenRange(pos, token) { + return createRange(pos, pos + tokenToString(token).length); +} +function rangeIsOnSingleLine(range, sourceFile) { + return rangeStartIsOnSameLineAsRangeEnd(range, range, sourceFile); +} +function rangeStartPositionsAreOnSameLine(range1, range2, sourceFile) { + return positionsAreOnSameLine( + getStartPositionOfRange( + range1, + sourceFile, + /*includeComments*/ + false + ), + getStartPositionOfRange( + range2, + sourceFile, + /*includeComments*/ + false + ), + sourceFile + ); +} +function rangeEndPositionsAreOnSameLine(range1, range2, sourceFile) { + return positionsAreOnSameLine(range1.end, range2.end, sourceFile); +} +function rangeStartIsOnSameLineAsRangeEnd(range1, range2, sourceFile) { + return positionsAreOnSameLine(getStartPositionOfRange( + range1, + sourceFile, + /*includeComments*/ + false + ), range2.end, sourceFile); +} +function rangeEndIsOnSameLineAsRangeStart(range1, range2, sourceFile) { + return positionsAreOnSameLine(range1.end, getStartPositionOfRange( + range2, + sourceFile, + /*includeComments*/ + false + ), sourceFile); +} +function getLinesBetweenRangeEndAndRangeStart(range1, range2, sourceFile, includeSecondRangeComments) { + const range2Start = getStartPositionOfRange(range2, sourceFile, includeSecondRangeComments); + return getLinesBetweenPositions(sourceFile, range1.end, range2Start); +} +function positionsAreOnSameLine(pos1, pos2, sourceFile) { + return getLinesBetweenPositions(sourceFile, pos1, pos2) === 0; +} +function getStartPositionOfRange(range, sourceFile, includeComments) { + return positionIsSynthesized(range.pos) ? -1 : skipTrivia( + sourceFile.text, + range.pos, + /*stopAfterLineBreak*/ + false, + includeComments + ); +} +function getLinesBetweenPositionAndPrecedingNonWhitespaceCharacter(pos, stopPos, sourceFile, includeComments) { + const startPos = skipTrivia( + sourceFile.text, + pos, + /*stopAfterLineBreak*/ + false, + includeComments + ); + const prevPos = getPreviousNonWhitespacePosition(startPos, stopPos, sourceFile); + return getLinesBetweenPositions(sourceFile, prevPos ?? stopPos, startPos); +} +function getLinesBetweenPositionAndNextNonWhitespaceCharacter(pos, stopPos, sourceFile, includeComments) { + const nextPos = skipTrivia( + sourceFile.text, + pos, + /*stopAfterLineBreak*/ + false, + includeComments + ); + return getLinesBetweenPositions(sourceFile, pos, Math.min(stopPos, nextPos)); +} +function rangeContainsRange(r1, r2) { + return startEndContainsRange(r1.pos, r1.end, r2); +} +function startEndContainsRange(start, end, range) { + return start <= range.pos && end >= range.end; +} +function getPreviousNonWhitespacePosition(pos, stopPos = 0, sourceFile) { + while (pos-- > stopPos) { + if (!isWhiteSpaceLike(sourceFile.text.charCodeAt(pos))) { + return pos; + } + } +} +function isDeclarationNameOfEnumOrNamespace(node) { + const parseNode = getParseTreeNode(node); + if (parseNode) { + switch (parseNode.parent.kind) { + case 266 /* EnumDeclaration */: + case 267 /* ModuleDeclaration */: + return parseNode === parseNode.parent.name; + } + } + return false; +} +function getInitializedVariables(node) { + return filter(node.declarations, isInitializedVariable); +} +function isInitializedVariable(node) { + return isVariableDeclaration(node) && node.initializer !== void 0; +} +function isWatchSet(options) { + return options.watch && hasProperty(options, "watch"); +} +function closeFileWatcher(watcher) { + watcher.close(); +} +function getCheckFlags(symbol) { + return symbol.flags & 33554432 /* Transient */ ? symbol.links.checkFlags : 0; +} +function getDeclarationModifierFlagsFromSymbol(s, isWrite = false) { + if (s.valueDeclaration) { + const declaration = isWrite && s.declarations && find(s.declarations, isSetAccessorDeclaration) || s.flags & 32768 /* GetAccessor */ && find(s.declarations, isGetAccessorDeclaration) || s.valueDeclaration; + const flags = getCombinedModifierFlags(declaration); + return s.parent && s.parent.flags & 32 /* Class */ ? flags : flags & ~7 /* AccessibilityModifier */; + } + if (getCheckFlags(s) & 6 /* Synthetic */) { + const checkFlags = s.links.checkFlags; + const accessModifier = checkFlags & 1024 /* ContainsPrivate */ ? 2 /* Private */ : checkFlags & 256 /* ContainsPublic */ ? 1 /* Public */ : 4 /* Protected */; + const staticModifier = checkFlags & 2048 /* ContainsStatic */ ? 256 /* Static */ : 0; + return accessModifier | staticModifier; + } + if (s.flags & 4194304 /* Prototype */) { + return 1 /* Public */ | 256 /* Static */; + } + return 0; +} +function skipAlias(symbol, checker) { + return symbol.flags & 2097152 /* Alias */ ? checker.getAliasedSymbol(symbol) : symbol; +} +function getCombinedLocalAndExportSymbolFlags(symbol) { + return symbol.exportSymbol ? symbol.exportSymbol.flags | symbol.flags : symbol.flags; +} +function isWriteOnlyAccess(node) { + return accessKind(node) === 1 /* Write */; +} +function isWriteAccess(node) { + return accessKind(node) !== 0 /* Read */; +} +function accessKind(node) { + const { parent } = node; + switch (parent == null ? void 0 : parent.kind) { + case 217 /* ParenthesizedExpression */: + return accessKind(parent); + case 225 /* PostfixUnaryExpression */: + case 224 /* PrefixUnaryExpression */: + const { operator } = parent; + return operator === 46 /* PlusPlusToken */ || operator === 47 /* MinusMinusToken */ ? 2 /* ReadWrite */ : 0 /* Read */; + case 226 /* BinaryExpression */: + const { left, operatorToken } = parent; + return left === node && isAssignmentOperator(operatorToken.kind) ? operatorToken.kind === 64 /* EqualsToken */ ? 1 /* Write */ : 2 /* ReadWrite */ : 0 /* Read */; + case 211 /* PropertyAccessExpression */: + return parent.name !== node ? 0 /* Read */ : accessKind(parent); + case 303 /* PropertyAssignment */: { + const parentAccess = accessKind(parent.parent); + return node === parent.name ? reverseAccessKind(parentAccess) : parentAccess; + } + case 304 /* ShorthandPropertyAssignment */: + return node === parent.objectAssignmentInitializer ? 0 /* Read */ : accessKind(parent.parent); + case 209 /* ArrayLiteralExpression */: + return accessKind(parent); + case 249 /* ForInStatement */: + case 250 /* ForOfStatement */: + return node === parent.initializer ? 1 /* Write */ : 0 /* Read */; + default: + return 0 /* Read */; + } +} +function reverseAccessKind(a) { + switch (a) { + case 0 /* Read */: + return 1 /* Write */; + case 1 /* Write */: + return 0 /* Read */; + case 2 /* ReadWrite */: + return 2 /* ReadWrite */; + default: + return Debug.assertNever(a); + } +} +function compareDataObjects(dst, src) { + if (!dst || !src || Object.keys(dst).length !== Object.keys(src).length) { + return false; + } + for (const e in dst) { + if (typeof dst[e] === "object") { + if (!compareDataObjects(dst[e], src[e])) { + return false; + } + } else if (typeof dst[e] !== "function") { + if (dst[e] !== src[e]) { + return false; + } + } + } + return true; +} +function clearMap(map2, onDeleteValue) { + map2.forEach(onDeleteValue); + map2.clear(); +} +function mutateMapSkippingNewValues(map2, newMap, options) { + const { onDeleteValue, onExistingValue } = options; + map2.forEach((existingValue, key) => { + var _a; + if (!(newMap == null ? void 0 : newMap.has(key))) { + map2.delete(key); + onDeleteValue(existingValue, key); + } else if (onExistingValue) { + onExistingValue(existingValue, (_a = newMap.get) == null ? void 0 : _a.call(newMap, key), key); + } + }); +} +function mutateMap(map2, newMap, options) { + mutateMapSkippingNewValues(map2, newMap, options); + const { createNewValue } = options; + newMap == null ? void 0 : newMap.forEach((valueInNewMap, key) => { + if (!map2.has(key)) { + map2.set(key, createNewValue(key, valueInNewMap)); + } + }); +} +function getClassLikeDeclarationOfSymbol(symbol) { + var _a; + return (_a = symbol.declarations) == null ? void 0 : _a.find(isClassLike); +} +function getObjectFlags(type) { + return type.flags & 3899393 /* ObjectFlagsType */ ? type.objectFlags : 0; +} +function isUMDExportSymbol(symbol) { + return !!symbol && !!symbol.declarations && !!symbol.declarations[0] && isNamespaceExportDeclaration(symbol.declarations[0]); +} +function getLastChild(node) { + let lastChild; + forEachChild(node, (child) => { + if (nodeIsPresent(child)) lastChild = child; + }, (children) => { + for (let i = children.length - 1; i >= 0; i--) { + if (nodeIsPresent(children[i])) { + lastChild = children[i]; + break; + } + } + }); + return lastChild; +} +function addToSeen(seen, key) { + if (seen.has(key)) { + return false; + } + seen.add(key); + return true; +} +function isTypeNodeKind(kind) { + return kind >= 182 /* FirstTypeNode */ && kind <= 205 /* LastTypeNode */ || kind === 133 /* AnyKeyword */ || kind === 159 /* UnknownKeyword */ || kind === 150 /* NumberKeyword */ || kind === 163 /* BigIntKeyword */ || kind === 151 /* ObjectKeyword */ || kind === 136 /* BooleanKeyword */ || kind === 154 /* StringKeyword */ || kind === 155 /* SymbolKeyword */ || kind === 116 /* VoidKeyword */ || kind === 157 /* UndefinedKeyword */ || kind === 146 /* NeverKeyword */ || kind === 141 /* IntrinsicKeyword */ || kind === 233 /* ExpressionWithTypeArguments */ || kind === 312 /* JSDocAllType */ || kind === 313 /* JSDocUnknownType */ || kind === 314 /* JSDocNullableType */ || kind === 315 /* JSDocNonNullableType */ || kind === 316 /* JSDocOptionalType */ || kind === 317 /* JSDocFunctionType */ || kind === 318 /* JSDocVariadicType */; +} +function isAccessExpression(node) { + return node.kind === 211 /* PropertyAccessExpression */ || node.kind === 212 /* ElementAccessExpression */; +} +function getLeftmostAccessExpression(expr) { + while (isAccessExpression(expr)) { + expr = expr.expression; + } + return expr; +} +function getLeftmostExpression(node, stopAtCallExpressions) { + while (true) { + switch (node.kind) { + case 225 /* PostfixUnaryExpression */: + node = node.operand; + continue; + case 226 /* BinaryExpression */: + node = node.left; + continue; + case 227 /* ConditionalExpression */: + node = node.condition; + continue; + case 215 /* TaggedTemplateExpression */: + node = node.tag; + continue; + case 213 /* CallExpression */: + if (stopAtCallExpressions) { + return node; + } + // falls through + case 234 /* AsExpression */: + case 212 /* ElementAccessExpression */: + case 211 /* PropertyAccessExpression */: + case 235 /* NonNullExpression */: + case 355 /* PartiallyEmittedExpression */: + case 238 /* SatisfiesExpression */: + node = node.expression; + continue; + } + return node; + } +} +function Symbol4(flags, name) { + this.flags = flags; + this.escapedName = name; + 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.lastAssignmentPos = void 0; + this.links = void 0; +} +function Type3(checker, flags) { + this.flags = flags; + if (Debug.isDebugging || tracing) { + this.checker = checker; + } +} +function Signature2(checker, flags) { + this.flags = flags; + if (Debug.isDebugging) { + this.checker = checker; + } +} +function Node4(kind, pos, end) { + this.pos = pos; + this.end = end; + this.kind = kind; + this.id = 0; + this.flags = 0 /* None */; + this.modifierFlagsCache = 0 /* None */; + this.transformFlags = 0 /* None */; + this.parent = void 0; + this.original = void 0; + this.emitNode = void 0; +} +function Token(kind, pos, end) { + this.pos = pos; + this.end = end; + this.kind = kind; + this.id = 0; + this.flags = 0 /* None */; + this.transformFlags = 0 /* None */; + this.parent = void 0; + this.emitNode = void 0; +} +function Identifier2(kind, pos, end) { + this.pos = pos; + this.end = end; + this.kind = kind; + this.id = 0; + this.flags = 0 /* None */; + this.transformFlags = 0 /* None */; + this.parent = void 0; + this.original = void 0; + this.emitNode = void 0; +} +function SourceMapSource(fileName, text, skipTrivia2) { + this.fileName = fileName; + this.text = text; + this.skipTrivia = skipTrivia2 || ((pos) => pos); +} +var objectAllocator = { + getNodeConstructor: () => Node4, + getTokenConstructor: () => Token, + getIdentifierConstructor: () => Identifier2, + getPrivateIdentifierConstructor: () => Node4, + getSourceFileConstructor: () => Node4, + getSymbolConstructor: () => Symbol4, + getTypeConstructor: () => Type3, + getSignatureConstructor: () => Signature2, + getSourceMapSourceConstructor: () => SourceMapSource +}; +function formatStringFromArgs(text, args) { + return text.replace(/\{(\d+)\}/g, (_match, index) => "" + Debug.checkDefined(args[+index])); +} +var localizedDiagnosticMessages; +function setLocalizedDiagnosticMessages(messages) { + localizedDiagnosticMessages = messages; +} +function getLocaleSpecificMessage(message) { + return localizedDiagnosticMessages && localizedDiagnosticMessages[message.key] || message.message; +} +function createDetachedDiagnostic(fileName, sourceText, start, length2, message, ...args) { + if (start + length2 > sourceText.length) { + length2 = sourceText.length - start; + } + assertDiagnosticLocation(sourceText, start, length2); + let text = getLocaleSpecificMessage(message); + if (some(args)) { + text = formatStringFromArgs(text, args); + } + return { + file: void 0, + start, + length: length2, + messageText: text, + category: message.category, + code: message.code, + reportsUnnecessary: message.reportsUnnecessary, + fileName + }; +} +function isDiagnosticWithDetachedLocation(diagnostic) { + return diagnostic.file === void 0 && diagnostic.start !== void 0 && diagnostic.length !== void 0 && typeof diagnostic.fileName === "string"; +} +function attachFileToDiagnostic(diagnostic, file) { + const fileName = file.fileName || ""; + const length2 = file.text.length; + Debug.assertEqual(diagnostic.fileName, fileName); + Debug.assertLessThanOrEqual(diagnostic.start, length2); + Debug.assertLessThanOrEqual(diagnostic.start + diagnostic.length, length2); + const diagnosticWithLocation = { + file, + start: diagnostic.start, + length: diagnostic.length, + messageText: diagnostic.messageText, + category: diagnostic.category, + code: diagnostic.code, + reportsUnnecessary: diagnostic.reportsUnnecessary + }; + if (diagnostic.relatedInformation) { + diagnosticWithLocation.relatedInformation = []; + for (const related of diagnostic.relatedInformation) { + if (isDiagnosticWithDetachedLocation(related) && related.fileName === fileName) { + Debug.assertLessThanOrEqual(related.start, length2); + Debug.assertLessThanOrEqual(related.start + related.length, length2); + diagnosticWithLocation.relatedInformation.push(attachFileToDiagnostic(related, file)); + } else { + diagnosticWithLocation.relatedInformation.push(related); + } + } + } + return diagnosticWithLocation; +} +function attachFileToDiagnostics(diagnostics, file) { + const diagnosticsWithLocation = []; + for (const diagnostic of diagnostics) { + diagnosticsWithLocation.push(attachFileToDiagnostic(diagnostic, file)); + } + return diagnosticsWithLocation; +} +function createFileDiagnostic(file, start, length2, message, ...args) { + assertDiagnosticLocation(file.text, start, length2); + let text = getLocaleSpecificMessage(message); + if (some(args)) { + text = formatStringFromArgs(text, args); + } + return { + file, + start, + length: length2, + messageText: text, + category: message.category, + code: message.code, + reportsUnnecessary: message.reportsUnnecessary, + reportsDeprecated: message.reportsDeprecated + }; +} +function formatMessage(message, ...args) { + let text = getLocaleSpecificMessage(message); + if (some(args)) { + text = formatStringFromArgs(text, args); + } + return text; +} +function createCompilerDiagnostic(message, ...args) { + let text = getLocaleSpecificMessage(message); + if (some(args)) { + text = formatStringFromArgs(text, args); + } + return { + file: void 0, + start: void 0, + length: void 0, + messageText: text, + category: message.category, + code: message.code, + reportsUnnecessary: message.reportsUnnecessary, + reportsDeprecated: message.reportsDeprecated + }; +} +function createCompilerDiagnosticFromMessageChain(chain, relatedInformation) { + return { + file: void 0, + start: void 0, + length: void 0, + code: chain.code, + category: chain.category, + messageText: chain.next ? chain : chain.messageText, + relatedInformation + }; +} +function chainDiagnosticMessages(details, message, ...args) { + let text = getLocaleSpecificMessage(message); + if (some(args)) { + text = formatStringFromArgs(text, args); + } + return { + messageText: text, + category: message.category, + code: message.code, + next: details === void 0 || Array.isArray(details) ? details : [details] + }; +} +function concatenateDiagnosticMessageChains(headChain, tailChain) { + let lastChain = headChain; + while (lastChain.next) { + lastChain = lastChain.next[0]; + } + lastChain.next = [tailChain]; +} +function getDiagnosticFilePath(diagnostic) { + return diagnostic.file ? diagnostic.file.path : void 0; +} +function compareDiagnostics(d1, d2) { + return compareDiagnosticsSkipRelatedInformation(d1, d2) || compareRelatedInformation(d1, d2) || 0 /* EqualTo */; +} +function compareDiagnosticsSkipRelatedInformation(d1, d2) { + const code1 = getDiagnosticCode(d1); + const code2 = getDiagnosticCode(d2); + return compareStringsCaseSensitive(getDiagnosticFilePath(d1), getDiagnosticFilePath(d2)) || compareValues(d1.start, d2.start) || compareValues(d1.length, d2.length) || compareValues(code1, code2) || compareMessageText(d1, d2) || 0 /* EqualTo */; +} +function compareRelatedInformation(d1, d2) { + if (!d1.relatedInformation && !d2.relatedInformation) { + return 0 /* EqualTo */; + } + if (d1.relatedInformation && d2.relatedInformation) { + return compareValues(d2.relatedInformation.length, d1.relatedInformation.length) || forEach(d1.relatedInformation, (d1i, index) => { + const d2i = d2.relatedInformation[index]; + return compareDiagnostics(d1i, d2i); + }) || 0 /* EqualTo */; + } + return d1.relatedInformation ? -1 /* LessThan */ : 1 /* GreaterThan */; +} +function compareMessageText(d1, d2) { + let headMsg1 = getDiagnosticMessage(d1); + let headMsg2 = getDiagnosticMessage(d2); + if (typeof headMsg1 !== "string") { + headMsg1 = headMsg1.messageText; + } + if (typeof headMsg2 !== "string") { + headMsg2 = headMsg2.messageText; + } + const chain1 = typeof d1.messageText !== "string" ? d1.messageText.next : void 0; + const chain2 = typeof d2.messageText !== "string" ? d2.messageText.next : void 0; + let res = compareStringsCaseSensitive(headMsg1, headMsg2); + if (res) { + return res; + } + res = compareMessageChain(chain1, chain2); + if (res) { + return res; + } + if (d1.canonicalHead && !d2.canonicalHead) { + return -1 /* LessThan */; + } + if (d2.canonicalHead && !d1.canonicalHead) { + return 1 /* GreaterThan */; + } + return 0 /* EqualTo */; +} +function compareMessageChain(c1, c2) { + if (c1 === void 0 && c2 === void 0) { + return 0 /* EqualTo */; + } + if (c1 === void 0) { + return 1 /* GreaterThan */; + } + if (c2 === void 0) { + return -1 /* LessThan */; + } + return compareMessageChainSize(c1, c2) || compareMessageChainContent(c1, c2); +} +function compareMessageChainSize(c1, c2) { + if (c1 === void 0 && c2 === void 0) { + return 0 /* EqualTo */; + } + if (c1 === void 0) { + return 1 /* GreaterThan */; + } + if (c2 === void 0) { + return -1 /* LessThan */; + } + let res = compareValues(c2.length, c1.length); + if (res) { + return res; + } + for (let i = 0; i < c2.length; i++) { + res = compareMessageChainSize(c1[i].next, c2[i].next); + if (res) { + return res; + } + } + return 0 /* EqualTo */; +} +function compareMessageChainContent(c1, c2) { + let res; + for (let i = 0; i < c2.length; i++) { + res = compareStringsCaseSensitive(c1[i].messageText, c2[i].messageText); + if (res) { + return res; + } + if (c1[i].next === void 0) { + continue; + } + res = compareMessageChainContent(c1[i].next, c2[i].next); + if (res) { + return res; + } + } + return 0 /* EqualTo */; +} +function diagnosticsEqualityComparer(d1, d2) { + const code1 = getDiagnosticCode(d1); + const code2 = getDiagnosticCode(d2); + const msg1 = getDiagnosticMessage(d1); + const msg2 = getDiagnosticMessage(d2); + return compareStringsCaseSensitive(getDiagnosticFilePath(d1), getDiagnosticFilePath(d2)) === 0 /* EqualTo */ && compareValues(d1.start, d2.start) === 0 /* EqualTo */ && compareValues(d1.length, d2.length) === 0 /* EqualTo */ && compareValues(code1, code2) === 0 /* EqualTo */ && messageTextEqualityComparer(msg1, msg2); +} +function getDiagnosticCode(d) { + var _a; + return ((_a = d.canonicalHead) == null ? void 0 : _a.code) || d.code; +} +function getDiagnosticMessage(d) { + var _a; + return ((_a = d.canonicalHead) == null ? void 0 : _a.messageText) || d.messageText; +} +function messageTextEqualityComparer(m1, m2) { + const t1 = typeof m1 === "string" ? m1 : m1.messageText; + const t2 = typeof m2 === "string" ? m2 : m2.messageText; + return compareStringsCaseSensitive(t1, t2) === 0 /* EqualTo */; +} +function getLanguageVariant(scriptKind) { + return scriptKind === 4 /* TSX */ || scriptKind === 2 /* JSX */ || scriptKind === 1 /* JS */ || scriptKind === 6 /* JSON */ ? 1 /* JSX */ : 0 /* Standard */; +} +function walkTreeForJSXTags(node) { + if (!(node.transformFlags & 2 /* ContainsJsx */)) return void 0; + return isJsxOpeningLikeElement(node) || isJsxFragment(node) ? node : forEachChild(node, walkTreeForJSXTags); +} +function isFileModuleFromUsingJSXTag(file) { + return !file.isDeclarationFile ? walkTreeForJSXTags(file) : void 0; +} +function isFileForcedToBeModuleByFormat(file, options) { + return (getImpliedNodeFormatForEmitWorker(file, options) === 99 /* ESNext */ || fileExtensionIsOneOf(file.fileName, [".cjs" /* Cjs */, ".cts" /* Cts */, ".mjs" /* Mjs */, ".mts" /* Mts */])) && !file.isDeclarationFile ? true : void 0; +} +function getSetExternalModuleIndicator(options) { + switch (getEmitModuleDetectionKind(options)) { + case 3 /* Force */: + return (file) => { + file.externalModuleIndicator = isFileProbablyExternalModule(file) || !file.isDeclarationFile || void 0; + }; + case 1 /* Legacy */: + return (file) => { + file.externalModuleIndicator = isFileProbablyExternalModule(file); + }; + case 2 /* Auto */: + const checks = [isFileProbablyExternalModule]; + if (options.jsx === 4 /* ReactJSX */ || options.jsx === 5 /* ReactJSXDev */) { + checks.push(isFileModuleFromUsingJSXTag); + } + checks.push(isFileForcedToBeModuleByFormat); + const combined = or(...checks); + const callback = (file) => void (file.externalModuleIndicator = combined(file, options)); + return callback; + } +} +function importSyntaxAffectsModuleResolution(options) { + const moduleResolution = getEmitModuleResolutionKind(options); + return 3 /* Node16 */ <= moduleResolution && moduleResolution <= 99 /* NodeNext */ || getResolvePackageJsonExports(options) || getResolvePackageJsonImports(options); +} +function createComputedCompilerOptions(options) { + return options; +} +var _computedOptions = createComputedCompilerOptions({ + allowImportingTsExtensions: { + dependencies: ["rewriteRelativeImportExtensions"], + computeValue: (compilerOptions) => { + return !!(compilerOptions.allowImportingTsExtensions || compilerOptions.rewriteRelativeImportExtensions); + } + }, + target: { + dependencies: ["module"], + computeValue: (compilerOptions) => { + const target = compilerOptions.target === 0 /* ES3 */ ? void 0 : compilerOptions.target; + return target ?? (compilerOptions.module === 100 /* Node16 */ && 9 /* ES2022 */ || compilerOptions.module === 199 /* NodeNext */ && 99 /* ESNext */ || 1 /* ES5 */); + } + }, + module: { + dependencies: ["target"], + computeValue: (compilerOptions) => { + return typeof compilerOptions.module === "number" ? compilerOptions.module : _computedOptions.target.computeValue(compilerOptions) >= 2 /* ES2015 */ ? 5 /* ES2015 */ : 1 /* CommonJS */; + } + }, + moduleResolution: { + dependencies: ["module", "target"], + computeValue: (compilerOptions) => { + let moduleResolution = compilerOptions.moduleResolution; + if (moduleResolution === void 0) { + switch (_computedOptions.module.computeValue(compilerOptions)) { + case 1 /* CommonJS */: + moduleResolution = 2 /* Node10 */; + break; + case 100 /* Node16 */: + moduleResolution = 3 /* Node16 */; + break; + case 199 /* NodeNext */: + moduleResolution = 99 /* NodeNext */; + break; + case 200 /* Preserve */: + moduleResolution = 100 /* Bundler */; + break; + default: + moduleResolution = 1 /* Classic */; + break; + } + } + return moduleResolution; + } + }, + moduleDetection: { + dependencies: ["module", "target"], + computeValue: (compilerOptions) => { + return compilerOptions.moduleDetection || (_computedOptions.module.computeValue(compilerOptions) === 100 /* Node16 */ || _computedOptions.module.computeValue(compilerOptions) === 199 /* NodeNext */ ? 3 /* Force */ : 2 /* Auto */); + } + }, + isolatedModules: { + dependencies: ["verbatimModuleSyntax"], + computeValue: (compilerOptions) => { + return !!(compilerOptions.isolatedModules || compilerOptions.verbatimModuleSyntax); + } + }, + esModuleInterop: { + dependencies: ["module", "target"], + computeValue: (compilerOptions) => { + if (compilerOptions.esModuleInterop !== void 0) { + return compilerOptions.esModuleInterop; + } + switch (_computedOptions.module.computeValue(compilerOptions)) { + case 100 /* Node16 */: + case 199 /* NodeNext */: + case 200 /* Preserve */: + return true; + } + return false; + } + }, + allowSyntheticDefaultImports: { + dependencies: ["module", "target", "moduleResolution"], + computeValue: (compilerOptions) => { + if (compilerOptions.allowSyntheticDefaultImports !== void 0) { + return compilerOptions.allowSyntheticDefaultImports; + } + return _computedOptions.esModuleInterop.computeValue(compilerOptions) || _computedOptions.module.computeValue(compilerOptions) === 4 /* System */ || _computedOptions.moduleResolution.computeValue(compilerOptions) === 100 /* Bundler */; + } + }, + resolvePackageJsonExports: { + dependencies: ["moduleResolution"], + computeValue: (compilerOptions) => { + const moduleResolution = _computedOptions.moduleResolution.computeValue(compilerOptions); + if (!moduleResolutionSupportsPackageJsonExportsAndImports(moduleResolution)) { + return false; + } + if (compilerOptions.resolvePackageJsonExports !== void 0) { + return compilerOptions.resolvePackageJsonExports; + } + switch (moduleResolution) { + case 3 /* Node16 */: + case 99 /* NodeNext */: + case 100 /* Bundler */: + return true; + } + return false; + } + }, + resolvePackageJsonImports: { + dependencies: ["moduleResolution", "resolvePackageJsonExports"], + computeValue: (compilerOptions) => { + const moduleResolution = _computedOptions.moduleResolution.computeValue(compilerOptions); + if (!moduleResolutionSupportsPackageJsonExportsAndImports(moduleResolution)) { + return false; + } + if (compilerOptions.resolvePackageJsonExports !== void 0) { + return compilerOptions.resolvePackageJsonExports; + } + switch (moduleResolution) { + case 3 /* Node16 */: + case 99 /* NodeNext */: + case 100 /* Bundler */: + return true; + } + return false; + } + }, + resolveJsonModule: { + dependencies: ["moduleResolution", "module", "target"], + computeValue: (compilerOptions) => { + if (compilerOptions.resolveJsonModule !== void 0) { + return compilerOptions.resolveJsonModule; + } + return _computedOptions.moduleResolution.computeValue(compilerOptions) === 100 /* Bundler */; + } + }, + declaration: { + dependencies: ["composite"], + computeValue: (compilerOptions) => { + return !!(compilerOptions.declaration || compilerOptions.composite); + } + }, + preserveConstEnums: { + dependencies: ["isolatedModules", "verbatimModuleSyntax"], + computeValue: (compilerOptions) => { + return !!(compilerOptions.preserveConstEnums || _computedOptions.isolatedModules.computeValue(compilerOptions)); + } + }, + incremental: { + dependencies: ["composite"], + computeValue: (compilerOptions) => { + return !!(compilerOptions.incremental || compilerOptions.composite); + } + }, + declarationMap: { + dependencies: ["declaration", "composite"], + computeValue: (compilerOptions) => { + return !!(compilerOptions.declarationMap && _computedOptions.declaration.computeValue(compilerOptions)); + } + }, + allowJs: { + dependencies: ["checkJs"], + computeValue: (compilerOptions) => { + return compilerOptions.allowJs === void 0 ? !!compilerOptions.checkJs : compilerOptions.allowJs; + } + }, + useDefineForClassFields: { + dependencies: ["target", "module"], + computeValue: (compilerOptions) => { + return compilerOptions.useDefineForClassFields === void 0 ? _computedOptions.target.computeValue(compilerOptions) >= 9 /* ES2022 */ : compilerOptions.useDefineForClassFields; + } + }, + noImplicitAny: { + dependencies: ["strict"], + computeValue: (compilerOptions) => { + return getStrictOptionValue(compilerOptions, "noImplicitAny"); + } + }, + noImplicitThis: { + dependencies: ["strict"], + computeValue: (compilerOptions) => { + return getStrictOptionValue(compilerOptions, "noImplicitThis"); + } + }, + strictNullChecks: { + dependencies: ["strict"], + computeValue: (compilerOptions) => { + return getStrictOptionValue(compilerOptions, "strictNullChecks"); + } + }, + strictFunctionTypes: { + dependencies: ["strict"], + computeValue: (compilerOptions) => { + return getStrictOptionValue(compilerOptions, "strictFunctionTypes"); + } + }, + strictBindCallApply: { + dependencies: ["strict"], + computeValue: (compilerOptions) => { + return getStrictOptionValue(compilerOptions, "strictBindCallApply"); + } + }, + strictPropertyInitialization: { + dependencies: ["strict"], + computeValue: (compilerOptions) => { + return getStrictOptionValue(compilerOptions, "strictPropertyInitialization"); + } + }, + strictBuiltinIteratorReturn: { + dependencies: ["strict"], + computeValue: (compilerOptions) => { + return getStrictOptionValue(compilerOptions, "strictBuiltinIteratorReturn"); + } + }, + alwaysStrict: { + dependencies: ["strict"], + computeValue: (compilerOptions) => { + return getStrictOptionValue(compilerOptions, "alwaysStrict"); + } + }, + useUnknownInCatchVariables: { + dependencies: ["strict"], + computeValue: (compilerOptions) => { + return getStrictOptionValue(compilerOptions, "useUnknownInCatchVariables"); + } + } +}); +var computedOptions = _computedOptions; +var getAllowImportingTsExtensions = _computedOptions.allowImportingTsExtensions.computeValue; +var getEmitScriptTarget = _computedOptions.target.computeValue; +var getEmitModuleKind = _computedOptions.module.computeValue; +var getEmitModuleResolutionKind = _computedOptions.moduleResolution.computeValue; +var getEmitModuleDetectionKind = _computedOptions.moduleDetection.computeValue; +var getIsolatedModules = _computedOptions.isolatedModules.computeValue; +var getESModuleInterop = _computedOptions.esModuleInterop.computeValue; +var getAllowSyntheticDefaultImports = _computedOptions.allowSyntheticDefaultImports.computeValue; +var getResolvePackageJsonExports = _computedOptions.resolvePackageJsonExports.computeValue; +var getResolvePackageJsonImports = _computedOptions.resolvePackageJsonImports.computeValue; +var getResolveJsonModule = _computedOptions.resolveJsonModule.computeValue; +var getEmitDeclarations = _computedOptions.declaration.computeValue; +var shouldPreserveConstEnums = _computedOptions.preserveConstEnums.computeValue; +var isIncrementalCompilation = _computedOptions.incremental.computeValue; +var getAreDeclarationMapsEnabled = _computedOptions.declarationMap.computeValue; +var getAllowJSCompilerOption = _computedOptions.allowJs.computeValue; +var getUseDefineForClassFields = _computedOptions.useDefineForClassFields.computeValue; +function emitModuleKindIsNonNodeESM(moduleKind) { + return moduleKind >= 5 /* ES2015 */ && moduleKind <= 99 /* ESNext */; +} +function hasJsonModuleEmitEnabled(options) { + switch (getEmitModuleKind(options)) { + case 0 /* None */: + case 4 /* System */: + case 3 /* UMD */: + return false; + } + return true; +} +function unreachableCodeIsError(options) { + return options.allowUnreachableCode === false; +} +function unusedLabelIsError(options) { + return options.allowUnusedLabels === false; +} +function moduleResolutionSupportsPackageJsonExportsAndImports(moduleResolution) { + return moduleResolution >= 3 /* Node16 */ && moduleResolution <= 99 /* NodeNext */ || moduleResolution === 100 /* Bundler */; +} +function getStrictOptionValue(compilerOptions, flag) { + return compilerOptions[flag] === void 0 ? !!compilerOptions.strict : !!compilerOptions[flag]; +} +function getNameOfScriptTarget(scriptTarget) { + return forEachEntry(targetOptionDeclaration.type, (value, key) => value === scriptTarget ? key : void 0); +} +function getEmitStandardClassFields(compilerOptions) { + return compilerOptions.useDefineForClassFields !== false && getEmitScriptTarget(compilerOptions) >= 9 /* ES2022 */; +} +function compilerOptionsAffectSemanticDiagnostics(newOptions, oldOptions) { + return optionsHaveChanges(oldOptions, newOptions, semanticDiagnosticsOptionDeclarations); +} +function compilerOptionsAffectEmit(newOptions, oldOptions) { + return optionsHaveChanges(oldOptions, newOptions, affectsEmitOptionDeclarations); +} +function compilerOptionsAffectDeclarationPath(newOptions, oldOptions) { + return optionsHaveChanges(oldOptions, newOptions, affectsDeclarationPathOptionDeclarations); +} +function getCompilerOptionValue(options, option) { + return option.strictFlag ? getStrictOptionValue(options, option.name) : option.allowJsFlag ? getAllowJSCompilerOption(options) : options[option.name]; +} +function getJSXTransformEnabled(options) { + const jsx = options.jsx; + return jsx === 2 /* React */ || jsx === 4 /* ReactJSX */ || jsx === 5 /* ReactJSXDev */; +} +function getJSXImplicitImportBase(compilerOptions, file) { + const jsxImportSourcePragmas = file == null ? void 0 : file.pragmas.get("jsximportsource"); + const jsxImportSourcePragma = isArray(jsxImportSourcePragmas) ? jsxImportSourcePragmas[jsxImportSourcePragmas.length - 1] : jsxImportSourcePragmas; + const jsxRuntimePragmas = file == null ? void 0 : file.pragmas.get("jsxruntime"); + const jsxRuntimePragma = isArray(jsxRuntimePragmas) ? jsxRuntimePragmas[jsxRuntimePragmas.length - 1] : jsxRuntimePragmas; + if ((jsxRuntimePragma == null ? void 0 : jsxRuntimePragma.arguments.factory) === "classic") { + return void 0; + } + return compilerOptions.jsx === 4 /* ReactJSX */ || compilerOptions.jsx === 5 /* ReactJSXDev */ || compilerOptions.jsxImportSource || jsxImportSourcePragma || (jsxRuntimePragma == null ? void 0 : jsxRuntimePragma.arguments.factory) === "automatic" ? (jsxImportSourcePragma == null ? void 0 : jsxImportSourcePragma.arguments.factory) || compilerOptions.jsxImportSource || "react" : void 0; +} +function getJSXRuntimeImport(base, options) { + return base ? `${base}/${options.jsx === 5 /* ReactJSXDev */ ? "jsx-dev-runtime" : "jsx-runtime"}` : void 0; +} +function hasZeroOrOneAsteriskCharacter(str) { + let seenAsterisk = false; + for (let i = 0; i < str.length; i++) { + if (str.charCodeAt(i) === 42 /* asterisk */) { + if (!seenAsterisk) { + seenAsterisk = true; + } else { + return false; + } + } + } + return true; +} +function createSymlinkCache(cwd, getCanonicalFileName) { + let symlinkedDirectories; + let symlinkedDirectoriesByRealpath; + let symlinkedFiles; + let hasProcessedResolutions = false; + return { + getSymlinkedFiles: () => symlinkedFiles, + getSymlinkedDirectories: () => symlinkedDirectories, + getSymlinkedDirectoriesByRealpath: () => symlinkedDirectoriesByRealpath, + setSymlinkedFile: (path, real) => (symlinkedFiles || (symlinkedFiles = /* @__PURE__ */ new Map())).set(path, real), + setSymlinkedDirectory: (symlink, real) => { + let symlinkPath = toPath(symlink, cwd, getCanonicalFileName); + if (!containsIgnoredPath(symlinkPath)) { + symlinkPath = ensureTrailingDirectorySeparator(symlinkPath); + if (real !== false && !(symlinkedDirectories == null ? void 0 : symlinkedDirectories.has(symlinkPath))) { + (symlinkedDirectoriesByRealpath || (symlinkedDirectoriesByRealpath = createMultiMap())).add(real.realPath, symlink); + } + (symlinkedDirectories || (symlinkedDirectories = /* @__PURE__ */ new Map())).set(symlinkPath, real); + } + }, + setSymlinksFromResolutions(forEachResolvedModule, forEachResolvedTypeReferenceDirective, typeReferenceDirectives) { + Debug.assert(!hasProcessedResolutions); + hasProcessedResolutions = true; + forEachResolvedModule((resolution) => processResolution(this, resolution.resolvedModule)); + forEachResolvedTypeReferenceDirective((resolution) => processResolution(this, resolution.resolvedTypeReferenceDirective)); + typeReferenceDirectives.forEach((resolution) => processResolution(this, resolution.resolvedTypeReferenceDirective)); + }, + hasProcessedResolutions: () => hasProcessedResolutions, + setSymlinksFromResolution(resolution) { + processResolution(this, resolution); + }, + hasAnySymlinks + }; + function hasAnySymlinks() { + return !!(symlinkedFiles == null ? void 0 : symlinkedFiles.size) || !!symlinkedDirectories && !!forEachEntry(symlinkedDirectories, (value) => !!value); + } + function processResolution(cache, resolution) { + if (!resolution || !resolution.originalPath || !resolution.resolvedFileName) return; + const { resolvedFileName, originalPath } = resolution; + cache.setSymlinkedFile(toPath(originalPath, cwd, getCanonicalFileName), resolvedFileName); + const [commonResolved, commonOriginal] = guessDirectorySymlink(resolvedFileName, originalPath, cwd, getCanonicalFileName) || emptyArray; + if (commonResolved && commonOriginal) { + cache.setSymlinkedDirectory( + commonOriginal, + { + real: ensureTrailingDirectorySeparator(commonResolved), + realPath: ensureTrailingDirectorySeparator(toPath(commonResolved, cwd, getCanonicalFileName)) + } + ); + } + } +} +function guessDirectorySymlink(a, b, cwd, getCanonicalFileName) { + const aParts = getPathComponents(getNormalizedAbsolutePath(a, cwd)); + const bParts = getPathComponents(getNormalizedAbsolutePath(b, cwd)); + let isDirectory = false; + while (aParts.length >= 2 && bParts.length >= 2 && !isNodeModulesOrScopedPackageDirectory(aParts[aParts.length - 2], getCanonicalFileName) && !isNodeModulesOrScopedPackageDirectory(bParts[bParts.length - 2], getCanonicalFileName) && getCanonicalFileName(aParts[aParts.length - 1]) === getCanonicalFileName(bParts[bParts.length - 1])) { + aParts.pop(); + bParts.pop(); + isDirectory = true; + } + return isDirectory ? [getPathFromPathComponents(aParts), getPathFromPathComponents(bParts)] : void 0; +} +function isNodeModulesOrScopedPackageDirectory(s, getCanonicalFileName) { + return s !== void 0 && (getCanonicalFileName(s) === "node_modules" || startsWith(s, "@")); +} +var reservedCharacterPattern = /[^\w\s/]/g; +var wildcardCharCodes = [42 /* asterisk */, 63 /* question */]; +var commonPackageFolders = ["node_modules", "bower_components", "jspm_packages"]; +var implicitExcludePathRegexPattern = `(?!(${commonPackageFolders.join("|")})(/|$))`; +var filesMatcher = { + /** + * Matches any single directory segment unless it is the last segment and a .min.js file + * Breakdown: + * [^./] # matches everything up to the first . character (excluding directory separators) + * (\\.(?!min\\.js$))? # matches . characters but not if they are part of the .min.js file extension + */ + singleAsteriskRegexFragment: "([^./]|(\\.(?!min\\.js$))?)*", + /** + * Regex for the ** wildcard. Matches any number of subdirectories. When used for including + * files or directories, does not match subdirectories that start with a . character + */ + doubleAsteriskRegexFragment: `(/${implicitExcludePathRegexPattern}[^/.][^/]*)*?`, + replaceWildcardCharacter: (match) => replaceWildcardCharacter(match, filesMatcher.singleAsteriskRegexFragment) +}; +var directoriesMatcher = { + singleAsteriskRegexFragment: "[^/]*", + /** + * Regex for the ** wildcard. Matches any number of subdirectories. When used for including + * files or directories, does not match subdirectories that start with a . character + */ + doubleAsteriskRegexFragment: `(/${implicitExcludePathRegexPattern}[^/.][^/]*)*?`, + replaceWildcardCharacter: (match) => replaceWildcardCharacter(match, directoriesMatcher.singleAsteriskRegexFragment) +}; +var excludeMatcher = { + singleAsteriskRegexFragment: "[^/]*", + doubleAsteriskRegexFragment: "(/.+?)?", + replaceWildcardCharacter: (match) => replaceWildcardCharacter(match, excludeMatcher.singleAsteriskRegexFragment) +}; +var wildcardMatchers = { + files: filesMatcher, + directories: directoriesMatcher, + exclude: excludeMatcher +}; +function getRegularExpressionForWildcard(specs, basePath, usage) { + const patterns = getRegularExpressionsForWildcards(specs, basePath, usage); + if (!patterns || !patterns.length) { + return void 0; + } + const pattern = patterns.map((pattern2) => `(${pattern2})`).join("|"); + const terminator = usage === "exclude" ? "($|/)" : "$"; + return `^(${pattern})${terminator}`; +} +function getRegularExpressionsForWildcards(specs, basePath, usage) { + if (specs === void 0 || specs.length === 0) { + return void 0; + } + return flatMap(specs, (spec) => spec && getSubPatternFromSpec(spec, basePath, usage, wildcardMatchers[usage])); +} +function isImplicitGlob(lastPathComponent) { + return !/[.*?]/.test(lastPathComponent); +} +function getPatternFromSpec(spec, basePath, usage) { + const pattern = spec && getSubPatternFromSpec(spec, basePath, usage, wildcardMatchers[usage]); + return pattern && `^(${pattern})${usage === "exclude" ? "($|/)" : "$"}`; +} +function getSubPatternFromSpec(spec, basePath, usage, { singleAsteriskRegexFragment, doubleAsteriskRegexFragment, replaceWildcardCharacter: replaceWildcardCharacter2 } = wildcardMatchers[usage]) { + let subpattern = ""; + let hasWrittenComponent = false; + const components = getNormalizedPathComponents(spec, basePath); + const lastComponent = last(components); + if (usage !== "exclude" && lastComponent === "**") { + return void 0; + } + components[0] = removeTrailingDirectorySeparator(components[0]); + if (isImplicitGlob(lastComponent)) { + components.push("**", "*"); + } + let optionalCount = 0; + for (let component of components) { + if (component === "**") { + subpattern += doubleAsteriskRegexFragment; + } else { + if (usage === "directories") { + subpattern += "("; + optionalCount++; + } + if (hasWrittenComponent) { + subpattern += directorySeparator; + } + if (usage !== "exclude") { + let componentPattern = ""; + if (component.charCodeAt(0) === 42 /* asterisk */) { + componentPattern += "([^./]" + singleAsteriskRegexFragment + ")?"; + component = component.substr(1); + } else if (component.charCodeAt(0) === 63 /* question */) { + componentPattern += "[^./]"; + component = component.substr(1); + } + componentPattern += component.replace(reservedCharacterPattern, replaceWildcardCharacter2); + if (componentPattern !== component) { + subpattern += implicitExcludePathRegexPattern; + } + subpattern += componentPattern; + } else { + subpattern += component.replace(reservedCharacterPattern, replaceWildcardCharacter2); + } + } + hasWrittenComponent = true; + } + while (optionalCount > 0) { + subpattern += ")?"; + optionalCount--; + } + return subpattern; +} +function replaceWildcardCharacter(match, singleAsteriskRegexFragment) { + return match === "*" ? singleAsteriskRegexFragment : match === "?" ? "[^/]" : "\\" + match; +} +function getFileMatcherPatterns(path, excludes, includes, useCaseSensitiveFileNames2, currentDirectory) { + path = normalizePath(path); + currentDirectory = normalizePath(currentDirectory); + const absolutePath = combinePaths(currentDirectory, path); + return { + includeFilePatterns: map(getRegularExpressionsForWildcards(includes, absolutePath, "files"), (pattern) => `^${pattern}$`), + includeFilePattern: getRegularExpressionForWildcard(includes, absolutePath, "files"), + includeDirectoryPattern: getRegularExpressionForWildcard(includes, absolutePath, "directories"), + excludePattern: getRegularExpressionForWildcard(excludes, absolutePath, "exclude"), + basePaths: getBasePaths(path, includes, useCaseSensitiveFileNames2) + }; +} +function getRegexFromPattern(pattern, useCaseSensitiveFileNames2) { + return new RegExp(pattern, useCaseSensitiveFileNames2 ? "" : "i"); +} +function matchFiles(path, extensions, excludes, includes, useCaseSensitiveFileNames2, currentDirectory, depth, getFileSystemEntries, realpath) { + path = normalizePath(path); + currentDirectory = normalizePath(currentDirectory); + const patterns = getFileMatcherPatterns(path, excludes, includes, useCaseSensitiveFileNames2, currentDirectory); + const includeFileRegexes = patterns.includeFilePatterns && patterns.includeFilePatterns.map((pattern) => getRegexFromPattern(pattern, useCaseSensitiveFileNames2)); + const includeDirectoryRegex = patterns.includeDirectoryPattern && getRegexFromPattern(patterns.includeDirectoryPattern, useCaseSensitiveFileNames2); + const excludeRegex = patterns.excludePattern && getRegexFromPattern(patterns.excludePattern, useCaseSensitiveFileNames2); + const results = includeFileRegexes ? includeFileRegexes.map(() => []) : [[]]; + const visited = /* @__PURE__ */ new Map(); + const toCanonical = createGetCanonicalFileName(useCaseSensitiveFileNames2); + for (const basePath of patterns.basePaths) { + visitDirectory(basePath, combinePaths(currentDirectory, basePath), depth); + } + return flatten(results); + function visitDirectory(path2, absolutePath, depth2) { + const canonicalPath = toCanonical(realpath(absolutePath)); + if (visited.has(canonicalPath)) return; + visited.set(canonicalPath, true); + const { files, directories } = getFileSystemEntries(path2); + for (const current of toSorted(files, compareStringsCaseSensitive)) { + const name = combinePaths(path2, current); + const absoluteName = combinePaths(absolutePath, current); + if (extensions && !fileExtensionIsOneOf(name, extensions)) continue; + if (excludeRegex && excludeRegex.test(absoluteName)) continue; + if (!includeFileRegexes) { + results[0].push(name); + } else { + const includeIndex = findIndex(includeFileRegexes, (re) => re.test(absoluteName)); + if (includeIndex !== -1) { + results[includeIndex].push(name); + } + } + } + if (depth2 !== void 0) { + depth2--; + if (depth2 === 0) { + return; + } + } + for (const current of toSorted(directories, compareStringsCaseSensitive)) { + const name = combinePaths(path2, current); + const absoluteName = combinePaths(absolutePath, current); + if ((!includeDirectoryRegex || includeDirectoryRegex.test(absoluteName)) && (!excludeRegex || !excludeRegex.test(absoluteName))) { + visitDirectory(name, absoluteName, depth2); + } + } + } +} +function getBasePaths(path, includes, useCaseSensitiveFileNames2) { + const basePaths = [path]; + if (includes) { + const includeBasePaths = []; + for (const include of includes) { + const absolute = isRootedDiskPath(include) ? include : normalizePath(combinePaths(path, include)); + includeBasePaths.push(getIncludeBasePath(absolute)); + } + includeBasePaths.sort(getStringComparer(!useCaseSensitiveFileNames2)); + for (const includeBasePath of includeBasePaths) { + if (every(basePaths, (basePath) => !containsPath(basePath, includeBasePath, path, !useCaseSensitiveFileNames2))) { + basePaths.push(includeBasePath); + } + } + } + return basePaths; +} +function getIncludeBasePath(absolute) { + const wildcardOffset = indexOfAnyCharCode(absolute, wildcardCharCodes); + if (wildcardOffset < 0) { + return !hasExtension(absolute) ? absolute : removeTrailingDirectorySeparator(getDirectoryPath(absolute)); + } + return absolute.substring(0, absolute.lastIndexOf(directorySeparator, wildcardOffset)); +} +function ensureScriptKind(fileName, scriptKind) { + return scriptKind || getScriptKindFromFileName(fileName) || 3 /* TS */; +} +function getScriptKindFromFileName(fileName) { + const ext = fileName.substr(fileName.lastIndexOf(".")); + switch (ext.toLowerCase()) { + case ".js" /* Js */: + case ".cjs" /* Cjs */: + case ".mjs" /* Mjs */: + return 1 /* JS */; + case ".jsx" /* Jsx */: + return 2 /* JSX */; + case ".ts" /* Ts */: + case ".cts" /* Cts */: + case ".mts" /* Mts */: + return 3 /* TS */; + case ".tsx" /* Tsx */: + return 4 /* TSX */; + case ".json" /* Json */: + return 6 /* JSON */; + default: + return 0 /* Unknown */; + } +} +var supportedTSExtensions = [[".ts" /* Ts */, ".tsx" /* Tsx */, ".d.ts" /* Dts */], [".cts" /* Cts */, ".d.cts" /* Dcts */], [".mts" /* Mts */, ".d.mts" /* Dmts */]]; +var supportedTSExtensionsFlat = flatten(supportedTSExtensions); +var supportedTSExtensionsWithJson = [...supportedTSExtensions, [".json" /* Json */]]; +var supportedTSExtensionsForExtractExtension = [".d.ts" /* Dts */, ".d.cts" /* Dcts */, ".d.mts" /* Dmts */, ".cts" /* Cts */, ".mts" /* Mts */, ".ts" /* Ts */, ".tsx" /* Tsx */]; +var supportedJSExtensions = [[".js" /* Js */, ".jsx" /* Jsx */], [".mjs" /* Mjs */], [".cjs" /* Cjs */]]; +var supportedJSExtensionsFlat = flatten(supportedJSExtensions); +var allSupportedExtensions = [[".ts" /* Ts */, ".tsx" /* Tsx */, ".d.ts" /* Dts */, ".js" /* Js */, ".jsx" /* Jsx */], [".cts" /* Cts */, ".d.cts" /* Dcts */, ".cjs" /* Cjs */], [".mts" /* Mts */, ".d.mts" /* Dmts */, ".mjs" /* Mjs */]]; +var allSupportedExtensionsWithJson = [...allSupportedExtensions, [".json" /* Json */]]; +var supportedDeclarationExtensions = [".d.ts" /* Dts */, ".d.cts" /* Dcts */, ".d.mts" /* Dmts */]; +var supportedTSImplementationExtensions = [".ts" /* Ts */, ".cts" /* Cts */, ".mts" /* Mts */, ".tsx" /* Tsx */]; +var extensionsNotSupportingExtensionlessResolution = [".mts" /* Mts */, ".d.mts" /* Dmts */, ".mjs" /* Mjs */, ".cts" /* Cts */, ".d.cts" /* Dcts */, ".cjs" /* Cjs */]; +function getSupportedExtensions(options, extraFileExtensions) { + const needJsExtensions = options && getAllowJSCompilerOption(options); + if (!extraFileExtensions || extraFileExtensions.length === 0) { + return needJsExtensions ? allSupportedExtensions : supportedTSExtensions; + } + const builtins = needJsExtensions ? allSupportedExtensions : supportedTSExtensions; + const flatBuiltins = flatten(builtins); + const extensions = [ + ...builtins, + ...mapDefined(extraFileExtensions, (x) => x.scriptKind === 7 /* Deferred */ || needJsExtensions && isJSLike(x.scriptKind) && !flatBuiltins.includes(x.extension) ? [x.extension] : void 0) + ]; + return extensions; +} +function getSupportedExtensionsWithJsonIfResolveJsonModule(options, supportedExtensions) { + if (!options || !getResolveJsonModule(options)) return supportedExtensions; + if (supportedExtensions === allSupportedExtensions) return allSupportedExtensionsWithJson; + if (supportedExtensions === supportedTSExtensions) return supportedTSExtensionsWithJson; + return [...supportedExtensions, [".json" /* Json */]]; +} +function isJSLike(scriptKind) { + return scriptKind === 1 /* JS */ || scriptKind === 2 /* JSX */; +} +function hasJSFileExtension(fileName) { + return some(supportedJSExtensionsFlat, (extension) => fileExtensionIs(fileName, extension)); +} +function hasTSFileExtension(fileName) { + return some(supportedTSExtensionsFlat, (extension) => fileExtensionIs(fileName, extension)); +} +function hasImplementationTSFileExtension(fileName) { + return some(supportedTSImplementationExtensions, (extension) => fileExtensionIs(fileName, extension)) && !isDeclarationFileName(fileName); +} +function usesExtensionsOnImports({ imports }, hasExtension2 = or(hasJSFileExtension, hasTSFileExtension)) { + return firstDefined(imports, ({ text }) => pathIsRelative(text) && !fileExtensionIsOneOf(text, extensionsNotSupportingExtensionlessResolution) ? hasExtension2(text) : void 0) || false; +} +function getModuleSpecifierEndingPreference(preference, resolutionMode, compilerOptions, sourceFile) { + const moduleResolution = getEmitModuleResolutionKind(compilerOptions); + const moduleResolutionIsNodeNext = 3 /* Node16 */ <= moduleResolution && moduleResolution <= 99 /* NodeNext */; + if (preference === "js" || resolutionMode === 99 /* ESNext */ && moduleResolutionIsNodeNext) { + if (!shouldAllowImportingTsExtension(compilerOptions)) { + return 2 /* JsExtension */; + } + return inferPreference() !== 2 /* JsExtension */ ? 3 /* TsExtension */ : 2 /* JsExtension */; + } + if (preference === "minimal") { + return 0 /* Minimal */; + } + if (preference === "index") { + return 1 /* Index */; + } + if (!shouldAllowImportingTsExtension(compilerOptions)) { + return sourceFile && usesExtensionsOnImports(sourceFile) ? 2 /* JsExtension */ : 0 /* Minimal */; + } + return inferPreference(); + function inferPreference() { + let usesJsExtensions = false; + const specifiers = (sourceFile == null ? void 0 : sourceFile.imports.length) ? sourceFile.imports : sourceFile && isSourceFileJS(sourceFile) ? getRequiresAtTopOfFile(sourceFile).map((r) => r.arguments[0]) : emptyArray; + for (const specifier of specifiers) { + if (pathIsRelative(specifier.text)) { + if (moduleResolutionIsNodeNext && resolutionMode === 1 /* CommonJS */ && getModeForUsageLocation(sourceFile, specifier, compilerOptions) === 99 /* ESNext */) { + continue; + } + if (fileExtensionIsOneOf(specifier.text, extensionsNotSupportingExtensionlessResolution)) { + continue; + } + if (hasTSFileExtension(specifier.text)) { + return 3 /* TsExtension */; + } + if (hasJSFileExtension(specifier.text)) { + usesJsExtensions = true; + } + } + } + return usesJsExtensions ? 2 /* JsExtension */ : 0 /* Minimal */; + } +} +function getRequiresAtTopOfFile(sourceFile) { + let nonRequireStatementCount = 0; + let requires; + for (const statement of sourceFile.statements) { + if (nonRequireStatementCount > 3) { + break; + } + if (isRequireVariableStatement(statement)) { + requires = concatenate(requires, statement.declarationList.declarations.map((d) => d.initializer)); + } else if (isExpressionStatement(statement) && isRequireCall( + statement.expression, + /*requireStringLiteralLikeArgument*/ + true + )) { + requires = append(requires, statement.expression); + } else { + nonRequireStatementCount++; + } + } + return requires || emptyArray; +} +function isSupportedSourceFileName(fileName, compilerOptions, extraFileExtensions) { + if (!fileName) return false; + const supportedExtensions = getSupportedExtensions(compilerOptions, extraFileExtensions); + for (const extension of flatten(getSupportedExtensionsWithJsonIfResolveJsonModule(compilerOptions, supportedExtensions))) { + if (fileExtensionIs(fileName, extension)) { + return true; + } + } + return false; +} +function numberOfDirectorySeparators(str) { + const match = str.match(/\//g); + return match ? match.length : 0; +} +function compareNumberOfDirectorySeparators(path1, path2) { + return compareValues( + numberOfDirectorySeparators(path1), + numberOfDirectorySeparators(path2) + ); +} +var extensionsToRemove = [".d.ts" /* Dts */, ".d.mts" /* Dmts */, ".d.cts" /* Dcts */, ".mjs" /* Mjs */, ".mts" /* Mts */, ".cjs" /* Cjs */, ".cts" /* Cts */, ".ts" /* Ts */, ".js" /* Js */, ".tsx" /* Tsx */, ".jsx" /* Jsx */, ".json" /* Json */]; +function removeFileExtension(path) { + for (const ext of extensionsToRemove) { + const extensionless = tryRemoveExtension(path, ext); + if (extensionless !== void 0) { + return extensionless; + } + } + return path; +} +function tryRemoveExtension(path, extension) { + return fileExtensionIs(path, extension) ? removeExtension(path, extension) : void 0; +} +function removeExtension(path, extension) { + return path.substring(0, path.length - extension.length); +} +function changeExtension(path, newExtension) { + return changeAnyExtension( + path, + newExtension, + extensionsToRemove, + /*ignoreCase*/ + false + ); +} +function tryParsePattern(pattern) { + const indexOfStar = pattern.indexOf("*"); + if (indexOfStar === -1) { + return pattern; + } + return pattern.indexOf("*", indexOfStar + 1) !== -1 ? void 0 : { + prefix: pattern.substr(0, indexOfStar), + suffix: pattern.substr(indexOfStar + 1) + }; +} +var parsedPatternsCache = /* @__PURE__ */ new WeakMap(); +function tryParsePatterns(paths) { + let result = parsedPatternsCache.get(paths); + if (result !== void 0) { + return result; + } + let matchableStringSet; + let patterns; + const pathList = getOwnKeys(paths); + for (const path of pathList) { + const patternOrStr = tryParsePattern(path); + if (patternOrStr === void 0) { + continue; + } else if (typeof patternOrStr === "string") { + (matchableStringSet ?? (matchableStringSet = /* @__PURE__ */ new Set())).add(patternOrStr); + } else { + (patterns ?? (patterns = [])).push(patternOrStr); + } + } + parsedPatternsCache.set( + paths, + result = { + matchableStringSet, + patterns + } + ); + return result; +} +function positionIsSynthesized(pos) { + return !(pos >= 0); +} +function extensionIsTS(ext) { + return ext === ".ts" /* Ts */ || ext === ".tsx" /* Tsx */ || ext === ".d.ts" /* Dts */ || ext === ".cts" /* Cts */ || ext === ".mts" /* Mts */ || ext === ".d.mts" /* Dmts */ || ext === ".d.cts" /* Dcts */ || startsWith(ext, ".d.") && endsWith(ext, ".ts"); +} +function resolutionExtensionIsTSOrJson(ext) { + return extensionIsTS(ext) || ext === ".json" /* Json */; +} +function extensionFromPath(path) { + const ext = tryGetExtensionFromPath2(path); + return ext !== void 0 ? ext : Debug.fail(`File ${path} has unknown extension.`); +} +function tryGetExtensionFromPath2(path) { + return find(extensionsToRemove, (e) => fileExtensionIs(path, e)); +} +function isCheckJsEnabledForFile(sourceFile, compilerOptions) { + return sourceFile.checkJsDirective ? sourceFile.checkJsDirective.enabled : compilerOptions.checkJs; +} +var emptyFileSystemEntries = { + files: emptyArray, + directories: emptyArray +}; +function matchPatternOrExact(parsedPatterns, candidate) { + const { matchableStringSet, patterns } = parsedPatterns; + if (matchableStringSet == null ? void 0 : matchableStringSet.has(candidate)) { + return candidate; + } + if (patterns === void 0 || patterns.length === 0) { + return void 0; + } + return findBestPatternMatch(patterns, (_) => _, candidate); +} +function sliceAfter(arr, value) { + const index = arr.indexOf(value); + Debug.assert(index !== -1); + return arr.slice(index); +} +function addRelatedInfo(diagnostic, ...relatedInformation) { + if (!relatedInformation.length) { + return diagnostic; + } + if (!diagnostic.relatedInformation) { + diagnostic.relatedInformation = []; + } + Debug.assert(diagnostic.relatedInformation !== emptyArray, "Diagnostic had empty array singleton for related info, but is still being constructed!"); + diagnostic.relatedInformation.push(...relatedInformation); + return diagnostic; +} +function minAndMax(arr, getValue) { + Debug.assert(arr.length !== 0); + let min2 = getValue(arr[0]); + let max = min2; + for (let i = 1; i < arr.length; i++) { + const value = getValue(arr[i]); + if (value < min2) { + min2 = value; + } else if (value > max) { + max = value; + } + } + return { min: min2, max }; +} +function rangeOfNode(node) { + return { pos: getTokenPosOfNode(node), end: node.end }; +} +function rangeOfTypeParameters(sourceFile, typeParameters) { + const pos = typeParameters.pos - 1; + const end = Math.min(sourceFile.text.length, skipTrivia(sourceFile.text, typeParameters.end) + 1); + return { pos, end }; +} +function skipTypeChecking(sourceFile, options, host) { + return skipTypeCheckingWorker( + sourceFile, + options, + host, + /*ignoreNoCheck*/ + false + ); +} +function skipTypeCheckingIgnoringNoCheck(sourceFile, options, host) { + return skipTypeCheckingWorker( + sourceFile, + options, + host, + /*ignoreNoCheck*/ + true + ); +} +function skipTypeCheckingWorker(sourceFile, options, host, ignoreNoCheck) { + return options.skipLibCheck && sourceFile.isDeclarationFile || options.skipDefaultLibCheck && sourceFile.hasNoDefaultLib || !ignoreNoCheck && options.noCheck || host.isSourceOfProjectReferenceRedirect(sourceFile.fileName) || !canIncludeBindAndCheckDiagnostics(sourceFile, options); +} +function canIncludeBindAndCheckDiagnostics(sourceFile, options) { + if (!!sourceFile.checkJsDirective && sourceFile.checkJsDirective.enabled === false) return false; + if (sourceFile.scriptKind === 3 /* TS */ || sourceFile.scriptKind === 4 /* TSX */ || sourceFile.scriptKind === 5 /* External */) return true; + const isJs = sourceFile.scriptKind === 1 /* JS */ || sourceFile.scriptKind === 2 /* JSX */; + const isCheckJs = isJs && isCheckJsEnabledForFile(sourceFile, options); + const isPlainJs = isPlainJsFile(sourceFile, options.checkJs); + return isPlainJs || isCheckJs || sourceFile.scriptKind === 7 /* Deferred */; +} +function isJsonEqual(a, b) { + return a === b || typeof a === "object" && a !== null && typeof b === "object" && b !== null && equalOwnProperties(a, b, isJsonEqual); +} +function parsePseudoBigInt(stringValue) { + let log2Base; + switch (stringValue.charCodeAt(1)) { + // "x" in "0x123" + case 98 /* b */: + case 66 /* B */: + log2Base = 1; + break; + case 111 /* o */: + case 79 /* O */: + log2Base = 3; + break; + case 120 /* x */: + case 88 /* X */: + log2Base = 4; + break; + default: + const nIndex = stringValue.length - 1; + let nonZeroStart = 0; + while (stringValue.charCodeAt(nonZeroStart) === 48 /* _0 */) { + nonZeroStart++; + } + return stringValue.slice(nonZeroStart, nIndex) || "0"; + } + const startIndex = 2, endIndex = stringValue.length - 1; + const bitsNeeded = (endIndex - startIndex) * log2Base; + const segments = new Uint16Array((bitsNeeded >>> 4) + (bitsNeeded & 15 ? 1 : 0)); + for (let i = endIndex - 1, bitOffset = 0; i >= startIndex; i--, bitOffset += log2Base) { + const segment = bitOffset >>> 4; + const digitChar = stringValue.charCodeAt(i); + const digit = digitChar <= 57 /* _9 */ ? digitChar - 48 /* _0 */ : 10 + digitChar - (digitChar <= 70 /* F */ ? 65 /* A */ : 97 /* a */); + const shiftedDigit = digit << (bitOffset & 15); + segments[segment] |= shiftedDigit; + const residual = shiftedDigit >>> 16; + if (residual) segments[segment + 1] |= residual; + } + let base10Value = ""; + let firstNonzeroSegment = segments.length - 1; + let segmentsRemaining = true; + while (segmentsRemaining) { + let mod10 = 0; + segmentsRemaining = false; + for (let segment = firstNonzeroSegment; segment >= 0; segment--) { + const newSegment = mod10 << 16 | segments[segment]; + const segmentValue = newSegment / 10 | 0; + segments[segment] = segmentValue; + mod10 = newSegment - segmentValue * 10; + if (segmentValue && !segmentsRemaining) { + firstNonzeroSegment = segment; + segmentsRemaining = true; + } + } + base10Value = mod10 + base10Value; + } + return base10Value; +} +function pseudoBigIntToString({ negative, base10Value }) { + return (negative && base10Value !== "0" ? "-" : "") + base10Value; +} +function parseValidBigInt(text) { + const negative = text.startsWith("-"); + const base10Value = parsePseudoBigInt(`${negative ? text.slice(1) : text}n`); + return { negative, base10Value }; +} +function isValidBigIntString(s, roundTripOnly) { + if (s === "") return false; + const scanner = createScanner( + 99 /* ESNext */, + /*skipTrivia*/ + false + ); + let success = true; + scanner.setOnError(() => success = false); + scanner.setText(s + "n"); + let result = scanner.scan(); + const negative = result === 41 /* MinusToken */; + if (negative) { + result = scanner.scan(); + } + const flags = scanner.getTokenFlags(); + return success && result === 10 /* BigIntLiteral */ && scanner.getTokenEnd() === s.length + 1 && !(flags & 512 /* ContainsSeparator */) && (!roundTripOnly || s === pseudoBigIntToString({ negative, base10Value: parsePseudoBigInt(scanner.getTokenValue()) })); +} +function isValidTypeOnlyAliasUseSite(useSite) { + return !!(useSite.flags & 33554432 /* Ambient */) || isPartOfTypeQuery(useSite) || isIdentifierInNonEmittingHeritageClause(useSite) || isPartOfPossiblyValidTypeOrAbstractComputedPropertyName(useSite) || !(isExpressionNode(useSite) || isShorthandPropertyNameUseSite(useSite)); +} +function isShorthandPropertyNameUseSite(useSite) { + return isIdentifier(useSite) && isShorthandPropertyAssignment(useSite.parent) && useSite.parent.name === useSite; +} +function isPartOfPossiblyValidTypeOrAbstractComputedPropertyName(node) { + while (node.kind === 80 /* Identifier */ || node.kind === 211 /* PropertyAccessExpression */) { + node = node.parent; + } + if (node.kind !== 167 /* ComputedPropertyName */) { + return false; + } + if (hasSyntacticModifier(node.parent, 64 /* Abstract */)) { + return true; + } + const containerKind = node.parent.parent.kind; + return containerKind === 264 /* InterfaceDeclaration */ || containerKind === 187 /* TypeLiteral */; +} +function isIdentifierInNonEmittingHeritageClause(node) { + if (node.kind !== 80 /* Identifier */) return false; + const heritageClause = findAncestor(node.parent, (parent) => { + switch (parent.kind) { + case 298 /* HeritageClause */: + return true; + case 211 /* PropertyAccessExpression */: + case 233 /* ExpressionWithTypeArguments */: + return false; + default: + return "quit"; + } + }); + return (heritageClause == null ? void 0 : heritageClause.token) === 119 /* ImplementsKeyword */ || (heritageClause == null ? void 0 : heritageClause.parent.kind) === 264 /* InterfaceDeclaration */; +} +function isIdentifierTypeReference(node) { + return isTypeReferenceNode(node) && isIdentifier(node.typeName); +} +function arrayIsHomogeneous(array, comparer = equateValues) { + if (array.length < 2) return true; + const first2 = array[0]; + for (let i = 1, length2 = array.length; i < length2; i++) { + const target = array[i]; + if (!comparer(first2, target)) return false; + } + return true; +} +function setTextRangePos(range, pos) { + range.pos = pos; + return range; +} +function setTextRangeEnd(range, end) { + range.end = end; + return range; +} +function setTextRangePosEnd(range, pos, end) { + return setTextRangeEnd(setTextRangePos(range, pos), end); +} +function setTextRangePosWidth(range, pos, width) { + return setTextRangePosEnd(range, pos, pos + width); +} +function setNodeFlags(node, newFlags) { + if (node) { + node.flags = newFlags; + } + return node; +} +function setParent(child, parent) { + if (child && parent) { + child.parent = parent; + } + return child; +} +function setParentRecursive(rootNode, incremental) { + if (!rootNode) return rootNode; + forEachChildRecursively(rootNode, isJSDocNode(rootNode) ? bindParentToChildIgnoringJSDoc : bindParentToChild); + return rootNode; + function bindParentToChildIgnoringJSDoc(child, parent) { + if (incremental && child.parent === parent) { + return "skip"; + } + setParent(child, parent); + } + function bindJSDoc(child) { + if (hasJSDocNodes(child)) { + for (const doc of child.jsDoc) { + bindParentToChildIgnoringJSDoc(doc, child); + forEachChildRecursively(doc, bindParentToChildIgnoringJSDoc); + } + } + } + function bindParentToChild(child, parent) { + return bindParentToChildIgnoringJSDoc(child, parent) || bindJSDoc(child); + } +} +function isPackedElement(node) { + return !isOmittedExpression(node); +} +function isPackedArrayLiteral(node) { + return isArrayLiteralExpression(node) && every(node.elements, isPackedElement); +} +function expressionResultIsUnused(node) { + Debug.assertIsDefined(node.parent); + while (true) { + const parent = node.parent; + if (isParenthesizedExpression(parent)) { + node = parent; + continue; + } + if (isExpressionStatement(parent) || isVoidExpression(parent) || isForStatement(parent) && (parent.initializer === node || parent.incrementor === node)) { + return true; + } + if (isCommaListExpression(parent)) { + if (node !== last(parent.elements)) return true; + node = parent; + continue; + } + if (isBinaryExpression(parent) && parent.operatorToken.kind === 28 /* CommaToken */) { + if (node === parent.left) return true; + node = parent; + continue; + } + return false; + } +} +function containsIgnoredPath(path) { + return some(ignoredPaths, (p) => path.includes(p)); +} +function getContainingNodeArray(node) { + if (!node.parent) return void 0; + switch (node.kind) { + case 168 /* TypeParameter */: + const { parent: parent2 } = node; + return parent2.kind === 195 /* InferType */ ? void 0 : parent2.typeParameters; + case 169 /* Parameter */: + return node.parent.parameters; + case 204 /* TemplateLiteralTypeSpan */: + return node.parent.templateSpans; + case 239 /* TemplateSpan */: + return node.parent.templateSpans; + case 170 /* Decorator */: { + const { parent: parent3 } = node; + return canHaveDecorators(parent3) ? parent3.modifiers : void 0; + } + case 298 /* HeritageClause */: + return node.parent.heritageClauses; + } + const { parent } = node; + if (isJSDocTag(node)) { + return isJSDocTypeLiteral(node.parent) ? void 0 : node.parent.tags; + } + switch (parent.kind) { + case 187 /* TypeLiteral */: + case 264 /* InterfaceDeclaration */: + return isTypeElement(node) ? parent.members : void 0; + case 192 /* UnionType */: + case 193 /* IntersectionType */: + return parent.types; + case 189 /* TupleType */: + case 209 /* ArrayLiteralExpression */: + case 356 /* CommaListExpression */: + case 275 /* NamedImports */: + case 279 /* NamedExports */: + return parent.elements; + case 210 /* ObjectLiteralExpression */: + case 292 /* JsxAttributes */: + return parent.properties; + case 213 /* CallExpression */: + case 214 /* NewExpression */: + return isTypeNode(node) ? parent.typeArguments : parent.expression === node ? void 0 : parent.arguments; + case 284 /* JsxElement */: + case 288 /* JsxFragment */: + return isJsxChild(node) ? parent.children : void 0; + case 286 /* JsxOpeningElement */: + case 285 /* JsxSelfClosingElement */: + return isTypeNode(node) ? parent.typeArguments : void 0; + case 241 /* Block */: + case 296 /* CaseClause */: + case 297 /* DefaultClause */: + case 268 /* ModuleBlock */: + return parent.statements; + case 269 /* CaseBlock */: + return parent.clauses; + case 263 /* ClassDeclaration */: + case 231 /* ClassExpression */: + return isClassElement(node) ? parent.members : void 0; + case 266 /* EnumDeclaration */: + return isEnumMember(node) ? parent.members : void 0; + case 307 /* SourceFile */: + return parent.statements; + } +} +function hasContextSensitiveParameters(node) { + if (!node.typeParameters) { + if (some(node.parameters, (p) => !getEffectiveTypeAnnotationNode(p))) { + return true; + } + if (node.kind !== 219 /* ArrowFunction */) { + const parameter = firstOrUndefined(node.parameters); + if (!(parameter && parameterIsThisKeyword(parameter))) { + return true; + } + } + } + return false; +} +function isInfinityOrNaNString(name) { + return name === "Infinity" || name === "-Infinity" || name === "NaN"; +} +function isCatchClauseVariableDeclaration(node) { + return node.kind === 260 /* VariableDeclaration */ && node.parent.kind === 299 /* CatchClause */; +} +function isFunctionExpressionOrArrowFunction(node) { + return node.kind === 218 /* FunctionExpression */ || node.kind === 219 /* ArrowFunction */; +} +function isNumericLiteralName(name) { + return (+name).toString() === name; +} +function createPropertyNameNodeForIdentifierOrLiteral(name, target, singleQuote, stringNamed, isMethod) { + const isMethodNamedNew = isMethod && name === "new"; + return !isMethodNamedNew && isIdentifierText(name, target) ? factory.createIdentifier(name) : !stringNamed && !isMethodNamedNew && isNumericLiteralName(name) && +name >= 0 ? factory.createNumericLiteral(+name) : factory.createStringLiteral(name, !!singleQuote); +} +function isThisTypeParameter(type) { + return !!(type.flags & 262144 /* TypeParameter */ && type.isThisType); +} +function getNodeModulePathParts(fullPath) { + let topLevelNodeModulesIndex = 0; + let topLevelPackageNameIndex = 0; + let packageRootIndex = 0; + let fileNameIndex = 0; + let States; + ((States2) => { + States2[States2["BeforeNodeModules"] = 0] = "BeforeNodeModules"; + States2[States2["NodeModules"] = 1] = "NodeModules"; + States2[States2["Scope"] = 2] = "Scope"; + States2[States2["PackageContent"] = 3] = "PackageContent"; + })(States || (States = {})); + let partStart = 0; + let partEnd = 0; + let state = 0 /* BeforeNodeModules */; + while (partEnd >= 0) { + partStart = partEnd; + partEnd = fullPath.indexOf("/", partStart + 1); + switch (state) { + case 0 /* BeforeNodeModules */: + if (fullPath.indexOf(nodeModulesPathPart, partStart) === partStart) { + topLevelNodeModulesIndex = partStart; + topLevelPackageNameIndex = partEnd; + state = 1 /* NodeModules */; + } + break; + case 1 /* NodeModules */: + case 2 /* Scope */: + if (state === 1 /* NodeModules */ && fullPath.charAt(partStart + 1) === "@") { + state = 2 /* Scope */; + } else { + packageRootIndex = partEnd; + state = 3 /* PackageContent */; + } + break; + case 3 /* PackageContent */: + if (fullPath.indexOf(nodeModulesPathPart, partStart) === partStart) { + state = 1 /* NodeModules */; + } else { + state = 3 /* PackageContent */; + } + break; + } + } + fileNameIndex = partStart; + return state > 1 /* NodeModules */ ? { topLevelNodeModulesIndex, topLevelPackageNameIndex, packageRootIndex, fileNameIndex } : void 0; +} +function isTypeDeclaration(node) { + switch (node.kind) { + case 168 /* TypeParameter */: + case 263 /* ClassDeclaration */: + case 264 /* InterfaceDeclaration */: + case 265 /* TypeAliasDeclaration */: + case 266 /* EnumDeclaration */: + case 346 /* JSDocTypedefTag */: + case 338 /* JSDocCallbackTag */: + case 340 /* JSDocEnumTag */: + return true; + case 273 /* ImportClause */: + return node.isTypeOnly; + case 276 /* ImportSpecifier */: + case 281 /* ExportSpecifier */: + return node.parent.parent.isTypeOnly; + default: + return false; + } +} +function canHaveExportModifier(node) { + return isEnumDeclaration(node) || isVariableStatement(node) || isFunctionDeclaration(node) || isClassDeclaration(node) || isInterfaceDeclaration(node) || isTypeDeclaration(node) || isModuleDeclaration(node) && !isExternalModuleAugmentation(node) && !isGlobalScopeAugmentation(node); +} +function isOptionalJSDocPropertyLikeTag(node) { + if (!isJSDocPropertyLikeTag(node)) { + return false; + } + const { isBracketed, typeExpression } = node; + return isBracketed || !!typeExpression && typeExpression.type.kind === 316 /* JSDocOptionalType */; +} +function canUsePropertyAccess(name, languageVersion) { + if (name.length === 0) { + return false; + } + const firstChar = name.charCodeAt(0); + return firstChar === 35 /* hash */ ? name.length > 1 && isIdentifierStart(name.charCodeAt(1), languageVersion) : isIdentifierStart(firstChar, languageVersion); +} +function isJSDocOptionalParameter(node) { + return isInJSFile(node) && // node.type should only be a JSDocOptionalType when node is a parameter of a JSDocFunctionType + (node.type && node.type.kind === 316 /* JSDocOptionalType */ || getJSDocParameterTags(node).some(isOptionalJSDocPropertyLikeTag)); +} +function isOptionalDeclaration(declaration) { + switch (declaration.kind) { + case 172 /* PropertyDeclaration */: + case 171 /* PropertySignature */: + return !!declaration.questionToken; + case 169 /* Parameter */: + return !!declaration.questionToken || isJSDocOptionalParameter(declaration); + case 348 /* JSDocPropertyTag */: + case 341 /* JSDocParameterTag */: + return isOptionalJSDocPropertyLikeTag(declaration); + default: + return false; + } +} +function isNonNullAccess(node) { + const kind = node.kind; + return (kind === 211 /* PropertyAccessExpression */ || kind === 212 /* ElementAccessExpression */) && isNonNullExpression(node.expression); +} +function isJSDocSatisfiesExpression(node) { + return isInJSFile(node) && isParenthesizedExpression(node) && hasJSDocNodes(node) && !!getJSDocSatisfiesTag(node); +} +function getJSDocSatisfiesExpressionType(node) { + return Debug.checkDefined(tryGetJSDocSatisfiesTypeNode(node)); +} +function tryGetJSDocSatisfiesTypeNode(node) { + const tag = getJSDocSatisfiesTag(node); + return tag && tag.typeExpression && tag.typeExpression.type; +} +function getEscapedTextOfJsxAttributeName(node) { + return isIdentifier(node) ? node.escapedText : getEscapedTextOfJsxNamespacedName(node); +} +function getTextOfJsxAttributeName(node) { + return isIdentifier(node) ? idText(node) : getTextOfJsxNamespacedName(node); +} +function isJsxAttributeName(node) { + const kind = node.kind; + return kind === 80 /* Identifier */ || kind === 295 /* JsxNamespacedName */; +} +function getEscapedTextOfJsxNamespacedName(node) { + return `${node.namespace.escapedText}:${idText(node.name)}`; +} +function getTextOfJsxNamespacedName(node) { + return `${idText(node.namespace)}:${idText(node.name)}`; +} +function intrinsicTagNameToString(node) { + return isIdentifier(node) ? idText(node) : getTextOfJsxNamespacedName(node); +} +function isTypeUsableAsPropertyName(type) { + return !!(type.flags & 8576 /* StringOrNumberLiteralOrUnique */); +} +function getPropertyNameFromType(type) { + if (type.flags & 8192 /* UniqueESSymbol */) { + return type.escapedName; + } + if (type.flags & (128 /* StringLiteral */ | 256 /* NumberLiteral */)) { + return escapeLeadingUnderscores("" + type.value); + } + return Debug.fail(); +} +function isExpandoPropertyDeclaration(declaration) { + return !!declaration && (isPropertyAccessExpression(declaration) || isElementAccessExpression(declaration) || isBinaryExpression(declaration)); +} +function hasResolutionModeOverride(node) { + if (node === void 0) { + return false; + } + return !!getResolutionModeOverride(node.attributes); +} +var stringReplace = String.prototype.replace; +function replaceFirstStar(s, replacement) { + return stringReplace.call(s, "*", replacement); +} +function getNameFromImportAttribute(node) { + return isIdentifier(node.name) ? node.name.escapedText : escapeLeadingUnderscores(node.name.text); +} +function evaluatorResult(value, isSyntacticallyString = false, resolvedOtherFiles = false, hasExternalReferences = false) { + return { value, isSyntacticallyString, resolvedOtherFiles, hasExternalReferences }; +} +function createEvaluator({ evaluateElementAccessExpression, evaluateEntityNameExpression }) { + function evaluate(expr, location) { + let isSyntacticallyString = false; + let resolvedOtherFiles = false; + let hasExternalReferences = false; + expr = skipParentheses(expr); + switch (expr.kind) { + case 224 /* PrefixUnaryExpression */: + const result = evaluate(expr.operand, location); + resolvedOtherFiles = result.resolvedOtherFiles; + hasExternalReferences = result.hasExternalReferences; + if (typeof result.value === "number") { + switch (expr.operator) { + case 40 /* PlusToken */: + return evaluatorResult(result.value, isSyntacticallyString, resolvedOtherFiles, hasExternalReferences); + case 41 /* MinusToken */: + return evaluatorResult(-result.value, isSyntacticallyString, resolvedOtherFiles, hasExternalReferences); + case 55 /* TildeToken */: + return evaluatorResult(~result.value, isSyntacticallyString, resolvedOtherFiles, hasExternalReferences); + } + } + break; + case 226 /* BinaryExpression */: { + const left = evaluate(expr.left, location); + const right = evaluate(expr.right, location); + isSyntacticallyString = (left.isSyntacticallyString || right.isSyntacticallyString) && expr.operatorToken.kind === 40 /* PlusToken */; + resolvedOtherFiles = left.resolvedOtherFiles || right.resolvedOtherFiles; + hasExternalReferences = left.hasExternalReferences || right.hasExternalReferences; + if (typeof left.value === "number" && typeof right.value === "number") { + switch (expr.operatorToken.kind) { + case 52 /* BarToken */: + return evaluatorResult(left.value | right.value, isSyntacticallyString, resolvedOtherFiles, hasExternalReferences); + case 51 /* AmpersandToken */: + return evaluatorResult(left.value & right.value, isSyntacticallyString, resolvedOtherFiles, hasExternalReferences); + case 49 /* GreaterThanGreaterThanToken */: + return evaluatorResult(left.value >> right.value, isSyntacticallyString, resolvedOtherFiles, hasExternalReferences); + case 50 /* GreaterThanGreaterThanGreaterThanToken */: + return evaluatorResult(left.value >>> right.value, isSyntacticallyString, resolvedOtherFiles, hasExternalReferences); + case 48 /* LessThanLessThanToken */: + return evaluatorResult(left.value << right.value, isSyntacticallyString, resolvedOtherFiles, hasExternalReferences); + case 53 /* CaretToken */: + return evaluatorResult(left.value ^ right.value, isSyntacticallyString, resolvedOtherFiles, hasExternalReferences); + case 42 /* AsteriskToken */: + return evaluatorResult(left.value * right.value, isSyntacticallyString, resolvedOtherFiles, hasExternalReferences); + case 44 /* SlashToken */: + return evaluatorResult(left.value / right.value, isSyntacticallyString, resolvedOtherFiles, hasExternalReferences); + case 40 /* PlusToken */: + return evaluatorResult(left.value + right.value, isSyntacticallyString, resolvedOtherFiles, hasExternalReferences); + case 41 /* MinusToken */: + return evaluatorResult(left.value - right.value, isSyntacticallyString, resolvedOtherFiles, hasExternalReferences); + case 45 /* PercentToken */: + return evaluatorResult(left.value % right.value, isSyntacticallyString, resolvedOtherFiles, hasExternalReferences); + case 43 /* AsteriskAsteriskToken */: + return evaluatorResult(left.value ** right.value, isSyntacticallyString, resolvedOtherFiles, hasExternalReferences); + } + } else if ((typeof left.value === "string" || typeof left.value === "number") && (typeof right.value === "string" || typeof right.value === "number") && expr.operatorToken.kind === 40 /* PlusToken */) { + return evaluatorResult( + "" + left.value + right.value, + isSyntacticallyString, + resolvedOtherFiles, + hasExternalReferences + ); + } + break; + } + case 11 /* StringLiteral */: + case 15 /* NoSubstitutionTemplateLiteral */: + return evaluatorResult( + expr.text, + /*isSyntacticallyString*/ + true + ); + case 228 /* TemplateExpression */: + return evaluateTemplateExpression(expr, location); + case 9 /* NumericLiteral */: + return evaluatorResult(+expr.text); + case 80 /* Identifier */: + return evaluateEntityNameExpression(expr, location); + case 211 /* PropertyAccessExpression */: + if (isEntityNameExpression(expr)) { + return evaluateEntityNameExpression(expr, location); + } + break; + case 212 /* ElementAccessExpression */: + return evaluateElementAccessExpression(expr, location); + } + return evaluatorResult( + /*value*/ + void 0, + isSyntacticallyString, + resolvedOtherFiles, + hasExternalReferences + ); + } + function evaluateTemplateExpression(expr, location) { + let result = expr.head.text; + let resolvedOtherFiles = false; + let hasExternalReferences = false; + for (const span of expr.templateSpans) { + const spanResult = evaluate(span.expression, location); + if (spanResult.value === void 0) { + return evaluatorResult( + /*value*/ + void 0, + /*isSyntacticallyString*/ + true + ); + } + result += spanResult.value; + result += span.literal.text; + resolvedOtherFiles || (resolvedOtherFiles = spanResult.resolvedOtherFiles); + hasExternalReferences || (hasExternalReferences = spanResult.hasExternalReferences); + } + return evaluatorResult( + result, + /*isSyntacticallyString*/ + true, + resolvedOtherFiles, + hasExternalReferences + ); + } + return evaluate; +} +function isConstAssertion(location) { + return isAssertionExpression(location) && isConstTypeReference(location.type) || isJSDocTypeTag(location) && isConstTypeReference(location.typeExpression); +} +function findConstructorDeclaration(node) { + const members = node.members; + for (const member of members) { + if (member.kind === 176 /* Constructor */ && nodeIsPresent(member.body)) { + return member; + } + } +} +function createNameResolver({ + compilerOptions, + requireSymbol, + argumentsSymbol, + error, + getSymbolOfDeclaration, + globals, + lookup, + setRequiresScopeChangeCache = returnUndefined, + getRequiresScopeChangeCache = returnUndefined, + onPropertyWithInvalidInitializer = returnFalse, + onFailedToResolveSymbol = returnUndefined, + onSuccessfullyResolvedSymbol = returnUndefined +}) { + var isolatedModulesLikeFlagName = compilerOptions.verbatimModuleSyntax ? "verbatimModuleSyntax" : "isolatedModules"; + var emitStandardClassFields = getEmitStandardClassFields(compilerOptions); + var emptySymbols = createSymbolTable(); + return resolveNameHelper; + function resolveNameHelper(location, nameArg, meaning, nameNotFoundMessage, isUse, excludeGlobals) { + var _a, _b, _c; + const originalLocation = location; + let result; + let lastLocation; + let lastSelfReferenceLocation; + let propertyWithInvalidInitializer; + let associatedDeclarationForContainingInitializerOrBindingName; + let withinDeferredContext = false; + let grandparent; + const name = isString(nameArg) ? nameArg : nameArg.escapedText; + loop: + while (location) { + if (name === "const" && isConstAssertion(location)) { + return void 0; + } + if (isModuleOrEnumDeclaration(location) && lastLocation && location.name === lastLocation) { + lastLocation = location; + location = location.parent; + } + if (canHaveLocals(location) && location.locals && !isGlobalSourceFile(location)) { + if (result = lookup(location.locals, name, meaning)) { + let useResult = true; + if (isFunctionLike(location) && lastLocation && lastLocation !== location.body) { + if (meaning & result.flags & 788968 /* Type */ && lastLocation.kind !== 320 /* JSDoc */) { + useResult = result.flags & 262144 /* TypeParameter */ ? !!(lastLocation.flags & 16 /* Synthesized */) || // Synthetic fake scopes are added for signatures so type parameters are accessible from them + lastLocation === location.type || lastLocation.kind === 169 /* Parameter */ || lastLocation.kind === 341 /* JSDocParameterTag */ || lastLocation.kind === 342 /* JSDocReturnTag */ || lastLocation.kind === 168 /* TypeParameter */ : false; + } + if (meaning & result.flags & 3 /* Variable */) { + if (useOuterVariableScopeInParameter(result, location, lastLocation)) { + useResult = false; + } else if (result.flags & 1 /* FunctionScopedVariable */) { + useResult = lastLocation.kind === 169 /* Parameter */ || !!(lastLocation.flags & 16 /* Synthesized */) || // Synthetic fake scopes are added for signatures so parameters are accessible from them + lastLocation === location.type && !!findAncestor(result.valueDeclaration, isParameter); + } + } + } else if (location.kind === 194 /* ConditionalType */) { + useResult = lastLocation === location.trueType; + } + if (useResult) { + break loop; + } else { + result = void 0; + } + } + } + withinDeferredContext = withinDeferredContext || getIsDeferredContext(location, lastLocation); + switch (location.kind) { + case 307 /* SourceFile */: + if (!isExternalOrCommonJsModule(location)) break; + // falls through + case 267 /* ModuleDeclaration */: + const moduleExports = ((_a = getSymbolOfDeclaration(location)) == null ? void 0 : _a.exports) || emptySymbols; + if (location.kind === 307 /* SourceFile */ || isModuleDeclaration(location) && location.flags & 33554432 /* Ambient */ && !isGlobalScopeAugmentation(location)) { + if (result = moduleExports.get("default" /* Default */)) { + const localSymbol = getLocalSymbolForExportDefault(result); + if (localSymbol && result.flags & meaning && localSymbol.escapedName === name) { + break loop; + } + result = void 0; + } + const moduleExport = moduleExports.get(name); + if (moduleExport && moduleExport.flags === 2097152 /* Alias */ && (getDeclarationOfKind(moduleExport, 281 /* ExportSpecifier */) || getDeclarationOfKind(moduleExport, 280 /* NamespaceExport */))) { + break; + } + } + if (name !== "default" /* Default */ && (result = lookup(moduleExports, name, meaning & 2623475 /* ModuleMember */))) { + if (isSourceFile(location) && location.commonJsModuleIndicator && !((_b = result.declarations) == null ? void 0 : _b.some(isJSDocTypeAlias))) { + result = void 0; + } else { + break loop; + } + } + break; + case 266 /* EnumDeclaration */: + if (result = lookup(((_c = getSymbolOfDeclaration(location)) == null ? void 0 : _c.exports) || emptySymbols, name, meaning & 8 /* EnumMember */)) { + if (nameNotFoundMessage && getIsolatedModules(compilerOptions) && !(location.flags & 33554432 /* Ambient */) && getSourceFileOfNode(location) !== getSourceFileOfNode(result.valueDeclaration)) { + error( + originalLocation, + Diagnostics.Cannot_access_0_from_another_file_without_qualification_when_1_is_enabled_Use_2_instead, + unescapeLeadingUnderscores(name), + isolatedModulesLikeFlagName, + `${unescapeLeadingUnderscores(getSymbolOfDeclaration(location).escapedName)}.${unescapeLeadingUnderscores(name)}` + ); + } + break loop; + } + break; + case 172 /* PropertyDeclaration */: + if (!isStatic(location)) { + const ctor = findConstructorDeclaration(location.parent); + if (ctor && ctor.locals) { + if (lookup(ctor.locals, name, meaning & 111551 /* Value */)) { + Debug.assertNode(location, isPropertyDeclaration); + propertyWithInvalidInitializer = location; + } + } + } + break; + case 263 /* ClassDeclaration */: + case 231 /* ClassExpression */: + case 264 /* InterfaceDeclaration */: + if (result = lookup(getSymbolOfDeclaration(location).members || emptySymbols, name, meaning & 788968 /* Type */)) { + if (!isTypeParameterSymbolDeclaredInContainer(result, location)) { + result = void 0; + break; + } + if (lastLocation && isStatic(lastLocation)) { + if (nameNotFoundMessage) { + error(originalLocation, Diagnostics.Static_members_cannot_reference_class_type_parameters); + } + return void 0; + } + break loop; + } + if (isClassExpression(location) && meaning & 32 /* Class */) { + const className = location.name; + if (className && name === className.escapedText) { + result = location.symbol; + break loop; + } + } + break; + case 233 /* ExpressionWithTypeArguments */: + if (lastLocation === location.expression && location.parent.token === 96 /* ExtendsKeyword */) { + const container = location.parent.parent; + if (isClassLike(container) && (result = lookup(getSymbolOfDeclaration(container).members, name, meaning & 788968 /* Type */))) { + if (nameNotFoundMessage) { + error(originalLocation, Diagnostics.Base_class_expressions_cannot_reference_class_type_parameters); + } + return void 0; + } + } + break; + // It is not legal to reference a class's own type parameters from a computed property name that + // belongs to the class. For example: + // + // function foo() { return '' } + // class C { // <-- Class's own type parameter T + // [foo()]() { } // <-- Reference to T from class's own computed property + // } + // + case 167 /* ComputedPropertyName */: + grandparent = location.parent.parent; + if (isClassLike(grandparent) || grandparent.kind === 264 /* InterfaceDeclaration */) { + if (result = lookup(getSymbolOfDeclaration(grandparent).members, name, meaning & 788968 /* Type */)) { + if (nameNotFoundMessage) { + error(originalLocation, Diagnostics.A_computed_property_name_cannot_reference_a_type_parameter_from_its_containing_type); + } + return void 0; + } + } + break; + case 219 /* ArrowFunction */: + if (getEmitScriptTarget(compilerOptions) >= 2 /* ES2015 */) { + break; + } + // falls through + case 174 /* MethodDeclaration */: + case 176 /* Constructor */: + case 177 /* GetAccessor */: + case 178 /* SetAccessor */: + case 262 /* FunctionDeclaration */: + if (meaning & 3 /* Variable */ && name === "arguments") { + result = argumentsSymbol; + break loop; + } + break; + case 218 /* FunctionExpression */: + if (meaning & 3 /* Variable */ && name === "arguments") { + result = argumentsSymbol; + break loop; + } + if (meaning & 16 /* Function */) { + const functionName = location.name; + if (functionName && name === functionName.escapedText) { + result = location.symbol; + break loop; + } + } + break; + case 170 /* Decorator */: + if (location.parent && location.parent.kind === 169 /* Parameter */) { + location = location.parent; + } + if (location.parent && (isClassElement(location.parent) || location.parent.kind === 263 /* ClassDeclaration */)) { + location = location.parent; + } + break; + case 346 /* JSDocTypedefTag */: + case 338 /* JSDocCallbackTag */: + case 340 /* JSDocEnumTag */: + case 351 /* JSDocImportTag */: + const root = getJSDocRoot(location); + if (root) { + location = root.parent; + } + break; + case 169 /* Parameter */: + if (lastLocation && (lastLocation === location.initializer || lastLocation === location.name && isBindingPattern(lastLocation))) { + if (!associatedDeclarationForContainingInitializerOrBindingName) { + associatedDeclarationForContainingInitializerOrBindingName = location; + } + } + break; + case 208 /* BindingElement */: + if (lastLocation && (lastLocation === location.initializer || lastLocation === location.name && isBindingPattern(lastLocation))) { + if (isPartOfParameterDeclaration(location) && !associatedDeclarationForContainingInitializerOrBindingName) { + associatedDeclarationForContainingInitializerOrBindingName = location; + } + } + break; + case 195 /* InferType */: + if (meaning & 262144 /* TypeParameter */) { + const parameterName = location.typeParameter.name; + if (parameterName && name === parameterName.escapedText) { + result = location.typeParameter.symbol; + break loop; + } + } + break; + case 281 /* ExportSpecifier */: + if (lastLocation && lastLocation === location.propertyName && location.parent.parent.moduleSpecifier) { + location = location.parent.parent.parent; + } + break; + } + if (isSelfReferenceLocation(location, lastLocation)) { + lastSelfReferenceLocation = location; + } + lastLocation = location; + location = isJSDocTemplateTag(location) ? getEffectiveContainerForJSDocTemplateTag(location) || location.parent : isJSDocParameterTag(location) || isJSDocReturnTag(location) ? getHostSignatureFromJSDoc(location) || location.parent : location.parent; + } + if (isUse && result && (!lastSelfReferenceLocation || result !== lastSelfReferenceLocation.symbol)) { + result.isReferenced |= meaning; + } + if (!result) { + if (lastLocation) { + Debug.assertNode(lastLocation, isSourceFile); + if (lastLocation.commonJsModuleIndicator && name === "exports" && meaning & lastLocation.symbol.flags) { + return lastLocation.symbol; + } + } + if (!excludeGlobals) { + result = lookup(globals, name, meaning); + } + } + if (!result) { + if (originalLocation && isInJSFile(originalLocation) && originalLocation.parent) { + if (isRequireCall( + originalLocation.parent, + /*requireStringLiteralLikeArgument*/ + false + )) { + return requireSymbol; + } + } + } + if (nameNotFoundMessage) { + if (propertyWithInvalidInitializer && onPropertyWithInvalidInitializer(originalLocation, name, propertyWithInvalidInitializer, result)) { + return void 0; + } + if (!result) { + onFailedToResolveSymbol(originalLocation, nameArg, meaning, nameNotFoundMessage); + } else { + onSuccessfullyResolvedSymbol(originalLocation, result, meaning, lastLocation, associatedDeclarationForContainingInitializerOrBindingName, withinDeferredContext); + } + } + return result; + } + function useOuterVariableScopeInParameter(result, location, lastLocation) { + const target = getEmitScriptTarget(compilerOptions); + const functionLocation = location; + if (isParameter(lastLocation) && functionLocation.body && result.valueDeclaration && result.valueDeclaration.pos >= functionLocation.body.pos && result.valueDeclaration.end <= functionLocation.body.end) { + if (target >= 2 /* ES2015 */) { + let declarationRequiresScopeChange = getRequiresScopeChangeCache(functionLocation); + if (declarationRequiresScopeChange === void 0) { + declarationRequiresScopeChange = forEach(functionLocation.parameters, requiresScopeChange) || false; + setRequiresScopeChangeCache(functionLocation, declarationRequiresScopeChange); + } + return !declarationRequiresScopeChange; + } + } + return false; + function requiresScopeChange(node) { + return requiresScopeChangeWorker(node.name) || !!node.initializer && requiresScopeChangeWorker(node.initializer); + } + function requiresScopeChangeWorker(node) { + switch (node.kind) { + case 219 /* ArrowFunction */: + case 218 /* FunctionExpression */: + case 262 /* FunctionDeclaration */: + case 176 /* Constructor */: + return false; + case 174 /* MethodDeclaration */: + case 177 /* GetAccessor */: + case 178 /* SetAccessor */: + case 303 /* PropertyAssignment */: + return requiresScopeChangeWorker(node.name); + case 172 /* PropertyDeclaration */: + if (hasStaticModifier(node)) { + return !emitStandardClassFields; + } + return requiresScopeChangeWorker(node.name); + default: + if (isNullishCoalesce(node) || isOptionalChain(node)) { + return target < 7 /* ES2020 */; + } + if (isBindingElement(node) && node.dotDotDotToken && isObjectBindingPattern(node.parent)) { + return target < 4 /* ES2017 */; + } + if (isTypeNode(node)) return false; + return forEachChild(node, requiresScopeChangeWorker) || false; + } + } + } + function getIsDeferredContext(location, lastLocation) { + if (location.kind !== 219 /* ArrowFunction */ && location.kind !== 218 /* FunctionExpression */) { + return isTypeQueryNode(location) || (isFunctionLikeDeclaration(location) || location.kind === 172 /* PropertyDeclaration */ && !isStatic(location)) && (!lastLocation || lastLocation !== location.name); + } + if (lastLocation && lastLocation === location.name) { + return false; + } + if (location.asteriskToken || hasSyntacticModifier(location, 1024 /* Async */)) { + return true; + } + return !getImmediatelyInvokedFunctionExpression(location); + } + function isSelfReferenceLocation(node, lastLocation) { + switch (node.kind) { + case 169 /* Parameter */: + return !!lastLocation && lastLocation === node.name; + case 262 /* FunctionDeclaration */: + case 263 /* ClassDeclaration */: + case 264 /* InterfaceDeclaration */: + case 266 /* EnumDeclaration */: + case 265 /* TypeAliasDeclaration */: + case 267 /* ModuleDeclaration */: + return true; + default: + return false; + } + } + function isTypeParameterSymbolDeclaredInContainer(symbol, container) { + if (symbol.declarations) { + for (const decl of symbol.declarations) { + if (decl.kind === 168 /* TypeParameter */) { + const parent = isJSDocTemplateTag(decl.parent) ? getJSDocHost(decl.parent) : decl.parent; + if (parent === container) { + return !(isJSDocTemplateTag(decl.parent) && find(decl.parent.parent.tags, isJSDocTypeAlias)); + } + } + } + } + return false; + } +} +function isPrimitiveLiteralValue(node, includeBigInt = true) { + Debug.type(node); + switch (node.kind) { + case 112 /* TrueKeyword */: + case 97 /* FalseKeyword */: + case 9 /* NumericLiteral */: + case 11 /* StringLiteral */: + case 15 /* NoSubstitutionTemplateLiteral */: + return true; + case 10 /* BigIntLiteral */: + return includeBigInt; + case 224 /* PrefixUnaryExpression */: + if (node.operator === 41 /* MinusToken */) { + return isNumericLiteral(node.operand) || includeBigInt && isBigIntLiteral(node.operand); + } + if (node.operator === 40 /* PlusToken */) { + return isNumericLiteral(node.operand); + } + return false; + default: + assertType(node); + return false; + } +} +function unwrapParenthesizedExpression(o) { + while (o.kind === 217 /* ParenthesizedExpression */) { + o = o.expression; + } + return o; +} +function hasInferredType(node) { + Debug.type(node); + switch (node.kind) { + case 169 /* Parameter */: + case 171 /* PropertySignature */: + case 172 /* PropertyDeclaration */: + case 208 /* BindingElement */: + case 211 /* PropertyAccessExpression */: + case 212 /* ElementAccessExpression */: + case 226 /* BinaryExpression */: + case 260 /* VariableDeclaration */: + case 277 /* ExportAssignment */: + case 303 /* PropertyAssignment */: + case 304 /* ShorthandPropertyAssignment */: + case 341 /* JSDocParameterTag */: + case 348 /* JSDocPropertyTag */: + return true; + default: + assertType(node); + return false; + } +} +function isSideEffectImport(node) { + const ancestor = findAncestor(node, isImportDeclaration); + return !!ancestor && !ancestor.importClause; +} +var unprefixedNodeCoreModulesList = [ + "assert", + "assert/strict", + "async_hooks", + "buffer", + "child_process", + "cluster", + "console", + "constants", + "crypto", + "dgram", + "diagnostics_channel", + "dns", + "dns/promises", + "domain", + "events", + "fs", + "fs/promises", + "http", + "http2", + "https", + "inspector", + "inspector/promises", + "module", + "net", + "os", + "path", + "path/posix", + "path/win32", + "perf_hooks", + "process", + "punycode", + "querystring", + "readline", + "readline/promises", + "repl", + "stream", + "stream/consumers", + "stream/promises", + "stream/web", + "string_decoder", + "sys", + "test/mock_loader", + "timers", + "timers/promises", + "tls", + "trace_events", + "tty", + "url", + "util", + "util/types", + "v8", + "vm", + "wasi", + "worker_threads", + "zlib" +]; +var unprefixedNodeCoreModules = new Set(unprefixedNodeCoreModulesList); +var exclusivelyPrefixedNodeCoreModules = /* @__PURE__ */ new Set([ + "node:sea", + "node:sqlite", + "node:test", + "node:test/reporters" +]); +var nodeCoreModules = /* @__PURE__ */ new Set([ + ...unprefixedNodeCoreModulesList, + ...unprefixedNodeCoreModulesList.map((name) => `node:${name}`), + ...exclusivelyPrefixedNodeCoreModules +]); +function forEachDynamicImportOrRequireCall(file, includeTypeSpaceImports, requireStringLiteralLikeArgument, cb) { + const isJavaScriptFile = isInJSFile(file); + const r = /import|require/g; + while (r.exec(file.text) !== null) { + const node = getNodeAtPosition( + file, + r.lastIndex, + /*includeJSDoc*/ + includeTypeSpaceImports + ); + if (isJavaScriptFile && isRequireCall(node, requireStringLiteralLikeArgument)) { + cb(node, node.arguments[0]); + } else if (isImportCall(node) && node.arguments.length >= 1 && (!requireStringLiteralLikeArgument || isStringLiteralLike(node.arguments[0]))) { + cb(node, node.arguments[0]); + } else if (includeTypeSpaceImports && isLiteralImportTypeNode(node)) { + cb(node, node.argument.literal); + } else if (includeTypeSpaceImports && isJSDocImportTag(node)) { + const moduleNameExpr = getExternalModuleName(node); + if (moduleNameExpr && isStringLiteral(moduleNameExpr) && moduleNameExpr.text) { + cb(node, moduleNameExpr); + } + } + } +} +function getNodeAtPosition(sourceFile, position, includeJSDoc) { + const isJavaScriptFile = isInJSFile(sourceFile); + let current = sourceFile; + const getContainingChild = (child) => { + if (child.pos <= position && (position < child.end || position === child.end && child.kind === 1 /* EndOfFileToken */)) { + return child; + } + }; + while (true) { + const child = isJavaScriptFile && includeJSDoc && hasJSDocNodes(current) && forEach(current.jsDoc, getContainingChild) || forEachChild(current, getContainingChild); + if (!child) { + return current; + } + current = child; + } +} +function isNewScopeNode(node) { + return isFunctionLike(node) || isJSDocSignature(node) || isMappedTypeNode(node); +} + +// src/compiler/factory/baseNodeFactory.ts +function createBaseNodeFactory() { + let NodeConstructor2; + let TokenConstructor2; + let IdentifierConstructor2; + let PrivateIdentifierConstructor2; + let SourceFileConstructor2; + return { + createBaseSourceFileNode, + createBaseIdentifierNode, + createBasePrivateIdentifierNode, + createBaseTokenNode, + createBaseNode + }; + function createBaseSourceFileNode(kind) { + return new (SourceFileConstructor2 || (SourceFileConstructor2 = objectAllocator.getSourceFileConstructor()))( + kind, + /*pos*/ + -1, + /*end*/ + -1 + ); + } + function createBaseIdentifierNode(kind) { + return new (IdentifierConstructor2 || (IdentifierConstructor2 = objectAllocator.getIdentifierConstructor()))( + kind, + /*pos*/ + -1, + /*end*/ + -1 + ); + } + function createBasePrivateIdentifierNode(kind) { + return new (PrivateIdentifierConstructor2 || (PrivateIdentifierConstructor2 = objectAllocator.getPrivateIdentifierConstructor()))( + kind, + /*pos*/ + -1, + /*end*/ + -1 + ); + } + function createBaseTokenNode(kind) { + return new (TokenConstructor2 || (TokenConstructor2 = objectAllocator.getTokenConstructor()))( + kind, + /*pos*/ + -1, + /*end*/ + -1 + ); + } + function createBaseNode(kind) { + return new (NodeConstructor2 || (NodeConstructor2 = objectAllocator.getNodeConstructor()))( + kind, + /*pos*/ + -1, + /*end*/ + -1 + ); + } +} + +// src/compiler/factory/parenthesizerRules.ts +function createParenthesizerRules(factory2) { + let binaryLeftOperandParenthesizerCache; + let binaryRightOperandParenthesizerCache; + return { + getParenthesizeLeftSideOfBinaryForOperator, + getParenthesizeRightSideOfBinaryForOperator, + parenthesizeLeftSideOfBinary, + parenthesizeRightSideOfBinary, + parenthesizeExpressionOfComputedPropertyName, + parenthesizeConditionOfConditionalExpression, + parenthesizeBranchOfConditionalExpression, + parenthesizeExpressionOfExportDefault, + parenthesizeExpressionOfNew, + parenthesizeLeftSideOfAccess, + parenthesizeOperandOfPostfixUnary, + parenthesizeOperandOfPrefixUnary, + parenthesizeExpressionsOfCommaDelimitedList, + parenthesizeExpressionForDisallowedComma, + parenthesizeExpressionOfExpressionStatement, + parenthesizeConciseBodyOfArrowFunction, + parenthesizeCheckTypeOfConditionalType, + parenthesizeExtendsTypeOfConditionalType, + parenthesizeConstituentTypesOfUnionType, + parenthesizeConstituentTypeOfUnionType, + parenthesizeConstituentTypesOfIntersectionType, + parenthesizeConstituentTypeOfIntersectionType, + parenthesizeOperandOfTypeOperator, + parenthesizeOperandOfReadonlyTypeOperator, + parenthesizeNonArrayTypeOfPostfixType, + parenthesizeElementTypesOfTupleType, + parenthesizeElementTypeOfTupleType, + parenthesizeTypeOfOptionalType, + parenthesizeTypeArguments, + parenthesizeLeadingTypeArgument + }; + function getParenthesizeLeftSideOfBinaryForOperator(operatorKind) { + binaryLeftOperandParenthesizerCache || (binaryLeftOperandParenthesizerCache = /* @__PURE__ */ new Map()); + let parenthesizerRule = binaryLeftOperandParenthesizerCache.get(operatorKind); + if (!parenthesizerRule) { + parenthesizerRule = (node) => parenthesizeLeftSideOfBinary(operatorKind, node); + binaryLeftOperandParenthesizerCache.set(operatorKind, parenthesizerRule); + } + return parenthesizerRule; + } + function getParenthesizeRightSideOfBinaryForOperator(operatorKind) { + binaryRightOperandParenthesizerCache || (binaryRightOperandParenthesizerCache = /* @__PURE__ */ new Map()); + let parenthesizerRule = binaryRightOperandParenthesizerCache.get(operatorKind); + if (!parenthesizerRule) { + parenthesizerRule = (node) => parenthesizeRightSideOfBinary( + operatorKind, + /*leftSide*/ + void 0, + node + ); + binaryRightOperandParenthesizerCache.set(operatorKind, parenthesizerRule); + } + return parenthesizerRule; + } + function binaryOperandNeedsParentheses(binaryOperator, operand, isLeftSideOfBinary, leftOperand) { + const binaryOperatorPrecedence = getOperatorPrecedence(226 /* BinaryExpression */, binaryOperator); + const binaryOperatorAssociativity = getOperatorAssociativity(226 /* BinaryExpression */, binaryOperator); + const emittedOperand = skipPartiallyEmittedExpressions(operand); + if (!isLeftSideOfBinary && operand.kind === 219 /* ArrowFunction */ && binaryOperatorPrecedence > 3 /* Assignment */) { + return true; + } + const operandPrecedence = getExpressionPrecedence(emittedOperand); + switch (compareValues(operandPrecedence, binaryOperatorPrecedence)) { + case -1 /* LessThan */: + if (!isLeftSideOfBinary && binaryOperatorAssociativity === 1 /* Right */ && operand.kind === 229 /* YieldExpression */) { + return false; + } + return true; + case 1 /* GreaterThan */: + return false; + case 0 /* EqualTo */: + if (isLeftSideOfBinary) { + return binaryOperatorAssociativity === 1 /* Right */; + } else { + if (isBinaryExpression(emittedOperand) && emittedOperand.operatorToken.kind === binaryOperator) { + if (operatorHasAssociativeProperty(binaryOperator)) { + return false; + } + if (binaryOperator === 40 /* PlusToken */) { + const leftKind = leftOperand ? getLiteralKindOfBinaryPlusOperand(leftOperand) : 0 /* Unknown */; + if (isLiteralKind(leftKind) && leftKind === getLiteralKindOfBinaryPlusOperand(emittedOperand)) { + return false; + } + } + } + const operandAssociativity = getExpressionAssociativity(emittedOperand); + return operandAssociativity === 0 /* Left */; + } + } + } + function operatorHasAssociativeProperty(binaryOperator) { + return binaryOperator === 42 /* AsteriskToken */ || binaryOperator === 52 /* BarToken */ || binaryOperator === 51 /* AmpersandToken */ || binaryOperator === 53 /* CaretToken */ || binaryOperator === 28 /* CommaToken */; + } + function getLiteralKindOfBinaryPlusOperand(node) { + node = skipPartiallyEmittedExpressions(node); + if (isLiteralKind(node.kind)) { + return node.kind; + } + if (node.kind === 226 /* BinaryExpression */ && node.operatorToken.kind === 40 /* PlusToken */) { + if (node.cachedLiteralKind !== void 0) { + return node.cachedLiteralKind; + } + const leftKind = getLiteralKindOfBinaryPlusOperand(node.left); + const literalKind = isLiteralKind(leftKind) && leftKind === getLiteralKindOfBinaryPlusOperand(node.right) ? leftKind : 0 /* Unknown */; + node.cachedLiteralKind = literalKind; + return literalKind; + } + return 0 /* Unknown */; + } + function parenthesizeBinaryOperand(binaryOperator, operand, isLeftSideOfBinary, leftOperand) { + const skipped = skipPartiallyEmittedExpressions(operand); + if (skipped.kind === 217 /* ParenthesizedExpression */) { + return operand; + } + return binaryOperandNeedsParentheses(binaryOperator, operand, isLeftSideOfBinary, leftOperand) ? factory2.createParenthesizedExpression(operand) : operand; + } + function parenthesizeLeftSideOfBinary(binaryOperator, leftSide) { + return parenthesizeBinaryOperand( + binaryOperator, + leftSide, + /*isLeftSideOfBinary*/ + true + ); + } + function parenthesizeRightSideOfBinary(binaryOperator, leftSide, rightSide) { + return parenthesizeBinaryOperand( + binaryOperator, + rightSide, + /*isLeftSideOfBinary*/ + false, + leftSide + ); + } + function parenthesizeExpressionOfComputedPropertyName(expression) { + return isCommaSequence(expression) ? factory2.createParenthesizedExpression(expression) : expression; + } + function parenthesizeConditionOfConditionalExpression(condition) { + const conditionalPrecedence = getOperatorPrecedence(227 /* ConditionalExpression */, 58 /* QuestionToken */); + const emittedCondition = skipPartiallyEmittedExpressions(condition); + const conditionPrecedence = getExpressionPrecedence(emittedCondition); + if (compareValues(conditionPrecedence, conditionalPrecedence) !== 1 /* GreaterThan */) { + return factory2.createParenthesizedExpression(condition); + } + return condition; + } + function parenthesizeBranchOfConditionalExpression(branch) { + const emittedExpression = skipPartiallyEmittedExpressions(branch); + return isCommaSequence(emittedExpression) ? factory2.createParenthesizedExpression(branch) : branch; + } + function parenthesizeExpressionOfExportDefault(expression) { + const check = skipPartiallyEmittedExpressions(expression); + let needsParens = isCommaSequence(check); + if (!needsParens) { + switch (getLeftmostExpression( + check, + /*stopAtCallExpressions*/ + false + ).kind) { + case 231 /* ClassExpression */: + case 218 /* FunctionExpression */: + needsParens = true; + } + } + return needsParens ? factory2.createParenthesizedExpression(expression) : expression; + } + function parenthesizeExpressionOfNew(expression) { + const leftmostExpr = getLeftmostExpression( + expression, + /*stopAtCallExpressions*/ + true + ); + switch (leftmostExpr.kind) { + case 213 /* CallExpression */: + return factory2.createParenthesizedExpression(expression); + case 214 /* NewExpression */: + return !leftmostExpr.arguments ? factory2.createParenthesizedExpression(expression) : expression; + } + return parenthesizeLeftSideOfAccess(expression); + } + function parenthesizeLeftSideOfAccess(expression, optionalChain) { + const emittedExpression = skipPartiallyEmittedExpressions(expression); + if (isLeftHandSideExpression(emittedExpression) && (emittedExpression.kind !== 214 /* NewExpression */ || emittedExpression.arguments) && (optionalChain || !isOptionalChain(emittedExpression))) { + return expression; + } + return setTextRange(factory2.createParenthesizedExpression(expression), expression); + } + function parenthesizeOperandOfPostfixUnary(operand) { + return isLeftHandSideExpression(operand) ? operand : setTextRange(factory2.createParenthesizedExpression(operand), operand); + } + function parenthesizeOperandOfPrefixUnary(operand) { + return isUnaryExpression(operand) ? operand : setTextRange(factory2.createParenthesizedExpression(operand), operand); + } + function parenthesizeExpressionsOfCommaDelimitedList(elements) { + const result = sameMap(elements, parenthesizeExpressionForDisallowedComma); + return setTextRange(factory2.createNodeArray(result, elements.hasTrailingComma), elements); + } + function parenthesizeExpressionForDisallowedComma(expression) { + const emittedExpression = skipPartiallyEmittedExpressions(expression); + const expressionPrecedence = getExpressionPrecedence(emittedExpression); + const commaPrecedence = getOperatorPrecedence(226 /* BinaryExpression */, 28 /* CommaToken */); + return expressionPrecedence > commaPrecedence ? expression : setTextRange(factory2.createParenthesizedExpression(expression), expression); + } + function parenthesizeExpressionOfExpressionStatement(expression) { + const emittedExpression = skipPartiallyEmittedExpressions(expression); + if (isCallExpression(emittedExpression)) { + const callee = emittedExpression.expression; + const kind = skipPartiallyEmittedExpressions(callee).kind; + if (kind === 218 /* FunctionExpression */ || kind === 219 /* ArrowFunction */) { + const updated = factory2.updateCallExpression( + emittedExpression, + setTextRange(factory2.createParenthesizedExpression(callee), callee), + emittedExpression.typeArguments, + emittedExpression.arguments + ); + return factory2.restoreOuterExpressions(expression, updated, 8 /* PartiallyEmittedExpressions */); + } + } + const leftmostExpressionKind = getLeftmostExpression( + emittedExpression, + /*stopAtCallExpressions*/ + false + ).kind; + if (leftmostExpressionKind === 210 /* ObjectLiteralExpression */ || leftmostExpressionKind === 218 /* FunctionExpression */) { + return setTextRange(factory2.createParenthesizedExpression(expression), expression); + } + return expression; + } + function parenthesizeConciseBodyOfArrowFunction(body) { + if (!isBlock(body) && (isCommaSequence(body) || getLeftmostExpression( + body, + /*stopAtCallExpressions*/ + false + ).kind === 210 /* ObjectLiteralExpression */)) { + return setTextRange(factory2.createParenthesizedExpression(body), body); + } + return body; + } + function parenthesizeCheckTypeOfConditionalType(checkType) { + switch (checkType.kind) { + case 184 /* FunctionType */: + case 185 /* ConstructorType */: + case 194 /* ConditionalType */: + return factory2.createParenthesizedType(checkType); + } + return checkType; + } + function parenthesizeExtendsTypeOfConditionalType(extendsType) { + switch (extendsType.kind) { + case 194 /* ConditionalType */: + return factory2.createParenthesizedType(extendsType); + } + return extendsType; + } + function parenthesizeConstituentTypeOfUnionType(type) { + switch (type.kind) { + case 192 /* UnionType */: + // Not strictly necessary, but a union containing a union should have been flattened + case 193 /* IntersectionType */: + return factory2.createParenthesizedType(type); + } + return parenthesizeCheckTypeOfConditionalType(type); + } + function parenthesizeConstituentTypesOfUnionType(members) { + return factory2.createNodeArray(sameMap(members, parenthesizeConstituentTypeOfUnionType)); + } + function parenthesizeConstituentTypeOfIntersectionType(type) { + switch (type.kind) { + case 192 /* UnionType */: + case 193 /* IntersectionType */: + return factory2.createParenthesizedType(type); + } + return parenthesizeConstituentTypeOfUnionType(type); + } + function parenthesizeConstituentTypesOfIntersectionType(members) { + return factory2.createNodeArray(sameMap(members, parenthesizeConstituentTypeOfIntersectionType)); + } + function parenthesizeOperandOfTypeOperator(type) { + switch (type.kind) { + case 193 /* IntersectionType */: + return factory2.createParenthesizedType(type); + } + return parenthesizeConstituentTypeOfIntersectionType(type); + } + function parenthesizeOperandOfReadonlyTypeOperator(type) { + switch (type.kind) { + case 198 /* TypeOperator */: + return factory2.createParenthesizedType(type); + } + return parenthesizeOperandOfTypeOperator(type); + } + function parenthesizeNonArrayTypeOfPostfixType(type) { + switch (type.kind) { + case 195 /* InferType */: + case 198 /* TypeOperator */: + case 186 /* TypeQuery */: + return factory2.createParenthesizedType(type); + } + return parenthesizeOperandOfTypeOperator(type); + } + function parenthesizeElementTypesOfTupleType(types) { + return factory2.createNodeArray(sameMap(types, parenthesizeElementTypeOfTupleType)); + } + function parenthesizeElementTypeOfTupleType(type) { + if (hasJSDocPostfixQuestion(type)) return factory2.createParenthesizedType(type); + return type; + } + function hasJSDocPostfixQuestion(type) { + if (isJSDocNullableType(type)) return type.postfix; + if (isNamedTupleMember(type)) return hasJSDocPostfixQuestion(type.type); + if (isFunctionTypeNode(type) || isConstructorTypeNode(type) || isTypeOperatorNode(type)) return hasJSDocPostfixQuestion(type.type); + if (isConditionalTypeNode(type)) return hasJSDocPostfixQuestion(type.falseType); + if (isUnionTypeNode(type)) return hasJSDocPostfixQuestion(last(type.types)); + if (isIntersectionTypeNode(type)) return hasJSDocPostfixQuestion(last(type.types)); + if (isInferTypeNode(type)) return !!type.typeParameter.constraint && hasJSDocPostfixQuestion(type.typeParameter.constraint); + return false; + } + function parenthesizeTypeOfOptionalType(type) { + if (hasJSDocPostfixQuestion(type)) return factory2.createParenthesizedType(type); + return parenthesizeNonArrayTypeOfPostfixType(type); + } + function parenthesizeLeadingTypeArgument(node) { + return isFunctionOrConstructorTypeNode(node) && node.typeParameters ? factory2.createParenthesizedType(node) : node; + } + function parenthesizeOrdinalTypeArgument(node, i) { + return i === 0 ? parenthesizeLeadingTypeArgument(node) : node; + } + function parenthesizeTypeArguments(typeArguments) { + if (some(typeArguments)) { + return factory2.createNodeArray(sameMap(typeArguments, parenthesizeOrdinalTypeArgument)); + } + } +} +var nullParenthesizerRules = { + getParenthesizeLeftSideOfBinaryForOperator: (_) => identity, + getParenthesizeRightSideOfBinaryForOperator: (_) => identity, + parenthesizeLeftSideOfBinary: (_binaryOperator, leftSide) => leftSide, + parenthesizeRightSideOfBinary: (_binaryOperator, _leftSide, rightSide) => rightSide, + parenthesizeExpressionOfComputedPropertyName: identity, + parenthesizeConditionOfConditionalExpression: identity, + parenthesizeBranchOfConditionalExpression: identity, + parenthesizeExpressionOfExportDefault: identity, + parenthesizeExpressionOfNew: (expression) => cast(expression, isLeftHandSideExpression), + parenthesizeLeftSideOfAccess: (expression) => cast(expression, isLeftHandSideExpression), + parenthesizeOperandOfPostfixUnary: (operand) => cast(operand, isLeftHandSideExpression), + parenthesizeOperandOfPrefixUnary: (operand) => cast(operand, isUnaryExpression), + parenthesizeExpressionsOfCommaDelimitedList: (nodes) => cast(nodes, isNodeArray), + parenthesizeExpressionForDisallowedComma: identity, + parenthesizeExpressionOfExpressionStatement: identity, + parenthesizeConciseBodyOfArrowFunction: identity, + parenthesizeCheckTypeOfConditionalType: identity, + parenthesizeExtendsTypeOfConditionalType: identity, + parenthesizeConstituentTypesOfUnionType: (nodes) => cast(nodes, isNodeArray), + parenthesizeConstituentTypeOfUnionType: identity, + parenthesizeConstituentTypesOfIntersectionType: (nodes) => cast(nodes, isNodeArray), + parenthesizeConstituentTypeOfIntersectionType: identity, + parenthesizeOperandOfTypeOperator: identity, + parenthesizeOperandOfReadonlyTypeOperator: identity, + parenthesizeNonArrayTypeOfPostfixType: identity, + parenthesizeElementTypesOfTupleType: (nodes) => cast(nodes, isNodeArray), + parenthesizeElementTypeOfTupleType: identity, + parenthesizeTypeOfOptionalType: identity, + parenthesizeTypeArguments: (nodes) => nodes && cast(nodes, isNodeArray), + parenthesizeLeadingTypeArgument: identity +}; + +// src/compiler/factory/nodeConverters.ts +function createNodeConverters(factory2) { + return { + convertToFunctionBlock, + convertToFunctionExpression, + convertToClassExpression, + convertToArrayAssignmentElement, + convertToObjectAssignmentElement, + convertToAssignmentPattern, + convertToObjectAssignmentPattern, + convertToArrayAssignmentPattern, + convertToAssignmentElementTarget + }; + function convertToFunctionBlock(node, multiLine) { + if (isBlock(node)) return node; + const returnStatement = factory2.createReturnStatement(node); + setTextRange(returnStatement, node); + const body = factory2.createBlock([returnStatement], multiLine); + setTextRange(body, node); + return body; + } + function convertToFunctionExpression(node) { + var _a; + if (!node.body) return Debug.fail(`Cannot convert a FunctionDeclaration without a body`); + const updated = factory2.createFunctionExpression( + (_a = getModifiers(node)) == null ? void 0 : _a.filter((modifier) => !isExportModifier(modifier) && !isDefaultModifier(modifier)), + node.asteriskToken, + node.name, + node.typeParameters, + node.parameters, + node.type, + node.body + ); + setOriginalNode(updated, node); + setTextRange(updated, node); + if (getStartsOnNewLine(node)) { + setStartsOnNewLine( + updated, + /*newLine*/ + true + ); + } + return updated; + } + function convertToClassExpression(node) { + var _a; + const updated = factory2.createClassExpression( + (_a = node.modifiers) == null ? void 0 : _a.filter((modifier) => !isExportModifier(modifier) && !isDefaultModifier(modifier)), + node.name, + node.typeParameters, + node.heritageClauses, + node.members + ); + setOriginalNode(updated, node); + setTextRange(updated, node); + if (getStartsOnNewLine(node)) { + setStartsOnNewLine( + updated, + /*newLine*/ + true + ); + } + return updated; + } + function convertToArrayAssignmentElement(element) { + if (isBindingElement(element)) { + if (element.dotDotDotToken) { + Debug.assertNode(element.name, isIdentifier); + return setOriginalNode(setTextRange(factory2.createSpreadElement(element.name), element), element); + } + const expression = convertToAssignmentElementTarget(element.name); + return element.initializer ? setOriginalNode( + setTextRange( + factory2.createAssignment(expression, element.initializer), + element + ), + element + ) : expression; + } + return cast(element, isExpression); + } + function convertToObjectAssignmentElement(element) { + if (isBindingElement(element)) { + if (element.dotDotDotToken) { + Debug.assertNode(element.name, isIdentifier); + return setOriginalNode(setTextRange(factory2.createSpreadAssignment(element.name), element), element); + } + if (element.propertyName) { + const expression = convertToAssignmentElementTarget(element.name); + return setOriginalNode(setTextRange(factory2.createPropertyAssignment(element.propertyName, element.initializer ? factory2.createAssignment(expression, element.initializer) : expression), element), element); + } + Debug.assertNode(element.name, isIdentifier); + return setOriginalNode(setTextRange(factory2.createShorthandPropertyAssignment(element.name, element.initializer), element), element); + } + return cast(element, isObjectLiteralElementLike); + } + function convertToAssignmentPattern(node) { + switch (node.kind) { + case 207 /* ArrayBindingPattern */: + case 209 /* ArrayLiteralExpression */: + return convertToArrayAssignmentPattern(node); + case 206 /* ObjectBindingPattern */: + case 210 /* ObjectLiteralExpression */: + return convertToObjectAssignmentPattern(node); + } + } + function convertToObjectAssignmentPattern(node) { + if (isObjectBindingPattern(node)) { + return setOriginalNode( + setTextRange( + factory2.createObjectLiteralExpression(map(node.elements, convertToObjectAssignmentElement)), + node + ), + node + ); + } + return cast(node, isObjectLiteralExpression); + } + function convertToArrayAssignmentPattern(node) { + if (isArrayBindingPattern(node)) { + return setOriginalNode( + setTextRange( + factory2.createArrayLiteralExpression(map(node.elements, convertToArrayAssignmentElement)), + node + ), + node + ); + } + return cast(node, isArrayLiteralExpression); + } + function convertToAssignmentElementTarget(node) { + if (isBindingPattern(node)) { + return convertToAssignmentPattern(node); + } + return cast(node, isExpression); + } +} +var nullNodeConverters = { + convertToFunctionBlock: notImplemented, + convertToFunctionExpression: notImplemented, + convertToClassExpression: notImplemented, + convertToArrayAssignmentElement: notImplemented, + convertToObjectAssignmentElement: notImplemented, + convertToAssignmentPattern: notImplemented, + convertToObjectAssignmentPattern: notImplemented, + convertToArrayAssignmentPattern: notImplemented, + convertToAssignmentElementTarget: notImplemented +}; + +// src/compiler/factory/nodeFactory.ts +var nextAutoGenerateId = 0; +var nodeFactoryPatchers = []; +function createNodeFactory(flags, baseFactory2) { + const setOriginal = flags & 8 /* NoOriginalNode */ ? identity : setOriginalNode; + const parenthesizerRules = memoize(() => flags & 1 /* NoParenthesizerRules */ ? nullParenthesizerRules : createParenthesizerRules(factory2)); + const converters = memoize(() => flags & 2 /* NoNodeConverters */ ? nullNodeConverters : createNodeConverters(factory2)); + const getBinaryCreateFunction = memoizeOne((operator) => (left, right) => createBinaryExpression(left, operator, right)); + const getPrefixUnaryCreateFunction = memoizeOne((operator) => (operand) => createPrefixUnaryExpression(operator, operand)); + const getPostfixUnaryCreateFunction = memoizeOne((operator) => (operand) => createPostfixUnaryExpression(operand, operator)); + const getJSDocPrimaryTypeCreateFunction = memoizeOne((kind) => () => createJSDocPrimaryTypeWorker(kind)); + const getJSDocUnaryTypeCreateFunction = memoizeOne((kind) => (type) => createJSDocUnaryTypeWorker(kind, type)); + const getJSDocUnaryTypeUpdateFunction = memoizeOne((kind) => (node, type) => updateJSDocUnaryTypeWorker(kind, node, type)); + const getJSDocPrePostfixUnaryTypeCreateFunction = memoizeOne((kind) => (type, postfix) => createJSDocPrePostfixUnaryTypeWorker(kind, type, postfix)); + const getJSDocPrePostfixUnaryTypeUpdateFunction = memoizeOne((kind) => (node, type) => updateJSDocPrePostfixUnaryTypeWorker(kind, node, type)); + const getJSDocSimpleTagCreateFunction = memoizeOne((kind) => (tagName, comment) => createJSDocSimpleTagWorker(kind, tagName, comment)); + const getJSDocSimpleTagUpdateFunction = memoizeOne((kind) => (node, tagName, comment) => updateJSDocSimpleTagWorker(kind, node, tagName, comment)); + const getJSDocTypeLikeTagCreateFunction = memoizeOne((kind) => (tagName, typeExpression, comment) => createJSDocTypeLikeTagWorker(kind, tagName, typeExpression, comment)); + const getJSDocTypeLikeTagUpdateFunction = memoizeOne((kind) => (node, tagName, typeExpression, comment) => updateJSDocTypeLikeTagWorker(kind, node, tagName, typeExpression, comment)); + const factory2 = { + get parenthesizer() { + return parenthesizerRules(); + }, + get converters() { + return converters(); + }, + baseFactory: baseFactory2, + flags, + createNodeArray, + createNumericLiteral, + createBigIntLiteral, + createStringLiteral, + createStringLiteralFromNode, + createRegularExpressionLiteral, + createLiteralLikeNode, + createIdentifier, + createTempVariable, + createLoopVariable, + createUniqueName, + getGeneratedNameForNode, + createPrivateIdentifier, + createUniquePrivateName, + getGeneratedPrivateNameForNode, + createToken, + createSuper, + createThis, + createNull, + createTrue, + createFalse, + createModifier, + createModifiersFromModifierFlags, + createQualifiedName, + updateQualifiedName, + createComputedPropertyName, + updateComputedPropertyName, + createTypeParameterDeclaration, + updateTypeParameterDeclaration, + createParameterDeclaration, + updateParameterDeclaration, + createDecorator, + updateDecorator, + createPropertySignature, + updatePropertySignature, + createPropertyDeclaration, + updatePropertyDeclaration, + createMethodSignature, + updateMethodSignature, + createMethodDeclaration, + updateMethodDeclaration, + createConstructorDeclaration, + updateConstructorDeclaration, + createGetAccessorDeclaration, + updateGetAccessorDeclaration, + createSetAccessorDeclaration, + updateSetAccessorDeclaration, + createCallSignature, + updateCallSignature, + createConstructSignature, + updateConstructSignature, + createIndexSignature, + updateIndexSignature, + createClassStaticBlockDeclaration, + updateClassStaticBlockDeclaration, + createTemplateLiteralTypeSpan, + updateTemplateLiteralTypeSpan, + createKeywordTypeNode, + createTypePredicateNode, + updateTypePredicateNode, + createTypeReferenceNode, + updateTypeReferenceNode, + createFunctionTypeNode, + updateFunctionTypeNode, + createConstructorTypeNode, + updateConstructorTypeNode, + createTypeQueryNode, + updateTypeQueryNode, + createTypeLiteralNode, + updateTypeLiteralNode, + createArrayTypeNode, + updateArrayTypeNode, + createTupleTypeNode, + updateTupleTypeNode, + createNamedTupleMember, + updateNamedTupleMember, + createOptionalTypeNode, + updateOptionalTypeNode, + createRestTypeNode, + updateRestTypeNode, + createUnionTypeNode, + updateUnionTypeNode, + createIntersectionTypeNode, + updateIntersectionTypeNode, + createConditionalTypeNode, + updateConditionalTypeNode, + createInferTypeNode, + updateInferTypeNode, + createImportTypeNode, + updateImportTypeNode, + createParenthesizedType, + updateParenthesizedType, + createThisTypeNode, + createTypeOperatorNode, + updateTypeOperatorNode, + createIndexedAccessTypeNode, + updateIndexedAccessTypeNode, + createMappedTypeNode, + updateMappedTypeNode, + createLiteralTypeNode, + updateLiteralTypeNode, + createTemplateLiteralType, + updateTemplateLiteralType, + createObjectBindingPattern, + updateObjectBindingPattern, + createArrayBindingPattern, + updateArrayBindingPattern, + createBindingElement, + updateBindingElement, + createArrayLiteralExpression, + updateArrayLiteralExpression, + createObjectLiteralExpression, + updateObjectLiteralExpression, + createPropertyAccessExpression: flags & 4 /* NoIndentationOnFreshPropertyAccess */ ? (expression, name) => setEmitFlags(createPropertyAccessExpression(expression, name), 262144 /* NoIndentation */) : createPropertyAccessExpression, + updatePropertyAccessExpression, + createPropertyAccessChain: flags & 4 /* NoIndentationOnFreshPropertyAccess */ ? (expression, questionDotToken, name) => setEmitFlags(createPropertyAccessChain(expression, questionDotToken, name), 262144 /* NoIndentation */) : createPropertyAccessChain, + updatePropertyAccessChain, + createElementAccessExpression, + updateElementAccessExpression, + createElementAccessChain, + updateElementAccessChain, + createCallExpression, + updateCallExpression, + createCallChain, + updateCallChain, + createNewExpression, + updateNewExpression, + createTaggedTemplateExpression, + updateTaggedTemplateExpression, + createTypeAssertion, + updateTypeAssertion, + createParenthesizedExpression, + updateParenthesizedExpression, + createFunctionExpression, + updateFunctionExpression, + createArrowFunction, + updateArrowFunction, + createDeleteExpression, + updateDeleteExpression, + createTypeOfExpression, + updateTypeOfExpression, + createVoidExpression, + updateVoidExpression, + createAwaitExpression, + updateAwaitExpression, + createPrefixUnaryExpression, + updatePrefixUnaryExpression, + createPostfixUnaryExpression, + updatePostfixUnaryExpression, + createBinaryExpression, + updateBinaryExpression, + createConditionalExpression, + updateConditionalExpression, + createTemplateExpression, + updateTemplateExpression, + createTemplateHead, + createTemplateMiddle, + createTemplateTail, + createNoSubstitutionTemplateLiteral, + createTemplateLiteralLikeNode, + createYieldExpression, + updateYieldExpression, + createSpreadElement, + updateSpreadElement, + createClassExpression, + updateClassExpression, + createOmittedExpression, + createExpressionWithTypeArguments, + updateExpressionWithTypeArguments, + createAsExpression, + updateAsExpression, + createNonNullExpression, + updateNonNullExpression, + createSatisfiesExpression, + updateSatisfiesExpression, + createNonNullChain, + updateNonNullChain, + createMetaProperty, + updateMetaProperty, + createTemplateSpan, + updateTemplateSpan, + createSemicolonClassElement, + createBlock, + updateBlock, + createVariableStatement, + updateVariableStatement, + createEmptyStatement, + createExpressionStatement, + updateExpressionStatement, + createIfStatement, + updateIfStatement, + createDoStatement, + updateDoStatement, + createWhileStatement, + updateWhileStatement, + createForStatement, + updateForStatement, + createForInStatement, + updateForInStatement, + createForOfStatement, + updateForOfStatement, + createContinueStatement, + updateContinueStatement, + createBreakStatement, + updateBreakStatement, + createReturnStatement, + updateReturnStatement, + createWithStatement, + updateWithStatement, + createSwitchStatement, + updateSwitchStatement, + createLabeledStatement, + updateLabeledStatement, + createThrowStatement, + updateThrowStatement, + createTryStatement, + updateTryStatement, + createDebuggerStatement, + createVariableDeclaration, + updateVariableDeclaration, + createVariableDeclarationList, + updateVariableDeclarationList, + createFunctionDeclaration, + updateFunctionDeclaration, + createClassDeclaration, + updateClassDeclaration, + createInterfaceDeclaration, + updateInterfaceDeclaration, + createTypeAliasDeclaration, + updateTypeAliasDeclaration, + createEnumDeclaration, + updateEnumDeclaration, + createModuleDeclaration, + updateModuleDeclaration, + createModuleBlock, + updateModuleBlock, + createCaseBlock, + updateCaseBlock, + createNamespaceExportDeclaration, + updateNamespaceExportDeclaration, + createImportEqualsDeclaration, + updateImportEqualsDeclaration, + createImportDeclaration, + updateImportDeclaration, + createImportClause, + updateImportClause, + createAssertClause, + updateAssertClause, + createAssertEntry, + updateAssertEntry, + createImportTypeAssertionContainer, + updateImportTypeAssertionContainer, + createImportAttributes, + updateImportAttributes, + createImportAttribute, + updateImportAttribute, + createNamespaceImport, + updateNamespaceImport, + createNamespaceExport, + updateNamespaceExport, + createNamedImports, + updateNamedImports, + createImportSpecifier, + updateImportSpecifier, + createExportAssignment, + updateExportAssignment, + createExportDeclaration, + updateExportDeclaration, + createNamedExports, + updateNamedExports, + createExportSpecifier, + updateExportSpecifier, + createMissingDeclaration, + createExternalModuleReference, + updateExternalModuleReference, + // lazily load factory members for JSDoc types with similar structure + get createJSDocAllType() { + return getJSDocPrimaryTypeCreateFunction(312 /* JSDocAllType */); + }, + get createJSDocUnknownType() { + return getJSDocPrimaryTypeCreateFunction(313 /* JSDocUnknownType */); + }, + get createJSDocNonNullableType() { + return getJSDocPrePostfixUnaryTypeCreateFunction(315 /* JSDocNonNullableType */); + }, + get updateJSDocNonNullableType() { + return getJSDocPrePostfixUnaryTypeUpdateFunction(315 /* JSDocNonNullableType */); + }, + get createJSDocNullableType() { + return getJSDocPrePostfixUnaryTypeCreateFunction(314 /* JSDocNullableType */); + }, + get updateJSDocNullableType() { + return getJSDocPrePostfixUnaryTypeUpdateFunction(314 /* JSDocNullableType */); + }, + get createJSDocOptionalType() { + return getJSDocUnaryTypeCreateFunction(316 /* JSDocOptionalType */); + }, + get updateJSDocOptionalType() { + return getJSDocUnaryTypeUpdateFunction(316 /* JSDocOptionalType */); + }, + get createJSDocVariadicType() { + return getJSDocUnaryTypeCreateFunction(318 /* JSDocVariadicType */); + }, + get updateJSDocVariadicType() { + return getJSDocUnaryTypeUpdateFunction(318 /* JSDocVariadicType */); + }, + get createJSDocNamepathType() { + return getJSDocUnaryTypeCreateFunction(319 /* JSDocNamepathType */); + }, + get updateJSDocNamepathType() { + return getJSDocUnaryTypeUpdateFunction(319 /* JSDocNamepathType */); + }, + createJSDocFunctionType, + updateJSDocFunctionType, + createJSDocTypeLiteral, + updateJSDocTypeLiteral, + createJSDocTypeExpression, + updateJSDocTypeExpression, + createJSDocSignature, + updateJSDocSignature, + createJSDocTemplateTag, + updateJSDocTemplateTag, + createJSDocTypedefTag, + updateJSDocTypedefTag, + createJSDocParameterTag, + updateJSDocParameterTag, + createJSDocPropertyTag, + updateJSDocPropertyTag, + createJSDocCallbackTag, + updateJSDocCallbackTag, + createJSDocOverloadTag, + updateJSDocOverloadTag, + createJSDocAugmentsTag, + updateJSDocAugmentsTag, + createJSDocImplementsTag, + updateJSDocImplementsTag, + createJSDocSeeTag, + updateJSDocSeeTag, + createJSDocImportTag, + updateJSDocImportTag, + createJSDocNameReference, + updateJSDocNameReference, + createJSDocMemberName, + updateJSDocMemberName, + createJSDocLink, + updateJSDocLink, + createJSDocLinkCode, + updateJSDocLinkCode, + createJSDocLinkPlain, + updateJSDocLinkPlain, + // lazily load factory members for JSDoc tags with similar structure + get createJSDocTypeTag() { + return getJSDocTypeLikeTagCreateFunction(344 /* JSDocTypeTag */); + }, + get updateJSDocTypeTag() { + return getJSDocTypeLikeTagUpdateFunction(344 /* JSDocTypeTag */); + }, + get createJSDocReturnTag() { + return getJSDocTypeLikeTagCreateFunction(342 /* JSDocReturnTag */); + }, + get updateJSDocReturnTag() { + return getJSDocTypeLikeTagUpdateFunction(342 /* JSDocReturnTag */); + }, + get createJSDocThisTag() { + return getJSDocTypeLikeTagCreateFunction(343 /* JSDocThisTag */); + }, + get updateJSDocThisTag() { + return getJSDocTypeLikeTagUpdateFunction(343 /* JSDocThisTag */); + }, + get createJSDocAuthorTag() { + return getJSDocSimpleTagCreateFunction(330 /* JSDocAuthorTag */); + }, + get updateJSDocAuthorTag() { + return getJSDocSimpleTagUpdateFunction(330 /* JSDocAuthorTag */); + }, + get createJSDocClassTag() { + return getJSDocSimpleTagCreateFunction(332 /* JSDocClassTag */); + }, + get updateJSDocClassTag() { + return getJSDocSimpleTagUpdateFunction(332 /* JSDocClassTag */); + }, + get createJSDocPublicTag() { + return getJSDocSimpleTagCreateFunction(333 /* JSDocPublicTag */); + }, + get updateJSDocPublicTag() { + return getJSDocSimpleTagUpdateFunction(333 /* JSDocPublicTag */); + }, + get createJSDocPrivateTag() { + return getJSDocSimpleTagCreateFunction(334 /* JSDocPrivateTag */); + }, + get updateJSDocPrivateTag() { + return getJSDocSimpleTagUpdateFunction(334 /* JSDocPrivateTag */); + }, + get createJSDocProtectedTag() { + return getJSDocSimpleTagCreateFunction(335 /* JSDocProtectedTag */); + }, + get updateJSDocProtectedTag() { + return getJSDocSimpleTagUpdateFunction(335 /* JSDocProtectedTag */); + }, + get createJSDocReadonlyTag() { + return getJSDocSimpleTagCreateFunction(336 /* JSDocReadonlyTag */); + }, + get updateJSDocReadonlyTag() { + return getJSDocSimpleTagUpdateFunction(336 /* JSDocReadonlyTag */); + }, + get createJSDocOverrideTag() { + return getJSDocSimpleTagCreateFunction(337 /* JSDocOverrideTag */); + }, + get updateJSDocOverrideTag() { + return getJSDocSimpleTagUpdateFunction(337 /* JSDocOverrideTag */); + }, + get createJSDocDeprecatedTag() { + return getJSDocSimpleTagCreateFunction(331 /* JSDocDeprecatedTag */); + }, + get updateJSDocDeprecatedTag() { + return getJSDocSimpleTagUpdateFunction(331 /* JSDocDeprecatedTag */); + }, + get createJSDocThrowsTag() { + return getJSDocTypeLikeTagCreateFunction(349 /* JSDocThrowsTag */); + }, + get updateJSDocThrowsTag() { + return getJSDocTypeLikeTagUpdateFunction(349 /* JSDocThrowsTag */); + }, + get createJSDocSatisfiesTag() { + return getJSDocTypeLikeTagCreateFunction(350 /* JSDocSatisfiesTag */); + }, + get updateJSDocSatisfiesTag() { + return getJSDocTypeLikeTagUpdateFunction(350 /* JSDocSatisfiesTag */); + }, + createJSDocEnumTag, + updateJSDocEnumTag, + createJSDocUnknownTag, + updateJSDocUnknownTag, + createJSDocText, + updateJSDocText, + createJSDocComment, + updateJSDocComment, + createJsxElement, + updateJsxElement, + createJsxSelfClosingElement, + updateJsxSelfClosingElement, + createJsxOpeningElement, + updateJsxOpeningElement, + createJsxClosingElement, + updateJsxClosingElement, + createJsxFragment, + createJsxText, + updateJsxText, + createJsxOpeningFragment, + createJsxJsxClosingFragment, + updateJsxFragment, + createJsxAttribute, + updateJsxAttribute, + createJsxAttributes, + updateJsxAttributes, + createJsxSpreadAttribute, + updateJsxSpreadAttribute, + createJsxExpression, + updateJsxExpression, + createJsxNamespacedName, + updateJsxNamespacedName, + createCaseClause, + updateCaseClause, + createDefaultClause, + updateDefaultClause, + createHeritageClause, + updateHeritageClause, + createCatchClause, + updateCatchClause, + createPropertyAssignment, + updatePropertyAssignment, + createShorthandPropertyAssignment, + updateShorthandPropertyAssignment, + createSpreadAssignment, + updateSpreadAssignment, + createEnumMember, + updateEnumMember, + createSourceFile: createSourceFile2, + updateSourceFile, + createRedirectedSourceFile, + createBundle, + updateBundle, + createSyntheticExpression, + createSyntaxList, + createNotEmittedStatement, + createNotEmittedTypeElement, + createPartiallyEmittedExpression, + updatePartiallyEmittedExpression, + createCommaListExpression, + updateCommaListExpression, + createSyntheticReferenceExpression, + updateSyntheticReferenceExpression, + cloneNode, + // Lazily load factory methods for common operator factories and utilities + get createComma() { + return getBinaryCreateFunction(28 /* CommaToken */); + }, + get createAssignment() { + return getBinaryCreateFunction(64 /* EqualsToken */); + }, + get createLogicalOr() { + return getBinaryCreateFunction(57 /* BarBarToken */); + }, + get createLogicalAnd() { + return getBinaryCreateFunction(56 /* AmpersandAmpersandToken */); + }, + get createBitwiseOr() { + return getBinaryCreateFunction(52 /* BarToken */); + }, + get createBitwiseXor() { + return getBinaryCreateFunction(53 /* CaretToken */); + }, + get createBitwiseAnd() { + return getBinaryCreateFunction(51 /* AmpersandToken */); + }, + get createStrictEquality() { + return getBinaryCreateFunction(37 /* EqualsEqualsEqualsToken */); + }, + get createStrictInequality() { + return getBinaryCreateFunction(38 /* ExclamationEqualsEqualsToken */); + }, + get createEquality() { + return getBinaryCreateFunction(35 /* EqualsEqualsToken */); + }, + get createInequality() { + return getBinaryCreateFunction(36 /* ExclamationEqualsToken */); + }, + get createLessThan() { + return getBinaryCreateFunction(30 /* LessThanToken */); + }, + get createLessThanEquals() { + return getBinaryCreateFunction(33 /* LessThanEqualsToken */); + }, + get createGreaterThan() { + return getBinaryCreateFunction(32 /* GreaterThanToken */); + }, + get createGreaterThanEquals() { + return getBinaryCreateFunction(34 /* GreaterThanEqualsToken */); + }, + get createLeftShift() { + return getBinaryCreateFunction(48 /* LessThanLessThanToken */); + }, + get createRightShift() { + return getBinaryCreateFunction(49 /* GreaterThanGreaterThanToken */); + }, + get createUnsignedRightShift() { + return getBinaryCreateFunction(50 /* GreaterThanGreaterThanGreaterThanToken */); + }, + get createAdd() { + return getBinaryCreateFunction(40 /* PlusToken */); + }, + get createSubtract() { + return getBinaryCreateFunction(41 /* MinusToken */); + }, + get createMultiply() { + return getBinaryCreateFunction(42 /* AsteriskToken */); + }, + get createDivide() { + return getBinaryCreateFunction(44 /* SlashToken */); + }, + get createModulo() { + return getBinaryCreateFunction(45 /* PercentToken */); + }, + get createExponent() { + return getBinaryCreateFunction(43 /* AsteriskAsteriskToken */); + }, + get createPrefixPlus() { + return getPrefixUnaryCreateFunction(40 /* PlusToken */); + }, + get createPrefixMinus() { + return getPrefixUnaryCreateFunction(41 /* MinusToken */); + }, + get createPrefixIncrement() { + return getPrefixUnaryCreateFunction(46 /* PlusPlusToken */); + }, + get createPrefixDecrement() { + return getPrefixUnaryCreateFunction(47 /* MinusMinusToken */); + }, + get createBitwiseNot() { + return getPrefixUnaryCreateFunction(55 /* TildeToken */); + }, + get createLogicalNot() { + return getPrefixUnaryCreateFunction(54 /* ExclamationToken */); + }, + get createPostfixIncrement() { + return getPostfixUnaryCreateFunction(46 /* PlusPlusToken */); + }, + get createPostfixDecrement() { + return getPostfixUnaryCreateFunction(47 /* MinusMinusToken */); + }, + // Compound nodes + createImmediatelyInvokedFunctionExpression, + createImmediatelyInvokedArrowFunction, + createVoidZero, + createExportDefault, + createExternalModuleExport, + createTypeCheck, + createIsNotTypeCheck, + createMethodCall, + createGlobalMethodCall, + createFunctionBindCall, + createFunctionCallCall, + createFunctionApplyCall, + createArraySliceCall, + createArrayConcatCall, + createObjectDefinePropertyCall, + createObjectGetOwnPropertyDescriptorCall, + createReflectGetCall, + createReflectSetCall, + createPropertyDescriptor, + createCallBinding, + createAssignmentTargetWrapper, + // Utilities + inlineExpressions, + getInternalName, + getLocalName, + getExportName, + getDeclarationName, + getNamespaceMemberName, + getExternalModuleOrNamespaceExportName, + restoreOuterExpressions, + restoreEnclosingLabel, + createUseStrictPrologue, + copyPrologue, + copyStandardPrologue, + copyCustomPrologue, + ensureUseStrict, + liftToBlock, + mergeLexicalEnvironment, + replaceModifiers, + replaceDecoratorsAndModifiers, + replacePropertyName + }; + forEach(nodeFactoryPatchers, (fn) => fn(factory2)); + return factory2; + function createNodeArray(elements, hasTrailingComma) { + if (elements === void 0 || elements === emptyArray) { + elements = []; + } else if (isNodeArray(elements)) { + if (hasTrailingComma === void 0 || elements.hasTrailingComma === hasTrailingComma) { + if (elements.transformFlags === void 0) { + aggregateChildrenFlags(elements); + } + Debug.attachNodeArrayDebugInfo(elements); + return elements; + } + const array2 = elements.slice(); + array2.pos = elements.pos; + array2.end = elements.end; + array2.hasTrailingComma = hasTrailingComma; + array2.transformFlags = elements.transformFlags; + Debug.attachNodeArrayDebugInfo(array2); + return array2; + } + const length2 = elements.length; + const array = length2 >= 1 && length2 <= 4 ? elements.slice() : elements; + array.pos = -1; + array.end = -1; + array.hasTrailingComma = !!hasTrailingComma; + array.transformFlags = 0 /* None */; + aggregateChildrenFlags(array); + Debug.attachNodeArrayDebugInfo(array); + return array; + } + function createBaseNode(kind) { + return baseFactory2.createBaseNode(kind); + } + function createBaseDeclaration(kind) { + const node = createBaseNode(kind); + node.symbol = void 0; + node.localSymbol = void 0; + return node; + } + function finishUpdateBaseSignatureDeclaration(updated, original) { + if (updated !== original) { + updated.typeArguments = original.typeArguments; + } + return update(updated, original); + } + function createNumericLiteral(value, numericLiteralFlags = 0 /* None */) { + const text = typeof value === "number" ? value + "" : value; + Debug.assert(text.charCodeAt(0) !== 45 /* minus */, "Negative numbers should be created in combination with createPrefixUnaryExpression"); + const node = createBaseDeclaration(9 /* NumericLiteral */); + node.text = text; + node.numericLiteralFlags = numericLiteralFlags; + if (numericLiteralFlags & 384 /* BinaryOrOctalSpecifier */) node.transformFlags |= 1024 /* ContainsES2015 */; + return node; + } + function createBigIntLiteral(value) { + const node = createBaseToken(10 /* BigIntLiteral */); + node.text = typeof value === "string" ? value : pseudoBigIntToString(value) + "n"; + node.transformFlags |= 32 /* ContainsES2020 */; + return node; + } + function createBaseStringLiteral(text, isSingleQuote) { + const node = createBaseDeclaration(11 /* StringLiteral */); + node.text = text; + node.singleQuote = isSingleQuote; + return node; + } + function createStringLiteral(text, isSingleQuote, hasExtendedUnicodeEscape) { + const node = createBaseStringLiteral(text, isSingleQuote); + node.hasExtendedUnicodeEscape = hasExtendedUnicodeEscape; + if (hasExtendedUnicodeEscape) node.transformFlags |= 1024 /* ContainsES2015 */; + return node; + } + function createStringLiteralFromNode(sourceNode) { + const node = createBaseStringLiteral( + getTextOfIdentifierOrLiteral(sourceNode), + /*isSingleQuote*/ + void 0 + ); + node.textSourceNode = sourceNode; + return node; + } + function createRegularExpressionLiteral(text) { + const node = createBaseToken(14 /* RegularExpressionLiteral */); + node.text = text; + return node; + } + function createLiteralLikeNode(kind, text) { + switch (kind) { + case 9 /* NumericLiteral */: + return createNumericLiteral( + text, + /*numericLiteralFlags*/ + 0 + ); + case 10 /* BigIntLiteral */: + return createBigIntLiteral(text); + case 11 /* StringLiteral */: + return createStringLiteral( + text, + /*isSingleQuote*/ + void 0 + ); + case 12 /* JsxText */: + return createJsxText( + text, + /*containsOnlyTriviaWhiteSpaces*/ + false + ); + case 13 /* JsxTextAllWhiteSpaces */: + return createJsxText( + text, + /*containsOnlyTriviaWhiteSpaces*/ + true + ); + case 14 /* RegularExpressionLiteral */: + return createRegularExpressionLiteral(text); + case 15 /* NoSubstitutionTemplateLiteral */: + return createTemplateLiteralLikeNode( + kind, + text, + /*rawText*/ + void 0, + /*templateFlags*/ + 0 + ); + } + } + function createBaseIdentifier(escapedText) { + const node = baseFactory2.createBaseIdentifierNode(80 /* Identifier */); + node.escapedText = escapedText; + node.jsDoc = void 0; + node.flowNode = void 0; + node.symbol = void 0; + return node; + } + function createBaseGeneratedIdentifier(text, autoGenerateFlags, prefix, suffix) { + const node = createBaseIdentifier(escapeLeadingUnderscores(text)); + setIdentifierAutoGenerate(node, { + flags: autoGenerateFlags, + id: nextAutoGenerateId, + prefix, + suffix + }); + nextAutoGenerateId++; + return node; + } + function createIdentifier(text, originalKeywordKind, hasExtendedUnicodeEscape) { + if (originalKeywordKind === void 0 && text) { + originalKeywordKind = stringToToken(text); + } + if (originalKeywordKind === 80 /* Identifier */) { + originalKeywordKind = void 0; + } + const node = createBaseIdentifier(escapeLeadingUnderscores(text)); + if (hasExtendedUnicodeEscape) node.flags |= 256 /* IdentifierHasExtendedUnicodeEscape */; + if (node.escapedText === "await") { + node.transformFlags |= 67108864 /* ContainsPossibleTopLevelAwait */; + } + if (node.flags & 256 /* IdentifierHasExtendedUnicodeEscape */) { + node.transformFlags |= 1024 /* ContainsES2015 */; + } + return node; + } + function createTempVariable(recordTempVariable, reservedInNestedScopes, prefix, suffix) { + let flags2 = 1 /* Auto */; + if (reservedInNestedScopes) flags2 |= 8 /* ReservedInNestedScopes */; + const name = createBaseGeneratedIdentifier("", flags2, prefix, suffix); + if (recordTempVariable) { + recordTempVariable(name); + } + return name; + } + function createLoopVariable(reservedInNestedScopes) { + let flags2 = 2 /* Loop */; + if (reservedInNestedScopes) flags2 |= 8 /* ReservedInNestedScopes */; + return createBaseGeneratedIdentifier( + "", + flags2, + /*prefix*/ + void 0, + /*suffix*/ + void 0 + ); + } + function createUniqueName(text, flags2 = 0 /* None */, prefix, suffix) { + Debug.assert(!(flags2 & 7 /* KindMask */), "Argument out of range: flags"); + Debug.assert((flags2 & (16 /* Optimistic */ | 32 /* FileLevel */)) !== 32 /* FileLevel */, "GeneratedIdentifierFlags.FileLevel cannot be set without also setting GeneratedIdentifierFlags.Optimistic"); + return createBaseGeneratedIdentifier(text, 3 /* Unique */ | flags2, prefix, suffix); + } + function getGeneratedNameForNode(node, flags2 = 0, prefix, suffix) { + Debug.assert(!(flags2 & 7 /* KindMask */), "Argument out of range: flags"); + const text = !node ? "" : isMemberName(node) ? formatGeneratedName( + /*privateName*/ + false, + prefix, + node, + suffix, + idText + ) : `generated@${getNodeId(node)}`; + if (prefix || suffix) flags2 |= 16 /* Optimistic */; + const name = createBaseGeneratedIdentifier(text, 4 /* Node */ | flags2, prefix, suffix); + name.original = node; + return name; + } + function createBasePrivateIdentifier(escapedText) { + const node = baseFactory2.createBasePrivateIdentifierNode(81 /* PrivateIdentifier */); + node.escapedText = escapedText; + node.transformFlags |= 16777216 /* ContainsClassFields */; + return node; + } + function createPrivateIdentifier(text) { + if (!startsWith(text, "#")) Debug.fail("First character of private identifier must be #: " + text); + return createBasePrivateIdentifier(escapeLeadingUnderscores(text)); + } + function createBaseGeneratedPrivateIdentifier(text, autoGenerateFlags, prefix, suffix) { + const node = createBasePrivateIdentifier(escapeLeadingUnderscores(text)); + setIdentifierAutoGenerate(node, { + flags: autoGenerateFlags, + id: nextAutoGenerateId, + prefix, + suffix + }); + nextAutoGenerateId++; + return node; + } + function createUniquePrivateName(text, prefix, suffix) { + if (text && !startsWith(text, "#")) Debug.fail("First character of private identifier must be #: " + text); + const autoGenerateFlags = 8 /* ReservedInNestedScopes */ | (text ? 3 /* Unique */ : 1 /* Auto */); + return createBaseGeneratedPrivateIdentifier(text ?? "", autoGenerateFlags, prefix, suffix); + } + function getGeneratedPrivateNameForNode(node, prefix, suffix) { + const text = isMemberName(node) ? formatGeneratedName( + /*privateName*/ + true, + prefix, + node, + suffix, + idText + ) : `#generated@${getNodeId(node)}`; + const flags2 = prefix || suffix ? 16 /* Optimistic */ : 0 /* None */; + const name = createBaseGeneratedPrivateIdentifier(text, 4 /* Node */ | flags2, prefix, suffix); + name.original = node; + return name; + } + function createBaseToken(kind) { + return baseFactory2.createBaseTokenNode(kind); + } + function createToken(token) { + Debug.assert(token >= 0 /* FirstToken */ && token <= 165 /* LastToken */, "Invalid token"); + Debug.assert(token <= 15 /* FirstTemplateToken */ || token >= 18 /* LastTemplateToken */, "Invalid token. Use 'createTemplateLiteralLikeNode' to create template literals."); + Debug.assert(token <= 9 /* FirstLiteralToken */ || token >= 15 /* LastLiteralToken */, "Invalid token. Use 'createLiteralLikeNode' to create literals."); + Debug.assert(token !== 80 /* Identifier */, "Invalid token. Use 'createIdentifier' to create identifiers"); + const node = createBaseToken(token); + let transformFlags = 0 /* None */; + switch (token) { + case 134 /* AsyncKeyword */: + transformFlags = 256 /* ContainsES2017 */ | 128 /* ContainsES2018 */; + break; + case 160 /* UsingKeyword */: + transformFlags = 4 /* ContainsESNext */; + break; + case 125 /* PublicKeyword */: + case 123 /* PrivateKeyword */: + case 124 /* ProtectedKeyword */: + case 148 /* ReadonlyKeyword */: + case 128 /* AbstractKeyword */: + case 138 /* DeclareKeyword */: + case 87 /* ConstKeyword */: + case 133 /* AnyKeyword */: + case 150 /* NumberKeyword */: + case 163 /* BigIntKeyword */: + case 146 /* NeverKeyword */: + case 151 /* ObjectKeyword */: + case 103 /* InKeyword */: + case 147 /* OutKeyword */: + case 164 /* OverrideKeyword */: + case 154 /* StringKeyword */: + case 136 /* BooleanKeyword */: + case 155 /* SymbolKeyword */: + case 116 /* VoidKeyword */: + case 159 /* UnknownKeyword */: + case 157 /* UndefinedKeyword */: + transformFlags = 1 /* ContainsTypeScript */; + break; + case 108 /* SuperKeyword */: + transformFlags = 1024 /* ContainsES2015 */ | 134217728 /* ContainsLexicalSuper */; + node.flowNode = void 0; + break; + case 126 /* StaticKeyword */: + transformFlags = 1024 /* ContainsES2015 */; + break; + case 129 /* AccessorKeyword */: + transformFlags = 16777216 /* ContainsClassFields */; + break; + case 110 /* ThisKeyword */: + transformFlags = 16384 /* ContainsLexicalThis */; + node.flowNode = void 0; + break; + } + if (transformFlags) { + node.transformFlags |= transformFlags; + } + return node; + } + function createSuper() { + return createToken(108 /* SuperKeyword */); + } + function createThis() { + return createToken(110 /* ThisKeyword */); + } + function createNull() { + return createToken(106 /* NullKeyword */); + } + function createTrue() { + return createToken(112 /* TrueKeyword */); + } + function createFalse() { + return createToken(97 /* FalseKeyword */); + } + function createModifier(kind) { + return createToken(kind); + } + function createModifiersFromModifierFlags(flags2) { + const result = []; + if (flags2 & 32 /* Export */) result.push(createModifier(95 /* ExportKeyword */)); + if (flags2 & 128 /* Ambient */) result.push(createModifier(138 /* DeclareKeyword */)); + if (flags2 & 2048 /* Default */) result.push(createModifier(90 /* DefaultKeyword */)); + if (flags2 & 4096 /* Const */) result.push(createModifier(87 /* ConstKeyword */)); + if (flags2 & 1 /* Public */) result.push(createModifier(125 /* PublicKeyword */)); + if (flags2 & 2 /* Private */) result.push(createModifier(123 /* PrivateKeyword */)); + if (flags2 & 4 /* Protected */) result.push(createModifier(124 /* ProtectedKeyword */)); + if (flags2 & 64 /* Abstract */) result.push(createModifier(128 /* AbstractKeyword */)); + if (flags2 & 256 /* Static */) result.push(createModifier(126 /* StaticKeyword */)); + if (flags2 & 16 /* Override */) result.push(createModifier(164 /* OverrideKeyword */)); + if (flags2 & 8 /* Readonly */) result.push(createModifier(148 /* ReadonlyKeyword */)); + if (flags2 & 512 /* Accessor */) result.push(createModifier(129 /* AccessorKeyword */)); + if (flags2 & 1024 /* Async */) result.push(createModifier(134 /* AsyncKeyword */)); + if (flags2 & 8192 /* In */) result.push(createModifier(103 /* InKeyword */)); + if (flags2 & 16384 /* Out */) result.push(createModifier(147 /* OutKeyword */)); + return result.length ? result : void 0; + } + function createQualifiedName(left, right) { + const node = createBaseNode(166 /* QualifiedName */); + node.left = left; + node.right = asName(right); + node.transformFlags |= propagateChildFlags(node.left) | propagateIdentifierNameFlags(node.right); + node.flowNode = void 0; + return node; + } + function updateQualifiedName(node, left, right) { + return node.left !== left || node.right !== right ? update(createQualifiedName(left, right), node) : node; + } + function createComputedPropertyName(expression) { + const node = createBaseNode(167 /* ComputedPropertyName */); + node.expression = parenthesizerRules().parenthesizeExpressionOfComputedPropertyName(expression); + node.transformFlags |= propagateChildFlags(node.expression) | 1024 /* ContainsES2015 */ | 131072 /* ContainsComputedPropertyName */; + return node; + } + function updateComputedPropertyName(node, expression) { + return node.expression !== expression ? update(createComputedPropertyName(expression), node) : node; + } + function createTypeParameterDeclaration(modifiers, name, constraint, defaultType) { + const node = createBaseDeclaration(168 /* TypeParameter */); + node.modifiers = asNodeArray(modifiers); + node.name = asName(name); + node.constraint = constraint; + node.default = defaultType; + node.transformFlags = 1 /* ContainsTypeScript */; + node.expression = void 0; + node.jsDoc = void 0; + return node; + } + function updateTypeParameterDeclaration(node, modifiers, name, constraint, defaultType) { + return node.modifiers !== modifiers || node.name !== name || node.constraint !== constraint || node.default !== defaultType ? update(createTypeParameterDeclaration(modifiers, name, constraint, defaultType), node) : node; + } + function createParameterDeclaration(modifiers, dotDotDotToken, name, questionToken, type, initializer) { + const node = createBaseDeclaration(169 /* Parameter */); + node.modifiers = asNodeArray(modifiers); + node.dotDotDotToken = dotDotDotToken; + node.name = asName(name); + node.questionToken = questionToken; + node.type = type; + node.initializer = asInitializer(initializer); + if (isThisIdentifier(node.name)) { + node.transformFlags = 1 /* ContainsTypeScript */; + } else { + node.transformFlags = propagateChildrenFlags(node.modifiers) | propagateChildFlags(node.dotDotDotToken) | propagateNameFlags(node.name) | propagateChildFlags(node.questionToken) | propagateChildFlags(node.initializer) | (node.questionToken ?? node.type ? 1 /* ContainsTypeScript */ : 0 /* None */) | (node.dotDotDotToken ?? node.initializer ? 1024 /* ContainsES2015 */ : 0 /* None */) | (modifiersToFlags(node.modifiers) & 31 /* ParameterPropertyModifier */ ? 8192 /* ContainsTypeScriptClassSyntax */ : 0 /* None */); + } + node.jsDoc = void 0; + return node; + } + function updateParameterDeclaration(node, modifiers, dotDotDotToken, name, questionToken, type, initializer) { + return node.modifiers !== modifiers || node.dotDotDotToken !== dotDotDotToken || node.name !== name || node.questionToken !== questionToken || node.type !== type || node.initializer !== initializer ? update(createParameterDeclaration(modifiers, dotDotDotToken, name, questionToken, type, initializer), node) : node; + } + function createDecorator(expression) { + const node = createBaseNode(170 /* Decorator */); + node.expression = parenthesizerRules().parenthesizeLeftSideOfAccess( + expression, + /*optionalChain*/ + false + ); + node.transformFlags |= propagateChildFlags(node.expression) | 1 /* ContainsTypeScript */ | 8192 /* ContainsTypeScriptClassSyntax */ | 33554432 /* ContainsDecorators */; + return node; + } + function updateDecorator(node, expression) { + return node.expression !== expression ? update(createDecorator(expression), node) : node; + } + function createPropertySignature(modifiers, name, questionToken, type) { + const node = createBaseDeclaration(171 /* PropertySignature */); + node.modifiers = asNodeArray(modifiers); + node.name = asName(name); + node.type = type; + node.questionToken = questionToken; + node.transformFlags = 1 /* ContainsTypeScript */; + node.initializer = void 0; + node.jsDoc = void 0; + return node; + } + function updatePropertySignature(node, modifiers, name, questionToken, type) { + return node.modifiers !== modifiers || node.name !== name || node.questionToken !== questionToken || node.type !== type ? finishUpdatePropertySignature(createPropertySignature(modifiers, name, questionToken, type), node) : node; + } + function finishUpdatePropertySignature(updated, original) { + if (updated !== original) { + updated.initializer = original.initializer; + } + return update(updated, original); + } + function createPropertyDeclaration(modifiers, name, questionOrExclamationToken, type, initializer) { + const node = createBaseDeclaration(172 /* PropertyDeclaration */); + node.modifiers = asNodeArray(modifiers); + node.name = asName(name); + node.questionToken = questionOrExclamationToken && isQuestionToken(questionOrExclamationToken) ? questionOrExclamationToken : void 0; + node.exclamationToken = questionOrExclamationToken && isExclamationToken(questionOrExclamationToken) ? questionOrExclamationToken : void 0; + node.type = type; + node.initializer = asInitializer(initializer); + const isAmbient = node.flags & 33554432 /* Ambient */ || modifiersToFlags(node.modifiers) & 128 /* Ambient */; + node.transformFlags = propagateChildrenFlags(node.modifiers) | propagateNameFlags(node.name) | propagateChildFlags(node.initializer) | (isAmbient || node.questionToken || node.exclamationToken || node.type ? 1 /* ContainsTypeScript */ : 0 /* None */) | (isComputedPropertyName(node.name) || modifiersToFlags(node.modifiers) & 256 /* Static */ && node.initializer ? 8192 /* ContainsTypeScriptClassSyntax */ : 0 /* None */) | 16777216 /* ContainsClassFields */; + node.jsDoc = void 0; + return node; + } + function updatePropertyDeclaration(node, modifiers, name, questionOrExclamationToken, type, initializer) { + return node.modifiers !== modifiers || node.name !== name || node.questionToken !== (questionOrExclamationToken !== void 0 && isQuestionToken(questionOrExclamationToken) ? questionOrExclamationToken : void 0) || node.exclamationToken !== (questionOrExclamationToken !== void 0 && isExclamationToken(questionOrExclamationToken) ? questionOrExclamationToken : void 0) || node.type !== type || node.initializer !== initializer ? update(createPropertyDeclaration(modifiers, name, questionOrExclamationToken, type, initializer), node) : node; + } + function createMethodSignature(modifiers, name, questionToken, typeParameters, parameters, type) { + const node = createBaseDeclaration(173 /* MethodSignature */); + node.modifiers = asNodeArray(modifiers); + node.name = asName(name); + node.questionToken = questionToken; + node.typeParameters = asNodeArray(typeParameters); + node.parameters = asNodeArray(parameters); + node.type = type; + node.transformFlags = 1 /* ContainsTypeScript */; + node.jsDoc = void 0; + node.locals = void 0; + node.nextContainer = void 0; + node.typeArguments = void 0; + return node; + } + function updateMethodSignature(node, modifiers, name, questionToken, typeParameters, parameters, type) { + return node.modifiers !== modifiers || node.name !== name || node.questionToken !== questionToken || node.typeParameters !== typeParameters || node.parameters !== parameters || node.type !== type ? finishUpdateBaseSignatureDeclaration(createMethodSignature(modifiers, name, questionToken, typeParameters, parameters, type), node) : node; + } + function createMethodDeclaration(modifiers, asteriskToken, name, questionToken, typeParameters, parameters, type, body) { + const node = createBaseDeclaration(174 /* MethodDeclaration */); + node.modifiers = asNodeArray(modifiers); + node.asteriskToken = asteriskToken; + node.name = asName(name); + node.questionToken = questionToken; + node.exclamationToken = void 0; + node.typeParameters = asNodeArray(typeParameters); + node.parameters = createNodeArray(parameters); + node.type = type; + node.body = body; + if (!node.body) { + node.transformFlags = 1 /* ContainsTypeScript */; + } else { + const isAsync = modifiersToFlags(node.modifiers) & 1024 /* Async */; + const isGenerator = !!node.asteriskToken; + const isAsyncGenerator = isAsync && isGenerator; + node.transformFlags = propagateChildrenFlags(node.modifiers) | propagateChildFlags(node.asteriskToken) | propagateNameFlags(node.name) | propagateChildFlags(node.questionToken) | propagateChildrenFlags(node.typeParameters) | propagateChildrenFlags(node.parameters) | propagateChildFlags(node.type) | propagateChildFlags(node.body) & ~67108864 /* ContainsPossibleTopLevelAwait */ | (isAsyncGenerator ? 128 /* ContainsES2018 */ : isAsync ? 256 /* ContainsES2017 */ : isGenerator ? 2048 /* ContainsGenerator */ : 0 /* None */) | (node.questionToken || node.typeParameters || node.type ? 1 /* ContainsTypeScript */ : 0 /* None */) | 1024 /* ContainsES2015 */; + } + node.typeArguments = void 0; + node.jsDoc = void 0; + node.locals = void 0; + node.nextContainer = void 0; + node.flowNode = void 0; + node.endFlowNode = void 0; + node.returnFlowNode = void 0; + return node; + } + function updateMethodDeclaration(node, modifiers, asteriskToken, name, questionToken, typeParameters, parameters, type, body) { + return node.modifiers !== modifiers || node.asteriskToken !== asteriskToken || node.name !== name || node.questionToken !== questionToken || node.typeParameters !== typeParameters || node.parameters !== parameters || node.type !== type || node.body !== body ? finishUpdateMethodDeclaration(createMethodDeclaration(modifiers, asteriskToken, name, questionToken, typeParameters, parameters, type, body), node) : node; + } + function finishUpdateMethodDeclaration(updated, original) { + if (updated !== original) { + updated.exclamationToken = original.exclamationToken; + } + return update(updated, original); + } + function createClassStaticBlockDeclaration(body) { + const node = createBaseDeclaration(175 /* ClassStaticBlockDeclaration */); + node.body = body; + node.transformFlags = propagateChildFlags(body) | 16777216 /* ContainsClassFields */; + node.modifiers = void 0; + node.jsDoc = void 0; + node.locals = void 0; + node.nextContainer = void 0; + node.endFlowNode = void 0; + node.returnFlowNode = void 0; + return node; + } + function updateClassStaticBlockDeclaration(node, body) { + return node.body !== body ? finishUpdateClassStaticBlockDeclaration(createClassStaticBlockDeclaration(body), node) : node; + } + function finishUpdateClassStaticBlockDeclaration(updated, original) { + if (updated !== original) { + updated.modifiers = original.modifiers; + } + return update(updated, original); + } + function createConstructorDeclaration(modifiers, parameters, body) { + const node = createBaseDeclaration(176 /* Constructor */); + node.modifiers = asNodeArray(modifiers); + node.parameters = createNodeArray(parameters); + node.body = body; + if (!node.body) { + node.transformFlags = 1 /* ContainsTypeScript */; + } else { + node.transformFlags = propagateChildrenFlags(node.modifiers) | propagateChildrenFlags(node.parameters) | propagateChildFlags(node.body) & ~67108864 /* ContainsPossibleTopLevelAwait */ | 1024 /* ContainsES2015 */; + } + node.typeParameters = void 0; + node.type = void 0; + node.typeArguments = void 0; + node.jsDoc = void 0; + node.locals = void 0; + node.nextContainer = void 0; + node.endFlowNode = void 0; + node.returnFlowNode = void 0; + return node; + } + function updateConstructorDeclaration(node, modifiers, parameters, body) { + return node.modifiers !== modifiers || node.parameters !== parameters || node.body !== body ? finishUpdateConstructorDeclaration(createConstructorDeclaration(modifiers, parameters, body), node) : node; + } + function finishUpdateConstructorDeclaration(updated, original) { + if (updated !== original) { + updated.typeParameters = original.typeParameters; + updated.type = original.type; + } + return finishUpdateBaseSignatureDeclaration(updated, original); + } + function createGetAccessorDeclaration(modifiers, name, parameters, type, body) { + const node = createBaseDeclaration(177 /* GetAccessor */); + node.modifiers = asNodeArray(modifiers); + node.name = asName(name); + node.parameters = createNodeArray(parameters); + node.type = type; + node.body = body; + if (!node.body) { + node.transformFlags = 1 /* ContainsTypeScript */; + } else { + node.transformFlags = propagateChildrenFlags(node.modifiers) | propagateNameFlags(node.name) | propagateChildrenFlags(node.parameters) | propagateChildFlags(node.type) | propagateChildFlags(node.body) & ~67108864 /* ContainsPossibleTopLevelAwait */ | (node.type ? 1 /* ContainsTypeScript */ : 0 /* None */); + } + node.typeArguments = void 0; + node.typeParameters = void 0; + node.jsDoc = void 0; + node.locals = void 0; + node.nextContainer = void 0; + node.flowNode = void 0; + node.endFlowNode = void 0; + node.returnFlowNode = void 0; + return node; + } + function updateGetAccessorDeclaration(node, modifiers, name, parameters, type, body) { + return node.modifiers !== modifiers || node.name !== name || node.parameters !== parameters || node.type !== type || node.body !== body ? finishUpdateGetAccessorDeclaration(createGetAccessorDeclaration(modifiers, name, parameters, type, body), node) : node; + } + function finishUpdateGetAccessorDeclaration(updated, original) { + if (updated !== original) { + updated.typeParameters = original.typeParameters; + } + return finishUpdateBaseSignatureDeclaration(updated, original); + } + function createSetAccessorDeclaration(modifiers, name, parameters, body) { + const node = createBaseDeclaration(178 /* SetAccessor */); + node.modifiers = asNodeArray(modifiers); + node.name = asName(name); + node.parameters = createNodeArray(parameters); + node.body = body; + if (!node.body) { + node.transformFlags = 1 /* ContainsTypeScript */; + } else { + node.transformFlags = propagateChildrenFlags(node.modifiers) | propagateNameFlags(node.name) | propagateChildrenFlags(node.parameters) | propagateChildFlags(node.body) & ~67108864 /* ContainsPossibleTopLevelAwait */ | (node.type ? 1 /* ContainsTypeScript */ : 0 /* None */); + } + node.typeArguments = void 0; + node.typeParameters = void 0; + node.type = void 0; + node.jsDoc = void 0; + node.locals = void 0; + node.nextContainer = void 0; + node.flowNode = void 0; + node.endFlowNode = void 0; + node.returnFlowNode = void 0; + return node; + } + function updateSetAccessorDeclaration(node, modifiers, name, parameters, body) { + return node.modifiers !== modifiers || node.name !== name || node.parameters !== parameters || node.body !== body ? finishUpdateSetAccessorDeclaration(createSetAccessorDeclaration(modifiers, name, parameters, body), node) : node; + } + function finishUpdateSetAccessorDeclaration(updated, original) { + if (updated !== original) { + updated.typeParameters = original.typeParameters; + updated.type = original.type; + } + return finishUpdateBaseSignatureDeclaration(updated, original); + } + function createCallSignature(typeParameters, parameters, type) { + const node = createBaseDeclaration(179 /* CallSignature */); + node.typeParameters = asNodeArray(typeParameters); + node.parameters = asNodeArray(parameters); + node.type = type; + node.transformFlags = 1 /* ContainsTypeScript */; + node.jsDoc = void 0; + node.locals = void 0; + node.nextContainer = void 0; + node.typeArguments = void 0; + return node; + } + function updateCallSignature(node, typeParameters, parameters, type) { + return node.typeParameters !== typeParameters || node.parameters !== parameters || node.type !== type ? finishUpdateBaseSignatureDeclaration(createCallSignature(typeParameters, parameters, type), node) : node; + } + function createConstructSignature(typeParameters, parameters, type) { + const node = createBaseDeclaration(180 /* ConstructSignature */); + node.typeParameters = asNodeArray(typeParameters); + node.parameters = asNodeArray(parameters); + node.type = type; + node.transformFlags = 1 /* ContainsTypeScript */; + node.jsDoc = void 0; + node.locals = void 0; + node.nextContainer = void 0; + node.typeArguments = void 0; + return node; + } + function updateConstructSignature(node, typeParameters, parameters, type) { + return node.typeParameters !== typeParameters || node.parameters !== parameters || node.type !== type ? finishUpdateBaseSignatureDeclaration(createConstructSignature(typeParameters, parameters, type), node) : node; + } + function createIndexSignature(modifiers, parameters, type) { + const node = createBaseDeclaration(181 /* IndexSignature */); + node.modifiers = asNodeArray(modifiers); + node.parameters = asNodeArray(parameters); + node.type = type; + node.transformFlags = 1 /* ContainsTypeScript */; + node.jsDoc = void 0; + node.locals = void 0; + node.nextContainer = void 0; + node.typeArguments = void 0; + return node; + } + function updateIndexSignature(node, modifiers, parameters, type) { + return node.parameters !== parameters || node.type !== type || node.modifiers !== modifiers ? finishUpdateBaseSignatureDeclaration(createIndexSignature(modifiers, parameters, type), node) : node; + } + function createTemplateLiteralTypeSpan(type, literal) { + const node = createBaseNode(204 /* TemplateLiteralTypeSpan */); + node.type = type; + node.literal = literal; + node.transformFlags = 1 /* ContainsTypeScript */; + return node; + } + function updateTemplateLiteralTypeSpan(node, type, literal) { + return node.type !== type || node.literal !== literal ? update(createTemplateLiteralTypeSpan(type, literal), node) : node; + } + function createKeywordTypeNode(kind) { + return createToken(kind); + } + function createTypePredicateNode(assertsModifier, parameterName, type) { + const node = createBaseNode(182 /* TypePredicate */); + node.assertsModifier = assertsModifier; + node.parameterName = asName(parameterName); + node.type = type; + node.transformFlags = 1 /* ContainsTypeScript */; + return node; + } + function updateTypePredicateNode(node, assertsModifier, parameterName, type) { + return node.assertsModifier !== assertsModifier || node.parameterName !== parameterName || node.type !== type ? update(createTypePredicateNode(assertsModifier, parameterName, type), node) : node; + } + function createTypeReferenceNode(typeName, typeArguments) { + const node = createBaseNode(183 /* TypeReference */); + node.typeName = asName(typeName); + node.typeArguments = typeArguments && parenthesizerRules().parenthesizeTypeArguments(createNodeArray(typeArguments)); + node.transformFlags = 1 /* ContainsTypeScript */; + return node; + } + function updateTypeReferenceNode(node, typeName, typeArguments) { + return node.typeName !== typeName || node.typeArguments !== typeArguments ? update(createTypeReferenceNode(typeName, typeArguments), node) : node; + } + function createFunctionTypeNode(typeParameters, parameters, type) { + const node = createBaseDeclaration(184 /* FunctionType */); + node.typeParameters = asNodeArray(typeParameters); + node.parameters = asNodeArray(parameters); + node.type = type; + node.transformFlags = 1 /* ContainsTypeScript */; + node.modifiers = void 0; + node.jsDoc = void 0; + node.locals = void 0; + node.nextContainer = void 0; + node.typeArguments = void 0; + return node; + } + function updateFunctionTypeNode(node, typeParameters, parameters, type) { + return node.typeParameters !== typeParameters || node.parameters !== parameters || node.type !== type ? finishUpdateFunctionTypeNode(createFunctionTypeNode(typeParameters, parameters, type), node) : node; + } + function finishUpdateFunctionTypeNode(updated, original) { + if (updated !== original) { + updated.modifiers = original.modifiers; + } + return finishUpdateBaseSignatureDeclaration(updated, original); + } + function createConstructorTypeNode(...args) { + return args.length === 4 ? createConstructorTypeNode1(...args) : args.length === 3 ? createConstructorTypeNode2(...args) : Debug.fail("Incorrect number of arguments specified."); + } + function createConstructorTypeNode1(modifiers, typeParameters, parameters, type) { + const node = createBaseDeclaration(185 /* ConstructorType */); + node.modifiers = asNodeArray(modifiers); + node.typeParameters = asNodeArray(typeParameters); + node.parameters = asNodeArray(parameters); + node.type = type; + node.transformFlags = 1 /* ContainsTypeScript */; + node.jsDoc = void 0; + node.locals = void 0; + node.nextContainer = void 0; + node.typeArguments = void 0; + return node; + } + function createConstructorTypeNode2(typeParameters, parameters, type) { + return createConstructorTypeNode1( + /*modifiers*/ + void 0, + typeParameters, + parameters, + type + ); + } + function updateConstructorTypeNode(...args) { + return args.length === 5 ? updateConstructorTypeNode1(...args) : args.length === 4 ? updateConstructorTypeNode2(...args) : Debug.fail("Incorrect number of arguments specified."); + } + function updateConstructorTypeNode1(node, modifiers, typeParameters, parameters, type) { + return node.modifiers !== modifiers || node.typeParameters !== typeParameters || node.parameters !== parameters || node.type !== type ? finishUpdateBaseSignatureDeclaration(createConstructorTypeNode(modifiers, typeParameters, parameters, type), node) : node; + } + function updateConstructorTypeNode2(node, typeParameters, parameters, type) { + return updateConstructorTypeNode1(node, node.modifiers, typeParameters, parameters, type); + } + function createTypeQueryNode(exprName, typeArguments) { + const node = createBaseNode(186 /* TypeQuery */); + node.exprName = exprName; + node.typeArguments = typeArguments && parenthesizerRules().parenthesizeTypeArguments(typeArguments); + node.transformFlags = 1 /* ContainsTypeScript */; + return node; + } + function updateTypeQueryNode(node, exprName, typeArguments) { + return node.exprName !== exprName || node.typeArguments !== typeArguments ? update(createTypeQueryNode(exprName, typeArguments), node) : node; + } + function createTypeLiteralNode(members) { + const node = createBaseDeclaration(187 /* TypeLiteral */); + node.members = createNodeArray(members); + node.transformFlags = 1 /* ContainsTypeScript */; + return node; + } + function updateTypeLiteralNode(node, members) { + return node.members !== members ? update(createTypeLiteralNode(members), node) : node; + } + function createArrayTypeNode(elementType) { + const node = createBaseNode(188 /* ArrayType */); + node.elementType = parenthesizerRules().parenthesizeNonArrayTypeOfPostfixType(elementType); + node.transformFlags = 1 /* ContainsTypeScript */; + return node; + } + function updateArrayTypeNode(node, elementType) { + return node.elementType !== elementType ? update(createArrayTypeNode(elementType), node) : node; + } + function createTupleTypeNode(elements) { + const node = createBaseNode(189 /* TupleType */); + node.elements = createNodeArray(parenthesizerRules().parenthesizeElementTypesOfTupleType(elements)); + node.transformFlags = 1 /* ContainsTypeScript */; + return node; + } + function updateTupleTypeNode(node, elements) { + return node.elements !== elements ? update(createTupleTypeNode(elements), node) : node; + } + function createNamedTupleMember(dotDotDotToken, name, questionToken, type) { + const node = createBaseDeclaration(202 /* NamedTupleMember */); + node.dotDotDotToken = dotDotDotToken; + node.name = name; + node.questionToken = questionToken; + node.type = type; + node.transformFlags = 1 /* ContainsTypeScript */; + node.jsDoc = void 0; + return node; + } + function updateNamedTupleMember(node, dotDotDotToken, name, questionToken, type) { + return node.dotDotDotToken !== dotDotDotToken || node.name !== name || node.questionToken !== questionToken || node.type !== type ? update(createNamedTupleMember(dotDotDotToken, name, questionToken, type), node) : node; + } + function createOptionalTypeNode(type) { + const node = createBaseNode(190 /* OptionalType */); + node.type = parenthesizerRules().parenthesizeTypeOfOptionalType(type); + node.transformFlags = 1 /* ContainsTypeScript */; + return node; + } + function updateOptionalTypeNode(node, type) { + return node.type !== type ? update(createOptionalTypeNode(type), node) : node; + } + function createRestTypeNode(type) { + const node = createBaseNode(191 /* RestType */); + node.type = type; + node.transformFlags = 1 /* ContainsTypeScript */; + return node; + } + function updateRestTypeNode(node, type) { + return node.type !== type ? update(createRestTypeNode(type), node) : node; + } + function createUnionOrIntersectionTypeNode(kind, types, parenthesize) { + const node = createBaseNode(kind); + node.types = factory2.createNodeArray(parenthesize(types)); + node.transformFlags = 1 /* ContainsTypeScript */; + return node; + } + function updateUnionOrIntersectionTypeNode(node, types, parenthesize) { + return node.types !== types ? update(createUnionOrIntersectionTypeNode(node.kind, types, parenthesize), node) : node; + } + function createUnionTypeNode(types) { + return createUnionOrIntersectionTypeNode(192 /* UnionType */, types, parenthesizerRules().parenthesizeConstituentTypesOfUnionType); + } + function updateUnionTypeNode(node, types) { + return updateUnionOrIntersectionTypeNode(node, types, parenthesizerRules().parenthesizeConstituentTypesOfUnionType); + } + function createIntersectionTypeNode(types) { + return createUnionOrIntersectionTypeNode(193 /* IntersectionType */, types, parenthesizerRules().parenthesizeConstituentTypesOfIntersectionType); + } + function updateIntersectionTypeNode(node, types) { + return updateUnionOrIntersectionTypeNode(node, types, parenthesizerRules().parenthesizeConstituentTypesOfIntersectionType); + } + function createConditionalTypeNode(checkType, extendsType, trueType, falseType) { + const node = createBaseNode(194 /* ConditionalType */); + node.checkType = parenthesizerRules().parenthesizeCheckTypeOfConditionalType(checkType); + node.extendsType = parenthesizerRules().parenthesizeExtendsTypeOfConditionalType(extendsType); + node.trueType = trueType; + node.falseType = falseType; + node.transformFlags = 1 /* ContainsTypeScript */; + node.locals = void 0; + node.nextContainer = void 0; + return node; + } + function updateConditionalTypeNode(node, checkType, extendsType, trueType, falseType) { + return node.checkType !== checkType || node.extendsType !== extendsType || node.trueType !== trueType || node.falseType !== falseType ? update(createConditionalTypeNode(checkType, extendsType, trueType, falseType), node) : node; + } + function createInferTypeNode(typeParameter) { + const node = createBaseNode(195 /* InferType */); + node.typeParameter = typeParameter; + node.transformFlags = 1 /* ContainsTypeScript */; + return node; + } + function updateInferTypeNode(node, typeParameter) { + return node.typeParameter !== typeParameter ? update(createInferTypeNode(typeParameter), node) : node; + } + function createTemplateLiteralType(head, templateSpans) { + const node = createBaseNode(203 /* TemplateLiteralType */); + node.head = head; + node.templateSpans = createNodeArray(templateSpans); + node.transformFlags = 1 /* ContainsTypeScript */; + return node; + } + function updateTemplateLiteralType(node, head, templateSpans) { + return node.head !== head || node.templateSpans !== templateSpans ? update(createTemplateLiteralType(head, templateSpans), node) : node; + } + function createImportTypeNode(argument, attributes, qualifier, typeArguments, isTypeOf = false) { + const node = createBaseNode(205 /* ImportType */); + node.argument = argument; + node.attributes = attributes; + if (node.assertions && node.assertions.assertClause && node.attributes) { + node.assertions.assertClause = node.attributes; + } + node.qualifier = qualifier; + node.typeArguments = typeArguments && parenthesizerRules().parenthesizeTypeArguments(typeArguments); + node.isTypeOf = isTypeOf; + node.transformFlags = 1 /* ContainsTypeScript */; + return node; + } + function updateImportTypeNode(node, argument, attributes, qualifier, typeArguments, isTypeOf = node.isTypeOf) { + return node.argument !== argument || node.attributes !== attributes || node.qualifier !== qualifier || node.typeArguments !== typeArguments || node.isTypeOf !== isTypeOf ? update(createImportTypeNode(argument, attributes, qualifier, typeArguments, isTypeOf), node) : node; + } + function createParenthesizedType(type) { + const node = createBaseNode(196 /* ParenthesizedType */); + node.type = type; + node.transformFlags = 1 /* ContainsTypeScript */; + return node; + } + function updateParenthesizedType(node, type) { + return node.type !== type ? update(createParenthesizedType(type), node) : node; + } + function createThisTypeNode() { + const node = createBaseNode(197 /* ThisType */); + node.transformFlags = 1 /* ContainsTypeScript */; + return node; + } + function createTypeOperatorNode(operator, type) { + const node = createBaseNode(198 /* TypeOperator */); + node.operator = operator; + node.type = operator === 148 /* ReadonlyKeyword */ ? parenthesizerRules().parenthesizeOperandOfReadonlyTypeOperator(type) : parenthesizerRules().parenthesizeOperandOfTypeOperator(type); + node.transformFlags = 1 /* ContainsTypeScript */; + return node; + } + function updateTypeOperatorNode(node, type) { + return node.type !== type ? update(createTypeOperatorNode(node.operator, type), node) : node; + } + function createIndexedAccessTypeNode(objectType, indexType) { + const node = createBaseNode(199 /* IndexedAccessType */); + node.objectType = parenthesizerRules().parenthesizeNonArrayTypeOfPostfixType(objectType); + node.indexType = indexType; + node.transformFlags = 1 /* ContainsTypeScript */; + return node; + } + function updateIndexedAccessTypeNode(node, objectType, indexType) { + return node.objectType !== objectType || node.indexType !== indexType ? update(createIndexedAccessTypeNode(objectType, indexType), node) : node; + } + function createMappedTypeNode(readonlyToken, typeParameter, nameType, questionToken, type, members) { + const node = createBaseDeclaration(200 /* MappedType */); + node.readonlyToken = readonlyToken; + node.typeParameter = typeParameter; + node.nameType = nameType; + node.questionToken = questionToken; + node.type = type; + node.members = members && createNodeArray(members); + node.transformFlags = 1 /* ContainsTypeScript */; + node.locals = void 0; + node.nextContainer = void 0; + return node; + } + function updateMappedTypeNode(node, readonlyToken, typeParameter, nameType, questionToken, type, members) { + return node.readonlyToken !== readonlyToken || node.typeParameter !== typeParameter || node.nameType !== nameType || node.questionToken !== questionToken || node.type !== type || node.members !== members ? update(createMappedTypeNode(readonlyToken, typeParameter, nameType, questionToken, type, members), node) : node; + } + function createLiteralTypeNode(literal) { + const node = createBaseNode(201 /* LiteralType */); + node.literal = literal; + node.transformFlags = 1 /* ContainsTypeScript */; + return node; + } + function updateLiteralTypeNode(node, literal) { + return node.literal !== literal ? update(createLiteralTypeNode(literal), node) : node; + } + function createObjectBindingPattern(elements) { + const node = createBaseNode(206 /* ObjectBindingPattern */); + node.elements = createNodeArray(elements); + node.transformFlags |= propagateChildrenFlags(node.elements) | 1024 /* ContainsES2015 */ | 524288 /* ContainsBindingPattern */; + if (node.transformFlags & 32768 /* ContainsRestOrSpread */) { + node.transformFlags |= 128 /* ContainsES2018 */ | 65536 /* ContainsObjectRestOrSpread */; + } + return node; + } + function updateObjectBindingPattern(node, elements) { + return node.elements !== elements ? update(createObjectBindingPattern(elements), node) : node; + } + function createArrayBindingPattern(elements) { + const node = createBaseNode(207 /* ArrayBindingPattern */); + node.elements = createNodeArray(elements); + node.transformFlags |= propagateChildrenFlags(node.elements) | 1024 /* ContainsES2015 */ | 524288 /* ContainsBindingPattern */; + return node; + } + function updateArrayBindingPattern(node, elements) { + return node.elements !== elements ? update(createArrayBindingPattern(elements), node) : node; + } + function createBindingElement(dotDotDotToken, propertyName, name, initializer) { + const node = createBaseDeclaration(208 /* BindingElement */); + node.dotDotDotToken = dotDotDotToken; + node.propertyName = asName(propertyName); + node.name = asName(name); + node.initializer = asInitializer(initializer); + node.transformFlags |= propagateChildFlags(node.dotDotDotToken) | propagateNameFlags(node.propertyName) | propagateNameFlags(node.name) | propagateChildFlags(node.initializer) | (node.dotDotDotToken ? 32768 /* ContainsRestOrSpread */ : 0 /* None */) | 1024 /* ContainsES2015 */; + node.flowNode = void 0; + return node; + } + function updateBindingElement(node, dotDotDotToken, propertyName, name, initializer) { + return node.propertyName !== propertyName || node.dotDotDotToken !== dotDotDotToken || node.name !== name || node.initializer !== initializer ? update(createBindingElement(dotDotDotToken, propertyName, name, initializer), node) : node; + } + function createArrayLiteralExpression(elements, multiLine) { + const node = createBaseNode(209 /* ArrayLiteralExpression */); + const lastElement = elements && lastOrUndefined(elements); + const elementsArray = createNodeArray(elements, lastElement && isOmittedExpression(lastElement) ? true : void 0); + node.elements = parenthesizerRules().parenthesizeExpressionsOfCommaDelimitedList(elementsArray); + node.multiLine = multiLine; + node.transformFlags |= propagateChildrenFlags(node.elements); + return node; + } + function updateArrayLiteralExpression(node, elements) { + return node.elements !== elements ? update(createArrayLiteralExpression(elements, node.multiLine), node) : node; + } + function createObjectLiteralExpression(properties, multiLine) { + const node = createBaseDeclaration(210 /* ObjectLiteralExpression */); + node.properties = createNodeArray(properties); + node.multiLine = multiLine; + node.transformFlags |= propagateChildrenFlags(node.properties); + node.jsDoc = void 0; + return node; + } + function updateObjectLiteralExpression(node, properties) { + return node.properties !== properties ? update(createObjectLiteralExpression(properties, node.multiLine), node) : node; + } + function createBasePropertyAccessExpression(expression, questionDotToken, name) { + const node = createBaseDeclaration(211 /* PropertyAccessExpression */); + node.expression = expression; + node.questionDotToken = questionDotToken; + node.name = name; + node.transformFlags = propagateChildFlags(node.expression) | propagateChildFlags(node.questionDotToken) | (isIdentifier(node.name) ? propagateIdentifierNameFlags(node.name) : propagateChildFlags(node.name) | 536870912 /* ContainsPrivateIdentifierInExpression */); + node.jsDoc = void 0; + node.flowNode = void 0; + return node; + } + function createPropertyAccessExpression(expression, name) { + const node = createBasePropertyAccessExpression( + parenthesizerRules().parenthesizeLeftSideOfAccess( + expression, + /*optionalChain*/ + false + ), + /*questionDotToken*/ + void 0, + asName(name) + ); + if (isSuperKeyword(expression)) { + node.transformFlags |= 256 /* ContainsES2017 */ | 128 /* ContainsES2018 */; + } + return node; + } + function updatePropertyAccessExpression(node, expression, name) { + if (isPropertyAccessChain(node)) { + return updatePropertyAccessChain(node, expression, node.questionDotToken, cast(name, isIdentifier)); + } + return node.expression !== expression || node.name !== name ? update(createPropertyAccessExpression(expression, name), node) : node; + } + function createPropertyAccessChain(expression, questionDotToken, name) { + const node = createBasePropertyAccessExpression( + parenthesizerRules().parenthesizeLeftSideOfAccess( + expression, + /*optionalChain*/ + true + ), + questionDotToken, + asName(name) + ); + node.flags |= 64 /* OptionalChain */; + node.transformFlags |= 32 /* ContainsES2020 */; + return node; + } + function updatePropertyAccessChain(node, expression, questionDotToken, name) { + Debug.assert(!!(node.flags & 64 /* OptionalChain */), "Cannot update a PropertyAccessExpression using updatePropertyAccessChain. Use updatePropertyAccess instead."); + return node.expression !== expression || node.questionDotToken !== questionDotToken || node.name !== name ? update(createPropertyAccessChain(expression, questionDotToken, name), node) : node; + } + function createBaseElementAccessExpression(expression, questionDotToken, argumentExpression) { + const node = createBaseDeclaration(212 /* ElementAccessExpression */); + node.expression = expression; + node.questionDotToken = questionDotToken; + node.argumentExpression = argumentExpression; + node.transformFlags |= propagateChildFlags(node.expression) | propagateChildFlags(node.questionDotToken) | propagateChildFlags(node.argumentExpression); + node.jsDoc = void 0; + node.flowNode = void 0; + return node; + } + function createElementAccessExpression(expression, index) { + const node = createBaseElementAccessExpression( + parenthesizerRules().parenthesizeLeftSideOfAccess( + expression, + /*optionalChain*/ + false + ), + /*questionDotToken*/ + void 0, + asExpression(index) + ); + if (isSuperKeyword(expression)) { + node.transformFlags |= 256 /* ContainsES2017 */ | 128 /* ContainsES2018 */; + } + return node; + } + function updateElementAccessExpression(node, expression, argumentExpression) { + if (isElementAccessChain(node)) { + return updateElementAccessChain(node, expression, node.questionDotToken, argumentExpression); + } + return node.expression !== expression || node.argumentExpression !== argumentExpression ? update(createElementAccessExpression(expression, argumentExpression), node) : node; + } + function createElementAccessChain(expression, questionDotToken, index) { + const node = createBaseElementAccessExpression( + parenthesizerRules().parenthesizeLeftSideOfAccess( + expression, + /*optionalChain*/ + true + ), + questionDotToken, + asExpression(index) + ); + node.flags |= 64 /* OptionalChain */; + node.transformFlags |= 32 /* ContainsES2020 */; + return node; + } + function updateElementAccessChain(node, expression, questionDotToken, argumentExpression) { + Debug.assert(!!(node.flags & 64 /* OptionalChain */), "Cannot update a ElementAccessExpression using updateElementAccessChain. Use updateElementAccess instead."); + return node.expression !== expression || node.questionDotToken !== questionDotToken || node.argumentExpression !== argumentExpression ? update(createElementAccessChain(expression, questionDotToken, argumentExpression), node) : node; + } + function createBaseCallExpression(expression, questionDotToken, typeArguments, argumentsArray) { + const node = createBaseDeclaration(213 /* CallExpression */); + node.expression = expression; + node.questionDotToken = questionDotToken; + node.typeArguments = typeArguments; + node.arguments = argumentsArray; + node.transformFlags |= propagateChildFlags(node.expression) | propagateChildFlags(node.questionDotToken) | propagateChildrenFlags(node.typeArguments) | propagateChildrenFlags(node.arguments); + if (node.typeArguments) { + node.transformFlags |= 1 /* ContainsTypeScript */; + } + if (isSuperProperty(node.expression)) { + node.transformFlags |= 16384 /* ContainsLexicalThis */; + } + return node; + } + function createCallExpression(expression, typeArguments, argumentsArray) { + const node = createBaseCallExpression( + parenthesizerRules().parenthesizeLeftSideOfAccess( + expression, + /*optionalChain*/ + false + ), + /*questionDotToken*/ + void 0, + asNodeArray(typeArguments), + parenthesizerRules().parenthesizeExpressionsOfCommaDelimitedList(createNodeArray(argumentsArray)) + ); + if (isImportKeyword(node.expression)) { + node.transformFlags |= 8388608 /* ContainsDynamicImport */; + } + return node; + } + function updateCallExpression(node, expression, typeArguments, argumentsArray) { + if (isCallChain(node)) { + return updateCallChain(node, expression, node.questionDotToken, typeArguments, argumentsArray); + } + return node.expression !== expression || node.typeArguments !== typeArguments || node.arguments !== argumentsArray ? update(createCallExpression(expression, typeArguments, argumentsArray), node) : node; + } + function createCallChain(expression, questionDotToken, typeArguments, argumentsArray) { + const node = createBaseCallExpression( + parenthesizerRules().parenthesizeLeftSideOfAccess( + expression, + /*optionalChain*/ + true + ), + questionDotToken, + asNodeArray(typeArguments), + parenthesizerRules().parenthesizeExpressionsOfCommaDelimitedList(createNodeArray(argumentsArray)) + ); + node.flags |= 64 /* OptionalChain */; + node.transformFlags |= 32 /* ContainsES2020 */; + return node; + } + function updateCallChain(node, expression, questionDotToken, typeArguments, argumentsArray) { + Debug.assert(!!(node.flags & 64 /* OptionalChain */), "Cannot update a CallExpression using updateCallChain. Use updateCall instead."); + return node.expression !== expression || node.questionDotToken !== questionDotToken || node.typeArguments !== typeArguments || node.arguments !== argumentsArray ? update(createCallChain(expression, questionDotToken, typeArguments, argumentsArray), node) : node; + } + function createNewExpression(expression, typeArguments, argumentsArray) { + const node = createBaseDeclaration(214 /* NewExpression */); + node.expression = parenthesizerRules().parenthesizeExpressionOfNew(expression); + node.typeArguments = asNodeArray(typeArguments); + node.arguments = argumentsArray ? parenthesizerRules().parenthesizeExpressionsOfCommaDelimitedList(argumentsArray) : void 0; + node.transformFlags |= propagateChildFlags(node.expression) | propagateChildrenFlags(node.typeArguments) | propagateChildrenFlags(node.arguments) | 32 /* ContainsES2020 */; + if (node.typeArguments) { + node.transformFlags |= 1 /* ContainsTypeScript */; + } + return node; + } + function updateNewExpression(node, expression, typeArguments, argumentsArray) { + return node.expression !== expression || node.typeArguments !== typeArguments || node.arguments !== argumentsArray ? update(createNewExpression(expression, typeArguments, argumentsArray), node) : node; + } + function createTaggedTemplateExpression(tag, typeArguments, template) { + const node = createBaseNode(215 /* TaggedTemplateExpression */); + node.tag = parenthesizerRules().parenthesizeLeftSideOfAccess( + tag, + /*optionalChain*/ + false + ); + node.typeArguments = asNodeArray(typeArguments); + node.template = template; + node.transformFlags |= propagateChildFlags(node.tag) | propagateChildrenFlags(node.typeArguments) | propagateChildFlags(node.template) | 1024 /* ContainsES2015 */; + if (node.typeArguments) { + node.transformFlags |= 1 /* ContainsTypeScript */; + } + if (hasInvalidEscape(node.template)) { + node.transformFlags |= 128 /* ContainsES2018 */; + } + return node; + } + function updateTaggedTemplateExpression(node, tag, typeArguments, template) { + return node.tag !== tag || node.typeArguments !== typeArguments || node.template !== template ? update(createTaggedTemplateExpression(tag, typeArguments, template), node) : node; + } + function createTypeAssertion(type, expression) { + const node = createBaseNode(216 /* TypeAssertionExpression */); + node.expression = parenthesizerRules().parenthesizeOperandOfPrefixUnary(expression); + node.type = type; + node.transformFlags |= propagateChildFlags(node.expression) | propagateChildFlags(node.type) | 1 /* ContainsTypeScript */; + return node; + } + function updateTypeAssertion(node, type, expression) { + return node.type !== type || node.expression !== expression ? update(createTypeAssertion(type, expression), node) : node; + } + function createParenthesizedExpression(expression) { + const node = createBaseNode(217 /* ParenthesizedExpression */); + node.expression = expression; + node.transformFlags = propagateChildFlags(node.expression); + node.jsDoc = void 0; + return node; + } + function updateParenthesizedExpression(node, expression) { + return node.expression !== expression ? update(createParenthesizedExpression(expression), node) : node; + } + function createFunctionExpression(modifiers, asteriskToken, name, typeParameters, parameters, type, body) { + const node = createBaseDeclaration(218 /* FunctionExpression */); + node.modifiers = asNodeArray(modifiers); + node.asteriskToken = asteriskToken; + node.name = asName(name); + node.typeParameters = asNodeArray(typeParameters); + node.parameters = createNodeArray(parameters); + node.type = type; + node.body = body; + const isAsync = modifiersToFlags(node.modifiers) & 1024 /* Async */; + const isGenerator = !!node.asteriskToken; + const isAsyncGenerator = isAsync && isGenerator; + node.transformFlags = propagateChildrenFlags(node.modifiers) | propagateChildFlags(node.asteriskToken) | propagateNameFlags(node.name) | propagateChildrenFlags(node.typeParameters) | propagateChildrenFlags(node.parameters) | propagateChildFlags(node.type) | propagateChildFlags(node.body) & ~67108864 /* ContainsPossibleTopLevelAwait */ | (isAsyncGenerator ? 128 /* ContainsES2018 */ : isAsync ? 256 /* ContainsES2017 */ : isGenerator ? 2048 /* ContainsGenerator */ : 0 /* None */) | (node.typeParameters || node.type ? 1 /* ContainsTypeScript */ : 0 /* None */) | 4194304 /* ContainsHoistedDeclarationOrCompletion */; + node.typeArguments = void 0; + node.jsDoc = void 0; + node.locals = void 0; + node.nextContainer = void 0; + node.flowNode = void 0; + node.endFlowNode = void 0; + node.returnFlowNode = void 0; + return node; + } + function updateFunctionExpression(node, modifiers, asteriskToken, name, typeParameters, parameters, type, body) { + return node.name !== name || node.modifiers !== modifiers || node.asteriskToken !== asteriskToken || node.typeParameters !== typeParameters || node.parameters !== parameters || node.type !== type || node.body !== body ? finishUpdateBaseSignatureDeclaration(createFunctionExpression(modifiers, asteriskToken, name, typeParameters, parameters, type, body), node) : node; + } + function createArrowFunction(modifiers, typeParameters, parameters, type, equalsGreaterThanToken, body) { + const node = createBaseDeclaration(219 /* ArrowFunction */); + node.modifiers = asNodeArray(modifiers); + node.typeParameters = asNodeArray(typeParameters); + node.parameters = createNodeArray(parameters); + node.type = type; + node.equalsGreaterThanToken = equalsGreaterThanToken ?? createToken(39 /* EqualsGreaterThanToken */); + node.body = parenthesizerRules().parenthesizeConciseBodyOfArrowFunction(body); + const isAsync = modifiersToFlags(node.modifiers) & 1024 /* Async */; + node.transformFlags = propagateChildrenFlags(node.modifiers) | propagateChildrenFlags(node.typeParameters) | propagateChildrenFlags(node.parameters) | propagateChildFlags(node.type) | propagateChildFlags(node.equalsGreaterThanToken) | propagateChildFlags(node.body) & ~67108864 /* ContainsPossibleTopLevelAwait */ | (node.typeParameters || node.type ? 1 /* ContainsTypeScript */ : 0 /* None */) | (isAsync ? 256 /* ContainsES2017 */ | 16384 /* ContainsLexicalThis */ : 0 /* None */) | 1024 /* ContainsES2015 */; + node.typeArguments = void 0; + node.jsDoc = void 0; + node.locals = void 0; + node.nextContainer = void 0; + node.flowNode = void 0; + node.endFlowNode = void 0; + node.returnFlowNode = void 0; + return node; + } + function updateArrowFunction(node, modifiers, typeParameters, parameters, type, equalsGreaterThanToken, body) { + return node.modifiers !== modifiers || node.typeParameters !== typeParameters || node.parameters !== parameters || node.type !== type || node.equalsGreaterThanToken !== equalsGreaterThanToken || node.body !== body ? finishUpdateBaseSignatureDeclaration(createArrowFunction(modifiers, typeParameters, parameters, type, equalsGreaterThanToken, body), node) : node; + } + function createDeleteExpression(expression) { + const node = createBaseNode(220 /* DeleteExpression */); + node.expression = parenthesizerRules().parenthesizeOperandOfPrefixUnary(expression); + node.transformFlags |= propagateChildFlags(node.expression); + return node; + } + function updateDeleteExpression(node, expression) { + return node.expression !== expression ? update(createDeleteExpression(expression), node) : node; + } + function createTypeOfExpression(expression) { + const node = createBaseNode(221 /* TypeOfExpression */); + node.expression = parenthesizerRules().parenthesizeOperandOfPrefixUnary(expression); + node.transformFlags |= propagateChildFlags(node.expression); + return node; + } + function updateTypeOfExpression(node, expression) { + return node.expression !== expression ? update(createTypeOfExpression(expression), node) : node; + } + function createVoidExpression(expression) { + const node = createBaseNode(222 /* VoidExpression */); + node.expression = parenthesizerRules().parenthesizeOperandOfPrefixUnary(expression); + node.transformFlags |= propagateChildFlags(node.expression); + return node; + } + function updateVoidExpression(node, expression) { + return node.expression !== expression ? update(createVoidExpression(expression), node) : node; + } + function createAwaitExpression(expression) { + const node = createBaseNode(223 /* AwaitExpression */); + node.expression = parenthesizerRules().parenthesizeOperandOfPrefixUnary(expression); + node.transformFlags |= propagateChildFlags(node.expression) | 256 /* ContainsES2017 */ | 128 /* ContainsES2018 */ | 2097152 /* ContainsAwait */; + return node; + } + function updateAwaitExpression(node, expression) { + return node.expression !== expression ? update(createAwaitExpression(expression), node) : node; + } + function createPrefixUnaryExpression(operator, operand) { + const node = createBaseNode(224 /* PrefixUnaryExpression */); + node.operator = operator; + node.operand = parenthesizerRules().parenthesizeOperandOfPrefixUnary(operand); + node.transformFlags |= propagateChildFlags(node.operand); + if ((operator === 46 /* PlusPlusToken */ || operator === 47 /* MinusMinusToken */) && isIdentifier(node.operand) && !isGeneratedIdentifier(node.operand) && !isLocalName(node.operand)) { + node.transformFlags |= 268435456 /* ContainsUpdateExpressionForIdentifier */; + } + return node; + } + function updatePrefixUnaryExpression(node, operand) { + return node.operand !== operand ? update(createPrefixUnaryExpression(node.operator, operand), node) : node; + } + function createPostfixUnaryExpression(operand, operator) { + const node = createBaseNode(225 /* PostfixUnaryExpression */); + node.operator = operator; + node.operand = parenthesizerRules().parenthesizeOperandOfPostfixUnary(operand); + node.transformFlags |= propagateChildFlags(node.operand); + if (isIdentifier(node.operand) && !isGeneratedIdentifier(node.operand) && !isLocalName(node.operand)) { + node.transformFlags |= 268435456 /* ContainsUpdateExpressionForIdentifier */; + } + return node; + } + function updatePostfixUnaryExpression(node, operand) { + return node.operand !== operand ? update(createPostfixUnaryExpression(operand, node.operator), node) : node; + } + function createBinaryExpression(left, operator, right) { + const node = createBaseDeclaration(226 /* BinaryExpression */); + const operatorToken = asToken(operator); + const operatorKind = operatorToken.kind; + node.left = parenthesizerRules().parenthesizeLeftSideOfBinary(operatorKind, left); + node.operatorToken = operatorToken; + node.right = parenthesizerRules().parenthesizeRightSideOfBinary(operatorKind, node.left, right); + node.transformFlags |= propagateChildFlags(node.left) | propagateChildFlags(node.operatorToken) | propagateChildFlags(node.right); + if (operatorKind === 61 /* QuestionQuestionToken */) { + node.transformFlags |= 32 /* ContainsES2020 */; + } else if (operatorKind === 64 /* EqualsToken */) { + if (isObjectLiteralExpression(node.left)) { + node.transformFlags |= 1024 /* ContainsES2015 */ | 128 /* ContainsES2018 */ | 4096 /* ContainsDestructuringAssignment */ | propagateAssignmentPatternFlags(node.left); + } else if (isArrayLiteralExpression(node.left)) { + node.transformFlags |= 1024 /* ContainsES2015 */ | 4096 /* ContainsDestructuringAssignment */ | propagateAssignmentPatternFlags(node.left); + } + } else if (operatorKind === 43 /* AsteriskAsteriskToken */ || operatorKind === 68 /* AsteriskAsteriskEqualsToken */) { + node.transformFlags |= 512 /* ContainsES2016 */; + } else if (isLogicalOrCoalescingAssignmentOperator(operatorKind)) { + node.transformFlags |= 16 /* ContainsES2021 */; + } + if (operatorKind === 103 /* InKeyword */ && isPrivateIdentifier(node.left)) { + node.transformFlags |= 536870912 /* ContainsPrivateIdentifierInExpression */; + } + node.jsDoc = void 0; + return node; + } + function propagateAssignmentPatternFlags(node) { + return containsObjectRestOrSpread(node) ? 65536 /* ContainsObjectRestOrSpread */ : 0 /* None */; + } + function updateBinaryExpression(node, left, operator, right) { + return node.left !== left || node.operatorToken !== operator || node.right !== right ? update(createBinaryExpression(left, operator, right), node) : node; + } + function createConditionalExpression(condition, questionToken, whenTrue, colonToken, whenFalse) { + const node = createBaseNode(227 /* ConditionalExpression */); + node.condition = parenthesizerRules().parenthesizeConditionOfConditionalExpression(condition); + node.questionToken = questionToken ?? createToken(58 /* QuestionToken */); + node.whenTrue = parenthesizerRules().parenthesizeBranchOfConditionalExpression(whenTrue); + node.colonToken = colonToken ?? createToken(59 /* ColonToken */); + node.whenFalse = parenthesizerRules().parenthesizeBranchOfConditionalExpression(whenFalse); + node.transformFlags |= propagateChildFlags(node.condition) | propagateChildFlags(node.questionToken) | propagateChildFlags(node.whenTrue) | propagateChildFlags(node.colonToken) | propagateChildFlags(node.whenFalse); + return node; + } + function updateConditionalExpression(node, condition, questionToken, whenTrue, colonToken, whenFalse) { + return node.condition !== condition || node.questionToken !== questionToken || node.whenTrue !== whenTrue || node.colonToken !== colonToken || node.whenFalse !== whenFalse ? update(createConditionalExpression(condition, questionToken, whenTrue, colonToken, whenFalse), node) : node; + } + function createTemplateExpression(head, templateSpans) { + const node = createBaseNode(228 /* TemplateExpression */); + node.head = head; + node.templateSpans = createNodeArray(templateSpans); + node.transformFlags |= propagateChildFlags(node.head) | propagateChildrenFlags(node.templateSpans) | 1024 /* ContainsES2015 */; + return node; + } + function updateTemplateExpression(node, head, templateSpans) { + return node.head !== head || node.templateSpans !== templateSpans ? update(createTemplateExpression(head, templateSpans), node) : node; + } + function checkTemplateLiteralLikeNode(kind, text, rawText, templateFlags = 0 /* None */) { + Debug.assert(!(templateFlags & ~7176 /* TemplateLiteralLikeFlags */), "Unsupported template flags."); + let cooked = void 0; + if (rawText !== void 0 && rawText !== text) { + cooked = getCookedText(kind, rawText); + if (typeof cooked === "object") { + return Debug.fail("Invalid raw text"); + } + } + if (text === void 0) { + if (cooked === void 0) { + return Debug.fail("Arguments 'text' and 'rawText' may not both be undefined."); + } + text = cooked; + } else if (cooked !== void 0) { + Debug.assert(text === cooked, "Expected argument 'text' to be the normalized (i.e. 'cooked') version of argument 'rawText'."); + } + return text; + } + function getTransformFlagsOfTemplateLiteralLike(templateFlags) { + let transformFlags = 1024 /* ContainsES2015 */; + if (templateFlags) { + transformFlags |= 128 /* ContainsES2018 */; + } + return transformFlags; + } + function createTemplateLiteralLikeToken(kind, text, rawText, templateFlags) { + const node = createBaseToken(kind); + node.text = text; + node.rawText = rawText; + node.templateFlags = templateFlags & 7176 /* TemplateLiteralLikeFlags */; + node.transformFlags = getTransformFlagsOfTemplateLiteralLike(node.templateFlags); + return node; + } + function createTemplateLiteralLikeDeclaration(kind, text, rawText, templateFlags) { + const node = createBaseDeclaration(kind); + node.text = text; + node.rawText = rawText; + node.templateFlags = templateFlags & 7176 /* TemplateLiteralLikeFlags */; + node.transformFlags = getTransformFlagsOfTemplateLiteralLike(node.templateFlags); + return node; + } + function createTemplateLiteralLikeNode(kind, text, rawText, templateFlags) { + if (kind === 15 /* NoSubstitutionTemplateLiteral */) { + return createTemplateLiteralLikeDeclaration(kind, text, rawText, templateFlags); + } + return createTemplateLiteralLikeToken(kind, text, rawText, templateFlags); + } + function createTemplateHead(text, rawText, templateFlags) { + text = checkTemplateLiteralLikeNode(16 /* TemplateHead */, text, rawText, templateFlags); + return createTemplateLiteralLikeNode(16 /* TemplateHead */, text, rawText, templateFlags); + } + function createTemplateMiddle(text, rawText, templateFlags) { + text = checkTemplateLiteralLikeNode(16 /* TemplateHead */, text, rawText, templateFlags); + return createTemplateLiteralLikeNode(17 /* TemplateMiddle */, text, rawText, templateFlags); + } + function createTemplateTail(text, rawText, templateFlags) { + text = checkTemplateLiteralLikeNode(16 /* TemplateHead */, text, rawText, templateFlags); + return createTemplateLiteralLikeNode(18 /* TemplateTail */, text, rawText, templateFlags); + } + function createNoSubstitutionTemplateLiteral(text, rawText, templateFlags) { + text = checkTemplateLiteralLikeNode(16 /* TemplateHead */, text, rawText, templateFlags); + return createTemplateLiteralLikeDeclaration(15 /* NoSubstitutionTemplateLiteral */, text, rawText, templateFlags); + } + function createYieldExpression(asteriskToken, expression) { + Debug.assert(!asteriskToken || !!expression, "A `YieldExpression` with an asteriskToken must have an expression."); + const node = createBaseNode(229 /* YieldExpression */); + node.expression = expression && parenthesizerRules().parenthesizeExpressionForDisallowedComma(expression); + node.asteriskToken = asteriskToken; + node.transformFlags |= propagateChildFlags(node.expression) | propagateChildFlags(node.asteriskToken) | 1024 /* ContainsES2015 */ | 128 /* ContainsES2018 */ | 1048576 /* ContainsYield */; + return node; + } + function updateYieldExpression(node, asteriskToken, expression) { + return node.expression !== expression || node.asteriskToken !== asteriskToken ? update(createYieldExpression(asteriskToken, expression), node) : node; + } + function createSpreadElement(expression) { + const node = createBaseNode(230 /* SpreadElement */); + node.expression = parenthesizerRules().parenthesizeExpressionForDisallowedComma(expression); + node.transformFlags |= propagateChildFlags(node.expression) | 1024 /* ContainsES2015 */ | 32768 /* ContainsRestOrSpread */; + return node; + } + function updateSpreadElement(node, expression) { + return node.expression !== expression ? update(createSpreadElement(expression), node) : node; + } + function createClassExpression(modifiers, name, typeParameters, heritageClauses, members) { + const node = createBaseDeclaration(231 /* ClassExpression */); + node.modifiers = asNodeArray(modifiers); + node.name = asName(name); + node.typeParameters = asNodeArray(typeParameters); + node.heritageClauses = asNodeArray(heritageClauses); + node.members = createNodeArray(members); + node.transformFlags |= propagateChildrenFlags(node.modifiers) | propagateNameFlags(node.name) | propagateChildrenFlags(node.typeParameters) | propagateChildrenFlags(node.heritageClauses) | propagateChildrenFlags(node.members) | (node.typeParameters ? 1 /* ContainsTypeScript */ : 0 /* None */) | 1024 /* ContainsES2015 */; + node.jsDoc = void 0; + return node; + } + function updateClassExpression(node, modifiers, name, typeParameters, heritageClauses, members) { + return node.modifiers !== modifiers || node.name !== name || node.typeParameters !== typeParameters || node.heritageClauses !== heritageClauses || node.members !== members ? update(createClassExpression(modifiers, name, typeParameters, heritageClauses, members), node) : node; + } + function createOmittedExpression() { + return createBaseNode(232 /* OmittedExpression */); + } + function createExpressionWithTypeArguments(expression, typeArguments) { + const node = createBaseNode(233 /* ExpressionWithTypeArguments */); + node.expression = parenthesizerRules().parenthesizeLeftSideOfAccess( + expression, + /*optionalChain*/ + false + ); + node.typeArguments = typeArguments && parenthesizerRules().parenthesizeTypeArguments(typeArguments); + node.transformFlags |= propagateChildFlags(node.expression) | propagateChildrenFlags(node.typeArguments) | 1024 /* ContainsES2015 */; + return node; + } + function updateExpressionWithTypeArguments(node, expression, typeArguments) { + return node.expression !== expression || node.typeArguments !== typeArguments ? update(createExpressionWithTypeArguments(expression, typeArguments), node) : node; + } + function createAsExpression(expression, type) { + const node = createBaseNode(234 /* AsExpression */); + node.expression = expression; + node.type = type; + node.transformFlags |= propagateChildFlags(node.expression) | propagateChildFlags(node.type) | 1 /* ContainsTypeScript */; + return node; + } + function updateAsExpression(node, expression, type) { + return node.expression !== expression || node.type !== type ? update(createAsExpression(expression, type), node) : node; + } + function createNonNullExpression(expression) { + const node = createBaseNode(235 /* NonNullExpression */); + node.expression = parenthesizerRules().parenthesizeLeftSideOfAccess( + expression, + /*optionalChain*/ + false + ); + node.transformFlags |= propagateChildFlags(node.expression) | 1 /* ContainsTypeScript */; + return node; + } + function updateNonNullExpression(node, expression) { + if (isNonNullChain(node)) { + return updateNonNullChain(node, expression); + } + return node.expression !== expression ? update(createNonNullExpression(expression), node) : node; + } + function createSatisfiesExpression(expression, type) { + const node = createBaseNode(238 /* SatisfiesExpression */); + node.expression = expression; + node.type = type; + node.transformFlags |= propagateChildFlags(node.expression) | propagateChildFlags(node.type) | 1 /* ContainsTypeScript */; + return node; + } + function updateSatisfiesExpression(node, expression, type) { + return node.expression !== expression || node.type !== type ? update(createSatisfiesExpression(expression, type), node) : node; + } + function createNonNullChain(expression) { + const node = createBaseNode(235 /* NonNullExpression */); + node.flags |= 64 /* OptionalChain */; + node.expression = parenthesizerRules().parenthesizeLeftSideOfAccess( + expression, + /*optionalChain*/ + true + ); + node.transformFlags |= propagateChildFlags(node.expression) | 1 /* ContainsTypeScript */; + return node; + } + function updateNonNullChain(node, expression) { + Debug.assert(!!(node.flags & 64 /* OptionalChain */), "Cannot update a NonNullExpression using updateNonNullChain. Use updateNonNullExpression instead."); + return node.expression !== expression ? update(createNonNullChain(expression), node) : node; + } + function createMetaProperty(keywordToken, name) { + const node = createBaseNode(236 /* MetaProperty */); + node.keywordToken = keywordToken; + node.name = name; + node.transformFlags |= propagateChildFlags(node.name); + switch (keywordToken) { + case 105 /* NewKeyword */: + node.transformFlags |= 1024 /* ContainsES2015 */; + break; + case 102 /* ImportKeyword */: + node.transformFlags |= 32 /* ContainsES2020 */; + break; + default: + return Debug.assertNever(keywordToken); + } + node.flowNode = void 0; + return node; + } + function updateMetaProperty(node, name) { + return node.name !== name ? update(createMetaProperty(node.keywordToken, name), node) : node; + } + function createTemplateSpan(expression, literal) { + const node = createBaseNode(239 /* TemplateSpan */); + node.expression = expression; + node.literal = literal; + node.transformFlags |= propagateChildFlags(node.expression) | propagateChildFlags(node.literal) | 1024 /* ContainsES2015 */; + return node; + } + function updateTemplateSpan(node, expression, literal) { + return node.expression !== expression || node.literal !== literal ? update(createTemplateSpan(expression, literal), node) : node; + } + function createSemicolonClassElement() { + const node = createBaseNode(240 /* SemicolonClassElement */); + node.transformFlags |= 1024 /* ContainsES2015 */; + return node; + } + function createBlock(statements, multiLine) { + const node = createBaseNode(241 /* Block */); + node.statements = createNodeArray(statements); + node.multiLine = multiLine; + node.transformFlags |= propagateChildrenFlags(node.statements); + node.jsDoc = void 0; + node.locals = void 0; + node.nextContainer = void 0; + return node; + } + function updateBlock(node, statements) { + return node.statements !== statements ? update(createBlock(statements, node.multiLine), node) : node; + } + function createVariableStatement(modifiers, declarationList) { + const node = createBaseNode(243 /* VariableStatement */); + node.modifiers = asNodeArray(modifiers); + node.declarationList = isArray(declarationList) ? createVariableDeclarationList(declarationList) : declarationList; + node.transformFlags |= propagateChildrenFlags(node.modifiers) | propagateChildFlags(node.declarationList); + if (modifiersToFlags(node.modifiers) & 128 /* Ambient */) { + node.transformFlags = 1 /* ContainsTypeScript */; + } + node.jsDoc = void 0; + node.flowNode = void 0; + return node; + } + function updateVariableStatement(node, modifiers, declarationList) { + return node.modifiers !== modifiers || node.declarationList !== declarationList ? update(createVariableStatement(modifiers, declarationList), node) : node; + } + function createEmptyStatement() { + const node = createBaseNode(242 /* EmptyStatement */); + node.jsDoc = void 0; + return node; + } + function createExpressionStatement(expression) { + const node = createBaseNode(244 /* ExpressionStatement */); + node.expression = parenthesizerRules().parenthesizeExpressionOfExpressionStatement(expression); + node.transformFlags |= propagateChildFlags(node.expression); + node.jsDoc = void 0; + node.flowNode = void 0; + return node; + } + function updateExpressionStatement(node, expression) { + return node.expression !== expression ? update(createExpressionStatement(expression), node) : node; + } + function createIfStatement(expression, thenStatement, elseStatement) { + const node = createBaseNode(245 /* IfStatement */); + node.expression = expression; + node.thenStatement = asEmbeddedStatement(thenStatement); + node.elseStatement = asEmbeddedStatement(elseStatement); + node.transformFlags |= propagateChildFlags(node.expression) | propagateChildFlags(node.thenStatement) | propagateChildFlags(node.elseStatement); + node.jsDoc = void 0; + node.flowNode = void 0; + return node; + } + function updateIfStatement(node, expression, thenStatement, elseStatement) { + return node.expression !== expression || node.thenStatement !== thenStatement || node.elseStatement !== elseStatement ? update(createIfStatement(expression, thenStatement, elseStatement), node) : node; + } + function createDoStatement(statement, expression) { + const node = createBaseNode(246 /* DoStatement */); + node.statement = asEmbeddedStatement(statement); + node.expression = expression; + node.transformFlags |= propagateChildFlags(node.statement) | propagateChildFlags(node.expression); + node.jsDoc = void 0; + node.flowNode = void 0; + return node; + } + function updateDoStatement(node, statement, expression) { + return node.statement !== statement || node.expression !== expression ? update(createDoStatement(statement, expression), node) : node; + } + function createWhileStatement(expression, statement) { + const node = createBaseNode(247 /* WhileStatement */); + node.expression = expression; + node.statement = asEmbeddedStatement(statement); + node.transformFlags |= propagateChildFlags(node.expression) | propagateChildFlags(node.statement); + node.jsDoc = void 0; + node.flowNode = void 0; + return node; + } + function updateWhileStatement(node, expression, statement) { + return node.expression !== expression || node.statement !== statement ? update(createWhileStatement(expression, statement), node) : node; + } + function createForStatement(initializer, condition, incrementor, statement) { + const node = createBaseNode(248 /* ForStatement */); + node.initializer = initializer; + node.condition = condition; + node.incrementor = incrementor; + node.statement = asEmbeddedStatement(statement); + node.transformFlags |= propagateChildFlags(node.initializer) | propagateChildFlags(node.condition) | propagateChildFlags(node.incrementor) | propagateChildFlags(node.statement); + node.jsDoc = void 0; + node.locals = void 0; + node.nextContainer = void 0; + node.flowNode = void 0; + return node; + } + function updateForStatement(node, initializer, condition, incrementor, statement) { + return node.initializer !== initializer || node.condition !== condition || node.incrementor !== incrementor || node.statement !== statement ? update(createForStatement(initializer, condition, incrementor, statement), node) : node; + } + function createForInStatement(initializer, expression, statement) { + const node = createBaseNode(249 /* ForInStatement */); + node.initializer = initializer; + node.expression = expression; + node.statement = asEmbeddedStatement(statement); + node.transformFlags |= propagateChildFlags(node.initializer) | propagateChildFlags(node.expression) | propagateChildFlags(node.statement); + node.jsDoc = void 0; + node.locals = void 0; + node.nextContainer = void 0; + node.flowNode = void 0; + return node; + } + function updateForInStatement(node, initializer, expression, statement) { + return node.initializer !== initializer || node.expression !== expression || node.statement !== statement ? update(createForInStatement(initializer, expression, statement), node) : node; + } + function createForOfStatement(awaitModifier, initializer, expression, statement) { + const node = createBaseNode(250 /* ForOfStatement */); + node.awaitModifier = awaitModifier; + node.initializer = initializer; + node.expression = parenthesizerRules().parenthesizeExpressionForDisallowedComma(expression); + node.statement = asEmbeddedStatement(statement); + node.transformFlags |= propagateChildFlags(node.awaitModifier) | propagateChildFlags(node.initializer) | propagateChildFlags(node.expression) | propagateChildFlags(node.statement) | 1024 /* ContainsES2015 */; + if (awaitModifier) node.transformFlags |= 128 /* ContainsES2018 */; + node.jsDoc = void 0; + node.locals = void 0; + node.nextContainer = void 0; + node.flowNode = void 0; + return node; + } + function updateForOfStatement(node, awaitModifier, initializer, expression, statement) { + return node.awaitModifier !== awaitModifier || node.initializer !== initializer || node.expression !== expression || node.statement !== statement ? update(createForOfStatement(awaitModifier, initializer, expression, statement), node) : node; + } + function createContinueStatement(label) { + const node = createBaseNode(251 /* ContinueStatement */); + node.label = asName(label); + node.transformFlags |= propagateChildFlags(node.label) | 4194304 /* ContainsHoistedDeclarationOrCompletion */; + node.jsDoc = void 0; + node.flowNode = void 0; + return node; + } + function updateContinueStatement(node, label) { + return node.label !== label ? update(createContinueStatement(label), node) : node; + } + function createBreakStatement(label) { + const node = createBaseNode(252 /* BreakStatement */); + node.label = asName(label); + node.transformFlags |= propagateChildFlags(node.label) | 4194304 /* ContainsHoistedDeclarationOrCompletion */; + node.jsDoc = void 0; + node.flowNode = void 0; + return node; + } + function updateBreakStatement(node, label) { + return node.label !== label ? update(createBreakStatement(label), node) : node; + } + function createReturnStatement(expression) { + const node = createBaseNode(253 /* ReturnStatement */); + node.expression = expression; + node.transformFlags |= propagateChildFlags(node.expression) | 128 /* ContainsES2018 */ | 4194304 /* ContainsHoistedDeclarationOrCompletion */; + node.jsDoc = void 0; + node.flowNode = void 0; + return node; + } + function updateReturnStatement(node, expression) { + return node.expression !== expression ? update(createReturnStatement(expression), node) : node; + } + function createWithStatement(expression, statement) { + const node = createBaseNode(254 /* WithStatement */); + node.expression = expression; + node.statement = asEmbeddedStatement(statement); + node.transformFlags |= propagateChildFlags(node.expression) | propagateChildFlags(node.statement); + node.jsDoc = void 0; + node.flowNode = void 0; + return node; + } + function updateWithStatement(node, expression, statement) { + return node.expression !== expression || node.statement !== statement ? update(createWithStatement(expression, statement), node) : node; + } + function createSwitchStatement(expression, caseBlock) { + const node = createBaseNode(255 /* SwitchStatement */); + node.expression = parenthesizerRules().parenthesizeExpressionForDisallowedComma(expression); + node.caseBlock = caseBlock; + node.transformFlags |= propagateChildFlags(node.expression) | propagateChildFlags(node.caseBlock); + node.jsDoc = void 0; + node.flowNode = void 0; + node.possiblyExhaustive = false; + return node; + } + function updateSwitchStatement(node, expression, caseBlock) { + return node.expression !== expression || node.caseBlock !== caseBlock ? update(createSwitchStatement(expression, caseBlock), node) : node; + } + function createLabeledStatement(label, statement) { + const node = createBaseNode(256 /* LabeledStatement */); + node.label = asName(label); + node.statement = asEmbeddedStatement(statement); + node.transformFlags |= propagateChildFlags(node.label) | propagateChildFlags(node.statement); + node.jsDoc = void 0; + node.flowNode = void 0; + return node; + } + function updateLabeledStatement(node, label, statement) { + return node.label !== label || node.statement !== statement ? update(createLabeledStatement(label, statement), node) : node; + } + function createThrowStatement(expression) { + const node = createBaseNode(257 /* ThrowStatement */); + node.expression = expression; + node.transformFlags |= propagateChildFlags(node.expression); + node.jsDoc = void 0; + node.flowNode = void 0; + return node; + } + function updateThrowStatement(node, expression) { + return node.expression !== expression ? update(createThrowStatement(expression), node) : node; + } + function createTryStatement(tryBlock, catchClause, finallyBlock) { + const node = createBaseNode(258 /* TryStatement */); + node.tryBlock = tryBlock; + node.catchClause = catchClause; + node.finallyBlock = finallyBlock; + node.transformFlags |= propagateChildFlags(node.tryBlock) | propagateChildFlags(node.catchClause) | propagateChildFlags(node.finallyBlock); + node.jsDoc = void 0; + node.flowNode = void 0; + return node; + } + function updateTryStatement(node, tryBlock, catchClause, finallyBlock) { + return node.tryBlock !== tryBlock || node.catchClause !== catchClause || node.finallyBlock !== finallyBlock ? update(createTryStatement(tryBlock, catchClause, finallyBlock), node) : node; + } + function createDebuggerStatement() { + const node = createBaseNode(259 /* DebuggerStatement */); + node.jsDoc = void 0; + node.flowNode = void 0; + return node; + } + function createVariableDeclaration(name, exclamationToken, type, initializer) { + const node = createBaseDeclaration(260 /* VariableDeclaration */); + node.name = asName(name); + node.exclamationToken = exclamationToken; + node.type = type; + node.initializer = asInitializer(initializer); + node.transformFlags |= propagateNameFlags(node.name) | propagateChildFlags(node.initializer) | (node.exclamationToken ?? node.type ? 1 /* ContainsTypeScript */ : 0 /* None */); + node.jsDoc = void 0; + return node; + } + function updateVariableDeclaration(node, name, exclamationToken, type, initializer) { + return node.name !== name || node.type !== type || node.exclamationToken !== exclamationToken || node.initializer !== initializer ? update(createVariableDeclaration(name, exclamationToken, type, initializer), node) : node; + } + function createVariableDeclarationList(declarations, flags2 = 0 /* None */) { + const node = createBaseNode(261 /* VariableDeclarationList */); + node.flags |= flags2 & 7 /* BlockScoped */; + node.declarations = createNodeArray(declarations); + node.transformFlags |= propagateChildrenFlags(node.declarations) | 4194304 /* ContainsHoistedDeclarationOrCompletion */; + if (flags2 & 7 /* BlockScoped */) { + node.transformFlags |= 1024 /* ContainsES2015 */ | 262144 /* ContainsBlockScopedBinding */; + } + if (flags2 & 4 /* Using */) { + node.transformFlags |= 4 /* ContainsESNext */; + } + return node; + } + function updateVariableDeclarationList(node, declarations) { + return node.declarations !== declarations ? update(createVariableDeclarationList(declarations, node.flags), node) : node; + } + function createFunctionDeclaration(modifiers, asteriskToken, name, typeParameters, parameters, type, body) { + const node = createBaseDeclaration(262 /* FunctionDeclaration */); + node.modifiers = asNodeArray(modifiers); + node.asteriskToken = asteriskToken; + node.name = asName(name); + node.typeParameters = asNodeArray(typeParameters); + node.parameters = createNodeArray(parameters); + node.type = type; + node.body = body; + if (!node.body || modifiersToFlags(node.modifiers) & 128 /* Ambient */) { + node.transformFlags = 1 /* ContainsTypeScript */; + } else { + const isAsync = modifiersToFlags(node.modifiers) & 1024 /* Async */; + const isGenerator = !!node.asteriskToken; + const isAsyncGenerator = isAsync && isGenerator; + node.transformFlags = propagateChildrenFlags(node.modifiers) | propagateChildFlags(node.asteriskToken) | propagateNameFlags(node.name) | propagateChildrenFlags(node.typeParameters) | propagateChildrenFlags(node.parameters) | propagateChildFlags(node.type) | propagateChildFlags(node.body) & ~67108864 /* ContainsPossibleTopLevelAwait */ | (isAsyncGenerator ? 128 /* ContainsES2018 */ : isAsync ? 256 /* ContainsES2017 */ : isGenerator ? 2048 /* ContainsGenerator */ : 0 /* None */) | (node.typeParameters || node.type ? 1 /* ContainsTypeScript */ : 0 /* None */) | 4194304 /* ContainsHoistedDeclarationOrCompletion */; + } + node.typeArguments = void 0; + node.jsDoc = void 0; + node.locals = void 0; + node.nextContainer = void 0; + node.endFlowNode = void 0; + node.returnFlowNode = void 0; + return node; + } + function updateFunctionDeclaration(node, modifiers, asteriskToken, name, typeParameters, parameters, type, body) { + return node.modifiers !== modifiers || node.asteriskToken !== asteriskToken || node.name !== name || node.typeParameters !== typeParameters || node.parameters !== parameters || node.type !== type || node.body !== body ? finishUpdateFunctionDeclaration(createFunctionDeclaration(modifiers, asteriskToken, name, typeParameters, parameters, type, body), node) : node; + } + function finishUpdateFunctionDeclaration(updated, original) { + if (updated !== original) { + if (updated.modifiers === original.modifiers) { + updated.modifiers = original.modifiers; + } + } + return finishUpdateBaseSignatureDeclaration(updated, original); + } + function createClassDeclaration(modifiers, name, typeParameters, heritageClauses, members) { + const node = createBaseDeclaration(263 /* ClassDeclaration */); + node.modifiers = asNodeArray(modifiers); + node.name = asName(name); + node.typeParameters = asNodeArray(typeParameters); + node.heritageClauses = asNodeArray(heritageClauses); + node.members = createNodeArray(members); + if (modifiersToFlags(node.modifiers) & 128 /* Ambient */) { + node.transformFlags = 1 /* ContainsTypeScript */; + } else { + node.transformFlags |= propagateChildrenFlags(node.modifiers) | propagateNameFlags(node.name) | propagateChildrenFlags(node.typeParameters) | propagateChildrenFlags(node.heritageClauses) | propagateChildrenFlags(node.members) | (node.typeParameters ? 1 /* ContainsTypeScript */ : 0 /* None */) | 1024 /* ContainsES2015 */; + if (node.transformFlags & 8192 /* ContainsTypeScriptClassSyntax */) { + node.transformFlags |= 1 /* ContainsTypeScript */; + } + } + node.jsDoc = void 0; + return node; + } + function updateClassDeclaration(node, modifiers, name, typeParameters, heritageClauses, members) { + return node.modifiers !== modifiers || node.name !== name || node.typeParameters !== typeParameters || node.heritageClauses !== heritageClauses || node.members !== members ? update(createClassDeclaration(modifiers, name, typeParameters, heritageClauses, members), node) : node; + } + function createInterfaceDeclaration(modifiers, name, typeParameters, heritageClauses, members) { + const node = createBaseDeclaration(264 /* InterfaceDeclaration */); + node.modifiers = asNodeArray(modifiers); + node.name = asName(name); + node.typeParameters = asNodeArray(typeParameters); + node.heritageClauses = asNodeArray(heritageClauses); + node.members = createNodeArray(members); + node.transformFlags = 1 /* ContainsTypeScript */; + node.jsDoc = void 0; + return node; + } + function updateInterfaceDeclaration(node, modifiers, name, typeParameters, heritageClauses, members) { + return node.modifiers !== modifiers || node.name !== name || node.typeParameters !== typeParameters || node.heritageClauses !== heritageClauses || node.members !== members ? update(createInterfaceDeclaration(modifiers, name, typeParameters, heritageClauses, members), node) : node; + } + function createTypeAliasDeclaration(modifiers, name, typeParameters, type) { + const node = createBaseDeclaration(265 /* TypeAliasDeclaration */); + node.modifiers = asNodeArray(modifiers); + node.name = asName(name); + node.typeParameters = asNodeArray(typeParameters); + node.type = type; + node.transformFlags = 1 /* ContainsTypeScript */; + node.jsDoc = void 0; + node.locals = void 0; + node.nextContainer = void 0; + return node; + } + function updateTypeAliasDeclaration(node, modifiers, name, typeParameters, type) { + return node.modifiers !== modifiers || node.name !== name || node.typeParameters !== typeParameters || node.type !== type ? update(createTypeAliasDeclaration(modifiers, name, typeParameters, type), node) : node; + } + function createEnumDeclaration(modifiers, name, members) { + const node = createBaseDeclaration(266 /* EnumDeclaration */); + node.modifiers = asNodeArray(modifiers); + node.name = asName(name); + node.members = createNodeArray(members); + node.transformFlags |= propagateChildrenFlags(node.modifiers) | propagateChildFlags(node.name) | propagateChildrenFlags(node.members) | 1 /* ContainsTypeScript */; + node.transformFlags &= ~67108864 /* ContainsPossibleTopLevelAwait */; + node.jsDoc = void 0; + return node; + } + function updateEnumDeclaration(node, modifiers, name, members) { + return node.modifiers !== modifiers || node.name !== name || node.members !== members ? update(createEnumDeclaration(modifiers, name, members), node) : node; + } + function createModuleDeclaration(modifiers, name, body, flags2 = 0 /* None */) { + const node = createBaseDeclaration(267 /* ModuleDeclaration */); + node.modifiers = asNodeArray(modifiers); + node.flags |= flags2 & (32 /* Namespace */ | 8 /* NestedNamespace */ | 2048 /* GlobalAugmentation */); + node.name = name; + node.body = body; + if (modifiersToFlags(node.modifiers) & 128 /* Ambient */) { + node.transformFlags = 1 /* ContainsTypeScript */; + } else { + node.transformFlags |= propagateChildrenFlags(node.modifiers) | propagateChildFlags(node.name) | propagateChildFlags(node.body) | 1 /* ContainsTypeScript */; + } + node.transformFlags &= ~67108864 /* ContainsPossibleTopLevelAwait */; + node.jsDoc = void 0; + node.locals = void 0; + node.nextContainer = void 0; + return node; + } + function updateModuleDeclaration(node, modifiers, name, body) { + return node.modifiers !== modifiers || node.name !== name || node.body !== body ? update(createModuleDeclaration(modifiers, name, body, node.flags), node) : node; + } + function createModuleBlock(statements) { + const node = createBaseNode(268 /* ModuleBlock */); + node.statements = createNodeArray(statements); + node.transformFlags |= propagateChildrenFlags(node.statements); + node.jsDoc = void 0; + return node; + } + function updateModuleBlock(node, statements) { + return node.statements !== statements ? update(createModuleBlock(statements), node) : node; + } + function createCaseBlock(clauses) { + const node = createBaseNode(269 /* CaseBlock */); + node.clauses = createNodeArray(clauses); + node.transformFlags |= propagateChildrenFlags(node.clauses); + node.locals = void 0; + node.nextContainer = void 0; + return node; + } + function updateCaseBlock(node, clauses) { + return node.clauses !== clauses ? update(createCaseBlock(clauses), node) : node; + } + function createNamespaceExportDeclaration(name) { + const node = createBaseDeclaration(270 /* NamespaceExportDeclaration */); + node.name = asName(name); + node.transformFlags |= propagateIdentifierNameFlags(node.name) | 1 /* ContainsTypeScript */; + node.modifiers = void 0; + node.jsDoc = void 0; + return node; + } + function updateNamespaceExportDeclaration(node, name) { + return node.name !== name ? finishUpdateNamespaceExportDeclaration(createNamespaceExportDeclaration(name), node) : node; + } + function finishUpdateNamespaceExportDeclaration(updated, original) { + if (updated !== original) { + updated.modifiers = original.modifiers; + } + return update(updated, original); + } + function createImportEqualsDeclaration(modifiers, isTypeOnly, name, moduleReference) { + const node = createBaseDeclaration(271 /* ImportEqualsDeclaration */); + node.modifiers = asNodeArray(modifiers); + node.name = asName(name); + node.isTypeOnly = isTypeOnly; + node.moduleReference = moduleReference; + node.transformFlags |= propagateChildrenFlags(node.modifiers) | propagateIdentifierNameFlags(node.name) | propagateChildFlags(node.moduleReference); + if (!isExternalModuleReference(node.moduleReference)) { + node.transformFlags |= 1 /* ContainsTypeScript */; + } + node.transformFlags &= ~67108864 /* ContainsPossibleTopLevelAwait */; + node.jsDoc = void 0; + return node; + } + function updateImportEqualsDeclaration(node, modifiers, isTypeOnly, name, moduleReference) { + return node.modifiers !== modifiers || node.isTypeOnly !== isTypeOnly || node.name !== name || node.moduleReference !== moduleReference ? update(createImportEqualsDeclaration(modifiers, isTypeOnly, name, moduleReference), node) : node; + } + function createImportDeclaration(modifiers, importClause, moduleSpecifier, attributes) { + const node = createBaseNode(272 /* ImportDeclaration */); + node.modifiers = asNodeArray(modifiers); + node.importClause = importClause; + node.moduleSpecifier = moduleSpecifier; + node.attributes = node.assertClause = attributes; + node.transformFlags |= propagateChildFlags(node.importClause) | propagateChildFlags(node.moduleSpecifier); + node.transformFlags &= ~67108864 /* ContainsPossibleTopLevelAwait */; + node.jsDoc = void 0; + return node; + } + function updateImportDeclaration(node, modifiers, importClause, moduleSpecifier, attributes) { + return node.modifiers !== modifiers || node.importClause !== importClause || node.moduleSpecifier !== moduleSpecifier || node.attributes !== attributes ? update(createImportDeclaration(modifiers, importClause, moduleSpecifier, attributes), node) : node; + } + function createImportClause(isTypeOnly, name, namedBindings) { + const node = createBaseDeclaration(273 /* ImportClause */); + node.isTypeOnly = isTypeOnly; + node.name = name; + node.namedBindings = namedBindings; + node.transformFlags |= propagateChildFlags(node.name) | propagateChildFlags(node.namedBindings); + if (isTypeOnly) { + node.transformFlags |= 1 /* ContainsTypeScript */; + } + node.transformFlags &= ~67108864 /* ContainsPossibleTopLevelAwait */; + return node; + } + function updateImportClause(node, isTypeOnly, name, namedBindings) { + return node.isTypeOnly !== isTypeOnly || node.name !== name || node.namedBindings !== namedBindings ? update(createImportClause(isTypeOnly, name, namedBindings), node) : node; + } + function createAssertClause(elements, multiLine) { + const node = createBaseNode(300 /* AssertClause */); + node.elements = createNodeArray(elements); + node.multiLine = multiLine; + node.token = 132 /* AssertKeyword */; + node.transformFlags |= 4 /* ContainsESNext */; + return node; + } + function updateAssertClause(node, elements, multiLine) { + return node.elements !== elements || node.multiLine !== multiLine ? update(createAssertClause(elements, multiLine), node) : node; + } + function createAssertEntry(name, value) { + const node = createBaseNode(301 /* AssertEntry */); + node.name = name; + node.value = value; + node.transformFlags |= 4 /* ContainsESNext */; + return node; + } + function updateAssertEntry(node, name, value) { + return node.name !== name || node.value !== value ? update(createAssertEntry(name, value), node) : node; + } + function createImportTypeAssertionContainer(clause, multiLine) { + const node = createBaseNode(302 /* ImportTypeAssertionContainer */); + node.assertClause = clause; + node.multiLine = multiLine; + return node; + } + function updateImportTypeAssertionContainer(node, clause, multiLine) { + return node.assertClause !== clause || node.multiLine !== multiLine ? update(createImportTypeAssertionContainer(clause, multiLine), node) : node; + } + function createImportAttributes(elements, multiLine, token) { + const node = createBaseNode(300 /* ImportAttributes */); + node.token = token ?? 118 /* WithKeyword */; + node.elements = createNodeArray(elements); + node.multiLine = multiLine; + node.transformFlags |= 4 /* ContainsESNext */; + return node; + } + function updateImportAttributes(node, elements, multiLine) { + return node.elements !== elements || node.multiLine !== multiLine ? update(createImportAttributes(elements, multiLine, node.token), node) : node; + } + function createImportAttribute(name, value) { + const node = createBaseNode(301 /* ImportAttribute */); + node.name = name; + node.value = value; + node.transformFlags |= 4 /* ContainsESNext */; + return node; + } + function updateImportAttribute(node, name, value) { + return node.name !== name || node.value !== value ? update(createImportAttribute(name, value), node) : node; + } + function createNamespaceImport(name) { + const node = createBaseDeclaration(274 /* NamespaceImport */); + node.name = name; + node.transformFlags |= propagateChildFlags(node.name); + node.transformFlags &= ~67108864 /* ContainsPossibleTopLevelAwait */; + return node; + } + function updateNamespaceImport(node, name) { + return node.name !== name ? update(createNamespaceImport(name), node) : node; + } + function createNamespaceExport(name) { + const node = createBaseDeclaration(280 /* NamespaceExport */); + node.name = name; + node.transformFlags |= propagateChildFlags(node.name) | 32 /* ContainsES2020 */; + node.transformFlags &= ~67108864 /* ContainsPossibleTopLevelAwait */; + return node; + } + function updateNamespaceExport(node, name) { + return node.name !== name ? update(createNamespaceExport(name), node) : node; + } + function createNamedImports(elements) { + const node = createBaseNode(275 /* NamedImports */); + node.elements = createNodeArray(elements); + node.transformFlags |= propagateChildrenFlags(node.elements); + node.transformFlags &= ~67108864 /* ContainsPossibleTopLevelAwait */; + return node; + } + function updateNamedImports(node, elements) { + return node.elements !== elements ? update(createNamedImports(elements), node) : node; + } + function createImportSpecifier(isTypeOnly, propertyName, name) { + const node = createBaseDeclaration(276 /* ImportSpecifier */); + node.isTypeOnly = isTypeOnly; + node.propertyName = propertyName; + node.name = name; + node.transformFlags |= propagateChildFlags(node.propertyName) | propagateChildFlags(node.name); + node.transformFlags &= ~67108864 /* ContainsPossibleTopLevelAwait */; + return node; + } + function updateImportSpecifier(node, isTypeOnly, propertyName, name) { + return node.isTypeOnly !== isTypeOnly || node.propertyName !== propertyName || node.name !== name ? update(createImportSpecifier(isTypeOnly, propertyName, name), node) : node; + } + function createExportAssignment(modifiers, isExportEquals, expression) { + const node = createBaseDeclaration(277 /* ExportAssignment */); + node.modifiers = asNodeArray(modifiers); + node.isExportEquals = isExportEquals; + node.expression = isExportEquals ? parenthesizerRules().parenthesizeRightSideOfBinary( + 64 /* EqualsToken */, + /*leftSide*/ + void 0, + expression + ) : parenthesizerRules().parenthesizeExpressionOfExportDefault(expression); + node.transformFlags |= propagateChildrenFlags(node.modifiers) | propagateChildFlags(node.expression); + node.transformFlags &= ~67108864 /* ContainsPossibleTopLevelAwait */; + node.jsDoc = void 0; + return node; + } + function updateExportAssignment(node, modifiers, expression) { + return node.modifiers !== modifiers || node.expression !== expression ? update(createExportAssignment(modifiers, node.isExportEquals, expression), node) : node; + } + function createExportDeclaration(modifiers, isTypeOnly, exportClause, moduleSpecifier, attributes) { + const node = createBaseDeclaration(278 /* ExportDeclaration */); + node.modifiers = asNodeArray(modifiers); + node.isTypeOnly = isTypeOnly; + node.exportClause = exportClause; + node.moduleSpecifier = moduleSpecifier; + node.attributes = node.assertClause = attributes; + node.transformFlags |= propagateChildrenFlags(node.modifiers) | propagateChildFlags(node.exportClause) | propagateChildFlags(node.moduleSpecifier); + node.transformFlags &= ~67108864 /* ContainsPossibleTopLevelAwait */; + node.jsDoc = void 0; + return node; + } + function updateExportDeclaration(node, modifiers, isTypeOnly, exportClause, moduleSpecifier, attributes) { + return node.modifiers !== modifiers || node.isTypeOnly !== isTypeOnly || node.exportClause !== exportClause || node.moduleSpecifier !== moduleSpecifier || node.attributes !== attributes ? finishUpdateExportDeclaration(createExportDeclaration(modifiers, isTypeOnly, exportClause, moduleSpecifier, attributes), node) : node; + } + function finishUpdateExportDeclaration(updated, original) { + if (updated !== original) { + if (updated.modifiers === original.modifiers) { + updated.modifiers = original.modifiers; + } + } + return update(updated, original); + } + function createNamedExports(elements) { + const node = createBaseNode(279 /* NamedExports */); + node.elements = createNodeArray(elements); + node.transformFlags |= propagateChildrenFlags(node.elements); + node.transformFlags &= ~67108864 /* ContainsPossibleTopLevelAwait */; + return node; + } + function updateNamedExports(node, elements) { + return node.elements !== elements ? update(createNamedExports(elements), node) : node; + } + function createExportSpecifier(isTypeOnly, propertyName, name) { + const node = createBaseNode(281 /* ExportSpecifier */); + node.isTypeOnly = isTypeOnly; + node.propertyName = asName(propertyName); + node.name = asName(name); + node.transformFlags |= propagateChildFlags(node.propertyName) | propagateChildFlags(node.name); + node.transformFlags &= ~67108864 /* ContainsPossibleTopLevelAwait */; + node.jsDoc = void 0; + return node; + } + function updateExportSpecifier(node, isTypeOnly, propertyName, name) { + return node.isTypeOnly !== isTypeOnly || node.propertyName !== propertyName || node.name !== name ? update(createExportSpecifier(isTypeOnly, propertyName, name), node) : node; + } + function createMissingDeclaration() { + const node = createBaseDeclaration(282 /* MissingDeclaration */); + node.jsDoc = void 0; + return node; + } + function createExternalModuleReference(expression) { + const node = createBaseNode(283 /* ExternalModuleReference */); + node.expression = expression; + node.transformFlags |= propagateChildFlags(node.expression); + node.transformFlags &= ~67108864 /* ContainsPossibleTopLevelAwait */; + return node; + } + function updateExternalModuleReference(node, expression) { + return node.expression !== expression ? update(createExternalModuleReference(expression), node) : node; + } + function createJSDocPrimaryTypeWorker(kind) { + return createBaseNode(kind); + } + function createJSDocPrePostfixUnaryTypeWorker(kind, type, postfix = false) { + const node = createJSDocUnaryTypeWorker( + kind, + postfix ? type && parenthesizerRules().parenthesizeNonArrayTypeOfPostfixType(type) : type + ); + node.postfix = postfix; + return node; + } + function createJSDocUnaryTypeWorker(kind, type) { + const node = createBaseNode(kind); + node.type = type; + return node; + } + function updateJSDocPrePostfixUnaryTypeWorker(kind, node, type) { + return node.type !== type ? update(createJSDocPrePostfixUnaryTypeWorker(kind, type, node.postfix), node) : node; + } + function updateJSDocUnaryTypeWorker(kind, node, type) { + return node.type !== type ? update(createJSDocUnaryTypeWorker(kind, type), node) : node; + } + function createJSDocFunctionType(parameters, type) { + const node = createBaseDeclaration(317 /* JSDocFunctionType */); + node.parameters = asNodeArray(parameters); + node.type = type; + node.transformFlags = propagateChildrenFlags(node.parameters) | (node.type ? 1 /* ContainsTypeScript */ : 0 /* None */); + node.jsDoc = void 0; + node.locals = void 0; + node.nextContainer = void 0; + node.typeArguments = void 0; + return node; + } + function updateJSDocFunctionType(node, parameters, type) { + return node.parameters !== parameters || node.type !== type ? update(createJSDocFunctionType(parameters, type), node) : node; + } + function createJSDocTypeLiteral(propertyTags, isArrayType = false) { + const node = createBaseDeclaration(322 /* JSDocTypeLiteral */); + node.jsDocPropertyTags = asNodeArray(propertyTags); + node.isArrayType = isArrayType; + return node; + } + function updateJSDocTypeLiteral(node, propertyTags, isArrayType) { + return node.jsDocPropertyTags !== propertyTags || node.isArrayType !== isArrayType ? update(createJSDocTypeLiteral(propertyTags, isArrayType), node) : node; + } + function createJSDocTypeExpression(type) { + const node = createBaseNode(309 /* JSDocTypeExpression */); + node.type = type; + return node; + } + function updateJSDocTypeExpression(node, type) { + return node.type !== type ? update(createJSDocTypeExpression(type), node) : node; + } + function createJSDocSignature(typeParameters, parameters, type) { + const node = createBaseDeclaration(323 /* JSDocSignature */); + node.typeParameters = asNodeArray(typeParameters); + node.parameters = createNodeArray(parameters); + node.type = type; + node.jsDoc = void 0; + node.locals = void 0; + node.nextContainer = void 0; + return node; + } + function updateJSDocSignature(node, typeParameters, parameters, type) { + return node.typeParameters !== typeParameters || node.parameters !== parameters || node.type !== type ? update(createJSDocSignature(typeParameters, parameters, type), node) : node; + } + function getDefaultTagName(node) { + const defaultTagName = getDefaultTagNameForKind(node.kind); + return node.tagName.escapedText === escapeLeadingUnderscores(defaultTagName) ? node.tagName : createIdentifier(defaultTagName); + } + function createBaseJSDocTag(kind, tagName, comment) { + const node = createBaseNode(kind); + node.tagName = tagName; + node.comment = comment; + return node; + } + function createBaseJSDocTagDeclaration(kind, tagName, comment) { + const node = createBaseDeclaration(kind); + node.tagName = tagName; + node.comment = comment; + return node; + } + function createJSDocTemplateTag(tagName, constraint, typeParameters, comment) { + const node = createBaseJSDocTag(345 /* JSDocTemplateTag */, tagName ?? createIdentifier("template"), comment); + node.constraint = constraint; + node.typeParameters = createNodeArray(typeParameters); + return node; + } + function updateJSDocTemplateTag(node, tagName = getDefaultTagName(node), constraint, typeParameters, comment) { + return node.tagName !== tagName || node.constraint !== constraint || node.typeParameters !== typeParameters || node.comment !== comment ? update(createJSDocTemplateTag(tagName, constraint, typeParameters, comment), node) : node; + } + function createJSDocTypedefTag(tagName, typeExpression, fullName, comment) { + const node = createBaseJSDocTagDeclaration(346 /* JSDocTypedefTag */, tagName ?? createIdentifier("typedef"), comment); + node.typeExpression = typeExpression; + node.fullName = fullName; + node.name = getJSDocTypeAliasName(fullName); + node.locals = void 0; + node.nextContainer = void 0; + return node; + } + function updateJSDocTypedefTag(node, tagName = getDefaultTagName(node), typeExpression, fullName, comment) { + return node.tagName !== tagName || node.typeExpression !== typeExpression || node.fullName !== fullName || node.comment !== comment ? update(createJSDocTypedefTag(tagName, typeExpression, fullName, comment), node) : node; + } + function createJSDocParameterTag(tagName, name, isBracketed, typeExpression, isNameFirst, comment) { + const node = createBaseJSDocTagDeclaration(341 /* JSDocParameterTag */, tagName ?? createIdentifier("param"), comment); + node.typeExpression = typeExpression; + node.name = name; + node.isNameFirst = !!isNameFirst; + node.isBracketed = isBracketed; + return node; + } + function updateJSDocParameterTag(node, tagName = getDefaultTagName(node), name, isBracketed, typeExpression, isNameFirst, comment) { + return node.tagName !== tagName || node.name !== name || node.isBracketed !== isBracketed || node.typeExpression !== typeExpression || node.isNameFirst !== isNameFirst || node.comment !== comment ? update(createJSDocParameterTag(tagName, name, isBracketed, typeExpression, isNameFirst, comment), node) : node; + } + function createJSDocPropertyTag(tagName, name, isBracketed, typeExpression, isNameFirst, comment) { + const node = createBaseJSDocTagDeclaration(348 /* JSDocPropertyTag */, tagName ?? createIdentifier("prop"), comment); + node.typeExpression = typeExpression; + node.name = name; + node.isNameFirst = !!isNameFirst; + node.isBracketed = isBracketed; + return node; + } + function updateJSDocPropertyTag(node, tagName = getDefaultTagName(node), name, isBracketed, typeExpression, isNameFirst, comment) { + return node.tagName !== tagName || node.name !== name || node.isBracketed !== isBracketed || node.typeExpression !== typeExpression || node.isNameFirst !== isNameFirst || node.comment !== comment ? update(createJSDocPropertyTag(tagName, name, isBracketed, typeExpression, isNameFirst, comment), node) : node; + } + function createJSDocCallbackTag(tagName, typeExpression, fullName, comment) { + const node = createBaseJSDocTagDeclaration(338 /* JSDocCallbackTag */, tagName ?? createIdentifier("callback"), comment); + node.typeExpression = typeExpression; + node.fullName = fullName; + node.name = getJSDocTypeAliasName(fullName); + node.locals = void 0; + node.nextContainer = void 0; + return node; + } + function updateJSDocCallbackTag(node, tagName = getDefaultTagName(node), typeExpression, fullName, comment) { + return node.tagName !== tagName || node.typeExpression !== typeExpression || node.fullName !== fullName || node.comment !== comment ? update(createJSDocCallbackTag(tagName, typeExpression, fullName, comment), node) : node; + } + function createJSDocOverloadTag(tagName, typeExpression, comment) { + const node = createBaseJSDocTag(339 /* JSDocOverloadTag */, tagName ?? createIdentifier("overload"), comment); + node.typeExpression = typeExpression; + return node; + } + function updateJSDocOverloadTag(node, tagName = getDefaultTagName(node), typeExpression, comment) { + return node.tagName !== tagName || node.typeExpression !== typeExpression || node.comment !== comment ? update(createJSDocOverloadTag(tagName, typeExpression, comment), node) : node; + } + function createJSDocAugmentsTag(tagName, className, comment) { + const node = createBaseJSDocTag(328 /* JSDocAugmentsTag */, tagName ?? createIdentifier("augments"), comment); + node.class = className; + return node; + } + function updateJSDocAugmentsTag(node, tagName = getDefaultTagName(node), className, comment) { + return node.tagName !== tagName || node.class !== className || node.comment !== comment ? update(createJSDocAugmentsTag(tagName, className, comment), node) : node; + } + function createJSDocImplementsTag(tagName, className, comment) { + const node = createBaseJSDocTag(329 /* JSDocImplementsTag */, tagName ?? createIdentifier("implements"), comment); + node.class = className; + return node; + } + function createJSDocSeeTag(tagName, name, comment) { + const node = createBaseJSDocTag(347 /* JSDocSeeTag */, tagName ?? createIdentifier("see"), comment); + node.name = name; + return node; + } + function updateJSDocSeeTag(node, tagName, name, comment) { + return node.tagName !== tagName || node.name !== name || node.comment !== comment ? update(createJSDocSeeTag(tagName, name, comment), node) : node; + } + function createJSDocNameReference(name) { + const node = createBaseNode(310 /* JSDocNameReference */); + node.name = name; + return node; + } + function updateJSDocNameReference(node, name) { + return node.name !== name ? update(createJSDocNameReference(name), node) : node; + } + function createJSDocMemberName(left, right) { + const node = createBaseNode(311 /* JSDocMemberName */); + node.left = left; + node.right = right; + node.transformFlags |= propagateChildFlags(node.left) | propagateChildFlags(node.right); + return node; + } + function updateJSDocMemberName(node, left, right) { + return node.left !== left || node.right !== right ? update(createJSDocMemberName(left, right), node) : node; + } + function createJSDocLink(name, text) { + const node = createBaseNode(324 /* JSDocLink */); + node.name = name; + node.text = text; + return node; + } + function updateJSDocLink(node, name, text) { + return node.name !== name ? update(createJSDocLink(name, text), node) : node; + } + function createJSDocLinkCode(name, text) { + const node = createBaseNode(325 /* JSDocLinkCode */); + node.name = name; + node.text = text; + return node; + } + function updateJSDocLinkCode(node, name, text) { + return node.name !== name ? update(createJSDocLinkCode(name, text), node) : node; + } + function createJSDocLinkPlain(name, text) { + const node = createBaseNode(326 /* JSDocLinkPlain */); + node.name = name; + node.text = text; + return node; + } + function updateJSDocLinkPlain(node, name, text) { + return node.name !== name ? update(createJSDocLinkPlain(name, text), node) : node; + } + function updateJSDocImplementsTag(node, tagName = getDefaultTagName(node), className, comment) { + return node.tagName !== tagName || node.class !== className || node.comment !== comment ? update(createJSDocImplementsTag(tagName, className, comment), node) : node; + } + function createJSDocSimpleTagWorker(kind, tagName, comment) { + const node = createBaseJSDocTag(kind, tagName ?? createIdentifier(getDefaultTagNameForKind(kind)), comment); + return node; + } + function updateJSDocSimpleTagWorker(kind, node, tagName = getDefaultTagName(node), comment) { + return node.tagName !== tagName || node.comment !== comment ? update(createJSDocSimpleTagWorker(kind, tagName, comment), node) : node; + } + function createJSDocTypeLikeTagWorker(kind, tagName, typeExpression, comment) { + const node = createBaseJSDocTag(kind, tagName ?? createIdentifier(getDefaultTagNameForKind(kind)), comment); + node.typeExpression = typeExpression; + return node; + } + function updateJSDocTypeLikeTagWorker(kind, node, tagName = getDefaultTagName(node), typeExpression, comment) { + return node.tagName !== tagName || node.typeExpression !== typeExpression || node.comment !== comment ? update(createJSDocTypeLikeTagWorker(kind, tagName, typeExpression, comment), node) : node; + } + function createJSDocUnknownTag(tagName, comment) { + const node = createBaseJSDocTag(327 /* JSDocTag */, tagName, comment); + return node; + } + function updateJSDocUnknownTag(node, tagName, comment) { + return node.tagName !== tagName || node.comment !== comment ? update(createJSDocUnknownTag(tagName, comment), node) : node; + } + function createJSDocEnumTag(tagName, typeExpression, comment) { + const node = createBaseJSDocTagDeclaration(340 /* JSDocEnumTag */, tagName ?? createIdentifier(getDefaultTagNameForKind(340 /* JSDocEnumTag */)), comment); + node.typeExpression = typeExpression; + node.locals = void 0; + node.nextContainer = void 0; + return node; + } + function updateJSDocEnumTag(node, tagName = getDefaultTagName(node), typeExpression, comment) { + return node.tagName !== tagName || node.typeExpression !== typeExpression || node.comment !== comment ? update(createJSDocEnumTag(tagName, typeExpression, comment), node) : node; + } + function createJSDocImportTag(tagName, importClause, moduleSpecifier, attributes, comment) { + const node = createBaseJSDocTag(351 /* JSDocImportTag */, tagName ?? createIdentifier("import"), comment); + node.importClause = importClause; + node.moduleSpecifier = moduleSpecifier; + node.attributes = attributes; + node.comment = comment; + return node; + } + function updateJSDocImportTag(node, tagName, importClause, moduleSpecifier, attributes, comment) { + return node.tagName !== tagName || node.comment !== comment || node.importClause !== importClause || node.moduleSpecifier !== moduleSpecifier || node.attributes !== attributes ? update(createJSDocImportTag(tagName, importClause, moduleSpecifier, attributes, comment), node) : node; + } + function createJSDocText(text) { + const node = createBaseNode(321 /* JSDocText */); + node.text = text; + return node; + } + function updateJSDocText(node, text) { + return node.text !== text ? update(createJSDocText(text), node) : node; + } + function createJSDocComment(comment, tags) { + const node = createBaseNode(320 /* JSDoc */); + node.comment = comment; + node.tags = asNodeArray(tags); + return node; + } + function updateJSDocComment(node, comment, tags) { + return node.comment !== comment || node.tags !== tags ? update(createJSDocComment(comment, tags), node) : node; + } + function createJsxElement(openingElement, children, closingElement) { + const node = createBaseNode(284 /* JsxElement */); + node.openingElement = openingElement; + node.children = createNodeArray(children); + node.closingElement = closingElement; + node.transformFlags |= propagateChildFlags(node.openingElement) | propagateChildrenFlags(node.children) | propagateChildFlags(node.closingElement) | 2 /* ContainsJsx */; + return node; + } + function updateJsxElement(node, openingElement, children, closingElement) { + return node.openingElement !== openingElement || node.children !== children || node.closingElement !== closingElement ? update(createJsxElement(openingElement, children, closingElement), node) : node; + } + function createJsxSelfClosingElement(tagName, typeArguments, attributes) { + const node = createBaseNode(285 /* JsxSelfClosingElement */); + node.tagName = tagName; + node.typeArguments = asNodeArray(typeArguments); + node.attributes = attributes; + node.transformFlags |= propagateChildFlags(node.tagName) | propagateChildrenFlags(node.typeArguments) | propagateChildFlags(node.attributes) | 2 /* ContainsJsx */; + if (node.typeArguments) { + node.transformFlags |= 1 /* ContainsTypeScript */; + } + return node; + } + function updateJsxSelfClosingElement(node, tagName, typeArguments, attributes) { + return node.tagName !== tagName || node.typeArguments !== typeArguments || node.attributes !== attributes ? update(createJsxSelfClosingElement(tagName, typeArguments, attributes), node) : node; + } + function createJsxOpeningElement(tagName, typeArguments, attributes) { + const node = createBaseNode(286 /* JsxOpeningElement */); + node.tagName = tagName; + node.typeArguments = asNodeArray(typeArguments); + node.attributes = attributes; + node.transformFlags |= propagateChildFlags(node.tagName) | propagateChildrenFlags(node.typeArguments) | propagateChildFlags(node.attributes) | 2 /* ContainsJsx */; + if (typeArguments) { + node.transformFlags |= 1 /* ContainsTypeScript */; + } + return node; + } + function updateJsxOpeningElement(node, tagName, typeArguments, attributes) { + return node.tagName !== tagName || node.typeArguments !== typeArguments || node.attributes !== attributes ? update(createJsxOpeningElement(tagName, typeArguments, attributes), node) : node; + } + function createJsxClosingElement(tagName) { + const node = createBaseNode(287 /* JsxClosingElement */); + node.tagName = tagName; + node.transformFlags |= propagateChildFlags(node.tagName) | 2 /* ContainsJsx */; + return node; + } + function updateJsxClosingElement(node, tagName) { + return node.tagName !== tagName ? update(createJsxClosingElement(tagName), node) : node; + } + function createJsxFragment(openingFragment, children, closingFragment) { + const node = createBaseNode(288 /* JsxFragment */); + node.openingFragment = openingFragment; + node.children = createNodeArray(children); + node.closingFragment = closingFragment; + node.transformFlags |= propagateChildFlags(node.openingFragment) | propagateChildrenFlags(node.children) | propagateChildFlags(node.closingFragment) | 2 /* ContainsJsx */; + return node; + } + function updateJsxFragment(node, openingFragment, children, closingFragment) { + return node.openingFragment !== openingFragment || node.children !== children || node.closingFragment !== closingFragment ? update(createJsxFragment(openingFragment, children, closingFragment), node) : node; + } + function createJsxText(text, containsOnlyTriviaWhiteSpaces) { + const node = createBaseNode(12 /* JsxText */); + node.text = text; + node.containsOnlyTriviaWhiteSpaces = !!containsOnlyTriviaWhiteSpaces; + node.transformFlags |= 2 /* ContainsJsx */; + return node; + } + function updateJsxText(node, text, containsOnlyTriviaWhiteSpaces) { + return node.text !== text || node.containsOnlyTriviaWhiteSpaces !== containsOnlyTriviaWhiteSpaces ? update(createJsxText(text, containsOnlyTriviaWhiteSpaces), node) : node; + } + function createJsxOpeningFragment() { + const node = createBaseNode(289 /* JsxOpeningFragment */); + node.transformFlags |= 2 /* ContainsJsx */; + return node; + } + function createJsxJsxClosingFragment() { + const node = createBaseNode(290 /* JsxClosingFragment */); + node.transformFlags |= 2 /* ContainsJsx */; + return node; + } + function createJsxAttribute(name, initializer) { + const node = createBaseDeclaration(291 /* JsxAttribute */); + node.name = name; + node.initializer = initializer; + node.transformFlags |= propagateChildFlags(node.name) | propagateChildFlags(node.initializer) | 2 /* ContainsJsx */; + return node; + } + function updateJsxAttribute(node, name, initializer) { + return node.name !== name || node.initializer !== initializer ? update(createJsxAttribute(name, initializer), node) : node; + } + function createJsxAttributes(properties) { + const node = createBaseDeclaration(292 /* JsxAttributes */); + node.properties = createNodeArray(properties); + node.transformFlags |= propagateChildrenFlags(node.properties) | 2 /* ContainsJsx */; + return node; + } + function updateJsxAttributes(node, properties) { + return node.properties !== properties ? update(createJsxAttributes(properties), node) : node; + } + function createJsxSpreadAttribute(expression) { + const node = createBaseNode(293 /* JsxSpreadAttribute */); + node.expression = expression; + node.transformFlags |= propagateChildFlags(node.expression) | 2 /* ContainsJsx */; + return node; + } + function updateJsxSpreadAttribute(node, expression) { + return node.expression !== expression ? update(createJsxSpreadAttribute(expression), node) : node; + } + function createJsxExpression(dotDotDotToken, expression) { + const node = createBaseNode(294 /* JsxExpression */); + node.dotDotDotToken = dotDotDotToken; + node.expression = expression; + node.transformFlags |= propagateChildFlags(node.dotDotDotToken) | propagateChildFlags(node.expression) | 2 /* ContainsJsx */; + return node; + } + function updateJsxExpression(node, expression) { + return node.expression !== expression ? update(createJsxExpression(node.dotDotDotToken, expression), node) : node; + } + function createJsxNamespacedName(namespace, name) { + const node = createBaseNode(295 /* JsxNamespacedName */); + node.namespace = namespace; + node.name = name; + node.transformFlags |= propagateChildFlags(node.namespace) | propagateChildFlags(node.name) | 2 /* ContainsJsx */; + return node; + } + function updateJsxNamespacedName(node, namespace, name) { + return node.namespace !== namespace || node.name !== name ? update(createJsxNamespacedName(namespace, name), node) : node; + } + function createCaseClause(expression, statements) { + const node = createBaseNode(296 /* CaseClause */); + node.expression = parenthesizerRules().parenthesizeExpressionForDisallowedComma(expression); + node.statements = createNodeArray(statements); + node.transformFlags |= propagateChildFlags(node.expression) | propagateChildrenFlags(node.statements); + node.jsDoc = void 0; + return node; + } + function updateCaseClause(node, expression, statements) { + return node.expression !== expression || node.statements !== statements ? update(createCaseClause(expression, statements), node) : node; + } + function createDefaultClause(statements) { + const node = createBaseNode(297 /* DefaultClause */); + node.statements = createNodeArray(statements); + node.transformFlags = propagateChildrenFlags(node.statements); + return node; + } + function updateDefaultClause(node, statements) { + return node.statements !== statements ? update(createDefaultClause(statements), node) : node; + } + function createHeritageClause(token, types) { + const node = createBaseNode(298 /* HeritageClause */); + node.token = token; + node.types = createNodeArray(types); + node.transformFlags |= propagateChildrenFlags(node.types); + switch (token) { + case 96 /* ExtendsKeyword */: + node.transformFlags |= 1024 /* ContainsES2015 */; + break; + case 119 /* ImplementsKeyword */: + node.transformFlags |= 1 /* ContainsTypeScript */; + break; + default: + return Debug.assertNever(token); + } + return node; + } + function updateHeritageClause(node, types) { + return node.types !== types ? update(createHeritageClause(node.token, types), node) : node; + } + function createCatchClause(variableDeclaration, block) { + const node = createBaseNode(299 /* CatchClause */); + node.variableDeclaration = asVariableDeclaration(variableDeclaration); + node.block = block; + node.transformFlags |= propagateChildFlags(node.variableDeclaration) | propagateChildFlags(node.block) | (!variableDeclaration ? 64 /* ContainsES2019 */ : 0 /* None */); + node.locals = void 0; + node.nextContainer = void 0; + return node; + } + function updateCatchClause(node, variableDeclaration, block) { + return node.variableDeclaration !== variableDeclaration || node.block !== block ? update(createCatchClause(variableDeclaration, block), node) : node; + } + function createPropertyAssignment(name, initializer) { + const node = createBaseDeclaration(303 /* PropertyAssignment */); + node.name = asName(name); + node.initializer = parenthesizerRules().parenthesizeExpressionForDisallowedComma(initializer); + node.transformFlags |= propagateNameFlags(node.name) | propagateChildFlags(node.initializer); + node.modifiers = void 0; + node.questionToken = void 0; + node.exclamationToken = void 0; + node.jsDoc = void 0; + return node; + } + function updatePropertyAssignment(node, name, initializer) { + return node.name !== name || node.initializer !== initializer ? finishUpdatePropertyAssignment(createPropertyAssignment(name, initializer), node) : node; + } + function finishUpdatePropertyAssignment(updated, original) { + if (updated !== original) { + updated.modifiers = original.modifiers; + updated.questionToken = original.questionToken; + updated.exclamationToken = original.exclamationToken; + } + return update(updated, original); + } + function createShorthandPropertyAssignment(name, objectAssignmentInitializer) { + const node = createBaseDeclaration(304 /* ShorthandPropertyAssignment */); + node.name = asName(name); + node.objectAssignmentInitializer = objectAssignmentInitializer && parenthesizerRules().parenthesizeExpressionForDisallowedComma(objectAssignmentInitializer); + node.transformFlags |= propagateIdentifierNameFlags(node.name) | propagateChildFlags(node.objectAssignmentInitializer) | 1024 /* ContainsES2015 */; + node.equalsToken = void 0; + node.modifiers = void 0; + node.questionToken = void 0; + node.exclamationToken = void 0; + node.jsDoc = void 0; + return node; + } + function updateShorthandPropertyAssignment(node, name, objectAssignmentInitializer) { + return node.name !== name || node.objectAssignmentInitializer !== objectAssignmentInitializer ? finishUpdateShorthandPropertyAssignment(createShorthandPropertyAssignment(name, objectAssignmentInitializer), node) : node; + } + function finishUpdateShorthandPropertyAssignment(updated, original) { + if (updated !== original) { + updated.modifiers = original.modifiers; + updated.questionToken = original.questionToken; + updated.exclamationToken = original.exclamationToken; + updated.equalsToken = original.equalsToken; + } + return update(updated, original); + } + function createSpreadAssignment(expression) { + const node = createBaseDeclaration(305 /* SpreadAssignment */); + node.expression = parenthesizerRules().parenthesizeExpressionForDisallowedComma(expression); + node.transformFlags |= propagateChildFlags(node.expression) | 128 /* ContainsES2018 */ | 65536 /* ContainsObjectRestOrSpread */; + node.jsDoc = void 0; + return node; + } + function updateSpreadAssignment(node, expression) { + return node.expression !== expression ? update(createSpreadAssignment(expression), node) : node; + } + function createEnumMember(name, initializer) { + const node = createBaseDeclaration(306 /* EnumMember */); + node.name = asName(name); + node.initializer = initializer && parenthesizerRules().parenthesizeExpressionForDisallowedComma(initializer); + node.transformFlags |= propagateChildFlags(node.name) | propagateChildFlags(node.initializer) | 1 /* ContainsTypeScript */; + node.jsDoc = void 0; + return node; + } + function updateEnumMember(node, name, initializer) { + return node.name !== name || node.initializer !== initializer ? update(createEnumMember(name, initializer), node) : node; + } + function createSourceFile2(statements, endOfFileToken, flags2) { + const node = baseFactory2.createBaseSourceFileNode(307 /* SourceFile */); + node.statements = createNodeArray(statements); + node.endOfFileToken = endOfFileToken; + node.flags |= flags2; + node.text = ""; + node.fileName = ""; + node.path = ""; + node.resolvedPath = ""; + node.originalFileName = ""; + node.languageVersion = 1 /* ES5 */; + node.languageVariant = 0; + node.scriptKind = 0; + node.isDeclarationFile = false; + node.hasNoDefaultLib = false; + node.transformFlags |= propagateChildrenFlags(node.statements) | propagateChildFlags(node.endOfFileToken); + node.locals = void 0; + node.nextContainer = void 0; + node.endFlowNode = void 0; + node.nodeCount = 0; + node.identifierCount = 0; + node.symbolCount = 0; + node.parseDiagnostics = void 0; + node.bindDiagnostics = void 0; + node.bindSuggestionDiagnostics = void 0; + node.lineMap = void 0; + node.externalModuleIndicator = void 0; + node.setExternalModuleIndicator = void 0; + node.pragmas = void 0; + node.checkJsDirective = void 0; + node.referencedFiles = void 0; + node.typeReferenceDirectives = void 0; + node.libReferenceDirectives = void 0; + node.amdDependencies = void 0; + node.commentDirectives = void 0; + node.identifiers = void 0; + node.packageJsonLocations = void 0; + node.packageJsonScope = void 0; + node.imports = void 0; + node.moduleAugmentations = void 0; + node.ambientModuleNames = void 0; + node.classifiableNames = void 0; + node.impliedNodeFormat = void 0; + return node; + } + function createRedirectedSourceFile(redirectInfo) { + const node = Object.create(redirectInfo.redirectTarget); + Object.defineProperties(node, { + id: { + get() { + return this.redirectInfo.redirectTarget.id; + }, + set(value) { + this.redirectInfo.redirectTarget.id = value; + } + }, + symbol: { + get() { + return this.redirectInfo.redirectTarget.symbol; + }, + set(value) { + this.redirectInfo.redirectTarget.symbol = value; + } + } + }); + node.redirectInfo = redirectInfo; + return node; + } + function cloneRedirectedSourceFile(source) { + const node = createRedirectedSourceFile(source.redirectInfo); + node.flags |= source.flags & ~16 /* Synthesized */; + node.fileName = source.fileName; + node.path = source.path; + node.resolvedPath = source.resolvedPath; + node.originalFileName = source.originalFileName; + node.packageJsonLocations = source.packageJsonLocations; + node.packageJsonScope = source.packageJsonScope; + node.emitNode = void 0; + return node; + } + function cloneSourceFileWorker(source) { + const node = baseFactory2.createBaseSourceFileNode(307 /* SourceFile */); + node.flags |= source.flags & ~16 /* Synthesized */; + for (const p in source) { + if (hasProperty(node, p) || !hasProperty(source, p)) { + continue; + } + if (p === "emitNode") { + node.emitNode = void 0; + continue; + } + node[p] = source[p]; + } + return node; + } + function cloneSourceFile(source) { + const node = source.redirectInfo ? cloneRedirectedSourceFile(source) : cloneSourceFileWorker(source); + setOriginal(node, source); + return node; + } + function cloneSourceFileWithChanges(source, statements, isDeclarationFile, referencedFiles, typeReferences, hasNoDefaultLib, libReferences) { + const node = cloneSourceFile(source); + node.statements = createNodeArray(statements); + node.isDeclarationFile = isDeclarationFile; + node.referencedFiles = referencedFiles; + node.typeReferenceDirectives = typeReferences; + node.hasNoDefaultLib = hasNoDefaultLib; + node.libReferenceDirectives = libReferences; + node.transformFlags = propagateChildrenFlags(node.statements) | propagateChildFlags(node.endOfFileToken); + return node; + } + function updateSourceFile(node, statements, isDeclarationFile = node.isDeclarationFile, referencedFiles = node.referencedFiles, typeReferenceDirectives = node.typeReferenceDirectives, hasNoDefaultLib = node.hasNoDefaultLib, libReferenceDirectives = node.libReferenceDirectives) { + return node.statements !== statements || node.isDeclarationFile !== isDeclarationFile || node.referencedFiles !== referencedFiles || node.typeReferenceDirectives !== typeReferenceDirectives || node.hasNoDefaultLib !== hasNoDefaultLib || node.libReferenceDirectives !== libReferenceDirectives ? update(cloneSourceFileWithChanges(node, statements, isDeclarationFile, referencedFiles, typeReferenceDirectives, hasNoDefaultLib, libReferenceDirectives), node) : node; + } + function createBundle(sourceFiles) { + const node = createBaseNode(308 /* Bundle */); + node.sourceFiles = sourceFiles; + node.syntheticFileReferences = void 0; + node.syntheticTypeReferences = void 0; + node.syntheticLibReferences = void 0; + node.hasNoDefaultLib = void 0; + return node; + } + function updateBundle(node, sourceFiles) { + return node.sourceFiles !== sourceFiles ? update(createBundle(sourceFiles), node) : node; + } + function createSyntheticExpression(type, isSpread = false, tupleNameSource) { + const node = createBaseNode(237 /* SyntheticExpression */); + node.type = type; + node.isSpread = isSpread; + node.tupleNameSource = tupleNameSource; + return node; + } + function createSyntaxList(children) { + const node = createBaseNode(352 /* SyntaxList */); + node._children = children; + return node; + } + function createNotEmittedStatement(original) { + const node = createBaseNode(353 /* NotEmittedStatement */); + node.original = original; + setTextRange(node, original); + return node; + } + function createPartiallyEmittedExpression(expression, original) { + const node = createBaseNode(355 /* PartiallyEmittedExpression */); + node.expression = expression; + node.original = original; + node.transformFlags |= propagateChildFlags(node.expression) | 1 /* ContainsTypeScript */; + setTextRange(node, original); + return node; + } + function updatePartiallyEmittedExpression(node, expression) { + return node.expression !== expression ? update(createPartiallyEmittedExpression(expression, node.original), node) : node; + } + function createNotEmittedTypeElement() { + return createBaseNode(354 /* NotEmittedTypeElement */); + } + function flattenCommaElements(node) { + if (nodeIsSynthesized(node) && !isParseTreeNode(node) && !node.original && !node.emitNode && !node.id) { + if (isCommaListExpression(node)) { + return node.elements; + } + if (isBinaryExpression(node) && isCommaToken(node.operatorToken)) { + return [node.left, node.right]; + } + } + return node; + } + function createCommaListExpression(elements) { + const node = createBaseNode(356 /* CommaListExpression */); + node.elements = createNodeArray(sameFlatMap(elements, flattenCommaElements)); + node.transformFlags |= propagateChildrenFlags(node.elements); + return node; + } + function updateCommaListExpression(node, elements) { + return node.elements !== elements ? update(createCommaListExpression(elements), node) : node; + } + function createSyntheticReferenceExpression(expression, thisArg) { + const node = createBaseNode(357 /* SyntheticReferenceExpression */); + node.expression = expression; + node.thisArg = thisArg; + node.transformFlags |= propagateChildFlags(node.expression) | propagateChildFlags(node.thisArg); + return node; + } + function updateSyntheticReferenceExpression(node, expression, thisArg) { + return node.expression !== expression || node.thisArg !== thisArg ? update(createSyntheticReferenceExpression(expression, thisArg), node) : node; + } + function cloneGeneratedIdentifier(node) { + const clone = createBaseIdentifier(node.escapedText); + clone.flags |= node.flags & ~16 /* Synthesized */; + clone.transformFlags = node.transformFlags; + setOriginal(clone, node); + setIdentifierAutoGenerate(clone, { ...node.emitNode.autoGenerate }); + return clone; + } + function cloneIdentifier(node) { + const clone = createBaseIdentifier(node.escapedText); + clone.flags |= node.flags & ~16 /* Synthesized */; + clone.jsDoc = node.jsDoc; + clone.flowNode = node.flowNode; + clone.symbol = node.symbol; + clone.transformFlags = node.transformFlags; + setOriginal(clone, node); + const typeArguments = getIdentifierTypeArguments(node); + if (typeArguments) setIdentifierTypeArguments(clone, typeArguments); + return clone; + } + function cloneGeneratedPrivateIdentifier(node) { + const clone = createBasePrivateIdentifier(node.escapedText); + clone.flags |= node.flags & ~16 /* Synthesized */; + clone.transformFlags = node.transformFlags; + setOriginal(clone, node); + setIdentifierAutoGenerate(clone, { ...node.emitNode.autoGenerate }); + return clone; + } + function clonePrivateIdentifier(node) { + const clone = createBasePrivateIdentifier(node.escapedText); + clone.flags |= node.flags & ~16 /* Synthesized */; + clone.transformFlags = node.transformFlags; + setOriginal(clone, node); + return clone; + } + function cloneNode(node) { + if (node === void 0) { + return node; + } + if (isSourceFile(node)) { + return cloneSourceFile(node); + } + if (isGeneratedIdentifier(node)) { + return cloneGeneratedIdentifier(node); + } + if (isIdentifier(node)) { + return cloneIdentifier(node); + } + if (isGeneratedPrivateIdentifier(node)) { + return cloneGeneratedPrivateIdentifier(node); + } + if (isPrivateIdentifier(node)) { + return clonePrivateIdentifier(node); + } + const clone = !isNodeKind(node.kind) ? baseFactory2.createBaseTokenNode(node.kind) : baseFactory2.createBaseNode(node.kind); + clone.flags |= node.flags & ~16 /* Synthesized */; + clone.transformFlags = node.transformFlags; + setOriginal(clone, node); + for (const key in node) { + if (hasProperty(clone, key) || !hasProperty(node, key)) { + continue; + } + clone[key] = node[key]; + } + return clone; + } + function createImmediatelyInvokedFunctionExpression(statements, param, paramValue) { + return createCallExpression( + createFunctionExpression( + /*modifiers*/ + void 0, + /*asteriskToken*/ + void 0, + /*name*/ + void 0, + /*typeParameters*/ + void 0, + /*parameters*/ + param ? [param] : [], + /*type*/ + void 0, + createBlock( + statements, + /*multiLine*/ + true + ) + ), + /*typeArguments*/ + void 0, + /*argumentsArray*/ + paramValue ? [paramValue] : [] + ); + } + function createImmediatelyInvokedArrowFunction(statements, param, paramValue) { + return createCallExpression( + createArrowFunction( + /*modifiers*/ + void 0, + /*typeParameters*/ + void 0, + /*parameters*/ + param ? [param] : [], + /*type*/ + void 0, + /*equalsGreaterThanToken*/ + void 0, + createBlock( + statements, + /*multiLine*/ + true + ) + ), + /*typeArguments*/ + void 0, + /*argumentsArray*/ + paramValue ? [paramValue] : [] + ); + } + function createVoidZero() { + return createVoidExpression(createNumericLiteral("0")); + } + function createExportDefault(expression) { + return createExportAssignment( + /*modifiers*/ + void 0, + /*isExportEquals*/ + false, + expression + ); + } + function createExternalModuleExport(exportName) { + return createExportDeclaration( + /*modifiers*/ + void 0, + /*isTypeOnly*/ + false, + createNamedExports([ + createExportSpecifier( + /*isTypeOnly*/ + false, + /*propertyName*/ + void 0, + exportName + ) + ]) + ); + } + function createTypeCheck(value, tag) { + return tag === "null" ? factory2.createStrictEquality(value, createNull()) : tag === "undefined" ? factory2.createStrictEquality(value, createVoidZero()) : factory2.createStrictEquality(createTypeOfExpression(value), createStringLiteral(tag)); + } + function createIsNotTypeCheck(value, tag) { + return tag === "null" ? factory2.createStrictInequality(value, createNull()) : tag === "undefined" ? factory2.createStrictInequality(value, createVoidZero()) : factory2.createStrictInequality(createTypeOfExpression(value), createStringLiteral(tag)); + } + function createMethodCall(object, methodName, argumentsList) { + if (isCallChain(object)) { + return createCallChain( + createPropertyAccessChain( + object, + /*questionDotToken*/ + void 0, + methodName + ), + /*questionDotToken*/ + void 0, + /*typeArguments*/ + void 0, + argumentsList + ); + } + return createCallExpression( + createPropertyAccessExpression(object, methodName), + /*typeArguments*/ + void 0, + argumentsList + ); + } + function createFunctionBindCall(target, thisArg, argumentsList) { + return createMethodCall(target, "bind", [thisArg, ...argumentsList]); + } + function createFunctionCallCall(target, thisArg, argumentsList) { + return createMethodCall(target, "call", [thisArg, ...argumentsList]); + } + function createFunctionApplyCall(target, thisArg, argumentsExpression) { + return createMethodCall(target, "apply", [thisArg, argumentsExpression]); + } + function createGlobalMethodCall(globalObjectName, methodName, argumentsList) { + return createMethodCall(createIdentifier(globalObjectName), methodName, argumentsList); + } + function createArraySliceCall(array, start) { + return createMethodCall(array, "slice", start === void 0 ? [] : [asExpression(start)]); + } + function createArrayConcatCall(array, argumentsList) { + return createMethodCall(array, "concat", argumentsList); + } + function createObjectDefinePropertyCall(target, propertyName, attributes) { + return createGlobalMethodCall("Object", "defineProperty", [target, asExpression(propertyName), attributes]); + } + function createObjectGetOwnPropertyDescriptorCall(target, propertyName) { + return createGlobalMethodCall("Object", "getOwnPropertyDescriptor", [target, asExpression(propertyName)]); + } + function createReflectGetCall(target, propertyKey, receiver) { + return createGlobalMethodCall("Reflect", "get", receiver ? [target, propertyKey, receiver] : [target, propertyKey]); + } + function createReflectSetCall(target, propertyKey, value, receiver) { + return createGlobalMethodCall("Reflect", "set", receiver ? [target, propertyKey, value, receiver] : [target, propertyKey, value]); + } + function tryAddPropertyAssignment(properties, propertyName, expression) { + if (expression) { + properties.push(createPropertyAssignment(propertyName, expression)); + return true; + } + return false; + } + function createPropertyDescriptor(attributes, singleLine) { + const properties = []; + tryAddPropertyAssignment(properties, "enumerable", asExpression(attributes.enumerable)); + tryAddPropertyAssignment(properties, "configurable", asExpression(attributes.configurable)); + let isData = tryAddPropertyAssignment(properties, "writable", asExpression(attributes.writable)); + isData = tryAddPropertyAssignment(properties, "value", attributes.value) || isData; + let isAccessor2 = tryAddPropertyAssignment(properties, "get", attributes.get); + isAccessor2 = tryAddPropertyAssignment(properties, "set", attributes.set) || isAccessor2; + Debug.assert(!(isData && isAccessor2), "A PropertyDescriptor may not be both an accessor descriptor and a data descriptor."); + return createObjectLiteralExpression(properties, !singleLine); + } + function updateOuterExpression(outerExpression, expression) { + switch (outerExpression.kind) { + case 217 /* ParenthesizedExpression */: + return updateParenthesizedExpression(outerExpression, expression); + case 216 /* TypeAssertionExpression */: + return updateTypeAssertion(outerExpression, outerExpression.type, expression); + case 234 /* AsExpression */: + return updateAsExpression(outerExpression, expression, outerExpression.type); + case 238 /* SatisfiesExpression */: + return updateSatisfiesExpression(outerExpression, expression, outerExpression.type); + case 235 /* NonNullExpression */: + return updateNonNullExpression(outerExpression, expression); + case 233 /* ExpressionWithTypeArguments */: + return updateExpressionWithTypeArguments(outerExpression, expression, outerExpression.typeArguments); + case 355 /* PartiallyEmittedExpression */: + return updatePartiallyEmittedExpression(outerExpression, expression); + } + } + function isIgnorableParen(node) { + return isParenthesizedExpression(node) && nodeIsSynthesized(node) && nodeIsSynthesized(getSourceMapRange(node)) && nodeIsSynthesized(getCommentRange(node)) && !some(getSyntheticLeadingComments(node)) && !some(getSyntheticTrailingComments(node)); + } + function restoreOuterExpressions(outerExpression, innerExpression, kinds = 31 /* All */) { + if (outerExpression && isOuterExpression(outerExpression, kinds) && !isIgnorableParen(outerExpression)) { + return updateOuterExpression( + outerExpression, + restoreOuterExpressions(outerExpression.expression, innerExpression) + ); + } + return innerExpression; + } + function restoreEnclosingLabel(node, outermostLabeledStatement, afterRestoreLabelCallback) { + if (!outermostLabeledStatement) { + return node; + } + const updated = updateLabeledStatement( + outermostLabeledStatement, + outermostLabeledStatement.label, + isLabeledStatement(outermostLabeledStatement.statement) ? restoreEnclosingLabel(node, outermostLabeledStatement.statement) : node + ); + if (afterRestoreLabelCallback) { + afterRestoreLabelCallback(outermostLabeledStatement); + } + return updated; + } + function shouldBeCapturedInTempVariable(node, cacheIdentifiers) { + const target = skipParentheses(node); + switch (target.kind) { + case 80 /* Identifier */: + return cacheIdentifiers; + case 110 /* ThisKeyword */: + case 9 /* NumericLiteral */: + case 10 /* BigIntLiteral */: + case 11 /* StringLiteral */: + return false; + case 209 /* ArrayLiteralExpression */: + const elements = target.elements; + if (elements.length === 0) { + return false; + } + return true; + case 210 /* ObjectLiteralExpression */: + return target.properties.length > 0; + default: + return true; + } + } + function createCallBinding(expression, recordTempVariable, languageVersion, cacheIdentifiers = false) { + const callee = skipOuterExpressions(expression, 31 /* All */); + let thisArg; + let target; + if (isSuperProperty(callee)) { + thisArg = createThis(); + target = callee; + } else if (isSuperKeyword(callee)) { + thisArg = createThis(); + target = languageVersion !== void 0 && languageVersion < 2 /* ES2015 */ ? setTextRange(createIdentifier("_super"), callee) : callee; + } else if (getEmitFlags(callee) & 8192 /* HelperName */) { + thisArg = createVoidZero(); + target = parenthesizerRules().parenthesizeLeftSideOfAccess( + callee, + /*optionalChain*/ + false + ); + } else if (isPropertyAccessExpression(callee)) { + if (shouldBeCapturedInTempVariable(callee.expression, cacheIdentifiers)) { + thisArg = createTempVariable(recordTempVariable); + target = createPropertyAccessExpression( + setTextRange( + factory2.createAssignment( + thisArg, + callee.expression + ), + callee.expression + ), + callee.name + ); + setTextRange(target, callee); + } else { + thisArg = callee.expression; + target = callee; + } + } else if (isElementAccessExpression(callee)) { + if (shouldBeCapturedInTempVariable(callee.expression, cacheIdentifiers)) { + thisArg = createTempVariable(recordTempVariable); + target = createElementAccessExpression( + setTextRange( + factory2.createAssignment( + thisArg, + callee.expression + ), + callee.expression + ), + callee.argumentExpression + ); + setTextRange(target, callee); + } else { + thisArg = callee.expression; + target = callee; + } + } else { + thisArg = createVoidZero(); + target = parenthesizerRules().parenthesizeLeftSideOfAccess( + expression, + /*optionalChain*/ + false + ); + } + return { target, thisArg }; + } + function createAssignmentTargetWrapper(paramName, expression) { + return createPropertyAccessExpression( + // Explicit parens required because of v8 regression (https://bugs.chromium.org/p/v8/issues/detail?id=9560) + createParenthesizedExpression( + createObjectLiteralExpression([ + createSetAccessorDeclaration( + /*modifiers*/ + void 0, + "value", + [createParameterDeclaration( + /*modifiers*/ + void 0, + /*dotDotDotToken*/ + void 0, + paramName, + /*questionToken*/ + void 0, + /*type*/ + void 0, + /*initializer*/ + void 0 + )], + createBlock([ + createExpressionStatement(expression) + ]) + ) + ]) + ), + "value" + ); + } + function inlineExpressions(expressions) { + return expressions.length > 10 ? createCommaListExpression(expressions) : reduceLeft(expressions, factory2.createComma); + } + function getName(node, allowComments, allowSourceMaps, emitFlags = 0, ignoreAssignedName) { + const nodeName = ignoreAssignedName ? node && getNonAssignedNameOfDeclaration(node) : getNameOfDeclaration(node); + if (nodeName && isIdentifier(nodeName) && !isGeneratedIdentifier(nodeName)) { + const name = setParent(setTextRange(cloneNode(nodeName), nodeName), nodeName.parent); + emitFlags |= getEmitFlags(nodeName); + if (!allowSourceMaps) emitFlags |= 96 /* NoSourceMap */; + if (!allowComments) emitFlags |= 3072 /* NoComments */; + if (emitFlags) setEmitFlags(name, emitFlags); + return name; + } + return getGeneratedNameForNode(node); + } + function getInternalName(node, allowComments, allowSourceMaps) { + return getName(node, allowComments, allowSourceMaps, 32768 /* LocalName */ | 65536 /* InternalName */); + } + function getLocalName(node, allowComments, allowSourceMaps, ignoreAssignedName) { + return getName(node, allowComments, allowSourceMaps, 32768 /* LocalName */, ignoreAssignedName); + } + function getExportName(node, allowComments, allowSourceMaps) { + return getName(node, allowComments, allowSourceMaps, 16384 /* ExportName */); + } + function getDeclarationName(node, allowComments, allowSourceMaps) { + return getName(node, allowComments, allowSourceMaps); + } + function getNamespaceMemberName(ns, name, allowComments, allowSourceMaps) { + const qualifiedName = createPropertyAccessExpression(ns, nodeIsSynthesized(name) ? name : cloneNode(name)); + setTextRange(qualifiedName, name); + let emitFlags = 0; + if (!allowSourceMaps) emitFlags |= 96 /* NoSourceMap */; + if (!allowComments) emitFlags |= 3072 /* NoComments */; + if (emitFlags) setEmitFlags(qualifiedName, emitFlags); + return qualifiedName; + } + function getExternalModuleOrNamespaceExportName(ns, node, allowComments, allowSourceMaps) { + if (ns && hasSyntacticModifier(node, 32 /* Export */)) { + return getNamespaceMemberName(ns, getName(node), allowComments, allowSourceMaps); + } + return getExportName(node, allowComments, allowSourceMaps); + } + function copyPrologue(source, target, ensureUseStrict2, visitor) { + const offset = copyStandardPrologue(source, target, 0, ensureUseStrict2); + return copyCustomPrologue(source, target, offset, visitor); + } + function isUseStrictPrologue2(node) { + return isStringLiteral(node.expression) && node.expression.text === "use strict"; + } + function createUseStrictPrologue() { + return startOnNewLine(createExpressionStatement(createStringLiteral("use strict"))); + } + function copyStandardPrologue(source, target, statementOffset = 0, ensureUseStrict2) { + Debug.assert(target.length === 0, "Prologue directives should be at the first statement in the target statements array"); + let foundUseStrict = false; + const numStatements = source.length; + while (statementOffset < numStatements) { + const statement = source[statementOffset]; + if (isPrologueDirective(statement)) { + if (isUseStrictPrologue2(statement)) { + foundUseStrict = true; + } + target.push(statement); + } else { + break; + } + statementOffset++; + } + if (ensureUseStrict2 && !foundUseStrict) { + target.push(createUseStrictPrologue()); + } + return statementOffset; + } + function copyCustomPrologue(source, target, statementOffset, visitor, filter2 = returnTrue) { + const numStatements = source.length; + while (statementOffset !== void 0 && statementOffset < numStatements) { + const statement = source[statementOffset]; + if (getEmitFlags(statement) & 2097152 /* CustomPrologue */ && filter2(statement)) { + append(target, visitor ? visitNode(statement, visitor, isStatement) : statement); + } else { + break; + } + statementOffset++; + } + return statementOffset; + } + function ensureUseStrict(statements) { + const foundUseStrict = findUseStrictPrologue(statements); + if (!foundUseStrict) { + return setTextRange(createNodeArray([createUseStrictPrologue(), ...statements]), statements); + } + return statements; + } + function liftToBlock(nodes) { + Debug.assert(every(nodes, isStatementOrBlock), "Cannot lift nodes to a Block."); + return singleOrUndefined(nodes) || createBlock(nodes); + } + function findSpanEnd(array, test, start) { + let i = start; + while (i < array.length && test(array[i])) { + i++; + } + return i; + } + function mergeLexicalEnvironment(statements, declarations) { + if (!some(declarations)) { + return statements; + } + const leftStandardPrologueEnd = findSpanEnd(statements, isPrologueDirective, 0); + const leftHoistedFunctionsEnd = findSpanEnd(statements, isHoistedFunction, leftStandardPrologueEnd); + const leftHoistedVariablesEnd = findSpanEnd(statements, isHoistedVariableStatement, leftHoistedFunctionsEnd); + const rightStandardPrologueEnd = findSpanEnd(declarations, isPrologueDirective, 0); + const rightHoistedFunctionsEnd = findSpanEnd(declarations, isHoistedFunction, rightStandardPrologueEnd); + const rightHoistedVariablesEnd = findSpanEnd(declarations, isHoistedVariableStatement, rightHoistedFunctionsEnd); + const rightCustomPrologueEnd = findSpanEnd(declarations, isCustomPrologue, rightHoistedVariablesEnd); + Debug.assert(rightCustomPrologueEnd === declarations.length, "Expected declarations to be valid standard or custom prologues"); + const left = isNodeArray(statements) ? statements.slice() : statements; + if (rightCustomPrologueEnd > rightHoistedVariablesEnd) { + left.splice(leftHoistedVariablesEnd, 0, ...declarations.slice(rightHoistedVariablesEnd, rightCustomPrologueEnd)); + } + if (rightHoistedVariablesEnd > rightHoistedFunctionsEnd) { + left.splice(leftHoistedFunctionsEnd, 0, ...declarations.slice(rightHoistedFunctionsEnd, rightHoistedVariablesEnd)); + } + if (rightHoistedFunctionsEnd > rightStandardPrologueEnd) { + left.splice(leftStandardPrologueEnd, 0, ...declarations.slice(rightStandardPrologueEnd, rightHoistedFunctionsEnd)); + } + if (rightStandardPrologueEnd > 0) { + if (leftStandardPrologueEnd === 0) { + left.splice(0, 0, ...declarations.slice(0, rightStandardPrologueEnd)); + } else { + const leftPrologues = /* @__PURE__ */ new Map(); + for (let i = 0; i < leftStandardPrologueEnd; i++) { + const leftPrologue = statements[i]; + leftPrologues.set(leftPrologue.expression.text, true); + } + for (let i = rightStandardPrologueEnd - 1; i >= 0; i--) { + const rightPrologue = declarations[i]; + if (!leftPrologues.has(rightPrologue.expression.text)) { + left.unshift(rightPrologue); + } + } + } + } + if (isNodeArray(statements)) { + return setTextRange(createNodeArray(left, statements.hasTrailingComma), statements); + } + return statements; + } + function replaceModifiers(node, modifiers) { + let modifierArray; + if (typeof modifiers === "number") { + modifierArray = createModifiersFromModifierFlags(modifiers); + } else { + modifierArray = modifiers; + } + return isTypeParameterDeclaration(node) ? updateTypeParameterDeclaration(node, modifierArray, node.name, node.constraint, node.default) : isParameter(node) ? updateParameterDeclaration(node, modifierArray, node.dotDotDotToken, node.name, node.questionToken, node.type, node.initializer) : isConstructorTypeNode(node) ? updateConstructorTypeNode1(node, modifierArray, node.typeParameters, node.parameters, node.type) : isPropertySignature(node) ? updatePropertySignature(node, modifierArray, node.name, node.questionToken, node.type) : isPropertyDeclaration(node) ? updatePropertyDeclaration(node, modifierArray, node.name, node.questionToken ?? node.exclamationToken, node.type, node.initializer) : isMethodSignature(node) ? updateMethodSignature(node, modifierArray, node.name, node.questionToken, node.typeParameters, node.parameters, node.type) : isMethodDeclaration(node) ? updateMethodDeclaration(node, modifierArray, node.asteriskToken, node.name, node.questionToken, node.typeParameters, node.parameters, node.type, node.body) : isConstructorDeclaration(node) ? updateConstructorDeclaration(node, modifierArray, node.parameters, node.body) : isGetAccessorDeclaration(node) ? updateGetAccessorDeclaration(node, modifierArray, node.name, node.parameters, node.type, node.body) : isSetAccessorDeclaration(node) ? updateSetAccessorDeclaration(node, modifierArray, node.name, node.parameters, node.body) : isIndexSignatureDeclaration(node) ? updateIndexSignature(node, modifierArray, node.parameters, node.type) : isFunctionExpression(node) ? updateFunctionExpression(node, modifierArray, node.asteriskToken, node.name, node.typeParameters, node.parameters, node.type, node.body) : isArrowFunction(node) ? updateArrowFunction(node, modifierArray, node.typeParameters, node.parameters, node.type, node.equalsGreaterThanToken, node.body) : isClassExpression(node) ? updateClassExpression(node, modifierArray, node.name, node.typeParameters, node.heritageClauses, node.members) : isVariableStatement(node) ? updateVariableStatement(node, modifierArray, node.declarationList) : isFunctionDeclaration(node) ? updateFunctionDeclaration(node, modifierArray, node.asteriskToken, node.name, node.typeParameters, node.parameters, node.type, node.body) : isClassDeclaration(node) ? updateClassDeclaration(node, modifierArray, node.name, node.typeParameters, node.heritageClauses, node.members) : isInterfaceDeclaration(node) ? updateInterfaceDeclaration(node, modifierArray, node.name, node.typeParameters, node.heritageClauses, node.members) : isTypeAliasDeclaration(node) ? updateTypeAliasDeclaration(node, modifierArray, node.name, node.typeParameters, node.type) : isEnumDeclaration(node) ? updateEnumDeclaration(node, modifierArray, node.name, node.members) : isModuleDeclaration(node) ? updateModuleDeclaration(node, modifierArray, node.name, node.body) : isImportEqualsDeclaration(node) ? updateImportEqualsDeclaration(node, modifierArray, node.isTypeOnly, node.name, node.moduleReference) : isImportDeclaration(node) ? updateImportDeclaration(node, modifierArray, node.importClause, node.moduleSpecifier, node.attributes) : isExportAssignment(node) ? updateExportAssignment(node, modifierArray, node.expression) : isExportDeclaration(node) ? updateExportDeclaration(node, modifierArray, node.isTypeOnly, node.exportClause, node.moduleSpecifier, node.attributes) : Debug.assertNever(node); + } + function replaceDecoratorsAndModifiers(node, modifierArray) { + return isParameter(node) ? updateParameterDeclaration(node, modifierArray, node.dotDotDotToken, node.name, node.questionToken, node.type, node.initializer) : isPropertyDeclaration(node) ? updatePropertyDeclaration(node, modifierArray, node.name, node.questionToken ?? node.exclamationToken, node.type, node.initializer) : isMethodDeclaration(node) ? updateMethodDeclaration(node, modifierArray, node.asteriskToken, node.name, node.questionToken, node.typeParameters, node.parameters, node.type, node.body) : isGetAccessorDeclaration(node) ? updateGetAccessorDeclaration(node, modifierArray, node.name, node.parameters, node.type, node.body) : isSetAccessorDeclaration(node) ? updateSetAccessorDeclaration(node, modifierArray, node.name, node.parameters, node.body) : isClassExpression(node) ? updateClassExpression(node, modifierArray, node.name, node.typeParameters, node.heritageClauses, node.members) : isClassDeclaration(node) ? updateClassDeclaration(node, modifierArray, node.name, node.typeParameters, node.heritageClauses, node.members) : Debug.assertNever(node); + } + function replacePropertyName(node, name) { + switch (node.kind) { + case 177 /* GetAccessor */: + return updateGetAccessorDeclaration(node, node.modifiers, name, node.parameters, node.type, node.body); + case 178 /* SetAccessor */: + return updateSetAccessorDeclaration(node, node.modifiers, name, node.parameters, node.body); + case 174 /* MethodDeclaration */: + return updateMethodDeclaration(node, node.modifiers, node.asteriskToken, name, node.questionToken, node.typeParameters, node.parameters, node.type, node.body); + case 173 /* MethodSignature */: + return updateMethodSignature(node, node.modifiers, name, node.questionToken, node.typeParameters, node.parameters, node.type); + case 172 /* PropertyDeclaration */: + return updatePropertyDeclaration(node, node.modifiers, name, node.questionToken ?? node.exclamationToken, node.type, node.initializer); + case 171 /* PropertySignature */: + return updatePropertySignature(node, node.modifiers, name, node.questionToken, node.type); + case 303 /* PropertyAssignment */: + return updatePropertyAssignment(node, name, node.initializer); + } + } + function asNodeArray(array) { + return array ? createNodeArray(array) : void 0; + } + function asName(name) { + return typeof name === "string" ? createIdentifier(name) : name; + } + function asExpression(value) { + return typeof value === "string" ? createStringLiteral(value) : typeof value === "number" ? createNumericLiteral(value) : typeof value === "boolean" ? value ? createTrue() : createFalse() : value; + } + function asInitializer(node) { + return node && parenthesizerRules().parenthesizeExpressionForDisallowedComma(node); + } + function asToken(value) { + return typeof value === "number" ? createToken(value) : value; + } + function asEmbeddedStatement(statement) { + return statement && isNotEmittedStatement(statement) ? setTextRange(setOriginal(createEmptyStatement(), statement), statement) : statement; + } + function asVariableDeclaration(variableDeclaration) { + if (typeof variableDeclaration === "string" || variableDeclaration && !isVariableDeclaration(variableDeclaration)) { + return createVariableDeclaration( + variableDeclaration, + /*exclamationToken*/ + void 0, + /*type*/ + void 0, + /*initializer*/ + void 0 + ); + } + return variableDeclaration; + } + function update(updated, original) { + if (updated !== original) { + setOriginal(updated, original); + setTextRange(updated, original); + } + return updated; + } +} +function getDefaultTagNameForKind(kind) { + switch (kind) { + case 344 /* JSDocTypeTag */: + return "type"; + case 342 /* JSDocReturnTag */: + return "returns"; + case 343 /* JSDocThisTag */: + return "this"; + case 340 /* JSDocEnumTag */: + return "enum"; + case 330 /* JSDocAuthorTag */: + return "author"; + case 332 /* JSDocClassTag */: + return "class"; + case 333 /* JSDocPublicTag */: + return "public"; + case 334 /* JSDocPrivateTag */: + return "private"; + case 335 /* JSDocProtectedTag */: + return "protected"; + case 336 /* JSDocReadonlyTag */: + return "readonly"; + case 337 /* JSDocOverrideTag */: + return "override"; + case 345 /* JSDocTemplateTag */: + return "template"; + case 346 /* JSDocTypedefTag */: + return "typedef"; + case 341 /* JSDocParameterTag */: + return "param"; + case 348 /* JSDocPropertyTag */: + return "prop"; + case 338 /* JSDocCallbackTag */: + return "callback"; + case 339 /* JSDocOverloadTag */: + return "overload"; + case 328 /* JSDocAugmentsTag */: + return "augments"; + case 329 /* JSDocImplementsTag */: + return "implements"; + case 351 /* JSDocImportTag */: + return "import"; + default: + return Debug.fail(`Unsupported kind: ${Debug.formatSyntaxKind(kind)}`); + } +} +var rawTextScanner; +var invalidValueSentinel = {}; +function getCookedText(kind, rawText) { + if (!rawTextScanner) { + rawTextScanner = createScanner( + 99 /* Latest */, + /*skipTrivia*/ + false, + 0 /* Standard */ + ); + } + switch (kind) { + case 15 /* NoSubstitutionTemplateLiteral */: + rawTextScanner.setText("`" + rawText + "`"); + break; + case 16 /* TemplateHead */: + rawTextScanner.setText("`" + rawText + "${"); + break; + case 17 /* TemplateMiddle */: + rawTextScanner.setText("}" + rawText + "${"); + break; + case 18 /* TemplateTail */: + rawTextScanner.setText("}" + rawText + "`"); + break; + } + let token = rawTextScanner.scan(); + if (token === 20 /* CloseBraceToken */) { + token = rawTextScanner.reScanTemplateToken( + /*isTaggedTemplate*/ + false + ); + } + if (rawTextScanner.isUnterminated()) { + rawTextScanner.setText(void 0); + return invalidValueSentinel; + } + let tokenValue; + switch (token) { + case 15 /* NoSubstitutionTemplateLiteral */: + case 16 /* TemplateHead */: + case 17 /* TemplateMiddle */: + case 18 /* TemplateTail */: + tokenValue = rawTextScanner.getTokenValue(); + break; + } + if (tokenValue === void 0 || rawTextScanner.scan() !== 1 /* EndOfFileToken */) { + rawTextScanner.setText(void 0); + return invalidValueSentinel; + } + rawTextScanner.setText(void 0); + return tokenValue; +} +function propagateNameFlags(node) { + return node && isIdentifier(node) ? propagateIdentifierNameFlags(node) : propagateChildFlags(node); +} +function propagateIdentifierNameFlags(node) { + return propagateChildFlags(node) & ~67108864 /* ContainsPossibleTopLevelAwait */; +} +function propagatePropertyNameFlagsOfChild(node, transformFlags) { + return transformFlags | node.transformFlags & 134234112 /* PropertyNamePropagatingFlags */; +} +function propagateChildFlags(child) { + if (!child) return 0 /* None */; + const childFlags = child.transformFlags & ~getTransformFlagsSubtreeExclusions(child.kind); + return isNamedDeclaration(child) && isPropertyName(child.name) ? propagatePropertyNameFlagsOfChild(child.name, childFlags) : childFlags; +} +function propagateChildrenFlags(children) { + return children ? children.transformFlags : 0 /* None */; +} +function aggregateChildrenFlags(children) { + let subtreeFlags = 0 /* None */; + for (const child of children) { + subtreeFlags |= propagateChildFlags(child); + } + children.transformFlags = subtreeFlags; +} +function getTransformFlagsSubtreeExclusions(kind) { + if (kind >= 182 /* FirstTypeNode */ && kind <= 205 /* LastTypeNode */) { + return -2 /* TypeExcludes */; + } + switch (kind) { + case 213 /* CallExpression */: + case 214 /* NewExpression */: + case 209 /* ArrayLiteralExpression */: + return -2147450880 /* ArrayLiteralOrCallOrNewExcludes */; + case 267 /* ModuleDeclaration */: + return -1941676032 /* ModuleExcludes */; + case 169 /* Parameter */: + return -2147483648 /* ParameterExcludes */; + case 219 /* ArrowFunction */: + return -2072174592 /* ArrowFunctionExcludes */; + case 218 /* FunctionExpression */: + case 262 /* FunctionDeclaration */: + return -1937940480 /* FunctionExcludes */; + case 261 /* VariableDeclarationList */: + return -2146893824 /* VariableDeclarationListExcludes */; + case 263 /* ClassDeclaration */: + case 231 /* ClassExpression */: + return -2147344384 /* ClassExcludes */; + case 176 /* Constructor */: + return -1937948672 /* ConstructorExcludes */; + case 172 /* PropertyDeclaration */: + return -2013249536 /* PropertyExcludes */; + case 174 /* MethodDeclaration */: + case 177 /* GetAccessor */: + case 178 /* SetAccessor */: + return -2005057536 /* MethodOrAccessorExcludes */; + case 133 /* AnyKeyword */: + case 150 /* NumberKeyword */: + case 163 /* BigIntKeyword */: + case 146 /* NeverKeyword */: + case 154 /* StringKeyword */: + case 151 /* ObjectKeyword */: + case 136 /* BooleanKeyword */: + case 155 /* SymbolKeyword */: + case 116 /* VoidKeyword */: + case 168 /* TypeParameter */: + case 171 /* PropertySignature */: + case 173 /* MethodSignature */: + case 179 /* CallSignature */: + case 180 /* ConstructSignature */: + case 181 /* IndexSignature */: + case 264 /* InterfaceDeclaration */: + case 265 /* TypeAliasDeclaration */: + return -2 /* TypeExcludes */; + case 210 /* ObjectLiteralExpression */: + return -2147278848 /* ObjectLiteralExcludes */; + case 299 /* CatchClause */: + return -2147418112 /* CatchClauseExcludes */; + case 206 /* ObjectBindingPattern */: + case 207 /* ArrayBindingPattern */: + return -2147450880 /* BindingPatternExcludes */; + case 216 /* TypeAssertionExpression */: + case 238 /* SatisfiesExpression */: + case 234 /* AsExpression */: + case 355 /* PartiallyEmittedExpression */: + case 217 /* ParenthesizedExpression */: + case 108 /* SuperKeyword */: + return -2147483648 /* OuterExpressionExcludes */; + case 211 /* PropertyAccessExpression */: + case 212 /* ElementAccessExpression */: + return -2147483648 /* PropertyAccessExcludes */; + default: + return -2147483648 /* NodeExcludes */; + } +} +var baseFactory = createBaseNodeFactory(); +function makeSynthetic(node) { + node.flags |= 16 /* Synthesized */; + return node; +} +var syntheticFactory = { + createBaseSourceFileNode: (kind) => makeSynthetic(baseFactory.createBaseSourceFileNode(kind)), + createBaseIdentifierNode: (kind) => makeSynthetic(baseFactory.createBaseIdentifierNode(kind)), + createBasePrivateIdentifierNode: (kind) => makeSynthetic(baseFactory.createBasePrivateIdentifierNode(kind)), + createBaseTokenNode: (kind) => makeSynthetic(baseFactory.createBaseTokenNode(kind)), + createBaseNode: (kind) => makeSynthetic(baseFactory.createBaseNode(kind)) +}; +var factory = createNodeFactory(4 /* NoIndentationOnFreshPropertyAccess */, syntheticFactory); +function setOriginalNode(node, original) { + if (node.original !== original) { + node.original = original; + if (original) { + const emitNode = original.emitNode; + if (emitNode) node.emitNode = mergeEmitNode(emitNode, node.emitNode); + } + } + return node; +} +function mergeEmitNode(sourceEmitNode, destEmitNode) { + const { + flags, + internalFlags, + leadingComments, + trailingComments, + commentRange, + sourceMapRange, + tokenSourceMapRanges, + constantValue, + helpers, + startsOnNewLine, + snippetElement, + classThis, + assignedName + } = sourceEmitNode; + if (!destEmitNode) destEmitNode = {}; + if (flags) { + destEmitNode.flags = flags; + } + if (internalFlags) { + destEmitNode.internalFlags = internalFlags & ~8 /* Immutable */; + } + if (leadingComments) { + destEmitNode.leadingComments = addRange(leadingComments.slice(), destEmitNode.leadingComments); + } + if (trailingComments) { + destEmitNode.trailingComments = addRange(trailingComments.slice(), destEmitNode.trailingComments); + } + if (commentRange) { + destEmitNode.commentRange = commentRange; + } + if (sourceMapRange) { + destEmitNode.sourceMapRange = sourceMapRange; + } + if (tokenSourceMapRanges) { + destEmitNode.tokenSourceMapRanges = mergeTokenSourceMapRanges(tokenSourceMapRanges, destEmitNode.tokenSourceMapRanges); + } + if (constantValue !== void 0) { + destEmitNode.constantValue = constantValue; + } + if (helpers) { + for (const helper of helpers) { + destEmitNode.helpers = appendIfUnique(destEmitNode.helpers, helper); + } + } + if (startsOnNewLine !== void 0) { + destEmitNode.startsOnNewLine = startsOnNewLine; + } + if (snippetElement !== void 0) { + destEmitNode.snippetElement = snippetElement; + } + if (classThis) { + destEmitNode.classThis = classThis; + } + if (assignedName) { + destEmitNode.assignedName = assignedName; + } + return destEmitNode; +} +function mergeTokenSourceMapRanges(sourceRanges, destRanges) { + if (!destRanges) destRanges = []; + for (const key in sourceRanges) { + destRanges[key] = sourceRanges[key]; + } + return destRanges; +} + +// src/compiler/factory/emitNode.ts +function getOrCreateEmitNode(node) { + if (!node.emitNode) { + if (isParseTreeNode(node)) { + if (node.kind === 307 /* SourceFile */) { + return node.emitNode = { annotatedNodes: [node] }; + } + const sourceFile = getSourceFileOfNode(getParseTreeNode(getSourceFileOfNode(node))) ?? Debug.fail("Could not determine parsed source file."); + getOrCreateEmitNode(sourceFile).annotatedNodes.push(node); + } + node.emitNode = {}; + } else { + Debug.assert(!(node.emitNode.internalFlags & 8 /* Immutable */), "Invalid attempt to mutate an immutable node."); + } + return node.emitNode; +} +function disposeEmitNodes(sourceFile) { + var _a, _b; + const annotatedNodes = (_b = (_a = getSourceFileOfNode(getParseTreeNode(sourceFile))) == null ? void 0 : _a.emitNode) == null ? void 0 : _b.annotatedNodes; + if (annotatedNodes) { + for (const node of annotatedNodes) { + node.emitNode = void 0; + } + } +} +function removeAllComments(node) { + const emitNode = getOrCreateEmitNode(node); + emitNode.flags |= 3072 /* NoComments */; + emitNode.leadingComments = void 0; + emitNode.trailingComments = void 0; + return node; +} +function setEmitFlags(node, emitFlags) { + getOrCreateEmitNode(node).flags = emitFlags; + return node; +} +function addEmitFlags(node, emitFlags) { + const emitNode = getOrCreateEmitNode(node); + emitNode.flags = emitNode.flags | emitFlags; + return node; +} +function setInternalEmitFlags(node, emitFlags) { + getOrCreateEmitNode(node).internalFlags = emitFlags; + return node; +} +function addInternalEmitFlags(node, emitFlags) { + const emitNode = getOrCreateEmitNode(node); + emitNode.internalFlags = emitNode.internalFlags | emitFlags; + return node; +} +function getSourceMapRange(node) { + var _a; + return ((_a = node.emitNode) == null ? void 0 : _a.sourceMapRange) ?? node; +} +function setSourceMapRange(node, range) { + getOrCreateEmitNode(node).sourceMapRange = range; + return node; +} +function setTokenSourceMapRange(node, token, range) { + const emitNode = getOrCreateEmitNode(node); + const tokenSourceMapRanges = emitNode.tokenSourceMapRanges ?? (emitNode.tokenSourceMapRanges = []); + tokenSourceMapRanges[token] = range; + return node; +} +function getStartsOnNewLine(node) { + var _a; + return (_a = node.emitNode) == null ? void 0 : _a.startsOnNewLine; +} +function setStartsOnNewLine(node, newLine) { + getOrCreateEmitNode(node).startsOnNewLine = newLine; + return node; +} +function getCommentRange(node) { + var _a; + return ((_a = node.emitNode) == null ? void 0 : _a.commentRange) ?? node; +} +function setCommentRange(node, range) { + getOrCreateEmitNode(node).commentRange = range; + return node; +} +function getSyntheticLeadingComments(node) { + var _a; + return (_a = node.emitNode) == null ? void 0 : _a.leadingComments; +} +function setSyntheticLeadingComments(node, comments) { + getOrCreateEmitNode(node).leadingComments = comments; + return node; +} +function addSyntheticLeadingComment(node, kind, text, hasTrailingNewLine) { + return setSyntheticLeadingComments(node, append(getSyntheticLeadingComments(node), { kind, pos: -1, end: -1, hasTrailingNewLine, text })); +} +function getSyntheticTrailingComments(node) { + var _a; + return (_a = node.emitNode) == null ? void 0 : _a.trailingComments; +} +function setSyntheticTrailingComments(node, comments) { + getOrCreateEmitNode(node).trailingComments = comments; + return node; +} +function addSyntheticTrailingComment(node, kind, text, hasTrailingNewLine) { + return setSyntheticTrailingComments(node, append(getSyntheticTrailingComments(node), { kind, pos: -1, end: -1, hasTrailingNewLine, text })); +} +function moveSyntheticComments(node, original) { + setSyntheticLeadingComments(node, getSyntheticLeadingComments(original)); + setSyntheticTrailingComments(node, getSyntheticTrailingComments(original)); + const emit = getOrCreateEmitNode(original); + emit.leadingComments = void 0; + emit.trailingComments = void 0; + return node; +} +function getConstantValue(node) { + var _a; + return (_a = node.emitNode) == null ? void 0 : _a.constantValue; +} +function setConstantValue(node, value) { + const emitNode = getOrCreateEmitNode(node); + emitNode.constantValue = value; + return node; +} +function addEmitHelper(node, helper) { + const emitNode = getOrCreateEmitNode(node); + emitNode.helpers = append(emitNode.helpers, helper); + return node; +} +function addEmitHelpers(node, helpers) { + if (some(helpers)) { + const emitNode = getOrCreateEmitNode(node); + for (const helper of helpers) { + emitNode.helpers = appendIfUnique(emitNode.helpers, helper); + } + } + return node; +} +function getEmitHelpers(node) { + var _a; + return (_a = node.emitNode) == null ? void 0 : _a.helpers; +} +function moveEmitHelpers(source, target, predicate) { + const sourceEmitNode = source.emitNode; + const sourceEmitHelpers = sourceEmitNode && sourceEmitNode.helpers; + if (!some(sourceEmitHelpers)) return; + const targetEmitNode = getOrCreateEmitNode(target); + let helpersRemoved = 0; + for (let i = 0; i < sourceEmitHelpers.length; i++) { + const helper = sourceEmitHelpers[i]; + if (predicate(helper)) { + helpersRemoved++; + targetEmitNode.helpers = appendIfUnique(targetEmitNode.helpers, helper); + } else if (helpersRemoved > 0) { + sourceEmitHelpers[i - helpersRemoved] = helper; + } + } + if (helpersRemoved > 0) { + sourceEmitHelpers.length -= helpersRemoved; + } +} +function getSnippetElement(node) { + var _a; + return (_a = node.emitNode) == null ? void 0 : _a.snippetElement; +} +function setTypeNode(node, type) { + const emitNode = getOrCreateEmitNode(node); + emitNode.typeNode = type; + return node; +} +function getTypeNode(node) { + var _a; + return (_a = node.emitNode) == null ? void 0 : _a.typeNode; +} +function setIdentifierTypeArguments(node, typeArguments) { + getOrCreateEmitNode(node).identifierTypeArguments = typeArguments; + return node; +} +function getIdentifierTypeArguments(node) { + var _a; + return (_a = node.emitNode) == null ? void 0 : _a.identifierTypeArguments; +} +function setIdentifierAutoGenerate(node, autoGenerate) { + getOrCreateEmitNode(node).autoGenerate = autoGenerate; + return node; +} +function setIdentifierGeneratedImportReference(node, value) { + getOrCreateEmitNode(node).generatedImportReference = value; + return node; +} +function getIdentifierGeneratedImportReference(node) { + var _a; + return (_a = node.emitNode) == null ? void 0 : _a.generatedImportReference; +} + +// src/compiler/factory/emitHelpers.ts +function createEmitHelperFactory(context) { + const factory2 = context.factory; + const immutableTrue = memoize(() => setInternalEmitFlags(factory2.createTrue(), 8 /* Immutable */)); + const immutableFalse = memoize(() => setInternalEmitFlags(factory2.createFalse(), 8 /* Immutable */)); + return { + getUnscopedHelperName, + // TypeScript Helpers + createDecorateHelper, + createMetadataHelper, + createParamHelper, + // ES Decorators Helpers + createESDecorateHelper, + createRunInitializersHelper, + // ES2018 Helpers + createAssignHelper, + createAwaitHelper, + createAsyncGeneratorHelper, + createAsyncDelegatorHelper, + createAsyncValuesHelper, + // ES2018 Destructuring Helpers + createRestHelper, + // ES2017 Helpers + createAwaiterHelper, + // ES2015 Helpers + createExtendsHelper, + createTemplateObjectHelper, + createSpreadArrayHelper, + createPropKeyHelper, + createSetFunctionNameHelper, + // ES2015 Destructuring Helpers + createValuesHelper, + createReadHelper, + // ES2015 Generator Helpers + createGeneratorHelper, + // ES Module Helpers + createImportStarHelper, + createImportStarCallbackHelper, + createImportDefaultHelper, + createExportStarHelper, + // Class Fields Helpers + createClassPrivateFieldGetHelper, + createClassPrivateFieldSetHelper, + createClassPrivateFieldInHelper, + // 'using' helpers + createAddDisposableResourceHelper, + createDisposeResourcesHelper, + // --rewriteRelativeImportExtensions helpers + createRewriteRelativeImportExtensionsHelper + }; + function getUnscopedHelperName(name) { + return setEmitFlags(factory2.createIdentifier(name), 8192 /* HelperName */ | 4 /* AdviseOnEmitNode */); + } + function createDecorateHelper(decoratorExpressions, target, memberName, descriptor) { + context.requestEmitHelper(decorateHelper); + const argumentsArray = []; + argumentsArray.push(factory2.createArrayLiteralExpression( + decoratorExpressions, + /*multiLine*/ + true + )); + argumentsArray.push(target); + if (memberName) { + argumentsArray.push(memberName); + if (descriptor) { + argumentsArray.push(descriptor); + } + } + return factory2.createCallExpression( + getUnscopedHelperName("__decorate"), + /*typeArguments*/ + void 0, + argumentsArray + ); + } + function createMetadataHelper(metadataKey, metadataValue) { + context.requestEmitHelper(metadataHelper); + return factory2.createCallExpression( + getUnscopedHelperName("__metadata"), + /*typeArguments*/ + void 0, + [ + factory2.createStringLiteral(metadataKey), + metadataValue + ] + ); + } + function createParamHelper(expression, parameterOffset, location) { + context.requestEmitHelper(paramHelper); + return setTextRange( + factory2.createCallExpression( + getUnscopedHelperName("__param"), + /*typeArguments*/ + void 0, + [ + factory2.createNumericLiteral(parameterOffset + ""), + expression + ] + ), + location + ); + } + function createESDecorateClassContextObject(contextIn) { + const properties = [ + factory2.createPropertyAssignment(factory2.createIdentifier("kind"), factory2.createStringLiteral("class")), + factory2.createPropertyAssignment(factory2.createIdentifier("name"), contextIn.name), + factory2.createPropertyAssignment(factory2.createIdentifier("metadata"), contextIn.metadata) + ]; + return factory2.createObjectLiteralExpression(properties); + } + function createESDecorateClassElementAccessGetMethod(elementName) { + const accessor = elementName.computed ? factory2.createElementAccessExpression(factory2.createIdentifier("obj"), elementName.name) : factory2.createPropertyAccessExpression(factory2.createIdentifier("obj"), elementName.name); + return factory2.createPropertyAssignment( + "get", + factory2.createArrowFunction( + /*modifiers*/ + void 0, + /*typeParameters*/ + void 0, + [factory2.createParameterDeclaration( + /*modifiers*/ + void 0, + /*dotDotDotToken*/ + void 0, + factory2.createIdentifier("obj") + )], + /*type*/ + void 0, + /*equalsGreaterThanToken*/ + void 0, + accessor + ) + ); + } + function createESDecorateClassElementAccessSetMethod(elementName) { + const accessor = elementName.computed ? factory2.createElementAccessExpression(factory2.createIdentifier("obj"), elementName.name) : factory2.createPropertyAccessExpression(factory2.createIdentifier("obj"), elementName.name); + return factory2.createPropertyAssignment( + "set", + factory2.createArrowFunction( + /*modifiers*/ + void 0, + /*typeParameters*/ + void 0, + [ + factory2.createParameterDeclaration( + /*modifiers*/ + void 0, + /*dotDotDotToken*/ + void 0, + factory2.createIdentifier("obj") + ), + factory2.createParameterDeclaration( + /*modifiers*/ + void 0, + /*dotDotDotToken*/ + void 0, + factory2.createIdentifier("value") + ) + ], + /*type*/ + void 0, + /*equalsGreaterThanToken*/ + void 0, + factory2.createBlock([ + factory2.createExpressionStatement( + factory2.createAssignment( + accessor, + factory2.createIdentifier("value") + ) + ) + ]) + ) + ); + } + function createESDecorateClassElementAccessHasMethod(elementName) { + const propertyName = elementName.computed ? elementName.name : isIdentifier(elementName.name) ? factory2.createStringLiteralFromNode(elementName.name) : elementName.name; + return factory2.createPropertyAssignment( + "has", + factory2.createArrowFunction( + /*modifiers*/ + void 0, + /*typeParameters*/ + void 0, + [factory2.createParameterDeclaration( + /*modifiers*/ + void 0, + /*dotDotDotToken*/ + void 0, + factory2.createIdentifier("obj") + )], + /*type*/ + void 0, + /*equalsGreaterThanToken*/ + void 0, + factory2.createBinaryExpression( + propertyName, + 103 /* InKeyword */, + factory2.createIdentifier("obj") + ) + ) + ); + } + function createESDecorateClassElementAccessObject(name, access) { + const properties = []; + properties.push(createESDecorateClassElementAccessHasMethod(name)); + if (access.get) properties.push(createESDecorateClassElementAccessGetMethod(name)); + if (access.set) properties.push(createESDecorateClassElementAccessSetMethod(name)); + return factory2.createObjectLiteralExpression(properties); + } + function createESDecorateClassElementContextObject(contextIn) { + const properties = [ + factory2.createPropertyAssignment(factory2.createIdentifier("kind"), factory2.createStringLiteral(contextIn.kind)), + factory2.createPropertyAssignment(factory2.createIdentifier("name"), contextIn.name.computed ? contextIn.name.name : factory2.createStringLiteralFromNode(contextIn.name.name)), + factory2.createPropertyAssignment(factory2.createIdentifier("static"), contextIn.static ? factory2.createTrue() : factory2.createFalse()), + factory2.createPropertyAssignment(factory2.createIdentifier("private"), contextIn.private ? factory2.createTrue() : factory2.createFalse()), + factory2.createPropertyAssignment(factory2.createIdentifier("access"), createESDecorateClassElementAccessObject(contextIn.name, contextIn.access)), + factory2.createPropertyAssignment(factory2.createIdentifier("metadata"), contextIn.metadata) + ]; + return factory2.createObjectLiteralExpression(properties); + } + function createESDecorateContextObject(contextIn) { + return contextIn.kind === "class" ? createESDecorateClassContextObject(contextIn) : createESDecorateClassElementContextObject(contextIn); + } + function createESDecorateHelper(ctor, descriptorIn, decorators, contextIn, initializers, extraInitializers) { + context.requestEmitHelper(esDecorateHelper); + return factory2.createCallExpression( + getUnscopedHelperName("__esDecorate"), + /*typeArguments*/ + void 0, + [ + ctor ?? factory2.createNull(), + descriptorIn ?? factory2.createNull(), + decorators, + createESDecorateContextObject(contextIn), + initializers, + extraInitializers + ] + ); + } + function createRunInitializersHelper(thisArg, initializers, value) { + context.requestEmitHelper(runInitializersHelper); + return factory2.createCallExpression( + getUnscopedHelperName("__runInitializers"), + /*typeArguments*/ + void 0, + value ? [thisArg, initializers, value] : [thisArg, initializers] + ); + } + function createAssignHelper(attributesSegments) { + if (getEmitScriptTarget(context.getCompilerOptions()) >= 2 /* ES2015 */) { + return factory2.createCallExpression( + factory2.createPropertyAccessExpression(factory2.createIdentifier("Object"), "assign"), + /*typeArguments*/ + void 0, + attributesSegments + ); + } + context.requestEmitHelper(assignHelper); + return factory2.createCallExpression( + getUnscopedHelperName("__assign"), + /*typeArguments*/ + void 0, + attributesSegments + ); + } + function createAwaitHelper(expression) { + context.requestEmitHelper(awaitHelper); + return factory2.createCallExpression( + getUnscopedHelperName("__await"), + /*typeArguments*/ + void 0, + [expression] + ); + } + function createAsyncGeneratorHelper(generatorFunc, hasLexicalThis) { + context.requestEmitHelper(awaitHelper); + context.requestEmitHelper(asyncGeneratorHelper); + (generatorFunc.emitNode || (generatorFunc.emitNode = {})).flags |= 524288 /* AsyncFunctionBody */ | 1048576 /* ReuseTempVariableScope */; + return factory2.createCallExpression( + getUnscopedHelperName("__asyncGenerator"), + /*typeArguments*/ + void 0, + [ + hasLexicalThis ? factory2.createThis() : factory2.createVoidZero(), + factory2.createIdentifier("arguments"), + generatorFunc + ] + ); + } + function createAsyncDelegatorHelper(expression) { + context.requestEmitHelper(awaitHelper); + context.requestEmitHelper(asyncDelegator); + return factory2.createCallExpression( + getUnscopedHelperName("__asyncDelegator"), + /*typeArguments*/ + void 0, + [expression] + ); + } + function createAsyncValuesHelper(expression) { + context.requestEmitHelper(asyncValues); + return factory2.createCallExpression( + getUnscopedHelperName("__asyncValues"), + /*typeArguments*/ + void 0, + [expression] + ); + } + function createRestHelper(value, elements, computedTempVariables, location) { + context.requestEmitHelper(restHelper); + const propertyNames = []; + let computedTempVariableOffset = 0; + for (let i = 0; i < elements.length - 1; i++) { + const propertyName = getPropertyNameOfBindingOrAssignmentElement(elements[i]); + if (propertyName) { + if (isComputedPropertyName(propertyName)) { + Debug.assertIsDefined(computedTempVariables, "Encountered computed property name but 'computedTempVariables' argument was not provided."); + const temp = computedTempVariables[computedTempVariableOffset]; + computedTempVariableOffset++; + propertyNames.push( + factory2.createConditionalExpression( + factory2.createTypeCheck(temp, "symbol"), + /*questionToken*/ + void 0, + temp, + /*colonToken*/ + void 0, + factory2.createAdd(temp, factory2.createStringLiteral("")) + ) + ); + } else { + propertyNames.push(factory2.createStringLiteralFromNode(propertyName)); + } + } + } + return factory2.createCallExpression( + getUnscopedHelperName("__rest"), + /*typeArguments*/ + void 0, + [ + value, + setTextRange( + factory2.createArrayLiteralExpression(propertyNames), + location + ) + ] + ); + } + function createAwaiterHelper(hasLexicalThis, argumentsExpression, promiseConstructor, parameters, body) { + context.requestEmitHelper(awaiterHelper); + const generatorFunc = factory2.createFunctionExpression( + /*modifiers*/ + void 0, + factory2.createToken(42 /* AsteriskToken */), + /*name*/ + void 0, + /*typeParameters*/ + void 0, + parameters ?? [], + /*type*/ + void 0, + body + ); + (generatorFunc.emitNode || (generatorFunc.emitNode = {})).flags |= 524288 /* AsyncFunctionBody */ | 1048576 /* ReuseTempVariableScope */; + return factory2.createCallExpression( + getUnscopedHelperName("__awaiter"), + /*typeArguments*/ + void 0, + [ + hasLexicalThis ? factory2.createThis() : factory2.createVoidZero(), + argumentsExpression ?? factory2.createVoidZero(), + promiseConstructor ? createExpressionFromEntityName(factory2, promiseConstructor) : factory2.createVoidZero(), + generatorFunc + ] + ); + } + function createExtendsHelper(name) { + context.requestEmitHelper(extendsHelper); + return factory2.createCallExpression( + getUnscopedHelperName("__extends"), + /*typeArguments*/ + void 0, + [name, factory2.createUniqueName("_super", 16 /* Optimistic */ | 32 /* FileLevel */)] + ); + } + function createTemplateObjectHelper(cooked, raw) { + context.requestEmitHelper(templateObjectHelper); + return factory2.createCallExpression( + getUnscopedHelperName("__makeTemplateObject"), + /*typeArguments*/ + void 0, + [cooked, raw] + ); + } + function createSpreadArrayHelper(to, from, packFrom) { + context.requestEmitHelper(spreadArrayHelper); + return factory2.createCallExpression( + getUnscopedHelperName("__spreadArray"), + /*typeArguments*/ + void 0, + [to, from, packFrom ? immutableTrue() : immutableFalse()] + ); + } + function createPropKeyHelper(expr) { + context.requestEmitHelper(propKeyHelper); + return factory2.createCallExpression( + getUnscopedHelperName("__propKey"), + /*typeArguments*/ + void 0, + [expr] + ); + } + function createSetFunctionNameHelper(f, name, prefix) { + context.requestEmitHelper(setFunctionNameHelper); + return context.factory.createCallExpression( + getUnscopedHelperName("__setFunctionName"), + /*typeArguments*/ + void 0, + prefix ? [f, name, context.factory.createStringLiteral(prefix)] : [f, name] + ); + } + function createValuesHelper(expression) { + context.requestEmitHelper(valuesHelper); + return factory2.createCallExpression( + getUnscopedHelperName("__values"), + /*typeArguments*/ + void 0, + [expression] + ); + } + function createReadHelper(iteratorRecord, count) { + context.requestEmitHelper(readHelper); + return factory2.createCallExpression( + getUnscopedHelperName("__read"), + /*typeArguments*/ + void 0, + count !== void 0 ? [iteratorRecord, factory2.createNumericLiteral(count + "")] : [iteratorRecord] + ); + } + function createGeneratorHelper(body) { + context.requestEmitHelper(generatorHelper); + return factory2.createCallExpression( + getUnscopedHelperName("__generator"), + /*typeArguments*/ + void 0, + [factory2.createThis(), body] + ); + } + function createImportStarHelper(expression) { + context.requestEmitHelper(importStarHelper); + return factory2.createCallExpression( + getUnscopedHelperName("__importStar"), + /*typeArguments*/ + void 0, + [expression] + ); + } + function createImportStarCallbackHelper() { + context.requestEmitHelper(importStarHelper); + return getUnscopedHelperName("__importStar"); + } + function createImportDefaultHelper(expression) { + context.requestEmitHelper(importDefaultHelper); + return factory2.createCallExpression( + getUnscopedHelperName("__importDefault"), + /*typeArguments*/ + void 0, + [expression] + ); + } + function createExportStarHelper(moduleExpression, exportsExpression = factory2.createIdentifier("exports")) { + context.requestEmitHelper(exportStarHelper); + context.requestEmitHelper(createBindingHelper); + return factory2.createCallExpression( + getUnscopedHelperName("__exportStar"), + /*typeArguments*/ + void 0, + [moduleExpression, exportsExpression] + ); + } + function createClassPrivateFieldGetHelper(receiver, state, kind, f) { + context.requestEmitHelper(classPrivateFieldGetHelper); + let args; + if (!f) { + args = [receiver, state, factory2.createStringLiteral(kind)]; + } else { + args = [receiver, state, factory2.createStringLiteral(kind), f]; + } + return factory2.createCallExpression( + getUnscopedHelperName("__classPrivateFieldGet"), + /*typeArguments*/ + void 0, + args + ); + } + function createClassPrivateFieldSetHelper(receiver, state, value, kind, f) { + context.requestEmitHelper(classPrivateFieldSetHelper); + let args; + if (!f) { + args = [receiver, state, value, factory2.createStringLiteral(kind)]; + } else { + args = [receiver, state, value, factory2.createStringLiteral(kind), f]; + } + return factory2.createCallExpression( + getUnscopedHelperName("__classPrivateFieldSet"), + /*typeArguments*/ + void 0, + args + ); + } + function createClassPrivateFieldInHelper(state, receiver) { + context.requestEmitHelper(classPrivateFieldInHelper); + return factory2.createCallExpression( + getUnscopedHelperName("__classPrivateFieldIn"), + /*typeArguments*/ + void 0, + [state, receiver] + ); + } + function createAddDisposableResourceHelper(envBinding, value, async) { + context.requestEmitHelper(addDisposableResourceHelper); + return factory2.createCallExpression( + getUnscopedHelperName("__addDisposableResource"), + /*typeArguments*/ + void 0, + [envBinding, value, async ? factory2.createTrue() : factory2.createFalse()] + ); + } + function createDisposeResourcesHelper(envBinding) { + context.requestEmitHelper(disposeResourcesHelper); + return factory2.createCallExpression( + getUnscopedHelperName("__disposeResources"), + /*typeArguments*/ + void 0, + [envBinding] + ); + } + function createRewriteRelativeImportExtensionsHelper(expression) { + context.requestEmitHelper(rewriteRelativeImportExtensionsHelper); + return factory2.createCallExpression( + getUnscopedHelperName("__rewriteRelativeImportExtension"), + /*typeArguments*/ + void 0, + context.getCompilerOptions().jsx === 1 /* Preserve */ ? [expression, factory2.createTrue()] : [expression] + ); + } +} +function compareEmitHelpers(x, y) { + if (x === y) return 0 /* EqualTo */; + if (x.priority === y.priority) return 0 /* EqualTo */; + if (x.priority === void 0) return 1 /* GreaterThan */; + if (y.priority === void 0) return -1 /* LessThan */; + return compareValues(x.priority, y.priority); +} +function helperString(input, ...args) { + return (uniqueName) => { + let result = ""; + for (let i = 0; i < args.length; i++) { + result += input[i]; + result += uniqueName(args[i]); + } + result += input[input.length - 1]; + return result; + }; +} +var decorateHelper = { + name: "typescript:decorate", + importName: "__decorate", + scoped: false, + priority: 2, + text: ` + var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { + var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; + if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); + 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; + return c > 3 && r && Object.defineProperty(target, key, r), r; + };` +}; +var metadataHelper = { + name: "typescript:metadata", + importName: "__metadata", + scoped: false, + priority: 3, + text: ` + var __metadata = (this && this.__metadata) || function (k, v) { + if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); + };` +}; +var paramHelper = { + name: "typescript:param", + importName: "__param", + scoped: false, + priority: 4, + text: ` + var __param = (this && this.__param) || function (paramIndex, decorator) { + return function (target, key) { decorator(target, key, paramIndex); } + };` +}; +var esDecorateHelper = { + name: "typescript:esDecorate", + importName: "__esDecorate", + scoped: false, + priority: 2, + text: ` + var __esDecorate = (this && this.__esDecorate) || function (ctor, descriptorIn, decorators, contextIn, initializers, extraInitializers) { + function accept(f) { if (f !== void 0 && typeof f !== "function") throw new TypeError("Function expected"); return f; } + var kind = contextIn.kind, key = kind === "getter" ? "get" : kind === "setter" ? "set" : "value"; + var target = !descriptorIn && ctor ? contextIn["static"] ? ctor : ctor.prototype : null; + var descriptor = descriptorIn || (target ? Object.getOwnPropertyDescriptor(target, contextIn.name) : {}); + var _, done = false; + for (var i = decorators.length - 1; i >= 0; i--) { + var context = {}; + for (var p in contextIn) context[p] = p === "access" ? {} : contextIn[p]; + for (var p in contextIn.access) context.access[p] = contextIn.access[p]; + context.addInitializer = function (f) { if (done) throw new TypeError("Cannot add initializers after decoration has completed"); extraInitializers.push(accept(f || null)); }; + var result = (0, decorators[i])(kind === "accessor" ? { get: descriptor.get, set: descriptor.set } : descriptor[key], context); + if (kind === "accessor") { + if (result === void 0) continue; + if (result === null || typeof result !== "object") throw new TypeError("Object expected"); + if (_ = accept(result.get)) descriptor.get = _; + if (_ = accept(result.set)) descriptor.set = _; + if (_ = accept(result.init)) initializers.unshift(_); + } + else if (_ = accept(result)) { + if (kind === "field") initializers.unshift(_); + else descriptor[key] = _; + } + } + if (target) Object.defineProperty(target, contextIn.name, descriptor); + done = true; + };` +}; +var runInitializersHelper = { + name: "typescript:runInitializers", + importName: "__runInitializers", + scoped: false, + priority: 2, + text: ` + var __runInitializers = (this && this.__runInitializers) || function (thisArg, initializers, value) { + var useValue = arguments.length > 2; + for (var i = 0; i < initializers.length; i++) { + value = useValue ? initializers[i].call(thisArg, value) : initializers[i].call(thisArg); + } + return useValue ? value : void 0; + };` +}; +var assignHelper = { + name: "typescript:assign", + importName: "__assign", + scoped: false, + priority: 1, + text: ` + var __assign = (this && this.__assign) || function () { + __assign = Object.assign || function(t) { + for (var s, i = 1, n = arguments.length; i < n; i++) { + s = arguments[i]; + for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) + t[p] = s[p]; + } + return t; + }; + return __assign.apply(this, arguments); + };` +}; +var awaitHelper = { + name: "typescript:await", + importName: "__await", + scoped: false, + text: ` + var __await = (this && this.__await) || function (v) { return this instanceof __await ? (this.v = v, this) : new __await(v); }` +}; +var asyncGeneratorHelper = { + name: "typescript:asyncGenerator", + importName: "__asyncGenerator", + scoped: false, + dependencies: [awaitHelper], + text: ` + var __asyncGenerator = (this && this.__asyncGenerator) || function (thisArg, _arguments, generator) { + if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined."); + var g = generator.apply(thisArg, _arguments || []), i, q = []; + return i = Object.create((typeof AsyncIterator === "function" ? AsyncIterator : Object).prototype), verb("next"), verb("throw"), verb("return", awaitReturn), i[Symbol.asyncIterator] = function () { return this; }, i; + function awaitReturn(f) { return function (v) { return Promise.resolve(v).then(f, reject); }; } + function verb(n, f) { if (g[n]) { i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; if (f) i[n] = f(i[n]); } } + function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } } + function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); } + function fulfill(value) { resume("next", value); } + function reject(value) { resume("throw", value); } + function settle(f, v) { if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]); } + };` +}; +var asyncDelegator = { + name: "typescript:asyncDelegator", + importName: "__asyncDelegator", + scoped: false, + dependencies: [awaitHelper], + text: ` + var __asyncDelegator = (this && this.__asyncDelegator) || function (o) { + var i, p; + return i = {}, verb("next"), verb("throw", function (e) { throw e; }), verb("return"), i[Symbol.iterator] = function () { return this; }, i; + function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: false } : f ? f(v) : v; } : f; } + };` +}; +var asyncValues = { + name: "typescript:asyncValues", + importName: "__asyncValues", + scoped: false, + text: ` + var __asyncValues = (this && this.__asyncValues) || function (o) { + if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined."); + var m = o[Symbol.asyncIterator], i; + 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); + 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); }); }; } + function settle(resolve, reject, d, v) { Promise.resolve(v).then(function(v) { resolve({ value: v, done: d }); }, reject); } + };` +}; +var restHelper = { + name: "typescript:rest", + importName: "__rest", + scoped: false, + text: ` + var __rest = (this && this.__rest) || function (s, e) { + var t = {}; + for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) + t[p] = s[p]; + if (s != null && typeof Object.getOwnPropertySymbols === "function") + for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) { + if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) + t[p[i]] = s[p[i]]; + } + return t; + };` +}; +var awaiterHelper = { + name: "typescript:awaiter", + importName: "__awaiter", + scoped: false, + priority: 5, + text: ` + var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) { + function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); } + return new (P || (P = Promise))(function (resolve, reject) { + function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } } + function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } } + function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); } + step((generator = generator.apply(thisArg, _arguments || [])).next()); + }); + };` +}; +var extendsHelper = { + name: "typescript:extends", + importName: "__extends", + scoped: false, + priority: 0, + text: ` + var __extends = (this && this.__extends) || (function () { + var extendStatics = function (d, b) { + extendStatics = Object.setPrototypeOf || + ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) || + function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; }; + return extendStatics(d, b); + }; + + return function (d, b) { + if (typeof b !== "function" && b !== null) + throw new TypeError("Class extends value " + String(b) + " is not a constructor or null"); + extendStatics(d, b); + function __() { this.constructor = d; } + d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); + }; + })();` +}; +var templateObjectHelper = { + name: "typescript:makeTemplateObject", + importName: "__makeTemplateObject", + scoped: false, + priority: 0, + text: ` + var __makeTemplateObject = (this && this.__makeTemplateObject) || function (cooked, raw) { + if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; } + return cooked; + };` +}; +var readHelper = { + name: "typescript:read", + importName: "__read", + scoped: false, + text: ` + var __read = (this && this.__read) || function (o, n) { + var m = typeof Symbol === "function" && o[Symbol.iterator]; + if (!m) return o; + var i = m.call(o), r, ar = [], e; + try { + while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value); + } + catch (error) { e = { error: error }; } + finally { + try { + if (r && !r.done && (m = i["return"])) m.call(i); + } + finally { if (e) throw e.error; } + } + return ar; + };` +}; +var spreadArrayHelper = { + name: "typescript:spreadArray", + importName: "__spreadArray", + scoped: false, + text: ` + var __spreadArray = (this && this.__spreadArray) || function (to, from, pack) { + if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) { + if (ar || !(i in from)) { + if (!ar) ar = Array.prototype.slice.call(from, 0, i); + ar[i] = from[i]; + } + } + return to.concat(ar || Array.prototype.slice.call(from)); + };` +}; +var propKeyHelper = { + name: "typescript:propKey", + importName: "__propKey", + scoped: false, + text: ` + var __propKey = (this && this.__propKey) || function (x) { + return typeof x === "symbol" ? x : "".concat(x); + };` +}; +var setFunctionNameHelper = { + name: "typescript:setFunctionName", + importName: "__setFunctionName", + scoped: false, + text: ` + var __setFunctionName = (this && this.__setFunctionName) || function (f, name, prefix) { + if (typeof name === "symbol") name = name.description ? "[".concat(name.description, "]") : ""; + return Object.defineProperty(f, "name", { configurable: true, value: prefix ? "".concat(prefix, " ", name) : name }); + };` +}; +var valuesHelper = { + name: "typescript:values", + importName: "__values", + scoped: false, + text: ` + var __values = (this && this.__values) || function(o) { + var s = typeof Symbol === "function" && Symbol.iterator, m = s && o[s], i = 0; + if (m) return m.call(o); + if (o && typeof o.length === "number") return { + next: function () { + if (o && i >= o.length) o = void 0; + return { value: o && o[i++], done: !o }; + } + }; + throw new TypeError(s ? "Object is not iterable." : "Symbol.iterator is not defined."); + };` +}; +var generatorHelper = { + name: "typescript:generator", + importName: "__generator", + scoped: false, + priority: 6, + text: ` + var __generator = (this && this.__generator) || function (thisArg, body) { + var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype); + return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g; + function verb(n) { return function (v) { return step([n, v]); }; } + function step(op) { + if (f) throw new TypeError("Generator is already executing."); + while (g && (g = 0, op[0] && (_ = 0)), _) try { + 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; + if (y = 0, t) op = [op[0] & 2, t.value]; + switch (op[0]) { + case 0: case 1: t = op; break; + case 4: _.label++; return { value: op[1], done: false }; + case 5: _.label++; y = op[1]; op = [0]; continue; + case 7: op = _.ops.pop(); _.trys.pop(); continue; + default: + if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; } + if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; } + if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; } + if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; } + if (t[2]) _.ops.pop(); + _.trys.pop(); continue; + } + op = body.call(thisArg, _); + } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; } + if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true }; + } + };` +}; +var createBindingHelper = { + name: "typescript:commonjscreatebinding", + importName: "__createBinding", + scoped: false, + priority: 1, + text: ` + var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); + }) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; + }));` +}; +var setModuleDefaultHelper = { + name: "typescript:commonjscreatevalue", + importName: "__setModuleDefault", + scoped: false, + priority: 1, + text: ` + var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); + }) : function(o, v) { + o["default"] = v; + });` +}; +var importStarHelper = { + name: "typescript:commonjsimportstar", + importName: "__importStar", + scoped: false, + dependencies: [createBindingHelper, setModuleDefaultHelper], + priority: 2, + text: ` + var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; + })();` +}; +var importDefaultHelper = { + name: "typescript:commonjsimportdefault", + importName: "__importDefault", + scoped: false, + text: ` + var __importDefault = (this && this.__importDefault) || function (mod) { + return (mod && mod.__esModule) ? mod : { "default": mod }; + };` +}; +var exportStarHelper = { + name: "typescript:export-star", + importName: "__exportStar", + scoped: false, + dependencies: [createBindingHelper], + priority: 2, + text: ` + var __exportStar = (this && this.__exportStar) || function(m, exports) { + for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p); + };` +}; +var classPrivateFieldGetHelper = { + name: "typescript:classPrivateFieldGet", + importName: "__classPrivateFieldGet", + scoped: false, + text: ` + var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (receiver, state, kind, f) { + if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a getter"); + 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"); + return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver); + };` +}; +var classPrivateFieldSetHelper = { + name: "typescript:classPrivateFieldSet", + importName: "__classPrivateFieldSet", + scoped: false, + text: ` + var __classPrivateFieldSet = (this && this.__classPrivateFieldSet) || function (receiver, state, value, kind, f) { + if (kind === "m") throw new TypeError("Private method is not writable"); + if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a setter"); + 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"); + return (kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value; + };` +}; +var classPrivateFieldInHelper = { + name: "typescript:classPrivateFieldIn", + importName: "__classPrivateFieldIn", + scoped: false, + text: ` + var __classPrivateFieldIn = (this && this.__classPrivateFieldIn) || function(state, receiver) { + if (receiver === null || (typeof receiver !== "object" && typeof receiver !== "function")) throw new TypeError("Cannot use 'in' operator on non-object"); + return typeof state === "function" ? receiver === state : state.has(receiver); + };` +}; +var addDisposableResourceHelper = { + name: "typescript:addDisposableResource", + importName: "__addDisposableResource", + scoped: false, + text: ` + var __addDisposableResource = (this && this.__addDisposableResource) || function (env, value, async) { + if (value !== null && value !== void 0) { + if (typeof value !== "object" && typeof value !== "function") throw new TypeError("Object expected."); + var dispose, inner; + if (async) { + if (!Symbol.asyncDispose) throw new TypeError("Symbol.asyncDispose is not defined."); + dispose = value[Symbol.asyncDispose]; + } + if (dispose === void 0) { + if (!Symbol.dispose) throw new TypeError("Symbol.dispose is not defined."); + dispose = value[Symbol.dispose]; + if (async) inner = dispose; + } + if (typeof dispose !== "function") throw new TypeError("Object not disposable."); + if (inner) dispose = function() { try { inner.call(this); } catch (e) { return Promise.reject(e); } }; + env.stack.push({ value: value, dispose: dispose, async: async }); + } + else if (async) { + env.stack.push({ async: true }); + } + return value; + };` +}; +var disposeResourcesHelper = { + name: "typescript:disposeResources", + importName: "__disposeResources", + scoped: false, + text: ` + var __disposeResources = (this && this.__disposeResources) || (function (SuppressedError) { + return function (env) { + function fail(e) { + env.error = env.hasError ? new SuppressedError(e, env.error, "An error was suppressed during disposal.") : e; + env.hasError = true; + } + var r, s = 0; + function next() { + while (r = env.stack.pop()) { + try { + if (!r.async && s === 1) return s = 0, env.stack.push(r), Promise.resolve().then(next); + if (r.dispose) { + var result = r.dispose.call(r.value); + if (r.async) return s |= 2, Promise.resolve(result).then(next, function(e) { fail(e); return next(); }); + } + else s |= 1; + } + catch (e) { + fail(e); + } + } + if (s === 1) return env.hasError ? Promise.reject(env.error) : Promise.resolve(); + if (env.hasError) throw env.error; + } + return next(); + }; + })(typeof SuppressedError === "function" ? SuppressedError : function (error, suppressed, message) { + var e = new Error(message); + return e.name = "SuppressedError", e.error = error, e.suppressed = suppressed, e; + });` +}; +var rewriteRelativeImportExtensionsHelper = { + name: "typescript:rewriteRelativeImportExtensions", + importName: "__rewriteRelativeImportExtension", + scoped: false, + text: ` + var __rewriteRelativeImportExtension = (this && this.__rewriteRelativeImportExtension) || function (path, preserveJsx) { + if (typeof path === "string" && /^\\.\\.?\\//.test(path)) { + return path.replace(/\\.(tsx)$|((?:\\.d)?)((?:\\.[^./]+?)?)\\.([cm]?)ts$/i, function (m, tsx, d, ext, cm) { + return tsx ? preserveJsx ? ".jsx" : ".js" : d && (!ext || !cm) ? m : (d + ext + "." + cm.toLowerCase() + "js"); + }); + } + return path; + };` +}; +var asyncSuperHelper = { + name: "typescript:async-super", + scoped: true, + text: helperString` + const ${"_superIndex"} = name => super[name];` +}; +var advancedAsyncSuperHelper = { + name: "typescript:advanced-async-super", + scoped: true, + text: helperString` + const ${"_superIndex"} = (function (geti, seti) { + const cache = Object.create(null); + return name => cache[name] || (cache[name] = { get value() { return geti(name); }, set value(v) { seti(name, v); } }); + })(name => super[name], (name, value) => super[name] = value);` +}; +function isCallToHelper(firstSegment, helperName) { + return isCallExpression(firstSegment) && isIdentifier(firstSegment.expression) && (getEmitFlags(firstSegment.expression) & 8192 /* HelperName */) !== 0 && firstSegment.expression.escapedText === helperName; +} + +// src/compiler/factory/nodeTests.ts +function isNumericLiteral(node) { + return node.kind === 9 /* NumericLiteral */; +} +function isBigIntLiteral(node) { + return node.kind === 10 /* BigIntLiteral */; +} +function isStringLiteral(node) { + return node.kind === 11 /* StringLiteral */; +} +function isJsxText(node) { + return node.kind === 12 /* JsxText */; +} +function isNoSubstitutionTemplateLiteral(node) { + return node.kind === 15 /* NoSubstitutionTemplateLiteral */; +} +function isTemplateHead(node) { + return node.kind === 16 /* TemplateHead */; +} +function isDotDotDotToken(node) { + return node.kind === 26 /* DotDotDotToken */; +} +function isCommaToken(node) { + return node.kind === 28 /* CommaToken */; +} +function isPlusToken(node) { + return node.kind === 40 /* PlusToken */; +} +function isMinusToken(node) { + return node.kind === 41 /* MinusToken */; +} +function isAsteriskToken(node) { + return node.kind === 42 /* AsteriskToken */; +} +function isExclamationToken(node) { + return node.kind === 54 /* ExclamationToken */; +} +function isQuestionToken(node) { + return node.kind === 58 /* QuestionToken */; +} +function isColonToken(node) { + return node.kind === 59 /* ColonToken */; +} +function isQuestionDotToken(node) { + return node.kind === 29 /* QuestionDotToken */; +} +function isEqualsGreaterThanToken(node) { + return node.kind === 39 /* EqualsGreaterThanToken */; +} +function isIdentifier(node) { + return node.kind === 80 /* Identifier */; +} +function isPrivateIdentifier(node) { + return node.kind === 81 /* PrivateIdentifier */; +} +function isExportModifier(node) { + return node.kind === 95 /* ExportKeyword */; +} +function isDefaultModifier(node) { + return node.kind === 90 /* DefaultKeyword */; +} +function isAsyncModifier(node) { + return node.kind === 134 /* AsyncKeyword */; +} +function isAssertsKeyword(node) { + return node.kind === 131 /* AssertsKeyword */; +} +function isAwaitKeyword(node) { + return node.kind === 135 /* AwaitKeyword */; +} +function isReadonlyKeyword(node) { + return node.kind === 148 /* ReadonlyKeyword */; +} +function isStaticModifier(node) { + return node.kind === 126 /* StaticKeyword */; +} +function isAccessorModifier(node) { + return node.kind === 129 /* AccessorKeyword */; +} +function isSuperKeyword(node) { + return node.kind === 108 /* SuperKeyword */; +} +function isImportKeyword(node) { + return node.kind === 102 /* ImportKeyword */; +} +function isQualifiedName(node) { + return node.kind === 166 /* QualifiedName */; +} +function isComputedPropertyName(node) { + return node.kind === 167 /* ComputedPropertyName */; +} +function isTypeParameterDeclaration(node) { + return node.kind === 168 /* TypeParameter */; +} +function isParameter(node) { + return node.kind === 169 /* Parameter */; +} +function isDecorator(node) { + return node.kind === 170 /* Decorator */; +} +function isPropertySignature(node) { + return node.kind === 171 /* PropertySignature */; +} +function isPropertyDeclaration(node) { + return node.kind === 172 /* PropertyDeclaration */; +} +function isMethodSignature(node) { + return node.kind === 173 /* MethodSignature */; +} +function isMethodDeclaration(node) { + return node.kind === 174 /* MethodDeclaration */; +} +function isClassStaticBlockDeclaration(node) { + return node.kind === 175 /* ClassStaticBlockDeclaration */; +} +function isConstructorDeclaration(node) { + return node.kind === 176 /* Constructor */; +} +function isGetAccessorDeclaration(node) { + return node.kind === 177 /* GetAccessor */; +} +function isSetAccessorDeclaration(node) { + return node.kind === 178 /* SetAccessor */; +} +function isCallSignatureDeclaration(node) { + return node.kind === 179 /* CallSignature */; +} +function isConstructSignatureDeclaration(node) { + return node.kind === 180 /* ConstructSignature */; +} +function isIndexSignatureDeclaration(node) { + return node.kind === 181 /* IndexSignature */; +} +function isTypePredicateNode(node) { + return node.kind === 182 /* TypePredicate */; +} +function isTypeReferenceNode(node) { + return node.kind === 183 /* TypeReference */; +} +function isFunctionTypeNode(node) { + return node.kind === 184 /* FunctionType */; +} +function isConstructorTypeNode(node) { + return node.kind === 185 /* ConstructorType */; +} +function isTypeQueryNode(node) { + return node.kind === 186 /* TypeQuery */; +} +function isTypeLiteralNode(node) { + return node.kind === 187 /* TypeLiteral */; +} +function isArrayTypeNode(node) { + return node.kind === 188 /* ArrayType */; +} +function isTupleTypeNode(node) { + return node.kind === 189 /* TupleType */; +} +function isNamedTupleMember(node) { + return node.kind === 202 /* NamedTupleMember */; +} +function isOptionalTypeNode(node) { + return node.kind === 190 /* OptionalType */; +} +function isRestTypeNode(node) { + return node.kind === 191 /* RestType */; +} +function isUnionTypeNode(node) { + return node.kind === 192 /* UnionType */; +} +function isIntersectionTypeNode(node) { + return node.kind === 193 /* IntersectionType */; +} +function isConditionalTypeNode(node) { + return node.kind === 194 /* ConditionalType */; +} +function isInferTypeNode(node) { + return node.kind === 195 /* InferType */; +} +function isParenthesizedTypeNode(node) { + return node.kind === 196 /* ParenthesizedType */; +} +function isThisTypeNode(node) { + return node.kind === 197 /* ThisType */; +} +function isTypeOperatorNode(node) { + return node.kind === 198 /* TypeOperator */; +} +function isIndexedAccessTypeNode(node) { + return node.kind === 199 /* IndexedAccessType */; +} +function isMappedTypeNode(node) { + return node.kind === 200 /* MappedType */; +} +function isLiteralTypeNode(node) { + return node.kind === 201 /* LiteralType */; +} +function isImportTypeNode(node) { + return node.kind === 205 /* ImportType */; +} +function isTemplateLiteralTypeSpan(node) { + return node.kind === 204 /* TemplateLiteralTypeSpan */; +} +function isObjectBindingPattern(node) { + return node.kind === 206 /* ObjectBindingPattern */; +} +function isArrayBindingPattern(node) { + return node.kind === 207 /* ArrayBindingPattern */; +} +function isBindingElement(node) { + return node.kind === 208 /* BindingElement */; +} +function isArrayLiteralExpression(node) { + return node.kind === 209 /* ArrayLiteralExpression */; +} +function isObjectLiteralExpression(node) { + return node.kind === 210 /* ObjectLiteralExpression */; +} +function isPropertyAccessExpression(node) { + return node.kind === 211 /* PropertyAccessExpression */; +} +function isElementAccessExpression(node) { + return node.kind === 212 /* ElementAccessExpression */; +} +function isCallExpression(node) { + return node.kind === 213 /* CallExpression */; +} +function isNewExpression(node) { + return node.kind === 214 /* NewExpression */; +} +function isTaggedTemplateExpression(node) { + return node.kind === 215 /* TaggedTemplateExpression */; +} +function isTypeAssertionExpression(node) { + return node.kind === 216 /* TypeAssertionExpression */; +} +function isParenthesizedExpression(node) { + return node.kind === 217 /* ParenthesizedExpression */; +} +function isFunctionExpression(node) { + return node.kind === 218 /* FunctionExpression */; +} +function isArrowFunction(node) { + return node.kind === 219 /* ArrowFunction */; +} +function isTypeOfExpression(node) { + return node.kind === 221 /* TypeOfExpression */; +} +function isVoidExpression(node) { + return node.kind === 222 /* VoidExpression */; +} +function isAwaitExpression(node) { + return node.kind === 223 /* AwaitExpression */; +} +function isPrefixUnaryExpression(node) { + return node.kind === 224 /* PrefixUnaryExpression */; +} +function isPostfixUnaryExpression(node) { + return node.kind === 225 /* PostfixUnaryExpression */; +} +function isBinaryExpression(node) { + return node.kind === 226 /* BinaryExpression */; +} +function isConditionalExpression(node) { + return node.kind === 227 /* ConditionalExpression */; +} +function isSpreadElement(node) { + return node.kind === 230 /* SpreadElement */; +} +function isClassExpression(node) { + return node.kind === 231 /* ClassExpression */; +} +function isOmittedExpression(node) { + return node.kind === 232 /* OmittedExpression */; +} +function isExpressionWithTypeArguments(node) { + return node.kind === 233 /* ExpressionWithTypeArguments */; +} +function isAsExpression(node) { + return node.kind === 234 /* AsExpression */; +} +function isSatisfiesExpression(node) { + return node.kind === 238 /* SatisfiesExpression */; +} +function isNonNullExpression(node) { + return node.kind === 235 /* NonNullExpression */; +} +function isMetaProperty(node) { + return node.kind === 236 /* MetaProperty */; +} +function isPartiallyEmittedExpression(node) { + return node.kind === 355 /* PartiallyEmittedExpression */; +} +function isCommaListExpression(node) { + return node.kind === 356 /* CommaListExpression */; +} +function isTemplateSpan(node) { + return node.kind === 239 /* TemplateSpan */; +} +function isSemicolonClassElement(node) { + return node.kind === 240 /* SemicolonClassElement */; +} +function isBlock(node) { + return node.kind === 241 /* Block */; +} +function isVariableStatement(node) { + return node.kind === 243 /* VariableStatement */; +} +function isEmptyStatement(node) { + return node.kind === 242 /* EmptyStatement */; +} +function isExpressionStatement(node) { + return node.kind === 244 /* ExpressionStatement */; +} +function isIfStatement(node) { + return node.kind === 245 /* IfStatement */; +} +function isForStatement(node) { + return node.kind === 248 /* ForStatement */; +} +function isForInStatement(node) { + return node.kind === 249 /* ForInStatement */; +} +function isForOfStatement(node) { + return node.kind === 250 /* ForOfStatement */; +} +function isReturnStatement(node) { + return node.kind === 253 /* ReturnStatement */; +} +function isWithStatement(node) { + return node.kind === 254 /* WithStatement */; +} +function isSwitchStatement(node) { + return node.kind === 255 /* SwitchStatement */; +} +function isLabeledStatement(node) { + return node.kind === 256 /* LabeledStatement */; +} +function isTryStatement(node) { + return node.kind === 258 /* TryStatement */; +} +function isVariableDeclaration(node) { + return node.kind === 260 /* VariableDeclaration */; +} +function isVariableDeclarationList(node) { + return node.kind === 261 /* VariableDeclarationList */; +} +function isFunctionDeclaration(node) { + return node.kind === 262 /* FunctionDeclaration */; +} +function isClassDeclaration(node) { + return node.kind === 263 /* ClassDeclaration */; +} +function isInterfaceDeclaration(node) { + return node.kind === 264 /* InterfaceDeclaration */; +} +function isTypeAliasDeclaration(node) { + return node.kind === 265 /* TypeAliasDeclaration */; +} +function isEnumDeclaration(node) { + return node.kind === 266 /* EnumDeclaration */; +} +function isModuleDeclaration(node) { + return node.kind === 267 /* ModuleDeclaration */; +} +function isModuleBlock(node) { + return node.kind === 268 /* ModuleBlock */; +} +function isCaseBlock(node) { + return node.kind === 269 /* CaseBlock */; +} +function isNamespaceExportDeclaration(node) { + return node.kind === 270 /* NamespaceExportDeclaration */; +} +function isImportEqualsDeclaration(node) { + return node.kind === 271 /* ImportEqualsDeclaration */; +} +function isImportDeclaration(node) { + return node.kind === 272 /* ImportDeclaration */; +} +function isImportClause(node) { + return node.kind === 273 /* ImportClause */; +} +function isAssertClause(node) { + return node.kind === 300 /* AssertClause */; +} +function isImportAttributes(node) { + return node.kind === 300 /* ImportAttributes */; +} +function isImportAttribute(node) { + return node.kind === 301 /* ImportAttribute */; +} +function isNamespaceImport(node) { + return node.kind === 274 /* NamespaceImport */; +} +function isNamespaceExport(node) { + return node.kind === 280 /* NamespaceExport */; +} +function isNamedImports(node) { + return node.kind === 275 /* NamedImports */; +} +function isImportSpecifier(node) { + return node.kind === 276 /* ImportSpecifier */; +} +function isExportAssignment(node) { + return node.kind === 277 /* ExportAssignment */; +} +function isExportDeclaration(node) { + return node.kind === 278 /* ExportDeclaration */; +} +function isNamedExports(node) { + return node.kind === 279 /* NamedExports */; +} +function isExportSpecifier(node) { + return node.kind === 281 /* ExportSpecifier */; +} +function isModuleExportName(node) { + return node.kind === 80 /* Identifier */ || node.kind === 11 /* StringLiteral */; +} +function isNotEmittedStatement(node) { + return node.kind === 353 /* NotEmittedStatement */; +} +function isSyntheticReference(node) { + return node.kind === 357 /* SyntheticReferenceExpression */; +} +function isExternalModuleReference(node) { + return node.kind === 283 /* ExternalModuleReference */; +} +function isJsxElement(node) { + return node.kind === 284 /* JsxElement */; +} +function isJsxSelfClosingElement(node) { + return node.kind === 285 /* JsxSelfClosingElement */; +} +function isJsxOpeningElement(node) { + return node.kind === 286 /* JsxOpeningElement */; +} +function isJsxClosingElement(node) { + return node.kind === 287 /* JsxClosingElement */; +} +function isJsxFragment(node) { + return node.kind === 288 /* JsxFragment */; +} +function isJsxOpeningFragment(node) { + return node.kind === 289 /* JsxOpeningFragment */; +} +function isJsxClosingFragment(node) { + return node.kind === 290 /* JsxClosingFragment */; +} +function isJsxAttribute(node) { + return node.kind === 291 /* JsxAttribute */; +} +function isJsxAttributes(node) { + return node.kind === 292 /* JsxAttributes */; +} +function isJsxSpreadAttribute(node) { + return node.kind === 293 /* JsxSpreadAttribute */; +} +function isJsxExpression(node) { + return node.kind === 294 /* JsxExpression */; +} +function isJsxNamespacedName(node) { + return node.kind === 295 /* JsxNamespacedName */; +} +function isCaseClause(node) { + return node.kind === 296 /* CaseClause */; +} +function isDefaultClause(node) { + return node.kind === 297 /* DefaultClause */; +} +function isHeritageClause(node) { + return node.kind === 298 /* HeritageClause */; +} +function isCatchClause(node) { + return node.kind === 299 /* CatchClause */; +} +function isPropertyAssignment(node) { + return node.kind === 303 /* PropertyAssignment */; +} +function isShorthandPropertyAssignment(node) { + return node.kind === 304 /* ShorthandPropertyAssignment */; +} +function isSpreadAssignment(node) { + return node.kind === 305 /* SpreadAssignment */; +} +function isEnumMember(node) { + return node.kind === 306 /* EnumMember */; +} +function isSourceFile(node) { + return node.kind === 307 /* SourceFile */; +} +function isBundle(node) { + return node.kind === 308 /* Bundle */; +} +function isJSDocTypeExpression(node) { + return node.kind === 309 /* JSDocTypeExpression */; +} +function isJSDocNameReference(node) { + return node.kind === 310 /* JSDocNameReference */; +} +function isJSDocMemberName(node) { + return node.kind === 311 /* JSDocMemberName */; +} +function isJSDocAllType(node) { + return node.kind === 312 /* JSDocAllType */; +} +function isJSDocUnknownType(node) { + return node.kind === 313 /* JSDocUnknownType */; +} +function isJSDocNullableType(node) { + return node.kind === 314 /* JSDocNullableType */; +} +function isJSDocNonNullableType(node) { + return node.kind === 315 /* JSDocNonNullableType */; +} +function isJSDocOptionalType(node) { + return node.kind === 316 /* JSDocOptionalType */; +} +function isJSDocFunctionType(node) { + return node.kind === 317 /* JSDocFunctionType */; +} +function isJSDocVariadicType(node) { + return node.kind === 318 /* JSDocVariadicType */; +} +function isJSDoc(node) { + return node.kind === 320 /* JSDoc */; +} +function isJSDocTypeLiteral(node) { + return node.kind === 322 /* JSDocTypeLiteral */; +} +function isJSDocSignature(node) { + return node.kind === 323 /* JSDocSignature */; +} +function isJSDocAugmentsTag(node) { + return node.kind === 328 /* JSDocAugmentsTag */; +} +function isJSDocClassTag(node) { + return node.kind === 332 /* JSDocClassTag */; +} +function isJSDocCallbackTag(node) { + return node.kind === 338 /* JSDocCallbackTag */; +} +function isJSDocPublicTag(node) { + return node.kind === 333 /* JSDocPublicTag */; +} +function isJSDocPrivateTag(node) { + return node.kind === 334 /* JSDocPrivateTag */; +} +function isJSDocProtectedTag(node) { + return node.kind === 335 /* JSDocProtectedTag */; +} +function isJSDocReadonlyTag(node) { + return node.kind === 336 /* JSDocReadonlyTag */; +} +function isJSDocOverrideTag(node) { + return node.kind === 337 /* JSDocOverrideTag */; +} +function isJSDocOverloadTag(node) { + return node.kind === 339 /* JSDocOverloadTag */; +} +function isJSDocDeprecatedTag(node) { + return node.kind === 331 /* JSDocDeprecatedTag */; +} +function isJSDocEnumTag(node) { + return node.kind === 340 /* JSDocEnumTag */; +} +function isJSDocParameterTag(node) { + return node.kind === 341 /* JSDocParameterTag */; +} +function isJSDocReturnTag(node) { + return node.kind === 342 /* JSDocReturnTag */; +} +function isJSDocThisTag(node) { + return node.kind === 343 /* JSDocThisTag */; +} +function isJSDocTypeTag(node) { + return node.kind === 344 /* JSDocTypeTag */; +} +function isJSDocTemplateTag(node) { + return node.kind === 345 /* JSDocTemplateTag */; +} +function isJSDocTypedefTag(node) { + return node.kind === 346 /* JSDocTypedefTag */; +} +function isJSDocPropertyTag(node) { + return node.kind === 348 /* JSDocPropertyTag */; +} +function isJSDocImplementsTag(node) { + return node.kind === 329 /* JSDocImplementsTag */; +} +function isJSDocSatisfiesTag(node) { + return node.kind === 350 /* JSDocSatisfiesTag */; +} +function isJSDocImportTag(node) { + return node.kind === 351 /* JSDocImportTag */; +} + +// src/compiler/factory/nodeChildren.ts +var sourceFileToNodeChildren = /* @__PURE__ */ new WeakMap(); +function getNodeChildren(node, sourceFile) { + var _a; + const kind = node.kind; + if (!isNodeKind(kind)) { + return emptyArray; + } + if (kind === 352 /* SyntaxList */) { + return node._children; + } + return (_a = sourceFileToNodeChildren.get(sourceFile)) == null ? void 0 : _a.get(node); +} +function unsetNodeChildren(node, origSourceFile) { + var _a; + if (node.kind === 352 /* SyntaxList */) { + Debug.fail("Did not expect to unset the children of a SyntaxList."); + } + (_a = sourceFileToNodeChildren.get(origSourceFile)) == null ? void 0 : _a.delete(node); +} +function transferSourceFileChildren(sourceFile, targetSourceFile) { + const map2 = sourceFileToNodeChildren.get(sourceFile); + if (map2 !== void 0) { + sourceFileToNodeChildren.delete(sourceFile); + sourceFileToNodeChildren.set(targetSourceFile, map2); + } +} + +// src/compiler/factory/utilities.ts +function createEmptyExports(factory2) { + return factory2.createExportDeclaration( + /*modifiers*/ + void 0, + /*isTypeOnly*/ + false, + factory2.createNamedExports([]), + /*moduleSpecifier*/ + void 0 + ); +} +function createMemberAccessForPropertyName(factory2, target, memberName, location) { + if (isComputedPropertyName(memberName)) { + return setTextRange(factory2.createElementAccessExpression(target, memberName.expression), location); + } else { + const expression = setTextRange( + isMemberName(memberName) ? factory2.createPropertyAccessExpression(target, memberName) : factory2.createElementAccessExpression(target, memberName), + memberName + ); + addEmitFlags(expression, 128 /* NoNestedSourceMaps */); + return expression; + } +} +function createReactNamespace(reactNamespace, parent) { + const react = parseNodeFactory.createIdentifier(reactNamespace || "React"); + setParent(react, getParseTreeNode(parent)); + return react; +} +function createJsxFactoryExpressionFromEntityName(factory2, jsxFactory, parent) { + if (isQualifiedName(jsxFactory)) { + const left = createJsxFactoryExpressionFromEntityName(factory2, jsxFactory.left, parent); + const right = factory2.createIdentifier(idText(jsxFactory.right)); + right.escapedText = jsxFactory.right.escapedText; + return factory2.createPropertyAccessExpression(left, right); + } else { + return createReactNamespace(idText(jsxFactory), parent); + } +} +function createJsxFactoryExpression(factory2, jsxFactoryEntity, reactNamespace, parent) { + return jsxFactoryEntity ? createJsxFactoryExpressionFromEntityName(factory2, jsxFactoryEntity, parent) : factory2.createPropertyAccessExpression( + createReactNamespace(reactNamespace, parent), + "createElement" + ); +} +function createJsxFragmentFactoryExpression(factory2, jsxFragmentFactoryEntity, reactNamespace, parent) { + return jsxFragmentFactoryEntity ? createJsxFactoryExpressionFromEntityName(factory2, jsxFragmentFactoryEntity, parent) : factory2.createPropertyAccessExpression( + createReactNamespace(reactNamespace, parent), + "Fragment" + ); +} +function createExpressionForJsxElement(factory2, callee, tagName, props, children, location) { + const argumentsList = [tagName]; + if (props) { + argumentsList.push(props); + } + if (children && children.length > 0) { + if (!props) { + argumentsList.push(factory2.createNull()); + } + if (children.length > 1) { + for (const child of children) { + startOnNewLine(child); + argumentsList.push(child); + } + } else { + argumentsList.push(children[0]); + } + } + return setTextRange( + factory2.createCallExpression( + callee, + /*typeArguments*/ + void 0, + argumentsList + ), + location + ); +} +function createExpressionForJsxFragment(factory2, jsxFactoryEntity, jsxFragmentFactoryEntity, reactNamespace, children, parentElement, location) { + const tagName = createJsxFragmentFactoryExpression(factory2, jsxFragmentFactoryEntity, reactNamespace, parentElement); + const argumentsList = [tagName, factory2.createNull()]; + if (children && children.length > 0) { + if (children.length > 1) { + for (const child of children) { + startOnNewLine(child); + argumentsList.push(child); + } + } else { + argumentsList.push(children[0]); + } + } + return setTextRange( + factory2.createCallExpression( + createJsxFactoryExpression(factory2, jsxFactoryEntity, reactNamespace, parentElement), + /*typeArguments*/ + void 0, + argumentsList + ), + location + ); +} +function createForOfBindingStatement(factory2, node, boundValue) { + if (isVariableDeclarationList(node)) { + const firstDeclaration = first(node.declarations); + const updatedDeclaration = factory2.updateVariableDeclaration( + firstDeclaration, + firstDeclaration.name, + /*exclamationToken*/ + void 0, + /*type*/ + void 0, + boundValue + ); + return setTextRange( + factory2.createVariableStatement( + /*modifiers*/ + void 0, + factory2.updateVariableDeclarationList(node, [updatedDeclaration]) + ), + /*location*/ + node + ); + } else { + const updatedExpression = setTextRange( + factory2.createAssignment(node, boundValue), + /*location*/ + node + ); + return setTextRange( + factory2.createExpressionStatement(updatedExpression), + /*location*/ + node + ); + } +} +function createExpressionFromEntityName(factory2, node) { + if (isQualifiedName(node)) { + const left = createExpressionFromEntityName(factory2, node.left); + const right = setParent(setTextRange(factory2.cloneNode(node.right), node.right), node.right.parent); + return setTextRange(factory2.createPropertyAccessExpression(left, right), node); + } else { + return setParent(setTextRange(factory2.cloneNode(node), node), node.parent); + } +} +function createExpressionForPropertyName(factory2, memberName) { + if (isIdentifier(memberName)) { + return factory2.createStringLiteralFromNode(memberName); + } else if (isComputedPropertyName(memberName)) { + return setParent(setTextRange(factory2.cloneNode(memberName.expression), memberName.expression), memberName.expression.parent); + } else { + return setParent(setTextRange(factory2.cloneNode(memberName), memberName), memberName.parent); + } +} +function createExpressionForAccessorDeclaration(factory2, properties, property, receiver, multiLine) { + const { firstAccessor, getAccessor, setAccessor } = getAllAccessorDeclarations(properties, property); + if (property === firstAccessor) { + return setTextRange( + factory2.createObjectDefinePropertyCall( + receiver, + createExpressionForPropertyName(factory2, property.name), + factory2.createPropertyDescriptor({ + enumerable: factory2.createFalse(), + configurable: true, + get: getAccessor && setTextRange( + setOriginalNode( + factory2.createFunctionExpression( + getModifiers(getAccessor), + /*asteriskToken*/ + void 0, + /*name*/ + void 0, + /*typeParameters*/ + void 0, + getAccessor.parameters, + /*type*/ + void 0, + getAccessor.body + // TODO: GH#18217 + ), + getAccessor + ), + getAccessor + ), + set: setAccessor && setTextRange( + setOriginalNode( + factory2.createFunctionExpression( + getModifiers(setAccessor), + /*asteriskToken*/ + void 0, + /*name*/ + void 0, + /*typeParameters*/ + void 0, + setAccessor.parameters, + /*type*/ + void 0, + setAccessor.body + // TODO: GH#18217 + ), + setAccessor + ), + setAccessor + ) + }, !multiLine) + ), + firstAccessor + ); + } + return void 0; +} +function createExpressionForPropertyAssignment(factory2, property, receiver) { + return setOriginalNode( + setTextRange( + factory2.createAssignment( + createMemberAccessForPropertyName( + factory2, + receiver, + property.name, + /*location*/ + property.name + ), + property.initializer + ), + property + ), + property + ); +} +function createExpressionForShorthandPropertyAssignment(factory2, property, receiver) { + return setOriginalNode( + setTextRange( + factory2.createAssignment( + createMemberAccessForPropertyName( + factory2, + receiver, + property.name, + /*location*/ + property.name + ), + factory2.cloneNode(property.name) + ), + /*location*/ + property + ), + /*original*/ + property + ); +} +function createExpressionForMethodDeclaration(factory2, method, receiver) { + return setOriginalNode( + setTextRange( + factory2.createAssignment( + createMemberAccessForPropertyName( + factory2, + receiver, + method.name, + /*location*/ + method.name + ), + setOriginalNode( + setTextRange( + factory2.createFunctionExpression( + getModifiers(method), + method.asteriskToken, + /*name*/ + void 0, + /*typeParameters*/ + void 0, + method.parameters, + /*type*/ + void 0, + method.body + // TODO: GH#18217 + ), + /*location*/ + method + ), + /*original*/ + method + ) + ), + /*location*/ + method + ), + /*original*/ + method + ); +} +function createExpressionForObjectLiteralElementLike(factory2, node, property, receiver) { + if (property.name && isPrivateIdentifier(property.name)) { + Debug.failBadSyntaxKind(property.name, "Private identifiers are not allowed in object literals."); + } + switch (property.kind) { + case 177 /* GetAccessor */: + case 178 /* SetAccessor */: + return createExpressionForAccessorDeclaration(factory2, node.properties, property, receiver, !!node.multiLine); + case 303 /* PropertyAssignment */: + return createExpressionForPropertyAssignment(factory2, property, receiver); + case 304 /* ShorthandPropertyAssignment */: + return createExpressionForShorthandPropertyAssignment(factory2, property, receiver); + case 174 /* MethodDeclaration */: + return createExpressionForMethodDeclaration(factory2, property, receiver); + } +} +function expandPreOrPostfixIncrementOrDecrementExpression(factory2, node, expression, recordTempVariable, resultVariable) { + const operator = node.operator; + Debug.assert(operator === 46 /* PlusPlusToken */ || operator === 47 /* MinusMinusToken */, "Expected 'node' to be a pre- or post-increment or pre- or post-decrement expression"); + const temp = factory2.createTempVariable(recordTempVariable); + expression = factory2.createAssignment(temp, expression); + setTextRange(expression, node.operand); + let operation = isPrefixUnaryExpression(node) ? factory2.createPrefixUnaryExpression(operator, temp) : factory2.createPostfixUnaryExpression(temp, operator); + setTextRange(operation, node); + if (resultVariable) { + operation = factory2.createAssignment(resultVariable, operation); + setTextRange(operation, node); + } + expression = factory2.createComma(expression, operation); + setTextRange(expression, node); + if (isPostfixUnaryExpression(node)) { + expression = factory2.createComma(expression, temp); + setTextRange(expression, node); + } + return expression; +} +function isInternalName(node) { + return (getEmitFlags(node) & 65536 /* InternalName */) !== 0; +} +function isLocalName(node) { + return (getEmitFlags(node) & 32768 /* LocalName */) !== 0; +} +function isExportName(node) { + return (getEmitFlags(node) & 16384 /* ExportName */) !== 0; +} +function isUseStrictPrologue(node) { + return isStringLiteral(node.expression) && node.expression.text === "use strict"; +} +function findUseStrictPrologue(statements) { + for (const statement of statements) { + if (isPrologueDirective(statement)) { + if (isUseStrictPrologue(statement)) { + return statement; + } + } else { + break; + } + } + return void 0; +} +function startsWithUseStrict(statements) { + const firstStatement = firstOrUndefined(statements); + return firstStatement !== void 0 && isPrologueDirective(firstStatement) && isUseStrictPrologue(firstStatement); +} +function isCommaExpression(node) { + return node.kind === 226 /* BinaryExpression */ && node.operatorToken.kind === 28 /* CommaToken */; +} +function isCommaSequence(node) { + return isCommaExpression(node) || isCommaListExpression(node); +} +function isJSDocTypeAssertion(node) { + return isParenthesizedExpression(node) && isInJSFile(node) && !!getJSDocTypeTag(node); +} +function getJSDocTypeAssertionType(node) { + const type = getJSDocType(node); + Debug.assertIsDefined(type); + return type; +} +function isOuterExpression(node, kinds = 31 /* All */) { + switch (node.kind) { + case 217 /* ParenthesizedExpression */: + if (kinds & -2147483648 /* ExcludeJSDocTypeAssertion */ && isJSDocTypeAssertion(node)) { + return false; + } + return (kinds & 1 /* Parentheses */) !== 0; + case 216 /* TypeAssertionExpression */: + case 234 /* AsExpression */: + case 238 /* SatisfiesExpression */: + return (kinds & 2 /* TypeAssertions */) !== 0; + case 233 /* ExpressionWithTypeArguments */: + return (kinds & 16 /* ExpressionsWithTypeArguments */) !== 0; + case 235 /* NonNullExpression */: + return (kinds & 4 /* NonNullAssertions */) !== 0; + case 355 /* PartiallyEmittedExpression */: + return (kinds & 8 /* PartiallyEmittedExpressions */) !== 0; + } + return false; +} +function skipOuterExpressions(node, kinds = 31 /* All */) { + while (isOuterExpression(node, kinds)) { + node = node.expression; + } + return node; +} +function walkUpOuterExpressions(node, kinds = 31 /* All */) { + let parent = node.parent; + while (isOuterExpression(parent, kinds)) { + parent = parent.parent; + Debug.assert(parent); + } + return parent; +} +function startOnNewLine(node) { + return setStartsOnNewLine( + node, + /*newLine*/ + true + ); +} +function getExternalHelpersModuleName(node) { + const parseNode = getOriginalNode(node, isSourceFile); + const emitNode = parseNode && parseNode.emitNode; + return emitNode && emitNode.externalHelpersModuleName; +} +function hasRecordedExternalHelpers(sourceFile) { + const parseNode = getOriginalNode(sourceFile, isSourceFile); + const emitNode = parseNode && parseNode.emitNode; + return !!emitNode && (!!emitNode.externalHelpersModuleName || !!emitNode.externalHelpers); +} +function createExternalHelpersImportDeclarationIfNeeded(nodeFactory, helperFactory, sourceFile, compilerOptions, hasExportStarsToExportValues, hasImportStar, hasImportDefault) { + if (compilerOptions.importHelpers && isEffectiveExternalModule(sourceFile, compilerOptions)) { + const moduleKind = getEmitModuleKind(compilerOptions); + const impliedModuleKind = getImpliedNodeFormatForEmitWorker(sourceFile, compilerOptions); + const helpers = getImportedHelpers(sourceFile); + if (moduleKind >= 5 /* ES2015 */ && moduleKind <= 99 /* ESNext */ || impliedModuleKind === 99 /* ESNext */ || impliedModuleKind === void 0 && moduleKind === 200 /* Preserve */) { + if (helpers) { + const helperNames = []; + for (const helper of helpers) { + const importName = helper.importName; + if (importName) { + pushIfUnique(helperNames, importName); + } + } + if (some(helperNames)) { + helperNames.sort(compareStringsCaseSensitive); + const namedBindings = nodeFactory.createNamedImports( + map(helperNames, (name) => isFileLevelUniqueName(sourceFile, name) ? nodeFactory.createImportSpecifier( + /*isTypeOnly*/ + false, + /*propertyName*/ + void 0, + nodeFactory.createIdentifier(name) + ) : nodeFactory.createImportSpecifier( + /*isTypeOnly*/ + false, + nodeFactory.createIdentifier(name), + helperFactory.getUnscopedHelperName(name) + )) + ); + const parseNode = getOriginalNode(sourceFile, isSourceFile); + const emitNode = getOrCreateEmitNode(parseNode); + emitNode.externalHelpers = true; + const externalHelpersImportDeclaration = nodeFactory.createImportDeclaration( + /*modifiers*/ + void 0, + nodeFactory.createImportClause( + /*isTypeOnly*/ + false, + /*name*/ + void 0, + namedBindings + ), + nodeFactory.createStringLiteral(externalHelpersModuleNameText), + /*attributes*/ + void 0 + ); + addInternalEmitFlags(externalHelpersImportDeclaration, 2 /* NeverApplyImportHelper */); + return externalHelpersImportDeclaration; + } + } + } else { + const externalHelpersModuleName = getOrCreateExternalHelpersModuleNameIfNeeded(nodeFactory, sourceFile, compilerOptions, helpers, hasExportStarsToExportValues, hasImportStar || hasImportDefault); + if (externalHelpersModuleName) { + const externalHelpersImportDeclaration = nodeFactory.createImportEqualsDeclaration( + /*modifiers*/ + void 0, + /*isTypeOnly*/ + false, + externalHelpersModuleName, + nodeFactory.createExternalModuleReference(nodeFactory.createStringLiteral(externalHelpersModuleNameText)) + ); + addInternalEmitFlags(externalHelpersImportDeclaration, 2 /* NeverApplyImportHelper */); + return externalHelpersImportDeclaration; + } + } + } +} +function getImportedHelpers(sourceFile) { + return filter(getEmitHelpers(sourceFile), (helper) => !helper.scoped); +} +function getOrCreateExternalHelpersModuleNameIfNeeded(factory2, node, compilerOptions, helpers, hasExportStarsToExportValues, hasImportStarOrImportDefault) { + const externalHelpersModuleName = getExternalHelpersModuleName(node); + if (externalHelpersModuleName) { + return externalHelpersModuleName; + } + const create = some(helpers) || (hasExportStarsToExportValues || getESModuleInterop(compilerOptions) && hasImportStarOrImportDefault) && getEmitModuleFormatOfFileWorker(node, compilerOptions) < 4 /* System */; + if (create) { + const parseNode = getOriginalNode(node, isSourceFile); + const emitNode = getOrCreateEmitNode(parseNode); + return emitNode.externalHelpersModuleName || (emitNode.externalHelpersModuleName = factory2.createUniqueName(externalHelpersModuleNameText)); + } +} +function getLocalNameForExternalImport(factory2, node, sourceFile) { + const namespaceDeclaration = getNamespaceDeclarationNode(node); + if (namespaceDeclaration && !isDefaultImport(node) && !isExportNamespaceAsDefaultDeclaration(node)) { + const name = namespaceDeclaration.name; + if (name.kind === 11 /* StringLiteral */) { + return factory2.getGeneratedNameForNode(node); + } + return isGeneratedIdentifier(name) ? name : factory2.createIdentifier(getSourceTextOfNodeFromSourceFile(sourceFile, name) || idText(name)); + } + if (node.kind === 272 /* ImportDeclaration */ && node.importClause) { + return factory2.getGeneratedNameForNode(node); + } + if (node.kind === 278 /* ExportDeclaration */ && node.moduleSpecifier) { + return factory2.getGeneratedNameForNode(node); + } + return void 0; +} +function getExternalModuleNameLiteral(factory2, importNode, sourceFile, host, resolver, compilerOptions) { + const moduleName = getExternalModuleName(importNode); + if (moduleName && isStringLiteral(moduleName)) { + return tryGetModuleNameFromDeclaration(importNode, host, factory2, resolver, compilerOptions) || tryRenameExternalModule(factory2, moduleName, sourceFile) || factory2.cloneNode(moduleName); + } + return void 0; +} +function tryRenameExternalModule(factory2, moduleName, sourceFile) { + const rename = sourceFile.renamedDependencies && sourceFile.renamedDependencies.get(moduleName.text); + return rename ? factory2.createStringLiteral(rename) : void 0; +} +function tryGetModuleNameFromFile(factory2, file, host, options) { + if (!file) { + return void 0; + } + if (file.moduleName) { + return factory2.createStringLiteral(file.moduleName); + } + if (!file.isDeclarationFile && options.outFile) { + return factory2.createStringLiteral(getExternalModuleNameFromPath(host, file.fileName)); + } + return void 0; +} +function tryGetModuleNameFromDeclaration(declaration, host, factory2, resolver, compilerOptions) { + return tryGetModuleNameFromFile(factory2, resolver.getExternalModuleFileFromDeclaration(declaration), host, compilerOptions); +} +function getInitializerOfBindingOrAssignmentElement(bindingElement) { + if (isDeclarationBindingElement(bindingElement)) { + return bindingElement.initializer; + } + if (isPropertyAssignment(bindingElement)) { + const initializer = bindingElement.initializer; + return isAssignmentExpression( + initializer, + /*excludeCompoundAssignment*/ + true + ) ? initializer.right : void 0; + } + if (isShorthandPropertyAssignment(bindingElement)) { + return bindingElement.objectAssignmentInitializer; + } + if (isAssignmentExpression( + bindingElement, + /*excludeCompoundAssignment*/ + true + )) { + return bindingElement.right; + } + if (isSpreadElement(bindingElement)) { + return getInitializerOfBindingOrAssignmentElement(bindingElement.expression); + } +} +function getTargetOfBindingOrAssignmentElement(bindingElement) { + if (isDeclarationBindingElement(bindingElement)) { + return bindingElement.name; + } + if (isObjectLiteralElementLike(bindingElement)) { + switch (bindingElement.kind) { + case 303 /* PropertyAssignment */: + return getTargetOfBindingOrAssignmentElement(bindingElement.initializer); + case 304 /* ShorthandPropertyAssignment */: + return bindingElement.name; + case 305 /* SpreadAssignment */: + return getTargetOfBindingOrAssignmentElement(bindingElement.expression); + } + return void 0; + } + if (isAssignmentExpression( + bindingElement, + /*excludeCompoundAssignment*/ + true + )) { + return getTargetOfBindingOrAssignmentElement(bindingElement.left); + } + if (isSpreadElement(bindingElement)) { + return getTargetOfBindingOrAssignmentElement(bindingElement.expression); + } + return bindingElement; +} +function getRestIndicatorOfBindingOrAssignmentElement(bindingElement) { + switch (bindingElement.kind) { + case 169 /* Parameter */: + case 208 /* BindingElement */: + return bindingElement.dotDotDotToken; + case 230 /* SpreadElement */: + case 305 /* SpreadAssignment */: + return bindingElement; + } + return void 0; +} +function getPropertyNameOfBindingOrAssignmentElement(bindingElement) { + const propertyName = tryGetPropertyNameOfBindingOrAssignmentElement(bindingElement); + Debug.assert(!!propertyName || isSpreadAssignment(bindingElement), "Invalid property name for binding element."); + return propertyName; +} +function tryGetPropertyNameOfBindingOrAssignmentElement(bindingElement) { + switch (bindingElement.kind) { + case 208 /* BindingElement */: + if (bindingElement.propertyName) { + const propertyName = bindingElement.propertyName; + if (isPrivateIdentifier(propertyName)) { + return Debug.failBadSyntaxKind(propertyName); + } + return isComputedPropertyName(propertyName) && isStringOrNumericLiteral(propertyName.expression) ? propertyName.expression : propertyName; + } + break; + case 303 /* PropertyAssignment */: + if (bindingElement.name) { + const propertyName = bindingElement.name; + if (isPrivateIdentifier(propertyName)) { + return Debug.failBadSyntaxKind(propertyName); + } + return isComputedPropertyName(propertyName) && isStringOrNumericLiteral(propertyName.expression) ? propertyName.expression : propertyName; + } + break; + case 305 /* SpreadAssignment */: + if (bindingElement.name && isPrivateIdentifier(bindingElement.name)) { + return Debug.failBadSyntaxKind(bindingElement.name); + } + return bindingElement.name; + } + const target = getTargetOfBindingOrAssignmentElement(bindingElement); + if (target && isPropertyName(target)) { + return target; + } +} +function isStringOrNumericLiteral(node) { + const kind = node.kind; + return kind === 11 /* StringLiteral */ || kind === 9 /* NumericLiteral */; +} +function getElementsOfBindingOrAssignmentPattern(name) { + switch (name.kind) { + case 206 /* ObjectBindingPattern */: + case 207 /* ArrayBindingPattern */: + case 209 /* ArrayLiteralExpression */: + return name.elements; + case 210 /* ObjectLiteralExpression */: + return name.properties; + } +} +function getJSDocTypeAliasName(fullName) { + if (fullName) { + let rightNode = fullName; + while (true) { + if (isIdentifier(rightNode) || !rightNode.body) { + return isIdentifier(rightNode) ? rightNode : rightNode.name; + } + rightNode = rightNode.body; + } + } +} +function canHaveIllegalTypeParameters(node) { + const kind = node.kind; + return kind === 176 /* Constructor */ || kind === 177 /* GetAccessor */ || kind === 178 /* SetAccessor */; +} +function canHaveIllegalDecorators(node) { + const kind = node.kind; + return kind === 303 /* PropertyAssignment */ || kind === 304 /* ShorthandPropertyAssignment */ || kind === 262 /* FunctionDeclaration */ || kind === 176 /* Constructor */ || kind === 181 /* IndexSignature */ || kind === 175 /* ClassStaticBlockDeclaration */ || kind === 282 /* MissingDeclaration */ || kind === 243 /* VariableStatement */ || kind === 264 /* InterfaceDeclaration */ || kind === 265 /* TypeAliasDeclaration */ || kind === 266 /* EnumDeclaration */ || kind === 267 /* ModuleDeclaration */ || kind === 271 /* ImportEqualsDeclaration */ || kind === 272 /* ImportDeclaration */ || kind === 270 /* NamespaceExportDeclaration */ || kind === 278 /* ExportDeclaration */ || kind === 277 /* ExportAssignment */; +} +function canHaveIllegalModifiers(node) { + const kind = node.kind; + return kind === 175 /* ClassStaticBlockDeclaration */ || kind === 303 /* PropertyAssignment */ || kind === 304 /* ShorthandPropertyAssignment */ || kind === 282 /* MissingDeclaration */ || kind === 270 /* NamespaceExportDeclaration */; +} +function isQuestionOrExclamationToken(node) { + return isQuestionToken(node) || isExclamationToken(node); +} +function isIdentifierOrThisTypeNode(node) { + return isIdentifier(node) || isThisTypeNode(node); +} +function isReadonlyKeywordOrPlusOrMinusToken(node) { + return isReadonlyKeyword(node) || isPlusToken(node) || isMinusToken(node); +} +function isQuestionOrPlusOrMinusToken(node) { + return isQuestionToken(node) || isPlusToken(node) || isMinusToken(node); +} +function isModuleName(node) { + return isIdentifier(node) || isStringLiteral(node); +} +function isExponentiationOperator(kind) { + return kind === 43 /* AsteriskAsteriskToken */; +} +function isMultiplicativeOperator(kind) { + return kind === 42 /* AsteriskToken */ || kind === 44 /* SlashToken */ || kind === 45 /* PercentToken */; +} +function isMultiplicativeOperatorOrHigher(kind) { + return isExponentiationOperator(kind) || isMultiplicativeOperator(kind); +} +function isAdditiveOperator(kind) { + return kind === 40 /* PlusToken */ || kind === 41 /* MinusToken */; +} +function isAdditiveOperatorOrHigher(kind) { + return isAdditiveOperator(kind) || isMultiplicativeOperatorOrHigher(kind); +} +function isShiftOperator(kind) { + return kind === 48 /* LessThanLessThanToken */ || kind === 49 /* GreaterThanGreaterThanToken */ || kind === 50 /* GreaterThanGreaterThanGreaterThanToken */; +} +function isShiftOperatorOrHigher(kind) { + return isShiftOperator(kind) || isAdditiveOperatorOrHigher(kind); +} +function isRelationalOperator(kind) { + return kind === 30 /* LessThanToken */ || kind === 33 /* LessThanEqualsToken */ || kind === 32 /* GreaterThanToken */ || kind === 34 /* GreaterThanEqualsToken */ || kind === 104 /* InstanceOfKeyword */ || kind === 103 /* InKeyword */; +} +function isRelationalOperatorOrHigher(kind) { + return isRelationalOperator(kind) || isShiftOperatorOrHigher(kind); +} +function isEqualityOperator(kind) { + return kind === 35 /* EqualsEqualsToken */ || kind === 37 /* EqualsEqualsEqualsToken */ || kind === 36 /* ExclamationEqualsToken */ || kind === 38 /* ExclamationEqualsEqualsToken */; +} +function isEqualityOperatorOrHigher(kind) { + return isEqualityOperator(kind) || isRelationalOperatorOrHigher(kind); +} +function isBitwiseOperator(kind) { + return kind === 51 /* AmpersandToken */ || kind === 52 /* BarToken */ || kind === 53 /* CaretToken */; +} +function isBitwiseOperatorOrHigher(kind) { + return isBitwiseOperator(kind) || isEqualityOperatorOrHigher(kind); +} +function isLogicalOperator2(kind) { + return kind === 56 /* AmpersandAmpersandToken */ || kind === 57 /* BarBarToken */; +} +function isLogicalOperatorOrHigher(kind) { + return isLogicalOperator2(kind) || isBitwiseOperatorOrHigher(kind); +} +function isAssignmentOperatorOrHigher(kind) { + return kind === 61 /* QuestionQuestionToken */ || isLogicalOperatorOrHigher(kind) || isAssignmentOperator(kind); +} +function isBinaryOperator(kind) { + return isAssignmentOperatorOrHigher(kind) || kind === 28 /* CommaToken */; +} +function isBinaryOperatorToken(node) { + return isBinaryOperator(node.kind); +} +var BinaryExpressionState; +((BinaryExpressionState2) => { + function enter(machine, stackIndex, stateStack, nodeStack, userStateStack, _resultHolder, outerState) { + const prevUserState = stackIndex > 0 ? userStateStack[stackIndex - 1] : void 0; + Debug.assertEqual(stateStack[stackIndex], enter); + userStateStack[stackIndex] = machine.onEnter(nodeStack[stackIndex], prevUserState, outerState); + stateStack[stackIndex] = nextState(machine, enter); + return stackIndex; + } + BinaryExpressionState2.enter = enter; + function left(machine, stackIndex, stateStack, nodeStack, userStateStack, _resultHolder, _outerState) { + Debug.assertEqual(stateStack[stackIndex], left); + Debug.assertIsDefined(machine.onLeft); + stateStack[stackIndex] = nextState(machine, left); + const nextNode = machine.onLeft(nodeStack[stackIndex].left, userStateStack[stackIndex], nodeStack[stackIndex]); + if (nextNode) { + checkCircularity(stackIndex, nodeStack, nextNode); + return pushStack(stackIndex, stateStack, nodeStack, userStateStack, nextNode); + } + return stackIndex; + } + BinaryExpressionState2.left = left; + function operator(machine, stackIndex, stateStack, nodeStack, userStateStack, _resultHolder, _outerState) { + Debug.assertEqual(stateStack[stackIndex], operator); + Debug.assertIsDefined(machine.onOperator); + stateStack[stackIndex] = nextState(machine, operator); + machine.onOperator(nodeStack[stackIndex].operatorToken, userStateStack[stackIndex], nodeStack[stackIndex]); + return stackIndex; + } + BinaryExpressionState2.operator = operator; + function right(machine, stackIndex, stateStack, nodeStack, userStateStack, _resultHolder, _outerState) { + Debug.assertEqual(stateStack[stackIndex], right); + Debug.assertIsDefined(machine.onRight); + stateStack[stackIndex] = nextState(machine, right); + const nextNode = machine.onRight(nodeStack[stackIndex].right, userStateStack[stackIndex], nodeStack[stackIndex]); + if (nextNode) { + checkCircularity(stackIndex, nodeStack, nextNode); + return pushStack(stackIndex, stateStack, nodeStack, userStateStack, nextNode); + } + return stackIndex; + } + BinaryExpressionState2.right = right; + function exit(machine, stackIndex, stateStack, nodeStack, userStateStack, resultHolder, _outerState) { + Debug.assertEqual(stateStack[stackIndex], exit); + stateStack[stackIndex] = nextState(machine, exit); + const result = machine.onExit(nodeStack[stackIndex], userStateStack[stackIndex]); + if (stackIndex > 0) { + stackIndex--; + if (machine.foldState) { + const side = stateStack[stackIndex] === exit ? "right" : "left"; + userStateStack[stackIndex] = machine.foldState(userStateStack[stackIndex], result, side); + } + } else { + resultHolder.value = result; + } + return stackIndex; + } + BinaryExpressionState2.exit = exit; + function done(_machine, stackIndex, stateStack, _nodeStack, _userStateStack, _resultHolder, _outerState) { + Debug.assertEqual(stateStack[stackIndex], done); + return stackIndex; + } + BinaryExpressionState2.done = done; + function nextState(machine, currentState) { + switch (currentState) { + case enter: + if (machine.onLeft) return left; + // falls through + case left: + if (machine.onOperator) return operator; + // falls through + case operator: + if (machine.onRight) return right; + // falls through + case right: + return exit; + case exit: + return done; + case done: + return done; + default: + Debug.fail("Invalid state"); + } + } + BinaryExpressionState2.nextState = nextState; + function pushStack(stackIndex, stateStack, nodeStack, userStateStack, node) { + stackIndex++; + stateStack[stackIndex] = enter; + nodeStack[stackIndex] = node; + userStateStack[stackIndex] = void 0; + return stackIndex; + } + function checkCircularity(stackIndex, nodeStack, node) { + if (Debug.shouldAssert(2 /* Aggressive */)) { + while (stackIndex >= 0) { + Debug.assert(nodeStack[stackIndex] !== node, "Circular traversal detected."); + stackIndex--; + } + } + } +})(BinaryExpressionState || (BinaryExpressionState = {})); +var BinaryExpressionStateMachine = class { + constructor(onEnter, onLeft, onOperator, onRight, onExit, foldState) { + this.onEnter = onEnter; + this.onLeft = onLeft; + this.onOperator = onOperator; + this.onRight = onRight; + this.onExit = onExit; + this.foldState = foldState; + } +}; +function createBinaryExpressionTrampoline(onEnter, onLeft, onOperator, onRight, onExit, foldState) { + const machine = new BinaryExpressionStateMachine(onEnter, onLeft, onOperator, onRight, onExit, foldState); + return trampoline; + function trampoline(node, outerState) { + const resultHolder = { value: void 0 }; + const stateStack = [BinaryExpressionState.enter]; + const nodeStack = [node]; + const userStateStack = [void 0]; + let stackIndex = 0; + while (stateStack[stackIndex] !== BinaryExpressionState.done) { + stackIndex = stateStack[stackIndex](machine, stackIndex, stateStack, nodeStack, userStateStack, resultHolder, outerState); + } + Debug.assertEqual(stackIndex, 0); + return resultHolder.value; + } +} +function isExportOrDefaultKeywordKind(kind) { + return kind === 95 /* ExportKeyword */ || kind === 90 /* DefaultKeyword */; +} +function isExportOrDefaultModifier(node) { + const kind = node.kind; + return isExportOrDefaultKeywordKind(kind); +} +function elideNodes(factory2, nodes) { + if (nodes === void 0) return void 0; + if (nodes.length === 0) return nodes; + return setTextRange(factory2.createNodeArray([], nodes.hasTrailingComma), nodes); +} +function getNodeForGeneratedName(name) { + var _a; + const autoGenerate = name.emitNode.autoGenerate; + if (autoGenerate.flags & 4 /* Node */) { + const autoGenerateId = autoGenerate.id; + let node = name; + let original = node.original; + while (original) { + node = original; + const autoGenerate2 = (_a = node.emitNode) == null ? void 0 : _a.autoGenerate; + if (isMemberName(node) && (autoGenerate2 === void 0 || !!(autoGenerate2.flags & 4 /* Node */) && autoGenerate2.id !== autoGenerateId)) { + break; + } + original = node.original; + } + return node; + } + return name; +} +function formatGeneratedNamePart(part, generateName) { + return typeof part === "object" ? formatGeneratedName( + /*privateName*/ + false, + part.prefix, + part.node, + part.suffix, + generateName + ) : typeof part === "string" ? part.length > 0 && part.charCodeAt(0) === 35 /* hash */ ? part.slice(1) : part : ""; +} +function formatIdentifier(name, generateName) { + return typeof name === "string" ? name : formatIdentifierWorker(name, Debug.checkDefined(generateName)); +} +function formatIdentifierWorker(node, generateName) { + return isGeneratedPrivateIdentifier(node) ? generateName(node).slice(1) : isGeneratedIdentifier(node) ? generateName(node) : isPrivateIdentifier(node) ? node.escapedText.slice(1) : idText(node); +} +function formatGeneratedName(privateName, prefix, baseName, suffix, generateName) { + prefix = formatGeneratedNamePart(prefix, generateName); + suffix = formatGeneratedNamePart(suffix, generateName); + baseName = formatIdentifier(baseName, generateName); + return `${privateName ? "#" : ""}${prefix}${baseName}${suffix}`; +} +function createAccessorPropertyBackingField(factory2, node, modifiers, initializer) { + return factory2.updatePropertyDeclaration( + node, + modifiers, + factory2.getGeneratedPrivateNameForNode( + node.name, + /*prefix*/ + void 0, + "_accessor_storage" + ), + /*questionOrExclamationToken*/ + void 0, + /*type*/ + void 0, + initializer + ); +} +function createAccessorPropertyGetRedirector(factory2, node, modifiers, name, receiver = factory2.createThis()) { + return factory2.createGetAccessorDeclaration( + modifiers, + name, + [], + /*type*/ + void 0, + factory2.createBlock([ + factory2.createReturnStatement( + factory2.createPropertyAccessExpression( + receiver, + factory2.getGeneratedPrivateNameForNode( + node.name, + /*prefix*/ + void 0, + "_accessor_storage" + ) + ) + ) + ]) + ); +} +function createAccessorPropertySetRedirector(factory2, node, modifiers, name, receiver = factory2.createThis()) { + return factory2.createSetAccessorDeclaration( + modifiers, + name, + [factory2.createParameterDeclaration( + /*modifiers*/ + void 0, + /*dotDotDotToken*/ + void 0, + "value" + )], + factory2.createBlock([ + factory2.createExpressionStatement( + factory2.createAssignment( + factory2.createPropertyAccessExpression( + receiver, + factory2.getGeneratedPrivateNameForNode( + node.name, + /*prefix*/ + void 0, + "_accessor_storage" + ) + ), + factory2.createIdentifier("value") + ) + ) + ]) + ); +} +function findComputedPropertyNameCacheAssignment(name) { + let node = name.expression; + while (true) { + node = skipOuterExpressions(node); + if (isCommaListExpression(node)) { + node = last(node.elements); + continue; + } + if (isCommaExpression(node)) { + node = node.right; + continue; + } + if (isAssignmentExpression( + node, + /*excludeCompoundAssignment*/ + true + ) && isGeneratedIdentifier(node.left)) { + return node; + } + break; + } +} +function isSyntheticParenthesizedExpression(node) { + return isParenthesizedExpression(node) && nodeIsSynthesized(node) && !node.emitNode; +} +function flattenCommaListWorker(node, expressions) { + if (isSyntheticParenthesizedExpression(node)) { + flattenCommaListWorker(node.expression, expressions); + } else if (isCommaExpression(node)) { + flattenCommaListWorker(node.left, expressions); + flattenCommaListWorker(node.right, expressions); + } else if (isCommaListExpression(node)) { + for (const child of node.elements) { + flattenCommaListWorker(child, expressions); + } + } else { + expressions.push(node); + } +} +function flattenCommaList(node) { + const expressions = []; + flattenCommaListWorker(node, expressions); + return expressions; +} +function containsObjectRestOrSpread(node) { + if (node.transformFlags & 65536 /* ContainsObjectRestOrSpread */) return true; + if (node.transformFlags & 128 /* ContainsES2018 */) { + for (const element of getElementsOfBindingOrAssignmentPattern(node)) { + const target = getTargetOfBindingOrAssignmentElement(element); + if (target && isAssignmentPattern(target)) { + if (target.transformFlags & 65536 /* ContainsObjectRestOrSpread */) { + return true; + } + if (target.transformFlags & 128 /* ContainsES2018 */) { + if (containsObjectRestOrSpread(target)) return true; + } + } + } + } + return false; +} + +// src/compiler/factory/utilitiesPublic.ts +function setTextRange(range, location) { + return location ? setTextRangePosEnd(range, location.pos, location.end) : range; +} +function canHaveModifiers(node) { + const kind = node.kind; + return kind === 168 /* TypeParameter */ || kind === 169 /* Parameter */ || kind === 171 /* PropertySignature */ || kind === 172 /* PropertyDeclaration */ || kind === 173 /* MethodSignature */ || kind === 174 /* MethodDeclaration */ || kind === 176 /* Constructor */ || kind === 177 /* GetAccessor */ || kind === 178 /* SetAccessor */ || kind === 181 /* IndexSignature */ || kind === 185 /* ConstructorType */ || kind === 218 /* FunctionExpression */ || kind === 219 /* ArrowFunction */ || kind === 231 /* ClassExpression */ || kind === 243 /* VariableStatement */ || kind === 262 /* FunctionDeclaration */ || kind === 263 /* ClassDeclaration */ || kind === 264 /* InterfaceDeclaration */ || kind === 265 /* TypeAliasDeclaration */ || kind === 266 /* EnumDeclaration */ || kind === 267 /* ModuleDeclaration */ || kind === 271 /* ImportEqualsDeclaration */ || kind === 272 /* ImportDeclaration */ || kind === 277 /* ExportAssignment */ || kind === 278 /* ExportDeclaration */; +} +function canHaveDecorators(node) { + const kind = node.kind; + return kind === 169 /* Parameter */ || kind === 172 /* PropertyDeclaration */ || kind === 174 /* MethodDeclaration */ || kind === 177 /* GetAccessor */ || kind === 178 /* SetAccessor */ || kind === 231 /* ClassExpression */ || kind === 263 /* ClassDeclaration */; +} + +// src/compiler/parser.ts +var NodeConstructor; +var TokenConstructor; +var IdentifierConstructor; +var PrivateIdentifierConstructor; +var SourceFileConstructor; +var parseBaseNodeFactory = { + createBaseSourceFileNode: (kind) => new (SourceFileConstructor || (SourceFileConstructor = objectAllocator.getSourceFileConstructor()))(kind, -1, -1), + createBaseIdentifierNode: (kind) => new (IdentifierConstructor || (IdentifierConstructor = objectAllocator.getIdentifierConstructor()))(kind, -1, -1), + createBasePrivateIdentifierNode: (kind) => new (PrivateIdentifierConstructor || (PrivateIdentifierConstructor = objectAllocator.getPrivateIdentifierConstructor()))(kind, -1, -1), + createBaseTokenNode: (kind) => new (TokenConstructor || (TokenConstructor = objectAllocator.getTokenConstructor()))(kind, -1, -1), + createBaseNode: (kind) => new (NodeConstructor || (NodeConstructor = objectAllocator.getNodeConstructor()))(kind, -1, -1) +}; +var parseNodeFactory = createNodeFactory(1 /* NoParenthesizerRules */, parseBaseNodeFactory); +function visitNode2(cbNode, node) { + return node && cbNode(node); +} +function visitNodes(cbNode, cbNodes, nodes) { + if (nodes) { + if (cbNodes) { + return cbNodes(nodes); + } + for (const node of nodes) { + const result = cbNode(node); + if (result) { + return result; + } + } + } +} +function isJSDocLikeText(text, start) { + return text.charCodeAt(start + 1) === 42 /* asterisk */ && text.charCodeAt(start + 2) === 42 /* asterisk */ && text.charCodeAt(start + 3) !== 47 /* slash */; +} +function isFileProbablyExternalModule(sourceFile) { + return forEach(sourceFile.statements, isAnExternalModuleIndicatorNode) || getImportMetaIfNecessary(sourceFile); +} +function isAnExternalModuleIndicatorNode(node) { + return canHaveModifiers(node) && hasModifierOfKind(node, 95 /* ExportKeyword */) || isImportEqualsDeclaration(node) && isExternalModuleReference(node.moduleReference) || isImportDeclaration(node) || isExportAssignment(node) || isExportDeclaration(node) ? node : void 0; +} +function getImportMetaIfNecessary(sourceFile) { + return sourceFile.flags & 8388608 /* PossiblyContainsImportMeta */ ? walkTreeForImportMeta(sourceFile) : void 0; +} +function walkTreeForImportMeta(node) { + return isImportMeta2(node) ? node : forEachChild(node, walkTreeForImportMeta); +} +function hasModifierOfKind(node, kind) { + return some(node.modifiers, (m) => m.kind === kind); +} +function isImportMeta2(node) { + return isMetaProperty(node) && node.keywordToken === 102 /* ImportKeyword */ && node.name.escapedText === "meta"; +} +var forEachChildTable = { + [166 /* QualifiedName */]: function forEachChildInQualifiedName(node, cbNode, _cbNodes) { + return visitNode2(cbNode, node.left) || visitNode2(cbNode, node.right); + }, + [168 /* TypeParameter */]: function forEachChildInTypeParameter(node, cbNode, cbNodes) { + return visitNodes(cbNode, cbNodes, node.modifiers) || visitNode2(cbNode, node.name) || visitNode2(cbNode, node.constraint) || visitNode2(cbNode, node.default) || visitNode2(cbNode, node.expression); + }, + [304 /* ShorthandPropertyAssignment */]: function forEachChildInShorthandPropertyAssignment(node, cbNode, cbNodes) { + return visitNodes(cbNode, cbNodes, node.modifiers) || visitNode2(cbNode, node.name) || visitNode2(cbNode, node.questionToken) || visitNode2(cbNode, node.exclamationToken) || visitNode2(cbNode, node.equalsToken) || visitNode2(cbNode, node.objectAssignmentInitializer); + }, + [305 /* SpreadAssignment */]: function forEachChildInSpreadAssignment(node, cbNode, _cbNodes) { + return visitNode2(cbNode, node.expression); + }, + [169 /* Parameter */]: function forEachChildInParameter(node, cbNode, cbNodes) { + return visitNodes(cbNode, cbNodes, node.modifiers) || visitNode2(cbNode, node.dotDotDotToken) || visitNode2(cbNode, node.name) || visitNode2(cbNode, node.questionToken) || visitNode2(cbNode, node.type) || visitNode2(cbNode, node.initializer); + }, + [172 /* PropertyDeclaration */]: function forEachChildInPropertyDeclaration(node, cbNode, cbNodes) { + return visitNodes(cbNode, cbNodes, node.modifiers) || visitNode2(cbNode, node.name) || visitNode2(cbNode, node.questionToken) || visitNode2(cbNode, node.exclamationToken) || visitNode2(cbNode, node.type) || visitNode2(cbNode, node.initializer); + }, + [171 /* PropertySignature */]: function forEachChildInPropertySignature(node, cbNode, cbNodes) { + return visitNodes(cbNode, cbNodes, node.modifiers) || visitNode2(cbNode, node.name) || visitNode2(cbNode, node.questionToken) || visitNode2(cbNode, node.type) || visitNode2(cbNode, node.initializer); + }, + [303 /* PropertyAssignment */]: function forEachChildInPropertyAssignment(node, cbNode, cbNodes) { + return visitNodes(cbNode, cbNodes, node.modifiers) || visitNode2(cbNode, node.name) || visitNode2(cbNode, node.questionToken) || visitNode2(cbNode, node.exclamationToken) || visitNode2(cbNode, node.initializer); + }, + [260 /* VariableDeclaration */]: function forEachChildInVariableDeclaration(node, cbNode, _cbNodes) { + return visitNode2(cbNode, node.name) || visitNode2(cbNode, node.exclamationToken) || visitNode2(cbNode, node.type) || visitNode2(cbNode, node.initializer); + }, + [208 /* BindingElement */]: function forEachChildInBindingElement(node, cbNode, _cbNodes) { + return visitNode2(cbNode, node.dotDotDotToken) || visitNode2(cbNode, node.propertyName) || visitNode2(cbNode, node.name) || visitNode2(cbNode, node.initializer); + }, + [181 /* IndexSignature */]: function forEachChildInIndexSignature(node, cbNode, cbNodes) { + return visitNodes(cbNode, cbNodes, node.modifiers) || visitNodes(cbNode, cbNodes, node.typeParameters) || visitNodes(cbNode, cbNodes, node.parameters) || visitNode2(cbNode, node.type); + }, + [185 /* ConstructorType */]: function forEachChildInConstructorType(node, cbNode, cbNodes) { + return visitNodes(cbNode, cbNodes, node.modifiers) || visitNodes(cbNode, cbNodes, node.typeParameters) || visitNodes(cbNode, cbNodes, node.parameters) || visitNode2(cbNode, node.type); + }, + [184 /* FunctionType */]: function forEachChildInFunctionType(node, cbNode, cbNodes) { + return visitNodes(cbNode, cbNodes, node.modifiers) || visitNodes(cbNode, cbNodes, node.typeParameters) || visitNodes(cbNode, cbNodes, node.parameters) || visitNode2(cbNode, node.type); + }, + [179 /* CallSignature */]: forEachChildInCallOrConstructSignature, + [180 /* ConstructSignature */]: forEachChildInCallOrConstructSignature, + [174 /* MethodDeclaration */]: function forEachChildInMethodDeclaration(node, cbNode, cbNodes) { + return visitNodes(cbNode, cbNodes, node.modifiers) || visitNode2(cbNode, node.asteriskToken) || visitNode2(cbNode, node.name) || visitNode2(cbNode, node.questionToken) || visitNode2(cbNode, node.exclamationToken) || visitNodes(cbNode, cbNodes, node.typeParameters) || visitNodes(cbNode, cbNodes, node.parameters) || visitNode2(cbNode, node.type) || visitNode2(cbNode, node.body); + }, + [173 /* MethodSignature */]: function forEachChildInMethodSignature(node, cbNode, cbNodes) { + return visitNodes(cbNode, cbNodes, node.modifiers) || visitNode2(cbNode, node.name) || visitNode2(cbNode, node.questionToken) || visitNodes(cbNode, cbNodes, node.typeParameters) || visitNodes(cbNode, cbNodes, node.parameters) || visitNode2(cbNode, node.type); + }, + [176 /* Constructor */]: function forEachChildInConstructor(node, cbNode, cbNodes) { + return visitNodes(cbNode, cbNodes, node.modifiers) || visitNode2(cbNode, node.name) || visitNodes(cbNode, cbNodes, node.typeParameters) || visitNodes(cbNode, cbNodes, node.parameters) || visitNode2(cbNode, node.type) || visitNode2(cbNode, node.body); + }, + [177 /* GetAccessor */]: function forEachChildInGetAccessor(node, cbNode, cbNodes) { + return visitNodes(cbNode, cbNodes, node.modifiers) || visitNode2(cbNode, node.name) || visitNodes(cbNode, cbNodes, node.typeParameters) || visitNodes(cbNode, cbNodes, node.parameters) || visitNode2(cbNode, node.type) || visitNode2(cbNode, node.body); + }, + [178 /* SetAccessor */]: function forEachChildInSetAccessor(node, cbNode, cbNodes) { + return visitNodes(cbNode, cbNodes, node.modifiers) || visitNode2(cbNode, node.name) || visitNodes(cbNode, cbNodes, node.typeParameters) || visitNodes(cbNode, cbNodes, node.parameters) || visitNode2(cbNode, node.type) || visitNode2(cbNode, node.body); + }, + [262 /* FunctionDeclaration */]: function forEachChildInFunctionDeclaration(node, cbNode, cbNodes) { + return visitNodes(cbNode, cbNodes, node.modifiers) || visitNode2(cbNode, node.asteriskToken) || visitNode2(cbNode, node.name) || visitNodes(cbNode, cbNodes, node.typeParameters) || visitNodes(cbNode, cbNodes, node.parameters) || visitNode2(cbNode, node.type) || visitNode2(cbNode, node.body); + }, + [218 /* FunctionExpression */]: function forEachChildInFunctionExpression(node, cbNode, cbNodes) { + return visitNodes(cbNode, cbNodes, node.modifiers) || visitNode2(cbNode, node.asteriskToken) || visitNode2(cbNode, node.name) || visitNodes(cbNode, cbNodes, node.typeParameters) || visitNodes(cbNode, cbNodes, node.parameters) || visitNode2(cbNode, node.type) || visitNode2(cbNode, node.body); + }, + [219 /* ArrowFunction */]: function forEachChildInArrowFunction(node, cbNode, cbNodes) { + return visitNodes(cbNode, cbNodes, node.modifiers) || visitNodes(cbNode, cbNodes, node.typeParameters) || visitNodes(cbNode, cbNodes, node.parameters) || visitNode2(cbNode, node.type) || visitNode2(cbNode, node.equalsGreaterThanToken) || visitNode2(cbNode, node.body); + }, + [175 /* ClassStaticBlockDeclaration */]: function forEachChildInClassStaticBlockDeclaration(node, cbNode, cbNodes) { + return visitNodes(cbNode, cbNodes, node.modifiers) || visitNode2(cbNode, node.body); + }, + [183 /* TypeReference */]: function forEachChildInTypeReference(node, cbNode, cbNodes) { + return visitNode2(cbNode, node.typeName) || visitNodes(cbNode, cbNodes, node.typeArguments); + }, + [182 /* TypePredicate */]: function forEachChildInTypePredicate(node, cbNode, _cbNodes) { + return visitNode2(cbNode, node.assertsModifier) || visitNode2(cbNode, node.parameterName) || visitNode2(cbNode, node.type); + }, + [186 /* TypeQuery */]: function forEachChildInTypeQuery(node, cbNode, cbNodes) { + return visitNode2(cbNode, node.exprName) || visitNodes(cbNode, cbNodes, node.typeArguments); + }, + [187 /* TypeLiteral */]: function forEachChildInTypeLiteral(node, cbNode, cbNodes) { + return visitNodes(cbNode, cbNodes, node.members); + }, + [188 /* ArrayType */]: function forEachChildInArrayType(node, cbNode, _cbNodes) { + return visitNode2(cbNode, node.elementType); + }, + [189 /* TupleType */]: function forEachChildInTupleType(node, cbNode, cbNodes) { + return visitNodes(cbNode, cbNodes, node.elements); + }, + [192 /* UnionType */]: forEachChildInUnionOrIntersectionType, + [193 /* IntersectionType */]: forEachChildInUnionOrIntersectionType, + [194 /* ConditionalType */]: function forEachChildInConditionalType(node, cbNode, _cbNodes) { + return visitNode2(cbNode, node.checkType) || visitNode2(cbNode, node.extendsType) || visitNode2(cbNode, node.trueType) || visitNode2(cbNode, node.falseType); + }, + [195 /* InferType */]: function forEachChildInInferType(node, cbNode, _cbNodes) { + return visitNode2(cbNode, node.typeParameter); + }, + [205 /* ImportType */]: function forEachChildInImportType(node, cbNode, cbNodes) { + return visitNode2(cbNode, node.argument) || visitNode2(cbNode, node.attributes) || visitNode2(cbNode, node.qualifier) || visitNodes(cbNode, cbNodes, node.typeArguments); + }, + [302 /* ImportTypeAssertionContainer */]: function forEachChildInImportTypeAssertionContainer(node, cbNode, _cbNodes) { + return visitNode2(cbNode, node.assertClause); + }, + [196 /* ParenthesizedType */]: forEachChildInParenthesizedTypeOrTypeOperator, + [198 /* TypeOperator */]: forEachChildInParenthesizedTypeOrTypeOperator, + [199 /* IndexedAccessType */]: function forEachChildInIndexedAccessType(node, cbNode, _cbNodes) { + return visitNode2(cbNode, node.objectType) || visitNode2(cbNode, node.indexType); + }, + [200 /* MappedType */]: function forEachChildInMappedType(node, cbNode, cbNodes) { + return visitNode2(cbNode, node.readonlyToken) || visitNode2(cbNode, node.typeParameter) || visitNode2(cbNode, node.nameType) || visitNode2(cbNode, node.questionToken) || visitNode2(cbNode, node.type) || visitNodes(cbNode, cbNodes, node.members); + }, + [201 /* LiteralType */]: function forEachChildInLiteralType(node, cbNode, _cbNodes) { + return visitNode2(cbNode, node.literal); + }, + [202 /* NamedTupleMember */]: function forEachChildInNamedTupleMember(node, cbNode, _cbNodes) { + return visitNode2(cbNode, node.dotDotDotToken) || visitNode2(cbNode, node.name) || visitNode2(cbNode, node.questionToken) || visitNode2(cbNode, node.type); + }, + [206 /* ObjectBindingPattern */]: forEachChildInObjectOrArrayBindingPattern, + [207 /* ArrayBindingPattern */]: forEachChildInObjectOrArrayBindingPattern, + [209 /* ArrayLiteralExpression */]: function forEachChildInArrayLiteralExpression(node, cbNode, cbNodes) { + return visitNodes(cbNode, cbNodes, node.elements); + }, + [210 /* ObjectLiteralExpression */]: function forEachChildInObjectLiteralExpression(node, cbNode, cbNodes) { + return visitNodes(cbNode, cbNodes, node.properties); + }, + [211 /* PropertyAccessExpression */]: function forEachChildInPropertyAccessExpression(node, cbNode, _cbNodes) { + return visitNode2(cbNode, node.expression) || visitNode2(cbNode, node.questionDotToken) || visitNode2(cbNode, node.name); + }, + [212 /* ElementAccessExpression */]: function forEachChildInElementAccessExpression(node, cbNode, _cbNodes) { + return visitNode2(cbNode, node.expression) || visitNode2(cbNode, node.questionDotToken) || visitNode2(cbNode, node.argumentExpression); + }, + [213 /* CallExpression */]: forEachChildInCallOrNewExpression, + [214 /* NewExpression */]: forEachChildInCallOrNewExpression, + [215 /* TaggedTemplateExpression */]: function forEachChildInTaggedTemplateExpression(node, cbNode, cbNodes) { + return visitNode2(cbNode, node.tag) || visitNode2(cbNode, node.questionDotToken) || visitNodes(cbNode, cbNodes, node.typeArguments) || visitNode2(cbNode, node.template); + }, + [216 /* TypeAssertionExpression */]: function forEachChildInTypeAssertionExpression(node, cbNode, _cbNodes) { + return visitNode2(cbNode, node.type) || visitNode2(cbNode, node.expression); + }, + [217 /* ParenthesizedExpression */]: function forEachChildInParenthesizedExpression(node, cbNode, _cbNodes) { + return visitNode2(cbNode, node.expression); + }, + [220 /* DeleteExpression */]: function forEachChildInDeleteExpression(node, cbNode, _cbNodes) { + return visitNode2(cbNode, node.expression); + }, + [221 /* TypeOfExpression */]: function forEachChildInTypeOfExpression(node, cbNode, _cbNodes) { + return visitNode2(cbNode, node.expression); + }, + [222 /* VoidExpression */]: function forEachChildInVoidExpression(node, cbNode, _cbNodes) { + return visitNode2(cbNode, node.expression); + }, + [224 /* PrefixUnaryExpression */]: function forEachChildInPrefixUnaryExpression(node, cbNode, _cbNodes) { + return visitNode2(cbNode, node.operand); + }, + [229 /* YieldExpression */]: function forEachChildInYieldExpression(node, cbNode, _cbNodes) { + return visitNode2(cbNode, node.asteriskToken) || visitNode2(cbNode, node.expression); + }, + [223 /* AwaitExpression */]: function forEachChildInAwaitExpression(node, cbNode, _cbNodes) { + return visitNode2(cbNode, node.expression); + }, + [225 /* PostfixUnaryExpression */]: function forEachChildInPostfixUnaryExpression(node, cbNode, _cbNodes) { + return visitNode2(cbNode, node.operand); + }, + [226 /* BinaryExpression */]: function forEachChildInBinaryExpression(node, cbNode, _cbNodes) { + return visitNode2(cbNode, node.left) || visitNode2(cbNode, node.operatorToken) || visitNode2(cbNode, node.right); + }, + [234 /* AsExpression */]: function forEachChildInAsExpression(node, cbNode, _cbNodes) { + return visitNode2(cbNode, node.expression) || visitNode2(cbNode, node.type); + }, + [235 /* NonNullExpression */]: function forEachChildInNonNullExpression(node, cbNode, _cbNodes) { + return visitNode2(cbNode, node.expression); + }, + [238 /* SatisfiesExpression */]: function forEachChildInSatisfiesExpression(node, cbNode, _cbNodes) { + return visitNode2(cbNode, node.expression) || visitNode2(cbNode, node.type); + }, + [236 /* MetaProperty */]: function forEachChildInMetaProperty(node, cbNode, _cbNodes) { + return visitNode2(cbNode, node.name); + }, + [227 /* ConditionalExpression */]: function forEachChildInConditionalExpression(node, cbNode, _cbNodes) { + return visitNode2(cbNode, node.condition) || visitNode2(cbNode, node.questionToken) || visitNode2(cbNode, node.whenTrue) || visitNode2(cbNode, node.colonToken) || visitNode2(cbNode, node.whenFalse); + }, + [230 /* SpreadElement */]: function forEachChildInSpreadElement(node, cbNode, _cbNodes) { + return visitNode2(cbNode, node.expression); + }, + [241 /* Block */]: forEachChildInBlock, + [268 /* ModuleBlock */]: forEachChildInBlock, + [307 /* SourceFile */]: function forEachChildInSourceFile(node, cbNode, cbNodes) { + return visitNodes(cbNode, cbNodes, node.statements) || visitNode2(cbNode, node.endOfFileToken); + }, + [243 /* VariableStatement */]: function forEachChildInVariableStatement(node, cbNode, cbNodes) { + return visitNodes(cbNode, cbNodes, node.modifiers) || visitNode2(cbNode, node.declarationList); + }, + [261 /* VariableDeclarationList */]: function forEachChildInVariableDeclarationList(node, cbNode, cbNodes) { + return visitNodes(cbNode, cbNodes, node.declarations); + }, + [244 /* ExpressionStatement */]: function forEachChildInExpressionStatement(node, cbNode, _cbNodes) { + return visitNode2(cbNode, node.expression); + }, + [245 /* IfStatement */]: function forEachChildInIfStatement(node, cbNode, _cbNodes) { + return visitNode2(cbNode, node.expression) || visitNode2(cbNode, node.thenStatement) || visitNode2(cbNode, node.elseStatement); + }, + [246 /* DoStatement */]: function forEachChildInDoStatement(node, cbNode, _cbNodes) { + return visitNode2(cbNode, node.statement) || visitNode2(cbNode, node.expression); + }, + [247 /* WhileStatement */]: function forEachChildInWhileStatement(node, cbNode, _cbNodes) { + return visitNode2(cbNode, node.expression) || visitNode2(cbNode, node.statement); + }, + [248 /* ForStatement */]: function forEachChildInForStatement(node, cbNode, _cbNodes) { + return visitNode2(cbNode, node.initializer) || visitNode2(cbNode, node.condition) || visitNode2(cbNode, node.incrementor) || visitNode2(cbNode, node.statement); + }, + [249 /* ForInStatement */]: function forEachChildInForInStatement(node, cbNode, _cbNodes) { + return visitNode2(cbNode, node.initializer) || visitNode2(cbNode, node.expression) || visitNode2(cbNode, node.statement); + }, + [250 /* ForOfStatement */]: function forEachChildInForOfStatement(node, cbNode, _cbNodes) { + return visitNode2(cbNode, node.awaitModifier) || visitNode2(cbNode, node.initializer) || visitNode2(cbNode, node.expression) || visitNode2(cbNode, node.statement); + }, + [251 /* ContinueStatement */]: forEachChildInContinueOrBreakStatement, + [252 /* BreakStatement */]: forEachChildInContinueOrBreakStatement, + [253 /* ReturnStatement */]: function forEachChildInReturnStatement(node, cbNode, _cbNodes) { + return visitNode2(cbNode, node.expression); + }, + [254 /* WithStatement */]: function forEachChildInWithStatement(node, cbNode, _cbNodes) { + return visitNode2(cbNode, node.expression) || visitNode2(cbNode, node.statement); + }, + [255 /* SwitchStatement */]: function forEachChildInSwitchStatement(node, cbNode, _cbNodes) { + return visitNode2(cbNode, node.expression) || visitNode2(cbNode, node.caseBlock); + }, + [269 /* CaseBlock */]: function forEachChildInCaseBlock(node, cbNode, cbNodes) { + return visitNodes(cbNode, cbNodes, node.clauses); + }, + [296 /* CaseClause */]: function forEachChildInCaseClause(node, cbNode, cbNodes) { + return visitNode2(cbNode, node.expression) || visitNodes(cbNode, cbNodes, node.statements); + }, + [297 /* DefaultClause */]: function forEachChildInDefaultClause(node, cbNode, cbNodes) { + return visitNodes(cbNode, cbNodes, node.statements); + }, + [256 /* LabeledStatement */]: function forEachChildInLabeledStatement(node, cbNode, _cbNodes) { + return visitNode2(cbNode, node.label) || visitNode2(cbNode, node.statement); + }, + [257 /* ThrowStatement */]: function forEachChildInThrowStatement(node, cbNode, _cbNodes) { + return visitNode2(cbNode, node.expression); + }, + [258 /* TryStatement */]: function forEachChildInTryStatement(node, cbNode, _cbNodes) { + return visitNode2(cbNode, node.tryBlock) || visitNode2(cbNode, node.catchClause) || visitNode2(cbNode, node.finallyBlock); + }, + [299 /* CatchClause */]: function forEachChildInCatchClause(node, cbNode, _cbNodes) { + return visitNode2(cbNode, node.variableDeclaration) || visitNode2(cbNode, node.block); + }, + [170 /* Decorator */]: function forEachChildInDecorator(node, cbNode, _cbNodes) { + return visitNode2(cbNode, node.expression); + }, + [263 /* ClassDeclaration */]: forEachChildInClassDeclarationOrExpression, + [231 /* ClassExpression */]: forEachChildInClassDeclarationOrExpression, + [264 /* InterfaceDeclaration */]: function forEachChildInInterfaceDeclaration(node, cbNode, cbNodes) { + return visitNodes(cbNode, cbNodes, node.modifiers) || visitNode2(cbNode, node.name) || visitNodes(cbNode, cbNodes, node.typeParameters) || visitNodes(cbNode, cbNodes, node.heritageClauses) || visitNodes(cbNode, cbNodes, node.members); + }, + [265 /* TypeAliasDeclaration */]: function forEachChildInTypeAliasDeclaration(node, cbNode, cbNodes) { + return visitNodes(cbNode, cbNodes, node.modifiers) || visitNode2(cbNode, node.name) || visitNodes(cbNode, cbNodes, node.typeParameters) || visitNode2(cbNode, node.type); + }, + [266 /* EnumDeclaration */]: function forEachChildInEnumDeclaration(node, cbNode, cbNodes) { + return visitNodes(cbNode, cbNodes, node.modifiers) || visitNode2(cbNode, node.name) || visitNodes(cbNode, cbNodes, node.members); + }, + [306 /* EnumMember */]: function forEachChildInEnumMember(node, cbNode, _cbNodes) { + return visitNode2(cbNode, node.name) || visitNode2(cbNode, node.initializer); + }, + [267 /* ModuleDeclaration */]: function forEachChildInModuleDeclaration(node, cbNode, cbNodes) { + return visitNodes(cbNode, cbNodes, node.modifiers) || visitNode2(cbNode, node.name) || visitNode2(cbNode, node.body); + }, + [271 /* ImportEqualsDeclaration */]: function forEachChildInImportEqualsDeclaration(node, cbNode, cbNodes) { + return visitNodes(cbNode, cbNodes, node.modifiers) || visitNode2(cbNode, node.name) || visitNode2(cbNode, node.moduleReference); + }, + [272 /* ImportDeclaration */]: function forEachChildInImportDeclaration(node, cbNode, cbNodes) { + return visitNodes(cbNode, cbNodes, node.modifiers) || visitNode2(cbNode, node.importClause) || visitNode2(cbNode, node.moduleSpecifier) || visitNode2(cbNode, node.attributes); + }, + [273 /* ImportClause */]: function forEachChildInImportClause(node, cbNode, _cbNodes) { + return visitNode2(cbNode, node.name) || visitNode2(cbNode, node.namedBindings); + }, + [300 /* ImportAttributes */]: function forEachChildInImportAttributes(node, cbNode, cbNodes) { + return visitNodes(cbNode, cbNodes, node.elements); + }, + [301 /* ImportAttribute */]: function forEachChildInImportAttribute(node, cbNode, _cbNodes) { + return visitNode2(cbNode, node.name) || visitNode2(cbNode, node.value); + }, + [270 /* NamespaceExportDeclaration */]: function forEachChildInNamespaceExportDeclaration(node, cbNode, cbNodes) { + return visitNodes(cbNode, cbNodes, node.modifiers) || visitNode2(cbNode, node.name); + }, + [274 /* NamespaceImport */]: function forEachChildInNamespaceImport(node, cbNode, _cbNodes) { + return visitNode2(cbNode, node.name); + }, + [280 /* NamespaceExport */]: function forEachChildInNamespaceExport(node, cbNode, _cbNodes) { + return visitNode2(cbNode, node.name); + }, + [275 /* NamedImports */]: forEachChildInNamedImportsOrExports, + [279 /* NamedExports */]: forEachChildInNamedImportsOrExports, + [278 /* ExportDeclaration */]: function forEachChildInExportDeclaration(node, cbNode, cbNodes) { + return visitNodes(cbNode, cbNodes, node.modifiers) || visitNode2(cbNode, node.exportClause) || visitNode2(cbNode, node.moduleSpecifier) || visitNode2(cbNode, node.attributes); + }, + [276 /* ImportSpecifier */]: forEachChildInImportOrExportSpecifier, + [281 /* ExportSpecifier */]: forEachChildInImportOrExportSpecifier, + [277 /* ExportAssignment */]: function forEachChildInExportAssignment(node, cbNode, cbNodes) { + return visitNodes(cbNode, cbNodes, node.modifiers) || visitNode2(cbNode, node.expression); + }, + [228 /* TemplateExpression */]: function forEachChildInTemplateExpression(node, cbNode, cbNodes) { + return visitNode2(cbNode, node.head) || visitNodes(cbNode, cbNodes, node.templateSpans); + }, + [239 /* TemplateSpan */]: function forEachChildInTemplateSpan(node, cbNode, _cbNodes) { + return visitNode2(cbNode, node.expression) || visitNode2(cbNode, node.literal); + }, + [203 /* TemplateLiteralType */]: function forEachChildInTemplateLiteralType(node, cbNode, cbNodes) { + return visitNode2(cbNode, node.head) || visitNodes(cbNode, cbNodes, node.templateSpans); + }, + [204 /* TemplateLiteralTypeSpan */]: function forEachChildInTemplateLiteralTypeSpan(node, cbNode, _cbNodes) { + return visitNode2(cbNode, node.type) || visitNode2(cbNode, node.literal); + }, + [167 /* ComputedPropertyName */]: function forEachChildInComputedPropertyName(node, cbNode, _cbNodes) { + return visitNode2(cbNode, node.expression); + }, + [298 /* HeritageClause */]: function forEachChildInHeritageClause(node, cbNode, cbNodes) { + return visitNodes(cbNode, cbNodes, node.types); + }, + [233 /* ExpressionWithTypeArguments */]: function forEachChildInExpressionWithTypeArguments(node, cbNode, cbNodes) { + return visitNode2(cbNode, node.expression) || visitNodes(cbNode, cbNodes, node.typeArguments); + }, + [283 /* ExternalModuleReference */]: function forEachChildInExternalModuleReference(node, cbNode, _cbNodes) { + return visitNode2(cbNode, node.expression); + }, + [282 /* MissingDeclaration */]: function forEachChildInMissingDeclaration(node, cbNode, cbNodes) { + return visitNodes(cbNode, cbNodes, node.modifiers); + }, + [356 /* CommaListExpression */]: function forEachChildInCommaListExpression(node, cbNode, cbNodes) { + return visitNodes(cbNode, cbNodes, node.elements); + }, + [284 /* JsxElement */]: function forEachChildInJsxElement(node, cbNode, cbNodes) { + return visitNode2(cbNode, node.openingElement) || visitNodes(cbNode, cbNodes, node.children) || visitNode2(cbNode, node.closingElement); + }, + [288 /* JsxFragment */]: function forEachChildInJsxFragment(node, cbNode, cbNodes) { + return visitNode2(cbNode, node.openingFragment) || visitNodes(cbNode, cbNodes, node.children) || visitNode2(cbNode, node.closingFragment); + }, + [285 /* JsxSelfClosingElement */]: forEachChildInJsxOpeningOrSelfClosingElement, + [286 /* JsxOpeningElement */]: forEachChildInJsxOpeningOrSelfClosingElement, + [292 /* JsxAttributes */]: function forEachChildInJsxAttributes(node, cbNode, cbNodes) { + return visitNodes(cbNode, cbNodes, node.properties); + }, + [291 /* JsxAttribute */]: function forEachChildInJsxAttribute(node, cbNode, _cbNodes) { + return visitNode2(cbNode, node.name) || visitNode2(cbNode, node.initializer); + }, + [293 /* JsxSpreadAttribute */]: function forEachChildInJsxSpreadAttribute(node, cbNode, _cbNodes) { + return visitNode2(cbNode, node.expression); + }, + [294 /* JsxExpression */]: function forEachChildInJsxExpression(node, cbNode, _cbNodes) { + return visitNode2(cbNode, node.dotDotDotToken) || visitNode2(cbNode, node.expression); + }, + [287 /* JsxClosingElement */]: function forEachChildInJsxClosingElement(node, cbNode, _cbNodes) { + return visitNode2(cbNode, node.tagName); + }, + [295 /* JsxNamespacedName */]: function forEachChildInJsxNamespacedName(node, cbNode, _cbNodes) { + return visitNode2(cbNode, node.namespace) || visitNode2(cbNode, node.name); + }, + [190 /* OptionalType */]: forEachChildInOptionalRestOrJSDocParameterModifier, + [191 /* RestType */]: forEachChildInOptionalRestOrJSDocParameterModifier, + [309 /* JSDocTypeExpression */]: forEachChildInOptionalRestOrJSDocParameterModifier, + [315 /* JSDocNonNullableType */]: forEachChildInOptionalRestOrJSDocParameterModifier, + [314 /* JSDocNullableType */]: forEachChildInOptionalRestOrJSDocParameterModifier, + [316 /* JSDocOptionalType */]: forEachChildInOptionalRestOrJSDocParameterModifier, + [318 /* JSDocVariadicType */]: forEachChildInOptionalRestOrJSDocParameterModifier, + [317 /* JSDocFunctionType */]: function forEachChildInJSDocFunctionType(node, cbNode, cbNodes) { + return visitNodes(cbNode, cbNodes, node.parameters) || visitNode2(cbNode, node.type); + }, + [320 /* JSDoc */]: function forEachChildInJSDoc(node, cbNode, cbNodes) { + return (typeof node.comment === "string" ? void 0 : visitNodes(cbNode, cbNodes, node.comment)) || visitNodes(cbNode, cbNodes, node.tags); + }, + [347 /* JSDocSeeTag */]: function forEachChildInJSDocSeeTag(node, cbNode, cbNodes) { + return visitNode2(cbNode, node.tagName) || visitNode2(cbNode, node.name) || (typeof node.comment === "string" ? void 0 : visitNodes(cbNode, cbNodes, node.comment)); + }, + [310 /* JSDocNameReference */]: function forEachChildInJSDocNameReference(node, cbNode, _cbNodes) { + return visitNode2(cbNode, node.name); + }, + [311 /* JSDocMemberName */]: function forEachChildInJSDocMemberName(node, cbNode, _cbNodes) { + return visitNode2(cbNode, node.left) || visitNode2(cbNode, node.right); + }, + [341 /* JSDocParameterTag */]: forEachChildInJSDocParameterOrPropertyTag, + [348 /* JSDocPropertyTag */]: forEachChildInJSDocParameterOrPropertyTag, + [330 /* JSDocAuthorTag */]: function forEachChildInJSDocAuthorTag(node, cbNode, cbNodes) { + return visitNode2(cbNode, node.tagName) || (typeof node.comment === "string" ? void 0 : visitNodes(cbNode, cbNodes, node.comment)); + }, + [329 /* JSDocImplementsTag */]: function forEachChildInJSDocImplementsTag(node, cbNode, cbNodes) { + return visitNode2(cbNode, node.tagName) || visitNode2(cbNode, node.class) || (typeof node.comment === "string" ? void 0 : visitNodes(cbNode, cbNodes, node.comment)); + }, + [328 /* JSDocAugmentsTag */]: function forEachChildInJSDocAugmentsTag(node, cbNode, cbNodes) { + return visitNode2(cbNode, node.tagName) || visitNode2(cbNode, node.class) || (typeof node.comment === "string" ? void 0 : visitNodes(cbNode, cbNodes, node.comment)); + }, + [345 /* JSDocTemplateTag */]: function forEachChildInJSDocTemplateTag(node, cbNode, cbNodes) { + return visitNode2(cbNode, node.tagName) || visitNode2(cbNode, node.constraint) || visitNodes(cbNode, cbNodes, node.typeParameters) || (typeof node.comment === "string" ? void 0 : visitNodes(cbNode, cbNodes, node.comment)); + }, + [346 /* JSDocTypedefTag */]: function forEachChildInJSDocTypedefTag(node, cbNode, cbNodes) { + return visitNode2(cbNode, node.tagName) || (node.typeExpression && node.typeExpression.kind === 309 /* JSDocTypeExpression */ ? visitNode2(cbNode, node.typeExpression) || visitNode2(cbNode, node.fullName) || (typeof node.comment === "string" ? void 0 : visitNodes(cbNode, cbNodes, node.comment)) : visitNode2(cbNode, node.fullName) || visitNode2(cbNode, node.typeExpression) || (typeof node.comment === "string" ? void 0 : visitNodes(cbNode, cbNodes, node.comment))); + }, + [338 /* JSDocCallbackTag */]: function forEachChildInJSDocCallbackTag(node, cbNode, cbNodes) { + return visitNode2(cbNode, node.tagName) || visitNode2(cbNode, node.fullName) || visitNode2(cbNode, node.typeExpression) || (typeof node.comment === "string" ? void 0 : visitNodes(cbNode, cbNodes, node.comment)); + }, + [342 /* JSDocReturnTag */]: forEachChildInJSDocTypeLikeTag, + [344 /* JSDocTypeTag */]: forEachChildInJSDocTypeLikeTag, + [343 /* JSDocThisTag */]: forEachChildInJSDocTypeLikeTag, + [340 /* JSDocEnumTag */]: forEachChildInJSDocTypeLikeTag, + [350 /* JSDocSatisfiesTag */]: forEachChildInJSDocTypeLikeTag, + [349 /* JSDocThrowsTag */]: forEachChildInJSDocTypeLikeTag, + [339 /* JSDocOverloadTag */]: forEachChildInJSDocTypeLikeTag, + [323 /* JSDocSignature */]: function forEachChildInJSDocSignature(node, cbNode, _cbNodes) { + return forEach(node.typeParameters, cbNode) || forEach(node.parameters, cbNode) || visitNode2(cbNode, node.type); + }, + [324 /* JSDocLink */]: forEachChildInJSDocLinkCodeOrPlain, + [325 /* JSDocLinkCode */]: forEachChildInJSDocLinkCodeOrPlain, + [326 /* JSDocLinkPlain */]: forEachChildInJSDocLinkCodeOrPlain, + [322 /* JSDocTypeLiteral */]: function forEachChildInJSDocTypeLiteral(node, cbNode, _cbNodes) { + return forEach(node.jsDocPropertyTags, cbNode); + }, + [327 /* JSDocTag */]: forEachChildInJSDocTag, + [332 /* JSDocClassTag */]: forEachChildInJSDocTag, + [333 /* JSDocPublicTag */]: forEachChildInJSDocTag, + [334 /* JSDocPrivateTag */]: forEachChildInJSDocTag, + [335 /* JSDocProtectedTag */]: forEachChildInJSDocTag, + [336 /* JSDocReadonlyTag */]: forEachChildInJSDocTag, + [331 /* JSDocDeprecatedTag */]: forEachChildInJSDocTag, + [337 /* JSDocOverrideTag */]: forEachChildInJSDocTag, + [351 /* JSDocImportTag */]: forEachChildInJSDocImportTag, + [355 /* PartiallyEmittedExpression */]: forEachChildInPartiallyEmittedExpression +}; +function forEachChildInCallOrConstructSignature(node, cbNode, cbNodes) { + return visitNodes(cbNode, cbNodes, node.typeParameters) || visitNodes(cbNode, cbNodes, node.parameters) || visitNode2(cbNode, node.type); +} +function forEachChildInUnionOrIntersectionType(node, cbNode, cbNodes) { + return visitNodes(cbNode, cbNodes, node.types); +} +function forEachChildInParenthesizedTypeOrTypeOperator(node, cbNode, _cbNodes) { + return visitNode2(cbNode, node.type); +} +function forEachChildInObjectOrArrayBindingPattern(node, cbNode, cbNodes) { + return visitNodes(cbNode, cbNodes, node.elements); +} +function forEachChildInCallOrNewExpression(node, cbNode, cbNodes) { + return visitNode2(cbNode, node.expression) || // TODO: should we separate these branches out? + visitNode2(cbNode, node.questionDotToken) || visitNodes(cbNode, cbNodes, node.typeArguments) || visitNodes(cbNode, cbNodes, node.arguments); +} +function forEachChildInBlock(node, cbNode, cbNodes) { + return visitNodes(cbNode, cbNodes, node.statements); +} +function forEachChildInContinueOrBreakStatement(node, cbNode, _cbNodes) { + return visitNode2(cbNode, node.label); +} +function forEachChildInClassDeclarationOrExpression(node, cbNode, cbNodes) { + return visitNodes(cbNode, cbNodes, node.modifiers) || visitNode2(cbNode, node.name) || visitNodes(cbNode, cbNodes, node.typeParameters) || visitNodes(cbNode, cbNodes, node.heritageClauses) || visitNodes(cbNode, cbNodes, node.members); +} +function forEachChildInNamedImportsOrExports(node, cbNode, cbNodes) { + return visitNodes(cbNode, cbNodes, node.elements); +} +function forEachChildInImportOrExportSpecifier(node, cbNode, _cbNodes) { + return visitNode2(cbNode, node.propertyName) || visitNode2(cbNode, node.name); +} +function forEachChildInJsxOpeningOrSelfClosingElement(node, cbNode, cbNodes) { + return visitNode2(cbNode, node.tagName) || visitNodes(cbNode, cbNodes, node.typeArguments) || visitNode2(cbNode, node.attributes); +} +function forEachChildInOptionalRestOrJSDocParameterModifier(node, cbNode, _cbNodes) { + return visitNode2(cbNode, node.type); +} +function forEachChildInJSDocParameterOrPropertyTag(node, cbNode, cbNodes) { + return visitNode2(cbNode, node.tagName) || (node.isNameFirst ? visitNode2(cbNode, node.name) || visitNode2(cbNode, node.typeExpression) : visitNode2(cbNode, node.typeExpression) || visitNode2(cbNode, node.name)) || (typeof node.comment === "string" ? void 0 : visitNodes(cbNode, cbNodes, node.comment)); +} +function forEachChildInJSDocTypeLikeTag(node, cbNode, cbNodes) { + return visitNode2(cbNode, node.tagName) || visitNode2(cbNode, node.typeExpression) || (typeof node.comment === "string" ? void 0 : visitNodes(cbNode, cbNodes, node.comment)); +} +function forEachChildInJSDocLinkCodeOrPlain(node, cbNode, _cbNodes) { + return visitNode2(cbNode, node.name); +} +function forEachChildInJSDocTag(node, cbNode, cbNodes) { + return visitNode2(cbNode, node.tagName) || (typeof node.comment === "string" ? void 0 : visitNodes(cbNode, cbNodes, node.comment)); +} +function forEachChildInJSDocImportTag(node, cbNode, cbNodes) { + return visitNode2(cbNode, node.tagName) || visitNode2(cbNode, node.importClause) || visitNode2(cbNode, node.moduleSpecifier) || visitNode2(cbNode, node.attributes) || (typeof node.comment === "string" ? void 0 : visitNodes(cbNode, cbNodes, node.comment)); +} +function forEachChildInPartiallyEmittedExpression(node, cbNode, _cbNodes) { + return visitNode2(cbNode, node.expression); +} +function forEachChild(node, cbNode, cbNodes) { + if (node === void 0 || node.kind <= 165 /* LastToken */) { + return; + } + const fn = forEachChildTable[node.kind]; + return fn === void 0 ? void 0 : fn(node, cbNode, cbNodes); +} +function forEachChildRecursively(rootNode, cbNode, cbNodes) { + const queue = gatherPossibleChildren(rootNode); + const parents = []; + while (parents.length < queue.length) { + parents.push(rootNode); + } + while (queue.length !== 0) { + const current = queue.pop(); + const parent = parents.pop(); + if (isArray(current)) { + if (cbNodes) { + const res = cbNodes(current, parent); + if (res) { + if (res === "skip") continue; + return res; + } + } + for (let i = current.length - 1; i >= 0; --i) { + queue.push(current[i]); + parents.push(parent); + } + } else { + const res = cbNode(current, parent); + if (res) { + if (res === "skip") continue; + return res; + } + if (current.kind >= 166 /* FirstNode */) { + for (const child of gatherPossibleChildren(current)) { + queue.push(child); + parents.push(current); + } + } + } + } +} +function gatherPossibleChildren(node) { + const children = []; + forEachChild(node, addWorkItem, addWorkItem); + return children; + function addWorkItem(n) { + children.unshift(n); + } +} +function setExternalModuleIndicator(sourceFile) { + sourceFile.externalModuleIndicator = isFileProbablyExternalModule(sourceFile); +} +function createSourceFile(fileName, sourceText, languageVersionOrOptions, setParentNodes = false, scriptKind) { + var _a, _b; + (_a = tracing) == null ? void 0 : _a.push( + tracing.Phase.Parse, + "createSourceFile", + { path: fileName }, + /*separateBeginAndEnd*/ + true + ); + mark("beforeParse"); + let result; + const { + languageVersion, + setExternalModuleIndicator: overrideSetExternalModuleIndicator, + impliedNodeFormat: format, + jsDocParsingMode + } = typeof languageVersionOrOptions === "object" ? languageVersionOrOptions : { languageVersion: languageVersionOrOptions }; + if (languageVersion === 100 /* JSON */) { + result = Parser.parseSourceFile( + fileName, + sourceText, + languageVersion, + /*syntaxCursor*/ + void 0, + setParentNodes, + 6 /* JSON */, + noop, + jsDocParsingMode + ); + } else { + const setIndicator = format === void 0 ? overrideSetExternalModuleIndicator : (file) => { + file.impliedNodeFormat = format; + return (overrideSetExternalModuleIndicator || setExternalModuleIndicator)(file); + }; + result = Parser.parseSourceFile( + fileName, + sourceText, + languageVersion, + /*syntaxCursor*/ + void 0, + setParentNodes, + scriptKind, + setIndicator, + jsDocParsingMode + ); + } + mark("afterParse"); + measure("Parse", "beforeParse", "afterParse"); + (_b = tracing) == null ? void 0 : _b.pop(); + return result; +} +function parseIsolatedEntityName(text, languageVersion) { + return Parser.parseIsolatedEntityName(text, languageVersion); +} +function parseJsonText(fileName, sourceText) { + return Parser.parseJsonText(fileName, sourceText); +} +function isExternalModule(file) { + return file.externalModuleIndicator !== void 0; +} +var Parser; +((Parser2) => { + var scanner = createScanner( + 99 /* Latest */, + /*skipTrivia*/ + true + ); + var disallowInAndDecoratorContext = 8192 /* DisallowInContext */ | 32768 /* DecoratorContext */; + var NodeConstructor2; + var TokenConstructor2; + var IdentifierConstructor2; + var PrivateIdentifierConstructor2; + var SourceFileConstructor2; + function countNode(node) { + nodeCount++; + return node; + } + var baseNodeFactory = { + createBaseSourceFileNode: (kind) => countNode(new SourceFileConstructor2( + kind, + /*pos*/ + 0, + /*end*/ + 0 + )), + createBaseIdentifierNode: (kind) => countNode(new IdentifierConstructor2( + kind, + /*pos*/ + 0, + /*end*/ + 0 + )), + createBasePrivateIdentifierNode: (kind) => countNode(new PrivateIdentifierConstructor2( + kind, + /*pos*/ + 0, + /*end*/ + 0 + )), + createBaseTokenNode: (kind) => countNode(new TokenConstructor2( + kind, + /*pos*/ + 0, + /*end*/ + 0 + )), + createBaseNode: (kind) => countNode(new NodeConstructor2( + kind, + /*pos*/ + 0, + /*end*/ + 0 + )) + }; + var factory2 = createNodeFactory(1 /* NoParenthesizerRules */ | 2 /* NoNodeConverters */ | 8 /* NoOriginalNode */, baseNodeFactory); + var { + createNodeArray: factoryCreateNodeArray, + createNumericLiteral: factoryCreateNumericLiteral, + createStringLiteral: factoryCreateStringLiteral, + createLiteralLikeNode: factoryCreateLiteralLikeNode, + createIdentifier: factoryCreateIdentifier, + createPrivateIdentifier: factoryCreatePrivateIdentifier, + createToken: factoryCreateToken, + createArrayLiteralExpression: factoryCreateArrayLiteralExpression, + createObjectLiteralExpression: factoryCreateObjectLiteralExpression, + createPropertyAccessExpression: factoryCreatePropertyAccessExpression, + createPropertyAccessChain: factoryCreatePropertyAccessChain, + createElementAccessExpression: factoryCreateElementAccessExpression, + createElementAccessChain: factoryCreateElementAccessChain, + createCallExpression: factoryCreateCallExpression, + createCallChain: factoryCreateCallChain, + createNewExpression: factoryCreateNewExpression, + createParenthesizedExpression: factoryCreateParenthesizedExpression, + createBlock: factoryCreateBlock, + createVariableStatement: factoryCreateVariableStatement, + createExpressionStatement: factoryCreateExpressionStatement, + createIfStatement: factoryCreateIfStatement, + createWhileStatement: factoryCreateWhileStatement, + createForStatement: factoryCreateForStatement, + createForOfStatement: factoryCreateForOfStatement, + createVariableDeclaration: factoryCreateVariableDeclaration, + createVariableDeclarationList: factoryCreateVariableDeclarationList + } = factory2; + var fileName; + var sourceFlags; + var sourceText; + var languageVersion; + var scriptKind; + var languageVariant; + var parseDiagnostics; + var jsDocDiagnostics; + var syntaxCursor; + var currentToken; + var nodeCount; + var identifiers; + var identifierCount; + var parsingContext; + var notParenthesizedArrow; + var contextFlags; + var topLevel = true; + var parseErrorBeforeNextFinishedNode = false; + function parseSourceFile(fileName2, sourceText2, languageVersion2, syntaxCursor2, setParentNodes = false, scriptKind2, setExternalModuleIndicatorOverride, jsDocParsingMode = 0 /* ParseAll */) { + var _a; + scriptKind2 = ensureScriptKind(fileName2, scriptKind2); + if (scriptKind2 === 6 /* JSON */) { + const result2 = parseJsonText2(fileName2, sourceText2, languageVersion2, syntaxCursor2, setParentNodes); + convertToJson( + result2, + (_a = result2.statements[0]) == null ? void 0 : _a.expression, + result2.parseDiagnostics, + /*returnValue*/ + false, + /*jsonConversionNotifier*/ + void 0 + ); + result2.referencedFiles = emptyArray; + result2.typeReferenceDirectives = emptyArray; + result2.libReferenceDirectives = emptyArray; + result2.amdDependencies = emptyArray; + result2.hasNoDefaultLib = false; + result2.pragmas = emptyMap; + return result2; + } + initializeState(fileName2, sourceText2, languageVersion2, syntaxCursor2, scriptKind2, jsDocParsingMode); + const result = parseSourceFileWorker(languageVersion2, setParentNodes, scriptKind2, setExternalModuleIndicatorOverride || setExternalModuleIndicator, jsDocParsingMode); + clearState(); + return result; + } + Parser2.parseSourceFile = parseSourceFile; + function parseIsolatedEntityName2(content, languageVersion2) { + initializeState( + "", + content, + languageVersion2, + /*syntaxCursor*/ + void 0, + 1 /* JS */, + 0 /* ParseAll */ + ); + nextToken(); + const entityName = parseEntityName( + /*allowReservedWords*/ + true + ); + const isValid = token() === 1 /* EndOfFileToken */ && !parseDiagnostics.length; + clearState(); + return isValid ? entityName : void 0; + } + Parser2.parseIsolatedEntityName = parseIsolatedEntityName2; + function parseJsonText2(fileName2, sourceText2, languageVersion2 = 2 /* ES2015 */, syntaxCursor2, setParentNodes = false) { + initializeState(fileName2, sourceText2, languageVersion2, syntaxCursor2, 6 /* JSON */, 0 /* ParseAll */); + sourceFlags = contextFlags; + nextToken(); + const pos = getNodePos(); + let statements, endOfFileToken; + if (token() === 1 /* EndOfFileToken */) { + statements = createNodeArray([], pos, pos); + endOfFileToken = parseTokenNode(); + } else { + let expressions; + while (token() !== 1 /* EndOfFileToken */) { + let expression2; + switch (token()) { + case 23 /* OpenBracketToken */: + expression2 = parseArrayLiteralExpression(); + break; + case 112 /* TrueKeyword */: + case 97 /* FalseKeyword */: + case 106 /* NullKeyword */: + expression2 = parseTokenNode(); + break; + case 41 /* MinusToken */: + if (lookAhead(() => nextToken() === 9 /* NumericLiteral */ && nextToken() !== 59 /* ColonToken */)) { + expression2 = parsePrefixUnaryExpression(); + } else { + expression2 = parseObjectLiteralExpression(); + } + break; + case 9 /* NumericLiteral */: + case 11 /* StringLiteral */: + if (lookAhead(() => nextToken() !== 59 /* ColonToken */)) { + expression2 = parseLiteralNode(); + break; + } + // falls through + default: + expression2 = parseObjectLiteralExpression(); + break; + } + if (expressions && isArray(expressions)) { + expressions.push(expression2); + } else if (expressions) { + expressions = [expressions, expression2]; + } else { + expressions = expression2; + if (token() !== 1 /* EndOfFileToken */) { + parseErrorAtCurrentToken(Diagnostics.Unexpected_token); + } + } + } + const expression = isArray(expressions) ? finishNode(factoryCreateArrayLiteralExpression(expressions), pos) : Debug.checkDefined(expressions); + const statement = factoryCreateExpressionStatement(expression); + finishNode(statement, pos); + statements = createNodeArray([statement], pos); + endOfFileToken = parseExpectedToken(1 /* EndOfFileToken */, Diagnostics.Unexpected_token); + } + const sourceFile = createSourceFile2( + fileName2, + 2 /* ES2015 */, + 6 /* JSON */, + /*isDeclarationFile*/ + false, + statements, + endOfFileToken, + sourceFlags, + noop + ); + if (setParentNodes) { + fixupParentReferences(sourceFile); + } + sourceFile.nodeCount = nodeCount; + sourceFile.identifierCount = identifierCount; + sourceFile.identifiers = identifiers; + sourceFile.parseDiagnostics = attachFileToDiagnostics(parseDiagnostics, sourceFile); + if (jsDocDiagnostics) { + sourceFile.jsDocDiagnostics = attachFileToDiagnostics(jsDocDiagnostics, sourceFile); + } + const result = sourceFile; + clearState(); + return result; + } + Parser2.parseJsonText = parseJsonText2; + function initializeState(_fileName, _sourceText, _languageVersion, _syntaxCursor, _scriptKind, _jsDocParsingMode) { + NodeConstructor2 = objectAllocator.getNodeConstructor(); + TokenConstructor2 = objectAllocator.getTokenConstructor(); + IdentifierConstructor2 = objectAllocator.getIdentifierConstructor(); + PrivateIdentifierConstructor2 = objectAllocator.getPrivateIdentifierConstructor(); + SourceFileConstructor2 = objectAllocator.getSourceFileConstructor(); + fileName = normalizePath(_fileName); + sourceText = _sourceText; + languageVersion = _languageVersion; + syntaxCursor = _syntaxCursor; + scriptKind = _scriptKind; + languageVariant = getLanguageVariant(_scriptKind); + parseDiagnostics = []; + parsingContext = 0; + identifiers = /* @__PURE__ */ new Map(); + identifierCount = 0; + nodeCount = 0; + sourceFlags = 0; + topLevel = true; + switch (scriptKind) { + case 1 /* JS */: + case 2 /* JSX */: + contextFlags = 524288 /* JavaScriptFile */; + break; + case 6 /* JSON */: + contextFlags = 524288 /* JavaScriptFile */ | 134217728 /* JsonFile */; + break; + default: + contextFlags = 0 /* None */; + break; + } + parseErrorBeforeNextFinishedNode = false; + scanner.setText(sourceText); + scanner.setOnError(scanError); + scanner.setScriptTarget(languageVersion); + scanner.setLanguageVariant(languageVariant); + scanner.setScriptKind(scriptKind); + scanner.setJSDocParsingMode(_jsDocParsingMode); + } + function clearState() { + scanner.clearCommentDirectives(); + scanner.setText(""); + scanner.setOnError(void 0); + scanner.setScriptKind(0 /* Unknown */); + scanner.setJSDocParsingMode(0 /* ParseAll */); + sourceText = void 0; + languageVersion = void 0; + syntaxCursor = void 0; + scriptKind = void 0; + languageVariant = void 0; + sourceFlags = 0; + parseDiagnostics = void 0; + jsDocDiagnostics = void 0; + parsingContext = 0; + identifiers = void 0; + notParenthesizedArrow = void 0; + topLevel = true; + } + function parseSourceFileWorker(languageVersion2, setParentNodes, scriptKind2, setExternalModuleIndicator2, jsDocParsingMode) { + const isDeclarationFile = isDeclarationFileName(fileName); + if (isDeclarationFile) { + contextFlags |= 33554432 /* Ambient */; + } + sourceFlags = contextFlags; + nextToken(); + const statements = parseList(0 /* SourceElements */, parseStatement); + Debug.assert(token() === 1 /* EndOfFileToken */); + const endHasJSDoc = hasPrecedingJSDocComment(); + const endOfFileToken = withJSDoc(parseTokenNode(), endHasJSDoc); + const sourceFile = createSourceFile2(fileName, languageVersion2, scriptKind2, isDeclarationFile, statements, endOfFileToken, sourceFlags, setExternalModuleIndicator2); + processCommentPragmas(sourceFile, sourceText); + processPragmasIntoFields(sourceFile, reportPragmaDiagnostic); + sourceFile.commentDirectives = scanner.getCommentDirectives(); + sourceFile.nodeCount = nodeCount; + sourceFile.identifierCount = identifierCount; + sourceFile.identifiers = identifiers; + sourceFile.parseDiagnostics = attachFileToDiagnostics(parseDiagnostics, sourceFile); + sourceFile.jsDocParsingMode = jsDocParsingMode; + if (jsDocDiagnostics) { + sourceFile.jsDocDiagnostics = attachFileToDiagnostics(jsDocDiagnostics, sourceFile); + } + if (setParentNodes) { + fixupParentReferences(sourceFile); + } + return sourceFile; + function reportPragmaDiagnostic(pos, end, diagnostic) { + parseDiagnostics.push(createDetachedDiagnostic(fileName, sourceText, pos, end, diagnostic)); + } + } + let hasDeprecatedTag = false; + function withJSDoc(node, hasJSDoc) { + if (!hasJSDoc) { + return node; + } + Debug.assert(!node.jsDoc); + const jsDoc = mapDefined(getJSDocCommentRanges(node, sourceText), (comment) => JSDocParser.parseJSDocComment(node, comment.pos, comment.end - comment.pos)); + if (jsDoc.length) node.jsDoc = jsDoc; + if (hasDeprecatedTag) { + hasDeprecatedTag = false; + node.flags |= 536870912 /* Deprecated */; + } + return node; + } + function reparseTopLevelAwait(sourceFile) { + const savedSyntaxCursor = syntaxCursor; + const baseSyntaxCursor = IncrementalParser.createSyntaxCursor(sourceFile); + syntaxCursor = { currentNode: currentNode2 }; + const statements = []; + const savedParseDiagnostics = parseDiagnostics; + parseDiagnostics = []; + let pos = 0; + let start = findNextStatementWithAwait(sourceFile.statements, 0); + while (start !== -1) { + const prevStatement = sourceFile.statements[pos]; + const nextStatement = sourceFile.statements[start]; + addRange(statements, sourceFile.statements, pos, start); + pos = findNextStatementWithoutAwait(sourceFile.statements, start); + const diagnosticStart = findIndex(savedParseDiagnostics, (diagnostic) => diagnostic.start >= prevStatement.pos); + const diagnosticEnd = diagnosticStart >= 0 ? findIndex(savedParseDiagnostics, (diagnostic) => diagnostic.start >= nextStatement.pos, diagnosticStart) : -1; + if (diagnosticStart >= 0) { + addRange(parseDiagnostics, savedParseDiagnostics, diagnosticStart, diagnosticEnd >= 0 ? diagnosticEnd : void 0); + } + speculationHelper(() => { + const savedContextFlags = contextFlags; + contextFlags |= 65536 /* AwaitContext */; + scanner.resetTokenState(nextStatement.pos); + nextToken(); + while (token() !== 1 /* EndOfFileToken */) { + const startPos = scanner.getTokenFullStart(); + const statement = parseListElement(0 /* SourceElements */, parseStatement); + statements.push(statement); + if (startPos === scanner.getTokenFullStart()) { + nextToken(); + } + if (pos >= 0) { + const nonAwaitStatement = sourceFile.statements[pos]; + if (statement.end === nonAwaitStatement.pos) { + break; + } + if (statement.end > nonAwaitStatement.pos) { + pos = findNextStatementWithoutAwait(sourceFile.statements, pos + 1); + } + } + } + contextFlags = savedContextFlags; + }, 2 /* Reparse */); + start = pos >= 0 ? findNextStatementWithAwait(sourceFile.statements, pos) : -1; + } + if (pos >= 0) { + const prevStatement = sourceFile.statements[pos]; + addRange(statements, sourceFile.statements, pos); + const diagnosticStart = findIndex(savedParseDiagnostics, (diagnostic) => diagnostic.start >= prevStatement.pos); + if (diagnosticStart >= 0) { + addRange(parseDiagnostics, savedParseDiagnostics, diagnosticStart); + } + } + syntaxCursor = savedSyntaxCursor; + return factory2.updateSourceFile(sourceFile, setTextRange(factoryCreateNodeArray(statements), sourceFile.statements)); + function containsPossibleTopLevelAwait(node) { + return !(node.flags & 65536 /* AwaitContext */) && !!(node.transformFlags & 67108864 /* ContainsPossibleTopLevelAwait */); + } + function findNextStatementWithAwait(statements2, start2) { + for (let i = start2; i < statements2.length; i++) { + if (containsPossibleTopLevelAwait(statements2[i])) { + return i; + } + } + return -1; + } + function findNextStatementWithoutAwait(statements2, start2) { + for (let i = start2; i < statements2.length; i++) { + if (!containsPossibleTopLevelAwait(statements2[i])) { + return i; + } + } + return -1; + } + function currentNode2(position) { + const node = baseSyntaxCursor.currentNode(position); + if (topLevel && node && containsPossibleTopLevelAwait(node)) { + markAsIntersectingIncrementalChange(node); + } + return node; + } + } + function fixupParentReferences(rootNode) { + setParentRecursive( + rootNode, + /*incremental*/ + true + ); + } + Parser2.fixupParentReferences = fixupParentReferences; + function createSourceFile2(fileName2, languageVersion2, scriptKind2, isDeclarationFile, statements, endOfFileToken, flags, setExternalModuleIndicator2) { + let sourceFile = factory2.createSourceFile(statements, endOfFileToken, flags); + setTextRangePosWidth(sourceFile, 0, sourceText.length); + setFields(sourceFile); + if (!isDeclarationFile && isExternalModule(sourceFile) && sourceFile.transformFlags & 67108864 /* ContainsPossibleTopLevelAwait */) { + const oldSourceFile = sourceFile; + sourceFile = reparseTopLevelAwait(sourceFile); + if (oldSourceFile !== sourceFile) setFields(sourceFile); + } + return sourceFile; + function setFields(sourceFile2) { + sourceFile2.text = sourceText; + sourceFile2.bindDiagnostics = []; + sourceFile2.bindSuggestionDiagnostics = void 0; + sourceFile2.languageVersion = languageVersion2; + sourceFile2.fileName = fileName2; + sourceFile2.languageVariant = getLanguageVariant(scriptKind2); + sourceFile2.isDeclarationFile = isDeclarationFile; + sourceFile2.scriptKind = scriptKind2; + setExternalModuleIndicator2(sourceFile2); + sourceFile2.setExternalModuleIndicator = setExternalModuleIndicator2; + } + } + function setContextFlag(val, flag) { + if (val) { + contextFlags |= flag; + } else { + contextFlags &= ~flag; + } + } + function setDisallowInContext(val) { + setContextFlag(val, 8192 /* DisallowInContext */); + } + function setYieldContext(val) { + setContextFlag(val, 16384 /* YieldContext */); + } + function setDecoratorContext(val) { + setContextFlag(val, 32768 /* DecoratorContext */); + } + function setAwaitContext(val) { + setContextFlag(val, 65536 /* AwaitContext */); + } + function doOutsideOfContext(context, func) { + const contextFlagsToClear = context & contextFlags; + if (contextFlagsToClear) { + setContextFlag( + /*val*/ + false, + contextFlagsToClear + ); + const result = func(); + setContextFlag( + /*val*/ + true, + contextFlagsToClear + ); + return result; + } + return func(); + } + function doInsideOfContext(context, func) { + const contextFlagsToSet = context & ~contextFlags; + if (contextFlagsToSet) { + setContextFlag( + /*val*/ + true, + contextFlagsToSet + ); + const result = func(); + setContextFlag( + /*val*/ + false, + contextFlagsToSet + ); + return result; + } + return func(); + } + function allowInAnd(func) { + return doOutsideOfContext(8192 /* DisallowInContext */, func); + } + function disallowInAnd(func) { + return doInsideOfContext(8192 /* DisallowInContext */, func); + } + function allowConditionalTypesAnd(func) { + return doOutsideOfContext(131072 /* DisallowConditionalTypesContext */, func); + } + function disallowConditionalTypesAnd(func) { + return doInsideOfContext(131072 /* DisallowConditionalTypesContext */, func); + } + function doInYieldContext(func) { + return doInsideOfContext(16384 /* YieldContext */, func); + } + function doInDecoratorContext(func) { + return doInsideOfContext(32768 /* DecoratorContext */, func); + } + function doInAwaitContext(func) { + return doInsideOfContext(65536 /* AwaitContext */, func); + } + function doOutsideOfAwaitContext(func) { + return doOutsideOfContext(65536 /* AwaitContext */, func); + } + function doInYieldAndAwaitContext(func) { + return doInsideOfContext(16384 /* YieldContext */ | 65536 /* AwaitContext */, func); + } + function doOutsideOfYieldAndAwaitContext(func) { + return doOutsideOfContext(16384 /* YieldContext */ | 65536 /* AwaitContext */, func); + } + function inContext(flags) { + return (contextFlags & flags) !== 0; + } + function inYieldContext() { + return inContext(16384 /* YieldContext */); + } + function inDisallowInContext() { + return inContext(8192 /* DisallowInContext */); + } + function inDisallowConditionalTypesContext() { + return inContext(131072 /* DisallowConditionalTypesContext */); + } + function inDecoratorContext() { + return inContext(32768 /* DecoratorContext */); + } + function inAwaitContext() { + return inContext(65536 /* AwaitContext */); + } + function parseErrorAtCurrentToken(message, ...args) { + return parseErrorAt(scanner.getTokenStart(), scanner.getTokenEnd(), message, ...args); + } + function parseErrorAtPosition(start, length2, message, ...args) { + const lastError = lastOrUndefined(parseDiagnostics); + let result; + if (!lastError || start !== lastError.start) { + result = createDetachedDiagnostic(fileName, sourceText, start, length2, message, ...args); + parseDiagnostics.push(result); + } + parseErrorBeforeNextFinishedNode = true; + return result; + } + function parseErrorAt(start, end, message, ...args) { + return parseErrorAtPosition(start, end - start, message, ...args); + } + function parseErrorAtRange(range, message, ...args) { + parseErrorAt(range.pos, range.end, message, ...args); + } + function scanError(message, length2, arg0) { + parseErrorAtPosition(scanner.getTokenEnd(), length2, message, arg0); + } + function getNodePos() { + return scanner.getTokenFullStart(); + } + function hasPrecedingJSDocComment() { + return scanner.hasPrecedingJSDocComment(); + } + function token() { + return currentToken; + } + function nextTokenWithoutCheck() { + return currentToken = scanner.scan(); + } + function nextTokenAnd(func) { + nextToken(); + return func(); + } + function nextToken() { + if (isKeyword(currentToken) && (scanner.hasUnicodeEscape() || scanner.hasExtendedUnicodeEscape())) { + parseErrorAt(scanner.getTokenStart(), scanner.getTokenEnd(), Diagnostics.Keywords_cannot_contain_escape_characters); + } + return nextTokenWithoutCheck(); + } + function nextTokenJSDoc() { + return currentToken = scanner.scanJsDocToken(); + } + function nextJSDocCommentTextToken(inBackticks) { + return currentToken = scanner.scanJSDocCommentTextToken(inBackticks); + } + function reScanGreaterToken() { + return currentToken = scanner.reScanGreaterToken(); + } + function reScanSlashToken() { + return currentToken = scanner.reScanSlashToken(); + } + function reScanTemplateToken(isTaggedTemplate) { + return currentToken = scanner.reScanTemplateToken(isTaggedTemplate); + } + function reScanLessThanToken() { + return currentToken = scanner.reScanLessThanToken(); + } + function reScanHashToken() { + return currentToken = scanner.reScanHashToken(); + } + function scanJsxIdentifier() { + return currentToken = scanner.scanJsxIdentifier(); + } + function scanJsxText() { + return currentToken = scanner.scanJsxToken(); + } + function scanJsxAttributeValue() { + return currentToken = scanner.scanJsxAttributeValue(); + } + function speculationHelper(callback, speculationKind) { + const saveToken = currentToken; + const saveParseDiagnosticsLength = parseDiagnostics.length; + const saveParseErrorBeforeNextFinishedNode = parseErrorBeforeNextFinishedNode; + const saveContextFlags = contextFlags; + const result = speculationKind !== 0 /* TryParse */ ? scanner.lookAhead(callback) : scanner.tryScan(callback); + Debug.assert(saveContextFlags === contextFlags); + if (!result || speculationKind !== 0 /* TryParse */) { + currentToken = saveToken; + if (speculationKind !== 2 /* Reparse */) { + parseDiagnostics.length = saveParseDiagnosticsLength; + } + parseErrorBeforeNextFinishedNode = saveParseErrorBeforeNextFinishedNode; + } + return result; + } + function lookAhead(callback) { + return speculationHelper(callback, 1 /* Lookahead */); + } + function tryParse(callback) { + return speculationHelper(callback, 0 /* TryParse */); + } + function isBindingIdentifier() { + if (token() === 80 /* Identifier */) { + return true; + } + return token() > 118 /* LastReservedWord */; + } + function isIdentifier2() { + if (token() === 80 /* Identifier */) { + return true; + } + if (token() === 127 /* YieldKeyword */ && inYieldContext()) { + return false; + } + if (token() === 135 /* AwaitKeyword */ && inAwaitContext()) { + return false; + } + return token() > 118 /* LastReservedWord */; + } + function parseExpected(kind, diagnosticMessage, shouldAdvance = true) { + if (token() === kind) { + if (shouldAdvance) { + nextToken(); + } + return true; + } + if (diagnosticMessage) { + parseErrorAtCurrentToken(diagnosticMessage); + } else { + parseErrorAtCurrentToken(Diagnostics._0_expected, tokenToString(kind)); + } + return false; + } + const viableKeywordSuggestions = Object.keys(textToKeywordObj).filter((keyword) => keyword.length > 2); + function parseErrorForMissingSemicolonAfter(node) { + if (isTaggedTemplateExpression(node)) { + parseErrorAt(skipTrivia(sourceText, node.template.pos), node.template.end, Diagnostics.Module_declaration_names_may_only_use_or_quoted_strings); + return; + } + const expressionText = isIdentifier(node) ? idText(node) : void 0; + if (!expressionText || !isIdentifierText(expressionText, languageVersion)) { + parseErrorAtCurrentToken(Diagnostics._0_expected, tokenToString(27 /* SemicolonToken */)); + return; + } + const pos = skipTrivia(sourceText, node.pos); + switch (expressionText) { + case "const": + case "let": + case "var": + parseErrorAt(pos, node.end, Diagnostics.Variable_declaration_not_allowed_at_this_location); + return; + case "declare": + return; + case "interface": + parseErrorForInvalidName(Diagnostics.Interface_name_cannot_be_0, Diagnostics.Interface_must_be_given_a_name, 19 /* OpenBraceToken */); + return; + case "is": + parseErrorAt(pos, scanner.getTokenStart(), Diagnostics.A_type_predicate_is_only_allowed_in_return_type_position_for_functions_and_methods); + return; + case "module": + case "namespace": + parseErrorForInvalidName(Diagnostics.Namespace_name_cannot_be_0, Diagnostics.Namespace_must_be_given_a_name, 19 /* OpenBraceToken */); + return; + case "type": + parseErrorForInvalidName(Diagnostics.Type_alias_name_cannot_be_0, Diagnostics.Type_alias_must_be_given_a_name, 64 /* EqualsToken */); + return; + } + const suggestion = getSpellingSuggestion(expressionText, viableKeywordSuggestions, identity) ?? getSpaceSuggestion(expressionText); + if (suggestion) { + parseErrorAt(pos, node.end, Diagnostics.Unknown_keyword_or_identifier_Did_you_mean_0, suggestion); + return; + } + if (token() === 0 /* Unknown */) { + return; + } + parseErrorAt(pos, node.end, Diagnostics.Unexpected_keyword_or_identifier); + } + function parseErrorForInvalidName(nameDiagnostic, blankDiagnostic, tokenIfBlankName) { + if (token() === tokenIfBlankName) { + parseErrorAtCurrentToken(blankDiagnostic); + } else { + parseErrorAtCurrentToken(nameDiagnostic, scanner.getTokenValue()); + } + } + function getSpaceSuggestion(expressionText) { + for (const keyword of viableKeywordSuggestions) { + if (expressionText.length > keyword.length + 2 && startsWith(expressionText, keyword)) { + return `${keyword} ${expressionText.slice(keyword.length)}`; + } + } + return void 0; + } + function parseSemicolonAfterPropertyName(name, type, initializer) { + if (token() === 60 /* AtToken */ && !scanner.hasPrecedingLineBreak()) { + parseErrorAtCurrentToken(Diagnostics.Decorators_must_precede_the_name_and_all_keywords_of_property_declarations); + return; + } + if (token() === 21 /* OpenParenToken */) { + parseErrorAtCurrentToken(Diagnostics.Cannot_start_a_function_call_in_a_type_annotation); + nextToken(); + return; + } + if (type && !canParseSemicolon()) { + if (initializer) { + parseErrorAtCurrentToken(Diagnostics._0_expected, tokenToString(27 /* SemicolonToken */)); + } else { + parseErrorAtCurrentToken(Diagnostics.Expected_for_property_initializer); + } + return; + } + if (tryParseSemicolon()) { + return; + } + if (initializer) { + parseErrorAtCurrentToken(Diagnostics._0_expected, tokenToString(27 /* SemicolonToken */)); + return; + } + parseErrorForMissingSemicolonAfter(name); + } + function parseExpectedJSDoc(kind) { + if (token() === kind) { + nextTokenJSDoc(); + return true; + } + Debug.assert(isKeywordOrPunctuation(kind)); + parseErrorAtCurrentToken(Diagnostics._0_expected, tokenToString(kind)); + return false; + } + function parseExpectedMatchingBrackets(openKind, closeKind, openParsed, openPosition) { + if (token() === closeKind) { + nextToken(); + return; + } + const lastError = parseErrorAtCurrentToken(Diagnostics._0_expected, tokenToString(closeKind)); + if (!openParsed) { + return; + } + if (lastError) { + addRelatedInfo( + lastError, + createDetachedDiagnostic(fileName, sourceText, openPosition, 1, Diagnostics.The_parser_expected_to_find_a_1_to_match_the_0_token_here, tokenToString(openKind), tokenToString(closeKind)) + ); + } + } + function parseOptional(t) { + if (token() === t) { + nextToken(); + return true; + } + return false; + } + function parseOptionalToken(t) { + if (token() === t) { + return parseTokenNode(); + } + return void 0; + } + function parseOptionalTokenJSDoc(t) { + if (token() === t) { + return parseTokenNodeJSDoc(); + } + return void 0; + } + function parseExpectedToken(t, diagnosticMessage, arg0) { + return parseOptionalToken(t) || createMissingNode( + t, + /*reportAtCurrentPosition*/ + false, + diagnosticMessage || Diagnostics._0_expected, + arg0 || tokenToString(t) + ); + } + function parseExpectedTokenJSDoc(t) { + const optional = parseOptionalTokenJSDoc(t); + if (optional) return optional; + Debug.assert(isKeywordOrPunctuation(t)); + return createMissingNode( + t, + /*reportAtCurrentPosition*/ + false, + Diagnostics._0_expected, + tokenToString(t) + ); + } + function parseTokenNode() { + const pos = getNodePos(); + const kind = token(); + nextToken(); + return finishNode(factoryCreateToken(kind), pos); + } + function parseTokenNodeJSDoc() { + const pos = getNodePos(); + const kind = token(); + nextTokenJSDoc(); + return finishNode(factoryCreateToken(kind), pos); + } + function canParseSemicolon() { + if (token() === 27 /* SemicolonToken */) { + return true; + } + return token() === 20 /* CloseBraceToken */ || token() === 1 /* EndOfFileToken */ || scanner.hasPrecedingLineBreak(); + } + function tryParseSemicolon() { + if (!canParseSemicolon()) { + return false; + } + if (token() === 27 /* SemicolonToken */) { + nextToken(); + } + return true; + } + function parseSemicolon() { + return tryParseSemicolon() || parseExpected(27 /* SemicolonToken */); + } + function createNodeArray(elements, pos, end, hasTrailingComma) { + const array = factoryCreateNodeArray(elements, hasTrailingComma); + setTextRangePosEnd(array, pos, end ?? scanner.getTokenFullStart()); + return array; + } + function finishNode(node, pos, end) { + setTextRangePosEnd(node, pos, end ?? scanner.getTokenFullStart()); + if (contextFlags) { + node.flags |= contextFlags; + } + if (parseErrorBeforeNextFinishedNode) { + parseErrorBeforeNextFinishedNode = false; + node.flags |= 262144 /* ThisNodeHasError */; + } + return node; + } + function createMissingNode(kind, reportAtCurrentPosition, diagnosticMessage, ...args) { + if (reportAtCurrentPosition) { + parseErrorAtPosition(scanner.getTokenFullStart(), 0, diagnosticMessage, ...args); + } else if (diagnosticMessage) { + parseErrorAtCurrentToken(diagnosticMessage, ...args); + } + const pos = getNodePos(); + const result = kind === 80 /* Identifier */ ? factoryCreateIdentifier( + "", + /*originalKeywordKind*/ + void 0 + ) : isTemplateLiteralKind(kind) ? factory2.createTemplateLiteralLikeNode( + kind, + "", + "", + /*templateFlags*/ + void 0 + ) : kind === 9 /* NumericLiteral */ ? factoryCreateNumericLiteral( + "", + /*numericLiteralFlags*/ + void 0 + ) : kind === 11 /* StringLiteral */ ? factoryCreateStringLiteral( + "", + /*isSingleQuote*/ + void 0 + ) : kind === 282 /* MissingDeclaration */ ? factory2.createMissingDeclaration() : factoryCreateToken(kind); + return finishNode(result, pos); + } + function internIdentifier(text) { + let identifier = identifiers.get(text); + if (identifier === void 0) { + identifiers.set(text, identifier = text); + } + return identifier; + } + function createIdentifier(isIdentifier3, diagnosticMessage, privateIdentifierDiagnosticMessage) { + if (isIdentifier3) { + identifierCount++; + const pos = scanner.hasPrecedingJSDocLeadingAsterisks() ? scanner.getTokenStart() : getNodePos(); + const originalKeywordKind = token(); + const text = internIdentifier(scanner.getTokenValue()); + const hasExtendedUnicodeEscape = scanner.hasExtendedUnicodeEscape(); + nextTokenWithoutCheck(); + return finishNode(factoryCreateIdentifier(text, originalKeywordKind, hasExtendedUnicodeEscape), pos); + } + if (token() === 81 /* PrivateIdentifier */) { + parseErrorAtCurrentToken(privateIdentifierDiagnosticMessage || Diagnostics.Private_identifiers_are_not_allowed_outside_class_bodies); + return createIdentifier( + /*isIdentifier*/ + true + ); + } + if (token() === 0 /* Unknown */ && scanner.tryScan(() => scanner.reScanInvalidIdentifier() === 80 /* Identifier */)) { + return createIdentifier( + /*isIdentifier*/ + true + ); + } + identifierCount++; + const reportAtCurrentPosition = token() === 1 /* EndOfFileToken */; + const isReservedWord = scanner.isReservedWord(); + const msgArg = scanner.getTokenText(); + const defaultMessage = isReservedWord ? Diagnostics.Identifier_expected_0_is_a_reserved_word_that_cannot_be_used_here : Diagnostics.Identifier_expected; + return createMissingNode(80 /* Identifier */, reportAtCurrentPosition, diagnosticMessage || defaultMessage, msgArg); + } + function parseBindingIdentifier(privateIdentifierDiagnosticMessage) { + return createIdentifier( + isBindingIdentifier(), + /*diagnosticMessage*/ + void 0, + privateIdentifierDiagnosticMessage + ); + } + function parseIdentifier(diagnosticMessage, privateIdentifierDiagnosticMessage) { + return createIdentifier(isIdentifier2(), diagnosticMessage, privateIdentifierDiagnosticMessage); + } + function parseIdentifierName(diagnosticMessage) { + return createIdentifier(tokenIsIdentifierOrKeyword(token()), diagnosticMessage); + } + function parseIdentifierNameErrorOnUnicodeEscapeSequence() { + if (scanner.hasUnicodeEscape() || scanner.hasExtendedUnicodeEscape()) { + parseErrorAtCurrentToken(Diagnostics.Unicode_escape_sequence_cannot_appear_here); + } + return createIdentifier(tokenIsIdentifierOrKeyword(token())); + } + function isLiteralPropertyName() { + return tokenIsIdentifierOrKeyword(token()) || token() === 11 /* StringLiteral */ || token() === 9 /* NumericLiteral */ || token() === 10 /* BigIntLiteral */; + } + function isImportAttributeName2() { + return tokenIsIdentifierOrKeyword(token()) || token() === 11 /* StringLiteral */; + } + function parsePropertyNameWorker(allowComputedPropertyNames) { + if (token() === 11 /* StringLiteral */ || token() === 9 /* NumericLiteral */ || token() === 10 /* BigIntLiteral */) { + const node = parseLiteralNode(); + node.text = internIdentifier(node.text); + return node; + } + if (allowComputedPropertyNames && token() === 23 /* OpenBracketToken */) { + return parseComputedPropertyName(); + } + if (token() === 81 /* PrivateIdentifier */) { + return parsePrivateIdentifier(); + } + return parseIdentifierName(); + } + function parsePropertyName() { + return parsePropertyNameWorker( + /*allowComputedPropertyNames*/ + true + ); + } + function parseComputedPropertyName() { + const pos = getNodePos(); + parseExpected(23 /* OpenBracketToken */); + const expression = allowInAnd(parseExpression); + parseExpected(24 /* CloseBracketToken */); + return finishNode(factory2.createComputedPropertyName(expression), pos); + } + function parsePrivateIdentifier() { + const pos = getNodePos(); + const node = factoryCreatePrivateIdentifier(internIdentifier(scanner.getTokenValue())); + nextToken(); + return finishNode(node, pos); + } + function parseContextualModifier(t) { + return token() === t && tryParse(nextTokenCanFollowModifier); + } + function nextTokenIsOnSameLineAndCanFollowModifier() { + nextToken(); + if (scanner.hasPrecedingLineBreak()) { + return false; + } + return canFollowModifier(); + } + function nextTokenCanFollowModifier() { + switch (token()) { + case 87 /* ConstKeyword */: + return nextToken() === 94 /* EnumKeyword */; + case 95 /* ExportKeyword */: + nextToken(); + if (token() === 90 /* DefaultKeyword */) { + return lookAhead(nextTokenCanFollowDefaultKeyword); + } + if (token() === 156 /* TypeKeyword */) { + return lookAhead(nextTokenCanFollowExportModifier); + } + return canFollowExportModifier(); + case 90 /* DefaultKeyword */: + return nextTokenCanFollowDefaultKeyword(); + case 126 /* StaticKeyword */: + nextToken(); + return canFollowModifier(); + case 139 /* GetKeyword */: + case 153 /* SetKeyword */: + nextToken(); + return canFollowGetOrSetKeyword(); + default: + return nextTokenIsOnSameLineAndCanFollowModifier(); + } + } + function canFollowExportModifier() { + return token() === 60 /* AtToken */ || token() !== 42 /* AsteriskToken */ && token() !== 130 /* AsKeyword */ && token() !== 19 /* OpenBraceToken */ && canFollowModifier(); + } + function nextTokenCanFollowExportModifier() { + nextToken(); + return canFollowExportModifier(); + } + function parseAnyContextualModifier() { + return isModifierKind(token()) && tryParse(nextTokenCanFollowModifier); + } + function canFollowModifier() { + return token() === 23 /* OpenBracketToken */ || token() === 19 /* OpenBraceToken */ || token() === 42 /* AsteriskToken */ || token() === 26 /* DotDotDotToken */ || isLiteralPropertyName(); + } + function canFollowGetOrSetKeyword() { + return token() === 23 /* OpenBracketToken */ || isLiteralPropertyName(); + } + function nextTokenCanFollowDefaultKeyword() { + nextToken(); + return token() === 86 /* ClassKeyword */ || token() === 100 /* FunctionKeyword */ || token() === 120 /* InterfaceKeyword */ || token() === 60 /* AtToken */ || token() === 128 /* AbstractKeyword */ && lookAhead(nextTokenIsClassKeywordOnSameLine) || token() === 134 /* AsyncKeyword */ && lookAhead(nextTokenIsFunctionKeywordOnSameLine); + } + function isListElement(parsingContext2, inErrorRecovery) { + const node = currentNode(parsingContext2); + if (node) { + return true; + } + switch (parsingContext2) { + case 0 /* SourceElements */: + case 1 /* BlockStatements */: + case 3 /* SwitchClauseStatements */: + return !(token() === 27 /* SemicolonToken */ && inErrorRecovery) && isStartOfStatement(); + case 2 /* SwitchClauses */: + return token() === 84 /* CaseKeyword */ || token() === 90 /* DefaultKeyword */; + case 4 /* TypeMembers */: + return lookAhead(isTypeMemberStart); + case 5 /* ClassMembers */: + return lookAhead(isClassMemberStart) || token() === 27 /* SemicolonToken */ && !inErrorRecovery; + case 6 /* EnumMembers */: + return token() === 23 /* OpenBracketToken */ || isLiteralPropertyName(); + case 12 /* ObjectLiteralMembers */: + switch (token()) { + case 23 /* OpenBracketToken */: + case 42 /* AsteriskToken */: + case 26 /* DotDotDotToken */: + case 25 /* DotToken */: + return true; + default: + return isLiteralPropertyName(); + } + case 18 /* RestProperties */: + return isLiteralPropertyName(); + case 9 /* ObjectBindingElements */: + return token() === 23 /* OpenBracketToken */ || token() === 26 /* DotDotDotToken */ || isLiteralPropertyName(); + case 24 /* ImportAttributes */: + return isImportAttributeName2(); + case 7 /* HeritageClauseElement */: + if (token() === 19 /* OpenBraceToken */) { + return lookAhead(isValidHeritageClauseObjectLiteral); + } + if (!inErrorRecovery) { + return isStartOfLeftHandSideExpression() && !isHeritageClauseExtendsOrImplementsKeyword(); + } else { + return isIdentifier2() && !isHeritageClauseExtendsOrImplementsKeyword(); + } + case 8 /* VariableDeclarations */: + return isBindingIdentifierOrPrivateIdentifierOrPattern(); + case 10 /* ArrayBindingElements */: + return token() === 28 /* CommaToken */ || token() === 26 /* DotDotDotToken */ || isBindingIdentifierOrPrivateIdentifierOrPattern(); + case 19 /* TypeParameters */: + return token() === 103 /* InKeyword */ || token() === 87 /* ConstKeyword */ || isIdentifier2(); + case 15 /* ArrayLiteralMembers */: + switch (token()) { + case 28 /* CommaToken */: + case 25 /* DotToken */: + return true; + } + // falls through + case 11 /* ArgumentExpressions */: + return token() === 26 /* DotDotDotToken */ || isStartOfExpression(); + case 16 /* Parameters */: + return isStartOfParameter( + /*isJSDocParameter*/ + false + ); + case 17 /* JSDocParameters */: + return isStartOfParameter( + /*isJSDocParameter*/ + true + ); + case 20 /* TypeArguments */: + case 21 /* TupleElementTypes */: + return token() === 28 /* CommaToken */ || isStartOfType(); + case 22 /* HeritageClauses */: + return isHeritageClause2(); + case 23 /* ImportOrExportSpecifiers */: + if (token() === 161 /* FromKeyword */ && lookAhead(nextTokenIsStringLiteral)) { + return false; + } + if (token() === 11 /* StringLiteral */) { + return true; + } + return tokenIsIdentifierOrKeyword(token()); + case 13 /* JsxAttributes */: + return tokenIsIdentifierOrKeyword(token()) || token() === 19 /* OpenBraceToken */; + case 14 /* JsxChildren */: + return true; + case 25 /* JSDocComment */: + return true; + case 26 /* Count */: + return Debug.fail("ParsingContext.Count used as a context"); + // Not a real context, only a marker. + default: + Debug.assertNever(parsingContext2, "Non-exhaustive case in 'isListElement'."); + } + } + function isValidHeritageClauseObjectLiteral() { + Debug.assert(token() === 19 /* OpenBraceToken */); + if (nextToken() === 20 /* CloseBraceToken */) { + const next = nextToken(); + return next === 28 /* CommaToken */ || next === 19 /* OpenBraceToken */ || next === 96 /* ExtendsKeyword */ || next === 119 /* ImplementsKeyword */; + } + return true; + } + function nextTokenIsIdentifier() { + nextToken(); + return isIdentifier2(); + } + function nextTokenIsIdentifierOrKeyword() { + nextToken(); + return tokenIsIdentifierOrKeyword(token()); + } + function nextTokenIsIdentifierOrKeywordOrGreaterThan() { + nextToken(); + return tokenIsIdentifierOrKeywordOrGreaterThan(token()); + } + function isHeritageClauseExtendsOrImplementsKeyword() { + if (token() === 119 /* ImplementsKeyword */ || token() === 96 /* ExtendsKeyword */) { + return lookAhead(nextTokenIsStartOfExpression); + } + return false; + } + function nextTokenIsStartOfExpression() { + nextToken(); + return isStartOfExpression(); + } + function nextTokenIsStartOfType() { + nextToken(); + return isStartOfType(); + } + function isListTerminator(kind) { + if (token() === 1 /* EndOfFileToken */) { + return true; + } + switch (kind) { + case 1 /* BlockStatements */: + case 2 /* SwitchClauses */: + case 4 /* TypeMembers */: + case 5 /* ClassMembers */: + case 6 /* EnumMembers */: + case 12 /* ObjectLiteralMembers */: + case 9 /* ObjectBindingElements */: + case 23 /* ImportOrExportSpecifiers */: + case 24 /* ImportAttributes */: + return token() === 20 /* CloseBraceToken */; + case 3 /* SwitchClauseStatements */: + return token() === 20 /* CloseBraceToken */ || token() === 84 /* CaseKeyword */ || token() === 90 /* DefaultKeyword */; + case 7 /* HeritageClauseElement */: + return token() === 19 /* OpenBraceToken */ || token() === 96 /* ExtendsKeyword */ || token() === 119 /* ImplementsKeyword */; + case 8 /* VariableDeclarations */: + return isVariableDeclaratorListTerminator(); + case 19 /* TypeParameters */: + return token() === 32 /* GreaterThanToken */ || token() === 21 /* OpenParenToken */ || token() === 19 /* OpenBraceToken */ || token() === 96 /* ExtendsKeyword */ || token() === 119 /* ImplementsKeyword */; + case 11 /* ArgumentExpressions */: + return token() === 22 /* CloseParenToken */ || token() === 27 /* SemicolonToken */; + case 15 /* ArrayLiteralMembers */: + case 21 /* TupleElementTypes */: + case 10 /* ArrayBindingElements */: + return token() === 24 /* CloseBracketToken */; + case 17 /* JSDocParameters */: + case 16 /* Parameters */: + case 18 /* RestProperties */: + return token() === 22 /* CloseParenToken */ || token() === 24 /* CloseBracketToken */; + case 20 /* TypeArguments */: + return token() !== 28 /* CommaToken */; + case 22 /* HeritageClauses */: + return token() === 19 /* OpenBraceToken */ || token() === 20 /* CloseBraceToken */; + case 13 /* JsxAttributes */: + return token() === 32 /* GreaterThanToken */ || token() === 44 /* SlashToken */; + case 14 /* JsxChildren */: + return token() === 30 /* LessThanToken */ && lookAhead(nextTokenIsSlash); + default: + return false; + } + } + function isVariableDeclaratorListTerminator() { + if (canParseSemicolon()) { + return true; + } + if (isInOrOfKeyword(token())) { + return true; + } + if (token() === 39 /* EqualsGreaterThanToken */) { + return true; + } + return false; + } + function isInSomeParsingContext() { + Debug.assert(parsingContext, "Missing parsing context"); + for (let kind = 0; kind < 26 /* Count */; kind++) { + if (parsingContext & 1 << kind) { + if (isListElement( + kind, + /*inErrorRecovery*/ + true + ) || isListTerminator(kind)) { + return true; + } + } + } + return false; + } + function parseList(kind, parseElement) { + const saveParsingContext = parsingContext; + parsingContext |= 1 << kind; + const list = []; + const listPos = getNodePos(); + while (!isListTerminator(kind)) { + if (isListElement( + kind, + /*inErrorRecovery*/ + false + )) { + list.push(parseListElement(kind, parseElement)); + continue; + } + if (abortParsingListOrMoveToNextToken(kind)) { + break; + } + } + parsingContext = saveParsingContext; + return createNodeArray(list, listPos); + } + function parseListElement(parsingContext2, parseElement) { + const node = currentNode(parsingContext2); + if (node) { + return consumeNode(node); + } + return parseElement(); + } + function currentNode(parsingContext2, pos) { + var _a; + if (!syntaxCursor || !isReusableParsingContext(parsingContext2) || parseErrorBeforeNextFinishedNode) { + return void 0; + } + const node = syntaxCursor.currentNode(pos ?? scanner.getTokenFullStart()); + if (nodeIsMissing(node) || intersectsIncrementalChange(node) || containsParseError(node)) { + return void 0; + } + const nodeContextFlags = node.flags & 101441536 /* ContextFlags */; + if (nodeContextFlags !== contextFlags) { + return void 0; + } + if (!canReuseNode(node, parsingContext2)) { + return void 0; + } + if (canHaveJSDoc(node) && ((_a = node.jsDoc) == null ? void 0 : _a.jsDocCache)) { + node.jsDoc.jsDocCache = void 0; + } + return node; + } + function consumeNode(node) { + scanner.resetTokenState(node.end); + nextToken(); + return node; + } + function isReusableParsingContext(parsingContext2) { + switch (parsingContext2) { + case 5 /* ClassMembers */: + case 2 /* SwitchClauses */: + case 0 /* SourceElements */: + case 1 /* BlockStatements */: + case 3 /* SwitchClauseStatements */: + case 6 /* EnumMembers */: + case 4 /* TypeMembers */: + case 8 /* VariableDeclarations */: + case 17 /* JSDocParameters */: + case 16 /* Parameters */: + return true; + } + return false; + } + function canReuseNode(node, parsingContext2) { + switch (parsingContext2) { + case 5 /* ClassMembers */: + return isReusableClassMember(node); + case 2 /* SwitchClauses */: + return isReusableSwitchClause(node); + case 0 /* SourceElements */: + case 1 /* BlockStatements */: + case 3 /* SwitchClauseStatements */: + return isReusableStatement(node); + case 6 /* EnumMembers */: + return isReusableEnumMember(node); + case 4 /* TypeMembers */: + return isReusableTypeMember(node); + case 8 /* VariableDeclarations */: + return isReusableVariableDeclaration(node); + case 17 /* JSDocParameters */: + case 16 /* Parameters */: + return isReusableParameter(node); + } + return false; + } + function isReusableClassMember(node) { + if (node) { + switch (node.kind) { + case 176 /* Constructor */: + case 181 /* IndexSignature */: + case 177 /* GetAccessor */: + case 178 /* SetAccessor */: + case 172 /* PropertyDeclaration */: + case 240 /* SemicolonClassElement */: + return true; + case 174 /* MethodDeclaration */: + const methodDeclaration = node; + const nameIsConstructor = methodDeclaration.name.kind === 80 /* Identifier */ && methodDeclaration.name.escapedText === "constructor"; + return !nameIsConstructor; + } + } + return false; + } + function isReusableSwitchClause(node) { + if (node) { + switch (node.kind) { + case 296 /* CaseClause */: + case 297 /* DefaultClause */: + return true; + } + } + return false; + } + function isReusableStatement(node) { + if (node) { + switch (node.kind) { + case 262 /* FunctionDeclaration */: + case 243 /* VariableStatement */: + case 241 /* Block */: + case 245 /* IfStatement */: + case 244 /* ExpressionStatement */: + case 257 /* ThrowStatement */: + case 253 /* ReturnStatement */: + case 255 /* SwitchStatement */: + case 252 /* BreakStatement */: + case 251 /* ContinueStatement */: + case 249 /* ForInStatement */: + case 250 /* ForOfStatement */: + case 248 /* ForStatement */: + case 247 /* WhileStatement */: + case 254 /* WithStatement */: + case 242 /* EmptyStatement */: + case 258 /* TryStatement */: + case 256 /* LabeledStatement */: + case 246 /* DoStatement */: + case 259 /* DebuggerStatement */: + case 272 /* ImportDeclaration */: + case 271 /* ImportEqualsDeclaration */: + case 278 /* ExportDeclaration */: + case 277 /* ExportAssignment */: + case 267 /* ModuleDeclaration */: + case 263 /* ClassDeclaration */: + case 264 /* InterfaceDeclaration */: + case 266 /* EnumDeclaration */: + case 265 /* TypeAliasDeclaration */: + return true; + } + } + return false; + } + function isReusableEnumMember(node) { + return node.kind === 306 /* EnumMember */; + } + function isReusableTypeMember(node) { + if (node) { + switch (node.kind) { + case 180 /* ConstructSignature */: + case 173 /* MethodSignature */: + case 181 /* IndexSignature */: + case 171 /* PropertySignature */: + case 179 /* CallSignature */: + return true; + } + } + return false; + } + function isReusableVariableDeclaration(node) { + if (node.kind !== 260 /* VariableDeclaration */) { + return false; + } + const variableDeclarator = node; + return variableDeclarator.initializer === void 0; + } + function isReusableParameter(node) { + if (node.kind !== 169 /* Parameter */) { + return false; + } + const parameter = node; + return parameter.initializer === void 0; + } + function abortParsingListOrMoveToNextToken(kind) { + parsingContextErrors(kind); + if (isInSomeParsingContext()) { + return true; + } + nextToken(); + return false; + } + function parsingContextErrors(context) { + switch (context) { + case 0 /* SourceElements */: + return token() === 90 /* DefaultKeyword */ ? parseErrorAtCurrentToken(Diagnostics._0_expected, tokenToString(95 /* ExportKeyword */)) : parseErrorAtCurrentToken(Diagnostics.Declaration_or_statement_expected); + case 1 /* BlockStatements */: + return parseErrorAtCurrentToken(Diagnostics.Declaration_or_statement_expected); + case 2 /* SwitchClauses */: + return parseErrorAtCurrentToken(Diagnostics.case_or_default_expected); + case 3 /* SwitchClauseStatements */: + return parseErrorAtCurrentToken(Diagnostics.Statement_expected); + case 18 /* RestProperties */: + // fallthrough + case 4 /* TypeMembers */: + return parseErrorAtCurrentToken(Diagnostics.Property_or_signature_expected); + case 5 /* ClassMembers */: + return parseErrorAtCurrentToken(Diagnostics.Unexpected_token_A_constructor_method_accessor_or_property_was_expected); + case 6 /* EnumMembers */: + return parseErrorAtCurrentToken(Diagnostics.Enum_member_expected); + case 7 /* HeritageClauseElement */: + return parseErrorAtCurrentToken(Diagnostics.Expression_expected); + case 8 /* VariableDeclarations */: + return isKeyword(token()) ? parseErrorAtCurrentToken(Diagnostics._0_is_not_allowed_as_a_variable_declaration_name, tokenToString(token())) : parseErrorAtCurrentToken(Diagnostics.Variable_declaration_expected); + case 9 /* ObjectBindingElements */: + return parseErrorAtCurrentToken(Diagnostics.Property_destructuring_pattern_expected); + case 10 /* ArrayBindingElements */: + return parseErrorAtCurrentToken(Diagnostics.Array_element_destructuring_pattern_expected); + case 11 /* ArgumentExpressions */: + return parseErrorAtCurrentToken(Diagnostics.Argument_expression_expected); + case 12 /* ObjectLiteralMembers */: + return parseErrorAtCurrentToken(Diagnostics.Property_assignment_expected); + case 15 /* ArrayLiteralMembers */: + return parseErrorAtCurrentToken(Diagnostics.Expression_or_comma_expected); + case 17 /* JSDocParameters */: + return parseErrorAtCurrentToken(Diagnostics.Parameter_declaration_expected); + case 16 /* Parameters */: + return isKeyword(token()) ? parseErrorAtCurrentToken(Diagnostics._0_is_not_allowed_as_a_parameter_name, tokenToString(token())) : parseErrorAtCurrentToken(Diagnostics.Parameter_declaration_expected); + case 19 /* TypeParameters */: + return parseErrorAtCurrentToken(Diagnostics.Type_parameter_declaration_expected); + case 20 /* TypeArguments */: + return parseErrorAtCurrentToken(Diagnostics.Type_argument_expected); + case 21 /* TupleElementTypes */: + return parseErrorAtCurrentToken(Diagnostics.Type_expected); + case 22 /* HeritageClauses */: + return parseErrorAtCurrentToken(Diagnostics.Unexpected_token_expected); + case 23 /* ImportOrExportSpecifiers */: + if (token() === 161 /* FromKeyword */) { + return parseErrorAtCurrentToken(Diagnostics._0_expected, "}"); + } + return parseErrorAtCurrentToken(Diagnostics.Identifier_expected); + case 13 /* JsxAttributes */: + return parseErrorAtCurrentToken(Diagnostics.Identifier_expected); + case 14 /* JsxChildren */: + return parseErrorAtCurrentToken(Diagnostics.Identifier_expected); + case 24 /* ImportAttributes */: + return parseErrorAtCurrentToken(Diagnostics.Identifier_or_string_literal_expected); + case 25 /* JSDocComment */: + return parseErrorAtCurrentToken(Diagnostics.Identifier_expected); + case 26 /* Count */: + return Debug.fail("ParsingContext.Count used as a context"); + // Not a real context, only a marker. + default: + Debug.assertNever(context); + } + } + function parseDelimitedList(kind, parseElement, considerSemicolonAsDelimiter) { + const saveParsingContext = parsingContext; + parsingContext |= 1 << kind; + const list = []; + const listPos = getNodePos(); + let commaStart = -1; + while (true) { + if (isListElement( + kind, + /*inErrorRecovery*/ + false + )) { + const startPos = scanner.getTokenFullStart(); + const result = parseListElement(kind, parseElement); + if (!result) { + parsingContext = saveParsingContext; + return void 0; + } + list.push(result); + commaStart = scanner.getTokenStart(); + if (parseOptional(28 /* CommaToken */)) { + continue; + } + commaStart = -1; + if (isListTerminator(kind)) { + break; + } + parseExpected(28 /* CommaToken */, getExpectedCommaDiagnostic(kind)); + if (considerSemicolonAsDelimiter && token() === 27 /* SemicolonToken */ && !scanner.hasPrecedingLineBreak()) { + nextToken(); + } + if (startPos === scanner.getTokenFullStart()) { + nextToken(); + } + continue; + } + if (isListTerminator(kind)) { + break; + } + if (abortParsingListOrMoveToNextToken(kind)) { + break; + } + } + parsingContext = saveParsingContext; + return createNodeArray( + list, + listPos, + /*end*/ + void 0, + commaStart >= 0 + ); + } + function getExpectedCommaDiagnostic(kind) { + return kind === 6 /* EnumMembers */ ? Diagnostics.An_enum_member_name_must_be_followed_by_a_or : void 0; + } + function createMissingList() { + const list = createNodeArray([], getNodePos()); + list.isMissingList = true; + return list; + } + function isMissingList(arr) { + return !!arr.isMissingList; + } + function parseBracketedList(kind, parseElement, open, close) { + if (parseExpected(open)) { + const result = parseDelimitedList(kind, parseElement); + parseExpected(close); + return result; + } + return createMissingList(); + } + function parseEntityName(allowReservedWords, diagnosticMessage) { + const pos = getNodePos(); + let entity = allowReservedWords ? parseIdentifierName(diagnosticMessage) : parseIdentifier(diagnosticMessage); + while (parseOptional(25 /* DotToken */)) { + if (token() === 30 /* LessThanToken */) { + break; + } + entity = finishNode( + factory2.createQualifiedName( + entity, + parseRightSideOfDot( + allowReservedWords, + /*allowPrivateIdentifiers*/ + false, + /*allowUnicodeEscapeSequenceInIdentifierName*/ + true + ) + ), + pos + ); + } + return entity; + } + function createQualifiedName(entity, name) { + return finishNode(factory2.createQualifiedName(entity, name), entity.pos); + } + function parseRightSideOfDot(allowIdentifierNames, allowPrivateIdentifiers, allowUnicodeEscapeSequenceInIdentifierName) { + if (scanner.hasPrecedingLineBreak() && tokenIsIdentifierOrKeyword(token())) { + const matchesPattern = lookAhead(nextTokenIsIdentifierOrKeywordOnSameLine); + if (matchesPattern) { + return createMissingNode( + 80 /* Identifier */, + /*reportAtCurrentPosition*/ + true, + Diagnostics.Identifier_expected + ); + } + } + if (token() === 81 /* PrivateIdentifier */) { + const node = parsePrivateIdentifier(); + return allowPrivateIdentifiers ? node : createMissingNode( + 80 /* Identifier */, + /*reportAtCurrentPosition*/ + true, + Diagnostics.Identifier_expected + ); + } + if (allowIdentifierNames) { + return allowUnicodeEscapeSequenceInIdentifierName ? parseIdentifierName() : parseIdentifierNameErrorOnUnicodeEscapeSequence(); + } + return parseIdentifier(); + } + function parseTemplateSpans(isTaggedTemplate) { + const pos = getNodePos(); + const list = []; + let node; + do { + node = parseTemplateSpan(isTaggedTemplate); + list.push(node); + } while (node.literal.kind === 17 /* TemplateMiddle */); + return createNodeArray(list, pos); + } + function parseTemplateExpression(isTaggedTemplate) { + const pos = getNodePos(); + return finishNode( + factory2.createTemplateExpression( + parseTemplateHead(isTaggedTemplate), + parseTemplateSpans(isTaggedTemplate) + ), + pos + ); + } + function parseTemplateType() { + const pos = getNodePos(); + return finishNode( + factory2.createTemplateLiteralType( + parseTemplateHead( + /*isTaggedTemplate*/ + false + ), + parseTemplateTypeSpans() + ), + pos + ); + } + function parseTemplateTypeSpans() { + const pos = getNodePos(); + const list = []; + let node; + do { + node = parseTemplateTypeSpan(); + list.push(node); + } while (node.literal.kind === 17 /* TemplateMiddle */); + return createNodeArray(list, pos); + } + function parseTemplateTypeSpan() { + const pos = getNodePos(); + return finishNode( + factory2.createTemplateLiteralTypeSpan( + parseType(), + parseLiteralOfTemplateSpan( + /*isTaggedTemplate*/ + false + ) + ), + pos + ); + } + function parseLiteralOfTemplateSpan(isTaggedTemplate) { + if (token() === 20 /* CloseBraceToken */) { + reScanTemplateToken(isTaggedTemplate); + return parseTemplateMiddleOrTemplateTail(); + } else { + return parseExpectedToken(18 /* TemplateTail */, Diagnostics._0_expected, tokenToString(20 /* CloseBraceToken */)); + } + } + function parseTemplateSpan(isTaggedTemplate) { + const pos = getNodePos(); + return finishNode( + factory2.createTemplateSpan( + allowInAnd(parseExpression), + parseLiteralOfTemplateSpan(isTaggedTemplate) + ), + pos + ); + } + function parseLiteralNode() { + return parseLiteralLikeNode(token()); + } + function parseTemplateHead(isTaggedTemplate) { + if (!isTaggedTemplate && scanner.getTokenFlags() & 26656 /* IsInvalid */) { + reScanTemplateToken( + /*isTaggedTemplate*/ + false + ); + } + const fragment = parseLiteralLikeNode(token()); + Debug.assert(fragment.kind === 16 /* TemplateHead */, "Template head has wrong token kind"); + return fragment; + } + function parseTemplateMiddleOrTemplateTail() { + const fragment = parseLiteralLikeNode(token()); + Debug.assert(fragment.kind === 17 /* TemplateMiddle */ || fragment.kind === 18 /* TemplateTail */, "Template fragment has wrong token kind"); + return fragment; + } + function getTemplateLiteralRawText(kind) { + const isLast = kind === 15 /* NoSubstitutionTemplateLiteral */ || kind === 18 /* TemplateTail */; + const tokenText = scanner.getTokenText(); + return tokenText.substring(1, tokenText.length - (scanner.isUnterminated() ? 0 : isLast ? 1 : 2)); + } + function parseLiteralLikeNode(kind) { + const pos = getNodePos(); + const node = isTemplateLiteralKind(kind) ? factory2.createTemplateLiteralLikeNode(kind, scanner.getTokenValue(), getTemplateLiteralRawText(kind), scanner.getTokenFlags() & 7176 /* TemplateLiteralLikeFlags */) : ( + // Note that theoretically the following condition would hold true literals like 009, + // which is not octal. But because of how the scanner separates the tokens, we would + // never get a token like this. Instead, we would get 00 and 9 as two separate tokens. + // We also do not need to check for negatives because any prefix operator would be part of a + // parent unary expression. + kind === 9 /* NumericLiteral */ ? factoryCreateNumericLiteral(scanner.getTokenValue(), scanner.getNumericLiteralFlags()) : kind === 11 /* StringLiteral */ ? factoryCreateStringLiteral( + scanner.getTokenValue(), + /*isSingleQuote*/ + void 0, + scanner.hasExtendedUnicodeEscape() + ) : isLiteralKind(kind) ? factoryCreateLiteralLikeNode(kind, scanner.getTokenValue()) : Debug.fail() + ); + if (scanner.hasExtendedUnicodeEscape()) { + node.hasExtendedUnicodeEscape = true; + } + if (scanner.isUnterminated()) { + node.isUnterminated = true; + } + nextToken(); + return finishNode(node, pos); + } + function parseEntityNameOfTypeReference() { + return parseEntityName( + /*allowReservedWords*/ + true, + Diagnostics.Type_expected + ); + } + function parseTypeArgumentsOfTypeReference() { + if (!scanner.hasPrecedingLineBreak() && reScanLessThanToken() === 30 /* LessThanToken */) { + return parseBracketedList(20 /* TypeArguments */, parseType, 30 /* LessThanToken */, 32 /* GreaterThanToken */); + } + } + function parseTypeReference() { + const pos = getNodePos(); + return finishNode( + factory2.createTypeReferenceNode( + parseEntityNameOfTypeReference(), + parseTypeArgumentsOfTypeReference() + ), + pos + ); + } + function typeHasArrowFunctionBlockingParseError(node) { + switch (node.kind) { + case 183 /* TypeReference */: + return nodeIsMissing(node.typeName); + case 184 /* FunctionType */: + case 185 /* ConstructorType */: { + const { parameters, type } = node; + return isMissingList(parameters) || typeHasArrowFunctionBlockingParseError(type); + } + case 196 /* ParenthesizedType */: + return typeHasArrowFunctionBlockingParseError(node.type); + default: + return false; + } + } + function parseThisTypePredicate(lhs) { + nextToken(); + return finishNode(factory2.createTypePredicateNode( + /*assertsModifier*/ + void 0, + lhs, + parseType() + ), lhs.pos); + } + function parseThisTypeNode() { + const pos = getNodePos(); + nextToken(); + return finishNode(factory2.createThisTypeNode(), pos); + } + function parseJSDocAllType() { + const pos = getNodePos(); + nextToken(); + return finishNode(factory2.createJSDocAllType(), pos); + } + function parseJSDocNonNullableType() { + const pos = getNodePos(); + nextToken(); + return finishNode(factory2.createJSDocNonNullableType( + parseNonArrayType(), + /*postfix*/ + false + ), pos); + } + function parseJSDocUnknownOrNullableType() { + const pos = getNodePos(); + nextToken(); + if (token() === 28 /* CommaToken */ || token() === 20 /* CloseBraceToken */ || token() === 22 /* CloseParenToken */ || token() === 32 /* GreaterThanToken */ || token() === 64 /* EqualsToken */ || token() === 52 /* BarToken */) { + return finishNode(factory2.createJSDocUnknownType(), pos); + } else { + return finishNode(factory2.createJSDocNullableType( + parseType(), + /*postfix*/ + false + ), pos); + } + } + function parseJSDocFunctionType() { + const pos = getNodePos(); + const hasJSDoc = hasPrecedingJSDocComment(); + if (tryParse(nextTokenIsOpenParen)) { + const parameters = parseParameters(4 /* Type */ | 32 /* JSDoc */); + const type = parseReturnType( + 59 /* ColonToken */, + /*isType*/ + false + ); + return withJSDoc(finishNode(factory2.createJSDocFunctionType(parameters, type), pos), hasJSDoc); + } + return finishNode(factory2.createTypeReferenceNode( + parseIdentifierName(), + /*typeArguments*/ + void 0 + ), pos); + } + function parseJSDocParameter() { + const pos = getNodePos(); + let name; + if (token() === 110 /* ThisKeyword */ || token() === 105 /* NewKeyword */) { + name = parseIdentifierName(); + parseExpected(59 /* ColonToken */); + } + return finishNode( + factory2.createParameterDeclaration( + /*modifiers*/ + void 0, + /*dotDotDotToken*/ + void 0, + // TODO(rbuckton): JSDoc parameters don't have names (except `this`/`new`), should we manufacture an empty identifier? + name, + /*questionToken*/ + void 0, + parseJSDocType(), + /*initializer*/ + void 0 + ), + pos + ); + } + function parseJSDocType() { + scanner.setSkipJsDocLeadingAsterisks(true); + const pos = getNodePos(); + if (parseOptional(144 /* ModuleKeyword */)) { + const moduleTag = factory2.createJSDocNamepathType( + /*type*/ + void 0 + ); + terminate: + while (true) { + switch (token()) { + case 20 /* CloseBraceToken */: + case 1 /* EndOfFileToken */: + case 28 /* CommaToken */: + case 5 /* WhitespaceTrivia */: + break terminate; + default: + nextTokenJSDoc(); + } + } + scanner.setSkipJsDocLeadingAsterisks(false); + return finishNode(moduleTag, pos); + } + const hasDotDotDot = parseOptional(26 /* DotDotDotToken */); + let type = parseTypeOrTypePredicate(); + scanner.setSkipJsDocLeadingAsterisks(false); + if (hasDotDotDot) { + type = finishNode(factory2.createJSDocVariadicType(type), pos); + } + if (token() === 64 /* EqualsToken */) { + nextToken(); + return finishNode(factory2.createJSDocOptionalType(type), pos); + } + return type; + } + function parseTypeQuery() { + const pos = getNodePos(); + parseExpected(114 /* TypeOfKeyword */); + const entityName = parseEntityName( + /*allowReservedWords*/ + true + ); + const typeArguments = !scanner.hasPrecedingLineBreak() ? tryParseTypeArguments() : void 0; + return finishNode(factory2.createTypeQueryNode(entityName, typeArguments), pos); + } + function parseTypeParameter() { + const pos = getNodePos(); + const modifiers = parseModifiers( + /*allowDecorators*/ + false, + /*permitConstAsModifier*/ + true + ); + const name = parseIdentifier(); + let constraint; + let expression; + if (parseOptional(96 /* ExtendsKeyword */)) { + if (isStartOfType() || !isStartOfExpression()) { + constraint = parseType(); + } else { + expression = parseUnaryExpressionOrHigher(); + } + } + const defaultType = parseOptional(64 /* EqualsToken */) ? parseType() : void 0; + const node = factory2.createTypeParameterDeclaration(modifiers, name, constraint, defaultType); + node.expression = expression; + return finishNode(node, pos); + } + function parseTypeParameters() { + if (token() === 30 /* LessThanToken */) { + return parseBracketedList(19 /* TypeParameters */, parseTypeParameter, 30 /* LessThanToken */, 32 /* GreaterThanToken */); + } + } + function isStartOfParameter(isJSDocParameter) { + return token() === 26 /* DotDotDotToken */ || isBindingIdentifierOrPrivateIdentifierOrPattern() || isModifierKind(token()) || token() === 60 /* AtToken */ || isStartOfType( + /*inStartOfParameter*/ + !isJSDocParameter + ); + } + function parseNameOfParameter(modifiers) { + const name = parseIdentifierOrPattern(Diagnostics.Private_identifiers_cannot_be_used_as_parameters); + if (getFullWidth(name) === 0 && !some(modifiers) && isModifierKind(token())) { + nextToken(); + } + return name; + } + function isParameterNameStart() { + return isBindingIdentifier() || token() === 23 /* OpenBracketToken */ || token() === 19 /* OpenBraceToken */; + } + function parseParameter(inOuterAwaitContext) { + return parseParameterWorker(inOuterAwaitContext); + } + function parseParameterForSpeculation(inOuterAwaitContext) { + return parseParameterWorker( + inOuterAwaitContext, + /*allowAmbiguity*/ + false + ); + } + function parseParameterWorker(inOuterAwaitContext, allowAmbiguity = true) { + const pos = getNodePos(); + const hasJSDoc = hasPrecedingJSDocComment(); + const modifiers = inOuterAwaitContext ? doInAwaitContext(() => parseModifiers( + /*allowDecorators*/ + true + )) : doOutsideOfAwaitContext(() => parseModifiers( + /*allowDecorators*/ + true + )); + if (token() === 110 /* ThisKeyword */) { + const node2 = factory2.createParameterDeclaration( + modifiers, + /*dotDotDotToken*/ + void 0, + createIdentifier( + /*isIdentifier*/ + true + ), + /*questionToken*/ + void 0, + parseTypeAnnotation(), + /*initializer*/ + void 0 + ); + const modifier = firstOrUndefined(modifiers); + if (modifier) { + parseErrorAtRange(modifier, Diagnostics.Neither_decorators_nor_modifiers_may_be_applied_to_this_parameters); + } + return withJSDoc(finishNode(node2, pos), hasJSDoc); + } + const savedTopLevel = topLevel; + topLevel = false; + const dotDotDotToken = parseOptionalToken(26 /* DotDotDotToken */); + if (!allowAmbiguity && !isParameterNameStart()) { + return void 0; + } + const node = withJSDoc( + finishNode( + factory2.createParameterDeclaration( + modifiers, + dotDotDotToken, + parseNameOfParameter(modifiers), + parseOptionalToken(58 /* QuestionToken */), + parseTypeAnnotation(), + parseInitializer() + ), + pos + ), + hasJSDoc + ); + topLevel = savedTopLevel; + return node; + } + function parseReturnType(returnToken, isType) { + if (shouldParseReturnType(returnToken, isType)) { + return allowConditionalTypesAnd(parseTypeOrTypePredicate); + } + } + function shouldParseReturnType(returnToken, isType) { + if (returnToken === 39 /* EqualsGreaterThanToken */) { + parseExpected(returnToken); + return true; + } else if (parseOptional(59 /* ColonToken */)) { + return true; + } else if (isType && token() === 39 /* EqualsGreaterThanToken */) { + parseErrorAtCurrentToken(Diagnostics._0_expected, tokenToString(59 /* ColonToken */)); + nextToken(); + return true; + } + return false; + } + function parseParametersWorker(flags, allowAmbiguity) { + const savedYieldContext = inYieldContext(); + const savedAwaitContext = inAwaitContext(); + setYieldContext(!!(flags & 1 /* Yield */)); + setAwaitContext(!!(flags & 2 /* Await */)); + const parameters = flags & 32 /* JSDoc */ ? parseDelimitedList(17 /* JSDocParameters */, parseJSDocParameter) : parseDelimitedList(16 /* Parameters */, () => allowAmbiguity ? parseParameter(savedAwaitContext) : parseParameterForSpeculation(savedAwaitContext)); + setYieldContext(savedYieldContext); + setAwaitContext(savedAwaitContext); + return parameters; + } + function parseParameters(flags) { + if (!parseExpected(21 /* OpenParenToken */)) { + return createMissingList(); + } + const parameters = parseParametersWorker( + flags, + /*allowAmbiguity*/ + true + ); + parseExpected(22 /* CloseParenToken */); + return parameters; + } + function parseTypeMemberSemicolon() { + if (parseOptional(28 /* CommaToken */)) { + return; + } + parseSemicolon(); + } + function parseSignatureMember(kind) { + const pos = getNodePos(); + const hasJSDoc = hasPrecedingJSDocComment(); + if (kind === 180 /* ConstructSignature */) { + parseExpected(105 /* NewKeyword */); + } + const typeParameters = parseTypeParameters(); + const parameters = parseParameters(4 /* Type */); + const type = parseReturnType( + 59 /* ColonToken */, + /*isType*/ + true + ); + parseTypeMemberSemicolon(); + const node = kind === 179 /* CallSignature */ ? factory2.createCallSignature(typeParameters, parameters, type) : factory2.createConstructSignature(typeParameters, parameters, type); + return withJSDoc(finishNode(node, pos), hasJSDoc); + } + function isIndexSignature() { + return token() === 23 /* OpenBracketToken */ && lookAhead(isUnambiguouslyIndexSignature); + } + function isUnambiguouslyIndexSignature() { + nextToken(); + if (token() === 26 /* DotDotDotToken */ || token() === 24 /* CloseBracketToken */) { + return true; + } + if (isModifierKind(token())) { + nextToken(); + if (isIdentifier2()) { + return true; + } + } else if (!isIdentifier2()) { + return false; + } else { + nextToken(); + } + if (token() === 59 /* ColonToken */ || token() === 28 /* CommaToken */) { + return true; + } + if (token() !== 58 /* QuestionToken */) { + return false; + } + nextToken(); + return token() === 59 /* ColonToken */ || token() === 28 /* CommaToken */ || token() === 24 /* CloseBracketToken */; + } + function parseIndexSignatureDeclaration(pos, hasJSDoc, modifiers) { + const parameters = parseBracketedList(16 /* Parameters */, () => parseParameter( + /*inOuterAwaitContext*/ + false + ), 23 /* OpenBracketToken */, 24 /* CloseBracketToken */); + const type = parseTypeAnnotation(); + parseTypeMemberSemicolon(); + const node = factory2.createIndexSignature(modifiers, parameters, type); + return withJSDoc(finishNode(node, pos), hasJSDoc); + } + function parsePropertyOrMethodSignature(pos, hasJSDoc, modifiers) { + const name = parsePropertyName(); + const questionToken = parseOptionalToken(58 /* QuestionToken */); + let node; + if (token() === 21 /* OpenParenToken */ || token() === 30 /* LessThanToken */) { + const typeParameters = parseTypeParameters(); + const parameters = parseParameters(4 /* Type */); + const type = parseReturnType( + 59 /* ColonToken */, + /*isType*/ + true + ); + node = factory2.createMethodSignature(modifiers, name, questionToken, typeParameters, parameters, type); + } else { + const type = parseTypeAnnotation(); + node = factory2.createPropertySignature(modifiers, name, questionToken, type); + if (token() === 64 /* EqualsToken */) node.initializer = parseInitializer(); + } + parseTypeMemberSemicolon(); + return withJSDoc(finishNode(node, pos), hasJSDoc); + } + function isTypeMemberStart() { + if (token() === 21 /* OpenParenToken */ || token() === 30 /* LessThanToken */ || token() === 139 /* GetKeyword */ || token() === 153 /* SetKeyword */) { + return true; + } + let idToken = false; + while (isModifierKind(token())) { + idToken = true; + nextToken(); + } + if (token() === 23 /* OpenBracketToken */) { + return true; + } + if (isLiteralPropertyName()) { + idToken = true; + nextToken(); + } + if (idToken) { + return token() === 21 /* OpenParenToken */ || token() === 30 /* LessThanToken */ || token() === 58 /* QuestionToken */ || token() === 59 /* ColonToken */ || token() === 28 /* CommaToken */ || canParseSemicolon(); + } + return false; + } + function parseTypeMember() { + if (token() === 21 /* OpenParenToken */ || token() === 30 /* LessThanToken */) { + return parseSignatureMember(179 /* CallSignature */); + } + if (token() === 105 /* NewKeyword */ && lookAhead(nextTokenIsOpenParenOrLessThan)) { + return parseSignatureMember(180 /* ConstructSignature */); + } + const pos = getNodePos(); + const hasJSDoc = hasPrecedingJSDocComment(); + const modifiers = parseModifiers( + /*allowDecorators*/ + false + ); + if (parseContextualModifier(139 /* GetKeyword */)) { + return parseAccessorDeclaration(pos, hasJSDoc, modifiers, 177 /* GetAccessor */, 4 /* Type */); + } + if (parseContextualModifier(153 /* SetKeyword */)) { + return parseAccessorDeclaration(pos, hasJSDoc, modifiers, 178 /* SetAccessor */, 4 /* Type */); + } + if (isIndexSignature()) { + return parseIndexSignatureDeclaration(pos, hasJSDoc, modifiers); + } + return parsePropertyOrMethodSignature(pos, hasJSDoc, modifiers); + } + function nextTokenIsOpenParenOrLessThan() { + nextToken(); + return token() === 21 /* OpenParenToken */ || token() === 30 /* LessThanToken */; + } + function nextTokenIsDot() { + return nextToken() === 25 /* DotToken */; + } + function nextTokenIsOpenParenOrLessThanOrDot() { + switch (nextToken()) { + case 21 /* OpenParenToken */: + case 30 /* LessThanToken */: + case 25 /* DotToken */: + return true; + } + return false; + } + function parseTypeLiteral() { + const pos = getNodePos(); + return finishNode(factory2.createTypeLiteralNode(parseObjectTypeMembers()), pos); + } + function parseObjectTypeMembers() { + let members; + if (parseExpected(19 /* OpenBraceToken */)) { + members = parseList(4 /* TypeMembers */, parseTypeMember); + parseExpected(20 /* CloseBraceToken */); + } else { + members = createMissingList(); + } + return members; + } + function isStartOfMappedType() { + nextToken(); + if (token() === 40 /* PlusToken */ || token() === 41 /* MinusToken */) { + return nextToken() === 148 /* ReadonlyKeyword */; + } + if (token() === 148 /* ReadonlyKeyword */) { + nextToken(); + } + return token() === 23 /* OpenBracketToken */ && nextTokenIsIdentifier() && nextToken() === 103 /* InKeyword */; + } + function parseMappedTypeParameter() { + const pos = getNodePos(); + const name = parseIdentifierName(); + parseExpected(103 /* InKeyword */); + const type = parseType(); + return finishNode(factory2.createTypeParameterDeclaration( + /*modifiers*/ + void 0, + name, + type, + /*defaultType*/ + void 0 + ), pos); + } + function parseMappedType() { + const pos = getNodePos(); + parseExpected(19 /* OpenBraceToken */); + let readonlyToken; + if (token() === 148 /* ReadonlyKeyword */ || token() === 40 /* PlusToken */ || token() === 41 /* MinusToken */) { + readonlyToken = parseTokenNode(); + if (readonlyToken.kind !== 148 /* ReadonlyKeyword */) { + parseExpected(148 /* ReadonlyKeyword */); + } + } + parseExpected(23 /* OpenBracketToken */); + const typeParameter = parseMappedTypeParameter(); + const nameType = parseOptional(130 /* AsKeyword */) ? parseType() : void 0; + parseExpected(24 /* CloseBracketToken */); + let questionToken; + if (token() === 58 /* QuestionToken */ || token() === 40 /* PlusToken */ || token() === 41 /* MinusToken */) { + questionToken = parseTokenNode(); + if (questionToken.kind !== 58 /* QuestionToken */) { + parseExpected(58 /* QuestionToken */); + } + } + const type = parseTypeAnnotation(); + parseSemicolon(); + const members = parseList(4 /* TypeMembers */, parseTypeMember); + parseExpected(20 /* CloseBraceToken */); + return finishNode(factory2.createMappedTypeNode(readonlyToken, typeParameter, nameType, questionToken, type, members), pos); + } + function parseTupleElementType() { + const pos = getNodePos(); + if (parseOptional(26 /* DotDotDotToken */)) { + return finishNode(factory2.createRestTypeNode(parseType()), pos); + } + const type = parseType(); + if (isJSDocNullableType(type) && type.pos === type.type.pos) { + const node = factory2.createOptionalTypeNode(type.type); + setTextRange(node, type); + node.flags = type.flags; + return node; + } + return type; + } + function isNextTokenColonOrQuestionColon() { + return nextToken() === 59 /* ColonToken */ || token() === 58 /* QuestionToken */ && nextToken() === 59 /* ColonToken */; + } + function isTupleElementName() { + if (token() === 26 /* DotDotDotToken */) { + return tokenIsIdentifierOrKeyword(nextToken()) && isNextTokenColonOrQuestionColon(); + } + return tokenIsIdentifierOrKeyword(token()) && isNextTokenColonOrQuestionColon(); + } + function parseTupleElementNameOrTupleElementType() { + if (lookAhead(isTupleElementName)) { + const pos = getNodePos(); + const hasJSDoc = hasPrecedingJSDocComment(); + const dotDotDotToken = parseOptionalToken(26 /* DotDotDotToken */); + const name = parseIdentifierName(); + const questionToken = parseOptionalToken(58 /* QuestionToken */); + parseExpected(59 /* ColonToken */); + const type = parseTupleElementType(); + const node = factory2.createNamedTupleMember(dotDotDotToken, name, questionToken, type); + return withJSDoc(finishNode(node, pos), hasJSDoc); + } + return parseTupleElementType(); + } + function parseTupleType() { + const pos = getNodePos(); + return finishNode( + factory2.createTupleTypeNode( + parseBracketedList(21 /* TupleElementTypes */, parseTupleElementNameOrTupleElementType, 23 /* OpenBracketToken */, 24 /* CloseBracketToken */) + ), + pos + ); + } + function parseParenthesizedType() { + const pos = getNodePos(); + parseExpected(21 /* OpenParenToken */); + const type = parseType(); + parseExpected(22 /* CloseParenToken */); + return finishNode(factory2.createParenthesizedType(type), pos); + } + function parseModifiersForConstructorType() { + let modifiers; + if (token() === 128 /* AbstractKeyword */) { + const pos = getNodePos(); + nextToken(); + const modifier = finishNode(factoryCreateToken(128 /* AbstractKeyword */), pos); + modifiers = createNodeArray([modifier], pos); + } + return modifiers; + } + function parseFunctionOrConstructorType() { + const pos = getNodePos(); + const hasJSDoc = hasPrecedingJSDocComment(); + const modifiers = parseModifiersForConstructorType(); + const isConstructorType = parseOptional(105 /* NewKeyword */); + Debug.assert(!modifiers || isConstructorType, "Per isStartOfFunctionOrConstructorType, a function type cannot have modifiers."); + const typeParameters = parseTypeParameters(); + const parameters = parseParameters(4 /* Type */); + const type = parseReturnType( + 39 /* EqualsGreaterThanToken */, + /*isType*/ + false + ); + const node = isConstructorType ? factory2.createConstructorTypeNode(modifiers, typeParameters, parameters, type) : factory2.createFunctionTypeNode(typeParameters, parameters, type); + return withJSDoc(finishNode(node, pos), hasJSDoc); + } + function parseKeywordAndNoDot() { + const node = parseTokenNode(); + return token() === 25 /* DotToken */ ? void 0 : node; + } + function parseLiteralTypeNode(negative) { + const pos = getNodePos(); + if (negative) { + nextToken(); + } + let expression = token() === 112 /* TrueKeyword */ || token() === 97 /* FalseKeyword */ || token() === 106 /* NullKeyword */ ? parseTokenNode() : parseLiteralLikeNode(token()); + if (negative) { + expression = finishNode(factory2.createPrefixUnaryExpression(41 /* MinusToken */, expression), pos); + } + return finishNode(factory2.createLiteralTypeNode(expression), pos); + } + function isStartOfTypeOfImportType() { + nextToken(); + return token() === 102 /* ImportKeyword */; + } + function parseImportType() { + sourceFlags |= 4194304 /* PossiblyContainsDynamicImport */; + const pos = getNodePos(); + const isTypeOf = parseOptional(114 /* TypeOfKeyword */); + parseExpected(102 /* ImportKeyword */); + parseExpected(21 /* OpenParenToken */); + const type = parseType(); + let attributes; + if (parseOptional(28 /* CommaToken */)) { + const openBracePosition = scanner.getTokenStart(); + parseExpected(19 /* OpenBraceToken */); + const currentToken2 = token(); + if (currentToken2 === 118 /* WithKeyword */ || currentToken2 === 132 /* AssertKeyword */) { + nextToken(); + } else { + parseErrorAtCurrentToken(Diagnostics._0_expected, tokenToString(118 /* WithKeyword */)); + } + parseExpected(59 /* ColonToken */); + attributes = parseImportAttributes( + currentToken2, + /*skipKeyword*/ + true + ); + if (!parseExpected(20 /* CloseBraceToken */)) { + const lastError = lastOrUndefined(parseDiagnostics); + if (lastError && lastError.code === Diagnostics._0_expected.code) { + addRelatedInfo( + lastError, + createDetachedDiagnostic(fileName, sourceText, openBracePosition, 1, Diagnostics.The_parser_expected_to_find_a_1_to_match_the_0_token_here, "{", "}") + ); + } + } + } + parseExpected(22 /* CloseParenToken */); + const qualifier = parseOptional(25 /* DotToken */) ? parseEntityNameOfTypeReference() : void 0; + const typeArguments = parseTypeArgumentsOfTypeReference(); + return finishNode(factory2.createImportTypeNode(type, attributes, qualifier, typeArguments, isTypeOf), pos); + } + function nextTokenIsNumericOrBigIntLiteral() { + nextToken(); + return token() === 9 /* NumericLiteral */ || token() === 10 /* BigIntLiteral */; + } + function parseNonArrayType() { + switch (token()) { + case 133 /* AnyKeyword */: + case 159 /* UnknownKeyword */: + case 154 /* StringKeyword */: + case 150 /* NumberKeyword */: + case 163 /* BigIntKeyword */: + case 155 /* SymbolKeyword */: + case 136 /* BooleanKeyword */: + case 157 /* UndefinedKeyword */: + case 146 /* NeverKeyword */: + case 151 /* ObjectKeyword */: + return tryParse(parseKeywordAndNoDot) || parseTypeReference(); + case 67 /* AsteriskEqualsToken */: + scanner.reScanAsteriskEqualsToken(); + // falls through + case 42 /* AsteriskToken */: + return parseJSDocAllType(); + case 61 /* QuestionQuestionToken */: + scanner.reScanQuestionToken(); + // falls through + case 58 /* QuestionToken */: + return parseJSDocUnknownOrNullableType(); + case 100 /* FunctionKeyword */: + return parseJSDocFunctionType(); + case 54 /* ExclamationToken */: + return parseJSDocNonNullableType(); + case 15 /* NoSubstitutionTemplateLiteral */: + case 11 /* StringLiteral */: + case 9 /* NumericLiteral */: + case 10 /* BigIntLiteral */: + case 112 /* TrueKeyword */: + case 97 /* FalseKeyword */: + case 106 /* NullKeyword */: + return parseLiteralTypeNode(); + case 41 /* MinusToken */: + return lookAhead(nextTokenIsNumericOrBigIntLiteral) ? parseLiteralTypeNode( + /*negative*/ + true + ) : parseTypeReference(); + case 116 /* VoidKeyword */: + return parseTokenNode(); + case 110 /* ThisKeyword */: { + const thisKeyword = parseThisTypeNode(); + if (token() === 142 /* IsKeyword */ && !scanner.hasPrecedingLineBreak()) { + return parseThisTypePredicate(thisKeyword); + } else { + return thisKeyword; + } + } + case 114 /* TypeOfKeyword */: + return lookAhead(isStartOfTypeOfImportType) ? parseImportType() : parseTypeQuery(); + case 19 /* OpenBraceToken */: + return lookAhead(isStartOfMappedType) ? parseMappedType() : parseTypeLiteral(); + case 23 /* OpenBracketToken */: + return parseTupleType(); + case 21 /* OpenParenToken */: + return parseParenthesizedType(); + case 102 /* ImportKeyword */: + return parseImportType(); + case 131 /* AssertsKeyword */: + return lookAhead(nextTokenIsIdentifierOrKeywordOnSameLine) ? parseAssertsTypePredicate() : parseTypeReference(); + case 16 /* TemplateHead */: + return parseTemplateType(); + default: + return parseTypeReference(); + } + } + function isStartOfType(inStartOfParameter) { + switch (token()) { + case 133 /* AnyKeyword */: + case 159 /* UnknownKeyword */: + case 154 /* StringKeyword */: + case 150 /* NumberKeyword */: + case 163 /* BigIntKeyword */: + case 136 /* BooleanKeyword */: + case 148 /* ReadonlyKeyword */: + case 155 /* SymbolKeyword */: + case 158 /* UniqueKeyword */: + case 116 /* VoidKeyword */: + case 157 /* UndefinedKeyword */: + case 106 /* NullKeyword */: + case 110 /* ThisKeyword */: + case 114 /* TypeOfKeyword */: + case 146 /* NeverKeyword */: + case 19 /* OpenBraceToken */: + case 23 /* OpenBracketToken */: + case 30 /* LessThanToken */: + case 52 /* BarToken */: + case 51 /* AmpersandToken */: + case 105 /* NewKeyword */: + case 11 /* StringLiteral */: + case 9 /* NumericLiteral */: + case 10 /* BigIntLiteral */: + case 112 /* TrueKeyword */: + case 97 /* FalseKeyword */: + case 151 /* ObjectKeyword */: + case 42 /* AsteriskToken */: + case 58 /* QuestionToken */: + case 54 /* ExclamationToken */: + case 26 /* DotDotDotToken */: + case 140 /* InferKeyword */: + case 102 /* ImportKeyword */: + case 131 /* AssertsKeyword */: + case 15 /* NoSubstitutionTemplateLiteral */: + case 16 /* TemplateHead */: + return true; + case 100 /* FunctionKeyword */: + return !inStartOfParameter; + case 41 /* MinusToken */: + return !inStartOfParameter && lookAhead(nextTokenIsNumericOrBigIntLiteral); + case 21 /* OpenParenToken */: + return !inStartOfParameter && lookAhead(isStartOfParenthesizedOrFunctionType); + default: + return isIdentifier2(); + } + } + function isStartOfParenthesizedOrFunctionType() { + nextToken(); + return token() === 22 /* CloseParenToken */ || isStartOfParameter( + /*isJSDocParameter*/ + false + ) || isStartOfType(); + } + function parsePostfixTypeOrHigher() { + const pos = getNodePos(); + let type = parseNonArrayType(); + while (!scanner.hasPrecedingLineBreak()) { + switch (token()) { + case 54 /* ExclamationToken */: + nextToken(); + type = finishNode(factory2.createJSDocNonNullableType( + type, + /*postfix*/ + true + ), pos); + break; + case 58 /* QuestionToken */: + if (lookAhead(nextTokenIsStartOfType)) { + return type; + } + nextToken(); + type = finishNode(factory2.createJSDocNullableType( + type, + /*postfix*/ + true + ), pos); + break; + case 23 /* OpenBracketToken */: + parseExpected(23 /* OpenBracketToken */); + if (isStartOfType()) { + const indexType = parseType(); + parseExpected(24 /* CloseBracketToken */); + type = finishNode(factory2.createIndexedAccessTypeNode(type, indexType), pos); + } else { + parseExpected(24 /* CloseBracketToken */); + type = finishNode(factory2.createArrayTypeNode(type), pos); + } + break; + default: + return type; + } + } + return type; + } + function parseTypeOperator(operator) { + const pos = getNodePos(); + parseExpected(operator); + return finishNode(factory2.createTypeOperatorNode(operator, parseTypeOperatorOrHigher()), pos); + } + function tryParseConstraintOfInferType() { + if (parseOptional(96 /* ExtendsKeyword */)) { + const constraint = disallowConditionalTypesAnd(parseType); + if (inDisallowConditionalTypesContext() || token() !== 58 /* QuestionToken */) { + return constraint; + } + } + } + function parseTypeParameterOfInferType() { + const pos = getNodePos(); + const name = parseIdentifier(); + const constraint = tryParse(tryParseConstraintOfInferType); + const node = factory2.createTypeParameterDeclaration( + /*modifiers*/ + void 0, + name, + constraint + ); + return finishNode(node, pos); + } + function parseInferType() { + const pos = getNodePos(); + parseExpected(140 /* InferKeyword */); + return finishNode(factory2.createInferTypeNode(parseTypeParameterOfInferType()), pos); + } + function parseTypeOperatorOrHigher() { + const operator = token(); + switch (operator) { + case 143 /* KeyOfKeyword */: + case 158 /* UniqueKeyword */: + case 148 /* ReadonlyKeyword */: + return parseTypeOperator(operator); + case 140 /* InferKeyword */: + return parseInferType(); + } + return allowConditionalTypesAnd(parsePostfixTypeOrHigher); + } + function parseFunctionOrConstructorTypeToError(isInUnionType) { + if (isStartOfFunctionTypeOrConstructorType()) { + const type = parseFunctionOrConstructorType(); + let diagnostic; + if (isFunctionTypeNode(type)) { + diagnostic = isInUnionType ? Diagnostics.Function_type_notation_must_be_parenthesized_when_used_in_a_union_type : Diagnostics.Function_type_notation_must_be_parenthesized_when_used_in_an_intersection_type; + } else { + diagnostic = isInUnionType ? Diagnostics.Constructor_type_notation_must_be_parenthesized_when_used_in_a_union_type : Diagnostics.Constructor_type_notation_must_be_parenthesized_when_used_in_an_intersection_type; + } + parseErrorAtRange(type, diagnostic); + return type; + } + return void 0; + } + function parseUnionOrIntersectionType(operator, parseConstituentType, createTypeNode) { + const pos = getNodePos(); + const isUnionType = operator === 52 /* BarToken */; + const hasLeadingOperator = parseOptional(operator); + let type = hasLeadingOperator && parseFunctionOrConstructorTypeToError(isUnionType) || parseConstituentType(); + if (token() === operator || hasLeadingOperator) { + const types = [type]; + while (parseOptional(operator)) { + types.push(parseFunctionOrConstructorTypeToError(isUnionType) || parseConstituentType()); + } + type = finishNode(createTypeNode(createNodeArray(types, pos)), pos); + } + return type; + } + function parseIntersectionTypeOrHigher() { + return parseUnionOrIntersectionType(51 /* AmpersandToken */, parseTypeOperatorOrHigher, factory2.createIntersectionTypeNode); + } + function parseUnionTypeOrHigher() { + return parseUnionOrIntersectionType(52 /* BarToken */, parseIntersectionTypeOrHigher, factory2.createUnionTypeNode); + } + function nextTokenIsNewKeyword() { + nextToken(); + return token() === 105 /* NewKeyword */; + } + function isStartOfFunctionTypeOrConstructorType() { + if (token() === 30 /* LessThanToken */) { + return true; + } + if (token() === 21 /* OpenParenToken */ && lookAhead(isUnambiguouslyStartOfFunctionType)) { + return true; + } + return token() === 105 /* NewKeyword */ || token() === 128 /* AbstractKeyword */ && lookAhead(nextTokenIsNewKeyword); + } + function skipParameterStart() { + if (isModifierKind(token())) { + parseModifiers( + /*allowDecorators*/ + false + ); + } + if (isIdentifier2() || token() === 110 /* ThisKeyword */) { + nextToken(); + return true; + } + if (token() === 23 /* OpenBracketToken */ || token() === 19 /* OpenBraceToken */) { + const previousErrorCount = parseDiagnostics.length; + parseIdentifierOrPattern(); + return previousErrorCount === parseDiagnostics.length; + } + return false; + } + function isUnambiguouslyStartOfFunctionType() { + nextToken(); + if (token() === 22 /* CloseParenToken */ || token() === 26 /* DotDotDotToken */) { + return true; + } + if (skipParameterStart()) { + if (token() === 59 /* ColonToken */ || token() === 28 /* CommaToken */ || token() === 58 /* QuestionToken */ || token() === 64 /* EqualsToken */) { + return true; + } + if (token() === 22 /* CloseParenToken */) { + nextToken(); + if (token() === 39 /* EqualsGreaterThanToken */) { + return true; + } + } + } + return false; + } + function parseTypeOrTypePredicate() { + const pos = getNodePos(); + const typePredicateVariable = isIdentifier2() && tryParse(parseTypePredicatePrefix); + const type = parseType(); + if (typePredicateVariable) { + return finishNode(factory2.createTypePredicateNode( + /*assertsModifier*/ + void 0, + typePredicateVariable, + type + ), pos); + } else { + return type; + } + } + function parseTypePredicatePrefix() { + const id = parseIdentifier(); + if (token() === 142 /* IsKeyword */ && !scanner.hasPrecedingLineBreak()) { + nextToken(); + return id; + } + } + function parseAssertsTypePredicate() { + const pos = getNodePos(); + const assertsModifier = parseExpectedToken(131 /* AssertsKeyword */); + const parameterName = token() === 110 /* ThisKeyword */ ? parseThisTypeNode() : parseIdentifier(); + const type = parseOptional(142 /* IsKeyword */) ? parseType() : void 0; + return finishNode(factory2.createTypePredicateNode(assertsModifier, parameterName, type), pos); + } + function parseType() { + if (contextFlags & 81920 /* TypeExcludesFlags */) { + return doOutsideOfContext(81920 /* TypeExcludesFlags */, parseType); + } + if (isStartOfFunctionTypeOrConstructorType()) { + return parseFunctionOrConstructorType(); + } + const pos = getNodePos(); + const type = parseUnionTypeOrHigher(); + if (!inDisallowConditionalTypesContext() && !scanner.hasPrecedingLineBreak() && parseOptional(96 /* ExtendsKeyword */)) { + const extendsType = disallowConditionalTypesAnd(parseType); + parseExpected(58 /* QuestionToken */); + const trueType = allowConditionalTypesAnd(parseType); + parseExpected(59 /* ColonToken */); + const falseType = allowConditionalTypesAnd(parseType); + return finishNode(factory2.createConditionalTypeNode(type, extendsType, trueType, falseType), pos); + } + return type; + } + function parseTypeAnnotation() { + return parseOptional(59 /* ColonToken */) ? parseType() : void 0; + } + function isStartOfLeftHandSideExpression() { + switch (token()) { + case 110 /* ThisKeyword */: + case 108 /* SuperKeyword */: + case 106 /* NullKeyword */: + case 112 /* TrueKeyword */: + case 97 /* FalseKeyword */: + case 9 /* NumericLiteral */: + case 10 /* BigIntLiteral */: + case 11 /* StringLiteral */: + case 15 /* NoSubstitutionTemplateLiteral */: + case 16 /* TemplateHead */: + case 21 /* OpenParenToken */: + case 23 /* OpenBracketToken */: + case 19 /* OpenBraceToken */: + case 100 /* FunctionKeyword */: + case 86 /* ClassKeyword */: + case 105 /* NewKeyword */: + case 44 /* SlashToken */: + case 69 /* SlashEqualsToken */: + case 80 /* Identifier */: + return true; + case 102 /* ImportKeyword */: + return lookAhead(nextTokenIsOpenParenOrLessThanOrDot); + default: + return isIdentifier2(); + } + } + function isStartOfExpression() { + if (isStartOfLeftHandSideExpression()) { + return true; + } + switch (token()) { + case 40 /* PlusToken */: + case 41 /* MinusToken */: + case 55 /* TildeToken */: + case 54 /* ExclamationToken */: + case 91 /* DeleteKeyword */: + case 114 /* TypeOfKeyword */: + case 116 /* VoidKeyword */: + case 46 /* PlusPlusToken */: + case 47 /* MinusMinusToken */: + case 30 /* LessThanToken */: + case 135 /* AwaitKeyword */: + case 127 /* YieldKeyword */: + case 81 /* PrivateIdentifier */: + case 60 /* AtToken */: + return true; + default: + if (isBinaryOperator2()) { + return true; + } + return isIdentifier2(); + } + } + function isStartOfExpressionStatement() { + return token() !== 19 /* OpenBraceToken */ && token() !== 100 /* FunctionKeyword */ && token() !== 86 /* ClassKeyword */ && token() !== 60 /* AtToken */ && isStartOfExpression(); + } + function parseExpression() { + const saveDecoratorContext = inDecoratorContext(); + if (saveDecoratorContext) { + setDecoratorContext( + /*val*/ + false + ); + } + const pos = getNodePos(); + let expr = parseAssignmentExpressionOrHigher( + /*allowReturnTypeInArrowFunction*/ + true + ); + let operatorToken; + while (operatorToken = parseOptionalToken(28 /* CommaToken */)) { + expr = makeBinaryExpression(expr, operatorToken, parseAssignmentExpressionOrHigher( + /*allowReturnTypeInArrowFunction*/ + true + ), pos); + } + if (saveDecoratorContext) { + setDecoratorContext( + /*val*/ + true + ); + } + return expr; + } + function parseInitializer() { + return parseOptional(64 /* EqualsToken */) ? parseAssignmentExpressionOrHigher( + /*allowReturnTypeInArrowFunction*/ + true + ) : void 0; + } + function parseAssignmentExpressionOrHigher(allowReturnTypeInArrowFunction) { + if (isYieldExpression()) { + return parseYieldExpression(); + } + const arrowExpression = tryParseParenthesizedArrowFunctionExpression(allowReturnTypeInArrowFunction) || tryParseAsyncSimpleArrowFunctionExpression(allowReturnTypeInArrowFunction); + if (arrowExpression) { + return arrowExpression; + } + const pos = getNodePos(); + const hasJSDoc = hasPrecedingJSDocComment(); + const expr = parseBinaryExpressionOrHigher(0 /* Lowest */); + if (expr.kind === 80 /* Identifier */ && token() === 39 /* EqualsGreaterThanToken */) { + return parseSimpleArrowFunctionExpression( + pos, + expr, + allowReturnTypeInArrowFunction, + hasJSDoc, + /*asyncModifier*/ + void 0 + ); + } + if (isLeftHandSideExpression(expr) && isAssignmentOperator(reScanGreaterToken())) { + return makeBinaryExpression(expr, parseTokenNode(), parseAssignmentExpressionOrHigher(allowReturnTypeInArrowFunction), pos); + } + return parseConditionalExpressionRest(expr, pos, allowReturnTypeInArrowFunction); + } + function isYieldExpression() { + if (token() === 127 /* YieldKeyword */) { + if (inYieldContext()) { + return true; + } + return lookAhead(nextTokenIsIdentifierOrKeywordOrLiteralOnSameLine); + } + return false; + } + function nextTokenIsIdentifierOnSameLine() { + nextToken(); + return !scanner.hasPrecedingLineBreak() && isIdentifier2(); + } + function parseYieldExpression() { + const pos = getNodePos(); + nextToken(); + if (!scanner.hasPrecedingLineBreak() && (token() === 42 /* AsteriskToken */ || isStartOfExpression())) { + return finishNode( + factory2.createYieldExpression( + parseOptionalToken(42 /* AsteriskToken */), + parseAssignmentExpressionOrHigher( + /*allowReturnTypeInArrowFunction*/ + true + ) + ), + pos + ); + } else { + return finishNode(factory2.createYieldExpression( + /*asteriskToken*/ + void 0, + /*expression*/ + void 0 + ), pos); + } + } + function parseSimpleArrowFunctionExpression(pos, identifier, allowReturnTypeInArrowFunction, hasJSDoc, asyncModifier) { + Debug.assert(token() === 39 /* EqualsGreaterThanToken */, "parseSimpleArrowFunctionExpression should only have been called if we had a =>"); + const parameter = factory2.createParameterDeclaration( + /*modifiers*/ + void 0, + /*dotDotDotToken*/ + void 0, + identifier, + /*questionToken*/ + void 0, + /*type*/ + void 0, + /*initializer*/ + void 0 + ); + finishNode(parameter, identifier.pos); + const parameters = createNodeArray([parameter], parameter.pos, parameter.end); + const equalsGreaterThanToken = parseExpectedToken(39 /* EqualsGreaterThanToken */); + const body = parseArrowFunctionExpressionBody( + /*isAsync*/ + !!asyncModifier, + allowReturnTypeInArrowFunction + ); + const node = factory2.createArrowFunction( + asyncModifier, + /*typeParameters*/ + void 0, + parameters, + /*type*/ + void 0, + equalsGreaterThanToken, + body + ); + return withJSDoc(finishNode(node, pos), hasJSDoc); + } + function tryParseParenthesizedArrowFunctionExpression(allowReturnTypeInArrowFunction) { + const triState = isParenthesizedArrowFunctionExpression(); + if (triState === 0 /* False */) { + return void 0; + } + return triState === 1 /* True */ ? parseParenthesizedArrowFunctionExpression( + /*allowAmbiguity*/ + true, + /*allowReturnTypeInArrowFunction*/ + true + ) : tryParse(() => parsePossibleParenthesizedArrowFunctionExpression(allowReturnTypeInArrowFunction)); + } + function isParenthesizedArrowFunctionExpression() { + if (token() === 21 /* OpenParenToken */ || token() === 30 /* LessThanToken */ || token() === 134 /* AsyncKeyword */) { + return lookAhead(isParenthesizedArrowFunctionExpressionWorker); + } + if (token() === 39 /* EqualsGreaterThanToken */) { + return 1 /* True */; + } + return 0 /* False */; + } + function isParenthesizedArrowFunctionExpressionWorker() { + if (token() === 134 /* AsyncKeyword */) { + nextToken(); + if (scanner.hasPrecedingLineBreak()) { + return 0 /* False */; + } + if (token() !== 21 /* OpenParenToken */ && token() !== 30 /* LessThanToken */) { + return 0 /* False */; + } + } + const first2 = token(); + const second = nextToken(); + if (first2 === 21 /* OpenParenToken */) { + if (second === 22 /* CloseParenToken */) { + const third = nextToken(); + switch (third) { + case 39 /* EqualsGreaterThanToken */: + case 59 /* ColonToken */: + case 19 /* OpenBraceToken */: + return 1 /* True */; + default: + return 0 /* False */; + } + } + if (second === 23 /* OpenBracketToken */ || second === 19 /* OpenBraceToken */) { + return 2 /* Unknown */; + } + if (second === 26 /* DotDotDotToken */) { + return 1 /* True */; + } + if (isModifierKind(second) && second !== 134 /* AsyncKeyword */ && lookAhead(nextTokenIsIdentifier)) { + if (nextToken() === 130 /* AsKeyword */) { + return 0 /* False */; + } + return 1 /* True */; + } + if (!isIdentifier2() && second !== 110 /* ThisKeyword */) { + return 0 /* False */; + } + switch (nextToken()) { + case 59 /* ColonToken */: + return 1 /* True */; + case 58 /* QuestionToken */: + nextToken(); + if (token() === 59 /* ColonToken */ || token() === 28 /* CommaToken */ || token() === 64 /* EqualsToken */ || token() === 22 /* CloseParenToken */) { + return 1 /* True */; + } + return 0 /* False */; + case 28 /* CommaToken */: + case 64 /* EqualsToken */: + case 22 /* CloseParenToken */: + return 2 /* Unknown */; + } + return 0 /* False */; + } else { + Debug.assert(first2 === 30 /* LessThanToken */); + if (!isIdentifier2() && token() !== 87 /* ConstKeyword */) { + return 0 /* False */; + } + if (languageVariant === 1 /* JSX */) { + const isArrowFunctionInJsx = lookAhead(() => { + parseOptional(87 /* ConstKeyword */); + const third = nextToken(); + if (third === 96 /* ExtendsKeyword */) { + const fourth = nextToken(); + switch (fourth) { + case 64 /* EqualsToken */: + case 32 /* GreaterThanToken */: + case 44 /* SlashToken */: + return false; + default: + return true; + } + } else if (third === 28 /* CommaToken */ || third === 64 /* EqualsToken */) { + return true; + } + return false; + }); + if (isArrowFunctionInJsx) { + return 1 /* True */; + } + return 0 /* False */; + } + return 2 /* Unknown */; + } + } + function parsePossibleParenthesizedArrowFunctionExpression(allowReturnTypeInArrowFunction) { + const tokenPos = scanner.getTokenStart(); + if (notParenthesizedArrow == null ? void 0 : notParenthesizedArrow.has(tokenPos)) { + return void 0; + } + const result = parseParenthesizedArrowFunctionExpression( + /*allowAmbiguity*/ + false, + allowReturnTypeInArrowFunction + ); + if (!result) { + (notParenthesizedArrow || (notParenthesizedArrow = /* @__PURE__ */ new Set())).add(tokenPos); + } + return result; + } + function tryParseAsyncSimpleArrowFunctionExpression(allowReturnTypeInArrowFunction) { + if (token() === 134 /* AsyncKeyword */) { + if (lookAhead(isUnParenthesizedAsyncArrowFunctionWorker) === 1 /* True */) { + const pos = getNodePos(); + const hasJSDoc = hasPrecedingJSDocComment(); + const asyncModifier = parseModifiersForArrowFunction(); + const expr = parseBinaryExpressionOrHigher(0 /* Lowest */); + return parseSimpleArrowFunctionExpression(pos, expr, allowReturnTypeInArrowFunction, hasJSDoc, asyncModifier); + } + } + return void 0; + } + function isUnParenthesizedAsyncArrowFunctionWorker() { + if (token() === 134 /* AsyncKeyword */) { + nextToken(); + if (scanner.hasPrecedingLineBreak() || token() === 39 /* EqualsGreaterThanToken */) { + return 0 /* False */; + } + const expr = parseBinaryExpressionOrHigher(0 /* Lowest */); + if (!scanner.hasPrecedingLineBreak() && expr.kind === 80 /* Identifier */ && token() === 39 /* EqualsGreaterThanToken */) { + return 1 /* True */; + } + } + return 0 /* False */; + } + function parseParenthesizedArrowFunctionExpression(allowAmbiguity, allowReturnTypeInArrowFunction) { + const pos = getNodePos(); + const hasJSDoc = hasPrecedingJSDocComment(); + const modifiers = parseModifiersForArrowFunction(); + const isAsync = some(modifiers, isAsyncModifier) ? 2 /* Await */ : 0 /* None */; + const typeParameters = parseTypeParameters(); + let parameters; + if (!parseExpected(21 /* OpenParenToken */)) { + if (!allowAmbiguity) { + return void 0; + } + parameters = createMissingList(); + } else { + if (!allowAmbiguity) { + const maybeParameters = parseParametersWorker(isAsync, allowAmbiguity); + if (!maybeParameters) { + return void 0; + } + parameters = maybeParameters; + } else { + parameters = parseParametersWorker(isAsync, allowAmbiguity); + } + if (!parseExpected(22 /* CloseParenToken */) && !allowAmbiguity) { + return void 0; + } + } + const hasReturnColon = token() === 59 /* ColonToken */; + const type = parseReturnType( + 59 /* ColonToken */, + /*isType*/ + false + ); + if (type && !allowAmbiguity && typeHasArrowFunctionBlockingParseError(type)) { + return void 0; + } + let unwrappedType = type; + while ((unwrappedType == null ? void 0 : unwrappedType.kind) === 196 /* ParenthesizedType */) { + unwrappedType = unwrappedType.type; + } + const hasJSDocFunctionType = unwrappedType && isJSDocFunctionType(unwrappedType); + if (!allowAmbiguity && token() !== 39 /* EqualsGreaterThanToken */ && (hasJSDocFunctionType || token() !== 19 /* OpenBraceToken */)) { + return void 0; + } + const lastToken = token(); + const equalsGreaterThanToken = parseExpectedToken(39 /* EqualsGreaterThanToken */); + const body = lastToken === 39 /* EqualsGreaterThanToken */ || lastToken === 19 /* OpenBraceToken */ ? parseArrowFunctionExpressionBody(some(modifiers, isAsyncModifier), allowReturnTypeInArrowFunction) : parseIdentifier(); + if (!allowReturnTypeInArrowFunction && hasReturnColon) { + if (token() !== 59 /* ColonToken */) { + return void 0; + } + } + const node = factory2.createArrowFunction(modifiers, typeParameters, parameters, type, equalsGreaterThanToken, body); + return withJSDoc(finishNode(node, pos), hasJSDoc); + } + function parseArrowFunctionExpressionBody(isAsync, allowReturnTypeInArrowFunction) { + if (token() === 19 /* OpenBraceToken */) { + return parseFunctionBlock(isAsync ? 2 /* Await */ : 0 /* None */); + } + if (token() !== 27 /* SemicolonToken */ && token() !== 100 /* FunctionKeyword */ && token() !== 86 /* ClassKeyword */ && isStartOfStatement() && !isStartOfExpressionStatement()) { + return parseFunctionBlock(16 /* IgnoreMissingOpenBrace */ | (isAsync ? 2 /* Await */ : 0 /* None */)); + } + const savedTopLevel = topLevel; + topLevel = false; + const node = isAsync ? doInAwaitContext(() => parseAssignmentExpressionOrHigher(allowReturnTypeInArrowFunction)) : doOutsideOfAwaitContext(() => parseAssignmentExpressionOrHigher(allowReturnTypeInArrowFunction)); + topLevel = savedTopLevel; + return node; + } + function parseConditionalExpressionRest(leftOperand, pos, allowReturnTypeInArrowFunction) { + const questionToken = parseOptionalToken(58 /* QuestionToken */); + if (!questionToken) { + return leftOperand; + } + let colonToken; + return finishNode( + factory2.createConditionalExpression( + leftOperand, + questionToken, + doOutsideOfContext(disallowInAndDecoratorContext, () => parseAssignmentExpressionOrHigher( + /*allowReturnTypeInArrowFunction*/ + false + )), + colonToken = parseExpectedToken(59 /* ColonToken */), + nodeIsPresent(colonToken) ? parseAssignmentExpressionOrHigher(allowReturnTypeInArrowFunction) : createMissingNode( + 80 /* Identifier */, + /*reportAtCurrentPosition*/ + false, + Diagnostics._0_expected, + tokenToString(59 /* ColonToken */) + ) + ), + pos + ); + } + function parseBinaryExpressionOrHigher(precedence) { + const pos = getNodePos(); + const leftOperand = parseUnaryExpressionOrHigher(); + return parseBinaryExpressionRest(precedence, leftOperand, pos); + } + function isInOrOfKeyword(t) { + return t === 103 /* InKeyword */ || t === 165 /* OfKeyword */; + } + function parseBinaryExpressionRest(precedence, leftOperand, pos) { + while (true) { + reScanGreaterToken(); + const newPrecedence = getBinaryOperatorPrecedence(token()); + const consumeCurrentOperator = token() === 43 /* AsteriskAsteriskToken */ ? newPrecedence >= precedence : newPrecedence > precedence; + if (!consumeCurrentOperator) { + break; + } + if (token() === 103 /* InKeyword */ && inDisallowInContext()) { + break; + } + if (token() === 130 /* AsKeyword */ || token() === 152 /* SatisfiesKeyword */) { + if (scanner.hasPrecedingLineBreak()) { + break; + } else { + const keywordKind = token(); + nextToken(); + leftOperand = keywordKind === 152 /* SatisfiesKeyword */ ? makeSatisfiesExpression(leftOperand, parseType()) : makeAsExpression(leftOperand, parseType()); + } + } else { + leftOperand = makeBinaryExpression(leftOperand, parseTokenNode(), parseBinaryExpressionOrHigher(newPrecedence), pos); + } + } + return leftOperand; + } + function isBinaryOperator2() { + if (inDisallowInContext() && token() === 103 /* InKeyword */) { + return false; + } + return getBinaryOperatorPrecedence(token()) > 0; + } + function makeSatisfiesExpression(left, right) { + return finishNode(factory2.createSatisfiesExpression(left, right), left.pos); + } + function makeBinaryExpression(left, operatorToken, right, pos) { + return finishNode(factory2.createBinaryExpression(left, operatorToken, right), pos); + } + function makeAsExpression(left, right) { + return finishNode(factory2.createAsExpression(left, right), left.pos); + } + function parsePrefixUnaryExpression() { + const pos = getNodePos(); + return finishNode(factory2.createPrefixUnaryExpression(token(), nextTokenAnd(parseSimpleUnaryExpression)), pos); + } + function parseDeleteExpression() { + const pos = getNodePos(); + return finishNode(factory2.createDeleteExpression(nextTokenAnd(parseSimpleUnaryExpression)), pos); + } + function parseTypeOfExpression() { + const pos = getNodePos(); + return finishNode(factory2.createTypeOfExpression(nextTokenAnd(parseSimpleUnaryExpression)), pos); + } + function parseVoidExpression() { + const pos = getNodePos(); + return finishNode(factory2.createVoidExpression(nextTokenAnd(parseSimpleUnaryExpression)), pos); + } + function isAwaitExpression2() { + if (token() === 135 /* AwaitKeyword */) { + if (inAwaitContext()) { + return true; + } + return lookAhead(nextTokenIsIdentifierOrKeywordOrLiteralOnSameLine); + } + return false; + } + function parseAwaitExpression() { + const pos = getNodePos(); + return finishNode(factory2.createAwaitExpression(nextTokenAnd(parseSimpleUnaryExpression)), pos); + } + function parseUnaryExpressionOrHigher() { + if (isUpdateExpression()) { + const pos = getNodePos(); + const updateExpression = parseUpdateExpression(); + return token() === 43 /* AsteriskAsteriskToken */ ? parseBinaryExpressionRest(getBinaryOperatorPrecedence(token()), updateExpression, pos) : updateExpression; + } + const unaryOperator = token(); + const simpleUnaryExpression = parseSimpleUnaryExpression(); + if (token() === 43 /* AsteriskAsteriskToken */) { + const pos = skipTrivia(sourceText, simpleUnaryExpression.pos); + const { end } = simpleUnaryExpression; + if (simpleUnaryExpression.kind === 216 /* TypeAssertionExpression */) { + parseErrorAt(pos, end, Diagnostics.A_type_assertion_expression_is_not_allowed_in_the_left_hand_side_of_an_exponentiation_expression_Consider_enclosing_the_expression_in_parentheses); + } else { + Debug.assert(isKeywordOrPunctuation(unaryOperator)); + parseErrorAt(pos, end, Diagnostics.An_unary_expression_with_the_0_operator_is_not_allowed_in_the_left_hand_side_of_an_exponentiation_expression_Consider_enclosing_the_expression_in_parentheses, tokenToString(unaryOperator)); + } + } + return simpleUnaryExpression; + } + function parseSimpleUnaryExpression() { + switch (token()) { + case 40 /* PlusToken */: + case 41 /* MinusToken */: + case 55 /* TildeToken */: + case 54 /* ExclamationToken */: + return parsePrefixUnaryExpression(); + case 91 /* DeleteKeyword */: + return parseDeleteExpression(); + case 114 /* TypeOfKeyword */: + return parseTypeOfExpression(); + case 116 /* VoidKeyword */: + return parseVoidExpression(); + case 30 /* LessThanToken */: + if (languageVariant === 1 /* JSX */) { + return parseJsxElementOrSelfClosingElementOrFragment( + /*inExpressionContext*/ + true, + /*topInvalidNodePosition*/ + void 0, + /*openingTag*/ + void 0, + /*mustBeUnary*/ + true + ); + } + return parseTypeAssertion(); + case 135 /* AwaitKeyword */: + if (isAwaitExpression2()) { + return parseAwaitExpression(); + } + // falls through + default: + return parseUpdateExpression(); + } + } + function isUpdateExpression() { + switch (token()) { + case 40 /* PlusToken */: + case 41 /* MinusToken */: + case 55 /* TildeToken */: + case 54 /* ExclamationToken */: + case 91 /* DeleteKeyword */: + case 114 /* TypeOfKeyword */: + case 116 /* VoidKeyword */: + case 135 /* AwaitKeyword */: + return false; + case 30 /* LessThanToken */: + if (languageVariant !== 1 /* JSX */) { + return false; + } + // We are in JSX context and the token is part of JSXElement. + // falls through + default: + return true; + } + } + function parseUpdateExpression() { + if (token() === 46 /* PlusPlusToken */ || token() === 47 /* MinusMinusToken */) { + const pos = getNodePos(); + return finishNode(factory2.createPrefixUnaryExpression(token(), nextTokenAnd(parseLeftHandSideExpressionOrHigher)), pos); + } else if (languageVariant === 1 /* JSX */ && token() === 30 /* LessThanToken */ && lookAhead(nextTokenIsIdentifierOrKeywordOrGreaterThan)) { + return parseJsxElementOrSelfClosingElementOrFragment( + /*inExpressionContext*/ + true + ); + } + const expression = parseLeftHandSideExpressionOrHigher(); + Debug.assert(isLeftHandSideExpression(expression)); + if ((token() === 46 /* PlusPlusToken */ || token() === 47 /* MinusMinusToken */) && !scanner.hasPrecedingLineBreak()) { + const operator = token(); + nextToken(); + return finishNode(factory2.createPostfixUnaryExpression(expression, operator), expression.pos); + } + return expression; + } + function parseLeftHandSideExpressionOrHigher() { + const pos = getNodePos(); + let expression; + if (token() === 102 /* ImportKeyword */) { + if (lookAhead(nextTokenIsOpenParenOrLessThan)) { + sourceFlags |= 4194304 /* PossiblyContainsDynamicImport */; + expression = parseTokenNode(); + } else if (lookAhead(nextTokenIsDot)) { + nextToken(); + nextToken(); + expression = finishNode(factory2.createMetaProperty(102 /* ImportKeyword */, parseIdentifierName()), pos); + sourceFlags |= 8388608 /* PossiblyContainsImportMeta */; + } else { + expression = parseMemberExpressionOrHigher(); + } + } else { + expression = token() === 108 /* SuperKeyword */ ? parseSuperExpression() : parseMemberExpressionOrHigher(); + } + return parseCallExpressionRest(pos, expression); + } + function parseMemberExpressionOrHigher() { + const pos = getNodePos(); + const expression = parsePrimaryExpression(); + return parseMemberExpressionRest( + pos, + expression, + /*allowOptionalChain*/ + true + ); + } + function parseSuperExpression() { + const pos = getNodePos(); + let expression = parseTokenNode(); + if (token() === 30 /* LessThanToken */) { + const startPos = getNodePos(); + const typeArguments = tryParse(parseTypeArgumentsInExpression); + if (typeArguments !== void 0) { + parseErrorAt(startPos, getNodePos(), Diagnostics.super_may_not_use_type_arguments); + if (!isTemplateStartOfTaggedTemplate()) { + expression = factory2.createExpressionWithTypeArguments(expression, typeArguments); + } + } + } + if (token() === 21 /* OpenParenToken */ || token() === 25 /* DotToken */ || token() === 23 /* OpenBracketToken */) { + return expression; + } + parseExpectedToken(25 /* DotToken */, Diagnostics.super_must_be_followed_by_an_argument_list_or_member_access); + return finishNode(factoryCreatePropertyAccessExpression(expression, parseRightSideOfDot( + /*allowIdentifierNames*/ + true, + /*allowPrivateIdentifiers*/ + true, + /*allowUnicodeEscapeSequenceInIdentifierName*/ + true + )), pos); + } + function parseJsxElementOrSelfClosingElementOrFragment(inExpressionContext, topInvalidNodePosition, openingTag, mustBeUnary = false) { + const pos = getNodePos(); + const opening = parseJsxOpeningOrSelfClosingElementOrOpeningFragment(inExpressionContext); + let result; + if (opening.kind === 286 /* JsxOpeningElement */) { + let children = parseJsxChildren(opening); + let closingElement; + const lastChild = children[children.length - 1]; + if ((lastChild == null ? void 0 : lastChild.kind) === 284 /* JsxElement */ && !tagNamesAreEquivalent(lastChild.openingElement.tagName, lastChild.closingElement.tagName) && tagNamesAreEquivalent(opening.tagName, lastChild.closingElement.tagName)) { + const end = lastChild.children.end; + const newLast = finishNode( + factory2.createJsxElement( + lastChild.openingElement, + lastChild.children, + finishNode(factory2.createJsxClosingElement(finishNode(factoryCreateIdentifier(""), end, end)), end, end) + ), + lastChild.openingElement.pos, + end + ); + children = createNodeArray([...children.slice(0, children.length - 1), newLast], children.pos, end); + closingElement = lastChild.closingElement; + } else { + closingElement = parseJsxClosingElement(opening, inExpressionContext); + if (!tagNamesAreEquivalent(opening.tagName, closingElement.tagName)) { + if (openingTag && isJsxOpeningElement(openingTag) && tagNamesAreEquivalent(closingElement.tagName, openingTag.tagName)) { + parseErrorAtRange(opening.tagName, Diagnostics.JSX_element_0_has_no_corresponding_closing_tag, getTextOfNodeFromSourceText(sourceText, opening.tagName)); + } else { + parseErrorAtRange(closingElement.tagName, Diagnostics.Expected_corresponding_JSX_closing_tag_for_0, getTextOfNodeFromSourceText(sourceText, opening.tagName)); + } + } + } + result = finishNode(factory2.createJsxElement(opening, children, closingElement), pos); + } else if (opening.kind === 289 /* JsxOpeningFragment */) { + result = finishNode(factory2.createJsxFragment(opening, parseJsxChildren(opening), parseJsxClosingFragment(inExpressionContext)), pos); + } else { + Debug.assert(opening.kind === 285 /* JsxSelfClosingElement */); + result = opening; + } + if (!mustBeUnary && inExpressionContext && token() === 30 /* LessThanToken */) { + const topBadPos = typeof topInvalidNodePosition === "undefined" ? result.pos : topInvalidNodePosition; + const invalidElement = tryParse(() => parseJsxElementOrSelfClosingElementOrFragment( + /*inExpressionContext*/ + true, + topBadPos + )); + if (invalidElement) { + const operatorToken = createMissingNode( + 28 /* CommaToken */, + /*reportAtCurrentPosition*/ + false + ); + setTextRangePosWidth(operatorToken, invalidElement.pos, 0); + parseErrorAt(skipTrivia(sourceText, topBadPos), invalidElement.end, Diagnostics.JSX_expressions_must_have_one_parent_element); + return finishNode(factory2.createBinaryExpression(result, operatorToken, invalidElement), pos); + } + } + return result; + } + function parseJsxText() { + const pos = getNodePos(); + const node = factory2.createJsxText(scanner.getTokenValue(), currentToken === 13 /* JsxTextAllWhiteSpaces */); + currentToken = scanner.scanJsxToken(); + return finishNode(node, pos); + } + function parseJsxChild(openingTag, token2) { + switch (token2) { + case 1 /* EndOfFileToken */: + if (isJsxOpeningFragment(openingTag)) { + parseErrorAtRange(openingTag, Diagnostics.JSX_fragment_has_no_corresponding_closing_tag); + } else { + const tag = openingTag.tagName; + const start = Math.min(skipTrivia(sourceText, tag.pos), tag.end); + parseErrorAt(start, tag.end, Diagnostics.JSX_element_0_has_no_corresponding_closing_tag, getTextOfNodeFromSourceText(sourceText, openingTag.tagName)); + } + return void 0; + case 31 /* LessThanSlashToken */: + case 7 /* ConflictMarkerTrivia */: + return void 0; + case 12 /* JsxText */: + case 13 /* JsxTextAllWhiteSpaces */: + return parseJsxText(); + case 19 /* OpenBraceToken */: + return parseJsxExpression( + /*inExpressionContext*/ + false + ); + case 30 /* LessThanToken */: + return parseJsxElementOrSelfClosingElementOrFragment( + /*inExpressionContext*/ + false, + /*topInvalidNodePosition*/ + void 0, + openingTag + ); + default: + return Debug.assertNever(token2); + } + } + function parseJsxChildren(openingTag) { + const list = []; + const listPos = getNodePos(); + const saveParsingContext = parsingContext; + parsingContext |= 1 << 14 /* JsxChildren */; + while (true) { + const child = parseJsxChild(openingTag, currentToken = scanner.reScanJsxToken()); + if (!child) break; + list.push(child); + if (isJsxOpeningElement(openingTag) && (child == null ? void 0 : child.kind) === 284 /* JsxElement */ && !tagNamesAreEquivalent(child.openingElement.tagName, child.closingElement.tagName) && tagNamesAreEquivalent(openingTag.tagName, child.closingElement.tagName)) { + break; + } + } + parsingContext = saveParsingContext; + return createNodeArray(list, listPos); + } + function parseJsxAttributes() { + const pos = getNodePos(); + return finishNode(factory2.createJsxAttributes(parseList(13 /* JsxAttributes */, parseJsxAttribute)), pos); + } + function parseJsxOpeningOrSelfClosingElementOrOpeningFragment(inExpressionContext) { + const pos = getNodePos(); + parseExpected(30 /* LessThanToken */); + if (token() === 32 /* GreaterThanToken */) { + scanJsxText(); + return finishNode(factory2.createJsxOpeningFragment(), pos); + } + const tagName = parseJsxElementName(); + const typeArguments = (contextFlags & 524288 /* JavaScriptFile */) === 0 ? tryParseTypeArguments() : void 0; + const attributes = parseJsxAttributes(); + let node; + if (token() === 32 /* GreaterThanToken */) { + scanJsxText(); + node = factory2.createJsxOpeningElement(tagName, typeArguments, attributes); + } else { + parseExpected(44 /* SlashToken */); + if (parseExpected( + 32 /* GreaterThanToken */, + /*diagnosticMessage*/ + void 0, + /*shouldAdvance*/ + false + )) { + if (inExpressionContext) { + nextToken(); + } else { + scanJsxText(); + } + } + node = factory2.createJsxSelfClosingElement(tagName, typeArguments, attributes); + } + return finishNode(node, pos); + } + function parseJsxElementName() { + const pos = getNodePos(); + const initialExpression = parseJsxTagName(); + if (isJsxNamespacedName(initialExpression)) { + return initialExpression; + } + let expression = initialExpression; + while (parseOptional(25 /* DotToken */)) { + expression = finishNode(factoryCreatePropertyAccessExpression(expression, parseRightSideOfDot( + /*allowIdentifierNames*/ + true, + /*allowPrivateIdentifiers*/ + false, + /*allowUnicodeEscapeSequenceInIdentifierName*/ + false + )), pos); + } + return expression; + } + function parseJsxTagName() { + const pos = getNodePos(); + scanJsxIdentifier(); + const isThis = token() === 110 /* ThisKeyword */; + const tagName = parseIdentifierNameErrorOnUnicodeEscapeSequence(); + if (parseOptional(59 /* ColonToken */)) { + scanJsxIdentifier(); + return finishNode(factory2.createJsxNamespacedName(tagName, parseIdentifierNameErrorOnUnicodeEscapeSequence()), pos); + } + return isThis ? finishNode(factory2.createToken(110 /* ThisKeyword */), pos) : tagName; + } + function parseJsxExpression(inExpressionContext) { + const pos = getNodePos(); + if (!parseExpected(19 /* OpenBraceToken */)) { + return void 0; + } + let dotDotDotToken; + let expression; + if (token() !== 20 /* CloseBraceToken */) { + if (!inExpressionContext) { + dotDotDotToken = parseOptionalToken(26 /* DotDotDotToken */); + } + expression = parseExpression(); + } + if (inExpressionContext) { + parseExpected(20 /* CloseBraceToken */); + } else { + if (parseExpected( + 20 /* CloseBraceToken */, + /*diagnosticMessage*/ + void 0, + /*shouldAdvance*/ + false + )) { + scanJsxText(); + } + } + return finishNode(factory2.createJsxExpression(dotDotDotToken, expression), pos); + } + function parseJsxAttribute() { + if (token() === 19 /* OpenBraceToken */) { + return parseJsxSpreadAttribute(); + } + const pos = getNodePos(); + return finishNode(factory2.createJsxAttribute(parseJsxAttributeName(), parseJsxAttributeValue()), pos); + } + function parseJsxAttributeValue() { + if (token() === 64 /* EqualsToken */) { + if (scanJsxAttributeValue() === 11 /* StringLiteral */) { + return parseLiteralNode(); + } + if (token() === 19 /* OpenBraceToken */) { + return parseJsxExpression( + /*inExpressionContext*/ + true + ); + } + if (token() === 30 /* LessThanToken */) { + return parseJsxElementOrSelfClosingElementOrFragment( + /*inExpressionContext*/ + true + ); + } + parseErrorAtCurrentToken(Diagnostics.or_JSX_element_expected); + } + return void 0; + } + function parseJsxAttributeName() { + const pos = getNodePos(); + scanJsxIdentifier(); + const attrName = parseIdentifierNameErrorOnUnicodeEscapeSequence(); + if (parseOptional(59 /* ColonToken */)) { + scanJsxIdentifier(); + return finishNode(factory2.createJsxNamespacedName(attrName, parseIdentifierNameErrorOnUnicodeEscapeSequence()), pos); + } + return attrName; + } + function parseJsxSpreadAttribute() { + const pos = getNodePos(); + parseExpected(19 /* OpenBraceToken */); + parseExpected(26 /* DotDotDotToken */); + const expression = parseExpression(); + parseExpected(20 /* CloseBraceToken */); + return finishNode(factory2.createJsxSpreadAttribute(expression), pos); + } + function parseJsxClosingElement(open, inExpressionContext) { + const pos = getNodePos(); + parseExpected(31 /* LessThanSlashToken */); + const tagName = parseJsxElementName(); + if (parseExpected( + 32 /* GreaterThanToken */, + /*diagnosticMessage*/ + void 0, + /*shouldAdvance*/ + false + )) { + if (inExpressionContext || !tagNamesAreEquivalent(open.tagName, tagName)) { + nextToken(); + } else { + scanJsxText(); + } + } + return finishNode(factory2.createJsxClosingElement(tagName), pos); + } + function parseJsxClosingFragment(inExpressionContext) { + const pos = getNodePos(); + parseExpected(31 /* LessThanSlashToken */); + if (parseExpected( + 32 /* GreaterThanToken */, + Diagnostics.Expected_corresponding_closing_tag_for_JSX_fragment, + /*shouldAdvance*/ + false + )) { + if (inExpressionContext) { + nextToken(); + } else { + scanJsxText(); + } + } + return finishNode(factory2.createJsxJsxClosingFragment(), pos); + } + function parseTypeAssertion() { + Debug.assert(languageVariant !== 1 /* JSX */, "Type assertions should never be parsed in JSX; they should be parsed as comparisons or JSX elements/fragments."); + const pos = getNodePos(); + parseExpected(30 /* LessThanToken */); + const type = parseType(); + parseExpected(32 /* GreaterThanToken */); + const expression = parseSimpleUnaryExpression(); + return finishNode(factory2.createTypeAssertion(type, expression), pos); + } + function nextTokenIsIdentifierOrKeywordOrOpenBracketOrTemplate() { + nextToken(); + return tokenIsIdentifierOrKeyword(token()) || token() === 23 /* OpenBracketToken */ || isTemplateStartOfTaggedTemplate(); + } + function isStartOfOptionalPropertyOrElementAccessChain() { + return token() === 29 /* QuestionDotToken */ && lookAhead(nextTokenIsIdentifierOrKeywordOrOpenBracketOrTemplate); + } + function tryReparseOptionalChain(node) { + if (node.flags & 64 /* OptionalChain */) { + return true; + } + if (isNonNullExpression(node)) { + let expr = node.expression; + while (isNonNullExpression(expr) && !(expr.flags & 64 /* OptionalChain */)) { + expr = expr.expression; + } + if (expr.flags & 64 /* OptionalChain */) { + while (isNonNullExpression(node)) { + node.flags |= 64 /* OptionalChain */; + node = node.expression; + } + return true; + } + } + return false; + } + function parsePropertyAccessExpressionRest(pos, expression, questionDotToken) { + const name = parseRightSideOfDot( + /*allowIdentifierNames*/ + true, + /*allowPrivateIdentifiers*/ + true, + /*allowUnicodeEscapeSequenceInIdentifierName*/ + true + ); + const isOptionalChain2 = questionDotToken || tryReparseOptionalChain(expression); + const propertyAccess = isOptionalChain2 ? factoryCreatePropertyAccessChain(expression, questionDotToken, name) : factoryCreatePropertyAccessExpression(expression, name); + if (isOptionalChain2 && isPrivateIdentifier(propertyAccess.name)) { + parseErrorAtRange(propertyAccess.name, Diagnostics.An_optional_chain_cannot_contain_private_identifiers); + } + if (isExpressionWithTypeArguments(expression) && expression.typeArguments) { + const pos2 = expression.typeArguments.pos - 1; + const end = skipTrivia(sourceText, expression.typeArguments.end) + 1; + parseErrorAt(pos2, end, Diagnostics.An_instantiation_expression_cannot_be_followed_by_a_property_access); + } + return finishNode(propertyAccess, pos); + } + function parseElementAccessExpressionRest(pos, expression, questionDotToken) { + let argumentExpression; + if (token() === 24 /* CloseBracketToken */) { + argumentExpression = createMissingNode( + 80 /* Identifier */, + /*reportAtCurrentPosition*/ + true, + Diagnostics.An_element_access_expression_should_take_an_argument + ); + } else { + const argument = allowInAnd(parseExpression); + if (isStringOrNumericLiteralLike(argument)) { + argument.text = internIdentifier(argument.text); + } + argumentExpression = argument; + } + parseExpected(24 /* CloseBracketToken */); + const indexedAccess = questionDotToken || tryReparseOptionalChain(expression) ? factoryCreateElementAccessChain(expression, questionDotToken, argumentExpression) : factoryCreateElementAccessExpression(expression, argumentExpression); + return finishNode(indexedAccess, pos); + } + function parseMemberExpressionRest(pos, expression, allowOptionalChain) { + while (true) { + let questionDotToken; + let isPropertyAccess = false; + if (allowOptionalChain && isStartOfOptionalPropertyOrElementAccessChain()) { + questionDotToken = parseExpectedToken(29 /* QuestionDotToken */); + isPropertyAccess = tokenIsIdentifierOrKeyword(token()); + } else { + isPropertyAccess = parseOptional(25 /* DotToken */); + } + if (isPropertyAccess) { + expression = parsePropertyAccessExpressionRest(pos, expression, questionDotToken); + continue; + } + if ((questionDotToken || !inDecoratorContext()) && parseOptional(23 /* OpenBracketToken */)) { + expression = parseElementAccessExpressionRest(pos, expression, questionDotToken); + continue; + } + if (isTemplateStartOfTaggedTemplate()) { + expression = !questionDotToken && expression.kind === 233 /* ExpressionWithTypeArguments */ ? parseTaggedTemplateRest(pos, expression.expression, questionDotToken, expression.typeArguments) : parseTaggedTemplateRest( + pos, + expression, + questionDotToken, + /*typeArguments*/ + void 0 + ); + continue; + } + if (!questionDotToken) { + if (token() === 54 /* ExclamationToken */ && !scanner.hasPrecedingLineBreak()) { + nextToken(); + expression = finishNode(factory2.createNonNullExpression(expression), pos); + continue; + } + const typeArguments = tryParse(parseTypeArgumentsInExpression); + if (typeArguments) { + expression = finishNode(factory2.createExpressionWithTypeArguments(expression, typeArguments), pos); + continue; + } + } + return expression; + } + } + function isTemplateStartOfTaggedTemplate() { + return token() === 15 /* NoSubstitutionTemplateLiteral */ || token() === 16 /* TemplateHead */; + } + function parseTaggedTemplateRest(pos, tag, questionDotToken, typeArguments) { + const tagExpression = factory2.createTaggedTemplateExpression( + tag, + typeArguments, + token() === 15 /* NoSubstitutionTemplateLiteral */ ? (reScanTemplateToken( + /*isTaggedTemplate*/ + true + ), parseLiteralNode()) : parseTemplateExpression( + /*isTaggedTemplate*/ + true + ) + ); + if (questionDotToken || tag.flags & 64 /* OptionalChain */) { + tagExpression.flags |= 64 /* OptionalChain */; + } + tagExpression.questionDotToken = questionDotToken; + return finishNode(tagExpression, pos); + } + function parseCallExpressionRest(pos, expression) { + while (true) { + expression = parseMemberExpressionRest( + pos, + expression, + /*allowOptionalChain*/ + true + ); + let typeArguments; + const questionDotToken = parseOptionalToken(29 /* QuestionDotToken */); + if (questionDotToken) { + typeArguments = tryParse(parseTypeArgumentsInExpression); + if (isTemplateStartOfTaggedTemplate()) { + expression = parseTaggedTemplateRest(pos, expression, questionDotToken, typeArguments); + continue; + } + } + if (typeArguments || token() === 21 /* OpenParenToken */) { + if (!questionDotToken && expression.kind === 233 /* ExpressionWithTypeArguments */) { + typeArguments = expression.typeArguments; + expression = expression.expression; + } + const argumentList = parseArgumentList(); + const callExpr = questionDotToken || tryReparseOptionalChain(expression) ? factoryCreateCallChain(expression, questionDotToken, typeArguments, argumentList) : factoryCreateCallExpression(expression, typeArguments, argumentList); + expression = finishNode(callExpr, pos); + continue; + } + if (questionDotToken) { + const name = createMissingNode( + 80 /* Identifier */, + /*reportAtCurrentPosition*/ + false, + Diagnostics.Identifier_expected + ); + expression = finishNode(factoryCreatePropertyAccessChain(expression, questionDotToken, name), pos); + } + break; + } + return expression; + } + function parseArgumentList() { + parseExpected(21 /* OpenParenToken */); + const result = parseDelimitedList(11 /* ArgumentExpressions */, parseArgumentExpression); + parseExpected(22 /* CloseParenToken */); + return result; + } + function parseTypeArgumentsInExpression() { + if ((contextFlags & 524288 /* JavaScriptFile */) !== 0) { + return void 0; + } + if (reScanLessThanToken() !== 30 /* LessThanToken */) { + return void 0; + } + nextToken(); + const typeArguments = parseDelimitedList(20 /* TypeArguments */, parseType); + if (reScanGreaterToken() !== 32 /* GreaterThanToken */) { + return void 0; + } + nextToken(); + return typeArguments && canFollowTypeArgumentsInExpression() ? typeArguments : void 0; + } + function canFollowTypeArgumentsInExpression() { + switch (token()) { + // These tokens can follow a type argument list in a call expression. + case 21 /* OpenParenToken */: + // foo( + case 15 /* NoSubstitutionTemplateLiteral */: + // foo `...` + case 16 /* TemplateHead */: + return true; + // A type argument list followed by `<` never makes sense, and a type argument list followed + // by `>` is ambiguous with a (re-scanned) `>>` operator, so we disqualify both. Also, in + // this context, `+` and `-` are unary operators, not binary operators. + case 30 /* LessThanToken */: + case 32 /* GreaterThanToken */: + case 40 /* PlusToken */: + case 41 /* MinusToken */: + return false; + } + return scanner.hasPrecedingLineBreak() || isBinaryOperator2() || !isStartOfExpression(); + } + function parsePrimaryExpression() { + switch (token()) { + case 15 /* NoSubstitutionTemplateLiteral */: + if (scanner.getTokenFlags() & 26656 /* IsInvalid */) { + reScanTemplateToken( + /*isTaggedTemplate*/ + false + ); + } + // falls through + case 9 /* NumericLiteral */: + case 10 /* BigIntLiteral */: + case 11 /* StringLiteral */: + return parseLiteralNode(); + case 110 /* ThisKeyword */: + case 108 /* SuperKeyword */: + case 106 /* NullKeyword */: + case 112 /* TrueKeyword */: + case 97 /* FalseKeyword */: + return parseTokenNode(); + case 21 /* OpenParenToken */: + return parseParenthesizedExpression(); + case 23 /* OpenBracketToken */: + return parseArrayLiteralExpression(); + case 19 /* OpenBraceToken */: + return parseObjectLiteralExpression(); + case 134 /* AsyncKeyword */: + if (!lookAhead(nextTokenIsFunctionKeywordOnSameLine)) { + break; + } + return parseFunctionExpression(); + case 60 /* AtToken */: + return parseDecoratedExpression(); + case 86 /* ClassKeyword */: + return parseClassExpression(); + case 100 /* FunctionKeyword */: + return parseFunctionExpression(); + case 105 /* NewKeyword */: + return parseNewExpressionOrNewDotTarget(); + case 44 /* SlashToken */: + case 69 /* SlashEqualsToken */: + if (reScanSlashToken() === 14 /* RegularExpressionLiteral */) { + return parseLiteralNode(); + } + break; + case 16 /* TemplateHead */: + return parseTemplateExpression( + /*isTaggedTemplate*/ + false + ); + case 81 /* PrivateIdentifier */: + return parsePrivateIdentifier(); + } + return parseIdentifier(Diagnostics.Expression_expected); + } + function parseParenthesizedExpression() { + const pos = getNodePos(); + const hasJSDoc = hasPrecedingJSDocComment(); + parseExpected(21 /* OpenParenToken */); + const expression = allowInAnd(parseExpression); + parseExpected(22 /* CloseParenToken */); + return withJSDoc(finishNode(factoryCreateParenthesizedExpression(expression), pos), hasJSDoc); + } + function parseSpreadElement() { + const pos = getNodePos(); + parseExpected(26 /* DotDotDotToken */); + const expression = parseAssignmentExpressionOrHigher( + /*allowReturnTypeInArrowFunction*/ + true + ); + return finishNode(factory2.createSpreadElement(expression), pos); + } + function parseArgumentOrArrayLiteralElement() { + return token() === 26 /* DotDotDotToken */ ? parseSpreadElement() : token() === 28 /* CommaToken */ ? finishNode(factory2.createOmittedExpression(), getNodePos()) : parseAssignmentExpressionOrHigher( + /*allowReturnTypeInArrowFunction*/ + true + ); + } + function parseArgumentExpression() { + return doOutsideOfContext(disallowInAndDecoratorContext, parseArgumentOrArrayLiteralElement); + } + function parseArrayLiteralExpression() { + const pos = getNodePos(); + const openBracketPosition = scanner.getTokenStart(); + const openBracketParsed = parseExpected(23 /* OpenBracketToken */); + const multiLine = scanner.hasPrecedingLineBreak(); + const elements = parseDelimitedList(15 /* ArrayLiteralMembers */, parseArgumentOrArrayLiteralElement); + parseExpectedMatchingBrackets(23 /* OpenBracketToken */, 24 /* CloseBracketToken */, openBracketParsed, openBracketPosition); + return finishNode(factoryCreateArrayLiteralExpression(elements, multiLine), pos); + } + function parseObjectLiteralElement() { + const pos = getNodePos(); + const hasJSDoc = hasPrecedingJSDocComment(); + if (parseOptionalToken(26 /* DotDotDotToken */)) { + const expression = parseAssignmentExpressionOrHigher( + /*allowReturnTypeInArrowFunction*/ + true + ); + return withJSDoc(finishNode(factory2.createSpreadAssignment(expression), pos), hasJSDoc); + } + const modifiers = parseModifiers( + /*allowDecorators*/ + true + ); + if (parseContextualModifier(139 /* GetKeyword */)) { + return parseAccessorDeclaration(pos, hasJSDoc, modifiers, 177 /* GetAccessor */, 0 /* None */); + } + if (parseContextualModifier(153 /* SetKeyword */)) { + return parseAccessorDeclaration(pos, hasJSDoc, modifiers, 178 /* SetAccessor */, 0 /* None */); + } + const asteriskToken = parseOptionalToken(42 /* AsteriskToken */); + const tokenIsIdentifier = isIdentifier2(); + const name = parsePropertyName(); + const questionToken = parseOptionalToken(58 /* QuestionToken */); + const exclamationToken = parseOptionalToken(54 /* ExclamationToken */); + if (asteriskToken || token() === 21 /* OpenParenToken */ || token() === 30 /* LessThanToken */) { + return parseMethodDeclaration(pos, hasJSDoc, modifiers, asteriskToken, name, questionToken, exclamationToken); + } + let node; + const isShorthandPropertyAssignment2 = tokenIsIdentifier && token() !== 59 /* ColonToken */; + if (isShorthandPropertyAssignment2) { + const equalsToken = parseOptionalToken(64 /* EqualsToken */); + const objectAssignmentInitializer = equalsToken ? allowInAnd(() => parseAssignmentExpressionOrHigher( + /*allowReturnTypeInArrowFunction*/ + true + )) : void 0; + node = factory2.createShorthandPropertyAssignment(name, objectAssignmentInitializer); + node.equalsToken = equalsToken; + } else { + parseExpected(59 /* ColonToken */); + const initializer = allowInAnd(() => parseAssignmentExpressionOrHigher( + /*allowReturnTypeInArrowFunction*/ + true + )); + node = factory2.createPropertyAssignment(name, initializer); + } + node.modifiers = modifiers; + node.questionToken = questionToken; + node.exclamationToken = exclamationToken; + return withJSDoc(finishNode(node, pos), hasJSDoc); + } + function parseObjectLiteralExpression() { + const pos = getNodePos(); + const openBracePosition = scanner.getTokenStart(); + const openBraceParsed = parseExpected(19 /* OpenBraceToken */); + const multiLine = scanner.hasPrecedingLineBreak(); + const properties = parseDelimitedList( + 12 /* ObjectLiteralMembers */, + parseObjectLiteralElement, + /*considerSemicolonAsDelimiter*/ + true + ); + parseExpectedMatchingBrackets(19 /* OpenBraceToken */, 20 /* CloseBraceToken */, openBraceParsed, openBracePosition); + return finishNode(factoryCreateObjectLiteralExpression(properties, multiLine), pos); + } + function parseFunctionExpression() { + const savedDecoratorContext = inDecoratorContext(); + setDecoratorContext( + /*val*/ + false + ); + const pos = getNodePos(); + const hasJSDoc = hasPrecedingJSDocComment(); + const modifiers = parseModifiers( + /*allowDecorators*/ + false + ); + parseExpected(100 /* FunctionKeyword */); + const asteriskToken = parseOptionalToken(42 /* AsteriskToken */); + const isGenerator = asteriskToken ? 1 /* Yield */ : 0 /* None */; + const isAsync = some(modifiers, isAsyncModifier) ? 2 /* Await */ : 0 /* None */; + const name = isGenerator && isAsync ? doInYieldAndAwaitContext(parseOptionalBindingIdentifier) : isGenerator ? doInYieldContext(parseOptionalBindingIdentifier) : isAsync ? doInAwaitContext(parseOptionalBindingIdentifier) : parseOptionalBindingIdentifier(); + const typeParameters = parseTypeParameters(); + const parameters = parseParameters(isGenerator | isAsync); + const type = parseReturnType( + 59 /* ColonToken */, + /*isType*/ + false + ); + const body = parseFunctionBlock(isGenerator | isAsync); + setDecoratorContext(savedDecoratorContext); + const node = factory2.createFunctionExpression(modifiers, asteriskToken, name, typeParameters, parameters, type, body); + return withJSDoc(finishNode(node, pos), hasJSDoc); + } + function parseOptionalBindingIdentifier() { + return isBindingIdentifier() ? parseBindingIdentifier() : void 0; + } + function parseNewExpressionOrNewDotTarget() { + const pos = getNodePos(); + parseExpected(105 /* NewKeyword */); + if (parseOptional(25 /* DotToken */)) { + const name = parseIdentifierName(); + return finishNode(factory2.createMetaProperty(105 /* NewKeyword */, name), pos); + } + const expressionPos = getNodePos(); + let expression = parseMemberExpressionRest( + expressionPos, + parsePrimaryExpression(), + /*allowOptionalChain*/ + false + ); + let typeArguments; + if (expression.kind === 233 /* ExpressionWithTypeArguments */) { + typeArguments = expression.typeArguments; + expression = expression.expression; + } + if (token() === 29 /* QuestionDotToken */) { + parseErrorAtCurrentToken(Diagnostics.Invalid_optional_chain_from_new_expression_Did_you_mean_to_call_0, getTextOfNodeFromSourceText(sourceText, expression)); + } + const argumentList = token() === 21 /* OpenParenToken */ ? parseArgumentList() : void 0; + return finishNode(factoryCreateNewExpression(expression, typeArguments, argumentList), pos); + } + function parseBlock(ignoreMissingOpenBrace, diagnosticMessage) { + const pos = getNodePos(); + const hasJSDoc = hasPrecedingJSDocComment(); + const openBracePosition = scanner.getTokenStart(); + const openBraceParsed = parseExpected(19 /* OpenBraceToken */, diagnosticMessage); + if (openBraceParsed || ignoreMissingOpenBrace) { + const multiLine = scanner.hasPrecedingLineBreak(); + const statements = parseList(1 /* BlockStatements */, parseStatement); + parseExpectedMatchingBrackets(19 /* OpenBraceToken */, 20 /* CloseBraceToken */, openBraceParsed, openBracePosition); + const result = withJSDoc(finishNode(factoryCreateBlock(statements, multiLine), pos), hasJSDoc); + if (token() === 64 /* EqualsToken */) { + parseErrorAtCurrentToken(Diagnostics.Declaration_or_statement_expected_This_follows_a_block_of_statements_so_if_you_intended_to_write_a_destructuring_assignment_you_might_need_to_wrap_the_whole_assignment_in_parentheses); + nextToken(); + } + return result; + } else { + const statements = createMissingList(); + return withJSDoc(finishNode(factoryCreateBlock( + statements, + /*multiLine*/ + void 0 + ), pos), hasJSDoc); + } + } + function parseFunctionBlock(flags, diagnosticMessage) { + const savedYieldContext = inYieldContext(); + setYieldContext(!!(flags & 1 /* Yield */)); + const savedAwaitContext = inAwaitContext(); + setAwaitContext(!!(flags & 2 /* Await */)); + const savedTopLevel = topLevel; + topLevel = false; + const saveDecoratorContext = inDecoratorContext(); + if (saveDecoratorContext) { + setDecoratorContext( + /*val*/ + false + ); + } + const block = parseBlock(!!(flags & 16 /* IgnoreMissingOpenBrace */), diagnosticMessage); + if (saveDecoratorContext) { + setDecoratorContext( + /*val*/ + true + ); + } + topLevel = savedTopLevel; + setYieldContext(savedYieldContext); + setAwaitContext(savedAwaitContext); + return block; + } + function parseEmptyStatement() { + const pos = getNodePos(); + const hasJSDoc = hasPrecedingJSDocComment(); + parseExpected(27 /* SemicolonToken */); + return withJSDoc(finishNode(factory2.createEmptyStatement(), pos), hasJSDoc); + } + function parseIfStatement() { + const pos = getNodePos(); + const hasJSDoc = hasPrecedingJSDocComment(); + parseExpected(101 /* IfKeyword */); + const openParenPosition = scanner.getTokenStart(); + const openParenParsed = parseExpected(21 /* OpenParenToken */); + const expression = allowInAnd(parseExpression); + parseExpectedMatchingBrackets(21 /* OpenParenToken */, 22 /* CloseParenToken */, openParenParsed, openParenPosition); + const thenStatement = parseStatement(); + const elseStatement = parseOptional(93 /* ElseKeyword */) ? parseStatement() : void 0; + return withJSDoc(finishNode(factoryCreateIfStatement(expression, thenStatement, elseStatement), pos), hasJSDoc); + } + function parseDoStatement() { + const pos = getNodePos(); + const hasJSDoc = hasPrecedingJSDocComment(); + parseExpected(92 /* DoKeyword */); + const statement = parseStatement(); + parseExpected(117 /* WhileKeyword */); + const openParenPosition = scanner.getTokenStart(); + const openParenParsed = parseExpected(21 /* OpenParenToken */); + const expression = allowInAnd(parseExpression); + parseExpectedMatchingBrackets(21 /* OpenParenToken */, 22 /* CloseParenToken */, openParenParsed, openParenPosition); + parseOptional(27 /* SemicolonToken */); + return withJSDoc(finishNode(factory2.createDoStatement(statement, expression), pos), hasJSDoc); + } + function parseWhileStatement() { + const pos = getNodePos(); + const hasJSDoc = hasPrecedingJSDocComment(); + parseExpected(117 /* WhileKeyword */); + const openParenPosition = scanner.getTokenStart(); + const openParenParsed = parseExpected(21 /* OpenParenToken */); + const expression = allowInAnd(parseExpression); + parseExpectedMatchingBrackets(21 /* OpenParenToken */, 22 /* CloseParenToken */, openParenParsed, openParenPosition); + const statement = parseStatement(); + return withJSDoc(finishNode(factoryCreateWhileStatement(expression, statement), pos), hasJSDoc); + } + function parseForOrForInOrForOfStatement() { + const pos = getNodePos(); + const hasJSDoc = hasPrecedingJSDocComment(); + parseExpected(99 /* ForKeyword */); + const awaitToken = parseOptionalToken(135 /* AwaitKeyword */); + parseExpected(21 /* OpenParenToken */); + let initializer; + if (token() !== 27 /* SemicolonToken */) { + if (token() === 115 /* VarKeyword */ || token() === 121 /* LetKeyword */ || token() === 87 /* ConstKeyword */ || token() === 160 /* UsingKeyword */ && lookAhead(nextTokenIsBindingIdentifierOrStartOfDestructuringOnSameLineDisallowOf) || // this one is meant to allow of + token() === 135 /* AwaitKeyword */ && lookAhead(nextTokenIsUsingKeywordThenBindingIdentifierOrStartOfObjectDestructuringOnSameLine)) { + initializer = parseVariableDeclarationList( + /*inForStatementInitializer*/ + true + ); + } else { + initializer = disallowInAnd(parseExpression); + } + } + let node; + if (awaitToken ? parseExpected(165 /* OfKeyword */) : parseOptional(165 /* OfKeyword */)) { + const expression = allowInAnd(() => parseAssignmentExpressionOrHigher( + /*allowReturnTypeInArrowFunction*/ + true + )); + parseExpected(22 /* CloseParenToken */); + node = factoryCreateForOfStatement(awaitToken, initializer, expression, parseStatement()); + } else if (parseOptional(103 /* InKeyword */)) { + const expression = allowInAnd(parseExpression); + parseExpected(22 /* CloseParenToken */); + node = factory2.createForInStatement(initializer, expression, parseStatement()); + } else { + parseExpected(27 /* SemicolonToken */); + const condition = token() !== 27 /* SemicolonToken */ && token() !== 22 /* CloseParenToken */ ? allowInAnd(parseExpression) : void 0; + parseExpected(27 /* SemicolonToken */); + const incrementor = token() !== 22 /* CloseParenToken */ ? allowInAnd(parseExpression) : void 0; + parseExpected(22 /* CloseParenToken */); + node = factoryCreateForStatement(initializer, condition, incrementor, parseStatement()); + } + return withJSDoc(finishNode(node, pos), hasJSDoc); + } + function parseBreakOrContinueStatement(kind) { + const pos = getNodePos(); + const hasJSDoc = hasPrecedingJSDocComment(); + parseExpected(kind === 252 /* BreakStatement */ ? 83 /* BreakKeyword */ : 88 /* ContinueKeyword */); + const label = canParseSemicolon() ? void 0 : parseIdentifier(); + parseSemicolon(); + const node = kind === 252 /* BreakStatement */ ? factory2.createBreakStatement(label) : factory2.createContinueStatement(label); + return withJSDoc(finishNode(node, pos), hasJSDoc); + } + function parseReturnStatement() { + const pos = getNodePos(); + const hasJSDoc = hasPrecedingJSDocComment(); + parseExpected(107 /* ReturnKeyword */); + const expression = canParseSemicolon() ? void 0 : allowInAnd(parseExpression); + parseSemicolon(); + return withJSDoc(finishNode(factory2.createReturnStatement(expression), pos), hasJSDoc); + } + function parseWithStatement() { + const pos = getNodePos(); + const hasJSDoc = hasPrecedingJSDocComment(); + parseExpected(118 /* WithKeyword */); + const openParenPosition = scanner.getTokenStart(); + const openParenParsed = parseExpected(21 /* OpenParenToken */); + const expression = allowInAnd(parseExpression); + parseExpectedMatchingBrackets(21 /* OpenParenToken */, 22 /* CloseParenToken */, openParenParsed, openParenPosition); + const statement = doInsideOfContext(67108864 /* InWithStatement */, parseStatement); + return withJSDoc(finishNode(factory2.createWithStatement(expression, statement), pos), hasJSDoc); + } + function parseCaseClause() { + const pos = getNodePos(); + const hasJSDoc = hasPrecedingJSDocComment(); + parseExpected(84 /* CaseKeyword */); + const expression = allowInAnd(parseExpression); + parseExpected(59 /* ColonToken */); + const statements = parseList(3 /* SwitchClauseStatements */, parseStatement); + return withJSDoc(finishNode(factory2.createCaseClause(expression, statements), pos), hasJSDoc); + } + function parseDefaultClause() { + const pos = getNodePos(); + parseExpected(90 /* DefaultKeyword */); + parseExpected(59 /* ColonToken */); + const statements = parseList(3 /* SwitchClauseStatements */, parseStatement); + return finishNode(factory2.createDefaultClause(statements), pos); + } + function parseCaseOrDefaultClause() { + return token() === 84 /* CaseKeyword */ ? parseCaseClause() : parseDefaultClause(); + } + function parseCaseBlock() { + const pos = getNodePos(); + parseExpected(19 /* OpenBraceToken */); + const clauses = parseList(2 /* SwitchClauses */, parseCaseOrDefaultClause); + parseExpected(20 /* CloseBraceToken */); + return finishNode(factory2.createCaseBlock(clauses), pos); + } + function parseSwitchStatement() { + const pos = getNodePos(); + const hasJSDoc = hasPrecedingJSDocComment(); + parseExpected(109 /* SwitchKeyword */); + parseExpected(21 /* OpenParenToken */); + const expression = allowInAnd(parseExpression); + parseExpected(22 /* CloseParenToken */); + const caseBlock = parseCaseBlock(); + return withJSDoc(finishNode(factory2.createSwitchStatement(expression, caseBlock), pos), hasJSDoc); + } + function parseThrowStatement() { + const pos = getNodePos(); + const hasJSDoc = hasPrecedingJSDocComment(); + parseExpected(111 /* ThrowKeyword */); + let expression = scanner.hasPrecedingLineBreak() ? void 0 : allowInAnd(parseExpression); + if (expression === void 0) { + identifierCount++; + expression = finishNode(factoryCreateIdentifier(""), getNodePos()); + } + if (!tryParseSemicolon()) { + parseErrorForMissingSemicolonAfter(expression); + } + return withJSDoc(finishNode(factory2.createThrowStatement(expression), pos), hasJSDoc); + } + function parseTryStatement() { + const pos = getNodePos(); + const hasJSDoc = hasPrecedingJSDocComment(); + parseExpected(113 /* TryKeyword */); + const tryBlock = parseBlock( + /*ignoreMissingOpenBrace*/ + false + ); + const catchClause = token() === 85 /* CatchKeyword */ ? parseCatchClause() : void 0; + let finallyBlock; + if (!catchClause || token() === 98 /* FinallyKeyword */) { + parseExpected(98 /* FinallyKeyword */, Diagnostics.catch_or_finally_expected); + finallyBlock = parseBlock( + /*ignoreMissingOpenBrace*/ + false + ); + } + return withJSDoc(finishNode(factory2.createTryStatement(tryBlock, catchClause, finallyBlock), pos), hasJSDoc); + } + function parseCatchClause() { + const pos = getNodePos(); + parseExpected(85 /* CatchKeyword */); + let variableDeclaration; + if (parseOptional(21 /* OpenParenToken */)) { + variableDeclaration = parseVariableDeclaration(); + parseExpected(22 /* CloseParenToken */); + } else { + variableDeclaration = void 0; + } + const block = parseBlock( + /*ignoreMissingOpenBrace*/ + false + ); + return finishNode(factory2.createCatchClause(variableDeclaration, block), pos); + } + function parseDebuggerStatement() { + const pos = getNodePos(); + const hasJSDoc = hasPrecedingJSDocComment(); + parseExpected(89 /* DebuggerKeyword */); + parseSemicolon(); + return withJSDoc(finishNode(factory2.createDebuggerStatement(), pos), hasJSDoc); + } + function parseExpressionOrLabeledStatement() { + const pos = getNodePos(); + let hasJSDoc = hasPrecedingJSDocComment(); + let node; + const hasParen = token() === 21 /* OpenParenToken */; + const expression = allowInAnd(parseExpression); + if (isIdentifier(expression) && parseOptional(59 /* ColonToken */)) { + node = factory2.createLabeledStatement(expression, parseStatement()); + } else { + if (!tryParseSemicolon()) { + parseErrorForMissingSemicolonAfter(expression); + } + node = factoryCreateExpressionStatement(expression); + if (hasParen) { + hasJSDoc = false; + } + } + return withJSDoc(finishNode(node, pos), hasJSDoc); + } + function nextTokenIsIdentifierOrKeywordOnSameLine() { + nextToken(); + return tokenIsIdentifierOrKeyword(token()) && !scanner.hasPrecedingLineBreak(); + } + function nextTokenIsClassKeywordOnSameLine() { + nextToken(); + return token() === 86 /* ClassKeyword */ && !scanner.hasPrecedingLineBreak(); + } + function nextTokenIsFunctionKeywordOnSameLine() { + nextToken(); + return token() === 100 /* FunctionKeyword */ && !scanner.hasPrecedingLineBreak(); + } + function nextTokenIsIdentifierOrKeywordOrLiteralOnSameLine() { + nextToken(); + return (tokenIsIdentifierOrKeyword(token()) || token() === 9 /* NumericLiteral */ || token() === 10 /* BigIntLiteral */ || token() === 11 /* StringLiteral */) && !scanner.hasPrecedingLineBreak(); + } + function isDeclaration2() { + while (true) { + switch (token()) { + case 115 /* VarKeyword */: + case 121 /* LetKeyword */: + case 87 /* ConstKeyword */: + case 100 /* FunctionKeyword */: + case 86 /* ClassKeyword */: + case 94 /* EnumKeyword */: + return true; + case 160 /* UsingKeyword */: + return isUsingDeclaration(); + case 135 /* AwaitKeyword */: + return isAwaitUsingDeclaration(); + // 'declare', 'module', 'namespace', 'interface'* and 'type' are all legal JavaScript identifiers; + // however, an identifier cannot be followed by another identifier on the same line. This is what we + // count on to parse out the respective declarations. For instance, we exploit this to say that + // + // namespace n + // + // can be none other than the beginning of a namespace declaration, but need to respect that JavaScript sees + // + // namespace + // n + // + // as the identifier 'namespace' on one line followed by the identifier 'n' on another. + // We need to look one token ahead to see if it permissible to try parsing a declaration. + // + // *Note*: 'interface' is actually a strict mode reserved word. So while + // + // "use strict" + // interface + // I {} + // + // could be legal, it would add complexity for very little gain. + case 120 /* InterfaceKeyword */: + case 156 /* TypeKeyword */: + return nextTokenIsIdentifierOnSameLine(); + case 144 /* ModuleKeyword */: + case 145 /* NamespaceKeyword */: + return nextTokenIsIdentifierOrStringLiteralOnSameLine(); + case 128 /* AbstractKeyword */: + case 129 /* AccessorKeyword */: + case 134 /* AsyncKeyword */: + case 138 /* DeclareKeyword */: + case 123 /* PrivateKeyword */: + case 124 /* ProtectedKeyword */: + case 125 /* PublicKeyword */: + case 148 /* ReadonlyKeyword */: + const previousToken = token(); + nextToken(); + if (scanner.hasPrecedingLineBreak()) { + return false; + } + if (previousToken === 138 /* DeclareKeyword */ && token() === 156 /* TypeKeyword */) { + return true; + } + continue; + case 162 /* GlobalKeyword */: + nextToken(); + return token() === 19 /* OpenBraceToken */ || token() === 80 /* Identifier */ || token() === 95 /* ExportKeyword */; + case 102 /* ImportKeyword */: + nextToken(); + return token() === 11 /* StringLiteral */ || token() === 42 /* AsteriskToken */ || token() === 19 /* OpenBraceToken */ || tokenIsIdentifierOrKeyword(token()); + case 95 /* ExportKeyword */: + let currentToken2 = nextToken(); + if (currentToken2 === 156 /* TypeKeyword */) { + currentToken2 = lookAhead(nextToken); + } + if (currentToken2 === 64 /* EqualsToken */ || currentToken2 === 42 /* AsteriskToken */ || currentToken2 === 19 /* OpenBraceToken */ || currentToken2 === 90 /* DefaultKeyword */ || currentToken2 === 130 /* AsKeyword */ || currentToken2 === 60 /* AtToken */) { + return true; + } + continue; + case 126 /* StaticKeyword */: + nextToken(); + continue; + default: + return false; + } + } + } + function isStartOfDeclaration() { + return lookAhead(isDeclaration2); + } + function isStartOfStatement() { + switch (token()) { + case 60 /* AtToken */: + case 27 /* SemicolonToken */: + case 19 /* OpenBraceToken */: + case 115 /* VarKeyword */: + case 121 /* LetKeyword */: + case 160 /* UsingKeyword */: + case 100 /* FunctionKeyword */: + case 86 /* ClassKeyword */: + case 94 /* EnumKeyword */: + case 101 /* IfKeyword */: + case 92 /* DoKeyword */: + case 117 /* WhileKeyword */: + case 99 /* ForKeyword */: + case 88 /* ContinueKeyword */: + case 83 /* BreakKeyword */: + case 107 /* ReturnKeyword */: + case 118 /* WithKeyword */: + case 109 /* SwitchKeyword */: + case 111 /* ThrowKeyword */: + case 113 /* TryKeyword */: + case 89 /* DebuggerKeyword */: + // 'catch' and 'finally' do not actually indicate that the code is part of a statement, + // however, we say they are here so that we may gracefully parse them and error later. + // falls through + case 85 /* CatchKeyword */: + case 98 /* FinallyKeyword */: + return true; + case 102 /* ImportKeyword */: + return isStartOfDeclaration() || lookAhead(nextTokenIsOpenParenOrLessThanOrDot); + case 87 /* ConstKeyword */: + case 95 /* ExportKeyword */: + return isStartOfDeclaration(); + case 134 /* AsyncKeyword */: + case 138 /* DeclareKeyword */: + case 120 /* InterfaceKeyword */: + case 144 /* ModuleKeyword */: + case 145 /* NamespaceKeyword */: + case 156 /* TypeKeyword */: + case 162 /* GlobalKeyword */: + return true; + case 129 /* AccessorKeyword */: + case 125 /* PublicKeyword */: + case 123 /* PrivateKeyword */: + case 124 /* ProtectedKeyword */: + case 126 /* StaticKeyword */: + case 148 /* ReadonlyKeyword */: + return isStartOfDeclaration() || !lookAhead(nextTokenIsIdentifierOrKeywordOnSameLine); + default: + return isStartOfExpression(); + } + } + function nextTokenIsBindingIdentifierOrStartOfDestructuring() { + nextToken(); + return isBindingIdentifier() || token() === 19 /* OpenBraceToken */ || token() === 23 /* OpenBracketToken */; + } + function isLetDeclaration() { + return lookAhead(nextTokenIsBindingIdentifierOrStartOfDestructuring); + } + function nextTokenIsBindingIdentifierOrStartOfDestructuringOnSameLineDisallowOf() { + return nextTokenIsBindingIdentifierOrStartOfDestructuringOnSameLine( + /*disallowOf*/ + true + ); + } + function nextTokenIsBindingIdentifierOrStartOfDestructuringOnSameLine(disallowOf) { + nextToken(); + if (disallowOf && token() === 165 /* OfKeyword */) return false; + return (isBindingIdentifier() || token() === 19 /* OpenBraceToken */) && !scanner.hasPrecedingLineBreak(); + } + function isUsingDeclaration() { + return lookAhead(nextTokenIsBindingIdentifierOrStartOfDestructuringOnSameLine); + } + function nextTokenIsUsingKeywordThenBindingIdentifierOrStartOfObjectDestructuringOnSameLine(disallowOf) { + if (nextToken() === 160 /* UsingKeyword */) { + return nextTokenIsBindingIdentifierOrStartOfDestructuringOnSameLine(disallowOf); + } + return false; + } + function isAwaitUsingDeclaration() { + return lookAhead(nextTokenIsUsingKeywordThenBindingIdentifierOrStartOfObjectDestructuringOnSameLine); + } + function parseStatement() { + switch (token()) { + case 27 /* SemicolonToken */: + return parseEmptyStatement(); + case 19 /* OpenBraceToken */: + return parseBlock( + /*ignoreMissingOpenBrace*/ + false + ); + case 115 /* VarKeyword */: + return parseVariableStatement( + getNodePos(), + hasPrecedingJSDocComment(), + /*modifiers*/ + void 0 + ); + case 121 /* LetKeyword */: + if (isLetDeclaration()) { + return parseVariableStatement( + getNodePos(), + hasPrecedingJSDocComment(), + /*modifiers*/ + void 0 + ); + } + break; + case 135 /* AwaitKeyword */: + if (isAwaitUsingDeclaration()) { + return parseVariableStatement( + getNodePos(), + hasPrecedingJSDocComment(), + /*modifiers*/ + void 0 + ); + } + break; + case 160 /* UsingKeyword */: + if (isUsingDeclaration()) { + return parseVariableStatement( + getNodePos(), + hasPrecedingJSDocComment(), + /*modifiers*/ + void 0 + ); + } + break; + case 100 /* FunctionKeyword */: + return parseFunctionDeclaration( + getNodePos(), + hasPrecedingJSDocComment(), + /*modifiers*/ + void 0 + ); + case 86 /* ClassKeyword */: + return parseClassDeclaration( + getNodePos(), + hasPrecedingJSDocComment(), + /*modifiers*/ + void 0 + ); + case 101 /* IfKeyword */: + return parseIfStatement(); + case 92 /* DoKeyword */: + return parseDoStatement(); + case 117 /* WhileKeyword */: + return parseWhileStatement(); + case 99 /* ForKeyword */: + return parseForOrForInOrForOfStatement(); + case 88 /* ContinueKeyword */: + return parseBreakOrContinueStatement(251 /* ContinueStatement */); + case 83 /* BreakKeyword */: + return parseBreakOrContinueStatement(252 /* BreakStatement */); + case 107 /* ReturnKeyword */: + return parseReturnStatement(); + case 118 /* WithKeyword */: + return parseWithStatement(); + case 109 /* SwitchKeyword */: + return parseSwitchStatement(); + case 111 /* ThrowKeyword */: + return parseThrowStatement(); + case 113 /* TryKeyword */: + // Include 'catch' and 'finally' for error recovery. + // falls through + case 85 /* CatchKeyword */: + case 98 /* FinallyKeyword */: + return parseTryStatement(); + case 89 /* DebuggerKeyword */: + return parseDebuggerStatement(); + case 60 /* AtToken */: + return parseDeclaration(); + case 134 /* AsyncKeyword */: + case 120 /* InterfaceKeyword */: + case 156 /* TypeKeyword */: + case 144 /* ModuleKeyword */: + case 145 /* NamespaceKeyword */: + case 138 /* DeclareKeyword */: + case 87 /* ConstKeyword */: + case 94 /* EnumKeyword */: + case 95 /* ExportKeyword */: + case 102 /* ImportKeyword */: + case 123 /* PrivateKeyword */: + case 124 /* ProtectedKeyword */: + case 125 /* PublicKeyword */: + case 128 /* AbstractKeyword */: + case 129 /* AccessorKeyword */: + case 126 /* StaticKeyword */: + case 148 /* ReadonlyKeyword */: + case 162 /* GlobalKeyword */: + if (isStartOfDeclaration()) { + return parseDeclaration(); + } + break; + } + return parseExpressionOrLabeledStatement(); + } + function isDeclareModifier(modifier) { + return modifier.kind === 138 /* DeclareKeyword */; + } + function parseDeclaration() { + const pos = getNodePos(); + const hasJSDoc = hasPrecedingJSDocComment(); + const modifiers = parseModifiers( + /*allowDecorators*/ + true + ); + const isAmbient = some(modifiers, isDeclareModifier); + if (isAmbient) { + const node = tryReuseAmbientDeclaration(pos); + if (node) { + return node; + } + for (const m of modifiers) { + m.flags |= 33554432 /* Ambient */; + } + return doInsideOfContext(33554432 /* Ambient */, () => parseDeclarationWorker(pos, hasJSDoc, modifiers)); + } else { + return parseDeclarationWorker(pos, hasJSDoc, modifiers); + } + } + function tryReuseAmbientDeclaration(pos) { + return doInsideOfContext(33554432 /* Ambient */, () => { + const node = currentNode(parsingContext, pos); + if (node) { + return consumeNode(node); + } + }); + } + function parseDeclarationWorker(pos, hasJSDoc, modifiersIn) { + switch (token()) { + case 115 /* VarKeyword */: + case 121 /* LetKeyword */: + case 87 /* ConstKeyword */: + case 160 /* UsingKeyword */: + case 135 /* AwaitKeyword */: + return parseVariableStatement(pos, hasJSDoc, modifiersIn); + case 100 /* FunctionKeyword */: + return parseFunctionDeclaration(pos, hasJSDoc, modifiersIn); + case 86 /* ClassKeyword */: + return parseClassDeclaration(pos, hasJSDoc, modifiersIn); + case 120 /* InterfaceKeyword */: + return parseInterfaceDeclaration(pos, hasJSDoc, modifiersIn); + case 156 /* TypeKeyword */: + return parseTypeAliasDeclaration(pos, hasJSDoc, modifiersIn); + case 94 /* EnumKeyword */: + return parseEnumDeclaration(pos, hasJSDoc, modifiersIn); + case 162 /* GlobalKeyword */: + case 144 /* ModuleKeyword */: + case 145 /* NamespaceKeyword */: + return parseModuleDeclaration(pos, hasJSDoc, modifiersIn); + case 102 /* ImportKeyword */: + return parseImportDeclarationOrImportEqualsDeclaration(pos, hasJSDoc, modifiersIn); + case 95 /* ExportKeyword */: + nextToken(); + switch (token()) { + case 90 /* DefaultKeyword */: + case 64 /* EqualsToken */: + return parseExportAssignment(pos, hasJSDoc, modifiersIn); + case 130 /* AsKeyword */: + return parseNamespaceExportDeclaration(pos, hasJSDoc, modifiersIn); + default: + return parseExportDeclaration(pos, hasJSDoc, modifiersIn); + } + default: + if (modifiersIn) { + const missing = createMissingNode( + 282 /* MissingDeclaration */, + /*reportAtCurrentPosition*/ + true, + Diagnostics.Declaration_expected + ); + setTextRangePos(missing, pos); + missing.modifiers = modifiersIn; + return missing; + } + return void 0; + } + } + function nextTokenIsStringLiteral() { + return nextToken() === 11 /* StringLiteral */; + } + function nextTokenIsFromKeywordOrEqualsToken() { + nextToken(); + return token() === 161 /* FromKeyword */ || token() === 64 /* EqualsToken */; + } + function nextTokenIsIdentifierOrStringLiteralOnSameLine() { + nextToken(); + return !scanner.hasPrecedingLineBreak() && (isIdentifier2() || token() === 11 /* StringLiteral */); + } + function parseFunctionBlockOrSemicolon(flags, diagnosticMessage) { + if (token() !== 19 /* OpenBraceToken */) { + if (flags & 4 /* Type */) { + parseTypeMemberSemicolon(); + return; + } + if (canParseSemicolon()) { + parseSemicolon(); + return; + } + } + return parseFunctionBlock(flags, diagnosticMessage); + } + function parseArrayBindingElement() { + const pos = getNodePos(); + if (token() === 28 /* CommaToken */) { + return finishNode(factory2.createOmittedExpression(), pos); + } + const dotDotDotToken = parseOptionalToken(26 /* DotDotDotToken */); + const name = parseIdentifierOrPattern(); + const initializer = parseInitializer(); + return finishNode(factory2.createBindingElement( + dotDotDotToken, + /*propertyName*/ + void 0, + name, + initializer + ), pos); + } + function parseObjectBindingElement() { + const pos = getNodePos(); + const dotDotDotToken = parseOptionalToken(26 /* DotDotDotToken */); + const tokenIsIdentifier = isBindingIdentifier(); + let propertyName = parsePropertyName(); + let name; + if (tokenIsIdentifier && token() !== 59 /* ColonToken */) { + name = propertyName; + propertyName = void 0; + } else { + parseExpected(59 /* ColonToken */); + name = parseIdentifierOrPattern(); + } + const initializer = parseInitializer(); + return finishNode(factory2.createBindingElement(dotDotDotToken, propertyName, name, initializer), pos); + } + function parseObjectBindingPattern() { + const pos = getNodePos(); + parseExpected(19 /* OpenBraceToken */); + const elements = allowInAnd(() => parseDelimitedList(9 /* ObjectBindingElements */, parseObjectBindingElement)); + parseExpected(20 /* CloseBraceToken */); + return finishNode(factory2.createObjectBindingPattern(elements), pos); + } + function parseArrayBindingPattern() { + const pos = getNodePos(); + parseExpected(23 /* OpenBracketToken */); + const elements = allowInAnd(() => parseDelimitedList(10 /* ArrayBindingElements */, parseArrayBindingElement)); + parseExpected(24 /* CloseBracketToken */); + return finishNode(factory2.createArrayBindingPattern(elements), pos); + } + function isBindingIdentifierOrPrivateIdentifierOrPattern() { + return token() === 19 /* OpenBraceToken */ || token() === 23 /* OpenBracketToken */ || token() === 81 /* PrivateIdentifier */ || isBindingIdentifier(); + } + function parseIdentifierOrPattern(privateIdentifierDiagnosticMessage) { + if (token() === 23 /* OpenBracketToken */) { + return parseArrayBindingPattern(); + } + if (token() === 19 /* OpenBraceToken */) { + return parseObjectBindingPattern(); + } + return parseBindingIdentifier(privateIdentifierDiagnosticMessage); + } + function parseVariableDeclarationAllowExclamation() { + return parseVariableDeclaration( + /*allowExclamation*/ + true + ); + } + function parseVariableDeclaration(allowExclamation) { + const pos = getNodePos(); + const hasJSDoc = hasPrecedingJSDocComment(); + const name = parseIdentifierOrPattern(Diagnostics.Private_identifiers_are_not_allowed_in_variable_declarations); + let exclamationToken; + if (allowExclamation && name.kind === 80 /* Identifier */ && token() === 54 /* ExclamationToken */ && !scanner.hasPrecedingLineBreak()) { + exclamationToken = parseTokenNode(); + } + const type = parseTypeAnnotation(); + const initializer = isInOrOfKeyword(token()) ? void 0 : parseInitializer(); + const node = factoryCreateVariableDeclaration(name, exclamationToken, type, initializer); + return withJSDoc(finishNode(node, pos), hasJSDoc); + } + function parseVariableDeclarationList(inForStatementInitializer) { + const pos = getNodePos(); + let flags = 0; + switch (token()) { + case 115 /* VarKeyword */: + break; + case 121 /* LetKeyword */: + flags |= 1 /* Let */; + break; + case 87 /* ConstKeyword */: + flags |= 2 /* Const */; + break; + case 160 /* UsingKeyword */: + flags |= 4 /* Using */; + break; + case 135 /* AwaitKeyword */: + Debug.assert(isAwaitUsingDeclaration()); + flags |= 6 /* AwaitUsing */; + nextToken(); + break; + default: + Debug.fail(); + } + nextToken(); + let declarations; + if (token() === 165 /* OfKeyword */ && lookAhead(canFollowContextualOfKeyword)) { + declarations = createMissingList(); + } else { + const savedDisallowIn = inDisallowInContext(); + setDisallowInContext(inForStatementInitializer); + declarations = parseDelimitedList( + 8 /* VariableDeclarations */, + inForStatementInitializer ? parseVariableDeclaration : parseVariableDeclarationAllowExclamation + ); + setDisallowInContext(savedDisallowIn); + } + return finishNode(factoryCreateVariableDeclarationList(declarations, flags), pos); + } + function canFollowContextualOfKeyword() { + return nextTokenIsIdentifier() && nextToken() === 22 /* CloseParenToken */; + } + function parseVariableStatement(pos, hasJSDoc, modifiers) { + const declarationList = parseVariableDeclarationList( + /*inForStatementInitializer*/ + false + ); + parseSemicolon(); + const node = factoryCreateVariableStatement(modifiers, declarationList); + return withJSDoc(finishNode(node, pos), hasJSDoc); + } + function parseFunctionDeclaration(pos, hasJSDoc, modifiers) { + const savedAwaitContext = inAwaitContext(); + const modifierFlags = modifiersToFlags(modifiers); + parseExpected(100 /* FunctionKeyword */); + const asteriskToken = parseOptionalToken(42 /* AsteriskToken */); + const name = modifierFlags & 2048 /* Default */ ? parseOptionalBindingIdentifier() : parseBindingIdentifier(); + const isGenerator = asteriskToken ? 1 /* Yield */ : 0 /* None */; + const isAsync = modifierFlags & 1024 /* Async */ ? 2 /* Await */ : 0 /* None */; + const typeParameters = parseTypeParameters(); + if (modifierFlags & 32 /* Export */) setAwaitContext( + /*value*/ + true + ); + const parameters = parseParameters(isGenerator | isAsync); + const type = parseReturnType( + 59 /* ColonToken */, + /*isType*/ + false + ); + const body = parseFunctionBlockOrSemicolon(isGenerator | isAsync, Diagnostics.or_expected); + setAwaitContext(savedAwaitContext); + const node = factory2.createFunctionDeclaration(modifiers, asteriskToken, name, typeParameters, parameters, type, body); + return withJSDoc(finishNode(node, pos), hasJSDoc); + } + function parseConstructorName() { + if (token() === 137 /* ConstructorKeyword */) { + return parseExpected(137 /* ConstructorKeyword */); + } + if (token() === 11 /* StringLiteral */ && lookAhead(nextToken) === 21 /* OpenParenToken */) { + return tryParse(() => { + const literalNode = parseLiteralNode(); + return literalNode.text === "constructor" ? literalNode : void 0; + }); + } + } + function tryParseConstructorDeclaration(pos, hasJSDoc, modifiers) { + return tryParse(() => { + if (parseConstructorName()) { + const typeParameters = parseTypeParameters(); + const parameters = parseParameters(0 /* None */); + const type = parseReturnType( + 59 /* ColonToken */, + /*isType*/ + false + ); + const body = parseFunctionBlockOrSemicolon(0 /* None */, Diagnostics.or_expected); + const node = factory2.createConstructorDeclaration(modifiers, parameters, body); + node.typeParameters = typeParameters; + node.type = type; + return withJSDoc(finishNode(node, pos), hasJSDoc); + } + }); + } + function parseMethodDeclaration(pos, hasJSDoc, modifiers, asteriskToken, name, questionToken, exclamationToken, diagnosticMessage) { + const isGenerator = asteriskToken ? 1 /* Yield */ : 0 /* None */; + const isAsync = some(modifiers, isAsyncModifier) ? 2 /* Await */ : 0 /* None */; + const typeParameters = parseTypeParameters(); + const parameters = parseParameters(isGenerator | isAsync); + const type = parseReturnType( + 59 /* ColonToken */, + /*isType*/ + false + ); + const body = parseFunctionBlockOrSemicolon(isGenerator | isAsync, diagnosticMessage); + const node = factory2.createMethodDeclaration( + modifiers, + asteriskToken, + name, + questionToken, + typeParameters, + parameters, + type, + body + ); + node.exclamationToken = exclamationToken; + return withJSDoc(finishNode(node, pos), hasJSDoc); + } + function parsePropertyDeclaration(pos, hasJSDoc, modifiers, name, questionToken) { + const exclamationToken = !questionToken && !scanner.hasPrecedingLineBreak() ? parseOptionalToken(54 /* ExclamationToken */) : void 0; + const type = parseTypeAnnotation(); + const initializer = doOutsideOfContext(16384 /* YieldContext */ | 65536 /* AwaitContext */ | 8192 /* DisallowInContext */, parseInitializer); + parseSemicolonAfterPropertyName(name, type, initializer); + const node = factory2.createPropertyDeclaration( + modifiers, + name, + questionToken || exclamationToken, + type, + initializer + ); + return withJSDoc(finishNode(node, pos), hasJSDoc); + } + function parsePropertyOrMethodDeclaration(pos, hasJSDoc, modifiers) { + const asteriskToken = parseOptionalToken(42 /* AsteriskToken */); + const name = parsePropertyName(); + const questionToken = parseOptionalToken(58 /* QuestionToken */); + if (asteriskToken || token() === 21 /* OpenParenToken */ || token() === 30 /* LessThanToken */) { + return parseMethodDeclaration( + pos, + hasJSDoc, + modifiers, + asteriskToken, + name, + questionToken, + /*exclamationToken*/ + void 0, + Diagnostics.or_expected + ); + } + return parsePropertyDeclaration(pos, hasJSDoc, modifiers, name, questionToken); + } + function parseAccessorDeclaration(pos, hasJSDoc, modifiers, kind, flags) { + const name = parsePropertyName(); + const typeParameters = parseTypeParameters(); + const parameters = parseParameters(0 /* None */); + const type = parseReturnType( + 59 /* ColonToken */, + /*isType*/ + false + ); + const body = parseFunctionBlockOrSemicolon(flags); + const node = kind === 177 /* GetAccessor */ ? factory2.createGetAccessorDeclaration(modifiers, name, parameters, type, body) : factory2.createSetAccessorDeclaration(modifiers, name, parameters, body); + node.typeParameters = typeParameters; + if (isSetAccessorDeclaration(node)) node.type = type; + return withJSDoc(finishNode(node, pos), hasJSDoc); + } + function isClassMemberStart() { + let idToken; + if (token() === 60 /* AtToken */) { + return true; + } + while (isModifierKind(token())) { + idToken = token(); + if (isClassMemberModifier(idToken)) { + return true; + } + nextToken(); + } + if (token() === 42 /* AsteriskToken */) { + return true; + } + if (isLiteralPropertyName()) { + idToken = token(); + nextToken(); + } + if (token() === 23 /* OpenBracketToken */) { + return true; + } + if (idToken !== void 0) { + if (!isKeyword(idToken) || idToken === 153 /* SetKeyword */ || idToken === 139 /* GetKeyword */) { + return true; + } + switch (token()) { + case 21 /* OpenParenToken */: + // Method declaration + case 30 /* LessThanToken */: + // Generic Method declaration + case 54 /* ExclamationToken */: + // Non-null assertion on property name + case 59 /* ColonToken */: + // Type Annotation for declaration + case 64 /* EqualsToken */: + // Initializer for declaration + case 58 /* QuestionToken */: + return true; + default: + return canParseSemicolon(); + } + } + return false; + } + function parseClassStaticBlockDeclaration(pos, hasJSDoc, modifiers) { + parseExpectedToken(126 /* StaticKeyword */); + const body = parseClassStaticBlockBody(); + const node = withJSDoc(finishNode(factory2.createClassStaticBlockDeclaration(body), pos), hasJSDoc); + node.modifiers = modifiers; + return node; + } + function parseClassStaticBlockBody() { + const savedYieldContext = inYieldContext(); + const savedAwaitContext = inAwaitContext(); + setYieldContext(false); + setAwaitContext(true); + const body = parseBlock( + /*ignoreMissingOpenBrace*/ + false + ); + setYieldContext(savedYieldContext); + setAwaitContext(savedAwaitContext); + return body; + } + function parseDecoratorExpression() { + if (inAwaitContext() && token() === 135 /* AwaitKeyword */) { + const pos = getNodePos(); + const awaitExpression = parseIdentifier(Diagnostics.Expression_expected); + nextToken(); + const memberExpression = parseMemberExpressionRest( + pos, + awaitExpression, + /*allowOptionalChain*/ + true + ); + return parseCallExpressionRest(pos, memberExpression); + } + return parseLeftHandSideExpressionOrHigher(); + } + function tryParseDecorator() { + const pos = getNodePos(); + if (!parseOptional(60 /* AtToken */)) { + return void 0; + } + const expression = doInDecoratorContext(parseDecoratorExpression); + return finishNode(factory2.createDecorator(expression), pos); + } + function tryParseModifier(hasSeenStaticModifier, permitConstAsModifier, stopOnStartOfClassStaticBlock) { + const pos = getNodePos(); + const kind = token(); + if (token() === 87 /* ConstKeyword */ && permitConstAsModifier) { + if (!tryParse(nextTokenIsOnSameLineAndCanFollowModifier)) { + return void 0; + } + } else if (stopOnStartOfClassStaticBlock && token() === 126 /* StaticKeyword */ && lookAhead(nextTokenIsOpenBrace)) { + return void 0; + } else if (hasSeenStaticModifier && token() === 126 /* StaticKeyword */) { + return void 0; + } else { + if (!parseAnyContextualModifier()) { + return void 0; + } + } + return finishNode(factoryCreateToken(kind), pos); + } + function parseModifiers(allowDecorators, permitConstAsModifier, stopOnStartOfClassStaticBlock) { + const pos = getNodePos(); + let list; + let decorator, modifier, hasSeenStaticModifier = false, hasLeadingModifier = false, hasTrailingDecorator = false; + if (allowDecorators && token() === 60 /* AtToken */) { + while (decorator = tryParseDecorator()) { + list = append(list, decorator); + } + } + while (modifier = tryParseModifier(hasSeenStaticModifier, permitConstAsModifier, stopOnStartOfClassStaticBlock)) { + if (modifier.kind === 126 /* StaticKeyword */) hasSeenStaticModifier = true; + list = append(list, modifier); + hasLeadingModifier = true; + } + if (hasLeadingModifier && allowDecorators && token() === 60 /* AtToken */) { + while (decorator = tryParseDecorator()) { + list = append(list, decorator); + hasTrailingDecorator = true; + } + } + if (hasTrailingDecorator) { + while (modifier = tryParseModifier(hasSeenStaticModifier, permitConstAsModifier, stopOnStartOfClassStaticBlock)) { + if (modifier.kind === 126 /* StaticKeyword */) hasSeenStaticModifier = true; + list = append(list, modifier); + } + } + return list && createNodeArray(list, pos); + } + function parseModifiersForArrowFunction() { + let modifiers; + if (token() === 134 /* AsyncKeyword */) { + const pos = getNodePos(); + nextToken(); + const modifier = finishNode(factoryCreateToken(134 /* AsyncKeyword */), pos); + modifiers = createNodeArray([modifier], pos); + } + return modifiers; + } + function parseClassElement() { + const pos = getNodePos(); + const hasJSDoc = hasPrecedingJSDocComment(); + if (token() === 27 /* SemicolonToken */) { + nextToken(); + return withJSDoc(finishNode(factory2.createSemicolonClassElement(), pos), hasJSDoc); + } + const modifiers = parseModifiers( + /*allowDecorators*/ + true, + /*permitConstAsModifier*/ + true, + /*stopOnStartOfClassStaticBlock*/ + true + ); + if (token() === 126 /* StaticKeyword */ && lookAhead(nextTokenIsOpenBrace)) { + return parseClassStaticBlockDeclaration(pos, hasJSDoc, modifiers); + } + if (parseContextualModifier(139 /* GetKeyword */)) { + return parseAccessorDeclaration(pos, hasJSDoc, modifiers, 177 /* GetAccessor */, 0 /* None */); + } + if (parseContextualModifier(153 /* SetKeyword */)) { + return parseAccessorDeclaration(pos, hasJSDoc, modifiers, 178 /* SetAccessor */, 0 /* None */); + } + if (token() === 137 /* ConstructorKeyword */ || token() === 11 /* StringLiteral */) { + const constructorDeclaration = tryParseConstructorDeclaration(pos, hasJSDoc, modifiers); + if (constructorDeclaration) { + return constructorDeclaration; + } + } + if (isIndexSignature()) { + return parseIndexSignatureDeclaration(pos, hasJSDoc, modifiers); + } + if (tokenIsIdentifierOrKeyword(token()) || token() === 11 /* StringLiteral */ || token() === 9 /* NumericLiteral */ || token() === 10 /* BigIntLiteral */ || token() === 42 /* AsteriskToken */ || token() === 23 /* OpenBracketToken */) { + const isAmbient = some(modifiers, isDeclareModifier); + if (isAmbient) { + for (const m of modifiers) { + m.flags |= 33554432 /* Ambient */; + } + return doInsideOfContext(33554432 /* Ambient */, () => parsePropertyOrMethodDeclaration(pos, hasJSDoc, modifiers)); + } else { + return parsePropertyOrMethodDeclaration(pos, hasJSDoc, modifiers); + } + } + if (modifiers) { + const name = createMissingNode( + 80 /* Identifier */, + /*reportAtCurrentPosition*/ + true, + Diagnostics.Declaration_expected + ); + return parsePropertyDeclaration( + pos, + hasJSDoc, + modifiers, + name, + /*questionToken*/ + void 0 + ); + } + return Debug.fail("Should not have attempted to parse class member declaration."); + } + function parseDecoratedExpression() { + const pos = getNodePos(); + const hasJSDoc = hasPrecedingJSDocComment(); + const modifiers = parseModifiers( + /*allowDecorators*/ + true + ); + if (token() === 86 /* ClassKeyword */) { + return parseClassDeclarationOrExpression(pos, hasJSDoc, modifiers, 231 /* ClassExpression */); + } + const missing = createMissingNode( + 282 /* MissingDeclaration */, + /*reportAtCurrentPosition*/ + true, + Diagnostics.Expression_expected + ); + setTextRangePos(missing, pos); + missing.modifiers = modifiers; + return missing; + } + function parseClassExpression() { + return parseClassDeclarationOrExpression( + getNodePos(), + hasPrecedingJSDocComment(), + /*modifiers*/ + void 0, + 231 /* ClassExpression */ + ); + } + function parseClassDeclaration(pos, hasJSDoc, modifiers) { + return parseClassDeclarationOrExpression(pos, hasJSDoc, modifiers, 263 /* ClassDeclaration */); + } + function parseClassDeclarationOrExpression(pos, hasJSDoc, modifiers, kind) { + const savedAwaitContext = inAwaitContext(); + parseExpected(86 /* ClassKeyword */); + const name = parseNameOfClassDeclarationOrExpression(); + const typeParameters = parseTypeParameters(); + if (some(modifiers, isExportModifier)) setAwaitContext( + /*value*/ + true + ); + const heritageClauses = parseHeritageClauses(); + let members; + if (parseExpected(19 /* OpenBraceToken */)) { + members = parseClassMembers(); + parseExpected(20 /* CloseBraceToken */); + } else { + members = createMissingList(); + } + setAwaitContext(savedAwaitContext); + const node = kind === 263 /* ClassDeclaration */ ? factory2.createClassDeclaration(modifiers, name, typeParameters, heritageClauses, members) : factory2.createClassExpression(modifiers, name, typeParameters, heritageClauses, members); + return withJSDoc(finishNode(node, pos), hasJSDoc); + } + function parseNameOfClassDeclarationOrExpression() { + return isBindingIdentifier() && !isImplementsClause() ? createIdentifier(isBindingIdentifier()) : void 0; + } + function isImplementsClause() { + return token() === 119 /* ImplementsKeyword */ && lookAhead(nextTokenIsIdentifierOrKeyword); + } + function parseHeritageClauses() { + if (isHeritageClause2()) { + return parseList(22 /* HeritageClauses */, parseHeritageClause); + } + return void 0; + } + function parseHeritageClause() { + const pos = getNodePos(); + const tok = token(); + Debug.assert(tok === 96 /* ExtendsKeyword */ || tok === 119 /* ImplementsKeyword */); + nextToken(); + const types = parseDelimitedList(7 /* HeritageClauseElement */, parseExpressionWithTypeArguments); + return finishNode(factory2.createHeritageClause(tok, types), pos); + } + function parseExpressionWithTypeArguments() { + const pos = getNodePos(); + const expression = parseLeftHandSideExpressionOrHigher(); + if (expression.kind === 233 /* ExpressionWithTypeArguments */) { + return expression; + } + const typeArguments = tryParseTypeArguments(); + return finishNode(factory2.createExpressionWithTypeArguments(expression, typeArguments), pos); + } + function tryParseTypeArguments() { + return token() === 30 /* LessThanToken */ ? parseBracketedList(20 /* TypeArguments */, parseType, 30 /* LessThanToken */, 32 /* GreaterThanToken */) : void 0; + } + function isHeritageClause2() { + return token() === 96 /* ExtendsKeyword */ || token() === 119 /* ImplementsKeyword */; + } + function parseClassMembers() { + return parseList(5 /* ClassMembers */, parseClassElement); + } + function parseInterfaceDeclaration(pos, hasJSDoc, modifiers) { + parseExpected(120 /* InterfaceKeyword */); + const name = parseIdentifier(); + const typeParameters = parseTypeParameters(); + const heritageClauses = parseHeritageClauses(); + const members = parseObjectTypeMembers(); + const node = factory2.createInterfaceDeclaration(modifiers, name, typeParameters, heritageClauses, members); + return withJSDoc(finishNode(node, pos), hasJSDoc); + } + function parseTypeAliasDeclaration(pos, hasJSDoc, modifiers) { + parseExpected(156 /* TypeKeyword */); + if (scanner.hasPrecedingLineBreak()) { + parseErrorAtCurrentToken(Diagnostics.Line_break_not_permitted_here); + } + const name = parseIdentifier(); + const typeParameters = parseTypeParameters(); + parseExpected(64 /* EqualsToken */); + const type = token() === 141 /* IntrinsicKeyword */ && tryParse(parseKeywordAndNoDot) || parseType(); + parseSemicolon(); + const node = factory2.createTypeAliasDeclaration(modifiers, name, typeParameters, type); + return withJSDoc(finishNode(node, pos), hasJSDoc); + } + function parseEnumMember() { + const pos = getNodePos(); + const hasJSDoc = hasPrecedingJSDocComment(); + const name = parsePropertyName(); + const initializer = allowInAnd(parseInitializer); + return withJSDoc(finishNode(factory2.createEnumMember(name, initializer), pos), hasJSDoc); + } + function parseEnumDeclaration(pos, hasJSDoc, modifiers) { + parseExpected(94 /* EnumKeyword */); + const name = parseIdentifier(); + let members; + if (parseExpected(19 /* OpenBraceToken */)) { + members = doOutsideOfYieldAndAwaitContext(() => parseDelimitedList(6 /* EnumMembers */, parseEnumMember)); + parseExpected(20 /* CloseBraceToken */); + } else { + members = createMissingList(); + } + const node = factory2.createEnumDeclaration(modifiers, name, members); + return withJSDoc(finishNode(node, pos), hasJSDoc); + } + function parseModuleBlock() { + const pos = getNodePos(); + let statements; + if (parseExpected(19 /* OpenBraceToken */)) { + statements = parseList(1 /* BlockStatements */, parseStatement); + parseExpected(20 /* CloseBraceToken */); + } else { + statements = createMissingList(); + } + return finishNode(factory2.createModuleBlock(statements), pos); + } + function parseModuleOrNamespaceDeclaration(pos, hasJSDoc, modifiers, flags) { + const namespaceFlag = flags & 32 /* Namespace */; + const name = flags & 8 /* NestedNamespace */ ? parseIdentifierName() : parseIdentifier(); + const body = parseOptional(25 /* DotToken */) ? parseModuleOrNamespaceDeclaration( + getNodePos(), + /*hasJSDoc*/ + false, + /*modifiers*/ + void 0, + 8 /* NestedNamespace */ | namespaceFlag + ) : parseModuleBlock(); + const node = factory2.createModuleDeclaration(modifiers, name, body, flags); + return withJSDoc(finishNode(node, pos), hasJSDoc); + } + function parseAmbientExternalModuleDeclaration(pos, hasJSDoc, modifiersIn) { + let flags = 0; + let name; + if (token() === 162 /* GlobalKeyword */) { + name = parseIdentifier(); + flags |= 2048 /* GlobalAugmentation */; + } else { + name = parseLiteralNode(); + name.text = internIdentifier(name.text); + } + let body; + if (token() === 19 /* OpenBraceToken */) { + body = parseModuleBlock(); + } else { + parseSemicolon(); + } + const node = factory2.createModuleDeclaration(modifiersIn, name, body, flags); + return withJSDoc(finishNode(node, pos), hasJSDoc); + } + function parseModuleDeclaration(pos, hasJSDoc, modifiersIn) { + let flags = 0; + if (token() === 162 /* GlobalKeyword */) { + return parseAmbientExternalModuleDeclaration(pos, hasJSDoc, modifiersIn); + } else if (parseOptional(145 /* NamespaceKeyword */)) { + flags |= 32 /* Namespace */; + } else { + parseExpected(144 /* ModuleKeyword */); + if (token() === 11 /* StringLiteral */) { + return parseAmbientExternalModuleDeclaration(pos, hasJSDoc, modifiersIn); + } + } + return parseModuleOrNamespaceDeclaration(pos, hasJSDoc, modifiersIn, flags); + } + function isExternalModuleReference2() { + return token() === 149 /* RequireKeyword */ && lookAhead(nextTokenIsOpenParen); + } + function nextTokenIsOpenParen() { + return nextToken() === 21 /* OpenParenToken */; + } + function nextTokenIsOpenBrace() { + return nextToken() === 19 /* OpenBraceToken */; + } + function nextTokenIsSlash() { + return nextToken() === 44 /* SlashToken */; + } + function parseNamespaceExportDeclaration(pos, hasJSDoc, modifiers) { + parseExpected(130 /* AsKeyword */); + parseExpected(145 /* NamespaceKeyword */); + const name = parseIdentifier(); + parseSemicolon(); + const node = factory2.createNamespaceExportDeclaration(name); + node.modifiers = modifiers; + return withJSDoc(finishNode(node, pos), hasJSDoc); + } + function parseImportDeclarationOrImportEqualsDeclaration(pos, hasJSDoc, modifiers) { + parseExpected(102 /* ImportKeyword */); + const afterImportPos = scanner.getTokenFullStart(); + let identifier; + if (isIdentifier2()) { + identifier = parseIdentifier(); + } + let isTypeOnly = false; + if ((identifier == null ? void 0 : identifier.escapedText) === "type" && (token() !== 161 /* FromKeyword */ || isIdentifier2() && lookAhead(nextTokenIsFromKeywordOrEqualsToken)) && (isIdentifier2() || tokenAfterImportDefinitelyProducesImportDeclaration())) { + isTypeOnly = true; + identifier = isIdentifier2() ? parseIdentifier() : void 0; + } + if (identifier && !tokenAfterImportedIdentifierDefinitelyProducesImportDeclaration()) { + return parseImportEqualsDeclaration(pos, hasJSDoc, modifiers, identifier, isTypeOnly); + } + const importClause = tryParseImportClause(identifier, afterImportPos, isTypeOnly); + const moduleSpecifier = parseModuleSpecifier(); + const attributes = tryParseImportAttributes(); + parseSemicolon(); + const node = factory2.createImportDeclaration(modifiers, importClause, moduleSpecifier, attributes); + return withJSDoc(finishNode(node, pos), hasJSDoc); + } + function tryParseImportClause(identifier, pos, isTypeOnly, skipJsDocLeadingAsterisks = false) { + let importClause; + if (identifier || // import id + token() === 42 /* AsteriskToken */ || // import * + token() === 19 /* OpenBraceToken */) { + importClause = parseImportClause(identifier, pos, isTypeOnly, skipJsDocLeadingAsterisks); + parseExpected(161 /* FromKeyword */); + } + return importClause; + } + function tryParseImportAttributes() { + const currentToken2 = token(); + if ((currentToken2 === 118 /* WithKeyword */ || currentToken2 === 132 /* AssertKeyword */) && !scanner.hasPrecedingLineBreak()) { + return parseImportAttributes(currentToken2); + } + } + function parseImportAttribute() { + const pos = getNodePos(); + const name = tokenIsIdentifierOrKeyword(token()) ? parseIdentifierName() : parseLiteralLikeNode(11 /* StringLiteral */); + parseExpected(59 /* ColonToken */); + const value = parseAssignmentExpressionOrHigher( + /*allowReturnTypeInArrowFunction*/ + true + ); + return finishNode(factory2.createImportAttribute(name, value), pos); + } + function parseImportAttributes(token2, skipKeyword) { + const pos = getNodePos(); + if (!skipKeyword) { + parseExpected(token2); + } + const openBracePosition = scanner.getTokenStart(); + if (parseExpected(19 /* OpenBraceToken */)) { + const multiLine = scanner.hasPrecedingLineBreak(); + const elements = parseDelimitedList( + 24 /* ImportAttributes */, + parseImportAttribute, + /*considerSemicolonAsDelimiter*/ + true + ); + if (!parseExpected(20 /* CloseBraceToken */)) { + const lastError = lastOrUndefined(parseDiagnostics); + if (lastError && lastError.code === Diagnostics._0_expected.code) { + addRelatedInfo( + lastError, + createDetachedDiagnostic(fileName, sourceText, openBracePosition, 1, Diagnostics.The_parser_expected_to_find_a_1_to_match_the_0_token_here, "{", "}") + ); + } + } + return finishNode(factory2.createImportAttributes(elements, multiLine, token2), pos); + } else { + const elements = createNodeArray( + [], + getNodePos(), + /*end*/ + void 0, + /*hasTrailingComma*/ + false + ); + return finishNode(factory2.createImportAttributes( + elements, + /*multiLine*/ + false, + token2 + ), pos); + } + } + function tokenAfterImportDefinitelyProducesImportDeclaration() { + return token() === 42 /* AsteriskToken */ || token() === 19 /* OpenBraceToken */; + } + function tokenAfterImportedIdentifierDefinitelyProducesImportDeclaration() { + return token() === 28 /* CommaToken */ || token() === 161 /* FromKeyword */; + } + function parseImportEqualsDeclaration(pos, hasJSDoc, modifiers, identifier, isTypeOnly) { + parseExpected(64 /* EqualsToken */); + const moduleReference = parseModuleReference(); + parseSemicolon(); + const node = factory2.createImportEqualsDeclaration(modifiers, isTypeOnly, identifier, moduleReference); + const finished = withJSDoc(finishNode(node, pos), hasJSDoc); + return finished; + } + function parseImportClause(identifier, pos, isTypeOnly, skipJsDocLeadingAsterisks) { + let namedBindings; + if (!identifier || parseOptional(28 /* CommaToken */)) { + if (skipJsDocLeadingAsterisks) scanner.setSkipJsDocLeadingAsterisks(true); + namedBindings = token() === 42 /* AsteriskToken */ ? parseNamespaceImport() : parseNamedImportsOrExports(275 /* NamedImports */); + if (skipJsDocLeadingAsterisks) scanner.setSkipJsDocLeadingAsterisks(false); + } + return finishNode(factory2.createImportClause(isTypeOnly, identifier, namedBindings), pos); + } + function parseModuleReference() { + return isExternalModuleReference2() ? parseExternalModuleReference() : parseEntityName( + /*allowReservedWords*/ + false + ); + } + function parseExternalModuleReference() { + const pos = getNodePos(); + parseExpected(149 /* RequireKeyword */); + parseExpected(21 /* OpenParenToken */); + const expression = parseModuleSpecifier(); + parseExpected(22 /* CloseParenToken */); + return finishNode(factory2.createExternalModuleReference(expression), pos); + } + function parseModuleSpecifier() { + if (token() === 11 /* StringLiteral */) { + const result = parseLiteralNode(); + result.text = internIdentifier(result.text); + return result; + } else { + return parseExpression(); + } + } + function parseNamespaceImport() { + const pos = getNodePos(); + parseExpected(42 /* AsteriskToken */); + parseExpected(130 /* AsKeyword */); + const name = parseIdentifier(); + return finishNode(factory2.createNamespaceImport(name), pos); + } + function canParseModuleExportName() { + return tokenIsIdentifierOrKeyword(token()) || token() === 11 /* StringLiteral */; + } + function parseModuleExportName(parseName) { + return token() === 11 /* StringLiteral */ ? parseLiteralNode() : parseName(); + } + function parseNamedImportsOrExports(kind) { + const pos = getNodePos(); + const node = kind === 275 /* NamedImports */ ? factory2.createNamedImports(parseBracketedList(23 /* ImportOrExportSpecifiers */, parseImportSpecifier, 19 /* OpenBraceToken */, 20 /* CloseBraceToken */)) : factory2.createNamedExports(parseBracketedList(23 /* ImportOrExportSpecifiers */, parseExportSpecifier, 19 /* OpenBraceToken */, 20 /* CloseBraceToken */)); + return finishNode(node, pos); + } + function parseExportSpecifier() { + const hasJSDoc = hasPrecedingJSDocComment(); + return withJSDoc(parseImportOrExportSpecifier(281 /* ExportSpecifier */), hasJSDoc); + } + function parseImportSpecifier() { + return parseImportOrExportSpecifier(276 /* ImportSpecifier */); + } + function parseImportOrExportSpecifier(kind) { + const pos = getNodePos(); + let checkIdentifierIsKeyword = isKeyword(token()) && !isIdentifier2(); + let checkIdentifierStart = scanner.getTokenStart(); + let checkIdentifierEnd = scanner.getTokenEnd(); + let isTypeOnly = false; + let propertyName; + let canParseAsKeyword = true; + let name = parseModuleExportName(parseIdentifierName); + if (name.kind === 80 /* Identifier */ && name.escapedText === "type") { + if (token() === 130 /* AsKeyword */) { + const firstAs = parseIdentifierName(); + if (token() === 130 /* AsKeyword */) { + const secondAs = parseIdentifierName(); + if (canParseModuleExportName()) { + isTypeOnly = true; + propertyName = firstAs; + name = parseModuleExportName(parseNameWithKeywordCheck); + canParseAsKeyword = false; + } else { + propertyName = name; + name = secondAs; + canParseAsKeyword = false; + } + } else if (canParseModuleExportName()) { + propertyName = name; + canParseAsKeyword = false; + name = parseModuleExportName(parseNameWithKeywordCheck); + } else { + isTypeOnly = true; + name = firstAs; + } + } else if (canParseModuleExportName()) { + isTypeOnly = true; + name = parseModuleExportName(parseNameWithKeywordCheck); + } + } + if (canParseAsKeyword && token() === 130 /* AsKeyword */) { + propertyName = name; + parseExpected(130 /* AsKeyword */); + name = parseModuleExportName(parseNameWithKeywordCheck); + } + if (kind === 276 /* ImportSpecifier */) { + if (name.kind !== 80 /* Identifier */) { + parseErrorAt(skipTrivia(sourceText, name.pos), name.end, Diagnostics.Identifier_expected); + name = setTextRangePosEnd(createMissingNode( + 80 /* Identifier */, + /*reportAtCurrentPosition*/ + false + ), name.pos, name.pos); + } else if (checkIdentifierIsKeyword) { + parseErrorAt(checkIdentifierStart, checkIdentifierEnd, Diagnostics.Identifier_expected); + } + } + const node = kind === 276 /* ImportSpecifier */ ? factory2.createImportSpecifier(isTypeOnly, propertyName, name) : factory2.createExportSpecifier(isTypeOnly, propertyName, name); + return finishNode(node, pos); + function parseNameWithKeywordCheck() { + checkIdentifierIsKeyword = isKeyword(token()) && !isIdentifier2(); + checkIdentifierStart = scanner.getTokenStart(); + checkIdentifierEnd = scanner.getTokenEnd(); + return parseIdentifierName(); + } + } + function parseNamespaceExport(pos) { + return finishNode(factory2.createNamespaceExport(parseModuleExportName(parseIdentifierName)), pos); + } + function parseExportDeclaration(pos, hasJSDoc, modifiers) { + const savedAwaitContext = inAwaitContext(); + setAwaitContext( + /*value*/ + true + ); + let exportClause; + let moduleSpecifier; + let attributes; + const isTypeOnly = parseOptional(156 /* TypeKeyword */); + const namespaceExportPos = getNodePos(); + if (parseOptional(42 /* AsteriskToken */)) { + if (parseOptional(130 /* AsKeyword */)) { + exportClause = parseNamespaceExport(namespaceExportPos); + } + parseExpected(161 /* FromKeyword */); + moduleSpecifier = parseModuleSpecifier(); + } else { + exportClause = parseNamedImportsOrExports(279 /* NamedExports */); + if (token() === 161 /* FromKeyword */ || token() === 11 /* StringLiteral */ && !scanner.hasPrecedingLineBreak()) { + parseExpected(161 /* FromKeyword */); + moduleSpecifier = parseModuleSpecifier(); + } + } + const currentToken2 = token(); + if (moduleSpecifier && (currentToken2 === 118 /* WithKeyword */ || currentToken2 === 132 /* AssertKeyword */) && !scanner.hasPrecedingLineBreak()) { + attributes = parseImportAttributes(currentToken2); + } + parseSemicolon(); + setAwaitContext(savedAwaitContext); + const node = factory2.createExportDeclaration(modifiers, isTypeOnly, exportClause, moduleSpecifier, attributes); + return withJSDoc(finishNode(node, pos), hasJSDoc); + } + function parseExportAssignment(pos, hasJSDoc, modifiers) { + const savedAwaitContext = inAwaitContext(); + setAwaitContext( + /*value*/ + true + ); + let isExportEquals; + if (parseOptional(64 /* EqualsToken */)) { + isExportEquals = true; + } else { + parseExpected(90 /* DefaultKeyword */); + } + const expression = parseAssignmentExpressionOrHigher( + /*allowReturnTypeInArrowFunction*/ + true + ); + parseSemicolon(); + setAwaitContext(savedAwaitContext); + const node = factory2.createExportAssignment(modifiers, isExportEquals, expression); + return withJSDoc(finishNode(node, pos), hasJSDoc); + } + let ParsingContext; + ((ParsingContext2) => { + ParsingContext2[ParsingContext2["SourceElements"] = 0] = "SourceElements"; + ParsingContext2[ParsingContext2["BlockStatements"] = 1] = "BlockStatements"; + ParsingContext2[ParsingContext2["SwitchClauses"] = 2] = "SwitchClauses"; + ParsingContext2[ParsingContext2["SwitchClauseStatements"] = 3] = "SwitchClauseStatements"; + ParsingContext2[ParsingContext2["TypeMembers"] = 4] = "TypeMembers"; + ParsingContext2[ParsingContext2["ClassMembers"] = 5] = "ClassMembers"; + ParsingContext2[ParsingContext2["EnumMembers"] = 6] = "EnumMembers"; + ParsingContext2[ParsingContext2["HeritageClauseElement"] = 7] = "HeritageClauseElement"; + ParsingContext2[ParsingContext2["VariableDeclarations"] = 8] = "VariableDeclarations"; + ParsingContext2[ParsingContext2["ObjectBindingElements"] = 9] = "ObjectBindingElements"; + ParsingContext2[ParsingContext2["ArrayBindingElements"] = 10] = "ArrayBindingElements"; + ParsingContext2[ParsingContext2["ArgumentExpressions"] = 11] = "ArgumentExpressions"; + ParsingContext2[ParsingContext2["ObjectLiteralMembers"] = 12] = "ObjectLiteralMembers"; + ParsingContext2[ParsingContext2["JsxAttributes"] = 13] = "JsxAttributes"; + ParsingContext2[ParsingContext2["JsxChildren"] = 14] = "JsxChildren"; + ParsingContext2[ParsingContext2["ArrayLiteralMembers"] = 15] = "ArrayLiteralMembers"; + ParsingContext2[ParsingContext2["Parameters"] = 16] = "Parameters"; + ParsingContext2[ParsingContext2["JSDocParameters"] = 17] = "JSDocParameters"; + ParsingContext2[ParsingContext2["RestProperties"] = 18] = "RestProperties"; + ParsingContext2[ParsingContext2["TypeParameters"] = 19] = "TypeParameters"; + ParsingContext2[ParsingContext2["TypeArguments"] = 20] = "TypeArguments"; + ParsingContext2[ParsingContext2["TupleElementTypes"] = 21] = "TupleElementTypes"; + ParsingContext2[ParsingContext2["HeritageClauses"] = 22] = "HeritageClauses"; + ParsingContext2[ParsingContext2["ImportOrExportSpecifiers"] = 23] = "ImportOrExportSpecifiers"; + ParsingContext2[ParsingContext2["ImportAttributes"] = 24] = "ImportAttributes"; + ParsingContext2[ParsingContext2["JSDocComment"] = 25] = "JSDocComment"; + ParsingContext2[ParsingContext2["Count"] = 26] = "Count"; + })(ParsingContext || (ParsingContext = {})); + let Tristate; + ((Tristate2) => { + Tristate2[Tristate2["False"] = 0] = "False"; + Tristate2[Tristate2["True"] = 1] = "True"; + Tristate2[Tristate2["Unknown"] = 2] = "Unknown"; + })(Tristate || (Tristate = {})); + let JSDocParser; + ((JSDocParser2) => { + function parseJSDocTypeExpressionForTests(content, start, length2) { + initializeState( + "file.js", + content, + 99 /* Latest */, + /*syntaxCursor*/ + void 0, + 1 /* JS */, + 0 /* ParseAll */ + ); + scanner.setText(content, start, length2); + currentToken = scanner.scan(); + const jsDocTypeExpression = parseJSDocTypeExpression(); + const sourceFile = createSourceFile2( + "file.js", + 99 /* Latest */, + 1 /* JS */, + /*isDeclarationFile*/ + false, + [], + factoryCreateToken(1 /* EndOfFileToken */), + 0 /* None */, + noop + ); + const diagnostics = attachFileToDiagnostics(parseDiagnostics, sourceFile); + if (jsDocDiagnostics) { + sourceFile.jsDocDiagnostics = attachFileToDiagnostics(jsDocDiagnostics, sourceFile); + } + clearState(); + return jsDocTypeExpression ? { jsDocTypeExpression, diagnostics } : void 0; + } + JSDocParser2.parseJSDocTypeExpressionForTests = parseJSDocTypeExpressionForTests; + function parseJSDocTypeExpression(mayOmitBraces) { + const pos = getNodePos(); + const hasBrace = (mayOmitBraces ? parseOptional : parseExpected)(19 /* OpenBraceToken */); + const type = doInsideOfContext(16777216 /* JSDoc */, parseJSDocType); + if (!mayOmitBraces || hasBrace) { + parseExpectedJSDoc(20 /* CloseBraceToken */); + } + const result = factory2.createJSDocTypeExpression(type); + fixupParentReferences(result); + return finishNode(result, pos); + } + JSDocParser2.parseJSDocTypeExpression = parseJSDocTypeExpression; + function parseJSDocNameReference() { + const pos = getNodePos(); + const hasBrace = parseOptional(19 /* OpenBraceToken */); + const p2 = getNodePos(); + let entityName = parseEntityName( + /*allowReservedWords*/ + false + ); + while (token() === 81 /* PrivateIdentifier */) { + reScanHashToken(); + nextTokenJSDoc(); + entityName = finishNode(factory2.createJSDocMemberName(entityName, parseIdentifier()), p2); + } + if (hasBrace) { + parseExpectedJSDoc(20 /* CloseBraceToken */); + } + const result = factory2.createJSDocNameReference(entityName); + fixupParentReferences(result); + return finishNode(result, pos); + } + JSDocParser2.parseJSDocNameReference = parseJSDocNameReference; + function parseIsolatedJSDocComment(content, start, length2) { + initializeState( + "", + content, + 99 /* Latest */, + /*syntaxCursor*/ + void 0, + 1 /* JS */, + 0 /* ParseAll */ + ); + const jsDoc = doInsideOfContext(16777216 /* JSDoc */, () => parseJSDocCommentWorker(start, length2)); + const sourceFile = { languageVariant: 0 /* Standard */, text: content }; + const diagnostics = attachFileToDiagnostics(parseDiagnostics, sourceFile); + clearState(); + return jsDoc ? { jsDoc, diagnostics } : void 0; + } + JSDocParser2.parseIsolatedJSDocComment = parseIsolatedJSDocComment; + function parseJSDocComment(parent, start, length2) { + const saveToken = currentToken; + const saveParseDiagnosticsLength = parseDiagnostics.length; + const saveParseErrorBeforeNextFinishedNode = parseErrorBeforeNextFinishedNode; + const comment = doInsideOfContext(16777216 /* JSDoc */, () => parseJSDocCommentWorker(start, length2)); + setParent(comment, parent); + if (contextFlags & 524288 /* JavaScriptFile */) { + if (!jsDocDiagnostics) { + jsDocDiagnostics = []; + } + addRange(jsDocDiagnostics, parseDiagnostics, saveParseDiagnosticsLength); + } + currentToken = saveToken; + parseDiagnostics.length = saveParseDiagnosticsLength; + parseErrorBeforeNextFinishedNode = saveParseErrorBeforeNextFinishedNode; + return comment; + } + JSDocParser2.parseJSDocComment = parseJSDocComment; + let JSDocState; + ((JSDocState2) => { + JSDocState2[JSDocState2["BeginningOfLine"] = 0] = "BeginningOfLine"; + JSDocState2[JSDocState2["SawAsterisk"] = 1] = "SawAsterisk"; + JSDocState2[JSDocState2["SavingComments"] = 2] = "SavingComments"; + JSDocState2[JSDocState2["SavingBackticks"] = 3] = "SavingBackticks"; + })(JSDocState || (JSDocState = {})); + let PropertyLikeParse; + ((PropertyLikeParse2) => { + PropertyLikeParse2[PropertyLikeParse2["Property"] = 1] = "Property"; + PropertyLikeParse2[PropertyLikeParse2["Parameter"] = 2] = "Parameter"; + PropertyLikeParse2[PropertyLikeParse2["CallbackParameter"] = 4] = "CallbackParameter"; + })(PropertyLikeParse || (PropertyLikeParse = {})); + function parseJSDocCommentWorker(start = 0, length2) { + const content = sourceText; + const end = length2 === void 0 ? content.length : start + length2; + length2 = end - start; + Debug.assert(start >= 0); + Debug.assert(start <= end); + Debug.assert(end <= content.length); + if (!isJSDocLikeText(content, start)) { + return void 0; + } + let tags; + let tagsPos; + let tagsEnd; + let linkEnd; + let commentsPos; + let comments = []; + const parts = []; + const saveParsingContext = parsingContext; + parsingContext |= 1 << 25 /* JSDocComment */; + const result = scanner.scanRange(start + 3, length2 - 5, doJSDocScan); + parsingContext = saveParsingContext; + return result; + function doJSDocScan() { + let state = 1 /* SawAsterisk */; + let margin; + let indent2 = start - (content.lastIndexOf("\n", start) + 1) + 4; + function pushComment(text) { + if (!margin) { + margin = indent2; + } + comments.push(text); + indent2 += text.length; + } + nextTokenJSDoc(); + while (parseOptionalJsdoc(5 /* WhitespaceTrivia */)) ; + if (parseOptionalJsdoc(4 /* NewLineTrivia */)) { + state = 0 /* BeginningOfLine */; + indent2 = 0; + } + loop: + while (true) { + switch (token()) { + case 60 /* AtToken */: + removeTrailingWhitespace(comments); + if (!commentsPos) commentsPos = getNodePos(); + addTag(parseTag(indent2)); + state = 0 /* BeginningOfLine */; + margin = void 0; + break; + case 4 /* NewLineTrivia */: + comments.push(scanner.getTokenText()); + state = 0 /* BeginningOfLine */; + indent2 = 0; + break; + case 42 /* AsteriskToken */: + const asterisk = scanner.getTokenText(); + if (state === 1 /* SawAsterisk */) { + state = 2 /* SavingComments */; + pushComment(asterisk); + } else { + Debug.assert(state === 0 /* BeginningOfLine */); + state = 1 /* SawAsterisk */; + indent2 += asterisk.length; + } + break; + case 5 /* WhitespaceTrivia */: + Debug.assert(state !== 2 /* SavingComments */, "whitespace shouldn't come from the scanner while saving top-level comment text"); + const whitespace = scanner.getTokenText(); + if (margin !== void 0 && indent2 + whitespace.length > margin) { + comments.push(whitespace.slice(margin - indent2)); + } + indent2 += whitespace.length; + break; + case 1 /* EndOfFileToken */: + break loop; + case 82 /* JSDocCommentTextToken */: + state = 2 /* SavingComments */; + pushComment(scanner.getTokenValue()); + break; + case 19 /* OpenBraceToken */: + state = 2 /* SavingComments */; + const commentEnd = scanner.getTokenFullStart(); + const linkStart = scanner.getTokenEnd() - 1; + const link = parseJSDocLink(linkStart); + if (link) { + if (!linkEnd) { + removeLeadingNewlines(comments); + } + parts.push(finishNode(factory2.createJSDocText(comments.join("")), linkEnd ?? start, commentEnd)); + parts.push(link); + comments = []; + linkEnd = scanner.getTokenEnd(); + break; + } + // fallthrough if it's not a {@link sequence + default: + state = 2 /* SavingComments */; + pushComment(scanner.getTokenText()); + break; + } + if (state === 2 /* SavingComments */) { + nextJSDocCommentTextToken( + /*inBackticks*/ + false + ); + } else { + nextTokenJSDoc(); + } + } + const trimmedComments = comments.join("").trimEnd(); + if (parts.length && trimmedComments.length) { + parts.push(finishNode(factory2.createJSDocText(trimmedComments), linkEnd ?? start, commentsPos)); + } + if (parts.length && tags) Debug.assertIsDefined(commentsPos, "having parsed tags implies that the end of the comment span should be set"); + const tagsArray = tags && createNodeArray(tags, tagsPos, tagsEnd); + return finishNode(factory2.createJSDocComment(parts.length ? createNodeArray(parts, start, commentsPos) : trimmedComments.length ? trimmedComments : void 0, tagsArray), start, end); + } + function removeLeadingNewlines(comments2) { + while (comments2.length && (comments2[0] === "\n" || comments2[0] === "\r")) { + comments2.shift(); + } + } + function removeTrailingWhitespace(comments2) { + while (comments2.length) { + const trimmed = comments2[comments2.length - 1].trimEnd(); + if (trimmed === "") { + comments2.pop(); + } else if (trimmed.length < comments2[comments2.length - 1].length) { + comments2[comments2.length - 1] = trimmed; + break; + } else { + break; + } + } + } + function isNextNonwhitespaceTokenEndOfFile() { + while (true) { + nextTokenJSDoc(); + if (token() === 1 /* EndOfFileToken */) { + return true; + } + if (!(token() === 5 /* WhitespaceTrivia */ || token() === 4 /* NewLineTrivia */)) { + return false; + } + } + } + function skipWhitespace() { + if (token() === 5 /* WhitespaceTrivia */ || token() === 4 /* NewLineTrivia */) { + if (lookAhead(isNextNonwhitespaceTokenEndOfFile)) { + return; + } + } + while (token() === 5 /* WhitespaceTrivia */ || token() === 4 /* NewLineTrivia */) { + nextTokenJSDoc(); + } + } + function skipWhitespaceOrAsterisk() { + if (token() === 5 /* WhitespaceTrivia */ || token() === 4 /* NewLineTrivia */) { + if (lookAhead(isNextNonwhitespaceTokenEndOfFile)) { + return ""; + } + } + let precedingLineBreak = scanner.hasPrecedingLineBreak(); + let seenLineBreak = false; + let indentText = ""; + while (precedingLineBreak && token() === 42 /* AsteriskToken */ || token() === 5 /* WhitespaceTrivia */ || token() === 4 /* NewLineTrivia */) { + indentText += scanner.getTokenText(); + if (token() === 4 /* NewLineTrivia */) { + precedingLineBreak = true; + seenLineBreak = true; + indentText = ""; + } else if (token() === 42 /* AsteriskToken */) { + precedingLineBreak = false; + } + nextTokenJSDoc(); + } + return seenLineBreak ? indentText : ""; + } + function parseTag(margin) { + Debug.assert(token() === 60 /* AtToken */); + const start2 = scanner.getTokenStart(); + nextTokenJSDoc(); + const tagName = parseJSDocIdentifierName( + /*message*/ + void 0 + ); + const indentText = skipWhitespaceOrAsterisk(); + let tag; + switch (tagName.escapedText) { + case "author": + tag = parseAuthorTag(start2, tagName, margin, indentText); + break; + case "implements": + tag = parseImplementsTag(start2, tagName, margin, indentText); + break; + case "augments": + case "extends": + tag = parseAugmentsTag(start2, tagName, margin, indentText); + break; + case "class": + case "constructor": + tag = parseSimpleTag(start2, factory2.createJSDocClassTag, tagName, margin, indentText); + break; + case "public": + tag = parseSimpleTag(start2, factory2.createJSDocPublicTag, tagName, margin, indentText); + break; + case "private": + tag = parseSimpleTag(start2, factory2.createJSDocPrivateTag, tagName, margin, indentText); + break; + case "protected": + tag = parseSimpleTag(start2, factory2.createJSDocProtectedTag, tagName, margin, indentText); + break; + case "readonly": + tag = parseSimpleTag(start2, factory2.createJSDocReadonlyTag, tagName, margin, indentText); + break; + case "override": + tag = parseSimpleTag(start2, factory2.createJSDocOverrideTag, tagName, margin, indentText); + break; + case "deprecated": + hasDeprecatedTag = true; + tag = parseSimpleTag(start2, factory2.createJSDocDeprecatedTag, tagName, margin, indentText); + break; + case "this": + tag = parseThisTag(start2, tagName, margin, indentText); + break; + case "enum": + tag = parseEnumTag(start2, tagName, margin, indentText); + break; + case "arg": + case "argument": + case "param": + return parseParameterOrPropertyTag(start2, tagName, 2 /* Parameter */, margin); + case "return": + case "returns": + tag = parseReturnTag(start2, tagName, margin, indentText); + break; + case "template": + tag = parseTemplateTag(start2, tagName, margin, indentText); + break; + case "type": + tag = parseTypeTag(start2, tagName, margin, indentText); + break; + case "typedef": + tag = parseTypedefTag(start2, tagName, margin, indentText); + break; + case "callback": + tag = parseCallbackTag(start2, tagName, margin, indentText); + break; + case "overload": + tag = parseOverloadTag(start2, tagName, margin, indentText); + break; + case "satisfies": + tag = parseSatisfiesTag(start2, tagName, margin, indentText); + break; + case "see": + tag = parseSeeTag(start2, tagName, margin, indentText); + break; + case "exception": + case "throws": + tag = parseThrowsTag(start2, tagName, margin, indentText); + break; + case "import": + tag = parseImportTag(start2, tagName, margin, indentText); + break; + default: + tag = parseUnknownTag(start2, tagName, margin, indentText); + break; + } + return tag; + } + function parseTrailingTagComments(pos, end2, margin, indentText) { + if (!indentText) { + margin += end2 - pos; + } + return parseTagComments(margin, indentText.slice(margin)); + } + function parseTagComments(indent2, initialMargin) { + const commentsPos2 = getNodePos(); + let comments2 = []; + const parts2 = []; + let linkEnd2; + let state = 0 /* BeginningOfLine */; + let margin; + function pushComment(text) { + if (!margin) { + margin = indent2; + } + comments2.push(text); + indent2 += text.length; + } + if (initialMargin !== void 0) { + if (initialMargin !== "") { + pushComment(initialMargin); + } + state = 1 /* SawAsterisk */; + } + let tok = token(); + loop: + while (true) { + switch (tok) { + case 4 /* NewLineTrivia */: + state = 0 /* BeginningOfLine */; + comments2.push(scanner.getTokenText()); + indent2 = 0; + break; + case 60 /* AtToken */: + scanner.resetTokenState(scanner.getTokenEnd() - 1); + break loop; + case 1 /* EndOfFileToken */: + break loop; + case 5 /* WhitespaceTrivia */: + Debug.assert(state !== 2 /* SavingComments */ && state !== 3 /* SavingBackticks */, "whitespace shouldn't come from the scanner while saving comment text"); + const whitespace = scanner.getTokenText(); + if (margin !== void 0 && indent2 + whitespace.length > margin) { + comments2.push(whitespace.slice(margin - indent2)); + state = 2 /* SavingComments */; + } + indent2 += whitespace.length; + break; + case 19 /* OpenBraceToken */: + state = 2 /* SavingComments */; + const commentEnd = scanner.getTokenFullStart(); + const linkStart = scanner.getTokenEnd() - 1; + const link = parseJSDocLink(linkStart); + if (link) { + parts2.push(finishNode(factory2.createJSDocText(comments2.join("")), linkEnd2 ?? commentsPos2, commentEnd)); + parts2.push(link); + comments2 = []; + linkEnd2 = scanner.getTokenEnd(); + } else { + pushComment(scanner.getTokenText()); + } + break; + case 62 /* BacktickToken */: + if (state === 3 /* SavingBackticks */) { + state = 2 /* SavingComments */; + } else { + state = 3 /* SavingBackticks */; + } + pushComment(scanner.getTokenText()); + break; + case 82 /* JSDocCommentTextToken */: + if (state !== 3 /* SavingBackticks */) { + state = 2 /* SavingComments */; + } + pushComment(scanner.getTokenValue()); + break; + case 42 /* AsteriskToken */: + if (state === 0 /* BeginningOfLine */) { + state = 1 /* SawAsterisk */; + indent2 += 1; + break; + } + // record the * as a comment + // falls through + default: + if (state !== 3 /* SavingBackticks */) { + state = 2 /* SavingComments */; + } + pushComment(scanner.getTokenText()); + break; + } + if (state === 2 /* SavingComments */ || state === 3 /* SavingBackticks */) { + tok = nextJSDocCommentTextToken(state === 3 /* SavingBackticks */); + } else { + tok = nextTokenJSDoc(); + } + } + removeLeadingNewlines(comments2); + const trimmedComments = comments2.join("").trimEnd(); + if (parts2.length) { + if (trimmedComments.length) { + parts2.push(finishNode(factory2.createJSDocText(trimmedComments), linkEnd2 ?? commentsPos2)); + } + return createNodeArray(parts2, commentsPos2, scanner.getTokenEnd()); + } else if (trimmedComments.length) { + return trimmedComments; + } + } + function parseJSDocLink(start2) { + const linkType = tryParse(parseJSDocLinkPrefix); + if (!linkType) { + return void 0; + } + nextTokenJSDoc(); + skipWhitespace(); + const name = parseJSDocLinkName(); + const text = []; + while (token() !== 20 /* CloseBraceToken */ && token() !== 4 /* NewLineTrivia */ && token() !== 1 /* EndOfFileToken */) { + text.push(scanner.getTokenText()); + nextTokenJSDoc(); + } + const create = linkType === "link" ? factory2.createJSDocLink : linkType === "linkcode" ? factory2.createJSDocLinkCode : factory2.createJSDocLinkPlain; + return finishNode(create(name, text.join("")), start2, scanner.getTokenEnd()); + } + function parseJSDocLinkName() { + if (tokenIsIdentifierOrKeyword(token())) { + const pos = getNodePos(); + let name = parseIdentifierName(); + while (parseOptional(25 /* DotToken */)) { + name = finishNode(factory2.createQualifiedName(name, token() === 81 /* PrivateIdentifier */ ? createMissingNode( + 80 /* Identifier */, + /*reportAtCurrentPosition*/ + false + ) : parseIdentifierName()), pos); + } + while (token() === 81 /* PrivateIdentifier */) { + reScanHashToken(); + nextTokenJSDoc(); + name = finishNode(factory2.createJSDocMemberName(name, parseIdentifier()), pos); + } + return name; + } + return void 0; + } + function parseJSDocLinkPrefix() { + skipWhitespaceOrAsterisk(); + if (token() === 19 /* OpenBraceToken */ && nextTokenJSDoc() === 60 /* AtToken */ && tokenIsIdentifierOrKeyword(nextTokenJSDoc())) { + const kind = scanner.getTokenValue(); + if (isJSDocLinkTag(kind)) return kind; + } + } + function isJSDocLinkTag(kind) { + return kind === "link" || kind === "linkcode" || kind === "linkplain"; + } + function parseUnknownTag(start2, tagName, indent2, indentText) { + return finishNode(factory2.createJSDocUnknownTag(tagName, parseTrailingTagComments(start2, getNodePos(), indent2, indentText)), start2); + } + function addTag(tag) { + if (!tag) { + return; + } + if (!tags) { + tags = [tag]; + tagsPos = tag.pos; + } else { + tags.push(tag); + } + tagsEnd = tag.end; + } + function tryParseTypeExpression() { + skipWhitespaceOrAsterisk(); + return token() === 19 /* OpenBraceToken */ ? parseJSDocTypeExpression() : void 0; + } + function parseBracketNameInPropertyAndParamTag() { + const isBracketed = parseOptionalJsdoc(23 /* OpenBracketToken */); + if (isBracketed) { + skipWhitespace(); + } + const isBackquoted = parseOptionalJsdoc(62 /* BacktickToken */); + const name = parseJSDocEntityName(); + if (isBackquoted) { + parseExpectedTokenJSDoc(62 /* BacktickToken */); + } + if (isBracketed) { + skipWhitespace(); + if (parseOptionalToken(64 /* EqualsToken */)) { + parseExpression(); + } + parseExpected(24 /* CloseBracketToken */); + } + return { name, isBracketed }; + } + function isObjectOrObjectArrayTypeReference(node) { + switch (node.kind) { + case 151 /* ObjectKeyword */: + return true; + case 188 /* ArrayType */: + return isObjectOrObjectArrayTypeReference(node.elementType); + default: + return isTypeReferenceNode(node) && isIdentifier(node.typeName) && node.typeName.escapedText === "Object" && !node.typeArguments; + } + } + function parseParameterOrPropertyTag(start2, tagName, target, indent2) { + let typeExpression = tryParseTypeExpression(); + let isNameFirst = !typeExpression; + skipWhitespaceOrAsterisk(); + const { name, isBracketed } = parseBracketNameInPropertyAndParamTag(); + const indentText = skipWhitespaceOrAsterisk(); + if (isNameFirst && !lookAhead(parseJSDocLinkPrefix)) { + typeExpression = tryParseTypeExpression(); + } + const comment = parseTrailingTagComments(start2, getNodePos(), indent2, indentText); + const nestedTypeLiteral = parseNestedTypeLiteral(typeExpression, name, target, indent2); + if (nestedTypeLiteral) { + typeExpression = nestedTypeLiteral; + isNameFirst = true; + } + const result2 = target === 1 /* Property */ ? factory2.createJSDocPropertyTag(tagName, name, isBracketed, typeExpression, isNameFirst, comment) : factory2.createJSDocParameterTag(tagName, name, isBracketed, typeExpression, isNameFirst, comment); + return finishNode(result2, start2); + } + function parseNestedTypeLiteral(typeExpression, name, target, indent2) { + if (typeExpression && isObjectOrObjectArrayTypeReference(typeExpression.type)) { + const pos = getNodePos(); + let child; + let children; + while (child = tryParse(() => parseChildParameterOrPropertyTag(target, indent2, name))) { + if (child.kind === 341 /* JSDocParameterTag */ || child.kind === 348 /* JSDocPropertyTag */) { + children = append(children, child); + } else if (child.kind === 345 /* JSDocTemplateTag */) { + parseErrorAtRange(child.tagName, Diagnostics.A_JSDoc_template_tag_may_not_follow_a_typedef_callback_or_overload_tag); + } + } + if (children) { + const literal = finishNode(factory2.createJSDocTypeLiteral(children, typeExpression.type.kind === 188 /* ArrayType */), pos); + return finishNode(factory2.createJSDocTypeExpression(literal), pos); + } + } + } + function parseReturnTag(start2, tagName, indent2, indentText) { + if (some(tags, isJSDocReturnTag)) { + parseErrorAt(tagName.pos, scanner.getTokenStart(), Diagnostics._0_tag_already_specified, unescapeLeadingUnderscores(tagName.escapedText)); + } + const typeExpression = tryParseTypeExpression(); + return finishNode(factory2.createJSDocReturnTag(tagName, typeExpression, parseTrailingTagComments(start2, getNodePos(), indent2, indentText)), start2); + } + function parseTypeTag(start2, tagName, indent2, indentText) { + if (some(tags, isJSDocTypeTag)) { + parseErrorAt(tagName.pos, scanner.getTokenStart(), Diagnostics._0_tag_already_specified, unescapeLeadingUnderscores(tagName.escapedText)); + } + const typeExpression = parseJSDocTypeExpression( + /*mayOmitBraces*/ + true + ); + const comments2 = indent2 !== void 0 && indentText !== void 0 ? parseTrailingTagComments(start2, getNodePos(), indent2, indentText) : void 0; + return finishNode(factory2.createJSDocTypeTag(tagName, typeExpression, comments2), start2); + } + function parseSeeTag(start2, tagName, indent2, indentText) { + const isMarkdownOrJSDocLink = token() === 23 /* OpenBracketToken */ || lookAhead(() => nextTokenJSDoc() === 60 /* AtToken */ && tokenIsIdentifierOrKeyword(nextTokenJSDoc()) && isJSDocLinkTag(scanner.getTokenValue())); + const nameExpression = isMarkdownOrJSDocLink ? void 0 : parseJSDocNameReference(); + const comments2 = indent2 !== void 0 && indentText !== void 0 ? parseTrailingTagComments(start2, getNodePos(), indent2, indentText) : void 0; + return finishNode(factory2.createJSDocSeeTag(tagName, nameExpression, comments2), start2); + } + function parseThrowsTag(start2, tagName, indent2, indentText) { + const typeExpression = tryParseTypeExpression(); + const comment = parseTrailingTagComments(start2, getNodePos(), indent2, indentText); + return finishNode(factory2.createJSDocThrowsTag(tagName, typeExpression, comment), start2); + } + function parseAuthorTag(start2, tagName, indent2, indentText) { + const commentStart = getNodePos(); + const textOnly = parseAuthorNameAndEmail(); + let commentEnd = scanner.getTokenFullStart(); + const comments2 = parseTrailingTagComments(start2, commentEnd, indent2, indentText); + if (!comments2) { + commentEnd = scanner.getTokenFullStart(); + } + const allParts = typeof comments2 !== "string" ? createNodeArray(concatenate([finishNode(textOnly, commentStart, commentEnd)], comments2), commentStart) : textOnly.text + comments2; + return finishNode(factory2.createJSDocAuthorTag(tagName, allParts), start2); + } + function parseAuthorNameAndEmail() { + const comments2 = []; + let inEmail = false; + let token2 = scanner.getToken(); + while (token2 !== 1 /* EndOfFileToken */ && token2 !== 4 /* NewLineTrivia */) { + if (token2 === 30 /* LessThanToken */) { + inEmail = true; + } else if (token2 === 60 /* AtToken */ && !inEmail) { + break; + } else if (token2 === 32 /* GreaterThanToken */ && inEmail) { + comments2.push(scanner.getTokenText()); + scanner.resetTokenState(scanner.getTokenEnd()); + break; + } + comments2.push(scanner.getTokenText()); + token2 = nextTokenJSDoc(); + } + return factory2.createJSDocText(comments2.join("")); + } + function parseImplementsTag(start2, tagName, margin, indentText) { + const className = parseExpressionWithTypeArgumentsForAugments(); + return finishNode(factory2.createJSDocImplementsTag(tagName, className, parseTrailingTagComments(start2, getNodePos(), margin, indentText)), start2); + } + function parseAugmentsTag(start2, tagName, margin, indentText) { + const className = parseExpressionWithTypeArgumentsForAugments(); + return finishNode(factory2.createJSDocAugmentsTag(tagName, className, parseTrailingTagComments(start2, getNodePos(), margin, indentText)), start2); + } + function parseSatisfiesTag(start2, tagName, margin, indentText) { + const typeExpression = parseJSDocTypeExpression( + /*mayOmitBraces*/ + false + ); + const comments2 = margin !== void 0 && indentText !== void 0 ? parseTrailingTagComments(start2, getNodePos(), margin, indentText) : void 0; + return finishNode(factory2.createJSDocSatisfiesTag(tagName, typeExpression, comments2), start2); + } + function parseImportTag(start2, tagName, margin, indentText) { + const afterImportTagPos = scanner.getTokenFullStart(); + let identifier; + if (isIdentifier2()) { + identifier = parseIdentifier(); + } + const importClause = tryParseImportClause( + identifier, + afterImportTagPos, + /*isTypeOnly*/ + true, + /*skipJsDocLeadingAsterisks*/ + true + ); + const moduleSpecifier = parseModuleSpecifier(); + const attributes = tryParseImportAttributes(); + const comments2 = margin !== void 0 && indentText !== void 0 ? parseTrailingTagComments(start2, getNodePos(), margin, indentText) : void 0; + return finishNode(factory2.createJSDocImportTag(tagName, importClause, moduleSpecifier, attributes, comments2), start2); + } + function parseExpressionWithTypeArgumentsForAugments() { + const usedBrace = parseOptional(19 /* OpenBraceToken */); + const pos = getNodePos(); + const expression = parsePropertyAccessEntityNameExpression(); + scanner.setSkipJsDocLeadingAsterisks(true); + const typeArguments = tryParseTypeArguments(); + scanner.setSkipJsDocLeadingAsterisks(false); + const node = factory2.createExpressionWithTypeArguments(expression, typeArguments); + const res = finishNode(node, pos); + if (usedBrace) { + parseExpected(20 /* CloseBraceToken */); + } + return res; + } + function parsePropertyAccessEntityNameExpression() { + const pos = getNodePos(); + let node = parseJSDocIdentifierName(); + while (parseOptional(25 /* DotToken */)) { + const name = parseJSDocIdentifierName(); + node = finishNode(factoryCreatePropertyAccessExpression(node, name), pos); + } + return node; + } + function parseSimpleTag(start2, createTag, tagName, margin, indentText) { + return finishNode(createTag(tagName, parseTrailingTagComments(start2, getNodePos(), margin, indentText)), start2); + } + function parseThisTag(start2, tagName, margin, indentText) { + const typeExpression = parseJSDocTypeExpression( + /*mayOmitBraces*/ + true + ); + skipWhitespace(); + return finishNode(factory2.createJSDocThisTag(tagName, typeExpression, parseTrailingTagComments(start2, getNodePos(), margin, indentText)), start2); + } + function parseEnumTag(start2, tagName, margin, indentText) { + const typeExpression = parseJSDocTypeExpression( + /*mayOmitBraces*/ + true + ); + skipWhitespace(); + return finishNode(factory2.createJSDocEnumTag(tagName, typeExpression, parseTrailingTagComments(start2, getNodePos(), margin, indentText)), start2); + } + function parseTypedefTag(start2, tagName, indent2, indentText) { + let typeExpression = tryParseTypeExpression(); + skipWhitespaceOrAsterisk(); + const fullName = parseJSDocTypeNameWithNamespace(); + skipWhitespace(); + let comment = parseTagComments(indent2); + let end2; + if (!typeExpression || isObjectOrObjectArrayTypeReference(typeExpression.type)) { + let child; + let childTypeTag; + let jsDocPropertyTags; + let hasChildren = false; + while (child = tryParse(() => parseChildPropertyTag(indent2))) { + if (child.kind === 345 /* JSDocTemplateTag */) { + break; + } + hasChildren = true; + if (child.kind === 344 /* JSDocTypeTag */) { + if (childTypeTag) { + const lastError = parseErrorAtCurrentToken(Diagnostics.A_JSDoc_typedef_comment_may_not_contain_multiple_type_tags); + if (lastError) { + addRelatedInfo(lastError, createDetachedDiagnostic(fileName, sourceText, 0, 0, Diagnostics.The_tag_was_first_specified_here)); + } + break; + } else { + childTypeTag = child; + } + } else { + jsDocPropertyTags = append(jsDocPropertyTags, child); + } + } + if (hasChildren) { + const isArrayType = typeExpression && typeExpression.type.kind === 188 /* ArrayType */; + const jsdocTypeLiteral = factory2.createJSDocTypeLiteral(jsDocPropertyTags, isArrayType); + typeExpression = childTypeTag && childTypeTag.typeExpression && !isObjectOrObjectArrayTypeReference(childTypeTag.typeExpression.type) ? childTypeTag.typeExpression : finishNode(jsdocTypeLiteral, start2); + end2 = typeExpression.end; + } + } + end2 = end2 || comment !== void 0 ? getNodePos() : (fullName ?? typeExpression ?? tagName).end; + if (!comment) { + comment = parseTrailingTagComments(start2, end2, indent2, indentText); + } + const typedefTag = factory2.createJSDocTypedefTag(tagName, typeExpression, fullName, comment); + return finishNode(typedefTag, start2, end2); + } + function parseJSDocTypeNameWithNamespace(nested) { + const start2 = scanner.getTokenStart(); + if (!tokenIsIdentifierOrKeyword(token())) { + return void 0; + } + const typeNameOrNamespaceName = parseJSDocIdentifierName(); + if (parseOptional(25 /* DotToken */)) { + const body = parseJSDocTypeNameWithNamespace( + /*nested*/ + true + ); + const jsDocNamespaceNode = factory2.createModuleDeclaration( + /*modifiers*/ + void 0, + typeNameOrNamespaceName, + body, + nested ? 8 /* NestedNamespace */ : void 0 + ); + return finishNode(jsDocNamespaceNode, start2); + } + if (nested) { + typeNameOrNamespaceName.flags |= 4096 /* IdentifierIsInJSDocNamespace */; + } + return typeNameOrNamespaceName; + } + function parseCallbackTagParameters(indent2) { + const pos = getNodePos(); + let child; + let parameters; + while (child = tryParse(() => parseChildParameterOrPropertyTag(4 /* CallbackParameter */, indent2))) { + if (child.kind === 345 /* JSDocTemplateTag */) { + parseErrorAtRange(child.tagName, Diagnostics.A_JSDoc_template_tag_may_not_follow_a_typedef_callback_or_overload_tag); + break; + } + parameters = append(parameters, child); + } + return createNodeArray(parameters || [], pos); + } + function parseJSDocSignature(start2, indent2) { + const parameters = parseCallbackTagParameters(indent2); + const returnTag = tryParse(() => { + if (parseOptionalJsdoc(60 /* AtToken */)) { + const tag = parseTag(indent2); + if (tag && tag.kind === 342 /* JSDocReturnTag */) { + return tag; + } + } + }); + return finishNode(factory2.createJSDocSignature( + /*typeParameters*/ + void 0, + parameters, + returnTag + ), start2); + } + function parseCallbackTag(start2, tagName, indent2, indentText) { + const fullName = parseJSDocTypeNameWithNamespace(); + skipWhitespace(); + let comment = parseTagComments(indent2); + const typeExpression = parseJSDocSignature(start2, indent2); + if (!comment) { + comment = parseTrailingTagComments(start2, getNodePos(), indent2, indentText); + } + const end2 = comment !== void 0 ? getNodePos() : typeExpression.end; + return finishNode(factory2.createJSDocCallbackTag(tagName, typeExpression, fullName, comment), start2, end2); + } + function parseOverloadTag(start2, tagName, indent2, indentText) { + skipWhitespace(); + let comment = parseTagComments(indent2); + const typeExpression = parseJSDocSignature(start2, indent2); + if (!comment) { + comment = parseTrailingTagComments(start2, getNodePos(), indent2, indentText); + } + const end2 = comment !== void 0 ? getNodePos() : typeExpression.end; + return finishNode(factory2.createJSDocOverloadTag(tagName, typeExpression, comment), start2, end2); + } + function escapedTextsEqual(a, b) { + while (!isIdentifier(a) || !isIdentifier(b)) { + if (!isIdentifier(a) && !isIdentifier(b) && a.right.escapedText === b.right.escapedText) { + a = a.left; + b = b.left; + } else { + return false; + } + } + return a.escapedText === b.escapedText; + } + function parseChildPropertyTag(indent2) { + return parseChildParameterOrPropertyTag(1 /* Property */, indent2); + } + function parseChildParameterOrPropertyTag(target, indent2, name) { + let canParseTag = true; + let seenAsterisk = false; + while (true) { + switch (nextTokenJSDoc()) { + case 60 /* AtToken */: + if (canParseTag) { + const child = tryParseChildTag(target, indent2); + if (child && (child.kind === 341 /* JSDocParameterTag */ || child.kind === 348 /* JSDocPropertyTag */) && name && (isIdentifier(child.name) || !escapedTextsEqual(name, child.name.left))) { + return false; + } + return child; + } + seenAsterisk = false; + break; + case 4 /* NewLineTrivia */: + canParseTag = true; + seenAsterisk = false; + break; + case 42 /* AsteriskToken */: + if (seenAsterisk) { + canParseTag = false; + } + seenAsterisk = true; + break; + case 80 /* Identifier */: + canParseTag = false; + break; + case 1 /* EndOfFileToken */: + return false; + } + } + } + function tryParseChildTag(target, indent2) { + Debug.assert(token() === 60 /* AtToken */); + const start2 = scanner.getTokenFullStart(); + nextTokenJSDoc(); + const tagName = parseJSDocIdentifierName(); + const indentText = skipWhitespaceOrAsterisk(); + let t; + switch (tagName.escapedText) { + case "type": + return target === 1 /* Property */ && parseTypeTag(start2, tagName); + case "prop": + case "property": + t = 1 /* Property */; + break; + case "arg": + case "argument": + case "param": + t = 2 /* Parameter */ | 4 /* CallbackParameter */; + break; + case "template": + return parseTemplateTag(start2, tagName, indent2, indentText); + case "this": + return parseThisTag(start2, tagName, indent2, indentText); + default: + return false; + } + if (!(target & t)) { + return false; + } + return parseParameterOrPropertyTag(start2, tagName, target, indent2); + } + function parseTemplateTagTypeParameter() { + const typeParameterPos = getNodePos(); + const isBracketed = parseOptionalJsdoc(23 /* OpenBracketToken */); + if (isBracketed) { + skipWhitespace(); + } + const modifiers = parseModifiers( + /*allowDecorators*/ + false, + /*permitConstAsModifier*/ + true + ); + const name = parseJSDocIdentifierName(Diagnostics.Unexpected_token_A_type_parameter_name_was_expected_without_curly_braces); + let defaultType; + if (isBracketed) { + skipWhitespace(); + parseExpected(64 /* EqualsToken */); + defaultType = doInsideOfContext(16777216 /* JSDoc */, parseJSDocType); + parseExpected(24 /* CloseBracketToken */); + } + if (nodeIsMissing(name)) { + return void 0; + } + return finishNode(factory2.createTypeParameterDeclaration( + modifiers, + name, + /*constraint*/ + void 0, + defaultType + ), typeParameterPos); + } + function parseTemplateTagTypeParameters() { + const pos = getNodePos(); + const typeParameters = []; + do { + skipWhitespace(); + const node = parseTemplateTagTypeParameter(); + if (node !== void 0) { + typeParameters.push(node); + } + skipWhitespaceOrAsterisk(); + } while (parseOptionalJsdoc(28 /* CommaToken */)); + return createNodeArray(typeParameters, pos); + } + function parseTemplateTag(start2, tagName, indent2, indentText) { + const constraint = token() === 19 /* OpenBraceToken */ ? parseJSDocTypeExpression() : void 0; + const typeParameters = parseTemplateTagTypeParameters(); + return finishNode(factory2.createJSDocTemplateTag(tagName, constraint, typeParameters, parseTrailingTagComments(start2, getNodePos(), indent2, indentText)), start2); + } + function parseOptionalJsdoc(t) { + if (token() === t) { + nextTokenJSDoc(); + return true; + } + return false; + } + function parseJSDocEntityName() { + let entity = parseJSDocIdentifierName(); + if (parseOptional(23 /* OpenBracketToken */)) { + parseExpected(24 /* CloseBracketToken */); + } + while (parseOptional(25 /* DotToken */)) { + const name = parseJSDocIdentifierName(); + if (parseOptional(23 /* OpenBracketToken */)) { + parseExpected(24 /* CloseBracketToken */); + } + entity = createQualifiedName(entity, name); + } + return entity; + } + function parseJSDocIdentifierName(message) { + if (!tokenIsIdentifierOrKeyword(token())) { + return createMissingNode( + 80 /* Identifier */, + /*reportAtCurrentPosition*/ + !message, + message || Diagnostics.Identifier_expected + ); + } + identifierCount++; + const start2 = scanner.getTokenStart(); + const end2 = scanner.getTokenEnd(); + const originalKeywordKind = token(); + const text = internIdentifier(scanner.getTokenValue()); + const result2 = finishNode(factoryCreateIdentifier(text, originalKeywordKind), start2, end2); + nextTokenJSDoc(); + return result2; + } + } + })(JSDocParser = Parser2.JSDocParser || (Parser2.JSDocParser = {})); +})(Parser || (Parser = {})); +var incrementallyParsedFiles = /* @__PURE__ */ new WeakSet(); +function markAsIncrementallyParsed(sourceFile) { + if (incrementallyParsedFiles.has(sourceFile)) { + Debug.fail("Source file has already been incrementally parsed"); + } + incrementallyParsedFiles.add(sourceFile); +} +var intersectingChangeSet = /* @__PURE__ */ new WeakSet(); +function intersectsIncrementalChange(node) { + return intersectingChangeSet.has(node); +} +function markAsIntersectingIncrementalChange(node) { + intersectingChangeSet.add(node); +} +var IncrementalParser; +((IncrementalParser2) => { + function updateSourceFile(sourceFile, newText, textChangeRange, aggressiveChecks) { + aggressiveChecks = aggressiveChecks || Debug.shouldAssert(2 /* Aggressive */); + checkChangeRange(sourceFile, newText, textChangeRange, aggressiveChecks); + if (textChangeRangeIsUnchanged(textChangeRange)) { + return sourceFile; + } + if (sourceFile.statements.length === 0) { + return Parser.parseSourceFile( + sourceFile.fileName, + newText, + sourceFile.languageVersion, + /*syntaxCursor*/ + void 0, + /*setParentNodes*/ + true, + sourceFile.scriptKind, + sourceFile.setExternalModuleIndicator, + sourceFile.jsDocParsingMode + ); + } + markAsIncrementallyParsed(sourceFile); + Parser.fixupParentReferences(sourceFile); + const oldText = sourceFile.text; + const syntaxCursor = createSyntaxCursor(sourceFile); + const changeRange = extendToAffectedRange(sourceFile, textChangeRange); + checkChangeRange(sourceFile, newText, changeRange, aggressiveChecks); + Debug.assert(changeRange.span.start <= textChangeRange.span.start); + Debug.assert(textSpanEnd(changeRange.span) === textSpanEnd(textChangeRange.span)); + Debug.assert(textSpanEnd(textChangeRangeNewSpan(changeRange)) === textSpanEnd(textChangeRangeNewSpan(textChangeRange))); + const delta = textChangeRangeNewSpan(changeRange).length - changeRange.span.length; + updateTokenPositionsAndMarkElements(sourceFile, changeRange.span.start, textSpanEnd(changeRange.span), textSpanEnd(textChangeRangeNewSpan(changeRange)), delta, oldText, newText, aggressiveChecks); + const result = Parser.parseSourceFile( + sourceFile.fileName, + newText, + sourceFile.languageVersion, + syntaxCursor, + /*setParentNodes*/ + true, + sourceFile.scriptKind, + sourceFile.setExternalModuleIndicator, + sourceFile.jsDocParsingMode + ); + result.commentDirectives = getNewCommentDirectives( + sourceFile.commentDirectives, + result.commentDirectives, + changeRange.span.start, + textSpanEnd(changeRange.span), + delta, + oldText, + newText, + aggressiveChecks + ); + result.impliedNodeFormat = sourceFile.impliedNodeFormat; + transferSourceFileChildren(sourceFile, result); + return result; + } + IncrementalParser2.updateSourceFile = updateSourceFile; + function getNewCommentDirectives(oldDirectives, newDirectives, changeStart, changeRangeOldEnd, delta, oldText, newText, aggressiveChecks) { + if (!oldDirectives) return newDirectives; + let commentDirectives; + let addedNewlyScannedDirectives = false; + for (const directive of oldDirectives) { + const { range, type } = directive; + if (range.end < changeStart) { + commentDirectives = append(commentDirectives, directive); + } else if (range.pos > changeRangeOldEnd) { + addNewlyScannedDirectives(); + const updatedDirective = { + range: { pos: range.pos + delta, end: range.end + delta }, + type + }; + commentDirectives = append(commentDirectives, updatedDirective); + if (aggressiveChecks) { + Debug.assert(oldText.substring(range.pos, range.end) === newText.substring(updatedDirective.range.pos, updatedDirective.range.end)); + } + } + } + addNewlyScannedDirectives(); + return commentDirectives; + function addNewlyScannedDirectives() { + if (addedNewlyScannedDirectives) return; + addedNewlyScannedDirectives = true; + if (!commentDirectives) { + commentDirectives = newDirectives; + } else if (newDirectives) { + commentDirectives.push(...newDirectives); + } + } + } + function moveElementEntirelyPastChangeRange(element, origSourceFile, isArray2, delta, oldText, newText, aggressiveChecks) { + if (isArray2) { + visitArray2(element); + } else { + visitNode3(element); + } + return; + function visitNode3(node) { + let text = ""; + if (aggressiveChecks && shouldCheckNode(node)) { + text = oldText.substring(node.pos, node.end); + } + unsetNodeChildren(node, origSourceFile); + setTextRangePosEnd(node, node.pos + delta, node.end + delta); + if (aggressiveChecks && shouldCheckNode(node)) { + Debug.assert(text === newText.substring(node.pos, node.end)); + } + forEachChild(node, visitNode3, visitArray2); + if (hasJSDocNodes(node)) { + for (const jsDocComment of node.jsDoc) { + visitNode3(jsDocComment); + } + } + checkNodePositions(node, aggressiveChecks); + } + function visitArray2(array) { + setTextRangePosEnd(array, array.pos + delta, array.end + delta); + for (const node of array) { + visitNode3(node); + } + } + } + function shouldCheckNode(node) { + switch (node.kind) { + case 11 /* StringLiteral */: + case 9 /* NumericLiteral */: + case 80 /* Identifier */: + return true; + } + return false; + } + function adjustIntersectingElement(element, changeStart, changeRangeOldEnd, changeRangeNewEnd, delta) { + Debug.assert(element.end >= changeStart, "Adjusting an element that was entirely before the change range"); + Debug.assert(element.pos <= changeRangeOldEnd, "Adjusting an element that was entirely after the change range"); + Debug.assert(element.pos <= element.end); + const pos = Math.min(element.pos, changeRangeNewEnd); + const end = element.end >= changeRangeOldEnd ? ( + // Element ends after the change range. Always adjust the end pos. + element.end + delta + ) : ( + // Element ends in the change range. The element will keep its position if + // possible. Or Move backward to the new-end if it's in the 'Y' range. + Math.min(element.end, changeRangeNewEnd) + ); + Debug.assert(pos <= end); + if (element.parent) { + const parent = element.parent; + Debug.assertGreaterThanOrEqual(pos, parent.pos); + Debug.assertLessThanOrEqual(end, parent.end); + } + setTextRangePosEnd(element, pos, end); + } + function checkNodePositions(node, aggressiveChecks) { + if (aggressiveChecks) { + let pos = node.pos; + const visitNode3 = (child) => { + Debug.assert(child.pos >= pos); + pos = child.end; + }; + if (hasJSDocNodes(node)) { + for (const jsDocComment of node.jsDoc) { + visitNode3(jsDocComment); + } + } + forEachChild(node, visitNode3); + Debug.assert(pos <= node.end); + } + } + function updateTokenPositionsAndMarkElements(sourceFile, changeStart, changeRangeOldEnd, changeRangeNewEnd, delta, oldText, newText, aggressiveChecks) { + visitNode3(sourceFile); + return; + function visitNode3(child) { + Debug.assert(child.pos <= child.end); + if (child.pos > changeRangeOldEnd) { + moveElementEntirelyPastChangeRange( + child, + sourceFile, + /*isArray*/ + false, + delta, + oldText, + newText, + aggressiveChecks + ); + return; + } + const fullEnd = child.end; + if (fullEnd >= changeStart) { + markAsIntersectingIncrementalChange(child); + unsetNodeChildren(child, sourceFile); + adjustIntersectingElement(child, changeStart, changeRangeOldEnd, changeRangeNewEnd, delta); + forEachChild(child, visitNode3, visitArray2); + if (hasJSDocNodes(child)) { + for (const jsDocComment of child.jsDoc) { + visitNode3(jsDocComment); + } + } + checkNodePositions(child, aggressiveChecks); + return; + } + Debug.assert(fullEnd < changeStart); + } + function visitArray2(array) { + Debug.assert(array.pos <= array.end); + if (array.pos > changeRangeOldEnd) { + moveElementEntirelyPastChangeRange( + array, + sourceFile, + /*isArray*/ + true, + delta, + oldText, + newText, + aggressiveChecks + ); + return; + } + const fullEnd = array.end; + if (fullEnd >= changeStart) { + markAsIntersectingIncrementalChange(array); + adjustIntersectingElement(array, changeStart, changeRangeOldEnd, changeRangeNewEnd, delta); + for (const node of array) { + visitNode3(node); + } + return; + } + Debug.assert(fullEnd < changeStart); + } + } + function extendToAffectedRange(sourceFile, changeRange) { + const maxLookahead = 1; + let start = changeRange.span.start; + for (let i = 0; start > 0 && i <= maxLookahead; i++) { + const nearestNode = findNearestNodeStartingBeforeOrAtPosition(sourceFile, start); + Debug.assert(nearestNode.pos <= start); + const position = nearestNode.pos; + start = Math.max(0, position - 1); + } + const finalSpan = createTextSpanFromBounds(start, textSpanEnd(changeRange.span)); + const finalLength = changeRange.newLength + (changeRange.span.start - start); + return createTextChangeRange(finalSpan, finalLength); + } + function findNearestNodeStartingBeforeOrAtPosition(sourceFile, position) { + let bestResult = sourceFile; + let lastNodeEntirelyBeforePosition; + forEachChild(sourceFile, visit); + if (lastNodeEntirelyBeforePosition) { + const lastChildOfLastEntireNodeBeforePosition = getLastDescendant(lastNodeEntirelyBeforePosition); + if (lastChildOfLastEntireNodeBeforePosition.pos > bestResult.pos) { + bestResult = lastChildOfLastEntireNodeBeforePosition; + } + } + return bestResult; + function getLastDescendant(node) { + while (true) { + const lastChild = getLastChild(node); + if (lastChild) { + node = lastChild; + } else { + return node; + } + } + } + function visit(child) { + if (nodeIsMissing(child)) { + return; + } + if (child.pos <= position) { + if (child.pos >= bestResult.pos) { + bestResult = child; + } + if (position < child.end) { + forEachChild(child, visit); + return true; + } else { + Debug.assert(child.end <= position); + lastNodeEntirelyBeforePosition = child; + } + } else { + Debug.assert(child.pos > position); + return true; + } + } + } + function checkChangeRange(sourceFile, newText, textChangeRange, aggressiveChecks) { + const oldText = sourceFile.text; + if (textChangeRange) { + Debug.assert(oldText.length - textChangeRange.span.length + textChangeRange.newLength === newText.length); + if (aggressiveChecks || Debug.shouldAssert(3 /* VeryAggressive */)) { + const oldTextPrefix = oldText.substr(0, textChangeRange.span.start); + const newTextPrefix = newText.substr(0, textChangeRange.span.start); + Debug.assert(oldTextPrefix === newTextPrefix); + const oldTextSuffix = oldText.substring(textSpanEnd(textChangeRange.span), oldText.length); + const newTextSuffix = newText.substring(textSpanEnd(textChangeRangeNewSpan(textChangeRange)), newText.length); + Debug.assert(oldTextSuffix === newTextSuffix); + } + } + } + function createSyntaxCursor(sourceFile) { + let currentArray = sourceFile.statements; + let currentArrayIndex = 0; + Debug.assert(currentArrayIndex < currentArray.length); + let current = currentArray[currentArrayIndex]; + let lastQueriedPosition = -1 /* Value */; + return { + currentNode(position) { + if (position !== lastQueriedPosition) { + if (current && current.end === position && currentArrayIndex < currentArray.length - 1) { + currentArrayIndex++; + current = currentArray[currentArrayIndex]; + } + if (!current || current.pos !== position) { + findHighestListElementThatStartsAtPosition(position); + } + } + lastQueriedPosition = position; + Debug.assert(!current || current.pos === position); + return current; + } + }; + function findHighestListElementThatStartsAtPosition(position) { + currentArray = void 0; + currentArrayIndex = -1 /* Value */; + current = void 0; + forEachChild(sourceFile, visitNode3, visitArray2); + return; + function visitNode3(node) { + if (position >= node.pos && position < node.end) { + forEachChild(node, visitNode3, visitArray2); + return true; + } + return false; + } + function visitArray2(array) { + if (position >= array.pos && position < array.end) { + for (let i = 0; i < array.length; i++) { + const child = array[i]; + if (child) { + if (child.pos === position) { + currentArray = array; + currentArrayIndex = i; + current = child; + return true; + } else { + if (child.pos < position && position < child.end) { + forEachChild(child, visitNode3, visitArray2); + return true; + } + } + } + } + } + return false; + } + } + } + IncrementalParser2.createSyntaxCursor = createSyntaxCursor; + let InvalidPosition; + ((InvalidPosition2) => { + InvalidPosition2[InvalidPosition2["Value"] = -1] = "Value"; + })(InvalidPosition || (InvalidPosition = {})); +})(IncrementalParser || (IncrementalParser = {})); +function isDeclarationFileName(fileName) { + return getDeclarationFileExtension(fileName) !== void 0; +} +function getDeclarationFileExtension(fileName) { + const standardExtension = getAnyExtensionFromPath( + fileName, + supportedDeclarationExtensions, + /*ignoreCase*/ + false + ); + if (standardExtension) { + return standardExtension; + } + if (fileExtensionIs(fileName, ".ts" /* Ts */)) { + const baseName = getBaseFileName(fileName); + const index = baseName.lastIndexOf(".d."); + if (index >= 0) { + return baseName.substring(index); + } + } + return void 0; +} +function parseResolutionMode(mode, pos, end, reportDiagnostic) { + if (!mode) { + return void 0; + } + if (mode === "import") { + return 99 /* ESNext */; + } + if (mode === "require") { + return 1 /* CommonJS */; + } + reportDiagnostic(pos, end - pos, Diagnostics.resolution_mode_should_be_either_require_or_import); + return void 0; +} +function processCommentPragmas(context, sourceText) { + const pragmas = []; + for (const range of getLeadingCommentRanges(sourceText, 0) || emptyArray) { + const comment = sourceText.substring(range.pos, range.end); + extractPragmas(pragmas, range, comment); + } + context.pragmas = /* @__PURE__ */ new Map(); + for (const pragma of pragmas) { + if (context.pragmas.has(pragma.name)) { + const currentValue = context.pragmas.get(pragma.name); + if (currentValue instanceof Array) { + currentValue.push(pragma.args); + } else { + context.pragmas.set(pragma.name, [currentValue, pragma.args]); + } + continue; + } + context.pragmas.set(pragma.name, pragma.args); + } +} +function processPragmasIntoFields(context, reportDiagnostic) { + context.checkJsDirective = void 0; + context.referencedFiles = []; + context.typeReferenceDirectives = []; + context.libReferenceDirectives = []; + context.amdDependencies = []; + context.hasNoDefaultLib = false; + context.pragmas.forEach((entryOrList, key) => { + switch (key) { + case "reference": { + const referencedFiles = context.referencedFiles; + const typeReferenceDirectives = context.typeReferenceDirectives; + const libReferenceDirectives = context.libReferenceDirectives; + forEach(toArray(entryOrList), (arg) => { + const { types, lib, path, ["resolution-mode"]: res, preserve: _preserve } = arg.arguments; + const preserve = _preserve === "true" ? true : void 0; + if (arg.arguments["no-default-lib"] === "true") { + context.hasNoDefaultLib = true; + } else if (types) { + const parsed = parseResolutionMode(res, types.pos, types.end, reportDiagnostic); + typeReferenceDirectives.push({ pos: types.pos, end: types.end, fileName: types.value, ...parsed ? { resolutionMode: parsed } : {}, ...preserve ? { preserve } : {} }); + } else if (lib) { + libReferenceDirectives.push({ pos: lib.pos, end: lib.end, fileName: lib.value, ...preserve ? { preserve } : {} }); + } else if (path) { + referencedFiles.push({ pos: path.pos, end: path.end, fileName: path.value, ...preserve ? { preserve } : {} }); + } else { + reportDiagnostic(arg.range.pos, arg.range.end - arg.range.pos, Diagnostics.Invalid_reference_directive_syntax); + } + }); + break; + } + case "amd-dependency": { + context.amdDependencies = map( + toArray(entryOrList), + (x) => ({ name: x.arguments.name, path: x.arguments.path }) + ); + break; + } + case "amd-module": { + if (entryOrList instanceof Array) { + for (const entry of entryOrList) { + if (context.moduleName) { + reportDiagnostic(entry.range.pos, entry.range.end - entry.range.pos, Diagnostics.An_AMD_module_cannot_have_multiple_name_assignments); + } + context.moduleName = entry.arguments.name; + } + } else { + context.moduleName = entryOrList.arguments.name; + } + break; + } + case "ts-nocheck": + case "ts-check": { + forEach(toArray(entryOrList), (entry) => { + if (!context.checkJsDirective || entry.range.pos > context.checkJsDirective.pos) { + context.checkJsDirective = { + enabled: key === "ts-check", + end: entry.range.end, + pos: entry.range.pos + }; + } + }); + break; + } + case "jsx": + case "jsxfrag": + case "jsximportsource": + case "jsxruntime": + return; + // Accessed directly + default: + Debug.fail("Unhandled pragma kind"); + } + }); +} +var namedArgRegExCache = /* @__PURE__ */ new Map(); +function getNamedArgRegEx(name) { + if (namedArgRegExCache.has(name)) { + return namedArgRegExCache.get(name); + } + const result = new RegExp(`(\\s${name}\\s*=\\s*)(?:(?:'([^']*)')|(?:"([^"]*)"))`, "im"); + namedArgRegExCache.set(name, result); + return result; +} +var tripleSlashXMLCommentStartRegEx = /^\/\/\/\s*<(\S+)\s.*?\/>/m; +var singleLinePragmaRegEx = /^\/\/\/?\s*@([^\s:]+)((?:[^\S\r\n]|:).*)?$/m; +function extractPragmas(pragmas, range, text) { + const tripleSlash = range.kind === 2 /* SingleLineCommentTrivia */ && tripleSlashXMLCommentStartRegEx.exec(text); + if (tripleSlash) { + const name = tripleSlash[1].toLowerCase(); + const pragma = commentPragmas[name]; + if (!pragma || !(pragma.kind & 1 /* TripleSlashXML */)) { + return; + } + if (pragma.args) { + const argument = {}; + for (const arg of pragma.args) { + const matcher = getNamedArgRegEx(arg.name); + const matchResult = matcher.exec(text); + if (!matchResult && !arg.optional) { + return; + } else if (matchResult) { + const value = matchResult[2] || matchResult[3]; + if (arg.captureSpan) { + const startPos = range.pos + matchResult.index + matchResult[1].length + 1; + argument[arg.name] = { + value, + pos: startPos, + end: startPos + value.length + }; + } else { + argument[arg.name] = value; + } + } + } + pragmas.push({ name, args: { arguments: argument, range } }); + } else { + pragmas.push({ name, args: { arguments: {}, range } }); + } + return; + } + const singleLine = range.kind === 2 /* SingleLineCommentTrivia */ && singleLinePragmaRegEx.exec(text); + if (singleLine) { + return addPragmaForMatch(pragmas, range, 2 /* SingleLine */, singleLine); + } + if (range.kind === 3 /* MultiLineCommentTrivia */) { + const multiLinePragmaRegEx = /@(\S+)(\s+(?:\S.*)?)?$/gm; + let multiLineMatch; + while (multiLineMatch = multiLinePragmaRegEx.exec(text)) { + addPragmaForMatch(pragmas, range, 4 /* MultiLine */, multiLineMatch); + } + } +} +function addPragmaForMatch(pragmas, range, kind, match) { + if (!match) return; + const name = match[1].toLowerCase(); + const pragma = commentPragmas[name]; + if (!pragma || !(pragma.kind & kind)) { + return; + } + const args = match[2]; + const argument = getNamedPragmaArguments(pragma, args); + if (argument === "fail") return; + pragmas.push({ name, args: { arguments: argument, range } }); + return; +} +function getNamedPragmaArguments(pragma, text) { + if (!text) return {}; + if (!pragma.args) return {}; + const args = text.trim().split(/\s+/); + const argMap = {}; + for (let i = 0; i < pragma.args.length; i++) { + const argument = pragma.args[i]; + if (!args[i] && !argument.optional) { + return "fail"; + } + if (argument.captureSpan) { + return Debug.fail("Capture spans not yet implemented for non-xml pragmas"); + } + argMap[argument.name] = args[i]; + } + return argMap; +} +function tagNamesAreEquivalent(lhs, rhs) { + if (lhs.kind !== rhs.kind) { + return false; + } + if (lhs.kind === 80 /* Identifier */) { + return lhs.escapedText === rhs.escapedText; + } + if (lhs.kind === 110 /* ThisKeyword */) { + return true; + } + if (lhs.kind === 295 /* JsxNamespacedName */) { + return lhs.namespace.escapedText === rhs.namespace.escapedText && lhs.name.escapedText === rhs.name.escapedText; + } + return lhs.name.escapedText === rhs.name.escapedText && tagNamesAreEquivalent(lhs.expression, rhs.expression); +} + +// src/compiler/commandLineParser.ts +var compileOnSaveCommandLineOption = { + name: "compileOnSave", + type: "boolean", + defaultValueDescription: false +}; +var jsxOptionMap = new Map(Object.entries({ + "preserve": 1 /* Preserve */, + "react-native": 3 /* ReactNative */, + "react": 2 /* React */, + "react-jsx": 4 /* ReactJSX */, + "react-jsxdev": 5 /* ReactJSXDev */ +})); +var inverseJsxOptionMap = new Map(mapIterator(jsxOptionMap.entries(), ([key, value]) => ["" + value, key])); +var libEntries = [ + // JavaScript only + ["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"], + ["es2022", "lib.es2022.d.ts"], + ["es2023", "lib.es2023.d.ts"], + ["es2024", "lib.es2024.d.ts"], + ["esnext", "lib.esnext.d.ts"], + // Host only + ["dom", "lib.dom.d.ts"], + ["dom.iterable", "lib.dom.iterable.d.ts"], + ["dom.asynciterable", "lib.dom.asynciterable.d.ts"], + ["webworker", "lib.webworker.d.ts"], + ["webworker.importscripts", "lib.webworker.importscripts.d.ts"], + ["webworker.iterable", "lib.webworker.iterable.d.ts"], + ["webworker.asynciterable", "lib.webworker.asynciterable.d.ts"], + ["scripthost", "lib.scripthost.d.ts"], + // ES2015 Or ESNext By-feature options + ["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"], + ["es2016.intl", "lib.es2016.intl.d.ts"], + ["es2017.arraybuffer", "lib.es2017.arraybuffer.d.ts"], + ["es2017.date", "lib.es2017.date.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"], + ["es2019.intl", "lib.es2019.intl.d.ts"], + ["es2020.bigint", "lib.es2020.bigint.d.ts"], + ["es2020.date", "lib.es2020.date.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"], + ["es2020.number", "lib.es2020.number.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"], + ["es2022.array", "lib.es2022.array.d.ts"], + ["es2022.error", "lib.es2022.error.d.ts"], + ["es2022.intl", "lib.es2022.intl.d.ts"], + ["es2022.object", "lib.es2022.object.d.ts"], + ["es2022.string", "lib.es2022.string.d.ts"], + ["es2022.regexp", "lib.es2022.regexp.d.ts"], + ["es2023.array", "lib.es2023.array.d.ts"], + ["es2023.collection", "lib.es2023.collection.d.ts"], + ["es2023.intl", "lib.es2023.intl.d.ts"], + ["es2024.arraybuffer", "lib.es2024.arraybuffer.d.ts"], + ["es2024.collection", "lib.es2024.collection.d.ts"], + ["es2024.object", "lib.es2024.object.d.ts"], + ["es2024.promise", "lib.es2024.promise.d.ts"], + ["es2024.regexp", "lib.es2024.regexp.d.ts"], + ["es2024.sharedmemory", "lib.es2024.sharedmemory.d.ts"], + ["es2024.string", "lib.es2024.string.d.ts"], + ["esnext.array", "lib.es2023.array.d.ts"], + ["esnext.collection", "lib.esnext.collection.d.ts"], + ["esnext.symbol", "lib.es2019.symbol.d.ts"], + ["esnext.asynciterable", "lib.es2018.asynciterable.d.ts"], + ["esnext.intl", "lib.esnext.intl.d.ts"], + ["esnext.disposable", "lib.esnext.disposable.d.ts"], + ["esnext.bigint", "lib.es2020.bigint.d.ts"], + ["esnext.string", "lib.es2022.string.d.ts"], + ["esnext.promise", "lib.es2024.promise.d.ts"], + ["esnext.weakref", "lib.es2021.weakref.d.ts"], + ["esnext.decorators", "lib.esnext.decorators.d.ts"], + ["esnext.object", "lib.es2024.object.d.ts"], + ["esnext.array", "lib.esnext.array.d.ts"], + ["esnext.regexp", "lib.es2024.regexp.d.ts"], + ["esnext.string", "lib.es2024.string.d.ts"], + ["esnext.iterator", "lib.esnext.iterator.d.ts"], + ["decorators", "lib.decorators.d.ts"], + ["decorators.legacy", "lib.decorators.legacy.d.ts"] +]; +var libs = libEntries.map((entry) => entry[0]); +var libMap = new Map(libEntries); +var optionsForWatch = [ + { + name: "watchFile", + type: new Map(Object.entries({ + fixedpollinginterval: 0 /* FixedPollingInterval */, + prioritypollinginterval: 1 /* PriorityPollingInterval */, + dynamicprioritypolling: 2 /* DynamicPriorityPolling */, + fixedchunksizepolling: 3 /* FixedChunkSizePolling */, + usefsevents: 4 /* UseFsEvents */, + usefseventsonparentdirectory: 5 /* UseFsEventsOnParentDirectory */ + })), + category: Diagnostics.Watch_and_Build_Modes, + description: Diagnostics.Specify_how_the_TypeScript_watch_mode_works, + defaultValueDescription: 4 /* UseFsEvents */ + }, + { + name: "watchDirectory", + type: new Map(Object.entries({ + usefsevents: 0 /* UseFsEvents */, + fixedpollinginterval: 1 /* FixedPollingInterval */, + dynamicprioritypolling: 2 /* DynamicPriorityPolling */, + fixedchunksizepolling: 3 /* FixedChunkSizePolling */ + })), + category: Diagnostics.Watch_and_Build_Modes, + description: Diagnostics.Specify_how_directories_are_watched_on_systems_that_lack_recursive_file_watching_functionality, + defaultValueDescription: 0 /* UseFsEvents */ + }, + { + name: "fallbackPolling", + type: new Map(Object.entries({ + fixedinterval: 0 /* FixedInterval */, + priorityinterval: 1 /* PriorityInterval */, + dynamicpriority: 2 /* DynamicPriority */, + fixedchunksize: 3 /* FixedChunkSize */ + })), + category: Diagnostics.Watch_and_Build_Modes, + description: Diagnostics.Specify_what_approach_the_watcher_should_use_if_the_system_runs_out_of_native_file_watchers, + defaultValueDescription: 1 /* PriorityInterval */ + }, + { + name: "synchronousWatchDirectory", + type: "boolean", + category: Diagnostics.Watch_and_Build_Modes, + description: 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: true, + extraValidation: specToDiagnostic + }, + allowConfigDirTemplateSubstitution: true, + category: Diagnostics.Watch_and_Build_Modes, + description: Diagnostics.Remove_a_list_of_directories_from_the_watch_process + }, + { + name: "excludeFiles", + type: "list", + element: { + name: "excludeFile", + type: "string", + isFilePath: true, + extraValidation: specToDiagnostic + }, + allowConfigDirTemplateSubstitution: true, + category: Diagnostics.Watch_and_Build_Modes, + description: Diagnostics.Remove_a_list_of_files_from_the_watch_mode_s_processing + } +]; +var commonOptionsWithBuild = [ + { + name: "help", + shortName: "h", + type: "boolean", + showInSimplifiedHelpView: true, + isCommandLineOnly: true, + category: Diagnostics.Command_line_Options, + description: Diagnostics.Print_this_message, + defaultValueDescription: false + }, + { + name: "help", + shortName: "?", + type: "boolean", + isCommandLineOnly: true, + category: Diagnostics.Command_line_Options, + defaultValueDescription: false + }, + { + name: "watch", + shortName: "w", + type: "boolean", + showInSimplifiedHelpView: true, + isCommandLineOnly: true, + category: Diagnostics.Command_line_Options, + description: Diagnostics.Watch_input_files, + defaultValueDescription: false + }, + { + name: "preserveWatchOutput", + type: "boolean", + showInSimplifiedHelpView: false, + category: Diagnostics.Output_Formatting, + description: Diagnostics.Disable_wiping_the_console_in_watch_mode, + defaultValueDescription: false + }, + { + name: "listFiles", + type: "boolean", + category: Diagnostics.Compiler_Diagnostics, + description: Diagnostics.Print_all_of_the_files_read_during_the_compilation, + defaultValueDescription: false + }, + { + name: "explainFiles", + type: "boolean", + category: Diagnostics.Compiler_Diagnostics, + description: Diagnostics.Print_files_read_during_the_compilation_including_why_it_was_included, + defaultValueDescription: false + }, + { + name: "listEmittedFiles", + type: "boolean", + category: Diagnostics.Compiler_Diagnostics, + description: Diagnostics.Print_the_names_of_emitted_files_after_a_compilation, + defaultValueDescription: false + }, + { + name: "pretty", + type: "boolean", + showInSimplifiedHelpView: true, + category: Diagnostics.Output_Formatting, + description: Diagnostics.Enable_color_and_formatting_in_TypeScript_s_output_to_make_compiler_errors_easier_to_read, + defaultValueDescription: true + }, + { + name: "traceResolution", + type: "boolean", + category: Diagnostics.Compiler_Diagnostics, + description: Diagnostics.Log_paths_used_during_the_moduleResolution_process, + defaultValueDescription: false + }, + { + name: "diagnostics", + type: "boolean", + category: Diagnostics.Compiler_Diagnostics, + description: Diagnostics.Output_compiler_performance_information_after_building, + defaultValueDescription: false + }, + { + name: "extendedDiagnostics", + type: "boolean", + category: Diagnostics.Compiler_Diagnostics, + description: Diagnostics.Output_more_detailed_compiler_performance_information_after_building, + defaultValueDescription: false + }, + { + name: "generateCpuProfile", + type: "string", + isFilePath: true, + paramType: Diagnostics.FILE_OR_DIRECTORY, + category: Diagnostics.Compiler_Diagnostics, + description: Diagnostics.Emit_a_v8_CPU_profile_of_the_compiler_run_for_debugging, + defaultValueDescription: "profile.cpuprofile" + }, + { + name: "generateTrace", + type: "string", + isFilePath: true, + paramType: Diagnostics.DIRECTORY, + category: Diagnostics.Compiler_Diagnostics, + description: Diagnostics.Generates_an_event_trace_and_a_list_of_types + }, + { + name: "incremental", + shortName: "i", + type: "boolean", + category: Diagnostics.Projects, + description: Diagnostics.Save_tsbuildinfo_files_to_allow_for_incremental_compilation_of_projects, + transpileOptionValue: void 0, + defaultValueDescription: Diagnostics.false_unless_composite_is_set + }, + { + name: "declaration", + shortName: "d", + type: "boolean", + // Not setting affectsEmit because we calculate this flag might not affect full emit + affectsBuildInfo: true, + showInSimplifiedHelpView: true, + category: Diagnostics.Emit, + transpileOptionValue: void 0, + description: Diagnostics.Generate_d_ts_files_from_TypeScript_and_JavaScript_files_in_your_project, + defaultValueDescription: Diagnostics.false_unless_composite_is_set + }, + { + name: "declarationMap", + type: "boolean", + // Not setting affectsEmit because we calculate this flag might not affect full emit + affectsBuildInfo: true, + showInSimplifiedHelpView: true, + category: Diagnostics.Emit, + defaultValueDescription: false, + description: Diagnostics.Create_sourcemaps_for_d_ts_files + }, + { + name: "emitDeclarationOnly", + type: "boolean", + // Not setting affectsEmit because we calculate this flag might not affect full emit + affectsBuildInfo: true, + showInSimplifiedHelpView: true, + category: Diagnostics.Emit, + description: Diagnostics.Only_output_d_ts_files_and_not_JavaScript_files, + transpileOptionValue: void 0, + defaultValueDescription: false + }, + { + name: "sourceMap", + type: "boolean", + // Not setting affectsEmit because we calculate this flag might not affect full emit + affectsBuildInfo: true, + showInSimplifiedHelpView: true, + category: Diagnostics.Emit, + defaultValueDescription: false, + description: Diagnostics.Create_source_map_files_for_emitted_JavaScript_files + }, + { + name: "inlineSourceMap", + type: "boolean", + // Not setting affectsEmit because we calculate this flag might not affect full emit + affectsBuildInfo: true, + category: Diagnostics.Emit, + description: Diagnostics.Include_sourcemap_files_inside_the_emitted_JavaScript, + defaultValueDescription: false + }, + { + name: "noCheck", + type: "boolean", + showInSimplifiedHelpView: false, + category: Diagnostics.Compiler_Diagnostics, + description: Diagnostics.Disable_full_type_checking_only_critical_parse_and_emit_errors_will_be_reported, + transpileOptionValue: true, + defaultValueDescription: false + // Not setting affectsSemanticDiagnostics or affectsBuildInfo because we dont want all diagnostics to go away, its handled in builder + }, + { + name: "noEmit", + type: "boolean", + showInSimplifiedHelpView: true, + category: Diagnostics.Emit, + description: Diagnostics.Disable_emitting_files_from_a_compilation, + transpileOptionValue: void 0, + defaultValueDescription: false + }, + { + name: "assumeChangesOnlyAffectDirectDependencies", + type: "boolean", + affectsSemanticDiagnostics: true, + affectsEmit: true, + affectsBuildInfo: true, + category: Diagnostics.Watch_and_Build_Modes, + description: Diagnostics.Have_recompiles_in_projects_that_use_incremental_and_watch_mode_assume_that_changes_within_a_file_will_only_affect_files_directly_depending_on_it, + defaultValueDescription: false + }, + { + name: "locale", + type: "string", + category: Diagnostics.Command_line_Options, + isCommandLineOnly: true, + description: Diagnostics.Set_the_language_of_the_messaging_from_TypeScript_This_does_not_affect_emit, + defaultValueDescription: Diagnostics.Platform_specific + } +]; +var targetOptionDeclaration = { + name: "target", + shortName: "t", + type: new Map(Object.entries({ + es3: 0 /* ES3 */, + es5: 1 /* ES5 */, + es6: 2 /* ES2015 */, + es2015: 2 /* ES2015 */, + es2016: 3 /* ES2016 */, + es2017: 4 /* ES2017 */, + es2018: 5 /* ES2018 */, + es2019: 6 /* ES2019 */, + es2020: 7 /* ES2020 */, + es2021: 8 /* ES2021 */, + es2022: 9 /* ES2022 */, + es2023: 10 /* ES2023 */, + es2024: 11 /* ES2024 */, + esnext: 99 /* ESNext */ + })), + affectsSourceFile: true, + affectsModuleResolution: true, + affectsEmit: true, + affectsBuildInfo: true, + deprecatedKeys: /* @__PURE__ */ new Set(["es3"]), + paramType: Diagnostics.VERSION, + showInSimplifiedHelpView: true, + category: Diagnostics.Language_and_Environment, + description: Diagnostics.Set_the_JavaScript_language_version_for_emitted_JavaScript_and_include_compatible_library_declarations, + defaultValueDescription: 1 /* ES5 */ +}; +var moduleOptionDeclaration = { + name: "module", + shortName: "m", + type: new Map(Object.entries({ + none: 0 /* None */, + commonjs: 1 /* CommonJS */, + amd: 2 /* AMD */, + system: 4 /* System */, + umd: 3 /* UMD */, + es6: 5 /* ES2015 */, + es2015: 5 /* ES2015 */, + es2020: 6 /* ES2020 */, + es2022: 7 /* ES2022 */, + esnext: 99 /* ESNext */, + node16: 100 /* Node16 */, + nodenext: 199 /* NodeNext */, + preserve: 200 /* Preserve */ + })), + affectsSourceFile: true, + affectsModuleResolution: true, + affectsEmit: true, + affectsBuildInfo: true, + paramType: Diagnostics.KIND, + showInSimplifiedHelpView: true, + category: Diagnostics.Modules, + description: Diagnostics.Specify_what_module_code_is_generated, + defaultValueDescription: void 0 +}; +var commandOptionsWithoutBuild = [ + // CommandLine only options + { + name: "all", + type: "boolean", + showInSimplifiedHelpView: true, + category: Diagnostics.Command_line_Options, + description: Diagnostics.Show_all_compiler_options, + defaultValueDescription: false + }, + { + name: "version", + shortName: "v", + type: "boolean", + showInSimplifiedHelpView: true, + category: Diagnostics.Command_line_Options, + description: Diagnostics.Print_the_compiler_s_version, + defaultValueDescription: false + }, + { + name: "init", + type: "boolean", + showInSimplifiedHelpView: true, + category: Diagnostics.Command_line_Options, + description: Diagnostics.Initializes_a_TypeScript_project_and_creates_a_tsconfig_json_file, + defaultValueDescription: false + }, + { + name: "project", + shortName: "p", + type: "string", + isFilePath: true, + showInSimplifiedHelpView: true, + category: Diagnostics.Command_line_Options, + paramType: Diagnostics.FILE_OR_DIRECTORY, + description: Diagnostics.Compile_the_project_given_the_path_to_its_configuration_file_or_to_a_folder_with_a_tsconfig_json + }, + { + name: "showConfig", + type: "boolean", + showInSimplifiedHelpView: true, + category: Diagnostics.Command_line_Options, + isCommandLineOnly: true, + description: Diagnostics.Print_the_final_configuration_instead_of_building, + defaultValueDescription: false + }, + { + name: "listFilesOnly", + type: "boolean", + category: Diagnostics.Command_line_Options, + isCommandLineOnly: true, + description: Diagnostics.Print_names_of_files_that_are_part_of_the_compilation_and_then_stop_processing, + defaultValueDescription: false + }, + // Basic + targetOptionDeclaration, + moduleOptionDeclaration, + { + name: "lib", + type: "list", + element: { + name: "lib", + type: libMap, + defaultValueDescription: void 0 + }, + affectsProgramStructure: true, + showInSimplifiedHelpView: true, + category: Diagnostics.Language_and_Environment, + description: Diagnostics.Specify_a_set_of_bundled_library_declaration_files_that_describe_the_target_runtime_environment, + transpileOptionValue: void 0 + }, + { + name: "allowJs", + type: "boolean", + allowJsFlag: true, + affectsBuildInfo: true, + showInSimplifiedHelpView: true, + category: Diagnostics.JavaScript_Support, + description: 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", + affectsModuleResolution: true, + affectsSemanticDiagnostics: true, + affectsBuildInfo: true, + showInSimplifiedHelpView: true, + category: Diagnostics.JavaScript_Support, + description: Diagnostics.Enable_error_reporting_in_type_checked_JavaScript_files, + defaultValueDescription: false + }, + { + name: "jsx", + type: jsxOptionMap, + affectsSourceFile: true, + affectsEmit: true, + affectsBuildInfo: true, + affectsModuleResolution: true, + // The checker emits an error when it sees JSX but this option is not set in compilerOptions. + // This is effectively a semantic error, so mark this option as affecting semantic diagnostics + // so we know to refresh errors when this option is changed. + affectsSemanticDiagnostics: true, + paramType: Diagnostics.KIND, + showInSimplifiedHelpView: true, + category: Diagnostics.Language_and_Environment, + description: Diagnostics.Specify_what_JSX_code_is_generated, + defaultValueDescription: void 0 + }, + { + name: "outFile", + type: "string", + affectsEmit: true, + affectsBuildInfo: true, + affectsDeclarationPath: true, + isFilePath: true, + paramType: Diagnostics.FILE, + showInSimplifiedHelpView: true, + category: Diagnostics.Emit, + description: Diagnostics.Specify_a_file_that_bundles_all_outputs_into_one_JavaScript_file_If_declaration_is_true_also_designates_a_file_that_bundles_all_d_ts_output, + transpileOptionValue: void 0 + }, + { + name: "outDir", + type: "string", + affectsEmit: true, + affectsBuildInfo: true, + affectsDeclarationPath: true, + isFilePath: true, + paramType: Diagnostics.DIRECTORY, + showInSimplifiedHelpView: true, + category: Diagnostics.Emit, + description: Diagnostics.Specify_an_output_folder_for_all_emitted_files + }, + { + name: "rootDir", + type: "string", + affectsEmit: true, + affectsBuildInfo: true, + affectsDeclarationPath: true, + isFilePath: true, + paramType: Diagnostics.LOCATION, + category: Diagnostics.Modules, + description: Diagnostics.Specify_the_root_folder_within_your_source_files, + defaultValueDescription: Diagnostics.Computed_from_the_list_of_input_files + }, + { + name: "composite", + type: "boolean", + // Not setting affectsEmit because we calculate this flag might not affect full emit + affectsBuildInfo: true, + isTSConfigOnly: true, + category: Diagnostics.Projects, + transpileOptionValue: void 0, + defaultValueDescription: false, + description: Diagnostics.Enable_constraints_that_allow_a_TypeScript_project_to_be_used_with_project_references + }, + { + name: "tsBuildInfoFile", + type: "string", + affectsEmit: true, + affectsBuildInfo: true, + isFilePath: true, + paramType: Diagnostics.FILE, + category: Diagnostics.Projects, + transpileOptionValue: void 0, + defaultValueDescription: ".tsbuildinfo", + description: Diagnostics.Specify_the_path_to_tsbuildinfo_incremental_compilation_file + }, + { + name: "removeComments", + type: "boolean", + affectsEmit: true, + affectsBuildInfo: true, + showInSimplifiedHelpView: true, + category: Diagnostics.Emit, + defaultValueDescription: false, + description: Diagnostics.Disable_emitting_comments + }, + { + name: "importHelpers", + type: "boolean", + affectsEmit: true, + affectsBuildInfo: true, + affectsSourceFile: true, + category: Diagnostics.Emit, + description: Diagnostics.Allow_importing_helper_functions_from_tslib_once_per_project_instead_of_including_them_per_file, + defaultValueDescription: false + }, + { + name: "importsNotUsedAsValues", + type: new Map(Object.entries({ + remove: 0 /* Remove */, + preserve: 1 /* Preserve */, + error: 2 /* Error */ + })), + affectsEmit: true, + affectsSemanticDiagnostics: true, + affectsBuildInfo: true, + category: Diagnostics.Backwards_Compatibility, + description: Diagnostics.Specify_emit_Slashchecking_behavior_for_imports_that_are_only_used_for_types, + defaultValueDescription: 0 /* Remove */ + }, + { + name: "downlevelIteration", + type: "boolean", + affectsEmit: true, + affectsBuildInfo: true, + category: Diagnostics.Emit, + description: Diagnostics.Emit_more_compliant_but_verbose_and_less_performant_JavaScript_for_iteration, + defaultValueDescription: false + }, + { + name: "isolatedModules", + type: "boolean", + category: Diagnostics.Interop_Constraints, + description: Diagnostics.Ensure_that_each_file_can_be_safely_transpiled_without_relying_on_other_imports, + transpileOptionValue: true, + defaultValueDescription: false + }, + { + name: "verbatimModuleSyntax", + type: "boolean", + affectsEmit: true, + affectsSemanticDiagnostics: true, + affectsBuildInfo: true, + category: Diagnostics.Interop_Constraints, + description: Diagnostics.Do_not_transform_or_elide_any_imports_or_exports_not_marked_as_type_only_ensuring_they_are_written_in_the_output_file_s_format_based_on_the_module_setting, + defaultValueDescription: false + }, + { + name: "isolatedDeclarations", + type: "boolean", + category: Diagnostics.Interop_Constraints, + description: Diagnostics.Require_sufficient_annotation_on_exports_so_other_tools_can_trivially_generate_declaration_files, + defaultValueDescription: false, + affectsBuildInfo: true, + affectsSemanticDiagnostics: true + }, + // Strict Type Checks + { + name: "strict", + type: "boolean", + // Though this affects semantic diagnostics, affectsSemanticDiagnostics is not set here + // The value of each strictFlag depends on own strictFlag value or this and never accessed directly. + // But we need to store `strict` in builf info, even though it won't be examined directly, so that the + // flags it controls (e.g. `strictNullChecks`) will be retrieved correctly + affectsBuildInfo: true, + showInSimplifiedHelpView: true, + category: Diagnostics.Type_Checking, + description: Diagnostics.Enable_all_strict_type_checking_options, + defaultValueDescription: false + }, + { + name: "noImplicitAny", + type: "boolean", + affectsSemanticDiagnostics: true, + affectsBuildInfo: true, + strictFlag: true, + category: Diagnostics.Type_Checking, + description: Diagnostics.Enable_error_reporting_for_expressions_and_declarations_with_an_implied_any_type, + defaultValueDescription: Diagnostics.false_unless_strict_is_set + }, + { + name: "strictNullChecks", + type: "boolean", + affectsSemanticDiagnostics: true, + affectsBuildInfo: true, + strictFlag: true, + category: Diagnostics.Type_Checking, + description: Diagnostics.When_type_checking_take_into_account_null_and_undefined, + defaultValueDescription: Diagnostics.false_unless_strict_is_set + }, + { + name: "strictFunctionTypes", + type: "boolean", + affectsSemanticDiagnostics: true, + affectsBuildInfo: true, + strictFlag: true, + category: Diagnostics.Type_Checking, + description: Diagnostics.When_assigning_functions_check_to_ensure_parameters_and_the_return_values_are_subtype_compatible, + defaultValueDescription: Diagnostics.false_unless_strict_is_set + }, + { + name: "strictBindCallApply", + type: "boolean", + affectsSemanticDiagnostics: true, + affectsBuildInfo: true, + strictFlag: true, + category: Diagnostics.Type_Checking, + description: Diagnostics.Check_that_the_arguments_for_bind_call_and_apply_methods_match_the_original_function, + defaultValueDescription: Diagnostics.false_unless_strict_is_set + }, + { + name: "strictPropertyInitialization", + type: "boolean", + affectsSemanticDiagnostics: true, + affectsBuildInfo: true, + strictFlag: true, + category: Diagnostics.Type_Checking, + description: Diagnostics.Check_for_class_properties_that_are_declared_but_not_set_in_the_constructor, + defaultValueDescription: Diagnostics.false_unless_strict_is_set + }, + { + name: "strictBuiltinIteratorReturn", + type: "boolean", + affectsSemanticDiagnostics: true, + affectsBuildInfo: true, + strictFlag: true, + category: Diagnostics.Type_Checking, + description: Diagnostics.Built_in_iterators_are_instantiated_with_a_TReturn_type_of_undefined_instead_of_any, + defaultValueDescription: Diagnostics.false_unless_strict_is_set + }, + { + name: "noImplicitThis", + type: "boolean", + affectsSemanticDiagnostics: true, + affectsBuildInfo: true, + strictFlag: true, + category: Diagnostics.Type_Checking, + description: Diagnostics.Enable_error_reporting_when_this_is_given_the_type_any, + defaultValueDescription: Diagnostics.false_unless_strict_is_set + }, + { + name: "useUnknownInCatchVariables", + type: "boolean", + affectsSemanticDiagnostics: true, + affectsBuildInfo: true, + strictFlag: true, + category: Diagnostics.Type_Checking, + description: Diagnostics.Default_catch_clause_variables_as_unknown_instead_of_any, + defaultValueDescription: Diagnostics.false_unless_strict_is_set + }, + { + name: "alwaysStrict", + type: "boolean", + affectsSourceFile: true, + affectsEmit: true, + affectsBuildInfo: true, + strictFlag: true, + category: Diagnostics.Type_Checking, + description: Diagnostics.Ensure_use_strict_is_always_emitted, + defaultValueDescription: Diagnostics.false_unless_strict_is_set + }, + // Additional Checks + { + name: "noUnusedLocals", + type: "boolean", + affectsSemanticDiagnostics: true, + affectsBuildInfo: true, + category: Diagnostics.Type_Checking, + description: Diagnostics.Enable_error_reporting_when_local_variables_aren_t_read, + defaultValueDescription: false + }, + { + name: "noUnusedParameters", + type: "boolean", + affectsSemanticDiagnostics: true, + affectsBuildInfo: true, + category: Diagnostics.Type_Checking, + description: Diagnostics.Raise_an_error_when_a_function_parameter_isn_t_read, + defaultValueDescription: false + }, + { + name: "exactOptionalPropertyTypes", + type: "boolean", + affectsSemanticDiagnostics: true, + affectsBuildInfo: true, + category: Diagnostics.Type_Checking, + description: Diagnostics.Interpret_optional_property_types_as_written_rather_than_adding_undefined, + defaultValueDescription: false + }, + { + name: "noImplicitReturns", + type: "boolean", + affectsSemanticDiagnostics: true, + affectsBuildInfo: true, + category: Diagnostics.Type_Checking, + description: Diagnostics.Enable_error_reporting_for_codepaths_that_do_not_explicitly_return_in_a_function, + defaultValueDescription: false + }, + { + name: "noFallthroughCasesInSwitch", + type: "boolean", + affectsBindDiagnostics: true, + affectsSemanticDiagnostics: true, + affectsBuildInfo: true, + category: Diagnostics.Type_Checking, + description: Diagnostics.Enable_error_reporting_for_fallthrough_cases_in_switch_statements, + defaultValueDescription: false + }, + { + name: "noUncheckedIndexedAccess", + type: "boolean", + affectsSemanticDiagnostics: true, + affectsBuildInfo: true, + category: Diagnostics.Type_Checking, + description: Diagnostics.Add_undefined_to_a_type_when_accessed_using_an_index, + defaultValueDescription: false + }, + { + name: "noImplicitOverride", + type: "boolean", + affectsSemanticDiagnostics: true, + affectsBuildInfo: true, + category: Diagnostics.Type_Checking, + description: Diagnostics.Ensure_overriding_members_in_derived_classes_are_marked_with_an_override_modifier, + defaultValueDescription: false + }, + { + name: "noPropertyAccessFromIndexSignature", + type: "boolean", + affectsSemanticDiagnostics: true, + affectsBuildInfo: true, + showInSimplifiedHelpView: false, + category: Diagnostics.Type_Checking, + description: Diagnostics.Enforces_using_indexed_accessors_for_keys_declared_using_an_indexed_type, + defaultValueDescription: false + }, + // Module Resolution + { + name: "moduleResolution", + type: new Map(Object.entries({ + // N.B. The first entry specifies the value shown in `tsc --init` + node10: 2 /* Node10 */, + node: 2 /* Node10 */, + classic: 1 /* Classic */, + node16: 3 /* Node16 */, + nodenext: 99 /* NodeNext */, + bundler: 100 /* Bundler */ + })), + deprecatedKeys: /* @__PURE__ */ new Set(["node"]), + affectsSourceFile: true, + affectsModuleResolution: true, + paramType: Diagnostics.STRATEGY, + category: Diagnostics.Modules, + description: Diagnostics.Specify_how_TypeScript_looks_up_a_file_from_a_given_module_specifier, + defaultValueDescription: Diagnostics.module_AMD_or_UMD_or_System_or_ES6_then_Classic_Otherwise_Node + }, + { + name: "baseUrl", + type: "string", + affectsModuleResolution: true, + isFilePath: true, + category: Diagnostics.Modules, + description: Diagnostics.Specify_the_base_directory_to_resolve_non_relative_module_names + }, + { + // this option can only be specified in tsconfig.json + // use type = object to copy the value as-is + name: "paths", + type: "object", + affectsModuleResolution: true, + allowConfigDirTemplateSubstitution: true, + isTSConfigOnly: true, + category: Diagnostics.Modules, + description: Diagnostics.Specify_a_set_of_entries_that_re_map_imports_to_additional_lookup_locations, + transpileOptionValue: void 0 + }, + { + // this option can only be specified in tsconfig.json + // use type = object to copy the value as-is + name: "rootDirs", + type: "list", + isTSConfigOnly: true, + element: { + name: "rootDirs", + type: "string", + isFilePath: true + }, + affectsModuleResolution: true, + allowConfigDirTemplateSubstitution: true, + category: Diagnostics.Modules, + description: Diagnostics.Allow_multiple_folders_to_be_treated_as_one_when_resolving_modules, + transpileOptionValue: void 0, + defaultValueDescription: Diagnostics.Computed_from_the_list_of_input_files + }, + { + name: "typeRoots", + type: "list", + element: { + name: "typeRoots", + type: "string", + isFilePath: true + }, + affectsModuleResolution: true, + allowConfigDirTemplateSubstitution: true, + category: Diagnostics.Modules, + description: Diagnostics.Specify_multiple_folders_that_act_like_Slashnode_modules_Slash_types + }, + { + name: "types", + type: "list", + element: { + name: "types", + type: "string" + }, + affectsProgramStructure: true, + showInSimplifiedHelpView: true, + category: Diagnostics.Modules, + description: Diagnostics.Specify_type_package_names_to_be_included_without_being_referenced_in_a_source_file, + transpileOptionValue: void 0 + }, + { + name: "allowSyntheticDefaultImports", + type: "boolean", + affectsSemanticDiagnostics: true, + affectsBuildInfo: true, + category: Diagnostics.Interop_Constraints, + description: Diagnostics.Allow_import_x_from_y_when_a_module_doesn_t_have_a_default_export, + defaultValueDescription: Diagnostics.module_system_or_esModuleInterop + }, + { + name: "esModuleInterop", + type: "boolean", + affectsSemanticDiagnostics: true, + affectsEmit: true, + affectsBuildInfo: true, + showInSimplifiedHelpView: true, + category: Diagnostics.Interop_Constraints, + description: Diagnostics.Emit_additional_JavaScript_to_ease_support_for_importing_CommonJS_modules_This_enables_allowSyntheticDefaultImports_for_type_compatibility, + defaultValueDescription: false + }, + { + name: "preserveSymlinks", + type: "boolean", + category: Diagnostics.Interop_Constraints, + description: Diagnostics.Disable_resolving_symlinks_to_their_realpath_This_correlates_to_the_same_flag_in_node, + defaultValueDescription: false + }, + { + name: "allowUmdGlobalAccess", + type: "boolean", + affectsSemanticDiagnostics: true, + affectsBuildInfo: true, + category: Diagnostics.Modules, + description: Diagnostics.Allow_accessing_UMD_globals_from_modules, + defaultValueDescription: false + }, + { + name: "moduleSuffixes", + type: "list", + element: { + name: "suffix", + type: "string" + }, + listPreserveFalsyValues: true, + affectsModuleResolution: true, + category: Diagnostics.Modules, + description: Diagnostics.List_of_file_name_suffixes_to_search_when_resolving_a_module + }, + { + name: "allowImportingTsExtensions", + type: "boolean", + affectsSemanticDiagnostics: true, + affectsBuildInfo: true, + category: Diagnostics.Modules, + description: Diagnostics.Allow_imports_to_include_TypeScript_file_extensions_Requires_moduleResolution_bundler_and_either_noEmit_or_emitDeclarationOnly_to_be_set, + defaultValueDescription: false, + transpileOptionValue: void 0 + }, + { + name: "rewriteRelativeImportExtensions", + type: "boolean", + affectsSemanticDiagnostics: true, + affectsBuildInfo: true, + category: Diagnostics.Modules, + description: Diagnostics.Rewrite_ts_tsx_mts_and_cts_file_extensions_in_relative_import_paths_to_their_JavaScript_equivalent_in_output_files, + defaultValueDescription: false + }, + { + name: "resolvePackageJsonExports", + type: "boolean", + affectsModuleResolution: true, + category: Diagnostics.Modules, + description: Diagnostics.Use_the_package_json_exports_field_when_resolving_package_imports, + defaultValueDescription: Diagnostics.true_when_moduleResolution_is_node16_nodenext_or_bundler_otherwise_false + }, + { + name: "resolvePackageJsonImports", + type: "boolean", + affectsModuleResolution: true, + category: Diagnostics.Modules, + description: Diagnostics.Use_the_package_json_imports_field_when_resolving_imports, + defaultValueDescription: Diagnostics.true_when_moduleResolution_is_node16_nodenext_or_bundler_otherwise_false + }, + { + name: "customConditions", + type: "list", + element: { + name: "condition", + type: "string" + }, + affectsModuleResolution: true, + category: Diagnostics.Modules, + description: Diagnostics.Conditions_to_set_in_addition_to_the_resolver_specific_defaults_when_resolving_imports + }, + { + name: "noUncheckedSideEffectImports", + type: "boolean", + affectsSemanticDiagnostics: true, + affectsBuildInfo: true, + category: Diagnostics.Modules, + description: Diagnostics.Check_side_effect_imports, + defaultValueDescription: false + }, + // Source Maps + { + name: "sourceRoot", + type: "string", + affectsEmit: true, + affectsBuildInfo: true, + paramType: Diagnostics.LOCATION, + category: Diagnostics.Emit, + description: Diagnostics.Specify_the_root_path_for_debuggers_to_find_the_reference_source_code + }, + { + name: "mapRoot", + type: "string", + affectsEmit: true, + affectsBuildInfo: true, + paramType: Diagnostics.LOCATION, + category: Diagnostics.Emit, + description: Diagnostics.Specify_the_location_where_debugger_should_locate_map_files_instead_of_generated_locations + }, + { + name: "inlineSources", + type: "boolean", + affectsEmit: true, + affectsBuildInfo: true, + category: Diagnostics.Emit, + description: Diagnostics.Include_source_code_in_the_sourcemaps_inside_the_emitted_JavaScript, + defaultValueDescription: false + }, + // Experimental + { + name: "experimentalDecorators", + type: "boolean", + affectsEmit: true, + affectsSemanticDiagnostics: true, + affectsBuildInfo: true, + category: Diagnostics.Language_and_Environment, + description: Diagnostics.Enable_experimental_support_for_legacy_experimental_decorators, + defaultValueDescription: false + }, + { + name: "emitDecoratorMetadata", + type: "boolean", + affectsSemanticDiagnostics: true, + affectsEmit: true, + affectsBuildInfo: true, + category: Diagnostics.Language_and_Environment, + description: Diagnostics.Emit_design_type_metadata_for_decorated_declarations_in_source_files, + defaultValueDescription: false + }, + // Advanced + { + name: "jsxFactory", + type: "string", + category: Diagnostics.Language_and_Environment, + description: 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: Diagnostics.Language_and_Environment, + description: Diagnostics.Specify_the_JSX_Fragment_reference_used_for_fragments_when_targeting_React_JSX_emit_e_g_React_Fragment_or_Fragment, + defaultValueDescription: "React.Fragment" + }, + { + name: "jsxImportSource", + type: "string", + affectsSemanticDiagnostics: true, + affectsEmit: true, + affectsBuildInfo: true, + affectsModuleResolution: true, + affectsSourceFile: true, + category: Diagnostics.Language_and_Environment, + description: 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: true, + category: Diagnostics.Modules, + description: Diagnostics.Enable_importing_json_files, + defaultValueDescription: false + }, + { + name: "allowArbitraryExtensions", + type: "boolean", + affectsProgramStructure: true, + category: Diagnostics.Modules, + description: Diagnostics.Enable_importing_files_with_any_extension_provided_a_declaration_file_is_present, + defaultValueDescription: false + }, + { + name: "out", + type: "string", + affectsEmit: true, + affectsBuildInfo: true, + affectsDeclarationPath: true, + isFilePath: false, + // This is intentionally broken to support compatibility with existing tsconfig files + // for correct behaviour, please use outFile + category: Diagnostics.Backwards_Compatibility, + paramType: Diagnostics.FILE, + transpileOptionValue: void 0, + description: Diagnostics.Deprecated_setting_Use_outFile_instead + }, + { + name: "reactNamespace", + type: "string", + affectsEmit: true, + affectsBuildInfo: true, + category: Diagnostics.Language_and_Environment, + description: Diagnostics.Specify_the_object_invoked_for_createElement_This_only_applies_when_targeting_react_JSX_emit, + defaultValueDescription: "`React`" + }, + { + name: "skipDefaultLibCheck", + type: "boolean", + // We need to store these to determine whether `lib` files need to be rechecked + affectsBuildInfo: true, + category: Diagnostics.Completeness, + description: Diagnostics.Skip_type_checking_d_ts_files_that_are_included_with_TypeScript, + defaultValueDescription: false + }, + { + name: "charset", + type: "string", + category: Diagnostics.Backwards_Compatibility, + description: Diagnostics.No_longer_supported_In_early_versions_manually_set_the_text_encoding_for_reading_files, + defaultValueDescription: "utf8" + }, + { + name: "emitBOM", + type: "boolean", + affectsEmit: true, + affectsBuildInfo: true, + category: Diagnostics.Emit, + description: Diagnostics.Emit_a_UTF_8_Byte_Order_Mark_BOM_in_the_beginning_of_output_files, + defaultValueDescription: false + }, + { + name: "newLine", + type: new Map(Object.entries({ + crlf: 0 /* CarriageReturnLineFeed */, + lf: 1 /* LineFeed */ + })), + affectsEmit: true, + affectsBuildInfo: true, + paramType: Diagnostics.NEWLINE, + category: Diagnostics.Emit, + description: Diagnostics.Set_the_newline_character_for_emitting_files, + defaultValueDescription: "lf" + }, + { + name: "noErrorTruncation", + type: "boolean", + affectsSemanticDiagnostics: true, + affectsBuildInfo: true, + category: Diagnostics.Output_Formatting, + description: Diagnostics.Disable_truncating_types_in_error_messages, + defaultValueDescription: false + }, + { + name: "noLib", + type: "boolean", + category: Diagnostics.Language_and_Environment, + affectsProgramStructure: true, + description: Diagnostics.Disable_including_any_library_files_including_the_default_lib_d_ts, + // We are not returning a sourceFile for lib file when asked by the program, + // so pass --noLib to avoid reporting a file not found error. + transpileOptionValue: true, + defaultValueDescription: false + }, + { + name: "noResolve", + type: "boolean", + affectsModuleResolution: true, + category: Diagnostics.Modules, + description: Diagnostics.Disallow_import_s_require_s_or_reference_s_from_expanding_the_number_of_files_TypeScript_should_add_to_a_project, + // We are not doing a full typecheck, we are not resolving the whole context, + // so pass --noResolve to avoid reporting missing file errors. + transpileOptionValue: true, + defaultValueDescription: false + }, + { + name: "stripInternal", + type: "boolean", + affectsEmit: true, + affectsBuildInfo: true, + category: Diagnostics.Emit, + description: Diagnostics.Disable_emitting_declarations_that_have_internal_in_their_JSDoc_comments, + defaultValueDescription: false + }, + { + name: "disableSizeLimit", + type: "boolean", + affectsProgramStructure: true, + category: Diagnostics.Editor_Support, + description: 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: true, + category: Diagnostics.Projects, + description: Diagnostics.Disable_preferring_source_files_instead_of_declaration_files_when_referencing_composite_projects, + defaultValueDescription: false + }, + { + name: "disableSolutionSearching", + type: "boolean", + isTSConfigOnly: true, + category: Diagnostics.Projects, + description: Diagnostics.Opt_a_project_out_of_multi_project_reference_checking_when_editing, + defaultValueDescription: false + }, + { + name: "disableReferencedProjectLoad", + type: "boolean", + isTSConfigOnly: true, + category: Diagnostics.Projects, + description: Diagnostics.Reduce_the_number_of_projects_loaded_automatically_by_TypeScript, + defaultValueDescription: false + }, + { + name: "noImplicitUseStrict", + type: "boolean", + affectsSemanticDiagnostics: true, + affectsBuildInfo: true, + category: Diagnostics.Backwards_Compatibility, + description: Diagnostics.Disable_adding_use_strict_directives_in_emitted_JavaScript_files, + defaultValueDescription: false + }, + { + name: "noEmitHelpers", + type: "boolean", + affectsEmit: true, + affectsBuildInfo: true, + category: Diagnostics.Emit, + description: Diagnostics.Disable_generating_custom_helper_functions_like_extends_in_compiled_output, + defaultValueDescription: false + }, + { + name: "noEmitOnError", + type: "boolean", + affectsEmit: true, + affectsBuildInfo: true, + category: Diagnostics.Emit, + transpileOptionValue: void 0, + description: Diagnostics.Disable_emitting_files_if_any_type_checking_errors_are_reported, + defaultValueDescription: false + }, + { + name: "preserveConstEnums", + type: "boolean", + affectsEmit: true, + affectsBuildInfo: true, + category: Diagnostics.Emit, + description: Diagnostics.Disable_erasing_const_enum_declarations_in_generated_code, + defaultValueDescription: false + }, + { + name: "declarationDir", + type: "string", + affectsEmit: true, + affectsBuildInfo: true, + affectsDeclarationPath: true, + isFilePath: true, + paramType: Diagnostics.DIRECTORY, + category: Diagnostics.Emit, + transpileOptionValue: void 0, + description: Diagnostics.Specify_the_output_directory_for_generated_declaration_files + }, + { + name: "skipLibCheck", + type: "boolean", + // We need to store these to determine whether `lib` files need to be rechecked + affectsBuildInfo: true, + category: Diagnostics.Completeness, + description: Diagnostics.Skip_type_checking_all_d_ts_files, + defaultValueDescription: false + }, + { + name: "allowUnusedLabels", + type: "boolean", + affectsBindDiagnostics: true, + affectsSemanticDiagnostics: true, + affectsBuildInfo: true, + category: Diagnostics.Type_Checking, + description: Diagnostics.Disable_error_reporting_for_unused_labels, + defaultValueDescription: void 0 + }, + { + name: "allowUnreachableCode", + type: "boolean", + affectsBindDiagnostics: true, + affectsSemanticDiagnostics: true, + affectsBuildInfo: true, + category: Diagnostics.Type_Checking, + description: Diagnostics.Disable_error_reporting_for_unreachable_code, + defaultValueDescription: void 0 + }, + { + name: "suppressExcessPropertyErrors", + type: "boolean", + affectsSemanticDiagnostics: true, + affectsBuildInfo: true, + category: Diagnostics.Backwards_Compatibility, + description: Diagnostics.Disable_reporting_of_excess_property_errors_during_the_creation_of_object_literals, + defaultValueDescription: false + }, + { + name: "suppressImplicitAnyIndexErrors", + type: "boolean", + affectsSemanticDiagnostics: true, + affectsBuildInfo: true, + category: Diagnostics.Backwards_Compatibility, + description: Diagnostics.Suppress_noImplicitAny_errors_when_indexing_objects_that_lack_index_signatures, + defaultValueDescription: false + }, + { + name: "forceConsistentCasingInFileNames", + type: "boolean", + affectsModuleResolution: true, + category: Diagnostics.Interop_Constraints, + description: Diagnostics.Ensure_that_casing_is_correct_in_imports, + defaultValueDescription: true + }, + { + name: "maxNodeModuleJsDepth", + type: "number", + affectsModuleResolution: true, + category: Diagnostics.JavaScript_Support, + description: 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: true, + affectsBuildInfo: true, + category: Diagnostics.Backwards_Compatibility, + description: Diagnostics.Disable_strict_checking_of_generic_signatures_in_function_types, + defaultValueDescription: false + }, + { + name: "useDefineForClassFields", + type: "boolean", + affectsSemanticDiagnostics: true, + affectsEmit: true, + affectsBuildInfo: true, + category: Diagnostics.Language_and_Environment, + description: Diagnostics.Emit_ECMAScript_standard_compliant_class_fields, + defaultValueDescription: Diagnostics.true_for_ES2022_and_above_including_ESNext + }, + { + name: "preserveValueImports", + type: "boolean", + affectsEmit: true, + affectsBuildInfo: true, + category: Diagnostics.Backwards_Compatibility, + description: Diagnostics.Preserve_unused_imported_values_in_the_JavaScript_output_that_would_otherwise_be_removed, + defaultValueDescription: false + }, + { + name: "keyofStringsOnly", + type: "boolean", + category: Diagnostics.Backwards_Compatibility, + description: Diagnostics.Make_keyof_only_return_strings_instead_of_string_numbers_or_symbols_Legacy_option, + defaultValueDescription: false + }, + { + // A list of plugins to load in the language service + name: "plugins", + type: "list", + isTSConfigOnly: true, + element: { + name: "plugin", + type: "object" + }, + description: Diagnostics.Specify_a_list_of_language_service_plugins_to_include, + category: Diagnostics.Editor_Support + }, + { + name: "moduleDetection", + type: new Map(Object.entries({ + auto: 2 /* Auto */, + legacy: 1 /* Legacy */, + force: 3 /* Force */ + })), + affectsSourceFile: true, + affectsModuleResolution: true, + description: Diagnostics.Control_what_method_is_used_to_detect_module_format_JS_files, + category: Diagnostics.Language_and_Environment, + defaultValueDescription: Diagnostics.auto_Colon_Treat_files_with_imports_exports_import_meta_jsx_with_jsx_Colon_react_jsx_or_esm_format_with_module_Colon_node16_as_modules + }, + { + name: "ignoreDeprecations", + type: "string", + defaultValueDescription: void 0 + } +]; +var optionDeclarations = [ + ...commonOptionsWithBuild, + ...commandOptionsWithoutBuild +]; +var semanticDiagnosticsOptionDeclarations = optionDeclarations.filter((option) => !!option.affectsSemanticDiagnostics); +var affectsEmitOptionDeclarations = optionDeclarations.filter((option) => !!option.affectsEmit); +var affectsDeclarationPathOptionDeclarations = optionDeclarations.filter((option) => !!option.affectsDeclarationPath); +var moduleResolutionOptionDeclarations = optionDeclarations.filter((option) => !!option.affectsModuleResolution); +var sourceFileAffectingCompilerOptions = optionDeclarations.filter((option) => !!option.affectsSourceFile || !!option.affectsBindDiagnostics); +var optionsAffectingProgramStructure = optionDeclarations.filter((option) => !!option.affectsProgramStructure); +var transpileOptionValueCompilerOptions = optionDeclarations.filter((option) => hasProperty(option, "transpileOptionValue")); +var configDirTemplateSubstitutionOptions = optionDeclarations.filter( + (option) => option.allowConfigDirTemplateSubstitution || !option.isCommandLineOnly && option.isFilePath +); +var configDirTemplateSubstitutionWatchOptions = optionsForWatch.filter( + (option) => option.allowConfigDirTemplateSubstitution || !option.isCommandLineOnly && option.isFilePath +); +var commandLineOptionOfCustomType = optionDeclarations.filter(isCommandLineOptionOfCustomType); +function isCommandLineOptionOfCustomType(option) { + return !isString(option.type); +} +var tscBuildOption = { + name: "build", + type: "boolean", + shortName: "b", + showInSimplifiedHelpView: true, + category: Diagnostics.Command_line_Options, + description: Diagnostics.Build_one_or_more_projects_and_their_dependencies_if_out_of_date, + defaultValueDescription: false +}; +var optionsForBuild = [ + tscBuildOption, + { + name: "verbose", + shortName: "v", + category: Diagnostics.Command_line_Options, + description: Diagnostics.Enable_verbose_logging, + type: "boolean", + defaultValueDescription: false + }, + { + name: "dry", + shortName: "d", + category: Diagnostics.Command_line_Options, + description: Diagnostics.Show_what_would_be_built_or_deleted_if_specified_with_clean, + type: "boolean", + defaultValueDescription: false + }, + { + name: "force", + shortName: "f", + category: Diagnostics.Command_line_Options, + description: Diagnostics.Build_all_projects_including_those_that_appear_to_be_up_to_date, + type: "boolean", + defaultValueDescription: false + }, + { + name: "clean", + category: Diagnostics.Command_line_Options, + description: Diagnostics.Delete_the_outputs_of_all_projects, + type: "boolean", + defaultValueDescription: false + }, + { + name: "stopBuildOnErrors", + category: Diagnostics.Command_line_Options, + description: Diagnostics.Skip_building_downstream_projects_on_error_in_upstream_project, + type: "boolean", + defaultValueDescription: false + } +]; +var buildOpts = [ + ...commonOptionsWithBuild, + ...optionsForBuild +]; +var typeAcquisitionDeclarations = [ + { + 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 createOptionNameMap(optionDeclarations2) { + const optionsNameMap = /* @__PURE__ */ new Map(); + const shortOptionNames = /* @__PURE__ */ new Map(); + forEach(optionDeclarations2, (option) => { + optionsNameMap.set(option.name.toLowerCase(), option); + if (option.shortName) { + shortOptionNames.set(option.shortName, option.name); + } + }); + return { optionsNameMap, shortOptionNames }; +} +var optionsNameMapCache; +function getOptionsNameMap() { + return optionsNameMapCache || (optionsNameMapCache = createOptionNameMap(optionDeclarations)); +} +var compilerOptionsAlternateMode = { + diagnostic: Diagnostics.Compiler_option_0_may_only_be_used_with_build, + getOptionsNameMap: getBuildOptionsNameMap +}; +var defaultInitCompilerOptions = { + module: 1 /* CommonJS */, + target: 3 /* ES2016 */, + strict: true, + esModuleInterop: true, + forceConsistentCasingInFileNames: true, + skipLibCheck: true +}; +function createDiagnosticForInvalidCustomType(opt, createDiagnostic) { + const namesOfType = arrayFrom(opt.type.keys()); + const stringNames = (opt.deprecatedKeys ? namesOfType.filter((k) => !opt.deprecatedKeys.has(k)) : namesOfType).map((key) => `'${key}'`).join(", "); + return createDiagnostic(Diagnostics.Argument_for_0_option_must_be_Colon_1, `--${opt.name}`, stringNames); +} +function parseCustomTypeOption(opt, value, errors) { + return convertJsonOptionOfCustomType(opt, (value ?? "").trim(), errors); +} +function parseListTypeOption(opt, value = "", errors) { + value = value.trim(); + if (startsWith(value, "-")) { + return void 0; + } + if (opt.type === "listOrElement" && !value.includes(",")) { + return validateJsonOptionValue(opt, value, errors); + } + if (value === "") { + return []; + } + const values = value.split(","); + switch (opt.element.type) { + case "number": + return mapDefined(values, (v) => validateJsonOptionValue(opt.element, parseInt(v), errors)); + case "string": + return mapDefined(values, (v) => validateJsonOptionValue(opt.element, v || "", errors)); + case "boolean": + case "object": + return Debug.fail(`List of ${opt.element.type} is not yet supported.`); + default: + return mapDefined(values, (v) => parseCustomTypeOption(opt.element, v, errors)); + } +} +function getOptionName(option) { + return option.name; +} +function createUnknownOptionError(unknownOption, diagnostics, unknownOptionErrorText, node, sourceFile) { + var _a; + const otherOption = (_a = diagnostics.alternateMode) == null ? void 0 : _a.getOptionsNameMap().optionsNameMap.get(unknownOption.toLowerCase()); + if (otherOption) { + return createDiagnosticForNodeInSourceFileOrCompilerDiagnostic( + sourceFile, + node, + otherOption !== tscBuildOption ? diagnostics.alternateMode.diagnostic : Diagnostics.Option_build_must_be_the_first_command_line_argument, + unknownOption + ); + } + const possibleOption = getSpellingSuggestion(unknownOption, diagnostics.optionDeclarations, getOptionName); + return possibleOption ? createDiagnosticForNodeInSourceFileOrCompilerDiagnostic(sourceFile, node, diagnostics.unknownDidYouMeanDiagnostic, unknownOptionErrorText || unknownOption, possibleOption.name) : createDiagnosticForNodeInSourceFileOrCompilerDiagnostic(sourceFile, node, diagnostics.unknownOptionDiagnostic, unknownOptionErrorText || unknownOption); +} +function parseCommandLineWorker(diagnostics, commandLine, readFile) { + const options = {}; + let watchOptions; + const fileNames = []; + const errors = []; + parseStrings(commandLine); + return { + options, + watchOptions, + fileNames, + errors + }; + function parseStrings(args) { + let i = 0; + while (i < args.length) { + const s = args[i]; + i++; + if (s.charCodeAt(0) === 64 /* at */) { + parseResponseFile(s.slice(1)); + } else if (s.charCodeAt(0) === 45 /* minus */) { + const inputOptionName = s.slice(s.charCodeAt(1) === 45 /* minus */ ? 2 : 1); + const opt = getOptionDeclarationFromName( + diagnostics.getOptionsNameMap, + inputOptionName, + /*allowShort*/ + true + ); + if (opt) { + i = parseOptionValue(args, i, diagnostics, opt, options, errors); + } else { + const watchOpt = getOptionDeclarationFromName( + watchOptionsDidYouMeanDiagnostics.getOptionsNameMap, + inputOptionName, + /*allowShort*/ + true + ); + if (watchOpt) { + i = parseOptionValue(args, i, watchOptionsDidYouMeanDiagnostics, watchOpt, watchOptions || (watchOptions = {}), errors); + } else { + errors.push(createUnknownOptionError(inputOptionName, diagnostics, s)); + } + } + } else { + fileNames.push(s); + } + } + } + function parseResponseFile(fileName) { + const text = tryReadFile(fileName, readFile || ((fileName2) => sys.readFile(fileName2))); + if (!isString(text)) { + errors.push(text); + return; + } + const args = []; + let pos = 0; + while (true) { + while (pos < text.length && text.charCodeAt(pos) <= 32 /* space */) pos++; + if (pos >= text.length) break; + const start = pos; + if (text.charCodeAt(start) === 34 /* doubleQuote */) { + pos++; + while (pos < text.length && text.charCodeAt(pos) !== 34 /* doubleQuote */) pos++; + if (pos < text.length) { + args.push(text.substring(start + 1, pos)); + pos++; + } else { + errors.push(createCompilerDiagnostic(Diagnostics.Unterminated_quoted_string_in_response_file_0, fileName)); + } + } else { + while (text.charCodeAt(pos) > 32 /* space */) pos++; + args.push(text.substring(start, pos)); + } + } + parseStrings(args); + } +} +function parseOptionValue(args, i, diagnostics, opt, options, errors) { + if (opt.isTSConfigOnly) { + const optValue = args[i]; + if (optValue === "null") { + options[opt.name] = void 0; + i++; + } else if (opt.type === "boolean") { + if (optValue === "false") { + options[opt.name] = validateJsonOptionValue( + opt, + /*value*/ + false, + errors + ); + i++; + } else { + if (optValue === "true") i++; + errors.push(createCompilerDiagnostic(Diagnostics.Option_0_can_only_be_specified_in_tsconfig_json_file_or_set_to_false_or_null_on_command_line, opt.name)); + } + } else { + errors.push(createCompilerDiagnostic(Diagnostics.Option_0_can_only_be_specified_in_tsconfig_json_file_or_set_to_null_on_command_line, opt.name)); + if (optValue && !startsWith(optValue, "-")) i++; + } + } else { + if (!args[i] && opt.type !== "boolean") { + errors.push(createCompilerDiagnostic(diagnostics.optionTypeMismatchDiagnostic, opt.name, getCompilerOptionValueTypeString(opt))); + } + if (args[i] !== "null") { + switch (opt.type) { + case "number": + options[opt.name] = validateJsonOptionValue(opt, parseInt(args[i]), errors); + i++; + break; + case "boolean": + const optValue = args[i]; + options[opt.name] = validateJsonOptionValue(opt, optValue !== "false", errors); + if (optValue === "false" || optValue === "true") { + i++; + } + break; + case "string": + options[opt.name] = validateJsonOptionValue(opt, args[i] || "", errors); + i++; + break; + case "list": + const result = parseListTypeOption(opt, args[i], errors); + options[opt.name] = result || []; + if (result) { + i++; + } + break; + case "listOrElement": + Debug.fail("listOrElement not supported here"); + break; + // If not a primitive, the possible types are specified in what is effectively a map of options. + default: + options[opt.name] = parseCustomTypeOption(opt, args[i], errors); + i++; + break; + } + } else { + options[opt.name] = void 0; + i++; + } + } + return i; +} +var compilerOptionsDidYouMeanDiagnostics = { + alternateMode: compilerOptionsAlternateMode, + getOptionsNameMap, + optionDeclarations, + unknownOptionDiagnostic: Diagnostics.Unknown_compiler_option_0, + unknownDidYouMeanDiagnostic: Diagnostics.Unknown_compiler_option_0_Did_you_mean_1, + optionTypeMismatchDiagnostic: Diagnostics.Compiler_option_0_expects_an_argument +}; +function parseCommandLine(commandLine, readFile) { + return parseCommandLineWorker(compilerOptionsDidYouMeanDiagnostics, commandLine, readFile); +} +function getOptionDeclarationFromName(getOptionNameMap, optionName, allowShort = false) { + optionName = optionName.toLowerCase(); + const { optionsNameMap, shortOptionNames } = getOptionNameMap(); + if (allowShort) { + const short = shortOptionNames.get(optionName); + if (short !== void 0) { + optionName = short; + } + } + return optionsNameMap.get(optionName); +} +var buildOptionsNameMapCache; +function getBuildOptionsNameMap() { + return buildOptionsNameMapCache || (buildOptionsNameMapCache = createOptionNameMap(buildOpts)); +} +var buildOptionsAlternateMode = { + diagnostic: Diagnostics.Compiler_option_0_may_not_be_used_with_build, + getOptionsNameMap +}; +var buildOptionsDidYouMeanDiagnostics = { + alternateMode: buildOptionsAlternateMode, + getOptionsNameMap: getBuildOptionsNameMap, + optionDeclarations: buildOpts, + unknownOptionDiagnostic: Diagnostics.Unknown_build_option_0, + unknownDidYouMeanDiagnostic: Diagnostics.Unknown_build_option_0_Did_you_mean_1, + optionTypeMismatchDiagnostic: Diagnostics.Build_option_0_requires_a_value_of_type_1 +}; +function parseBuildCommand(commandLine) { + const { options, watchOptions, fileNames: projects, errors } = parseCommandLineWorker( + buildOptionsDidYouMeanDiagnostics, + commandLine + ); + const buildOptions = options; + if (projects.length === 0) { + projects.push("."); + } + if (buildOptions.clean && buildOptions.force) { + errors.push(createCompilerDiagnostic(Diagnostics.Options_0_and_1_cannot_be_combined, "clean", "force")); + } + if (buildOptions.clean && buildOptions.verbose) { + errors.push(createCompilerDiagnostic(Diagnostics.Options_0_and_1_cannot_be_combined, "clean", "verbose")); + } + if (buildOptions.clean && buildOptions.watch) { + errors.push(createCompilerDiagnostic(Diagnostics.Options_0_and_1_cannot_be_combined, "clean", "watch")); + } + if (buildOptions.watch && buildOptions.dry) { + errors.push(createCompilerDiagnostic(Diagnostics.Options_0_and_1_cannot_be_combined, "watch", "dry")); + } + return { buildOptions, watchOptions, projects, errors }; +} +function getDiagnosticText(message, ...args) { + return cast(createCompilerDiagnostic(message, ...args).messageText, isString); +} +function getParsedCommandLineOfConfigFile(configFileName, optionsToExtend, host, extendedConfigCache, watchOptionsToExtend, extraFileExtensions) { + const configFileText = tryReadFile(configFileName, (fileName) => host.readFile(fileName)); + if (!isString(configFileText)) { + host.onUnRecoverableConfigFileDiagnostic(configFileText); + return void 0; + } + const result = parseJsonText(configFileName, configFileText); + const cwd = host.getCurrentDirectory(); + result.path = toPath(configFileName, cwd, createGetCanonicalFileName(host.useCaseSensitiveFileNames)); + result.resolvedPath = result.path; + result.originalFileName = result.fileName; + return parseJsonSourceFileConfigFileContent( + result, + host, + getNormalizedAbsolutePath(getDirectoryPath(configFileName), cwd), + optionsToExtend, + getNormalizedAbsolutePath(configFileName, cwd), + /*resolutionStack*/ + void 0, + extraFileExtensions, + extendedConfigCache, + watchOptionsToExtend + ); +} +function parseConfigFileTextToJson(fileName, jsonText) { + const jsonSourceFile = parseJsonText(fileName, jsonText); + return { + config: convertConfigFileToObject( + jsonSourceFile, + jsonSourceFile.parseDiagnostics, + /*jsonConversionNotifier*/ + void 0 + ), + error: jsonSourceFile.parseDiagnostics.length ? jsonSourceFile.parseDiagnostics[0] : void 0 + }; +} +function readJsonConfigFile(fileName, readFile) { + const textOrDiagnostic = tryReadFile(fileName, readFile); + return isString(textOrDiagnostic) ? parseJsonText(fileName, textOrDiagnostic) : { fileName, parseDiagnostics: [textOrDiagnostic] }; +} +function tryReadFile(fileName, readFile) { + let text; + try { + text = readFile(fileName); + } catch (e) { + return createCompilerDiagnostic(Diagnostics.Cannot_read_file_0_Colon_1, fileName, e.message); + } + return text === void 0 ? createCompilerDiagnostic(Diagnostics.Cannot_read_file_0, fileName) : text; +} +function commandLineOptionsToMap(options) { + return arrayToMap(options, getOptionName); +} +var typeAcquisitionDidYouMeanDiagnostics = { + optionDeclarations: typeAcquisitionDeclarations, + unknownOptionDiagnostic: Diagnostics.Unknown_type_acquisition_option_0, + unknownDidYouMeanDiagnostic: Diagnostics.Unknown_type_acquisition_option_0_Did_you_mean_1 +}; +var watchOptionsNameMapCache; +function getWatchOptionsNameMap() { + return watchOptionsNameMapCache || (watchOptionsNameMapCache = createOptionNameMap(optionsForWatch)); +} +var watchOptionsDidYouMeanDiagnostics = { + getOptionsNameMap: getWatchOptionsNameMap, + optionDeclarations: optionsForWatch, + unknownOptionDiagnostic: Diagnostics.Unknown_watch_option_0, + unknownDidYouMeanDiagnostic: Diagnostics.Unknown_watch_option_0_Did_you_mean_1, + optionTypeMismatchDiagnostic: Diagnostics.Watch_option_0_requires_a_value_of_type_1 +}; +var commandLineCompilerOptionsMapCache; +function getCommandLineCompilerOptionsMap() { + return commandLineCompilerOptionsMapCache || (commandLineCompilerOptionsMapCache = commandLineOptionsToMap(optionDeclarations)); +} +var commandLineWatchOptionsMapCache; +function getCommandLineWatchOptionsMap() { + return commandLineWatchOptionsMapCache || (commandLineWatchOptionsMapCache = commandLineOptionsToMap(optionsForWatch)); +} +var commandLineTypeAcquisitionMapCache; +function getCommandLineTypeAcquisitionMap() { + return commandLineTypeAcquisitionMapCache || (commandLineTypeAcquisitionMapCache = commandLineOptionsToMap(typeAcquisitionDeclarations)); +} +var extendsOptionDeclaration = { + name: "extends", + type: "listOrElement", + element: { + name: "extends", + type: "string" + }, + category: Diagnostics.File_Management, + disallowNullOrUndefined: true +}; +var compilerOptionsDeclaration = { + name: "compilerOptions", + type: "object", + elementOptions: getCommandLineCompilerOptionsMap(), + extraKeyDiagnostics: compilerOptionsDidYouMeanDiagnostics +}; +var watchOptionsDeclaration = { + name: "watchOptions", + type: "object", + elementOptions: getCommandLineWatchOptionsMap(), + extraKeyDiagnostics: watchOptionsDidYouMeanDiagnostics +}; +var typeAcquisitionDeclaration = { + name: "typeAcquisition", + type: "object", + elementOptions: getCommandLineTypeAcquisitionMap(), + extraKeyDiagnostics: typeAcquisitionDidYouMeanDiagnostics +}; +var _tsconfigRootOptions; +function getTsconfigRootOptionsMap() { + if (_tsconfigRootOptions === void 0) { + _tsconfigRootOptions = { + name: void 0, + // should never be needed since this is root + type: "object", + elementOptions: commandLineOptionsToMap([ + compilerOptionsDeclaration, + watchOptionsDeclaration, + typeAcquisitionDeclaration, + extendsOptionDeclaration, + { + name: "references", + type: "list", + element: { + name: "references", + type: "object" + }, + category: Diagnostics.Projects + }, + { + name: "files", + type: "list", + element: { + name: "files", + type: "string" + }, + category: Diagnostics.File_Management + }, + { + name: "include", + type: "list", + element: { + name: "include", + type: "string" + }, + category: Diagnostics.File_Management, + defaultValueDescription: Diagnostics.if_files_is_specified_otherwise_Asterisk_Asterisk_Slash_Asterisk + }, + { + name: "exclude", + type: "list", + element: { + name: "exclude", + type: "string" + }, + category: Diagnostics.File_Management, + defaultValueDescription: Diagnostics.node_modules_bower_components_jspm_packages_plus_the_value_of_outDir_if_one_is_specified + }, + compileOnSaveCommandLineOption + ]) + }; + } + return _tsconfigRootOptions; +} +function convertConfigFileToObject(sourceFile, errors, jsonConversionNotifier) { + var _a; + const rootExpression = (_a = sourceFile.statements[0]) == null ? void 0 : _a.expression; + if (rootExpression && rootExpression.kind !== 210 /* ObjectLiteralExpression */) { + errors.push(createDiagnosticForNodeInSourceFile( + sourceFile, + rootExpression, + Diagnostics.The_root_value_of_a_0_file_must_be_an_object, + getBaseFileName(sourceFile.fileName) === "jsconfig.json" ? "jsconfig.json" : "tsconfig.json" + )); + if (isArrayLiteralExpression(rootExpression)) { + const firstObject = find(rootExpression.elements, isObjectLiteralExpression); + if (firstObject) { + return convertToJson( + sourceFile, + firstObject, + errors, + /*returnValue*/ + true, + jsonConversionNotifier + ); + } + } + return {}; + } + return convertToJson( + sourceFile, + rootExpression, + errors, + /*returnValue*/ + true, + jsonConversionNotifier + ); +} +function convertToObject(sourceFile, errors) { + var _a; + return convertToJson( + sourceFile, + (_a = sourceFile.statements[0]) == null ? void 0 : _a.expression, + errors, + /*returnValue*/ + true, + /*jsonConversionNotifier*/ + void 0 + ); +} +function convertToJson(sourceFile, rootExpression, errors, returnValue, jsonConversionNotifier) { + if (!rootExpression) { + return returnValue ? {} : void 0; + } + return convertPropertyValueToJson(rootExpression, jsonConversionNotifier == null ? void 0 : jsonConversionNotifier.rootOptions); + function convertObjectLiteralExpressionToJson(node, objectOption) { + var _a; + const result = returnValue ? {} : void 0; + for (const element of node.properties) { + if (element.kind !== 303 /* PropertyAssignment */) { + errors.push(createDiagnosticForNodeInSourceFile(sourceFile, element, Diagnostics.Property_assignment_expected)); + continue; + } + if (element.questionToken) { + errors.push(createDiagnosticForNodeInSourceFile(sourceFile, element.questionToken, Diagnostics.The_0_modifier_can_only_be_used_in_TypeScript_files, "?")); + } + if (!isDoubleQuotedString(element.name)) { + errors.push(createDiagnosticForNodeInSourceFile(sourceFile, element.name, Diagnostics.String_literal_with_double_quotes_expected)); + } + const textOfKey = isComputedNonLiteralName(element.name) ? void 0 : getTextOfPropertyName(element.name); + const keyText = textOfKey && unescapeLeadingUnderscores(textOfKey); + const option = keyText ? (_a = objectOption == null ? void 0 : objectOption.elementOptions) == null ? void 0 : _a.get(keyText) : void 0; + const value = convertPropertyValueToJson(element.initializer, option); + if (typeof keyText !== "undefined") { + if (returnValue) { + result[keyText] = value; + } + jsonConversionNotifier == null ? void 0 : jsonConversionNotifier.onPropertySet(keyText, value, element, objectOption, option); + } + } + return result; + } + function convertArrayLiteralExpressionToJson(elements, elementOption) { + if (!returnValue) { + elements.forEach((element) => convertPropertyValueToJson(element, elementOption)); + return void 0; + } + return filter(elements.map((element) => convertPropertyValueToJson(element, elementOption)), (v) => v !== void 0); + } + function convertPropertyValueToJson(valueExpression, option) { + switch (valueExpression.kind) { + case 112 /* TrueKeyword */: + return true; + case 97 /* FalseKeyword */: + return false; + case 106 /* NullKeyword */: + return null; + // eslint-disable-line no-restricted-syntax + case 11 /* StringLiteral */: + if (!isDoubleQuotedString(valueExpression)) { + errors.push(createDiagnosticForNodeInSourceFile(sourceFile, valueExpression, Diagnostics.String_literal_with_double_quotes_expected)); + } + return valueExpression.text; + case 9 /* NumericLiteral */: + return Number(valueExpression.text); + case 224 /* PrefixUnaryExpression */: + if (valueExpression.operator !== 41 /* MinusToken */ || valueExpression.operand.kind !== 9 /* NumericLiteral */) { + break; + } + return -Number(valueExpression.operand.text); + case 210 /* ObjectLiteralExpression */: + const objectLiteralExpression = valueExpression; + return convertObjectLiteralExpressionToJson(objectLiteralExpression, option); + case 209 /* ArrayLiteralExpression */: + return convertArrayLiteralExpressionToJson( + valueExpression.elements, + option && option.element + ); + } + if (option) { + errors.push(createDiagnosticForNodeInSourceFile(sourceFile, valueExpression, Diagnostics.Compiler_option_0_requires_a_value_of_type_1, option.name, getCompilerOptionValueTypeString(option))); + } else { + errors.push(createDiagnosticForNodeInSourceFile(sourceFile, valueExpression, Diagnostics.Property_value_can_only_be_string_literal_numeric_literal_true_false_null_object_literal_or_array_literal)); + } + return void 0; + } + function isDoubleQuotedString(node) { + return isStringLiteral(node) && isStringDoubleQuoted(node, sourceFile); + } +} +function getCompilerOptionValueTypeString(option) { + return option.type === "listOrElement" ? `${getCompilerOptionValueTypeString(option.element)} or Array` : option.type === "list" ? "Array" : isString(option.type) ? option.type : "string"; +} +function isCompilerOptionsValue(option, value) { + if (option) { + if (isNullOrUndefined(value)) return !option.disallowNullOrUndefined; + if (option.type === "list") { + return isArray(value); + } + if (option.type === "listOrElement") { + return isArray(value) || isCompilerOptionsValue(option.element, value); + } + const expectedType = isString(option.type) ? option.type : "string"; + return typeof value === expectedType; + } + return false; +} +function convertToTSConfig(configParseResult, configFileName, host) { + var _a, _b, _c; + const getCanonicalFileName = createGetCanonicalFileName(host.useCaseSensitiveFileNames); + const files = map( + filter( + configParseResult.fileNames, + !((_b = (_a = configParseResult.options.configFile) == null ? void 0 : _a.configFileSpecs) == null ? void 0 : _b.validatedIncludeSpecs) ? returnTrue : matchesSpecs( + configFileName, + configParseResult.options.configFile.configFileSpecs.validatedIncludeSpecs, + configParseResult.options.configFile.configFileSpecs.validatedExcludeSpecs, + host + ) + ), + (f) => getRelativePathFromFile(getNormalizedAbsolutePath(configFileName, host.getCurrentDirectory()), getNormalizedAbsolutePath(f, host.getCurrentDirectory()), getCanonicalFileName) + ); + const pathOptions = { configFilePath: getNormalizedAbsolutePath(configFileName, host.getCurrentDirectory()), useCaseSensitiveFileNames: host.useCaseSensitiveFileNames }; + const optionMap = serializeCompilerOptions(configParseResult.options, pathOptions); + const watchOptionMap = configParseResult.watchOptions && serializeWatchOptions(configParseResult.watchOptions); + const config = { + compilerOptions: { + ...optionMapToObject(optionMap), + 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: watchOptionMap && optionMapToObject(watchOptionMap), + references: map(configParseResult.projectReferences, (r) => ({ ...r, path: r.originalPath ? r.originalPath : "", originalPath: void 0 })), + files: length(files) ? files : void 0, + ...((_c = configParseResult.options.configFile) == null ? void 0 : _c.configFileSpecs) ? { + include: filterSameAsDefaultInclude(configParseResult.options.configFile.configFileSpecs.validatedIncludeSpecs), + exclude: configParseResult.options.configFile.configFileSpecs.validatedExcludeSpecs + } : {}, + compileOnSave: !!configParseResult.compileOnSave ? true : void 0 + }; + const providedKeys = new Set(optionMap.keys()); + const impliedCompilerOptions = {}; + for (const option in computedOptions) { + if (!providedKeys.has(option) && optionDependsOn(option, providedKeys)) { + const implied = computedOptions[option].computeValue(configParseResult.options); + const defaultValue = computedOptions[option].computeValue({}); + if (implied !== defaultValue) { + impliedCompilerOptions[option] = computedOptions[option].computeValue(configParseResult.options); + } + } + } + assign(config.compilerOptions, optionMapToObject(serializeCompilerOptions(impliedCompilerOptions, pathOptions))); + return config; +} +function optionDependsOn(option, dependsOn) { + const seen = /* @__PURE__ */ new Set(); + return optionDependsOnRecursive(option); + function optionDependsOnRecursive(option2) { + var _a; + if (addToSeen(seen, option2)) { + return some((_a = computedOptions[option2]) == null ? void 0 : _a.dependencies, (dep) => dependsOn.has(dep) || optionDependsOnRecursive(dep)); + } + return false; + } +} +function optionMapToObject(optionMap) { + return Object.fromEntries(optionMap); +} +function filterSameAsDefaultInclude(specs) { + if (!length(specs)) return void 0; + if (length(specs) !== 1) return specs; + if (specs[0] === defaultIncludeSpec) return void 0; + return specs; +} +function matchesSpecs(path, includeSpecs, excludeSpecs, host) { + if (!includeSpecs) return returnTrue; + const patterns = getFileMatcherPatterns(path, excludeSpecs, includeSpecs, host.useCaseSensitiveFileNames, host.getCurrentDirectory()); + const excludeRe = patterns.excludePattern && getRegexFromPattern(patterns.excludePattern, host.useCaseSensitiveFileNames); + const includeRe = patterns.includeFilePattern && getRegexFromPattern(patterns.includeFilePattern, host.useCaseSensitiveFileNames); + if (includeRe) { + if (excludeRe) { + return (path2) => !(includeRe.test(path2) && !excludeRe.test(path2)); + } + return (path2) => !includeRe.test(path2); + } + if (excludeRe) { + return (path2) => excludeRe.test(path2); + } + return returnTrue; +} +function getCustomTypeMapOfCommandLineOption(optionDefinition) { + switch (optionDefinition.type) { + case "string": + case "number": + case "boolean": + case "object": + return void 0; + case "list": + case "listOrElement": + return getCustomTypeMapOfCommandLineOption(optionDefinition.element); + default: + return optionDefinition.type; + } +} +function getNameOfCompilerOptionValue(value, customTypeMap) { + return forEachEntry(customTypeMap, (mapValue, key) => { + if (mapValue === value) { + return key; + } + }); +} +function serializeCompilerOptions(options, pathOptions) { + return serializeOptionBaseObject(options, getOptionsNameMap(), pathOptions); +} +function serializeWatchOptions(options) { + return serializeOptionBaseObject(options, getWatchOptionsNameMap()); +} +function serializeOptionBaseObject(options, { optionsNameMap }, pathOptions) { + const result = /* @__PURE__ */ new Map(); + const getCanonicalFileName = pathOptions && createGetCanonicalFileName(pathOptions.useCaseSensitiveFileNames); + for (const name in options) { + if (hasProperty(options, name)) { + if (optionsNameMap.has(name) && (optionsNameMap.get(name).category === Diagnostics.Command_line_Options || optionsNameMap.get(name).category === Diagnostics.Output_Formatting)) { + continue; + } + const value = options[name]; + const optionDefinition = optionsNameMap.get(name.toLowerCase()); + if (optionDefinition) { + Debug.assert(optionDefinition.type !== "listOrElement"); + const customTypeMap = getCustomTypeMapOfCommandLineOption(optionDefinition); + if (!customTypeMap) { + if (pathOptions && optionDefinition.isFilePath) { + result.set(name, getRelativePathFromFile(pathOptions.configFilePath, getNormalizedAbsolutePath(value, getDirectoryPath(pathOptions.configFilePath)), getCanonicalFileName)); + } else if (pathOptions && optionDefinition.type === "list" && optionDefinition.element.isFilePath) { + result.set(name, value.map((v) => getRelativePathFromFile(pathOptions.configFilePath, getNormalizedAbsolutePath(v, getDirectoryPath(pathOptions.configFilePath)), getCanonicalFileName))); + } else { + result.set(name, value); + } + } else { + if (optionDefinition.type === "list") { + result.set(name, value.map((element) => getNameOfCompilerOptionValue(element, customTypeMap))); + } else { + result.set(name, getNameOfCompilerOptionValue(value, customTypeMap)); + } + } + } + } + } + return result; +} +function getCompilerOptionsDiffValue(options, newLine) { + const compilerOptionsMap = getSerializedCompilerOption(options); + return getOverwrittenDefaultOptions(); + function makePadding(paddingLength) { + return Array(paddingLength + 1).join(" "); + } + function getOverwrittenDefaultOptions() { + const result = []; + const tab = makePadding(2); + commandOptionsWithoutBuild.forEach((cmd) => { + if (!compilerOptionsMap.has(cmd.name)) { + return; + } + const newValue = compilerOptionsMap.get(cmd.name); + const defaultValue = getDefaultValueForOption(cmd); + if (newValue !== defaultValue) { + result.push(`${tab}${cmd.name}: ${newValue}`); + } else if (hasProperty(defaultInitCompilerOptions, cmd.name)) { + result.push(`${tab}${cmd.name}: ${defaultValue}`); + } + }); + return result.join(newLine) + newLine; + } +} +function getSerializedCompilerOption(options) { + const compilerOptions = extend(options, defaultInitCompilerOptions); + return serializeCompilerOptions(compilerOptions); +} +function generateTSConfig(options, fileNames, newLine) { + const compilerOptionsMap = getSerializedCompilerOption(options); + return writeConfigurations(); + function makePadding(paddingLength) { + return Array(paddingLength + 1).join(" "); + } + function isAllowedOptionForOutput({ category, name, isCommandLineOnly }) { + const categoriesToSkip = [Diagnostics.Command_line_Options, Diagnostics.Editor_Support, Diagnostics.Compiler_Diagnostics, Diagnostics.Backwards_Compatibility, Diagnostics.Watch_and_Build_Modes, Diagnostics.Output_Formatting]; + return !isCommandLineOnly && category !== void 0 && (!categoriesToSkip.includes(category) || compilerOptionsMap.has(name)); + } + function writeConfigurations() { + const categorizedOptions = /* @__PURE__ */ new Map(); + categorizedOptions.set(Diagnostics.Projects, []); + categorizedOptions.set(Diagnostics.Language_and_Environment, []); + categorizedOptions.set(Diagnostics.Modules, []); + categorizedOptions.set(Diagnostics.JavaScript_Support, []); + categorizedOptions.set(Diagnostics.Emit, []); + categorizedOptions.set(Diagnostics.Interop_Constraints, []); + categorizedOptions.set(Diagnostics.Type_Checking, []); + categorizedOptions.set(Diagnostics.Completeness, []); + for (const option of optionDeclarations) { + if (isAllowedOptionForOutput(option)) { + let listForCategory = categorizedOptions.get(option.category); + if (!listForCategory) categorizedOptions.set(option.category, listForCategory = []); + listForCategory.push(option); + } + } + let marginLength = 0; + let seenKnownKeys = 0; + const entries = []; + categorizedOptions.forEach((options2, category) => { + if (entries.length !== 0) { + entries.push({ value: "" }); + } + entries.push({ value: `/* ${getLocaleSpecificMessage(category)} */` }); + for (const option of options2) { + let optionName; + if (compilerOptionsMap.has(option.name)) { + optionName = `"${option.name}": ${JSON.stringify(compilerOptionsMap.get(option.name))}${(seenKnownKeys += 1) === compilerOptionsMap.size ? "" : ","}`; + } else { + optionName = `// "${option.name}": ${JSON.stringify(getDefaultValueForOption(option))},`; + } + entries.push({ + value: optionName, + description: `/* ${option.description && getLocaleSpecificMessage(option.description) || option.name} */` + }); + marginLength = Math.max(optionName.length, marginLength); + } + }); + const tab = makePadding(2); + const result = []; + result.push(`{`); + result.push(`${tab}"compilerOptions": {`); + result.push(`${tab}${tab}/* ${getLocaleSpecificMessage(Diagnostics.Visit_https_Colon_Slash_Slashaka_ms_Slashtsconfig_to_read_more_about_this_file)} */`); + result.push(""); + for (const entry of entries) { + const { value, description = "" } = entry; + result.push(value && `${tab}${tab}${value}${description && makePadding(marginLength - value.length + 2) + description}`); + } + if (fileNames.length) { + result.push(`${tab}},`); + result.push(`${tab}"files": [`); + for (let i = 0; i < fileNames.length; i++) { + result.push(`${tab}${tab}${JSON.stringify(fileNames[i])}${i === fileNames.length - 1 ? "" : ","}`); + } + result.push(`${tab}]`); + } else { + result.push(`${tab}}`); + } + result.push(`}`); + return result.join(newLine) + newLine; + } +} +function convertToOptionsWithAbsolutePaths(options, toAbsolutePath) { + const result = {}; + const optionsNameMap = getOptionsNameMap().optionsNameMap; + for (const name in options) { + if (hasProperty(options, name)) { + result[name] = convertToOptionValueWithAbsolutePaths( + optionsNameMap.get(name.toLowerCase()), + options[name], + toAbsolutePath + ); + } + } + if (result.configFilePath) { + result.configFilePath = toAbsolutePath(result.configFilePath); + } + return result; +} +function convertToOptionValueWithAbsolutePaths(option, value, toAbsolutePath) { + if (option && !isNullOrUndefined(value)) { + if (option.type === "list") { + const values = value; + if (option.element.isFilePath && values.length) { + return values.map(toAbsolutePath); + } + } else if (option.isFilePath) { + return toAbsolutePath(value); + } + Debug.assert(option.type !== "listOrElement"); + } + return value; +} +function parseJsonSourceFileConfigFileContent(sourceFile, host, basePath, existingOptions, configFileName, resolutionStack, extraFileExtensions, extendedConfigCache, existingWatchOptions) { + var _a, _b; + (_a = tracing) == null ? void 0 : _a.push(tracing.Phase.Parse, "parseJsonSourceFileConfigFileContent", { path: sourceFile.fileName }); + const result = parseJsonConfigFileContentWorker( + /*json*/ + void 0, + sourceFile, + host, + basePath, + existingOptions, + existingWatchOptions, + configFileName, + resolutionStack, + extraFileExtensions, + extendedConfigCache + ); + (_b = tracing) == null ? void 0 : _b.pop(); + return result; +} +function setConfigFileInOptions(options, configFile) { + if (configFile) { + Object.defineProperty(options, "configFile", { enumerable: false, writable: false, value: configFile }); + } +} +function isNullOrUndefined(x) { + return x === void 0 || x === null; +} +function directoryOfCombinedPath(fileName, basePath) { + return getDirectoryPath(getNormalizedAbsolutePath(fileName, basePath)); +} +var defaultIncludeSpec = "**/*"; +function parseJsonConfigFileContentWorker(json, sourceFile, host, basePath, existingOptions = {}, existingWatchOptions, configFileName, resolutionStack = [], extraFileExtensions = [], extendedConfigCache) { + Debug.assert(json === void 0 && sourceFile !== void 0 || json !== void 0 && sourceFile === void 0); + const errors = []; + const parsedConfig = parseConfig(json, sourceFile, host, basePath, configFileName, resolutionStack, errors, extendedConfigCache); + const { raw } = parsedConfig; + const options = handleOptionConfigDirTemplateSubstitution( + extend(existingOptions, parsedConfig.options || {}), + configDirTemplateSubstitutionOptions, + basePath + ); + const watchOptions = handleWatchOptionsConfigDirTemplateSubstitution( + existingWatchOptions && parsedConfig.watchOptions ? extend(existingWatchOptions, parsedConfig.watchOptions) : parsedConfig.watchOptions || existingWatchOptions, + basePath + ); + options.configFilePath = configFileName && normalizeSlashes(configFileName); + const basePathForFileNames = normalizePath(configFileName ? directoryOfCombinedPath(configFileName, basePath) : basePath); + const configFileSpecs = getConfigFileSpecs(); + if (sourceFile) sourceFile.configFileSpecs = configFileSpecs; + setConfigFileInOptions(options, sourceFile); + return { + options, + watchOptions, + fileNames: getFileNames(basePathForFileNames), + projectReferences: getProjectReferences(basePathForFileNames), + typeAcquisition: parsedConfig.typeAcquisition || getDefaultTypeAcquisition(), + raw, + errors, + // Wildcard directories (provided as part of a wildcard path) are stored in a + // file map that marks whether it was a regular wildcard match (with a `*` or `?` token), + // or a recursive directory. This information is used by filesystem watchers to monitor for + // new entries in these paths. + wildcardDirectories: getWildcardDirectories(configFileSpecs, basePathForFileNames, host.useCaseSensitiveFileNames), + compileOnSave: !!raw.compileOnSave + }; + function getConfigFileSpecs() { + const referencesOfRaw = getPropFromRaw("references", (element) => typeof element === "object", "object"); + const filesSpecs = toPropValue(getSpecsFromRaw("files")); + if (filesSpecs) { + const hasZeroOrNoReferences = referencesOfRaw === "no-prop" || isArray(referencesOfRaw) && referencesOfRaw.length === 0; + const hasExtends = hasProperty(raw, "extends"); + if (filesSpecs.length === 0 && hasZeroOrNoReferences && !hasExtends) { + if (sourceFile) { + const fileName = configFileName || "tsconfig.json"; + const diagnosticMessage = Diagnostics.The_files_list_in_config_file_0_is_empty; + const nodeValue = forEachTsConfigPropArray(sourceFile, "files", (property) => property.initializer); + const error = createDiagnosticForNodeInSourceFileOrCompilerDiagnostic(sourceFile, nodeValue, diagnosticMessage, fileName); + errors.push(error); + } else { + createCompilerDiagnosticOnlyIfJson(Diagnostics.The_files_list_in_config_file_0_is_empty, configFileName || "tsconfig.json"); + } + } + } + let includeSpecs = toPropValue(getSpecsFromRaw("include")); + const excludeOfRaw = getSpecsFromRaw("exclude"); + let isDefaultIncludeSpec = false; + let excludeSpecs = toPropValue(excludeOfRaw); + if (excludeOfRaw === "no-prop") { + const outDir = options.outDir; + const declarationDir = options.declarationDir; + if (outDir || declarationDir) { + excludeSpecs = filter([outDir, declarationDir], (d) => !!d); + } + } + if (filesSpecs === void 0 && includeSpecs === void 0) { + includeSpecs = [defaultIncludeSpec]; + isDefaultIncludeSpec = true; + } + let validatedIncludeSpecsBeforeSubstitution, validatedExcludeSpecsBeforeSubstitution; + let validatedIncludeSpecs, validatedExcludeSpecs; + if (includeSpecs) { + validatedIncludeSpecsBeforeSubstitution = validateSpecs( + includeSpecs, + errors, + /*disallowTrailingRecursion*/ + true, + sourceFile, + "include" + ); + validatedIncludeSpecs = getSubstitutedStringArrayWithConfigDirTemplate( + validatedIncludeSpecsBeforeSubstitution, + basePathForFileNames + ) || validatedIncludeSpecsBeforeSubstitution; + } + if (excludeSpecs) { + validatedExcludeSpecsBeforeSubstitution = validateSpecs( + excludeSpecs, + errors, + /*disallowTrailingRecursion*/ + false, + sourceFile, + "exclude" + ); + validatedExcludeSpecs = getSubstitutedStringArrayWithConfigDirTemplate( + validatedExcludeSpecsBeforeSubstitution, + basePathForFileNames + ) || validatedExcludeSpecsBeforeSubstitution; + } + const validatedFilesSpecBeforeSubstitution = filter(filesSpecs, isString); + const validatedFilesSpec = getSubstitutedStringArrayWithConfigDirTemplate( + validatedFilesSpecBeforeSubstitution, + basePathForFileNames + ) || validatedFilesSpecBeforeSubstitution; + return { + filesSpecs, + includeSpecs, + excludeSpecs, + validatedFilesSpec, + validatedIncludeSpecs, + validatedExcludeSpecs, + validatedFilesSpecBeforeSubstitution, + validatedIncludeSpecsBeforeSubstitution, + validatedExcludeSpecsBeforeSubstitution, + isDefaultIncludeSpec + }; + } + function getFileNames(basePath2) { + const fileNames = getFileNamesFromConfigSpecs(configFileSpecs, basePath2, options, host, extraFileExtensions); + if (shouldReportNoInputFiles(fileNames, canJsonReportNoInputFiles(raw), resolutionStack)) { + errors.push(getErrorForNoInputFiles(configFileSpecs, configFileName)); + } + return fileNames; + } + function getProjectReferences(basePath2) { + let projectReferences; + const referencesOfRaw = getPropFromRaw("references", (element) => typeof element === "object", "object"); + if (isArray(referencesOfRaw)) { + for (const ref of referencesOfRaw) { + if (typeof ref.path !== "string") { + createCompilerDiagnosticOnlyIfJson(Diagnostics.Compiler_option_0_requires_a_value_of_type_1, "reference.path", "string"); + } else { + (projectReferences || (projectReferences = [])).push({ + path: getNormalizedAbsolutePath(ref.path, basePath2), + originalPath: ref.path, + prepend: ref.prepend, + circular: ref.circular + }); + } + } + } + return projectReferences; + } + function toPropValue(specResult) { + return isArray(specResult) ? specResult : void 0; + } + function getSpecsFromRaw(prop) { + return getPropFromRaw(prop, isString, "string"); + } + function getPropFromRaw(prop, validateElement, elementTypeName) { + if (hasProperty(raw, prop) && !isNullOrUndefined(raw[prop])) { + if (isArray(raw[prop])) { + const result = raw[prop]; + if (!sourceFile && !every(result, validateElement)) { + errors.push(createCompilerDiagnostic(Diagnostics.Compiler_option_0_requires_a_value_of_type_1, prop, elementTypeName)); + } + return result; + } else { + createCompilerDiagnosticOnlyIfJson(Diagnostics.Compiler_option_0_requires_a_value_of_type_1, prop, "Array"); + return "not-array"; + } + } + return "no-prop"; + } + function createCompilerDiagnosticOnlyIfJson(message, ...args) { + if (!sourceFile) { + errors.push(createCompilerDiagnostic(message, ...args)); + } + } +} +function handleWatchOptionsConfigDirTemplateSubstitution(watchOptions, basePath) { + return handleOptionConfigDirTemplateSubstitution(watchOptions, configDirTemplateSubstitutionWatchOptions, basePath); +} +function handleOptionConfigDirTemplateSubstitution(options, optionDeclarations2, basePath) { + if (!options) return options; + let result; + for (const option of optionDeclarations2) { + if (options[option.name] !== void 0) { + const value = options[option.name]; + switch (option.type) { + case "string": + Debug.assert(option.isFilePath); + if (startsWithConfigDirTemplate(value)) { + setOptionValue(option, getSubstitutedPathWithConfigDirTemplate(value, basePath)); + } + break; + case "list": + Debug.assert(option.element.isFilePath); + const listResult = getSubstitutedStringArrayWithConfigDirTemplate(value, basePath); + if (listResult) setOptionValue(option, listResult); + break; + case "object": + Debug.assert(option.name === "paths"); + const objectResult = getSubstitutedMapLikeOfStringArrayWithConfigDirTemplate(value, basePath); + if (objectResult) setOptionValue(option, objectResult); + break; + default: + Debug.fail("option type not supported"); + } + } + } + return result || options; + function setOptionValue(option, value) { + (result ?? (result = assign({}, options)))[option.name] = value; + } +} +var configDirTemplate = `\${configDir}`; +function startsWithConfigDirTemplate(value) { + return isString(value) && startsWith( + value, + configDirTemplate, + /*ignoreCase*/ + true + ); +} +function getSubstitutedPathWithConfigDirTemplate(value, basePath) { + return getNormalizedAbsolutePath(value.replace(configDirTemplate, "./"), basePath); +} +function getSubstitutedStringArrayWithConfigDirTemplate(list, basePath) { + if (!list) return list; + let result; + list.forEach((element, index) => { + if (!startsWithConfigDirTemplate(element)) return; + (result ?? (result = list.slice()))[index] = getSubstitutedPathWithConfigDirTemplate(element, basePath); + }); + return result; +} +function getSubstitutedMapLikeOfStringArrayWithConfigDirTemplate(mapLike, basePath) { + let result; + const ownKeys = getOwnKeys(mapLike); + ownKeys.forEach((key) => { + if (!isArray(mapLike[key])) return; + const subStitution = getSubstitutedStringArrayWithConfigDirTemplate(mapLike[key], basePath); + if (!subStitution) return; + (result ?? (result = assign({}, mapLike)))[key] = subStitution; + }); + return result; +} +function isErrorNoInputFiles(error) { + return error.code === Diagnostics.No_inputs_were_found_in_config_file_0_Specified_include_paths_were_1_and_exclude_paths_were_2.code; +} +function getErrorForNoInputFiles({ includeSpecs, excludeSpecs }, configFileName) { + return createCompilerDiagnostic( + Diagnostics.No_inputs_were_found_in_config_file_0_Specified_include_paths_were_1_and_exclude_paths_were_2, + configFileName || "tsconfig.json", + JSON.stringify(includeSpecs || []), + JSON.stringify(excludeSpecs || []) + ); +} +function shouldReportNoInputFiles(fileNames, canJsonReportNoInutFiles, resolutionStack) { + return fileNames.length === 0 && canJsonReportNoInutFiles && (!resolutionStack || resolutionStack.length === 0); +} +function isSolutionConfig(config) { + return !config.fileNames.length && hasProperty(config.raw, "references"); +} +function canJsonReportNoInputFiles(raw) { + return !hasProperty(raw, "files") && !hasProperty(raw, "references"); +} +function updateErrorForNoInputFiles(fileNames, configFileName, configFileSpecs, configParseDiagnostics, canJsonReportNoInutFiles) { + const existingErrors = configParseDiagnostics.length; + if (shouldReportNoInputFiles(fileNames, canJsonReportNoInutFiles)) { + configParseDiagnostics.push(getErrorForNoInputFiles(configFileSpecs, configFileName)); + } else { + filterMutate(configParseDiagnostics, (error) => !isErrorNoInputFiles(error)); + } + return existingErrors !== configParseDiagnostics.length; +} +function isSuccessfulParsedTsconfig(value) { + return !!value.options; +} +function parseConfig(json, sourceFile, host, basePath, configFileName, resolutionStack, errors, extendedConfigCache) { + var _a; + basePath = normalizeSlashes(basePath); + const resolvedPath = getNormalizedAbsolutePath(configFileName || "", basePath); + if (resolutionStack.includes(resolvedPath)) { + errors.push(createCompilerDiagnostic(Diagnostics.Circularity_detected_while_resolving_configuration_Colon_0, [...resolutionStack, resolvedPath].join(" -> "))); + return { raw: json || convertToObject(sourceFile, errors) }; + } + const ownConfig = json ? parseOwnConfigOfJson(json, host, basePath, configFileName, errors) : parseOwnConfigOfJsonSourceFile(sourceFile, host, basePath, configFileName, errors); + if ((_a = ownConfig.options) == null ? void 0 : _a.paths) { + ownConfig.options.pathsBasePath = basePath; + } + if (ownConfig.extendedConfigPath) { + resolutionStack = resolutionStack.concat([resolvedPath]); + const result = { options: {} }; + if (isString(ownConfig.extendedConfigPath)) { + applyExtendedConfig(result, ownConfig.extendedConfigPath); + } else { + ownConfig.extendedConfigPath.forEach((extendedConfigPath) => applyExtendedConfig(result, extendedConfigPath)); + } + if (result.include) ownConfig.raw.include = result.include; + if (result.exclude) ownConfig.raw.exclude = result.exclude; + if (result.files) ownConfig.raw.files = result.files; + if (ownConfig.raw.compileOnSave === void 0 && result.compileOnSave) ownConfig.raw.compileOnSave = result.compileOnSave; + if (sourceFile && result.extendedSourceFiles) sourceFile.extendedSourceFiles = arrayFrom(result.extendedSourceFiles.keys()); + ownConfig.options = assign(result.options, ownConfig.options); + ownConfig.watchOptions = ownConfig.watchOptions && result.watchOptions ? assignWatchOptions(result, ownConfig.watchOptions) : ownConfig.watchOptions || result.watchOptions; + } + return ownConfig; + function applyExtendedConfig(result, extendedConfigPath) { + const extendedConfig = getExtendedConfig(sourceFile, extendedConfigPath, host, resolutionStack, errors, extendedConfigCache, result); + if (extendedConfig && isSuccessfulParsedTsconfig(extendedConfig)) { + const extendsRaw = extendedConfig.raw; + let relativeDifference; + const setPropertyInResultIfNotUndefined = (propertyName) => { + if (ownConfig.raw[propertyName]) return; + if (extendsRaw[propertyName]) { + result[propertyName] = map(extendsRaw[propertyName], (path) => startsWithConfigDirTemplate(path) || isRootedDiskPath(path) ? path : combinePaths( + relativeDifference || (relativeDifference = convertToRelativePath(getDirectoryPath(extendedConfigPath), basePath, createGetCanonicalFileName(host.useCaseSensitiveFileNames))), + path + )); + } + }; + setPropertyInResultIfNotUndefined("include"); + setPropertyInResultIfNotUndefined("exclude"); + setPropertyInResultIfNotUndefined("files"); + if (extendsRaw.compileOnSave !== void 0) { + result.compileOnSave = extendsRaw.compileOnSave; + } + assign(result.options, extendedConfig.options); + result.watchOptions = result.watchOptions && extendedConfig.watchOptions ? assignWatchOptions(result, extendedConfig.watchOptions) : result.watchOptions || extendedConfig.watchOptions; + } + } + function assignWatchOptions(result, watchOptions) { + if (result.watchOptionsCopied) return assign(result.watchOptions, watchOptions); + result.watchOptionsCopied = true; + return assign({}, result.watchOptions, watchOptions); + } +} +function parseOwnConfigOfJson(json, host, basePath, configFileName, errors) { + if (hasProperty(json, "excludes")) { + errors.push(createCompilerDiagnostic(Diagnostics.Unknown_option_excludes_Did_you_mean_exclude)); + } + const options = convertCompilerOptionsFromJsonWorker(json.compilerOptions, basePath, errors, configFileName); + const typeAcquisition = convertTypeAcquisitionFromJsonWorker(json.typeAcquisition, basePath, errors, configFileName); + const watchOptions = convertWatchOptionsFromJsonWorker(json.watchOptions, basePath, errors); + json.compileOnSave = convertCompileOnSaveOptionFromJson(json, basePath, errors); + const extendedConfigPath = json.extends || json.extends === "" ? getExtendsConfigPathOrArray(json.extends, host, basePath, configFileName, errors) : void 0; + return { raw: json, options, watchOptions, typeAcquisition, extendedConfigPath }; +} +function getExtendsConfigPathOrArray(value, host, basePath, configFileName, errors, propertyAssignment, valueExpression, sourceFile) { + let extendedConfigPath; + const newBase = configFileName ? directoryOfCombinedPath(configFileName, basePath) : basePath; + if (isString(value)) { + extendedConfigPath = getExtendsConfigPath( + value, + host, + newBase, + errors, + valueExpression, + sourceFile + ); + } else if (isArray(value)) { + extendedConfigPath = []; + for (let index = 0; index < value.length; index++) { + const fileName = value[index]; + if (isString(fileName)) { + extendedConfigPath = append( + extendedConfigPath, + getExtendsConfigPath( + fileName, + host, + newBase, + errors, + valueExpression == null ? void 0 : valueExpression.elements[index], + sourceFile + ) + ); + } else { + convertJsonOption(extendsOptionDeclaration.element, value, basePath, errors, propertyAssignment, valueExpression == null ? void 0 : valueExpression.elements[index], sourceFile); + } + } + } else { + convertJsonOption(extendsOptionDeclaration, value, basePath, errors, propertyAssignment, valueExpression, sourceFile); + } + return extendedConfigPath; +} +function parseOwnConfigOfJsonSourceFile(sourceFile, host, basePath, configFileName, errors) { + const options = getDefaultCompilerOptions(configFileName); + let typeAcquisition; + let watchOptions; + let extendedConfigPath; + let rootCompilerOptions; + const rootOptions = getTsconfigRootOptionsMap(); + const json = convertConfigFileToObject( + sourceFile, + errors, + { rootOptions, onPropertySet } + ); + if (!typeAcquisition) { + typeAcquisition = getDefaultTypeAcquisition(configFileName); + } + if (rootCompilerOptions && json && json.compilerOptions === void 0) { + errors.push(createDiagnosticForNodeInSourceFile(sourceFile, rootCompilerOptions[0], Diagnostics._0_should_be_set_inside_the_compilerOptions_object_of_the_config_json_file, getTextOfPropertyName(rootCompilerOptions[0]))); + } + return { raw: json, options, watchOptions, typeAcquisition, extendedConfigPath }; + function onPropertySet(keyText, value, propertyAssignment, parentOption, option) { + if (option && option !== extendsOptionDeclaration) value = convertJsonOption(option, value, basePath, errors, propertyAssignment, propertyAssignment.initializer, sourceFile); + if (parentOption == null ? void 0 : parentOption.name) { + if (option) { + let currentOption; + if (parentOption === compilerOptionsDeclaration) currentOption = options; + else if (parentOption === watchOptionsDeclaration) currentOption = watchOptions ?? (watchOptions = {}); + else if (parentOption === typeAcquisitionDeclaration) currentOption = typeAcquisition ?? (typeAcquisition = getDefaultTypeAcquisition(configFileName)); + else Debug.fail("Unknown option"); + currentOption[option.name] = value; + } else if (keyText && (parentOption == null ? void 0 : parentOption.extraKeyDiagnostics)) { + if (parentOption.elementOptions) { + errors.push(createUnknownOptionError( + keyText, + parentOption.extraKeyDiagnostics, + /*unknownOptionErrorText*/ + void 0, + propertyAssignment.name, + sourceFile + )); + } else { + errors.push(createDiagnosticForNodeInSourceFile(sourceFile, propertyAssignment.name, parentOption.extraKeyDiagnostics.unknownOptionDiagnostic, keyText)); + } + } + } else if (parentOption === rootOptions) { + if (option === extendsOptionDeclaration) { + extendedConfigPath = getExtendsConfigPathOrArray(value, host, basePath, configFileName, errors, propertyAssignment, propertyAssignment.initializer, sourceFile); + } else if (!option) { + if (keyText === "excludes") { + errors.push(createDiagnosticForNodeInSourceFile(sourceFile, propertyAssignment.name, Diagnostics.Unknown_option_excludes_Did_you_mean_exclude)); + } + if (find(commandOptionsWithoutBuild, (opt) => opt.name === keyText)) { + rootCompilerOptions = append(rootCompilerOptions, propertyAssignment.name); + } + } + } + } +} +function getExtendsConfigPath(extendedConfig, host, basePath, errors, valueExpression, sourceFile) { + extendedConfig = normalizeSlashes(extendedConfig); + if (isRootedDiskPath(extendedConfig) || startsWith(extendedConfig, "./") || startsWith(extendedConfig, "../")) { + let extendedConfigPath = getNormalizedAbsolutePath(extendedConfig, basePath); + if (!host.fileExists(extendedConfigPath) && !endsWith(extendedConfigPath, ".json" /* Json */)) { + extendedConfigPath = `${extendedConfigPath}.json`; + if (!host.fileExists(extendedConfigPath)) { + errors.push(createDiagnosticForNodeInSourceFileOrCompilerDiagnostic(sourceFile, valueExpression, Diagnostics.File_0_not_found, extendedConfig)); + return void 0; + } + } + return extendedConfigPath; + } + const resolved = nodeNextJsonConfigResolver(extendedConfig, combinePaths(basePath, "tsconfig.json"), host); + if (resolved.resolvedModule) { + return resolved.resolvedModule.resolvedFileName; + } + if (extendedConfig === "") { + errors.push(createDiagnosticForNodeInSourceFileOrCompilerDiagnostic(sourceFile, valueExpression, Diagnostics.Compiler_option_0_cannot_be_given_an_empty_string, "extends")); + } else { + errors.push(createDiagnosticForNodeInSourceFileOrCompilerDiagnostic(sourceFile, valueExpression, Diagnostics.File_0_not_found, extendedConfig)); + } + return void 0; +} +function getExtendedConfig(sourceFile, extendedConfigPath, host, resolutionStack, errors, extendedConfigCache, result) { + const path = host.useCaseSensitiveFileNames ? extendedConfigPath : toFileNameLowerCase(extendedConfigPath); + let value; + let extendedResult; + let extendedConfig; + if (extendedConfigCache && (value = extendedConfigCache.get(path))) { + ({ extendedResult, extendedConfig } = value); + } else { + extendedResult = readJsonConfigFile(extendedConfigPath, (path2) => host.readFile(path2)); + if (!extendedResult.parseDiagnostics.length) { + extendedConfig = parseConfig( + /*json*/ + void 0, + extendedResult, + host, + getDirectoryPath(extendedConfigPath), + getBaseFileName(extendedConfigPath), + resolutionStack, + errors, + extendedConfigCache + ); + } + if (extendedConfigCache) { + extendedConfigCache.set(path, { extendedResult, extendedConfig }); + } + } + if (sourceFile) { + (result.extendedSourceFiles ?? (result.extendedSourceFiles = /* @__PURE__ */ new Set())).add(extendedResult.fileName); + if (extendedResult.extendedSourceFiles) { + for (const extenedSourceFile of extendedResult.extendedSourceFiles) { + result.extendedSourceFiles.add(extenedSourceFile); + } + } + } + if (extendedResult.parseDiagnostics.length) { + errors.push(...extendedResult.parseDiagnostics); + return void 0; + } + return extendedConfig; +} +function convertCompileOnSaveOptionFromJson(jsonOption, basePath, errors) { + if (!hasProperty(jsonOption, compileOnSaveCommandLineOption.name)) { + return false; + } + const result = convertJsonOption(compileOnSaveCommandLineOption, jsonOption.compileOnSave, basePath, errors); + return typeof result === "boolean" && result; +} +function getDefaultCompilerOptions(configFileName) { + const options = configFileName && getBaseFileName(configFileName) === "jsconfig.json" ? { allowJs: true, maxNodeModuleJsDepth: 2, allowSyntheticDefaultImports: true, skipLibCheck: true, noEmit: true } : {}; + return options; +} +function convertCompilerOptionsFromJsonWorker(jsonOptions, basePath, errors, configFileName) { + const options = getDefaultCompilerOptions(configFileName); + convertOptionsFromJson(getCommandLineCompilerOptionsMap(), jsonOptions, basePath, options, compilerOptionsDidYouMeanDiagnostics, errors); + if (configFileName) { + options.configFilePath = normalizeSlashes(configFileName); + } + return options; +} +function getDefaultTypeAcquisition(configFileName) { + return { enable: !!configFileName && getBaseFileName(configFileName) === "jsconfig.json", include: [], exclude: [] }; +} +function convertTypeAcquisitionFromJsonWorker(jsonOptions, basePath, errors, configFileName) { + const options = getDefaultTypeAcquisition(configFileName); + convertOptionsFromJson(getCommandLineTypeAcquisitionMap(), jsonOptions, basePath, options, typeAcquisitionDidYouMeanDiagnostics, errors); + return options; +} +function convertWatchOptionsFromJsonWorker(jsonOptions, basePath, errors) { + return convertOptionsFromJson( + getCommandLineWatchOptionsMap(), + jsonOptions, + basePath, + /*defaultOptions*/ + void 0, + watchOptionsDidYouMeanDiagnostics, + errors + ); +} +function convertOptionsFromJson(optionsNameMap, jsonOptions, basePath, defaultOptions, diagnostics, errors) { + if (!jsonOptions) { + return; + } + for (const id in jsonOptions) { + const opt = optionsNameMap.get(id); + if (opt) { + (defaultOptions || (defaultOptions = {}))[opt.name] = convertJsonOption(opt, jsonOptions[id], basePath, errors); + } else { + errors.push(createUnknownOptionError(id, diagnostics)); + } + } + return defaultOptions; +} +function createDiagnosticForNodeInSourceFileOrCompilerDiagnostic(sourceFile, node, message, ...args) { + return sourceFile && node ? createDiagnosticForNodeInSourceFile(sourceFile, node, message, ...args) : createCompilerDiagnostic(message, ...args); +} +function convertJsonOption(opt, value, basePath, errors, propertyAssignment, valueExpression, sourceFile) { + if (opt.isCommandLineOnly) { + errors.push(createDiagnosticForNodeInSourceFileOrCompilerDiagnostic(sourceFile, propertyAssignment == null ? void 0 : propertyAssignment.name, Diagnostics.Option_0_can_only_be_specified_on_command_line, opt.name)); + return void 0; + } + if (isCompilerOptionsValue(opt, value)) { + const optType = opt.type; + if (optType === "list" && isArray(value)) { + return convertJsonOptionOfListType(opt, value, basePath, errors, propertyAssignment, valueExpression, sourceFile); + } else if (optType === "listOrElement") { + return isArray(value) ? convertJsonOptionOfListType(opt, value, basePath, errors, propertyAssignment, valueExpression, sourceFile) : convertJsonOption(opt.element, value, basePath, errors, propertyAssignment, valueExpression, sourceFile); + } else if (!isString(opt.type)) { + return convertJsonOptionOfCustomType(opt, value, errors, valueExpression, sourceFile); + } + const validatedValue = validateJsonOptionValue(opt, value, errors, valueExpression, sourceFile); + return isNullOrUndefined(validatedValue) ? validatedValue : normalizeNonListOptionValue(opt, basePath, validatedValue); + } else { + errors.push(createDiagnosticForNodeInSourceFileOrCompilerDiagnostic(sourceFile, valueExpression, Diagnostics.Compiler_option_0_requires_a_value_of_type_1, opt.name, getCompilerOptionValueTypeString(opt))); + } +} +function normalizeNonListOptionValue(option, basePath, value) { + if (option.isFilePath) { + value = normalizeSlashes(value); + value = !startsWithConfigDirTemplate(value) ? getNormalizedAbsolutePath(value, basePath) : value; + if (value === "") { + value = "."; + } + } + return value; +} +function validateJsonOptionValue(opt, value, errors, valueExpression, sourceFile) { + var _a; + if (isNullOrUndefined(value)) return void 0; + const d = (_a = opt.extraValidation) == null ? void 0 : _a.call(opt, value); + if (!d) return value; + errors.push(createDiagnosticForNodeInSourceFileOrCompilerDiagnostic(sourceFile, valueExpression, ...d)); + return void 0; +} +function convertJsonOptionOfCustomType(opt, value, errors, valueExpression, sourceFile) { + if (isNullOrUndefined(value)) return void 0; + const key = value.toLowerCase(); + const val = opt.type.get(key); + if (val !== void 0) { + return validateJsonOptionValue(opt, val, errors, valueExpression, sourceFile); + } else { + errors.push(createDiagnosticForInvalidCustomType(opt, (message, ...args) => createDiagnosticForNodeInSourceFileOrCompilerDiagnostic(sourceFile, valueExpression, message, ...args))); + } +} +function convertJsonOptionOfListType(option, values, basePath, errors, propertyAssignment, valueExpression, sourceFile) { + return filter(map(values, (v, index) => convertJsonOption(option.element, v, basePath, errors, propertyAssignment, valueExpression == null ? void 0 : valueExpression.elements[index], sourceFile)), (v) => option.listPreserveFalsyValues ? true : !!v); +} +var invalidTrailingRecursionPattern = /(?:^|\/)\*\*\/?$/; +var wildcardDirectoryPattern = /^[^*?]*(?=\/[^/]*[*?])/; +function getFileNamesFromConfigSpecs(configFileSpecs, basePath, options, host, extraFileExtensions = emptyArray) { + basePath = normalizePath(basePath); + const keyMapper = createGetCanonicalFileName(host.useCaseSensitiveFileNames); + const literalFileMap = /* @__PURE__ */ new Map(); + const wildcardFileMap = /* @__PURE__ */ new Map(); + const wildCardJsonFileMap = /* @__PURE__ */ new Map(); + const { validatedFilesSpec, validatedIncludeSpecs, validatedExcludeSpecs } = configFileSpecs; + const supportedExtensions = getSupportedExtensions(options, extraFileExtensions); + const supportedExtensionsWithJsonIfResolveJsonModule = getSupportedExtensionsWithJsonIfResolveJsonModule(options, supportedExtensions); + if (validatedFilesSpec) { + for (const fileName of validatedFilesSpec) { + const file = getNormalizedAbsolutePath(fileName, basePath); + literalFileMap.set(keyMapper(file), file); + } + } + let jsonOnlyIncludeRegexes; + if (validatedIncludeSpecs && validatedIncludeSpecs.length > 0) { + for (const file of host.readDirectory( + basePath, + flatten(supportedExtensionsWithJsonIfResolveJsonModule), + validatedExcludeSpecs, + validatedIncludeSpecs, + /*depth*/ + void 0 + )) { + if (fileExtensionIs(file, ".json" /* Json */)) { + if (!jsonOnlyIncludeRegexes) { + const includes = validatedIncludeSpecs.filter((s) => endsWith(s, ".json" /* Json */)); + const includeFilePatterns = map(getRegularExpressionsForWildcards(includes, basePath, "files"), (pattern) => `^${pattern}$`); + jsonOnlyIncludeRegexes = includeFilePatterns ? includeFilePatterns.map((pattern) => getRegexFromPattern(pattern, host.useCaseSensitiveFileNames)) : emptyArray; + } + const includeIndex = findIndex(jsonOnlyIncludeRegexes, (re) => re.test(file)); + if (includeIndex !== -1) { + const key2 = keyMapper(file); + if (!literalFileMap.has(key2) && !wildCardJsonFileMap.has(key2)) { + wildCardJsonFileMap.set(key2, file); + } + } + continue; + } + if (hasFileWithHigherPriorityExtension(file, literalFileMap, wildcardFileMap, supportedExtensions, keyMapper)) { + continue; + } + removeWildcardFilesWithLowerPriorityExtension(file, wildcardFileMap, supportedExtensions, keyMapper); + const key = keyMapper(file); + if (!literalFileMap.has(key) && !wildcardFileMap.has(key)) { + wildcardFileMap.set(key, file); + } + } + } + const literalFiles = arrayFrom(literalFileMap.values()); + const wildcardFiles = arrayFrom(wildcardFileMap.values()); + return literalFiles.concat(wildcardFiles, arrayFrom(wildCardJsonFileMap.values())); +} +function isExcludedFile(pathToCheck, spec, basePath, useCaseSensitiveFileNames2, currentDirectory) { + const { validatedFilesSpec, validatedIncludeSpecs, validatedExcludeSpecs } = spec; + if (!length(validatedIncludeSpecs) || !length(validatedExcludeSpecs)) return false; + basePath = normalizePath(basePath); + const keyMapper = createGetCanonicalFileName(useCaseSensitiveFileNames2); + if (validatedFilesSpec) { + for (const fileName of validatedFilesSpec) { + if (keyMapper(getNormalizedAbsolutePath(fileName, basePath)) === pathToCheck) return false; + } + } + return matchesExcludeWorker(pathToCheck, validatedExcludeSpecs, useCaseSensitiveFileNames2, currentDirectory, basePath); +} +function invalidDotDotAfterRecursiveWildcard(s) { + const wildcardIndex = startsWith(s, "**/") ? 0 : s.indexOf("/**/"); + if (wildcardIndex === -1) { + return false; + } + const lastDotIndex = endsWith(s, "/..") ? s.length : s.lastIndexOf("/../"); + return lastDotIndex > wildcardIndex; +} +function matchesExclude(pathToCheck, excludeSpecs, useCaseSensitiveFileNames2, currentDirectory) { + return matchesExcludeWorker( + pathToCheck, + filter(excludeSpecs, (spec) => !invalidDotDotAfterRecursiveWildcard(spec)), + useCaseSensitiveFileNames2, + currentDirectory + ); +} +function matchesExcludeWorker(pathToCheck, excludeSpecs, useCaseSensitiveFileNames2, currentDirectory, basePath) { + const excludePattern = getRegularExpressionForWildcard(excludeSpecs, combinePaths(normalizePath(currentDirectory), basePath), "exclude"); + const excludeRegex = excludePattern && getRegexFromPattern(excludePattern, useCaseSensitiveFileNames2); + if (!excludeRegex) return false; + if (excludeRegex.test(pathToCheck)) return true; + return !hasExtension(pathToCheck) && excludeRegex.test(ensureTrailingDirectorySeparator(pathToCheck)); +} +function validateSpecs(specs, errors, disallowTrailingRecursion, jsonSourceFile, specKey) { + return specs.filter((spec) => { + if (!isString(spec)) return false; + const diag2 = specToDiagnostic(spec, disallowTrailingRecursion); + if (diag2 !== void 0) { + errors.push(createDiagnostic(...diag2)); + } + return diag2 === void 0; + }); + function createDiagnostic(message, spec) { + const element = getTsConfigPropArrayElementValue(jsonSourceFile, specKey, spec); + return createDiagnosticForNodeInSourceFileOrCompilerDiagnostic(jsonSourceFile, element, message, spec); + } +} +function specToDiagnostic(spec, disallowTrailingRecursion) { + Debug.assert(typeof spec === "string"); + if (disallowTrailingRecursion && invalidTrailingRecursionPattern.test(spec)) { + return [Diagnostics.File_specification_cannot_end_in_a_recursive_directory_wildcard_Asterisk_Asterisk_Colon_0, spec]; + } else if (invalidDotDotAfterRecursiveWildcard(spec)) { + return [Diagnostics.File_specification_cannot_contain_a_parent_directory_that_appears_after_a_recursive_directory_wildcard_Asterisk_Asterisk_Colon_0, spec]; + } +} +function getWildcardDirectories({ validatedIncludeSpecs: include, validatedExcludeSpecs: exclude }, basePath, useCaseSensitiveFileNames2) { + const rawExcludeRegex = getRegularExpressionForWildcard(exclude, basePath, "exclude"); + const excludeRegex = rawExcludeRegex && new RegExp(rawExcludeRegex, useCaseSensitiveFileNames2 ? "" : "i"); + const wildcardDirectories = {}; + const wildCardKeyToPath = /* @__PURE__ */ new Map(); + if (include !== void 0) { + const recursiveKeys = []; + for (const file of include) { + const spec = normalizePath(combinePaths(basePath, file)); + if (excludeRegex && excludeRegex.test(spec)) { + continue; + } + const match = getWildcardDirectoryFromSpec(spec, useCaseSensitiveFileNames2); + if (match) { + const { key, path, flags } = match; + const existingPath = wildCardKeyToPath.get(key); + const existingFlags = existingPath !== void 0 ? wildcardDirectories[existingPath] : void 0; + if (existingFlags === void 0 || existingFlags < flags) { + wildcardDirectories[existingPath !== void 0 ? existingPath : path] = flags; + if (existingPath === void 0) wildCardKeyToPath.set(key, path); + if (flags === 1 /* Recursive */) { + recursiveKeys.push(key); + } + } + } + } + for (const path in wildcardDirectories) { + if (hasProperty(wildcardDirectories, path)) { + for (const recursiveKey of recursiveKeys) { + const key = toCanonicalKey(path, useCaseSensitiveFileNames2); + if (key !== recursiveKey && containsPath(recursiveKey, key, basePath, !useCaseSensitiveFileNames2)) { + delete wildcardDirectories[path]; + } + } + } + } + } + return wildcardDirectories; +} +function toCanonicalKey(path, useCaseSensitiveFileNames2) { + return useCaseSensitiveFileNames2 ? path : toFileNameLowerCase(path); +} +function getWildcardDirectoryFromSpec(spec, useCaseSensitiveFileNames2) { + const match = wildcardDirectoryPattern.exec(spec); + if (match) { + const questionWildcardIndex = spec.indexOf("?"); + const starWildcardIndex = spec.indexOf("*"); + const lastDirectorySeperatorIndex = spec.lastIndexOf(directorySeparator); + return { + key: toCanonicalKey(match[0], useCaseSensitiveFileNames2), + path: match[0], + flags: questionWildcardIndex !== -1 && questionWildcardIndex < lastDirectorySeperatorIndex || starWildcardIndex !== -1 && starWildcardIndex < lastDirectorySeperatorIndex ? 1 /* Recursive */ : 0 /* None */ + }; + } + if (isImplicitGlob(spec.substring(spec.lastIndexOf(directorySeparator) + 1))) { + const path = removeTrailingDirectorySeparator(spec); + return { + key: toCanonicalKey(path, useCaseSensitiveFileNames2), + path, + flags: 1 /* Recursive */ + }; + } + return void 0; +} +function hasFileWithHigherPriorityExtension(file, literalFiles, wildcardFiles, extensions, keyMapper) { + const extensionGroup = forEach(extensions, (group2) => fileExtensionIsOneOf(file, group2) ? group2 : void 0); + if (!extensionGroup) { + return false; + } + for (const ext of extensionGroup) { + if (fileExtensionIs(file, ext) && (ext !== ".ts" /* Ts */ || !fileExtensionIs(file, ".d.ts" /* Dts */))) { + return false; + } + const higherPriorityPath = keyMapper(changeExtension(file, ext)); + if (literalFiles.has(higherPriorityPath) || wildcardFiles.has(higherPriorityPath)) { + if (ext === ".d.ts" /* Dts */ && (fileExtensionIs(file, ".js" /* Js */) || fileExtensionIs(file, ".jsx" /* Jsx */))) { + continue; + } + return true; + } + } + return false; +} +function removeWildcardFilesWithLowerPriorityExtension(file, wildcardFiles, extensions, keyMapper) { + const extensionGroup = forEach(extensions, (group2) => fileExtensionIsOneOf(file, group2) ? group2 : void 0); + if (!extensionGroup) { + return; + } + for (let i = extensionGroup.length - 1; i >= 0; i--) { + const ext = extensionGroup[i]; + if (fileExtensionIs(file, ext)) { + return; + } + const lowerPriorityPath = keyMapper(changeExtension(file, ext)); + wildcardFiles.delete(lowerPriorityPath); + } +} +function getDefaultValueForOption(option) { + switch (option.type) { + case "number": + return 1; + case "boolean": + return true; + case "string": + const defaultValue = option.defaultValueDescription; + return option.isFilePath ? `./${defaultValue && typeof defaultValue === "string" ? defaultValue : ""}` : ""; + case "list": + return []; + case "listOrElement": + return getDefaultValueForOption(option.element); + case "object": + return {}; + default: + const value = firstOrUndefinedIterator(option.type.keys()); + if (value !== void 0) return value; + return Debug.fail("Expected 'option.type' to have entries."); + } +} + +// src/compiler/moduleNameResolver.ts +function trace(host, message, ...args) { + host.trace(formatMessage(message, ...args)); +} +function isTraceEnabled(compilerOptions, host) { + return !!compilerOptions.traceResolution && host.trace !== void 0; +} +function withPackageId(packageInfo, r, state) { + let packageId; + if (r && packageInfo) { + const packageJsonContent = packageInfo.contents.packageJsonContent; + if (typeof packageJsonContent.name === "string" && typeof packageJsonContent.version === "string") { + packageId = { + name: packageJsonContent.name, + subModuleName: r.path.slice(packageInfo.packageDirectory.length + directorySeparator.length), + version: packageJsonContent.version, + peerDependencies: getPeerDependenciesOfPackageJsonInfo(packageInfo, state) + }; + } + } + return r && { path: r.path, extension: r.ext, packageId, resolvedUsingTsExtension: r.resolvedUsingTsExtension }; +} +function noPackageId(r) { + return withPackageId( + /*packageInfo*/ + void 0, + r, + /*state*/ + void 0 + ); +} +function removeIgnoredPackageId(r) { + if (r) { + Debug.assert(r.packageId === void 0); + return { path: r.path, ext: r.extension, resolvedUsingTsExtension: r.resolvedUsingTsExtension }; + } +} +function formatExtensions(extensions) { + const result = []; + if (extensions & 1 /* TypeScript */) result.push("TypeScript"); + if (extensions & 2 /* JavaScript */) result.push("JavaScript"); + if (extensions & 4 /* Declaration */) result.push("Declaration"); + if (extensions & 8 /* Json */) result.push("JSON"); + return result.join(", "); +} +function resolvedTypeScriptOnly(resolved) { + if (!resolved) { + return void 0; + } + Debug.assert(extensionIsTS(resolved.extension)); + return { fileName: resolved.path, packageId: resolved.packageId }; +} +function createResolvedModuleWithFailedLookupLocationsHandlingSymlink(moduleName, resolved, isExternalLibraryImport, failedLookupLocations, affectingLocations, diagnostics, state, cache, alternateResult) { + if (!state.resultFromCache && !state.compilerOptions.preserveSymlinks && resolved && isExternalLibraryImport && !resolved.originalPath && !isExternalModuleNameRelative(moduleName)) { + const { resolvedFileName, originalPath } = getOriginalAndResolvedFileName(resolved.path, state.host, state.traceEnabled); + if (originalPath) resolved = { ...resolved, path: resolvedFileName, originalPath }; + } + return createResolvedModuleWithFailedLookupLocations( + resolved, + isExternalLibraryImport, + failedLookupLocations, + affectingLocations, + diagnostics, + state.resultFromCache, + cache, + alternateResult + ); +} +function createResolvedModuleWithFailedLookupLocations(resolved, isExternalLibraryImport, failedLookupLocations, affectingLocations, diagnostics, resultFromCache, cache, alternateResult) { + if (resultFromCache) { + if (!(cache == null ? void 0 : cache.isReadonly)) { + resultFromCache.failedLookupLocations = updateResolutionField(resultFromCache.failedLookupLocations, failedLookupLocations); + resultFromCache.affectingLocations = updateResolutionField(resultFromCache.affectingLocations, affectingLocations); + resultFromCache.resolutionDiagnostics = updateResolutionField(resultFromCache.resolutionDiagnostics, diagnostics); + return resultFromCache; + } else { + return { + ...resultFromCache, + failedLookupLocations: initializeResolutionFieldForReadonlyCache(resultFromCache.failedLookupLocations, failedLookupLocations), + affectingLocations: initializeResolutionFieldForReadonlyCache(resultFromCache.affectingLocations, affectingLocations), + resolutionDiagnostics: initializeResolutionFieldForReadonlyCache(resultFromCache.resolutionDiagnostics, diagnostics) + }; + } + } + return { + resolvedModule: resolved && { + resolvedFileName: resolved.path, + originalPath: resolved.originalPath === true ? void 0 : resolved.originalPath, + extension: resolved.extension, + isExternalLibraryImport, + packageId: resolved.packageId, + resolvedUsingTsExtension: !!resolved.resolvedUsingTsExtension + }, + failedLookupLocations: initializeResolutionField(failedLookupLocations), + affectingLocations: initializeResolutionField(affectingLocations), + resolutionDiagnostics: initializeResolutionField(diagnostics), + alternateResult + }; +} +function initializeResolutionField(value) { + return value.length ? value : void 0; +} +function updateResolutionField(to, value) { + if (!(value == null ? void 0 : value.length)) return to; + if (!(to == null ? void 0 : to.length)) return value; + to.push(...value); + return to; +} +function initializeResolutionFieldForReadonlyCache(fromCache, value) { + if (!(fromCache == null ? void 0 : fromCache.length)) return initializeResolutionField(value); + if (!value.length) return fromCache.slice(); + return [...fromCache, ...value]; +} +function readPackageJsonField(jsonContent, fieldName, typeOfTag, state) { + if (!hasProperty(jsonContent, fieldName)) { + if (state.traceEnabled) { + trace(state.host, Diagnostics.package_json_does_not_have_a_0_field, fieldName); + } + return; + } + const value = jsonContent[fieldName]; + if (typeof value !== typeOfTag || value === null) { + if (state.traceEnabled) { + trace(state.host, Diagnostics.Expected_type_of_0_field_in_package_json_to_be_1_got_2, fieldName, typeOfTag, value === null ? "null" : typeof value); + } + return; + } + return value; +} +function readPackageJsonPathField(jsonContent, fieldName, baseDirectory, state) { + const fileName = readPackageJsonField(jsonContent, fieldName, "string", state); + if (fileName === void 0) { + return; + } + if (!fileName) { + if (state.traceEnabled) { + trace(state.host, Diagnostics.package_json_had_a_falsy_0_field, fieldName); + } + return; + } + const path = normalizePath(combinePaths(baseDirectory, fileName)); + if (state.traceEnabled) { + trace(state.host, Diagnostics.package_json_has_0_field_1_that_references_2, fieldName, fileName, path); + } + return path; +} +function readPackageJsonTypesFields(jsonContent, baseDirectory, state) { + return readPackageJsonPathField(jsonContent, "typings", baseDirectory, state) || readPackageJsonPathField(jsonContent, "types", baseDirectory, state); +} +function readPackageJsonTSConfigField(jsonContent, baseDirectory, state) { + return readPackageJsonPathField(jsonContent, "tsconfig", baseDirectory, state); +} +function readPackageJsonMainField(jsonContent, baseDirectory, state) { + return readPackageJsonPathField(jsonContent, "main", baseDirectory, state); +} +function readPackageJsonTypesVersionsField(jsonContent, state) { + const typesVersions = readPackageJsonField(jsonContent, "typesVersions", "object", state); + if (typesVersions === void 0) return; + if (state.traceEnabled) { + trace(state.host, Diagnostics.package_json_has_a_typesVersions_field_with_version_specific_path_mappings); + } + return typesVersions; +} +function readPackageJsonTypesVersionPaths(jsonContent, state) { + const typesVersions = readPackageJsonTypesVersionsField(jsonContent, state); + if (typesVersions === void 0) return; + if (state.traceEnabled) { + for (const key in typesVersions) { + if (hasProperty(typesVersions, key) && !VersionRange.tryParse(key)) { + trace(state.host, Diagnostics.package_json_has_a_typesVersions_entry_0_that_is_not_a_valid_semver_range, key); + } + } + } + const result = getPackageJsonTypesVersionsPaths(typesVersions); + if (!result) { + if (state.traceEnabled) { + trace(state.host, Diagnostics.package_json_does_not_have_a_typesVersions_entry_that_matches_version_0, versionMajorMinor); + } + return; + } + const { version: bestVersionKey, paths: bestVersionPaths } = result; + if (typeof bestVersionPaths !== "object") { + if (state.traceEnabled) { + trace(state.host, Diagnostics.Expected_type_of_0_field_in_package_json_to_be_1_got_2, `typesVersions['${bestVersionKey}']`, "object", typeof bestVersionPaths); + } + return; + } + return result; +} +var typeScriptVersion; +function getPackageJsonTypesVersionsPaths(typesVersions) { + if (!typeScriptVersion) typeScriptVersion = new Version(version); + for (const key in typesVersions) { + if (!hasProperty(typesVersions, key)) continue; + const keyRange = VersionRange.tryParse(key); + if (keyRange === void 0) { + continue; + } + if (keyRange.test(typeScriptVersion)) { + return { version: key, paths: typesVersions[key] }; + } + } +} +function getEffectiveTypeRoots(options, host) { + if (options.typeRoots) { + return options.typeRoots; + } + let currentDirectory; + if (options.configFilePath) { + currentDirectory = getDirectoryPath(options.configFilePath); + } else if (host.getCurrentDirectory) { + currentDirectory = host.getCurrentDirectory(); + } + if (currentDirectory !== void 0) { + return getDefaultTypeRoots(currentDirectory); + } +} +function getDefaultTypeRoots(currentDirectory) { + let typeRoots; + forEachAncestorDirectory(normalizePath(currentDirectory), (directory) => { + const atTypes = combinePaths(directory, nodeModulesAtTypes); + (typeRoots ?? (typeRoots = [])).push(atTypes); + }); + return typeRoots; +} +var nodeModulesAtTypes = combinePaths("node_modules", "@types"); +function arePathsEqual(path1, path2, host) { + const useCaseSensitiveFileNames2 = typeof host.useCaseSensitiveFileNames === "function" ? host.useCaseSensitiveFileNames() : host.useCaseSensitiveFileNames; + return comparePaths(path1, path2, !useCaseSensitiveFileNames2) === 0 /* EqualTo */; +} +function getOriginalAndResolvedFileName(fileName, host, traceEnabled) { + const resolvedFileName = realPath(fileName, host, traceEnabled); + const pathsAreEqual = arePathsEqual(fileName, resolvedFileName, host); + return { + // If the fileName and realpath are differing only in casing prefer fileName so that we can issue correct errors for casing under forceConsistentCasingInFileNames + resolvedFileName: pathsAreEqual ? fileName : resolvedFileName, + originalPath: pathsAreEqual ? void 0 : fileName + }; +} +function getCandidateFromTypeRoot(typeRoot, typeReferenceDirectiveName, moduleResolutionState) { + const nameForLookup = endsWith(typeRoot, "/node_modules/@types") || endsWith(typeRoot, "/node_modules/@types/") ? mangleScopedPackageNameWithTrace(typeReferenceDirectiveName, moduleResolutionState) : typeReferenceDirectiveName; + return combinePaths(typeRoot, nameForLookup); +} +function resolveTypeReferenceDirective(typeReferenceDirectiveName, containingFile, options, host, redirectedReference, cache, resolutionMode) { + Debug.assert(typeof typeReferenceDirectiveName === "string", "Non-string value passed to `ts.resolveTypeReferenceDirective`, likely by a wrapping package working with an outdated `resolveTypeReferenceDirectives` signature. This is probably not a problem in TS itself."); + const traceEnabled = isTraceEnabled(options, host); + if (redirectedReference) { + options = redirectedReference.commandLine.options; + } + const containingDirectory = containingFile ? getDirectoryPath(containingFile) : void 0; + let result = containingDirectory ? cache == null ? void 0 : cache.getFromDirectoryCache(typeReferenceDirectiveName, resolutionMode, containingDirectory, redirectedReference) : void 0; + if (!result && containingDirectory && !isExternalModuleNameRelative(typeReferenceDirectiveName)) { + result = cache == null ? void 0 : cache.getFromNonRelativeNameCache(typeReferenceDirectiveName, resolutionMode, containingDirectory, redirectedReference); + } + if (result) { + if (traceEnabled) { + trace(host, Diagnostics.Resolving_type_reference_directive_0_containing_file_1, typeReferenceDirectiveName, containingFile); + if (redirectedReference) trace(host, Diagnostics.Using_compiler_options_of_project_reference_redirect_0, redirectedReference.sourceFile.fileName); + trace(host, Diagnostics.Resolution_for_type_reference_directive_0_was_found_in_cache_from_location_1, typeReferenceDirectiveName, containingDirectory); + traceResult(result); + } + return result; + } + const typeRoots = getEffectiveTypeRoots(options, host); + if (traceEnabled) { + if (containingFile === void 0) { + if (typeRoots === void 0) { + trace(host, Diagnostics.Resolving_type_reference_directive_0_containing_file_not_set_root_directory_not_set, typeReferenceDirectiveName); + } else { + trace(host, Diagnostics.Resolving_type_reference_directive_0_containing_file_not_set_root_directory_1, typeReferenceDirectiveName, typeRoots); + } + } else { + if (typeRoots === void 0) { + trace(host, Diagnostics.Resolving_type_reference_directive_0_containing_file_1_root_directory_not_set, typeReferenceDirectiveName, containingFile); + } else { + trace(host, Diagnostics.Resolving_type_reference_directive_0_containing_file_1_root_directory_2, typeReferenceDirectiveName, containingFile, typeRoots); + } + } + if (redirectedReference) { + trace(host, Diagnostics.Using_compiler_options_of_project_reference_redirect_0, redirectedReference.sourceFile.fileName); + } + } + const failedLookupLocations = []; + const affectingLocations = []; + let features = getNodeResolutionFeatures(options); + if (resolutionMode !== void 0) { + features |= 30 /* AllFeatures */; + } + const moduleResolution = getEmitModuleResolutionKind(options); + if (resolutionMode === 99 /* ESNext */ && (3 /* Node16 */ <= moduleResolution && moduleResolution <= 99 /* NodeNext */)) { + features |= 32 /* EsmMode */; + } + const conditions = features & 8 /* Exports */ ? getConditions(options, resolutionMode) : []; + const diagnostics = []; + const moduleResolutionState = { + compilerOptions: options, + host, + traceEnabled, + failedLookupLocations, + affectingLocations, + packageJsonInfoCache: cache, + features, + conditions, + requestContainingDirectory: containingDirectory, + reportDiagnostic: (diag2) => void diagnostics.push(diag2), + isConfigLookup: false, + candidateIsFromPackageJsonField: false, + resolvedPackageDirectory: false + }; + let resolved = primaryLookup(); + let primary = true; + if (!resolved) { + resolved = secondaryLookup(); + primary = false; + } + let resolvedTypeReferenceDirective; + if (resolved) { + const { fileName, packageId } = resolved; + let resolvedFileName = fileName, originalPath; + if (!options.preserveSymlinks) ({ resolvedFileName, originalPath } = getOriginalAndResolvedFileName(fileName, host, traceEnabled)); + resolvedTypeReferenceDirective = { + primary, + resolvedFileName, + originalPath, + packageId, + isExternalLibraryImport: pathContainsNodeModules(fileName) + }; + } + result = { + resolvedTypeReferenceDirective, + failedLookupLocations: initializeResolutionField(failedLookupLocations), + affectingLocations: initializeResolutionField(affectingLocations), + resolutionDiagnostics: initializeResolutionField(diagnostics) + }; + if (containingDirectory && cache && !cache.isReadonly) { + cache.getOrCreateCacheForDirectory(containingDirectory, redirectedReference).set( + typeReferenceDirectiveName, + /*mode*/ + resolutionMode, + result + ); + if (!isExternalModuleNameRelative(typeReferenceDirectiveName)) { + cache.getOrCreateCacheForNonRelativeName(typeReferenceDirectiveName, resolutionMode, redirectedReference).set(containingDirectory, result); + } + } + if (traceEnabled) traceResult(result); + return result; + function traceResult(result2) { + var _a; + if (!((_a = result2.resolvedTypeReferenceDirective) == null ? void 0 : _a.resolvedFileName)) { + trace(host, Diagnostics.Type_reference_directive_0_was_not_resolved, typeReferenceDirectiveName); + } else if (result2.resolvedTypeReferenceDirective.packageId) { + trace(host, Diagnostics.Type_reference_directive_0_was_successfully_resolved_to_1_with_Package_ID_2_primary_Colon_3, typeReferenceDirectiveName, result2.resolvedTypeReferenceDirective.resolvedFileName, packageIdToString(result2.resolvedTypeReferenceDirective.packageId), result2.resolvedTypeReferenceDirective.primary); + } else { + trace(host, Diagnostics.Type_reference_directive_0_was_successfully_resolved_to_1_primary_Colon_2, typeReferenceDirectiveName, result2.resolvedTypeReferenceDirective.resolvedFileName, result2.resolvedTypeReferenceDirective.primary); + } + } + function primaryLookup() { + if (typeRoots && typeRoots.length) { + if (traceEnabled) { + trace(host, Diagnostics.Resolving_with_primary_search_path_0, typeRoots.join(", ")); + } + return firstDefined(typeRoots, (typeRoot) => { + const candidate = getCandidateFromTypeRoot(typeRoot, typeReferenceDirectiveName, moduleResolutionState); + const directoryExists = directoryProbablyExists(typeRoot, host); + if (!directoryExists && traceEnabled) { + trace(host, Diagnostics.Directory_0_does_not_exist_skipping_all_lookups_in_it, typeRoot); + } + if (options.typeRoots) { + const resolvedFromFile = loadModuleFromFile(4 /* Declaration */, candidate, !directoryExists, moduleResolutionState); + if (resolvedFromFile) { + const packageDirectory = parseNodeModuleFromPath(resolvedFromFile.path); + const packageInfo = packageDirectory ? getPackageJsonInfo( + packageDirectory, + /*onlyRecordFailures*/ + false, + moduleResolutionState + ) : void 0; + return resolvedTypeScriptOnly(withPackageId(packageInfo, resolvedFromFile, moduleResolutionState)); + } + } + return resolvedTypeScriptOnly( + loadNodeModuleFromDirectory(4 /* Declaration */, candidate, !directoryExists, moduleResolutionState) + ); + }); + } else { + if (traceEnabled) { + trace(host, Diagnostics.Root_directory_cannot_be_determined_skipping_primary_search_paths); + } + } + } + function secondaryLookup() { + const initialLocationForSecondaryLookup = containingFile && getDirectoryPath(containingFile); + if (initialLocationForSecondaryLookup !== void 0) { + let result2; + if (!options.typeRoots || !endsWith(containingFile, inferredTypesContainingFile)) { + if (traceEnabled) { + trace(host, Diagnostics.Looking_up_in_node_modules_folder_initial_location_0, initialLocationForSecondaryLookup); + } + if (!isExternalModuleNameRelative(typeReferenceDirectiveName)) { + const searchResult = loadModuleFromNearestNodeModulesDirectory( + 4 /* Declaration */, + typeReferenceDirectiveName, + initialLocationForSecondaryLookup, + moduleResolutionState, + /*cache*/ + void 0, + /*redirectedReference*/ + void 0 + ); + result2 = searchResult && searchResult.value; + } else { + const { path: candidate } = normalizePathForCJSResolution(initialLocationForSecondaryLookup, typeReferenceDirectiveName); + result2 = nodeLoadModuleByRelativeName( + 4 /* Declaration */, + candidate, + /*onlyRecordFailures*/ + false, + moduleResolutionState, + /*considerPackageJson*/ + true + ); + } + } else if (traceEnabled) { + trace(host, Diagnostics.Resolving_type_reference_directive_for_program_that_specifies_custom_typeRoots_skipping_lookup_in_node_modules_folder); + } + return resolvedTypeScriptOnly(result2); + } else { + if (traceEnabled) { + trace(host, Diagnostics.Containing_file_is_not_specified_and_root_directory_cannot_be_determined_skipping_lookup_in_node_modules_folder); + } + } + } +} +function getNodeResolutionFeatures(options) { + let features = 0 /* None */; + switch (getEmitModuleResolutionKind(options)) { + case 3 /* Node16 */: + features = 30 /* Node16Default */; + break; + case 99 /* NodeNext */: + features = 30 /* NodeNextDefault */; + break; + case 100 /* Bundler */: + features = 30 /* BundlerDefault */; + break; + } + if (options.resolvePackageJsonExports) { + features |= 8 /* Exports */; + } else if (options.resolvePackageJsonExports === false) { + features &= ~8 /* Exports */; + } + if (options.resolvePackageJsonImports) { + features |= 2 /* Imports */; + } else if (options.resolvePackageJsonImports === false) { + features &= ~2 /* Imports */; + } + return features; +} +function getConditions(options, resolutionMode) { + const moduleResolution = getEmitModuleResolutionKind(options); + if (resolutionMode === void 0) { + if (moduleResolution === 100 /* Bundler */) { + resolutionMode = 99 /* ESNext */; + } else if (moduleResolution === 2 /* Node10 */) { + return []; + } + } + const conditions = resolutionMode === 99 /* ESNext */ ? ["import"] : ["require"]; + if (!options.noDtsResolution) { + conditions.push("types"); + } + if (moduleResolution !== 100 /* Bundler */) { + conditions.push("node"); + } + return concatenate(conditions, options.customConditions); +} +function getAutomaticTypeDirectiveNames(options, host) { + if (options.types) { + return options.types; + } + const result = []; + if (host.directoryExists && host.getDirectories) { + const typeRoots = getEffectiveTypeRoots(options, host); + if (typeRoots) { + for (const root of typeRoots) { + if (host.directoryExists(root)) { + for (const typeDirectivePath of host.getDirectories(root)) { + const normalized = normalizePath(typeDirectivePath); + const packageJsonPath = combinePaths(root, normalized, "package.json"); + const isNotNeededPackage = host.fileExists(packageJsonPath) && readJson(packageJsonPath, host).typings === null; + if (!isNotNeededPackage) { + const baseFileName = getBaseFileName(normalized); + if (baseFileName.charCodeAt(0) !== 46 /* dot */) { + result.push(baseFileName); + } + } + } + } + } + } + } + return result; +} +function isPackageJsonInfo(entry) { + return !!(entry == null ? void 0 : entry.contents); +} +function isMissingPackageJsonInfo(entry) { + return !!entry && !entry.contents; +} +function compilerOptionValueToString(value) { + var _a; + if (value === null || typeof value !== "object") { + return "" + value; + } + if (isArray(value)) { + return `[${(_a = value.map((e) => compilerOptionValueToString(e))) == null ? void 0 : _a.join(",")}]`; + } + let str = "{"; + for (const key in value) { + if (hasProperty(value, key)) { + str += `${key}: ${compilerOptionValueToString(value[key])}`; + } + } + return str + "}"; +} +function getKeyForCompilerOptions(options, affectingOptionDeclarations) { + return affectingOptionDeclarations.map((option) => compilerOptionValueToString(getCompilerOptionValue(options, option))).join("|") + `|${options.pathsBasePath}`; +} +function createCacheWithRedirects(ownOptions, optionsToRedirectsKey) { + const redirectsMap = /* @__PURE__ */ new Map(); + const redirectsKeyToMap = /* @__PURE__ */ new Map(); + let ownMap = /* @__PURE__ */ new Map(); + if (ownOptions) redirectsMap.set(ownOptions, ownMap); + return { + getMapOfCacheRedirects, + getOrCreateMapOfCacheRedirects, + update, + clear: clear2, + getOwnMap: () => ownMap + }; + function getMapOfCacheRedirects(redirectedReference) { + return redirectedReference ? getOrCreateMap( + redirectedReference.commandLine.options, + /*create*/ + false + ) : ownMap; + } + function getOrCreateMapOfCacheRedirects(redirectedReference) { + return redirectedReference ? getOrCreateMap( + redirectedReference.commandLine.options, + /*create*/ + true + ) : ownMap; + } + function update(newOptions) { + if (ownOptions !== newOptions) { + if (ownOptions) ownMap = getOrCreateMap( + newOptions, + /*create*/ + true + ); + else redirectsMap.set(newOptions, ownMap); + ownOptions = newOptions; + } + } + function getOrCreateMap(redirectOptions, create) { + let result = redirectsMap.get(redirectOptions); + if (result) return result; + const key = getRedirectsCacheKey(redirectOptions); + result = redirectsKeyToMap.get(key); + if (!result) { + if (ownOptions) { + const ownKey = getRedirectsCacheKey(ownOptions); + if (ownKey === key) result = ownMap; + else if (!redirectsKeyToMap.has(ownKey)) redirectsKeyToMap.set(ownKey, ownMap); + } + if (create) result ?? (result = /* @__PURE__ */ new Map()); + if (result) redirectsKeyToMap.set(key, result); + } + if (result) redirectsMap.set(redirectOptions, result); + return result; + } + function clear2() { + const ownKey = ownOptions && optionsToRedirectsKey.get(ownOptions); + ownMap.clear(); + redirectsMap.clear(); + optionsToRedirectsKey.clear(); + redirectsKeyToMap.clear(); + if (ownOptions) { + if (ownKey) optionsToRedirectsKey.set(ownOptions, ownKey); + redirectsMap.set(ownOptions, ownMap); + } + } + function getRedirectsCacheKey(options) { + let result = optionsToRedirectsKey.get(options); + if (!result) { + optionsToRedirectsKey.set(options, result = getKeyForCompilerOptions(options, moduleResolutionOptionDeclarations)); + } + return result; + } +} +function createPackageJsonInfoCache(currentDirectory, getCanonicalFileName) { + let cache; + return { getPackageJsonInfo: getPackageJsonInfo2, setPackageJsonInfo, clear: clear2, getInternalMap }; + function getPackageJsonInfo2(packageJsonPath) { + return cache == null ? void 0 : cache.get(toPath(packageJsonPath, currentDirectory, getCanonicalFileName)); + } + function setPackageJsonInfo(packageJsonPath, info) { + (cache || (cache = /* @__PURE__ */ new Map())).set(toPath(packageJsonPath, currentDirectory, getCanonicalFileName), info); + } + function clear2() { + cache = void 0; + } + function getInternalMap() { + return cache; + } +} +function getOrCreateCache(cacheWithRedirects, redirectedReference, key, create) { + const cache = cacheWithRedirects.getOrCreateMapOfCacheRedirects(redirectedReference); + let result = cache.get(key); + if (!result) { + result = create(); + cache.set(key, result); + } + return result; +} +function createPerDirectoryResolutionCache(currentDirectory, getCanonicalFileName, options, optionsToRedirectsKey) { + const directoryToModuleNameMap = createCacheWithRedirects(options, optionsToRedirectsKey); + return { + getFromDirectoryCache, + getOrCreateCacheForDirectory, + clear: clear2, + update, + directoryToModuleNameMap + }; + function clear2() { + directoryToModuleNameMap.clear(); + } + function update(options2) { + directoryToModuleNameMap.update(options2); + } + function getOrCreateCacheForDirectory(directoryName, redirectedReference) { + const path = toPath(directoryName, currentDirectory, getCanonicalFileName); + return getOrCreateCache(directoryToModuleNameMap, redirectedReference, path, () => createModeAwareCache()); + } + function getFromDirectoryCache(name, mode, directoryName, redirectedReference) { + var _a, _b; + const path = toPath(directoryName, currentDirectory, getCanonicalFileName); + return (_b = (_a = directoryToModuleNameMap.getMapOfCacheRedirects(redirectedReference)) == null ? void 0 : _a.get(path)) == null ? void 0 : _b.get(name, mode); + } +} +function createModeAwareCacheKey(specifier, mode) { + return mode === void 0 ? specifier : `${mode}|${specifier}`; +} +function createModeAwareCache() { + const underlying = /* @__PURE__ */ new Map(); + const memoizedReverseKeys = /* @__PURE__ */ new Map(); + const cache = { + get(specifier, mode) { + return underlying.get(getUnderlyingCacheKey(specifier, mode)); + }, + set(specifier, mode, value) { + underlying.set(getUnderlyingCacheKey(specifier, mode), value); + return cache; + }, + delete(specifier, mode) { + underlying.delete(getUnderlyingCacheKey(specifier, mode)); + return cache; + }, + has(specifier, mode) { + return underlying.has(getUnderlyingCacheKey(specifier, mode)); + }, + forEach(cb) { + return underlying.forEach((elem, key) => { + const [specifier, mode] = memoizedReverseKeys.get(key); + return cb(elem, specifier, mode); + }); + }, + size() { + return underlying.size; + } + }; + return cache; + function getUnderlyingCacheKey(specifier, mode) { + const result = createModeAwareCacheKey(specifier, mode); + memoizedReverseKeys.set(result, [specifier, mode]); + return result; + } +} +function getOriginalOrResolvedModuleFileName(result) { + return result.resolvedModule && (result.resolvedModule.originalPath || result.resolvedModule.resolvedFileName); +} +function getOriginalOrResolvedTypeReferenceFileName(result) { + return result.resolvedTypeReferenceDirective && (result.resolvedTypeReferenceDirective.originalPath || result.resolvedTypeReferenceDirective.resolvedFileName); +} +function createNonRelativeNameResolutionCache(currentDirectory, getCanonicalFileName, options, getResolvedFileName, optionsToRedirectsKey) { + const moduleNameToDirectoryMap = createCacheWithRedirects(options, optionsToRedirectsKey); + return { + getFromNonRelativeNameCache, + getOrCreateCacheForNonRelativeName, + clear: clear2, + update + }; + function clear2() { + moduleNameToDirectoryMap.clear(); + } + function update(options2) { + moduleNameToDirectoryMap.update(options2); + } + function getFromNonRelativeNameCache(nonRelativeModuleName, mode, directoryName, redirectedReference) { + var _a, _b; + Debug.assert(!isExternalModuleNameRelative(nonRelativeModuleName)); + return (_b = (_a = moduleNameToDirectoryMap.getMapOfCacheRedirects(redirectedReference)) == null ? void 0 : _a.get(createModeAwareCacheKey(nonRelativeModuleName, mode))) == null ? void 0 : _b.get(directoryName); + } + function getOrCreateCacheForNonRelativeName(nonRelativeModuleName, mode, redirectedReference) { + Debug.assert(!isExternalModuleNameRelative(nonRelativeModuleName)); + return getOrCreateCache(moduleNameToDirectoryMap, redirectedReference, createModeAwareCacheKey(nonRelativeModuleName, mode), createPerModuleNameCache); + } + function createPerModuleNameCache() { + const directoryPathMap = /* @__PURE__ */ new Map(); + return { get, set }; + function get(directory) { + return directoryPathMap.get(toPath(directory, currentDirectory, getCanonicalFileName)); + } + function set(directory, result) { + const path = toPath(directory, currentDirectory, getCanonicalFileName); + if (directoryPathMap.has(path)) { + return; + } + directoryPathMap.set(path, result); + const resolvedFileName = getResolvedFileName(result); + const commonPrefix = resolvedFileName && getCommonPrefix(path, resolvedFileName); + let current = path; + while (current !== commonPrefix) { + const parent = getDirectoryPath(current); + if (parent === current || directoryPathMap.has(parent)) { + break; + } + directoryPathMap.set(parent, result); + current = parent; + } + } + function getCommonPrefix(directory, resolution) { + const resolutionDirectory = toPath(getDirectoryPath(resolution), currentDirectory, getCanonicalFileName); + let i = 0; + const limit = Math.min(directory.length, resolutionDirectory.length); + while (i < limit && directory.charCodeAt(i) === resolutionDirectory.charCodeAt(i)) { + i++; + } + if (i === directory.length && (resolutionDirectory.length === i || resolutionDirectory[i] === directorySeparator)) { + return directory; + } + const rootLength = getRootLength(directory); + if (i < rootLength) { + return void 0; + } + const sep = directory.lastIndexOf(directorySeparator, i - 1); + if (sep === -1) { + return void 0; + } + return directory.substr(0, Math.max(sep, rootLength)); + } + } +} +function createModuleOrTypeReferenceResolutionCache(currentDirectory, getCanonicalFileName, options, packageJsonInfoCache, getResolvedFileName, optionsToRedirectsKey) { + optionsToRedirectsKey ?? (optionsToRedirectsKey = /* @__PURE__ */ new Map()); + const perDirectoryResolutionCache = createPerDirectoryResolutionCache( + currentDirectory, + getCanonicalFileName, + options, + optionsToRedirectsKey + ); + const nonRelativeNameResolutionCache = createNonRelativeNameResolutionCache( + currentDirectory, + getCanonicalFileName, + options, + getResolvedFileName, + optionsToRedirectsKey + ); + packageJsonInfoCache ?? (packageJsonInfoCache = createPackageJsonInfoCache(currentDirectory, getCanonicalFileName)); + return { + ...packageJsonInfoCache, + ...perDirectoryResolutionCache, + ...nonRelativeNameResolutionCache, + clear: clear2, + update, + getPackageJsonInfoCache: () => packageJsonInfoCache, + clearAllExceptPackageJsonInfoCache, + optionsToRedirectsKey + }; + function clear2() { + clearAllExceptPackageJsonInfoCache(); + packageJsonInfoCache.clear(); + } + function clearAllExceptPackageJsonInfoCache() { + perDirectoryResolutionCache.clear(); + nonRelativeNameResolutionCache.clear(); + } + function update(options2) { + perDirectoryResolutionCache.update(options2); + nonRelativeNameResolutionCache.update(options2); + } +} +function createModuleResolutionCache(currentDirectory, getCanonicalFileName, options, packageJsonInfoCache, optionsToRedirectsKey) { + const result = createModuleOrTypeReferenceResolutionCache( + currentDirectory, + getCanonicalFileName, + options, + packageJsonInfoCache, + getOriginalOrResolvedModuleFileName, + optionsToRedirectsKey + ); + result.getOrCreateCacheForModuleName = (nonRelativeName, mode, redirectedReference) => result.getOrCreateCacheForNonRelativeName(nonRelativeName, mode, redirectedReference); + return result; +} +function createTypeReferenceDirectiveResolutionCache(currentDirectory, getCanonicalFileName, options, packageJsonInfoCache, optionsToRedirectsKey) { + return createModuleOrTypeReferenceResolutionCache( + currentDirectory, + getCanonicalFileName, + options, + packageJsonInfoCache, + getOriginalOrResolvedTypeReferenceFileName, + optionsToRedirectsKey + ); +} +function getOptionsForLibraryResolution(options) { + return { moduleResolution: 2 /* Node10 */, traceResolution: options.traceResolution }; +} +function resolveLibrary(libraryName, resolveFrom, compilerOptions, host, cache) { + return resolveModuleName(libraryName, resolveFrom, getOptionsForLibraryResolution(compilerOptions), host, cache); +} +function resolveModuleName(moduleName, containingFile, compilerOptions, host, cache, redirectedReference, resolutionMode) { + const traceEnabled = isTraceEnabled(compilerOptions, host); + if (redirectedReference) { + compilerOptions = redirectedReference.commandLine.options; + } + if (traceEnabled) { + trace(host, Diagnostics.Resolving_module_0_from_1, moduleName, containingFile); + if (redirectedReference) { + trace(host, Diagnostics.Using_compiler_options_of_project_reference_redirect_0, redirectedReference.sourceFile.fileName); + } + } + const containingDirectory = getDirectoryPath(containingFile); + let result = cache == null ? void 0 : cache.getFromDirectoryCache(moduleName, resolutionMode, containingDirectory, redirectedReference); + if (result) { + if (traceEnabled) { + trace(host, Diagnostics.Resolution_for_module_0_was_found_in_cache_from_location_1, moduleName, containingDirectory); + } + } else { + let moduleResolution = compilerOptions.moduleResolution; + if (moduleResolution === void 0) { + moduleResolution = getEmitModuleResolutionKind(compilerOptions); + if (traceEnabled) { + trace(host, Diagnostics.Module_resolution_kind_is_not_specified_using_0, ModuleResolutionKind[moduleResolution]); + } + } else { + if (traceEnabled) { + trace(host, Diagnostics.Explicitly_specified_module_resolution_kind_Colon_0, ModuleResolutionKind[moduleResolution]); + } + } + switch (moduleResolution) { + case 3 /* Node16 */: + result = node16ModuleNameResolver(moduleName, containingFile, compilerOptions, host, cache, redirectedReference, resolutionMode); + break; + case 99 /* NodeNext */: + result = nodeNextModuleNameResolver(moduleName, containingFile, compilerOptions, host, cache, redirectedReference, resolutionMode); + break; + case 2 /* Node10 */: + result = nodeModuleNameResolver(moduleName, containingFile, compilerOptions, host, cache, redirectedReference, resolutionMode ? getConditions(compilerOptions, resolutionMode) : void 0); + break; + case 1 /* Classic */: + result = classicNameResolver(moduleName, containingFile, compilerOptions, host, cache, redirectedReference); + break; + case 100 /* Bundler */: + result = bundlerModuleNameResolver(moduleName, containingFile, compilerOptions, host, cache, redirectedReference, resolutionMode ? getConditions(compilerOptions, resolutionMode) : void 0); + break; + default: + return Debug.fail(`Unexpected moduleResolution: ${moduleResolution}`); + } + if (cache && !cache.isReadonly) { + cache.getOrCreateCacheForDirectory(containingDirectory, redirectedReference).set(moduleName, resolutionMode, result); + if (!isExternalModuleNameRelative(moduleName)) { + cache.getOrCreateCacheForNonRelativeName(moduleName, resolutionMode, redirectedReference).set(containingDirectory, result); + } + } + } + if (traceEnabled) { + if (result.resolvedModule) { + if (result.resolvedModule.packageId) { + trace(host, Diagnostics.Module_name_0_was_successfully_resolved_to_1_with_Package_ID_2, moduleName, result.resolvedModule.resolvedFileName, packageIdToString(result.resolvedModule.packageId)); + } else { + trace(host, Diagnostics.Module_name_0_was_successfully_resolved_to_1, moduleName, result.resolvedModule.resolvedFileName); + } + } else { + trace(host, Diagnostics.Module_name_0_was_not_resolved, moduleName); + } + } + return result; +} +function tryLoadModuleUsingOptionalResolutionSettings(extensions, moduleName, containingDirectory, loader, state) { + const resolved = tryLoadModuleUsingPathsIfEligible(extensions, moduleName, loader, state); + if (resolved) return resolved.value; + if (!isExternalModuleNameRelative(moduleName)) { + return tryLoadModuleUsingBaseUrl(extensions, moduleName, loader, state); + } else { + return tryLoadModuleUsingRootDirs(extensions, moduleName, containingDirectory, loader, state); + } +} +function tryLoadModuleUsingPathsIfEligible(extensions, moduleName, loader, state) { + const { baseUrl, paths } = state.compilerOptions; + if (paths && !pathIsRelative(moduleName)) { + if (state.traceEnabled) { + if (baseUrl) { + trace(state.host, Diagnostics.baseUrl_option_is_set_to_0_using_this_value_to_resolve_non_relative_module_name_1, baseUrl, moduleName); + } + trace(state.host, Diagnostics.paths_option_is_specified_looking_for_a_pattern_to_match_module_name_0, moduleName); + } + const baseDirectory = getPathsBasePath(state.compilerOptions, state.host); + const pathPatterns = tryParsePatterns(paths); + return tryLoadModuleUsingPaths( + extensions, + moduleName, + baseDirectory, + paths, + pathPatterns, + loader, + /*onlyRecordFailures*/ + false, + state + ); + } +} +function tryLoadModuleUsingRootDirs(extensions, moduleName, containingDirectory, loader, state) { + if (!state.compilerOptions.rootDirs) { + return void 0; + } + if (state.traceEnabled) { + trace(state.host, Diagnostics.rootDirs_option_is_set_using_it_to_resolve_relative_module_name_0, moduleName); + } + const candidate = normalizePath(combinePaths(containingDirectory, moduleName)); + let matchedRootDir; + let matchedNormalizedPrefix; + for (const rootDir of state.compilerOptions.rootDirs) { + let normalizedRoot = normalizePath(rootDir); + if (!endsWith(normalizedRoot, directorySeparator)) { + normalizedRoot += directorySeparator; + } + const isLongestMatchingPrefix = startsWith(candidate, normalizedRoot) && (matchedNormalizedPrefix === void 0 || matchedNormalizedPrefix.length < normalizedRoot.length); + if (state.traceEnabled) { + trace(state.host, Diagnostics.Checking_if_0_is_the_longest_matching_prefix_for_1_2, normalizedRoot, candidate, isLongestMatchingPrefix); + } + if (isLongestMatchingPrefix) { + matchedNormalizedPrefix = normalizedRoot; + matchedRootDir = rootDir; + } + } + if (matchedNormalizedPrefix) { + if (state.traceEnabled) { + trace(state.host, Diagnostics.Longest_matching_prefix_for_0_is_1, candidate, matchedNormalizedPrefix); + } + const suffix = candidate.substr(matchedNormalizedPrefix.length); + if (state.traceEnabled) { + trace(state.host, Diagnostics.Loading_0_from_the_root_dir_1_candidate_location_2, suffix, matchedNormalizedPrefix, candidate); + } + const resolvedFileName = loader(extensions, candidate, !directoryProbablyExists(containingDirectory, state.host), state); + if (resolvedFileName) { + return resolvedFileName; + } + if (state.traceEnabled) { + trace(state.host, Diagnostics.Trying_other_entries_in_rootDirs); + } + for (const rootDir of state.compilerOptions.rootDirs) { + if (rootDir === matchedRootDir) { + continue; + } + const candidate2 = combinePaths(normalizePath(rootDir), suffix); + if (state.traceEnabled) { + trace(state.host, Diagnostics.Loading_0_from_the_root_dir_1_candidate_location_2, suffix, rootDir, candidate2); + } + const baseDirectory = getDirectoryPath(candidate2); + const resolvedFileName2 = loader(extensions, candidate2, !directoryProbablyExists(baseDirectory, state.host), state); + if (resolvedFileName2) { + return resolvedFileName2; + } + } + if (state.traceEnabled) { + trace(state.host, Diagnostics.Module_resolution_using_rootDirs_has_failed); + } + } + return void 0; +} +function tryLoadModuleUsingBaseUrl(extensions, moduleName, loader, state) { + const { baseUrl } = state.compilerOptions; + if (!baseUrl) { + return void 0; + } + if (state.traceEnabled) { + trace(state.host, Diagnostics.baseUrl_option_is_set_to_0_using_this_value_to_resolve_non_relative_module_name_1, baseUrl, moduleName); + } + const candidate = normalizePath(combinePaths(baseUrl, moduleName)); + if (state.traceEnabled) { + trace(state.host, Diagnostics.Resolving_module_name_0_relative_to_base_url_1_2, moduleName, baseUrl, candidate); + } + return loader(extensions, candidate, !directoryProbablyExists(getDirectoryPath(candidate), state.host), state); +} +function resolveJSModule(moduleName, initialDir, host) { + const { resolvedModule, failedLookupLocations } = tryResolveJSModuleWorker(moduleName, initialDir, host); + if (!resolvedModule) { + throw new Error(`Could not resolve JS module '${moduleName}' starting at '${initialDir}'. Looked in: ${failedLookupLocations == null ? void 0 : failedLookupLocations.join(", ")}`); + } + return resolvedModule.resolvedFileName; +} +function node16ModuleNameResolver(moduleName, containingFile, compilerOptions, host, cache, redirectedReference, resolutionMode) { + return nodeNextModuleNameResolverWorker( + 30 /* Node16Default */, + moduleName, + containingFile, + compilerOptions, + host, + cache, + redirectedReference, + resolutionMode + ); +} +function nodeNextModuleNameResolver(moduleName, containingFile, compilerOptions, host, cache, redirectedReference, resolutionMode) { + return nodeNextModuleNameResolverWorker( + 30 /* NodeNextDefault */, + moduleName, + containingFile, + compilerOptions, + host, + cache, + redirectedReference, + resolutionMode + ); +} +function nodeNextModuleNameResolverWorker(features, moduleName, containingFile, compilerOptions, host, cache, redirectedReference, resolutionMode, conditions) { + const containingDirectory = getDirectoryPath(containingFile); + const esmMode = resolutionMode === 99 /* ESNext */ ? 32 /* EsmMode */ : 0; + let extensions = compilerOptions.noDtsResolution ? 3 /* ImplementationFiles */ : 1 /* TypeScript */ | 2 /* JavaScript */ | 4 /* Declaration */; + if (getResolveJsonModule(compilerOptions)) { + extensions |= 8 /* Json */; + } + return nodeModuleNameResolverWorker( + features | esmMode, + moduleName, + containingDirectory, + compilerOptions, + host, + cache, + extensions, + /*isConfigLookup*/ + false, + redirectedReference, + conditions + ); +} +function tryResolveJSModuleWorker(moduleName, initialDir, host) { + return nodeModuleNameResolverWorker( + 0 /* None */, + moduleName, + initialDir, + { moduleResolution: 2 /* Node10 */, allowJs: true }, + host, + /*cache*/ + void 0, + 2 /* JavaScript */, + /*isConfigLookup*/ + false, + /*redirectedReference*/ + void 0, + /*conditions*/ + void 0 + ); +} +function bundlerModuleNameResolver(moduleName, containingFile, compilerOptions, host, cache, redirectedReference, conditions) { + const containingDirectory = getDirectoryPath(containingFile); + let extensions = compilerOptions.noDtsResolution ? 3 /* ImplementationFiles */ : 1 /* TypeScript */ | 2 /* JavaScript */ | 4 /* Declaration */; + if (getResolveJsonModule(compilerOptions)) { + extensions |= 8 /* Json */; + } + return nodeModuleNameResolverWorker( + getNodeResolutionFeatures(compilerOptions), + moduleName, + containingDirectory, + compilerOptions, + host, + cache, + extensions, + /*isConfigLookup*/ + false, + redirectedReference, + conditions + ); +} +function nodeModuleNameResolver(moduleName, containingFile, compilerOptions, host, cache, redirectedReference, conditions, isConfigLookup) { + let extensions; + if (isConfigLookup) { + extensions = 8 /* Json */; + } else if (compilerOptions.noDtsResolution) { + extensions = 3 /* ImplementationFiles */; + if (getResolveJsonModule(compilerOptions)) extensions |= 8 /* Json */; + } else { + extensions = getResolveJsonModule(compilerOptions) ? 1 /* TypeScript */ | 2 /* JavaScript */ | 4 /* Declaration */ | 8 /* Json */ : 1 /* TypeScript */ | 2 /* JavaScript */ | 4 /* Declaration */; + } + return nodeModuleNameResolverWorker(conditions ? 30 /* AllFeatures */ : 0 /* None */, moduleName, getDirectoryPath(containingFile), compilerOptions, host, cache, extensions, !!isConfigLookup, redirectedReference, conditions); +} +function nodeNextJsonConfigResolver(moduleName, containingFile, host) { + return nodeModuleNameResolverWorker( + 30 /* NodeNextDefault */, + moduleName, + getDirectoryPath(containingFile), + { moduleResolution: 99 /* NodeNext */ }, + host, + /*cache*/ + void 0, + 8 /* Json */, + /*isConfigLookup*/ + true, + /*redirectedReference*/ + void 0, + /*conditions*/ + void 0 + ); +} +function nodeModuleNameResolverWorker(features, moduleName, containingDirectory, compilerOptions, host, cache, extensions, isConfigLookup, redirectedReference, conditions) { + var _a, _b, _c, _d, _e; + const traceEnabled = isTraceEnabled(compilerOptions, host); + const failedLookupLocations = []; + const affectingLocations = []; + const moduleResolution = getEmitModuleResolutionKind(compilerOptions); + conditions ?? (conditions = getConditions( + compilerOptions, + moduleResolution === 100 /* Bundler */ || moduleResolution === 2 /* Node10 */ ? void 0 : features & 32 /* EsmMode */ ? 99 /* ESNext */ : 1 /* CommonJS */ + )); + const diagnostics = []; + const state = { + compilerOptions, + host, + traceEnabled, + failedLookupLocations, + affectingLocations, + packageJsonInfoCache: cache, + features, + conditions: conditions ?? emptyArray, + requestContainingDirectory: containingDirectory, + reportDiagnostic: (diag2) => void diagnostics.push(diag2), + isConfigLookup, + candidateIsFromPackageJsonField: false, + resolvedPackageDirectory: false + }; + if (traceEnabled && moduleResolutionSupportsPackageJsonExportsAndImports(moduleResolution)) { + trace(host, Diagnostics.Resolving_in_0_mode_with_conditions_1, features & 32 /* EsmMode */ ? "ESM" : "CJS", state.conditions.map((c) => `'${c}'`).join(", ")); + } + let result; + if (moduleResolution === 2 /* Node10 */) { + const priorityExtensions = extensions & (1 /* TypeScript */ | 4 /* Declaration */); + const secondaryExtensions = extensions & ~(1 /* TypeScript */ | 4 /* Declaration */); + result = priorityExtensions && tryResolve(priorityExtensions, state) || secondaryExtensions && tryResolve(secondaryExtensions, state) || void 0; + } else { + result = tryResolve(extensions, state); + } + let alternateResult; + if (state.resolvedPackageDirectory && !isConfigLookup && !isExternalModuleNameRelative(moduleName)) { + const wantedTypesButGotJs = (result == null ? void 0 : result.value) && extensions & (1 /* TypeScript */ | 4 /* Declaration */) && !extensionIsOk(1 /* TypeScript */ | 4 /* Declaration */, result.value.resolved.extension); + if (((_a = result == null ? void 0 : result.value) == null ? void 0 : _a.isExternalLibraryImport) && wantedTypesButGotJs && features & 8 /* Exports */ && (conditions == null ? void 0 : conditions.includes("import"))) { + traceIfEnabled(state, Diagnostics.Resolution_of_non_relative_name_failed_trying_with_modern_Node_resolution_features_disabled_to_see_if_npm_library_needs_configuration_update); + const diagnosticState = { + ...state, + features: state.features & ~8 /* Exports */, + reportDiagnostic: noop + }; + const diagnosticResult = tryResolve(extensions & (1 /* TypeScript */ | 4 /* Declaration */), diagnosticState); + if ((_b = diagnosticResult == null ? void 0 : diagnosticResult.value) == null ? void 0 : _b.isExternalLibraryImport) { + alternateResult = diagnosticResult.value.resolved.path; + } + } else if ((!(result == null ? void 0 : result.value) || wantedTypesButGotJs) && moduleResolution === 2 /* Node10 */) { + traceIfEnabled(state, Diagnostics.Resolution_of_non_relative_name_failed_trying_with_moduleResolution_bundler_to_see_if_project_may_need_configuration_update); + const diagnosticsCompilerOptions = { ...state.compilerOptions, moduleResolution: 100 /* Bundler */ }; + const diagnosticState = { + ...state, + compilerOptions: diagnosticsCompilerOptions, + features: 30 /* BundlerDefault */, + conditions: getConditions(diagnosticsCompilerOptions), + reportDiagnostic: noop + }; + const diagnosticResult = tryResolve(extensions & (1 /* TypeScript */ | 4 /* Declaration */), diagnosticState); + if ((_c = diagnosticResult == null ? void 0 : diagnosticResult.value) == null ? void 0 : _c.isExternalLibraryImport) { + alternateResult = diagnosticResult.value.resolved.path; + } + } + } + return createResolvedModuleWithFailedLookupLocationsHandlingSymlink( + moduleName, + (_d = result == null ? void 0 : result.value) == null ? void 0 : _d.resolved, + (_e = result == null ? void 0 : result.value) == null ? void 0 : _e.isExternalLibraryImport, + failedLookupLocations, + affectingLocations, + diagnostics, + state, + cache, + alternateResult + ); + function tryResolve(extensions2, state2) { + const loader = (extensions3, candidate, onlyRecordFailures, state3) => nodeLoadModuleByRelativeName( + extensions3, + candidate, + onlyRecordFailures, + state3, + /*considerPackageJson*/ + true + ); + const resolved = tryLoadModuleUsingOptionalResolutionSettings(extensions2, moduleName, containingDirectory, loader, state2); + if (resolved) { + return toSearchResult({ resolved, isExternalLibraryImport: pathContainsNodeModules(resolved.path) }); + } + if (!isExternalModuleNameRelative(moduleName)) { + if (features & 2 /* Imports */ && startsWith(moduleName, "#")) { + const resolved3 = loadModuleFromImports(extensions2, moduleName, containingDirectory, state2, cache, redirectedReference); + if (resolved3) { + return resolved3.value && { value: { resolved: resolved3.value, isExternalLibraryImport: false } }; + } + } + if (features & 4 /* SelfName */) { + const resolved3 = loadModuleFromSelfNameReference(extensions2, moduleName, containingDirectory, state2, cache, redirectedReference); + if (resolved3) { + return resolved3.value && { value: { resolved: resolved3.value, isExternalLibraryImport: false } }; + } + } + if (moduleName.includes(":")) { + if (traceEnabled) { + trace(host, Diagnostics.Skipping_module_0_that_looks_like_an_absolute_URI_target_file_types_Colon_1, moduleName, formatExtensions(extensions2)); + } + return void 0; + } + if (traceEnabled) { + trace(host, Diagnostics.Loading_module_0_from_node_modules_folder_target_file_types_Colon_1, moduleName, formatExtensions(extensions2)); + } + let resolved2 = loadModuleFromNearestNodeModulesDirectory(extensions2, moduleName, containingDirectory, state2, cache, redirectedReference); + if (extensions2 & 4 /* Declaration */) { + resolved2 ?? (resolved2 = resolveFromTypeRoot(moduleName, state2)); + } + return resolved2 && { value: resolved2.value && { resolved: resolved2.value, isExternalLibraryImport: true } }; + } else { + const { path: candidate, parts } = normalizePathForCJSResolution(containingDirectory, moduleName); + const resolved2 = nodeLoadModuleByRelativeName( + extensions2, + candidate, + /*onlyRecordFailures*/ + false, + state2, + /*considerPackageJson*/ + true + ); + return resolved2 && toSearchResult({ resolved: resolved2, isExternalLibraryImport: contains(parts, "node_modules") }); + } + } +} +function normalizePathForCJSResolution(containingDirectory, moduleName) { + const combined = combinePaths(containingDirectory, moduleName); + const parts = getPathComponents(combined); + const lastPart = lastOrUndefined(parts); + const path = lastPart === "." || lastPart === ".." ? ensureTrailingDirectorySeparator(normalizePath(combined)) : normalizePath(combined); + return { path, parts }; +} +function realPath(path, host, traceEnabled) { + if (!host.realpath) { + return path; + } + const real = normalizePath(host.realpath(path)); + if (traceEnabled) { + trace(host, Diagnostics.Resolving_real_path_for_0_result_1, path, real); + } + return real; +} +function nodeLoadModuleByRelativeName(extensions, candidate, onlyRecordFailures, state, considerPackageJson) { + if (state.traceEnabled) { + trace(state.host, Diagnostics.Loading_module_as_file_Slash_folder_candidate_module_location_0_target_file_types_Colon_1, candidate, formatExtensions(extensions)); + } + if (!hasTrailingDirectorySeparator(candidate)) { + if (!onlyRecordFailures) { + const parentOfCandidate = getDirectoryPath(candidate); + if (!directoryProbablyExists(parentOfCandidate, state.host)) { + if (state.traceEnabled) { + trace(state.host, Diagnostics.Directory_0_does_not_exist_skipping_all_lookups_in_it, parentOfCandidate); + } + onlyRecordFailures = true; + } + } + const resolvedFromFile = loadModuleFromFile(extensions, candidate, onlyRecordFailures, state); + if (resolvedFromFile) { + const packageDirectory = considerPackageJson ? parseNodeModuleFromPath(resolvedFromFile.path) : void 0; + const packageInfo = packageDirectory ? getPackageJsonInfo( + packageDirectory, + /*onlyRecordFailures*/ + false, + state + ) : void 0; + return withPackageId(packageInfo, resolvedFromFile, state); + } + } + if (!onlyRecordFailures) { + const candidateExists = directoryProbablyExists(candidate, state.host); + if (!candidateExists) { + if (state.traceEnabled) { + trace(state.host, Diagnostics.Directory_0_does_not_exist_skipping_all_lookups_in_it, candidate); + } + onlyRecordFailures = true; + } + } + if (!(state.features & 32 /* EsmMode */)) { + return loadNodeModuleFromDirectory(extensions, candidate, onlyRecordFailures, state, considerPackageJson); + } + return void 0; +} +var nodeModulesPathPart = "/node_modules/"; +function pathContainsNodeModules(path) { + return path.includes(nodeModulesPathPart); +} +function parseNodeModuleFromPath(resolved, isFolder) { + const path = normalizePath(resolved); + const idx = path.lastIndexOf(nodeModulesPathPart); + if (idx === -1) { + return void 0; + } + const indexAfterNodeModules = idx + nodeModulesPathPart.length; + let indexAfterPackageName = moveToNextDirectorySeparatorIfAvailable(path, indexAfterNodeModules, isFolder); + if (path.charCodeAt(indexAfterNodeModules) === 64 /* at */) { + indexAfterPackageName = moveToNextDirectorySeparatorIfAvailable(path, indexAfterPackageName, isFolder); + } + return path.slice(0, indexAfterPackageName); +} +function moveToNextDirectorySeparatorIfAvailable(path, prevSeparatorIndex, isFolder) { + const nextSeparatorIndex = path.indexOf(directorySeparator, prevSeparatorIndex + 1); + return nextSeparatorIndex === -1 ? isFolder ? path.length : prevSeparatorIndex : nextSeparatorIndex; +} +function loadModuleFromFileNoPackageId(extensions, candidate, onlyRecordFailures, state) { + return noPackageId(loadModuleFromFile(extensions, candidate, onlyRecordFailures, state)); +} +function loadModuleFromFile(extensions, candidate, onlyRecordFailures, state) { + const resolvedByReplacingExtension = loadModuleFromFileNoImplicitExtensions(extensions, candidate, onlyRecordFailures, state); + if (resolvedByReplacingExtension) { + return resolvedByReplacingExtension; + } + if (!(state.features & 32 /* EsmMode */)) { + const resolvedByAddingExtension = tryAddingExtensions(candidate, extensions, "", onlyRecordFailures, state); + if (resolvedByAddingExtension) { + return resolvedByAddingExtension; + } + } +} +function loadModuleFromFileNoImplicitExtensions(extensions, candidate, onlyRecordFailures, state) { + const filename = getBaseFileName(candidate); + if (!filename.includes(".")) { + return void 0; + } + let extensionless = removeFileExtension(candidate); + if (extensionless === candidate) { + extensionless = candidate.substring(0, candidate.lastIndexOf(".")); + } + const extension = candidate.substring(extensionless.length); + if (state.traceEnabled) { + trace(state.host, Diagnostics.File_name_0_has_a_1_extension_stripping_it, candidate, extension); + } + return tryAddingExtensions(extensionless, extensions, extension, onlyRecordFailures, state); +} +function loadFileNameFromPackageJsonField(extensions, candidate, packageJsonValue, onlyRecordFailures, state) { + if (extensions & 1 /* TypeScript */ && fileExtensionIsOneOf(candidate, supportedTSImplementationExtensions) || extensions & 4 /* Declaration */ && fileExtensionIsOneOf(candidate, supportedDeclarationExtensions)) { + const result = tryFile(candidate, onlyRecordFailures, state); + const ext = tryExtractTSExtension(candidate); + return result !== void 0 ? { path: candidate, ext, resolvedUsingTsExtension: packageJsonValue ? !endsWith(packageJsonValue, ext) : void 0 } : void 0; + } + if (state.isConfigLookup && extensions === 8 /* Json */ && fileExtensionIs(candidate, ".json" /* Json */)) { + const result = tryFile(candidate, onlyRecordFailures, state); + return result !== void 0 ? { path: candidate, ext: ".json" /* Json */, resolvedUsingTsExtension: void 0 } : void 0; + } + return loadModuleFromFileNoImplicitExtensions(extensions, candidate, onlyRecordFailures, state); +} +function tryAddingExtensions(candidate, extensions, originalExtension, onlyRecordFailures, state) { + if (!onlyRecordFailures) { + const directory = getDirectoryPath(candidate); + if (directory) { + onlyRecordFailures = !directoryProbablyExists(directory, state.host); + } + } + switch (originalExtension) { + case ".mjs" /* Mjs */: + case ".mts" /* Mts */: + case ".d.mts" /* Dmts */: + return extensions & 1 /* TypeScript */ && tryExtension(".mts" /* Mts */, originalExtension === ".mts" /* Mts */ || originalExtension === ".d.mts" /* Dmts */) || extensions & 4 /* Declaration */ && tryExtension(".d.mts" /* Dmts */, originalExtension === ".mts" /* Mts */ || originalExtension === ".d.mts" /* Dmts */) || extensions & 2 /* JavaScript */ && tryExtension(".mjs" /* Mjs */) || void 0; + case ".cjs" /* Cjs */: + case ".cts" /* Cts */: + case ".d.cts" /* Dcts */: + return extensions & 1 /* TypeScript */ && tryExtension(".cts" /* Cts */, originalExtension === ".cts" /* Cts */ || originalExtension === ".d.cts" /* Dcts */) || extensions & 4 /* Declaration */ && tryExtension(".d.cts" /* Dcts */, originalExtension === ".cts" /* Cts */ || originalExtension === ".d.cts" /* Dcts */) || extensions & 2 /* JavaScript */ && tryExtension(".cjs" /* Cjs */) || void 0; + case ".json" /* Json */: + return extensions & 4 /* Declaration */ && tryExtension(".d.json.ts") || extensions & 8 /* Json */ && tryExtension(".json" /* Json */) || void 0; + case ".tsx" /* Tsx */: + case ".jsx" /* Jsx */: + return extensions & 1 /* TypeScript */ && (tryExtension(".tsx" /* Tsx */, originalExtension === ".tsx" /* Tsx */) || tryExtension(".ts" /* Ts */, originalExtension === ".tsx" /* Tsx */)) || extensions & 4 /* Declaration */ && tryExtension(".d.ts" /* Dts */, originalExtension === ".tsx" /* Tsx */) || extensions & 2 /* JavaScript */ && (tryExtension(".jsx" /* Jsx */) || tryExtension(".js" /* Js */)) || void 0; + case ".ts" /* Ts */: + case ".d.ts" /* Dts */: + case ".js" /* Js */: + case "": + return extensions & 1 /* TypeScript */ && (tryExtension(".ts" /* Ts */, originalExtension === ".ts" /* Ts */ || originalExtension === ".d.ts" /* Dts */) || tryExtension(".tsx" /* Tsx */, originalExtension === ".ts" /* Ts */ || originalExtension === ".d.ts" /* Dts */)) || extensions & 4 /* Declaration */ && tryExtension(".d.ts" /* Dts */, originalExtension === ".ts" /* Ts */ || originalExtension === ".d.ts" /* Dts */) || extensions & 2 /* JavaScript */ && (tryExtension(".js" /* Js */) || tryExtension(".jsx" /* Jsx */)) || state.isConfigLookup && tryExtension(".json" /* Json */) || void 0; + default: + return extensions & 4 /* Declaration */ && !isDeclarationFileName(candidate + originalExtension) && tryExtension(`.d${originalExtension}.ts`) || void 0; + } + function tryExtension(ext, resolvedUsingTsExtension) { + const path = tryFile(candidate + ext, onlyRecordFailures, state); + return path === void 0 ? void 0 : { path, ext, resolvedUsingTsExtension: !state.candidateIsFromPackageJsonField && resolvedUsingTsExtension }; + } +} +function tryFile(fileName, onlyRecordFailures, state) { + var _a; + if (!((_a = state.compilerOptions.moduleSuffixes) == null ? void 0 : _a.length)) { + return tryFileLookup(fileName, onlyRecordFailures, state); + } + const ext = tryGetExtensionFromPath2(fileName) ?? ""; + const fileNameNoExtension = ext ? removeExtension(fileName, ext) : fileName; + return forEach(state.compilerOptions.moduleSuffixes, (suffix) => tryFileLookup(fileNameNoExtension + suffix + ext, onlyRecordFailures, state)); +} +function tryFileLookup(fileName, onlyRecordFailures, state) { + var _a; + if (!onlyRecordFailures) { + if (state.host.fileExists(fileName)) { + if (state.traceEnabled) { + trace(state.host, Diagnostics.File_0_exists_use_it_as_a_name_resolution_result, fileName); + } + return fileName; + } else { + if (state.traceEnabled) { + trace(state.host, Diagnostics.File_0_does_not_exist, fileName); + } + } + } + (_a = state.failedLookupLocations) == null ? void 0 : _a.push(fileName); + return void 0; +} +function loadNodeModuleFromDirectory(extensions, candidate, onlyRecordFailures, state, considerPackageJson = true) { + const packageInfo = considerPackageJson ? getPackageJsonInfo(candidate, onlyRecordFailures, state) : void 0; + const packageJsonContent = packageInfo && packageInfo.contents.packageJsonContent; + const versionPaths = packageInfo && getVersionPathsOfPackageJsonInfo(packageInfo, state); + return withPackageId(packageInfo, loadNodeModuleFromDirectoryWorker(extensions, candidate, onlyRecordFailures, state, packageJsonContent, versionPaths), state); +} +function getTemporaryModuleResolutionState(packageJsonInfoCache, host, options) { + return { + host, + compilerOptions: options, + traceEnabled: isTraceEnabled(options, host), + failedLookupLocations: void 0, + affectingLocations: void 0, + packageJsonInfoCache, + features: 0 /* None */, + conditions: emptyArray, + requestContainingDirectory: void 0, + reportDiagnostic: noop, + isConfigLookup: false, + candidateIsFromPackageJsonField: false, + resolvedPackageDirectory: false + }; +} +function getPackageScopeForPath(directory, state) { + return forEachAncestorDirectoryStoppingAtGlobalCache( + state.host, + directory, + (dir) => getPackageJsonInfo( + dir, + /*onlyRecordFailures*/ + false, + state + ) + ); +} +function getVersionPathsOfPackageJsonInfo(packageJsonInfo, state) { + if (packageJsonInfo.contents.versionPaths === void 0) { + packageJsonInfo.contents.versionPaths = readPackageJsonTypesVersionPaths(packageJsonInfo.contents.packageJsonContent, state) || false; + } + return packageJsonInfo.contents.versionPaths || void 0; +} +function getPeerDependenciesOfPackageJsonInfo(packageJsonInfo, state) { + if (packageJsonInfo.contents.peerDependencies === void 0) { + packageJsonInfo.contents.peerDependencies = readPackageJsonPeerDependencies(packageJsonInfo, state) || false; + } + return packageJsonInfo.contents.peerDependencies || void 0; +} +function readPackageJsonPeerDependencies(packageJsonInfo, state) { + const peerDependencies = readPackageJsonField(packageJsonInfo.contents.packageJsonContent, "peerDependencies", "object", state); + if (peerDependencies === void 0) return void 0; + if (state.traceEnabled) trace(state.host, Diagnostics.package_json_has_a_peerDependencies_field); + const packageDirectory = realPath(packageJsonInfo.packageDirectory, state.host, state.traceEnabled); + const nodeModules = packageDirectory.substring(0, packageDirectory.lastIndexOf("node_modules") + "node_modules".length) + directorySeparator; + let result = ""; + for (const key in peerDependencies) { + if (hasProperty(peerDependencies, key)) { + const peerPackageJson = getPackageJsonInfo( + nodeModules + key, + /*onlyRecordFailures*/ + false, + state + ); + if (peerPackageJson) { + const version2 = peerPackageJson.contents.packageJsonContent.version; + result += `+${key}@${version2}`; + if (state.traceEnabled) trace(state.host, Diagnostics.Found_peerDependency_0_with_1_version, key, version2); + } else { + if (state.traceEnabled) trace(state.host, Diagnostics.Failed_to_find_peerDependency_0, key); + } + } + } + return result; +} +function getPackageJsonInfo(packageDirectory, onlyRecordFailures, state) { + var _a, _b, _c, _d, _e, _f; + const { host, traceEnabled } = state; + const packageJsonPath = combinePaths(packageDirectory, "package.json"); + if (onlyRecordFailures) { + (_a = state.failedLookupLocations) == null ? void 0 : _a.push(packageJsonPath); + return void 0; + } + const existing = (_b = state.packageJsonInfoCache) == null ? void 0 : _b.getPackageJsonInfo(packageJsonPath); + if (existing !== void 0) { + if (isPackageJsonInfo(existing)) { + if (traceEnabled) trace(host, Diagnostics.File_0_exists_according_to_earlier_cached_lookups, packageJsonPath); + (_c = state.affectingLocations) == null ? void 0 : _c.push(packageJsonPath); + return existing.packageDirectory === packageDirectory ? existing : { packageDirectory, contents: existing.contents }; + } else { + if (existing.directoryExists && traceEnabled) trace(host, Diagnostics.File_0_does_not_exist_according_to_earlier_cached_lookups, packageJsonPath); + (_d = state.failedLookupLocations) == null ? void 0 : _d.push(packageJsonPath); + return void 0; + } + } + const directoryExists = directoryProbablyExists(packageDirectory, host); + if (directoryExists && host.fileExists(packageJsonPath)) { + const packageJsonContent = readJson(packageJsonPath, host); + if (traceEnabled) { + trace(host, Diagnostics.Found_package_json_at_0, packageJsonPath); + } + const result = { packageDirectory, contents: { packageJsonContent, versionPaths: void 0, resolvedEntrypoints: void 0, peerDependencies: void 0 } }; + if (state.packageJsonInfoCache && !state.packageJsonInfoCache.isReadonly) state.packageJsonInfoCache.setPackageJsonInfo(packageJsonPath, result); + (_e = state.affectingLocations) == null ? void 0 : _e.push(packageJsonPath); + return result; + } else { + if (directoryExists && traceEnabled) { + trace(host, Diagnostics.File_0_does_not_exist, packageJsonPath); + } + if (state.packageJsonInfoCache && !state.packageJsonInfoCache.isReadonly) state.packageJsonInfoCache.setPackageJsonInfo(packageJsonPath, { packageDirectory, directoryExists }); + (_f = state.failedLookupLocations) == null ? void 0 : _f.push(packageJsonPath); + } +} +function loadNodeModuleFromDirectoryWorker(extensions, candidate, onlyRecordFailures, state, jsonContent, versionPaths) { + let packageFile; + if (jsonContent) { + if (state.isConfigLookup) { + packageFile = readPackageJsonTSConfigField(jsonContent, candidate, state); + } else { + packageFile = extensions & 4 /* Declaration */ && readPackageJsonTypesFields(jsonContent, candidate, state) || extensions & (3 /* ImplementationFiles */ | 4 /* Declaration */) && readPackageJsonMainField(jsonContent, candidate, state) || void 0; + } + } + const loader = (extensions2, candidate2, onlyRecordFailures2, state2) => { + const fromFile = loadFileNameFromPackageJsonField( + extensions2, + candidate2, + /*packageJsonValue*/ + void 0, + onlyRecordFailures2, + state2 + ); + if (fromFile) { + return noPackageId(fromFile); + } + const expandedExtensions = extensions2 === 4 /* Declaration */ ? 1 /* TypeScript */ | 4 /* Declaration */ : extensions2; + const features = state2.features; + const candidateIsFromPackageJsonField = state2.candidateIsFromPackageJsonField; + state2.candidateIsFromPackageJsonField = true; + if ((jsonContent == null ? void 0 : jsonContent.type) !== "module") { + state2.features &= ~32 /* EsmMode */; + } + const result = nodeLoadModuleByRelativeName( + expandedExtensions, + candidate2, + onlyRecordFailures2, + state2, + /*considerPackageJson*/ + false + ); + state2.features = features; + state2.candidateIsFromPackageJsonField = candidateIsFromPackageJsonField; + return result; + }; + const onlyRecordFailuresForPackageFile = packageFile ? !directoryProbablyExists(getDirectoryPath(packageFile), state.host) : void 0; + const onlyRecordFailuresForIndex = onlyRecordFailures || !directoryProbablyExists(candidate, state.host); + const indexPath = combinePaths(candidate, state.isConfigLookup ? "tsconfig" : "index"); + if (versionPaths && (!packageFile || containsPath(candidate, packageFile))) { + const moduleName = getRelativePathFromDirectory( + candidate, + packageFile || indexPath, + /*ignoreCase*/ + false + ); + if (state.traceEnabled) { + trace(state.host, Diagnostics.package_json_has_a_typesVersions_entry_0_that_matches_compiler_version_1_looking_for_a_pattern_to_match_module_name_2, versionPaths.version, version, moduleName); + } + const pathPatterns = tryParsePatterns(versionPaths.paths); + const result = tryLoadModuleUsingPaths(extensions, moduleName, candidate, versionPaths.paths, pathPatterns, loader, onlyRecordFailuresForPackageFile || onlyRecordFailuresForIndex, state); + if (result) { + return removeIgnoredPackageId(result.value); + } + } + const packageFileResult = packageFile && removeIgnoredPackageId(loader(extensions, packageFile, onlyRecordFailuresForPackageFile, state)); + if (packageFileResult) return packageFileResult; + if (!(state.features & 32 /* EsmMode */)) { + return loadModuleFromFile(extensions, indexPath, onlyRecordFailuresForIndex, state); + } +} +function extensionIsOk(extensions, extension) { + return extensions & 2 /* JavaScript */ && (extension === ".js" /* Js */ || extension === ".jsx" /* Jsx */ || extension === ".mjs" /* Mjs */ || extension === ".cjs" /* Cjs */) || extensions & 1 /* TypeScript */ && (extension === ".ts" /* Ts */ || extension === ".tsx" /* Tsx */ || extension === ".mts" /* Mts */ || extension === ".cts" /* Cts */) || extensions & 4 /* Declaration */ && (extension === ".d.ts" /* Dts */ || extension === ".d.mts" /* Dmts */ || extension === ".d.cts" /* Dcts */) || extensions & 8 /* Json */ && extension === ".json" /* Json */ || false; +} +function parsePackageName(moduleName) { + let idx = moduleName.indexOf(directorySeparator); + if (moduleName[0] === "@") { + idx = moduleName.indexOf(directorySeparator, idx + 1); + } + return idx === -1 ? { packageName: moduleName, rest: "" } : { packageName: moduleName.slice(0, idx), rest: moduleName.slice(idx + 1) }; +} +function allKeysStartWithDot(obj) { + return every(getOwnKeys(obj), (k) => startsWith(k, ".")); +} +function noKeyStartsWithDot(obj) { + return !some(getOwnKeys(obj), (k) => startsWith(k, ".")); +} +function loadModuleFromSelfNameReference(extensions, moduleName, directory, state, cache, redirectedReference) { + var _a, _b; + const directoryPath = getNormalizedAbsolutePath(directory, (_b = (_a = state.host).getCurrentDirectory) == null ? void 0 : _b.call(_a)); + const scope = getPackageScopeForPath(directoryPath, state); + if (!scope || !scope.contents.packageJsonContent.exports) { + return void 0; + } + if (typeof scope.contents.packageJsonContent.name !== "string") { + return void 0; + } + const parts = getPathComponents(moduleName); + const nameParts = getPathComponents(scope.contents.packageJsonContent.name); + if (!every(nameParts, (p, i) => parts[i] === p)) { + return void 0; + } + const trailingParts = parts.slice(nameParts.length); + const subpath = !length(trailingParts) ? "." : `.${directorySeparator}${trailingParts.join(directorySeparator)}`; + if (getAllowJSCompilerOption(state.compilerOptions) && !pathContainsNodeModules(directory)) { + return loadModuleFromExports(scope, extensions, subpath, state, cache, redirectedReference); + } + const priorityExtensions = extensions & (1 /* TypeScript */ | 4 /* Declaration */); + const secondaryExtensions = extensions & ~(1 /* TypeScript */ | 4 /* Declaration */); + return loadModuleFromExports(scope, priorityExtensions, subpath, state, cache, redirectedReference) || loadModuleFromExports(scope, secondaryExtensions, subpath, state, cache, redirectedReference); +} +function loadModuleFromExports(scope, extensions, subpath, state, cache, redirectedReference) { + if (!scope.contents.packageJsonContent.exports) { + return void 0; + } + if (subpath === ".") { + let mainExport; + if (typeof scope.contents.packageJsonContent.exports === "string" || Array.isArray(scope.contents.packageJsonContent.exports) || typeof scope.contents.packageJsonContent.exports === "object" && noKeyStartsWithDot(scope.contents.packageJsonContent.exports)) { + mainExport = scope.contents.packageJsonContent.exports; + } else if (hasProperty(scope.contents.packageJsonContent.exports, ".")) { + mainExport = scope.contents.packageJsonContent.exports["."]; + } + if (mainExport) { + const loadModuleFromTargetExportOrImport = getLoadModuleFromTargetExportOrImport( + extensions, + state, + cache, + redirectedReference, + subpath, + scope, + /*isImports*/ + false + ); + return loadModuleFromTargetExportOrImport( + mainExport, + "", + /*pattern*/ + false, + "." + ); + } + } else if (allKeysStartWithDot(scope.contents.packageJsonContent.exports)) { + if (typeof scope.contents.packageJsonContent.exports !== "object") { + if (state.traceEnabled) { + trace(state.host, Diagnostics.Export_specifier_0_does_not_exist_in_package_json_scope_at_path_1, subpath, scope.packageDirectory); + } + return toSearchResult( + /*value*/ + void 0 + ); + } + const result = loadModuleFromExportsOrImports( + extensions, + state, + cache, + redirectedReference, + subpath, + scope.contents.packageJsonContent.exports, + scope, + /*isImports*/ + false + ); + if (result) { + return result; + } + } + if (state.traceEnabled) { + trace(state.host, Diagnostics.Export_specifier_0_does_not_exist_in_package_json_scope_at_path_1, subpath, scope.packageDirectory); + } + return toSearchResult( + /*value*/ + void 0 + ); +} +function loadModuleFromImports(extensions, moduleName, directory, state, cache, redirectedReference) { + var _a, _b; + if (moduleName === "#" || startsWith(moduleName, "#/")) { + if (state.traceEnabled) { + trace(state.host, Diagnostics.Invalid_import_specifier_0_has_no_possible_resolutions, moduleName); + } + return toSearchResult( + /*value*/ + void 0 + ); + } + const directoryPath = getNormalizedAbsolutePath(directory, (_b = (_a = state.host).getCurrentDirectory) == null ? void 0 : _b.call(_a)); + const scope = getPackageScopeForPath(directoryPath, state); + if (!scope) { + if (state.traceEnabled) { + trace(state.host, Diagnostics.Directory_0_has_no_containing_package_json_scope_Imports_will_not_resolve, directoryPath); + } + return toSearchResult( + /*value*/ + void 0 + ); + } + if (!scope.contents.packageJsonContent.imports) { + if (state.traceEnabled) { + trace(state.host, Diagnostics.package_json_scope_0_has_no_imports_defined, scope.packageDirectory); + } + return toSearchResult( + /*value*/ + void 0 + ); + } + const result = loadModuleFromExportsOrImports( + extensions, + state, + cache, + redirectedReference, + moduleName, + scope.contents.packageJsonContent.imports, + scope, + /*isImports*/ + true + ); + if (result) { + return result; + } + if (state.traceEnabled) { + trace(state.host, Diagnostics.Import_specifier_0_does_not_exist_in_package_json_scope_at_path_1, moduleName, scope.packageDirectory); + } + return toSearchResult( + /*value*/ + void 0 + ); +} +function comparePatternKeys(a, b) { + const aPatternIndex = a.indexOf("*"); + const bPatternIndex = b.indexOf("*"); + const baseLenA = aPatternIndex === -1 ? a.length : aPatternIndex + 1; + const baseLenB = bPatternIndex === -1 ? b.length : bPatternIndex + 1; + if (baseLenA > baseLenB) return -1 /* LessThan */; + if (baseLenB > baseLenA) return 1 /* GreaterThan */; + if (aPatternIndex === -1) return 1 /* GreaterThan */; + if (bPatternIndex === -1) return -1 /* LessThan */; + if (a.length > b.length) return -1 /* LessThan */; + if (b.length > a.length) return 1 /* GreaterThan */; + return 0 /* EqualTo */; +} +function loadModuleFromExportsOrImports(extensions, state, cache, redirectedReference, moduleName, lookupTable, scope, isImports) { + const loadModuleFromTargetExportOrImport = getLoadModuleFromTargetExportOrImport(extensions, state, cache, redirectedReference, moduleName, scope, isImports); + if (!endsWith(moduleName, directorySeparator) && !moduleName.includes("*") && hasProperty(lookupTable, moduleName)) { + const target = lookupTable[moduleName]; + return loadModuleFromTargetExportOrImport( + target, + /*subpath*/ + "", + /*pattern*/ + false, + moduleName + ); + } + const expandingKeys = toSorted(filter(getOwnKeys(lookupTable), (k) => hasOneAsterisk(k) || endsWith(k, "/")), comparePatternKeys); + for (const potentialTarget of expandingKeys) { + if (state.features & 16 /* ExportsPatternTrailers */ && matchesPatternWithTrailer(potentialTarget, moduleName)) { + const target = lookupTable[potentialTarget]; + const starPos = potentialTarget.indexOf("*"); + const subpath = moduleName.substring(potentialTarget.substring(0, starPos).length, moduleName.length - (potentialTarget.length - 1 - starPos)); + return loadModuleFromTargetExportOrImport( + target, + subpath, + /*pattern*/ + true, + potentialTarget + ); + } else if (endsWith(potentialTarget, "*") && startsWith(moduleName, potentialTarget.substring(0, potentialTarget.length - 1))) { + const target = lookupTable[potentialTarget]; + const subpath = moduleName.substring(potentialTarget.length - 1); + return loadModuleFromTargetExportOrImport( + target, + subpath, + /*pattern*/ + true, + potentialTarget + ); + } else if (startsWith(moduleName, potentialTarget)) { + const target = lookupTable[potentialTarget]; + const subpath = moduleName.substring(potentialTarget.length); + return loadModuleFromTargetExportOrImport( + target, + subpath, + /*pattern*/ + false, + potentialTarget + ); + } + } + function matchesPatternWithTrailer(target, name) { + if (endsWith(target, "*")) return false; + const starPos = target.indexOf("*"); + if (starPos === -1) return false; + return startsWith(name, target.substring(0, starPos)) && endsWith(name, target.substring(starPos + 1)); + } +} +function hasOneAsterisk(patternKey) { + const firstStar = patternKey.indexOf("*"); + return firstStar !== -1 && firstStar === patternKey.lastIndexOf("*"); +} +function getLoadModuleFromTargetExportOrImport(extensions, state, cache, redirectedReference, moduleName, scope, isImports) { + return loadModuleFromTargetExportOrImport; + function loadModuleFromTargetExportOrImport(target, subpath, pattern, key) { + if (typeof target === "string") { + if (!pattern && subpath.length > 0 && !endsWith(target, "/")) { + if (state.traceEnabled) { + trace(state.host, Diagnostics.package_json_scope_0_has_invalid_type_for_target_of_specifier_1, scope.packageDirectory, moduleName); + } + return toSearchResult( + /*value*/ + void 0 + ); + } + if (!startsWith(target, "./")) { + if (isImports && !startsWith(target, "../") && !startsWith(target, "/") && !isRootedDiskPath(target)) { + const combinedLookup = pattern ? target.replace(/\*/g, subpath) : target + subpath; + traceIfEnabled(state, Diagnostics.Using_0_subpath_1_with_target_2, "imports", key, combinedLookup); + traceIfEnabled(state, Diagnostics.Resolving_module_0_from_1, combinedLookup, scope.packageDirectory + "/"); + const result = nodeModuleNameResolverWorker( + state.features, + combinedLookup, + scope.packageDirectory + "/", + state.compilerOptions, + state.host, + cache, + extensions, + /*isConfigLookup*/ + false, + redirectedReference, + state.conditions + ); + return toSearchResult( + result.resolvedModule ? { + path: result.resolvedModule.resolvedFileName, + extension: result.resolvedModule.extension, + packageId: result.resolvedModule.packageId, + originalPath: result.resolvedModule.originalPath, + resolvedUsingTsExtension: result.resolvedModule.resolvedUsingTsExtension + } : void 0 + ); + } + if (state.traceEnabled) { + trace(state.host, Diagnostics.package_json_scope_0_has_invalid_type_for_target_of_specifier_1, scope.packageDirectory, moduleName); + } + return toSearchResult( + /*value*/ + void 0 + ); + } + const parts = pathIsRelative(target) ? getPathComponents(target).slice(1) : getPathComponents(target); + const partsAfterFirst = parts.slice(1); + if (partsAfterFirst.includes("..") || partsAfterFirst.includes(".") || partsAfterFirst.includes("node_modules")) { + if (state.traceEnabled) { + trace(state.host, Diagnostics.package_json_scope_0_has_invalid_type_for_target_of_specifier_1, scope.packageDirectory, moduleName); + } + return toSearchResult( + /*value*/ + void 0 + ); + } + const resolvedTarget = combinePaths(scope.packageDirectory, target); + const subpathParts = getPathComponents(subpath); + if (subpathParts.includes("..") || subpathParts.includes(".") || subpathParts.includes("node_modules")) { + if (state.traceEnabled) { + trace(state.host, Diagnostics.package_json_scope_0_has_invalid_type_for_target_of_specifier_1, scope.packageDirectory, moduleName); + } + return toSearchResult( + /*value*/ + void 0 + ); + } + if (state.traceEnabled) { + trace(state.host, Diagnostics.Using_0_subpath_1_with_target_2, isImports ? "imports" : "exports", key, pattern ? target.replace(/\*/g, subpath) : target + subpath); + } + const finalPath = toAbsolutePath(pattern ? resolvedTarget.replace(/\*/g, subpath) : resolvedTarget + subpath); + const inputLink = tryLoadInputFileForPath(finalPath, subpath, combinePaths(scope.packageDirectory, "package.json"), isImports); + if (inputLink) return inputLink; + return toSearchResult(withPackageId(scope, loadFileNameFromPackageJsonField( + extensions, + finalPath, + target, + /*onlyRecordFailures*/ + false, + state + ), state)); + } else if (typeof target === "object" && target !== null) { + if (!Array.isArray(target)) { + traceIfEnabled(state, Diagnostics.Entering_conditional_exports); + for (const condition of getOwnKeys(target)) { + if (condition === "default" || state.conditions.includes(condition) || isApplicableVersionedTypesKey(state.conditions, condition)) { + traceIfEnabled(state, Diagnostics.Matched_0_condition_1, isImports ? "imports" : "exports", condition); + const subTarget = target[condition]; + const result = loadModuleFromTargetExportOrImport(subTarget, subpath, pattern, key); + if (result) { + traceIfEnabled(state, Diagnostics.Resolved_under_condition_0, condition); + traceIfEnabled(state, Diagnostics.Exiting_conditional_exports); + return result; + } else { + traceIfEnabled(state, Diagnostics.Failed_to_resolve_under_condition_0, condition); + } + } else { + traceIfEnabled(state, Diagnostics.Saw_non_matching_condition_0, condition); + } + } + traceIfEnabled(state, Diagnostics.Exiting_conditional_exports); + return void 0; + } else { + if (!length(target)) { + if (state.traceEnabled) { + trace(state.host, Diagnostics.package_json_scope_0_has_invalid_type_for_target_of_specifier_1, scope.packageDirectory, moduleName); + } + return toSearchResult( + /*value*/ + void 0 + ); + } + for (const elem of target) { + const result = loadModuleFromTargetExportOrImport(elem, subpath, pattern, key); + if (result) { + return result; + } + } + } + } else if (target === null) { + if (state.traceEnabled) { + trace(state.host, Diagnostics.package_json_scope_0_explicitly_maps_specifier_1_to_null, scope.packageDirectory, moduleName); + } + return toSearchResult( + /*value*/ + void 0 + ); + } + if (state.traceEnabled) { + trace(state.host, Diagnostics.package_json_scope_0_has_invalid_type_for_target_of_specifier_1, scope.packageDirectory, moduleName); + } + return toSearchResult( + /*value*/ + void 0 + ); + function toAbsolutePath(path) { + var _a, _b; + if (path === void 0) return path; + return getNormalizedAbsolutePath(path, (_b = (_a = state.host).getCurrentDirectory) == null ? void 0 : _b.call(_a)); + } + function combineDirectoryPath(root, dir) { + return ensureTrailingDirectorySeparator(combinePaths(root, dir)); + } + function tryLoadInputFileForPath(finalPath, entry, packagePath, isImports2) { + var _a, _b, _c, _d; + if (!state.isConfigLookup && (state.compilerOptions.declarationDir || state.compilerOptions.outDir) && !finalPath.includes("/node_modules/") && (state.compilerOptions.configFile ? containsPath(scope.packageDirectory, toAbsolutePath(state.compilerOptions.configFile.fileName), !useCaseSensitiveFileNames(state)) : true)) { + const getCanonicalFileName = hostGetCanonicalFileName({ useCaseSensitiveFileNames: () => useCaseSensitiveFileNames(state) }); + const commonSourceDirGuesses = []; + if (state.compilerOptions.rootDir || state.compilerOptions.composite && state.compilerOptions.configFilePath) { + const commonDir = toAbsolutePath(getCommonSourceDirectory(state.compilerOptions, () => [], ((_b = (_a = state.host).getCurrentDirectory) == null ? void 0 : _b.call(_a)) || "", getCanonicalFileName)); + commonSourceDirGuesses.push(commonDir); + } else if (state.requestContainingDirectory) { + const requestingFile = toAbsolutePath(combinePaths(state.requestContainingDirectory, "index.ts")); + const commonDir = toAbsolutePath(getCommonSourceDirectory(state.compilerOptions, () => [requestingFile, toAbsolutePath(packagePath)], ((_d = (_c = state.host).getCurrentDirectory) == null ? void 0 : _d.call(_c)) || "", getCanonicalFileName)); + commonSourceDirGuesses.push(commonDir); + let fragment = ensureTrailingDirectorySeparator(commonDir); + while (fragment && fragment.length > 1) { + const parts = getPathComponents(fragment); + parts.pop(); + const commonDir2 = getPathFromPathComponents(parts); + commonSourceDirGuesses.unshift(commonDir2); + fragment = ensureTrailingDirectorySeparator(commonDir2); + } + } + if (commonSourceDirGuesses.length > 1) { + state.reportDiagnostic(createCompilerDiagnostic( + isImports2 ? Diagnostics.The_project_root_is_ambiguous_but_is_required_to_resolve_import_map_entry_0_in_file_1_Supply_the_rootDir_compiler_option_to_disambiguate : Diagnostics.The_project_root_is_ambiguous_but_is_required_to_resolve_export_map_entry_0_in_file_1_Supply_the_rootDir_compiler_option_to_disambiguate, + entry === "" ? "." : entry, + // replace empty string with `.` - the reverse of the operation done when entries are built - so main entrypoint errors don't look weird + packagePath + )); + } + for (const commonSourceDirGuess of commonSourceDirGuesses) { + const candidateDirectories = getOutputDirectoriesForBaseDirectory(commonSourceDirGuess); + for (const candidateDir of candidateDirectories) { + if (containsPath(candidateDir, finalPath, !useCaseSensitiveFileNames(state))) { + const pathFragment = finalPath.slice(candidateDir.length + 1); + const possibleInputBase = combinePaths(commonSourceDirGuess, pathFragment); + const jsAndDtsExtensions = [".mjs" /* Mjs */, ".cjs" /* Cjs */, ".js" /* Js */, ".json" /* Json */, ".d.mts" /* Dmts */, ".d.cts" /* Dcts */, ".d.ts" /* Dts */]; + for (const ext of jsAndDtsExtensions) { + if (fileExtensionIs(possibleInputBase, ext)) { + const inputExts = getPossibleOriginalInputExtensionForExtension(possibleInputBase); + for (const possibleExt of inputExts) { + if (!extensionIsOk(extensions, possibleExt)) continue; + const possibleInputWithInputExtension = changeAnyExtension(possibleInputBase, possibleExt, ext, !useCaseSensitiveFileNames(state)); + if (state.host.fileExists(possibleInputWithInputExtension)) { + return toSearchResult(withPackageId(scope, loadFileNameFromPackageJsonField( + extensions, + possibleInputWithInputExtension, + /*packageJsonValue*/ + void 0, + /*onlyRecordFailures*/ + false, + state + ), state)); + } + } + } + } + } + } + } + } + return void 0; + function getOutputDirectoriesForBaseDirectory(commonSourceDirGuess) { + var _a2, _b2; + const currentDir = state.compilerOptions.configFile ? ((_b2 = (_a2 = state.host).getCurrentDirectory) == null ? void 0 : _b2.call(_a2)) || "" : commonSourceDirGuess; + const candidateDirectories = []; + if (state.compilerOptions.declarationDir) { + candidateDirectories.push(toAbsolutePath(combineDirectoryPath(currentDir, state.compilerOptions.declarationDir))); + } + if (state.compilerOptions.outDir && state.compilerOptions.outDir !== state.compilerOptions.declarationDir) { + candidateDirectories.push(toAbsolutePath(combineDirectoryPath(currentDir, state.compilerOptions.outDir))); + } + return candidateDirectories; + } + } + } +} +function isApplicableVersionedTypesKey(conditions, key) { + if (!conditions.includes("types")) return false; + if (!startsWith(key, "types@")) return false; + const range = VersionRange.tryParse(key.substring("types@".length)); + if (!range) return false; + return range.test(version); +} +function loadModuleFromNearestNodeModulesDirectory(extensions, moduleName, directory, state, cache, redirectedReference) { + return loadModuleFromNearestNodeModulesDirectoryWorker( + extensions, + moduleName, + directory, + state, + /*typesScopeOnly*/ + false, + cache, + redirectedReference + ); +} +function loadModuleFromNearestNodeModulesDirectoryTypesScope(moduleName, directory, state) { + return loadModuleFromNearestNodeModulesDirectoryWorker( + 4 /* Declaration */, + moduleName, + directory, + state, + /*typesScopeOnly*/ + true, + /*cache*/ + void 0, + /*redirectedReference*/ + void 0 + ); +} +function loadModuleFromNearestNodeModulesDirectoryWorker(extensions, moduleName, directory, state, typesScopeOnly, cache, redirectedReference) { + const mode = state.features === 0 ? void 0 : state.features & 32 /* EsmMode */ ? 99 /* ESNext */ : 1 /* CommonJS */; + const priorityExtensions = extensions & (1 /* TypeScript */ | 4 /* Declaration */); + const secondaryExtensions = extensions & ~(1 /* TypeScript */ | 4 /* Declaration */); + if (priorityExtensions) { + traceIfEnabled(state, Diagnostics.Searching_all_ancestor_node_modules_directories_for_preferred_extensions_Colon_0, formatExtensions(priorityExtensions)); + const result = lookup(priorityExtensions); + if (result) return result; + } + if (secondaryExtensions && !typesScopeOnly) { + traceIfEnabled(state, Diagnostics.Searching_all_ancestor_node_modules_directories_for_fallback_extensions_Colon_0, formatExtensions(secondaryExtensions)); + return lookup(secondaryExtensions); + } + function lookup(extensions2) { + return forEachAncestorDirectoryStoppingAtGlobalCache( + state.host, + normalizeSlashes(directory), + (ancestorDirectory) => { + if (getBaseFileName(ancestorDirectory) !== "node_modules") { + const resolutionFromCache = tryFindNonRelativeModuleNameInCache(cache, moduleName, mode, ancestorDirectory, redirectedReference, state); + if (resolutionFromCache) { + return resolutionFromCache; + } + return toSearchResult(loadModuleFromImmediateNodeModulesDirectory(extensions2, moduleName, ancestorDirectory, state, typesScopeOnly, cache, redirectedReference)); + } + } + ); + } +} +function forEachAncestorDirectoryStoppingAtGlobalCache(host, directory, callback) { + var _a; + const globalCache = (_a = host == null ? void 0 : host.getGlobalTypingsCacheLocation) == null ? void 0 : _a.call(host); + return forEachAncestorDirectory(directory, (ancestorDirectory) => { + const result = callback(ancestorDirectory); + if (result !== void 0) return result; + if (ancestorDirectory === globalCache) return false; + }) || void 0; +} +function loadModuleFromImmediateNodeModulesDirectory(extensions, moduleName, directory, state, typesScopeOnly, cache, redirectedReference) { + const nodeModulesFolder = combinePaths(directory, "node_modules"); + const nodeModulesFolderExists = directoryProbablyExists(nodeModulesFolder, state.host); + if (!nodeModulesFolderExists && state.traceEnabled) { + trace(state.host, Diagnostics.Directory_0_does_not_exist_skipping_all_lookups_in_it, nodeModulesFolder); + } + if (!typesScopeOnly) { + const packageResult = loadModuleFromSpecificNodeModulesDirectory(extensions, moduleName, nodeModulesFolder, nodeModulesFolderExists, state, cache, redirectedReference); + if (packageResult) { + return packageResult; + } + } + if (extensions & 4 /* Declaration */) { + const nodeModulesAtTypes2 = combinePaths(nodeModulesFolder, "@types"); + let nodeModulesAtTypesExists = nodeModulesFolderExists; + if (nodeModulesFolderExists && !directoryProbablyExists(nodeModulesAtTypes2, state.host)) { + if (state.traceEnabled) { + trace(state.host, Diagnostics.Directory_0_does_not_exist_skipping_all_lookups_in_it, nodeModulesAtTypes2); + } + nodeModulesAtTypesExists = false; + } + return loadModuleFromSpecificNodeModulesDirectory(4 /* Declaration */, mangleScopedPackageNameWithTrace(moduleName, state), nodeModulesAtTypes2, nodeModulesAtTypesExists, state, cache, redirectedReference); + } +} +function loadModuleFromSpecificNodeModulesDirectory(extensions, moduleName, nodeModulesDirectory, nodeModulesDirectoryExists, state, cache, redirectedReference) { + var _a, _b; + const candidate = normalizePath(combinePaths(nodeModulesDirectory, moduleName)); + const { packageName, rest } = parsePackageName(moduleName); + const packageDirectory = combinePaths(nodeModulesDirectory, packageName); + let rootPackageInfo; + let packageInfo = getPackageJsonInfo(candidate, !nodeModulesDirectoryExists, state); + if (rest !== "" && packageInfo && (!(state.features & 8 /* Exports */) || !hasProperty(((_a = rootPackageInfo = getPackageJsonInfo(packageDirectory, !nodeModulesDirectoryExists, state)) == null ? void 0 : _a.contents.packageJsonContent) ?? emptyArray, "exports"))) { + const fromFile = loadModuleFromFile(extensions, candidate, !nodeModulesDirectoryExists, state); + if (fromFile) { + return noPackageId(fromFile); + } + const fromDirectory = loadNodeModuleFromDirectoryWorker( + extensions, + candidate, + !nodeModulesDirectoryExists, + state, + packageInfo.contents.packageJsonContent, + getVersionPathsOfPackageJsonInfo(packageInfo, state) + ); + return withPackageId(packageInfo, fromDirectory, state); + } + const loader = (extensions2, candidate2, onlyRecordFailures, state2) => { + let pathAndExtension = (rest || !(state2.features & 32 /* EsmMode */)) && loadModuleFromFile(extensions2, candidate2, onlyRecordFailures, state2) || loadNodeModuleFromDirectoryWorker( + extensions2, + candidate2, + onlyRecordFailures, + state2, + packageInfo && packageInfo.contents.packageJsonContent, + packageInfo && getVersionPathsOfPackageJsonInfo(packageInfo, state2) + ); + if (!pathAndExtension && packageInfo && (packageInfo.contents.packageJsonContent.exports === void 0 || packageInfo.contents.packageJsonContent.exports === null) && state2.features & 32 /* EsmMode */) { + pathAndExtension = loadModuleFromFile(extensions2, combinePaths(candidate2, "index.js"), onlyRecordFailures, state2); + } + return withPackageId(packageInfo, pathAndExtension, state2); + }; + if (rest !== "") { + packageInfo = rootPackageInfo ?? getPackageJsonInfo(packageDirectory, !nodeModulesDirectoryExists, state); + } + if (packageInfo) { + state.resolvedPackageDirectory = true; + } + if (packageInfo && packageInfo.contents.packageJsonContent.exports && state.features & 8 /* Exports */) { + return (_b = loadModuleFromExports(packageInfo, extensions, combinePaths(".", rest), state, cache, redirectedReference)) == null ? void 0 : _b.value; + } + const versionPaths = rest !== "" && packageInfo ? getVersionPathsOfPackageJsonInfo(packageInfo, state) : void 0; + if (versionPaths) { + if (state.traceEnabled) { + trace(state.host, Diagnostics.package_json_has_a_typesVersions_entry_0_that_matches_compiler_version_1_looking_for_a_pattern_to_match_module_name_2, versionPaths.version, version, rest); + } + const packageDirectoryExists = nodeModulesDirectoryExists && directoryProbablyExists(packageDirectory, state.host); + const pathPatterns = tryParsePatterns(versionPaths.paths); + const fromPaths = tryLoadModuleUsingPaths(extensions, rest, packageDirectory, versionPaths.paths, pathPatterns, loader, !packageDirectoryExists, state); + if (fromPaths) { + return fromPaths.value; + } + } + return loader(extensions, candidate, !nodeModulesDirectoryExists, state); +} +function tryLoadModuleUsingPaths(extensions, moduleName, baseDirectory, paths, pathPatterns, loader, onlyRecordFailures, state) { + const matchedPattern = matchPatternOrExact(pathPatterns, moduleName); + if (matchedPattern) { + const matchedStar = isString(matchedPattern) ? void 0 : matchedText(matchedPattern, moduleName); + const matchedPatternText = isString(matchedPattern) ? matchedPattern : patternText(matchedPattern); + if (state.traceEnabled) { + trace(state.host, Diagnostics.Module_name_0_matched_pattern_1, moduleName, matchedPatternText); + } + const resolved = forEach(paths[matchedPatternText], (subst) => { + const path = matchedStar ? replaceFirstStar(subst, matchedStar) : subst; + const candidate = normalizePath(combinePaths(baseDirectory, path)); + if (state.traceEnabled) { + trace(state.host, Diagnostics.Trying_substitution_0_candidate_module_location_Colon_1, subst, path); + } + const extension = tryGetExtensionFromPath2(subst); + if (extension !== void 0) { + const path2 = tryFile(candidate, onlyRecordFailures, state); + if (path2 !== void 0) { + return noPackageId({ path: path2, ext: extension, resolvedUsingTsExtension: void 0 }); + } + } + return loader(extensions, candidate, onlyRecordFailures || !directoryProbablyExists(getDirectoryPath(candidate), state.host), state); + }); + return { value: resolved }; + } +} +var mangledScopedPackageSeparator = "__"; +function mangleScopedPackageNameWithTrace(packageName, state) { + const mangled = mangleScopedPackageName(packageName); + if (state.traceEnabled && mangled !== packageName) { + trace(state.host, Diagnostics.Scoped_package_detected_looking_in_0, mangled); + } + return mangled; +} +function getTypesPackageName(packageName) { + return `@types/${mangleScopedPackageName(packageName)}`; +} +function mangleScopedPackageName(packageName) { + if (startsWith(packageName, "@")) { + const replaceSlash = packageName.replace(directorySeparator, mangledScopedPackageSeparator); + if (replaceSlash !== packageName) { + return replaceSlash.slice(1); + } + } + return packageName; +} +function getPackageNameFromTypesPackageName(mangledName) { + const withoutAtTypePrefix = removePrefix(mangledName, "@types/"); + if (withoutAtTypePrefix !== mangledName) { + return unmangleScopedPackageName(withoutAtTypePrefix); + } + return mangledName; +} +function unmangleScopedPackageName(typesPackageName) { + return typesPackageName.includes(mangledScopedPackageSeparator) ? "@" + typesPackageName.replace(mangledScopedPackageSeparator, directorySeparator) : typesPackageName; +} +function tryFindNonRelativeModuleNameInCache(cache, moduleName, mode, containingDirectory, redirectedReference, state) { + const result = cache && cache.getFromNonRelativeNameCache(moduleName, mode, containingDirectory, redirectedReference); + if (result) { + if (state.traceEnabled) { + trace(state.host, Diagnostics.Resolution_for_module_0_was_found_in_cache_from_location_1, moduleName, containingDirectory); + } + state.resultFromCache = result; + return { + value: result.resolvedModule && { + path: result.resolvedModule.resolvedFileName, + originalPath: result.resolvedModule.originalPath || true, + extension: result.resolvedModule.extension, + packageId: result.resolvedModule.packageId, + resolvedUsingTsExtension: result.resolvedModule.resolvedUsingTsExtension + } + }; + } +} +function classicNameResolver(moduleName, containingFile, compilerOptions, host, cache, redirectedReference) { + const traceEnabled = isTraceEnabled(compilerOptions, host); + const failedLookupLocations = []; + const affectingLocations = []; + const containingDirectory = getDirectoryPath(containingFile); + const diagnostics = []; + const state = { + compilerOptions, + host, + traceEnabled, + failedLookupLocations, + affectingLocations, + packageJsonInfoCache: cache, + features: 0 /* None */, + conditions: [], + requestContainingDirectory: containingDirectory, + reportDiagnostic: (diag2) => void diagnostics.push(diag2), + isConfigLookup: false, + candidateIsFromPackageJsonField: false, + resolvedPackageDirectory: false + }; + const resolved = tryResolve(1 /* TypeScript */ | 4 /* Declaration */) || tryResolve(2 /* JavaScript */ | (compilerOptions.resolveJsonModule ? 8 /* Json */ : 0)); + return createResolvedModuleWithFailedLookupLocationsHandlingSymlink( + moduleName, + resolved && resolved.value, + (resolved == null ? void 0 : resolved.value) && pathContainsNodeModules(resolved.value.path), + failedLookupLocations, + affectingLocations, + diagnostics, + state, + cache + ); + function tryResolve(extensions) { + const resolvedUsingSettings = tryLoadModuleUsingOptionalResolutionSettings(extensions, moduleName, containingDirectory, loadModuleFromFileNoPackageId, state); + if (resolvedUsingSettings) { + return { value: resolvedUsingSettings }; + } + if (!isExternalModuleNameRelative(moduleName)) { + const resolved2 = forEachAncestorDirectoryStoppingAtGlobalCache( + state.host, + containingDirectory, + (directory) => { + const resolutionFromCache = tryFindNonRelativeModuleNameInCache( + cache, + moduleName, + /*mode*/ + void 0, + directory, + redirectedReference, + state + ); + if (resolutionFromCache) { + return resolutionFromCache; + } + const searchName = normalizePath(combinePaths(directory, moduleName)); + return toSearchResult(loadModuleFromFileNoPackageId( + extensions, + searchName, + /*onlyRecordFailures*/ + false, + state + )); + } + ); + if (resolved2) return resolved2; + if (extensions & (1 /* TypeScript */ | 4 /* Declaration */)) { + let resolved3 = loadModuleFromNearestNodeModulesDirectoryTypesScope(moduleName, containingDirectory, state); + if (extensions & 4 /* Declaration */) resolved3 ?? (resolved3 = resolveFromTypeRoot(moduleName, state)); + return resolved3; + } + } else { + const candidate = normalizePath(combinePaths(containingDirectory, moduleName)); + return toSearchResult(loadModuleFromFileNoPackageId( + extensions, + candidate, + /*onlyRecordFailures*/ + false, + state + )); + } + } +} +function resolveFromTypeRoot(moduleName, state) { + if (!state.compilerOptions.typeRoots) return; + for (const typeRoot of state.compilerOptions.typeRoots) { + const candidate = getCandidateFromTypeRoot(typeRoot, moduleName, state); + const directoryExists = directoryProbablyExists(typeRoot, state.host); + if (!directoryExists && state.traceEnabled) { + trace(state.host, Diagnostics.Directory_0_does_not_exist_skipping_all_lookups_in_it, typeRoot); + } + const resolvedFromFile = loadModuleFromFile(4 /* Declaration */, candidate, !directoryExists, state); + if (resolvedFromFile) { + const packageDirectory = parseNodeModuleFromPath(resolvedFromFile.path); + const packageInfo = packageDirectory ? getPackageJsonInfo( + packageDirectory, + /*onlyRecordFailures*/ + false, + state + ) : void 0; + return toSearchResult(withPackageId(packageInfo, resolvedFromFile, state)); + } + const resolved = loadNodeModuleFromDirectory(4 /* Declaration */, candidate, !directoryExists, state); + if (resolved) return toSearchResult(resolved); + } +} +function shouldAllowImportingTsExtension(compilerOptions, fromFileName) { + return getAllowImportingTsExtensions(compilerOptions) || !!fromFileName && isDeclarationFileName(fromFileName); +} +function loadModuleFromGlobalCache(moduleName, projectName, compilerOptions, host, globalCache, packageJsonInfoCache) { + const traceEnabled = isTraceEnabled(compilerOptions, host); + if (traceEnabled) { + trace(host, Diagnostics.Auto_discovery_for_typings_is_enabled_in_project_0_Running_extra_resolution_pass_for_module_1_using_cache_location_2, projectName, moduleName, globalCache); + } + const failedLookupLocations = []; + const affectingLocations = []; + const diagnostics = []; + const state = { + compilerOptions, + host, + traceEnabled, + failedLookupLocations, + affectingLocations, + packageJsonInfoCache, + features: 0 /* None */, + conditions: [], + requestContainingDirectory: void 0, + reportDiagnostic: (diag2) => void diagnostics.push(diag2), + isConfigLookup: false, + candidateIsFromPackageJsonField: false, + resolvedPackageDirectory: false + }; + const resolved = loadModuleFromImmediateNodeModulesDirectory( + 4 /* Declaration */, + moduleName, + globalCache, + state, + /*typesScopeOnly*/ + false, + /*cache*/ + void 0, + /*redirectedReference*/ + void 0 + ); + return createResolvedModuleWithFailedLookupLocations( + resolved, + /*isExternalLibraryImport*/ + true, + failedLookupLocations, + affectingLocations, + diagnostics, + state.resultFromCache, + /*cache*/ + void 0 + ); +} +function toSearchResult(value) { + return value !== void 0 ? { value } : void 0; +} +function traceIfEnabled(state, diagnostic, ...args) { + if (state.traceEnabled) { + trace(state.host, diagnostic, ...args); + } +} +function useCaseSensitiveFileNames(state) { + return !state.host.useCaseSensitiveFileNames ? true : typeof state.host.useCaseSensitiveFileNames === "boolean" ? state.host.useCaseSensitiveFileNames : state.host.useCaseSensitiveFileNames(); +} + +// src/compiler/binder.ts +function getModuleInstanceState(node, visited) { + if (node.body && !node.body.parent) { + setParent(node.body, node); + setParentRecursive( + node.body, + /*incremental*/ + false + ); + } + return node.body ? getModuleInstanceStateCached(node.body, visited) : 1 /* Instantiated */; +} +function getModuleInstanceStateCached(node, visited = /* @__PURE__ */ new Map()) { + const nodeId = getNodeId(node); + if (visited.has(nodeId)) { + return visited.get(nodeId) || 0 /* NonInstantiated */; + } + visited.set(nodeId, void 0); + const result = getModuleInstanceStateWorker(node, visited); + visited.set(nodeId, result); + return result; +} +function getModuleInstanceStateWorker(node, visited) { + switch (node.kind) { + // 1. interface declarations, type alias declarations + case 264 /* InterfaceDeclaration */: + case 265 /* TypeAliasDeclaration */: + return 0 /* NonInstantiated */; + // 2. const enum declarations + case 266 /* EnumDeclaration */: + if (isEnumConst(node)) { + return 2 /* ConstEnumOnly */; + } + break; + // 3. non-exported import declarations + case 272 /* ImportDeclaration */: + case 271 /* ImportEqualsDeclaration */: + if (!hasSyntacticModifier(node, 32 /* Export */)) { + return 0 /* NonInstantiated */; + } + break; + // 4. Export alias declarations pointing at only uninstantiated modules or things uninstantiated modules contain + case 278 /* ExportDeclaration */: + const exportDeclaration = node; + if (!exportDeclaration.moduleSpecifier && exportDeclaration.exportClause && exportDeclaration.exportClause.kind === 279 /* NamedExports */) { + let state = 0 /* NonInstantiated */; + for (const specifier of exportDeclaration.exportClause.elements) { + const specifierState = getModuleInstanceStateForAliasTarget(specifier, visited); + if (specifierState > state) { + state = specifierState; + } + if (state === 1 /* Instantiated */) { + return state; + } + } + return state; + } + break; + // 5. other uninstantiated module declarations. + case 268 /* ModuleBlock */: { + let state = 0 /* NonInstantiated */; + forEachChild(node, (n) => { + const childState = getModuleInstanceStateCached(n, visited); + switch (childState) { + case 0 /* NonInstantiated */: + return; + case 2 /* ConstEnumOnly */: + state = 2 /* ConstEnumOnly */; + return; + case 1 /* Instantiated */: + state = 1 /* Instantiated */; + return true; + default: + Debug.assertNever(childState); + } + }); + return state; + } + case 267 /* ModuleDeclaration */: + return getModuleInstanceState(node, visited); + case 80 /* Identifier */: + if (node.flags & 4096 /* IdentifierIsInJSDocNamespace */) { + return 0 /* NonInstantiated */; + } + } + return 1 /* Instantiated */; +} +function getModuleInstanceStateForAliasTarget(specifier, visited) { + const name = specifier.propertyName || specifier.name; + if (name.kind !== 80 /* Identifier */) { + return 1 /* Instantiated */; + } + let p = specifier.parent; + while (p) { + if (isBlock(p) || isModuleBlock(p) || isSourceFile(p)) { + const statements = p.statements; + let found; + for (const statement of statements) { + if (nodeHasName(statement, name)) { + if (!statement.parent) { + setParent(statement, p); + setParentRecursive( + statement, + /*incremental*/ + false + ); + } + const state = getModuleInstanceStateCached(statement, visited); + if (found === void 0 || state > found) { + found = state; + } + if (found === 1 /* Instantiated */) { + return found; + } + if (statement.kind === 271 /* ImportEqualsDeclaration */) { + found = 1 /* Instantiated */; + } + } + } + if (found !== void 0) { + return found; + } + } + p = p.parent; + } + return 1 /* Instantiated */; +} +function createFlowNode(flags, node, antecedent) { + return Debug.attachFlowNodeDebugInfo({ flags, id: 0, node, antecedent }); +} +var binder = /* @__PURE__ */ createBinder(); +function bindSourceFile(file, options) { + mark("beforeBind"); + binder(file, options); + mark("afterBind"); + measure("Bind", "beforeBind", "afterBind"); +} +function createBinder() { + var file; + var options; + var languageVersion; + var parent; + var container; + var thisParentContainer; + var blockScopeContainer; + var lastContainer; + var delayedTypeAliases; + var seenThisKeyword; + var jsDocImports; + var currentFlow; + var currentBreakTarget; + var currentContinueTarget; + var currentReturnTarget; + var currentTrueTarget; + var currentFalseTarget; + var currentExceptionTarget; + var preSwitchCaseFlow; + var activeLabelList; + var hasExplicitReturn; + var hasFlowEffects; + var emitFlags; + var inStrictMode; + var inAssignmentPattern = false; + var symbolCount = 0; + var Symbol13; + var classifiableNames; + var unreachableFlow = createFlowNode( + 1 /* Unreachable */, + /*node*/ + void 0, + /*antecedent*/ + void 0 + ); + var reportedUnreachableFlow = createFlowNode( + 1 /* Unreachable */, + /*node*/ + void 0, + /*antecedent*/ + void 0 + ); + var bindBinaryExpressionFlow = createBindBinaryExpressionFlow(); + return bindSourceFile2; + function createDiagnosticForNode2(node, message, ...args) { + return createDiagnosticForNodeInSourceFile(getSourceFileOfNode(node) || file, node, message, ...args); + } + function bindSourceFile2(f, opts) { + var _a, _b; + file = f; + options = opts; + languageVersion = getEmitScriptTarget(options); + inStrictMode = bindInStrictMode(file, opts); + classifiableNames = /* @__PURE__ */ new Set(); + symbolCount = 0; + Symbol13 = objectAllocator.getSymbolConstructor(); + Debug.attachFlowNodeDebugInfo(unreachableFlow); + Debug.attachFlowNodeDebugInfo(reportedUnreachableFlow); + if (!file.locals) { + (_a = tracing) == null ? void 0 : _a.push( + tracing.Phase.Bind, + "bindSourceFile", + { path: file.path }, + /*separateBeginAndEnd*/ + true + ); + bind(file); + (_b = tracing) == null ? void 0 : _b.pop(); + file.symbolCount = symbolCount; + file.classifiableNames = classifiableNames; + delayedBindJSDocTypedefTag(); + bindJSDocImports(); + } + file = void 0; + options = void 0; + languageVersion = void 0; + parent = void 0; + container = void 0; + thisParentContainer = void 0; + blockScopeContainer = void 0; + lastContainer = void 0; + delayedTypeAliases = void 0; + jsDocImports = void 0; + seenThisKeyword = false; + currentFlow = void 0; + currentBreakTarget = void 0; + currentContinueTarget = void 0; + currentReturnTarget = void 0; + currentTrueTarget = void 0; + currentFalseTarget = void 0; + currentExceptionTarget = void 0; + activeLabelList = void 0; + hasExplicitReturn = false; + hasFlowEffects = false; + inAssignmentPattern = false; + emitFlags = 0 /* None */; + } + function bindInStrictMode(file2, opts) { + if (getStrictOptionValue(opts, "alwaysStrict") && !file2.isDeclarationFile) { + return true; + } else { + return !!file2.externalModuleIndicator; + } + } + function createSymbol(flags, name) { + symbolCount++; + return new Symbol13(flags, name); + } + function addDeclarationToSymbol(symbol, node, symbolFlags) { + symbol.flags |= symbolFlags; + node.symbol = symbol; + symbol.declarations = appendIfUnique(symbol.declarations, node); + if (symbolFlags & (32 /* Class */ | 384 /* Enum */ | 1536 /* Module */ | 3 /* Variable */) && !symbol.exports) { + symbol.exports = createSymbolTable(); + } + if (symbolFlags & (32 /* Class */ | 64 /* Interface */ | 2048 /* TypeLiteral */ | 4096 /* ObjectLiteral */) && !symbol.members) { + symbol.members = createSymbolTable(); + } + if (symbol.constEnumOnlyModule && symbol.flags & (16 /* Function */ | 32 /* Class */ | 256 /* RegularEnum */)) { + symbol.constEnumOnlyModule = false; + } + if (symbolFlags & 111551 /* Value */) { + setValueDeclaration(symbol, node); + } + } + function getDeclarationName(node) { + if (node.kind === 277 /* ExportAssignment */) { + return node.isExportEquals ? "export=" /* ExportEquals */ : "default" /* Default */; + } + const name = getNameOfDeclaration(node); + if (name) { + if (isAmbientModule(node)) { + const moduleName = getTextOfIdentifierOrLiteral(name); + return isGlobalScopeAugmentation(node) ? "__global" : `"${moduleName}"`; + } + if (name.kind === 167 /* ComputedPropertyName */) { + const nameExpression = name.expression; + if (isStringOrNumericLiteralLike(nameExpression)) { + return escapeLeadingUnderscores(nameExpression.text); + } + if (isSignedNumericLiteral(nameExpression)) { + return tokenToString(nameExpression.operator) + nameExpression.operand.text; + } else { + Debug.fail("Only computed properties with literal names have declaration names"); + } + } + if (isPrivateIdentifier(name)) { + const containingClass = getContainingClass(node); + if (!containingClass) { + return void 0; + } + const containingClassSymbol = containingClass.symbol; + return getSymbolNameForPrivateIdentifier(containingClassSymbol, name.escapedText); + } + if (isJsxNamespacedName(name)) { + return getEscapedTextOfJsxNamespacedName(name); + } + return isPropertyNameLiteral(name) ? getEscapedTextOfIdentifierOrLiteral(name) : void 0; + } + switch (node.kind) { + case 176 /* Constructor */: + return "__constructor" /* Constructor */; + case 184 /* FunctionType */: + case 179 /* CallSignature */: + case 323 /* JSDocSignature */: + return "__call" /* Call */; + case 185 /* ConstructorType */: + case 180 /* ConstructSignature */: + return "__new" /* New */; + case 181 /* IndexSignature */: + return "__index" /* Index */; + case 278 /* ExportDeclaration */: + return "__export" /* ExportStar */; + case 307 /* SourceFile */: + return "export=" /* ExportEquals */; + case 226 /* BinaryExpression */: + if (getAssignmentDeclarationKind(node) === 2 /* ModuleExports */) { + return "export=" /* ExportEquals */; + } + Debug.fail("Unknown binary declaration kind"); + break; + case 317 /* JSDocFunctionType */: + return isJSDocConstructSignature(node) ? "__new" /* New */ : "__call" /* Call */; + case 169 /* Parameter */: + Debug.assert(node.parent.kind === 317 /* JSDocFunctionType */, "Impossible parameter parent kind", () => `parent is: ${Debug.formatSyntaxKind(node.parent.kind)}, expected JSDocFunctionType`); + const functionType = node.parent; + const index = functionType.parameters.indexOf(node); + return "arg" + index; + } + } + function getDisplayName(node) { + return isNamedDeclaration(node) ? declarationNameToString(node.name) : unescapeLeadingUnderscores(Debug.checkDefined(getDeclarationName(node))); + } + function declareSymbol(symbolTable, parent2, node, includes, excludes, isReplaceableByMethod, isComputedName) { + Debug.assert(isComputedName || !hasDynamicName(node)); + const isDefaultExport = hasSyntacticModifier(node, 2048 /* Default */) || isExportSpecifier(node) && moduleExportNameIsDefault(node.name); + const name = isComputedName ? "__computed" /* Computed */ : isDefaultExport && parent2 ? "default" /* Default */ : getDeclarationName(node); + let symbol; + if (name === void 0) { + symbol = createSymbol(0 /* None */, "__missing" /* Missing */); + } else { + symbol = symbolTable.get(name); + if (includes & 2885600 /* Classifiable */) { + classifiableNames.add(name); + } + if (!symbol) { + symbolTable.set(name, symbol = createSymbol(0 /* None */, name)); + if (isReplaceableByMethod) symbol.isReplaceableByMethod = true; + } else if (isReplaceableByMethod && !symbol.isReplaceableByMethod) { + return symbol; + } else if (symbol.flags & excludes) { + if (symbol.isReplaceableByMethod) { + symbolTable.set(name, symbol = createSymbol(0 /* None */, name)); + } else if (!(includes & 3 /* Variable */ && symbol.flags & 67108864 /* Assignment */)) { + if (isNamedDeclaration(node)) { + setParent(node.name, node); + } + let message = symbol.flags & 2 /* BlockScopedVariable */ ? Diagnostics.Cannot_redeclare_block_scoped_variable_0 : Diagnostics.Duplicate_identifier_0; + let messageNeedsName = true; + if (symbol.flags & 384 /* Enum */ || includes & 384 /* Enum */) { + message = Diagnostics.Enum_declarations_can_only_merge_with_namespace_or_other_enum_declarations; + messageNeedsName = false; + } + let multipleDefaultExports = false; + if (length(symbol.declarations)) { + if (isDefaultExport) { + message = Diagnostics.A_module_cannot_have_multiple_default_exports; + messageNeedsName = false; + multipleDefaultExports = true; + } else { + if (symbol.declarations && symbol.declarations.length && (node.kind === 277 /* ExportAssignment */ && !node.isExportEquals)) { + message = Diagnostics.A_module_cannot_have_multiple_default_exports; + messageNeedsName = false; + multipleDefaultExports = true; + } + } + } + const relatedInformation = []; + if (isTypeAliasDeclaration(node) && nodeIsMissing(node.type) && hasSyntacticModifier(node, 32 /* Export */) && symbol.flags & (2097152 /* Alias */ | 788968 /* Type */ | 1920 /* Namespace */)) { + relatedInformation.push(createDiagnosticForNode2(node, Diagnostics.Did_you_mean_0, `export type { ${unescapeLeadingUnderscores(node.name.escapedText)} }`)); + } + const declarationName = getNameOfDeclaration(node) || node; + forEach(symbol.declarations, (declaration, index) => { + const decl = getNameOfDeclaration(declaration) || declaration; + const diag3 = messageNeedsName ? createDiagnosticForNode2(decl, message, getDisplayName(declaration)) : createDiagnosticForNode2(decl, message); + file.bindDiagnostics.push( + multipleDefaultExports ? addRelatedInfo(diag3, createDiagnosticForNode2(declarationName, index === 0 ? Diagnostics.Another_export_default_is_here : Diagnostics.and_here)) : diag3 + ); + if (multipleDefaultExports) { + relatedInformation.push(createDiagnosticForNode2(decl, Diagnostics.The_first_export_default_is_here)); + } + }); + const diag2 = messageNeedsName ? createDiagnosticForNode2(declarationName, message, getDisplayName(node)) : createDiagnosticForNode2(declarationName, message); + file.bindDiagnostics.push(addRelatedInfo(diag2, ...relatedInformation)); + symbol = createSymbol(0 /* None */, name); + } + } + } + addDeclarationToSymbol(symbol, node, includes); + if (symbol.parent) { + Debug.assert(symbol.parent === parent2, "Existing symbol parent should match new one"); + } else { + symbol.parent = parent2; + } + return symbol; + } + function declareModuleMember(node, symbolFlags, symbolExcludes) { + const hasExportModifier = !!(getCombinedModifierFlags(node) & 32 /* Export */) || jsdocTreatAsExported(node); + if (symbolFlags & 2097152 /* Alias */) { + if (node.kind === 281 /* ExportSpecifier */ || node.kind === 271 /* ImportEqualsDeclaration */ && hasExportModifier) { + return declareSymbol(container.symbol.exports, container.symbol, node, symbolFlags, symbolExcludes); + } else { + Debug.assertNode(container, canHaveLocals); + return declareSymbol( + container.locals, + /*parent*/ + void 0, + node, + symbolFlags, + symbolExcludes + ); + } + } else { + if (isJSDocTypeAlias(node)) Debug.assert(isInJSFile(node)); + if (!isAmbientModule(node) && (hasExportModifier || container.flags & 128 /* ExportContext */)) { + if (!canHaveLocals(container) || !container.locals || hasSyntacticModifier(node, 2048 /* Default */) && !getDeclarationName(node)) { + return declareSymbol(container.symbol.exports, container.symbol, node, symbolFlags, symbolExcludes); + } + const exportKind = symbolFlags & 111551 /* Value */ ? 1048576 /* ExportValue */ : 0; + const local = declareSymbol( + container.locals, + /*parent*/ + void 0, + node, + exportKind, + symbolExcludes + ); + local.exportSymbol = declareSymbol(container.symbol.exports, container.symbol, node, symbolFlags, symbolExcludes); + node.localSymbol = local; + return local; + } else { + Debug.assertNode(container, canHaveLocals); + return declareSymbol( + container.locals, + /*parent*/ + void 0, + node, + symbolFlags, + symbolExcludes + ); + } + } + } + function jsdocTreatAsExported(node) { + if (node.parent && isModuleDeclaration(node)) { + node = node.parent; + } + if (!isJSDocTypeAlias(node)) return false; + if (!isJSDocEnumTag(node) && !!node.fullName) return true; + const declName = getNameOfDeclaration(node); + if (!declName) return false; + if (isPropertyAccessEntityNameExpression(declName.parent) && isTopLevelNamespaceAssignment(declName.parent)) return true; + if (isDeclaration(declName.parent) && getCombinedModifierFlags(declName.parent) & 32 /* Export */) return true; + return false; + } + function bindContainer(node, containerFlags) { + const saveContainer = container; + const saveThisParentContainer = thisParentContainer; + const savedBlockScopeContainer = blockScopeContainer; + if (containerFlags & 1 /* IsContainer */) { + if (node.kind !== 219 /* ArrowFunction */) { + thisParentContainer = container; + } + container = blockScopeContainer = node; + if (containerFlags & 32 /* HasLocals */) { + container.locals = createSymbolTable(); + addToContainerChain(container); + } + } else if (containerFlags & 2 /* IsBlockScopedContainer */) { + blockScopeContainer = node; + if (containerFlags & 32 /* HasLocals */) { + blockScopeContainer.locals = void 0; + } + } + if (containerFlags & 4 /* IsControlFlowContainer */) { + const saveCurrentFlow = currentFlow; + const saveBreakTarget = currentBreakTarget; + const saveContinueTarget = currentContinueTarget; + const saveReturnTarget = currentReturnTarget; + const saveExceptionTarget = currentExceptionTarget; + const saveActiveLabelList = activeLabelList; + const saveHasExplicitReturn = hasExplicitReturn; + const isImmediatelyInvoked = containerFlags & 16 /* IsFunctionExpression */ && !hasSyntacticModifier(node, 1024 /* Async */) && !node.asteriskToken && !!getImmediatelyInvokedFunctionExpression(node) || node.kind === 175 /* ClassStaticBlockDeclaration */; + if (!isImmediatelyInvoked) { + currentFlow = createFlowNode( + 2 /* Start */, + /*node*/ + void 0, + /*antecedent*/ + void 0 + ); + if (containerFlags & (16 /* IsFunctionExpression */ | 128 /* IsObjectLiteralOrClassExpressionMethodOrAccessor */)) { + currentFlow.node = node; + } + } + currentReturnTarget = isImmediatelyInvoked || node.kind === 176 /* Constructor */ || isInJSFile(node) && (node.kind === 262 /* FunctionDeclaration */ || node.kind === 218 /* FunctionExpression */) ? createBranchLabel() : void 0; + currentExceptionTarget = void 0; + currentBreakTarget = void 0; + currentContinueTarget = void 0; + activeLabelList = void 0; + hasExplicitReturn = false; + bindChildren(node); + node.flags &= ~5632 /* ReachabilityAndEmitFlags */; + if (!(currentFlow.flags & 1 /* Unreachable */) && containerFlags & 8 /* IsFunctionLike */ && nodeIsPresent(node.body)) { + node.flags |= 512 /* HasImplicitReturn */; + if (hasExplicitReturn) node.flags |= 1024 /* HasExplicitReturn */; + node.endFlowNode = currentFlow; + } + if (node.kind === 307 /* SourceFile */) { + node.flags |= emitFlags; + node.endFlowNode = currentFlow; + } + if (currentReturnTarget) { + addAntecedent(currentReturnTarget, currentFlow); + currentFlow = finishFlowLabel(currentReturnTarget); + if (node.kind === 176 /* Constructor */ || node.kind === 175 /* ClassStaticBlockDeclaration */ || isInJSFile(node) && (node.kind === 262 /* FunctionDeclaration */ || node.kind === 218 /* FunctionExpression */)) { + node.returnFlowNode = currentFlow; + } + } + if (!isImmediatelyInvoked) { + currentFlow = saveCurrentFlow; + } + currentBreakTarget = saveBreakTarget; + currentContinueTarget = saveContinueTarget; + currentReturnTarget = saveReturnTarget; + currentExceptionTarget = saveExceptionTarget; + activeLabelList = saveActiveLabelList; + hasExplicitReturn = saveHasExplicitReturn; + } else if (containerFlags & 64 /* IsInterface */) { + seenThisKeyword = false; + bindChildren(node); + Debug.assertNotNode(node, isIdentifier); + node.flags = seenThisKeyword ? node.flags | 256 /* ContainsThis */ : node.flags & ~256 /* ContainsThis */; + } else { + bindChildren(node); + } + container = saveContainer; + thisParentContainer = saveThisParentContainer; + blockScopeContainer = savedBlockScopeContainer; + } + function bindEachFunctionsFirst(nodes) { + bindEach(nodes, (n) => n.kind === 262 /* FunctionDeclaration */ ? bind(n) : void 0); + bindEach(nodes, (n) => n.kind !== 262 /* FunctionDeclaration */ ? bind(n) : void 0); + } + function bindEach(nodes, bindFunction = bind) { + if (nodes === void 0) { + return; + } + forEach(nodes, bindFunction); + } + function bindEachChild(node) { + forEachChild(node, bind, bindEach); + } + function bindChildren(node) { + const saveInAssignmentPattern = inAssignmentPattern; + inAssignmentPattern = false; + if (checkUnreachable(node)) { + bindEachChild(node); + bindJSDoc(node); + inAssignmentPattern = saveInAssignmentPattern; + return; + } + if (node.kind >= 243 /* FirstStatement */ && node.kind <= 259 /* LastStatement */ && (!options.allowUnreachableCode || node.kind === 253 /* ReturnStatement */)) { + node.flowNode = currentFlow; + } + switch (node.kind) { + case 247 /* WhileStatement */: + bindWhileStatement(node); + break; + case 246 /* DoStatement */: + bindDoStatement(node); + break; + case 248 /* ForStatement */: + bindForStatement(node); + break; + case 249 /* ForInStatement */: + case 250 /* ForOfStatement */: + bindForInOrForOfStatement(node); + break; + case 245 /* IfStatement */: + bindIfStatement(node); + break; + case 253 /* ReturnStatement */: + case 257 /* ThrowStatement */: + bindReturnOrThrow(node); + break; + case 252 /* BreakStatement */: + case 251 /* ContinueStatement */: + bindBreakOrContinueStatement(node); + break; + case 258 /* TryStatement */: + bindTryStatement(node); + break; + case 255 /* SwitchStatement */: + bindSwitchStatement(node); + break; + case 269 /* CaseBlock */: + bindCaseBlock(node); + break; + case 296 /* CaseClause */: + bindCaseClause(node); + break; + case 244 /* ExpressionStatement */: + bindExpressionStatement(node); + break; + case 256 /* LabeledStatement */: + bindLabeledStatement(node); + break; + case 224 /* PrefixUnaryExpression */: + bindPrefixUnaryExpressionFlow(node); + break; + case 225 /* PostfixUnaryExpression */: + bindPostfixUnaryExpressionFlow(node); + break; + case 226 /* BinaryExpression */: + if (isDestructuringAssignment(node)) { + inAssignmentPattern = saveInAssignmentPattern; + bindDestructuringAssignmentFlow(node); + return; + } + bindBinaryExpressionFlow(node); + break; + case 220 /* DeleteExpression */: + bindDeleteExpressionFlow(node); + break; + case 227 /* ConditionalExpression */: + bindConditionalExpressionFlow(node); + break; + case 260 /* VariableDeclaration */: + bindVariableDeclarationFlow(node); + break; + case 211 /* PropertyAccessExpression */: + case 212 /* ElementAccessExpression */: + bindAccessExpressionFlow(node); + break; + case 213 /* CallExpression */: + bindCallExpressionFlow(node); + break; + case 235 /* NonNullExpression */: + bindNonNullExpressionFlow(node); + break; + case 346 /* JSDocTypedefTag */: + case 338 /* JSDocCallbackTag */: + case 340 /* JSDocEnumTag */: + bindJSDocTypeAlias(node); + break; + case 351 /* JSDocImportTag */: + bindJSDocImportTag(node); + break; + // In source files and blocks, bind functions first to match hoisting that occurs at runtime + case 307 /* SourceFile */: { + bindEachFunctionsFirst(node.statements); + bind(node.endOfFileToken); + break; + } + case 241 /* Block */: + case 268 /* ModuleBlock */: + bindEachFunctionsFirst(node.statements); + break; + case 208 /* BindingElement */: + bindBindingElementFlow(node); + break; + case 169 /* Parameter */: + bindParameterFlow(node); + break; + case 210 /* ObjectLiteralExpression */: + case 209 /* ArrayLiteralExpression */: + case 303 /* PropertyAssignment */: + case 230 /* SpreadElement */: + inAssignmentPattern = saveInAssignmentPattern; + // falls through + default: + bindEachChild(node); + break; + } + bindJSDoc(node); + inAssignmentPattern = saveInAssignmentPattern; + } + function isNarrowingExpression(expr) { + switch (expr.kind) { + case 80 /* Identifier */: + case 110 /* ThisKeyword */: + return true; + case 211 /* PropertyAccessExpression */: + case 212 /* ElementAccessExpression */: + return containsNarrowableReference(expr); + case 213 /* CallExpression */: + return hasNarrowableArgument(expr); + case 217 /* ParenthesizedExpression */: + if (isJSDocTypeAssertion(expr)) { + return false; + } + // fallthrough + case 235 /* NonNullExpression */: + return isNarrowingExpression(expr.expression); + case 226 /* BinaryExpression */: + return isNarrowingBinaryExpression(expr); + case 224 /* PrefixUnaryExpression */: + return expr.operator === 54 /* ExclamationToken */ && isNarrowingExpression(expr.operand); + case 221 /* TypeOfExpression */: + return isNarrowingExpression(expr.expression); + } + return false; + } + function isNarrowableReference(expr) { + switch (expr.kind) { + case 80 /* Identifier */: + case 110 /* ThisKeyword */: + case 108 /* SuperKeyword */: + case 236 /* MetaProperty */: + return true; + case 211 /* PropertyAccessExpression */: + case 217 /* ParenthesizedExpression */: + case 235 /* NonNullExpression */: + return isNarrowableReference(expr.expression); + case 212 /* ElementAccessExpression */: + return (isStringOrNumericLiteralLike(expr.argumentExpression) || isEntityNameExpression(expr.argumentExpression)) && isNarrowableReference(expr.expression); + case 226 /* BinaryExpression */: + return expr.operatorToken.kind === 28 /* CommaToken */ && isNarrowableReference(expr.right) || isAssignmentOperator(expr.operatorToken.kind) && isLeftHandSideExpression(expr.left); + } + return false; + } + function containsNarrowableReference(expr) { + return isNarrowableReference(expr) || isOptionalChain(expr) && containsNarrowableReference(expr.expression); + } + function hasNarrowableArgument(expr) { + if (expr.arguments) { + for (const argument of expr.arguments) { + if (containsNarrowableReference(argument)) { + return true; + } + } + } + if (expr.expression.kind === 211 /* PropertyAccessExpression */ && containsNarrowableReference(expr.expression.expression)) { + return true; + } + return false; + } + function isNarrowingTypeofOperands(expr1, expr2) { + return isTypeOfExpression(expr1) && isNarrowableOperand(expr1.expression) && isStringLiteralLike(expr2); + } + function isNarrowingBinaryExpression(expr) { + switch (expr.operatorToken.kind) { + case 64 /* EqualsToken */: + case 76 /* BarBarEqualsToken */: + case 77 /* AmpersandAmpersandEqualsToken */: + case 78 /* QuestionQuestionEqualsToken */: + return containsNarrowableReference(expr.left); + case 35 /* EqualsEqualsToken */: + case 36 /* ExclamationEqualsToken */: + case 37 /* EqualsEqualsEqualsToken */: + case 38 /* ExclamationEqualsEqualsToken */: + return isNarrowableOperand(expr.left) || isNarrowableOperand(expr.right) || isNarrowingTypeofOperands(expr.right, expr.left) || isNarrowingTypeofOperands(expr.left, expr.right) || (isBooleanLiteral(expr.right) && isNarrowingExpression(expr.left) || isBooleanLiteral(expr.left) && isNarrowingExpression(expr.right)); + case 104 /* InstanceOfKeyword */: + return isNarrowableOperand(expr.left); + case 103 /* InKeyword */: + return isNarrowingExpression(expr.right); + case 28 /* CommaToken */: + return isNarrowingExpression(expr.right); + } + return false; + } + function isNarrowableOperand(expr) { + switch (expr.kind) { + case 217 /* ParenthesizedExpression */: + return isNarrowableOperand(expr.expression); + case 226 /* BinaryExpression */: + switch (expr.operatorToken.kind) { + case 64 /* EqualsToken */: + return isNarrowableOperand(expr.left); + case 28 /* CommaToken */: + return isNarrowableOperand(expr.right); + } + } + return containsNarrowableReference(expr); + } + function createBranchLabel() { + return createFlowNode( + 4 /* BranchLabel */, + /*node*/ + void 0, + /*antecedent*/ + void 0 + ); + } + function createLoopLabel() { + return createFlowNode( + 8 /* LoopLabel */, + /*node*/ + void 0, + /*antecedent*/ + void 0 + ); + } + function createReduceLabel(target, antecedents, antecedent) { + return createFlowNode(1024 /* ReduceLabel */, { target, antecedents }, antecedent); + } + function setFlowNodeReferenced(flow) { + flow.flags |= flow.flags & 2048 /* Referenced */ ? 4096 /* Shared */ : 2048 /* Referenced */; + } + function addAntecedent(label, antecedent) { + if (!(antecedent.flags & 1 /* Unreachable */) && !contains(label.antecedent, antecedent)) { + (label.antecedent || (label.antecedent = [])).push(antecedent); + setFlowNodeReferenced(antecedent); + } + } + function createFlowCondition(flags, antecedent, expression) { + if (antecedent.flags & 1 /* Unreachable */) { + return antecedent; + } + if (!expression) { + return flags & 32 /* TrueCondition */ ? antecedent : unreachableFlow; + } + if ((expression.kind === 112 /* TrueKeyword */ && flags & 64 /* FalseCondition */ || expression.kind === 97 /* FalseKeyword */ && flags & 32 /* TrueCondition */) && !isExpressionOfOptionalChainRoot(expression) && !isNullishCoalesce(expression.parent)) { + return unreachableFlow; + } + if (!isNarrowingExpression(expression)) { + return antecedent; + } + setFlowNodeReferenced(antecedent); + return createFlowNode(flags, expression, antecedent); + } + function createFlowSwitchClause(antecedent, switchStatement, clauseStart, clauseEnd) { + setFlowNodeReferenced(antecedent); + return createFlowNode(128 /* SwitchClause */, { switchStatement, clauseStart, clauseEnd }, antecedent); + } + function createFlowMutation(flags, antecedent, node) { + setFlowNodeReferenced(antecedent); + hasFlowEffects = true; + const result = createFlowNode(flags, node, antecedent); + if (currentExceptionTarget) { + addAntecedent(currentExceptionTarget, result); + } + return result; + } + function createFlowCall(antecedent, node) { + setFlowNodeReferenced(antecedent); + hasFlowEffects = true; + return createFlowNode(512 /* Call */, node, antecedent); + } + function finishFlowLabel(flow) { + const antecedents = flow.antecedent; + if (!antecedents) { + return unreachableFlow; + } + if (antecedents.length === 1) { + return antecedents[0]; + } + return flow; + } + function isStatementCondition(node) { + const parent2 = node.parent; + switch (parent2.kind) { + case 245 /* IfStatement */: + case 247 /* WhileStatement */: + case 246 /* DoStatement */: + return parent2.expression === node; + case 248 /* ForStatement */: + case 227 /* ConditionalExpression */: + return parent2.condition === node; + } + return false; + } + function isLogicalExpression(node) { + while (true) { + if (node.kind === 217 /* ParenthesizedExpression */) { + node = node.expression; + } else if (node.kind === 224 /* PrefixUnaryExpression */ && node.operator === 54 /* ExclamationToken */) { + node = node.operand; + } else { + return isLogicalOrCoalescingBinaryExpression(node); + } + } + } + function isLogicalAssignmentExpression(node) { + return isLogicalOrCoalescingAssignmentExpression(skipParentheses(node)); + } + function isTopLevelLogicalExpression(node) { + while (isParenthesizedExpression(node.parent) || isPrefixUnaryExpression(node.parent) && node.parent.operator === 54 /* ExclamationToken */) { + node = node.parent; + } + return !isStatementCondition(node) && !isLogicalExpression(node.parent) && !(isOptionalChain(node.parent) && node.parent.expression === node); + } + function doWithConditionalBranches(action, value, trueTarget, falseTarget) { + const savedTrueTarget = currentTrueTarget; + const savedFalseTarget = currentFalseTarget; + currentTrueTarget = trueTarget; + currentFalseTarget = falseTarget; + action(value); + currentTrueTarget = savedTrueTarget; + currentFalseTarget = savedFalseTarget; + } + function bindCondition(node, trueTarget, falseTarget) { + doWithConditionalBranches(bind, node, trueTarget, falseTarget); + if (!node || !isLogicalAssignmentExpression(node) && !isLogicalExpression(node) && !(isOptionalChain(node) && isOutermostOptionalChain(node))) { + addAntecedent(trueTarget, createFlowCondition(32 /* TrueCondition */, currentFlow, node)); + addAntecedent(falseTarget, createFlowCondition(64 /* FalseCondition */, currentFlow, node)); + } + } + function bindIterativeStatement(node, breakTarget, continueTarget) { + const saveBreakTarget = currentBreakTarget; + const saveContinueTarget = currentContinueTarget; + currentBreakTarget = breakTarget; + currentContinueTarget = continueTarget; + bind(node); + currentBreakTarget = saveBreakTarget; + currentContinueTarget = saveContinueTarget; + } + function setContinueTarget(node, target) { + let label = activeLabelList; + while (label && node.parent.kind === 256 /* LabeledStatement */) { + label.continueTarget = target; + label = label.next; + node = node.parent; + } + return target; + } + function bindWhileStatement(node) { + const preWhileLabel = setContinueTarget(node, createLoopLabel()); + const preBodyLabel = createBranchLabel(); + const postWhileLabel = createBranchLabel(); + addAntecedent(preWhileLabel, currentFlow); + currentFlow = preWhileLabel; + bindCondition(node.expression, preBodyLabel, postWhileLabel); + currentFlow = finishFlowLabel(preBodyLabel); + bindIterativeStatement(node.statement, postWhileLabel, preWhileLabel); + addAntecedent(preWhileLabel, currentFlow); + currentFlow = finishFlowLabel(postWhileLabel); + } + function bindDoStatement(node) { + const preDoLabel = createLoopLabel(); + const preConditionLabel = setContinueTarget(node, createBranchLabel()); + const postDoLabel = createBranchLabel(); + addAntecedent(preDoLabel, currentFlow); + currentFlow = preDoLabel; + bindIterativeStatement(node.statement, postDoLabel, preConditionLabel); + addAntecedent(preConditionLabel, currentFlow); + currentFlow = finishFlowLabel(preConditionLabel); + bindCondition(node.expression, preDoLabel, postDoLabel); + currentFlow = finishFlowLabel(postDoLabel); + } + function bindForStatement(node) { + const preLoopLabel = setContinueTarget(node, createLoopLabel()); + const preBodyLabel = createBranchLabel(); + const postLoopLabel = createBranchLabel(); + bind(node.initializer); + addAntecedent(preLoopLabel, currentFlow); + currentFlow = preLoopLabel; + bindCondition(node.condition, preBodyLabel, postLoopLabel); + currentFlow = finishFlowLabel(preBodyLabel); + bindIterativeStatement(node.statement, postLoopLabel, preLoopLabel); + bind(node.incrementor); + addAntecedent(preLoopLabel, currentFlow); + currentFlow = finishFlowLabel(postLoopLabel); + } + function bindForInOrForOfStatement(node) { + const preLoopLabel = setContinueTarget(node, createLoopLabel()); + const postLoopLabel = createBranchLabel(); + bind(node.expression); + addAntecedent(preLoopLabel, currentFlow); + currentFlow = preLoopLabel; + if (node.kind === 250 /* ForOfStatement */) { + bind(node.awaitModifier); + } + addAntecedent(postLoopLabel, currentFlow); + bind(node.initializer); + if (node.initializer.kind !== 261 /* VariableDeclarationList */) { + bindAssignmentTargetFlow(node.initializer); + } + bindIterativeStatement(node.statement, postLoopLabel, preLoopLabel); + addAntecedent(preLoopLabel, currentFlow); + currentFlow = finishFlowLabel(postLoopLabel); + } + function bindIfStatement(node) { + const thenLabel = createBranchLabel(); + const elseLabel = createBranchLabel(); + const postIfLabel = createBranchLabel(); + bindCondition(node.expression, thenLabel, elseLabel); + currentFlow = finishFlowLabel(thenLabel); + bind(node.thenStatement); + addAntecedent(postIfLabel, currentFlow); + currentFlow = finishFlowLabel(elseLabel); + bind(node.elseStatement); + addAntecedent(postIfLabel, currentFlow); + currentFlow = finishFlowLabel(postIfLabel); + } + function bindReturnOrThrow(node) { + bind(node.expression); + if (node.kind === 253 /* ReturnStatement */) { + hasExplicitReturn = true; + if (currentReturnTarget) { + addAntecedent(currentReturnTarget, currentFlow); + } + } + currentFlow = unreachableFlow; + hasFlowEffects = true; + } + function findActiveLabel(name) { + for (let label = activeLabelList; label; label = label.next) { + if (label.name === name) { + return label; + } + } + return void 0; + } + function bindBreakOrContinueFlow(node, breakTarget, continueTarget) { + const flowLabel = node.kind === 252 /* BreakStatement */ ? breakTarget : continueTarget; + if (flowLabel) { + addAntecedent(flowLabel, currentFlow); + currentFlow = unreachableFlow; + hasFlowEffects = true; + } + } + function bindBreakOrContinueStatement(node) { + bind(node.label); + if (node.label) { + const activeLabel = findActiveLabel(node.label.escapedText); + if (activeLabel) { + activeLabel.referenced = true; + bindBreakOrContinueFlow(node, activeLabel.breakTarget, activeLabel.continueTarget); + } + } else { + bindBreakOrContinueFlow(node, currentBreakTarget, currentContinueTarget); + } + } + function bindTryStatement(node) { + const saveReturnTarget = currentReturnTarget; + const saveExceptionTarget = currentExceptionTarget; + const normalExitLabel = createBranchLabel(); + const returnLabel = createBranchLabel(); + let exceptionLabel = createBranchLabel(); + if (node.finallyBlock) { + currentReturnTarget = returnLabel; + } + addAntecedent(exceptionLabel, currentFlow); + currentExceptionTarget = exceptionLabel; + bind(node.tryBlock); + addAntecedent(normalExitLabel, currentFlow); + if (node.catchClause) { + currentFlow = finishFlowLabel(exceptionLabel); + exceptionLabel = createBranchLabel(); + addAntecedent(exceptionLabel, currentFlow); + currentExceptionTarget = exceptionLabel; + bind(node.catchClause); + addAntecedent(normalExitLabel, currentFlow); + } + currentReturnTarget = saveReturnTarget; + currentExceptionTarget = saveExceptionTarget; + if (node.finallyBlock) { + const finallyLabel = createBranchLabel(); + finallyLabel.antecedent = concatenate(concatenate(normalExitLabel.antecedent, exceptionLabel.antecedent), returnLabel.antecedent); + currentFlow = finallyLabel; + bind(node.finallyBlock); + if (currentFlow.flags & 1 /* Unreachable */) { + currentFlow = unreachableFlow; + } else { + if (currentReturnTarget && returnLabel.antecedent) { + addAntecedent(currentReturnTarget, createReduceLabel(finallyLabel, returnLabel.antecedent, currentFlow)); + } + if (currentExceptionTarget && exceptionLabel.antecedent) { + addAntecedent(currentExceptionTarget, createReduceLabel(finallyLabel, exceptionLabel.antecedent, currentFlow)); + } + currentFlow = normalExitLabel.antecedent ? createReduceLabel(finallyLabel, normalExitLabel.antecedent, currentFlow) : unreachableFlow; + } + } else { + currentFlow = finishFlowLabel(normalExitLabel); + } + } + function bindSwitchStatement(node) { + const postSwitchLabel = createBranchLabel(); + bind(node.expression); + const saveBreakTarget = currentBreakTarget; + const savePreSwitchCaseFlow = preSwitchCaseFlow; + currentBreakTarget = postSwitchLabel; + preSwitchCaseFlow = currentFlow; + bind(node.caseBlock); + addAntecedent(postSwitchLabel, currentFlow); + const hasDefault = forEach(node.caseBlock.clauses, (c) => c.kind === 297 /* DefaultClause */); + node.possiblyExhaustive = !hasDefault && !postSwitchLabel.antecedent; + if (!hasDefault) { + addAntecedent(postSwitchLabel, createFlowSwitchClause(preSwitchCaseFlow, node, 0, 0)); + } + currentBreakTarget = saveBreakTarget; + preSwitchCaseFlow = savePreSwitchCaseFlow; + currentFlow = finishFlowLabel(postSwitchLabel); + } + function bindCaseBlock(node) { + const clauses = node.clauses; + const isNarrowingSwitch = node.parent.expression.kind === 112 /* TrueKeyword */ || isNarrowingExpression(node.parent.expression); + let fallthroughFlow = unreachableFlow; + for (let i = 0; i < clauses.length; i++) { + const clauseStart = i; + while (!clauses[i].statements.length && i + 1 < clauses.length) { + if (fallthroughFlow === unreachableFlow) { + currentFlow = preSwitchCaseFlow; + } + bind(clauses[i]); + i++; + } + const preCaseLabel = createBranchLabel(); + addAntecedent(preCaseLabel, isNarrowingSwitch ? createFlowSwitchClause(preSwitchCaseFlow, node.parent, clauseStart, i + 1) : preSwitchCaseFlow); + addAntecedent(preCaseLabel, fallthroughFlow); + currentFlow = finishFlowLabel(preCaseLabel); + const clause = clauses[i]; + bind(clause); + fallthroughFlow = currentFlow; + if (!(currentFlow.flags & 1 /* Unreachable */) && i !== clauses.length - 1 && options.noFallthroughCasesInSwitch) { + clause.fallthroughFlowNode = currentFlow; + } + } + } + function bindCaseClause(node) { + const saveCurrentFlow = currentFlow; + currentFlow = preSwitchCaseFlow; + bind(node.expression); + currentFlow = saveCurrentFlow; + bindEach(node.statements); + } + function bindExpressionStatement(node) { + bind(node.expression); + maybeBindExpressionFlowIfCall(node.expression); + } + function maybeBindExpressionFlowIfCall(node) { + if (node.kind === 213 /* CallExpression */) { + const call = node; + if (call.expression.kind !== 108 /* SuperKeyword */ && isDottedName(call.expression)) { + currentFlow = createFlowCall(currentFlow, call); + } + } + } + function bindLabeledStatement(node) { + const postStatementLabel = createBranchLabel(); + activeLabelList = { + next: activeLabelList, + name: node.label.escapedText, + breakTarget: postStatementLabel, + continueTarget: void 0, + referenced: false + }; + bind(node.label); + bind(node.statement); + if (!activeLabelList.referenced && !options.allowUnusedLabels) { + errorOrSuggestionOnNode(unusedLabelIsError(options), node.label, Diagnostics.Unused_label); + } + activeLabelList = activeLabelList.next; + addAntecedent(postStatementLabel, currentFlow); + currentFlow = finishFlowLabel(postStatementLabel); + } + function bindDestructuringTargetFlow(node) { + if (node.kind === 226 /* BinaryExpression */ && node.operatorToken.kind === 64 /* EqualsToken */) { + bindAssignmentTargetFlow(node.left); + } else { + bindAssignmentTargetFlow(node); + } + } + function bindAssignmentTargetFlow(node) { + if (isNarrowableReference(node)) { + currentFlow = createFlowMutation(16 /* Assignment */, currentFlow, node); + } else if (node.kind === 209 /* ArrayLiteralExpression */) { + for (const e of node.elements) { + if (e.kind === 230 /* SpreadElement */) { + bindAssignmentTargetFlow(e.expression); + } else { + bindDestructuringTargetFlow(e); + } + } + } else if (node.kind === 210 /* ObjectLiteralExpression */) { + for (const p of node.properties) { + if (p.kind === 303 /* PropertyAssignment */) { + bindDestructuringTargetFlow(p.initializer); + } else if (p.kind === 304 /* ShorthandPropertyAssignment */) { + bindAssignmentTargetFlow(p.name); + } else if (p.kind === 305 /* SpreadAssignment */) { + bindAssignmentTargetFlow(p.expression); + } + } + } + } + function bindLogicalLikeExpression(node, trueTarget, falseTarget) { + const preRightLabel = createBranchLabel(); + if (node.operatorToken.kind === 56 /* AmpersandAmpersandToken */ || node.operatorToken.kind === 77 /* AmpersandAmpersandEqualsToken */) { + bindCondition(node.left, preRightLabel, falseTarget); + } else { + bindCondition(node.left, trueTarget, preRightLabel); + } + currentFlow = finishFlowLabel(preRightLabel); + bind(node.operatorToken); + if (isLogicalOrCoalescingAssignmentOperator(node.operatorToken.kind)) { + doWithConditionalBranches(bind, node.right, trueTarget, falseTarget); + bindAssignmentTargetFlow(node.left); + addAntecedent(trueTarget, createFlowCondition(32 /* TrueCondition */, currentFlow, node)); + addAntecedent(falseTarget, createFlowCondition(64 /* FalseCondition */, currentFlow, node)); + } else { + bindCondition(node.right, trueTarget, falseTarget); + } + } + function bindPrefixUnaryExpressionFlow(node) { + if (node.operator === 54 /* ExclamationToken */) { + const saveTrueTarget = currentTrueTarget; + currentTrueTarget = currentFalseTarget; + currentFalseTarget = saveTrueTarget; + bindEachChild(node); + currentFalseTarget = currentTrueTarget; + currentTrueTarget = saveTrueTarget; + } else { + bindEachChild(node); + if (node.operator === 46 /* PlusPlusToken */ || node.operator === 47 /* MinusMinusToken */) { + bindAssignmentTargetFlow(node.operand); + } + } + } + function bindPostfixUnaryExpressionFlow(node) { + bindEachChild(node); + if (node.operator === 46 /* PlusPlusToken */ || node.operator === 47 /* MinusMinusToken */) { + bindAssignmentTargetFlow(node.operand); + } + } + function bindDestructuringAssignmentFlow(node) { + if (inAssignmentPattern) { + inAssignmentPattern = false; + bind(node.operatorToken); + bind(node.right); + inAssignmentPattern = true; + bind(node.left); + } else { + inAssignmentPattern = true; + bind(node.left); + inAssignmentPattern = false; + bind(node.operatorToken); + bind(node.right); + } + bindAssignmentTargetFlow(node.left); + } + function createBindBinaryExpressionFlow() { + return createBinaryExpressionTrampoline( + onEnter, + onLeft, + onOperator, + onRight, + onExit, + /*foldState*/ + void 0 + ); + function onEnter(node, state) { + if (state) { + state.stackIndex++; + setParent(node, parent); + const saveInStrictMode = inStrictMode; + bindWorker(node); + const saveParent = parent; + parent = node; + state.skip = false; + state.inStrictModeStack[state.stackIndex] = saveInStrictMode; + state.parentStack[state.stackIndex] = saveParent; + } else { + state = { + stackIndex: 0, + skip: false, + inStrictModeStack: [void 0], + parentStack: [void 0] + }; + } + const operator = node.operatorToken.kind; + if (isLogicalOrCoalescingBinaryOperator(operator) || isLogicalOrCoalescingAssignmentOperator(operator)) { + if (isTopLevelLogicalExpression(node)) { + const postExpressionLabel = createBranchLabel(); + const saveCurrentFlow = currentFlow; + const saveHasFlowEffects = hasFlowEffects; + hasFlowEffects = false; + bindLogicalLikeExpression(node, postExpressionLabel, postExpressionLabel); + currentFlow = hasFlowEffects ? finishFlowLabel(postExpressionLabel) : saveCurrentFlow; + hasFlowEffects || (hasFlowEffects = saveHasFlowEffects); + } else { + bindLogicalLikeExpression(node, currentTrueTarget, currentFalseTarget); + } + state.skip = true; + } + return state; + } + function onLeft(left, state, node) { + if (!state.skip) { + const maybeBound = maybeBind2(left); + if (node.operatorToken.kind === 28 /* CommaToken */) { + maybeBindExpressionFlowIfCall(left); + } + return maybeBound; + } + } + function onOperator(operatorToken, state, _node) { + if (!state.skip) { + bind(operatorToken); + } + } + function onRight(right, state, node) { + if (!state.skip) { + const maybeBound = maybeBind2(right); + if (node.operatorToken.kind === 28 /* CommaToken */) { + maybeBindExpressionFlowIfCall(right); + } + return maybeBound; + } + } + function onExit(node, state) { + if (!state.skip) { + const operator = node.operatorToken.kind; + if (isAssignmentOperator(operator) && !isAssignmentTarget(node)) { + bindAssignmentTargetFlow(node.left); + if (operator === 64 /* EqualsToken */ && node.left.kind === 212 /* ElementAccessExpression */) { + const elementAccess = node.left; + if (isNarrowableOperand(elementAccess.expression)) { + currentFlow = createFlowMutation(256 /* ArrayMutation */, currentFlow, node); + } + } + } + } + const savedInStrictMode = state.inStrictModeStack[state.stackIndex]; + const savedParent = state.parentStack[state.stackIndex]; + if (savedInStrictMode !== void 0) { + inStrictMode = savedInStrictMode; + } + if (savedParent !== void 0) { + parent = savedParent; + } + state.skip = false; + state.stackIndex--; + } + function maybeBind2(node) { + if (node && isBinaryExpression(node) && !isDestructuringAssignment(node)) { + return node; + } + bind(node); + } + } + function bindDeleteExpressionFlow(node) { + bindEachChild(node); + if (node.expression.kind === 211 /* PropertyAccessExpression */) { + bindAssignmentTargetFlow(node.expression); + } + } + function bindConditionalExpressionFlow(node) { + const trueLabel = createBranchLabel(); + const falseLabel = createBranchLabel(); + const postExpressionLabel = createBranchLabel(); + const saveCurrentFlow = currentFlow; + const saveHasFlowEffects = hasFlowEffects; + hasFlowEffects = false; + bindCondition(node.condition, trueLabel, falseLabel); + currentFlow = finishFlowLabel(trueLabel); + bind(node.questionToken); + bind(node.whenTrue); + addAntecedent(postExpressionLabel, currentFlow); + currentFlow = finishFlowLabel(falseLabel); + bind(node.colonToken); + bind(node.whenFalse); + addAntecedent(postExpressionLabel, currentFlow); + currentFlow = hasFlowEffects ? finishFlowLabel(postExpressionLabel) : saveCurrentFlow; + hasFlowEffects || (hasFlowEffects = saveHasFlowEffects); + } + function bindInitializedVariableFlow(node) { + const name = !isOmittedExpression(node) ? node.name : void 0; + if (isBindingPattern(name)) { + for (const child of name.elements) { + bindInitializedVariableFlow(child); + } + } else { + currentFlow = createFlowMutation(16 /* Assignment */, currentFlow, node); + } + } + function bindVariableDeclarationFlow(node) { + bindEachChild(node); + if (node.initializer || isForInOrOfStatement(node.parent.parent)) { + bindInitializedVariableFlow(node); + } + } + function bindBindingElementFlow(node) { + bind(node.dotDotDotToken); + bind(node.propertyName); + bindInitializer(node.initializer); + bind(node.name); + } + function bindParameterFlow(node) { + bindEach(node.modifiers); + bind(node.dotDotDotToken); + bind(node.questionToken); + bind(node.type); + bindInitializer(node.initializer); + bind(node.name); + } + function bindInitializer(node) { + if (!node) { + return; + } + const entryFlow = currentFlow; + bind(node); + if (entryFlow === unreachableFlow || entryFlow === currentFlow) { + return; + } + const exitFlow = createBranchLabel(); + addAntecedent(exitFlow, entryFlow); + addAntecedent(exitFlow, currentFlow); + currentFlow = finishFlowLabel(exitFlow); + } + function bindJSDocTypeAlias(node) { + bind(node.tagName); + if (node.kind !== 340 /* JSDocEnumTag */ && node.fullName) { + setParent(node.fullName, node); + setParentRecursive( + node.fullName, + /*incremental*/ + false + ); + } + if (typeof node.comment !== "string") { + bindEach(node.comment); + } + } + function bindJSDocClassTag(node) { + bindEachChild(node); + const host = getHostSignatureFromJSDoc(node); + if (host && host.kind !== 174 /* MethodDeclaration */) { + addDeclarationToSymbol(host.symbol, host, 32 /* Class */); + } + } + function bindJSDocImportTag(node) { + bind(node.tagName); + bind(node.moduleSpecifier); + bind(node.attributes); + if (typeof node.comment !== "string") { + bindEach(node.comment); + } + } + function bindOptionalExpression(node, trueTarget, falseTarget) { + doWithConditionalBranches(bind, node, trueTarget, falseTarget); + if (!isOptionalChain(node) || isOutermostOptionalChain(node)) { + addAntecedent(trueTarget, createFlowCondition(32 /* TrueCondition */, currentFlow, node)); + addAntecedent(falseTarget, createFlowCondition(64 /* FalseCondition */, currentFlow, node)); + } + } + function bindOptionalChainRest(node) { + switch (node.kind) { + case 211 /* PropertyAccessExpression */: + bind(node.questionDotToken); + bind(node.name); + break; + case 212 /* ElementAccessExpression */: + bind(node.questionDotToken); + bind(node.argumentExpression); + break; + case 213 /* CallExpression */: + bind(node.questionDotToken); + bindEach(node.typeArguments); + bindEach(node.arguments); + break; + } + } + function bindOptionalChain(node, trueTarget, falseTarget) { + const preChainLabel = isOptionalChainRoot(node) ? createBranchLabel() : void 0; + bindOptionalExpression(node.expression, preChainLabel || trueTarget, falseTarget); + if (preChainLabel) { + currentFlow = finishFlowLabel(preChainLabel); + } + doWithConditionalBranches(bindOptionalChainRest, node, trueTarget, falseTarget); + if (isOutermostOptionalChain(node)) { + addAntecedent(trueTarget, createFlowCondition(32 /* TrueCondition */, currentFlow, node)); + addAntecedent(falseTarget, createFlowCondition(64 /* FalseCondition */, currentFlow, node)); + } + } + function bindOptionalChainFlow(node) { + if (isTopLevelLogicalExpression(node)) { + const postExpressionLabel = createBranchLabel(); + const saveCurrentFlow = currentFlow; + const saveHasFlowEffects = hasFlowEffects; + bindOptionalChain(node, postExpressionLabel, postExpressionLabel); + currentFlow = hasFlowEffects ? finishFlowLabel(postExpressionLabel) : saveCurrentFlow; + hasFlowEffects || (hasFlowEffects = saveHasFlowEffects); + } else { + bindOptionalChain(node, currentTrueTarget, currentFalseTarget); + } + } + function bindNonNullExpressionFlow(node) { + if (isOptionalChain(node)) { + bindOptionalChainFlow(node); + } else { + bindEachChild(node); + } + } + function bindAccessExpressionFlow(node) { + if (isOptionalChain(node)) { + bindOptionalChainFlow(node); + } else { + bindEachChild(node); + } + } + function bindCallExpressionFlow(node) { + if (isOptionalChain(node)) { + bindOptionalChainFlow(node); + } else { + const expr = skipParentheses(node.expression); + if (expr.kind === 218 /* FunctionExpression */ || expr.kind === 219 /* ArrowFunction */) { + bindEach(node.typeArguments); + bindEach(node.arguments); + bind(node.expression); + } else { + bindEachChild(node); + if (node.expression.kind === 108 /* SuperKeyword */) { + currentFlow = createFlowCall(currentFlow, node); + } + } + } + if (node.expression.kind === 211 /* PropertyAccessExpression */) { + const propertyAccess = node.expression; + if (isIdentifier(propertyAccess.name) && isNarrowableOperand(propertyAccess.expression) && isPushOrUnshiftIdentifier(propertyAccess.name)) { + currentFlow = createFlowMutation(256 /* ArrayMutation */, currentFlow, node); + } + } + } + function addToContainerChain(next) { + if (lastContainer) { + lastContainer.nextContainer = next; + } + lastContainer = next; + } + function declareSymbolAndAddToSymbolTable(node, symbolFlags, symbolExcludes) { + switch (container.kind) { + // Modules, source files, and classes need specialized handling for how their + // members are declared (for example, a member of a class will go into a specific + // symbol table depending on if it is static or not). We defer to specialized + // handlers to take care of declaring these child members. + case 267 /* ModuleDeclaration */: + return declareModuleMember(node, symbolFlags, symbolExcludes); + case 307 /* SourceFile */: + return declareSourceFileMember(node, symbolFlags, symbolExcludes); + case 231 /* ClassExpression */: + case 263 /* ClassDeclaration */: + return declareClassMember(node, symbolFlags, symbolExcludes); + case 266 /* EnumDeclaration */: + return declareSymbol(container.symbol.exports, container.symbol, node, symbolFlags, symbolExcludes); + case 187 /* TypeLiteral */: + case 322 /* JSDocTypeLiteral */: + case 210 /* ObjectLiteralExpression */: + case 264 /* InterfaceDeclaration */: + case 292 /* JsxAttributes */: + return declareSymbol(container.symbol.members, container.symbol, node, symbolFlags, symbolExcludes); + case 184 /* FunctionType */: + case 185 /* ConstructorType */: + case 179 /* CallSignature */: + case 180 /* ConstructSignature */: + case 323 /* JSDocSignature */: + case 181 /* IndexSignature */: + case 174 /* MethodDeclaration */: + case 173 /* MethodSignature */: + case 176 /* Constructor */: + case 177 /* GetAccessor */: + case 178 /* SetAccessor */: + case 262 /* FunctionDeclaration */: + case 218 /* FunctionExpression */: + case 219 /* ArrowFunction */: + case 317 /* JSDocFunctionType */: + case 175 /* ClassStaticBlockDeclaration */: + case 265 /* TypeAliasDeclaration */: + case 200 /* MappedType */: + if (container.locals) Debug.assertNode(container, canHaveLocals); + return declareSymbol( + container.locals, + /*parent*/ + void 0, + node, + symbolFlags, + symbolExcludes + ); + } + } + function declareClassMember(node, symbolFlags, symbolExcludes) { + return isStatic(node) ? declareSymbol(container.symbol.exports, container.symbol, node, symbolFlags, symbolExcludes) : declareSymbol(container.symbol.members, container.symbol, node, symbolFlags, symbolExcludes); + } + function declareSourceFileMember(node, symbolFlags, symbolExcludes) { + return isExternalModule(file) ? declareModuleMember(node, symbolFlags, symbolExcludes) : declareSymbol( + file.locals, + /*parent*/ + void 0, + node, + symbolFlags, + symbolExcludes + ); + } + function hasExportDeclarations(node) { + const body = isSourceFile(node) ? node : tryCast(node.body, isModuleBlock); + return !!body && body.statements.some((s) => isExportDeclaration(s) || isExportAssignment(s)); + } + function setExportContextFlag(node) { + if (node.flags & 33554432 /* Ambient */ && !hasExportDeclarations(node)) { + node.flags |= 128 /* ExportContext */; + } else { + node.flags &= ~128 /* ExportContext */; + } + } + function bindModuleDeclaration(node) { + setExportContextFlag(node); + if (isAmbientModule(node)) { + if (hasSyntacticModifier(node, 32 /* Export */)) { + errorOnFirstToken(node, Diagnostics.export_modifier_cannot_be_applied_to_ambient_modules_and_module_augmentations_since_they_are_always_visible); + } + if (isModuleAugmentationExternal(node)) { + declareModuleSymbol(node); + } else { + let pattern; + if (node.name.kind === 11 /* StringLiteral */) { + const { text } = node.name; + pattern = tryParsePattern(text); + if (pattern === void 0) { + errorOnFirstToken(node.name, Diagnostics.Pattern_0_can_have_at_most_one_Asterisk_character, text); + } + } + const symbol = declareSymbolAndAddToSymbolTable(node, 512 /* ValueModule */, 110735 /* ValueModuleExcludes */); + file.patternAmbientModules = append(file.patternAmbientModules, pattern && !isString(pattern) ? { pattern, symbol } : void 0); + } + } else { + const state = declareModuleSymbol(node); + if (state !== 0 /* NonInstantiated */) { + const { symbol } = node; + symbol.constEnumOnlyModule = !(symbol.flags & (16 /* Function */ | 32 /* Class */ | 256 /* RegularEnum */)) && state === 2 /* ConstEnumOnly */ && symbol.constEnumOnlyModule !== false; + } + } + } + function declareModuleSymbol(node) { + const state = getModuleInstanceState(node); + const instantiated = state !== 0 /* NonInstantiated */; + declareSymbolAndAddToSymbolTable( + node, + instantiated ? 512 /* ValueModule */ : 1024 /* NamespaceModule */, + instantiated ? 110735 /* ValueModuleExcludes */ : 0 /* NamespaceModuleExcludes */ + ); + return state; + } + function bindFunctionOrConstructorType(node) { + const symbol = createSymbol(131072 /* Signature */, getDeclarationName(node)); + addDeclarationToSymbol(symbol, node, 131072 /* Signature */); + const typeLiteralSymbol = createSymbol(2048 /* TypeLiteral */, "__type" /* Type */); + addDeclarationToSymbol(typeLiteralSymbol, node, 2048 /* TypeLiteral */); + typeLiteralSymbol.members = createSymbolTable(); + typeLiteralSymbol.members.set(symbol.escapedName, symbol); + } + function bindObjectLiteralExpression(node) { + return bindAnonymousDeclaration(node, 4096 /* ObjectLiteral */, "__object" /* Object */); + } + function bindJsxAttributes(node) { + return bindAnonymousDeclaration(node, 4096 /* ObjectLiteral */, "__jsxAttributes" /* JSXAttributes */); + } + function bindJsxAttribute(node, symbolFlags, symbolExcludes) { + return declareSymbolAndAddToSymbolTable(node, symbolFlags, symbolExcludes); + } + function bindAnonymousDeclaration(node, symbolFlags, name) { + const symbol = createSymbol(symbolFlags, name); + if (symbolFlags & (8 /* EnumMember */ | 106500 /* ClassMember */)) { + symbol.parent = container.symbol; + } + addDeclarationToSymbol(symbol, node, symbolFlags); + return symbol; + } + function bindBlockScopedDeclaration(node, symbolFlags, symbolExcludes) { + switch (blockScopeContainer.kind) { + case 267 /* ModuleDeclaration */: + declareModuleMember(node, symbolFlags, symbolExcludes); + break; + case 307 /* SourceFile */: + if (isExternalOrCommonJsModule(container)) { + declareModuleMember(node, symbolFlags, symbolExcludes); + break; + } + // falls through + default: + Debug.assertNode(blockScopeContainer, canHaveLocals); + if (!blockScopeContainer.locals) { + blockScopeContainer.locals = createSymbolTable(); + addToContainerChain(blockScopeContainer); + } + declareSymbol( + blockScopeContainer.locals, + /*parent*/ + void 0, + node, + symbolFlags, + symbolExcludes + ); + } + } + function delayedBindJSDocTypedefTag() { + if (!delayedTypeAliases) { + return; + } + const saveContainer = container; + const saveLastContainer = lastContainer; + const saveBlockScopeContainer = blockScopeContainer; + const saveParent = parent; + const saveCurrentFlow = currentFlow; + for (const typeAlias of delayedTypeAliases) { + const host = typeAlias.parent.parent; + container = getEnclosingContainer(host) || file; + blockScopeContainer = getEnclosingBlockScopeContainer(host) || file; + currentFlow = createFlowNode( + 2 /* Start */, + /*node*/ + void 0, + /*antecedent*/ + void 0 + ); + parent = typeAlias; + bind(typeAlias.typeExpression); + const declName = getNameOfDeclaration(typeAlias); + if ((isJSDocEnumTag(typeAlias) || !typeAlias.fullName) && declName && isPropertyAccessEntityNameExpression(declName.parent)) { + const isTopLevel = isTopLevelNamespaceAssignment(declName.parent); + if (isTopLevel) { + bindPotentiallyMissingNamespaces( + file.symbol, + declName.parent, + isTopLevel, + !!findAncestor(declName, (d) => isPropertyAccessExpression(d) && d.name.escapedText === "prototype"), + /*containerIsClass*/ + false + ); + const oldContainer = container; + switch (getAssignmentDeclarationPropertyAccessKind(declName.parent)) { + case 1 /* ExportsProperty */: + case 2 /* ModuleExports */: + if (!isExternalOrCommonJsModule(file)) { + container = void 0; + } else { + container = file; + } + break; + case 4 /* ThisProperty */: + container = declName.parent.expression; + break; + case 3 /* PrototypeProperty */: + container = declName.parent.expression.name; + break; + case 5 /* Property */: + container = isExportsOrModuleExportsOrAlias(file, declName.parent.expression) ? file : isPropertyAccessExpression(declName.parent.expression) ? declName.parent.expression.name : declName.parent.expression; + break; + case 0 /* None */: + return Debug.fail("Shouldn't have detected typedef or enum on non-assignment declaration"); + } + if (container) { + declareModuleMember(typeAlias, 524288 /* TypeAlias */, 788968 /* TypeAliasExcludes */); + } + container = oldContainer; + } + } else if (isJSDocEnumTag(typeAlias) || !typeAlias.fullName || typeAlias.fullName.kind === 80 /* Identifier */) { + parent = typeAlias.parent; + bindBlockScopedDeclaration(typeAlias, 524288 /* TypeAlias */, 788968 /* TypeAliasExcludes */); + } else { + bind(typeAlias.fullName); + } + } + container = saveContainer; + lastContainer = saveLastContainer; + blockScopeContainer = saveBlockScopeContainer; + parent = saveParent; + currentFlow = saveCurrentFlow; + } + function bindJSDocImports() { + if (jsDocImports === void 0) { + return; + } + const saveContainer = container; + const saveLastContainer = lastContainer; + const saveBlockScopeContainer = blockScopeContainer; + const saveParent = parent; + const saveCurrentFlow = currentFlow; + for (const jsDocImportTag of jsDocImports) { + const host = getJSDocHost(jsDocImportTag); + const enclosingContainer = host ? getEnclosingContainer(host) : void 0; + const enclosingBlockScopeContainer = host ? getEnclosingBlockScopeContainer(host) : void 0; + container = enclosingContainer || file; + blockScopeContainer = enclosingBlockScopeContainer || file; + currentFlow = createFlowNode( + 2 /* Start */, + /*node*/ + void 0, + /*antecedent*/ + void 0 + ); + parent = jsDocImportTag; + bind(jsDocImportTag.importClause); + } + container = saveContainer; + lastContainer = saveLastContainer; + blockScopeContainer = saveBlockScopeContainer; + parent = saveParent; + currentFlow = saveCurrentFlow; + } + function checkContextualIdentifier(node) { + if (!file.parseDiagnostics.length && !(node.flags & 33554432 /* Ambient */) && !(node.flags & 16777216 /* JSDoc */) && !isIdentifierName(node)) { + const originalKeywordKind = identifierToKeywordKind(node); + if (originalKeywordKind === void 0) { + return; + } + if (inStrictMode && originalKeywordKind >= 119 /* FirstFutureReservedWord */ && originalKeywordKind <= 127 /* LastFutureReservedWord */) { + file.bindDiagnostics.push(createDiagnosticForNode2(node, getStrictModeIdentifierMessage(node), declarationNameToString(node))); + } else if (originalKeywordKind === 135 /* AwaitKeyword */) { + if (isExternalModule(file) && isInTopLevelContext(node)) { + file.bindDiagnostics.push(createDiagnosticForNode2(node, Diagnostics.Identifier_expected_0_is_a_reserved_word_at_the_top_level_of_a_module, declarationNameToString(node))); + } else if (node.flags & 65536 /* AwaitContext */) { + file.bindDiagnostics.push(createDiagnosticForNode2(node, Diagnostics.Identifier_expected_0_is_a_reserved_word_that_cannot_be_used_here, declarationNameToString(node))); + } + } else if (originalKeywordKind === 127 /* YieldKeyword */ && node.flags & 16384 /* YieldContext */) { + file.bindDiagnostics.push(createDiagnosticForNode2(node, Diagnostics.Identifier_expected_0_is_a_reserved_word_that_cannot_be_used_here, declarationNameToString(node))); + } + } + } + function getStrictModeIdentifierMessage(node) { + if (getContainingClass(node)) { + return Diagnostics.Identifier_expected_0_is_a_reserved_word_in_strict_mode_Class_definitions_are_automatically_in_strict_mode; + } + if (file.externalModuleIndicator) { + return Diagnostics.Identifier_expected_0_is_a_reserved_word_in_strict_mode_Modules_are_automatically_in_strict_mode; + } + return Diagnostics.Identifier_expected_0_is_a_reserved_word_in_strict_mode; + } + function checkPrivateIdentifier(node) { + if (node.escapedText === "#constructor") { + if (!file.parseDiagnostics.length) { + file.bindDiagnostics.push(createDiagnosticForNode2(node, Diagnostics.constructor_is_a_reserved_word, declarationNameToString(node))); + } + } + } + function checkStrictModeBinaryExpression(node) { + if (inStrictMode && isLeftHandSideExpression(node.left) && isAssignmentOperator(node.operatorToken.kind)) { + checkStrictModeEvalOrArguments(node, node.left); + } + } + function checkStrictModeCatchClause(node) { + if (inStrictMode && node.variableDeclaration) { + checkStrictModeEvalOrArguments(node, node.variableDeclaration.name); + } + } + function checkStrictModeDeleteExpression(node) { + if (inStrictMode && node.expression.kind === 80 /* Identifier */) { + const span = getErrorSpanForNode(file, node.expression); + file.bindDiagnostics.push(createFileDiagnostic(file, span.start, span.length, Diagnostics.delete_cannot_be_called_on_an_identifier_in_strict_mode)); + } + } + function isEvalOrArgumentsIdentifier(node) { + return isIdentifier(node) && (node.escapedText === "eval" || node.escapedText === "arguments"); + } + function checkStrictModeEvalOrArguments(contextNode, name) { + if (name && name.kind === 80 /* Identifier */) { + const identifier = name; + if (isEvalOrArgumentsIdentifier(identifier)) { + const span = getErrorSpanForNode(file, name); + file.bindDiagnostics.push(createFileDiagnostic(file, span.start, span.length, getStrictModeEvalOrArgumentsMessage(contextNode), idText(identifier))); + } + } + } + function getStrictModeEvalOrArgumentsMessage(node) { + if (getContainingClass(node)) { + return Diagnostics.Code_contained_in_a_class_is_evaluated_in_JavaScript_s_strict_mode_which_does_not_allow_this_use_of_0_For_more_information_see_https_Colon_Slash_Slashdeveloper_mozilla_org_Slashen_US_Slashdocs_SlashWeb_SlashJavaScript_SlashReference_SlashStrict_mode; + } + if (file.externalModuleIndicator) { + return Diagnostics.Invalid_use_of_0_Modules_are_automatically_in_strict_mode; + } + return Diagnostics.Invalid_use_of_0_in_strict_mode; + } + function checkStrictModeFunctionName(node) { + if (inStrictMode && !(node.flags & 33554432 /* Ambient */)) { + checkStrictModeEvalOrArguments(node, node.name); + } + } + function getStrictModeBlockScopeFunctionDeclarationMessage(node) { + if (getContainingClass(node)) { + return Diagnostics.Function_declarations_are_not_allowed_inside_blocks_in_strict_mode_when_targeting_ES5_Class_definitions_are_automatically_in_strict_mode; + } + if (file.externalModuleIndicator) { + return Diagnostics.Function_declarations_are_not_allowed_inside_blocks_in_strict_mode_when_targeting_ES5_Modules_are_automatically_in_strict_mode; + } + return Diagnostics.Function_declarations_are_not_allowed_inside_blocks_in_strict_mode_when_targeting_ES5; + } + function checkStrictModeFunctionDeclaration(node) { + if (languageVersion < 2 /* ES2015 */) { + if (blockScopeContainer.kind !== 307 /* SourceFile */ && blockScopeContainer.kind !== 267 /* ModuleDeclaration */ && !isFunctionLikeOrClassStaticBlockDeclaration(blockScopeContainer)) { + const errorSpan = getErrorSpanForNode(file, node); + file.bindDiagnostics.push(createFileDiagnostic(file, errorSpan.start, errorSpan.length, getStrictModeBlockScopeFunctionDeclarationMessage(node))); + } + } + } + function checkStrictModePostfixUnaryExpression(node) { + if (inStrictMode) { + checkStrictModeEvalOrArguments(node, node.operand); + } + } + function checkStrictModePrefixUnaryExpression(node) { + if (inStrictMode) { + if (node.operator === 46 /* PlusPlusToken */ || node.operator === 47 /* MinusMinusToken */) { + checkStrictModeEvalOrArguments(node, node.operand); + } + } + } + function checkStrictModeWithStatement(node) { + if (inStrictMode) { + errorOnFirstToken(node, Diagnostics.with_statements_are_not_allowed_in_strict_mode); + } + } + function checkStrictModeLabeledStatement(node) { + if (inStrictMode && getEmitScriptTarget(options) >= 2 /* ES2015 */) { + if (isDeclarationStatement(node.statement) || isVariableStatement(node.statement)) { + errorOnFirstToken(node.label, Diagnostics.A_label_is_not_allowed_here); + } + } + } + function errorOnFirstToken(node, message, ...args) { + const span = getSpanOfTokenAtPosition(file, node.pos); + file.bindDiagnostics.push(createFileDiagnostic(file, span.start, span.length, message, ...args)); + } + function errorOrSuggestionOnNode(isError, node, message) { + errorOrSuggestionOnRange(isError, node, node, message); + } + function errorOrSuggestionOnRange(isError, startNode, endNode, message) { + addErrorOrSuggestionDiagnostic(isError, { pos: getTokenPosOfNode(startNode, file), end: endNode.end }, message); + } + function addErrorOrSuggestionDiagnostic(isError, range, message) { + const diag2 = createFileDiagnostic(file, range.pos, range.end - range.pos, message); + if (isError) { + file.bindDiagnostics.push(diag2); + } else { + file.bindSuggestionDiagnostics = append(file.bindSuggestionDiagnostics, { ...diag2, category: 2 /* Suggestion */ }); + } + } + function bind(node) { + if (!node) { + return; + } + setParent(node, parent); + if (tracing) node.tracingPath = file.path; + const saveInStrictMode = inStrictMode; + bindWorker(node); + if (node.kind > 165 /* LastToken */) { + const saveParent = parent; + parent = node; + const containerFlags = getContainerFlags(node); + if (containerFlags === 0 /* None */) { + bindChildren(node); + } else { + bindContainer(node, containerFlags); + } + parent = saveParent; + } else { + const saveParent = parent; + if (node.kind === 1 /* EndOfFileToken */) parent = node; + bindJSDoc(node); + parent = saveParent; + } + inStrictMode = saveInStrictMode; + } + function bindJSDoc(node) { + if (hasJSDocNodes(node)) { + if (isInJSFile(node)) { + for (const j of node.jsDoc) { + bind(j); + } + } else { + for (const j of node.jsDoc) { + setParent(j, node); + setParentRecursive( + j, + /*incremental*/ + false + ); + } + } + } + } + function updateStrictModeStatementList(statements) { + if (!inStrictMode) { + for (const statement of statements) { + if (!isPrologueDirective(statement)) { + return; + } + if (isUseStrictPrologueDirective(statement)) { + inStrictMode = true; + return; + } + } + } + } + function isUseStrictPrologueDirective(node) { + const nodeText = getSourceTextOfNodeFromSourceFile(file, node.expression); + return nodeText === '"use strict"' || nodeText === "'use strict'"; + } + function bindWorker(node) { + switch (node.kind) { + /* Strict mode checks */ + case 80 /* Identifier */: + if (node.flags & 4096 /* IdentifierIsInJSDocNamespace */) { + let parentNode = node.parent; + while (parentNode && !isJSDocTypeAlias(parentNode)) { + parentNode = parentNode.parent; + } + bindBlockScopedDeclaration(parentNode, 524288 /* TypeAlias */, 788968 /* TypeAliasExcludes */); + break; + } + // falls through + case 110 /* ThisKeyword */: + if (currentFlow && (isExpression(node) || parent.kind === 304 /* ShorthandPropertyAssignment */)) { + node.flowNode = currentFlow; + } + return checkContextualIdentifier(node); + case 166 /* QualifiedName */: + if (currentFlow && isPartOfTypeQuery(node)) { + node.flowNode = currentFlow; + } + break; + case 236 /* MetaProperty */: + case 108 /* SuperKeyword */: + node.flowNode = currentFlow; + break; + case 81 /* PrivateIdentifier */: + return checkPrivateIdentifier(node); + case 211 /* PropertyAccessExpression */: + case 212 /* ElementAccessExpression */: + const expr = node; + if (currentFlow && isNarrowableReference(expr)) { + expr.flowNode = currentFlow; + } + if (isSpecialPropertyDeclaration(expr)) { + bindSpecialPropertyDeclaration(expr); + } + if (isInJSFile(expr) && file.commonJsModuleIndicator && isModuleExportsAccessExpression(expr) && !lookupSymbolForName(blockScopeContainer, "module")) { + declareSymbol( + file.locals, + /*parent*/ + void 0, + expr.expression, + 1 /* FunctionScopedVariable */ | 134217728 /* ModuleExports */, + 111550 /* FunctionScopedVariableExcludes */ + ); + } + break; + case 226 /* BinaryExpression */: + const specialKind = getAssignmentDeclarationKind(node); + switch (specialKind) { + case 1 /* ExportsProperty */: + bindExportsPropertyAssignment(node); + break; + case 2 /* ModuleExports */: + bindModuleExportsAssignment(node); + break; + case 3 /* PrototypeProperty */: + bindPrototypePropertyAssignment(node.left, node); + break; + case 6 /* Prototype */: + bindPrototypeAssignment(node); + break; + case 4 /* ThisProperty */: + bindThisPropertyAssignment(node); + break; + case 5 /* Property */: + const expression = node.left.expression; + if (isInJSFile(node) && isIdentifier(expression)) { + const symbol = lookupSymbolForName(blockScopeContainer, expression.escapedText); + if (isThisInitializedDeclaration(symbol == null ? void 0 : symbol.valueDeclaration)) { + bindThisPropertyAssignment(node); + break; + } + } + bindSpecialPropertyAssignment(node); + break; + case 0 /* None */: + break; + default: + Debug.fail("Unknown binary expression special property assignment kind"); + } + return checkStrictModeBinaryExpression(node); + case 299 /* CatchClause */: + return checkStrictModeCatchClause(node); + case 220 /* DeleteExpression */: + return checkStrictModeDeleteExpression(node); + case 225 /* PostfixUnaryExpression */: + return checkStrictModePostfixUnaryExpression(node); + case 224 /* PrefixUnaryExpression */: + return checkStrictModePrefixUnaryExpression(node); + case 254 /* WithStatement */: + return checkStrictModeWithStatement(node); + case 256 /* LabeledStatement */: + return checkStrictModeLabeledStatement(node); + case 197 /* ThisType */: + seenThisKeyword = true; + return; + case 182 /* TypePredicate */: + break; + // Binding the children will handle everything + case 168 /* TypeParameter */: + return bindTypeParameter(node); + case 169 /* Parameter */: + return bindParameter(node); + case 260 /* VariableDeclaration */: + return bindVariableDeclarationOrBindingElement(node); + case 208 /* BindingElement */: + node.flowNode = currentFlow; + return bindVariableDeclarationOrBindingElement(node); + case 172 /* PropertyDeclaration */: + case 171 /* PropertySignature */: + return bindPropertyWorker(node); + case 303 /* PropertyAssignment */: + case 304 /* ShorthandPropertyAssignment */: + return bindPropertyOrMethodOrAccessor(node, 4 /* Property */, 0 /* PropertyExcludes */); + case 306 /* EnumMember */: + return bindPropertyOrMethodOrAccessor(node, 8 /* EnumMember */, 900095 /* EnumMemberExcludes */); + case 179 /* CallSignature */: + case 180 /* ConstructSignature */: + case 181 /* IndexSignature */: + return declareSymbolAndAddToSymbolTable(node, 131072 /* Signature */, 0 /* None */); + case 174 /* MethodDeclaration */: + case 173 /* MethodSignature */: + return bindPropertyOrMethodOrAccessor(node, 8192 /* Method */ | (node.questionToken ? 16777216 /* Optional */ : 0 /* None */), isObjectLiteralMethod(node) ? 0 /* PropertyExcludes */ : 103359 /* MethodExcludes */); + case 262 /* FunctionDeclaration */: + return bindFunctionDeclaration(node); + case 176 /* Constructor */: + return declareSymbolAndAddToSymbolTable( + node, + 16384 /* Constructor */, + /*symbolExcludes:*/ + 0 /* None */ + ); + case 177 /* GetAccessor */: + return bindPropertyOrMethodOrAccessor(node, 32768 /* GetAccessor */, 46015 /* GetAccessorExcludes */); + case 178 /* SetAccessor */: + return bindPropertyOrMethodOrAccessor(node, 65536 /* SetAccessor */, 78783 /* SetAccessorExcludes */); + case 184 /* FunctionType */: + case 317 /* JSDocFunctionType */: + case 323 /* JSDocSignature */: + case 185 /* ConstructorType */: + return bindFunctionOrConstructorType(node); + case 187 /* TypeLiteral */: + case 322 /* JSDocTypeLiteral */: + case 200 /* MappedType */: + return bindAnonymousTypeWorker(node); + case 332 /* JSDocClassTag */: + return bindJSDocClassTag(node); + case 210 /* ObjectLiteralExpression */: + return bindObjectLiteralExpression(node); + case 218 /* FunctionExpression */: + case 219 /* ArrowFunction */: + return bindFunctionExpression(node); + case 213 /* CallExpression */: + const assignmentKind = getAssignmentDeclarationKind(node); + switch (assignmentKind) { + case 7 /* ObjectDefinePropertyValue */: + return bindObjectDefinePropertyAssignment(node); + case 8 /* ObjectDefinePropertyExports */: + return bindObjectDefinePropertyExport(node); + case 9 /* ObjectDefinePrototypeProperty */: + return bindObjectDefinePrototypeProperty(node); + case 0 /* None */: + break; + // Nothing to do + default: + return Debug.fail("Unknown call expression assignment declaration kind"); + } + if (isInJSFile(node)) { + bindCallExpression(node); + } + break; + // Members of classes, interfaces, and modules + case 231 /* ClassExpression */: + case 263 /* ClassDeclaration */: + inStrictMode = true; + return bindClassLikeDeclaration(node); + case 264 /* InterfaceDeclaration */: + return bindBlockScopedDeclaration(node, 64 /* Interface */, 788872 /* InterfaceExcludes */); + case 265 /* TypeAliasDeclaration */: + return bindBlockScopedDeclaration(node, 524288 /* TypeAlias */, 788968 /* TypeAliasExcludes */); + case 266 /* EnumDeclaration */: + return bindEnumDeclaration(node); + case 267 /* ModuleDeclaration */: + return bindModuleDeclaration(node); + // Jsx-attributes + case 292 /* JsxAttributes */: + return bindJsxAttributes(node); + case 291 /* JsxAttribute */: + return bindJsxAttribute(node, 4 /* Property */, 0 /* PropertyExcludes */); + // Imports and exports + case 271 /* ImportEqualsDeclaration */: + case 274 /* NamespaceImport */: + case 276 /* ImportSpecifier */: + case 281 /* ExportSpecifier */: + return declareSymbolAndAddToSymbolTable(node, 2097152 /* Alias */, 2097152 /* AliasExcludes */); + case 270 /* NamespaceExportDeclaration */: + return bindNamespaceExportDeclaration(node); + case 273 /* ImportClause */: + return bindImportClause(node); + case 278 /* ExportDeclaration */: + return bindExportDeclaration(node); + case 277 /* ExportAssignment */: + return bindExportAssignment(node); + case 307 /* SourceFile */: + updateStrictModeStatementList(node.statements); + return bindSourceFileIfExternalModule(); + case 241 /* Block */: + if (!isFunctionLikeOrClassStaticBlockDeclaration(node.parent)) { + return; + } + // falls through + case 268 /* ModuleBlock */: + return updateStrictModeStatementList(node.statements); + case 341 /* JSDocParameterTag */: + if (node.parent.kind === 323 /* JSDocSignature */) { + return bindParameter(node); + } + if (node.parent.kind !== 322 /* JSDocTypeLiteral */) { + break; + } + // falls through + case 348 /* JSDocPropertyTag */: + const propTag = node; + const flags = propTag.isBracketed || propTag.typeExpression && propTag.typeExpression.type.kind === 316 /* JSDocOptionalType */ ? 4 /* Property */ | 16777216 /* Optional */ : 4 /* Property */; + return declareSymbolAndAddToSymbolTable(propTag, flags, 0 /* PropertyExcludes */); + case 346 /* JSDocTypedefTag */: + case 338 /* JSDocCallbackTag */: + case 340 /* JSDocEnumTag */: + return (delayedTypeAliases || (delayedTypeAliases = [])).push(node); + case 339 /* JSDocOverloadTag */: + return bind(node.typeExpression); + case 351 /* JSDocImportTag */: + return (jsDocImports || (jsDocImports = [])).push(node); + } + } + function bindPropertyWorker(node) { + const isAutoAccessor = isAutoAccessorPropertyDeclaration(node); + const includes = isAutoAccessor ? 98304 /* Accessor */ : 4 /* Property */; + const excludes = isAutoAccessor ? 13247 /* AccessorExcludes */ : 0 /* PropertyExcludes */; + return bindPropertyOrMethodOrAccessor(node, includes | (node.questionToken ? 16777216 /* Optional */ : 0 /* None */), excludes); + } + function bindAnonymousTypeWorker(node) { + return bindAnonymousDeclaration(node, 2048 /* TypeLiteral */, "__type" /* Type */); + } + function bindSourceFileIfExternalModule() { + setExportContextFlag(file); + if (isExternalModule(file)) { + bindSourceFileAsExternalModule(); + } else if (isJsonSourceFile(file)) { + bindSourceFileAsExternalModule(); + const originalSymbol = file.symbol; + declareSymbol(file.symbol.exports, file.symbol, file, 4 /* Property */, -1 /* All */); + file.symbol = originalSymbol; + } + } + function bindSourceFileAsExternalModule() { + bindAnonymousDeclaration(file, 512 /* ValueModule */, `"${removeFileExtension(file.fileName)}"`); + } + function bindExportAssignment(node) { + if (!container.symbol || !container.symbol.exports) { + bindAnonymousDeclaration(node, 111551 /* Value */, getDeclarationName(node)); + } else { + const flags = exportAssignmentIsAlias(node) ? 2097152 /* Alias */ : 4 /* Property */; + const symbol = declareSymbol(container.symbol.exports, container.symbol, node, flags, -1 /* All */); + if (node.isExportEquals) { + setValueDeclaration(symbol, node); + } + } + } + function bindNamespaceExportDeclaration(node) { + if (some(node.modifiers)) { + file.bindDiagnostics.push(createDiagnosticForNode2(node, Diagnostics.Modifiers_cannot_appear_here)); + } + const diag2 = !isSourceFile(node.parent) ? Diagnostics.Global_module_exports_may_only_appear_at_top_level : !isExternalModule(node.parent) ? Diagnostics.Global_module_exports_may_only_appear_in_module_files : !node.parent.isDeclarationFile ? Diagnostics.Global_module_exports_may_only_appear_in_declaration_files : void 0; + if (diag2) { + file.bindDiagnostics.push(createDiagnosticForNode2(node, diag2)); + } else { + file.symbol.globalExports = file.symbol.globalExports || createSymbolTable(); + declareSymbol(file.symbol.globalExports, file.symbol, node, 2097152 /* Alias */, 2097152 /* AliasExcludes */); + } + } + function bindExportDeclaration(node) { + if (!container.symbol || !container.symbol.exports) { + bindAnonymousDeclaration(node, 8388608 /* ExportStar */, getDeclarationName(node)); + } else if (!node.exportClause) { + declareSymbol(container.symbol.exports, container.symbol, node, 8388608 /* ExportStar */, 0 /* None */); + } else if (isNamespaceExport(node.exportClause)) { + setParent(node.exportClause, node); + declareSymbol(container.symbol.exports, container.symbol, node.exportClause, 2097152 /* Alias */, 2097152 /* AliasExcludes */); + } + } + function bindImportClause(node) { + if (node.name) { + declareSymbolAndAddToSymbolTable(node, 2097152 /* Alias */, 2097152 /* AliasExcludes */); + } + } + function setCommonJsModuleIndicator(node) { + if (file.externalModuleIndicator && file.externalModuleIndicator !== true) { + return false; + } + if (!file.commonJsModuleIndicator) { + file.commonJsModuleIndicator = node; + if (!file.externalModuleIndicator) { + bindSourceFileAsExternalModule(); + } + } + return true; + } + function bindObjectDefinePropertyExport(node) { + if (!setCommonJsModuleIndicator(node)) { + return; + } + const symbol = forEachIdentifierInEntityName( + node.arguments[0], + /*parent*/ + void 0, + (id, symbol2) => { + if (symbol2) { + addDeclarationToSymbol(symbol2, id, 1536 /* Module */ | 67108864 /* Assignment */); + } + return symbol2; + } + ); + if (symbol) { + const flags = 4 /* Property */ | 1048576 /* ExportValue */; + declareSymbol(symbol.exports, symbol, node, flags, 0 /* None */); + } + } + function bindExportsPropertyAssignment(node) { + if (!setCommonJsModuleIndicator(node)) { + return; + } + const symbol = forEachIdentifierInEntityName( + node.left.expression, + /*parent*/ + void 0, + (id, symbol2) => { + if (symbol2) { + addDeclarationToSymbol(symbol2, id, 1536 /* Module */ | 67108864 /* Assignment */); + } + return symbol2; + } + ); + if (symbol) { + const isAlias = isAliasableExpression(node.right) && (isExportsIdentifier(node.left.expression) || isModuleExportsAccessExpression(node.left.expression)); + const flags = isAlias ? 2097152 /* Alias */ : 4 /* Property */ | 1048576 /* ExportValue */; + setParent(node.left, node); + declareSymbol(symbol.exports, symbol, node.left, flags, 0 /* None */); + } + } + function bindModuleExportsAssignment(node) { + if (!setCommonJsModuleIndicator(node)) { + return; + } + const assignedExpression = getRightMostAssignedExpression(node.right); + if (isEmptyObjectLiteral(assignedExpression) || container === file && isExportsOrModuleExportsOrAlias(file, assignedExpression)) { + return; + } + if (isObjectLiteralExpression(assignedExpression) && every(assignedExpression.properties, isShorthandPropertyAssignment)) { + forEach(assignedExpression.properties, bindExportAssignedObjectMemberAlias); + return; + } + const flags = exportAssignmentIsAlias(node) ? 2097152 /* Alias */ : 4 /* Property */ | 1048576 /* ExportValue */ | 512 /* ValueModule */; + const symbol = declareSymbol(file.symbol.exports, file.symbol, node, flags | 67108864 /* Assignment */, 0 /* None */); + setValueDeclaration(symbol, node); + } + function bindExportAssignedObjectMemberAlias(node) { + declareSymbol(file.symbol.exports, file.symbol, node, 2097152 /* Alias */ | 67108864 /* Assignment */, 0 /* None */); + } + function bindThisPropertyAssignment(node) { + Debug.assert(isInJSFile(node)); + const hasPrivateIdentifier = isBinaryExpression(node) && isPropertyAccessExpression(node.left) && isPrivateIdentifier(node.left.name) || isPropertyAccessExpression(node) && isPrivateIdentifier(node.name); + if (hasPrivateIdentifier) { + return; + } + const thisContainer = getThisContainer( + node, + /*includeArrowFunctions*/ + false, + /*includeClassComputedPropertyName*/ + false + ); + switch (thisContainer.kind) { + case 262 /* FunctionDeclaration */: + case 218 /* FunctionExpression */: + let constructorSymbol = thisContainer.symbol; + if (isBinaryExpression(thisContainer.parent) && thisContainer.parent.operatorToken.kind === 64 /* EqualsToken */) { + const l = thisContainer.parent.left; + if (isBindableStaticAccessExpression(l) && isPrototypeAccess(l.expression)) { + constructorSymbol = lookupSymbolForPropertyAccess(l.expression.expression, thisParentContainer); + } + } + if (constructorSymbol && constructorSymbol.valueDeclaration) { + constructorSymbol.members = constructorSymbol.members || createSymbolTable(); + if (hasDynamicName(node)) { + bindDynamicallyNamedThisPropertyAssignment(node, constructorSymbol, constructorSymbol.members); + } else { + declareSymbol(constructorSymbol.members, constructorSymbol, node, 4 /* Property */ | 67108864 /* Assignment */, 0 /* PropertyExcludes */ & ~4 /* Property */); + } + addDeclarationToSymbol(constructorSymbol, constructorSymbol.valueDeclaration, 32 /* Class */); + } + break; + case 176 /* Constructor */: + case 172 /* PropertyDeclaration */: + case 174 /* MethodDeclaration */: + case 177 /* GetAccessor */: + case 178 /* SetAccessor */: + case 175 /* ClassStaticBlockDeclaration */: + const containingClass = thisContainer.parent; + const symbolTable = isStatic(thisContainer) ? containingClass.symbol.exports : containingClass.symbol.members; + if (hasDynamicName(node)) { + bindDynamicallyNamedThisPropertyAssignment(node, containingClass.symbol, symbolTable); + } else { + declareSymbol( + symbolTable, + containingClass.symbol, + node, + 4 /* Property */ | 67108864 /* Assignment */, + 0 /* None */, + /*isReplaceableByMethod*/ + true + ); + } + break; + case 307 /* SourceFile */: + if (hasDynamicName(node)) { + break; + } else if (thisContainer.commonJsModuleIndicator) { + declareSymbol(thisContainer.symbol.exports, thisContainer.symbol, node, 4 /* Property */ | 1048576 /* ExportValue */, 0 /* None */); + } else { + declareSymbolAndAddToSymbolTable(node, 1 /* FunctionScopedVariable */, 111550 /* FunctionScopedVariableExcludes */); + } + break; + // Namespaces are not allowed in javascript files, so do nothing here + case 267 /* ModuleDeclaration */: + break; + default: + Debug.failBadSyntaxKind(thisContainer); + } + } + function bindDynamicallyNamedThisPropertyAssignment(node, symbol, symbolTable) { + declareSymbol( + symbolTable, + symbol, + node, + 4 /* Property */, + 0 /* None */, + /*isReplaceableByMethod*/ + true, + /*isComputedName*/ + true + ); + addLateBoundAssignmentDeclarationToSymbol(node, symbol); + } + function addLateBoundAssignmentDeclarationToSymbol(node, symbol) { + if (symbol) { + (symbol.assignmentDeclarationMembers || (symbol.assignmentDeclarationMembers = /* @__PURE__ */ new Map())).set(getNodeId(node), node); + } + } + function bindSpecialPropertyDeclaration(node) { + if (node.expression.kind === 110 /* ThisKeyword */) { + bindThisPropertyAssignment(node); + } else if (isBindableStaticAccessExpression(node) && node.parent.parent.kind === 307 /* SourceFile */) { + if (isPrototypeAccess(node.expression)) { + bindPrototypePropertyAssignment(node, node.parent); + } else { + bindStaticPropertyAssignment(node); + } + } + } + function bindPrototypeAssignment(node) { + setParent(node.left, node); + setParent(node.right, node); + bindPropertyAssignment( + node.left.expression, + node.left, + /*isPrototypeProperty*/ + false, + /*containerIsClass*/ + true + ); + } + function bindObjectDefinePrototypeProperty(node) { + const namespaceSymbol = lookupSymbolForPropertyAccess(node.arguments[0].expression); + if (namespaceSymbol && namespaceSymbol.valueDeclaration) { + addDeclarationToSymbol(namespaceSymbol, namespaceSymbol.valueDeclaration, 32 /* Class */); + } + bindPotentiallyNewExpandoMemberToNamespace( + node, + namespaceSymbol, + /*isPrototypeProperty*/ + true + ); + } + function bindPrototypePropertyAssignment(lhs, parent2) { + const classPrototype = lhs.expression; + const constructorFunction = classPrototype.expression; + setParent(constructorFunction, classPrototype); + setParent(classPrototype, lhs); + setParent(lhs, parent2); + bindPropertyAssignment( + constructorFunction, + lhs, + /*isPrototypeProperty*/ + true, + /*containerIsClass*/ + true + ); + } + function bindObjectDefinePropertyAssignment(node) { + let namespaceSymbol = lookupSymbolForPropertyAccess(node.arguments[0]); + const isToplevel = node.parent.parent.kind === 307 /* SourceFile */; + namespaceSymbol = bindPotentiallyMissingNamespaces( + namespaceSymbol, + node.arguments[0], + isToplevel, + /*isPrototypeProperty*/ + false, + /*containerIsClass*/ + false + ); + bindPotentiallyNewExpandoMemberToNamespace( + node, + namespaceSymbol, + /*isPrototypeProperty*/ + false + ); + } + function bindSpecialPropertyAssignment(node) { + var _a; + const parentSymbol = lookupSymbolForPropertyAccess(node.left.expression, blockScopeContainer) || lookupSymbolForPropertyAccess(node.left.expression, container); + if (!isInJSFile(node) && !isFunctionSymbol(parentSymbol)) { + return; + } + const rootExpr = getLeftmostAccessExpression(node.left); + if (isIdentifier(rootExpr) && ((_a = lookupSymbolForName(container, rootExpr.escapedText)) == null ? void 0 : _a.flags) & 2097152 /* Alias */) { + return; + } + setParent(node.left, node); + setParent(node.right, node); + if (isIdentifier(node.left.expression) && container === file && isExportsOrModuleExportsOrAlias(file, node.left.expression)) { + bindExportsPropertyAssignment(node); + } else if (hasDynamicName(node)) { + bindAnonymousDeclaration(node, 4 /* Property */ | 67108864 /* Assignment */, "__computed" /* Computed */); + const sym = bindPotentiallyMissingNamespaces( + parentSymbol, + node.left.expression, + isTopLevelNamespaceAssignment(node.left), + /*isPrototypeProperty*/ + false, + /*containerIsClass*/ + false + ); + addLateBoundAssignmentDeclarationToSymbol(node, sym); + } else { + bindStaticPropertyAssignment(cast(node.left, isBindableStaticNameExpression)); + } + } + function bindStaticPropertyAssignment(node) { + Debug.assert(!isIdentifier(node)); + setParent(node.expression, node); + bindPropertyAssignment( + node.expression, + node, + /*isPrototypeProperty*/ + false, + /*containerIsClass*/ + false + ); + } + function bindPotentiallyMissingNamespaces(namespaceSymbol, entityName, isToplevel, isPrototypeProperty, containerIsClass) { + if ((namespaceSymbol == null ? void 0 : namespaceSymbol.flags) & 2097152 /* Alias */) { + return namespaceSymbol; + } + if (isToplevel && !isPrototypeProperty) { + const flags = 1536 /* Module */ | 67108864 /* Assignment */; + const excludeFlags = 110735 /* ValueModuleExcludes */ & ~67108864 /* Assignment */; + namespaceSymbol = forEachIdentifierInEntityName(entityName, namespaceSymbol, (id, symbol, parent2) => { + if (symbol) { + addDeclarationToSymbol(symbol, id, flags); + return symbol; + } else { + const table = parent2 ? parent2.exports : file.jsGlobalAugmentations || (file.jsGlobalAugmentations = createSymbolTable()); + return declareSymbol(table, parent2, id, flags, excludeFlags); + } + }); + } + if (containerIsClass && namespaceSymbol && namespaceSymbol.valueDeclaration) { + addDeclarationToSymbol(namespaceSymbol, namespaceSymbol.valueDeclaration, 32 /* Class */); + } + return namespaceSymbol; + } + function bindPotentiallyNewExpandoMemberToNamespace(declaration, namespaceSymbol, isPrototypeProperty) { + if (!namespaceSymbol || !isExpandoSymbol(namespaceSymbol)) { + return; + } + const symbolTable = isPrototypeProperty ? namespaceSymbol.members || (namespaceSymbol.members = createSymbolTable()) : namespaceSymbol.exports || (namespaceSymbol.exports = createSymbolTable()); + let includes = 0 /* None */; + let excludes = 0 /* None */; + if (isFunctionLikeDeclaration(getAssignedExpandoInitializer(declaration))) { + includes = 8192 /* Method */; + excludes = 103359 /* MethodExcludes */; + } else if (isCallExpression(declaration) && isBindableObjectDefinePropertyCall(declaration)) { + if (some(declaration.arguments[2].properties, (p) => { + const id = getNameOfDeclaration(p); + return !!id && isIdentifier(id) && idText(id) === "set"; + })) { + includes |= 65536 /* SetAccessor */ | 4 /* Property */; + excludes |= 78783 /* SetAccessorExcludes */; + } + if (some(declaration.arguments[2].properties, (p) => { + const id = getNameOfDeclaration(p); + return !!id && isIdentifier(id) && idText(id) === "get"; + })) { + includes |= 32768 /* GetAccessor */ | 4 /* Property */; + excludes |= 46015 /* GetAccessorExcludes */; + } + } + if (includes === 0 /* None */) { + includes = 4 /* Property */; + excludes = 0 /* PropertyExcludes */; + } + declareSymbol(symbolTable, namespaceSymbol, declaration, includes | 67108864 /* Assignment */, excludes & ~67108864 /* Assignment */); + } + function isTopLevelNamespaceAssignment(propertyAccess) { + return isBinaryExpression(propertyAccess.parent) ? getParentOfBinaryExpression(propertyAccess.parent).parent.kind === 307 /* SourceFile */ : propertyAccess.parent.parent.kind === 307 /* SourceFile */; + } + function bindPropertyAssignment(name, propertyAccess, isPrototypeProperty, containerIsClass) { + let namespaceSymbol = lookupSymbolForPropertyAccess(name, blockScopeContainer) || lookupSymbolForPropertyAccess(name, container); + const isToplevel = isTopLevelNamespaceAssignment(propertyAccess); + namespaceSymbol = bindPotentiallyMissingNamespaces(namespaceSymbol, propertyAccess.expression, isToplevel, isPrototypeProperty, containerIsClass); + bindPotentiallyNewExpandoMemberToNamespace(propertyAccess, namespaceSymbol, isPrototypeProperty); + } + function isExpandoSymbol(symbol) { + if (symbol.flags & (16 /* Function */ | 32 /* Class */ | 1024 /* NamespaceModule */)) { + return true; + } + const node = symbol.valueDeclaration; + if (node && isCallExpression(node)) { + return !!getAssignedExpandoInitializer(node); + } + let init = !node ? void 0 : isVariableDeclaration(node) ? node.initializer : isBinaryExpression(node) ? node.right : isPropertyAccessExpression(node) && isBinaryExpression(node.parent) ? node.parent.right : void 0; + init = init && getRightMostAssignedExpression(init); + if (init) { + const isPrototypeAssignment = isPrototypeAccess(isVariableDeclaration(node) ? node.name : isBinaryExpression(node) ? node.left : node); + return !!getExpandoInitializer(isBinaryExpression(init) && (init.operatorToken.kind === 57 /* BarBarToken */ || init.operatorToken.kind === 61 /* QuestionQuestionToken */) ? init.right : init, isPrototypeAssignment); + } + return false; + } + function getParentOfBinaryExpression(expr) { + while (isBinaryExpression(expr.parent)) { + expr = expr.parent; + } + return expr.parent; + } + function lookupSymbolForPropertyAccess(node, lookupContainer = container) { + if (isIdentifier(node)) { + return lookupSymbolForName(lookupContainer, node.escapedText); + } else { + const symbol = lookupSymbolForPropertyAccess(node.expression); + return symbol && symbol.exports && symbol.exports.get(getElementOrPropertyAccessName(node)); + } + } + function forEachIdentifierInEntityName(e, parent2, action) { + if (isExportsOrModuleExportsOrAlias(file, e)) { + return file.symbol; + } else if (isIdentifier(e)) { + return action(e, lookupSymbolForPropertyAccess(e), parent2); + } else { + const s = forEachIdentifierInEntityName(e.expression, parent2, action); + const name = getNameOrArgument(e); + if (isPrivateIdentifier(name)) { + Debug.fail("unexpected PrivateIdentifier"); + } + return action(name, s && s.exports && s.exports.get(getElementOrPropertyAccessName(e)), s); + } + } + function bindCallExpression(node) { + if (!file.commonJsModuleIndicator && isRequireCall( + node, + /*requireStringLiteralLikeArgument*/ + false + )) { + setCommonJsModuleIndicator(node); + } + } + function bindClassLikeDeclaration(node) { + if (node.kind === 263 /* ClassDeclaration */) { + bindBlockScopedDeclaration(node, 32 /* Class */, 899503 /* ClassExcludes */); + } else { + const bindingName = node.name ? node.name.escapedText : "__class" /* Class */; + bindAnonymousDeclaration(node, 32 /* Class */, bindingName); + if (node.name) { + classifiableNames.add(node.name.escapedText); + } + } + const { symbol } = node; + const prototypeSymbol = createSymbol(4 /* Property */ | 4194304 /* Prototype */, "prototype"); + const symbolExport = symbol.exports.get(prototypeSymbol.escapedName); + if (symbolExport) { + if (node.name) { + setParent(node.name, node); + } + file.bindDiagnostics.push(createDiagnosticForNode2(symbolExport.declarations[0], Diagnostics.Duplicate_identifier_0, symbolName(prototypeSymbol))); + } + symbol.exports.set(prototypeSymbol.escapedName, prototypeSymbol); + prototypeSymbol.parent = symbol; + } + function bindEnumDeclaration(node) { + return isEnumConst(node) ? bindBlockScopedDeclaration(node, 128 /* ConstEnum */, 899967 /* ConstEnumExcludes */) : bindBlockScopedDeclaration(node, 256 /* RegularEnum */, 899327 /* RegularEnumExcludes */); + } + function bindVariableDeclarationOrBindingElement(node) { + if (inStrictMode) { + checkStrictModeEvalOrArguments(node, node.name); + } + if (!isBindingPattern(node.name)) { + const possibleVariableDecl = node.kind === 260 /* VariableDeclaration */ ? node : node.parent.parent; + if (isInJSFile(node) && isVariableDeclarationInitializedToBareOrAccessedRequire(possibleVariableDecl) && !getJSDocTypeTag(node) && !(getCombinedModifierFlags(node) & 32 /* Export */)) { + declareSymbolAndAddToSymbolTable(node, 2097152 /* Alias */, 2097152 /* AliasExcludes */); + } else if (isBlockOrCatchScoped(node)) { + bindBlockScopedDeclaration(node, 2 /* BlockScopedVariable */, 111551 /* BlockScopedVariableExcludes */); + } else if (isPartOfParameterDeclaration(node)) { + declareSymbolAndAddToSymbolTable(node, 1 /* FunctionScopedVariable */, 111551 /* ParameterExcludes */); + } else { + declareSymbolAndAddToSymbolTable(node, 1 /* FunctionScopedVariable */, 111550 /* FunctionScopedVariableExcludes */); + } + } + } + function bindParameter(node) { + if (node.kind === 341 /* JSDocParameterTag */ && container.kind !== 323 /* JSDocSignature */) { + return; + } + if (inStrictMode && !(node.flags & 33554432 /* Ambient */)) { + checkStrictModeEvalOrArguments(node, node.name); + } + if (isBindingPattern(node.name)) { + bindAnonymousDeclaration(node, 1 /* FunctionScopedVariable */, "__" + node.parent.parameters.indexOf(node)); + } else { + declareSymbolAndAddToSymbolTable(node, 1 /* FunctionScopedVariable */, 111551 /* ParameterExcludes */); + } + if (isParameterPropertyDeclaration(node, node.parent)) { + const classDeclaration = node.parent.parent; + declareSymbol(classDeclaration.symbol.members, classDeclaration.symbol, node, 4 /* Property */ | (node.questionToken ? 16777216 /* Optional */ : 0 /* None */), 0 /* PropertyExcludes */); + } + } + function bindFunctionDeclaration(node) { + if (!file.isDeclarationFile && !(node.flags & 33554432 /* Ambient */)) { + if (isAsyncFunction(node)) { + emitFlags |= 4096 /* HasAsyncFunctions */; + } + } + checkStrictModeFunctionName(node); + if (inStrictMode) { + checkStrictModeFunctionDeclaration(node); + bindBlockScopedDeclaration(node, 16 /* Function */, 110991 /* FunctionExcludes */); + } else { + declareSymbolAndAddToSymbolTable(node, 16 /* Function */, 110991 /* FunctionExcludes */); + } + } + function bindFunctionExpression(node) { + if (!file.isDeclarationFile && !(node.flags & 33554432 /* Ambient */)) { + if (isAsyncFunction(node)) { + emitFlags |= 4096 /* HasAsyncFunctions */; + } + } + if (currentFlow) { + node.flowNode = currentFlow; + } + checkStrictModeFunctionName(node); + const bindingName = node.name ? node.name.escapedText : "__function" /* Function */; + return bindAnonymousDeclaration(node, 16 /* Function */, bindingName); + } + function bindPropertyOrMethodOrAccessor(node, symbolFlags, symbolExcludes) { + if (!file.isDeclarationFile && !(node.flags & 33554432 /* Ambient */) && isAsyncFunction(node)) { + emitFlags |= 4096 /* HasAsyncFunctions */; + } + if (currentFlow && isObjectLiteralOrClassExpressionMethodOrAccessor(node)) { + node.flowNode = currentFlow; + } + return hasDynamicName(node) ? bindAnonymousDeclaration(node, symbolFlags, "__computed" /* Computed */) : declareSymbolAndAddToSymbolTable(node, symbolFlags, symbolExcludes); + } + function getInferTypeContainer(node) { + const extendsType = findAncestor(node, (n) => n.parent && isConditionalTypeNode(n.parent) && n.parent.extendsType === n); + return extendsType && extendsType.parent; + } + function bindTypeParameter(node) { + if (isJSDocTemplateTag(node.parent)) { + const container2 = getEffectiveContainerForJSDocTemplateTag(node.parent); + if (container2) { + Debug.assertNode(container2, canHaveLocals); + container2.locals ?? (container2.locals = createSymbolTable()); + declareSymbol( + container2.locals, + /*parent*/ + void 0, + node, + 262144 /* TypeParameter */, + 526824 /* TypeParameterExcludes */ + ); + } else { + declareSymbolAndAddToSymbolTable(node, 262144 /* TypeParameter */, 526824 /* TypeParameterExcludes */); + } + } else if (node.parent.kind === 195 /* InferType */) { + const container2 = getInferTypeContainer(node.parent); + if (container2) { + Debug.assertNode(container2, canHaveLocals); + container2.locals ?? (container2.locals = createSymbolTable()); + declareSymbol( + container2.locals, + /*parent*/ + void 0, + node, + 262144 /* TypeParameter */, + 526824 /* TypeParameterExcludes */ + ); + } else { + bindAnonymousDeclaration(node, 262144 /* TypeParameter */, getDeclarationName(node)); + } + } else { + declareSymbolAndAddToSymbolTable(node, 262144 /* TypeParameter */, 526824 /* TypeParameterExcludes */); + } + } + function shouldReportErrorOnModuleDeclaration(node) { + const instanceState = getModuleInstanceState(node); + return instanceState === 1 /* Instantiated */ || instanceState === 2 /* ConstEnumOnly */ && shouldPreserveConstEnums(options); + } + function checkUnreachable(node) { + if (!(currentFlow.flags & 1 /* Unreachable */)) { + return false; + } + if (currentFlow === unreachableFlow) { + const reportError = ( + // report error on all statements except empty ones + isStatementButNotDeclaration(node) && node.kind !== 242 /* EmptyStatement */ || // report error on class declarations + node.kind === 263 /* ClassDeclaration */ || // report errors on enums with preserved emit + isEnumDeclarationWithPreservedEmit(node, options) || // report error on instantiated modules + node.kind === 267 /* ModuleDeclaration */ && shouldReportErrorOnModuleDeclaration(node) + ); + if (reportError) { + currentFlow = reportedUnreachableFlow; + if (!options.allowUnreachableCode) { + const isError = unreachableCodeIsError(options) && !(node.flags & 33554432 /* Ambient */) && (!isVariableStatement(node) || !!(getCombinedNodeFlags(node.declarationList) & 7 /* BlockScoped */) || node.declarationList.declarations.some((d) => !!d.initializer)); + eachUnreachableRange(node, options, (start, end) => errorOrSuggestionOnRange(isError, start, end, Diagnostics.Unreachable_code_detected)); + } + } + } + return true; + } +} +function isEnumDeclarationWithPreservedEmit(node, options) { + return node.kind === 266 /* EnumDeclaration */ && (!isEnumConst(node) || shouldPreserveConstEnums(options)); +} +function eachUnreachableRange(node, options, cb) { + if (isStatement(node) && isExecutableStatement(node) && isBlock(node.parent)) { + const { statements } = node.parent; + const slice = sliceAfter(statements, node); + getRangesWhere(slice, isExecutableStatement, (start, afterEnd) => cb(slice[start], slice[afterEnd - 1])); + } else { + cb(node, node); + } + function isExecutableStatement(s) { + return !isFunctionDeclaration(s) && !isPurelyTypeDeclaration(s) && // `var x;` may declare a variable used above + !(isVariableStatement(s) && !(getCombinedNodeFlags(s) & 7 /* BlockScoped */) && s.declarationList.declarations.some((d) => !d.initializer)); + } + function isPurelyTypeDeclaration(s) { + switch (s.kind) { + case 264 /* InterfaceDeclaration */: + case 265 /* TypeAliasDeclaration */: + return true; + case 267 /* ModuleDeclaration */: + return getModuleInstanceState(s) !== 1 /* Instantiated */; + case 266 /* EnumDeclaration */: + return !isEnumDeclarationWithPreservedEmit(s, options); + default: + return false; + } + } +} +function isExportsOrModuleExportsOrAlias(sourceFile, node) { + let i = 0; + const q = createQueue(); + q.enqueue(node); + while (!q.isEmpty() && i < 100) { + i++; + node = q.dequeue(); + if (isExportsIdentifier(node) || isModuleExportsAccessExpression(node)) { + return true; + } else if (isIdentifier(node)) { + const symbol = lookupSymbolForName(sourceFile, node.escapedText); + if (!!symbol && !!symbol.valueDeclaration && isVariableDeclaration(symbol.valueDeclaration) && !!symbol.valueDeclaration.initializer) { + const init = symbol.valueDeclaration.initializer; + q.enqueue(init); + if (isAssignmentExpression( + init, + /*excludeCompoundAssignment*/ + true + )) { + q.enqueue(init.left); + q.enqueue(init.right); + } + } + } + } + return false; +} +function getContainerFlags(node) { + switch (node.kind) { + case 231 /* ClassExpression */: + case 263 /* ClassDeclaration */: + case 266 /* EnumDeclaration */: + case 210 /* ObjectLiteralExpression */: + case 187 /* TypeLiteral */: + case 322 /* JSDocTypeLiteral */: + case 292 /* JsxAttributes */: + return 1 /* IsContainer */; + case 264 /* InterfaceDeclaration */: + return 1 /* IsContainer */ | 64 /* IsInterface */; + case 267 /* ModuleDeclaration */: + case 265 /* TypeAliasDeclaration */: + case 200 /* MappedType */: + case 181 /* IndexSignature */: + return 1 /* IsContainer */ | 32 /* HasLocals */; + case 307 /* SourceFile */: + return 1 /* IsContainer */ | 4 /* IsControlFlowContainer */ | 32 /* HasLocals */; + case 177 /* GetAccessor */: + case 178 /* SetAccessor */: + case 174 /* MethodDeclaration */: + if (isObjectLiteralOrClassExpressionMethodOrAccessor(node)) { + return 1 /* IsContainer */ | 4 /* IsControlFlowContainer */ | 32 /* HasLocals */ | 8 /* IsFunctionLike */ | 128 /* IsObjectLiteralOrClassExpressionMethodOrAccessor */; + } + // falls through + case 176 /* Constructor */: + case 262 /* FunctionDeclaration */: + case 173 /* MethodSignature */: + case 179 /* CallSignature */: + case 323 /* JSDocSignature */: + case 317 /* JSDocFunctionType */: + case 184 /* FunctionType */: + case 180 /* ConstructSignature */: + case 185 /* ConstructorType */: + case 175 /* ClassStaticBlockDeclaration */: + return 1 /* IsContainer */ | 4 /* IsControlFlowContainer */ | 32 /* HasLocals */ | 8 /* IsFunctionLike */; + case 218 /* FunctionExpression */: + case 219 /* ArrowFunction */: + return 1 /* IsContainer */ | 4 /* IsControlFlowContainer */ | 32 /* HasLocals */ | 8 /* IsFunctionLike */ | 16 /* IsFunctionExpression */; + case 268 /* ModuleBlock */: + return 4 /* IsControlFlowContainer */; + case 172 /* PropertyDeclaration */: + return node.initializer ? 4 /* IsControlFlowContainer */ : 0; + case 299 /* CatchClause */: + case 248 /* ForStatement */: + case 249 /* ForInStatement */: + case 250 /* ForOfStatement */: + case 269 /* CaseBlock */: + return 2 /* IsBlockScopedContainer */ | 32 /* HasLocals */; + case 241 /* Block */: + return isFunctionLike(node.parent) || isClassStaticBlockDeclaration(node.parent) ? 0 /* None */ : 2 /* IsBlockScopedContainer */ | 32 /* HasLocals */; + } + return 0 /* None */; +} +function lookupSymbolForName(container, name) { + var _a, _b, _c, _d; + const local = (_b = (_a = tryCast(container, canHaveLocals)) == null ? void 0 : _a.locals) == null ? void 0 : _b.get(name); + if (local) { + return local.exportSymbol ?? local; + } + if (isSourceFile(container) && container.jsGlobalAugmentations && container.jsGlobalAugmentations.has(name)) { + return container.jsGlobalAugmentations.get(name); + } + if (canHaveSymbol(container)) { + return (_d = (_c = container.symbol) == null ? void 0 : _c.exports) == null ? void 0 : _d.get(name); + } +} + +// src/compiler/symbolWalker.ts +function createGetSymbolWalker(getRestTypeOfSignature, getTypePredicateOfSignature, getReturnTypeOfSignature, getBaseTypes, resolveStructuredTypeMembers, getTypeOfSymbol, getResolvedSymbol, getConstraintOfTypeParameter, getFirstIdentifier2, getTypeArguments) { + return getSymbolWalker; + function getSymbolWalker(accept = () => true) { + const visitedTypes = []; + const visitedSymbols = []; + return { + walkType: (type) => { + try { + visitType(type); + return { visitedTypes: getOwnValues(visitedTypes), visitedSymbols: getOwnValues(visitedSymbols) }; + } finally { + clear(visitedTypes); + clear(visitedSymbols); + } + }, + walkSymbol: (symbol) => { + try { + visitSymbol(symbol); + return { visitedTypes: getOwnValues(visitedTypes), visitedSymbols: getOwnValues(visitedSymbols) }; + } finally { + clear(visitedTypes); + clear(visitedSymbols); + } + } + }; + function visitType(type) { + if (!type) { + return; + } + if (visitedTypes[type.id]) { + return; + } + visitedTypes[type.id] = type; + const shouldBail = visitSymbol(type.symbol); + if (shouldBail) return; + if (type.flags & 524288 /* Object */) { + const objectType = type; + const objectFlags = objectType.objectFlags; + if (objectFlags & 4 /* Reference */) { + visitTypeReference(type); + } + if (objectFlags & 32 /* Mapped */) { + visitMappedType(type); + } + if (objectFlags & (1 /* Class */ | 2 /* Interface */)) { + visitInterfaceType(type); + } + if (objectFlags & (8 /* Tuple */ | 16 /* Anonymous */)) { + visitObjectType(objectType); + } + } + if (type.flags & 262144 /* TypeParameter */) { + visitTypeParameter(type); + } + if (type.flags & 3145728 /* UnionOrIntersection */) { + visitUnionOrIntersectionType(type); + } + if (type.flags & 4194304 /* Index */) { + visitIndexType(type); + } + if (type.flags & 8388608 /* IndexedAccess */) { + visitIndexedAccessType(type); + } + } + function visitTypeReference(type) { + visitType(type.target); + forEach(getTypeArguments(type), visitType); + } + function visitTypeParameter(type) { + visitType(getConstraintOfTypeParameter(type)); + } + function visitUnionOrIntersectionType(type) { + forEach(type.types, visitType); + } + function visitIndexType(type) { + visitType(type.type); + } + function visitIndexedAccessType(type) { + visitType(type.objectType); + visitType(type.indexType); + visitType(type.constraint); + } + function visitMappedType(type) { + visitType(type.typeParameter); + visitType(type.constraintType); + visitType(type.templateType); + visitType(type.modifiersType); + } + function visitSignature(signature) { + const typePredicate = getTypePredicateOfSignature(signature); + if (typePredicate) { + visitType(typePredicate.type); + } + forEach(signature.typeParameters, visitType); + for (const parameter of signature.parameters) { + visitSymbol(parameter); + } + visitType(getRestTypeOfSignature(signature)); + visitType(getReturnTypeOfSignature(signature)); + } + function visitInterfaceType(interfaceT) { + visitObjectType(interfaceT); + forEach(interfaceT.typeParameters, visitType); + forEach(getBaseTypes(interfaceT), visitType); + visitType(interfaceT.thisType); + } + function visitObjectType(type) { + const resolved = resolveStructuredTypeMembers(type); + for (const info of resolved.indexInfos) { + visitType(info.keyType); + visitType(info.type); + } + for (const signature of resolved.callSignatures) { + visitSignature(signature); + } + for (const signature of resolved.constructSignatures) { + visitSignature(signature); + } + for (const p of resolved.properties) { + visitSymbol(p); + } + } + function visitSymbol(symbol) { + if (!symbol) { + return false; + } + const symbolId = getSymbolId(symbol); + if (visitedSymbols[symbolId]) { + return false; + } + visitedSymbols[symbolId] = symbol; + if (!accept(symbol)) { + return true; + } + const t = getTypeOfSymbol(symbol); + visitType(t); + if (symbol.exports) { + symbol.exports.forEach(visitSymbol); + } + forEach(symbol.declarations, (d) => { + if (d.type && d.type.kind === 186 /* TypeQuery */) { + const query = d.type; + const entity = getResolvedSymbol(getFirstIdentifier2(query.exprName)); + visitSymbol(entity); + } + }); + return false; + } + } +} + +// src/compiler/moduleSpecifiers.ts +var stringToRegex = memoizeOne((pattern) => { + try { + let slash = pattern.indexOf("/"); + if (slash !== 0) { + return new RegExp(pattern); + } + const lastSlash = pattern.lastIndexOf("/"); + if (slash === lastSlash) { + return new RegExp(pattern); + } + while ((slash = pattern.indexOf("/", slash + 1)) !== lastSlash) { + if (pattern[slash - 1] !== "\\") { + return new RegExp(pattern); + } + } + const flags = pattern.substring(lastSlash + 1).replace(/[^iu]/g, ""); + pattern = pattern.substring(1, lastSlash); + return new RegExp(pattern, flags); + } catch { + return void 0; + } +}); +function getModuleSpecifierPreferences({ importModuleSpecifierPreference, importModuleSpecifierEnding, autoImportSpecifierExcludeRegexes }, host, compilerOptions, importingSourceFile, oldImportSpecifier) { + const filePreferredEnding = getPreferredEnding(); + return { + excludeRegexes: autoImportSpecifierExcludeRegexes, + relativePreference: oldImportSpecifier !== void 0 ? isExternalModuleNameRelative(oldImportSpecifier) ? 0 /* Relative */ : 1 /* NonRelative */ : importModuleSpecifierPreference === "relative" ? 0 /* Relative */ : importModuleSpecifierPreference === "non-relative" ? 1 /* NonRelative */ : importModuleSpecifierPreference === "project-relative" ? 3 /* ExternalNonRelative */ : 2 /* Shortest */, + getAllowedEndingsInPreferredOrder: (syntaxImpliedNodeFormat) => { + const impliedNodeFormat = getDefaultResolutionModeForFile(importingSourceFile, host, compilerOptions); + const preferredEnding = syntaxImpliedNodeFormat !== impliedNodeFormat ? getPreferredEnding(syntaxImpliedNodeFormat) : filePreferredEnding; + const moduleResolution = getEmitModuleResolutionKind(compilerOptions); + if ((syntaxImpliedNodeFormat ?? impliedNodeFormat) === 99 /* ESNext */ && 3 /* Node16 */ <= moduleResolution && moduleResolution <= 99 /* NodeNext */) { + if (shouldAllowImportingTsExtension(compilerOptions, importingSourceFile.fileName)) { + return [3 /* TsExtension */, 2 /* JsExtension */]; + } + return [2 /* JsExtension */]; + } + if (getEmitModuleResolutionKind(compilerOptions) === 1 /* Classic */) { + return preferredEnding === 2 /* JsExtension */ ? [2 /* JsExtension */, 1 /* Index */] : [1 /* Index */, 2 /* JsExtension */]; + } + const allowImportingTsExtension = shouldAllowImportingTsExtension(compilerOptions, importingSourceFile.fileName); + switch (preferredEnding) { + case 2 /* JsExtension */: + return allowImportingTsExtension ? [2 /* JsExtension */, 3 /* TsExtension */, 0 /* Minimal */, 1 /* Index */] : [2 /* JsExtension */, 0 /* Minimal */, 1 /* Index */]; + case 3 /* TsExtension */: + return [3 /* TsExtension */, 0 /* Minimal */, 2 /* JsExtension */, 1 /* Index */]; + case 1 /* Index */: + return allowImportingTsExtension ? [1 /* Index */, 0 /* Minimal */, 3 /* TsExtension */, 2 /* JsExtension */] : [1 /* Index */, 0 /* Minimal */, 2 /* JsExtension */]; + case 0 /* Minimal */: + return allowImportingTsExtension ? [0 /* Minimal */, 1 /* Index */, 3 /* TsExtension */, 2 /* JsExtension */] : [0 /* Minimal */, 1 /* Index */, 2 /* JsExtension */]; + default: + Debug.assertNever(preferredEnding); + } + } + }; + function getPreferredEnding(resolutionMode) { + if (oldImportSpecifier !== void 0) { + if (hasJSFileExtension(oldImportSpecifier)) return 2 /* JsExtension */; + if (endsWith(oldImportSpecifier, "/index")) return 1 /* Index */; + } + return getModuleSpecifierEndingPreference( + importModuleSpecifierEnding, + resolutionMode ?? getDefaultResolutionModeForFile(importingSourceFile, host, compilerOptions), + compilerOptions, + isFullSourceFile(importingSourceFile) ? importingSourceFile : void 0 + ); + } +} +function tryGetModuleSpecifiersFromCacheWorker(moduleSymbol, importingSourceFile, host, userPreferences, options = {}) { + var _a; + const moduleSourceFile = getSourceFileOfModule(moduleSymbol); + if (!moduleSourceFile) { + return emptyArray; + } + const cache = (_a = host.getModuleSpecifierCache) == null ? void 0 : _a.call(host); + const cached = cache == null ? void 0 : cache.get(importingSourceFile.path, moduleSourceFile.path, userPreferences, options); + return [cached == null ? void 0 : cached.kind, cached == null ? void 0 : cached.moduleSpecifiers, moduleSourceFile, cached == null ? void 0 : cached.modulePaths, cache]; +} +function getModuleSpecifiers(moduleSymbol, checker, compilerOptions, importingSourceFile, host, userPreferences, options = {}) { + return getModuleSpecifiersWithCacheInfo( + moduleSymbol, + checker, + compilerOptions, + importingSourceFile, + host, + userPreferences, + options, + /*forAutoImport*/ + false + ).moduleSpecifiers; +} +function getModuleSpecifiersWithCacheInfo(moduleSymbol, checker, compilerOptions, importingSourceFile, host, userPreferences, options = {}, forAutoImport) { + let computedWithoutCache = false; + const ambient = tryGetModuleNameFromAmbientModule(moduleSymbol, checker); + if (ambient) { + return { + kind: "ambient", + moduleSpecifiers: !(forAutoImport && isExcludedByRegex(ambient, userPreferences.autoImportSpecifierExcludeRegexes)) ? [ambient] : emptyArray, + computedWithoutCache + }; + } + let [kind, specifiers, moduleSourceFile, modulePaths, cache] = tryGetModuleSpecifiersFromCacheWorker( + moduleSymbol, + importingSourceFile, + host, + userPreferences, + options + ); + if (specifiers) return { kind, moduleSpecifiers: specifiers, computedWithoutCache }; + if (!moduleSourceFile) return { kind: void 0, moduleSpecifiers: emptyArray, computedWithoutCache }; + computedWithoutCache = true; + modulePaths || (modulePaths = getAllModulePathsWorker(getInfo(importingSourceFile.fileName, host), moduleSourceFile.originalFileName, host, compilerOptions, options)); + const result = computeModuleSpecifiers( + modulePaths, + compilerOptions, + importingSourceFile, + host, + userPreferences, + options, + forAutoImport + ); + cache == null ? void 0 : cache.set(importingSourceFile.path, moduleSourceFile.path, userPreferences, options, result.kind, modulePaths, result.moduleSpecifiers); + return result; +} +function computeModuleSpecifiers(modulePaths, compilerOptions, importingSourceFile, host, userPreferences, options = {}, forAutoImport) { + const info = getInfo(importingSourceFile.fileName, host); + const preferences = getModuleSpecifierPreferences(userPreferences, host, compilerOptions, importingSourceFile); + const existingSpecifier = isFullSourceFile(importingSourceFile) && forEach(modulePaths, (modulePath) => forEach( + host.getFileIncludeReasons().get(toPath(modulePath.path, host.getCurrentDirectory(), info.getCanonicalFileName)), + (reason) => { + if (reason.kind !== 3 /* Import */ || reason.file !== importingSourceFile.path) return void 0; + const existingMode = host.getModeForResolutionAtIndex(importingSourceFile, reason.index); + const targetMode = options.overrideImportMode ?? host.getDefaultResolutionModeForFile(importingSourceFile); + if (existingMode !== targetMode && existingMode !== void 0 && targetMode !== void 0) { + return void 0; + } + const specifier = getModuleNameStringLiteralAt(importingSourceFile, reason.index).text; + return preferences.relativePreference !== 1 /* NonRelative */ || !pathIsRelative(specifier) ? specifier : void 0; + } + )); + if (existingSpecifier) { + return { kind: void 0, moduleSpecifiers: [existingSpecifier], computedWithoutCache: true }; + } + const importedFileIsInNodeModules = some(modulePaths, (p) => p.isInNodeModules); + let nodeModulesSpecifiers; + let pathsSpecifiers; + let redirectPathsSpecifiers; + let relativeSpecifiers; + for (const modulePath of modulePaths) { + const specifier = modulePath.isInNodeModules ? tryGetModuleNameAsNodeModule( + modulePath, + info, + importingSourceFile, + host, + compilerOptions, + userPreferences, + /*packageNameOnly*/ + void 0, + options.overrideImportMode + ) : void 0; + if (specifier && !(forAutoImport && isExcludedByRegex(specifier, preferences.excludeRegexes))) { + nodeModulesSpecifiers = append(nodeModulesSpecifiers, specifier); + if (modulePath.isRedirect) { + return { kind: "node_modules", moduleSpecifiers: nodeModulesSpecifiers, computedWithoutCache: true }; + } + } + const local = getLocalModuleSpecifier( + modulePath.path, + info, + compilerOptions, + host, + options.overrideImportMode || importingSourceFile.impliedNodeFormat, + preferences, + /*pathsOnly*/ + modulePath.isRedirect || !!specifier + ); + if (!local || forAutoImport && isExcludedByRegex(local, preferences.excludeRegexes)) { + continue; + } + if (modulePath.isRedirect) { + redirectPathsSpecifiers = append(redirectPathsSpecifiers, local); + } else if (pathIsBareSpecifier(local)) { + if (pathContainsNodeModules(local)) { + relativeSpecifiers = append(relativeSpecifiers, local); + } else { + pathsSpecifiers = append(pathsSpecifiers, local); + } + } else if (forAutoImport || !importedFileIsInNodeModules || modulePath.isInNodeModules) { + relativeSpecifiers = append(relativeSpecifiers, local); + } + } + return (pathsSpecifiers == null ? void 0 : pathsSpecifiers.length) ? { kind: "paths", moduleSpecifiers: pathsSpecifiers, computedWithoutCache: true } : (redirectPathsSpecifiers == null ? void 0 : redirectPathsSpecifiers.length) ? { kind: "redirect", moduleSpecifiers: redirectPathsSpecifiers, computedWithoutCache: true } : (nodeModulesSpecifiers == null ? void 0 : nodeModulesSpecifiers.length) ? { kind: "node_modules", moduleSpecifiers: nodeModulesSpecifiers, computedWithoutCache: true } : { kind: "relative", moduleSpecifiers: relativeSpecifiers ?? emptyArray, computedWithoutCache: true }; +} +function isExcludedByRegex(moduleSpecifier, excludeRegexes) { + return some(excludeRegexes, (pattern) => { + var _a; + return !!((_a = stringToRegex(pattern)) == null ? void 0 : _a.test(moduleSpecifier)); + }); +} +function getInfo(importingSourceFileName, host) { + importingSourceFileName = getNormalizedAbsolutePath(importingSourceFileName, host.getCurrentDirectory()); + const getCanonicalFileName = createGetCanonicalFileName(host.useCaseSensitiveFileNames ? host.useCaseSensitiveFileNames() : true); + const sourceDirectory = getDirectoryPath(importingSourceFileName); + return { + getCanonicalFileName, + importingSourceFileName, + sourceDirectory, + canonicalSourceDirectory: getCanonicalFileName(sourceDirectory) + }; +} +function getLocalModuleSpecifier(moduleFileName, info, compilerOptions, host, importMode, { getAllowedEndingsInPreferredOrder: getAllowedEndingsInPrefererredOrder, relativePreference, excludeRegexes }, pathsOnly) { + const { baseUrl, paths, rootDirs } = compilerOptions; + if (pathsOnly && !paths) { + return void 0; + } + const { sourceDirectory, canonicalSourceDirectory, getCanonicalFileName } = info; + const allowedEndings = getAllowedEndingsInPrefererredOrder(importMode); + const relativePath = rootDirs && tryGetModuleNameFromRootDirs(rootDirs, moduleFileName, sourceDirectory, getCanonicalFileName, allowedEndings, compilerOptions) || processEnding(ensurePathIsNonModuleName(getRelativePathFromDirectory(sourceDirectory, moduleFileName, getCanonicalFileName)), allowedEndings, compilerOptions); + if (!baseUrl && !paths && !getResolvePackageJsonImports(compilerOptions) || relativePreference === 0 /* Relative */) { + return pathsOnly ? void 0 : relativePath; + } + const baseDirectory = getNormalizedAbsolutePath(getPathsBasePath(compilerOptions, host) || baseUrl, host.getCurrentDirectory()); + const relativeToBaseUrl = getRelativePathIfInSameVolume(moduleFileName, baseDirectory, getCanonicalFileName); + if (!relativeToBaseUrl) { + return pathsOnly ? void 0 : relativePath; + } + const fromPackageJsonImports = pathsOnly ? void 0 : tryGetModuleNameFromPackageJsonImports( + moduleFileName, + sourceDirectory, + compilerOptions, + host, + importMode, + prefersTsExtension(allowedEndings) + ); + const fromPaths = pathsOnly || fromPackageJsonImports === void 0 ? paths && tryGetModuleNameFromPaths(relativeToBaseUrl, paths, allowedEndings, baseDirectory, getCanonicalFileName, host, compilerOptions) : void 0; + if (pathsOnly) { + return fromPaths; + } + const maybeNonRelative = fromPackageJsonImports ?? (fromPaths === void 0 && baseUrl !== void 0 ? processEnding(relativeToBaseUrl, allowedEndings, compilerOptions) : fromPaths); + if (!maybeNonRelative) { + return relativePath; + } + const relativeIsExcluded = isExcludedByRegex(relativePath, excludeRegexes); + const nonRelativeIsExcluded = isExcludedByRegex(maybeNonRelative, excludeRegexes); + if (!relativeIsExcluded && nonRelativeIsExcluded) { + return relativePath; + } + if (relativeIsExcluded && !nonRelativeIsExcluded) { + return maybeNonRelative; + } + if (relativePreference === 1 /* NonRelative */ && !pathIsRelative(maybeNonRelative)) { + return maybeNonRelative; + } + if (relativePreference === 3 /* ExternalNonRelative */ && !pathIsRelative(maybeNonRelative)) { + const projectDirectory = compilerOptions.configFilePath ? toPath(getDirectoryPath(compilerOptions.configFilePath), host.getCurrentDirectory(), info.getCanonicalFileName) : info.getCanonicalFileName(host.getCurrentDirectory()); + const modulePath = toPath(moduleFileName, projectDirectory, getCanonicalFileName); + const sourceIsInternal = startsWith(canonicalSourceDirectory, projectDirectory); + const targetIsInternal = startsWith(modulePath, projectDirectory); + if (sourceIsInternal && !targetIsInternal || !sourceIsInternal && targetIsInternal) { + return maybeNonRelative; + } + const nearestTargetPackageJson = getNearestAncestorDirectoryWithPackageJson(host, getDirectoryPath(modulePath)); + const nearestSourcePackageJson = getNearestAncestorDirectoryWithPackageJson(host, sourceDirectory); + const ignoreCase = !hostUsesCaseSensitiveFileNames(host); + if (!packageJsonPathsAreEqual(nearestTargetPackageJson, nearestSourcePackageJson, ignoreCase)) { + return maybeNonRelative; + } + return relativePath; + } + return isPathRelativeToParent(maybeNonRelative) || countPathComponents(relativePath) < countPathComponents(maybeNonRelative) ? relativePath : maybeNonRelative; +} +function packageJsonPathsAreEqual(a, b, ignoreCase) { + if (a === b) return true; + if (a === void 0 || b === void 0) return false; + return comparePaths(a, b, ignoreCase) === 0 /* EqualTo */; +} +function countPathComponents(path) { + let count = 0; + for (let i = startsWith(path, "./") ? 2 : 0; i < path.length; i++) { + if (path.charCodeAt(i) === 47 /* slash */) count++; + } + return count; +} +function comparePathsByRedirectAndNumberOfDirectorySeparators(a, b) { + return compareBooleans(b.isRedirect, a.isRedirect) || compareNumberOfDirectorySeparators(a.path, b.path); +} +function getNearestAncestorDirectoryWithPackageJson(host, fileName) { + if (host.getNearestAncestorDirectoryWithPackageJson) { + return host.getNearestAncestorDirectoryWithPackageJson(fileName); + } + return forEachAncestorDirectoryStoppingAtGlobalCache( + host, + fileName, + (directory) => host.fileExists(combinePaths(directory, "package.json")) ? directory : void 0 + ); +} +function forEachFileNameOfModule(importingFileName, importedFileName, host, preferSymlinks, cb) { + var _a; + const getCanonicalFileName = hostGetCanonicalFileName(host); + const cwd = host.getCurrentDirectory(); + const referenceRedirect = host.isSourceOfProjectReferenceRedirect(importedFileName) ? host.getProjectReferenceRedirect(importedFileName) : void 0; + const importedPath = toPath(importedFileName, cwd, getCanonicalFileName); + const redirects = host.redirectTargetsMap.get(importedPath) || emptyArray; + const importedFileNames = [...referenceRedirect ? [referenceRedirect] : emptyArray, importedFileName, ...redirects]; + const targets = importedFileNames.map((f) => getNormalizedAbsolutePath(f, cwd)); + let shouldFilterIgnoredPaths = !every(targets, containsIgnoredPath); + if (!preferSymlinks) { + const result2 = forEach(targets, (p) => !(shouldFilterIgnoredPaths && containsIgnoredPath(p)) && cb(p, referenceRedirect === p)); + if (result2) return result2; + } + const symlinkedDirectories = (_a = host.getSymlinkCache) == null ? void 0 : _a.call(host).getSymlinkedDirectoriesByRealpath(); + const fullImportedFileName = getNormalizedAbsolutePath(importedFileName, cwd); + const result = symlinkedDirectories && forEachAncestorDirectoryStoppingAtGlobalCache( + host, + getDirectoryPath(fullImportedFileName), + (realPathDirectory) => { + const symlinkDirectories = symlinkedDirectories.get(ensureTrailingDirectorySeparator(toPath(realPathDirectory, cwd, getCanonicalFileName))); + if (!symlinkDirectories) return void 0; + if (startsWithDirectory(importingFileName, realPathDirectory, getCanonicalFileName)) { + return false; + } + return forEach(targets, (target) => { + if (!startsWithDirectory(target, realPathDirectory, getCanonicalFileName)) { + return; + } + const relative = getRelativePathFromDirectory(realPathDirectory, target, getCanonicalFileName); + for (const symlinkDirectory of symlinkDirectories) { + const option = resolvePath(symlinkDirectory, relative); + const result2 = cb(option, target === referenceRedirect); + shouldFilterIgnoredPaths = true; + if (result2) return result2; + } + }); + } + ); + return result || (preferSymlinks ? forEach(targets, (p) => shouldFilterIgnoredPaths && containsIgnoredPath(p) ? void 0 : cb(p, p === referenceRedirect)) : void 0); +} +var runtimeDependencyFields = ["dependencies", "peerDependencies", "optionalDependencies"]; +function getAllRuntimeDependencies(packageJson) { + let result; + for (const field of runtimeDependencyFields) { + const deps = packageJson[field]; + if (deps && typeof deps === "object") { + result = concatenate(result, getOwnKeys(deps)); + } + } + return result; +} +function getAllModulePathsWorker(info, importedFileName, host, compilerOptions, options) { + var _a, _b; + const cache = (_a = host.getModuleResolutionCache) == null ? void 0 : _a.call(host); + const links = (_b = host.getSymlinkCache) == null ? void 0 : _b.call(host); + if (cache && links && host.readFile && !pathContainsNodeModules(info.importingSourceFileName)) { + Debug.type(host); + const state = getTemporaryModuleResolutionState(cache.getPackageJsonInfoCache(), host, {}); + const packageJson = getPackageScopeForPath(getDirectoryPath(info.importingSourceFileName), state); + if (packageJson) { + const toResolve = getAllRuntimeDependencies(packageJson.contents.packageJsonContent); + for (const depName of toResolve || emptyArray) { + const resolved = resolveModuleName( + depName, + combinePaths(packageJson.packageDirectory, "package.json"), + compilerOptions, + host, + cache, + /*redirectedReference*/ + void 0, + options.overrideImportMode + ); + links.setSymlinksFromResolution(resolved.resolvedModule); + } + } + } + const allFileNames = /* @__PURE__ */ new Map(); + let importedFileFromNodeModules = false; + forEachFileNameOfModule( + info.importingSourceFileName, + importedFileName, + host, + /*preferSymlinks*/ + true, + (path, isRedirect) => { + const isInNodeModules = pathContainsNodeModules(path); + allFileNames.set(path, { path: info.getCanonicalFileName(path), isRedirect, isInNodeModules }); + importedFileFromNodeModules = importedFileFromNodeModules || isInNodeModules; + } + ); + const sortedPaths = []; + for (let directory = info.canonicalSourceDirectory; allFileNames.size !== 0; ) { + const directoryStart = ensureTrailingDirectorySeparator(directory); + let pathsInDirectory; + allFileNames.forEach(({ path, isRedirect, isInNodeModules }, fileName) => { + if (startsWith(path, directoryStart)) { + (pathsInDirectory || (pathsInDirectory = [])).push({ path: fileName, isRedirect, isInNodeModules }); + allFileNames.delete(fileName); + } + }); + if (pathsInDirectory) { + if (pathsInDirectory.length > 1) { + pathsInDirectory.sort(comparePathsByRedirectAndNumberOfDirectorySeparators); + } + sortedPaths.push(...pathsInDirectory); + } + const newDirectory = getDirectoryPath(directory); + if (newDirectory === directory) break; + directory = newDirectory; + } + if (allFileNames.size) { + const remainingPaths = arrayFrom( + allFileNames.entries(), + ([fileName, { isRedirect, isInNodeModules }]) => ({ path: fileName, isRedirect, isInNodeModules }) + ); + if (remainingPaths.length > 1) remainingPaths.sort(comparePathsByRedirectAndNumberOfDirectorySeparators); + sortedPaths.push(...remainingPaths); + } + return sortedPaths; +} +function tryGetModuleNameFromAmbientModule(moduleSymbol, checker) { + var _a; + const decl = (_a = moduleSymbol.declarations) == null ? void 0 : _a.find( + (d) => isNonGlobalAmbientModule(d) && (!isExternalModuleAugmentation(d) || !isExternalModuleNameRelative(getTextOfIdentifierOrLiteral(d.name))) + ); + if (decl) { + return decl.name.text; + } + const ambientModuleDeclareCandidates = mapDefined(moduleSymbol.declarations, (d) => { + var _a2, _b, _c, _d; + if (!isModuleDeclaration(d)) return; + const topNamespace = getTopNamespace(d); + if (!(((_a2 = topNamespace == null ? void 0 : topNamespace.parent) == null ? void 0 : _a2.parent) && isModuleBlock(topNamespace.parent) && isAmbientModule(topNamespace.parent.parent) && isSourceFile(topNamespace.parent.parent.parent))) return; + const exportAssignment = (_d = (_c = (_b = topNamespace.parent.parent.symbol.exports) == null ? void 0 : _b.get("export=")) == null ? void 0 : _c.valueDeclaration) == null ? void 0 : _d.expression; + if (!exportAssignment) return; + const exportSymbol = checker.getSymbolAtLocation(exportAssignment); + if (!exportSymbol) return; + const originalExportSymbol = (exportSymbol == null ? void 0 : exportSymbol.flags) & 2097152 /* Alias */ ? checker.getAliasedSymbol(exportSymbol) : exportSymbol; + if (originalExportSymbol === d.symbol) return topNamespace.parent.parent; + function getTopNamespace(namespaceDeclaration) { + while (namespaceDeclaration.flags & 8 /* NestedNamespace */) { + namespaceDeclaration = namespaceDeclaration.parent; + } + return namespaceDeclaration; + } + }); + const ambientModuleDeclare = ambientModuleDeclareCandidates[0]; + if (ambientModuleDeclare) { + return ambientModuleDeclare.name.text; + } +} +function tryGetModuleNameFromPaths(relativeToBaseUrl, paths, allowedEndings, baseDirectory, getCanonicalFileName, host, compilerOptions) { + for (const key in paths) { + for (const patternText2 of paths[key]) { + const normalized = normalizePath(patternText2); + const pattern = getRelativePathIfInSameVolume(normalized, baseDirectory, getCanonicalFileName) ?? normalized; + const indexOfStar = pattern.indexOf("*"); + const candidates = allowedEndings.map((ending) => ({ + ending, + value: processEnding(relativeToBaseUrl, [ending], compilerOptions) + })); + if (tryGetExtensionFromPath2(pattern)) { + candidates.push({ ending: void 0, value: relativeToBaseUrl }); + } + if (indexOfStar !== -1) { + const prefix = pattern.substring(0, indexOfStar); + const suffix = pattern.substring(indexOfStar + 1); + for (const { ending, value } of candidates) { + if (value.length >= prefix.length + suffix.length && startsWith(value, prefix) && endsWith(value, suffix) && validateEnding({ ending, value })) { + const matchedStar = value.substring(prefix.length, value.length - suffix.length); + if (!pathIsRelative(matchedStar)) { + return replaceFirstStar(key, matchedStar); + } + } + } + } else if (some(candidates, (c) => c.ending !== 0 /* Minimal */ && pattern === c.value) || some(candidates, (c) => c.ending === 0 /* Minimal */ && pattern === c.value && validateEnding(c))) { + return key; + } + } + } + function validateEnding({ ending, value }) { + return ending !== 0 /* Minimal */ || value === processEnding(relativeToBaseUrl, [ending], compilerOptions, host); + } +} +function tryGetModuleNameFromExportsOrImports(options, host, targetFilePath, packageDirectory, packageName, exports2, conditions, mode, isImports, preferTsExtension) { + if (typeof exports2 === "string") { + const ignoreCase = !hostUsesCaseSensitiveFileNames(host); + const getCommonSourceDirectory2 = () => host.getCommonSourceDirectory(); + const outputFile = isImports && getOutputJSFileNameWorker(targetFilePath, options, ignoreCase, getCommonSourceDirectory2); + const declarationFile = isImports && getOutputDeclarationFileNameWorker(targetFilePath, options, ignoreCase, getCommonSourceDirectory2); + const pathOrPattern = getNormalizedAbsolutePath( + combinePaths(packageDirectory, exports2), + /*currentDirectory*/ + void 0 + ); + const extensionSwappedTarget = hasTSFileExtension(targetFilePath) ? removeFileExtension(targetFilePath) + tryGetJSExtensionForFile(targetFilePath, options) : void 0; + const canTryTsExtension = preferTsExtension && hasImplementationTSFileExtension(targetFilePath); + switch (mode) { + case 0 /* Exact */: + if (extensionSwappedTarget && comparePaths(extensionSwappedTarget, pathOrPattern, ignoreCase) === 0 /* EqualTo */ || comparePaths(targetFilePath, pathOrPattern, ignoreCase) === 0 /* EqualTo */ || outputFile && comparePaths(outputFile, pathOrPattern, ignoreCase) === 0 /* EqualTo */ || declarationFile && comparePaths(declarationFile, pathOrPattern, ignoreCase) === 0 /* EqualTo */) { + return { moduleFileToTry: packageName }; + } + break; + case 1 /* Directory */: + if (canTryTsExtension && containsPath(targetFilePath, pathOrPattern, ignoreCase)) { + const fragment = getRelativePathFromDirectory( + pathOrPattern, + targetFilePath, + /*ignoreCase*/ + false + ); + return { moduleFileToTry: getNormalizedAbsolutePath( + combinePaths(combinePaths(packageName, exports2), fragment), + /*currentDirectory*/ + void 0 + ) }; + } + if (extensionSwappedTarget && containsPath(pathOrPattern, extensionSwappedTarget, ignoreCase)) { + const fragment = getRelativePathFromDirectory( + pathOrPattern, + extensionSwappedTarget, + /*ignoreCase*/ + false + ); + return { moduleFileToTry: getNormalizedAbsolutePath( + combinePaths(combinePaths(packageName, exports2), fragment), + /*currentDirectory*/ + void 0 + ) }; + } + if (!canTryTsExtension && containsPath(pathOrPattern, targetFilePath, ignoreCase)) { + const fragment = getRelativePathFromDirectory( + pathOrPattern, + targetFilePath, + /*ignoreCase*/ + false + ); + return { moduleFileToTry: getNormalizedAbsolutePath( + combinePaths(combinePaths(packageName, exports2), fragment), + /*currentDirectory*/ + void 0 + ) }; + } + if (outputFile && containsPath(pathOrPattern, outputFile, ignoreCase)) { + const fragment = getRelativePathFromDirectory( + pathOrPattern, + outputFile, + /*ignoreCase*/ + false + ); + return { moduleFileToTry: combinePaths(packageName, fragment) }; + } + if (declarationFile && containsPath(pathOrPattern, declarationFile, ignoreCase)) { + const fragment = changeFullExtension(getRelativePathFromDirectory( + pathOrPattern, + declarationFile, + /*ignoreCase*/ + false + ), getJSExtensionForFile(declarationFile, options)); + return { moduleFileToTry: combinePaths(packageName, fragment) }; + } + break; + case 2 /* Pattern */: + const starPos = pathOrPattern.indexOf("*"); + const leadingSlice = pathOrPattern.slice(0, starPos); + const trailingSlice = pathOrPattern.slice(starPos + 1); + if (canTryTsExtension && startsWith(targetFilePath, leadingSlice, ignoreCase) && endsWith(targetFilePath, trailingSlice, ignoreCase)) { + const starReplacement = targetFilePath.slice(leadingSlice.length, targetFilePath.length - trailingSlice.length); + return { moduleFileToTry: replaceFirstStar(packageName, starReplacement) }; + } + if (extensionSwappedTarget && startsWith(extensionSwappedTarget, leadingSlice, ignoreCase) && endsWith(extensionSwappedTarget, trailingSlice, ignoreCase)) { + const starReplacement = extensionSwappedTarget.slice(leadingSlice.length, extensionSwappedTarget.length - trailingSlice.length); + return { moduleFileToTry: replaceFirstStar(packageName, starReplacement) }; + } + if (!canTryTsExtension && startsWith(targetFilePath, leadingSlice, ignoreCase) && endsWith(targetFilePath, trailingSlice, ignoreCase)) { + const starReplacement = targetFilePath.slice(leadingSlice.length, targetFilePath.length - trailingSlice.length); + return { moduleFileToTry: replaceFirstStar(packageName, starReplacement) }; + } + if (outputFile && startsWith(outputFile, leadingSlice, ignoreCase) && endsWith(outputFile, trailingSlice, ignoreCase)) { + const starReplacement = outputFile.slice(leadingSlice.length, outputFile.length - trailingSlice.length); + return { moduleFileToTry: replaceFirstStar(packageName, starReplacement) }; + } + if (declarationFile && startsWith(declarationFile, leadingSlice, ignoreCase) && endsWith(declarationFile, trailingSlice, ignoreCase)) { + const starReplacement = declarationFile.slice(leadingSlice.length, declarationFile.length - trailingSlice.length); + const substituted = replaceFirstStar(packageName, starReplacement); + const jsExtension = tryGetJSExtensionForFile(declarationFile, options); + return jsExtension ? { moduleFileToTry: changeFullExtension(substituted, jsExtension) } : void 0; + } + break; + } + } else if (Array.isArray(exports2)) { + return forEach(exports2, (e) => tryGetModuleNameFromExportsOrImports(options, host, targetFilePath, packageDirectory, packageName, e, conditions, mode, isImports, preferTsExtension)); + } else if (typeof exports2 === "object" && exports2 !== null) { + for (const key of getOwnKeys(exports2)) { + if (key === "default" || conditions.indexOf(key) >= 0 || isApplicableVersionedTypesKey(conditions, key)) { + const subTarget = exports2[key]; + const result = tryGetModuleNameFromExportsOrImports(options, host, targetFilePath, packageDirectory, packageName, subTarget, conditions, mode, isImports, preferTsExtension); + if (result) { + return result; + } + } + } + } + return void 0; +} +function tryGetModuleNameFromExports(options, host, targetFilePath, packageDirectory, packageName, exports2, conditions) { + if (typeof exports2 === "object" && exports2 !== null && !Array.isArray(exports2) && allKeysStartWithDot(exports2)) { + return forEach(getOwnKeys(exports2), (k) => { + const subPackageName = getNormalizedAbsolutePath( + combinePaths(packageName, k), + /*currentDirectory*/ + void 0 + ); + const mode = endsWith(k, "/") ? 1 /* Directory */ : k.includes("*") ? 2 /* Pattern */ : 0 /* Exact */; + return tryGetModuleNameFromExportsOrImports( + options, + host, + targetFilePath, + packageDirectory, + subPackageName, + exports2[k], + conditions, + mode, + /*isImports*/ + false, + /*preferTsExtension*/ + false + ); + }); + } + return tryGetModuleNameFromExportsOrImports( + options, + host, + targetFilePath, + packageDirectory, + packageName, + exports2, + conditions, + 0 /* Exact */, + /*isImports*/ + false, + /*preferTsExtension*/ + false + ); +} +function tryGetModuleNameFromPackageJsonImports(moduleFileName, sourceDirectory, options, host, importMode, preferTsExtension) { + var _a, _b, _c; + if (!host.readFile || !getResolvePackageJsonImports(options)) { + return void 0; + } + const ancestorDirectoryWithPackageJson = getNearestAncestorDirectoryWithPackageJson(host, sourceDirectory); + if (!ancestorDirectoryWithPackageJson) { + return void 0; + } + const packageJsonPath = combinePaths(ancestorDirectoryWithPackageJson, "package.json"); + const cachedPackageJson = (_b = (_a = host.getPackageJsonInfoCache) == null ? void 0 : _a.call(host)) == null ? void 0 : _b.getPackageJsonInfo(packageJsonPath); + if (isMissingPackageJsonInfo(cachedPackageJson) || !host.fileExists(packageJsonPath)) { + return void 0; + } + const packageJsonContent = (cachedPackageJson == null ? void 0 : cachedPackageJson.contents.packageJsonContent) || tryParseJson(host.readFile(packageJsonPath)); + const imports = packageJsonContent == null ? void 0 : packageJsonContent.imports; + if (!imports) { + return void 0; + } + const conditions = getConditions(options, importMode); + return (_c = forEach(getOwnKeys(imports), (k) => { + if (!startsWith(k, "#") || k === "#" || startsWith(k, "#/")) return void 0; + const mode = endsWith(k, "/") ? 1 /* Directory */ : k.includes("*") ? 2 /* Pattern */ : 0 /* Exact */; + return tryGetModuleNameFromExportsOrImports( + options, + host, + moduleFileName, + ancestorDirectoryWithPackageJson, + k, + imports[k], + conditions, + mode, + /*isImports*/ + true, + preferTsExtension + ); + })) == null ? void 0 : _c.moduleFileToTry; +} +function tryGetModuleNameFromRootDirs(rootDirs, moduleFileName, sourceDirectory, getCanonicalFileName, allowedEndings, compilerOptions) { + const normalizedTargetPaths = getPathsRelativeToRootDirs(moduleFileName, rootDirs, getCanonicalFileName); + if (normalizedTargetPaths === void 0) { + return void 0; + } + const normalizedSourcePaths = getPathsRelativeToRootDirs(sourceDirectory, rootDirs, getCanonicalFileName); + const relativePaths = flatMap(normalizedSourcePaths, (sourcePath) => { + return map(normalizedTargetPaths, (targetPath) => ensurePathIsNonModuleName(getRelativePathFromDirectory(sourcePath, targetPath, getCanonicalFileName))); + }); + const shortest = min(relativePaths, compareNumberOfDirectorySeparators); + if (!shortest) { + return void 0; + } + return processEnding(shortest, allowedEndings, compilerOptions); +} +function tryGetModuleNameAsNodeModule({ path, isRedirect }, { getCanonicalFileName, canonicalSourceDirectory }, importingSourceFile, host, options, userPreferences, packageNameOnly, overrideMode) { + if (!host.fileExists || !host.readFile) { + return void 0; + } + const parts = getNodeModulePathParts(path); + if (!parts) { + return void 0; + } + const preferences = getModuleSpecifierPreferences(userPreferences, host, options, importingSourceFile); + const allowedEndings = preferences.getAllowedEndingsInPreferredOrder(); + let moduleSpecifier = path; + let isPackageRootPath = false; + if (!packageNameOnly) { + let packageRootIndex = parts.packageRootIndex; + let moduleFileName; + while (true) { + const { moduleFileToTry, packageRootPath, blockedByExports, verbatimFromExports } = tryDirectoryWithPackageJson(packageRootIndex); + if (getEmitModuleResolutionKind(options) !== 1 /* Classic */) { + if (blockedByExports) { + return void 0; + } + if (verbatimFromExports) { + return moduleFileToTry; + } + } + if (packageRootPath) { + moduleSpecifier = packageRootPath; + isPackageRootPath = true; + break; + } + if (!moduleFileName) moduleFileName = moduleFileToTry; + packageRootIndex = path.indexOf(directorySeparator, packageRootIndex + 1); + if (packageRootIndex === -1) { + moduleSpecifier = processEnding(moduleFileName, allowedEndings, options, host); + break; + } + } + } + if (isRedirect && !isPackageRootPath) { + return void 0; + } + const globalTypingsCacheLocation = host.getGlobalTypingsCacheLocation && host.getGlobalTypingsCacheLocation(); + const pathToTopLevelNodeModules = getCanonicalFileName(moduleSpecifier.substring(0, parts.topLevelNodeModulesIndex)); + if (!(startsWith(canonicalSourceDirectory, pathToTopLevelNodeModules) || globalTypingsCacheLocation && startsWith(getCanonicalFileName(globalTypingsCacheLocation), pathToTopLevelNodeModules))) { + return void 0; + } + const nodeModulesDirectoryName = moduleSpecifier.substring(parts.topLevelPackageNameIndex + 1); + const packageName = getPackageNameFromTypesPackageName(nodeModulesDirectoryName); + return getEmitModuleResolutionKind(options) === 1 /* Classic */ && packageName === nodeModulesDirectoryName ? void 0 : packageName; + function tryDirectoryWithPackageJson(packageRootIndex) { + var _a, _b; + const packageRootPath = path.substring(0, packageRootIndex); + const packageJsonPath = combinePaths(packageRootPath, "package.json"); + let moduleFileToTry = path; + let maybeBlockedByTypesVersions = false; + const cachedPackageJson = (_b = (_a = host.getPackageJsonInfoCache) == null ? void 0 : _a.call(host)) == null ? void 0 : _b.getPackageJsonInfo(packageJsonPath); + if (isPackageJsonInfo(cachedPackageJson) || cachedPackageJson === void 0 && host.fileExists(packageJsonPath)) { + const packageJsonContent = (cachedPackageJson == null ? void 0 : cachedPackageJson.contents.packageJsonContent) || tryParseJson(host.readFile(packageJsonPath)); + const importMode = overrideMode || getDefaultResolutionModeForFile(importingSourceFile, host, options); + if (getResolvePackageJsonExports(options)) { + const nodeModulesDirectoryName2 = packageRootPath.substring(parts.topLevelPackageNameIndex + 1); + const packageName2 = getPackageNameFromTypesPackageName(nodeModulesDirectoryName2); + const conditions = getConditions(options, importMode); + const fromExports = (packageJsonContent == null ? void 0 : packageJsonContent.exports) ? tryGetModuleNameFromExports( + options, + host, + path, + packageRootPath, + packageName2, + packageJsonContent.exports, + conditions + ) : void 0; + if (fromExports) { + return { ...fromExports, verbatimFromExports: true }; + } + if (packageJsonContent == null ? void 0 : packageJsonContent.exports) { + return { moduleFileToTry: path, blockedByExports: true }; + } + } + const versionPaths = (packageJsonContent == null ? void 0 : packageJsonContent.typesVersions) ? getPackageJsonTypesVersionsPaths(packageJsonContent.typesVersions) : void 0; + if (versionPaths) { + const subModuleName = path.slice(packageRootPath.length + 1); + const fromPaths = tryGetModuleNameFromPaths( + subModuleName, + versionPaths.paths, + allowedEndings, + packageRootPath, + getCanonicalFileName, + host, + options + ); + if (fromPaths === void 0) { + maybeBlockedByTypesVersions = true; + } else { + moduleFileToTry = combinePaths(packageRootPath, fromPaths); + } + } + const mainFileRelative = (packageJsonContent == null ? void 0 : packageJsonContent.typings) || (packageJsonContent == null ? void 0 : packageJsonContent.types) || (packageJsonContent == null ? void 0 : packageJsonContent.main) || "index.js"; + if (isString(mainFileRelative) && !(maybeBlockedByTypesVersions && matchPatternOrExact(tryParsePatterns(versionPaths.paths), mainFileRelative))) { + const mainExportFile = toPath(mainFileRelative, packageRootPath, getCanonicalFileName); + const canonicalModuleFileToTry = getCanonicalFileName(moduleFileToTry); + if (removeFileExtension(mainExportFile) === removeFileExtension(canonicalModuleFileToTry)) { + return { packageRootPath, moduleFileToTry }; + } else if ((packageJsonContent == null ? void 0 : packageJsonContent.type) !== "module" && !fileExtensionIsOneOf(canonicalModuleFileToTry, extensionsNotSupportingExtensionlessResolution) && startsWith(canonicalModuleFileToTry, mainExportFile) && getDirectoryPath(canonicalModuleFileToTry) === removeTrailingDirectorySeparator(mainExportFile) && removeFileExtension(getBaseFileName(canonicalModuleFileToTry)) === "index") { + return { packageRootPath, moduleFileToTry }; + } + } + } else { + const fileName = getCanonicalFileName(moduleFileToTry.substring(parts.packageRootIndex + 1)); + if (fileName === "index.d.ts" || fileName === "index.js" || fileName === "index.ts" || fileName === "index.tsx") { + return { moduleFileToTry, packageRootPath }; + } + } + return { moduleFileToTry }; + } +} +function tryGetAnyFileFromPath(host, path) { + if (!host.fileExists) return; + const extensions = flatten(getSupportedExtensions({ allowJs: true }, [{ extension: "node", isMixedContent: false }, { extension: "json", isMixedContent: false, scriptKind: 6 /* JSON */ }])); + for (const e of extensions) { + const fullPath = path + e; + if (host.fileExists(fullPath)) { + return fullPath; + } + } +} +function getPathsRelativeToRootDirs(path, rootDirs, getCanonicalFileName) { + return mapDefined(rootDirs, (rootDir) => { + const relativePath = getRelativePathIfInSameVolume(path, rootDir, getCanonicalFileName); + return relativePath !== void 0 && isPathRelativeToParent(relativePath) ? void 0 : relativePath; + }); +} +function processEnding(fileName, allowedEndings, options, host) { + if (fileExtensionIsOneOf(fileName, [".json" /* Json */, ".mjs" /* Mjs */, ".cjs" /* Cjs */])) { + return fileName; + } + const noExtension = removeFileExtension(fileName); + if (fileName === noExtension) { + return fileName; + } + const jsPriority = allowedEndings.indexOf(2 /* JsExtension */); + const tsPriority = allowedEndings.indexOf(3 /* TsExtension */); + if (fileExtensionIsOneOf(fileName, [".mts" /* Mts */, ".cts" /* Cts */]) && tsPriority !== -1 && tsPriority < jsPriority) { + return fileName; + } else if (fileExtensionIsOneOf(fileName, [".d.mts" /* Dmts */, ".mts" /* Mts */, ".d.cts" /* Dcts */, ".cts" /* Cts */])) { + return noExtension + getJSExtensionForFile(fileName, options); + } else if (!fileExtensionIsOneOf(fileName, [".d.ts" /* Dts */]) && fileExtensionIsOneOf(fileName, [".ts" /* Ts */]) && fileName.includes(".d.")) { + return tryGetRealFileNameForNonJsDeclarationFileName(fileName); + } + switch (allowedEndings[0]) { + case 0 /* Minimal */: + const withoutIndex = removeSuffix(noExtension, "/index"); + if (host && withoutIndex !== noExtension && tryGetAnyFileFromPath(host, withoutIndex)) { + return noExtension; + } + return withoutIndex; + case 1 /* Index */: + return noExtension; + case 2 /* JsExtension */: + return noExtension + getJSExtensionForFile(fileName, options); + case 3 /* TsExtension */: + if (isDeclarationFileName(fileName)) { + const extensionlessPriority = allowedEndings.findIndex((e) => e === 0 /* Minimal */ || e === 1 /* Index */); + return extensionlessPriority !== -1 && extensionlessPriority < jsPriority ? noExtension : noExtension + getJSExtensionForFile(fileName, options); + } + return fileName; + default: + return Debug.assertNever(allowedEndings[0]); + } +} +function tryGetRealFileNameForNonJsDeclarationFileName(fileName) { + const baseName = getBaseFileName(fileName); + if (!endsWith(fileName, ".ts" /* Ts */) || !baseName.includes(".d.") || fileExtensionIsOneOf(baseName, [".d.ts" /* Dts */])) return void 0; + const noExtension = removeExtension(fileName, ".ts" /* Ts */); + const ext = noExtension.substring(noExtension.lastIndexOf(".")); + return noExtension.substring(0, noExtension.indexOf(".d.")) + ext; +} +function getJSExtensionForFile(fileName, options) { + return tryGetJSExtensionForFile(fileName, options) ?? Debug.fail(`Extension ${extensionFromPath(fileName)} is unsupported:: FileName:: ${fileName}`); +} +function tryGetJSExtensionForFile(fileName, options) { + const ext = tryGetExtensionFromPath2(fileName); + switch (ext) { + case ".ts" /* Ts */: + case ".d.ts" /* Dts */: + return ".js" /* Js */; + case ".tsx" /* Tsx */: + return options.jsx === 1 /* Preserve */ ? ".jsx" /* Jsx */ : ".js" /* Js */; + case ".js" /* Js */: + case ".jsx" /* Jsx */: + case ".json" /* Json */: + return ext; + case ".d.mts" /* Dmts */: + case ".mts" /* Mts */: + case ".mjs" /* Mjs */: + return ".mjs" /* Mjs */; + case ".d.cts" /* Dcts */: + case ".cts" /* Cts */: + case ".cjs" /* Cjs */: + return ".cjs" /* Cjs */; + default: + return void 0; + } +} +function getRelativePathIfInSameVolume(path, directoryPath, getCanonicalFileName) { + const relativePath = getRelativePathToDirectoryOrUrl( + directoryPath, + path, + directoryPath, + getCanonicalFileName, + /*isAbsolutePathAnUrl*/ + false + ); + return isRootedDiskPath(relativePath) ? void 0 : relativePath; +} +function isPathRelativeToParent(path) { + return startsWith(path, ".."); +} +function getDefaultResolutionModeForFile(file, host, compilerOptions) { + return isFullSourceFile(file) ? host.getDefaultResolutionModeForFile(file) : getDefaultResolutionModeForFileWorker(file, compilerOptions); +} +function prefersTsExtension(allowedEndings) { + const tsPriority = allowedEndings.indexOf(3 /* TsExtension */); + return tsPriority > -1 && tsPriority < allowedEndings.indexOf(2 /* JsExtension */); +} + +// src/compiler/checker.ts +var ambientModuleSymbolRegex = /^".+"$/; +var anon = "(anonymous)"; +var nextSymbolId = 1; +var nextNodeId = 1; +var nextMergeId = 1; +var nextFlowId = 1; +var TypeFacts = /* @__PURE__ */ ((TypeFacts3) => { + TypeFacts3[TypeFacts3["None"] = 0] = "None"; + TypeFacts3[TypeFacts3["TypeofEQString"] = 1] = "TypeofEQString"; + TypeFacts3[TypeFacts3["TypeofEQNumber"] = 2] = "TypeofEQNumber"; + TypeFacts3[TypeFacts3["TypeofEQBigInt"] = 4] = "TypeofEQBigInt"; + TypeFacts3[TypeFacts3["TypeofEQBoolean"] = 8] = "TypeofEQBoolean"; + TypeFacts3[TypeFacts3["TypeofEQSymbol"] = 16] = "TypeofEQSymbol"; + TypeFacts3[TypeFacts3["TypeofEQObject"] = 32] = "TypeofEQObject"; + TypeFacts3[TypeFacts3["TypeofEQFunction"] = 64] = "TypeofEQFunction"; + TypeFacts3[TypeFacts3["TypeofEQHostObject"] = 128] = "TypeofEQHostObject"; + TypeFacts3[TypeFacts3["TypeofNEString"] = 256] = "TypeofNEString"; + TypeFacts3[TypeFacts3["TypeofNENumber"] = 512] = "TypeofNENumber"; + TypeFacts3[TypeFacts3["TypeofNEBigInt"] = 1024] = "TypeofNEBigInt"; + TypeFacts3[TypeFacts3["TypeofNEBoolean"] = 2048] = "TypeofNEBoolean"; + TypeFacts3[TypeFacts3["TypeofNESymbol"] = 4096] = "TypeofNESymbol"; + TypeFacts3[TypeFacts3["TypeofNEObject"] = 8192] = "TypeofNEObject"; + TypeFacts3[TypeFacts3["TypeofNEFunction"] = 16384] = "TypeofNEFunction"; + TypeFacts3[TypeFacts3["TypeofNEHostObject"] = 32768] = "TypeofNEHostObject"; + TypeFacts3[TypeFacts3["EQUndefined"] = 65536] = "EQUndefined"; + TypeFacts3[TypeFacts3["EQNull"] = 131072] = "EQNull"; + TypeFacts3[TypeFacts3["EQUndefinedOrNull"] = 262144] = "EQUndefinedOrNull"; + TypeFacts3[TypeFacts3["NEUndefined"] = 524288] = "NEUndefined"; + TypeFacts3[TypeFacts3["NENull"] = 1048576] = "NENull"; + TypeFacts3[TypeFacts3["NEUndefinedOrNull"] = 2097152] = "NEUndefinedOrNull"; + TypeFacts3[TypeFacts3["Truthy"] = 4194304] = "Truthy"; + TypeFacts3[TypeFacts3["Falsy"] = 8388608] = "Falsy"; + TypeFacts3[TypeFacts3["IsUndefined"] = 16777216] = "IsUndefined"; + TypeFacts3[TypeFacts3["IsNull"] = 33554432] = "IsNull"; + TypeFacts3[TypeFacts3["IsUndefinedOrNull"] = 50331648] = "IsUndefinedOrNull"; + TypeFacts3[TypeFacts3["All"] = 134217727] = "All"; + TypeFacts3[TypeFacts3["BaseStringStrictFacts"] = 3735041] = "BaseStringStrictFacts"; + TypeFacts3[TypeFacts3["BaseStringFacts"] = 12582401] = "BaseStringFacts"; + TypeFacts3[TypeFacts3["StringStrictFacts"] = 16317953] = "StringStrictFacts"; + TypeFacts3[TypeFacts3["StringFacts"] = 16776705] = "StringFacts"; + TypeFacts3[TypeFacts3["EmptyStringStrictFacts"] = 12123649] = "EmptyStringStrictFacts"; + TypeFacts3[TypeFacts3["EmptyStringFacts"] = 12582401 /* BaseStringFacts */] = "EmptyStringFacts"; + TypeFacts3[TypeFacts3["NonEmptyStringStrictFacts"] = 7929345] = "NonEmptyStringStrictFacts"; + TypeFacts3[TypeFacts3["NonEmptyStringFacts"] = 16776705] = "NonEmptyStringFacts"; + TypeFacts3[TypeFacts3["BaseNumberStrictFacts"] = 3734786] = "BaseNumberStrictFacts"; + TypeFacts3[TypeFacts3["BaseNumberFacts"] = 12582146] = "BaseNumberFacts"; + TypeFacts3[TypeFacts3["NumberStrictFacts"] = 16317698] = "NumberStrictFacts"; + TypeFacts3[TypeFacts3["NumberFacts"] = 16776450] = "NumberFacts"; + TypeFacts3[TypeFacts3["ZeroNumberStrictFacts"] = 12123394] = "ZeroNumberStrictFacts"; + TypeFacts3[TypeFacts3["ZeroNumberFacts"] = 12582146 /* BaseNumberFacts */] = "ZeroNumberFacts"; + TypeFacts3[TypeFacts3["NonZeroNumberStrictFacts"] = 7929090] = "NonZeroNumberStrictFacts"; + TypeFacts3[TypeFacts3["NonZeroNumberFacts"] = 16776450] = "NonZeroNumberFacts"; + TypeFacts3[TypeFacts3["BaseBigIntStrictFacts"] = 3734276] = "BaseBigIntStrictFacts"; + TypeFacts3[TypeFacts3["BaseBigIntFacts"] = 12581636] = "BaseBigIntFacts"; + TypeFacts3[TypeFacts3["BigIntStrictFacts"] = 16317188] = "BigIntStrictFacts"; + TypeFacts3[TypeFacts3["BigIntFacts"] = 16775940] = "BigIntFacts"; + TypeFacts3[TypeFacts3["ZeroBigIntStrictFacts"] = 12122884] = "ZeroBigIntStrictFacts"; + TypeFacts3[TypeFacts3["ZeroBigIntFacts"] = 12581636 /* BaseBigIntFacts */] = "ZeroBigIntFacts"; + TypeFacts3[TypeFacts3["NonZeroBigIntStrictFacts"] = 7928580] = "NonZeroBigIntStrictFacts"; + TypeFacts3[TypeFacts3["NonZeroBigIntFacts"] = 16775940] = "NonZeroBigIntFacts"; + TypeFacts3[TypeFacts3["BaseBooleanStrictFacts"] = 3733256] = "BaseBooleanStrictFacts"; + TypeFacts3[TypeFacts3["BaseBooleanFacts"] = 12580616] = "BaseBooleanFacts"; + TypeFacts3[TypeFacts3["BooleanStrictFacts"] = 16316168] = "BooleanStrictFacts"; + TypeFacts3[TypeFacts3["BooleanFacts"] = 16774920] = "BooleanFacts"; + TypeFacts3[TypeFacts3["FalseStrictFacts"] = 12121864] = "FalseStrictFacts"; + TypeFacts3[TypeFacts3["FalseFacts"] = 12580616 /* BaseBooleanFacts */] = "FalseFacts"; + TypeFacts3[TypeFacts3["TrueStrictFacts"] = 7927560] = "TrueStrictFacts"; + TypeFacts3[TypeFacts3["TrueFacts"] = 16774920] = "TrueFacts"; + TypeFacts3[TypeFacts3["SymbolStrictFacts"] = 7925520] = "SymbolStrictFacts"; + TypeFacts3[TypeFacts3["SymbolFacts"] = 16772880] = "SymbolFacts"; + TypeFacts3[TypeFacts3["ObjectStrictFacts"] = 7888800] = "ObjectStrictFacts"; + TypeFacts3[TypeFacts3["ObjectFacts"] = 16736160] = "ObjectFacts"; + TypeFacts3[TypeFacts3["FunctionStrictFacts"] = 7880640] = "FunctionStrictFacts"; + TypeFacts3[TypeFacts3["FunctionFacts"] = 16728e3] = "FunctionFacts"; + TypeFacts3[TypeFacts3["VoidFacts"] = 9830144] = "VoidFacts"; + TypeFacts3[TypeFacts3["UndefinedFacts"] = 26607360] = "UndefinedFacts"; + TypeFacts3[TypeFacts3["NullFacts"] = 42917664] = "NullFacts"; + TypeFacts3[TypeFacts3["EmptyObjectStrictFacts"] = 83427327] = "EmptyObjectStrictFacts"; + TypeFacts3[TypeFacts3["EmptyObjectFacts"] = 83886079] = "EmptyObjectFacts"; + TypeFacts3[TypeFacts3["UnknownFacts"] = 83886079] = "UnknownFacts"; + TypeFacts3[TypeFacts3["AllTypeofNE"] = 556800] = "AllTypeofNE"; + TypeFacts3[TypeFacts3["OrFactsMask"] = 8256] = "OrFactsMask"; + TypeFacts3[TypeFacts3["AndFactsMask"] = 134209471] = "AndFactsMask"; + return TypeFacts3; +})(TypeFacts || {}); +var typeofNEFacts = new Map(Object.entries({ + string: 256 /* TypeofNEString */, + number: 512 /* TypeofNENumber */, + bigint: 1024 /* TypeofNEBigInt */, + boolean: 2048 /* TypeofNEBoolean */, + symbol: 4096 /* TypeofNESymbol */, + undefined: 524288 /* NEUndefined */, + object: 8192 /* TypeofNEObject */, + function: 16384 /* TypeofNEFunction */ +})); +var CheckMode = /* @__PURE__ */ ((CheckMode3) => { + CheckMode3[CheckMode3["Normal"] = 0] = "Normal"; + CheckMode3[CheckMode3["Contextual"] = 1] = "Contextual"; + CheckMode3[CheckMode3["Inferential"] = 2] = "Inferential"; + CheckMode3[CheckMode3["SkipContextSensitive"] = 4] = "SkipContextSensitive"; + CheckMode3[CheckMode3["SkipGenericFunctions"] = 8] = "SkipGenericFunctions"; + CheckMode3[CheckMode3["IsForSignatureHelp"] = 16] = "IsForSignatureHelp"; + CheckMode3[CheckMode3["RestBindingElement"] = 32] = "RestBindingElement"; + CheckMode3[CheckMode3["TypeOnly"] = 64] = "TypeOnly"; + return CheckMode3; +})(CheckMode || {}); +var SignatureCheckMode = /* @__PURE__ */ ((SignatureCheckMode3) => { + SignatureCheckMode3[SignatureCheckMode3["None"] = 0] = "None"; + SignatureCheckMode3[SignatureCheckMode3["BivariantCallback"] = 1] = "BivariantCallback"; + SignatureCheckMode3[SignatureCheckMode3["StrictCallback"] = 2] = "StrictCallback"; + SignatureCheckMode3[SignatureCheckMode3["IgnoreReturnTypes"] = 4] = "IgnoreReturnTypes"; + SignatureCheckMode3[SignatureCheckMode3["StrictArity"] = 8] = "StrictArity"; + SignatureCheckMode3[SignatureCheckMode3["StrictTopSignature"] = 16] = "StrictTopSignature"; + SignatureCheckMode3[SignatureCheckMode3["Callback"] = 3] = "Callback"; + return SignatureCheckMode3; +})(SignatureCheckMode || {}); +var isNotOverloadAndNotAccessor = and(isNotOverload, isNotAccessor); +var intrinsicTypeKinds = new Map(Object.entries({ + Uppercase: 0 /* Uppercase */, + Lowercase: 1 /* Lowercase */, + Capitalize: 2 /* Capitalize */, + Uncapitalize: 3 /* Uncapitalize */, + NoInfer: 4 /* NoInfer */ +})); +var SymbolLinks = class { +}; +function NodeLinks() { + this.flags = 0 /* None */; +} +function getNodeId(node) { + if (!node.id) { + node.id = nextNodeId; + nextNodeId++; + } + return node.id; +} +function getSymbolId(symbol) { + if (!symbol.id) { + symbol.id = nextSymbolId; + nextSymbolId++; + } + return symbol.id; +} +function isInstantiatedModule(node, preserveConstEnums) { + const moduleState = getModuleInstanceState(node); + return moduleState === 1 /* Instantiated */ || preserveConstEnums && moduleState === 2 /* ConstEnumOnly */; +} +function createTypeChecker(host) { + var deferredDiagnosticsCallbacks = []; + var addLazyDiagnostic = (arg) => { + deferredDiagnosticsCallbacks.push(arg); + }; + var cancellationToken; + var scanner; + var Symbol13 = objectAllocator.getSymbolConstructor(); + var Type7 = objectAllocator.getTypeConstructor(); + var Signature5 = objectAllocator.getSignatureConstructor(); + var typeCount = 0; + var symbolCount = 0; + var totalInstantiationCount = 0; + var instantiationCount = 0; + var instantiationDepth = 0; + var inlineLevel = 0; + var currentNode; + var varianceTypeParameter; + var isInferencePartiallyBlocked = false; + var emptySymbols = createSymbolTable(); + var arrayVariances = [1 /* Covariant */]; + var compilerOptions = host.getCompilerOptions(); + var languageVersion = getEmitScriptTarget(compilerOptions); + var moduleKind = getEmitModuleKind(compilerOptions); + var legacyDecorators = !!compilerOptions.experimentalDecorators; + var useDefineForClassFields = getUseDefineForClassFields(compilerOptions); + var emitStandardClassFields = getEmitStandardClassFields(compilerOptions); + var allowSyntheticDefaultImports = getAllowSyntheticDefaultImports(compilerOptions); + var strictNullChecks = getStrictOptionValue(compilerOptions, "strictNullChecks"); + var strictFunctionTypes = getStrictOptionValue(compilerOptions, "strictFunctionTypes"); + var strictBindCallApply = getStrictOptionValue(compilerOptions, "strictBindCallApply"); + var strictPropertyInitialization = getStrictOptionValue(compilerOptions, "strictPropertyInitialization"); + var strictBuiltinIteratorReturn = getStrictOptionValue(compilerOptions, "strictBuiltinIteratorReturn"); + var noImplicitAny = getStrictOptionValue(compilerOptions, "noImplicitAny"); + var noImplicitThis = getStrictOptionValue(compilerOptions, "noImplicitThis"); + var useUnknownInCatchVariables = getStrictOptionValue(compilerOptions, "useUnknownInCatchVariables"); + var exactOptionalPropertyTypes = compilerOptions.exactOptionalPropertyTypes; + var noUncheckedSideEffectImports = !!compilerOptions.noUncheckedSideEffectImports; + var checkBinaryExpression = createCheckBinaryExpression(); + var emitResolver = createResolver(); + var nodeBuilder = createNodeBuilder(); + var syntacticNodeBuilder = createSyntacticTypeNodeBuilder(compilerOptions, nodeBuilder.syntacticBuilderResolver); + var evaluate = createEvaluator({ + evaluateElementAccessExpression, + evaluateEntityNameExpression + }); + var globals = createSymbolTable(); + var undefinedSymbol = createSymbol(4 /* Property */, "undefined"); + undefinedSymbol.declarations = []; + var globalThisSymbol = createSymbol(1536 /* Module */, "globalThis", 8 /* Readonly */); + globalThisSymbol.exports = globals; + globalThisSymbol.declarations = []; + globals.set(globalThisSymbol.escapedName, globalThisSymbol); + var argumentsSymbol = createSymbol(4 /* Property */, "arguments"); + var requireSymbol = createSymbol(4 /* Property */, "require"); + var isolatedModulesLikeFlagName = compilerOptions.verbatimModuleSyntax ? "verbatimModuleSyntax" : "isolatedModules"; + var canCollectSymbolAliasAccessabilityData = !compilerOptions.verbatimModuleSyntax; + var apparentArgumentCount; + var lastGetCombinedNodeFlagsNode; + var lastGetCombinedNodeFlagsResult = 0 /* None */; + var lastGetCombinedModifierFlagsNode; + var lastGetCombinedModifierFlagsResult = 0 /* None */; + var resolveName = createNameResolver({ + compilerOptions, + requireSymbol, + argumentsSymbol, + globals, + getSymbolOfDeclaration, + error, + getRequiresScopeChangeCache, + setRequiresScopeChangeCache, + lookup: getSymbol, + onPropertyWithInvalidInitializer: checkAndReportErrorForInvalidInitializer, + onFailedToResolveSymbol, + onSuccessfullyResolvedSymbol + }); + var resolveNameForSymbolSuggestion = createNameResolver({ + compilerOptions, + requireSymbol, + argumentsSymbol, + globals, + getSymbolOfDeclaration, + error, + getRequiresScopeChangeCache, + setRequiresScopeChangeCache, + lookup: getSuggestionForSymbolNameLookup + }); + const checker = { + getNodeCount: () => reduceLeft(host.getSourceFiles(), (n, s) => n + s.nodeCount, 0), + getIdentifierCount: () => reduceLeft(host.getSourceFiles(), (n, s) => n + s.identifierCount, 0), + getSymbolCount: () => reduceLeft(host.getSourceFiles(), (n, s) => n + s.symbolCount, symbolCount), + getTypeCount: () => typeCount, + getInstantiationCount: () => totalInstantiationCount, + getRelationCacheSizes: () => ({ + assignable: assignableRelation.size, + identity: identityRelation.size, + subtype: subtypeRelation.size, + strictSubtype: strictSubtypeRelation.size + }), + isUndefinedSymbol: (symbol) => symbol === undefinedSymbol, + isArgumentsSymbol: (symbol) => symbol === argumentsSymbol, + isUnknownSymbol: (symbol) => symbol === unknownSymbol, + getMergedSymbol, + symbolIsValue, + getDiagnostics, + getGlobalDiagnostics, + getRecursionIdentity, + getUnmatchedProperties, + getTypeOfSymbolAtLocation: (symbol, locationIn) => { + const location = getParseTreeNode(locationIn); + return location ? getTypeOfSymbolAtLocation(symbol, location) : errorType; + }, + getTypeOfSymbol, + getSymbolsOfParameterPropertyDeclaration: (parameterIn, parameterName) => { + const parameter = getParseTreeNode(parameterIn, isParameter); + if (parameter === void 0) return Debug.fail("Cannot get symbols of a synthetic parameter that cannot be resolved to a parse-tree node."); + Debug.assert(isParameterPropertyDeclaration(parameter, parameter.parent)); + return getSymbolsOfParameterPropertyDeclaration(parameter, escapeLeadingUnderscores(parameterName)); + }, + getDeclaredTypeOfSymbol, + getPropertiesOfType, + getPropertyOfType: (type, name) => getPropertyOfType(type, escapeLeadingUnderscores(name)), + getPrivateIdentifierPropertyOfType: (leftType, name, location) => { + const node = getParseTreeNode(location); + if (!node) { + return void 0; + } + const propName = escapeLeadingUnderscores(name); + const lexicallyScopedIdentifier = lookupSymbolForPrivateIdentifierDeclaration(propName, node); + return lexicallyScopedIdentifier ? getPrivateIdentifierPropertyOfType(leftType, lexicallyScopedIdentifier) : void 0; + }, + getTypeOfPropertyOfType: (type, name) => getTypeOfPropertyOfType(type, escapeLeadingUnderscores(name)), + getIndexInfoOfType: (type, kind) => getIndexInfoOfType(type, kind === 0 /* String */ ? stringType : numberType), + getIndexInfosOfType, + getIndexInfosOfIndexSymbol, + getSignaturesOfType, + getIndexTypeOfType: (type, kind) => getIndexTypeOfType(type, kind === 0 /* String */ ? stringType : numberType), + getIndexType: (type) => getIndexType(type), + getBaseTypes, + getBaseTypeOfLiteralType, + getWidenedType, + getWidenedLiteralType, + fillMissingTypeArguments, + getTypeFromTypeNode: (nodeIn) => { + const node = getParseTreeNode(nodeIn, isTypeNode); + return node ? getTypeFromTypeNode(node) : errorType; + }, + getParameterType: getTypeAtPosition, + getParameterIdentifierInfoAtPosition, + getPromisedTypeOfPromise, + getAwaitedType: (type) => getAwaitedType(type), + getReturnTypeOfSignature, + isNullableType, + getNullableType, + getNonNullableType, + getNonOptionalType: removeOptionalTypeMarker, + getTypeArguments, + typeToTypeNode: nodeBuilder.typeToTypeNode, + typePredicateToTypePredicateNode: nodeBuilder.typePredicateToTypePredicateNode, + indexInfoToIndexSignatureDeclaration: nodeBuilder.indexInfoToIndexSignatureDeclaration, + signatureToSignatureDeclaration: nodeBuilder.signatureToSignatureDeclaration, + symbolToEntityName: nodeBuilder.symbolToEntityName, + symbolToExpression: nodeBuilder.symbolToExpression, + symbolToNode: nodeBuilder.symbolToNode, + symbolToTypeParameterDeclarations: nodeBuilder.symbolToTypeParameterDeclarations, + symbolToParameterDeclaration: nodeBuilder.symbolToParameterDeclaration, + typeParameterToDeclaration: nodeBuilder.typeParameterToDeclaration, + getSymbolsInScope: (locationIn, meaning) => { + const location = getParseTreeNode(locationIn); + return location ? getSymbolsInScope(location, meaning) : []; + }, + getSymbolAtLocation: (nodeIn) => { + const node = getParseTreeNode(nodeIn); + return node ? getSymbolAtLocation( + node, + /*ignoreErrors*/ + true + ) : void 0; + }, + getIndexInfosAtLocation: (nodeIn) => { + const node = getParseTreeNode(nodeIn); + return node ? getIndexInfosAtLocation(node) : void 0; + }, + getShorthandAssignmentValueSymbol: (nodeIn) => { + const node = getParseTreeNode(nodeIn); + return node ? getShorthandAssignmentValueSymbol(node) : void 0; + }, + getExportSpecifierLocalTargetSymbol: (nodeIn) => { + const node = getParseTreeNode(nodeIn, isExportSpecifier); + return node ? getExportSpecifierLocalTargetSymbol(node) : void 0; + }, + getExportSymbolOfSymbol(symbol) { + return getMergedSymbol(symbol.exportSymbol || symbol); + }, + getTypeAtLocation: (nodeIn) => { + const node = getParseTreeNode(nodeIn); + return node ? getTypeOfNode(node) : errorType; + }, + getTypeOfAssignmentPattern: (nodeIn) => { + const node = getParseTreeNode(nodeIn, isAssignmentPattern); + return node && getTypeOfAssignmentPattern(node) || errorType; + }, + getPropertySymbolOfDestructuringAssignment: (locationIn) => { + const location = getParseTreeNode(locationIn, isIdentifier); + return location ? getPropertySymbolOfDestructuringAssignment(location) : void 0; + }, + signatureToString: (signature, enclosingDeclaration, flags, kind) => { + return signatureToString(signature, getParseTreeNode(enclosingDeclaration), flags, kind); + }, + typeToString: (type, enclosingDeclaration, flags) => { + return typeToString(type, getParseTreeNode(enclosingDeclaration), flags); + }, + symbolToString: (symbol, enclosingDeclaration, meaning, flags) => { + return symbolToString(symbol, getParseTreeNode(enclosingDeclaration), meaning, flags); + }, + typePredicateToString: (predicate, enclosingDeclaration, flags) => { + return typePredicateToString(predicate, getParseTreeNode(enclosingDeclaration), flags); + }, + writeSignature: (signature, enclosingDeclaration, flags, kind, writer) => { + return signatureToString(signature, getParseTreeNode(enclosingDeclaration), flags, kind, writer); + }, + writeType: (type, enclosingDeclaration, flags, writer) => { + return typeToString(type, getParseTreeNode(enclosingDeclaration), flags, writer); + }, + writeSymbol: (symbol, enclosingDeclaration, meaning, flags, writer) => { + return symbolToString(symbol, getParseTreeNode(enclosingDeclaration), meaning, flags, writer); + }, + writeTypePredicate: (predicate, enclosingDeclaration, flags, writer) => { + return typePredicateToString(predicate, getParseTreeNode(enclosingDeclaration), flags, writer); + }, + getAugmentedPropertiesOfType, + getRootSymbols, + getSymbolOfExpando, + getContextualType: (nodeIn, contextFlags) => { + const node = getParseTreeNode(nodeIn, isExpression); + if (!node) { + return void 0; + } + if (contextFlags & 4 /* Completions */) { + return runWithInferenceBlockedFromSourceNode(node, () => getContextualType(node, contextFlags)); + } + return getContextualType(node, contextFlags); + }, + getContextualTypeForObjectLiteralElement: (nodeIn) => { + const node = getParseTreeNode(nodeIn, isObjectLiteralElementLike); + return node ? getContextualTypeForObjectLiteralElement( + node, + /*contextFlags*/ + void 0 + ) : void 0; + }, + getContextualTypeForArgumentAtIndex: (nodeIn, argIndex) => { + const node = getParseTreeNode(nodeIn, isCallLikeExpression); + return node && getContextualTypeForArgumentAtIndex(node, argIndex); + }, + getContextualTypeForJsxAttribute: (nodeIn) => { + const node = getParseTreeNode(nodeIn, isJsxAttributeLike); + return node && getContextualTypeForJsxAttribute( + node, + /*contextFlags*/ + void 0 + ); + }, + isContextSensitive, + getTypeOfPropertyOfContextualType, + getFullyQualifiedName, + getResolvedSignature: (node, candidatesOutArray, argumentCount) => getResolvedSignatureWorker(node, candidatesOutArray, argumentCount, 0 /* Normal */), + getCandidateSignaturesForStringLiteralCompletions, + getResolvedSignatureForSignatureHelp: (node, candidatesOutArray, argumentCount) => runWithoutResolvedSignatureCaching(node, () => getResolvedSignatureWorker(node, candidatesOutArray, argumentCount, 16 /* IsForSignatureHelp */)), + getExpandedParameters, + hasEffectiveRestParameter, + containsArgumentsReference, + getConstantValue: (nodeIn) => { + const node = getParseTreeNode(nodeIn, canHaveConstantValue); + return node ? getConstantValue2(node) : void 0; + }, + isValidPropertyAccess: (nodeIn, propertyName) => { + const node = getParseTreeNode(nodeIn, isPropertyAccessOrQualifiedNameOrImportTypeNode); + return !!node && isValidPropertyAccess(node, escapeLeadingUnderscores(propertyName)); + }, + isValidPropertyAccessForCompletions: (nodeIn, type, property) => { + const node = getParseTreeNode(nodeIn, isPropertyAccessExpression); + return !!node && isValidPropertyAccessForCompletions(node, type, property); + }, + getSignatureFromDeclaration: (declarationIn) => { + const declaration = getParseTreeNode(declarationIn, isFunctionLike); + return declaration ? getSignatureFromDeclaration(declaration) : void 0; + }, + isImplementationOfOverload: (nodeIn) => { + const node = getParseTreeNode(nodeIn, isFunctionLike); + return node ? isImplementationOfOverload(node) : void 0; + }, + getImmediateAliasedSymbol, + getAliasedSymbol: resolveAlias, + getEmitResolver, + requiresAddingImplicitUndefined, + getExportsOfModule: getExportsOfModuleAsArray, + getExportsAndPropertiesOfModule, + forEachExportAndPropertyOfModule, + getSymbolWalker: createGetSymbolWalker( + getRestTypeOfSignature, + getTypePredicateOfSignature, + getReturnTypeOfSignature, + getBaseTypes, + resolveStructuredTypeMembers, + getTypeOfSymbol, + getResolvedSymbol, + getConstraintOfTypeParameter, + getFirstIdentifier, + getTypeArguments + ), + getAmbientModules, + getJsxIntrinsicTagNamesAt, + isOptionalParameter: (nodeIn) => { + const node = getParseTreeNode(nodeIn, isParameter); + return node ? isOptionalParameter(node) : false; + }, + tryGetMemberInModuleExports: (name, symbol) => tryGetMemberInModuleExports(escapeLeadingUnderscores(name), symbol), + tryGetMemberInModuleExportsAndProperties: (name, symbol) => tryGetMemberInModuleExportsAndProperties(escapeLeadingUnderscores(name), symbol), + tryFindAmbientModule: (moduleName) => tryFindAmbientModule( + moduleName, + /*withAugmentations*/ + true + ), + getApparentType, + getUnionType, + isTypeAssignableTo, + createAnonymousType, + createSignature, + createSymbol, + createIndexInfo, + getAnyType: () => anyType, + getStringType: () => stringType, + getStringLiteralType, + getNumberType: () => numberType, + getNumberLiteralType, + getBigIntType: () => bigintType, + getBigIntLiteralType, + createPromiseType, + createArrayType, + getElementTypeOfArrayType, + getBooleanType: () => booleanType, + getFalseType: (fresh) => fresh ? falseType : regularFalseType, + getTrueType: (fresh) => fresh ? trueType : regularTrueType, + getVoidType: () => voidType, + getUndefinedType: () => undefinedType, + getNullType: () => nullType, + getESSymbolType: () => esSymbolType, + getNeverType: () => neverType, + getOptionalType: () => optionalType, + getPromiseType: () => getGlobalPromiseType( + /*reportErrors*/ + false + ), + getPromiseLikeType: () => getGlobalPromiseLikeType( + /*reportErrors*/ + false + ), + getAnyAsyncIterableType: () => { + const type = getGlobalAsyncIterableType( + /*reportErrors*/ + false + ); + if (type === emptyGenericType) return void 0; + return createTypeReference(type, [anyType, anyType, anyType]); + }, + isSymbolAccessible, + isArrayType, + isTupleType, + isArrayLikeType, + isEmptyAnonymousObjectType, + isTypeInvalidDueToUnionDiscriminant, + getExactOptionalProperties, + getAllPossiblePropertiesOfTypes, + getSuggestedSymbolForNonexistentProperty, + getSuggestedSymbolForNonexistentJSXAttribute, + getSuggestedSymbolForNonexistentSymbol: (location, name, meaning) => getSuggestedSymbolForNonexistentSymbol(location, escapeLeadingUnderscores(name), meaning), + getSuggestedSymbolForNonexistentModule, + getSuggestedSymbolForNonexistentClassMember, + getBaseConstraintOfType, + getDefaultFromTypeParameter: (type) => type && type.flags & 262144 /* TypeParameter */ ? getDefaultFromTypeParameter(type) : void 0, + resolveName(name, location, meaning, excludeGlobals) { + return resolveName( + location, + escapeLeadingUnderscores(name), + meaning, + /*nameNotFoundMessage*/ + void 0, + /*isUse*/ + false, + excludeGlobals + ); + }, + getJsxNamespace: (n) => unescapeLeadingUnderscores(getJsxNamespace(n)), + getJsxFragmentFactory: (n) => { + const jsxFragmentFactory = getJsxFragmentFactoryEntity(n); + return jsxFragmentFactory && unescapeLeadingUnderscores(getFirstIdentifier(jsxFragmentFactory).escapedText); + }, + getAccessibleSymbolChain, + getTypePredicateOfSignature, + resolveExternalModuleName: (moduleSpecifierIn) => { + const moduleSpecifier = getParseTreeNode(moduleSpecifierIn, isExpression); + return moduleSpecifier && resolveExternalModuleName( + moduleSpecifier, + moduleSpecifier, + /*ignoreErrors*/ + true + ); + }, + resolveExternalModuleSymbol, + tryGetThisTypeAt: (nodeIn, includeGlobalThis, container) => { + const node = getParseTreeNode(nodeIn); + return node && tryGetThisTypeAt(node, includeGlobalThis, container); + }, + getTypeArgumentConstraint: (nodeIn) => { + const node = getParseTreeNode(nodeIn, isTypeNode); + return node && getTypeArgumentConstraint(node); + }, + getSuggestionDiagnostics: (fileIn, ct) => { + const file = getParseTreeNode(fileIn, isSourceFile) || Debug.fail("Could not determine parsed source file."); + if (skipTypeChecking(file, compilerOptions, host)) { + return emptyArray; + } + let diagnostics2; + try { + cancellationToken = ct; + checkSourceFileWithEagerDiagnostics(file); + Debug.assert(!!(getNodeLinks(file).flags & 1 /* TypeChecked */)); + diagnostics2 = addRange(diagnostics2, suggestionDiagnostics.getDiagnostics(file.fileName)); + checkUnusedIdentifiers(getPotentiallyUnusedIdentifiers(file), (containingNode, kind, diag2) => { + if (!containsParseError(containingNode) && !unusedIsError(kind, !!(containingNode.flags & 33554432 /* Ambient */))) { + (diagnostics2 || (diagnostics2 = [])).push({ ...diag2, category: 2 /* Suggestion */ }); + } + }); + return diagnostics2 || emptyArray; + } finally { + cancellationToken = void 0; + } + }, + runWithCancellationToken: (token, callback) => { + try { + cancellationToken = token; + return callback(checker); + } finally { + cancellationToken = void 0; + } + }, + getLocalTypeParametersOfClassOrInterfaceOrTypeAlias, + isDeclarationVisible, + isPropertyAccessible, + getTypeOnlyAliasDeclaration, + getMemberOverrideModifierStatus, + isTypeParameterPossiblyReferenced, + typeHasCallOrConstructSignatures, + getSymbolFlags + }; + function getCandidateSignaturesForStringLiteralCompletions(call, editingArgument) { + const candidatesSet = /* @__PURE__ */ new Set(); + const candidates = []; + runWithInferenceBlockedFromSourceNode(editingArgument, () => getResolvedSignatureWorker( + call, + candidates, + /*argumentCount*/ + void 0, + 0 /* Normal */ + )); + for (const candidate of candidates) { + candidatesSet.add(candidate); + } + candidates.length = 0; + runWithoutResolvedSignatureCaching(editingArgument, () => getResolvedSignatureWorker( + call, + candidates, + /*argumentCount*/ + void 0, + 0 /* Normal */ + )); + for (const candidate of candidates) { + candidatesSet.add(candidate); + } + return arrayFrom(candidatesSet); + } + function runWithoutResolvedSignatureCaching(node, fn) { + node = findAncestor(node, isCallLikeOrFunctionLikeExpression); + if (node) { + const cachedResolvedSignatures = []; + const cachedTypes2 = []; + while (node) { + const nodeLinks2 = getNodeLinks(node); + cachedResolvedSignatures.push([nodeLinks2, nodeLinks2.resolvedSignature]); + nodeLinks2.resolvedSignature = void 0; + if (isFunctionExpressionOrArrowFunction(node)) { + const symbolLinks2 = getSymbolLinks(getSymbolOfDeclaration(node)); + const type = symbolLinks2.type; + cachedTypes2.push([symbolLinks2, type]); + symbolLinks2.type = void 0; + } + node = findAncestor(node.parent, isCallLikeOrFunctionLikeExpression); + } + const result = fn(); + for (const [nodeLinks2, resolvedSignature] of cachedResolvedSignatures) { + nodeLinks2.resolvedSignature = resolvedSignature; + } + for (const [symbolLinks2, type] of cachedTypes2) { + symbolLinks2.type = type; + } + return result; + } + return fn(); + } + function runWithInferenceBlockedFromSourceNode(node, fn) { + const containingCall = findAncestor(node, isCallLikeExpression); + if (containingCall) { + let toMarkSkip = node; + do { + getNodeLinks(toMarkSkip).skipDirectInference = true; + toMarkSkip = toMarkSkip.parent; + } while (toMarkSkip && toMarkSkip !== containingCall); + } + isInferencePartiallyBlocked = true; + const result = runWithoutResolvedSignatureCaching(node, fn); + isInferencePartiallyBlocked = false; + if (containingCall) { + let toMarkSkip = node; + do { + getNodeLinks(toMarkSkip).skipDirectInference = void 0; + toMarkSkip = toMarkSkip.parent; + } while (toMarkSkip && toMarkSkip !== containingCall); + } + return result; + } + function getResolvedSignatureWorker(nodeIn, candidatesOutArray, argumentCount, checkMode) { + const node = getParseTreeNode(nodeIn, isCallLikeExpression); + apparentArgumentCount = argumentCount; + const res = !node ? void 0 : getResolvedSignature(node, candidatesOutArray, checkMode); + apparentArgumentCount = void 0; + return res; + } + var tupleTypes = /* @__PURE__ */ new Map(); + var unionTypes = /* @__PURE__ */ new Map(); + var unionOfUnionTypes = /* @__PURE__ */ new Map(); + var intersectionTypes = /* @__PURE__ */ new Map(); + var stringLiteralTypes = /* @__PURE__ */ new Map(); + var numberLiteralTypes = /* @__PURE__ */ new Map(); + var bigIntLiteralTypes = /* @__PURE__ */ new Map(); + var enumLiteralTypes = /* @__PURE__ */ new Map(); + var indexedAccessTypes = /* @__PURE__ */ new Map(); + var templateLiteralTypes = /* @__PURE__ */ new Map(); + var stringMappingTypes = /* @__PURE__ */ new Map(); + var substitutionTypes = /* @__PURE__ */ new Map(); + var subtypeReductionCache = /* @__PURE__ */ new Map(); + var decoratorContextOverrideTypeCache = /* @__PURE__ */ new Map(); + var cachedTypes = /* @__PURE__ */ new Map(); + var evolvingArrayTypes = []; + var undefinedProperties = /* @__PURE__ */ new Map(); + var markerTypes = /* @__PURE__ */ new Set(); + var unknownSymbol = createSymbol(4 /* Property */, "unknown"); + var resolvingSymbol = createSymbol(0, "__resolving__" /* Resolving */); + var unresolvedSymbols = /* @__PURE__ */ new Map(); + var errorTypes = /* @__PURE__ */ new Map(); + var seenIntrinsicNames = /* @__PURE__ */ new Set(); + var anyType = createIntrinsicType(1 /* Any */, "any"); + var autoType = createIntrinsicType(1 /* Any */, "any", 262144 /* NonInferrableType */, "auto"); + var wildcardType = createIntrinsicType( + 1 /* Any */, + "any", + /*objectFlags*/ + void 0, + "wildcard" + ); + var blockedStringType = createIntrinsicType( + 1 /* Any */, + "any", + /*objectFlags*/ + void 0, + "blocked string" + ); + var errorType = createIntrinsicType(1 /* Any */, "error"); + var unresolvedType = createIntrinsicType(1 /* Any */, "unresolved"); + var nonInferrableAnyType = createIntrinsicType(1 /* Any */, "any", 65536 /* ContainsWideningType */, "non-inferrable"); + var intrinsicMarkerType = createIntrinsicType(1 /* Any */, "intrinsic"); + var unknownType = createIntrinsicType(2 /* Unknown */, "unknown"); + var undefinedType = createIntrinsicType(32768 /* Undefined */, "undefined"); + var undefinedWideningType = strictNullChecks ? undefinedType : createIntrinsicType(32768 /* Undefined */, "undefined", 65536 /* ContainsWideningType */, "widening"); + var missingType = createIntrinsicType( + 32768 /* Undefined */, + "undefined", + /*objectFlags*/ + void 0, + "missing" + ); + var undefinedOrMissingType = exactOptionalPropertyTypes ? missingType : undefinedType; + var optionalType = createIntrinsicType( + 32768 /* Undefined */, + "undefined", + /*objectFlags*/ + void 0, + "optional" + ); + var nullType = createIntrinsicType(65536 /* Null */, "null"); + var nullWideningType = strictNullChecks ? nullType : createIntrinsicType(65536 /* Null */, "null", 65536 /* ContainsWideningType */, "widening"); + var stringType = createIntrinsicType(4 /* String */, "string"); + var numberType = createIntrinsicType(8 /* Number */, "number"); + var bigintType = createIntrinsicType(64 /* BigInt */, "bigint"); + var falseType = createIntrinsicType( + 512 /* BooleanLiteral */, + "false", + /*objectFlags*/ + void 0, + "fresh" + ); + var regularFalseType = createIntrinsicType(512 /* BooleanLiteral */, "false"); + var trueType = createIntrinsicType( + 512 /* BooleanLiteral */, + "true", + /*objectFlags*/ + void 0, + "fresh" + ); + var regularTrueType = createIntrinsicType(512 /* BooleanLiteral */, "true"); + trueType.regularType = regularTrueType; + trueType.freshType = trueType; + regularTrueType.regularType = regularTrueType; + regularTrueType.freshType = trueType; + falseType.regularType = regularFalseType; + falseType.freshType = falseType; + regularFalseType.regularType = regularFalseType; + regularFalseType.freshType = falseType; + var booleanType = getUnionType([regularFalseType, regularTrueType]); + var esSymbolType = createIntrinsicType(4096 /* ESSymbol */, "symbol"); + var voidType = createIntrinsicType(16384 /* Void */, "void"); + var neverType = createIntrinsicType(131072 /* Never */, "never"); + var silentNeverType = createIntrinsicType(131072 /* Never */, "never", 262144 /* NonInferrableType */, "silent"); + var implicitNeverType = createIntrinsicType( + 131072 /* Never */, + "never", + /*objectFlags*/ + void 0, + "implicit" + ); + var unreachableNeverType = createIntrinsicType( + 131072 /* Never */, + "never", + /*objectFlags*/ + void 0, + "unreachable" + ); + var nonPrimitiveType = createIntrinsicType(67108864 /* NonPrimitive */, "object"); + var stringOrNumberType = getUnionType([stringType, numberType]); + var stringNumberSymbolType = getUnionType([stringType, numberType, esSymbolType]); + var numberOrBigIntType = getUnionType([numberType, bigintType]); + var templateConstraintType = getUnionType([stringType, numberType, booleanType, bigintType, nullType, undefinedType]); + var numericStringType = getTemplateLiteralType(["", ""], [numberType]); + var restrictiveMapper = makeFunctionTypeMapper((t) => t.flags & 262144 /* TypeParameter */ ? getRestrictiveTypeParameter(t) : t, () => "(restrictive mapper)"); + var permissiveMapper = makeFunctionTypeMapper((t) => t.flags & 262144 /* TypeParameter */ ? wildcardType : t, () => "(permissive mapper)"); + var uniqueLiteralType = createIntrinsicType( + 131072 /* Never */, + "never", + /*objectFlags*/ + void 0, + "unique literal" + ); + var uniqueLiteralMapper = makeFunctionTypeMapper((t) => t.flags & 262144 /* TypeParameter */ ? uniqueLiteralType : t, () => "(unique literal mapper)"); + var outofbandVarianceMarkerHandler; + var reportUnreliableMapper = makeFunctionTypeMapper((t) => { + if (outofbandVarianceMarkerHandler && (t === markerSuperType || t === markerSubType || t === markerOtherType)) { + outofbandVarianceMarkerHandler( + /*onlyUnreliable*/ + true + ); + } + return t; + }, () => "(unmeasurable reporter)"); + var reportUnmeasurableMapper = makeFunctionTypeMapper((t) => { + if (outofbandVarianceMarkerHandler && (t === markerSuperType || t === markerSubType || t === markerOtherType)) { + outofbandVarianceMarkerHandler( + /*onlyUnreliable*/ + false + ); + } + return t; + }, () => "(unreliable reporter)"); + var emptyObjectType = createAnonymousType( + /*symbol*/ + void 0, + emptySymbols, + emptyArray, + emptyArray, + emptyArray + ); + var emptyJsxObjectType = createAnonymousType( + /*symbol*/ + void 0, + emptySymbols, + emptyArray, + emptyArray, + emptyArray + ); + emptyJsxObjectType.objectFlags |= 2048 /* JsxAttributes */; + var emptyFreshJsxObjectType = createAnonymousType( + /*symbol*/ + void 0, + emptySymbols, + emptyArray, + emptyArray, + emptyArray + ); + emptyFreshJsxObjectType.objectFlags |= 2048 /* JsxAttributes */ | 8192 /* FreshLiteral */ | 128 /* ObjectLiteral */ | 131072 /* ContainsObjectOrArrayLiteral */; + var emptyTypeLiteralSymbol = createSymbol(2048 /* TypeLiteral */, "__type" /* Type */); + emptyTypeLiteralSymbol.members = createSymbolTable(); + var emptyTypeLiteralType = createAnonymousType(emptyTypeLiteralSymbol, emptySymbols, emptyArray, emptyArray, emptyArray); + var unknownEmptyObjectType = createAnonymousType( + /*symbol*/ + void 0, + emptySymbols, + emptyArray, + emptyArray, + emptyArray + ); + var unknownUnionType = strictNullChecks ? getUnionType([undefinedType, nullType, unknownEmptyObjectType]) : unknownType; + var emptyGenericType = createAnonymousType( + /*symbol*/ + void 0, + emptySymbols, + emptyArray, + emptyArray, + emptyArray + ); + emptyGenericType.instantiations = /* @__PURE__ */ new Map(); + var anyFunctionType = createAnonymousType( + /*symbol*/ + void 0, + emptySymbols, + emptyArray, + emptyArray, + emptyArray + ); + anyFunctionType.objectFlags |= 262144 /* NonInferrableType */; + var noConstraintType = createAnonymousType( + /*symbol*/ + void 0, + emptySymbols, + emptyArray, + emptyArray, + emptyArray + ); + var circularConstraintType = createAnonymousType( + /*symbol*/ + void 0, + emptySymbols, + emptyArray, + emptyArray, + emptyArray + ); + var resolvingDefaultType = createAnonymousType( + /*symbol*/ + void 0, + emptySymbols, + emptyArray, + emptyArray, + emptyArray + ); + var markerSuperType = createTypeParameter(); + var markerSubType = createTypeParameter(); + markerSubType.constraint = markerSuperType; + var markerOtherType = createTypeParameter(); + var markerSuperTypeForCheck = createTypeParameter(); + var markerSubTypeForCheck = createTypeParameter(); + markerSubTypeForCheck.constraint = markerSuperTypeForCheck; + var noTypePredicate = createTypePredicate(1 /* Identifier */, "<>", 0, anyType); + var anySignature = createSignature( + /*declaration*/ + void 0, + /*typeParameters*/ + void 0, + /*thisParameter*/ + void 0, + emptyArray, + anyType, + /*resolvedTypePredicate*/ + void 0, + 0, + 0 /* None */ + ); + var unknownSignature = createSignature( + /*declaration*/ + void 0, + /*typeParameters*/ + void 0, + /*thisParameter*/ + void 0, + emptyArray, + errorType, + /*resolvedTypePredicate*/ + void 0, + 0, + 0 /* None */ + ); + var resolvingSignature = createSignature( + /*declaration*/ + void 0, + /*typeParameters*/ + void 0, + /*thisParameter*/ + void 0, + emptyArray, + anyType, + /*resolvedTypePredicate*/ + void 0, + 0, + 0 /* None */ + ); + var silentNeverSignature = createSignature( + /*declaration*/ + void 0, + /*typeParameters*/ + void 0, + /*thisParameter*/ + void 0, + emptyArray, + silentNeverType, + /*resolvedTypePredicate*/ + void 0, + 0, + 0 /* None */ + ); + var enumNumberIndexInfo = createIndexInfo( + numberType, + stringType, + /*isReadonly*/ + true + ); + var iterationTypesCache = /* @__PURE__ */ new Map(); + var noIterationTypes = { + get yieldType() { + return Debug.fail("Not supported"); + }, + get returnType() { + return Debug.fail("Not supported"); + }, + get nextType() { + return Debug.fail("Not supported"); + } + }; + var anyIterationTypes = createIterationTypes(anyType, anyType, anyType); + var asyncIterationTypesResolver = { + iterableCacheKey: "iterationTypesOfAsyncIterable", + iteratorCacheKey: "iterationTypesOfAsyncIterator", + iteratorSymbolName: "asyncIterator", + getGlobalIteratorType: getGlobalAsyncIteratorType, + getGlobalIterableType: getGlobalAsyncIterableType, + getGlobalIterableIteratorType: getGlobalAsyncIterableIteratorType, + getGlobalIteratorObjectType: getGlobalAsyncIteratorObjectType, + getGlobalGeneratorType: getGlobalAsyncGeneratorType, + getGlobalBuiltinIteratorTypes: getGlobalBuiltinAsyncIteratorTypes, + resolveIterationType: (type, errorNode) => getAwaitedType(type, errorNode, Diagnostics.Type_of_await_operand_must_either_be_a_valid_promise_or_must_not_contain_a_callable_then_member), + mustHaveANextMethodDiagnostic: Diagnostics.An_async_iterator_must_have_a_next_method, + mustBeAMethodDiagnostic: Diagnostics.The_0_property_of_an_async_iterator_must_be_a_method, + mustHaveAValueDiagnostic: Diagnostics.The_type_returned_by_the_0_method_of_an_async_iterator_must_be_a_promise_for_a_type_with_a_value_property + }; + var syncIterationTypesResolver = { + iterableCacheKey: "iterationTypesOfIterable", + iteratorCacheKey: "iterationTypesOfIterator", + iteratorSymbolName: "iterator", + getGlobalIteratorType, + getGlobalIterableType, + getGlobalIterableIteratorType, + getGlobalIteratorObjectType, + getGlobalGeneratorType, + getGlobalBuiltinIteratorTypes, + resolveIterationType: (type, _errorNode) => type, + mustHaveANextMethodDiagnostic: Diagnostics.An_iterator_must_have_a_next_method, + mustBeAMethodDiagnostic: Diagnostics.The_0_property_of_an_iterator_must_be_a_method, + mustHaveAValueDiagnostic: Diagnostics.The_type_returned_by_the_0_method_of_an_iterator_must_have_a_value_property + }; + var amalgamatedDuplicates; + var reverseMappedCache = /* @__PURE__ */ new Map(); + var reverseHomomorphicMappedCache = /* @__PURE__ */ new Map(); + var ambientModulesCache; + var patternAmbientModules; + var patternAmbientModuleAugmentations; + var globalObjectType; + var globalFunctionType; + var globalCallableFunctionType; + var globalNewableFunctionType; + var globalArrayType; + var globalReadonlyArrayType; + var globalStringType; + var globalNumberType; + var globalBooleanType; + var globalRegExpType; + var globalThisType; + var anyArrayType; + var autoArrayType; + var anyReadonlyArrayType; + var deferredGlobalNonNullableTypeAlias; + var deferredGlobalESSymbolConstructorSymbol; + var deferredGlobalESSymbolConstructorTypeSymbol; + var deferredGlobalESSymbolType; + var deferredGlobalTypedPropertyDescriptorType; + var deferredGlobalPromiseType; + var deferredGlobalPromiseLikeType; + var deferredGlobalPromiseConstructorSymbol; + var deferredGlobalPromiseConstructorLikeType; + var deferredGlobalIterableType; + var deferredGlobalIteratorType; + var deferredGlobalIterableIteratorType; + var deferredGlobalIteratorObjectType; + var deferredGlobalGeneratorType; + var deferredGlobalIteratorYieldResultType; + var deferredGlobalIteratorReturnResultType; + var deferredGlobalAsyncIterableType; + var deferredGlobalAsyncIteratorType; + var deferredGlobalAsyncIterableIteratorType; + var deferredGlobalBuiltinIteratorTypes; + var deferredGlobalBuiltinAsyncIteratorTypes; + var deferredGlobalAsyncIteratorObjectType; + var deferredGlobalAsyncGeneratorType; + var deferredGlobalTemplateStringsArrayType; + var deferredGlobalImportMetaType; + var deferredGlobalImportMetaExpressionType; + var deferredGlobalImportCallOptionsType; + var deferredGlobalImportAttributesType; + var deferredGlobalDisposableType; + var deferredGlobalAsyncDisposableType; + var deferredGlobalExtractSymbol; + var deferredGlobalOmitSymbol; + var deferredGlobalAwaitedSymbol; + var deferredGlobalBigIntType; + var deferredGlobalNaNSymbol; + var deferredGlobalRecordSymbol; + var deferredGlobalClassDecoratorContextType; + var deferredGlobalClassMethodDecoratorContextType; + var deferredGlobalClassGetterDecoratorContextType; + var deferredGlobalClassSetterDecoratorContextType; + var deferredGlobalClassAccessorDecoratorContextType; + var deferredGlobalClassAccessorDecoratorTargetType; + var deferredGlobalClassAccessorDecoratorResultType; + var deferredGlobalClassFieldDecoratorContextType; + var allPotentiallyUnusedIdentifiers = /* @__PURE__ */ new Map(); + var flowLoopStart = 0; + var flowLoopCount = 0; + var sharedFlowCount = 0; + var flowAnalysisDisabled = false; + var flowInvocationCount = 0; + var lastFlowNode; + var lastFlowNodeReachable; + var flowTypeCache; + var contextualTypeNodes = []; + var contextualTypes = []; + var contextualIsCache = []; + var contextualTypeCount = 0; + var contextualBindingPatterns = []; + var inferenceContextNodes = []; + var inferenceContexts = []; + var inferenceContextCount = 0; + var emptyStringType = getStringLiteralType(""); + var zeroType = getNumberLiteralType(0); + var zeroBigIntType = getBigIntLiteralType({ negative: false, base10Value: "0" }); + var resolutionTargets = []; + var resolutionResults = []; + var resolutionPropertyNames = []; + var resolutionStart = 0; + var inVarianceComputation = false; + var suggestionCount = 0; + var maximumSuggestionCount = 10; + var mergedSymbols = []; + var symbolLinks = []; + var nodeLinks = []; + var flowLoopCaches = []; + var flowLoopNodes = []; + var flowLoopKeys = []; + var flowLoopTypes = []; + var sharedFlowNodes = []; + var sharedFlowTypes = []; + var flowNodeReachable = []; + var flowNodePostSuper = []; + var potentialThisCollisions = []; + var potentialNewTargetCollisions = []; + var potentialWeakMapSetCollisions = []; + var potentialReflectCollisions = []; + var potentialUnusedRenamedBindingElementsInTypes = []; + var awaitedTypeStack = []; + var reverseMappedSourceStack = []; + var reverseMappedTargetStack = []; + var reverseExpandingFlags = 0 /* None */; + var diagnostics = createDiagnosticCollection(); + var suggestionDiagnostics = createDiagnosticCollection(); + var typeofType = createTypeofType(); + var _jsxNamespace; + var _jsxFactoryEntity; + var subtypeRelation = /* @__PURE__ */ new Map(); + var strictSubtypeRelation = /* @__PURE__ */ new Map(); + var assignableRelation = /* @__PURE__ */ new Map(); + var comparableRelation = /* @__PURE__ */ new Map(); + var identityRelation = /* @__PURE__ */ new Map(); + var enumRelation = /* @__PURE__ */ new Map(); + var suggestedExtensions = [ + [".mts", ".mjs"], + [".ts", ".js"], + [".cts", ".cjs"], + [".mjs", ".mjs"], + [".js", ".js"], + [".cjs", ".cjs"], + [".tsx", compilerOptions.jsx === 1 /* Preserve */ ? ".jsx" : ".js"], + [".jsx", ".jsx"], + [".json", ".json"] + ]; + initializeTypeChecker(); + return checker; + function isDefinitelyReferenceToGlobalSymbolObject(node) { + if (!isPropertyAccessExpression(node)) return false; + if (!isIdentifier(node.name)) return false; + if (!isPropertyAccessExpression(node.expression) && !isIdentifier(node.expression)) return false; + if (isIdentifier(node.expression)) { + return idText(node.expression) === "Symbol" && getResolvedSymbol(node.expression) === (getGlobalSymbol( + "Symbol", + 111551 /* Value */ | 1048576 /* ExportValue */, + /*diagnostic*/ + void 0 + ) || unknownSymbol); + } + if (!isIdentifier(node.expression.expression)) return false; + return idText(node.expression.name) === "Symbol" && idText(node.expression.expression) === "globalThis" && getResolvedSymbol(node.expression.expression) === globalThisSymbol; + } + function getCachedType(key) { + return key ? cachedTypes.get(key) : void 0; + } + function setCachedType(key, type) { + if (key) cachedTypes.set(key, type); + return type; + } + function getJsxNamespace(location) { + if (location) { + const file = getSourceFileOfNode(location); + if (file) { + if (isJsxOpeningFragment(location)) { + if (file.localJsxFragmentNamespace) { + return file.localJsxFragmentNamespace; + } + const jsxFragmentPragma = file.pragmas.get("jsxfrag"); + if (jsxFragmentPragma) { + const chosenPragma = isArray(jsxFragmentPragma) ? jsxFragmentPragma[0] : jsxFragmentPragma; + file.localJsxFragmentFactory = parseIsolatedEntityName(chosenPragma.arguments.factory, languageVersion); + visitNode(file.localJsxFragmentFactory, markAsSynthetic, isEntityName); + if (file.localJsxFragmentFactory) { + return file.localJsxFragmentNamespace = getFirstIdentifier(file.localJsxFragmentFactory).escapedText; + } + } + const entity = getJsxFragmentFactoryEntity(location); + if (entity) { + file.localJsxFragmentFactory = entity; + return file.localJsxFragmentNamespace = getFirstIdentifier(entity).escapedText; + } + } else { + const localJsxNamespace = getLocalJsxNamespace(file); + if (localJsxNamespace) { + return file.localJsxNamespace = localJsxNamespace; + } + } + } + } + if (!_jsxNamespace) { + _jsxNamespace = "React"; + if (compilerOptions.jsxFactory) { + _jsxFactoryEntity = parseIsolatedEntityName(compilerOptions.jsxFactory, languageVersion); + visitNode(_jsxFactoryEntity, markAsSynthetic); + if (_jsxFactoryEntity) { + _jsxNamespace = getFirstIdentifier(_jsxFactoryEntity).escapedText; + } + } else if (compilerOptions.reactNamespace) { + _jsxNamespace = escapeLeadingUnderscores(compilerOptions.reactNamespace); + } + } + if (!_jsxFactoryEntity) { + _jsxFactoryEntity = factory.createQualifiedName(factory.createIdentifier(unescapeLeadingUnderscores(_jsxNamespace)), "createElement"); + } + return _jsxNamespace; + } + function getLocalJsxNamespace(file) { + if (file.localJsxNamespace) { + return file.localJsxNamespace; + } + const jsxPragma = file.pragmas.get("jsx"); + if (jsxPragma) { + const chosenPragma = isArray(jsxPragma) ? jsxPragma[0] : jsxPragma; + file.localJsxFactory = parseIsolatedEntityName(chosenPragma.arguments.factory, languageVersion); + visitNode(file.localJsxFactory, markAsSynthetic, isEntityName); + if (file.localJsxFactory) { + return file.localJsxNamespace = getFirstIdentifier(file.localJsxFactory).escapedText; + } + } + } + function markAsSynthetic(node) { + setTextRangePosEnd(node, -1, -1); + return visitEachChild( + node, + markAsSynthetic, + /*context*/ + void 0 + ); + } + function getEmitResolver(sourceFile, cancellationToken2, skipDiagnostics) { + if (!skipDiagnostics) getDiagnostics(sourceFile, cancellationToken2); + return emitResolver; + } + function lookupOrIssueError(location, message, ...args) { + const diagnostic = location ? createDiagnosticForNode(location, message, ...args) : createCompilerDiagnostic(message, ...args); + const existing = diagnostics.lookup(diagnostic); + if (existing) { + return existing; + } else { + diagnostics.add(diagnostic); + return diagnostic; + } + } + function errorSkippedOn(key, location, message, ...args) { + const diagnostic = error(location, message, ...args); + diagnostic.skippedOn = key; + return diagnostic; + } + function createError(location, message, ...args) { + return location ? createDiagnosticForNode(location, message, ...args) : createCompilerDiagnostic(message, ...args); + } + function error(location, message, ...args) { + const diagnostic = createError(location, message, ...args); + diagnostics.add(diagnostic); + return diagnostic; + } + function addErrorOrSuggestion(isError, diagnostic) { + if (isError) { + diagnostics.add(diagnostic); + } else { + suggestionDiagnostics.add({ ...diagnostic, category: 2 /* Suggestion */ }); + } + } + function errorOrSuggestion(isError, location, message, ...args) { + if (location.pos < 0 || location.end < 0) { + if (!isError) { + return; + } + const file = getSourceFileOfNode(location); + addErrorOrSuggestion(isError, "message" in message ? createFileDiagnostic(file, 0, 0, message, ...args) : createDiagnosticForFileFromMessageChain(file, message)); + return; + } + addErrorOrSuggestion(isError, "message" in message ? createDiagnosticForNode(location, message, ...args) : createDiagnosticForNodeFromMessageChain(getSourceFileOfNode(location), location, message)); + } + function errorAndMaybeSuggestAwait(location, maybeMissingAwait, message, ...args) { + const diagnostic = error(location, message, ...args); + if (maybeMissingAwait) { + const related = createDiagnosticForNode(location, Diagnostics.Did_you_forget_to_use_await); + addRelatedInfo(diagnostic, related); + } + return diagnostic; + } + function addDeprecatedSuggestionWorker(declarations, diagnostic) { + const deprecatedTag = Array.isArray(declarations) ? forEach(declarations, getJSDocDeprecatedTag) : getJSDocDeprecatedTag(declarations); + if (deprecatedTag) { + addRelatedInfo( + diagnostic, + createDiagnosticForNode(deprecatedTag, Diagnostics.The_declaration_was_marked_as_deprecated_here) + ); + } + suggestionDiagnostics.add(diagnostic); + return diagnostic; + } + function isDeprecatedSymbol(symbol) { + const parentSymbol = getParentOfSymbol(symbol); + if (parentSymbol && length(symbol.declarations) > 1) { + return parentSymbol.flags & 64 /* Interface */ ? some(symbol.declarations, isDeprecatedDeclaration) : every(symbol.declarations, isDeprecatedDeclaration); + } + return !!symbol.valueDeclaration && isDeprecatedDeclaration(symbol.valueDeclaration) || length(symbol.declarations) && every(symbol.declarations, isDeprecatedDeclaration); + } + function isDeprecatedDeclaration(declaration) { + return !!(getCombinedNodeFlagsCached(declaration) & 536870912 /* Deprecated */); + } + function addDeprecatedSuggestion(location, declarations, deprecatedEntity) { + const diagnostic = createDiagnosticForNode(location, Diagnostics._0_is_deprecated, deprecatedEntity); + return addDeprecatedSuggestionWorker(declarations, diagnostic); + } + function addDeprecatedSuggestionWithSignature(location, declaration, deprecatedEntity, signatureString) { + const diagnostic = deprecatedEntity ? createDiagnosticForNode(location, Diagnostics.The_signature_0_of_1_is_deprecated, signatureString, deprecatedEntity) : createDiagnosticForNode(location, Diagnostics._0_is_deprecated, signatureString); + return addDeprecatedSuggestionWorker(declaration, diagnostic); + } + function createSymbol(flags, name, checkFlags) { + symbolCount++; + const symbol = new Symbol13(flags | 33554432 /* Transient */, name); + symbol.links = new SymbolLinks(); + symbol.links.checkFlags = checkFlags || 0 /* None */; + return symbol; + } + function createParameter(name, type) { + const symbol = createSymbol(1 /* FunctionScopedVariable */, name); + symbol.links.type = type; + return symbol; + } + function createProperty(name, type) { + const symbol = createSymbol(4 /* Property */, name); + symbol.links.type = type; + return symbol; + } + function getExcludedSymbolFlags(flags) { + let result = 0; + if (flags & 2 /* BlockScopedVariable */) result |= 111551 /* BlockScopedVariableExcludes */; + if (flags & 1 /* FunctionScopedVariable */) result |= 111550 /* FunctionScopedVariableExcludes */; + if (flags & 4 /* Property */) result |= 0 /* PropertyExcludes */; + if (flags & 8 /* EnumMember */) result |= 900095 /* EnumMemberExcludes */; + if (flags & 16 /* Function */) result |= 110991 /* FunctionExcludes */; + if (flags & 32 /* Class */) result |= 899503 /* ClassExcludes */; + if (flags & 64 /* Interface */) result |= 788872 /* InterfaceExcludes */; + if (flags & 256 /* RegularEnum */) result |= 899327 /* RegularEnumExcludes */; + if (flags & 128 /* ConstEnum */) result |= 899967 /* ConstEnumExcludes */; + if (flags & 512 /* ValueModule */) result |= 110735 /* ValueModuleExcludes */; + if (flags & 8192 /* Method */) result |= 103359 /* MethodExcludes */; + if (flags & 32768 /* GetAccessor */) result |= 46015 /* GetAccessorExcludes */; + if (flags & 65536 /* SetAccessor */) result |= 78783 /* SetAccessorExcludes */; + if (flags & 262144 /* TypeParameter */) result |= 526824 /* TypeParameterExcludes */; + if (flags & 524288 /* TypeAlias */) result |= 788968 /* TypeAliasExcludes */; + if (flags & 2097152 /* Alias */) result |= 2097152 /* AliasExcludes */; + return result; + } + function recordMergedSymbol(target, source) { + if (!source.mergeId) { + source.mergeId = nextMergeId; + nextMergeId++; + } + mergedSymbols[source.mergeId] = target; + } + function cloneSymbol(symbol) { + const result = createSymbol(symbol.flags, symbol.escapedName); + result.declarations = symbol.declarations ? symbol.declarations.slice() : []; + result.parent = symbol.parent; + if (symbol.valueDeclaration) result.valueDeclaration = symbol.valueDeclaration; + if (symbol.constEnumOnlyModule) result.constEnumOnlyModule = true; + if (symbol.members) result.members = new Map(symbol.members); + if (symbol.exports) result.exports = new Map(symbol.exports); + recordMergedSymbol(result, symbol); + return result; + } + function mergeSymbol(target, source, unidirectional = false) { + if (!(target.flags & getExcludedSymbolFlags(source.flags)) || (source.flags | target.flags) & 67108864 /* Assignment */) { + if (source === target) { + return target; + } + if (!(target.flags & 33554432 /* Transient */)) { + const resolvedTarget = resolveSymbol(target); + if (resolvedTarget === unknownSymbol) { + return source; + } + if (!(resolvedTarget.flags & getExcludedSymbolFlags(source.flags)) || (source.flags | resolvedTarget.flags) & 67108864 /* Assignment */) { + target = cloneSymbol(resolvedTarget); + } else { + reportMergeSymbolError(target, source); + return source; + } + } + if (source.flags & 512 /* ValueModule */ && target.flags & 512 /* ValueModule */ && target.constEnumOnlyModule && !source.constEnumOnlyModule) { + target.constEnumOnlyModule = false; + } + target.flags |= source.flags; + if (source.valueDeclaration) { + setValueDeclaration(target, source.valueDeclaration); + } + addRange(target.declarations, source.declarations); + if (source.members) { + if (!target.members) target.members = createSymbolTable(); + mergeSymbolTable(target.members, source.members, unidirectional); + } + if (source.exports) { + if (!target.exports) target.exports = createSymbolTable(); + mergeSymbolTable(target.exports, source.exports, unidirectional, target); + } + if (!unidirectional) { + recordMergedSymbol(target, source); + } + } else if (target.flags & 1024 /* NamespaceModule */) { + if (target !== globalThisSymbol) { + error( + source.declarations && getNameOfDeclaration(source.declarations[0]), + Diagnostics.Cannot_augment_module_0_with_value_exports_because_it_resolves_to_a_non_module_entity, + symbolToString(target) + ); + } + } else { + reportMergeSymbolError(target, source); + } + return target; + function reportMergeSymbolError(target2, source2) { + const isEitherEnum = !!(target2.flags & 384 /* Enum */ || source2.flags & 384 /* Enum */); + const isEitherBlockScoped = !!(target2.flags & 2 /* BlockScopedVariable */ || source2.flags & 2 /* BlockScopedVariable */); + const message = isEitherEnum ? Diagnostics.Enum_declarations_can_only_merge_with_namespace_or_other_enum_declarations : isEitherBlockScoped ? Diagnostics.Cannot_redeclare_block_scoped_variable_0 : Diagnostics.Duplicate_identifier_0; + const sourceSymbolFile = source2.declarations && getSourceFileOfNode(source2.declarations[0]); + const targetSymbolFile = target2.declarations && getSourceFileOfNode(target2.declarations[0]); + const isSourcePlainJs = isPlainJsFile(sourceSymbolFile, compilerOptions.checkJs); + const isTargetPlainJs = isPlainJsFile(targetSymbolFile, compilerOptions.checkJs); + const symbolName2 = symbolToString(source2); + if (sourceSymbolFile && targetSymbolFile && amalgamatedDuplicates && !isEitherEnum && sourceSymbolFile !== targetSymbolFile) { + const firstFile = comparePaths(sourceSymbolFile.path, targetSymbolFile.path) === -1 /* LessThan */ ? sourceSymbolFile : targetSymbolFile; + const secondFile = firstFile === sourceSymbolFile ? targetSymbolFile : sourceSymbolFile; + const filesDuplicates = getOrUpdate(amalgamatedDuplicates, `${firstFile.path}|${secondFile.path}`, () => ({ firstFile, secondFile, conflictingSymbols: /* @__PURE__ */ new Map() })); + const conflictingSymbolInfo = getOrUpdate(filesDuplicates.conflictingSymbols, symbolName2, () => ({ isBlockScoped: isEitherBlockScoped, firstFileLocations: [], secondFileLocations: [] })); + if (!isSourcePlainJs) addDuplicateLocations(conflictingSymbolInfo.firstFileLocations, source2); + if (!isTargetPlainJs) addDuplicateLocations(conflictingSymbolInfo.secondFileLocations, target2); + } else { + if (!isSourcePlainJs) addDuplicateDeclarationErrorsForSymbols(source2, message, symbolName2, target2); + if (!isTargetPlainJs) addDuplicateDeclarationErrorsForSymbols(target2, message, symbolName2, source2); + } + } + function addDuplicateLocations(locs, symbol) { + if (symbol.declarations) { + for (const decl of symbol.declarations) { + pushIfUnique(locs, decl); + } + } + } + } + function addDuplicateDeclarationErrorsForSymbols(target, message, symbolName2, source) { + forEach(target.declarations, (node) => { + addDuplicateDeclarationError(node, message, symbolName2, source.declarations); + }); + } + function addDuplicateDeclarationError(node, message, symbolName2, relatedNodes) { + const errorNode = (getExpandoInitializer( + node, + /*isPrototypeAssignment*/ + false + ) ? getNameOfExpando(node) : getNameOfDeclaration(node)) || node; + const err = lookupOrIssueError(errorNode, message, symbolName2); + for (const relatedNode of relatedNodes || emptyArray) { + const adjustedNode = (getExpandoInitializer( + relatedNode, + /*isPrototypeAssignment*/ + false + ) ? getNameOfExpando(relatedNode) : getNameOfDeclaration(relatedNode)) || relatedNode; + if (adjustedNode === errorNode) continue; + err.relatedInformation = err.relatedInformation || []; + const leadingMessage = createDiagnosticForNode(adjustedNode, Diagnostics._0_was_also_declared_here, symbolName2); + const followOnMessage = createDiagnosticForNode(adjustedNode, Diagnostics.and_here); + if (length(err.relatedInformation) >= 5 || some(err.relatedInformation, (r) => compareDiagnostics(r, followOnMessage) === 0 /* EqualTo */ || compareDiagnostics(r, leadingMessage) === 0 /* EqualTo */)) continue; + addRelatedInfo(err, !length(err.relatedInformation) ? leadingMessage : followOnMessage); + } + } + function combineSymbolTables(first2, second) { + if (!(first2 == null ? void 0 : first2.size)) return second; + if (!(second == null ? void 0 : second.size)) return first2; + const combined = createSymbolTable(); + mergeSymbolTable(combined, first2); + mergeSymbolTable(combined, second); + return combined; + } + function mergeSymbolTable(target, source, unidirectional = false, mergedParent) { + source.forEach((sourceSymbol, id) => { + const targetSymbol = target.get(id); + const merged = targetSymbol ? mergeSymbol(targetSymbol, sourceSymbol, unidirectional) : getMergedSymbol(sourceSymbol); + if (mergedParent && targetSymbol) { + merged.parent = mergedParent; + } + target.set(id, merged); + }); + } + function mergeModuleAugmentation(moduleName) { + var _a, _b, _c; + const moduleAugmentation = moduleName.parent; + if (((_a = moduleAugmentation.symbol.declarations) == null ? void 0 : _a[0]) !== moduleAugmentation) { + Debug.assert(moduleAugmentation.symbol.declarations.length > 1); + return; + } + if (isGlobalScopeAugmentation(moduleAugmentation)) { + mergeSymbolTable(globals, moduleAugmentation.symbol.exports); + } else { + const moduleNotFoundError = !(moduleName.parent.parent.flags & 33554432 /* Ambient */) ? Diagnostics.Invalid_module_name_in_augmentation_module_0_cannot_be_found : void 0; + let mainModule = resolveExternalModuleNameWorker( + moduleName, + moduleName, + moduleNotFoundError, + /*ignoreErrors*/ + false, + /*isForAugmentation*/ + true + ); + if (!mainModule) { + return; + } + mainModule = resolveExternalModuleSymbol(mainModule); + if (mainModule.flags & 1920 /* Namespace */) { + if (some(patternAmbientModules, (module2) => mainModule === module2.symbol)) { + const merged = mergeSymbol( + moduleAugmentation.symbol, + mainModule, + /*unidirectional*/ + true + ); + if (!patternAmbientModuleAugmentations) { + patternAmbientModuleAugmentations = /* @__PURE__ */ new Map(); + } + patternAmbientModuleAugmentations.set(moduleName.text, merged); + } else { + if (((_b = mainModule.exports) == null ? void 0 : _b.get("__export" /* ExportStar */)) && ((_c = moduleAugmentation.symbol.exports) == null ? void 0 : _c.size)) { + const resolvedExports = getResolvedMembersOrExportsOfSymbol(mainModule, "resolvedExports" /* resolvedExports */); + for (const [key, value] of arrayFrom(moduleAugmentation.symbol.exports.entries())) { + if (resolvedExports.has(key) && !mainModule.exports.has(key)) { + mergeSymbol(resolvedExports.get(key), value); + } + } + } + mergeSymbol(mainModule, moduleAugmentation.symbol); + } + } else { + error(moduleName, Diagnostics.Cannot_augment_module_0_because_it_resolves_to_a_non_module_entity, moduleName.text); + } + } + } + function addUndefinedToGlobalsOrErrorOnRedeclaration() { + const name = undefinedSymbol.escapedName; + const targetSymbol = globals.get(name); + if (targetSymbol) { + forEach(targetSymbol.declarations, (declaration) => { + if (!isTypeDeclaration(declaration)) { + diagnostics.add(createDiagnosticForNode(declaration, Diagnostics.Declaration_name_conflicts_with_built_in_global_identifier_0, unescapeLeadingUnderscores(name))); + } + }); + } else { + globals.set(name, undefinedSymbol); + } + } + function getSymbolLinks(symbol) { + if (symbol.flags & 33554432 /* Transient */) return symbol.links; + const id = getSymbolId(symbol); + return symbolLinks[id] ?? (symbolLinks[id] = new SymbolLinks()); + } + function getNodeLinks(node) { + const nodeId = getNodeId(node); + return nodeLinks[nodeId] || (nodeLinks[nodeId] = new NodeLinks()); + } + function getSymbol(symbols, name, meaning) { + if (meaning) { + const symbol = getMergedSymbol(symbols.get(name)); + if (symbol) { + if (symbol.flags & meaning) { + return symbol; + } + if (symbol.flags & 2097152 /* Alias */) { + const targetFlags = getSymbolFlags(symbol); + if (targetFlags & meaning) { + return symbol; + } + } + } + } + } + function getSymbolsOfParameterPropertyDeclaration(parameter, parameterName) { + const constructorDeclaration = parameter.parent; + const classDeclaration = parameter.parent.parent; + const parameterSymbol = getSymbol(constructorDeclaration.locals, parameterName, 111551 /* Value */); + const propertySymbol = getSymbol(getMembersOfSymbol(classDeclaration.symbol), parameterName, 111551 /* Value */); + if (parameterSymbol && propertySymbol) { + return [parameterSymbol, propertySymbol]; + } + return Debug.fail("There should exist two symbols, one as property declaration and one as parameter declaration"); + } + function isBlockScopedNameDeclaredBeforeUse(declaration, usage) { + const declarationFile = getSourceFileOfNode(declaration); + const useFile = getSourceFileOfNode(usage); + const declContainer = getEnclosingBlockScopeContainer(declaration); + if (declarationFile !== useFile) { + if (moduleKind && (declarationFile.externalModuleIndicator || useFile.externalModuleIndicator) || !compilerOptions.outFile || isInTypeQuery(usage) || declaration.flags & 33554432 /* Ambient */) { + return true; + } + if (isUsedInFunctionOrInstanceProperty(usage, declaration)) { + return true; + } + const sourceFiles = host.getSourceFiles(); + return sourceFiles.indexOf(declarationFile) <= sourceFiles.indexOf(useFile); + } + if (!!(usage.flags & 16777216 /* JSDoc */) || isInTypeQuery(usage) || isInAmbientOrTypeNode(usage)) { + return true; + } + if (declaration.pos <= usage.pos && !(isPropertyDeclaration(declaration) && isThisProperty(usage.parent) && !declaration.initializer && !declaration.exclamationToken)) { + if (declaration.kind === 208 /* BindingElement */) { + const errorBindingElement = getAncestor(usage, 208 /* BindingElement */); + if (errorBindingElement) { + return findAncestor(errorBindingElement, isBindingElement) !== findAncestor(declaration, isBindingElement) || declaration.pos < errorBindingElement.pos; + } + return isBlockScopedNameDeclaredBeforeUse(getAncestor(declaration, 260 /* VariableDeclaration */), usage); + } else if (declaration.kind === 260 /* VariableDeclaration */) { + return !isImmediatelyUsedInInitializerOfBlockScopedVariable(declaration, usage); + } else if (isClassLike(declaration)) { + const container = findAncestor(usage, (n) => n === declaration ? "quit" : isComputedPropertyName(n) ? n.parent.parent === declaration : !legacyDecorators && isDecorator(n) && (n.parent === declaration || isMethodDeclaration(n.parent) && n.parent.parent === declaration || isGetOrSetAccessorDeclaration(n.parent) && n.parent.parent === declaration || isPropertyDeclaration(n.parent) && n.parent.parent === declaration || isParameter(n.parent) && n.parent.parent.parent === declaration)); + if (!container) { + return true; + } + if (!legacyDecorators && isDecorator(container)) { + return !!findAncestor(usage, (n) => n === container ? "quit" : isFunctionLike(n) && !getImmediatelyInvokedFunctionExpression(n)); + } + return false; + } else if (isPropertyDeclaration(declaration)) { + return !isPropertyImmediatelyReferencedWithinDeclaration( + declaration, + usage, + /*stopAtAnyPropertyDeclaration*/ + false + ); + } else if (isParameterPropertyDeclaration(declaration, declaration.parent)) { + return !(emitStandardClassFields && getContainingClass(declaration) === getContainingClass(usage) && isUsedInFunctionOrInstanceProperty(usage, declaration)); + } + return true; + } + if (usage.parent.kind === 281 /* ExportSpecifier */ || usage.parent.kind === 277 /* ExportAssignment */ && usage.parent.isExportEquals) { + return true; + } + if (usage.kind === 277 /* ExportAssignment */ && usage.isExportEquals) { + return true; + } + if (isUsedInFunctionOrInstanceProperty(usage, declaration)) { + if (emitStandardClassFields && getContainingClass(declaration) && (isPropertyDeclaration(declaration) || isParameterPropertyDeclaration(declaration, declaration.parent))) { + return !isPropertyImmediatelyReferencedWithinDeclaration( + declaration, + usage, + /*stopAtAnyPropertyDeclaration*/ + true + ); + } else { + return true; + } + } + return false; + function isImmediatelyUsedInInitializerOfBlockScopedVariable(declaration2, usage2) { + switch (declaration2.parent.parent.kind) { + case 243 /* VariableStatement */: + case 248 /* ForStatement */: + case 250 /* ForOfStatement */: + if (isSameScopeDescendentOf(usage2, declaration2, declContainer)) { + return true; + } + break; + } + const grandparent = declaration2.parent.parent; + return isForInOrOfStatement(grandparent) && isSameScopeDescendentOf(usage2, grandparent.expression, declContainer); + } + function isUsedInFunctionOrInstanceProperty(usage2, declaration2) { + return !!findAncestor(usage2, (current) => { + if (current === declContainer) { + return "quit"; + } + if (isFunctionLike(current)) { + return true; + } + if (isClassStaticBlockDeclaration(current)) { + return declaration2.pos < usage2.pos; + } + const propertyDeclaration = tryCast(current.parent, isPropertyDeclaration); + if (propertyDeclaration) { + const initializerOfProperty = propertyDeclaration.initializer === current; + if (initializerOfProperty) { + if (isStatic(current.parent)) { + if (declaration2.kind === 174 /* MethodDeclaration */) { + return true; + } + if (isPropertyDeclaration(declaration2) && getContainingClass(usage2) === getContainingClass(declaration2)) { + const propName = declaration2.name; + if (isIdentifier(propName) || isPrivateIdentifier(propName)) { + const type = getTypeOfSymbol(getSymbolOfDeclaration(declaration2)); + const staticBlocks = filter(declaration2.parent.members, isClassStaticBlockDeclaration); + if (isPropertyInitializedInStaticBlocks(propName, type, staticBlocks, declaration2.parent.pos, current.pos)) { + return true; + } + } + } + } else { + const isDeclarationInstanceProperty = declaration2.kind === 172 /* PropertyDeclaration */ && !isStatic(declaration2); + if (!isDeclarationInstanceProperty || getContainingClass(usage2) !== getContainingClass(declaration2)) { + return true; + } + } + } + } + return false; + }); + } + function isPropertyImmediatelyReferencedWithinDeclaration(declaration2, usage2, stopAtAnyPropertyDeclaration) { + if (usage2.end > declaration2.end) { + return false; + } + const ancestorChangingReferenceScope = findAncestor(usage2, (node) => { + if (node === declaration2) { + return "quit"; + } + switch (node.kind) { + case 219 /* ArrowFunction */: + return true; + case 172 /* PropertyDeclaration */: + return stopAtAnyPropertyDeclaration && (isPropertyDeclaration(declaration2) && node.parent === declaration2.parent || isParameterPropertyDeclaration(declaration2, declaration2.parent) && node.parent === declaration2.parent.parent) ? "quit" : true; + case 241 /* Block */: + switch (node.parent.kind) { + case 177 /* GetAccessor */: + case 174 /* MethodDeclaration */: + case 178 /* SetAccessor */: + return true; + default: + return false; + } + default: + return false; + } + }); + return ancestorChangingReferenceScope === void 0; + } + } + function getRequiresScopeChangeCache(node) { + return getNodeLinks(node).declarationRequiresScopeChange; + } + function setRequiresScopeChangeCache(node, value) { + getNodeLinks(node).declarationRequiresScopeChange = value; + } + function checkAndReportErrorForInvalidInitializer(errorLocation, name, propertyWithInvalidInitializer, result) { + if (!emitStandardClassFields) { + if (errorLocation && !result && checkAndReportErrorForMissingPrefix(errorLocation, name, name)) { + return true; + } + error( + errorLocation, + errorLocation && propertyWithInvalidInitializer.type && textRangeContainsPositionInclusive(propertyWithInvalidInitializer.type, errorLocation.pos) ? Diagnostics.Type_of_instance_member_variable_0_cannot_reference_identifier_1_declared_in_the_constructor : Diagnostics.Initializer_of_instance_member_variable_0_cannot_reference_identifier_1_declared_in_the_constructor, + declarationNameToString(propertyWithInvalidInitializer.name), + diagnosticName(name) + ); + return true; + } + return false; + } + function onFailedToResolveSymbol(errorLocation, nameArg, meaning, nameNotFoundMessage) { + const name = isString(nameArg) ? nameArg : nameArg.escapedText; + addLazyDiagnostic(() => { + if (!errorLocation || errorLocation.parent.kind !== 324 /* JSDocLink */ && !checkAndReportErrorForMissingPrefix(errorLocation, name, nameArg) && !checkAndReportErrorForExtendingInterface(errorLocation) && !checkAndReportErrorForUsingTypeAsNamespace(errorLocation, name, meaning) && !checkAndReportErrorForExportingPrimitiveType(errorLocation, name) && !checkAndReportErrorForUsingNamespaceAsTypeOrValue(errorLocation, name, meaning) && !checkAndReportErrorForUsingTypeAsValue(errorLocation, name, meaning) && !checkAndReportErrorForUsingValueAsType(errorLocation, name, meaning)) { + let suggestion; + let suggestedLib; + if (nameArg) { + suggestedLib = getSuggestedLibForNonExistentName(nameArg); + if (suggestedLib) { + error(errorLocation, nameNotFoundMessage, diagnosticName(nameArg), suggestedLib); + } + } + if (!suggestedLib && suggestionCount < maximumSuggestionCount) { + suggestion = getSuggestedSymbolForNonexistentSymbol(errorLocation, name, meaning); + const isGlobalScopeAugmentationDeclaration = (suggestion == null ? void 0 : suggestion.valueDeclaration) && isAmbientModule(suggestion.valueDeclaration) && isGlobalScopeAugmentation(suggestion.valueDeclaration); + if (isGlobalScopeAugmentationDeclaration) { + suggestion = void 0; + } + if (suggestion) { + const suggestionName = symbolToString(suggestion); + const isUncheckedJS = isUncheckedJSSuggestion( + errorLocation, + suggestion, + /*excludeClasses*/ + false + ); + const message = meaning === 1920 /* Namespace */ || nameArg && typeof nameArg !== "string" && nodeIsSynthesized(nameArg) ? Diagnostics.Cannot_find_namespace_0_Did_you_mean_1 : isUncheckedJS ? Diagnostics.Could_not_find_name_0_Did_you_mean_1 : Diagnostics.Cannot_find_name_0_Did_you_mean_1; + const diagnostic = createError(errorLocation, message, diagnosticName(nameArg), suggestionName); + diagnostic.canonicalHead = getCanonicalDiagnostic(nameNotFoundMessage, diagnosticName(nameArg)); + addErrorOrSuggestion(!isUncheckedJS, diagnostic); + if (suggestion.valueDeclaration) { + addRelatedInfo( + diagnostic, + createDiagnosticForNode(suggestion.valueDeclaration, Diagnostics._0_is_declared_here, suggestionName) + ); + } + } + } + if (!suggestion && !suggestedLib && nameArg) { + error(errorLocation, nameNotFoundMessage, diagnosticName(nameArg)); + } + suggestionCount++; + } + }); + } + function onSuccessfullyResolvedSymbol(errorLocation, result, meaning, lastLocation, associatedDeclarationForContainingInitializerOrBindingName, withinDeferredContext) { + addLazyDiagnostic(() => { + var _a; + const name = result.escapedName; + const isInExternalModule = lastLocation && isSourceFile(lastLocation) && isExternalOrCommonJsModule(lastLocation); + if (errorLocation && (meaning & 2 /* BlockScopedVariable */ || (meaning & 32 /* Class */ || meaning & 384 /* Enum */) && (meaning & 111551 /* Value */) === 111551 /* Value */)) { + const exportOrLocalSymbol = getExportSymbolOfValueSymbolIfExported(result); + if (exportOrLocalSymbol.flags & 2 /* BlockScopedVariable */ || exportOrLocalSymbol.flags & 32 /* Class */ || exportOrLocalSymbol.flags & 384 /* Enum */) { + checkResolvedBlockScopedVariable(exportOrLocalSymbol, errorLocation); + } + } + if (isInExternalModule && (meaning & 111551 /* Value */) === 111551 /* Value */ && !(errorLocation.flags & 16777216 /* JSDoc */)) { + const merged = getMergedSymbol(result); + if (length(merged.declarations) && every(merged.declarations, (d) => isNamespaceExportDeclaration(d) || isSourceFile(d) && !!d.symbol.globalExports)) { + errorOrSuggestion(!compilerOptions.allowUmdGlobalAccess, errorLocation, Diagnostics._0_refers_to_a_UMD_global_but_the_current_file_is_a_module_Consider_adding_an_import_instead, unescapeLeadingUnderscores(name)); + } + } + if (associatedDeclarationForContainingInitializerOrBindingName && !withinDeferredContext && (meaning & 111551 /* Value */) === 111551 /* Value */) { + const candidate = getMergedSymbol(getLateBoundSymbol(result)); + const root = getRootDeclaration(associatedDeclarationForContainingInitializerOrBindingName); + if (candidate === getSymbolOfDeclaration(associatedDeclarationForContainingInitializerOrBindingName)) { + error(errorLocation, Diagnostics.Parameter_0_cannot_reference_itself, declarationNameToString(associatedDeclarationForContainingInitializerOrBindingName.name)); + } else if (candidate.valueDeclaration && candidate.valueDeclaration.pos > associatedDeclarationForContainingInitializerOrBindingName.pos && root.parent.locals && getSymbol(root.parent.locals, candidate.escapedName, meaning) === candidate) { + error(errorLocation, Diagnostics.Parameter_0_cannot_reference_identifier_1_declared_after_it, declarationNameToString(associatedDeclarationForContainingInitializerOrBindingName.name), declarationNameToString(errorLocation)); + } + } + if (errorLocation && meaning & 111551 /* Value */ && result.flags & 2097152 /* Alias */ && !(result.flags & 111551 /* Value */) && !isValidTypeOnlyAliasUseSite(errorLocation)) { + const typeOnlyDeclaration = getTypeOnlyAliasDeclaration(result, 111551 /* Value */); + if (typeOnlyDeclaration) { + const message = typeOnlyDeclaration.kind === 281 /* ExportSpecifier */ || typeOnlyDeclaration.kind === 278 /* ExportDeclaration */ || typeOnlyDeclaration.kind === 280 /* NamespaceExport */ ? Diagnostics._0_cannot_be_used_as_a_value_because_it_was_exported_using_export_type : Diagnostics._0_cannot_be_used_as_a_value_because_it_was_imported_using_import_type; + const unescapedName = unescapeLeadingUnderscores(name); + addTypeOnlyDeclarationRelatedInfo( + error(errorLocation, message, unescapedName), + typeOnlyDeclaration, + unescapedName + ); + } + } + if (compilerOptions.isolatedModules && result && isInExternalModule && (meaning & 111551 /* Value */) === 111551 /* Value */) { + const isGlobal = getSymbol(globals, name, meaning) === result; + const nonValueSymbol = isGlobal && isSourceFile(lastLocation) && lastLocation.locals && getSymbol(lastLocation.locals, name, ~111551 /* Value */); + if (nonValueSymbol) { + const importDecl = (_a = nonValueSymbol.declarations) == null ? void 0 : _a.find((d) => d.kind === 276 /* ImportSpecifier */ || d.kind === 273 /* ImportClause */ || d.kind === 274 /* NamespaceImport */ || d.kind === 271 /* ImportEqualsDeclaration */); + if (importDecl && !isTypeOnlyImportDeclaration(importDecl)) { + error(importDecl, Diagnostics.Import_0_conflicts_with_global_value_used_in_this_file_so_must_be_declared_with_a_type_only_import_when_isolatedModules_is_enabled, unescapeLeadingUnderscores(name)); + } + } + } + }); + } + function addTypeOnlyDeclarationRelatedInfo(diagnostic, typeOnlyDeclaration, unescapedName) { + if (!typeOnlyDeclaration) return diagnostic; + return addRelatedInfo( + diagnostic, + createDiagnosticForNode( + typeOnlyDeclaration, + typeOnlyDeclaration.kind === 281 /* ExportSpecifier */ || typeOnlyDeclaration.kind === 278 /* ExportDeclaration */ || typeOnlyDeclaration.kind === 280 /* NamespaceExport */ ? Diagnostics._0_was_exported_here : Diagnostics._0_was_imported_here, + unescapedName + ) + ); + } + function diagnosticName(nameArg) { + return isString(nameArg) ? unescapeLeadingUnderscores(nameArg) : declarationNameToString(nameArg); + } + function checkAndReportErrorForMissingPrefix(errorLocation, name, nameArg) { + if (!isIdentifier(errorLocation) || errorLocation.escapedText !== name || isTypeReferenceIdentifier(errorLocation) || isInTypeQuery(errorLocation)) { + return false; + } + const container = getThisContainer( + errorLocation, + /*includeArrowFunctions*/ + false, + /*includeClassComputedPropertyName*/ + false + ); + let location = container; + while (location) { + if (isClassLike(location.parent)) { + const classSymbol = getSymbolOfDeclaration(location.parent); + if (!classSymbol) { + break; + } + const constructorType = getTypeOfSymbol(classSymbol); + if (getPropertyOfType(constructorType, name)) { + error(errorLocation, Diagnostics.Cannot_find_name_0_Did_you_mean_the_static_member_1_0, diagnosticName(nameArg), symbolToString(classSymbol)); + return true; + } + if (location === container && !isStatic(location)) { + const instanceType = getDeclaredTypeOfSymbol(classSymbol).thisType; + if (getPropertyOfType(instanceType, name)) { + error(errorLocation, Diagnostics.Cannot_find_name_0_Did_you_mean_the_instance_member_this_0, diagnosticName(nameArg)); + return true; + } + } + } + location = location.parent; + } + return false; + } + function checkAndReportErrorForExtendingInterface(errorLocation) { + const expression = getEntityNameForExtendingInterface(errorLocation); + if (expression && resolveEntityName( + expression, + 64 /* Interface */, + /*ignoreErrors*/ + true + )) { + error(errorLocation, Diagnostics.Cannot_extend_an_interface_0_Did_you_mean_implements, getTextOfNode(expression)); + return true; + } + return false; + } + function getEntityNameForExtendingInterface(node) { + switch (node.kind) { + case 80 /* Identifier */: + case 211 /* PropertyAccessExpression */: + return node.parent ? getEntityNameForExtendingInterface(node.parent) : void 0; + case 233 /* ExpressionWithTypeArguments */: + if (isEntityNameExpression(node.expression)) { + return node.expression; + } + // falls through + default: + return void 0; + } + } + function checkAndReportErrorForUsingTypeAsNamespace(errorLocation, name, meaning) { + const namespaceMeaning = 1920 /* Namespace */ | (isInJSFile(errorLocation) ? 111551 /* Value */ : 0); + if (meaning === namespaceMeaning) { + const symbol = resolveSymbol(resolveName( + errorLocation, + name, + 788968 /* Type */ & ~namespaceMeaning, + /*nameNotFoundMessage*/ + void 0, + /*isUse*/ + false + )); + const parent = errorLocation.parent; + if (symbol) { + if (isQualifiedName(parent)) { + Debug.assert(parent.left === errorLocation, "Should only be resolving left side of qualified name as a namespace"); + const propName = parent.right.escapedText; + const propType = getPropertyOfType(getDeclaredTypeOfSymbol(symbol), propName); + if (propType) { + error( + parent, + 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, + unescapeLeadingUnderscores(name), + unescapeLeadingUnderscores(propName) + ); + return true; + } + } + error(errorLocation, Diagnostics._0_only_refers_to_a_type_but_is_being_used_as_a_namespace_here, unescapeLeadingUnderscores(name)); + return true; + } + } + return false; + } + function checkAndReportErrorForUsingValueAsType(errorLocation, name, meaning) { + if (meaning & (788968 /* Type */ & ~1920 /* Namespace */)) { + const symbol = resolveSymbol(resolveName( + errorLocation, + name, + ~788968 /* Type */ & 111551 /* Value */, + /*nameNotFoundMessage*/ + void 0, + /*isUse*/ + false + )); + if (symbol && !(symbol.flags & 1920 /* Namespace */)) { + error(errorLocation, Diagnostics._0_refers_to_a_value_but_is_being_used_as_a_type_here_Did_you_mean_typeof_0, unescapeLeadingUnderscores(name)); + return true; + } + } + return false; + } + function isPrimitiveTypeName(name) { + return name === "any" || name === "string" || name === "number" || name === "boolean" || name === "never" || name === "unknown"; + } + function checkAndReportErrorForExportingPrimitiveType(errorLocation, name) { + if (isPrimitiveTypeName(name) && errorLocation.parent.kind === 281 /* ExportSpecifier */) { + error(errorLocation, Diagnostics.Cannot_export_0_Only_local_declarations_can_be_exported_from_a_module, name); + return true; + } + return false; + } + function checkAndReportErrorForUsingTypeAsValue(errorLocation, name, meaning) { + if (meaning & 111551 /* Value */) { + if (isPrimitiveTypeName(name)) { + const grandparent = errorLocation.parent.parent; + if (grandparent && grandparent.parent && isHeritageClause(grandparent)) { + const heritageKind = grandparent.token; + const containerKind = grandparent.parent.kind; + if (containerKind === 264 /* InterfaceDeclaration */ && heritageKind === 96 /* ExtendsKeyword */) { + error(errorLocation, Diagnostics.An_interface_cannot_extend_a_primitive_type_like_0_It_can_only_extend_other_named_object_types, unescapeLeadingUnderscores(name)); + } else if (containerKind === 263 /* ClassDeclaration */ && heritageKind === 96 /* ExtendsKeyword */) { + error(errorLocation, Diagnostics.A_class_cannot_extend_a_primitive_type_like_0_Classes_can_only_extend_constructable_values, unescapeLeadingUnderscores(name)); + } else if (containerKind === 263 /* ClassDeclaration */ && heritageKind === 119 /* ImplementsKeyword */) { + error(errorLocation, Diagnostics.A_class_cannot_implement_a_primitive_type_like_0_It_can_only_implement_other_named_object_types, unescapeLeadingUnderscores(name)); + } + } else { + error(errorLocation, Diagnostics._0_only_refers_to_a_type_but_is_being_used_as_a_value_here, unescapeLeadingUnderscores(name)); + } + return true; + } + const symbol = resolveSymbol(resolveName( + errorLocation, + name, + 788968 /* Type */ & ~111551 /* Value */, + /*nameNotFoundMessage*/ + void 0, + /*isUse*/ + false + )); + const allFlags = symbol && getSymbolFlags(symbol); + if (symbol && allFlags !== void 0 && !(allFlags & 111551 /* Value */)) { + const rawName = unescapeLeadingUnderscores(name); + if (isES2015OrLaterConstructorName(name)) { + error(errorLocation, Diagnostics._0_only_refers_to_a_type_but_is_being_used_as_a_value_here_Do_you_need_to_change_your_target_library_Try_changing_the_lib_compiler_option_to_es2015_or_later, rawName); + } else if (maybeMappedType(errorLocation, symbol)) { + error(errorLocation, Diagnostics._0_only_refers_to_a_type_but_is_being_used_as_a_value_here_Did_you_mean_to_use_1_in_0, rawName, rawName === "K" ? "P" : "K"); + } else { + error(errorLocation, Diagnostics._0_only_refers_to_a_type_but_is_being_used_as_a_value_here, rawName); + } + return true; + } + } + return false; + } + function maybeMappedType(node, symbol) { + const container = findAncestor(node.parent, (n) => isComputedPropertyName(n) || isPropertySignature(n) ? false : isTypeLiteralNode(n) || "quit"); + if (container && container.members.length === 1) { + const type = getDeclaredTypeOfSymbol(symbol); + return !!(type.flags & 1048576 /* Union */) && allTypesAssignableToKind( + type, + 384 /* StringOrNumberLiteral */, + /*strict*/ + true + ); + } + return false; + } + function isES2015OrLaterConstructorName(n) { + switch (n) { + case "Promise": + case "Symbol": + case "Map": + case "WeakMap": + case "Set": + case "WeakSet": + return true; + } + return false; + } + function checkAndReportErrorForUsingNamespaceAsTypeOrValue(errorLocation, name, meaning) { + if (meaning & (111551 /* Value */ & ~788968 /* Type */)) { + const symbol = resolveSymbol(resolveName( + errorLocation, + name, + 1024 /* NamespaceModule */, + /*nameNotFoundMessage*/ + void 0, + /*isUse*/ + false + )); + if (symbol) { + error( + errorLocation, + Diagnostics.Cannot_use_namespace_0_as_a_value, + unescapeLeadingUnderscores(name) + ); + return true; + } + } else if (meaning & (788968 /* Type */ & ~111551 /* Value */)) { + const symbol = resolveSymbol(resolveName( + errorLocation, + name, + 1536 /* Module */, + /*nameNotFoundMessage*/ + void 0, + /*isUse*/ + false + )); + if (symbol) { + error(errorLocation, Diagnostics.Cannot_use_namespace_0_as_a_type, unescapeLeadingUnderscores(name)); + return true; + } + } + return false; + } + function checkResolvedBlockScopedVariable(result, errorLocation) { + var _a; + Debug.assert(!!(result.flags & 2 /* BlockScopedVariable */ || result.flags & 32 /* Class */ || result.flags & 384 /* Enum */)); + if (result.flags & (16 /* Function */ | 1 /* FunctionScopedVariable */ | 67108864 /* Assignment */) && result.flags & 32 /* Class */) { + return; + } + const declaration = (_a = result.declarations) == null ? void 0 : _a.find( + (d) => isBlockOrCatchScoped(d) || isClassLike(d) || d.kind === 266 /* EnumDeclaration */ + ); + if (declaration === void 0) return Debug.fail("checkResolvedBlockScopedVariable could not find block-scoped declaration"); + if (!(declaration.flags & 33554432 /* Ambient */) && !isBlockScopedNameDeclaredBeforeUse(declaration, errorLocation)) { + let diagnosticMessage; + const declarationName = declarationNameToString(getNameOfDeclaration(declaration)); + if (result.flags & 2 /* BlockScopedVariable */) { + diagnosticMessage = error(errorLocation, Diagnostics.Block_scoped_variable_0_used_before_its_declaration, declarationName); + } else if (result.flags & 32 /* Class */) { + diagnosticMessage = error(errorLocation, Diagnostics.Class_0_used_before_its_declaration, declarationName); + } else if (result.flags & 256 /* RegularEnum */) { + diagnosticMessage = error(errorLocation, Diagnostics.Enum_0_used_before_its_declaration, declarationName); + } else { + Debug.assert(!!(result.flags & 128 /* ConstEnum */)); + if (getIsolatedModules(compilerOptions)) { + diagnosticMessage = error(errorLocation, Diagnostics.Enum_0_used_before_its_declaration, declarationName); + } + } + if (diagnosticMessage) { + addRelatedInfo(diagnosticMessage, createDiagnosticForNode(declaration, Diagnostics._0_is_declared_here, declarationName)); + } + } + } + function isSameScopeDescendentOf(initial, parent, stopAt) { + return !!parent && !!findAncestor(initial, (n) => n === parent || (n === stopAt || isFunctionLike(n) && (!getImmediatelyInvokedFunctionExpression(n) || getFunctionFlags(n) & 3 /* AsyncGenerator */) ? "quit" : false)); + } + function getAnyImportSyntax(node) { + switch (node.kind) { + case 271 /* ImportEqualsDeclaration */: + return node; + case 273 /* ImportClause */: + return node.parent; + case 274 /* NamespaceImport */: + return node.parent.parent; + case 276 /* ImportSpecifier */: + return node.parent.parent.parent; + default: + return void 0; + } + } + function getDeclarationOfAliasSymbol(symbol) { + return symbol.declarations && findLast(symbol.declarations, isAliasSymbolDeclaration); + } + function isAliasSymbolDeclaration(node) { + return node.kind === 271 /* ImportEqualsDeclaration */ || node.kind === 270 /* NamespaceExportDeclaration */ || node.kind === 273 /* ImportClause */ && !!node.name || node.kind === 274 /* NamespaceImport */ || node.kind === 280 /* NamespaceExport */ || node.kind === 276 /* ImportSpecifier */ || node.kind === 281 /* ExportSpecifier */ || node.kind === 277 /* ExportAssignment */ && exportAssignmentIsAlias(node) || isBinaryExpression(node) && getAssignmentDeclarationKind(node) === 2 /* ModuleExports */ && exportAssignmentIsAlias(node) || isAccessExpression(node) && isBinaryExpression(node.parent) && node.parent.left === node && node.parent.operatorToken.kind === 64 /* EqualsToken */ && isAliasableOrJsExpression(node.parent.right) || node.kind === 304 /* ShorthandPropertyAssignment */ || node.kind === 303 /* PropertyAssignment */ && isAliasableOrJsExpression(node.initializer) || node.kind === 260 /* VariableDeclaration */ && isVariableDeclarationInitializedToBareOrAccessedRequire(node) || node.kind === 208 /* BindingElement */ && isVariableDeclarationInitializedToBareOrAccessedRequire(node.parent.parent); + } + function isAliasableOrJsExpression(e) { + return isAliasableExpression(e) || isFunctionExpression(e) && isJSConstructor(e); + } + function getTargetOfImportEqualsDeclaration(node, dontResolveAlias) { + const commonJSPropertyAccess = getCommonJSPropertyAccess(node); + if (commonJSPropertyAccess) { + const name = getLeftmostAccessExpression(commonJSPropertyAccess.expression).arguments[0]; + return isIdentifier(commonJSPropertyAccess.name) ? resolveSymbol(getPropertyOfType(resolveExternalModuleTypeByLiteral(name), commonJSPropertyAccess.name.escapedText)) : void 0; + } + if (isVariableDeclaration(node) || node.moduleReference.kind === 283 /* ExternalModuleReference */) { + const immediate = resolveExternalModuleName( + node, + getExternalModuleRequireArgument(node) || getExternalModuleImportEqualsDeclarationExpression(node) + ); + const resolved2 = resolveExternalModuleSymbol(immediate); + markSymbolOfAliasDeclarationIfTypeOnly( + node, + immediate, + resolved2, + /*overwriteEmpty*/ + false + ); + return resolved2; + } + const resolved = getSymbolOfPartOfRightHandSideOfImportEquals(node.moduleReference, dontResolveAlias); + checkAndReportErrorForResolvingImportAliasToTypeOnlySymbol(node, resolved); + return resolved; + } + function checkAndReportErrorForResolvingImportAliasToTypeOnlySymbol(node, resolved) { + if (markSymbolOfAliasDeclarationIfTypeOnly( + node, + /*immediateTarget*/ + void 0, + resolved, + /*overwriteEmpty*/ + false + ) && !node.isTypeOnly) { + const typeOnlyDeclaration = getTypeOnlyAliasDeclaration(getSymbolOfDeclaration(node)); + const isExport = typeOnlyDeclaration.kind === 281 /* ExportSpecifier */ || typeOnlyDeclaration.kind === 278 /* ExportDeclaration */; + const message = isExport ? Diagnostics.An_import_alias_cannot_reference_a_declaration_that_was_exported_using_export_type : Diagnostics.An_import_alias_cannot_reference_a_declaration_that_was_imported_using_import_type; + const relatedMessage = isExport ? Diagnostics._0_was_exported_here : Diagnostics._0_was_imported_here; + const name = typeOnlyDeclaration.kind === 278 /* ExportDeclaration */ ? "*" : moduleExportNameTextUnescaped(typeOnlyDeclaration.name); + addRelatedInfo(error(node.moduleReference, message), createDiagnosticForNode(typeOnlyDeclaration, relatedMessage, name)); + } + } + function resolveExportByName(moduleSymbol, name, sourceNode, dontResolveAlias) { + const exportValue = moduleSymbol.exports.get("export=" /* ExportEquals */); + const exportSymbol = exportValue ? getPropertyOfType( + getTypeOfSymbol(exportValue), + name, + /*skipObjectFunctionPropertyAugment*/ + true + ) : moduleSymbol.exports.get(name); + const resolved = resolveSymbol(exportSymbol, dontResolveAlias); + markSymbolOfAliasDeclarationIfTypeOnly( + sourceNode, + exportSymbol, + resolved, + /*overwriteEmpty*/ + false + ); + return resolved; + } + function isSyntacticDefault(node) { + return isExportAssignment(node) && !node.isExportEquals || hasSyntacticModifier(node, 2048 /* Default */) || isExportSpecifier(node) || isNamespaceExport(node); + } + function getEmitSyntaxForModuleSpecifierExpression(usage) { + return isStringLiteralLike(usage) ? host.getEmitSyntaxForUsageLocation(getSourceFileOfNode(usage), usage) : void 0; + } + function isESMFormatImportImportingCommonjsFormatFile(usageMode, targetMode) { + return usageMode === 99 /* ESNext */ && targetMode === 1 /* CommonJS */; + } + function isOnlyImportableAsDefault(usage, resolvedModule) { + if (100 /* Node16 */ <= moduleKind && moduleKind <= 199 /* NodeNext */) { + const usageMode = getEmitSyntaxForModuleSpecifierExpression(usage); + if (usageMode === 99 /* ESNext */) { + resolvedModule ?? (resolvedModule = resolveExternalModuleName( + usage, + usage, + /*ignoreErrors*/ + true + )); + const targetFile = resolvedModule && getSourceFileOfModule(resolvedModule); + return targetFile && (isJsonSourceFile(targetFile) || getDeclarationFileExtension(targetFile.fileName) === ".d.json.ts"); + } + } + return false; + } + function canHaveSyntheticDefault(file, moduleSymbol, dontResolveAlias, usage) { + const usageMode = file && getEmitSyntaxForModuleSpecifierExpression(usage); + if (file && usageMode !== void 0) { + const targetMode = host.getImpliedNodeFormatForEmit(file); + if (usageMode === 99 /* ESNext */ && targetMode === 1 /* CommonJS */ && 100 /* Node16 */ <= moduleKind && moduleKind <= 199 /* NodeNext */) { + return true; + } + if (usageMode === 99 /* ESNext */ && targetMode === 99 /* ESNext */) { + return false; + } + } + if (!allowSyntheticDefaultImports) { + return false; + } + if (!file || file.isDeclarationFile) { + const defaultExportSymbol = resolveExportByName( + moduleSymbol, + "default" /* Default */, + /*sourceNode*/ + void 0, + /*dontResolveAlias*/ + true + ); + if (defaultExportSymbol && some(defaultExportSymbol.declarations, isSyntacticDefault)) { + return false; + } + if (resolveExportByName( + moduleSymbol, + escapeLeadingUnderscores("__esModule"), + /*sourceNode*/ + void 0, + dontResolveAlias + )) { + return false; + } + return true; + } + if (!isSourceFileJS(file)) { + return hasExportAssignmentSymbol(moduleSymbol); + } + return typeof file.externalModuleIndicator !== "object" && !resolveExportByName( + moduleSymbol, + escapeLeadingUnderscores("__esModule"), + /*sourceNode*/ + void 0, + dontResolveAlias + ); + } + function getTargetOfImportClause(node, dontResolveAlias) { + const moduleSymbol = resolveExternalModuleName(node, node.parent.moduleSpecifier); + if (moduleSymbol) { + return getTargetofModuleDefault(moduleSymbol, node, dontResolveAlias); + } + } + function getTargetofModuleDefault(moduleSymbol, node, dontResolveAlias) { + var _a; + let exportDefaultSymbol; + if (isShorthandAmbientModuleSymbol(moduleSymbol)) { + exportDefaultSymbol = moduleSymbol; + } else { + exportDefaultSymbol = resolveExportByName(moduleSymbol, "default" /* Default */, node, dontResolveAlias); + } + const file = (_a = moduleSymbol.declarations) == null ? void 0 : _a.find(isSourceFile); + const specifier = getModuleSpecifierForImportOrExport(node); + if (!specifier) { + return exportDefaultSymbol; + } + const hasDefaultOnly = isOnlyImportableAsDefault(specifier, moduleSymbol); + const hasSyntheticDefault = canHaveSyntheticDefault(file, moduleSymbol, dontResolveAlias, specifier); + if (!exportDefaultSymbol && !hasSyntheticDefault && !hasDefaultOnly) { + if (hasExportAssignmentSymbol(moduleSymbol) && !allowSyntheticDefaultImports) { + const compilerOptionName = moduleKind >= 5 /* ES2015 */ ? "allowSyntheticDefaultImports" : "esModuleInterop"; + const exportEqualsSymbol = moduleSymbol.exports.get("export=" /* ExportEquals */); + const exportAssignment = exportEqualsSymbol.valueDeclaration; + const err = error(node.name, Diagnostics.Module_0_can_only_be_default_imported_using_the_1_flag, symbolToString(moduleSymbol), compilerOptionName); + if (exportAssignment) { + addRelatedInfo( + err, + createDiagnosticForNode( + exportAssignment, + Diagnostics.This_module_is_declared_with_export_and_can_only_be_used_with_a_default_import_when_using_the_0_flag, + compilerOptionName + ) + ); + } + } else if (isImportClause(node)) { + reportNonDefaultExport(moduleSymbol, node); + } else { + errorNoModuleMemberSymbol(moduleSymbol, moduleSymbol, node, isImportOrExportSpecifier(node) && node.propertyName || node.name); + } + } else if (hasSyntheticDefault || hasDefaultOnly) { + const resolved = resolveExternalModuleSymbol(moduleSymbol, dontResolveAlias) || resolveSymbol(moduleSymbol, dontResolveAlias); + markSymbolOfAliasDeclarationIfTypeOnly( + node, + moduleSymbol, + resolved, + /*overwriteEmpty*/ + false + ); + return resolved; + } + markSymbolOfAliasDeclarationIfTypeOnly( + node, + exportDefaultSymbol, + /*finalTarget*/ + void 0, + /*overwriteEmpty*/ + false + ); + return exportDefaultSymbol; + } + function getModuleSpecifierForImportOrExport(node) { + switch (node.kind) { + case 273 /* ImportClause */: + return node.parent.moduleSpecifier; + case 271 /* ImportEqualsDeclaration */: + return isExternalModuleReference(node.moduleReference) ? node.moduleReference.expression : void 0; + case 274 /* NamespaceImport */: + return node.parent.parent.moduleSpecifier; + case 276 /* ImportSpecifier */: + return node.parent.parent.parent.moduleSpecifier; + case 281 /* ExportSpecifier */: + return node.parent.parent.moduleSpecifier; + default: + return Debug.assertNever(node); + } + } + function reportNonDefaultExport(moduleSymbol, node) { + var _a, _b, _c; + if ((_a = moduleSymbol.exports) == null ? void 0 : _a.has(node.symbol.escapedName)) { + error( + node.name, + Diagnostics.Module_0_has_no_default_export_Did_you_mean_to_use_import_1_from_0_instead, + symbolToString(moduleSymbol), + symbolToString(node.symbol) + ); + } else { + const diagnostic = error(node.name, Diagnostics.Module_0_has_no_default_export, symbolToString(moduleSymbol)); + const exportStar = (_b = moduleSymbol.exports) == null ? void 0 : _b.get("__export" /* ExportStar */); + if (exportStar) { + const defaultExport = (_c = exportStar.declarations) == null ? void 0 : _c.find( + (decl) => { + var _a2, _b2; + return !!(isExportDeclaration(decl) && decl.moduleSpecifier && ((_b2 = (_a2 = resolveExternalModuleName(decl, decl.moduleSpecifier)) == null ? void 0 : _a2.exports) == null ? void 0 : _b2.has("default" /* Default */))); + } + ); + if (defaultExport) { + addRelatedInfo(diagnostic, createDiagnosticForNode(defaultExport, Diagnostics.export_Asterisk_does_not_re_export_a_default)); + } + } + } + } + function getTargetOfNamespaceImport(node, dontResolveAlias) { + const moduleSpecifier = node.parent.parent.moduleSpecifier; + const immediate = resolveExternalModuleName(node, moduleSpecifier); + const resolved = resolveESModuleSymbol( + immediate, + moduleSpecifier, + dontResolveAlias, + /*suppressInteropError*/ + false + ); + markSymbolOfAliasDeclarationIfTypeOnly( + node, + immediate, + resolved, + /*overwriteEmpty*/ + false + ); + return resolved; + } + function getTargetOfNamespaceExport(node, dontResolveAlias) { + const moduleSpecifier = node.parent.moduleSpecifier; + const immediate = moduleSpecifier && resolveExternalModuleName(node, moduleSpecifier); + const resolved = moduleSpecifier && resolveESModuleSymbol( + immediate, + moduleSpecifier, + dontResolveAlias, + /*suppressInteropError*/ + false + ); + markSymbolOfAliasDeclarationIfTypeOnly( + node, + immediate, + resolved, + /*overwriteEmpty*/ + false + ); + return resolved; + } + function combineValueAndTypeSymbols(valueSymbol, typeSymbol) { + if (valueSymbol === unknownSymbol && typeSymbol === unknownSymbol) { + return unknownSymbol; + } + if (valueSymbol.flags & (788968 /* Type */ | 1920 /* Namespace */)) { + return valueSymbol; + } + const result = createSymbol(valueSymbol.flags | typeSymbol.flags, valueSymbol.escapedName); + Debug.assert(valueSymbol.declarations || typeSymbol.declarations); + result.declarations = deduplicate(concatenate(valueSymbol.declarations, typeSymbol.declarations), equateValues); + result.parent = valueSymbol.parent || typeSymbol.parent; + if (valueSymbol.valueDeclaration) result.valueDeclaration = valueSymbol.valueDeclaration; + if (typeSymbol.members) result.members = new Map(typeSymbol.members); + if (valueSymbol.exports) result.exports = new Map(valueSymbol.exports); + return result; + } + function getExportOfModule(symbol, nameText, specifier, dontResolveAlias) { + var _a; + if (symbol.flags & 1536 /* Module */) { + const exportSymbol = getExportsOfSymbol(symbol).get(nameText); + const resolved = resolveSymbol(exportSymbol, dontResolveAlias); + const exportStarDeclaration = (_a = getSymbolLinks(symbol).typeOnlyExportStarMap) == null ? void 0 : _a.get(nameText); + markSymbolOfAliasDeclarationIfTypeOnly( + specifier, + exportSymbol, + resolved, + /*overwriteEmpty*/ + false, + exportStarDeclaration, + nameText + ); + return resolved; + } + } + function getPropertyOfVariable(symbol, name) { + if (symbol.flags & 3 /* Variable */) { + const typeAnnotation = symbol.valueDeclaration.type; + if (typeAnnotation) { + return resolveSymbol(getPropertyOfType(getTypeFromTypeNode(typeAnnotation), name)); + } + } + } + function getExternalModuleMember(node, specifier, dontResolveAlias = false) { + var _a; + const moduleSpecifier = getExternalModuleRequireArgument(node) || node.moduleSpecifier; + const moduleSymbol = resolveExternalModuleName(node, moduleSpecifier); + const name = !isPropertyAccessExpression(specifier) && specifier.propertyName || specifier.name; + if (!isIdentifier(name) && name.kind !== 11 /* StringLiteral */) { + return void 0; + } + const nameText = moduleExportNameTextEscaped(name); + const suppressInteropError = nameText === "default" /* Default */ && allowSyntheticDefaultImports; + const targetSymbol = resolveESModuleSymbol( + moduleSymbol, + moduleSpecifier, + /*dontResolveAlias*/ + false, + suppressInteropError + ); + if (targetSymbol) { + if (nameText || name.kind === 11 /* StringLiteral */) { + if (isShorthandAmbientModuleSymbol(moduleSymbol)) { + return moduleSymbol; + } + let symbolFromVariable; + if (moduleSymbol && moduleSymbol.exports && moduleSymbol.exports.get("export=" /* ExportEquals */)) { + symbolFromVariable = getPropertyOfType( + getTypeOfSymbol(targetSymbol), + nameText, + /*skipObjectFunctionPropertyAugment*/ + true + ); + } else { + symbolFromVariable = getPropertyOfVariable(targetSymbol, nameText); + } + symbolFromVariable = resolveSymbol(symbolFromVariable, dontResolveAlias); + let symbolFromModule = getExportOfModule(targetSymbol, nameText, specifier, dontResolveAlias); + if (symbolFromModule === void 0 && nameText === "default" /* Default */) { + const file = (_a = moduleSymbol.declarations) == null ? void 0 : _a.find(isSourceFile); + if (isOnlyImportableAsDefault(moduleSpecifier, moduleSymbol) || canHaveSyntheticDefault(file, moduleSymbol, dontResolveAlias, moduleSpecifier)) { + symbolFromModule = resolveExternalModuleSymbol(moduleSymbol, dontResolveAlias) || resolveSymbol(moduleSymbol, dontResolveAlias); + } + } + const symbol = symbolFromModule && symbolFromVariable && symbolFromModule !== symbolFromVariable ? combineValueAndTypeSymbols(symbolFromVariable, symbolFromModule) : symbolFromModule || symbolFromVariable; + if (isImportOrExportSpecifier(specifier) && isOnlyImportableAsDefault(moduleSpecifier, moduleSymbol) && nameText !== "default" /* Default */) { + error(name, Diagnostics.Named_imports_from_a_JSON_file_into_an_ECMAScript_module_are_not_allowed_when_module_is_set_to_0, ModuleKind[moduleKind]); + } else if (!symbol) { + errorNoModuleMemberSymbol(moduleSymbol, targetSymbol, node, name); + } + return symbol; + } + } + } + function errorNoModuleMemberSymbol(moduleSymbol, targetSymbol, node, name) { + var _a; + const moduleName = getFullyQualifiedName(moduleSymbol, node); + const declarationName = declarationNameToString(name); + const suggestion = isIdentifier(name) ? getSuggestedSymbolForNonexistentModule(name, targetSymbol) : void 0; + if (suggestion !== void 0) { + const suggestionName = symbolToString(suggestion); + const diagnostic = error(name, Diagnostics._0_has_no_exported_member_named_1_Did_you_mean_2, moduleName, declarationName, suggestionName); + if (suggestion.valueDeclaration) { + addRelatedInfo(diagnostic, createDiagnosticForNode(suggestion.valueDeclaration, Diagnostics._0_is_declared_here, suggestionName)); + } + } else { + if ((_a = moduleSymbol.exports) == null ? void 0 : _a.has("default" /* Default */)) { + error( + name, + Diagnostics.Module_0_has_no_exported_member_1_Did_you_mean_to_use_import_1_from_0_instead, + moduleName, + declarationName + ); + } else { + reportNonExportedMember(node, name, declarationName, moduleSymbol, moduleName); + } + } + } + function reportNonExportedMember(node, name, declarationName, moduleSymbol, moduleName) { + var _a, _b; + const localSymbol = (_b = (_a = tryCast(moduleSymbol.valueDeclaration, canHaveLocals)) == null ? void 0 : _a.locals) == null ? void 0 : _b.get(moduleExportNameTextEscaped(name)); + const exports2 = moduleSymbol.exports; + if (localSymbol) { + const exportedEqualsSymbol = exports2 == null ? void 0 : exports2.get("export=" /* ExportEquals */); + if (exportedEqualsSymbol) { + getSymbolIfSameReference(exportedEqualsSymbol, localSymbol) ? reportInvalidImportEqualsExportMember(node, name, declarationName, moduleName) : error(name, Diagnostics.Module_0_has_no_exported_member_1, moduleName, declarationName); + } else { + const exportedSymbol = exports2 ? find(symbolsToArray(exports2), (symbol) => !!getSymbolIfSameReference(symbol, localSymbol)) : void 0; + const diagnostic = exportedSymbol ? error(name, Diagnostics.Module_0_declares_1_locally_but_it_is_exported_as_2, moduleName, declarationName, symbolToString(exportedSymbol)) : error(name, Diagnostics.Module_0_declares_1_locally_but_it_is_not_exported, moduleName, declarationName); + if (localSymbol.declarations) { + addRelatedInfo(diagnostic, ...map(localSymbol.declarations, (decl, index) => createDiagnosticForNode(decl, index === 0 ? Diagnostics._0_is_declared_here : Diagnostics.and_here, declarationName))); + } + } + } else { + error(name, Diagnostics.Module_0_has_no_exported_member_1, moduleName, declarationName); + } + } + function reportInvalidImportEqualsExportMember(node, name, declarationName, moduleName) { + if (moduleKind >= 5 /* ES2015 */) { + const message = getESModuleInterop(compilerOptions) ? Diagnostics._0_can_only_be_imported_by_using_a_default_import : Diagnostics._0_can_only_be_imported_by_turning_on_the_esModuleInterop_flag_and_using_a_default_import; + error(name, message, declarationName); + } else { + if (isInJSFile(node)) { + const message = getESModuleInterop(compilerOptions) ? Diagnostics._0_can_only_be_imported_by_using_a_require_call_or_by_using_a_default_import : Diagnostics._0_can_only_be_imported_by_using_a_require_call_or_by_turning_on_the_esModuleInterop_flag_and_using_a_default_import; + error(name, message, declarationName); + } else { + const message = getESModuleInterop(compilerOptions) ? Diagnostics._0_can_only_be_imported_by_using_import_1_require_2_or_a_default_import : Diagnostics._0_can_only_be_imported_by_using_import_1_require_2_or_by_turning_on_the_esModuleInterop_flag_and_using_a_default_import; + error(name, message, declarationName, declarationName, moduleName); + } + } + } + function getTargetOfImportSpecifier(node, dontResolveAlias) { + if (isImportSpecifier(node) && moduleExportNameIsDefault(node.propertyName || node.name)) { + const specifier = getModuleSpecifierForImportOrExport(node); + const moduleSymbol = specifier && resolveExternalModuleName(node, specifier); + if (moduleSymbol) { + return getTargetofModuleDefault(moduleSymbol, node, dontResolveAlias); + } + } + const root = isBindingElement(node) ? getRootDeclaration(node) : node.parent.parent.parent; + const commonJSPropertyAccess = getCommonJSPropertyAccess(root); + const resolved = getExternalModuleMember(root, commonJSPropertyAccess || node, dontResolveAlias); + const name = node.propertyName || node.name; + if (commonJSPropertyAccess && resolved && isIdentifier(name)) { + return resolveSymbol(getPropertyOfType(getTypeOfSymbol(resolved), name.escapedText), dontResolveAlias); + } + markSymbolOfAliasDeclarationIfTypeOnly( + node, + /*immediateTarget*/ + void 0, + resolved, + /*overwriteEmpty*/ + false + ); + return resolved; + } + function getCommonJSPropertyAccess(node) { + if (isVariableDeclaration(node) && node.initializer && isPropertyAccessExpression(node.initializer)) { + return node.initializer; + } + } + function getTargetOfNamespaceExportDeclaration(node, dontResolveAlias) { + if (canHaveSymbol(node.parent)) { + const resolved = resolveExternalModuleSymbol(node.parent.symbol, dontResolveAlias); + markSymbolOfAliasDeclarationIfTypeOnly( + node, + /*immediateTarget*/ + void 0, + resolved, + /*overwriteEmpty*/ + false + ); + return resolved; + } + } + function getTargetOfExportSpecifier(node, meaning, dontResolveAlias) { + const name = node.propertyName || node.name; + if (moduleExportNameIsDefault(name)) { + const specifier = getModuleSpecifierForImportOrExport(node); + const moduleSymbol = specifier && resolveExternalModuleName(node, specifier); + if (moduleSymbol) { + return getTargetofModuleDefault(moduleSymbol, node, !!dontResolveAlias); + } + } + const resolved = node.parent.parent.moduleSpecifier ? getExternalModuleMember(node.parent.parent, node, dontResolveAlias) : name.kind === 11 /* StringLiteral */ ? void 0 : ( + // Skip for invalid syntax like this: export { "x" } + resolveEntityName( + name, + meaning, + /*ignoreErrors*/ + false, + dontResolveAlias + ) + ); + markSymbolOfAliasDeclarationIfTypeOnly( + node, + /*immediateTarget*/ + void 0, + resolved, + /*overwriteEmpty*/ + false + ); + return resolved; + } + function getTargetOfExportAssignment(node, dontResolveAlias) { + const expression = isExportAssignment(node) ? node.expression : node.right; + const resolved = getTargetOfAliasLikeExpression(expression, dontResolveAlias); + markSymbolOfAliasDeclarationIfTypeOnly( + node, + /*immediateTarget*/ + void 0, + resolved, + /*overwriteEmpty*/ + false + ); + return resolved; + } + function getTargetOfAliasLikeExpression(expression, dontResolveAlias) { + if (isClassExpression(expression)) { + return checkExpressionCached(expression).symbol; + } + if (!isEntityName(expression) && !isEntityNameExpression(expression)) { + return void 0; + } + const aliasLike = resolveEntityName( + expression, + 111551 /* Value */ | 788968 /* Type */ | 1920 /* Namespace */, + /*ignoreErrors*/ + true, + dontResolveAlias + ); + if (aliasLike) { + return aliasLike; + } + checkExpressionCached(expression); + return getNodeLinks(expression).resolvedSymbol; + } + function getTargetOfAccessExpression(node, dontRecursivelyResolve) { + if (!(isBinaryExpression(node.parent) && node.parent.left === node && node.parent.operatorToken.kind === 64 /* EqualsToken */)) { + return void 0; + } + return getTargetOfAliasLikeExpression(node.parent.right, dontRecursivelyResolve); + } + function getTargetOfAliasDeclaration(node, dontRecursivelyResolve = false) { + switch (node.kind) { + case 271 /* ImportEqualsDeclaration */: + case 260 /* VariableDeclaration */: + return getTargetOfImportEqualsDeclaration(node, dontRecursivelyResolve); + case 273 /* ImportClause */: + return getTargetOfImportClause(node, dontRecursivelyResolve); + case 274 /* NamespaceImport */: + return getTargetOfNamespaceImport(node, dontRecursivelyResolve); + case 280 /* NamespaceExport */: + return getTargetOfNamespaceExport(node, dontRecursivelyResolve); + case 276 /* ImportSpecifier */: + case 208 /* BindingElement */: + return getTargetOfImportSpecifier(node, dontRecursivelyResolve); + case 281 /* ExportSpecifier */: + return getTargetOfExportSpecifier(node, 111551 /* Value */ | 788968 /* Type */ | 1920 /* Namespace */, dontRecursivelyResolve); + case 277 /* ExportAssignment */: + case 226 /* BinaryExpression */: + return getTargetOfExportAssignment(node, dontRecursivelyResolve); + case 270 /* NamespaceExportDeclaration */: + return getTargetOfNamespaceExportDeclaration(node, dontRecursivelyResolve); + case 304 /* ShorthandPropertyAssignment */: + return resolveEntityName( + node.name, + 111551 /* Value */ | 788968 /* Type */ | 1920 /* Namespace */, + /*ignoreErrors*/ + true, + dontRecursivelyResolve + ); + case 303 /* PropertyAssignment */: + return getTargetOfAliasLikeExpression(node.initializer, dontRecursivelyResolve); + case 212 /* ElementAccessExpression */: + case 211 /* PropertyAccessExpression */: + return getTargetOfAccessExpression(node, dontRecursivelyResolve); + default: + return Debug.fail(); + } + } + function isNonLocalAlias(symbol, excludes = 111551 /* Value */ | 788968 /* Type */ | 1920 /* Namespace */) { + if (!symbol) return false; + return (symbol.flags & (2097152 /* Alias */ | excludes)) === 2097152 /* Alias */ || !!(symbol.flags & 2097152 /* Alias */ && symbol.flags & 67108864 /* Assignment */); + } + function resolveSymbol(symbol, dontResolveAlias) { + return !dontResolveAlias && isNonLocalAlias(symbol) ? resolveAlias(symbol) : symbol; + } + function resolveAlias(symbol) { + Debug.assert((symbol.flags & 2097152 /* Alias */) !== 0, "Should only get Alias here."); + const links = getSymbolLinks(symbol); + if (!links.aliasTarget) { + links.aliasTarget = resolvingSymbol; + const node = getDeclarationOfAliasSymbol(symbol); + if (!node) return Debug.fail(); + const target = getTargetOfAliasDeclaration(node); + if (links.aliasTarget === resolvingSymbol) { + links.aliasTarget = target || unknownSymbol; + } else { + error(node, Diagnostics.Circular_definition_of_import_alias_0, symbolToString(symbol)); + } + } else if (links.aliasTarget === resolvingSymbol) { + links.aliasTarget = unknownSymbol; + } + return links.aliasTarget; + } + function tryResolveAlias(symbol) { + const links = getSymbolLinks(symbol); + if (links.aliasTarget !== resolvingSymbol) { + return resolveAlias(symbol); + } + return void 0; + } + function getSymbolFlags(symbol, excludeTypeOnlyMeanings, excludeLocalMeanings) { + const typeOnlyDeclaration = excludeTypeOnlyMeanings && getTypeOnlyAliasDeclaration(symbol); + const typeOnlyDeclarationIsExportStar = typeOnlyDeclaration && isExportDeclaration(typeOnlyDeclaration); + const typeOnlyResolution = typeOnlyDeclaration && (typeOnlyDeclarationIsExportStar ? resolveExternalModuleName( + typeOnlyDeclaration.moduleSpecifier, + typeOnlyDeclaration.moduleSpecifier, + /*ignoreErrors*/ + true + ) : resolveAlias(typeOnlyDeclaration.symbol)); + const typeOnlyExportStarTargets = typeOnlyDeclarationIsExportStar && typeOnlyResolution ? getExportsOfModule(typeOnlyResolution) : void 0; + let flags = excludeLocalMeanings ? 0 /* None */ : symbol.flags; + let seenSymbols; + while (symbol.flags & 2097152 /* Alias */) { + const target = getExportSymbolOfValueSymbolIfExported(resolveAlias(symbol)); + if (!typeOnlyDeclarationIsExportStar && target === typeOnlyResolution || (typeOnlyExportStarTargets == null ? void 0 : typeOnlyExportStarTargets.get(target.escapedName)) === target) { + break; + } + if (target === unknownSymbol) { + return -1 /* All */; + } + if (target === symbol || (seenSymbols == null ? void 0 : seenSymbols.has(target))) { + break; + } + if (target.flags & 2097152 /* Alias */) { + if (seenSymbols) { + seenSymbols.add(target); + } else { + seenSymbols = /* @__PURE__ */ new Set([symbol, target]); + } + } + flags |= target.flags; + symbol = target; + } + return flags; + } + function markSymbolOfAliasDeclarationIfTypeOnly(aliasDeclaration, immediateTarget, finalTarget, overwriteEmpty, exportStarDeclaration, exportStarName) { + if (!aliasDeclaration || isPropertyAccessExpression(aliasDeclaration)) return false; + const sourceSymbol = getSymbolOfDeclaration(aliasDeclaration); + if (isTypeOnlyImportOrExportDeclaration(aliasDeclaration)) { + const links2 = getSymbolLinks(sourceSymbol); + links2.typeOnlyDeclaration = aliasDeclaration; + return true; + } + if (exportStarDeclaration) { + const links2 = getSymbolLinks(sourceSymbol); + links2.typeOnlyDeclaration = exportStarDeclaration; + if (sourceSymbol.escapedName !== exportStarName) { + links2.typeOnlyExportStarName = exportStarName; + } + return true; + } + const links = getSymbolLinks(sourceSymbol); + return markSymbolOfAliasDeclarationIfTypeOnlyWorker(links, immediateTarget, overwriteEmpty) || markSymbolOfAliasDeclarationIfTypeOnlyWorker(links, finalTarget, overwriteEmpty); + } + function markSymbolOfAliasDeclarationIfTypeOnlyWorker(aliasDeclarationLinks, target, overwriteEmpty) { + var _a; + if (target && (aliasDeclarationLinks.typeOnlyDeclaration === void 0 || overwriteEmpty && aliasDeclarationLinks.typeOnlyDeclaration === false)) { + const exportSymbol = ((_a = target.exports) == null ? void 0 : _a.get("export=" /* ExportEquals */)) ?? target; + const typeOnly = exportSymbol.declarations && find(exportSymbol.declarations, isTypeOnlyImportOrExportDeclaration); + aliasDeclarationLinks.typeOnlyDeclaration = typeOnly ?? getSymbolLinks(exportSymbol).typeOnlyDeclaration ?? false; + } + return !!aliasDeclarationLinks.typeOnlyDeclaration; + } + function getTypeOnlyAliasDeclaration(symbol, include) { + var _a; + if (!(symbol.flags & 2097152 /* Alias */)) { + return void 0; + } + const links = getSymbolLinks(symbol); + if (links.typeOnlyDeclaration === void 0) { + links.typeOnlyDeclaration = false; + const resolved = resolveSymbol(symbol); + markSymbolOfAliasDeclarationIfTypeOnly( + (_a = symbol.declarations) == null ? void 0 : _a[0], + getDeclarationOfAliasSymbol(symbol) && getImmediateAliasedSymbol(symbol), + resolved, + /*overwriteEmpty*/ + true + ); + } + if (include === void 0) { + return links.typeOnlyDeclaration || void 0; + } + if (links.typeOnlyDeclaration) { + const resolved = links.typeOnlyDeclaration.kind === 278 /* ExportDeclaration */ ? resolveSymbol(getExportsOfModule(links.typeOnlyDeclaration.symbol.parent).get(links.typeOnlyExportStarName || symbol.escapedName)) : resolveAlias(links.typeOnlyDeclaration.symbol); + return getSymbolFlags(resolved) & include ? links.typeOnlyDeclaration : void 0; + } + return void 0; + } + function getSymbolOfPartOfRightHandSideOfImportEquals(entityName, dontResolveAlias) { + if (entityName.kind === 80 /* Identifier */ && isRightSideOfQualifiedNameOrPropertyAccess(entityName)) { + entityName = entityName.parent; + } + if (entityName.kind === 80 /* Identifier */ || entityName.parent.kind === 166 /* QualifiedName */) { + return resolveEntityName( + entityName, + 1920 /* Namespace */, + /*ignoreErrors*/ + false, + dontResolveAlias + ); + } else { + Debug.assert(entityName.parent.kind === 271 /* ImportEqualsDeclaration */); + return resolveEntityName( + entityName, + 111551 /* Value */ | 788968 /* Type */ | 1920 /* Namespace */, + /*ignoreErrors*/ + false, + dontResolveAlias + ); + } + } + function getFullyQualifiedName(symbol, containingLocation) { + return symbol.parent ? getFullyQualifiedName(symbol.parent, containingLocation) + "." + symbolToString(symbol) : symbolToString( + symbol, + containingLocation, + /*meaning*/ + void 0, + 32 /* DoNotIncludeSymbolChain */ | 4 /* AllowAnyNodeKind */ + ); + } + function getContainingQualifiedNameNode(node) { + while (isQualifiedName(node.parent)) { + node = node.parent; + } + return node; + } + function tryGetQualifiedNameAsValue(node) { + let left = getFirstIdentifier(node); + let symbol = resolveName( + left, + left, + 111551 /* Value */, + /*nameNotFoundMessage*/ + void 0, + /*isUse*/ + true + ); + if (!symbol) { + return void 0; + } + while (isQualifiedName(left.parent)) { + const type = getTypeOfSymbol(symbol); + symbol = getPropertyOfType(type, left.parent.right.escapedText); + if (!symbol) { + return void 0; + } + left = left.parent; + } + return symbol; + } + function resolveEntityName(name, meaning, ignoreErrors, dontResolveAlias, location) { + if (nodeIsMissing(name)) { + return void 0; + } + const namespaceMeaning = 1920 /* Namespace */ | (isInJSFile(name) ? meaning & 111551 /* Value */ : 0); + let symbol; + if (name.kind === 80 /* Identifier */) { + const message = meaning === namespaceMeaning || nodeIsSynthesized(name) ? Diagnostics.Cannot_find_namespace_0 : getCannotFindNameDiagnosticForName(getFirstIdentifier(name)); + const symbolFromJSPrototype = isInJSFile(name) && !nodeIsSynthesized(name) ? resolveEntityNameFromAssignmentDeclaration(name, meaning) : void 0; + symbol = getMergedSymbol(resolveName( + location || name, + name, + meaning, + ignoreErrors || symbolFromJSPrototype ? void 0 : message, + /*isUse*/ + true, + /*excludeGlobals*/ + false + )); + if (!symbol) { + return getMergedSymbol(symbolFromJSPrototype); + } + } else if (name.kind === 166 /* QualifiedName */ || name.kind === 211 /* PropertyAccessExpression */) { + const left = name.kind === 166 /* QualifiedName */ ? name.left : name.expression; + const right = name.kind === 166 /* QualifiedName */ ? name.right : name.name; + let namespace = resolveEntityName( + left, + namespaceMeaning, + ignoreErrors, + /*dontResolveAlias*/ + false, + location + ); + if (!namespace || nodeIsMissing(right)) { + return void 0; + } else if (namespace === unknownSymbol) { + return namespace; + } + if (namespace.valueDeclaration && isInJSFile(namespace.valueDeclaration) && getEmitModuleResolutionKind(compilerOptions) !== 100 /* Bundler */ && isVariableDeclaration(namespace.valueDeclaration) && namespace.valueDeclaration.initializer && isCommonJsRequire(namespace.valueDeclaration.initializer)) { + const moduleName = namespace.valueDeclaration.initializer.arguments[0]; + const moduleSym = resolveExternalModuleName(moduleName, moduleName); + if (moduleSym) { + const resolvedModuleSymbol = resolveExternalModuleSymbol(moduleSym); + if (resolvedModuleSymbol) { + namespace = resolvedModuleSymbol; + } + } + } + symbol = getMergedSymbol(getSymbol(getExportsOfSymbol(namespace), right.escapedText, meaning)); + if (!symbol && namespace.flags & 2097152 /* Alias */) { + symbol = getMergedSymbol(getSymbol(getExportsOfSymbol(resolveAlias(namespace)), right.escapedText, meaning)); + } + if (!symbol) { + if (!ignoreErrors) { + const namespaceName = getFullyQualifiedName(namespace); + const declarationName = declarationNameToString(right); + const suggestionForNonexistentModule = getSuggestedSymbolForNonexistentModule(right, namespace); + if (suggestionForNonexistentModule) { + error(right, Diagnostics._0_has_no_exported_member_named_1_Did_you_mean_2, namespaceName, declarationName, symbolToString(suggestionForNonexistentModule)); + return void 0; + } + const containingQualifiedName = isQualifiedName(name) && getContainingQualifiedNameNode(name); + const canSuggestTypeof = globalObjectType && meaning & 788968 /* Type */ && containingQualifiedName && !isTypeOfExpression(containingQualifiedName.parent) && tryGetQualifiedNameAsValue(containingQualifiedName); + if (canSuggestTypeof) { + error( + containingQualifiedName, + Diagnostics._0_refers_to_a_value_but_is_being_used_as_a_type_here_Did_you_mean_typeof_0, + entityNameToString(containingQualifiedName) + ); + return void 0; + } + if (meaning & 1920 /* Namespace */ && isQualifiedName(name.parent)) { + const exportedTypeSymbol = getMergedSymbol(getSymbol(getExportsOfSymbol(namespace), right.escapedText, 788968 /* Type */)); + if (exportedTypeSymbol) { + error( + name.parent.right, + 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, + symbolToString(exportedTypeSymbol), + unescapeLeadingUnderscores(name.parent.right.escapedText) + ); + return void 0; + } + } + error(right, Diagnostics.Namespace_0_has_no_exported_member_1, namespaceName, declarationName); + } + return void 0; + } + } else { + Debug.assertNever(name, "Unknown entity name kind."); + } + if (!nodeIsSynthesized(name) && isEntityName(name) && (symbol.flags & 2097152 /* Alias */ || name.parent.kind === 277 /* ExportAssignment */)) { + markSymbolOfAliasDeclarationIfTypeOnly( + getAliasDeclarationFromName(name), + symbol, + /*finalTarget*/ + void 0, + /*overwriteEmpty*/ + true + ); + } + return symbol.flags & meaning || dontResolveAlias ? symbol : resolveAlias(symbol); + } + function resolveEntityNameFromAssignmentDeclaration(name, meaning) { + if (isJSDocTypeReference(name.parent)) { + const secondaryLocation = getAssignmentDeclarationLocation(name.parent); + if (secondaryLocation) { + return resolveName( + secondaryLocation, + name, + meaning, + /*nameNotFoundMessage*/ + void 0, + /*isUse*/ + true + ); + } + } + } + function getAssignmentDeclarationLocation(node) { + const typeAlias = findAncestor(node, (node2) => !(isJSDocNode(node2) || node2.flags & 16777216 /* JSDoc */) ? "quit" : isJSDocTypeAlias(node2)); + if (typeAlias) { + return; + } + const host2 = getJSDocHost(node); + if (host2 && isExpressionStatement(host2) && isPrototypePropertyAssignment(host2.expression)) { + const symbol = getSymbolOfDeclaration(host2.expression.left); + if (symbol) { + return getDeclarationOfJSPrototypeContainer(symbol); + } + } + if (host2 && isFunctionExpression(host2) && isPrototypePropertyAssignment(host2.parent) && isExpressionStatement(host2.parent.parent)) { + const symbol = getSymbolOfDeclaration(host2.parent.left); + if (symbol) { + return getDeclarationOfJSPrototypeContainer(symbol); + } + } + if (host2 && (isObjectLiteralMethod(host2) || isPropertyAssignment(host2)) && isBinaryExpression(host2.parent.parent) && getAssignmentDeclarationKind(host2.parent.parent) === 6 /* Prototype */) { + const symbol = getSymbolOfDeclaration(host2.parent.parent.left); + if (symbol) { + return getDeclarationOfJSPrototypeContainer(symbol); + } + } + const sig = getEffectiveJSDocHost(node); + if (sig && isFunctionLike(sig)) { + const symbol = getSymbolOfDeclaration(sig); + return symbol && symbol.valueDeclaration; + } + } + function getDeclarationOfJSPrototypeContainer(symbol) { + const decl = symbol.parent.valueDeclaration; + if (!decl) { + return void 0; + } + const initializer = isAssignmentDeclaration(decl) ? getAssignedExpandoInitializer(decl) : hasOnlyExpressionInitializer(decl) ? getDeclaredExpandoInitializer(decl) : void 0; + return initializer || decl; + } + function getExpandoSymbol(symbol) { + const decl = symbol.valueDeclaration; + if (!decl || !isInJSFile(decl) || symbol.flags & 524288 /* TypeAlias */ || getExpandoInitializer( + decl, + /*isPrototypeAssignment*/ + false + )) { + return void 0; + } + const init = isVariableDeclaration(decl) ? getDeclaredExpandoInitializer(decl) : getAssignedExpandoInitializer(decl); + if (init) { + const initSymbol = getSymbolOfNode(init); + if (initSymbol) { + return mergeJSSymbols(initSymbol, symbol); + } + } + } + function resolveExternalModuleName(location, moduleReferenceExpression, ignoreErrors) { + const isClassic = getEmitModuleResolutionKind(compilerOptions) === 1 /* Classic */; + const errorMessage = isClassic ? Diagnostics.Cannot_find_module_0_Did_you_mean_to_set_the_moduleResolution_option_to_nodenext_or_to_add_aliases_to_the_paths_option : Diagnostics.Cannot_find_module_0_or_its_corresponding_type_declarations; + return resolveExternalModuleNameWorker(location, moduleReferenceExpression, ignoreErrors ? void 0 : errorMessage, ignoreErrors); + } + function resolveExternalModuleNameWorker(location, moduleReferenceExpression, moduleNotFoundError, ignoreErrors = false, isForAugmentation = false) { + return isStringLiteralLike(moduleReferenceExpression) ? resolveExternalModule(location, moduleReferenceExpression.text, moduleNotFoundError, !ignoreErrors ? moduleReferenceExpression : void 0, isForAugmentation) : void 0; + } + function resolveExternalModule(location, moduleReference, moduleNotFoundError, errorNode, isForAugmentation = false) { + var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k; + if (errorNode && startsWith(moduleReference, "@types/")) { + const diag2 = Diagnostics.Cannot_import_type_declaration_files_Consider_importing_0_instead_of_1; + const withoutAtTypePrefix = removePrefix(moduleReference, "@types/"); + error(errorNode, diag2, withoutAtTypePrefix, moduleReference); + } + const ambientModule = tryFindAmbientModule( + moduleReference, + /*withAugmentations*/ + true + ); + if (ambientModule) { + return ambientModule; + } + const currentSourceFile = getSourceFileOfNode(location); + const contextSpecifier = isStringLiteralLike(location) ? location : ((_a = isModuleDeclaration(location) ? location : location.parent && isModuleDeclaration(location.parent) && location.parent.name === location ? location.parent : void 0) == null ? void 0 : _a.name) || ((_b = isLiteralImportTypeNode(location) ? location : void 0) == null ? void 0 : _b.argument.literal) || (isVariableDeclaration(location) && location.initializer && isRequireCall( + location.initializer, + /*requireStringLiteralLikeArgument*/ + true + ) ? location.initializer.arguments[0] : void 0) || ((_c = findAncestor(location, isImportCall)) == null ? void 0 : _c.arguments[0]) || ((_d = findAncestor(location, or(isImportDeclaration, isJSDocImportTag, isExportDeclaration))) == null ? void 0 : _d.moduleSpecifier) || ((_e = findAncestor(location, isExternalModuleImportEqualsDeclaration)) == null ? void 0 : _e.moduleReference.expression); + const mode = contextSpecifier && isStringLiteralLike(contextSpecifier) ? host.getModeForUsageLocation(currentSourceFile, contextSpecifier) : host.getDefaultResolutionModeForFile(currentSourceFile); + const moduleResolutionKind = getEmitModuleResolutionKind(compilerOptions); + const resolvedModule = (_f = host.getResolvedModule(currentSourceFile, moduleReference, mode)) == null ? void 0 : _f.resolvedModule; + const resolutionDiagnostic = errorNode && resolvedModule && getResolutionDiagnostic(compilerOptions, resolvedModule, currentSourceFile); + const sourceFile = resolvedModule && (!resolutionDiagnostic || resolutionDiagnostic === Diagnostics.Module_0_was_resolved_to_1_but_jsx_is_not_set) && host.getSourceFile(resolvedModule.resolvedFileName); + if (sourceFile) { + if (resolutionDiagnostic) { + error(errorNode, resolutionDiagnostic, moduleReference, resolvedModule.resolvedFileName); + } + if (resolvedModule.resolvedUsingTsExtension && isDeclarationFileName(moduleReference)) { + const importOrExport = ((_g = findAncestor(location, isImportDeclaration)) == null ? void 0 : _g.importClause) || findAncestor(location, or(isImportEqualsDeclaration, isExportDeclaration)); + if (errorNode && importOrExport && !importOrExport.isTypeOnly || findAncestor(location, isImportCall)) { + error( + errorNode, + Diagnostics.A_declaration_file_cannot_be_imported_without_import_type_Did_you_mean_to_import_an_implementation_file_0_instead, + getSuggestedImportSource(Debug.checkDefined(tryExtractTSExtension(moduleReference))) + ); + } + } else if (resolvedModule.resolvedUsingTsExtension && !shouldAllowImportingTsExtension(compilerOptions, currentSourceFile.fileName)) { + const importOrExport = ((_h = findAncestor(location, isImportDeclaration)) == null ? void 0 : _h.importClause) || findAncestor(location, or(isImportEqualsDeclaration, isExportDeclaration)); + if (errorNode && !((importOrExport == null ? void 0 : importOrExport.isTypeOnly) || findAncestor(location, isImportTypeNode))) { + const tsExtension = Debug.checkDefined(tryExtractTSExtension(moduleReference)); + error(errorNode, Diagnostics.An_import_path_can_only_end_with_a_0_extension_when_allowImportingTsExtensions_is_enabled, tsExtension); + } + } else if (compilerOptions.rewriteRelativeImportExtensions && !(location.flags & 33554432 /* Ambient */) && !isDeclarationFileName(moduleReference) && !isLiteralImportTypeNode(location) && !isPartOfTypeOnlyImportOrExportDeclaration(location)) { + const shouldRewrite = shouldRewriteModuleSpecifier(moduleReference, compilerOptions); + if (!resolvedModule.resolvedUsingTsExtension && shouldRewrite) { + error( + errorNode, + Diagnostics.This_relative_import_path_is_unsafe_to_rewrite_because_it_looks_like_a_file_name_but_actually_resolves_to_0, + getRelativePathFromFile(getNormalizedAbsolutePath(currentSourceFile.fileName, host.getCurrentDirectory()), resolvedModule.resolvedFileName, hostGetCanonicalFileName(host)) + ); + } else if (resolvedModule.resolvedUsingTsExtension && !shouldRewrite && sourceFileMayBeEmitted(sourceFile, host)) { + error( + errorNode, + Diagnostics.This_import_uses_a_0_extension_to_resolve_to_an_input_TypeScript_file_but_will_not_be_rewritten_during_emit_because_it_is_not_a_relative_path, + getAnyExtensionFromPath(moduleReference) + ); + } else if (resolvedModule.resolvedUsingTsExtension && shouldRewrite) { + const redirect = host.getResolvedProjectReferenceToRedirect(sourceFile.path); + if (redirect) { + const ignoreCase = !host.useCaseSensitiveFileNames(); + const ownRootDir = host.getCommonSourceDirectory(); + const otherRootDir = getCommonSourceDirectoryOfConfig(redirect.commandLine, ignoreCase); + const rootDirPath = getRelativePathFromDirectory(ownRootDir, otherRootDir, ignoreCase); + const outDirPath = getRelativePathFromDirectory(compilerOptions.outDir || ownRootDir, redirect.commandLine.options.outDir || otherRootDir, ignoreCase); + if (rootDirPath !== outDirPath) { + error( + errorNode, + Diagnostics.This_import_path_is_unsafe_to_rewrite_because_it_resolves_to_another_project_and_the_relative_path_between_the_projects_output_files_is_not_the_same_as_the_relative_path_between_its_input_files + ); + } + } + } + } + if (sourceFile.symbol) { + if (errorNode && resolvedModule.isExternalLibraryImport && !resolutionExtensionIsTSOrJson(resolvedModule.extension)) { + errorOnImplicitAnyModule( + /*isError*/ + false, + errorNode, + currentSourceFile, + mode, + resolvedModule, + moduleReference + ); + } + if (errorNode && (moduleResolutionKind === 3 /* Node16 */ || moduleResolutionKind === 99 /* NodeNext */)) { + const isSyncImport = currentSourceFile.impliedNodeFormat === 1 /* CommonJS */ && !findAncestor(location, isImportCall) || !!findAncestor(location, isImportEqualsDeclaration); + const overrideHost = findAncestor(location, (l) => isImportTypeNode(l) || isExportDeclaration(l) || isImportDeclaration(l) || isJSDocImportTag(l)); + if (isSyncImport && sourceFile.impliedNodeFormat === 99 /* ESNext */ && !hasResolutionModeOverride(overrideHost)) { + if (findAncestor(location, isImportEqualsDeclaration)) { + error(errorNode, Diagnostics.Module_0_cannot_be_imported_using_this_construct_The_specifier_only_resolves_to_an_ES_module_which_cannot_be_imported_with_require_Use_an_ECMAScript_import_instead, moduleReference); + } else { + let diagnosticDetails; + const ext = tryGetExtensionFromPath2(currentSourceFile.fileName); + if (ext === ".ts" /* Ts */ || ext === ".js" /* Js */ || ext === ".tsx" /* Tsx */ || ext === ".jsx" /* Jsx */) { + diagnosticDetails = createModeMismatchDetails(currentSourceFile); + } + const message = (overrideHost == null ? void 0 : overrideHost.kind) === 272 /* ImportDeclaration */ && ((_i = overrideHost.importClause) == null ? void 0 : _i.isTypeOnly) ? Diagnostics.Type_only_import_of_an_ECMAScript_module_from_a_CommonJS_module_must_have_a_resolution_mode_attribute : (overrideHost == null ? void 0 : overrideHost.kind) === 205 /* ImportType */ ? Diagnostics.Type_import_of_an_ECMAScript_module_from_a_CommonJS_module_must_have_a_resolution_mode_attribute : Diagnostics.The_current_file_is_a_CommonJS_module_whose_imports_will_produce_require_calls_however_the_referenced_file_is_an_ECMAScript_module_and_cannot_be_imported_with_require_Consider_writing_a_dynamic_import_0_call_instead; + diagnostics.add(createDiagnosticForNodeFromMessageChain( + getSourceFileOfNode(errorNode), + errorNode, + chainDiagnosticMessages(diagnosticDetails, message, moduleReference) + )); + } + } + } + return getMergedSymbol(sourceFile.symbol); + } + if (errorNode && moduleNotFoundError && !isSideEffectImport(errorNode)) { + error(errorNode, Diagnostics.File_0_is_not_a_module, sourceFile.fileName); + } + return void 0; + } + if (patternAmbientModules) { + const pattern = findBestPatternMatch(patternAmbientModules, (_) => _.pattern, moduleReference); + if (pattern) { + const augmentation = patternAmbientModuleAugmentations && patternAmbientModuleAugmentations.get(moduleReference); + if (augmentation) { + return getMergedSymbol(augmentation); + } + return getMergedSymbol(pattern.symbol); + } + } + if (!errorNode) { + return void 0; + } + if (resolvedModule && !resolutionExtensionIsTSOrJson(resolvedModule.extension) && resolutionDiagnostic === void 0 || resolutionDiagnostic === Diagnostics.Could_not_find_a_declaration_file_for_module_0_1_implicitly_has_an_any_type) { + if (isForAugmentation) { + const diag2 = Diagnostics.Invalid_module_name_in_augmentation_Module_0_resolves_to_an_untyped_module_at_1_which_cannot_be_augmented; + error(errorNode, diag2, moduleReference, resolvedModule.resolvedFileName); + } else { + errorOnImplicitAnyModule( + /*isError*/ + noImplicitAny && !!moduleNotFoundError, + errorNode, + currentSourceFile, + mode, + resolvedModule, + moduleReference + ); + } + return void 0; + } + if (moduleNotFoundError) { + if (resolvedModule) { + const redirect = host.getProjectReferenceRedirect(resolvedModule.resolvedFileName); + if (redirect) { + error(errorNode, Diagnostics.Output_file_0_has_not_been_built_from_source_file_1, redirect, resolvedModule.resolvedFileName); + return void 0; + } + } + if (resolutionDiagnostic) { + error(errorNode, resolutionDiagnostic, moduleReference, resolvedModule.resolvedFileName); + } else { + const isExtensionlessRelativePathImport = pathIsRelative(moduleReference) && !hasExtension(moduleReference); + const resolutionIsNode16OrNext = moduleResolutionKind === 3 /* Node16 */ || moduleResolutionKind === 99 /* NodeNext */; + if (!getResolveJsonModule(compilerOptions) && fileExtensionIs(moduleReference, ".json" /* Json */) && moduleResolutionKind !== 1 /* Classic */ && hasJsonModuleEmitEnabled(compilerOptions)) { + error(errorNode, Diagnostics.Cannot_find_module_0_Consider_using_resolveJsonModule_to_import_module_with_json_extension, moduleReference); + } else if (mode === 99 /* ESNext */ && resolutionIsNode16OrNext && isExtensionlessRelativePathImport) { + const absoluteRef = getNormalizedAbsolutePath(moduleReference, getDirectoryPath(currentSourceFile.path)); + const suggestedExt = (_j = suggestedExtensions.find(([actualExt, _importExt]) => host.fileExists(absoluteRef + actualExt))) == null ? void 0 : _j[1]; + if (suggestedExt) { + error(errorNode, Diagnostics.Relative_import_paths_need_explicit_file_extensions_in_ECMAScript_imports_when_moduleResolution_is_node16_or_nodenext_Did_you_mean_0, moduleReference + suggestedExt); + } else { + error(errorNode, Diagnostics.Relative_import_paths_need_explicit_file_extensions_in_ECMAScript_imports_when_moduleResolution_is_node16_or_nodenext_Consider_adding_an_extension_to_the_import_path); + } + } else { + if ((_k = host.getResolvedModule(currentSourceFile, moduleReference, mode)) == null ? void 0 : _k.alternateResult) { + const errorInfo = createModuleNotFoundChain(currentSourceFile, host, moduleReference, mode, moduleReference); + errorOrSuggestion( + /*isError*/ + true, + errorNode, + chainDiagnosticMessages(errorInfo, moduleNotFoundError, moduleReference) + ); + } else { + error(errorNode, moduleNotFoundError, moduleReference); + } + } + } + } + return void 0; + function getSuggestedImportSource(tsExtension) { + const importSourceWithoutExtension = removeExtension(moduleReference, tsExtension); + if (emitModuleKindIsNonNodeESM(moduleKind) || mode === 99 /* ESNext */) { + const preferTs = isDeclarationFileName(moduleReference) && shouldAllowImportingTsExtension(compilerOptions); + const ext = tsExtension === ".mts" /* Mts */ || tsExtension === ".d.mts" /* Dmts */ ? preferTs ? ".mts" : ".mjs" : tsExtension === ".cts" /* Cts */ || tsExtension === ".d.mts" /* Dmts */ ? preferTs ? ".cts" : ".cjs" : preferTs ? ".ts" : ".js"; + return importSourceWithoutExtension + ext; + } + return importSourceWithoutExtension; + } + } + function errorOnImplicitAnyModule(isError, errorNode, sourceFile, mode, { packageId, resolvedFileName }, moduleReference) { + if (isSideEffectImport(errorNode)) { + return; + } + let errorInfo; + if (!isExternalModuleNameRelative(moduleReference) && packageId) { + errorInfo = createModuleNotFoundChain(sourceFile, host, moduleReference, mode, packageId.name); + } + errorOrSuggestion( + isError, + errorNode, + chainDiagnosticMessages( + errorInfo, + Diagnostics.Could_not_find_a_declaration_file_for_module_0_1_implicitly_has_an_any_type, + moduleReference, + resolvedFileName + ) + ); + } + function resolveExternalModuleSymbol(moduleSymbol, dontResolveAlias) { + if (moduleSymbol == null ? void 0 : moduleSymbol.exports) { + const exportEquals = resolveSymbol(moduleSymbol.exports.get("export=" /* ExportEquals */), dontResolveAlias); + const exported = getCommonJsExportEquals(getMergedSymbol(exportEquals), getMergedSymbol(moduleSymbol)); + return getMergedSymbol(exported) || moduleSymbol; + } + return void 0; + } + function getCommonJsExportEquals(exported, moduleSymbol) { + if (!exported || exported === unknownSymbol || exported === moduleSymbol || moduleSymbol.exports.size === 1 || exported.flags & 2097152 /* Alias */) { + return exported; + } + const links = getSymbolLinks(exported); + if (links.cjsExportMerged) { + return links.cjsExportMerged; + } + const merged = exported.flags & 33554432 /* Transient */ ? exported : cloneSymbol(exported); + merged.flags = merged.flags | 512 /* ValueModule */; + if (merged.exports === void 0) { + merged.exports = createSymbolTable(); + } + moduleSymbol.exports.forEach((s, name) => { + if (name === "export=" /* ExportEquals */) return; + merged.exports.set(name, merged.exports.has(name) ? mergeSymbol(merged.exports.get(name), s) : s); + }); + if (merged === exported) { + getSymbolLinks(merged).resolvedExports = void 0; + getSymbolLinks(merged).resolvedMembers = void 0; + } + getSymbolLinks(merged).cjsExportMerged = merged; + return links.cjsExportMerged = merged; + } + function resolveESModuleSymbol(moduleSymbol, referencingLocation, dontResolveAlias, suppressInteropError) { + var _a; + const symbol = resolveExternalModuleSymbol(moduleSymbol, dontResolveAlias); + if (!dontResolveAlias && symbol) { + if (!suppressInteropError && !(symbol.flags & (1536 /* Module */ | 3 /* Variable */)) && !getDeclarationOfKind(symbol, 307 /* SourceFile */)) { + const compilerOptionName = moduleKind >= 5 /* ES2015 */ ? "allowSyntheticDefaultImports" : "esModuleInterop"; + error(referencingLocation, Diagnostics.This_module_can_only_be_referenced_with_ECMAScript_imports_Slashexports_by_turning_on_the_0_flag_and_referencing_its_default_export, compilerOptionName); + return symbol; + } + const referenceParent = referencingLocation.parent; + if (isImportDeclaration(referenceParent) && getNamespaceDeclarationNode(referenceParent) || isImportCall(referenceParent)) { + const reference = isImportCall(referenceParent) ? referenceParent.arguments[0] : referenceParent.moduleSpecifier; + const type = getTypeOfSymbol(symbol); + const defaultOnlyType = getTypeWithSyntheticDefaultOnly(type, symbol, moduleSymbol, reference); + if (defaultOnlyType) { + return cloneTypeAsModuleType(symbol, defaultOnlyType, referenceParent); + } + const targetFile = (_a = moduleSymbol == null ? void 0 : moduleSymbol.declarations) == null ? void 0 : _a.find(isSourceFile); + const isEsmCjsRef = targetFile && isESMFormatImportImportingCommonjsFormatFile(getEmitSyntaxForModuleSpecifierExpression(reference), host.getImpliedNodeFormatForEmit(targetFile)); + if (getESModuleInterop(compilerOptions) || isEsmCjsRef) { + let sigs = getSignaturesOfStructuredType(type, 0 /* Call */); + if (!sigs || !sigs.length) { + sigs = getSignaturesOfStructuredType(type, 1 /* Construct */); + } + if (sigs && sigs.length || getPropertyOfType( + type, + "default" /* Default */, + /*skipObjectFunctionPropertyAugment*/ + true + ) || isEsmCjsRef) { + const moduleType = type.flags & 3670016 /* StructuredType */ ? getTypeWithSyntheticDefaultImportType(type, symbol, moduleSymbol, reference) : createDefaultPropertyWrapperForModule(symbol, symbol.parent); + return cloneTypeAsModuleType(symbol, moduleType, referenceParent); + } + } + } + } + return symbol; + } + function cloneTypeAsModuleType(symbol, moduleType, referenceParent) { + const result = createSymbol(symbol.flags, symbol.escapedName); + result.declarations = symbol.declarations ? symbol.declarations.slice() : []; + result.parent = symbol.parent; + result.links.target = symbol; + result.links.originatingImport = referenceParent; + if (symbol.valueDeclaration) result.valueDeclaration = symbol.valueDeclaration; + if (symbol.constEnumOnlyModule) result.constEnumOnlyModule = true; + if (symbol.members) result.members = new Map(symbol.members); + if (symbol.exports) result.exports = new Map(symbol.exports); + const resolvedModuleType = resolveStructuredTypeMembers(moduleType); + result.links.type = createAnonymousType(result, resolvedModuleType.members, emptyArray, emptyArray, resolvedModuleType.indexInfos); + return result; + } + function hasExportAssignmentSymbol(moduleSymbol) { + return moduleSymbol.exports.get("export=" /* ExportEquals */) !== void 0; + } + function getExportsOfModuleAsArray(moduleSymbol) { + return symbolsToArray(getExportsOfModule(moduleSymbol)); + } + function getExportsAndPropertiesOfModule(moduleSymbol) { + const exports2 = getExportsOfModuleAsArray(moduleSymbol); + const exportEquals = resolveExternalModuleSymbol(moduleSymbol); + if (exportEquals !== moduleSymbol) { + const type = getTypeOfSymbol(exportEquals); + if (shouldTreatPropertiesOfExternalModuleAsExports(type)) { + addRange(exports2, getPropertiesOfType(type)); + } + } + return exports2; + } + function forEachExportAndPropertyOfModule(moduleSymbol, cb) { + const exports2 = getExportsOfModule(moduleSymbol); + exports2.forEach((symbol, key) => { + if (!isReservedMemberName(key)) { + cb(symbol, key); + } + }); + const exportEquals = resolveExternalModuleSymbol(moduleSymbol); + if (exportEquals !== moduleSymbol) { + const type = getTypeOfSymbol(exportEquals); + if (shouldTreatPropertiesOfExternalModuleAsExports(type)) { + forEachPropertyOfType(type, (symbol, escapedName) => { + cb(symbol, escapedName); + }); + } + } + } + function tryGetMemberInModuleExports(memberName, moduleSymbol) { + const symbolTable = getExportsOfModule(moduleSymbol); + if (symbolTable) { + return symbolTable.get(memberName); + } + } + function tryGetMemberInModuleExportsAndProperties(memberName, moduleSymbol) { + const symbol = tryGetMemberInModuleExports(memberName, moduleSymbol); + if (symbol) { + return symbol; + } + const exportEquals = resolveExternalModuleSymbol(moduleSymbol); + if (exportEquals === moduleSymbol) { + return void 0; + } + const type = getTypeOfSymbol(exportEquals); + return shouldTreatPropertiesOfExternalModuleAsExports(type) ? getPropertyOfType(type, memberName) : void 0; + } + function shouldTreatPropertiesOfExternalModuleAsExports(resolvedExternalModuleType) { + return !(resolvedExternalModuleType.flags & 402784252 /* Primitive */ || getObjectFlags(resolvedExternalModuleType) & 1 /* Class */ || // `isArrayOrTupleLikeType` is too expensive to use in this auto-imports hot path + isArrayType(resolvedExternalModuleType) || isTupleType(resolvedExternalModuleType)); + } + function getExportsOfSymbol(symbol) { + return symbol.flags & 6256 /* LateBindingContainer */ ? getResolvedMembersOrExportsOfSymbol(symbol, "resolvedExports" /* resolvedExports */) : symbol.flags & 1536 /* Module */ ? getExportsOfModule(symbol) : symbol.exports || emptySymbols; + } + function getExportsOfModule(moduleSymbol) { + const links = getSymbolLinks(moduleSymbol); + if (!links.resolvedExports) { + const { exports: exports2, typeOnlyExportStarMap } = getExportsOfModuleWorker(moduleSymbol); + links.resolvedExports = exports2; + links.typeOnlyExportStarMap = typeOnlyExportStarMap; + } + return links.resolvedExports; + } + function extendExportSymbols(target, source, lookupTable, exportNode) { + if (!source) return; + source.forEach((sourceSymbol, id) => { + if (id === "default" /* Default */) return; + const targetSymbol = target.get(id); + if (!targetSymbol) { + target.set(id, sourceSymbol); + if (lookupTable && exportNode) { + lookupTable.set(id, { + specifierText: getTextOfNode(exportNode.moduleSpecifier) + }); + } + } else if (lookupTable && exportNode && targetSymbol && resolveSymbol(targetSymbol) !== resolveSymbol(sourceSymbol)) { + const collisionTracker = lookupTable.get(id); + if (!collisionTracker.exportsWithDuplicate) { + collisionTracker.exportsWithDuplicate = [exportNode]; + } else { + collisionTracker.exportsWithDuplicate.push(exportNode); + } + } + }); + } + function getExportsOfModuleWorker(moduleSymbol) { + const visitedSymbols = []; + let typeOnlyExportStarMap; + const nonTypeOnlyNames = /* @__PURE__ */ new Set(); + moduleSymbol = resolveExternalModuleSymbol(moduleSymbol); + const exports2 = visit(moduleSymbol) || emptySymbols; + if (typeOnlyExportStarMap) { + nonTypeOnlyNames.forEach((name) => typeOnlyExportStarMap.delete(name)); + } + return { + exports: exports2, + typeOnlyExportStarMap + }; + function visit(symbol, exportStar, isTypeOnly) { + if (!isTypeOnly && (symbol == null ? void 0 : symbol.exports)) { + symbol.exports.forEach((_, name) => nonTypeOnlyNames.add(name)); + } + if (!(symbol && symbol.exports && pushIfUnique(visitedSymbols, symbol))) { + return; + } + const symbols = new Map(symbol.exports); + const exportStars = symbol.exports.get("__export" /* ExportStar */); + if (exportStars) { + const nestedSymbols = createSymbolTable(); + const lookupTable = /* @__PURE__ */ new Map(); + if (exportStars.declarations) { + for (const node of exportStars.declarations) { + const resolvedModule = resolveExternalModuleName(node, node.moduleSpecifier); + const exportedSymbols = visit(resolvedModule, node, isTypeOnly || node.isTypeOnly); + extendExportSymbols( + nestedSymbols, + exportedSymbols, + lookupTable, + node + ); + } + } + lookupTable.forEach(({ exportsWithDuplicate }, id) => { + if (id === "export=" || !(exportsWithDuplicate && exportsWithDuplicate.length) || symbols.has(id)) { + return; + } + for (const node of exportsWithDuplicate) { + diagnostics.add(createDiagnosticForNode( + node, + Diagnostics.Module_0_has_already_exported_a_member_named_1_Consider_explicitly_re_exporting_to_resolve_the_ambiguity, + lookupTable.get(id).specifierText, + unescapeLeadingUnderscores(id) + )); + } + }); + extendExportSymbols(symbols, nestedSymbols); + } + if (exportStar == null ? void 0 : exportStar.isTypeOnly) { + typeOnlyExportStarMap ?? (typeOnlyExportStarMap = /* @__PURE__ */ new Map()); + symbols.forEach( + (_, escapedName) => typeOnlyExportStarMap.set( + escapedName, + exportStar + ) + ); + } + return symbols; + } + } + function getMergedSymbol(symbol) { + let merged; + return symbol && symbol.mergeId && (merged = mergedSymbols[symbol.mergeId]) ? merged : symbol; + } + function getSymbolOfDeclaration(node) { + return getMergedSymbol(node.symbol && getLateBoundSymbol(node.symbol)); + } + function getSymbolOfNode(node) { + return canHaveSymbol(node) ? getSymbolOfDeclaration(node) : void 0; + } + function getParentOfSymbol(symbol) { + return getMergedSymbol(symbol.parent && getLateBoundSymbol(symbol.parent)); + } + function getFunctionExpressionParentSymbolOrSymbol(symbol) { + var _a, _b; + return ((_a = symbol.valueDeclaration) == null ? void 0 : _a.kind) === 219 /* ArrowFunction */ || ((_b = symbol.valueDeclaration) == null ? void 0 : _b.kind) === 218 /* FunctionExpression */ ? getSymbolOfNode(symbol.valueDeclaration.parent) || symbol : symbol; + } + function getAlternativeContainingModules(symbol, enclosingDeclaration) { + const containingFile = getSourceFileOfNode(enclosingDeclaration); + const id = getNodeId(containingFile); + const links = getSymbolLinks(symbol); + let results; + if (links.extendedContainersByFile && (results = links.extendedContainersByFile.get(id))) { + return results; + } + if (containingFile && containingFile.imports) { + for (const importRef of containingFile.imports) { + if (nodeIsSynthesized(importRef)) continue; + const resolvedModule = resolveExternalModuleName( + enclosingDeclaration, + importRef, + /*ignoreErrors*/ + true + ); + if (!resolvedModule) continue; + const ref = getAliasForSymbolInContainer(resolvedModule, symbol); + if (!ref) continue; + results = append(results, resolvedModule); + } + if (length(results)) { + (links.extendedContainersByFile || (links.extendedContainersByFile = /* @__PURE__ */ new Map())).set(id, results); + return results; + } + } + if (links.extendedContainers) { + return links.extendedContainers; + } + const otherFiles = host.getSourceFiles(); + for (const file of otherFiles) { + if (!isExternalModule(file)) continue; + const sym = getSymbolOfDeclaration(file); + const ref = getAliasForSymbolInContainer(sym, symbol); + if (!ref) continue; + results = append(results, sym); + } + return links.extendedContainers = results || emptyArray; + } + function getContainersOfSymbol(symbol, enclosingDeclaration, meaning) { + const container = getParentOfSymbol(symbol); + if (container && !(symbol.flags & 262144 /* TypeParameter */)) { + return getWithAlternativeContainers(container); + } + const candidates = mapDefined(symbol.declarations, (d) => { + if (!isAmbientModule(d) && d.parent) { + if (hasNonGlobalAugmentationExternalModuleSymbol(d.parent)) { + return getSymbolOfDeclaration(d.parent); + } + if (isModuleBlock(d.parent) && d.parent.parent && resolveExternalModuleSymbol(getSymbolOfDeclaration(d.parent.parent)) === symbol) { + return getSymbolOfDeclaration(d.parent.parent); + } + } + if (isClassExpression(d) && isBinaryExpression(d.parent) && d.parent.operatorToken.kind === 64 /* EqualsToken */ && isAccessExpression(d.parent.left) && isEntityNameExpression(d.parent.left.expression)) { + if (isModuleExportsAccessExpression(d.parent.left) || isExportsIdentifier(d.parent.left.expression)) { + return getSymbolOfDeclaration(getSourceFileOfNode(d)); + } + checkExpressionCached(d.parent.left.expression); + return getNodeLinks(d.parent.left.expression).resolvedSymbol; + } + }); + if (!length(candidates)) { + return void 0; + } + const containers = mapDefined(candidates, (candidate) => getAliasForSymbolInContainer(candidate, symbol) ? candidate : void 0); + let bestContainers = []; + let alternativeContainers = []; + for (const container2 of containers) { + const [bestMatch, ...rest] = getWithAlternativeContainers(container2); + bestContainers = append(bestContainers, bestMatch); + alternativeContainers = addRange(alternativeContainers, rest); + } + return concatenate(bestContainers, alternativeContainers); + function getWithAlternativeContainers(container2) { + const additionalContainers = mapDefined(container2.declarations, fileSymbolIfFileSymbolExportEqualsContainer); + const reexportContainers = enclosingDeclaration && getAlternativeContainingModules(symbol, enclosingDeclaration); + const objectLiteralContainer = getVariableDeclarationOfObjectLiteral(container2, meaning); + if (enclosingDeclaration && container2.flags & getQualifiedLeftMeaning(meaning) && getAccessibleSymbolChain( + container2, + enclosingDeclaration, + 1920 /* Namespace */, + /*useOnlyExternalAliasing*/ + false + )) { + return append(concatenate(concatenate([container2], additionalContainers), reexportContainers), objectLiteralContainer); + } + const firstVariableMatch = !(container2.flags & getQualifiedLeftMeaning(meaning)) && container2.flags & 788968 /* Type */ && getDeclaredTypeOfSymbol(container2).flags & 524288 /* Object */ && meaning === 111551 /* Value */ ? forEachSymbolTableInScope(enclosingDeclaration, (t) => { + return forEachEntry(t, (s) => { + if (s.flags & getQualifiedLeftMeaning(meaning) && getTypeOfSymbol(s) === getDeclaredTypeOfSymbol(container2)) { + return s; + } + }); + }) : void 0; + let res = firstVariableMatch ? [firstVariableMatch, ...additionalContainers, container2] : [...additionalContainers, container2]; + res = append(res, objectLiteralContainer); + res = addRange(res, reexportContainers); + return res; + } + function fileSymbolIfFileSymbolExportEqualsContainer(d) { + return container && getFileSymbolIfFileSymbolExportEqualsContainer(d, container); + } + } + function getVariableDeclarationOfObjectLiteral(symbol, meaning) { + const firstDecl = !!length(symbol.declarations) && first(symbol.declarations); + if (meaning & 111551 /* Value */ && firstDecl && firstDecl.parent && isVariableDeclaration(firstDecl.parent)) { + if (isObjectLiteralExpression(firstDecl) && firstDecl === firstDecl.parent.initializer || isTypeLiteralNode(firstDecl) && firstDecl === firstDecl.parent.type) { + return getSymbolOfDeclaration(firstDecl.parent); + } + } + } + function getFileSymbolIfFileSymbolExportEqualsContainer(d, container) { + const fileSymbol = getExternalModuleContainer(d); + const exported = fileSymbol && fileSymbol.exports && fileSymbol.exports.get("export=" /* ExportEquals */); + return exported && getSymbolIfSameReference(exported, container) ? fileSymbol : void 0; + } + function getAliasForSymbolInContainer(container, symbol) { + if (container === getParentOfSymbol(symbol)) { + return symbol; + } + const exportEquals = container.exports && container.exports.get("export=" /* ExportEquals */); + if (exportEquals && getSymbolIfSameReference(exportEquals, symbol)) { + return container; + } + const exports2 = getExportsOfSymbol(container); + const quick = exports2.get(symbol.escapedName); + if (quick && getSymbolIfSameReference(quick, symbol)) { + return quick; + } + return forEachEntry(exports2, (exported) => { + if (getSymbolIfSameReference(exported, symbol)) { + return exported; + } + }); + } + function getSymbolIfSameReference(s1, s2) { + if (getMergedSymbol(resolveSymbol(getMergedSymbol(s1))) === getMergedSymbol(resolveSymbol(getMergedSymbol(s2)))) { + return s1; + } + } + function getExportSymbolOfValueSymbolIfExported(symbol) { + return getMergedSymbol(symbol && (symbol.flags & 1048576 /* ExportValue */) !== 0 && symbol.exportSymbol || symbol); + } + function symbolIsValue(symbol, includeTypeOnlyMembers) { + return !!(symbol.flags & 111551 /* Value */ || symbol.flags & 2097152 /* Alias */ && getSymbolFlags(symbol, !includeTypeOnlyMembers) & 111551 /* Value */); + } + function createType(flags) { + var _a; + const result = new Type7(checker, flags); + typeCount++; + result.id = typeCount; + (_a = tracing) == null ? void 0 : _a.recordType(result); + return result; + } + function createTypeWithSymbol(flags, symbol) { + const result = createType(flags); + result.symbol = symbol; + return result; + } + function createOriginType(flags) { + return new Type7(checker, flags); + } + function createIntrinsicType(kind, intrinsicName, objectFlags = 0 /* None */, debugIntrinsicName) { + checkIntrinsicName(intrinsicName, debugIntrinsicName); + const type = createType(kind); + type.intrinsicName = intrinsicName; + type.debugIntrinsicName = debugIntrinsicName; + type.objectFlags = objectFlags | 524288 /* CouldContainTypeVariablesComputed */ | 2097152 /* IsGenericTypeComputed */ | 33554432 /* IsUnknownLikeUnionComputed */ | 16777216 /* IsNeverIntersectionComputed */; + return type; + } + function checkIntrinsicName(name, debug) { + const key = `${name},${debug ?? ""}`; + if (seenIntrinsicNames.has(key)) { + Debug.fail(`Duplicate intrinsic type name ${name}${debug ? ` (${debug})` : ""}; you may need to pass a name to createIntrinsicType.`); + } + seenIntrinsicNames.add(key); + } + function createObjectType(objectFlags, symbol) { + const type = createTypeWithSymbol(524288 /* Object */, symbol); + type.objectFlags = objectFlags; + type.members = void 0; + type.properties = void 0; + type.callSignatures = void 0; + type.constructSignatures = void 0; + type.indexInfos = void 0; + return type; + } + function createTypeofType() { + return getUnionType(arrayFrom(typeofNEFacts.keys(), getStringLiteralType)); + } + function createTypeParameter(symbol) { + return createTypeWithSymbol(262144 /* TypeParameter */, symbol); + } + function isReservedMemberName(name) { + return name.charCodeAt(0) === 95 /* _ */ && name.charCodeAt(1) === 95 /* _ */ && name.charCodeAt(2) !== 95 /* _ */ && name.charCodeAt(2) !== 64 /* at */ && name.charCodeAt(2) !== 35 /* hash */; + } + function getNamedMembers(members) { + let result; + members.forEach((symbol, id) => { + if (isNamedMember(symbol, id)) { + (result || (result = [])).push(symbol); + } + }); + return result || emptyArray; + } + function isNamedMember(member, escapedName) { + return !isReservedMemberName(escapedName) && symbolIsValue(member); + } + function getNamedOrIndexSignatureMembers(members) { + const result = getNamedMembers(members); + const index = getIndexSymbolFromSymbolTable(members); + return index ? concatenate(result, [index]) : result; + } + function setStructuredTypeMembers(type, members, callSignatures, constructSignatures, indexInfos) { + const resolved = type; + resolved.members = members; + resolved.properties = emptyArray; + resolved.callSignatures = callSignatures; + resolved.constructSignatures = constructSignatures; + resolved.indexInfos = indexInfos; + if (members !== emptySymbols) resolved.properties = getNamedMembers(members); + return resolved; + } + function createAnonymousType(symbol, members, callSignatures, constructSignatures, indexInfos) { + return setStructuredTypeMembers(createObjectType(16 /* Anonymous */, symbol), members, callSignatures, constructSignatures, indexInfos); + } + function getResolvedTypeWithoutAbstractConstructSignatures(type) { + if (type.constructSignatures.length === 0) return type; + if (type.objectTypeWithoutAbstractConstructSignatures) return type.objectTypeWithoutAbstractConstructSignatures; + const constructSignatures = filter(type.constructSignatures, (signature) => !(signature.flags & 4 /* Abstract */)); + if (type.constructSignatures === constructSignatures) return type; + const typeCopy = createAnonymousType( + type.symbol, + type.members, + type.callSignatures, + some(constructSignatures) ? constructSignatures : emptyArray, + type.indexInfos + ); + type.objectTypeWithoutAbstractConstructSignatures = typeCopy; + typeCopy.objectTypeWithoutAbstractConstructSignatures = typeCopy; + return typeCopy; + } + function forEachSymbolTableInScope(enclosingDeclaration, callback) { + let result; + for (let location = enclosingDeclaration; location; location = location.parent) { + if (canHaveLocals(location) && location.locals && !isGlobalSourceFile(location)) { + if (result = callback( + location.locals, + /*ignoreQualification*/ + void 0, + /*isLocalNameLookup*/ + true, + location + )) { + return result; + } + } + switch (location.kind) { + case 307 /* SourceFile */: + if (!isExternalOrCommonJsModule(location)) { + break; + } + // falls through + case 267 /* ModuleDeclaration */: + const sym = getSymbolOfDeclaration(location); + if (result = callback( + (sym == null ? void 0 : sym.exports) || emptySymbols, + /*ignoreQualification*/ + void 0, + /*isLocalNameLookup*/ + true, + location + )) { + return result; + } + break; + case 263 /* ClassDeclaration */: + case 231 /* ClassExpression */: + case 264 /* InterfaceDeclaration */: + let table; + (getSymbolOfDeclaration(location).members || emptySymbols).forEach((memberSymbol, key) => { + if (memberSymbol.flags & (788968 /* Type */ & ~67108864 /* Assignment */)) { + (table || (table = createSymbolTable())).set(key, memberSymbol); + } + }); + if (table && (result = callback( + table, + /*ignoreQualification*/ + void 0, + /*isLocalNameLookup*/ + false, + location + ))) { + return result; + } + break; + } + } + return callback( + globals, + /*ignoreQualification*/ + void 0, + /*isLocalNameLookup*/ + true + ); + } + function getQualifiedLeftMeaning(rightMeaning) { + return rightMeaning === 111551 /* Value */ ? 111551 /* Value */ : 1920 /* Namespace */; + } + function getAccessibleSymbolChain(symbol, enclosingDeclaration, meaning, useOnlyExternalAliasing, visitedSymbolTablesMap = /* @__PURE__ */ new Map()) { + if (!(symbol && !isPropertyOrMethodDeclarationSymbol(symbol))) { + return void 0; + } + const links = getSymbolLinks(symbol); + const cache = links.accessibleChainCache || (links.accessibleChainCache = /* @__PURE__ */ new Map()); + const firstRelevantLocation = forEachSymbolTableInScope(enclosingDeclaration, (_, __, ___, node) => node); + const key = `${useOnlyExternalAliasing ? 0 : 1}|${firstRelevantLocation ? getNodeId(firstRelevantLocation) : 0}|${meaning}`; + if (cache.has(key)) { + return cache.get(key); + } + const id = getSymbolId(symbol); + let visitedSymbolTables = visitedSymbolTablesMap.get(id); + if (!visitedSymbolTables) { + visitedSymbolTablesMap.set(id, visitedSymbolTables = []); + } + const result = forEachSymbolTableInScope(enclosingDeclaration, getAccessibleSymbolChainFromSymbolTable); + cache.set(key, result); + return result; + function getAccessibleSymbolChainFromSymbolTable(symbols, ignoreQualification, isLocalNameLookup) { + if (!pushIfUnique(visitedSymbolTables, symbols)) { + return void 0; + } + const result2 = trySymbolTable(symbols, ignoreQualification, isLocalNameLookup); + visitedSymbolTables.pop(); + return result2; + } + function canQualifySymbol(symbolFromSymbolTable, meaning2) { + return !needsQualification(symbolFromSymbolTable, enclosingDeclaration, meaning2) || // If symbol needs qualification, make sure that parent is accessible, if it is then this symbol is accessible too + !!getAccessibleSymbolChain(symbolFromSymbolTable.parent, enclosingDeclaration, getQualifiedLeftMeaning(meaning2), useOnlyExternalAliasing, visitedSymbolTablesMap); + } + function isAccessible(symbolFromSymbolTable, resolvedAliasSymbol, ignoreQualification) { + return (symbol === (resolvedAliasSymbol || symbolFromSymbolTable) || getMergedSymbol(symbol) === getMergedSymbol(resolvedAliasSymbol || symbolFromSymbolTable)) && // if the symbolFromSymbolTable is not external module (it could be if it was determined as ambient external module and would be in globals table) + // and if symbolFromSymbolTable or alias resolution matches the symbol, + // check the symbol can be qualified, it is only then this symbol is accessible + !some(symbolFromSymbolTable.declarations, hasNonGlobalAugmentationExternalModuleSymbol) && (ignoreQualification || canQualifySymbol(getMergedSymbol(symbolFromSymbolTable), meaning)); + } + function trySymbolTable(symbols, ignoreQualification, isLocalNameLookup) { + if (isAccessible( + symbols.get(symbol.escapedName), + /*resolvedAliasSymbol*/ + void 0, + ignoreQualification + )) { + return [symbol]; + } + const result2 = forEachEntry(symbols, (symbolFromSymbolTable) => { + if (symbolFromSymbolTable.flags & 2097152 /* Alias */ && symbolFromSymbolTable.escapedName !== "export=" /* ExportEquals */ && symbolFromSymbolTable.escapedName !== "default" /* Default */ && !(isUMDExportSymbol(symbolFromSymbolTable) && enclosingDeclaration && isExternalModule(getSourceFileOfNode(enclosingDeclaration))) && (!useOnlyExternalAliasing || some(symbolFromSymbolTable.declarations, isExternalModuleImportEqualsDeclaration)) && (isLocalNameLookup ? !some(symbolFromSymbolTable.declarations, isNamespaceReexportDeclaration) : true) && (ignoreQualification || !getDeclarationOfKind(symbolFromSymbolTable, 281 /* ExportSpecifier */))) { + const resolvedImportedSymbol = resolveAlias(symbolFromSymbolTable); + const candidate = getCandidateListForSymbol(symbolFromSymbolTable, resolvedImportedSymbol, ignoreQualification); + if (candidate) { + return candidate; + } + } + if (symbolFromSymbolTable.escapedName === symbol.escapedName && symbolFromSymbolTable.exportSymbol) { + if (isAccessible( + getMergedSymbol(symbolFromSymbolTable.exportSymbol), + /*resolvedAliasSymbol*/ + void 0, + ignoreQualification + )) { + return [symbol]; + } + } + }); + return result2 || (symbols === globals ? getCandidateListForSymbol(globalThisSymbol, globalThisSymbol, ignoreQualification) : void 0); + } + function getCandidateListForSymbol(symbolFromSymbolTable, resolvedImportedSymbol, ignoreQualification) { + if (isAccessible(symbolFromSymbolTable, resolvedImportedSymbol, ignoreQualification)) { + return [symbolFromSymbolTable]; + } + const candidateTable = getExportsOfSymbol(resolvedImportedSymbol); + const accessibleSymbolsFromExports = candidateTable && getAccessibleSymbolChainFromSymbolTable( + candidateTable, + /*ignoreQualification*/ + true + ); + if (accessibleSymbolsFromExports && canQualifySymbol(symbolFromSymbolTable, getQualifiedLeftMeaning(meaning))) { + return [symbolFromSymbolTable].concat(accessibleSymbolsFromExports); + } + } + } + function needsQualification(symbol, enclosingDeclaration, meaning) { + let qualify = false; + forEachSymbolTableInScope(enclosingDeclaration, (symbolTable) => { + let symbolFromSymbolTable = getMergedSymbol(symbolTable.get(symbol.escapedName)); + if (!symbolFromSymbolTable) { + return false; + } + if (symbolFromSymbolTable === symbol) { + return true; + } + const shouldResolveAlias = symbolFromSymbolTable.flags & 2097152 /* Alias */ && !getDeclarationOfKind(symbolFromSymbolTable, 281 /* ExportSpecifier */); + symbolFromSymbolTable = shouldResolveAlias ? resolveAlias(symbolFromSymbolTable) : symbolFromSymbolTable; + const flags = shouldResolveAlias ? getSymbolFlags(symbolFromSymbolTable) : symbolFromSymbolTable.flags; + if (flags & meaning) { + qualify = true; + return true; + } + return false; + }); + return qualify; + } + function isPropertyOrMethodDeclarationSymbol(symbol) { + if (symbol.declarations && symbol.declarations.length) { + for (const declaration of symbol.declarations) { + switch (declaration.kind) { + case 172 /* PropertyDeclaration */: + case 174 /* MethodDeclaration */: + case 177 /* GetAccessor */: + case 178 /* SetAccessor */: + continue; + default: + return false; + } + } + return true; + } + return false; + } + function isTypeSymbolAccessible(typeSymbol, enclosingDeclaration) { + const access = isSymbolAccessibleWorker( + typeSymbol, + enclosingDeclaration, + 788968 /* Type */, + /*shouldComputeAliasesToMakeVisible*/ + false, + /*allowModules*/ + true + ); + return access.accessibility === 0 /* Accessible */; + } + function isValueSymbolAccessible(typeSymbol, enclosingDeclaration) { + const access = isSymbolAccessibleWorker( + typeSymbol, + enclosingDeclaration, + 111551 /* Value */, + /*shouldComputeAliasesToMakeVisible*/ + false, + /*allowModules*/ + true + ); + return access.accessibility === 0 /* Accessible */; + } + function isSymbolAccessibleByFlags(typeSymbol, enclosingDeclaration, flags) { + const access = isSymbolAccessibleWorker( + typeSymbol, + enclosingDeclaration, + flags, + /*shouldComputeAliasesToMakeVisible*/ + false, + /*allowModules*/ + false + ); + return access.accessibility === 0 /* Accessible */; + } + function isAnySymbolAccessible(symbols, enclosingDeclaration, initialSymbol, meaning, shouldComputeAliasesToMakeVisible, allowModules) { + if (!length(symbols)) return; + let hadAccessibleChain; + let earlyModuleBail = false; + for (const symbol of symbols) { + const accessibleSymbolChain = getAccessibleSymbolChain( + symbol, + enclosingDeclaration, + meaning, + /*useOnlyExternalAliasing*/ + false + ); + if (accessibleSymbolChain) { + hadAccessibleChain = symbol; + const hasAccessibleDeclarations = hasVisibleDeclarations(accessibleSymbolChain[0], shouldComputeAliasesToMakeVisible); + if (hasAccessibleDeclarations) { + return hasAccessibleDeclarations; + } + } + if (allowModules) { + if (some(symbol.declarations, hasNonGlobalAugmentationExternalModuleSymbol)) { + if (shouldComputeAliasesToMakeVisible) { + earlyModuleBail = true; + continue; + } + return { + accessibility: 0 /* Accessible */ + }; + } + } + const containers = getContainersOfSymbol(symbol, enclosingDeclaration, meaning); + const parentResult = isAnySymbolAccessible(containers, enclosingDeclaration, initialSymbol, initialSymbol === symbol ? getQualifiedLeftMeaning(meaning) : meaning, shouldComputeAliasesToMakeVisible, allowModules); + if (parentResult) { + return parentResult; + } + } + if (earlyModuleBail) { + return { + accessibility: 0 /* Accessible */ + }; + } + if (hadAccessibleChain) { + return { + accessibility: 1 /* NotAccessible */, + errorSymbolName: symbolToString(initialSymbol, enclosingDeclaration, meaning), + errorModuleName: hadAccessibleChain !== initialSymbol ? symbolToString(hadAccessibleChain, enclosingDeclaration, 1920 /* Namespace */) : void 0 + }; + } + } + function isSymbolAccessible(symbol, enclosingDeclaration, meaning, shouldComputeAliasesToMakeVisible) { + return isSymbolAccessibleWorker( + symbol, + enclosingDeclaration, + meaning, + shouldComputeAliasesToMakeVisible, + /*allowModules*/ + true + ); + } + function isSymbolAccessibleWorker(symbol, enclosingDeclaration, meaning, shouldComputeAliasesToMakeVisible, allowModules) { + if (symbol && enclosingDeclaration) { + const result = isAnySymbolAccessible([symbol], enclosingDeclaration, symbol, meaning, shouldComputeAliasesToMakeVisible, allowModules); + if (result) { + return result; + } + const symbolExternalModule = forEach(symbol.declarations, getExternalModuleContainer); + if (symbolExternalModule) { + const enclosingExternalModule = getExternalModuleContainer(enclosingDeclaration); + if (symbolExternalModule !== enclosingExternalModule) { + return { + accessibility: 2 /* CannotBeNamed */, + errorSymbolName: symbolToString(symbol, enclosingDeclaration, meaning), + errorModuleName: symbolToString(symbolExternalModule), + errorNode: isInJSFile(enclosingDeclaration) ? enclosingDeclaration : void 0 + }; + } + } + return { + accessibility: 1 /* NotAccessible */, + errorSymbolName: symbolToString(symbol, enclosingDeclaration, meaning) + }; + } + return { accessibility: 0 /* Accessible */ }; + } + function getExternalModuleContainer(declaration) { + const node = findAncestor(declaration, hasExternalModuleSymbol); + return node && getSymbolOfDeclaration(node); + } + function hasExternalModuleSymbol(declaration) { + return isAmbientModule(declaration) || declaration.kind === 307 /* SourceFile */ && isExternalOrCommonJsModule(declaration); + } + function hasNonGlobalAugmentationExternalModuleSymbol(declaration) { + return isModuleWithStringLiteralName(declaration) || declaration.kind === 307 /* SourceFile */ && isExternalOrCommonJsModule(declaration); + } + function hasVisibleDeclarations(symbol, shouldComputeAliasToMakeVisible) { + let aliasesToMakeVisible; + if (!every(filter(symbol.declarations, (d) => d.kind !== 80 /* Identifier */), getIsDeclarationVisible)) { + return void 0; + } + return { accessibility: 0 /* Accessible */, aliasesToMakeVisible }; + function getIsDeclarationVisible(declaration) { + var _a, _b; + if (!isDeclarationVisible(declaration)) { + const anyImportSyntax = getAnyImportSyntax(declaration); + if (anyImportSyntax && !hasSyntacticModifier(anyImportSyntax, 32 /* Export */) && // import clause without export + isDeclarationVisible(anyImportSyntax.parent)) { + return addVisibleAlias(declaration, anyImportSyntax); + } else if (isVariableDeclaration(declaration) && isVariableStatement(declaration.parent.parent) && !hasSyntacticModifier(declaration.parent.parent, 32 /* Export */) && // unexported variable statement + isDeclarationVisible(declaration.parent.parent.parent)) { + return addVisibleAlias(declaration, declaration.parent.parent); + } else if (isLateVisibilityPaintedStatement(declaration) && !hasSyntacticModifier(declaration, 32 /* Export */) && isDeclarationVisible(declaration.parent)) { + return addVisibleAlias(declaration, declaration); + } else if (isBindingElement(declaration)) { + if (symbol.flags & 2097152 /* Alias */ && isInJSFile(declaration) && ((_a = declaration.parent) == null ? void 0 : _a.parent) && isVariableDeclaration(declaration.parent.parent) && ((_b = declaration.parent.parent.parent) == null ? void 0 : _b.parent) && isVariableStatement(declaration.parent.parent.parent.parent) && !hasSyntacticModifier(declaration.parent.parent.parent.parent, 32 /* Export */) && declaration.parent.parent.parent.parent.parent && isDeclarationVisible(declaration.parent.parent.parent.parent.parent)) { + return addVisibleAlias(declaration, declaration.parent.parent.parent.parent); + } else if (symbol.flags & 2 /* BlockScopedVariable */) { + const variableStatement = findAncestor(declaration, isVariableStatement); + if (hasSyntacticModifier(variableStatement, 32 /* Export */)) { + return true; + } + if (!isDeclarationVisible(variableStatement.parent)) { + return false; + } + return addVisibleAlias(declaration, variableStatement); + } + } + return false; + } + return true; + } + function addVisibleAlias(declaration, aliasingStatement) { + if (shouldComputeAliasToMakeVisible) { + getNodeLinks(declaration).isVisible = true; + aliasesToMakeVisible = appendIfUnique(aliasesToMakeVisible, aliasingStatement); + } + return true; + } + } + function getMeaningOfEntityNameReference(entityName) { + let meaning; + if (entityName.parent.kind === 186 /* TypeQuery */ || entityName.parent.kind === 233 /* ExpressionWithTypeArguments */ && !isPartOfTypeNode(entityName.parent) || entityName.parent.kind === 167 /* ComputedPropertyName */ || entityName.parent.kind === 182 /* TypePredicate */ && entityName.parent.parameterName === entityName) { + meaning = 111551 /* Value */ | 1048576 /* ExportValue */; + } else if (entityName.kind === 166 /* QualifiedName */ || entityName.kind === 211 /* PropertyAccessExpression */ || entityName.parent.kind === 271 /* ImportEqualsDeclaration */ || entityName.parent.kind === 166 /* QualifiedName */ && entityName.parent.left === entityName || entityName.parent.kind === 211 /* PropertyAccessExpression */ && entityName.parent.expression === entityName || entityName.parent.kind === 212 /* ElementAccessExpression */ && entityName.parent.expression === entityName) { + meaning = 1920 /* Namespace */; + } else { + meaning = 788968 /* Type */; + } + return meaning; + } + function isEntityNameVisible(entityName, enclosingDeclaration, shouldComputeAliasToMakeVisible = true) { + const meaning = getMeaningOfEntityNameReference(entityName); + const firstIdentifier = getFirstIdentifier(entityName); + const symbol = resolveName( + enclosingDeclaration, + firstIdentifier.escapedText, + meaning, + /*nameNotFoundMessage*/ + void 0, + /*isUse*/ + false + ); + if (symbol && symbol.flags & 262144 /* TypeParameter */ && meaning & 788968 /* Type */) { + return { accessibility: 0 /* Accessible */ }; + } + if (!symbol && isThisIdentifier(firstIdentifier) && isSymbolAccessible( + getSymbolOfDeclaration(getThisContainer( + firstIdentifier, + /*includeArrowFunctions*/ + false, + /*includeClassComputedPropertyName*/ + false + )), + firstIdentifier, + meaning, + /*shouldComputeAliasesToMakeVisible*/ + false + ).accessibility === 0 /* Accessible */) { + return { accessibility: 0 /* Accessible */ }; + } + if (!symbol) { + return { + accessibility: 3 /* NotResolved */, + errorSymbolName: getTextOfNode(firstIdentifier), + errorNode: firstIdentifier + }; + } + return hasVisibleDeclarations(symbol, shouldComputeAliasToMakeVisible) || { + accessibility: 1 /* NotAccessible */, + errorSymbolName: getTextOfNode(firstIdentifier), + errorNode: firstIdentifier + }; + } + function symbolToString(symbol, enclosingDeclaration, meaning, flags = 4 /* AllowAnyNodeKind */, writer) { + let nodeFlags = 70221824 /* IgnoreErrors */; + let internalNodeFlags = 0 /* None */; + if (flags & 2 /* UseOnlyExternalAliasing */) { + nodeFlags |= 128 /* UseOnlyExternalAliasing */; + } + if (flags & 1 /* WriteTypeParametersOrArguments */) { + nodeFlags |= 512 /* WriteTypeParametersInQualifiedName */; + } + if (flags & 8 /* UseAliasDefinedOutsideCurrentScope */) { + nodeFlags |= 16384 /* UseAliasDefinedOutsideCurrentScope */; + } + if (flags & 32 /* DoNotIncludeSymbolChain */) { + internalNodeFlags |= 4 /* DoNotIncludeSymbolChain */; + } + if (flags & 16 /* WriteComputedProps */) { + internalNodeFlags |= 1 /* WriteComputedProps */; + } + const builder = flags & 4 /* AllowAnyNodeKind */ ? nodeBuilder.symbolToNode : nodeBuilder.symbolToEntityName; + return writer ? symbolToStringWorker(writer).getText() : usingSingleLineStringWriter(symbolToStringWorker); + function symbolToStringWorker(writer2) { + const entity = builder(symbol, meaning, enclosingDeclaration, nodeFlags, internalNodeFlags); + const printer = (enclosingDeclaration == null ? void 0 : enclosingDeclaration.kind) === 307 /* SourceFile */ ? createPrinterWithRemoveCommentsNeverAsciiEscape() : createPrinterWithRemoveComments(); + const sourceFile = enclosingDeclaration && getSourceFileOfNode(enclosingDeclaration); + printer.writeNode( + 4 /* Unspecified */, + entity, + /*sourceFile*/ + sourceFile, + writer2 + ); + return writer2; + } + } + function signatureToString(signature, enclosingDeclaration, flags = 0 /* None */, kind, writer) { + return writer ? signatureToStringWorker(writer).getText() : usingSingleLineStringWriter(signatureToStringWorker); + function signatureToStringWorker(writer2) { + let sigOutput; + if (flags & 262144 /* WriteArrowStyleSignature */) { + sigOutput = kind === 1 /* Construct */ ? 185 /* ConstructorType */ : 184 /* FunctionType */; + } else { + sigOutput = kind === 1 /* Construct */ ? 180 /* ConstructSignature */ : 179 /* CallSignature */; + } + const sig = nodeBuilder.signatureToSignatureDeclaration(signature, sigOutput, enclosingDeclaration, toNodeBuilderFlags(flags) | 70221824 /* IgnoreErrors */ | 512 /* WriteTypeParametersInQualifiedName */); + const printer = createPrinterWithRemoveCommentsOmitTrailingSemicolon(); + const sourceFile = enclosingDeclaration && getSourceFileOfNode(enclosingDeclaration); + printer.writeNode( + 4 /* Unspecified */, + sig, + /*sourceFile*/ + sourceFile, + getTrailingSemicolonDeferringWriter(writer2) + ); + return writer2; + } + } + function typeToString(type, enclosingDeclaration, flags = 1048576 /* AllowUniqueESSymbolType */ | 16384 /* UseAliasDefinedOutsideCurrentScope */, writer = createTextWriter("")) { + const noTruncation = compilerOptions.noErrorTruncation || flags & 1 /* NoTruncation */; + const typeNode = nodeBuilder.typeToTypeNode( + type, + enclosingDeclaration, + toNodeBuilderFlags(flags) | 70221824 /* IgnoreErrors */ | (noTruncation ? 1 /* NoTruncation */ : 0 /* None */), + /*internalFlags*/ + void 0 + ); + if (typeNode === void 0) return Debug.fail("should always get typenode"); + const printer = type !== unresolvedType ? createPrinterWithRemoveComments() : createPrinterWithDefaults(); + const sourceFile = enclosingDeclaration && getSourceFileOfNode(enclosingDeclaration); + printer.writeNode( + 4 /* Unspecified */, + typeNode, + /*sourceFile*/ + sourceFile, + writer + ); + const result = writer.getText(); + const maxLength = noTruncation ? noTruncationMaximumTruncationLength * 2 : defaultMaximumTruncationLength * 2; + if (maxLength && result && result.length >= maxLength) { + return result.substr(0, maxLength - "...".length) + "..."; + } + return result; + } + function getTypeNamesForErrorDisplay(left, right) { + let leftStr = symbolValueDeclarationIsContextSensitive(left.symbol) ? typeToString(left, left.symbol.valueDeclaration) : typeToString(left); + let rightStr = symbolValueDeclarationIsContextSensitive(right.symbol) ? typeToString(right, right.symbol.valueDeclaration) : typeToString(right); + if (leftStr === rightStr) { + leftStr = getTypeNameForErrorDisplay(left); + rightStr = getTypeNameForErrorDisplay(right); + } + return [leftStr, rightStr]; + } + function getTypeNameForErrorDisplay(type) { + return typeToString( + type, + /*enclosingDeclaration*/ + void 0, + 64 /* UseFullyQualifiedType */ + ); + } + function symbolValueDeclarationIsContextSensitive(symbol) { + return symbol && !!symbol.valueDeclaration && isExpression(symbol.valueDeclaration) && !isContextSensitive(symbol.valueDeclaration); + } + function toNodeBuilderFlags(flags = 0 /* None */) { + return flags & 848330095 /* NodeBuilderFlagsMask */; + } + function isClassInstanceSide(type) { + return !!type.symbol && !!(type.symbol.flags & 32 /* Class */) && (type === getDeclaredTypeOfClassOrInterface(type.symbol) || !!(type.flags & 524288 /* Object */) && !!(getObjectFlags(type) & 16777216 /* IsClassInstanceClone */)); + } + function getTypeFromTypeNodeWithoutContext(node) { + return getTypeFromTypeNode(node); + } + function createNodeBuilder() { + const syntacticBuilderResolver = { + evaluateEntityNameExpression, + isExpandoFunctionDeclaration, + hasLateBindableName, + shouldRemoveDeclaration(context, node) { + return !(context.internalFlags & 8 /* AllowUnresolvedNames */ && isEntityNameExpression(node.name.expression) && checkComputedPropertyName(node.name).flags & 1 /* Any */); + }, + createRecoveryBoundary(context) { + return createRecoveryBoundary(context); + }, + isDefinitelyReferenceToGlobalSymbolObject, + getAllAccessorDeclarations: getAllAccessorDeclarationsForDeclaration, + requiresAddingImplicitUndefined(declaration, symbol, enclosingDeclaration) { + var _a; + switch (declaration.kind) { + case 172 /* PropertyDeclaration */: + case 171 /* PropertySignature */: + case 348 /* JSDocPropertyTag */: + symbol ?? (symbol = getSymbolOfDeclaration(declaration)); + const type = getTypeOfSymbol(symbol); + return !!(symbol.flags & 4 /* Property */ && symbol.flags & 16777216 /* Optional */ && isOptionalDeclaration(declaration) && ((_a = symbol.links) == null ? void 0 : _a.mappedType) && containsNonMissingUndefinedType(type)); + case 169 /* Parameter */: + case 341 /* JSDocParameterTag */: + return requiresAddingImplicitUndefined(declaration, enclosingDeclaration); + default: + Debug.assertNever(declaration); + } + }, + isOptionalParameter, + isUndefinedIdentifierExpression(node) { + Debug.assert(isExpressionNode(node)); + return getSymbolAtLocation(node) === undefinedSymbol; + }, + isEntityNameVisible(context, entityName, shouldComputeAliasToMakeVisible) { + return isEntityNameVisible(entityName, context.enclosingDeclaration, shouldComputeAliasToMakeVisible); + }, + serializeExistingTypeNode(context, typeNode, addUndefined) { + return serializeExistingTypeNode(context, typeNode, !!addUndefined); + }, + serializeReturnTypeForSignature(syntacticContext, signatureDeclaration) { + const context = syntacticContext; + const signature = getSignatureFromDeclaration(signatureDeclaration); + const returnType = context.enclosingSymbolTypes.get(getSymbolId(getSymbolOfDeclaration(signatureDeclaration))) ?? instantiateType(getReturnTypeOfSignature(signature), context.mapper); + return serializeInferredReturnTypeForSignature(context, signature, returnType); + }, + serializeTypeOfExpression(syntacticContext, expr) { + const context = syntacticContext; + const type = instantiateType(getWidenedType(getRegularTypeOfExpression(expr)), context.mapper); + return typeToTypeNodeHelper(type, context); + }, + serializeTypeOfDeclaration(syntacticContext, declaration, symbol) { + var _a; + const context = syntacticContext; + symbol ?? (symbol = getSymbolOfDeclaration(declaration)); + let type = (_a = context.enclosingSymbolTypes) == null ? void 0 : _a.get(getSymbolId(symbol)); + if (type === void 0) { + type = symbol && !(symbol.flags & (2048 /* TypeLiteral */ | 131072 /* Signature */)) ? instantiateType(getWidenedLiteralType(getTypeOfSymbol(symbol)), context.mapper) : errorType; + } + const addUndefinedForParameter = declaration && (isParameter(declaration) || isJSDocParameterTag(declaration)) && requiresAddingImplicitUndefined(declaration, context.enclosingDeclaration); + if (addUndefinedForParameter) { + type = getOptionalType(type); + } + return serializeInferredTypeForDeclaration(symbol, context, type); + }, + serializeNameOfParameter(context, parameter) { + return parameterToParameterDeclarationName(getSymbolOfDeclaration(parameter), parameter, context); + }, + serializeEntityName(syntacticContext, node) { + const context = syntacticContext; + const symbol = getSymbolAtLocation( + node, + /*ignoreErrors*/ + true + ); + if (!symbol) return void 0; + if (!isValueSymbolAccessible(symbol, context.enclosingDeclaration)) return void 0; + return symbolToExpression(symbol, context, 111551 /* Value */ | 1048576 /* ExportValue */); + }, + serializeTypeName(context, node, isTypeOf, typeArguments) { + return serializeTypeName(context, node, isTypeOf, typeArguments); + }, + getJsDocPropertyOverride(syntacticContext, jsDocTypeLiteral, jsDocProperty) { + const context = syntacticContext; + const name = isIdentifier(jsDocProperty.name) ? jsDocProperty.name : jsDocProperty.name.right; + const typeViaParent = getTypeOfPropertyOfType(getTypeFromTypeNode2(context, jsDocTypeLiteral), name.escapedText); + const overrideTypeNode = typeViaParent && jsDocProperty.typeExpression && getTypeFromTypeNode2(context, jsDocProperty.typeExpression.type) !== typeViaParent ? typeToTypeNodeHelper(typeViaParent, context) : void 0; + return overrideTypeNode; + }, + enterNewScope(context, node) { + if (isFunctionLike(node) || isJSDocSignature(node)) { + const signature = getSignatureFromDeclaration(node); + const expandedParams = getExpandedParameters( + signature, + /*skipUnionExpanding*/ + true + )[0]; + return enterNewScope(context, node, expandedParams, signature.typeParameters); + } else { + const typeParameters = isConditionalTypeNode(node) ? getInferTypeParameters(node) : [getDeclaredTypeOfTypeParameter(getSymbolOfDeclaration(node.typeParameter))]; + return enterNewScope( + context, + node, + /*expandedParams*/ + void 0, + typeParameters + ); + } + }, + markNodeReuse(context, range, location) { + return setTextRange2(context, range, location); + }, + trackExistingEntityName(context, node) { + return trackExistingEntityName(node, context); + }, + trackComputedName(context, accessExpression) { + trackComputedName(accessExpression, context.enclosingDeclaration, context); + }, + getModuleSpecifierOverride(syntacticContext, parent, lit) { + const context = syntacticContext; + if (context.bundled || context.enclosingFile !== getSourceFileOfNode(lit)) { + let name = lit.text; + const nodeSymbol = getNodeLinks(parent).resolvedSymbol; + const meaning = parent.isTypeOf ? 111551 /* Value */ : 788968 /* Type */; + const parentSymbol = nodeSymbol && isSymbolAccessible( + nodeSymbol, + context.enclosingDeclaration, + meaning, + /*shouldComputeAliasesToMakeVisible*/ + false + ).accessibility === 0 /* Accessible */ && lookupSymbolChain( + nodeSymbol, + context, + meaning, + /*yieldModuleSymbol*/ + true + )[0]; + if (parentSymbol && isExternalModuleSymbol(parentSymbol)) { + name = getSpecifierForModuleSymbol(parentSymbol, context); + } else { + const targetFile = getExternalModuleFileFromDeclaration(parent); + if (targetFile) { + name = getSpecifierForModuleSymbol(targetFile.symbol, context); + } + } + if (name.includes("/node_modules/")) { + context.encounteredError = true; + if (context.tracker.reportLikelyUnsafeImportRequiredError) { + context.tracker.reportLikelyUnsafeImportRequiredError(name); + } + } + return name; + } + }, + canReuseTypeNode(context, typeNode) { + return canReuseTypeNode(context, typeNode); + }, + canReuseTypeNodeAnnotation(syntacticContext, node, existing, symbol, requiresAddingUndefined) { + var _a; + const context = syntacticContext; + if (context.enclosingDeclaration === void 0) return false; + symbol ?? (symbol = getSymbolOfDeclaration(node)); + let type = (_a = context.enclosingSymbolTypes) == null ? void 0 : _a.get(getSymbolId(symbol)); + if (type === void 0) { + if (symbol.flags & 98304 /* Accessor */) { + type = node.kind === 178 /* SetAccessor */ ? getWriteTypeOfSymbol(symbol) : getTypeOfAccessors(symbol); + } else if (isValueSignatureDeclaration(node)) { + type = getReturnTypeOfSignature(getSignatureFromDeclaration(node)); + } else { + type = getTypeOfSymbol(symbol); + } + } + let annotationType = getTypeFromTypeNodeWithoutContext(existing); + if (isErrorType(annotationType)) { + return true; + } + if (requiresAddingUndefined && annotationType) { + annotationType = getOptionalType(annotationType, !isParameter(node)); + } + return !!annotationType && typeNodeIsEquivalentToType(node, type, annotationType) && existingTypeNodeIsNotReferenceOrIsReferenceWithCompatibleTypeArgumentCount(existing, type); + } + }; + return { + syntacticBuilderResolver, + typeToTypeNode: (type, enclosingDeclaration, flags, internalFlags, tracker) => withContext(enclosingDeclaration, flags, internalFlags, tracker, (context) => typeToTypeNodeHelper(type, context)), + typePredicateToTypePredicateNode: (typePredicate, enclosingDeclaration, flags, internalFlags, tracker) => withContext(enclosingDeclaration, flags, internalFlags, tracker, (context) => typePredicateToTypePredicateNodeHelper(typePredicate, context)), + serializeTypeForExpression: (expr, enclosingDeclaration, flags, internalFlags, tracker) => withContext(enclosingDeclaration, flags, internalFlags, tracker, (context) => syntacticNodeBuilder.serializeTypeOfExpression(expr, context)), + serializeTypeForDeclaration: (declaration, symbol, enclosingDeclaration, flags, internalFlags, tracker) => withContext(enclosingDeclaration, flags, internalFlags, tracker, (context) => syntacticNodeBuilder.serializeTypeOfDeclaration(declaration, symbol, context)), + serializeReturnTypeForSignature: (signature, enclosingDeclaration, flags, internalFlags, tracker) => withContext(enclosingDeclaration, flags, internalFlags, tracker, (context) => syntacticNodeBuilder.serializeReturnTypeForSignature(signature, getSymbolOfDeclaration(signature), context)), + indexInfoToIndexSignatureDeclaration: (indexInfo, enclosingDeclaration, flags, internalFlags, tracker) => withContext(enclosingDeclaration, flags, internalFlags, tracker, (context) => indexInfoToIndexSignatureDeclarationHelper( + indexInfo, + context, + /*typeNode*/ + void 0 + )), + signatureToSignatureDeclaration: (signature, kind, enclosingDeclaration, flags, internalFlags, tracker) => withContext(enclosingDeclaration, flags, internalFlags, tracker, (context) => signatureToSignatureDeclarationHelper(signature, kind, context)), + symbolToEntityName: (symbol, meaning, enclosingDeclaration, flags, internalFlags, tracker) => withContext(enclosingDeclaration, flags, internalFlags, tracker, (context) => symbolToName( + symbol, + context, + meaning, + /*expectsIdentifier*/ + false + )), + symbolToExpression: (symbol, meaning, enclosingDeclaration, flags, internalFlags, tracker) => withContext(enclosingDeclaration, flags, internalFlags, tracker, (context) => symbolToExpression(symbol, context, meaning)), + symbolToTypeParameterDeclarations: (symbol, enclosingDeclaration, flags, internalFlags, tracker) => withContext(enclosingDeclaration, flags, internalFlags, tracker, (context) => typeParametersToTypeParameterDeclarations(symbol, context)), + symbolToParameterDeclaration: (symbol, enclosingDeclaration, flags, internalFlags, tracker) => withContext(enclosingDeclaration, flags, internalFlags, tracker, (context) => symbolToParameterDeclaration(symbol, context)), + typeParameterToDeclaration: (parameter, enclosingDeclaration, flags, internalFlags, tracker) => withContext(enclosingDeclaration, flags, internalFlags, tracker, (context) => typeParameterToDeclaration(parameter, context)), + symbolTableToDeclarationStatements: (symbolTable, enclosingDeclaration, flags, internalFlags, tracker) => withContext(enclosingDeclaration, flags, internalFlags, tracker, (context) => symbolTableToDeclarationStatements(symbolTable, context)), + symbolToNode: (symbol, meaning, enclosingDeclaration, flags, internalFlags, tracker) => withContext(enclosingDeclaration, flags, internalFlags, tracker, (context) => symbolToNode(symbol, context, meaning)) + }; + function getTypeFromTypeNode2(context, node, noMappedTypes) { + const type = getTypeFromTypeNodeWithoutContext(node); + if (!context.mapper) return type; + const mappedType = instantiateType(type, context.mapper); + return noMappedTypes && mappedType !== type ? void 0 : mappedType; + } + function setTextRange2(context, range, location) { + if (!nodeIsSynthesized(range) || !(range.flags & 16 /* Synthesized */) || !context.enclosingFile || context.enclosingFile !== getSourceFileOfNode(getOriginalNode(range))) { + range = factory.cloneNode(range); + } + if (range === location) return range; + if (!location) { + return range; + } + let original = range.original; + while (original && original !== location) { + original = original.original; + } + if (!original) { + setOriginalNode(range, location); + } + if (context.enclosingFile && context.enclosingFile === getSourceFileOfNode(getOriginalNode(location))) { + return setTextRange(range, location); + } + return range; + } + function symbolToNode(symbol, context, meaning) { + if (context.internalFlags & 1 /* WriteComputedProps */) { + if (symbol.valueDeclaration) { + const name = getNameOfDeclaration(symbol.valueDeclaration); + if (name && isComputedPropertyName(name)) return name; + } + const nameType = getSymbolLinks(symbol).nameType; + if (nameType && nameType.flags & (1024 /* EnumLiteral */ | 8192 /* UniqueESSymbol */)) { + context.enclosingDeclaration = nameType.symbol.valueDeclaration; + return factory.createComputedPropertyName(symbolToExpression(nameType.symbol, context, meaning)); + } + } + return symbolToExpression(symbol, context, meaning); + } + function withContext(enclosingDeclaration, flags, internalFlags, tracker, cb) { + const moduleResolverHost = (tracker == null ? void 0 : tracker.trackSymbol) ? tracker.moduleResolverHost : (internalFlags || 0 /* None */) & 4 /* DoNotIncludeSymbolChain */ ? createBasicNodeBuilderModuleSpecifierResolutionHost(host) : void 0; + const context = { + enclosingDeclaration, + enclosingFile: enclosingDeclaration && getSourceFileOfNode(enclosingDeclaration), + flags: flags || 0 /* None */, + internalFlags: internalFlags || 0 /* None */, + tracker: void 0, + encounteredError: false, + suppressReportInferenceFallback: false, + reportedDiagnostic: false, + visitedTypes: void 0, + symbolDepth: void 0, + inferTypeParameters: void 0, + approximateLength: 0, + trackedSymbols: void 0, + bundled: !!compilerOptions.outFile && !!enclosingDeclaration && isExternalOrCommonJsModule(getSourceFileOfNode(enclosingDeclaration)), + truncating: false, + usedSymbolNames: void 0, + remappedSymbolNames: void 0, + remappedSymbolReferences: void 0, + reverseMappedStack: void 0, + mustCreateTypeParameterSymbolList: true, + typeParameterSymbolList: void 0, + mustCreateTypeParametersNamesLookups: true, + typeParameterNames: void 0, + typeParameterNamesByText: void 0, + typeParameterNamesByTextNextNameCount: void 0, + enclosingSymbolTypes: /* @__PURE__ */ new Map(), + mapper: void 0 + }; + context.tracker = new SymbolTrackerImpl(context, tracker, moduleResolverHost); + const resultingNode = cb(context); + if (context.truncating && context.flags & 1 /* NoTruncation */) { + context.tracker.reportTruncationError(); + } + return context.encounteredError ? void 0 : resultingNode; + } + function addSymbolTypeToContext(context, symbol, type) { + const id = getSymbolId(symbol); + const oldType = context.enclosingSymbolTypes.get(id); + context.enclosingSymbolTypes.set(id, type); + return restore; + function restore() { + if (oldType) { + context.enclosingSymbolTypes.set(id, oldType); + } else { + context.enclosingSymbolTypes.delete(id); + } + } + } + function saveRestoreFlags(context) { + const flags = context.flags; + const internalFlags = context.internalFlags; + return restore; + function restore() { + context.flags = flags; + context.internalFlags = internalFlags; + } + } + function checkTruncationLength(context) { + if (context.truncating) return context.truncating; + return context.truncating = context.approximateLength > (context.flags & 1 /* NoTruncation */ ? noTruncationMaximumTruncationLength : defaultMaximumTruncationLength); + } + function typeToTypeNodeHelper(type, context) { + const restoreFlags = saveRestoreFlags(context); + const typeNode = typeToTypeNodeWorker(type, context); + restoreFlags(); + return typeNode; + } + function typeToTypeNodeWorker(type, context) { + var _a, _b; + if (cancellationToken && cancellationToken.throwIfCancellationRequested) { + cancellationToken.throwIfCancellationRequested(); + } + const inTypeAlias = context.flags & 8388608 /* InTypeAlias */; + context.flags &= ~8388608 /* InTypeAlias */; + if (!type) { + if (!(context.flags & 262144 /* AllowEmptyUnionOrIntersection */)) { + context.encounteredError = true; + return void 0; + } + context.approximateLength += 3; + return factory.createKeywordTypeNode(133 /* AnyKeyword */); + } + if (!(context.flags & 536870912 /* NoTypeReduction */)) { + type = getReducedType(type); + } + if (type.flags & 1 /* Any */) { + if (type.aliasSymbol) { + return factory.createTypeReferenceNode(symbolToEntityNameNode(type.aliasSymbol), mapToTypeNodes(type.aliasTypeArguments, context)); + } + if (type === unresolvedType) { + return addSyntheticLeadingComment(factory.createKeywordTypeNode(133 /* AnyKeyword */), 3 /* MultiLineCommentTrivia */, "unresolved"); + } + context.approximateLength += 3; + return factory.createKeywordTypeNode(type === intrinsicMarkerType ? 141 /* IntrinsicKeyword */ : 133 /* AnyKeyword */); + } + if (type.flags & 2 /* Unknown */) { + return factory.createKeywordTypeNode(159 /* UnknownKeyword */); + } + if (type.flags & 4 /* String */) { + context.approximateLength += 6; + return factory.createKeywordTypeNode(154 /* StringKeyword */); + } + if (type.flags & 8 /* Number */) { + context.approximateLength += 6; + return factory.createKeywordTypeNode(150 /* NumberKeyword */); + } + if (type.flags & 64 /* BigInt */) { + context.approximateLength += 6; + return factory.createKeywordTypeNode(163 /* BigIntKeyword */); + } + if (type.flags & 16 /* Boolean */ && !type.aliasSymbol) { + context.approximateLength += 7; + return factory.createKeywordTypeNode(136 /* BooleanKeyword */); + } + if (type.flags & 1056 /* EnumLike */) { + if (type.symbol.flags & 8 /* EnumMember */) { + const parentSymbol = getParentOfSymbol(type.symbol); + const parentName = symbolToTypeNode(parentSymbol, context, 788968 /* Type */); + if (getDeclaredTypeOfSymbol(parentSymbol) === type) { + return parentName; + } + const memberName = symbolName(type.symbol); + if (isIdentifierText(memberName, 1 /* ES5 */)) { + return appendReferenceToType( + parentName, + factory.createTypeReferenceNode( + memberName, + /*typeArguments*/ + void 0 + ) + ); + } + if (isImportTypeNode(parentName)) { + parentName.isTypeOf = true; + return factory.createIndexedAccessTypeNode(parentName, factory.createLiteralTypeNode(factory.createStringLiteral(memberName))); + } else if (isTypeReferenceNode(parentName)) { + return factory.createIndexedAccessTypeNode(factory.createTypeQueryNode(parentName.typeName), factory.createLiteralTypeNode(factory.createStringLiteral(memberName))); + } else { + return Debug.fail("Unhandled type node kind returned from `symbolToTypeNode`."); + } + } + return symbolToTypeNode(type.symbol, context, 788968 /* Type */); + } + if (type.flags & 128 /* StringLiteral */) { + context.approximateLength += type.value.length + 2; + return factory.createLiteralTypeNode(setEmitFlags(factory.createStringLiteral(type.value, !!(context.flags & 268435456 /* UseSingleQuotesForStringLiteralType */)), 16777216 /* NoAsciiEscaping */)); + } + if (type.flags & 256 /* NumberLiteral */) { + const value = type.value; + context.approximateLength += ("" + value).length; + return factory.createLiteralTypeNode(value < 0 ? factory.createPrefixUnaryExpression(41 /* MinusToken */, factory.createNumericLiteral(-value)) : factory.createNumericLiteral(value)); + } + if (type.flags & 2048 /* BigIntLiteral */) { + context.approximateLength += pseudoBigIntToString(type.value).length + 1; + return factory.createLiteralTypeNode(factory.createBigIntLiteral(type.value)); + } + if (type.flags & 512 /* BooleanLiteral */) { + context.approximateLength += type.intrinsicName.length; + return factory.createLiteralTypeNode(type.intrinsicName === "true" ? factory.createTrue() : factory.createFalse()); + } + if (type.flags & 8192 /* UniqueESSymbol */) { + if (!(context.flags & 1048576 /* AllowUniqueESSymbolType */)) { + if (isValueSymbolAccessible(type.symbol, context.enclosingDeclaration)) { + context.approximateLength += 6; + return symbolToTypeNode(type.symbol, context, 111551 /* Value */); + } + if (context.tracker.reportInaccessibleUniqueSymbolError) { + context.tracker.reportInaccessibleUniqueSymbolError(); + } + } + context.approximateLength += 13; + return factory.createTypeOperatorNode(158 /* UniqueKeyword */, factory.createKeywordTypeNode(155 /* SymbolKeyword */)); + } + if (type.flags & 16384 /* Void */) { + context.approximateLength += 4; + return factory.createKeywordTypeNode(116 /* VoidKeyword */); + } + if (type.flags & 32768 /* Undefined */) { + context.approximateLength += 9; + return factory.createKeywordTypeNode(157 /* UndefinedKeyword */); + } + if (type.flags & 65536 /* Null */) { + context.approximateLength += 4; + return factory.createLiteralTypeNode(factory.createNull()); + } + if (type.flags & 131072 /* Never */) { + context.approximateLength += 5; + return factory.createKeywordTypeNode(146 /* NeverKeyword */); + } + if (type.flags & 4096 /* ESSymbol */) { + context.approximateLength += 6; + return factory.createKeywordTypeNode(155 /* SymbolKeyword */); + } + if (type.flags & 67108864 /* NonPrimitive */) { + context.approximateLength += 6; + return factory.createKeywordTypeNode(151 /* ObjectKeyword */); + } + if (isThisTypeParameter(type)) { + if (context.flags & 4194304 /* InObjectTypeLiteral */) { + if (!context.encounteredError && !(context.flags & 32768 /* AllowThisInObjectLiteral */)) { + context.encounteredError = true; + } + (_b = (_a = context.tracker).reportInaccessibleThisError) == null ? void 0 : _b.call(_a); + } + context.approximateLength += 4; + return factory.createThisTypeNode(); + } + if (!inTypeAlias && type.aliasSymbol && (context.flags & 16384 /* UseAliasDefinedOutsideCurrentScope */ || isTypeSymbolAccessible(type.aliasSymbol, context.enclosingDeclaration))) { + const typeArgumentNodes = mapToTypeNodes(type.aliasTypeArguments, context); + if (isReservedMemberName(type.aliasSymbol.escapedName) && !(type.aliasSymbol.flags & 32 /* Class */)) return factory.createTypeReferenceNode(factory.createIdentifier(""), typeArgumentNodes); + if (length(typeArgumentNodes) === 1 && type.aliasSymbol === globalArrayType.symbol) { + return factory.createArrayTypeNode(typeArgumentNodes[0]); + } + return symbolToTypeNode(type.aliasSymbol, context, 788968 /* Type */, typeArgumentNodes); + } + const objectFlags = getObjectFlags(type); + if (objectFlags & 4 /* Reference */) { + Debug.assert(!!(type.flags & 524288 /* Object */)); + return type.node ? visitAndTransformType(type, typeReferenceToTypeNode) : typeReferenceToTypeNode(type); + } + if (type.flags & 262144 /* TypeParameter */ || objectFlags & 3 /* ClassOrInterface */) { + if (type.flags & 262144 /* TypeParameter */ && contains(context.inferTypeParameters, type)) { + context.approximateLength += symbolName(type.symbol).length + 6; + let constraintNode; + const constraint = getConstraintOfTypeParameter(type); + if (constraint) { + const inferredConstraint = getInferredTypeParameterConstraint( + type, + /*omitTypeReferences*/ + true + ); + if (!(inferredConstraint && isTypeIdenticalTo(constraint, inferredConstraint))) { + context.approximateLength += 9; + constraintNode = constraint && typeToTypeNodeHelper(constraint, context); + } + } + return factory.createInferTypeNode(typeParameterToDeclarationWithConstraint(type, context, constraintNode)); + } + if (context.flags & 4 /* GenerateNamesForShadowedTypeParams */ && type.flags & 262144 /* TypeParameter */) { + const name2 = typeParameterToName(type, context); + context.approximateLength += idText(name2).length; + return factory.createTypeReferenceNode( + factory.createIdentifier(idText(name2)), + /*typeArguments*/ + void 0 + ); + } + if (type.symbol) { + return symbolToTypeNode(type.symbol, context, 788968 /* Type */); + } + const name = (type === markerSuperTypeForCheck || type === markerSubTypeForCheck) && varianceTypeParameter && varianceTypeParameter.symbol ? (type === markerSubTypeForCheck ? "sub-" : "super-") + symbolName(varianceTypeParameter.symbol) : "?"; + return factory.createTypeReferenceNode( + factory.createIdentifier(name), + /*typeArguments*/ + void 0 + ); + } + if (type.flags & 1048576 /* Union */ && type.origin) { + type = type.origin; + } + if (type.flags & (1048576 /* Union */ | 2097152 /* Intersection */)) { + const types = type.flags & 1048576 /* Union */ ? formatUnionTypes(type.types) : type.types; + if (length(types) === 1) { + return typeToTypeNodeHelper(types[0], context); + } + const typeNodes = mapToTypeNodes( + types, + context, + /*isBareList*/ + true + ); + if (typeNodes && typeNodes.length > 0) { + return type.flags & 1048576 /* Union */ ? factory.createUnionTypeNode(typeNodes) : factory.createIntersectionTypeNode(typeNodes); + } else { + if (!context.encounteredError && !(context.flags & 262144 /* AllowEmptyUnionOrIntersection */)) { + context.encounteredError = true; + } + return void 0; + } + } + if (objectFlags & (16 /* Anonymous */ | 32 /* Mapped */)) { + Debug.assert(!!(type.flags & 524288 /* Object */)); + return createAnonymousTypeNode(type); + } + if (type.flags & 4194304 /* Index */) { + const indexedType = type.type; + context.approximateLength += 6; + const indexTypeNode = typeToTypeNodeHelper(indexedType, context); + return factory.createTypeOperatorNode(143 /* KeyOfKeyword */, indexTypeNode); + } + if (type.flags & 134217728 /* TemplateLiteral */) { + const texts = type.texts; + const types = type.types; + const templateHead = factory.createTemplateHead(texts[0]); + const templateSpans = factory.createNodeArray( + map(types, (t, i) => factory.createTemplateLiteralTypeSpan( + typeToTypeNodeHelper(t, context), + (i < types.length - 1 ? factory.createTemplateMiddle : factory.createTemplateTail)(texts[i + 1]) + )) + ); + context.approximateLength += 2; + return factory.createTemplateLiteralType(templateHead, templateSpans); + } + if (type.flags & 268435456 /* StringMapping */) { + const typeNode = typeToTypeNodeHelper(type.type, context); + return symbolToTypeNode(type.symbol, context, 788968 /* Type */, [typeNode]); + } + if (type.flags & 8388608 /* IndexedAccess */) { + const objectTypeNode = typeToTypeNodeHelper(type.objectType, context); + const indexTypeNode = typeToTypeNodeHelper(type.indexType, context); + context.approximateLength += 2; + return factory.createIndexedAccessTypeNode(objectTypeNode, indexTypeNode); + } + if (type.flags & 16777216 /* Conditional */) { + return visitAndTransformType(type, (type2) => conditionalTypeToTypeNode(type2)); + } + if (type.flags & 33554432 /* Substitution */) { + const typeNode = typeToTypeNodeHelper(type.baseType, context); + const noInferSymbol = isNoInferType(type) && getGlobalTypeSymbol( + "NoInfer", + /*reportErrors*/ + false + ); + return noInferSymbol ? symbolToTypeNode(noInferSymbol, context, 788968 /* Type */, [typeNode]) : typeNode; + } + return Debug.fail("Should be unreachable."); + function conditionalTypeToTypeNode(type2) { + const checkTypeNode = typeToTypeNodeHelper(type2.checkType, context); + context.approximateLength += 15; + if (context.flags & 4 /* GenerateNamesForShadowedTypeParams */ && type2.root.isDistributive && !(type2.checkType.flags & 262144 /* TypeParameter */)) { + const newParam = createTypeParameter(createSymbol(262144 /* TypeParameter */, "T")); + const name = typeParameterToName(newParam, context); + const newTypeVariable = factory.createTypeReferenceNode(name); + context.approximateLength += 37; + const newMapper = prependTypeMapping(type2.root.checkType, newParam, type2.mapper); + const saveInferTypeParameters2 = context.inferTypeParameters; + context.inferTypeParameters = type2.root.inferTypeParameters; + const extendsTypeNode2 = typeToTypeNodeHelper(instantiateType(type2.root.extendsType, newMapper), context); + context.inferTypeParameters = saveInferTypeParameters2; + const trueTypeNode2 = typeToTypeNodeOrCircularityElision(instantiateType(getTypeFromTypeNode2(context, type2.root.node.trueType), newMapper)); + const falseTypeNode2 = typeToTypeNodeOrCircularityElision(instantiateType(getTypeFromTypeNode2(context, type2.root.node.falseType), newMapper)); + return factory.createConditionalTypeNode( + checkTypeNode, + factory.createInferTypeNode(factory.createTypeParameterDeclaration( + /*modifiers*/ + void 0, + factory.cloneNode(newTypeVariable.typeName) + )), + factory.createConditionalTypeNode( + factory.createTypeReferenceNode(factory.cloneNode(name)), + typeToTypeNodeHelper(type2.checkType, context), + factory.createConditionalTypeNode(newTypeVariable, extendsTypeNode2, trueTypeNode2, falseTypeNode2), + factory.createKeywordTypeNode(146 /* NeverKeyword */) + ), + factory.createKeywordTypeNode(146 /* NeverKeyword */) + ); + } + const saveInferTypeParameters = context.inferTypeParameters; + context.inferTypeParameters = type2.root.inferTypeParameters; + const extendsTypeNode = typeToTypeNodeHelper(type2.extendsType, context); + context.inferTypeParameters = saveInferTypeParameters; + const trueTypeNode = typeToTypeNodeOrCircularityElision(getTrueTypeFromConditionalType(type2)); + const falseTypeNode = typeToTypeNodeOrCircularityElision(getFalseTypeFromConditionalType(type2)); + return factory.createConditionalTypeNode(checkTypeNode, extendsTypeNode, trueTypeNode, falseTypeNode); + } + function typeToTypeNodeOrCircularityElision(type2) { + var _a2, _b2, _c; + if (type2.flags & 1048576 /* Union */) { + if ((_a2 = context.visitedTypes) == null ? void 0 : _a2.has(getTypeId(type2))) { + if (!(context.flags & 131072 /* AllowAnonymousIdentifier */)) { + context.encounteredError = true; + (_c = (_b2 = context.tracker) == null ? void 0 : _b2.reportCyclicStructureError) == null ? void 0 : _c.call(_b2); + } + return createElidedInformationPlaceholder(context); + } + return visitAndTransformType(type2, (type3) => typeToTypeNodeHelper(type3, context)); + } + return typeToTypeNodeHelper(type2, context); + } + function isMappedTypeHomomorphic(type2) { + return !!getHomomorphicTypeVariable(type2); + } + function isHomomorphicMappedTypeWithNonHomomorphicInstantiation(type2) { + return !!type2.target && isMappedTypeHomomorphic(type2.target) && !isMappedTypeHomomorphic(type2); + } + function createMappedTypeNodeFromType(type2) { + var _a2; + Debug.assert(!!(type2.flags & 524288 /* Object */)); + const readonlyToken = type2.declaration.readonlyToken ? factory.createToken(type2.declaration.readonlyToken.kind) : void 0; + const questionToken = type2.declaration.questionToken ? factory.createToken(type2.declaration.questionToken.kind) : void 0; + let appropriateConstraintTypeNode; + let newTypeVariable; + const needsModifierPreservingWrapper = !isMappedTypeWithKeyofConstraintDeclaration(type2) && !(getModifiersTypeFromMappedType(type2).flags & 2 /* Unknown */) && context.flags & 4 /* GenerateNamesForShadowedTypeParams */ && !(getConstraintTypeFromMappedType(type2).flags & 262144 /* TypeParameter */ && ((_a2 = getConstraintOfTypeParameter(getConstraintTypeFromMappedType(type2))) == null ? void 0 : _a2.flags) & 4194304 /* Index */); + if (isMappedTypeWithKeyofConstraintDeclaration(type2)) { + if (isHomomorphicMappedTypeWithNonHomomorphicInstantiation(type2) && context.flags & 4 /* GenerateNamesForShadowedTypeParams */) { + const newParam = createTypeParameter(createSymbol(262144 /* TypeParameter */, "T")); + const name = typeParameterToName(newParam, context); + newTypeVariable = factory.createTypeReferenceNode(name); + } + appropriateConstraintTypeNode = factory.createTypeOperatorNode(143 /* KeyOfKeyword */, newTypeVariable || typeToTypeNodeHelper(getModifiersTypeFromMappedType(type2), context)); + } else if (needsModifierPreservingWrapper) { + const newParam = createTypeParameter(createSymbol(262144 /* TypeParameter */, "T")); + const name = typeParameterToName(newParam, context); + newTypeVariable = factory.createTypeReferenceNode(name); + appropriateConstraintTypeNode = newTypeVariable; + } else { + appropriateConstraintTypeNode = typeToTypeNodeHelper(getConstraintTypeFromMappedType(type2), context); + } + const typeParameterNode = typeParameterToDeclarationWithConstraint(getTypeParameterFromMappedType(type2), context, appropriateConstraintTypeNode); + const nameTypeNode = type2.declaration.nameType ? typeToTypeNodeHelper(getNameTypeFromMappedType(type2), context) : void 0; + const templateTypeNode = typeToTypeNodeHelper(removeMissingType(getTemplateTypeFromMappedType(type2), !!(getMappedTypeModifiers(type2) & 4 /* IncludeOptional */)), context); + const mappedTypeNode = factory.createMappedTypeNode( + readonlyToken, + typeParameterNode, + nameTypeNode, + questionToken, + templateTypeNode, + /*members*/ + void 0 + ); + context.approximateLength += 10; + const result = setEmitFlags(mappedTypeNode, 1 /* SingleLine */); + if (isHomomorphicMappedTypeWithNonHomomorphicInstantiation(type2) && context.flags & 4 /* GenerateNamesForShadowedTypeParams */) { + const originalConstraint = instantiateType(getConstraintOfTypeParameter(getTypeFromTypeNode2(context, type2.declaration.typeParameter.constraint.type)) || unknownType, type2.mapper); + return factory.createConditionalTypeNode( + typeToTypeNodeHelper(getModifiersTypeFromMappedType(type2), context), + factory.createInferTypeNode(factory.createTypeParameterDeclaration( + /*modifiers*/ + void 0, + factory.cloneNode(newTypeVariable.typeName), + originalConstraint.flags & 2 /* Unknown */ ? void 0 : typeToTypeNodeHelper(originalConstraint, context) + )), + result, + factory.createKeywordTypeNode(146 /* NeverKeyword */) + ); + } else if (needsModifierPreservingWrapper) { + return factory.createConditionalTypeNode( + typeToTypeNodeHelper(getConstraintTypeFromMappedType(type2), context), + factory.createInferTypeNode(factory.createTypeParameterDeclaration( + /*modifiers*/ + void 0, + factory.cloneNode(newTypeVariable.typeName), + factory.createTypeOperatorNode(143 /* KeyOfKeyword */, typeToTypeNodeHelper(getModifiersTypeFromMappedType(type2), context)) + )), + result, + factory.createKeywordTypeNode(146 /* NeverKeyword */) + ); + } + return result; + } + function createAnonymousTypeNode(type2) { + var _a2, _b2; + const typeId = type2.id; + const symbol = type2.symbol; + if (symbol) { + const isInstantiationExpressionType = !!(getObjectFlags(type2) & 8388608 /* InstantiationExpressionType */); + if (isInstantiationExpressionType) { + const instantiationExpressionType = type2; + const existing = instantiationExpressionType.node; + if (isTypeQueryNode(existing) && getTypeFromTypeNode2(context, existing) === type2) { + const typeNode = syntacticNodeBuilder.tryReuseExistingTypeNode(context, existing); + if (typeNode) { + return typeNode; + } + } + if ((_a2 = context.visitedTypes) == null ? void 0 : _a2.has(typeId)) { + return createElidedInformationPlaceholder(context); + } + return visitAndTransformType(type2, createTypeNodeFromObjectType); + } + const isInstanceType = isClassInstanceSide(type2) ? 788968 /* Type */ : 111551 /* Value */; + if (isJSConstructor(symbol.valueDeclaration)) { + return symbolToTypeNode(symbol, context, isInstanceType); + } else if (symbol.flags & 32 /* Class */ && !getBaseTypeVariableOfClass(symbol) && !(symbol.valueDeclaration && isClassLike(symbol.valueDeclaration) && context.flags & 2048 /* WriteClassExpressionAsTypeLiteral */ && (!isClassDeclaration(symbol.valueDeclaration) || isSymbolAccessible( + symbol, + context.enclosingDeclaration, + isInstanceType, + /*shouldComputeAliasesToMakeVisible*/ + false + ).accessibility !== 0 /* Accessible */)) || symbol.flags & (384 /* Enum */ | 512 /* ValueModule */) || shouldWriteTypeOfFunctionSymbol()) { + return symbolToTypeNode(symbol, context, isInstanceType); + } else if ((_b2 = context.visitedTypes) == null ? void 0 : _b2.has(typeId)) { + const typeAlias = getTypeAliasForTypeLiteral(type2); + if (typeAlias) { + return symbolToTypeNode(typeAlias, context, 788968 /* Type */); + } else { + return createElidedInformationPlaceholder(context); + } + } else { + return visitAndTransformType(type2, createTypeNodeFromObjectType); + } + } else { + return createTypeNodeFromObjectType(type2); + } + function shouldWriteTypeOfFunctionSymbol() { + var _a3; + const isStaticMethodSymbol = !!(symbol.flags & 8192 /* Method */) && // typeof static method + some(symbol.declarations, (declaration) => isStatic(declaration)); + const isNonLocalFunctionSymbol = !!(symbol.flags & 16 /* Function */) && (symbol.parent || // is exported function symbol + forEach(symbol.declarations, (declaration) => declaration.parent.kind === 307 /* SourceFile */ || declaration.parent.kind === 268 /* ModuleBlock */)); + if (isStaticMethodSymbol || isNonLocalFunctionSymbol) { + return (!!(context.flags & 4096 /* UseTypeOfFunction */) || ((_a3 = context.visitedTypes) == null ? void 0 : _a3.has(typeId))) && // it is type of the symbol uses itself recursively + (!(context.flags & 8 /* UseStructuralFallback */) || isValueSymbolAccessible(symbol, context.enclosingDeclaration)); + } + } + } + function visitAndTransformType(type2, transform) { + var _a2, _b2, _c; + const typeId = type2.id; + const isConstructorObject = getObjectFlags(type2) & 16 /* Anonymous */ && type2.symbol && type2.symbol.flags & 32 /* Class */; + const id = getObjectFlags(type2) & 4 /* Reference */ && type2.node ? "N" + getNodeId(type2.node) : type2.flags & 16777216 /* Conditional */ ? "N" + getNodeId(type2.root.node) : type2.symbol ? (isConstructorObject ? "+" : "") + getSymbolId(type2.symbol) : void 0; + if (!context.visitedTypes) { + context.visitedTypes = /* @__PURE__ */ new Set(); + } + if (id && !context.symbolDepth) { + context.symbolDepth = /* @__PURE__ */ new Map(); + } + const links = context.enclosingDeclaration && getNodeLinks(context.enclosingDeclaration); + const key = `${getTypeId(type2)}|${context.flags}|${context.internalFlags}`; + if (links) { + links.serializedTypes || (links.serializedTypes = /* @__PURE__ */ new Map()); + } + const cachedResult = (_a2 = links == null ? void 0 : links.serializedTypes) == null ? void 0 : _a2.get(key); + if (cachedResult) { + (_b2 = cachedResult.trackedSymbols) == null ? void 0 : _b2.forEach( + ([symbol, enclosingDeclaration, meaning]) => context.tracker.trackSymbol( + symbol, + enclosingDeclaration, + meaning + ) + ); + if (cachedResult.truncating) { + context.truncating = true; + } + context.approximateLength += cachedResult.addedLength; + return deepCloneOrReuseNode(cachedResult.node); + } + let depth; + if (id) { + depth = context.symbolDepth.get(id) || 0; + if (depth > 10) { + return createElidedInformationPlaceholder(context); + } + context.symbolDepth.set(id, depth + 1); + } + context.visitedTypes.add(typeId); + const prevTrackedSymbols = context.trackedSymbols; + context.trackedSymbols = void 0; + const startLength = context.approximateLength; + const result = transform(type2); + const addedLength = context.approximateLength - startLength; + if (!context.reportedDiagnostic && !context.encounteredError) { + (_c = links == null ? void 0 : links.serializedTypes) == null ? void 0 : _c.set(key, { + node: result, + truncating: context.truncating, + addedLength, + trackedSymbols: context.trackedSymbols + }); + } + context.visitedTypes.delete(typeId); + if (id) { + context.symbolDepth.set(id, depth); + } + context.trackedSymbols = prevTrackedSymbols; + return result; + function deepCloneOrReuseNode(node) { + if (!nodeIsSynthesized(node) && getParseTreeNode(node) === node) { + return node; + } + return setTextRange2(context, factory.cloneNode(visitEachChild( + node, + deepCloneOrReuseNode, + /*context*/ + void 0, + deepCloneOrReuseNodes, + deepCloneOrReuseNode + )), node); + } + function deepCloneOrReuseNodes(nodes, visitor, test, start, count) { + if (nodes && nodes.length === 0) { + return setTextRange(factory.createNodeArray( + /*elements*/ + void 0, + nodes.hasTrailingComma + ), nodes); + } + return visitNodes2(nodes, visitor, test, start, count); + } + } + function createTypeNodeFromObjectType(type2) { + if (isGenericMappedType(type2) || type2.containsError) { + return createMappedTypeNodeFromType(type2); + } + const resolved = resolveStructuredTypeMembers(type2); + if (!resolved.properties.length && !resolved.indexInfos.length) { + if (!resolved.callSignatures.length && !resolved.constructSignatures.length) { + context.approximateLength += 2; + return setEmitFlags(factory.createTypeLiteralNode( + /*members*/ + void 0 + ), 1 /* SingleLine */); + } + if (resolved.callSignatures.length === 1 && !resolved.constructSignatures.length) { + const signature = resolved.callSignatures[0]; + const signatureNode = signatureToSignatureDeclarationHelper(signature, 184 /* FunctionType */, context); + return signatureNode; + } + if (resolved.constructSignatures.length === 1 && !resolved.callSignatures.length) { + const signature = resolved.constructSignatures[0]; + const signatureNode = signatureToSignatureDeclarationHelper(signature, 185 /* ConstructorType */, context); + return signatureNode; + } + } + const abstractSignatures = filter(resolved.constructSignatures, (signature) => !!(signature.flags & 4 /* Abstract */)); + if (some(abstractSignatures)) { + const types = map(abstractSignatures, (s) => getOrCreateTypeFromSignature(s)); + const typeElementCount = resolved.callSignatures.length + (resolved.constructSignatures.length - abstractSignatures.length) + resolved.indexInfos.length + // exclude `prototype` when writing a class expression as a type literal, as per + // the logic in `createTypeNodesFromResolvedType`. + (context.flags & 2048 /* WriteClassExpressionAsTypeLiteral */ ? countWhere(resolved.properties, (p) => !(p.flags & 4194304 /* Prototype */)) : length(resolved.properties)); + if (typeElementCount) { + types.push(getResolvedTypeWithoutAbstractConstructSignatures(resolved)); + } + return typeToTypeNodeHelper(getIntersectionType(types), context); + } + const restoreFlags = saveRestoreFlags(context); + context.flags |= 4194304 /* InObjectTypeLiteral */; + const members = createTypeNodesFromResolvedType(resolved); + restoreFlags(); + const typeLiteralNode = factory.createTypeLiteralNode(members); + context.approximateLength += 2; + setEmitFlags(typeLiteralNode, context.flags & 1024 /* MultilineObjectLiterals */ ? 0 : 1 /* SingleLine */); + return typeLiteralNode; + } + function typeReferenceToTypeNode(type2) { + let typeArguments = getTypeArguments(type2); + if (type2.target === globalArrayType || type2.target === globalReadonlyArrayType) { + if (context.flags & 2 /* WriteArrayAsGenericType */) { + const typeArgumentNode = typeToTypeNodeHelper(typeArguments[0], context); + return factory.createTypeReferenceNode(type2.target === globalArrayType ? "Array" : "ReadonlyArray", [typeArgumentNode]); + } + const elementType = typeToTypeNodeHelper(typeArguments[0], context); + const arrayType = factory.createArrayTypeNode(elementType); + return type2.target === globalArrayType ? arrayType : factory.createTypeOperatorNode(148 /* ReadonlyKeyword */, arrayType); + } else if (type2.target.objectFlags & 8 /* Tuple */) { + typeArguments = sameMap(typeArguments, (t, i) => removeMissingType(t, !!(type2.target.elementFlags[i] & 2 /* Optional */))); + if (typeArguments.length > 0) { + const arity = getTypeReferenceArity(type2); + const tupleConstituentNodes = mapToTypeNodes(typeArguments.slice(0, arity), context); + if (tupleConstituentNodes) { + const { labeledElementDeclarations } = type2.target; + for (let i = 0; i < tupleConstituentNodes.length; i++) { + const flags = type2.target.elementFlags[i]; + const labeledElementDeclaration = labeledElementDeclarations == null ? void 0 : labeledElementDeclarations[i]; + if (labeledElementDeclaration) { + tupleConstituentNodes[i] = factory.createNamedTupleMember( + flags & 12 /* Variable */ ? factory.createToken(26 /* DotDotDotToken */) : void 0, + factory.createIdentifier(unescapeLeadingUnderscores(getTupleElementLabel(labeledElementDeclaration))), + flags & 2 /* Optional */ ? factory.createToken(58 /* QuestionToken */) : void 0, + flags & 4 /* Rest */ ? factory.createArrayTypeNode(tupleConstituentNodes[i]) : tupleConstituentNodes[i] + ); + } else { + tupleConstituentNodes[i] = flags & 12 /* Variable */ ? factory.createRestTypeNode(flags & 4 /* Rest */ ? factory.createArrayTypeNode(tupleConstituentNodes[i]) : tupleConstituentNodes[i]) : flags & 2 /* Optional */ ? factory.createOptionalTypeNode(tupleConstituentNodes[i]) : tupleConstituentNodes[i]; + } + } + const tupleTypeNode = setEmitFlags(factory.createTupleTypeNode(tupleConstituentNodes), 1 /* SingleLine */); + return type2.target.readonly ? factory.createTypeOperatorNode(148 /* ReadonlyKeyword */, tupleTypeNode) : tupleTypeNode; + } + } + if (context.encounteredError || context.flags & 524288 /* AllowEmptyTuple */) { + const tupleTypeNode = setEmitFlags(factory.createTupleTypeNode([]), 1 /* SingleLine */); + return type2.target.readonly ? factory.createTypeOperatorNode(148 /* ReadonlyKeyword */, tupleTypeNode) : tupleTypeNode; + } + context.encounteredError = true; + return void 0; + } else if (context.flags & 2048 /* WriteClassExpressionAsTypeLiteral */ && type2.symbol.valueDeclaration && isClassLike(type2.symbol.valueDeclaration) && !isValueSymbolAccessible(type2.symbol, context.enclosingDeclaration)) { + return createAnonymousTypeNode(type2); + } else { + const outerTypeParameters = type2.target.outerTypeParameters; + let i = 0; + let resultType; + if (outerTypeParameters) { + const length2 = outerTypeParameters.length; + while (i < length2) { + const start = i; + const parent = getParentSymbolOfTypeParameter(outerTypeParameters[i]); + do { + i++; + } while (i < length2 && getParentSymbolOfTypeParameter(outerTypeParameters[i]) === parent); + if (!rangeEquals(outerTypeParameters, typeArguments, start, i)) { + const typeArgumentSlice = mapToTypeNodes(typeArguments.slice(start, i), context); + const restoreFlags2 = saveRestoreFlags(context); + context.flags |= 16 /* ForbidIndexedAccessSymbolReferences */; + const ref = symbolToTypeNode(parent, context, 788968 /* Type */, typeArgumentSlice); + restoreFlags2(); + resultType = !resultType ? ref : appendReferenceToType(resultType, ref); + } + } + } + let typeArgumentNodes; + if (typeArguments.length > 0) { + let typeParameterCount = 0; + if (type2.target.typeParameters) { + typeParameterCount = Math.min(type2.target.typeParameters.length, typeArguments.length); + if (isReferenceToType(type2, getGlobalIterableType( + /*reportErrors*/ + false + )) || isReferenceToType(type2, getGlobalIterableIteratorType( + /*reportErrors*/ + false + )) || isReferenceToType(type2, getGlobalAsyncIterableType( + /*reportErrors*/ + false + )) || isReferenceToType(type2, getGlobalAsyncIterableIteratorType( + /*reportErrors*/ + false + ))) { + if (!type2.node || !isTypeReferenceNode(type2.node) || !type2.node.typeArguments || type2.node.typeArguments.length < typeParameterCount) { + while (typeParameterCount > 0) { + const typeArgument = typeArguments[typeParameterCount - 1]; + const typeParameter = type2.target.typeParameters[typeParameterCount - 1]; + const defaultType = getDefaultFromTypeParameter(typeParameter); + if (!defaultType || !isTypeIdenticalTo(typeArgument, defaultType)) { + break; + } + typeParameterCount--; + } + } + } + } + typeArgumentNodes = mapToTypeNodes(typeArguments.slice(i, typeParameterCount), context); + } + const restoreFlags = saveRestoreFlags(context); + context.flags |= 16 /* ForbidIndexedAccessSymbolReferences */; + const finalRef = symbolToTypeNode(type2.symbol, context, 788968 /* Type */, typeArgumentNodes); + restoreFlags(); + return !resultType ? finalRef : appendReferenceToType(resultType, finalRef); + } + } + function appendReferenceToType(root, ref) { + if (isImportTypeNode(root)) { + let typeArguments = root.typeArguments; + let qualifier = root.qualifier; + if (qualifier) { + if (isIdentifier(qualifier)) { + if (typeArguments !== getIdentifierTypeArguments(qualifier)) { + qualifier = setIdentifierTypeArguments(factory.cloneNode(qualifier), typeArguments); + } + } else { + if (typeArguments !== getIdentifierTypeArguments(qualifier.right)) { + qualifier = factory.updateQualifiedName(qualifier, qualifier.left, setIdentifierTypeArguments(factory.cloneNode(qualifier.right), typeArguments)); + } + } + } + typeArguments = ref.typeArguments; + const ids = getAccessStack(ref); + for (const id of ids) { + qualifier = qualifier ? factory.createQualifiedName(qualifier, id) : id; + } + return factory.updateImportTypeNode( + root, + root.argument, + root.attributes, + qualifier, + typeArguments, + root.isTypeOf + ); + } else { + let typeArguments = root.typeArguments; + let typeName = root.typeName; + if (isIdentifier(typeName)) { + if (typeArguments !== getIdentifierTypeArguments(typeName)) { + typeName = setIdentifierTypeArguments(factory.cloneNode(typeName), typeArguments); + } + } else { + if (typeArguments !== getIdentifierTypeArguments(typeName.right)) { + typeName = factory.updateQualifiedName(typeName, typeName.left, setIdentifierTypeArguments(factory.cloneNode(typeName.right), typeArguments)); + } + } + typeArguments = ref.typeArguments; + const ids = getAccessStack(ref); + for (const id of ids) { + typeName = factory.createQualifiedName(typeName, id); + } + return factory.updateTypeReferenceNode( + root, + typeName, + typeArguments + ); + } + } + function getAccessStack(ref) { + let state = ref.typeName; + const ids = []; + while (!isIdentifier(state)) { + ids.unshift(state.right); + state = state.left; + } + ids.unshift(state); + return ids; + } + function createTypeNodesFromResolvedType(resolvedType) { + if (checkTruncationLength(context)) { + if (context.flags & 1 /* NoTruncation */) { + return [addSyntheticTrailingComment(factory.createNotEmittedTypeElement(), 3 /* MultiLineCommentTrivia */, "elided")]; + } + return [factory.createPropertySignature( + /*modifiers*/ + void 0, + "...", + /*questionToken*/ + void 0, + /*type*/ + void 0 + )]; + } + const typeElements = []; + for (const signature of resolvedType.callSignatures) { + typeElements.push(signatureToSignatureDeclarationHelper(signature, 179 /* CallSignature */, context)); + } + for (const signature of resolvedType.constructSignatures) { + if (signature.flags & 4 /* Abstract */) continue; + typeElements.push(signatureToSignatureDeclarationHelper(signature, 180 /* ConstructSignature */, context)); + } + for (const info of resolvedType.indexInfos) { + typeElements.push(indexInfoToIndexSignatureDeclarationHelper(info, context, resolvedType.objectFlags & 1024 /* ReverseMapped */ ? createElidedInformationPlaceholder(context) : void 0)); + } + const properties = resolvedType.properties; + if (!properties) { + return typeElements; + } + let i = 0; + for (const propertySymbol of properties) { + i++; + if (context.flags & 2048 /* WriteClassExpressionAsTypeLiteral */) { + if (propertySymbol.flags & 4194304 /* Prototype */) { + continue; + } + if (getDeclarationModifierFlagsFromSymbol(propertySymbol) & (2 /* Private */ | 4 /* Protected */) && context.tracker.reportPrivateInBaseOfClassExpression) { + context.tracker.reportPrivateInBaseOfClassExpression(unescapeLeadingUnderscores(propertySymbol.escapedName)); + } + } + if (checkTruncationLength(context) && i + 2 < properties.length - 1) { + if (context.flags & 1 /* NoTruncation */) { + const typeElement = typeElements.pop(); + typeElements.push(addSyntheticTrailingComment(typeElement, 3 /* MultiLineCommentTrivia */, `... ${properties.length - i} more elided ...`)); + } else { + typeElements.push(factory.createPropertySignature( + /*modifiers*/ + void 0, + `... ${properties.length - i} more ...`, + /*questionToken*/ + void 0, + /*type*/ + void 0 + )); + } + addPropertyToElementList(properties[properties.length - 1], context, typeElements); + break; + } + addPropertyToElementList(propertySymbol, context, typeElements); + } + return typeElements.length ? typeElements : void 0; + } + } + function createElidedInformationPlaceholder(context) { + context.approximateLength += 3; + if (!(context.flags & 1 /* NoTruncation */)) { + return factory.createTypeReferenceNode( + factory.createIdentifier("..."), + /*typeArguments*/ + void 0 + ); + } + return addSyntheticLeadingComment(factory.createKeywordTypeNode(133 /* AnyKeyword */), 3 /* MultiLineCommentTrivia */, "elided"); + } + function shouldUsePlaceholderForProperty(propertySymbol, context) { + var _a; + const depth = 3; + return !!(getCheckFlags(propertySymbol) & 8192 /* ReverseMapped */) && (contains(context.reverseMappedStack, propertySymbol) || ((_a = context.reverseMappedStack) == null ? void 0 : _a[0]) && !(getObjectFlags(last(context.reverseMappedStack).links.propertyType) & 16 /* Anonymous */) || isDeeplyNestedReverseMappedTypeProperty()); + function isDeeplyNestedReverseMappedTypeProperty() { + var _a2; + if ((((_a2 = context.reverseMappedStack) == null ? void 0 : _a2.length) ?? 0) < depth) { + return false; + } + for (let i = 0; i < depth; i++) { + const prop = context.reverseMappedStack[context.reverseMappedStack.length - 1 - i]; + if (prop.links.mappedType.symbol !== propertySymbol.links.mappedType.symbol) { + return false; + } + } + return true; + } + } + function addPropertyToElementList(propertySymbol, context, typeElements) { + var _a; + const propertyIsReverseMapped = !!(getCheckFlags(propertySymbol) & 8192 /* ReverseMapped */); + const propertyType = shouldUsePlaceholderForProperty(propertySymbol, context) ? anyType : getNonMissingTypeOfSymbol(propertySymbol); + const saveEnclosingDeclaration = context.enclosingDeclaration; + context.enclosingDeclaration = void 0; + if (context.tracker.canTrackSymbol && isLateBoundName(propertySymbol.escapedName)) { + if (propertySymbol.declarations) { + const decl = first(propertySymbol.declarations); + if (hasLateBindableName(decl)) { + if (isBinaryExpression(decl)) { + const name = getNameOfDeclaration(decl); + if (name && isElementAccessExpression(name) && isPropertyAccessEntityNameExpression(name.argumentExpression)) { + trackComputedName(name.argumentExpression, saveEnclosingDeclaration, context); + } + } else { + trackComputedName(decl.name.expression, saveEnclosingDeclaration, context); + } + } + } else { + context.tracker.reportNonSerializableProperty(symbolToString(propertySymbol)); + } + } + context.enclosingDeclaration = propertySymbol.valueDeclaration || ((_a = propertySymbol.declarations) == null ? void 0 : _a[0]) || saveEnclosingDeclaration; + const propertyName = getPropertyNameNodeForSymbol(propertySymbol, context); + context.enclosingDeclaration = saveEnclosingDeclaration; + context.approximateLength += symbolName(propertySymbol).length + 1; + if (propertySymbol.flags & 98304 /* Accessor */) { + const writeType = getWriteTypeOfSymbol(propertySymbol); + if (propertyType !== writeType && !isErrorType(propertyType) && !isErrorType(writeType)) { + const getterDeclaration = getDeclarationOfKind(propertySymbol, 177 /* GetAccessor */); + const getterSignature = getSignatureFromDeclaration(getterDeclaration); + typeElements.push( + setCommentRange2( + context, + signatureToSignatureDeclarationHelper(getterSignature, 177 /* GetAccessor */, context, { name: propertyName }), + getterDeclaration + ) + ); + const setterDeclaration = getDeclarationOfKind(propertySymbol, 178 /* SetAccessor */); + const setterSignature = getSignatureFromDeclaration(setterDeclaration); + typeElements.push( + setCommentRange2( + context, + signatureToSignatureDeclarationHelper(setterSignature, 178 /* SetAccessor */, context, { name: propertyName }), + setterDeclaration + ) + ); + return; + } + } + const optionalToken = propertySymbol.flags & 16777216 /* Optional */ ? factory.createToken(58 /* QuestionToken */) : void 0; + if (propertySymbol.flags & (16 /* Function */ | 8192 /* Method */) && !getPropertiesOfObjectType(propertyType).length && !isReadonlySymbol(propertySymbol)) { + const signatures = getSignaturesOfType(filterType(propertyType, (t) => !(t.flags & 32768 /* Undefined */)), 0 /* Call */); + for (const signature of signatures) { + const methodDeclaration = signatureToSignatureDeclarationHelper(signature, 173 /* MethodSignature */, context, { name: propertyName, questionToken: optionalToken }); + typeElements.push(preserveCommentsOn(methodDeclaration, signature.declaration || propertySymbol.valueDeclaration)); + } + if (signatures.length || !optionalToken) { + return; + } + } + let propertyTypeNode; + if (shouldUsePlaceholderForProperty(propertySymbol, context)) { + propertyTypeNode = createElidedInformationPlaceholder(context); + } else { + if (propertyIsReverseMapped) { + context.reverseMappedStack || (context.reverseMappedStack = []); + context.reverseMappedStack.push(propertySymbol); + } + propertyTypeNode = propertyType ? serializeTypeForDeclaration( + context, + /*declaration*/ + void 0, + propertyType, + propertySymbol + ) : factory.createKeywordTypeNode(133 /* AnyKeyword */); + if (propertyIsReverseMapped) { + context.reverseMappedStack.pop(); + } + } + const modifiers = isReadonlySymbol(propertySymbol) ? [factory.createToken(148 /* ReadonlyKeyword */)] : void 0; + if (modifiers) { + context.approximateLength += 9; + } + const propertySignature = factory.createPropertySignature( + modifiers, + propertyName, + optionalToken, + propertyTypeNode + ); + typeElements.push(preserveCommentsOn(propertySignature, propertySymbol.valueDeclaration)); + function preserveCommentsOn(node, range) { + var _a2; + const jsdocPropertyTag = (_a2 = propertySymbol.declarations) == null ? void 0 : _a2.find((d) => d.kind === 348 /* JSDocPropertyTag */); + if (jsdocPropertyTag) { + const commentText = getTextOfJSDocComment(jsdocPropertyTag.comment); + if (commentText) { + setSyntheticLeadingComments(node, [{ kind: 3 /* MultiLineCommentTrivia */, text: "*\n * " + commentText.replace(/\n/g, "\n * ") + "\n ", pos: -1, end: -1, hasTrailingNewLine: true }]); + } + } else if (range) { + setCommentRange2(context, node, range); + } + return node; + } + } + function setCommentRange2(context, node, range) { + if (context.enclosingFile && context.enclosingFile === getSourceFileOfNode(range)) { + return setCommentRange(node, range); + } + return node; + } + function mapToTypeNodes(types, context, isBareList) { + if (some(types)) { + if (checkTruncationLength(context)) { + if (!isBareList) { + return [ + context.flags & 1 /* NoTruncation */ ? addSyntheticLeadingComment(factory.createKeywordTypeNode(133 /* AnyKeyword */), 3 /* MultiLineCommentTrivia */, "elided") : factory.createTypeReferenceNode( + "...", + /*typeArguments*/ + void 0 + ) + ]; + } else if (types.length > 2) { + return [ + typeToTypeNodeHelper(types[0], context), + context.flags & 1 /* NoTruncation */ ? addSyntheticLeadingComment(factory.createKeywordTypeNode(133 /* AnyKeyword */), 3 /* MultiLineCommentTrivia */, `... ${types.length - 2} more elided ...`) : factory.createTypeReferenceNode( + `... ${types.length - 2} more ...`, + /*typeArguments*/ + void 0 + ), + typeToTypeNodeHelper(types[types.length - 1], context) + ]; + } + } + const mayHaveNameCollisions = !(context.flags & 64 /* UseFullyQualifiedType */); + const seenNames = mayHaveNameCollisions ? createMultiMap() : void 0; + const result = []; + let i = 0; + for (const type of types) { + i++; + if (checkTruncationLength(context) && i + 2 < types.length - 1) { + result.push( + context.flags & 1 /* NoTruncation */ ? addSyntheticLeadingComment(factory.createKeywordTypeNode(133 /* AnyKeyword */), 3 /* MultiLineCommentTrivia */, `... ${types.length - i} more elided ...`) : factory.createTypeReferenceNode( + `... ${types.length - i} more ...`, + /*typeArguments*/ + void 0 + ) + ); + const typeNode2 = typeToTypeNodeHelper(types[types.length - 1], context); + if (typeNode2) { + result.push(typeNode2); + } + break; + } + context.approximateLength += 2; + const typeNode = typeToTypeNodeHelper(type, context); + if (typeNode) { + result.push(typeNode); + if (seenNames && isIdentifierTypeReference(typeNode)) { + seenNames.add(typeNode.typeName.escapedText, [type, result.length - 1]); + } + } + } + if (seenNames) { + const restoreFlags = saveRestoreFlags(context); + context.flags |= 64 /* UseFullyQualifiedType */; + seenNames.forEach((types2) => { + if (!arrayIsHomogeneous(types2, ([a], [b]) => typesAreSameReference(a, b))) { + for (const [type, resultIndex] of types2) { + result[resultIndex] = typeToTypeNodeHelper(type, context); + } + } + }); + restoreFlags(); + } + return result; + } + } + function typesAreSameReference(a, b) { + return a === b || !!a.symbol && a.symbol === b.symbol || !!a.aliasSymbol && a.aliasSymbol === b.aliasSymbol; + } + function indexInfoToIndexSignatureDeclarationHelper(indexInfo, context, typeNode) { + const name = getNameFromIndexInfo(indexInfo) || "x"; + const indexerTypeNode = typeToTypeNodeHelper(indexInfo.keyType, context); + const indexingParameter = factory.createParameterDeclaration( + /*modifiers*/ + void 0, + /*dotDotDotToken*/ + void 0, + name, + /*questionToken*/ + void 0, + indexerTypeNode, + /*initializer*/ + void 0 + ); + if (!typeNode) { + typeNode = typeToTypeNodeHelper(indexInfo.type || anyType, context); + } + if (!indexInfo.type && !(context.flags & 2097152 /* AllowEmptyIndexInfoType */)) { + context.encounteredError = true; + } + context.approximateLength += name.length + 4; + return factory.createIndexSignature( + indexInfo.isReadonly ? [factory.createToken(148 /* ReadonlyKeyword */)] : void 0, + [indexingParameter], + typeNode + ); + } + function signatureToSignatureDeclarationHelper(signature, kind, context, options) { + var _a; + let typeParameters; + let typeArguments; + const expandedParams = getExpandedParameters( + signature, + /*skipUnionExpanding*/ + true + )[0]; + const cleanup = enterNewScope(context, signature.declaration, expandedParams, signature.typeParameters, signature.parameters, signature.mapper); + context.approximateLength += 3; + if (context.flags & 32 /* WriteTypeArgumentsOfSignature */ && signature.target && signature.mapper && signature.target.typeParameters) { + typeArguments = signature.target.typeParameters.map((parameter) => typeToTypeNodeHelper(instantiateType(parameter, signature.mapper), context)); + } else { + typeParameters = signature.typeParameters && signature.typeParameters.map((parameter) => typeParameterToDeclaration(parameter, context)); + } + const restoreFlags = saveRestoreFlags(context); + context.flags &= ~256 /* SuppressAnyReturnType */; + const parameters = (some(expandedParams, (p) => p !== expandedParams[expandedParams.length - 1] && !!(getCheckFlags(p) & 32768 /* RestParameter */)) ? signature.parameters : expandedParams).map((parameter) => symbolToParameterDeclaration(parameter, context, kind === 176 /* Constructor */)); + const thisParameter = context.flags & 33554432 /* OmitThisParameter */ ? void 0 : tryGetThisParameterDeclaration(signature, context); + if (thisParameter) { + parameters.unshift(thisParameter); + } + restoreFlags(); + const returnTypeNode = serializeReturnTypeForSignature(context, signature); + let modifiers = options == null ? void 0 : options.modifiers; + if (kind === 185 /* ConstructorType */ && signature.flags & 4 /* Abstract */) { + const flags = modifiersToFlags(modifiers); + modifiers = factory.createModifiersFromModifierFlags(flags | 64 /* Abstract */); + } + const node = kind === 179 /* CallSignature */ ? factory.createCallSignature(typeParameters, parameters, returnTypeNode) : kind === 180 /* ConstructSignature */ ? factory.createConstructSignature(typeParameters, parameters, returnTypeNode) : kind === 173 /* MethodSignature */ ? factory.createMethodSignature(modifiers, (options == null ? void 0 : options.name) ?? factory.createIdentifier(""), options == null ? void 0 : options.questionToken, typeParameters, parameters, returnTypeNode) : kind === 174 /* MethodDeclaration */ ? factory.createMethodDeclaration( + modifiers, + /*asteriskToken*/ + void 0, + (options == null ? void 0 : options.name) ?? factory.createIdentifier(""), + /*questionToken*/ + void 0, + typeParameters, + parameters, + returnTypeNode, + /*body*/ + void 0 + ) : kind === 176 /* Constructor */ ? factory.createConstructorDeclaration( + modifiers, + parameters, + /*body*/ + void 0 + ) : kind === 177 /* GetAccessor */ ? factory.createGetAccessorDeclaration( + modifiers, + (options == null ? void 0 : options.name) ?? factory.createIdentifier(""), + parameters, + returnTypeNode, + /*body*/ + void 0 + ) : kind === 178 /* SetAccessor */ ? factory.createSetAccessorDeclaration( + modifiers, + (options == null ? void 0 : options.name) ?? factory.createIdentifier(""), + parameters, + /*body*/ + void 0 + ) : kind === 181 /* IndexSignature */ ? factory.createIndexSignature(modifiers, parameters, returnTypeNode) : kind === 317 /* JSDocFunctionType */ ? factory.createJSDocFunctionType(parameters, returnTypeNode) : kind === 184 /* FunctionType */ ? factory.createFunctionTypeNode(typeParameters, parameters, returnTypeNode ?? factory.createTypeReferenceNode(factory.createIdentifier(""))) : kind === 185 /* ConstructorType */ ? factory.createConstructorTypeNode(modifiers, typeParameters, parameters, returnTypeNode ?? factory.createTypeReferenceNode(factory.createIdentifier(""))) : kind === 262 /* FunctionDeclaration */ ? factory.createFunctionDeclaration( + modifiers, + /*asteriskToken*/ + void 0, + (options == null ? void 0 : options.name) ? cast(options.name, isIdentifier) : factory.createIdentifier(""), + typeParameters, + parameters, + returnTypeNode, + /*body*/ + void 0 + ) : kind === 218 /* FunctionExpression */ ? factory.createFunctionExpression( + modifiers, + /*asteriskToken*/ + void 0, + (options == null ? void 0 : options.name) ? cast(options.name, isIdentifier) : factory.createIdentifier(""), + typeParameters, + parameters, + returnTypeNode, + factory.createBlock([]) + ) : kind === 219 /* ArrowFunction */ ? factory.createArrowFunction( + modifiers, + typeParameters, + parameters, + returnTypeNode, + /*equalsGreaterThanToken*/ + void 0, + factory.createBlock([]) + ) : Debug.assertNever(kind); + if (typeArguments) { + node.typeArguments = factory.createNodeArray(typeArguments); + } + if (((_a = signature.declaration) == null ? void 0 : _a.kind) === 323 /* JSDocSignature */ && signature.declaration.parent.kind === 339 /* JSDocOverloadTag */) { + const comment = getTextOfNode( + signature.declaration.parent.parent, + /*includeTrivia*/ + true + ).slice(2, -2).split(/\r\n|\n|\r/).map((line) => line.replace(/^\s+/, " ")).join("\n"); + addSyntheticLeadingComment( + node, + 3 /* MultiLineCommentTrivia */, + comment, + /*hasTrailingNewLine*/ + true + ); + } + cleanup == null ? void 0 : cleanup(); + return node; + } + function createRecoveryBoundary(context) { + if (cancellationToken && cancellationToken.throwIfCancellationRequested) { + cancellationToken.throwIfCancellationRequested(); + } + let trackedSymbols; + let unreportedErrors; + let hadError = false; + const oldTracker = context.tracker; + const oldTrackedSymbols = context.trackedSymbols; + context.trackedSymbols = void 0; + const oldEncounteredError = context.encounteredError; + context.tracker = new SymbolTrackerImpl(context, { + ...oldTracker.inner, + reportCyclicStructureError() { + markError(() => oldTracker.reportCyclicStructureError()); + }, + reportInaccessibleThisError() { + markError(() => oldTracker.reportInaccessibleThisError()); + }, + reportInaccessibleUniqueSymbolError() { + markError(() => oldTracker.reportInaccessibleUniqueSymbolError()); + }, + reportLikelyUnsafeImportRequiredError(specifier) { + markError(() => oldTracker.reportLikelyUnsafeImportRequiredError(specifier)); + }, + reportNonSerializableProperty(name) { + markError(() => oldTracker.reportNonSerializableProperty(name)); + }, + reportPrivateInBaseOfClassExpression(propertyName) { + markError(() => oldTracker.reportPrivateInBaseOfClassExpression(propertyName)); + }, + trackSymbol(sym, decl, meaning) { + (trackedSymbols ?? (trackedSymbols = [])).push([sym, decl, meaning]); + return false; + }, + moduleResolverHost: context.tracker.moduleResolverHost + }, context.tracker.moduleResolverHost); + return { + startRecoveryScope, + finalizeBoundary, + markError, + hadError: () => hadError + }; + function markError(unreportedError) { + hadError = true; + if (unreportedError) { + (unreportedErrors ?? (unreportedErrors = [])).push(unreportedError); + } + } + function startRecoveryScope() { + const trackedSymbolsTop = (trackedSymbols == null ? void 0 : trackedSymbols.length) ?? 0; + const unreportedErrorsTop = (unreportedErrors == null ? void 0 : unreportedErrors.length) ?? 0; + return () => { + hadError = false; + if (trackedSymbols) { + trackedSymbols.length = trackedSymbolsTop; + } + if (unreportedErrors) { + unreportedErrors.length = unreportedErrorsTop; + } + }; + } + function finalizeBoundary() { + context.tracker = oldTracker; + context.trackedSymbols = oldTrackedSymbols; + context.encounteredError = oldEncounteredError; + unreportedErrors == null ? void 0 : unreportedErrors.forEach((fn) => fn()); + if (hadError) { + return false; + } + trackedSymbols == null ? void 0 : trackedSymbols.forEach( + ([symbol, enclosingDeclaration, meaning]) => context.tracker.trackSymbol( + symbol, + enclosingDeclaration, + meaning + ) + ); + return true; + } + } + function enterNewScope(context, declaration, expandedParams, typeParameters, originalParameters, mapper) { + const cleanupContext = cloneNodeBuilderContext(context); + let cleanupParams; + let cleanupTypeParams; + const oldEnclosingDecl = context.enclosingDeclaration; + const oldMapper = context.mapper; + if (mapper) { + context.mapper = mapper; + } + if (context.enclosingDeclaration && declaration) { + let pushFakeScope2 = function(kind, addAll) { + Debug.assert(context.enclosingDeclaration); + let existingFakeScope; + if (getNodeLinks(context.enclosingDeclaration).fakeScopeForSignatureDeclaration === kind) { + existingFakeScope = context.enclosingDeclaration; + } else if (context.enclosingDeclaration.parent && getNodeLinks(context.enclosingDeclaration.parent).fakeScopeForSignatureDeclaration === kind) { + existingFakeScope = context.enclosingDeclaration.parent; + } + Debug.assertOptionalNode(existingFakeScope, isBlock); + const locals = (existingFakeScope == null ? void 0 : existingFakeScope.locals) ?? createSymbolTable(); + let newLocals; + let oldLocals; + addAll((name, symbol) => { + if (existingFakeScope) { + const oldSymbol = locals.get(name); + if (!oldSymbol) { + newLocals = append(newLocals, name); + } else { + oldLocals = append(oldLocals, { name, oldSymbol }); + } + } + locals.set(name, symbol); + }); + if (!existingFakeScope) { + const fakeScope = factory.createBlock(emptyArray); + getNodeLinks(fakeScope).fakeScopeForSignatureDeclaration = kind; + fakeScope.locals = locals; + setParent(fakeScope, context.enclosingDeclaration); + context.enclosingDeclaration = fakeScope; + } else { + return function undo() { + forEach(newLocals, (s) => locals.delete(s)); + forEach(oldLocals, (s) => locals.set(s.name, s.oldSymbol)); + }; + } + }; + var pushFakeScope = pushFakeScope2; + cleanupParams = !some(expandedParams) ? void 0 : pushFakeScope2( + "params", + (add) => { + if (!expandedParams) return; + for (let pIndex = 0; pIndex < expandedParams.length; pIndex++) { + const param = expandedParams[pIndex]; + const originalParam = originalParameters == null ? void 0 : originalParameters[pIndex]; + if (originalParameters && originalParam !== param) { + add(param.escapedName, unknownSymbol); + if (originalParam) { + add(originalParam.escapedName, unknownSymbol); + } + } else if (!forEach(param.declarations, (d) => { + if (isParameter(d) && isBindingPattern(d.name)) { + bindPattern(d.name); + return true; + } + return void 0; + function bindPattern(p) { + forEach(p.elements, (e) => { + switch (e.kind) { + case 232 /* OmittedExpression */: + return; + case 208 /* BindingElement */: + return bindElement(e); + default: + return Debug.assertNever(e); + } + }); + } + function bindElement(e) { + if (isBindingPattern(e.name)) { + return bindPattern(e.name); + } + const symbol = getSymbolOfDeclaration(e); + add(symbol.escapedName, symbol); + } + })) { + add(param.escapedName, param); + } + } + } + ); + if (context.flags & 4 /* GenerateNamesForShadowedTypeParams */ && some(typeParameters)) { + cleanupTypeParams = pushFakeScope2( + "typeParams", + (add) => { + for (const typeParam of typeParameters ?? emptyArray) { + const typeParamName = typeParameterToName(typeParam, context).escapedText; + add(typeParamName, typeParam.symbol); + } + } + ); + } + } + return () => { + cleanupParams == null ? void 0 : cleanupParams(); + cleanupTypeParams == null ? void 0 : cleanupTypeParams(); + cleanupContext(); + context.enclosingDeclaration = oldEnclosingDecl; + context.mapper = oldMapper; + }; + } + function tryGetThisParameterDeclaration(signature, context) { + if (signature.thisParameter) { + return symbolToParameterDeclaration(signature.thisParameter, context); + } + if (signature.declaration && isInJSFile(signature.declaration)) { + const thisTag = getJSDocThisTag(signature.declaration); + if (thisTag && thisTag.typeExpression) { + return factory.createParameterDeclaration( + /*modifiers*/ + void 0, + /*dotDotDotToken*/ + void 0, + "this", + /*questionToken*/ + void 0, + typeToTypeNodeHelper(getTypeFromTypeNode2(context, thisTag.typeExpression), context) + ); + } + } + } + function typeParameterToDeclarationWithConstraint(type, context, constraintNode) { + const restoreFlags = saveRestoreFlags(context); + context.flags &= ~512 /* WriteTypeParametersInQualifiedName */; + const modifiers = factory.createModifiersFromModifierFlags(getTypeParameterModifiers(type)); + const name = typeParameterToName(type, context); + const defaultParameter = getDefaultFromTypeParameter(type); + const defaultParameterNode = defaultParameter && typeToTypeNodeHelper(defaultParameter, context); + restoreFlags(); + return factory.createTypeParameterDeclaration(modifiers, name, constraintNode, defaultParameterNode); + } + function typeToTypeNodeHelperWithPossibleReusableTypeNode(type, typeNode, context) { + return typeNode && getTypeFromTypeNode2(context, typeNode) === type && syntacticNodeBuilder.tryReuseExistingTypeNode(context, typeNode) || typeToTypeNodeHelper(type, context); + } + function typeParameterToDeclaration(type, context, constraint = getConstraintOfTypeParameter(type)) { + const constraintNode = constraint && typeToTypeNodeHelperWithPossibleReusableTypeNode(constraint, getConstraintDeclaration(type), context); + return typeParameterToDeclarationWithConstraint(type, context, constraintNode); + } + function typePredicateToTypePredicateNodeHelper(typePredicate, context) { + const assertsModifier = typePredicate.kind === 2 /* AssertsThis */ || typePredicate.kind === 3 /* AssertsIdentifier */ ? factory.createToken(131 /* AssertsKeyword */) : void 0; + const parameterName = typePredicate.kind === 1 /* Identifier */ || typePredicate.kind === 3 /* AssertsIdentifier */ ? setEmitFlags(factory.createIdentifier(typePredicate.parameterName), 16777216 /* NoAsciiEscaping */) : factory.createThisTypeNode(); + const typeNode = typePredicate.type && typeToTypeNodeHelper(typePredicate.type, context); + return factory.createTypePredicateNode(assertsModifier, parameterName, typeNode); + } + function getEffectiveParameterDeclaration(parameterSymbol) { + const parameterDeclaration = getDeclarationOfKind(parameterSymbol, 169 /* Parameter */); + if (parameterDeclaration) { + return parameterDeclaration; + } + if (!isTransientSymbol(parameterSymbol)) { + return getDeclarationOfKind(parameterSymbol, 341 /* JSDocParameterTag */); + } + } + function symbolToParameterDeclaration(parameterSymbol, context, preserveModifierFlags) { + const parameterDeclaration = getEffectiveParameterDeclaration(parameterSymbol); + const parameterType = getTypeOfSymbol(parameterSymbol); + const parameterTypeNode = serializeTypeForDeclaration(context, parameterDeclaration, parameterType, parameterSymbol); + const modifiers = !(context.flags & 8192 /* OmitParameterModifiers */) && preserveModifierFlags && parameterDeclaration && canHaveModifiers(parameterDeclaration) ? map(getModifiers(parameterDeclaration), factory.cloneNode) : void 0; + const isRest = parameterDeclaration && isRestParameter(parameterDeclaration) || getCheckFlags(parameterSymbol) & 32768 /* RestParameter */; + const dotDotDotToken = isRest ? factory.createToken(26 /* DotDotDotToken */) : void 0; + const name = parameterToParameterDeclarationName(parameterSymbol, parameterDeclaration, context); + const isOptional = parameterDeclaration && isOptionalParameter(parameterDeclaration) || getCheckFlags(parameterSymbol) & 16384 /* OptionalParameter */; + const questionToken = isOptional ? factory.createToken(58 /* QuestionToken */) : void 0; + const parameterNode = factory.createParameterDeclaration( + modifiers, + dotDotDotToken, + name, + questionToken, + parameterTypeNode, + /*initializer*/ + void 0 + ); + context.approximateLength += symbolName(parameterSymbol).length + 3; + return parameterNode; + } + function parameterToParameterDeclarationName(parameterSymbol, parameterDeclaration, context) { + return parameterDeclaration ? parameterDeclaration.name ? parameterDeclaration.name.kind === 80 /* Identifier */ ? setEmitFlags(factory.cloneNode(parameterDeclaration.name), 16777216 /* NoAsciiEscaping */) : parameterDeclaration.name.kind === 166 /* QualifiedName */ ? setEmitFlags(factory.cloneNode(parameterDeclaration.name.right), 16777216 /* NoAsciiEscaping */) : cloneBindingName(parameterDeclaration.name) : symbolName(parameterSymbol) : symbolName(parameterSymbol); + function cloneBindingName(node) { + return elideInitializerAndSetEmitFlags(node); + function elideInitializerAndSetEmitFlags(node2) { + if (context.tracker.canTrackSymbol && isComputedPropertyName(node2) && isLateBindableName(node2)) { + trackComputedName(node2.expression, context.enclosingDeclaration, context); + } + let visited = visitEachChild( + node2, + elideInitializerAndSetEmitFlags, + /*context*/ + void 0, + /*nodesVisitor*/ + void 0, + elideInitializerAndSetEmitFlags + ); + if (isBindingElement(visited)) { + visited = factory.updateBindingElement( + visited, + visited.dotDotDotToken, + visited.propertyName, + visited.name, + /*initializer*/ + void 0 + ); + } + if (!nodeIsSynthesized(visited)) { + visited = factory.cloneNode(visited); + } + return setEmitFlags(visited, 1 /* SingleLine */ | 16777216 /* NoAsciiEscaping */); + } + } + } + function trackComputedName(accessExpression, enclosingDeclaration, context) { + if (!context.tracker.canTrackSymbol) return; + const firstIdentifier = getFirstIdentifier(accessExpression); + const name = resolveName( + firstIdentifier, + firstIdentifier.escapedText, + 111551 /* Value */ | 1048576 /* ExportValue */, + /*nameNotFoundMessage*/ + void 0, + /*isUse*/ + true + ); + if (name) { + context.tracker.trackSymbol(name, enclosingDeclaration, 111551 /* Value */); + } + } + function lookupSymbolChain(symbol, context, meaning, yieldModuleSymbol) { + context.tracker.trackSymbol(symbol, context.enclosingDeclaration, meaning); + return lookupSymbolChainWorker(symbol, context, meaning, yieldModuleSymbol); + } + function lookupSymbolChainWorker(symbol, context, meaning, yieldModuleSymbol) { + let chain; + const isTypeParameter = symbol.flags & 262144 /* TypeParameter */; + if (!isTypeParameter && (context.enclosingDeclaration || context.flags & 64 /* UseFullyQualifiedType */) && !(context.internalFlags & 4 /* DoNotIncludeSymbolChain */)) { + chain = Debug.checkDefined(getSymbolChain( + symbol, + meaning, + /*endOfChain*/ + true + )); + Debug.assert(chain && chain.length > 0); + } else { + chain = [symbol]; + } + return chain; + function getSymbolChain(symbol2, meaning2, endOfChain) { + let accessibleSymbolChain = getAccessibleSymbolChain(symbol2, context.enclosingDeclaration, meaning2, !!(context.flags & 128 /* UseOnlyExternalAliasing */)); + let parentSpecifiers; + if (!accessibleSymbolChain || needsQualification(accessibleSymbolChain[0], context.enclosingDeclaration, accessibleSymbolChain.length === 1 ? meaning2 : getQualifiedLeftMeaning(meaning2))) { + const parents = getContainersOfSymbol(accessibleSymbolChain ? accessibleSymbolChain[0] : symbol2, context.enclosingDeclaration, meaning2); + if (length(parents)) { + parentSpecifiers = parents.map( + (symbol3) => some(symbol3.declarations, hasNonGlobalAugmentationExternalModuleSymbol) ? getSpecifierForModuleSymbol(symbol3, context) : void 0 + ); + const indices = parents.map((_, i) => i); + indices.sort(sortByBestName); + const sortedParents = indices.map((i) => parents[i]); + for (const parent of sortedParents) { + const parentChain = getSymbolChain( + parent, + getQualifiedLeftMeaning(meaning2), + /*endOfChain*/ + false + ); + if (parentChain) { + if (parent.exports && parent.exports.get("export=" /* ExportEquals */) && getSymbolIfSameReference(parent.exports.get("export=" /* ExportEquals */), symbol2)) { + accessibleSymbolChain = parentChain; + break; + } + accessibleSymbolChain = parentChain.concat(accessibleSymbolChain || [getAliasForSymbolInContainer(parent, symbol2) || symbol2]); + break; + } + } + } + } + if (accessibleSymbolChain) { + return accessibleSymbolChain; + } + if ( + // If this is the last part of outputting the symbol, always output. The cases apply only to parent symbols. + endOfChain || // If a parent symbol is an anonymous type, don't write it. + !(symbol2.flags & (2048 /* TypeLiteral */ | 4096 /* ObjectLiteral */)) + ) { + if (!endOfChain && !yieldModuleSymbol && !!forEach(symbol2.declarations, hasNonGlobalAugmentationExternalModuleSymbol)) { + return; + } + return [symbol2]; + } + function sortByBestName(a, b) { + const specifierA = parentSpecifiers[a]; + const specifierB = parentSpecifiers[b]; + if (specifierA && specifierB) { + const isBRelative = pathIsRelative(specifierB); + if (pathIsRelative(specifierA) === isBRelative) { + return countPathComponents(specifierA) - countPathComponents(specifierB); + } + if (isBRelative) { + return -1; + } + return 1; + } + return 0; + } + } + } + function typeParametersToTypeParameterDeclarations(symbol, context) { + let typeParameterNodes; + const targetSymbol = getTargetSymbol(symbol); + if (targetSymbol.flags & (32 /* Class */ | 64 /* Interface */ | 524288 /* TypeAlias */)) { + typeParameterNodes = factory.createNodeArray(map(getLocalTypeParametersOfClassOrInterfaceOrTypeAlias(symbol), (tp) => typeParameterToDeclaration(tp, context))); + } + return typeParameterNodes; + } + function lookupTypeParameterNodes(chain, index, context) { + var _a; + Debug.assert(chain && 0 <= index && index < chain.length); + const symbol = chain[index]; + const symbolId = getSymbolId(symbol); + if ((_a = context.typeParameterSymbolList) == null ? void 0 : _a.has(symbolId)) { + return void 0; + } + if (context.mustCreateTypeParameterSymbolList) { + context.mustCreateTypeParameterSymbolList = false; + context.typeParameterSymbolList = new Set(context.typeParameterSymbolList); + } + context.typeParameterSymbolList.add(symbolId); + let typeParameterNodes; + if (context.flags & 512 /* WriteTypeParametersInQualifiedName */ && index < chain.length - 1) { + const parentSymbol = symbol; + const nextSymbol = chain[index + 1]; + if (getCheckFlags(nextSymbol) & 1 /* Instantiated */) { + const params = getTypeParametersOfClassOrInterface( + parentSymbol.flags & 2097152 /* Alias */ ? resolveAlias(parentSymbol) : parentSymbol + ); + typeParameterNodes = mapToTypeNodes(map(params, (t) => getMappedType(t, nextSymbol.links.mapper)), context); + } else { + typeParameterNodes = typeParametersToTypeParameterDeclarations(symbol, context); + } + } + return typeParameterNodes; + } + function getTopmostIndexedAccessType(top) { + if (isIndexedAccessTypeNode(top.objectType)) { + return getTopmostIndexedAccessType(top.objectType); + } + return top; + } + function getSpecifierForModuleSymbol(symbol, context, overrideImportMode) { + let file = getDeclarationOfKind(symbol, 307 /* SourceFile */); + if (!file) { + const equivalentFileSymbol = firstDefined(symbol.declarations, (d) => getFileSymbolIfFileSymbolExportEqualsContainer(d, symbol)); + if (equivalentFileSymbol) { + file = getDeclarationOfKind(equivalentFileSymbol, 307 /* SourceFile */); + } + } + if (file && file.moduleName !== void 0) { + return file.moduleName; + } + if (!file) { + if (ambientModuleSymbolRegex.test(symbol.escapedName)) { + return symbol.escapedName.substring(1, symbol.escapedName.length - 1); + } + } + if (!context.enclosingFile || !context.tracker.moduleResolverHost) { + if (ambientModuleSymbolRegex.test(symbol.escapedName)) { + return symbol.escapedName.substring(1, symbol.escapedName.length - 1); + } + return getSourceFileOfNode(getNonAugmentationDeclaration(symbol)).fileName; + } + const enclosingDeclaration = getOriginalNode(context.enclosingDeclaration); + const originalModuleSpecifier = canHaveModuleSpecifier(enclosingDeclaration) ? tryGetModuleSpecifierFromDeclaration(enclosingDeclaration) : void 0; + const contextFile = context.enclosingFile; + const resolutionMode = overrideImportMode || originalModuleSpecifier && host.getModeForUsageLocation(contextFile, originalModuleSpecifier) || contextFile && host.getDefaultResolutionModeForFile(contextFile); + const cacheKey = createModeAwareCacheKey(contextFile.path, resolutionMode); + const links = getSymbolLinks(symbol); + let specifier = links.specifierCache && links.specifierCache.get(cacheKey); + if (!specifier) { + const isBundle2 = !!compilerOptions.outFile; + const { moduleResolverHost } = context.tracker; + const specifierCompilerOptions = isBundle2 ? { ...compilerOptions, baseUrl: moduleResolverHost.getCommonSourceDirectory() } : compilerOptions; + specifier = first(getModuleSpecifiers( + symbol, + checker, + specifierCompilerOptions, + contextFile, + moduleResolverHost, + { + importModuleSpecifierPreference: isBundle2 ? "non-relative" : "project-relative", + importModuleSpecifierEnding: isBundle2 ? "minimal" : resolutionMode === 99 /* ESNext */ ? "js" : void 0 + }, + { overrideImportMode } + )); + links.specifierCache ?? (links.specifierCache = /* @__PURE__ */ new Map()); + links.specifierCache.set(cacheKey, specifier); + } + return specifier; + } + function symbolToEntityNameNode(symbol) { + const identifier = factory.createIdentifier(unescapeLeadingUnderscores(symbol.escapedName)); + return symbol.parent ? factory.createQualifiedName(symbolToEntityNameNode(symbol.parent), identifier) : identifier; + } + function symbolToTypeNode(symbol, context, meaning, overrideTypeArguments) { + const chain = lookupSymbolChain(symbol, context, meaning, !(context.flags & 16384 /* UseAliasDefinedOutsideCurrentScope */)); + const isTypeOf = meaning === 111551 /* Value */; + if (some(chain[0].declarations, hasNonGlobalAugmentationExternalModuleSymbol)) { + const nonRootParts = chain.length > 1 ? createAccessFromSymbolChain(chain, chain.length - 1, 1) : void 0; + const typeParameterNodes = overrideTypeArguments || lookupTypeParameterNodes(chain, 0, context); + const contextFile = getSourceFileOfNode(getOriginalNode(context.enclosingDeclaration)); + const targetFile = getSourceFileOfModule(chain[0]); + let specifier; + let attributes; + if (getEmitModuleResolutionKind(compilerOptions) === 3 /* Node16 */ || getEmitModuleResolutionKind(compilerOptions) === 99 /* NodeNext */) { + if ((targetFile == null ? void 0 : targetFile.impliedNodeFormat) === 99 /* ESNext */ && targetFile.impliedNodeFormat !== (contextFile == null ? void 0 : contextFile.impliedNodeFormat)) { + specifier = getSpecifierForModuleSymbol(chain[0], context, 99 /* ESNext */); + attributes = factory.createImportAttributes( + factory.createNodeArray([ + factory.createImportAttribute( + factory.createStringLiteral("resolution-mode"), + factory.createStringLiteral("import") + ) + ]) + ); + } + } + if (!specifier) { + specifier = getSpecifierForModuleSymbol(chain[0], context); + } + if (!(context.flags & 67108864 /* AllowNodeModulesRelativePaths */) && getEmitModuleResolutionKind(compilerOptions) !== 1 /* Classic */ && specifier.includes("/node_modules/")) { + const oldSpecifier = specifier; + if (getEmitModuleResolutionKind(compilerOptions) === 3 /* Node16 */ || getEmitModuleResolutionKind(compilerOptions) === 99 /* NodeNext */) { + const swappedMode = (contextFile == null ? void 0 : contextFile.impliedNodeFormat) === 99 /* ESNext */ ? 1 /* CommonJS */ : 99 /* ESNext */; + specifier = getSpecifierForModuleSymbol(chain[0], context, swappedMode); + if (specifier.includes("/node_modules/")) { + specifier = oldSpecifier; + } else { + attributes = factory.createImportAttributes( + factory.createNodeArray([ + factory.createImportAttribute( + factory.createStringLiteral("resolution-mode"), + factory.createStringLiteral(swappedMode === 99 /* ESNext */ ? "import" : "require") + ) + ]) + ); + } + } + if (!attributes) { + context.encounteredError = true; + if (context.tracker.reportLikelyUnsafeImportRequiredError) { + context.tracker.reportLikelyUnsafeImportRequiredError(oldSpecifier); + } + } + } + const lit = factory.createLiteralTypeNode(factory.createStringLiteral(specifier)); + context.approximateLength += specifier.length + 10; + if (!nonRootParts || isEntityName(nonRootParts)) { + if (nonRootParts) { + const lastId = isIdentifier(nonRootParts) ? nonRootParts : nonRootParts.right; + setIdentifierTypeArguments( + lastId, + /*typeArguments*/ + void 0 + ); + } + return factory.createImportTypeNode(lit, attributes, nonRootParts, typeParameterNodes, isTypeOf); + } else { + const splitNode = getTopmostIndexedAccessType(nonRootParts); + const qualifier = splitNode.objectType.typeName; + return factory.createIndexedAccessTypeNode(factory.createImportTypeNode(lit, attributes, qualifier, typeParameterNodes, isTypeOf), splitNode.indexType); + } + } + const entityName = createAccessFromSymbolChain(chain, chain.length - 1, 0); + if (isIndexedAccessTypeNode(entityName)) { + return entityName; + } + if (isTypeOf) { + return factory.createTypeQueryNode(entityName); + } else { + const lastId = isIdentifier(entityName) ? entityName : entityName.right; + const lastTypeArgs = getIdentifierTypeArguments(lastId); + setIdentifierTypeArguments( + lastId, + /*typeArguments*/ + void 0 + ); + return factory.createTypeReferenceNode(entityName, lastTypeArgs); + } + function createAccessFromSymbolChain(chain2, index, stopper) { + const typeParameterNodes = index === chain2.length - 1 ? overrideTypeArguments : lookupTypeParameterNodes(chain2, index, context); + const symbol2 = chain2[index]; + const parent = chain2[index - 1]; + let symbolName2; + if (index === 0) { + context.flags |= 16777216 /* InInitialEntityName */; + symbolName2 = getNameOfSymbolAsWritten(symbol2, context); + context.approximateLength += (symbolName2 ? symbolName2.length : 0) + 1; + context.flags ^= 16777216 /* InInitialEntityName */; + } else { + if (parent && getExportsOfSymbol(parent)) { + const exports2 = getExportsOfSymbol(parent); + forEachEntry(exports2, (ex, name) => { + if (getSymbolIfSameReference(ex, symbol2) && !isLateBoundName(name) && name !== "export=" /* ExportEquals */) { + symbolName2 = unescapeLeadingUnderscores(name); + return true; + } + }); + } + } + if (symbolName2 === void 0) { + const name = firstDefined(symbol2.declarations, getNameOfDeclaration); + if (name && isComputedPropertyName(name) && isEntityName(name.expression)) { + const LHS = createAccessFromSymbolChain(chain2, index - 1, stopper); + if (isEntityName(LHS)) { + return factory.createIndexedAccessTypeNode(factory.createParenthesizedType(factory.createTypeQueryNode(LHS)), factory.createTypeQueryNode(name.expression)); + } + return LHS; + } + symbolName2 = getNameOfSymbolAsWritten(symbol2, context); + } + context.approximateLength += symbolName2.length + 1; + if (!(context.flags & 16 /* ForbidIndexedAccessSymbolReferences */) && parent && getMembersOfSymbol(parent) && getMembersOfSymbol(parent).get(symbol2.escapedName) && getSymbolIfSameReference(getMembersOfSymbol(parent).get(symbol2.escapedName), symbol2)) { + const LHS = createAccessFromSymbolChain(chain2, index - 1, stopper); + if (isIndexedAccessTypeNode(LHS)) { + return factory.createIndexedAccessTypeNode(LHS, factory.createLiteralTypeNode(factory.createStringLiteral(symbolName2))); + } else { + return factory.createIndexedAccessTypeNode(factory.createTypeReferenceNode(LHS, typeParameterNodes), factory.createLiteralTypeNode(factory.createStringLiteral(symbolName2))); + } + } + const identifier = setEmitFlags(factory.createIdentifier(symbolName2), 16777216 /* NoAsciiEscaping */); + if (typeParameterNodes) setIdentifierTypeArguments(identifier, factory.createNodeArray(typeParameterNodes)); + identifier.symbol = symbol2; + if (index > stopper) { + const LHS = createAccessFromSymbolChain(chain2, index - 1, stopper); + if (!isEntityName(LHS)) { + return Debug.fail("Impossible construct - an export of an indexed access cannot be reachable"); + } + return factory.createQualifiedName(LHS, identifier); + } + return identifier; + } + } + function typeParameterShadowsOtherTypeParameterInScope(escapedName, context, type) { + const result = resolveName( + context.enclosingDeclaration, + escapedName, + 788968 /* Type */, + /*nameNotFoundMessage*/ + void 0, + /*isUse*/ + false + ); + if (result && result.flags & 262144 /* TypeParameter */) { + return result !== type.symbol; + } + return false; + } + function typeParameterToName(type, context) { + var _a, _b, _c, _d; + if (context.flags & 4 /* GenerateNamesForShadowedTypeParams */ && context.typeParameterNames) { + const cached = context.typeParameterNames.get(getTypeId(type)); + if (cached) { + return cached; + } + } + let result = symbolToName( + type.symbol, + context, + 788968 /* Type */, + /*expectsIdentifier*/ + true + ); + if (!(result.kind & 80 /* Identifier */)) { + return factory.createIdentifier("(Missing type parameter)"); + } + const decl = (_b = (_a = type.symbol) == null ? void 0 : _a.declarations) == null ? void 0 : _b[0]; + if (decl && isTypeParameterDeclaration(decl)) { + result = setTextRange2(context, result, decl.name); + } + if (context.flags & 4 /* GenerateNamesForShadowedTypeParams */) { + const rawtext = result.escapedText; + let i = ((_c = context.typeParameterNamesByTextNextNameCount) == null ? void 0 : _c.get(rawtext)) || 0; + let text = rawtext; + while (((_d = context.typeParameterNamesByText) == null ? void 0 : _d.has(text)) || typeParameterShadowsOtherTypeParameterInScope(text, context, type)) { + i++; + text = `${rawtext}_${i}`; + } + if (text !== rawtext) { + const typeArguments = getIdentifierTypeArguments(result); + result = factory.createIdentifier(text); + setIdentifierTypeArguments(result, typeArguments); + } + if (context.mustCreateTypeParametersNamesLookups) { + context.mustCreateTypeParametersNamesLookups = false; + context.typeParameterNames = new Map(context.typeParameterNames); + context.typeParameterNamesByTextNextNameCount = new Map(context.typeParameterNamesByTextNextNameCount); + context.typeParameterNamesByText = new Set(context.typeParameterNamesByText); + } + context.typeParameterNamesByTextNextNameCount.set(rawtext, i); + context.typeParameterNames.set(getTypeId(type), result); + context.typeParameterNamesByText.add(text); + } + return result; + } + function symbolToName(symbol, context, meaning, expectsIdentifier) { + const chain = lookupSymbolChain(symbol, context, meaning); + if (expectsIdentifier && chain.length !== 1 && !context.encounteredError && !(context.flags & 65536 /* AllowQualifiedNameInPlaceOfIdentifier */)) { + context.encounteredError = true; + } + return createEntityNameFromSymbolChain(chain, chain.length - 1); + function createEntityNameFromSymbolChain(chain2, index) { + const typeParameterNodes = lookupTypeParameterNodes(chain2, index, context); + const symbol2 = chain2[index]; + if (index === 0) { + context.flags |= 16777216 /* InInitialEntityName */; + } + const symbolName2 = getNameOfSymbolAsWritten(symbol2, context); + if (index === 0) { + context.flags ^= 16777216 /* InInitialEntityName */; + } + const identifier = setEmitFlags(factory.createIdentifier(symbolName2), 16777216 /* NoAsciiEscaping */); + if (typeParameterNodes) setIdentifierTypeArguments(identifier, factory.createNodeArray(typeParameterNodes)); + identifier.symbol = symbol2; + return index > 0 ? factory.createQualifiedName(createEntityNameFromSymbolChain(chain2, index - 1), identifier) : identifier; + } + } + function symbolToExpression(symbol, context, meaning) { + const chain = lookupSymbolChain(symbol, context, meaning); + return createExpressionFromSymbolChain(chain, chain.length - 1); + function createExpressionFromSymbolChain(chain2, index) { + const typeParameterNodes = lookupTypeParameterNodes(chain2, index, context); + const symbol2 = chain2[index]; + if (index === 0) { + context.flags |= 16777216 /* InInitialEntityName */; + } + let symbolName2 = getNameOfSymbolAsWritten(symbol2, context); + if (index === 0) { + context.flags ^= 16777216 /* InInitialEntityName */; + } + let firstChar = symbolName2.charCodeAt(0); + if (isSingleOrDoubleQuote(firstChar) && some(symbol2.declarations, hasNonGlobalAugmentationExternalModuleSymbol)) { + return factory.createStringLiteral(getSpecifierForModuleSymbol(symbol2, context)); + } + if (index === 0 || canUsePropertyAccess(symbolName2, languageVersion)) { + const identifier = setEmitFlags(factory.createIdentifier(symbolName2), 16777216 /* NoAsciiEscaping */); + if (typeParameterNodes) setIdentifierTypeArguments(identifier, factory.createNodeArray(typeParameterNodes)); + identifier.symbol = symbol2; + return index > 0 ? factory.createPropertyAccessExpression(createExpressionFromSymbolChain(chain2, index - 1), identifier) : identifier; + } else { + if (firstChar === 91 /* openBracket */) { + symbolName2 = symbolName2.substring(1, symbolName2.length - 1); + firstChar = symbolName2.charCodeAt(0); + } + let expression; + if (isSingleOrDoubleQuote(firstChar) && !(symbol2.flags & 8 /* EnumMember */)) { + expression = factory.createStringLiteral(stripQuotes(symbolName2).replace(/\\./g, (s) => s.substring(1)), firstChar === 39 /* singleQuote */); + } else if ("" + +symbolName2 === symbolName2) { + expression = factory.createNumericLiteral(+symbolName2); + } + if (!expression) { + const identifier = setEmitFlags(factory.createIdentifier(symbolName2), 16777216 /* NoAsciiEscaping */); + if (typeParameterNodes) setIdentifierTypeArguments(identifier, factory.createNodeArray(typeParameterNodes)); + identifier.symbol = symbol2; + expression = identifier; + } + return factory.createElementAccessExpression(createExpressionFromSymbolChain(chain2, index - 1), expression); + } + } + } + function isStringNamed(d) { + const name = getNameOfDeclaration(d); + if (!name) { + return false; + } + if (isComputedPropertyName(name)) { + const type = checkExpression(name.expression); + return !!(type.flags & 402653316 /* StringLike */); + } + if (isElementAccessExpression(name)) { + const type = checkExpression(name.argumentExpression); + return !!(type.flags & 402653316 /* StringLike */); + } + return isStringLiteral(name); + } + function isSingleQuotedStringNamed(d) { + const name = getNameOfDeclaration(d); + return !!(name && isStringLiteral(name) && (name.singleQuote || !nodeIsSynthesized(name) && startsWith(getTextOfNode( + name, + /*includeTrivia*/ + false + ), "'"))); + } + function getPropertyNameNodeForSymbol(symbol, context) { + const stringNamed = !!length(symbol.declarations) && every(symbol.declarations, isStringNamed); + const singleQuote = !!length(symbol.declarations) && every(symbol.declarations, isSingleQuotedStringNamed); + const isMethod = !!(symbol.flags & 8192 /* Method */); + const fromNameType = getPropertyNameNodeForSymbolFromNameType(symbol, context, singleQuote, stringNamed, isMethod); + if (fromNameType) { + return fromNameType; + } + const rawName = unescapeLeadingUnderscores(symbol.escapedName); + return createPropertyNameNodeForIdentifierOrLiteral(rawName, getEmitScriptTarget(compilerOptions), singleQuote, stringNamed, isMethod); + } + function getPropertyNameNodeForSymbolFromNameType(symbol, context, singleQuote, stringNamed, isMethod) { + const nameType = getSymbolLinks(symbol).nameType; + if (nameType) { + if (nameType.flags & 384 /* StringOrNumberLiteral */) { + const name = "" + nameType.value; + if (!isIdentifierText(name, getEmitScriptTarget(compilerOptions)) && (stringNamed || !isNumericLiteralName(name))) { + return factory.createStringLiteral(name, !!singleQuote); + } + if (isNumericLiteralName(name) && startsWith(name, "-")) { + return factory.createComputedPropertyName(factory.createPrefixUnaryExpression(41 /* MinusToken */, factory.createNumericLiteral(-name))); + } + return createPropertyNameNodeForIdentifierOrLiteral(name, getEmitScriptTarget(compilerOptions), singleQuote, stringNamed, isMethod); + } + if (nameType.flags & 8192 /* UniqueESSymbol */) { + return factory.createComputedPropertyName(symbolToExpression(nameType.symbol, context, 111551 /* Value */)); + } + } + } + function cloneNodeBuilderContext(context) { + const oldMustCreateTypeParameterSymbolList = context.mustCreateTypeParameterSymbolList; + const oldMustCreateTypeParametersNamesLookups = context.mustCreateTypeParametersNamesLookups; + context.mustCreateTypeParameterSymbolList = true; + context.mustCreateTypeParametersNamesLookups = true; + const oldTypeParameterNames = context.typeParameterNames; + const oldTypeParameterNamesByText = context.typeParameterNamesByText; + const oldTypeParameterNamesByTextNextNameCount = context.typeParameterNamesByTextNextNameCount; + const oldTypeParameterSymbolList = context.typeParameterSymbolList; + return () => { + context.typeParameterNames = oldTypeParameterNames; + context.typeParameterNamesByText = oldTypeParameterNamesByText; + context.typeParameterNamesByTextNextNameCount = oldTypeParameterNamesByTextNextNameCount; + context.typeParameterSymbolList = oldTypeParameterSymbolList; + context.mustCreateTypeParameterSymbolList = oldMustCreateTypeParameterSymbolList; + context.mustCreateTypeParametersNamesLookups = oldMustCreateTypeParametersNamesLookups; + }; + } + function getDeclarationWithTypeAnnotation(symbol, enclosingDeclaration) { + return symbol.declarations && find(symbol.declarations, (s) => !!getNonlocalEffectiveTypeAnnotationNode(s) && (!enclosingDeclaration || !!findAncestor(s, (n) => n === enclosingDeclaration))); + } + function existingTypeNodeIsNotReferenceOrIsReferenceWithCompatibleTypeArgumentCount(existing, type) { + if (!(getObjectFlags(type) & 4 /* Reference */)) return true; + if (!isTypeReferenceNode(existing)) return true; + void getTypeFromTypeReference(existing); + const symbol = getNodeLinks(existing).resolvedSymbol; + const existingTarget = symbol && getDeclaredTypeOfSymbol(symbol); + if (!existingTarget || existingTarget !== type.target) return true; + return length(existing.typeArguments) >= getMinTypeArgumentCount(type.target.typeParameters); + } + function getEnclosingDeclarationIgnoringFakeScope(enclosingDeclaration) { + while (getNodeLinks(enclosingDeclaration).fakeScopeForSignatureDeclaration) { + enclosingDeclaration = enclosingDeclaration.parent; + } + return enclosingDeclaration; + } + function serializeInferredTypeForDeclaration(symbol, context, type) { + if (type.flags & 8192 /* UniqueESSymbol */ && type.symbol === symbol && (!context.enclosingDeclaration || some(symbol.declarations, (d) => getSourceFileOfNode(d) === context.enclosingFile))) { + context.flags |= 1048576 /* AllowUniqueESSymbolType */; + } + const result = typeToTypeNodeHelper(type, context); + return result; + } + function serializeTypeForDeclaration(context, declaration, type, symbol) { + var _a; + let result; + const addUndefinedForParameter = declaration && (isParameter(declaration) || isJSDocParameterTag(declaration)) && requiresAddingImplicitUndefined(declaration, context.enclosingDeclaration); + const decl = declaration ?? symbol.valueDeclaration ?? getDeclarationWithTypeAnnotation(symbol) ?? ((_a = symbol.declarations) == null ? void 0 : _a[0]); + if (decl) { + if (isAccessor(decl)) { + result = syntacticNodeBuilder.serializeTypeOfAccessor(decl, symbol, context); + } else if (hasInferredType(decl) && !nodeIsSynthesized(decl) && !(getObjectFlags(type) & 196608 /* RequiresWidening */)) { + const restore = addSymbolTypeToContext(context, symbol, type); + result = syntacticNodeBuilder.serializeTypeOfDeclaration(decl, symbol, context); + restore(); + } + } + if (!result) { + if (addUndefinedForParameter) { + type = getOptionalType(type); + } + result = serializeInferredTypeForDeclaration(symbol, context, type); + } + return result ?? factory.createKeywordTypeNode(133 /* AnyKeyword */); + } + function typeNodeIsEquivalentToType(annotatedDeclaration, type, typeFromTypeNode) { + if (typeFromTypeNode === type) { + return true; + } + if (!annotatedDeclaration) { + return false; + } + if ((isPropertySignature(annotatedDeclaration) || isPropertyDeclaration(annotatedDeclaration)) && annotatedDeclaration.questionToken) { + return getTypeWithFacts(type, 524288 /* NEUndefined */) === typeFromTypeNode; + } + if (isParameter(annotatedDeclaration) && hasEffectiveQuestionToken(annotatedDeclaration)) { + return getTypeWithFacts(type, 524288 /* NEUndefined */) === typeFromTypeNode; + } + return false; + } + function serializeReturnTypeForSignature(context, signature) { + const suppressAny = context.flags & 256 /* SuppressAnyReturnType */; + const restoreFlags = saveRestoreFlags(context); + if (suppressAny) context.flags &= ~256 /* SuppressAnyReturnType */; + let returnTypeNode; + const returnType = getReturnTypeOfSignature(signature); + if (!(suppressAny && isTypeAny(returnType))) { + if (signature.declaration && !nodeIsSynthesized(signature.declaration)) { + const declarationSymbol = getSymbolOfDeclaration(signature.declaration); + const restore = addSymbolTypeToContext(context, declarationSymbol, returnType); + returnTypeNode = syntacticNodeBuilder.serializeReturnTypeForSignature(signature.declaration, declarationSymbol, context); + restore(); + } + if (!returnTypeNode) { + returnTypeNode = serializeInferredReturnTypeForSignature(context, signature, returnType); + } + } + if (!returnTypeNode && !suppressAny) { + returnTypeNode = factory.createKeywordTypeNode(133 /* AnyKeyword */); + } + restoreFlags(); + return returnTypeNode; + } + function serializeInferredReturnTypeForSignature(context, signature, returnType) { + const oldSuppressReportInferenceFallback = context.suppressReportInferenceFallback; + context.suppressReportInferenceFallback = true; + const typePredicate = getTypePredicateOfSignature(signature); + const returnTypeNode = typePredicate ? typePredicateToTypePredicateNodeHelper(context.mapper ? instantiateTypePredicate(typePredicate, context.mapper) : typePredicate, context) : typeToTypeNodeHelper(returnType, context); + context.suppressReportInferenceFallback = oldSuppressReportInferenceFallback; + return returnTypeNode; + } + function trackExistingEntityName(node, context, enclosingDeclaration = context.enclosingDeclaration) { + let introducesError = false; + const leftmost = getFirstIdentifier(node); + if (isInJSFile(node) && (isExportsIdentifier(leftmost) || isModuleExportsAccessExpression(leftmost.parent) || isQualifiedName(leftmost.parent) && isModuleIdentifier(leftmost.parent.left) && isExportsIdentifier(leftmost.parent.right))) { + introducesError = true; + return { introducesError, node }; + } + const meaning = getMeaningOfEntityNameReference(node); + let sym; + if (isThisIdentifier(leftmost)) { + sym = getSymbolOfDeclaration(getThisContainer( + leftmost, + /*includeArrowFunctions*/ + false, + /*includeClassComputedPropertyName*/ + false + )); + if (isSymbolAccessible( + sym, + leftmost, + meaning, + /*shouldComputeAliasesToMakeVisible*/ + false + ).accessibility !== 0 /* Accessible */) { + introducesError = true; + context.tracker.reportInaccessibleThisError(); + } + return { introducesError, node: attachSymbolToLeftmostIdentifier(node) }; + } + sym = resolveEntityName( + leftmost, + meaning, + /*ignoreErrors*/ + true, + /*dontResolveAlias*/ + true + ); + if (context.enclosingDeclaration && !(sym && sym.flags & 262144 /* TypeParameter */)) { + sym = getExportSymbolOfValueSymbolIfExported(sym); + const symAtLocation = resolveEntityName( + leftmost, + meaning, + /*ignoreErrors*/ + true, + /*dontResolveAlias*/ + true, + context.enclosingDeclaration + ); + if ( + // Check for unusable parameters symbols + symAtLocation === unknownSymbol || // If the symbol is not found, but was not found in the original scope either we probably have an error, don't reuse the node + symAtLocation === void 0 && sym !== void 0 || // If the symbol is found both in declaration scope and in current scope then it should point to the same reference + symAtLocation && sym && !getSymbolIfSameReference(getExportSymbolOfValueSymbolIfExported(symAtLocation), sym) + ) { + if (symAtLocation !== unknownSymbol) { + context.tracker.reportInferenceFallback(node); + } + introducesError = true; + return { introducesError, node, sym }; + } else { + sym = symAtLocation; + } + } + if (sym) { + if (sym.flags & 1 /* FunctionScopedVariable */ && sym.valueDeclaration) { + if (isPartOfParameterDeclaration(sym.valueDeclaration) || isJSDocParameterTag(sym.valueDeclaration)) { + return { introducesError, node: attachSymbolToLeftmostIdentifier(node) }; + } + } + if (!(sym.flags & 262144 /* TypeParameter */) && // Type parameters are visible in the current context if they are are resolvable + !isDeclarationName(node) && isSymbolAccessible( + sym, + enclosingDeclaration, + meaning, + /*shouldComputeAliasesToMakeVisible*/ + false + ).accessibility !== 0 /* Accessible */) { + context.tracker.reportInferenceFallback(node); + introducesError = true; + } else { + context.tracker.trackSymbol(sym, enclosingDeclaration, meaning); + } + return { introducesError, node: attachSymbolToLeftmostIdentifier(node) }; + } + return { introducesError, node }; + function attachSymbolToLeftmostIdentifier(node2) { + if (node2 === leftmost) { + const type = getDeclaredTypeOfSymbol(sym); + const name = sym.flags & 262144 /* TypeParameter */ ? typeParameterToName(type, context) : factory.cloneNode(node2); + name.symbol = sym; + return setTextRange2(context, setEmitFlags(name, 16777216 /* NoAsciiEscaping */), node2); + } + const updated = visitEachChild( + node2, + (c) => attachSymbolToLeftmostIdentifier(c), + /*context*/ + void 0 + ); + if (updated !== node2) { + setTextRange2(context, updated, node2); + } + return updated; + } + } + function serializeTypeName(context, node, isTypeOf, typeArguments) { + const meaning = isTypeOf ? 111551 /* Value */ : 788968 /* Type */; + const symbol = resolveEntityName( + node, + meaning, + /*ignoreErrors*/ + true + ); + if (!symbol) return void 0; + const resolvedSymbol = symbol.flags & 2097152 /* Alias */ ? resolveAlias(symbol) : symbol; + if (isSymbolAccessible( + symbol, + context.enclosingDeclaration, + meaning, + /*shouldComputeAliasesToMakeVisible*/ + false + ).accessibility !== 0 /* Accessible */) return void 0; + return symbolToTypeNode(resolvedSymbol, context, meaning, typeArguments); + } + function canReuseTypeNode(context, existing) { + const type = getTypeFromTypeNode2( + context, + existing, + /*noMappedTypes*/ + true + ); + if (!type) { + return false; + } + if (isInJSFile(existing)) { + if (isLiteralImportTypeNode(existing)) { + void getTypeFromImportTypeNode(existing); + const nodeSymbol = getNodeLinks(existing).resolvedSymbol; + return !nodeSymbol || !// The import type resolved using jsdoc fallback logic + (!existing.isTypeOf && !(nodeSymbol.flags & 788968 /* Type */) || // The import type had type arguments autofilled by js fallback logic + !(length(existing.typeArguments) >= getMinTypeArgumentCount(getLocalTypeParametersOfClassOrInterfaceOrTypeAlias(nodeSymbol)))); + } + } + if (isTypeReferenceNode(existing)) { + if (isConstTypeReference(existing)) return false; + const symbol = getNodeLinks(existing).resolvedSymbol; + if (!symbol) return false; + if (symbol.flags & 262144 /* TypeParameter */) { + const declaredType = getDeclaredTypeOfSymbol(symbol); + return !(context.mapper && getMappedType(declaredType, context.mapper) !== declaredType); + } + if (isInJSDoc(existing)) { + return existingTypeNodeIsNotReferenceOrIsReferenceWithCompatibleTypeArgumentCount(existing, type) && !getIntendedTypeFromJSDocTypeReference(existing) && !!(symbol.flags & 788968 /* Type */); + } + } + if (isTypeOperatorNode(existing) && existing.operator === 158 /* UniqueKeyword */ && existing.type.kind === 155 /* SymbolKeyword */) { + const effectiveEnclosingContext = context.enclosingDeclaration && getEnclosingDeclarationIgnoringFakeScope(context.enclosingDeclaration); + return !!findAncestor(existing, (n) => n === effectiveEnclosingContext); + } + return true; + } + function serializeExistingTypeNode(context, typeNode, addUndefined) { + const type = getTypeFromTypeNode2(context, typeNode); + if (addUndefined && !someType(type, (t) => !!(t.flags & 32768 /* Undefined */)) && canReuseTypeNode(context, typeNode)) { + const clone = syntacticNodeBuilder.tryReuseExistingTypeNode(context, typeNode); + if (clone) { + return factory.createUnionTypeNode([clone, factory.createKeywordTypeNode(157 /* UndefinedKeyword */)]); + } + } + return typeToTypeNodeHelper(type, context); + } + function symbolTableToDeclarationStatements(symbolTable, context) { + var _a; + const serializePropertySymbolForClass = makeSerializePropertySymbol( + factory.createPropertyDeclaration, + 174 /* MethodDeclaration */, + /*useAccessors*/ + true + ); + const serializePropertySymbolForInterfaceWorker = makeSerializePropertySymbol( + (mods, name, question, type) => factory.createPropertySignature(mods, name, question, type), + 173 /* MethodSignature */, + /*useAccessors*/ + false + ); + const enclosingDeclaration = context.enclosingDeclaration; + let results = []; + const visitedSymbols = /* @__PURE__ */ new Set(); + const deferredPrivatesStack = []; + const oldcontext = context; + context = { + ...oldcontext, + usedSymbolNames: new Set(oldcontext.usedSymbolNames), + remappedSymbolNames: /* @__PURE__ */ new Map(), + remappedSymbolReferences: new Map((_a = oldcontext.remappedSymbolReferences) == null ? void 0 : _a.entries()), + tracker: void 0 + }; + const tracker = { + ...oldcontext.tracker.inner, + trackSymbol: (sym, decl, meaning) => { + var _a2, _b; + if ((_a2 = context.remappedSymbolNames) == null ? void 0 : _a2.has(getSymbolId(sym))) return false; + const accessibleResult = isSymbolAccessible( + sym, + decl, + meaning, + /*shouldComputeAliasesToMakeVisible*/ + false + ); + if (accessibleResult.accessibility === 0 /* Accessible */) { + const chain = lookupSymbolChainWorker(sym, context, meaning); + if (!(sym.flags & 4 /* Property */)) { + const root = chain[0]; + const contextFile = getSourceFileOfNode(oldcontext.enclosingDeclaration); + if (some(root.declarations, (d) => getSourceFileOfNode(d) === contextFile)) { + includePrivateSymbol(root); + } + } + } else if ((_b = oldcontext.tracker.inner) == null ? void 0 : _b.trackSymbol) { + return oldcontext.tracker.inner.trackSymbol(sym, decl, meaning); + } + return false; + } + }; + context.tracker = new SymbolTrackerImpl(context, tracker, oldcontext.tracker.moduleResolverHost); + forEachEntry(symbolTable, (symbol, name) => { + const baseName = unescapeLeadingUnderscores(name); + void getInternalSymbolName(symbol, baseName); + }); + let addingDeclare = !context.bundled; + const exportEquals = symbolTable.get("export=" /* ExportEquals */); + if (exportEquals && symbolTable.size > 1 && exportEquals.flags & (2097152 /* Alias */ | 1536 /* Module */)) { + symbolTable = createSymbolTable(); + symbolTable.set("export=" /* ExportEquals */, exportEquals); + } + visitSymbolTable(symbolTable); + return mergeRedundantStatements(results); + function isIdentifierAndNotUndefined(node) { + return !!node && node.kind === 80 /* Identifier */; + } + function getNamesOfDeclaration(statement) { + if (isVariableStatement(statement)) { + return filter(map(statement.declarationList.declarations, getNameOfDeclaration), isIdentifierAndNotUndefined); + } + return filter([getNameOfDeclaration(statement)], isIdentifierAndNotUndefined); + } + function flattenExportAssignedNamespace(statements) { + const exportAssignment = find(statements, isExportAssignment); + const nsIndex = findIndex(statements, isModuleDeclaration); + let ns = nsIndex !== -1 ? statements[nsIndex] : void 0; + if (ns && exportAssignment && exportAssignment.isExportEquals && isIdentifier(exportAssignment.expression) && isIdentifier(ns.name) && idText(ns.name) === idText(exportAssignment.expression) && ns.body && isModuleBlock(ns.body)) { + const excessExports = filter(statements, (s) => !!(getEffectiveModifierFlags(s) & 32 /* Export */)); + const name = ns.name; + let body = ns.body; + if (length(excessExports)) { + ns = factory.updateModuleDeclaration( + ns, + ns.modifiers, + ns.name, + body = factory.updateModuleBlock( + body, + factory.createNodeArray([ + ...ns.body.statements, + factory.createExportDeclaration( + /*modifiers*/ + void 0, + /*isTypeOnly*/ + false, + factory.createNamedExports(map(flatMap(excessExports, (e) => getNamesOfDeclaration(e)), (id) => factory.createExportSpecifier( + /*isTypeOnly*/ + false, + /*propertyName*/ + void 0, + id + ))), + /*moduleSpecifier*/ + void 0 + ) + ]) + ) + ); + statements = [...statements.slice(0, nsIndex), ns, ...statements.slice(nsIndex + 1)]; + } + if (!find(statements, (s) => s !== ns && nodeHasName(s, name))) { + results = []; + const mixinExportFlag = !some(body.statements, (s) => hasSyntacticModifier(s, 32 /* Export */) || isExportAssignment(s) || isExportDeclaration(s)); + forEach(body.statements, (s) => { + addResult(s, mixinExportFlag ? 32 /* Export */ : 0 /* None */); + }); + statements = [...filter(statements, (s) => s !== ns && s !== exportAssignment), ...results]; + } + } + return statements; + } + function mergeExportDeclarations(statements) { + const exports2 = filter(statements, (d) => isExportDeclaration(d) && !d.moduleSpecifier && !!d.exportClause && isNamedExports(d.exportClause)); + if (length(exports2) > 1) { + const nonExports = filter(statements, (d) => !isExportDeclaration(d) || !!d.moduleSpecifier || !d.exportClause); + statements = [ + ...nonExports, + factory.createExportDeclaration( + /*modifiers*/ + void 0, + /*isTypeOnly*/ + false, + factory.createNamedExports(flatMap(exports2, (e) => cast(e.exportClause, isNamedExports).elements)), + /*moduleSpecifier*/ + void 0 + ) + ]; + } + const reexports = filter(statements, (d) => isExportDeclaration(d) && !!d.moduleSpecifier && !!d.exportClause && isNamedExports(d.exportClause)); + if (length(reexports) > 1) { + const groups = group(reexports, (decl) => isStringLiteral(decl.moduleSpecifier) ? ">" + decl.moduleSpecifier.text : ">"); + if (groups.length !== reexports.length) { + for (const group2 of groups) { + if (group2.length > 1) { + statements = [ + ...filter(statements, (s) => !group2.includes(s)), + factory.createExportDeclaration( + /*modifiers*/ + void 0, + /*isTypeOnly*/ + false, + factory.createNamedExports(flatMap(group2, (e) => cast(e.exportClause, isNamedExports).elements)), + group2[0].moduleSpecifier + ) + ]; + } + } + } + } + return statements; + } + function inlineExportModifiers(statements) { + const index = findIndex(statements, (d) => isExportDeclaration(d) && !d.moduleSpecifier && !d.attributes && !!d.exportClause && isNamedExports(d.exportClause)); + if (index >= 0) { + const exportDecl = statements[index]; + const replacements = mapDefined(exportDecl.exportClause.elements, (e) => { + if (!e.propertyName && e.name.kind !== 11 /* StringLiteral */) { + const name = e.name; + const indices = indicesOf(statements); + const associatedIndices = filter(indices, (i) => nodeHasName(statements[i], name)); + if (length(associatedIndices) && every(associatedIndices, (i) => canHaveExportModifier(statements[i]))) { + for (const index2 of associatedIndices) { + statements[index2] = addExportModifier(statements[index2]); + } + return void 0; + } + } + return e; + }); + if (!length(replacements)) { + orderedRemoveItemAt(statements, index); + } else { + statements[index] = factory.updateExportDeclaration( + exportDecl, + exportDecl.modifiers, + exportDecl.isTypeOnly, + factory.updateNamedExports( + exportDecl.exportClause, + replacements + ), + exportDecl.moduleSpecifier, + exportDecl.attributes + ); + } + } + return statements; + } + function mergeRedundantStatements(statements) { + statements = flattenExportAssignedNamespace(statements); + statements = mergeExportDeclarations(statements); + statements = inlineExportModifiers(statements); + if (enclosingDeclaration && (isSourceFile(enclosingDeclaration) && isExternalOrCommonJsModule(enclosingDeclaration) || isModuleDeclaration(enclosingDeclaration)) && (!some(statements, isExternalModuleIndicator) || !hasScopeMarker(statements) && some(statements, needsScopeMarker))) { + statements.push(createEmptyExports(factory)); + } + return statements; + } + function addExportModifier(node) { + const flags = (getEffectiveModifierFlags(node) | 32 /* Export */) & ~128 /* Ambient */; + return factory.replaceModifiers(node, flags); + } + function removeExportModifier(node) { + const flags = getEffectiveModifierFlags(node) & ~32 /* Export */; + return factory.replaceModifiers(node, flags); + } + function visitSymbolTable(symbolTable2, suppressNewPrivateContext, propertyAsAlias) { + if (!suppressNewPrivateContext) { + deferredPrivatesStack.push(/* @__PURE__ */ new Map()); + } + symbolTable2.forEach((symbol) => { + serializeSymbol( + symbol, + /*isPrivate*/ + false, + !!propertyAsAlias + ); + }); + if (!suppressNewPrivateContext) { + deferredPrivatesStack[deferredPrivatesStack.length - 1].forEach((symbol) => { + serializeSymbol( + symbol, + /*isPrivate*/ + true, + !!propertyAsAlias + ); + }); + deferredPrivatesStack.pop(); + } + } + function serializeSymbol(symbol, isPrivate, propertyAsAlias) { + void getPropertiesOfType(getTypeOfSymbol(symbol)); + const visitedSym = getMergedSymbol(symbol); + if (visitedSymbols.has(getSymbolId(visitedSym))) { + return; + } + visitedSymbols.add(getSymbolId(visitedSym)); + const skipMembershipCheck = !isPrivate; + if (skipMembershipCheck || !!length(symbol.declarations) && some(symbol.declarations, (d) => !!findAncestor(d, (n) => n === enclosingDeclaration))) { + const scopeCleanup = cloneNodeBuilderContext(context); + context.tracker.pushErrorFallbackNode(find(symbol.declarations, (d) => getSourceFileOfNode(d) === context.enclosingFile)); + serializeSymbolWorker(symbol, isPrivate, propertyAsAlias); + context.tracker.popErrorFallbackNode(); + scopeCleanup(); + } + } + function serializeSymbolWorker(symbol, isPrivate, propertyAsAlias, escapedSymbolName = symbol.escapedName) { + var _a2, _b, _c, _d, _e, _f; + const symbolName2 = unescapeLeadingUnderscores(escapedSymbolName); + const isDefault = escapedSymbolName === "default" /* Default */; + if (isPrivate && !(context.flags & 131072 /* AllowAnonymousIdentifier */) && isStringANonContextualKeyword(symbolName2) && !isDefault) { + context.encounteredError = true; + return; + } + let needsPostExportDefault = isDefault && !!(symbol.flags & -113 /* ExportDoesNotSupportDefaultModifier */ || symbol.flags & 16 /* Function */ && length(getPropertiesOfType(getTypeOfSymbol(symbol)))) && !(symbol.flags & 2097152 /* Alias */); + let needsExportDeclaration = !needsPostExportDefault && !isPrivate && isStringANonContextualKeyword(symbolName2) && !isDefault; + if (needsPostExportDefault || needsExportDeclaration) { + isPrivate = true; + } + const modifierFlags = (!isPrivate ? 32 /* Export */ : 0) | (isDefault && !needsPostExportDefault ? 2048 /* Default */ : 0); + const isConstMergedWithNS = symbol.flags & 1536 /* Module */ && symbol.flags & (2 /* BlockScopedVariable */ | 1 /* FunctionScopedVariable */ | 4 /* Property */) && escapedSymbolName !== "export=" /* ExportEquals */; + const isConstMergedWithNSPrintableAsSignatureMerge = isConstMergedWithNS && isTypeRepresentableAsFunctionNamespaceMerge(getTypeOfSymbol(symbol), symbol); + if (symbol.flags & (16 /* Function */ | 8192 /* Method */) || isConstMergedWithNSPrintableAsSignatureMerge) { + serializeAsFunctionNamespaceMerge(getTypeOfSymbol(symbol), symbol, getInternalSymbolName(symbol, symbolName2), modifierFlags); + } + if (symbol.flags & 524288 /* TypeAlias */) { + serializeTypeAlias(symbol, symbolName2, modifierFlags); + } + if (symbol.flags & (2 /* BlockScopedVariable */ | 1 /* FunctionScopedVariable */ | 4 /* Property */ | 98304 /* Accessor */) && escapedSymbolName !== "export=" /* ExportEquals */ && !(symbol.flags & 4194304 /* Prototype */) && !(symbol.flags & 32 /* Class */) && !(symbol.flags & 8192 /* Method */) && !isConstMergedWithNSPrintableAsSignatureMerge) { + if (propertyAsAlias) { + const createdExport = serializeMaybeAliasAssignment(symbol); + if (createdExport) { + needsExportDeclaration = false; + needsPostExportDefault = false; + } + } else { + const type = getTypeOfSymbol(symbol); + const localName = getInternalSymbolName(symbol, symbolName2); + if (type.symbol && type.symbol !== symbol && type.symbol.flags & 16 /* Function */ && some(type.symbol.declarations, isFunctionExpressionOrArrowFunction) && (((_a2 = type.symbol.members) == null ? void 0 : _a2.size) || ((_b = type.symbol.exports) == null ? void 0 : _b.size))) { + if (!context.remappedSymbolReferences) { + context.remappedSymbolReferences = /* @__PURE__ */ new Map(); + } + context.remappedSymbolReferences.set(getSymbolId(type.symbol), symbol); + serializeSymbolWorker(type.symbol, isPrivate, propertyAsAlias, escapedSymbolName); + context.remappedSymbolReferences.delete(getSymbolId(type.symbol)); + } else if (!(symbol.flags & 16 /* Function */) && isTypeRepresentableAsFunctionNamespaceMerge(type, symbol)) { + serializeAsFunctionNamespaceMerge(type, symbol, localName, modifierFlags); + } else { + const flags = !(symbol.flags & 2 /* BlockScopedVariable */) ? ((_c = symbol.parent) == null ? void 0 : _c.valueDeclaration) && isSourceFile((_d = symbol.parent) == null ? void 0 : _d.valueDeclaration) ? 2 /* Const */ : void 0 : isConstantVariable(symbol) ? 2 /* Const */ : 1 /* Let */; + const name = needsPostExportDefault || !(symbol.flags & 4 /* Property */) ? localName : getUnusedName(localName, symbol); + let textRange = symbol.declarations && find(symbol.declarations, (d) => isVariableDeclaration(d)); + if (textRange && isVariableDeclarationList(textRange.parent) && textRange.parent.declarations.length === 1) { + textRange = textRange.parent.parent; + } + const propertyAccessRequire = (_e = symbol.declarations) == null ? void 0 : _e.find(isPropertyAccessExpression); + if (propertyAccessRequire && isBinaryExpression(propertyAccessRequire.parent) && isIdentifier(propertyAccessRequire.parent.right) && ((_f = type.symbol) == null ? void 0 : _f.valueDeclaration) && isSourceFile(type.symbol.valueDeclaration)) { + const alias = localName === propertyAccessRequire.parent.right.escapedText ? void 0 : propertyAccessRequire.parent.right; + addResult( + factory.createExportDeclaration( + /*modifiers*/ + void 0, + /*isTypeOnly*/ + false, + factory.createNamedExports([factory.createExportSpecifier( + /*isTypeOnly*/ + false, + alias, + localName + )]) + ), + 0 /* None */ + ); + context.tracker.trackSymbol(type.symbol, context.enclosingDeclaration, 111551 /* Value */); + } else { + const statement = setTextRange2( + context, + factory.createVariableStatement( + /*modifiers*/ + void 0, + factory.createVariableDeclarationList([ + factory.createVariableDeclaration( + name, + /*exclamationToken*/ + void 0, + serializeTypeForDeclaration( + context, + /*declaration*/ + void 0, + type, + symbol + ) + ) + ], flags) + ), + textRange + ); + addResult(statement, name !== localName ? modifierFlags & ~32 /* Export */ : modifierFlags); + if (name !== localName && !isPrivate) { + addResult( + factory.createExportDeclaration( + /*modifiers*/ + void 0, + /*isTypeOnly*/ + false, + factory.createNamedExports([factory.createExportSpecifier( + /*isTypeOnly*/ + false, + name, + localName + )]) + ), + 0 /* None */ + ); + needsExportDeclaration = false; + needsPostExportDefault = false; + } + } + } + } + } + if (symbol.flags & 384 /* Enum */) { + serializeEnum(symbol, symbolName2, modifierFlags); + } + if (symbol.flags & 32 /* Class */) { + if (symbol.flags & 4 /* Property */ && symbol.valueDeclaration && isBinaryExpression(symbol.valueDeclaration.parent) && isClassExpression(symbol.valueDeclaration.parent.right)) { + serializeAsAlias(symbol, getInternalSymbolName(symbol, symbolName2), modifierFlags); + } else { + serializeAsClass(symbol, getInternalSymbolName(symbol, symbolName2), modifierFlags); + } + } + if (symbol.flags & (512 /* ValueModule */ | 1024 /* NamespaceModule */) && (!isConstMergedWithNS || isTypeOnlyNamespace(symbol)) || isConstMergedWithNSPrintableAsSignatureMerge) { + serializeModule(symbol, symbolName2, modifierFlags); + } + if (symbol.flags & 64 /* Interface */ && !(symbol.flags & 32 /* Class */)) { + serializeInterface(symbol, symbolName2, modifierFlags); + } + if (symbol.flags & 2097152 /* Alias */) { + serializeAsAlias(symbol, getInternalSymbolName(symbol, symbolName2), modifierFlags); + } + if (symbol.flags & 4 /* Property */ && symbol.escapedName === "export=" /* ExportEquals */) { + serializeMaybeAliasAssignment(symbol); + } + if (symbol.flags & 8388608 /* ExportStar */) { + if (symbol.declarations) { + for (const node of symbol.declarations) { + const resolvedModule = resolveExternalModuleName(node, node.moduleSpecifier); + if (!resolvedModule) continue; + addResult(factory.createExportDeclaration( + /*modifiers*/ + void 0, + /*isTypeOnly*/ + node.isTypeOnly, + /*exportClause*/ + void 0, + factory.createStringLiteral(getSpecifierForModuleSymbol(resolvedModule, context)) + ), 0 /* None */); + } + } + } + if (needsPostExportDefault) { + addResult(factory.createExportAssignment( + /*modifiers*/ + void 0, + /*isExportEquals*/ + false, + factory.createIdentifier(getInternalSymbolName(symbol, symbolName2)) + ), 0 /* None */); + } else if (needsExportDeclaration) { + addResult( + factory.createExportDeclaration( + /*modifiers*/ + void 0, + /*isTypeOnly*/ + false, + factory.createNamedExports([factory.createExportSpecifier( + /*isTypeOnly*/ + false, + getInternalSymbolName(symbol, symbolName2), + symbolName2 + )]) + ), + 0 /* None */ + ); + } + } + function includePrivateSymbol(symbol) { + if (some(symbol.declarations, isPartOfParameterDeclaration)) return; + Debug.assertIsDefined(deferredPrivatesStack[deferredPrivatesStack.length - 1]); + getUnusedName(unescapeLeadingUnderscores(symbol.escapedName), symbol); + const isExternalImportAlias = !!(symbol.flags & 2097152 /* Alias */) && !some(symbol.declarations, (d) => !!findAncestor(d, isExportDeclaration) || isNamespaceExport(d) || isImportEqualsDeclaration(d) && !isExternalModuleReference(d.moduleReference)); + deferredPrivatesStack[isExternalImportAlias ? 0 : deferredPrivatesStack.length - 1].set(getSymbolId(symbol), symbol); + } + function isExportingScope(enclosingDeclaration2) { + return isSourceFile(enclosingDeclaration2) && (isExternalOrCommonJsModule(enclosingDeclaration2) || isJsonSourceFile(enclosingDeclaration2)) || isAmbientModule(enclosingDeclaration2) && !isGlobalScopeAugmentation(enclosingDeclaration2); + } + function addResult(node, additionalModifierFlags) { + if (canHaveModifiers(node)) { + let newModifierFlags = 0 /* None */; + const enclosingDeclaration2 = context.enclosingDeclaration && (isJSDocTypeAlias(context.enclosingDeclaration) ? getSourceFileOfNode(context.enclosingDeclaration) : context.enclosingDeclaration); + if (additionalModifierFlags & 32 /* Export */ && enclosingDeclaration2 && (isExportingScope(enclosingDeclaration2) || isModuleDeclaration(enclosingDeclaration2)) && canHaveExportModifier(node)) { + newModifierFlags |= 32 /* Export */; + } + if (addingDeclare && !(newModifierFlags & 32 /* Export */) && (!enclosingDeclaration2 || !(enclosingDeclaration2.flags & 33554432 /* Ambient */)) && (isEnumDeclaration(node) || isVariableStatement(node) || isFunctionDeclaration(node) || isClassDeclaration(node) || isModuleDeclaration(node))) { + newModifierFlags |= 128 /* Ambient */; + } + if (additionalModifierFlags & 2048 /* Default */ && (isClassDeclaration(node) || isInterfaceDeclaration(node) || isFunctionDeclaration(node))) { + newModifierFlags |= 2048 /* Default */; + } + if (newModifierFlags) { + node = factory.replaceModifiers(node, newModifierFlags | getEffectiveModifierFlags(node)); + } + } + results.push(node); + } + function serializeTypeAlias(symbol, symbolName2, modifierFlags) { + var _a2; + const aliasType = getDeclaredTypeOfTypeAlias(symbol); + const typeParams = getSymbolLinks(symbol).typeParameters; + const typeParamDecls = map(typeParams, (p) => typeParameterToDeclaration(p, context)); + const jsdocAliasDecl = (_a2 = symbol.declarations) == null ? void 0 : _a2.find(isJSDocTypeAlias); + const commentText = getTextOfJSDocComment(jsdocAliasDecl ? jsdocAliasDecl.comment || jsdocAliasDecl.parent.comment : void 0); + const restoreFlags = saveRestoreFlags(context); + context.flags |= 8388608 /* InTypeAlias */; + const oldEnclosingDecl = context.enclosingDeclaration; + context.enclosingDeclaration = jsdocAliasDecl; + const typeNode = jsdocAliasDecl && jsdocAliasDecl.typeExpression && isJSDocTypeExpression(jsdocAliasDecl.typeExpression) && syntacticNodeBuilder.tryReuseExistingTypeNode(context, jsdocAliasDecl.typeExpression.type) || typeToTypeNodeHelper(aliasType, context); + addResult( + setSyntheticLeadingComments( + factory.createTypeAliasDeclaration( + /*modifiers*/ + void 0, + getInternalSymbolName(symbol, symbolName2), + typeParamDecls, + typeNode + ), + !commentText ? [] : [{ kind: 3 /* MultiLineCommentTrivia */, text: "*\n * " + commentText.replace(/\n/g, "\n * ") + "\n ", pos: -1, end: -1, hasTrailingNewLine: true }] + ), + modifierFlags + ); + restoreFlags(); + context.enclosingDeclaration = oldEnclosingDecl; + } + function serializeInterface(symbol, symbolName2, modifierFlags) { + const interfaceType = getDeclaredTypeOfClassOrInterface(symbol); + const localParams = getLocalTypeParametersOfClassOrInterfaceOrTypeAlias(symbol); + const typeParamDecls = map(localParams, (p) => typeParameterToDeclaration(p, context)); + const baseTypes = getBaseTypes(interfaceType); + const baseType = length(baseTypes) ? getIntersectionType(baseTypes) : void 0; + const members = flatMap(getPropertiesOfType(interfaceType), (p) => serializePropertySymbolForInterface(p, baseType)); + const callSignatures = serializeSignatures(0 /* Call */, interfaceType, baseType, 179 /* CallSignature */); + const constructSignatures = serializeSignatures(1 /* Construct */, interfaceType, baseType, 180 /* ConstructSignature */); + const indexSignatures = serializeIndexSignatures(interfaceType, baseType); + const heritageClauses = !length(baseTypes) ? void 0 : [factory.createHeritageClause(96 /* ExtendsKeyword */, mapDefined(baseTypes, (b) => trySerializeAsTypeReference(b, 111551 /* Value */)))]; + addResult( + factory.createInterfaceDeclaration( + /*modifiers*/ + void 0, + getInternalSymbolName(symbol, symbolName2), + typeParamDecls, + heritageClauses, + [...indexSignatures, ...constructSignatures, ...callSignatures, ...members] + ), + modifierFlags + ); + } + function getNamespaceMembersForSerialization(symbol) { + let exports2 = arrayFrom(getExportsOfSymbol(symbol).values()); + const merged = getMergedSymbol(symbol); + if (merged !== symbol) { + const membersSet = new Set(exports2); + for (const exported of getExportsOfSymbol(merged).values()) { + if (!(getSymbolFlags(resolveSymbol(exported)) & 111551 /* Value */)) { + membersSet.add(exported); + } + } + exports2 = arrayFrom(membersSet); + } + return filter(exports2, (m) => isNamespaceMember(m) && isIdentifierText(m.escapedName, 99 /* ESNext */)); + } + function isTypeOnlyNamespace(symbol) { + return every(getNamespaceMembersForSerialization(symbol), (m) => !(getSymbolFlags(resolveSymbol(m)) & 111551 /* Value */)); + } + function serializeModule(symbol, symbolName2, modifierFlags) { + const members = getNamespaceMembersForSerialization(symbol); + const locationMap = arrayToMultiMap(members, (m) => m.parent && m.parent === symbol ? "real" : "merged"); + const realMembers = locationMap.get("real") || emptyArray; + const mergedMembers = locationMap.get("merged") || emptyArray; + if (length(realMembers)) { + const localName = getInternalSymbolName(symbol, symbolName2); + serializeAsNamespaceDeclaration(realMembers, localName, modifierFlags, !!(symbol.flags & (16 /* Function */ | 67108864 /* Assignment */))); + } + if (length(mergedMembers)) { + const containingFile = getSourceFileOfNode(context.enclosingDeclaration); + const localName = getInternalSymbolName(symbol, symbolName2); + const nsBody = factory.createModuleBlock([factory.createExportDeclaration( + /*modifiers*/ + void 0, + /*isTypeOnly*/ + false, + factory.createNamedExports(mapDefined(filter(mergedMembers, (n) => n.escapedName !== "export=" /* ExportEquals */), (s) => { + var _a2, _b; + const name = unescapeLeadingUnderscores(s.escapedName); + const localName2 = getInternalSymbolName(s, name); + const aliasDecl = s.declarations && getDeclarationOfAliasSymbol(s); + if (containingFile && (aliasDecl ? containingFile !== getSourceFileOfNode(aliasDecl) : !some(s.declarations, (d) => getSourceFileOfNode(d) === containingFile))) { + (_b = (_a2 = context.tracker) == null ? void 0 : _a2.reportNonlocalAugmentation) == null ? void 0 : _b.call(_a2, containingFile, symbol, s); + return void 0; + } + const target = aliasDecl && getTargetOfAliasDeclaration( + aliasDecl, + /*dontRecursivelyResolve*/ + true + ); + includePrivateSymbol(target || s); + const targetName = target ? getInternalSymbolName(target, unescapeLeadingUnderscores(target.escapedName)) : localName2; + return factory.createExportSpecifier( + /*isTypeOnly*/ + false, + name === targetName ? void 0 : targetName, + name + ); + })) + )]); + addResult( + factory.createModuleDeclaration( + /*modifiers*/ + void 0, + factory.createIdentifier(localName), + nsBody, + 32 /* Namespace */ + ), + 0 /* None */ + ); + } + } + function serializeEnum(symbol, symbolName2, modifierFlags) { + addResult( + factory.createEnumDeclaration( + factory.createModifiersFromModifierFlags(isConstEnumSymbol(symbol) ? 4096 /* Const */ : 0), + getInternalSymbolName(symbol, symbolName2), + map(filter(getPropertiesOfType(getTypeOfSymbol(symbol)), (p) => !!(p.flags & 8 /* EnumMember */)), (p) => { + const initializedValue = p.declarations && p.declarations[0] && isEnumMember(p.declarations[0]) ? getConstantValue2(p.declarations[0]) : void 0; + return factory.createEnumMember( + unescapeLeadingUnderscores(p.escapedName), + initializedValue === void 0 ? void 0 : typeof initializedValue === "string" ? factory.createStringLiteral(initializedValue) : factory.createNumericLiteral(initializedValue) + ); + }) + ), + modifierFlags + ); + } + function serializeAsFunctionNamespaceMerge(type, symbol, localName, modifierFlags) { + const signatures = getSignaturesOfType(type, 0 /* Call */); + for (const sig of signatures) { + const decl = signatureToSignatureDeclarationHelper(sig, 262 /* FunctionDeclaration */, context, { name: factory.createIdentifier(localName) }); + addResult(setTextRange2(context, decl, getSignatureTextRangeLocation(sig)), modifierFlags); + } + if (!(symbol.flags & (512 /* ValueModule */ | 1024 /* NamespaceModule */) && !!symbol.exports && !!symbol.exports.size)) { + const props = filter(getPropertiesOfType(type), isNamespaceMember); + serializeAsNamespaceDeclaration( + props, + localName, + modifierFlags, + /*suppressNewPrivateContext*/ + true + ); + } + } + function getSignatureTextRangeLocation(signature) { + if (signature.declaration && signature.declaration.parent) { + if (isBinaryExpression(signature.declaration.parent) && getAssignmentDeclarationKind(signature.declaration.parent) === 5 /* Property */) { + return signature.declaration.parent; + } + if (isVariableDeclaration(signature.declaration.parent) && signature.declaration.parent.parent) { + return signature.declaration.parent.parent; + } + } + return signature.declaration; + } + function serializeAsNamespaceDeclaration(props, localName, modifierFlags, suppressNewPrivateContext) { + if (length(props)) { + const localVsRemoteMap = arrayToMultiMap(props, (p) => !length(p.declarations) || some(p.declarations, (d) => getSourceFileOfNode(d) === getSourceFileOfNode(context.enclosingDeclaration)) ? "local" : "remote"); + const localProps = localVsRemoteMap.get("local") || emptyArray; + let fakespace = parseNodeFactory.createModuleDeclaration( + /*modifiers*/ + void 0, + factory.createIdentifier(localName), + factory.createModuleBlock([]), + 32 /* Namespace */ + ); + setParent(fakespace, enclosingDeclaration); + fakespace.locals = createSymbolTable(props); + fakespace.symbol = props[0].parent; + const oldResults = results; + results = []; + const oldAddingDeclare = addingDeclare; + addingDeclare = false; + const subcontext = { ...context, enclosingDeclaration: fakespace }; + const oldContext = context; + context = subcontext; + visitSymbolTable( + createSymbolTable(localProps), + suppressNewPrivateContext, + /*propertyAsAlias*/ + true + ); + context = oldContext; + addingDeclare = oldAddingDeclare; + const declarations = results; + results = oldResults; + const defaultReplaced = map(declarations, (d) => isExportAssignment(d) && !d.isExportEquals && isIdentifier(d.expression) ? factory.createExportDeclaration( + /*modifiers*/ + void 0, + /*isTypeOnly*/ + false, + factory.createNamedExports([factory.createExportSpecifier( + /*isTypeOnly*/ + false, + d.expression, + factory.createIdentifier("default" /* Default */) + )]) + ) : d); + const exportModifierStripped = every(defaultReplaced, (d) => hasSyntacticModifier(d, 32 /* Export */)) ? map(defaultReplaced, removeExportModifier) : defaultReplaced; + fakespace = factory.updateModuleDeclaration( + fakespace, + fakespace.modifiers, + fakespace.name, + factory.createModuleBlock(exportModifierStripped) + ); + addResult(fakespace, modifierFlags); + } + } + function isNamespaceMember(p) { + return !!(p.flags & (788968 /* Type */ | 1920 /* Namespace */ | 2097152 /* Alias */)) || !(p.flags & 4194304 /* Prototype */ || p.escapedName === "prototype" || p.valueDeclaration && isStatic(p.valueDeclaration) && isClassLike(p.valueDeclaration.parent)); + } + function sanitizeJSDocImplements(clauses) { + const result = mapDefined(clauses, (e) => { + const oldEnclosing = context.enclosingDeclaration; + context.enclosingDeclaration = e; + let expr = e.expression; + if (isEntityNameExpression(expr)) { + if (isIdentifier(expr) && idText(expr) === "") { + return cleanup( + /*result*/ + void 0 + ); + } + let introducesError; + ({ introducesError, node: expr } = trackExistingEntityName(expr, context)); + if (introducesError) { + return cleanup( + /*result*/ + void 0 + ); + } + } + return cleanup(factory.createExpressionWithTypeArguments( + expr, + map(e.typeArguments, (a) => syntacticNodeBuilder.tryReuseExistingTypeNode(context, a) || typeToTypeNodeHelper(getTypeFromTypeNode2(context, a), context)) + )); + function cleanup(result2) { + context.enclosingDeclaration = oldEnclosing; + return result2; + } + }); + if (result.length === clauses.length) { + return result; + } + return void 0; + } + function serializeAsClass(symbol, localName, modifierFlags) { + var _a2, _b; + const originalDecl = (_a2 = symbol.declarations) == null ? void 0 : _a2.find(isClassLike); + const oldEnclosing = context.enclosingDeclaration; + context.enclosingDeclaration = originalDecl || oldEnclosing; + const localParams = getLocalTypeParametersOfClassOrInterfaceOrTypeAlias(symbol); + const typeParamDecls = map(localParams, (p) => typeParameterToDeclaration(p, context)); + const classType = getTypeWithThisArgument(getDeclaredTypeOfClassOrInterface(symbol)); + const baseTypes = getBaseTypes(classType); + const originalImplements = originalDecl && getEffectiveImplementsTypeNodes(originalDecl); + const implementsExpressions = originalImplements && sanitizeJSDocImplements(originalImplements) || mapDefined(getImplementsTypes(classType), serializeImplementedType); + const staticType = getTypeOfSymbol(symbol); + const isClass = !!((_b = staticType.symbol) == null ? void 0 : _b.valueDeclaration) && isClassLike(staticType.symbol.valueDeclaration); + const staticBaseType = isClass ? getBaseConstructorTypeOfClass(staticType) : anyType; + const heritageClauses = [ + ...!length(baseTypes) ? [] : [factory.createHeritageClause(96 /* ExtendsKeyword */, map(baseTypes, (b) => serializeBaseType(b, staticBaseType, localName)))], + ...!length(implementsExpressions) ? [] : [factory.createHeritageClause(119 /* ImplementsKeyword */, implementsExpressions)] + ]; + const symbolProps = getNonInheritedProperties(classType, baseTypes, getPropertiesOfType(classType)); + const publicSymbolProps = filter(symbolProps, (s) => { + const valueDecl = s.valueDeclaration; + return !!valueDecl && !(isNamedDeclaration(valueDecl) && isPrivateIdentifier(valueDecl.name)); + }); + const hasPrivateIdentifier = some(symbolProps, (s) => { + const valueDecl = s.valueDeclaration; + return !!valueDecl && isNamedDeclaration(valueDecl) && isPrivateIdentifier(valueDecl.name); + }); + const privateProperties = hasPrivateIdentifier ? [factory.createPropertyDeclaration( + /*modifiers*/ + void 0, + factory.createPrivateIdentifier("#private"), + /*questionOrExclamationToken*/ + void 0, + /*type*/ + void 0, + /*initializer*/ + void 0 + )] : emptyArray; + const publicProperties = flatMap(publicSymbolProps, (p) => serializePropertySymbolForClass( + p, + /*isStatic*/ + false, + baseTypes[0] + )); + const staticMembers = flatMap( + filter(getPropertiesOfType(staticType), (p) => !(p.flags & 4194304 /* Prototype */) && p.escapedName !== "prototype" && !isNamespaceMember(p)), + (p) => serializePropertySymbolForClass( + p, + /*isStatic*/ + true, + staticBaseType + ) + ); + const isNonConstructableClassLikeInJsFile = !isClass && !!symbol.valueDeclaration && isInJSFile(symbol.valueDeclaration) && !some(getSignaturesOfType(staticType, 1 /* Construct */)); + const constructors = isNonConstructableClassLikeInJsFile ? [factory.createConstructorDeclaration( + factory.createModifiersFromModifierFlags(2 /* Private */), + [], + /*body*/ + void 0 + )] : serializeSignatures(1 /* Construct */, staticType, staticBaseType, 176 /* Constructor */); + const indexSignatures = serializeIndexSignatures(classType, baseTypes[0]); + context.enclosingDeclaration = oldEnclosing; + addResult( + setTextRange2( + context, + factory.createClassDeclaration( + /*modifiers*/ + void 0, + localName, + typeParamDecls, + heritageClauses, + [...indexSignatures, ...staticMembers, ...constructors, ...publicProperties, ...privateProperties] + ), + symbol.declarations && filter(symbol.declarations, (d) => isClassDeclaration(d) || isClassExpression(d))[0] + ), + modifierFlags + ); + } + function getSomeTargetNameFromDeclarations(declarations) { + return firstDefined(declarations, (d) => { + if (isImportSpecifier(d) || isExportSpecifier(d)) { + return moduleExportNameTextUnescaped(d.propertyName || d.name); + } + if (isBinaryExpression(d) || isExportAssignment(d)) { + const expression = isExportAssignment(d) ? d.expression : d.right; + if (isPropertyAccessExpression(expression)) { + return idText(expression.name); + } + } + if (isAliasSymbolDeclaration(d)) { + const name = getNameOfDeclaration(d); + if (name && isIdentifier(name)) { + return idText(name); + } + } + return void 0; + }); + } + function serializeAsAlias(symbol, localName, modifierFlags) { + var _a2, _b, _c, _d, _e; + const node = getDeclarationOfAliasSymbol(symbol); + if (!node) return Debug.fail(); + const target = getMergedSymbol(getTargetOfAliasDeclaration( + node, + /*dontRecursivelyResolve*/ + true + )); + if (!target) { + return; + } + let verbatimTargetName = isShorthandAmbientModuleSymbol(target) && getSomeTargetNameFromDeclarations(symbol.declarations) || unescapeLeadingUnderscores(target.escapedName); + if (verbatimTargetName === "export=" /* ExportEquals */ && allowSyntheticDefaultImports) { + verbatimTargetName = "default" /* Default */; + } + const targetName = getInternalSymbolName(target, verbatimTargetName); + includePrivateSymbol(target); + switch (node.kind) { + case 208 /* BindingElement */: + if (((_b = (_a2 = node.parent) == null ? void 0 : _a2.parent) == null ? void 0 : _b.kind) === 260 /* VariableDeclaration */) { + const specifier2 = getSpecifierForModuleSymbol(target.parent || target, context); + const { propertyName } = node; + addResult( + factory.createImportDeclaration( + /*modifiers*/ + void 0, + factory.createImportClause( + /*isTypeOnly*/ + false, + /*name*/ + void 0, + factory.createNamedImports([factory.createImportSpecifier( + /*isTypeOnly*/ + false, + propertyName && isIdentifier(propertyName) ? factory.createIdentifier(idText(propertyName)) : void 0, + factory.createIdentifier(localName) + )]) + ), + factory.createStringLiteral(specifier2), + /*attributes*/ + void 0 + ), + 0 /* None */ + ); + break; + } + Debug.failBadSyntaxKind(((_c = node.parent) == null ? void 0 : _c.parent) || node, "Unhandled binding element grandparent kind in declaration serialization"); + break; + case 304 /* ShorthandPropertyAssignment */: + if (((_e = (_d = node.parent) == null ? void 0 : _d.parent) == null ? void 0 : _e.kind) === 226 /* BinaryExpression */) { + serializeExportSpecifier( + unescapeLeadingUnderscores(symbol.escapedName), + targetName + ); + } + break; + case 260 /* VariableDeclaration */: + if (isPropertyAccessExpression(node.initializer)) { + const initializer = node.initializer; + const uniqueName = factory.createUniqueName(localName); + const specifier2 = getSpecifierForModuleSymbol(target.parent || target, context); + addResult( + factory.createImportEqualsDeclaration( + /*modifiers*/ + void 0, + /*isTypeOnly*/ + false, + uniqueName, + factory.createExternalModuleReference(factory.createStringLiteral(specifier2)) + ), + 0 /* None */ + ); + addResult( + factory.createImportEqualsDeclaration( + /*modifiers*/ + void 0, + /*isTypeOnly*/ + false, + factory.createIdentifier(localName), + factory.createQualifiedName(uniqueName, initializer.name) + ), + modifierFlags + ); + break; + } + // else fall through and treat commonjs require just like import= + case 271 /* ImportEqualsDeclaration */: + if (target.escapedName === "export=" /* ExportEquals */ && some(target.declarations, (d) => isSourceFile(d) && isJsonSourceFile(d))) { + serializeMaybeAliasAssignment(symbol); + break; + } + const isLocalImport = !(target.flags & 512 /* ValueModule */) && !isVariableDeclaration(node); + addResult( + factory.createImportEqualsDeclaration( + /*modifiers*/ + void 0, + /*isTypeOnly*/ + false, + factory.createIdentifier(localName), + isLocalImport ? symbolToName( + target, + context, + -1 /* All */, + /*expectsIdentifier*/ + false + ) : factory.createExternalModuleReference(factory.createStringLiteral(getSpecifierForModuleSymbol(target, context))) + ), + isLocalImport ? modifierFlags : 0 /* None */ + ); + break; + case 270 /* NamespaceExportDeclaration */: + addResult(factory.createNamespaceExportDeclaration(idText(node.name)), 0 /* None */); + break; + case 273 /* ImportClause */: { + const generatedSpecifier = getSpecifierForModuleSymbol(target.parent || target, context); + const specifier2 = context.bundled ? factory.createStringLiteral(generatedSpecifier) : node.parent.moduleSpecifier; + const attributes = isImportDeclaration(node.parent) ? node.parent.attributes : void 0; + const isTypeOnly = isJSDocImportTag(node.parent); + addResult( + factory.createImportDeclaration( + /*modifiers*/ + void 0, + factory.createImportClause( + isTypeOnly, + factory.createIdentifier(localName), + /*namedBindings*/ + void 0 + ), + specifier2, + attributes + ), + 0 /* None */ + ); + break; + } + case 274 /* NamespaceImport */: { + const generatedSpecifier = getSpecifierForModuleSymbol(target.parent || target, context); + const specifier2 = context.bundled ? factory.createStringLiteral(generatedSpecifier) : node.parent.parent.moduleSpecifier; + const isTypeOnly = isJSDocImportTag(node.parent.parent); + addResult( + factory.createImportDeclaration( + /*modifiers*/ + void 0, + factory.createImportClause( + isTypeOnly, + /*name*/ + void 0, + factory.createNamespaceImport(factory.createIdentifier(localName)) + ), + specifier2, + node.parent.attributes + ), + 0 /* None */ + ); + break; + } + case 280 /* NamespaceExport */: + addResult( + factory.createExportDeclaration( + /*modifiers*/ + void 0, + /*isTypeOnly*/ + false, + factory.createNamespaceExport(factory.createIdentifier(localName)), + factory.createStringLiteral(getSpecifierForModuleSymbol(target, context)) + ), + 0 /* None */ + ); + break; + case 276 /* ImportSpecifier */: { + const generatedSpecifier = getSpecifierForModuleSymbol(target.parent || target, context); + const specifier2 = context.bundled ? factory.createStringLiteral(generatedSpecifier) : node.parent.parent.parent.moduleSpecifier; + const isTypeOnly = isJSDocImportTag(node.parent.parent.parent); + addResult( + factory.createImportDeclaration( + /*modifiers*/ + void 0, + factory.createImportClause( + isTypeOnly, + /*name*/ + void 0, + factory.createNamedImports([ + factory.createImportSpecifier( + /*isTypeOnly*/ + false, + localName !== verbatimTargetName ? factory.createIdentifier(verbatimTargetName) : void 0, + factory.createIdentifier(localName) + ) + ]) + ), + specifier2, + node.parent.parent.parent.attributes + ), + 0 /* None */ + ); + break; + } + case 281 /* ExportSpecifier */: + const specifier = node.parent.parent.moduleSpecifier; + if (specifier) { + const propertyName = node.propertyName; + if (propertyName && moduleExportNameIsDefault(propertyName)) { + verbatimTargetName = "default" /* Default */; + } + } + serializeExportSpecifier( + unescapeLeadingUnderscores(symbol.escapedName), + specifier ? verbatimTargetName : targetName, + specifier && isStringLiteralLike(specifier) ? factory.createStringLiteral(specifier.text) : void 0 + ); + break; + case 277 /* ExportAssignment */: + serializeMaybeAliasAssignment(symbol); + break; + case 226 /* BinaryExpression */: + case 211 /* PropertyAccessExpression */: + case 212 /* ElementAccessExpression */: + if (symbol.escapedName === "default" /* Default */ || symbol.escapedName === "export=" /* ExportEquals */) { + serializeMaybeAliasAssignment(symbol); + } else { + serializeExportSpecifier(localName, targetName); + } + break; + default: + return Debug.failBadSyntaxKind(node, "Unhandled alias declaration kind in symbol serializer!"); + } + } + function serializeExportSpecifier(localName, targetName, specifier) { + addResult( + factory.createExportDeclaration( + /*modifiers*/ + void 0, + /*isTypeOnly*/ + false, + factory.createNamedExports([factory.createExportSpecifier( + /*isTypeOnly*/ + false, + localName !== targetName ? targetName : void 0, + localName + )]), + specifier + ), + 0 /* None */ + ); + } + function serializeMaybeAliasAssignment(symbol) { + var _a2; + if (symbol.flags & 4194304 /* Prototype */) { + return false; + } + const name = unescapeLeadingUnderscores(symbol.escapedName); + const isExportEquals = name === "export=" /* ExportEquals */; + const isDefault = name === "default" /* Default */; + const isExportAssignmentCompatibleSymbolName = isExportEquals || isDefault; + const aliasDecl = symbol.declarations && getDeclarationOfAliasSymbol(symbol); + const target = aliasDecl && getTargetOfAliasDeclaration( + aliasDecl, + /*dontRecursivelyResolve*/ + true + ); + if (target && length(target.declarations) && some(target.declarations, (d) => getSourceFileOfNode(d) === getSourceFileOfNode(enclosingDeclaration))) { + const expr = aliasDecl && (isExportAssignment(aliasDecl) || isBinaryExpression(aliasDecl) ? getExportAssignmentExpression(aliasDecl) : getPropertyAssignmentAliasLikeExpression(aliasDecl)); + const first2 = expr && isEntityNameExpression(expr) ? getFirstNonModuleExportsIdentifier(expr) : void 0; + const referenced = first2 && resolveEntityName( + first2, + -1 /* All */, + /*ignoreErrors*/ + true, + /*dontResolveAlias*/ + true, + enclosingDeclaration + ); + if (referenced || target) { + includePrivateSymbol(referenced || target); + } + const prevDisableTrackSymbol = context.tracker.disableTrackSymbol; + context.tracker.disableTrackSymbol = true; + if (isExportAssignmentCompatibleSymbolName) { + results.push(factory.createExportAssignment( + /*modifiers*/ + void 0, + isExportEquals, + symbolToExpression(target, context, -1 /* All */) + )); + } else { + if (first2 === expr && first2) { + serializeExportSpecifier(name, idText(first2)); + } else if (expr && isClassExpression(expr)) { + serializeExportSpecifier(name, getInternalSymbolName(target, symbolName(target))); + } else { + const varName = getUnusedName(name, symbol); + addResult( + factory.createImportEqualsDeclaration( + /*modifiers*/ + void 0, + /*isTypeOnly*/ + false, + factory.createIdentifier(varName), + symbolToName( + target, + context, + -1 /* All */, + /*expectsIdentifier*/ + false + ) + ), + 0 /* None */ + ); + serializeExportSpecifier(name, varName); + } + } + context.tracker.disableTrackSymbol = prevDisableTrackSymbol; + return true; + } else { + const varName = getUnusedName(name, symbol); + const typeToSerialize = getWidenedType(getTypeOfSymbol(getMergedSymbol(symbol))); + if (isTypeRepresentableAsFunctionNamespaceMerge(typeToSerialize, symbol)) { + serializeAsFunctionNamespaceMerge(typeToSerialize, symbol, varName, isExportAssignmentCompatibleSymbolName ? 0 /* None */ : 32 /* Export */); + } else { + const flags = ((_a2 = context.enclosingDeclaration) == null ? void 0 : _a2.kind) === 267 /* ModuleDeclaration */ && (!(symbol.flags & 98304 /* Accessor */) || symbol.flags & 65536 /* SetAccessor */) ? 1 /* Let */ : 2 /* Const */; + const statement = factory.createVariableStatement( + /*modifiers*/ + void 0, + factory.createVariableDeclarationList([ + factory.createVariableDeclaration( + varName, + /*exclamationToken*/ + void 0, + serializeTypeForDeclaration( + context, + /*declaration*/ + void 0, + typeToSerialize, + symbol + ) + ) + ], flags) + ); + addResult( + statement, + target && target.flags & 4 /* Property */ && target.escapedName === "export=" /* ExportEquals */ ? 128 /* Ambient */ : name === varName ? 32 /* Export */ : 0 /* None */ + ); + } + if (isExportAssignmentCompatibleSymbolName) { + results.push(factory.createExportAssignment( + /*modifiers*/ + void 0, + isExportEquals, + factory.createIdentifier(varName) + )); + return true; + } else if (name !== varName) { + serializeExportSpecifier(name, varName); + return true; + } + return false; + } + } + function isTypeRepresentableAsFunctionNamespaceMerge(typeToSerialize, hostSymbol) { + var _a2; + const ctxSrc = getSourceFileOfNode(context.enclosingDeclaration); + return getObjectFlags(typeToSerialize) & (16 /* Anonymous */ | 32 /* Mapped */) && !some((_a2 = typeToSerialize.symbol) == null ? void 0 : _a2.declarations, isTypeNode) && // If the type comes straight from a type node, we shouldn't try to break it up + !length(getIndexInfosOfType(typeToSerialize)) && !isClassInstanceSide(typeToSerialize) && // While a class instance is potentially representable as a NS, prefer printing a reference to the instance type and serializing the class + !!(length(filter(getPropertiesOfType(typeToSerialize), isNamespaceMember)) || length(getSignaturesOfType(typeToSerialize, 0 /* Call */))) && !length(getSignaturesOfType(typeToSerialize, 1 /* Construct */)) && // TODO: could probably serialize as function + ns + class, now that that's OK + !getDeclarationWithTypeAnnotation(hostSymbol, enclosingDeclaration) && !(typeToSerialize.symbol && some(typeToSerialize.symbol.declarations, (d) => getSourceFileOfNode(d) !== ctxSrc)) && !some(getPropertiesOfType(typeToSerialize), (p) => isLateBoundName(p.escapedName)) && !some(getPropertiesOfType(typeToSerialize), (p) => some(p.declarations, (d) => getSourceFileOfNode(d) !== ctxSrc)) && every(getPropertiesOfType(typeToSerialize), (p) => { + if (!isIdentifierText(symbolName(p), languageVersion)) { + return false; + } + if (!(p.flags & 98304 /* Accessor */)) { + return true; + } + return getNonMissingTypeOfSymbol(p) === getWriteTypeOfSymbol(p); + }); + } + function makeSerializePropertySymbol(createProperty2, methodKind, useAccessors) { + return function serializePropertySymbol(p, isStatic2, baseType) { + var _a2, _b, _c, _d, _e, _f; + const modifierFlags = getDeclarationModifierFlagsFromSymbol(p); + const isPrivate = !!(modifierFlags & 2 /* Private */); + if (isStatic2 && p.flags & (788968 /* Type */ | 1920 /* Namespace */ | 2097152 /* Alias */)) { + return []; + } + if (p.flags & 4194304 /* Prototype */ || p.escapedName === "constructor" || baseType && getPropertyOfType(baseType, p.escapedName) && isReadonlySymbol(getPropertyOfType(baseType, p.escapedName)) === isReadonlySymbol(p) && (p.flags & 16777216 /* Optional */) === (getPropertyOfType(baseType, p.escapedName).flags & 16777216 /* Optional */) && isTypeIdenticalTo(getTypeOfSymbol(p), getTypeOfPropertyOfType(baseType, p.escapedName))) { + return []; + } + const flag = modifierFlags & ~1024 /* Async */ | (isStatic2 ? 256 /* Static */ : 0); + const name = getPropertyNameNodeForSymbol(p, context); + const firstPropertyLikeDecl = (_a2 = p.declarations) == null ? void 0 : _a2.find(or(isPropertyDeclaration, isAccessor, isVariableDeclaration, isPropertySignature, isBinaryExpression, isPropertyAccessExpression)); + if (p.flags & 98304 /* Accessor */ && useAccessors) { + const result = []; + if (p.flags & 65536 /* SetAccessor */) { + const setter = p.declarations && forEach(p.declarations, (d) => { + if (d.kind === 178 /* SetAccessor */) { + return d; + } + if (isCallExpression(d) && isBindableObjectDefinePropertyCall(d)) { + return forEach(d.arguments[2].properties, (propDecl) => { + const id = getNameOfDeclaration(propDecl); + if (!!id && isIdentifier(id) && idText(id) === "set") { + return propDecl; + } + }); + } + }); + Debug.assert(!!setter); + const paramSymbol = isFunctionLikeDeclaration(setter) ? getSignatureFromDeclaration(setter).parameters[0] : void 0; + const setterDeclaration = (_b = p.declarations) == null ? void 0 : _b.find(isSetAccessor); + result.push(setTextRange2( + context, + factory.createSetAccessorDeclaration( + factory.createModifiersFromModifierFlags(flag), + name, + [factory.createParameterDeclaration( + /*modifiers*/ + void 0, + /*dotDotDotToken*/ + void 0, + paramSymbol ? parameterToParameterDeclarationName(paramSymbol, getEffectiveParameterDeclaration(paramSymbol), context) : "value", + /*questionToken*/ + void 0, + isPrivate ? void 0 : serializeTypeForDeclaration(context, setterDeclaration, getWriteTypeOfSymbol(p), p) + )], + /*body*/ + void 0 + ), + setterDeclaration ?? firstPropertyLikeDecl + )); + } + if (p.flags & 32768 /* GetAccessor */) { + const isPrivate2 = modifierFlags & 2 /* Private */; + const getterDeclaration = (_c = p.declarations) == null ? void 0 : _c.find(isGetAccessor); + result.push(setTextRange2( + context, + factory.createGetAccessorDeclaration( + factory.createModifiersFromModifierFlags(flag), + name, + [], + isPrivate2 ? void 0 : serializeTypeForDeclaration(context, getterDeclaration, getTypeOfSymbol(p), p), + /*body*/ + void 0 + ), + getterDeclaration ?? firstPropertyLikeDecl + )); + } + return result; + } else if (p.flags & (4 /* Property */ | 3 /* Variable */ | 98304 /* Accessor */)) { + return setTextRange2( + context, + createProperty2( + factory.createModifiersFromModifierFlags((isReadonlySymbol(p) ? 8 /* Readonly */ : 0) | flag), + name, + p.flags & 16777216 /* Optional */ ? factory.createToken(58 /* QuestionToken */) : void 0, + isPrivate ? void 0 : serializeTypeForDeclaration(context, (_d = p.declarations) == null ? void 0 : _d.find(isSetAccessorDeclaration), getWriteTypeOfSymbol(p), p), + // TODO: https://github.com/microsoft/TypeScript/pull/32372#discussion_r328386357 + // interface members can't have initializers, however class members _can_ + /*initializer*/ + void 0 + ), + ((_e = p.declarations) == null ? void 0 : _e.find(or(isPropertyDeclaration, isVariableDeclaration))) || firstPropertyLikeDecl + ); + } + if (p.flags & (8192 /* Method */ | 16 /* Function */)) { + const type = getTypeOfSymbol(p); + const signatures = getSignaturesOfType(type, 0 /* Call */); + if (flag & 2 /* Private */) { + return setTextRange2( + context, + createProperty2( + factory.createModifiersFromModifierFlags((isReadonlySymbol(p) ? 8 /* Readonly */ : 0) | flag), + name, + p.flags & 16777216 /* Optional */ ? factory.createToken(58 /* QuestionToken */) : void 0, + /*type*/ + void 0, + /*initializer*/ + void 0 + ), + ((_f = p.declarations) == null ? void 0 : _f.find(isFunctionLikeDeclaration)) || signatures[0] && signatures[0].declaration || p.declarations && p.declarations[0] + ); + } + const results2 = []; + for (const sig of signatures) { + const decl = signatureToSignatureDeclarationHelper( + sig, + methodKind, + context, + { + name, + questionToken: p.flags & 16777216 /* Optional */ ? factory.createToken(58 /* QuestionToken */) : void 0, + modifiers: flag ? factory.createModifiersFromModifierFlags(flag) : void 0 + } + ); + const location = sig.declaration && isPrototypePropertyAssignment(sig.declaration.parent) ? sig.declaration.parent : sig.declaration; + results2.push(setTextRange2(context, decl, location)); + } + return results2; + } + return Debug.fail(`Unhandled class member kind! ${p.__debugFlags || p.flags}`); + }; + } + function serializePropertySymbolForInterface(p, baseType) { + return serializePropertySymbolForInterfaceWorker( + p, + /*isStatic*/ + false, + baseType + ); + } + function serializeSignatures(kind, input, baseType, outputKind) { + const signatures = getSignaturesOfType(input, kind); + if (kind === 1 /* Construct */) { + if (!baseType && every(signatures, (s) => length(s.parameters) === 0)) { + return []; + } + if (baseType) { + const baseSigs = getSignaturesOfType(baseType, 1 /* Construct */); + if (!length(baseSigs) && every(signatures, (s) => length(s.parameters) === 0)) { + return []; + } + if (baseSigs.length === signatures.length) { + let failed2 = false; + for (let i = 0; i < baseSigs.length; i++) { + if (!compareSignaturesIdentical( + signatures[i], + baseSigs[i], + /*partialMatch*/ + false, + /*ignoreThisTypes*/ + false, + /*ignoreReturnTypes*/ + true, + compareTypesIdentical + )) { + failed2 = true; + break; + } + } + if (!failed2) { + return []; + } + } + } + let privateProtected = 0; + for (const s of signatures) { + if (s.declaration) { + privateProtected |= getSelectedEffectiveModifierFlags(s.declaration, 2 /* Private */ | 4 /* Protected */); + } + } + if (privateProtected) { + return [setTextRange2( + context, + factory.createConstructorDeclaration( + factory.createModifiersFromModifierFlags(privateProtected), + /*parameters*/ + [], + /*body*/ + void 0 + ), + signatures[0].declaration + )]; + } + } + const results2 = []; + for (const sig of signatures) { + const decl = signatureToSignatureDeclarationHelper(sig, outputKind, context); + results2.push(setTextRange2(context, decl, sig.declaration)); + } + return results2; + } + function serializeIndexSignatures(input, baseType) { + const results2 = []; + for (const info of getIndexInfosOfType(input)) { + if (baseType) { + const baseInfo = getIndexInfoOfType(baseType, info.keyType); + if (baseInfo) { + if (isTypeIdenticalTo(info.type, baseInfo.type)) { + continue; + } + } + } + results2.push(indexInfoToIndexSignatureDeclarationHelper( + info, + context, + /*typeNode*/ + void 0 + )); + } + return results2; + } + function serializeBaseType(t, staticType, rootName) { + const ref = trySerializeAsTypeReference(t, 111551 /* Value */); + if (ref) { + return ref; + } + const tempName = getUnusedName(`${rootName}_base`); + const statement = factory.createVariableStatement( + /*modifiers*/ + void 0, + factory.createVariableDeclarationList([ + factory.createVariableDeclaration( + tempName, + /*exclamationToken*/ + void 0, + typeToTypeNodeHelper(staticType, context) + ) + ], 2 /* Const */) + ); + addResult(statement, 0 /* None */); + return factory.createExpressionWithTypeArguments( + factory.createIdentifier(tempName), + /*typeArguments*/ + void 0 + ); + } + function trySerializeAsTypeReference(t, flags) { + let typeArgs; + let reference; + if (t.target && isSymbolAccessibleByFlags(t.target.symbol, enclosingDeclaration, flags)) { + typeArgs = map(getTypeArguments(t), (t2) => typeToTypeNodeHelper(t2, context)); + reference = symbolToExpression(t.target.symbol, context, 788968 /* Type */); + } else if (t.symbol && isSymbolAccessibleByFlags(t.symbol, enclosingDeclaration, flags)) { + reference = symbolToExpression(t.symbol, context, 788968 /* Type */); + } + if (reference) { + return factory.createExpressionWithTypeArguments(reference, typeArgs); + } + } + function serializeImplementedType(t) { + const ref = trySerializeAsTypeReference(t, 788968 /* Type */); + if (ref) { + return ref; + } + if (t.symbol) { + return factory.createExpressionWithTypeArguments( + symbolToExpression(t.symbol, context, 788968 /* Type */), + /*typeArguments*/ + void 0 + ); + } + } + function getUnusedName(input, symbol) { + var _a2, _b; + const id = symbol ? getSymbolId(symbol) : void 0; + if (id) { + if (context.remappedSymbolNames.has(id)) { + return context.remappedSymbolNames.get(id); + } + } + if (symbol) { + input = getNameCandidateWorker(symbol, input); + } + let i = 0; + const original = input; + while ((_a2 = context.usedSymbolNames) == null ? void 0 : _a2.has(input)) { + i++; + input = `${original}_${i}`; + } + (_b = context.usedSymbolNames) == null ? void 0 : _b.add(input); + if (id) { + context.remappedSymbolNames.set(id, input); + } + return input; + } + function getNameCandidateWorker(symbol, localName) { + if (localName === "default" /* Default */ || localName === "__class" /* Class */ || localName === "__function" /* Function */) { + const restoreFlags = saveRestoreFlags(context); + context.flags |= 16777216 /* InInitialEntityName */; + const nameCandidate = getNameOfSymbolAsWritten(symbol, context); + restoreFlags(); + localName = nameCandidate.length > 0 && isSingleOrDoubleQuote(nameCandidate.charCodeAt(0)) ? stripQuotes(nameCandidate) : nameCandidate; + } + if (localName === "default" /* Default */) { + localName = "_default"; + } else if (localName === "export=" /* ExportEquals */) { + localName = "_exports"; + } + localName = isIdentifierText(localName, languageVersion) && !isStringANonContextualKeyword(localName) ? localName : "_" + localName.replace(/[^a-z0-9]/gi, "_"); + return localName; + } + function getInternalSymbolName(symbol, localName) { + const id = getSymbolId(symbol); + if (context.remappedSymbolNames.has(id)) { + return context.remappedSymbolNames.get(id); + } + localName = getNameCandidateWorker(symbol, localName); + context.remappedSymbolNames.set(id, localName); + return localName; + } + } + } + function typePredicateToString(typePredicate, enclosingDeclaration, flags = 16384 /* UseAliasDefinedOutsideCurrentScope */, writer) { + return writer ? typePredicateToStringWorker(writer).getText() : usingSingleLineStringWriter(typePredicateToStringWorker); + function typePredicateToStringWorker(writer2) { + const nodeBuilderFlags = toNodeBuilderFlags(flags) | 70221824 /* IgnoreErrors */ | 512 /* WriteTypeParametersInQualifiedName */; + const predicate = nodeBuilder.typePredicateToTypePredicateNode(typePredicate, enclosingDeclaration, nodeBuilderFlags); + const printer = createPrinterWithRemoveComments(); + const sourceFile = enclosingDeclaration && getSourceFileOfNode(enclosingDeclaration); + printer.writeNode( + 4 /* Unspecified */, + predicate, + /*sourceFile*/ + sourceFile, + writer2 + ); + return writer2; + } + } + function formatUnionTypes(types) { + const result = []; + let flags = 0; + for (let i = 0; i < types.length; i++) { + const t = types[i]; + flags |= t.flags; + if (!(t.flags & 98304 /* Nullable */)) { + if (t.flags & (512 /* BooleanLiteral */ | 1056 /* EnumLike */)) { + const baseType = t.flags & 512 /* BooleanLiteral */ ? booleanType : getBaseTypeOfEnumLikeType(t); + if (baseType.flags & 1048576 /* Union */) { + const count = baseType.types.length; + if (i + count <= types.length && getRegularTypeOfLiteralType(types[i + count - 1]) === getRegularTypeOfLiteralType(baseType.types[count - 1])) { + result.push(baseType); + i += count - 1; + continue; + } + } + } + result.push(t); + } + } + if (flags & 65536 /* Null */) result.push(nullType); + if (flags & 32768 /* Undefined */) result.push(undefinedType); + return result || types; + } + function visibilityToString(flags) { + if (flags === 2 /* Private */) { + return "private"; + } + if (flags === 4 /* Protected */) { + return "protected"; + } + return "public"; + } + function getTypeAliasForTypeLiteral(type) { + if (type.symbol && type.symbol.flags & 2048 /* TypeLiteral */ && type.symbol.declarations) { + const node = walkUpParenthesizedTypes(type.symbol.declarations[0].parent); + if (isTypeAliasDeclaration(node)) { + return getSymbolOfDeclaration(node); + } + } + return void 0; + } + function isTopLevelInExternalModuleAugmentation(node) { + return node && node.parent && node.parent.kind === 268 /* ModuleBlock */ && isExternalModuleAugmentation(node.parent.parent); + } + function isDefaultBindingContext(location) { + return location.kind === 307 /* SourceFile */ || isAmbientModule(location); + } + function getNameOfSymbolFromNameType(symbol, context) { + const nameType = getSymbolLinks(symbol).nameType; + if (nameType) { + if (nameType.flags & 384 /* StringOrNumberLiteral */) { + const name = "" + nameType.value; + if (!isIdentifierText(name, getEmitScriptTarget(compilerOptions)) && !isNumericLiteralName(name)) { + return `"${escapeString(name, 34 /* doubleQuote */)}"`; + } + if (isNumericLiteralName(name) && startsWith(name, "-")) { + return `[${name}]`; + } + return name; + } + if (nameType.flags & 8192 /* UniqueESSymbol */) { + return `[${getNameOfSymbolAsWritten(nameType.symbol, context)}]`; + } + } + } + function getNameOfSymbolAsWritten(symbol, context) { + var _a; + if ((_a = context == null ? void 0 : context.remappedSymbolReferences) == null ? void 0 : _a.has(getSymbolId(symbol))) { + symbol = context.remappedSymbolReferences.get(getSymbolId(symbol)); + } + if (context && symbol.escapedName === "default" /* Default */ && !(context.flags & 16384 /* UseAliasDefinedOutsideCurrentScope */) && // If it's not the first part of an entity name, it must print as `default` + (!(context.flags & 16777216 /* InInitialEntityName */) || // if the symbol is synthesized, it will only be referenced externally it must print as `default` + !symbol.declarations || // if not in the same binding context (source file, module declaration), it must print as `default` + context.enclosingDeclaration && findAncestor(symbol.declarations[0], isDefaultBindingContext) !== findAncestor(context.enclosingDeclaration, isDefaultBindingContext))) { + return "default"; + } + if (symbol.declarations && symbol.declarations.length) { + let declaration = firstDefined(symbol.declarations, (d) => getNameOfDeclaration(d) ? d : void 0); + const name2 = declaration && getNameOfDeclaration(declaration); + if (declaration && name2) { + if (isCallExpression(declaration) && isBindableObjectDefinePropertyCall(declaration)) { + return symbolName(symbol); + } + if (isComputedPropertyName(name2) && !(getCheckFlags(symbol) & 4096 /* Late */)) { + const nameType = getSymbolLinks(symbol).nameType; + if (nameType && nameType.flags & 384 /* StringOrNumberLiteral */) { + const result = getNameOfSymbolFromNameType(symbol, context); + if (result !== void 0) { + return result; + } + } + } + return declarationNameToString(name2); + } + if (!declaration) { + declaration = symbol.declarations[0]; + } + if (declaration.parent && declaration.parent.kind === 260 /* VariableDeclaration */) { + return declarationNameToString(declaration.parent.name); + } + switch (declaration.kind) { + case 231 /* ClassExpression */: + case 218 /* FunctionExpression */: + case 219 /* ArrowFunction */: + if (context && !context.encounteredError && !(context.flags & 131072 /* AllowAnonymousIdentifier */)) { + context.encounteredError = true; + } + return declaration.kind === 231 /* ClassExpression */ ? "(Anonymous class)" : "(Anonymous function)"; + } + } + const name = getNameOfSymbolFromNameType(symbol, context); + return name !== void 0 ? name : symbolName(symbol); + } + function isDeclarationVisible(node) { + if (node) { + const links = getNodeLinks(node); + if (links.isVisible === void 0) { + links.isVisible = !!determineIfDeclarationIsVisible(); + } + return links.isVisible; + } + return false; + function determineIfDeclarationIsVisible() { + switch (node.kind) { + case 338 /* JSDocCallbackTag */: + case 346 /* JSDocTypedefTag */: + case 340 /* JSDocEnumTag */: + return !!(node.parent && node.parent.parent && node.parent.parent.parent && isSourceFile(node.parent.parent.parent)); + case 208 /* BindingElement */: + return isDeclarationVisible(node.parent.parent); + case 260 /* VariableDeclaration */: + if (isBindingPattern(node.name) && !node.name.elements.length) { + return false; + } + // falls through + case 267 /* ModuleDeclaration */: + case 263 /* ClassDeclaration */: + case 264 /* InterfaceDeclaration */: + case 265 /* TypeAliasDeclaration */: + case 262 /* FunctionDeclaration */: + case 266 /* EnumDeclaration */: + case 271 /* ImportEqualsDeclaration */: + if (isExternalModuleAugmentation(node)) { + return true; + } + const parent = getDeclarationContainer(node); + if (!(getCombinedModifierFlagsCached(node) & 32 /* Export */) && !(node.kind !== 271 /* ImportEqualsDeclaration */ && parent.kind !== 307 /* SourceFile */ && parent.flags & 33554432 /* Ambient */)) { + return isGlobalSourceFile(parent); + } + return isDeclarationVisible(parent); + case 172 /* PropertyDeclaration */: + case 171 /* PropertySignature */: + case 177 /* GetAccessor */: + case 178 /* SetAccessor */: + case 174 /* MethodDeclaration */: + case 173 /* MethodSignature */: + if (hasEffectiveModifier(node, 2 /* Private */ | 4 /* Protected */)) { + return false; + } + // Public properties/methods are visible if its parents are visible, so: + // falls through + case 176 /* Constructor */: + case 180 /* ConstructSignature */: + case 179 /* CallSignature */: + case 181 /* IndexSignature */: + case 169 /* Parameter */: + case 268 /* ModuleBlock */: + case 184 /* FunctionType */: + case 185 /* ConstructorType */: + case 187 /* TypeLiteral */: + case 183 /* TypeReference */: + case 188 /* ArrayType */: + case 189 /* TupleType */: + case 192 /* UnionType */: + case 193 /* IntersectionType */: + case 196 /* ParenthesizedType */: + case 202 /* NamedTupleMember */: + return isDeclarationVisible(node.parent); + // Default binding, import specifier and namespace import is visible + // only on demand so by default it is not visible + case 273 /* ImportClause */: + case 274 /* NamespaceImport */: + case 276 /* ImportSpecifier */: + return false; + // Type parameters are always visible + case 168 /* TypeParameter */: + // Source file and namespace export are always visible + // falls through + case 307 /* SourceFile */: + case 270 /* NamespaceExportDeclaration */: + return true; + // Export assignments do not create name bindings outside the module + case 277 /* ExportAssignment */: + return false; + default: + return false; + } + } + } + function collectLinkedAliases(node, setVisibility) { + let exportSymbol; + if (node.kind !== 11 /* StringLiteral */ && node.parent && node.parent.kind === 277 /* ExportAssignment */) { + exportSymbol = resolveName( + node, + node, + 111551 /* Value */ | 788968 /* Type */ | 1920 /* Namespace */ | 2097152 /* Alias */, + /*nameNotFoundMessage*/ + void 0, + /*isUse*/ + false + ); + } else if (node.parent.kind === 281 /* ExportSpecifier */) { + exportSymbol = getTargetOfExportSpecifier(node.parent, 111551 /* Value */ | 788968 /* Type */ | 1920 /* Namespace */ | 2097152 /* Alias */); + } + let result; + let visited; + if (exportSymbol) { + visited = /* @__PURE__ */ new Set(); + visited.add(getSymbolId(exportSymbol)); + buildVisibleNodeList(exportSymbol.declarations); + } + return result; + function buildVisibleNodeList(declarations) { + forEach(declarations, (declaration) => { + const resultNode = getAnyImportSyntax(declaration) || declaration; + if (setVisibility) { + getNodeLinks(declaration).isVisible = true; + } else { + result = result || []; + pushIfUnique(result, resultNode); + } + if (isInternalModuleImportEqualsDeclaration(declaration)) { + const internalModuleReference = declaration.moduleReference; + const firstIdentifier = getFirstIdentifier(internalModuleReference); + const importSymbol = resolveName( + declaration, + firstIdentifier.escapedText, + 111551 /* Value */ | 788968 /* Type */ | 1920 /* Namespace */, + /*nameNotFoundMessage*/ + void 0, + /*isUse*/ + false + ); + if (importSymbol && visited) { + if (tryAddToSet(visited, getSymbolId(importSymbol))) { + buildVisibleNodeList(importSymbol.declarations); + } + } + } + }); + } + } + function pushTypeResolution(target, propertyName) { + const resolutionCycleStartIndex = findResolutionCycleStartIndex(target, propertyName); + if (resolutionCycleStartIndex >= 0) { + const { length: length2 } = resolutionTargets; + for (let i = resolutionCycleStartIndex; i < length2; i++) { + resolutionResults[i] = false; + } + return false; + } + resolutionTargets.push(target); + resolutionResults.push( + /*items*/ + true + ); + resolutionPropertyNames.push(propertyName); + return true; + } + function findResolutionCycleStartIndex(target, propertyName) { + for (let i = resolutionTargets.length - 1; i >= resolutionStart; i--) { + if (resolutionTargetHasProperty(resolutionTargets[i], resolutionPropertyNames[i])) { + return -1; + } + if (resolutionTargets[i] === target && resolutionPropertyNames[i] === propertyName) { + return i; + } + } + return -1; + } + function resolutionTargetHasProperty(target, propertyName) { + switch (propertyName) { + case 0 /* Type */: + return !!getSymbolLinks(target).type; + case 2 /* DeclaredType */: + return !!getSymbolLinks(target).declaredType; + case 1 /* ResolvedBaseConstructorType */: + return !!target.resolvedBaseConstructorType; + case 3 /* ResolvedReturnType */: + return !!target.resolvedReturnType; + case 4 /* ImmediateBaseConstraint */: + return !!target.immediateBaseConstraint; + case 5 /* ResolvedTypeArguments */: + return !!target.resolvedTypeArguments; + case 6 /* ResolvedBaseTypes */: + return !!target.baseTypesResolved; + case 7 /* WriteType */: + return !!getSymbolLinks(target).writeType; + case 8 /* ParameterInitializerContainsUndefined */: + return getNodeLinks(target).parameterInitializerContainsUndefined !== void 0; + } + return Debug.assertNever(propertyName); + } + function popTypeResolution() { + resolutionTargets.pop(); + resolutionPropertyNames.pop(); + return resolutionResults.pop(); + } + function getDeclarationContainer(node) { + return findAncestor(getRootDeclaration(node), (node2) => { + switch (node2.kind) { + case 260 /* VariableDeclaration */: + case 261 /* VariableDeclarationList */: + case 276 /* ImportSpecifier */: + case 275 /* NamedImports */: + case 274 /* NamespaceImport */: + case 273 /* ImportClause */: + return false; + default: + return true; + } + }).parent; + } + function getTypeOfPrototypeProperty(prototype) { + const classType = getDeclaredTypeOfSymbol(getParentOfSymbol(prototype)); + return classType.typeParameters ? createTypeReference(classType, map(classType.typeParameters, (_) => anyType)) : classType; + } + function getTypeOfPropertyOfType(type, name) { + const prop = getPropertyOfType(type, name); + return prop ? getTypeOfSymbol(prop) : void 0; + } + function getTypeOfPropertyOrIndexSignatureOfType(type, name) { + var _a; + let propType; + return getTypeOfPropertyOfType(type, name) || (propType = (_a = getApplicableIndexInfoForName(type, name)) == null ? void 0 : _a.type) && addOptionality( + propType, + /*isProperty*/ + true, + /*isOptional*/ + true + ); + } + function isTypeAny(type) { + return type && (type.flags & 1 /* Any */) !== 0; + } + function isErrorType(type) { + return type === errorType || !!(type.flags & 1 /* Any */ && type.aliasSymbol); + } + function getTypeForBindingElementParent(node, checkMode) { + if (checkMode !== 0 /* Normal */) { + return getTypeForVariableLikeDeclaration( + node, + /*includeOptionality*/ + false, + checkMode + ); + } + const symbol = getSymbolOfDeclaration(node); + return symbol && getSymbolLinks(symbol).type || getTypeForVariableLikeDeclaration( + node, + /*includeOptionality*/ + false, + checkMode + ); + } + function getRestType(source, properties, symbol) { + source = filterType(source, (t) => !(t.flags & 98304 /* Nullable */)); + if (source.flags & 131072 /* Never */) { + return emptyObjectType; + } + if (source.flags & 1048576 /* Union */) { + return mapType(source, (t) => getRestType(t, properties, symbol)); + } + let omitKeyType = getUnionType(map(properties, getLiteralTypeFromPropertyName)); + const spreadableProperties = []; + const unspreadableToRestKeys = []; + for (const prop of getPropertiesOfType(source)) { + const literalTypeFromProperty = getLiteralTypeFromProperty(prop, 8576 /* StringOrNumberLiteralOrUnique */); + if (!isTypeAssignableTo(literalTypeFromProperty, omitKeyType) && !(getDeclarationModifierFlagsFromSymbol(prop) & (2 /* Private */ | 4 /* Protected */)) && isSpreadableProperty(prop)) { + spreadableProperties.push(prop); + } else { + unspreadableToRestKeys.push(literalTypeFromProperty); + } + } + if (isGenericObjectType(source) || isGenericIndexType(omitKeyType)) { + if (unspreadableToRestKeys.length) { + omitKeyType = getUnionType([omitKeyType, ...unspreadableToRestKeys]); + } + if (omitKeyType.flags & 131072 /* Never */) { + return source; + } + const omitTypeAlias = getGlobalOmitSymbol(); + if (!omitTypeAlias) { + return errorType; + } + return getTypeAliasInstantiation(omitTypeAlias, [source, omitKeyType]); + } + const members = createSymbolTable(); + for (const prop of spreadableProperties) { + members.set(prop.escapedName, getSpreadSymbol( + prop, + /*readonly*/ + false + )); + } + const result = createAnonymousType(symbol, members, emptyArray, emptyArray, getIndexInfosOfType(source)); + result.objectFlags |= 4194304 /* ObjectRestType */; + return result; + } + function isGenericTypeWithUndefinedConstraint(type) { + return !!(type.flags & 465829888 /* Instantiable */) && maybeTypeOfKind(getBaseConstraintOfType(type) || unknownType, 32768 /* Undefined */); + } + function getNonUndefinedType(type) { + const typeOrConstraint = someType(type, isGenericTypeWithUndefinedConstraint) ? mapType(type, (t) => t.flags & 465829888 /* Instantiable */ ? getBaseConstraintOrType(t) : t) : type; + return getTypeWithFacts(typeOrConstraint, 524288 /* NEUndefined */); + } + function getFlowTypeOfDestructuring(node, declaredType) { + const reference = getSyntheticElementAccess(node); + return reference ? getFlowTypeOfReference(reference, declaredType) : declaredType; + } + function getSyntheticElementAccess(node) { + const parentAccess = getParentElementAccess(node); + if (parentAccess && canHaveFlowNode(parentAccess) && parentAccess.flowNode) { + const propName = getDestructuringPropertyName(node); + if (propName) { + const literal = setTextRange(parseNodeFactory.createStringLiteral(propName), node); + const lhsExpr = isLeftHandSideExpression(parentAccess) ? parentAccess : parseNodeFactory.createParenthesizedExpression(parentAccess); + const result = setTextRange(parseNodeFactory.createElementAccessExpression(lhsExpr, literal), node); + setParent(literal, result); + setParent(result, node); + if (lhsExpr !== parentAccess) { + setParent(lhsExpr, result); + } + result.flowNode = parentAccess.flowNode; + return result; + } + } + } + function getParentElementAccess(node) { + const ancestor = node.parent.parent; + switch (ancestor.kind) { + case 208 /* BindingElement */: + case 303 /* PropertyAssignment */: + return getSyntheticElementAccess(ancestor); + case 209 /* ArrayLiteralExpression */: + return getSyntheticElementAccess(node.parent); + case 260 /* VariableDeclaration */: + return ancestor.initializer; + case 226 /* BinaryExpression */: + return ancestor.right; + } + } + function getDestructuringPropertyName(node) { + const parent = node.parent; + if (node.kind === 208 /* BindingElement */ && parent.kind === 206 /* ObjectBindingPattern */) { + return getLiteralPropertyNameText(node.propertyName || node.name); + } + if (node.kind === 303 /* PropertyAssignment */ || node.kind === 304 /* ShorthandPropertyAssignment */) { + return getLiteralPropertyNameText(node.name); + } + return "" + parent.elements.indexOf(node); + } + function getLiteralPropertyNameText(name) { + const type = getLiteralTypeFromPropertyName(name); + return type.flags & (128 /* StringLiteral */ | 256 /* NumberLiteral */) ? "" + type.value : void 0; + } + function getTypeForBindingElement(declaration) { + const checkMode = declaration.dotDotDotToken ? 32 /* RestBindingElement */ : 0 /* Normal */; + const parentType = getTypeForBindingElementParent(declaration.parent.parent, checkMode); + return parentType && getBindingElementTypeFromParentType( + declaration, + parentType, + /*noTupleBoundsCheck*/ + false + ); + } + function getBindingElementTypeFromParentType(declaration, parentType, noTupleBoundsCheck) { + if (isTypeAny(parentType)) { + return parentType; + } + const pattern = declaration.parent; + if (strictNullChecks && declaration.flags & 33554432 /* Ambient */ && isPartOfParameterDeclaration(declaration)) { + parentType = getNonNullableType(parentType); + } else if (strictNullChecks && pattern.parent.initializer && !hasTypeFacts(getTypeOfInitializer(pattern.parent.initializer), 65536 /* EQUndefined */)) { + parentType = getTypeWithFacts(parentType, 524288 /* NEUndefined */); + } + const accessFlags = 32 /* ExpressionPosition */ | (noTupleBoundsCheck || hasDefaultValue(declaration) ? 16 /* AllowMissing */ : 0); + let type; + if (pattern.kind === 206 /* ObjectBindingPattern */) { + if (declaration.dotDotDotToken) { + parentType = getReducedType(parentType); + if (parentType.flags & 2 /* Unknown */ || !isValidSpreadType(parentType)) { + error(declaration, Diagnostics.Rest_types_may_only_be_created_from_object_types); + return errorType; + } + const literalMembers = []; + for (const element of pattern.elements) { + if (!element.dotDotDotToken) { + literalMembers.push(element.propertyName || element.name); + } + } + type = getRestType(parentType, literalMembers, declaration.symbol); + } else { + const name = declaration.propertyName || declaration.name; + const indexType = getLiteralTypeFromPropertyName(name); + const declaredType = getIndexedAccessType(parentType, indexType, accessFlags, name); + type = getFlowTypeOfDestructuring(declaration, declaredType); + } + } else { + const elementType = checkIteratedTypeOrElementType(65 /* Destructuring */ | (declaration.dotDotDotToken ? 0 : 128 /* PossiblyOutOfBounds */), parentType, undefinedType, pattern); + const index = pattern.elements.indexOf(declaration); + if (declaration.dotDotDotToken) { + const baseConstraint = mapType(parentType, (t) => t.flags & 58982400 /* InstantiableNonPrimitive */ ? getBaseConstraintOrType(t) : t); + type = everyType(baseConstraint, isTupleType) ? mapType(baseConstraint, (t) => sliceTupleType(t, index)) : createArrayType(elementType); + } else if (isArrayLikeType(parentType)) { + const indexType = getNumberLiteralType(index); + const declaredType = getIndexedAccessTypeOrUndefined(parentType, indexType, accessFlags, declaration.name) || errorType; + type = getFlowTypeOfDestructuring(declaration, declaredType); + } else { + type = elementType; + } + } + if (!declaration.initializer) { + return type; + } + if (getEffectiveTypeAnnotationNode(walkUpBindingElementsAndPatterns(declaration))) { + return strictNullChecks && !hasTypeFacts(checkDeclarationInitializer(declaration, 0 /* Normal */), 16777216 /* IsUndefined */) ? getNonUndefinedType(type) : type; + } + return widenTypeInferredFromInitializer(declaration, getUnionType([getNonUndefinedType(type), checkDeclarationInitializer(declaration, 0 /* Normal */)], 2 /* Subtype */)); + } + function getTypeForDeclarationFromJSDocComment(declaration) { + const jsdocType = getJSDocType(declaration); + if (jsdocType) { + return getTypeFromTypeNode(jsdocType); + } + return void 0; + } + function isNullOrUndefined2(node) { + const expr = skipParentheses( + node, + /*excludeJSDocTypeAssertions*/ + true + ); + return expr.kind === 106 /* NullKeyword */ || expr.kind === 80 /* Identifier */ && getResolvedSymbol(expr) === undefinedSymbol; + } + function isEmptyArrayLiteral2(node) { + const expr = skipParentheses( + node, + /*excludeJSDocTypeAssertions*/ + true + ); + return expr.kind === 209 /* ArrayLiteralExpression */ && expr.elements.length === 0; + } + function addOptionality(type, isProperty = false, isOptional = true) { + return strictNullChecks && isOptional ? getOptionalType(type, isProperty) : type; + } + function getTypeForVariableLikeDeclaration(declaration, includeOptionality, checkMode) { + if (isVariableDeclaration(declaration) && declaration.parent.parent.kind === 249 /* ForInStatement */) { + const indexType = getIndexType(getNonNullableTypeIfNeeded(checkExpression( + declaration.parent.parent.expression, + /*checkMode*/ + checkMode + ))); + return indexType.flags & (262144 /* TypeParameter */ | 4194304 /* Index */) ? getExtractStringType(indexType) : stringType; + } + if (isVariableDeclaration(declaration) && declaration.parent.parent.kind === 250 /* ForOfStatement */) { + const forOfStatement = declaration.parent.parent; + return checkRightHandSideOfForOf(forOfStatement) || anyType; + } + if (isBindingPattern(declaration.parent)) { + return getTypeForBindingElement(declaration); + } + const isProperty = isPropertyDeclaration(declaration) && !hasAccessorModifier(declaration) || isPropertySignature(declaration) || isJSDocPropertyTag(declaration); + const isOptional = includeOptionality && isOptionalDeclaration(declaration); + const declaredType = tryGetTypeFromEffectiveTypeNode(declaration); + if (isCatchClauseVariableDeclarationOrBindingElement(declaration)) { + if (declaredType) { + return isTypeAny(declaredType) || declaredType === unknownType ? declaredType : errorType; + } + return useUnknownInCatchVariables ? unknownType : anyType; + } + if (declaredType) { + return addOptionality(declaredType, isProperty, isOptional); + } + if ((noImplicitAny || isInJSFile(declaration)) && isVariableDeclaration(declaration) && !isBindingPattern(declaration.name) && !(getCombinedModifierFlagsCached(declaration) & 32 /* Export */) && !(declaration.flags & 33554432 /* Ambient */)) { + if (!(getCombinedNodeFlagsCached(declaration) & 6 /* Constant */) && (!declaration.initializer || isNullOrUndefined2(declaration.initializer))) { + return autoType; + } + if (declaration.initializer && isEmptyArrayLiteral2(declaration.initializer)) { + return autoArrayType; + } + } + if (isParameter(declaration)) { + if (!declaration.symbol) { + return; + } + const func = declaration.parent; + if (func.kind === 178 /* SetAccessor */ && hasBindableName(func)) { + const getter = getDeclarationOfKind(getSymbolOfDeclaration(declaration.parent), 177 /* GetAccessor */); + if (getter) { + const getterSignature = getSignatureFromDeclaration(getter); + const thisParameter = getAccessorThisParameter(func); + if (thisParameter && declaration === thisParameter) { + Debug.assert(!thisParameter.type); + return getTypeOfSymbol(getterSignature.thisParameter); + } + return getReturnTypeOfSignature(getterSignature); + } + } + const parameterTypeOfTypeTag = getParameterTypeOfTypeTag(func, declaration); + if (parameterTypeOfTypeTag) return parameterTypeOfTypeTag; + const type = declaration.symbol.escapedName === "this" /* This */ ? getContextualThisParameterType(func) : getContextuallyTypedParameterType(declaration); + if (type) { + return addOptionality( + type, + /*isProperty*/ + false, + isOptional + ); + } + } + if (hasOnlyExpressionInitializer(declaration) && !!declaration.initializer) { + if (isInJSFile(declaration) && !isParameter(declaration)) { + const containerObjectType = getJSContainerObjectType(declaration, getSymbolOfDeclaration(declaration), getDeclaredExpandoInitializer(declaration)); + if (containerObjectType) { + return containerObjectType; + } + } + const type = widenTypeInferredFromInitializer(declaration, checkDeclarationInitializer(declaration, checkMode)); + return addOptionality(type, isProperty, isOptional); + } + if (isPropertyDeclaration(declaration) && (noImplicitAny || isInJSFile(declaration))) { + if (!hasStaticModifier(declaration)) { + const constructor = findConstructorDeclaration(declaration.parent); + const type = constructor ? getFlowTypeInConstructor(declaration.symbol, constructor) : getEffectiveModifierFlags(declaration) & 128 /* Ambient */ ? getTypeOfPropertyInBaseClass(declaration.symbol) : void 0; + return type && addOptionality( + type, + /*isProperty*/ + true, + isOptional + ); + } else { + const staticBlocks = filter(declaration.parent.members, isClassStaticBlockDeclaration); + const type = staticBlocks.length ? getFlowTypeInStaticBlocks(declaration.symbol, staticBlocks) : getEffectiveModifierFlags(declaration) & 128 /* Ambient */ ? getTypeOfPropertyInBaseClass(declaration.symbol) : void 0; + return type && addOptionality( + type, + /*isProperty*/ + true, + isOptional + ); + } + } + if (isJsxAttribute(declaration)) { + return trueType; + } + if (isBindingPattern(declaration.name)) { + return getTypeFromBindingPattern( + declaration.name, + /*includePatternInType*/ + false, + /*reportErrors*/ + true + ); + } + return void 0; + } + function isConstructorDeclaredProperty(symbol) { + if (symbol.valueDeclaration && isBinaryExpression(symbol.valueDeclaration)) { + const links = getSymbolLinks(symbol); + if (links.isConstructorDeclaredProperty === void 0) { + links.isConstructorDeclaredProperty = false; + links.isConstructorDeclaredProperty = !!getDeclaringConstructor(symbol) && every(symbol.declarations, (declaration) => isBinaryExpression(declaration) && isPossiblyAliasedThisProperty(declaration) && (declaration.left.kind !== 212 /* ElementAccessExpression */ || isStringOrNumericLiteralLike(declaration.left.argumentExpression)) && !getAnnotatedTypeForAssignmentDeclaration( + /*declaredType*/ + void 0, + declaration, + symbol, + declaration + )); + } + return links.isConstructorDeclaredProperty; + } + return false; + } + function isAutoTypedProperty(symbol) { + const declaration = symbol.valueDeclaration; + return declaration && isPropertyDeclaration(declaration) && !getEffectiveTypeAnnotationNode(declaration) && !declaration.initializer && (noImplicitAny || isInJSFile(declaration)); + } + function getDeclaringConstructor(symbol) { + if (!symbol.declarations) { + return; + } + for (const declaration of symbol.declarations) { + const container = getThisContainer( + declaration, + /*includeArrowFunctions*/ + false, + /*includeClassComputedPropertyName*/ + false + ); + if (container && (container.kind === 176 /* Constructor */ || isJSConstructor(container))) { + return container; + } + } + } + function getFlowTypeFromCommonJSExport(symbol) { + const file = getSourceFileOfNode(symbol.declarations[0]); + const accessName = unescapeLeadingUnderscores(symbol.escapedName); + const areAllModuleExports = symbol.declarations.every((d) => isInJSFile(d) && isAccessExpression(d) && isModuleExportsAccessExpression(d.expression)); + const reference = areAllModuleExports ? factory.createPropertyAccessExpression(factory.createPropertyAccessExpression(factory.createIdentifier("module"), factory.createIdentifier("exports")), accessName) : factory.createPropertyAccessExpression(factory.createIdentifier("exports"), accessName); + if (areAllModuleExports) { + setParent(reference.expression.expression, reference.expression); + } + setParent(reference.expression, reference); + setParent(reference, file); + reference.flowNode = file.endFlowNode; + return getFlowTypeOfReference(reference, autoType, undefinedType); + } + function getFlowTypeInStaticBlocks(symbol, staticBlocks) { + const accessName = startsWith(symbol.escapedName, "__#") ? factory.createPrivateIdentifier(symbol.escapedName.split("@")[1]) : unescapeLeadingUnderscores(symbol.escapedName); + for (const staticBlock of staticBlocks) { + const reference = factory.createPropertyAccessExpression(factory.createThis(), accessName); + setParent(reference.expression, reference); + setParent(reference, staticBlock); + reference.flowNode = staticBlock.returnFlowNode; + const flowType = getFlowTypeOfProperty(reference, symbol); + if (noImplicitAny && (flowType === autoType || flowType === autoArrayType)) { + error(symbol.valueDeclaration, Diagnostics.Member_0_implicitly_has_an_1_type, symbolToString(symbol), typeToString(flowType)); + } + if (everyType(flowType, isNullableType)) { + continue; + } + return convertAutoToAny(flowType); + } + } + function getFlowTypeInConstructor(symbol, constructor) { + const accessName = startsWith(symbol.escapedName, "__#") ? factory.createPrivateIdentifier(symbol.escapedName.split("@")[1]) : unescapeLeadingUnderscores(symbol.escapedName); + const reference = factory.createPropertyAccessExpression(factory.createThis(), accessName); + setParent(reference.expression, reference); + setParent(reference, constructor); + reference.flowNode = constructor.returnFlowNode; + const flowType = getFlowTypeOfProperty(reference, symbol); + if (noImplicitAny && (flowType === autoType || flowType === autoArrayType)) { + error(symbol.valueDeclaration, Diagnostics.Member_0_implicitly_has_an_1_type, symbolToString(symbol), typeToString(flowType)); + } + return everyType(flowType, isNullableType) ? void 0 : convertAutoToAny(flowType); + } + function getFlowTypeOfProperty(reference, prop) { + const initialType = (prop == null ? void 0 : prop.valueDeclaration) && (!isAutoTypedProperty(prop) || getEffectiveModifierFlags(prop.valueDeclaration) & 128 /* Ambient */) && getTypeOfPropertyInBaseClass(prop) || undefinedType; + return getFlowTypeOfReference(reference, autoType, initialType); + } + function getWidenedTypeForAssignmentDeclaration(symbol, resolvedSymbol) { + const container = getAssignedExpandoInitializer(symbol.valueDeclaration); + if (container) { + const tag = isInJSFile(container) ? getJSDocTypeTag(container) : void 0; + if (tag && tag.typeExpression) { + return getTypeFromTypeNode(tag.typeExpression); + } + const containerObjectType = symbol.valueDeclaration && getJSContainerObjectType(symbol.valueDeclaration, symbol, container); + return containerObjectType || getWidenedLiteralType(checkExpressionCached(container)); + } + let type; + let definedInConstructor = false; + let definedInMethod = false; + if (isConstructorDeclaredProperty(symbol)) { + type = getFlowTypeInConstructor(symbol, getDeclaringConstructor(symbol)); + } + if (!type) { + let types; + if (symbol.declarations) { + let jsdocType; + for (const declaration of symbol.declarations) { + const expression = isBinaryExpression(declaration) || isCallExpression(declaration) ? declaration : isAccessExpression(declaration) ? isBinaryExpression(declaration.parent) ? declaration.parent : declaration : void 0; + if (!expression) { + continue; + } + const kind = isAccessExpression(expression) ? getAssignmentDeclarationPropertyAccessKind(expression) : getAssignmentDeclarationKind(expression); + if (kind === 4 /* ThisProperty */ || isBinaryExpression(expression) && isPossiblyAliasedThisProperty(expression, kind)) { + if (isDeclarationInConstructor(expression)) { + definedInConstructor = true; + } else { + definedInMethod = true; + } + } + if (!isCallExpression(expression)) { + jsdocType = getAnnotatedTypeForAssignmentDeclaration(jsdocType, expression, symbol, declaration); + } + if (!jsdocType) { + (types || (types = [])).push(isBinaryExpression(expression) || isCallExpression(expression) ? getInitializerTypeFromAssignmentDeclaration(symbol, resolvedSymbol, expression, kind) : neverType); + } + } + type = jsdocType; + } + if (!type) { + if (!length(types)) { + return errorType; + } + let constructorTypes = definedInConstructor && symbol.declarations ? getConstructorDefinedThisAssignmentTypes(types, symbol.declarations) : void 0; + if (definedInMethod) { + const propType = getTypeOfPropertyInBaseClass(symbol); + if (propType) { + (constructorTypes || (constructorTypes = [])).push(propType); + definedInConstructor = true; + } + } + const sourceTypes = some(constructorTypes, (t) => !!(t.flags & ~98304 /* Nullable */)) ? constructorTypes : types; + type = getUnionType(sourceTypes); + } + } + const widened = getWidenedType(addOptionality( + type, + /*isProperty*/ + false, + definedInMethod && !definedInConstructor + )); + if (symbol.valueDeclaration && isInJSFile(symbol.valueDeclaration) && filterType(widened, (t) => !!(t.flags & ~98304 /* Nullable */)) === neverType) { + reportImplicitAny(symbol.valueDeclaration, anyType); + return anyType; + } + return widened; + } + function getJSContainerObjectType(decl, symbol, init) { + var _a, _b; + if (!isInJSFile(decl) || !init || !isObjectLiteralExpression(init) || init.properties.length) { + return void 0; + } + const exports2 = createSymbolTable(); + while (isBinaryExpression(decl) || isPropertyAccessExpression(decl)) { + const s2 = getSymbolOfNode(decl); + if ((_a = s2 == null ? void 0 : s2.exports) == null ? void 0 : _a.size) { + mergeSymbolTable(exports2, s2.exports); + } + decl = isBinaryExpression(decl) ? decl.parent : decl.parent.parent; + } + const s = getSymbolOfNode(decl); + if ((_b = s == null ? void 0 : s.exports) == null ? void 0 : _b.size) { + mergeSymbolTable(exports2, s.exports); + } + const type = createAnonymousType(symbol, exports2, emptyArray, emptyArray, emptyArray); + type.objectFlags |= 4096 /* JSLiteral */; + return type; + } + function getAnnotatedTypeForAssignmentDeclaration(declaredType, expression, symbol, declaration) { + var _a; + const typeNode = getEffectiveTypeAnnotationNode(expression.parent); + if (typeNode) { + const type = getWidenedType(getTypeFromTypeNode(typeNode)); + if (!declaredType) { + return type; + } else if (!isErrorType(declaredType) && !isErrorType(type) && !isTypeIdenticalTo(declaredType, type)) { + errorNextVariableOrPropertyDeclarationMustHaveSameType( + /*firstDeclaration*/ + void 0, + declaredType, + declaration, + type + ); + } + } + if ((_a = symbol.parent) == null ? void 0 : _a.valueDeclaration) { + const possiblyAnnotatedSymbol = getFunctionExpressionParentSymbolOrSymbol(symbol.parent); + if (possiblyAnnotatedSymbol.valueDeclaration) { + const typeNode2 = getEffectiveTypeAnnotationNode(possiblyAnnotatedSymbol.valueDeclaration); + if (typeNode2) { + const annotationSymbol = getPropertyOfType(getTypeFromTypeNode(typeNode2), symbol.escapedName); + if (annotationSymbol) { + return getNonMissingTypeOfSymbol(annotationSymbol); + } + } + } + } + return declaredType; + } + function getInitializerTypeFromAssignmentDeclaration(symbol, resolvedSymbol, expression, kind) { + if (isCallExpression(expression)) { + if (resolvedSymbol) { + return getTypeOfSymbol(resolvedSymbol); + } + const objectLitType = checkExpressionCached(expression.arguments[2]); + const valueType = getTypeOfPropertyOfType(objectLitType, "value"); + if (valueType) { + return valueType; + } + const getFunc = getTypeOfPropertyOfType(objectLitType, "get"); + if (getFunc) { + const getSig = getSingleCallSignature(getFunc); + if (getSig) { + return getReturnTypeOfSignature(getSig); + } + } + const setFunc = getTypeOfPropertyOfType(objectLitType, "set"); + if (setFunc) { + const setSig = getSingleCallSignature(setFunc); + if (setSig) { + return getTypeOfFirstParameterOfSignature(setSig); + } + } + return anyType; + } + if (containsSameNamedThisProperty(expression.left, expression.right)) { + return anyType; + } + const isDirectExport = kind === 1 /* ExportsProperty */ && (isPropertyAccessExpression(expression.left) || isElementAccessExpression(expression.left)) && (isModuleExportsAccessExpression(expression.left.expression) || isIdentifier(expression.left.expression) && isExportsIdentifier(expression.left.expression)); + const type = resolvedSymbol ? getTypeOfSymbol(resolvedSymbol) : isDirectExport ? getRegularTypeOfLiteralType(checkExpressionCached(expression.right)) : getWidenedLiteralType(checkExpressionCached(expression.right)); + if (type.flags & 524288 /* Object */ && kind === 2 /* ModuleExports */ && symbol.escapedName === "export=" /* ExportEquals */) { + const exportedType = resolveStructuredTypeMembers(type); + const members = createSymbolTable(); + copyEntries(exportedType.members, members); + const initialSize = members.size; + if (resolvedSymbol && !resolvedSymbol.exports) { + resolvedSymbol.exports = createSymbolTable(); + } + (resolvedSymbol || symbol).exports.forEach((s, name) => { + var _a; + const exportedMember = members.get(name); + if (exportedMember && exportedMember !== s && !(s.flags & 2097152 /* Alias */)) { + if (s.flags & 111551 /* Value */ && exportedMember.flags & 111551 /* Value */) { + if (s.valueDeclaration && exportedMember.valueDeclaration && getSourceFileOfNode(s.valueDeclaration) !== getSourceFileOfNode(exportedMember.valueDeclaration)) { + const unescapedName = unescapeLeadingUnderscores(s.escapedName); + const exportedMemberName = ((_a = tryCast(exportedMember.valueDeclaration, isNamedDeclaration)) == null ? void 0 : _a.name) || exportedMember.valueDeclaration; + addRelatedInfo( + error(s.valueDeclaration, Diagnostics.Duplicate_identifier_0, unescapedName), + createDiagnosticForNode(exportedMemberName, Diagnostics._0_was_also_declared_here, unescapedName) + ); + addRelatedInfo( + error(exportedMemberName, Diagnostics.Duplicate_identifier_0, unescapedName), + createDiagnosticForNode(s.valueDeclaration, Diagnostics._0_was_also_declared_here, unescapedName) + ); + } + const union = createSymbol(s.flags | exportedMember.flags, name); + union.links.type = getUnionType([getTypeOfSymbol(s), getTypeOfSymbol(exportedMember)]); + union.valueDeclaration = exportedMember.valueDeclaration; + union.declarations = concatenate(exportedMember.declarations, s.declarations); + members.set(name, union); + } else { + members.set(name, mergeSymbol(s, exportedMember)); + } + } else { + members.set(name, s); + } + }); + const result = createAnonymousType( + initialSize !== members.size ? void 0 : exportedType.symbol, + // Only set the type's symbol if it looks to be the same as the original type + members, + exportedType.callSignatures, + exportedType.constructSignatures, + exportedType.indexInfos + ); + if (initialSize === members.size) { + if (type.aliasSymbol) { + result.aliasSymbol = type.aliasSymbol; + result.aliasTypeArguments = type.aliasTypeArguments; + } + if (getObjectFlags(type) & 4 /* Reference */) { + result.aliasSymbol = type.symbol; + const args = getTypeArguments(type); + result.aliasTypeArguments = length(args) ? args : void 0; + } + } + result.objectFlags |= getPropagatingFlagsOfTypes([type]) | getObjectFlags(type) & (4096 /* JSLiteral */ | 16384 /* ArrayLiteral */ | 128 /* ObjectLiteral */); + if (result.symbol && result.symbol.flags & 32 /* Class */ && type === getDeclaredTypeOfClassOrInterface(result.symbol)) { + result.objectFlags |= 16777216 /* IsClassInstanceClone */; + } + return result; + } + if (isEmptyArrayLiteralType(type)) { + reportImplicitAny(expression, anyArrayType); + return anyArrayType; + } + return type; + } + function containsSameNamedThisProperty(thisProperty, expression) { + return isPropertyAccessExpression(thisProperty) && thisProperty.expression.kind === 110 /* ThisKeyword */ && forEachChildRecursively(expression, (n) => isMatchingReference(thisProperty, n)); + } + function isDeclarationInConstructor(expression) { + const thisContainer = getThisContainer( + expression, + /*includeArrowFunctions*/ + false, + /*includeClassComputedPropertyName*/ + false + ); + return thisContainer.kind === 176 /* Constructor */ || thisContainer.kind === 262 /* FunctionDeclaration */ || thisContainer.kind === 218 /* FunctionExpression */ && !isPrototypePropertyAssignment(thisContainer.parent); + } + function getConstructorDefinedThisAssignmentTypes(types, declarations) { + Debug.assert(types.length === declarations.length); + return types.filter((_, i) => { + const declaration = declarations[i]; + const expression = isBinaryExpression(declaration) ? declaration : isBinaryExpression(declaration.parent) ? declaration.parent : void 0; + return expression && isDeclarationInConstructor(expression); + }); + } + function getTypeFromBindingElement(element, includePatternInType, reportErrors2) { + if (element.initializer) { + const contextualType = isBindingPattern(element.name) ? getTypeFromBindingPattern( + element.name, + /*includePatternInType*/ + true, + /*reportErrors*/ + false + ) : unknownType; + return addOptionality(getWidenedLiteralTypeForInitializer(element, checkDeclarationInitializer(element, 0 /* Normal */, contextualType))); + } + if (isBindingPattern(element.name)) { + return getTypeFromBindingPattern(element.name, includePatternInType, reportErrors2); + } + if (reportErrors2 && !declarationBelongsToPrivateAmbientMember(element)) { + reportImplicitAny(element, anyType); + } + return includePatternInType ? nonInferrableAnyType : anyType; + } + function getTypeFromObjectBindingPattern(pattern, includePatternInType, reportErrors2) { + const members = createSymbolTable(); + let stringIndexInfo; + let objectFlags = 128 /* ObjectLiteral */ | 131072 /* ContainsObjectOrArrayLiteral */; + forEach(pattern.elements, (e) => { + const name = e.propertyName || e.name; + if (e.dotDotDotToken) { + stringIndexInfo = createIndexInfo( + stringType, + anyType, + /*isReadonly*/ + false + ); + return; + } + const exprType = getLiteralTypeFromPropertyName(name); + if (!isTypeUsableAsPropertyName(exprType)) { + objectFlags |= 512 /* ObjectLiteralPatternWithComputedProperties */; + return; + } + const text = getPropertyNameFromType(exprType); + const flags = 4 /* Property */ | (e.initializer ? 16777216 /* Optional */ : 0); + const symbol = createSymbol(flags, text); + symbol.links.type = getTypeFromBindingElement(e, includePatternInType, reportErrors2); + members.set(symbol.escapedName, symbol); + }); + const result = createAnonymousType( + /*symbol*/ + void 0, + members, + emptyArray, + emptyArray, + stringIndexInfo ? [stringIndexInfo] : emptyArray + ); + result.objectFlags |= objectFlags; + if (includePatternInType) { + result.pattern = pattern; + result.objectFlags |= 131072 /* ContainsObjectOrArrayLiteral */; + } + return result; + } + function getTypeFromArrayBindingPattern(pattern, includePatternInType, reportErrors2) { + const elements = pattern.elements; + const lastElement = lastOrUndefined(elements); + const restElement = lastElement && lastElement.kind === 208 /* BindingElement */ && lastElement.dotDotDotToken ? lastElement : void 0; + if (elements.length === 0 || elements.length === 1 && restElement) { + return languageVersion >= 2 /* ES2015 */ ? createIterableType(anyType) : anyArrayType; + } + const elementTypes = map(elements, (e) => isOmittedExpression(e) ? anyType : getTypeFromBindingElement(e, includePatternInType, reportErrors2)); + const minLength = findLastIndex(elements, (e) => !(e === restElement || isOmittedExpression(e) || hasDefaultValue(e)), elements.length - 1) + 1; + const elementFlags = map(elements, (e, i) => e === restElement ? 4 /* Rest */ : i >= minLength ? 2 /* Optional */ : 1 /* Required */); + let result = createTupleType(elementTypes, elementFlags); + if (includePatternInType) { + result = cloneTypeReference(result); + result.pattern = pattern; + result.objectFlags |= 131072 /* ContainsObjectOrArrayLiteral */; + } + return result; + } + function getTypeFromBindingPattern(pattern, includePatternInType = false, reportErrors2 = false) { + if (includePatternInType) contextualBindingPatterns.push(pattern); + const result = pattern.kind === 206 /* ObjectBindingPattern */ ? getTypeFromObjectBindingPattern(pattern, includePatternInType, reportErrors2) : getTypeFromArrayBindingPattern(pattern, includePatternInType, reportErrors2); + if (includePatternInType) contextualBindingPatterns.pop(); + return result; + } + function getWidenedTypeForVariableLikeDeclaration(declaration, reportErrors2) { + return widenTypeForVariableLikeDeclaration(getTypeForVariableLikeDeclaration( + declaration, + /*includeOptionality*/ + true, + 0 /* Normal */ + ), declaration, reportErrors2); + } + function getTypeFromImportAttributes(node) { + const links = getNodeLinks(node); + if (!links.resolvedType) { + const symbol = createSymbol(4096 /* ObjectLiteral */, "__importAttributes" /* ImportAttributes */); + const members = createSymbolTable(); + forEach(node.elements, (attr) => { + const member = createSymbol(4 /* Property */, getNameFromImportAttribute(attr)); + member.parent = symbol; + member.links.type = checkImportAttribute(attr); + member.links.target = member; + members.set(member.escapedName, member); + }); + const type = createAnonymousType(symbol, members, emptyArray, emptyArray, emptyArray); + type.objectFlags |= 128 /* ObjectLiteral */ | 262144 /* NonInferrableType */; + links.resolvedType = type; + } + return links.resolvedType; + } + function isGlobalSymbolConstructor(node) { + const symbol = getSymbolOfNode(node); + const globalSymbol = getGlobalESSymbolConstructorTypeSymbol( + /*reportErrors*/ + false + ); + return globalSymbol && symbol && symbol === globalSymbol; + } + function widenTypeForVariableLikeDeclaration(type, declaration, reportErrors2) { + if (type) { + if (type.flags & 4096 /* ESSymbol */ && isGlobalSymbolConstructor(declaration.parent)) { + type = getESSymbolLikeTypeForNode(declaration); + } + if (reportErrors2) { + reportErrorsFromWidening(declaration, type); + } + if (type.flags & 8192 /* UniqueESSymbol */ && (isBindingElement(declaration) || !declaration.type) && type.symbol !== getSymbolOfDeclaration(declaration)) { + type = esSymbolType; + } + return getWidenedType(type); + } + type = isParameter(declaration) && declaration.dotDotDotToken ? anyArrayType : anyType; + if (reportErrors2) { + if (!declarationBelongsToPrivateAmbientMember(declaration)) { + reportImplicitAny(declaration, type); + } + } + return type; + } + function declarationBelongsToPrivateAmbientMember(declaration) { + const root = getRootDeclaration(declaration); + const memberDeclaration = root.kind === 169 /* Parameter */ ? root.parent : root; + return isPrivateWithinAmbient(memberDeclaration); + } + function tryGetTypeFromEffectiveTypeNode(node) { + const typeNode = getEffectiveTypeAnnotationNode(node); + if (typeNode) { + return getTypeFromTypeNode(typeNode); + } + } + function isParameterOfContextSensitiveSignature(symbol) { + let decl = symbol.valueDeclaration; + if (!decl) { + return false; + } + if (isBindingElement(decl)) { + decl = walkUpBindingElementsAndPatterns(decl); + } + if (isParameter(decl)) { + return isContextSensitiveFunctionOrObjectLiteralMethod(decl.parent); + } + return false; + } + function getTypeOfVariableOrParameterOrProperty(symbol) { + const links = getSymbolLinks(symbol); + if (!links.type) { + const type = getTypeOfVariableOrParameterOrPropertyWorker(symbol); + if (!links.type && !isParameterOfContextSensitiveSignature(symbol)) { + links.type = type; + } + return type; + } + return links.type; + } + function getTypeOfVariableOrParameterOrPropertyWorker(symbol) { + if (symbol.flags & 4194304 /* Prototype */) { + return getTypeOfPrototypeProperty(symbol); + } + if (symbol === requireSymbol) { + return anyType; + } + if (symbol.flags & 134217728 /* ModuleExports */ && symbol.valueDeclaration) { + const fileSymbol = getSymbolOfDeclaration(getSourceFileOfNode(symbol.valueDeclaration)); + const result = createSymbol(fileSymbol.flags, "exports"); + result.declarations = fileSymbol.declarations ? fileSymbol.declarations.slice() : []; + result.parent = symbol; + result.links.target = fileSymbol; + if (fileSymbol.valueDeclaration) result.valueDeclaration = fileSymbol.valueDeclaration; + if (fileSymbol.members) result.members = new Map(fileSymbol.members); + if (fileSymbol.exports) result.exports = new Map(fileSymbol.exports); + const members = createSymbolTable(); + members.set("exports", result); + return createAnonymousType(symbol, members, emptyArray, emptyArray, emptyArray); + } + Debug.assertIsDefined(symbol.valueDeclaration); + const declaration = symbol.valueDeclaration; + if (isSourceFile(declaration) && isJsonSourceFile(declaration)) { + if (!declaration.statements.length) { + return emptyObjectType; + } + return getWidenedType(getWidenedLiteralType(checkExpression(declaration.statements[0].expression))); + } + if (isAccessor(declaration)) { + return getTypeOfAccessors(symbol); + } + if (!pushTypeResolution(symbol, 0 /* Type */)) { + if (symbol.flags & 512 /* ValueModule */ && !(symbol.flags & 67108864 /* Assignment */)) { + return getTypeOfFuncClassEnumModule(symbol); + } + return reportCircularityError(symbol); + } + let type; + if (declaration.kind === 277 /* ExportAssignment */) { + type = widenTypeForVariableLikeDeclaration(tryGetTypeFromEffectiveTypeNode(declaration) || checkExpressionCached(declaration.expression), declaration); + } else if (isBinaryExpression(declaration) || isInJSFile(declaration) && (isCallExpression(declaration) || (isPropertyAccessExpression(declaration) || isBindableStaticElementAccessExpression(declaration)) && isBinaryExpression(declaration.parent))) { + type = getWidenedTypeForAssignmentDeclaration(symbol); + } else if (isPropertyAccessExpression(declaration) || isElementAccessExpression(declaration) || isIdentifier(declaration) || isStringLiteralLike(declaration) || isNumericLiteral(declaration) || isClassDeclaration(declaration) || isFunctionDeclaration(declaration) || isMethodDeclaration(declaration) && !isObjectLiteralMethod(declaration) || isMethodSignature(declaration) || isSourceFile(declaration)) { + if (symbol.flags & (16 /* Function */ | 8192 /* Method */ | 32 /* Class */ | 384 /* Enum */ | 512 /* ValueModule */)) { + return getTypeOfFuncClassEnumModule(symbol); + } + type = isBinaryExpression(declaration.parent) ? getWidenedTypeForAssignmentDeclaration(symbol) : tryGetTypeFromEffectiveTypeNode(declaration) || anyType; + } else if (isPropertyAssignment(declaration)) { + type = tryGetTypeFromEffectiveTypeNode(declaration) || checkPropertyAssignment(declaration); + } else if (isJsxAttribute(declaration)) { + type = tryGetTypeFromEffectiveTypeNode(declaration) || checkJsxAttribute(declaration); + } else if (isShorthandPropertyAssignment(declaration)) { + type = tryGetTypeFromEffectiveTypeNode(declaration) || checkExpressionForMutableLocation(declaration.name, 0 /* Normal */); + } else if (isObjectLiteralMethod(declaration)) { + type = tryGetTypeFromEffectiveTypeNode(declaration) || checkObjectLiteralMethod(declaration, 0 /* Normal */); + } else if (isParameter(declaration) || isPropertyDeclaration(declaration) || isPropertySignature(declaration) || isVariableDeclaration(declaration) || isBindingElement(declaration) || isJSDocPropertyLikeTag(declaration)) { + type = getWidenedTypeForVariableLikeDeclaration( + declaration, + /*reportErrors*/ + true + ); + } else if (isEnumDeclaration(declaration)) { + type = getTypeOfFuncClassEnumModule(symbol); + } else if (isEnumMember(declaration)) { + type = getTypeOfEnumMember(symbol); + } else { + return Debug.fail("Unhandled declaration kind! " + Debug.formatSyntaxKind(declaration.kind) + " for " + Debug.formatSymbol(symbol)); + } + if (!popTypeResolution()) { + if (symbol.flags & 512 /* ValueModule */ && !(symbol.flags & 67108864 /* Assignment */)) { + return getTypeOfFuncClassEnumModule(symbol); + } + return reportCircularityError(symbol); + } + return type; + } + function getAnnotatedAccessorTypeNode(accessor) { + if (accessor) { + switch (accessor.kind) { + case 177 /* GetAccessor */: + const getterTypeAnnotation = getEffectiveReturnTypeNode(accessor); + return getterTypeAnnotation; + case 178 /* SetAccessor */: + const setterTypeAnnotation = getEffectiveSetAccessorTypeAnnotationNode(accessor); + return setterTypeAnnotation; + case 172 /* PropertyDeclaration */: + Debug.assert(hasAccessorModifier(accessor)); + const accessorTypeAnnotation = getEffectiveTypeAnnotationNode(accessor); + return accessorTypeAnnotation; + } + } + return void 0; + } + function getAnnotatedAccessorType(accessor) { + const node = getAnnotatedAccessorTypeNode(accessor); + return node && getTypeFromTypeNode(node); + } + function getAnnotatedAccessorThisParameter(accessor) { + const parameter = getAccessorThisParameter(accessor); + return parameter && parameter.symbol; + } + function getThisTypeOfDeclaration(declaration) { + return getThisTypeOfSignature(getSignatureFromDeclaration(declaration)); + } + function getTypeOfAccessors(symbol) { + const links = getSymbolLinks(symbol); + if (!links.type) { + if (!pushTypeResolution(symbol, 0 /* Type */)) { + return errorType; + } + const getter = getDeclarationOfKind(symbol, 177 /* GetAccessor */); + const setter = getDeclarationOfKind(symbol, 178 /* SetAccessor */); + const accessor = tryCast(getDeclarationOfKind(symbol, 172 /* PropertyDeclaration */), isAutoAccessorPropertyDeclaration); + let type = getter && isInJSFile(getter) && getTypeForDeclarationFromJSDocComment(getter) || getAnnotatedAccessorType(getter) || getAnnotatedAccessorType(setter) || getAnnotatedAccessorType(accessor) || getter && getter.body && getReturnTypeFromBody(getter) || accessor && getWidenedTypeForVariableLikeDeclaration( + accessor, + /*reportErrors*/ + true + ); + if (!type) { + if (setter && !isPrivateWithinAmbient(setter)) { + errorOrSuggestion(noImplicitAny, setter, Diagnostics.Property_0_implicitly_has_type_any_because_its_set_accessor_lacks_a_parameter_type_annotation, symbolToString(symbol)); + } else if (getter && !isPrivateWithinAmbient(getter)) { + errorOrSuggestion(noImplicitAny, getter, Diagnostics.Property_0_implicitly_has_type_any_because_its_get_accessor_lacks_a_return_type_annotation, symbolToString(symbol)); + } else if (accessor && !isPrivateWithinAmbient(accessor)) { + errorOrSuggestion(noImplicitAny, accessor, Diagnostics.Member_0_implicitly_has_an_1_type, symbolToString(symbol), "any"); + } + type = anyType; + } + if (!popTypeResolution()) { + if (getAnnotatedAccessorTypeNode(getter)) { + error(getter, Diagnostics._0_is_referenced_directly_or_indirectly_in_its_own_type_annotation, symbolToString(symbol)); + } else if (getAnnotatedAccessorTypeNode(setter)) { + error(setter, Diagnostics._0_is_referenced_directly_or_indirectly_in_its_own_type_annotation, symbolToString(symbol)); + } else if (getAnnotatedAccessorTypeNode(accessor)) { + error(setter, Diagnostics._0_is_referenced_directly_or_indirectly_in_its_own_type_annotation, symbolToString(symbol)); + } else if (getter && noImplicitAny) { + error(getter, Diagnostics._0_implicitly_has_return_type_any_because_it_does_not_have_a_return_type_annotation_and_is_referenced_directly_or_indirectly_in_one_of_its_return_expressions, symbolToString(symbol)); + } + type = anyType; + } + links.type ?? (links.type = type); + } + return links.type; + } + function getWriteTypeOfAccessors(symbol) { + const links = getSymbolLinks(symbol); + if (!links.writeType) { + if (!pushTypeResolution(symbol, 7 /* WriteType */)) { + return errorType; + } + const setter = getDeclarationOfKind(symbol, 178 /* SetAccessor */) ?? tryCast(getDeclarationOfKind(symbol, 172 /* PropertyDeclaration */), isAutoAccessorPropertyDeclaration); + let writeType = getAnnotatedAccessorType(setter); + if (!popTypeResolution()) { + if (getAnnotatedAccessorTypeNode(setter)) { + error(setter, Diagnostics._0_is_referenced_directly_or_indirectly_in_its_own_type_annotation, symbolToString(symbol)); + } + writeType = anyType; + } + links.writeType ?? (links.writeType = writeType || getTypeOfAccessors(symbol)); + } + return links.writeType; + } + function getBaseTypeVariableOfClass(symbol) { + const baseConstructorType = getBaseConstructorTypeOfClass(getDeclaredTypeOfClassOrInterface(symbol)); + return baseConstructorType.flags & 8650752 /* TypeVariable */ ? baseConstructorType : baseConstructorType.flags & 2097152 /* Intersection */ ? find(baseConstructorType.types, (t) => !!(t.flags & 8650752 /* TypeVariable */)) : void 0; + } + function getTypeOfFuncClassEnumModule(symbol) { + let links = getSymbolLinks(symbol); + const originalLinks = links; + if (!links.type) { + const expando = symbol.valueDeclaration && getSymbolOfExpando( + symbol.valueDeclaration, + /*allowDeclaration*/ + false + ); + if (expando) { + const merged = mergeJSSymbols(symbol, expando); + if (merged) { + symbol = merged; + links = merged.links; + } + } + originalLinks.type = links.type = getTypeOfFuncClassEnumModuleWorker(symbol); + } + return links.type; + } + function getTypeOfFuncClassEnumModuleWorker(symbol) { + const declaration = symbol.valueDeclaration; + if (symbol.flags & 1536 /* Module */ && isShorthandAmbientModuleSymbol(symbol)) { + return anyType; + } else if (declaration && (declaration.kind === 226 /* BinaryExpression */ || isAccessExpression(declaration) && declaration.parent.kind === 226 /* BinaryExpression */)) { + return getWidenedTypeForAssignmentDeclaration(symbol); + } else if (symbol.flags & 512 /* ValueModule */ && declaration && isSourceFile(declaration) && declaration.commonJsModuleIndicator) { + const resolvedModule = resolveExternalModuleSymbol(symbol); + if (resolvedModule !== symbol) { + if (!pushTypeResolution(symbol, 0 /* Type */)) { + return errorType; + } + const exportEquals = getMergedSymbol(symbol.exports.get("export=" /* ExportEquals */)); + const type2 = getWidenedTypeForAssignmentDeclaration(exportEquals, exportEquals === resolvedModule ? void 0 : resolvedModule); + if (!popTypeResolution()) { + return reportCircularityError(symbol); + } + return type2; + } + } + const type = createObjectType(16 /* Anonymous */, symbol); + if (symbol.flags & 32 /* Class */) { + const baseTypeVariable = getBaseTypeVariableOfClass(symbol); + return baseTypeVariable ? getIntersectionType([type, baseTypeVariable]) : type; + } else { + return strictNullChecks && symbol.flags & 16777216 /* Optional */ ? getOptionalType( + type, + /*isProperty*/ + true + ) : type; + } + } + function getTypeOfEnumMember(symbol) { + const links = getSymbolLinks(symbol); + return links.type || (links.type = getDeclaredTypeOfEnumMember(symbol)); + } + function getTypeOfAlias(symbol) { + const links = getSymbolLinks(symbol); + if (!links.type) { + if (!pushTypeResolution(symbol, 0 /* Type */)) { + return errorType; + } + const targetSymbol = resolveAlias(symbol); + const exportSymbol = symbol.declarations && getTargetOfAliasDeclaration( + getDeclarationOfAliasSymbol(symbol), + /*dontRecursivelyResolve*/ + true + ); + const declaredType = firstDefined(exportSymbol == null ? void 0 : exportSymbol.declarations, (d) => isExportAssignment(d) ? tryGetTypeFromEffectiveTypeNode(d) : void 0); + links.type ?? (links.type = (exportSymbol == null ? void 0 : exportSymbol.declarations) && isDuplicatedCommonJSExport(exportSymbol.declarations) && symbol.declarations.length ? getFlowTypeFromCommonJSExport(exportSymbol) : isDuplicatedCommonJSExport(symbol.declarations) ? autoType : declaredType ? declaredType : getSymbolFlags(targetSymbol) & 111551 /* Value */ ? getTypeOfSymbol(targetSymbol) : errorType); + if (!popTypeResolution()) { + reportCircularityError(exportSymbol ?? symbol); + return links.type ?? (links.type = errorType); + } + } + return links.type; + } + function getTypeOfInstantiatedSymbol(symbol) { + const links = getSymbolLinks(symbol); + return links.type || (links.type = instantiateType(getTypeOfSymbol(links.target), links.mapper)); + } + function getWriteTypeOfInstantiatedSymbol(symbol) { + const links = getSymbolLinks(symbol); + return links.writeType || (links.writeType = instantiateType(getWriteTypeOfSymbol(links.target), links.mapper)); + } + function reportCircularityError(symbol) { + const declaration = symbol.valueDeclaration; + if (declaration) { + if (getEffectiveTypeAnnotationNode(declaration)) { + error(symbol.valueDeclaration, Diagnostics._0_is_referenced_directly_or_indirectly_in_its_own_type_annotation, symbolToString(symbol)); + return errorType; + } + if (noImplicitAny && (declaration.kind !== 169 /* Parameter */ || declaration.initializer)) { + error(symbol.valueDeclaration, Diagnostics._0_implicitly_has_type_any_because_it_does_not_have_a_type_annotation_and_is_referenced_directly_or_indirectly_in_its_own_initializer, symbolToString(symbol)); + } + } else if (symbol.flags & 2097152 /* Alias */) { + const node = getDeclarationOfAliasSymbol(symbol); + if (node) { + error(node, Diagnostics.Circular_definition_of_import_alias_0, symbolToString(symbol)); + } + } + return anyType; + } + function getTypeOfSymbolWithDeferredType(symbol) { + const links = getSymbolLinks(symbol); + if (!links.type) { + Debug.assertIsDefined(links.deferralParent); + Debug.assertIsDefined(links.deferralConstituents); + links.type = links.deferralParent.flags & 1048576 /* Union */ ? getUnionType(links.deferralConstituents) : getIntersectionType(links.deferralConstituents); + } + return links.type; + } + function getWriteTypeOfSymbolWithDeferredType(symbol) { + const links = getSymbolLinks(symbol); + if (!links.writeType && links.deferralWriteConstituents) { + Debug.assertIsDefined(links.deferralParent); + Debug.assertIsDefined(links.deferralConstituents); + links.writeType = links.deferralParent.flags & 1048576 /* Union */ ? getUnionType(links.deferralWriteConstituents) : getIntersectionType(links.deferralWriteConstituents); + } + return links.writeType; + } + function getWriteTypeOfSymbol(symbol) { + const checkFlags = getCheckFlags(symbol); + if (symbol.flags & 4 /* Property */) { + return checkFlags & 2 /* SyntheticProperty */ ? checkFlags & 65536 /* DeferredType */ ? getWriteTypeOfSymbolWithDeferredType(symbol) || getTypeOfSymbolWithDeferredType(symbol) : ( + // NOTE: cast to TransientSymbol should be safe because only TransientSymbols can have CheckFlags.SyntheticProperty + symbol.links.writeType || symbol.links.type + ) : removeMissingType(getTypeOfSymbol(symbol), !!(symbol.flags & 16777216 /* Optional */)); + } + if (symbol.flags & 98304 /* Accessor */) { + return checkFlags & 1 /* Instantiated */ ? getWriteTypeOfInstantiatedSymbol(symbol) : getWriteTypeOfAccessors(symbol); + } + return getTypeOfSymbol(symbol); + } + function getTypeOfSymbol(symbol) { + const checkFlags = getCheckFlags(symbol); + if (checkFlags & 65536 /* DeferredType */) { + return getTypeOfSymbolWithDeferredType(symbol); + } + if (checkFlags & 1 /* Instantiated */) { + return getTypeOfInstantiatedSymbol(symbol); + } + if (checkFlags & 262144 /* Mapped */) { + return getTypeOfMappedSymbol(symbol); + } + if (checkFlags & 8192 /* ReverseMapped */) { + return getTypeOfReverseMappedSymbol(symbol); + } + if (symbol.flags & (3 /* Variable */ | 4 /* Property */)) { + return getTypeOfVariableOrParameterOrProperty(symbol); + } + if (symbol.flags & (16 /* Function */ | 8192 /* Method */ | 32 /* Class */ | 384 /* Enum */ | 512 /* ValueModule */)) { + return getTypeOfFuncClassEnumModule(symbol); + } + if (symbol.flags & 8 /* EnumMember */) { + return getTypeOfEnumMember(symbol); + } + if (symbol.flags & 98304 /* Accessor */) { + return getTypeOfAccessors(symbol); + } + if (symbol.flags & 2097152 /* Alias */) { + return getTypeOfAlias(symbol); + } + return errorType; + } + function getNonMissingTypeOfSymbol(symbol) { + return removeMissingType(getTypeOfSymbol(symbol), !!(symbol.flags & 16777216 /* Optional */)); + } + function isReferenceToSomeType(type, targets) { + if (type === void 0 || (getObjectFlags(type) & 4 /* Reference */) === 0) { + return false; + } + for (const target of targets) { + if (type.target === target) { + return true; + } + } + return false; + } + function isReferenceToType(type, target) { + return type !== void 0 && target !== void 0 && (getObjectFlags(type) & 4 /* Reference */) !== 0 && type.target === target; + } + function getTargetType(type) { + return getObjectFlags(type) & 4 /* Reference */ ? type.target : type; + } + function hasBaseType(type, checkBase) { + return check(type); + function check(type2) { + if (getObjectFlags(type2) & (3 /* ClassOrInterface */ | 4 /* Reference */)) { + const target = getTargetType(type2); + return target === checkBase || some(getBaseTypes(target), check); + } else if (type2.flags & 2097152 /* Intersection */) { + return some(type2.types, check); + } + return false; + } + } + function appendTypeParameters(typeParameters, declarations) { + for (const declaration of declarations) { + typeParameters = appendIfUnique(typeParameters, getDeclaredTypeOfTypeParameter(getSymbolOfDeclaration(declaration))); + } + return typeParameters; + } + function getOuterTypeParameters(node, includeThisTypes) { + while (true) { + node = node.parent; + if (node && isBinaryExpression(node)) { + const assignmentKind = getAssignmentDeclarationKind(node); + if (assignmentKind === 6 /* Prototype */ || assignmentKind === 3 /* PrototypeProperty */) { + const symbol = getSymbolOfDeclaration(node.left); + if (symbol && symbol.parent && !findAncestor(symbol.parent.valueDeclaration, (d) => node === d)) { + node = symbol.parent.valueDeclaration; + } + } + } + if (!node) { + return void 0; + } + const kind = node.kind; + switch (kind) { + case 263 /* ClassDeclaration */: + case 231 /* ClassExpression */: + case 264 /* InterfaceDeclaration */: + case 179 /* CallSignature */: + case 180 /* ConstructSignature */: + case 173 /* MethodSignature */: + case 184 /* FunctionType */: + case 185 /* ConstructorType */: + case 317 /* JSDocFunctionType */: + case 262 /* FunctionDeclaration */: + case 174 /* MethodDeclaration */: + case 218 /* FunctionExpression */: + case 219 /* ArrowFunction */: + case 265 /* TypeAliasDeclaration */: + case 345 /* JSDocTemplateTag */: + case 346 /* JSDocTypedefTag */: + case 340 /* JSDocEnumTag */: + case 338 /* JSDocCallbackTag */: + case 200 /* MappedType */: + case 194 /* ConditionalType */: { + const outerTypeParameters = getOuterTypeParameters(node, includeThisTypes); + if ((kind === 218 /* FunctionExpression */ || kind === 219 /* ArrowFunction */ || isObjectLiteralMethod(node)) && isContextSensitive(node)) { + const signature = firstOrUndefined(getSignaturesOfType(getTypeOfSymbol(getSymbolOfDeclaration(node)), 0 /* Call */)); + if (signature && signature.typeParameters) { + return [...outerTypeParameters || emptyArray, ...signature.typeParameters]; + } + } + if (kind === 200 /* MappedType */) { + return append(outerTypeParameters, getDeclaredTypeOfTypeParameter(getSymbolOfDeclaration(node.typeParameter))); + } else if (kind === 194 /* ConditionalType */) { + return concatenate(outerTypeParameters, getInferTypeParameters(node)); + } + const outerAndOwnTypeParameters = appendTypeParameters(outerTypeParameters, getEffectiveTypeParameterDeclarations(node)); + const thisType = includeThisTypes && (kind === 263 /* ClassDeclaration */ || kind === 231 /* ClassExpression */ || kind === 264 /* InterfaceDeclaration */ || isJSConstructor(node)) && getDeclaredTypeOfClassOrInterface(getSymbolOfDeclaration(node)).thisType; + return thisType ? append(outerAndOwnTypeParameters, thisType) : outerAndOwnTypeParameters; + } + case 341 /* JSDocParameterTag */: + const paramSymbol = getParameterSymbolFromJSDoc(node); + if (paramSymbol) { + node = paramSymbol.valueDeclaration; + } + break; + case 320 /* JSDoc */: { + const outerTypeParameters = getOuterTypeParameters(node, includeThisTypes); + return node.tags ? appendTypeParameters(outerTypeParameters, flatMap(node.tags, (t) => isJSDocTemplateTag(t) ? t.typeParameters : void 0)) : outerTypeParameters; + } + } + } + } + function getOuterTypeParametersOfClassOrInterface(symbol) { + var _a; + const declaration = symbol.flags & 32 /* Class */ || symbol.flags & 16 /* Function */ ? symbol.valueDeclaration : (_a = symbol.declarations) == null ? void 0 : _a.find((decl) => { + if (decl.kind === 264 /* InterfaceDeclaration */) { + return true; + } + if (decl.kind !== 260 /* VariableDeclaration */) { + return false; + } + const initializer = decl.initializer; + return !!initializer && (initializer.kind === 218 /* FunctionExpression */ || initializer.kind === 219 /* ArrowFunction */); + }); + Debug.assert(!!declaration, "Class was missing valueDeclaration -OR- non-class had no interface declarations"); + return getOuterTypeParameters(declaration); + } + function getLocalTypeParametersOfClassOrInterfaceOrTypeAlias(symbol) { + if (!symbol.declarations) { + return; + } + let result; + for (const node of symbol.declarations) { + if (node.kind === 264 /* InterfaceDeclaration */ || node.kind === 263 /* ClassDeclaration */ || node.kind === 231 /* ClassExpression */ || isJSConstructor(node) || isTypeAlias(node)) { + const declaration = node; + result = appendTypeParameters(result, getEffectiveTypeParameterDeclarations(declaration)); + } + } + return result; + } + function getTypeParametersOfClassOrInterface(symbol) { + return concatenate(getOuterTypeParametersOfClassOrInterface(symbol), getLocalTypeParametersOfClassOrInterfaceOrTypeAlias(symbol)); + } + function isMixinConstructorType(type) { + const signatures = getSignaturesOfType(type, 1 /* Construct */); + if (signatures.length === 1) { + const s = signatures[0]; + if (!s.typeParameters && s.parameters.length === 1 && signatureHasRestParameter(s)) { + const paramType = getTypeOfParameter(s.parameters[0]); + return isTypeAny(paramType) || getElementTypeOfArrayType(paramType) === anyType; + } + } + return false; + } + function isConstructorType(type) { + if (getSignaturesOfType(type, 1 /* Construct */).length > 0) { + return true; + } + if (type.flags & 8650752 /* TypeVariable */) { + const constraint = getBaseConstraintOfType(type); + return !!constraint && isMixinConstructorType(constraint); + } + return false; + } + function getBaseTypeNodeOfClass(type) { + const decl = getClassLikeDeclarationOfSymbol(type.symbol); + return decl && getEffectiveBaseTypeNode(decl); + } + function getConstructorsForTypeArguments(type, typeArgumentNodes, location) { + const typeArgCount = length(typeArgumentNodes); + const isJavascript = isInJSFile(location); + return filter(getSignaturesOfType(type, 1 /* Construct */), (sig) => (isJavascript || typeArgCount >= getMinTypeArgumentCount(sig.typeParameters)) && typeArgCount <= length(sig.typeParameters)); + } + function getInstantiatedConstructorsForTypeArguments(type, typeArgumentNodes, location) { + const signatures = getConstructorsForTypeArguments(type, typeArgumentNodes, location); + const typeArguments = map(typeArgumentNodes, getTypeFromTypeNode); + return sameMap(signatures, (sig) => some(sig.typeParameters) ? getSignatureInstantiation(sig, typeArguments, isInJSFile(location)) : sig); + } + function getBaseConstructorTypeOfClass(type) { + if (!type.resolvedBaseConstructorType) { + const decl = getClassLikeDeclarationOfSymbol(type.symbol); + const extended = decl && getEffectiveBaseTypeNode(decl); + const baseTypeNode = getBaseTypeNodeOfClass(type); + if (!baseTypeNode) { + return type.resolvedBaseConstructorType = undefinedType; + } + if (!pushTypeResolution(type, 1 /* ResolvedBaseConstructorType */)) { + return errorType; + } + const baseConstructorType = checkExpression(baseTypeNode.expression); + if (extended && baseTypeNode !== extended) { + Debug.assert(!extended.typeArguments); + checkExpression(extended.expression); + } + if (baseConstructorType.flags & (524288 /* Object */ | 2097152 /* Intersection */)) { + resolveStructuredTypeMembers(baseConstructorType); + } + if (!popTypeResolution()) { + error(type.symbol.valueDeclaration, Diagnostics._0_is_referenced_directly_or_indirectly_in_its_own_base_expression, symbolToString(type.symbol)); + return type.resolvedBaseConstructorType ?? (type.resolvedBaseConstructorType = errorType); + } + if (!(baseConstructorType.flags & 1 /* Any */) && baseConstructorType !== nullWideningType && !isConstructorType(baseConstructorType)) { + const err = error(baseTypeNode.expression, Diagnostics.Type_0_is_not_a_constructor_function_type, typeToString(baseConstructorType)); + if (baseConstructorType.flags & 262144 /* TypeParameter */) { + const constraint = getConstraintFromTypeParameter(baseConstructorType); + let ctorReturn = unknownType; + if (constraint) { + const ctorSig = getSignaturesOfType(constraint, 1 /* Construct */); + if (ctorSig[0]) { + ctorReturn = getReturnTypeOfSignature(ctorSig[0]); + } + } + if (baseConstructorType.symbol.declarations) { + addRelatedInfo(err, createDiagnosticForNode(baseConstructorType.symbol.declarations[0], Diagnostics.Did_you_mean_for_0_to_be_constrained_to_type_new_args_Colon_any_1, symbolToString(baseConstructorType.symbol), typeToString(ctorReturn))); + } + } + return type.resolvedBaseConstructorType ?? (type.resolvedBaseConstructorType = errorType); + } + type.resolvedBaseConstructorType ?? (type.resolvedBaseConstructorType = baseConstructorType); + } + return type.resolvedBaseConstructorType; + } + function getImplementsTypes(type) { + let resolvedImplementsTypes = emptyArray; + if (type.symbol.declarations) { + for (const declaration of type.symbol.declarations) { + const implementsTypeNodes = getEffectiveImplementsTypeNodes(declaration); + if (!implementsTypeNodes) continue; + for (const node of implementsTypeNodes) { + const implementsType = getTypeFromTypeNode(node); + if (!isErrorType(implementsType)) { + if (resolvedImplementsTypes === emptyArray) { + resolvedImplementsTypes = [implementsType]; + } else { + resolvedImplementsTypes.push(implementsType); + } + } + } + } + } + return resolvedImplementsTypes; + } + function reportCircularBaseType(node, type) { + error(node, Diagnostics.Type_0_recursively_references_itself_as_a_base_type, typeToString( + type, + /*enclosingDeclaration*/ + void 0, + 2 /* WriteArrayAsGenericType */ + )); + } + function getBaseTypes(type) { + if (!type.baseTypesResolved) { + if (pushTypeResolution(type, 6 /* ResolvedBaseTypes */)) { + if (type.objectFlags & 8 /* Tuple */) { + type.resolvedBaseTypes = [getTupleBaseType(type)]; + } else if (type.symbol.flags & (32 /* Class */ | 64 /* Interface */)) { + if (type.symbol.flags & 32 /* Class */) { + resolveBaseTypesOfClass(type); + } + if (type.symbol.flags & 64 /* Interface */) { + resolveBaseTypesOfInterface(type); + } + } else { + Debug.fail("type must be class or interface"); + } + if (!popTypeResolution() && type.symbol.declarations) { + for (const declaration of type.symbol.declarations) { + if (declaration.kind === 263 /* ClassDeclaration */ || declaration.kind === 264 /* InterfaceDeclaration */) { + reportCircularBaseType(declaration, type); + } + } + } + } + type.baseTypesResolved = true; + } + return type.resolvedBaseTypes; + } + function getTupleBaseType(type) { + const elementTypes = sameMap(type.typeParameters, (t, i) => type.elementFlags[i] & 8 /* Variadic */ ? getIndexedAccessType(t, numberType) : t); + return createArrayType(getUnionType(elementTypes || emptyArray), type.readonly); + } + function resolveBaseTypesOfClass(type) { + type.resolvedBaseTypes = resolvingEmptyArray; + const baseConstructorType = getApparentType(getBaseConstructorTypeOfClass(type)); + if (!(baseConstructorType.flags & (524288 /* Object */ | 2097152 /* Intersection */ | 1 /* Any */))) { + return type.resolvedBaseTypes = emptyArray; + } + const baseTypeNode = getBaseTypeNodeOfClass(type); + let baseType; + const originalBaseType = baseConstructorType.symbol ? getDeclaredTypeOfSymbol(baseConstructorType.symbol) : void 0; + if (baseConstructorType.symbol && baseConstructorType.symbol.flags & 32 /* Class */ && areAllOuterTypeParametersApplied(originalBaseType)) { + baseType = getTypeFromClassOrInterfaceReference(baseTypeNode, baseConstructorType.symbol); + } else if (baseConstructorType.flags & 1 /* Any */) { + baseType = baseConstructorType; + } else { + const constructors = getInstantiatedConstructorsForTypeArguments(baseConstructorType, baseTypeNode.typeArguments, baseTypeNode); + if (!constructors.length) { + error(baseTypeNode.expression, Diagnostics.No_base_constructor_has_the_specified_number_of_type_arguments); + return type.resolvedBaseTypes = emptyArray; + } + baseType = getReturnTypeOfSignature(constructors[0]); + } + if (isErrorType(baseType)) { + return type.resolvedBaseTypes = emptyArray; + } + const reducedBaseType = getReducedType(baseType); + if (!isValidBaseType(reducedBaseType)) { + const elaboration = elaborateNeverIntersection( + /*errorInfo*/ + void 0, + baseType + ); + const diagnostic = chainDiagnosticMessages(elaboration, Diagnostics.Base_constructor_return_type_0_is_not_an_object_type_or_intersection_of_object_types_with_statically_known_members, typeToString(reducedBaseType)); + diagnostics.add(createDiagnosticForNodeFromMessageChain(getSourceFileOfNode(baseTypeNode.expression), baseTypeNode.expression, diagnostic)); + return type.resolvedBaseTypes = emptyArray; + } + if (type === reducedBaseType || hasBaseType(reducedBaseType, type)) { + error(type.symbol.valueDeclaration, Diagnostics.Type_0_recursively_references_itself_as_a_base_type, typeToString( + type, + /*enclosingDeclaration*/ + void 0, + 2 /* WriteArrayAsGenericType */ + )); + return type.resolvedBaseTypes = emptyArray; + } + if (type.resolvedBaseTypes === resolvingEmptyArray) { + type.members = void 0; + } + return type.resolvedBaseTypes = [reducedBaseType]; + } + function areAllOuterTypeParametersApplied(type) { + const outerTypeParameters = type.outerTypeParameters; + if (outerTypeParameters) { + const last2 = outerTypeParameters.length - 1; + const typeArguments = getTypeArguments(type); + return outerTypeParameters[last2].symbol !== typeArguments[last2].symbol; + } + return true; + } + function isValidBaseType(type) { + if (type.flags & 262144 /* TypeParameter */) { + const constraint = getBaseConstraintOfType(type); + if (constraint) { + return isValidBaseType(constraint); + } + } + return !!(type.flags & (524288 /* Object */ | 67108864 /* NonPrimitive */ | 1 /* Any */) && !isGenericMappedType(type) || type.flags & 2097152 /* Intersection */ && every(type.types, isValidBaseType)); + } + function resolveBaseTypesOfInterface(type) { + type.resolvedBaseTypes = type.resolvedBaseTypes || emptyArray; + if (type.symbol.declarations) { + for (const declaration of type.symbol.declarations) { + if (declaration.kind === 264 /* InterfaceDeclaration */ && getInterfaceBaseTypeNodes(declaration)) { + for (const node of getInterfaceBaseTypeNodes(declaration)) { + const baseType = getReducedType(getTypeFromTypeNode(node)); + if (!isErrorType(baseType)) { + if (isValidBaseType(baseType)) { + if (type !== baseType && !hasBaseType(baseType, type)) { + if (type.resolvedBaseTypes === emptyArray) { + type.resolvedBaseTypes = [baseType]; + } else { + type.resolvedBaseTypes.push(baseType); + } + } else { + reportCircularBaseType(declaration, type); + } + } else { + error(node, Diagnostics.An_interface_can_only_extend_an_object_type_or_intersection_of_object_types_with_statically_known_members); + } + } + } + } + } + } + } + function isThislessInterface(symbol) { + if (!symbol.declarations) { + return true; + } + for (const declaration of symbol.declarations) { + if (declaration.kind === 264 /* InterfaceDeclaration */) { + if (declaration.flags & 256 /* ContainsThis */) { + return false; + } + const baseTypeNodes = getInterfaceBaseTypeNodes(declaration); + if (baseTypeNodes) { + for (const node of baseTypeNodes) { + if (isEntityNameExpression(node.expression)) { + const baseSymbol = resolveEntityName( + node.expression, + 788968 /* Type */, + /*ignoreErrors*/ + true + ); + if (!baseSymbol || !(baseSymbol.flags & 64 /* Interface */) || getDeclaredTypeOfClassOrInterface(baseSymbol).thisType) { + return false; + } + } + } + } + } + } + return true; + } + function getDeclaredTypeOfClassOrInterface(symbol) { + let links = getSymbolLinks(symbol); + const originalLinks = links; + if (!links.declaredType) { + const kind = symbol.flags & 32 /* Class */ ? 1 /* Class */ : 2 /* Interface */; + const merged = mergeJSSymbols(symbol, symbol.valueDeclaration && getAssignedClassSymbol(symbol.valueDeclaration)); + if (merged) { + symbol = merged; + links = merged.links; + } + const type = originalLinks.declaredType = links.declaredType = createObjectType(kind, symbol); + const outerTypeParameters = getOuterTypeParametersOfClassOrInterface(symbol); + const localTypeParameters = getLocalTypeParametersOfClassOrInterfaceOrTypeAlias(symbol); + if (outerTypeParameters || localTypeParameters || kind === 1 /* Class */ || !isThislessInterface(symbol)) { + type.objectFlags |= 4 /* Reference */; + type.typeParameters = concatenate(outerTypeParameters, localTypeParameters); + type.outerTypeParameters = outerTypeParameters; + type.localTypeParameters = localTypeParameters; + type.instantiations = /* @__PURE__ */ new Map(); + type.instantiations.set(getTypeListId(type.typeParameters), type); + type.target = type; + type.resolvedTypeArguments = type.typeParameters; + type.thisType = createTypeParameter(symbol); + type.thisType.isThisType = true; + type.thisType.constraint = type; + } + } + return links.declaredType; + } + function getDeclaredTypeOfTypeAlias(symbol) { + var _a; + const links = getSymbolLinks(symbol); + if (!links.declaredType) { + if (!pushTypeResolution(symbol, 2 /* DeclaredType */)) { + return errorType; + } + const declaration = Debug.checkDefined((_a = symbol.declarations) == null ? void 0 : _a.find(isTypeAlias), "Type alias symbol with no valid declaration found"); + const typeNode = isJSDocTypeAlias(declaration) ? declaration.typeExpression : declaration.type; + let type = typeNode ? getTypeFromTypeNode(typeNode) : errorType; + if (popTypeResolution()) { + const typeParameters = getLocalTypeParametersOfClassOrInterfaceOrTypeAlias(symbol); + if (typeParameters) { + links.typeParameters = typeParameters; + links.instantiations = /* @__PURE__ */ new Map(); + links.instantiations.set(getTypeListId(typeParameters), type); + } + if (type === intrinsicMarkerType && symbol.escapedName === "BuiltinIteratorReturn") { + type = getBuiltinIteratorReturnType(); + } + } else { + type = errorType; + if (declaration.kind === 340 /* JSDocEnumTag */) { + error(declaration.typeExpression.type, Diagnostics.Type_alias_0_circularly_references_itself, symbolToString(symbol)); + } else { + error(isNamedDeclaration(declaration) ? declaration.name || declaration : declaration, Diagnostics.Type_alias_0_circularly_references_itself, symbolToString(symbol)); + } + } + links.declaredType ?? (links.declaredType = type); + } + return links.declaredType; + } + function getBaseTypeOfEnumLikeType(type) { + return type.flags & 1056 /* EnumLike */ && type.symbol.flags & 8 /* EnumMember */ ? getDeclaredTypeOfSymbol(getParentOfSymbol(type.symbol)) : type; + } + function getDeclaredTypeOfEnum(symbol) { + const links = getSymbolLinks(symbol); + if (!links.declaredType) { + const memberTypeList = []; + if (symbol.declarations) { + for (const declaration of symbol.declarations) { + if (declaration.kind === 266 /* EnumDeclaration */) { + for (const member of declaration.members) { + if (hasBindableName(member)) { + const memberSymbol = getSymbolOfDeclaration(member); + const value = getEnumMemberValue(member).value; + const memberType = getFreshTypeOfLiteralType( + value !== void 0 ? getEnumLiteralType(value, getSymbolId(symbol), memberSymbol) : createComputedEnumType(memberSymbol) + ); + getSymbolLinks(memberSymbol).declaredType = memberType; + memberTypeList.push(getRegularTypeOfLiteralType(memberType)); + } + } + } + } + } + const enumType = memberTypeList.length ? getUnionType( + memberTypeList, + 1 /* Literal */, + symbol, + /*aliasTypeArguments*/ + void 0 + ) : createComputedEnumType(symbol); + if (enumType.flags & 1048576 /* Union */) { + enumType.flags |= 1024 /* EnumLiteral */; + enumType.symbol = symbol; + } + links.declaredType = enumType; + } + return links.declaredType; + } + function createComputedEnumType(symbol) { + const regularType = createTypeWithSymbol(32 /* Enum */, symbol); + const freshType = createTypeWithSymbol(32 /* Enum */, symbol); + regularType.regularType = regularType; + regularType.freshType = freshType; + freshType.regularType = regularType; + freshType.freshType = freshType; + return regularType; + } + function getDeclaredTypeOfEnumMember(symbol) { + const links = getSymbolLinks(symbol); + if (!links.declaredType) { + const enumType = getDeclaredTypeOfEnum(getParentOfSymbol(symbol)); + if (!links.declaredType) { + links.declaredType = enumType; + } + } + return links.declaredType; + } + function getDeclaredTypeOfTypeParameter(symbol) { + const links = getSymbolLinks(symbol); + return links.declaredType || (links.declaredType = createTypeParameter(symbol)); + } + function getDeclaredTypeOfAlias(symbol) { + const links = getSymbolLinks(symbol); + return links.declaredType || (links.declaredType = getDeclaredTypeOfSymbol(resolveAlias(symbol))); + } + function getDeclaredTypeOfSymbol(symbol) { + return tryGetDeclaredTypeOfSymbol(symbol) || errorType; + } + function tryGetDeclaredTypeOfSymbol(symbol) { + if (symbol.flags & (32 /* Class */ | 64 /* Interface */)) { + return getDeclaredTypeOfClassOrInterface(symbol); + } + if (symbol.flags & 524288 /* TypeAlias */) { + return getDeclaredTypeOfTypeAlias(symbol); + } + if (symbol.flags & 262144 /* TypeParameter */) { + return getDeclaredTypeOfTypeParameter(symbol); + } + if (symbol.flags & 384 /* Enum */) { + return getDeclaredTypeOfEnum(symbol); + } + if (symbol.flags & 8 /* EnumMember */) { + return getDeclaredTypeOfEnumMember(symbol); + } + if (symbol.flags & 2097152 /* Alias */) { + return getDeclaredTypeOfAlias(symbol); + } + return void 0; + } + function isThislessType(node) { + switch (node.kind) { + case 133 /* AnyKeyword */: + case 159 /* UnknownKeyword */: + case 154 /* StringKeyword */: + case 150 /* NumberKeyword */: + case 163 /* BigIntKeyword */: + case 136 /* BooleanKeyword */: + case 155 /* SymbolKeyword */: + case 151 /* ObjectKeyword */: + case 116 /* VoidKeyword */: + case 157 /* UndefinedKeyword */: + case 146 /* NeverKeyword */: + case 201 /* LiteralType */: + return true; + case 188 /* ArrayType */: + return isThislessType(node.elementType); + case 183 /* TypeReference */: + return !node.typeArguments || node.typeArguments.every(isThislessType); + } + return false; + } + function isThislessTypeParameter(node) { + const constraint = getEffectiveConstraintOfTypeParameter(node); + return !constraint || isThislessType(constraint); + } + function isThislessVariableLikeDeclaration(node) { + const typeNode = getEffectiveTypeAnnotationNode(node); + return typeNode ? isThislessType(typeNode) : !hasInitializer(node); + } + function isThislessFunctionLikeDeclaration(node) { + const returnType = getEffectiveReturnTypeNode(node); + const typeParameters = getEffectiveTypeParameterDeclarations(node); + return (node.kind === 176 /* Constructor */ || !!returnType && isThislessType(returnType)) && node.parameters.every(isThislessVariableLikeDeclaration) && typeParameters.every(isThislessTypeParameter); + } + function isThisless(symbol) { + if (symbol.declarations && symbol.declarations.length === 1) { + const declaration = symbol.declarations[0]; + if (declaration) { + switch (declaration.kind) { + case 172 /* PropertyDeclaration */: + case 171 /* PropertySignature */: + return isThislessVariableLikeDeclaration(declaration); + case 174 /* MethodDeclaration */: + case 173 /* MethodSignature */: + case 176 /* Constructor */: + case 177 /* GetAccessor */: + case 178 /* SetAccessor */: + return isThislessFunctionLikeDeclaration(declaration); + } + } + } + return false; + } + function createInstantiatedSymbolTable(symbols, mapper, mappingThisOnly) { + const result = createSymbolTable(); + for (const symbol of symbols) { + result.set(symbol.escapedName, mappingThisOnly && isThisless(symbol) ? symbol : instantiateSymbol(symbol, mapper)); + } + return result; + } + function addInheritedMembers(symbols, baseSymbols) { + for (const base of baseSymbols) { + if (isStaticPrivateIdentifierProperty(base)) { + continue; + } + const derived = symbols.get(base.escapedName); + if (!derived || derived.valueDeclaration && isBinaryExpression(derived.valueDeclaration) && !isConstructorDeclaredProperty(derived) && !getContainingClassStaticBlock(derived.valueDeclaration)) { + symbols.set(base.escapedName, base); + symbols.set(base.escapedName, base); + } + } + } + function isStaticPrivateIdentifierProperty(s) { + return !!s.valueDeclaration && isPrivateIdentifierClassElementDeclaration(s.valueDeclaration) && isStatic(s.valueDeclaration); + } + function resolveDeclaredMembers(type) { + if (!type.declaredProperties) { + const symbol = type.symbol; + const members = getMembersOfSymbol(symbol); + type.declaredProperties = getNamedMembers(members); + type.declaredCallSignatures = emptyArray; + type.declaredConstructSignatures = emptyArray; + type.declaredIndexInfos = emptyArray; + type.declaredCallSignatures = getSignaturesOfSymbol(members.get("__call" /* Call */)); + type.declaredConstructSignatures = getSignaturesOfSymbol(members.get("__new" /* New */)); + type.declaredIndexInfos = getIndexInfosOfSymbol(symbol); + } + return type; + } + function isLateBindableName(node) { + return isLateBindableAST(node) && isTypeUsableAsPropertyName(isComputedPropertyName(node) ? checkComputedPropertyName(node) : checkExpressionCached(node.argumentExpression)); + } + function isLateBindableIndexSignature(node) { + return isLateBindableAST(node) && isTypeUsableAsIndexSignature(isComputedPropertyName(node) ? checkComputedPropertyName(node) : checkExpressionCached(node.argumentExpression)); + } + function isLateBindableAST(node) { + if (!isComputedPropertyName(node) && !isElementAccessExpression(node)) { + return false; + } + const expr = isComputedPropertyName(node) ? node.expression : node.argumentExpression; + return isEntityNameExpression(expr); + } + function isTypeUsableAsIndexSignature(type) { + return isTypeAssignableTo(type, stringNumberSymbolType); + } + function isLateBoundName(name) { + return name.charCodeAt(0) === 95 /* _ */ && name.charCodeAt(1) === 95 /* _ */ && name.charCodeAt(2) === 64 /* at */; + } + function hasLateBindableName(node) { + const name = getNameOfDeclaration(node); + return !!name && isLateBindableName(name); + } + function hasLateBindableIndexSignature(node) { + const name = getNameOfDeclaration(node); + return !!name && isLateBindableIndexSignature(name); + } + function hasBindableName(node) { + return !hasDynamicName(node) || hasLateBindableName(node); + } + function isNonBindableDynamicName(node) { + return isDynamicName(node) && !isLateBindableName(node); + } + function addDeclarationToLateBoundSymbol(symbol, member, symbolFlags) { + Debug.assert(!!(getCheckFlags(symbol) & 4096 /* Late */), "Expected a late-bound symbol."); + symbol.flags |= symbolFlags; + getSymbolLinks(member.symbol).lateSymbol = symbol; + if (!symbol.declarations) { + symbol.declarations = [member]; + } else if (!member.symbol.isReplaceableByMethod) { + symbol.declarations.push(member); + } + if (symbolFlags & 111551 /* Value */) { + if (!symbol.valueDeclaration || symbol.valueDeclaration.kind !== member.kind) { + symbol.valueDeclaration = member; + } + } + } + function lateBindMember(parent, earlySymbols, lateSymbols, decl) { + Debug.assert(!!decl.symbol, "The member is expected to have a symbol."); + const links = getNodeLinks(decl); + if (!links.resolvedSymbol) { + links.resolvedSymbol = decl.symbol; + const declName = isBinaryExpression(decl) ? decl.left : decl.name; + const type = isElementAccessExpression(declName) ? checkExpressionCached(declName.argumentExpression) : checkComputedPropertyName(declName); + if (isTypeUsableAsPropertyName(type)) { + const memberName = getPropertyNameFromType(type); + const symbolFlags = decl.symbol.flags; + let lateSymbol = lateSymbols.get(memberName); + if (!lateSymbol) lateSymbols.set(memberName, lateSymbol = createSymbol(0 /* None */, memberName, 4096 /* Late */)); + const earlySymbol = earlySymbols && earlySymbols.get(memberName); + if (!(parent.flags & 32 /* Class */) && lateSymbol.flags & getExcludedSymbolFlags(symbolFlags)) { + const declarations = earlySymbol ? concatenate(earlySymbol.declarations, lateSymbol.declarations) : lateSymbol.declarations; + const name = !(type.flags & 8192 /* UniqueESSymbol */) && unescapeLeadingUnderscores(memberName) || declarationNameToString(declName); + forEach(declarations, (declaration) => error(getNameOfDeclaration(declaration) || declaration, Diagnostics.Property_0_was_also_declared_here, name)); + error(declName || decl, Diagnostics.Duplicate_property_0, name); + lateSymbol = createSymbol(0 /* None */, memberName, 4096 /* Late */); + } + lateSymbol.links.nameType = type; + addDeclarationToLateBoundSymbol(lateSymbol, decl, symbolFlags); + if (lateSymbol.parent) { + Debug.assert(lateSymbol.parent === parent, "Existing symbol parent should match new one"); + } else { + lateSymbol.parent = parent; + } + return links.resolvedSymbol = lateSymbol; + } + } + return links.resolvedSymbol; + } + function lateBindIndexSignature(parent, earlySymbols, lateSymbols, decl) { + let indexSymbol = lateSymbols.get("__index" /* Index */); + if (!indexSymbol) { + const early = earlySymbols == null ? void 0 : earlySymbols.get("__index" /* Index */); + if (!early) { + indexSymbol = createSymbol(0 /* None */, "__index" /* Index */, 4096 /* Late */); + } else { + indexSymbol = cloneSymbol(early); + indexSymbol.links.checkFlags |= 4096 /* Late */; + } + lateSymbols.set("__index" /* Index */, indexSymbol); + } + if (!indexSymbol.declarations) { + indexSymbol.declarations = [decl]; + } else if (!decl.symbol.isReplaceableByMethod) { + indexSymbol.declarations.push(decl); + } + } + function getResolvedMembersOrExportsOfSymbol(symbol, resolutionKind) { + const links = getSymbolLinks(symbol); + if (!links[resolutionKind]) { + const isStatic2 = resolutionKind === "resolvedExports" /* resolvedExports */; + const earlySymbols = !isStatic2 ? symbol.members : symbol.flags & 1536 /* Module */ ? getExportsOfModuleWorker(symbol).exports : symbol.exports; + links[resolutionKind] = earlySymbols || emptySymbols; + const lateSymbols = createSymbolTable(); + for (const decl of symbol.declarations || emptyArray) { + const members = getMembersOfDeclaration(decl); + if (members) { + for (const member of members) { + if (isStatic2 === hasStaticModifier(member)) { + if (hasLateBindableName(member)) { + lateBindMember(symbol, earlySymbols, lateSymbols, member); + } else if (hasLateBindableIndexSignature(member)) { + lateBindIndexSignature(symbol, earlySymbols, lateSymbols, member); + } + } + } + } + } + const assignments = getFunctionExpressionParentSymbolOrSymbol(symbol).assignmentDeclarationMembers; + if (assignments) { + const decls = arrayFrom(assignments.values()); + for (const member of decls) { + const assignmentKind = getAssignmentDeclarationKind(member); + const isInstanceMember = assignmentKind === 3 /* PrototypeProperty */ || isBinaryExpression(member) && isPossiblyAliasedThisProperty(member, assignmentKind) || assignmentKind === 9 /* ObjectDefinePrototypeProperty */ || assignmentKind === 6 /* Prototype */; + if (isStatic2 === !isInstanceMember) { + if (hasLateBindableName(member)) { + lateBindMember(symbol, earlySymbols, lateSymbols, member); + } + } + } + } + let resolved = combineSymbolTables(earlySymbols, lateSymbols); + if (symbol.flags & 33554432 /* Transient */ && links.cjsExportMerged && symbol.declarations) { + for (const decl of symbol.declarations) { + const original = getSymbolLinks(decl.symbol)[resolutionKind]; + if (!resolved) { + resolved = original; + continue; + } + if (!original) continue; + original.forEach((s, name) => { + const existing = resolved.get(name); + if (!existing) resolved.set(name, s); + else if (existing === s) return; + else resolved.set(name, mergeSymbol(existing, s)); + }); + } + } + links[resolutionKind] = resolved || emptySymbols; + } + return links[resolutionKind]; + } + function getMembersOfSymbol(symbol) { + return symbol.flags & 6256 /* LateBindingContainer */ ? getResolvedMembersOrExportsOfSymbol(symbol, "resolvedMembers" /* resolvedMembers */) : symbol.members || emptySymbols; + } + function getLateBoundSymbol(symbol) { + if (symbol.flags & 106500 /* ClassMember */ && symbol.escapedName === "__computed" /* Computed */) { + const links = getSymbolLinks(symbol); + if (!links.lateSymbol && some(symbol.declarations, hasLateBindableName)) { + const parent = getMergedSymbol(symbol.parent); + if (some(symbol.declarations, hasStaticModifier)) { + getExportsOfSymbol(parent); + } else { + getMembersOfSymbol(parent); + } + } + return links.lateSymbol || (links.lateSymbol = symbol); + } + return symbol; + } + function getTypeWithThisArgument(type, thisArgument, needApparentType) { + if (getObjectFlags(type) & 4 /* Reference */) { + const target = type.target; + const typeArguments = getTypeArguments(type); + return length(target.typeParameters) === length(typeArguments) ? createTypeReference(target, concatenate(typeArguments, [thisArgument || target.thisType])) : type; + } else if (type.flags & 2097152 /* Intersection */) { + const types = sameMap(type.types, (t) => getTypeWithThisArgument(t, thisArgument, needApparentType)); + return types !== type.types ? getIntersectionType(types) : type; + } + return needApparentType ? getApparentType(type) : type; + } + function resolveObjectTypeMembers(type, source, typeParameters, typeArguments) { + let mapper; + let members; + let callSignatures; + let constructSignatures; + let indexInfos; + if (rangeEquals(typeParameters, typeArguments, 0, typeParameters.length)) { + members = source.symbol ? getMembersOfSymbol(source.symbol) : createSymbolTable(source.declaredProperties); + callSignatures = source.declaredCallSignatures; + constructSignatures = source.declaredConstructSignatures; + indexInfos = source.declaredIndexInfos; + } else { + mapper = createTypeMapper(typeParameters, typeArguments); + members = createInstantiatedSymbolTable( + source.declaredProperties, + mapper, + /*mappingThisOnly*/ + typeParameters.length === 1 + ); + callSignatures = instantiateSignatures(source.declaredCallSignatures, mapper); + constructSignatures = instantiateSignatures(source.declaredConstructSignatures, mapper); + indexInfos = instantiateIndexInfos(source.declaredIndexInfos, mapper); + } + const baseTypes = getBaseTypes(source); + if (baseTypes.length) { + if (source.symbol && members === getMembersOfSymbol(source.symbol)) { + const symbolTable = createSymbolTable(source.declaredProperties); + const sourceIndex = getIndexSymbol(source.symbol); + if (sourceIndex) { + symbolTable.set("__index" /* Index */, sourceIndex); + } + members = symbolTable; + } + setStructuredTypeMembers(type, members, callSignatures, constructSignatures, indexInfos); + const thisArgument = lastOrUndefined(typeArguments); + for (const baseType of baseTypes) { + const instantiatedBaseType = thisArgument ? getTypeWithThisArgument(instantiateType(baseType, mapper), thisArgument) : baseType; + addInheritedMembers(members, getPropertiesOfType(instantiatedBaseType)); + callSignatures = concatenate(callSignatures, getSignaturesOfType(instantiatedBaseType, 0 /* Call */)); + constructSignatures = concatenate(constructSignatures, getSignaturesOfType(instantiatedBaseType, 1 /* Construct */)); + const inheritedIndexInfos = instantiatedBaseType !== anyType ? getIndexInfosOfType(instantiatedBaseType) : [createIndexInfo( + stringType, + anyType, + /*isReadonly*/ + false + )]; + indexInfos = concatenate(indexInfos, filter(inheritedIndexInfos, (info) => !findIndexInfo(indexInfos, info.keyType))); + } + } + setStructuredTypeMembers(type, members, callSignatures, constructSignatures, indexInfos); + } + function resolveClassOrInterfaceMembers(type) { + resolveObjectTypeMembers(type, resolveDeclaredMembers(type), emptyArray, emptyArray); + } + function resolveTypeReferenceMembers(type) { + const source = resolveDeclaredMembers(type.target); + const typeParameters = concatenate(source.typeParameters, [source.thisType]); + const typeArguments = getTypeArguments(type); + const paddedTypeArguments = typeArguments.length === typeParameters.length ? typeArguments : concatenate(typeArguments, [type]); + resolveObjectTypeMembers(type, source, typeParameters, paddedTypeArguments); + } + function createSignature(declaration, typeParameters, thisParameter, parameters, resolvedReturnType, resolvedTypePredicate, minArgumentCount, flags) { + const sig = new Signature5(checker, flags); + sig.declaration = declaration; + sig.typeParameters = typeParameters; + sig.parameters = parameters; + sig.thisParameter = thisParameter; + sig.resolvedReturnType = resolvedReturnType; + sig.resolvedTypePredicate = resolvedTypePredicate; + sig.minArgumentCount = minArgumentCount; + sig.resolvedMinArgumentCount = void 0; + sig.target = void 0; + sig.mapper = void 0; + sig.compositeSignatures = void 0; + sig.compositeKind = void 0; + return sig; + } + function cloneSignature(sig) { + const result = createSignature( + sig.declaration, + sig.typeParameters, + sig.thisParameter, + sig.parameters, + /*resolvedReturnType*/ + void 0, + /*resolvedTypePredicate*/ + void 0, + sig.minArgumentCount, + sig.flags & 167 /* PropagatingFlags */ + ); + result.target = sig.target; + result.mapper = sig.mapper; + result.compositeSignatures = sig.compositeSignatures; + result.compositeKind = sig.compositeKind; + return result; + } + function createUnionSignature(signature, unionSignatures) { + const result = cloneSignature(signature); + result.compositeSignatures = unionSignatures; + result.compositeKind = 1048576 /* Union */; + result.target = void 0; + result.mapper = void 0; + return result; + } + function getOptionalCallSignature(signature, callChainFlags) { + if ((signature.flags & 24 /* CallChainFlags */) === callChainFlags) { + return signature; + } + if (!signature.optionalCallSignatureCache) { + signature.optionalCallSignatureCache = {}; + } + const key = callChainFlags === 8 /* IsInnerCallChain */ ? "inner" : "outer"; + return signature.optionalCallSignatureCache[key] || (signature.optionalCallSignatureCache[key] = createOptionalCallSignature(signature, callChainFlags)); + } + function createOptionalCallSignature(signature, callChainFlags) { + Debug.assert(callChainFlags === 8 /* IsInnerCallChain */ || callChainFlags === 16 /* IsOuterCallChain */, "An optional call signature can either be for an inner call chain or an outer call chain, but not both."); + const result = cloneSignature(signature); + result.flags |= callChainFlags; + return result; + } + function getExpandedParameters(sig, skipUnionExpanding) { + if (signatureHasRestParameter(sig)) { + const restIndex = sig.parameters.length - 1; + const restSymbol = sig.parameters[restIndex]; + const restType = getTypeOfSymbol(restSymbol); + if (isTupleType(restType)) { + return [expandSignatureParametersWithTupleMembers(restType, restIndex, restSymbol)]; + } else if (!skipUnionExpanding && restType.flags & 1048576 /* Union */ && every(restType.types, isTupleType)) { + return map(restType.types, (t) => expandSignatureParametersWithTupleMembers(t, restIndex, restSymbol)); + } + } + return [sig.parameters]; + function expandSignatureParametersWithTupleMembers(restType, restIndex, restSymbol) { + const elementTypes = getTypeArguments(restType); + const associatedNames = getUniqAssociatedNamesFromTupleType(restType, restSymbol); + const restParams = map(elementTypes, (t, i) => { + const name = associatedNames && associatedNames[i] ? associatedNames[i] : getParameterNameAtPosition(sig, restIndex + i, restType); + const flags = restType.target.elementFlags[i]; + const checkFlags = flags & 12 /* Variable */ ? 32768 /* RestParameter */ : flags & 2 /* Optional */ ? 16384 /* OptionalParameter */ : 0; + const symbol = createSymbol(1 /* FunctionScopedVariable */, name, checkFlags); + symbol.links.type = flags & 4 /* Rest */ ? createArrayType(t) : t; + return symbol; + }); + return concatenate(sig.parameters.slice(0, restIndex), restParams); + } + function getUniqAssociatedNamesFromTupleType(type, restSymbol) { + const names = map(type.target.labeledElementDeclarations, (labeledElement, i) => getTupleElementLabel(labeledElement, i, type.target.elementFlags[i], restSymbol)); + if (names) { + const duplicates = []; + const uniqueNames = /* @__PURE__ */ new Set(); + for (let i = 0; i < names.length; i++) { + const name = names[i]; + if (!tryAddToSet(uniqueNames, name)) { + duplicates.push(i); + } + } + const counters = /* @__PURE__ */ new Map(); + for (const i of duplicates) { + let counter = counters.get(names[i]) ?? 1; + let name; + while (!tryAddToSet(uniqueNames, name = `${names[i]}_${counter}`)) { + counter++; + } + names[i] = name; + counters.set(names[i], counter + 1); + } + } + return names; + } + } + function getDefaultConstructSignatures(classType) { + const baseConstructorType = getBaseConstructorTypeOfClass(classType); + const baseSignatures = getSignaturesOfType(baseConstructorType, 1 /* Construct */); + const declaration = getClassLikeDeclarationOfSymbol(classType.symbol); + const isAbstract = !!declaration && hasSyntacticModifier(declaration, 64 /* Abstract */); + if (baseSignatures.length === 0) { + return [createSignature( + /*declaration*/ + void 0, + classType.localTypeParameters, + /*thisParameter*/ + void 0, + emptyArray, + classType, + /*resolvedTypePredicate*/ + void 0, + 0, + isAbstract ? 4 /* Abstract */ : 0 /* None */ + )]; + } + const baseTypeNode = getBaseTypeNodeOfClass(classType); + const isJavaScript = isInJSFile(baseTypeNode); + const typeArguments = typeArgumentsFromTypeReferenceNode(baseTypeNode); + const typeArgCount = length(typeArguments); + const result = []; + for (const baseSig of baseSignatures) { + const minTypeArgumentCount = getMinTypeArgumentCount(baseSig.typeParameters); + const typeParamCount = length(baseSig.typeParameters); + if (isJavaScript || typeArgCount >= minTypeArgumentCount && typeArgCount <= typeParamCount) { + const sig = typeParamCount ? createSignatureInstantiation(baseSig, fillMissingTypeArguments(typeArguments, baseSig.typeParameters, minTypeArgumentCount, isJavaScript)) : cloneSignature(baseSig); + sig.typeParameters = classType.localTypeParameters; + sig.resolvedReturnType = classType; + sig.flags = isAbstract ? sig.flags | 4 /* Abstract */ : sig.flags & ~4 /* Abstract */; + result.push(sig); + } + } + return result; + } + function findMatchingSignature(signatureList, signature, partialMatch, ignoreThisTypes, ignoreReturnTypes) { + for (const s of signatureList) { + if (compareSignaturesIdentical(s, signature, partialMatch, ignoreThisTypes, ignoreReturnTypes, partialMatch ? compareTypesSubtypeOf : compareTypesIdentical)) { + return s; + } + } + } + function findMatchingSignatures(signatureLists, signature, listIndex) { + if (signature.typeParameters) { + if (listIndex > 0) { + return void 0; + } + for (let i = 1; i < signatureLists.length; i++) { + if (!findMatchingSignature( + signatureLists[i], + signature, + /*partialMatch*/ + false, + /*ignoreThisTypes*/ + false, + /*ignoreReturnTypes*/ + false + )) { + return void 0; + } + } + return [signature]; + } + let result; + for (let i = 0; i < signatureLists.length; i++) { + const match = i === listIndex ? signature : findMatchingSignature( + signatureLists[i], + signature, + /*partialMatch*/ + false, + /*ignoreThisTypes*/ + false, + /*ignoreReturnTypes*/ + true + ) || findMatchingSignature( + signatureLists[i], + signature, + /*partialMatch*/ + true, + /*ignoreThisTypes*/ + false, + /*ignoreReturnTypes*/ + true + ); + if (!match) { + return void 0; + } + result = appendIfUnique(result, match); + } + return result; + } + function getUnionSignatures(signatureLists) { + let result; + let indexWithLengthOverOne; + for (let i = 0; i < signatureLists.length; i++) { + if (signatureLists[i].length === 0) return emptyArray; + if (signatureLists[i].length > 1) { + indexWithLengthOverOne = indexWithLengthOverOne === void 0 ? i : -1; + } + for (const signature of signatureLists[i]) { + if (!result || !findMatchingSignature( + result, + signature, + /*partialMatch*/ + false, + /*ignoreThisTypes*/ + false, + /*ignoreReturnTypes*/ + true + )) { + const unionSignatures = findMatchingSignatures(signatureLists, signature, i); + if (unionSignatures) { + let s = signature; + if (unionSignatures.length > 1) { + let thisParameter = signature.thisParameter; + const firstThisParameterOfUnionSignatures = forEach(unionSignatures, (sig) => sig.thisParameter); + if (firstThisParameterOfUnionSignatures) { + const thisType = getIntersectionType(mapDefined(unionSignatures, (sig) => sig.thisParameter && getTypeOfSymbol(sig.thisParameter))); + thisParameter = createSymbolWithType(firstThisParameterOfUnionSignatures, thisType); + } + s = createUnionSignature(signature, unionSignatures); + s.thisParameter = thisParameter; + } + (result || (result = [])).push(s); + } + } + } + } + if (!length(result) && indexWithLengthOverOne !== -1) { + const masterList = signatureLists[indexWithLengthOverOne !== void 0 ? indexWithLengthOverOne : 0]; + let results = masterList.slice(); + for (const signatures of signatureLists) { + if (signatures !== masterList) { + const signature = signatures[0]; + Debug.assert(!!signature, "getUnionSignatures bails early on empty signature lists and should not have empty lists on second pass"); + results = !!signature.typeParameters && some(results, (s) => !!s.typeParameters && !compareTypeParametersIdentical(signature.typeParameters, s.typeParameters)) ? void 0 : map(results, (sig) => combineSignaturesOfUnionMembers(sig, signature)); + if (!results) { + break; + } + } + } + result = results; + } + return result || emptyArray; + } + function compareTypeParametersIdentical(sourceParams, targetParams) { + if (length(sourceParams) !== length(targetParams)) { + return false; + } + if (!sourceParams || !targetParams) { + return true; + } + const mapper = createTypeMapper(targetParams, sourceParams); + for (let i = 0; i < sourceParams.length; i++) { + const source = sourceParams[i]; + const target = targetParams[i]; + if (source === target) continue; + if (!isTypeIdenticalTo(getConstraintFromTypeParameter(source) || unknownType, instantiateType(getConstraintFromTypeParameter(target) || unknownType, mapper))) return false; + } + return true; + } + function combineUnionThisParam(left, right, mapper) { + if (!left || !right) { + return left || right; + } + const thisType = getIntersectionType([getTypeOfSymbol(left), instantiateType(getTypeOfSymbol(right), mapper)]); + return createSymbolWithType(left, thisType); + } + function combineUnionParameters(left, right, mapper) { + const leftCount = getParameterCount(left); + const rightCount = getParameterCount(right); + const longest = leftCount >= rightCount ? left : right; + const shorter = longest === left ? right : left; + const longestCount = longest === left ? leftCount : rightCount; + const eitherHasEffectiveRest = hasEffectiveRestParameter(left) || hasEffectiveRestParameter(right); + const needsExtraRestElement = eitherHasEffectiveRest && !hasEffectiveRestParameter(longest); + const params = new Array(longestCount + (needsExtraRestElement ? 1 : 0)); + for (let i = 0; i < longestCount; i++) { + let longestParamType = tryGetTypeAtPosition(longest, i); + if (longest === right) { + longestParamType = instantiateType(longestParamType, mapper); + } + let shorterParamType = tryGetTypeAtPosition(shorter, i) || unknownType; + if (shorter === right) { + shorterParamType = instantiateType(shorterParamType, mapper); + } + const unionParamType = getIntersectionType([longestParamType, shorterParamType]); + const isRestParam = eitherHasEffectiveRest && !needsExtraRestElement && i === longestCount - 1; + const isOptional = i >= getMinArgumentCount(longest) && i >= getMinArgumentCount(shorter); + const leftName = i >= leftCount ? void 0 : getParameterNameAtPosition(left, i); + const rightName = i >= rightCount ? void 0 : getParameterNameAtPosition(right, i); + const paramName = leftName === rightName ? leftName : !leftName ? rightName : !rightName ? leftName : void 0; + const paramSymbol = createSymbol( + 1 /* FunctionScopedVariable */ | (isOptional && !isRestParam ? 16777216 /* Optional */ : 0), + paramName || `arg${i}`, + isRestParam ? 32768 /* RestParameter */ : isOptional ? 16384 /* OptionalParameter */ : 0 + ); + paramSymbol.links.type = isRestParam ? createArrayType(unionParamType) : unionParamType; + params[i] = paramSymbol; + } + if (needsExtraRestElement) { + const restParamSymbol = createSymbol(1 /* FunctionScopedVariable */, "args", 32768 /* RestParameter */); + restParamSymbol.links.type = createArrayType(getTypeAtPosition(shorter, longestCount)); + if (shorter === right) { + restParamSymbol.links.type = instantiateType(restParamSymbol.links.type, mapper); + } + params[longestCount] = restParamSymbol; + } + return params; + } + function combineSignaturesOfUnionMembers(left, right) { + const typeParams = left.typeParameters || right.typeParameters; + let paramMapper; + if (left.typeParameters && right.typeParameters) { + paramMapper = createTypeMapper(right.typeParameters, left.typeParameters); + } + let flags = (left.flags | right.flags) & (167 /* PropagatingFlags */ & ~1 /* HasRestParameter */); + const declaration = left.declaration; + const params = combineUnionParameters(left, right, paramMapper); + const lastParam = lastOrUndefined(params); + if (lastParam && getCheckFlags(lastParam) & 32768 /* RestParameter */) { + flags |= 1 /* HasRestParameter */; + } + const thisParam = combineUnionThisParam(left.thisParameter, right.thisParameter, paramMapper); + const minArgCount = Math.max(left.minArgumentCount, right.minArgumentCount); + const result = createSignature( + declaration, + typeParams, + thisParam, + params, + /*resolvedReturnType*/ + void 0, + /*resolvedTypePredicate*/ + void 0, + minArgCount, + flags + ); + result.compositeKind = 1048576 /* Union */; + result.compositeSignatures = concatenate(left.compositeKind !== 2097152 /* Intersection */ && left.compositeSignatures || [left], [right]); + if (paramMapper) { + result.mapper = left.compositeKind !== 2097152 /* Intersection */ && left.mapper && left.compositeSignatures ? combineTypeMappers(left.mapper, paramMapper) : paramMapper; + } else if (left.compositeKind !== 2097152 /* Intersection */ && left.mapper && left.compositeSignatures) { + result.mapper = left.mapper; + } + return result; + } + function getUnionIndexInfos(types) { + const sourceInfos = getIndexInfosOfType(types[0]); + if (sourceInfos) { + const result = []; + for (const info of sourceInfos) { + const indexType = info.keyType; + if (every(types, (t) => !!getIndexInfoOfType(t, indexType))) { + result.push(createIndexInfo(indexType, getUnionType(map(types, (t) => getIndexTypeOfType(t, indexType))), some(types, (t) => getIndexInfoOfType(t, indexType).isReadonly))); + } + } + return result; + } + return emptyArray; + } + function resolveUnionTypeMembers(type) { + const callSignatures = getUnionSignatures(map(type.types, (t) => t === globalFunctionType ? [unknownSignature] : getSignaturesOfType(t, 0 /* Call */))); + const constructSignatures = getUnionSignatures(map(type.types, (t) => getSignaturesOfType(t, 1 /* Construct */))); + const indexInfos = getUnionIndexInfos(type.types); + setStructuredTypeMembers(type, emptySymbols, callSignatures, constructSignatures, indexInfos); + } + function intersectTypes(type1, type2) { + return !type1 ? type2 : !type2 ? type1 : getIntersectionType([type1, type2]); + } + function findMixins(types) { + const constructorTypeCount = countWhere(types, (t) => getSignaturesOfType(t, 1 /* Construct */).length > 0); + const mixinFlags = map(types, isMixinConstructorType); + if (constructorTypeCount > 0 && constructorTypeCount === countWhere(mixinFlags, (b) => b)) { + const firstMixinIndex = mixinFlags.indexOf( + /*searchElement*/ + true + ); + mixinFlags[firstMixinIndex] = false; + } + return mixinFlags; + } + function includeMixinType(type, types, mixinFlags, index) { + const mixedTypes = []; + for (let i = 0; i < types.length; i++) { + if (i === index) { + mixedTypes.push(type); + } else if (mixinFlags[i]) { + mixedTypes.push(getReturnTypeOfSignature(getSignaturesOfType(types[i], 1 /* Construct */)[0])); + } + } + return getIntersectionType(mixedTypes); + } + function resolveIntersectionTypeMembers(type) { + let callSignatures; + let constructSignatures; + let indexInfos; + const types = type.types; + const mixinFlags = findMixins(types); + const mixinCount = countWhere(mixinFlags, (b) => b); + for (let i = 0; i < types.length; i++) { + const t = type.types[i]; + if (!mixinFlags[i]) { + let signatures = getSignaturesOfType(t, 1 /* Construct */); + if (signatures.length && mixinCount > 0) { + signatures = map(signatures, (s) => { + const clone = cloneSignature(s); + clone.resolvedReturnType = includeMixinType(getReturnTypeOfSignature(s), types, mixinFlags, i); + return clone; + }); + } + constructSignatures = appendSignatures(constructSignatures, signatures); + } + callSignatures = appendSignatures(callSignatures, getSignaturesOfType(t, 0 /* Call */)); + indexInfos = reduceLeft(getIndexInfosOfType(t), (infos, newInfo) => appendIndexInfo( + infos, + newInfo, + /*union*/ + false + ), indexInfos); + } + setStructuredTypeMembers(type, emptySymbols, callSignatures || emptyArray, constructSignatures || emptyArray, indexInfos || emptyArray); + } + function appendSignatures(signatures, newSignatures) { + for (const sig of newSignatures) { + if (!signatures || every(signatures, (s) => !compareSignaturesIdentical( + s, + sig, + /*partialMatch*/ + false, + /*ignoreThisTypes*/ + false, + /*ignoreReturnTypes*/ + false, + compareTypesIdentical + ))) { + signatures = append(signatures, sig); + } + } + return signatures; + } + function appendIndexInfo(indexInfos, newInfo, union) { + if (indexInfos) { + for (let i = 0; i < indexInfos.length; i++) { + const info = indexInfos[i]; + if (info.keyType === newInfo.keyType) { + indexInfos[i] = createIndexInfo(info.keyType, union ? getUnionType([info.type, newInfo.type]) : getIntersectionType([info.type, newInfo.type]), union ? info.isReadonly || newInfo.isReadonly : info.isReadonly && newInfo.isReadonly); + return indexInfos; + } + } + } + return append(indexInfos, newInfo); + } + function resolveAnonymousTypeMembers(type) { + if (type.target) { + setStructuredTypeMembers(type, emptySymbols, emptyArray, emptyArray, emptyArray); + const members2 = createInstantiatedSymbolTable( + getPropertiesOfObjectType(type.target), + type.mapper, + /*mappingThisOnly*/ + false + ); + const callSignatures = instantiateSignatures(getSignaturesOfType(type.target, 0 /* Call */), type.mapper); + const constructSignatures = instantiateSignatures(getSignaturesOfType(type.target, 1 /* Construct */), type.mapper); + const indexInfos2 = instantiateIndexInfos(getIndexInfosOfType(type.target), type.mapper); + setStructuredTypeMembers(type, members2, callSignatures, constructSignatures, indexInfos2); + return; + } + const symbol = getMergedSymbol(type.symbol); + if (symbol.flags & 2048 /* TypeLiteral */) { + setStructuredTypeMembers(type, emptySymbols, emptyArray, emptyArray, emptyArray); + const members2 = getMembersOfSymbol(symbol); + const callSignatures = getSignaturesOfSymbol(members2.get("__call" /* Call */)); + const constructSignatures = getSignaturesOfSymbol(members2.get("__new" /* New */)); + const indexInfos2 = getIndexInfosOfSymbol(symbol); + setStructuredTypeMembers(type, members2, callSignatures, constructSignatures, indexInfos2); + return; + } + let members = getExportsOfSymbol(symbol); + let indexInfos; + if (symbol === globalThisSymbol) { + const varsOnly = /* @__PURE__ */ new Map(); + members.forEach((p) => { + var _a; + if (!(p.flags & 418 /* BlockScoped */) && !(p.flags & 512 /* ValueModule */ && ((_a = p.declarations) == null ? void 0 : _a.length) && every(p.declarations, isAmbientModule))) { + varsOnly.set(p.escapedName, p); + } + }); + members = varsOnly; + } + let baseConstructorIndexInfo; + setStructuredTypeMembers(type, members, emptyArray, emptyArray, emptyArray); + if (symbol.flags & 32 /* Class */) { + const classType = getDeclaredTypeOfClassOrInterface(symbol); + const baseConstructorType = getBaseConstructorTypeOfClass(classType); + if (baseConstructorType.flags & (524288 /* Object */ | 2097152 /* Intersection */ | 8650752 /* TypeVariable */)) { + members = createSymbolTable(getNamedOrIndexSignatureMembers(members)); + addInheritedMembers(members, getPropertiesOfType(baseConstructorType)); + } else if (baseConstructorType === anyType) { + baseConstructorIndexInfo = createIndexInfo( + stringType, + anyType, + /*isReadonly*/ + false + ); + } + } + const indexSymbol = getIndexSymbolFromSymbolTable(members); + if (indexSymbol) { + indexInfos = getIndexInfosOfIndexSymbol(indexSymbol, arrayFrom(members.values())); + } else { + if (baseConstructorIndexInfo) { + indexInfos = append(indexInfos, baseConstructorIndexInfo); + } + if (symbol.flags & 384 /* Enum */ && (getDeclaredTypeOfSymbol(symbol).flags & 32 /* Enum */ || some(type.properties, (prop) => !!(getTypeOfSymbol(prop).flags & 296 /* NumberLike */)))) { + indexInfos = append(indexInfos, enumNumberIndexInfo); + } + } + setStructuredTypeMembers(type, members, emptyArray, emptyArray, indexInfos || emptyArray); + if (symbol.flags & (16 /* Function */ | 8192 /* Method */)) { + type.callSignatures = getSignaturesOfSymbol(symbol); + } + if (symbol.flags & 32 /* Class */) { + const classType = getDeclaredTypeOfClassOrInterface(symbol); + let constructSignatures = symbol.members ? getSignaturesOfSymbol(symbol.members.get("__constructor" /* Constructor */)) : emptyArray; + if (symbol.flags & 16 /* Function */) { + constructSignatures = addRange( + constructSignatures.slice(), + mapDefined( + type.callSignatures, + (sig) => isJSConstructor(sig.declaration) ? createSignature( + sig.declaration, + sig.typeParameters, + sig.thisParameter, + sig.parameters, + classType, + /*resolvedTypePredicate*/ + void 0, + sig.minArgumentCount, + sig.flags & 167 /* PropagatingFlags */ + ) : void 0 + ) + ); + } + if (!constructSignatures.length) { + constructSignatures = getDefaultConstructSignatures(classType); + } + type.constructSignatures = constructSignatures; + } + } + function replaceIndexedAccess(instantiable, type, replacement) { + return instantiateType(instantiable, createTypeMapper([type.indexType, type.objectType], [getNumberLiteralType(0), createTupleType([replacement])])); + } + function getLimitedConstraint(type) { + const constraint = getConstraintTypeFromMappedType(type.mappedType); + if (!(constraint.flags & 1048576 /* Union */ || constraint.flags & 2097152 /* Intersection */)) { + return; + } + const origin = constraint.flags & 1048576 /* Union */ ? constraint.origin : constraint; + if (!origin || !(origin.flags & 2097152 /* Intersection */)) { + return; + } + const limitedConstraint = getIntersectionType(origin.types.filter((t) => t !== type.constraintType)); + return limitedConstraint !== neverType ? limitedConstraint : void 0; + } + function resolveReverseMappedTypeMembers(type) { + const indexInfo = getIndexInfoOfType(type.source, stringType); + const modifiers = getMappedTypeModifiers(type.mappedType); + const readonlyMask = modifiers & 1 /* IncludeReadonly */ ? false : true; + const optionalMask = modifiers & 4 /* IncludeOptional */ ? 0 : 16777216 /* Optional */; + const indexInfos = indexInfo ? [createIndexInfo(stringType, inferReverseMappedType(indexInfo.type, type.mappedType, type.constraintType) || unknownType, readonlyMask && indexInfo.isReadonly)] : emptyArray; + const members = createSymbolTable(); + const limitedConstraint = getLimitedConstraint(type); + for (const prop of getPropertiesOfType(type.source)) { + if (limitedConstraint) { + const propertyNameType = getLiteralTypeFromProperty(prop, 8576 /* StringOrNumberLiteralOrUnique */); + if (!isTypeAssignableTo(propertyNameType, limitedConstraint)) { + continue; + } + } + const checkFlags = 8192 /* ReverseMapped */ | (readonlyMask && isReadonlySymbol(prop) ? 8 /* Readonly */ : 0); + const inferredProp = createSymbol(4 /* Property */ | prop.flags & optionalMask, prop.escapedName, checkFlags); + inferredProp.declarations = prop.declarations; + inferredProp.links.nameType = getSymbolLinks(prop).nameType; + inferredProp.links.propertyType = getTypeOfSymbol(prop); + if (type.constraintType.type.flags & 8388608 /* IndexedAccess */ && type.constraintType.type.objectType.flags & 262144 /* TypeParameter */ && type.constraintType.type.indexType.flags & 262144 /* TypeParameter */) { + const newTypeParam = type.constraintType.type.objectType; + const newMappedType = replaceIndexedAccess(type.mappedType, type.constraintType.type, newTypeParam); + inferredProp.links.mappedType = newMappedType; + inferredProp.links.constraintType = getIndexType(newTypeParam); + } else { + inferredProp.links.mappedType = type.mappedType; + inferredProp.links.constraintType = type.constraintType; + } + members.set(prop.escapedName, inferredProp); + } + setStructuredTypeMembers(type, members, emptyArray, emptyArray, indexInfos); + } + function getLowerBoundOfKeyType(type) { + if (type.flags & 4194304 /* Index */) { + const t = getApparentType(type.type); + return isGenericTupleType(t) ? getKnownKeysOfTupleType(t) : getIndexType(t); + } + if (type.flags & 16777216 /* Conditional */) { + if (type.root.isDistributive) { + const checkType = type.checkType; + const constraint = getLowerBoundOfKeyType(checkType); + if (constraint !== checkType) { + return getConditionalTypeInstantiation( + type, + prependTypeMapping(type.root.checkType, constraint, type.mapper), + /*forConstraint*/ + false + ); + } + } + return type; + } + if (type.flags & 1048576 /* Union */) { + return mapType( + type, + getLowerBoundOfKeyType, + /*noReductions*/ + true + ); + } + if (type.flags & 2097152 /* Intersection */) { + const types = type.types; + if (types.length === 2 && !!(types[0].flags & (4 /* String */ | 8 /* Number */ | 64 /* BigInt */)) && types[1] === emptyTypeLiteralType) { + return type; + } + return getIntersectionType(sameMap(type.types, getLowerBoundOfKeyType)); + } + return type; + } + function getIsLateCheckFlag(s) { + return getCheckFlags(s) & 4096 /* Late */; + } + function forEachMappedTypePropertyKeyTypeAndIndexSignatureKeyType(type, include, stringsOnly, cb) { + for (const prop of getPropertiesOfType(type)) { + cb(getLiteralTypeFromProperty(prop, include)); + } + if (type.flags & 1 /* Any */) { + cb(stringType); + } else { + for (const info of getIndexInfosOfType(type)) { + if (!stringsOnly || info.keyType.flags & (4 /* String */ | 134217728 /* TemplateLiteral */)) { + cb(info.keyType); + } + } + } + } + function resolveMappedTypeMembers(type) { + const members = createSymbolTable(); + let indexInfos; + setStructuredTypeMembers(type, emptySymbols, emptyArray, emptyArray, emptyArray); + const typeParameter = getTypeParameterFromMappedType(type); + const constraintType = getConstraintTypeFromMappedType(type); + const mappedType = type.target || type; + const nameType = getNameTypeFromMappedType(mappedType); + const shouldLinkPropDeclarations = getMappedTypeNameTypeKind(mappedType) !== 2 /* Remapping */; + const templateType = getTemplateTypeFromMappedType(mappedType); + const modifiersType = getApparentType(getModifiersTypeFromMappedType(type)); + const templateModifiers = getMappedTypeModifiers(type); + const include = 8576 /* StringOrNumberLiteralOrUnique */; + if (isMappedTypeWithKeyofConstraintDeclaration(type)) { + forEachMappedTypePropertyKeyTypeAndIndexSignatureKeyType( + modifiersType, + include, + /*stringsOnly*/ + false, + addMemberForKeyType + ); + } else { + forEachType(getLowerBoundOfKeyType(constraintType), addMemberForKeyType); + } + setStructuredTypeMembers(type, members, emptyArray, emptyArray, indexInfos || emptyArray); + function addMemberForKeyType(keyType) { + const propNameType = nameType ? instantiateType(nameType, appendTypeMapping(type.mapper, typeParameter, keyType)) : keyType; + forEachType(propNameType, (t) => addMemberForKeyTypeWorker(keyType, t)); + } + function addMemberForKeyTypeWorker(keyType, propNameType) { + if (isTypeUsableAsPropertyName(propNameType)) { + const propName = getPropertyNameFromType(propNameType); + const existingProp = members.get(propName); + if (existingProp) { + existingProp.links.nameType = getUnionType([existingProp.links.nameType, propNameType]); + existingProp.links.keyType = getUnionType([existingProp.links.keyType, keyType]); + } else { + const modifiersProp = isTypeUsableAsPropertyName(keyType) ? getPropertyOfType(modifiersType, getPropertyNameFromType(keyType)) : void 0; + const isOptional = !!(templateModifiers & 4 /* IncludeOptional */ || !(templateModifiers & 8 /* ExcludeOptional */) && modifiersProp && modifiersProp.flags & 16777216 /* Optional */); + const isReadonly = !!(templateModifiers & 1 /* IncludeReadonly */ || !(templateModifiers & 2 /* ExcludeReadonly */) && modifiersProp && isReadonlySymbol(modifiersProp)); + const stripOptional = strictNullChecks && !isOptional && modifiersProp && modifiersProp.flags & 16777216 /* Optional */; + const lateFlag = modifiersProp ? getIsLateCheckFlag(modifiersProp) : 0; + const prop = createSymbol(4 /* Property */ | (isOptional ? 16777216 /* Optional */ : 0), propName, lateFlag | 262144 /* Mapped */ | (isReadonly ? 8 /* Readonly */ : 0) | (stripOptional ? 524288 /* StripOptional */ : 0)); + prop.links.mappedType = type; + prop.links.nameType = propNameType; + prop.links.keyType = keyType; + if (modifiersProp) { + prop.links.syntheticOrigin = modifiersProp; + prop.declarations = shouldLinkPropDeclarations ? modifiersProp.declarations : void 0; + } + members.set(propName, prop); + } + } else if (isValidIndexKeyType(propNameType) || propNameType.flags & (1 /* Any */ | 32 /* Enum */)) { + const indexKeyType = propNameType.flags & (1 /* Any */ | 4 /* String */) ? stringType : propNameType.flags & (8 /* Number */ | 32 /* Enum */) ? numberType : propNameType; + const propType = instantiateType(templateType, appendTypeMapping(type.mapper, typeParameter, keyType)); + const modifiersIndexInfo = getApplicableIndexInfo(modifiersType, propNameType); + const isReadonly = !!(templateModifiers & 1 /* IncludeReadonly */ || !(templateModifiers & 2 /* ExcludeReadonly */) && (modifiersIndexInfo == null ? void 0 : modifiersIndexInfo.isReadonly)); + const indexInfo = createIndexInfo(indexKeyType, propType, isReadonly); + indexInfos = appendIndexInfo( + indexInfos, + indexInfo, + /*union*/ + true + ); + } + } + } + function getTypeOfMappedSymbol(symbol) { + var _a; + if (!symbol.links.type) { + const mappedType = symbol.links.mappedType; + if (!pushTypeResolution(symbol, 0 /* Type */)) { + mappedType.containsError = true; + return errorType; + } + const templateType = getTemplateTypeFromMappedType(mappedType.target || mappedType); + const mapper = appendTypeMapping(mappedType.mapper, getTypeParameterFromMappedType(mappedType), symbol.links.keyType); + const propType = instantiateType(templateType, mapper); + let type = strictNullChecks && symbol.flags & 16777216 /* Optional */ && !maybeTypeOfKind(propType, 32768 /* Undefined */ | 16384 /* Void */) ? getOptionalType( + propType, + /*isProperty*/ + true + ) : symbol.links.checkFlags & 524288 /* StripOptional */ ? removeMissingOrUndefinedType(propType) : propType; + if (!popTypeResolution()) { + error(currentNode, Diagnostics.Type_of_property_0_circularly_references_itself_in_mapped_type_1, symbolToString(symbol), typeToString(mappedType)); + type = errorType; + } + (_a = symbol.links).type ?? (_a.type = type); + } + return symbol.links.type; + } + function getTypeParameterFromMappedType(type) { + return type.typeParameter || (type.typeParameter = getDeclaredTypeOfTypeParameter(getSymbolOfDeclaration(type.declaration.typeParameter))); + } + function getConstraintTypeFromMappedType(type) { + return type.constraintType || (type.constraintType = getConstraintOfTypeParameter(getTypeParameterFromMappedType(type)) || errorType); + } + function getNameTypeFromMappedType(type) { + return type.declaration.nameType ? type.nameType || (type.nameType = instantiateType(getTypeFromTypeNode(type.declaration.nameType), type.mapper)) : void 0; + } + function getTemplateTypeFromMappedType(type) { + return type.templateType || (type.templateType = type.declaration.type ? instantiateType(addOptionality( + getTypeFromTypeNode(type.declaration.type), + /*isProperty*/ + true, + !!(getMappedTypeModifiers(type) & 4 /* IncludeOptional */) + ), type.mapper) : errorType); + } + function getConstraintDeclarationForMappedType(type) { + return getEffectiveConstraintOfTypeParameter(type.declaration.typeParameter); + } + function isMappedTypeWithKeyofConstraintDeclaration(type) { + const constraintDeclaration = getConstraintDeclarationForMappedType(type); + return constraintDeclaration.kind === 198 /* TypeOperator */ && constraintDeclaration.operator === 143 /* KeyOfKeyword */; + } + function getModifiersTypeFromMappedType(type) { + if (!type.modifiersType) { + if (isMappedTypeWithKeyofConstraintDeclaration(type)) { + type.modifiersType = instantiateType(getTypeFromTypeNode(getConstraintDeclarationForMappedType(type).type), type.mapper); + } else { + const declaredType = getTypeFromMappedTypeNode(type.declaration); + const constraint = getConstraintTypeFromMappedType(declaredType); + const extendedConstraint = constraint && constraint.flags & 262144 /* TypeParameter */ ? getConstraintOfTypeParameter(constraint) : constraint; + type.modifiersType = extendedConstraint && extendedConstraint.flags & 4194304 /* Index */ ? instantiateType(extendedConstraint.type, type.mapper) : unknownType; + } + } + return type.modifiersType; + } + function getMappedTypeModifiers(type) { + const declaration = type.declaration; + return (declaration.readonlyToken ? declaration.readonlyToken.kind === 41 /* MinusToken */ ? 2 /* ExcludeReadonly */ : 1 /* IncludeReadonly */ : 0) | (declaration.questionToken ? declaration.questionToken.kind === 41 /* MinusToken */ ? 8 /* ExcludeOptional */ : 4 /* IncludeOptional */ : 0); + } + function getMappedTypeOptionality(type) { + const modifiers = getMappedTypeModifiers(type); + return modifiers & 8 /* ExcludeOptional */ ? -1 : modifiers & 4 /* IncludeOptional */ ? 1 : 0; + } + function getCombinedMappedTypeOptionality(type) { + if (getObjectFlags(type) & 32 /* Mapped */) { + return getMappedTypeOptionality(type) || getCombinedMappedTypeOptionality(getModifiersTypeFromMappedType(type)); + } + if (type.flags & 2097152 /* Intersection */) { + const optionality = getCombinedMappedTypeOptionality(type.types[0]); + return every(type.types, (t, i) => i === 0 || getCombinedMappedTypeOptionality(t) === optionality) ? optionality : 0; + } + return 0; + } + function isPartialMappedType(type) { + return !!(getObjectFlags(type) & 32 /* Mapped */ && getMappedTypeModifiers(type) & 4 /* IncludeOptional */); + } + function isGenericMappedType(type) { + if (getObjectFlags(type) & 32 /* Mapped */) { + const constraint = getConstraintTypeFromMappedType(type); + if (isGenericIndexType(constraint)) { + return true; + } + const nameType = getNameTypeFromMappedType(type); + if (nameType && isGenericIndexType(instantiateType(nameType, makeUnaryTypeMapper(getTypeParameterFromMappedType(type), constraint)))) { + return true; + } + } + return false; + } + function getMappedTypeNameTypeKind(type) { + const nameType = getNameTypeFromMappedType(type); + if (!nameType) { + return 0 /* None */; + } + return isTypeAssignableTo(nameType, getTypeParameterFromMappedType(type)) ? 1 /* Filtering */ : 2 /* Remapping */; + } + function resolveStructuredTypeMembers(type) { + if (!type.members) { + if (type.flags & 524288 /* Object */) { + if (type.objectFlags & 4 /* Reference */) { + resolveTypeReferenceMembers(type); + } else if (type.objectFlags & 3 /* ClassOrInterface */) { + resolveClassOrInterfaceMembers(type); + } else if (type.objectFlags & 1024 /* ReverseMapped */) { + resolveReverseMappedTypeMembers(type); + } else if (type.objectFlags & 16 /* Anonymous */) { + resolveAnonymousTypeMembers(type); + } else if (type.objectFlags & 32 /* Mapped */) { + resolveMappedTypeMembers(type); + } else { + Debug.fail("Unhandled object type " + Debug.formatObjectFlags(type.objectFlags)); + } + } else if (type.flags & 1048576 /* Union */) { + resolveUnionTypeMembers(type); + } else if (type.flags & 2097152 /* Intersection */) { + resolveIntersectionTypeMembers(type); + } else { + Debug.fail("Unhandled type " + Debug.formatTypeFlags(type.flags)); + } + } + return type; + } + function getPropertiesOfObjectType(type) { + if (type.flags & 524288 /* Object */) { + return resolveStructuredTypeMembers(type).properties; + } + return emptyArray; + } + function getPropertyOfObjectType(type, name) { + if (type.flags & 524288 /* Object */) { + const resolved = resolveStructuredTypeMembers(type); + const symbol = resolved.members.get(name); + if (symbol && symbolIsValue(symbol)) { + return symbol; + } + } + } + function getPropertiesOfUnionOrIntersectionType(type) { + if (!type.resolvedProperties) { + const members = createSymbolTable(); + for (const current of type.types) { + for (const prop of getPropertiesOfType(current)) { + if (!members.has(prop.escapedName)) { + const combinedProp = getPropertyOfUnionOrIntersectionType( + type, + prop.escapedName, + /*skipObjectFunctionPropertyAugment*/ + !!(type.flags & 2097152 /* Intersection */) + ); + if (combinedProp) { + members.set(prop.escapedName, combinedProp); + } + } + } + if (type.flags & 1048576 /* Union */ && getIndexInfosOfType(current).length === 0) { + break; + } + } + type.resolvedProperties = getNamedMembers(members); + } + return type.resolvedProperties; + } + function getPropertiesOfType(type) { + type = getReducedApparentType(type); + return type.flags & 3145728 /* UnionOrIntersection */ ? getPropertiesOfUnionOrIntersectionType(type) : getPropertiesOfObjectType(type); + } + function forEachPropertyOfType(type, action) { + type = getReducedApparentType(type); + if (type.flags & 3670016 /* StructuredType */) { + resolveStructuredTypeMembers(type).members.forEach((symbol, escapedName) => { + if (isNamedMember(symbol, escapedName)) { + action(symbol, escapedName); + } + }); + } + } + function isTypeInvalidDueToUnionDiscriminant(contextualType, obj) { + const list = obj.properties; + return list.some((property) => { + const nameType = property.name && (isJsxNamespacedName(property.name) ? getStringLiteralType(getTextOfJsxAttributeName(property.name)) : getLiteralTypeFromPropertyName(property.name)); + const name = nameType && isTypeUsableAsPropertyName(nameType) ? getPropertyNameFromType(nameType) : void 0; + const expected = name === void 0 ? void 0 : getTypeOfPropertyOfType(contextualType, name); + return !!expected && isLiteralType(expected) && !isTypeAssignableTo(getTypeOfNode(property), expected); + }); + } + function getAllPossiblePropertiesOfTypes(types) { + const unionType = getUnionType(types); + if (!(unionType.flags & 1048576 /* Union */)) { + return getAugmentedPropertiesOfType(unionType); + } + const props = createSymbolTable(); + for (const memberType of types) { + for (const { escapedName } of getAugmentedPropertiesOfType(memberType)) { + if (!props.has(escapedName)) { + const prop = createUnionOrIntersectionProperty(unionType, escapedName); + if (prop) props.set(escapedName, prop); + } + } + } + return arrayFrom(props.values()); + } + function getConstraintOfType(type) { + return type.flags & 262144 /* TypeParameter */ ? getConstraintOfTypeParameter(type) : type.flags & 8388608 /* IndexedAccess */ ? getConstraintOfIndexedAccess(type) : type.flags & 16777216 /* Conditional */ ? getConstraintOfConditionalType(type) : getBaseConstraintOfType(type); + } + function getConstraintOfTypeParameter(typeParameter) { + return hasNonCircularBaseConstraint(typeParameter) ? getConstraintFromTypeParameter(typeParameter) : void 0; + } + function isConstMappedType(type, depth) { + const typeVariable = getHomomorphicTypeVariable(type); + return !!typeVariable && isConstTypeVariable(typeVariable, depth); + } + function isConstTypeVariable(type, depth = 0) { + var _a; + return depth < 5 && !!(type && (type.flags & 262144 /* TypeParameter */ && some((_a = type.symbol) == null ? void 0 : _a.declarations, (d) => hasSyntacticModifier(d, 4096 /* Const */)) || type.flags & 3145728 /* UnionOrIntersection */ && some(type.types, (t) => isConstTypeVariable(t, depth)) || type.flags & 8388608 /* IndexedAccess */ && isConstTypeVariable(type.objectType, depth + 1) || type.flags & 16777216 /* Conditional */ && isConstTypeVariable(getConstraintOfConditionalType(type), depth + 1) || type.flags & 33554432 /* Substitution */ && isConstTypeVariable(type.baseType, depth) || getObjectFlags(type) & 32 /* Mapped */ && isConstMappedType(type, depth) || isGenericTupleType(type) && findIndex(getElementTypes(type), (t, i) => !!(type.target.elementFlags[i] & 8 /* Variadic */) && isConstTypeVariable(t, depth)) >= 0)); + } + function getConstraintOfIndexedAccess(type) { + return hasNonCircularBaseConstraint(type) ? getConstraintFromIndexedAccess(type) : void 0; + } + function getSimplifiedTypeOrConstraint(type) { + const simplified = getSimplifiedType( + type, + /*writing*/ + false + ); + return simplified !== type ? simplified : getConstraintOfType(type); + } + function getConstraintFromIndexedAccess(type) { + if (isMappedTypeGenericIndexedAccess(type)) { + return substituteIndexedMappedType(type.objectType, type.indexType); + } + const indexConstraint = getSimplifiedTypeOrConstraint(type.indexType); + if (indexConstraint && indexConstraint !== type.indexType) { + const indexedAccess = getIndexedAccessTypeOrUndefined(type.objectType, indexConstraint, type.accessFlags); + if (indexedAccess) { + return indexedAccess; + } + } + const objectConstraint = getSimplifiedTypeOrConstraint(type.objectType); + if (objectConstraint && objectConstraint !== type.objectType) { + return getIndexedAccessTypeOrUndefined(objectConstraint, type.indexType, type.accessFlags); + } + return void 0; + } + function getDefaultConstraintOfConditionalType(type) { + if (!type.resolvedDefaultConstraint) { + const trueConstraint = getInferredTrueTypeFromConditionalType(type); + const falseConstraint = getFalseTypeFromConditionalType(type); + type.resolvedDefaultConstraint = isTypeAny(trueConstraint) ? falseConstraint : isTypeAny(falseConstraint) ? trueConstraint : getUnionType([trueConstraint, falseConstraint]); + } + return type.resolvedDefaultConstraint; + } + function getConstraintOfDistributiveConditionalType(type) { + if (type.resolvedConstraintOfDistributive !== void 0) { + return type.resolvedConstraintOfDistributive || void 0; + } + if (type.root.isDistributive && type.restrictiveInstantiation !== type) { + const simplified = getSimplifiedType( + type.checkType, + /*writing*/ + false + ); + const constraint = simplified === type.checkType ? getConstraintOfType(simplified) : simplified; + if (constraint && constraint !== type.checkType) { + const instantiated = getConditionalTypeInstantiation( + type, + prependTypeMapping(type.root.checkType, constraint, type.mapper), + /*forConstraint*/ + true + ); + if (!(instantiated.flags & 131072 /* Never */)) { + type.resolvedConstraintOfDistributive = instantiated; + return instantiated; + } + } + } + type.resolvedConstraintOfDistributive = false; + return void 0; + } + function getConstraintFromConditionalType(type) { + return getConstraintOfDistributiveConditionalType(type) || getDefaultConstraintOfConditionalType(type); + } + function getConstraintOfConditionalType(type) { + return hasNonCircularBaseConstraint(type) ? getConstraintFromConditionalType(type) : void 0; + } + function getEffectiveConstraintOfIntersection(types, targetIsUnion) { + let constraints; + let hasDisjointDomainType = false; + for (const t of types) { + if (t.flags & 465829888 /* Instantiable */) { + let constraint = getConstraintOfType(t); + while (constraint && constraint.flags & (262144 /* TypeParameter */ | 4194304 /* Index */ | 16777216 /* Conditional */)) { + constraint = getConstraintOfType(constraint); + } + if (constraint) { + constraints = append(constraints, constraint); + if (targetIsUnion) { + constraints = append(constraints, t); + } + } + } else if (t.flags & 469892092 /* DisjointDomains */ || isEmptyAnonymousObjectType(t)) { + hasDisjointDomainType = true; + } + } + if (constraints && (targetIsUnion || hasDisjointDomainType)) { + if (hasDisjointDomainType) { + for (const t of types) { + if (t.flags & 469892092 /* DisjointDomains */ || isEmptyAnonymousObjectType(t)) { + constraints = append(constraints, t); + } + } + } + return getNormalizedType( + getIntersectionType(constraints, 2 /* NoConstraintReduction */), + /*writing*/ + false + ); + } + return void 0; + } + function getBaseConstraintOfType(type) { + if (type.flags & (58982400 /* InstantiableNonPrimitive */ | 3145728 /* UnionOrIntersection */ | 134217728 /* TemplateLiteral */ | 268435456 /* StringMapping */) || isGenericTupleType(type)) { + const constraint = getResolvedBaseConstraint(type); + return constraint !== noConstraintType && constraint !== circularConstraintType ? constraint : void 0; + } + return type.flags & 4194304 /* Index */ ? stringNumberSymbolType : void 0; + } + function getBaseConstraintOrType(type) { + return getBaseConstraintOfType(type) || type; + } + function hasNonCircularBaseConstraint(type) { + return getResolvedBaseConstraint(type) !== circularConstraintType; + } + function getResolvedBaseConstraint(type) { + if (type.resolvedBaseConstraint) { + return type.resolvedBaseConstraint; + } + const stack = []; + return type.resolvedBaseConstraint = getImmediateBaseConstraint(type); + function getImmediateBaseConstraint(t) { + if (!t.immediateBaseConstraint) { + if (!pushTypeResolution(t, 4 /* ImmediateBaseConstraint */)) { + return circularConstraintType; + } + let result; + const identity2 = getRecursionIdentity(t); + if (stack.length < 10 || stack.length < 50 && !contains(stack, identity2)) { + stack.push(identity2); + result = computeBaseConstraint(getSimplifiedType( + t, + /*writing*/ + false + )); + stack.pop(); + } + if (!popTypeResolution()) { + if (t.flags & 262144 /* TypeParameter */) { + const errorNode = getConstraintDeclaration(t); + if (errorNode) { + const diagnostic = error(errorNode, Diagnostics.Type_parameter_0_has_a_circular_constraint, typeToString(t)); + if (currentNode && !isNodeDescendantOf(errorNode, currentNode) && !isNodeDescendantOf(currentNode, errorNode)) { + addRelatedInfo(diagnostic, createDiagnosticForNode(currentNode, Diagnostics.Circularity_originates_in_type_at_this_location)); + } + } + } + result = circularConstraintType; + } + t.immediateBaseConstraint ?? (t.immediateBaseConstraint = result || noConstraintType); + } + return t.immediateBaseConstraint; + } + function getBaseConstraint(t) { + const c = getImmediateBaseConstraint(t); + return c !== noConstraintType && c !== circularConstraintType ? c : void 0; + } + function computeBaseConstraint(t) { + if (t.flags & 262144 /* TypeParameter */) { + const constraint = getConstraintFromTypeParameter(t); + return t.isThisType || !constraint ? constraint : getBaseConstraint(constraint); + } + if (t.flags & 3145728 /* UnionOrIntersection */) { + const types = t.types; + const baseTypes = []; + let different = false; + for (const type2 of types) { + const baseType = getBaseConstraint(type2); + if (baseType) { + if (baseType !== type2) { + different = true; + } + baseTypes.push(baseType); + } else { + different = true; + } + } + if (!different) { + return t; + } + return t.flags & 1048576 /* Union */ && baseTypes.length === types.length ? getUnionType(baseTypes) : t.flags & 2097152 /* Intersection */ && baseTypes.length ? getIntersectionType(baseTypes) : void 0; + } + if (t.flags & 4194304 /* Index */) { + return stringNumberSymbolType; + } + if (t.flags & 134217728 /* TemplateLiteral */) { + const types = t.types; + const constraints = mapDefined(types, getBaseConstraint); + return constraints.length === types.length ? getTemplateLiteralType(t.texts, constraints) : stringType; + } + if (t.flags & 268435456 /* StringMapping */) { + const constraint = getBaseConstraint(t.type); + return constraint && constraint !== t.type ? getStringMappingType(t.symbol, constraint) : stringType; + } + if (t.flags & 8388608 /* IndexedAccess */) { + if (isMappedTypeGenericIndexedAccess(t)) { + return getBaseConstraint(substituteIndexedMappedType(t.objectType, t.indexType)); + } + const baseObjectType = getBaseConstraint(t.objectType); + const baseIndexType = getBaseConstraint(t.indexType); + const baseIndexedAccess = baseObjectType && baseIndexType && getIndexedAccessTypeOrUndefined(baseObjectType, baseIndexType, t.accessFlags); + return baseIndexedAccess && getBaseConstraint(baseIndexedAccess); + } + if (t.flags & 16777216 /* Conditional */) { + const constraint = getConstraintFromConditionalType(t); + return constraint && getBaseConstraint(constraint); + } + if (t.flags & 33554432 /* Substitution */) { + return getBaseConstraint(getSubstitutionIntersection(t)); + } + if (isGenericTupleType(t)) { + const newElements = map(getElementTypes(t), (v, i) => { + const constraint = v.flags & 262144 /* TypeParameter */ && t.target.elementFlags[i] & 8 /* Variadic */ && getBaseConstraint(v) || v; + return constraint !== v && everyType(constraint, (c) => isArrayOrTupleType(c) && !isGenericTupleType(c)) ? constraint : v; + }); + return createTupleType(newElements, t.target.elementFlags, t.target.readonly, t.target.labeledElementDeclarations); + } + return t; + } + } + function getApparentTypeOfIntersectionType(type, thisArgument) { + if (type === thisArgument) { + return type.resolvedApparentType || (type.resolvedApparentType = getTypeWithThisArgument( + type, + thisArgument, + /*needApparentType*/ + true + )); + } + const key = `I${getTypeId(type)},${getTypeId(thisArgument)}`; + return getCachedType(key) ?? setCachedType(key, getTypeWithThisArgument( + type, + thisArgument, + /*needApparentType*/ + true + )); + } + function getResolvedTypeParameterDefault(typeParameter) { + if (!typeParameter.default) { + if (typeParameter.target) { + const targetDefault = getResolvedTypeParameterDefault(typeParameter.target); + typeParameter.default = targetDefault ? instantiateType(targetDefault, typeParameter.mapper) : noConstraintType; + } else { + typeParameter.default = resolvingDefaultType; + const defaultDeclaration = typeParameter.symbol && forEach(typeParameter.symbol.declarations, (decl) => isTypeParameterDeclaration(decl) && decl.default); + const defaultType = defaultDeclaration ? getTypeFromTypeNode(defaultDeclaration) : noConstraintType; + if (typeParameter.default === resolvingDefaultType) { + typeParameter.default = defaultType; + } + } + } else if (typeParameter.default === resolvingDefaultType) { + typeParameter.default = circularConstraintType; + } + return typeParameter.default; + } + function getDefaultFromTypeParameter(typeParameter) { + const defaultType = getResolvedTypeParameterDefault(typeParameter); + return defaultType !== noConstraintType && defaultType !== circularConstraintType ? defaultType : void 0; + } + function hasNonCircularTypeParameterDefault(typeParameter) { + return getResolvedTypeParameterDefault(typeParameter) !== circularConstraintType; + } + function hasTypeParameterDefault(typeParameter) { + return !!(typeParameter.symbol && forEach(typeParameter.symbol.declarations, (decl) => isTypeParameterDeclaration(decl) && decl.default)); + } + function getApparentTypeOfMappedType(type) { + return type.resolvedApparentType || (type.resolvedApparentType = getResolvedApparentTypeOfMappedType(type)); + } + function getResolvedApparentTypeOfMappedType(type) { + const target = type.target ?? type; + const typeVariable = getHomomorphicTypeVariable(target); + if (typeVariable && !target.declaration.nameType) { + const modifiersType = getModifiersTypeFromMappedType(type); + const baseConstraint = isGenericMappedType(modifiersType) ? getApparentTypeOfMappedType(modifiersType) : getBaseConstraintOfType(modifiersType); + if (baseConstraint && everyType(baseConstraint, (t) => isArrayOrTupleType(t) || isArrayOrTupleOrIntersection(t))) { + return instantiateType(target, prependTypeMapping(typeVariable, baseConstraint, type.mapper)); + } + } + return type; + } + function isArrayOrTupleOrIntersection(type) { + return !!(type.flags & 2097152 /* Intersection */) && every(type.types, isArrayOrTupleType); + } + function isMappedTypeGenericIndexedAccess(type) { + let objectType; + return !!(type.flags & 8388608 /* IndexedAccess */ && getObjectFlags(objectType = type.objectType) & 32 /* Mapped */ && !isGenericMappedType(objectType) && isGenericIndexType(type.indexType) && !(getMappedTypeModifiers(objectType) & 8 /* ExcludeOptional */) && !objectType.declaration.nameType); + } + function getApparentType(type) { + const t = type.flags & 465829888 /* Instantiable */ ? getBaseConstraintOfType(type) || unknownType : type; + const objectFlags = getObjectFlags(t); + return objectFlags & 32 /* Mapped */ ? getApparentTypeOfMappedType(t) : objectFlags & 4 /* Reference */ && t !== type ? getTypeWithThisArgument(t, type) : t.flags & 2097152 /* Intersection */ ? getApparentTypeOfIntersectionType(t, type) : t.flags & 402653316 /* StringLike */ ? globalStringType : t.flags & 296 /* NumberLike */ ? globalNumberType : t.flags & 2112 /* BigIntLike */ ? getGlobalBigIntType() : t.flags & 528 /* BooleanLike */ ? globalBooleanType : t.flags & 12288 /* ESSymbolLike */ ? getGlobalESSymbolType() : t.flags & 67108864 /* NonPrimitive */ ? emptyObjectType : t.flags & 4194304 /* Index */ ? stringNumberSymbolType : t.flags & 2 /* Unknown */ && !strictNullChecks ? emptyObjectType : t; + } + function getReducedApparentType(type) { + return getReducedType(getApparentType(getReducedType(type))); + } + function createUnionOrIntersectionProperty(containingType, name, skipObjectFunctionPropertyAugment) { + var _a, _b, _c; + let singleProp; + let propSet; + let indexTypes; + const isUnion = containingType.flags & 1048576 /* Union */; + let optionalFlag; + let syntheticFlag = 4 /* SyntheticMethod */; + let checkFlags = isUnion ? 0 : 8 /* Readonly */; + let mergedInstantiations = false; + for (const current of containingType.types) { + const type = getApparentType(current); + if (!(isErrorType(type) || type.flags & 131072 /* Never */)) { + const prop = getPropertyOfType(type, name, skipObjectFunctionPropertyAugment); + const modifiers = prop ? getDeclarationModifierFlagsFromSymbol(prop) : 0; + if (prop) { + if (prop.flags & 106500 /* ClassMember */) { + optionalFlag ?? (optionalFlag = isUnion ? 0 /* None */ : 16777216 /* Optional */); + if (isUnion) { + optionalFlag |= prop.flags & 16777216 /* Optional */; + } else { + optionalFlag &= prop.flags; + } + } + if (!singleProp) { + singleProp = prop; + } else if (prop !== singleProp) { + const isInstantiation = (getTargetSymbol(prop) || prop) === (getTargetSymbol(singleProp) || singleProp); + if (isInstantiation && compareProperties(singleProp, prop, (a, b) => a === b ? -1 /* True */ : 0 /* False */) === -1 /* True */) { + mergedInstantiations = !!singleProp.parent && !!length(getLocalTypeParametersOfClassOrInterfaceOrTypeAlias(singleProp.parent)); + } else { + if (!propSet) { + propSet = /* @__PURE__ */ new Map(); + propSet.set(getSymbolId(singleProp), singleProp); + } + const id = getSymbolId(prop); + if (!propSet.has(id)) { + propSet.set(id, prop); + } + } + } + if (isUnion && isReadonlySymbol(prop)) { + checkFlags |= 8 /* Readonly */; + } else if (!isUnion && !isReadonlySymbol(prop)) { + checkFlags &= ~8 /* Readonly */; + } + checkFlags |= (!(modifiers & 6 /* NonPublicAccessibilityModifier */) ? 256 /* ContainsPublic */ : 0) | (modifiers & 4 /* Protected */ ? 512 /* ContainsProtected */ : 0) | (modifiers & 2 /* Private */ ? 1024 /* ContainsPrivate */ : 0) | (modifiers & 256 /* Static */ ? 2048 /* ContainsStatic */ : 0); + if (!isPrototypeProperty(prop)) { + syntheticFlag = 2 /* SyntheticProperty */; + } + } else if (isUnion) { + const indexInfo = !isLateBoundName(name) && getApplicableIndexInfoForName(type, name); + if (indexInfo) { + checkFlags |= 32 /* WritePartial */ | (indexInfo.isReadonly ? 8 /* Readonly */ : 0); + indexTypes = append(indexTypes, isTupleType(type) ? getRestTypeOfTupleType(type) || undefinedType : indexInfo.type); + } else if (isObjectLiteralType(type) && !(getObjectFlags(type) & 2097152 /* ContainsSpread */)) { + checkFlags |= 32 /* WritePartial */; + indexTypes = append(indexTypes, undefinedType); + } else { + checkFlags |= 16 /* ReadPartial */; + } + } + } + } + if (!singleProp || isUnion && (propSet || checkFlags & 48 /* Partial */) && checkFlags & (1024 /* ContainsPrivate */ | 512 /* ContainsProtected */) && !(propSet && getCommonDeclarationsOfSymbols(propSet.values()))) { + return void 0; + } + if (!propSet && !(checkFlags & 16 /* ReadPartial */) && !indexTypes) { + if (mergedInstantiations) { + const links = (_a = tryCast(singleProp, isTransientSymbol)) == null ? void 0 : _a.links; + const clone = createSymbolWithType(singleProp, links == null ? void 0 : links.type); + clone.parent = (_c = (_b = singleProp.valueDeclaration) == null ? void 0 : _b.symbol) == null ? void 0 : _c.parent; + clone.links.containingType = containingType; + clone.links.mapper = links == null ? void 0 : links.mapper; + clone.links.writeType = getWriteTypeOfSymbol(singleProp); + return clone; + } else { + return singleProp; + } + } + const props = propSet ? arrayFrom(propSet.values()) : [singleProp]; + let declarations; + let firstType; + let nameType; + const propTypes = []; + let writeTypes; + let firstValueDeclaration; + let hasNonUniformValueDeclaration = false; + for (const prop of props) { + if (!firstValueDeclaration) { + firstValueDeclaration = prop.valueDeclaration; + } else if (prop.valueDeclaration && prop.valueDeclaration !== firstValueDeclaration) { + hasNonUniformValueDeclaration = true; + } + declarations = addRange(declarations, prop.declarations); + const type = getTypeOfSymbol(prop); + if (!firstType) { + firstType = type; + nameType = getSymbolLinks(prop).nameType; + } + const writeType = getWriteTypeOfSymbol(prop); + if (writeTypes || writeType !== type) { + writeTypes = append(!writeTypes ? propTypes.slice() : writeTypes, writeType); + } + if (type !== firstType) { + checkFlags |= 64 /* HasNonUniformType */; + } + if (isLiteralType(type) || isPatternLiteralType(type)) { + checkFlags |= 128 /* HasLiteralType */; + } + if (type.flags & 131072 /* Never */ && type !== uniqueLiteralType) { + checkFlags |= 131072 /* HasNeverType */; + } + propTypes.push(type); + } + addRange(propTypes, indexTypes); + const result = createSymbol(4 /* Property */ | (optionalFlag ?? 0), name, syntheticFlag | checkFlags); + result.links.containingType = containingType; + if (!hasNonUniformValueDeclaration && firstValueDeclaration) { + result.valueDeclaration = firstValueDeclaration; + if (firstValueDeclaration.symbol.parent) { + result.parent = firstValueDeclaration.symbol.parent; + } + } + result.declarations = declarations; + result.links.nameType = nameType; + if (propTypes.length > 2) { + result.links.checkFlags |= 65536 /* DeferredType */; + result.links.deferralParent = containingType; + result.links.deferralConstituents = propTypes; + result.links.deferralWriteConstituents = writeTypes; + } else { + result.links.type = isUnion ? getUnionType(propTypes) : getIntersectionType(propTypes); + if (writeTypes) { + result.links.writeType = isUnion ? getUnionType(writeTypes) : getIntersectionType(writeTypes); + } + } + return result; + } + function getUnionOrIntersectionProperty(type, name, skipObjectFunctionPropertyAugment) { + var _a, _b, _c; + let property = skipObjectFunctionPropertyAugment ? (_a = type.propertyCacheWithoutObjectFunctionPropertyAugment) == null ? void 0 : _a.get(name) : (_b = type.propertyCache) == null ? void 0 : _b.get(name); + if (!property) { + property = createUnionOrIntersectionProperty(type, name, skipObjectFunctionPropertyAugment); + if (property) { + const properties = skipObjectFunctionPropertyAugment ? type.propertyCacheWithoutObjectFunctionPropertyAugment || (type.propertyCacheWithoutObjectFunctionPropertyAugment = createSymbolTable()) : type.propertyCache || (type.propertyCache = createSymbolTable()); + properties.set(name, property); + if (skipObjectFunctionPropertyAugment && !(getCheckFlags(property) & 48 /* Partial */) && !((_c = type.propertyCache) == null ? void 0 : _c.get(name))) { + const properties2 = type.propertyCache || (type.propertyCache = createSymbolTable()); + properties2.set(name, property); + } + } + } + return property; + } + function getCommonDeclarationsOfSymbols(symbols) { + let commonDeclarations; + for (const symbol of symbols) { + if (!symbol.declarations) { + return void 0; + } + if (!commonDeclarations) { + commonDeclarations = new Set(symbol.declarations); + continue; + } + commonDeclarations.forEach((declaration) => { + if (!contains(symbol.declarations, declaration)) { + commonDeclarations.delete(declaration); + } + }); + if (commonDeclarations.size === 0) { + return void 0; + } + } + return commonDeclarations; + } + function getPropertyOfUnionOrIntersectionType(type, name, skipObjectFunctionPropertyAugment) { + const property = getUnionOrIntersectionProperty(type, name, skipObjectFunctionPropertyAugment); + return property && !(getCheckFlags(property) & 16 /* ReadPartial */) ? property : void 0; + } + function getReducedType(type) { + if (type.flags & 1048576 /* Union */ && type.objectFlags & 16777216 /* ContainsIntersections */) { + return type.resolvedReducedType || (type.resolvedReducedType = getReducedUnionType(type)); + } else if (type.flags & 2097152 /* Intersection */) { + if (!(type.objectFlags & 16777216 /* IsNeverIntersectionComputed */)) { + type.objectFlags |= 16777216 /* IsNeverIntersectionComputed */ | (some(getPropertiesOfUnionOrIntersectionType(type), isNeverReducedProperty) ? 33554432 /* IsNeverIntersection */ : 0); + } + return type.objectFlags & 33554432 /* IsNeverIntersection */ ? neverType : type; + } + return type; + } + function getReducedUnionType(unionType) { + const reducedTypes = sameMap(unionType.types, getReducedType); + if (reducedTypes === unionType.types) { + return unionType; + } + const reduced = getUnionType(reducedTypes); + if (reduced.flags & 1048576 /* Union */) { + reduced.resolvedReducedType = reduced; + } + return reduced; + } + function isNeverReducedProperty(prop) { + return isDiscriminantWithNeverType(prop) || isConflictingPrivateProperty(prop); + } + function isDiscriminantWithNeverType(prop) { + return !(prop.flags & 16777216 /* Optional */) && (getCheckFlags(prop) & (192 /* Discriminant */ | 131072 /* HasNeverType */)) === 192 /* Discriminant */ && !!(getTypeOfSymbol(prop).flags & 131072 /* Never */); + } + function isConflictingPrivateProperty(prop) { + return !prop.valueDeclaration && !!(getCheckFlags(prop) & 1024 /* ContainsPrivate */); + } + function isGenericReducibleType(type) { + return !!(type.flags & 1048576 /* Union */ && type.objectFlags & 16777216 /* ContainsIntersections */ && some(type.types, isGenericReducibleType) || type.flags & 2097152 /* Intersection */ && isReducibleIntersection(type)); + } + function isReducibleIntersection(type) { + const uniqueFilled = type.uniqueLiteralFilledInstantiation || (type.uniqueLiteralFilledInstantiation = instantiateType(type, uniqueLiteralMapper)); + return getReducedType(uniqueFilled) !== uniqueFilled; + } + function elaborateNeverIntersection(errorInfo, type) { + if (type.flags & 2097152 /* Intersection */ && getObjectFlags(type) & 33554432 /* IsNeverIntersection */) { + const neverProp = find(getPropertiesOfUnionOrIntersectionType(type), isDiscriminantWithNeverType); + if (neverProp) { + return chainDiagnosticMessages(errorInfo, Diagnostics.The_intersection_0_was_reduced_to_never_because_property_1_has_conflicting_types_in_some_constituents, typeToString( + type, + /*enclosingDeclaration*/ + void 0, + 536870912 /* NoTypeReduction */ + ), symbolToString(neverProp)); + } + const privateProp = find(getPropertiesOfUnionOrIntersectionType(type), isConflictingPrivateProperty); + if (privateProp) { + return chainDiagnosticMessages(errorInfo, Diagnostics.The_intersection_0_was_reduced_to_never_because_property_1_exists_in_multiple_constituents_and_is_private_in_some, typeToString( + type, + /*enclosingDeclaration*/ + void 0, + 536870912 /* NoTypeReduction */ + ), symbolToString(privateProp)); + } + } + return errorInfo; + } + function getPropertyOfType(type, name, skipObjectFunctionPropertyAugment, includeTypeOnlyMembers) { + var _a, _b; + type = getReducedApparentType(type); + if (type.flags & 524288 /* Object */) { + const resolved = resolveStructuredTypeMembers(type); + const symbol = resolved.members.get(name); + if (symbol && !includeTypeOnlyMembers && ((_a = type.symbol) == null ? void 0 : _a.flags) & 512 /* ValueModule */ && ((_b = getSymbolLinks(type.symbol).typeOnlyExportStarMap) == null ? void 0 : _b.has(name))) { + return void 0; + } + if (symbol && symbolIsValue(symbol, includeTypeOnlyMembers)) { + return symbol; + } + if (skipObjectFunctionPropertyAugment) return void 0; + const functionType = resolved === anyFunctionType ? globalFunctionType : resolved.callSignatures.length ? globalCallableFunctionType : resolved.constructSignatures.length ? globalNewableFunctionType : void 0; + if (functionType) { + const symbol2 = getPropertyOfObjectType(functionType, name); + if (symbol2) { + return symbol2; + } + } + return getPropertyOfObjectType(globalObjectType, name); + } + if (type.flags & 2097152 /* Intersection */) { + const prop = getPropertyOfUnionOrIntersectionType( + type, + name, + /*skipObjectFunctionPropertyAugment*/ + true + ); + if (prop) { + return prop; + } + if (!skipObjectFunctionPropertyAugment) { + return getPropertyOfUnionOrIntersectionType(type, name, skipObjectFunctionPropertyAugment); + } + return void 0; + } + if (type.flags & 1048576 /* Union */) { + return getPropertyOfUnionOrIntersectionType(type, name, skipObjectFunctionPropertyAugment); + } + return void 0; + } + function getSignaturesOfStructuredType(type, kind) { + if (type.flags & 3670016 /* StructuredType */) { + const resolved = resolveStructuredTypeMembers(type); + return kind === 0 /* Call */ ? resolved.callSignatures : resolved.constructSignatures; + } + return emptyArray; + } + function getSignaturesOfType(type, kind) { + const result = getSignaturesOfStructuredType(getReducedApparentType(type), kind); + if (kind === 0 /* Call */ && !length(result) && type.flags & 1048576 /* Union */) { + if (type.arrayFallbackSignatures) { + return type.arrayFallbackSignatures; + } + let memberName; + if (everyType(type, (t) => { + var _a; + return !!((_a = t.symbol) == null ? void 0 : _a.parent) && isArrayOrTupleSymbol(t.symbol.parent) && (!memberName ? (memberName = t.symbol.escapedName, true) : memberName === t.symbol.escapedName); + })) { + const arrayArg = mapType(type, (t) => getMappedType((isReadonlyArraySymbol(t.symbol.parent) ? globalReadonlyArrayType : globalArrayType).typeParameters[0], t.mapper)); + const arrayType = createArrayType(arrayArg, someType(type, (t) => isReadonlyArraySymbol(t.symbol.parent))); + return type.arrayFallbackSignatures = getSignaturesOfType(getTypeOfPropertyOfType(arrayType, memberName), kind); + } + type.arrayFallbackSignatures = result; + } + return result; + } + function isArrayOrTupleSymbol(symbol) { + if (!symbol || !globalArrayType.symbol || !globalReadonlyArrayType.symbol) { + return false; + } + return !!getSymbolIfSameReference(symbol, globalArrayType.symbol) || !!getSymbolIfSameReference(symbol, globalReadonlyArrayType.symbol); + } + function isReadonlyArraySymbol(symbol) { + if (!symbol || !globalReadonlyArrayType.symbol) { + return false; + } + return !!getSymbolIfSameReference(symbol, globalReadonlyArrayType.symbol); + } + function findIndexInfo(indexInfos, keyType) { + return find(indexInfos, (info) => info.keyType === keyType); + } + function findApplicableIndexInfo(indexInfos, keyType) { + let stringIndexInfo; + let applicableInfo; + let applicableInfos; + for (const info of indexInfos) { + if (info.keyType === stringType) { + stringIndexInfo = info; + } else if (isApplicableIndexType(keyType, info.keyType)) { + if (!applicableInfo) { + applicableInfo = info; + } else { + (applicableInfos || (applicableInfos = [applicableInfo])).push(info); + } + } + } + return applicableInfos ? createIndexInfo(unknownType, getIntersectionType(map(applicableInfos, (info) => info.type)), reduceLeft( + applicableInfos, + (isReadonly, info) => isReadonly && info.isReadonly, + /*initial*/ + true + )) : applicableInfo ? applicableInfo : stringIndexInfo && isApplicableIndexType(keyType, stringType) ? stringIndexInfo : void 0; + } + function isApplicableIndexType(source, target) { + return isTypeAssignableTo(source, target) || target === stringType && isTypeAssignableTo(source, numberType) || target === numberType && (source === numericStringType || !!(source.flags & 128 /* StringLiteral */) && isNumericLiteralName(source.value)); + } + function getIndexInfosOfStructuredType(type) { + if (type.flags & 3670016 /* StructuredType */) { + const resolved = resolveStructuredTypeMembers(type); + return resolved.indexInfos; + } + return emptyArray; + } + function getIndexInfosOfType(type) { + return getIndexInfosOfStructuredType(getReducedApparentType(type)); + } + function getIndexInfoOfType(type, keyType) { + return findIndexInfo(getIndexInfosOfType(type), keyType); + } + function getIndexTypeOfType(type, keyType) { + var _a; + return (_a = getIndexInfoOfType(type, keyType)) == null ? void 0 : _a.type; + } + function getApplicableIndexInfos(type, keyType) { + return getIndexInfosOfType(type).filter((info) => isApplicableIndexType(keyType, info.keyType)); + } + function getApplicableIndexInfo(type, keyType) { + return findApplicableIndexInfo(getIndexInfosOfType(type), keyType); + } + function getApplicableIndexInfoForName(type, name) { + return getApplicableIndexInfo(type, isLateBoundName(name) ? esSymbolType : getStringLiteralType(unescapeLeadingUnderscores(name))); + } + function getTypeParametersFromDeclaration(declaration) { + var _a; + let result; + for (const node of getEffectiveTypeParameterDeclarations(declaration)) { + result = appendIfUnique(result, getDeclaredTypeOfTypeParameter(node.symbol)); + } + return (result == null ? void 0 : result.length) ? result : isFunctionDeclaration(declaration) ? (_a = getSignatureOfTypeTag(declaration)) == null ? void 0 : _a.typeParameters : void 0; + } + function symbolsToArray(symbols) { + const result = []; + symbols.forEach((symbol, id) => { + if (!isReservedMemberName(id)) { + result.push(symbol); + } + }); + return result; + } + function tryFindAmbientModule(moduleName, withAugmentations) { + if (isExternalModuleNameRelative(moduleName)) { + return void 0; + } + const symbol = getSymbol(globals, '"' + moduleName + '"', 512 /* ValueModule */); + return symbol && withAugmentations ? getMergedSymbol(symbol) : symbol; + } + function hasEffectiveQuestionToken(node) { + return hasQuestionToken(node) || isOptionalJSDocPropertyLikeTag(node) || isParameter(node) && isJSDocOptionalParameter(node); + } + function isOptionalParameter(node) { + if (hasEffectiveQuestionToken(node)) { + return true; + } + if (!isParameter(node)) { + return false; + } + if (node.initializer) { + const signature = getSignatureFromDeclaration(node.parent); + const parameterIndex = node.parent.parameters.indexOf(node); + Debug.assert(parameterIndex >= 0); + return parameterIndex >= getMinArgumentCount(signature, 1 /* StrongArityForUntypedJS */ | 2 /* VoidIsNonOptional */); + } + const iife = getImmediatelyInvokedFunctionExpression(node.parent); + if (iife) { + return !node.type && !node.dotDotDotToken && node.parent.parameters.indexOf(node) >= getEffectiveCallArguments(iife).length; + } + return false; + } + function isOptionalPropertyDeclaration(node) { + return isPropertyDeclaration(node) && !hasAccessorModifier(node) && node.questionToken; + } + function createTypePredicate(kind, parameterName, parameterIndex, type) { + return { kind, parameterName, parameterIndex, type }; + } + function getMinTypeArgumentCount(typeParameters) { + let minTypeArgumentCount = 0; + if (typeParameters) { + for (let i = 0; i < typeParameters.length; i++) { + if (!hasTypeParameterDefault(typeParameters[i])) { + minTypeArgumentCount = i + 1; + } + } + } + return minTypeArgumentCount; + } + function fillMissingTypeArguments(typeArguments, typeParameters, minTypeArgumentCount, isJavaScriptImplicitAny) { + const numTypeParameters = length(typeParameters); + if (!numTypeParameters) { + return []; + } + const numTypeArguments = length(typeArguments); + if (isJavaScriptImplicitAny || numTypeArguments >= minTypeArgumentCount && numTypeArguments <= numTypeParameters) { + const result = typeArguments ? typeArguments.slice() : []; + for (let i = numTypeArguments; i < numTypeParameters; i++) { + result[i] = errorType; + } + const baseDefaultType = getDefaultTypeArgumentType(isJavaScriptImplicitAny); + for (let i = numTypeArguments; i < numTypeParameters; i++) { + let defaultType = getDefaultFromTypeParameter(typeParameters[i]); + if (isJavaScriptImplicitAny && defaultType && (isTypeIdenticalTo(defaultType, unknownType) || isTypeIdenticalTo(defaultType, emptyObjectType))) { + defaultType = anyType; + } + result[i] = defaultType ? instantiateType(defaultType, createTypeMapper(typeParameters, result)) : baseDefaultType; + } + result.length = typeParameters.length; + return result; + } + return typeArguments && typeArguments.slice(); + } + function getSignatureFromDeclaration(declaration) { + const links = getNodeLinks(declaration); + if (!links.resolvedSignature) { + const parameters = []; + let flags = 0 /* None */; + let minArgumentCount = 0; + let thisParameter; + let thisTag = isInJSFile(declaration) ? getJSDocThisTag(declaration) : void 0; + let hasThisParameter = false; + const iife = getImmediatelyInvokedFunctionExpression(declaration); + const isJSConstructSignature = isJSDocConstructSignature(declaration); + const isUntypedSignatureInJSFile = !iife && isInJSFile(declaration) && isValueSignatureDeclaration(declaration) && !hasJSDocParameterTags(declaration) && !getJSDocType(declaration); + if (isUntypedSignatureInJSFile) { + flags |= 32 /* IsUntypedSignatureInJSFile */; + } + for (let i = isJSConstructSignature ? 1 : 0; i < declaration.parameters.length; i++) { + const param = declaration.parameters[i]; + if (isInJSFile(param) && isJSDocThisTag(param)) { + thisTag = param; + continue; + } + let paramSymbol = param.symbol; + const type = isJSDocParameterTag(param) ? param.typeExpression && param.typeExpression.type : param.type; + if (paramSymbol && !!(paramSymbol.flags & 4 /* Property */) && !isBindingPattern(param.name)) { + const resolvedSymbol = resolveName( + param, + paramSymbol.escapedName, + 111551 /* Value */, + /*nameNotFoundMessage*/ + void 0, + /*isUse*/ + false + ); + paramSymbol = resolvedSymbol; + } + if (i === 0 && paramSymbol.escapedName === "this" /* This */) { + hasThisParameter = true; + thisParameter = param.symbol; + } else { + parameters.push(paramSymbol); + } + if (type && type.kind === 201 /* LiteralType */) { + flags |= 2 /* HasLiteralTypes */; + } + const isOptionalParameter2 = hasEffectiveQuestionToken(param) || isParameter(param) && param.initializer || isRestParameter(param) || iife && parameters.length > iife.arguments.length && !type; + if (!isOptionalParameter2) { + minArgumentCount = parameters.length; + } + } + if ((declaration.kind === 177 /* GetAccessor */ || declaration.kind === 178 /* SetAccessor */) && hasBindableName(declaration) && (!hasThisParameter || !thisParameter)) { + const otherKind = declaration.kind === 177 /* GetAccessor */ ? 178 /* SetAccessor */ : 177 /* GetAccessor */; + const other = getDeclarationOfKind(getSymbolOfDeclaration(declaration), otherKind); + if (other) { + thisParameter = getAnnotatedAccessorThisParameter(other); + } + } + if (thisTag && thisTag.typeExpression) { + thisParameter = createSymbolWithType(createSymbol(1 /* FunctionScopedVariable */, "this" /* This */), getTypeFromTypeNode(thisTag.typeExpression)); + } + const hostDeclaration = isJSDocSignature(declaration) ? getEffectiveJSDocHost(declaration) : declaration; + const classType = hostDeclaration && isConstructorDeclaration(hostDeclaration) ? getDeclaredTypeOfClassOrInterface(getMergedSymbol(hostDeclaration.parent.symbol)) : void 0; + const typeParameters = classType ? classType.localTypeParameters : getTypeParametersFromDeclaration(declaration); + if (hasRestParameter(declaration) || isInJSFile(declaration) && maybeAddJsSyntheticRestParameter(declaration, parameters)) { + flags |= 1 /* HasRestParameter */; + } + if (isConstructorTypeNode(declaration) && hasSyntacticModifier(declaration, 64 /* Abstract */) || isConstructorDeclaration(declaration) && hasSyntacticModifier(declaration.parent, 64 /* Abstract */)) { + flags |= 4 /* Abstract */; + } + links.resolvedSignature = createSignature( + declaration, + typeParameters, + thisParameter, + parameters, + /*resolvedReturnType*/ + void 0, + /*resolvedTypePredicate*/ + void 0, + minArgumentCount, + flags + ); + } + return links.resolvedSignature; + } + function maybeAddJsSyntheticRestParameter(declaration, parameters) { + if (isJSDocSignature(declaration) || !containsArgumentsReference(declaration)) { + return false; + } + const lastParam = lastOrUndefined(declaration.parameters); + const lastParamTags = lastParam ? getJSDocParameterTags(lastParam) : getJSDocTags(declaration).filter(isJSDocParameterTag); + const lastParamVariadicType = firstDefined(lastParamTags, (p) => p.typeExpression && isJSDocVariadicType(p.typeExpression.type) ? p.typeExpression.type : void 0); + const syntheticArgsSymbol = createSymbol(3 /* Variable */, "args", 32768 /* RestParameter */); + if (lastParamVariadicType) { + syntheticArgsSymbol.links.type = createArrayType(getTypeFromTypeNode(lastParamVariadicType.type)); + } else { + syntheticArgsSymbol.links.checkFlags |= 65536 /* DeferredType */; + syntheticArgsSymbol.links.deferralParent = neverType; + syntheticArgsSymbol.links.deferralConstituents = [anyArrayType]; + syntheticArgsSymbol.links.deferralWriteConstituents = [anyArrayType]; + } + if (lastParamVariadicType) { + parameters.pop(); + } + parameters.push(syntheticArgsSymbol); + return true; + } + function getSignatureOfTypeTag(node) { + if (!(isInJSFile(node) && isFunctionLikeDeclaration(node))) return void 0; + const typeTag = getJSDocTypeTag(node); + return (typeTag == null ? void 0 : typeTag.typeExpression) && getSingleCallSignature(getTypeFromTypeNode(typeTag.typeExpression)); + } + function getParameterTypeOfTypeTag(func, parameter) { + const signature = getSignatureOfTypeTag(func); + if (!signature) return void 0; + const pos = func.parameters.indexOf(parameter); + return parameter.dotDotDotToken ? getRestTypeAtPosition(signature, pos) : getTypeAtPosition(signature, pos); + } + function getReturnTypeOfTypeTag(node) { + const signature = getSignatureOfTypeTag(node); + return signature && getReturnTypeOfSignature(signature); + } + function containsArgumentsReference(declaration) { + const links = getNodeLinks(declaration); + if (links.containsArgumentsReference === void 0) { + if (links.flags & 512 /* CaptureArguments */) { + links.containsArgumentsReference = true; + } else { + links.containsArgumentsReference = traverse(declaration.body); + } + } + return links.containsArgumentsReference; + function traverse(node) { + if (!node) return false; + switch (node.kind) { + case 80 /* Identifier */: + return node.escapedText === argumentsSymbol.escapedName && getReferencedValueSymbol(node) === argumentsSymbol; + case 172 /* PropertyDeclaration */: + case 174 /* MethodDeclaration */: + case 177 /* GetAccessor */: + case 178 /* SetAccessor */: + return node.name.kind === 167 /* ComputedPropertyName */ && traverse(node.name); + case 211 /* PropertyAccessExpression */: + case 212 /* ElementAccessExpression */: + return traverse(node.expression); + case 303 /* PropertyAssignment */: + return traverse(node.initializer); + default: + return !nodeStartsNewLexicalEnvironment(node) && !isPartOfTypeNode(node) && !!forEachChild(node, traverse); + } + } + } + function getSignaturesOfSymbol(symbol) { + if (!symbol || !symbol.declarations) return emptyArray; + const result = []; + for (let i = 0; i < symbol.declarations.length; i++) { + const decl = symbol.declarations[i]; + if (!isFunctionLike(decl)) continue; + if (i > 0 && decl.body) { + const previous = symbol.declarations[i - 1]; + if (decl.parent === previous.parent && decl.kind === previous.kind && decl.pos === previous.end) { + continue; + } + } + if (isInJSFile(decl) && decl.jsDoc) { + const tags = getJSDocOverloadTags(decl); + if (length(tags)) { + for (const tag of tags) { + const jsDocSignature = tag.typeExpression; + if (jsDocSignature.type === void 0 && !isConstructorDeclaration(decl)) { + reportImplicitAny(jsDocSignature, anyType); + } + result.push(getSignatureFromDeclaration(jsDocSignature)); + } + continue; + } + } + result.push( + !isFunctionExpressionOrArrowFunction(decl) && !isObjectLiteralMethod(decl) && getSignatureOfTypeTag(decl) || getSignatureFromDeclaration(decl) + ); + } + return result; + } + function resolveExternalModuleTypeByLiteral(name) { + const moduleSym = resolveExternalModuleName(name, name); + if (moduleSym) { + const resolvedModuleSymbol = resolveExternalModuleSymbol(moduleSym); + if (resolvedModuleSymbol) { + return getTypeOfSymbol(resolvedModuleSymbol); + } + } + return anyType; + } + function getThisTypeOfSignature(signature) { + if (signature.thisParameter) { + return getTypeOfSymbol(signature.thisParameter); + } + } + function getTypePredicateOfSignature(signature) { + if (!signature.resolvedTypePredicate) { + if (signature.target) { + const targetTypePredicate = getTypePredicateOfSignature(signature.target); + signature.resolvedTypePredicate = targetTypePredicate ? instantiateTypePredicate(targetTypePredicate, signature.mapper) : noTypePredicate; + } else if (signature.compositeSignatures) { + signature.resolvedTypePredicate = getUnionOrIntersectionTypePredicate(signature.compositeSignatures, signature.compositeKind) || noTypePredicate; + } else { + const type = signature.declaration && getEffectiveReturnTypeNode(signature.declaration); + let jsdocPredicate; + if (!type) { + const jsdocSignature = getSignatureOfTypeTag(signature.declaration); + if (jsdocSignature && signature !== jsdocSignature) { + jsdocPredicate = getTypePredicateOfSignature(jsdocSignature); + } + } + if (type || jsdocPredicate) { + signature.resolvedTypePredicate = type && isTypePredicateNode(type) ? createTypePredicateFromTypePredicateNode(type, signature) : jsdocPredicate || noTypePredicate; + } else if (signature.declaration && isFunctionLikeDeclaration(signature.declaration) && (!signature.resolvedReturnType || signature.resolvedReturnType.flags & 16 /* Boolean */) && getParameterCount(signature) > 0) { + const { declaration } = signature; + signature.resolvedTypePredicate = noTypePredicate; + signature.resolvedTypePredicate = getTypePredicateFromBody(declaration) || noTypePredicate; + } else { + signature.resolvedTypePredicate = noTypePredicate; + } + } + Debug.assert(!!signature.resolvedTypePredicate); + } + return signature.resolvedTypePredicate === noTypePredicate ? void 0 : signature.resolvedTypePredicate; + } + function createTypePredicateFromTypePredicateNode(node, signature) { + const parameterName = node.parameterName; + const type = node.type && getTypeFromTypeNode(node.type); + return parameterName.kind === 197 /* ThisType */ ? createTypePredicate( + node.assertsModifier ? 2 /* AssertsThis */ : 0 /* This */, + /*parameterName*/ + void 0, + /*parameterIndex*/ + void 0, + type + ) : createTypePredicate(node.assertsModifier ? 3 /* AssertsIdentifier */ : 1 /* Identifier */, parameterName.escapedText, findIndex(signature.parameters, (p) => p.escapedName === parameterName.escapedText), type); + } + function getUnionOrIntersectionType(types, kind, unionReduction) { + return kind !== 2097152 /* Intersection */ ? getUnionType(types, unionReduction) : getIntersectionType(types); + } + function getReturnTypeOfSignature(signature) { + if (!signature.resolvedReturnType) { + if (!pushTypeResolution(signature, 3 /* ResolvedReturnType */)) { + return errorType; + } + let type = signature.target ? instantiateType(getReturnTypeOfSignature(signature.target), signature.mapper) : signature.compositeSignatures ? instantiateType(getUnionOrIntersectionType(map(signature.compositeSignatures, getReturnTypeOfSignature), signature.compositeKind, 2 /* Subtype */), signature.mapper) : getReturnTypeFromAnnotation(signature.declaration) || (nodeIsMissing(signature.declaration.body) ? anyType : getReturnTypeFromBody(signature.declaration)); + if (signature.flags & 8 /* IsInnerCallChain */) { + type = addOptionalTypeMarker(type); + } else if (signature.flags & 16 /* IsOuterCallChain */) { + type = getOptionalType(type); + } + if (!popTypeResolution()) { + if (signature.declaration) { + const typeNode = getEffectiveReturnTypeNode(signature.declaration); + if (typeNode) { + error(typeNode, Diagnostics.Return_type_annotation_circularly_references_itself); + } else if (noImplicitAny) { + const declaration = signature.declaration; + const name = getNameOfDeclaration(declaration); + if (name) { + error(name, Diagnostics._0_implicitly_has_return_type_any_because_it_does_not_have_a_return_type_annotation_and_is_referenced_directly_or_indirectly_in_one_of_its_return_expressions, declarationNameToString(name)); + } else { + error(declaration, Diagnostics.Function_implicitly_has_return_type_any_because_it_does_not_have_a_return_type_annotation_and_is_referenced_directly_or_indirectly_in_one_of_its_return_expressions); + } + } + } + type = anyType; + } + signature.resolvedReturnType ?? (signature.resolvedReturnType = type); + } + return signature.resolvedReturnType; + } + function getReturnTypeFromAnnotation(declaration) { + if (declaration.kind === 176 /* Constructor */) { + return getDeclaredTypeOfClassOrInterface(getMergedSymbol(declaration.parent.symbol)); + } + const typeNode = getEffectiveReturnTypeNode(declaration); + if (isJSDocSignature(declaration)) { + const root = getJSDocRoot(declaration); + if (root && isConstructorDeclaration(root.parent) && !typeNode) { + return getDeclaredTypeOfClassOrInterface(getMergedSymbol(root.parent.parent.symbol)); + } + } + if (isJSDocConstructSignature(declaration)) { + return getTypeFromTypeNode(declaration.parameters[0].type); + } + if (typeNode) { + return getTypeFromTypeNode(typeNode); + } + if (declaration.kind === 177 /* GetAccessor */ && hasBindableName(declaration)) { + const jsDocType = isInJSFile(declaration) && getTypeForDeclarationFromJSDocComment(declaration); + if (jsDocType) { + return jsDocType; + } + const setter = getDeclarationOfKind(getSymbolOfDeclaration(declaration), 178 /* SetAccessor */); + const setterType = getAnnotatedAccessorType(setter); + if (setterType) { + return setterType; + } + } + return getReturnTypeOfTypeTag(declaration); + } + function isResolvingReturnTypeOfSignature(signature) { + return signature.compositeSignatures && some(signature.compositeSignatures, isResolvingReturnTypeOfSignature) || !signature.resolvedReturnType && findResolutionCycleStartIndex(signature, 3 /* ResolvedReturnType */) >= 0; + } + function getRestTypeOfSignature(signature) { + return tryGetRestTypeOfSignature(signature) || anyType; + } + function tryGetRestTypeOfSignature(signature) { + if (signatureHasRestParameter(signature)) { + const sigRestType = getTypeOfSymbol(signature.parameters[signature.parameters.length - 1]); + const restType = isTupleType(sigRestType) ? getRestTypeOfTupleType(sigRestType) : sigRestType; + return restType && getIndexTypeOfType(restType, numberType); + } + return void 0; + } + function getSignatureInstantiation(signature, typeArguments, isJavascript, inferredTypeParameters) { + const instantiatedSignature = getSignatureInstantiationWithoutFillingInTypeArguments(signature, fillMissingTypeArguments(typeArguments, signature.typeParameters, getMinTypeArgumentCount(signature.typeParameters), isJavascript)); + if (inferredTypeParameters) { + const returnSignature = getSingleCallOrConstructSignature(getReturnTypeOfSignature(instantiatedSignature)); + if (returnSignature) { + const newReturnSignature = cloneSignature(returnSignature); + newReturnSignature.typeParameters = inferredTypeParameters; + const newInstantiatedSignature = cloneSignature(instantiatedSignature); + newInstantiatedSignature.resolvedReturnType = getOrCreateTypeFromSignature(newReturnSignature); + return newInstantiatedSignature; + } + } + return instantiatedSignature; + } + function getSignatureInstantiationWithoutFillingInTypeArguments(signature, typeArguments) { + const instantiations = signature.instantiations || (signature.instantiations = /* @__PURE__ */ new Map()); + const id = getTypeListId(typeArguments); + let instantiation = instantiations.get(id); + if (!instantiation) { + instantiations.set(id, instantiation = createSignatureInstantiation(signature, typeArguments)); + } + return instantiation; + } + function createSignatureInstantiation(signature, typeArguments) { + return instantiateSignature( + signature, + createSignatureTypeMapper(signature, typeArguments), + /*eraseTypeParameters*/ + true + ); + } + function getTypeParametersForMapper(signature) { + return sameMap(signature.typeParameters, (tp) => tp.mapper ? instantiateType(tp, tp.mapper) : tp); + } + function createSignatureTypeMapper(signature, typeArguments) { + return createTypeMapper(getTypeParametersForMapper(signature), typeArguments); + } + function getErasedSignature(signature) { + return signature.typeParameters ? signature.erasedSignatureCache || (signature.erasedSignatureCache = createErasedSignature(signature)) : signature; + } + function createErasedSignature(signature) { + return instantiateSignature( + signature, + createTypeEraser(signature.typeParameters), + /*eraseTypeParameters*/ + true + ); + } + function getCanonicalSignature(signature) { + return signature.typeParameters ? signature.canonicalSignatureCache || (signature.canonicalSignatureCache = createCanonicalSignature(signature)) : signature; + } + function createCanonicalSignature(signature) { + return getSignatureInstantiation( + signature, + map(signature.typeParameters, (tp) => tp.target && !getConstraintOfTypeParameter(tp.target) ? tp.target : tp), + isInJSFile(signature.declaration) + ); + } + function getImplementationSignature(signature) { + return signature.typeParameters ? signature.implementationSignatureCache || (signature.implementationSignatureCache = createImplementationSignature(signature)) : signature; + } + function createImplementationSignature(signature) { + return signature.typeParameters ? instantiateSignature(signature, createTypeMapper([], [])) : signature; + } + function getBaseSignature(signature) { + const typeParameters = signature.typeParameters; + if (typeParameters) { + if (signature.baseSignatureCache) { + return signature.baseSignatureCache; + } + const typeEraser = createTypeEraser(typeParameters); + const baseConstraintMapper = createTypeMapper(typeParameters, map(typeParameters, (tp) => getConstraintOfTypeParameter(tp) || unknownType)); + let baseConstraints = map(typeParameters, (tp) => instantiateType(tp, baseConstraintMapper) || unknownType); + for (let i = 0; i < typeParameters.length - 1; i++) { + baseConstraints = instantiateTypes(baseConstraints, baseConstraintMapper); + } + baseConstraints = instantiateTypes(baseConstraints, typeEraser); + return signature.baseSignatureCache = instantiateSignature( + signature, + createTypeMapper(typeParameters, baseConstraints), + /*eraseTypeParameters*/ + true + ); + } + return signature; + } + function getOrCreateTypeFromSignature(signature, outerTypeParameters) { + var _a; + if (!signature.isolatedSignatureType) { + const kind = (_a = signature.declaration) == null ? void 0 : _a.kind; + const isConstructor = kind === void 0 || kind === 176 /* Constructor */ || kind === 180 /* ConstructSignature */ || kind === 185 /* ConstructorType */; + const type = createObjectType(16 /* Anonymous */ | 134217728 /* SingleSignatureType */, createSymbol(16 /* Function */, "__function" /* Function */)); + if (signature.declaration && !nodeIsSynthesized(signature.declaration)) { + type.symbol.declarations = [signature.declaration]; + type.symbol.valueDeclaration = signature.declaration; + } + outerTypeParameters || (outerTypeParameters = signature.declaration && getOuterTypeParameters( + signature.declaration, + /*includeThisTypes*/ + true + )); + type.outerTypeParameters = outerTypeParameters; + type.members = emptySymbols; + type.properties = emptyArray; + type.callSignatures = !isConstructor ? [signature] : emptyArray; + type.constructSignatures = isConstructor ? [signature] : emptyArray; + type.indexInfos = emptyArray; + signature.isolatedSignatureType = type; + } + return signature.isolatedSignatureType; + } + function getIndexSymbol(symbol) { + return symbol.members ? getIndexSymbolFromSymbolTable(getMembersOfSymbol(symbol)) : void 0; + } + function getIndexSymbolFromSymbolTable(symbolTable) { + return symbolTable.get("__index" /* Index */); + } + function createIndexInfo(keyType, type, isReadonly, declaration) { + return { keyType, type, isReadonly, declaration }; + } + function getIndexInfosOfSymbol(symbol) { + const indexSymbol = getIndexSymbol(symbol); + return indexSymbol ? getIndexInfosOfIndexSymbol(indexSymbol, arrayFrom(getMembersOfSymbol(symbol).values())) : emptyArray; + } + function getIndexInfosOfIndexSymbol(indexSymbol, siblingSymbols = indexSymbol.parent ? arrayFrom(getMembersOfSymbol(indexSymbol.parent).values()) : void 0) { + if (indexSymbol.declarations) { + const indexInfos = []; + let hasComputedNumberProperty = false; + let readonlyComputedNumberProperty = true; + let hasComputedSymbolProperty = false; + let readonlyComputedSymbolProperty = true; + let hasComputedStringProperty = false; + let readonlyComputedStringProperty = true; + const computedPropertySymbols = []; + for (const declaration of indexSymbol.declarations) { + if (isIndexSignatureDeclaration(declaration)) { + if (declaration.parameters.length === 1) { + const parameter = declaration.parameters[0]; + if (parameter.type) { + forEachType(getTypeFromTypeNode(parameter.type), (keyType) => { + if (isValidIndexKeyType(keyType) && !findIndexInfo(indexInfos, keyType)) { + indexInfos.push(createIndexInfo(keyType, declaration.type ? getTypeFromTypeNode(declaration.type) : anyType, hasEffectiveModifier(declaration, 8 /* Readonly */), declaration)); + } + }); + } + } + } else if (hasLateBindableIndexSignature(declaration)) { + const declName = isBinaryExpression(declaration) ? declaration.left : declaration.name; + const keyType = isElementAccessExpression(declName) ? checkExpressionCached(declName.argumentExpression) : checkComputedPropertyName(declName); + if (findIndexInfo(indexInfos, keyType)) { + continue; + } + if (isTypeAssignableTo(keyType, stringNumberSymbolType)) { + if (isTypeAssignableTo(keyType, numberType)) { + hasComputedNumberProperty = true; + if (!hasEffectiveReadonlyModifier(declaration)) { + readonlyComputedNumberProperty = false; + } + } else if (isTypeAssignableTo(keyType, esSymbolType)) { + hasComputedSymbolProperty = true; + if (!hasEffectiveReadonlyModifier(declaration)) { + readonlyComputedSymbolProperty = false; + } + } else { + hasComputedStringProperty = true; + if (!hasEffectiveReadonlyModifier(declaration)) { + readonlyComputedStringProperty = false; + } + } + computedPropertySymbols.push(declaration.symbol); + } + } + } + const allPropertySymbols = concatenate(computedPropertySymbols, filter(siblingSymbols, (s) => s !== indexSymbol)); + if (hasComputedStringProperty && !findIndexInfo(indexInfos, stringType)) indexInfos.push(getObjectLiteralIndexInfo(readonlyComputedStringProperty, 0, allPropertySymbols, stringType)); + if (hasComputedNumberProperty && !findIndexInfo(indexInfos, numberType)) indexInfos.push(getObjectLiteralIndexInfo(readonlyComputedNumberProperty, 0, allPropertySymbols, numberType)); + if (hasComputedSymbolProperty && !findIndexInfo(indexInfos, esSymbolType)) indexInfos.push(getObjectLiteralIndexInfo(readonlyComputedSymbolProperty, 0, allPropertySymbols, esSymbolType)); + return indexInfos; + } + return emptyArray; + } + function isValidIndexKeyType(type) { + return !!(type.flags & (4 /* String */ | 8 /* Number */ | 4096 /* ESSymbol */)) || isPatternLiteralType(type) || !!(type.flags & 2097152 /* Intersection */) && !isGenericType(type) && some(type.types, isValidIndexKeyType); + } + function getConstraintDeclaration(type) { + return mapDefined(filter(type.symbol && type.symbol.declarations, isTypeParameterDeclaration), getEffectiveConstraintOfTypeParameter)[0]; + } + function getInferredTypeParameterConstraint(typeParameter, omitTypeReferences) { + var _a; + let inferences; + if ((_a = typeParameter.symbol) == null ? void 0 : _a.declarations) { + for (const declaration of typeParameter.symbol.declarations) { + if (declaration.parent.kind === 195 /* InferType */) { + const [childTypeParameter = declaration.parent, grandParent] = walkUpParenthesizedTypesAndGetParentAndChild(declaration.parent.parent); + if (grandParent.kind === 183 /* TypeReference */ && !omitTypeReferences) { + const typeReference = grandParent; + const typeParameters = getTypeParametersForTypeReferenceOrImport(typeReference); + if (typeParameters) { + const index = typeReference.typeArguments.indexOf(childTypeParameter); + if (index < typeParameters.length) { + const declaredConstraint = getConstraintOfTypeParameter(typeParameters[index]); + if (declaredConstraint) { + const mapper = makeDeferredTypeMapper( + typeParameters, + typeParameters.map((_, index2) => () => { + return getEffectiveTypeArgumentAtIndex(typeReference, typeParameters, index2); + }) + ); + const constraint = instantiateType(declaredConstraint, mapper); + if (constraint !== typeParameter) { + inferences = append(inferences, constraint); + } + } + } + } + } else if (grandParent.kind === 169 /* Parameter */ && grandParent.dotDotDotToken || grandParent.kind === 191 /* RestType */ || grandParent.kind === 202 /* NamedTupleMember */ && grandParent.dotDotDotToken) { + inferences = append(inferences, createArrayType(unknownType)); + } else if (grandParent.kind === 204 /* TemplateLiteralTypeSpan */) { + inferences = append(inferences, stringType); + } else if (grandParent.kind === 168 /* TypeParameter */ && grandParent.parent.kind === 200 /* MappedType */) { + inferences = append(inferences, stringNumberSymbolType); + } else if (grandParent.kind === 200 /* MappedType */ && grandParent.type && skipParentheses(grandParent.type) === declaration.parent && grandParent.parent.kind === 194 /* ConditionalType */ && grandParent.parent.extendsType === grandParent && grandParent.parent.checkType.kind === 200 /* MappedType */ && grandParent.parent.checkType.type) { + const checkMappedType2 = grandParent.parent.checkType; + const nodeType = getTypeFromTypeNode(checkMappedType2.type); + inferences = append(inferences, instantiateType(nodeType, makeUnaryTypeMapper(getDeclaredTypeOfTypeParameter(getSymbolOfDeclaration(checkMappedType2.typeParameter)), checkMappedType2.typeParameter.constraint ? getTypeFromTypeNode(checkMappedType2.typeParameter.constraint) : stringNumberSymbolType))); + } + } + } + } + return inferences && getIntersectionType(inferences); + } + function getConstraintFromTypeParameter(typeParameter) { + if (!typeParameter.constraint) { + if (typeParameter.target) { + const targetConstraint = getConstraintOfTypeParameter(typeParameter.target); + typeParameter.constraint = targetConstraint ? instantiateType(targetConstraint, typeParameter.mapper) : noConstraintType; + } else { + const constraintDeclaration = getConstraintDeclaration(typeParameter); + if (!constraintDeclaration) { + typeParameter.constraint = getInferredTypeParameterConstraint(typeParameter) || noConstraintType; + } else { + let type = getTypeFromTypeNode(constraintDeclaration); + if (type.flags & 1 /* Any */ && !isErrorType(type)) { + type = constraintDeclaration.parent.parent.kind === 200 /* MappedType */ ? stringNumberSymbolType : unknownType; + } + typeParameter.constraint = type; + } + } + } + return typeParameter.constraint === noConstraintType ? void 0 : typeParameter.constraint; + } + function getParentSymbolOfTypeParameter(typeParameter) { + const tp = getDeclarationOfKind(typeParameter.symbol, 168 /* TypeParameter */); + const host2 = isJSDocTemplateTag(tp.parent) ? getEffectiveContainerForJSDocTemplateTag(tp.parent) : tp.parent; + return host2 && getSymbolOfNode(host2); + } + function getTypeListId(types) { + let result = ""; + if (types) { + const length2 = types.length; + let i = 0; + while (i < length2) { + const startId = types[i].id; + let count = 1; + while (i + count < length2 && types[i + count].id === startId + count) { + count++; + } + if (result.length) { + result += ","; + } + result += startId; + if (count > 1) { + result += ":" + count; + } + i += count; + } + } + return result; + } + function getAliasId(aliasSymbol, aliasTypeArguments) { + return aliasSymbol ? `@${getSymbolId(aliasSymbol)}` + (aliasTypeArguments ? `:${getTypeListId(aliasTypeArguments)}` : "") : ""; + } + function getPropagatingFlagsOfTypes(types, excludeKinds) { + let result = 0; + for (const type of types) { + if (excludeKinds === void 0 || !(type.flags & excludeKinds)) { + result |= getObjectFlags(type); + } + } + return result & 458752 /* PropagatingFlags */; + } + function tryCreateTypeReference(target, typeArguments) { + if (some(typeArguments) && target === emptyGenericType) { + return unknownType; + } + return createTypeReference(target, typeArguments); + } + function createTypeReference(target, typeArguments) { + const id = getTypeListId(typeArguments); + let type = target.instantiations.get(id); + if (!type) { + type = createObjectType(4 /* Reference */, target.symbol); + target.instantiations.set(id, type); + type.objectFlags |= typeArguments ? getPropagatingFlagsOfTypes(typeArguments) : 0; + type.target = target; + type.resolvedTypeArguments = typeArguments; + } + return type; + } + function cloneTypeReference(source) { + const type = createTypeWithSymbol(source.flags, source.symbol); + type.objectFlags = source.objectFlags; + type.target = source.target; + type.resolvedTypeArguments = source.resolvedTypeArguments; + return type; + } + function createDeferredTypeReference(target, node, mapper, aliasSymbol, aliasTypeArguments) { + if (!aliasSymbol) { + aliasSymbol = getAliasSymbolForTypeNode(node); + const localAliasTypeArguments = getTypeArgumentsForAliasSymbol(aliasSymbol); + aliasTypeArguments = mapper ? instantiateTypes(localAliasTypeArguments, mapper) : localAliasTypeArguments; + } + const type = createObjectType(4 /* Reference */, target.symbol); + type.target = target; + type.node = node; + type.mapper = mapper; + type.aliasSymbol = aliasSymbol; + type.aliasTypeArguments = aliasTypeArguments; + return type; + } + function getTypeArguments(type) { + var _a, _b; + if (!type.resolvedTypeArguments) { + if (!pushTypeResolution(type, 5 /* ResolvedTypeArguments */)) { + return concatenate(type.target.outerTypeParameters, (_a = type.target.localTypeParameters) == null ? void 0 : _a.map(() => errorType)) || emptyArray; + } + const node = type.node; + const typeArguments = !node ? emptyArray : node.kind === 183 /* TypeReference */ ? concatenate(type.target.outerTypeParameters, getEffectiveTypeArguments(node, type.target.localTypeParameters)) : node.kind === 188 /* ArrayType */ ? [getTypeFromTypeNode(node.elementType)] : map(node.elements, getTypeFromTypeNode); + if (popTypeResolution()) { + type.resolvedTypeArguments ?? (type.resolvedTypeArguments = type.mapper ? instantiateTypes(typeArguments, type.mapper) : typeArguments); + } else { + type.resolvedTypeArguments ?? (type.resolvedTypeArguments = concatenate(type.target.outerTypeParameters, ((_b = type.target.localTypeParameters) == null ? void 0 : _b.map(() => errorType)) || emptyArray)); + error( + type.node || currentNode, + type.target.symbol ? Diagnostics.Type_arguments_for_0_circularly_reference_themselves : Diagnostics.Tuple_type_arguments_circularly_reference_themselves, + type.target.symbol && symbolToString(type.target.symbol) + ); + } + } + return type.resolvedTypeArguments; + } + function getTypeReferenceArity(type) { + return length(type.target.typeParameters); + } + function getTypeFromClassOrInterfaceReference(node, symbol) { + const type = getDeclaredTypeOfSymbol(getMergedSymbol(symbol)); + const typeParameters = type.localTypeParameters; + if (typeParameters) { + const numTypeArguments = length(node.typeArguments); + const minTypeArgumentCount = getMinTypeArgumentCount(typeParameters); + const isJs = isInJSFile(node); + const isJsImplicitAny = !noImplicitAny && isJs; + if (!isJsImplicitAny && (numTypeArguments < minTypeArgumentCount || numTypeArguments > typeParameters.length)) { + const missingAugmentsTag = isJs && isExpressionWithTypeArguments(node) && !isJSDocAugmentsTag(node.parent); + const diag2 = minTypeArgumentCount === typeParameters.length ? missingAugmentsTag ? Diagnostics.Expected_0_type_arguments_provide_these_with_an_extends_tag : Diagnostics.Generic_type_0_requires_1_type_argument_s : missingAugmentsTag ? Diagnostics.Expected_0_1_type_arguments_provide_these_with_an_extends_tag : Diagnostics.Generic_type_0_requires_between_1_and_2_type_arguments; + const typeStr = typeToString( + type, + /*enclosingDeclaration*/ + void 0, + 2 /* WriteArrayAsGenericType */ + ); + error(node, diag2, typeStr, minTypeArgumentCount, typeParameters.length); + if (!isJs) { + return errorType; + } + } + if (node.kind === 183 /* TypeReference */ && isDeferredTypeReferenceNode(node, length(node.typeArguments) !== typeParameters.length)) { + return createDeferredTypeReference( + type, + node, + /*mapper*/ + void 0 + ); + } + const typeArguments = concatenate(type.outerTypeParameters, fillMissingTypeArguments(typeArgumentsFromTypeReferenceNode(node), typeParameters, minTypeArgumentCount, isJs)); + return createTypeReference(type, typeArguments); + } + return checkNoTypeArguments(node, symbol) ? type : errorType; + } + function getTypeAliasInstantiation(symbol, typeArguments, aliasSymbol, aliasTypeArguments) { + const type = getDeclaredTypeOfSymbol(symbol); + if (type === intrinsicMarkerType) { + const typeKind = intrinsicTypeKinds.get(symbol.escapedName); + if (typeKind !== void 0 && typeArguments && typeArguments.length === 1) { + return typeKind === 4 /* NoInfer */ ? getNoInferType(typeArguments[0]) : getStringMappingType(symbol, typeArguments[0]); + } + } + const links = getSymbolLinks(symbol); + const typeParameters = links.typeParameters; + const id = getTypeListId(typeArguments) + getAliasId(aliasSymbol, aliasTypeArguments); + let instantiation = links.instantiations.get(id); + if (!instantiation) { + links.instantiations.set(id, instantiation = instantiateTypeWithAlias(type, createTypeMapper(typeParameters, fillMissingTypeArguments(typeArguments, typeParameters, getMinTypeArgumentCount(typeParameters), isInJSFile(symbol.valueDeclaration))), aliasSymbol, aliasTypeArguments)); + } + return instantiation; + } + function getTypeFromTypeAliasReference(node, symbol) { + if (getCheckFlags(symbol) & 1048576 /* Unresolved */) { + const typeArguments = typeArgumentsFromTypeReferenceNode(node); + const id = getAliasId(symbol, typeArguments); + let errorType2 = errorTypes.get(id); + if (!errorType2) { + errorType2 = createIntrinsicType( + 1 /* Any */, + "error", + /*objectFlags*/ + void 0, + `alias ${id}` + ); + errorType2.aliasSymbol = symbol; + errorType2.aliasTypeArguments = typeArguments; + errorTypes.set(id, errorType2); + } + return errorType2; + } + const type = getDeclaredTypeOfSymbol(symbol); + const typeParameters = getSymbolLinks(symbol).typeParameters; + if (typeParameters) { + const numTypeArguments = length(node.typeArguments); + const minTypeArgumentCount = getMinTypeArgumentCount(typeParameters); + if (numTypeArguments < minTypeArgumentCount || numTypeArguments > typeParameters.length) { + error( + node, + minTypeArgumentCount === typeParameters.length ? Diagnostics.Generic_type_0_requires_1_type_argument_s : Diagnostics.Generic_type_0_requires_between_1_and_2_type_arguments, + symbolToString(symbol), + minTypeArgumentCount, + typeParameters.length + ); + return errorType; + } + const aliasSymbol = getAliasSymbolForTypeNode(node); + let newAliasSymbol = aliasSymbol && (isLocalTypeAlias(symbol) || !isLocalTypeAlias(aliasSymbol)) ? aliasSymbol : void 0; + let aliasTypeArguments; + if (newAliasSymbol) { + aliasTypeArguments = getTypeArgumentsForAliasSymbol(newAliasSymbol); + } else if (isTypeReferenceType(node)) { + const aliasSymbol2 = resolveTypeReferenceName( + node, + 2097152 /* Alias */, + /*ignoreErrors*/ + true + ); + if (aliasSymbol2 && aliasSymbol2 !== unknownSymbol) { + const resolved = resolveAlias(aliasSymbol2); + if (resolved && resolved.flags & 524288 /* TypeAlias */) { + newAliasSymbol = resolved; + aliasTypeArguments = typeArgumentsFromTypeReferenceNode(node) || (typeParameters ? [] : void 0); + } + } + } + return getTypeAliasInstantiation(symbol, typeArgumentsFromTypeReferenceNode(node), newAliasSymbol, aliasTypeArguments); + } + return checkNoTypeArguments(node, symbol) ? type : errorType; + } + function isLocalTypeAlias(symbol) { + var _a; + const declaration = (_a = symbol.declarations) == null ? void 0 : _a.find(isTypeAlias); + return !!(declaration && getContainingFunction(declaration)); + } + function getTypeReferenceName(node) { + switch (node.kind) { + case 183 /* TypeReference */: + return node.typeName; + case 233 /* ExpressionWithTypeArguments */: + const expr = node.expression; + if (isEntityNameExpression(expr)) { + return expr; + } + } + return void 0; + } + function getSymbolPath(symbol) { + return symbol.parent ? `${getSymbolPath(symbol.parent)}.${symbol.escapedName}` : symbol.escapedName; + } + function getUnresolvedSymbolForEntityName(name) { + const identifier = name.kind === 166 /* QualifiedName */ ? name.right : name.kind === 211 /* PropertyAccessExpression */ ? name.name : name; + const text = identifier.escapedText; + if (text) { + const parentSymbol = name.kind === 166 /* QualifiedName */ ? getUnresolvedSymbolForEntityName(name.left) : name.kind === 211 /* PropertyAccessExpression */ ? getUnresolvedSymbolForEntityName(name.expression) : void 0; + const path = parentSymbol ? `${getSymbolPath(parentSymbol)}.${text}` : text; + let result = unresolvedSymbols.get(path); + if (!result) { + unresolvedSymbols.set(path, result = createSymbol(524288 /* TypeAlias */, text, 1048576 /* Unresolved */)); + result.parent = parentSymbol; + result.links.declaredType = unresolvedType; + } + return result; + } + return unknownSymbol; + } + function resolveTypeReferenceName(typeReference, meaning, ignoreErrors) { + const name = getTypeReferenceName(typeReference); + if (!name) { + return unknownSymbol; + } + const symbol = resolveEntityName(name, meaning, ignoreErrors); + return symbol && symbol !== unknownSymbol ? symbol : ignoreErrors ? unknownSymbol : getUnresolvedSymbolForEntityName(name); + } + function getTypeReferenceType(node, symbol) { + if (symbol === unknownSymbol) { + return errorType; + } + symbol = getExpandoSymbol(symbol) || symbol; + if (symbol.flags & (32 /* Class */ | 64 /* Interface */)) { + return getTypeFromClassOrInterfaceReference(node, symbol); + } + if (symbol.flags & 524288 /* TypeAlias */) { + return getTypeFromTypeAliasReference(node, symbol); + } + const res = tryGetDeclaredTypeOfSymbol(symbol); + if (res) { + return checkNoTypeArguments(node, symbol) ? getRegularTypeOfLiteralType(res) : errorType; + } + if (symbol.flags & 111551 /* Value */ && isJSDocTypeReference(node)) { + const jsdocType = getTypeFromJSDocValueReference(node, symbol); + if (jsdocType) { + return jsdocType; + } else { + resolveTypeReferenceName(node, 788968 /* Type */); + return getTypeOfSymbol(symbol); + } + } + return errorType; + } + function getTypeFromJSDocValueReference(node, symbol) { + const links = getNodeLinks(node); + if (!links.resolvedJSDocType) { + const valueType = getTypeOfSymbol(symbol); + let typeType = valueType; + if (symbol.valueDeclaration) { + const isImportTypeWithQualifier = node.kind === 205 /* ImportType */ && node.qualifier; + if (valueType.symbol && valueType.symbol !== symbol && isImportTypeWithQualifier) { + typeType = getTypeReferenceType(node, valueType.symbol); + } + } + links.resolvedJSDocType = typeType; + } + return links.resolvedJSDocType; + } + function getNoInferType(type) { + return isNoInferTargetType(type) ? getOrCreateSubstitutionType(type, unknownType) : type; + } + function isNoInferTargetType(type) { + return !!(type.flags & 3145728 /* UnionOrIntersection */ && some(type.types, isNoInferTargetType) || type.flags & 33554432 /* Substitution */ && !isNoInferType(type) && isNoInferTargetType(type.baseType) || type.flags & 524288 /* Object */ && !isEmptyAnonymousObjectType(type) || type.flags & (465829888 /* Instantiable */ & ~33554432 /* Substitution */) && !isPatternLiteralType(type)); + } + function isNoInferType(type) { + return !!(type.flags & 33554432 /* Substitution */ && type.constraint.flags & 2 /* Unknown */); + } + function getSubstitutionType(baseType, constraint) { + return constraint.flags & 3 /* AnyOrUnknown */ || constraint === baseType || baseType.flags & 1 /* Any */ ? baseType : getOrCreateSubstitutionType(baseType, constraint); + } + function getOrCreateSubstitutionType(baseType, constraint) { + const id = `${getTypeId(baseType)}>${getTypeId(constraint)}`; + const cached = substitutionTypes.get(id); + if (cached) { + return cached; + } + const result = createType(33554432 /* Substitution */); + result.baseType = baseType; + result.constraint = constraint; + substitutionTypes.set(id, result); + return result; + } + function getSubstitutionIntersection(substitutionType) { + return isNoInferType(substitutionType) ? substitutionType.baseType : getIntersectionType([substitutionType.constraint, substitutionType.baseType]); + } + function isUnaryTupleTypeNode(node) { + return node.kind === 189 /* TupleType */ && node.elements.length === 1; + } + function getImpliedConstraint(type, checkNode, extendsNode) { + return isUnaryTupleTypeNode(checkNode) && isUnaryTupleTypeNode(extendsNode) ? getImpliedConstraint(type, checkNode.elements[0], extendsNode.elements[0]) : getActualTypeVariable(getTypeFromTypeNode(checkNode)) === getActualTypeVariable(type) ? getTypeFromTypeNode(extendsNode) : void 0; + } + function getConditionalFlowTypeOfType(type, node) { + let constraints; + let covariant = true; + while (node && !isStatement(node) && node.kind !== 320 /* JSDoc */) { + const parent = node.parent; + if (parent.kind === 169 /* Parameter */) { + covariant = !covariant; + } + if ((covariant || type.flags & 8650752 /* TypeVariable */) && parent.kind === 194 /* ConditionalType */ && node === parent.trueType) { + const constraint = getImpliedConstraint(type, parent.checkType, parent.extendsType); + if (constraint) { + constraints = append(constraints, constraint); + } + } else if (type.flags & 262144 /* TypeParameter */ && parent.kind === 200 /* MappedType */ && !parent.nameType && node === parent.type) { + const mappedType = getTypeFromTypeNode(parent); + if (getTypeParameterFromMappedType(mappedType) === getActualTypeVariable(type)) { + const typeParameter = getHomomorphicTypeVariable(mappedType); + if (typeParameter) { + const constraint = getConstraintOfTypeParameter(typeParameter); + if (constraint && everyType(constraint, isArrayOrTupleType)) { + constraints = append(constraints, getUnionType([numberType, numericStringType])); + } + } + } + } + node = parent; + } + return constraints ? getSubstitutionType(type, getIntersectionType(constraints)) : type; + } + function isJSDocTypeReference(node) { + return !!(node.flags & 16777216 /* JSDoc */) && (node.kind === 183 /* TypeReference */ || node.kind === 205 /* ImportType */); + } + function checkNoTypeArguments(node, symbol) { + if (node.typeArguments) { + error(node, Diagnostics.Type_0_is_not_generic, symbol ? symbolToString(symbol) : node.typeName ? declarationNameToString(node.typeName) : anon); + return false; + } + return true; + } + function getIntendedTypeFromJSDocTypeReference(node) { + if (isIdentifier(node.typeName)) { + const typeArgs = node.typeArguments; + switch (node.typeName.escapedText) { + case "String": + checkNoTypeArguments(node); + return stringType; + case "Number": + checkNoTypeArguments(node); + return numberType; + case "Boolean": + checkNoTypeArguments(node); + return booleanType; + case "Void": + checkNoTypeArguments(node); + return voidType; + case "Undefined": + checkNoTypeArguments(node); + return undefinedType; + case "Null": + checkNoTypeArguments(node); + return nullType; + case "Function": + case "function": + checkNoTypeArguments(node); + return globalFunctionType; + case "array": + return (!typeArgs || !typeArgs.length) && !noImplicitAny ? anyArrayType : void 0; + case "promise": + return (!typeArgs || !typeArgs.length) && !noImplicitAny ? createPromiseType(anyType) : void 0; + case "Object": + if (typeArgs && typeArgs.length === 2) { + if (isJSDocIndexSignature(node)) { + const indexed = getTypeFromTypeNode(typeArgs[0]); + const target = getTypeFromTypeNode(typeArgs[1]); + const indexInfo = indexed === stringType || indexed === numberType ? [createIndexInfo( + indexed, + target, + /*isReadonly*/ + false + )] : emptyArray; + return createAnonymousType( + /*symbol*/ + void 0, + emptySymbols, + emptyArray, + emptyArray, + indexInfo + ); + } + return anyType; + } + checkNoTypeArguments(node); + return !noImplicitAny ? anyType : void 0; + } + } + } + function getTypeFromJSDocNullableTypeNode(node) { + const type = getTypeFromTypeNode(node.type); + return strictNullChecks ? getNullableType(type, 65536 /* Null */) : type; + } + function getTypeFromTypeReference(node) { + const links = getNodeLinks(node); + if (!links.resolvedType) { + if (isConstTypeReference(node) && isAssertionExpression(node.parent)) { + links.resolvedSymbol = unknownSymbol; + return links.resolvedType = checkExpressionCached(node.parent.expression); + } + let symbol; + let type; + const meaning = 788968 /* Type */; + if (isJSDocTypeReference(node)) { + type = getIntendedTypeFromJSDocTypeReference(node); + if (!type) { + symbol = resolveTypeReferenceName( + node, + meaning, + /*ignoreErrors*/ + true + ); + if (symbol === unknownSymbol) { + symbol = resolveTypeReferenceName(node, meaning | 111551 /* Value */); + } else { + resolveTypeReferenceName(node, meaning); + } + type = getTypeReferenceType(node, symbol); + } + } + if (!type) { + symbol = resolveTypeReferenceName(node, meaning); + type = getTypeReferenceType(node, symbol); + } + links.resolvedSymbol = symbol; + links.resolvedType = type; + } + return links.resolvedType; + } + function typeArgumentsFromTypeReferenceNode(node) { + return map(node.typeArguments, getTypeFromTypeNode); + } + function getTypeFromTypeQueryNode(node) { + const links = getNodeLinks(node); + if (!links.resolvedType) { + const type = checkExpressionWithTypeArguments(node); + links.resolvedType = getRegularTypeOfLiteralType(getWidenedType(type)); + } + return links.resolvedType; + } + function getTypeOfGlobalSymbol(symbol, arity) { + function getTypeDeclaration(symbol2) { + const declarations = symbol2.declarations; + if (declarations) { + for (const declaration of declarations) { + switch (declaration.kind) { + case 263 /* ClassDeclaration */: + case 264 /* InterfaceDeclaration */: + case 266 /* EnumDeclaration */: + return declaration; + } + } + } + } + if (!symbol) { + return arity ? emptyGenericType : emptyObjectType; + } + const type = getDeclaredTypeOfSymbol(symbol); + if (!(type.flags & 524288 /* Object */)) { + error(getTypeDeclaration(symbol), Diagnostics.Global_type_0_must_be_a_class_or_interface_type, symbolName(symbol)); + return arity ? emptyGenericType : emptyObjectType; + } + if (length(type.typeParameters) !== arity) { + error(getTypeDeclaration(symbol), Diagnostics.Global_type_0_must_have_1_type_parameter_s, symbolName(symbol), arity); + return arity ? emptyGenericType : emptyObjectType; + } + return type; + } + function getGlobalValueSymbol(name, reportErrors2) { + return getGlobalSymbol(name, 111551 /* Value */, reportErrors2 ? Diagnostics.Cannot_find_global_value_0 : void 0); + } + function getGlobalTypeSymbol(name, reportErrors2) { + return getGlobalSymbol(name, 788968 /* Type */, reportErrors2 ? Diagnostics.Cannot_find_global_type_0 : void 0); + } + function getGlobalTypeAliasSymbol(name, arity, reportErrors2) { + const symbol = getGlobalSymbol(name, 788968 /* Type */, reportErrors2 ? Diagnostics.Cannot_find_global_type_0 : void 0); + if (symbol) { + getDeclaredTypeOfSymbol(symbol); + if (length(getSymbolLinks(symbol).typeParameters) !== arity) { + const decl = symbol.declarations && find(symbol.declarations, isTypeAliasDeclaration); + error(decl, Diagnostics.Global_type_0_must_have_1_type_parameter_s, symbolName(symbol), arity); + return void 0; + } + } + return symbol; + } + function getGlobalSymbol(name, meaning, diagnostic) { + return resolveName( + /*location*/ + void 0, + name, + meaning, + diagnostic, + /*isUse*/ + false, + /*excludeGlobals*/ + false + ); + } + function getGlobalType(name, arity, reportErrors2) { + const symbol = getGlobalTypeSymbol(name, reportErrors2); + return symbol || reportErrors2 ? getTypeOfGlobalSymbol(symbol, arity) : void 0; + } + function getGlobalBuiltinTypes(typeNames, arity) { + let types; + for (const typeName of typeNames) { + types = append(types, getGlobalType( + typeName, + arity, + /*reportErrors*/ + false + )); + } + return types ?? emptyArray; + } + function getGlobalTypedPropertyDescriptorType() { + return deferredGlobalTypedPropertyDescriptorType || (deferredGlobalTypedPropertyDescriptorType = getGlobalType( + "TypedPropertyDescriptor", + /*arity*/ + 1, + /*reportErrors*/ + true + ) || emptyGenericType); + } + function getGlobalTemplateStringsArrayType() { + return deferredGlobalTemplateStringsArrayType || (deferredGlobalTemplateStringsArrayType = getGlobalType( + "TemplateStringsArray", + /*arity*/ + 0, + /*reportErrors*/ + true + ) || emptyObjectType); + } + function getGlobalImportMetaType() { + return deferredGlobalImportMetaType || (deferredGlobalImportMetaType = getGlobalType( + "ImportMeta", + /*arity*/ + 0, + /*reportErrors*/ + true + ) || emptyObjectType); + } + function getGlobalImportMetaExpressionType() { + if (!deferredGlobalImportMetaExpressionType) { + const symbol = createSymbol(0 /* None */, "ImportMetaExpression"); + const importMetaType = getGlobalImportMetaType(); + const metaPropertySymbol = createSymbol(4 /* Property */, "meta", 8 /* Readonly */); + metaPropertySymbol.parent = symbol; + metaPropertySymbol.links.type = importMetaType; + const members = createSymbolTable([metaPropertySymbol]); + symbol.members = members; + deferredGlobalImportMetaExpressionType = createAnonymousType(symbol, members, emptyArray, emptyArray, emptyArray); + } + return deferredGlobalImportMetaExpressionType; + } + function getGlobalImportCallOptionsType(reportErrors2) { + return deferredGlobalImportCallOptionsType || (deferredGlobalImportCallOptionsType = getGlobalType( + "ImportCallOptions", + /*arity*/ + 0, + reportErrors2 + )) || emptyObjectType; + } + function getGlobalImportAttributesType(reportErrors2) { + return deferredGlobalImportAttributesType || (deferredGlobalImportAttributesType = getGlobalType( + "ImportAttributes", + /*arity*/ + 0, + reportErrors2 + )) || emptyObjectType; + } + function getGlobalESSymbolConstructorSymbol(reportErrors2) { + return deferredGlobalESSymbolConstructorSymbol || (deferredGlobalESSymbolConstructorSymbol = getGlobalValueSymbol("Symbol", reportErrors2)); + } + function getGlobalESSymbolConstructorTypeSymbol(reportErrors2) { + return deferredGlobalESSymbolConstructorTypeSymbol || (deferredGlobalESSymbolConstructorTypeSymbol = getGlobalTypeSymbol("SymbolConstructor", reportErrors2)); + } + function getGlobalESSymbolType() { + return deferredGlobalESSymbolType || (deferredGlobalESSymbolType = getGlobalType( + "Symbol", + /*arity*/ + 0, + /*reportErrors*/ + false + )) || emptyObjectType; + } + function getGlobalPromiseType(reportErrors2) { + return deferredGlobalPromiseType || (deferredGlobalPromiseType = getGlobalType( + "Promise", + /*arity*/ + 1, + reportErrors2 + )) || emptyGenericType; + } + function getGlobalPromiseLikeType(reportErrors2) { + return deferredGlobalPromiseLikeType || (deferredGlobalPromiseLikeType = getGlobalType( + "PromiseLike", + /*arity*/ + 1, + reportErrors2 + )) || emptyGenericType; + } + function getGlobalPromiseConstructorSymbol(reportErrors2) { + return deferredGlobalPromiseConstructorSymbol || (deferredGlobalPromiseConstructorSymbol = getGlobalValueSymbol("Promise", reportErrors2)); + } + function getGlobalPromiseConstructorLikeType(reportErrors2) { + return deferredGlobalPromiseConstructorLikeType || (deferredGlobalPromiseConstructorLikeType = getGlobalType( + "PromiseConstructorLike", + /*arity*/ + 0, + reportErrors2 + )) || emptyObjectType; + } + function getGlobalAsyncIterableType(reportErrors2) { + return deferredGlobalAsyncIterableType || (deferredGlobalAsyncIterableType = getGlobalType( + "AsyncIterable", + /*arity*/ + 3, + reportErrors2 + )) || emptyGenericType; + } + function getGlobalAsyncIteratorType(reportErrors2) { + return deferredGlobalAsyncIteratorType || (deferredGlobalAsyncIteratorType = getGlobalType( + "AsyncIterator", + /*arity*/ + 3, + reportErrors2 + )) || emptyGenericType; + } + function getGlobalAsyncIterableIteratorType(reportErrors2) { + return deferredGlobalAsyncIterableIteratorType || (deferredGlobalAsyncIterableIteratorType = getGlobalType( + "AsyncIterableIterator", + /*arity*/ + 3, + reportErrors2 + )) || emptyGenericType; + } + function getGlobalBuiltinAsyncIteratorTypes() { + return deferredGlobalBuiltinAsyncIteratorTypes ?? (deferredGlobalBuiltinAsyncIteratorTypes = getGlobalBuiltinTypes(["ReadableStreamAsyncIterator"], 1)); + } + function getGlobalAsyncIteratorObjectType(reportErrors2) { + return deferredGlobalAsyncIteratorObjectType || (deferredGlobalAsyncIteratorObjectType = getGlobalType( + "AsyncIteratorObject", + /*arity*/ + 3, + reportErrors2 + )) || emptyGenericType; + } + function getGlobalAsyncGeneratorType(reportErrors2) { + return deferredGlobalAsyncGeneratorType || (deferredGlobalAsyncGeneratorType = getGlobalType( + "AsyncGenerator", + /*arity*/ + 3, + reportErrors2 + )) || emptyGenericType; + } + function getGlobalIterableType(reportErrors2) { + return deferredGlobalIterableType || (deferredGlobalIterableType = getGlobalType( + "Iterable", + /*arity*/ + 3, + reportErrors2 + )) || emptyGenericType; + } + function getGlobalIteratorType(reportErrors2) { + return deferredGlobalIteratorType || (deferredGlobalIteratorType = getGlobalType( + "Iterator", + /*arity*/ + 3, + reportErrors2 + )) || emptyGenericType; + } + function getGlobalIterableIteratorType(reportErrors2) { + return deferredGlobalIterableIteratorType || (deferredGlobalIterableIteratorType = getGlobalType( + "IterableIterator", + /*arity*/ + 3, + reportErrors2 + )) || emptyGenericType; + } + function getBuiltinIteratorReturnType() { + return strictBuiltinIteratorReturn ? undefinedType : anyType; + } + function getGlobalBuiltinIteratorTypes() { + return deferredGlobalBuiltinIteratorTypes ?? (deferredGlobalBuiltinIteratorTypes = getGlobalBuiltinTypes(["ArrayIterator", "MapIterator", "SetIterator", "StringIterator"], 1)); + } + function getGlobalIteratorObjectType(reportErrors2) { + return deferredGlobalIteratorObjectType || (deferredGlobalIteratorObjectType = getGlobalType( + "IteratorObject", + /*arity*/ + 3, + reportErrors2 + )) || emptyGenericType; + } + function getGlobalGeneratorType(reportErrors2) { + return deferredGlobalGeneratorType || (deferredGlobalGeneratorType = getGlobalType( + "Generator", + /*arity*/ + 3, + reportErrors2 + )) || emptyGenericType; + } + function getGlobalIteratorYieldResultType(reportErrors2) { + return deferredGlobalIteratorYieldResultType || (deferredGlobalIteratorYieldResultType = getGlobalType( + "IteratorYieldResult", + /*arity*/ + 1, + reportErrors2 + )) || emptyGenericType; + } + function getGlobalIteratorReturnResultType(reportErrors2) { + return deferredGlobalIteratorReturnResultType || (deferredGlobalIteratorReturnResultType = getGlobalType( + "IteratorReturnResult", + /*arity*/ + 1, + reportErrors2 + )) || emptyGenericType; + } + function getGlobalDisposableType(reportErrors2) { + return deferredGlobalDisposableType || (deferredGlobalDisposableType = getGlobalType( + "Disposable", + /*arity*/ + 0, + reportErrors2 + )) || emptyObjectType; + } + function getGlobalAsyncDisposableType(reportErrors2) { + return deferredGlobalAsyncDisposableType || (deferredGlobalAsyncDisposableType = getGlobalType( + "AsyncDisposable", + /*arity*/ + 0, + reportErrors2 + )) || emptyObjectType; + } + function getGlobalTypeOrUndefined(name, arity = 0) { + const symbol = getGlobalSymbol( + name, + 788968 /* Type */, + /*diagnostic*/ + void 0 + ); + return symbol && getTypeOfGlobalSymbol(symbol, arity); + } + function getGlobalExtractSymbol() { + deferredGlobalExtractSymbol || (deferredGlobalExtractSymbol = getGlobalTypeAliasSymbol( + "Extract", + /*arity*/ + 2, + /*reportErrors*/ + true + ) || unknownSymbol); + return deferredGlobalExtractSymbol === unknownSymbol ? void 0 : deferredGlobalExtractSymbol; + } + function getGlobalOmitSymbol() { + deferredGlobalOmitSymbol || (deferredGlobalOmitSymbol = getGlobalTypeAliasSymbol( + "Omit", + /*arity*/ + 2, + /*reportErrors*/ + true + ) || unknownSymbol); + return deferredGlobalOmitSymbol === unknownSymbol ? void 0 : deferredGlobalOmitSymbol; + } + function getGlobalAwaitedSymbol(reportErrors2) { + deferredGlobalAwaitedSymbol || (deferredGlobalAwaitedSymbol = getGlobalTypeAliasSymbol( + "Awaited", + /*arity*/ + 1, + reportErrors2 + ) || (reportErrors2 ? unknownSymbol : void 0)); + return deferredGlobalAwaitedSymbol === unknownSymbol ? void 0 : deferredGlobalAwaitedSymbol; + } + function getGlobalBigIntType() { + return deferredGlobalBigIntType || (deferredGlobalBigIntType = getGlobalType( + "BigInt", + /*arity*/ + 0, + /*reportErrors*/ + false + )) || emptyObjectType; + } + function getGlobalClassDecoratorContextType(reportErrors2) { + return deferredGlobalClassDecoratorContextType ?? (deferredGlobalClassDecoratorContextType = getGlobalType( + "ClassDecoratorContext", + /*arity*/ + 1, + reportErrors2 + )) ?? emptyGenericType; + } + function getGlobalClassMethodDecoratorContextType(reportErrors2) { + return deferredGlobalClassMethodDecoratorContextType ?? (deferredGlobalClassMethodDecoratorContextType = getGlobalType( + "ClassMethodDecoratorContext", + /*arity*/ + 2, + reportErrors2 + )) ?? emptyGenericType; + } + function getGlobalClassGetterDecoratorContextType(reportErrors2) { + return deferredGlobalClassGetterDecoratorContextType ?? (deferredGlobalClassGetterDecoratorContextType = getGlobalType( + "ClassGetterDecoratorContext", + /*arity*/ + 2, + reportErrors2 + )) ?? emptyGenericType; + } + function getGlobalClassSetterDecoratorContextType(reportErrors2) { + return deferredGlobalClassSetterDecoratorContextType ?? (deferredGlobalClassSetterDecoratorContextType = getGlobalType( + "ClassSetterDecoratorContext", + /*arity*/ + 2, + reportErrors2 + )) ?? emptyGenericType; + } + function getGlobalClassAccessorDecoratorContextType(reportErrors2) { + return deferredGlobalClassAccessorDecoratorContextType ?? (deferredGlobalClassAccessorDecoratorContextType = getGlobalType( + "ClassAccessorDecoratorContext", + /*arity*/ + 2, + reportErrors2 + )) ?? emptyGenericType; + } + function getGlobalClassAccessorDecoratorTargetType(reportErrors2) { + return deferredGlobalClassAccessorDecoratorTargetType ?? (deferredGlobalClassAccessorDecoratorTargetType = getGlobalType( + "ClassAccessorDecoratorTarget", + /*arity*/ + 2, + reportErrors2 + )) ?? emptyGenericType; + } + function getGlobalClassAccessorDecoratorResultType(reportErrors2) { + return deferredGlobalClassAccessorDecoratorResultType ?? (deferredGlobalClassAccessorDecoratorResultType = getGlobalType( + "ClassAccessorDecoratorResult", + /*arity*/ + 2, + reportErrors2 + )) ?? emptyGenericType; + } + function getGlobalClassFieldDecoratorContextType(reportErrors2) { + return deferredGlobalClassFieldDecoratorContextType ?? (deferredGlobalClassFieldDecoratorContextType = getGlobalType( + "ClassFieldDecoratorContext", + /*arity*/ + 2, + reportErrors2 + )) ?? emptyGenericType; + } + function getGlobalNaNSymbol() { + return deferredGlobalNaNSymbol || (deferredGlobalNaNSymbol = getGlobalValueSymbol( + "NaN", + /*reportErrors*/ + false + )); + } + function getGlobalRecordSymbol() { + deferredGlobalRecordSymbol || (deferredGlobalRecordSymbol = getGlobalTypeAliasSymbol( + "Record", + /*arity*/ + 2, + /*reportErrors*/ + true + ) || unknownSymbol); + return deferredGlobalRecordSymbol === unknownSymbol ? void 0 : deferredGlobalRecordSymbol; + } + function createTypeFromGenericGlobalType(genericGlobalType, typeArguments) { + return genericGlobalType !== emptyGenericType ? createTypeReference(genericGlobalType, typeArguments) : emptyObjectType; + } + function createTypedPropertyDescriptorType(propertyType) { + return createTypeFromGenericGlobalType(getGlobalTypedPropertyDescriptorType(), [propertyType]); + } + function createIterableType(iteratedType) { + return createTypeFromGenericGlobalType(getGlobalIterableType( + /*reportErrors*/ + true + ), [iteratedType, voidType, undefinedType]); + } + function createArrayType(elementType, readonly) { + return createTypeFromGenericGlobalType(readonly ? globalReadonlyArrayType : globalArrayType, [elementType]); + } + function getTupleElementFlags(node) { + switch (node.kind) { + case 190 /* OptionalType */: + return 2 /* Optional */; + case 191 /* RestType */: + return getRestTypeElementFlags(node); + case 202 /* NamedTupleMember */: + return node.questionToken ? 2 /* Optional */ : node.dotDotDotToken ? getRestTypeElementFlags(node) : 1 /* Required */; + default: + return 1 /* Required */; + } + } + function getRestTypeElementFlags(node) { + return getArrayElementTypeNode(node.type) ? 4 /* Rest */ : 8 /* Variadic */; + } + function getArrayOrTupleTargetType(node) { + const readonly = isReadonlyTypeOperator(node.parent); + const elementType = getArrayElementTypeNode(node); + if (elementType) { + return readonly ? globalReadonlyArrayType : globalArrayType; + } + const elementFlags = map(node.elements, getTupleElementFlags); + return getTupleTargetType(elementFlags, readonly, map(node.elements, memberIfLabeledElementDeclaration)); + } + function memberIfLabeledElementDeclaration(member) { + return isNamedTupleMember(member) || isParameter(member) ? member : void 0; + } + function isDeferredTypeReferenceNode(node, hasDefaultTypeArguments) { + return !!getAliasSymbolForTypeNode(node) || isResolvedByTypeAlias(node) && (node.kind === 188 /* ArrayType */ ? mayResolveTypeAlias(node.elementType) : node.kind === 189 /* TupleType */ ? some(node.elements, mayResolveTypeAlias) : hasDefaultTypeArguments || some(node.typeArguments, mayResolveTypeAlias)); + } + function isResolvedByTypeAlias(node) { + const parent = node.parent; + switch (parent.kind) { + case 196 /* ParenthesizedType */: + case 202 /* NamedTupleMember */: + case 183 /* TypeReference */: + case 192 /* UnionType */: + case 193 /* IntersectionType */: + case 199 /* IndexedAccessType */: + case 194 /* ConditionalType */: + case 198 /* TypeOperator */: + case 188 /* ArrayType */: + case 189 /* TupleType */: + return isResolvedByTypeAlias(parent); + case 265 /* TypeAliasDeclaration */: + return true; + } + return false; + } + function mayResolveTypeAlias(node) { + switch (node.kind) { + case 183 /* TypeReference */: + return isJSDocTypeReference(node) || !!(resolveTypeReferenceName(node, 788968 /* Type */).flags & 524288 /* TypeAlias */); + case 186 /* TypeQuery */: + return true; + case 198 /* TypeOperator */: + return node.operator !== 158 /* UniqueKeyword */ && mayResolveTypeAlias(node.type); + case 196 /* ParenthesizedType */: + case 190 /* OptionalType */: + case 202 /* NamedTupleMember */: + case 316 /* JSDocOptionalType */: + case 314 /* JSDocNullableType */: + case 315 /* JSDocNonNullableType */: + case 309 /* JSDocTypeExpression */: + return mayResolveTypeAlias(node.type); + case 191 /* RestType */: + return node.type.kind !== 188 /* ArrayType */ || mayResolveTypeAlias(node.type.elementType); + case 192 /* UnionType */: + case 193 /* IntersectionType */: + return some(node.types, mayResolveTypeAlias); + case 199 /* IndexedAccessType */: + return mayResolveTypeAlias(node.objectType) || mayResolveTypeAlias(node.indexType); + case 194 /* ConditionalType */: + return mayResolveTypeAlias(node.checkType) || mayResolveTypeAlias(node.extendsType) || mayResolveTypeAlias(node.trueType) || mayResolveTypeAlias(node.falseType); + } + return false; + } + function getTypeFromArrayOrTupleTypeNode(node) { + const links = getNodeLinks(node); + if (!links.resolvedType) { + const target = getArrayOrTupleTargetType(node); + if (target === emptyGenericType) { + links.resolvedType = emptyObjectType; + } else if (!(node.kind === 189 /* TupleType */ && some(node.elements, (e) => !!(getTupleElementFlags(e) & 8 /* Variadic */))) && isDeferredTypeReferenceNode(node)) { + links.resolvedType = node.kind === 189 /* TupleType */ && node.elements.length === 0 ? target : createDeferredTypeReference( + target, + node, + /*mapper*/ + void 0 + ); + } else { + const elementTypes = node.kind === 188 /* ArrayType */ ? [getTypeFromTypeNode(node.elementType)] : map(node.elements, getTypeFromTypeNode); + links.resolvedType = createNormalizedTypeReference(target, elementTypes); + } + } + return links.resolvedType; + } + function isReadonlyTypeOperator(node) { + return isTypeOperatorNode(node) && node.operator === 148 /* ReadonlyKeyword */; + } + function createTupleType(elementTypes, elementFlags, readonly = false, namedMemberDeclarations = []) { + const tupleTarget = getTupleTargetType(elementFlags || map(elementTypes, (_) => 1 /* Required */), readonly, namedMemberDeclarations); + return tupleTarget === emptyGenericType ? emptyObjectType : elementTypes.length ? createNormalizedTypeReference(tupleTarget, elementTypes) : tupleTarget; + } + function getTupleTargetType(elementFlags, readonly, namedMemberDeclarations) { + if (elementFlags.length === 1 && elementFlags[0] & 4 /* Rest */) { + return readonly ? globalReadonlyArrayType : globalArrayType; + } + const key = map(elementFlags, (f) => f & 1 /* Required */ ? "#" : f & 2 /* Optional */ ? "?" : f & 4 /* Rest */ ? "." : "*").join() + (readonly ? "R" : "") + (some(namedMemberDeclarations, (node) => !!node) ? "," + map(namedMemberDeclarations, (node) => node ? getNodeId(node) : "_").join(",") : ""); + let type = tupleTypes.get(key); + if (!type) { + tupleTypes.set(key, type = createTupleTargetType(elementFlags, readonly, namedMemberDeclarations)); + } + return type; + } + function createTupleTargetType(elementFlags, readonly, namedMemberDeclarations) { + const arity = elementFlags.length; + const minLength = countWhere(elementFlags, (f) => !!(f & (1 /* Required */ | 8 /* Variadic */))); + let typeParameters; + const properties = []; + let combinedFlags = 0; + if (arity) { + typeParameters = new Array(arity); + for (let i = 0; i < arity; i++) { + const typeParameter = typeParameters[i] = createTypeParameter(); + const flags = elementFlags[i]; + combinedFlags |= flags; + if (!(combinedFlags & 12 /* Variable */)) { + const property = createSymbol(4 /* Property */ | (flags & 2 /* Optional */ ? 16777216 /* Optional */ : 0), "" + i, readonly ? 8 /* Readonly */ : 0); + property.links.tupleLabelDeclaration = namedMemberDeclarations == null ? void 0 : namedMemberDeclarations[i]; + property.links.type = typeParameter; + properties.push(property); + } + } + } + const fixedLength = properties.length; + const lengthSymbol = createSymbol(4 /* Property */, "length", readonly ? 8 /* Readonly */ : 0); + if (combinedFlags & 12 /* Variable */) { + lengthSymbol.links.type = numberType; + } else { + const literalTypes = []; + for (let i = minLength; i <= arity; i++) literalTypes.push(getNumberLiteralType(i)); + lengthSymbol.links.type = getUnionType(literalTypes); + } + properties.push(lengthSymbol); + const type = createObjectType(8 /* Tuple */ | 4 /* Reference */); + type.typeParameters = typeParameters; + type.outerTypeParameters = void 0; + type.localTypeParameters = typeParameters; + type.instantiations = /* @__PURE__ */ new Map(); + type.instantiations.set(getTypeListId(type.typeParameters), type); + type.target = type; + type.resolvedTypeArguments = type.typeParameters; + type.thisType = createTypeParameter(); + type.thisType.isThisType = true; + type.thisType.constraint = type; + type.declaredProperties = properties; + type.declaredCallSignatures = emptyArray; + type.declaredConstructSignatures = emptyArray; + type.declaredIndexInfos = emptyArray; + type.elementFlags = elementFlags; + type.minLength = minLength; + type.fixedLength = fixedLength; + type.hasRestElement = !!(combinedFlags & 12 /* Variable */); + type.combinedFlags = combinedFlags; + type.readonly = readonly; + type.labeledElementDeclarations = namedMemberDeclarations; + return type; + } + function createNormalizedTypeReference(target, typeArguments) { + return target.objectFlags & 8 /* Tuple */ ? createNormalizedTupleType(target, typeArguments) : createTypeReference(target, typeArguments); + } + function createNormalizedTupleType(target, elementTypes) { + var _a, _b, _c, _d; + if (!(target.combinedFlags & 14 /* NonRequired */)) { + return createTypeReference(target, elementTypes); + } + if (target.combinedFlags & 8 /* Variadic */) { + const unionIndex = findIndex(elementTypes, (t, i) => !!(target.elementFlags[i] & 8 /* Variadic */ && t.flags & (131072 /* Never */ | 1048576 /* Union */))); + if (unionIndex >= 0) { + return checkCrossProductUnion(map(elementTypes, (t, i) => target.elementFlags[i] & 8 /* Variadic */ ? t : unknownType)) ? mapType(elementTypes[unionIndex], (t) => createNormalizedTupleType(target, replaceElement(elementTypes, unionIndex, t))) : errorType; + } + } + const expandedTypes = []; + const expandedFlags = []; + const expandedDeclarations = []; + let lastRequiredIndex = -1; + let firstRestIndex = -1; + let lastOptionalOrRestIndex = -1; + for (let i = 0; i < elementTypes.length; i++) { + const type = elementTypes[i]; + const flags = target.elementFlags[i]; + if (flags & 8 /* Variadic */) { + if (type.flags & 1 /* Any */) { + addElement(type, 4 /* Rest */, (_a = target.labeledElementDeclarations) == null ? void 0 : _a[i]); + } else if (type.flags & 58982400 /* InstantiableNonPrimitive */ || isGenericMappedType(type)) { + addElement(type, 8 /* Variadic */, (_b = target.labeledElementDeclarations) == null ? void 0 : _b[i]); + } else if (isTupleType(type)) { + const elements = getElementTypes(type); + if (elements.length + expandedTypes.length >= 1e4) { + error( + currentNode, + isPartOfTypeNode(currentNode) ? Diagnostics.Type_produces_a_tuple_type_that_is_too_large_to_represent : Diagnostics.Expression_produces_a_tuple_type_that_is_too_large_to_represent + ); + return errorType; + } + forEach(elements, (t, n) => { + var _a2; + return addElement(t, type.target.elementFlags[n], (_a2 = type.target.labeledElementDeclarations) == null ? void 0 : _a2[n]); + }); + } else { + addElement(isArrayLikeType(type) && getIndexTypeOfType(type, numberType) || errorType, 4 /* Rest */, (_c = target.labeledElementDeclarations) == null ? void 0 : _c[i]); + } + } else { + addElement(type, flags, (_d = target.labeledElementDeclarations) == null ? void 0 : _d[i]); + } + } + for (let i = 0; i < lastRequiredIndex; i++) { + if (expandedFlags[i] & 2 /* Optional */) expandedFlags[i] = 1 /* Required */; + } + if (firstRestIndex >= 0 && firstRestIndex < lastOptionalOrRestIndex) { + expandedTypes[firstRestIndex] = getUnionType(sameMap(expandedTypes.slice(firstRestIndex, lastOptionalOrRestIndex + 1), (t, i) => expandedFlags[firstRestIndex + i] & 8 /* Variadic */ ? getIndexedAccessType(t, numberType) : t)); + expandedTypes.splice(firstRestIndex + 1, lastOptionalOrRestIndex - firstRestIndex); + expandedFlags.splice(firstRestIndex + 1, lastOptionalOrRestIndex - firstRestIndex); + expandedDeclarations.splice(firstRestIndex + 1, lastOptionalOrRestIndex - firstRestIndex); + } + const tupleTarget = getTupleTargetType(expandedFlags, target.readonly, expandedDeclarations); + return tupleTarget === emptyGenericType ? emptyObjectType : expandedFlags.length ? createTypeReference(tupleTarget, expandedTypes) : tupleTarget; + function addElement(type, flags, declaration) { + if (flags & 1 /* Required */) { + lastRequiredIndex = expandedFlags.length; + } + if (flags & 4 /* Rest */ && firstRestIndex < 0) { + firstRestIndex = expandedFlags.length; + } + if (flags & (2 /* Optional */ | 4 /* Rest */)) { + lastOptionalOrRestIndex = expandedFlags.length; + } + expandedTypes.push(flags & 2 /* Optional */ ? addOptionality( + type, + /*isProperty*/ + true + ) : type); + expandedFlags.push(flags); + expandedDeclarations.push(declaration); + } + } + function sliceTupleType(type, index, endSkipCount = 0) { + const target = type.target; + const endIndex = getTypeReferenceArity(type) - endSkipCount; + return index > target.fixedLength ? getRestArrayTypeOfTupleType(type) || createTupleType(emptyArray) : createTupleType( + getTypeArguments(type).slice(index, endIndex), + target.elementFlags.slice(index, endIndex), + /*readonly*/ + false, + target.labeledElementDeclarations && target.labeledElementDeclarations.slice(index, endIndex) + ); + } + function getKnownKeysOfTupleType(type) { + return getUnionType(append(arrayOf(type.target.fixedLength, (i) => getStringLiteralType("" + i)), getIndexType(type.target.readonly ? globalReadonlyArrayType : globalArrayType))); + } + function getStartElementCount(type, flags) { + const index = findIndex(type.elementFlags, (f) => !(f & flags)); + return index >= 0 ? index : type.elementFlags.length; + } + function getEndElementCount(type, flags) { + return type.elementFlags.length - findLastIndex(type.elementFlags, (f) => !(f & flags)) - 1; + } + function getTotalFixedElementCount(type) { + return type.fixedLength + getEndElementCount(type, 3 /* Fixed */); + } + function getElementTypes(type) { + const typeArguments = getTypeArguments(type); + const arity = getTypeReferenceArity(type); + return typeArguments.length === arity ? typeArguments : typeArguments.slice(0, arity); + } + function getTypeFromOptionalTypeNode(node) { + return addOptionality( + getTypeFromTypeNode(node.type), + /*isProperty*/ + true + ); + } + function getTypeId(type) { + return type.id; + } + function containsType(types, type) { + return binarySearch(types, type, getTypeId, compareValues) >= 0; + } + function insertType(types, type) { + const index = binarySearch(types, type, getTypeId, compareValues); + if (index < 0) { + types.splice(~index, 0, type); + return true; + } + return false; + } + function addTypeToUnion(typeSet, includes, type) { + const flags = type.flags; + if (!(flags & 131072 /* Never */)) { + includes |= flags & 473694207 /* IncludesMask */; + if (flags & 465829888 /* Instantiable */) includes |= 33554432 /* IncludesInstantiable */; + if (flags & 2097152 /* Intersection */ && getObjectFlags(type) & 67108864 /* IsConstrainedTypeVariable */) includes |= 536870912 /* IncludesConstrainedTypeVariable */; + if (type === wildcardType) includes |= 8388608 /* IncludesWildcard */; + if (isErrorType(type)) includes |= 1073741824 /* IncludesError */; + if (!strictNullChecks && flags & 98304 /* Nullable */) { + if (!(getObjectFlags(type) & 65536 /* ContainsWideningType */)) includes |= 4194304 /* IncludesNonWideningType */; + } else { + const len = typeSet.length; + const index = len && type.id > typeSet[len - 1].id ? ~len : binarySearch(typeSet, type, getTypeId, compareValues); + if (index < 0) { + typeSet.splice(~index, 0, type); + } + } + } + return includes; + } + function addTypesToUnion(typeSet, includes, types) { + let lastType; + for (const type of types) { + if (type !== lastType) { + includes = type.flags & 1048576 /* Union */ ? addTypesToUnion(typeSet, includes | (isNamedUnionType(type) ? 1048576 /* Union */ : 0), type.types) : addTypeToUnion(typeSet, includes, type); + lastType = type; + } + } + return includes; + } + function removeSubtypes(types, hasObjectTypes) { + var _a; + if (types.length < 2) { + return types; + } + const id = getTypeListId(types); + const match = subtypeReductionCache.get(id); + if (match) { + return match; + } + const hasEmptyObject = hasObjectTypes && some(types, (t) => !!(t.flags & 524288 /* Object */) && !isGenericMappedType(t) && isEmptyResolvedType(resolveStructuredTypeMembers(t))); + const len = types.length; + let i = len; + let count = 0; + while (i > 0) { + i--; + const source = types[i]; + if (hasEmptyObject || source.flags & 469499904 /* StructuredOrInstantiable */) { + if (source.flags & 262144 /* TypeParameter */ && getBaseConstraintOrType(source).flags & 1048576 /* Union */) { + if (isTypeRelatedTo(source, getUnionType(map(types, (t) => t === source ? neverType : t)), strictSubtypeRelation)) { + orderedRemoveItemAt(types, i); + } + continue; + } + const keyProperty = source.flags & (524288 /* Object */ | 2097152 /* Intersection */ | 58982400 /* InstantiableNonPrimitive */) ? find(getPropertiesOfType(source), (p) => isUnitType(getTypeOfSymbol(p))) : void 0; + const keyPropertyType = keyProperty && getRegularTypeOfLiteralType(getTypeOfSymbol(keyProperty)); + for (const target of types) { + if (source !== target) { + if (count === 1e5) { + const estimatedCount = count / (len - i) * len; + if (estimatedCount > 1e6) { + (_a = tracing) == null ? void 0 : _a.instant(tracing.Phase.CheckTypes, "removeSubtypes_DepthLimit", { typeIds: types.map((t) => t.id) }); + error(currentNode, Diagnostics.Expression_produces_a_union_type_that_is_too_complex_to_represent); + return void 0; + } + } + count++; + if (keyProperty && target.flags & (524288 /* Object */ | 2097152 /* Intersection */ | 58982400 /* InstantiableNonPrimitive */)) { + const t = getTypeOfPropertyOfType(target, keyProperty.escapedName); + if (t && isUnitType(t) && getRegularTypeOfLiteralType(t) !== keyPropertyType) { + continue; + } + } + if (isTypeRelatedTo(source, target, strictSubtypeRelation) && (!(getObjectFlags(getTargetType(source)) & 1 /* Class */) || !(getObjectFlags(getTargetType(target)) & 1 /* Class */) || isTypeDerivedFrom(source, target))) { + orderedRemoveItemAt(types, i); + break; + } + } + } + } + } + subtypeReductionCache.set(id, types); + return types; + } + function removeRedundantLiteralTypes(types, includes, reduceVoidUndefined) { + let i = types.length; + while (i > 0) { + i--; + const t = types[i]; + const flags = t.flags; + const remove = flags & (128 /* StringLiteral */ | 134217728 /* TemplateLiteral */ | 268435456 /* StringMapping */) && includes & 4 /* String */ || flags & 256 /* NumberLiteral */ && includes & 8 /* Number */ || flags & 2048 /* BigIntLiteral */ && includes & 64 /* BigInt */ || flags & 8192 /* UniqueESSymbol */ && includes & 4096 /* ESSymbol */ || reduceVoidUndefined && flags & 32768 /* Undefined */ && includes & 16384 /* Void */ || isFreshLiteralType(t) && containsType(types, t.regularType); + if (remove) { + orderedRemoveItemAt(types, i); + } + } + } + function removeStringLiteralsMatchedByTemplateLiterals(types) { + const templates = filter(types, isPatternLiteralType); + if (templates.length) { + let i = types.length; + while (i > 0) { + i--; + const t = types[i]; + if (t.flags & 128 /* StringLiteral */ && some(templates, (template) => isTypeMatchedByTemplateLiteralOrStringMapping(t, template))) { + orderedRemoveItemAt(types, i); + } + } + } + } + function isTypeMatchedByTemplateLiteralOrStringMapping(type, template) { + return template.flags & 134217728 /* TemplateLiteral */ ? isTypeMatchedByTemplateLiteralType(type, template) : isMemberOfStringMapping(type, template); + } + function removeConstrainedTypeVariables(types) { + const typeVariables = []; + for (const type of types) { + if (type.flags & 2097152 /* Intersection */ && getObjectFlags(type) & 67108864 /* IsConstrainedTypeVariable */) { + const index = type.types[0].flags & 8650752 /* TypeVariable */ ? 0 : 1; + pushIfUnique(typeVariables, type.types[index]); + } + } + for (const typeVariable of typeVariables) { + const primitives = []; + for (const type of types) { + if (type.flags & 2097152 /* Intersection */ && getObjectFlags(type) & 67108864 /* IsConstrainedTypeVariable */) { + const index = type.types[0].flags & 8650752 /* TypeVariable */ ? 0 : 1; + if (type.types[index] === typeVariable) { + insertType(primitives, type.types[1 - index]); + } + } + } + const constraint = getBaseConstraintOfType(typeVariable); + if (everyType(constraint, (t) => containsType(primitives, t))) { + let i = types.length; + while (i > 0) { + i--; + const type = types[i]; + if (type.flags & 2097152 /* Intersection */ && getObjectFlags(type) & 67108864 /* IsConstrainedTypeVariable */) { + const index = type.types[0].flags & 8650752 /* TypeVariable */ ? 0 : 1; + if (type.types[index] === typeVariable && containsType(primitives, type.types[1 - index])) { + orderedRemoveItemAt(types, i); + } + } + } + insertType(types, typeVariable); + } + } + } + function isNamedUnionType(type) { + return !!(type.flags & 1048576 /* Union */ && (type.aliasSymbol || type.origin)); + } + function addNamedUnions(namedUnions, types) { + for (const t of types) { + if (t.flags & 1048576 /* Union */) { + const origin = t.origin; + if (t.aliasSymbol || origin && !(origin.flags & 1048576 /* Union */)) { + pushIfUnique(namedUnions, t); + } else if (origin && origin.flags & 1048576 /* Union */) { + addNamedUnions(namedUnions, origin.types); + } + } + } + } + function createOriginUnionOrIntersectionType(flags, types) { + const result = createOriginType(flags); + result.types = types; + return result; + } + function getUnionType(types, unionReduction = 1 /* Literal */, aliasSymbol, aliasTypeArguments, origin) { + if (types.length === 0) { + return neverType; + } + if (types.length === 1) { + return types[0]; + } + if (types.length === 2 && !origin && (types[0].flags & 1048576 /* Union */ || types[1].flags & 1048576 /* Union */)) { + const infix = unionReduction === 0 /* None */ ? "N" : unionReduction === 2 /* Subtype */ ? "S" : "L"; + const index = types[0].id < types[1].id ? 0 : 1; + const id = types[index].id + infix + types[1 - index].id + getAliasId(aliasSymbol, aliasTypeArguments); + let type = unionOfUnionTypes.get(id); + if (!type) { + type = getUnionTypeWorker( + types, + unionReduction, + aliasSymbol, + aliasTypeArguments, + /*origin*/ + void 0 + ); + unionOfUnionTypes.set(id, type); + } + return type; + } + return getUnionTypeWorker(types, unionReduction, aliasSymbol, aliasTypeArguments, origin); + } + function getUnionTypeWorker(types, unionReduction, aliasSymbol, aliasTypeArguments, origin) { + let typeSet = []; + const includes = addTypesToUnion(typeSet, 0, types); + if (unionReduction !== 0 /* None */) { + if (includes & 3 /* AnyOrUnknown */) { + return includes & 1 /* Any */ ? includes & 8388608 /* IncludesWildcard */ ? wildcardType : includes & 1073741824 /* IncludesError */ ? errorType : anyType : unknownType; + } + if (includes & 32768 /* Undefined */) { + if (typeSet.length >= 2 && typeSet[0] === undefinedType && typeSet[1] === missingType) { + orderedRemoveItemAt(typeSet, 1); + } + } + if (includes & (32 /* Enum */ | 2944 /* Literal */ | 8192 /* UniqueESSymbol */ | 134217728 /* TemplateLiteral */ | 268435456 /* StringMapping */) || includes & 16384 /* Void */ && includes & 32768 /* Undefined */) { + removeRedundantLiteralTypes(typeSet, includes, !!(unionReduction & 2 /* Subtype */)); + } + if (includes & 128 /* StringLiteral */ && includes & (134217728 /* TemplateLiteral */ | 268435456 /* StringMapping */)) { + removeStringLiteralsMatchedByTemplateLiterals(typeSet); + } + if (includes & 536870912 /* IncludesConstrainedTypeVariable */) { + removeConstrainedTypeVariables(typeSet); + } + if (unionReduction === 2 /* Subtype */) { + typeSet = removeSubtypes(typeSet, !!(includes & 524288 /* Object */)); + if (!typeSet) { + return errorType; + } + } + if (typeSet.length === 0) { + return includes & 65536 /* Null */ ? includes & 4194304 /* IncludesNonWideningType */ ? nullType : nullWideningType : includes & 32768 /* Undefined */ ? includes & 4194304 /* IncludesNonWideningType */ ? undefinedType : undefinedWideningType : neverType; + } + } + if (!origin && includes & 1048576 /* Union */) { + const namedUnions = []; + addNamedUnions(namedUnions, types); + const reducedTypes = []; + for (const t of typeSet) { + if (!some(namedUnions, (union) => containsType(union.types, t))) { + reducedTypes.push(t); + } + } + if (!aliasSymbol && namedUnions.length === 1 && reducedTypes.length === 0) { + return namedUnions[0]; + } + const namedTypesCount = reduceLeft(namedUnions, (sum, union) => sum + union.types.length, 0); + if (namedTypesCount + reducedTypes.length === typeSet.length) { + for (const t of namedUnions) { + insertType(reducedTypes, t); + } + origin = createOriginUnionOrIntersectionType(1048576 /* Union */, reducedTypes); + } + } + const objectFlags = (includes & 36323331 /* NotPrimitiveUnion */ ? 0 : 32768 /* PrimitiveUnion */) | (includes & 2097152 /* Intersection */ ? 16777216 /* ContainsIntersections */ : 0); + return getUnionTypeFromSortedList(typeSet, objectFlags, aliasSymbol, aliasTypeArguments, origin); + } + function getUnionOrIntersectionTypePredicate(signatures, kind) { + let last2; + const types = []; + for (const sig of signatures) { + const pred = getTypePredicateOfSignature(sig); + if (pred) { + if (pred.kind !== 0 /* This */ && pred.kind !== 1 /* Identifier */ || last2 && !typePredicateKindsMatch(last2, pred)) { + return void 0; + } + last2 = pred; + types.push(pred.type); + } else { + const returnType = kind !== 2097152 /* Intersection */ ? getReturnTypeOfSignature(sig) : void 0; + if (returnType !== falseType && returnType !== regularFalseType) { + return void 0; + } + } + } + if (!last2) { + return void 0; + } + const compositeType = getUnionOrIntersectionType(types, kind); + return createTypePredicate(last2.kind, last2.parameterName, last2.parameterIndex, compositeType); + } + function typePredicateKindsMatch(a, b) { + return a.kind === b.kind && a.parameterIndex === b.parameterIndex; + } + function getUnionTypeFromSortedList(types, precomputedObjectFlags, aliasSymbol, aliasTypeArguments, origin) { + if (types.length === 0) { + return neverType; + } + if (types.length === 1) { + return types[0]; + } + const typeKey = !origin ? getTypeListId(types) : origin.flags & 1048576 /* Union */ ? `|${getTypeListId(origin.types)}` : origin.flags & 2097152 /* Intersection */ ? `&${getTypeListId(origin.types)}` : `#${origin.type.id}|${getTypeListId(types)}`; + const id = typeKey + getAliasId(aliasSymbol, aliasTypeArguments); + let type = unionTypes.get(id); + if (!type) { + type = createType(1048576 /* Union */); + type.objectFlags = precomputedObjectFlags | getPropagatingFlagsOfTypes( + types, + /*excludeKinds*/ + 98304 /* Nullable */ + ); + type.types = types; + type.origin = origin; + type.aliasSymbol = aliasSymbol; + type.aliasTypeArguments = aliasTypeArguments; + if (types.length === 2 && types[0].flags & 512 /* BooleanLiteral */ && types[1].flags & 512 /* BooleanLiteral */) { + type.flags |= 16 /* Boolean */; + type.intrinsicName = "boolean"; + } + unionTypes.set(id, type); + } + return type; + } + function getTypeFromUnionTypeNode(node) { + const links = getNodeLinks(node); + if (!links.resolvedType) { + const aliasSymbol = getAliasSymbolForTypeNode(node); + links.resolvedType = getUnionType(map(node.types, getTypeFromTypeNode), 1 /* Literal */, aliasSymbol, getTypeArgumentsForAliasSymbol(aliasSymbol)); + } + return links.resolvedType; + } + function addTypeToIntersection(typeSet, includes, type) { + const flags = type.flags; + if (flags & 2097152 /* Intersection */) { + return addTypesToIntersection(typeSet, includes, type.types); + } + if (isEmptyAnonymousObjectType(type)) { + if (!(includes & 16777216 /* IncludesEmptyObject */)) { + includes |= 16777216 /* IncludesEmptyObject */; + typeSet.set(type.id.toString(), type); + } + } else { + if (flags & 3 /* AnyOrUnknown */) { + if (type === wildcardType) includes |= 8388608 /* IncludesWildcard */; + if (isErrorType(type)) includes |= 1073741824 /* IncludesError */; + } else if (strictNullChecks || !(flags & 98304 /* Nullable */)) { + if (type === missingType) { + includes |= 262144 /* IncludesMissingType */; + type = undefinedType; + } + if (!typeSet.has(type.id.toString())) { + if (type.flags & 109472 /* Unit */ && includes & 109472 /* Unit */) { + includes |= 67108864 /* NonPrimitive */; + } + typeSet.set(type.id.toString(), type); + } + } + includes |= flags & 473694207 /* IncludesMask */; + } + return includes; + } + function addTypesToIntersection(typeSet, includes, types) { + for (const type of types) { + includes = addTypeToIntersection(typeSet, includes, getRegularTypeOfLiteralType(type)); + } + return includes; + } + function removeRedundantSupertypes(types, includes) { + let i = types.length; + while (i > 0) { + i--; + const t = types[i]; + const remove = t.flags & 4 /* String */ && includes & (128 /* StringLiteral */ | 134217728 /* TemplateLiteral */ | 268435456 /* StringMapping */) || t.flags & 8 /* Number */ && includes & 256 /* NumberLiteral */ || t.flags & 64 /* BigInt */ && includes & 2048 /* BigIntLiteral */ || t.flags & 4096 /* ESSymbol */ && includes & 8192 /* UniqueESSymbol */ || t.flags & 16384 /* Void */ && includes & 32768 /* Undefined */ || isEmptyAnonymousObjectType(t) && includes & 470302716 /* DefinitelyNonNullable */; + if (remove) { + orderedRemoveItemAt(types, i); + } + } + } + function eachUnionContains(unionTypes2, type) { + for (const u of unionTypes2) { + if (!containsType(u.types, type)) { + if (type === missingType) { + return containsType(u.types, undefinedType); + } + if (type === undefinedType) { + return containsType(u.types, missingType); + } + const primitive = type.flags & 128 /* StringLiteral */ ? stringType : type.flags & (32 /* Enum */ | 256 /* NumberLiteral */) ? numberType : type.flags & 2048 /* BigIntLiteral */ ? bigintType : type.flags & 8192 /* UniqueESSymbol */ ? esSymbolType : void 0; + if (!primitive || !containsType(u.types, primitive)) { + return false; + } + } + } + return true; + } + function extractRedundantTemplateLiterals(types) { + let i = types.length; + const literals = filter(types, (t) => !!(t.flags & 128 /* StringLiteral */)); + while (i > 0) { + i--; + const t = types[i]; + if (!(t.flags & (134217728 /* TemplateLiteral */ | 268435456 /* StringMapping */))) continue; + for (const t2 of literals) { + if (isTypeSubtypeOf(t2, t)) { + orderedRemoveItemAt(types, i); + break; + } else if (isPatternLiteralType(t)) { + return true; + } + } + } + return false; + } + function removeFromEach(types, flag) { + for (let i = 0; i < types.length; i++) { + types[i] = filterType(types[i], (t) => !(t.flags & flag)); + } + } + function intersectUnionsOfPrimitiveTypes(types) { + let unionTypes2; + const index = findIndex(types, (t) => !!(getObjectFlags(t) & 32768 /* PrimitiveUnion */)); + if (index < 0) { + return false; + } + let i = index + 1; + while (i < types.length) { + const t = types[i]; + if (getObjectFlags(t) & 32768 /* PrimitiveUnion */) { + (unionTypes2 || (unionTypes2 = [types[index]])).push(t); + orderedRemoveItemAt(types, i); + } else { + i++; + } + } + if (!unionTypes2) { + return false; + } + const checked = []; + const result = []; + for (const u of unionTypes2) { + for (const t of u.types) { + if (insertType(checked, t)) { + if (eachUnionContains(unionTypes2, t)) { + if (t === undefinedType && result.length && result[0] === missingType) { + continue; + } + if (t === missingType && result.length && result[0] === undefinedType) { + result[0] = missingType; + continue; + } + insertType(result, t); + } + } + } + } + types[index] = getUnionTypeFromSortedList(result, 32768 /* PrimitiveUnion */); + return true; + } + function createIntersectionType(types, objectFlags, aliasSymbol, aliasTypeArguments) { + const result = createType(2097152 /* Intersection */); + result.objectFlags = objectFlags | getPropagatingFlagsOfTypes( + types, + /*excludeKinds*/ + 98304 /* Nullable */ + ); + result.types = types; + result.aliasSymbol = aliasSymbol; + result.aliasTypeArguments = aliasTypeArguments; + return result; + } + function getIntersectionType(types, flags = 0 /* None */, aliasSymbol, aliasTypeArguments) { + const typeMembershipMap = /* @__PURE__ */ new Map(); + const includes = addTypesToIntersection(typeMembershipMap, 0, types); + const typeSet = arrayFrom(typeMembershipMap.values()); + let objectFlags = 0 /* None */; + if (includes & 131072 /* Never */) { + return contains(typeSet, silentNeverType) ? silentNeverType : neverType; + } + if (strictNullChecks && includes & 98304 /* Nullable */ && includes & (524288 /* Object */ | 67108864 /* NonPrimitive */ | 16777216 /* IncludesEmptyObject */) || includes & 67108864 /* NonPrimitive */ && includes & (469892092 /* DisjointDomains */ & ~67108864 /* NonPrimitive */) || includes & 402653316 /* StringLike */ && includes & (469892092 /* DisjointDomains */ & ~402653316 /* StringLike */) || includes & 296 /* NumberLike */ && includes & (469892092 /* DisjointDomains */ & ~296 /* NumberLike */) || includes & 2112 /* BigIntLike */ && includes & (469892092 /* DisjointDomains */ & ~2112 /* BigIntLike */) || includes & 12288 /* ESSymbolLike */ && includes & (469892092 /* DisjointDomains */ & ~12288 /* ESSymbolLike */) || includes & 49152 /* VoidLike */ && includes & (469892092 /* DisjointDomains */ & ~49152 /* VoidLike */)) { + return neverType; + } + if (includes & (134217728 /* TemplateLiteral */ | 268435456 /* StringMapping */) && includes & 128 /* StringLiteral */ && extractRedundantTemplateLiterals(typeSet)) { + return neverType; + } + if (includes & 1 /* Any */) { + return includes & 8388608 /* IncludesWildcard */ ? wildcardType : includes & 1073741824 /* IncludesError */ ? errorType : anyType; + } + if (!strictNullChecks && includes & 98304 /* Nullable */) { + return includes & 16777216 /* IncludesEmptyObject */ ? neverType : includes & 32768 /* Undefined */ ? undefinedType : nullType; + } + if (includes & 4 /* String */ && includes & (128 /* StringLiteral */ | 134217728 /* TemplateLiteral */ | 268435456 /* StringMapping */) || includes & 8 /* Number */ && includes & 256 /* NumberLiteral */ || includes & 64 /* BigInt */ && includes & 2048 /* BigIntLiteral */ || includes & 4096 /* ESSymbol */ && includes & 8192 /* UniqueESSymbol */ || includes & 16384 /* Void */ && includes & 32768 /* Undefined */ || includes & 16777216 /* IncludesEmptyObject */ && includes & 470302716 /* DefinitelyNonNullable */) { + if (!(flags & 1 /* NoSupertypeReduction */)) removeRedundantSupertypes(typeSet, includes); + } + if (includes & 262144 /* IncludesMissingType */) { + typeSet[typeSet.indexOf(undefinedType)] = missingType; + } + if (typeSet.length === 0) { + return unknownType; + } + if (typeSet.length === 1) { + return typeSet[0]; + } + if (typeSet.length === 2 && !(flags & 2 /* NoConstraintReduction */)) { + const typeVarIndex = typeSet[0].flags & 8650752 /* TypeVariable */ ? 0 : 1; + const typeVariable = typeSet[typeVarIndex]; + const primitiveType = typeSet[1 - typeVarIndex]; + if (typeVariable.flags & 8650752 /* TypeVariable */ && (primitiveType.flags & (402784252 /* Primitive */ | 67108864 /* NonPrimitive */) && !isGenericStringLikeType(primitiveType) || includes & 16777216 /* IncludesEmptyObject */)) { + const constraint = getBaseConstraintOfType(typeVariable); + if (constraint && everyType(constraint, (t) => !!(t.flags & (402784252 /* Primitive */ | 67108864 /* NonPrimitive */)) || isEmptyAnonymousObjectType(t))) { + if (isTypeStrictSubtypeOf(constraint, primitiveType)) { + return typeVariable; + } + if (!(constraint.flags & 1048576 /* Union */ && someType(constraint, (c) => isTypeStrictSubtypeOf(c, primitiveType)))) { + if (!isTypeStrictSubtypeOf(primitiveType, constraint)) { + return neverType; + } + } + objectFlags = 67108864 /* IsConstrainedTypeVariable */; + } + } + } + const id = getTypeListId(typeSet) + (flags & 2 /* NoConstraintReduction */ ? "*" : getAliasId(aliasSymbol, aliasTypeArguments)); + let result = intersectionTypes.get(id); + if (!result) { + if (includes & 1048576 /* Union */) { + if (intersectUnionsOfPrimitiveTypes(typeSet)) { + result = getIntersectionType(typeSet, flags, aliasSymbol, aliasTypeArguments); + } else if (every(typeSet, (t) => !!(t.flags & 1048576 /* Union */ && t.types[0].flags & 32768 /* Undefined */))) { + const containedUndefinedType = some(typeSet, containsMissingType) ? missingType : undefinedType; + removeFromEach(typeSet, 32768 /* Undefined */); + result = getUnionType([getIntersectionType(typeSet, flags), containedUndefinedType], 1 /* Literal */, aliasSymbol, aliasTypeArguments); + } else if (every(typeSet, (t) => !!(t.flags & 1048576 /* Union */ && (t.types[0].flags & 65536 /* Null */ || t.types[1].flags & 65536 /* Null */)))) { + removeFromEach(typeSet, 65536 /* Null */); + result = getUnionType([getIntersectionType(typeSet, flags), nullType], 1 /* Literal */, aliasSymbol, aliasTypeArguments); + } else if (typeSet.length >= 3 && types.length > 2) { + const middle = Math.floor(typeSet.length / 2); + result = getIntersectionType([getIntersectionType(typeSet.slice(0, middle), flags), getIntersectionType(typeSet.slice(middle), flags)], flags, aliasSymbol, aliasTypeArguments); + } else { + if (!checkCrossProductUnion(typeSet)) { + return errorType; + } + const constituents = getCrossProductIntersections(typeSet, flags); + const origin = some(constituents, (t) => !!(t.flags & 2097152 /* Intersection */)) && getConstituentCountOfTypes(constituents) > getConstituentCountOfTypes(typeSet) ? createOriginUnionOrIntersectionType(2097152 /* Intersection */, typeSet) : void 0; + result = getUnionType(constituents, 1 /* Literal */, aliasSymbol, aliasTypeArguments, origin); + } + } else { + result = createIntersectionType(typeSet, objectFlags, aliasSymbol, aliasTypeArguments); + } + intersectionTypes.set(id, result); + } + return result; + } + function getCrossProductUnionSize(types) { + return reduceLeft(types, (n, t) => t.flags & 1048576 /* Union */ ? n * t.types.length : t.flags & 131072 /* Never */ ? 0 : n, 1); + } + function checkCrossProductUnion(types) { + var _a; + const size = getCrossProductUnionSize(types); + if (size >= 1e5) { + (_a = tracing) == null ? void 0 : _a.instant(tracing.Phase.CheckTypes, "checkCrossProductUnion_DepthLimit", { typeIds: types.map((t) => t.id), size }); + error(currentNode, Diagnostics.Expression_produces_a_union_type_that_is_too_complex_to_represent); + return false; + } + return true; + } + function getCrossProductIntersections(types, flags) { + const count = getCrossProductUnionSize(types); + const intersections = []; + for (let i = 0; i < count; i++) { + const constituents = types.slice(); + let n = i; + for (let j = types.length - 1; j >= 0; j--) { + if (types[j].flags & 1048576 /* Union */) { + const sourceTypes = types[j].types; + const length2 = sourceTypes.length; + constituents[j] = sourceTypes[n % length2]; + n = Math.floor(n / length2); + } + } + const t = getIntersectionType(constituents, flags); + if (!(t.flags & 131072 /* Never */)) intersections.push(t); + } + return intersections; + } + function getConstituentCount(type) { + return !(type.flags & 3145728 /* UnionOrIntersection */) || type.aliasSymbol ? 1 : type.flags & 1048576 /* Union */ && type.origin ? getConstituentCount(type.origin) : getConstituentCountOfTypes(type.types); + } + function getConstituentCountOfTypes(types) { + return reduceLeft(types, (n, t) => n + getConstituentCount(t), 0); + } + function getTypeFromIntersectionTypeNode(node) { + const links = getNodeLinks(node); + if (!links.resolvedType) { + const aliasSymbol = getAliasSymbolForTypeNode(node); + const types = map(node.types, getTypeFromTypeNode); + const emptyIndex = types.length === 2 ? types.indexOf(emptyTypeLiteralType) : -1; + const t = emptyIndex >= 0 ? types[1 - emptyIndex] : unknownType; + const noSupertypeReduction = !!(t.flags & (4 /* String */ | 8 /* Number */ | 64 /* BigInt */) || t.flags & 134217728 /* TemplateLiteral */ && isPatternLiteralType(t)); + links.resolvedType = getIntersectionType(types, noSupertypeReduction ? 1 /* NoSupertypeReduction */ : 0, aliasSymbol, getTypeArgumentsForAliasSymbol(aliasSymbol)); + } + return links.resolvedType; + } + function createIndexType(type, indexFlags) { + const result = createType(4194304 /* Index */); + result.type = type; + result.indexFlags = indexFlags; + return result; + } + function createOriginIndexType(type) { + const result = createOriginType(4194304 /* Index */); + result.type = type; + return result; + } + function getIndexTypeForGenericType(type, indexFlags) { + return indexFlags & 1 /* StringsOnly */ ? type.resolvedStringIndexType || (type.resolvedStringIndexType = createIndexType(type, 1 /* StringsOnly */)) : type.resolvedIndexType || (type.resolvedIndexType = createIndexType(type, 0 /* None */)); + } + function getIndexTypeForMappedType(type, indexFlags) { + const typeParameter = getTypeParameterFromMappedType(type); + const constraintType = getConstraintTypeFromMappedType(type); + const nameType = getNameTypeFromMappedType(type.target || type); + if (!nameType && !(indexFlags & 2 /* NoIndexSignatures */)) { + return constraintType; + } + const keyTypes = []; + if (isGenericIndexType(constraintType)) { + if (isMappedTypeWithKeyofConstraintDeclaration(type)) { + return getIndexTypeForGenericType(type, indexFlags); + } + forEachType(constraintType, addMemberForKeyType); + } else if (isMappedTypeWithKeyofConstraintDeclaration(type)) { + const modifiersType = getApparentType(getModifiersTypeFromMappedType(type)); + forEachMappedTypePropertyKeyTypeAndIndexSignatureKeyType(modifiersType, 8576 /* StringOrNumberLiteralOrUnique */, !!(indexFlags & 1 /* StringsOnly */), addMemberForKeyType); + } else { + forEachType(getLowerBoundOfKeyType(constraintType), addMemberForKeyType); + } + const result = indexFlags & 2 /* NoIndexSignatures */ ? filterType(getUnionType(keyTypes), (t) => !(t.flags & (1 /* Any */ | 4 /* String */))) : getUnionType(keyTypes); + if (result.flags & 1048576 /* Union */ && constraintType.flags & 1048576 /* Union */ && getTypeListId(result.types) === getTypeListId(constraintType.types)) { + return constraintType; + } + return result; + function addMemberForKeyType(keyType) { + const propNameType = nameType ? instantiateType(nameType, appendTypeMapping(type.mapper, typeParameter, keyType)) : keyType; + keyTypes.push(propNameType === stringType ? stringOrNumberType : propNameType); + } + } + function hasDistributiveNameType(mappedType) { + const typeVariable = getTypeParameterFromMappedType(mappedType); + return isDistributive(getNameTypeFromMappedType(mappedType) || typeVariable); + function isDistributive(type) { + return type.flags & (3 /* AnyOrUnknown */ | 402784252 /* Primitive */ | 131072 /* Never */ | 262144 /* TypeParameter */ | 524288 /* Object */ | 67108864 /* NonPrimitive */) ? true : type.flags & 16777216 /* Conditional */ ? type.root.isDistributive && type.checkType === typeVariable : type.flags & (3145728 /* UnionOrIntersection */ | 134217728 /* TemplateLiteral */) ? every(type.types, isDistributive) : type.flags & 8388608 /* IndexedAccess */ ? isDistributive(type.objectType) && isDistributive(type.indexType) : type.flags & 33554432 /* Substitution */ ? isDistributive(type.baseType) && isDistributive(type.constraint) : type.flags & 268435456 /* StringMapping */ ? isDistributive(type.type) : false; + } + } + function getLiteralTypeFromPropertyName(name) { + if (isPrivateIdentifier(name)) { + return neverType; + } + if (isNumericLiteral(name)) { + return getRegularTypeOfLiteralType(checkExpression(name)); + } + if (isComputedPropertyName(name)) { + return getRegularTypeOfLiteralType(checkComputedPropertyName(name)); + } + const propertyName = getPropertyNameForPropertyNameNode(name); + if (propertyName !== void 0) { + return getStringLiteralType(unescapeLeadingUnderscores(propertyName)); + } + if (isExpression(name)) { + return getRegularTypeOfLiteralType(checkExpression(name)); + } + return neverType; + } + function getLiteralTypeFromProperty(prop, include, includeNonPublic) { + if (includeNonPublic || !(getDeclarationModifierFlagsFromSymbol(prop) & 6 /* NonPublicAccessibilityModifier */)) { + let type = getSymbolLinks(getLateBoundSymbol(prop)).nameType; + if (!type) { + const name = getNameOfDeclaration(prop.valueDeclaration); + type = prop.escapedName === "default" /* Default */ ? getStringLiteralType("default") : name && getLiteralTypeFromPropertyName(name) || (!isKnownSymbol(prop) ? getStringLiteralType(symbolName(prop)) : void 0); + } + if (type && type.flags & include) { + return type; + } + } + return neverType; + } + function isKeyTypeIncluded(keyType, include) { + return !!(keyType.flags & include || keyType.flags & 2097152 /* Intersection */ && some(keyType.types, (t) => isKeyTypeIncluded(t, include))); + } + function getLiteralTypeFromProperties(type, include, includeOrigin) { + const origin = includeOrigin && (getObjectFlags(type) & (3 /* ClassOrInterface */ | 4 /* Reference */) || type.aliasSymbol) ? createOriginIndexType(type) : void 0; + const propertyTypes = map(getPropertiesOfType(type), (prop) => getLiteralTypeFromProperty(prop, include)); + const indexKeyTypes = map(getIndexInfosOfType(type), (info) => info !== enumNumberIndexInfo && isKeyTypeIncluded(info.keyType, include) ? info.keyType === stringType && include & 8 /* Number */ ? stringOrNumberType : info.keyType : neverType); + return getUnionType( + concatenate(propertyTypes, indexKeyTypes), + 1 /* Literal */, + /*aliasSymbol*/ + void 0, + /*aliasTypeArguments*/ + void 0, + origin + ); + } + function shouldDeferIndexType(type, indexFlags = 0 /* None */) { + return !!(type.flags & 58982400 /* InstantiableNonPrimitive */ || isGenericTupleType(type) || isGenericMappedType(type) && (!hasDistributiveNameType(type) || getMappedTypeNameTypeKind(type) === 2 /* Remapping */) || type.flags & 1048576 /* Union */ && !(indexFlags & 4 /* NoReducibleCheck */) && isGenericReducibleType(type) || type.flags & 2097152 /* Intersection */ && maybeTypeOfKind(type, 465829888 /* Instantiable */) && some(type.types, isEmptyAnonymousObjectType)); + } + function getIndexType(type, indexFlags = 0 /* None */) { + type = getReducedType(type); + return isNoInferType(type) ? getNoInferType(getIndexType(type.baseType, indexFlags)) : shouldDeferIndexType(type, indexFlags) ? getIndexTypeForGenericType(type, indexFlags) : type.flags & 1048576 /* Union */ ? getIntersectionType(map(type.types, (t) => getIndexType(t, indexFlags))) : type.flags & 2097152 /* Intersection */ ? getUnionType(map(type.types, (t) => getIndexType(t, indexFlags))) : getObjectFlags(type) & 32 /* Mapped */ ? getIndexTypeForMappedType(type, indexFlags) : type === wildcardType ? wildcardType : type.flags & 2 /* Unknown */ ? neverType : type.flags & (1 /* Any */ | 131072 /* Never */) ? stringNumberSymbolType : getLiteralTypeFromProperties(type, (indexFlags & 2 /* NoIndexSignatures */ ? 128 /* StringLiteral */ : 402653316 /* StringLike */) | (indexFlags & 1 /* StringsOnly */ ? 0 : 296 /* NumberLike */ | 12288 /* ESSymbolLike */), indexFlags === 0 /* None */); + } + function getExtractStringType(type) { + const extractTypeAlias = getGlobalExtractSymbol(); + return extractTypeAlias ? getTypeAliasInstantiation(extractTypeAlias, [type, stringType]) : stringType; + } + function getIndexTypeOrString(type) { + const indexType = getExtractStringType(getIndexType(type)); + return indexType.flags & 131072 /* Never */ ? stringType : indexType; + } + function getTypeFromTypeOperatorNode(node) { + const links = getNodeLinks(node); + if (!links.resolvedType) { + switch (node.operator) { + case 143 /* KeyOfKeyword */: + links.resolvedType = getIndexType(getTypeFromTypeNode(node.type)); + break; + case 158 /* UniqueKeyword */: + links.resolvedType = node.type.kind === 155 /* SymbolKeyword */ ? getESSymbolLikeTypeForNode(walkUpParenthesizedTypes(node.parent)) : errorType; + break; + case 148 /* ReadonlyKeyword */: + links.resolvedType = getTypeFromTypeNode(node.type); + break; + default: + Debug.assertNever(node.operator); + } + } + return links.resolvedType; + } + function getTypeFromTemplateTypeNode(node) { + const links = getNodeLinks(node); + if (!links.resolvedType) { + links.resolvedType = getTemplateLiteralType( + [node.head.text, ...map(node.templateSpans, (span) => span.literal.text)], + map(node.templateSpans, (span) => getTypeFromTypeNode(span.type)) + ); + } + return links.resolvedType; + } + function getTemplateLiteralType(texts, types) { + const unionIndex = findIndex(types, (t) => !!(t.flags & (131072 /* Never */ | 1048576 /* Union */))); + if (unionIndex >= 0) { + return checkCrossProductUnion(types) ? mapType(types[unionIndex], (t) => getTemplateLiteralType(texts, replaceElement(types, unionIndex, t))) : errorType; + } + if (contains(types, wildcardType)) { + return wildcardType; + } + const newTypes = []; + const newTexts = []; + let text = texts[0]; + if (!addSpans(texts, types)) { + return stringType; + } + if (newTypes.length === 0) { + return getStringLiteralType(text); + } + newTexts.push(text); + if (every(newTexts, (t) => t === "")) { + if (every(newTypes, (t) => !!(t.flags & 4 /* String */))) { + return stringType; + } + if (newTypes.length === 1 && isPatternLiteralType(newTypes[0])) { + return newTypes[0]; + } + } + const id = `${getTypeListId(newTypes)}|${map(newTexts, (t) => t.length).join(",")}|${newTexts.join("")}`; + let type = templateLiteralTypes.get(id); + if (!type) { + templateLiteralTypes.set(id, type = createTemplateLiteralType(newTexts, newTypes)); + } + return type; + function addSpans(texts2, types2) { + for (let i = 0; i < types2.length; i++) { + const t = types2[i]; + if (t.flags & (2944 /* Literal */ | 65536 /* Null */ | 32768 /* Undefined */)) { + text += getTemplateStringForType(t) || ""; + text += texts2[i + 1]; + } else if (t.flags & 134217728 /* TemplateLiteral */) { + text += t.texts[0]; + if (!addSpans(t.texts, t.types)) return false; + text += texts2[i + 1]; + } else if (isGenericIndexType(t) || isPatternLiteralPlaceholderType(t)) { + newTypes.push(t); + newTexts.push(text); + text = texts2[i + 1]; + } else { + return false; + } + } + return true; + } + } + function getTemplateStringForType(type) { + return type.flags & 128 /* StringLiteral */ ? type.value : type.flags & 256 /* NumberLiteral */ ? "" + type.value : type.flags & 2048 /* BigIntLiteral */ ? pseudoBigIntToString(type.value) : type.flags & (512 /* BooleanLiteral */ | 98304 /* Nullable */) ? type.intrinsicName : void 0; + } + function createTemplateLiteralType(texts, types) { + const type = createType(134217728 /* TemplateLiteral */); + type.texts = texts; + type.types = types; + return type; + } + function getStringMappingType(symbol, type) { + return type.flags & (1048576 /* Union */ | 131072 /* Never */) ? mapType(type, (t) => getStringMappingType(symbol, t)) : type.flags & 128 /* StringLiteral */ ? getStringLiteralType(applyStringMapping(symbol, type.value)) : type.flags & 134217728 /* TemplateLiteral */ ? getTemplateLiteralType(...applyTemplateStringMapping(symbol, type.texts, type.types)) : ( + // Mapping> === Mapping + type.flags & 268435456 /* StringMapping */ && symbol === type.symbol ? type : type.flags & (1 /* Any */ | 4 /* String */ | 268435456 /* StringMapping */) || isGenericIndexType(type) ? getStringMappingTypeForGenericType(symbol, type) : ( + // This handles Mapping<`${number}`> and Mapping<`${bigint}`> + isPatternLiteralPlaceholderType(type) ? getStringMappingTypeForGenericType(symbol, getTemplateLiteralType(["", ""], [type])) : type + ) + ); + } + function applyStringMapping(symbol, str) { + switch (intrinsicTypeKinds.get(symbol.escapedName)) { + case 0 /* Uppercase */: + return str.toUpperCase(); + case 1 /* Lowercase */: + return str.toLowerCase(); + case 2 /* Capitalize */: + return str.charAt(0).toUpperCase() + str.slice(1); + case 3 /* Uncapitalize */: + return str.charAt(0).toLowerCase() + str.slice(1); + } + return str; + } + function applyTemplateStringMapping(symbol, texts, types) { + switch (intrinsicTypeKinds.get(symbol.escapedName)) { + case 0 /* Uppercase */: + return [texts.map((t) => t.toUpperCase()), types.map((t) => getStringMappingType(symbol, t))]; + case 1 /* Lowercase */: + return [texts.map((t) => t.toLowerCase()), types.map((t) => getStringMappingType(symbol, t))]; + case 2 /* Capitalize */: + return [texts[0] === "" ? texts : [texts[0].charAt(0).toUpperCase() + texts[0].slice(1), ...texts.slice(1)], texts[0] === "" ? [getStringMappingType(symbol, types[0]), ...types.slice(1)] : types]; + case 3 /* Uncapitalize */: + return [texts[0] === "" ? texts : [texts[0].charAt(0).toLowerCase() + texts[0].slice(1), ...texts.slice(1)], texts[0] === "" ? [getStringMappingType(symbol, types[0]), ...types.slice(1)] : types]; + } + return [texts, types]; + } + function getStringMappingTypeForGenericType(symbol, type) { + const id = `${getSymbolId(symbol)},${getTypeId(type)}`; + let result = stringMappingTypes.get(id); + if (!result) { + stringMappingTypes.set(id, result = createStringMappingType(symbol, type)); + } + return result; + } + function createStringMappingType(symbol, type) { + const result = createTypeWithSymbol(268435456 /* StringMapping */, symbol); + result.type = type; + return result; + } + function createIndexedAccessType(objectType, indexType, accessFlags, aliasSymbol, aliasTypeArguments) { + const type = createType(8388608 /* IndexedAccess */); + type.objectType = objectType; + type.indexType = indexType; + type.accessFlags = accessFlags; + type.aliasSymbol = aliasSymbol; + type.aliasTypeArguments = aliasTypeArguments; + return type; + } + function isJSLiteralType(type) { + if (noImplicitAny) { + return false; + } + if (getObjectFlags(type) & 4096 /* JSLiteral */) { + return true; + } + if (type.flags & 1048576 /* Union */) { + return every(type.types, isJSLiteralType); + } + if (type.flags & 2097152 /* Intersection */) { + return some(type.types, isJSLiteralType); + } + if (type.flags & 465829888 /* Instantiable */) { + const constraint = getResolvedBaseConstraint(type); + return constraint !== type && isJSLiteralType(constraint); + } + return false; + } + function getPropertyNameFromIndex(indexType, accessNode) { + return isTypeUsableAsPropertyName(indexType) ? getPropertyNameFromType(indexType) : accessNode && isPropertyName(accessNode) ? ( + // late bound names are handled in the first branch, so here we only need to handle normal names + getPropertyNameForPropertyNameNode(accessNode) + ) : void 0; + } + function isUncalledFunctionReference(node, symbol) { + if (symbol.flags & (16 /* Function */ | 8192 /* Method */)) { + const parent = findAncestor(node.parent, (n) => !isAccessExpression(n)) || node.parent; + if (isCallLikeExpression(parent)) { + return isCallOrNewExpression(parent) && isIdentifier(node) && hasMatchingArgument(parent, node); + } + return every(symbol.declarations, (d) => !isFunctionLike(d) || isDeprecatedDeclaration(d)); + } + return true; + } + function getPropertyTypeForIndexType(originalObjectType, objectType, indexType, fullIndexType, accessNode, accessFlags) { + const accessExpression = accessNode && accessNode.kind === 212 /* ElementAccessExpression */ ? accessNode : void 0; + const propName = accessNode && isPrivateIdentifier(accessNode) ? void 0 : getPropertyNameFromIndex(indexType, accessNode); + if (propName !== void 0) { + if (accessFlags & 256 /* Contextual */) { + return getTypeOfPropertyOfContextualType(objectType, propName) || anyType; + } + const prop = getPropertyOfType(objectType, propName); + if (prop) { + if (accessFlags & 64 /* ReportDeprecated */ && accessNode && prop.declarations && isDeprecatedSymbol(prop) && isUncalledFunctionReference(accessNode, prop)) { + const deprecatedNode = (accessExpression == null ? void 0 : accessExpression.argumentExpression) ?? (isIndexedAccessTypeNode(accessNode) ? accessNode.indexType : accessNode); + addDeprecatedSuggestion(deprecatedNode, prop.declarations, propName); + } + if (accessExpression) { + markPropertyAsReferenced(prop, accessExpression, isSelfTypeAccess(accessExpression.expression, objectType.symbol)); + if (isAssignmentToReadonlyEntity(accessExpression, prop, getAssignmentTargetKind(accessExpression))) { + error(accessExpression.argumentExpression, Diagnostics.Cannot_assign_to_0_because_it_is_a_read_only_property, symbolToString(prop)); + return void 0; + } + if (accessFlags & 8 /* CacheSymbol */) { + getNodeLinks(accessNode).resolvedSymbol = prop; + } + if (isThisPropertyAccessInConstructor(accessExpression, prop)) { + return autoType; + } + } + const propType = accessFlags & 4 /* Writing */ ? getWriteTypeOfSymbol(prop) : getTypeOfSymbol(prop); + return accessExpression && getAssignmentTargetKind(accessExpression) !== 1 /* Definite */ ? getFlowTypeOfReference(accessExpression, propType) : accessNode && isIndexedAccessTypeNode(accessNode) && containsMissingType(propType) ? getUnionType([propType, undefinedType]) : propType; + } + if (everyType(objectType, isTupleType) && isNumericLiteralName(propName)) { + const index = +propName; + if (accessNode && everyType(objectType, (t) => !(t.target.combinedFlags & 12 /* Variable */)) && !(accessFlags & 16 /* AllowMissing */)) { + const indexNode = getIndexNodeForAccessExpression(accessNode); + if (isTupleType(objectType)) { + if (index < 0) { + error(indexNode, Diagnostics.A_tuple_type_cannot_be_indexed_with_a_negative_value); + return undefinedType; + } + error(indexNode, Diagnostics.Tuple_type_0_of_length_1_has_no_element_at_index_2, typeToString(objectType), getTypeReferenceArity(objectType), unescapeLeadingUnderscores(propName)); + } else { + error(indexNode, Diagnostics.Property_0_does_not_exist_on_type_1, unescapeLeadingUnderscores(propName), typeToString(objectType)); + } + } + if (index >= 0) { + errorIfWritingToReadonlyIndex(getIndexInfoOfType(objectType, numberType)); + return getTupleElementTypeOutOfStartCount(objectType, index, accessFlags & 1 /* IncludeUndefined */ ? missingType : void 0); + } + } + } + if (!(indexType.flags & 98304 /* Nullable */) && isTypeAssignableToKind(indexType, 402653316 /* StringLike */ | 296 /* NumberLike */ | 12288 /* ESSymbolLike */)) { + if (objectType.flags & (1 /* Any */ | 131072 /* Never */)) { + return objectType; + } + const indexInfo = getApplicableIndexInfo(objectType, indexType) || getIndexInfoOfType(objectType, stringType); + if (indexInfo) { + if (accessFlags & 2 /* NoIndexSignatures */ && indexInfo.keyType !== numberType) { + if (accessExpression) { + if (accessFlags & 4 /* Writing */) { + error(accessExpression, Diagnostics.Type_0_is_generic_and_can_only_be_indexed_for_reading, typeToString(originalObjectType)); + } else { + error(accessExpression, Diagnostics.Type_0_cannot_be_used_to_index_type_1, typeToString(indexType), typeToString(originalObjectType)); + } + } + return void 0; + } + if (accessNode && indexInfo.keyType === stringType && !isTypeAssignableToKind(indexType, 4 /* String */ | 8 /* Number */)) { + const indexNode = getIndexNodeForAccessExpression(accessNode); + error(indexNode, Diagnostics.Type_0_cannot_be_used_as_an_index_type, typeToString(indexType)); + return accessFlags & 1 /* IncludeUndefined */ ? getUnionType([indexInfo.type, missingType]) : indexInfo.type; + } + errorIfWritingToReadonlyIndex(indexInfo); + if (accessFlags & 1 /* IncludeUndefined */ && !(objectType.symbol && objectType.symbol.flags & (256 /* RegularEnum */ | 128 /* ConstEnum */) && (indexType.symbol && indexType.flags & 1024 /* EnumLiteral */ && getParentOfSymbol(indexType.symbol) === objectType.symbol))) { + return getUnionType([indexInfo.type, missingType]); + } + return indexInfo.type; + } + if (indexType.flags & 131072 /* Never */) { + return neverType; + } + if (isJSLiteralType(objectType)) { + return anyType; + } + if (accessExpression && !isConstEnumObjectType(objectType)) { + if (isObjectLiteralType(objectType)) { + if (noImplicitAny && indexType.flags & (128 /* StringLiteral */ | 256 /* NumberLiteral */)) { + diagnostics.add(createDiagnosticForNode(accessExpression, Diagnostics.Property_0_does_not_exist_on_type_1, indexType.value, typeToString(objectType))); + return undefinedType; + } else if (indexType.flags & (8 /* Number */ | 4 /* String */)) { + const types = map(objectType.properties, (property) => { + return getTypeOfSymbol(property); + }); + return getUnionType(append(types, undefinedType)); + } + } + if (objectType.symbol === globalThisSymbol && propName !== void 0 && globalThisSymbol.exports.has(propName) && globalThisSymbol.exports.get(propName).flags & 418 /* BlockScoped */) { + error(accessExpression, Diagnostics.Property_0_does_not_exist_on_type_1, unescapeLeadingUnderscores(propName), typeToString(objectType)); + } else if (noImplicitAny && !(accessFlags & 128 /* SuppressNoImplicitAnyError */)) { + if (propName !== void 0 && typeHasStaticProperty(propName, objectType)) { + const typeName = typeToString(objectType); + error(accessExpression, Diagnostics.Property_0_does_not_exist_on_type_1_Did_you_mean_to_access_the_static_member_2_instead, propName, typeName, typeName + "[" + getTextOfNode(accessExpression.argumentExpression) + "]"); + } else if (getIndexTypeOfType(objectType, numberType)) { + error(accessExpression.argumentExpression, Diagnostics.Element_implicitly_has_an_any_type_because_index_expression_is_not_of_type_number); + } else { + let suggestion; + if (propName !== void 0 && (suggestion = getSuggestionForNonexistentProperty(propName, objectType))) { + if (suggestion !== void 0) { + error(accessExpression.argumentExpression, Diagnostics.Property_0_does_not_exist_on_type_1_Did_you_mean_2, propName, typeToString(objectType), suggestion); + } + } else { + const suggestion2 = getSuggestionForNonexistentIndexSignature(objectType, accessExpression, indexType); + if (suggestion2 !== void 0) { + error(accessExpression, Diagnostics.Element_implicitly_has_an_any_type_because_type_0_has_no_index_signature_Did_you_mean_to_call_1, typeToString(objectType), suggestion2); + } else { + let errorInfo; + if (indexType.flags & 1024 /* EnumLiteral */) { + errorInfo = chainDiagnosticMessages( + /*details*/ + void 0, + Diagnostics.Property_0_does_not_exist_on_type_1, + "[" + typeToString(indexType) + "]", + typeToString(objectType) + ); + } else if (indexType.flags & 8192 /* UniqueESSymbol */) { + const symbolName2 = getFullyQualifiedName(indexType.symbol, accessExpression); + errorInfo = chainDiagnosticMessages( + /*details*/ + void 0, + Diagnostics.Property_0_does_not_exist_on_type_1, + "[" + symbolName2 + "]", + typeToString(objectType) + ); + } else if (indexType.flags & 128 /* StringLiteral */) { + errorInfo = chainDiagnosticMessages( + /*details*/ + void 0, + Diagnostics.Property_0_does_not_exist_on_type_1, + indexType.value, + typeToString(objectType) + ); + } else if (indexType.flags & 256 /* NumberLiteral */) { + errorInfo = chainDiagnosticMessages( + /*details*/ + void 0, + Diagnostics.Property_0_does_not_exist_on_type_1, + indexType.value, + typeToString(objectType) + ); + } else if (indexType.flags & (8 /* Number */ | 4 /* String */)) { + errorInfo = chainDiagnosticMessages( + /*details*/ + void 0, + Diagnostics.No_index_signature_with_a_parameter_of_type_0_was_found_on_type_1, + typeToString(indexType), + typeToString(objectType) + ); + } + errorInfo = chainDiagnosticMessages( + errorInfo, + Diagnostics.Element_implicitly_has_an_any_type_because_expression_of_type_0_can_t_be_used_to_index_type_1, + typeToString(fullIndexType), + typeToString(objectType) + ); + diagnostics.add(createDiagnosticForNodeFromMessageChain(getSourceFileOfNode(accessExpression), accessExpression, errorInfo)); + } + } + } + } + return void 0; + } + } + if (accessFlags & 16 /* AllowMissing */ && isObjectLiteralType(objectType)) { + return undefinedType; + } + if (isJSLiteralType(objectType)) { + return anyType; + } + if (accessNode) { + const indexNode = getIndexNodeForAccessExpression(accessNode); + if (indexNode.kind !== 10 /* BigIntLiteral */ && indexType.flags & (128 /* StringLiteral */ | 256 /* NumberLiteral */)) { + error(indexNode, Diagnostics.Property_0_does_not_exist_on_type_1, "" + indexType.value, typeToString(objectType)); + } else if (indexType.flags & (4 /* String */ | 8 /* Number */)) { + error(indexNode, Diagnostics.Type_0_has_no_matching_index_signature_for_type_1, typeToString(objectType), typeToString(indexType)); + } else { + const typeString = indexNode.kind === 10 /* BigIntLiteral */ ? "bigint" : typeToString(indexType); + error(indexNode, Diagnostics.Type_0_cannot_be_used_as_an_index_type, typeString); + } + } + if (isTypeAny(indexType)) { + return indexType; + } + return void 0; + function errorIfWritingToReadonlyIndex(indexInfo) { + if (indexInfo && indexInfo.isReadonly && accessExpression && (isAssignmentTarget(accessExpression) || isDeleteTarget(accessExpression))) { + error(accessExpression, Diagnostics.Index_signature_in_type_0_only_permits_reading, typeToString(objectType)); + } + } + } + function getIndexNodeForAccessExpression(accessNode) { + return accessNode.kind === 212 /* ElementAccessExpression */ ? accessNode.argumentExpression : accessNode.kind === 199 /* IndexedAccessType */ ? accessNode.indexType : accessNode.kind === 167 /* ComputedPropertyName */ ? accessNode.expression : accessNode; + } + function isPatternLiteralPlaceholderType(type) { + if (type.flags & 2097152 /* Intersection */) { + let seenPlaceholder = false; + for (const t of type.types) { + if (t.flags & (2944 /* Literal */ | 98304 /* Nullable */) || isPatternLiteralPlaceholderType(t)) { + seenPlaceholder = true; + } else if (!(t.flags & 524288 /* Object */)) { + return false; + } + } + return seenPlaceholder; + } + return !!(type.flags & (1 /* Any */ | 4 /* String */ | 8 /* Number */ | 64 /* BigInt */)) || isPatternLiteralType(type); + } + function isPatternLiteralType(type) { + return !!(type.flags & 134217728 /* TemplateLiteral */) && every(type.types, isPatternLiteralPlaceholderType) || !!(type.flags & 268435456 /* StringMapping */) && isPatternLiteralPlaceholderType(type.type); + } + function isGenericStringLikeType(type) { + return !!(type.flags & (134217728 /* TemplateLiteral */ | 268435456 /* StringMapping */)) && !isPatternLiteralType(type); + } + function isGenericType(type) { + return !!getGenericObjectFlags(type); + } + function isGenericObjectType(type) { + return !!(getGenericObjectFlags(type) & 4194304 /* IsGenericObjectType */); + } + function isGenericIndexType(type) { + return !!(getGenericObjectFlags(type) & 8388608 /* IsGenericIndexType */); + } + function getGenericObjectFlags(type) { + if (type.flags & 3145728 /* UnionOrIntersection */) { + if (!(type.objectFlags & 2097152 /* IsGenericTypeComputed */)) { + type.objectFlags |= 2097152 /* IsGenericTypeComputed */ | reduceLeft(type.types, (flags, t) => flags | getGenericObjectFlags(t), 0); + } + return type.objectFlags & 12582912 /* IsGenericType */; + } + if (type.flags & 33554432 /* Substitution */) { + if (!(type.objectFlags & 2097152 /* IsGenericTypeComputed */)) { + type.objectFlags |= 2097152 /* IsGenericTypeComputed */ | getGenericObjectFlags(type.baseType) | getGenericObjectFlags(type.constraint); + } + return type.objectFlags & 12582912 /* IsGenericType */; + } + return (type.flags & 58982400 /* InstantiableNonPrimitive */ || isGenericMappedType(type) || isGenericTupleType(type) ? 4194304 /* IsGenericObjectType */ : 0) | (type.flags & (58982400 /* InstantiableNonPrimitive */ | 4194304 /* Index */) || isGenericStringLikeType(type) ? 8388608 /* IsGenericIndexType */ : 0); + } + function getSimplifiedType(type, writing) { + return type.flags & 8388608 /* IndexedAccess */ ? getSimplifiedIndexedAccessType(type, writing) : type.flags & 16777216 /* Conditional */ ? getSimplifiedConditionalType(type, writing) : type; + } + function distributeIndexOverObjectType(objectType, indexType, writing) { + if (objectType.flags & 1048576 /* Union */ || objectType.flags & 2097152 /* Intersection */ && !shouldDeferIndexType(objectType)) { + const types = map(objectType.types, (t) => getSimplifiedType(getIndexedAccessType(t, indexType), writing)); + return objectType.flags & 2097152 /* Intersection */ || writing ? getIntersectionType(types) : getUnionType(types); + } + } + function distributeObjectOverIndexType(objectType, indexType, writing) { + if (indexType.flags & 1048576 /* Union */) { + const types = map(indexType.types, (t) => getSimplifiedType(getIndexedAccessType(objectType, t), writing)); + return writing ? getIntersectionType(types) : getUnionType(types); + } + } + function getSimplifiedIndexedAccessType(type, writing) { + const cache = writing ? "simplifiedForWriting" : "simplifiedForReading"; + if (type[cache]) { + return type[cache] === circularConstraintType ? type : type[cache]; + } + type[cache] = circularConstraintType; + const objectType = getSimplifiedType(type.objectType, writing); + const indexType = getSimplifiedType(type.indexType, writing); + const distributedOverIndex = distributeObjectOverIndexType(objectType, indexType, writing); + if (distributedOverIndex) { + return type[cache] = distributedOverIndex; + } + if (!(indexType.flags & 465829888 /* Instantiable */)) { + const distributedOverObject = distributeIndexOverObjectType(objectType, indexType, writing); + if (distributedOverObject) { + return type[cache] = distributedOverObject; + } + } + if (isGenericTupleType(objectType) && indexType.flags & 296 /* NumberLike */) { + const elementType = getElementTypeOfSliceOfTupleType( + objectType, + indexType.flags & 8 /* Number */ ? 0 : objectType.target.fixedLength, + /*endSkipCount*/ + 0, + writing + ); + if (elementType) { + return type[cache] = elementType; + } + } + if (isGenericMappedType(objectType)) { + if (getMappedTypeNameTypeKind(objectType) !== 2 /* Remapping */) { + return type[cache] = mapType(substituteIndexedMappedType(objectType, type.indexType), (t) => getSimplifiedType(t, writing)); + } + } + return type[cache] = type; + } + function getSimplifiedConditionalType(type, writing) { + const checkType = type.checkType; + const extendsType = type.extendsType; + const trueType2 = getTrueTypeFromConditionalType(type); + const falseType2 = getFalseTypeFromConditionalType(type); + if (falseType2.flags & 131072 /* Never */ && getActualTypeVariable(trueType2) === getActualTypeVariable(checkType)) { + if (checkType.flags & 1 /* Any */ || isTypeAssignableTo(getRestrictiveInstantiation(checkType), getRestrictiveInstantiation(extendsType))) { + return getSimplifiedType(trueType2, writing); + } else if (isIntersectionEmpty(checkType, extendsType)) { + return neverType; + } + } else if (trueType2.flags & 131072 /* Never */ && getActualTypeVariable(falseType2) === getActualTypeVariable(checkType)) { + if (!(checkType.flags & 1 /* Any */) && isTypeAssignableTo(getRestrictiveInstantiation(checkType), getRestrictiveInstantiation(extendsType))) { + return neverType; + } else if (checkType.flags & 1 /* Any */ || isIntersectionEmpty(checkType, extendsType)) { + return getSimplifiedType(falseType2, writing); + } + } + return type; + } + function isIntersectionEmpty(type1, type2) { + return !!(getUnionType([intersectTypes(type1, type2), neverType]).flags & 131072 /* Never */); + } + function substituteIndexedMappedType(objectType, index) { + const mapper = createTypeMapper([getTypeParameterFromMappedType(objectType)], [index]); + const templateMapper = combineTypeMappers(objectType.mapper, mapper); + const instantiatedTemplateType = instantiateType(getTemplateTypeFromMappedType(objectType.target || objectType), templateMapper); + const isOptional = getMappedTypeOptionality(objectType) > 0 || (isGenericType(objectType) ? getCombinedMappedTypeOptionality(getModifiersTypeFromMappedType(objectType)) > 0 : couldAccessOptionalProperty(objectType, index)); + return addOptionality( + instantiatedTemplateType, + /*isProperty*/ + true, + isOptional + ); + } + function couldAccessOptionalProperty(objectType, indexType) { + const indexConstraint = getBaseConstraintOfType(indexType); + return !!indexConstraint && some(getPropertiesOfType(objectType), (p) => !!(p.flags & 16777216 /* Optional */) && isTypeAssignableTo(getLiteralTypeFromProperty(p, 8576 /* StringOrNumberLiteralOrUnique */), indexConstraint)); + } + function getIndexedAccessType(objectType, indexType, accessFlags = 0 /* None */, accessNode, aliasSymbol, aliasTypeArguments) { + return getIndexedAccessTypeOrUndefined(objectType, indexType, accessFlags, accessNode, aliasSymbol, aliasTypeArguments) || (accessNode ? errorType : unknownType); + } + function indexTypeLessThan(indexType, limit) { + return everyType(indexType, (t) => { + if (t.flags & 384 /* StringOrNumberLiteral */) { + const propName = getPropertyNameFromType(t); + if (isNumericLiteralName(propName)) { + const index = +propName; + return index >= 0 && index < limit; + } + } + return false; + }); + } + function getIndexedAccessTypeOrUndefined(objectType, indexType, accessFlags = 0 /* None */, accessNode, aliasSymbol, aliasTypeArguments) { + if (objectType === wildcardType || indexType === wildcardType) { + return wildcardType; + } + objectType = getReducedType(objectType); + if (isStringIndexSignatureOnlyType(objectType) && !(indexType.flags & 98304 /* Nullable */) && isTypeAssignableToKind(indexType, 4 /* String */ | 8 /* Number */)) { + indexType = stringType; + } + if (compilerOptions.noUncheckedIndexedAccess && accessFlags & 32 /* ExpressionPosition */) accessFlags |= 1 /* IncludeUndefined */; + if (isGenericIndexType(indexType) || (accessNode && accessNode.kind !== 199 /* IndexedAccessType */ ? isGenericTupleType(objectType) && !indexTypeLessThan(indexType, getTotalFixedElementCount(objectType.target)) : isGenericObjectType(objectType) && !(isTupleType(objectType) && indexTypeLessThan(indexType, getTotalFixedElementCount(objectType.target))) || isGenericReducibleType(objectType))) { + if (objectType.flags & 3 /* AnyOrUnknown */) { + return objectType; + } + const persistentAccessFlags = accessFlags & 1 /* Persistent */; + const id = objectType.id + "," + indexType.id + "," + persistentAccessFlags + getAliasId(aliasSymbol, aliasTypeArguments); + let type = indexedAccessTypes.get(id); + if (!type) { + indexedAccessTypes.set(id, type = createIndexedAccessType(objectType, indexType, persistentAccessFlags, aliasSymbol, aliasTypeArguments)); + } + return type; + } + const apparentObjectType = getReducedApparentType(objectType); + if (indexType.flags & 1048576 /* Union */ && !(indexType.flags & 16 /* Boolean */)) { + const propTypes = []; + let wasMissingProp = false; + for (const t of indexType.types) { + const propType = getPropertyTypeForIndexType(objectType, apparentObjectType, t, indexType, accessNode, accessFlags | (wasMissingProp ? 128 /* SuppressNoImplicitAnyError */ : 0)); + if (propType) { + propTypes.push(propType); + } else if (!accessNode) { + return void 0; + } else { + wasMissingProp = true; + } + } + if (wasMissingProp) { + return void 0; + } + return accessFlags & 4 /* Writing */ ? getIntersectionType(propTypes, 0 /* None */, aliasSymbol, aliasTypeArguments) : getUnionType(propTypes, 1 /* Literal */, aliasSymbol, aliasTypeArguments); + } + return getPropertyTypeForIndexType(objectType, apparentObjectType, indexType, indexType, accessNode, accessFlags | 8 /* CacheSymbol */ | 64 /* ReportDeprecated */); + } + function getTypeFromIndexedAccessTypeNode(node) { + const links = getNodeLinks(node); + if (!links.resolvedType) { + const objectType = getTypeFromTypeNode(node.objectType); + const indexType = getTypeFromTypeNode(node.indexType); + const potentialAlias = getAliasSymbolForTypeNode(node); + links.resolvedType = getIndexedAccessType(objectType, indexType, 0 /* None */, node, potentialAlias, getTypeArgumentsForAliasSymbol(potentialAlias)); + } + return links.resolvedType; + } + function getTypeFromMappedTypeNode(node) { + const links = getNodeLinks(node); + if (!links.resolvedType) { + const type = createObjectType(32 /* Mapped */, node.symbol); + type.declaration = node; + type.aliasSymbol = getAliasSymbolForTypeNode(node); + type.aliasTypeArguments = getTypeArgumentsForAliasSymbol(type.aliasSymbol); + links.resolvedType = type; + getConstraintTypeFromMappedType(type); + } + return links.resolvedType; + } + function getActualTypeVariable(type) { + if (type.flags & 33554432 /* Substitution */) { + return getActualTypeVariable(type.baseType); + } + if (type.flags & 8388608 /* IndexedAccess */ && (type.objectType.flags & 33554432 /* Substitution */ || type.indexType.flags & 33554432 /* Substitution */)) { + return getIndexedAccessType(getActualTypeVariable(type.objectType), getActualTypeVariable(type.indexType)); + } + return type; + } + function isSimpleTupleType(node) { + return isTupleTypeNode(node) && length(node.elements) > 0 && !some(node.elements, (e) => isOptionalTypeNode(e) || isRestTypeNode(e) || isNamedTupleMember(e) && !!(e.questionToken || e.dotDotDotToken)); + } + function isDeferredType(type, checkTuples) { + return isGenericType(type) || checkTuples && isTupleType(type) && some(getElementTypes(type), isGenericType); + } + function getConditionalType(root, mapper, forConstraint, aliasSymbol, aliasTypeArguments) { + let result; + let extraTypes; + let tailCount = 0; + while (true) { + if (tailCount === 1e3) { + error(currentNode, Diagnostics.Type_instantiation_is_excessively_deep_and_possibly_infinite); + return errorType; + } + const checkType = instantiateType(getActualTypeVariable(root.checkType), mapper); + const extendsType = instantiateType(root.extendsType, mapper); + if (checkType === errorType || extendsType === errorType) { + return errorType; + } + if (checkType === wildcardType || extendsType === wildcardType) { + return wildcardType; + } + const checkTypeNode = skipTypeParentheses(root.node.checkType); + const extendsTypeNode = skipTypeParentheses(root.node.extendsType); + const checkTuples = isSimpleTupleType(checkTypeNode) && isSimpleTupleType(extendsTypeNode) && length(checkTypeNode.elements) === length(extendsTypeNode.elements); + const checkTypeDeferred = isDeferredType(checkType, checkTuples); + let combinedMapper; + if (root.inferTypeParameters) { + const context = createInferenceContext( + root.inferTypeParameters, + /*signature*/ + void 0, + 0 /* None */ + ); + if (mapper) { + context.nonFixingMapper = combineTypeMappers(context.nonFixingMapper, mapper); + } + if (!checkTypeDeferred) { + inferTypes(context.inferences, checkType, extendsType, 512 /* NoConstraints */ | 1024 /* AlwaysStrict */); + } + combinedMapper = mapper ? combineTypeMappers(context.mapper, mapper) : context.mapper; + } + const inferredExtendsType = combinedMapper ? instantiateType(root.extendsType, combinedMapper) : extendsType; + if (!checkTypeDeferred && !isDeferredType(inferredExtendsType, checkTuples)) { + if (!(inferredExtendsType.flags & 3 /* AnyOrUnknown */) && (checkType.flags & 1 /* Any */ || !isTypeAssignableTo(getPermissiveInstantiation(checkType), getPermissiveInstantiation(inferredExtendsType)))) { + if (checkType.flags & 1 /* Any */ || forConstraint && !(inferredExtendsType.flags & 131072 /* Never */) && someType(getPermissiveInstantiation(inferredExtendsType), (t) => isTypeAssignableTo(t, getPermissiveInstantiation(checkType)))) { + (extraTypes || (extraTypes = [])).push(instantiateType(getTypeFromTypeNode(root.node.trueType), combinedMapper || mapper)); + } + const falseType2 = getTypeFromTypeNode(root.node.falseType); + if (falseType2.flags & 16777216 /* Conditional */) { + const newRoot = falseType2.root; + if (newRoot.node.parent === root.node && (!newRoot.isDistributive || newRoot.checkType === root.checkType)) { + root = newRoot; + continue; + } + if (canTailRecurse(falseType2, mapper)) { + continue; + } + } + result = instantiateType(falseType2, mapper); + break; + } + if (inferredExtendsType.flags & 3 /* AnyOrUnknown */ || isTypeAssignableTo(getRestrictiveInstantiation(checkType), getRestrictiveInstantiation(inferredExtendsType))) { + const trueType2 = getTypeFromTypeNode(root.node.trueType); + const trueMapper = combinedMapper || mapper; + if (canTailRecurse(trueType2, trueMapper)) { + continue; + } + result = instantiateType(trueType2, trueMapper); + break; + } + } + result = createType(16777216 /* Conditional */); + result.root = root; + result.checkType = instantiateType(root.checkType, mapper); + result.extendsType = instantiateType(root.extendsType, mapper); + result.mapper = mapper; + result.combinedMapper = combinedMapper; + result.aliasSymbol = aliasSymbol || root.aliasSymbol; + result.aliasTypeArguments = aliasSymbol ? aliasTypeArguments : instantiateTypes(root.aliasTypeArguments, mapper); + break; + } + return extraTypes ? getUnionType(append(extraTypes, result)) : result; + function canTailRecurse(newType, newMapper) { + if (newType.flags & 16777216 /* Conditional */ && newMapper) { + const newRoot = newType.root; + if (newRoot.outerTypeParameters) { + const typeParamMapper = combineTypeMappers(newType.mapper, newMapper); + const typeArguments = map(newRoot.outerTypeParameters, (t) => getMappedType(t, typeParamMapper)); + const newRootMapper = createTypeMapper(newRoot.outerTypeParameters, typeArguments); + const newCheckType = newRoot.isDistributive ? getMappedType(newRoot.checkType, newRootMapper) : void 0; + if (!newCheckType || newCheckType === newRoot.checkType || !(newCheckType.flags & (1048576 /* Union */ | 131072 /* Never */))) { + root = newRoot; + mapper = newRootMapper; + aliasSymbol = void 0; + aliasTypeArguments = void 0; + if (newRoot.aliasSymbol) { + tailCount++; + } + return true; + } + } + } + return false; + } + } + function getTrueTypeFromConditionalType(type) { + return type.resolvedTrueType || (type.resolvedTrueType = instantiateType(getTypeFromTypeNode(type.root.node.trueType), type.mapper)); + } + function getFalseTypeFromConditionalType(type) { + return type.resolvedFalseType || (type.resolvedFalseType = instantiateType(getTypeFromTypeNode(type.root.node.falseType), type.mapper)); + } + function getInferredTrueTypeFromConditionalType(type) { + return type.resolvedInferredTrueType || (type.resolvedInferredTrueType = type.combinedMapper ? instantiateType(getTypeFromTypeNode(type.root.node.trueType), type.combinedMapper) : getTrueTypeFromConditionalType(type)); + } + function getInferTypeParameters(node) { + let result; + if (node.locals) { + node.locals.forEach((symbol) => { + if (symbol.flags & 262144 /* TypeParameter */) { + result = append(result, getDeclaredTypeOfSymbol(symbol)); + } + }); + } + return result; + } + function isDistributionDependent(root) { + return root.isDistributive && (isTypeParameterPossiblyReferenced(root.checkType, root.node.trueType) || isTypeParameterPossiblyReferenced(root.checkType, root.node.falseType)); + } + function getTypeFromConditionalTypeNode(node) { + const links = getNodeLinks(node); + if (!links.resolvedType) { + const checkType = getTypeFromTypeNode(node.checkType); + const aliasSymbol = getAliasSymbolForTypeNode(node); + const aliasTypeArguments = getTypeArgumentsForAliasSymbol(aliasSymbol); + const allOuterTypeParameters = getOuterTypeParameters( + node, + /*includeThisTypes*/ + true + ); + const outerTypeParameters = aliasTypeArguments ? allOuterTypeParameters : filter(allOuterTypeParameters, (tp) => isTypeParameterPossiblyReferenced(tp, node)); + const root = { + node, + checkType, + extendsType: getTypeFromTypeNode(node.extendsType), + isDistributive: !!(checkType.flags & 262144 /* TypeParameter */), + inferTypeParameters: getInferTypeParameters(node), + outerTypeParameters, + instantiations: void 0, + aliasSymbol, + aliasTypeArguments + }; + links.resolvedType = getConditionalType( + root, + /*mapper*/ + void 0, + /*forConstraint*/ + false + ); + if (outerTypeParameters) { + root.instantiations = /* @__PURE__ */ new Map(); + root.instantiations.set(getTypeListId(outerTypeParameters), links.resolvedType); + } + } + return links.resolvedType; + } + function getTypeFromInferTypeNode(node) { + const links = getNodeLinks(node); + if (!links.resolvedType) { + links.resolvedType = getDeclaredTypeOfTypeParameter(getSymbolOfDeclaration(node.typeParameter)); + } + return links.resolvedType; + } + function getIdentifierChain(node) { + if (isIdentifier(node)) { + return [node]; + } else { + return append(getIdentifierChain(node.left), node.right); + } + } + function getTypeFromImportTypeNode(node) { + var _a; + const links = getNodeLinks(node); + if (!links.resolvedType) { + if (!isLiteralImportTypeNode(node)) { + error(node.argument, Diagnostics.String_literal_expected); + links.resolvedSymbol = unknownSymbol; + return links.resolvedType = errorType; + } + const targetMeaning = node.isTypeOf ? 111551 /* Value */ : node.flags & 16777216 /* JSDoc */ ? 111551 /* Value */ | 788968 /* Type */ : 788968 /* Type */; + const innerModuleSymbol = resolveExternalModuleName(node, node.argument.literal); + if (!innerModuleSymbol) { + links.resolvedSymbol = unknownSymbol; + return links.resolvedType = errorType; + } + const isExportEquals = !!((_a = innerModuleSymbol.exports) == null ? void 0 : _a.get("export=" /* ExportEquals */)); + const moduleSymbol = resolveExternalModuleSymbol( + innerModuleSymbol, + /*dontResolveAlias*/ + false + ); + if (!nodeIsMissing(node.qualifier)) { + const nameStack = getIdentifierChain(node.qualifier); + let currentNamespace = moduleSymbol; + let current; + while (current = nameStack.shift()) { + const meaning = nameStack.length ? 1920 /* Namespace */ : targetMeaning; + const mergedResolvedSymbol = getMergedSymbol(resolveSymbol(currentNamespace)); + const symbolFromVariable = node.isTypeOf || isInJSFile(node) && isExportEquals ? getPropertyOfType( + getTypeOfSymbol(mergedResolvedSymbol), + current.escapedText, + /*skipObjectFunctionPropertyAugment*/ + false, + /*includeTypeOnlyMembers*/ + true + ) : void 0; + const symbolFromModule = node.isTypeOf ? void 0 : getSymbol(getExportsOfSymbol(mergedResolvedSymbol), current.escapedText, meaning); + const next = symbolFromModule ?? symbolFromVariable; + if (!next) { + error(current, Diagnostics.Namespace_0_has_no_exported_member_1, getFullyQualifiedName(currentNamespace), declarationNameToString(current)); + return links.resolvedType = errorType; + } + getNodeLinks(current).resolvedSymbol = next; + getNodeLinks(current.parent).resolvedSymbol = next; + currentNamespace = next; + } + links.resolvedType = resolveImportSymbolType(node, links, currentNamespace, targetMeaning); + } else { + if (moduleSymbol.flags & targetMeaning) { + links.resolvedType = resolveImportSymbolType(node, links, moduleSymbol, targetMeaning); + } else { + const errorMessage = targetMeaning === 111551 /* Value */ ? Diagnostics.Module_0_does_not_refer_to_a_value_but_is_used_as_a_value_here : Diagnostics.Module_0_does_not_refer_to_a_type_but_is_used_as_a_type_here_Did_you_mean_typeof_import_0; + error(node, errorMessage, node.argument.literal.text); + links.resolvedSymbol = unknownSymbol; + links.resolvedType = errorType; + } + } + } + return links.resolvedType; + } + function resolveImportSymbolType(node, links, symbol, meaning) { + const resolvedSymbol = resolveSymbol(symbol); + links.resolvedSymbol = resolvedSymbol; + if (meaning === 111551 /* Value */) { + return getInstantiationExpressionType(getTypeOfSymbol(symbol), node); + } else { + return getTypeReferenceType(node, resolvedSymbol); + } + } + function getTypeFromTypeLiteralOrFunctionOrConstructorTypeNode(node) { + const links = getNodeLinks(node); + if (!links.resolvedType) { + const aliasSymbol = getAliasSymbolForTypeNode(node); + if (!node.symbol || getMembersOfSymbol(node.symbol).size === 0 && !aliasSymbol) { + links.resolvedType = emptyTypeLiteralType; + } else { + let type = createObjectType(16 /* Anonymous */, node.symbol); + type.aliasSymbol = aliasSymbol; + type.aliasTypeArguments = getTypeArgumentsForAliasSymbol(aliasSymbol); + if (isJSDocTypeLiteral(node) && node.isArrayType) { + type = createArrayType(type); + } + links.resolvedType = type; + } + } + return links.resolvedType; + } + function getAliasSymbolForTypeNode(node) { + let host2 = node.parent; + while (isParenthesizedTypeNode(host2) || isJSDocTypeExpression(host2) || isTypeOperatorNode(host2) && host2.operator === 148 /* ReadonlyKeyword */) { + host2 = host2.parent; + } + return isTypeAlias(host2) ? getSymbolOfDeclaration(host2) : void 0; + } + function getTypeArgumentsForAliasSymbol(symbol) { + return symbol ? getLocalTypeParametersOfClassOrInterfaceOrTypeAlias(symbol) : void 0; + } + function isNonGenericObjectType(type) { + return !!(type.flags & 524288 /* Object */) && !isGenericMappedType(type); + } + function isEmptyObjectTypeOrSpreadsIntoEmptyObject(type) { + return isEmptyObjectType(type) || !!(type.flags & (65536 /* Null */ | 32768 /* Undefined */ | 528 /* BooleanLike */ | 296 /* NumberLike */ | 2112 /* BigIntLike */ | 402653316 /* StringLike */ | 1056 /* EnumLike */ | 67108864 /* NonPrimitive */ | 4194304 /* Index */)); + } + function tryMergeUnionOfObjectTypeAndEmptyObject(type, readonly) { + if (!(type.flags & 1048576 /* Union */)) { + return type; + } + if (every(type.types, isEmptyObjectTypeOrSpreadsIntoEmptyObject)) { + return find(type.types, isEmptyObjectType) || emptyObjectType; + } + const firstType = find(type.types, (t) => !isEmptyObjectTypeOrSpreadsIntoEmptyObject(t)); + if (!firstType) { + return type; + } + const secondType = find(type.types, (t) => t !== firstType && !isEmptyObjectTypeOrSpreadsIntoEmptyObject(t)); + if (secondType) { + return type; + } + return getAnonymousPartialType(firstType); + function getAnonymousPartialType(type2) { + const members = createSymbolTable(); + for (const prop of getPropertiesOfType(type2)) { + if (getDeclarationModifierFlagsFromSymbol(prop) & (2 /* Private */ | 4 /* Protected */)) { + } else if (isSpreadableProperty(prop)) { + const isSetonlyAccessor = prop.flags & 65536 /* SetAccessor */ && !(prop.flags & 32768 /* GetAccessor */); + const flags = 4 /* Property */ | 16777216 /* Optional */; + const result = createSymbol(flags, prop.escapedName, getIsLateCheckFlag(prop) | (readonly ? 8 /* Readonly */ : 0)); + result.links.type = isSetonlyAccessor ? undefinedType : addOptionality( + getTypeOfSymbol(prop), + /*isProperty*/ + true + ); + result.declarations = prop.declarations; + result.links.nameType = getSymbolLinks(prop).nameType; + result.links.syntheticOrigin = prop; + members.set(prop.escapedName, result); + } + } + const spread = createAnonymousType(type2.symbol, members, emptyArray, emptyArray, getIndexInfosOfType(type2)); + spread.objectFlags |= 128 /* ObjectLiteral */ | 131072 /* ContainsObjectOrArrayLiteral */; + return spread; + } + } + function getSpreadType(left, right, symbol, objectFlags, readonly) { + if (left.flags & 1 /* Any */ || right.flags & 1 /* Any */) { + return anyType; + } + if (left.flags & 2 /* Unknown */ || right.flags & 2 /* Unknown */) { + return unknownType; + } + if (left.flags & 131072 /* Never */) { + return right; + } + if (right.flags & 131072 /* Never */) { + return left; + } + left = tryMergeUnionOfObjectTypeAndEmptyObject(left, readonly); + if (left.flags & 1048576 /* Union */) { + return checkCrossProductUnion([left, right]) ? mapType(left, (t) => getSpreadType(t, right, symbol, objectFlags, readonly)) : errorType; + } + right = tryMergeUnionOfObjectTypeAndEmptyObject(right, readonly); + if (right.flags & 1048576 /* Union */) { + return checkCrossProductUnion([left, right]) ? mapType(right, (t) => getSpreadType(left, t, symbol, objectFlags, readonly)) : errorType; + } + if (right.flags & (528 /* BooleanLike */ | 296 /* NumberLike */ | 2112 /* BigIntLike */ | 402653316 /* StringLike */ | 1056 /* EnumLike */ | 67108864 /* NonPrimitive */ | 4194304 /* Index */)) { + return left; + } + if (isGenericObjectType(left) || isGenericObjectType(right)) { + if (isEmptyObjectType(left)) { + return right; + } + if (left.flags & 2097152 /* Intersection */) { + const types = left.types; + const lastLeft = types[types.length - 1]; + if (isNonGenericObjectType(lastLeft) && isNonGenericObjectType(right)) { + return getIntersectionType(concatenate(types.slice(0, types.length - 1), [getSpreadType(lastLeft, right, symbol, objectFlags, readonly)])); + } + } + return getIntersectionType([left, right]); + } + const members = createSymbolTable(); + const skippedPrivateMembers = /* @__PURE__ */ new Set(); + const indexInfos = left === emptyObjectType ? getIndexInfosOfType(right) : getUnionIndexInfos([left, right]); + for (const rightProp of getPropertiesOfType(right)) { + if (getDeclarationModifierFlagsFromSymbol(rightProp) & (2 /* Private */ | 4 /* Protected */)) { + skippedPrivateMembers.add(rightProp.escapedName); + } else if (isSpreadableProperty(rightProp)) { + members.set(rightProp.escapedName, getSpreadSymbol(rightProp, readonly)); + } + } + for (const leftProp of getPropertiesOfType(left)) { + if (skippedPrivateMembers.has(leftProp.escapedName) || !isSpreadableProperty(leftProp)) { + continue; + } + if (members.has(leftProp.escapedName)) { + const rightProp = members.get(leftProp.escapedName); + const rightType = getTypeOfSymbol(rightProp); + if (rightProp.flags & 16777216 /* Optional */) { + const declarations = concatenate(leftProp.declarations, rightProp.declarations); + const flags = 4 /* Property */ | leftProp.flags & 16777216 /* Optional */; + const result = createSymbol(flags, leftProp.escapedName); + const leftType = getTypeOfSymbol(leftProp); + const leftTypeWithoutUndefined = removeMissingOrUndefinedType(leftType); + const rightTypeWithoutUndefined = removeMissingOrUndefinedType(rightType); + result.links.type = leftTypeWithoutUndefined === rightTypeWithoutUndefined ? leftType : getUnionType([leftType, rightTypeWithoutUndefined], 2 /* Subtype */); + result.links.leftSpread = leftProp; + result.links.rightSpread = rightProp; + result.declarations = declarations; + result.links.nameType = getSymbolLinks(leftProp).nameType; + members.set(leftProp.escapedName, result); + } + } else { + members.set(leftProp.escapedName, getSpreadSymbol(leftProp, readonly)); + } + } + const spread = createAnonymousType(symbol, members, emptyArray, emptyArray, sameMap(indexInfos, (info) => getIndexInfoWithReadonly(info, readonly))); + spread.objectFlags |= 128 /* ObjectLiteral */ | 131072 /* ContainsObjectOrArrayLiteral */ | 2097152 /* ContainsSpread */ | objectFlags; + return spread; + } + function isSpreadableProperty(prop) { + var _a; + return !some(prop.declarations, isPrivateIdentifierClassElementDeclaration) && (!(prop.flags & (8192 /* Method */ | 32768 /* GetAccessor */ | 65536 /* SetAccessor */)) || !((_a = prop.declarations) == null ? void 0 : _a.some((decl) => isClassLike(decl.parent)))); + } + function getSpreadSymbol(prop, readonly) { + const isSetonlyAccessor = prop.flags & 65536 /* SetAccessor */ && !(prop.flags & 32768 /* GetAccessor */); + if (!isSetonlyAccessor && readonly === isReadonlySymbol(prop)) { + return prop; + } + const flags = 4 /* Property */ | prop.flags & 16777216 /* Optional */; + const result = createSymbol(flags, prop.escapedName, getIsLateCheckFlag(prop) | (readonly ? 8 /* Readonly */ : 0)); + result.links.type = isSetonlyAccessor ? undefinedType : getTypeOfSymbol(prop); + result.declarations = prop.declarations; + result.links.nameType = getSymbolLinks(prop).nameType; + result.links.syntheticOrigin = prop; + return result; + } + function getIndexInfoWithReadonly(info, readonly) { + return info.isReadonly !== readonly ? createIndexInfo(info.keyType, info.type, readonly, info.declaration) : info; + } + function createLiteralType(flags, value, symbol, regularType) { + const type = createTypeWithSymbol(flags, symbol); + type.value = value; + type.regularType = regularType || type; + return type; + } + function getFreshTypeOfLiteralType(type) { + if (type.flags & 2976 /* Freshable */) { + if (!type.freshType) { + const freshType = createLiteralType(type.flags, type.value, type.symbol, type); + freshType.freshType = freshType; + type.freshType = freshType; + } + return type.freshType; + } + return type; + } + function getRegularTypeOfLiteralType(type) { + return type.flags & 2976 /* Freshable */ ? type.regularType : type.flags & 1048576 /* Union */ ? type.regularType || (type.regularType = mapType(type, getRegularTypeOfLiteralType)) : type; + } + function isFreshLiteralType(type) { + return !!(type.flags & 2976 /* Freshable */) && type.freshType === type; + } + function getStringLiteralType(value) { + let type; + return stringLiteralTypes.get(value) || (stringLiteralTypes.set(value, type = createLiteralType(128 /* StringLiteral */, value)), type); + } + function getNumberLiteralType(value) { + let type; + return numberLiteralTypes.get(value) || (numberLiteralTypes.set(value, type = createLiteralType(256 /* NumberLiteral */, value)), type); + } + function getBigIntLiteralType(value) { + let type; + const key = pseudoBigIntToString(value); + return bigIntLiteralTypes.get(key) || (bigIntLiteralTypes.set(key, type = createLiteralType(2048 /* BigIntLiteral */, value)), type); + } + function getEnumLiteralType(value, enumId, symbol) { + let type; + const key = `${enumId}${typeof value === "string" ? "@" : "#"}${value}`; + const flags = 1024 /* EnumLiteral */ | (typeof value === "string" ? 128 /* StringLiteral */ : 256 /* NumberLiteral */); + return enumLiteralTypes.get(key) || (enumLiteralTypes.set(key, type = createLiteralType(flags, value, symbol)), type); + } + function getTypeFromLiteralTypeNode(node) { + if (node.literal.kind === 106 /* NullKeyword */) { + return nullType; + } + const links = getNodeLinks(node); + if (!links.resolvedType) { + links.resolvedType = getRegularTypeOfLiteralType(checkExpression(node.literal)); + } + return links.resolvedType; + } + function createUniqueESSymbolType(symbol) { + const type = createTypeWithSymbol(8192 /* UniqueESSymbol */, symbol); + type.escapedName = `__@${type.symbol.escapedName}@${getSymbolId(type.symbol)}`; + return type; + } + function getESSymbolLikeTypeForNode(node) { + if (isInJSFile(node) && isJSDocTypeExpression(node)) { + const host2 = getJSDocHost(node); + if (host2) { + node = getSingleVariableOfVariableStatement(host2) || host2; + } + } + if (isValidESSymbolDeclaration(node)) { + const symbol = isCommonJsExportPropertyAssignment(node) ? getSymbolOfNode(node.left) : getSymbolOfNode(node); + if (symbol) { + const links = getSymbolLinks(symbol); + return links.uniqueESSymbolType || (links.uniqueESSymbolType = createUniqueESSymbolType(symbol)); + } + } + return esSymbolType; + } + function getThisType(node) { + const container = getThisContainer( + node, + /*includeArrowFunctions*/ + false, + /*includeClassComputedPropertyName*/ + false + ); + const parent = container && container.parent; + if (parent && (isClassLike(parent) || parent.kind === 264 /* InterfaceDeclaration */)) { + if (!isStatic(container) && (!isConstructorDeclaration(container) || isNodeDescendantOf(node, container.body))) { + return getDeclaredTypeOfClassOrInterface(getSymbolOfDeclaration(parent)).thisType; + } + } + if (parent && isObjectLiteralExpression(parent) && isBinaryExpression(parent.parent) && getAssignmentDeclarationKind(parent.parent) === 6 /* Prototype */) { + return getDeclaredTypeOfClassOrInterface(getSymbolOfNode(parent.parent.left).parent).thisType; + } + const host2 = node.flags & 16777216 /* JSDoc */ ? getHostSignatureFromJSDoc(node) : void 0; + if (host2 && isFunctionExpression(host2) && isBinaryExpression(host2.parent) && getAssignmentDeclarationKind(host2.parent) === 3 /* PrototypeProperty */) { + return getDeclaredTypeOfClassOrInterface(getSymbolOfNode(host2.parent.left).parent).thisType; + } + if (isJSConstructor(container) && isNodeDescendantOf(node, container.body)) { + return getDeclaredTypeOfClassOrInterface(getSymbolOfDeclaration(container)).thisType; + } + error(node, Diagnostics.A_this_type_is_available_only_in_a_non_static_member_of_a_class_or_interface); + return errorType; + } + function getTypeFromThisTypeNode(node) { + const links = getNodeLinks(node); + if (!links.resolvedType) { + links.resolvedType = getThisType(node); + } + return links.resolvedType; + } + function getTypeFromRestTypeNode(node) { + return getTypeFromTypeNode(getArrayElementTypeNode(node.type) || node.type); + } + function getArrayElementTypeNode(node) { + switch (node.kind) { + case 196 /* ParenthesizedType */: + return getArrayElementTypeNode(node.type); + case 189 /* TupleType */: + if (node.elements.length === 1) { + node = node.elements[0]; + if (node.kind === 191 /* RestType */ || node.kind === 202 /* NamedTupleMember */ && node.dotDotDotToken) { + return getArrayElementTypeNode(node.type); + } + } + break; + case 188 /* ArrayType */: + return node.elementType; + } + return void 0; + } + function getTypeFromNamedTupleTypeNode(node) { + const links = getNodeLinks(node); + return links.resolvedType || (links.resolvedType = node.dotDotDotToken ? getTypeFromRestTypeNode(node) : addOptionality( + getTypeFromTypeNode(node.type), + /*isProperty*/ + true, + !!node.questionToken + )); + } + function getTypeFromTypeNode(node) { + return getConditionalFlowTypeOfType(getTypeFromTypeNodeWorker(node), node); + } + function getTypeFromTypeNodeWorker(node) { + switch (node.kind) { + case 133 /* AnyKeyword */: + case 312 /* JSDocAllType */: + case 313 /* JSDocUnknownType */: + return anyType; + case 159 /* UnknownKeyword */: + return unknownType; + case 154 /* StringKeyword */: + return stringType; + case 150 /* NumberKeyword */: + return numberType; + case 163 /* BigIntKeyword */: + return bigintType; + case 136 /* BooleanKeyword */: + return booleanType; + case 155 /* SymbolKeyword */: + return esSymbolType; + case 116 /* VoidKeyword */: + return voidType; + case 157 /* UndefinedKeyword */: + return undefinedType; + case 106 /* NullKeyword */: + return nullType; + case 146 /* NeverKeyword */: + return neverType; + case 151 /* ObjectKeyword */: + return node.flags & 524288 /* JavaScriptFile */ && !noImplicitAny ? anyType : nonPrimitiveType; + case 141 /* IntrinsicKeyword */: + return intrinsicMarkerType; + case 197 /* ThisType */: + case 110 /* ThisKeyword */: + return getTypeFromThisTypeNode(node); + case 201 /* LiteralType */: + return getTypeFromLiteralTypeNode(node); + case 183 /* TypeReference */: + return getTypeFromTypeReference(node); + case 182 /* TypePredicate */: + return node.assertsModifier ? voidType : booleanType; + case 233 /* ExpressionWithTypeArguments */: + return getTypeFromTypeReference(node); + case 186 /* TypeQuery */: + return getTypeFromTypeQueryNode(node); + case 188 /* ArrayType */: + case 189 /* TupleType */: + return getTypeFromArrayOrTupleTypeNode(node); + case 190 /* OptionalType */: + return getTypeFromOptionalTypeNode(node); + case 192 /* UnionType */: + return getTypeFromUnionTypeNode(node); + case 193 /* IntersectionType */: + return getTypeFromIntersectionTypeNode(node); + case 314 /* JSDocNullableType */: + return getTypeFromJSDocNullableTypeNode(node); + case 316 /* JSDocOptionalType */: + return addOptionality(getTypeFromTypeNode(node.type)); + case 202 /* NamedTupleMember */: + return getTypeFromNamedTupleTypeNode(node); + case 196 /* ParenthesizedType */: + case 315 /* JSDocNonNullableType */: + case 309 /* JSDocTypeExpression */: + return getTypeFromTypeNode(node.type); + case 191 /* RestType */: + return getTypeFromRestTypeNode(node); + case 318 /* JSDocVariadicType */: + return getTypeFromJSDocVariadicType(node); + case 184 /* FunctionType */: + case 185 /* ConstructorType */: + case 187 /* TypeLiteral */: + case 322 /* JSDocTypeLiteral */: + case 317 /* JSDocFunctionType */: + case 323 /* JSDocSignature */: + return getTypeFromTypeLiteralOrFunctionOrConstructorTypeNode(node); + case 198 /* TypeOperator */: + return getTypeFromTypeOperatorNode(node); + case 199 /* IndexedAccessType */: + return getTypeFromIndexedAccessTypeNode(node); + case 200 /* MappedType */: + return getTypeFromMappedTypeNode(node); + case 194 /* ConditionalType */: + return getTypeFromConditionalTypeNode(node); + case 195 /* InferType */: + return getTypeFromInferTypeNode(node); + case 203 /* TemplateLiteralType */: + return getTypeFromTemplateTypeNode(node); + case 205 /* ImportType */: + return getTypeFromImportTypeNode(node); + // This function assumes that an identifier, qualified name, or property access expression is a type expression + // Callers should first ensure this by calling `isPartOfTypeNode` + // TODO(rbuckton): These aren't valid TypeNodes, but we treat them as such because of `isPartOfTypeNode`, which returns `true` for things that aren't `TypeNode`s. + case 80 /* Identifier */: + case 166 /* QualifiedName */: + case 211 /* PropertyAccessExpression */: + const symbol = getSymbolAtLocation(node); + return symbol ? getDeclaredTypeOfSymbol(symbol) : errorType; + default: + return errorType; + } + } + function instantiateList(items, mapper, instantiator) { + if (items && items.length) { + for (let i = 0; i < items.length; i++) { + const item = items[i]; + const mapped = instantiator(item, mapper); + if (item !== mapped) { + const result = i === 0 ? [] : items.slice(0, i); + result.push(mapped); + for (i++; i < items.length; i++) { + result.push(instantiator(items[i], mapper)); + } + return result; + } + } + } + return items; + } + function instantiateTypes(types, mapper) { + return instantiateList(types, mapper, instantiateType); + } + function instantiateSignatures(signatures, mapper) { + return instantiateList(signatures, mapper, instantiateSignature); + } + function instantiateIndexInfos(indexInfos, mapper) { + return instantiateList(indexInfos, mapper, instantiateIndexInfo); + } + function createTypeMapper(sources, targets) { + return sources.length === 1 ? makeUnaryTypeMapper(sources[0], targets ? targets[0] : anyType) : makeArrayTypeMapper(sources, targets); + } + function getMappedType(type, mapper) { + switch (mapper.kind) { + case 0 /* Simple */: + return type === mapper.source ? mapper.target : type; + case 1 /* Array */: { + const sources = mapper.sources; + const targets = mapper.targets; + for (let i = 0; i < sources.length; i++) { + if (type === sources[i]) { + return targets ? targets[i] : anyType; + } + } + return type; + } + case 2 /* Deferred */: { + const sources = mapper.sources; + const targets = mapper.targets; + for (let i = 0; i < sources.length; i++) { + if (type === sources[i]) { + return targets[i](); + } + } + return type; + } + case 3 /* Function */: + return mapper.func(type); + case 4 /* Composite */: + case 5 /* Merged */: + const t1 = getMappedType(type, mapper.mapper1); + return t1 !== type && mapper.kind === 4 /* Composite */ ? instantiateType(t1, mapper.mapper2) : getMappedType(t1, mapper.mapper2); + } + } + function makeUnaryTypeMapper(source, target) { + return Debug.attachDebugPrototypeIfDebug({ kind: 0 /* Simple */, source, target }); + } + function makeArrayTypeMapper(sources, targets) { + return Debug.attachDebugPrototypeIfDebug({ kind: 1 /* Array */, sources, targets }); + } + function makeFunctionTypeMapper(func, debugInfo) { + return Debug.attachDebugPrototypeIfDebug({ kind: 3 /* Function */, func, debugInfo: Debug.isDebugging ? debugInfo : void 0 }); + } + function makeDeferredTypeMapper(sources, targets) { + return Debug.attachDebugPrototypeIfDebug({ kind: 2 /* Deferred */, sources, targets }); + } + function makeCompositeTypeMapper(kind, mapper1, mapper2) { + return Debug.attachDebugPrototypeIfDebug({ kind, mapper1, mapper2 }); + } + function createTypeEraser(sources) { + return createTypeMapper( + sources, + /*targets*/ + void 0 + ); + } + function createBackreferenceMapper(context, index) { + const forwardInferences = context.inferences.slice(index); + return createTypeMapper(map(forwardInferences, (i) => i.typeParameter), map(forwardInferences, () => unknownType)); + } + function combineTypeMappers(mapper1, mapper2) { + return mapper1 ? makeCompositeTypeMapper(4 /* Composite */, mapper1, mapper2) : mapper2; + } + function mergeTypeMappers(mapper1, mapper2) { + return mapper1 ? makeCompositeTypeMapper(5 /* Merged */, mapper1, mapper2) : mapper2; + } + function prependTypeMapping(source, target, mapper) { + return !mapper ? makeUnaryTypeMapper(source, target) : makeCompositeTypeMapper(5 /* Merged */, makeUnaryTypeMapper(source, target), mapper); + } + function appendTypeMapping(mapper, source, target) { + return !mapper ? makeUnaryTypeMapper(source, target) : makeCompositeTypeMapper(5 /* Merged */, mapper, makeUnaryTypeMapper(source, target)); + } + function getRestrictiveTypeParameter(tp) { + return !tp.constraint && !getConstraintDeclaration(tp) || tp.constraint === noConstraintType ? tp : tp.restrictiveInstantiation || (tp.restrictiveInstantiation = createTypeParameter(tp.symbol), tp.restrictiveInstantiation.constraint = noConstraintType, tp.restrictiveInstantiation); + } + function cloneTypeParameter(typeParameter) { + const result = createTypeParameter(typeParameter.symbol); + result.target = typeParameter; + return result; + } + function instantiateTypePredicate(predicate, mapper) { + return createTypePredicate(predicate.kind, predicate.parameterName, predicate.parameterIndex, instantiateType(predicate.type, mapper)); + } + function instantiateSignature(signature, mapper, eraseTypeParameters) { + let freshTypeParameters; + if (signature.typeParameters && !eraseTypeParameters) { + freshTypeParameters = map(signature.typeParameters, cloneTypeParameter); + mapper = combineTypeMappers(createTypeMapper(signature.typeParameters, freshTypeParameters), mapper); + for (const tp of freshTypeParameters) { + tp.mapper = mapper; + } + } + const result = createSignature( + signature.declaration, + freshTypeParameters, + signature.thisParameter && instantiateSymbol(signature.thisParameter, mapper), + instantiateList(signature.parameters, mapper, instantiateSymbol), + /*resolvedReturnType*/ + void 0, + /*resolvedTypePredicate*/ + void 0, + signature.minArgumentCount, + signature.flags & 167 /* PropagatingFlags */ + ); + result.target = signature; + result.mapper = mapper; + return result; + } + function instantiateSymbol(symbol, mapper) { + const links = getSymbolLinks(symbol); + if (links.type && !couldContainTypeVariables(links.type)) { + if (!(symbol.flags & 65536 /* SetAccessor */)) { + return symbol; + } + if (links.writeType && !couldContainTypeVariables(links.writeType)) { + return symbol; + } + } + if (getCheckFlags(symbol) & 1 /* Instantiated */) { + symbol = links.target; + mapper = combineTypeMappers(links.mapper, mapper); + } + const result = createSymbol(symbol.flags, symbol.escapedName, 1 /* Instantiated */ | getCheckFlags(symbol) & (8 /* Readonly */ | 4096 /* Late */ | 16384 /* OptionalParameter */ | 32768 /* RestParameter */)); + result.declarations = symbol.declarations; + result.parent = symbol.parent; + result.links.target = symbol; + result.links.mapper = mapper; + if (symbol.valueDeclaration) { + result.valueDeclaration = symbol.valueDeclaration; + } + if (links.nameType) { + result.links.nameType = links.nameType; + } + return result; + } + function getObjectTypeInstantiation(type, mapper, aliasSymbol, aliasTypeArguments) { + const declaration = type.objectFlags & 4 /* Reference */ ? type.node : type.objectFlags & 8388608 /* InstantiationExpressionType */ ? type.node : type.symbol.declarations[0]; + const links = getNodeLinks(declaration); + const target = type.objectFlags & 4 /* Reference */ ? links.resolvedType : type.objectFlags & 64 /* Instantiated */ ? type.target : type; + let typeParameters = type.objectFlags & 134217728 /* SingleSignatureType */ ? type.outerTypeParameters : links.outerTypeParameters; + if (!typeParameters) { + let outerTypeParameters = getOuterTypeParameters( + declaration, + /*includeThisTypes*/ + true + ); + if (isJSConstructor(declaration)) { + const templateTagParameters = getTypeParametersFromDeclaration(declaration); + outerTypeParameters = addRange(outerTypeParameters, templateTagParameters); + } + typeParameters = outerTypeParameters || emptyArray; + const allDeclarations = type.objectFlags & (4 /* Reference */ | 8388608 /* InstantiationExpressionType */) ? [declaration] : type.symbol.declarations; + typeParameters = (target.objectFlags & (4 /* Reference */ | 8388608 /* InstantiationExpressionType */) || target.symbol.flags & 8192 /* Method */ || target.symbol.flags & 2048 /* TypeLiteral */) && !target.aliasTypeArguments ? filter(typeParameters, (tp) => some(allDeclarations, (d) => isTypeParameterPossiblyReferenced(tp, d))) : typeParameters; + links.outerTypeParameters = typeParameters; + } + if (typeParameters.length) { + const combinedMapper = combineTypeMappers(type.mapper, mapper); + const typeArguments = map(typeParameters, (t) => getMappedType(t, combinedMapper)); + const newAliasSymbol = aliasSymbol || type.aliasSymbol; + const newAliasTypeArguments = aliasSymbol ? aliasTypeArguments : instantiateTypes(type.aliasTypeArguments, mapper); + const id = (type.objectFlags & 134217728 /* SingleSignatureType */ ? "S" : "") + getTypeListId(typeArguments) + getAliasId(newAliasSymbol, newAliasTypeArguments); + if (!target.instantiations) { + target.instantiations = /* @__PURE__ */ new Map(); + target.instantiations.set(getTypeListId(typeParameters) + getAliasId(target.aliasSymbol, target.aliasTypeArguments), target); + } + let result = target.instantiations.get(id); + if (!result) { + if (type.objectFlags & 134217728 /* SingleSignatureType */) { + result = instantiateAnonymousType(type, mapper); + target.instantiations.set(id, result); + return result; + } + const newMapper = createTypeMapper(typeParameters, typeArguments); + result = target.objectFlags & 4 /* Reference */ ? createDeferredTypeReference(type.target, type.node, newMapper, newAliasSymbol, newAliasTypeArguments) : target.objectFlags & 32 /* Mapped */ ? instantiateMappedType(target, newMapper, newAliasSymbol, newAliasTypeArguments) : instantiateAnonymousType(target, newMapper, newAliasSymbol, newAliasTypeArguments); + target.instantiations.set(id, result); + const resultObjectFlags = getObjectFlags(result); + if (result.flags & 3899393 /* ObjectFlagsType */ && !(resultObjectFlags & 524288 /* CouldContainTypeVariablesComputed */)) { + const resultCouldContainTypeVariables = some(typeArguments, couldContainTypeVariables); + if (!(getObjectFlags(result) & 524288 /* CouldContainTypeVariablesComputed */)) { + if (resultObjectFlags & (32 /* Mapped */ | 16 /* Anonymous */ | 4 /* Reference */)) { + result.objectFlags |= 524288 /* CouldContainTypeVariablesComputed */ | (resultCouldContainTypeVariables ? 1048576 /* CouldContainTypeVariables */ : 0); + } else { + result.objectFlags |= !resultCouldContainTypeVariables ? 524288 /* CouldContainTypeVariablesComputed */ : 0; + } + } + } + } + return result; + } + return type; + } + function maybeTypeParameterReference(node) { + return !(node.parent.kind === 183 /* TypeReference */ && node.parent.typeArguments && node === node.parent.typeName || node.parent.kind === 205 /* ImportType */ && node.parent.typeArguments && node === node.parent.qualifier); + } + function isTypeParameterPossiblyReferenced(tp, node) { + if (tp.symbol && tp.symbol.declarations && tp.symbol.declarations.length === 1) { + const container = tp.symbol.declarations[0].parent; + for (let n = node; n !== container; n = n.parent) { + if (!n || n.kind === 241 /* Block */ || n.kind === 194 /* ConditionalType */ && forEachChild(n.extendsType, containsReference)) { + return true; + } + } + return containsReference(node); + } + return true; + function containsReference(node2) { + switch (node2.kind) { + case 197 /* ThisType */: + return !!tp.isThisType; + case 80 /* Identifier */: + return !tp.isThisType && isPartOfTypeNode(node2) && maybeTypeParameterReference(node2) && getTypeFromTypeNodeWorker(node2) === tp; + // use worker because we're looking for === equality + case 186 /* TypeQuery */: + const entityName = node2.exprName; + const firstIdentifier = getFirstIdentifier(entityName); + if (!isThisIdentifier(firstIdentifier)) { + const firstIdentifierSymbol = getResolvedSymbol(firstIdentifier); + const tpDeclaration = tp.symbol.declarations[0]; + const tpScope = tpDeclaration.kind === 168 /* TypeParameter */ ? tpDeclaration.parent : ( + // Type parameter is a regular type parameter, e.g. foo + tp.isThisType ? tpDeclaration : ( + // Type parameter is the this type, and its declaration is the class declaration. + void 0 + ) + ); + if (firstIdentifierSymbol.declarations && tpScope) { + return some(firstIdentifierSymbol.declarations, (idDecl) => isNodeDescendantOf(idDecl, tpScope)) || some(node2.typeArguments, containsReference); + } + } + return true; + case 174 /* MethodDeclaration */: + case 173 /* MethodSignature */: + return !node2.type && !!node2.body || some(node2.typeParameters, containsReference) || some(node2.parameters, containsReference) || !!node2.type && containsReference(node2.type); + } + return !!forEachChild(node2, containsReference); + } + } + function getHomomorphicTypeVariable(type) { + const constraintType = getConstraintTypeFromMappedType(type); + if (constraintType.flags & 4194304 /* Index */) { + const typeVariable = getActualTypeVariable(constraintType.type); + if (typeVariable.flags & 262144 /* TypeParameter */) { + return typeVariable; + } + } + return void 0; + } + function instantiateMappedType(type, mapper, aliasSymbol, aliasTypeArguments) { + const typeVariable = getHomomorphicTypeVariable(type); + if (typeVariable) { + const mappedTypeVariable = instantiateType(typeVariable, mapper); + if (typeVariable !== mappedTypeVariable) { + return mapTypeWithAlias(getReducedType(mappedTypeVariable), instantiateConstituent, aliasSymbol, aliasTypeArguments); + } + } + return instantiateType(getConstraintTypeFromMappedType(type), mapper) === wildcardType ? wildcardType : instantiateAnonymousType(type, mapper, aliasSymbol, aliasTypeArguments); + function instantiateConstituent(t) { + if (t.flags & (3 /* AnyOrUnknown */ | 58982400 /* InstantiableNonPrimitive */ | 524288 /* Object */ | 2097152 /* Intersection */) && t !== wildcardType && !isErrorType(t)) { + if (!type.declaration.nameType) { + let constraint; + if (isArrayType(t) || t.flags & 1 /* Any */ && findResolutionCycleStartIndex(typeVariable, 4 /* ImmediateBaseConstraint */) < 0 && (constraint = getConstraintOfTypeParameter(typeVariable)) && everyType(constraint, isArrayOrTupleType)) { + return instantiateMappedArrayType(t, type, prependTypeMapping(typeVariable, t, mapper)); + } + if (isTupleType(t)) { + return instantiateMappedTupleType(t, type, typeVariable, mapper); + } + if (isArrayOrTupleOrIntersection(t)) { + return getIntersectionType(map(t.types, instantiateConstituent)); + } + } + return instantiateAnonymousType(type, prependTypeMapping(typeVariable, t, mapper)); + } + return t; + } + } + function getModifiedReadonlyState(state, modifiers) { + return modifiers & 1 /* IncludeReadonly */ ? true : modifiers & 2 /* ExcludeReadonly */ ? false : state; + } + function instantiateMappedTupleType(tupleType, mappedType, typeVariable, mapper) { + const elementFlags = tupleType.target.elementFlags; + const fixedLength = tupleType.target.fixedLength; + const fixedMapper = fixedLength ? prependTypeMapping(typeVariable, tupleType, mapper) : mapper; + const newElementTypes = map(getElementTypes(tupleType), (type, i) => { + const flags = elementFlags[i]; + return i < fixedLength ? instantiateMappedTypeTemplate(mappedType, getStringLiteralType("" + i), !!(flags & 2 /* Optional */), fixedMapper) : flags & 8 /* Variadic */ ? instantiateType(mappedType, prependTypeMapping(typeVariable, type, mapper)) : getElementTypeOfArrayType(instantiateType(mappedType, prependTypeMapping(typeVariable, createArrayType(type), mapper))) ?? unknownType; + }); + const modifiers = getMappedTypeModifiers(mappedType); + const newElementFlags = modifiers & 4 /* IncludeOptional */ ? map(elementFlags, (f) => f & 1 /* Required */ ? 2 /* Optional */ : f) : modifiers & 8 /* ExcludeOptional */ ? map(elementFlags, (f) => f & 2 /* Optional */ ? 1 /* Required */ : f) : elementFlags; + const newReadonly = getModifiedReadonlyState(tupleType.target.readonly, getMappedTypeModifiers(mappedType)); + return contains(newElementTypes, errorType) ? errorType : createTupleType(newElementTypes, newElementFlags, newReadonly, tupleType.target.labeledElementDeclarations); + } + function instantiateMappedArrayType(arrayType, mappedType, mapper) { + const elementType = instantiateMappedTypeTemplate( + mappedType, + numberType, + /*isOptional*/ + true, + mapper + ); + return isErrorType(elementType) ? errorType : createArrayType(elementType, getModifiedReadonlyState(isReadonlyArrayType(arrayType), getMappedTypeModifiers(mappedType))); + } + function instantiateMappedTypeTemplate(type, key, isOptional, mapper) { + const templateMapper = appendTypeMapping(mapper, getTypeParameterFromMappedType(type), key); + const propType = instantiateType(getTemplateTypeFromMappedType(type.target || type), templateMapper); + const modifiers = getMappedTypeModifiers(type); + return strictNullChecks && modifiers & 4 /* IncludeOptional */ && !maybeTypeOfKind(propType, 32768 /* Undefined */ | 16384 /* Void */) ? getOptionalType( + propType, + /*isProperty*/ + true + ) : strictNullChecks && modifiers & 8 /* ExcludeOptional */ && isOptional ? getTypeWithFacts(propType, 524288 /* NEUndefined */) : propType; + } + function instantiateAnonymousType(type, mapper, aliasSymbol, aliasTypeArguments) { + Debug.assert(type.symbol, "anonymous type must have symbol to be instantiated"); + const result = createObjectType(type.objectFlags & ~(524288 /* CouldContainTypeVariablesComputed */ | 1048576 /* CouldContainTypeVariables */) | 64 /* Instantiated */, type.symbol); + if (type.objectFlags & 32 /* Mapped */) { + result.declaration = type.declaration; + const origTypeParameter = getTypeParameterFromMappedType(type); + const freshTypeParameter = cloneTypeParameter(origTypeParameter); + result.typeParameter = freshTypeParameter; + mapper = combineTypeMappers(makeUnaryTypeMapper(origTypeParameter, freshTypeParameter), mapper); + freshTypeParameter.mapper = mapper; + } + if (type.objectFlags & 8388608 /* InstantiationExpressionType */) { + result.node = type.node; + } + if (type.objectFlags & 134217728 /* SingleSignatureType */) { + result.outerTypeParameters = type.outerTypeParameters; + } + result.target = type; + result.mapper = mapper; + result.aliasSymbol = aliasSymbol || type.aliasSymbol; + result.aliasTypeArguments = aliasSymbol ? aliasTypeArguments : instantiateTypes(type.aliasTypeArguments, mapper); + result.objectFlags |= result.aliasTypeArguments ? getPropagatingFlagsOfTypes(result.aliasTypeArguments) : 0; + return result; + } + function getConditionalTypeInstantiation(type, mapper, forConstraint, aliasSymbol, aliasTypeArguments) { + const root = type.root; + if (root.outerTypeParameters) { + const typeArguments = map(root.outerTypeParameters, (t) => getMappedType(t, mapper)); + const id = (forConstraint ? "C" : "") + getTypeListId(typeArguments) + getAliasId(aliasSymbol, aliasTypeArguments); + let result = root.instantiations.get(id); + if (!result) { + const newMapper = createTypeMapper(root.outerTypeParameters, typeArguments); + const checkType = root.checkType; + const distributionType = root.isDistributive ? getReducedType(getMappedType(checkType, newMapper)) : void 0; + result = distributionType && checkType !== distributionType && distributionType.flags & (1048576 /* Union */ | 131072 /* Never */) ? mapTypeWithAlias(distributionType, (t) => getConditionalType(root, prependTypeMapping(checkType, t, newMapper), forConstraint), aliasSymbol, aliasTypeArguments) : getConditionalType(root, newMapper, forConstraint, aliasSymbol, aliasTypeArguments); + root.instantiations.set(id, result); + } + return result; + } + return type; + } + function instantiateType(type, mapper) { + return type && mapper ? instantiateTypeWithAlias( + type, + mapper, + /*aliasSymbol*/ + void 0, + /*aliasTypeArguments*/ + void 0 + ) : type; + } + function instantiateTypeWithAlias(type, mapper, aliasSymbol, aliasTypeArguments) { + var _a; + if (!couldContainTypeVariables(type)) { + return type; + } + if (instantiationDepth === 100 || instantiationCount >= 5e6) { + (_a = tracing) == null ? void 0 : _a.instant(tracing.Phase.CheckTypes, "instantiateType_DepthLimit", { typeId: type.id, instantiationDepth, instantiationCount }); + error(currentNode, Diagnostics.Type_instantiation_is_excessively_deep_and_possibly_infinite); + return errorType; + } + totalInstantiationCount++; + instantiationCount++; + instantiationDepth++; + const result = instantiateTypeWorker(type, mapper, aliasSymbol, aliasTypeArguments); + instantiationDepth--; + return result; + } + function instantiateTypeWorker(type, mapper, aliasSymbol, aliasTypeArguments) { + const flags = type.flags; + if (flags & 262144 /* TypeParameter */) { + return getMappedType(type, mapper); + } + if (flags & 524288 /* Object */) { + const objectFlags = type.objectFlags; + if (objectFlags & (4 /* Reference */ | 16 /* Anonymous */ | 32 /* Mapped */)) { + if (objectFlags & 4 /* Reference */ && !type.node) { + const resolvedTypeArguments = type.resolvedTypeArguments; + const newTypeArguments = instantiateTypes(resolvedTypeArguments, mapper); + return newTypeArguments !== resolvedTypeArguments ? createNormalizedTypeReference(type.target, newTypeArguments) : type; + } + if (objectFlags & 1024 /* ReverseMapped */) { + return instantiateReverseMappedType(type, mapper); + } + return getObjectTypeInstantiation(type, mapper, aliasSymbol, aliasTypeArguments); + } + return type; + } + if (flags & 3145728 /* UnionOrIntersection */) { + const origin = type.flags & 1048576 /* Union */ ? type.origin : void 0; + const types = origin && origin.flags & 3145728 /* UnionOrIntersection */ ? origin.types : type.types; + const newTypes = instantiateTypes(types, mapper); + if (newTypes === types && aliasSymbol === type.aliasSymbol) { + return type; + } + const newAliasSymbol = aliasSymbol || type.aliasSymbol; + const newAliasTypeArguments = aliasSymbol ? aliasTypeArguments : instantiateTypes(type.aliasTypeArguments, mapper); + return flags & 2097152 /* Intersection */ || origin && origin.flags & 2097152 /* Intersection */ ? getIntersectionType(newTypes, 0 /* None */, newAliasSymbol, newAliasTypeArguments) : getUnionType(newTypes, 1 /* Literal */, newAliasSymbol, newAliasTypeArguments); + } + if (flags & 4194304 /* Index */) { + return getIndexType(instantiateType(type.type, mapper)); + } + if (flags & 134217728 /* TemplateLiteral */) { + return getTemplateLiteralType(type.texts, instantiateTypes(type.types, mapper)); + } + if (flags & 268435456 /* StringMapping */) { + return getStringMappingType(type.symbol, instantiateType(type.type, mapper)); + } + if (flags & 8388608 /* IndexedAccess */) { + const newAliasSymbol = aliasSymbol || type.aliasSymbol; + const newAliasTypeArguments = aliasSymbol ? aliasTypeArguments : instantiateTypes(type.aliasTypeArguments, mapper); + return getIndexedAccessType( + instantiateType(type.objectType, mapper), + instantiateType(type.indexType, mapper), + type.accessFlags, + /*accessNode*/ + void 0, + newAliasSymbol, + newAliasTypeArguments + ); + } + if (flags & 16777216 /* Conditional */) { + return getConditionalTypeInstantiation( + type, + combineTypeMappers(type.mapper, mapper), + /*forConstraint*/ + false, + aliasSymbol, + aliasTypeArguments + ); + } + if (flags & 33554432 /* Substitution */) { + const newBaseType = instantiateType(type.baseType, mapper); + if (isNoInferType(type)) { + return getNoInferType(newBaseType); + } + const newConstraint = instantiateType(type.constraint, mapper); + if (newBaseType.flags & 8650752 /* TypeVariable */ && isGenericType(newConstraint)) { + return getSubstitutionType(newBaseType, newConstraint); + } + if (newConstraint.flags & 3 /* AnyOrUnknown */ || isTypeAssignableTo(getRestrictiveInstantiation(newBaseType), getRestrictiveInstantiation(newConstraint))) { + return newBaseType; + } + return newBaseType.flags & 8650752 /* TypeVariable */ ? getSubstitutionType(newBaseType, newConstraint) : getIntersectionType([newConstraint, newBaseType]); + } + return type; + } + function instantiateReverseMappedType(type, mapper) { + const innerMappedType = instantiateType(type.mappedType, mapper); + if (!(getObjectFlags(innerMappedType) & 32 /* Mapped */)) { + return type; + } + const innerIndexType = instantiateType(type.constraintType, mapper); + if (!(innerIndexType.flags & 4194304 /* Index */)) { + return type; + } + const instantiated = inferTypeForHomomorphicMappedType( + instantiateType(type.source, mapper), + innerMappedType, + innerIndexType + ); + if (instantiated) { + return instantiated; + } + return type; + } + function getPermissiveInstantiation(type) { + return type.flags & (402784252 /* Primitive */ | 3 /* AnyOrUnknown */ | 131072 /* Never */) ? type : type.permissiveInstantiation || (type.permissiveInstantiation = instantiateType(type, permissiveMapper)); + } + function getRestrictiveInstantiation(type) { + if (type.flags & (402784252 /* Primitive */ | 3 /* AnyOrUnknown */ | 131072 /* Never */)) { + return type; + } + if (type.restrictiveInstantiation) { + return type.restrictiveInstantiation; + } + type.restrictiveInstantiation = instantiateType(type, restrictiveMapper); + type.restrictiveInstantiation.restrictiveInstantiation = type.restrictiveInstantiation; + return type.restrictiveInstantiation; + } + function instantiateIndexInfo(info, mapper) { + return createIndexInfo(info.keyType, instantiateType(info.type, mapper), info.isReadonly, info.declaration); + } + function isContextSensitive(node) { + Debug.assert(node.kind !== 174 /* MethodDeclaration */ || isObjectLiteralMethod(node)); + switch (node.kind) { + case 218 /* FunctionExpression */: + case 219 /* ArrowFunction */: + case 174 /* MethodDeclaration */: + case 262 /* FunctionDeclaration */: + return isContextSensitiveFunctionLikeDeclaration(node); + case 210 /* ObjectLiteralExpression */: + return some(node.properties, isContextSensitive); + case 209 /* ArrayLiteralExpression */: + return some(node.elements, isContextSensitive); + case 227 /* ConditionalExpression */: + return isContextSensitive(node.whenTrue) || isContextSensitive(node.whenFalse); + case 226 /* BinaryExpression */: + return (node.operatorToken.kind === 57 /* BarBarToken */ || node.operatorToken.kind === 61 /* QuestionQuestionToken */) && (isContextSensitive(node.left) || isContextSensitive(node.right)); + case 303 /* PropertyAssignment */: + return isContextSensitive(node.initializer); + case 217 /* ParenthesizedExpression */: + return isContextSensitive(node.expression); + case 292 /* JsxAttributes */: + return some(node.properties, isContextSensitive) || isJsxOpeningElement(node.parent) && some(node.parent.parent.children, isContextSensitive); + case 291 /* JsxAttribute */: { + const { initializer } = node; + return !!initializer && isContextSensitive(initializer); + } + case 294 /* JsxExpression */: { + const { expression } = node; + return !!expression && isContextSensitive(expression); + } + } + return false; + } + function isContextSensitiveFunctionLikeDeclaration(node) { + return hasContextSensitiveParameters(node) || hasContextSensitiveReturnExpression(node); + } + function hasContextSensitiveReturnExpression(node) { + if (node.typeParameters || getEffectiveReturnTypeNode(node) || !node.body) { + return false; + } + if (node.body.kind !== 241 /* Block */) { + return isContextSensitive(node.body); + } + return !!forEachReturnStatement(node.body, (statement) => !!statement.expression && isContextSensitive(statement.expression)); + } + function isContextSensitiveFunctionOrObjectLiteralMethod(func) { + return (isFunctionExpressionOrArrowFunction(func) || isObjectLiteralMethod(func)) && isContextSensitiveFunctionLikeDeclaration(func); + } + function getTypeWithoutSignatures(type) { + if (type.flags & 524288 /* Object */) { + const resolved = resolveStructuredTypeMembers(type); + if (resolved.constructSignatures.length || resolved.callSignatures.length) { + const result = createObjectType(16 /* Anonymous */, type.symbol); + result.members = resolved.members; + result.properties = resolved.properties; + result.callSignatures = emptyArray; + result.constructSignatures = emptyArray; + result.indexInfos = emptyArray; + return result; + } + } else if (type.flags & 2097152 /* Intersection */) { + return getIntersectionType(map(type.types, getTypeWithoutSignatures)); + } + return type; + } + function isTypeIdenticalTo(source, target) { + return isTypeRelatedTo(source, target, identityRelation); + } + function compareTypesIdentical(source, target) { + return isTypeRelatedTo(source, target, identityRelation) ? -1 /* True */ : 0 /* False */; + } + function compareTypesAssignable(source, target) { + return isTypeRelatedTo(source, target, assignableRelation) ? -1 /* True */ : 0 /* False */; + } + function compareTypesSubtypeOf(source, target) { + return isTypeRelatedTo(source, target, subtypeRelation) ? -1 /* True */ : 0 /* False */; + } + function isTypeSubtypeOf(source, target) { + return isTypeRelatedTo(source, target, subtypeRelation); + } + function isTypeStrictSubtypeOf(source, target) { + return isTypeRelatedTo(source, target, strictSubtypeRelation); + } + function isTypeAssignableTo(source, target) { + return isTypeRelatedTo(source, target, assignableRelation); + } + function isTypeDerivedFrom(source, target) { + return source.flags & 1048576 /* Union */ ? every(source.types, (t) => isTypeDerivedFrom(t, target)) : target.flags & 1048576 /* Union */ ? some(target.types, (t) => isTypeDerivedFrom(source, t)) : source.flags & 2097152 /* Intersection */ ? some(source.types, (t) => isTypeDerivedFrom(t, target)) : source.flags & 58982400 /* InstantiableNonPrimitive */ ? isTypeDerivedFrom(getBaseConstraintOfType(source) || unknownType, target) : isEmptyAnonymousObjectType(target) ? !!(source.flags & (524288 /* Object */ | 67108864 /* NonPrimitive */)) : target === globalObjectType ? !!(source.flags & (524288 /* Object */ | 67108864 /* NonPrimitive */)) && !isEmptyAnonymousObjectType(source) : target === globalFunctionType ? !!(source.flags & 524288 /* Object */) && isFunctionObjectType(source) : hasBaseType(source, getTargetType(target)) || isArrayType(target) && !isReadonlyArrayType(target) && isTypeDerivedFrom(source, globalReadonlyArrayType); + } + function isTypeComparableTo(source, target) { + return isTypeRelatedTo(source, target, comparableRelation); + } + function areTypesComparable(type1, type2) { + return isTypeComparableTo(type1, type2) || isTypeComparableTo(type2, type1); + } + function checkTypeAssignableTo(source, target, errorNode, headMessage, containingMessageChain, errorOutputObject) { + return checkTypeRelatedTo(source, target, assignableRelation, errorNode, headMessage, containingMessageChain, errorOutputObject); + } + function checkTypeAssignableToAndOptionallyElaborate(source, target, errorNode, expr, headMessage, containingMessageChain) { + return checkTypeRelatedToAndOptionallyElaborate( + source, + target, + assignableRelation, + errorNode, + expr, + headMessage, + containingMessageChain, + /*errorOutputContainer*/ + void 0 + ); + } + function checkTypeRelatedToAndOptionallyElaborate(source, target, relation, errorNode, expr, headMessage, containingMessageChain, errorOutputContainer) { + if (isTypeRelatedTo(source, target, relation)) return true; + if (!errorNode || !elaborateError(expr, source, target, relation, headMessage, containingMessageChain, errorOutputContainer)) { + return checkTypeRelatedTo(source, target, relation, errorNode, headMessage, containingMessageChain, errorOutputContainer); + } + return false; + } + function isOrHasGenericConditional(type) { + return !!(type.flags & 16777216 /* Conditional */ || type.flags & 2097152 /* Intersection */ && some(type.types, isOrHasGenericConditional)); + } + function elaborateError(node, source, target, relation, headMessage, containingMessageChain, errorOutputContainer) { + if (!node || isOrHasGenericConditional(target)) return false; + if (!checkTypeRelatedTo( + source, + target, + relation, + /*errorNode*/ + void 0 + ) && elaborateDidYouMeanToCallOrConstruct(node, source, target, relation, headMessage, containingMessageChain, errorOutputContainer)) { + return true; + } + switch (node.kind) { + case 234 /* AsExpression */: + if (!isConstAssertion(node)) { + break; + } + // fallthrough + case 294 /* JsxExpression */: + case 217 /* ParenthesizedExpression */: + return elaborateError(node.expression, source, target, relation, headMessage, containingMessageChain, errorOutputContainer); + case 226 /* BinaryExpression */: + switch (node.operatorToken.kind) { + case 64 /* EqualsToken */: + case 28 /* CommaToken */: + return elaborateError(node.right, source, target, relation, headMessage, containingMessageChain, errorOutputContainer); + } + break; + case 210 /* ObjectLiteralExpression */: + return elaborateObjectLiteral(node, source, target, relation, containingMessageChain, errorOutputContainer); + case 209 /* ArrayLiteralExpression */: + return elaborateArrayLiteral(node, source, target, relation, containingMessageChain, errorOutputContainer); + case 292 /* JsxAttributes */: + return elaborateJsxComponents(node, source, target, relation, containingMessageChain, errorOutputContainer); + case 219 /* ArrowFunction */: + return elaborateArrowFunction(node, source, target, relation, containingMessageChain, errorOutputContainer); + } + return false; + } + function elaborateDidYouMeanToCallOrConstruct(node, source, target, relation, headMessage, containingMessageChain, errorOutputContainer) { + const callSignatures = getSignaturesOfType(source, 0 /* Call */); + const constructSignatures = getSignaturesOfType(source, 1 /* Construct */); + for (const signatures of [constructSignatures, callSignatures]) { + if (some(signatures, (s) => { + const returnType = getReturnTypeOfSignature(s); + return !(returnType.flags & (1 /* Any */ | 131072 /* Never */)) && checkTypeRelatedTo( + returnType, + target, + relation, + /*errorNode*/ + void 0 + ); + })) { + const resultObj = errorOutputContainer || {}; + checkTypeAssignableTo(source, target, node, headMessage, containingMessageChain, resultObj); + const diagnostic = resultObj.errors[resultObj.errors.length - 1]; + addRelatedInfo( + diagnostic, + createDiagnosticForNode( + node, + signatures === constructSignatures ? Diagnostics.Did_you_mean_to_use_new_with_this_expression : Diagnostics.Did_you_mean_to_call_this_expression + ) + ); + return true; + } + } + return false; + } + function elaborateArrowFunction(node, source, target, relation, containingMessageChain, errorOutputContainer) { + if (isBlock(node.body)) { + return false; + } + if (some(node.parameters, hasType)) { + return false; + } + const sourceSig = getSingleCallSignature(source); + if (!sourceSig) { + return false; + } + const targetSignatures = getSignaturesOfType(target, 0 /* Call */); + if (!length(targetSignatures)) { + return false; + } + const returnExpression = node.body; + const sourceReturn = getReturnTypeOfSignature(sourceSig); + const targetReturn = getUnionType(map(targetSignatures, getReturnTypeOfSignature)); + if (!checkTypeRelatedTo( + sourceReturn, + targetReturn, + relation, + /*errorNode*/ + void 0 + )) { + const elaborated = returnExpression && elaborateError( + returnExpression, + sourceReturn, + targetReturn, + relation, + /*headMessage*/ + void 0, + containingMessageChain, + errorOutputContainer + ); + if (elaborated) { + return elaborated; + } + const resultObj = errorOutputContainer || {}; + checkTypeRelatedTo( + sourceReturn, + targetReturn, + relation, + returnExpression, + /*headMessage*/ + void 0, + containingMessageChain, + resultObj + ); + if (resultObj.errors) { + if (target.symbol && length(target.symbol.declarations)) { + addRelatedInfo( + resultObj.errors[resultObj.errors.length - 1], + createDiagnosticForNode( + target.symbol.declarations[0], + Diagnostics.The_expected_type_comes_from_the_return_type_of_this_signature + ) + ); + } + if ((getFunctionFlags(node) & 2 /* Async */) === 0 && !getTypeOfPropertyOfType(sourceReturn, "then") && checkTypeRelatedTo( + createPromiseType(sourceReturn), + targetReturn, + relation, + /*errorNode*/ + void 0 + )) { + addRelatedInfo( + resultObj.errors[resultObj.errors.length - 1], + createDiagnosticForNode( + node, + Diagnostics.Did_you_mean_to_mark_this_function_as_async + ) + ); + } + return true; + } + } + return false; + } + function getBestMatchIndexedAccessTypeOrUndefined(source, target, nameType) { + const idx = getIndexedAccessTypeOrUndefined(target, nameType); + if (idx) { + return idx; + } + if (target.flags & 1048576 /* Union */) { + const best = getBestMatchingType(source, target); + if (best) { + return getIndexedAccessTypeOrUndefined(best, nameType); + } + } + } + function checkExpressionForMutableLocationWithContextualType(next, sourcePropType) { + pushContextualType( + next, + sourcePropType, + /*isCache*/ + false + ); + const result = checkExpressionForMutableLocation(next, 1 /* Contextual */); + popContextualType(); + return result; + } + function elaborateElementwise(iterator, source, target, relation, containingMessageChain, errorOutputContainer) { + let reportedError = false; + for (const value of iterator) { + const { errorNode: prop, innerExpression: next, nameType, errorMessage } = value; + let targetPropType = getBestMatchIndexedAccessTypeOrUndefined(source, target, nameType); + if (!targetPropType || targetPropType.flags & 8388608 /* IndexedAccess */) continue; + let sourcePropType = getIndexedAccessTypeOrUndefined(source, nameType); + if (!sourcePropType) continue; + const propName = getPropertyNameFromIndex( + nameType, + /*accessNode*/ + void 0 + ); + if (!checkTypeRelatedTo( + sourcePropType, + targetPropType, + relation, + /*errorNode*/ + void 0 + )) { + const elaborated = next && elaborateError( + next, + sourcePropType, + targetPropType, + relation, + /*headMessage*/ + void 0, + containingMessageChain, + errorOutputContainer + ); + reportedError = true; + if (!elaborated) { + const resultObj = errorOutputContainer || {}; + const specificSource = next ? checkExpressionForMutableLocationWithContextualType(next, sourcePropType) : sourcePropType; + if (exactOptionalPropertyTypes && isExactOptionalPropertyMismatch(specificSource, targetPropType)) { + const diag2 = createDiagnosticForNode(prop, Diagnostics.Type_0_is_not_assignable_to_type_1_with_exactOptionalPropertyTypes_Colon_true_Consider_adding_undefined_to_the_type_of_the_target, typeToString(specificSource), typeToString(targetPropType)); + diagnostics.add(diag2); + resultObj.errors = [diag2]; + } else { + const targetIsOptional = !!(propName && (getPropertyOfType(target, propName) || unknownSymbol).flags & 16777216 /* Optional */); + const sourceIsOptional = !!(propName && (getPropertyOfType(source, propName) || unknownSymbol).flags & 16777216 /* Optional */); + targetPropType = removeMissingType(targetPropType, targetIsOptional); + sourcePropType = removeMissingType(sourcePropType, targetIsOptional && sourceIsOptional); + const result = checkTypeRelatedTo(specificSource, targetPropType, relation, prop, errorMessage, containingMessageChain, resultObj); + if (result && specificSource !== sourcePropType) { + checkTypeRelatedTo(sourcePropType, targetPropType, relation, prop, errorMessage, containingMessageChain, resultObj); + } + } + if (resultObj.errors) { + const reportedDiag = resultObj.errors[resultObj.errors.length - 1]; + const propertyName = isTypeUsableAsPropertyName(nameType) ? getPropertyNameFromType(nameType) : void 0; + const targetProp = propertyName !== void 0 ? getPropertyOfType(target, propertyName) : void 0; + let issuedElaboration = false; + if (!targetProp) { + const indexInfo = getApplicableIndexInfo(target, nameType); + if (indexInfo && indexInfo.declaration && !getSourceFileOfNode(indexInfo.declaration).hasNoDefaultLib) { + issuedElaboration = true; + addRelatedInfo(reportedDiag, createDiagnosticForNode(indexInfo.declaration, Diagnostics.The_expected_type_comes_from_this_index_signature)); + } + } + if (!issuedElaboration && (targetProp && length(targetProp.declarations) || target.symbol && length(target.symbol.declarations))) { + const targetNode = targetProp && length(targetProp.declarations) ? targetProp.declarations[0] : target.symbol.declarations[0]; + if (!getSourceFileOfNode(targetNode).hasNoDefaultLib) { + addRelatedInfo( + reportedDiag, + createDiagnosticForNode( + targetNode, + Diagnostics.The_expected_type_comes_from_property_0_which_is_declared_here_on_type_1, + propertyName && !(nameType.flags & 8192 /* UniqueESSymbol */) ? unescapeLeadingUnderscores(propertyName) : typeToString(nameType), + typeToString(target) + ) + ); + } + } + } + } + } + } + return reportedError; + } + function elaborateIterableOrArrayLikeTargetElementwise(iterator, source, target, relation, containingMessageChain, errorOutputContainer) { + const tupleOrArrayLikeTargetParts = filterType(target, isArrayOrTupleLikeType); + const nonTupleOrArrayLikeTargetParts = filterType(target, (t) => !isArrayOrTupleLikeType(t)); + const iterationType = nonTupleOrArrayLikeTargetParts !== neverType ? getIterationTypeOfIterable( + 13 /* ForOf */, + 0 /* Yield */, + nonTupleOrArrayLikeTargetParts, + /*errorNode*/ + void 0 + ) : void 0; + let reportedError = false; + for (let status = iterator.next(); !status.done; status = iterator.next()) { + const { errorNode: prop, innerExpression: next, nameType, errorMessage } = status.value; + let targetPropType = iterationType; + const targetIndexedPropType = tupleOrArrayLikeTargetParts !== neverType ? getBestMatchIndexedAccessTypeOrUndefined(source, tupleOrArrayLikeTargetParts, nameType) : void 0; + if (targetIndexedPropType && !(targetIndexedPropType.flags & 8388608 /* IndexedAccess */)) { + targetPropType = iterationType ? getUnionType([iterationType, targetIndexedPropType]) : targetIndexedPropType; + } + if (!targetPropType) continue; + let sourcePropType = getIndexedAccessTypeOrUndefined(source, nameType); + if (!sourcePropType) continue; + const propName = getPropertyNameFromIndex( + nameType, + /*accessNode*/ + void 0 + ); + if (!checkTypeRelatedTo( + sourcePropType, + targetPropType, + relation, + /*errorNode*/ + void 0 + )) { + const elaborated = next && elaborateError( + next, + sourcePropType, + targetPropType, + relation, + /*headMessage*/ + void 0, + containingMessageChain, + errorOutputContainer + ); + reportedError = true; + if (!elaborated) { + const resultObj = errorOutputContainer || {}; + const specificSource = next ? checkExpressionForMutableLocationWithContextualType(next, sourcePropType) : sourcePropType; + if (exactOptionalPropertyTypes && isExactOptionalPropertyMismatch(specificSource, targetPropType)) { + const diag2 = createDiagnosticForNode(prop, Diagnostics.Type_0_is_not_assignable_to_type_1_with_exactOptionalPropertyTypes_Colon_true_Consider_adding_undefined_to_the_type_of_the_target, typeToString(specificSource), typeToString(targetPropType)); + diagnostics.add(diag2); + resultObj.errors = [diag2]; + } else { + const targetIsOptional = !!(propName && (getPropertyOfType(tupleOrArrayLikeTargetParts, propName) || unknownSymbol).flags & 16777216 /* Optional */); + const sourceIsOptional = !!(propName && (getPropertyOfType(source, propName) || unknownSymbol).flags & 16777216 /* Optional */); + targetPropType = removeMissingType(targetPropType, targetIsOptional); + sourcePropType = removeMissingType(sourcePropType, targetIsOptional && sourceIsOptional); + const result = checkTypeRelatedTo(specificSource, targetPropType, relation, prop, errorMessage, containingMessageChain, resultObj); + if (result && specificSource !== sourcePropType) { + checkTypeRelatedTo(sourcePropType, targetPropType, relation, prop, errorMessage, containingMessageChain, resultObj); + } + } + } + } + } + return reportedError; + } + function* generateJsxAttributes(node) { + if (!length(node.properties)) return; + for (const prop of node.properties) { + if (isJsxSpreadAttribute(prop) || isHyphenatedJsxName(getTextOfJsxAttributeName(prop.name))) continue; + yield { errorNode: prop.name, innerExpression: prop.initializer, nameType: getStringLiteralType(getTextOfJsxAttributeName(prop.name)) }; + } + } + function* generateJsxChildren(node, getInvalidTextDiagnostic) { + if (!length(node.children)) return; + let memberOffset = 0; + for (let i = 0; i < node.children.length; i++) { + const child = node.children[i]; + const nameType = getNumberLiteralType(i - memberOffset); + const elem = getElaborationElementForJsxChild(child, nameType, getInvalidTextDiagnostic); + if (elem) { + yield elem; + } else { + memberOffset++; + } + } + } + function getElaborationElementForJsxChild(child, nameType, getInvalidTextDiagnostic) { + switch (child.kind) { + case 294 /* JsxExpression */: + return { errorNode: child, innerExpression: child.expression, nameType }; + case 12 /* JsxText */: + if (child.containsOnlyTriviaWhiteSpaces) { + break; + } + return { errorNode: child, innerExpression: void 0, nameType, errorMessage: getInvalidTextDiagnostic() }; + case 284 /* JsxElement */: + case 285 /* JsxSelfClosingElement */: + case 288 /* JsxFragment */: + return { errorNode: child, innerExpression: child, nameType }; + default: + return Debug.assertNever(child, "Found invalid jsx child"); + } + } + function elaborateJsxComponents(node, source, target, relation, containingMessageChain, errorOutputContainer) { + let result = elaborateElementwise(generateJsxAttributes(node), source, target, relation, containingMessageChain, errorOutputContainer); + let invalidTextDiagnostic; + if (isJsxOpeningElement(node.parent) && isJsxElement(node.parent.parent)) { + const containingElement = node.parent.parent; + const childPropName = getJsxElementChildrenPropertyName(getJsxNamespaceAt(node)); + const childrenPropName = childPropName === void 0 ? "children" : unescapeLeadingUnderscores(childPropName); + const childrenNameType = getStringLiteralType(childrenPropName); + const childrenTargetType = getIndexedAccessType(target, childrenNameType); + const validChildren = getSemanticJsxChildren(containingElement.children); + if (!length(validChildren)) { + return result; + } + const moreThanOneRealChildren = length(validChildren) > 1; + let arrayLikeTargetParts; + let nonArrayLikeTargetParts; + const iterableType = getGlobalIterableType( + /*reportErrors*/ + false + ); + if (iterableType !== emptyGenericType) { + const anyIterable = createIterableType(anyType); + arrayLikeTargetParts = filterType(childrenTargetType, (t) => isTypeAssignableTo(t, anyIterable)); + nonArrayLikeTargetParts = filterType(childrenTargetType, (t) => !isTypeAssignableTo(t, anyIterable)); + } else { + arrayLikeTargetParts = filterType(childrenTargetType, isArrayOrTupleLikeType); + nonArrayLikeTargetParts = filterType(childrenTargetType, (t) => !isArrayOrTupleLikeType(t)); + } + if (moreThanOneRealChildren) { + if (arrayLikeTargetParts !== neverType) { + const realSource = createTupleType(checkJsxChildren(containingElement, 0 /* Normal */)); + const children = generateJsxChildren(containingElement, getInvalidTextualChildDiagnostic); + result = elaborateIterableOrArrayLikeTargetElementwise(children, realSource, arrayLikeTargetParts, relation, containingMessageChain, errorOutputContainer) || result; + } else if (!isTypeRelatedTo(getIndexedAccessType(source, childrenNameType), childrenTargetType, relation)) { + result = true; + const diag2 = error( + containingElement.openingElement.tagName, + Diagnostics.This_JSX_tag_s_0_prop_expects_a_single_child_of_type_1_but_multiple_children_were_provided, + childrenPropName, + typeToString(childrenTargetType) + ); + if (errorOutputContainer && errorOutputContainer.skipLogging) { + (errorOutputContainer.errors || (errorOutputContainer.errors = [])).push(diag2); + } + } + } else { + if (nonArrayLikeTargetParts !== neverType) { + const child = validChildren[0]; + const elem = getElaborationElementForJsxChild(child, childrenNameType, getInvalidTextualChildDiagnostic); + if (elem) { + result = elaborateElementwise( + function* () { + yield elem; + }(), + source, + target, + relation, + containingMessageChain, + errorOutputContainer + ) || result; + } + } else if (!isTypeRelatedTo(getIndexedAccessType(source, childrenNameType), childrenTargetType, relation)) { + result = true; + const diag2 = error( + containingElement.openingElement.tagName, + Diagnostics.This_JSX_tag_s_0_prop_expects_type_1_which_requires_multiple_children_but_only_a_single_child_was_provided, + childrenPropName, + typeToString(childrenTargetType) + ); + if (errorOutputContainer && errorOutputContainer.skipLogging) { + (errorOutputContainer.errors || (errorOutputContainer.errors = [])).push(diag2); + } + } + } + } + return result; + function getInvalidTextualChildDiagnostic() { + if (!invalidTextDiagnostic) { + const tagNameText = getTextOfNode(node.parent.tagName); + const childPropName = getJsxElementChildrenPropertyName(getJsxNamespaceAt(node)); + const childrenPropName = childPropName === void 0 ? "children" : unescapeLeadingUnderscores(childPropName); + const childrenTargetType = getIndexedAccessType(target, getStringLiteralType(childrenPropName)); + const diagnostic = Diagnostics._0_components_don_t_accept_text_as_child_elements_Text_in_JSX_has_the_type_string_but_the_expected_type_of_1_is_2; + invalidTextDiagnostic = { ...diagnostic, key: "!!ALREADY FORMATTED!!", message: formatMessage(diagnostic, tagNameText, childrenPropName, typeToString(childrenTargetType)) }; + } + return invalidTextDiagnostic; + } + } + function* generateLimitedTupleElements(node, target) { + const len = length(node.elements); + if (!len) return; + for (let i = 0; i < len; i++) { + if (isTupleLikeType(target) && !getPropertyOfType(target, "" + i)) continue; + const elem = node.elements[i]; + if (isOmittedExpression(elem)) continue; + const nameType = getNumberLiteralType(i); + const checkNode = getEffectiveCheckNode(elem); + yield { errorNode: checkNode, innerExpression: checkNode, nameType }; + } + } + function elaborateArrayLiteral(node, source, target, relation, containingMessageChain, errorOutputContainer) { + if (target.flags & (402784252 /* Primitive */ | 131072 /* Never */)) return false; + if (isTupleLikeType(source)) { + return elaborateElementwise(generateLimitedTupleElements(node, target), source, target, relation, containingMessageChain, errorOutputContainer); + } + pushContextualType( + node, + target, + /*isCache*/ + false + ); + const tupleizedType = checkArrayLiteral( + node, + 1 /* Contextual */, + /*forceTuple*/ + true + ); + popContextualType(); + if (isTupleLikeType(tupleizedType)) { + return elaborateElementwise(generateLimitedTupleElements(node, target), tupleizedType, target, relation, containingMessageChain, errorOutputContainer); + } + return false; + } + function* generateObjectLiteralElements(node) { + if (!length(node.properties)) return; + for (const prop of node.properties) { + if (isSpreadAssignment(prop)) continue; + const type = getLiteralTypeFromProperty(getSymbolOfDeclaration(prop), 8576 /* StringOrNumberLiteralOrUnique */); + if (!type || type.flags & 131072 /* Never */) { + continue; + } + switch (prop.kind) { + case 178 /* SetAccessor */: + case 177 /* GetAccessor */: + case 174 /* MethodDeclaration */: + case 304 /* ShorthandPropertyAssignment */: + yield { errorNode: prop.name, innerExpression: void 0, nameType: type }; + break; + case 303 /* PropertyAssignment */: + yield { errorNode: prop.name, innerExpression: prop.initializer, nameType: type, errorMessage: isComputedNonLiteralName(prop.name) ? Diagnostics.Type_of_computed_property_s_value_is_0_which_is_not_assignable_to_type_1 : void 0 }; + break; + default: + Debug.assertNever(prop); + } + } + } + function elaborateObjectLiteral(node, source, target, relation, containingMessageChain, errorOutputContainer) { + if (target.flags & (402784252 /* Primitive */ | 131072 /* Never */)) return false; + return elaborateElementwise(generateObjectLiteralElements(node), source, target, relation, containingMessageChain, errorOutputContainer); + } + function checkTypeComparableTo(source, target, errorNode, headMessage, containingMessageChain) { + return checkTypeRelatedTo(source, target, comparableRelation, errorNode, headMessage, containingMessageChain); + } + function isSignatureAssignableTo(source, target, ignoreReturnTypes) { + return compareSignaturesRelated( + source, + target, + ignoreReturnTypes ? 4 /* IgnoreReturnTypes */ : 0 /* None */, + /*reportErrors*/ + false, + /*errorReporter*/ + void 0, + /*incompatibleErrorReporter*/ + void 0, + compareTypesAssignable, + /*reportUnreliableMarkers*/ + void 0 + ) !== 0 /* False */; + } + function isTopSignature(s) { + if (!s.typeParameters && (!s.thisParameter || isTypeAny(getTypeOfParameter(s.thisParameter))) && s.parameters.length === 1 && signatureHasRestParameter(s)) { + const paramType = getTypeOfParameter(s.parameters[0]); + const restType = isArrayType(paramType) ? getTypeArguments(paramType)[0] : paramType; + return !!(restType.flags & (1 /* Any */ | 131072 /* Never */) && getReturnTypeOfSignature(s).flags & 3 /* AnyOrUnknown */); + } + return false; + } + function compareSignaturesRelated(source, target, checkMode, reportErrors2, errorReporter, incompatibleErrorReporter, compareTypes, reportUnreliableMarkers) { + if (source === target) { + return -1 /* True */; + } + if (!(checkMode & 16 /* StrictTopSignature */ && isTopSignature(source)) && isTopSignature(target)) { + return -1 /* True */; + } + if (checkMode & 16 /* StrictTopSignature */ && isTopSignature(source) && !isTopSignature(target)) { + return 0 /* False */; + } + const targetCount = getParameterCount(target); + const sourceHasMoreParameters = !hasEffectiveRestParameter(target) && (checkMode & 8 /* StrictArity */ ? hasEffectiveRestParameter(source) || getParameterCount(source) > targetCount : getMinArgumentCount(source) > targetCount); + if (sourceHasMoreParameters) { + if (reportErrors2 && !(checkMode & 8 /* StrictArity */)) { + errorReporter(Diagnostics.Target_signature_provides_too_few_arguments_Expected_0_or_more_but_got_1, getMinArgumentCount(source), targetCount); + } + return 0 /* False */; + } + if (source.typeParameters && source.typeParameters !== target.typeParameters) { + target = getCanonicalSignature(target); + source = instantiateSignatureInContextOf( + source, + target, + /*inferenceContext*/ + void 0, + compareTypes + ); + } + const sourceCount = getParameterCount(source); + const sourceRestType = getNonArrayRestType(source); + const targetRestType = getNonArrayRestType(target); + if (sourceRestType || targetRestType) { + void instantiateType(sourceRestType || targetRestType, reportUnreliableMarkers); + } + const kind = target.declaration ? target.declaration.kind : 0 /* Unknown */; + const strictVariance = !(checkMode & 3 /* Callback */) && strictFunctionTypes && kind !== 174 /* MethodDeclaration */ && kind !== 173 /* MethodSignature */ && kind !== 176 /* Constructor */; + let result = -1 /* True */; + const sourceThisType = getThisTypeOfSignature(source); + if (sourceThisType && sourceThisType !== voidType) { + const targetThisType = getThisTypeOfSignature(target); + if (targetThisType) { + const related = !strictVariance && compareTypes( + sourceThisType, + targetThisType, + /*reportErrors*/ + false + ) || compareTypes(targetThisType, sourceThisType, reportErrors2); + if (!related) { + if (reportErrors2) { + errorReporter(Diagnostics.The_this_types_of_each_signature_are_incompatible); + } + return 0 /* False */; + } + result &= related; + } + } + const paramCount = sourceRestType || targetRestType ? Math.min(sourceCount, targetCount) : Math.max(sourceCount, targetCount); + const restIndex = sourceRestType || targetRestType ? paramCount - 1 : -1; + for (let i = 0; i < paramCount; i++) { + const sourceType = i === restIndex ? getRestOrAnyTypeAtPosition(source, i) : tryGetTypeAtPosition(source, i); + const targetType = i === restIndex ? getRestOrAnyTypeAtPosition(target, i) : tryGetTypeAtPosition(target, i); + if (sourceType && targetType && (sourceType !== targetType || checkMode & 8 /* StrictArity */)) { + const sourceSig = checkMode & 3 /* Callback */ || isInstantiatedGenericParameter(source, i) ? void 0 : getSingleCallSignature(getNonNullableType(sourceType)); + const targetSig = checkMode & 3 /* Callback */ || isInstantiatedGenericParameter(target, i) ? void 0 : getSingleCallSignature(getNonNullableType(targetType)); + const callbacks = sourceSig && targetSig && !getTypePredicateOfSignature(sourceSig) && !getTypePredicateOfSignature(targetSig) && getTypeFacts(sourceType, 50331648 /* IsUndefinedOrNull */) === getTypeFacts(targetType, 50331648 /* IsUndefinedOrNull */); + let related = callbacks ? compareSignaturesRelated(targetSig, sourceSig, checkMode & 8 /* StrictArity */ | (strictVariance ? 2 /* StrictCallback */ : 1 /* BivariantCallback */), reportErrors2, errorReporter, incompatibleErrorReporter, compareTypes, reportUnreliableMarkers) : !(checkMode & 3 /* Callback */) && !strictVariance && compareTypes( + sourceType, + targetType, + /*reportErrors*/ + false + ) || compareTypes(targetType, sourceType, reportErrors2); + if (related && checkMode & 8 /* StrictArity */ && i >= getMinArgumentCount(source) && i < getMinArgumentCount(target) && compareTypes( + sourceType, + targetType, + /*reportErrors*/ + false + )) { + related = 0 /* False */; + } + if (!related) { + if (reportErrors2) { + errorReporter(Diagnostics.Types_of_parameters_0_and_1_are_incompatible, unescapeLeadingUnderscores(getParameterNameAtPosition(source, i)), unescapeLeadingUnderscores(getParameterNameAtPosition(target, i))); + } + return 0 /* False */; + } + result &= related; + } + } + if (!(checkMode & 4 /* IgnoreReturnTypes */)) { + const targetReturnType = isResolvingReturnTypeOfSignature(target) ? anyType : target.declaration && isJSConstructor(target.declaration) ? getDeclaredTypeOfClassOrInterface(getMergedSymbol(target.declaration.symbol)) : getReturnTypeOfSignature(target); + if (targetReturnType === voidType || targetReturnType === anyType) { + return result; + } + const sourceReturnType = isResolvingReturnTypeOfSignature(source) ? anyType : source.declaration && isJSConstructor(source.declaration) ? getDeclaredTypeOfClassOrInterface(getMergedSymbol(source.declaration.symbol)) : getReturnTypeOfSignature(source); + const targetTypePredicate = getTypePredicateOfSignature(target); + if (targetTypePredicate) { + const sourceTypePredicate = getTypePredicateOfSignature(source); + if (sourceTypePredicate) { + result &= compareTypePredicateRelatedTo(sourceTypePredicate, targetTypePredicate, reportErrors2, errorReporter, compareTypes); + } else if (isIdentifierTypePredicate(targetTypePredicate) || isThisTypePredicate(targetTypePredicate)) { + if (reportErrors2) { + errorReporter(Diagnostics.Signature_0_must_be_a_type_predicate, signatureToString(source)); + } + return 0 /* False */; + } + } else { + result &= checkMode & 1 /* BivariantCallback */ && compareTypes( + targetReturnType, + sourceReturnType, + /*reportErrors*/ + false + ) || compareTypes(sourceReturnType, targetReturnType, reportErrors2); + if (!result && reportErrors2 && incompatibleErrorReporter) { + incompatibleErrorReporter(sourceReturnType, targetReturnType); + } + } + } + return result; + } + function compareTypePredicateRelatedTo(source, target, reportErrors2, errorReporter, compareTypes) { + if (source.kind !== target.kind) { + if (reportErrors2) { + errorReporter(Diagnostics.A_this_based_type_guard_is_not_compatible_with_a_parameter_based_type_guard); + errorReporter(Diagnostics.Type_predicate_0_is_not_assignable_to_1, typePredicateToString(source), typePredicateToString(target)); + } + return 0 /* False */; + } + if (source.kind === 1 /* Identifier */ || source.kind === 3 /* AssertsIdentifier */) { + if (source.parameterIndex !== target.parameterIndex) { + if (reportErrors2) { + errorReporter(Diagnostics.Parameter_0_is_not_in_the_same_position_as_parameter_1, source.parameterName, target.parameterName); + errorReporter(Diagnostics.Type_predicate_0_is_not_assignable_to_1, typePredicateToString(source), typePredicateToString(target)); + } + return 0 /* False */; + } + } + const related = source.type === target.type ? -1 /* True */ : source.type && target.type ? compareTypes(source.type, target.type, reportErrors2) : 0 /* False */; + if (related === 0 /* False */ && reportErrors2) { + errorReporter(Diagnostics.Type_predicate_0_is_not_assignable_to_1, typePredicateToString(source), typePredicateToString(target)); + } + return related; + } + function isImplementationCompatibleWithOverload(implementation, overload) { + const erasedSource = getErasedSignature(implementation); + const erasedTarget = getErasedSignature(overload); + const sourceReturnType = getReturnTypeOfSignature(erasedSource); + const targetReturnType = getReturnTypeOfSignature(erasedTarget); + if (targetReturnType === voidType || isTypeRelatedTo(targetReturnType, sourceReturnType, assignableRelation) || isTypeRelatedTo(sourceReturnType, targetReturnType, assignableRelation)) { + return isSignatureAssignableTo( + erasedSource, + erasedTarget, + /*ignoreReturnTypes*/ + true + ); + } + return false; + } + function isEmptyResolvedType(t) { + return t !== anyFunctionType && t.properties.length === 0 && t.callSignatures.length === 0 && t.constructSignatures.length === 0 && t.indexInfos.length === 0; + } + function isEmptyObjectType(type) { + return type.flags & 524288 /* Object */ ? !isGenericMappedType(type) && isEmptyResolvedType(resolveStructuredTypeMembers(type)) : type.flags & 67108864 /* NonPrimitive */ ? true : type.flags & 1048576 /* Union */ ? some(type.types, isEmptyObjectType) : type.flags & 2097152 /* Intersection */ ? every(type.types, isEmptyObjectType) : false; + } + function isEmptyAnonymousObjectType(type) { + return !!(getObjectFlags(type) & 16 /* Anonymous */ && (type.members && isEmptyResolvedType(type) || type.symbol && type.symbol.flags & 2048 /* TypeLiteral */ && getMembersOfSymbol(type.symbol).size === 0)); + } + function isUnknownLikeUnionType(type) { + if (strictNullChecks && type.flags & 1048576 /* Union */) { + if (!(type.objectFlags & 33554432 /* IsUnknownLikeUnionComputed */)) { + const types = type.types; + type.objectFlags |= 33554432 /* IsUnknownLikeUnionComputed */ | (types.length >= 3 && types[0].flags & 32768 /* Undefined */ && types[1].flags & 65536 /* Null */ && some(types, isEmptyAnonymousObjectType) ? 67108864 /* IsUnknownLikeUnion */ : 0); + } + return !!(type.objectFlags & 67108864 /* IsUnknownLikeUnion */); + } + return false; + } + function containsUndefinedType(type) { + return !!((type.flags & 1048576 /* Union */ ? type.types[0] : type).flags & 32768 /* Undefined */); + } + function containsNonMissingUndefinedType(type) { + const candidate = type.flags & 1048576 /* Union */ ? type.types[0] : type; + return !!(candidate.flags & 32768 /* Undefined */) && candidate !== missingType; + } + function isStringIndexSignatureOnlyType(type) { + return type.flags & 524288 /* Object */ && !isGenericMappedType(type) && getPropertiesOfType(type).length === 0 && getIndexInfosOfType(type).length === 1 && !!getIndexInfoOfType(type, stringType) || type.flags & 3145728 /* UnionOrIntersection */ && every(type.types, isStringIndexSignatureOnlyType) || false; + } + function isEnumTypeRelatedTo(source, target, errorReporter) { + const sourceSymbol = source.flags & 8 /* EnumMember */ ? getParentOfSymbol(source) : source; + const targetSymbol = target.flags & 8 /* EnumMember */ ? getParentOfSymbol(target) : target; + if (sourceSymbol === targetSymbol) { + return true; + } + if (sourceSymbol.escapedName !== targetSymbol.escapedName || !(sourceSymbol.flags & 256 /* RegularEnum */) || !(targetSymbol.flags & 256 /* RegularEnum */)) { + return false; + } + const id = getSymbolId(sourceSymbol) + "," + getSymbolId(targetSymbol); + const entry = enumRelation.get(id); + if (entry !== void 0 && !(entry & 2 /* Failed */ && errorReporter)) { + return !!(entry & 1 /* Succeeded */); + } + const targetEnumType = getTypeOfSymbol(targetSymbol); + for (const sourceProperty of getPropertiesOfType(getTypeOfSymbol(sourceSymbol))) { + if (sourceProperty.flags & 8 /* EnumMember */) { + const targetProperty = getPropertyOfType(targetEnumType, sourceProperty.escapedName); + if (!targetProperty || !(targetProperty.flags & 8 /* EnumMember */)) { + if (errorReporter) { + errorReporter(Diagnostics.Property_0_is_missing_in_type_1, symbolName(sourceProperty), typeToString( + getDeclaredTypeOfSymbol(targetSymbol), + /*enclosingDeclaration*/ + void 0, + 64 /* UseFullyQualifiedType */ + )); + } + enumRelation.set(id, 2 /* Failed */); + return false; + } + const sourceValue = getEnumMemberValue(getDeclarationOfKind(sourceProperty, 306 /* EnumMember */)).value; + const targetValue = getEnumMemberValue(getDeclarationOfKind(targetProperty, 306 /* EnumMember */)).value; + if (sourceValue !== targetValue) { + const sourceIsString = typeof sourceValue === "string"; + const targetIsString = typeof targetValue === "string"; + if (sourceValue !== void 0 && targetValue !== void 0) { + if (errorReporter) { + const escapedSource = sourceIsString ? `"${escapeString(sourceValue)}"` : sourceValue; + const escapedTarget = targetIsString ? `"${escapeString(targetValue)}"` : targetValue; + errorReporter(Diagnostics.Each_declaration_of_0_1_differs_in_its_value_where_2_was_expected_but_3_was_given, symbolName(targetSymbol), symbolName(targetProperty), escapedTarget, escapedSource); + } + enumRelation.set(id, 2 /* Failed */); + return false; + } + if (sourceIsString || targetIsString) { + if (errorReporter) { + const knownStringValue = sourceValue ?? targetValue; + Debug.assert(typeof knownStringValue === "string"); + const escapedValue = `"${escapeString(knownStringValue)}"`; + errorReporter(Diagnostics.One_value_of_0_1_is_the_string_2_and_the_other_is_assumed_to_be_an_unknown_numeric_value, symbolName(targetSymbol), symbolName(targetProperty), escapedValue); + } + enumRelation.set(id, 2 /* Failed */); + return false; + } + } + } + } + enumRelation.set(id, 1 /* Succeeded */); + return true; + } + function isSimpleTypeRelatedTo(source, target, relation, errorReporter) { + const s = source.flags; + const t = target.flags; + if (t & 1 /* Any */ || s & 131072 /* Never */ || source === wildcardType) return true; + if (t & 2 /* Unknown */ && !(relation === strictSubtypeRelation && s & 1 /* Any */)) return true; + if (t & 131072 /* Never */) return false; + if (s & 402653316 /* StringLike */ && t & 4 /* String */) return true; + if (s & 128 /* StringLiteral */ && s & 1024 /* EnumLiteral */ && t & 128 /* StringLiteral */ && !(t & 1024 /* EnumLiteral */) && source.value === target.value) return true; + if (s & 296 /* NumberLike */ && t & 8 /* Number */) return true; + if (s & 256 /* NumberLiteral */ && s & 1024 /* EnumLiteral */ && t & 256 /* NumberLiteral */ && !(t & 1024 /* EnumLiteral */) && source.value === target.value) return true; + if (s & 2112 /* BigIntLike */ && t & 64 /* BigInt */) return true; + if (s & 528 /* BooleanLike */ && t & 16 /* Boolean */) return true; + if (s & 12288 /* ESSymbolLike */ && t & 4096 /* ESSymbol */) return true; + if (s & 32 /* Enum */ && t & 32 /* Enum */ && source.symbol.escapedName === target.symbol.escapedName && isEnumTypeRelatedTo(source.symbol, target.symbol, errorReporter)) return true; + if (s & 1024 /* EnumLiteral */ && t & 1024 /* EnumLiteral */) { + if (s & 1048576 /* Union */ && t & 1048576 /* Union */ && isEnumTypeRelatedTo(source.symbol, target.symbol, errorReporter)) return true; + if (s & 2944 /* Literal */ && t & 2944 /* Literal */ && source.value === target.value && isEnumTypeRelatedTo(source.symbol, target.symbol, errorReporter)) return true; + } + if (s & 32768 /* Undefined */ && (!strictNullChecks && !(t & 3145728 /* UnionOrIntersection */) || t & (32768 /* Undefined */ | 16384 /* Void */))) return true; + if (s & 65536 /* Null */ && (!strictNullChecks && !(t & 3145728 /* UnionOrIntersection */) || t & 65536 /* Null */)) return true; + if (s & 524288 /* Object */ && t & 67108864 /* NonPrimitive */ && !(relation === strictSubtypeRelation && isEmptyAnonymousObjectType(source) && !(getObjectFlags(source) & 8192 /* FreshLiteral */))) return true; + if (relation === assignableRelation || relation === comparableRelation) { + if (s & 1 /* Any */) return true; + if (s & 8 /* Number */ && (t & 32 /* Enum */ || t & 256 /* NumberLiteral */ && t & 1024 /* EnumLiteral */)) return true; + if (s & 256 /* NumberLiteral */ && !(s & 1024 /* EnumLiteral */) && (t & 32 /* Enum */ || t & 256 /* NumberLiteral */ && t & 1024 /* EnumLiteral */ && source.value === target.value)) return true; + if (isUnknownLikeUnionType(target)) return true; + } + return false; + } + function isTypeRelatedTo(source, target, relation) { + if (isFreshLiteralType(source)) { + source = source.regularType; + } + if (isFreshLiteralType(target)) { + target = target.regularType; + } + if (source === target) { + return true; + } + if (relation !== identityRelation) { + if (relation === comparableRelation && !(target.flags & 131072 /* Never */) && isSimpleTypeRelatedTo(target, source, relation) || isSimpleTypeRelatedTo(source, target, relation)) { + return true; + } + } else if (!((source.flags | target.flags) & (3145728 /* UnionOrIntersection */ | 8388608 /* IndexedAccess */ | 16777216 /* Conditional */ | 33554432 /* Substitution */))) { + if (source.flags !== target.flags) return false; + if (source.flags & 67358815 /* Singleton */) return true; + } + if (source.flags & 524288 /* Object */ && target.flags & 524288 /* Object */) { + const related = relation.get(getRelationKey( + source, + target, + 0 /* None */, + relation, + /*ignoreConstraints*/ + false + )); + if (related !== void 0) { + return !!(related & 1 /* Succeeded */); + } + } + if (source.flags & 469499904 /* StructuredOrInstantiable */ || target.flags & 469499904 /* StructuredOrInstantiable */) { + return checkTypeRelatedTo( + source, + target, + relation, + /*errorNode*/ + void 0 + ); + } + return false; + } + function isIgnoredJsxProperty(source, sourceProp) { + return getObjectFlags(source) & 2048 /* JsxAttributes */ && isHyphenatedJsxName(sourceProp.escapedName); + } + function getNormalizedType(type, writing) { + while (true) { + const t = isFreshLiteralType(type) ? type.regularType : isGenericTupleType(type) ? getNormalizedTupleType(type, writing) : getObjectFlags(type) & 4 /* Reference */ ? type.node ? createTypeReference(type.target, getTypeArguments(type)) : getSingleBaseForNonAugmentingSubtype(type) || type : type.flags & 3145728 /* UnionOrIntersection */ ? getNormalizedUnionOrIntersectionType(type, writing) : type.flags & 33554432 /* Substitution */ ? writing ? type.baseType : getSubstitutionIntersection(type) : type.flags & 25165824 /* Simplifiable */ ? getSimplifiedType(type, writing) : type; + if (t === type) return t; + type = t; + } + } + function getNormalizedUnionOrIntersectionType(type, writing) { + const reduced = getReducedType(type); + if (reduced !== type) { + return reduced; + } + if (type.flags & 2097152 /* Intersection */ && shouldNormalizeIntersection(type)) { + const normalizedTypes = sameMap(type.types, (t) => getNormalizedType(t, writing)); + if (normalizedTypes !== type.types) { + return getIntersectionType(normalizedTypes); + } + } + return type; + } + function shouldNormalizeIntersection(type) { + let hasInstantiable = false; + let hasNullableOrEmpty = false; + for (const t of type.types) { + hasInstantiable || (hasInstantiable = !!(t.flags & 465829888 /* Instantiable */)); + hasNullableOrEmpty || (hasNullableOrEmpty = !!(t.flags & 98304 /* Nullable */) || isEmptyAnonymousObjectType(t)); + if (hasInstantiable && hasNullableOrEmpty) return true; + } + return false; + } + function getNormalizedTupleType(type, writing) { + const elements = getElementTypes(type); + const normalizedElements = sameMap(elements, (t) => t.flags & 25165824 /* Simplifiable */ ? getSimplifiedType(t, writing) : t); + return elements !== normalizedElements ? createNormalizedTupleType(type.target, normalizedElements) : type; + } + function checkTypeRelatedTo(source, target, relation, errorNode, headMessage, containingMessageChain, errorOutputContainer) { + var _a; + let errorInfo; + let relatedInfo; + let maybeKeys; + let maybeKeysSet; + let sourceStack; + let targetStack; + let maybeCount = 0; + let sourceDepth = 0; + let targetDepth = 0; + let expandingFlags = 0 /* None */; + let overflow = false; + let overrideNextErrorInfo = 0; + let skipParentCounter = 0; + let lastSkippedInfo; + let incompatibleStack; + let relationCount = 16e6 - relation.size >> 3; + Debug.assert(relation !== identityRelation || !errorNode, "no error reporting in identity checking"); + const result = isRelatedTo( + source, + target, + 3 /* Both */, + /*reportErrors*/ + !!errorNode, + headMessage + ); + if (incompatibleStack) { + reportIncompatibleStack(); + } + if (overflow) { + const id = getRelationKey( + source, + target, + /*intersectionState*/ + 0 /* None */, + relation, + /*ignoreConstraints*/ + false + ); + relation.set(id, 2 /* Failed */ | (relationCount <= 0 ? 32 /* ComplexityOverflow */ : 64 /* StackDepthOverflow */)); + (_a = tracing) == null ? void 0 : _a.instant(tracing.Phase.CheckTypes, "checkTypeRelatedTo_DepthLimit", { sourceId: source.id, targetId: target.id, depth: sourceDepth, targetDepth }); + const message = relationCount <= 0 ? Diagnostics.Excessive_complexity_comparing_types_0_and_1 : Diagnostics.Excessive_stack_depth_comparing_types_0_and_1; + const diag2 = error(errorNode || currentNode, message, typeToString(source), typeToString(target)); + if (errorOutputContainer) { + (errorOutputContainer.errors || (errorOutputContainer.errors = [])).push(diag2); + } + } else if (errorInfo) { + if (containingMessageChain) { + const chain = containingMessageChain(); + if (chain) { + concatenateDiagnosticMessageChains(chain, errorInfo); + errorInfo = chain; + } + } + let relatedInformation; + if (headMessage && errorNode && !result && source.symbol) { + const links = getSymbolLinks(source.symbol); + if (links.originatingImport && !isImportCall(links.originatingImport)) { + const helpfulRetry = checkTypeRelatedTo( + getTypeOfSymbol(links.target), + target, + relation, + /*errorNode*/ + void 0 + ); + if (helpfulRetry) { + const diag3 = createDiagnosticForNode(links.originatingImport, Diagnostics.Type_originates_at_this_import_A_namespace_style_import_cannot_be_called_or_constructed_and_will_cause_a_failure_at_runtime_Consider_using_a_default_import_or_import_require_here_instead); + relatedInformation = append(relatedInformation, diag3); + } + } + } + const diag2 = createDiagnosticForNodeFromMessageChain(getSourceFileOfNode(errorNode), errorNode, errorInfo, relatedInformation); + if (relatedInfo) { + addRelatedInfo(diag2, ...relatedInfo); + } + if (errorOutputContainer) { + (errorOutputContainer.errors || (errorOutputContainer.errors = [])).push(diag2); + } + if (!errorOutputContainer || !errorOutputContainer.skipLogging) { + diagnostics.add(diag2); + } + } + if (errorNode && errorOutputContainer && errorOutputContainer.skipLogging && result === 0 /* False */) { + Debug.assert(!!errorOutputContainer.errors, "missed opportunity to interact with error."); + } + return result !== 0 /* False */; + function resetErrorInfo(saved) { + errorInfo = saved.errorInfo; + lastSkippedInfo = saved.lastSkippedInfo; + incompatibleStack = saved.incompatibleStack; + overrideNextErrorInfo = saved.overrideNextErrorInfo; + skipParentCounter = saved.skipParentCounter; + relatedInfo = saved.relatedInfo; + } + function captureErrorCalculationState() { + return { + errorInfo, + lastSkippedInfo, + incompatibleStack: incompatibleStack == null ? void 0 : incompatibleStack.slice(), + overrideNextErrorInfo, + skipParentCounter, + relatedInfo: relatedInfo == null ? void 0 : relatedInfo.slice() + }; + } + function reportIncompatibleError(message, ...args) { + overrideNextErrorInfo++; + lastSkippedInfo = void 0; + (incompatibleStack || (incompatibleStack = [])).push([message, ...args]); + } + function reportIncompatibleStack() { + const stack = incompatibleStack || []; + incompatibleStack = void 0; + const info = lastSkippedInfo; + lastSkippedInfo = void 0; + if (stack.length === 1) { + reportError(...stack[0]); + if (info) { + reportRelationError( + /*message*/ + void 0, + ...info + ); + } + return; + } + let path = ""; + const secondaryRootErrors = []; + while (stack.length) { + const [msg, ...args] = stack.pop(); + switch (msg.code) { + case Diagnostics.Types_of_property_0_are_incompatible.code: { + if (path.indexOf("new ") === 0) { + path = `(${path})`; + } + const str = "" + args[0]; + if (path.length === 0) { + path = `${str}`; + } else if (isIdentifierText(str, getEmitScriptTarget(compilerOptions))) { + path = `${path}.${str}`; + } else if (str[0] === "[" && str[str.length - 1] === "]") { + path = `${path}${str}`; + } else { + path = `${path}[${str}]`; + } + break; + } + case Diagnostics.Call_signature_return_types_0_and_1_are_incompatible.code: + case Diagnostics.Construct_signature_return_types_0_and_1_are_incompatible.code: + case Diagnostics.Call_signatures_with_no_arguments_have_incompatible_return_types_0_and_1.code: + case Diagnostics.Construct_signatures_with_no_arguments_have_incompatible_return_types_0_and_1.code: { + if (path.length === 0) { + let mappedMsg = msg; + if (msg.code === Diagnostics.Call_signatures_with_no_arguments_have_incompatible_return_types_0_and_1.code) { + mappedMsg = Diagnostics.Call_signature_return_types_0_and_1_are_incompatible; + } else if (msg.code === Diagnostics.Construct_signatures_with_no_arguments_have_incompatible_return_types_0_and_1.code) { + mappedMsg = Diagnostics.Construct_signature_return_types_0_and_1_are_incompatible; + } + secondaryRootErrors.unshift([mappedMsg, args[0], args[1]]); + } else { + const prefix = msg.code === Diagnostics.Construct_signature_return_types_0_and_1_are_incompatible.code || msg.code === Diagnostics.Construct_signatures_with_no_arguments_have_incompatible_return_types_0_and_1.code ? "new " : ""; + const params = msg.code === Diagnostics.Call_signatures_with_no_arguments_have_incompatible_return_types_0_and_1.code || msg.code === Diagnostics.Construct_signatures_with_no_arguments_have_incompatible_return_types_0_and_1.code ? "" : "..."; + path = `${prefix}${path}(${params})`; + } + break; + } + case Diagnostics.Type_at_position_0_in_source_is_not_compatible_with_type_at_position_1_in_target.code: { + secondaryRootErrors.unshift([Diagnostics.Type_at_position_0_in_source_is_not_compatible_with_type_at_position_1_in_target, args[0], args[1]]); + break; + } + case Diagnostics.Type_at_positions_0_through_1_in_source_is_not_compatible_with_type_at_position_2_in_target.code: { + secondaryRootErrors.unshift([Diagnostics.Type_at_positions_0_through_1_in_source_is_not_compatible_with_type_at_position_2_in_target, args[0], args[1], args[2]]); + break; + } + default: + return Debug.fail(`Unhandled Diagnostic: ${msg.code}`); + } + } + if (path) { + reportError( + path[path.length - 1] === ")" ? Diagnostics.The_types_returned_by_0_are_incompatible_between_these_types : Diagnostics.The_types_of_0_are_incompatible_between_these_types, + path + ); + } else { + secondaryRootErrors.shift(); + } + for (const [msg, ...args] of secondaryRootErrors) { + const originalValue = msg.elidedInCompatabilityPyramid; + msg.elidedInCompatabilityPyramid = false; + reportError(msg, ...args); + msg.elidedInCompatabilityPyramid = originalValue; + } + if (info) { + reportRelationError( + /*message*/ + void 0, + ...info + ); + } + } + function reportError(message, ...args) { + Debug.assert(!!errorNode); + if (incompatibleStack) reportIncompatibleStack(); + if (message.elidedInCompatabilityPyramid) return; + if (skipParentCounter === 0) { + errorInfo = chainDiagnosticMessages(errorInfo, message, ...args); + } else { + skipParentCounter--; + } + } + function reportParentSkippedError(message, ...args) { + reportError(message, ...args); + skipParentCounter++; + } + function associateRelatedInfo(info) { + Debug.assert(!!errorInfo); + if (!relatedInfo) { + relatedInfo = [info]; + } else { + relatedInfo.push(info); + } + } + function reportRelationError(message, source2, target2) { + if (incompatibleStack) reportIncompatibleStack(); + const [sourceType, targetType] = getTypeNamesForErrorDisplay(source2, target2); + let generalizedSource = source2; + let generalizedSourceType = sourceType; + if (!(target2.flags & 131072 /* Never */) && isLiteralType(source2) && !typeCouldHaveTopLevelSingletonTypes(target2)) { + generalizedSource = getBaseTypeOfLiteralType(source2); + Debug.assert(!isTypeAssignableTo(generalizedSource, target2), "generalized source shouldn't be assignable"); + generalizedSourceType = getTypeNameForErrorDisplay(generalizedSource); + } + const targetFlags = target2.flags & 8388608 /* IndexedAccess */ && !(source2.flags & 8388608 /* IndexedAccess */) ? target2.objectType.flags : target2.flags; + if (targetFlags & 262144 /* TypeParameter */ && target2 !== markerSuperTypeForCheck && target2 !== markerSubTypeForCheck) { + const constraint = getBaseConstraintOfType(target2); + let needsOriginalSource; + if (constraint && (isTypeAssignableTo(generalizedSource, constraint) || (needsOriginalSource = isTypeAssignableTo(source2, constraint)))) { + reportError( + Diagnostics._0_is_assignable_to_the_constraint_of_type_1_but_1_could_be_instantiated_with_a_different_subtype_of_constraint_2, + needsOriginalSource ? sourceType : generalizedSourceType, + targetType, + typeToString(constraint) + ); + } else { + errorInfo = void 0; + reportError( + Diagnostics._0_could_be_instantiated_with_an_arbitrary_type_which_could_be_unrelated_to_1, + targetType, + generalizedSourceType + ); + } + } + if (!message) { + if (relation === comparableRelation) { + message = Diagnostics.Type_0_is_not_comparable_to_type_1; + } else if (sourceType === targetType) { + message = Diagnostics.Type_0_is_not_assignable_to_type_1_Two_different_types_with_this_name_exist_but_they_are_unrelated; + } else if (exactOptionalPropertyTypes && getExactOptionalUnassignableProperties(source2, target2).length) { + message = Diagnostics.Type_0_is_not_assignable_to_type_1_with_exactOptionalPropertyTypes_Colon_true_Consider_adding_undefined_to_the_types_of_the_target_s_properties; + } else { + if (source2.flags & 128 /* StringLiteral */ && target2.flags & 1048576 /* Union */) { + const suggestedType = getSuggestedTypeForNonexistentStringLiteralType(source2, target2); + if (suggestedType) { + reportError(Diagnostics.Type_0_is_not_assignable_to_type_1_Did_you_mean_2, generalizedSourceType, targetType, typeToString(suggestedType)); + return; + } + } + message = Diagnostics.Type_0_is_not_assignable_to_type_1; + } + } else if (message === Diagnostics.Argument_of_type_0_is_not_assignable_to_parameter_of_type_1 && exactOptionalPropertyTypes && getExactOptionalUnassignableProperties(source2, target2).length) { + message = Diagnostics.Argument_of_type_0_is_not_assignable_to_parameter_of_type_1_with_exactOptionalPropertyTypes_Colon_true_Consider_adding_undefined_to_the_types_of_the_target_s_properties; + } + reportError(message, generalizedSourceType, targetType); + } + function tryElaborateErrorsForPrimitivesAndObjects(source2, target2) { + const sourceType = symbolValueDeclarationIsContextSensitive(source2.symbol) ? typeToString(source2, source2.symbol.valueDeclaration) : typeToString(source2); + const targetType = symbolValueDeclarationIsContextSensitive(target2.symbol) ? typeToString(target2, target2.symbol.valueDeclaration) : typeToString(target2); + if (globalStringType === source2 && stringType === target2 || globalNumberType === source2 && numberType === target2 || globalBooleanType === source2 && booleanType === target2 || getGlobalESSymbolType() === source2 && esSymbolType === target2) { + reportError(Diagnostics._0_is_a_primitive_but_1_is_a_wrapper_object_Prefer_using_0_when_possible, targetType, sourceType); + } + } + function tryElaborateArrayLikeErrors(source2, target2, reportErrors2) { + if (isTupleType(source2)) { + if (source2.target.readonly && isMutableArrayOrTuple(target2)) { + if (reportErrors2) { + reportError(Diagnostics.The_type_0_is_readonly_and_cannot_be_assigned_to_the_mutable_type_1, typeToString(source2), typeToString(target2)); + } + return false; + } + return isArrayOrTupleType(target2); + } + if (isReadonlyArrayType(source2) && isMutableArrayOrTuple(target2)) { + if (reportErrors2) { + reportError(Diagnostics.The_type_0_is_readonly_and_cannot_be_assigned_to_the_mutable_type_1, typeToString(source2), typeToString(target2)); + } + return false; + } + if (isTupleType(target2)) { + return isArrayType(source2); + } + return true; + } + function isRelatedToWorker(source2, target2, reportErrors2) { + return isRelatedTo(source2, target2, 3 /* Both */, reportErrors2); + } + function isRelatedTo(originalSource, originalTarget, recursionFlags = 3 /* Both */, reportErrors2 = false, headMessage2, intersectionState = 0 /* None */) { + if (originalSource === originalTarget) return -1 /* True */; + if (originalSource.flags & 524288 /* Object */ && originalTarget.flags & 402784252 /* Primitive */) { + if (relation === comparableRelation && !(originalTarget.flags & 131072 /* Never */) && isSimpleTypeRelatedTo(originalTarget, originalSource, relation) || isSimpleTypeRelatedTo(originalSource, originalTarget, relation, reportErrors2 ? reportError : void 0)) { + return -1 /* True */; + } + if (reportErrors2) { + reportErrorResults(originalSource, originalTarget, originalSource, originalTarget, headMessage2); + } + return 0 /* False */; + } + const source2 = getNormalizedType( + originalSource, + /*writing*/ + false + ); + let target2 = getNormalizedType( + originalTarget, + /*writing*/ + true + ); + if (source2 === target2) return -1 /* True */; + if (relation === identityRelation) { + if (source2.flags !== target2.flags) return 0 /* False */; + if (source2.flags & 67358815 /* Singleton */) return -1 /* True */; + traceUnionsOrIntersectionsTooLarge(source2, target2); + return recursiveTypeRelatedTo( + source2, + target2, + /*reportErrors*/ + false, + 0 /* None */, + recursionFlags + ); + } + if (source2.flags & 262144 /* TypeParameter */ && getConstraintOfType(source2) === target2) { + return -1 /* True */; + } + if (source2.flags & 470302716 /* DefinitelyNonNullable */ && target2.flags & 1048576 /* Union */) { + const types = target2.types; + const candidate = types.length === 2 && types[0].flags & 98304 /* Nullable */ ? types[1] : types.length === 3 && types[0].flags & 98304 /* Nullable */ && types[1].flags & 98304 /* Nullable */ ? types[2] : void 0; + if (candidate && !(candidate.flags & 98304 /* Nullable */)) { + target2 = getNormalizedType( + candidate, + /*writing*/ + true + ); + if (source2 === target2) return -1 /* True */; + } + } + if (relation === comparableRelation && !(target2.flags & 131072 /* Never */) && isSimpleTypeRelatedTo(target2, source2, relation) || isSimpleTypeRelatedTo(source2, target2, relation, reportErrors2 ? reportError : void 0)) return -1 /* True */; + if (source2.flags & 469499904 /* StructuredOrInstantiable */ || target2.flags & 469499904 /* StructuredOrInstantiable */) { + const isPerformingExcessPropertyChecks = !(intersectionState & 2 /* Target */) && (isObjectLiteralType(source2) && getObjectFlags(source2) & 8192 /* FreshLiteral */); + if (isPerformingExcessPropertyChecks) { + if (hasExcessProperties(source2, target2, reportErrors2)) { + if (reportErrors2) { + reportRelationError(headMessage2, source2, originalTarget.aliasSymbol ? originalTarget : target2); + } + return 0 /* False */; + } + } + const isPerformingCommonPropertyChecks = (relation !== comparableRelation || isUnitType(source2)) && !(intersectionState & 2 /* Target */) && source2.flags & (402784252 /* Primitive */ | 524288 /* Object */ | 2097152 /* Intersection */) && source2 !== globalObjectType && target2.flags & (524288 /* Object */ | 2097152 /* Intersection */) && isWeakType(target2) && (getPropertiesOfType(source2).length > 0 || typeHasCallOrConstructSignatures(source2)); + const isComparingJsxAttributes = !!(getObjectFlags(source2) & 2048 /* JsxAttributes */); + if (isPerformingCommonPropertyChecks && !hasCommonProperties(source2, target2, isComparingJsxAttributes)) { + if (reportErrors2) { + const sourceString = typeToString(originalSource.aliasSymbol ? originalSource : source2); + const targetString = typeToString(originalTarget.aliasSymbol ? originalTarget : target2); + const calls = getSignaturesOfType(source2, 0 /* Call */); + const constructs = getSignaturesOfType(source2, 1 /* Construct */); + if (calls.length > 0 && isRelatedTo( + getReturnTypeOfSignature(calls[0]), + target2, + 1 /* Source */, + /*reportErrors*/ + false + ) || constructs.length > 0 && isRelatedTo( + getReturnTypeOfSignature(constructs[0]), + target2, + 1 /* Source */, + /*reportErrors*/ + false + )) { + reportError(Diagnostics.Value_of_type_0_has_no_properties_in_common_with_type_1_Did_you_mean_to_call_it, sourceString, targetString); + } else { + reportError(Diagnostics.Type_0_has_no_properties_in_common_with_type_1, sourceString, targetString); + } + } + return 0 /* False */; + } + traceUnionsOrIntersectionsTooLarge(source2, target2); + const skipCaching = source2.flags & 1048576 /* Union */ && source2.types.length < 4 && !(target2.flags & 1048576 /* Union */) || target2.flags & 1048576 /* Union */ && target2.types.length < 4 && !(source2.flags & 469499904 /* StructuredOrInstantiable */); + const result2 = skipCaching ? unionOrIntersectionRelatedTo(source2, target2, reportErrors2, intersectionState) : recursiveTypeRelatedTo(source2, target2, reportErrors2, intersectionState, recursionFlags); + if (result2) { + return result2; + } + } + if (reportErrors2) { + reportErrorResults(originalSource, originalTarget, source2, target2, headMessage2); + } + return 0 /* False */; + } + function reportErrorResults(originalSource, originalTarget, source2, target2, headMessage2) { + var _a2, _b; + const sourceHasBase = !!getSingleBaseForNonAugmentingSubtype(originalSource); + const targetHasBase = !!getSingleBaseForNonAugmentingSubtype(originalTarget); + source2 = originalSource.aliasSymbol || sourceHasBase ? originalSource : source2; + target2 = originalTarget.aliasSymbol || targetHasBase ? originalTarget : target2; + let maybeSuppress = overrideNextErrorInfo > 0; + if (maybeSuppress) { + overrideNextErrorInfo--; + } + if (source2.flags & 524288 /* Object */ && target2.flags & 524288 /* Object */) { + const currentError = errorInfo; + tryElaborateArrayLikeErrors( + source2, + target2, + /*reportErrors*/ + true + ); + if (errorInfo !== currentError) { + maybeSuppress = !!errorInfo; + } + } + if (source2.flags & 524288 /* Object */ && target2.flags & 402784252 /* Primitive */) { + tryElaborateErrorsForPrimitivesAndObjects(source2, target2); + } else if (source2.symbol && source2.flags & 524288 /* Object */ && globalObjectType === source2) { + reportError(Diagnostics.The_Object_type_is_assignable_to_very_few_other_types_Did_you_mean_to_use_the_any_type_instead); + } else if (getObjectFlags(source2) & 2048 /* JsxAttributes */ && target2.flags & 2097152 /* Intersection */) { + const targetTypes = target2.types; + const intrinsicAttributes = getJsxType(JsxNames.IntrinsicAttributes, errorNode); + const intrinsicClassAttributes = getJsxType(JsxNames.IntrinsicClassAttributes, errorNode); + if (!isErrorType(intrinsicAttributes) && !isErrorType(intrinsicClassAttributes) && (contains(targetTypes, intrinsicAttributes) || contains(targetTypes, intrinsicClassAttributes))) { + return; + } + } else { + errorInfo = elaborateNeverIntersection(errorInfo, originalTarget); + } + if (!headMessage2 && maybeSuppress) { + const savedErrorState = captureErrorCalculationState(); + reportRelationError(headMessage2, source2, target2); + let canonical; + if (errorInfo && errorInfo !== savedErrorState.errorInfo) { + canonical = { code: errorInfo.code, messageText: errorInfo.messageText }; + } + resetErrorInfo(savedErrorState); + if (canonical && errorInfo) { + errorInfo.canonicalHead = canonical; + } + lastSkippedInfo = [source2, target2]; + return; + } + reportRelationError(headMessage2, source2, target2); + if (source2.flags & 262144 /* TypeParameter */ && ((_b = (_a2 = source2.symbol) == null ? void 0 : _a2.declarations) == null ? void 0 : _b[0]) && !getConstraintOfType(source2)) { + const syntheticParam = cloneTypeParameter(source2); + syntheticParam.constraint = instantiateType(target2, makeUnaryTypeMapper(source2, syntheticParam)); + if (hasNonCircularBaseConstraint(syntheticParam)) { + const targetConstraintString = typeToString(target2, source2.symbol.declarations[0]); + associateRelatedInfo(createDiagnosticForNode(source2.symbol.declarations[0], Diagnostics.This_type_parameter_might_need_an_extends_0_constraint, targetConstraintString)); + } + } + } + function traceUnionsOrIntersectionsTooLarge(source2, target2) { + if (!tracing) { + return; + } + if (source2.flags & 3145728 /* UnionOrIntersection */ && target2.flags & 3145728 /* UnionOrIntersection */) { + const sourceUnionOrIntersection = source2; + const targetUnionOrIntersection = target2; + if (sourceUnionOrIntersection.objectFlags & targetUnionOrIntersection.objectFlags & 32768 /* PrimitiveUnion */) { + return; + } + const sourceSize = sourceUnionOrIntersection.types.length; + const targetSize = targetUnionOrIntersection.types.length; + if (sourceSize * targetSize > 1e6) { + tracing.instant(tracing.Phase.CheckTypes, "traceUnionsOrIntersectionsTooLarge_DepthLimit", { + sourceId: source2.id, + sourceSize, + targetId: target2.id, + targetSize, + pos: errorNode == null ? void 0 : errorNode.pos, + end: errorNode == null ? void 0 : errorNode.end + }); + } + } + } + function getTypeOfPropertyInTypes(types, name) { + const appendPropType = (propTypes, type) => { + var _a2; + type = getApparentType(type); + const prop = type.flags & 3145728 /* UnionOrIntersection */ ? getPropertyOfUnionOrIntersectionType(type, name) : getPropertyOfObjectType(type, name); + const propType = prop && getTypeOfSymbol(prop) || ((_a2 = getApplicableIndexInfoForName(type, name)) == null ? void 0 : _a2.type) || undefinedType; + return append(propTypes, propType); + }; + return getUnionType(reduceLeft( + types, + appendPropType, + /*initial*/ + void 0 + ) || emptyArray); + } + function hasExcessProperties(source2, target2, reportErrors2) { + var _a2; + if (!isExcessPropertyCheckTarget(target2) || !noImplicitAny && getObjectFlags(target2) & 4096 /* JSLiteral */) { + return false; + } + const isComparingJsxAttributes = !!(getObjectFlags(source2) & 2048 /* JsxAttributes */); + if ((relation === assignableRelation || relation === comparableRelation) && (isTypeSubsetOf(globalObjectType, target2) || !isComparingJsxAttributes && isEmptyObjectType(target2))) { + return false; + } + let reducedTarget = target2; + let checkTypes; + if (target2.flags & 1048576 /* Union */) { + reducedTarget = findMatchingDiscriminantType(source2, target2, isRelatedTo) || filterPrimitivesIfContainsNonPrimitive(target2); + checkTypes = reducedTarget.flags & 1048576 /* Union */ ? reducedTarget.types : [reducedTarget]; + } + for (const prop of getPropertiesOfType(source2)) { + if (shouldCheckAsExcessProperty(prop, source2.symbol) && !isIgnoredJsxProperty(source2, prop)) { + if (!isKnownProperty(reducedTarget, prop.escapedName, isComparingJsxAttributes)) { + if (reportErrors2) { + const errorTarget = filterType(reducedTarget, isExcessPropertyCheckTarget); + if (!errorNode) return Debug.fail(); + if (isJsxAttributes(errorNode) || isJsxOpeningLikeElement(errorNode) || isJsxOpeningLikeElement(errorNode.parent)) { + if (prop.valueDeclaration && isJsxAttribute(prop.valueDeclaration) && getSourceFileOfNode(errorNode) === getSourceFileOfNode(prop.valueDeclaration.name)) { + errorNode = prop.valueDeclaration.name; + } + const propName = symbolToString(prop); + const suggestionSymbol = getSuggestedSymbolForNonexistentJSXAttribute(propName, errorTarget); + const suggestion = suggestionSymbol ? symbolToString(suggestionSymbol) : void 0; + if (suggestion) { + reportError(Diagnostics.Property_0_does_not_exist_on_type_1_Did_you_mean_2, propName, typeToString(errorTarget), suggestion); + } else { + reportError(Diagnostics.Property_0_does_not_exist_on_type_1, propName, typeToString(errorTarget)); + } + } else { + const objectLiteralDeclaration = ((_a2 = source2.symbol) == null ? void 0 : _a2.declarations) && firstOrUndefined(source2.symbol.declarations); + let suggestion; + if (prop.valueDeclaration && findAncestor(prop.valueDeclaration, (d) => d === objectLiteralDeclaration) && getSourceFileOfNode(objectLiteralDeclaration) === getSourceFileOfNode(errorNode)) { + const propDeclaration = prop.valueDeclaration; + Debug.assertNode(propDeclaration, isObjectLiteralElementLike); + const name = propDeclaration.name; + errorNode = name; + if (isIdentifier(name)) { + suggestion = getSuggestionForNonexistentProperty(name, errorTarget); + } + } + if (suggestion !== void 0) { + reportParentSkippedError(Diagnostics.Object_literal_may_only_specify_known_properties_but_0_does_not_exist_in_type_1_Did_you_mean_to_write_2, symbolToString(prop), typeToString(errorTarget), suggestion); + } else { + reportParentSkippedError(Diagnostics.Object_literal_may_only_specify_known_properties_and_0_does_not_exist_in_type_1, symbolToString(prop), typeToString(errorTarget)); + } + } + } + return true; + } + if (checkTypes && !isRelatedTo(getTypeOfSymbol(prop), getTypeOfPropertyInTypes(checkTypes, prop.escapedName), 3 /* Both */, reportErrors2)) { + if (reportErrors2) { + reportIncompatibleError(Diagnostics.Types_of_property_0_are_incompatible, symbolToString(prop)); + } + return true; + } + } + } + return false; + } + function shouldCheckAsExcessProperty(prop, container) { + return prop.valueDeclaration && container.valueDeclaration && prop.valueDeclaration.parent === container.valueDeclaration; + } + function unionOrIntersectionRelatedTo(source2, target2, reportErrors2, intersectionState) { + if (source2.flags & 1048576 /* Union */) { + if (target2.flags & 1048576 /* Union */) { + const sourceOrigin = source2.origin; + if (sourceOrigin && sourceOrigin.flags & 2097152 /* Intersection */ && target2.aliasSymbol && contains(sourceOrigin.types, target2)) { + return -1 /* True */; + } + const targetOrigin = target2.origin; + if (targetOrigin && targetOrigin.flags & 1048576 /* Union */ && source2.aliasSymbol && contains(targetOrigin.types, source2)) { + return -1 /* True */; + } + } + return relation === comparableRelation ? someTypeRelatedToType(source2, target2, reportErrors2 && !(source2.flags & 402784252 /* Primitive */), intersectionState) : eachTypeRelatedToType(source2, target2, reportErrors2 && !(source2.flags & 402784252 /* Primitive */), intersectionState); + } + if (target2.flags & 1048576 /* Union */) { + return typeRelatedToSomeType(getRegularTypeOfObjectLiteral(source2), target2, reportErrors2 && !(source2.flags & 402784252 /* Primitive */) && !(target2.flags & 402784252 /* Primitive */), intersectionState); + } + if (target2.flags & 2097152 /* Intersection */) { + return typeRelatedToEachType(source2, target2, reportErrors2, 2 /* Target */); + } + if (relation === comparableRelation && target2.flags & 402784252 /* Primitive */) { + const constraints = sameMap(source2.types, (t) => t.flags & 465829888 /* Instantiable */ ? getBaseConstraintOfType(t) || unknownType : t); + if (constraints !== source2.types) { + source2 = getIntersectionType(constraints); + if (source2.flags & 131072 /* Never */) { + return 0 /* False */; + } + if (!(source2.flags & 2097152 /* Intersection */)) { + return isRelatedTo( + source2, + target2, + 1 /* Source */, + /*reportErrors*/ + false + ) || isRelatedTo( + target2, + source2, + 1 /* Source */, + /*reportErrors*/ + false + ); + } + } + } + return someTypeRelatedToType( + source2, + target2, + /*reportErrors*/ + false, + 1 /* Source */ + ); + } + function eachTypeRelatedToSomeType(source2, target2) { + let result2 = -1 /* True */; + const sourceTypes = source2.types; + for (const sourceType of sourceTypes) { + const related = typeRelatedToSomeType( + sourceType, + target2, + /*reportErrors*/ + false, + 0 /* None */ + ); + if (!related) { + return 0 /* False */; + } + result2 &= related; + } + return result2; + } + function typeRelatedToSomeType(source2, target2, reportErrors2, intersectionState) { + const targetTypes = target2.types; + if (target2.flags & 1048576 /* Union */) { + if (containsType(targetTypes, source2)) { + return -1 /* True */; + } + if (relation !== comparableRelation && getObjectFlags(target2) & 32768 /* PrimitiveUnion */ && !(source2.flags & 1024 /* EnumLiteral */) && (source2.flags & (128 /* StringLiteral */ | 512 /* BooleanLiteral */ | 2048 /* BigIntLiteral */) || (relation === subtypeRelation || relation === strictSubtypeRelation) && source2.flags & 256 /* NumberLiteral */)) { + const alternateForm = source2 === source2.regularType ? source2.freshType : source2.regularType; + const primitive = source2.flags & 128 /* StringLiteral */ ? stringType : source2.flags & 256 /* NumberLiteral */ ? numberType : source2.flags & 2048 /* BigIntLiteral */ ? bigintType : void 0; + return primitive && containsType(targetTypes, primitive) || alternateForm && containsType(targetTypes, alternateForm) ? -1 /* True */ : 0 /* False */; + } + const match = getMatchingUnionConstituentForType(target2, source2); + if (match) { + const related = isRelatedTo( + source2, + match, + 2 /* Target */, + /*reportErrors*/ + false, + /*headMessage*/ + void 0, + intersectionState + ); + if (related) { + return related; + } + } + } + for (const type of targetTypes) { + const related = isRelatedTo( + source2, + type, + 2 /* Target */, + /*reportErrors*/ + false, + /*headMessage*/ + void 0, + intersectionState + ); + if (related) { + return related; + } + } + if (reportErrors2) { + const bestMatchingType = getBestMatchingType(source2, target2, isRelatedTo); + if (bestMatchingType) { + isRelatedTo( + source2, + bestMatchingType, + 2 /* Target */, + /*reportErrors*/ + true, + /*headMessage*/ + void 0, + intersectionState + ); + } + } + return 0 /* False */; + } + function typeRelatedToEachType(source2, target2, reportErrors2, intersectionState) { + let result2 = -1 /* True */; + const targetTypes = target2.types; + for (const targetType of targetTypes) { + const related = isRelatedTo( + source2, + targetType, + 2 /* Target */, + reportErrors2, + /*headMessage*/ + void 0, + intersectionState + ); + if (!related) { + return 0 /* False */; + } + result2 &= related; + } + return result2; + } + function someTypeRelatedToType(source2, target2, reportErrors2, intersectionState) { + const sourceTypes = source2.types; + if (source2.flags & 1048576 /* Union */ && containsType(sourceTypes, target2)) { + return -1 /* True */; + } + const len = sourceTypes.length; + for (let i = 0; i < len; i++) { + const related = isRelatedTo( + sourceTypes[i], + target2, + 1 /* Source */, + reportErrors2 && i === len - 1, + /*headMessage*/ + void 0, + intersectionState + ); + if (related) { + return related; + } + } + return 0 /* False */; + } + function getUndefinedStrippedTargetIfNeeded(source2, target2) { + if (source2.flags & 1048576 /* Union */ && target2.flags & 1048576 /* Union */ && !(source2.types[0].flags & 32768 /* Undefined */) && target2.types[0].flags & 32768 /* Undefined */) { + return extractTypesOfKind(target2, ~32768 /* Undefined */); + } + return target2; + } + function eachTypeRelatedToType(source2, target2, reportErrors2, intersectionState) { + let result2 = -1 /* True */; + const sourceTypes = source2.types; + const undefinedStrippedTarget = getUndefinedStrippedTargetIfNeeded(source2, target2); + for (let i = 0; i < sourceTypes.length; i++) { + const sourceType = sourceTypes[i]; + if (undefinedStrippedTarget.flags & 1048576 /* Union */ && sourceTypes.length >= undefinedStrippedTarget.types.length && sourceTypes.length % undefinedStrippedTarget.types.length === 0) { + const related2 = isRelatedTo( + sourceType, + undefinedStrippedTarget.types[i % undefinedStrippedTarget.types.length], + 3 /* Both */, + /*reportErrors*/ + false, + /*headMessage*/ + void 0, + intersectionState + ); + if (related2) { + result2 &= related2; + continue; + } + } + const related = isRelatedTo( + sourceType, + target2, + 1 /* Source */, + reportErrors2, + /*headMessage*/ + void 0, + intersectionState + ); + if (!related) { + return 0 /* False */; + } + result2 &= related; + } + return result2; + } + function typeArgumentsRelatedTo(sources = emptyArray, targets = emptyArray, variances = emptyArray, reportErrors2, intersectionState) { + if (sources.length !== targets.length && relation === identityRelation) { + return 0 /* False */; + } + const length2 = sources.length <= targets.length ? sources.length : targets.length; + let result2 = -1 /* True */; + for (let i = 0; i < length2; i++) { + const varianceFlags = i < variances.length ? variances[i] : 1 /* Covariant */; + const variance = varianceFlags & 7 /* VarianceMask */; + if (variance !== 4 /* Independent */) { + const s = sources[i]; + const t = targets[i]; + let related = -1 /* True */; + if (varianceFlags & 8 /* Unmeasurable */) { + related = relation === identityRelation ? isRelatedTo( + s, + t, + 3 /* Both */, + /*reportErrors*/ + false + ) : compareTypesIdentical(s, t); + } else if (variance === 1 /* Covariant */) { + related = isRelatedTo( + s, + t, + 3 /* Both */, + reportErrors2, + /*headMessage*/ + void 0, + intersectionState + ); + } else if (variance === 2 /* Contravariant */) { + related = isRelatedTo( + t, + s, + 3 /* Both */, + reportErrors2, + /*headMessage*/ + void 0, + intersectionState + ); + } else if (variance === 3 /* Bivariant */) { + related = isRelatedTo( + t, + s, + 3 /* Both */, + /*reportErrors*/ + false + ); + if (!related) { + related = isRelatedTo( + s, + t, + 3 /* Both */, + reportErrors2, + /*headMessage*/ + void 0, + intersectionState + ); + } + } else { + related = isRelatedTo( + s, + t, + 3 /* Both */, + reportErrors2, + /*headMessage*/ + void 0, + intersectionState + ); + if (related) { + related &= isRelatedTo( + t, + s, + 3 /* Both */, + reportErrors2, + /*headMessage*/ + void 0, + intersectionState + ); + } + } + if (!related) { + return 0 /* False */; + } + result2 &= related; + } + } + return result2; + } + function recursiveTypeRelatedTo(source2, target2, reportErrors2, intersectionState, recursionFlags) { + var _a2, _b, _c; + if (overflow) { + return 0 /* False */; + } + const id = getRelationKey( + source2, + target2, + intersectionState, + relation, + /*ignoreConstraints*/ + false + ); + const entry = relation.get(id); + if (entry !== void 0) { + if (reportErrors2 && entry & 2 /* Failed */ && !(entry & 96 /* Overflow */)) { + } else { + if (outofbandVarianceMarkerHandler) { + const saved = entry & 24 /* ReportsMask */; + if (saved & 8 /* ReportsUnmeasurable */) { + instantiateType(source2, reportUnmeasurableMapper); + } + if (saved & 16 /* ReportsUnreliable */) { + instantiateType(source2, reportUnreliableMapper); + } + } + if (reportErrors2 && entry & 96 /* Overflow */) { + const message = entry & 32 /* ComplexityOverflow */ ? Diagnostics.Excessive_complexity_comparing_types_0_and_1 : Diagnostics.Excessive_stack_depth_comparing_types_0_and_1; + reportError(message, typeToString(source2), typeToString(target2)); + overrideNextErrorInfo++; + } + return entry & 1 /* Succeeded */ ? -1 /* True */ : 0 /* False */; + } + } + if (relationCount <= 0) { + overflow = true; + return 0 /* False */; + } + if (!maybeKeys) { + maybeKeys = []; + maybeKeysSet = /* @__PURE__ */ new Set(); + sourceStack = []; + targetStack = []; + } else { + if (maybeKeysSet.has(id)) { + return 3 /* Maybe */; + } + const broadestEquivalentId = id.startsWith("*") ? getRelationKey( + source2, + target2, + intersectionState, + relation, + /*ignoreConstraints*/ + true + ) : void 0; + if (broadestEquivalentId && maybeKeysSet.has(broadestEquivalentId)) { + return 3 /* Maybe */; + } + if (sourceDepth === 100 || targetDepth === 100) { + overflow = true; + return 0 /* False */; + } + } + const maybeStart = maybeCount; + maybeKeys[maybeCount] = id; + maybeKeysSet.add(id); + maybeCount++; + const saveExpandingFlags = expandingFlags; + if (recursionFlags & 1 /* Source */) { + sourceStack[sourceDepth] = source2; + sourceDepth++; + if (!(expandingFlags & 1 /* Source */) && isDeeplyNestedType(source2, sourceStack, sourceDepth)) expandingFlags |= 1 /* Source */; + } + if (recursionFlags & 2 /* Target */) { + targetStack[targetDepth] = target2; + targetDepth++; + if (!(expandingFlags & 2 /* Target */) && isDeeplyNestedType(target2, targetStack, targetDepth)) expandingFlags |= 2 /* Target */; + } + let originalHandler; + let propagatingVarianceFlags = 0; + if (outofbandVarianceMarkerHandler) { + originalHandler = outofbandVarianceMarkerHandler; + outofbandVarianceMarkerHandler = (onlyUnreliable) => { + propagatingVarianceFlags |= onlyUnreliable ? 16 /* ReportsUnreliable */ : 8 /* ReportsUnmeasurable */; + return originalHandler(onlyUnreliable); + }; + } + let result2; + if (expandingFlags === 3 /* Both */) { + (_a2 = tracing) == null ? void 0 : _a2.instant(tracing.Phase.CheckTypes, "recursiveTypeRelatedTo_DepthLimit", { + sourceId: source2.id, + sourceIdStack: sourceStack.map((t) => t.id), + targetId: target2.id, + targetIdStack: targetStack.map((t) => t.id), + depth: sourceDepth, + targetDepth + }); + result2 = 3 /* Maybe */; + } else { + (_b = tracing) == null ? void 0 : _b.push(tracing.Phase.CheckTypes, "structuredTypeRelatedTo", { sourceId: source2.id, targetId: target2.id }); + result2 = structuredTypeRelatedTo(source2, target2, reportErrors2, intersectionState); + (_c = tracing) == null ? void 0 : _c.pop(); + } + if (outofbandVarianceMarkerHandler) { + outofbandVarianceMarkerHandler = originalHandler; + } + if (recursionFlags & 1 /* Source */) { + sourceDepth--; + } + if (recursionFlags & 2 /* Target */) { + targetDepth--; + } + expandingFlags = saveExpandingFlags; + if (result2) { + if (result2 === -1 /* True */ || sourceDepth === 0 && targetDepth === 0) { + if (result2 === -1 /* True */ || result2 === 3 /* Maybe */) { + resetMaybeStack( + /*markAllAsSucceeded*/ + true + ); + } else { + resetMaybeStack( + /*markAllAsSucceeded*/ + false + ); + } + } + } else { + relation.set(id, 2 /* Failed */ | propagatingVarianceFlags); + relationCount--; + resetMaybeStack( + /*markAllAsSucceeded*/ + false + ); + } + return result2; + function resetMaybeStack(markAllAsSucceeded) { + for (let i = maybeStart; i < maybeCount; i++) { + maybeKeysSet.delete(maybeKeys[i]); + if (markAllAsSucceeded) { + relation.set(maybeKeys[i], 1 /* Succeeded */ | propagatingVarianceFlags); + relationCount--; + } + } + maybeCount = maybeStart; + } + } + function structuredTypeRelatedTo(source2, target2, reportErrors2, intersectionState) { + const saveErrorInfo = captureErrorCalculationState(); + let result2 = structuredTypeRelatedToWorker(source2, target2, reportErrors2, intersectionState, saveErrorInfo); + if (relation !== identityRelation) { + if (!result2 && (source2.flags & 2097152 /* Intersection */ || source2.flags & 262144 /* TypeParameter */ && target2.flags & 1048576 /* Union */)) { + const constraint = getEffectiveConstraintOfIntersection(source2.flags & 2097152 /* Intersection */ ? source2.types : [source2], !!(target2.flags & 1048576 /* Union */)); + if (constraint && everyType(constraint, (c) => c !== source2)) { + result2 = isRelatedTo( + constraint, + target2, + 1 /* Source */, + /*reportErrors*/ + false, + /*headMessage*/ + void 0, + intersectionState + ); + } + } + if (result2 && !(intersectionState & 2 /* Target */) && target2.flags & 2097152 /* Intersection */ && !isGenericObjectType(target2) && source2.flags & (524288 /* Object */ | 2097152 /* Intersection */)) { + result2 &= propertiesRelatedTo( + source2, + target2, + reportErrors2, + /*excludedProperties*/ + void 0, + /*optionalsOnly*/ + false, + 0 /* None */ + ); + if (result2 && isObjectLiteralType(source2) && getObjectFlags(source2) & 8192 /* FreshLiteral */) { + result2 &= indexSignaturesRelatedTo( + source2, + target2, + /*sourceIsPrimitive*/ + false, + reportErrors2, + 0 /* None */ + ); + } + } else if (result2 && isNonGenericObjectType(target2) && !isArrayOrTupleType(target2) && source2.flags & 2097152 /* Intersection */ && getApparentType(source2).flags & 3670016 /* StructuredType */ && !some(source2.types, (t) => t === target2 || !!(getObjectFlags(t) & 262144 /* NonInferrableType */))) { + result2 &= propertiesRelatedTo( + source2, + target2, + reportErrors2, + /*excludedProperties*/ + void 0, + /*optionalsOnly*/ + true, + intersectionState + ); + } + } + if (result2) { + resetErrorInfo(saveErrorInfo); + } + return result2; + } + function getApparentMappedTypeKeys(nameType, targetType) { + const modifiersType = getApparentType(getModifiersTypeFromMappedType(targetType)); + const mappedKeys = []; + forEachMappedTypePropertyKeyTypeAndIndexSignatureKeyType( + modifiersType, + 8576 /* StringOrNumberLiteralOrUnique */, + /*stringsOnly*/ + false, + (t) => void mappedKeys.push(instantiateType(nameType, appendTypeMapping(targetType.mapper, getTypeParameterFromMappedType(targetType), t))) + ); + return getUnionType(mappedKeys); + } + function structuredTypeRelatedToWorker(source2, target2, reportErrors2, intersectionState, saveErrorInfo) { + let result2; + let originalErrorInfo; + let varianceCheckFailed = false; + let sourceFlags = source2.flags; + const targetFlags = target2.flags; + if (relation === identityRelation) { + if (sourceFlags & 3145728 /* UnionOrIntersection */) { + let result3 = eachTypeRelatedToSomeType(source2, target2); + if (result3) { + result3 &= eachTypeRelatedToSomeType(target2, source2); + } + return result3; + } + if (sourceFlags & 4194304 /* Index */) { + return isRelatedTo( + source2.type, + target2.type, + 3 /* Both */, + /*reportErrors*/ + false + ); + } + if (sourceFlags & 8388608 /* IndexedAccess */) { + if (result2 = isRelatedTo( + source2.objectType, + target2.objectType, + 3 /* Both */, + /*reportErrors*/ + false + )) { + if (result2 &= isRelatedTo( + source2.indexType, + target2.indexType, + 3 /* Both */, + /*reportErrors*/ + false + )) { + return result2; + } + } + } + if (sourceFlags & 16777216 /* Conditional */) { + if (source2.root.isDistributive === target2.root.isDistributive) { + if (result2 = isRelatedTo( + source2.checkType, + target2.checkType, + 3 /* Both */, + /*reportErrors*/ + false + )) { + if (result2 &= isRelatedTo( + source2.extendsType, + target2.extendsType, + 3 /* Both */, + /*reportErrors*/ + false + )) { + if (result2 &= isRelatedTo( + getTrueTypeFromConditionalType(source2), + getTrueTypeFromConditionalType(target2), + 3 /* Both */, + /*reportErrors*/ + false + )) { + if (result2 &= isRelatedTo( + getFalseTypeFromConditionalType(source2), + getFalseTypeFromConditionalType(target2), + 3 /* Both */, + /*reportErrors*/ + false + )) { + return result2; + } + } + } + } + } + } + if (sourceFlags & 33554432 /* Substitution */) { + if (result2 = isRelatedTo( + source2.baseType, + target2.baseType, + 3 /* Both */, + /*reportErrors*/ + false + )) { + if (result2 &= isRelatedTo( + source2.constraint, + target2.constraint, + 3 /* Both */, + /*reportErrors*/ + false + )) { + return result2; + } + } + } + if (!(sourceFlags & 524288 /* Object */)) { + return 0 /* False */; + } + } else if (sourceFlags & 3145728 /* UnionOrIntersection */ || targetFlags & 3145728 /* UnionOrIntersection */) { + if (result2 = unionOrIntersectionRelatedTo(source2, target2, reportErrors2, intersectionState)) { + return result2; + } + if (!(sourceFlags & 465829888 /* Instantiable */ || sourceFlags & 524288 /* Object */ && targetFlags & 1048576 /* Union */ || sourceFlags & 2097152 /* Intersection */ && targetFlags & (524288 /* Object */ | 1048576 /* Union */ | 465829888 /* Instantiable */))) { + return 0 /* False */; + } + } + if (sourceFlags & (524288 /* Object */ | 16777216 /* Conditional */) && source2.aliasSymbol && source2.aliasTypeArguments && source2.aliasSymbol === target2.aliasSymbol && !(isMarkerType(source2) || isMarkerType(target2))) { + const variances = getAliasVariances(source2.aliasSymbol); + if (variances === emptyArray) { + return 1 /* Unknown */; + } + const params = getSymbolLinks(source2.aliasSymbol).typeParameters; + const minParams = getMinTypeArgumentCount(params); + const sourceTypes = fillMissingTypeArguments(source2.aliasTypeArguments, params, minParams, isInJSFile(source2.aliasSymbol.valueDeclaration)); + const targetTypes = fillMissingTypeArguments(target2.aliasTypeArguments, params, minParams, isInJSFile(source2.aliasSymbol.valueDeclaration)); + const varianceResult = relateVariances(sourceTypes, targetTypes, variances, intersectionState); + if (varianceResult !== void 0) { + return varianceResult; + } + } + if (isSingleElementGenericTupleType(source2) && !source2.target.readonly && (result2 = isRelatedTo(getTypeArguments(source2)[0], target2, 1 /* Source */)) || isSingleElementGenericTupleType(target2) && (target2.target.readonly || isMutableArrayOrTuple(getBaseConstraintOfType(source2) || source2)) && (result2 = isRelatedTo(source2, getTypeArguments(target2)[0], 2 /* Target */))) { + return result2; + } + if (targetFlags & 262144 /* TypeParameter */) { + if (getObjectFlags(source2) & 32 /* Mapped */ && !source2.declaration.nameType && isRelatedTo(getIndexType(target2), getConstraintTypeFromMappedType(source2), 3 /* Both */)) { + if (!(getMappedTypeModifiers(source2) & 4 /* IncludeOptional */)) { + const templateType = getTemplateTypeFromMappedType(source2); + const indexedAccessType = getIndexedAccessType(target2, getTypeParameterFromMappedType(source2)); + if (result2 = isRelatedTo(templateType, indexedAccessType, 3 /* Both */, reportErrors2)) { + return result2; + } + } + } + if (relation === comparableRelation && sourceFlags & 262144 /* TypeParameter */) { + let constraint = getConstraintOfTypeParameter(source2); + if (constraint) { + while (constraint && someType(constraint, (c) => !!(c.flags & 262144 /* TypeParameter */))) { + if (result2 = isRelatedTo( + constraint, + target2, + 1 /* Source */, + /*reportErrors*/ + false + )) { + return result2; + } + constraint = getConstraintOfTypeParameter(constraint); + } + } + return 0 /* False */; + } + } else if (targetFlags & 4194304 /* Index */) { + const targetType = target2.type; + if (sourceFlags & 4194304 /* Index */) { + if (result2 = isRelatedTo( + targetType, + source2.type, + 3 /* Both */, + /*reportErrors*/ + false + )) { + return result2; + } + } + if (isTupleType(targetType)) { + if (result2 = isRelatedTo(source2, getKnownKeysOfTupleType(targetType), 2 /* Target */, reportErrors2)) { + return result2; + } + } else { + const constraint = getSimplifiedTypeOrConstraint(targetType); + if (constraint) { + if (isRelatedTo(source2, getIndexType(constraint, target2.indexFlags | 4 /* NoReducibleCheck */), 2 /* Target */, reportErrors2) === -1 /* True */) { + return -1 /* True */; + } + } else if (isGenericMappedType(targetType)) { + const nameType = getNameTypeFromMappedType(targetType); + const constraintType = getConstraintTypeFromMappedType(targetType); + let targetKeys; + if (nameType && isMappedTypeWithKeyofConstraintDeclaration(targetType)) { + const mappedKeys = getApparentMappedTypeKeys(nameType, targetType); + targetKeys = getUnionType([mappedKeys, nameType]); + } else { + targetKeys = nameType || constraintType; + } + if (isRelatedTo(source2, targetKeys, 2 /* Target */, reportErrors2) === -1 /* True */) { + return -1 /* True */; + } + } + } + } else if (targetFlags & 8388608 /* IndexedAccess */) { + if (sourceFlags & 8388608 /* IndexedAccess */) { + if (result2 = isRelatedTo(source2.objectType, target2.objectType, 3 /* Both */, reportErrors2)) { + result2 &= isRelatedTo(source2.indexType, target2.indexType, 3 /* Both */, reportErrors2); + } + if (result2) { + return result2; + } + if (reportErrors2) { + originalErrorInfo = errorInfo; + } + } + if (relation === assignableRelation || relation === comparableRelation) { + const objectType = target2.objectType; + const indexType = target2.indexType; + const baseObjectType = getBaseConstraintOfType(objectType) || objectType; + const baseIndexType = getBaseConstraintOfType(indexType) || indexType; + if (!isGenericObjectType(baseObjectType) && !isGenericIndexType(baseIndexType)) { + const accessFlags = 4 /* Writing */ | (baseObjectType !== objectType ? 2 /* NoIndexSignatures */ : 0); + const constraint = getIndexedAccessTypeOrUndefined(baseObjectType, baseIndexType, accessFlags); + if (constraint) { + if (reportErrors2 && originalErrorInfo) { + resetErrorInfo(saveErrorInfo); + } + if (result2 = isRelatedTo( + source2, + constraint, + 2 /* Target */, + reportErrors2, + /*headMessage*/ + void 0, + intersectionState + )) { + return result2; + } + if (reportErrors2 && originalErrorInfo && errorInfo) { + errorInfo = countMessageChainBreadth([originalErrorInfo]) <= countMessageChainBreadth([errorInfo]) ? originalErrorInfo : errorInfo; + } + } + } + } + if (reportErrors2) { + originalErrorInfo = void 0; + } + } else if (isGenericMappedType(target2) && relation !== identityRelation) { + const keysRemapped = !!target2.declaration.nameType; + const templateType = getTemplateTypeFromMappedType(target2); + const modifiers = getMappedTypeModifiers(target2); + if (!(modifiers & 8 /* ExcludeOptional */)) { + if (!keysRemapped && templateType.flags & 8388608 /* IndexedAccess */ && templateType.objectType === source2 && templateType.indexType === getTypeParameterFromMappedType(target2)) { + return -1 /* True */; + } + if (!isGenericMappedType(source2)) { + const targetKeys = keysRemapped ? getNameTypeFromMappedType(target2) : getConstraintTypeFromMappedType(target2); + const sourceKeys = getIndexType(source2, 2 /* NoIndexSignatures */); + const includeOptional = modifiers & 4 /* IncludeOptional */; + const filteredByApplicability = includeOptional ? intersectTypes(targetKeys, sourceKeys) : void 0; + if (includeOptional ? !(filteredByApplicability.flags & 131072 /* Never */) : isRelatedTo(targetKeys, sourceKeys, 3 /* Both */)) { + const templateType2 = getTemplateTypeFromMappedType(target2); + const typeParameter = getTypeParameterFromMappedType(target2); + const nonNullComponent = extractTypesOfKind(templateType2, ~98304 /* Nullable */); + if (!keysRemapped && nonNullComponent.flags & 8388608 /* IndexedAccess */ && nonNullComponent.indexType === typeParameter) { + if (result2 = isRelatedTo(source2, nonNullComponent.objectType, 2 /* Target */, reportErrors2)) { + return result2; + } + } else { + const indexingType = keysRemapped ? filteredByApplicability || targetKeys : filteredByApplicability ? getIntersectionType([filteredByApplicability, typeParameter]) : typeParameter; + const indexedAccessType = getIndexedAccessType(source2, indexingType); + if (result2 = isRelatedTo(indexedAccessType, templateType2, 3 /* Both */, reportErrors2)) { + return result2; + } + } + } + originalErrorInfo = errorInfo; + resetErrorInfo(saveErrorInfo); + } + } + } else if (targetFlags & 16777216 /* Conditional */) { + if (isDeeplyNestedType(target2, targetStack, targetDepth, 10)) { + return 3 /* Maybe */; + } + const c = target2; + if (!c.root.inferTypeParameters && !isDistributionDependent(c.root) && !(source2.flags & 16777216 /* Conditional */ && source2.root === c.root)) { + const skipTrue = !isTypeAssignableTo(getPermissiveInstantiation(c.checkType), getPermissiveInstantiation(c.extendsType)); + const skipFalse = !skipTrue && isTypeAssignableTo(getRestrictiveInstantiation(c.checkType), getRestrictiveInstantiation(c.extendsType)); + if (result2 = skipTrue ? -1 /* True */ : isRelatedTo( + source2, + getTrueTypeFromConditionalType(c), + 2 /* Target */, + /*reportErrors*/ + false, + /*headMessage*/ + void 0, + intersectionState + )) { + result2 &= skipFalse ? -1 /* True */ : isRelatedTo( + source2, + getFalseTypeFromConditionalType(c), + 2 /* Target */, + /*reportErrors*/ + false, + /*headMessage*/ + void 0, + intersectionState + ); + if (result2) { + return result2; + } + } + } + } else if (targetFlags & 134217728 /* TemplateLiteral */) { + if (sourceFlags & 134217728 /* TemplateLiteral */) { + if (relation === comparableRelation) { + return templateLiteralTypesDefinitelyUnrelated(source2, target2) ? 0 /* False */ : -1 /* True */; + } + instantiateType(source2, reportUnreliableMapper); + } + if (isTypeMatchedByTemplateLiteralType(source2, target2)) { + return -1 /* True */; + } + } else if (target2.flags & 268435456 /* StringMapping */) { + if (!(source2.flags & 268435456 /* StringMapping */)) { + if (isMemberOfStringMapping(source2, target2)) { + return -1 /* True */; + } + } + } + if (sourceFlags & 8650752 /* TypeVariable */) { + if (!(sourceFlags & 8388608 /* IndexedAccess */ && targetFlags & 8388608 /* IndexedAccess */)) { + const constraint = getConstraintOfType(source2) || unknownType; + if (result2 = isRelatedTo( + constraint, + target2, + 1 /* Source */, + /*reportErrors*/ + false, + /*headMessage*/ + void 0, + intersectionState + )) { + return result2; + } else if (result2 = isRelatedTo( + getTypeWithThisArgument(constraint, source2), + target2, + 1 /* Source */, + reportErrors2 && constraint !== unknownType && !(targetFlags & sourceFlags & 262144 /* TypeParameter */), + /*headMessage*/ + void 0, + intersectionState + )) { + return result2; + } + if (isMappedTypeGenericIndexedAccess(source2)) { + const indexConstraint = getConstraintOfType(source2.indexType); + if (indexConstraint) { + if (result2 = isRelatedTo(getIndexedAccessType(source2.objectType, indexConstraint), target2, 1 /* Source */, reportErrors2)) { + return result2; + } + } + } + } + } else if (sourceFlags & 4194304 /* Index */) { + const isDeferredMappedIndex = shouldDeferIndexType(source2.type, source2.indexFlags) && getObjectFlags(source2.type) & 32 /* Mapped */; + if (result2 = isRelatedTo(stringNumberSymbolType, target2, 1 /* Source */, reportErrors2 && !isDeferredMappedIndex)) { + return result2; + } + if (isDeferredMappedIndex) { + const mappedType = source2.type; + const nameType = getNameTypeFromMappedType(mappedType); + const sourceMappedKeys = nameType && isMappedTypeWithKeyofConstraintDeclaration(mappedType) ? getApparentMappedTypeKeys(nameType, mappedType) : nameType || getConstraintTypeFromMappedType(mappedType); + if (result2 = isRelatedTo(sourceMappedKeys, target2, 1 /* Source */, reportErrors2)) { + return result2; + } + } + } else if (sourceFlags & 134217728 /* TemplateLiteral */ && !(targetFlags & 524288 /* Object */)) { + if (!(targetFlags & 134217728 /* TemplateLiteral */)) { + const constraint = getBaseConstraintOfType(source2); + if (constraint && constraint !== source2 && (result2 = isRelatedTo(constraint, target2, 1 /* Source */, reportErrors2))) { + return result2; + } + } + } else if (sourceFlags & 268435456 /* StringMapping */) { + if (targetFlags & 268435456 /* StringMapping */) { + if (source2.symbol !== target2.symbol) { + return 0 /* False */; + } + if (result2 = isRelatedTo(source2.type, target2.type, 3 /* Both */, reportErrors2)) { + return result2; + } + } else { + const constraint = getBaseConstraintOfType(source2); + if (constraint && (result2 = isRelatedTo(constraint, target2, 1 /* Source */, reportErrors2))) { + return result2; + } + } + } else if (sourceFlags & 16777216 /* Conditional */) { + if (isDeeplyNestedType(source2, sourceStack, sourceDepth, 10)) { + return 3 /* Maybe */; + } + if (targetFlags & 16777216 /* Conditional */) { + const sourceParams = source2.root.inferTypeParameters; + let sourceExtends = source2.extendsType; + let mapper; + if (sourceParams) { + const ctx = createInferenceContext( + sourceParams, + /*signature*/ + void 0, + 0 /* None */, + isRelatedToWorker + ); + inferTypes(ctx.inferences, target2.extendsType, sourceExtends, 512 /* NoConstraints */ | 1024 /* AlwaysStrict */); + sourceExtends = instantiateType(sourceExtends, ctx.mapper); + mapper = ctx.mapper; + } + if (isTypeIdenticalTo(sourceExtends, target2.extendsType) && (isRelatedTo(source2.checkType, target2.checkType, 3 /* Both */) || isRelatedTo(target2.checkType, source2.checkType, 3 /* Both */))) { + if (result2 = isRelatedTo(instantiateType(getTrueTypeFromConditionalType(source2), mapper), getTrueTypeFromConditionalType(target2), 3 /* Both */, reportErrors2)) { + result2 &= isRelatedTo(getFalseTypeFromConditionalType(source2), getFalseTypeFromConditionalType(target2), 3 /* Both */, reportErrors2); + } + if (result2) { + return result2; + } + } + } + const defaultConstraint = getDefaultConstraintOfConditionalType(source2); + if (defaultConstraint) { + if (result2 = isRelatedTo(defaultConstraint, target2, 1 /* Source */, reportErrors2)) { + return result2; + } + } + const distributiveConstraint = !(targetFlags & 16777216 /* Conditional */) && hasNonCircularBaseConstraint(source2) ? getConstraintOfDistributiveConditionalType(source2) : void 0; + if (distributiveConstraint) { + resetErrorInfo(saveErrorInfo); + if (result2 = isRelatedTo(distributiveConstraint, target2, 1 /* Source */, reportErrors2)) { + return result2; + } + } + } else { + if (relation !== subtypeRelation && relation !== strictSubtypeRelation && isPartialMappedType(target2) && isEmptyObjectType(source2)) { + return -1 /* True */; + } + if (isGenericMappedType(target2)) { + if (isGenericMappedType(source2)) { + if (result2 = mappedTypeRelatedTo(source2, target2, reportErrors2)) { + return result2; + } + } + return 0 /* False */; + } + const sourceIsPrimitive = !!(sourceFlags & 402784252 /* Primitive */); + if (relation !== identityRelation) { + source2 = getApparentType(source2); + sourceFlags = source2.flags; + } else if (isGenericMappedType(source2)) { + return 0 /* False */; + } + if (getObjectFlags(source2) & 4 /* Reference */ && getObjectFlags(target2) & 4 /* Reference */ && source2.target === target2.target && !isTupleType(source2) && !(isMarkerType(source2) || isMarkerType(target2))) { + if (isEmptyArrayLiteralType(source2)) { + return -1 /* True */; + } + const variances = getVariances(source2.target); + if (variances === emptyArray) { + return 1 /* Unknown */; + } + const varianceResult = relateVariances(getTypeArguments(source2), getTypeArguments(target2), variances, intersectionState); + if (varianceResult !== void 0) { + return varianceResult; + } + } else if (isReadonlyArrayType(target2) ? everyType(source2, isArrayOrTupleType) : isArrayType(target2) && everyType(source2, (t) => isTupleType(t) && !t.target.readonly)) { + if (relation !== identityRelation) { + return isRelatedTo(getIndexTypeOfType(source2, numberType) || anyType, getIndexTypeOfType(target2, numberType) || anyType, 3 /* Both */, reportErrors2); + } else { + return 0 /* False */; + } + } else if (isGenericTupleType(source2) && isTupleType(target2) && !isGenericTupleType(target2)) { + const constraint = getBaseConstraintOrType(source2); + if (constraint !== source2) { + return isRelatedTo(constraint, target2, 1 /* Source */, reportErrors2); + } + } else if ((relation === subtypeRelation || relation === strictSubtypeRelation) && isEmptyObjectType(target2) && getObjectFlags(target2) & 8192 /* FreshLiteral */ && !isEmptyObjectType(source2)) { + return 0 /* False */; + } + if (sourceFlags & (524288 /* Object */ | 2097152 /* Intersection */) && targetFlags & 524288 /* Object */) { + const reportStructuralErrors = reportErrors2 && errorInfo === saveErrorInfo.errorInfo && !sourceIsPrimitive; + result2 = propertiesRelatedTo( + source2, + target2, + reportStructuralErrors, + /*excludedProperties*/ + void 0, + /*optionalsOnly*/ + false, + intersectionState + ); + if (result2) { + result2 &= signaturesRelatedTo(source2, target2, 0 /* Call */, reportStructuralErrors, intersectionState); + if (result2) { + result2 &= signaturesRelatedTo(source2, target2, 1 /* Construct */, reportStructuralErrors, intersectionState); + if (result2) { + result2 &= indexSignaturesRelatedTo(source2, target2, sourceIsPrimitive, reportStructuralErrors, intersectionState); + } + } + } + if (varianceCheckFailed && result2) { + errorInfo = originalErrorInfo || errorInfo || saveErrorInfo.errorInfo; + } else if (result2) { + return result2; + } + } + if (sourceFlags & (524288 /* Object */ | 2097152 /* Intersection */) && targetFlags & 1048576 /* Union */) { + const objectOnlyTarget = extractTypesOfKind(target2, 524288 /* Object */ | 2097152 /* Intersection */ | 33554432 /* Substitution */); + if (objectOnlyTarget.flags & 1048576 /* Union */) { + const result3 = typeRelatedToDiscriminatedType(source2, objectOnlyTarget); + if (result3) { + return result3; + } + } + } + } + return 0 /* False */; + function countMessageChainBreadth(info) { + if (!info) return 0; + return reduceLeft(info, (value, chain) => value + 1 + countMessageChainBreadth(chain.next), 0); + } + function relateVariances(sourceTypeArguments, targetTypeArguments, variances, intersectionState2) { + if (result2 = typeArgumentsRelatedTo(sourceTypeArguments, targetTypeArguments, variances, reportErrors2, intersectionState2)) { + return result2; + } + if (some(variances, (v) => !!(v & 24 /* AllowsStructuralFallback */))) { + originalErrorInfo = void 0; + resetErrorInfo(saveErrorInfo); + return void 0; + } + const allowStructuralFallback = targetTypeArguments && hasCovariantVoidArgument(targetTypeArguments, variances); + varianceCheckFailed = !allowStructuralFallback; + if (variances !== emptyArray && !allowStructuralFallback) { + if (varianceCheckFailed && !(reportErrors2 && some(variances, (v) => (v & 7 /* VarianceMask */) === 0 /* Invariant */))) { + return 0 /* False */; + } + originalErrorInfo = errorInfo; + resetErrorInfo(saveErrorInfo); + } + } + } + function mappedTypeRelatedTo(source2, target2, reportErrors2) { + const modifiersRelated = relation === comparableRelation || (relation === identityRelation ? getMappedTypeModifiers(source2) === getMappedTypeModifiers(target2) : getCombinedMappedTypeOptionality(source2) <= getCombinedMappedTypeOptionality(target2)); + if (modifiersRelated) { + let result2; + const targetConstraint = getConstraintTypeFromMappedType(target2); + const sourceConstraint = instantiateType(getConstraintTypeFromMappedType(source2), getCombinedMappedTypeOptionality(source2) < 0 ? reportUnmeasurableMapper : reportUnreliableMapper); + if (result2 = isRelatedTo(targetConstraint, sourceConstraint, 3 /* Both */, reportErrors2)) { + const mapper = createTypeMapper([getTypeParameterFromMappedType(source2)], [getTypeParameterFromMappedType(target2)]); + if (instantiateType(getNameTypeFromMappedType(source2), mapper) === instantiateType(getNameTypeFromMappedType(target2), mapper)) { + return result2 & isRelatedTo(instantiateType(getTemplateTypeFromMappedType(source2), mapper), getTemplateTypeFromMappedType(target2), 3 /* Both */, reportErrors2); + } + } + } + return 0 /* False */; + } + function typeRelatedToDiscriminatedType(source2, target2) { + var _a2; + const sourceProperties = getPropertiesOfType(source2); + const sourcePropertiesFiltered = findDiscriminantProperties(sourceProperties, target2); + if (!sourcePropertiesFiltered) return 0 /* False */; + let numCombinations = 1; + for (const sourceProperty of sourcePropertiesFiltered) { + numCombinations *= countTypes(getNonMissingTypeOfSymbol(sourceProperty)); + if (numCombinations > 25) { + (_a2 = tracing) == null ? void 0 : _a2.instant(tracing.Phase.CheckTypes, "typeRelatedToDiscriminatedType_DepthLimit", { sourceId: source2.id, targetId: target2.id, numCombinations }); + return 0 /* False */; + } + } + const sourceDiscriminantTypes = new Array(sourcePropertiesFiltered.length); + const excludedProperties = /* @__PURE__ */ new Set(); + for (let i = 0; i < sourcePropertiesFiltered.length; i++) { + const sourceProperty = sourcePropertiesFiltered[i]; + const sourcePropertyType = getNonMissingTypeOfSymbol(sourceProperty); + sourceDiscriminantTypes[i] = sourcePropertyType.flags & 1048576 /* Union */ ? sourcePropertyType.types : [sourcePropertyType]; + excludedProperties.add(sourceProperty.escapedName); + } + const discriminantCombinations = cartesianProduct(sourceDiscriminantTypes); + const matchingTypes = []; + for (const combination of discriminantCombinations) { + let hasMatch = false; + outer: + for (const type of target2.types) { + for (let i = 0; i < sourcePropertiesFiltered.length; i++) { + const sourceProperty = sourcePropertiesFiltered[i]; + const targetProperty = getPropertyOfType(type, sourceProperty.escapedName); + if (!targetProperty) continue outer; + if (sourceProperty === targetProperty) continue; + const related = propertyRelatedTo( + source2, + target2, + sourceProperty, + targetProperty, + (_) => combination[i], + /*reportErrors*/ + false, + 0 /* None */, + /*skipOptional*/ + strictNullChecks || relation === comparableRelation + ); + if (!related) { + continue outer; + } + } + pushIfUnique(matchingTypes, type, equateValues); + hasMatch = true; + } + if (!hasMatch) { + return 0 /* False */; + } + } + let result2 = -1 /* True */; + for (const type of matchingTypes) { + result2 &= propertiesRelatedTo( + source2, + type, + /*reportErrors*/ + false, + excludedProperties, + /*optionalsOnly*/ + false, + 0 /* None */ + ); + if (result2) { + result2 &= signaturesRelatedTo( + source2, + type, + 0 /* Call */, + /*reportErrors*/ + false, + 0 /* None */ + ); + if (result2) { + result2 &= signaturesRelatedTo( + source2, + type, + 1 /* Construct */, + /*reportErrors*/ + false, + 0 /* None */ + ); + if (result2 && !(isTupleType(source2) && isTupleType(type))) { + result2 &= indexSignaturesRelatedTo( + source2, + type, + /*sourceIsPrimitive*/ + false, + /*reportErrors*/ + false, + 0 /* None */ + ); + } + } + } + if (!result2) { + return result2; + } + } + return result2; + } + function excludeProperties(properties, excludedProperties) { + if (!excludedProperties || properties.length === 0) return properties; + let result2; + for (let i = 0; i < properties.length; i++) { + if (!excludedProperties.has(properties[i].escapedName)) { + if (result2) { + result2.push(properties[i]); + } + } else if (!result2) { + result2 = properties.slice(0, i); + } + } + return result2 || properties; + } + function isPropertySymbolTypeRelated(sourceProp, targetProp, getTypeOfSourceProperty, reportErrors2, intersectionState) { + const targetIsOptional = strictNullChecks && !!(getCheckFlags(targetProp) & 48 /* Partial */); + const effectiveTarget = addOptionality( + getNonMissingTypeOfSymbol(targetProp), + /*isProperty*/ + false, + targetIsOptional + ); + const effectiveSource = getTypeOfSourceProperty(sourceProp); + return isRelatedTo( + effectiveSource, + effectiveTarget, + 3 /* Both */, + reportErrors2, + /*headMessage*/ + void 0, + intersectionState + ); + } + function propertyRelatedTo(source2, target2, sourceProp, targetProp, getTypeOfSourceProperty, reportErrors2, intersectionState, skipOptional) { + const sourcePropFlags = getDeclarationModifierFlagsFromSymbol(sourceProp); + const targetPropFlags = getDeclarationModifierFlagsFromSymbol(targetProp); + if (sourcePropFlags & 2 /* Private */ || targetPropFlags & 2 /* Private */) { + if (sourceProp.valueDeclaration !== targetProp.valueDeclaration) { + if (reportErrors2) { + if (sourcePropFlags & 2 /* Private */ && targetPropFlags & 2 /* Private */) { + reportError(Diagnostics.Types_have_separate_declarations_of_a_private_property_0, symbolToString(targetProp)); + } else { + reportError(Diagnostics.Property_0_is_private_in_type_1_but_not_in_type_2, symbolToString(targetProp), typeToString(sourcePropFlags & 2 /* Private */ ? source2 : target2), typeToString(sourcePropFlags & 2 /* Private */ ? target2 : source2)); + } + } + return 0 /* False */; + } + } else if (targetPropFlags & 4 /* Protected */) { + if (!isValidOverrideOf(sourceProp, targetProp)) { + if (reportErrors2) { + reportError(Diagnostics.Property_0_is_protected_but_type_1_is_not_a_class_derived_from_2, symbolToString(targetProp), typeToString(getDeclaringClass(sourceProp) || source2), typeToString(getDeclaringClass(targetProp) || target2)); + } + return 0 /* False */; + } + } else if (sourcePropFlags & 4 /* Protected */) { + if (reportErrors2) { + reportError(Diagnostics.Property_0_is_protected_in_type_1_but_public_in_type_2, symbolToString(targetProp), typeToString(source2), typeToString(target2)); + } + return 0 /* False */; + } + if (relation === strictSubtypeRelation && isReadonlySymbol(sourceProp) && !isReadonlySymbol(targetProp)) { + return 0 /* False */; + } + const related = isPropertySymbolTypeRelated(sourceProp, targetProp, getTypeOfSourceProperty, reportErrors2, intersectionState); + if (!related) { + if (reportErrors2) { + reportIncompatibleError(Diagnostics.Types_of_property_0_are_incompatible, symbolToString(targetProp)); + } + return 0 /* False */; + } + if (!skipOptional && sourceProp.flags & 16777216 /* Optional */ && targetProp.flags & 106500 /* ClassMember */ && !(targetProp.flags & 16777216 /* Optional */)) { + if (reportErrors2) { + reportError(Diagnostics.Property_0_is_optional_in_type_1_but_required_in_type_2, symbolToString(targetProp), typeToString(source2), typeToString(target2)); + } + return 0 /* False */; + } + return related; + } + function reportUnmatchedProperty(source2, target2, unmatchedProperty, requireOptionalProperties) { + let shouldSkipElaboration = false; + if (unmatchedProperty.valueDeclaration && isNamedDeclaration(unmatchedProperty.valueDeclaration) && isPrivateIdentifier(unmatchedProperty.valueDeclaration.name) && source2.symbol && source2.symbol.flags & 32 /* Class */) { + const privateIdentifierDescription = unmatchedProperty.valueDeclaration.name.escapedText; + const symbolTableKey = getSymbolNameForPrivateIdentifier(source2.symbol, privateIdentifierDescription); + if (symbolTableKey && getPropertyOfType(source2, symbolTableKey)) { + const sourceName = factory.getDeclarationName(source2.symbol.valueDeclaration); + const targetName = factory.getDeclarationName(target2.symbol.valueDeclaration); + reportError( + Diagnostics.Property_0_in_type_1_refers_to_a_different_member_that_cannot_be_accessed_from_within_type_2, + diagnosticName(privateIdentifierDescription), + diagnosticName(sourceName.escapedText === "" ? anon : sourceName), + diagnosticName(targetName.escapedText === "" ? anon : targetName) + ); + return; + } + } + const props = arrayFrom(getUnmatchedProperties( + source2, + target2, + requireOptionalProperties, + /*matchDiscriminantProperties*/ + false + )); + if (!headMessage || headMessage.code !== Diagnostics.Class_0_incorrectly_implements_interface_1.code && headMessage.code !== Diagnostics.Class_0_incorrectly_implements_class_1_Did_you_mean_to_extend_1_and_inherit_its_members_as_a_subclass.code) { + shouldSkipElaboration = true; + } + if (props.length === 1) { + const propName = symbolToString( + unmatchedProperty, + /*enclosingDeclaration*/ + void 0, + 0 /* None */, + 4 /* AllowAnyNodeKind */ | 16 /* WriteComputedProps */ + ); + reportError(Diagnostics.Property_0_is_missing_in_type_1_but_required_in_type_2, propName, ...getTypeNamesForErrorDisplay(source2, target2)); + if (length(unmatchedProperty.declarations)) { + associateRelatedInfo(createDiagnosticForNode(unmatchedProperty.declarations[0], Diagnostics._0_is_declared_here, propName)); + } + if (shouldSkipElaboration && errorInfo) { + overrideNextErrorInfo++; + } + } else if (tryElaborateArrayLikeErrors( + source2, + target2, + /*reportErrors*/ + false + )) { + if (props.length > 5) { + reportError(Diagnostics.Type_0_is_missing_the_following_properties_from_type_1_Colon_2_and_3_more, typeToString(source2), typeToString(target2), map(props.slice(0, 4), (p) => symbolToString(p)).join(", "), props.length - 4); + } else { + reportError(Diagnostics.Type_0_is_missing_the_following_properties_from_type_1_Colon_2, typeToString(source2), typeToString(target2), map(props, (p) => symbolToString(p)).join(", ")); + } + if (shouldSkipElaboration && errorInfo) { + overrideNextErrorInfo++; + } + } + } + function propertiesRelatedTo(source2, target2, reportErrors2, excludedProperties, optionalsOnly, intersectionState) { + if (relation === identityRelation) { + return propertiesIdenticalTo(source2, target2, excludedProperties); + } + let result2 = -1 /* True */; + if (isTupleType(target2)) { + if (isArrayOrTupleType(source2)) { + if (!target2.target.readonly && (isReadonlyArrayType(source2) || isTupleType(source2) && source2.target.readonly)) { + return 0 /* False */; + } + const sourceArity = getTypeReferenceArity(source2); + const targetArity = getTypeReferenceArity(target2); + const sourceRestFlag = isTupleType(source2) ? source2.target.combinedFlags & 4 /* Rest */ : 4 /* Rest */; + const targetHasRestElement = !!(target2.target.combinedFlags & 12 /* Variable */); + const sourceMinLength = isTupleType(source2) ? source2.target.minLength : 0; + const targetMinLength = target2.target.minLength; + if (!sourceRestFlag && sourceArity < targetMinLength) { + if (reportErrors2) { + reportError(Diagnostics.Source_has_0_element_s_but_target_requires_1, sourceArity, targetMinLength); + } + return 0 /* False */; + } + if (!targetHasRestElement && targetArity < sourceMinLength) { + if (reportErrors2) { + reportError(Diagnostics.Source_has_0_element_s_but_target_allows_only_1, sourceMinLength, targetArity); + } + return 0 /* False */; + } + if (!targetHasRestElement && (sourceRestFlag || targetArity < sourceArity)) { + if (reportErrors2) { + if (sourceMinLength < targetMinLength) { + reportError(Diagnostics.Target_requires_0_element_s_but_source_may_have_fewer, targetMinLength); + } else { + reportError(Diagnostics.Target_allows_only_0_element_s_but_source_may_have_more, targetArity); + } + } + return 0 /* False */; + } + const sourceTypeArguments = getTypeArguments(source2); + const targetTypeArguments = getTypeArguments(target2); + const targetStartCount = getStartElementCount(target2.target, 11 /* NonRest */); + const targetEndCount = getEndElementCount(target2.target, 11 /* NonRest */); + let canExcludeDiscriminants = !!excludedProperties; + for (let sourcePosition = 0; sourcePosition < sourceArity; sourcePosition++) { + const sourceFlags = isTupleType(source2) ? source2.target.elementFlags[sourcePosition] : 4 /* Rest */; + const sourcePositionFromEnd = sourceArity - 1 - sourcePosition; + const targetPosition = targetHasRestElement && sourcePosition >= targetStartCount ? targetArity - 1 - Math.min(sourcePositionFromEnd, targetEndCount) : sourcePosition; + const targetFlags = target2.target.elementFlags[targetPosition]; + if (targetFlags & 8 /* Variadic */ && !(sourceFlags & 8 /* Variadic */)) { + if (reportErrors2) { + reportError(Diagnostics.Source_provides_no_match_for_variadic_element_at_position_0_in_target, targetPosition); + } + return 0 /* False */; + } + if (sourceFlags & 8 /* Variadic */ && !(targetFlags & 12 /* Variable */)) { + if (reportErrors2) { + reportError(Diagnostics.Variadic_element_at_position_0_in_source_does_not_match_element_at_position_1_in_target, sourcePosition, targetPosition); + } + return 0 /* False */; + } + if (targetFlags & 1 /* Required */ && !(sourceFlags & 1 /* Required */)) { + if (reportErrors2) { + reportError(Diagnostics.Source_provides_no_match_for_required_element_at_position_0_in_target, targetPosition); + } + return 0 /* False */; + } + if (canExcludeDiscriminants) { + if (sourceFlags & 12 /* Variable */ || targetFlags & 12 /* Variable */) { + canExcludeDiscriminants = false; + } + if (canExcludeDiscriminants && (excludedProperties == null ? void 0 : excludedProperties.has("" + sourcePosition))) { + continue; + } + } + const sourceType = removeMissingType(sourceTypeArguments[sourcePosition], !!(sourceFlags & targetFlags & 2 /* Optional */)); + const targetType = targetTypeArguments[targetPosition]; + const targetCheckType = sourceFlags & 8 /* Variadic */ && targetFlags & 4 /* Rest */ ? createArrayType(targetType) : removeMissingType(targetType, !!(targetFlags & 2 /* Optional */)); + const related = isRelatedTo( + sourceType, + targetCheckType, + 3 /* Both */, + reportErrors2, + /*headMessage*/ + void 0, + intersectionState + ); + if (!related) { + if (reportErrors2 && (targetArity > 1 || sourceArity > 1)) { + if (targetHasRestElement && sourcePosition >= targetStartCount && sourcePositionFromEnd >= targetEndCount && targetStartCount !== sourceArity - targetEndCount - 1) { + reportIncompatibleError(Diagnostics.Type_at_positions_0_through_1_in_source_is_not_compatible_with_type_at_position_2_in_target, targetStartCount, sourceArity - targetEndCount - 1, targetPosition); + } else { + reportIncompatibleError(Diagnostics.Type_at_position_0_in_source_is_not_compatible_with_type_at_position_1_in_target, sourcePosition, targetPosition); + } + } + return 0 /* False */; + } + result2 &= related; + } + return result2; + } + if (target2.target.combinedFlags & 12 /* Variable */) { + return 0 /* False */; + } + } + const requireOptionalProperties = (relation === subtypeRelation || relation === strictSubtypeRelation) && !isObjectLiteralType(source2) && !isEmptyArrayLiteralType(source2) && !isTupleType(source2); + const unmatchedProperty = getUnmatchedProperty( + source2, + target2, + requireOptionalProperties, + /*matchDiscriminantProperties*/ + false + ); + if (unmatchedProperty) { + if (reportErrors2 && shouldReportUnmatchedPropertyError(source2, target2)) { + reportUnmatchedProperty(source2, target2, unmatchedProperty, requireOptionalProperties); + } + return 0 /* False */; + } + if (isObjectLiteralType(target2)) { + for (const sourceProp of excludeProperties(getPropertiesOfType(source2), excludedProperties)) { + if (!getPropertyOfObjectType(target2, sourceProp.escapedName)) { + const sourceType = getTypeOfSymbol(sourceProp); + if (!(sourceType.flags & 32768 /* Undefined */)) { + if (reportErrors2) { + reportError(Diagnostics.Property_0_does_not_exist_on_type_1, symbolToString(sourceProp), typeToString(target2)); + } + return 0 /* False */; + } + } + } + } + const properties = getPropertiesOfType(target2); + const numericNamesOnly = isTupleType(source2) && isTupleType(target2); + for (const targetProp of excludeProperties(properties, excludedProperties)) { + const name = targetProp.escapedName; + if (!(targetProp.flags & 4194304 /* Prototype */) && (!numericNamesOnly || isNumericLiteralName(name) || name === "length") && (!optionalsOnly || targetProp.flags & 16777216 /* Optional */)) { + const sourceProp = getPropertyOfType(source2, name); + if (sourceProp && sourceProp !== targetProp) { + const related = propertyRelatedTo(source2, target2, sourceProp, targetProp, getNonMissingTypeOfSymbol, reportErrors2, intersectionState, relation === comparableRelation); + if (!related) { + return 0 /* False */; + } + result2 &= related; + } + } + } + return result2; + } + function propertiesIdenticalTo(source2, target2, excludedProperties) { + if (!(source2.flags & 524288 /* Object */ && target2.flags & 524288 /* Object */)) { + return 0 /* False */; + } + const sourceProperties = excludeProperties(getPropertiesOfObjectType(source2), excludedProperties); + const targetProperties = excludeProperties(getPropertiesOfObjectType(target2), excludedProperties); + if (sourceProperties.length !== targetProperties.length) { + return 0 /* False */; + } + let result2 = -1 /* True */; + for (const sourceProp of sourceProperties) { + const targetProp = getPropertyOfObjectType(target2, sourceProp.escapedName); + if (!targetProp) { + return 0 /* False */; + } + const related = compareProperties(sourceProp, targetProp, isRelatedTo); + if (!related) { + return 0 /* False */; + } + result2 &= related; + } + return result2; + } + function signaturesRelatedTo(source2, target2, kind, reportErrors2, intersectionState) { + var _a2, _b; + if (relation === identityRelation) { + return signaturesIdenticalTo(source2, target2, kind); + } + if (target2 === anyFunctionType || source2 === anyFunctionType) { + return -1 /* True */; + } + const sourceIsJSConstructor = source2.symbol && isJSConstructor(source2.symbol.valueDeclaration); + const targetIsJSConstructor = target2.symbol && isJSConstructor(target2.symbol.valueDeclaration); + const sourceSignatures = getSignaturesOfType( + source2, + sourceIsJSConstructor && kind === 1 /* Construct */ ? 0 /* Call */ : kind + ); + const targetSignatures = getSignaturesOfType( + target2, + targetIsJSConstructor && kind === 1 /* Construct */ ? 0 /* Call */ : kind + ); + if (kind === 1 /* Construct */ && sourceSignatures.length && targetSignatures.length) { + const sourceIsAbstract = !!(sourceSignatures[0].flags & 4 /* Abstract */); + const targetIsAbstract = !!(targetSignatures[0].flags & 4 /* Abstract */); + if (sourceIsAbstract && !targetIsAbstract) { + if (reportErrors2) { + reportError(Diagnostics.Cannot_assign_an_abstract_constructor_type_to_a_non_abstract_constructor_type); + } + return 0 /* False */; + } + if (!constructorVisibilitiesAreCompatible(sourceSignatures[0], targetSignatures[0], reportErrors2)) { + return 0 /* False */; + } + } + let result2 = -1 /* True */; + const incompatibleReporter = kind === 1 /* Construct */ ? reportIncompatibleConstructSignatureReturn : reportIncompatibleCallSignatureReturn; + const sourceObjectFlags = getObjectFlags(source2); + const targetObjectFlags = getObjectFlags(target2); + if (sourceObjectFlags & 64 /* Instantiated */ && targetObjectFlags & 64 /* Instantiated */ && source2.symbol === target2.symbol || sourceObjectFlags & 4 /* Reference */ && targetObjectFlags & 4 /* Reference */ && source2.target === target2.target) { + Debug.assertEqual(sourceSignatures.length, targetSignatures.length); + for (let i = 0; i < targetSignatures.length; i++) { + const related = signatureRelatedTo( + sourceSignatures[i], + targetSignatures[i], + /*erase*/ + true, + reportErrors2, + intersectionState, + incompatibleReporter(sourceSignatures[i], targetSignatures[i]) + ); + if (!related) { + return 0 /* False */; + } + result2 &= related; + } + } else if (sourceSignatures.length === 1 && targetSignatures.length === 1) { + const eraseGenerics = relation === comparableRelation; + const sourceSignature = first(sourceSignatures); + const targetSignature = first(targetSignatures); + result2 = signatureRelatedTo(sourceSignature, targetSignature, eraseGenerics, reportErrors2, intersectionState, incompatibleReporter(sourceSignature, targetSignature)); + if (!result2 && reportErrors2 && kind === 1 /* Construct */ && sourceObjectFlags & targetObjectFlags && (((_a2 = targetSignature.declaration) == null ? void 0 : _a2.kind) === 176 /* Constructor */ || ((_b = sourceSignature.declaration) == null ? void 0 : _b.kind) === 176 /* Constructor */)) { + const constructSignatureToString = (signature) => signatureToString( + signature, + /*enclosingDeclaration*/ + void 0, + 262144 /* WriteArrowStyleSignature */, + kind + ); + reportError(Diagnostics.Type_0_is_not_assignable_to_type_1, constructSignatureToString(sourceSignature), constructSignatureToString(targetSignature)); + reportError(Diagnostics.Types_of_construct_signatures_are_incompatible); + return result2; + } + } else { + outer: + for (const t of targetSignatures) { + const saveErrorInfo = captureErrorCalculationState(); + let shouldElaborateErrors = reportErrors2; + for (const s of sourceSignatures) { + const related = signatureRelatedTo( + s, + t, + /*erase*/ + true, + shouldElaborateErrors, + intersectionState, + incompatibleReporter(s, t) + ); + if (related) { + result2 &= related; + resetErrorInfo(saveErrorInfo); + continue outer; + } + shouldElaborateErrors = false; + } + if (shouldElaborateErrors) { + reportError(Diagnostics.Type_0_provides_no_match_for_the_signature_1, typeToString(source2), signatureToString( + t, + /*enclosingDeclaration*/ + void 0, + /*flags*/ + void 0, + kind + )); + } + return 0 /* False */; + } + } + return result2; + } + function shouldReportUnmatchedPropertyError(source2, target2) { + const typeCallSignatures = getSignaturesOfStructuredType(source2, 0 /* Call */); + const typeConstructSignatures = getSignaturesOfStructuredType(source2, 1 /* Construct */); + const typeProperties = getPropertiesOfObjectType(source2); + if ((typeCallSignatures.length || typeConstructSignatures.length) && !typeProperties.length) { + if (getSignaturesOfType(target2, 0 /* Call */).length && typeCallSignatures.length || getSignaturesOfType(target2, 1 /* Construct */).length && typeConstructSignatures.length) { + return true; + } + return false; + } + return true; + } + function reportIncompatibleCallSignatureReturn(siga, sigb) { + if (siga.parameters.length === 0 && sigb.parameters.length === 0) { + return (source2, target2) => reportIncompatibleError(Diagnostics.Call_signatures_with_no_arguments_have_incompatible_return_types_0_and_1, typeToString(source2), typeToString(target2)); + } + return (source2, target2) => reportIncompatibleError(Diagnostics.Call_signature_return_types_0_and_1_are_incompatible, typeToString(source2), typeToString(target2)); + } + function reportIncompatibleConstructSignatureReturn(siga, sigb) { + if (siga.parameters.length === 0 && sigb.parameters.length === 0) { + return (source2, target2) => reportIncompatibleError(Diagnostics.Construct_signatures_with_no_arguments_have_incompatible_return_types_0_and_1, typeToString(source2), typeToString(target2)); + } + return (source2, target2) => reportIncompatibleError(Diagnostics.Construct_signature_return_types_0_and_1_are_incompatible, typeToString(source2), typeToString(target2)); + } + function signatureRelatedTo(source2, target2, erase, reportErrors2, intersectionState, incompatibleReporter) { + const checkMode = relation === subtypeRelation ? 16 /* StrictTopSignature */ : relation === strictSubtypeRelation ? 16 /* StrictTopSignature */ | 8 /* StrictArity */ : 0 /* None */; + return compareSignaturesRelated(erase ? getErasedSignature(source2) : source2, erase ? getErasedSignature(target2) : target2, checkMode, reportErrors2, reportError, incompatibleReporter, isRelatedToWorker2, reportUnreliableMapper); + function isRelatedToWorker2(source3, target3, reportErrors3) { + return isRelatedTo( + source3, + target3, + 3 /* Both */, + reportErrors3, + /*headMessage*/ + void 0, + intersectionState + ); + } + } + function signaturesIdenticalTo(source2, target2, kind) { + const sourceSignatures = getSignaturesOfType(source2, kind); + const targetSignatures = getSignaturesOfType(target2, kind); + if (sourceSignatures.length !== targetSignatures.length) { + return 0 /* False */; + } + let result2 = -1 /* True */; + for (let i = 0; i < sourceSignatures.length; i++) { + const related = compareSignaturesIdentical( + sourceSignatures[i], + targetSignatures[i], + /*partialMatch*/ + false, + /*ignoreThisTypes*/ + false, + /*ignoreReturnTypes*/ + false, + isRelatedTo + ); + if (!related) { + return 0 /* False */; + } + result2 &= related; + } + return result2; + } + function membersRelatedToIndexInfo(source2, targetInfo, reportErrors2, intersectionState) { + let result2 = -1 /* True */; + const keyType = targetInfo.keyType; + const props = source2.flags & 2097152 /* Intersection */ ? getPropertiesOfUnionOrIntersectionType(source2) : getPropertiesOfObjectType(source2); + for (const prop of props) { + if (isIgnoredJsxProperty(source2, prop)) { + continue; + } + if (isApplicableIndexType(getLiteralTypeFromProperty(prop, 8576 /* StringOrNumberLiteralOrUnique */), keyType)) { + const propType = getNonMissingTypeOfSymbol(prop); + const type = exactOptionalPropertyTypes || propType.flags & 32768 /* Undefined */ || keyType === numberType || !(prop.flags & 16777216 /* Optional */) ? propType : getTypeWithFacts(propType, 524288 /* NEUndefined */); + const related = isRelatedTo( + type, + targetInfo.type, + 3 /* Both */, + reportErrors2, + /*headMessage*/ + void 0, + intersectionState + ); + if (!related) { + if (reportErrors2) { + reportError(Diagnostics.Property_0_is_incompatible_with_index_signature, symbolToString(prop)); + } + return 0 /* False */; + } + result2 &= related; + } + } + for (const info of getIndexInfosOfType(source2)) { + if (isApplicableIndexType(info.keyType, keyType)) { + const related = indexInfoRelatedTo(info, targetInfo, reportErrors2, intersectionState); + if (!related) { + return 0 /* False */; + } + result2 &= related; + } + } + return result2; + } + function indexInfoRelatedTo(sourceInfo, targetInfo, reportErrors2, intersectionState) { + const related = isRelatedTo( + sourceInfo.type, + targetInfo.type, + 3 /* Both */, + reportErrors2, + /*headMessage*/ + void 0, + intersectionState + ); + if (!related && reportErrors2) { + if (sourceInfo.keyType === targetInfo.keyType) { + reportError(Diagnostics._0_index_signatures_are_incompatible, typeToString(sourceInfo.keyType)); + } else { + reportError(Diagnostics._0_and_1_index_signatures_are_incompatible, typeToString(sourceInfo.keyType), typeToString(targetInfo.keyType)); + } + } + return related; + } + function indexSignaturesRelatedTo(source2, target2, sourceIsPrimitive, reportErrors2, intersectionState) { + if (relation === identityRelation) { + return indexSignaturesIdenticalTo(source2, target2); + } + const indexInfos = getIndexInfosOfType(target2); + const targetHasStringIndex = some(indexInfos, (info) => info.keyType === stringType); + let result2 = -1 /* True */; + for (const targetInfo of indexInfos) { + const related = relation !== strictSubtypeRelation && !sourceIsPrimitive && targetHasStringIndex && targetInfo.type.flags & 1 /* Any */ ? -1 /* True */ : isGenericMappedType(source2) && targetHasStringIndex ? isRelatedTo(getTemplateTypeFromMappedType(source2), targetInfo.type, 3 /* Both */, reportErrors2) : typeRelatedToIndexInfo(source2, targetInfo, reportErrors2, intersectionState); + if (!related) { + return 0 /* False */; + } + result2 &= related; + } + return result2; + } + function typeRelatedToIndexInfo(source2, targetInfo, reportErrors2, intersectionState) { + const sourceInfo = getApplicableIndexInfo(source2, targetInfo.keyType); + if (sourceInfo) { + return indexInfoRelatedTo(sourceInfo, targetInfo, reportErrors2, intersectionState); + } + if (!(intersectionState & 1 /* Source */) && (relation !== strictSubtypeRelation || getObjectFlags(source2) & 8192 /* FreshLiteral */) && isObjectTypeWithInferableIndex(source2)) { + return membersRelatedToIndexInfo(source2, targetInfo, reportErrors2, intersectionState); + } + if (reportErrors2) { + reportError(Diagnostics.Index_signature_for_type_0_is_missing_in_type_1, typeToString(targetInfo.keyType), typeToString(source2)); + } + return 0 /* False */; + } + function indexSignaturesIdenticalTo(source2, target2) { + const sourceInfos = getIndexInfosOfType(source2); + const targetInfos = getIndexInfosOfType(target2); + if (sourceInfos.length !== targetInfos.length) { + return 0 /* False */; + } + for (const targetInfo of targetInfos) { + const sourceInfo = getIndexInfoOfType(source2, targetInfo.keyType); + if (!(sourceInfo && isRelatedTo(sourceInfo.type, targetInfo.type, 3 /* Both */) && sourceInfo.isReadonly === targetInfo.isReadonly)) { + return 0 /* False */; + } + } + return -1 /* True */; + } + function constructorVisibilitiesAreCompatible(sourceSignature, targetSignature, reportErrors2) { + if (!sourceSignature.declaration || !targetSignature.declaration) { + return true; + } + const sourceAccessibility = getSelectedEffectiveModifierFlags(sourceSignature.declaration, 6 /* NonPublicAccessibilityModifier */); + const targetAccessibility = getSelectedEffectiveModifierFlags(targetSignature.declaration, 6 /* NonPublicAccessibilityModifier */); + if (targetAccessibility === 2 /* Private */) { + return true; + } + if (targetAccessibility === 4 /* Protected */ && sourceAccessibility !== 2 /* Private */) { + return true; + } + if (targetAccessibility !== 4 /* Protected */ && !sourceAccessibility) { + return true; + } + if (reportErrors2) { + reportError(Diagnostics.Cannot_assign_a_0_constructor_type_to_a_1_constructor_type, visibilityToString(sourceAccessibility), visibilityToString(targetAccessibility)); + } + return false; + } + } + function typeCouldHaveTopLevelSingletonTypes(type) { + if (type.flags & 16 /* Boolean */) { + return false; + } + if (type.flags & 3145728 /* UnionOrIntersection */) { + return !!forEach(type.types, typeCouldHaveTopLevelSingletonTypes); + } + if (type.flags & 465829888 /* Instantiable */) { + const constraint = getConstraintOfType(type); + if (constraint && constraint !== type) { + return typeCouldHaveTopLevelSingletonTypes(constraint); + } + } + return isUnitType(type) || !!(type.flags & 134217728 /* TemplateLiteral */) || !!(type.flags & 268435456 /* StringMapping */); + } + function getExactOptionalUnassignableProperties(source, target) { + if (isTupleType(source) && isTupleType(target)) return emptyArray; + return getPropertiesOfType(target).filter((targetProp) => isExactOptionalPropertyMismatch(getTypeOfPropertyOfType(source, targetProp.escapedName), getTypeOfSymbol(targetProp))); + } + function isExactOptionalPropertyMismatch(source, target) { + return !!source && !!target && maybeTypeOfKind(source, 32768 /* Undefined */) && !!containsMissingType(target); + } + function getExactOptionalProperties(type) { + return getPropertiesOfType(type).filter((targetProp) => containsMissingType(getTypeOfSymbol(targetProp))); + } + function getBestMatchingType(source, target, isRelatedTo = compareTypesAssignable) { + return findMatchingDiscriminantType(source, target, isRelatedTo) || findMatchingTypeReferenceOrTypeAliasReference(source, target) || findBestTypeForObjectLiteral(source, target) || findBestTypeForInvokable(source, target) || findMostOverlappyType(source, target); + } + function discriminateTypeByDiscriminableItems(target, discriminators, related) { + const types = target.types; + const include = types.map((t) => t.flags & 402784252 /* Primitive */ ? 0 /* False */ : -1 /* True */); + for (const [getDiscriminatingType, propertyName] of discriminators) { + let matched = false; + for (let i = 0; i < types.length; i++) { + if (include[i]) { + const targetType = getTypeOfPropertyOrIndexSignatureOfType(types[i], propertyName); + if (targetType && someType(getDiscriminatingType(), (t) => !!related(t, targetType))) { + matched = true; + } else { + include[i] = 3 /* Maybe */; + } + } + } + for (let i = 0; i < types.length; i++) { + if (include[i] === 3 /* Maybe */) { + include[i] = matched ? 0 /* False */ : -1 /* True */; + } + } + } + const filtered = contains(include, 0 /* False */) ? getUnionType(types.filter((_, i) => include[i]), 0 /* None */) : target; + return filtered.flags & 131072 /* Never */ ? target : filtered; + } + function isWeakType(type) { + if (type.flags & 524288 /* Object */) { + const resolved = resolveStructuredTypeMembers(type); + return resolved.callSignatures.length === 0 && resolved.constructSignatures.length === 0 && resolved.indexInfos.length === 0 && resolved.properties.length > 0 && every(resolved.properties, (p) => !!(p.flags & 16777216 /* Optional */)); + } + if (type.flags & 33554432 /* Substitution */) { + return isWeakType(type.baseType); + } + if (type.flags & 2097152 /* Intersection */) { + return every(type.types, isWeakType); + } + return false; + } + function hasCommonProperties(source, target, isComparingJsxAttributes) { + for (const prop of getPropertiesOfType(source)) { + if (isKnownProperty(target, prop.escapedName, isComparingJsxAttributes)) { + return true; + } + } + return false; + } + function getVariances(type) { + return type === globalArrayType || type === globalReadonlyArrayType || type.objectFlags & 8 /* Tuple */ ? arrayVariances : getVariancesWorker(type.symbol, type.typeParameters); + } + function getAliasVariances(symbol) { + return getVariancesWorker(symbol, getSymbolLinks(symbol).typeParameters); + } + function getVariancesWorker(symbol, typeParameters = emptyArray) { + var _a, _b; + const links = getSymbolLinks(symbol); + if (!links.variances) { + (_a = tracing) == null ? void 0 : _a.push(tracing.Phase.CheckTypes, "getVariancesWorker", { arity: typeParameters.length, id: getTypeId(getDeclaredTypeOfSymbol(symbol)) }); + const oldVarianceComputation = inVarianceComputation; + const saveResolutionStart = resolutionStart; + if (!inVarianceComputation) { + inVarianceComputation = true; + resolutionStart = resolutionTargets.length; + } + links.variances = emptyArray; + const variances = []; + for (const tp of typeParameters) { + const modifiers = getTypeParameterModifiers(tp); + let variance = modifiers & 16384 /* Out */ ? modifiers & 8192 /* In */ ? 0 /* Invariant */ : 1 /* Covariant */ : modifiers & 8192 /* In */ ? 2 /* Contravariant */ : void 0; + if (variance === void 0) { + let unmeasurable = false; + let unreliable = false; + const oldHandler = outofbandVarianceMarkerHandler; + outofbandVarianceMarkerHandler = (onlyUnreliable) => onlyUnreliable ? unreliable = true : unmeasurable = true; + const typeWithSuper = createMarkerType(symbol, tp, markerSuperType); + const typeWithSub = createMarkerType(symbol, tp, markerSubType); + variance = (isTypeAssignableTo(typeWithSub, typeWithSuper) ? 1 /* Covariant */ : 0) | (isTypeAssignableTo(typeWithSuper, typeWithSub) ? 2 /* Contravariant */ : 0); + if (variance === 3 /* Bivariant */ && isTypeAssignableTo(createMarkerType(symbol, tp, markerOtherType), typeWithSuper)) { + variance = 4 /* Independent */; + } + outofbandVarianceMarkerHandler = oldHandler; + if (unmeasurable || unreliable) { + if (unmeasurable) { + variance |= 8 /* Unmeasurable */; + } + if (unreliable) { + variance |= 16 /* Unreliable */; + } + } + } + variances.push(variance); + } + if (!oldVarianceComputation) { + inVarianceComputation = false; + resolutionStart = saveResolutionStart; + } + links.variances = variances; + (_b = tracing) == null ? void 0 : _b.pop({ variances: variances.map(Debug.formatVariance) }); + } + return links.variances; + } + function createMarkerType(symbol, source, target) { + const mapper = makeUnaryTypeMapper(source, target); + const type = getDeclaredTypeOfSymbol(symbol); + if (isErrorType(type)) { + return type; + } + const result = symbol.flags & 524288 /* TypeAlias */ ? getTypeAliasInstantiation(symbol, instantiateTypes(getSymbolLinks(symbol).typeParameters, mapper)) : createTypeReference(type, instantiateTypes(type.typeParameters, mapper)); + markerTypes.add(getTypeId(result)); + return result; + } + function isMarkerType(type) { + return markerTypes.has(getTypeId(type)); + } + function getTypeParameterModifiers(tp) { + var _a; + return reduceLeft((_a = tp.symbol) == null ? void 0 : _a.declarations, (modifiers, d) => modifiers | getEffectiveModifierFlags(d), 0 /* None */) & (8192 /* In */ | 16384 /* Out */ | 4096 /* Const */); + } + function hasCovariantVoidArgument(typeArguments, variances) { + for (let i = 0; i < variances.length; i++) { + if ((variances[i] & 7 /* VarianceMask */) === 1 /* Covariant */ && typeArguments[i].flags & 16384 /* Void */) { + return true; + } + } + return false; + } + function isUnconstrainedTypeParameter(type) { + return type.flags & 262144 /* TypeParameter */ && !getConstraintOfTypeParameter(type); + } + function isNonDeferredTypeReference(type) { + return !!(getObjectFlags(type) & 4 /* Reference */) && !type.node; + } + function isTypeReferenceWithGenericArguments(type) { + return isNonDeferredTypeReference(type) && some(getTypeArguments(type), (t) => !!(t.flags & 262144 /* TypeParameter */) || isTypeReferenceWithGenericArguments(t)); + } + function getGenericTypeReferenceRelationKey(source, target, postFix, ignoreConstraints) { + const typeParameters = []; + let constraintMarker = ""; + const sourceId = getTypeReferenceId(source, 0); + const targetId = getTypeReferenceId(target, 0); + return `${constraintMarker}${sourceId},${targetId}${postFix}`; + function getTypeReferenceId(type, depth = 0) { + let result = "" + type.target.id; + for (const t of getTypeArguments(type)) { + if (t.flags & 262144 /* TypeParameter */) { + if (ignoreConstraints || isUnconstrainedTypeParameter(t)) { + let index = typeParameters.indexOf(t); + if (index < 0) { + index = typeParameters.length; + typeParameters.push(t); + } + result += "=" + index; + continue; + } + constraintMarker = "*"; + } else if (depth < 4 && isTypeReferenceWithGenericArguments(t)) { + result += "<" + getTypeReferenceId(t, depth + 1) + ">"; + continue; + } + result += "-" + t.id; + } + return result; + } + } + function getRelationKey(source, target, intersectionState, relation, ignoreConstraints) { + if (relation === identityRelation && source.id > target.id) { + const temp = source; + source = target; + target = temp; + } + const postFix = intersectionState ? ":" + intersectionState : ""; + return isTypeReferenceWithGenericArguments(source) && isTypeReferenceWithGenericArguments(target) ? getGenericTypeReferenceRelationKey(source, target, postFix, ignoreConstraints) : `${source.id},${target.id}${postFix}`; + } + function forEachProperty(prop, callback) { + if (getCheckFlags(prop) & 6 /* Synthetic */) { + for (const t of prop.links.containingType.types) { + const p = getPropertyOfType(t, prop.escapedName); + const result = p && forEachProperty(p, callback); + if (result) { + return result; + } + } + return void 0; + } + return callback(prop); + } + function getDeclaringClass(prop) { + return prop.parent && prop.parent.flags & 32 /* Class */ ? getDeclaredTypeOfSymbol(getParentOfSymbol(prop)) : void 0; + } + function getTypeOfPropertyInBaseClass(property) { + const classType = getDeclaringClass(property); + const baseClassType = classType && getBaseTypes(classType)[0]; + return baseClassType && getTypeOfPropertyOfType(baseClassType, property.escapedName); + } + function isPropertyInClassDerivedFrom(prop, baseClass) { + return forEachProperty(prop, (sp) => { + const sourceClass = getDeclaringClass(sp); + return sourceClass ? hasBaseType(sourceClass, baseClass) : false; + }); + } + function isValidOverrideOf(sourceProp, targetProp) { + return !forEachProperty(targetProp, (tp) => getDeclarationModifierFlagsFromSymbol(tp) & 4 /* Protected */ ? !isPropertyInClassDerivedFrom(sourceProp, getDeclaringClass(tp)) : false); + } + function isClassDerivedFromDeclaringClasses(checkClass, prop, writing) { + return forEachProperty(prop, (p) => getDeclarationModifierFlagsFromSymbol(p, writing) & 4 /* Protected */ ? !hasBaseType(checkClass, getDeclaringClass(p)) : false) ? void 0 : checkClass; + } + function isDeeplyNestedType(type, stack, depth, maxDepth = 3) { + if (depth >= maxDepth) { + if ((getObjectFlags(type) & 96 /* InstantiatedMapped */) === 96 /* InstantiatedMapped */) { + type = getMappedTargetWithSymbol(type); + } + if (type.flags & 2097152 /* Intersection */) { + return some(type.types, (t) => isDeeplyNestedType(t, stack, depth, maxDepth)); + } + const identity2 = getRecursionIdentity(type); + let count = 0; + let lastTypeId = 0; + for (let i = 0; i < depth; i++) { + const t = stack[i]; + if (hasMatchingRecursionIdentity(t, identity2)) { + if (t.id >= lastTypeId) { + count++; + if (count >= maxDepth) { + return true; + } + } + lastTypeId = t.id; + } + } + } + return false; + } + function getMappedTargetWithSymbol(type) { + let target; + while ((getObjectFlags(type) & 96 /* InstantiatedMapped */) === 96 /* InstantiatedMapped */ && (target = getModifiersTypeFromMappedType(type)) && (target.symbol || target.flags & 2097152 /* Intersection */ && some(target.types, (t) => !!t.symbol))) { + type = target; + } + return type; + } + function hasMatchingRecursionIdentity(type, identity2) { + if ((getObjectFlags(type) & 96 /* InstantiatedMapped */) === 96 /* InstantiatedMapped */) { + type = getMappedTargetWithSymbol(type); + } + if (type.flags & 2097152 /* Intersection */) { + return some(type.types, (t) => hasMatchingRecursionIdentity(t, identity2)); + } + return getRecursionIdentity(type) === identity2; + } + function getRecursionIdentity(type) { + if (type.flags & 524288 /* Object */ && !isObjectOrArrayLiteralType(type)) { + if (getObjectFlags(type) & 4 /* Reference */ && type.node) { + return type.node; + } + if (type.symbol && !(getObjectFlags(type) & 16 /* Anonymous */ && type.symbol.flags & 32 /* Class */)) { + return type.symbol; + } + if (isTupleType(type)) { + return type.target; + } + } + if (type.flags & 262144 /* TypeParameter */) { + return type.symbol; + } + if (type.flags & 8388608 /* IndexedAccess */) { + do { + type = type.objectType; + } while (type.flags & 8388608 /* IndexedAccess */); + return type; + } + if (type.flags & 16777216 /* Conditional */) { + return type.root; + } + return type; + } + function isPropertyIdenticalTo(sourceProp, targetProp) { + return compareProperties(sourceProp, targetProp, compareTypesIdentical) !== 0 /* False */; + } + function compareProperties(sourceProp, targetProp, compareTypes) { + if (sourceProp === targetProp) { + return -1 /* True */; + } + const sourcePropAccessibility = getDeclarationModifierFlagsFromSymbol(sourceProp) & 6 /* NonPublicAccessibilityModifier */; + const targetPropAccessibility = getDeclarationModifierFlagsFromSymbol(targetProp) & 6 /* NonPublicAccessibilityModifier */; + if (sourcePropAccessibility !== targetPropAccessibility) { + return 0 /* False */; + } + if (sourcePropAccessibility) { + if (getTargetSymbol(sourceProp) !== getTargetSymbol(targetProp)) { + return 0 /* False */; + } + } else { + if ((sourceProp.flags & 16777216 /* Optional */) !== (targetProp.flags & 16777216 /* Optional */)) { + return 0 /* False */; + } + } + if (isReadonlySymbol(sourceProp) !== isReadonlySymbol(targetProp)) { + return 0 /* False */; + } + return compareTypes(getTypeOfSymbol(sourceProp), getTypeOfSymbol(targetProp)); + } + function isMatchingSignature(source, target, partialMatch) { + const sourceParameterCount = getParameterCount(source); + const targetParameterCount = getParameterCount(target); + const sourceMinArgumentCount = getMinArgumentCount(source); + const targetMinArgumentCount = getMinArgumentCount(target); + const sourceHasRestParameter = hasEffectiveRestParameter(source); + const targetHasRestParameter = hasEffectiveRestParameter(target); + if (sourceParameterCount === targetParameterCount && sourceMinArgumentCount === targetMinArgumentCount && sourceHasRestParameter === targetHasRestParameter) { + return true; + } + if (partialMatch && sourceMinArgumentCount <= targetMinArgumentCount) { + return true; + } + return false; + } + function compareSignaturesIdentical(source, target, partialMatch, ignoreThisTypes, ignoreReturnTypes, compareTypes) { + if (source === target) { + return -1 /* True */; + } + if (!isMatchingSignature(source, target, partialMatch)) { + return 0 /* False */; + } + if (length(source.typeParameters) !== length(target.typeParameters)) { + return 0 /* False */; + } + if (target.typeParameters) { + const mapper = createTypeMapper(source.typeParameters, target.typeParameters); + for (let i = 0; i < target.typeParameters.length; i++) { + const s = source.typeParameters[i]; + const t = target.typeParameters[i]; + if (!(s === t || compareTypes(instantiateType(getConstraintFromTypeParameter(s), mapper) || unknownType, getConstraintFromTypeParameter(t) || unknownType) && compareTypes(instantiateType(getDefaultFromTypeParameter(s), mapper) || unknownType, getDefaultFromTypeParameter(t) || unknownType))) { + return 0 /* False */; + } + } + source = instantiateSignature( + source, + mapper, + /*eraseTypeParameters*/ + true + ); + } + let result = -1 /* True */; + if (!ignoreThisTypes) { + const sourceThisType = getThisTypeOfSignature(source); + if (sourceThisType) { + const targetThisType = getThisTypeOfSignature(target); + if (targetThisType) { + const related = compareTypes(sourceThisType, targetThisType); + if (!related) { + return 0 /* False */; + } + result &= related; + } + } + } + const targetLen = getParameterCount(target); + for (let i = 0; i < targetLen; i++) { + const s = getTypeAtPosition(source, i); + const t = getTypeAtPosition(target, i); + const related = compareTypes(t, s); + if (!related) { + return 0 /* False */; + } + result &= related; + } + if (!ignoreReturnTypes) { + const sourceTypePredicate = getTypePredicateOfSignature(source); + const targetTypePredicate = getTypePredicateOfSignature(target); + result &= sourceTypePredicate || targetTypePredicate ? compareTypePredicatesIdentical(sourceTypePredicate, targetTypePredicate, compareTypes) : compareTypes(getReturnTypeOfSignature(source), getReturnTypeOfSignature(target)); + } + return result; + } + function compareTypePredicatesIdentical(source, target, compareTypes) { + return !(source && target && typePredicateKindsMatch(source, target)) ? 0 /* False */ : source.type === target.type ? -1 /* True */ : source.type && target.type ? compareTypes(source.type, target.type) : 0 /* False */; + } + function literalTypesWithSameBaseType(types) { + let commonBaseType; + for (const t of types) { + if (!(t.flags & 131072 /* Never */)) { + const baseType = getBaseTypeOfLiteralType(t); + commonBaseType ?? (commonBaseType = baseType); + if (baseType === t || baseType !== commonBaseType) { + return false; + } + } + } + return true; + } + function getCombinedTypeFlags(types) { + return reduceLeft(types, (flags, t) => flags | (t.flags & 1048576 /* Union */ ? getCombinedTypeFlags(t.types) : t.flags), 0); + } + function getCommonSupertype(types) { + if (types.length === 1) { + return types[0]; + } + const primaryTypes = strictNullChecks ? sameMap(types, (t) => filterType(t, (u) => !(u.flags & 98304 /* Nullable */))) : types; + const superTypeOrUnion = literalTypesWithSameBaseType(primaryTypes) ? getUnionType(primaryTypes) : reduceLeft(primaryTypes, (s, t) => isTypeSubtypeOf(s, t) ? t : s); + return primaryTypes === types ? superTypeOrUnion : getNullableType(superTypeOrUnion, getCombinedTypeFlags(types) & 98304 /* Nullable */); + } + function getCommonSubtype(types) { + return reduceLeft(types, (s, t) => isTypeSubtypeOf(t, s) ? t : s); + } + function isArrayType(type) { + return !!(getObjectFlags(type) & 4 /* Reference */) && (type.target === globalArrayType || type.target === globalReadonlyArrayType); + } + function isReadonlyArrayType(type) { + return !!(getObjectFlags(type) & 4 /* Reference */) && type.target === globalReadonlyArrayType; + } + function isArrayOrTupleType(type) { + return isArrayType(type) || isTupleType(type); + } + function isMutableArrayOrTuple(type) { + return isArrayType(type) && !isReadonlyArrayType(type) || isTupleType(type) && !type.target.readonly; + } + function getElementTypeOfArrayType(type) { + return isArrayType(type) ? getTypeArguments(type)[0] : void 0; + } + function isArrayLikeType(type) { + return isArrayType(type) || !(type.flags & 98304 /* Nullable */) && isTypeAssignableTo(type, anyReadonlyArrayType); + } + function isMutableArrayLikeType(type) { + return isMutableArrayOrTuple(type) || !(type.flags & (1 /* Any */ | 98304 /* Nullable */)) && isTypeAssignableTo(type, anyArrayType); + } + function getSingleBaseForNonAugmentingSubtype(type) { + if (!(getObjectFlags(type) & 4 /* Reference */) || !(getObjectFlags(type.target) & 3 /* ClassOrInterface */)) { + return void 0; + } + if (getObjectFlags(type) & 33554432 /* IdenticalBaseTypeCalculated */) { + return getObjectFlags(type) & 67108864 /* IdenticalBaseTypeExists */ ? type.cachedEquivalentBaseType : void 0; + } + type.objectFlags |= 33554432 /* IdenticalBaseTypeCalculated */; + const target = type.target; + if (getObjectFlags(target) & 1 /* Class */) { + const baseTypeNode = getBaseTypeNodeOfClass(target); + if (baseTypeNode && baseTypeNode.expression.kind !== 80 /* Identifier */ && baseTypeNode.expression.kind !== 211 /* PropertyAccessExpression */) { + return void 0; + } + } + const bases = getBaseTypes(target); + if (bases.length !== 1) { + return void 0; + } + if (getMembersOfSymbol(type.symbol).size) { + return void 0; + } + let instantiatedBase = !length(target.typeParameters) ? bases[0] : instantiateType(bases[0], createTypeMapper(target.typeParameters, getTypeArguments(type).slice(0, target.typeParameters.length))); + if (length(getTypeArguments(type)) > length(target.typeParameters)) { + instantiatedBase = getTypeWithThisArgument(instantiatedBase, last(getTypeArguments(type))); + } + type.objectFlags |= 67108864 /* IdenticalBaseTypeExists */; + return type.cachedEquivalentBaseType = instantiatedBase; + } + function isEmptyLiteralType(type) { + return strictNullChecks ? type === implicitNeverType : type === undefinedWideningType; + } + function isEmptyArrayLiteralType(type) { + const elementType = getElementTypeOfArrayType(type); + return !!elementType && isEmptyLiteralType(elementType); + } + function isTupleLikeType(type) { + let lengthType; + return isTupleType(type) || !!getPropertyOfType(type, "0") || isArrayLikeType(type) && !!(lengthType = getTypeOfPropertyOfType(type, "length")) && everyType(lengthType, (t) => !!(t.flags & 256 /* NumberLiteral */)); + } + function isArrayOrTupleLikeType(type) { + return isArrayLikeType(type) || isTupleLikeType(type); + } + function getTupleElementType(type, index) { + const propType = getTypeOfPropertyOfType(type, "" + index); + if (propType) { + return propType; + } + if (everyType(type, isTupleType)) { + return getTupleElementTypeOutOfStartCount(type, index, compilerOptions.noUncheckedIndexedAccess ? undefinedType : void 0); + } + return void 0; + } + function isNeitherUnitTypeNorNever(type) { + return !(type.flags & (109472 /* Unit */ | 131072 /* Never */)); + } + function isUnitType(type) { + return !!(type.flags & 109472 /* Unit */); + } + function isUnitLikeType(type) { + const t = getBaseConstraintOrType(type); + return t.flags & 2097152 /* Intersection */ ? some(t.types, isUnitType) : isUnitType(t); + } + function extractUnitType(type) { + return type.flags & 2097152 /* Intersection */ ? find(type.types, isUnitType) || type : type; + } + function isLiteralType(type) { + return type.flags & 16 /* Boolean */ ? true : type.flags & 1048576 /* Union */ ? type.flags & 1024 /* EnumLiteral */ ? true : every(type.types, isUnitType) : isUnitType(type); + } + function getBaseTypeOfLiteralType(type) { + return type.flags & 1056 /* EnumLike */ ? getBaseTypeOfEnumLikeType(type) : type.flags & (128 /* StringLiteral */ | 134217728 /* TemplateLiteral */ | 268435456 /* StringMapping */) ? stringType : type.flags & 256 /* NumberLiteral */ ? numberType : type.flags & 2048 /* BigIntLiteral */ ? bigintType : type.flags & 512 /* BooleanLiteral */ ? booleanType : type.flags & 1048576 /* Union */ ? getBaseTypeOfLiteralTypeUnion(type) : type; + } + function getBaseTypeOfLiteralTypeUnion(type) { + const key = `B${getTypeId(type)}`; + return getCachedType(key) ?? setCachedType(key, mapType(type, getBaseTypeOfLiteralType)); + } + function getBaseTypeOfLiteralTypeForComparison(type) { + return type.flags & (128 /* StringLiteral */ | 134217728 /* TemplateLiteral */ | 268435456 /* StringMapping */) ? stringType : type.flags & (256 /* NumberLiteral */ | 32 /* Enum */) ? numberType : type.flags & 2048 /* BigIntLiteral */ ? bigintType : type.flags & 512 /* BooleanLiteral */ ? booleanType : type.flags & 1048576 /* Union */ ? mapType(type, getBaseTypeOfLiteralTypeForComparison) : type; + } + function getWidenedLiteralType(type) { + return type.flags & 1056 /* EnumLike */ && isFreshLiteralType(type) ? getBaseTypeOfEnumLikeType(type) : type.flags & 128 /* StringLiteral */ && isFreshLiteralType(type) ? stringType : type.flags & 256 /* NumberLiteral */ && isFreshLiteralType(type) ? numberType : type.flags & 2048 /* BigIntLiteral */ && isFreshLiteralType(type) ? bigintType : type.flags & 512 /* BooleanLiteral */ && isFreshLiteralType(type) ? booleanType : type.flags & 1048576 /* Union */ ? mapType(type, getWidenedLiteralType) : type; + } + function getWidenedUniqueESSymbolType(type) { + return type.flags & 8192 /* UniqueESSymbol */ ? esSymbolType : type.flags & 1048576 /* Union */ ? mapType(type, getWidenedUniqueESSymbolType) : type; + } + function getWidenedLiteralLikeTypeForContextualType(type, contextualType) { + if (!isLiteralOfContextualType(type, contextualType)) { + type = getWidenedUniqueESSymbolType(getWidenedLiteralType(type)); + } + return getRegularTypeOfLiteralType(type); + } + function getWidenedLiteralLikeTypeForContextualReturnTypeIfNeeded(type, contextualSignatureReturnType, isAsync) { + if (type && isUnitType(type)) { + const contextualType = !contextualSignatureReturnType ? void 0 : isAsync ? getPromisedTypeOfPromise(contextualSignatureReturnType) : contextualSignatureReturnType; + type = getWidenedLiteralLikeTypeForContextualType(type, contextualType); + } + return type; + } + function getWidenedLiteralLikeTypeForContextualIterationTypeIfNeeded(type, contextualSignatureReturnType, kind, isAsyncGenerator) { + if (type && isUnitType(type)) { + const contextualType = !contextualSignatureReturnType ? void 0 : getIterationTypeOfGeneratorFunctionReturnType(kind, contextualSignatureReturnType, isAsyncGenerator); + type = getWidenedLiteralLikeTypeForContextualType(type, contextualType); + } + return type; + } + function isTupleType(type) { + return !!(getObjectFlags(type) & 4 /* Reference */ && type.target.objectFlags & 8 /* Tuple */); + } + function isGenericTupleType(type) { + return isTupleType(type) && !!(type.target.combinedFlags & 8 /* Variadic */); + } + function isSingleElementGenericTupleType(type) { + return isGenericTupleType(type) && type.target.elementFlags.length === 1; + } + function getRestTypeOfTupleType(type) { + return getElementTypeOfSliceOfTupleType(type, type.target.fixedLength); + } + function getTupleElementTypeOutOfStartCount(type, index, undefinedOrMissingType2) { + return mapType(type, (t) => { + const tupleType = t; + const restType = getRestTypeOfTupleType(tupleType); + if (!restType) { + return undefinedType; + } + if (undefinedOrMissingType2 && index >= getTotalFixedElementCount(tupleType.target)) { + return getUnionType([restType, undefinedOrMissingType2]); + } + return restType; + }); + } + function getRestArrayTypeOfTupleType(type) { + const restType = getRestTypeOfTupleType(type); + return restType && createArrayType(restType); + } + function getElementTypeOfSliceOfTupleType(type, index, endSkipCount = 0, writing = false, noReductions = false) { + const length2 = getTypeReferenceArity(type) - endSkipCount; + if (index < length2) { + const typeArguments = getTypeArguments(type); + const elementTypes = []; + for (let i = index; i < length2; i++) { + const t = typeArguments[i]; + elementTypes.push(type.target.elementFlags[i] & 8 /* Variadic */ ? getIndexedAccessType(t, numberType) : t); + } + return writing ? getIntersectionType(elementTypes) : getUnionType(elementTypes, noReductions ? 0 /* None */ : 1 /* Literal */); + } + return void 0; + } + function isTupleTypeStructureMatching(t1, t2) { + return getTypeReferenceArity(t1) === getTypeReferenceArity(t2) && every(t1.target.elementFlags, (f, i) => (f & 12 /* Variable */) === (t2.target.elementFlags[i] & 12 /* Variable */)); + } + function isZeroBigInt({ value }) { + return value.base10Value === "0"; + } + function removeDefinitelyFalsyTypes(type) { + return filterType(type, (t) => hasTypeFacts(t, 4194304 /* Truthy */)); + } + function extractDefinitelyFalsyTypes(type) { + return mapType(type, getDefinitelyFalsyPartOfType); + } + function getDefinitelyFalsyPartOfType(type) { + return type.flags & 4 /* String */ ? emptyStringType : type.flags & 8 /* Number */ ? zeroType : type.flags & 64 /* BigInt */ ? zeroBigIntType : type === regularFalseType || type === falseType || type.flags & (16384 /* Void */ | 32768 /* Undefined */ | 65536 /* Null */ | 3 /* AnyOrUnknown */) || type.flags & 128 /* StringLiteral */ && type.value === "" || type.flags & 256 /* NumberLiteral */ && type.value === 0 || type.flags & 2048 /* BigIntLiteral */ && isZeroBigInt(type) ? type : neverType; + } + function getNullableType(type, flags) { + const missing = flags & ~type.flags & (32768 /* Undefined */ | 65536 /* Null */); + return missing === 0 ? type : missing === 32768 /* Undefined */ ? getUnionType([type, undefinedType]) : missing === 65536 /* Null */ ? getUnionType([type, nullType]) : getUnionType([type, undefinedType, nullType]); + } + function getOptionalType(type, isProperty = false) { + Debug.assert(strictNullChecks); + const missingOrUndefined = isProperty ? undefinedOrMissingType : undefinedType; + return type === missingOrUndefined || type.flags & 1048576 /* Union */ && type.types[0] === missingOrUndefined ? type : getUnionType([type, missingOrUndefined]); + } + function getGlobalNonNullableTypeInstantiation(type) { + if (!deferredGlobalNonNullableTypeAlias) { + deferredGlobalNonNullableTypeAlias = getGlobalSymbol( + "NonNullable", + 524288 /* TypeAlias */, + /*diagnostic*/ + void 0 + ) || unknownSymbol; + } + return deferredGlobalNonNullableTypeAlias !== unknownSymbol ? getTypeAliasInstantiation(deferredGlobalNonNullableTypeAlias, [type]) : getIntersectionType([type, emptyObjectType]); + } + function getNonNullableType(type) { + return strictNullChecks ? getAdjustedTypeWithFacts(type, 2097152 /* NEUndefinedOrNull */) : type; + } + function addOptionalTypeMarker(type) { + return strictNullChecks ? getUnionType([type, optionalType]) : type; + } + function removeOptionalTypeMarker(type) { + return strictNullChecks ? removeType(type, optionalType) : type; + } + function propagateOptionalTypeMarker(type, node, wasOptional) { + return wasOptional ? isOutermostOptionalChain(node) ? getOptionalType(type) : addOptionalTypeMarker(type) : type; + } + function getOptionalExpressionType(exprType, expression) { + return isExpressionOfOptionalChainRoot(expression) ? getNonNullableType(exprType) : isOptionalChain(expression) ? removeOptionalTypeMarker(exprType) : exprType; + } + function removeMissingType(type, isOptional) { + return exactOptionalPropertyTypes && isOptional ? removeType(type, missingType) : type; + } + function containsMissingType(type) { + return type === missingType || !!(type.flags & 1048576 /* Union */) && type.types[0] === missingType; + } + function removeMissingOrUndefinedType(type) { + return exactOptionalPropertyTypes ? removeType(type, missingType) : getTypeWithFacts(type, 524288 /* NEUndefined */); + } + function isCoercibleUnderDoubleEquals(source, target) { + return (source.flags & (8 /* Number */ | 4 /* String */ | 512 /* BooleanLiteral */)) !== 0 && (target.flags & (8 /* Number */ | 4 /* String */ | 16 /* Boolean */)) !== 0; + } + function isObjectTypeWithInferableIndex(type) { + const objectFlags = getObjectFlags(type); + return type.flags & 2097152 /* Intersection */ ? every(type.types, isObjectTypeWithInferableIndex) : !!(type.symbol && (type.symbol.flags & (4096 /* ObjectLiteral */ | 2048 /* TypeLiteral */ | 384 /* Enum */ | 512 /* ValueModule */)) !== 0 && !(type.symbol.flags & 32 /* Class */) && !typeHasCallOrConstructSignatures(type)) || !!(objectFlags & 4194304 /* ObjectRestType */) || !!(objectFlags & 1024 /* ReverseMapped */ && isObjectTypeWithInferableIndex(type.source)); + } + function createSymbolWithType(source, type) { + const symbol = createSymbol(source.flags, source.escapedName, getCheckFlags(source) & 8 /* Readonly */); + symbol.declarations = source.declarations; + symbol.parent = source.parent; + symbol.links.type = type; + symbol.links.target = source; + if (source.valueDeclaration) { + symbol.valueDeclaration = source.valueDeclaration; + } + const nameType = getSymbolLinks(source).nameType; + if (nameType) { + symbol.links.nameType = nameType; + } + return symbol; + } + function transformTypeOfMembers(type, f) { + const members = createSymbolTable(); + for (const property of getPropertiesOfObjectType(type)) { + const original = getTypeOfSymbol(property); + const updated = f(original); + members.set(property.escapedName, updated === original ? property : createSymbolWithType(property, updated)); + } + return members; + } + function getRegularTypeOfObjectLiteral(type) { + if (!(isObjectLiteralType(type) && getObjectFlags(type) & 8192 /* FreshLiteral */)) { + return type; + } + const regularType = type.regularType; + if (regularType) { + return regularType; + } + const resolved = type; + const members = transformTypeOfMembers(type, getRegularTypeOfObjectLiteral); + const regularNew = createAnonymousType(resolved.symbol, members, resolved.callSignatures, resolved.constructSignatures, resolved.indexInfos); + regularNew.flags = resolved.flags; + regularNew.objectFlags |= resolved.objectFlags & ~8192 /* FreshLiteral */; + type.regularType = regularNew; + return regularNew; + } + function createWideningContext(parent, propertyName, siblings) { + return { parent, propertyName, siblings, resolvedProperties: void 0 }; + } + function getSiblingsOfContext(context) { + if (!context.siblings) { + const siblings = []; + for (const type of getSiblingsOfContext(context.parent)) { + if (isObjectLiteralType(type)) { + const prop = getPropertyOfObjectType(type, context.propertyName); + if (prop) { + forEachType(getTypeOfSymbol(prop), (t) => { + siblings.push(t); + }); + } + } + } + context.siblings = siblings; + } + return context.siblings; + } + function getPropertiesOfContext(context) { + if (!context.resolvedProperties) { + const names = /* @__PURE__ */ new Map(); + for (const t of getSiblingsOfContext(context)) { + if (isObjectLiteralType(t) && !(getObjectFlags(t) & 2097152 /* ContainsSpread */)) { + for (const prop of getPropertiesOfType(t)) { + names.set(prop.escapedName, prop); + } + } + } + context.resolvedProperties = arrayFrom(names.values()); + } + return context.resolvedProperties; + } + function getWidenedProperty(prop, context) { + if (!(prop.flags & 4 /* Property */)) { + return prop; + } + const original = getTypeOfSymbol(prop); + const propContext = context && createWideningContext( + context, + prop.escapedName, + /*siblings*/ + void 0 + ); + const widened = getWidenedTypeWithContext(original, propContext); + return widened === original ? prop : createSymbolWithType(prop, widened); + } + function getUndefinedProperty(prop) { + const cached = undefinedProperties.get(prop.escapedName); + if (cached) { + return cached; + } + const result = createSymbolWithType(prop, undefinedOrMissingType); + result.flags |= 16777216 /* Optional */; + undefinedProperties.set(prop.escapedName, result); + return result; + } + function getWidenedTypeOfObjectLiteral(type, context) { + const members = createSymbolTable(); + for (const prop of getPropertiesOfObjectType(type)) { + members.set(prop.escapedName, getWidenedProperty(prop, context)); + } + if (context) { + for (const prop of getPropertiesOfContext(context)) { + if (!members.has(prop.escapedName)) { + members.set(prop.escapedName, getUndefinedProperty(prop)); + } + } + } + const result = createAnonymousType(type.symbol, members, emptyArray, emptyArray, sameMap(getIndexInfosOfType(type), (info) => createIndexInfo(info.keyType, getWidenedType(info.type), info.isReadonly))); + result.objectFlags |= getObjectFlags(type) & (4096 /* JSLiteral */ | 262144 /* NonInferrableType */); + return result; + } + function getWidenedType(type) { + return getWidenedTypeWithContext( + type, + /*context*/ + void 0 + ); + } + function getWidenedTypeWithContext(type, context) { + if (getObjectFlags(type) & 196608 /* RequiresWidening */) { + if (context === void 0 && type.widened) { + return type.widened; + } + let result; + if (type.flags & (1 /* Any */ | 98304 /* Nullable */)) { + result = anyType; + } else if (isObjectLiteralType(type)) { + result = getWidenedTypeOfObjectLiteral(type, context); + } else if (type.flags & 1048576 /* Union */) { + const unionContext = context || createWideningContext( + /*parent*/ + void 0, + /*propertyName*/ + void 0, + type.types + ); + const widenedTypes = sameMap(type.types, (t) => t.flags & 98304 /* Nullable */ ? t : getWidenedTypeWithContext(t, unionContext)); + result = getUnionType(widenedTypes, some(widenedTypes, isEmptyObjectType) ? 2 /* Subtype */ : 1 /* Literal */); + } else if (type.flags & 2097152 /* Intersection */) { + result = getIntersectionType(sameMap(type.types, getWidenedType)); + } else if (isArrayOrTupleType(type)) { + result = createTypeReference(type.target, sameMap(getTypeArguments(type), getWidenedType)); + } + if (result && context === void 0) { + type.widened = result; + } + return result || type; + } + return type; + } + function reportWideningErrorsInType(type) { + var _a; + let errorReported = false; + if (getObjectFlags(type) & 65536 /* ContainsWideningType */) { + if (type.flags & 1048576 /* Union */) { + if (some(type.types, isEmptyObjectType)) { + errorReported = true; + } else { + for (const t of type.types) { + errorReported || (errorReported = reportWideningErrorsInType(t)); + } + } + } else if (isArrayOrTupleType(type)) { + for (const t of getTypeArguments(type)) { + errorReported || (errorReported = reportWideningErrorsInType(t)); + } + } else if (isObjectLiteralType(type)) { + for (const p of getPropertiesOfObjectType(type)) { + const t = getTypeOfSymbol(p); + if (getObjectFlags(t) & 65536 /* ContainsWideningType */) { + errorReported = reportWideningErrorsInType(t); + if (!errorReported) { + const valueDeclaration = (_a = p.declarations) == null ? void 0 : _a.find((d) => { + var _a2; + return ((_a2 = d.symbol.valueDeclaration) == null ? void 0 : _a2.parent) === type.symbol.valueDeclaration; + }); + if (valueDeclaration) { + error(valueDeclaration, Diagnostics.Object_literal_s_property_0_implicitly_has_an_1_type, symbolToString(p), typeToString(getWidenedType(t))); + errorReported = true; + } + } + } + } + } + } + return errorReported; + } + function reportImplicitAny(declaration, type, wideningKind) { + const typeAsString = typeToString(getWidenedType(type)); + if (isInJSFile(declaration) && !isCheckJsEnabledForFile(getSourceFileOfNode(declaration), compilerOptions)) { + return; + } + let diagnostic; + switch (declaration.kind) { + case 226 /* BinaryExpression */: + case 172 /* PropertyDeclaration */: + case 171 /* PropertySignature */: + diagnostic = noImplicitAny ? Diagnostics.Member_0_implicitly_has_an_1_type : Diagnostics.Member_0_implicitly_has_an_1_type_but_a_better_type_may_be_inferred_from_usage; + break; + case 169 /* Parameter */: + const param = declaration; + if (isIdentifier(param.name)) { + const originalKeywordKind = identifierToKeywordKind(param.name); + if ((isCallSignatureDeclaration(param.parent) || isMethodSignature(param.parent) || isFunctionTypeNode(param.parent)) && param.parent.parameters.includes(param) && (resolveName( + param, + param.name.escapedText, + 788968 /* Type */, + /*nameNotFoundMessage*/ + void 0, + /*isUse*/ + true + ) || originalKeywordKind && isTypeNodeKind(originalKeywordKind))) { + const newName = "arg" + param.parent.parameters.indexOf(param); + const typeName = declarationNameToString(param.name) + (param.dotDotDotToken ? "[]" : ""); + errorOrSuggestion(noImplicitAny, declaration, Diagnostics.Parameter_has_a_name_but_no_type_Did_you_mean_0_Colon_1, newName, typeName); + return; + } + } + diagnostic = declaration.dotDotDotToken ? noImplicitAny ? Diagnostics.Rest_parameter_0_implicitly_has_an_any_type : Diagnostics.Rest_parameter_0_implicitly_has_an_any_type_but_a_better_type_may_be_inferred_from_usage : noImplicitAny ? Diagnostics.Parameter_0_implicitly_has_an_1_type : Diagnostics.Parameter_0_implicitly_has_an_1_type_but_a_better_type_may_be_inferred_from_usage; + break; + case 208 /* BindingElement */: + diagnostic = Diagnostics.Binding_element_0_implicitly_has_an_1_type; + if (!noImplicitAny) { + return; + } + break; + case 317 /* JSDocFunctionType */: + error(declaration, Diagnostics.Function_type_which_lacks_return_type_annotation_implicitly_has_an_0_return_type, typeAsString); + return; + case 323 /* JSDocSignature */: + if (noImplicitAny && isJSDocOverloadTag(declaration.parent)) { + error(declaration.parent.tagName, Diagnostics.This_overload_implicitly_returns_the_type_0_because_it_lacks_a_return_type_annotation, typeAsString); + } + return; + case 262 /* FunctionDeclaration */: + case 174 /* MethodDeclaration */: + case 173 /* MethodSignature */: + case 177 /* GetAccessor */: + case 178 /* SetAccessor */: + case 218 /* FunctionExpression */: + case 219 /* ArrowFunction */: + if (noImplicitAny && !declaration.name) { + if (wideningKind === 3 /* GeneratorYield */) { + error(declaration, Diagnostics.Generator_implicitly_has_yield_type_0_Consider_supplying_a_return_type_annotation, typeAsString); + } else { + error(declaration, Diagnostics.Function_expression_which_lacks_return_type_annotation_implicitly_has_an_0_return_type, typeAsString); + } + return; + } + diagnostic = !noImplicitAny ? Diagnostics._0_implicitly_has_an_1_return_type_but_a_better_type_may_be_inferred_from_usage : wideningKind === 3 /* GeneratorYield */ ? Diagnostics._0_which_lacks_return_type_annotation_implicitly_has_an_1_yield_type : Diagnostics._0_which_lacks_return_type_annotation_implicitly_has_an_1_return_type; + break; + case 200 /* MappedType */: + if (noImplicitAny) { + error(declaration, Diagnostics.Mapped_object_type_implicitly_has_an_any_template_type); + } + return; + default: + diagnostic = noImplicitAny ? Diagnostics.Variable_0_implicitly_has_an_1_type : Diagnostics.Variable_0_implicitly_has_an_1_type_but_a_better_type_may_be_inferred_from_usage; + } + errorOrSuggestion(noImplicitAny, declaration, diagnostic, declarationNameToString(getNameOfDeclaration(declaration)), typeAsString); + } + function shouldReportErrorsFromWideningWithContextualSignature(declaration, wideningKind) { + const signature = getContextualSignatureForFunctionLikeDeclaration(declaration); + if (!signature) { + return true; + } + let returnType = getReturnTypeOfSignature(signature); + const flags = getFunctionFlags(declaration); + switch (wideningKind) { + case 1 /* FunctionReturn */: + if (flags & 1 /* Generator */) { + returnType = getIterationTypeOfGeneratorFunctionReturnType(1 /* Return */, returnType, !!(flags & 2 /* Async */)) ?? returnType; + } else if (flags & 2 /* Async */) { + returnType = getAwaitedTypeNoAlias(returnType) ?? returnType; + } + return isGenericType(returnType); + case 3 /* GeneratorYield */: + const yieldType = getIterationTypeOfGeneratorFunctionReturnType(0 /* Yield */, returnType, !!(flags & 2 /* Async */)); + return !!yieldType && isGenericType(yieldType); + case 2 /* GeneratorNext */: + const nextType = getIterationTypeOfGeneratorFunctionReturnType(2 /* Next */, returnType, !!(flags & 2 /* Async */)); + return !!nextType && isGenericType(nextType); + } + return false; + } + function reportErrorsFromWidening(declaration, type, wideningKind) { + addLazyDiagnostic(() => { + if (noImplicitAny && getObjectFlags(type) & 65536 /* ContainsWideningType */) { + if (!wideningKind || isFunctionLikeDeclaration(declaration) && shouldReportErrorsFromWideningWithContextualSignature(declaration, wideningKind)) { + if (!reportWideningErrorsInType(type)) { + reportImplicitAny(declaration, type, wideningKind); + } + } + } + }); + } + function applyToParameterTypes(source, target, callback) { + const sourceCount = getParameterCount(source); + const targetCount = getParameterCount(target); + const sourceRestType = getEffectiveRestType(source); + const targetRestType = getEffectiveRestType(target); + const targetNonRestCount = targetRestType ? targetCount - 1 : targetCount; + const paramCount = sourceRestType ? targetNonRestCount : Math.min(sourceCount, targetNonRestCount); + const sourceThisType = getThisTypeOfSignature(source); + if (sourceThisType) { + const targetThisType = getThisTypeOfSignature(target); + if (targetThisType) { + callback(sourceThisType, targetThisType); + } + } + for (let i = 0; i < paramCount; i++) { + callback(getTypeAtPosition(source, i), getTypeAtPosition(target, i)); + } + if (targetRestType) { + callback(getRestTypeAtPosition( + source, + paramCount, + /*readonly*/ + isConstTypeVariable(targetRestType) && !someType(targetRestType, isMutableArrayLikeType) + ), targetRestType); + } + } + function applyToReturnTypes(source, target, callback) { + const targetTypePredicate = getTypePredicateOfSignature(target); + if (targetTypePredicate) { + const sourceTypePredicate = getTypePredicateOfSignature(source); + if (sourceTypePredicate && typePredicateKindsMatch(sourceTypePredicate, targetTypePredicate) && sourceTypePredicate.type && targetTypePredicate.type) { + callback(sourceTypePredicate.type, targetTypePredicate.type); + return; + } + } + const targetReturnType = getReturnTypeOfSignature(target); + if (couldContainTypeVariables(targetReturnType)) { + callback(getReturnTypeOfSignature(source), targetReturnType); + } + } + function createInferenceContext(typeParameters, signature, flags, compareTypes) { + return createInferenceContextWorker(typeParameters.map(createInferenceInfo), signature, flags, compareTypes || compareTypesAssignable); + } + function cloneInferenceContext(context, extraFlags = 0) { + return context && createInferenceContextWorker(map(context.inferences, cloneInferenceInfo), context.signature, context.flags | extraFlags, context.compareTypes); + } + function createInferenceContextWorker(inferences, signature, flags, compareTypes) { + const context = { + inferences, + signature, + flags, + compareTypes, + mapper: reportUnmeasurableMapper, + // initialize to a noop mapper so the context object is available, but the underlying object shape is right upon construction + nonFixingMapper: reportUnmeasurableMapper + }; + context.mapper = makeFixingMapperForContext(context); + context.nonFixingMapper = makeNonFixingMapperForContext(context); + return context; + } + function makeFixingMapperForContext(context) { + return makeDeferredTypeMapper( + map(context.inferences, (i) => i.typeParameter), + map(context.inferences, (inference, i) => () => { + if (!inference.isFixed) { + inferFromIntraExpressionSites(context); + clearCachedInferences(context.inferences); + inference.isFixed = true; + } + return getInferredType(context, i); + }) + ); + } + function makeNonFixingMapperForContext(context) { + return makeDeferredTypeMapper( + map(context.inferences, (i) => i.typeParameter), + map(context.inferences, (_, i) => () => { + return getInferredType(context, i); + }) + ); + } + function clearCachedInferences(inferences) { + for (const inference of inferences) { + if (!inference.isFixed) { + inference.inferredType = void 0; + } + } + } + function addIntraExpressionInferenceSite(context, node, type) { + (context.intraExpressionInferenceSites ?? (context.intraExpressionInferenceSites = [])).push({ node, type }); + } + function inferFromIntraExpressionSites(context) { + if (context.intraExpressionInferenceSites) { + for (const { node, type } of context.intraExpressionInferenceSites) { + const contextualType = node.kind === 174 /* MethodDeclaration */ ? getContextualTypeForObjectLiteralMethod(node, 2 /* NoConstraints */) : getContextualType(node, 2 /* NoConstraints */); + if (contextualType) { + inferTypes(context.inferences, type, contextualType); + } + } + context.intraExpressionInferenceSites = void 0; + } + } + function createInferenceInfo(typeParameter) { + return { + typeParameter, + candidates: void 0, + contraCandidates: void 0, + inferredType: void 0, + priority: void 0, + topLevel: true, + isFixed: false, + impliedArity: void 0 + }; + } + function cloneInferenceInfo(inference) { + return { + typeParameter: inference.typeParameter, + candidates: inference.candidates && inference.candidates.slice(), + contraCandidates: inference.contraCandidates && inference.contraCandidates.slice(), + inferredType: inference.inferredType, + priority: inference.priority, + topLevel: inference.topLevel, + isFixed: inference.isFixed, + impliedArity: inference.impliedArity + }; + } + function cloneInferredPartOfContext(context) { + const inferences = filter(context.inferences, hasInferenceCandidates); + return inferences.length ? createInferenceContextWorker(map(inferences, cloneInferenceInfo), context.signature, context.flags, context.compareTypes) : void 0; + } + function getMapperFromContext(context) { + return context && context.mapper; + } + function couldContainTypeVariables(type) { + const objectFlags = getObjectFlags(type); + if (objectFlags & 524288 /* CouldContainTypeVariablesComputed */) { + return !!(objectFlags & 1048576 /* CouldContainTypeVariables */); + } + const result = !!(type.flags & 465829888 /* Instantiable */ || type.flags & 524288 /* Object */ && !isNonGenericTopLevelType(type) && (objectFlags & 4 /* Reference */ && (type.node || some(getTypeArguments(type), couldContainTypeVariables)) || objectFlags & 134217728 /* SingleSignatureType */ && !!length(type.outerTypeParameters) || objectFlags & 16 /* Anonymous */ && type.symbol && type.symbol.flags & (16 /* Function */ | 8192 /* Method */ | 32 /* Class */ | 2048 /* TypeLiteral */ | 4096 /* ObjectLiteral */) && type.symbol.declarations || objectFlags & (32 /* Mapped */ | 1024 /* ReverseMapped */ | 4194304 /* ObjectRestType */ | 8388608 /* InstantiationExpressionType */)) || type.flags & 3145728 /* UnionOrIntersection */ && !(type.flags & 1024 /* EnumLiteral */) && !isNonGenericTopLevelType(type) && some(type.types, couldContainTypeVariables)); + if (type.flags & 3899393 /* ObjectFlagsType */) { + type.objectFlags |= 524288 /* CouldContainTypeVariablesComputed */ | (result ? 1048576 /* CouldContainTypeVariables */ : 0); + } + return result; + } + function isNonGenericTopLevelType(type) { + if (type.aliasSymbol && !type.aliasTypeArguments) { + const declaration = getDeclarationOfKind(type.aliasSymbol, 265 /* TypeAliasDeclaration */); + return !!(declaration && findAncestor(declaration.parent, (n) => n.kind === 307 /* SourceFile */ ? true : n.kind === 267 /* ModuleDeclaration */ ? false : "quit")); + } + return false; + } + function isTypeParameterAtTopLevel(type, tp, depth = 0) { + return !!(type === tp || type.flags & 3145728 /* UnionOrIntersection */ && some(type.types, (t) => isTypeParameterAtTopLevel(t, tp, depth)) || depth < 3 && type.flags & 16777216 /* Conditional */ && (isTypeParameterAtTopLevel(getTrueTypeFromConditionalType(type), tp, depth + 1) || isTypeParameterAtTopLevel(getFalseTypeFromConditionalType(type), tp, depth + 1))); + } + function isTypeParameterAtTopLevelInReturnType(signature, typeParameter) { + const typePredicate = getTypePredicateOfSignature(signature); + return typePredicate ? !!typePredicate.type && isTypeParameterAtTopLevel(typePredicate.type, typeParameter) : isTypeParameterAtTopLevel(getReturnTypeOfSignature(signature), typeParameter); + } + function createEmptyObjectTypeFromStringLiteral(type) { + const members = createSymbolTable(); + forEachType(type, (t) => { + if (!(t.flags & 128 /* StringLiteral */)) { + return; + } + const name = escapeLeadingUnderscores(t.value); + const literalProp = createSymbol(4 /* Property */, name); + literalProp.links.type = anyType; + if (t.symbol) { + literalProp.declarations = t.symbol.declarations; + literalProp.valueDeclaration = t.symbol.valueDeclaration; + } + members.set(name, literalProp); + }); + const indexInfos = type.flags & 4 /* String */ ? [createIndexInfo( + stringType, + emptyObjectType, + /*isReadonly*/ + false + )] : emptyArray; + return createAnonymousType( + /*symbol*/ + void 0, + members, + emptyArray, + emptyArray, + indexInfos + ); + } + function inferTypeForHomomorphicMappedType(source, target, constraint) { + const cacheKey = source.id + "," + target.id + "," + constraint.id; + if (reverseHomomorphicMappedCache.has(cacheKey)) { + return reverseHomomorphicMappedCache.get(cacheKey); + } + const type = createReverseMappedType(source, target, constraint); + reverseHomomorphicMappedCache.set(cacheKey, type); + return type; + } + function isPartiallyInferableType(type) { + return !(getObjectFlags(type) & 262144 /* NonInferrableType */) || isObjectLiteralType(type) && some(getPropertiesOfType(type), (prop) => isPartiallyInferableType(getTypeOfSymbol(prop))) || isTupleType(type) && some(getElementTypes(type), isPartiallyInferableType); + } + function createReverseMappedType(source, target, constraint) { + if (!(getIndexInfoOfType(source, stringType) || getPropertiesOfType(source).length !== 0 && isPartiallyInferableType(source))) { + return void 0; + } + if (isArrayType(source)) { + const elementType = inferReverseMappedType(getTypeArguments(source)[0], target, constraint); + if (!elementType) { + return void 0; + } + return createArrayType(elementType, isReadonlyArrayType(source)); + } + if (isTupleType(source)) { + const elementTypes = map(getElementTypes(source), (t) => inferReverseMappedType(t, target, constraint)); + if (!every(elementTypes, (t) => !!t)) { + return void 0; + } + const elementFlags = getMappedTypeModifiers(target) & 4 /* IncludeOptional */ ? sameMap(source.target.elementFlags, (f) => f & 2 /* Optional */ ? 1 /* Required */ : f) : source.target.elementFlags; + return createTupleType(elementTypes, elementFlags, source.target.readonly, source.target.labeledElementDeclarations); + } + const reversed = createObjectType( + 1024 /* ReverseMapped */ | 16 /* Anonymous */, + /*symbol*/ + void 0 + ); + reversed.source = source; + reversed.mappedType = target; + reversed.constraintType = constraint; + return reversed; + } + function getTypeOfReverseMappedSymbol(symbol) { + const links = getSymbolLinks(symbol); + if (!links.type) { + links.type = inferReverseMappedType(symbol.links.propertyType, symbol.links.mappedType, symbol.links.constraintType) || unknownType; + } + return links.type; + } + function inferReverseMappedTypeWorker(sourceType, target, constraint) { + const typeParameter = getIndexedAccessType(constraint.type, getTypeParameterFromMappedType(target)); + const templateType = getTemplateTypeFromMappedType(target); + const inference = createInferenceInfo(typeParameter); + inferTypes([inference], sourceType, templateType); + return getTypeFromInference(inference) || unknownType; + } + function inferReverseMappedType(source, target, constraint) { + const cacheKey = source.id + "," + target.id + "," + constraint.id; + if (reverseMappedCache.has(cacheKey)) { + return reverseMappedCache.get(cacheKey) || unknownType; + } + reverseMappedSourceStack.push(source); + reverseMappedTargetStack.push(target); + const saveExpandingFlags = reverseExpandingFlags; + if (isDeeplyNestedType(source, reverseMappedSourceStack, reverseMappedSourceStack.length, 2)) reverseExpandingFlags |= 1 /* Source */; + if (isDeeplyNestedType(target, reverseMappedTargetStack, reverseMappedTargetStack.length, 2)) reverseExpandingFlags |= 2 /* Target */; + let type; + if (reverseExpandingFlags !== 3 /* Both */) { + type = inferReverseMappedTypeWorker(source, target, constraint); + } + reverseMappedSourceStack.pop(); + reverseMappedTargetStack.pop(); + reverseExpandingFlags = saveExpandingFlags; + reverseMappedCache.set(cacheKey, type); + return type; + } + function* getUnmatchedProperties(source, target, requireOptionalProperties, matchDiscriminantProperties) { + const properties = getPropertiesOfType(target); + for (const targetProp of properties) { + if (isStaticPrivateIdentifierProperty(targetProp)) { + continue; + } + if (requireOptionalProperties || !(targetProp.flags & 16777216 /* Optional */ || getCheckFlags(targetProp) & 48 /* Partial */)) { + const sourceProp = getPropertyOfType(source, targetProp.escapedName); + if (!sourceProp) { + yield targetProp; + } else if (matchDiscriminantProperties) { + const targetType = getTypeOfSymbol(targetProp); + if (targetType.flags & 109472 /* Unit */) { + const sourceType = getTypeOfSymbol(sourceProp); + if (!(sourceType.flags & 1 /* Any */ || getRegularTypeOfLiteralType(sourceType) === getRegularTypeOfLiteralType(targetType))) { + yield targetProp; + } + } + } + } + } + } + function getUnmatchedProperty(source, target, requireOptionalProperties, matchDiscriminantProperties) { + return firstOrUndefinedIterator(getUnmatchedProperties(source, target, requireOptionalProperties, matchDiscriminantProperties)); + } + function tupleTypesDefinitelyUnrelated(source, target) { + return !(target.target.combinedFlags & 8 /* Variadic */) && target.target.minLength > source.target.minLength || !(target.target.combinedFlags & 12 /* Variable */) && (!!(source.target.combinedFlags & 12 /* Variable */) || target.target.fixedLength < source.target.fixedLength); + } + function typesDefinitelyUnrelated(source, target) { + return isTupleType(source) && isTupleType(target) ? tupleTypesDefinitelyUnrelated(source, target) : !!getUnmatchedProperty( + source, + target, + /*requireOptionalProperties*/ + false, + /*matchDiscriminantProperties*/ + true + ) && !!getUnmatchedProperty( + target, + source, + /*requireOptionalProperties*/ + false, + /*matchDiscriminantProperties*/ + false + ); + } + function getTypeFromInference(inference) { + return inference.candidates ? getUnionType(inference.candidates, 2 /* Subtype */) : inference.contraCandidates ? getIntersectionType(inference.contraCandidates) : void 0; + } + function hasSkipDirectInferenceFlag(node) { + return !!getNodeLinks(node).skipDirectInference; + } + function isFromInferenceBlockedSource(type) { + return !!(type.symbol && some(type.symbol.declarations, hasSkipDirectInferenceFlag)); + } + function templateLiteralTypesDefinitelyUnrelated(source, target) { + const sourceStart = source.texts[0]; + const targetStart = target.texts[0]; + const sourceEnd = source.texts[source.texts.length - 1]; + const targetEnd = target.texts[target.texts.length - 1]; + const startLen = Math.min(sourceStart.length, targetStart.length); + const endLen = Math.min(sourceEnd.length, targetEnd.length); + return sourceStart.slice(0, startLen) !== targetStart.slice(0, startLen) || sourceEnd.slice(sourceEnd.length - endLen) !== targetEnd.slice(targetEnd.length - endLen); + } + function isValidNumberString(s, roundTripOnly) { + if (s === "") return false; + const n = +s; + return isFinite(n) && (!roundTripOnly || "" + n === s); + } + function parseBigIntLiteralType(text) { + return getBigIntLiteralType(parseValidBigInt(text)); + } + function isMemberOfStringMapping(source, target) { + if (target.flags & 1 /* Any */) { + return true; + } + if (target.flags & (4 /* String */ | 134217728 /* TemplateLiteral */)) { + return isTypeAssignableTo(source, target); + } + if (target.flags & 268435456 /* StringMapping */) { + const mappingStack = []; + while (target.flags & 268435456 /* StringMapping */) { + mappingStack.unshift(target.symbol); + target = target.type; + } + const mappedSource = reduceLeft(mappingStack, (memo, value) => getStringMappingType(value, memo), source); + return mappedSource === source && isMemberOfStringMapping(source, target); + } + return false; + } + function isValidTypeForTemplateLiteralPlaceholder(source, target) { + if (target.flags & 2097152 /* Intersection */) { + return every(target.types, (t) => t === emptyTypeLiteralType || isValidTypeForTemplateLiteralPlaceholder(source, t)); + } + if (target.flags & 4 /* String */ || isTypeAssignableTo(source, target)) { + return true; + } + if (source.flags & 128 /* StringLiteral */) { + const value = source.value; + return !!(target.flags & 8 /* Number */ && isValidNumberString( + value, + /*roundTripOnly*/ + false + ) || target.flags & 64 /* BigInt */ && isValidBigIntString( + value, + /*roundTripOnly*/ + false + ) || target.flags & (512 /* BooleanLiteral */ | 98304 /* Nullable */) && value === target.intrinsicName || target.flags & 268435456 /* StringMapping */ && isMemberOfStringMapping(getStringLiteralType(value), target) || target.flags & 134217728 /* TemplateLiteral */ && isTypeMatchedByTemplateLiteralType(source, target)); + } + if (source.flags & 134217728 /* TemplateLiteral */) { + const texts = source.texts; + return texts.length === 2 && texts[0] === "" && texts[1] === "" && isTypeAssignableTo(source.types[0], target); + } + return false; + } + function inferTypesFromTemplateLiteralType(source, target) { + return source.flags & 128 /* StringLiteral */ ? inferFromLiteralPartsToTemplateLiteral([source.value], emptyArray, target) : source.flags & 134217728 /* TemplateLiteral */ ? arrayIsEqualTo(source.texts, target.texts) ? map(source.types, (s, i) => { + return isTypeAssignableTo(getBaseConstraintOrType(s), getBaseConstraintOrType(target.types[i])) ? s : getStringLikeTypeForType(s); + }) : inferFromLiteralPartsToTemplateLiteral(source.texts, source.types, target) : void 0; + } + function isTypeMatchedByTemplateLiteralType(source, target) { + const inferences = inferTypesFromTemplateLiteralType(source, target); + return !!inferences && every(inferences, (r, i) => isValidTypeForTemplateLiteralPlaceholder(r, target.types[i])); + } + function getStringLikeTypeForType(type) { + return type.flags & (1 /* Any */ | 402653316 /* StringLike */) ? type : getTemplateLiteralType(["", ""], [type]); + } + function inferFromLiteralPartsToTemplateLiteral(sourceTexts, sourceTypes, target) { + const lastSourceIndex = sourceTexts.length - 1; + const sourceStartText = sourceTexts[0]; + const sourceEndText = sourceTexts[lastSourceIndex]; + const targetTexts = target.texts; + const lastTargetIndex = targetTexts.length - 1; + const targetStartText = targetTexts[0]; + const targetEndText = targetTexts[lastTargetIndex]; + if (lastSourceIndex === 0 && sourceStartText.length < targetStartText.length + targetEndText.length || !sourceStartText.startsWith(targetStartText) || !sourceEndText.endsWith(targetEndText)) return void 0; + const remainingEndText = sourceEndText.slice(0, sourceEndText.length - targetEndText.length); + const matches = []; + let seg = 0; + let pos = targetStartText.length; + for (let i = 1; i < lastTargetIndex; i++) { + const delim = targetTexts[i]; + if (delim.length > 0) { + let s = seg; + let p = pos; + while (true) { + p = getSourceText(s).indexOf(delim, p); + if (p >= 0) break; + s++; + if (s === sourceTexts.length) return void 0; + p = 0; + } + addMatch(s, p); + pos += delim.length; + } else if (pos < getSourceText(seg).length) { + addMatch(seg, pos + 1); + } else if (seg < lastSourceIndex) { + addMatch(seg + 1, 0); + } else { + return void 0; + } + } + addMatch(lastSourceIndex, getSourceText(lastSourceIndex).length); + return matches; + function getSourceText(index) { + return index < lastSourceIndex ? sourceTexts[index] : remainingEndText; + } + function addMatch(s, p) { + const matchType = s === seg ? getStringLiteralType(getSourceText(s).slice(pos, p)) : getTemplateLiteralType( + [sourceTexts[seg].slice(pos), ...sourceTexts.slice(seg + 1, s), getSourceText(s).slice(0, p)], + sourceTypes.slice(seg, s) + ); + matches.push(matchType); + seg = s; + pos = p; + } + } + function isTupleOfSelf(typeParameter, type) { + return isTupleType(type) && getTupleElementType(type, 0) === getIndexedAccessType(typeParameter, getNumberLiteralType(0)) && !getTypeOfPropertyOfType(type, "1"); + } + function inferTypes(inferences, originalSource, originalTarget, priority = 0 /* None */, contravariant = false) { + let bivariant = false; + let propagationType; + let inferencePriority = 2048 /* MaxValue */; + let visited; + let sourceStack; + let targetStack; + let expandingFlags = 0 /* None */; + inferFromTypes(originalSource, originalTarget); + function inferFromTypes(source, target) { + if (!couldContainTypeVariables(target) || isNoInferType(target)) { + return; + } + if (source === wildcardType || source === blockedStringType) { + const savePropagationType = propagationType; + propagationType = source; + inferFromTypes(target, target); + propagationType = savePropagationType; + return; + } + if (source.aliasSymbol && source.aliasSymbol === target.aliasSymbol) { + if (source.aliasTypeArguments) { + const params = getSymbolLinks(source.aliasSymbol).typeParameters; + const minParams = getMinTypeArgumentCount(params); + const sourceTypes = fillMissingTypeArguments(source.aliasTypeArguments, params, minParams, isInJSFile(source.aliasSymbol.valueDeclaration)); + const targetTypes = fillMissingTypeArguments(target.aliasTypeArguments, params, minParams, isInJSFile(source.aliasSymbol.valueDeclaration)); + inferFromTypeArguments(sourceTypes, targetTypes, getAliasVariances(source.aliasSymbol)); + } + return; + } + if (source === target && source.flags & 3145728 /* UnionOrIntersection */) { + for (const t of source.types) { + inferFromTypes(t, t); + } + return; + } + if (target.flags & 1048576 /* Union */) { + const [tempSources, tempTargets] = inferFromMatchingTypes(source.flags & 1048576 /* Union */ ? source.types : [source], target.types, isTypeOrBaseIdenticalTo); + const [sources, targets] = inferFromMatchingTypes(tempSources, tempTargets, isTypeCloselyMatchedBy); + if (targets.length === 0) { + return; + } + target = getUnionType(targets); + if (sources.length === 0) { + inferWithPriority(source, target, 1 /* NakedTypeVariable */); + return; + } + source = getUnionType(sources); + } else if (target.flags & 2097152 /* Intersection */ && !every(target.types, isNonGenericObjectType)) { + if (!(source.flags & 1048576 /* Union */)) { + const [sources, targets] = inferFromMatchingTypes(source.flags & 2097152 /* Intersection */ ? source.types : [source], target.types, isTypeIdenticalTo); + if (sources.length === 0 || targets.length === 0) { + return; + } + source = getIntersectionType(sources); + target = getIntersectionType(targets); + } + } + if (target.flags & (8388608 /* IndexedAccess */ | 33554432 /* Substitution */)) { + if (isNoInferType(target)) { + return; + } + target = getActualTypeVariable(target); + } + if (target.flags & 8650752 /* TypeVariable */) { + if (isFromInferenceBlockedSource(source)) { + return; + } + const inference = getInferenceInfoForType(target); + if (inference) { + if (getObjectFlags(source) & 262144 /* NonInferrableType */ || source === nonInferrableAnyType) { + return; + } + if (!inference.isFixed) { + const candidate = propagationType || source; + if (candidate === blockedStringType) { + return; + } + if (inference.priority === void 0 || priority < inference.priority) { + inference.candidates = void 0; + inference.contraCandidates = void 0; + inference.topLevel = true; + inference.priority = priority; + } + if (priority === inference.priority) { + if (isTupleOfSelf(inference.typeParameter, candidate)) { + return; + } + if (contravariant && !bivariant) { + if (!contains(inference.contraCandidates, candidate)) { + inference.contraCandidates = append(inference.contraCandidates, candidate); + clearCachedInferences(inferences); + } + } else if (!contains(inference.candidates, candidate)) { + inference.candidates = append(inference.candidates, candidate); + clearCachedInferences(inferences); + } + } + if (!(priority & 128 /* ReturnType */) && target.flags & 262144 /* TypeParameter */ && inference.topLevel && !isTypeParameterAtTopLevel(originalTarget, target)) { + inference.topLevel = false; + clearCachedInferences(inferences); + } + } + inferencePriority = Math.min(inferencePriority, priority); + return; + } + const simplified = getSimplifiedType( + target, + /*writing*/ + false + ); + if (simplified !== target) { + inferFromTypes(source, simplified); + } else if (target.flags & 8388608 /* IndexedAccess */) { + const indexType = getSimplifiedType( + target.indexType, + /*writing*/ + false + ); + if (indexType.flags & 465829888 /* Instantiable */) { + const simplified2 = distributeIndexOverObjectType( + getSimplifiedType( + target.objectType, + /*writing*/ + false + ), + indexType, + /*writing*/ + false + ); + if (simplified2 && simplified2 !== target) { + inferFromTypes(source, simplified2); + } + } + } + } + if (getObjectFlags(source) & 4 /* Reference */ && getObjectFlags(target) & 4 /* Reference */ && (source.target === target.target || isArrayType(source) && isArrayType(target)) && !(source.node && target.node)) { + inferFromTypeArguments(getTypeArguments(source), getTypeArguments(target), getVariances(source.target)); + } else if (source.flags & 4194304 /* Index */ && target.flags & 4194304 /* Index */) { + inferFromContravariantTypes(source.type, target.type); + } else if ((isLiteralType(source) || source.flags & 4 /* String */) && target.flags & 4194304 /* Index */) { + const empty = createEmptyObjectTypeFromStringLiteral(source); + inferFromContravariantTypesWithPriority(empty, target.type, 256 /* LiteralKeyof */); + } else if (source.flags & 8388608 /* IndexedAccess */ && target.flags & 8388608 /* IndexedAccess */) { + inferFromTypes(source.objectType, target.objectType); + inferFromTypes(source.indexType, target.indexType); + } else if (source.flags & 268435456 /* StringMapping */ && target.flags & 268435456 /* StringMapping */) { + if (source.symbol === target.symbol) { + inferFromTypes(source.type, target.type); + } + } else if (source.flags & 33554432 /* Substitution */) { + inferFromTypes(source.baseType, target); + inferWithPriority(getSubstitutionIntersection(source), target, 4 /* SubstituteSource */); + } else if (target.flags & 16777216 /* Conditional */) { + invokeOnce(source, target, inferToConditionalType); + } else if (target.flags & 3145728 /* UnionOrIntersection */) { + inferToMultipleTypes(source, target.types, target.flags); + } else if (source.flags & 1048576 /* Union */) { + const sourceTypes = source.types; + for (const sourceType of sourceTypes) { + inferFromTypes(sourceType, target); + } + } else if (target.flags & 134217728 /* TemplateLiteral */) { + inferToTemplateLiteralType(source, target); + } else { + source = getReducedType(source); + if (isGenericMappedType(source) && isGenericMappedType(target)) { + invokeOnce(source, target, inferFromGenericMappedTypes); + } + if (!(priority & 512 /* NoConstraints */ && source.flags & (2097152 /* Intersection */ | 465829888 /* Instantiable */))) { + const apparentSource = getApparentType(source); + if (apparentSource !== source && !(apparentSource.flags & (524288 /* Object */ | 2097152 /* Intersection */))) { + return inferFromTypes(apparentSource, target); + } + source = apparentSource; + } + if (source.flags & (524288 /* Object */ | 2097152 /* Intersection */)) { + invokeOnce(source, target, inferFromObjectTypes); + } + } + } + function inferWithPriority(source, target, newPriority) { + const savePriority = priority; + priority |= newPriority; + inferFromTypes(source, target); + priority = savePriority; + } + function inferFromContravariantTypesWithPriority(source, target, newPriority) { + const savePriority = priority; + priority |= newPriority; + inferFromContravariantTypes(source, target); + priority = savePriority; + } + function inferToMultipleTypesWithPriority(source, targets, targetFlags, newPriority) { + const savePriority = priority; + priority |= newPriority; + inferToMultipleTypes(source, targets, targetFlags); + priority = savePriority; + } + function invokeOnce(source, target, action) { + const key = source.id + "," + target.id; + const status = visited && visited.get(key); + if (status !== void 0) { + inferencePriority = Math.min(inferencePriority, status); + return; + } + (visited || (visited = /* @__PURE__ */ new Map())).set(key, -1 /* Circularity */); + const saveInferencePriority = inferencePriority; + inferencePriority = 2048 /* MaxValue */; + const saveExpandingFlags = expandingFlags; + (sourceStack ?? (sourceStack = [])).push(source); + (targetStack ?? (targetStack = [])).push(target); + if (isDeeplyNestedType(source, sourceStack, sourceStack.length, 2)) expandingFlags |= 1 /* Source */; + if (isDeeplyNestedType(target, targetStack, targetStack.length, 2)) expandingFlags |= 2 /* Target */; + if (expandingFlags !== 3 /* Both */) { + action(source, target); + } else { + inferencePriority = -1 /* Circularity */; + } + targetStack.pop(); + sourceStack.pop(); + expandingFlags = saveExpandingFlags; + visited.set(key, inferencePriority); + inferencePriority = Math.min(inferencePriority, saveInferencePriority); + } + function inferFromMatchingTypes(sources, targets, matches) { + let matchedSources; + let matchedTargets; + for (const t of targets) { + for (const s of sources) { + if (matches(s, t)) { + inferFromTypes(s, t); + matchedSources = appendIfUnique(matchedSources, s); + matchedTargets = appendIfUnique(matchedTargets, t); + } + } + } + return [ + matchedSources ? filter(sources, (t) => !contains(matchedSources, t)) : sources, + matchedTargets ? filter(targets, (t) => !contains(matchedTargets, t)) : targets + ]; + } + function inferFromTypeArguments(sourceTypes, targetTypes, variances) { + const count = sourceTypes.length < targetTypes.length ? sourceTypes.length : targetTypes.length; + for (let i = 0; i < count; i++) { + if (i < variances.length && (variances[i] & 7 /* VarianceMask */) === 2 /* Contravariant */) { + inferFromContravariantTypes(sourceTypes[i], targetTypes[i]); + } else { + inferFromTypes(sourceTypes[i], targetTypes[i]); + } + } + } + function inferFromContravariantTypes(source, target) { + contravariant = !contravariant; + inferFromTypes(source, target); + contravariant = !contravariant; + } + function inferFromContravariantTypesIfStrictFunctionTypes(source, target) { + if (strictFunctionTypes || priority & 1024 /* AlwaysStrict */) { + inferFromContravariantTypes(source, target); + } else { + inferFromTypes(source, target); + } + } + function getInferenceInfoForType(type) { + if (type.flags & 8650752 /* TypeVariable */) { + for (const inference of inferences) { + if (type === inference.typeParameter) { + return inference; + } + } + } + return void 0; + } + function getSingleTypeVariableFromIntersectionTypes(types) { + let typeVariable; + for (const type of types) { + const t = type.flags & 2097152 /* Intersection */ && find(type.types, (t2) => !!getInferenceInfoForType(t2)); + if (!t || typeVariable && t !== typeVariable) { + return void 0; + } + typeVariable = t; + } + return typeVariable; + } + function inferToMultipleTypes(source, targets, targetFlags) { + let typeVariableCount = 0; + if (targetFlags & 1048576 /* Union */) { + let nakedTypeVariable; + const sources = source.flags & 1048576 /* Union */ ? source.types : [source]; + const matched = new Array(sources.length); + let inferenceCircularity = false; + for (const t of targets) { + if (getInferenceInfoForType(t)) { + nakedTypeVariable = t; + typeVariableCount++; + } else { + for (let i = 0; i < sources.length; i++) { + const saveInferencePriority = inferencePriority; + inferencePriority = 2048 /* MaxValue */; + inferFromTypes(sources[i], t); + if (inferencePriority === priority) matched[i] = true; + inferenceCircularity = inferenceCircularity || inferencePriority === -1 /* Circularity */; + inferencePriority = Math.min(inferencePriority, saveInferencePriority); + } + } + } + if (typeVariableCount === 0) { + const intersectionTypeVariable = getSingleTypeVariableFromIntersectionTypes(targets); + if (intersectionTypeVariable) { + inferWithPriority(source, intersectionTypeVariable, 1 /* NakedTypeVariable */); + } + return; + } + if (typeVariableCount === 1 && !inferenceCircularity) { + const unmatched = flatMap(sources, (s, i) => matched[i] ? void 0 : s); + if (unmatched.length) { + inferFromTypes(getUnionType(unmatched), nakedTypeVariable); + return; + } + } + } else { + for (const t of targets) { + if (getInferenceInfoForType(t)) { + typeVariableCount++; + } else { + inferFromTypes(source, t); + } + } + } + if (targetFlags & 2097152 /* Intersection */ ? typeVariableCount === 1 : typeVariableCount > 0) { + for (const t of targets) { + if (getInferenceInfoForType(t)) { + inferWithPriority(source, t, 1 /* NakedTypeVariable */); + } + } + } + } + function inferToMappedType(source, target, constraintType) { + if (constraintType.flags & 1048576 /* Union */ || constraintType.flags & 2097152 /* Intersection */) { + let result = false; + for (const type of constraintType.types) { + result = inferToMappedType(source, target, type) || result; + } + return result; + } + if (constraintType.flags & 4194304 /* Index */) { + const inference = getInferenceInfoForType(constraintType.type); + if (inference && !inference.isFixed && !isFromInferenceBlockedSource(source)) { + const inferredType = inferTypeForHomomorphicMappedType(source, target, constraintType); + if (inferredType) { + inferWithPriority( + inferredType, + inference.typeParameter, + getObjectFlags(source) & 262144 /* NonInferrableType */ ? 16 /* PartialHomomorphicMappedType */ : 8 /* HomomorphicMappedType */ + ); + } + } + return true; + } + if (constraintType.flags & 262144 /* TypeParameter */) { + inferWithPriority(getIndexType( + source, + /*indexFlags*/ + !!source.pattern ? 2 /* NoIndexSignatures */ : 0 /* None */ + ), constraintType, 32 /* MappedTypeConstraint */); + const extendedConstraint = getConstraintOfType(constraintType); + if (extendedConstraint && inferToMappedType(source, target, extendedConstraint)) { + return true; + } + const propTypes = map(getPropertiesOfType(source), getTypeOfSymbol); + const indexTypes = map(getIndexInfosOfType(source), (info) => info !== enumNumberIndexInfo ? info.type : neverType); + inferFromTypes(getUnionType(concatenate(propTypes, indexTypes)), getTemplateTypeFromMappedType(target)); + return true; + } + return false; + } + function inferToConditionalType(source, target) { + if (source.flags & 16777216 /* Conditional */) { + inferFromTypes(source.checkType, target.checkType); + inferFromTypes(source.extendsType, target.extendsType); + inferFromTypes(getTrueTypeFromConditionalType(source), getTrueTypeFromConditionalType(target)); + inferFromTypes(getFalseTypeFromConditionalType(source), getFalseTypeFromConditionalType(target)); + } else { + const targetTypes = [getTrueTypeFromConditionalType(target), getFalseTypeFromConditionalType(target)]; + inferToMultipleTypesWithPriority(source, targetTypes, target.flags, contravariant ? 64 /* ContravariantConditional */ : 0); + } + } + function inferToTemplateLiteralType(source, target) { + const matches = inferTypesFromTemplateLiteralType(source, target); + const types = target.types; + if (matches || every(target.texts, (s) => s.length === 0)) { + for (let i = 0; i < types.length; i++) { + const source2 = matches ? matches[i] : neverType; + const target2 = types[i]; + if (source2.flags & 128 /* StringLiteral */ && target2.flags & 8650752 /* TypeVariable */) { + const inferenceContext = getInferenceInfoForType(target2); + const constraint = inferenceContext ? getBaseConstraintOfType(inferenceContext.typeParameter) : void 0; + if (constraint && !isTypeAny(constraint)) { + const constraintTypes = constraint.flags & 1048576 /* Union */ ? constraint.types : [constraint]; + let allTypeFlags = reduceLeft(constraintTypes, (flags, t) => flags | t.flags, 0); + if (!(allTypeFlags & 4 /* String */)) { + const str = source2.value; + if (allTypeFlags & 296 /* NumberLike */ && !isValidNumberString( + str, + /*roundTripOnly*/ + true + )) { + allTypeFlags &= ~296 /* NumberLike */; + } + if (allTypeFlags & 2112 /* BigIntLike */ && !isValidBigIntString( + str, + /*roundTripOnly*/ + true + )) { + allTypeFlags &= ~2112 /* BigIntLike */; + } + const matchingType = reduceLeft(constraintTypes, (left, right) => !(right.flags & allTypeFlags) ? left : left.flags & 4 /* String */ ? left : right.flags & 4 /* String */ ? source2 : left.flags & 134217728 /* TemplateLiteral */ ? left : right.flags & 134217728 /* TemplateLiteral */ && isTypeMatchedByTemplateLiteralType(source2, right) ? source2 : left.flags & 268435456 /* StringMapping */ ? left : right.flags & 268435456 /* StringMapping */ && str === applyStringMapping(right.symbol, str) ? source2 : left.flags & 128 /* StringLiteral */ ? left : right.flags & 128 /* StringLiteral */ && right.value === str ? right : left.flags & 8 /* Number */ ? left : right.flags & 8 /* Number */ ? getNumberLiteralType(+str) : left.flags & 32 /* Enum */ ? left : right.flags & 32 /* Enum */ ? getNumberLiteralType(+str) : left.flags & 256 /* NumberLiteral */ ? left : right.flags & 256 /* NumberLiteral */ && right.value === +str ? right : left.flags & 64 /* BigInt */ ? left : right.flags & 64 /* BigInt */ ? parseBigIntLiteralType(str) : left.flags & 2048 /* BigIntLiteral */ ? left : right.flags & 2048 /* BigIntLiteral */ && pseudoBigIntToString(right.value) === str ? right : left.flags & 16 /* Boolean */ ? left : right.flags & 16 /* Boolean */ ? str === "true" ? trueType : str === "false" ? falseType : booleanType : left.flags & 512 /* BooleanLiteral */ ? left : right.flags & 512 /* BooleanLiteral */ && right.intrinsicName === str ? right : left.flags & 32768 /* Undefined */ ? left : right.flags & 32768 /* Undefined */ && right.intrinsicName === str ? right : left.flags & 65536 /* Null */ ? left : right.flags & 65536 /* Null */ && right.intrinsicName === str ? right : left, neverType); + if (!(matchingType.flags & 131072 /* Never */)) { + inferFromTypes(matchingType, target2); + continue; + } + } + } + } + inferFromTypes(source2, target2); + } + } + } + function inferFromGenericMappedTypes(source, target) { + inferFromTypes(getConstraintTypeFromMappedType(source), getConstraintTypeFromMappedType(target)); + inferFromTypes(getTemplateTypeFromMappedType(source), getTemplateTypeFromMappedType(target)); + const sourceNameType = getNameTypeFromMappedType(source); + const targetNameType = getNameTypeFromMappedType(target); + if (sourceNameType && targetNameType) inferFromTypes(sourceNameType, targetNameType); + } + function inferFromObjectTypes(source, target) { + var _a, _b; + if (getObjectFlags(source) & 4 /* Reference */ && getObjectFlags(target) & 4 /* Reference */ && (source.target === target.target || isArrayType(source) && isArrayType(target))) { + inferFromTypeArguments(getTypeArguments(source), getTypeArguments(target), getVariances(source.target)); + return; + } + if (isGenericMappedType(source) && isGenericMappedType(target)) { + inferFromGenericMappedTypes(source, target); + } + if (getObjectFlags(target) & 32 /* Mapped */ && !target.declaration.nameType) { + const constraintType = getConstraintTypeFromMappedType(target); + if (inferToMappedType(source, target, constraintType)) { + return; + } + } + if (!typesDefinitelyUnrelated(source, target)) { + if (isArrayOrTupleType(source)) { + if (isTupleType(target)) { + const sourceArity = getTypeReferenceArity(source); + const targetArity = getTypeReferenceArity(target); + const elementTypes = getTypeArguments(target); + const elementFlags = target.target.elementFlags; + if (isTupleType(source) && isTupleTypeStructureMatching(source, target)) { + for (let i = 0; i < targetArity; i++) { + inferFromTypes(getTypeArguments(source)[i], elementTypes[i]); + } + return; + } + const startLength = isTupleType(source) ? Math.min(source.target.fixedLength, target.target.fixedLength) : 0; + const endLength = Math.min(isTupleType(source) ? getEndElementCount(source.target, 3 /* Fixed */) : 0, target.target.combinedFlags & 12 /* Variable */ ? getEndElementCount(target.target, 3 /* Fixed */) : 0); + for (let i = 0; i < startLength; i++) { + inferFromTypes(getTypeArguments(source)[i], elementTypes[i]); + } + if (!isTupleType(source) || sourceArity - startLength - endLength === 1 && source.target.elementFlags[startLength] & 4 /* Rest */) { + const restType = getTypeArguments(source)[startLength]; + for (let i = startLength; i < targetArity - endLength; i++) { + inferFromTypes(elementFlags[i] & 8 /* Variadic */ ? createArrayType(restType) : restType, elementTypes[i]); + } + } else { + const middleLength = targetArity - startLength - endLength; + if (middleLength === 2) { + if (elementFlags[startLength] & elementFlags[startLength + 1] & 8 /* Variadic */) { + const targetInfo = getInferenceInfoForType(elementTypes[startLength]); + if (targetInfo && targetInfo.impliedArity !== void 0) { + inferFromTypes(sliceTupleType(source, startLength, endLength + sourceArity - targetInfo.impliedArity), elementTypes[startLength]); + inferFromTypes(sliceTupleType(source, startLength + targetInfo.impliedArity, endLength), elementTypes[startLength + 1]); + } + } else if (elementFlags[startLength] & 8 /* Variadic */ && elementFlags[startLength + 1] & 4 /* Rest */) { + const param = (_a = getInferenceInfoForType(elementTypes[startLength])) == null ? void 0 : _a.typeParameter; + const constraint = param && getBaseConstraintOfType(param); + if (constraint && isTupleType(constraint) && !(constraint.target.combinedFlags & 12 /* Variable */)) { + const impliedArity = constraint.target.fixedLength; + inferFromTypes(sliceTupleType(source, startLength, sourceArity - (startLength + impliedArity)), elementTypes[startLength]); + inferFromTypes(getElementTypeOfSliceOfTupleType(source, startLength + impliedArity, endLength), elementTypes[startLength + 1]); + } + } else if (elementFlags[startLength] & 4 /* Rest */ && elementFlags[startLength + 1] & 8 /* Variadic */) { + const param = (_b = getInferenceInfoForType(elementTypes[startLength + 1])) == null ? void 0 : _b.typeParameter; + const constraint = param && getBaseConstraintOfType(param); + if (constraint && isTupleType(constraint) && !(constraint.target.combinedFlags & 12 /* Variable */)) { + const impliedArity = constraint.target.fixedLength; + const endIndex = sourceArity - getEndElementCount(target.target, 3 /* Fixed */); + const startIndex = endIndex - impliedArity; + const trailingSlice = createTupleType( + getTypeArguments(source).slice(startIndex, endIndex), + source.target.elementFlags.slice(startIndex, endIndex), + /*readonly*/ + false, + source.target.labeledElementDeclarations && source.target.labeledElementDeclarations.slice(startIndex, endIndex) + ); + inferFromTypes(getElementTypeOfSliceOfTupleType(source, startLength, endLength + impliedArity), elementTypes[startLength]); + inferFromTypes(trailingSlice, elementTypes[startLength + 1]); + } + } + } else if (middleLength === 1 && elementFlags[startLength] & 8 /* Variadic */) { + const endsInOptional = target.target.elementFlags[targetArity - 1] & 2 /* Optional */; + const sourceSlice = sliceTupleType(source, startLength, endLength); + inferWithPriority(sourceSlice, elementTypes[startLength], endsInOptional ? 2 /* SpeculativeTuple */ : 0); + } else if (middleLength === 1 && elementFlags[startLength] & 4 /* Rest */) { + const restType = getElementTypeOfSliceOfTupleType(source, startLength, endLength); + if (restType) { + inferFromTypes(restType, elementTypes[startLength]); + } + } + } + for (let i = 0; i < endLength; i++) { + inferFromTypes(getTypeArguments(source)[sourceArity - i - 1], elementTypes[targetArity - i - 1]); + } + return; + } + if (isArrayType(target)) { + inferFromIndexTypes(source, target); + return; + } + } + inferFromProperties(source, target); + inferFromSignatures(source, target, 0 /* Call */); + inferFromSignatures(source, target, 1 /* Construct */); + inferFromIndexTypes(source, target); + } + } + function inferFromProperties(source, target) { + const properties = getPropertiesOfObjectType(target); + for (const targetProp of properties) { + const sourceProp = getPropertyOfType(source, targetProp.escapedName); + if (sourceProp && !some(sourceProp.declarations, hasSkipDirectInferenceFlag)) { + inferFromTypes( + removeMissingType(getTypeOfSymbol(sourceProp), !!(sourceProp.flags & 16777216 /* Optional */)), + removeMissingType(getTypeOfSymbol(targetProp), !!(targetProp.flags & 16777216 /* Optional */)) + ); + } + } + } + function inferFromSignatures(source, target, kind) { + const sourceSignatures = getSignaturesOfType(source, kind); + const sourceLen = sourceSignatures.length; + if (sourceLen > 0) { + const targetSignatures = getSignaturesOfType(target, kind); + const targetLen = targetSignatures.length; + for (let i = 0; i < targetLen; i++) { + const sourceIndex = Math.max(sourceLen - targetLen + i, 0); + inferFromSignature(getBaseSignature(sourceSignatures[sourceIndex]), getErasedSignature(targetSignatures[i])); + } + } + } + function inferFromSignature(source, target) { + if (!(source.flags & 64 /* IsNonInferrable */)) { + const saveBivariant = bivariant; + const kind = target.declaration ? target.declaration.kind : 0 /* Unknown */; + bivariant = bivariant || kind === 174 /* MethodDeclaration */ || kind === 173 /* MethodSignature */ || kind === 176 /* Constructor */; + applyToParameterTypes(source, target, inferFromContravariantTypesIfStrictFunctionTypes); + bivariant = saveBivariant; + } + applyToReturnTypes(source, target, inferFromTypes); + } + function inferFromIndexTypes(source, target) { + const priority2 = getObjectFlags(source) & getObjectFlags(target) & 32 /* Mapped */ ? 8 /* HomomorphicMappedType */ : 0; + const indexInfos = getIndexInfosOfType(target); + if (isObjectTypeWithInferableIndex(source)) { + for (const targetInfo of indexInfos) { + const propTypes = []; + for (const prop of getPropertiesOfType(source)) { + if (isApplicableIndexType(getLiteralTypeFromProperty(prop, 8576 /* StringOrNumberLiteralOrUnique */), targetInfo.keyType)) { + const propType = getTypeOfSymbol(prop); + propTypes.push(prop.flags & 16777216 /* Optional */ ? removeMissingOrUndefinedType(propType) : propType); + } + } + for (const info of getIndexInfosOfType(source)) { + if (isApplicableIndexType(info.keyType, targetInfo.keyType)) { + propTypes.push(info.type); + } + } + if (propTypes.length) { + inferWithPriority(getUnionType(propTypes), targetInfo.type, priority2); + } + } + } + for (const targetInfo of indexInfos) { + const sourceInfo = getApplicableIndexInfo(source, targetInfo.keyType); + if (sourceInfo) { + inferWithPriority(sourceInfo.type, targetInfo.type, priority2); + } + } + } + } + function isTypeOrBaseIdenticalTo(s, t) { + return t === missingType ? s === t : isTypeIdenticalTo(s, t) || !!(t.flags & 4 /* String */ && s.flags & 128 /* StringLiteral */ || t.flags & 8 /* Number */ && s.flags & 256 /* NumberLiteral */); + } + function isTypeCloselyMatchedBy(s, t) { + return !!(s.flags & 524288 /* Object */ && t.flags & 524288 /* Object */ && s.symbol && s.symbol === t.symbol || s.aliasSymbol && s.aliasTypeArguments && s.aliasSymbol === t.aliasSymbol); + } + function hasPrimitiveConstraint(type) { + const constraint = getConstraintOfTypeParameter(type); + return !!constraint && maybeTypeOfKind(constraint.flags & 16777216 /* Conditional */ ? getDefaultConstraintOfConditionalType(constraint) : constraint, 402784252 /* Primitive */ | 4194304 /* Index */ | 134217728 /* TemplateLiteral */ | 268435456 /* StringMapping */); + } + function isObjectLiteralType(type) { + return !!(getObjectFlags(type) & 128 /* ObjectLiteral */); + } + function isObjectOrArrayLiteralType(type) { + return !!(getObjectFlags(type) & (128 /* ObjectLiteral */ | 16384 /* ArrayLiteral */)); + } + function unionObjectAndArrayLiteralCandidates(candidates) { + if (candidates.length > 1) { + const objectLiterals = filter(candidates, isObjectOrArrayLiteralType); + if (objectLiterals.length) { + const literalsType = getUnionType(objectLiterals, 2 /* Subtype */); + return concatenate(filter(candidates, (t) => !isObjectOrArrayLiteralType(t)), [literalsType]); + } + } + return candidates; + } + function getContravariantInference(inference) { + return inference.priority & 416 /* PriorityImpliesCombination */ ? getIntersectionType(inference.contraCandidates) : getCommonSubtype(inference.contraCandidates); + } + function getCovariantInference(inference, signature) { + const candidates = unionObjectAndArrayLiteralCandidates(inference.candidates); + const primitiveConstraint = hasPrimitiveConstraint(inference.typeParameter) || isConstTypeVariable(inference.typeParameter); + const widenLiteralTypes = !primitiveConstraint && inference.topLevel && (inference.isFixed || !isTypeParameterAtTopLevelInReturnType(signature, inference.typeParameter)); + const baseCandidates = primitiveConstraint ? sameMap(candidates, getRegularTypeOfLiteralType) : widenLiteralTypes ? sameMap(candidates, getWidenedLiteralType) : candidates; + const unwidenedType = inference.priority & 416 /* PriorityImpliesCombination */ ? getUnionType(baseCandidates, 2 /* Subtype */) : getCommonSupertype(baseCandidates); + return getWidenedType(unwidenedType); + } + function getInferredType(context, index) { + const inference = context.inferences[index]; + if (!inference.inferredType) { + let inferredType; + let fallbackType; + if (context.signature) { + const inferredCovariantType = inference.candidates ? getCovariantInference(inference, context.signature) : void 0; + const inferredContravariantType = inference.contraCandidates ? getContravariantInference(inference) : void 0; + if (inferredCovariantType || inferredContravariantType) { + const preferCovariantType = inferredCovariantType && (!inferredContravariantType || !(inferredCovariantType.flags & (131072 /* Never */ | 1 /* Any */)) && some(inference.contraCandidates, (t) => isTypeAssignableTo(inferredCovariantType, t)) && every(context.inferences, (other) => other !== inference && getConstraintOfTypeParameter(other.typeParameter) !== inference.typeParameter || every(other.candidates, (t) => isTypeAssignableTo(t, inferredCovariantType)))); + inferredType = preferCovariantType ? inferredCovariantType : inferredContravariantType; + fallbackType = preferCovariantType ? inferredContravariantType : inferredCovariantType; + } else if (context.flags & 1 /* NoDefault */) { + inferredType = silentNeverType; + } else { + const defaultType = getDefaultFromTypeParameter(inference.typeParameter); + if (defaultType) { + inferredType = instantiateType(defaultType, mergeTypeMappers(createBackreferenceMapper(context, index), context.nonFixingMapper)); + } + } + } else { + inferredType = getTypeFromInference(inference); + } + inference.inferredType = inferredType || getDefaultTypeArgumentType(!!(context.flags & 2 /* AnyDefault */)); + const constraint = getConstraintOfTypeParameter(inference.typeParameter); + if (constraint) { + const instantiatedConstraint = instantiateType(constraint, context.nonFixingMapper); + if (!inferredType || !context.compareTypes(inferredType, getTypeWithThisArgument(instantiatedConstraint, inferredType))) { + inference.inferredType = fallbackType && context.compareTypes(fallbackType, getTypeWithThisArgument(instantiatedConstraint, fallbackType)) ? fallbackType : instantiatedConstraint; + } + } + } + return inference.inferredType; + } + function getDefaultTypeArgumentType(isInJavaScriptFile) { + return isInJavaScriptFile ? anyType : unknownType; + } + function getInferredTypes(context) { + const result = []; + for (let i = 0; i < context.inferences.length; i++) { + result.push(getInferredType(context, i)); + } + return result; + } + function getCannotFindNameDiagnosticForName(node) { + switch (node.escapedText) { + case "document": + case "console": + return Diagnostics.Cannot_find_name_0_Do_you_need_to_change_your_target_library_Try_changing_the_lib_compiler_option_to_include_dom; + case "$": + return compilerOptions.types ? Diagnostics.Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_jQuery_Try_npm_i_save_dev_types_Slashjquery_and_then_add_jquery_to_the_types_field_in_your_tsconfig : Diagnostics.Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_jQuery_Try_npm_i_save_dev_types_Slashjquery; + case "describe": + case "suite": + case "it": + case "test": + return compilerOptions.types ? Diagnostics.Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_a_test_runner_Try_npm_i_save_dev_types_Slashjest_or_npm_i_save_dev_types_Slashmocha_and_then_add_jest_or_mocha_to_the_types_field_in_your_tsconfig : Diagnostics.Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_a_test_runner_Try_npm_i_save_dev_types_Slashjest_or_npm_i_save_dev_types_Slashmocha; + case "process": + case "require": + case "Buffer": + case "module": + return compilerOptions.types ? Diagnostics.Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_node_Try_npm_i_save_dev_types_Slashnode_and_then_add_node_to_the_types_field_in_your_tsconfig : Diagnostics.Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_node_Try_npm_i_save_dev_types_Slashnode; + case "Bun": + return compilerOptions.types ? Diagnostics.Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_Bun_Try_npm_i_save_dev_types_Slashbun_and_then_add_bun_to_the_types_field_in_your_tsconfig : Diagnostics.Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_Bun_Try_npm_i_save_dev_types_Slashbun; + 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 Diagnostics.Cannot_find_name_0_Do_you_need_to_change_your_target_library_Try_changing_the_lib_compiler_option_to_1_or_later; + case "await": + if (isCallExpression(node.parent)) { + return Diagnostics.Cannot_find_name_0_Did_you_mean_to_write_this_in_an_async_function; + } + // falls through + default: + if (node.parent.kind === 304 /* ShorthandPropertyAssignment */) { + return Diagnostics.No_value_exists_in_scope_for_the_shorthand_property_0_Either_declare_one_or_provide_an_initializer; + } else { + return Diagnostics.Cannot_find_name_0; + } + } + } + function getResolvedSymbol(node) { + const links = getNodeLinks(node); + if (!links.resolvedSymbol) { + links.resolvedSymbol = !nodeIsMissing(node) && resolveName( + node, + node, + 111551 /* Value */ | 1048576 /* ExportValue */, + getCannotFindNameDiagnosticForName(node), + !isWriteOnlyAccess(node), + /*excludeGlobals*/ + false + ) || unknownSymbol; + } + return links.resolvedSymbol; + } + function isInAmbientOrTypeNode(node) { + return !!(node.flags & 33554432 /* Ambient */ || findAncestor(node, (n) => isInterfaceDeclaration(n) || isTypeAliasDeclaration(n) || isTypeLiteralNode(n))); + } + function getFlowCacheKey(node, declaredType, initialType, flowContainer) { + switch (node.kind) { + case 80 /* Identifier */: + if (!isThisInTypeQuery(node)) { + const symbol = getResolvedSymbol(node); + return symbol !== unknownSymbol ? `${flowContainer ? getNodeId(flowContainer) : "-1"}|${getTypeId(declaredType)}|${getTypeId(initialType)}|${getSymbolId(symbol)}` : void 0; + } + // falls through + case 110 /* ThisKeyword */: + return `0|${flowContainer ? getNodeId(flowContainer) : "-1"}|${getTypeId(declaredType)}|${getTypeId(initialType)}`; + case 235 /* NonNullExpression */: + case 217 /* ParenthesizedExpression */: + return getFlowCacheKey(node.expression, declaredType, initialType, flowContainer); + case 166 /* QualifiedName */: + const left = getFlowCacheKey(node.left, declaredType, initialType, flowContainer); + return left && `${left}.${node.right.escapedText}`; + case 211 /* PropertyAccessExpression */: + case 212 /* ElementAccessExpression */: + const propName = getAccessedPropertyName(node); + if (propName !== void 0) { + const key = getFlowCacheKey(node.expression, declaredType, initialType, flowContainer); + return key && `${key}.${propName}`; + } + if (isElementAccessExpression(node) && isIdentifier(node.argumentExpression)) { + const symbol = getResolvedSymbol(node.argumentExpression); + if (isConstantVariable(symbol) || isParameterOrMutableLocalVariable(symbol) && !isSymbolAssigned(symbol)) { + const key = getFlowCacheKey(node.expression, declaredType, initialType, flowContainer); + return key && `${key}.@${getSymbolId(symbol)}`; + } + } + break; + case 206 /* ObjectBindingPattern */: + case 207 /* ArrayBindingPattern */: + case 262 /* FunctionDeclaration */: + case 218 /* FunctionExpression */: + case 219 /* ArrowFunction */: + case 174 /* MethodDeclaration */: + return `${getNodeId(node)}#${getTypeId(declaredType)}`; + } + return void 0; + } + function isMatchingReference(source, target) { + switch (target.kind) { + case 217 /* ParenthesizedExpression */: + case 235 /* NonNullExpression */: + return isMatchingReference(source, target.expression); + case 226 /* BinaryExpression */: + return isAssignmentExpression(target) && isMatchingReference(source, target.left) || isBinaryExpression(target) && target.operatorToken.kind === 28 /* CommaToken */ && isMatchingReference(source, target.right); + } + switch (source.kind) { + case 236 /* MetaProperty */: + return target.kind === 236 /* MetaProperty */ && source.keywordToken === target.keywordToken && source.name.escapedText === target.name.escapedText; + case 80 /* Identifier */: + case 81 /* PrivateIdentifier */: + return isThisInTypeQuery(source) ? target.kind === 110 /* ThisKeyword */ : target.kind === 80 /* Identifier */ && getResolvedSymbol(source) === getResolvedSymbol(target) || (isVariableDeclaration(target) || isBindingElement(target)) && getExportSymbolOfValueSymbolIfExported(getResolvedSymbol(source)) === getSymbolOfDeclaration(target); + case 110 /* ThisKeyword */: + return target.kind === 110 /* ThisKeyword */; + case 108 /* SuperKeyword */: + return target.kind === 108 /* SuperKeyword */; + case 235 /* NonNullExpression */: + case 217 /* ParenthesizedExpression */: + return isMatchingReference(source.expression, target); + case 211 /* PropertyAccessExpression */: + case 212 /* ElementAccessExpression */: + const sourcePropertyName = getAccessedPropertyName(source); + if (sourcePropertyName !== void 0) { + const targetPropertyName = isAccessExpression(target) ? getAccessedPropertyName(target) : void 0; + if (targetPropertyName !== void 0) { + return targetPropertyName === sourcePropertyName && isMatchingReference(source.expression, target.expression); + } + } + if (isElementAccessExpression(source) && isElementAccessExpression(target) && isIdentifier(source.argumentExpression) && isIdentifier(target.argumentExpression)) { + const symbol = getResolvedSymbol(source.argumentExpression); + if (symbol === getResolvedSymbol(target.argumentExpression) && (isConstantVariable(symbol) || isParameterOrMutableLocalVariable(symbol) && !isSymbolAssigned(symbol))) { + return isMatchingReference(source.expression, target.expression); + } + } + break; + case 166 /* QualifiedName */: + return isAccessExpression(target) && source.right.escapedText === getAccessedPropertyName(target) && isMatchingReference(source.left, target.expression); + case 226 /* BinaryExpression */: + return isBinaryExpression(source) && source.operatorToken.kind === 28 /* CommaToken */ && isMatchingReference(source.right, target); + } + return false; + } + function getAccessedPropertyName(access) { + if (isPropertyAccessExpression(access)) { + return access.name.escapedText; + } + if (isElementAccessExpression(access)) { + return tryGetElementAccessExpressionName(access); + } + if (isBindingElement(access)) { + const name = getDestructuringPropertyName(access); + return name ? escapeLeadingUnderscores(name) : void 0; + } + if (isParameter(access)) { + return "" + access.parent.parameters.indexOf(access); + } + return void 0; + } + function tryGetNameFromType(type) { + return type.flags & 8192 /* UniqueESSymbol */ ? type.escapedName : type.flags & 384 /* StringOrNumberLiteral */ ? escapeLeadingUnderscores("" + type.value) : void 0; + } + function tryGetElementAccessExpressionName(node) { + return isStringOrNumericLiteralLike(node.argumentExpression) ? escapeLeadingUnderscores(node.argumentExpression.text) : isEntityNameExpression(node.argumentExpression) ? tryGetNameFromEntityNameExpression(node.argumentExpression) : void 0; + } + function tryGetNameFromEntityNameExpression(node) { + const symbol = resolveEntityName( + node, + 111551 /* Value */, + /*ignoreErrors*/ + true + ); + if (!symbol || !(isConstantVariable(symbol) || symbol.flags & 8 /* EnumMember */)) return void 0; + const declaration = symbol.valueDeclaration; + if (declaration === void 0) return void 0; + const type = tryGetTypeFromEffectiveTypeNode(declaration); + if (type) { + const name = tryGetNameFromType(type); + if (name !== void 0) { + return name; + } + } + if (hasOnlyExpressionInitializer(declaration) && isBlockScopedNameDeclaredBeforeUse(declaration, node)) { + const initializer = getEffectiveInitializer(declaration); + if (initializer) { + const initializerType = isBindingPattern(declaration.parent) ? getTypeForBindingElement(declaration) : getTypeOfExpression(initializer); + return initializerType && tryGetNameFromType(initializerType); + } + if (isEnumMember(declaration)) { + return getTextOfPropertyName(declaration.name); + } + } + return void 0; + } + function containsMatchingReference(source, target) { + while (isAccessExpression(source)) { + source = source.expression; + if (isMatchingReference(source, target)) { + return true; + } + } + return false; + } + function optionalChainContainsReference(source, target) { + while (isOptionalChain(source)) { + source = source.expression; + if (isMatchingReference(source, target)) { + return true; + } + } + return false; + } + function isDiscriminantProperty(type, name) { + if (type && type.flags & 1048576 /* Union */) { + const prop = getUnionOrIntersectionProperty(type, name); + if (prop && getCheckFlags(prop) & 2 /* SyntheticProperty */) { + if (prop.links.isDiscriminantProperty === void 0) { + prop.links.isDiscriminantProperty = (prop.links.checkFlags & 192 /* Discriminant */) === 192 /* Discriminant */ && !isGenericType(getTypeOfSymbol(prop)); + } + return !!prop.links.isDiscriminantProperty; + } + } + return false; + } + function findDiscriminantProperties(sourceProperties, target) { + let result; + for (const sourceProperty of sourceProperties) { + if (isDiscriminantProperty(target, sourceProperty.escapedName)) { + if (result) { + result.push(sourceProperty); + continue; + } + result = [sourceProperty]; + } + } + return result; + } + function mapTypesByKeyProperty(types, name) { + const map2 = /* @__PURE__ */ new Map(); + let count = 0; + for (const type of types) { + if (type.flags & (524288 /* Object */ | 2097152 /* Intersection */ | 58982400 /* InstantiableNonPrimitive */)) { + const discriminant = getTypeOfPropertyOfType(type, name); + if (discriminant) { + if (!isLiteralType(discriminant)) { + return void 0; + } + let duplicate = false; + forEachType(discriminant, (t) => { + const id = getTypeId(getRegularTypeOfLiteralType(t)); + const existing = map2.get(id); + if (!existing) { + map2.set(id, type); + } else if (existing !== unknownType) { + map2.set(id, unknownType); + duplicate = true; + } + }); + if (!duplicate) count++; + } + } + } + return count >= 10 && count * 2 >= types.length ? map2 : void 0; + } + function getKeyPropertyName(unionType) { + const types = unionType.types; + if (types.length < 10 || getObjectFlags(unionType) & 32768 /* PrimitiveUnion */ || countWhere(types, (t) => !!(t.flags & (524288 /* Object */ | 58982400 /* InstantiableNonPrimitive */))) < 10) { + return void 0; + } + if (unionType.keyPropertyName === void 0) { + const keyPropertyName = forEach(types, (t) => t.flags & (524288 /* Object */ | 58982400 /* InstantiableNonPrimitive */) ? forEach(getPropertiesOfType(t), (p) => isUnitType(getTypeOfSymbol(p)) ? p.escapedName : void 0) : void 0); + const mapByKeyProperty = keyPropertyName && mapTypesByKeyProperty(types, keyPropertyName); + unionType.keyPropertyName = mapByKeyProperty ? keyPropertyName : ""; + unionType.constituentMap = mapByKeyProperty; + } + return unionType.keyPropertyName.length ? unionType.keyPropertyName : void 0; + } + function getConstituentTypeForKeyType(unionType, keyType) { + var _a; + const result = (_a = unionType.constituentMap) == null ? void 0 : _a.get(getTypeId(getRegularTypeOfLiteralType(keyType))); + return result !== unknownType ? result : void 0; + } + function getMatchingUnionConstituentForType(unionType, type) { + const keyPropertyName = getKeyPropertyName(unionType); + const propType = keyPropertyName && getTypeOfPropertyOfType(type, keyPropertyName); + return propType && getConstituentTypeForKeyType(unionType, propType); + } + function getMatchingUnionConstituentForObjectLiteral(unionType, node) { + const keyPropertyName = getKeyPropertyName(unionType); + const propNode = keyPropertyName && find(node.properties, (p) => p.symbol && p.kind === 303 /* PropertyAssignment */ && p.symbol.escapedName === keyPropertyName && isPossiblyDiscriminantValue(p.initializer)); + const propType = propNode && getContextFreeTypeOfExpression(propNode.initializer); + return propType && getConstituentTypeForKeyType(unionType, propType); + } + function isOrContainsMatchingReference(source, target) { + return isMatchingReference(source, target) || containsMatchingReference(source, target); + } + function hasMatchingArgument(expression, reference) { + if (expression.arguments) { + for (const argument of expression.arguments) { + if (isOrContainsMatchingReference(reference, argument) || optionalChainContainsReference(argument, reference)) { + return true; + } + } + } + if (expression.expression.kind === 211 /* PropertyAccessExpression */ && isOrContainsMatchingReference(reference, expression.expression.expression)) { + return true; + } + return false; + } + function getFlowNodeId(flow) { + if (flow.id <= 0) { + flow.id = nextFlowId; + nextFlowId++; + } + return flow.id; + } + function typeMaybeAssignableTo(source, target) { + if (!(source.flags & 1048576 /* Union */)) { + return isTypeAssignableTo(source, target); + } + for (const t of source.types) { + if (isTypeAssignableTo(t, target)) { + return true; + } + } + return false; + } + function getAssignmentReducedType(declaredType, assignedType) { + if (declaredType === assignedType) { + return declaredType; + } + if (assignedType.flags & 131072 /* Never */) { + return assignedType; + } + const key = `A${getTypeId(declaredType)},${getTypeId(assignedType)}`; + return getCachedType(key) ?? setCachedType(key, getAssignmentReducedTypeWorker(declaredType, assignedType)); + } + function getAssignmentReducedTypeWorker(declaredType, assignedType) { + const filteredType = filterType(declaredType, (t) => typeMaybeAssignableTo(assignedType, t)); + const reducedType = assignedType.flags & 512 /* BooleanLiteral */ && isFreshLiteralType(assignedType) ? mapType(filteredType, getFreshTypeOfLiteralType) : filteredType; + return isTypeAssignableTo(assignedType, reducedType) ? reducedType : declaredType; + } + function isFunctionObjectType(type) { + if (getObjectFlags(type) & 256 /* EvolvingArray */) { + return false; + } + const resolved = resolveStructuredTypeMembers(type); + return !!(resolved.callSignatures.length || resolved.constructSignatures.length || resolved.members.get("bind") && isTypeSubtypeOf(type, globalFunctionType)); + } + function getTypeFacts(type, mask) { + return getTypeFactsWorker(type, mask) & mask; + } + function hasTypeFacts(type, mask) { + return getTypeFacts(type, mask) !== 0; + } + function getTypeFactsWorker(type, callerOnlyNeeds) { + if (type.flags & (2097152 /* Intersection */ | 465829888 /* Instantiable */)) { + type = getBaseConstraintOfType(type) || unknownType; + } + const flags = type.flags; + if (flags & (4 /* String */ | 268435456 /* StringMapping */)) { + return strictNullChecks ? 16317953 /* StringStrictFacts */ : 16776705 /* StringFacts */; + } + if (flags & (128 /* StringLiteral */ | 134217728 /* TemplateLiteral */)) { + const isEmpty = flags & 128 /* StringLiteral */ && type.value === ""; + return strictNullChecks ? isEmpty ? 12123649 /* EmptyStringStrictFacts */ : 7929345 /* NonEmptyStringStrictFacts */ : isEmpty ? 12582401 /* EmptyStringFacts */ : 16776705 /* NonEmptyStringFacts */; + } + if (flags & (8 /* Number */ | 32 /* Enum */)) { + return strictNullChecks ? 16317698 /* NumberStrictFacts */ : 16776450 /* NumberFacts */; + } + if (flags & 256 /* NumberLiteral */) { + const isZero = type.value === 0; + return strictNullChecks ? isZero ? 12123394 /* ZeroNumberStrictFacts */ : 7929090 /* NonZeroNumberStrictFacts */ : isZero ? 12582146 /* ZeroNumberFacts */ : 16776450 /* NonZeroNumberFacts */; + } + if (flags & 64 /* BigInt */) { + return strictNullChecks ? 16317188 /* BigIntStrictFacts */ : 16775940 /* BigIntFacts */; + } + if (flags & 2048 /* BigIntLiteral */) { + const isZero = isZeroBigInt(type); + return strictNullChecks ? isZero ? 12122884 /* ZeroBigIntStrictFacts */ : 7928580 /* NonZeroBigIntStrictFacts */ : isZero ? 12581636 /* ZeroBigIntFacts */ : 16775940 /* NonZeroBigIntFacts */; + } + if (flags & 16 /* Boolean */) { + return strictNullChecks ? 16316168 /* BooleanStrictFacts */ : 16774920 /* BooleanFacts */; + } + if (flags & 528 /* BooleanLike */) { + return strictNullChecks ? type === falseType || type === regularFalseType ? 12121864 /* FalseStrictFacts */ : 7927560 /* TrueStrictFacts */ : type === falseType || type === regularFalseType ? 12580616 /* FalseFacts */ : 16774920 /* TrueFacts */; + } + if (flags & 524288 /* Object */) { + const possibleFacts = strictNullChecks ? 83427327 /* EmptyObjectStrictFacts */ | 7880640 /* FunctionStrictFacts */ | 7888800 /* ObjectStrictFacts */ : 83886079 /* EmptyObjectFacts */ | 16728e3 /* FunctionFacts */ | 16736160 /* ObjectFacts */; + if ((callerOnlyNeeds & possibleFacts) === 0) { + return 0; + } + return getObjectFlags(type) & 16 /* Anonymous */ && isEmptyObjectType(type) ? strictNullChecks ? 83427327 /* EmptyObjectStrictFacts */ : 83886079 /* EmptyObjectFacts */ : isFunctionObjectType(type) ? strictNullChecks ? 7880640 /* FunctionStrictFacts */ : 16728e3 /* FunctionFacts */ : strictNullChecks ? 7888800 /* ObjectStrictFacts */ : 16736160 /* ObjectFacts */; + } + if (flags & 16384 /* Void */) { + return 9830144 /* VoidFacts */; + } + if (flags & 32768 /* Undefined */) { + return 26607360 /* UndefinedFacts */; + } + if (flags & 65536 /* Null */) { + return 42917664 /* NullFacts */; + } + if (flags & 12288 /* ESSymbolLike */) { + return strictNullChecks ? 7925520 /* SymbolStrictFacts */ : 16772880 /* SymbolFacts */; + } + if (flags & 67108864 /* NonPrimitive */) { + return strictNullChecks ? 7888800 /* ObjectStrictFacts */ : 16736160 /* ObjectFacts */; + } + if (flags & 131072 /* Never */) { + return 0 /* None */; + } + if (flags & 1048576 /* Union */) { + return reduceLeft(type.types, (facts, t) => facts | getTypeFactsWorker(t, callerOnlyNeeds), 0 /* None */); + } + if (flags & 2097152 /* Intersection */) { + return getIntersectionTypeFacts(type, callerOnlyNeeds); + } + return 83886079 /* UnknownFacts */; + } + function getIntersectionTypeFacts(type, callerOnlyNeeds) { + const ignoreObjects = maybeTypeOfKind(type, 402784252 /* Primitive */); + let oredFacts = 0 /* None */; + let andedFacts = 134217727 /* All */; + for (const t of type.types) { + if (!(ignoreObjects && t.flags & 524288 /* Object */)) { + const f = getTypeFactsWorker(t, callerOnlyNeeds); + oredFacts |= f; + andedFacts &= f; + } + } + return oredFacts & 8256 /* OrFactsMask */ | andedFacts & 134209471 /* AndFactsMask */; + } + function getTypeWithFacts(type, include) { + return filterType(type, (t) => hasTypeFacts(t, include)); + } + function getAdjustedTypeWithFacts(type, facts) { + const reduced = recombineUnknownType(getTypeWithFacts(strictNullChecks && type.flags & 2 /* Unknown */ ? unknownUnionType : type, facts)); + if (strictNullChecks) { + switch (facts) { + case 524288 /* NEUndefined */: + return removeNullableByIntersection(reduced, 65536 /* EQUndefined */, 131072 /* EQNull */, 33554432 /* IsNull */, nullType); + case 1048576 /* NENull */: + return removeNullableByIntersection(reduced, 131072 /* EQNull */, 65536 /* EQUndefined */, 16777216 /* IsUndefined */, undefinedType); + case 2097152 /* NEUndefinedOrNull */: + case 4194304 /* Truthy */: + return mapType(reduced, (t) => hasTypeFacts(t, 262144 /* EQUndefinedOrNull */) ? getGlobalNonNullableTypeInstantiation(t) : t); + } + } + return reduced; + } + function removeNullableByIntersection(type, targetFacts, otherFacts, otherIncludesFacts, otherType) { + const facts = getTypeFacts(type, 65536 /* EQUndefined */ | 131072 /* EQNull */ | 16777216 /* IsUndefined */ | 33554432 /* IsNull */); + if (!(facts & targetFacts)) { + return type; + } + const emptyAndOtherUnion = getUnionType([emptyObjectType, otherType]); + return mapType(type, (t) => hasTypeFacts(t, targetFacts) ? getIntersectionType([t, !(facts & otherIncludesFacts) && hasTypeFacts(t, otherFacts) ? emptyAndOtherUnion : emptyObjectType]) : t); + } + function recombineUnknownType(type) { + return type === unknownUnionType ? unknownType : type; + } + function getTypeWithDefault(type, defaultExpression) { + return defaultExpression ? getUnionType([getNonUndefinedType(type), getTypeOfExpression(defaultExpression)]) : type; + } + function getTypeOfDestructuredProperty(type, name) { + var _a; + const nameType = getLiteralTypeFromPropertyName(name); + if (!isTypeUsableAsPropertyName(nameType)) return errorType; + const text = getPropertyNameFromType(nameType); + return getTypeOfPropertyOfType(type, text) || includeUndefinedInIndexSignature((_a = getApplicableIndexInfoForName(type, text)) == null ? void 0 : _a.type) || errorType; + } + function getTypeOfDestructuredArrayElement(type, index) { + return everyType(type, isTupleLikeType) && getTupleElementType(type, index) || includeUndefinedInIndexSignature(checkIteratedTypeOrElementType( + 65 /* Destructuring */, + type, + undefinedType, + /*errorNode*/ + void 0 + )) || errorType; + } + function includeUndefinedInIndexSignature(type) { + if (!type) return type; + return compilerOptions.noUncheckedIndexedAccess ? getUnionType([type, missingType]) : type; + } + function getTypeOfDestructuredSpreadExpression(type) { + return createArrayType(checkIteratedTypeOrElementType( + 65 /* Destructuring */, + type, + undefinedType, + /*errorNode*/ + void 0 + ) || errorType); + } + function getAssignedTypeOfBinaryExpression(node) { + const isDestructuringDefaultAssignment = node.parent.kind === 209 /* ArrayLiteralExpression */ && isDestructuringAssignmentTarget(node.parent) || node.parent.kind === 303 /* PropertyAssignment */ && isDestructuringAssignmentTarget(node.parent.parent); + return isDestructuringDefaultAssignment ? getTypeWithDefault(getAssignedType(node), node.right) : getTypeOfExpression(node.right); + } + function isDestructuringAssignmentTarget(parent) { + return parent.parent.kind === 226 /* BinaryExpression */ && parent.parent.left === parent || parent.parent.kind === 250 /* ForOfStatement */ && parent.parent.initializer === parent; + } + function getAssignedTypeOfArrayLiteralElement(node, element) { + return getTypeOfDestructuredArrayElement(getAssignedType(node), node.elements.indexOf(element)); + } + function getAssignedTypeOfSpreadExpression(node) { + return getTypeOfDestructuredSpreadExpression(getAssignedType(node.parent)); + } + function getAssignedTypeOfPropertyAssignment(node) { + return getTypeOfDestructuredProperty(getAssignedType(node.parent), node.name); + } + function getAssignedTypeOfShorthandPropertyAssignment(node) { + return getTypeWithDefault(getAssignedTypeOfPropertyAssignment(node), node.objectAssignmentInitializer); + } + function getAssignedType(node) { + const { parent } = node; + switch (parent.kind) { + case 249 /* ForInStatement */: + return stringType; + case 250 /* ForOfStatement */: + return checkRightHandSideOfForOf(parent) || errorType; + case 226 /* BinaryExpression */: + return getAssignedTypeOfBinaryExpression(parent); + case 220 /* DeleteExpression */: + return undefinedType; + case 209 /* ArrayLiteralExpression */: + return getAssignedTypeOfArrayLiteralElement(parent, node); + case 230 /* SpreadElement */: + return getAssignedTypeOfSpreadExpression(parent); + case 303 /* PropertyAssignment */: + return getAssignedTypeOfPropertyAssignment(parent); + case 304 /* ShorthandPropertyAssignment */: + return getAssignedTypeOfShorthandPropertyAssignment(parent); + } + return errorType; + } + function getInitialTypeOfBindingElement(node) { + const pattern = node.parent; + const parentType = getInitialType(pattern.parent); + const type = pattern.kind === 206 /* ObjectBindingPattern */ ? getTypeOfDestructuredProperty(parentType, node.propertyName || node.name) : !node.dotDotDotToken ? getTypeOfDestructuredArrayElement(parentType, pattern.elements.indexOf(node)) : getTypeOfDestructuredSpreadExpression(parentType); + return getTypeWithDefault(type, node.initializer); + } + function getTypeOfInitializer(node) { + const links = getNodeLinks(node); + return links.resolvedType || getTypeOfExpression(node); + } + function getInitialTypeOfVariableDeclaration(node) { + if (node.initializer) { + return getTypeOfInitializer(node.initializer); + } + if (node.parent.parent.kind === 249 /* ForInStatement */) { + return stringType; + } + if (node.parent.parent.kind === 250 /* ForOfStatement */) { + return checkRightHandSideOfForOf(node.parent.parent) || errorType; + } + return errorType; + } + function getInitialType(node) { + return node.kind === 260 /* VariableDeclaration */ ? getInitialTypeOfVariableDeclaration(node) : getInitialTypeOfBindingElement(node); + } + function isEmptyArrayAssignment(node) { + return node.kind === 260 /* VariableDeclaration */ && node.initializer && isEmptyArrayLiteral2(node.initializer) || node.kind !== 208 /* BindingElement */ && node.parent.kind === 226 /* BinaryExpression */ && isEmptyArrayLiteral2(node.parent.right); + } + function getReferenceCandidate(node) { + switch (node.kind) { + case 217 /* ParenthesizedExpression */: + return getReferenceCandidate(node.expression); + case 226 /* BinaryExpression */: + switch (node.operatorToken.kind) { + case 64 /* EqualsToken */: + case 76 /* BarBarEqualsToken */: + case 77 /* AmpersandAmpersandEqualsToken */: + case 78 /* QuestionQuestionEqualsToken */: + return getReferenceCandidate(node.left); + case 28 /* CommaToken */: + return getReferenceCandidate(node.right); + } + } + return node; + } + function getReferenceRoot(node) { + const { parent } = node; + return parent.kind === 217 /* ParenthesizedExpression */ || parent.kind === 226 /* BinaryExpression */ && parent.operatorToken.kind === 64 /* EqualsToken */ && parent.left === node || parent.kind === 226 /* BinaryExpression */ && parent.operatorToken.kind === 28 /* CommaToken */ && parent.right === node ? getReferenceRoot(parent) : node; + } + function getTypeOfSwitchClause(clause) { + if (clause.kind === 296 /* CaseClause */) { + return getRegularTypeOfLiteralType(getTypeOfExpression(clause.expression)); + } + return neverType; + } + function getSwitchClauseTypes(switchStatement) { + const links = getNodeLinks(switchStatement); + if (!links.switchTypes) { + links.switchTypes = []; + for (const clause of switchStatement.caseBlock.clauses) { + links.switchTypes.push(getTypeOfSwitchClause(clause)); + } + } + return links.switchTypes; + } + function getSwitchClauseTypeOfWitnesses(switchStatement) { + if (some(switchStatement.caseBlock.clauses, (clause) => clause.kind === 296 /* CaseClause */ && !isStringLiteralLike(clause.expression))) { + return void 0; + } + const witnesses = []; + for (const clause of switchStatement.caseBlock.clauses) { + const text = clause.kind === 296 /* CaseClause */ ? clause.expression.text : void 0; + witnesses.push(text && !contains(witnesses, text) ? text : void 0); + } + return witnesses; + } + function eachTypeContainedIn(source, types) { + return source.flags & 1048576 /* Union */ ? !forEach(source.types, (t) => !contains(types, t)) : contains(types, source); + } + function isTypeSubsetOf(source, target) { + return !!(source === target || source.flags & 131072 /* Never */ || target.flags & 1048576 /* Union */ && isTypeSubsetOfUnion(source, target)); + } + function isTypeSubsetOfUnion(source, target) { + if (source.flags & 1048576 /* Union */) { + for (const t of source.types) { + if (!containsType(target.types, t)) { + return false; + } + } + return true; + } + if (source.flags & 1056 /* EnumLike */ && getBaseTypeOfEnumLikeType(source) === target) { + return true; + } + return containsType(target.types, source); + } + function forEachType(type, f) { + return type.flags & 1048576 /* Union */ ? forEach(type.types, f) : f(type); + } + function someType(type, f) { + return type.flags & 1048576 /* Union */ ? some(type.types, f) : f(type); + } + function everyType(type, f) { + return type.flags & 1048576 /* Union */ ? every(type.types, f) : f(type); + } + function everyContainedType(type, f) { + return type.flags & 3145728 /* UnionOrIntersection */ ? every(type.types, f) : f(type); + } + function filterType(type, f) { + if (type.flags & 1048576 /* Union */) { + const types = type.types; + const filtered = filter(types, f); + if (filtered === types) { + return type; + } + const origin = type.origin; + let newOrigin; + if (origin && origin.flags & 1048576 /* Union */) { + const originTypes = origin.types; + const originFiltered = filter(originTypes, (t) => !!(t.flags & 1048576 /* Union */) || f(t)); + if (originTypes.length - originFiltered.length === types.length - filtered.length) { + if (originFiltered.length === 1) { + return originFiltered[0]; + } + newOrigin = createOriginUnionOrIntersectionType(1048576 /* Union */, originFiltered); + } + } + return getUnionTypeFromSortedList( + filtered, + type.objectFlags & (32768 /* PrimitiveUnion */ | 16777216 /* ContainsIntersections */), + /*aliasSymbol*/ + void 0, + /*aliasTypeArguments*/ + void 0, + newOrigin + ); + } + return type.flags & 131072 /* Never */ || f(type) ? type : neverType; + } + function removeType(type, targetType) { + return filterType(type, (t) => t !== targetType); + } + function countTypes(type) { + return type.flags & 1048576 /* Union */ ? type.types.length : 1; + } + function mapType(type, mapper, noReductions) { + if (type.flags & 131072 /* Never */) { + return type; + } + if (!(type.flags & 1048576 /* Union */)) { + return mapper(type); + } + const origin = type.origin; + const types = origin && origin.flags & 1048576 /* Union */ ? origin.types : type.types; + let mappedTypes; + let changed = false; + for (const t of types) { + const mapped = t.flags & 1048576 /* Union */ ? mapType(t, mapper, noReductions) : mapper(t); + changed || (changed = t !== mapped); + if (mapped) { + if (!mappedTypes) { + mappedTypes = [mapped]; + } else { + mappedTypes.push(mapped); + } + } + } + return changed ? mappedTypes && getUnionType(mappedTypes, noReductions ? 0 /* None */ : 1 /* Literal */) : type; + } + function mapTypeWithAlias(type, mapper, aliasSymbol, aliasTypeArguments) { + return type.flags & 1048576 /* Union */ && aliasSymbol ? getUnionType(map(type.types, mapper), 1 /* Literal */, aliasSymbol, aliasTypeArguments) : mapType(type, mapper); + } + function extractTypesOfKind(type, kind) { + return filterType(type, (t) => (t.flags & kind) !== 0); + } + function replacePrimitivesWithLiterals(typeWithPrimitives, typeWithLiterals) { + if (maybeTypeOfKind(typeWithPrimitives, 4 /* String */ | 134217728 /* TemplateLiteral */ | 8 /* Number */ | 64 /* BigInt */) && maybeTypeOfKind(typeWithLiterals, 128 /* StringLiteral */ | 134217728 /* TemplateLiteral */ | 268435456 /* StringMapping */ | 256 /* NumberLiteral */ | 2048 /* BigIntLiteral */)) { + return mapType(typeWithPrimitives, (t) => t.flags & 4 /* String */ ? extractTypesOfKind(typeWithLiterals, 4 /* String */ | 128 /* StringLiteral */ | 134217728 /* TemplateLiteral */ | 268435456 /* StringMapping */) : isPatternLiteralType(t) && !maybeTypeOfKind(typeWithLiterals, 4 /* String */ | 134217728 /* TemplateLiteral */ | 268435456 /* StringMapping */) ? extractTypesOfKind(typeWithLiterals, 128 /* StringLiteral */) : t.flags & 8 /* Number */ ? extractTypesOfKind(typeWithLiterals, 8 /* Number */ | 256 /* NumberLiteral */) : t.flags & 64 /* BigInt */ ? extractTypesOfKind(typeWithLiterals, 64 /* BigInt */ | 2048 /* BigIntLiteral */) : t); + } + return typeWithPrimitives; + } + function isIncomplete(flowType) { + return flowType.flags === 0; + } + function getTypeFromFlowType(flowType) { + return flowType.flags === 0 ? flowType.type : flowType; + } + function createFlowType(type, incomplete) { + return incomplete ? { flags: 0, type: type.flags & 131072 /* Never */ ? silentNeverType : type } : type; + } + function createEvolvingArrayType(elementType) { + const result = createObjectType(256 /* EvolvingArray */); + result.elementType = elementType; + return result; + } + function getEvolvingArrayType(elementType) { + return evolvingArrayTypes[elementType.id] || (evolvingArrayTypes[elementType.id] = createEvolvingArrayType(elementType)); + } + function addEvolvingArrayElementType(evolvingArrayType, node) { + const elementType = getRegularTypeOfObjectLiteral(getBaseTypeOfLiteralType(getContextFreeTypeOfExpression(node))); + return isTypeSubsetOf(elementType, evolvingArrayType.elementType) ? evolvingArrayType : getEvolvingArrayType(getUnionType([evolvingArrayType.elementType, elementType])); + } + function createFinalArrayType(elementType) { + return elementType.flags & 131072 /* Never */ ? autoArrayType : createArrayType( + elementType.flags & 1048576 /* Union */ ? getUnionType(elementType.types, 2 /* Subtype */) : elementType + ); + } + function getFinalArrayType(evolvingArrayType) { + return evolvingArrayType.finalArrayType || (evolvingArrayType.finalArrayType = createFinalArrayType(evolvingArrayType.elementType)); + } + function finalizeEvolvingArrayType(type) { + return getObjectFlags(type) & 256 /* EvolvingArray */ ? getFinalArrayType(type) : type; + } + function getElementTypeOfEvolvingArrayType(type) { + return getObjectFlags(type) & 256 /* EvolvingArray */ ? type.elementType : neverType; + } + function isEvolvingArrayTypeList(types) { + let hasEvolvingArrayType = false; + for (const t of types) { + if (!(t.flags & 131072 /* Never */)) { + if (!(getObjectFlags(t) & 256 /* EvolvingArray */)) { + return false; + } + hasEvolvingArrayType = true; + } + } + return hasEvolvingArrayType; + } + function isEvolvingArrayOperationTarget(node) { + const root = getReferenceRoot(node); + const parent = root.parent; + const isLengthPushOrUnshift = isPropertyAccessExpression(parent) && (parent.name.escapedText === "length" || parent.parent.kind === 213 /* CallExpression */ && isIdentifier(parent.name) && isPushOrUnshiftIdentifier(parent.name)); + const isElementAssignment = parent.kind === 212 /* ElementAccessExpression */ && parent.expression === root && parent.parent.kind === 226 /* BinaryExpression */ && parent.parent.operatorToken.kind === 64 /* EqualsToken */ && parent.parent.left === parent && !isAssignmentTarget(parent.parent) && isTypeAssignableToKind(getTypeOfExpression(parent.argumentExpression), 296 /* NumberLike */); + return isLengthPushOrUnshift || isElementAssignment; + } + function isDeclarationWithExplicitTypeAnnotation(node) { + return (isVariableDeclaration(node) || isPropertyDeclaration(node) || isPropertySignature(node) || isParameter(node)) && !!(getEffectiveTypeAnnotationNode(node) || isInJSFile(node) && hasInitializer(node) && node.initializer && isFunctionExpressionOrArrowFunction(node.initializer) && getEffectiveReturnTypeNode(node.initializer)); + } + function getExplicitTypeOfSymbol(symbol, diagnostic) { + symbol = resolveSymbol(symbol); + if (symbol.flags & (16 /* Function */ | 8192 /* Method */ | 32 /* Class */ | 512 /* ValueModule */)) { + return getTypeOfSymbol(symbol); + } + if (symbol.flags & (3 /* Variable */ | 4 /* Property */)) { + if (getCheckFlags(symbol) & 262144 /* Mapped */) { + const origin = symbol.links.syntheticOrigin; + if (origin && getExplicitTypeOfSymbol(origin)) { + return getTypeOfSymbol(symbol); + } + } + const declaration = symbol.valueDeclaration; + if (declaration) { + if (isDeclarationWithExplicitTypeAnnotation(declaration)) { + return getTypeOfSymbol(symbol); + } + if (isVariableDeclaration(declaration) && declaration.parent.parent.kind === 250 /* ForOfStatement */) { + const statement = declaration.parent.parent; + const expressionType = getTypeOfDottedName( + statement.expression, + /*diagnostic*/ + void 0 + ); + if (expressionType) { + const use = statement.awaitModifier ? 15 /* ForAwaitOf */ : 13 /* ForOf */; + return checkIteratedTypeOrElementType( + use, + expressionType, + undefinedType, + /*errorNode*/ + void 0 + ); + } + } + if (diagnostic) { + addRelatedInfo(diagnostic, createDiagnosticForNode(declaration, Diagnostics._0_needs_an_explicit_type_annotation, symbolToString(symbol))); + } + } + } + } + function getTypeOfDottedName(node, diagnostic) { + if (!(node.flags & 67108864 /* InWithStatement */)) { + switch (node.kind) { + case 80 /* Identifier */: + const symbol = getExportSymbolOfValueSymbolIfExported(getResolvedSymbol(node)); + return getExplicitTypeOfSymbol(symbol, diagnostic); + case 110 /* ThisKeyword */: + return getExplicitThisType(node); + case 108 /* SuperKeyword */: + return checkSuperExpression(node); + case 211 /* PropertyAccessExpression */: { + const type = getTypeOfDottedName(node.expression, diagnostic); + if (type) { + const name = node.name; + let prop; + if (isPrivateIdentifier(name)) { + if (!type.symbol) { + return void 0; + } + prop = getPropertyOfType(type, getSymbolNameForPrivateIdentifier(type.symbol, name.escapedText)); + } else { + prop = getPropertyOfType(type, name.escapedText); + } + return prop && getExplicitTypeOfSymbol(prop, diagnostic); + } + return void 0; + } + case 217 /* ParenthesizedExpression */: + return getTypeOfDottedName(node.expression, diagnostic); + } + } + } + function getEffectsSignature(node) { + const links = getNodeLinks(node); + let signature = links.effectsSignature; + if (signature === void 0) { + let funcType; + if (isBinaryExpression(node)) { + const rightType = checkNonNullExpression(node.right); + funcType = getSymbolHasInstanceMethodOfObjectType(rightType); + } else if (node.parent.kind === 244 /* ExpressionStatement */) { + funcType = getTypeOfDottedName( + node.expression, + /*diagnostic*/ + void 0 + ); + } else if (node.expression.kind !== 108 /* SuperKeyword */) { + if (isOptionalChain(node)) { + funcType = checkNonNullType( + getOptionalExpressionType(checkExpression(node.expression), node.expression), + node.expression + ); + } else { + funcType = checkNonNullExpression(node.expression); + } + } + const signatures = getSignaturesOfType(funcType && getApparentType(funcType) || unknownType, 0 /* Call */); + const candidate = signatures.length === 1 && !signatures[0].typeParameters ? signatures[0] : some(signatures, hasTypePredicateOrNeverReturnType) ? getResolvedSignature(node) : void 0; + signature = links.effectsSignature = candidate && hasTypePredicateOrNeverReturnType(candidate) ? candidate : unknownSignature; + } + return signature === unknownSignature ? void 0 : signature; + } + function hasTypePredicateOrNeverReturnType(signature) { + return !!(getTypePredicateOfSignature(signature) || signature.declaration && (getReturnTypeFromAnnotation(signature.declaration) || unknownType).flags & 131072 /* Never */); + } + function getTypePredicateArgument(predicate, callExpression) { + if (predicate.kind === 1 /* Identifier */ || predicate.kind === 3 /* AssertsIdentifier */) { + return callExpression.arguments[predicate.parameterIndex]; + } + const invokedExpression = skipParentheses(callExpression.expression); + return isAccessExpression(invokedExpression) ? skipParentheses(invokedExpression.expression) : void 0; + } + function reportFlowControlError(node) { + const block = findAncestor(node, isFunctionOrModuleBlock); + const sourceFile = getSourceFileOfNode(node); + const span = getSpanOfTokenAtPosition(sourceFile, block.statements.pos); + diagnostics.add(createFileDiagnostic(sourceFile, span.start, span.length, Diagnostics.The_containing_function_or_module_body_is_too_large_for_control_flow_analysis)); + } + function isReachableFlowNode(flow) { + const result = isReachableFlowNodeWorker( + flow, + /*noCacheCheck*/ + false + ); + lastFlowNode = flow; + lastFlowNodeReachable = result; + return result; + } + function isFalseExpression(expr) { + const node = skipParentheses( + expr, + /*excludeJSDocTypeAssertions*/ + true + ); + return node.kind === 97 /* FalseKeyword */ || node.kind === 226 /* BinaryExpression */ && (node.operatorToken.kind === 56 /* AmpersandAmpersandToken */ && (isFalseExpression(node.left) || isFalseExpression(node.right)) || node.operatorToken.kind === 57 /* BarBarToken */ && isFalseExpression(node.left) && isFalseExpression(node.right)); + } + function isReachableFlowNodeWorker(flow, noCacheCheck) { + while (true) { + if (flow === lastFlowNode) { + return lastFlowNodeReachable; + } + const flags = flow.flags; + if (flags & 4096 /* Shared */) { + if (!noCacheCheck) { + const id = getFlowNodeId(flow); + const reachable = flowNodeReachable[id]; + return reachable !== void 0 ? reachable : flowNodeReachable[id] = isReachableFlowNodeWorker( + flow, + /*noCacheCheck*/ + true + ); + } + noCacheCheck = false; + } + if (flags & (16 /* Assignment */ | 96 /* Condition */ | 256 /* ArrayMutation */)) { + flow = flow.antecedent; + } else if (flags & 512 /* Call */) { + const signature = getEffectsSignature(flow.node); + if (signature) { + const predicate = getTypePredicateOfSignature(signature); + if (predicate && predicate.kind === 3 /* AssertsIdentifier */ && !predicate.type) { + const predicateArgument = flow.node.arguments[predicate.parameterIndex]; + if (predicateArgument && isFalseExpression(predicateArgument)) { + return false; + } + } + if (getReturnTypeOfSignature(signature).flags & 131072 /* Never */) { + return false; + } + } + flow = flow.antecedent; + } else if (flags & 4 /* BranchLabel */) { + return some(flow.antecedent, (f) => isReachableFlowNodeWorker( + f, + /*noCacheCheck*/ + false + )); + } else if (flags & 8 /* LoopLabel */) { + const antecedents = flow.antecedent; + if (antecedents === void 0 || antecedents.length === 0) { + return false; + } + flow = antecedents[0]; + } else if (flags & 128 /* SwitchClause */) { + const data = flow.node; + if (data.clauseStart === data.clauseEnd && isExhaustiveSwitchStatement(data.switchStatement)) { + return false; + } + flow = flow.antecedent; + } else if (flags & 1024 /* ReduceLabel */) { + lastFlowNode = void 0; + const target = flow.node.target; + const saveAntecedents = target.antecedent; + target.antecedent = flow.node.antecedents; + const result = isReachableFlowNodeWorker( + flow.antecedent, + /*noCacheCheck*/ + false + ); + target.antecedent = saveAntecedents; + return result; + } else { + return !(flags & 1 /* Unreachable */); + } + } + } + function isPostSuperFlowNode(flow, noCacheCheck) { + while (true) { + const flags = flow.flags; + if (flags & 4096 /* Shared */) { + if (!noCacheCheck) { + const id = getFlowNodeId(flow); + const postSuper = flowNodePostSuper[id]; + return postSuper !== void 0 ? postSuper : flowNodePostSuper[id] = isPostSuperFlowNode( + flow, + /*noCacheCheck*/ + true + ); + } + noCacheCheck = false; + } + if (flags & (16 /* Assignment */ | 96 /* Condition */ | 256 /* ArrayMutation */ | 128 /* SwitchClause */)) { + flow = flow.antecedent; + } else if (flags & 512 /* Call */) { + if (flow.node.expression.kind === 108 /* SuperKeyword */) { + return true; + } + flow = flow.antecedent; + } else if (flags & 4 /* BranchLabel */) { + return every(flow.antecedent, (f) => isPostSuperFlowNode( + f, + /*noCacheCheck*/ + false + )); + } else if (flags & 8 /* LoopLabel */) { + flow = flow.antecedent[0]; + } else if (flags & 1024 /* ReduceLabel */) { + const target = flow.node.target; + const saveAntecedents = target.antecedent; + target.antecedent = flow.node.antecedents; + const result = isPostSuperFlowNode( + flow.antecedent, + /*noCacheCheck*/ + false + ); + target.antecedent = saveAntecedents; + return result; + } else { + return !!(flags & 1 /* Unreachable */); + } + } + } + function isConstantReference(node) { + switch (node.kind) { + case 110 /* ThisKeyword */: + return true; + case 80 /* Identifier */: + if (!isThisInTypeQuery(node)) { + const symbol = getResolvedSymbol(node); + return isConstantVariable(symbol) || isParameterOrMutableLocalVariable(symbol) && !isSymbolAssigned(symbol) || !!symbol.valueDeclaration && isFunctionExpression(symbol.valueDeclaration); + } + break; + case 211 /* PropertyAccessExpression */: + case 212 /* ElementAccessExpression */: + return isConstantReference(node.expression) && isReadonlySymbol(getNodeLinks(node).resolvedSymbol || unknownSymbol); + case 206 /* ObjectBindingPattern */: + case 207 /* ArrayBindingPattern */: + const rootDeclaration = getRootDeclaration(node.parent); + return isParameter(rootDeclaration) || isCatchClauseVariableDeclaration(rootDeclaration) ? !isSomeSymbolAssigned(rootDeclaration) : isVariableDeclaration(rootDeclaration) && isVarConstLike2(rootDeclaration); + } + return false; + } + function getFlowTypeOfReference(reference, declaredType, initialType = declaredType, flowContainer, flowNode = ((_a) => (_a = tryCast(reference, canHaveFlowNode)) == null ? void 0 : _a.flowNode)()) { + let key; + let isKeySet = false; + let flowDepth = 0; + if (flowAnalysisDisabled) { + return errorType; + } + if (!flowNode) { + return declaredType; + } + flowInvocationCount++; + const sharedFlowStart = sharedFlowCount; + const evolvedType = getTypeFromFlowType(getTypeAtFlowNode(flowNode)); + sharedFlowCount = sharedFlowStart; + const resultType = getObjectFlags(evolvedType) & 256 /* EvolvingArray */ && isEvolvingArrayOperationTarget(reference) ? autoArrayType : finalizeEvolvingArrayType(evolvedType); + if (resultType === unreachableNeverType || reference.parent && reference.parent.kind === 235 /* NonNullExpression */ && !(resultType.flags & 131072 /* Never */) && getTypeWithFacts(resultType, 2097152 /* NEUndefinedOrNull */).flags & 131072 /* Never */) { + return declaredType; + } + return resultType; + function getOrSetCacheKey() { + if (isKeySet) { + return key; + } + isKeySet = true; + return key = getFlowCacheKey(reference, declaredType, initialType, flowContainer); + } + function getTypeAtFlowNode(flow) { + var _a2; + if (flowDepth === 2e3) { + (_a2 = tracing) == null ? void 0 : _a2.instant(tracing.Phase.CheckTypes, "getTypeAtFlowNode_DepthLimit", { flowId: flow.id }); + flowAnalysisDisabled = true; + reportFlowControlError(reference); + return errorType; + } + flowDepth++; + let sharedFlow; + while (true) { + const flags = flow.flags; + if (flags & 4096 /* Shared */) { + for (let i = sharedFlowStart; i < sharedFlowCount; i++) { + if (sharedFlowNodes[i] === flow) { + flowDepth--; + return sharedFlowTypes[i]; + } + } + sharedFlow = flow; + } + let type; + if (flags & 16 /* Assignment */) { + type = getTypeAtFlowAssignment(flow); + if (!type) { + flow = flow.antecedent; + continue; + } + } else if (flags & 512 /* Call */) { + type = getTypeAtFlowCall(flow); + if (!type) { + flow = flow.antecedent; + continue; + } + } else if (flags & 96 /* Condition */) { + type = getTypeAtFlowCondition(flow); + } else if (flags & 128 /* SwitchClause */) { + type = getTypeAtSwitchClause(flow); + } else if (flags & 12 /* Label */) { + if (flow.antecedent.length === 1) { + flow = flow.antecedent[0]; + continue; + } + type = flags & 4 /* BranchLabel */ ? getTypeAtFlowBranchLabel(flow) : getTypeAtFlowLoopLabel(flow); + } else if (flags & 256 /* ArrayMutation */) { + type = getTypeAtFlowArrayMutation(flow); + if (!type) { + flow = flow.antecedent; + continue; + } + } else if (flags & 1024 /* ReduceLabel */) { + const target = flow.node.target; + const saveAntecedents = target.antecedent; + target.antecedent = flow.node.antecedents; + type = getTypeAtFlowNode(flow.antecedent); + target.antecedent = saveAntecedents; + } else if (flags & 2 /* Start */) { + const container = flow.node; + if (container && container !== flowContainer && reference.kind !== 211 /* PropertyAccessExpression */ && reference.kind !== 212 /* ElementAccessExpression */ && !(reference.kind === 110 /* ThisKeyword */ && container.kind !== 219 /* ArrowFunction */)) { + flow = container.flowNode; + continue; + } + type = initialType; + } else { + type = convertAutoToAny(declaredType); + } + if (sharedFlow) { + sharedFlowNodes[sharedFlowCount] = sharedFlow; + sharedFlowTypes[sharedFlowCount] = type; + sharedFlowCount++; + } + flowDepth--; + return type; + } + } + function getInitialOrAssignedType(flow) { + const node = flow.node; + return getNarrowableTypeForReference( + node.kind === 260 /* VariableDeclaration */ || node.kind === 208 /* BindingElement */ ? getInitialType(node) : getAssignedType(node), + reference + ); + } + function getTypeAtFlowAssignment(flow) { + const node = flow.node; + if (isMatchingReference(reference, node)) { + if (!isReachableFlowNode(flow)) { + return unreachableNeverType; + } + if (getAssignmentTargetKind(node) === 2 /* Compound */) { + const flowType = getTypeAtFlowNode(flow.antecedent); + return createFlowType(getBaseTypeOfLiteralType(getTypeFromFlowType(flowType)), isIncomplete(flowType)); + } + if (declaredType === autoType || declaredType === autoArrayType) { + if (isEmptyArrayAssignment(node)) { + return getEvolvingArrayType(neverType); + } + const assignedType = getWidenedLiteralType(getInitialOrAssignedType(flow)); + return isTypeAssignableTo(assignedType, declaredType) ? assignedType : anyArrayType; + } + const t = isInCompoundLikeAssignment(node) ? getBaseTypeOfLiteralType(declaredType) : declaredType; + if (t.flags & 1048576 /* Union */) { + return getAssignmentReducedType(t, getInitialOrAssignedType(flow)); + } + return t; + } + if (containsMatchingReference(reference, node)) { + if (!isReachableFlowNode(flow)) { + return unreachableNeverType; + } + if (isVariableDeclaration(node) && (isInJSFile(node) || isVarConstLike2(node))) { + const init = getDeclaredExpandoInitializer(node); + if (init && (init.kind === 218 /* FunctionExpression */ || init.kind === 219 /* ArrowFunction */)) { + return getTypeAtFlowNode(flow.antecedent); + } + } + return declaredType; + } + if (isVariableDeclaration(node) && node.parent.parent.kind === 249 /* ForInStatement */ && (isMatchingReference(reference, node.parent.parent.expression) || optionalChainContainsReference(node.parent.parent.expression, reference))) { + return getNonNullableTypeIfNeeded(finalizeEvolvingArrayType(getTypeFromFlowType(getTypeAtFlowNode(flow.antecedent)))); + } + return void 0; + } + function narrowTypeByAssertion(type, expr) { + const node = skipParentheses( + expr, + /*excludeJSDocTypeAssertions*/ + true + ); + if (node.kind === 97 /* FalseKeyword */) { + return unreachableNeverType; + } + if (node.kind === 226 /* BinaryExpression */) { + if (node.operatorToken.kind === 56 /* AmpersandAmpersandToken */) { + return narrowTypeByAssertion(narrowTypeByAssertion(type, node.left), node.right); + } + if (node.operatorToken.kind === 57 /* BarBarToken */) { + return getUnionType([narrowTypeByAssertion(type, node.left), narrowTypeByAssertion(type, node.right)]); + } + } + return narrowType( + type, + node, + /*assumeTrue*/ + true + ); + } + function getTypeAtFlowCall(flow) { + const signature = getEffectsSignature(flow.node); + if (signature) { + const predicate = getTypePredicateOfSignature(signature); + if (predicate && (predicate.kind === 2 /* AssertsThis */ || predicate.kind === 3 /* AssertsIdentifier */)) { + const flowType = getTypeAtFlowNode(flow.antecedent); + const type = finalizeEvolvingArrayType(getTypeFromFlowType(flowType)); + const narrowedType = predicate.type ? narrowTypeByTypePredicate( + type, + predicate, + flow.node, + /*assumeTrue*/ + true + ) : predicate.kind === 3 /* AssertsIdentifier */ && predicate.parameterIndex >= 0 && predicate.parameterIndex < flow.node.arguments.length ? narrowTypeByAssertion(type, flow.node.arguments[predicate.parameterIndex]) : type; + return narrowedType === type ? flowType : createFlowType(narrowedType, isIncomplete(flowType)); + } + if (getReturnTypeOfSignature(signature).flags & 131072 /* Never */) { + return unreachableNeverType; + } + } + return void 0; + } + function getTypeAtFlowArrayMutation(flow) { + if (declaredType === autoType || declaredType === autoArrayType) { + const node = flow.node; + const expr = node.kind === 213 /* CallExpression */ ? node.expression.expression : node.left.expression; + if (isMatchingReference(reference, getReferenceCandidate(expr))) { + const flowType = getTypeAtFlowNode(flow.antecedent); + const type = getTypeFromFlowType(flowType); + if (getObjectFlags(type) & 256 /* EvolvingArray */) { + let evolvedType2 = type; + if (node.kind === 213 /* CallExpression */) { + for (const arg of node.arguments) { + evolvedType2 = addEvolvingArrayElementType(evolvedType2, arg); + } + } else { + const indexType = getContextFreeTypeOfExpression(node.left.argumentExpression); + if (isTypeAssignableToKind(indexType, 296 /* NumberLike */)) { + evolvedType2 = addEvolvingArrayElementType(evolvedType2, node.right); + } + } + return evolvedType2 === type ? flowType : createFlowType(evolvedType2, isIncomplete(flowType)); + } + return flowType; + } + } + return void 0; + } + function getTypeAtFlowCondition(flow) { + const flowType = getTypeAtFlowNode(flow.antecedent); + const type = getTypeFromFlowType(flowType); + if (type.flags & 131072 /* Never */) { + return flowType; + } + const assumeTrue = (flow.flags & 32 /* TrueCondition */) !== 0; + const nonEvolvingType = finalizeEvolvingArrayType(type); + const narrowedType = narrowType(nonEvolvingType, flow.node, assumeTrue); + if (narrowedType === nonEvolvingType) { + return flowType; + } + return createFlowType(narrowedType, isIncomplete(flowType)); + } + function getTypeAtSwitchClause(flow) { + const expr = skipParentheses(flow.node.switchStatement.expression); + const flowType = getTypeAtFlowNode(flow.antecedent); + let type = getTypeFromFlowType(flowType); + if (isMatchingReference(reference, expr)) { + type = narrowTypeBySwitchOnDiscriminant(type, flow.node); + } else if (expr.kind === 221 /* TypeOfExpression */ && isMatchingReference(reference, expr.expression)) { + type = narrowTypeBySwitchOnTypeOf(type, flow.node); + } else if (expr.kind === 112 /* TrueKeyword */) { + type = narrowTypeBySwitchOnTrue(type, flow.node); + } else { + if (strictNullChecks) { + if (optionalChainContainsReference(expr, reference)) { + type = narrowTypeBySwitchOptionalChainContainment(type, flow.node, (t) => !(t.flags & (32768 /* Undefined */ | 131072 /* Never */))); + } else if (expr.kind === 221 /* TypeOfExpression */ && optionalChainContainsReference(expr.expression, reference)) { + type = narrowTypeBySwitchOptionalChainContainment(type, flow.node, (t) => !(t.flags & 131072 /* Never */ || t.flags & 128 /* StringLiteral */ && t.value === "undefined")); + } + } + const access = getDiscriminantPropertyAccess(expr, type); + if (access) { + type = narrowTypeBySwitchOnDiscriminantProperty(type, access, flow.node); + } + } + return createFlowType(type, isIncomplete(flowType)); + } + function getTypeAtFlowBranchLabel(flow) { + const antecedentTypes = []; + let subtypeReduction = false; + let seenIncomplete = false; + let bypassFlow; + for (const antecedent of flow.antecedent) { + if (!bypassFlow && antecedent.flags & 128 /* SwitchClause */ && antecedent.node.clauseStart === antecedent.node.clauseEnd) { + bypassFlow = antecedent; + continue; + } + const flowType = getTypeAtFlowNode(antecedent); + const type = getTypeFromFlowType(flowType); + if (type === declaredType && declaredType === initialType) { + return type; + } + pushIfUnique(antecedentTypes, type); + if (!isTypeSubsetOf(type, initialType)) { + subtypeReduction = true; + } + if (isIncomplete(flowType)) { + seenIncomplete = true; + } + } + if (bypassFlow) { + const flowType = getTypeAtFlowNode(bypassFlow); + const type = getTypeFromFlowType(flowType); + if (!(type.flags & 131072 /* Never */) && !contains(antecedentTypes, type) && !isExhaustiveSwitchStatement(bypassFlow.node.switchStatement)) { + if (type === declaredType && declaredType === initialType) { + return type; + } + antecedentTypes.push(type); + if (!isTypeSubsetOf(type, initialType)) { + subtypeReduction = true; + } + if (isIncomplete(flowType)) { + seenIncomplete = true; + } + } + } + return createFlowType(getUnionOrEvolvingArrayType(antecedentTypes, subtypeReduction ? 2 /* Subtype */ : 1 /* Literal */), seenIncomplete); + } + function getTypeAtFlowLoopLabel(flow) { + const id = getFlowNodeId(flow); + const cache = flowLoopCaches[id] || (flowLoopCaches[id] = /* @__PURE__ */ new Map()); + const key2 = getOrSetCacheKey(); + if (!key2) { + return declaredType; + } + const cached = cache.get(key2); + if (cached) { + return cached; + } + for (let i = flowLoopStart; i < flowLoopCount; i++) { + if (flowLoopNodes[i] === flow && flowLoopKeys[i] === key2 && flowLoopTypes[i].length) { + return createFlowType( + getUnionOrEvolvingArrayType(flowLoopTypes[i], 1 /* Literal */), + /*incomplete*/ + true + ); + } + } + const antecedentTypes = []; + let subtypeReduction = false; + let firstAntecedentType; + for (const antecedent of flow.antecedent) { + let flowType; + if (!firstAntecedentType) { + flowType = firstAntecedentType = getTypeAtFlowNode(antecedent); + } else { + flowLoopNodes[flowLoopCount] = flow; + flowLoopKeys[flowLoopCount] = key2; + flowLoopTypes[flowLoopCount] = antecedentTypes; + flowLoopCount++; + const saveFlowTypeCache = flowTypeCache; + flowTypeCache = void 0; + flowType = getTypeAtFlowNode(antecedent); + flowTypeCache = saveFlowTypeCache; + flowLoopCount--; + const cached2 = cache.get(key2); + if (cached2) { + return cached2; + } + } + const type = getTypeFromFlowType(flowType); + pushIfUnique(antecedentTypes, type); + if (!isTypeSubsetOf(type, initialType)) { + subtypeReduction = true; + } + if (type === declaredType) { + break; + } + } + const result = getUnionOrEvolvingArrayType(antecedentTypes, subtypeReduction ? 2 /* Subtype */ : 1 /* Literal */); + if (isIncomplete(firstAntecedentType)) { + return createFlowType( + result, + /*incomplete*/ + true + ); + } + cache.set(key2, result); + return result; + } + function getUnionOrEvolvingArrayType(types, subtypeReduction) { + if (isEvolvingArrayTypeList(types)) { + return getEvolvingArrayType(getUnionType(map(types, getElementTypeOfEvolvingArrayType))); + } + const result = recombineUnknownType(getUnionType(sameMap(types, finalizeEvolvingArrayType), subtypeReduction)); + if (result !== declaredType && result.flags & declaredType.flags & 1048576 /* Union */ && arrayIsEqualTo(result.types, declaredType.types)) { + return declaredType; + } + return result; + } + function getCandidateDiscriminantPropertyAccess(expr) { + if (isBindingPattern(reference) || isFunctionExpressionOrArrowFunction(reference) || isObjectLiteralMethod(reference)) { + if (isIdentifier(expr)) { + const symbol = getResolvedSymbol(expr); + const declaration = symbol.valueDeclaration; + if (declaration && (isBindingElement(declaration) || isParameter(declaration)) && reference === declaration.parent && !declaration.initializer && !declaration.dotDotDotToken) { + return declaration; + } + } + } else if (isAccessExpression(expr)) { + if (isMatchingReference(reference, expr.expression)) { + return expr; + } + } else if (isIdentifier(expr)) { + const symbol = getResolvedSymbol(expr); + if (isConstantVariable(symbol)) { + const declaration = symbol.valueDeclaration; + if (isVariableDeclaration(declaration) && !declaration.type && declaration.initializer && isAccessExpression(declaration.initializer) && isMatchingReference(reference, declaration.initializer.expression)) { + return declaration.initializer; + } + if (isBindingElement(declaration) && !declaration.initializer) { + const parent = declaration.parent.parent; + if (isVariableDeclaration(parent) && !parent.type && parent.initializer && (isIdentifier(parent.initializer) || isAccessExpression(parent.initializer)) && isMatchingReference(reference, parent.initializer)) { + return declaration; + } + } + } + } + return void 0; + } + function getDiscriminantPropertyAccess(expr, computedType) { + if (declaredType.flags & 1048576 /* Union */ || computedType.flags & 1048576 /* Union */) { + const access = getCandidateDiscriminantPropertyAccess(expr); + if (access) { + const name = getAccessedPropertyName(access); + if (name) { + const type = declaredType.flags & 1048576 /* Union */ && isTypeSubsetOf(computedType, declaredType) ? declaredType : computedType; + if (isDiscriminantProperty(type, name)) { + return access; + } + } + } + } + return void 0; + } + function narrowTypeByDiscriminant(type, access, narrowType2) { + const propName = getAccessedPropertyName(access); + if (propName === void 0) { + return type; + } + const optionalChain = isOptionalChain(access); + const removeNullable = strictNullChecks && (optionalChain || isNonNullAccess(access)) && maybeTypeOfKind(type, 98304 /* Nullable */); + let propType = getTypeOfPropertyOfType(removeNullable ? getTypeWithFacts(type, 2097152 /* NEUndefinedOrNull */) : type, propName); + if (!propType) { + return type; + } + propType = removeNullable && optionalChain ? getOptionalType(propType) : propType; + const narrowedPropType = narrowType2(propType); + return filterType(type, (t) => { + const discriminantType = getTypeOfPropertyOrIndexSignatureOfType(t, propName) || unknownType; + return !(discriminantType.flags & 131072 /* Never */) && !(narrowedPropType.flags & 131072 /* Never */) && areTypesComparable(narrowedPropType, discriminantType); + }); + } + function narrowTypeByDiscriminantProperty(type, access, operator, value, assumeTrue) { + if ((operator === 37 /* EqualsEqualsEqualsToken */ || operator === 38 /* ExclamationEqualsEqualsToken */) && type.flags & 1048576 /* Union */) { + const keyPropertyName = getKeyPropertyName(type); + if (keyPropertyName && keyPropertyName === getAccessedPropertyName(access)) { + const candidate = getConstituentTypeForKeyType(type, getTypeOfExpression(value)); + if (candidate) { + return operator === (assumeTrue ? 37 /* EqualsEqualsEqualsToken */ : 38 /* ExclamationEqualsEqualsToken */) ? candidate : isUnitType(getTypeOfPropertyOfType(candidate, keyPropertyName) || unknownType) ? removeType(type, candidate) : type; + } + } + } + return narrowTypeByDiscriminant(type, access, (t) => narrowTypeByEquality(t, operator, value, assumeTrue)); + } + function narrowTypeBySwitchOnDiscriminantProperty(type, access, data) { + if (data.clauseStart < data.clauseEnd && type.flags & 1048576 /* Union */ && getKeyPropertyName(type) === getAccessedPropertyName(access)) { + const clauseTypes = getSwitchClauseTypes(data.switchStatement).slice(data.clauseStart, data.clauseEnd); + const candidate = getUnionType(map(clauseTypes, (t) => getConstituentTypeForKeyType(type, t) || unknownType)); + if (candidate !== unknownType) { + return candidate; + } + } + return narrowTypeByDiscriminant(type, access, (t) => narrowTypeBySwitchOnDiscriminant(t, data)); + } + function narrowTypeByTruthiness(type, expr, assumeTrue) { + if (isMatchingReference(reference, expr)) { + return getAdjustedTypeWithFacts(type, assumeTrue ? 4194304 /* Truthy */ : 8388608 /* Falsy */); + } + if (strictNullChecks && assumeTrue && optionalChainContainsReference(expr, reference)) { + type = getAdjustedTypeWithFacts(type, 2097152 /* NEUndefinedOrNull */); + } + const access = getDiscriminantPropertyAccess(expr, type); + if (access) { + return narrowTypeByDiscriminant(type, access, (t) => getTypeWithFacts(t, assumeTrue ? 4194304 /* Truthy */ : 8388608 /* Falsy */)); + } + return type; + } + function isTypePresencePossible(type, propName, assumeTrue) { + const prop = getPropertyOfType(type, propName); + return prop ? !!(prop.flags & 16777216 /* Optional */ || getCheckFlags(prop) & 48 /* Partial */) || assumeTrue : !!getApplicableIndexInfoForName(type, propName) || !assumeTrue; + } + function narrowTypeByInKeyword(type, nameType, assumeTrue) { + const name = getPropertyNameFromType(nameType); + const isKnownProperty2 = someType(type, (t) => isTypePresencePossible( + t, + name, + /*assumeTrue*/ + true + )); + if (isKnownProperty2) { + return filterType(type, (t) => isTypePresencePossible(t, name, assumeTrue)); + } + if (assumeTrue) { + const recordSymbol = getGlobalRecordSymbol(); + if (recordSymbol) { + return getIntersectionType([type, getTypeAliasInstantiation(recordSymbol, [nameType, unknownType])]); + } + } + return type; + } + function narrowTypeByBooleanComparison(type, expr, bool, operator, assumeTrue) { + assumeTrue = assumeTrue !== (bool.kind === 112 /* TrueKeyword */) !== (operator !== 38 /* ExclamationEqualsEqualsToken */ && operator !== 36 /* ExclamationEqualsToken */); + return narrowType(type, expr, assumeTrue); + } + function narrowTypeByBinaryExpression(type, expr, assumeTrue) { + switch (expr.operatorToken.kind) { + case 64 /* EqualsToken */: + case 76 /* BarBarEqualsToken */: + case 77 /* AmpersandAmpersandEqualsToken */: + case 78 /* QuestionQuestionEqualsToken */: + return narrowTypeByTruthiness(narrowType(type, expr.right, assumeTrue), expr.left, assumeTrue); + case 35 /* EqualsEqualsToken */: + case 36 /* ExclamationEqualsToken */: + case 37 /* EqualsEqualsEqualsToken */: + case 38 /* ExclamationEqualsEqualsToken */: + const operator = expr.operatorToken.kind; + const left = getReferenceCandidate(expr.left); + const right = getReferenceCandidate(expr.right); + if (left.kind === 221 /* TypeOfExpression */ && isStringLiteralLike(right)) { + return narrowTypeByTypeof(type, left, operator, right, assumeTrue); + } + if (right.kind === 221 /* TypeOfExpression */ && isStringLiteralLike(left)) { + return narrowTypeByTypeof(type, right, operator, left, assumeTrue); + } + if (isMatchingReference(reference, left)) { + return narrowTypeByEquality(type, operator, right, assumeTrue); + } + if (isMatchingReference(reference, right)) { + return narrowTypeByEquality(type, operator, left, assumeTrue); + } + if (strictNullChecks) { + if (optionalChainContainsReference(left, reference)) { + type = narrowTypeByOptionalChainContainment(type, operator, right, assumeTrue); + } else if (optionalChainContainsReference(right, reference)) { + type = narrowTypeByOptionalChainContainment(type, operator, left, assumeTrue); + } + } + const leftAccess = getDiscriminantPropertyAccess(left, type); + if (leftAccess) { + return narrowTypeByDiscriminantProperty(type, leftAccess, operator, right, assumeTrue); + } + const rightAccess = getDiscriminantPropertyAccess(right, type); + if (rightAccess) { + return narrowTypeByDiscriminantProperty(type, rightAccess, operator, left, assumeTrue); + } + if (isMatchingConstructorReference(left)) { + return narrowTypeByConstructor(type, operator, right, assumeTrue); + } + if (isMatchingConstructorReference(right)) { + return narrowTypeByConstructor(type, operator, left, assumeTrue); + } + if (isBooleanLiteral(right) && !isAccessExpression(left)) { + return narrowTypeByBooleanComparison(type, left, right, operator, assumeTrue); + } + if (isBooleanLiteral(left) && !isAccessExpression(right)) { + return narrowTypeByBooleanComparison(type, right, left, operator, assumeTrue); + } + break; + case 104 /* InstanceOfKeyword */: + return narrowTypeByInstanceof(type, expr, assumeTrue); + case 103 /* InKeyword */: + if (isPrivateIdentifier(expr.left)) { + return narrowTypeByPrivateIdentifierInInExpression(type, expr, assumeTrue); + } + const target = getReferenceCandidate(expr.right); + if (containsMissingType(type) && isAccessExpression(reference) && isMatchingReference(reference.expression, target)) { + const leftType = getTypeOfExpression(expr.left); + if (isTypeUsableAsPropertyName(leftType) && getAccessedPropertyName(reference) === getPropertyNameFromType(leftType)) { + return getTypeWithFacts(type, assumeTrue ? 524288 /* NEUndefined */ : 65536 /* EQUndefined */); + } + } + if (isMatchingReference(reference, target)) { + const leftType = getTypeOfExpression(expr.left); + if (isTypeUsableAsPropertyName(leftType)) { + return narrowTypeByInKeyword(type, leftType, assumeTrue); + } + } + break; + case 28 /* CommaToken */: + return narrowType(type, expr.right, assumeTrue); + // Ordinarily we won't see && and || expressions in control flow analysis because the Binder breaks those + // expressions down to individual conditional control flows. However, we may encounter them when analyzing + // aliased conditional expressions. + case 56 /* AmpersandAmpersandToken */: + return assumeTrue ? narrowType( + narrowType( + type, + expr.left, + /*assumeTrue*/ + true + ), + expr.right, + /*assumeTrue*/ + true + ) : getUnionType([narrowType( + type, + expr.left, + /*assumeTrue*/ + false + ), narrowType( + type, + expr.right, + /*assumeTrue*/ + false + )]); + case 57 /* BarBarToken */: + return assumeTrue ? getUnionType([narrowType( + type, + expr.left, + /*assumeTrue*/ + true + ), narrowType( + type, + expr.right, + /*assumeTrue*/ + true + )]) : narrowType( + narrowType( + type, + expr.left, + /*assumeTrue*/ + false + ), + expr.right, + /*assumeTrue*/ + false + ); + } + return type; + } + function narrowTypeByPrivateIdentifierInInExpression(type, expr, assumeTrue) { + const target = getReferenceCandidate(expr.right); + if (!isMatchingReference(reference, target)) { + return type; + } + Debug.assertNode(expr.left, isPrivateIdentifier); + const symbol = getSymbolForPrivateIdentifierExpression(expr.left); + if (symbol === void 0) { + return type; + } + const classSymbol = symbol.parent; + const targetType = hasStaticModifier(Debug.checkDefined(symbol.valueDeclaration, "should always have a declaration")) ? getTypeOfSymbol(classSymbol) : getDeclaredTypeOfSymbol(classSymbol); + return getNarrowedType( + type, + targetType, + assumeTrue, + /*checkDerived*/ + true + ); + } + function narrowTypeByOptionalChainContainment(type, operator, value, assumeTrue) { + const equalsOperator = operator === 35 /* EqualsEqualsToken */ || operator === 37 /* EqualsEqualsEqualsToken */; + const nullableFlags = operator === 35 /* EqualsEqualsToken */ || operator === 36 /* ExclamationEqualsToken */ ? 98304 /* Nullable */ : 32768 /* Undefined */; + const valueType = getTypeOfExpression(value); + const removeNullable = equalsOperator !== assumeTrue && everyType(valueType, (t) => !!(t.flags & nullableFlags)) || equalsOperator === assumeTrue && everyType(valueType, (t) => !(t.flags & (3 /* AnyOrUnknown */ | nullableFlags))); + return removeNullable ? getAdjustedTypeWithFacts(type, 2097152 /* NEUndefinedOrNull */) : type; + } + function narrowTypeByEquality(type, operator, value, assumeTrue) { + if (type.flags & 1 /* Any */) { + return type; + } + if (operator === 36 /* ExclamationEqualsToken */ || operator === 38 /* ExclamationEqualsEqualsToken */) { + assumeTrue = !assumeTrue; + } + const valueType = getTypeOfExpression(value); + const doubleEquals = operator === 35 /* EqualsEqualsToken */ || operator === 36 /* ExclamationEqualsToken */; + if (valueType.flags & 98304 /* Nullable */) { + if (!strictNullChecks) { + return type; + } + const facts = doubleEquals ? assumeTrue ? 262144 /* EQUndefinedOrNull */ : 2097152 /* NEUndefinedOrNull */ : valueType.flags & 65536 /* Null */ ? assumeTrue ? 131072 /* EQNull */ : 1048576 /* NENull */ : assumeTrue ? 65536 /* EQUndefined */ : 524288 /* NEUndefined */; + return getAdjustedTypeWithFacts(type, facts); + } + if (assumeTrue) { + if (!doubleEquals && (type.flags & 2 /* Unknown */ || someType(type, isEmptyAnonymousObjectType))) { + if (valueType.flags & (402784252 /* Primitive */ | 67108864 /* NonPrimitive */) || isEmptyAnonymousObjectType(valueType)) { + return valueType; + } + if (valueType.flags & 524288 /* Object */) { + return nonPrimitiveType; + } + } + const filteredType = filterType(type, (t) => areTypesComparable(t, valueType) || doubleEquals && isCoercibleUnderDoubleEquals(t, valueType)); + return replacePrimitivesWithLiterals(filteredType, valueType); + } + if (isUnitType(valueType)) { + return filterType(type, (t) => !(isUnitLikeType(t) && areTypesComparable(t, valueType))); + } + return type; + } + function narrowTypeByTypeof(type, typeOfExpr, operator, literal, assumeTrue) { + if (operator === 36 /* ExclamationEqualsToken */ || operator === 38 /* ExclamationEqualsEqualsToken */) { + assumeTrue = !assumeTrue; + } + const target = getReferenceCandidate(typeOfExpr.expression); + if (!isMatchingReference(reference, target)) { + if (strictNullChecks && optionalChainContainsReference(target, reference) && assumeTrue === (literal.text !== "undefined")) { + type = getAdjustedTypeWithFacts(type, 2097152 /* NEUndefinedOrNull */); + } + const propertyAccess = getDiscriminantPropertyAccess(target, type); + if (propertyAccess) { + return narrowTypeByDiscriminant(type, propertyAccess, (t) => narrowTypeByLiteralExpression(t, literal, assumeTrue)); + } + return type; + } + return narrowTypeByLiteralExpression(type, literal, assumeTrue); + } + function narrowTypeByLiteralExpression(type, literal, assumeTrue) { + return assumeTrue ? narrowTypeByTypeName(type, literal.text) : getAdjustedTypeWithFacts(type, typeofNEFacts.get(literal.text) || 32768 /* TypeofNEHostObject */); + } + function narrowTypeBySwitchOptionalChainContainment(type, { switchStatement, clauseStart, clauseEnd }, clauseCheck) { + const everyClauseChecks = clauseStart !== clauseEnd && every(getSwitchClauseTypes(switchStatement).slice(clauseStart, clauseEnd), clauseCheck); + return everyClauseChecks ? getTypeWithFacts(type, 2097152 /* NEUndefinedOrNull */) : type; + } + function narrowTypeBySwitchOnDiscriminant(type, { switchStatement, clauseStart, clauseEnd }) { + const switchTypes = getSwitchClauseTypes(switchStatement); + if (!switchTypes.length) { + return type; + } + const clauseTypes = switchTypes.slice(clauseStart, clauseEnd); + const hasDefaultClause = clauseStart === clauseEnd || contains(clauseTypes, neverType); + if (type.flags & 2 /* Unknown */ && !hasDefaultClause) { + let groundClauseTypes; + for (let i = 0; i < clauseTypes.length; i += 1) { + const t = clauseTypes[i]; + if (t.flags & (402784252 /* Primitive */ | 67108864 /* NonPrimitive */)) { + if (groundClauseTypes !== void 0) { + groundClauseTypes.push(t); + } + } else if (t.flags & 524288 /* Object */) { + if (groundClauseTypes === void 0) { + groundClauseTypes = clauseTypes.slice(0, i); + } + groundClauseTypes.push(nonPrimitiveType); + } else { + return type; + } + } + return getUnionType(groundClauseTypes === void 0 ? clauseTypes : groundClauseTypes); + } + const discriminantType = getUnionType(clauseTypes); + const caseType = discriminantType.flags & 131072 /* Never */ ? neverType : replacePrimitivesWithLiterals(filterType(type, (t) => areTypesComparable(discriminantType, t)), discriminantType); + if (!hasDefaultClause) { + return caseType; + } + const defaultType = filterType(type, (t) => !(isUnitLikeType(t) && contains(switchTypes, t.flags & 32768 /* Undefined */ ? undefinedType : getRegularTypeOfLiteralType(extractUnitType(t))))); + return caseType.flags & 131072 /* Never */ ? defaultType : getUnionType([caseType, defaultType]); + } + function narrowTypeByTypeName(type, typeName) { + switch (typeName) { + case "string": + return narrowTypeByTypeFacts(type, stringType, 1 /* TypeofEQString */); + case "number": + return narrowTypeByTypeFacts(type, numberType, 2 /* TypeofEQNumber */); + case "bigint": + return narrowTypeByTypeFacts(type, bigintType, 4 /* TypeofEQBigInt */); + case "boolean": + return narrowTypeByTypeFacts(type, booleanType, 8 /* TypeofEQBoolean */); + case "symbol": + return narrowTypeByTypeFacts(type, esSymbolType, 16 /* TypeofEQSymbol */); + case "object": + return type.flags & 1 /* Any */ ? type : getUnionType([narrowTypeByTypeFacts(type, nonPrimitiveType, 32 /* TypeofEQObject */), narrowTypeByTypeFacts(type, nullType, 131072 /* EQNull */)]); + case "function": + return type.flags & 1 /* Any */ ? type : narrowTypeByTypeFacts(type, globalFunctionType, 64 /* TypeofEQFunction */); + case "undefined": + return narrowTypeByTypeFacts(type, undefinedType, 65536 /* EQUndefined */); + } + return narrowTypeByTypeFacts(type, nonPrimitiveType, 128 /* TypeofEQHostObject */); + } + function narrowTypeByTypeFacts(type, impliedType, facts) { + return mapType(type, (t) => ( + // We first check if a constituent is a subtype of the implied type. If so, we either keep or eliminate + // the constituent based on its type facts. We use the strict subtype relation because it treats `object` + // as a subtype of `{}`, and we need the type facts check because function types are subtypes of `object`, + // but are classified as "function" according to `typeof`. + isTypeRelatedTo(t, impliedType, strictSubtypeRelation) ? hasTypeFacts(t, facts) ? t : neverType : ( + // We next check if the consituent is a supertype of the implied type. If so, we substitute the implied + // type. This handles top types like `unknown` and `{}`, and supertypes like `{ toString(): string }`. + isTypeSubtypeOf(impliedType, t) ? impliedType : ( + // Neither the constituent nor the implied type is a subtype of the other, however their domains may still + // overlap. For example, an unconstrained type parameter and type `string`. If the type facts indicate + // possible overlap, we form an intersection. Otherwise, we eliminate the constituent. + hasTypeFacts(t, facts) ? getIntersectionType([t, impliedType]) : neverType + ) + ) + )); + } + function narrowTypeBySwitchOnTypeOf(type, { switchStatement, clauseStart, clauseEnd }) { + const witnesses = getSwitchClauseTypeOfWitnesses(switchStatement); + if (!witnesses) { + return type; + } + const defaultIndex = findIndex(switchStatement.caseBlock.clauses, (clause) => clause.kind === 297 /* DefaultClause */); + const hasDefaultClause = clauseStart === clauseEnd || defaultIndex >= clauseStart && defaultIndex < clauseEnd; + if (hasDefaultClause) { + const notEqualFacts = getNotEqualFactsFromTypeofSwitch(clauseStart, clauseEnd, witnesses); + return filterType(type, (t) => getTypeFacts(t, notEqualFacts) === notEqualFacts); + } + const clauseWitnesses = witnesses.slice(clauseStart, clauseEnd); + return getUnionType(map(clauseWitnesses, (text) => text ? narrowTypeByTypeName(type, text) : neverType)); + } + function narrowTypeBySwitchOnTrue(type, { switchStatement, clauseStart, clauseEnd }) { + const defaultIndex = findIndex(switchStatement.caseBlock.clauses, (clause) => clause.kind === 297 /* DefaultClause */); + const hasDefaultClause = clauseStart === clauseEnd || defaultIndex >= clauseStart && defaultIndex < clauseEnd; + for (let i = 0; i < clauseStart; i++) { + const clause = switchStatement.caseBlock.clauses[i]; + if (clause.kind === 296 /* CaseClause */) { + type = narrowType( + type, + clause.expression, + /*assumeTrue*/ + false + ); + } + } + if (hasDefaultClause) { + for (let i = clauseEnd; i < switchStatement.caseBlock.clauses.length; i++) { + const clause = switchStatement.caseBlock.clauses[i]; + if (clause.kind === 296 /* CaseClause */) { + type = narrowType( + type, + clause.expression, + /*assumeTrue*/ + false + ); + } + } + return type; + } + const clauses = switchStatement.caseBlock.clauses.slice(clauseStart, clauseEnd); + return getUnionType(map(clauses, (clause) => clause.kind === 296 /* CaseClause */ ? narrowType( + type, + clause.expression, + /*assumeTrue*/ + true + ) : neverType)); + } + function isMatchingConstructorReference(expr) { + return (isPropertyAccessExpression(expr) && idText(expr.name) === "constructor" || isElementAccessExpression(expr) && isStringLiteralLike(expr.argumentExpression) && expr.argumentExpression.text === "constructor") && isMatchingReference(reference, expr.expression); + } + function narrowTypeByConstructor(type, operator, identifier, assumeTrue) { + if (assumeTrue ? operator !== 35 /* EqualsEqualsToken */ && operator !== 37 /* EqualsEqualsEqualsToken */ : operator !== 36 /* ExclamationEqualsToken */ && operator !== 38 /* ExclamationEqualsEqualsToken */) { + return type; + } + const identifierType = getTypeOfExpression(identifier); + if (!isFunctionType(identifierType) && !isConstructorType(identifierType)) { + return type; + } + const prototypeProperty = getPropertyOfType(identifierType, "prototype"); + if (!prototypeProperty) { + return type; + } + const prototypeType = getTypeOfSymbol(prototypeProperty); + const candidate = !isTypeAny(prototypeType) ? prototypeType : void 0; + if (!candidate || candidate === globalObjectType || candidate === globalFunctionType) { + return type; + } + if (isTypeAny(type)) { + return candidate; + } + return filterType(type, (t) => isConstructedBy(t, candidate)); + function isConstructedBy(source, target) { + if (source.flags & 524288 /* Object */ && getObjectFlags(source) & 1 /* Class */ || target.flags & 524288 /* Object */ && getObjectFlags(target) & 1 /* Class */) { + return source.symbol === target.symbol; + } + return isTypeSubtypeOf(source, target); + } + } + function narrowTypeByInstanceof(type, expr, assumeTrue) { + const left = getReferenceCandidate(expr.left); + if (!isMatchingReference(reference, left)) { + if (assumeTrue && strictNullChecks && optionalChainContainsReference(left, reference)) { + return getAdjustedTypeWithFacts(type, 2097152 /* NEUndefinedOrNull */); + } + return type; + } + const right = expr.right; + const rightType = getTypeOfExpression(right); + if (!isTypeDerivedFrom(rightType, globalObjectType)) { + return type; + } + const signature = getEffectsSignature(expr); + const predicate = signature && getTypePredicateOfSignature(signature); + if (predicate && predicate.kind === 1 /* Identifier */ && predicate.parameterIndex === 0) { + return getNarrowedType( + type, + predicate.type, + assumeTrue, + /*checkDerived*/ + true + ); + } + if (!isTypeDerivedFrom(rightType, globalFunctionType)) { + return type; + } + const instanceType = mapType(rightType, getInstanceType); + if (isTypeAny(type) && (instanceType === globalObjectType || instanceType === globalFunctionType) || !assumeTrue && !(instanceType.flags & 524288 /* Object */ && !isEmptyAnonymousObjectType(instanceType))) { + return type; + } + return getNarrowedType( + type, + instanceType, + assumeTrue, + /*checkDerived*/ + true + ); + } + function getInstanceType(constructorType) { + const prototypePropertyType = getTypeOfPropertyOfType(constructorType, "prototype"); + if (prototypePropertyType && !isTypeAny(prototypePropertyType)) { + return prototypePropertyType; + } + const constructSignatures = getSignaturesOfType(constructorType, 1 /* Construct */); + if (constructSignatures.length) { + return getUnionType(map(constructSignatures, (signature) => getReturnTypeOfSignature(getErasedSignature(signature)))); + } + return emptyObjectType; + } + function getNarrowedType(type, candidate, assumeTrue, checkDerived) { + const key2 = type.flags & 1048576 /* Union */ ? `N${getTypeId(type)},${getTypeId(candidate)},${(assumeTrue ? 1 : 0) | (checkDerived ? 2 : 0)}` : void 0; + return getCachedType(key2) ?? setCachedType(key2, getNarrowedTypeWorker(type, candidate, assumeTrue, checkDerived)); + } + function getNarrowedTypeWorker(type, candidate, assumeTrue, checkDerived) { + if (!assumeTrue) { + if (type === candidate) { + return neverType; + } + if (checkDerived) { + return filterType(type, (t) => !isTypeDerivedFrom(t, candidate)); + } + const trueType2 = getNarrowedType( + type, + candidate, + /*assumeTrue*/ + true, + /*checkDerived*/ + false + ); + return filterType(type, (t) => !isTypeSubsetOf(t, trueType2)); + } + if (type.flags & 3 /* AnyOrUnknown */) { + return candidate; + } + if (type === candidate) { + return candidate; + } + const isRelated = checkDerived ? isTypeDerivedFrom : isTypeSubtypeOf; + const keyPropertyName = type.flags & 1048576 /* Union */ ? getKeyPropertyName(type) : void 0; + const narrowedType = mapType(candidate, (c) => { + const discriminant = keyPropertyName && getTypeOfPropertyOfType(c, keyPropertyName); + const matching = discriminant && getConstituentTypeForKeyType(type, discriminant); + const directlyRelated = mapType( + matching || type, + checkDerived ? (t) => isTypeDerivedFrom(t, c) ? t : isTypeDerivedFrom(c, t) ? c : neverType : (t) => isTypeStrictSubtypeOf(t, c) ? t : isTypeStrictSubtypeOf(c, t) ? c : isTypeSubtypeOf(t, c) ? t : isTypeSubtypeOf(c, t) ? c : neverType + ); + return directlyRelated.flags & 131072 /* Never */ ? mapType(type, (t) => maybeTypeOfKind(t, 465829888 /* Instantiable */) && isRelated(c, getBaseConstraintOfType(t) || unknownType) ? getIntersectionType([t, c]) : neverType) : directlyRelated; + }); + return !(narrowedType.flags & 131072 /* Never */) ? narrowedType : isTypeSubtypeOf(candidate, type) ? candidate : isTypeAssignableTo(type, candidate) ? type : isTypeAssignableTo(candidate, type) ? candidate : getIntersectionType([type, candidate]); + } + function narrowTypeByCallExpression(type, callExpression, assumeTrue) { + if (hasMatchingArgument(callExpression, reference)) { + const signature = assumeTrue || !isCallChain(callExpression) ? getEffectsSignature(callExpression) : void 0; + const predicate = signature && getTypePredicateOfSignature(signature); + if (predicate && (predicate.kind === 0 /* This */ || predicate.kind === 1 /* Identifier */)) { + return narrowTypeByTypePredicate(type, predicate, callExpression, assumeTrue); + } + } + if (containsMissingType(type) && isAccessExpression(reference) && isPropertyAccessExpression(callExpression.expression)) { + const callAccess = callExpression.expression; + if (isMatchingReference(reference.expression, getReferenceCandidate(callAccess.expression)) && isIdentifier(callAccess.name) && callAccess.name.escapedText === "hasOwnProperty" && callExpression.arguments.length === 1) { + const argument = callExpression.arguments[0]; + if (isStringLiteralLike(argument) && getAccessedPropertyName(reference) === escapeLeadingUnderscores(argument.text)) { + return getTypeWithFacts(type, assumeTrue ? 524288 /* NEUndefined */ : 65536 /* EQUndefined */); + } + } + } + return type; + } + function narrowTypeByTypePredicate(type, predicate, callExpression, assumeTrue) { + if (predicate.type && !(isTypeAny(type) && (predicate.type === globalObjectType || predicate.type === globalFunctionType))) { + const predicateArgument = getTypePredicateArgument(predicate, callExpression); + if (predicateArgument) { + if (isMatchingReference(reference, predicateArgument)) { + return getNarrowedType( + type, + predicate.type, + assumeTrue, + /*checkDerived*/ + false + ); + } + if (strictNullChecks && optionalChainContainsReference(predicateArgument, reference) && (assumeTrue && !hasTypeFacts(predicate.type, 65536 /* EQUndefined */) || !assumeTrue && everyType(predicate.type, isNullableType))) { + type = getAdjustedTypeWithFacts(type, 2097152 /* NEUndefinedOrNull */); + } + const access = getDiscriminantPropertyAccess(predicateArgument, type); + if (access) { + return narrowTypeByDiscriminant(type, access, (t) => getNarrowedType( + t, + predicate.type, + assumeTrue, + /*checkDerived*/ + false + )); + } + } + } + return type; + } + function narrowType(type, expr, assumeTrue) { + if (isExpressionOfOptionalChainRoot(expr) || isBinaryExpression(expr.parent) && (expr.parent.operatorToken.kind === 61 /* QuestionQuestionToken */ || expr.parent.operatorToken.kind === 78 /* QuestionQuestionEqualsToken */) && expr.parent.left === expr) { + return narrowTypeByOptionality(type, expr, assumeTrue); + } + switch (expr.kind) { + case 80 /* Identifier */: + if (!isMatchingReference(reference, expr) && inlineLevel < 5) { + const symbol = getResolvedSymbol(expr); + if (isConstantVariable(symbol)) { + const declaration = symbol.valueDeclaration; + if (declaration && isVariableDeclaration(declaration) && !declaration.type && declaration.initializer && isConstantReference(reference)) { + inlineLevel++; + const result = narrowType(type, declaration.initializer, assumeTrue); + inlineLevel--; + return result; + } + } + } + // falls through + case 110 /* ThisKeyword */: + case 108 /* SuperKeyword */: + case 211 /* PropertyAccessExpression */: + case 212 /* ElementAccessExpression */: + return narrowTypeByTruthiness(type, expr, assumeTrue); + case 213 /* CallExpression */: + return narrowTypeByCallExpression(type, expr, assumeTrue); + case 217 /* ParenthesizedExpression */: + case 235 /* NonNullExpression */: + return narrowType(type, expr.expression, assumeTrue); + case 226 /* BinaryExpression */: + return narrowTypeByBinaryExpression(type, expr, assumeTrue); + case 224 /* PrefixUnaryExpression */: + if (expr.operator === 54 /* ExclamationToken */) { + return narrowType(type, expr.operand, !assumeTrue); + } + break; + } + return type; + } + function narrowTypeByOptionality(type, expr, assumePresent) { + if (isMatchingReference(reference, expr)) { + return getAdjustedTypeWithFacts(type, assumePresent ? 2097152 /* NEUndefinedOrNull */ : 262144 /* EQUndefinedOrNull */); + } + const access = getDiscriminantPropertyAccess(expr, type); + if (access) { + return narrowTypeByDiscriminant(type, access, (t) => getTypeWithFacts(t, assumePresent ? 2097152 /* NEUndefinedOrNull */ : 262144 /* EQUndefinedOrNull */)); + } + return type; + } + } + function getTypeOfSymbolAtLocation(symbol, location) { + symbol = getExportSymbolOfValueSymbolIfExported(symbol); + if (location.kind === 80 /* Identifier */ || location.kind === 81 /* PrivateIdentifier */) { + if (isRightSideOfQualifiedNameOrPropertyAccess(location)) { + location = location.parent; + } + if (isExpressionNode(location) && (!isAssignmentTarget(location) || isWriteAccess(location))) { + const type = removeOptionalTypeMarker( + isWriteAccess(location) && location.kind === 211 /* PropertyAccessExpression */ ? checkPropertyAccessExpression( + location, + /*checkMode*/ + void 0, + /*writeOnly*/ + true + ) : getTypeOfExpression(location) + ); + if (getExportSymbolOfValueSymbolIfExported(getNodeLinks(location).resolvedSymbol) === symbol) { + return type; + } + } + } + if (isDeclarationName(location) && isSetAccessor(location.parent) && getAnnotatedAccessorTypeNode(location.parent)) { + return getWriteTypeOfAccessors(location.parent.symbol); + } + return isRightSideOfAccessExpression(location) && isWriteAccess(location.parent) ? getWriteTypeOfSymbol(symbol) : getNonMissingTypeOfSymbol(symbol); + } + function getControlFlowContainer(node) { + return findAncestor(node.parent, (node2) => isFunctionLike(node2) && !getImmediatelyInvokedFunctionExpression(node2) || node2.kind === 268 /* ModuleBlock */ || node2.kind === 307 /* SourceFile */ || node2.kind === 172 /* PropertyDeclaration */); + } + function isSymbolAssignedDefinitely(symbol) { + if (symbol.lastAssignmentPos !== void 0) { + return symbol.lastAssignmentPos < 0; + } + return isSymbolAssigned(symbol) && symbol.lastAssignmentPos !== void 0 && symbol.lastAssignmentPos < 0; + } + function isSymbolAssigned(symbol) { + return !isPastLastAssignment( + symbol, + /*location*/ + void 0 + ); + } + function isPastLastAssignment(symbol, location) { + const parent = findAncestor(symbol.valueDeclaration, isFunctionOrSourceFile); + if (!parent) { + return false; + } + const links = getNodeLinks(parent); + if (!(links.flags & 131072 /* AssignmentsMarked */)) { + links.flags |= 131072 /* AssignmentsMarked */; + if (!hasParentWithAssignmentsMarked(parent)) { + markNodeAssignments(parent); + } + } + return !symbol.lastAssignmentPos || location && Math.abs(symbol.lastAssignmentPos) < location.pos; + } + function isSomeSymbolAssigned(rootDeclaration) { + Debug.assert(isVariableDeclaration(rootDeclaration) || isParameter(rootDeclaration)); + return isSomeSymbolAssignedWorker(rootDeclaration.name); + } + function isSomeSymbolAssignedWorker(node) { + if (node.kind === 80 /* Identifier */) { + return isSymbolAssigned(getSymbolOfDeclaration(node.parent)); + } + return some(node.elements, (e) => e.kind !== 232 /* OmittedExpression */ && isSomeSymbolAssignedWorker(e.name)); + } + function hasParentWithAssignmentsMarked(node) { + return !!findAncestor(node.parent, (node2) => isFunctionOrSourceFile(node2) && !!(getNodeLinks(node2).flags & 131072 /* AssignmentsMarked */)); + } + function isFunctionOrSourceFile(node) { + return isFunctionLikeDeclaration(node) || isSourceFile(node); + } + function markNodeAssignments(node) { + switch (node.kind) { + case 80 /* Identifier */: + const assigmentTarget = getAssignmentTargetKind(node); + if (assigmentTarget !== 0 /* None */) { + const symbol = getResolvedSymbol(node); + const hasDefiniteAssignment = assigmentTarget === 1 /* Definite */ || symbol.lastAssignmentPos !== void 0 && symbol.lastAssignmentPos < 0; + if (isParameterOrMutableLocalVariable(symbol)) { + if (symbol.lastAssignmentPos === void 0 || Math.abs(symbol.lastAssignmentPos) !== Number.MAX_VALUE) { + const referencingFunction = findAncestor(node, isFunctionOrSourceFile); + const declaringFunction = findAncestor(symbol.valueDeclaration, isFunctionOrSourceFile); + symbol.lastAssignmentPos = referencingFunction === declaringFunction ? extendAssignmentPosition(node, symbol.valueDeclaration) : Number.MAX_VALUE; + } + if (hasDefiniteAssignment && symbol.lastAssignmentPos > 0) { + symbol.lastAssignmentPos *= -1; + } + } + } + return; + case 281 /* ExportSpecifier */: + const exportDeclaration = node.parent.parent; + const name = node.propertyName || node.name; + if (!node.isTypeOnly && !exportDeclaration.isTypeOnly && !exportDeclaration.moduleSpecifier && name.kind !== 11 /* StringLiteral */) { + const symbol = resolveEntityName( + name, + 111551 /* Value */, + /*ignoreErrors*/ + true, + /*dontResolveAlias*/ + true + ); + if (symbol && isParameterOrMutableLocalVariable(symbol)) { + const sign = symbol.lastAssignmentPos !== void 0 && symbol.lastAssignmentPos < 0 ? -1 : 1; + symbol.lastAssignmentPos = sign * Number.MAX_VALUE; + } + } + return; + case 264 /* InterfaceDeclaration */: + case 265 /* TypeAliasDeclaration */: + case 266 /* EnumDeclaration */: + return; + } + if (isTypeNode(node)) { + return; + } + forEachChild(node, markNodeAssignments); + } + function extendAssignmentPosition(node, declaration) { + let pos = node.pos; + while (node && node.pos > declaration.pos) { + switch (node.kind) { + case 243 /* VariableStatement */: + case 244 /* ExpressionStatement */: + case 245 /* IfStatement */: + case 246 /* DoStatement */: + case 247 /* WhileStatement */: + case 248 /* ForStatement */: + case 249 /* ForInStatement */: + case 250 /* ForOfStatement */: + case 254 /* WithStatement */: + case 255 /* SwitchStatement */: + case 258 /* TryStatement */: + case 263 /* ClassDeclaration */: + pos = node.end; + } + node = node.parent; + } + return pos; + } + function isConstantVariable(symbol) { + return symbol.flags & 3 /* Variable */ && (getDeclarationNodeFlagsFromSymbol(symbol) & 6 /* Constant */) !== 0; + } + function isParameterOrMutableLocalVariable(symbol) { + const declaration = symbol.valueDeclaration && getRootDeclaration(symbol.valueDeclaration); + return !!declaration && (isParameter(declaration) || isVariableDeclaration(declaration) && (isCatchClause(declaration.parent) || isMutableLocalVariableDeclaration(declaration))); + } + function isMutableLocalVariableDeclaration(declaration) { + return !!(declaration.parent.flags & 1 /* Let */) && !(getCombinedModifierFlags(declaration) & 32 /* Export */ || declaration.parent.parent.kind === 243 /* VariableStatement */ && isGlobalSourceFile(declaration.parent.parent.parent)); + } + function parameterInitializerContainsUndefined(declaration) { + const links = getNodeLinks(declaration); + if (links.parameterInitializerContainsUndefined === void 0) { + if (!pushTypeResolution(declaration, 8 /* ParameterInitializerContainsUndefined */)) { + reportCircularityError(declaration.symbol); + return true; + } + const containsUndefined = !!hasTypeFacts(checkDeclarationInitializer(declaration, 0 /* Normal */), 16777216 /* IsUndefined */); + if (!popTypeResolution()) { + reportCircularityError(declaration.symbol); + return true; + } + links.parameterInitializerContainsUndefined ?? (links.parameterInitializerContainsUndefined = containsUndefined); + } + return links.parameterInitializerContainsUndefined; + } + function removeOptionalityFromDeclaredType(declaredType, declaration) { + const removeUndefined = strictNullChecks && declaration.kind === 169 /* Parameter */ && declaration.initializer && hasTypeFacts(declaredType, 16777216 /* IsUndefined */) && !parameterInitializerContainsUndefined(declaration); + return removeUndefined ? getTypeWithFacts(declaredType, 524288 /* NEUndefined */) : declaredType; + } + function isConstraintPosition(type, node) { + const parent = node.parent; + return parent.kind === 211 /* PropertyAccessExpression */ || parent.kind === 166 /* QualifiedName */ || parent.kind === 213 /* CallExpression */ && parent.expression === node || parent.kind === 214 /* NewExpression */ && parent.expression === node || parent.kind === 212 /* ElementAccessExpression */ && parent.expression === node && !(someType(type, isGenericTypeWithoutNullableConstraint) && isGenericIndexType(getTypeOfExpression(parent.argumentExpression))); + } + function isGenericTypeWithUnionConstraint(type) { + return type.flags & 2097152 /* Intersection */ ? some(type.types, isGenericTypeWithUnionConstraint) : !!(type.flags & 465829888 /* Instantiable */ && getBaseConstraintOrType(type).flags & (98304 /* Nullable */ | 1048576 /* Union */)); + } + function isGenericTypeWithoutNullableConstraint(type) { + return type.flags & 2097152 /* Intersection */ ? some(type.types, isGenericTypeWithoutNullableConstraint) : !!(type.flags & 465829888 /* Instantiable */ && !maybeTypeOfKind(getBaseConstraintOrType(type), 98304 /* Nullable */)); + } + function hasContextualTypeWithNoGenericTypes(node, checkMode) { + const contextualType = (isIdentifier(node) || isPropertyAccessExpression(node) || isElementAccessExpression(node)) && !((isJsxOpeningElement(node.parent) || isJsxSelfClosingElement(node.parent)) && node.parent.tagName === node) && (checkMode && checkMode & 32 /* RestBindingElement */ ? getContextualType(node, 8 /* SkipBindingPatterns */) : getContextualType( + node, + /*contextFlags*/ + void 0 + )); + return contextualType && !isGenericType(contextualType); + } + function getNarrowableTypeForReference(type, reference, checkMode) { + if (isNoInferType(type)) { + type = type.baseType; + } + const substituteConstraints = !(checkMode && checkMode & 2 /* Inferential */) && someType(type, isGenericTypeWithUnionConstraint) && (isConstraintPosition(type, reference) || hasContextualTypeWithNoGenericTypes(reference, checkMode)); + return substituteConstraints ? mapType(type, getBaseConstraintOrType) : type; + } + function isExportOrExportExpression(location) { + return !!findAncestor(location, (n) => { + const parent = n.parent; + if (parent === void 0) { + return "quit"; + } + if (isExportAssignment(parent)) { + return parent.expression === n && isEntityNameExpression(n); + } + if (isExportSpecifier(parent)) { + return parent.name === n || parent.propertyName === n; + } + return false; + }); + } + function markLinkedReferences(location, hint, propSymbol, parentType) { + if (!canCollectSymbolAliasAccessabilityData) { + return; + } + if (location.flags & 33554432 /* Ambient */ && !isPropertySignature(location) && !isPropertyDeclaration(location)) { + return; + } + switch (hint) { + case 1 /* Identifier */: + return markIdentifierAliasReferenced(location); + case 2 /* Property */: + return markPropertyAliasReferenced(location, propSymbol, parentType); + case 3 /* ExportAssignment */: + return markExportAssignmentAliasReferenced(location); + case 4 /* Jsx */: + return markJsxAliasReferenced(location); + case 5 /* AsyncFunction */: + return markAsyncFunctionAliasReferenced(location); + case 6 /* ExportImportEquals */: + return markImportEqualsAliasReferenced(location); + case 7 /* ExportSpecifier */: + return markExportSpecifierAliasReferenced(location); + case 8 /* Decorator */: + return markDecoratorAliasReferenced(location); + case 0 /* Unspecified */: { + if (isIdentifier(location) && (isExpressionNode(location) || isShorthandPropertyAssignment(location.parent) || isImportEqualsDeclaration(location.parent) && location.parent.moduleReference === location) && shouldMarkIdentifierAliasReferenced(location)) { + if (isPropertyAccessOrQualifiedName(location.parent)) { + const left = isPropertyAccessExpression(location.parent) ? location.parent.expression : location.parent.left; + if (left !== location) return; + } + markIdentifierAliasReferenced(location); + return; + } + if (isPropertyAccessOrQualifiedName(location)) { + let topProp = location; + while (isPropertyAccessOrQualifiedName(topProp)) { + if (isPartOfTypeNode(topProp)) return; + topProp = topProp.parent; + } + return markPropertyAliasReferenced(location); + } + if (isExportAssignment(location)) { + return markExportAssignmentAliasReferenced(location); + } + if (isJsxOpeningLikeElement(location) || isJsxOpeningFragment(location)) { + return markJsxAliasReferenced(location); + } + if (isImportEqualsDeclaration(location)) { + if (isInternalModuleImportEqualsDeclaration(location) || checkExternalImportOrExportDeclaration(location)) { + return markImportEqualsAliasReferenced(location); + } + return; + } + if (isExportSpecifier(location)) { + return markExportSpecifierAliasReferenced(location); + } + if (isFunctionLikeDeclaration(location) || isMethodSignature(location)) { + markAsyncFunctionAliasReferenced(location); + } + if (!compilerOptions.emitDecoratorMetadata) { + return; + } + if (!canHaveDecorators(location) || !hasDecorators(location) || !location.modifiers || !nodeCanBeDecorated(legacyDecorators, location, location.parent, location.parent.parent)) { + return; + } + return markDecoratorAliasReferenced(location); + } + default: + Debug.assertNever(hint, `Unhandled reference hint: ${hint}`); + } + } + function markIdentifierAliasReferenced(location) { + const symbol = getResolvedSymbol(location); + if (symbol && symbol !== argumentsSymbol && symbol !== unknownSymbol && !isThisInTypeQuery(location)) { + markAliasReferenced(symbol, location); + } + } + function markPropertyAliasReferenced(location, propSymbol, parentType) { + const left = isPropertyAccessExpression(location) ? location.expression : location.left; + if (isThisIdentifier(left) || !isIdentifier(left)) { + return; + } + const parentSymbol = getResolvedSymbol(left); + if (!parentSymbol || parentSymbol === unknownSymbol) { + return; + } + if (getIsolatedModules(compilerOptions) || shouldPreserveConstEnums(compilerOptions) && isExportOrExportExpression(location)) { + markAliasReferenced(parentSymbol, location); + return; + } + const leftType = parentType || checkExpressionCached(left); + if (isTypeAny(leftType) || leftType === silentNeverType) { + markAliasReferenced(parentSymbol, location); + return; + } + let prop = propSymbol; + if (!prop && !parentType) { + const right = isPropertyAccessExpression(location) ? location.name : location.right; + const lexicallyScopedSymbol = isPrivateIdentifier(right) && lookupSymbolForPrivateIdentifierDeclaration(right.escapedText, right); + const assignmentKind = getAssignmentTargetKind(location); + const apparentType = getApparentType(assignmentKind !== 0 /* None */ || isMethodAccessForCall(location) ? getWidenedType(leftType) : leftType); + prop = isPrivateIdentifier(right) ? lexicallyScopedSymbol && getPrivateIdentifierPropertyOfType(apparentType, lexicallyScopedSymbol) || void 0 : getPropertyOfType(apparentType, right.escapedText); + } + if (!(prop && (isConstEnumOrConstEnumOnlyModule(prop) || prop.flags & 8 /* EnumMember */ && location.parent.kind === 306 /* EnumMember */))) { + markAliasReferenced(parentSymbol, location); + } + return; + } + function markExportAssignmentAliasReferenced(location) { + if (isIdentifier(location.expression)) { + const id = location.expression; + const sym = getExportSymbolOfValueSymbolIfExported(resolveEntityName( + id, + -1 /* All */, + /*ignoreErrors*/ + true, + /*dontResolveAlias*/ + true, + location + )); + if (sym) { + markAliasReferenced(sym, id); + } + } + } + function markJsxAliasReferenced(node) { + if (!getJsxNamespaceContainerForImplicitImport(node)) { + const jsxFactoryRefErr = diagnostics && compilerOptions.jsx === 2 /* React */ ? Diagnostics.This_JSX_tag_requires_0_to_be_in_scope_but_it_could_not_be_found : void 0; + const jsxFactoryNamespace = getJsxNamespace(node); + const jsxFactoryLocation = isJsxOpeningLikeElement(node) ? node.tagName : node; + let jsxFactorySym; + if (!(isJsxOpeningFragment(node) && jsxFactoryNamespace === "null")) { + jsxFactorySym = resolveName( + jsxFactoryLocation, + jsxFactoryNamespace, + compilerOptions.jsx === 1 /* Preserve */ ? 111551 /* Value */ & ~384 /* Enum */ : 111551 /* Value */, + jsxFactoryRefErr, + /*isUse*/ + true + ); + } + if (jsxFactorySym) { + jsxFactorySym.isReferenced = -1 /* All */; + if (canCollectSymbolAliasAccessabilityData && jsxFactorySym.flags & 2097152 /* Alias */ && !getTypeOnlyAliasDeclaration(jsxFactorySym)) { + markAliasSymbolAsReferenced(jsxFactorySym); + } + } + if (isJsxOpeningFragment(node)) { + const file = getSourceFileOfNode(node); + const localJsxNamespace = getLocalJsxNamespace(file); + if (localJsxNamespace) { + resolveName( + jsxFactoryLocation, + localJsxNamespace, + compilerOptions.jsx === 1 /* Preserve */ ? 111551 /* Value */ & ~384 /* Enum */ : 111551 /* Value */, + jsxFactoryRefErr, + /*isUse*/ + true + ); + } + } + } + return; + } + function markAsyncFunctionAliasReferenced(location) { + if (languageVersion < 2 /* ES2015 */) { + if (getFunctionFlags(location) & 2 /* Async */) { + const returnTypeNode = getEffectiveReturnTypeNode(location); + markTypeNodeAsReferenced(returnTypeNode); + } + } + } + function markImportEqualsAliasReferenced(location) { + if (hasSyntacticModifier(location, 32 /* Export */)) { + markExportAsReferenced(location); + } + } + function markExportSpecifierAliasReferenced(location) { + if (!location.parent.parent.moduleSpecifier && !location.isTypeOnly && !location.parent.parent.isTypeOnly) { + const exportedName = location.propertyName || location.name; + if (exportedName.kind === 11 /* StringLiteral */) { + return; + } + const symbol = resolveName( + exportedName, + exportedName.escapedText, + 111551 /* Value */ | 788968 /* Type */ | 1920 /* Namespace */ | 2097152 /* Alias */, + /*nameNotFoundMessage*/ + void 0, + /*isUse*/ + true + ); + if (symbol && (symbol === undefinedSymbol || symbol === globalThisSymbol || symbol.declarations && isGlobalSourceFile(getDeclarationContainer(symbol.declarations[0])))) { + } else { + const target = symbol && (symbol.flags & 2097152 /* Alias */ ? resolveAlias(symbol) : symbol); + if (!target || getSymbolFlags(target) & 111551 /* Value */) { + markExportAsReferenced(location); + markIdentifierAliasReferenced(exportedName); + } + } + return; + } + } + function markDecoratorAliasReferenced(node) { + if (compilerOptions.emitDecoratorMetadata) { + const firstDecorator = find(node.modifiers, isDecorator); + if (!firstDecorator) { + return; + } + checkExternalEmitHelpers(firstDecorator, 16 /* Metadata */); + switch (node.kind) { + case 263 /* ClassDeclaration */: + const constructor = getFirstConstructorWithBody(node); + if (constructor) { + for (const parameter of constructor.parameters) { + markDecoratorMedataDataTypeNodeAsReferenced(getParameterTypeNodeForDecoratorCheck(parameter)); + } + } + break; + case 177 /* GetAccessor */: + case 178 /* SetAccessor */: + const otherKind = node.kind === 177 /* GetAccessor */ ? 178 /* SetAccessor */ : 177 /* GetAccessor */; + const otherAccessor = getDeclarationOfKind(getSymbolOfDeclaration(node), otherKind); + markDecoratorMedataDataTypeNodeAsReferenced(getAnnotatedAccessorTypeNode(node) || otherAccessor && getAnnotatedAccessorTypeNode(otherAccessor)); + break; + case 174 /* MethodDeclaration */: + for (const parameter of node.parameters) { + markDecoratorMedataDataTypeNodeAsReferenced(getParameterTypeNodeForDecoratorCheck(parameter)); + } + markDecoratorMedataDataTypeNodeAsReferenced(getEffectiveReturnTypeNode(node)); + break; + case 172 /* PropertyDeclaration */: + markDecoratorMedataDataTypeNodeAsReferenced(getEffectiveTypeAnnotationNode(node)); + break; + case 169 /* Parameter */: + markDecoratorMedataDataTypeNodeAsReferenced(getParameterTypeNodeForDecoratorCheck(node)); + const containingSignature = node.parent; + for (const parameter of containingSignature.parameters) { + markDecoratorMedataDataTypeNodeAsReferenced(getParameterTypeNodeForDecoratorCheck(parameter)); + } + markDecoratorMedataDataTypeNodeAsReferenced(getEffectiveReturnTypeNode(containingSignature)); + break; + } + } + } + function markAliasReferenced(symbol, location) { + if (!canCollectSymbolAliasAccessabilityData) { + return; + } + if (isNonLocalAlias( + symbol, + /*excludes*/ + 111551 /* Value */ + ) && !isInTypeQuery(location)) { + const target = resolveAlias(symbol); + if (getSymbolFlags( + symbol, + /*excludeTypeOnlyMeanings*/ + true + ) & (111551 /* Value */ | 1048576 /* ExportValue */)) { + if (getIsolatedModules(compilerOptions) || shouldPreserveConstEnums(compilerOptions) && isExportOrExportExpression(location) || !isConstEnumOrConstEnumOnlyModule(getExportSymbolOfValueSymbolIfExported(target))) { + markAliasSymbolAsReferenced(symbol); + } + } + } + } + function markAliasSymbolAsReferenced(symbol) { + Debug.assert(canCollectSymbolAliasAccessabilityData); + const links = getSymbolLinks(symbol); + if (!links.referenced) { + links.referenced = true; + const node = getDeclarationOfAliasSymbol(symbol); + if (!node) return Debug.fail(); + if (isInternalModuleImportEqualsDeclaration(node)) { + if (getSymbolFlags(resolveSymbol(symbol)) & 111551 /* Value */) { + const left = getFirstIdentifier(node.moduleReference); + markIdentifierAliasReferenced(left); + } + } + } + } + function markExportAsReferenced(node) { + const symbol = getSymbolOfDeclaration(node); + const target = resolveAlias(symbol); + if (target) { + const markAlias = target === unknownSymbol || getSymbolFlags( + symbol, + /*excludeTypeOnlyMeanings*/ + true + ) & 111551 /* Value */ && !isConstEnumOrConstEnumOnlyModule(target); + if (markAlias) { + markAliasSymbolAsReferenced(symbol); + } + } + } + function markEntityNameOrEntityExpressionAsReference(typeName, forDecoratorMetadata) { + if (!typeName) return; + const rootName = getFirstIdentifier(typeName); + const meaning = (typeName.kind === 80 /* Identifier */ ? 788968 /* Type */ : 1920 /* Namespace */) | 2097152 /* Alias */; + const rootSymbol = resolveName( + rootName, + rootName.escapedText, + meaning, + /*nameNotFoundMessage*/ + void 0, + /*isUse*/ + true + ); + if (rootSymbol && rootSymbol.flags & 2097152 /* Alias */) { + if (canCollectSymbolAliasAccessabilityData && symbolIsValue(rootSymbol) && !isConstEnumOrConstEnumOnlyModule(resolveAlias(rootSymbol)) && !getTypeOnlyAliasDeclaration(rootSymbol)) { + markAliasSymbolAsReferenced(rootSymbol); + } else if (forDecoratorMetadata && getIsolatedModules(compilerOptions) && getEmitModuleKind(compilerOptions) >= 5 /* ES2015 */ && !symbolIsValue(rootSymbol) && !some(rootSymbol.declarations, isTypeOnlyImportOrExportDeclaration)) { + const diag2 = error(typeName, Diagnostics.A_type_referenced_in_a_decorated_signature_must_be_imported_with_import_type_or_a_namespace_import_when_isolatedModules_and_emitDecoratorMetadata_are_enabled); + const aliasDeclaration = find(rootSymbol.declarations || emptyArray, isAliasSymbolDeclaration); + if (aliasDeclaration) { + addRelatedInfo(diag2, createDiagnosticForNode(aliasDeclaration, Diagnostics._0_was_imported_here, idText(rootName))); + } + } + } + } + function markTypeNodeAsReferenced(node) { + markEntityNameOrEntityExpressionAsReference( + node && getEntityNameFromTypeNode(node), + /*forDecoratorMetadata*/ + false + ); + } + function markDecoratorMedataDataTypeNodeAsReferenced(node) { + const entityName = getEntityNameForDecoratorMetadata(node); + if (entityName && isEntityName(entityName)) { + markEntityNameOrEntityExpressionAsReference( + entityName, + /*forDecoratorMetadata*/ + true + ); + } + } + function getNarrowedTypeOfSymbol(symbol, location) { + var _a; + const type = getTypeOfSymbol(symbol); + const declaration = symbol.valueDeclaration; + if (declaration) { + if (isBindingElement(declaration) && !declaration.initializer && !declaration.dotDotDotToken && declaration.parent.elements.length >= 2) { + const parent = declaration.parent.parent; + const rootDeclaration = getRootDeclaration(parent); + if (rootDeclaration.kind === 260 /* VariableDeclaration */ && getCombinedNodeFlagsCached(rootDeclaration) & 6 /* Constant */ || rootDeclaration.kind === 169 /* Parameter */) { + const links = getNodeLinks(parent); + if (!(links.flags & 4194304 /* InCheckIdentifier */)) { + links.flags |= 4194304 /* InCheckIdentifier */; + const parentType = getTypeForBindingElementParent(parent, 0 /* Normal */); + const parentTypeConstraint = parentType && mapType(parentType, getBaseConstraintOrType); + links.flags &= ~4194304 /* InCheckIdentifier */; + if (parentTypeConstraint && parentTypeConstraint.flags & 1048576 /* Union */ && !(rootDeclaration.kind === 169 /* Parameter */ && isSomeSymbolAssigned(rootDeclaration))) { + const pattern = declaration.parent; + const narrowedType = getFlowTypeOfReference( + pattern, + parentTypeConstraint, + parentTypeConstraint, + /*flowContainer*/ + void 0, + location.flowNode + ); + if (narrowedType.flags & 131072 /* Never */) { + return neverType; + } + return getBindingElementTypeFromParentType( + declaration, + narrowedType, + /*noTupleBoundsCheck*/ + true + ); + } + } + } + } + if (isParameter(declaration) && !declaration.type && !declaration.initializer && !declaration.dotDotDotToken) { + const func = declaration.parent; + if (func.parameters.length >= 2 && isContextSensitiveFunctionOrObjectLiteralMethod(func)) { + const contextualSignature = getContextualSignature(func); + if (contextualSignature && contextualSignature.parameters.length === 1 && signatureHasRestParameter(contextualSignature)) { + const restType = getReducedApparentType(instantiateType(getTypeOfSymbol(contextualSignature.parameters[0]), (_a = getInferenceContext(func)) == null ? void 0 : _a.nonFixingMapper)); + if (restType.flags & 1048576 /* Union */ && everyType(restType, isTupleType) && !some(func.parameters, isSomeSymbolAssigned)) { + const narrowedType = getFlowTypeOfReference( + func, + restType, + restType, + /*flowContainer*/ + void 0, + location.flowNode + ); + const index = func.parameters.indexOf(declaration) - (getThisParameter(func) ? 1 : 0); + return getIndexedAccessType(narrowedType, getNumberLiteralType(index)); + } + } + } + } + } + return type; + } + function checkIdentifierCalculateNodeCheckFlags(node, symbol) { + if (isThisInTypeQuery(node)) return; + if (symbol === argumentsSymbol) { + if (isInPropertyInitializerOrClassStaticBlock(node)) { + error(node, Diagnostics.arguments_cannot_be_referenced_in_property_initializers); + return; + } + let container = getContainingFunction(node); + if (container) { + if (languageVersion < 2 /* ES2015 */) { + if (container.kind === 219 /* ArrowFunction */) { + error(node, Diagnostics.The_arguments_object_cannot_be_referenced_in_an_arrow_function_in_ES5_Consider_using_a_standard_function_expression); + } else if (hasSyntacticModifier(container, 1024 /* Async */)) { + error(node, Diagnostics.The_arguments_object_cannot_be_referenced_in_an_async_function_or_method_in_ES5_Consider_using_a_standard_function_or_method); + } + } + getNodeLinks(container).flags |= 512 /* CaptureArguments */; + while (container && isArrowFunction(container)) { + container = getContainingFunction(container); + if (container) { + getNodeLinks(container).flags |= 512 /* CaptureArguments */; + } + } + } + return; + } + const localOrExportSymbol = getExportSymbolOfValueSymbolIfExported(symbol); + const targetSymbol = resolveAliasWithDeprecationCheck(localOrExportSymbol, node); + if (isDeprecatedSymbol(targetSymbol) && isUncalledFunctionReference(node, targetSymbol) && targetSymbol.declarations) { + addDeprecatedSuggestion(node, targetSymbol.declarations, node.escapedText); + } + const declaration = localOrExportSymbol.valueDeclaration; + if (declaration && localOrExportSymbol.flags & 32 /* Class */) { + if (isClassLike(declaration) && declaration.name !== node) { + let container = getThisContainer( + node, + /*includeArrowFunctions*/ + false, + /*includeClassComputedPropertyName*/ + false + ); + while (container.kind !== 307 /* SourceFile */ && container.parent !== declaration) { + container = getThisContainer( + container, + /*includeArrowFunctions*/ + false, + /*includeClassComputedPropertyName*/ + false + ); + } + if (container.kind !== 307 /* SourceFile */) { + getNodeLinks(declaration).flags |= 262144 /* ContainsConstructorReference */; + getNodeLinks(container).flags |= 262144 /* ContainsConstructorReference */; + getNodeLinks(node).flags |= 536870912 /* ConstructorReference */; + } + } + } + checkNestedBlockScopedBinding(node, symbol); + } + function checkIdentifier(node, checkMode) { + if (isThisInTypeQuery(node)) { + return checkThisExpression(node); + } + const symbol = getResolvedSymbol(node); + if (symbol === unknownSymbol) { + return errorType; + } + checkIdentifierCalculateNodeCheckFlags(node, symbol); + if (symbol === argumentsSymbol) { + if (isInPropertyInitializerOrClassStaticBlock(node)) { + return errorType; + } + return getTypeOfSymbol(symbol); + } + if (shouldMarkIdentifierAliasReferenced(node)) { + markLinkedReferences(node, 1 /* Identifier */); + } + const localOrExportSymbol = getExportSymbolOfValueSymbolIfExported(symbol); + let declaration = localOrExportSymbol.valueDeclaration; + const immediateDeclaration = declaration; + if (declaration && declaration.kind === 208 /* BindingElement */ && contains(contextualBindingPatterns, declaration.parent) && findAncestor(node, (parent) => parent === declaration.parent)) { + return nonInferrableAnyType; + } + let type = getNarrowedTypeOfSymbol(localOrExportSymbol, node); + const assignmentKind = getAssignmentTargetKind(node); + if (assignmentKind) { + if (!(localOrExportSymbol.flags & 3 /* Variable */) && !(isInJSFile(node) && localOrExportSymbol.flags & 512 /* ValueModule */)) { + const assignmentError = localOrExportSymbol.flags & 384 /* Enum */ ? Diagnostics.Cannot_assign_to_0_because_it_is_an_enum : localOrExportSymbol.flags & 32 /* Class */ ? Diagnostics.Cannot_assign_to_0_because_it_is_a_class : localOrExportSymbol.flags & 1536 /* Module */ ? Diagnostics.Cannot_assign_to_0_because_it_is_a_namespace : localOrExportSymbol.flags & 16 /* Function */ ? Diagnostics.Cannot_assign_to_0_because_it_is_a_function : localOrExportSymbol.flags & 2097152 /* Alias */ ? Diagnostics.Cannot_assign_to_0_because_it_is_an_import : Diagnostics.Cannot_assign_to_0_because_it_is_not_a_variable; + error(node, assignmentError, symbolToString(symbol)); + return errorType; + } + if (isReadonlySymbol(localOrExportSymbol)) { + if (localOrExportSymbol.flags & 3 /* Variable */) { + error(node, Diagnostics.Cannot_assign_to_0_because_it_is_a_constant, symbolToString(symbol)); + } else { + error(node, Diagnostics.Cannot_assign_to_0_because_it_is_a_read_only_property, symbolToString(symbol)); + } + return errorType; + } + } + const isAlias = localOrExportSymbol.flags & 2097152 /* Alias */; + if (localOrExportSymbol.flags & 3 /* Variable */) { + if (assignmentKind === 1 /* Definite */) { + return isInCompoundLikeAssignment(node) ? getBaseTypeOfLiteralType(type) : type; + } + } else if (isAlias) { + declaration = getDeclarationOfAliasSymbol(symbol); + } else { + return type; + } + if (!declaration) { + return type; + } + type = getNarrowableTypeForReference(type, node, checkMode); + const isParameter2 = getRootDeclaration(declaration).kind === 169 /* Parameter */; + const declarationContainer = getControlFlowContainer(declaration); + let flowContainer = getControlFlowContainer(node); + const isOuterVariable = flowContainer !== declarationContainer; + const isSpreadDestructuringAssignmentTarget = node.parent && node.parent.parent && isSpreadAssignment(node.parent) && isDestructuringAssignmentTarget(node.parent.parent); + const isModuleExports = symbol.flags & 134217728 /* ModuleExports */; + const typeIsAutomatic = type === autoType || type === autoArrayType; + const isAutomaticTypeInNonNull = typeIsAutomatic && node.parent.kind === 235 /* NonNullExpression */; + while (flowContainer !== declarationContainer && (flowContainer.kind === 218 /* FunctionExpression */ || flowContainer.kind === 219 /* ArrowFunction */ || isObjectLiteralOrClassExpressionMethodOrAccessor(flowContainer)) && (isConstantVariable(localOrExportSymbol) && type !== autoArrayType || isParameterOrMutableLocalVariable(localOrExportSymbol) && isPastLastAssignment(localOrExportSymbol, node))) { + flowContainer = getControlFlowContainer(flowContainer); + } + const isNeverInitialized = immediateDeclaration && isVariableDeclaration(immediateDeclaration) && !immediateDeclaration.initializer && !immediateDeclaration.exclamationToken && isMutableLocalVariableDeclaration(immediateDeclaration) && !isSymbolAssignedDefinitely(symbol); + const assumeInitialized = isParameter2 || isAlias || isOuterVariable && !isNeverInitialized || isSpreadDestructuringAssignmentTarget || isModuleExports || isSameScopedBindingElement(node, declaration) || type !== autoType && type !== autoArrayType && (!strictNullChecks || (type.flags & (3 /* AnyOrUnknown */ | 16384 /* Void */)) !== 0 || isInTypeQuery(node) || isInAmbientOrTypeNode(node) || node.parent.kind === 281 /* ExportSpecifier */) || node.parent.kind === 235 /* NonNullExpression */ || declaration.kind === 260 /* VariableDeclaration */ && declaration.exclamationToken || declaration.flags & 33554432 /* Ambient */; + const initialType = isAutomaticTypeInNonNull ? undefinedType : assumeInitialized ? isParameter2 ? removeOptionalityFromDeclaredType(type, declaration) : type : typeIsAutomatic ? undefinedType : getOptionalType(type); + const flowType = isAutomaticTypeInNonNull ? getNonNullableType(getFlowTypeOfReference(node, type, initialType, flowContainer)) : getFlowTypeOfReference(node, type, initialType, flowContainer); + if (!isEvolvingArrayOperationTarget(node) && (type === autoType || type === autoArrayType)) { + if (flowType === autoType || flowType === autoArrayType) { + if (noImplicitAny) { + error(getNameOfDeclaration(declaration), Diagnostics.Variable_0_implicitly_has_type_1_in_some_locations_where_its_type_cannot_be_determined, symbolToString(symbol), typeToString(flowType)); + error(node, Diagnostics.Variable_0_implicitly_has_an_1_type, symbolToString(symbol), typeToString(flowType)); + } + return convertAutoToAny(flowType); + } + } else if (!assumeInitialized && !containsUndefinedType(type) && containsUndefinedType(flowType)) { + error(node, Diagnostics.Variable_0_is_used_before_being_assigned, symbolToString(symbol)); + return type; + } + return assignmentKind ? getBaseTypeOfLiteralType(flowType) : flowType; + } + function isSameScopedBindingElement(node, declaration) { + if (isBindingElement(declaration)) { + const bindingElement = findAncestor(node, isBindingElement); + return bindingElement && getRootDeclaration(bindingElement) === getRootDeclaration(declaration); + } + } + function shouldMarkIdentifierAliasReferenced(node) { + var _a; + const parent = node.parent; + if (parent) { + if (isPropertyAccessExpression(parent) && parent.expression === node) { + return false; + } + if (isExportSpecifier(parent) && parent.isTypeOnly) { + return false; + } + const greatGrandparent = (_a = parent.parent) == null ? void 0 : _a.parent; + if (greatGrandparent && isExportDeclaration(greatGrandparent) && greatGrandparent.isTypeOnly) { + return false; + } + } + return true; + } + function isInsideFunctionOrInstancePropertyInitializer(node, threshold) { + return !!findAncestor(node, (n) => n === threshold ? "quit" : isFunctionLike(n) || n.parent && isPropertyDeclaration(n.parent) && !hasStaticModifier(n.parent) && n.parent.initializer === n); + } + function getPartOfForStatementContainingNode(node, container) { + return findAncestor(node, (n) => n === container ? "quit" : n === container.initializer || n === container.condition || n === container.incrementor || n === container.statement); + } + function getEnclosingIterationStatement(node) { + return findAncestor(node, (n) => !n || nodeStartsNewLexicalEnvironment(n) ? "quit" : isIterationStatement( + n, + /*lookInLabeledStatements*/ + false + )); + } + function checkNestedBlockScopedBinding(node, symbol) { + if (languageVersion >= 2 /* ES2015 */ || (symbol.flags & (2 /* BlockScopedVariable */ | 32 /* Class */)) === 0 || !symbol.valueDeclaration || isSourceFile(symbol.valueDeclaration) || symbol.valueDeclaration.parent.kind === 299 /* CatchClause */) { + return; + } + const container = getEnclosingBlockScopeContainer(symbol.valueDeclaration); + const isCaptured = isInsideFunctionOrInstancePropertyInitializer(node, container); + const enclosingIterationStatement = getEnclosingIterationStatement(container); + if (enclosingIterationStatement) { + if (isCaptured) { + let capturesBlockScopeBindingInLoopBody = true; + if (isForStatement(container)) { + const varDeclList = getAncestor(symbol.valueDeclaration, 261 /* VariableDeclarationList */); + if (varDeclList && varDeclList.parent === container) { + const part = getPartOfForStatementContainingNode(node.parent, container); + if (part) { + const links = getNodeLinks(part); + links.flags |= 8192 /* ContainsCapturedBlockScopeBinding */; + const capturedBindings = links.capturedBlockScopeBindings || (links.capturedBlockScopeBindings = []); + pushIfUnique(capturedBindings, symbol); + if (part === container.initializer) { + capturesBlockScopeBindingInLoopBody = false; + } + } + } + } + if (capturesBlockScopeBindingInLoopBody) { + getNodeLinks(enclosingIterationStatement).flags |= 4096 /* LoopWithCapturedBlockScopedBinding */; + } + } + if (isForStatement(container)) { + const varDeclList = getAncestor(symbol.valueDeclaration, 261 /* VariableDeclarationList */); + if (varDeclList && varDeclList.parent === container && isAssignedInBodyOfForStatement(node, container)) { + getNodeLinks(symbol.valueDeclaration).flags |= 65536 /* NeedsLoopOutParameter */; + } + } + getNodeLinks(symbol.valueDeclaration).flags |= 32768 /* BlockScopedBindingInLoop */; + } + if (isCaptured) { + getNodeLinks(symbol.valueDeclaration).flags |= 16384 /* CapturedBlockScopedBinding */; + } + } + function isBindingCapturedByNode(node, decl) { + const links = getNodeLinks(node); + return !!links && contains(links.capturedBlockScopeBindings, getSymbolOfDeclaration(decl)); + } + function isAssignedInBodyOfForStatement(node, container) { + let current = node; + while (current.parent.kind === 217 /* ParenthesizedExpression */) { + current = current.parent; + } + let isAssigned = false; + if (isAssignmentTarget(current)) { + isAssigned = true; + } else if (current.parent.kind === 224 /* PrefixUnaryExpression */ || current.parent.kind === 225 /* PostfixUnaryExpression */) { + const expr = current.parent; + isAssigned = expr.operator === 46 /* PlusPlusToken */ || expr.operator === 47 /* MinusMinusToken */; + } + if (!isAssigned) { + return false; + } + return !!findAncestor(current, (n) => n === container ? "quit" : n === container.statement); + } + function captureLexicalThis(node, container) { + getNodeLinks(node).flags |= 2 /* LexicalThis */; + if (container.kind === 172 /* PropertyDeclaration */ || container.kind === 176 /* Constructor */) { + const classNode = container.parent; + getNodeLinks(classNode).flags |= 4 /* CaptureThis */; + } else { + getNodeLinks(container).flags |= 4 /* CaptureThis */; + } + } + function findFirstSuperCall(node) { + return isSuperCall(node) ? node : isFunctionLike(node) ? void 0 : forEachChild(node, findFirstSuperCall); + } + function classDeclarationExtendsNull(classDecl) { + const classSymbol = getSymbolOfDeclaration(classDecl); + const classInstanceType = getDeclaredTypeOfSymbol(classSymbol); + const baseConstructorType = getBaseConstructorTypeOfClass(classInstanceType); + return baseConstructorType === nullWideningType; + } + function checkThisBeforeSuper(node, container, diagnosticMessage) { + const containingClassDecl = container.parent; + const baseTypeNode = getClassExtendsHeritageElement(containingClassDecl); + if (baseTypeNode && !classDeclarationExtendsNull(containingClassDecl)) { + if (canHaveFlowNode(node) && node.flowNode && !isPostSuperFlowNode( + node.flowNode, + /*noCacheCheck*/ + false + )) { + error(node, diagnosticMessage); + } + } + } + function checkThisInStaticClassFieldInitializerInDecoratedClass(thisExpression, container) { + if (isPropertyDeclaration(container) && hasStaticModifier(container) && legacyDecorators && container.initializer && textRangeContainsPositionInclusive(container.initializer, thisExpression.pos) && hasDecorators(container.parent)) { + error(thisExpression, Diagnostics.Cannot_use_this_in_a_static_property_initializer_of_a_decorated_class); + } + } + function checkThisExpression(node) { + const isNodeInTypeQuery = isInTypeQuery(node); + let container = getThisContainer( + node, + /*includeArrowFunctions*/ + true, + /*includeClassComputedPropertyName*/ + true + ); + let capturedByArrowFunction = false; + let thisInComputedPropertyName = false; + if (container.kind === 176 /* Constructor */) { + checkThisBeforeSuper(node, container, Diagnostics.super_must_be_called_before_accessing_this_in_the_constructor_of_a_derived_class); + } + while (true) { + if (container.kind === 219 /* ArrowFunction */) { + container = getThisContainer( + container, + /*includeArrowFunctions*/ + false, + !thisInComputedPropertyName + ); + capturedByArrowFunction = true; + } + if (container.kind === 167 /* ComputedPropertyName */) { + container = getThisContainer( + container, + !capturedByArrowFunction, + /*includeClassComputedPropertyName*/ + false + ); + thisInComputedPropertyName = true; + continue; + } + break; + } + checkThisInStaticClassFieldInitializerInDecoratedClass(node, container); + if (thisInComputedPropertyName) { + error(node, Diagnostics.this_cannot_be_referenced_in_a_computed_property_name); + } else { + switch (container.kind) { + case 267 /* ModuleDeclaration */: + error(node, Diagnostics.this_cannot_be_referenced_in_a_module_or_namespace_body); + break; + case 266 /* EnumDeclaration */: + error(node, Diagnostics.this_cannot_be_referenced_in_current_location); + break; + } + } + if (!isNodeInTypeQuery && capturedByArrowFunction && languageVersion < 2 /* ES2015 */) { + captureLexicalThis(node, container); + } + const type = tryGetThisTypeAt( + node, + /*includeGlobalThis*/ + true, + container + ); + if (noImplicitThis) { + const globalThisType2 = getTypeOfSymbol(globalThisSymbol); + if (type === globalThisType2 && capturedByArrowFunction) { + error(node, Diagnostics.The_containing_arrow_function_captures_the_global_value_of_this); + } else if (!type) { + const diag2 = error(node, Diagnostics.this_implicitly_has_type_any_because_it_does_not_have_a_type_annotation); + if (!isSourceFile(container)) { + const outsideThis = tryGetThisTypeAt(container); + if (outsideThis && outsideThis !== globalThisType2) { + addRelatedInfo(diag2, createDiagnosticForNode(container, Diagnostics.An_outer_value_of_this_is_shadowed_by_this_container)); + } + } + } + } + return type || anyType; + } + function tryGetThisTypeAt(node, includeGlobalThis = true, container = getThisContainer( + node, + /*includeArrowFunctions*/ + false, + /*includeClassComputedPropertyName*/ + false + )) { + const isInJS = isInJSFile(node); + if (isFunctionLike(container) && (!isInParameterInitializerBeforeContainingFunction(node) || getThisParameter(container))) { + let thisType = getThisTypeOfDeclaration(container) || isInJS && getTypeForThisExpressionFromJSDoc(container); + if (!thisType) { + const className = getClassNameFromPrototypeMethod(container); + if (isInJS && className) { + const classSymbol = checkExpression(className).symbol; + if (classSymbol && classSymbol.members && classSymbol.flags & 16 /* Function */) { + thisType = getDeclaredTypeOfSymbol(classSymbol).thisType; + } + } else if (isJSConstructor(container)) { + thisType = getDeclaredTypeOfSymbol(getMergedSymbol(container.symbol)).thisType; + } + thisType || (thisType = getContextualThisParameterType(container)); + } + if (thisType) { + return getFlowTypeOfReference(node, thisType); + } + } + if (isClassLike(container.parent)) { + const symbol = getSymbolOfDeclaration(container.parent); + const type = isStatic(container) ? getTypeOfSymbol(symbol) : getDeclaredTypeOfSymbol(symbol).thisType; + return getFlowTypeOfReference(node, type); + } + if (isSourceFile(container)) { + if (container.commonJsModuleIndicator) { + const fileSymbol = getSymbolOfDeclaration(container); + return fileSymbol && getTypeOfSymbol(fileSymbol); + } else if (container.externalModuleIndicator) { + return undefinedType; + } else if (includeGlobalThis) { + return getTypeOfSymbol(globalThisSymbol); + } + } + } + function getExplicitThisType(node) { + const container = getThisContainer( + node, + /*includeArrowFunctions*/ + false, + /*includeClassComputedPropertyName*/ + false + ); + if (isFunctionLike(container)) { + const signature = getSignatureFromDeclaration(container); + if (signature.thisParameter) { + return getExplicitTypeOfSymbol(signature.thisParameter); + } + } + if (isClassLike(container.parent)) { + const symbol = getSymbolOfDeclaration(container.parent); + return isStatic(container) ? getTypeOfSymbol(symbol) : getDeclaredTypeOfSymbol(symbol).thisType; + } + } + function getClassNameFromPrototypeMethod(container) { + if (container.kind === 218 /* FunctionExpression */ && isBinaryExpression(container.parent) && getAssignmentDeclarationKind(container.parent) === 3 /* PrototypeProperty */) { + return container.parent.left.expression.expression; + } else if (container.kind === 174 /* MethodDeclaration */ && container.parent.kind === 210 /* ObjectLiteralExpression */ && isBinaryExpression(container.parent.parent) && getAssignmentDeclarationKind(container.parent.parent) === 6 /* Prototype */) { + return container.parent.parent.left.expression; + } else if (container.kind === 218 /* FunctionExpression */ && container.parent.kind === 303 /* PropertyAssignment */ && container.parent.parent.kind === 210 /* ObjectLiteralExpression */ && isBinaryExpression(container.parent.parent.parent) && getAssignmentDeclarationKind(container.parent.parent.parent) === 6 /* Prototype */) { + return container.parent.parent.parent.left.expression; + } else if (container.kind === 218 /* FunctionExpression */ && isPropertyAssignment(container.parent) && isIdentifier(container.parent.name) && (container.parent.name.escapedText === "value" || container.parent.name.escapedText === "get" || container.parent.name.escapedText === "set") && isObjectLiteralExpression(container.parent.parent) && isCallExpression(container.parent.parent.parent) && container.parent.parent.parent.arguments[2] === container.parent.parent && getAssignmentDeclarationKind(container.parent.parent.parent) === 9 /* ObjectDefinePrototypeProperty */) { + return container.parent.parent.parent.arguments[0].expression; + } else if (isMethodDeclaration(container) && isIdentifier(container.name) && (container.name.escapedText === "value" || container.name.escapedText === "get" || container.name.escapedText === "set") && isObjectLiteralExpression(container.parent) && isCallExpression(container.parent.parent) && container.parent.parent.arguments[2] === container.parent && getAssignmentDeclarationKind(container.parent.parent) === 9 /* ObjectDefinePrototypeProperty */) { + return container.parent.parent.arguments[0].expression; + } + } + function getTypeForThisExpressionFromJSDoc(node) { + const thisTag = getJSDocThisTag(node); + if (thisTag && thisTag.typeExpression) { + return getTypeFromTypeNode(thisTag.typeExpression); + } + const signature = getSignatureOfTypeTag(node); + if (signature) { + return getThisTypeOfSignature(signature); + } + } + function isInConstructorArgumentInitializer(node, constructorDecl) { + return !!findAncestor(node, (n) => isFunctionLikeDeclaration(n) ? "quit" : n.kind === 169 /* Parameter */ && n.parent === constructorDecl); + } + function checkSuperExpression(node) { + const isCallExpression2 = node.parent.kind === 213 /* CallExpression */ && node.parent.expression === node; + const immediateContainer = getSuperContainer( + node, + /*stopOnFunctions*/ + true + ); + let container = immediateContainer; + let needToCaptureLexicalThis = false; + let inAsyncFunction = false; + if (!isCallExpression2) { + while (container && container.kind === 219 /* ArrowFunction */) { + if (hasSyntacticModifier(container, 1024 /* Async */)) inAsyncFunction = true; + container = getSuperContainer( + container, + /*stopOnFunctions*/ + true + ); + needToCaptureLexicalThis = languageVersion < 2 /* ES2015 */; + } + if (container && hasSyntacticModifier(container, 1024 /* Async */)) inAsyncFunction = true; + } + let nodeCheckFlag = 0; + if (!container || !isLegalUsageOfSuperExpression(container)) { + const current = findAncestor(node, (n) => n === container ? "quit" : n.kind === 167 /* ComputedPropertyName */); + if (current && current.kind === 167 /* ComputedPropertyName */) { + error(node, Diagnostics.super_cannot_be_referenced_in_a_computed_property_name); + } else if (isCallExpression2) { + error(node, Diagnostics.Super_calls_are_not_permitted_outside_constructors_or_in_nested_functions_inside_constructors); + } else if (!container || !container.parent || !(isClassLike(container.parent) || container.parent.kind === 210 /* ObjectLiteralExpression */)) { + error(node, Diagnostics.super_can_only_be_referenced_in_members_of_derived_classes_or_object_literal_expressions); + } else { + error(node, Diagnostics.super_property_access_is_permitted_only_in_a_constructor_member_function_or_member_accessor_of_a_derived_class); + } + return errorType; + } + if (!isCallExpression2 && immediateContainer.kind === 176 /* Constructor */) { + checkThisBeforeSuper(node, container, Diagnostics.super_must_be_called_before_accessing_a_property_of_super_in_the_constructor_of_a_derived_class); + } + if (isStatic(container) || isCallExpression2) { + nodeCheckFlag = 32 /* SuperStatic */; + if (!isCallExpression2 && languageVersion >= 2 /* ES2015 */ && languageVersion <= 8 /* ES2021 */ && (isPropertyDeclaration(container) || isClassStaticBlockDeclaration(container))) { + forEachEnclosingBlockScopeContainer(node.parent, (current) => { + if (!isSourceFile(current) || isExternalOrCommonJsModule(current)) { + getNodeLinks(current).flags |= 2097152 /* ContainsSuperPropertyInStaticInitializer */; + } + }); + } + } else { + nodeCheckFlag = 16 /* SuperInstance */; + } + getNodeLinks(node).flags |= nodeCheckFlag; + if (container.kind === 174 /* MethodDeclaration */ && inAsyncFunction) { + if (isSuperProperty(node.parent) && isAssignmentTarget(node.parent)) { + getNodeLinks(container).flags |= 256 /* MethodWithSuperPropertyAssignmentInAsync */; + } else { + getNodeLinks(container).flags |= 128 /* MethodWithSuperPropertyAccessInAsync */; + } + } + if (needToCaptureLexicalThis) { + captureLexicalThis(node.parent, container); + } + if (container.parent.kind === 210 /* ObjectLiteralExpression */) { + if (languageVersion < 2 /* ES2015 */) { + error(node, Diagnostics.super_is_only_allowed_in_members_of_object_literal_expressions_when_option_target_is_ES2015_or_higher); + return errorType; + } else { + return anyType; + } + } + const classLikeDeclaration = container.parent; + if (!getClassExtendsHeritageElement(classLikeDeclaration)) { + error(node, Diagnostics.super_can_only_be_referenced_in_a_derived_class); + return errorType; + } + if (classDeclarationExtendsNull(classLikeDeclaration)) { + return isCallExpression2 ? errorType : nullWideningType; + } + const classType = getDeclaredTypeOfSymbol(getSymbolOfDeclaration(classLikeDeclaration)); + const baseClassType = classType && getBaseTypes(classType)[0]; + if (!baseClassType) { + return errorType; + } + if (container.kind === 176 /* Constructor */ && isInConstructorArgumentInitializer(node, container)) { + error(node, Diagnostics.super_cannot_be_referenced_in_constructor_arguments); + return errorType; + } + return nodeCheckFlag === 32 /* SuperStatic */ ? getBaseConstructorTypeOfClass(classType) : getTypeWithThisArgument(baseClassType, classType.thisType); + function isLegalUsageOfSuperExpression(container2) { + if (isCallExpression2) { + return container2.kind === 176 /* Constructor */; + } else { + if (isClassLike(container2.parent) || container2.parent.kind === 210 /* ObjectLiteralExpression */) { + if (isStatic(container2)) { + return container2.kind === 174 /* MethodDeclaration */ || container2.kind === 173 /* MethodSignature */ || container2.kind === 177 /* GetAccessor */ || container2.kind === 178 /* SetAccessor */ || container2.kind === 172 /* PropertyDeclaration */ || container2.kind === 175 /* ClassStaticBlockDeclaration */; + } else { + return container2.kind === 174 /* MethodDeclaration */ || container2.kind === 173 /* MethodSignature */ || container2.kind === 177 /* GetAccessor */ || container2.kind === 178 /* SetAccessor */ || container2.kind === 172 /* PropertyDeclaration */ || container2.kind === 171 /* PropertySignature */ || container2.kind === 176 /* Constructor */; + } + } + } + return false; + } + } + function getContainingObjectLiteral(func) { + return (func.kind === 174 /* MethodDeclaration */ || func.kind === 177 /* GetAccessor */ || func.kind === 178 /* SetAccessor */) && func.parent.kind === 210 /* ObjectLiteralExpression */ ? func.parent : func.kind === 218 /* FunctionExpression */ && func.parent.kind === 303 /* PropertyAssignment */ ? func.parent.parent : void 0; + } + function getThisTypeArgument(type) { + return getObjectFlags(type) & 4 /* Reference */ && type.target === globalThisType ? getTypeArguments(type)[0] : void 0; + } + function getThisTypeFromContextualType(type) { + return mapType(type, (t) => { + return t.flags & 2097152 /* Intersection */ ? forEach(t.types, getThisTypeArgument) : getThisTypeArgument(t); + }); + } + function getThisTypeOfObjectLiteralFromContextualType(containingLiteral, contextualType) { + let literal = containingLiteral; + let type = contextualType; + while (type) { + const thisType = getThisTypeFromContextualType(type); + if (thisType) { + return thisType; + } + if (literal.parent.kind !== 303 /* PropertyAssignment */) { + break; + } + literal = literal.parent.parent; + type = getApparentTypeOfContextualType( + literal, + /*contextFlags*/ + void 0 + ); + } + } + function getContextualThisParameterType(func) { + if (func.kind === 219 /* ArrowFunction */) { + return void 0; + } + if (isContextSensitiveFunctionOrObjectLiteralMethod(func)) { + const contextualSignature = getContextualSignature(func); + if (contextualSignature) { + const thisParameter = contextualSignature.thisParameter; + if (thisParameter) { + return getTypeOfSymbol(thisParameter); + } + } + } + const inJs = isInJSFile(func); + if (noImplicitThis || inJs) { + const containingLiteral = getContainingObjectLiteral(func); + if (containingLiteral) { + const contextualType = getApparentTypeOfContextualType( + containingLiteral, + /*contextFlags*/ + void 0 + ); + const thisType = getThisTypeOfObjectLiteralFromContextualType(containingLiteral, contextualType); + if (thisType) { + return instantiateType(thisType, getMapperFromContext(getInferenceContext(containingLiteral))); + } + return getWidenedType(contextualType ? getNonNullableType(contextualType) : checkExpressionCached(containingLiteral)); + } + const parent = walkUpParenthesizedExpressions(func.parent); + if (isAssignmentExpression(parent)) { + const target = parent.left; + if (isAccessExpression(target)) { + const { expression } = target; + if (inJs && isIdentifier(expression)) { + const sourceFile = getSourceFileOfNode(parent); + if (sourceFile.commonJsModuleIndicator && getResolvedSymbol(expression) === sourceFile.symbol) { + return void 0; + } + } + return getWidenedType(checkExpressionCached(expression)); + } + } + } + return void 0; + } + function getContextuallyTypedParameterType(parameter) { + const func = parameter.parent; + if (!isContextSensitiveFunctionOrObjectLiteralMethod(func)) { + return void 0; + } + const iife = getImmediatelyInvokedFunctionExpression(func); + if (iife && iife.arguments) { + const args = getEffectiveCallArguments(iife); + const indexOfParameter = func.parameters.indexOf(parameter); + if (parameter.dotDotDotToken) { + return getSpreadArgumentType( + args, + indexOfParameter, + args.length, + anyType, + /*context*/ + void 0, + 0 /* Normal */ + ); + } + const links = getNodeLinks(iife); + const cached = links.resolvedSignature; + links.resolvedSignature = anySignature; + const type = indexOfParameter < args.length ? getWidenedLiteralType(checkExpression(args[indexOfParameter])) : parameter.initializer ? void 0 : undefinedWideningType; + links.resolvedSignature = cached; + return type; + } + const contextualSignature = getContextualSignature(func); + if (contextualSignature) { + const index = func.parameters.indexOf(parameter) - (getThisParameter(func) ? 1 : 0); + return parameter.dotDotDotToken && lastOrUndefined(func.parameters) === parameter ? getRestTypeAtPosition(contextualSignature, index) : tryGetTypeAtPosition(contextualSignature, index); + } + } + function getContextualTypeForVariableLikeDeclaration(declaration, contextFlags) { + const typeNode = getEffectiveTypeAnnotationNode(declaration) || (isInJSFile(declaration) ? tryGetJSDocSatisfiesTypeNode(declaration) : void 0); + if (typeNode) { + return getTypeFromTypeNode(typeNode); + } + switch (declaration.kind) { + case 169 /* Parameter */: + return getContextuallyTypedParameterType(declaration); + case 208 /* BindingElement */: + return getContextualTypeForBindingElement(declaration, contextFlags); + case 172 /* PropertyDeclaration */: + if (isStatic(declaration)) { + return getContextualTypeForStaticPropertyDeclaration(declaration, contextFlags); + } + } + } + function getContextualTypeForBindingElement(declaration, contextFlags) { + const parent = declaration.parent.parent; + const name = declaration.propertyName || declaration.name; + const parentType = getContextualTypeForVariableLikeDeclaration(parent, contextFlags) || parent.kind !== 208 /* BindingElement */ && parent.initializer && checkDeclarationInitializer(parent, declaration.dotDotDotToken ? 32 /* RestBindingElement */ : 0 /* Normal */); + if (!parentType || isBindingPattern(name) || isComputedNonLiteralName(name)) return void 0; + if (parent.name.kind === 207 /* ArrayBindingPattern */) { + const index = indexOfNode(declaration.parent.elements, declaration); + if (index < 0) return void 0; + return getContextualTypeForElementExpression(parentType, index); + } + const nameType = getLiteralTypeFromPropertyName(name); + if (isTypeUsableAsPropertyName(nameType)) { + const text = getPropertyNameFromType(nameType); + return getTypeOfPropertyOfType(parentType, text); + } + } + function getContextualTypeForStaticPropertyDeclaration(declaration, contextFlags) { + const parentType = isExpression(declaration.parent) && getContextualType(declaration.parent, contextFlags); + if (!parentType) return void 0; + return getTypeOfPropertyOfContextualType(parentType, getSymbolOfDeclaration(declaration).escapedName); + } + function getContextualTypeForInitializerExpression(node, contextFlags) { + const declaration = node.parent; + if (hasInitializer(declaration) && node === declaration.initializer) { + const result = getContextualTypeForVariableLikeDeclaration(declaration, contextFlags); + if (result) { + return result; + } + if (!(contextFlags & 8 /* SkipBindingPatterns */) && isBindingPattern(declaration.name) && declaration.name.elements.length > 0) { + return getTypeFromBindingPattern( + declaration.name, + /*includePatternInType*/ + true, + /*reportErrors*/ + false + ); + } + } + return void 0; + } + function getContextualTypeForReturnExpression(node, contextFlags) { + const func = getContainingFunction(node); + if (func) { + let contextualReturnType = getContextualReturnType(func, contextFlags); + if (contextualReturnType) { + const functionFlags = getFunctionFlags(func); + if (functionFlags & 1 /* Generator */) { + const isAsyncGenerator = (functionFlags & 2 /* Async */) !== 0; + if (contextualReturnType.flags & 1048576 /* Union */) { + contextualReturnType = filterType(contextualReturnType, (type) => !!getIterationTypeOfGeneratorFunctionReturnType(1 /* Return */, type, isAsyncGenerator)); + } + const iterationReturnType = getIterationTypeOfGeneratorFunctionReturnType(1 /* Return */, contextualReturnType, (functionFlags & 2 /* Async */) !== 0); + if (!iterationReturnType) { + return void 0; + } + contextualReturnType = iterationReturnType; + } + if (functionFlags & 2 /* Async */) { + const contextualAwaitedType = mapType(contextualReturnType, getAwaitedTypeNoAlias); + return contextualAwaitedType && getUnionType([contextualAwaitedType, createPromiseLikeType(contextualAwaitedType)]); + } + return contextualReturnType; + } + } + return void 0; + } + function getContextualTypeForAwaitOperand(node, contextFlags) { + const contextualType = getContextualType(node, contextFlags); + if (contextualType) { + const contextualAwaitedType = getAwaitedTypeNoAlias(contextualType); + return contextualAwaitedType && getUnionType([contextualAwaitedType, createPromiseLikeType(contextualAwaitedType)]); + } + return void 0; + } + function getContextualTypeForYieldOperand(node, contextFlags) { + const func = getContainingFunction(node); + if (func) { + const functionFlags = getFunctionFlags(func); + let contextualReturnType = getContextualReturnType(func, contextFlags); + if (contextualReturnType) { + const isAsyncGenerator = (functionFlags & 2 /* Async */) !== 0; + if (!node.asteriskToken && contextualReturnType.flags & 1048576 /* Union */) { + contextualReturnType = filterType(contextualReturnType, (type) => !!getIterationTypeOfGeneratorFunctionReturnType(1 /* Return */, type, isAsyncGenerator)); + } + if (node.asteriskToken) { + const iterationTypes = getIterationTypesOfGeneratorFunctionReturnType(contextualReturnType, isAsyncGenerator); + const yieldType = (iterationTypes == null ? void 0 : iterationTypes.yieldType) ?? silentNeverType; + const returnType = getContextualType(node, contextFlags) ?? silentNeverType; + const nextType = (iterationTypes == null ? void 0 : iterationTypes.nextType) ?? unknownType; + const generatorType = createGeneratorType( + yieldType, + returnType, + nextType, + /*isAsyncGenerator*/ + false + ); + if (isAsyncGenerator) { + const asyncGeneratorType = createGeneratorType( + yieldType, + returnType, + nextType, + /*isAsyncGenerator*/ + true + ); + return getUnionType([generatorType, asyncGeneratorType]); + } + return generatorType; + } + return getIterationTypeOfGeneratorFunctionReturnType(0 /* Yield */, contextualReturnType, isAsyncGenerator); + } + } + return void 0; + } + function isInParameterInitializerBeforeContainingFunction(node) { + let inBindingInitializer = false; + while (node.parent && !isFunctionLike(node.parent)) { + if (isParameter(node.parent) && (inBindingInitializer || node.parent.initializer === node)) { + return true; + } + if (isBindingElement(node.parent) && node.parent.initializer === node) { + inBindingInitializer = true; + } + node = node.parent; + } + return false; + } + function getContextualIterationType(kind, functionDecl) { + const isAsync = !!(getFunctionFlags(functionDecl) & 2 /* Async */); + const contextualReturnType = getContextualReturnType( + functionDecl, + /*contextFlags*/ + void 0 + ); + if (contextualReturnType) { + return getIterationTypeOfGeneratorFunctionReturnType(kind, contextualReturnType, isAsync) || void 0; + } + return void 0; + } + function getContextualReturnType(functionDecl, contextFlags) { + const returnType = getReturnTypeFromAnnotation(functionDecl); + if (returnType) { + return returnType; + } + const signature = getContextualSignatureForFunctionLikeDeclaration(functionDecl); + if (signature && !isResolvingReturnTypeOfSignature(signature)) { + const returnType2 = getReturnTypeOfSignature(signature); + const functionFlags = getFunctionFlags(functionDecl); + if (functionFlags & 1 /* Generator */) { + return filterType(returnType2, (t) => { + return !!(t.flags & (3 /* AnyOrUnknown */ | 16384 /* Void */ | 58982400 /* InstantiableNonPrimitive */)) || checkGeneratorInstantiationAssignabilityToReturnType( + t, + functionFlags, + /*errorNode*/ + void 0 + ); + }); + } + if (functionFlags & 2 /* Async */) { + return filterType(returnType2, (t) => { + return !!(t.flags & (3 /* AnyOrUnknown */ | 16384 /* Void */ | 58982400 /* InstantiableNonPrimitive */)) || !!getAwaitedTypeOfPromise(t); + }); + } + return returnType2; + } + const iife = getImmediatelyInvokedFunctionExpression(functionDecl); + if (iife) { + return getContextualType(iife, contextFlags); + } + return void 0; + } + function getContextualTypeForArgument(callTarget, arg) { + const args = getEffectiveCallArguments(callTarget); + const argIndex = args.indexOf(arg); + return argIndex === -1 ? void 0 : getContextualTypeForArgumentAtIndex(callTarget, argIndex); + } + function getContextualTypeForArgumentAtIndex(callTarget, argIndex) { + if (isImportCall(callTarget)) { + return argIndex === 0 ? stringType : argIndex === 1 ? getGlobalImportCallOptionsType( + /*reportErrors*/ + false + ) : anyType; + } + const signature = getNodeLinks(callTarget).resolvedSignature === resolvingSignature ? resolvingSignature : getResolvedSignature(callTarget); + if (isJsxOpeningLikeElement(callTarget) && argIndex === 0) { + return getEffectiveFirstArgumentForJsxSignature(signature, callTarget); + } + const restIndex = signature.parameters.length - 1; + return signatureHasRestParameter(signature) && argIndex >= restIndex ? getIndexedAccessType(getTypeOfSymbol(signature.parameters[restIndex]), getNumberLiteralType(argIndex - restIndex), 256 /* Contextual */) : getTypeAtPosition(signature, argIndex); + } + function getContextualTypeForDecorator(decorator) { + const signature = getDecoratorCallSignature(decorator); + return signature ? getOrCreateTypeFromSignature(signature) : void 0; + } + function getContextualTypeForSubstitutionExpression(template, substitutionExpression) { + if (template.parent.kind === 215 /* TaggedTemplateExpression */) { + return getContextualTypeForArgument(template.parent, substitutionExpression); + } + return void 0; + } + function getContextualTypeForBinaryOperand(node, contextFlags) { + const binaryExpression = node.parent; + const { left, operatorToken, right } = binaryExpression; + switch (operatorToken.kind) { + case 64 /* EqualsToken */: + case 77 /* AmpersandAmpersandEqualsToken */: + case 76 /* BarBarEqualsToken */: + case 78 /* QuestionQuestionEqualsToken */: + return node === right ? getContextualTypeForAssignmentDeclaration(binaryExpression) : void 0; + case 57 /* BarBarToken */: + case 61 /* QuestionQuestionToken */: + const type = getContextualType(binaryExpression, contextFlags); + return node === right && (type && type.pattern || !type && !isDefaultedExpandoInitializer(binaryExpression)) ? getTypeOfExpression(left) : type; + case 56 /* AmpersandAmpersandToken */: + case 28 /* CommaToken */: + return node === right ? getContextualType(binaryExpression, contextFlags) : void 0; + default: + return void 0; + } + } + function getSymbolForExpression(e) { + if (canHaveSymbol(e) && e.symbol) { + return e.symbol; + } + if (isIdentifier(e)) { + return getResolvedSymbol(e); + } + if (isPropertyAccessExpression(e)) { + const lhsType = getTypeOfExpression(e.expression); + return isPrivateIdentifier(e.name) ? tryGetPrivateIdentifierPropertyOfType(lhsType, e.name) : getPropertyOfType(lhsType, e.name.escapedText); + } + if (isElementAccessExpression(e)) { + const propType = checkExpressionCached(e.argumentExpression); + if (!isTypeUsableAsPropertyName(propType)) { + return void 0; + } + const lhsType = getTypeOfExpression(e.expression); + return getPropertyOfType(lhsType, getPropertyNameFromType(propType)); + } + return void 0; + function tryGetPrivateIdentifierPropertyOfType(type, id) { + const lexicallyScopedSymbol = lookupSymbolForPrivateIdentifierDeclaration(id.escapedText, id); + return lexicallyScopedSymbol && getPrivateIdentifierPropertyOfType(type, lexicallyScopedSymbol); + } + } + function getContextualTypeForAssignmentDeclaration(binaryExpression) { + var _a, _b; + const kind = getAssignmentDeclarationKind(binaryExpression); + switch (kind) { + case 0 /* None */: + case 4 /* ThisProperty */: + const lhsSymbol = getSymbolForExpression(binaryExpression.left); + const decl = lhsSymbol && lhsSymbol.valueDeclaration; + if (decl && (isPropertyDeclaration(decl) || isPropertySignature(decl))) { + const overallAnnotation = getEffectiveTypeAnnotationNode(decl); + return overallAnnotation && instantiateType(getTypeFromTypeNode(overallAnnotation), getSymbolLinks(lhsSymbol).mapper) || (isPropertyDeclaration(decl) ? decl.initializer && getTypeOfExpression(binaryExpression.left) : void 0); + } + if (kind === 0 /* None */) { + return getTypeOfExpression(binaryExpression.left); + } + return getContextualTypeForThisPropertyAssignment(binaryExpression); + case 5 /* Property */: + if (isPossiblyAliasedThisProperty(binaryExpression, kind)) { + return getContextualTypeForThisPropertyAssignment(binaryExpression); + } else if (!canHaveSymbol(binaryExpression.left) || !binaryExpression.left.symbol) { + return getTypeOfExpression(binaryExpression.left); + } else { + const decl2 = binaryExpression.left.symbol.valueDeclaration; + if (!decl2) { + return void 0; + } + const lhs = cast(binaryExpression.left, isAccessExpression); + const overallAnnotation = getEffectiveTypeAnnotationNode(decl2); + if (overallAnnotation) { + return getTypeFromTypeNode(overallAnnotation); + } else if (isIdentifier(lhs.expression)) { + const id = lhs.expression; + const parentSymbol = resolveName( + id, + id.escapedText, + 111551 /* Value */, + /*nameNotFoundMessage*/ + void 0, + /*isUse*/ + true + ); + if (parentSymbol) { + const annotated2 = parentSymbol.valueDeclaration && getEffectiveTypeAnnotationNode(parentSymbol.valueDeclaration); + if (annotated2) { + const nameStr = getElementOrPropertyAccessName(lhs); + if (nameStr !== void 0) { + return getTypeOfPropertyOfContextualType(getTypeFromTypeNode(annotated2), nameStr); + } + } + return void 0; + } + } + return isInJSFile(decl2) || decl2 === binaryExpression.left ? void 0 : getTypeOfExpression(binaryExpression.left); + } + case 1 /* ExportsProperty */: + case 6 /* Prototype */: + case 3 /* PrototypeProperty */: + case 2 /* ModuleExports */: + let valueDeclaration; + if (kind !== 2 /* ModuleExports */) { + valueDeclaration = canHaveSymbol(binaryExpression.left) ? (_a = binaryExpression.left.symbol) == null ? void 0 : _a.valueDeclaration : void 0; + } + valueDeclaration || (valueDeclaration = (_b = binaryExpression.symbol) == null ? void 0 : _b.valueDeclaration); + const annotated = valueDeclaration && getEffectiveTypeAnnotationNode(valueDeclaration); + return annotated ? getTypeFromTypeNode(annotated) : void 0; + case 7 /* ObjectDefinePropertyValue */: + case 8 /* ObjectDefinePropertyExports */: + case 9 /* ObjectDefinePrototypeProperty */: + return Debug.fail("Does not apply"); + default: + return Debug.assertNever(kind); + } + } + function isPossiblyAliasedThisProperty(declaration, kind = getAssignmentDeclarationKind(declaration)) { + if (kind === 4 /* ThisProperty */) { + return true; + } + if (!isInJSFile(declaration) || kind !== 5 /* Property */ || !isIdentifier(declaration.left.expression)) { + return false; + } + const name = declaration.left.expression.escapedText; + const symbol = resolveName( + declaration.left, + name, + 111551 /* Value */, + /*nameNotFoundMessage*/ + void 0, + /*isUse*/ + true, + /*excludeGlobals*/ + true + ); + return isThisInitializedDeclaration(symbol == null ? void 0 : symbol.valueDeclaration); + } + function getContextualTypeForThisPropertyAssignment(binaryExpression) { + if (!binaryExpression.symbol) return getTypeOfExpression(binaryExpression.left); + if (binaryExpression.symbol.valueDeclaration) { + const annotated = getEffectiveTypeAnnotationNode(binaryExpression.symbol.valueDeclaration); + if (annotated) { + const type = getTypeFromTypeNode(annotated); + if (type) { + return type; + } + } + } + const thisAccess = cast(binaryExpression.left, isAccessExpression); + if (!isObjectLiteralMethod(getThisContainer( + thisAccess.expression, + /*includeArrowFunctions*/ + false, + /*includeClassComputedPropertyName*/ + false + ))) { + return void 0; + } + const thisType = checkThisExpression(thisAccess.expression); + const nameStr = getElementOrPropertyAccessName(thisAccess); + return nameStr !== void 0 && getTypeOfPropertyOfContextualType(thisType, nameStr) || void 0; + } + function isCircularMappedProperty(symbol) { + return !!(getCheckFlags(symbol) & 262144 /* Mapped */ && !symbol.links.type && findResolutionCycleStartIndex(symbol, 0 /* Type */) >= 0); + } + function isExcludedMappedPropertyName(constraint, propertyNameType) { + if (constraint.flags & 16777216 /* Conditional */) { + const type = constraint; + return !!(getReducedType(getTrueTypeFromConditionalType(type)).flags & 131072 /* Never */) && getActualTypeVariable(getFalseTypeFromConditionalType(type)) === getActualTypeVariable(type.checkType) && isTypeAssignableTo(propertyNameType, type.extendsType); + } + if (constraint.flags & 2097152 /* Intersection */) { + return some(constraint.types, (t) => isExcludedMappedPropertyName(t, propertyNameType)); + } + return false; + } + function getTypeOfPropertyOfContextualType(type, name, nameType) { + return mapType( + type, + (t) => { + if (t.flags & 2097152 /* Intersection */) { + let types; + let indexInfoCandidates; + let ignoreIndexInfos = false; + for (const constituentType of t.types) { + if (!(constituentType.flags & 524288 /* Object */)) { + continue; + } + if (isGenericMappedType(constituentType) && getMappedTypeNameTypeKind(constituentType) !== 2 /* Remapping */) { + const substitutedType = getIndexedMappedTypeSubstitutedTypeOfContextualType(constituentType, name, nameType); + types = appendContextualPropertyTypeConstituent(types, substitutedType); + continue; + } + const propertyType = getTypeOfConcretePropertyOfContextualType(constituentType, name); + if (!propertyType) { + if (!ignoreIndexInfos) { + indexInfoCandidates = append(indexInfoCandidates, constituentType); + } + continue; + } + ignoreIndexInfos = true; + indexInfoCandidates = void 0; + types = appendContextualPropertyTypeConstituent(types, propertyType); + } + if (indexInfoCandidates) { + for (const candidate of indexInfoCandidates) { + const indexInfoType = getTypeFromIndexInfosOfContextualType(candidate, name, nameType); + types = appendContextualPropertyTypeConstituent(types, indexInfoType); + } + } + if (!types) { + return; + } + if (types.length === 1) { + return types[0]; + } + return getIntersectionType(types); + } + if (!(t.flags & 524288 /* Object */)) { + return; + } + return isGenericMappedType(t) && getMappedTypeNameTypeKind(t) !== 2 /* Remapping */ ? getIndexedMappedTypeSubstitutedTypeOfContextualType(t, name, nameType) : getTypeOfConcretePropertyOfContextualType(t, name) ?? getTypeFromIndexInfosOfContextualType(t, name, nameType); + }, + /*noReductions*/ + true + ); + } + function appendContextualPropertyTypeConstituent(types, type) { + return type ? append(types, type.flags & 1 /* Any */ ? unknownType : type) : types; + } + function getIndexedMappedTypeSubstitutedTypeOfContextualType(type, name, nameType) { + const propertyNameType = nameType || getStringLiteralType(unescapeLeadingUnderscores(name)); + const constraint = getConstraintTypeFromMappedType(type); + if (type.nameType && isExcludedMappedPropertyName(type.nameType, propertyNameType) || isExcludedMappedPropertyName(constraint, propertyNameType)) { + return; + } + const constraintOfConstraint = getBaseConstraintOfType(constraint) || constraint; + if (!isTypeAssignableTo(propertyNameType, constraintOfConstraint)) { + return; + } + return substituteIndexedMappedType(type, propertyNameType); + } + function getTypeOfConcretePropertyOfContextualType(type, name) { + const prop = getPropertyOfType(type, name); + if (!prop || isCircularMappedProperty(prop)) { + return; + } + return removeMissingType(getTypeOfSymbol(prop), !!(prop.flags & 16777216 /* Optional */)); + } + function getTypeFromIndexInfosOfContextualType(type, name, nameType) { + var _a; + if (isTupleType(type) && isNumericLiteralName(name) && +name >= 0) { + const restType = getElementTypeOfSliceOfTupleType( + type, + type.target.fixedLength, + /*endSkipCount*/ + 0, + /*writing*/ + false, + /*noReductions*/ + true + ); + if (restType) { + return restType; + } + } + return (_a = findApplicableIndexInfo(getIndexInfosOfStructuredType(type), nameType || getStringLiteralType(unescapeLeadingUnderscores(name)))) == null ? void 0 : _a.type; + } + function getContextualTypeForObjectLiteralMethod(node, contextFlags) { + Debug.assert(isObjectLiteralMethod(node)); + if (node.flags & 67108864 /* InWithStatement */) { + return void 0; + } + return getContextualTypeForObjectLiteralElement(node, contextFlags); + } + function getContextualTypeForObjectLiteralElement(element, contextFlags) { + const objectLiteral = element.parent; + const propertyAssignmentType = isPropertyAssignment(element) && getContextualTypeForVariableLikeDeclaration(element, contextFlags); + if (propertyAssignmentType) { + return propertyAssignmentType; + } + const type = getApparentTypeOfContextualType(objectLiteral, contextFlags); + if (type) { + if (hasBindableName(element)) { + const symbol = getSymbolOfDeclaration(element); + return getTypeOfPropertyOfContextualType(type, symbol.escapedName, getSymbolLinks(symbol).nameType); + } + if (hasDynamicName(element)) { + const name = getNameOfDeclaration(element); + if (name && isComputedPropertyName(name)) { + const exprType = checkExpression(name.expression); + const propType = isTypeUsableAsPropertyName(exprType) && getTypeOfPropertyOfContextualType(type, getPropertyNameFromType(exprType)); + if (propType) { + return propType; + } + } + } + if (element.name) { + const nameType = getLiteralTypeFromPropertyName(element.name); + return mapType( + type, + (t) => { + var _a; + return (_a = findApplicableIndexInfo(getIndexInfosOfStructuredType(t), nameType)) == null ? void 0 : _a.type; + }, + /*noReductions*/ + true + ); + } + } + return void 0; + } + function getSpreadIndices(elements) { + let first2, last2; + for (let i = 0; i < elements.length; i++) { + if (isSpreadElement(elements[i])) { + first2 ?? (first2 = i); + last2 = i; + } + } + return { first: first2, last: last2 }; + } + function getContextualTypeForElementExpression(type, index, length2, firstSpreadIndex, lastSpreadIndex) { + return type && mapType( + type, + (t) => { + if (isTupleType(t)) { + if ((firstSpreadIndex === void 0 || index < firstSpreadIndex) && index < t.target.fixedLength) { + return removeMissingType(getTypeArguments(t)[index], !!(t.target.elementFlags[index] && 2 /* Optional */)); + } + const offset = length2 !== void 0 && (lastSpreadIndex === void 0 || index > lastSpreadIndex) ? length2 - index : 0; + const fixedEndLength = offset > 0 && t.target.combinedFlags & 12 /* Variable */ ? getEndElementCount(t.target, 3 /* Fixed */) : 0; + if (offset > 0 && offset <= fixedEndLength) { + return getTypeArguments(t)[getTypeReferenceArity(t) - offset]; + } + return getElementTypeOfSliceOfTupleType( + t, + firstSpreadIndex === void 0 ? t.target.fixedLength : Math.min(t.target.fixedLength, firstSpreadIndex), + length2 === void 0 || lastSpreadIndex === void 0 ? fixedEndLength : Math.min(fixedEndLength, length2 - lastSpreadIndex), + /*writing*/ + false, + /*noReductions*/ + true + ); + } + return (!firstSpreadIndex || index < firstSpreadIndex) && getTypeOfPropertyOfContextualType(t, "" + index) || getIteratedTypeOrElementType( + 1 /* Element */, + t, + undefinedType, + /*errorNode*/ + void 0, + /*checkAssignability*/ + false + ); + }, + /*noReductions*/ + true + ); + } + function getContextualTypeForConditionalOperand(node, contextFlags) { + const conditional = node.parent; + return node === conditional.whenTrue || node === conditional.whenFalse ? getContextualType(conditional, contextFlags) : void 0; + } + function getContextualTypeForChildJsxExpression(node, child, contextFlags) { + const attributesType = getApparentTypeOfContextualType(node.openingElement.attributes, contextFlags); + const jsxChildrenPropertyName = getJsxElementChildrenPropertyName(getJsxNamespaceAt(node)); + if (!(attributesType && !isTypeAny(attributesType) && jsxChildrenPropertyName && jsxChildrenPropertyName !== "")) { + return void 0; + } + const realChildren = getSemanticJsxChildren(node.children); + const childIndex = realChildren.indexOf(child); + const childFieldType = getTypeOfPropertyOfContextualType(attributesType, jsxChildrenPropertyName); + return childFieldType && (realChildren.length === 1 ? childFieldType : mapType( + childFieldType, + (t) => { + if (isArrayLikeType(t)) { + return getIndexedAccessType(t, getNumberLiteralType(childIndex)); + } else { + return t; + } + }, + /*noReductions*/ + true + )); + } + function getContextualTypeForJsxExpression(node, contextFlags) { + const exprParent = node.parent; + return isJsxAttributeLike(exprParent) ? getContextualType(node, contextFlags) : isJsxElement(exprParent) ? getContextualTypeForChildJsxExpression(exprParent, node, contextFlags) : void 0; + } + function getContextualTypeForJsxAttribute(attribute, contextFlags) { + if (isJsxAttribute(attribute)) { + const attributesType = getApparentTypeOfContextualType(attribute.parent, contextFlags); + if (!attributesType || isTypeAny(attributesType)) { + return void 0; + } + return getTypeOfPropertyOfContextualType(attributesType, getEscapedTextOfJsxAttributeName(attribute.name)); + } else { + return getContextualType(attribute.parent, contextFlags); + } + } + function isPossiblyDiscriminantValue(node) { + switch (node.kind) { + case 11 /* StringLiteral */: + case 9 /* NumericLiteral */: + case 10 /* BigIntLiteral */: + case 15 /* NoSubstitutionTemplateLiteral */: + case 228 /* TemplateExpression */: + case 112 /* TrueKeyword */: + case 97 /* FalseKeyword */: + case 106 /* NullKeyword */: + case 80 /* Identifier */: + case 157 /* UndefinedKeyword */: + return true; + case 211 /* PropertyAccessExpression */: + case 217 /* ParenthesizedExpression */: + return isPossiblyDiscriminantValue(node.expression); + case 294 /* JsxExpression */: + return !node.expression || isPossiblyDiscriminantValue(node.expression); + } + return false; + } + function discriminateContextualTypeByObjectMembers(node, contextualType) { + const key = `D${getNodeId(node)},${getTypeId(contextualType)}`; + return getCachedType(key) ?? setCachedType( + key, + getMatchingUnionConstituentForObjectLiteral(contextualType, node) ?? discriminateTypeByDiscriminableItems( + contextualType, + concatenate( + map( + filter(node.properties, (p) => { + if (!p.symbol) { + return false; + } + if (p.kind === 303 /* PropertyAssignment */) { + return isPossiblyDiscriminantValue(p.initializer) && isDiscriminantProperty(contextualType, p.symbol.escapedName); + } + if (p.kind === 304 /* ShorthandPropertyAssignment */) { + return isDiscriminantProperty(contextualType, p.symbol.escapedName); + } + return false; + }), + (prop) => [() => getContextFreeTypeOfExpression(prop.kind === 303 /* PropertyAssignment */ ? prop.initializer : prop.name), prop.symbol.escapedName] + ), + map( + filter(getPropertiesOfType(contextualType), (s) => { + var _a; + return !!(s.flags & 16777216 /* Optional */) && !!((_a = node == null ? void 0 : node.symbol) == null ? void 0 : _a.members) && !node.symbol.members.has(s.escapedName) && isDiscriminantProperty(contextualType, s.escapedName); + }), + (s) => [() => undefinedType, s.escapedName] + ) + ), + isTypeAssignableTo + ) + ); + } + function discriminateContextualTypeByJSXAttributes(node, contextualType) { + const key = `D${getNodeId(node)},${getTypeId(contextualType)}`; + const cached = getCachedType(key); + if (cached) return cached; + const jsxChildrenPropertyName = getJsxElementChildrenPropertyName(getJsxNamespaceAt(node)); + return setCachedType( + key, + discriminateTypeByDiscriminableItems( + contextualType, + concatenate( + map( + filter(node.properties, (p) => !!p.symbol && p.kind === 291 /* JsxAttribute */ && isDiscriminantProperty(contextualType, p.symbol.escapedName) && (!p.initializer || isPossiblyDiscriminantValue(p.initializer))), + (prop) => [!prop.initializer ? () => trueType : () => getContextFreeTypeOfExpression(prop.initializer), prop.symbol.escapedName] + ), + map( + filter(getPropertiesOfType(contextualType), (s) => { + var _a; + if (!(s.flags & 16777216 /* Optional */) || !((_a = node == null ? void 0 : node.symbol) == null ? void 0 : _a.members)) { + return false; + } + const element = node.parent.parent; + if (s.escapedName === jsxChildrenPropertyName && isJsxElement(element) && getSemanticJsxChildren(element.children).length) { + return false; + } + return !node.symbol.members.has(s.escapedName) && isDiscriminantProperty(contextualType, s.escapedName); + }), + (s) => [() => undefinedType, s.escapedName] + ) + ), + isTypeAssignableTo + ) + ); + } + function getApparentTypeOfContextualType(node, contextFlags) { + const contextualType = isObjectLiteralMethod(node) ? getContextualTypeForObjectLiteralMethod(node, contextFlags) : getContextualType(node, contextFlags); + const instantiatedType = instantiateContextualType(contextualType, node, contextFlags); + if (instantiatedType && !(contextFlags && contextFlags & 2 /* NoConstraints */ && instantiatedType.flags & 8650752 /* TypeVariable */)) { + const apparentType = mapType( + instantiatedType, + // When obtaining apparent type of *contextual* type we don't want to get apparent type of mapped types. + // That would evaluate mapped types with array or tuple type constraints too eagerly + // and thus it would prevent `getTypeOfPropertyOfContextualType` from obtaining per-position contextual type for elements of array literal expressions. + // Apparent type of other mapped types is already the mapped type itself so we can just avoid calling `getApparentType` here for all mapped types. + (t) => getObjectFlags(t) & 32 /* Mapped */ ? t : getApparentType(t), + /*noReductions*/ + true + ); + return apparentType.flags & 1048576 /* Union */ && isObjectLiteralExpression(node) ? discriminateContextualTypeByObjectMembers(node, apparentType) : apparentType.flags & 1048576 /* Union */ && isJsxAttributes(node) ? discriminateContextualTypeByJSXAttributes(node, apparentType) : apparentType; + } + } + function instantiateContextualType(contextualType, node, contextFlags) { + if (contextualType && maybeTypeOfKind(contextualType, 465829888 /* Instantiable */)) { + const inferenceContext = getInferenceContext(node); + if (inferenceContext && contextFlags & 1 /* Signature */ && some(inferenceContext.inferences, hasInferenceCandidatesOrDefault)) { + return instantiateInstantiableTypes(contextualType, inferenceContext.nonFixingMapper); + } + if (inferenceContext == null ? void 0 : inferenceContext.returnMapper) { + const type = instantiateInstantiableTypes(contextualType, inferenceContext.returnMapper); + return type.flags & 1048576 /* Union */ && containsType(type.types, regularFalseType) && containsType(type.types, regularTrueType) ? filterType(type, (t) => t !== regularFalseType && t !== regularTrueType) : type; + } + } + return contextualType; + } + function instantiateInstantiableTypes(type, mapper) { + if (type.flags & 465829888 /* Instantiable */) { + return instantiateType(type, mapper); + } + if (type.flags & 1048576 /* Union */) { + return getUnionType(map(type.types, (t) => instantiateInstantiableTypes(t, mapper)), 0 /* None */); + } + if (type.flags & 2097152 /* Intersection */) { + return getIntersectionType(map(type.types, (t) => instantiateInstantiableTypes(t, mapper))); + } + return type; + } + function getContextualType(node, contextFlags) { + var _a; + if (node.flags & 67108864 /* InWithStatement */) { + return void 0; + } + const index = findContextualNode( + node, + /*includeCaches*/ + !contextFlags + ); + if (index >= 0) { + return contextualTypes[index]; + } + const { parent } = node; + switch (parent.kind) { + case 260 /* VariableDeclaration */: + case 169 /* Parameter */: + case 172 /* PropertyDeclaration */: + case 171 /* PropertySignature */: + case 208 /* BindingElement */: + return getContextualTypeForInitializerExpression(node, contextFlags); + case 219 /* ArrowFunction */: + case 253 /* ReturnStatement */: + return getContextualTypeForReturnExpression(node, contextFlags); + case 229 /* YieldExpression */: + return getContextualTypeForYieldOperand(parent, contextFlags); + case 223 /* AwaitExpression */: + return getContextualTypeForAwaitOperand(parent, contextFlags); + case 213 /* CallExpression */: + case 214 /* NewExpression */: + return getContextualTypeForArgument(parent, node); + case 170 /* Decorator */: + return getContextualTypeForDecorator(parent); + case 216 /* TypeAssertionExpression */: + case 234 /* AsExpression */: + return isConstTypeReference(parent.type) ? getContextualType(parent, contextFlags) : getTypeFromTypeNode(parent.type); + case 226 /* BinaryExpression */: + return getContextualTypeForBinaryOperand(node, contextFlags); + case 303 /* PropertyAssignment */: + case 304 /* ShorthandPropertyAssignment */: + return getContextualTypeForObjectLiteralElement(parent, contextFlags); + case 305 /* SpreadAssignment */: + return getContextualType(parent.parent, contextFlags); + case 209 /* ArrayLiteralExpression */: { + const arrayLiteral = parent; + const type = getApparentTypeOfContextualType(arrayLiteral, contextFlags); + const elementIndex = indexOfNode(arrayLiteral.elements, node); + const spreadIndices = (_a = getNodeLinks(arrayLiteral)).spreadIndices ?? (_a.spreadIndices = getSpreadIndices(arrayLiteral.elements)); + return getContextualTypeForElementExpression(type, elementIndex, arrayLiteral.elements.length, spreadIndices.first, spreadIndices.last); + } + case 227 /* ConditionalExpression */: + return getContextualTypeForConditionalOperand(node, contextFlags); + case 239 /* TemplateSpan */: + Debug.assert(parent.parent.kind === 228 /* TemplateExpression */); + return getContextualTypeForSubstitutionExpression(parent.parent, node); + case 217 /* ParenthesizedExpression */: { + if (isInJSFile(parent)) { + if (isJSDocSatisfiesExpression(parent)) { + return getTypeFromTypeNode(getJSDocSatisfiesExpressionType(parent)); + } + const typeTag = getJSDocTypeTag(parent); + if (typeTag && !isConstTypeReference(typeTag.typeExpression.type)) { + return getTypeFromTypeNode(typeTag.typeExpression.type); + } + } + return getContextualType(parent, contextFlags); + } + case 235 /* NonNullExpression */: + return getContextualType(parent, contextFlags); + case 238 /* SatisfiesExpression */: + return getTypeFromTypeNode(parent.type); + case 277 /* ExportAssignment */: + return tryGetTypeFromEffectiveTypeNode(parent); + case 294 /* JsxExpression */: + return getContextualTypeForJsxExpression(parent, contextFlags); + case 291 /* JsxAttribute */: + case 293 /* JsxSpreadAttribute */: + return getContextualTypeForJsxAttribute(parent, contextFlags); + case 286 /* JsxOpeningElement */: + case 285 /* JsxSelfClosingElement */: + return getContextualJsxElementAttributesType(parent, contextFlags); + case 301 /* ImportAttribute */: + return getContextualImportAttributeType(parent); + } + return void 0; + } + function pushCachedContextualType(node) { + pushContextualType( + node, + getContextualType( + node, + /*contextFlags*/ + void 0 + ), + /*isCache*/ + true + ); + } + function pushContextualType(node, type, isCache) { + contextualTypeNodes[contextualTypeCount] = node; + contextualTypes[contextualTypeCount] = type; + contextualIsCache[contextualTypeCount] = isCache; + contextualTypeCount++; + } + function popContextualType() { + contextualTypeCount--; + } + function findContextualNode(node, includeCaches) { + for (let i = contextualTypeCount - 1; i >= 0; i--) { + if (node === contextualTypeNodes[i] && (includeCaches || !contextualIsCache[i])) { + return i; + } + } + return -1; + } + function pushInferenceContext(node, inferenceContext) { + inferenceContextNodes[inferenceContextCount] = node; + inferenceContexts[inferenceContextCount] = inferenceContext; + inferenceContextCount++; + } + function popInferenceContext() { + inferenceContextCount--; + } + function getInferenceContext(node) { + for (let i = inferenceContextCount - 1; i >= 0; i--) { + if (isNodeDescendantOf(node, inferenceContextNodes[i])) { + return inferenceContexts[i]; + } + } + } + function getContextualImportAttributeType(node) { + return getTypeOfPropertyOfContextualType(getGlobalImportAttributesType( + /*reportErrors*/ + false + ), getNameFromImportAttribute(node)); + } + function getContextualJsxElementAttributesType(node, contextFlags) { + if (isJsxOpeningElement(node) && contextFlags !== 4 /* Completions */) { + const index = findContextualNode( + node.parent, + /*includeCaches*/ + !contextFlags + ); + if (index >= 0) { + return contextualTypes[index]; + } + } + return getContextualTypeForArgumentAtIndex(node, 0); + } + function getEffectiveFirstArgumentForJsxSignature(signature, node) { + return isJsxOpeningFragment(node) || getJsxReferenceKind(node) !== 0 /* Component */ ? getJsxPropsTypeFromCallSignature(signature, node) : getJsxPropsTypeFromClassType(signature, node); + } + function getJsxPropsTypeFromCallSignature(sig, context) { + let propsType = getTypeOfFirstParameterOfSignatureWithFallback(sig, unknownType); + propsType = getJsxManagedAttributesFromLocatedAttributes(context, getJsxNamespaceAt(context), propsType); + const intrinsicAttribs = getJsxType(JsxNames.IntrinsicAttributes, context); + if (!isErrorType(intrinsicAttribs)) { + propsType = intersectTypes(intrinsicAttribs, propsType); + } + return propsType; + } + function getJsxPropsTypeForSignatureFromMember(sig, forcedLookupLocation) { + if (sig.compositeSignatures) { + const results = []; + for (const signature of sig.compositeSignatures) { + const instance = getReturnTypeOfSignature(signature); + if (isTypeAny(instance)) { + return instance; + } + const propType = getTypeOfPropertyOfType(instance, forcedLookupLocation); + if (!propType) { + return; + } + results.push(propType); + } + return getIntersectionType(results); + } + const instanceType = getReturnTypeOfSignature(sig); + return isTypeAny(instanceType) ? instanceType : getTypeOfPropertyOfType(instanceType, forcedLookupLocation); + } + function getStaticTypeOfReferencedJsxConstructor(context) { + if (isJsxOpeningFragment(context)) return getJSXFragmentType(context); + if (isJsxIntrinsicTagName(context.tagName)) { + const result = getIntrinsicAttributesTypeFromJsxOpeningLikeElement(context); + const fakeSignature = createSignatureForJSXIntrinsic(context, result); + return getOrCreateTypeFromSignature(fakeSignature); + } + const tagType = checkExpressionCached(context.tagName); + if (tagType.flags & 128 /* StringLiteral */) { + const result = getIntrinsicAttributesTypeFromStringLiteralType(tagType, context); + if (!result) { + return errorType; + } + const fakeSignature = createSignatureForJSXIntrinsic(context, result); + return getOrCreateTypeFromSignature(fakeSignature); + } + return tagType; + } + function getJsxManagedAttributesFromLocatedAttributes(context, ns, attributesType) { + const managedSym = getJsxLibraryManagedAttributes(ns); + if (managedSym) { + const ctorType = getStaticTypeOfReferencedJsxConstructor(context); + const result = instantiateAliasOrInterfaceWithDefaults(managedSym, isInJSFile(context), ctorType, attributesType); + if (result) { + return result; + } + } + return attributesType; + } + function getJsxPropsTypeFromClassType(sig, context) { + const ns = getJsxNamespaceAt(context); + const forcedLookupLocation = getJsxElementPropertiesName(ns); + let attributesType = forcedLookupLocation === void 0 ? getTypeOfFirstParameterOfSignatureWithFallback(sig, unknownType) : forcedLookupLocation === "" ? getReturnTypeOfSignature(sig) : getJsxPropsTypeForSignatureFromMember(sig, forcedLookupLocation); + if (!attributesType) { + if (!!forcedLookupLocation && !!length(context.attributes.properties)) { + error(context, Diagnostics.JSX_element_class_does_not_support_attributes_because_it_does_not_have_a_0_property, unescapeLeadingUnderscores(forcedLookupLocation)); + } + return unknownType; + } + attributesType = getJsxManagedAttributesFromLocatedAttributes(context, ns, attributesType); + if (isTypeAny(attributesType)) { + return attributesType; + } else { + let apparentAttributesType = attributesType; + const intrinsicClassAttribs = getJsxType(JsxNames.IntrinsicClassAttributes, context); + if (!isErrorType(intrinsicClassAttribs)) { + const typeParams = getLocalTypeParametersOfClassOrInterfaceOrTypeAlias(intrinsicClassAttribs.symbol); + const hostClassType = getReturnTypeOfSignature(sig); + let libraryManagedAttributeType; + if (typeParams) { + const inferredArgs = fillMissingTypeArguments([hostClassType], typeParams, getMinTypeArgumentCount(typeParams), isInJSFile(context)); + libraryManagedAttributeType = instantiateType(intrinsicClassAttribs, createTypeMapper(typeParams, inferredArgs)); + } else libraryManagedAttributeType = intrinsicClassAttribs; + apparentAttributesType = intersectTypes(libraryManagedAttributeType, apparentAttributesType); + } + const intrinsicAttribs = getJsxType(JsxNames.IntrinsicAttributes, context); + if (!isErrorType(intrinsicAttribs)) { + apparentAttributesType = intersectTypes(intrinsicAttribs, apparentAttributesType); + } + return apparentAttributesType; + } + } + function getIntersectedSignatures(signatures) { + return getStrictOptionValue(compilerOptions, "noImplicitAny") ? reduceLeft( + signatures, + (left, right) => left === right || !left ? left : compareTypeParametersIdentical(left.typeParameters, right.typeParameters) ? combineSignaturesOfIntersectionMembers(left, right) : void 0 + ) : void 0; + } + function combineIntersectionThisParam(left, right, mapper) { + if (!left || !right) { + return left || right; + } + const thisType = getUnionType([getTypeOfSymbol(left), instantiateType(getTypeOfSymbol(right), mapper)]); + return createSymbolWithType(left, thisType); + } + function combineIntersectionParameters(left, right, mapper) { + const leftCount = getParameterCount(left); + const rightCount = getParameterCount(right); + const longest = leftCount >= rightCount ? left : right; + const shorter = longest === left ? right : left; + const longestCount = longest === left ? leftCount : rightCount; + const eitherHasEffectiveRest = hasEffectiveRestParameter(left) || hasEffectiveRestParameter(right); + const needsExtraRestElement = eitherHasEffectiveRest && !hasEffectiveRestParameter(longest); + const params = new Array(longestCount + (needsExtraRestElement ? 1 : 0)); + for (let i = 0; i < longestCount; i++) { + let longestParamType = tryGetTypeAtPosition(longest, i); + if (longest === right) { + longestParamType = instantiateType(longestParamType, mapper); + } + let shorterParamType = tryGetTypeAtPosition(shorter, i) || unknownType; + if (shorter === right) { + shorterParamType = instantiateType(shorterParamType, mapper); + } + const unionParamType = getUnionType([longestParamType, shorterParamType]); + const isRestParam = eitherHasEffectiveRest && !needsExtraRestElement && i === longestCount - 1; + const isOptional = i >= getMinArgumentCount(longest) && i >= getMinArgumentCount(shorter); + const leftName = i >= leftCount ? void 0 : getParameterNameAtPosition(left, i); + const rightName = i >= rightCount ? void 0 : getParameterNameAtPosition(right, i); + const paramName = leftName === rightName ? leftName : !leftName ? rightName : !rightName ? leftName : void 0; + const paramSymbol = createSymbol( + 1 /* FunctionScopedVariable */ | (isOptional && !isRestParam ? 16777216 /* Optional */ : 0), + paramName || `arg${i}`, + isRestParam ? 32768 /* RestParameter */ : isOptional ? 16384 /* OptionalParameter */ : 0 + ); + paramSymbol.links.type = isRestParam ? createArrayType(unionParamType) : unionParamType; + params[i] = paramSymbol; + } + if (needsExtraRestElement) { + const restParamSymbol = createSymbol(1 /* FunctionScopedVariable */, "args", 32768 /* RestParameter */); + restParamSymbol.links.type = createArrayType(getTypeAtPosition(shorter, longestCount)); + if (shorter === right) { + restParamSymbol.links.type = instantiateType(restParamSymbol.links.type, mapper); + } + params[longestCount] = restParamSymbol; + } + return params; + } + function combineSignaturesOfIntersectionMembers(left, right) { + const typeParams = left.typeParameters || right.typeParameters; + let paramMapper; + if (left.typeParameters && right.typeParameters) { + paramMapper = createTypeMapper(right.typeParameters, left.typeParameters); + } + let flags = (left.flags | right.flags) & (167 /* PropagatingFlags */ & ~1 /* HasRestParameter */); + const declaration = left.declaration; + const params = combineIntersectionParameters(left, right, paramMapper); + const lastParam = lastOrUndefined(params); + if (lastParam && getCheckFlags(lastParam) & 32768 /* RestParameter */) { + flags |= 1 /* HasRestParameter */; + } + const thisParam = combineIntersectionThisParam(left.thisParameter, right.thisParameter, paramMapper); + const minArgCount = Math.max(left.minArgumentCount, right.minArgumentCount); + const result = createSignature( + declaration, + typeParams, + thisParam, + params, + /*resolvedReturnType*/ + void 0, + /*resolvedTypePredicate*/ + void 0, + minArgCount, + flags + ); + result.compositeKind = 2097152 /* Intersection */; + result.compositeSignatures = concatenate(left.compositeKind === 2097152 /* Intersection */ && left.compositeSignatures || [left], [right]); + if (paramMapper) { + result.mapper = left.compositeKind === 2097152 /* Intersection */ && left.mapper && left.compositeSignatures ? combineTypeMappers(left.mapper, paramMapper) : paramMapper; + } + return result; + } + function getContextualCallSignature(type, node) { + const signatures = getSignaturesOfType(type, 0 /* Call */); + const applicableByArity = filter(signatures, (s) => !isAritySmaller(s, node)); + return applicableByArity.length === 1 ? applicableByArity[0] : getIntersectedSignatures(applicableByArity); + } + function isAritySmaller(signature, target) { + let targetParameterCount = 0; + for (; targetParameterCount < target.parameters.length; targetParameterCount++) { + const param = target.parameters[targetParameterCount]; + if (param.initializer || param.questionToken || param.dotDotDotToken || isJSDocOptionalParameter(param)) { + break; + } + } + if (target.parameters.length && parameterIsThisKeyword(target.parameters[0])) { + targetParameterCount--; + } + return !hasEffectiveRestParameter(signature) && getParameterCount(signature) < targetParameterCount; + } + function getContextualSignatureForFunctionLikeDeclaration(node) { + return isFunctionExpressionOrArrowFunction(node) || isObjectLiteralMethod(node) ? getContextualSignature(node) : void 0; + } + function getContextualSignature(node) { + Debug.assert(node.kind !== 174 /* MethodDeclaration */ || isObjectLiteralMethod(node)); + const typeTagSignature = getSignatureOfTypeTag(node); + if (typeTagSignature) { + return typeTagSignature; + } + const type = getApparentTypeOfContextualType(node, 1 /* Signature */); + if (!type) { + return void 0; + } + if (!(type.flags & 1048576 /* Union */)) { + return getContextualCallSignature(type, node); + } + let signatureList; + const types = type.types; + for (const current of types) { + const signature = getContextualCallSignature(current, node); + if (signature) { + if (!signatureList) { + signatureList = [signature]; + } else if (!compareSignaturesIdentical( + signatureList[0], + signature, + /*partialMatch*/ + false, + /*ignoreThisTypes*/ + true, + /*ignoreReturnTypes*/ + true, + compareTypesIdentical + )) { + return void 0; + } else { + signatureList.push(signature); + } + } + } + if (signatureList) { + return signatureList.length === 1 ? signatureList[0] : createUnionSignature(signatureList[0], signatureList); + } + } + function checkGrammarRegularExpressionLiteral(node) { + const sourceFile = getSourceFileOfNode(node); + if (!hasParseDiagnostics(sourceFile) && !node.isUnterminated) { + let lastError; + scanner ?? (scanner = createScanner( + 99 /* ESNext */, + /*skipTrivia*/ + true + )); + scanner.setScriptTarget(sourceFile.languageVersion); + scanner.setLanguageVariant(sourceFile.languageVariant); + scanner.setOnError((message, length2, arg0) => { + const start = scanner.getTokenEnd(); + if (message.category === 3 /* Message */ && lastError && start === lastError.start && length2 === lastError.length) { + const error2 = createDetachedDiagnostic(sourceFile.fileName, sourceFile.text, start, length2, message, arg0); + addRelatedInfo(lastError, error2); + } else if (!lastError || start !== lastError.start) { + lastError = createFileDiagnostic(sourceFile, start, length2, message, arg0); + diagnostics.add(lastError); + } + }); + scanner.setText(sourceFile.text, node.pos, node.end - node.pos); + try { + scanner.scan(); + Debug.assert(scanner.reScanSlashToken( + /*reportErrors*/ + true + ) === 14 /* RegularExpressionLiteral */, "Expected scanner to rescan RegularExpressionLiteral"); + return !!lastError; + } finally { + scanner.setText(""); + scanner.setOnError( + /*onError*/ + void 0 + ); + } + } + return false; + } + function checkRegularExpressionLiteral(node) { + const nodeLinks2 = getNodeLinks(node); + if (!(nodeLinks2.flags & 1 /* TypeChecked */)) { + nodeLinks2.flags |= 1 /* TypeChecked */; + addLazyDiagnostic(() => checkGrammarRegularExpressionLiteral(node)); + } + return globalRegExpType; + } + function checkSpreadExpression(node, checkMode) { + if (languageVersion < LanguageFeatureMinimumTarget.SpreadElements) { + checkExternalEmitHelpers(node, compilerOptions.downlevelIteration ? 1536 /* SpreadIncludes */ : 1024 /* SpreadArray */); + } + const arrayOrIterableType = checkExpression(node.expression, checkMode); + return checkIteratedTypeOrElementType(33 /* Spread */, arrayOrIterableType, undefinedType, node.expression); + } + function checkSyntheticExpression(node) { + return node.isSpread ? getIndexedAccessType(node.type, numberType) : node.type; + } + function hasDefaultValue(node) { + return node.kind === 208 /* BindingElement */ && !!node.initializer || node.kind === 303 /* PropertyAssignment */ && hasDefaultValue(node.initializer) || node.kind === 304 /* ShorthandPropertyAssignment */ && !!node.objectAssignmentInitializer || node.kind === 226 /* BinaryExpression */ && node.operatorToken.kind === 64 /* EqualsToken */; + } + function isSpreadIntoCallOrNew(node) { + const parent = walkUpParenthesizedExpressions(node.parent); + return isSpreadElement(parent) && isCallOrNewExpression(parent.parent); + } + function checkArrayLiteral(node, checkMode, forceTuple) { + const elements = node.elements; + const elementCount = elements.length; + const elementTypes = []; + const elementFlags = []; + pushCachedContextualType(node); + const inDestructuringPattern = isAssignmentTarget(node); + const inConstContext = isConstContext(node); + const contextualType = getApparentTypeOfContextualType( + node, + /*contextFlags*/ + void 0 + ); + const inTupleContext = isSpreadIntoCallOrNew(node) || !!contextualType && someType(contextualType, (t) => isTupleLikeType(t) || isGenericMappedType(t) && !t.nameType && !!getHomomorphicTypeVariable(t.target || t)); + let hasOmittedExpression = false; + for (let i = 0; i < elementCount; i++) { + const e = elements[i]; + if (e.kind === 230 /* SpreadElement */) { + if (languageVersion < LanguageFeatureMinimumTarget.SpreadElements) { + checkExternalEmitHelpers(e, compilerOptions.downlevelIteration ? 1536 /* SpreadIncludes */ : 1024 /* SpreadArray */); + } + const spreadType = checkExpression(e.expression, checkMode, forceTuple); + if (isArrayLikeType(spreadType)) { + elementTypes.push(spreadType); + elementFlags.push(8 /* Variadic */); + } else if (inDestructuringPattern) { + const restElementType = getIndexTypeOfType(spreadType, numberType) || getIteratedTypeOrElementType( + 65 /* Destructuring */, + spreadType, + undefinedType, + /*errorNode*/ + void 0, + /*checkAssignability*/ + false + ) || unknownType; + elementTypes.push(restElementType); + elementFlags.push(4 /* Rest */); + } else { + elementTypes.push(checkIteratedTypeOrElementType(33 /* Spread */, spreadType, undefinedType, e.expression)); + elementFlags.push(4 /* Rest */); + } + } else if (exactOptionalPropertyTypes && e.kind === 232 /* OmittedExpression */) { + hasOmittedExpression = true; + elementTypes.push(undefinedOrMissingType); + elementFlags.push(2 /* Optional */); + } else { + const type = checkExpressionForMutableLocation(e, checkMode, forceTuple); + elementTypes.push(addOptionality( + type, + /*isProperty*/ + true, + hasOmittedExpression + )); + elementFlags.push(hasOmittedExpression ? 2 /* Optional */ : 1 /* Required */); + if (inTupleContext && checkMode && checkMode & 2 /* Inferential */ && !(checkMode & 4 /* SkipContextSensitive */) && isContextSensitive(e)) { + const inferenceContext = getInferenceContext(node); + Debug.assert(inferenceContext); + addIntraExpressionInferenceSite(inferenceContext, e, type); + } + } + } + popContextualType(); + if (inDestructuringPattern) { + return createTupleType(elementTypes, elementFlags); + } + if (forceTuple || inConstContext || inTupleContext) { + return createArrayLiteralType(createTupleType( + elementTypes, + elementFlags, + /*readonly*/ + inConstContext && !(contextualType && someType(contextualType, isMutableArrayLikeType)) + )); + } + return createArrayLiteralType(createArrayType( + elementTypes.length ? getUnionType(sameMap(elementTypes, (t, i) => elementFlags[i] & 8 /* Variadic */ ? getIndexedAccessTypeOrUndefined(t, numberType) || anyType : t), 2 /* Subtype */) : strictNullChecks ? implicitNeverType : undefinedWideningType, + inConstContext + )); + } + function createArrayLiteralType(type) { + if (!(getObjectFlags(type) & 4 /* Reference */)) { + return type; + } + let literalType = type.literalType; + if (!literalType) { + literalType = type.literalType = cloneTypeReference(type); + literalType.objectFlags |= 16384 /* ArrayLiteral */ | 131072 /* ContainsObjectOrArrayLiteral */; + } + return literalType; + } + function isNumericName(name) { + switch (name.kind) { + case 167 /* ComputedPropertyName */: + return isNumericComputedName(name); + case 80 /* Identifier */: + return isNumericLiteralName(name.escapedText); + case 9 /* NumericLiteral */: + case 11 /* StringLiteral */: + return isNumericLiteralName(name.text); + default: + return false; + } + } + function isNumericComputedName(name) { + return isTypeAssignableToKind(checkComputedPropertyName(name), 296 /* NumberLike */); + } + function checkComputedPropertyName(node) { + const links = getNodeLinks(node.expression); + if (!links.resolvedType) { + if ((isTypeLiteralNode(node.parent.parent) || isClassLike(node.parent.parent) || isInterfaceDeclaration(node.parent.parent)) && isBinaryExpression(node.expression) && node.expression.operatorToken.kind === 103 /* InKeyword */ && node.parent.kind !== 177 /* GetAccessor */ && node.parent.kind !== 178 /* SetAccessor */) { + return links.resolvedType = errorType; + } + links.resolvedType = checkExpression(node.expression); + if (isPropertyDeclaration(node.parent) && !hasStaticModifier(node.parent) && isClassExpression(node.parent.parent)) { + const container = getEnclosingBlockScopeContainer(node.parent.parent); + const enclosingIterationStatement = getEnclosingIterationStatement(container); + if (enclosingIterationStatement) { + getNodeLinks(enclosingIterationStatement).flags |= 4096 /* LoopWithCapturedBlockScopedBinding */; + getNodeLinks(node).flags |= 32768 /* BlockScopedBindingInLoop */; + getNodeLinks(node.parent.parent).flags |= 32768 /* BlockScopedBindingInLoop */; + } + } + if (links.resolvedType.flags & 98304 /* Nullable */ || !isTypeAssignableToKind(links.resolvedType, 402653316 /* StringLike */ | 296 /* NumberLike */ | 12288 /* ESSymbolLike */) && !isTypeAssignableTo(links.resolvedType, stringNumberSymbolType)) { + error(node, Diagnostics.A_computed_property_name_must_be_of_type_string_number_symbol_or_any); + } + } + return links.resolvedType; + } + function isSymbolWithNumericName(symbol) { + var _a; + const firstDecl = (_a = symbol.declarations) == null ? void 0 : _a[0]; + return isNumericLiteralName(symbol.escapedName) || firstDecl && isNamedDeclaration(firstDecl) && isNumericName(firstDecl.name); + } + function isSymbolWithSymbolName(symbol) { + var _a; + const firstDecl = (_a = symbol.declarations) == null ? void 0 : _a[0]; + return isKnownSymbol(symbol) || firstDecl && isNamedDeclaration(firstDecl) && isComputedPropertyName(firstDecl.name) && isTypeAssignableToKind(checkComputedPropertyName(firstDecl.name), 4096 /* ESSymbol */); + } + function getObjectLiteralIndexInfo(isReadonly, offset, properties, keyType) { + const propTypes = []; + for (let i = offset; i < properties.length; i++) { + const prop = properties[i]; + if (keyType === stringType && !isSymbolWithSymbolName(prop) || keyType === numberType && isSymbolWithNumericName(prop) || keyType === esSymbolType && isSymbolWithSymbolName(prop)) { + propTypes.push(getTypeOfSymbol(properties[i])); + } + } + const unionType = propTypes.length ? getUnionType(propTypes, 2 /* Subtype */) : undefinedType; + return createIndexInfo(keyType, unionType, isReadonly); + } + function getImmediateAliasedSymbol(symbol) { + Debug.assert((symbol.flags & 2097152 /* Alias */) !== 0, "Should only get Alias here."); + const links = getSymbolLinks(symbol); + if (!links.immediateTarget) { + const node = getDeclarationOfAliasSymbol(symbol); + if (!node) return Debug.fail(); + links.immediateTarget = getTargetOfAliasDeclaration( + node, + /*dontRecursivelyResolve*/ + true + ); + } + return links.immediateTarget; + } + function checkObjectLiteral(node, checkMode = 0 /* Normal */) { + const inDestructuringPattern = isAssignmentTarget(node); + checkGrammarObjectLiteralExpression(node, inDestructuringPattern); + const allPropertiesTable = strictNullChecks ? createSymbolTable() : void 0; + let propertiesTable = createSymbolTable(); + let propertiesArray = []; + let spread = emptyObjectType; + pushCachedContextualType(node); + const contextualType = getApparentTypeOfContextualType( + node, + /*contextFlags*/ + void 0 + ); + const contextualTypeHasPattern = contextualType && contextualType.pattern && (contextualType.pattern.kind === 206 /* ObjectBindingPattern */ || contextualType.pattern.kind === 210 /* ObjectLiteralExpression */); + const inConstContext = isConstContext(node); + const checkFlags = inConstContext ? 8 /* Readonly */ : 0; + const isInJavascript = isInJSFile(node) && !isInJsonFile(node); + const enumTag = isInJavascript ? getJSDocEnumTag(node) : void 0; + const isJSObjectLiteral = !contextualType && isInJavascript && !enumTag; + let objectFlags = 8192 /* FreshLiteral */; + let patternWithComputedProperties = false; + let hasComputedStringProperty = false; + let hasComputedNumberProperty = false; + let hasComputedSymbolProperty = false; + for (const elem of node.properties) { + if (elem.name && isComputedPropertyName(elem.name)) { + checkComputedPropertyName(elem.name); + } + } + let offset = 0; + for (const memberDecl of node.properties) { + let member = getSymbolOfDeclaration(memberDecl); + const computedNameType = memberDecl.name && memberDecl.name.kind === 167 /* ComputedPropertyName */ ? checkComputedPropertyName(memberDecl.name) : void 0; + if (memberDecl.kind === 303 /* PropertyAssignment */ || memberDecl.kind === 304 /* ShorthandPropertyAssignment */ || isObjectLiteralMethod(memberDecl)) { + let type = memberDecl.kind === 303 /* PropertyAssignment */ ? checkPropertyAssignment(memberDecl, checkMode) : ( + // avoid resolving the left side of the ShorthandPropertyAssignment outside of the destructuring + // for error recovery purposes. For example, if a user wrote `{ a = 100 }` instead of `{ a: 100 }`. + // we don't want to say "could not find 'a'". + memberDecl.kind === 304 /* ShorthandPropertyAssignment */ ? checkExpressionForMutableLocation(!inDestructuringPattern && memberDecl.objectAssignmentInitializer ? memberDecl.objectAssignmentInitializer : memberDecl.name, checkMode) : checkObjectLiteralMethod(memberDecl, checkMode) + ); + if (isInJavascript) { + const jsDocType = getTypeForDeclarationFromJSDocComment(memberDecl); + if (jsDocType) { + checkTypeAssignableTo(type, jsDocType, memberDecl); + type = jsDocType; + } else if (enumTag && enumTag.typeExpression) { + checkTypeAssignableTo(type, getTypeFromTypeNode(enumTag.typeExpression), memberDecl); + } + } + objectFlags |= getObjectFlags(type) & 458752 /* PropagatingFlags */; + const nameType = computedNameType && isTypeUsableAsPropertyName(computedNameType) ? computedNameType : void 0; + const prop = nameType ? createSymbol(4 /* Property */ | member.flags, getPropertyNameFromType(nameType), checkFlags | 4096 /* Late */) : createSymbol(4 /* Property */ | member.flags, member.escapedName, checkFlags); + if (nameType) { + prop.links.nameType = nameType; + } + if (inDestructuringPattern && hasDefaultValue(memberDecl)) { + prop.flags |= 16777216 /* Optional */; + } else if (contextualTypeHasPattern && !(getObjectFlags(contextualType) & 512 /* ObjectLiteralPatternWithComputedProperties */)) { + const impliedProp = getPropertyOfType(contextualType, member.escapedName); + if (impliedProp) { + prop.flags |= impliedProp.flags & 16777216 /* Optional */; + } else if (!getIndexInfoOfType(contextualType, stringType)) { + error(memberDecl.name, Diagnostics.Object_literal_may_only_specify_known_properties_and_0_does_not_exist_in_type_1, symbolToString(member), typeToString(contextualType)); + } + } + prop.declarations = member.declarations; + prop.parent = member.parent; + if (member.valueDeclaration) { + prop.valueDeclaration = member.valueDeclaration; + } + prop.links.type = type; + prop.links.target = member; + member = prop; + allPropertiesTable == null ? void 0 : allPropertiesTable.set(prop.escapedName, prop); + if (contextualType && checkMode & 2 /* Inferential */ && !(checkMode & 4 /* SkipContextSensitive */) && (memberDecl.kind === 303 /* PropertyAssignment */ || memberDecl.kind === 174 /* MethodDeclaration */) && isContextSensitive(memberDecl)) { + const inferenceContext = getInferenceContext(node); + Debug.assert(inferenceContext); + const inferenceNode = memberDecl.kind === 303 /* PropertyAssignment */ ? memberDecl.initializer : memberDecl; + addIntraExpressionInferenceSite(inferenceContext, inferenceNode, type); + } + } else if (memberDecl.kind === 305 /* SpreadAssignment */) { + if (languageVersion < LanguageFeatureMinimumTarget.ObjectAssign) { + checkExternalEmitHelpers(memberDecl, 2 /* Assign */); + } + if (propertiesArray.length > 0) { + spread = getSpreadType(spread, createObjectLiteralType(), node.symbol, objectFlags, inConstContext); + propertiesArray = []; + propertiesTable = createSymbolTable(); + hasComputedStringProperty = false; + hasComputedNumberProperty = false; + hasComputedSymbolProperty = false; + } + const type = getReducedType(checkExpression(memberDecl.expression, checkMode & 2 /* Inferential */)); + if (isValidSpreadType(type)) { + const mergedType = tryMergeUnionOfObjectTypeAndEmptyObject(type, inConstContext); + if (allPropertiesTable) { + checkSpreadPropOverrides(mergedType, allPropertiesTable, memberDecl); + } + offset = propertiesArray.length; + if (isErrorType(spread)) { + continue; + } + spread = getSpreadType(spread, mergedType, node.symbol, objectFlags, inConstContext); + } else { + error(memberDecl, Diagnostics.Spread_types_may_only_be_created_from_object_types); + spread = errorType; + } + continue; + } else { + Debug.assert(memberDecl.kind === 177 /* GetAccessor */ || memberDecl.kind === 178 /* SetAccessor */); + checkNodeDeferred(memberDecl); + } + if (computedNameType && !(computedNameType.flags & 8576 /* StringOrNumberLiteralOrUnique */)) { + if (isTypeAssignableTo(computedNameType, stringNumberSymbolType)) { + if (isTypeAssignableTo(computedNameType, numberType)) { + hasComputedNumberProperty = true; + } else if (isTypeAssignableTo(computedNameType, esSymbolType)) { + hasComputedSymbolProperty = true; + } else { + hasComputedStringProperty = true; + } + if (inDestructuringPattern) { + patternWithComputedProperties = true; + } + } + } else { + propertiesTable.set(member.escapedName, member); + } + propertiesArray.push(member); + } + popContextualType(); + if (isErrorType(spread)) { + return errorType; + } + if (spread !== emptyObjectType) { + if (propertiesArray.length > 0) { + spread = getSpreadType(spread, createObjectLiteralType(), node.symbol, objectFlags, inConstContext); + propertiesArray = []; + propertiesTable = createSymbolTable(); + hasComputedStringProperty = false; + hasComputedNumberProperty = false; + } + return mapType(spread, (t) => t === emptyObjectType ? createObjectLiteralType() : t); + } + return createObjectLiteralType(); + function createObjectLiteralType() { + const indexInfos = []; + const isReadonly = isConstContext(node); + if (hasComputedStringProperty) indexInfos.push(getObjectLiteralIndexInfo(isReadonly, offset, propertiesArray, stringType)); + if (hasComputedNumberProperty) indexInfos.push(getObjectLiteralIndexInfo(isReadonly, offset, propertiesArray, numberType)); + if (hasComputedSymbolProperty) indexInfos.push(getObjectLiteralIndexInfo(isReadonly, offset, propertiesArray, esSymbolType)); + const result = createAnonymousType(node.symbol, propertiesTable, emptyArray, emptyArray, indexInfos); + result.objectFlags |= objectFlags | 128 /* ObjectLiteral */ | 131072 /* ContainsObjectOrArrayLiteral */; + if (isJSObjectLiteral) { + result.objectFlags |= 4096 /* JSLiteral */; + } + if (patternWithComputedProperties) { + result.objectFlags |= 512 /* ObjectLiteralPatternWithComputedProperties */; + } + if (inDestructuringPattern) { + result.pattern = node; + } + return result; + } + } + function isValidSpreadType(type) { + const t = removeDefinitelyFalsyTypes(mapType(type, getBaseConstraintOrType)); + return !!(t.flags & (1 /* Any */ | 67108864 /* NonPrimitive */ | 524288 /* Object */ | 58982400 /* InstantiableNonPrimitive */) || t.flags & 3145728 /* UnionOrIntersection */ && every(t.types, isValidSpreadType)); + } + function checkJsxSelfClosingElementDeferred(node) { + checkJsxOpeningLikeElementOrOpeningFragment(node); + } + function checkJsxSelfClosingElement(node, _checkMode) { + checkNodeDeferred(node); + return getJsxElementTypeAt(node) || anyType; + } + function checkJsxElementDeferred(node) { + checkJsxOpeningLikeElementOrOpeningFragment(node.openingElement); + if (isJsxIntrinsicTagName(node.closingElement.tagName)) { + getIntrinsicTagSymbol(node.closingElement); + } else { + checkExpression(node.closingElement.tagName); + } + checkJsxChildren(node); + } + function checkJsxElement(node, _checkMode) { + checkNodeDeferred(node); + return getJsxElementTypeAt(node) || anyType; + } + function checkJsxFragment(node) { + checkJsxOpeningLikeElementOrOpeningFragment(node.openingFragment); + const nodeSourceFile = getSourceFileOfNode(node); + if (getJSXTransformEnabled(compilerOptions) && (compilerOptions.jsxFactory || nodeSourceFile.pragmas.has("jsx")) && !compilerOptions.jsxFragmentFactory && !nodeSourceFile.pragmas.has("jsxfrag")) { + error( + node, + compilerOptions.jsxFactory ? Diagnostics.The_jsxFragmentFactory_compiler_option_must_be_provided_to_use_JSX_fragments_with_the_jsxFactory_compiler_option : Diagnostics.An_jsxFrag_pragma_is_required_when_using_an_jsx_pragma_with_JSX_fragments + ); + } + checkJsxChildren(node); + const jsxElementType = getJsxElementTypeAt(node); + return isErrorType(jsxElementType) ? anyType : jsxElementType; + } + function isHyphenatedJsxName(name) { + return name.includes("-"); + } + function isJsxIntrinsicTagName(tagName) { + return isIdentifier(tagName) && isIntrinsicJsxName(tagName.escapedText) || isJsxNamespacedName(tagName); + } + function checkJsxAttribute(node, checkMode) { + return node.initializer ? checkExpressionForMutableLocation(node.initializer, checkMode) : trueType; + } + function createJsxAttributesTypeFromAttributesProperty(openingLikeElement, checkMode = 0 /* Normal */) { + const allAttributesTable = strictNullChecks ? createSymbolTable() : void 0; + let attributesTable = createSymbolTable(); + let spread = emptyJsxObjectType; + let hasSpreadAnyType = false; + let typeToIntersect; + let explicitlySpecifyChildrenAttribute = false; + let objectFlags = 2048 /* JsxAttributes */; + const jsxChildrenPropertyName = getJsxElementChildrenPropertyName(getJsxNamespaceAt(openingLikeElement)); + const isJsxOpenFragment = isJsxOpeningFragment(openingLikeElement); + let attributesSymbol; + let attributeParent = openingLikeElement; + if (!isJsxOpenFragment) { + const attributes = openingLikeElement.attributes; + attributesSymbol = attributes.symbol; + attributeParent = attributes; + const contextualType = getContextualType(attributes, 0 /* None */); + for (const attributeDecl of attributes.properties) { + const member = attributeDecl.symbol; + if (isJsxAttribute(attributeDecl)) { + const exprType = checkJsxAttribute(attributeDecl, checkMode); + objectFlags |= getObjectFlags(exprType) & 458752 /* PropagatingFlags */; + const attributeSymbol = createSymbol(4 /* Property */ | member.flags, member.escapedName); + attributeSymbol.declarations = member.declarations; + attributeSymbol.parent = member.parent; + if (member.valueDeclaration) { + attributeSymbol.valueDeclaration = member.valueDeclaration; + } + attributeSymbol.links.type = exprType; + attributeSymbol.links.target = member; + attributesTable.set(attributeSymbol.escapedName, attributeSymbol); + allAttributesTable == null ? void 0 : allAttributesTable.set(attributeSymbol.escapedName, attributeSymbol); + if (getEscapedTextOfJsxAttributeName(attributeDecl.name) === jsxChildrenPropertyName) { + explicitlySpecifyChildrenAttribute = true; + } + if (contextualType) { + const prop = getPropertyOfType(contextualType, member.escapedName); + if (prop && prop.declarations && isDeprecatedSymbol(prop) && isIdentifier(attributeDecl.name)) { + addDeprecatedSuggestion(attributeDecl.name, prop.declarations, attributeDecl.name.escapedText); + } + } + if (contextualType && checkMode & 2 /* Inferential */ && !(checkMode & 4 /* SkipContextSensitive */) && isContextSensitive(attributeDecl)) { + const inferenceContext = getInferenceContext(attributes); + Debug.assert(inferenceContext); + const inferenceNode = attributeDecl.initializer.expression; + addIntraExpressionInferenceSite(inferenceContext, inferenceNode, exprType); + } + } else { + Debug.assert(attributeDecl.kind === 293 /* JsxSpreadAttribute */); + if (attributesTable.size > 0) { + spread = getSpreadType( + spread, + createJsxAttributesTypeHelper(), + attributes.symbol, + objectFlags, + /*readonly*/ + false + ); + attributesTable = createSymbolTable(); + } + const exprType = getReducedType(checkExpression(attributeDecl.expression, checkMode & 2 /* Inferential */)); + if (isTypeAny(exprType)) { + hasSpreadAnyType = true; + } + if (isValidSpreadType(exprType)) { + spread = getSpreadType( + spread, + exprType, + attributes.symbol, + objectFlags, + /*readonly*/ + false + ); + if (allAttributesTable) { + checkSpreadPropOverrides(exprType, allAttributesTable, attributeDecl); + } + } else { + error(attributeDecl.expression, Diagnostics.Spread_types_may_only_be_created_from_object_types); + typeToIntersect = typeToIntersect ? getIntersectionType([typeToIntersect, exprType]) : exprType; + } + } + } + if (!hasSpreadAnyType) { + if (attributesTable.size > 0) { + spread = getSpreadType( + spread, + createJsxAttributesTypeHelper(), + attributes.symbol, + objectFlags, + /*readonly*/ + false + ); + } + } + } + const parent = openingLikeElement.parent; + if ((isJsxElement(parent) && parent.openingElement === openingLikeElement || isJsxFragment(parent) && parent.openingFragment === openingLikeElement) && getSemanticJsxChildren(parent.children).length > 0) { + const childrenTypes = checkJsxChildren(parent, checkMode); + if (!hasSpreadAnyType && jsxChildrenPropertyName && jsxChildrenPropertyName !== "") { + if (explicitlySpecifyChildrenAttribute) { + error(attributeParent, Diagnostics._0_are_specified_twice_The_attribute_named_0_will_be_overwritten, unescapeLeadingUnderscores(jsxChildrenPropertyName)); + } + const contextualType = isJsxOpeningElement(openingLikeElement) ? getApparentTypeOfContextualType( + openingLikeElement.attributes, + /*contextFlags*/ + void 0 + ) : void 0; + const childrenContextualType = contextualType && getTypeOfPropertyOfContextualType(contextualType, jsxChildrenPropertyName); + const childrenPropSymbol = createSymbol(4 /* Property */, jsxChildrenPropertyName); + childrenPropSymbol.links.type = childrenTypes.length === 1 ? childrenTypes[0] : childrenContextualType && someType(childrenContextualType, isTupleLikeType) ? createTupleType(childrenTypes) : createArrayType(getUnionType(childrenTypes)); + childrenPropSymbol.valueDeclaration = factory.createPropertySignature( + /*modifiers*/ + void 0, + unescapeLeadingUnderscores(jsxChildrenPropertyName), + /*questionToken*/ + void 0, + /*type*/ + void 0 + ); + setParent(childrenPropSymbol.valueDeclaration, attributeParent); + childrenPropSymbol.valueDeclaration.symbol = childrenPropSymbol; + const childPropMap = createSymbolTable(); + childPropMap.set(jsxChildrenPropertyName, childrenPropSymbol); + spread = getSpreadType( + spread, + createAnonymousType(attributesSymbol, childPropMap, emptyArray, emptyArray, emptyArray), + attributesSymbol, + objectFlags, + /*readonly*/ + false + ); + } + } + if (hasSpreadAnyType) { + return anyType; + } + if (typeToIntersect && spread !== emptyJsxObjectType) { + return getIntersectionType([typeToIntersect, spread]); + } + return typeToIntersect || (spread === emptyJsxObjectType ? createJsxAttributesTypeHelper() : spread); + function createJsxAttributesTypeHelper() { + objectFlags |= 8192 /* FreshLiteral */; + return createJsxAttributesType(objectFlags, attributesSymbol, attributesTable); + } + } + function createJsxAttributesType(objectFlags, attributesSymbol, attributesTable) { + const result = createAnonymousType(attributesSymbol, attributesTable, emptyArray, emptyArray, emptyArray); + result.objectFlags |= objectFlags | 8192 /* FreshLiteral */ | 128 /* ObjectLiteral */ | 131072 /* ContainsObjectOrArrayLiteral */; + return result; + } + function checkJsxChildren(node, checkMode) { + const childrenTypes = []; + for (const child of node.children) { + if (child.kind === 12 /* JsxText */) { + if (!child.containsOnlyTriviaWhiteSpaces) { + childrenTypes.push(stringType); + } + } else if (child.kind === 294 /* JsxExpression */ && !child.expression) { + continue; + } else { + childrenTypes.push(checkExpressionForMutableLocation(child, checkMode)); + } + } + return childrenTypes; + } + function checkSpreadPropOverrides(type, props, spread) { + for (const right of getPropertiesOfType(type)) { + if (!(right.flags & 16777216 /* Optional */)) { + const left = props.get(right.escapedName); + if (left) { + const diagnostic = error(left.valueDeclaration, Diagnostics._0_is_specified_more_than_once_so_this_usage_will_be_overwritten, unescapeLeadingUnderscores(left.escapedName)); + addRelatedInfo(diagnostic, createDiagnosticForNode(spread, Diagnostics.This_spread_always_overwrites_this_property)); + } + } + } + } + function checkJsxAttributes(node, checkMode) { + return createJsxAttributesTypeFromAttributesProperty(node.parent, checkMode); + } + function getJsxType(name, location) { + const namespace = getJsxNamespaceAt(location); + const exports2 = namespace && getExportsOfSymbol(namespace); + const typeSymbol = exports2 && getSymbol(exports2, name, 788968 /* Type */); + return typeSymbol ? getDeclaredTypeOfSymbol(typeSymbol) : errorType; + } + function getIntrinsicTagSymbol(node) { + const links = getNodeLinks(node); + if (!links.resolvedSymbol) { + const intrinsicElementsType = getJsxType(JsxNames.IntrinsicElements, node); + if (!isErrorType(intrinsicElementsType)) { + if (!isIdentifier(node.tagName) && !isJsxNamespacedName(node.tagName)) return Debug.fail(); + const propName = isJsxNamespacedName(node.tagName) ? getEscapedTextOfJsxNamespacedName(node.tagName) : node.tagName.escapedText; + const intrinsicProp = getPropertyOfType(intrinsicElementsType, propName); + if (intrinsicProp) { + links.jsxFlags |= 1 /* IntrinsicNamedElement */; + return links.resolvedSymbol = intrinsicProp; + } + const indexSymbol = getApplicableIndexSymbol(intrinsicElementsType, getStringLiteralType(unescapeLeadingUnderscores(propName))); + if (indexSymbol) { + links.jsxFlags |= 2 /* IntrinsicIndexedElement */; + return links.resolvedSymbol = indexSymbol; + } + if (getTypeOfPropertyOrIndexSignatureOfType(intrinsicElementsType, propName)) { + links.jsxFlags |= 2 /* IntrinsicIndexedElement */; + return links.resolvedSymbol = intrinsicElementsType.symbol; + } + error(node, Diagnostics.Property_0_does_not_exist_on_type_1, intrinsicTagNameToString(node.tagName), "JSX." + JsxNames.IntrinsicElements); + return links.resolvedSymbol = unknownSymbol; + } else { + if (noImplicitAny) { + error(node, Diagnostics.JSX_element_implicitly_has_type_any_because_no_interface_JSX_0_exists, unescapeLeadingUnderscores(JsxNames.IntrinsicElements)); + } + return links.resolvedSymbol = unknownSymbol; + } + } + return links.resolvedSymbol; + } + function getJsxNamespaceContainerForImplicitImport(location) { + const file = location && getSourceFileOfNode(location); + const links = file && getNodeLinks(file); + if (links && links.jsxImplicitImportContainer === false) { + return void 0; + } + if (links && links.jsxImplicitImportContainer) { + return links.jsxImplicitImportContainer; + } + const runtimeImportSpecifier = getJSXRuntimeImport(getJSXImplicitImportBase(compilerOptions, file), compilerOptions); + if (!runtimeImportSpecifier) { + return void 0; + } + const isClassic = getEmitModuleResolutionKind(compilerOptions) === 1 /* Classic */; + const errorMessage = isClassic ? Diagnostics.Cannot_find_module_0_Did_you_mean_to_set_the_moduleResolution_option_to_nodenext_or_to_add_aliases_to_the_paths_option : Diagnostics.This_JSX_tag_requires_the_module_path_0_to_exist_but_none_could_be_found_Make_sure_you_have_types_for_the_appropriate_package_installed; + const specifier = getJSXRuntimeImportSpecifier(file, runtimeImportSpecifier); + const mod = resolveExternalModule(specifier || location, runtimeImportSpecifier, errorMessage, location); + const result = mod && mod !== unknownSymbol ? getMergedSymbol(resolveSymbol(mod)) : void 0; + if (links) { + links.jsxImplicitImportContainer = result || false; + } + return result; + } + function getJsxNamespaceAt(location) { + const links = location && getNodeLinks(location); + if (links && links.jsxNamespace) { + return links.jsxNamespace; + } + if (!links || links.jsxNamespace !== false) { + let resolvedNamespace = getJsxNamespaceContainerForImplicitImport(location); + if (!resolvedNamespace || resolvedNamespace === unknownSymbol) { + const namespaceName = getJsxNamespace(location); + resolvedNamespace = resolveName( + location, + namespaceName, + 1920 /* Namespace */, + /*nameNotFoundMessage*/ + void 0, + /*isUse*/ + false + ); + } + if (resolvedNamespace) { + const candidate = resolveSymbol(getSymbol(getExportsOfSymbol(resolveSymbol(resolvedNamespace)), JsxNames.JSX, 1920 /* Namespace */)); + if (candidate && candidate !== unknownSymbol) { + if (links) { + links.jsxNamespace = candidate; + } + return candidate; + } + } + if (links) { + links.jsxNamespace = false; + } + } + const s = resolveSymbol(getGlobalSymbol( + JsxNames.JSX, + 1920 /* Namespace */, + /*diagnostic*/ + void 0 + )); + if (s === unknownSymbol) { + return void 0; + } + return s; + } + function getNameFromJsxElementAttributesContainer(nameOfAttribPropContainer, jsxNamespace) { + const jsxElementAttribPropInterfaceSym = jsxNamespace && getSymbol(jsxNamespace.exports, nameOfAttribPropContainer, 788968 /* Type */); + const jsxElementAttribPropInterfaceType = jsxElementAttribPropInterfaceSym && getDeclaredTypeOfSymbol(jsxElementAttribPropInterfaceSym); + const propertiesOfJsxElementAttribPropInterface = jsxElementAttribPropInterfaceType && getPropertiesOfType(jsxElementAttribPropInterfaceType); + if (propertiesOfJsxElementAttribPropInterface) { + if (propertiesOfJsxElementAttribPropInterface.length === 0) { + return ""; + } else if (propertiesOfJsxElementAttribPropInterface.length === 1) { + return propertiesOfJsxElementAttribPropInterface[0].escapedName; + } else if (propertiesOfJsxElementAttribPropInterface.length > 1 && jsxElementAttribPropInterfaceSym.declarations) { + error(jsxElementAttribPropInterfaceSym.declarations[0], Diagnostics.The_global_type_JSX_0_may_not_have_more_than_one_property, unescapeLeadingUnderscores(nameOfAttribPropContainer)); + } + } + return void 0; + } + function getJsxLibraryManagedAttributes(jsxNamespace) { + return jsxNamespace && getSymbol(jsxNamespace.exports, JsxNames.LibraryManagedAttributes, 788968 /* Type */); + } + function getJsxElementTypeSymbol(jsxNamespace) { + return jsxNamespace && getSymbol(jsxNamespace.exports, JsxNames.ElementType, 788968 /* Type */); + } + function getJsxElementPropertiesName(jsxNamespace) { + return getNameFromJsxElementAttributesContainer(JsxNames.ElementAttributesPropertyNameContainer, jsxNamespace); + } + function getJsxElementChildrenPropertyName(jsxNamespace) { + return getNameFromJsxElementAttributesContainer(JsxNames.ElementChildrenAttributeNameContainer, jsxNamespace); + } + function getUninstantiatedJsxSignaturesOfType(elementType, caller) { + if (elementType.flags & 4 /* String */) { + return [anySignature]; + } else if (elementType.flags & 128 /* StringLiteral */) { + const intrinsicType = getIntrinsicAttributesTypeFromStringLiteralType(elementType, caller); + if (!intrinsicType) { + error(caller, Diagnostics.Property_0_does_not_exist_on_type_1, elementType.value, "JSX." + JsxNames.IntrinsicElements); + return emptyArray; + } else { + const fakeSignature = createSignatureForJSXIntrinsic(caller, intrinsicType); + return [fakeSignature]; + } + } + const apparentElemType = getApparentType(elementType); + let signatures = getSignaturesOfType(apparentElemType, 1 /* Construct */); + if (signatures.length === 0) { + signatures = getSignaturesOfType(apparentElemType, 0 /* Call */); + } + if (signatures.length === 0 && apparentElemType.flags & 1048576 /* Union */) { + signatures = getUnionSignatures(map(apparentElemType.types, (t) => getUninstantiatedJsxSignaturesOfType(t, caller))); + } + return signatures; + } + function getIntrinsicAttributesTypeFromStringLiteralType(type, location) { + const intrinsicElementsType = getJsxType(JsxNames.IntrinsicElements, location); + if (!isErrorType(intrinsicElementsType)) { + const stringLiteralTypeName = type.value; + const intrinsicProp = getPropertyOfType(intrinsicElementsType, escapeLeadingUnderscores(stringLiteralTypeName)); + if (intrinsicProp) { + return getTypeOfSymbol(intrinsicProp); + } + const indexSignatureType = getIndexTypeOfType(intrinsicElementsType, stringType); + if (indexSignatureType) { + return indexSignatureType; + } + return void 0; + } + return anyType; + } + function checkJsxReturnAssignableToAppropriateBound(refKind, elemInstanceType, openingLikeElement) { + if (refKind === 1 /* Function */) { + const sfcReturnConstraint = getJsxStatelessElementTypeAt(openingLikeElement); + if (sfcReturnConstraint) { + checkTypeRelatedTo(elemInstanceType, sfcReturnConstraint, assignableRelation, openingLikeElement.tagName, Diagnostics.Its_return_type_0_is_not_a_valid_JSX_element, generateInitialErrorChain); + } + } else if (refKind === 0 /* Component */) { + const classConstraint = getJsxElementClassTypeAt(openingLikeElement); + if (classConstraint) { + checkTypeRelatedTo(elemInstanceType, classConstraint, assignableRelation, openingLikeElement.tagName, Diagnostics.Its_instance_type_0_is_not_a_valid_JSX_element, generateInitialErrorChain); + } + } else { + const sfcReturnConstraint = getJsxStatelessElementTypeAt(openingLikeElement); + const classConstraint = getJsxElementClassTypeAt(openingLikeElement); + if (!sfcReturnConstraint || !classConstraint) { + return; + } + const combined = getUnionType([sfcReturnConstraint, classConstraint]); + checkTypeRelatedTo(elemInstanceType, combined, assignableRelation, openingLikeElement.tagName, Diagnostics.Its_element_type_0_is_not_a_valid_JSX_element, generateInitialErrorChain); + } + function generateInitialErrorChain() { + const componentName = getTextOfNode(openingLikeElement.tagName); + return chainDiagnosticMessages( + /*details*/ + void 0, + Diagnostics._0_cannot_be_used_as_a_JSX_component, + componentName + ); + } + } + function getIntrinsicAttributesTypeFromJsxOpeningLikeElement(node) { + var _a; + Debug.assert(isJsxIntrinsicTagName(node.tagName)); + const links = getNodeLinks(node); + if (!links.resolvedJsxElementAttributesType) { + const symbol = getIntrinsicTagSymbol(node); + if (links.jsxFlags & 1 /* IntrinsicNamedElement */) { + return links.resolvedJsxElementAttributesType = getTypeOfSymbol(symbol) || errorType; + } else if (links.jsxFlags & 2 /* IntrinsicIndexedElement */) { + const propName = isJsxNamespacedName(node.tagName) ? getEscapedTextOfJsxNamespacedName(node.tagName) : node.tagName.escapedText; + return links.resolvedJsxElementAttributesType = ((_a = getApplicableIndexInfoForName(getJsxType(JsxNames.IntrinsicElements, node), propName)) == null ? void 0 : _a.type) || errorType; + } else { + return links.resolvedJsxElementAttributesType = errorType; + } + } + return links.resolvedJsxElementAttributesType; + } + function getJsxElementClassTypeAt(location) { + const type = getJsxType(JsxNames.ElementClass, location); + if (isErrorType(type)) return void 0; + return type; + } + function getJsxElementTypeAt(location) { + return getJsxType(JsxNames.Element, location); + } + function getJsxStatelessElementTypeAt(location) { + const jsxElementType = getJsxElementTypeAt(location); + if (jsxElementType) { + return getUnionType([jsxElementType, nullType]); + } + } + function getJsxElementTypeTypeAt(location) { + const ns = getJsxNamespaceAt(location); + if (!ns) return void 0; + const sym = getJsxElementTypeSymbol(ns); + if (!sym) return void 0; + const type = instantiateAliasOrInterfaceWithDefaults(sym, isInJSFile(location)); + if (!type || isErrorType(type)) return void 0; + return type; + } + function instantiateAliasOrInterfaceWithDefaults(managedSym, inJs, ...typeArguments) { + const declaredManagedType = getDeclaredTypeOfSymbol(managedSym); + if (managedSym.flags & 524288 /* TypeAlias */) { + const params = getSymbolLinks(managedSym).typeParameters; + if (length(params) >= typeArguments.length) { + const args = fillMissingTypeArguments(typeArguments, params, typeArguments.length, inJs); + return length(args) === 0 ? declaredManagedType : getTypeAliasInstantiation(managedSym, args); + } + } + if (length(declaredManagedType.typeParameters) >= typeArguments.length) { + const args = fillMissingTypeArguments(typeArguments, declaredManagedType.typeParameters, typeArguments.length, inJs); + return createTypeReference(declaredManagedType, args); + } + return void 0; + } + function getJsxIntrinsicTagNamesAt(location) { + const intrinsics = getJsxType(JsxNames.IntrinsicElements, location); + return intrinsics ? getPropertiesOfType(intrinsics) : emptyArray; + } + function checkJsxPreconditions(errorNode) { + if ((compilerOptions.jsx || 0 /* None */) === 0 /* None */) { + error(errorNode, Diagnostics.Cannot_use_JSX_unless_the_jsx_flag_is_provided); + } + if (getJsxElementTypeAt(errorNode) === void 0) { + if (noImplicitAny) { + error(errorNode, Diagnostics.JSX_element_implicitly_has_type_any_because_the_global_type_JSX_Element_does_not_exist); + } + } + } + function checkJsxOpeningLikeElementOrOpeningFragment(node) { + const isNodeOpeningLikeElement = isJsxOpeningLikeElement(node); + if (isNodeOpeningLikeElement) { + checkGrammarJsxElement(node); + } + checkJsxPreconditions(node); + markJsxAliasReferenced(node); + const sig = getResolvedSignature(node); + checkDeprecatedSignature(sig, node); + if (isNodeOpeningLikeElement) { + const jsxOpeningLikeNode = node; + const elementTypeConstraint = getJsxElementTypeTypeAt(jsxOpeningLikeNode); + if (elementTypeConstraint !== void 0) { + const tagName = jsxOpeningLikeNode.tagName; + const tagType = isJsxIntrinsicTagName(tagName) ? getStringLiteralType(intrinsicTagNameToString(tagName)) : checkExpression(tagName); + checkTypeRelatedTo(tagType, elementTypeConstraint, assignableRelation, tagName, Diagnostics.Its_type_0_is_not_a_valid_JSX_element_type, () => { + const componentName = getTextOfNode(tagName); + return chainDiagnosticMessages( + /*details*/ + void 0, + Diagnostics._0_cannot_be_used_as_a_JSX_component, + componentName + ); + }); + } else { + checkJsxReturnAssignableToAppropriateBound(getJsxReferenceKind(jsxOpeningLikeNode), getReturnTypeOfSignature(sig), jsxOpeningLikeNode); + } + } + } + function isKnownProperty(targetType, name, isComparingJsxAttributes) { + if (targetType.flags & 524288 /* Object */) { + if (getPropertyOfObjectType(targetType, name) || getApplicableIndexInfoForName(targetType, name) || isLateBoundName(name) && getIndexInfoOfType(targetType, stringType) || isComparingJsxAttributes && isHyphenatedJsxName(name)) { + return true; + } + } + if (targetType.flags & 33554432 /* Substitution */) { + return isKnownProperty(targetType.baseType, name, isComparingJsxAttributes); + } + if (targetType.flags & 3145728 /* UnionOrIntersection */ && isExcessPropertyCheckTarget(targetType)) { + for (const t of targetType.types) { + if (isKnownProperty(t, name, isComparingJsxAttributes)) { + return true; + } + } + } + return false; + } + function isExcessPropertyCheckTarget(type) { + return !!(type.flags & 524288 /* Object */ && !(getObjectFlags(type) & 512 /* ObjectLiteralPatternWithComputedProperties */) || type.flags & 67108864 /* NonPrimitive */ || type.flags & 33554432 /* Substitution */ && isExcessPropertyCheckTarget(type.baseType) || type.flags & 1048576 /* Union */ && some(type.types, isExcessPropertyCheckTarget) || type.flags & 2097152 /* Intersection */ && every(type.types, isExcessPropertyCheckTarget)); + } + function checkJsxExpression(node, checkMode) { + checkGrammarJsxExpression(node); + if (node.expression) { + const type = checkExpression(node.expression, checkMode); + if (node.dotDotDotToken && type !== anyType && !isArrayType(type)) { + error(node, Diagnostics.JSX_spread_child_must_be_an_array_type); + } + return type; + } else { + return errorType; + } + } + function getDeclarationNodeFlagsFromSymbol(s) { + return s.valueDeclaration ? getCombinedNodeFlagsCached(s.valueDeclaration) : 0; + } + function isPrototypeProperty(symbol) { + if (symbol.flags & 8192 /* Method */ || getCheckFlags(symbol) & 4 /* SyntheticMethod */) { + return true; + } + if (isInJSFile(symbol.valueDeclaration)) { + const parent = symbol.valueDeclaration.parent; + return parent && isBinaryExpression(parent) && getAssignmentDeclarationKind(parent) === 3 /* PrototypeProperty */; + } + } + function checkPropertyAccessibility(node, isSuper, writing, type, prop, reportError = true) { + const errorNode = !reportError ? void 0 : node.kind === 166 /* QualifiedName */ ? node.right : node.kind === 205 /* ImportType */ ? node : node.kind === 208 /* BindingElement */ && node.propertyName ? node.propertyName : node.name; + return checkPropertyAccessibilityAtLocation(node, isSuper, writing, type, prop, errorNode); + } + function checkPropertyAccessibilityAtLocation(location, isSuper, writing, containingType, prop, errorNode) { + var _a; + const flags = getDeclarationModifierFlagsFromSymbol(prop, writing); + if (isSuper) { + if (languageVersion < 2 /* ES2015 */) { + if (symbolHasNonMethodDeclaration(prop)) { + if (errorNode) { + error(errorNode, Diagnostics.Only_public_and_protected_methods_of_the_base_class_are_accessible_via_the_super_keyword); + } + return false; + } + } + if (flags & 64 /* Abstract */) { + if (errorNode) { + error(errorNode, Diagnostics.Abstract_method_0_in_class_1_cannot_be_accessed_via_super_expression, symbolToString(prop), typeToString(getDeclaringClass(prop))); + } + return false; + } + if (!(flags & 256 /* Static */) && ((_a = prop.declarations) == null ? void 0 : _a.some(isClassInstanceProperty))) { + if (errorNode) { + error(errorNode, Diagnostics.Class_field_0_defined_by_the_parent_class_is_not_accessible_in_the_child_class_via_super, symbolToString(prop)); + } + return false; + } + } + if (flags & 64 /* Abstract */ && symbolHasNonMethodDeclaration(prop) && (isThisProperty(location) || isThisInitializedObjectBindingExpression(location) || isObjectBindingPattern(location.parent) && isThisInitializedDeclaration(location.parent.parent))) { + const declaringClassDeclaration = getClassLikeDeclarationOfSymbol(getParentOfSymbol(prop)); + if (declaringClassDeclaration && isNodeUsedDuringClassInitialization(location)) { + if (errorNode) { + error(errorNode, Diagnostics.Abstract_property_0_in_class_1_cannot_be_accessed_in_the_constructor, symbolToString(prop), getTextOfIdentifierOrLiteral(declaringClassDeclaration.name)); + } + return false; + } + } + if (!(flags & 6 /* NonPublicAccessibilityModifier */)) { + return true; + } + if (flags & 2 /* Private */) { + const declaringClassDeclaration = getClassLikeDeclarationOfSymbol(getParentOfSymbol(prop)); + if (!isNodeWithinClass(location, declaringClassDeclaration)) { + if (errorNode) { + error(errorNode, Diagnostics.Property_0_is_private_and_only_accessible_within_class_1, symbolToString(prop), typeToString(getDeclaringClass(prop))); + } + return false; + } + return true; + } + if (isSuper) { + return true; + } + let enclosingClass = forEachEnclosingClass(location, (enclosingDeclaration) => { + const enclosingClass2 = getDeclaredTypeOfSymbol(getSymbolOfDeclaration(enclosingDeclaration)); + return isClassDerivedFromDeclaringClasses(enclosingClass2, prop, writing); + }); + if (!enclosingClass) { + enclosingClass = getEnclosingClassFromThisParameter(location); + enclosingClass = enclosingClass && isClassDerivedFromDeclaringClasses(enclosingClass, prop, writing); + if (flags & 256 /* Static */ || !enclosingClass) { + if (errorNode) { + error(errorNode, Diagnostics.Property_0_is_protected_and_only_accessible_within_class_1_and_its_subclasses, symbolToString(prop), typeToString(getDeclaringClass(prop) || containingType)); + } + return false; + } + } + if (flags & 256 /* Static */) { + return true; + } + if (containingType.flags & 262144 /* TypeParameter */) { + containingType = containingType.isThisType ? getConstraintOfTypeParameter(containingType) : getBaseConstraintOfType(containingType); + } + if (!containingType || !hasBaseType(containingType, enclosingClass)) { + if (errorNode) { + error(errorNode, Diagnostics.Property_0_is_protected_and_only_accessible_through_an_instance_of_class_1_This_is_an_instance_of_class_2, symbolToString(prop), typeToString(enclosingClass), typeToString(containingType)); + } + return false; + } + return true; + } + function getEnclosingClassFromThisParameter(node) { + const thisParameter = getThisParameterFromNodeContext(node); + let thisType = (thisParameter == null ? void 0 : thisParameter.type) && getTypeFromTypeNode(thisParameter.type); + if (thisType) { + if (thisType.flags & 262144 /* TypeParameter */) { + thisType = getConstraintOfTypeParameter(thisType); + } + } else { + const thisContainer = getThisContainer( + node, + /*includeArrowFunctions*/ + false, + /*includeClassComputedPropertyName*/ + false + ); + if (isFunctionLike(thisContainer)) { + thisType = getContextualThisParameterType(thisContainer); + } + } + if (thisType && getObjectFlags(thisType) & (3 /* ClassOrInterface */ | 4 /* Reference */)) { + return getTargetType(thisType); + } + return void 0; + } + function getThisParameterFromNodeContext(node) { + const thisContainer = getThisContainer( + node, + /*includeArrowFunctions*/ + false, + /*includeClassComputedPropertyName*/ + false + ); + return thisContainer && isFunctionLike(thisContainer) ? getThisParameter(thisContainer) : void 0; + } + function symbolHasNonMethodDeclaration(symbol) { + return !!forEachProperty(symbol, (prop) => !(prop.flags & 8192 /* Method */)); + } + function checkNonNullExpression(node) { + return checkNonNullType(checkExpression(node), node); + } + function isNullableType(type) { + return hasTypeFacts(type, 50331648 /* IsUndefinedOrNull */); + } + function getNonNullableTypeIfNeeded(type) { + return isNullableType(type) ? getNonNullableType(type) : type; + } + function reportObjectPossiblyNullOrUndefinedError(node, facts) { + const nodeText = isEntityNameExpression(node) ? entityNameToString(node) : void 0; + if (node.kind === 106 /* NullKeyword */) { + error(node, Diagnostics.The_value_0_cannot_be_used_here, "null"); + return; + } + if (nodeText !== void 0 && nodeText.length < 100) { + if (isIdentifier(node) && nodeText === "undefined") { + error(node, Diagnostics.The_value_0_cannot_be_used_here, "undefined"); + return; + } + error( + node, + facts & 16777216 /* IsUndefined */ ? facts & 33554432 /* IsNull */ ? Diagnostics._0_is_possibly_null_or_undefined : Diagnostics._0_is_possibly_undefined : Diagnostics._0_is_possibly_null, + nodeText + ); + } else { + error( + node, + facts & 16777216 /* IsUndefined */ ? facts & 33554432 /* IsNull */ ? Diagnostics.Object_is_possibly_null_or_undefined : Diagnostics.Object_is_possibly_undefined : Diagnostics.Object_is_possibly_null + ); + } + } + function reportCannotInvokePossiblyNullOrUndefinedError(node, facts) { + error( + node, + facts & 16777216 /* IsUndefined */ ? facts & 33554432 /* IsNull */ ? Diagnostics.Cannot_invoke_an_object_which_is_possibly_null_or_undefined : Diagnostics.Cannot_invoke_an_object_which_is_possibly_undefined : Diagnostics.Cannot_invoke_an_object_which_is_possibly_null + ); + } + function checkNonNullTypeWithReporter(type, node, reportError) { + if (strictNullChecks && type.flags & 2 /* Unknown */) { + if (isEntityNameExpression(node)) { + const nodeText = entityNameToString(node); + if (nodeText.length < 100) { + error(node, Diagnostics._0_is_of_type_unknown, nodeText); + return errorType; + } + } + error(node, Diagnostics.Object_is_of_type_unknown); + return errorType; + } + const facts = getTypeFacts(type, 50331648 /* IsUndefinedOrNull */); + if (facts & 50331648 /* IsUndefinedOrNull */) { + reportError(node, facts); + const t = getNonNullableType(type); + return t.flags & (98304 /* Nullable */ | 131072 /* Never */) ? errorType : t; + } + return type; + } + function checkNonNullType(type, node) { + return checkNonNullTypeWithReporter(type, node, reportObjectPossiblyNullOrUndefinedError); + } + function checkNonNullNonVoidType(type, node) { + const nonNullType = checkNonNullType(type, node); + if (nonNullType.flags & 16384 /* Void */) { + if (isEntityNameExpression(node)) { + const nodeText = entityNameToString(node); + if (isIdentifier(node) && nodeText === "undefined") { + error(node, Diagnostics.The_value_0_cannot_be_used_here, nodeText); + return nonNullType; + } + if (nodeText.length < 100) { + error(node, Diagnostics._0_is_possibly_undefined, nodeText); + return nonNullType; + } + } + error(node, Diagnostics.Object_is_possibly_undefined); + } + return nonNullType; + } + function checkPropertyAccessExpression(node, checkMode, writeOnly) { + return node.flags & 64 /* OptionalChain */ ? checkPropertyAccessChain(node, checkMode) : checkPropertyAccessExpressionOrQualifiedName(node, node.expression, checkNonNullExpression(node.expression), node.name, checkMode, writeOnly); + } + function checkPropertyAccessChain(node, checkMode) { + const leftType = checkExpression(node.expression); + const nonOptionalType = getOptionalExpressionType(leftType, node.expression); + return propagateOptionalTypeMarker(checkPropertyAccessExpressionOrQualifiedName(node, node.expression, checkNonNullType(nonOptionalType, node.expression), node.name, checkMode), node, nonOptionalType !== leftType); + } + function checkQualifiedName(node, checkMode) { + const leftType = isPartOfTypeQuery(node) && isThisIdentifier(node.left) ? checkNonNullType(checkThisExpression(node.left), node.left) : checkNonNullExpression(node.left); + return checkPropertyAccessExpressionOrQualifiedName(node, node.left, leftType, node.right, checkMode); + } + function isMethodAccessForCall(node) { + while (node.parent.kind === 217 /* ParenthesizedExpression */) { + node = node.parent; + } + return isCallOrNewExpression(node.parent) && node.parent.expression === node; + } + function lookupSymbolForPrivateIdentifierDeclaration(propName, location) { + for (let containingClass = getContainingClassExcludingClassDecorators(location); !!containingClass; containingClass = getContainingClass(containingClass)) { + const { symbol } = containingClass; + const name = getSymbolNameForPrivateIdentifier(symbol, propName); + const prop = symbol.members && symbol.members.get(name) || symbol.exports && symbol.exports.get(name); + if (prop) { + return prop; + } + } + } + function checkGrammarPrivateIdentifierExpression(privId) { + if (!getContainingClass(privId)) { + return grammarErrorOnNode(privId, Diagnostics.Private_identifiers_are_not_allowed_outside_class_bodies); + } + if (!isForInStatement(privId.parent)) { + if (!isExpressionNode(privId)) { + return grammarErrorOnNode(privId, Diagnostics.Private_identifiers_are_only_allowed_in_class_bodies_and_may_only_be_used_as_part_of_a_class_member_declaration_property_access_or_on_the_left_hand_side_of_an_in_expression); + } + const isInOperation = isBinaryExpression(privId.parent) && privId.parent.operatorToken.kind === 103 /* InKeyword */; + if (!getSymbolForPrivateIdentifierExpression(privId) && !isInOperation) { + return grammarErrorOnNode(privId, Diagnostics.Cannot_find_name_0, idText(privId)); + } + } + return false; + } + function checkPrivateIdentifierExpression(privId) { + checkGrammarPrivateIdentifierExpression(privId); + const symbol = getSymbolForPrivateIdentifierExpression(privId); + if (symbol) { + markPropertyAsReferenced( + symbol, + /*nodeForCheckWriteOnly*/ + void 0, + /*isSelfTypeAccess*/ + false + ); + } + return anyType; + } + function getSymbolForPrivateIdentifierExpression(privId) { + if (!isExpressionNode(privId)) { + return void 0; + } + const links = getNodeLinks(privId); + if (links.resolvedSymbol === void 0) { + links.resolvedSymbol = lookupSymbolForPrivateIdentifierDeclaration(privId.escapedText, privId); + } + return links.resolvedSymbol; + } + function getPrivateIdentifierPropertyOfType(leftType, lexicallyScopedIdentifier) { + return getPropertyOfType(leftType, lexicallyScopedIdentifier.escapedName); + } + function checkPrivateIdentifierPropertyAccess(leftType, right, lexicallyScopedIdentifier) { + let propertyOnType; + const properties = getPropertiesOfType(leftType); + if (properties) { + forEach(properties, (symbol) => { + const decl = symbol.valueDeclaration; + if (decl && isNamedDeclaration(decl) && isPrivateIdentifier(decl.name) && decl.name.escapedText === right.escapedText) { + propertyOnType = symbol; + return true; + } + }); + } + const diagName = diagnosticName(right); + if (propertyOnType) { + const typeValueDecl = Debug.checkDefined(propertyOnType.valueDeclaration); + const typeClass = Debug.checkDefined(getContainingClass(typeValueDecl)); + if (lexicallyScopedIdentifier == null ? void 0 : lexicallyScopedIdentifier.valueDeclaration) { + const lexicalValueDecl = lexicallyScopedIdentifier.valueDeclaration; + const lexicalClass = getContainingClass(lexicalValueDecl); + Debug.assert(!!lexicalClass); + if (findAncestor(lexicalClass, (n) => typeClass === n)) { + const diagnostic = error( + right, + 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, + diagName, + typeToString(leftType) + ); + addRelatedInfo( + diagnostic, + createDiagnosticForNode( + lexicalValueDecl, + Diagnostics.The_shadowing_declaration_of_0_is_defined_here, + diagName + ), + createDiagnosticForNode( + typeValueDecl, + Diagnostics.The_declaration_of_0_that_you_probably_intended_to_use_is_defined_here, + diagName + ) + ); + return true; + } + } + error( + right, + Diagnostics.Property_0_is_not_accessible_outside_class_1_because_it_has_a_private_identifier, + diagName, + diagnosticName(typeClass.name || anon) + ); + return true; + } + return false; + } + function isThisPropertyAccessInConstructor(node, prop) { + return (isConstructorDeclaredProperty(prop) || isThisProperty(node) && isAutoTypedProperty(prop)) && getThisContainer( + node, + /*includeArrowFunctions*/ + true, + /*includeClassComputedPropertyName*/ + false + ) === getDeclaringConstructor(prop); + } + function checkPropertyAccessExpressionOrQualifiedName(node, left, leftType, right, checkMode, writeOnly) { + const parentSymbol = getNodeLinks(left).resolvedSymbol; + const assignmentKind = getAssignmentTargetKind(node); + const apparentType = getApparentType(assignmentKind !== 0 /* None */ || isMethodAccessForCall(node) ? getWidenedType(leftType) : leftType); + const isAnyLike = isTypeAny(apparentType) || apparentType === silentNeverType; + let prop; + if (isPrivateIdentifier(right)) { + if (languageVersion < LanguageFeatureMinimumTarget.PrivateNamesAndClassStaticBlocks || languageVersion < LanguageFeatureMinimumTarget.ClassAndClassElementDecorators || !useDefineForClassFields) { + if (assignmentKind !== 0 /* None */) { + checkExternalEmitHelpers(node, 1048576 /* ClassPrivateFieldSet */); + } + if (assignmentKind !== 1 /* Definite */) { + checkExternalEmitHelpers(node, 524288 /* ClassPrivateFieldGet */); + } + } + const lexicallyScopedSymbol = lookupSymbolForPrivateIdentifierDeclaration(right.escapedText, right); + if (assignmentKind && lexicallyScopedSymbol && lexicallyScopedSymbol.valueDeclaration && isMethodDeclaration(lexicallyScopedSymbol.valueDeclaration)) { + grammarErrorOnNode(right, Diagnostics.Cannot_assign_to_private_method_0_Private_methods_are_not_writable, idText(right)); + } + if (isAnyLike) { + if (lexicallyScopedSymbol) { + return isErrorType(apparentType) ? errorType : apparentType; + } + if (getContainingClassExcludingClassDecorators(right) === void 0) { + grammarErrorOnNode(right, Diagnostics.Private_identifiers_are_not_allowed_outside_class_bodies); + return anyType; + } + } + prop = lexicallyScopedSymbol && getPrivateIdentifierPropertyOfType(leftType, lexicallyScopedSymbol); + if (prop === void 0) { + if (checkPrivateIdentifierPropertyAccess(leftType, right, lexicallyScopedSymbol)) { + return errorType; + } + const containingClass = getContainingClassExcludingClassDecorators(right); + if (containingClass && isPlainJsFile(getSourceFileOfNode(containingClass), compilerOptions.checkJs)) { + grammarErrorOnNode(right, Diagnostics.Private_field_0_must_be_declared_in_an_enclosing_class, idText(right)); + } + } else { + const isSetonlyAccessor = prop.flags & 65536 /* SetAccessor */ && !(prop.flags & 32768 /* GetAccessor */); + if (isSetonlyAccessor && assignmentKind !== 1 /* Definite */) { + error(node, Diagnostics.Private_accessor_was_defined_without_a_getter); + } + } + } else { + if (isAnyLike) { + if (isIdentifier(left) && parentSymbol) { + markLinkedReferences( + node, + 2 /* Property */, + /*propSymbol*/ + void 0, + leftType + ); + } + return isErrorType(apparentType) ? errorType : apparentType; + } + prop = getPropertyOfType( + apparentType, + right.escapedText, + /*skipObjectFunctionPropertyAugment*/ + isConstEnumObjectType(apparentType), + /*includeTypeOnlyMembers*/ + node.kind === 166 /* QualifiedName */ + ); + } + markLinkedReferences(node, 2 /* Property */, prop, leftType); + let propType; + if (!prop) { + const indexInfo = !isPrivateIdentifier(right) && (assignmentKind === 0 /* None */ || !isGenericObjectType(leftType) || isThisTypeParameter(leftType)) ? getApplicableIndexInfoForName(apparentType, right.escapedText) : void 0; + if (!(indexInfo && indexInfo.type)) { + const isUncheckedJS = isUncheckedJSSuggestion( + node, + leftType.symbol, + /*excludeClasses*/ + true + ); + if (!isUncheckedJS && isJSLiteralType(leftType)) { + return anyType; + } + if (leftType.symbol === globalThisSymbol) { + if (globalThisSymbol.exports.has(right.escapedText) && globalThisSymbol.exports.get(right.escapedText).flags & 418 /* BlockScoped */) { + error(right, Diagnostics.Property_0_does_not_exist_on_type_1, unescapeLeadingUnderscores(right.escapedText), typeToString(leftType)); + } else if (noImplicitAny) { + error(right, Diagnostics.Element_implicitly_has_an_any_type_because_type_0_has_no_index_signature, typeToString(leftType)); + } + return anyType; + } + if (right.escapedText && !checkAndReportErrorForExtendingInterface(node)) { + reportNonexistentProperty(right, isThisTypeParameter(leftType) ? apparentType : leftType, isUncheckedJS); + } + return errorType; + } + if (indexInfo.isReadonly && (isAssignmentTarget(node) || isDeleteTarget(node))) { + error(node, Diagnostics.Index_signature_in_type_0_only_permits_reading, typeToString(apparentType)); + } + propType = indexInfo.type; + if (compilerOptions.noUncheckedIndexedAccess && getAssignmentTargetKind(node) !== 1 /* Definite */) { + propType = getUnionType([propType, missingType]); + } + if (compilerOptions.noPropertyAccessFromIndexSignature && isPropertyAccessExpression(node)) { + error(right, Diagnostics.Property_0_comes_from_an_index_signature_so_it_must_be_accessed_with_0, unescapeLeadingUnderscores(right.escapedText)); + } + if (indexInfo.declaration && isDeprecatedDeclaration(indexInfo.declaration)) { + addDeprecatedSuggestion(right, [indexInfo.declaration], right.escapedText); + } + } else { + const targetPropSymbol = resolveAliasWithDeprecationCheck(prop, right); + if (isDeprecatedSymbol(targetPropSymbol) && isUncalledFunctionReference(node, targetPropSymbol) && targetPropSymbol.declarations) { + addDeprecatedSuggestion(right, targetPropSymbol.declarations, right.escapedText); + } + checkPropertyNotUsedBeforeDeclaration(prop, node, right); + markPropertyAsReferenced(prop, node, isSelfTypeAccess(left, parentSymbol)); + getNodeLinks(node).resolvedSymbol = prop; + checkPropertyAccessibility(node, left.kind === 108 /* SuperKeyword */, isWriteAccess(node), apparentType, prop); + if (isAssignmentToReadonlyEntity(node, prop, assignmentKind)) { + error(right, Diagnostics.Cannot_assign_to_0_because_it_is_a_read_only_property, idText(right)); + return errorType; + } + propType = isThisPropertyAccessInConstructor(node, prop) ? autoType : writeOnly || isWriteOnlyAccess(node) ? getWriteTypeOfSymbol(prop) : getTypeOfSymbol(prop); + } + return getFlowTypeOfAccessExpression(node, prop, propType, right, checkMode); + } + function isUncheckedJSSuggestion(node, suggestion, excludeClasses) { + var _a; + const file = getSourceFileOfNode(node); + if (file) { + if (compilerOptions.checkJs === void 0 && file.checkJsDirective === void 0 && (file.scriptKind === 1 /* JS */ || file.scriptKind === 2 /* JSX */)) { + const declarationFile = forEach(suggestion == null ? void 0 : suggestion.declarations, getSourceFileOfNode); + const suggestionHasNoExtendsOrDecorators = !(suggestion == null ? void 0 : suggestion.valueDeclaration) || !isClassLike(suggestion.valueDeclaration) || ((_a = suggestion.valueDeclaration.heritageClauses) == null ? void 0 : _a.length) || classOrConstructorParameterIsDecorated( + /*useLegacyDecorators*/ + false, + suggestion.valueDeclaration + ); + return !(file !== declarationFile && !!declarationFile && isGlobalSourceFile(declarationFile)) && !(excludeClasses && suggestion && suggestion.flags & 32 /* Class */ && suggestionHasNoExtendsOrDecorators) && !(!!node && excludeClasses && isPropertyAccessExpression(node) && node.expression.kind === 110 /* ThisKeyword */ && suggestionHasNoExtendsOrDecorators); + } + } + return false; + } + function getFlowTypeOfAccessExpression(node, prop, propType, errorNode, checkMode) { + const assignmentKind = getAssignmentTargetKind(node); + if (assignmentKind === 1 /* Definite */) { + return removeMissingType(propType, !!(prop && prop.flags & 16777216 /* Optional */)); + } + if (prop && !(prop.flags & (3 /* Variable */ | 4 /* Property */ | 98304 /* Accessor */)) && !(prop.flags & 8192 /* Method */ && propType.flags & 1048576 /* Union */) && !isDuplicatedCommonJSExport(prop.declarations)) { + return propType; + } + if (propType === autoType) { + return getFlowTypeOfProperty(node, prop); + } + propType = getNarrowableTypeForReference(propType, node, checkMode); + let assumeUninitialized = false; + if (strictNullChecks && strictPropertyInitialization && isAccessExpression(node) && node.expression.kind === 110 /* ThisKeyword */) { + const declaration = prop && prop.valueDeclaration; + if (declaration && isPropertyWithoutInitializer(declaration)) { + if (!isStatic(declaration)) { + const flowContainer = getControlFlowContainer(node); + if (flowContainer.kind === 176 /* Constructor */ && flowContainer.parent === declaration.parent && !(declaration.flags & 33554432 /* Ambient */)) { + assumeUninitialized = true; + } + } + } + } else if (strictNullChecks && prop && prop.valueDeclaration && isPropertyAccessExpression(prop.valueDeclaration) && getAssignmentDeclarationPropertyAccessKind(prop.valueDeclaration) && getControlFlowContainer(node) === getControlFlowContainer(prop.valueDeclaration)) { + assumeUninitialized = true; + } + const flowType = getFlowTypeOfReference(node, propType, assumeUninitialized ? getOptionalType(propType) : propType); + if (assumeUninitialized && !containsUndefinedType(propType) && containsUndefinedType(flowType)) { + error(errorNode, Diagnostics.Property_0_is_used_before_being_assigned, symbolToString(prop)); + return propType; + } + return assignmentKind ? getBaseTypeOfLiteralType(flowType) : flowType; + } + function checkPropertyNotUsedBeforeDeclaration(prop, node, right) { + const { valueDeclaration } = prop; + if (!valueDeclaration || getSourceFileOfNode(node).isDeclarationFile) { + return; + } + let diagnosticMessage; + const declarationName = idText(right); + if (isInPropertyInitializerOrClassStaticBlock(node) && !isOptionalPropertyDeclaration(valueDeclaration) && !(isAccessExpression(node) && isAccessExpression(node.expression)) && !isBlockScopedNameDeclaredBeforeUse(valueDeclaration, right) && !(isMethodDeclaration(valueDeclaration) && getCombinedModifierFlagsCached(valueDeclaration) & 256 /* Static */) && (useDefineForClassFields || !isPropertyDeclaredInAncestorClass(prop))) { + diagnosticMessage = error(right, Diagnostics.Property_0_is_used_before_its_initialization, declarationName); + } else if (valueDeclaration.kind === 263 /* ClassDeclaration */ && node.parent.kind !== 183 /* TypeReference */ && !(valueDeclaration.flags & 33554432 /* Ambient */) && !isBlockScopedNameDeclaredBeforeUse(valueDeclaration, right)) { + diagnosticMessage = error(right, Diagnostics.Class_0_used_before_its_declaration, declarationName); + } + if (diagnosticMessage) { + addRelatedInfo(diagnosticMessage, createDiagnosticForNode(valueDeclaration, Diagnostics._0_is_declared_here, declarationName)); + } + } + function isInPropertyInitializerOrClassStaticBlock(node) { + return !!findAncestor(node, (node2) => { + switch (node2.kind) { + case 172 /* PropertyDeclaration */: + return true; + case 303 /* PropertyAssignment */: + case 174 /* MethodDeclaration */: + case 177 /* GetAccessor */: + case 178 /* SetAccessor */: + case 305 /* SpreadAssignment */: + case 167 /* ComputedPropertyName */: + case 239 /* TemplateSpan */: + case 294 /* JsxExpression */: + case 291 /* JsxAttribute */: + case 292 /* JsxAttributes */: + case 293 /* JsxSpreadAttribute */: + case 286 /* JsxOpeningElement */: + case 233 /* ExpressionWithTypeArguments */: + case 298 /* HeritageClause */: + return false; + case 219 /* ArrowFunction */: + case 244 /* ExpressionStatement */: + return isBlock(node2.parent) && isClassStaticBlockDeclaration(node2.parent.parent) ? true : "quit"; + default: + return isExpressionNode(node2) ? false : "quit"; + } + }); + } + function isPropertyDeclaredInAncestorClass(prop) { + if (!(prop.parent.flags & 32 /* Class */)) { + return false; + } + let classType = getTypeOfSymbol(prop.parent); + while (true) { + classType = classType.symbol && getSuperClass(classType); + if (!classType) { + return false; + } + const superProperty = getPropertyOfType(classType, prop.escapedName); + if (superProperty && superProperty.valueDeclaration) { + return true; + } + } + } + function getSuperClass(classType) { + const x = getBaseTypes(classType); + if (x.length === 0) { + return void 0; + } + return getIntersectionType(x); + } + function reportNonexistentProperty(propNode, containingType, isUncheckedJS) { + let errorInfo; + let relatedInfo; + if (!isPrivateIdentifier(propNode) && containingType.flags & 1048576 /* Union */ && !(containingType.flags & 402784252 /* Primitive */)) { + for (const subtype of containingType.types) { + if (!getPropertyOfType(subtype, propNode.escapedText) && !getApplicableIndexInfoForName(subtype, propNode.escapedText)) { + errorInfo = chainDiagnosticMessages(errorInfo, Diagnostics.Property_0_does_not_exist_on_type_1, declarationNameToString(propNode), typeToString(subtype)); + break; + } + } + } + if (typeHasStaticProperty(propNode.escapedText, containingType)) { + const propName = declarationNameToString(propNode); + const typeName = typeToString(containingType); + errorInfo = chainDiagnosticMessages(errorInfo, Diagnostics.Property_0_does_not_exist_on_type_1_Did_you_mean_to_access_the_static_member_2_instead, propName, typeName, typeName + "." + propName); + } else { + const promisedType = getPromisedTypeOfPromise(containingType); + if (promisedType && getPropertyOfType(promisedType, propNode.escapedText)) { + errorInfo = chainDiagnosticMessages(errorInfo, Diagnostics.Property_0_does_not_exist_on_type_1, declarationNameToString(propNode), typeToString(containingType)); + relatedInfo = createDiagnosticForNode(propNode, Diagnostics.Did_you_forget_to_use_await); + } else { + const missingProperty = declarationNameToString(propNode); + const container = typeToString(containingType); + const libSuggestion = getSuggestedLibForNonExistentProperty(missingProperty, containingType); + if (libSuggestion !== void 0) { + errorInfo = chainDiagnosticMessages(errorInfo, Diagnostics.Property_0_does_not_exist_on_type_1_Do_you_need_to_change_your_target_library_Try_changing_the_lib_compiler_option_to_2_or_later, missingProperty, container, libSuggestion); + } else { + const suggestion = getSuggestedSymbolForNonexistentProperty(propNode, containingType); + if (suggestion !== void 0) { + const suggestedName = symbolName(suggestion); + const message = isUncheckedJS ? Diagnostics.Property_0_may_not_exist_on_type_1_Did_you_mean_2 : Diagnostics.Property_0_does_not_exist_on_type_1_Did_you_mean_2; + errorInfo = chainDiagnosticMessages(errorInfo, message, missingProperty, container, suggestedName); + relatedInfo = suggestion.valueDeclaration && createDiagnosticForNode(suggestion.valueDeclaration, Diagnostics._0_is_declared_here, suggestedName); + } else { + const diagnostic = containerSeemsToBeEmptyDomElement(containingType) ? Diagnostics.Property_0_does_not_exist_on_type_1_Try_changing_the_lib_compiler_option_to_include_dom : Diagnostics.Property_0_does_not_exist_on_type_1; + errorInfo = chainDiagnosticMessages(elaborateNeverIntersection(errorInfo, containingType), diagnostic, missingProperty, container); + } + } + } + } + const resultDiagnostic = createDiagnosticForNodeFromMessageChain(getSourceFileOfNode(propNode), propNode, errorInfo); + if (relatedInfo) { + addRelatedInfo(resultDiagnostic, relatedInfo); + } + addErrorOrSuggestion(!isUncheckedJS || errorInfo.code !== Diagnostics.Property_0_may_not_exist_on_type_1_Did_you_mean_2.code, resultDiagnostic); + } + function containerSeemsToBeEmptyDomElement(containingType) { + return compilerOptions.lib && !compilerOptions.lib.includes("dom") && everyContainedType(containingType, (type) => type.symbol && /^(?:EventTarget|Node|(?:HTML[a-zA-Z]*)?Element)$/.test(unescapeLeadingUnderscores(type.symbol.escapedName))) && isEmptyObjectType(containingType); + } + function typeHasStaticProperty(propName, containingType) { + const prop = containingType.symbol && getPropertyOfType(getTypeOfSymbol(containingType.symbol), propName); + return prop !== void 0 && !!prop.valueDeclaration && isStatic(prop.valueDeclaration); + } + function getSuggestedLibForNonExistentName(name) { + const missingName = diagnosticName(name); + const allFeatures = getScriptTargetFeatures(); + const typeFeatures = allFeatures.get(missingName); + return typeFeatures && firstIterator(typeFeatures.keys()); + } + function getSuggestedLibForNonExistentProperty(missingProperty, containingType) { + const container = getApparentType(containingType).symbol; + if (!container) { + return void 0; + } + const containingTypeName = symbolName(container); + const allFeatures = getScriptTargetFeatures(); + const typeFeatures = allFeatures.get(containingTypeName); + if (typeFeatures) { + for (const [libTarget, featuresOfType] of typeFeatures) { + if (contains(featuresOfType, missingProperty)) { + return libTarget; + } + } + } + } + function getSuggestedSymbolForNonexistentClassMember(name, baseType) { + return getSpellingSuggestionForName(name, getPropertiesOfType(baseType), 106500 /* ClassMember */); + } + function getSuggestedSymbolForNonexistentProperty(name, containingType) { + let props = getPropertiesOfType(containingType); + if (typeof name !== "string") { + const parent = name.parent; + if (isPropertyAccessExpression(parent)) { + props = filter(props, (prop) => isValidPropertyAccessForCompletions(parent, containingType, prop)); + } + name = idText(name); + } + return getSpellingSuggestionForName(name, props, 111551 /* Value */); + } + function getSuggestedSymbolForNonexistentJSXAttribute(name, containingType) { + const strName = isString(name) ? name : idText(name); + const properties = getPropertiesOfType(containingType); + const jsxSpecific = strName === "for" ? find(properties, (x) => symbolName(x) === "htmlFor") : strName === "class" ? find(properties, (x) => symbolName(x) === "className") : void 0; + return jsxSpecific ?? getSpellingSuggestionForName(strName, properties, 111551 /* Value */); + } + function getSuggestionForNonexistentProperty(name, containingType) { + const suggestion = getSuggestedSymbolForNonexistentProperty(name, containingType); + return suggestion && symbolName(suggestion); + } + function getSuggestionForSymbolNameLookup(symbols, name, meaning) { + const symbol = getSymbol(symbols, name, meaning); + if (symbol) return symbol; + let candidates; + if (symbols === globals) { + const primitives = mapDefined( + ["string", "number", "boolean", "object", "bigint", "symbol"], + (s) => symbols.has(s.charAt(0).toUpperCase() + s.slice(1)) ? createSymbol(524288 /* TypeAlias */, s) : void 0 + ); + candidates = primitives.concat(arrayFrom(symbols.values())); + } else { + candidates = arrayFrom(symbols.values()); + } + return getSpellingSuggestionForName(unescapeLeadingUnderscores(name), candidates, meaning); + } + function getSuggestedSymbolForNonexistentSymbol(location, outerName, meaning) { + Debug.assert(outerName !== void 0, "outername should always be defined"); + const result = resolveNameForSymbolSuggestion( + location, + outerName, + meaning, + /*nameNotFoundMessage*/ + void 0, + /*isUse*/ + false, + /*excludeGlobals*/ + false + ); + return result; + } + function getSuggestedSymbolForNonexistentModule(name, targetModule) { + return targetModule.exports && getSpellingSuggestionForName(idText(name), getExportsOfModuleAsArray(targetModule), 2623475 /* ModuleMember */); + } + function getSuggestionForNonexistentIndexSignature(objectType, expr, keyedType) { + function hasProp(name) { + const prop = getPropertyOfObjectType(objectType, name); + if (prop) { + const s = getSingleCallSignature(getTypeOfSymbol(prop)); + return !!s && getMinArgumentCount(s) >= 1 && isTypeAssignableTo(keyedType, getTypeAtPosition(s, 0)); + } + return false; + } + const suggestedMethod = isAssignmentTarget(expr) ? "set" : "get"; + if (!hasProp(suggestedMethod)) { + return void 0; + } + let suggestion = tryGetPropertyAccessOrIdentifierToString(expr.expression); + if (suggestion === void 0) { + suggestion = suggestedMethod; + } else { + suggestion += "." + suggestedMethod; + } + return suggestion; + } + function getSuggestedTypeForNonexistentStringLiteralType(source, target) { + const candidates = target.types.filter((type) => !!(type.flags & 128 /* StringLiteral */)); + return getSpellingSuggestion(source.value, candidates, (type) => type.value); + } + function getSpellingSuggestionForName(name, symbols, meaning) { + return getSpellingSuggestion(name, symbols, getCandidateName); + function getCandidateName(candidate) { + const candidateName = symbolName(candidate); + if (startsWith(candidateName, '"')) { + return void 0; + } + if (candidate.flags & meaning) { + return candidateName; + } + if (candidate.flags & 2097152 /* Alias */) { + const alias = tryResolveAlias(candidate); + if (alias && alias.flags & meaning) { + return candidateName; + } + } + return void 0; + } + } + function markPropertyAsReferenced(prop, nodeForCheckWriteOnly, isSelfTypeAccess2) { + const valueDeclaration = prop && prop.flags & 106500 /* ClassMember */ && prop.valueDeclaration; + if (!valueDeclaration) { + return; + } + const hasPrivateModifier = hasEffectiveModifier(valueDeclaration, 2 /* Private */); + const hasPrivateIdentifier = prop.valueDeclaration && isNamedDeclaration(prop.valueDeclaration) && isPrivateIdentifier(prop.valueDeclaration.name); + if (!hasPrivateModifier && !hasPrivateIdentifier) { + return; + } + if (nodeForCheckWriteOnly && isWriteOnlyAccess(nodeForCheckWriteOnly) && !(prop.flags & 65536 /* SetAccessor */)) { + return; + } + if (isSelfTypeAccess2) { + const containingMethod = findAncestor(nodeForCheckWriteOnly, isFunctionLikeDeclaration); + if (containingMethod && containingMethod.symbol === prop) { + return; + } + } + (getCheckFlags(prop) & 1 /* Instantiated */ ? getSymbolLinks(prop).target : prop).isReferenced = -1 /* All */; + } + function isSelfTypeAccess(name, parent) { + return name.kind === 110 /* ThisKeyword */ || !!parent && isEntityNameExpression(name) && parent === getResolvedSymbol(getFirstIdentifier(name)); + } + function isValidPropertyAccess(node, propertyName) { + switch (node.kind) { + case 211 /* PropertyAccessExpression */: + return isValidPropertyAccessWithType(node, node.expression.kind === 108 /* SuperKeyword */, propertyName, getWidenedType(checkExpression(node.expression))); + case 166 /* QualifiedName */: + return isValidPropertyAccessWithType( + node, + /*isSuper*/ + false, + propertyName, + getWidenedType(checkExpression(node.left)) + ); + case 205 /* ImportType */: + return isValidPropertyAccessWithType( + node, + /*isSuper*/ + false, + propertyName, + getTypeFromTypeNode(node) + ); + } + } + function isValidPropertyAccessForCompletions(node, type, property) { + return isPropertyAccessible( + node, + node.kind === 211 /* PropertyAccessExpression */ && node.expression.kind === 108 /* SuperKeyword */, + /*isWrite*/ + false, + type, + property + ); + } + function isValidPropertyAccessWithType(node, isSuper, propertyName, type) { + if (isTypeAny(type)) { + return true; + } + const prop = getPropertyOfType(type, propertyName); + return !!prop && isPropertyAccessible( + node, + isSuper, + /*isWrite*/ + false, + type, + prop + ); + } + function isPropertyAccessible(node, isSuper, isWrite, containingType, property) { + if (isTypeAny(containingType)) { + return true; + } + if (property.valueDeclaration && isPrivateIdentifierClassElementDeclaration(property.valueDeclaration)) { + const declClass = getContainingClass(property.valueDeclaration); + return !isOptionalChain(node) && !!findAncestor(node, (parent) => parent === declClass); + } + return checkPropertyAccessibilityAtLocation(node, isSuper, isWrite, containingType, property); + } + function getForInVariableSymbol(node) { + const initializer = node.initializer; + if (initializer.kind === 261 /* VariableDeclarationList */) { + const variable = initializer.declarations[0]; + if (variable && !isBindingPattern(variable.name)) { + return getSymbolOfDeclaration(variable); + } + } else if (initializer.kind === 80 /* Identifier */) { + return getResolvedSymbol(initializer); + } + return void 0; + } + function hasNumericPropertyNames(type) { + return getIndexInfosOfType(type).length === 1 && !!getIndexInfoOfType(type, numberType); + } + function isForInVariableForNumericPropertyNames(expr) { + const e = skipParentheses(expr); + if (e.kind === 80 /* Identifier */) { + const symbol = getResolvedSymbol(e); + if (symbol.flags & 3 /* Variable */) { + let child = expr; + let node = expr.parent; + while (node) { + if (node.kind === 249 /* ForInStatement */ && child === node.statement && getForInVariableSymbol(node) === symbol && hasNumericPropertyNames(getTypeOfExpression(node.expression))) { + return true; + } + child = node; + node = node.parent; + } + } + } + return false; + } + function checkIndexedAccess(node, checkMode) { + return node.flags & 64 /* OptionalChain */ ? checkElementAccessChain(node, checkMode) : checkElementAccessExpression(node, checkNonNullExpression(node.expression), checkMode); + } + function checkElementAccessChain(node, checkMode) { + const exprType = checkExpression(node.expression); + const nonOptionalType = getOptionalExpressionType(exprType, node.expression); + return propagateOptionalTypeMarker(checkElementAccessExpression(node, checkNonNullType(nonOptionalType, node.expression), checkMode), node, nonOptionalType !== exprType); + } + function checkElementAccessExpression(node, exprType, checkMode) { + const objectType = getAssignmentTargetKind(node) !== 0 /* None */ || isMethodAccessForCall(node) ? getWidenedType(exprType) : exprType; + const indexExpression = node.argumentExpression; + const indexType = checkExpression(indexExpression); + if (isErrorType(objectType) || objectType === silentNeverType) { + return objectType; + } + if (isConstEnumObjectType(objectType) && !isStringLiteralLike(indexExpression)) { + error(indexExpression, Diagnostics.A_const_enum_member_can_only_be_accessed_using_a_string_literal); + return errorType; + } + const effectiveIndexType = isForInVariableForNumericPropertyNames(indexExpression) ? numberType : indexType; + const assignmentTargetKind = getAssignmentTargetKind(node); + let accessFlags; + if (assignmentTargetKind === 0 /* None */) { + accessFlags = 32 /* ExpressionPosition */; + } else { + accessFlags = 4 /* Writing */ | (isGenericObjectType(objectType) && !isThisTypeParameter(objectType) ? 2 /* NoIndexSignatures */ : 0); + if (assignmentTargetKind === 2 /* Compound */) { + accessFlags |= 32 /* ExpressionPosition */; + } + } + const indexedAccessType = getIndexedAccessTypeOrUndefined(objectType, effectiveIndexType, accessFlags, node) || errorType; + return checkIndexedAccessIndexType(getFlowTypeOfAccessExpression(node, getNodeLinks(node).resolvedSymbol, indexedAccessType, indexExpression, checkMode), node); + } + function callLikeExpressionMayHaveTypeArguments(node) { + return isCallOrNewExpression(node) || isTaggedTemplateExpression(node) || isJsxOpeningLikeElement(node); + } + function resolveUntypedCall(node) { + if (callLikeExpressionMayHaveTypeArguments(node)) { + forEach(node.typeArguments, checkSourceElement); + } + if (node.kind === 215 /* TaggedTemplateExpression */) { + checkExpression(node.template); + } else if (isJsxOpeningLikeElement(node)) { + checkExpression(node.attributes); + } else if (isBinaryExpression(node)) { + checkExpression(node.left); + } else if (isCallOrNewExpression(node)) { + forEach(node.arguments, (argument) => { + checkExpression(argument); + }); + } + return anySignature; + } + function resolveErrorCall(node) { + resolveUntypedCall(node); + return unknownSignature; + } + function reorderCandidates(signatures, result, callChainFlags) { + let lastParent; + let lastSymbol; + let cutoffIndex = 0; + let index; + let specializedIndex = -1; + let spliceIndex; + Debug.assert(!result.length); + for (const signature of signatures) { + const symbol = signature.declaration && getSymbolOfDeclaration(signature.declaration); + const parent = signature.declaration && signature.declaration.parent; + if (!lastSymbol || symbol === lastSymbol) { + if (lastParent && parent === lastParent) { + index = index + 1; + } else { + lastParent = parent; + index = cutoffIndex; + } + } else { + index = cutoffIndex = result.length; + lastParent = parent; + } + lastSymbol = symbol; + if (signatureHasLiteralTypes(signature)) { + specializedIndex++; + spliceIndex = specializedIndex; + cutoffIndex++; + } else { + spliceIndex = index; + } + result.splice(spliceIndex, 0, callChainFlags ? getOptionalCallSignature(signature, callChainFlags) : signature); + } + } + function isSpreadArgument(arg) { + return !!arg && (arg.kind === 230 /* SpreadElement */ || arg.kind === 237 /* SyntheticExpression */ && arg.isSpread); + } + function getSpreadArgumentIndex(args) { + return findIndex(args, isSpreadArgument); + } + function acceptsVoid(t) { + return !!(t.flags & 16384 /* Void */); + } + function acceptsVoidUndefinedUnknownOrAny(t) { + return !!(t.flags & (16384 /* Void */ | 32768 /* Undefined */ | 2 /* Unknown */ | 1 /* Any */)); + } + function hasCorrectArity(node, args, signature, signatureHelpTrailingComma = false) { + if (isJsxOpeningFragment(node)) return true; + let argCount; + let callIsIncomplete = false; + let effectiveParameterCount = getParameterCount(signature); + let effectiveMinimumArguments = getMinArgumentCount(signature); + if (node.kind === 215 /* TaggedTemplateExpression */) { + argCount = args.length; + if (node.template.kind === 228 /* TemplateExpression */) { + const lastSpan = last(node.template.templateSpans); + callIsIncomplete = nodeIsMissing(lastSpan.literal) || !!lastSpan.literal.isUnterminated; + } else { + const templateLiteral = node.template; + Debug.assert(templateLiteral.kind === 15 /* NoSubstitutionTemplateLiteral */); + callIsIncomplete = !!templateLiteral.isUnterminated; + } + } else if (node.kind === 170 /* Decorator */) { + argCount = getDecoratorArgumentCount(node, signature); + } else if (node.kind === 226 /* BinaryExpression */) { + argCount = 1; + } else if (isJsxOpeningLikeElement(node)) { + callIsIncomplete = node.attributes.end === node.end; + if (callIsIncomplete) { + return true; + } + argCount = effectiveMinimumArguments === 0 ? args.length : 1; + effectiveParameterCount = args.length === 0 ? effectiveParameterCount : 1; + effectiveMinimumArguments = Math.min(effectiveMinimumArguments, 1); + } else if (!node.arguments) { + Debug.assert(node.kind === 214 /* NewExpression */); + return getMinArgumentCount(signature) === 0; + } else { + argCount = signatureHelpTrailingComma ? args.length + 1 : args.length; + callIsIncomplete = node.arguments.end === node.end; + const spreadArgIndex = getSpreadArgumentIndex(args); + if (spreadArgIndex >= 0) { + return spreadArgIndex >= getMinArgumentCount(signature) && (hasEffectiveRestParameter(signature) || spreadArgIndex < getParameterCount(signature)); + } + } + if (!hasEffectiveRestParameter(signature) && argCount > effectiveParameterCount) { + return false; + } + if (callIsIncomplete || argCount >= effectiveMinimumArguments) { + return true; + } + for (let i = argCount; i < effectiveMinimumArguments; i++) { + const type = getTypeAtPosition(signature, i); + if (filterType(type, isInJSFile(node) && !strictNullChecks ? acceptsVoidUndefinedUnknownOrAny : acceptsVoid).flags & 131072 /* Never */) { + return false; + } + } + return true; + } + function hasCorrectTypeArgumentArity(signature, typeArguments) { + const numTypeParameters = length(signature.typeParameters); + const minTypeArgumentCount = getMinTypeArgumentCount(signature.typeParameters); + return !some(typeArguments) || typeArguments.length >= minTypeArgumentCount && typeArguments.length <= numTypeParameters; + } + function isInstantiatedGenericParameter(signature, pos) { + let type; + return !!(signature.target && (type = tryGetTypeAtPosition(signature.target, pos)) && isGenericType(type)); + } + function getSingleCallSignature(type) { + return getSingleSignature( + type, + 0 /* Call */, + /*allowMembers*/ + false + ); + } + function getSingleCallOrConstructSignature(type) { + return getSingleSignature( + type, + 0 /* Call */, + /*allowMembers*/ + false + ) || getSingleSignature( + type, + 1 /* Construct */, + /*allowMembers*/ + false + ); + } + function getSingleSignature(type, kind, allowMembers) { + if (type.flags & 524288 /* Object */) { + const resolved = resolveStructuredTypeMembers(type); + if (allowMembers || resolved.properties.length === 0 && resolved.indexInfos.length === 0) { + if (kind === 0 /* Call */ && resolved.callSignatures.length === 1 && resolved.constructSignatures.length === 0) { + return resolved.callSignatures[0]; + } + if (kind === 1 /* Construct */ && resolved.constructSignatures.length === 1 && resolved.callSignatures.length === 0) { + return resolved.constructSignatures[0]; + } + } + } + return void 0; + } + function instantiateSignatureInContextOf(signature, contextualSignature, inferenceContext, compareTypes) { + const context = createInferenceContext(getTypeParametersForMapper(signature), signature, 0 /* None */, compareTypes); + const restType = getEffectiveRestType(contextualSignature); + const mapper = inferenceContext && (restType && restType.flags & 262144 /* TypeParameter */ ? inferenceContext.nonFixingMapper : inferenceContext.mapper); + const sourceSignature = mapper ? instantiateSignature(contextualSignature, mapper) : contextualSignature; + applyToParameterTypes(sourceSignature, signature, (source, target) => { + inferTypes(context.inferences, source, target); + }); + if (!inferenceContext) { + applyToReturnTypes(contextualSignature, signature, (source, target) => { + inferTypes(context.inferences, source, target, 128 /* ReturnType */); + }); + } + return getSignatureInstantiation(signature, getInferredTypes(context), isInJSFile(contextualSignature.declaration)); + } + function inferJsxTypeArguments(node, signature, checkMode, context) { + const paramType = getEffectiveFirstArgumentForJsxSignature(signature, node); + const checkAttrType = checkExpressionWithContextualType(node.attributes, paramType, context, checkMode); + inferTypes(context.inferences, checkAttrType, paramType); + return getInferredTypes(context); + } + function getThisArgumentType(thisArgumentNode) { + if (!thisArgumentNode) { + return voidType; + } + const thisArgumentType = checkExpression(thisArgumentNode); + return isRightSideOfInstanceofExpression(thisArgumentNode) ? thisArgumentType : isOptionalChainRoot(thisArgumentNode.parent) ? getNonNullableType(thisArgumentType) : isOptionalChain(thisArgumentNode.parent) ? removeOptionalTypeMarker(thisArgumentType) : thisArgumentType; + } + function inferTypeArguments(node, signature, args, checkMode, context) { + if (isJsxOpeningLikeElement(node)) { + return inferJsxTypeArguments(node, signature, checkMode, context); + } + if (node.kind !== 170 /* Decorator */ && node.kind !== 226 /* BinaryExpression */) { + const skipBindingPatterns = every(signature.typeParameters, (p) => !!getDefaultFromTypeParameter(p)); + const contextualType = getContextualType(node, skipBindingPatterns ? 8 /* SkipBindingPatterns */ : 0 /* None */); + if (contextualType) { + const inferenceTargetType = getReturnTypeOfSignature(signature); + if (couldContainTypeVariables(inferenceTargetType)) { + const outerContext = getInferenceContext(node); + const isFromBindingPattern = !skipBindingPatterns && getContextualType(node, 8 /* SkipBindingPatterns */) !== contextualType; + if (!isFromBindingPattern) { + const outerMapper = getMapperFromContext(cloneInferenceContext(outerContext, 1 /* NoDefault */)); + const instantiatedType = instantiateType(contextualType, outerMapper); + const contextualSignature = getSingleCallSignature(instantiatedType); + const inferenceSourceType = contextualSignature && contextualSignature.typeParameters ? getOrCreateTypeFromSignature(getSignatureInstantiationWithoutFillingInTypeArguments(contextualSignature, contextualSignature.typeParameters)) : instantiatedType; + inferTypes(context.inferences, inferenceSourceType, inferenceTargetType, 128 /* ReturnType */); + } + const returnContext = createInferenceContext(signature.typeParameters, signature, context.flags); + const returnSourceType = instantiateType(contextualType, outerContext && outerContext.returnMapper); + inferTypes(returnContext.inferences, returnSourceType, inferenceTargetType); + context.returnMapper = some(returnContext.inferences, hasInferenceCandidates) ? getMapperFromContext(cloneInferredPartOfContext(returnContext)) : void 0; + } + } + } + const restType = getNonArrayRestType(signature); + const argCount = restType ? Math.min(getParameterCount(signature) - 1, args.length) : args.length; + if (restType && restType.flags & 262144 /* TypeParameter */) { + const info = find(context.inferences, (info2) => info2.typeParameter === restType); + if (info) { + info.impliedArity = findIndex(args, isSpreadArgument, argCount) < 0 ? args.length - argCount : void 0; + } + } + const thisType = getThisTypeOfSignature(signature); + if (thisType && couldContainTypeVariables(thisType)) { + const thisArgumentNode = getThisArgumentOfCall(node); + inferTypes(context.inferences, getThisArgumentType(thisArgumentNode), thisType); + } + for (let i = 0; i < argCount; i++) { + const arg = args[i]; + if (arg.kind !== 232 /* OmittedExpression */) { + const paramType = getTypeAtPosition(signature, i); + if (couldContainTypeVariables(paramType)) { + const argType = checkExpressionWithContextualType(arg, paramType, context, checkMode); + inferTypes(context.inferences, argType, paramType); + } + } + } + if (restType && couldContainTypeVariables(restType)) { + const spreadType = getSpreadArgumentType(args, argCount, args.length, restType, context, checkMode); + inferTypes(context.inferences, spreadType, restType); + } + return getInferredTypes(context); + } + function getMutableArrayOrTupleType(type) { + return type.flags & 1048576 /* Union */ ? mapType(type, getMutableArrayOrTupleType) : type.flags & 1 /* Any */ || isMutableArrayOrTuple(getBaseConstraintOfType(type) || type) ? type : isTupleType(type) ? createTupleType( + getElementTypes(type), + type.target.elementFlags, + /*readonly*/ + false, + type.target.labeledElementDeclarations + ) : createTupleType([type], [8 /* Variadic */]); + } + function getSpreadArgumentType(args, index, argCount, restType, context, checkMode) { + const inConstContext = isConstTypeVariable(restType); + if (index >= argCount - 1) { + const arg = args[argCount - 1]; + if (isSpreadArgument(arg)) { + const spreadType = arg.kind === 237 /* SyntheticExpression */ ? arg.type : checkExpressionWithContextualType(arg.expression, restType, context, checkMode); + if (isArrayLikeType(spreadType)) { + return getMutableArrayOrTupleType(spreadType); + } + return createArrayType(checkIteratedTypeOrElementType(33 /* Spread */, spreadType, undefinedType, arg.kind === 230 /* SpreadElement */ ? arg.expression : arg), inConstContext); + } + } + const types = []; + const flags = []; + const names = []; + for (let i = index; i < argCount; i++) { + const arg = args[i]; + if (isSpreadArgument(arg)) { + const spreadType = arg.kind === 237 /* SyntheticExpression */ ? arg.type : checkExpression(arg.expression); + if (isArrayLikeType(spreadType)) { + types.push(spreadType); + flags.push(8 /* Variadic */); + } else { + types.push(checkIteratedTypeOrElementType(33 /* Spread */, spreadType, undefinedType, arg.kind === 230 /* SpreadElement */ ? arg.expression : arg)); + flags.push(4 /* Rest */); + } + } else { + const contextualType = isTupleType(restType) ? getContextualTypeForElementExpression(restType, i - index, argCount - index) || unknownType : getIndexedAccessType(restType, getNumberLiteralType(i - index), 256 /* Contextual */); + const argType = checkExpressionWithContextualType(arg, contextualType, context, checkMode); + const hasPrimitiveContextualType = inConstContext || maybeTypeOfKind(contextualType, 402784252 /* Primitive */ | 4194304 /* Index */ | 134217728 /* TemplateLiteral */ | 268435456 /* StringMapping */); + types.push(hasPrimitiveContextualType ? getRegularTypeOfLiteralType(argType) : getWidenedLiteralType(argType)); + flags.push(1 /* Required */); + } + if (arg.kind === 237 /* SyntheticExpression */ && arg.tupleNameSource) { + names.push(arg.tupleNameSource); + } else { + names.push(void 0); + } + } + return createTupleType(types, flags, inConstContext && !someType(restType, isMutableArrayLikeType), names); + } + function checkTypeArguments(signature, typeArgumentNodes, reportErrors2, headMessage) { + const isJavascript = isInJSFile(signature.declaration); + const typeParameters = signature.typeParameters; + const typeArgumentTypes = fillMissingTypeArguments(map(typeArgumentNodes, getTypeFromTypeNode), typeParameters, getMinTypeArgumentCount(typeParameters), isJavascript); + let mapper; + for (let i = 0; i < typeArgumentNodes.length; i++) { + Debug.assert(typeParameters[i] !== void 0, "Should not call checkTypeArguments with too many type arguments"); + const constraint = getConstraintOfTypeParameter(typeParameters[i]); + if (constraint) { + const errorInfo = reportErrors2 && headMessage ? () => chainDiagnosticMessages( + /*details*/ + void 0, + Diagnostics.Type_0_does_not_satisfy_the_constraint_1 + ) : void 0; + const typeArgumentHeadMessage = headMessage || Diagnostics.Type_0_does_not_satisfy_the_constraint_1; + if (!mapper) { + mapper = createTypeMapper(typeParameters, typeArgumentTypes); + } + const typeArgument = typeArgumentTypes[i]; + if (!checkTypeAssignableTo( + typeArgument, + getTypeWithThisArgument(instantiateType(constraint, mapper), typeArgument), + reportErrors2 ? typeArgumentNodes[i] : void 0, + typeArgumentHeadMessage, + errorInfo + )) { + return void 0; + } + } + } + return typeArgumentTypes; + } + function getJsxReferenceKind(node) { + if (isJsxIntrinsicTagName(node.tagName)) { + return 2 /* Mixed */; + } + const tagType = getApparentType(checkExpression(node.tagName)); + if (length(getSignaturesOfType(tagType, 1 /* Construct */))) { + return 0 /* Component */; + } + if (length(getSignaturesOfType(tagType, 0 /* Call */))) { + return 1 /* Function */; + } + return 2 /* Mixed */; + } + function checkApplicableSignatureForJsxCallLikeElement(node, signature, relation, checkMode, reportErrors2, containingMessageChain, errorOutputContainer) { + const paramType = getEffectiveFirstArgumentForJsxSignature(signature, node); + const attributesType = isJsxOpeningFragment(node) ? createJsxAttributesTypeFromAttributesProperty(node) : checkExpressionWithContextualType( + node.attributes, + paramType, + /*inferenceContext*/ + void 0, + checkMode + ); + const checkAttributesType = checkMode & 4 /* SkipContextSensitive */ ? getRegularTypeOfObjectLiteral(attributesType) : attributesType; + return checkTagNameDoesNotExpectTooManyArguments() && checkTypeRelatedToAndOptionallyElaborate( + checkAttributesType, + paramType, + relation, + reportErrors2 ? isJsxOpeningFragment(node) ? node : node.tagName : void 0, + isJsxOpeningFragment(node) ? void 0 : node.attributes, + /*headMessage*/ + void 0, + containingMessageChain, + errorOutputContainer + ); + function checkTagNameDoesNotExpectTooManyArguments() { + var _a; + if (getJsxNamespaceContainerForImplicitImport(node)) { + return true; + } + const tagType = (isJsxOpeningElement(node) || isJsxSelfClosingElement(node)) && !(isJsxIntrinsicTagName(node.tagName) || isJsxNamespacedName(node.tagName)) ? checkExpression(node.tagName) : void 0; + if (!tagType) { + return true; + } + const tagCallSignatures = getSignaturesOfType(tagType, 0 /* Call */); + if (!length(tagCallSignatures)) { + return true; + } + const factory2 = getJsxFactoryEntity(node); + if (!factory2) { + return true; + } + const factorySymbol = resolveEntityName( + factory2, + 111551 /* Value */, + /*ignoreErrors*/ + true, + /*dontResolveAlias*/ + false, + node + ); + if (!factorySymbol) { + return true; + } + const factoryType = getTypeOfSymbol(factorySymbol); + const callSignatures = getSignaturesOfType(factoryType, 0 /* Call */); + if (!length(callSignatures)) { + return true; + } + let hasFirstParamSignatures = false; + let maxParamCount = 0; + for (const sig of callSignatures) { + const firstparam = getTypeAtPosition(sig, 0); + const signaturesOfParam = getSignaturesOfType(firstparam, 0 /* Call */); + if (!length(signaturesOfParam)) continue; + for (const paramSig of signaturesOfParam) { + hasFirstParamSignatures = true; + if (hasEffectiveRestParameter(paramSig)) { + return true; + } + const paramCount = getParameterCount(paramSig); + if (paramCount > maxParamCount) { + maxParamCount = paramCount; + } + } + } + if (!hasFirstParamSignatures) { + return true; + } + let absoluteMinArgCount = Infinity; + for (const tagSig of tagCallSignatures) { + const tagRequiredArgCount = getMinArgumentCount(tagSig); + if (tagRequiredArgCount < absoluteMinArgCount) { + absoluteMinArgCount = tagRequiredArgCount; + } + } + if (absoluteMinArgCount <= maxParamCount) { + return true; + } + if (reportErrors2) { + const tagName = node.tagName; + const diag2 = createDiagnosticForNode(tagName, Diagnostics.Tag_0_expects_at_least_1_arguments_but_the_JSX_factory_2_provides_at_most_3, entityNameToString(tagName), absoluteMinArgCount, entityNameToString(factory2), maxParamCount); + const tagNameDeclaration = (_a = getSymbolAtLocation(tagName)) == null ? void 0 : _a.valueDeclaration; + if (tagNameDeclaration) { + addRelatedInfo(diag2, createDiagnosticForNode(tagNameDeclaration, Diagnostics._0_is_declared_here, entityNameToString(tagName))); + } + if (errorOutputContainer && errorOutputContainer.skipLogging) { + (errorOutputContainer.errors || (errorOutputContainer.errors = [])).push(diag2); + } + if (!errorOutputContainer.skipLogging) { + diagnostics.add(diag2); + } + } + return false; + } + } + function getEffectiveCheckNode(argument) { + argument = skipParentheses(argument); + return isSatisfiesExpression(argument) ? skipParentheses(argument.expression) : argument; + } + function getSignatureApplicabilityError(node, args, signature, relation, checkMode, reportErrors2, containingMessageChain, inferenceContext) { + const errorOutputContainer = { errors: void 0, skipLogging: true }; + if (isJsxCallLike(node)) { + if (!checkApplicableSignatureForJsxCallLikeElement(node, signature, relation, checkMode, reportErrors2, containingMessageChain, errorOutputContainer)) { + Debug.assert(!reportErrors2 || !!errorOutputContainer.errors, "jsx should have errors when reporting errors"); + return errorOutputContainer.errors || emptyArray; + } + return void 0; + } + const thisType = getThisTypeOfSignature(signature); + if (thisType && thisType !== voidType && !(isNewExpression(node) || isCallExpression(node) && isSuperProperty(node.expression))) { + const thisArgumentNode = getThisArgumentOfCall(node); + const thisArgumentType = getThisArgumentType(thisArgumentNode); + const errorNode = reportErrors2 ? thisArgumentNode || node : void 0; + const headMessage2 = Diagnostics.The_this_context_of_type_0_is_not_assignable_to_method_s_this_of_type_1; + if (!checkTypeRelatedTo(thisArgumentType, thisType, relation, errorNode, headMessage2, containingMessageChain, errorOutputContainer)) { + Debug.assert(!reportErrors2 || !!errorOutputContainer.errors, "this parameter should have errors when reporting errors"); + return errorOutputContainer.errors || emptyArray; + } + } + const headMessage = Diagnostics.Argument_of_type_0_is_not_assignable_to_parameter_of_type_1; + const restType = getNonArrayRestType(signature); + const argCount = restType ? Math.min(getParameterCount(signature) - 1, args.length) : args.length; + for (let i = 0; i < argCount; i++) { + const arg = args[i]; + if (arg.kind !== 232 /* OmittedExpression */) { + const paramType = getTypeAtPosition(signature, i); + const argType = checkExpressionWithContextualType( + arg, + paramType, + /*inferenceContext*/ + void 0, + checkMode + ); + const regularArgType = checkMode & 4 /* SkipContextSensitive */ ? getRegularTypeOfObjectLiteral(argType) : argType; + const checkArgType = inferenceContext ? instantiateType(regularArgType, inferenceContext.nonFixingMapper) : regularArgType; + const effectiveCheckArgumentNode = getEffectiveCheckNode(arg); + if (!checkTypeRelatedToAndOptionallyElaborate(checkArgType, paramType, relation, reportErrors2 ? effectiveCheckArgumentNode : void 0, effectiveCheckArgumentNode, headMessage, containingMessageChain, errorOutputContainer)) { + Debug.assert(!reportErrors2 || !!errorOutputContainer.errors, "parameter should have errors when reporting errors"); + maybeAddMissingAwaitInfo(arg, checkArgType, paramType); + return errorOutputContainer.errors || emptyArray; + } + } + } + if (restType) { + const spreadType = getSpreadArgumentType( + args, + argCount, + args.length, + restType, + /*context*/ + void 0, + checkMode + ); + const restArgCount = args.length - argCount; + const errorNode = !reportErrors2 ? void 0 : restArgCount === 0 ? node : restArgCount === 1 ? getEffectiveCheckNode(args[argCount]) : setTextRangePosEnd(createSyntheticExpression(node, spreadType), args[argCount].pos, args[args.length - 1].end); + if (!checkTypeRelatedTo( + spreadType, + restType, + relation, + errorNode, + headMessage, + /*containingMessageChain*/ + void 0, + errorOutputContainer + )) { + Debug.assert(!reportErrors2 || !!errorOutputContainer.errors, "rest parameter should have errors when reporting errors"); + maybeAddMissingAwaitInfo(errorNode, spreadType, restType); + return errorOutputContainer.errors || emptyArray; + } + } + return void 0; + function maybeAddMissingAwaitInfo(errorNode, source, target) { + if (errorNode && reportErrors2 && errorOutputContainer.errors && errorOutputContainer.errors.length) { + if (getAwaitedTypeOfPromise(target)) { + return; + } + const awaitedTypeOfSource = getAwaitedTypeOfPromise(source); + if (awaitedTypeOfSource && isTypeRelatedTo(awaitedTypeOfSource, target, relation)) { + addRelatedInfo(errorOutputContainer.errors[0], createDiagnosticForNode(errorNode, Diagnostics.Did_you_forget_to_use_await)); + } + } + } + } + function getThisArgumentOfCall(node) { + if (node.kind === 226 /* BinaryExpression */) { + return node.right; + } + const expression = node.kind === 213 /* CallExpression */ ? node.expression : node.kind === 215 /* TaggedTemplateExpression */ ? node.tag : node.kind === 170 /* Decorator */ && !legacyDecorators ? node.expression : void 0; + if (expression) { + const callee = skipOuterExpressions(expression); + if (isAccessExpression(callee)) { + return callee.expression; + } + } + } + function createSyntheticExpression(parent, type, isSpread, tupleNameSource) { + const result = parseNodeFactory.createSyntheticExpression(type, isSpread, tupleNameSource); + setTextRange(result, parent); + setParent(result, parent); + return result; + } + function getEffectiveCallArguments(node) { + if (isJsxOpeningFragment(node)) { + return [createSyntheticExpression(node, emptyFreshJsxObjectType)]; + } + if (node.kind === 215 /* TaggedTemplateExpression */) { + const template = node.template; + const args2 = [createSyntheticExpression(template, getGlobalTemplateStringsArrayType())]; + if (template.kind === 228 /* TemplateExpression */) { + forEach(template.templateSpans, (span) => { + args2.push(span.expression); + }); + } + return args2; + } + if (node.kind === 170 /* Decorator */) { + return getEffectiveDecoratorArguments(node); + } + if (node.kind === 226 /* BinaryExpression */) { + return [node.left]; + } + if (isJsxOpeningLikeElement(node)) { + return node.attributes.properties.length > 0 || isJsxOpeningElement(node) && node.parent.children.length > 0 ? [node.attributes] : emptyArray; + } + const args = node.arguments || emptyArray; + const spreadIndex = getSpreadArgumentIndex(args); + if (spreadIndex >= 0) { + const effectiveArgs = args.slice(0, spreadIndex); + for (let i = spreadIndex; i < args.length; i++) { + const arg = args[i]; + const spreadType = arg.kind === 230 /* SpreadElement */ && (flowLoopCount ? checkExpression(arg.expression) : checkExpressionCached(arg.expression)); + if (spreadType && isTupleType(spreadType)) { + forEach(getElementTypes(spreadType), (t, i2) => { + var _a; + const flags = spreadType.target.elementFlags[i2]; + const syntheticArg = createSyntheticExpression(arg, flags & 4 /* Rest */ ? createArrayType(t) : t, !!(flags & 12 /* Variable */), (_a = spreadType.target.labeledElementDeclarations) == null ? void 0 : _a[i2]); + effectiveArgs.push(syntheticArg); + }); + } else { + effectiveArgs.push(arg); + } + } + return effectiveArgs; + } + return args; + } + function getEffectiveDecoratorArguments(node) { + const expr = node.expression; + const signature = getDecoratorCallSignature(node); + if (signature) { + const args = []; + for (const param of signature.parameters) { + const type = getTypeOfSymbol(param); + args.push(createSyntheticExpression(expr, type)); + } + return args; + } + return Debug.fail(); + } + function getDecoratorArgumentCount(node, signature) { + return compilerOptions.experimentalDecorators ? getLegacyDecoratorArgumentCount(node, signature) : ( + // Allow the runtime to oversupply arguments to an ES decorator as long as there's at least one parameter. + Math.min(Math.max(getParameterCount(signature), 1), 2) + ); + } + function getLegacyDecoratorArgumentCount(node, signature) { + switch (node.parent.kind) { + case 263 /* ClassDeclaration */: + case 231 /* ClassExpression */: + return 1; + case 172 /* PropertyDeclaration */: + return hasAccessorModifier(node.parent) ? 3 : 2; + case 174 /* MethodDeclaration */: + case 177 /* GetAccessor */: + case 178 /* SetAccessor */: + return signature.parameters.length <= 2 ? 2 : 3; + case 169 /* Parameter */: + return 3; + default: + return Debug.fail(); + } + } + function getDiagnosticSpanForCallNode(node) { + const sourceFile = getSourceFileOfNode(node); + const { start, length: length2 } = getErrorSpanForNode(sourceFile, isPropertyAccessExpression(node.expression) ? node.expression.name : node.expression); + return { start, length: length2, sourceFile }; + } + function getDiagnosticForCallNode(node, message, ...args) { + if (isCallExpression(node)) { + const { sourceFile, start, length: length2 } = getDiagnosticSpanForCallNode(node); + if ("message" in message) { + return createFileDiagnostic(sourceFile, start, length2, message, ...args); + } + return createDiagnosticForFileFromMessageChain(sourceFile, message); + } else { + if ("message" in message) { + return createDiagnosticForNode(node, message, ...args); + } + return createDiagnosticForNodeFromMessageChain(getSourceFileOfNode(node), node, message); + } + } + function getErrorNodeForCallNode(callLike) { + if (isCallOrNewExpression(callLike)) { + return isPropertyAccessExpression(callLike.expression) ? callLike.expression.name : callLike.expression; + } + if (isTaggedTemplateExpression(callLike)) { + return isPropertyAccessExpression(callLike.tag) ? callLike.tag.name : callLike.tag; + } + if (isJsxOpeningLikeElement(callLike)) { + return callLike.tagName; + } + return callLike; + } + function isPromiseResolveArityError(node) { + if (!isCallExpression(node) || !isIdentifier(node.expression)) return false; + const symbol = resolveName( + node.expression, + node.expression.escapedText, + 111551 /* Value */, + /*nameNotFoundMessage*/ + void 0, + /*isUse*/ + false + ); + const decl = symbol == null ? void 0 : symbol.valueDeclaration; + if (!decl || !isParameter(decl) || !isFunctionExpressionOrArrowFunction(decl.parent) || !isNewExpression(decl.parent.parent) || !isIdentifier(decl.parent.parent.expression)) { + return false; + } + const globalPromiseSymbol = getGlobalPromiseConstructorSymbol( + /*reportErrors*/ + false + ); + if (!globalPromiseSymbol) return false; + const constructorSymbol = getSymbolAtLocation( + decl.parent.parent.expression, + /*ignoreErrors*/ + true + ); + return constructorSymbol === globalPromiseSymbol; + } + function getArgumentArityError(node, signatures, args, headMessage) { + var _a; + const spreadIndex = getSpreadArgumentIndex(args); + if (spreadIndex > -1) { + return createDiagnosticForNode(args[spreadIndex], Diagnostics.A_spread_argument_must_either_have_a_tuple_type_or_be_passed_to_a_rest_parameter); + } + let min2 = Number.POSITIVE_INFINITY; + let max = Number.NEGATIVE_INFINITY; + let maxBelow = Number.NEGATIVE_INFINITY; + let minAbove = Number.POSITIVE_INFINITY; + let closestSignature; + for (const sig of signatures) { + const minParameter = getMinArgumentCount(sig); + const maxParameter = getParameterCount(sig); + if (minParameter < min2) { + min2 = minParameter; + closestSignature = sig; + } + max = Math.max(max, maxParameter); + if (minParameter < args.length && minParameter > maxBelow) maxBelow = minParameter; + if (args.length < maxParameter && maxParameter < minAbove) minAbove = maxParameter; + } + const hasRestParameter2 = some(signatures, hasEffectiveRestParameter); + const parameterRange = hasRestParameter2 ? min2 : min2 < max ? min2 + "-" + max : min2; + const isVoidPromiseError = !hasRestParameter2 && parameterRange === 1 && args.length === 0 && isPromiseResolveArityError(node); + if (isVoidPromiseError && isInJSFile(node)) { + return getDiagnosticForCallNode(node, Diagnostics.Expected_1_argument_but_got_0_new_Promise_needs_a_JSDoc_hint_to_produce_a_resolve_that_can_be_called_without_arguments); + } + const error2 = isDecorator(node) ? hasRestParameter2 ? Diagnostics.The_runtime_will_invoke_the_decorator_with_1_arguments_but_the_decorator_expects_at_least_0 : Diagnostics.The_runtime_will_invoke_the_decorator_with_1_arguments_but_the_decorator_expects_0 : hasRestParameter2 ? Diagnostics.Expected_at_least_0_arguments_but_got_1 : isVoidPromiseError ? Diagnostics.Expected_0_arguments_but_got_1_Did_you_forget_to_include_void_in_your_type_argument_to_Promise : Diagnostics.Expected_0_arguments_but_got_1; + if (min2 < args.length && args.length < max) { + if (headMessage) { + let chain = chainDiagnosticMessages( + /*details*/ + void 0, + Diagnostics.No_overload_expects_0_arguments_but_overloads_do_exist_that_expect_either_1_or_2_arguments, + args.length, + maxBelow, + minAbove + ); + chain = chainDiagnosticMessages(chain, headMessage); + return getDiagnosticForCallNode(node, chain); + } + return getDiagnosticForCallNode(node, Diagnostics.No_overload_expects_0_arguments_but_overloads_do_exist_that_expect_either_1_or_2_arguments, args.length, maxBelow, minAbove); + } else if (args.length < min2) { + let diagnostic; + if (headMessage) { + let chain = chainDiagnosticMessages( + /*details*/ + void 0, + error2, + parameterRange, + args.length + ); + chain = chainDiagnosticMessages(chain, headMessage); + diagnostic = getDiagnosticForCallNode(node, chain); + } else { + diagnostic = getDiagnosticForCallNode(node, error2, parameterRange, args.length); + } + const parameter = (_a = closestSignature == null ? void 0 : closestSignature.declaration) == null ? void 0 : _a.parameters[closestSignature.thisParameter ? args.length + 1 : args.length]; + if (parameter) { + const messageAndArgs = isBindingPattern(parameter.name) ? [Diagnostics.An_argument_matching_this_binding_pattern_was_not_provided] : isRestParameter(parameter) ? [Diagnostics.Arguments_for_the_rest_parameter_0_were_not_provided, idText(getFirstIdentifier(parameter.name))] : [Diagnostics.An_argument_for_0_was_not_provided, !parameter.name ? args.length : idText(getFirstIdentifier(parameter.name))]; + const parameterError = createDiagnosticForNode(parameter, ...messageAndArgs); + return addRelatedInfo(diagnostic, parameterError); + } + return diagnostic; + } else { + const errorSpan = factory.createNodeArray(args.slice(max)); + const pos = first(errorSpan).pos; + let end = last(errorSpan).end; + if (end === pos) { + end++; + } + setTextRangePosEnd(errorSpan, pos, end); + if (headMessage) { + let chain = chainDiagnosticMessages( + /*details*/ + void 0, + error2, + parameterRange, + args.length + ); + chain = chainDiagnosticMessages(chain, headMessage); + return createDiagnosticForNodeArrayFromMessageChain(getSourceFileOfNode(node), errorSpan, chain); + } + return createDiagnosticForNodeArray(getSourceFileOfNode(node), errorSpan, error2, parameterRange, args.length); + } + } + function getTypeArgumentArityError(node, signatures, typeArguments, headMessage) { + const argCount = typeArguments.length; + if (signatures.length === 1) { + const sig = signatures[0]; + const min2 = getMinTypeArgumentCount(sig.typeParameters); + const max = length(sig.typeParameters); + if (headMessage) { + let chain = chainDiagnosticMessages( + /*details*/ + void 0, + Diagnostics.Expected_0_type_arguments_but_got_1, + min2 < max ? min2 + "-" + max : min2, + argCount + ); + chain = chainDiagnosticMessages(chain, headMessage); + return createDiagnosticForNodeArrayFromMessageChain(getSourceFileOfNode(node), typeArguments, chain); + } + return createDiagnosticForNodeArray(getSourceFileOfNode(node), typeArguments, Diagnostics.Expected_0_type_arguments_but_got_1, min2 < max ? min2 + "-" + max : min2, argCount); + } + let belowArgCount = -Infinity; + let aboveArgCount = Infinity; + for (const sig of signatures) { + const min2 = getMinTypeArgumentCount(sig.typeParameters); + const max = length(sig.typeParameters); + if (min2 > argCount) { + aboveArgCount = Math.min(aboveArgCount, min2); + } else if (max < argCount) { + belowArgCount = Math.max(belowArgCount, max); + } + } + if (belowArgCount !== -Infinity && aboveArgCount !== Infinity) { + if (headMessage) { + let chain = chainDiagnosticMessages( + /*details*/ + void 0, + Diagnostics.No_overload_expects_0_type_arguments_but_overloads_do_exist_that_expect_either_1_or_2_type_arguments, + argCount, + belowArgCount, + aboveArgCount + ); + chain = chainDiagnosticMessages(chain, headMessage); + return createDiagnosticForNodeArrayFromMessageChain(getSourceFileOfNode(node), typeArguments, chain); + } + return createDiagnosticForNodeArray(getSourceFileOfNode(node), typeArguments, Diagnostics.No_overload_expects_0_type_arguments_but_overloads_do_exist_that_expect_either_1_or_2_type_arguments, argCount, belowArgCount, aboveArgCount); + } + if (headMessage) { + let chain = chainDiagnosticMessages( + /*details*/ + void 0, + Diagnostics.Expected_0_type_arguments_but_got_1, + belowArgCount === -Infinity ? aboveArgCount : belowArgCount, + argCount + ); + chain = chainDiagnosticMessages(chain, headMessage); + return createDiagnosticForNodeArrayFromMessageChain(getSourceFileOfNode(node), typeArguments, chain); + } + return createDiagnosticForNodeArray(getSourceFileOfNode(node), typeArguments, Diagnostics.Expected_0_type_arguments_but_got_1, belowArgCount === -Infinity ? aboveArgCount : belowArgCount, argCount); + } + function resolveCall(node, signatures, candidatesOutArray, checkMode, callChainFlags, headMessage) { + const isTaggedTemplate = node.kind === 215 /* TaggedTemplateExpression */; + const isDecorator2 = node.kind === 170 /* Decorator */; + const isJsxOpeningOrSelfClosingElement = isJsxOpeningLikeElement(node); + const isJsxOpenFragment = isJsxOpeningFragment(node); + const isInstanceof = node.kind === 226 /* BinaryExpression */; + const reportErrors2 = !isInferencePartiallyBlocked && !candidatesOutArray; + let candidatesForArgumentError; + let candidateForArgumentArityError; + let candidateForTypeArgumentError; + let result; + let argCheckMode = 0 /* Normal */; + let candidates = []; + let typeArguments; + if (!isDecorator2 && !isInstanceof && !isSuperCall(node) && !isJsxOpenFragment) { + typeArguments = node.typeArguments; + if (isTaggedTemplate || isJsxOpeningOrSelfClosingElement || node.expression.kind !== 108 /* SuperKeyword */) { + forEach(typeArguments, checkSourceElement); + } + } + candidates = candidatesOutArray || []; + reorderCandidates(signatures, candidates, callChainFlags); + if (!isJsxOpenFragment) { + Debug.assert(candidates.length, "Revert #54442 and add a testcase with whatever triggered this"); + } + const args = getEffectiveCallArguments(node); + const isSingleNonGenericCandidate = candidates.length === 1 && !candidates[0].typeParameters; + if (!isDecorator2 && !isSingleNonGenericCandidate && some(args, isContextSensitive)) { + argCheckMode = 4 /* SkipContextSensitive */; + } + const signatureHelpTrailingComma = !!(checkMode & 16 /* IsForSignatureHelp */) && node.kind === 213 /* CallExpression */ && node.arguments.hasTrailingComma; + if (candidates.length > 1) { + result = chooseOverload(candidates, subtypeRelation, isSingleNonGenericCandidate, signatureHelpTrailingComma); + } + if (!result) { + result = chooseOverload(candidates, assignableRelation, isSingleNonGenericCandidate, signatureHelpTrailingComma); + } + if (result) { + return result; + } + result = getCandidateForOverloadFailure(node, candidates, args, !!candidatesOutArray, checkMode); + getNodeLinks(node).resolvedSignature = result; + if (reportErrors2) { + if (!headMessage && isInstanceof) { + headMessage = Diagnostics.The_left_hand_side_of_an_instanceof_expression_must_be_assignable_to_the_first_argument_of_the_right_hand_side_s_Symbol_hasInstance_method; + } + if (candidatesForArgumentError) { + if (candidatesForArgumentError.length === 1 || candidatesForArgumentError.length > 3) { + const last2 = candidatesForArgumentError[candidatesForArgumentError.length - 1]; + let chain; + if (candidatesForArgumentError.length > 3) { + chain = chainDiagnosticMessages(chain, Diagnostics.The_last_overload_gave_the_following_error); + chain = chainDiagnosticMessages(chain, Diagnostics.No_overload_matches_this_call); + } + if (headMessage) { + chain = chainDiagnosticMessages(chain, headMessage); + } + const diags = getSignatureApplicabilityError( + node, + args, + last2, + assignableRelation, + 0 /* Normal */, + /*reportErrors*/ + true, + () => chain, + /*inferenceContext*/ + void 0 + ); + if (diags) { + for (const d of diags) { + if (last2.declaration && candidatesForArgumentError.length > 3) { + addRelatedInfo(d, createDiagnosticForNode(last2.declaration, Diagnostics.The_last_overload_is_declared_here)); + } + addImplementationSuccessElaboration(last2, d); + diagnostics.add(d); + } + } else { + Debug.fail("No error for last overload signature"); + } + } else { + const allDiagnostics = []; + let max = 0; + let min2 = Number.MAX_VALUE; + let minIndex = 0; + let i = 0; + for (const c of candidatesForArgumentError) { + const chain2 = () => chainDiagnosticMessages( + /*details*/ + void 0, + Diagnostics.Overload_0_of_1_2_gave_the_following_error, + i + 1, + candidates.length, + signatureToString(c) + ); + const diags2 = getSignatureApplicabilityError( + node, + args, + c, + assignableRelation, + 0 /* Normal */, + /*reportErrors*/ + true, + chain2, + /*inferenceContext*/ + void 0 + ); + if (diags2) { + if (diags2.length <= min2) { + min2 = diags2.length; + minIndex = i; + } + max = Math.max(max, diags2.length); + allDiagnostics.push(diags2); + } else { + Debug.fail("No error for 3 or fewer overload signatures"); + } + i++; + } + const diags = max > 1 ? allDiagnostics[minIndex] : flatten(allDiagnostics); + Debug.assert(diags.length > 0, "No errors reported for 3 or fewer overload signatures"); + let chain = chainDiagnosticMessages( + map(diags, createDiagnosticMessageChainFromDiagnostic), + Diagnostics.No_overload_matches_this_call + ); + if (headMessage) { + chain = chainDiagnosticMessages(chain, headMessage); + } + const related = [...flatMap(diags, (d) => d.relatedInformation)]; + let diag2; + if (every(diags, (d) => d.start === diags[0].start && d.length === diags[0].length && d.file === diags[0].file)) { + const { file, start, length: length2 } = diags[0]; + diag2 = { file, start, length: length2, code: chain.code, category: chain.category, messageText: chain, relatedInformation: related }; + } else { + diag2 = createDiagnosticForNodeFromMessageChain(getSourceFileOfNode(node), getErrorNodeForCallNode(node), chain, related); + } + addImplementationSuccessElaboration(candidatesForArgumentError[0], diag2); + diagnostics.add(diag2); + } + } else if (candidateForArgumentArityError) { + diagnostics.add(getArgumentArityError(node, [candidateForArgumentArityError], args, headMessage)); + } else if (candidateForTypeArgumentError) { + checkTypeArguments( + candidateForTypeArgumentError, + node.typeArguments, + /*reportErrors*/ + true, + headMessage + ); + } else if (!isJsxOpenFragment) { + const signaturesWithCorrectTypeArgumentArity = filter(signatures, (s) => hasCorrectTypeArgumentArity(s, typeArguments)); + if (signaturesWithCorrectTypeArgumentArity.length === 0) { + diagnostics.add(getTypeArgumentArityError(node, signatures, typeArguments, headMessage)); + } else { + diagnostics.add(getArgumentArityError(node, signaturesWithCorrectTypeArgumentArity, args, headMessage)); + } + } + } + return result; + function addImplementationSuccessElaboration(failed2, diagnostic) { + var _a, _b; + const oldCandidatesForArgumentError = candidatesForArgumentError; + const oldCandidateForArgumentArityError = candidateForArgumentArityError; + const oldCandidateForTypeArgumentError = candidateForTypeArgumentError; + const failedSignatureDeclarations = ((_b = (_a = failed2.declaration) == null ? void 0 : _a.symbol) == null ? void 0 : _b.declarations) || emptyArray; + const isOverload = failedSignatureDeclarations.length > 1; + const implDecl = isOverload ? find(failedSignatureDeclarations, (d) => isFunctionLikeDeclaration(d) && nodeIsPresent(d.body)) : void 0; + if (implDecl) { + const candidate = getSignatureFromDeclaration(implDecl); + const isSingleNonGenericCandidate2 = !candidate.typeParameters; + if (chooseOverload([candidate], assignableRelation, isSingleNonGenericCandidate2)) { + addRelatedInfo(diagnostic, createDiagnosticForNode(implDecl, Diagnostics.The_call_would_have_succeeded_against_this_implementation_but_implementation_signatures_of_overloads_are_not_externally_visible)); + } + } + candidatesForArgumentError = oldCandidatesForArgumentError; + candidateForArgumentArityError = oldCandidateForArgumentArityError; + candidateForTypeArgumentError = oldCandidateForTypeArgumentError; + } + function chooseOverload(candidates2, relation, isSingleNonGenericCandidate2, signatureHelpTrailingComma2 = false) { + var _a, _b; + candidatesForArgumentError = void 0; + candidateForArgumentArityError = void 0; + candidateForTypeArgumentError = void 0; + if (isSingleNonGenericCandidate2) { + const candidate = candidates2[0]; + if (some(typeArguments) || !hasCorrectArity(node, args, candidate, signatureHelpTrailingComma2)) { + return void 0; + } + if (getSignatureApplicabilityError( + node, + args, + candidate, + relation, + 0 /* Normal */, + /*reportErrors*/ + false, + /*containingMessageChain*/ + void 0, + /*inferenceContext*/ + void 0 + )) { + candidatesForArgumentError = [candidate]; + return void 0; + } + return candidate; + } + for (let candidateIndex = 0; candidateIndex < candidates2.length; candidateIndex++) { + let candidate = candidates2[candidateIndex]; + if (!hasCorrectTypeArgumentArity(candidate, typeArguments) || !hasCorrectArity(node, args, candidate, signatureHelpTrailingComma2)) { + continue; + } + let checkCandidate; + let inferenceContext; + if (candidate.typeParameters) { + const paramLocation = (_b = (_a = candidate.typeParameters[0].symbol.declarations) == null ? void 0 : _a[0]) == null ? void 0 : _b.parent; + const candidateParameterContext = paramLocation || (candidate.declaration && isConstructorDeclaration(candidate.declaration) ? candidate.declaration.parent : candidate.declaration); + if (candidateParameterContext && findAncestor(node, (a) => a === candidateParameterContext)) { + candidate = getImplementationSignature(candidate); + } + let typeArgumentTypes; + if (some(typeArguments)) { + typeArgumentTypes = checkTypeArguments( + candidate, + typeArguments, + /*reportErrors*/ + false + ); + if (!typeArgumentTypes) { + candidateForTypeArgumentError = candidate; + continue; + } + } else { + inferenceContext = createInferenceContext( + candidate.typeParameters, + candidate, + /*flags*/ + isInJSFile(node) ? 2 /* AnyDefault */ : 0 /* None */ + ); + typeArgumentTypes = instantiateTypes(inferTypeArguments(node, candidate, args, argCheckMode | 8 /* SkipGenericFunctions */, inferenceContext), inferenceContext.nonFixingMapper); + argCheckMode |= inferenceContext.flags & 4 /* SkippedGenericFunction */ ? 8 /* SkipGenericFunctions */ : 0 /* Normal */; + } + checkCandidate = getSignatureInstantiation(candidate, typeArgumentTypes, isInJSFile(candidate.declaration), inferenceContext && inferenceContext.inferredTypeParameters); + if (getNonArrayRestType(candidate) && !hasCorrectArity(node, args, checkCandidate, signatureHelpTrailingComma2)) { + candidateForArgumentArityError = checkCandidate; + continue; + } + } else { + checkCandidate = candidate; + } + if (getSignatureApplicabilityError( + node, + args, + checkCandidate, + relation, + argCheckMode, + /*reportErrors*/ + false, + /*containingMessageChain*/ + void 0, + inferenceContext + )) { + (candidatesForArgumentError || (candidatesForArgumentError = [])).push(checkCandidate); + continue; + } + if (argCheckMode) { + argCheckMode = 0 /* Normal */; + if (inferenceContext) { + const typeArgumentTypes = instantiateTypes(inferTypeArguments(node, candidate, args, argCheckMode, inferenceContext), inferenceContext.mapper); + checkCandidate = getSignatureInstantiation(candidate, typeArgumentTypes, isInJSFile(candidate.declaration), inferenceContext.inferredTypeParameters); + if (getNonArrayRestType(candidate) && !hasCorrectArity(node, args, checkCandidate, signatureHelpTrailingComma2)) { + candidateForArgumentArityError = checkCandidate; + continue; + } + } + if (getSignatureApplicabilityError( + node, + args, + checkCandidate, + relation, + argCheckMode, + /*reportErrors*/ + false, + /*containingMessageChain*/ + void 0, + inferenceContext + )) { + (candidatesForArgumentError || (candidatesForArgumentError = [])).push(checkCandidate); + continue; + } + } + candidates2[candidateIndex] = checkCandidate; + return checkCandidate; + } + return void 0; + } + } + function getCandidateForOverloadFailure(node, candidates, args, hasCandidatesOutArray, checkMode) { + Debug.assert(candidates.length > 0); + checkNodeDeferred(node); + return hasCandidatesOutArray || candidates.length === 1 || candidates.some((c) => !!c.typeParameters) ? pickLongestCandidateSignature(node, candidates, args, checkMode) : createUnionOfSignaturesForOverloadFailure(candidates); + } + function createUnionOfSignaturesForOverloadFailure(candidates) { + const thisParameters = mapDefined(candidates, (c) => c.thisParameter); + let thisParameter; + if (thisParameters.length) { + thisParameter = createCombinedSymbolFromTypes(thisParameters, thisParameters.map(getTypeOfParameter)); + } + const { min: minArgumentCount, max: maxNonRestParam } = minAndMax(candidates, getNumNonRestParameters); + const parameters = []; + for (let i = 0; i < maxNonRestParam; i++) { + const symbols = mapDefined(candidates, (s) => signatureHasRestParameter(s) ? i < s.parameters.length - 1 ? s.parameters[i] : last(s.parameters) : i < s.parameters.length ? s.parameters[i] : void 0); + Debug.assert(symbols.length !== 0); + parameters.push(createCombinedSymbolFromTypes(symbols, mapDefined(candidates, (candidate) => tryGetTypeAtPosition(candidate, i)))); + } + const restParameterSymbols = mapDefined(candidates, (c) => signatureHasRestParameter(c) ? last(c.parameters) : void 0); + let flags = 128 /* IsSignatureCandidateForOverloadFailure */; + if (restParameterSymbols.length !== 0) { + const type = createArrayType(getUnionType(mapDefined(candidates, tryGetRestTypeOfSignature), 2 /* Subtype */)); + parameters.push(createCombinedSymbolForOverloadFailure(restParameterSymbols, type)); + flags |= 1 /* HasRestParameter */; + } + if (candidates.some(signatureHasLiteralTypes)) { + flags |= 2 /* HasLiteralTypes */; + } + return createSignature( + candidates[0].declaration, + /*typeParameters*/ + void 0, + // Before calling this we tested for `!candidates.some(c => !!c.typeParameters)`. + thisParameter, + parameters, + /*resolvedReturnType*/ + getIntersectionType(candidates.map(getReturnTypeOfSignature)), + /*resolvedTypePredicate*/ + void 0, + minArgumentCount, + flags + ); + } + function getNumNonRestParameters(signature) { + const numParams = signature.parameters.length; + return signatureHasRestParameter(signature) ? numParams - 1 : numParams; + } + function createCombinedSymbolFromTypes(sources, types) { + return createCombinedSymbolForOverloadFailure(sources, getUnionType(types, 2 /* Subtype */)); + } + function createCombinedSymbolForOverloadFailure(sources, type) { + return createSymbolWithType(first(sources), type); + } + function pickLongestCandidateSignature(node, candidates, args, checkMode) { + const bestIndex = getLongestCandidateIndex(candidates, apparentArgumentCount === void 0 ? args.length : apparentArgumentCount); + const candidate = candidates[bestIndex]; + const { typeParameters } = candidate; + if (!typeParameters) { + return candidate; + } + const typeArgumentNodes = callLikeExpressionMayHaveTypeArguments(node) ? node.typeArguments : void 0; + const instantiated = typeArgumentNodes ? createSignatureInstantiation(candidate, getTypeArgumentsFromNodes(typeArgumentNodes, typeParameters, isInJSFile(node))) : inferSignatureInstantiationForOverloadFailure(node, typeParameters, candidate, args, checkMode); + candidates[bestIndex] = instantiated; + return instantiated; + } + function getTypeArgumentsFromNodes(typeArgumentNodes, typeParameters, isJs) { + const typeArguments = typeArgumentNodes.map(getTypeOfNode); + while (typeArguments.length > typeParameters.length) { + typeArguments.pop(); + } + while (typeArguments.length < typeParameters.length) { + typeArguments.push(getDefaultFromTypeParameter(typeParameters[typeArguments.length]) || getConstraintOfTypeParameter(typeParameters[typeArguments.length]) || getDefaultTypeArgumentType(isJs)); + } + return typeArguments; + } + function inferSignatureInstantiationForOverloadFailure(node, typeParameters, candidate, args, checkMode) { + const inferenceContext = createInferenceContext( + typeParameters, + candidate, + /*flags*/ + isInJSFile(node) ? 2 /* AnyDefault */ : 0 /* None */ + ); + const typeArgumentTypes = inferTypeArguments(node, candidate, args, checkMode | 4 /* SkipContextSensitive */ | 8 /* SkipGenericFunctions */, inferenceContext); + return createSignatureInstantiation(candidate, typeArgumentTypes); + } + function getLongestCandidateIndex(candidates, argsCount) { + let maxParamsIndex = -1; + let maxParams = -1; + for (let i = 0; i < candidates.length; i++) { + const candidate = candidates[i]; + const paramCount = getParameterCount(candidate); + if (hasEffectiveRestParameter(candidate) || paramCount >= argsCount) { + return i; + } + if (paramCount > maxParams) { + maxParams = paramCount; + maxParamsIndex = i; + } + } + return maxParamsIndex; + } + function resolveCallExpression(node, candidatesOutArray, checkMode) { + if (node.expression.kind === 108 /* SuperKeyword */) { + const superType = checkSuperExpression(node.expression); + if (isTypeAny(superType)) { + for (const arg of node.arguments) { + checkExpression(arg); + } + return anySignature; + } + if (!isErrorType(superType)) { + const baseTypeNode = getEffectiveBaseTypeNode(getContainingClass(node)); + if (baseTypeNode) { + const baseConstructors = getInstantiatedConstructorsForTypeArguments(superType, baseTypeNode.typeArguments, baseTypeNode); + return resolveCall(node, baseConstructors, candidatesOutArray, checkMode, 0 /* None */); + } + } + return resolveUntypedCall(node); + } + let callChainFlags; + let funcType = checkExpression(node.expression); + if (isCallChain(node)) { + const nonOptionalType = getOptionalExpressionType(funcType, node.expression); + callChainFlags = nonOptionalType === funcType ? 0 /* None */ : isOutermostOptionalChain(node) ? 16 /* IsOuterCallChain */ : 8 /* IsInnerCallChain */; + funcType = nonOptionalType; + } else { + callChainFlags = 0 /* None */; + } + funcType = checkNonNullTypeWithReporter( + funcType, + node.expression, + reportCannotInvokePossiblyNullOrUndefinedError + ); + if (funcType === silentNeverType) { + return silentNeverSignature; + } + const apparentType = getApparentType(funcType); + if (isErrorType(apparentType)) { + return resolveErrorCall(node); + } + const callSignatures = getSignaturesOfType(apparentType, 0 /* Call */); + const numConstructSignatures = getSignaturesOfType(apparentType, 1 /* Construct */).length; + if (isUntypedFunctionCall(funcType, apparentType, callSignatures.length, numConstructSignatures)) { + if (!isErrorType(funcType) && node.typeArguments) { + error(node, Diagnostics.Untyped_function_calls_may_not_accept_type_arguments); + } + return resolveUntypedCall(node); + } + if (!callSignatures.length) { + if (numConstructSignatures) { + error(node, Diagnostics.Value_of_type_0_is_not_callable_Did_you_mean_to_include_new, typeToString(funcType)); + } else { + let relatedInformation; + if (node.arguments.length === 1) { + const text = getSourceFileOfNode(node).text; + if (isLineBreak(text.charCodeAt(skipTrivia( + text, + node.expression.end, + /*stopAfterLineBreak*/ + true + ) - 1))) { + relatedInformation = createDiagnosticForNode(node.expression, Diagnostics.Are_you_missing_a_semicolon); + } + } + invocationError(node.expression, apparentType, 0 /* Call */, relatedInformation); + } + return resolveErrorCall(node); + } + if (checkMode & 8 /* SkipGenericFunctions */ && !node.typeArguments && callSignatures.some(isGenericFunctionReturningFunction)) { + skippedGenericFunction(node, checkMode); + return resolvingSignature; + } + if (callSignatures.some((sig) => isInJSFile(sig.declaration) && !!getJSDocClassTag(sig.declaration))) { + error(node, Diagnostics.Value_of_type_0_is_not_callable_Did_you_mean_to_include_new, typeToString(funcType)); + return resolveErrorCall(node); + } + return resolveCall(node, callSignatures, candidatesOutArray, checkMode, callChainFlags); + } + function isGenericFunctionReturningFunction(signature) { + return !!(signature.typeParameters && isFunctionType(getReturnTypeOfSignature(signature))); + } + function isUntypedFunctionCall(funcType, apparentFuncType, numCallSignatures, numConstructSignatures) { + return isTypeAny(funcType) || isTypeAny(apparentFuncType) && !!(funcType.flags & 262144 /* TypeParameter */) || !numCallSignatures && !numConstructSignatures && !(apparentFuncType.flags & 1048576 /* Union */) && !(getReducedType(apparentFuncType).flags & 131072 /* Never */) && isTypeAssignableTo(funcType, globalFunctionType); + } + function resolveNewExpression(node, candidatesOutArray, checkMode) { + let expressionType = checkNonNullExpression(node.expression); + if (expressionType === silentNeverType) { + return silentNeverSignature; + } + expressionType = getApparentType(expressionType); + if (isErrorType(expressionType)) { + return resolveErrorCall(node); + } + if (isTypeAny(expressionType)) { + if (node.typeArguments) { + error(node, Diagnostics.Untyped_function_calls_may_not_accept_type_arguments); + } + return resolveUntypedCall(node); + } + const constructSignatures = getSignaturesOfType(expressionType, 1 /* Construct */); + if (constructSignatures.length) { + if (!isConstructorAccessible(node, constructSignatures[0])) { + return resolveErrorCall(node); + } + if (someSignature(constructSignatures, (signature) => !!(signature.flags & 4 /* Abstract */))) { + error(node, Diagnostics.Cannot_create_an_instance_of_an_abstract_class); + return resolveErrorCall(node); + } + const valueDecl = expressionType.symbol && getClassLikeDeclarationOfSymbol(expressionType.symbol); + if (valueDecl && hasSyntacticModifier(valueDecl, 64 /* Abstract */)) { + error(node, Diagnostics.Cannot_create_an_instance_of_an_abstract_class); + return resolveErrorCall(node); + } + return resolveCall(node, constructSignatures, candidatesOutArray, checkMode, 0 /* None */); + } + const callSignatures = getSignaturesOfType(expressionType, 0 /* Call */); + if (callSignatures.length) { + const signature = resolveCall(node, callSignatures, candidatesOutArray, checkMode, 0 /* None */); + if (!noImplicitAny) { + if (signature.declaration && !isJSConstructor(signature.declaration) && getReturnTypeOfSignature(signature) !== voidType) { + error(node, Diagnostics.Only_a_void_function_can_be_called_with_the_new_keyword); + } + if (getThisTypeOfSignature(signature) === voidType) { + error(node, Diagnostics.A_function_that_is_called_with_the_new_keyword_cannot_have_a_this_type_that_is_void); + } + } + return signature; + } + invocationError(node.expression, expressionType, 1 /* Construct */); + return resolveErrorCall(node); + } + function someSignature(signatures, f) { + if (isArray(signatures)) { + return some(signatures, (signature) => someSignature(signature, f)); + } + return signatures.compositeKind === 1048576 /* Union */ ? some(signatures.compositeSignatures, f) : f(signatures); + } + function typeHasProtectedAccessibleBase(target, type) { + const baseTypes = getBaseTypes(type); + if (!length(baseTypes)) { + return false; + } + const firstBase = baseTypes[0]; + if (firstBase.flags & 2097152 /* Intersection */) { + const types = firstBase.types; + const mixinFlags = findMixins(types); + let i = 0; + for (const intersectionMember of firstBase.types) { + if (!mixinFlags[i]) { + if (getObjectFlags(intersectionMember) & (1 /* Class */ | 2 /* Interface */)) { + if (intersectionMember.symbol === target) { + return true; + } + if (typeHasProtectedAccessibleBase(target, intersectionMember)) { + return true; + } + } + } + i++; + } + return false; + } + if (firstBase.symbol === target) { + return true; + } + return typeHasProtectedAccessibleBase(target, firstBase); + } + function isConstructorAccessible(node, signature) { + if (!signature || !signature.declaration) { + return true; + } + const declaration = signature.declaration; + const modifiers = getSelectedEffectiveModifierFlags(declaration, 6 /* NonPublicAccessibilityModifier */); + if (!modifiers || declaration.kind !== 176 /* Constructor */) { + return true; + } + const declaringClassDeclaration = getClassLikeDeclarationOfSymbol(declaration.parent.symbol); + const declaringClass = getDeclaredTypeOfSymbol(declaration.parent.symbol); + if (!isNodeWithinClass(node, declaringClassDeclaration)) { + const containingClass = getContainingClass(node); + if (containingClass && modifiers & 4 /* Protected */) { + const containingType = getTypeOfNode(containingClass); + if (typeHasProtectedAccessibleBase(declaration.parent.symbol, containingType)) { + return true; + } + } + if (modifiers & 2 /* Private */) { + error(node, Diagnostics.Constructor_of_class_0_is_private_and_only_accessible_within_the_class_declaration, typeToString(declaringClass)); + } + if (modifiers & 4 /* Protected */) { + error(node, Diagnostics.Constructor_of_class_0_is_protected_and_only_accessible_within_the_class_declaration, typeToString(declaringClass)); + } + return false; + } + return true; + } + function invocationErrorDetails(errorTarget, apparentType, kind) { + let errorInfo; + const isCall = kind === 0 /* Call */; + const awaitedType = getAwaitedType(apparentType); + const maybeMissingAwait = awaitedType && getSignaturesOfType(awaitedType, kind).length > 0; + if (apparentType.flags & 1048576 /* Union */) { + const types = apparentType.types; + let hasSignatures = false; + for (const constituent of types) { + const signatures = getSignaturesOfType(constituent, kind); + if (signatures.length !== 0) { + hasSignatures = true; + if (errorInfo) { + break; + } + } else { + if (!errorInfo) { + errorInfo = chainDiagnosticMessages( + errorInfo, + isCall ? Diagnostics.Type_0_has_no_call_signatures : Diagnostics.Type_0_has_no_construct_signatures, + typeToString(constituent) + ); + errorInfo = chainDiagnosticMessages( + errorInfo, + isCall ? Diagnostics.Not_all_constituents_of_type_0_are_callable : Diagnostics.Not_all_constituents_of_type_0_are_constructable, + typeToString(apparentType) + ); + } + if (hasSignatures) { + break; + } + } + } + if (!hasSignatures) { + errorInfo = chainDiagnosticMessages( + /*details*/ + void 0, + isCall ? Diagnostics.No_constituent_of_type_0_is_callable : Diagnostics.No_constituent_of_type_0_is_constructable, + typeToString(apparentType) + ); + } + if (!errorInfo) { + errorInfo = chainDiagnosticMessages( + errorInfo, + isCall ? Diagnostics.Each_member_of_the_union_type_0_has_signatures_but_none_of_those_signatures_are_compatible_with_each_other : Diagnostics.Each_member_of_the_union_type_0_has_construct_signatures_but_none_of_those_signatures_are_compatible_with_each_other, + typeToString(apparentType) + ); + } + } else { + errorInfo = chainDiagnosticMessages( + errorInfo, + isCall ? Diagnostics.Type_0_has_no_call_signatures : Diagnostics.Type_0_has_no_construct_signatures, + typeToString(apparentType) + ); + } + let headMessage = isCall ? Diagnostics.This_expression_is_not_callable : Diagnostics.This_expression_is_not_constructable; + if (isCallExpression(errorTarget.parent) && errorTarget.parent.arguments.length === 0) { + const { resolvedSymbol } = getNodeLinks(errorTarget); + if (resolvedSymbol && resolvedSymbol.flags & 32768 /* GetAccessor */) { + headMessage = Diagnostics.This_expression_is_not_callable_because_it_is_a_get_accessor_Did_you_mean_to_use_it_without; + } + } + return { + messageChain: chainDiagnosticMessages(errorInfo, headMessage), + relatedMessage: maybeMissingAwait ? Diagnostics.Did_you_forget_to_use_await : void 0 + }; + } + function invocationError(errorTarget, apparentType, kind, relatedInformation) { + const { messageChain, relatedMessage: relatedInfo } = invocationErrorDetails(errorTarget, apparentType, kind); + const diagnostic = createDiagnosticForNodeFromMessageChain(getSourceFileOfNode(errorTarget), errorTarget, messageChain); + if (relatedInfo) { + addRelatedInfo(diagnostic, createDiagnosticForNode(errorTarget, relatedInfo)); + } + if (isCallExpression(errorTarget.parent)) { + const { start, length: length2 } = getDiagnosticSpanForCallNode(errorTarget.parent); + diagnostic.start = start; + diagnostic.length = length2; + } + diagnostics.add(diagnostic); + invocationErrorRecovery(apparentType, kind, relatedInformation ? addRelatedInfo(diagnostic, relatedInformation) : diagnostic); + } + function invocationErrorRecovery(apparentType, kind, diagnostic) { + if (!apparentType.symbol) { + return; + } + const importNode = getSymbolLinks(apparentType.symbol).originatingImport; + if (importNode && !isImportCall(importNode)) { + const sigs = getSignaturesOfType(getTypeOfSymbol(getSymbolLinks(apparentType.symbol).target), kind); + if (!sigs || !sigs.length) return; + addRelatedInfo(diagnostic, createDiagnosticForNode(importNode, Diagnostics.Type_originates_at_this_import_A_namespace_style_import_cannot_be_called_or_constructed_and_will_cause_a_failure_at_runtime_Consider_using_a_default_import_or_import_require_here_instead)); + } + } + function resolveTaggedTemplateExpression(node, candidatesOutArray, checkMode) { + const tagType = checkExpression(node.tag); + const apparentType = getApparentType(tagType); + if (isErrorType(apparentType)) { + return resolveErrorCall(node); + } + const callSignatures = getSignaturesOfType(apparentType, 0 /* Call */); + const numConstructSignatures = getSignaturesOfType(apparentType, 1 /* Construct */).length; + if (isUntypedFunctionCall(tagType, apparentType, callSignatures.length, numConstructSignatures)) { + return resolveUntypedCall(node); + } + if (!callSignatures.length) { + if (isArrayLiteralExpression(node.parent)) { + const diagnostic = createDiagnosticForNode(node.tag, Diagnostics.It_is_likely_that_you_are_missing_a_comma_to_separate_these_two_template_expressions_They_form_a_tagged_template_expression_which_cannot_be_invoked); + diagnostics.add(diagnostic); + return resolveErrorCall(node); + } + invocationError(node.tag, apparentType, 0 /* Call */); + return resolveErrorCall(node); + } + return resolveCall(node, callSignatures, candidatesOutArray, checkMode, 0 /* None */); + } + function getDiagnosticHeadMessageForDecoratorResolution(node) { + switch (node.parent.kind) { + case 263 /* ClassDeclaration */: + case 231 /* ClassExpression */: + return Diagnostics.Unable_to_resolve_signature_of_class_decorator_when_called_as_an_expression; + case 169 /* Parameter */: + return Diagnostics.Unable_to_resolve_signature_of_parameter_decorator_when_called_as_an_expression; + case 172 /* PropertyDeclaration */: + return Diagnostics.Unable_to_resolve_signature_of_property_decorator_when_called_as_an_expression; + case 174 /* MethodDeclaration */: + case 177 /* GetAccessor */: + case 178 /* SetAccessor */: + return Diagnostics.Unable_to_resolve_signature_of_method_decorator_when_called_as_an_expression; + default: + return Debug.fail(); + } + } + function resolveDecorator(node, candidatesOutArray, checkMode) { + const funcType = checkExpression(node.expression); + const apparentType = getApparentType(funcType); + if (isErrorType(apparentType)) { + return resolveErrorCall(node); + } + const callSignatures = getSignaturesOfType(apparentType, 0 /* Call */); + const numConstructSignatures = getSignaturesOfType(apparentType, 1 /* Construct */).length; + if (isUntypedFunctionCall(funcType, apparentType, callSignatures.length, numConstructSignatures)) { + return resolveUntypedCall(node); + } + if (isPotentiallyUncalledDecorator(node, callSignatures) && !isParenthesizedExpression(node.expression)) { + const nodeStr = getTextOfNode( + node.expression, + /*includeTrivia*/ + false + ); + error(node, Diagnostics._0_accepts_too_few_arguments_to_be_used_as_a_decorator_here_Did_you_mean_to_call_it_first_and_write_0, nodeStr); + return resolveErrorCall(node); + } + const headMessage = getDiagnosticHeadMessageForDecoratorResolution(node); + if (!callSignatures.length) { + const errorDetails = invocationErrorDetails(node.expression, apparentType, 0 /* Call */); + const messageChain = chainDiagnosticMessages(errorDetails.messageChain, headMessage); + const diag2 = createDiagnosticForNodeFromMessageChain(getSourceFileOfNode(node.expression), node.expression, messageChain); + if (errorDetails.relatedMessage) { + addRelatedInfo(diag2, createDiagnosticForNode(node.expression, errorDetails.relatedMessage)); + } + diagnostics.add(diag2); + invocationErrorRecovery(apparentType, 0 /* Call */, diag2); + return resolveErrorCall(node); + } + return resolveCall(node, callSignatures, candidatesOutArray, checkMode, 0 /* None */, headMessage); + } + function createSignatureForJSXIntrinsic(node, result) { + const namespace = getJsxNamespaceAt(node); + const exports2 = namespace && getExportsOfSymbol(namespace); + const typeSymbol = exports2 && getSymbol(exports2, JsxNames.Element, 788968 /* Type */); + const returnNode = typeSymbol && nodeBuilder.symbolToEntityName(typeSymbol, 788968 /* Type */, node); + const declaration = factory.createFunctionTypeNode( + /*typeParameters*/ + void 0, + [factory.createParameterDeclaration( + /*modifiers*/ + void 0, + /*dotDotDotToken*/ + void 0, + "props", + /*questionToken*/ + void 0, + nodeBuilder.typeToTypeNode(result, node) + )], + returnNode ? factory.createTypeReferenceNode( + returnNode, + /*typeArguments*/ + void 0 + ) : factory.createKeywordTypeNode(133 /* AnyKeyword */) + ); + const parameterSymbol = createSymbol(1 /* FunctionScopedVariable */, "props"); + parameterSymbol.links.type = result; + return createSignature( + declaration, + /*typeParameters*/ + void 0, + /*thisParameter*/ + void 0, + [parameterSymbol], + typeSymbol ? getDeclaredTypeOfSymbol(typeSymbol) : errorType, + /*resolvedTypePredicate*/ + void 0, + 1, + 0 /* None */ + ); + } + function getJSXFragmentType(node) { + const sourceFileLinks = getNodeLinks(getSourceFileOfNode(node)); + if (sourceFileLinks.jsxFragmentType !== void 0) return sourceFileLinks.jsxFragmentType; + const jsxFragmentFactoryName = getJsxNamespace(node); + if (jsxFragmentFactoryName === "null") return sourceFileLinks.jsxFragmentType = anyType; + const jsxFactoryRefErr = diagnostics ? Diagnostics.Using_JSX_fragments_requires_fragment_factory_0_to_be_in_scope_but_it_could_not_be_found : void 0; + const jsxFactorySymbol = getJsxNamespaceContainerForImplicitImport(node) ?? resolveName( + node, + jsxFragmentFactoryName, + compilerOptions.jsx === 1 /* Preserve */ ? 111551 /* Value */ & ~384 /* Enum */ : 111551 /* Value */, + /*nameNotFoundMessage*/ + jsxFactoryRefErr, + /*isUse*/ + true + ); + if (jsxFactorySymbol === void 0) return sourceFileLinks.jsxFragmentType = errorType; + if (jsxFactorySymbol.escapedName === ReactNames.Fragment) return sourceFileLinks.jsxFragmentType = getTypeOfSymbol(jsxFactorySymbol); + const resolvedAlias = (jsxFactorySymbol.flags & 2097152 /* Alias */) === 0 ? jsxFactorySymbol : resolveAlias(jsxFactorySymbol); + const reactExports = jsxFactorySymbol && getExportsOfSymbol(resolvedAlias); + const typeSymbol = reactExports && getSymbol(reactExports, ReactNames.Fragment, 2 /* BlockScopedVariable */); + const type = typeSymbol && getTypeOfSymbol(typeSymbol); + return sourceFileLinks.jsxFragmentType = type === void 0 ? errorType : type; + } + function resolveJsxOpeningLikeElement(node, candidatesOutArray, checkMode) { + const isJsxOpenFragment = isJsxOpeningFragment(node); + let exprTypes; + if (!isJsxOpenFragment) { + if (isJsxIntrinsicTagName(node.tagName)) { + const result = getIntrinsicAttributesTypeFromJsxOpeningLikeElement(node); + const fakeSignature = createSignatureForJSXIntrinsic(node, result); + checkTypeAssignableToAndOptionallyElaborate(checkExpressionWithContextualType( + node.attributes, + getEffectiveFirstArgumentForJsxSignature(fakeSignature, node), + /*inferenceContext*/ + void 0, + 0 /* Normal */ + ), result, node.tagName, node.attributes); + if (length(node.typeArguments)) { + forEach(node.typeArguments, checkSourceElement); + diagnostics.add(createDiagnosticForNodeArray(getSourceFileOfNode(node), node.typeArguments, Diagnostics.Expected_0_type_arguments_but_got_1, 0, length(node.typeArguments))); + } + return fakeSignature; + } + exprTypes = checkExpression(node.tagName); + } else { + exprTypes = getJSXFragmentType(node); + } + const apparentType = getApparentType(exprTypes); + if (isErrorType(apparentType)) { + return resolveErrorCall(node); + } + const signatures = getUninstantiatedJsxSignaturesOfType(exprTypes, node); + if (isUntypedFunctionCall( + exprTypes, + apparentType, + signatures.length, + /*constructSignatures*/ + 0 + )) { + return resolveUntypedCall(node); + } + if (signatures.length === 0) { + if (isJsxOpenFragment) { + error(node, Diagnostics.JSX_element_type_0_does_not_have_any_construct_or_call_signatures, getTextOfNode(node)); + } else { + error(node.tagName, Diagnostics.JSX_element_type_0_does_not_have_any_construct_or_call_signatures, getTextOfNode(node.tagName)); + } + return resolveErrorCall(node); + } + return resolveCall(node, signatures, candidatesOutArray, checkMode, 0 /* None */); + } + function resolveInstanceofExpression(node, candidatesOutArray, checkMode) { + const rightType = checkExpression(node.right); + if (!isTypeAny(rightType)) { + const hasInstanceMethodType = getSymbolHasInstanceMethodOfObjectType(rightType); + if (hasInstanceMethodType) { + const apparentType = getApparentType(hasInstanceMethodType); + if (isErrorType(apparentType)) { + return resolveErrorCall(node); + } + const callSignatures = getSignaturesOfType(apparentType, 0 /* Call */); + const constructSignatures = getSignaturesOfType(apparentType, 1 /* Construct */); + if (isUntypedFunctionCall(hasInstanceMethodType, apparentType, callSignatures.length, constructSignatures.length)) { + return resolveUntypedCall(node); + } + if (callSignatures.length) { + return resolveCall(node, callSignatures, candidatesOutArray, checkMode, 0 /* None */); + } + } else if (!(typeHasCallOrConstructSignatures(rightType) || isTypeSubtypeOf(rightType, globalFunctionType))) { + error(node.right, Diagnostics.The_right_hand_side_of_an_instanceof_expression_must_be_either_of_type_any_a_class_function_or_other_type_assignable_to_the_Function_interface_type_or_an_object_type_with_a_Symbol_hasInstance_method); + return resolveErrorCall(node); + } + } + return anySignature; + } + function isPotentiallyUncalledDecorator(decorator, signatures) { + return signatures.length && every(signatures, (signature) => signature.minArgumentCount === 0 && !signatureHasRestParameter(signature) && signature.parameters.length < getDecoratorArgumentCount(decorator, signature)); + } + function resolveSignature(node, candidatesOutArray, checkMode) { + switch (node.kind) { + case 213 /* CallExpression */: + return resolveCallExpression(node, candidatesOutArray, checkMode); + case 214 /* NewExpression */: + return resolveNewExpression(node, candidatesOutArray, checkMode); + case 215 /* TaggedTemplateExpression */: + return resolveTaggedTemplateExpression(node, candidatesOutArray, checkMode); + case 170 /* Decorator */: + return resolveDecorator(node, candidatesOutArray, checkMode); + case 289 /* JsxOpeningFragment */: + case 286 /* JsxOpeningElement */: + case 285 /* JsxSelfClosingElement */: + return resolveJsxOpeningLikeElement(node, candidatesOutArray, checkMode); + case 226 /* BinaryExpression */: + return resolveInstanceofExpression(node, candidatesOutArray, checkMode); + } + Debug.assertNever(node, "Branch in 'resolveSignature' should be unreachable."); + } + function getResolvedSignature(node, candidatesOutArray, checkMode) { + const links = getNodeLinks(node); + const cached = links.resolvedSignature; + if (cached && cached !== resolvingSignature && !candidatesOutArray) { + return cached; + } + const saveResolutionStart = resolutionStart; + if (!cached) { + resolutionStart = resolutionTargets.length; + } + links.resolvedSignature = resolvingSignature; + let result = resolveSignature(node, candidatesOutArray, checkMode || 0 /* Normal */); + resolutionStart = saveResolutionStart; + if (result !== resolvingSignature) { + if (links.resolvedSignature !== resolvingSignature) { + result = links.resolvedSignature; + } + links.resolvedSignature = flowLoopStart === flowLoopCount ? result : cached; + } + return result; + } + function isJSConstructor(node) { + var _a; + if (!node || !isInJSFile(node)) { + return false; + } + const func = isFunctionDeclaration(node) || isFunctionExpression(node) ? node : (isVariableDeclaration(node) || isPropertyAssignment(node)) && node.initializer && isFunctionExpression(node.initializer) ? node.initializer : void 0; + if (func) { + if (getJSDocClassTag(node)) return true; + if (isPropertyAssignment(walkUpParenthesizedExpressions(func.parent))) return false; + const symbol = getSymbolOfDeclaration(func); + return !!((_a = symbol == null ? void 0 : symbol.members) == null ? void 0 : _a.size); + } + return false; + } + function mergeJSSymbols(target, source) { + var _a, _b; + if (source) { + const links = getSymbolLinks(source); + if (!links.inferredClassSymbol || !links.inferredClassSymbol.has(getSymbolId(target))) { + const inferred = isTransientSymbol(target) ? target : cloneSymbol(target); + inferred.exports = inferred.exports || createSymbolTable(); + inferred.members = inferred.members || createSymbolTable(); + inferred.flags |= source.flags & 32 /* Class */; + if ((_a = source.exports) == null ? void 0 : _a.size) { + mergeSymbolTable(inferred.exports, source.exports); + } + if ((_b = source.members) == null ? void 0 : _b.size) { + mergeSymbolTable(inferred.members, source.members); + } + (links.inferredClassSymbol || (links.inferredClassSymbol = /* @__PURE__ */ new Map())).set(getSymbolId(inferred), inferred); + return inferred; + } + return links.inferredClassSymbol.get(getSymbolId(target)); + } + } + function getAssignedClassSymbol(decl) { + var _a; + const assignmentSymbol = decl && getSymbolOfExpando( + decl, + /*allowDeclaration*/ + true + ); + const prototype = (_a = assignmentSymbol == null ? void 0 : assignmentSymbol.exports) == null ? void 0 : _a.get("prototype"); + const init = (prototype == null ? void 0 : prototype.valueDeclaration) && getAssignedJSPrototype(prototype.valueDeclaration); + return init ? getSymbolOfDeclaration(init) : void 0; + } + function getSymbolOfExpando(node, allowDeclaration) { + if (!node.parent) { + return void 0; + } + let name; + let decl; + if (isVariableDeclaration(node.parent) && node.parent.initializer === node) { + if (!isInJSFile(node) && !(isVarConstLike2(node.parent) && isFunctionLikeDeclaration(node))) { + return void 0; + } + name = node.parent.name; + decl = node.parent; + } else if (isBinaryExpression(node.parent)) { + const parentNode = node.parent; + const parentNodeOperator = node.parent.operatorToken.kind; + if (parentNodeOperator === 64 /* EqualsToken */ && (allowDeclaration || parentNode.right === node)) { + name = parentNode.left; + decl = name; + } else if (parentNodeOperator === 57 /* BarBarToken */ || parentNodeOperator === 61 /* QuestionQuestionToken */) { + if (isVariableDeclaration(parentNode.parent) && parentNode.parent.initializer === parentNode) { + name = parentNode.parent.name; + decl = parentNode.parent; + } else if (isBinaryExpression(parentNode.parent) && parentNode.parent.operatorToken.kind === 64 /* EqualsToken */ && (allowDeclaration || parentNode.parent.right === parentNode)) { + name = parentNode.parent.left; + decl = name; + } + if (!name || !isBindableStaticNameExpression(name) || !isSameEntityName(name, parentNode.left)) { + return void 0; + } + } + } else if (allowDeclaration && isFunctionDeclaration(node)) { + name = node.name; + decl = node; + } + if (!decl || !name || !allowDeclaration && !getExpandoInitializer(node, isPrototypeAccess(name))) { + return void 0; + } + return getSymbolOfNode(decl); + } + function getAssignedJSPrototype(node) { + if (!node.parent) { + return false; + } + let parent = node.parent; + while (parent && parent.kind === 211 /* PropertyAccessExpression */) { + parent = parent.parent; + } + if (parent && isBinaryExpression(parent) && isPrototypeAccess(parent.left) && parent.operatorToken.kind === 64 /* EqualsToken */) { + const right = getInitializerOfBinaryExpression(parent); + return isObjectLiteralExpression(right) && right; + } + } + function checkCallExpression(node, checkMode) { + var _a, _b, _c; + checkGrammarTypeArguments(node, node.typeArguments); + const signature = getResolvedSignature( + node, + /*candidatesOutArray*/ + void 0, + checkMode + ); + if (signature === resolvingSignature) { + return silentNeverType; + } + checkDeprecatedSignature(signature, node); + if (node.expression.kind === 108 /* SuperKeyword */) { + return voidType; + } + if (node.kind === 214 /* NewExpression */) { + const declaration = signature.declaration; + if (declaration && declaration.kind !== 176 /* Constructor */ && declaration.kind !== 180 /* ConstructSignature */ && declaration.kind !== 185 /* ConstructorType */ && !(isJSDocSignature(declaration) && ((_b = (_a = getJSDocRoot(declaration)) == null ? void 0 : _a.parent) == null ? void 0 : _b.kind) === 176 /* Constructor */) && !isJSDocConstructSignature(declaration) && !isJSConstructor(declaration)) { + if (noImplicitAny) { + error(node, Diagnostics.new_expression_whose_target_lacks_a_construct_signature_implicitly_has_an_any_type); + } + return anyType; + } + } + if (isInJSFile(node) && isCommonJsRequire(node)) { + return resolveExternalModuleTypeByLiteral(node.arguments[0]); + } + const returnType = getReturnTypeOfSignature(signature); + if (returnType.flags & 12288 /* ESSymbolLike */ && isSymbolOrSymbolForCall(node)) { + return getESSymbolLikeTypeForNode(walkUpParenthesizedExpressions(node.parent)); + } + if (node.kind === 213 /* CallExpression */ && !node.questionDotToken && node.parent.kind === 244 /* ExpressionStatement */ && returnType.flags & 16384 /* Void */ && getTypePredicateOfSignature(signature)) { + if (!isDottedName(node.expression)) { + error(node.expression, Diagnostics.Assertions_require_the_call_target_to_be_an_identifier_or_qualified_name); + } else if (!getEffectsSignature(node)) { + const diagnostic = error(node.expression, Diagnostics.Assertions_require_every_name_in_the_call_target_to_be_declared_with_an_explicit_type_annotation); + getTypeOfDottedName(node.expression, diagnostic); + } + } + if (isInJSFile(node)) { + const jsSymbol = getSymbolOfExpando( + node, + /*allowDeclaration*/ + false + ); + if ((_c = jsSymbol == null ? void 0 : jsSymbol.exports) == null ? void 0 : _c.size) { + const jsAssignmentType = createAnonymousType(jsSymbol, jsSymbol.exports, emptyArray, emptyArray, emptyArray); + jsAssignmentType.objectFlags |= 4096 /* JSLiteral */; + return getIntersectionType([returnType, jsAssignmentType]); + } + } + return returnType; + } + function checkDeprecatedSignature(signature, node) { + if (signature.flags & 128 /* IsSignatureCandidateForOverloadFailure */) return; + if (signature.declaration && signature.declaration.flags & 536870912 /* Deprecated */) { + const suggestionNode = getDeprecatedSuggestionNode(node); + const name = tryGetPropertyAccessOrIdentifierToString(getInvokedExpression(node)); + addDeprecatedSuggestionWithSignature(suggestionNode, signature.declaration, name, signatureToString(signature)); + } + } + function getDeprecatedSuggestionNode(node) { + node = skipParentheses(node); + switch (node.kind) { + case 213 /* CallExpression */: + case 170 /* Decorator */: + case 214 /* NewExpression */: + return getDeprecatedSuggestionNode(node.expression); + case 215 /* TaggedTemplateExpression */: + return getDeprecatedSuggestionNode(node.tag); + case 286 /* JsxOpeningElement */: + case 285 /* JsxSelfClosingElement */: + return getDeprecatedSuggestionNode(node.tagName); + case 212 /* ElementAccessExpression */: + return node.argumentExpression; + case 211 /* PropertyAccessExpression */: + return node.name; + case 183 /* TypeReference */: + const typeReference = node; + return isQualifiedName(typeReference.typeName) ? typeReference.typeName.right : typeReference; + default: + return node; + } + } + function isSymbolOrSymbolForCall(node) { + if (!isCallExpression(node)) return false; + let left = node.expression; + if (isPropertyAccessExpression(left) && left.name.escapedText === "for") { + left = left.expression; + } + if (!isIdentifier(left) || left.escapedText !== "Symbol") { + return false; + } + const globalESSymbol = getGlobalESSymbolConstructorSymbol( + /*reportErrors*/ + false + ); + if (!globalESSymbol) { + return false; + } + return globalESSymbol === resolveName( + left, + "Symbol", + 111551 /* Value */, + /*nameNotFoundMessage*/ + void 0, + /*isUse*/ + false + ); + } + function checkImportCallExpression(node) { + checkGrammarImportCallExpression(node); + if (node.arguments.length === 0) { + return createPromiseReturnType(node, anyType); + } + const specifier = node.arguments[0]; + const specifierType = checkExpressionCached(specifier); + const optionsType = node.arguments.length > 1 ? checkExpressionCached(node.arguments[1]) : void 0; + for (let i = 2; i < node.arguments.length; ++i) { + checkExpressionCached(node.arguments[i]); + } + if (specifierType.flags & 32768 /* Undefined */ || specifierType.flags & 65536 /* Null */ || !isTypeAssignableTo(specifierType, stringType)) { + error(specifier, Diagnostics.Dynamic_import_s_specifier_must_be_of_type_string_but_here_has_type_0, typeToString(specifierType)); + } + if (optionsType) { + const importCallOptionsType = getGlobalImportCallOptionsType( + /*reportErrors*/ + true + ); + if (importCallOptionsType !== emptyObjectType) { + checkTypeAssignableTo(optionsType, getNullableType(importCallOptionsType, 32768 /* Undefined */), node.arguments[1]); + } + } + const moduleSymbol = resolveExternalModuleName(node, specifier); + if (moduleSymbol) { + const esModuleSymbol = resolveESModuleSymbol( + moduleSymbol, + specifier, + /*dontResolveAlias*/ + true, + /*suppressInteropError*/ + false + ); + if (esModuleSymbol) { + return createPromiseReturnType( + node, + getTypeWithSyntheticDefaultOnly(getTypeOfSymbol(esModuleSymbol), esModuleSymbol, moduleSymbol, specifier) || getTypeWithSyntheticDefaultImportType(getTypeOfSymbol(esModuleSymbol), esModuleSymbol, moduleSymbol, specifier) + ); + } + } + return createPromiseReturnType(node, anyType); + } + function createDefaultPropertyWrapperForModule(symbol, originalSymbol, anonymousSymbol) { + const memberTable = createSymbolTable(); + const newSymbol = createSymbol(2097152 /* Alias */, "default" /* Default */); + newSymbol.parent = originalSymbol; + newSymbol.links.nameType = getStringLiteralType("default"); + newSymbol.links.aliasTarget = resolveSymbol(symbol); + memberTable.set("default" /* Default */, newSymbol); + return createAnonymousType(anonymousSymbol, memberTable, emptyArray, emptyArray, emptyArray); + } + function getTypeWithSyntheticDefaultOnly(type, symbol, originalSymbol, moduleSpecifier) { + const hasDefaultOnly = isOnlyImportableAsDefault(moduleSpecifier); + if (hasDefaultOnly && type && !isErrorType(type)) { + const synthType = type; + if (!synthType.defaultOnlyType) { + const type2 = createDefaultPropertyWrapperForModule(symbol, originalSymbol); + synthType.defaultOnlyType = type2; + } + return synthType.defaultOnlyType; + } + return void 0; + } + function getTypeWithSyntheticDefaultImportType(type, symbol, originalSymbol, moduleSpecifier) { + var _a; + if (allowSyntheticDefaultImports && type && !isErrorType(type)) { + const synthType = type; + if (!synthType.syntheticType) { + const file = (_a = originalSymbol.declarations) == null ? void 0 : _a.find(isSourceFile); + const hasSyntheticDefault = canHaveSyntheticDefault( + file, + originalSymbol, + /*dontResolveAlias*/ + false, + moduleSpecifier + ); + if (hasSyntheticDefault) { + const anonymousSymbol = createSymbol(2048 /* TypeLiteral */, "__type" /* Type */); + const defaultContainingObject = createDefaultPropertyWrapperForModule(symbol, originalSymbol, anonymousSymbol); + anonymousSymbol.links.type = defaultContainingObject; + synthType.syntheticType = isValidSpreadType(type) ? getSpreadType( + type, + defaultContainingObject, + anonymousSymbol, + /*objectFlags*/ + 0, + /*readonly*/ + false + ) : defaultContainingObject; + } else { + synthType.syntheticType = type; + } + } + return synthType.syntheticType; + } + return type; + } + function isCommonJsRequire(node) { + if (!isRequireCall( + node, + /*requireStringLiteralLikeArgument*/ + true + )) { + return false; + } + if (!isIdentifier(node.expression)) return Debug.fail(); + const resolvedRequire = resolveName( + node.expression, + node.expression.escapedText, + 111551 /* Value */, + /*nameNotFoundMessage*/ + void 0, + /*isUse*/ + true + ); + if (resolvedRequire === requireSymbol) { + return true; + } + if (resolvedRequire.flags & 2097152 /* Alias */) { + return false; + } + const targetDeclarationKind = resolvedRequire.flags & 16 /* Function */ ? 262 /* FunctionDeclaration */ : resolvedRequire.flags & 3 /* Variable */ ? 260 /* VariableDeclaration */ : 0 /* Unknown */; + if (targetDeclarationKind !== 0 /* Unknown */) { + const decl = getDeclarationOfKind(resolvedRequire, targetDeclarationKind); + return !!decl && !!(decl.flags & 33554432 /* Ambient */); + } + return false; + } + function checkTaggedTemplateExpression(node) { + if (!checkGrammarTaggedTemplateChain(node)) checkGrammarTypeArguments(node, node.typeArguments); + if (languageVersion < LanguageFeatureMinimumTarget.TaggedTemplates) { + checkExternalEmitHelpers(node, 262144 /* MakeTemplateObject */); + } + const signature = getResolvedSignature(node); + checkDeprecatedSignature(signature, node); + return getReturnTypeOfSignature(signature); + } + function checkAssertion(node, checkMode) { + if (node.kind === 216 /* TypeAssertionExpression */) { + const file = getSourceFileOfNode(node); + if (file && fileExtensionIsOneOf(file.fileName, [".cts" /* Cts */, ".mts" /* Mts */])) { + grammarErrorOnNode(node, Diagnostics.This_syntax_is_reserved_in_files_with_the_mts_or_cts_extension_Use_an_as_expression_instead); + } + } + return checkAssertionWorker(node, checkMode); + } + function isValidConstAssertionArgument(node) { + switch (node.kind) { + case 11 /* StringLiteral */: + case 15 /* NoSubstitutionTemplateLiteral */: + case 9 /* NumericLiteral */: + case 10 /* BigIntLiteral */: + case 112 /* TrueKeyword */: + case 97 /* FalseKeyword */: + case 209 /* ArrayLiteralExpression */: + case 210 /* ObjectLiteralExpression */: + case 228 /* TemplateExpression */: + return true; + case 217 /* ParenthesizedExpression */: + return isValidConstAssertionArgument(node.expression); + case 224 /* PrefixUnaryExpression */: + const op = node.operator; + const arg = node.operand; + return op === 41 /* MinusToken */ && (arg.kind === 9 /* NumericLiteral */ || arg.kind === 10 /* BigIntLiteral */) || op === 40 /* PlusToken */ && arg.kind === 9 /* NumericLiteral */; + case 211 /* PropertyAccessExpression */: + case 212 /* ElementAccessExpression */: + const expr = skipParentheses(node.expression); + const symbol = isEntityNameExpression(expr) ? resolveEntityName( + expr, + 111551 /* Value */, + /*ignoreErrors*/ + true + ) : void 0; + return !!(symbol && symbol.flags & 384 /* Enum */); + } + return false; + } + function checkAssertionWorker(node, checkMode) { + const { type, expression } = getAssertionTypeAndExpression(node); + const exprType = checkExpression(expression, checkMode); + if (isConstTypeReference(type)) { + if (!isValidConstAssertionArgument(expression)) { + error(expression, Diagnostics.A_const_assertions_can_only_be_applied_to_references_to_enum_members_or_string_number_boolean_array_or_object_literals); + } + return getRegularTypeOfLiteralType(exprType); + } + const links = getNodeLinks(node); + links.assertionExpressionType = exprType; + checkSourceElement(type); + checkNodeDeferred(node); + return getTypeFromTypeNode(type); + } + function getAssertionTypeAndExpression(node) { + let type; + let expression; + switch (node.kind) { + case 234 /* AsExpression */: + case 216 /* TypeAssertionExpression */: + type = node.type; + expression = node.expression; + break; + case 217 /* ParenthesizedExpression */: + type = getJSDocTypeAssertionType(node); + expression = node.expression; + break; + } + return { type, expression }; + } + function checkAssertionDeferred(node) { + const { type } = getAssertionTypeAndExpression(node); + const errNode = isParenthesizedExpression(node) ? type : node; + const links = getNodeLinks(node); + Debug.assertIsDefined(links.assertionExpressionType); + const exprType = getRegularTypeOfObjectLiteral(getBaseTypeOfLiteralType(links.assertionExpressionType)); + const targetType = getTypeFromTypeNode(type); + if (!isErrorType(targetType)) { + addLazyDiagnostic(() => { + const widenedType = getWidenedType(exprType); + if (!isTypeComparableTo(targetType, widenedType)) { + checkTypeComparableTo(exprType, targetType, errNode, 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); + } + }); + } + } + function checkNonNullChain(node) { + const leftType = checkExpression(node.expression); + const nonOptionalType = getOptionalExpressionType(leftType, node.expression); + return propagateOptionalTypeMarker(getNonNullableType(nonOptionalType), node, nonOptionalType !== leftType); + } + function checkNonNullAssertion(node) { + return node.flags & 64 /* OptionalChain */ ? checkNonNullChain(node) : getNonNullableType(checkExpression(node.expression)); + } + function checkExpressionWithTypeArguments(node) { + checkGrammarExpressionWithTypeArguments(node); + forEach(node.typeArguments, checkSourceElement); + if (node.kind === 233 /* ExpressionWithTypeArguments */) { + const parent = walkUpParenthesizedExpressions(node.parent); + if (parent.kind === 226 /* BinaryExpression */ && parent.operatorToken.kind === 104 /* InstanceOfKeyword */ && isNodeDescendantOf(node, parent.right)) { + error(node, Diagnostics.The_right_hand_side_of_an_instanceof_expression_must_not_be_an_instantiation_expression); + } + } + const exprType = node.kind === 233 /* ExpressionWithTypeArguments */ ? checkExpression(node.expression) : isThisIdentifier(node.exprName) ? checkThisExpression(node.exprName) : checkExpression(node.exprName); + return getInstantiationExpressionType(exprType, node); + } + function getInstantiationExpressionType(exprType, node) { + const typeArguments = node.typeArguments; + if (exprType === silentNeverType || isErrorType(exprType) || !some(typeArguments)) { + return exprType; + } + const links = getNodeLinks(node); + if (!links.instantiationExpressionTypes) { + links.instantiationExpressionTypes = /* @__PURE__ */ new Map(); + } + if (links.instantiationExpressionTypes.has(exprType.id)) { + return links.instantiationExpressionTypes.get(exprType.id); + } + let hasSomeApplicableSignature = false; + let nonApplicableType; + const result = getInstantiatedType(exprType); + links.instantiationExpressionTypes.set(exprType.id, result); + const errorType2 = hasSomeApplicableSignature ? nonApplicableType : exprType; + if (errorType2) { + diagnostics.add(createDiagnosticForNodeArray(getSourceFileOfNode(node), typeArguments, Diagnostics.Type_0_has_no_signatures_for_which_the_type_argument_list_is_applicable, typeToString(errorType2))); + } + return result; + function getInstantiatedType(type) { + let hasSignatures = false; + let hasApplicableSignature = false; + const result2 = getInstantiatedTypePart(type); + hasSomeApplicableSignature || (hasSomeApplicableSignature = hasApplicableSignature); + if (hasSignatures && !hasApplicableSignature) { + nonApplicableType ?? (nonApplicableType = type); + } + return result2; + function getInstantiatedTypePart(type2) { + if (type2.flags & 524288 /* Object */) { + const resolved = resolveStructuredTypeMembers(type2); + const callSignatures = getInstantiatedSignatures(resolved.callSignatures); + const constructSignatures = getInstantiatedSignatures(resolved.constructSignatures); + hasSignatures || (hasSignatures = resolved.callSignatures.length !== 0 || resolved.constructSignatures.length !== 0); + hasApplicableSignature || (hasApplicableSignature = callSignatures.length !== 0 || constructSignatures.length !== 0); + if (callSignatures !== resolved.callSignatures || constructSignatures !== resolved.constructSignatures) { + const result3 = createAnonymousType(createSymbol(0 /* None */, "__instantiationExpression" /* InstantiationExpression */), resolved.members, callSignatures, constructSignatures, resolved.indexInfos); + result3.objectFlags |= 8388608 /* InstantiationExpressionType */; + result3.node = node; + return result3; + } + } else if (type2.flags & 58982400 /* InstantiableNonPrimitive */) { + const constraint = getBaseConstraintOfType(type2); + if (constraint) { + const instantiated = getInstantiatedTypePart(constraint); + if (instantiated !== constraint) { + return instantiated; + } + } + } else if (type2.flags & 1048576 /* Union */) { + return mapType(type2, getInstantiatedType); + } else if (type2.flags & 2097152 /* Intersection */) { + return getIntersectionType(sameMap(type2.types, getInstantiatedTypePart)); + } + return type2; + } + } + function getInstantiatedSignatures(signatures) { + const applicableSignatures = filter(signatures, (sig) => !!sig.typeParameters && hasCorrectTypeArgumentArity(sig, typeArguments)); + return sameMap(applicableSignatures, (sig) => { + const typeArgumentTypes = checkTypeArguments( + sig, + typeArguments, + /*reportErrors*/ + true + ); + return typeArgumentTypes ? getSignatureInstantiation(sig, typeArgumentTypes, isInJSFile(sig.declaration)) : sig; + }); + } + } + function checkSatisfiesExpression(node) { + checkSourceElement(node.type); + return checkSatisfiesExpressionWorker(node.expression, node.type); + } + function checkSatisfiesExpressionWorker(expression, target, checkMode) { + const exprType = checkExpression(expression, checkMode); + const targetType = getTypeFromTypeNode(target); + if (isErrorType(targetType)) { + return targetType; + } + const errorNode = findAncestor(target.parent, (n) => n.kind === 238 /* SatisfiesExpression */ || n.kind === 350 /* JSDocSatisfiesTag */); + checkTypeAssignableToAndOptionallyElaborate(exprType, targetType, errorNode, expression, Diagnostics.Type_0_does_not_satisfy_the_expected_type_1); + return exprType; + } + function checkMetaProperty(node) { + checkGrammarMetaProperty(node); + if (node.keywordToken === 105 /* NewKeyword */) { + return checkNewTargetMetaProperty(node); + } + if (node.keywordToken === 102 /* ImportKeyword */) { + return checkImportMetaProperty(node); + } + return Debug.assertNever(node.keywordToken); + } + function checkMetaPropertyKeyword(node) { + switch (node.keywordToken) { + case 102 /* ImportKeyword */: + return getGlobalImportMetaExpressionType(); + case 105 /* NewKeyword */: + const type = checkNewTargetMetaProperty(node); + return isErrorType(type) ? errorType : createNewTargetExpressionType(type); + default: + Debug.assertNever(node.keywordToken); + } + } + function checkNewTargetMetaProperty(node) { + const container = getNewTargetContainer(node); + if (!container) { + error(node, Diagnostics.Meta_property_0_is_only_allowed_in_the_body_of_a_function_declaration_function_expression_or_constructor, "new.target"); + return errorType; + } else if (container.kind === 176 /* Constructor */) { + const symbol = getSymbolOfDeclaration(container.parent); + return getTypeOfSymbol(symbol); + } else { + const symbol = getSymbolOfDeclaration(container); + return getTypeOfSymbol(symbol); + } + } + function checkImportMetaProperty(node) { + if (moduleKind === 100 /* Node16 */ || moduleKind === 199 /* NodeNext */) { + if (getSourceFileOfNode(node).impliedNodeFormat !== 99 /* ESNext */) { + error(node, Diagnostics.The_import_meta_meta_property_is_not_allowed_in_files_which_will_build_into_CommonJS_output); + } + } else if (moduleKind < 6 /* ES2020 */ && moduleKind !== 4 /* System */) { + error(node, Diagnostics.The_import_meta_meta_property_is_only_allowed_when_the_module_option_is_es2020_es2022_esnext_system_node16_or_nodenext); + } + const file = getSourceFileOfNode(node); + Debug.assert(!!(file.flags & 8388608 /* PossiblyContainsImportMeta */), "Containing file is missing import meta node flag."); + return node.name.escapedText === "meta" ? getGlobalImportMetaType() : errorType; + } + function getTypeOfParameter(symbol) { + const declaration = symbol.valueDeclaration; + return addOptionality( + getTypeOfSymbol(symbol), + /*isProperty*/ + false, + /*isOptional*/ + !!declaration && (hasInitializer(declaration) || isOptionalDeclaration(declaration)) + ); + } + function getTupleElementLabelFromBindingElement(node, index, elementFlags) { + switch (node.name.kind) { + case 80 /* Identifier */: { + const name = node.name.escapedText; + if (node.dotDotDotToken) { + return elementFlags & 12 /* Variable */ ? name : `${name}_${index}`; + } else { + return elementFlags & 3 /* Fixed */ ? name : `${name}_n`; + } + } + case 207 /* ArrayBindingPattern */: { + if (node.dotDotDotToken) { + const elements = node.name.elements; + const lastElement = tryCast(lastOrUndefined(elements), isBindingElement); + const elementCount = elements.length - ((lastElement == null ? void 0 : lastElement.dotDotDotToken) ? 1 : 0); + if (index < elementCount) { + const element = elements[index]; + if (isBindingElement(element)) { + return getTupleElementLabelFromBindingElement(element, index, elementFlags); + } + } else if (lastElement == null ? void 0 : lastElement.dotDotDotToken) { + return getTupleElementLabelFromBindingElement(lastElement, index - elementCount, elementFlags); + } + } + break; + } + } + return `arg_${index}`; + } + function getTupleElementLabel(d, index = 0, elementFlags = 3 /* Fixed */, restSymbol) { + if (!d) { + const restParameter = tryCast(restSymbol == null ? void 0 : restSymbol.valueDeclaration, isParameter); + return restParameter ? getTupleElementLabelFromBindingElement(restParameter, index, elementFlags) : `${(restSymbol == null ? void 0 : restSymbol.escapedName) ?? "arg"}_${index}`; + } + Debug.assert(isIdentifier(d.name)); + return d.name.escapedText; + } + function getParameterNameAtPosition(signature, pos, overrideRestType) { + var _a; + const paramCount = signature.parameters.length - (signatureHasRestParameter(signature) ? 1 : 0); + if (pos < paramCount) { + return signature.parameters[pos].escapedName; + } + const restParameter = signature.parameters[paramCount] || unknownSymbol; + const restType = overrideRestType || getTypeOfSymbol(restParameter); + if (isTupleType(restType)) { + const tupleType = restType.target; + const index = pos - paramCount; + const associatedName = (_a = tupleType.labeledElementDeclarations) == null ? void 0 : _a[index]; + const elementFlags = tupleType.elementFlags[index]; + return getTupleElementLabel(associatedName, index, elementFlags, restParameter); + } + return restParameter.escapedName; + } + function getParameterIdentifierInfoAtPosition(signature, pos) { + var _a; + if (((_a = signature.declaration) == null ? void 0 : _a.kind) === 317 /* JSDocFunctionType */) { + return void 0; + } + const paramCount = signature.parameters.length - (signatureHasRestParameter(signature) ? 1 : 0); + if (pos < paramCount) { + const param = signature.parameters[pos]; + const paramIdent = getParameterDeclarationIdentifier(param); + return paramIdent ? { + parameter: paramIdent, + parameterName: param.escapedName, + isRestParameter: false + } : void 0; + } + const restParameter = signature.parameters[paramCount] || unknownSymbol; + const restIdent = getParameterDeclarationIdentifier(restParameter); + if (!restIdent) { + return void 0; + } + const restType = getTypeOfSymbol(restParameter); + if (isTupleType(restType)) { + const associatedNames = restType.target.labeledElementDeclarations; + const index = pos - paramCount; + const associatedName = associatedNames == null ? void 0 : associatedNames[index]; + const isRestTupleElement = !!(associatedName == null ? void 0 : associatedName.dotDotDotToken); + if (associatedName) { + Debug.assert(isIdentifier(associatedName.name)); + return { parameter: associatedName.name, parameterName: associatedName.name.escapedText, isRestParameter: isRestTupleElement }; + } + return void 0; + } + if (pos === paramCount) { + return { parameter: restIdent, parameterName: restParameter.escapedName, isRestParameter: true }; + } + return void 0; + } + function getParameterDeclarationIdentifier(symbol) { + return symbol.valueDeclaration && isParameter(symbol.valueDeclaration) && isIdentifier(symbol.valueDeclaration.name) && symbol.valueDeclaration.name; + } + function isValidDeclarationForTupleLabel(d) { + return d.kind === 202 /* NamedTupleMember */ || isParameter(d) && d.name && isIdentifier(d.name); + } + function getNameableDeclarationAtPosition(signature, pos) { + const paramCount = signature.parameters.length - (signatureHasRestParameter(signature) ? 1 : 0); + if (pos < paramCount) { + const decl = signature.parameters[pos].valueDeclaration; + return decl && isValidDeclarationForTupleLabel(decl) ? decl : void 0; + } + const restParameter = signature.parameters[paramCount] || unknownSymbol; + const restType = getTypeOfSymbol(restParameter); + if (isTupleType(restType)) { + const associatedNames = restType.target.labeledElementDeclarations; + const index = pos - paramCount; + return associatedNames && associatedNames[index]; + } + return restParameter.valueDeclaration && isValidDeclarationForTupleLabel(restParameter.valueDeclaration) ? restParameter.valueDeclaration : void 0; + } + function getTypeAtPosition(signature, pos) { + return tryGetTypeAtPosition(signature, pos) || anyType; + } + function tryGetTypeAtPosition(signature, pos) { + const paramCount = signature.parameters.length - (signatureHasRestParameter(signature) ? 1 : 0); + if (pos < paramCount) { + return getTypeOfParameter(signature.parameters[pos]); + } + if (signatureHasRestParameter(signature)) { + const restType = getTypeOfSymbol(signature.parameters[paramCount]); + const index = pos - paramCount; + if (!isTupleType(restType) || restType.target.combinedFlags & 12 /* Variable */ || index < restType.target.fixedLength) { + return getIndexedAccessType(restType, getNumberLiteralType(index)); + } + } + return void 0; + } + function getRestTypeAtPosition(source, pos, readonly) { + const parameterCount = getParameterCount(source); + const minArgumentCount = getMinArgumentCount(source); + const restType = getEffectiveRestType(source); + if (restType && pos >= parameterCount - 1) { + return pos === parameterCount - 1 ? restType : createArrayType(getIndexedAccessType(restType, numberType)); + } + const types = []; + const flags = []; + const names = []; + for (let i = pos; i < parameterCount; i++) { + if (!restType || i < parameterCount - 1) { + types.push(getTypeAtPosition(source, i)); + flags.push(i < minArgumentCount ? 1 /* Required */ : 2 /* Optional */); + } else { + types.push(restType); + flags.push(8 /* Variadic */); + } + names.push(getNameableDeclarationAtPosition(source, i)); + } + return createTupleType(types, flags, readonly, names); + } + function getRestOrAnyTypeAtPosition(source, pos) { + const restType = getRestTypeAtPosition(source, pos); + const elementType = restType && getElementTypeOfArrayType(restType); + return elementType && isTypeAny(elementType) ? anyType : restType; + } + function getParameterCount(signature) { + const length2 = signature.parameters.length; + if (signatureHasRestParameter(signature)) { + const restType = getTypeOfSymbol(signature.parameters[length2 - 1]); + if (isTupleType(restType)) { + return length2 + restType.target.fixedLength - (restType.target.combinedFlags & 12 /* Variable */ ? 0 : 1); + } + } + return length2; + } + function getMinArgumentCount(signature, flags) { + const strongArityForUntypedJS = flags & 1 /* StrongArityForUntypedJS */; + const voidIsNonOptional = flags & 2 /* VoidIsNonOptional */; + if (voidIsNonOptional || signature.resolvedMinArgumentCount === void 0) { + let minArgumentCount; + if (signatureHasRestParameter(signature)) { + const restType = getTypeOfSymbol(signature.parameters[signature.parameters.length - 1]); + if (isTupleType(restType)) { + const firstOptionalIndex = findIndex(restType.target.elementFlags, (f) => !(f & 1 /* Required */)); + const requiredCount = firstOptionalIndex < 0 ? restType.target.fixedLength : firstOptionalIndex; + if (requiredCount > 0) { + minArgumentCount = signature.parameters.length - 1 + requiredCount; + } + } + } + if (minArgumentCount === void 0) { + if (!strongArityForUntypedJS && signature.flags & 32 /* IsUntypedSignatureInJSFile */) { + return 0; + } + minArgumentCount = signature.minArgumentCount; + } + if (voidIsNonOptional) { + return minArgumentCount; + } + for (let i = minArgumentCount - 1; i >= 0; i--) { + const type = getTypeAtPosition(signature, i); + if (filterType(type, acceptsVoid).flags & 131072 /* Never */) { + break; + } + minArgumentCount = i; + } + signature.resolvedMinArgumentCount = minArgumentCount; + } + return signature.resolvedMinArgumentCount; + } + function hasEffectiveRestParameter(signature) { + if (signatureHasRestParameter(signature)) { + const restType = getTypeOfSymbol(signature.parameters[signature.parameters.length - 1]); + return !isTupleType(restType) || !!(restType.target.combinedFlags & 12 /* Variable */); + } + return false; + } + function getEffectiveRestType(signature) { + if (signatureHasRestParameter(signature)) { + const restType = getTypeOfSymbol(signature.parameters[signature.parameters.length - 1]); + if (!isTupleType(restType)) { + return isTypeAny(restType) ? anyArrayType : restType; + } + if (restType.target.combinedFlags & 12 /* Variable */) { + return sliceTupleType(restType, restType.target.fixedLength); + } + } + return void 0; + } + function getNonArrayRestType(signature) { + const restType = getEffectiveRestType(signature); + return restType && !isArrayType(restType) && !isTypeAny(restType) ? restType : void 0; + } + function getTypeOfFirstParameterOfSignature(signature) { + return getTypeOfFirstParameterOfSignatureWithFallback(signature, neverType); + } + function getTypeOfFirstParameterOfSignatureWithFallback(signature, fallbackType) { + return signature.parameters.length > 0 ? getTypeAtPosition(signature, 0) : fallbackType; + } + function inferFromAnnotatedParameters(signature, context, inferenceContext) { + const len = signature.parameters.length - (signatureHasRestParameter(signature) ? 1 : 0); + for (let i = 0; i < len; i++) { + const declaration = signature.parameters[i].valueDeclaration; + const typeNode = getEffectiveTypeAnnotationNode(declaration); + if (typeNode) { + const source = addOptionality( + getTypeFromTypeNode(typeNode), + /*isProperty*/ + false, + isOptionalDeclaration(declaration) + ); + const target = getTypeAtPosition(context, i); + inferTypes(inferenceContext.inferences, source, target); + } + } + } + function assignContextualParameterTypes(signature, context) { + if (context.typeParameters) { + if (!signature.typeParameters) { + signature.typeParameters = context.typeParameters; + } else { + return; + } + } + if (context.thisParameter) { + const parameter = signature.thisParameter; + if (!parameter || parameter.valueDeclaration && !parameter.valueDeclaration.type) { + if (!parameter) { + signature.thisParameter = createSymbolWithType( + context.thisParameter, + /*type*/ + void 0 + ); + } + assignParameterType(signature.thisParameter, getTypeOfSymbol(context.thisParameter)); + } + } + const len = signature.parameters.length - (signatureHasRestParameter(signature) ? 1 : 0); + for (let i = 0; i < len; i++) { + const parameter = signature.parameters[i]; + const declaration = parameter.valueDeclaration; + if (!getEffectiveTypeAnnotationNode(declaration)) { + let type = tryGetTypeAtPosition(context, i); + if (type && declaration.initializer) { + let initializerType = checkDeclarationInitializer(declaration, 0 /* Normal */); + if (!isTypeAssignableTo(initializerType, type) && isTypeAssignableTo(type, initializerType = widenTypeInferredFromInitializer(declaration, initializerType))) { + type = initializerType; + } + } + assignParameterType(parameter, type); + } + } + if (signatureHasRestParameter(signature)) { + const parameter = last(signature.parameters); + if (parameter.valueDeclaration ? !getEffectiveTypeAnnotationNode(parameter.valueDeclaration) : !!(getCheckFlags(parameter) & 65536 /* DeferredType */)) { + const contextualParameterType = getRestTypeAtPosition(context, len); + assignParameterType(parameter, contextualParameterType); + } + } + } + function assignNonContextualParameterTypes(signature) { + if (signature.thisParameter) { + assignParameterType(signature.thisParameter); + } + for (const parameter of signature.parameters) { + assignParameterType(parameter); + } + } + function assignParameterType(parameter, contextualType) { + const links = getSymbolLinks(parameter); + if (!links.type) { + const declaration = parameter.valueDeclaration; + links.type = addOptionality( + contextualType || (declaration ? getWidenedTypeForVariableLikeDeclaration( + declaration, + /*reportErrors*/ + true + ) : getTypeOfSymbol(parameter)), + /*isProperty*/ + false, + /*isOptional*/ + !!declaration && !declaration.initializer && isOptionalDeclaration(declaration) + ); + if (declaration && declaration.name.kind !== 80 /* Identifier */) { + if (links.type === unknownType) { + links.type = getTypeFromBindingPattern(declaration.name); + } + assignBindingElementTypes(declaration.name, links.type); + } + } else if (contextualType) { + Debug.assertEqual(links.type, contextualType, "Parameter symbol already has a cached type which differs from newly assigned type"); + } + } + function assignBindingElementTypes(pattern, parentType) { + for (const element of pattern.elements) { + if (!isOmittedExpression(element)) { + const type = getBindingElementTypeFromParentType( + element, + parentType, + /*noTupleBoundsCheck*/ + false + ); + if (element.name.kind === 80 /* Identifier */) { + getSymbolLinks(getSymbolOfDeclaration(element)).type = type; + } else { + assignBindingElementTypes(element.name, type); + } + } + } + } + function createClassDecoratorContextType(classType) { + return tryCreateTypeReference(getGlobalClassDecoratorContextType( + /*reportErrors*/ + true + ), [classType]); + } + function createClassMethodDecoratorContextType(thisType, valueType) { + return tryCreateTypeReference(getGlobalClassMethodDecoratorContextType( + /*reportErrors*/ + true + ), [thisType, valueType]); + } + function createClassGetterDecoratorContextType(thisType, valueType) { + return tryCreateTypeReference(getGlobalClassGetterDecoratorContextType( + /*reportErrors*/ + true + ), [thisType, valueType]); + } + function createClassSetterDecoratorContextType(thisType, valueType) { + return tryCreateTypeReference(getGlobalClassSetterDecoratorContextType( + /*reportErrors*/ + true + ), [thisType, valueType]); + } + function createClassAccessorDecoratorContextType(thisType, valueType) { + return tryCreateTypeReference(getGlobalClassAccessorDecoratorContextType( + /*reportErrors*/ + true + ), [thisType, valueType]); + } + function createClassFieldDecoratorContextType(thisType, valueType) { + return tryCreateTypeReference(getGlobalClassFieldDecoratorContextType( + /*reportErrors*/ + true + ), [thisType, valueType]); + } + function getClassMemberDecoratorContextOverrideType(nameType, isPrivate, isStatic2) { + const key = `${isPrivate ? "p" : "P"}${isStatic2 ? "s" : "S"}${nameType.id}`; + let overrideType = decoratorContextOverrideTypeCache.get(key); + if (!overrideType) { + const members = createSymbolTable(); + members.set("name", createProperty("name", nameType)); + members.set("private", createProperty("private", isPrivate ? trueType : falseType)); + members.set("static", createProperty("static", isStatic2 ? trueType : falseType)); + overrideType = createAnonymousType( + /*symbol*/ + void 0, + members, + emptyArray, + emptyArray, + emptyArray + ); + decoratorContextOverrideTypeCache.set(key, overrideType); + } + return overrideType; + } + function createClassMemberDecoratorContextTypeForNode(node, thisType, valueType) { + const isStatic2 = hasStaticModifier(node); + const isPrivate = isPrivateIdentifier(node.name); + const nameType = isPrivate ? getStringLiteralType(idText(node.name)) : getLiteralTypeFromPropertyName(node.name); + const contextType = isMethodDeclaration(node) ? createClassMethodDecoratorContextType(thisType, valueType) : isGetAccessorDeclaration(node) ? createClassGetterDecoratorContextType(thisType, valueType) : isSetAccessorDeclaration(node) ? createClassSetterDecoratorContextType(thisType, valueType) : isAutoAccessorPropertyDeclaration(node) ? createClassAccessorDecoratorContextType(thisType, valueType) : isPropertyDeclaration(node) ? createClassFieldDecoratorContextType(thisType, valueType) : Debug.failBadSyntaxKind(node); + const overrideType = getClassMemberDecoratorContextOverrideType(nameType, isPrivate, isStatic2); + return getIntersectionType([contextType, overrideType]); + } + function createClassAccessorDecoratorTargetType(thisType, valueType) { + return tryCreateTypeReference(getGlobalClassAccessorDecoratorTargetType( + /*reportErrors*/ + true + ), [thisType, valueType]); + } + function createClassAccessorDecoratorResultType(thisType, valueType) { + return tryCreateTypeReference(getGlobalClassAccessorDecoratorResultType( + /*reportErrors*/ + true + ), [thisType, valueType]); + } + function createClassFieldDecoratorInitializerMutatorType(thisType, valueType) { + const thisParam = createParameter("this", thisType); + const valueParam = createParameter("value", valueType); + return createFunctionType( + /*typeParameters*/ + void 0, + thisParam, + [valueParam], + valueType, + /*typePredicate*/ + void 0, + 1 + ); + } + function createESDecoratorCallSignature(targetType, contextType, nonOptionalReturnType) { + const targetParam = createParameter("target", targetType); + const contextParam = createParameter("context", contextType); + const returnType = getUnionType([nonOptionalReturnType, voidType]); + return createCallSignature( + /*typeParameters*/ + void 0, + /*thisParameter*/ + void 0, + [targetParam, contextParam], + returnType + ); + } + function getESDecoratorCallSignature(decorator) { + const { parent } = decorator; + const links = getNodeLinks(parent); + if (!links.decoratorSignature) { + links.decoratorSignature = anySignature; + switch (parent.kind) { + case 263 /* ClassDeclaration */: + case 231 /* ClassExpression */: { + const node = parent; + const targetType = getTypeOfSymbol(getSymbolOfDeclaration(node)); + const contextType = createClassDecoratorContextType(targetType); + links.decoratorSignature = createESDecoratorCallSignature(targetType, contextType, targetType); + break; + } + case 174 /* MethodDeclaration */: + case 177 /* GetAccessor */: + case 178 /* SetAccessor */: { + const node = parent; + if (!isClassLike(node.parent)) break; + const valueType = isMethodDeclaration(node) ? getOrCreateTypeFromSignature(getSignatureFromDeclaration(node)) : getTypeOfNode(node); + const thisType = hasStaticModifier(node) ? getTypeOfSymbol(getSymbolOfDeclaration(node.parent)) : getDeclaredTypeOfClassOrInterface(getSymbolOfDeclaration(node.parent)); + const targetType = isGetAccessorDeclaration(node) ? createGetterFunctionType(valueType) : isSetAccessorDeclaration(node) ? createSetterFunctionType(valueType) : valueType; + const contextType = createClassMemberDecoratorContextTypeForNode(node, thisType, valueType); + const returnType = isGetAccessorDeclaration(node) ? createGetterFunctionType(valueType) : isSetAccessorDeclaration(node) ? createSetterFunctionType(valueType) : valueType; + links.decoratorSignature = createESDecoratorCallSignature(targetType, contextType, returnType); + break; + } + case 172 /* PropertyDeclaration */: { + const node = parent; + if (!isClassLike(node.parent)) break; + const valueType = getTypeOfNode(node); + const thisType = hasStaticModifier(node) ? getTypeOfSymbol(getSymbolOfDeclaration(node.parent)) : getDeclaredTypeOfClassOrInterface(getSymbolOfDeclaration(node.parent)); + const targetType = hasAccessorModifier(node) ? createClassAccessorDecoratorTargetType(thisType, valueType) : undefinedType; + const contextType = createClassMemberDecoratorContextTypeForNode(node, thisType, valueType); + const returnType = hasAccessorModifier(node) ? createClassAccessorDecoratorResultType(thisType, valueType) : createClassFieldDecoratorInitializerMutatorType(thisType, valueType); + links.decoratorSignature = createESDecoratorCallSignature(targetType, contextType, returnType); + break; + } + } + } + return links.decoratorSignature === anySignature ? void 0 : links.decoratorSignature; + } + function getLegacyDecoratorCallSignature(decorator) { + const { parent } = decorator; + const links = getNodeLinks(parent); + if (!links.decoratorSignature) { + links.decoratorSignature = anySignature; + switch (parent.kind) { + case 263 /* ClassDeclaration */: + case 231 /* ClassExpression */: { + const node = parent; + const targetType = getTypeOfSymbol(getSymbolOfDeclaration(node)); + const targetParam = createParameter("target", targetType); + links.decoratorSignature = createCallSignature( + /*typeParameters*/ + void 0, + /*thisParameter*/ + void 0, + [targetParam], + getUnionType([targetType, voidType]) + ); + break; + } + case 169 /* Parameter */: { + const node = parent; + if (!isConstructorDeclaration(node.parent) && !(isMethodDeclaration(node.parent) || isSetAccessorDeclaration(node.parent) && isClassLike(node.parent.parent))) { + break; + } + if (getThisParameter(node.parent) === node) { + break; + } + const index = getThisParameter(node.parent) ? node.parent.parameters.indexOf(node) - 1 : node.parent.parameters.indexOf(node); + Debug.assert(index >= 0); + const targetType = isConstructorDeclaration(node.parent) ? getTypeOfSymbol(getSymbolOfDeclaration(node.parent.parent)) : getParentTypeOfClassElement(node.parent); + const keyType = isConstructorDeclaration(node.parent) ? undefinedType : getClassElementPropertyKeyType(node.parent); + const indexType = getNumberLiteralType(index); + const targetParam = createParameter("target", targetType); + const keyParam = createParameter("propertyKey", keyType); + const indexParam = createParameter("parameterIndex", indexType); + links.decoratorSignature = createCallSignature( + /*typeParameters*/ + void 0, + /*thisParameter*/ + void 0, + [targetParam, keyParam, indexParam], + voidType + ); + break; + } + case 174 /* MethodDeclaration */: + case 177 /* GetAccessor */: + case 178 /* SetAccessor */: + case 172 /* PropertyDeclaration */: { + const node = parent; + if (!isClassLike(node.parent)) break; + const targetType = getParentTypeOfClassElement(node); + const targetParam = createParameter("target", targetType); + const keyType = getClassElementPropertyKeyType(node); + const keyParam = createParameter("propertyKey", keyType); + const returnType = isPropertyDeclaration(node) ? voidType : createTypedPropertyDescriptorType(getTypeOfNode(node)); + const hasPropDesc = !isPropertyDeclaration(parent) || hasAccessorModifier(parent); + if (hasPropDesc) { + const descriptorType = createTypedPropertyDescriptorType(getTypeOfNode(node)); + const descriptorParam = createParameter("descriptor", descriptorType); + links.decoratorSignature = createCallSignature( + /*typeParameters*/ + void 0, + /*thisParameter*/ + void 0, + [targetParam, keyParam, descriptorParam], + getUnionType([returnType, voidType]) + ); + } else { + links.decoratorSignature = createCallSignature( + /*typeParameters*/ + void 0, + /*thisParameter*/ + void 0, + [targetParam, keyParam], + getUnionType([returnType, voidType]) + ); + } + break; + } + } + } + return links.decoratorSignature === anySignature ? void 0 : links.decoratorSignature; + } + function getDecoratorCallSignature(decorator) { + return legacyDecorators ? getLegacyDecoratorCallSignature(decorator) : getESDecoratorCallSignature(decorator); + } + function createPromiseType(promisedType) { + const globalPromiseType = getGlobalPromiseType( + /*reportErrors*/ + true + ); + if (globalPromiseType !== emptyGenericType) { + promisedType = getAwaitedTypeNoAlias(unwrapAwaitedType(promisedType)) || unknownType; + return createTypeReference(globalPromiseType, [promisedType]); + } + return unknownType; + } + function createPromiseLikeType(promisedType) { + const globalPromiseLikeType = getGlobalPromiseLikeType( + /*reportErrors*/ + true + ); + if (globalPromiseLikeType !== emptyGenericType) { + promisedType = getAwaitedTypeNoAlias(unwrapAwaitedType(promisedType)) || unknownType; + return createTypeReference(globalPromiseLikeType, [promisedType]); + } + return unknownType; + } + function createPromiseReturnType(func, promisedType) { + const promiseType = createPromiseType(promisedType); + if (promiseType === unknownType) { + error( + func, + isImportCall(func) ? Diagnostics.A_dynamic_import_call_returns_a_Promise_Make_sure_you_have_a_declaration_for_Promise_or_include_ES2015_in_your_lib_option : Diagnostics.An_async_function_or_method_must_return_a_Promise_Make_sure_you_have_a_declaration_for_Promise_or_include_ES2015_in_your_lib_option + ); + return errorType; + } else if (!getGlobalPromiseConstructorSymbol( + /*reportErrors*/ + true + )) { + error( + func, + isImportCall(func) ? Diagnostics.A_dynamic_import_call_in_ES5_requires_the_Promise_constructor_Make_sure_you_have_a_declaration_for_the_Promise_constructor_or_include_ES2015_in_your_lib_option : Diagnostics.An_async_function_or_method_in_ES5_requires_the_Promise_constructor_Make_sure_you_have_a_declaration_for_the_Promise_constructor_or_include_ES2015_in_your_lib_option + ); + } + return promiseType; + } + function createNewTargetExpressionType(targetType) { + const symbol = createSymbol(0 /* None */, "NewTargetExpression"); + const targetPropertySymbol = createSymbol(4 /* Property */, "target", 8 /* Readonly */); + targetPropertySymbol.parent = symbol; + targetPropertySymbol.links.type = targetType; + const members = createSymbolTable([targetPropertySymbol]); + symbol.members = members; + return createAnonymousType(symbol, members, emptyArray, emptyArray, emptyArray); + } + function getReturnTypeFromBody(func, checkMode) { + if (!func.body) { + return errorType; + } + const functionFlags = getFunctionFlags(func); + const isAsync = (functionFlags & 2 /* Async */) !== 0; + const isGenerator = (functionFlags & 1 /* Generator */) !== 0; + let returnType; + let yieldType; + let nextType; + let fallbackReturnType = voidType; + if (func.body.kind !== 241 /* Block */) { + returnType = checkExpressionCached(func.body, checkMode && checkMode & ~8 /* SkipGenericFunctions */); + if (isAsync) { + returnType = unwrapAwaitedType(checkAwaitedType( + returnType, + /*withAlias*/ + false, + /*errorNode*/ + func, + Diagnostics.The_return_type_of_an_async_function_must_either_be_a_valid_promise_or_must_not_contain_a_callable_then_member + )); + } + } else if (isGenerator) { + const returnTypes = checkAndAggregateReturnExpressionTypes(func, checkMode); + if (!returnTypes) { + fallbackReturnType = neverType; + } else if (returnTypes.length > 0) { + returnType = getUnionType(returnTypes, 2 /* Subtype */); + } + const { yieldTypes, nextTypes } = checkAndAggregateYieldOperandTypes(func, checkMode); + yieldType = some(yieldTypes) ? getUnionType(yieldTypes, 2 /* Subtype */) : void 0; + nextType = some(nextTypes) ? getIntersectionType(nextTypes) : void 0; + } else { + const types = checkAndAggregateReturnExpressionTypes(func, checkMode); + if (!types) { + return functionFlags & 2 /* Async */ ? createPromiseReturnType(func, neverType) : neverType; + } + if (types.length === 0) { + const contextualReturnType = getContextualReturnType( + func, + /*contextFlags*/ + void 0 + ); + const returnType2 = contextualReturnType && (unwrapReturnType(contextualReturnType, functionFlags) || voidType).flags & 32768 /* Undefined */ ? undefinedType : voidType; + return functionFlags & 2 /* Async */ ? createPromiseReturnType(func, returnType2) : ( + // Async function + returnType2 + ); + } + returnType = getUnionType(types, 2 /* Subtype */); + } + if (returnType || yieldType || nextType) { + if (yieldType) reportErrorsFromWidening(func, yieldType, 3 /* GeneratorYield */); + if (returnType) reportErrorsFromWidening(func, returnType, 1 /* FunctionReturn */); + if (nextType) reportErrorsFromWidening(func, nextType, 2 /* GeneratorNext */); + if (returnType && isUnitType(returnType) || yieldType && isUnitType(yieldType) || nextType && isUnitType(nextType)) { + const contextualSignature = getContextualSignatureForFunctionLikeDeclaration(func); + const contextualType = !contextualSignature ? void 0 : contextualSignature === getSignatureFromDeclaration(func) ? isGenerator ? void 0 : returnType : instantiateContextualType( + getReturnTypeOfSignature(contextualSignature), + func, + /*contextFlags*/ + void 0 + ); + if (isGenerator) { + yieldType = getWidenedLiteralLikeTypeForContextualIterationTypeIfNeeded(yieldType, contextualType, 0 /* Yield */, isAsync); + returnType = getWidenedLiteralLikeTypeForContextualIterationTypeIfNeeded(returnType, contextualType, 1 /* Return */, isAsync); + nextType = getWidenedLiteralLikeTypeForContextualIterationTypeIfNeeded(nextType, contextualType, 2 /* Next */, isAsync); + } else { + returnType = getWidenedLiteralLikeTypeForContextualReturnTypeIfNeeded(returnType, contextualType, isAsync); + } + } + if (yieldType) yieldType = getWidenedType(yieldType); + if (returnType) returnType = getWidenedType(returnType); + if (nextType) nextType = getWidenedType(nextType); + } + if (isGenerator) { + return createGeneratorType( + yieldType || neverType, + returnType || fallbackReturnType, + nextType || getContextualIterationType(2 /* Next */, func) || unknownType, + isAsync + ); + } else { + return isAsync ? createPromiseType(returnType || fallbackReturnType) : returnType || fallbackReturnType; + } + } + function createGeneratorType(yieldType, returnType, nextType, isAsyncGenerator) { + const resolver = isAsyncGenerator ? asyncIterationTypesResolver : syncIterationTypesResolver; + const globalGeneratorType = resolver.getGlobalGeneratorType( + /*reportErrors*/ + false + ); + yieldType = resolver.resolveIterationType( + yieldType, + /*errorNode*/ + void 0 + ) || unknownType; + returnType = resolver.resolveIterationType( + returnType, + /*errorNode*/ + void 0 + ) || unknownType; + if (globalGeneratorType === emptyGenericType) { + const globalIterableIteratorType = resolver.getGlobalIterableIteratorType( + /*reportErrors*/ + false + ); + if (globalIterableIteratorType !== emptyGenericType) { + return createTypeFromGenericGlobalType(globalIterableIteratorType, [yieldType, returnType, nextType]); + } + resolver.getGlobalIterableIteratorType( + /*reportErrors*/ + true + ); + return emptyObjectType; + } + return createTypeFromGenericGlobalType(globalGeneratorType, [yieldType, returnType, nextType]); + } + function checkAndAggregateYieldOperandTypes(func, checkMode) { + const yieldTypes = []; + const nextTypes = []; + const isAsync = (getFunctionFlags(func) & 2 /* Async */) !== 0; + forEachYieldExpression(func.body, (yieldExpression) => { + const yieldExpressionType = yieldExpression.expression ? checkExpression(yieldExpression.expression, checkMode) : undefinedWideningType; + pushIfUnique(yieldTypes, getYieldedTypeOfYieldExpression(yieldExpression, yieldExpressionType, anyType, isAsync)); + let nextType; + if (yieldExpression.asteriskToken) { + const iterationTypes = getIterationTypesOfIterable( + yieldExpressionType, + isAsync ? 19 /* AsyncYieldStar */ : 17 /* YieldStar */, + yieldExpression.expression + ); + nextType = iterationTypes && iterationTypes.nextType; + } else { + nextType = getContextualType( + yieldExpression, + /*contextFlags*/ + void 0 + ); + } + if (nextType) pushIfUnique(nextTypes, nextType); + }); + return { yieldTypes, nextTypes }; + } + function getYieldedTypeOfYieldExpression(node, expressionType, sentType, isAsync) { + const errorNode = node.expression || node; + const yieldedType = node.asteriskToken ? checkIteratedTypeOrElementType(isAsync ? 19 /* AsyncYieldStar */ : 17 /* YieldStar */, expressionType, sentType, errorNode) : expressionType; + return !isAsync ? yieldedType : getAwaitedType( + yieldedType, + errorNode, + node.asteriskToken ? Diagnostics.Type_of_iterated_elements_of_a_yield_Asterisk_operand_must_either_be_a_valid_promise_or_must_not_contain_a_callable_then_member : Diagnostics.Type_of_yield_operand_in_an_async_generator_must_either_be_a_valid_promise_or_must_not_contain_a_callable_then_member + ); + } + function getNotEqualFactsFromTypeofSwitch(start, end, witnesses) { + let facts = 0 /* None */; + for (let i = 0; i < witnesses.length; i++) { + const witness = i < start || i >= end ? witnesses[i] : void 0; + facts |= witness !== void 0 ? typeofNEFacts.get(witness) || 32768 /* TypeofNEHostObject */ : 0; + } + return facts; + } + function isExhaustiveSwitchStatement(node) { + const links = getNodeLinks(node); + if (links.isExhaustive === void 0) { + links.isExhaustive = 0; + const exhaustive = computeExhaustiveSwitchStatement(node); + if (links.isExhaustive === 0) { + links.isExhaustive = exhaustive; + } + } else if (links.isExhaustive === 0) { + links.isExhaustive = false; + } + return links.isExhaustive; + } + function computeExhaustiveSwitchStatement(node) { + if (node.expression.kind === 221 /* TypeOfExpression */) { + const witnesses = getSwitchClauseTypeOfWitnesses(node); + if (!witnesses) { + return false; + } + const operandConstraint = getBaseConstraintOrType(checkExpressionCached(node.expression.expression)); + const notEqualFacts = getNotEqualFactsFromTypeofSwitch(0, 0, witnesses); + if (operandConstraint.flags & 3 /* AnyOrUnknown */) { + return (556800 /* AllTypeofNE */ & notEqualFacts) === 556800 /* AllTypeofNE */; + } + return !someType(operandConstraint, (t) => getTypeFacts(t, notEqualFacts) === notEqualFacts); + } + const type = checkExpressionCached(node.expression); + if (!isLiteralType(type)) { + return false; + } + const switchTypes = getSwitchClauseTypes(node); + if (!switchTypes.length || some(switchTypes, isNeitherUnitTypeNorNever)) { + return false; + } + return eachTypeContainedIn(mapType(type, getRegularTypeOfLiteralType), switchTypes); + } + function functionHasImplicitReturn(func) { + return func.endFlowNode && isReachableFlowNode(func.endFlowNode); + } + function checkAndAggregateReturnExpressionTypes(func, checkMode) { + const functionFlags = getFunctionFlags(func); + const aggregatedTypes = []; + let hasReturnWithNoExpression = functionHasImplicitReturn(func); + let hasReturnOfTypeNever = false; + forEachReturnStatement(func.body, (returnStatement) => { + let expr = returnStatement.expression; + if (expr) { + expr = skipParentheses( + expr, + /*excludeJSDocTypeAssertions*/ + true + ); + if (functionFlags & 2 /* Async */ && expr.kind === 223 /* AwaitExpression */) { + expr = skipParentheses( + expr.expression, + /*excludeJSDocTypeAssertions*/ + true + ); + } + if (expr.kind === 213 /* CallExpression */ && expr.expression.kind === 80 /* Identifier */ && checkExpressionCached(expr.expression).symbol === getMergedSymbol(func.symbol) && (!isFunctionExpressionOrArrowFunction(func.symbol.valueDeclaration) || isConstantReference(expr.expression))) { + hasReturnOfTypeNever = true; + return; + } + let type = checkExpressionCached(expr, checkMode && checkMode & ~8 /* SkipGenericFunctions */); + if (functionFlags & 2 /* Async */) { + type = unwrapAwaitedType(checkAwaitedType( + type, + /*withAlias*/ + false, + func, + Diagnostics.The_return_type_of_an_async_function_must_either_be_a_valid_promise_or_must_not_contain_a_callable_then_member + )); + } + if (type.flags & 131072 /* Never */) { + hasReturnOfTypeNever = true; + } + pushIfUnique(aggregatedTypes, type); + } else { + hasReturnWithNoExpression = true; + } + }); + if (aggregatedTypes.length === 0 && !hasReturnWithNoExpression && (hasReturnOfTypeNever || mayReturnNever(func))) { + return void 0; + } + if (strictNullChecks && aggregatedTypes.length && hasReturnWithNoExpression && !(isJSConstructor(func) && aggregatedTypes.some((t) => t.symbol === func.symbol))) { + pushIfUnique(aggregatedTypes, undefinedType); + } + return aggregatedTypes; + } + function mayReturnNever(func) { + switch (func.kind) { + case 218 /* FunctionExpression */: + case 219 /* ArrowFunction */: + return true; + case 174 /* MethodDeclaration */: + return func.parent.kind === 210 /* ObjectLiteralExpression */; + default: + return false; + } + } + function getTypePredicateFromBody(func) { + switch (func.kind) { + case 176 /* Constructor */: + case 177 /* GetAccessor */: + case 178 /* SetAccessor */: + return void 0; + } + const functionFlags = getFunctionFlags(func); + if (functionFlags !== 0 /* Normal */) return void 0; + let singleReturn; + if (func.body && func.body.kind !== 241 /* Block */) { + singleReturn = func.body; + } else { + const bailedEarly = forEachReturnStatement(func.body, (returnStatement) => { + if (singleReturn || !returnStatement.expression) return true; + singleReturn = returnStatement.expression; + }); + if (bailedEarly || !singleReturn || functionHasImplicitReturn(func)) return void 0; + } + return checkIfExpressionRefinesAnyParameter(func, singleReturn); + } + function checkIfExpressionRefinesAnyParameter(func, expr) { + expr = skipParentheses( + expr, + /*excludeJSDocTypeAssertions*/ + true + ); + const returnType = checkExpressionCached(expr); + if (!(returnType.flags & 16 /* Boolean */)) return void 0; + return forEach(func.parameters, (param, i) => { + const initType = getTypeOfSymbol(param.symbol); + if (!initType || initType.flags & 16 /* Boolean */ || !isIdentifier(param.name) || isSymbolAssigned(param.symbol) || isRestParameter(param)) { + return; + } + const trueType2 = checkIfExpressionRefinesParameter(func, expr, param, initType); + if (trueType2) { + return createTypePredicate(1 /* Identifier */, unescapeLeadingUnderscores(param.name.escapedText), i, trueType2); + } + }); + } + function checkIfExpressionRefinesParameter(func, expr, param, initType) { + const antecedent = canHaveFlowNode(expr) && expr.flowNode || expr.parent.kind === 253 /* ReturnStatement */ && expr.parent.flowNode || createFlowNode( + 2 /* Start */, + /*node*/ + void 0, + /*antecedent*/ + void 0 + ); + const trueCondition = createFlowNode(32 /* TrueCondition */, expr, antecedent); + const trueType2 = getFlowTypeOfReference(param.name, initType, initType, func, trueCondition); + if (trueType2 === initType) return void 0; + const falseCondition = createFlowNode(64 /* FalseCondition */, expr, antecedent); + const falseSubtype = getFlowTypeOfReference(param.name, initType, trueType2, func, falseCondition); + return falseSubtype.flags & 131072 /* Never */ ? trueType2 : void 0; + } + function checkAllCodePathsInNonVoidFunctionReturnOrThrow(func, returnType) { + addLazyDiagnostic(checkAllCodePathsInNonVoidFunctionReturnOrThrowDiagnostics); + return; + function checkAllCodePathsInNonVoidFunctionReturnOrThrowDiagnostics() { + const functionFlags = getFunctionFlags(func); + const type = returnType && unwrapReturnType(returnType, functionFlags); + if (type && (maybeTypeOfKind(type, 16384 /* Void */) || type.flags & (1 /* Any */ | 32768 /* Undefined */))) { + return; + } + if (func.kind === 173 /* MethodSignature */ || nodeIsMissing(func.body) || func.body.kind !== 241 /* Block */ || !functionHasImplicitReturn(func)) { + return; + } + const hasExplicitReturn = func.flags & 1024 /* HasExplicitReturn */; + const errorNode = getEffectiveReturnTypeNode(func) || func; + if (type && type.flags & 131072 /* Never */) { + error(errorNode, Diagnostics.A_function_returning_never_cannot_have_a_reachable_end_point); + } else if (type && !hasExplicitReturn) { + error(errorNode, Diagnostics.A_function_whose_declared_type_is_neither_undefined_void_nor_any_must_return_a_value); + } else if (type && strictNullChecks && !isTypeAssignableTo(undefinedType, type)) { + error(errorNode, Diagnostics.Function_lacks_ending_return_statement_and_return_type_does_not_include_undefined); + } else if (compilerOptions.noImplicitReturns) { + if (!type) { + if (!hasExplicitReturn) { + return; + } + const inferredReturnType = getReturnTypeOfSignature(getSignatureFromDeclaration(func)); + if (isUnwrappedReturnTypeUndefinedVoidOrAny(func, inferredReturnType)) { + return; + } + } + error(errorNode, Diagnostics.Not_all_code_paths_return_a_value); + } + } + } + function checkFunctionExpressionOrObjectLiteralMethod(node, checkMode) { + Debug.assert(node.kind !== 174 /* MethodDeclaration */ || isObjectLiteralMethod(node)); + checkNodeDeferred(node); + if (isFunctionExpression(node)) { + checkCollisionsForDeclarationName(node, node.name); + } + if (checkMode && checkMode & 4 /* SkipContextSensitive */ && isContextSensitive(node)) { + if (!getEffectiveReturnTypeNode(node) && !hasContextSensitiveParameters(node)) { + const contextualSignature = getContextualSignature(node); + if (contextualSignature && couldContainTypeVariables(getReturnTypeOfSignature(contextualSignature))) { + const links = getNodeLinks(node); + if (links.contextFreeType) { + return links.contextFreeType; + } + const returnType = getReturnTypeFromBody(node, checkMode); + const returnOnlySignature = createSignature( + /*declaration*/ + void 0, + /*typeParameters*/ + void 0, + /*thisParameter*/ + void 0, + emptyArray, + returnType, + /*resolvedTypePredicate*/ + void 0, + 0, + 64 /* IsNonInferrable */ + ); + const returnOnlyType = createAnonymousType(node.symbol, emptySymbols, [returnOnlySignature], emptyArray, emptyArray); + returnOnlyType.objectFlags |= 262144 /* NonInferrableType */; + return links.contextFreeType = returnOnlyType; + } + } + return anyFunctionType; + } + const hasGrammarError = checkGrammarFunctionLikeDeclaration(node); + if (!hasGrammarError && node.kind === 218 /* FunctionExpression */) { + checkGrammarForGenerator(node); + } + contextuallyCheckFunctionExpressionOrObjectLiteralMethod(node, checkMode); + return getTypeOfSymbol(getSymbolOfDeclaration(node)); + } + function contextuallyCheckFunctionExpressionOrObjectLiteralMethod(node, checkMode) { + const links = getNodeLinks(node); + if (!(links.flags & 64 /* ContextChecked */)) { + const contextualSignature = getContextualSignature(node); + if (!(links.flags & 64 /* ContextChecked */)) { + links.flags |= 64 /* ContextChecked */; + const signature = firstOrUndefined(getSignaturesOfType(getTypeOfSymbol(getSymbolOfDeclaration(node)), 0 /* Call */)); + if (!signature) { + return; + } + if (isContextSensitive(node)) { + if (contextualSignature) { + const inferenceContext = getInferenceContext(node); + let instantiatedContextualSignature; + if (checkMode && checkMode & 2 /* Inferential */) { + inferFromAnnotatedParameters(signature, contextualSignature, inferenceContext); + const restType = getEffectiveRestType(contextualSignature); + if (restType && restType.flags & 262144 /* TypeParameter */) { + instantiatedContextualSignature = instantiateSignature(contextualSignature, inferenceContext.nonFixingMapper); + } + } + instantiatedContextualSignature || (instantiatedContextualSignature = inferenceContext ? instantiateSignature(contextualSignature, inferenceContext.mapper) : contextualSignature); + assignContextualParameterTypes(signature, instantiatedContextualSignature); + } else { + assignNonContextualParameterTypes(signature); + } + } else if (contextualSignature && !node.typeParameters && contextualSignature.parameters.length > node.parameters.length) { + const inferenceContext = getInferenceContext(node); + if (checkMode && checkMode & 2 /* Inferential */) { + inferFromAnnotatedParameters(signature, contextualSignature, inferenceContext); + } + } + if (contextualSignature && !getReturnTypeFromAnnotation(node) && !signature.resolvedReturnType) { + const returnType = getReturnTypeFromBody(node, checkMode); + if (!signature.resolvedReturnType) { + signature.resolvedReturnType = returnType; + } + } + checkSignatureDeclaration(node); + } + } + } + function checkFunctionExpressionOrObjectLiteralMethodDeferred(node) { + Debug.assert(node.kind !== 174 /* MethodDeclaration */ || isObjectLiteralMethod(node)); + const functionFlags = getFunctionFlags(node); + const returnType = getReturnTypeFromAnnotation(node); + checkAllCodePathsInNonVoidFunctionReturnOrThrow(node, returnType); + if (node.body) { + if (!getEffectiveReturnTypeNode(node)) { + getReturnTypeOfSignature(getSignatureFromDeclaration(node)); + } + if (node.body.kind === 241 /* Block */) { + checkSourceElement(node.body); + } else { + const exprType = checkExpression(node.body); + const returnOrPromisedType = returnType && unwrapReturnType(returnType, functionFlags); + if (returnOrPromisedType) { + const effectiveCheckNode = getEffectiveCheckNode(node.body); + if ((functionFlags & 3 /* AsyncGenerator */) === 2 /* Async */) { + const awaitedType = checkAwaitedType( + exprType, + /*withAlias*/ + false, + effectiveCheckNode, + Diagnostics.The_return_type_of_an_async_function_must_either_be_a_valid_promise_or_must_not_contain_a_callable_then_member + ); + checkTypeAssignableToAndOptionallyElaborate(awaitedType, returnOrPromisedType, effectiveCheckNode, effectiveCheckNode); + } else { + checkTypeAssignableToAndOptionallyElaborate(exprType, returnOrPromisedType, effectiveCheckNode, effectiveCheckNode); + } + } + } + } + } + function checkArithmeticOperandType(operand, type, diagnostic, isAwaitValid = false) { + if (!isTypeAssignableTo(type, numberOrBigIntType)) { + const awaitedType = isAwaitValid && getAwaitedTypeOfPromise(type); + errorAndMaybeSuggestAwait( + operand, + !!awaitedType && isTypeAssignableTo(awaitedType, numberOrBigIntType), + diagnostic + ); + return false; + } + return true; + } + function isReadonlyAssignmentDeclaration(d) { + if (!isCallExpression(d)) { + return false; + } + if (!isBindableObjectDefinePropertyCall(d)) { + return false; + } + const objectLitType = checkExpressionCached(d.arguments[2]); + const valueType = getTypeOfPropertyOfType(objectLitType, "value"); + if (valueType) { + const writableProp = getPropertyOfType(objectLitType, "writable"); + const writableType = writableProp && getTypeOfSymbol(writableProp); + if (!writableType || writableType === falseType || writableType === regularFalseType) { + return true; + } + if (writableProp && writableProp.valueDeclaration && isPropertyAssignment(writableProp.valueDeclaration)) { + const initializer = writableProp.valueDeclaration.initializer; + const rawOriginalType = checkExpression(initializer); + if (rawOriginalType === falseType || rawOriginalType === regularFalseType) { + return true; + } + } + return false; + } + const setProp = getPropertyOfType(objectLitType, "set"); + return !setProp; + } + function isReadonlySymbol(symbol) { + return !!(getCheckFlags(symbol) & 8 /* Readonly */ || symbol.flags & 4 /* Property */ && getDeclarationModifierFlagsFromSymbol(symbol) & 8 /* Readonly */ || symbol.flags & 3 /* Variable */ && getDeclarationNodeFlagsFromSymbol(symbol) & 6 /* Constant */ || symbol.flags & 98304 /* Accessor */ && !(symbol.flags & 65536 /* SetAccessor */) || symbol.flags & 8 /* EnumMember */ || some(symbol.declarations, isReadonlyAssignmentDeclaration)); + } + function isAssignmentToReadonlyEntity(expr, symbol, assignmentKind) { + var _a, _b; + if (assignmentKind === 0 /* None */) { + return false; + } + if (isReadonlySymbol(symbol)) { + if (symbol.flags & 4 /* Property */ && isAccessExpression(expr) && expr.expression.kind === 110 /* ThisKeyword */) { + const ctor = getContainingFunction(expr); + if (!(ctor && (ctor.kind === 176 /* Constructor */ || isJSConstructor(ctor)))) { + return true; + } + if (symbol.valueDeclaration) { + const isAssignmentDeclaration2 = isBinaryExpression(symbol.valueDeclaration); + const isLocalPropertyDeclaration = ctor.parent === symbol.valueDeclaration.parent; + const isLocalParameterProperty = ctor === symbol.valueDeclaration.parent; + const isLocalThisPropertyAssignment = isAssignmentDeclaration2 && ((_a = symbol.parent) == null ? void 0 : _a.valueDeclaration) === ctor.parent; + const isLocalThisPropertyAssignmentConstructorFunction = isAssignmentDeclaration2 && ((_b = symbol.parent) == null ? void 0 : _b.valueDeclaration) === ctor; + const isWriteableSymbol = isLocalPropertyDeclaration || isLocalParameterProperty || isLocalThisPropertyAssignment || isLocalThisPropertyAssignmentConstructorFunction; + return !isWriteableSymbol; + } + } + return true; + } + if (isAccessExpression(expr)) { + const node = skipParentheses(expr.expression); + if (node.kind === 80 /* Identifier */) { + const symbol2 = getNodeLinks(node).resolvedSymbol; + if (symbol2.flags & 2097152 /* Alias */) { + const declaration = getDeclarationOfAliasSymbol(symbol2); + return !!declaration && declaration.kind === 274 /* NamespaceImport */; + } + } + } + return false; + } + function checkReferenceExpression(expr, invalidReferenceMessage, invalidOptionalChainMessage) { + const node = skipOuterExpressions(expr, 6 /* Assertions */ | 1 /* Parentheses */); + if (node.kind !== 80 /* Identifier */ && !isAccessExpression(node)) { + error(expr, invalidReferenceMessage); + return false; + } + if (node.flags & 64 /* OptionalChain */) { + error(expr, invalidOptionalChainMessage); + return false; + } + return true; + } + function checkDeleteExpression(node) { + checkExpression(node.expression); + const expr = skipParentheses(node.expression); + if (!isAccessExpression(expr)) { + error(expr, Diagnostics.The_operand_of_a_delete_operator_must_be_a_property_reference); + return booleanType; + } + if (isPropertyAccessExpression(expr) && isPrivateIdentifier(expr.name)) { + error(expr, Diagnostics.The_operand_of_a_delete_operator_cannot_be_a_private_identifier); + } + const links = getNodeLinks(expr); + const symbol = getExportSymbolOfValueSymbolIfExported(links.resolvedSymbol); + if (symbol) { + if (isReadonlySymbol(symbol)) { + error(expr, Diagnostics.The_operand_of_a_delete_operator_cannot_be_a_read_only_property); + } else { + checkDeleteExpressionMustBeOptional(expr, symbol); + } + } + return booleanType; + } + function checkDeleteExpressionMustBeOptional(expr, symbol) { + const type = getTypeOfSymbol(symbol); + if (strictNullChecks && !(type.flags & (3 /* AnyOrUnknown */ | 131072 /* Never */)) && !(exactOptionalPropertyTypes ? symbol.flags & 16777216 /* Optional */ : hasTypeFacts(type, 16777216 /* IsUndefined */))) { + error(expr, Diagnostics.The_operand_of_a_delete_operator_must_be_optional); + } + } + function checkTypeOfExpression(node) { + checkExpression(node.expression); + return typeofType; + } + function checkVoidExpression(node) { + checkNodeDeferred(node); + return undefinedWideningType; + } + function checkAwaitGrammar(node) { + let hasError = false; + const container = getContainingFunctionOrClassStaticBlock(node); + if (container && isClassStaticBlockDeclaration(container)) { + const message = isAwaitExpression(node) ? Diagnostics.await_expression_cannot_be_used_inside_a_class_static_block : Diagnostics.await_using_statements_cannot_be_used_inside_a_class_static_block; + error(node, message); + hasError = true; + } else if (!(node.flags & 65536 /* AwaitContext */)) { + if (isInTopLevelContext(node)) { + const sourceFile = getSourceFileOfNode(node); + if (!hasParseDiagnostics(sourceFile)) { + let span; + if (!isEffectiveExternalModule(sourceFile, compilerOptions)) { + span ?? (span = getSpanOfTokenAtPosition(sourceFile, node.pos)); + const message = isAwaitExpression(node) ? 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 : Diagnostics.await_using_statements_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; + const diagnostic = createFileDiagnostic(sourceFile, span.start, span.length, message); + diagnostics.add(diagnostic); + hasError = true; + } + switch (moduleKind) { + case 100 /* Node16 */: + case 199 /* NodeNext */: + if (sourceFile.impliedNodeFormat === 1 /* CommonJS */) { + span ?? (span = getSpanOfTokenAtPosition(sourceFile, node.pos)); + diagnostics.add( + createFileDiagnostic(sourceFile, span.start, span.length, Diagnostics.The_current_file_is_a_CommonJS_module_and_cannot_use_await_at_the_top_level) + ); + hasError = true; + break; + } + // fallthrough + case 7 /* ES2022 */: + case 99 /* ESNext */: + case 200 /* Preserve */: + case 4 /* System */: + if (languageVersion >= 4 /* ES2017 */) { + break; + } + // fallthrough + default: + span ?? (span = getSpanOfTokenAtPosition(sourceFile, node.pos)); + const message = isAwaitExpression(node) ? Diagnostics.Top_level_await_expressions_are_only_allowed_when_the_module_option_is_set_to_es2022_esnext_system_node16_nodenext_or_preserve_and_the_target_option_is_set_to_es2017_or_higher : Diagnostics.Top_level_await_using_statements_are_only_allowed_when_the_module_option_is_set_to_es2022_esnext_system_node16_nodenext_or_preserve_and_the_target_option_is_set_to_es2017_or_higher; + diagnostics.add(createFileDiagnostic(sourceFile, span.start, span.length, message)); + hasError = true; + break; + } + } + } else { + const sourceFile = getSourceFileOfNode(node); + if (!hasParseDiagnostics(sourceFile)) { + const span = getSpanOfTokenAtPosition(sourceFile, node.pos); + const message = isAwaitExpression(node) ? Diagnostics.await_expressions_are_only_allowed_within_async_functions_and_at_the_top_levels_of_modules : Diagnostics.await_using_statements_are_only_allowed_within_async_functions_and_at_the_top_levels_of_modules; + const diagnostic = createFileDiagnostic(sourceFile, span.start, span.length, message); + if (container && container.kind !== 176 /* Constructor */ && (getFunctionFlags(container) & 2 /* Async */) === 0) { + const relatedInfo = createDiagnosticForNode(container, Diagnostics.Did_you_mean_to_mark_this_function_as_async); + addRelatedInfo(diagnostic, relatedInfo); + } + diagnostics.add(diagnostic); + hasError = true; + } + } + } + if (isAwaitExpression(node) && isInParameterInitializerBeforeContainingFunction(node)) { + error(node, Diagnostics.await_expressions_cannot_be_used_in_a_parameter_initializer); + hasError = true; + } + return hasError; + } + function checkAwaitExpression(node) { + addLazyDiagnostic(() => checkAwaitGrammar(node)); + const operandType = checkExpression(node.expression); + const awaitedType = checkAwaitedType( + operandType, + /*withAlias*/ + true, + node, + Diagnostics.Type_of_await_operand_must_either_be_a_valid_promise_or_must_not_contain_a_callable_then_member + ); + if (awaitedType === operandType && !isErrorType(awaitedType) && !(operandType.flags & 3 /* AnyOrUnknown */)) { + addErrorOrSuggestion( + /*isError*/ + false, + createDiagnosticForNode(node, Diagnostics.await_has_no_effect_on_the_type_of_this_expression) + ); + } + return awaitedType; + } + function checkPrefixUnaryExpression(node) { + const operandType = checkExpression(node.operand); + if (operandType === silentNeverType) { + return silentNeverType; + } + switch (node.operand.kind) { + case 9 /* NumericLiteral */: + switch (node.operator) { + case 41 /* MinusToken */: + return getFreshTypeOfLiteralType(getNumberLiteralType(-node.operand.text)); + case 40 /* PlusToken */: + return getFreshTypeOfLiteralType(getNumberLiteralType(+node.operand.text)); + } + break; + case 10 /* BigIntLiteral */: + if (node.operator === 41 /* MinusToken */) { + return getFreshTypeOfLiteralType(getBigIntLiteralType({ + negative: true, + base10Value: parsePseudoBigInt(node.operand.text) + })); + } + } + switch (node.operator) { + case 40 /* PlusToken */: + case 41 /* MinusToken */: + case 55 /* TildeToken */: + checkNonNullType(operandType, node.operand); + if (maybeTypeOfKindConsideringBaseConstraint(operandType, 12288 /* ESSymbolLike */)) { + error(node.operand, Diagnostics.The_0_operator_cannot_be_applied_to_type_symbol, tokenToString(node.operator)); + } + if (node.operator === 40 /* PlusToken */) { + if (maybeTypeOfKindConsideringBaseConstraint(operandType, 2112 /* BigIntLike */)) { + error(node.operand, Diagnostics.Operator_0_cannot_be_applied_to_type_1, tokenToString(node.operator), typeToString(getBaseTypeOfLiteralType(operandType))); + } + return numberType; + } + return getUnaryResultType(operandType); + case 54 /* ExclamationToken */: + checkTruthinessOfType(operandType, node.operand); + const facts = getTypeFacts(operandType, 4194304 /* Truthy */ | 8388608 /* Falsy */); + return facts === 4194304 /* Truthy */ ? falseType : facts === 8388608 /* Falsy */ ? trueType : booleanType; + case 46 /* PlusPlusToken */: + case 47 /* MinusMinusToken */: + const ok = checkArithmeticOperandType(node.operand, checkNonNullType(operandType, node.operand), Diagnostics.An_arithmetic_operand_must_be_of_type_any_number_bigint_or_an_enum_type); + if (ok) { + checkReferenceExpression( + node.operand, + Diagnostics.The_operand_of_an_increment_or_decrement_operator_must_be_a_variable_or_a_property_access, + Diagnostics.The_operand_of_an_increment_or_decrement_operator_may_not_be_an_optional_property_access + ); + } + return getUnaryResultType(operandType); + } + return errorType; + } + function checkPostfixUnaryExpression(node) { + const operandType = checkExpression(node.operand); + if (operandType === silentNeverType) { + return silentNeverType; + } + const ok = checkArithmeticOperandType( + node.operand, + checkNonNullType(operandType, node.operand), + Diagnostics.An_arithmetic_operand_must_be_of_type_any_number_bigint_or_an_enum_type + ); + if (ok) { + checkReferenceExpression( + node.operand, + Diagnostics.The_operand_of_an_increment_or_decrement_operator_must_be_a_variable_or_a_property_access, + Diagnostics.The_operand_of_an_increment_or_decrement_operator_may_not_be_an_optional_property_access + ); + } + return getUnaryResultType(operandType); + } + function getUnaryResultType(operandType) { + if (maybeTypeOfKind(operandType, 2112 /* BigIntLike */)) { + return isTypeAssignableToKind(operandType, 3 /* AnyOrUnknown */) || maybeTypeOfKind(operandType, 296 /* NumberLike */) ? numberOrBigIntType : bigintType; + } + return numberType; + } + function maybeTypeOfKindConsideringBaseConstraint(type, kind) { + if (maybeTypeOfKind(type, kind)) { + return true; + } + const baseConstraint = getBaseConstraintOrType(type); + return !!baseConstraint && maybeTypeOfKind(baseConstraint, kind); + } + function maybeTypeOfKind(type, kind) { + if (type.flags & kind) { + return true; + } + if (type.flags & 3145728 /* UnionOrIntersection */) { + const types = type.types; + for (const t of types) { + if (maybeTypeOfKind(t, kind)) { + return true; + } + } + } + return false; + } + function isTypeAssignableToKind(source, kind, strict) { + if (source.flags & kind) { + return true; + } + if (strict && source.flags & (3 /* AnyOrUnknown */ | 16384 /* Void */ | 32768 /* Undefined */ | 65536 /* Null */)) { + return false; + } + return !!(kind & 296 /* NumberLike */) && isTypeAssignableTo(source, numberType) || !!(kind & 2112 /* BigIntLike */) && isTypeAssignableTo(source, bigintType) || !!(kind & 402653316 /* StringLike */) && isTypeAssignableTo(source, stringType) || !!(kind & 528 /* BooleanLike */) && isTypeAssignableTo(source, booleanType) || !!(kind & 16384 /* Void */) && isTypeAssignableTo(source, voidType) || !!(kind & 131072 /* Never */) && isTypeAssignableTo(source, neverType) || !!(kind & 65536 /* Null */) && isTypeAssignableTo(source, nullType) || !!(kind & 32768 /* Undefined */) && isTypeAssignableTo(source, undefinedType) || !!(kind & 4096 /* ESSymbol */) && isTypeAssignableTo(source, esSymbolType) || !!(kind & 67108864 /* NonPrimitive */) && isTypeAssignableTo(source, nonPrimitiveType); + } + function allTypesAssignableToKind(source, kind, strict) { + return source.flags & 1048576 /* Union */ ? every(source.types, (subType) => allTypesAssignableToKind(subType, kind, strict)) : isTypeAssignableToKind(source, kind, strict); + } + function isConstEnumObjectType(type) { + return !!(getObjectFlags(type) & 16 /* Anonymous */) && !!type.symbol && isConstEnumSymbol(type.symbol); + } + function isConstEnumSymbol(symbol) { + return (symbol.flags & 128 /* ConstEnum */) !== 0; + } + function getSymbolHasInstanceMethodOfObjectType(type) { + const hasInstancePropertyName = getPropertyNameForKnownSymbolName("hasInstance"); + if (allTypesAssignableToKind(type, 67108864 /* NonPrimitive */)) { + const hasInstanceProperty = getPropertyOfType(type, hasInstancePropertyName); + if (hasInstanceProperty) { + const hasInstancePropertyType = getTypeOfSymbol(hasInstanceProperty); + if (hasInstancePropertyType && getSignaturesOfType(hasInstancePropertyType, 0 /* Call */).length !== 0) { + return hasInstancePropertyType; + } + } + } + } + function checkInstanceOfExpression(left, right, leftType, rightType, checkMode) { + if (leftType === silentNeverType || rightType === silentNeverType) { + return silentNeverType; + } + if (!isTypeAny(leftType) && allTypesAssignableToKind(leftType, 402784252 /* Primitive */)) { + error(left, Diagnostics.The_left_hand_side_of_an_instanceof_expression_must_be_of_type_any_an_object_type_or_a_type_parameter); + } + Debug.assert(isInstanceOfExpression(left.parent)); + const signature = getResolvedSignature( + left.parent, + /*candidatesOutArray*/ + void 0, + checkMode + ); + if (signature === resolvingSignature) { + return silentNeverType; + } + const returnType = getReturnTypeOfSignature(signature); + checkTypeAssignableTo(returnType, booleanType, right, Diagnostics.An_object_s_Symbol_hasInstance_method_must_return_a_boolean_value_for_it_to_be_used_on_the_right_hand_side_of_an_instanceof_expression); + return booleanType; + } + function hasEmptyObjectIntersection(type) { + return someType(type, (t) => t === unknownEmptyObjectType || !!(t.flags & 2097152 /* Intersection */) && isEmptyAnonymousObjectType(getBaseConstraintOrType(t))); + } + function checkInExpression(left, right, leftType, rightType) { + if (leftType === silentNeverType || rightType === silentNeverType) { + return silentNeverType; + } + if (isPrivateIdentifier(left)) { + if (languageVersion < LanguageFeatureMinimumTarget.PrivateNamesAndClassStaticBlocks || languageVersion < LanguageFeatureMinimumTarget.ClassAndClassElementDecorators || !useDefineForClassFields) { + checkExternalEmitHelpers(left, 2097152 /* ClassPrivateFieldIn */); + } + if (!getNodeLinks(left).resolvedSymbol && getContainingClass(left)) { + const isUncheckedJS = isUncheckedJSSuggestion( + left, + rightType.symbol, + /*excludeClasses*/ + true + ); + reportNonexistentProperty(left, rightType, isUncheckedJS); + } + } else { + checkTypeAssignableTo(checkNonNullType(leftType, left), stringNumberSymbolType, left); + } + if (checkTypeAssignableTo(checkNonNullType(rightType, right), nonPrimitiveType, right)) { + if (hasEmptyObjectIntersection(rightType)) { + error(right, Diagnostics.Type_0_may_represent_a_primitive_value_which_is_not_permitted_as_the_right_operand_of_the_in_operator, typeToString(rightType)); + } + } + return booleanType; + } + function checkObjectLiteralAssignment(node, sourceType, rightIsThis) { + const properties = node.properties; + if (strictNullChecks && properties.length === 0) { + return checkNonNullType(sourceType, node); + } + for (let i = 0; i < properties.length; i++) { + checkObjectLiteralDestructuringPropertyAssignment(node, sourceType, i, properties, rightIsThis); + } + return sourceType; + } + function checkObjectLiteralDestructuringPropertyAssignment(node, objectLiteralType, propertyIndex, allProperties, rightIsThis = false) { + const properties = node.properties; + const property = properties[propertyIndex]; + if (property.kind === 303 /* PropertyAssignment */ || property.kind === 304 /* ShorthandPropertyAssignment */) { + const name = property.name; + const exprType = getLiteralTypeFromPropertyName(name); + if (isTypeUsableAsPropertyName(exprType)) { + const text = getPropertyNameFromType(exprType); + const prop = getPropertyOfType(objectLiteralType, text); + if (prop) { + markPropertyAsReferenced(prop, property, rightIsThis); + checkPropertyAccessibility( + property, + /*isSuper*/ + false, + /*writing*/ + true, + objectLiteralType, + prop + ); + } + } + const elementType = getIndexedAccessType(objectLiteralType, exprType, 32 /* ExpressionPosition */ | (hasDefaultValue(property) ? 16 /* AllowMissing */ : 0), name); + const type = getFlowTypeOfDestructuring(property, elementType); + return checkDestructuringAssignment(property.kind === 304 /* ShorthandPropertyAssignment */ ? property : property.initializer, type); + } else if (property.kind === 305 /* SpreadAssignment */) { + if (propertyIndex < properties.length - 1) { + error(property, Diagnostics.A_rest_element_must_be_last_in_a_destructuring_pattern); + } else { + if (languageVersion < LanguageFeatureMinimumTarget.ObjectSpreadRest) { + checkExternalEmitHelpers(property, 4 /* Rest */); + } + const nonRestNames = []; + if (allProperties) { + for (const otherProperty of allProperties) { + if (!isSpreadAssignment(otherProperty)) { + nonRestNames.push(otherProperty.name); + } + } + } + const type = getRestType(objectLiteralType, nonRestNames, objectLiteralType.symbol); + checkGrammarForDisallowedTrailingComma(allProperties, Diagnostics.A_rest_parameter_or_binding_pattern_may_not_have_a_trailing_comma); + return checkDestructuringAssignment(property.expression, type); + } + } else { + error(property, Diagnostics.Property_assignment_expected); + } + } + function checkArrayLiteralAssignment(node, sourceType, checkMode) { + const elements = node.elements; + if (languageVersion < LanguageFeatureMinimumTarget.DestructuringAssignment && compilerOptions.downlevelIteration) { + checkExternalEmitHelpers(node, 512 /* Read */); + } + const possiblyOutOfBoundsType = checkIteratedTypeOrElementType(65 /* Destructuring */ | 128 /* PossiblyOutOfBounds */, sourceType, undefinedType, node) || errorType; + let inBoundsType = compilerOptions.noUncheckedIndexedAccess ? void 0 : possiblyOutOfBoundsType; + for (let i = 0; i < elements.length; i++) { + let type = possiblyOutOfBoundsType; + if (node.elements[i].kind === 230 /* SpreadElement */) { + type = inBoundsType = inBoundsType ?? (checkIteratedTypeOrElementType(65 /* Destructuring */, sourceType, undefinedType, node) || errorType); + } + checkArrayLiteralDestructuringElementAssignment(node, sourceType, i, type, checkMode); + } + return sourceType; + } + function checkArrayLiteralDestructuringElementAssignment(node, sourceType, elementIndex, elementType, checkMode) { + const elements = node.elements; + const element = elements[elementIndex]; + if (element.kind !== 232 /* OmittedExpression */) { + if (element.kind !== 230 /* SpreadElement */) { + const indexType = getNumberLiteralType(elementIndex); + if (isArrayLikeType(sourceType)) { + const accessFlags = 32 /* ExpressionPosition */ | (hasDefaultValue(element) ? 16 /* AllowMissing */ : 0); + const elementType2 = getIndexedAccessTypeOrUndefined(sourceType, indexType, accessFlags, createSyntheticExpression(element, indexType)) || errorType; + const assignedType = hasDefaultValue(element) ? getTypeWithFacts(elementType2, 524288 /* NEUndefined */) : elementType2; + const type = getFlowTypeOfDestructuring(element, assignedType); + return checkDestructuringAssignment(element, type, checkMode); + } + return checkDestructuringAssignment(element, elementType, checkMode); + } + if (elementIndex < elements.length - 1) { + error(element, Diagnostics.A_rest_element_must_be_last_in_a_destructuring_pattern); + } else { + const restExpression = element.expression; + if (restExpression.kind === 226 /* BinaryExpression */ && restExpression.operatorToken.kind === 64 /* EqualsToken */) { + error(restExpression.operatorToken, Diagnostics.A_rest_element_cannot_have_an_initializer); + } else { + checkGrammarForDisallowedTrailingComma(node.elements, Diagnostics.A_rest_parameter_or_binding_pattern_may_not_have_a_trailing_comma); + const type = everyType(sourceType, isTupleType) ? mapType(sourceType, (t) => sliceTupleType(t, elementIndex)) : createArrayType(elementType); + return checkDestructuringAssignment(restExpression, type, checkMode); + } + } + } + return void 0; + } + function checkDestructuringAssignment(exprOrAssignment, sourceType, checkMode, rightIsThis) { + let target; + if (exprOrAssignment.kind === 304 /* ShorthandPropertyAssignment */) { + const prop = exprOrAssignment; + if (prop.objectAssignmentInitializer) { + if (strictNullChecks && !hasTypeFacts(checkExpression(prop.objectAssignmentInitializer), 16777216 /* IsUndefined */)) { + sourceType = getTypeWithFacts(sourceType, 524288 /* NEUndefined */); + } + checkBinaryLikeExpression(prop.name, prop.equalsToken, prop.objectAssignmentInitializer, checkMode); + } + target = exprOrAssignment.name; + } else { + target = exprOrAssignment; + } + if (target.kind === 226 /* BinaryExpression */ && target.operatorToken.kind === 64 /* EqualsToken */) { + checkBinaryExpression(target, checkMode); + target = target.left; + if (strictNullChecks) { + sourceType = getTypeWithFacts(sourceType, 524288 /* NEUndefined */); + } + } + if (target.kind === 210 /* ObjectLiteralExpression */) { + return checkObjectLiteralAssignment(target, sourceType, rightIsThis); + } + if (target.kind === 209 /* ArrayLiteralExpression */) { + return checkArrayLiteralAssignment(target, sourceType, checkMode); + } + return checkReferenceAssignment(target, sourceType, checkMode); + } + function checkReferenceAssignment(target, sourceType, checkMode) { + const targetType = checkExpression(target, checkMode); + const error2 = target.parent.kind === 305 /* SpreadAssignment */ ? Diagnostics.The_target_of_an_object_rest_assignment_must_be_a_variable_or_a_property_access : Diagnostics.The_left_hand_side_of_an_assignment_expression_must_be_a_variable_or_a_property_access; + const optionalError = target.parent.kind === 305 /* SpreadAssignment */ ? Diagnostics.The_target_of_an_object_rest_assignment_may_not_be_an_optional_property_access : Diagnostics.The_left_hand_side_of_an_assignment_expression_may_not_be_an_optional_property_access; + if (checkReferenceExpression(target, error2, optionalError)) { + checkTypeAssignableToAndOptionallyElaborate(sourceType, targetType, target, target); + } + if (isPrivateIdentifierPropertyAccessExpression(target)) { + checkExternalEmitHelpers(target.parent, 1048576 /* ClassPrivateFieldSet */); + } + return sourceType; + } + function isSideEffectFree(node) { + node = skipParentheses(node); + switch (node.kind) { + case 80 /* Identifier */: + case 11 /* StringLiteral */: + case 14 /* RegularExpressionLiteral */: + case 215 /* TaggedTemplateExpression */: + case 228 /* TemplateExpression */: + case 15 /* NoSubstitutionTemplateLiteral */: + case 9 /* NumericLiteral */: + case 10 /* BigIntLiteral */: + case 112 /* TrueKeyword */: + case 97 /* FalseKeyword */: + case 106 /* NullKeyword */: + case 157 /* UndefinedKeyword */: + case 218 /* FunctionExpression */: + case 231 /* ClassExpression */: + case 219 /* ArrowFunction */: + case 209 /* ArrayLiteralExpression */: + case 210 /* ObjectLiteralExpression */: + case 221 /* TypeOfExpression */: + case 235 /* NonNullExpression */: + case 285 /* JsxSelfClosingElement */: + case 284 /* JsxElement */: + return true; + case 227 /* ConditionalExpression */: + return isSideEffectFree(node.whenTrue) && isSideEffectFree(node.whenFalse); + case 226 /* BinaryExpression */: + if (isAssignmentOperator(node.operatorToken.kind)) { + return false; + } + return isSideEffectFree(node.left) && isSideEffectFree(node.right); + case 224 /* PrefixUnaryExpression */: + case 225 /* PostfixUnaryExpression */: + switch (node.operator) { + case 54 /* ExclamationToken */: + case 40 /* PlusToken */: + case 41 /* MinusToken */: + case 55 /* TildeToken */: + return true; + } + return false; + // Some forms listed here for clarity + case 222 /* VoidExpression */: + // Explicit opt-out + case 216 /* TypeAssertionExpression */: + // Not SEF, but can produce useful type warnings + case 234 /* AsExpression */: + // Not SEF, but can produce useful type warnings + default: + return false; + } + } + function isTypeEqualityComparableTo(source, target) { + return (target.flags & 98304 /* Nullable */) !== 0 || isTypeComparableTo(source, target); + } + function createCheckBinaryExpression() { + const trampoline = createBinaryExpressionTrampoline(onEnter, onLeft, onOperator, onRight, onExit, foldState); + return (node, checkMode) => { + const result = trampoline(node, checkMode); + Debug.assertIsDefined(result); + return result; + }; + function onEnter(node, state, checkMode) { + if (state) { + state.stackIndex++; + state.skip = false; + setLeftType( + state, + /*type*/ + void 0 + ); + setLastResult( + state, + /*type*/ + void 0 + ); + } else { + state = { + checkMode, + skip: false, + stackIndex: 0, + typeStack: [void 0, void 0] + }; + } + if (isInJSFile(node) && getAssignedExpandoInitializer(node)) { + state.skip = true; + setLastResult(state, checkExpression(node.right, checkMode)); + return state; + } + checkNullishCoalesceOperands(node); + const operator = node.operatorToken.kind; + if (operator === 64 /* EqualsToken */ && (node.left.kind === 210 /* ObjectLiteralExpression */ || node.left.kind === 209 /* ArrayLiteralExpression */)) { + state.skip = true; + setLastResult(state, checkDestructuringAssignment(node.left, checkExpression(node.right, checkMode), checkMode, node.right.kind === 110 /* ThisKeyword */)); + return state; + } + return state; + } + function onLeft(left, state, _node) { + if (!state.skip) { + return maybeCheckExpression(state, left); + } + } + function onOperator(operatorToken, state, node) { + if (!state.skip) { + const leftType = getLastResult(state); + Debug.assertIsDefined(leftType); + setLeftType(state, leftType); + setLastResult( + state, + /*type*/ + void 0 + ); + const operator = operatorToken.kind; + if (isLogicalOrCoalescingBinaryOperator(operator)) { + let parent = node.parent; + while (parent.kind === 217 /* ParenthesizedExpression */ || isLogicalOrCoalescingBinaryExpression(parent)) { + parent = parent.parent; + } + if (operator === 56 /* AmpersandAmpersandToken */ || isIfStatement(parent)) { + checkTestingKnownTruthyCallableOrAwaitableOrEnumMemberType(node.left, leftType, isIfStatement(parent) ? parent.thenStatement : void 0); + } + if (isBinaryLogicalOperator(operator)) { + checkTruthinessOfType(leftType, node.left); + } + } + } + } + function onRight(right, state, _node) { + if (!state.skip) { + return maybeCheckExpression(state, right); + } + } + function onExit(node, state) { + let result; + if (state.skip) { + result = getLastResult(state); + } else { + const leftType = getLeftType(state); + Debug.assertIsDefined(leftType); + const rightType = getLastResult(state); + Debug.assertIsDefined(rightType); + result = checkBinaryLikeExpressionWorker(node.left, node.operatorToken, node.right, leftType, rightType, state.checkMode, node); + } + state.skip = false; + setLeftType( + state, + /*type*/ + void 0 + ); + setLastResult( + state, + /*type*/ + void 0 + ); + state.stackIndex--; + return result; + } + function foldState(state, result, _side) { + setLastResult(state, result); + return state; + } + function maybeCheckExpression(state, node) { + if (isBinaryExpression(node)) { + return node; + } + setLastResult(state, checkExpression(node, state.checkMode)); + } + function getLeftType(state) { + return state.typeStack[state.stackIndex]; + } + function setLeftType(state, type) { + state.typeStack[state.stackIndex] = type; + } + function getLastResult(state) { + return state.typeStack[state.stackIndex + 1]; + } + function setLastResult(state, type) { + state.typeStack[state.stackIndex + 1] = type; + } + } + function checkNullishCoalesceOperands(node) { + const { left, operatorToken, right } = node; + if (operatorToken.kind === 61 /* QuestionQuestionToken */) { + if (isBinaryExpression(left) && (left.operatorToken.kind === 57 /* BarBarToken */ || left.operatorToken.kind === 56 /* AmpersandAmpersandToken */)) { + grammarErrorOnNode(left, Diagnostics._0_and_1_operations_cannot_be_mixed_without_parentheses, tokenToString(left.operatorToken.kind), tokenToString(operatorToken.kind)); + } + if (isBinaryExpression(right) && (right.operatorToken.kind === 57 /* BarBarToken */ || right.operatorToken.kind === 56 /* AmpersandAmpersandToken */)) { + grammarErrorOnNode(right, Diagnostics._0_and_1_operations_cannot_be_mixed_without_parentheses, tokenToString(right.operatorToken.kind), tokenToString(operatorToken.kind)); + } + const leftTarget = skipOuterExpressions(left, 31 /* All */); + const nullishSemantics = getSyntacticNullishnessSemantics(leftTarget); + if (nullishSemantics !== 3 /* Sometimes */) { + if (node.parent.kind === 226 /* BinaryExpression */) { + error(leftTarget, Diagnostics.This_binary_expression_is_never_nullish_Are_you_missing_parentheses); + } else { + if (nullishSemantics === 1 /* Always */) { + error(leftTarget, Diagnostics.This_expression_is_always_nullish); + } else { + error(leftTarget, Diagnostics.Right_operand_of_is_unreachable_because_the_left_operand_is_never_nullish); + } + } + } + } + } + function getSyntacticNullishnessSemantics(node) { + node = skipOuterExpressions(node); + switch (node.kind) { + case 223 /* AwaitExpression */: + case 213 /* CallExpression */: + case 212 /* ElementAccessExpression */: + case 214 /* NewExpression */: + case 211 /* PropertyAccessExpression */: + case 229 /* YieldExpression */: + case 110 /* ThisKeyword */: + return 3 /* Sometimes */; + case 226 /* BinaryExpression */: + switch (node.operatorToken.kind) { + case 64 /* EqualsToken */: + case 61 /* QuestionQuestionToken */: + case 78 /* QuestionQuestionEqualsToken */: + case 57 /* BarBarToken */: + case 76 /* BarBarEqualsToken */: + case 56 /* AmpersandAmpersandToken */: + case 77 /* AmpersandAmpersandEqualsToken */: + return 3 /* Sometimes */; + } + return 2 /* Never */; + case 227 /* ConditionalExpression */: + return getSyntacticNullishnessSemantics(node.whenTrue) | getSyntacticNullishnessSemantics(node.whenFalse); + case 106 /* NullKeyword */: + return 1 /* Always */; + case 80 /* Identifier */: + if (getResolvedSymbol(node) === undefinedSymbol) { + return 1 /* Always */; + } + return 3 /* Sometimes */; + } + return 2 /* Never */; + } + function checkBinaryLikeExpression(left, operatorToken, right, checkMode, errorNode) { + const operator = operatorToken.kind; + if (operator === 64 /* EqualsToken */ && (left.kind === 210 /* ObjectLiteralExpression */ || left.kind === 209 /* ArrayLiteralExpression */)) { + return checkDestructuringAssignment(left, checkExpression(right, checkMode), checkMode, right.kind === 110 /* ThisKeyword */); + } + let leftType; + if (isBinaryLogicalOperator(operator)) { + leftType = checkTruthinessExpression(left, checkMode); + } else { + leftType = checkExpression(left, checkMode); + } + const rightType = checkExpression(right, checkMode); + return checkBinaryLikeExpressionWorker(left, operatorToken, right, leftType, rightType, checkMode, errorNode); + } + function checkBinaryLikeExpressionWorker(left, operatorToken, right, leftType, rightType, checkMode, errorNode) { + const operator = operatorToken.kind; + switch (operator) { + case 42 /* AsteriskToken */: + case 43 /* AsteriskAsteriskToken */: + case 67 /* AsteriskEqualsToken */: + case 68 /* AsteriskAsteriskEqualsToken */: + case 44 /* SlashToken */: + case 69 /* SlashEqualsToken */: + case 45 /* PercentToken */: + case 70 /* PercentEqualsToken */: + case 41 /* MinusToken */: + case 66 /* MinusEqualsToken */: + case 48 /* LessThanLessThanToken */: + case 71 /* LessThanLessThanEqualsToken */: + case 49 /* GreaterThanGreaterThanToken */: + case 72 /* GreaterThanGreaterThanEqualsToken */: + case 50 /* GreaterThanGreaterThanGreaterThanToken */: + case 73 /* GreaterThanGreaterThanGreaterThanEqualsToken */: + case 52 /* BarToken */: + case 75 /* BarEqualsToken */: + case 53 /* CaretToken */: + case 79 /* CaretEqualsToken */: + case 51 /* AmpersandToken */: + case 74 /* AmpersandEqualsToken */: + if (leftType === silentNeverType || rightType === silentNeverType) { + return silentNeverType; + } + leftType = checkNonNullType(leftType, left); + rightType = checkNonNullType(rightType, right); + let suggestedOperator; + if (leftType.flags & 528 /* BooleanLike */ && rightType.flags & 528 /* BooleanLike */ && (suggestedOperator = getSuggestedBooleanOperator(operatorToken.kind)) !== void 0) { + error(errorNode || operatorToken, Diagnostics.The_0_operator_is_not_allowed_for_boolean_types_Consider_using_1_instead, tokenToString(operatorToken.kind), tokenToString(suggestedOperator)); + return numberType; + } else { + const leftOk = checkArithmeticOperandType( + left, + leftType, + Diagnostics.The_left_hand_side_of_an_arithmetic_operation_must_be_of_type_any_number_bigint_or_an_enum_type, + /*isAwaitValid*/ + true + ); + const rightOk = checkArithmeticOperandType( + right, + rightType, + Diagnostics.The_right_hand_side_of_an_arithmetic_operation_must_be_of_type_any_number_bigint_or_an_enum_type, + /*isAwaitValid*/ + true + ); + let resultType2; + if (isTypeAssignableToKind(leftType, 3 /* AnyOrUnknown */) && isTypeAssignableToKind(rightType, 3 /* AnyOrUnknown */) || // Or, if neither could be bigint, implicit coercion results in a number result + !(maybeTypeOfKind(leftType, 2112 /* BigIntLike */) || maybeTypeOfKind(rightType, 2112 /* BigIntLike */))) { + resultType2 = numberType; + } else if (bothAreBigIntLike(leftType, rightType)) { + switch (operator) { + case 50 /* GreaterThanGreaterThanGreaterThanToken */: + case 73 /* GreaterThanGreaterThanGreaterThanEqualsToken */: + reportOperatorError(); + break; + case 43 /* AsteriskAsteriskToken */: + case 68 /* AsteriskAsteriskEqualsToken */: + if (languageVersion < 3 /* ES2016 */) { + error(errorNode, Diagnostics.Exponentiation_cannot_be_performed_on_bigint_values_unless_the_target_option_is_set_to_es2016_or_later); + } + } + resultType2 = bigintType; + } else { + reportOperatorError(bothAreBigIntLike); + resultType2 = errorType; + } + if (leftOk && rightOk) { + checkAssignmentOperator(resultType2); + switch (operator) { + case 48 /* LessThanLessThanToken */: + case 71 /* LessThanLessThanEqualsToken */: + case 49 /* GreaterThanGreaterThanToken */: + case 72 /* GreaterThanGreaterThanEqualsToken */: + case 50 /* GreaterThanGreaterThanGreaterThanToken */: + case 73 /* GreaterThanGreaterThanGreaterThanEqualsToken */: + const rhsEval = evaluate(right); + if (typeof rhsEval.value === "number" && Math.abs(rhsEval.value) >= 32) { + errorOrSuggestion( + isEnumMember(walkUpParenthesizedExpressions(right.parent.parent)), + // elevate from suggestion to error within an enum member + errorNode || operatorToken, + Diagnostics.This_operation_can_be_simplified_This_shift_is_identical_to_0_1_2, + getTextOfNode(left), + tokenToString(operator), + rhsEval.value % 32 + ); + } + break; + default: + break; + } + } + return resultType2; + } + case 40 /* PlusToken */: + case 65 /* PlusEqualsToken */: + if (leftType === silentNeverType || rightType === silentNeverType) { + return silentNeverType; + } + if (!isTypeAssignableToKind(leftType, 402653316 /* StringLike */) && !isTypeAssignableToKind(rightType, 402653316 /* StringLike */)) { + leftType = checkNonNullType(leftType, left); + rightType = checkNonNullType(rightType, right); + } + let resultType; + if (isTypeAssignableToKind( + leftType, + 296 /* NumberLike */, + /*strict*/ + true + ) && isTypeAssignableToKind( + rightType, + 296 /* NumberLike */, + /*strict*/ + true + )) { + resultType = numberType; + } else if (isTypeAssignableToKind( + leftType, + 2112 /* BigIntLike */, + /*strict*/ + true + ) && isTypeAssignableToKind( + rightType, + 2112 /* BigIntLike */, + /*strict*/ + true + )) { + resultType = bigintType; + } else if (isTypeAssignableToKind( + leftType, + 402653316 /* StringLike */, + /*strict*/ + true + ) || isTypeAssignableToKind( + rightType, + 402653316 /* StringLike */, + /*strict*/ + true + )) { + resultType = stringType; + } else if (isTypeAny(leftType) || isTypeAny(rightType)) { + resultType = isErrorType(leftType) || isErrorType(rightType) ? errorType : anyType; + } + if (resultType && !checkForDisallowedESSymbolOperand(operator)) { + return resultType; + } + if (!resultType) { + const closeEnoughKind = 296 /* NumberLike */ | 2112 /* BigIntLike */ | 402653316 /* StringLike */ | 3 /* AnyOrUnknown */; + reportOperatorError( + (left2, right2) => isTypeAssignableToKind(left2, closeEnoughKind) && isTypeAssignableToKind(right2, closeEnoughKind) + ); + return anyType; + } + if (operator === 65 /* PlusEqualsToken */) { + checkAssignmentOperator(resultType); + } + return resultType; + case 30 /* LessThanToken */: + case 32 /* GreaterThanToken */: + case 33 /* LessThanEqualsToken */: + case 34 /* GreaterThanEqualsToken */: + if (checkForDisallowedESSymbolOperand(operator)) { + leftType = getBaseTypeOfLiteralTypeForComparison(checkNonNullType(leftType, left)); + rightType = getBaseTypeOfLiteralTypeForComparison(checkNonNullType(rightType, right)); + reportOperatorErrorUnless((left2, right2) => { + if (isTypeAny(left2) || isTypeAny(right2)) { + return true; + } + const leftAssignableToNumber = isTypeAssignableTo(left2, numberOrBigIntType); + const rightAssignableToNumber = isTypeAssignableTo(right2, numberOrBigIntType); + return leftAssignableToNumber && rightAssignableToNumber || !leftAssignableToNumber && !rightAssignableToNumber && areTypesComparable(left2, right2); + }); + } + return booleanType; + case 35 /* EqualsEqualsToken */: + case 36 /* ExclamationEqualsToken */: + case 37 /* EqualsEqualsEqualsToken */: + case 38 /* ExclamationEqualsEqualsToken */: + if (!(checkMode && checkMode & 64 /* TypeOnly */)) { + if ((isLiteralExpressionOfObject(left) || isLiteralExpressionOfObject(right)) && // only report for === and !== in JS, not == or != + (!isInJSFile(left) || (operator === 37 /* EqualsEqualsEqualsToken */ || operator === 38 /* ExclamationEqualsEqualsToken */))) { + const eqType = operator === 35 /* EqualsEqualsToken */ || operator === 37 /* EqualsEqualsEqualsToken */; + error(errorNode, Diagnostics.This_condition_will_always_return_0_since_JavaScript_compares_objects_by_reference_not_value, eqType ? "false" : "true"); + } + checkNaNEquality(errorNode, operator, left, right); + reportOperatorErrorUnless((left2, right2) => isTypeEqualityComparableTo(left2, right2) || isTypeEqualityComparableTo(right2, left2)); + } + return booleanType; + case 104 /* InstanceOfKeyword */: + return checkInstanceOfExpression(left, right, leftType, rightType, checkMode); + case 103 /* InKeyword */: + return checkInExpression(left, right, leftType, rightType); + case 56 /* AmpersandAmpersandToken */: + case 77 /* AmpersandAmpersandEqualsToken */: { + const resultType2 = hasTypeFacts(leftType, 4194304 /* Truthy */) ? getUnionType([extractDefinitelyFalsyTypes(strictNullChecks ? leftType : getBaseTypeOfLiteralType(rightType)), rightType]) : leftType; + if (operator === 77 /* AmpersandAmpersandEqualsToken */) { + checkAssignmentOperator(rightType); + } + return resultType2; + } + case 57 /* BarBarToken */: + case 76 /* BarBarEqualsToken */: { + const resultType2 = hasTypeFacts(leftType, 8388608 /* Falsy */) ? getUnionType([getNonNullableType(removeDefinitelyFalsyTypes(leftType)), rightType], 2 /* Subtype */) : leftType; + if (operator === 76 /* BarBarEqualsToken */) { + checkAssignmentOperator(rightType); + } + return resultType2; + } + case 61 /* QuestionQuestionToken */: + case 78 /* QuestionQuestionEqualsToken */: { + const resultType2 = hasTypeFacts(leftType, 262144 /* EQUndefinedOrNull */) ? getUnionType([getNonNullableType(leftType), rightType], 2 /* Subtype */) : leftType; + if (operator === 78 /* QuestionQuestionEqualsToken */) { + checkAssignmentOperator(rightType); + } + return resultType2; + } + case 64 /* EqualsToken */: + const declKind = isBinaryExpression(left.parent) ? getAssignmentDeclarationKind(left.parent) : 0 /* None */; + checkAssignmentDeclaration(declKind, rightType); + if (isAssignmentDeclaration2(declKind)) { + if (!(rightType.flags & 524288 /* Object */) || declKind !== 2 /* ModuleExports */ && declKind !== 6 /* Prototype */ && !isEmptyObjectType(rightType) && !isFunctionObjectType(rightType) && !(getObjectFlags(rightType) & 1 /* Class */)) { + checkAssignmentOperator(rightType); + } + return leftType; + } else { + checkAssignmentOperator(rightType); + return rightType; + } + case 28 /* CommaToken */: + if (!compilerOptions.allowUnreachableCode && isSideEffectFree(left) && !isIndirectCall(left.parent)) { + const sf = getSourceFileOfNode(left); + const sourceText = sf.text; + const start = skipTrivia(sourceText, left.pos); + const isInDiag2657 = sf.parseDiagnostics.some((diag2) => { + if (diag2.code !== Diagnostics.JSX_expressions_must_have_one_parent_element.code) return false; + return textSpanContainsPosition(diag2, start); + }); + if (!isInDiag2657) error(left, Diagnostics.Left_side_of_comma_operator_is_unused_and_has_no_side_effects); + } + return rightType; + default: + return Debug.fail(); + } + function bothAreBigIntLike(left2, right2) { + return isTypeAssignableToKind(left2, 2112 /* BigIntLike */) && isTypeAssignableToKind(right2, 2112 /* BigIntLike */); + } + function checkAssignmentDeclaration(kind, rightType2) { + if (kind === 2 /* ModuleExports */) { + for (const prop of getPropertiesOfObjectType(rightType2)) { + const propType = getTypeOfSymbol(prop); + if (propType.symbol && propType.symbol.flags & 32 /* Class */) { + const name = prop.escapedName; + const symbol = resolveName( + prop.valueDeclaration, + name, + 788968 /* Type */, + /*nameNotFoundMessage*/ + void 0, + /*isUse*/ + false + ); + if ((symbol == null ? void 0 : symbol.declarations) && symbol.declarations.some(isJSDocTypedefTag)) { + addDuplicateDeclarationErrorsForSymbols(symbol, Diagnostics.Duplicate_identifier_0, unescapeLeadingUnderscores(name), prop); + addDuplicateDeclarationErrorsForSymbols(prop, Diagnostics.Duplicate_identifier_0, unescapeLeadingUnderscores(name), symbol); + } + } + } + } + } + function isIndirectCall(node) { + return node.parent.kind === 217 /* ParenthesizedExpression */ && isNumericLiteral(node.left) && node.left.text === "0" && (isCallExpression(node.parent.parent) && node.parent.parent.expression === node.parent || node.parent.parent.kind === 215 /* TaggedTemplateExpression */) && // special-case for "eval" because it's the only non-access case where an indirect call actually affects behavior. + (isAccessExpression(node.right) || isIdentifier(node.right) && node.right.escapedText === "eval"); + } + function checkForDisallowedESSymbolOperand(operator2) { + const offendingSymbolOperand = maybeTypeOfKindConsideringBaseConstraint(leftType, 12288 /* ESSymbolLike */) ? left : maybeTypeOfKindConsideringBaseConstraint(rightType, 12288 /* ESSymbolLike */) ? right : void 0; + if (offendingSymbolOperand) { + error(offendingSymbolOperand, Diagnostics.The_0_operator_cannot_be_applied_to_type_symbol, tokenToString(operator2)); + return false; + } + return true; + } + function getSuggestedBooleanOperator(operator2) { + switch (operator2) { + case 52 /* BarToken */: + case 75 /* BarEqualsToken */: + return 57 /* BarBarToken */; + case 53 /* CaretToken */: + case 79 /* CaretEqualsToken */: + return 38 /* ExclamationEqualsEqualsToken */; + case 51 /* AmpersandToken */: + case 74 /* AmpersandEqualsToken */: + return 56 /* AmpersandAmpersandToken */; + default: + return void 0; + } + } + function checkAssignmentOperator(valueType) { + if (isAssignmentOperator(operator)) { + addLazyDiagnostic(checkAssignmentOperatorWorker); + } + function checkAssignmentOperatorWorker() { + let assigneeType = leftType; + if (isCompoundAssignment(operatorToken.kind) && left.kind === 211 /* PropertyAccessExpression */) { + assigneeType = checkPropertyAccessExpression( + left, + /*checkMode*/ + void 0, + /*writeOnly*/ + true + ); + } + if (checkReferenceExpression(left, Diagnostics.The_left_hand_side_of_an_assignment_expression_must_be_a_variable_or_a_property_access, Diagnostics.The_left_hand_side_of_an_assignment_expression_may_not_be_an_optional_property_access)) { + let headMessage; + if (exactOptionalPropertyTypes && isPropertyAccessExpression(left) && maybeTypeOfKind(valueType, 32768 /* Undefined */)) { + const target = getTypeOfPropertyOfType(getTypeOfExpression(left.expression), left.name.escapedText); + if (isExactOptionalPropertyMismatch(valueType, target)) { + headMessage = Diagnostics.Type_0_is_not_assignable_to_type_1_with_exactOptionalPropertyTypes_Colon_true_Consider_adding_undefined_to_the_type_of_the_target; + } + } + checkTypeAssignableToAndOptionallyElaborate(valueType, assigneeType, left, right, headMessage); + } + } + } + function isAssignmentDeclaration2(kind) { + var _a; + switch (kind) { + case 2 /* ModuleExports */: + return true; + case 1 /* ExportsProperty */: + case 5 /* Property */: + case 6 /* Prototype */: + case 3 /* PrototypeProperty */: + case 4 /* ThisProperty */: + const symbol = getSymbolOfNode(left); + const init = getAssignedExpandoInitializer(right); + return !!init && isObjectLiteralExpression(init) && !!((_a = symbol == null ? void 0 : symbol.exports) == null ? void 0 : _a.size); + default: + return false; + } + } + function reportOperatorErrorUnless(typesAreCompatible) { + if (!typesAreCompatible(leftType, rightType)) { + reportOperatorError(typesAreCompatible); + return true; + } + return false; + } + function reportOperatorError(isRelated) { + let wouldWorkWithAwait = false; + const errNode = errorNode || operatorToken; + if (isRelated) { + const awaitedLeftType = getAwaitedTypeNoAlias(leftType); + const awaitedRightType = getAwaitedTypeNoAlias(rightType); + wouldWorkWithAwait = !(awaitedLeftType === leftType && awaitedRightType === rightType) && !!(awaitedLeftType && awaitedRightType) && isRelated(awaitedLeftType, awaitedRightType); + } + let effectiveLeft = leftType; + let effectiveRight = rightType; + if (!wouldWorkWithAwait && isRelated) { + [effectiveLeft, effectiveRight] = getBaseTypesIfUnrelated(leftType, rightType, isRelated); + } + const [leftStr, rightStr] = getTypeNamesForErrorDisplay(effectiveLeft, effectiveRight); + if (!tryGiveBetterPrimaryError(errNode, wouldWorkWithAwait, leftStr, rightStr)) { + errorAndMaybeSuggestAwait( + errNode, + wouldWorkWithAwait, + Diagnostics.Operator_0_cannot_be_applied_to_types_1_and_2, + tokenToString(operatorToken.kind), + leftStr, + rightStr + ); + } + } + function tryGiveBetterPrimaryError(errNode, maybeMissingAwait, leftStr, rightStr) { + switch (operatorToken.kind) { + case 37 /* EqualsEqualsEqualsToken */: + case 35 /* EqualsEqualsToken */: + case 38 /* ExclamationEqualsEqualsToken */: + case 36 /* ExclamationEqualsToken */: + return errorAndMaybeSuggestAwait( + errNode, + maybeMissingAwait, + Diagnostics.This_comparison_appears_to_be_unintentional_because_the_types_0_and_1_have_no_overlap, + leftStr, + rightStr + ); + default: + return void 0; + } + } + function checkNaNEquality(errorNode2, operator2, left2, right2) { + const isLeftNaN = isGlobalNaN(skipParentheses(left2)); + const isRightNaN = isGlobalNaN(skipParentheses(right2)); + if (isLeftNaN || isRightNaN) { + const err = error(errorNode2, Diagnostics.This_condition_will_always_return_0, tokenToString(operator2 === 37 /* EqualsEqualsEqualsToken */ || operator2 === 35 /* EqualsEqualsToken */ ? 97 /* FalseKeyword */ : 112 /* TrueKeyword */)); + if (isLeftNaN && isRightNaN) return; + const operatorString = operator2 === 38 /* ExclamationEqualsEqualsToken */ || operator2 === 36 /* ExclamationEqualsToken */ ? tokenToString(54 /* ExclamationToken */) : ""; + const location = isLeftNaN ? right2 : left2; + const expression = skipParentheses(location); + addRelatedInfo(err, createDiagnosticForNode(location, Diagnostics.Did_you_mean_0, `${operatorString}Number.isNaN(${isEntityNameExpression(expression) ? entityNameToString(expression) : "..."})`)); + } + } + function isGlobalNaN(expr) { + if (isIdentifier(expr) && expr.escapedText === "NaN") { + const globalNaNSymbol = getGlobalNaNSymbol(); + return !!globalNaNSymbol && globalNaNSymbol === getResolvedSymbol(expr); + } + return false; + } + } + function getBaseTypesIfUnrelated(leftType, rightType, isRelated) { + let effectiveLeft = leftType; + let effectiveRight = rightType; + const leftBase = getBaseTypeOfLiteralType(leftType); + const rightBase = getBaseTypeOfLiteralType(rightType); + if (!isRelated(leftBase, rightBase)) { + effectiveLeft = leftBase; + effectiveRight = rightBase; + } + return [effectiveLeft, effectiveRight]; + } + function checkYieldExpression(node) { + addLazyDiagnostic(checkYieldExpressionGrammar); + const func = getContainingFunction(node); + if (!func) return anyType; + const functionFlags = getFunctionFlags(func); + if (!(functionFlags & 1 /* Generator */)) { + return anyType; + } + const isAsync = (functionFlags & 2 /* Async */) !== 0; + if (node.asteriskToken) { + if (isAsync && languageVersion < LanguageFeatureMinimumTarget.AsyncGenerators) { + checkExternalEmitHelpers(node, 26624 /* AsyncDelegatorIncludes */); + } + if (!isAsync && languageVersion < LanguageFeatureMinimumTarget.Generators && compilerOptions.downlevelIteration) { + checkExternalEmitHelpers(node, 256 /* Values */); + } + } + let returnType = getReturnTypeFromAnnotation(func); + if (returnType && returnType.flags & 1048576 /* Union */) { + returnType = filterType(returnType, (t) => checkGeneratorInstantiationAssignabilityToReturnType( + t, + functionFlags, + /*errorNode*/ + void 0 + )); + } + const iterationTypes = returnType && getIterationTypesOfGeneratorFunctionReturnType(returnType, isAsync); + const signatureYieldType = iterationTypes && iterationTypes.yieldType || anyType; + const signatureNextType = iterationTypes && iterationTypes.nextType || anyType; + const yieldExpressionType = node.expression ? checkExpression(node.expression) : undefinedWideningType; + const yieldedType = getYieldedTypeOfYieldExpression(node, yieldExpressionType, signatureNextType, isAsync); + if (returnType && yieldedType) { + checkTypeAssignableToAndOptionallyElaborate(yieldedType, signatureYieldType, node.expression || node, node.expression); + } + if (node.asteriskToken) { + const use = isAsync ? 19 /* AsyncYieldStar */ : 17 /* YieldStar */; + return getIterationTypeOfIterable(use, 1 /* Return */, yieldExpressionType, node.expression) || anyType; + } else if (returnType) { + return getIterationTypeOfGeneratorFunctionReturnType(2 /* Next */, returnType, isAsync) || anyType; + } + let type = getContextualIterationType(2 /* Next */, func); + if (!type) { + type = anyType; + addLazyDiagnostic(() => { + if (noImplicitAny && !expressionResultIsUnused(node)) { + const contextualType = getContextualType( + node, + /*contextFlags*/ + void 0 + ); + if (!contextualType || isTypeAny(contextualType)) { + error(node, Diagnostics.yield_expression_implicitly_results_in_an_any_type_because_its_containing_generator_lacks_a_return_type_annotation); + } + } + }); + } + return type; + function checkYieldExpressionGrammar() { + if (!(node.flags & 16384 /* YieldContext */)) { + grammarErrorOnFirstToken(node, Diagnostics.A_yield_expression_is_only_allowed_in_a_generator_body); + } + if (isInParameterInitializerBeforeContainingFunction(node)) { + error(node, Diagnostics.yield_expressions_cannot_be_used_in_a_parameter_initializer); + } + } + } + function checkConditionalExpression(node, checkMode) { + const type = checkTruthinessExpression(node.condition, checkMode); + checkTestingKnownTruthyCallableOrAwaitableOrEnumMemberType(node.condition, type, node.whenTrue); + const type1 = checkExpression(node.whenTrue, checkMode); + const type2 = checkExpression(node.whenFalse, checkMode); + return getUnionType([type1, type2], 2 /* Subtype */); + } + function isTemplateLiteralContext(node) { + const parent = node.parent; + return isParenthesizedExpression(parent) && isTemplateLiteralContext(parent) || isElementAccessExpression(parent) && parent.argumentExpression === node; + } + function checkTemplateExpression(node) { + const texts = [node.head.text]; + const types = []; + for (const span of node.templateSpans) { + const type = checkExpression(span.expression); + if (maybeTypeOfKindConsideringBaseConstraint(type, 12288 /* ESSymbolLike */)) { + error(span.expression, Diagnostics.Implicit_conversion_of_a_symbol_to_a_string_will_fail_at_runtime_Consider_wrapping_this_expression_in_String); + } + texts.push(span.literal.text); + types.push(isTypeAssignableTo(type, templateConstraintType) ? type : stringType); + } + const evaluated = node.parent.kind !== 215 /* TaggedTemplateExpression */ && evaluate(node).value; + if (evaluated) { + return getFreshTypeOfLiteralType(getStringLiteralType(evaluated)); + } + if (isConstContext(node) || isTemplateLiteralContext(node) || someType(getContextualType( + node, + /*contextFlags*/ + void 0 + ) || unknownType, isTemplateLiteralContextualType)) { + return getTemplateLiteralType(texts, types); + } + return stringType; + } + function isTemplateLiteralContextualType(type) { + return !!(type.flags & (128 /* StringLiteral */ | 134217728 /* TemplateLiteral */) || type.flags & 58982400 /* InstantiableNonPrimitive */ && maybeTypeOfKind(getBaseConstraintOfType(type) || unknownType, 402653316 /* StringLike */)); + } + function getContextNode(node) { + if (isJsxAttributes(node) && !isJsxSelfClosingElement(node.parent)) { + return node.parent.parent; + } + return node; + } + function checkExpressionWithContextualType(node, contextualType, inferenceContext, checkMode) { + const contextNode = getContextNode(node); + pushContextualType( + contextNode, + contextualType, + /*isCache*/ + false + ); + pushInferenceContext(contextNode, inferenceContext); + const type = checkExpression(node, checkMode | 1 /* Contextual */ | (inferenceContext ? 2 /* Inferential */ : 0)); + if (inferenceContext && inferenceContext.intraExpressionInferenceSites) { + inferenceContext.intraExpressionInferenceSites = void 0; + } + const result = maybeTypeOfKind(type, 2944 /* Literal */) && isLiteralOfContextualType(type, instantiateContextualType( + contextualType, + node, + /*contextFlags*/ + void 0 + )) ? getRegularTypeOfLiteralType(type) : type; + popInferenceContext(); + popContextualType(); + return result; + } + function checkExpressionCached(node, checkMode) { + if (checkMode) { + return checkExpression(node, checkMode); + } + const links = getNodeLinks(node); + if (!links.resolvedType) { + const saveFlowLoopStart = flowLoopStart; + const saveFlowTypeCache = flowTypeCache; + flowLoopStart = flowLoopCount; + flowTypeCache = void 0; + links.resolvedType = checkExpression(node, checkMode); + flowTypeCache = saveFlowTypeCache; + flowLoopStart = saveFlowLoopStart; + } + return links.resolvedType; + } + function isTypeAssertion(node) { + node = skipParentheses( + node, + /*excludeJSDocTypeAssertions*/ + true + ); + return node.kind === 216 /* TypeAssertionExpression */ || node.kind === 234 /* AsExpression */ || isJSDocTypeAssertion(node); + } + function checkDeclarationInitializer(declaration, checkMode, contextualType) { + const initializer = getEffectiveInitializer(declaration); + if (isInJSFile(declaration)) { + const typeNode = tryGetJSDocSatisfiesTypeNode(declaration); + if (typeNode) { + return checkSatisfiesExpressionWorker(initializer, typeNode, checkMode); + } + } + const type = getQuickTypeOfExpression(initializer) || (contextualType ? checkExpressionWithContextualType( + initializer, + contextualType, + /*inferenceContext*/ + void 0, + checkMode || 0 /* Normal */ + ) : checkExpressionCached(initializer, checkMode)); + if (isParameter(isBindingElement(declaration) ? walkUpBindingElementsAndPatterns(declaration) : declaration)) { + if (declaration.name.kind === 206 /* ObjectBindingPattern */ && isObjectLiteralType(type)) { + return padObjectLiteralType(type, declaration.name); + } + if (declaration.name.kind === 207 /* ArrayBindingPattern */ && isTupleType(type)) { + return padTupleType(type, declaration.name); + } + } + return type; + } + function padObjectLiteralType(type, pattern) { + let missingElements; + for (const e of pattern.elements) { + if (e.initializer) { + const name = getPropertyNameFromBindingElement(e); + if (name && !getPropertyOfType(type, name)) { + missingElements = append(missingElements, e); + } + } + } + if (!missingElements) { + return type; + } + const members = createSymbolTable(); + for (const prop of getPropertiesOfObjectType(type)) { + members.set(prop.escapedName, prop); + } + for (const e of missingElements) { + const symbol = createSymbol(4 /* Property */ | 16777216 /* Optional */, getPropertyNameFromBindingElement(e)); + symbol.links.type = getTypeFromBindingElement( + e, + /*includePatternInType*/ + false, + /*reportErrors*/ + false + ); + members.set(symbol.escapedName, symbol); + } + const result = createAnonymousType(type.symbol, members, emptyArray, emptyArray, getIndexInfosOfType(type)); + result.objectFlags = type.objectFlags; + return result; + } + function getPropertyNameFromBindingElement(e) { + const exprType = getLiteralTypeFromPropertyName(e.propertyName || e.name); + return isTypeUsableAsPropertyName(exprType) ? getPropertyNameFromType(exprType) : void 0; + } + function padTupleType(type, pattern) { + if (type.target.combinedFlags & 12 /* Variable */ || getTypeReferenceArity(type) >= pattern.elements.length) { + return type; + } + const patternElements = pattern.elements; + const elementTypes = getElementTypes(type).slice(); + const elementFlags = type.target.elementFlags.slice(); + for (let i = getTypeReferenceArity(type); i < patternElements.length; i++) { + const e = patternElements[i]; + if (i < patternElements.length - 1 || !(e.kind === 208 /* BindingElement */ && e.dotDotDotToken)) { + elementTypes.push(!isOmittedExpression(e) && hasDefaultValue(e) ? getTypeFromBindingElement( + e, + /*includePatternInType*/ + false, + /*reportErrors*/ + false + ) : anyType); + elementFlags.push(2 /* Optional */); + if (!isOmittedExpression(e) && !hasDefaultValue(e)) { + reportImplicitAny(e, anyType); + } + } + } + return createTupleType(elementTypes, elementFlags, type.target.readonly); + } + function widenTypeInferredFromInitializer(declaration, type) { + const widened = getWidenedLiteralTypeForInitializer(declaration, type); + if (isInJSFile(declaration)) { + if (isEmptyLiteralType(widened)) { + reportImplicitAny(declaration, anyType); + return anyType; + } else if (isEmptyArrayLiteralType(widened)) { + reportImplicitAny(declaration, anyArrayType); + return anyArrayType; + } + } + return widened; + } + function getWidenedLiteralTypeForInitializer(declaration, type) { + return getCombinedNodeFlagsCached(declaration) & 6 /* Constant */ || isDeclarationReadonly(declaration) ? type : getWidenedLiteralType(type); + } + function isLiteralOfContextualType(candidateType, contextualType) { + if (contextualType) { + if (contextualType.flags & 3145728 /* UnionOrIntersection */) { + const types = contextualType.types; + return some(types, (t) => isLiteralOfContextualType(candidateType, t)); + } + if (contextualType.flags & 58982400 /* InstantiableNonPrimitive */) { + const constraint = getBaseConstraintOfType(contextualType) || unknownType; + return maybeTypeOfKind(constraint, 4 /* String */) && maybeTypeOfKind(candidateType, 128 /* StringLiteral */) || maybeTypeOfKind(constraint, 8 /* Number */) && maybeTypeOfKind(candidateType, 256 /* NumberLiteral */) || maybeTypeOfKind(constraint, 64 /* BigInt */) && maybeTypeOfKind(candidateType, 2048 /* BigIntLiteral */) || maybeTypeOfKind(constraint, 4096 /* ESSymbol */) && maybeTypeOfKind(candidateType, 8192 /* UniqueESSymbol */) || isLiteralOfContextualType(candidateType, constraint); + } + return !!(contextualType.flags & (128 /* StringLiteral */ | 4194304 /* Index */ | 134217728 /* TemplateLiteral */ | 268435456 /* StringMapping */) && maybeTypeOfKind(candidateType, 128 /* StringLiteral */) || contextualType.flags & 256 /* NumberLiteral */ && maybeTypeOfKind(candidateType, 256 /* NumberLiteral */) || contextualType.flags & 2048 /* BigIntLiteral */ && maybeTypeOfKind(candidateType, 2048 /* BigIntLiteral */) || contextualType.flags & 512 /* BooleanLiteral */ && maybeTypeOfKind(candidateType, 512 /* BooleanLiteral */) || contextualType.flags & 8192 /* UniqueESSymbol */ && maybeTypeOfKind(candidateType, 8192 /* UniqueESSymbol */)); + } + return false; + } + function isConstContext(node) { + const parent = node.parent; + return isAssertionExpression(parent) && isConstTypeReference(parent.type) || isJSDocTypeAssertion(parent) && isConstTypeReference(getJSDocTypeAssertionType(parent)) || isValidConstAssertionArgument(node) && isConstTypeVariable(getContextualType(node, 0 /* None */)) || (isParenthesizedExpression(parent) || isArrayLiteralExpression(parent) || isSpreadElement(parent)) && isConstContext(parent) || (isPropertyAssignment(parent) || isShorthandPropertyAssignment(parent) || isTemplateSpan(parent)) && isConstContext(parent.parent); + } + function checkExpressionForMutableLocation(node, checkMode, forceTuple) { + const type = checkExpression(node, checkMode, forceTuple); + return isConstContext(node) || isCommonJsExportedExpression(node) ? getRegularTypeOfLiteralType(type) : isTypeAssertion(node) ? type : getWidenedLiteralLikeTypeForContextualType(type, instantiateContextualType( + getContextualType( + node, + /*contextFlags*/ + void 0 + ), + node, + /*contextFlags*/ + void 0 + )); + } + function checkPropertyAssignment(node, checkMode) { + if (node.name.kind === 167 /* ComputedPropertyName */) { + checkComputedPropertyName(node.name); + } + return checkExpressionForMutableLocation(node.initializer, checkMode); + } + function checkObjectLiteralMethod(node, checkMode) { + checkGrammarMethod(node); + if (node.name.kind === 167 /* ComputedPropertyName */) { + checkComputedPropertyName(node.name); + } + const uninstantiatedType = checkFunctionExpressionOrObjectLiteralMethod(node, checkMode); + return instantiateTypeWithSingleGenericCallSignature(node, uninstantiatedType, checkMode); + } + function instantiateTypeWithSingleGenericCallSignature(node, type, checkMode) { + if (checkMode && checkMode & (2 /* Inferential */ | 8 /* SkipGenericFunctions */)) { + const callSignature = getSingleSignature( + type, + 0 /* Call */, + /*allowMembers*/ + true + ); + const constructSignature = getSingleSignature( + type, + 1 /* Construct */, + /*allowMembers*/ + true + ); + const signature = callSignature || constructSignature; + if (signature && signature.typeParameters) { + const contextualType = getApparentTypeOfContextualType(node, 2 /* NoConstraints */); + if (contextualType) { + const contextualSignature = getSingleSignature( + getNonNullableType(contextualType), + callSignature ? 0 /* Call */ : 1 /* Construct */, + /*allowMembers*/ + false + ); + if (contextualSignature && !contextualSignature.typeParameters) { + if (checkMode & 8 /* SkipGenericFunctions */) { + skippedGenericFunction(node, checkMode); + return anyFunctionType; + } + const context = getInferenceContext(node); + const returnType = context.signature && getReturnTypeOfSignature(context.signature); + const returnSignature = returnType && getSingleCallOrConstructSignature(returnType); + if (returnSignature && !returnSignature.typeParameters && !every(context.inferences, hasInferenceCandidates)) { + const uniqueTypeParameters = getUniqueTypeParameters(context, signature.typeParameters); + const instantiatedSignature = getSignatureInstantiationWithoutFillingInTypeArguments(signature, uniqueTypeParameters); + const inferences = map(context.inferences, (info) => createInferenceInfo(info.typeParameter)); + applyToParameterTypes(instantiatedSignature, contextualSignature, (source, target) => { + inferTypes( + inferences, + source, + target, + /*priority*/ + 0, + /*contravariant*/ + true + ); + }); + if (some(inferences, hasInferenceCandidates)) { + applyToReturnTypes(instantiatedSignature, contextualSignature, (source, target) => { + inferTypes(inferences, source, target); + }); + if (!hasOverlappingInferences(context.inferences, inferences)) { + mergeInferences(context.inferences, inferences); + context.inferredTypeParameters = concatenate(context.inferredTypeParameters, uniqueTypeParameters); + return getOrCreateTypeFromSignature(instantiatedSignature); + } + } + } + return getOrCreateTypeFromSignature(instantiateSignatureInContextOf(signature, contextualSignature, context), flatMap(inferenceContexts, (c) => c && map(c.inferences, (i) => i.typeParameter)).slice()); + } + } + } + } + return type; + } + function skippedGenericFunction(node, checkMode) { + if (checkMode & 2 /* Inferential */) { + const context = getInferenceContext(node); + context.flags |= 4 /* SkippedGenericFunction */; + } + } + function hasInferenceCandidates(info) { + return !!(info.candidates || info.contraCandidates); + } + function hasInferenceCandidatesOrDefault(info) { + return !!(info.candidates || info.contraCandidates || hasTypeParameterDefault(info.typeParameter)); + } + function hasOverlappingInferences(a, b) { + for (let i = 0; i < a.length; i++) { + if (hasInferenceCandidates(a[i]) && hasInferenceCandidates(b[i])) { + return true; + } + } + return false; + } + function mergeInferences(target, source) { + for (let i = 0; i < target.length; i++) { + if (!hasInferenceCandidates(target[i]) && hasInferenceCandidates(source[i])) { + target[i] = source[i]; + } + } + } + function getUniqueTypeParameters(context, typeParameters) { + const result = []; + let oldTypeParameters; + let newTypeParameters; + for (const tp of typeParameters) { + const name = tp.symbol.escapedName; + if (hasTypeParameterByName(context.inferredTypeParameters, name) || hasTypeParameterByName(result, name)) { + const newName = getUniqueTypeParameterName(concatenate(context.inferredTypeParameters, result), name); + const symbol = createSymbol(262144 /* TypeParameter */, newName); + const newTypeParameter = createTypeParameter(symbol); + newTypeParameter.target = tp; + oldTypeParameters = append(oldTypeParameters, tp); + newTypeParameters = append(newTypeParameters, newTypeParameter); + result.push(newTypeParameter); + } else { + result.push(tp); + } + } + if (newTypeParameters) { + const mapper = createTypeMapper(oldTypeParameters, newTypeParameters); + for (const tp of newTypeParameters) { + tp.mapper = mapper; + } + } + return result; + } + function hasTypeParameterByName(typeParameters, name) { + return some(typeParameters, (tp) => tp.symbol.escapedName === name); + } + function getUniqueTypeParameterName(typeParameters, baseName) { + let len = baseName.length; + while (len > 1 && baseName.charCodeAt(len - 1) >= 48 /* _0 */ && baseName.charCodeAt(len - 1) <= 57 /* _9 */) len--; + const s = baseName.slice(0, len); + for (let index = 1; true; index++) { + const augmentedName = s + index; + if (!hasTypeParameterByName(typeParameters, augmentedName)) { + return augmentedName; + } + } + } + function getReturnTypeOfSingleNonGenericCallSignature(funcType) { + const signature = getSingleCallSignature(funcType); + if (signature && !signature.typeParameters) { + return getReturnTypeOfSignature(signature); + } + } + function getReturnTypeOfSingleNonGenericSignatureOfCallChain(expr) { + const funcType = checkExpression(expr.expression); + const nonOptionalType = getOptionalExpressionType(funcType, expr.expression); + const returnType = getReturnTypeOfSingleNonGenericCallSignature(funcType); + return returnType && propagateOptionalTypeMarker(returnType, expr, nonOptionalType !== funcType); + } + function getTypeOfExpression(node) { + const quickType = getQuickTypeOfExpression(node); + if (quickType) { + return quickType; + } + if (node.flags & 268435456 /* TypeCached */ && flowTypeCache) { + const cachedType = flowTypeCache[getNodeId(node)]; + if (cachedType) { + return cachedType; + } + } + const startInvocationCount = flowInvocationCount; + const type = checkExpression(node, 64 /* TypeOnly */); + if (flowInvocationCount !== startInvocationCount) { + const cache = flowTypeCache || (flowTypeCache = []); + cache[getNodeId(node)] = type; + setNodeFlags(node, node.flags | 268435456 /* TypeCached */); + } + return type; + } + function getQuickTypeOfExpression(node) { + let expr = skipParentheses( + node, + /*excludeJSDocTypeAssertions*/ + true + ); + if (isJSDocTypeAssertion(expr)) { + const type = getJSDocTypeAssertionType(expr); + if (!isConstTypeReference(type)) { + return getTypeFromTypeNode(type); + } + } + expr = skipParentheses(node); + if (isAwaitExpression(expr)) { + const type = getQuickTypeOfExpression(expr.expression); + return type ? getAwaitedType(type) : void 0; + } + if (isCallExpression(expr) && expr.expression.kind !== 108 /* SuperKeyword */ && !isRequireCall( + expr, + /*requireStringLiteralLikeArgument*/ + true + ) && !isSymbolOrSymbolForCall(expr)) { + return isCallChain(expr) ? getReturnTypeOfSingleNonGenericSignatureOfCallChain(expr) : getReturnTypeOfSingleNonGenericCallSignature(checkNonNullExpression(expr.expression)); + } else if (isAssertionExpression(expr) && !isConstTypeReference(expr.type)) { + return getTypeFromTypeNode(expr.type); + } else if (isLiteralExpression(node) || isBooleanLiteral(node)) { + return checkExpression(node); + } + return void 0; + } + function getContextFreeTypeOfExpression(node) { + const links = getNodeLinks(node); + if (links.contextFreeType) { + return links.contextFreeType; + } + pushContextualType( + node, + anyType, + /*isCache*/ + false + ); + const type = links.contextFreeType = checkExpression(node, 4 /* SkipContextSensitive */); + popContextualType(); + return type; + } + function checkExpression(node, checkMode, forceTuple) { + var _a, _b; + (_a = tracing) == null ? void 0 : _a.push(tracing.Phase.Check, "checkExpression", { kind: node.kind, pos: node.pos, end: node.end, path: node.tracingPath }); + const saveCurrentNode = currentNode; + currentNode = node; + instantiationCount = 0; + const uninstantiatedType = checkExpressionWorker(node, checkMode, forceTuple); + const type = instantiateTypeWithSingleGenericCallSignature(node, uninstantiatedType, checkMode); + if (isConstEnumObjectType(type)) { + checkConstEnumAccess(node, type); + } + currentNode = saveCurrentNode; + (_b = tracing) == null ? void 0 : _b.pop(); + return type; + } + function checkConstEnumAccess(node, type) { + const ok = node.parent.kind === 211 /* PropertyAccessExpression */ && node.parent.expression === node || node.parent.kind === 212 /* ElementAccessExpression */ && node.parent.expression === node || ((node.kind === 80 /* Identifier */ || node.kind === 166 /* QualifiedName */) && isInRightSideOfImportOrExportAssignment(node) || node.parent.kind === 186 /* TypeQuery */ && node.parent.exprName === node) || node.parent.kind === 281 /* ExportSpecifier */; + if (!ok) { + error(node, Diagnostics.const_enums_can_only_be_used_in_property_or_index_access_expressions_or_the_right_hand_side_of_an_import_declaration_or_export_assignment_or_type_query); + } + if (compilerOptions.isolatedModules || compilerOptions.verbatimModuleSyntax && ok && !resolveName( + node, + getFirstIdentifier(node), + 2097152 /* Alias */, + /*nameNotFoundMessage*/ + void 0, + /*isUse*/ + false, + /*excludeGlobals*/ + true + )) { + Debug.assert(!!(type.symbol.flags & 128 /* ConstEnum */)); + const constEnumDeclaration = type.symbol.valueDeclaration; + const redirect = host.getRedirectReferenceForResolutionFromSourceOfProject(getSourceFileOfNode(constEnumDeclaration).resolvedPath); + if (constEnumDeclaration.flags & 33554432 /* Ambient */ && !isValidTypeOnlyAliasUseSite(node) && (!redirect || !shouldPreserveConstEnums(redirect.commandLine.options))) { + error(node, Diagnostics.Cannot_access_ambient_const_enums_when_0_is_enabled, isolatedModulesLikeFlagName); + } + } + } + function checkParenthesizedExpression(node, checkMode) { + if (hasJSDocNodes(node)) { + if (isJSDocSatisfiesExpression(node)) { + return checkSatisfiesExpressionWorker(node.expression, getJSDocSatisfiesExpressionType(node), checkMode); + } + if (isJSDocTypeAssertion(node)) { + return checkAssertionWorker(node, checkMode); + } + } + return checkExpression(node.expression, checkMode); + } + function checkExpressionWorker(node, checkMode, forceTuple) { + const kind = node.kind; + if (cancellationToken) { + switch (kind) { + case 231 /* ClassExpression */: + case 218 /* FunctionExpression */: + case 219 /* ArrowFunction */: + cancellationToken.throwIfCancellationRequested(); + } + } + switch (kind) { + case 80 /* Identifier */: + return checkIdentifier(node, checkMode); + case 81 /* PrivateIdentifier */: + return checkPrivateIdentifierExpression(node); + case 110 /* ThisKeyword */: + return checkThisExpression(node); + case 108 /* SuperKeyword */: + return checkSuperExpression(node); + case 106 /* NullKeyword */: + return nullWideningType; + case 15 /* NoSubstitutionTemplateLiteral */: + case 11 /* StringLiteral */: + return hasSkipDirectInferenceFlag(node) ? blockedStringType : getFreshTypeOfLiteralType(getStringLiteralType(node.text)); + case 9 /* NumericLiteral */: + checkGrammarNumericLiteral(node); + return getFreshTypeOfLiteralType(getNumberLiteralType(+node.text)); + case 10 /* BigIntLiteral */: + checkGrammarBigIntLiteral(node); + return getFreshTypeOfLiteralType(getBigIntLiteralType({ + negative: false, + base10Value: parsePseudoBigInt(node.text) + })); + case 112 /* TrueKeyword */: + return trueType; + case 97 /* FalseKeyword */: + return falseType; + case 228 /* TemplateExpression */: + return checkTemplateExpression(node); + case 14 /* RegularExpressionLiteral */: + return checkRegularExpressionLiteral(node); + case 209 /* ArrayLiteralExpression */: + return checkArrayLiteral(node, checkMode, forceTuple); + case 210 /* ObjectLiteralExpression */: + return checkObjectLiteral(node, checkMode); + case 211 /* PropertyAccessExpression */: + return checkPropertyAccessExpression(node, checkMode); + case 166 /* QualifiedName */: + return checkQualifiedName(node, checkMode); + case 212 /* ElementAccessExpression */: + return checkIndexedAccess(node, checkMode); + case 213 /* CallExpression */: + if (node.expression.kind === 102 /* ImportKeyword */) { + return checkImportCallExpression(node); + } + // falls through + case 214 /* NewExpression */: + return checkCallExpression(node, checkMode); + case 215 /* TaggedTemplateExpression */: + return checkTaggedTemplateExpression(node); + case 217 /* ParenthesizedExpression */: + return checkParenthesizedExpression(node, checkMode); + case 231 /* ClassExpression */: + return checkClassExpression(node); + case 218 /* FunctionExpression */: + case 219 /* ArrowFunction */: + return checkFunctionExpressionOrObjectLiteralMethod(node, checkMode); + case 221 /* TypeOfExpression */: + return checkTypeOfExpression(node); + case 216 /* TypeAssertionExpression */: + case 234 /* AsExpression */: + return checkAssertion(node, checkMode); + case 235 /* NonNullExpression */: + return checkNonNullAssertion(node); + case 233 /* ExpressionWithTypeArguments */: + return checkExpressionWithTypeArguments(node); + case 238 /* SatisfiesExpression */: + return checkSatisfiesExpression(node); + case 236 /* MetaProperty */: + return checkMetaProperty(node); + case 220 /* DeleteExpression */: + return checkDeleteExpression(node); + case 222 /* VoidExpression */: + return checkVoidExpression(node); + case 223 /* AwaitExpression */: + return checkAwaitExpression(node); + case 224 /* PrefixUnaryExpression */: + return checkPrefixUnaryExpression(node); + case 225 /* PostfixUnaryExpression */: + return checkPostfixUnaryExpression(node); + case 226 /* BinaryExpression */: + return checkBinaryExpression(node, checkMode); + case 227 /* ConditionalExpression */: + return checkConditionalExpression(node, checkMode); + case 230 /* SpreadElement */: + return checkSpreadExpression(node, checkMode); + case 232 /* OmittedExpression */: + return undefinedWideningType; + case 229 /* YieldExpression */: + return checkYieldExpression(node); + case 237 /* SyntheticExpression */: + return checkSyntheticExpression(node); + case 294 /* JsxExpression */: + return checkJsxExpression(node, checkMode); + case 284 /* JsxElement */: + return checkJsxElement(node, checkMode); + case 285 /* JsxSelfClosingElement */: + return checkJsxSelfClosingElement(node, checkMode); + case 288 /* JsxFragment */: + return checkJsxFragment(node); + case 292 /* JsxAttributes */: + return checkJsxAttributes(node, checkMode); + case 286 /* JsxOpeningElement */: + Debug.fail("Shouldn't ever directly check a JsxOpeningElement"); + } + return errorType; + } + function checkTypeParameter(node) { + checkGrammarModifiers(node); + if (node.expression) { + grammarErrorOnFirstToken(node.expression, Diagnostics.Type_expected); + } + checkSourceElement(node.constraint); + checkSourceElement(node.default); + const typeParameter = getDeclaredTypeOfTypeParameter(getSymbolOfDeclaration(node)); + getBaseConstraintOfType(typeParameter); + if (!hasNonCircularTypeParameterDefault(typeParameter)) { + error(node.default, Diagnostics.Type_parameter_0_has_a_circular_default, typeToString(typeParameter)); + } + const constraintType = getConstraintOfTypeParameter(typeParameter); + const defaultType = getDefaultFromTypeParameter(typeParameter); + if (constraintType && defaultType) { + checkTypeAssignableTo(defaultType, getTypeWithThisArgument(instantiateType(constraintType, makeUnaryTypeMapper(typeParameter, defaultType)), defaultType), node.default, Diagnostics.Type_0_does_not_satisfy_the_constraint_1); + } + checkNodeDeferred(node); + addLazyDiagnostic(() => checkTypeNameIsReserved(node.name, Diagnostics.Type_parameter_name_cannot_be_0)); + } + function checkTypeParameterDeferred(node) { + var _a, _b; + if (isInterfaceDeclaration(node.parent) || isClassLike(node.parent) || isTypeAliasDeclaration(node.parent)) { + const typeParameter = getDeclaredTypeOfTypeParameter(getSymbolOfDeclaration(node)); + const modifiers = getTypeParameterModifiers(typeParameter) & (8192 /* In */ | 16384 /* Out */); + if (modifiers) { + const symbol = getSymbolOfDeclaration(node.parent); + if (isTypeAliasDeclaration(node.parent) && !(getObjectFlags(getDeclaredTypeOfSymbol(symbol)) & (16 /* Anonymous */ | 32 /* Mapped */))) { + error(node, Diagnostics.Variance_annotations_are_only_supported_in_type_aliases_for_object_function_constructor_and_mapped_types); + } else if (modifiers === 8192 /* In */ || modifiers === 16384 /* Out */) { + (_a = tracing) == null ? void 0 : _a.push(tracing.Phase.CheckTypes, "checkTypeParameterDeferred", { parent: getTypeId(getDeclaredTypeOfSymbol(symbol)), id: getTypeId(typeParameter) }); + const source = createMarkerType(symbol, typeParameter, modifiers === 16384 /* Out */ ? markerSubTypeForCheck : markerSuperTypeForCheck); + const target = createMarkerType(symbol, typeParameter, modifiers === 16384 /* Out */ ? markerSuperTypeForCheck : markerSubTypeForCheck); + const saveVarianceTypeParameter = typeParameter; + varianceTypeParameter = typeParameter; + checkTypeAssignableTo(source, target, node, Diagnostics.Type_0_is_not_assignable_to_type_1_as_implied_by_variance_annotation); + varianceTypeParameter = saveVarianceTypeParameter; + (_b = tracing) == null ? void 0 : _b.pop(); + } + } + } + } + function checkParameter(node) { + checkGrammarModifiers(node); + checkVariableLikeDeclaration(node); + const func = getContainingFunction(node); + if (hasSyntacticModifier(node, 31 /* ParameterPropertyModifier */)) { + if (!(func.kind === 176 /* Constructor */ && nodeIsPresent(func.body))) { + error(node, Diagnostics.A_parameter_property_is_only_allowed_in_a_constructor_implementation); + } + if (func.kind === 176 /* Constructor */ && isIdentifier(node.name) && node.name.escapedText === "constructor") { + error(node.name, Diagnostics.constructor_cannot_be_used_as_a_parameter_property_name); + } + } + if (!node.initializer && isOptionalDeclaration(node) && isBindingPattern(node.name) && func.body) { + error(node, Diagnostics.A_binding_pattern_parameter_cannot_be_optional_in_an_implementation_signature); + } + if (node.name && isIdentifier(node.name) && (node.name.escapedText === "this" || node.name.escapedText === "new")) { + if (func.parameters.indexOf(node) !== 0) { + error(node, Diagnostics.A_0_parameter_must_be_the_first_parameter, node.name.escapedText); + } + if (func.kind === 176 /* Constructor */ || func.kind === 180 /* ConstructSignature */ || func.kind === 185 /* ConstructorType */) { + error(node, Diagnostics.A_constructor_cannot_have_a_this_parameter); + } + if (func.kind === 219 /* ArrowFunction */) { + error(node, Diagnostics.An_arrow_function_cannot_have_a_this_parameter); + } + if (func.kind === 177 /* GetAccessor */ || func.kind === 178 /* SetAccessor */) { + error(node, Diagnostics.get_and_set_accessors_cannot_declare_this_parameters); + } + } + if (node.dotDotDotToken && !isBindingPattern(node.name) && !isTypeAssignableTo(getReducedType(getTypeOfSymbol(node.symbol)), anyReadonlyArrayType)) { + error(node, Diagnostics.A_rest_parameter_must_be_of_an_array_type); + } + } + function checkTypePredicate(node) { + const parent = getTypePredicateParent(node); + if (!parent) { + error(node, Diagnostics.A_type_predicate_is_only_allowed_in_return_type_position_for_functions_and_methods); + return; + } + const signature = getSignatureFromDeclaration(parent); + const typePredicate = getTypePredicateOfSignature(signature); + if (!typePredicate) { + return; + } + checkSourceElement(node.type); + const { parameterName } = node; + if (typePredicate.kind !== 0 /* This */ && typePredicate.kind !== 2 /* AssertsThis */) { + if (typePredicate.parameterIndex >= 0) { + if (signatureHasRestParameter(signature) && typePredicate.parameterIndex === signature.parameters.length - 1) { + error(parameterName, Diagnostics.A_type_predicate_cannot_reference_a_rest_parameter); + } else { + if (typePredicate.type) { + const leadingError = () => chainDiagnosticMessages( + /*details*/ + void 0, + Diagnostics.A_type_predicate_s_type_must_be_assignable_to_its_parameter_s_type + ); + checkTypeAssignableTo( + typePredicate.type, + getTypeOfSymbol(signature.parameters[typePredicate.parameterIndex]), + node.type, + /*headMessage*/ + void 0, + leadingError + ); + } + } + } else if (parameterName) { + let hasReportedError = false; + for (const { name } of parent.parameters) { + if (isBindingPattern(name) && checkIfTypePredicateVariableIsDeclaredInBindingPattern(name, parameterName, typePredicate.parameterName)) { + hasReportedError = true; + break; + } + } + if (!hasReportedError) { + error(node.parameterName, Diagnostics.Cannot_find_parameter_0, typePredicate.parameterName); + } + } + } + } + function getTypePredicateParent(node) { + switch (node.parent.kind) { + case 219 /* ArrowFunction */: + case 179 /* CallSignature */: + case 262 /* FunctionDeclaration */: + case 218 /* FunctionExpression */: + case 184 /* FunctionType */: + case 174 /* MethodDeclaration */: + case 173 /* MethodSignature */: + const parent = node.parent; + if (node === parent.type) { + return parent; + } + } + } + function checkIfTypePredicateVariableIsDeclaredInBindingPattern(pattern, predicateVariableNode, predicateVariableName) { + for (const element of pattern.elements) { + if (isOmittedExpression(element)) { + continue; + } + const name = element.name; + if (name.kind === 80 /* Identifier */ && name.escapedText === predicateVariableName) { + error(predicateVariableNode, Diagnostics.A_type_predicate_cannot_reference_element_0_in_a_binding_pattern, predicateVariableName); + return true; + } else if (name.kind === 207 /* ArrayBindingPattern */ || name.kind === 206 /* ObjectBindingPattern */) { + if (checkIfTypePredicateVariableIsDeclaredInBindingPattern( + name, + predicateVariableNode, + predicateVariableName + )) { + return true; + } + } + } + } + function checkSignatureDeclaration(node) { + if (node.kind === 181 /* IndexSignature */) { + checkGrammarIndexSignature(node); + } else if (node.kind === 184 /* FunctionType */ || node.kind === 262 /* FunctionDeclaration */ || node.kind === 185 /* ConstructorType */ || node.kind === 179 /* CallSignature */ || node.kind === 176 /* Constructor */ || node.kind === 180 /* ConstructSignature */) { + checkGrammarFunctionLikeDeclaration(node); + } + const functionFlags = getFunctionFlags(node); + if (!(functionFlags & 4 /* Invalid */)) { + if ((functionFlags & 3 /* AsyncGenerator */) === 3 /* AsyncGenerator */ && languageVersion < LanguageFeatureMinimumTarget.AsyncGenerators) { + checkExternalEmitHelpers(node, 6144 /* AsyncGeneratorIncludes */); + } + if ((functionFlags & 3 /* AsyncGenerator */) === 2 /* Async */ && languageVersion < LanguageFeatureMinimumTarget.AsyncFunctions) { + checkExternalEmitHelpers(node, 64 /* Awaiter */); + } + if ((functionFlags & 3 /* AsyncGenerator */) !== 0 /* Normal */ && languageVersion < LanguageFeatureMinimumTarget.Generators) { + checkExternalEmitHelpers(node, 128 /* Generator */); + } + } + checkTypeParameters(getEffectiveTypeParameterDeclarations(node)); + checkUnmatchedJSDocParameters(node); + forEach(node.parameters, checkParameter); + if (node.type) { + checkSourceElement(node.type); + } + addLazyDiagnostic(checkSignatureDeclarationDiagnostics); + function checkSignatureDeclarationDiagnostics() { + checkCollisionWithArgumentsInGeneratedCode(node); + let returnTypeNode = getEffectiveReturnTypeNode(node); + let returnTypeErrorLocation = returnTypeNode; + if (isInJSFile(node)) { + const typeTag = getJSDocTypeTag(node); + if (typeTag && typeTag.typeExpression && isTypeReferenceNode(typeTag.typeExpression.type)) { + const signature = getSingleCallSignature(getTypeFromTypeNode(typeTag.typeExpression)); + if (signature && signature.declaration) { + returnTypeNode = getEffectiveReturnTypeNode(signature.declaration); + returnTypeErrorLocation = typeTag.typeExpression.type; + } + } + } + if (noImplicitAny && !returnTypeNode) { + switch (node.kind) { + case 180 /* ConstructSignature */: + error(node, Diagnostics.Construct_signature_which_lacks_return_type_annotation_implicitly_has_an_any_return_type); + break; + case 179 /* CallSignature */: + error(node, Diagnostics.Call_signature_which_lacks_return_type_annotation_implicitly_has_an_any_return_type); + break; + } + } + if (returnTypeNode && returnTypeErrorLocation) { + const functionFlags2 = getFunctionFlags(node); + if ((functionFlags2 & (4 /* Invalid */ | 1 /* Generator */)) === 1 /* Generator */) { + const returnType = getTypeFromTypeNode(returnTypeNode); + if (returnType === voidType) { + error(returnTypeErrorLocation, Diagnostics.A_generator_cannot_have_a_void_type_annotation); + } else { + checkGeneratorInstantiationAssignabilityToReturnType(returnType, functionFlags2, returnTypeErrorLocation); + } + } else if ((functionFlags2 & 3 /* AsyncGenerator */) === 2 /* Async */) { + checkAsyncFunctionReturnType(node, returnTypeNode, returnTypeErrorLocation); + } + } + if (node.kind !== 181 /* IndexSignature */ && node.kind !== 317 /* JSDocFunctionType */) { + registerForUnusedIdentifiersCheck(node); + } + } + } + function checkGeneratorInstantiationAssignabilityToReturnType(returnType, functionFlags, errorNode) { + const generatorYieldType = getIterationTypeOfGeneratorFunctionReturnType(0 /* Yield */, returnType, (functionFlags & 2 /* Async */) !== 0) || anyType; + const generatorReturnType = getIterationTypeOfGeneratorFunctionReturnType(1 /* Return */, returnType, (functionFlags & 2 /* Async */) !== 0) || generatorYieldType; + const generatorNextType = getIterationTypeOfGeneratorFunctionReturnType(2 /* Next */, returnType, (functionFlags & 2 /* Async */) !== 0) || unknownType; + const generatorInstantiation = createGeneratorType(generatorYieldType, generatorReturnType, generatorNextType, !!(functionFlags & 2 /* Async */)); + return checkTypeAssignableTo(generatorInstantiation, returnType, errorNode); + } + function checkClassForDuplicateDeclarations(node) { + const instanceNames = /* @__PURE__ */ new Map(); + const staticNames = /* @__PURE__ */ new Map(); + const privateIdentifiers = /* @__PURE__ */ new Map(); + for (const member of node.members) { + if (member.kind === 176 /* Constructor */) { + for (const param of member.parameters) { + if (isParameterPropertyDeclaration(param, member) && !isBindingPattern(param.name)) { + addName(instanceNames, param.name, param.name.escapedText, 3 /* GetOrSetAccessor */); + } + } + } else { + const isStaticMember = isStatic(member); + const name = member.name; + if (!name) { + continue; + } + const isPrivate = isPrivateIdentifier(name); + const privateStaticFlags = isPrivate && isStaticMember ? 16 /* PrivateStatic */ : 0; + const names = isPrivate ? privateIdentifiers : isStaticMember ? staticNames : instanceNames; + const memberName = name && getEffectivePropertyNameForPropertyNameNode(name); + if (memberName) { + switch (member.kind) { + case 177 /* GetAccessor */: + addName(names, name, memberName, 1 /* GetAccessor */ | privateStaticFlags); + break; + case 178 /* SetAccessor */: + addName(names, name, memberName, 2 /* SetAccessor */ | privateStaticFlags); + break; + case 172 /* PropertyDeclaration */: + addName(names, name, memberName, 3 /* GetOrSetAccessor */ | privateStaticFlags); + break; + case 174 /* MethodDeclaration */: + addName(names, name, memberName, 8 /* Method */ | privateStaticFlags); + break; + } + } + } + } + function addName(names, location, name, meaning) { + const prev = names.get(name); + if (prev) { + if ((prev & 16 /* PrivateStatic */) !== (meaning & 16 /* PrivateStatic */)) { + error(location, Diagnostics.Duplicate_identifier_0_Static_and_instance_elements_cannot_share_the_same_private_name, getTextOfNode(location)); + } else { + const prevIsMethod = !!(prev & 8 /* Method */); + const isMethod = !!(meaning & 8 /* Method */); + if (prevIsMethod || isMethod) { + if (prevIsMethod !== isMethod) { + error(location, Diagnostics.Duplicate_identifier_0, getTextOfNode(location)); + } + } else if (prev & meaning & ~16 /* PrivateStatic */) { + error(location, Diagnostics.Duplicate_identifier_0, getTextOfNode(location)); + } else { + names.set(name, prev | meaning); + } + } + } else { + names.set(name, meaning); + } + } + } + function checkClassForStaticPropertyNameConflicts(node) { + for (const member of node.members) { + const memberNameNode = member.name; + const isStaticMember = isStatic(member); + if (isStaticMember && memberNameNode) { + const memberName = getEffectivePropertyNameForPropertyNameNode(memberNameNode); + switch (memberName) { + case "name": + case "length": + case "caller": + case "arguments": + if (useDefineForClassFields) { + break; + } + // fall through + case "prototype": + const message = Diagnostics.Static_property_0_conflicts_with_built_in_property_Function_0_of_constructor_function_1; + const className = getNameOfSymbolAsWritten(getSymbolOfDeclaration(node)); + error(memberNameNode, message, memberName, className); + break; + } + } + } + } + function checkObjectTypeForDuplicateDeclarations(node) { + const names = /* @__PURE__ */ new Map(); + for (const member of node.members) { + if (member.kind === 171 /* PropertySignature */) { + let memberName; + const name = member.name; + switch (name.kind) { + case 11 /* StringLiteral */: + case 9 /* NumericLiteral */: + memberName = name.text; + break; + case 80 /* Identifier */: + memberName = idText(name); + break; + default: + continue; + } + if (names.get(memberName)) { + error(getNameOfDeclaration(member.symbol.valueDeclaration), Diagnostics.Duplicate_identifier_0, memberName); + error(member.name, Diagnostics.Duplicate_identifier_0, memberName); + } else { + names.set(memberName, true); + } + } + } + } + function checkTypeForDuplicateIndexSignatures(node) { + if (node.kind === 264 /* InterfaceDeclaration */) { + const nodeSymbol = getSymbolOfDeclaration(node); + if (nodeSymbol.declarations && nodeSymbol.declarations.length > 0 && nodeSymbol.declarations[0] !== node) { + return; + } + } + const indexSymbol = getIndexSymbol(getSymbolOfDeclaration(node)); + if (indexSymbol == null ? void 0 : indexSymbol.declarations) { + const indexSignatureMap = /* @__PURE__ */ new Map(); + for (const declaration of indexSymbol.declarations) { + if (isIndexSignatureDeclaration(declaration)) { + if (declaration.parameters.length === 1 && declaration.parameters[0].type) { + forEachType(getTypeFromTypeNode(declaration.parameters[0].type), (type) => { + const entry = indexSignatureMap.get(getTypeId(type)); + if (entry) { + entry.declarations.push(declaration); + } else { + indexSignatureMap.set(getTypeId(type), { type, declarations: [declaration] }); + } + }); + } + } + } + indexSignatureMap.forEach((entry) => { + if (entry.declarations.length > 1) { + for (const declaration of entry.declarations) { + error(declaration, Diagnostics.Duplicate_index_signature_for_type_0, typeToString(entry.type)); + } + } + }); + } + } + function checkPropertyDeclaration(node) { + if (!checkGrammarModifiers(node) && !checkGrammarProperty(node)) checkGrammarComputedPropertyName(node.name); + checkVariableLikeDeclaration(node); + setNodeLinksForPrivateIdentifierScope(node); + if (hasSyntacticModifier(node, 64 /* Abstract */) && node.kind === 172 /* PropertyDeclaration */ && node.initializer) { + error(node, Diagnostics.Property_0_cannot_have_an_initializer_because_it_is_marked_abstract, declarationNameToString(node.name)); + } + } + function checkPropertySignature(node) { + if (isPrivateIdentifier(node.name)) { + error(node, Diagnostics.Private_identifiers_are_not_allowed_outside_class_bodies); + } + return checkPropertyDeclaration(node); + } + function checkMethodDeclaration(node) { + if (!checkGrammarMethod(node)) checkGrammarComputedPropertyName(node.name); + if (isMethodDeclaration(node) && node.asteriskToken && isIdentifier(node.name) && idText(node.name) === "constructor") { + error(node.name, Diagnostics.Class_constructor_may_not_be_a_generator); + } + checkFunctionOrMethodDeclaration(node); + if (hasSyntacticModifier(node, 64 /* Abstract */) && node.kind === 174 /* MethodDeclaration */ && node.body) { + error(node, Diagnostics.Method_0_cannot_have_an_implementation_because_it_is_marked_abstract, declarationNameToString(node.name)); + } + if (isPrivateIdentifier(node.name) && !getContainingClass(node)) { + error(node, Diagnostics.Private_identifiers_are_not_allowed_outside_class_bodies); + } + setNodeLinksForPrivateIdentifierScope(node); + } + function setNodeLinksForPrivateIdentifierScope(node) { + if (isPrivateIdentifier(node.name)) { + if (languageVersion < LanguageFeatureMinimumTarget.PrivateNamesAndClassStaticBlocks || languageVersion < LanguageFeatureMinimumTarget.ClassAndClassElementDecorators || !useDefineForClassFields) { + for (let lexicalScope = getEnclosingBlockScopeContainer(node); !!lexicalScope; lexicalScope = getEnclosingBlockScopeContainer(lexicalScope)) { + getNodeLinks(lexicalScope).flags |= 1048576 /* ContainsClassWithPrivateIdentifiers */; + } + if (isClassExpression(node.parent)) { + const enclosingIterationStatement = getEnclosingIterationStatement(node.parent); + if (enclosingIterationStatement) { + getNodeLinks(node.name).flags |= 32768 /* BlockScopedBindingInLoop */; + getNodeLinks(enclosingIterationStatement).flags |= 4096 /* LoopWithCapturedBlockScopedBinding */; + } + } + } + } + } + function checkClassStaticBlockDeclaration(node) { + checkGrammarModifiers(node); + forEachChild(node, checkSourceElement); + } + function checkConstructorDeclaration(node) { + checkSignatureDeclaration(node); + if (!checkGrammarConstructorTypeParameters(node)) checkGrammarConstructorTypeAnnotation(node); + checkSourceElement(node.body); + const symbol = getSymbolOfDeclaration(node); + const firstDeclaration = getDeclarationOfKind(symbol, node.kind); + if (node === firstDeclaration) { + checkFunctionOrConstructorSymbol(symbol); + } + if (nodeIsMissing(node.body)) { + return; + } + addLazyDiagnostic(checkConstructorDeclarationDiagnostics); + return; + function isInstancePropertyWithInitializerOrPrivateIdentifierProperty(n) { + if (isPrivateIdentifierClassElementDeclaration(n)) { + return true; + } + return n.kind === 172 /* PropertyDeclaration */ && !isStatic(n) && !!n.initializer; + } + function checkConstructorDeclarationDiagnostics() { + const containingClassDecl = node.parent; + if (getClassExtendsHeritageElement(containingClassDecl)) { + captureLexicalThis(node.parent, containingClassDecl); + const classExtendsNull = classDeclarationExtendsNull(containingClassDecl); + const superCall = findFirstSuperCall(node.body); + if (superCall) { + if (classExtendsNull) { + error(superCall, Diagnostics.A_constructor_cannot_contain_a_super_call_when_its_class_extends_null); + } + const superCallShouldBeRootLevel = !emitStandardClassFields && (some(node.parent.members, isInstancePropertyWithInitializerOrPrivateIdentifierProperty) || some(node.parameters, (p) => hasSyntacticModifier(p, 31 /* ParameterPropertyModifier */))); + if (superCallShouldBeRootLevel) { + if (!superCallIsRootLevelInConstructor(superCall, node.body)) { + error(superCall, Diagnostics.A_super_call_must_be_a_root_level_statement_within_a_constructor_of_a_derived_class_that_contains_initialized_properties_parameter_properties_or_private_identifiers); + } else { + let superCallStatement; + for (const statement of node.body.statements) { + if (isExpressionStatement(statement) && isSuperCall(skipOuterExpressions(statement.expression))) { + superCallStatement = statement; + break; + } + if (nodeImmediatelyReferencesSuperOrThis(statement)) { + break; + } + } + if (superCallStatement === void 0) { + error(node, Diagnostics.A_super_call_must_be_the_first_statement_in_the_constructor_to_refer_to_super_or_this_when_a_derived_class_contains_initialized_properties_parameter_properties_or_private_identifiers); + } + } + } + } else if (!classExtendsNull) { + error(node, Diagnostics.Constructors_for_derived_classes_must_contain_a_super_call); + } + } + } + } + function superCallIsRootLevelInConstructor(superCall, body) { + const superCallParent = walkUpParenthesizedExpressions(superCall.parent); + return isExpressionStatement(superCallParent) && superCallParent.parent === body; + } + function nodeImmediatelyReferencesSuperOrThis(node) { + if (node.kind === 108 /* SuperKeyword */ || node.kind === 110 /* ThisKeyword */) { + return true; + } + if (isThisContainerOrFunctionBlock(node)) { + return false; + } + return !!forEachChild(node, nodeImmediatelyReferencesSuperOrThis); + } + function checkAccessorDeclaration(node) { + if (isIdentifier(node.name) && idText(node.name) === "constructor" && isClassLike(node.parent)) { + error(node.name, Diagnostics.Class_constructor_may_not_be_an_accessor); + } + addLazyDiagnostic(checkAccessorDeclarationDiagnostics); + checkSourceElement(node.body); + setNodeLinksForPrivateIdentifierScope(node); + function checkAccessorDeclarationDiagnostics() { + if (!checkGrammarFunctionLikeDeclaration(node) && !checkGrammarAccessor(node)) checkGrammarComputedPropertyName(node.name); + checkDecorators(node); + checkSignatureDeclaration(node); + if (node.kind === 177 /* GetAccessor */) { + if (!(node.flags & 33554432 /* Ambient */) && nodeIsPresent(node.body) && node.flags & 512 /* HasImplicitReturn */) { + if (!(node.flags & 1024 /* HasExplicitReturn */)) { + error(node.name, Diagnostics.A_get_accessor_must_return_a_value); + } + } + } + if (node.name.kind === 167 /* ComputedPropertyName */) { + checkComputedPropertyName(node.name); + } + if (hasBindableName(node)) { + const symbol = getSymbolOfDeclaration(node); + const getter = getDeclarationOfKind(symbol, 177 /* GetAccessor */); + const setter = getDeclarationOfKind(symbol, 178 /* SetAccessor */); + if (getter && setter && !(getNodeCheckFlags(getter) & 1 /* TypeChecked */)) { + getNodeLinks(getter).flags |= 1 /* TypeChecked */; + const getterFlags = getEffectiveModifierFlags(getter); + const setterFlags = getEffectiveModifierFlags(setter); + if ((getterFlags & 64 /* Abstract */) !== (setterFlags & 64 /* Abstract */)) { + error(getter.name, Diagnostics.Accessors_must_both_be_abstract_or_non_abstract); + error(setter.name, Diagnostics.Accessors_must_both_be_abstract_or_non_abstract); + } + if (getterFlags & 4 /* Protected */ && !(setterFlags & (4 /* Protected */ | 2 /* Private */)) || getterFlags & 2 /* Private */ && !(setterFlags & 2 /* Private */)) { + error(getter.name, Diagnostics.A_get_accessor_must_be_at_least_as_accessible_as_the_setter); + error(setter.name, Diagnostics.A_get_accessor_must_be_at_least_as_accessible_as_the_setter); + } + } + } + const returnType = getTypeOfAccessors(getSymbolOfDeclaration(node)); + if (node.kind === 177 /* GetAccessor */) { + checkAllCodePathsInNonVoidFunctionReturnOrThrow(node, returnType); + } + } + } + function checkMissingDeclaration(node) { + checkDecorators(node); + } + function getEffectiveTypeArgumentAtIndex(node, typeParameters, index) { + if (node.typeArguments && index < node.typeArguments.length) { + return getTypeFromTypeNode(node.typeArguments[index]); + } + return getEffectiveTypeArguments(node, typeParameters)[index]; + } + function getEffectiveTypeArguments(node, typeParameters) { + return fillMissingTypeArguments(map(node.typeArguments, getTypeFromTypeNode), typeParameters, getMinTypeArgumentCount(typeParameters), isInJSFile(node)); + } + function checkTypeArgumentConstraints(node, typeParameters) { + let typeArguments; + let mapper; + let result = true; + for (let i = 0; i < typeParameters.length; i++) { + const constraint = getConstraintOfTypeParameter(typeParameters[i]); + if (constraint) { + if (!typeArguments) { + typeArguments = getEffectiveTypeArguments(node, typeParameters); + mapper = createTypeMapper(typeParameters, typeArguments); + } + result = result && checkTypeAssignableTo( + typeArguments[i], + instantiateType(constraint, mapper), + node.typeArguments[i], + Diagnostics.Type_0_does_not_satisfy_the_constraint_1 + ); + } + } + return result; + } + function getTypeParametersForTypeAndSymbol(type, symbol) { + if (!isErrorType(type)) { + return symbol.flags & 524288 /* TypeAlias */ && getSymbolLinks(symbol).typeParameters || (getObjectFlags(type) & 4 /* Reference */ ? type.target.localTypeParameters : void 0); + } + return void 0; + } + function getTypeParametersForTypeReferenceOrImport(node) { + const type = getTypeFromTypeNode(node); + if (!isErrorType(type)) { + const symbol = getNodeLinks(node).resolvedSymbol; + if (symbol) { + return getTypeParametersForTypeAndSymbol(type, symbol); + } + } + return void 0; + } + function checkTypeReferenceNode(node) { + checkGrammarTypeArguments(node, node.typeArguments); + if (node.kind === 183 /* TypeReference */ && !isInJSFile(node) && !isInJSDoc(node) && node.typeArguments && node.typeName.end !== node.typeArguments.pos) { + const sourceFile = getSourceFileOfNode(node); + if (scanTokenAtPosition(sourceFile, node.typeName.end) === 25 /* DotToken */) { + grammarErrorAtPos(node, skipTrivia(sourceFile.text, node.typeName.end), 1, Diagnostics.JSDoc_types_can_only_be_used_inside_documentation_comments); + } + } + forEach(node.typeArguments, checkSourceElement); + checkTypeReferenceOrImport(node); + } + function checkTypeReferenceOrImport(node) { + const type = getTypeFromTypeNode(node); + if (!isErrorType(type)) { + if (node.typeArguments) { + addLazyDiagnostic(() => { + const typeParameters = getTypeParametersForTypeReferenceOrImport(node); + if (typeParameters) { + checkTypeArgumentConstraints(node, typeParameters); + } + }); + } + const symbol = getNodeLinks(node).resolvedSymbol; + if (symbol) { + if (some(symbol.declarations, (d) => isTypeDeclaration(d) && !!(d.flags & 536870912 /* Deprecated */))) { + addDeprecatedSuggestion( + getDeprecatedSuggestionNode(node), + symbol.declarations, + symbol.escapedName + ); + } + } + } + } + function getTypeArgumentConstraint(node) { + const typeReferenceNode = tryCast(node.parent, isTypeReferenceType); + if (!typeReferenceNode) return void 0; + const typeParameters = getTypeParametersForTypeReferenceOrImport(typeReferenceNode); + if (!typeParameters) return void 0; + const constraint = getConstraintOfTypeParameter(typeParameters[typeReferenceNode.typeArguments.indexOf(node)]); + return constraint && instantiateType(constraint, createTypeMapper(typeParameters, getEffectiveTypeArguments(typeReferenceNode, typeParameters))); + } + function checkTypeQuery(node) { + getTypeFromTypeQueryNode(node); + } + function checkTypeLiteral(node) { + forEach(node.members, checkSourceElement); + addLazyDiagnostic(checkTypeLiteralDiagnostics); + function checkTypeLiteralDiagnostics() { + const type = getTypeFromTypeLiteralOrFunctionOrConstructorTypeNode(node); + checkIndexConstraints(type, type.symbol); + checkTypeForDuplicateIndexSignatures(node); + checkObjectTypeForDuplicateDeclarations(node); + } + } + function checkArrayType(node) { + checkSourceElement(node.elementType); + } + function checkTupleType(node) { + let seenOptionalElement = false; + let seenRestElement = false; + for (const e of node.elements) { + let flags = getTupleElementFlags(e); + if (flags & 8 /* Variadic */) { + const type = getTypeFromTypeNode(e.type); + if (!isArrayLikeType(type)) { + error(e, Diagnostics.A_rest_element_type_must_be_an_array_type); + break; + } + if (isArrayType(type) || isTupleType(type) && type.target.combinedFlags & 4 /* Rest */) { + flags |= 4 /* Rest */; + } + } + if (flags & 4 /* Rest */) { + if (seenRestElement) { + grammarErrorOnNode(e, Diagnostics.A_rest_element_cannot_follow_another_rest_element); + break; + } + seenRestElement = true; + } else if (flags & 2 /* Optional */) { + if (seenRestElement) { + grammarErrorOnNode(e, Diagnostics.An_optional_element_cannot_follow_a_rest_element); + break; + } + seenOptionalElement = true; + } else if (flags & 1 /* Required */ && seenOptionalElement) { + grammarErrorOnNode(e, Diagnostics.A_required_element_cannot_follow_an_optional_element); + break; + } + } + forEach(node.elements, checkSourceElement); + getTypeFromTypeNode(node); + } + function checkUnionOrIntersectionType(node) { + forEach(node.types, checkSourceElement); + getTypeFromTypeNode(node); + } + function checkIndexedAccessIndexType(type, accessNode) { + if (!(type.flags & 8388608 /* IndexedAccess */)) { + return type; + } + const objectType = type.objectType; + const indexType = type.indexType; + const objectIndexType = isGenericMappedType(objectType) && getMappedTypeNameTypeKind(objectType) === 2 /* Remapping */ ? getIndexTypeForMappedType(objectType, 0 /* None */) : getIndexType(objectType, 0 /* None */); + const hasNumberIndexInfo = !!getIndexInfoOfType(objectType, numberType); + if (everyType(indexType, (t) => isTypeAssignableTo(t, objectIndexType) || hasNumberIndexInfo && isApplicableIndexType(t, numberType))) { + if (accessNode.kind === 212 /* ElementAccessExpression */ && isAssignmentTarget(accessNode) && getObjectFlags(objectType) & 32 /* Mapped */ && getMappedTypeModifiers(objectType) & 1 /* IncludeReadonly */) { + error(accessNode, Diagnostics.Index_signature_in_type_0_only_permits_reading, typeToString(objectType)); + } + return type; + } + if (isGenericObjectType(objectType)) { + const propertyName = getPropertyNameFromIndex(indexType, accessNode); + if (propertyName) { + const propertySymbol = forEachType(getApparentType(objectType), (t) => getPropertyOfType(t, propertyName)); + if (propertySymbol && getDeclarationModifierFlagsFromSymbol(propertySymbol) & 6 /* NonPublicAccessibilityModifier */) { + error(accessNode, Diagnostics.Private_or_protected_member_0_cannot_be_accessed_on_a_type_parameter, unescapeLeadingUnderscores(propertyName)); + return errorType; + } + } + } + error(accessNode, Diagnostics.Type_0_cannot_be_used_to_index_type_1, typeToString(indexType), typeToString(objectType)); + return errorType; + } + function checkIndexedAccessType(node) { + checkSourceElement(node.objectType); + checkSourceElement(node.indexType); + checkIndexedAccessIndexType(getTypeFromIndexedAccessTypeNode(node), node); + } + function checkMappedType(node) { + checkGrammarMappedType(node); + checkSourceElement(node.typeParameter); + checkSourceElement(node.nameType); + checkSourceElement(node.type); + if (!node.type) { + reportImplicitAny(node, anyType); + } + const type = getTypeFromMappedTypeNode(node); + const nameType = getNameTypeFromMappedType(type); + if (nameType) { + checkTypeAssignableTo(nameType, stringNumberSymbolType, node.nameType); + } else { + const constraintType = getConstraintTypeFromMappedType(type); + checkTypeAssignableTo(constraintType, stringNumberSymbolType, getEffectiveConstraintOfTypeParameter(node.typeParameter)); + } + } + function checkGrammarMappedType(node) { + var _a; + if ((_a = node.members) == null ? void 0 : _a.length) { + return grammarErrorOnNode(node.members[0], Diagnostics.A_mapped_type_may_not_declare_properties_or_methods); + } + } + function checkThisType(node) { + getTypeFromThisTypeNode(node); + } + function checkTypeOperator(node) { + checkGrammarTypeOperatorNode(node); + checkSourceElement(node.type); + } + function checkConditionalType(node) { + forEachChild(node, checkSourceElement); + } + function checkInferType(node) { + if (!findAncestor(node, (n) => n.parent && n.parent.kind === 194 /* ConditionalType */ && n.parent.extendsType === n)) { + grammarErrorOnNode(node, Diagnostics.infer_declarations_are_only_permitted_in_the_extends_clause_of_a_conditional_type); + } + checkSourceElement(node.typeParameter); + const symbol = getSymbolOfDeclaration(node.typeParameter); + if (symbol.declarations && symbol.declarations.length > 1) { + const links = getSymbolLinks(symbol); + if (!links.typeParametersChecked) { + links.typeParametersChecked = true; + const typeParameter = getDeclaredTypeOfTypeParameter(symbol); + const declarations = getDeclarationsOfKind(symbol, 168 /* TypeParameter */); + if (!areTypeParametersIdentical(declarations, [typeParameter], (decl) => [decl])) { + const name = symbolToString(symbol); + for (const declaration of declarations) { + error(declaration.name, Diagnostics.All_declarations_of_0_must_have_identical_constraints, name); + } + } + } + } + registerForUnusedIdentifiersCheck(node); + } + function checkTemplateLiteralType(node) { + for (const span of node.templateSpans) { + checkSourceElement(span.type); + const type = getTypeFromTypeNode(span.type); + checkTypeAssignableTo(type, templateConstraintType, span.type); + } + getTypeFromTypeNode(node); + } + function checkImportType(node) { + checkSourceElement(node.argument); + if (node.attributes) { + getResolutionModeOverride(node.attributes, grammarErrorOnNode); + } + checkTypeReferenceOrImport(node); + } + function checkNamedTupleMember(node) { + if (node.dotDotDotToken && node.questionToken) { + grammarErrorOnNode(node, Diagnostics.A_tuple_member_cannot_be_both_optional_and_rest); + } + if (node.type.kind === 190 /* OptionalType */) { + grammarErrorOnNode(node.type, Diagnostics.A_labeled_tuple_element_is_declared_as_optional_with_a_question_mark_after_the_name_and_before_the_colon_rather_than_after_the_type); + } + if (node.type.kind === 191 /* RestType */) { + grammarErrorOnNode(node.type, Diagnostics.A_labeled_tuple_element_is_declared_as_rest_with_a_before_the_name_rather_than_before_the_type); + } + checkSourceElement(node.type); + getTypeFromTypeNode(node); + } + function isPrivateWithinAmbient(node) { + return (hasEffectiveModifier(node, 2 /* Private */) || isPrivateIdentifierClassElementDeclaration(node)) && !!(node.flags & 33554432 /* Ambient */); + } + function getEffectiveDeclarationFlags(n, flagsToCheck) { + let flags = getCombinedModifierFlagsCached(n); + if (n.parent.kind !== 264 /* InterfaceDeclaration */ && n.parent.kind !== 263 /* ClassDeclaration */ && n.parent.kind !== 231 /* ClassExpression */ && n.flags & 33554432 /* Ambient */) { + const container = getEnclosingContainer(n); + if (container && container.flags & 128 /* ExportContext */ && !(flags & 128 /* Ambient */) && !(isModuleBlock(n.parent) && isModuleDeclaration(n.parent.parent) && isGlobalScopeAugmentation(n.parent.parent))) { + flags |= 32 /* Export */; + } + flags |= 128 /* Ambient */; + } + return flags & flagsToCheck; + } + function checkFunctionOrConstructorSymbol(symbol) { + addLazyDiagnostic(() => checkFunctionOrConstructorSymbolWorker(symbol)); + } + function checkFunctionOrConstructorSymbolWorker(symbol) { + function getCanonicalOverload(overloads, implementation) { + const implementationSharesContainerWithFirstOverload = implementation !== void 0 && implementation.parent === overloads[0].parent; + return implementationSharesContainerWithFirstOverload ? implementation : overloads[0]; + } + function checkFlagAgreementBetweenOverloads(overloads, implementation, flagsToCheck2, someOverloadFlags, allOverloadFlags) { + const someButNotAllOverloadFlags = someOverloadFlags ^ allOverloadFlags; + if (someButNotAllOverloadFlags !== 0) { + const canonicalFlags = getEffectiveDeclarationFlags(getCanonicalOverload(overloads, implementation), flagsToCheck2); + group(overloads, (o) => getSourceFileOfNode(o).fileName).forEach((overloadsInFile) => { + const canonicalFlagsForFile = getEffectiveDeclarationFlags(getCanonicalOverload(overloadsInFile, implementation), flagsToCheck2); + for (const o of overloadsInFile) { + const deviation = getEffectiveDeclarationFlags(o, flagsToCheck2) ^ canonicalFlags; + const deviationInFile = getEffectiveDeclarationFlags(o, flagsToCheck2) ^ canonicalFlagsForFile; + if (deviationInFile & 32 /* Export */) { + error(getNameOfDeclaration(o), Diagnostics.Overload_signatures_must_all_be_exported_or_non_exported); + } else if (deviationInFile & 128 /* Ambient */) { + error(getNameOfDeclaration(o), Diagnostics.Overload_signatures_must_all_be_ambient_or_non_ambient); + } else if (deviation & (2 /* Private */ | 4 /* Protected */)) { + error(getNameOfDeclaration(o) || o, Diagnostics.Overload_signatures_must_all_be_public_private_or_protected); + } else if (deviation & 64 /* Abstract */) { + error(getNameOfDeclaration(o), Diagnostics.Overload_signatures_must_all_be_abstract_or_non_abstract); + } + } + }); + } + } + function checkQuestionTokenAgreementBetweenOverloads(overloads, implementation, someHaveQuestionToken2, allHaveQuestionToken2) { + if (someHaveQuestionToken2 !== allHaveQuestionToken2) { + const canonicalHasQuestionToken = hasQuestionToken(getCanonicalOverload(overloads, implementation)); + forEach(overloads, (o) => { + const deviation = hasQuestionToken(o) !== canonicalHasQuestionToken; + if (deviation) { + error(getNameOfDeclaration(o), Diagnostics.Overload_signatures_must_all_be_optional_or_required); + } + }); + } + } + const flagsToCheck = 32 /* Export */ | 128 /* Ambient */ | 2 /* Private */ | 4 /* Protected */ | 64 /* Abstract */; + let someNodeFlags = 0 /* None */; + let allNodeFlags = flagsToCheck; + let someHaveQuestionToken = false; + let allHaveQuestionToken = true; + let hasOverloads = false; + let bodyDeclaration; + let lastSeenNonAmbientDeclaration; + let previousDeclaration; + const declarations = symbol.declarations; + const isConstructor = (symbol.flags & 16384 /* Constructor */) !== 0; + function reportImplementationExpectedError(node) { + if (node.name && nodeIsMissing(node.name)) { + return; + } + let seen = false; + const subsequentNode = forEachChild(node.parent, (c) => { + if (seen) { + return c; + } else { + seen = c === node; + } + }); + if (subsequentNode && subsequentNode.pos === node.end) { + if (subsequentNode.kind === node.kind) { + const errorNode2 = subsequentNode.name || subsequentNode; + const subsequentName = subsequentNode.name; + if (node.name && subsequentName && // both are private identifiers + (isPrivateIdentifier(node.name) && isPrivateIdentifier(subsequentName) && node.name.escapedText === subsequentName.escapedText || // Both are computed property names + isComputedPropertyName(node.name) && isComputedPropertyName(subsequentName) && isTypeIdenticalTo(checkComputedPropertyName(node.name), checkComputedPropertyName(subsequentName)) || // Both are literal property names that are the same. + isPropertyNameLiteral(node.name) && isPropertyNameLiteral(subsequentName) && getEscapedTextOfIdentifierOrLiteral(node.name) === getEscapedTextOfIdentifierOrLiteral(subsequentName))) { + const reportError = (node.kind === 174 /* MethodDeclaration */ || node.kind === 173 /* MethodSignature */) && isStatic(node) !== isStatic(subsequentNode); + if (reportError) { + const diagnostic = isStatic(node) ? Diagnostics.Function_overload_must_be_static : Diagnostics.Function_overload_must_not_be_static; + error(errorNode2, diagnostic); + } + return; + } + if (nodeIsPresent(subsequentNode.body)) { + error(errorNode2, Diagnostics.Function_implementation_name_must_be_0, declarationNameToString(node.name)); + return; + } + } + } + const errorNode = node.name || node; + if (isConstructor) { + error(errorNode, Diagnostics.Constructor_implementation_is_missing); + } else { + if (hasSyntacticModifier(node, 64 /* Abstract */)) { + error(errorNode, Diagnostics.All_declarations_of_an_abstract_method_must_be_consecutive); + } else { + error(errorNode, Diagnostics.Function_implementation_is_missing_or_not_immediately_following_the_declaration); + } + } + } + let duplicateFunctionDeclaration = false; + let multipleConstructorImplementation = false; + let hasNonAmbientClass = false; + const functionDeclarations = []; + if (declarations) { + for (const current of declarations) { + const node = current; + const inAmbientContext = node.flags & 33554432 /* Ambient */; + const inAmbientContextOrInterface = node.parent && (node.parent.kind === 264 /* InterfaceDeclaration */ || node.parent.kind === 187 /* TypeLiteral */) || inAmbientContext; + if (inAmbientContextOrInterface) { + previousDeclaration = void 0; + } + if ((node.kind === 263 /* ClassDeclaration */ || node.kind === 231 /* ClassExpression */) && !inAmbientContext) { + hasNonAmbientClass = true; + } + if (node.kind === 262 /* FunctionDeclaration */ || node.kind === 174 /* MethodDeclaration */ || node.kind === 173 /* MethodSignature */ || node.kind === 176 /* Constructor */) { + functionDeclarations.push(node); + const currentNodeFlags = getEffectiveDeclarationFlags(node, flagsToCheck); + someNodeFlags |= currentNodeFlags; + allNodeFlags &= currentNodeFlags; + someHaveQuestionToken = someHaveQuestionToken || hasQuestionToken(node); + allHaveQuestionToken = allHaveQuestionToken && hasQuestionToken(node); + const bodyIsPresent = nodeIsPresent(node.body); + if (bodyIsPresent && bodyDeclaration) { + if (isConstructor) { + multipleConstructorImplementation = true; + } else { + duplicateFunctionDeclaration = true; + } + } else if ((previousDeclaration == null ? void 0 : previousDeclaration.parent) === node.parent && previousDeclaration.end !== node.pos) { + reportImplementationExpectedError(previousDeclaration); + } + if (bodyIsPresent) { + if (!bodyDeclaration) { + bodyDeclaration = node; + } + } else { + hasOverloads = true; + } + previousDeclaration = node; + if (!inAmbientContextOrInterface) { + lastSeenNonAmbientDeclaration = node; + } + } + if (isInJSFile(current) && isFunctionLike(current) && current.jsDoc) { + hasOverloads = length(getJSDocOverloadTags(current)) > 0; + } + } + } + if (multipleConstructorImplementation) { + forEach(functionDeclarations, (declaration) => { + error(declaration, Diagnostics.Multiple_constructor_implementations_are_not_allowed); + }); + } + if (duplicateFunctionDeclaration) { + forEach(functionDeclarations, (declaration) => { + error(getNameOfDeclaration(declaration) || declaration, Diagnostics.Duplicate_function_implementation); + }); + } + if (hasNonAmbientClass && !isConstructor && symbol.flags & 16 /* Function */ && declarations) { + const relatedDiagnostics = filter(declarations, (d) => d.kind === 263 /* ClassDeclaration */).map((d) => createDiagnosticForNode(d, Diagnostics.Consider_adding_a_declare_modifier_to_this_class)); + forEach(declarations, (declaration) => { + const diagnostic = declaration.kind === 263 /* ClassDeclaration */ ? Diagnostics.Class_declaration_cannot_implement_overload_list_for_0 : declaration.kind === 262 /* FunctionDeclaration */ ? Diagnostics.Function_with_bodies_can_only_merge_with_classes_that_are_ambient : void 0; + if (diagnostic) { + addRelatedInfo( + error(getNameOfDeclaration(declaration) || declaration, diagnostic, symbolName(symbol)), + ...relatedDiagnostics + ); + } + }); + } + if (lastSeenNonAmbientDeclaration && !lastSeenNonAmbientDeclaration.body && !hasSyntacticModifier(lastSeenNonAmbientDeclaration, 64 /* Abstract */) && !lastSeenNonAmbientDeclaration.questionToken) { + reportImplementationExpectedError(lastSeenNonAmbientDeclaration); + } + if (hasOverloads) { + if (declarations) { + checkFlagAgreementBetweenOverloads(declarations, bodyDeclaration, flagsToCheck, someNodeFlags, allNodeFlags); + checkQuestionTokenAgreementBetweenOverloads(declarations, bodyDeclaration, someHaveQuestionToken, allHaveQuestionToken); + } + if (bodyDeclaration) { + const signatures = getSignaturesOfSymbol(symbol); + const bodySignature = getSignatureFromDeclaration(bodyDeclaration); + for (const signature of signatures) { + if (!isImplementationCompatibleWithOverload(bodySignature, signature)) { + const errorNode = signature.declaration && isJSDocSignature(signature.declaration) ? signature.declaration.parent.tagName : signature.declaration; + addRelatedInfo( + error(errorNode, Diagnostics.This_overload_signature_is_not_compatible_with_its_implementation_signature), + createDiagnosticForNode(bodyDeclaration, Diagnostics.The_implementation_signature_is_declared_here) + ); + break; + } + } + } + } + } + function checkExportsOnMergedDeclarations(node) { + addLazyDiagnostic(() => checkExportsOnMergedDeclarationsWorker(node)); + } + function checkExportsOnMergedDeclarationsWorker(node) { + let symbol = node.localSymbol; + if (!symbol) { + symbol = getSymbolOfDeclaration(node); + if (!symbol.exportSymbol) { + return; + } + } + if (getDeclarationOfKind(symbol, node.kind) !== node) { + return; + } + let exportedDeclarationSpaces = 0 /* None */; + let nonExportedDeclarationSpaces = 0 /* None */; + let defaultExportedDeclarationSpaces = 0 /* None */; + for (const d of symbol.declarations) { + const declarationSpaces = getDeclarationSpaces(d); + const effectiveDeclarationFlags = getEffectiveDeclarationFlags(d, 32 /* Export */ | 2048 /* Default */); + if (effectiveDeclarationFlags & 32 /* Export */) { + if (effectiveDeclarationFlags & 2048 /* Default */) { + defaultExportedDeclarationSpaces |= declarationSpaces; + } else { + exportedDeclarationSpaces |= declarationSpaces; + } + } else { + nonExportedDeclarationSpaces |= declarationSpaces; + } + } + const nonDefaultExportedDeclarationSpaces = exportedDeclarationSpaces | nonExportedDeclarationSpaces; + const commonDeclarationSpacesForExportsAndLocals = exportedDeclarationSpaces & nonExportedDeclarationSpaces; + const commonDeclarationSpacesForDefaultAndNonDefault = defaultExportedDeclarationSpaces & nonDefaultExportedDeclarationSpaces; + if (commonDeclarationSpacesForExportsAndLocals || commonDeclarationSpacesForDefaultAndNonDefault) { + for (const d of symbol.declarations) { + const declarationSpaces = getDeclarationSpaces(d); + const name = getNameOfDeclaration(d); + if (declarationSpaces & commonDeclarationSpacesForDefaultAndNonDefault) { + error(name, Diagnostics.Merged_declaration_0_cannot_include_a_default_export_declaration_Consider_adding_a_separate_export_default_0_declaration_instead, declarationNameToString(name)); + } else if (declarationSpaces & commonDeclarationSpacesForExportsAndLocals) { + error(name, Diagnostics.Individual_declarations_in_merged_declaration_0_must_be_all_exported_or_all_local, declarationNameToString(name)); + } + } + } + function getDeclarationSpaces(decl) { + let d = decl; + switch (d.kind) { + case 264 /* InterfaceDeclaration */: + case 265 /* TypeAliasDeclaration */: + // A jsdoc typedef and callback are, by definition, type aliases. + // falls through + case 346 /* JSDocTypedefTag */: + case 338 /* JSDocCallbackTag */: + case 340 /* JSDocEnumTag */: + return 2 /* ExportType */; + case 267 /* ModuleDeclaration */: + return isAmbientModule(d) || getModuleInstanceState(d) !== 0 /* NonInstantiated */ ? 4 /* ExportNamespace */ | 1 /* ExportValue */ : 4 /* ExportNamespace */; + case 263 /* ClassDeclaration */: + case 266 /* EnumDeclaration */: + case 306 /* EnumMember */: + return 2 /* ExportType */ | 1 /* ExportValue */; + case 307 /* SourceFile */: + return 2 /* ExportType */ | 1 /* ExportValue */ | 4 /* ExportNamespace */; + case 277 /* ExportAssignment */: + case 226 /* BinaryExpression */: + const node2 = d; + const expression = isExportAssignment(node2) ? node2.expression : node2.right; + if (!isEntityNameExpression(expression)) { + return 1 /* ExportValue */; + } + d = expression; + // The below options all declare an Alias, which is allowed to merge with other values within the importing module. + // falls through + case 271 /* ImportEqualsDeclaration */: + case 274 /* NamespaceImport */: + case 273 /* ImportClause */: + let result = 0 /* None */; + const target = resolveAlias(getSymbolOfDeclaration(d)); + forEach(target.declarations, (d2) => { + result |= getDeclarationSpaces(d2); + }); + return result; + case 260 /* VariableDeclaration */: + case 208 /* BindingElement */: + case 262 /* FunctionDeclaration */: + case 276 /* ImportSpecifier */: + // https://github.com/Microsoft/TypeScript/pull/7591 + case 80 /* Identifier */: + return 1 /* ExportValue */; + case 173 /* MethodSignature */: + case 171 /* PropertySignature */: + return 2 /* ExportType */; + default: + return Debug.failBadSyntaxKind(d); + } + } + } + function getAwaitedTypeOfPromise(type, errorNode, diagnosticMessage, ...args) { + const promisedType = getPromisedTypeOfPromise(type, errorNode); + return promisedType && getAwaitedType(promisedType, errorNode, diagnosticMessage, ...args); + } + function getPromisedTypeOfPromise(type, errorNode, thisTypeForErrorOut) { + if (isTypeAny(type)) { + return void 0; + } + const typeAsPromise = type; + if (typeAsPromise.promisedTypeOfPromise) { + return typeAsPromise.promisedTypeOfPromise; + } + if (isReferenceToType(type, getGlobalPromiseType( + /*reportErrors*/ + false + ))) { + return typeAsPromise.promisedTypeOfPromise = getTypeArguments(type)[0]; + } + if (allTypesAssignableToKind(getBaseConstraintOrType(type), 402784252 /* Primitive */ | 131072 /* Never */)) { + return void 0; + } + const thenFunction = getTypeOfPropertyOfType(type, "then"); + if (isTypeAny(thenFunction)) { + return void 0; + } + const thenSignatures = thenFunction ? getSignaturesOfType(thenFunction, 0 /* Call */) : emptyArray; + if (thenSignatures.length === 0) { + if (errorNode) { + error(errorNode, Diagnostics.A_promise_must_have_a_then_method); + } + return void 0; + } + let thisTypeForError; + let candidates; + for (const thenSignature of thenSignatures) { + const thisType = getThisTypeOfSignature(thenSignature); + if (thisType && thisType !== voidType && !isTypeRelatedTo(type, thisType, subtypeRelation)) { + thisTypeForError = thisType; + } else { + candidates = append(candidates, thenSignature); + } + } + if (!candidates) { + Debug.assertIsDefined(thisTypeForError); + if (thisTypeForErrorOut) { + thisTypeForErrorOut.value = thisTypeForError; + } + if (errorNode) { + error(errorNode, Diagnostics.The_this_context_of_type_0_is_not_assignable_to_method_s_this_of_type_1, typeToString(type), typeToString(thisTypeForError)); + } + return void 0; + } + const onfulfilledParameterType = getTypeWithFacts(getUnionType(map(candidates, getTypeOfFirstParameterOfSignature)), 2097152 /* NEUndefinedOrNull */); + if (isTypeAny(onfulfilledParameterType)) { + return void 0; + } + const onfulfilledParameterSignatures = getSignaturesOfType(onfulfilledParameterType, 0 /* Call */); + if (onfulfilledParameterSignatures.length === 0) { + if (errorNode) { + error(errorNode, Diagnostics.The_first_parameter_of_the_then_method_of_a_promise_must_be_a_callback); + } + return void 0; + } + return typeAsPromise.promisedTypeOfPromise = getUnionType(map(onfulfilledParameterSignatures, getTypeOfFirstParameterOfSignature), 2 /* Subtype */); + } + function checkAwaitedType(type, withAlias, errorNode, diagnosticMessage, ...args) { + const awaitedType = withAlias ? getAwaitedType(type, errorNode, diagnosticMessage, ...args) : getAwaitedTypeNoAlias(type, errorNode, diagnosticMessage, ...args); + return awaitedType || errorType; + } + function isThenableType(type) { + if (allTypesAssignableToKind(getBaseConstraintOrType(type), 402784252 /* Primitive */ | 131072 /* Never */)) { + return false; + } + const thenFunction = getTypeOfPropertyOfType(type, "then"); + return !!thenFunction && getSignaturesOfType(getTypeWithFacts(thenFunction, 2097152 /* NEUndefinedOrNull */), 0 /* Call */).length > 0; + } + function isAwaitedTypeInstantiation(type) { + var _a; + if (type.flags & 16777216 /* Conditional */) { + const awaitedSymbol = getGlobalAwaitedSymbol( + /*reportErrors*/ + false + ); + return !!awaitedSymbol && type.aliasSymbol === awaitedSymbol && ((_a = type.aliasTypeArguments) == null ? void 0 : _a.length) === 1; + } + return false; + } + function unwrapAwaitedType(type) { + return type.flags & 1048576 /* Union */ ? mapType(type, unwrapAwaitedType) : isAwaitedTypeInstantiation(type) ? type.aliasTypeArguments[0] : type; + } + function isAwaitedTypeNeeded(type) { + if (isTypeAny(type) || isAwaitedTypeInstantiation(type)) { + return false; + } + if (isGenericObjectType(type)) { + const baseConstraint = getBaseConstraintOfType(type); + if (baseConstraint ? baseConstraint.flags & 3 /* AnyOrUnknown */ || isEmptyObjectType(baseConstraint) || someType(baseConstraint, isThenableType) : maybeTypeOfKind(type, 8650752 /* TypeVariable */)) { + return true; + } + } + return false; + } + function tryCreateAwaitedType(type) { + const awaitedSymbol = getGlobalAwaitedSymbol( + /*reportErrors*/ + true + ); + if (awaitedSymbol) { + return getTypeAliasInstantiation(awaitedSymbol, [unwrapAwaitedType(type)]); + } + return void 0; + } + function createAwaitedTypeIfNeeded(type) { + if (isAwaitedTypeNeeded(type)) { + return tryCreateAwaitedType(type) ?? type; + } + Debug.assert(isAwaitedTypeInstantiation(type) || getPromisedTypeOfPromise(type) === void 0, "type provided should not be a non-generic 'promise'-like."); + return type; + } + function getAwaitedType(type, errorNode, diagnosticMessage, ...args) { + const awaitedType = getAwaitedTypeNoAlias(type, errorNode, diagnosticMessage, ...args); + return awaitedType && createAwaitedTypeIfNeeded(awaitedType); + } + function getAwaitedTypeNoAlias(type, errorNode, diagnosticMessage, ...args) { + if (isTypeAny(type)) { + return type; + } + if (isAwaitedTypeInstantiation(type)) { + return type; + } + const typeAsAwaitable = type; + if (typeAsAwaitable.awaitedTypeOfType) { + return typeAsAwaitable.awaitedTypeOfType; + } + if (type.flags & 1048576 /* Union */) { + if (awaitedTypeStack.lastIndexOf(type.id) >= 0) { + if (errorNode) { + error(errorNode, Diagnostics.Type_is_referenced_directly_or_indirectly_in_the_fulfillment_callback_of_its_own_then_method); + } + return void 0; + } + const mapper = errorNode ? (constituentType) => getAwaitedTypeNoAlias(constituentType, errorNode, diagnosticMessage, ...args) : getAwaitedTypeNoAlias; + awaitedTypeStack.push(type.id); + const mapped = mapType(type, mapper); + awaitedTypeStack.pop(); + return typeAsAwaitable.awaitedTypeOfType = mapped; + } + if (isAwaitedTypeNeeded(type)) { + return typeAsAwaitable.awaitedTypeOfType = type; + } + const thisTypeForErrorOut = { value: void 0 }; + const promisedType = getPromisedTypeOfPromise( + type, + /*errorNode*/ + void 0, + thisTypeForErrorOut + ); + if (promisedType) { + if (type.id === promisedType.id || awaitedTypeStack.lastIndexOf(promisedType.id) >= 0) { + if (errorNode) { + error(errorNode, Diagnostics.Type_is_referenced_directly_or_indirectly_in_the_fulfillment_callback_of_its_own_then_method); + } + return void 0; + } + awaitedTypeStack.push(type.id); + const awaitedType = getAwaitedTypeNoAlias(promisedType, errorNode, diagnosticMessage, ...args); + awaitedTypeStack.pop(); + if (!awaitedType) { + return void 0; + } + return typeAsAwaitable.awaitedTypeOfType = awaitedType; + } + if (isThenableType(type)) { + if (errorNode) { + Debug.assertIsDefined(diagnosticMessage); + let chain; + if (thisTypeForErrorOut.value) { + chain = chainDiagnosticMessages(chain, Diagnostics.The_this_context_of_type_0_is_not_assignable_to_method_s_this_of_type_1, typeToString(type), typeToString(thisTypeForErrorOut.value)); + } + chain = chainDiagnosticMessages(chain, diagnosticMessage, ...args); + diagnostics.add(createDiagnosticForNodeFromMessageChain(getSourceFileOfNode(errorNode), errorNode, chain)); + } + return void 0; + } + return typeAsAwaitable.awaitedTypeOfType = type; + } + function checkAsyncFunctionReturnType(node, returnTypeNode, returnTypeErrorLocation) { + const returnType = getTypeFromTypeNode(returnTypeNode); + if (languageVersion >= 2 /* ES2015 */) { + if (isErrorType(returnType)) { + return; + } + const globalPromiseType = getGlobalPromiseType( + /*reportErrors*/ + true + ); + if (globalPromiseType !== emptyGenericType && !isReferenceToType(returnType, globalPromiseType)) { + reportErrorForInvalidReturnType(Diagnostics.The_return_type_of_an_async_function_or_method_must_be_the_global_Promise_T_type_Did_you_mean_to_write_Promise_0, returnTypeNode, returnTypeErrorLocation, typeToString(getAwaitedTypeNoAlias(returnType) || voidType)); + return; + } + } else { + markLinkedReferences(node, 5 /* AsyncFunction */); + if (isErrorType(returnType)) { + return; + } + const promiseConstructorName = getEntityNameFromTypeNode(returnTypeNode); + if (promiseConstructorName === void 0) { + reportErrorForInvalidReturnType(Diagnostics.Type_0_is_not_a_valid_async_function_return_type_in_ES5_because_it_does_not_refer_to_a_Promise_compatible_constructor_value, returnTypeNode, returnTypeErrorLocation, typeToString(returnType)); + return; + } + const promiseConstructorSymbol = resolveEntityName( + promiseConstructorName, + 111551 /* Value */, + /*ignoreErrors*/ + true + ); + const promiseConstructorType = promiseConstructorSymbol ? getTypeOfSymbol(promiseConstructorSymbol) : errorType; + if (isErrorType(promiseConstructorType)) { + if (promiseConstructorName.kind === 80 /* Identifier */ && promiseConstructorName.escapedText === "Promise" && getTargetType(returnType) === getGlobalPromiseType( + /*reportErrors*/ + false + )) { + error(returnTypeErrorLocation, Diagnostics.An_async_function_or_method_in_ES5_requires_the_Promise_constructor_Make_sure_you_have_a_declaration_for_the_Promise_constructor_or_include_ES2015_in_your_lib_option); + } else { + reportErrorForInvalidReturnType(Diagnostics.Type_0_is_not_a_valid_async_function_return_type_in_ES5_because_it_does_not_refer_to_a_Promise_compatible_constructor_value, returnTypeNode, returnTypeErrorLocation, entityNameToString(promiseConstructorName)); + } + return; + } + const globalPromiseConstructorLikeType = getGlobalPromiseConstructorLikeType( + /*reportErrors*/ + true + ); + if (globalPromiseConstructorLikeType === emptyObjectType) { + reportErrorForInvalidReturnType(Diagnostics.Type_0_is_not_a_valid_async_function_return_type_in_ES5_because_it_does_not_refer_to_a_Promise_compatible_constructor_value, returnTypeNode, returnTypeErrorLocation, entityNameToString(promiseConstructorName)); + return; + } + const headMessage = Diagnostics.Type_0_is_not_a_valid_async_function_return_type_in_ES5_because_it_does_not_refer_to_a_Promise_compatible_constructor_value; + const errorInfo = () => returnTypeNode === returnTypeErrorLocation ? void 0 : chainDiagnosticMessages( + /*details*/ + void 0, + Diagnostics.The_return_type_of_an_async_function_or_method_must_be_the_global_Promise_T_type + ); + if (!checkTypeAssignableTo(promiseConstructorType, globalPromiseConstructorLikeType, returnTypeErrorLocation, headMessage, errorInfo)) { + return; + } + const rootName = promiseConstructorName && getFirstIdentifier(promiseConstructorName); + const collidingSymbol = getSymbol(node.locals, rootName.escapedText, 111551 /* Value */); + if (collidingSymbol) { + error(collidingSymbol.valueDeclaration, Diagnostics.Duplicate_identifier_0_Compiler_uses_declaration_1_to_support_async_functions, idText(rootName), entityNameToString(promiseConstructorName)); + return; + } + } + checkAwaitedType( + returnType, + /*withAlias*/ + false, + node, + Diagnostics.The_return_type_of_an_async_function_must_either_be_a_valid_promise_or_must_not_contain_a_callable_then_member + ); + function reportErrorForInvalidReturnType(message, returnTypeNode2, returnTypeErrorLocation2, typeName) { + if (returnTypeNode2 === returnTypeErrorLocation2) { + error(returnTypeErrorLocation2, message, typeName); + } else { + const diag2 = error(returnTypeErrorLocation2, Diagnostics.The_return_type_of_an_async_function_or_method_must_be_the_global_Promise_T_type); + addRelatedInfo(diag2, createDiagnosticForNode(returnTypeNode2, message, typeName)); + } + } + } + function checkGrammarDecorator(decorator) { + const sourceFile = getSourceFileOfNode(decorator); + if (!hasParseDiagnostics(sourceFile)) { + let node = decorator.expression; + if (isParenthesizedExpression(node)) { + return false; + } + let canHaveCallExpression = true; + let errorNode; + while (true) { + if (isExpressionWithTypeArguments(node) || isNonNullExpression(node)) { + node = node.expression; + continue; + } + if (isCallExpression(node)) { + if (!canHaveCallExpression) { + errorNode = node; + } + if (node.questionDotToken) { + errorNode = node.questionDotToken; + } + node = node.expression; + canHaveCallExpression = false; + continue; + } + if (isPropertyAccessExpression(node)) { + if (node.questionDotToken) { + errorNode = node.questionDotToken; + } + node = node.expression; + canHaveCallExpression = false; + continue; + } + if (!isIdentifier(node)) { + errorNode = node; + } + break; + } + if (errorNode) { + addRelatedInfo( + error(decorator.expression, Diagnostics.Expression_must_be_enclosed_in_parentheses_to_be_used_as_a_decorator), + createDiagnosticForNode(errorNode, Diagnostics.Invalid_syntax_in_decorator) + ); + return true; + } + } + return false; + } + function checkDecorator(node) { + checkGrammarDecorator(node); + const signature = getResolvedSignature(node); + checkDeprecatedSignature(signature, node); + const returnType = getReturnTypeOfSignature(signature); + if (returnType.flags & 1 /* Any */) { + return; + } + const decoratorSignature = getDecoratorCallSignature(node); + if (!(decoratorSignature == null ? void 0 : decoratorSignature.resolvedReturnType)) return; + let headMessage; + const expectedReturnType = decoratorSignature.resolvedReturnType; + switch (node.parent.kind) { + case 263 /* ClassDeclaration */: + case 231 /* ClassExpression */: + headMessage = Diagnostics.Decorator_function_return_type_0_is_not_assignable_to_type_1; + break; + case 172 /* PropertyDeclaration */: + if (!legacyDecorators) { + headMessage = Diagnostics.Decorator_function_return_type_0_is_not_assignable_to_type_1; + break; + } + // falls through + case 169 /* Parameter */: + headMessage = Diagnostics.Decorator_function_return_type_is_0_but_is_expected_to_be_void_or_any; + break; + case 174 /* MethodDeclaration */: + case 177 /* GetAccessor */: + case 178 /* SetAccessor */: + headMessage = Diagnostics.Decorator_function_return_type_0_is_not_assignable_to_type_1; + break; + default: + return Debug.failBadSyntaxKind(node.parent); + } + checkTypeAssignableTo(returnType, expectedReturnType, node.expression, headMessage); + } + function createCallSignature(typeParameters, thisParameter, parameters, returnType, typePredicate, minArgumentCount = parameters.length, flags = 0 /* None */) { + const decl = factory.createFunctionTypeNode( + /*typeParameters*/ + void 0, + emptyArray, + factory.createKeywordTypeNode(133 /* AnyKeyword */) + ); + return createSignature(decl, typeParameters, thisParameter, parameters, returnType, typePredicate, minArgumentCount, flags); + } + function createFunctionType(typeParameters, thisParameter, parameters, returnType, typePredicate, minArgumentCount, flags) { + const signature = createCallSignature(typeParameters, thisParameter, parameters, returnType, typePredicate, minArgumentCount, flags); + return getOrCreateTypeFromSignature(signature); + } + function createGetterFunctionType(type) { + return createFunctionType( + /*typeParameters*/ + void 0, + /*thisParameter*/ + void 0, + emptyArray, + type + ); + } + function createSetterFunctionType(type) { + const valueParam = createParameter("value", type); + return createFunctionType( + /*typeParameters*/ + void 0, + /*thisParameter*/ + void 0, + [valueParam], + voidType + ); + } + function getEntityNameForDecoratorMetadata(node) { + if (node) { + switch (node.kind) { + case 193 /* IntersectionType */: + case 192 /* UnionType */: + return getEntityNameForDecoratorMetadataFromTypeList(node.types); + case 194 /* ConditionalType */: + return getEntityNameForDecoratorMetadataFromTypeList([node.trueType, node.falseType]); + case 196 /* ParenthesizedType */: + case 202 /* NamedTupleMember */: + return getEntityNameForDecoratorMetadata(node.type); + case 183 /* TypeReference */: + return node.typeName; + } + } + } + function getEntityNameForDecoratorMetadataFromTypeList(types) { + let commonEntityName; + for (let typeNode of types) { + while (typeNode.kind === 196 /* ParenthesizedType */ || typeNode.kind === 202 /* NamedTupleMember */) { + typeNode = typeNode.type; + } + if (typeNode.kind === 146 /* NeverKeyword */) { + continue; + } + if (!strictNullChecks && (typeNode.kind === 201 /* LiteralType */ && typeNode.literal.kind === 106 /* NullKeyword */ || typeNode.kind === 157 /* UndefinedKeyword */)) { + continue; + } + const individualEntityName = getEntityNameForDecoratorMetadata(typeNode); + if (!individualEntityName) { + return void 0; + } + if (commonEntityName) { + if (!isIdentifier(commonEntityName) || !isIdentifier(individualEntityName) || commonEntityName.escapedText !== individualEntityName.escapedText) { + return void 0; + } + } else { + commonEntityName = individualEntityName; + } + } + return commonEntityName; + } + function getParameterTypeNodeForDecoratorCheck(node) { + const typeNode = getEffectiveTypeAnnotationNode(node); + return isRestParameter(node) ? getRestParameterElementType(typeNode) : typeNode; + } + function checkDecorators(node) { + if (!canHaveDecorators(node) || !hasDecorators(node) || !node.modifiers || !nodeCanBeDecorated(legacyDecorators, node, node.parent, node.parent.parent)) { + return; + } + const firstDecorator = find(node.modifiers, isDecorator); + if (!firstDecorator) { + return; + } + if (legacyDecorators) { + checkExternalEmitHelpers(firstDecorator, 8 /* Decorate */); + if (node.kind === 169 /* Parameter */) { + checkExternalEmitHelpers(firstDecorator, 32 /* Param */); + } + } else if (languageVersion < LanguageFeatureMinimumTarget.ClassAndClassElementDecorators) { + checkExternalEmitHelpers(firstDecorator, 8 /* ESDecorateAndRunInitializers */); + if (isClassDeclaration(node)) { + if (!node.name) { + checkExternalEmitHelpers(firstDecorator, 4194304 /* SetFunctionName */); + } else { + const member = getFirstTransformableStaticClassElement(node); + if (member) { + checkExternalEmitHelpers(firstDecorator, 4194304 /* SetFunctionName */); + } + } + } else if (!isClassExpression(node)) { + if (isPrivateIdentifier(node.name) && (isMethodDeclaration(node) || isAccessor(node) || isAutoAccessorPropertyDeclaration(node))) { + checkExternalEmitHelpers(firstDecorator, 4194304 /* SetFunctionName */); + } + if (isComputedPropertyName(node.name)) { + checkExternalEmitHelpers(firstDecorator, 8388608 /* PropKey */); + } + } + } + markLinkedReferences(node, 8 /* Decorator */); + for (const modifier of node.modifiers) { + if (isDecorator(modifier)) { + checkDecorator(modifier); + } + } + } + function checkFunctionDeclaration(node) { + addLazyDiagnostic(checkFunctionDeclarationDiagnostics); + function checkFunctionDeclarationDiagnostics() { + checkFunctionOrMethodDeclaration(node); + checkGrammarForGenerator(node); + checkCollisionsForDeclarationName(node, node.name); + } + } + function checkJSDocTypeAliasTag(node) { + if (!node.typeExpression) { + error(node.name, Diagnostics.JSDoc_typedef_tag_should_either_have_a_type_annotation_or_be_followed_by_property_or_member_tags); + } + if (node.name) { + checkTypeNameIsReserved(node.name, Diagnostics.Type_alias_name_cannot_be_0); + } + checkSourceElement(node.typeExpression); + checkTypeParameters(getEffectiveTypeParameterDeclarations(node)); + } + function checkJSDocTemplateTag(node) { + checkSourceElement(node.constraint); + for (const tp of node.typeParameters) { + checkSourceElement(tp); + } + } + function checkJSDocTypeTag(node) { + checkSourceElement(node.typeExpression); + } + function checkJSDocSatisfiesTag(node) { + checkSourceElement(node.typeExpression); + const host2 = getEffectiveJSDocHost(node); + if (host2) { + const tags = getAllJSDocTags(host2, isJSDocSatisfiesTag); + if (length(tags) > 1) { + for (let i = 1; i < length(tags); i++) { + const tagName = tags[i].tagName; + error(tagName, Diagnostics._0_tag_already_specified, idText(tagName)); + } + } + } + } + function checkJSDocLinkLikeTag(node) { + if (node.name) { + resolveJSDocMemberName( + node.name, + /*ignoreErrors*/ + true + ); + } + } + function checkJSDocParameterTag(node) { + checkSourceElement(node.typeExpression); + } + function checkJSDocPropertyTag(node) { + checkSourceElement(node.typeExpression); + } + function checkJSDocFunctionType(node) { + addLazyDiagnostic(checkJSDocFunctionTypeImplicitAny); + checkSignatureDeclaration(node); + function checkJSDocFunctionTypeImplicitAny() { + if (!node.type && !isJSDocConstructSignature(node)) { + reportImplicitAny(node, anyType); + } + } + } + function checkJSDocThisTag(node) { + const host2 = getEffectiveJSDocHost(node); + if (host2 && isArrowFunction(host2)) { + error(node.tagName, Diagnostics.An_arrow_function_cannot_have_a_this_parameter); + } + } + function checkJSDocImportTag(node) { + checkImportAttributes(node); + } + function checkJSDocImplementsTag(node) { + const classLike = getEffectiveJSDocHost(node); + if (!classLike || !isClassDeclaration(classLike) && !isClassExpression(classLike)) { + error(classLike, Diagnostics.JSDoc_0_is_not_attached_to_a_class, idText(node.tagName)); + } + } + function checkJSDocAugmentsTag(node) { + const classLike = getEffectiveJSDocHost(node); + if (!classLike || !isClassDeclaration(classLike) && !isClassExpression(classLike)) { + error(classLike, Diagnostics.JSDoc_0_is_not_attached_to_a_class, idText(node.tagName)); + return; + } + const augmentsTags = getJSDocTags(classLike).filter(isJSDocAugmentsTag); + Debug.assert(augmentsTags.length > 0); + if (augmentsTags.length > 1) { + error(augmentsTags[1], Diagnostics.Class_declarations_cannot_have_more_than_one_augments_or_extends_tag); + } + const name = getIdentifierFromEntityNameExpression(node.class.expression); + const extend2 = getClassExtendsHeritageElement(classLike); + if (extend2) { + const className = getIdentifierFromEntityNameExpression(extend2.expression); + if (className && name.escapedText !== className.escapedText) { + error(name, Diagnostics.JSDoc_0_1_does_not_match_the_extends_2_clause, idText(node.tagName), idText(name), idText(className)); + } + } + } + function checkJSDocAccessibilityModifiers(node) { + const host2 = getJSDocHost(node); + if (host2 && isPrivateIdentifierClassElementDeclaration(host2)) { + error(node, Diagnostics.An_accessibility_modifier_cannot_be_used_with_a_private_identifier); + } + } + function getIdentifierFromEntityNameExpression(node) { + switch (node.kind) { + case 80 /* Identifier */: + return node; + case 211 /* PropertyAccessExpression */: + return node.name; + default: + return void 0; + } + } + function checkFunctionOrMethodDeclaration(node) { + var _a; + checkDecorators(node); + checkSignatureDeclaration(node); + const functionFlags = getFunctionFlags(node); + if (node.name && node.name.kind === 167 /* ComputedPropertyName */) { + checkComputedPropertyName(node.name); + } + if (hasBindableName(node)) { + const symbol = getSymbolOfDeclaration(node); + const localSymbol = node.localSymbol || symbol; + const firstDeclaration = (_a = localSymbol.declarations) == null ? void 0 : _a.find( + // Get first non javascript function declaration + (declaration) => declaration.kind === node.kind && !(declaration.flags & 524288 /* JavaScriptFile */) + ); + if (node === firstDeclaration) { + checkFunctionOrConstructorSymbol(localSymbol); + } + if (symbol.parent) { + checkFunctionOrConstructorSymbol(symbol); + } + } + const body = node.kind === 173 /* MethodSignature */ ? void 0 : node.body; + checkSourceElement(body); + checkAllCodePathsInNonVoidFunctionReturnOrThrow(node, getReturnTypeFromAnnotation(node)); + addLazyDiagnostic(checkFunctionOrMethodDeclarationDiagnostics); + if (isInJSFile(node)) { + const typeTag = getJSDocTypeTag(node); + if (typeTag && typeTag.typeExpression && !getContextualCallSignature(getTypeFromTypeNode(typeTag.typeExpression), node)) { + error(typeTag.typeExpression.type, Diagnostics.The_type_of_a_function_declaration_must_match_the_function_s_signature); + } + } + function checkFunctionOrMethodDeclarationDiagnostics() { + if (!getEffectiveReturnTypeNode(node)) { + if (nodeIsMissing(body) && !isPrivateWithinAmbient(node)) { + reportImplicitAny(node, anyType); + } + if (functionFlags & 1 /* Generator */ && nodeIsPresent(body)) { + getReturnTypeOfSignature(getSignatureFromDeclaration(node)); + } + } + } + } + function registerForUnusedIdentifiersCheck(node) { + addLazyDiagnostic(registerForUnusedIdentifiersCheckDiagnostics); + function registerForUnusedIdentifiersCheckDiagnostics() { + const sourceFile = getSourceFileOfNode(node); + let potentiallyUnusedIdentifiers = allPotentiallyUnusedIdentifiers.get(sourceFile.path); + if (!potentiallyUnusedIdentifiers) { + potentiallyUnusedIdentifiers = []; + allPotentiallyUnusedIdentifiers.set(sourceFile.path, potentiallyUnusedIdentifiers); + } + potentiallyUnusedIdentifiers.push(node); + } + } + function checkUnusedIdentifiers(potentiallyUnusedIdentifiers, addDiagnostic) { + for (const node of potentiallyUnusedIdentifiers) { + switch (node.kind) { + case 263 /* ClassDeclaration */: + case 231 /* ClassExpression */: + checkUnusedClassMembers(node, addDiagnostic); + checkUnusedTypeParameters(node, addDiagnostic); + break; + case 307 /* SourceFile */: + case 267 /* ModuleDeclaration */: + case 241 /* Block */: + case 269 /* CaseBlock */: + case 248 /* ForStatement */: + case 249 /* ForInStatement */: + case 250 /* ForOfStatement */: + checkUnusedLocalsAndParameters(node, addDiagnostic); + break; + case 176 /* Constructor */: + case 218 /* FunctionExpression */: + case 262 /* FunctionDeclaration */: + case 219 /* ArrowFunction */: + case 174 /* MethodDeclaration */: + case 177 /* GetAccessor */: + case 178 /* SetAccessor */: + if (node.body) { + checkUnusedLocalsAndParameters(node, addDiagnostic); + } + checkUnusedTypeParameters(node, addDiagnostic); + break; + case 173 /* MethodSignature */: + case 179 /* CallSignature */: + case 180 /* ConstructSignature */: + case 184 /* FunctionType */: + case 185 /* ConstructorType */: + case 265 /* TypeAliasDeclaration */: + case 264 /* InterfaceDeclaration */: + checkUnusedTypeParameters(node, addDiagnostic); + break; + case 195 /* InferType */: + checkUnusedInferTypeParameter(node, addDiagnostic); + break; + default: + Debug.assertNever(node, "Node should not have been registered for unused identifiers check"); + } + } + } + function errorUnusedLocal(declaration, name, addDiagnostic) { + const node = getNameOfDeclaration(declaration) || declaration; + const message = isTypeDeclaration(declaration) ? Diagnostics._0_is_declared_but_never_used : Diagnostics._0_is_declared_but_its_value_is_never_read; + addDiagnostic(declaration, 0 /* Local */, createDiagnosticForNode(node, message, name)); + } + function isIdentifierThatStartsWithUnderscore(node) { + return isIdentifier(node) && idText(node).charCodeAt(0) === 95 /* _ */; + } + function checkUnusedClassMembers(node, addDiagnostic) { + for (const member of node.members) { + switch (member.kind) { + case 174 /* MethodDeclaration */: + case 172 /* PropertyDeclaration */: + case 177 /* GetAccessor */: + case 178 /* SetAccessor */: + if (member.kind === 178 /* SetAccessor */ && member.symbol.flags & 32768 /* GetAccessor */) { + break; + } + const symbol = getSymbolOfDeclaration(member); + if (!symbol.isReferenced && (hasEffectiveModifier(member, 2 /* Private */) || isNamedDeclaration(member) && isPrivateIdentifier(member.name)) && !(member.flags & 33554432 /* Ambient */)) { + addDiagnostic(member, 0 /* Local */, createDiagnosticForNode(member.name, Diagnostics._0_is_declared_but_its_value_is_never_read, symbolToString(symbol))); + } + break; + case 176 /* Constructor */: + for (const parameter of member.parameters) { + if (!parameter.symbol.isReferenced && hasSyntacticModifier(parameter, 2 /* Private */)) { + addDiagnostic(parameter, 0 /* Local */, createDiagnosticForNode(parameter.name, Diagnostics.Property_0_is_declared_but_its_value_is_never_read, symbolName(parameter.symbol))); + } + } + break; + case 181 /* IndexSignature */: + case 240 /* SemicolonClassElement */: + case 175 /* ClassStaticBlockDeclaration */: + break; + default: + Debug.fail("Unexpected class member"); + } + } + } + function checkUnusedInferTypeParameter(node, addDiagnostic) { + const { typeParameter } = node; + if (isTypeParameterUnused(typeParameter)) { + addDiagnostic(node, 1 /* Parameter */, createDiagnosticForNode(node, Diagnostics._0_is_declared_but_its_value_is_never_read, idText(typeParameter.name))); + } + } + function checkUnusedTypeParameters(node, addDiagnostic) { + const declarations = getSymbolOfDeclaration(node).declarations; + if (!declarations || last(declarations) !== node) return; + const typeParameters = getEffectiveTypeParameterDeclarations(node); + const seenParentsWithEveryUnused = /* @__PURE__ */ new Set(); + for (const typeParameter of typeParameters) { + if (!isTypeParameterUnused(typeParameter)) continue; + const name = idText(typeParameter.name); + const { parent } = typeParameter; + if (parent.kind !== 195 /* InferType */ && parent.typeParameters.every(isTypeParameterUnused)) { + if (tryAddToSet(seenParentsWithEveryUnused, parent)) { + const sourceFile = getSourceFileOfNode(parent); + const range = isJSDocTemplateTag(parent) ? rangeOfNode(parent) : rangeOfTypeParameters(sourceFile, parent.typeParameters); + const only = parent.typeParameters.length === 1; + const messageAndArg = only ? [Diagnostics._0_is_declared_but_its_value_is_never_read, name] : [Diagnostics.All_type_parameters_are_unused]; + addDiagnostic(typeParameter, 1 /* Parameter */, createFileDiagnostic(sourceFile, range.pos, range.end - range.pos, ...messageAndArg)); + } + } else { + addDiagnostic(typeParameter, 1 /* Parameter */, createDiagnosticForNode(typeParameter, Diagnostics._0_is_declared_but_its_value_is_never_read, name)); + } + } + } + function isTypeParameterUnused(typeParameter) { + return !(getMergedSymbol(typeParameter.symbol).isReferenced & 262144 /* TypeParameter */) && !isIdentifierThatStartsWithUnderscore(typeParameter.name); + } + function addToGroup(map2, key, value, getKey) { + const keyString = String(getKey(key)); + const group2 = map2.get(keyString); + if (group2) { + group2[1].push(value); + } else { + map2.set(keyString, [key, [value]]); + } + } + function tryGetRootParameterDeclaration(node) { + return tryCast(getRootDeclaration(node), isParameter); + } + function isValidUnusedLocalDeclaration(declaration) { + if (isBindingElement(declaration)) { + if (isObjectBindingPattern(declaration.parent)) { + return !!(declaration.propertyName && isIdentifierThatStartsWithUnderscore(declaration.name)); + } + return isIdentifierThatStartsWithUnderscore(declaration.name); + } + return isAmbientModule(declaration) || (isVariableDeclaration(declaration) && isForInOrOfStatement(declaration.parent.parent) || isImportedDeclaration(declaration)) && isIdentifierThatStartsWithUnderscore(declaration.name); + } + function checkUnusedLocalsAndParameters(nodeWithLocals, addDiagnostic) { + const unusedImports = /* @__PURE__ */ new Map(); + const unusedDestructures = /* @__PURE__ */ new Map(); + const unusedVariables = /* @__PURE__ */ new Map(); + nodeWithLocals.locals.forEach((local) => { + if (local.flags & 262144 /* TypeParameter */ ? !(local.flags & 3 /* Variable */ && !(local.isReferenced & 3 /* Variable */)) : local.isReferenced || local.exportSymbol) { + return; + } + if (local.declarations) { + for (const declaration of local.declarations) { + if (isValidUnusedLocalDeclaration(declaration)) { + continue; + } + if (isImportedDeclaration(declaration)) { + addToGroup(unusedImports, importClauseFromImported(declaration), declaration, getNodeId); + } else if (isBindingElement(declaration) && isObjectBindingPattern(declaration.parent)) { + const lastElement = last(declaration.parent.elements); + if (declaration === lastElement || !last(declaration.parent.elements).dotDotDotToken) { + addToGroup(unusedDestructures, declaration.parent, declaration, getNodeId); + } + } else if (isVariableDeclaration(declaration)) { + const blockScopeKind = getCombinedNodeFlagsCached(declaration) & 7 /* BlockScoped */; + const name = getNameOfDeclaration(declaration); + if (blockScopeKind !== 4 /* Using */ && blockScopeKind !== 6 /* AwaitUsing */ || !name || !isIdentifierThatStartsWithUnderscore(name)) { + addToGroup(unusedVariables, declaration.parent, declaration, getNodeId); + } + } else { + const parameter = local.valueDeclaration && tryGetRootParameterDeclaration(local.valueDeclaration); + const name = local.valueDeclaration && getNameOfDeclaration(local.valueDeclaration); + if (parameter && name) { + if (!isParameterPropertyDeclaration(parameter, parameter.parent) && !parameterIsThisKeyword(parameter) && !isIdentifierThatStartsWithUnderscore(name)) { + if (isBindingElement(declaration) && isArrayBindingPattern(declaration.parent)) { + addToGroup(unusedDestructures, declaration.parent, declaration, getNodeId); + } else { + addDiagnostic(parameter, 1 /* Parameter */, createDiagnosticForNode(name, Diagnostics._0_is_declared_but_its_value_is_never_read, symbolName(local))); + } + } + } else { + errorUnusedLocal(declaration, symbolName(local), addDiagnostic); + } + } + } + } + }); + unusedImports.forEach(([importClause, unuseds]) => { + const importDecl = importClause.parent; + const nDeclarations = (importClause.name ? 1 : 0) + (importClause.namedBindings ? importClause.namedBindings.kind === 274 /* NamespaceImport */ ? 1 : importClause.namedBindings.elements.length : 0); + if (nDeclarations === unuseds.length) { + addDiagnostic( + importDecl, + 0 /* Local */, + unuseds.length === 1 ? createDiagnosticForNode(importDecl, Diagnostics._0_is_declared_but_its_value_is_never_read, idText(first(unuseds).name)) : createDiagnosticForNode(importDecl, Diagnostics.All_imports_in_import_declaration_are_unused) + ); + } else { + for (const unused of unuseds) errorUnusedLocal(unused, idText(unused.name), addDiagnostic); + } + }); + unusedDestructures.forEach(([bindingPattern, bindingElements]) => { + const kind = tryGetRootParameterDeclaration(bindingPattern.parent) ? 1 /* Parameter */ : 0 /* Local */; + if (bindingPattern.elements.length === bindingElements.length) { + if (bindingElements.length === 1 && bindingPattern.parent.kind === 260 /* VariableDeclaration */ && bindingPattern.parent.parent.kind === 261 /* VariableDeclarationList */) { + addToGroup(unusedVariables, bindingPattern.parent.parent, bindingPattern.parent, getNodeId); + } else { + addDiagnostic( + bindingPattern, + kind, + bindingElements.length === 1 ? createDiagnosticForNode(bindingPattern, Diagnostics._0_is_declared_but_its_value_is_never_read, bindingNameText(first(bindingElements).name)) : createDiagnosticForNode(bindingPattern, Diagnostics.All_destructured_elements_are_unused) + ); + } + } else { + for (const e of bindingElements) { + addDiagnostic(e, kind, createDiagnosticForNode(e, Diagnostics._0_is_declared_but_its_value_is_never_read, bindingNameText(e.name))); + } + } + }); + unusedVariables.forEach(([declarationList, declarations]) => { + if (declarationList.declarations.length === declarations.length) { + addDiagnostic( + declarationList, + 0 /* Local */, + declarations.length === 1 ? createDiagnosticForNode(first(declarations).name, Diagnostics._0_is_declared_but_its_value_is_never_read, bindingNameText(first(declarations).name)) : createDiagnosticForNode(declarationList.parent.kind === 243 /* VariableStatement */ ? declarationList.parent : declarationList, Diagnostics.All_variables_are_unused) + ); + } else { + for (const decl of declarations) { + addDiagnostic(decl, 0 /* Local */, createDiagnosticForNode(decl, Diagnostics._0_is_declared_but_its_value_is_never_read, bindingNameText(decl.name))); + } + } + }); + } + function checkPotentialUncheckedRenamedBindingElementsInTypes() { + var _a; + for (const node of potentialUnusedRenamedBindingElementsInTypes) { + if (!((_a = getSymbolOfDeclaration(node)) == null ? void 0 : _a.isReferenced)) { + const wrappingDeclaration = walkUpBindingElementsAndPatterns(node); + Debug.assert(isPartOfParameterDeclaration(wrappingDeclaration), "Only parameter declaration should be checked here"); + const diagnostic = createDiagnosticForNode(node.name, Diagnostics._0_is_an_unused_renaming_of_1_Did_you_intend_to_use_it_as_a_type_annotation, declarationNameToString(node.name), declarationNameToString(node.propertyName)); + if (!wrappingDeclaration.type) { + addRelatedInfo( + diagnostic, + createFileDiagnostic(getSourceFileOfNode(wrappingDeclaration), wrappingDeclaration.end, 0, Diagnostics.We_can_only_write_a_type_for_0_by_adding_a_type_for_the_entire_parameter_here, declarationNameToString(node.propertyName)) + ); + } + diagnostics.add(diagnostic); + } + } + } + function bindingNameText(name) { + switch (name.kind) { + case 80 /* Identifier */: + return idText(name); + case 207 /* ArrayBindingPattern */: + case 206 /* ObjectBindingPattern */: + return bindingNameText(cast(first(name.elements), isBindingElement).name); + default: + return Debug.assertNever(name); + } + } + function isImportedDeclaration(node) { + return node.kind === 273 /* ImportClause */ || node.kind === 276 /* ImportSpecifier */ || node.kind === 274 /* NamespaceImport */; + } + function importClauseFromImported(decl) { + return decl.kind === 273 /* ImportClause */ ? decl : decl.kind === 274 /* NamespaceImport */ ? decl.parent : decl.parent.parent; + } + function checkBlock(node) { + if (node.kind === 241 /* Block */) { + checkGrammarStatementInAmbientContext(node); + } + if (isFunctionOrModuleBlock(node)) { + const saveFlowAnalysisDisabled = flowAnalysisDisabled; + forEach(node.statements, checkSourceElement); + flowAnalysisDisabled = saveFlowAnalysisDisabled; + } else { + forEach(node.statements, checkSourceElement); + } + if (node.locals) { + registerForUnusedIdentifiersCheck(node); + } + } + function checkCollisionWithArgumentsInGeneratedCode(node) { + if (languageVersion >= 2 /* ES2015 */ || !hasRestParameter(node) || node.flags & 33554432 /* Ambient */ || nodeIsMissing(node.body)) { + return; + } + forEach(node.parameters, (p) => { + if (p.name && !isBindingPattern(p.name) && p.name.escapedText === argumentsSymbol.escapedName) { + errorSkippedOn("noEmit", p, Diagnostics.Duplicate_identifier_arguments_Compiler_uses_arguments_to_initialize_rest_parameters); + } + }); + } + function needCollisionCheckForIdentifier(node, identifier, name) { + if ((identifier == null ? void 0 : identifier.escapedText) !== name) { + return false; + } + if (node.kind === 172 /* PropertyDeclaration */ || node.kind === 171 /* PropertySignature */ || node.kind === 174 /* MethodDeclaration */ || node.kind === 173 /* MethodSignature */ || node.kind === 177 /* GetAccessor */ || node.kind === 178 /* SetAccessor */ || node.kind === 303 /* PropertyAssignment */) { + return false; + } + if (node.flags & 33554432 /* Ambient */) { + return false; + } + if (isImportClause(node) || isImportEqualsDeclaration(node) || isImportSpecifier(node)) { + if (isTypeOnlyImportOrExportDeclaration(node)) { + return false; + } + } + const root = getRootDeclaration(node); + if (isParameter(root) && nodeIsMissing(root.parent.body)) { + return false; + } + return true; + } + function checkIfThisIsCapturedInEnclosingScope(node) { + findAncestor(node, (current) => { + if (getNodeCheckFlags(current) & 4 /* CaptureThis */) { + const isDeclaration2 = node.kind !== 80 /* Identifier */; + if (isDeclaration2) { + error(getNameOfDeclaration(node), Diagnostics.Duplicate_identifier_this_Compiler_uses_variable_declaration_this_to_capture_this_reference); + } else { + error(node, Diagnostics.Expression_resolves_to_variable_declaration_this_that_compiler_uses_to_capture_this_reference); + } + return true; + } + return false; + }); + } + function checkIfNewTargetIsCapturedInEnclosingScope(node) { + findAncestor(node, (current) => { + if (getNodeCheckFlags(current) & 8 /* CaptureNewTarget */) { + const isDeclaration2 = node.kind !== 80 /* Identifier */; + if (isDeclaration2) { + error(getNameOfDeclaration(node), Diagnostics.Duplicate_identifier_newTarget_Compiler_uses_variable_declaration_newTarget_to_capture_new_target_meta_property_reference); + } else { + error(node, Diagnostics.Expression_resolves_to_variable_declaration_newTarget_that_compiler_uses_to_capture_new_target_meta_property_reference); + } + return true; + } + return false; + }); + } + function checkCollisionWithRequireExportsInGeneratedCode(node, name) { + if (host.getEmitModuleFormatOfFile(getSourceFileOfNode(node)) >= 5 /* ES2015 */) { + return; + } + if (!name || !needCollisionCheckForIdentifier(node, name, "require") && !needCollisionCheckForIdentifier(node, name, "exports")) { + return; + } + if (isModuleDeclaration(node) && getModuleInstanceState(node) !== 1 /* Instantiated */) { + return; + } + const parent = getDeclarationContainer(node); + if (parent.kind === 307 /* SourceFile */ && isExternalOrCommonJsModule(parent)) { + errorSkippedOn("noEmit", name, Diagnostics.Duplicate_identifier_0_Compiler_reserves_name_1_in_top_level_scope_of_a_module, declarationNameToString(name), declarationNameToString(name)); + } + } + function checkCollisionWithGlobalPromiseInGeneratedCode(node, name) { + if (!name || languageVersion >= 4 /* ES2017 */ || !needCollisionCheckForIdentifier(node, name, "Promise")) { + return; + } + if (isModuleDeclaration(node) && getModuleInstanceState(node) !== 1 /* Instantiated */) { + return; + } + const parent = getDeclarationContainer(node); + if (parent.kind === 307 /* SourceFile */ && isExternalOrCommonJsModule(parent) && parent.flags & 4096 /* HasAsyncFunctions */) { + errorSkippedOn("noEmit", name, Diagnostics.Duplicate_identifier_0_Compiler_reserves_name_1_in_top_level_scope_of_a_module_containing_async_functions, declarationNameToString(name), declarationNameToString(name)); + } + } + function recordPotentialCollisionWithWeakMapSetInGeneratedCode(node, name) { + if (languageVersion <= 8 /* ES2021 */ && (needCollisionCheckForIdentifier(node, name, "WeakMap") || needCollisionCheckForIdentifier(node, name, "WeakSet"))) { + potentialWeakMapSetCollisions.push(node); + } + } + function checkWeakMapSetCollision(node) { + const enclosingBlockScope = getEnclosingBlockScopeContainer(node); + if (getNodeCheckFlags(enclosingBlockScope) & 1048576 /* ContainsClassWithPrivateIdentifiers */) { + Debug.assert(isNamedDeclaration(node) && isIdentifier(node.name) && typeof node.name.escapedText === "string", "The target of a WeakMap/WeakSet collision check should be an identifier"); + errorSkippedOn("noEmit", node, Diagnostics.Compiler_reserves_name_0_when_emitting_private_identifier_downlevel, node.name.escapedText); + } + } + function recordPotentialCollisionWithReflectInGeneratedCode(node, name) { + if (name && languageVersion >= 2 /* ES2015 */ && languageVersion <= 8 /* ES2021 */ && needCollisionCheckForIdentifier(node, name, "Reflect")) { + potentialReflectCollisions.push(node); + } + } + function checkReflectCollision(node) { + let hasCollision = false; + if (isClassExpression(node)) { + for (const member of node.members) { + if (getNodeCheckFlags(member) & 2097152 /* ContainsSuperPropertyInStaticInitializer */) { + hasCollision = true; + break; + } + } + } else if (isFunctionExpression(node)) { + if (getNodeCheckFlags(node) & 2097152 /* ContainsSuperPropertyInStaticInitializer */) { + hasCollision = true; + } + } else { + const container = getEnclosingBlockScopeContainer(node); + if (container && getNodeCheckFlags(container) & 2097152 /* ContainsSuperPropertyInStaticInitializer */) { + hasCollision = true; + } + } + if (hasCollision) { + Debug.assert(isNamedDeclaration(node) && isIdentifier(node.name), "The target of a Reflect collision check should be an identifier"); + errorSkippedOn("noEmit", node, Diagnostics.Duplicate_identifier_0_Compiler_reserves_name_1_when_emitting_super_references_in_static_initializers, declarationNameToString(node.name), "Reflect"); + } + } + function checkCollisionsForDeclarationName(node, name) { + if (!name) return; + checkCollisionWithRequireExportsInGeneratedCode(node, name); + checkCollisionWithGlobalPromiseInGeneratedCode(node, name); + recordPotentialCollisionWithWeakMapSetInGeneratedCode(node, name); + recordPotentialCollisionWithReflectInGeneratedCode(node, name); + if (isClassLike(node)) { + checkTypeNameIsReserved(name, Diagnostics.Class_name_cannot_be_0); + if (!(node.flags & 33554432 /* Ambient */)) { + checkClassNameCollisionWithObject(name); + } + } else if (isEnumDeclaration(node)) { + checkTypeNameIsReserved(name, Diagnostics.Enum_name_cannot_be_0); + } + } + function checkVarDeclaredNamesNotShadowed(node) { + if ((getCombinedNodeFlagsCached(node) & 7 /* BlockScoped */) !== 0 || isPartOfParameterDeclaration(node)) { + return; + } + const symbol = getSymbolOfDeclaration(node); + if (symbol.flags & 1 /* FunctionScopedVariable */) { + if (!isIdentifier(node.name)) return Debug.fail(); + const localDeclarationSymbol = resolveName( + node, + node.name.escapedText, + 3 /* Variable */, + /*nameNotFoundMessage*/ + void 0, + /*isUse*/ + false + ); + if (localDeclarationSymbol && localDeclarationSymbol !== symbol && localDeclarationSymbol.flags & 2 /* BlockScopedVariable */) { + if (getDeclarationNodeFlagsFromSymbol(localDeclarationSymbol) & 7 /* BlockScoped */) { + const varDeclList = getAncestor(localDeclarationSymbol.valueDeclaration, 261 /* VariableDeclarationList */); + const container = varDeclList.parent.kind === 243 /* VariableStatement */ && varDeclList.parent.parent ? varDeclList.parent.parent : void 0; + const namesShareScope = container && (container.kind === 241 /* Block */ && isFunctionLike(container.parent) || container.kind === 268 /* ModuleBlock */ || container.kind === 267 /* ModuleDeclaration */ || container.kind === 307 /* SourceFile */); + if (!namesShareScope) { + const name = symbolToString(localDeclarationSymbol); + error(node, Diagnostics.Cannot_initialize_outer_scoped_variable_0_in_the_same_scope_as_block_scoped_declaration_1, name, name); + } + } + } + } + } + function convertAutoToAny(type) { + return type === autoType ? anyType : type === autoArrayType ? anyArrayType : type; + } + function checkVariableLikeDeclaration(node) { + var _a; + checkDecorators(node); + if (!isBindingElement(node)) { + checkSourceElement(node.type); + } + if (!node.name) { + return; + } + if (node.name.kind === 167 /* ComputedPropertyName */) { + checkComputedPropertyName(node.name); + if (hasOnlyExpressionInitializer(node) && node.initializer) { + checkExpressionCached(node.initializer); + } + } + if (isBindingElement(node)) { + if (node.propertyName && isIdentifier(node.name) && isPartOfParameterDeclaration(node) && nodeIsMissing(getContainingFunction(node).body)) { + potentialUnusedRenamedBindingElementsInTypes.push(node); + return; + } + if (isObjectBindingPattern(node.parent) && node.dotDotDotToken && languageVersion < LanguageFeatureMinimumTarget.ObjectSpreadRest) { + checkExternalEmitHelpers(node, 4 /* Rest */); + } + if (node.propertyName && node.propertyName.kind === 167 /* ComputedPropertyName */) { + checkComputedPropertyName(node.propertyName); + } + const parent = node.parent.parent; + const parentCheckMode = node.dotDotDotToken ? 32 /* RestBindingElement */ : 0 /* Normal */; + const parentType = getTypeForBindingElementParent(parent, parentCheckMode); + const name = node.propertyName || node.name; + if (parentType && !isBindingPattern(name)) { + const exprType = getLiteralTypeFromPropertyName(name); + if (isTypeUsableAsPropertyName(exprType)) { + const nameText = getPropertyNameFromType(exprType); + const property = getPropertyOfType(parentType, nameText); + if (property) { + markPropertyAsReferenced( + property, + /*nodeForCheckWriteOnly*/ + void 0, + /*isSelfTypeAccess*/ + false + ); + checkPropertyAccessibility( + node, + !!parent.initializer && parent.initializer.kind === 108 /* SuperKeyword */, + /*writing*/ + false, + parentType, + property + ); + } + } + } + } + if (isBindingPattern(node.name)) { + if (node.name.kind === 207 /* ArrayBindingPattern */ && languageVersion < LanguageFeatureMinimumTarget.BindingPatterns && compilerOptions.downlevelIteration) { + checkExternalEmitHelpers(node, 512 /* Read */); + } + forEach(node.name.elements, checkSourceElement); + } + if (node.initializer && isPartOfParameterDeclaration(node) && nodeIsMissing(getContainingFunction(node).body)) { + error(node, Diagnostics.A_parameter_initializer_is_only_allowed_in_a_function_or_constructor_implementation); + return; + } + if (isBindingPattern(node.name)) { + if (isInAmbientOrTypeNode(node)) { + return; + } + const needCheckInitializer = hasOnlyExpressionInitializer(node) && node.initializer && node.parent.parent.kind !== 249 /* ForInStatement */; + const needCheckWidenedType = !some(node.name.elements, not(isOmittedExpression)); + if (needCheckInitializer || needCheckWidenedType) { + const widenedType = getWidenedTypeForVariableLikeDeclaration(node); + if (needCheckInitializer) { + const initializerType = checkExpressionCached(node.initializer); + if (strictNullChecks && needCheckWidenedType) { + checkNonNullNonVoidType(initializerType, node); + } else { + checkTypeAssignableToAndOptionallyElaborate(initializerType, getWidenedTypeForVariableLikeDeclaration(node), node, node.initializer); + } + } + if (needCheckWidenedType) { + if (isArrayBindingPattern(node.name)) { + checkIteratedTypeOrElementType(65 /* Destructuring */, widenedType, undefinedType, node); + } else if (strictNullChecks) { + checkNonNullNonVoidType(widenedType, node); + } + } + } + return; + } + const symbol = getSymbolOfDeclaration(node); + if (symbol.flags & 2097152 /* Alias */ && (isVariableDeclarationInitializedToBareOrAccessedRequire(node) || isBindingElementOfBareOrAccessedRequire(node))) { + checkAliasSymbol(node); + return; + } + if (node.name.kind === 10 /* BigIntLiteral */) { + error(node.name, Diagnostics.A_bigint_literal_cannot_be_used_as_a_property_name); + } + const type = convertAutoToAny(getTypeOfSymbol(symbol)); + if (node === symbol.valueDeclaration) { + const initializer = hasOnlyExpressionInitializer(node) && getEffectiveInitializer(node); + if (initializer) { + const isJSObjectLiteralInitializer = isInJSFile(node) && isObjectLiteralExpression(initializer) && (initializer.properties.length === 0 || isPrototypeAccess(node.name)) && !!((_a = symbol.exports) == null ? void 0 : _a.size); + if (!isJSObjectLiteralInitializer && node.parent.parent.kind !== 249 /* ForInStatement */) { + const initializerType = checkExpressionCached(initializer); + checkTypeAssignableToAndOptionallyElaborate( + initializerType, + type, + node, + initializer, + /*headMessage*/ + void 0 + ); + const blockScopeKind = getCombinedNodeFlagsCached(node) & 7 /* BlockScoped */; + if (blockScopeKind === 6 /* AwaitUsing */) { + const globalAsyncDisposableType = getGlobalAsyncDisposableType( + /*reportErrors*/ + true + ); + const globalDisposableType = getGlobalDisposableType( + /*reportErrors*/ + true + ); + if (globalAsyncDisposableType !== emptyObjectType && globalDisposableType !== emptyObjectType) { + const optionalDisposableType = getUnionType([globalAsyncDisposableType, globalDisposableType, nullType, undefinedType]); + checkTypeAssignableTo(widenTypeForVariableLikeDeclaration(initializerType, node), optionalDisposableType, initializer, Diagnostics.The_initializer_of_an_await_using_declaration_must_be_either_an_object_with_a_Symbol_asyncDispose_or_Symbol_dispose_method_or_be_null_or_undefined); + } + } else if (blockScopeKind === 4 /* Using */) { + const globalDisposableType = getGlobalDisposableType( + /*reportErrors*/ + true + ); + if (globalDisposableType !== emptyObjectType) { + const optionalDisposableType = getUnionType([globalDisposableType, nullType, undefinedType]); + checkTypeAssignableTo(widenTypeForVariableLikeDeclaration(initializerType, node), optionalDisposableType, initializer, Diagnostics.The_initializer_of_a_using_declaration_must_be_either_an_object_with_a_Symbol_dispose_method_or_be_null_or_undefined); + } + } + } + } + if (symbol.declarations && symbol.declarations.length > 1) { + if (some(symbol.declarations, (d) => d !== node && isVariableLike(d) && !areDeclarationFlagsIdentical(d, node))) { + error(node.name, Diagnostics.All_declarations_of_0_must_have_identical_modifiers, declarationNameToString(node.name)); + } + } + } else { + const declarationType = convertAutoToAny(getWidenedTypeForVariableLikeDeclaration(node)); + if (!isErrorType(type) && !isErrorType(declarationType) && !isTypeIdenticalTo(type, declarationType) && !(symbol.flags & 67108864 /* Assignment */)) { + errorNextVariableOrPropertyDeclarationMustHaveSameType(symbol.valueDeclaration, type, node, declarationType); + } + if (hasOnlyExpressionInitializer(node) && node.initializer) { + checkTypeAssignableToAndOptionallyElaborate( + checkExpressionCached(node.initializer), + declarationType, + node, + node.initializer, + /*headMessage*/ + void 0 + ); + } + if (symbol.valueDeclaration && !areDeclarationFlagsIdentical(node, symbol.valueDeclaration)) { + error(node.name, Diagnostics.All_declarations_of_0_must_have_identical_modifiers, declarationNameToString(node.name)); + } + } + if (node.kind !== 172 /* PropertyDeclaration */ && node.kind !== 171 /* PropertySignature */) { + checkExportsOnMergedDeclarations(node); + if (node.kind === 260 /* VariableDeclaration */ || node.kind === 208 /* BindingElement */) { + checkVarDeclaredNamesNotShadowed(node); + } + checkCollisionsForDeclarationName(node, node.name); + } + } + function errorNextVariableOrPropertyDeclarationMustHaveSameType(firstDeclaration, firstType, nextDeclaration, nextType) { + const nextDeclarationName = getNameOfDeclaration(nextDeclaration); + const message = nextDeclaration.kind === 172 /* PropertyDeclaration */ || nextDeclaration.kind === 171 /* PropertySignature */ ? Diagnostics.Subsequent_property_declarations_must_have_the_same_type_Property_0_must_be_of_type_1_but_here_has_type_2 : Diagnostics.Subsequent_variable_declarations_must_have_the_same_type_Variable_0_must_be_of_type_1_but_here_has_type_2; + const declName = declarationNameToString(nextDeclarationName); + const err = error( + nextDeclarationName, + message, + declName, + typeToString(firstType), + typeToString(nextType) + ); + if (firstDeclaration) { + addRelatedInfo(err, createDiagnosticForNode(firstDeclaration, Diagnostics._0_was_also_declared_here, declName)); + } + } + function areDeclarationFlagsIdentical(left, right) { + if (left.kind === 169 /* Parameter */ && right.kind === 260 /* VariableDeclaration */ || left.kind === 260 /* VariableDeclaration */ && right.kind === 169 /* Parameter */) { + return true; + } + if (hasQuestionToken(left) !== hasQuestionToken(right)) { + return false; + } + const interestingFlags = 2 /* Private */ | 4 /* Protected */ | 1024 /* Async */ | 64 /* Abstract */ | 8 /* Readonly */ | 256 /* Static */; + return getSelectedEffectiveModifierFlags(left, interestingFlags) === getSelectedEffectiveModifierFlags(right, interestingFlags); + } + function checkVariableDeclaration(node) { + var _a, _b; + (_a = tracing) == null ? void 0 : _a.push(tracing.Phase.Check, "checkVariableDeclaration", { kind: node.kind, pos: node.pos, end: node.end, path: node.tracingPath }); + checkGrammarVariableDeclaration(node); + checkVariableLikeDeclaration(node); + (_b = tracing) == null ? void 0 : _b.pop(); + } + function checkBindingElement(node) { + checkGrammarBindingElement(node); + return checkVariableLikeDeclaration(node); + } + function checkVariableDeclarationList(node) { + const blockScopeKind = getCombinedNodeFlags(node) & 7 /* BlockScoped */; + if ((blockScopeKind === 4 /* Using */ || blockScopeKind === 6 /* AwaitUsing */) && languageVersion < LanguageFeatureMinimumTarget.UsingAndAwaitUsing) { + checkExternalEmitHelpers(node, 16777216 /* AddDisposableResourceAndDisposeResources */); + } + forEach(node.declarations, checkSourceElement); + } + function checkVariableStatement(node) { + if (!checkGrammarModifiers(node) && !checkGrammarVariableDeclarationList(node.declarationList)) checkGrammarForDisallowedBlockScopedVariableStatement(node); + checkVariableDeclarationList(node.declarationList); + } + function checkExpressionStatement(node) { + checkGrammarStatementInAmbientContext(node); + checkExpression(node.expression); + } + function checkIfStatement(node) { + checkGrammarStatementInAmbientContext(node); + const type = checkTruthinessExpression(node.expression); + checkTestingKnownTruthyCallableOrAwaitableOrEnumMemberType(node.expression, type, node.thenStatement); + checkSourceElement(node.thenStatement); + if (node.thenStatement.kind === 242 /* EmptyStatement */) { + error(node.thenStatement, Diagnostics.The_body_of_an_if_statement_cannot_be_the_empty_statement); + } + checkSourceElement(node.elseStatement); + } + function checkTestingKnownTruthyCallableOrAwaitableOrEnumMemberType(condExpr, condType, body) { + if (!strictNullChecks) return; + bothHelper(condExpr, body); + function bothHelper(condExpr2, body2) { + condExpr2 = skipParentheses(condExpr2); + helper(condExpr2, body2); + while (isBinaryExpression(condExpr2) && (condExpr2.operatorToken.kind === 57 /* BarBarToken */ || condExpr2.operatorToken.kind === 61 /* QuestionQuestionToken */)) { + condExpr2 = skipParentheses(condExpr2.left); + helper(condExpr2, body2); + } + } + function helper(condExpr2, body2) { + const location = isLogicalOrCoalescingBinaryExpression(condExpr2) ? skipParentheses(condExpr2.right) : condExpr2; + if (isModuleExportsAccessExpression(location)) { + return; + } + if (isLogicalOrCoalescingBinaryExpression(location)) { + bothHelper(location, body2); + return; + } + const type = location === condExpr2 ? condType : checkExpression(location); + if (type.flags & 1024 /* EnumLiteral */ && isPropertyAccessExpression(location) && (getNodeLinks(location.expression).resolvedSymbol ?? unknownSymbol).flags & 384 /* Enum */) { + error(location, Diagnostics.This_condition_will_always_return_0, !!type.value ? "true" : "false"); + return; + } + const isPropertyExpressionCast = isPropertyAccessExpression(location) && isTypeAssertion(location.expression); + if (!hasTypeFacts(type, 4194304 /* Truthy */) || isPropertyExpressionCast) return; + const callSignatures = getSignaturesOfType(type, 0 /* Call */); + const isPromise = !!getAwaitedTypeOfPromise(type); + if (callSignatures.length === 0 && !isPromise) { + return; + } + const testedNode = isIdentifier(location) ? location : isPropertyAccessExpression(location) ? location.name : void 0; + const testedSymbol = testedNode && getSymbolAtLocation(testedNode); + if (!testedSymbol && !isPromise) { + return; + } + const isUsed = testedSymbol && isBinaryExpression(condExpr2.parent) && isSymbolUsedInBinaryExpressionChain(condExpr2.parent, testedSymbol) || testedSymbol && body2 && isSymbolUsedInConditionBody(condExpr2, body2, testedNode, testedSymbol); + if (!isUsed) { + if (isPromise) { + errorAndMaybeSuggestAwait( + location, + /*maybeMissingAwait*/ + true, + Diagnostics.This_condition_will_always_return_true_since_this_0_is_always_defined, + getTypeNameForErrorDisplay(type) + ); + } else { + error(location, Diagnostics.This_condition_will_always_return_true_since_this_function_is_always_defined_Did_you_mean_to_call_it_instead); + } + } + } + } + function isSymbolUsedInConditionBody(expr, body, testedNode, testedSymbol) { + return !!forEachChild(body, function check(childNode) { + if (isIdentifier(childNode)) { + const childSymbol = getSymbolAtLocation(childNode); + if (childSymbol && childSymbol === testedSymbol) { + if (isIdentifier(expr) || isIdentifier(testedNode) && isBinaryExpression(testedNode.parent)) { + return true; + } + let testedExpression = testedNode.parent; + let childExpression = childNode.parent; + while (testedExpression && childExpression) { + if (isIdentifier(testedExpression) && isIdentifier(childExpression) || testedExpression.kind === 110 /* ThisKeyword */ && childExpression.kind === 110 /* ThisKeyword */) { + return getSymbolAtLocation(testedExpression) === getSymbolAtLocation(childExpression); + } else if (isPropertyAccessExpression(testedExpression) && isPropertyAccessExpression(childExpression)) { + if (getSymbolAtLocation(testedExpression.name) !== getSymbolAtLocation(childExpression.name)) { + return false; + } + childExpression = childExpression.expression; + testedExpression = testedExpression.expression; + } else if (isCallExpression(testedExpression) && isCallExpression(childExpression)) { + childExpression = childExpression.expression; + testedExpression = testedExpression.expression; + } else { + return false; + } + } + } + } + return forEachChild(childNode, check); + }); + } + function isSymbolUsedInBinaryExpressionChain(node, testedSymbol) { + while (isBinaryExpression(node) && node.operatorToken.kind === 56 /* AmpersandAmpersandToken */) { + const isUsed = forEachChild(node.right, function visit(child) { + if (isIdentifier(child)) { + const symbol = getSymbolAtLocation(child); + if (symbol && symbol === testedSymbol) { + return true; + } + } + return forEachChild(child, visit); + }); + if (isUsed) { + return true; + } + node = node.parent; + } + return false; + } + function checkDoStatement(node) { + checkGrammarStatementInAmbientContext(node); + checkSourceElement(node.statement); + checkTruthinessExpression(node.expression); + } + function checkWhileStatement(node) { + checkGrammarStatementInAmbientContext(node); + checkTruthinessExpression(node.expression); + checkSourceElement(node.statement); + } + function checkTruthinessOfType(type, node) { + if (type.flags & 16384 /* Void */) { + error(node, Diagnostics.An_expression_of_type_void_cannot_be_tested_for_truthiness); + } else { + const semantics = getSyntacticTruthySemantics(node); + if (semantics !== 3 /* Sometimes */) { + error( + node, + semantics === 1 /* Always */ ? Diagnostics.This_kind_of_expression_is_always_truthy : Diagnostics.This_kind_of_expression_is_always_falsy + ); + } + } + return type; + } + function getSyntacticTruthySemantics(node) { + node = skipOuterExpressions(node); + switch (node.kind) { + case 9 /* NumericLiteral */: + if (node.text === "0" || node.text === "1") { + return 3 /* Sometimes */; + } + return 1 /* Always */; + case 209 /* ArrayLiteralExpression */: + case 219 /* ArrowFunction */: + case 10 /* BigIntLiteral */: + case 231 /* ClassExpression */: + case 218 /* FunctionExpression */: + case 284 /* JsxElement */: + case 285 /* JsxSelfClosingElement */: + case 210 /* ObjectLiteralExpression */: + case 14 /* RegularExpressionLiteral */: + return 1 /* Always */; + case 222 /* VoidExpression */: + case 106 /* NullKeyword */: + return 2 /* Never */; + case 15 /* NoSubstitutionTemplateLiteral */: + case 11 /* StringLiteral */: + return !!node.text ? 1 /* Always */ : 2 /* Never */; + case 227 /* ConditionalExpression */: + return getSyntacticTruthySemantics(node.whenTrue) | getSyntacticTruthySemantics(node.whenFalse); + case 80 /* Identifier */: + if (getResolvedSymbol(node) === undefinedSymbol) { + return 2 /* Never */; + } + return 3 /* Sometimes */; + } + return 3 /* Sometimes */; + } + function checkTruthinessExpression(node, checkMode) { + return checkTruthinessOfType(checkExpression(node, checkMode), node); + } + function checkForStatement(node) { + if (!checkGrammarStatementInAmbientContext(node)) { + if (node.initializer && node.initializer.kind === 261 /* VariableDeclarationList */) { + checkGrammarVariableDeclarationList(node.initializer); + } + } + if (node.initializer) { + if (node.initializer.kind === 261 /* VariableDeclarationList */) { + checkVariableDeclarationList(node.initializer); + } else { + checkExpression(node.initializer); + } + } + if (node.condition) checkTruthinessExpression(node.condition); + if (node.incrementor) checkExpression(node.incrementor); + checkSourceElement(node.statement); + if (node.locals) { + registerForUnusedIdentifiersCheck(node); + } + } + function checkForOfStatement(node) { + checkGrammarForInOrForOfStatement(node); + const container = getContainingFunctionOrClassStaticBlock(node); + if (node.awaitModifier) { + if (container && isClassStaticBlockDeclaration(container)) { + grammarErrorOnNode(node.awaitModifier, Diagnostics.for_await_loops_cannot_be_used_inside_a_class_static_block); + } else { + const functionFlags = getFunctionFlags(container); + if ((functionFlags & (4 /* Invalid */ | 2 /* Async */)) === 2 /* Async */ && languageVersion < LanguageFeatureMinimumTarget.ForAwaitOf) { + checkExternalEmitHelpers(node, 16384 /* ForAwaitOfIncludes */); + } + } + } else if (compilerOptions.downlevelIteration && languageVersion < LanguageFeatureMinimumTarget.ForOf) { + checkExternalEmitHelpers(node, 256 /* ForOfIncludes */); + } + if (node.initializer.kind === 261 /* VariableDeclarationList */) { + checkVariableDeclarationList(node.initializer); + } else { + const varExpr = node.initializer; + const iteratedType = checkRightHandSideOfForOf(node); + if (varExpr.kind === 209 /* ArrayLiteralExpression */ || varExpr.kind === 210 /* ObjectLiteralExpression */) { + checkDestructuringAssignment(varExpr, iteratedType || errorType); + } else { + const leftType = checkExpression(varExpr); + checkReferenceExpression( + varExpr, + Diagnostics.The_left_hand_side_of_a_for_of_statement_must_be_a_variable_or_a_property_access, + Diagnostics.The_left_hand_side_of_a_for_of_statement_may_not_be_an_optional_property_access + ); + if (iteratedType) { + checkTypeAssignableToAndOptionallyElaborate(iteratedType, leftType, varExpr, node.expression); + } + } + } + checkSourceElement(node.statement); + if (node.locals) { + registerForUnusedIdentifiersCheck(node); + } + } + function checkForInStatement(node) { + checkGrammarForInOrForOfStatement(node); + const rightType = getNonNullableTypeIfNeeded(checkExpression(node.expression)); + if (node.initializer.kind === 261 /* VariableDeclarationList */) { + const variable = node.initializer.declarations[0]; + if (variable && isBindingPattern(variable.name)) { + error(variable.name, Diagnostics.The_left_hand_side_of_a_for_in_statement_cannot_be_a_destructuring_pattern); + } + checkVariableDeclarationList(node.initializer); + } else { + const varExpr = node.initializer; + const leftType = checkExpression(varExpr); + if (varExpr.kind === 209 /* ArrayLiteralExpression */ || varExpr.kind === 210 /* ObjectLiteralExpression */) { + error(varExpr, Diagnostics.The_left_hand_side_of_a_for_in_statement_cannot_be_a_destructuring_pattern); + } else if (!isTypeAssignableTo(getIndexTypeOrString(rightType), leftType)) { + error(varExpr, Diagnostics.The_left_hand_side_of_a_for_in_statement_must_be_of_type_string_or_any); + } else { + checkReferenceExpression( + varExpr, + Diagnostics.The_left_hand_side_of_a_for_in_statement_must_be_a_variable_or_a_property_access, + Diagnostics.The_left_hand_side_of_a_for_in_statement_may_not_be_an_optional_property_access + ); + } + } + if (rightType === neverType || !isTypeAssignableToKind(rightType, 67108864 /* NonPrimitive */ | 58982400 /* InstantiableNonPrimitive */)) { + error(node.expression, Diagnostics.The_right_hand_side_of_a_for_in_statement_must_be_of_type_any_an_object_type_or_a_type_parameter_but_here_has_type_0, typeToString(rightType)); + } + checkSourceElement(node.statement); + if (node.locals) { + registerForUnusedIdentifiersCheck(node); + } + } + function checkRightHandSideOfForOf(statement) { + const use = statement.awaitModifier ? 15 /* ForAwaitOf */ : 13 /* ForOf */; + return checkIteratedTypeOrElementType(use, checkNonNullExpression(statement.expression), undefinedType, statement.expression); + } + function checkIteratedTypeOrElementType(use, inputType, sentType, errorNode) { + if (isTypeAny(inputType)) { + return inputType; + } + return getIteratedTypeOrElementType( + use, + inputType, + sentType, + errorNode, + /*checkAssignability*/ + true + ) || anyType; + } + function getIteratedTypeOrElementType(use, inputType, sentType, errorNode, checkAssignability) { + const allowAsyncIterables = (use & 2 /* AllowsAsyncIterablesFlag */) !== 0; + if (inputType === neverType) { + if (errorNode) { + reportTypeNotIterableError(errorNode, inputType, allowAsyncIterables); + } + return void 0; + } + const uplevelIteration = languageVersion >= 2 /* ES2015 */; + const downlevelIteration = !uplevelIteration && compilerOptions.downlevelIteration; + const possibleOutOfBounds = compilerOptions.noUncheckedIndexedAccess && !!(use & 128 /* PossiblyOutOfBounds */); + if (uplevelIteration || downlevelIteration || allowAsyncIterables) { + const iterationTypes = getIterationTypesOfIterable(inputType, use, uplevelIteration ? errorNode : void 0); + if (checkAssignability) { + if (iterationTypes) { + const diagnostic = use & 8 /* ForOfFlag */ ? Diagnostics.Cannot_iterate_value_because_the_next_method_of_its_iterator_expects_type_1_but_for_of_will_always_send_0 : use & 32 /* SpreadFlag */ ? Diagnostics.Cannot_iterate_value_because_the_next_method_of_its_iterator_expects_type_1_but_array_spread_will_always_send_0 : use & 64 /* DestructuringFlag */ ? Diagnostics.Cannot_iterate_value_because_the_next_method_of_its_iterator_expects_type_1_but_array_destructuring_will_always_send_0 : use & 16 /* YieldStarFlag */ ? 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; + if (diagnostic) { + checkTypeAssignableTo(sentType, iterationTypes.nextType, errorNode, diagnostic); + } + } + } + if (iterationTypes || uplevelIteration) { + return possibleOutOfBounds ? includeUndefinedInIndexSignature(iterationTypes && iterationTypes.yieldType) : iterationTypes && iterationTypes.yieldType; + } + } + let arrayType = inputType; + let hasStringConstituent = false; + if (use & 4 /* AllowsStringInputFlag */) { + if (arrayType.flags & 1048576 /* Union */) { + const arrayTypes = inputType.types; + const filteredTypes = filter(arrayTypes, (t) => !(t.flags & 402653316 /* StringLike */)); + if (filteredTypes !== arrayTypes) { + arrayType = getUnionType(filteredTypes, 2 /* Subtype */); + } + } else if (arrayType.flags & 402653316 /* StringLike */) { + arrayType = neverType; + } + hasStringConstituent = arrayType !== inputType; + if (hasStringConstituent) { + if (arrayType.flags & 131072 /* Never */) { + return possibleOutOfBounds ? includeUndefinedInIndexSignature(stringType) : stringType; + } + } + } + if (!isArrayLikeType(arrayType)) { + if (errorNode) { + const allowsStrings = !!(use & 4 /* AllowsStringInputFlag */) && !hasStringConstituent; + const [defaultDiagnostic, maybeMissingAwait] = getIterationDiagnosticDetails(allowsStrings, downlevelIteration); + errorAndMaybeSuggestAwait( + errorNode, + maybeMissingAwait && !!getAwaitedTypeOfPromise(arrayType), + defaultDiagnostic, + typeToString(arrayType) + ); + } + return hasStringConstituent ? possibleOutOfBounds ? includeUndefinedInIndexSignature(stringType) : stringType : void 0; + } + const arrayElementType = getIndexTypeOfType(arrayType, numberType); + if (hasStringConstituent && arrayElementType) { + if (arrayElementType.flags & 402653316 /* StringLike */ && !compilerOptions.noUncheckedIndexedAccess) { + return stringType; + } + return getUnionType(possibleOutOfBounds ? [arrayElementType, stringType, undefinedType] : [arrayElementType, stringType], 2 /* Subtype */); + } + return use & 128 /* PossiblyOutOfBounds */ ? includeUndefinedInIndexSignature(arrayElementType) : arrayElementType; + function getIterationDiagnosticDetails(allowsStrings, downlevelIteration2) { + var _a; + if (downlevelIteration2) { + return allowsStrings ? [Diagnostics.Type_0_is_not_an_array_type_or_a_string_type_or_does_not_have_a_Symbol_iterator_method_that_returns_an_iterator, true] : [Diagnostics.Type_0_is_not_an_array_type_or_does_not_have_a_Symbol_iterator_method_that_returns_an_iterator, true]; + } + const yieldType = getIterationTypeOfIterable( + use, + 0 /* Yield */, + inputType, + /*errorNode*/ + void 0 + ); + if (yieldType) { + return [Diagnostics.Type_0_can_only_be_iterated_through_when_using_the_downlevelIteration_flag_or_with_a_target_of_es2015_or_higher, false]; + } + if (isES2015OrLaterIterable((_a = inputType.symbol) == null ? void 0 : _a.escapedName)) { + return [Diagnostics.Type_0_can_only_be_iterated_through_when_using_the_downlevelIteration_flag_or_with_a_target_of_es2015_or_higher, true]; + } + return allowsStrings ? [Diagnostics.Type_0_is_not_an_array_type_or_a_string_type, true] : [Diagnostics.Type_0_is_not_an_array_type, true]; + } + } + function isES2015OrLaterIterable(n) { + switch (n) { + case "Float32Array": + case "Float64Array": + case "Int16Array": + case "Int32Array": + case "Int8Array": + case "NodeList": + case "Uint16Array": + case "Uint32Array": + case "Uint8Array": + case "Uint8ClampedArray": + return true; + } + return false; + } + function getIterationTypeOfIterable(use, typeKind, inputType, errorNode) { + if (isTypeAny(inputType)) { + return void 0; + } + const iterationTypes = getIterationTypesOfIterable(inputType, use, errorNode); + return iterationTypes && iterationTypes[getIterationTypesKeyFromIterationTypeKind(typeKind)]; + } + function createIterationTypes(yieldType = neverType, returnType = neverType, nextType = unknownType) { + if (yieldType.flags & 67359327 /* Intrinsic */ && returnType.flags & (1 /* Any */ | 131072 /* Never */ | 2 /* Unknown */ | 16384 /* Void */ | 32768 /* Undefined */) && nextType.flags & (1 /* Any */ | 131072 /* Never */ | 2 /* Unknown */ | 16384 /* Void */ | 32768 /* Undefined */)) { + const id = getTypeListId([yieldType, returnType, nextType]); + let iterationTypes = iterationTypesCache.get(id); + if (!iterationTypes) { + iterationTypes = { yieldType, returnType, nextType }; + iterationTypesCache.set(id, iterationTypes); + } + return iterationTypes; + } + return { yieldType, returnType, nextType }; + } + function combineIterationTypes(array) { + let yieldTypes; + let returnTypes; + let nextTypes; + for (const iterationTypes of array) { + if (iterationTypes === void 0 || iterationTypes === noIterationTypes) { + continue; + } + if (iterationTypes === anyIterationTypes) { + return anyIterationTypes; + } + yieldTypes = append(yieldTypes, iterationTypes.yieldType); + returnTypes = append(returnTypes, iterationTypes.returnType); + nextTypes = append(nextTypes, iterationTypes.nextType); + } + if (yieldTypes || returnTypes || nextTypes) { + return createIterationTypes( + yieldTypes && getUnionType(yieldTypes), + returnTypes && getUnionType(returnTypes), + nextTypes && getIntersectionType(nextTypes) + ); + } + return noIterationTypes; + } + function getCachedIterationTypes(type, cacheKey) { + return type[cacheKey]; + } + function setCachedIterationTypes(type, cacheKey, cachedTypes2) { + return type[cacheKey] = cachedTypes2; + } + function getIterationTypesOfIterable(type, use, errorNode) { + var _a, _b; + if (isTypeAny(type)) { + return anyIterationTypes; + } + if (!(type.flags & 1048576 /* Union */)) { + const errorOutputContainer = errorNode ? { errors: void 0, skipLogging: true } : void 0; + const iterationTypes2 = getIterationTypesOfIterableWorker(type, use, errorNode, errorOutputContainer); + if (iterationTypes2 === noIterationTypes) { + if (errorNode) { + const rootDiag = reportTypeNotIterableError(errorNode, type, !!(use & 2 /* AllowsAsyncIterablesFlag */)); + if (errorOutputContainer == null ? void 0 : errorOutputContainer.errors) { + addRelatedInfo(rootDiag, ...errorOutputContainer.errors); + } + } + return void 0; + } else if ((_a = errorOutputContainer == null ? void 0 : errorOutputContainer.errors) == null ? void 0 : _a.length) { + for (const diag2 of errorOutputContainer.errors) { + diagnostics.add(diag2); + } + } + return iterationTypes2; + } + const cacheKey = use & 2 /* AllowsAsyncIterablesFlag */ ? "iterationTypesOfAsyncIterable" : "iterationTypesOfIterable"; + const cachedTypes2 = getCachedIterationTypes(type, cacheKey); + if (cachedTypes2) return cachedTypes2 === noIterationTypes ? void 0 : cachedTypes2; + let allIterationTypes; + for (const constituent of type.types) { + const errorOutputContainer = errorNode ? { errors: void 0 } : void 0; + const iterationTypes2 = getIterationTypesOfIterableWorker(constituent, use, errorNode, errorOutputContainer); + if (iterationTypes2 === noIterationTypes) { + if (errorNode) { + const rootDiag = reportTypeNotIterableError(errorNode, type, !!(use & 2 /* AllowsAsyncIterablesFlag */)); + if (errorOutputContainer == null ? void 0 : errorOutputContainer.errors) { + addRelatedInfo(rootDiag, ...errorOutputContainer.errors); + } + } + setCachedIterationTypes(type, cacheKey, noIterationTypes); + return void 0; + } else if ((_b = errorOutputContainer == null ? void 0 : errorOutputContainer.errors) == null ? void 0 : _b.length) { + for (const diag2 of errorOutputContainer.errors) { + diagnostics.add(diag2); + } + } + allIterationTypes = append(allIterationTypes, iterationTypes2); + } + const iterationTypes = allIterationTypes ? combineIterationTypes(allIterationTypes) : noIterationTypes; + setCachedIterationTypes(type, cacheKey, iterationTypes); + return iterationTypes === noIterationTypes ? void 0 : iterationTypes; + } + function getAsyncFromSyncIterationTypes(iterationTypes, errorNode) { + if (iterationTypes === noIterationTypes) return noIterationTypes; + if (iterationTypes === anyIterationTypes) return anyIterationTypes; + const { yieldType, returnType, nextType } = iterationTypes; + if (errorNode) { + getGlobalAwaitedSymbol( + /*reportErrors*/ + true + ); + } + return createIterationTypes( + getAwaitedType(yieldType, errorNode) || anyType, + getAwaitedType(returnType, errorNode) || anyType, + nextType + ); + } + function getIterationTypesOfIterableWorker(type, use, errorNode, errorOutputContainer) { + if (isTypeAny(type)) { + return anyIterationTypes; + } + let noCache = false; + if (use & 2 /* AllowsAsyncIterablesFlag */) { + const iterationTypes = getIterationTypesOfIterableCached(type, asyncIterationTypesResolver) || getIterationTypesOfIterableFast(type, asyncIterationTypesResolver); + if (iterationTypes) { + if (iterationTypes === noIterationTypes && errorNode) { + noCache = true; + } else { + return use & 8 /* ForOfFlag */ ? getAsyncFromSyncIterationTypes(iterationTypes, errorNode) : iterationTypes; + } + } + } + if (use & 1 /* AllowsSyncIterablesFlag */) { + let iterationTypes = getIterationTypesOfIterableCached(type, syncIterationTypesResolver) || getIterationTypesOfIterableFast(type, syncIterationTypesResolver); + if (iterationTypes) { + if (iterationTypes === noIterationTypes && errorNode) { + noCache = true; + } else { + if (use & 2 /* AllowsAsyncIterablesFlag */) { + if (iterationTypes !== noIterationTypes) { + iterationTypes = getAsyncFromSyncIterationTypes(iterationTypes, errorNode); + return noCache ? iterationTypes : setCachedIterationTypes(type, "iterationTypesOfAsyncIterable", iterationTypes); + } + } else { + return iterationTypes; + } + } + } + } + if (use & 2 /* AllowsAsyncIterablesFlag */) { + const iterationTypes = getIterationTypesOfIterableSlow(type, asyncIterationTypesResolver, errorNode, errorOutputContainer, noCache); + if (iterationTypes !== noIterationTypes) { + return iterationTypes; + } + } + if (use & 1 /* AllowsSyncIterablesFlag */) { + let iterationTypes = getIterationTypesOfIterableSlow(type, syncIterationTypesResolver, errorNode, errorOutputContainer, noCache); + if (iterationTypes !== noIterationTypes) { + if (use & 2 /* AllowsAsyncIterablesFlag */) { + iterationTypes = getAsyncFromSyncIterationTypes(iterationTypes, errorNode); + return noCache ? iterationTypes : setCachedIterationTypes(type, "iterationTypesOfAsyncIterable", iterationTypes); + } else { + return iterationTypes; + } + } + } + return noIterationTypes; + } + function getIterationTypesOfIterableCached(type, resolver) { + return getCachedIterationTypes(type, resolver.iterableCacheKey); + } + function getIterationTypesOfIterableFast(type, resolver) { + if (isReferenceToType(type, resolver.getGlobalIterableType( + /*reportErrors*/ + false + )) || isReferenceToType(type, resolver.getGlobalIteratorObjectType( + /*reportErrors*/ + false + )) || isReferenceToType(type, resolver.getGlobalIterableIteratorType( + /*reportErrors*/ + false + )) || isReferenceToType(type, resolver.getGlobalGeneratorType( + /*reportErrors*/ + false + ))) { + const [yieldType, returnType, nextType] = getTypeArguments(type); + return setCachedIterationTypes(type, resolver.iterableCacheKey, createIterationTypes(resolver.resolveIterationType( + yieldType, + /*errorNode*/ + void 0 + ) || yieldType, resolver.resolveIterationType( + returnType, + /*errorNode*/ + void 0 + ) || returnType, nextType)); + } + if (isReferenceToSomeType(type, resolver.getGlobalBuiltinIteratorTypes())) { + const [yieldType] = getTypeArguments(type); + const returnType = getBuiltinIteratorReturnType(); + const nextType = unknownType; + return setCachedIterationTypes(type, resolver.iterableCacheKey, createIterationTypes(resolver.resolveIterationType( + yieldType, + /*errorNode*/ + void 0 + ) || yieldType, resolver.resolveIterationType( + returnType, + /*errorNode*/ + void 0 + ) || returnType, nextType)); + } + } + function getPropertyNameForKnownSymbolName(symbolName2) { + const ctorType = getGlobalESSymbolConstructorSymbol( + /*reportErrors*/ + false + ); + const uniqueType = ctorType && getTypeOfPropertyOfType(getTypeOfSymbol(ctorType), escapeLeadingUnderscores(symbolName2)); + return uniqueType && isTypeUsableAsPropertyName(uniqueType) ? getPropertyNameFromType(uniqueType) : `__@${symbolName2}`; + } + function getIterationTypesOfIterableSlow(type, resolver, errorNode, errorOutputContainer, noCache) { + const method = getPropertyOfType(type, getPropertyNameForKnownSymbolName(resolver.iteratorSymbolName)); + const methodType = method && !(method.flags & 16777216 /* Optional */) ? getTypeOfSymbol(method) : void 0; + if (isTypeAny(methodType)) { + return noCache ? anyIterationTypes : setCachedIterationTypes(type, resolver.iterableCacheKey, anyIterationTypes); + } + const allSignatures = methodType ? getSignaturesOfType(methodType, 0 /* Call */) : void 0; + const validSignatures = filter(allSignatures, (sig) => getMinArgumentCount(sig) === 0); + if (!some(validSignatures)) { + if (errorNode && some(allSignatures)) { + checkTypeAssignableTo( + type, + resolver.getGlobalIterableType( + /*reportErrors*/ + true + ), + errorNode, + /*headMessage*/ + void 0, + /*containingMessageChain*/ + void 0, + errorOutputContainer + ); + } + return noCache ? noIterationTypes : setCachedIterationTypes(type, resolver.iterableCacheKey, noIterationTypes); + } + const iteratorType = getIntersectionType(map(validSignatures, getReturnTypeOfSignature)); + const iterationTypes = getIterationTypesOfIteratorWorker(iteratorType, resolver, errorNode, errorOutputContainer, noCache) ?? noIterationTypes; + return noCache ? iterationTypes : setCachedIterationTypes(type, resolver.iterableCacheKey, iterationTypes); + } + function reportTypeNotIterableError(errorNode, type, allowAsyncIterables) { + const message = allowAsyncIterables ? Diagnostics.Type_0_must_have_a_Symbol_asyncIterator_method_that_returns_an_async_iterator : Diagnostics.Type_0_must_have_a_Symbol_iterator_method_that_returns_an_iterator; + const suggestAwait = ( + // for (const x of Promise<...>) or [...Promise<...>] + !!getAwaitedTypeOfPromise(type) || !allowAsyncIterables && isForOfStatement(errorNode.parent) && errorNode.parent.expression === errorNode && getGlobalAsyncIterableType( + /*reportErrors*/ + false + ) !== emptyGenericType && isTypeAssignableTo(type, createTypeFromGenericGlobalType(getGlobalAsyncIterableType( + /*reportErrors*/ + false + ), [anyType, anyType, anyType])) + ); + return errorAndMaybeSuggestAwait(errorNode, suggestAwait, message, typeToString(type)); + } + function getIterationTypesOfIterator(type, resolver, errorNode, errorOutputContainer) { + return getIterationTypesOfIteratorWorker( + type, + resolver, + errorNode, + errorOutputContainer, + /*noCache*/ + false + ); + } + function getIterationTypesOfIteratorWorker(type, resolver, errorNode, errorOutputContainer, noCache) { + if (isTypeAny(type)) { + return anyIterationTypes; + } + let iterationTypes = getIterationTypesOfIteratorCached(type, resolver) || getIterationTypesOfIteratorFast(type, resolver); + if (iterationTypes === noIterationTypes && errorNode) { + iterationTypes = void 0; + noCache = true; + } + iterationTypes ?? (iterationTypes = getIterationTypesOfIteratorSlow(type, resolver, errorNode, errorOutputContainer, noCache)); + return iterationTypes === noIterationTypes ? void 0 : iterationTypes; + } + function getIterationTypesOfIteratorCached(type, resolver) { + return getCachedIterationTypes(type, resolver.iteratorCacheKey); + } + function getIterationTypesOfIteratorFast(type, resolver) { + if (isReferenceToType(type, resolver.getGlobalIterableIteratorType( + /*reportErrors*/ + false + )) || isReferenceToType(type, resolver.getGlobalIteratorType( + /*reportErrors*/ + false + )) || isReferenceToType(type, resolver.getGlobalIteratorObjectType( + /*reportErrors*/ + false + )) || isReferenceToType(type, resolver.getGlobalGeneratorType( + /*reportErrors*/ + false + ))) { + const [yieldType, returnType, nextType] = getTypeArguments(type); + return setCachedIterationTypes(type, resolver.iteratorCacheKey, createIterationTypes(yieldType, returnType, nextType)); + } + if (isReferenceToSomeType(type, resolver.getGlobalBuiltinIteratorTypes())) { + const [yieldType] = getTypeArguments(type); + const returnType = getBuiltinIteratorReturnType(); + const nextType = unknownType; + return setCachedIterationTypes(type, resolver.iteratorCacheKey, createIterationTypes(yieldType, returnType, nextType)); + } + } + function isIteratorResult(type, kind) { + const doneType = getTypeOfPropertyOfType(type, "done") || falseType; + return isTypeAssignableTo(kind === 0 /* Yield */ ? falseType : trueType, doneType); + } + function isYieldIteratorResult(type) { + return isIteratorResult(type, 0 /* Yield */); + } + function isReturnIteratorResult(type) { + return isIteratorResult(type, 1 /* Return */); + } + function getIterationTypesOfIteratorResult(type) { + if (isTypeAny(type)) { + return anyIterationTypes; + } + const cachedTypes2 = getCachedIterationTypes(type, "iterationTypesOfIteratorResult"); + if (cachedTypes2) { + return cachedTypes2; + } + if (isReferenceToType(type, getGlobalIteratorYieldResultType( + /*reportErrors*/ + false + ))) { + const yieldType2 = getTypeArguments(type)[0]; + return setCachedIterationTypes(type, "iterationTypesOfIteratorResult", createIterationTypes( + yieldType2, + /*returnType*/ + void 0, + /*nextType*/ + void 0 + )); + } + if (isReferenceToType(type, getGlobalIteratorReturnResultType( + /*reportErrors*/ + false + ))) { + const returnType2 = getTypeArguments(type)[0]; + return setCachedIterationTypes(type, "iterationTypesOfIteratorResult", createIterationTypes( + /*yieldType*/ + void 0, + returnType2, + /*nextType*/ + void 0 + )); + } + const yieldIteratorResult = filterType(type, isYieldIteratorResult); + const yieldType = yieldIteratorResult !== neverType ? getTypeOfPropertyOfType(yieldIteratorResult, "value") : void 0; + const returnIteratorResult = filterType(type, isReturnIteratorResult); + const returnType = returnIteratorResult !== neverType ? getTypeOfPropertyOfType(returnIteratorResult, "value") : void 0; + if (!yieldType && !returnType) { + return setCachedIterationTypes(type, "iterationTypesOfIteratorResult", noIterationTypes); + } + return setCachedIterationTypes(type, "iterationTypesOfIteratorResult", createIterationTypes( + yieldType, + returnType || voidType, + /*nextType*/ + void 0 + )); + } + function getIterationTypesOfMethod(type, resolver, methodName, errorNode, errorOutputContainer) { + var _a, _b, _c, _d; + const method = getPropertyOfType(type, methodName); + if (!method && methodName !== "next") { + return void 0; + } + const methodType = method && !(methodName === "next" && method.flags & 16777216 /* Optional */) ? methodName === "next" ? getTypeOfSymbol(method) : getTypeWithFacts(getTypeOfSymbol(method), 2097152 /* NEUndefinedOrNull */) : void 0; + if (isTypeAny(methodType)) { + return anyIterationTypes; + } + const methodSignatures = methodType ? getSignaturesOfType(methodType, 0 /* Call */) : emptyArray; + if (methodSignatures.length === 0) { + if (errorNode) { + const diagnostic = methodName === "next" ? resolver.mustHaveANextMethodDiagnostic : resolver.mustBeAMethodDiagnostic; + if (errorOutputContainer) { + errorOutputContainer.errors ?? (errorOutputContainer.errors = []); + errorOutputContainer.errors.push(createDiagnosticForNode(errorNode, diagnostic, methodName)); + } else { + error(errorNode, diagnostic, methodName); + } + } + return methodName === "next" ? noIterationTypes : void 0; + } + if ((methodType == null ? void 0 : methodType.symbol) && methodSignatures.length === 1) { + const globalGeneratorType = resolver.getGlobalGeneratorType( + /*reportErrors*/ + false + ); + const globalIteratorType = resolver.getGlobalIteratorType( + /*reportErrors*/ + false + ); + const isGeneratorMethod = ((_b = (_a = globalGeneratorType.symbol) == null ? void 0 : _a.members) == null ? void 0 : _b.get(methodName)) === methodType.symbol; + const isIteratorMethod = !isGeneratorMethod && ((_d = (_c = globalIteratorType.symbol) == null ? void 0 : _c.members) == null ? void 0 : _d.get(methodName)) === methodType.symbol; + if (isGeneratorMethod || isIteratorMethod) { + const globalType = isGeneratorMethod ? globalGeneratorType : globalIteratorType; + const { mapper } = methodType; + return createIterationTypes( + getMappedType(globalType.typeParameters[0], mapper), + getMappedType(globalType.typeParameters[1], mapper), + methodName === "next" ? getMappedType(globalType.typeParameters[2], mapper) : void 0 + ); + } + } + let methodParameterTypes; + let methodReturnTypes; + for (const signature of methodSignatures) { + if (methodName !== "throw" && some(signature.parameters)) { + methodParameterTypes = append(methodParameterTypes, getTypeAtPosition(signature, 0)); + } + methodReturnTypes = append(methodReturnTypes, getReturnTypeOfSignature(signature)); + } + let returnTypes; + let nextType; + if (methodName !== "throw") { + const methodParameterType = methodParameterTypes ? getUnionType(methodParameterTypes) : unknownType; + if (methodName === "next") { + nextType = methodParameterType; + } else if (methodName === "return") { + const resolvedMethodParameterType = resolver.resolveIterationType(methodParameterType, errorNode) || anyType; + returnTypes = append(returnTypes, resolvedMethodParameterType); + } + } + let yieldType; + const methodReturnType = methodReturnTypes ? getIntersectionType(methodReturnTypes) : neverType; + const resolvedMethodReturnType = resolver.resolveIterationType(methodReturnType, errorNode) || anyType; + const iterationTypes = getIterationTypesOfIteratorResult(resolvedMethodReturnType); + if (iterationTypes === noIterationTypes) { + if (errorNode) { + if (errorOutputContainer) { + errorOutputContainer.errors ?? (errorOutputContainer.errors = []); + errorOutputContainer.errors.push(createDiagnosticForNode(errorNode, resolver.mustHaveAValueDiagnostic, methodName)); + } else { + error(errorNode, resolver.mustHaveAValueDiagnostic, methodName); + } + } + yieldType = anyType; + returnTypes = append(returnTypes, anyType); + } else { + yieldType = iterationTypes.yieldType; + returnTypes = append(returnTypes, iterationTypes.returnType); + } + return createIterationTypes(yieldType, getUnionType(returnTypes), nextType); + } + function getIterationTypesOfIteratorSlow(type, resolver, errorNode, errorOutputContainer, noCache) { + const iterationTypes = combineIterationTypes([ + getIterationTypesOfMethod(type, resolver, "next", errorNode, errorOutputContainer), + getIterationTypesOfMethod(type, resolver, "return", errorNode, errorOutputContainer), + getIterationTypesOfMethod(type, resolver, "throw", errorNode, errorOutputContainer) + ]); + return noCache ? iterationTypes : setCachedIterationTypes(type, resolver.iteratorCacheKey, iterationTypes); + } + function getIterationTypeOfGeneratorFunctionReturnType(kind, returnType, isAsyncGenerator) { + if (isTypeAny(returnType)) { + return void 0; + } + const iterationTypes = getIterationTypesOfGeneratorFunctionReturnType(returnType, isAsyncGenerator); + return iterationTypes && iterationTypes[getIterationTypesKeyFromIterationTypeKind(kind)]; + } + function getIterationTypesOfGeneratorFunctionReturnType(type, isAsyncGenerator) { + if (isTypeAny(type)) { + return anyIterationTypes; + } + const use = isAsyncGenerator ? 2 /* AsyncGeneratorReturnType */ : 1 /* GeneratorReturnType */; + const resolver = isAsyncGenerator ? asyncIterationTypesResolver : syncIterationTypesResolver; + return getIterationTypesOfIterable( + type, + use, + /*errorNode*/ + void 0 + ) || getIterationTypesOfIterator( + type, + resolver, + /*errorNode*/ + void 0, + /*errorOutputContainer*/ + void 0 + ); + } + function checkBreakOrContinueStatement(node) { + if (!checkGrammarStatementInAmbientContext(node)) checkGrammarBreakOrContinueStatement(node); + } + function unwrapReturnType(returnType, functionFlags) { + const isGenerator = !!(functionFlags & 1 /* Generator */); + const isAsync = !!(functionFlags & 2 /* Async */); + if (isGenerator) { + const returnIterationType = getIterationTypeOfGeneratorFunctionReturnType(1 /* Return */, returnType, isAsync); + if (!returnIterationType) { + return errorType; + } + return isAsync ? getAwaitedTypeNoAlias(unwrapAwaitedType(returnIterationType)) : returnIterationType; + } + return isAsync ? getAwaitedTypeNoAlias(returnType) || errorType : returnType; + } + function isUnwrappedReturnTypeUndefinedVoidOrAny(func, returnType) { + const type = unwrapReturnType(returnType, getFunctionFlags(func)); + return !!(type && (maybeTypeOfKind(type, 16384 /* Void */) || type.flags & (1 /* Any */ | 32768 /* Undefined */))); + } + function checkReturnStatement(node) { + if (checkGrammarStatementInAmbientContext(node)) { + return; + } + const container = getContainingFunctionOrClassStaticBlock(node); + if (container && isClassStaticBlockDeclaration(container)) { + grammarErrorOnFirstToken(node, Diagnostics.A_return_statement_cannot_be_used_inside_a_class_static_block); + return; + } + if (!container) { + grammarErrorOnFirstToken(node, Diagnostics.A_return_statement_can_only_be_used_within_a_function_body); + return; + } + const signature = getSignatureFromDeclaration(container); + const returnType = getReturnTypeOfSignature(signature); + const functionFlags = getFunctionFlags(container); + if (strictNullChecks || node.expression || returnType.flags & 131072 /* Never */) { + const exprType = node.expression ? checkExpressionCached(node.expression) : undefinedType; + if (container.kind === 178 /* SetAccessor */) { + if (node.expression) { + error(node, Diagnostics.Setters_cannot_return_a_value); + } + } else if (container.kind === 176 /* Constructor */) { + if (node.expression && !checkTypeAssignableToAndOptionallyElaborate(exprType, returnType, node, node.expression)) { + error(node, Diagnostics.Return_type_of_constructor_signature_must_be_assignable_to_the_instance_type_of_the_class); + } + } else if (getReturnTypeFromAnnotation(container)) { + const unwrappedReturnType = unwrapReturnType(returnType, functionFlags) ?? returnType; + const unwrappedExprType = functionFlags & 2 /* Async */ ? checkAwaitedType( + exprType, + /*withAlias*/ + false, + node, + Diagnostics.The_return_type_of_an_async_function_must_either_be_a_valid_promise_or_must_not_contain_a_callable_then_member + ) : exprType; + if (unwrappedReturnType) { + checkTypeAssignableToAndOptionallyElaborate(unwrappedExprType, unwrappedReturnType, node, node.expression); + } + } + } else if (container.kind !== 176 /* Constructor */ && compilerOptions.noImplicitReturns && !isUnwrappedReturnTypeUndefinedVoidOrAny(container, returnType)) { + error(node, Diagnostics.Not_all_code_paths_return_a_value); + } + } + function checkWithStatement(node) { + if (!checkGrammarStatementInAmbientContext(node)) { + if (node.flags & 65536 /* AwaitContext */) { + grammarErrorOnFirstToken(node, Diagnostics.with_statements_are_not_allowed_in_an_async_function_block); + } + } + checkExpression(node.expression); + const sourceFile = getSourceFileOfNode(node); + if (!hasParseDiagnostics(sourceFile)) { + const start = getSpanOfTokenAtPosition(sourceFile, node.pos).start; + const end = node.statement.pos; + grammarErrorAtPos(sourceFile, start, end - start, Diagnostics.The_with_statement_is_not_supported_All_symbols_in_a_with_block_will_have_type_any); + } + } + function checkSwitchStatement(node) { + checkGrammarStatementInAmbientContext(node); + let firstDefaultClause; + let hasDuplicateDefaultClause = false; + const expressionType = checkExpression(node.expression); + forEach(node.caseBlock.clauses, (clause) => { + if (clause.kind === 297 /* DefaultClause */ && !hasDuplicateDefaultClause) { + if (firstDefaultClause === void 0) { + firstDefaultClause = clause; + } else { + grammarErrorOnNode(clause, Diagnostics.A_default_clause_cannot_appear_more_than_once_in_a_switch_statement); + hasDuplicateDefaultClause = true; + } + } + if (clause.kind === 296 /* CaseClause */) { + addLazyDiagnostic(createLazyCaseClauseDiagnostics(clause)); + } + forEach(clause.statements, checkSourceElement); + if (compilerOptions.noFallthroughCasesInSwitch && clause.fallthroughFlowNode && isReachableFlowNode(clause.fallthroughFlowNode)) { + error(clause, Diagnostics.Fallthrough_case_in_switch); + } + function createLazyCaseClauseDiagnostics(clause2) { + return () => { + const caseType = checkExpression(clause2.expression); + if (!isTypeEqualityComparableTo(expressionType, caseType)) { + checkTypeComparableTo( + caseType, + expressionType, + clause2.expression, + /*headMessage*/ + void 0 + ); + } + }; + } + }); + if (node.caseBlock.locals) { + registerForUnusedIdentifiersCheck(node.caseBlock); + } + } + function checkLabeledStatement(node) { + if (!checkGrammarStatementInAmbientContext(node)) { + findAncestor(node.parent, (current) => { + if (isFunctionLike(current)) { + return "quit"; + } + if (current.kind === 256 /* LabeledStatement */ && current.label.escapedText === node.label.escapedText) { + grammarErrorOnNode(node.label, Diagnostics.Duplicate_label_0, getTextOfNode(node.label)); + return true; + } + return false; + }); + } + checkSourceElement(node.statement); + } + function checkThrowStatement(node) { + if (!checkGrammarStatementInAmbientContext(node)) { + if (isIdentifier(node.expression) && !node.expression.escapedText) { + grammarErrorAfterFirstToken(node, Diagnostics.Line_break_not_permitted_here); + } + } + if (node.expression) { + checkExpression(node.expression); + } + } + function checkTryStatement(node) { + checkGrammarStatementInAmbientContext(node); + checkBlock(node.tryBlock); + const catchClause = node.catchClause; + if (catchClause) { + if (catchClause.variableDeclaration) { + const declaration = catchClause.variableDeclaration; + checkVariableLikeDeclaration(declaration); + const typeNode = getEffectiveTypeAnnotationNode(declaration); + if (typeNode) { + const type = getTypeFromTypeNode(typeNode); + if (type && !(type.flags & 3 /* AnyOrUnknown */)) { + grammarErrorOnFirstToken(typeNode, Diagnostics.Catch_clause_variable_type_annotation_must_be_any_or_unknown_if_specified); + } + } else if (declaration.initializer) { + grammarErrorOnFirstToken(declaration.initializer, Diagnostics.Catch_clause_variable_cannot_have_an_initializer); + } else { + const blockLocals = catchClause.block.locals; + if (blockLocals) { + forEachKey(catchClause.locals, (caughtName) => { + const blockLocal = blockLocals.get(caughtName); + if ((blockLocal == null ? void 0 : blockLocal.valueDeclaration) && (blockLocal.flags & 2 /* BlockScopedVariable */) !== 0) { + grammarErrorOnNode(blockLocal.valueDeclaration, Diagnostics.Cannot_redeclare_identifier_0_in_catch_clause, unescapeLeadingUnderscores(caughtName)); + } + }); + } + } + } + checkBlock(catchClause.block); + } + if (node.finallyBlock) { + checkBlock(node.finallyBlock); + } + } + function checkIndexConstraints(type, symbol, isStaticIndex) { + const indexInfos = getIndexInfosOfType(type); + if (indexInfos.length === 0) { + return; + } + for (const prop of getPropertiesOfObjectType(type)) { + if (!(isStaticIndex && prop.flags & 4194304 /* Prototype */)) { + checkIndexConstraintForProperty(type, prop, getLiteralTypeFromProperty( + prop, + 8576 /* StringOrNumberLiteralOrUnique */, + /*includeNonPublic*/ + true + ), getNonMissingTypeOfSymbol(prop)); + } + } + const typeDeclaration = symbol.valueDeclaration; + if (typeDeclaration && isClassLike(typeDeclaration)) { + for (const member of typeDeclaration.members) { + if (!isStatic(member) && !hasBindableName(member)) { + const symbol2 = getSymbolOfDeclaration(member); + checkIndexConstraintForProperty(type, symbol2, getTypeOfExpression(member.name.expression), getNonMissingTypeOfSymbol(symbol2)); + } + } + } + if (indexInfos.length > 1) { + for (const info of indexInfos) { + checkIndexConstraintForIndexSignature(type, info); + } + } + } + function checkIndexConstraintForProperty(type, prop, propNameType, propType) { + const declaration = prop.valueDeclaration; + const name = getNameOfDeclaration(declaration); + if (name && isPrivateIdentifier(name)) { + return; + } + const indexInfos = getApplicableIndexInfos(type, propNameType); + const interfaceDeclaration = getObjectFlags(type) & 2 /* Interface */ ? getDeclarationOfKind(type.symbol, 264 /* InterfaceDeclaration */) : void 0; + const propDeclaration = declaration && declaration.kind === 226 /* BinaryExpression */ || name && name.kind === 167 /* ComputedPropertyName */ ? declaration : void 0; + const localPropDeclaration = getParentOfSymbol(prop) === type.symbol ? declaration : void 0; + for (const info of indexInfos) { + const localIndexDeclaration = info.declaration && getParentOfSymbol(getSymbolOfDeclaration(info.declaration)) === type.symbol ? info.declaration : void 0; + const errorNode = localPropDeclaration || localIndexDeclaration || (interfaceDeclaration && !some(getBaseTypes(type), (base) => !!getPropertyOfObjectType(base, prop.escapedName) && !!getIndexTypeOfType(base, info.keyType)) ? interfaceDeclaration : void 0); + if (errorNode && !isTypeAssignableTo(propType, info.type)) { + const diagnostic = createError(errorNode, Diagnostics.Property_0_of_type_1_is_not_assignable_to_2_index_type_3, symbolToString(prop), typeToString(propType), typeToString(info.keyType), typeToString(info.type)); + if (propDeclaration && errorNode !== propDeclaration) { + addRelatedInfo(diagnostic, createDiagnosticForNode(propDeclaration, Diagnostics._0_is_declared_here, symbolToString(prop))); + } + diagnostics.add(diagnostic); + } + } + } + function checkIndexConstraintForIndexSignature(type, checkInfo) { + const declaration = checkInfo.declaration; + const indexInfos = getApplicableIndexInfos(type, checkInfo.keyType); + const interfaceDeclaration = getObjectFlags(type) & 2 /* Interface */ ? getDeclarationOfKind(type.symbol, 264 /* InterfaceDeclaration */) : void 0; + const localCheckDeclaration = declaration && getParentOfSymbol(getSymbolOfDeclaration(declaration)) === type.symbol ? declaration : void 0; + for (const info of indexInfos) { + if (info === checkInfo) continue; + const localIndexDeclaration = info.declaration && getParentOfSymbol(getSymbolOfDeclaration(info.declaration)) === type.symbol ? info.declaration : void 0; + const errorNode = localCheckDeclaration || localIndexDeclaration || (interfaceDeclaration && !some(getBaseTypes(type), (base) => !!getIndexInfoOfType(base, checkInfo.keyType) && !!getIndexTypeOfType(base, info.keyType)) ? interfaceDeclaration : void 0); + if (errorNode && !isTypeAssignableTo(checkInfo.type, info.type)) { + error(errorNode, Diagnostics._0_index_type_1_is_not_assignable_to_2_index_type_3, typeToString(checkInfo.keyType), typeToString(checkInfo.type), typeToString(info.keyType), typeToString(info.type)); + } + } + } + function checkTypeNameIsReserved(name, message) { + switch (name.escapedText) { + case "any": + case "unknown": + case "never": + case "number": + case "bigint": + case "boolean": + case "string": + case "symbol": + case "void": + case "object": + case "undefined": + error(name, message, name.escapedText); + } + } + function checkClassNameCollisionWithObject(name) { + if (languageVersion >= 1 /* ES5 */ && name.escapedText === "Object" && host.getEmitModuleFormatOfFile(getSourceFileOfNode(name)) < 5 /* ES2015 */) { + error(name, Diagnostics.Class_name_cannot_be_Object_when_targeting_ES5_with_module_0, ModuleKind[moduleKind]); + } + } + function checkUnmatchedJSDocParameters(node) { + const jsdocParameters = filter(getJSDocTags(node), isJSDocParameterTag); + if (!length(jsdocParameters)) return; + const isJs = isInJSFile(node); + const parameters = /* @__PURE__ */ new Set(); + const excludedParameters = /* @__PURE__ */ new Set(); + forEach(node.parameters, ({ name }, index) => { + if (isIdentifier(name)) { + parameters.add(name.escapedText); + } + if (isBindingPattern(name)) { + excludedParameters.add(index); + } + }); + const containsArguments = containsArgumentsReference(node); + if (containsArguments) { + const lastJSDocParamIndex = jsdocParameters.length - 1; + const lastJSDocParam = jsdocParameters[lastJSDocParamIndex]; + if (isJs && lastJSDocParam && isIdentifier(lastJSDocParam.name) && lastJSDocParam.typeExpression && lastJSDocParam.typeExpression.type && !parameters.has(lastJSDocParam.name.escapedText) && !excludedParameters.has(lastJSDocParamIndex) && !isArrayType(getTypeFromTypeNode(lastJSDocParam.typeExpression.type))) { + error(lastJSDocParam.name, Diagnostics.JSDoc_param_tag_has_name_0_but_there_is_no_parameter_with_that_name_It_would_match_arguments_if_it_had_an_array_type, idText(lastJSDocParam.name)); + } + } else { + forEach(jsdocParameters, ({ name, isNameFirst }, index) => { + if (excludedParameters.has(index) || isIdentifier(name) && parameters.has(name.escapedText)) { + return; + } + if (isQualifiedName(name)) { + if (isJs) { + error(name, Diagnostics.Qualified_name_0_is_not_allowed_without_a_leading_param_object_1, entityNameToString(name), entityNameToString(name.left)); + } + } else { + if (!isNameFirst) { + errorOrSuggestion(isJs, name, Diagnostics.JSDoc_param_tag_has_name_0_but_there_is_no_parameter_with_that_name, idText(name)); + } + } + }); + } + } + function checkTypeParameters(typeParameterDeclarations) { + let seenDefault = false; + if (typeParameterDeclarations) { + for (let i = 0; i < typeParameterDeclarations.length; i++) { + const node = typeParameterDeclarations[i]; + checkTypeParameter(node); + addLazyDiagnostic(createCheckTypeParameterDiagnostic(node, i)); + } + } + function createCheckTypeParameterDiagnostic(node, i) { + return () => { + if (node.default) { + seenDefault = true; + checkTypeParametersNotReferenced(node.default, typeParameterDeclarations, i); + } else if (seenDefault) { + error(node, Diagnostics.Required_type_parameters_may_not_follow_optional_type_parameters); + } + for (let j = 0; j < i; j++) { + if (typeParameterDeclarations[j].symbol === node.symbol) { + error(node.name, Diagnostics.Duplicate_identifier_0, declarationNameToString(node.name)); + } + } + }; + } + } + function checkTypeParametersNotReferenced(root, typeParameters, index) { + visit(root); + function visit(node) { + if (node.kind === 183 /* TypeReference */) { + const type = getTypeFromTypeReference(node); + if (type.flags & 262144 /* TypeParameter */) { + for (let i = index; i < typeParameters.length; i++) { + if (type.symbol === getSymbolOfDeclaration(typeParameters[i])) { + error(node, Diagnostics.Type_parameter_defaults_can_only_reference_previously_declared_type_parameters); + } + } + } + } + forEachChild(node, visit); + } + } + function checkTypeParameterListsIdentical(symbol) { + if (symbol.declarations && symbol.declarations.length === 1) { + return; + } + const links = getSymbolLinks(symbol); + if (!links.typeParametersChecked) { + links.typeParametersChecked = true; + const declarations = getClassOrInterfaceDeclarationsOfSymbol(symbol); + if (!declarations || declarations.length <= 1) { + return; + } + const type = getDeclaredTypeOfSymbol(symbol); + if (!areTypeParametersIdentical(declarations, type.localTypeParameters, getEffectiveTypeParameterDeclarations)) { + const name = symbolToString(symbol); + for (const declaration of declarations) { + error(declaration.name, Diagnostics.All_declarations_of_0_must_have_identical_type_parameters, name); + } + } + } + } + function areTypeParametersIdentical(declarations, targetParameters, getTypeParameterDeclarations) { + const maxTypeArgumentCount = length(targetParameters); + const minTypeArgumentCount = getMinTypeArgumentCount(targetParameters); + for (const declaration of declarations) { + const sourceParameters = getTypeParameterDeclarations(declaration); + const numTypeParameters = sourceParameters.length; + if (numTypeParameters < minTypeArgumentCount || numTypeParameters > maxTypeArgumentCount) { + return false; + } + for (let i = 0; i < numTypeParameters; i++) { + const source = sourceParameters[i]; + const target = targetParameters[i]; + if (source.name.escapedText !== target.symbol.escapedName) { + return false; + } + const constraint = getEffectiveConstraintOfTypeParameter(source); + const sourceConstraint = constraint && getTypeFromTypeNode(constraint); + const targetConstraint = getConstraintOfTypeParameter(target); + if (sourceConstraint && targetConstraint && !isTypeIdenticalTo(sourceConstraint, targetConstraint)) { + return false; + } + const sourceDefault = source.default && getTypeFromTypeNode(source.default); + const targetDefault = getDefaultFromTypeParameter(target); + if (sourceDefault && targetDefault && !isTypeIdenticalTo(sourceDefault, targetDefault)) { + return false; + } + } + } + return true; + } + function getFirstTransformableStaticClassElement(node) { + const willTransformStaticElementsOfDecoratedClass = !legacyDecorators && languageVersion < LanguageFeatureMinimumTarget.ClassAndClassElementDecorators && classOrConstructorParameterIsDecorated( + /*useLegacyDecorators*/ + false, + node + ); + const willTransformPrivateElementsOrClassStaticBlocks = languageVersion < LanguageFeatureMinimumTarget.PrivateNamesAndClassStaticBlocks || languageVersion < LanguageFeatureMinimumTarget.ClassAndClassElementDecorators; + const willTransformInitializers = !emitStandardClassFields; + if (willTransformStaticElementsOfDecoratedClass || willTransformPrivateElementsOrClassStaticBlocks) { + for (const member of node.members) { + if (willTransformStaticElementsOfDecoratedClass && classElementOrClassElementParameterIsDecorated( + /*useLegacyDecorators*/ + false, + member, + node + )) { + return firstOrUndefined(getDecorators(node)) ?? node; + } else if (willTransformPrivateElementsOrClassStaticBlocks) { + if (isClassStaticBlockDeclaration(member)) { + return member; + } else if (isStatic(member)) { + if (isPrivateIdentifierClassElementDeclaration(member) || willTransformInitializers && isInitializedProperty(member)) { + return member; + } + } + } + } + } + } + function checkClassExpressionExternalHelpers(node) { + if (node.name) return; + const parent = walkUpOuterExpressions(node); + if (!isNamedEvaluationSource(parent)) return; + const willTransformESDecorators = !legacyDecorators && languageVersion < LanguageFeatureMinimumTarget.ClassAndClassElementDecorators; + let location; + if (willTransformESDecorators && classOrConstructorParameterIsDecorated( + /*useLegacyDecorators*/ + false, + node + )) { + location = firstOrUndefined(getDecorators(node)) ?? node; + } else { + location = getFirstTransformableStaticClassElement(node); + } + if (location) { + checkExternalEmitHelpers(location, 4194304 /* SetFunctionName */); + if ((isPropertyAssignment(parent) || isPropertyDeclaration(parent) || isBindingElement(parent)) && isComputedPropertyName(parent.name)) { + checkExternalEmitHelpers(location, 8388608 /* PropKey */); + } + } + } + function checkClassExpression(node) { + checkClassLikeDeclaration(node); + checkNodeDeferred(node); + checkClassExpressionExternalHelpers(node); + return getTypeOfSymbol(getSymbolOfDeclaration(node)); + } + function checkClassExpressionDeferred(node) { + forEach(node.members, checkSourceElement); + registerForUnusedIdentifiersCheck(node); + } + function checkClassDeclaration(node) { + const firstDecorator = find(node.modifiers, isDecorator); + if (legacyDecorators && firstDecorator && some(node.members, (p) => hasStaticModifier(p) && isPrivateIdentifierClassElementDeclaration(p))) { + grammarErrorOnNode(firstDecorator, Diagnostics.Class_decorators_can_t_be_used_with_static_private_identifier_Consider_removing_the_experimental_decorator); + } + if (!node.name && !hasSyntacticModifier(node, 2048 /* Default */)) { + grammarErrorOnFirstToken(node, Diagnostics.A_class_declaration_without_the_default_modifier_must_have_a_name); + } + checkClassLikeDeclaration(node); + forEach(node.members, checkSourceElement); + registerForUnusedIdentifiersCheck(node); + } + function checkClassLikeDeclaration(node) { + checkGrammarClassLikeDeclaration(node); + checkDecorators(node); + checkCollisionsForDeclarationName(node, node.name); + checkTypeParameters(getEffectiveTypeParameterDeclarations(node)); + checkExportsOnMergedDeclarations(node); + const symbol = getSymbolOfDeclaration(node); + const type = getDeclaredTypeOfSymbol(symbol); + const typeWithThis = getTypeWithThisArgument(type); + const staticType = getTypeOfSymbol(symbol); + checkTypeParameterListsIdentical(symbol); + checkFunctionOrConstructorSymbol(symbol); + checkClassForDuplicateDeclarations(node); + const nodeInAmbientContext = !!(node.flags & 33554432 /* Ambient */); + if (!nodeInAmbientContext) { + checkClassForStaticPropertyNameConflicts(node); + } + const baseTypeNode = getEffectiveBaseTypeNode(node); + if (baseTypeNode) { + forEach(baseTypeNode.typeArguments, checkSourceElement); + if (languageVersion < LanguageFeatureMinimumTarget.Classes) { + checkExternalEmitHelpers(baseTypeNode.parent, 1 /* Extends */); + } + const extendsNode = getClassExtendsHeritageElement(node); + if (extendsNode && extendsNode !== baseTypeNode) { + checkExpression(extendsNode.expression); + } + const baseTypes = getBaseTypes(type); + if (baseTypes.length) { + addLazyDiagnostic(() => { + const baseType = baseTypes[0]; + const baseConstructorType = getBaseConstructorTypeOfClass(type); + const staticBaseType = getApparentType(baseConstructorType); + checkBaseTypeAccessibility(staticBaseType, baseTypeNode); + checkSourceElement(baseTypeNode.expression); + if (some(baseTypeNode.typeArguments)) { + forEach(baseTypeNode.typeArguments, checkSourceElement); + for (const constructor of getConstructorsForTypeArguments(staticBaseType, baseTypeNode.typeArguments, baseTypeNode)) { + if (!checkTypeArgumentConstraints(baseTypeNode, constructor.typeParameters)) { + break; + } + } + } + const baseWithThis = getTypeWithThisArgument(baseType, type.thisType); + if (!checkTypeAssignableTo( + typeWithThis, + baseWithThis, + /*errorNode*/ + void 0 + )) { + issueMemberSpecificError(node, typeWithThis, baseWithThis, Diagnostics.Class_0_incorrectly_extends_base_class_1); + } else { + checkTypeAssignableTo(staticType, getTypeWithoutSignatures(staticBaseType), node.name || node, Diagnostics.Class_static_side_0_incorrectly_extends_base_class_static_side_1); + } + if (baseConstructorType.flags & 8650752 /* TypeVariable */) { + if (!isMixinConstructorType(staticType)) { + error(node.name || node, Diagnostics.A_mixin_class_must_have_a_constructor_with_a_single_rest_parameter_of_type_any); + } else { + const constructSignatures = getSignaturesOfType(baseConstructorType, 1 /* Construct */); + if (constructSignatures.some((signature) => signature.flags & 4 /* Abstract */) && !hasSyntacticModifier(node, 64 /* Abstract */)) { + error(node.name || node, Diagnostics.A_mixin_class_that_extends_from_a_type_variable_containing_an_abstract_construct_signature_must_also_be_declared_abstract); + } + } + } + if (!(staticBaseType.symbol && staticBaseType.symbol.flags & 32 /* Class */) && !(baseConstructorType.flags & 8650752 /* TypeVariable */)) { + const constructors = getInstantiatedConstructorsForTypeArguments(staticBaseType, baseTypeNode.typeArguments, baseTypeNode); + if (forEach(constructors, (sig) => !isJSConstructor(sig.declaration) && !isTypeIdenticalTo(getReturnTypeOfSignature(sig), baseType))) { + error(baseTypeNode.expression, Diagnostics.Base_constructors_must_all_have_the_same_return_type); + } + } + checkKindsOfPropertyMemberOverrides(type, baseType); + }); + } + } + checkMembersForOverrideModifier(node, type, typeWithThis, staticType); + const implementedTypeNodes = getEffectiveImplementsTypeNodes(node); + if (implementedTypeNodes) { + for (const typeRefNode of implementedTypeNodes) { + if (!isEntityNameExpression(typeRefNode.expression) || isOptionalChain(typeRefNode.expression)) { + error(typeRefNode.expression, Diagnostics.A_class_can_only_implement_an_identifier_Slashqualified_name_with_optional_type_arguments); + } + checkTypeReferenceNode(typeRefNode); + addLazyDiagnostic(createImplementsDiagnostics(typeRefNode)); + } + } + addLazyDiagnostic(() => { + checkIndexConstraints(type, symbol); + checkIndexConstraints( + staticType, + symbol, + /*isStaticIndex*/ + true + ); + checkTypeForDuplicateIndexSignatures(node); + checkPropertyInitialization(node); + }); + function createImplementsDiagnostics(typeRefNode) { + return () => { + const t = getReducedType(getTypeFromTypeNode(typeRefNode)); + if (!isErrorType(t)) { + if (isValidBaseType(t)) { + const genericDiag = t.symbol && t.symbol.flags & 32 /* Class */ ? Diagnostics.Class_0_incorrectly_implements_class_1_Did_you_mean_to_extend_1_and_inherit_its_members_as_a_subclass : Diagnostics.Class_0_incorrectly_implements_interface_1; + const baseWithThis = getTypeWithThisArgument(t, type.thisType); + if (!checkTypeAssignableTo( + typeWithThis, + baseWithThis, + /*errorNode*/ + void 0 + )) { + issueMemberSpecificError(node, typeWithThis, baseWithThis, genericDiag); + } + } else { + error(typeRefNode, Diagnostics.A_class_can_only_implement_an_object_type_or_intersection_of_object_types_with_statically_known_members); + } + } + }; + } + } + function checkMembersForOverrideModifier(node, type, typeWithThis, staticType) { + const baseTypeNode = getEffectiveBaseTypeNode(node); + const baseTypes = baseTypeNode && getBaseTypes(type); + const baseWithThis = (baseTypes == null ? void 0 : baseTypes.length) ? getTypeWithThisArgument(first(baseTypes), type.thisType) : void 0; + const baseStaticType = getBaseConstructorTypeOfClass(type); + for (const member of node.members) { + if (hasAmbientModifier(member)) { + continue; + } + if (isConstructorDeclaration(member)) { + forEach(member.parameters, (param) => { + if (isParameterPropertyDeclaration(param, member)) { + checkExistingMemberForOverrideModifier( + node, + staticType, + baseStaticType, + baseWithThis, + type, + typeWithThis, + param, + /*memberIsParameterProperty*/ + true + ); + } + }); + } + checkExistingMemberForOverrideModifier( + node, + staticType, + baseStaticType, + baseWithThis, + type, + typeWithThis, + member, + /*memberIsParameterProperty*/ + false + ); + } + } + function checkExistingMemberForOverrideModifier(node, staticType, baseStaticType, baseWithThis, type, typeWithThis, member, memberIsParameterProperty, reportErrors2 = true) { + const declaredProp = member.name && getSymbolAtLocation(member.name) || getSymbolAtLocation(member); + if (!declaredProp) { + return 0 /* Ok */; + } + return checkMemberForOverrideModifier( + node, + staticType, + baseStaticType, + baseWithThis, + type, + typeWithThis, + hasOverrideModifier(member), + hasAbstractModifier(member), + isStatic(member), + memberIsParameterProperty, + declaredProp, + reportErrors2 ? member : void 0 + ); + } + function checkMemberForOverrideModifier(node, staticType, baseStaticType, baseWithThis, type, typeWithThis, memberHasOverrideModifier, memberHasAbstractModifier, memberIsStatic, memberIsParameterProperty, member, errorNode) { + const isJs = isInJSFile(node); + const nodeInAmbientContext = !!(node.flags & 33554432 /* Ambient */); + if (baseWithThis && (memberHasOverrideModifier || compilerOptions.noImplicitOverride)) { + const thisType = memberIsStatic ? staticType : typeWithThis; + const baseType = memberIsStatic ? baseStaticType : baseWithThis; + const prop = getPropertyOfType(thisType, member.escapedName); + const baseProp = getPropertyOfType(baseType, member.escapedName); + const baseClassName = typeToString(baseWithThis); + if (prop && !baseProp && memberHasOverrideModifier) { + if (errorNode) { + const suggestion = getSuggestedSymbolForNonexistentClassMember(symbolName(member), baseType); + suggestion ? error( + errorNode, + isJs ? Diagnostics.This_member_cannot_have_a_JSDoc_comment_with_an_override_tag_because_it_is_not_declared_in_the_base_class_0_Did_you_mean_1 : Diagnostics.This_member_cannot_have_an_override_modifier_because_it_is_not_declared_in_the_base_class_0_Did_you_mean_1, + baseClassName, + symbolToString(suggestion) + ) : error( + errorNode, + isJs ? Diagnostics.This_member_cannot_have_a_JSDoc_comment_with_an_override_tag_because_it_is_not_declared_in_the_base_class_0 : Diagnostics.This_member_cannot_have_an_override_modifier_because_it_is_not_declared_in_the_base_class_0, + baseClassName + ); + } + return 2 /* HasInvalidOverride */; + } else if (prop && (baseProp == null ? void 0 : baseProp.declarations) && compilerOptions.noImplicitOverride && !nodeInAmbientContext) { + const baseHasAbstract = some(baseProp.declarations, hasAbstractModifier); + if (memberHasOverrideModifier) { + return 0 /* Ok */; + } + if (!baseHasAbstract) { + if (errorNode) { + const diag2 = memberIsParameterProperty ? isJs ? Diagnostics.This_parameter_property_must_have_a_JSDoc_comment_with_an_override_tag_because_it_overrides_a_member_in_the_base_class_0 : Diagnostics.This_parameter_property_must_have_an_override_modifier_because_it_overrides_a_member_in_base_class_0 : isJs ? Diagnostics.This_member_must_have_a_JSDoc_comment_with_an_override_tag_because_it_overrides_a_member_in_the_base_class_0 : Diagnostics.This_member_must_have_an_override_modifier_because_it_overrides_a_member_in_the_base_class_0; + error(errorNode, diag2, baseClassName); + } + return 1 /* NeedsOverride */; + } else if (memberHasAbstractModifier && baseHasAbstract) { + if (errorNode) { + error(errorNode, Diagnostics.This_member_must_have_an_override_modifier_because_it_overrides_an_abstract_method_that_is_declared_in_the_base_class_0, baseClassName); + } + return 1 /* NeedsOverride */; + } + } + } else if (memberHasOverrideModifier) { + if (errorNode) { + const className = typeToString(type); + error( + errorNode, + isJs ? Diagnostics.This_member_cannot_have_a_JSDoc_comment_with_an_override_tag_because_its_containing_class_0_does_not_extend_another_class : Diagnostics.This_member_cannot_have_an_override_modifier_because_its_containing_class_0_does_not_extend_another_class, + className + ); + } + return 2 /* HasInvalidOverride */; + } + return 0 /* Ok */; + } + function issueMemberSpecificError(node, typeWithThis, baseWithThis, broadDiag) { + let issuedMemberError = false; + for (const member of node.members) { + if (isStatic(member)) { + continue; + } + const declaredProp = member.name && getSymbolAtLocation(member.name) || getSymbolAtLocation(member); + if (declaredProp) { + const prop = getPropertyOfType(typeWithThis, declaredProp.escapedName); + const baseProp = getPropertyOfType(baseWithThis, declaredProp.escapedName); + if (prop && baseProp) { + const rootChain = () => chainDiagnosticMessages( + /*details*/ + void 0, + Diagnostics.Property_0_in_type_1_is_not_assignable_to_the_same_property_in_base_type_2, + symbolToString(declaredProp), + typeToString(typeWithThis), + typeToString(baseWithThis) + ); + if (!checkTypeAssignableTo( + getTypeOfSymbol(prop), + getTypeOfSymbol(baseProp), + member.name || member, + /*headMessage*/ + void 0, + rootChain + )) { + issuedMemberError = true; + } + } + } + } + if (!issuedMemberError) { + checkTypeAssignableTo(typeWithThis, baseWithThis, node.name || node, broadDiag); + } + } + function checkBaseTypeAccessibility(type, node) { + const signatures = getSignaturesOfType(type, 1 /* Construct */); + if (signatures.length) { + const declaration = signatures[0].declaration; + if (declaration && hasEffectiveModifier(declaration, 2 /* Private */)) { + const typeClassDeclaration = getClassLikeDeclarationOfSymbol(type.symbol); + if (!isNodeWithinClass(node, typeClassDeclaration)) { + error(node, Diagnostics.Cannot_extend_a_class_0_Class_constructor_is_marked_as_private, getFullyQualifiedName(type.symbol)); + } + } + } + } + function getMemberOverrideModifierStatus(node, member, memberSymbol) { + if (!member.name) { + return 0 /* Ok */; + } + const classSymbol = getSymbolOfDeclaration(node); + const type = getDeclaredTypeOfSymbol(classSymbol); + const typeWithThis = getTypeWithThisArgument(type); + const staticType = getTypeOfSymbol(classSymbol); + const baseTypeNode = getEffectiveBaseTypeNode(node); + const baseTypes = baseTypeNode && getBaseTypes(type); + const baseWithThis = (baseTypes == null ? void 0 : baseTypes.length) ? getTypeWithThisArgument(first(baseTypes), type.thisType) : void 0; + const baseStaticType = getBaseConstructorTypeOfClass(type); + const memberHasOverrideModifier = member.parent ? hasOverrideModifier(member) : hasSyntacticModifier(member, 16 /* Override */); + return checkMemberForOverrideModifier( + node, + staticType, + baseStaticType, + baseWithThis, + type, + typeWithThis, + memberHasOverrideModifier, + hasAbstractModifier(member), + isStatic(member), + /*memberIsParameterProperty*/ + false, + memberSymbol + ); + } + function getTargetSymbol(s) { + return getCheckFlags(s) & 1 /* Instantiated */ ? s.links.target : s; + } + function getClassOrInterfaceDeclarationsOfSymbol(symbol) { + return filter(symbol.declarations, (d) => d.kind === 263 /* ClassDeclaration */ || d.kind === 264 /* InterfaceDeclaration */); + } + function checkKindsOfPropertyMemberOverrides(type, baseType) { + var _a, _b, _c, _d, _e; + const baseProperties = getPropertiesOfType(baseType); + const notImplementedInfo = /* @__PURE__ */ new Map(); + basePropertyCheck: for (const baseProperty of baseProperties) { + const base = getTargetSymbol(baseProperty); + if (base.flags & 4194304 /* Prototype */) { + continue; + } + const baseSymbol = getPropertyOfObjectType(type, base.escapedName); + if (!baseSymbol) { + continue; + } + const derived = getTargetSymbol(baseSymbol); + const baseDeclarationFlags = getDeclarationModifierFlagsFromSymbol(base); + Debug.assert(!!derived, "derived should point to something, even if it is the base class' declaration."); + if (derived === base) { + const derivedClassDecl = getClassLikeDeclarationOfSymbol(type.symbol); + if (baseDeclarationFlags & 64 /* Abstract */ && (!derivedClassDecl || !hasSyntacticModifier(derivedClassDecl, 64 /* Abstract */))) { + for (const otherBaseType of getBaseTypes(type)) { + if (otherBaseType === baseType) continue; + const baseSymbol2 = getPropertyOfObjectType(otherBaseType, base.escapedName); + const derivedElsewhere = baseSymbol2 && getTargetSymbol(baseSymbol2); + if (derivedElsewhere && derivedElsewhere !== base) { + continue basePropertyCheck; + } + } + const baseTypeName = typeToString(baseType); + const typeName = typeToString(type); + const basePropertyName = symbolToString(baseProperty); + const missedProperties = append((_a = notImplementedInfo.get(derivedClassDecl)) == null ? void 0 : _a.missedProperties, basePropertyName); + notImplementedInfo.set(derivedClassDecl, { baseTypeName, typeName, missedProperties }); + } + } else { + const derivedDeclarationFlags = getDeclarationModifierFlagsFromSymbol(derived); + if (baseDeclarationFlags & 2 /* Private */ || derivedDeclarationFlags & 2 /* Private */) { + continue; + } + let errorMessage; + const basePropertyFlags = base.flags & 98308 /* PropertyOrAccessor */; + const derivedPropertyFlags = derived.flags & 98308 /* PropertyOrAccessor */; + if (basePropertyFlags && derivedPropertyFlags) { + if ((getCheckFlags(base) & 6 /* Synthetic */ ? (_b = base.declarations) == null ? void 0 : _b.some((d) => isPropertyAbstractOrInterface(d, baseDeclarationFlags)) : (_c = base.declarations) == null ? void 0 : _c.every((d) => isPropertyAbstractOrInterface(d, baseDeclarationFlags))) || getCheckFlags(base) & 262144 /* Mapped */ || derived.valueDeclaration && isBinaryExpression(derived.valueDeclaration)) { + continue; + } + const overriddenInstanceProperty = basePropertyFlags !== 4 /* Property */ && derivedPropertyFlags === 4 /* Property */; + const overriddenInstanceAccessor = basePropertyFlags === 4 /* Property */ && derivedPropertyFlags !== 4 /* Property */; + if (overriddenInstanceProperty || overriddenInstanceAccessor) { + const errorMessage2 = overriddenInstanceProperty ? Diagnostics._0_is_defined_as_an_accessor_in_class_1_but_is_overridden_here_in_2_as_an_instance_property : Diagnostics._0_is_defined_as_a_property_in_class_1_but_is_overridden_here_in_2_as_an_accessor; + error(getNameOfDeclaration(derived.valueDeclaration) || derived.valueDeclaration, errorMessage2, symbolToString(base), typeToString(baseType), typeToString(type)); + } else if (useDefineForClassFields) { + const uninitialized = (_d = derived.declarations) == null ? void 0 : _d.find((d) => d.kind === 172 /* PropertyDeclaration */ && !d.initializer); + if (uninitialized && !(derived.flags & 33554432 /* Transient */) && !(baseDeclarationFlags & 64 /* Abstract */) && !(derivedDeclarationFlags & 64 /* Abstract */) && !((_e = derived.declarations) == null ? void 0 : _e.some((d) => !!(d.flags & 33554432 /* Ambient */)))) { + const constructor = findConstructorDeclaration(getClassLikeDeclarationOfSymbol(type.symbol)); + const propName = uninitialized.name; + if (uninitialized.exclamationToken || !constructor || !isIdentifier(propName) || !strictNullChecks || !isPropertyInitializedInConstructor(propName, type, constructor)) { + const errorMessage2 = Diagnostics.Property_0_will_overwrite_the_base_property_in_1_If_this_is_intentional_add_an_initializer_Otherwise_add_a_declare_modifier_or_remove_the_redundant_declaration; + error(getNameOfDeclaration(derived.valueDeclaration) || derived.valueDeclaration, errorMessage2, symbolToString(base), typeToString(baseType)); + } + } + } + continue; + } else if (isPrototypeProperty(base)) { + if (isPrototypeProperty(derived) || derived.flags & 4 /* Property */) { + continue; + } else { + Debug.assert(!!(derived.flags & 98304 /* Accessor */)); + errorMessage = Diagnostics.Class_0_defines_instance_member_function_1_but_extended_class_2_defines_it_as_instance_member_accessor; + } + } else if (base.flags & 98304 /* Accessor */) { + errorMessage = Diagnostics.Class_0_defines_instance_member_accessor_1_but_extended_class_2_defines_it_as_instance_member_function; + } else { + errorMessage = Diagnostics.Class_0_defines_instance_member_property_1_but_extended_class_2_defines_it_as_instance_member_function; + } + error(getNameOfDeclaration(derived.valueDeclaration) || derived.valueDeclaration, errorMessage, typeToString(baseType), symbolToString(base), typeToString(type)); + } + } + for (const [errorNode, memberInfo] of notImplementedInfo) { + if (length(memberInfo.missedProperties) === 1) { + if (isClassExpression(errorNode)) { + error(errorNode, Diagnostics.Non_abstract_class_expression_does_not_implement_inherited_abstract_member_0_from_class_1, first(memberInfo.missedProperties), memberInfo.baseTypeName); + } else { + error(errorNode, Diagnostics.Non_abstract_class_0_does_not_implement_inherited_abstract_member_1_from_class_2, memberInfo.typeName, first(memberInfo.missedProperties), memberInfo.baseTypeName); + } + } else if (length(memberInfo.missedProperties) > 5) { + const missedProperties = map(memberInfo.missedProperties.slice(0, 4), (prop) => `'${prop}'`).join(", "); + const remainingMissedProperties = length(memberInfo.missedProperties) - 4; + if (isClassExpression(errorNode)) { + error(errorNode, Diagnostics.Non_abstract_class_expression_is_missing_implementations_for_the_following_members_of_0_Colon_1_and_2_more, memberInfo.baseTypeName, missedProperties, remainingMissedProperties); + } else { + error(errorNode, Diagnostics.Non_abstract_class_0_is_missing_implementations_for_the_following_members_of_1_Colon_2_and_3_more, memberInfo.typeName, memberInfo.baseTypeName, missedProperties, remainingMissedProperties); + } + } else { + const missedProperties = map(memberInfo.missedProperties, (prop) => `'${prop}'`).join(", "); + if (isClassExpression(errorNode)) { + error(errorNode, Diagnostics.Non_abstract_class_expression_is_missing_implementations_for_the_following_members_of_0_Colon_1, memberInfo.baseTypeName, missedProperties); + } else { + error(errorNode, Diagnostics.Non_abstract_class_0_is_missing_implementations_for_the_following_members_of_1_Colon_2, memberInfo.typeName, memberInfo.baseTypeName, missedProperties); + } + } + } + } + function isPropertyAbstractOrInterface(declaration, baseDeclarationFlags) { + return baseDeclarationFlags & 64 /* Abstract */ && (!isPropertyDeclaration(declaration) || !declaration.initializer) || isInterfaceDeclaration(declaration.parent); + } + function getNonInheritedProperties(type, baseTypes, properties) { + if (!length(baseTypes)) { + return properties; + } + const seen = /* @__PURE__ */ new Map(); + forEach(properties, (p) => { + seen.set(p.escapedName, p); + }); + for (const base of baseTypes) { + const properties2 = getPropertiesOfType(getTypeWithThisArgument(base, type.thisType)); + for (const prop of properties2) { + const existing = seen.get(prop.escapedName); + if (existing && prop.parent === existing.parent) { + seen.delete(prop.escapedName); + } + } + } + return arrayFrom(seen.values()); + } + function checkInheritedPropertiesAreIdentical(type, typeNode) { + const baseTypes = getBaseTypes(type); + if (baseTypes.length < 2) { + return true; + } + const seen = /* @__PURE__ */ new Map(); + forEach(resolveDeclaredMembers(type).declaredProperties, (p) => { + seen.set(p.escapedName, { prop: p, containingType: type }); + }); + let ok = true; + for (const base of baseTypes) { + const properties = getPropertiesOfType(getTypeWithThisArgument(base, type.thisType)); + for (const prop of properties) { + const existing = seen.get(prop.escapedName); + if (!existing) { + seen.set(prop.escapedName, { prop, containingType: base }); + } else { + const isInheritedProperty = existing.containingType !== type; + if (isInheritedProperty && !isPropertyIdenticalTo(existing.prop, prop)) { + ok = false; + const typeName1 = typeToString(existing.containingType); + const typeName2 = typeToString(base); + let errorInfo = chainDiagnosticMessages( + /*details*/ + void 0, + Diagnostics.Named_property_0_of_types_1_and_2_are_not_identical, + symbolToString(prop), + typeName1, + typeName2 + ); + errorInfo = chainDiagnosticMessages(errorInfo, Diagnostics.Interface_0_cannot_simultaneously_extend_types_1_and_2, typeToString(type), typeName1, typeName2); + diagnostics.add(createDiagnosticForNodeFromMessageChain(getSourceFileOfNode(typeNode), typeNode, errorInfo)); + } + } + } + } + return ok; + } + function checkPropertyInitialization(node) { + if (!strictNullChecks || !strictPropertyInitialization || node.flags & 33554432 /* Ambient */) { + return; + } + const constructor = findConstructorDeclaration(node); + for (const member of node.members) { + if (getEffectiveModifierFlags(member) & 128 /* Ambient */) { + continue; + } + if (!isStatic(member) && isPropertyWithoutInitializer(member)) { + const propName = member.name; + if (isIdentifier(propName) || isPrivateIdentifier(propName) || isComputedPropertyName(propName)) { + const type = getTypeOfSymbol(getSymbolOfDeclaration(member)); + if (!(type.flags & 3 /* AnyOrUnknown */ || containsUndefinedType(type))) { + if (!constructor || !isPropertyInitializedInConstructor(propName, type, constructor)) { + error(member.name, Diagnostics.Property_0_has_no_initializer_and_is_not_definitely_assigned_in_the_constructor, declarationNameToString(propName)); + } + } + } + } + } + } + function isPropertyWithoutInitializer(node) { + return node.kind === 172 /* PropertyDeclaration */ && !hasAbstractModifier(node) && !node.exclamationToken && !node.initializer; + } + function isPropertyInitializedInStaticBlocks(propName, propType, staticBlocks, startPos, endPos) { + for (const staticBlock of staticBlocks) { + if (staticBlock.pos >= startPos && staticBlock.pos <= endPos) { + const reference = factory.createPropertyAccessExpression(factory.createThis(), propName); + setParent(reference.expression, reference); + setParent(reference, staticBlock); + reference.flowNode = staticBlock.returnFlowNode; + const flowType = getFlowTypeOfReference(reference, propType, getOptionalType(propType)); + if (!containsUndefinedType(flowType)) { + return true; + } + } + } + return false; + } + function isPropertyInitializedInConstructor(propName, propType, constructor) { + const reference = isComputedPropertyName(propName) ? factory.createElementAccessExpression(factory.createThis(), propName.expression) : factory.createPropertyAccessExpression(factory.createThis(), propName); + setParent(reference.expression, reference); + setParent(reference, constructor); + reference.flowNode = constructor.returnFlowNode; + const flowType = getFlowTypeOfReference(reference, propType, getOptionalType(propType)); + return !containsUndefinedType(flowType); + } + function checkInterfaceDeclaration(node) { + if (!checkGrammarModifiers(node)) checkGrammarInterfaceDeclaration(node); + if (!allowBlockDeclarations(node.parent)) { + grammarErrorOnNode(node, Diagnostics._0_declarations_can_only_be_declared_inside_a_block, "interface"); + } + checkTypeParameters(node.typeParameters); + addLazyDiagnostic(() => { + checkTypeNameIsReserved(node.name, Diagnostics.Interface_name_cannot_be_0); + checkExportsOnMergedDeclarations(node); + const symbol = getSymbolOfDeclaration(node); + checkTypeParameterListsIdentical(symbol); + const firstInterfaceDecl = getDeclarationOfKind(symbol, 264 /* InterfaceDeclaration */); + if (node === firstInterfaceDecl) { + const type = getDeclaredTypeOfSymbol(symbol); + const typeWithThis = getTypeWithThisArgument(type); + if (checkInheritedPropertiesAreIdentical(type, node.name)) { + for (const baseType of getBaseTypes(type)) { + checkTypeAssignableTo(typeWithThis, getTypeWithThisArgument(baseType, type.thisType), node.name, Diagnostics.Interface_0_incorrectly_extends_interface_1); + } + checkIndexConstraints(type, symbol); + } + } + checkObjectTypeForDuplicateDeclarations(node); + }); + forEach(getInterfaceBaseTypeNodes(node), (heritageElement) => { + if (!isEntityNameExpression(heritageElement.expression) || isOptionalChain(heritageElement.expression)) { + error(heritageElement.expression, Diagnostics.An_interface_can_only_extend_an_identifier_Slashqualified_name_with_optional_type_arguments); + } + checkTypeReferenceNode(heritageElement); + }); + forEach(node.members, checkSourceElement); + addLazyDiagnostic(() => { + checkTypeForDuplicateIndexSignatures(node); + registerForUnusedIdentifiersCheck(node); + }); + } + function checkTypeAliasDeclaration(node) { + checkGrammarModifiers(node); + checkTypeNameIsReserved(node.name, Diagnostics.Type_alias_name_cannot_be_0); + if (!allowBlockDeclarations(node.parent)) { + grammarErrorOnNode(node, Diagnostics._0_declarations_can_only_be_declared_inside_a_block, "type"); + } + checkExportsOnMergedDeclarations(node); + checkTypeParameters(node.typeParameters); + if (node.type.kind === 141 /* IntrinsicKeyword */) { + const typeParameterCount = length(node.typeParameters); + const valid = typeParameterCount === 0 ? node.name.escapedText === "BuiltinIteratorReturn" : typeParameterCount === 1 && intrinsicTypeKinds.has(node.name.escapedText); + if (!valid) { + error(node.type, Diagnostics.The_intrinsic_keyword_can_only_be_used_to_declare_compiler_provided_intrinsic_types); + } + } else { + checkSourceElement(node.type); + registerForUnusedIdentifiersCheck(node); + } + } + function computeEnumMemberValues(node) { + const nodeLinks2 = getNodeLinks(node); + if (!(nodeLinks2.flags & 1024 /* EnumValuesComputed */)) { + nodeLinks2.flags |= 1024 /* EnumValuesComputed */; + let autoValue = 0; + let previous; + for (const member of node.members) { + const result = computeEnumMemberValue(member, autoValue, previous); + getNodeLinks(member).enumMemberValue = result; + autoValue = typeof result.value === "number" ? result.value + 1 : void 0; + previous = member; + } + } + } + function computeEnumMemberValue(member, autoValue, previous) { + if (isComputedNonLiteralName(member.name)) { + error(member.name, Diagnostics.Computed_property_names_are_not_allowed_in_enums); + } else { + const text = getTextOfPropertyName(member.name); + if (isNumericLiteralName(text) && !isInfinityOrNaNString(text)) { + error(member.name, Diagnostics.An_enum_member_cannot_have_a_numeric_name); + } + } + if (member.initializer) { + return computeConstantEnumMemberValue(member); + } + if (member.parent.flags & 33554432 /* Ambient */ && !isEnumConst(member.parent)) { + return evaluatorResult( + /*value*/ + void 0 + ); + } + if (autoValue === void 0) { + error(member.name, Diagnostics.Enum_member_must_have_initializer); + return evaluatorResult( + /*value*/ + void 0 + ); + } + if (getIsolatedModules(compilerOptions) && (previous == null ? void 0 : previous.initializer)) { + const prevValue = getEnumMemberValue(previous); + if (!(typeof prevValue.value === "number" && !prevValue.resolvedOtherFiles)) { + error( + member.name, + Diagnostics.Enum_member_following_a_non_literal_numeric_member_must_have_an_initializer_when_isolatedModules_is_enabled + ); + } + } + return evaluatorResult(autoValue); + } + function computeConstantEnumMemberValue(member) { + const isConstEnum = isEnumConst(member.parent); + const initializer = member.initializer; + const result = evaluate(initializer, member); + if (result.value !== void 0) { + if (isConstEnum && typeof result.value === "number" && !isFinite(result.value)) { + error( + initializer, + isNaN(result.value) ? Diagnostics.const_enum_member_initializer_was_evaluated_to_disallowed_value_NaN : Diagnostics.const_enum_member_initializer_was_evaluated_to_a_non_finite_value + ); + } else if (getIsolatedModules(compilerOptions) && typeof result.value === "string" && !result.isSyntacticallyString) { + error( + initializer, + Diagnostics._0_has_a_string_type_but_must_have_syntactically_recognizable_string_syntax_when_isolatedModules_is_enabled, + `${idText(member.parent.name)}.${getTextOfPropertyName(member.name)}` + ); + } + } else if (isConstEnum) { + error(initializer, Diagnostics.const_enum_member_initializers_must_be_constant_expressions); + } else if (member.parent.flags & 33554432 /* Ambient */) { + error(initializer, Diagnostics.In_ambient_enum_declarations_member_initializer_must_be_constant_expression); + } else { + checkTypeAssignableTo(checkExpression(initializer), numberType, initializer, Diagnostics.Type_0_is_not_assignable_to_type_1_as_required_for_computed_enum_member_values); + } + return result; + } + function evaluateEntityNameExpression(expr, location) { + const symbol = resolveEntityName( + expr, + 111551 /* Value */, + /*ignoreErrors*/ + true + ); + if (!symbol) return evaluatorResult( + /*value*/ + void 0 + ); + if (expr.kind === 80 /* Identifier */) { + const identifier = expr; + if (isInfinityOrNaNString(identifier.escapedText) && symbol === getGlobalSymbol( + identifier.escapedText, + 111551 /* Value */, + /*diagnostic*/ + void 0 + )) { + return evaluatorResult( + +identifier.escapedText, + /*isSyntacticallyString*/ + false + ); + } + } + if (symbol.flags & 8 /* EnumMember */) { + return location ? evaluateEnumMember(expr, symbol, location) : getEnumMemberValue(symbol.valueDeclaration); + } + if (isConstantVariable(symbol)) { + const declaration = symbol.valueDeclaration; + if (declaration && isVariableDeclaration(declaration) && !declaration.type && declaration.initializer && (!location || declaration !== location && isBlockScopedNameDeclaredBeforeUse(declaration, location))) { + const result = evaluate(declaration.initializer, declaration); + if (location && getSourceFileOfNode(location) !== getSourceFileOfNode(declaration)) { + return evaluatorResult( + result.value, + /*isSyntacticallyString*/ + false, + /*resolvedOtherFiles*/ + true, + /*hasExternalReferences*/ + true + ); + } + return evaluatorResult( + result.value, + result.isSyntacticallyString, + result.resolvedOtherFiles, + /*hasExternalReferences*/ + true + ); + } + } + return evaluatorResult( + /*value*/ + void 0 + ); + } + function evaluateElementAccessExpression(expr, location) { + const root = expr.expression; + if (isEntityNameExpression(root) && isStringLiteralLike(expr.argumentExpression)) { + const rootSymbol = resolveEntityName( + root, + 111551 /* Value */, + /*ignoreErrors*/ + true + ); + if (rootSymbol && rootSymbol.flags & 384 /* Enum */) { + const name = escapeLeadingUnderscores(expr.argumentExpression.text); + const member = rootSymbol.exports.get(name); + if (member) { + Debug.assert(getSourceFileOfNode(member.valueDeclaration) === getSourceFileOfNode(rootSymbol.valueDeclaration)); + return location ? evaluateEnumMember(expr, member, location) : getEnumMemberValue(member.valueDeclaration); + } + } + } + return evaluatorResult( + /*value*/ + void 0 + ); + } + function evaluateEnumMember(expr, symbol, location) { + const declaration = symbol.valueDeclaration; + if (!declaration || declaration === location) { + error(expr, Diagnostics.Property_0_is_used_before_being_assigned, symbolToString(symbol)); + return evaluatorResult( + /*value*/ + void 0 + ); + } + if (!isBlockScopedNameDeclaredBeforeUse(declaration, location)) { + error(expr, Diagnostics.A_member_initializer_in_a_enum_declaration_cannot_reference_members_declared_after_it_including_members_defined_in_other_enums); + return evaluatorResult( + /*value*/ + 0 + ); + } + const value = getEnumMemberValue(declaration); + if (location.parent !== declaration.parent) { + return evaluatorResult( + value.value, + value.isSyntacticallyString, + value.resolvedOtherFiles, + /*hasExternalReferences*/ + true + ); + } + return value; + } + function checkEnumDeclaration(node) { + addLazyDiagnostic(() => checkEnumDeclarationWorker(node)); + } + function checkEnumDeclarationWorker(node) { + checkGrammarModifiers(node); + checkCollisionsForDeclarationName(node, node.name); + checkExportsOnMergedDeclarations(node); + node.members.forEach(checkEnumMember); + computeEnumMemberValues(node); + const enumSymbol = getSymbolOfDeclaration(node); + const firstDeclaration = getDeclarationOfKind(enumSymbol, node.kind); + if (node === firstDeclaration) { + if (enumSymbol.declarations && enumSymbol.declarations.length > 1) { + const enumIsConst = isEnumConst(node); + forEach(enumSymbol.declarations, (decl) => { + if (isEnumDeclaration(decl) && isEnumConst(decl) !== enumIsConst) { + error(getNameOfDeclaration(decl), Diagnostics.Enum_declarations_must_all_be_const_or_non_const); + } + }); + } + let seenEnumMissingInitialInitializer = false; + forEach(enumSymbol.declarations, (declaration) => { + if (declaration.kind !== 266 /* EnumDeclaration */) { + return false; + } + const enumDeclaration = declaration; + if (!enumDeclaration.members.length) { + return false; + } + const firstEnumMember = enumDeclaration.members[0]; + if (!firstEnumMember.initializer) { + if (seenEnumMissingInitialInitializer) { + error(firstEnumMember.name, Diagnostics.In_an_enum_with_multiple_declarations_only_one_declaration_can_omit_an_initializer_for_its_first_enum_element); + } else { + seenEnumMissingInitialInitializer = true; + } + } + }); + } + } + function checkEnumMember(node) { + if (isPrivateIdentifier(node.name)) { + error(node, Diagnostics.An_enum_member_cannot_be_named_with_a_private_identifier); + } + if (node.initializer) { + checkExpression(node.initializer); + } + } + function getFirstNonAmbientClassOrFunctionDeclaration(symbol) { + const declarations = symbol.declarations; + if (declarations) { + for (const declaration of declarations) { + if ((declaration.kind === 263 /* ClassDeclaration */ || declaration.kind === 262 /* FunctionDeclaration */ && nodeIsPresent(declaration.body)) && !(declaration.flags & 33554432 /* Ambient */)) { + return declaration; + } + } + } + return void 0; + } + function inSameLexicalScope(node1, node2) { + const container1 = getEnclosingBlockScopeContainer(node1); + const container2 = getEnclosingBlockScopeContainer(node2); + if (isGlobalSourceFile(container1)) { + return isGlobalSourceFile(container2); + } else if (isGlobalSourceFile(container2)) { + return false; + } else { + return container1 === container2; + } + } + function checkModuleDeclaration(node) { + if (node.body) { + checkSourceElement(node.body); + if (!isGlobalScopeAugmentation(node)) { + registerForUnusedIdentifiersCheck(node); + } + } + addLazyDiagnostic(checkModuleDeclarationDiagnostics); + function checkModuleDeclarationDiagnostics() { + var _a, _b; + const isGlobalAugmentation = isGlobalScopeAugmentation(node); + const inAmbientContext = node.flags & 33554432 /* Ambient */; + if (isGlobalAugmentation && !inAmbientContext) { + error(node.name, Diagnostics.Augmentations_for_the_global_scope_should_have_declare_modifier_unless_they_appear_in_already_ambient_context); + } + const isAmbientExternalModule = isAmbientModule(node); + const contextErrorMessage = isAmbientExternalModule ? Diagnostics.An_ambient_module_declaration_is_only_allowed_at_the_top_level_in_a_file : Diagnostics.A_namespace_declaration_is_only_allowed_at_the_top_level_of_a_namespace_or_module; + if (checkGrammarModuleElementContext(node, contextErrorMessage)) { + return; + } + if (!checkGrammarModifiers(node)) { + if (!inAmbientContext && node.name.kind === 11 /* StringLiteral */) { + grammarErrorOnNode(node.name, Diagnostics.Only_ambient_modules_can_use_quoted_names); + } + } + if (isIdentifier(node.name)) { + checkCollisionsForDeclarationName(node, node.name); + if (!(node.flags & (32 /* Namespace */ | 2048 /* GlobalAugmentation */))) { + const sourceFile = getSourceFileOfNode(node); + const pos = getNonModifierTokenPosOfNode(node); + const span = getSpanOfTokenAtPosition(sourceFile, pos); + suggestionDiagnostics.add( + createFileDiagnostic(sourceFile, span.start, span.length, Diagnostics.A_namespace_declaration_should_not_be_declared_using_the_module_keyword_Please_use_the_namespace_keyword_instead) + ); + } + } + checkExportsOnMergedDeclarations(node); + const symbol = getSymbolOfDeclaration(node); + if (symbol.flags & 512 /* ValueModule */ && !inAmbientContext && isInstantiatedModule(node, shouldPreserveConstEnums(compilerOptions))) { + if (getIsolatedModules(compilerOptions) && !getSourceFileOfNode(node).externalModuleIndicator) { + error(node.name, Diagnostics.Namespaces_are_not_allowed_in_global_script_files_when_0_is_enabled_If_this_file_is_not_intended_to_be_a_global_script_set_moduleDetection_to_force_or_add_an_empty_export_statement, isolatedModulesLikeFlagName); + } + if (((_a = symbol.declarations) == null ? void 0 : _a.length) > 1) { + const firstNonAmbientClassOrFunc = getFirstNonAmbientClassOrFunctionDeclaration(symbol); + if (firstNonAmbientClassOrFunc) { + if (getSourceFileOfNode(node) !== getSourceFileOfNode(firstNonAmbientClassOrFunc)) { + error(node.name, Diagnostics.A_namespace_declaration_cannot_be_in_a_different_file_from_a_class_or_function_with_which_it_is_merged); + } else if (node.pos < firstNonAmbientClassOrFunc.pos) { + error(node.name, Diagnostics.A_namespace_declaration_cannot_be_located_prior_to_a_class_or_function_with_which_it_is_merged); + } + } + const mergedClass = getDeclarationOfKind(symbol, 263 /* ClassDeclaration */); + if (mergedClass && inSameLexicalScope(node, mergedClass)) { + getNodeLinks(node).flags |= 2048 /* LexicalModuleMergesWithClass */; + } + } + if (compilerOptions.verbatimModuleSyntax && node.parent.kind === 307 /* SourceFile */ && host.getEmitModuleFormatOfFile(node.parent) === 1 /* CommonJS */) { + const exportModifier = (_b = node.modifiers) == null ? void 0 : _b.find((m) => m.kind === 95 /* ExportKeyword */); + if (exportModifier) { + error(exportModifier, Diagnostics.A_top_level_export_modifier_cannot_be_used_on_value_declarations_in_a_CommonJS_module_when_verbatimModuleSyntax_is_enabled); + } + } + } + if (isAmbientExternalModule) { + if (isExternalModuleAugmentation(node)) { + const checkBody = isGlobalAugmentation || getSymbolOfDeclaration(node).flags & 33554432 /* Transient */; + if (checkBody && node.body) { + for (const statement of node.body.statements) { + checkModuleAugmentationElement(statement, isGlobalAugmentation); + } + } + } else if (isGlobalSourceFile(node.parent)) { + if (isGlobalAugmentation) { + error(node.name, Diagnostics.Augmentations_for_the_global_scope_can_only_be_directly_nested_in_external_modules_or_ambient_module_declarations); + } else if (isExternalModuleNameRelative(getTextOfIdentifierOrLiteral(node.name))) { + error(node.name, Diagnostics.Ambient_module_declaration_cannot_specify_relative_module_name); + } + } else { + if (isGlobalAugmentation) { + error(node.name, Diagnostics.Augmentations_for_the_global_scope_can_only_be_directly_nested_in_external_modules_or_ambient_module_declarations); + } else { + error(node.name, Diagnostics.Ambient_modules_cannot_be_nested_in_other_modules_or_namespaces); + } + } + } + } + } + function checkModuleAugmentationElement(node, isGlobalAugmentation) { + switch (node.kind) { + case 243 /* VariableStatement */: + for (const decl of node.declarationList.declarations) { + checkModuleAugmentationElement(decl, isGlobalAugmentation); + } + break; + case 277 /* ExportAssignment */: + case 278 /* ExportDeclaration */: + grammarErrorOnFirstToken(node, Diagnostics.Exports_and_export_assignments_are_not_permitted_in_module_augmentations); + break; + case 271 /* ImportEqualsDeclaration */: + if (isInternalModuleImportEqualsDeclaration(node)) break; + // falls through + case 272 /* ImportDeclaration */: + grammarErrorOnFirstToken(node, Diagnostics.Imports_are_not_permitted_in_module_augmentations_Consider_moving_them_to_the_enclosing_external_module); + break; + case 208 /* BindingElement */: + case 260 /* VariableDeclaration */: + const name = node.name; + if (isBindingPattern(name)) { + for (const el of name.elements) { + checkModuleAugmentationElement(el, isGlobalAugmentation); + } + break; + } + // falls through + case 263 /* ClassDeclaration */: + case 266 /* EnumDeclaration */: + case 262 /* FunctionDeclaration */: + case 264 /* InterfaceDeclaration */: + case 267 /* ModuleDeclaration */: + case 265 /* TypeAliasDeclaration */: + if (isGlobalAugmentation) { + return; + } + break; + } + } + function getFirstNonModuleExportsIdentifier(node) { + switch (node.kind) { + case 80 /* Identifier */: + return node; + case 166 /* QualifiedName */: + do { + node = node.left; + } while (node.kind !== 80 /* Identifier */); + return node; + case 211 /* PropertyAccessExpression */: + do { + if (isModuleExportsAccessExpression(node.expression) && !isPrivateIdentifier(node.name)) { + return node.name; + } + node = node.expression; + } while (node.kind !== 80 /* Identifier */); + return node; + } + } + function checkExternalImportOrExportDeclaration(node) { + const moduleName = getExternalModuleName(node); + if (!moduleName || nodeIsMissing(moduleName)) { + return false; + } + if (!isStringLiteral(moduleName)) { + error(moduleName, Diagnostics.String_literal_expected); + return false; + } + const inAmbientExternalModule = node.parent.kind === 268 /* ModuleBlock */ && isAmbientModule(node.parent.parent); + if (node.parent.kind !== 307 /* SourceFile */ && !inAmbientExternalModule) { + error( + moduleName, + node.kind === 278 /* ExportDeclaration */ ? Diagnostics.Export_declarations_are_not_permitted_in_a_namespace : Diagnostics.Import_declarations_in_a_namespace_cannot_reference_a_module + ); + return false; + } + if (inAmbientExternalModule && isExternalModuleNameRelative(moduleName.text)) { + if (!isTopLevelInExternalModuleAugmentation(node)) { + error(node, Diagnostics.Import_or_export_declaration_in_an_ambient_module_declaration_cannot_reference_module_through_relative_module_name); + return false; + } + } + if (!isImportEqualsDeclaration(node) && node.attributes) { + const diagnostic = node.attributes.token === 118 /* WithKeyword */ ? Diagnostics.Import_attribute_values_must_be_string_literal_expressions : Diagnostics.Import_assertion_values_must_be_string_literal_expressions; + let hasError = false; + for (const attr of node.attributes.elements) { + if (!isStringLiteral(attr.value)) { + hasError = true; + error(attr.value, diagnostic); + } + } + return !hasError; + } + return true; + } + function checkModuleExportName(name, allowStringLiteral = true) { + if (name === void 0 || name.kind !== 11 /* StringLiteral */) { + return; + } + if (!allowStringLiteral) { + grammarErrorOnNode(name, Diagnostics.Identifier_expected); + } else if (moduleKind === 5 /* ES2015 */ || moduleKind === 6 /* ES2020 */) { + grammarErrorOnNode(name, Diagnostics.String_literal_import_and_export_names_are_not_supported_when_the_module_flag_is_set_to_es2015_or_es2020); + } + } + function checkAliasSymbol(node) { + var _a, _b, _c, _d; + let symbol = getSymbolOfDeclaration(node); + const target = resolveAlias(symbol); + if (target !== unknownSymbol) { + symbol = getMergedSymbol(symbol.exportSymbol || symbol); + if (isInJSFile(node) && !(target.flags & 111551 /* Value */) && !isTypeOnlyImportOrExportDeclaration(node)) { + const errorNode = isImportOrExportSpecifier(node) ? node.propertyName || node.name : isNamedDeclaration(node) ? node.name : node; + Debug.assert(node.kind !== 280 /* NamespaceExport */); + if (node.kind === 281 /* ExportSpecifier */) { + const diag2 = error(errorNode, Diagnostics.Types_cannot_appear_in_export_declarations_in_JavaScript_files); + const alreadyExportedSymbol = (_b = (_a = getSourceFileOfNode(node).symbol) == null ? void 0 : _a.exports) == null ? void 0 : _b.get(moduleExportNameTextEscaped(node.propertyName || node.name)); + if (alreadyExportedSymbol === target) { + const exportingDeclaration = (_c = alreadyExportedSymbol.declarations) == null ? void 0 : _c.find(isJSDocNode); + if (exportingDeclaration) { + addRelatedInfo( + diag2, + createDiagnosticForNode( + exportingDeclaration, + Diagnostics._0_is_automatically_exported_here, + unescapeLeadingUnderscores(alreadyExportedSymbol.escapedName) + ) + ); + } + } + } else { + Debug.assert(node.kind !== 260 /* VariableDeclaration */); + const importDeclaration = findAncestor(node, or(isImportDeclaration, isImportEqualsDeclaration)); + const moduleSpecifier = (importDeclaration && ((_d = tryGetModuleSpecifierFromDeclaration(importDeclaration)) == null ? void 0 : _d.text)) ?? "..."; + const importedIdentifier = unescapeLeadingUnderscores(isIdentifier(errorNode) ? errorNode.escapedText : symbol.escapedName); + error( + errorNode, + Diagnostics._0_is_a_type_and_cannot_be_imported_in_JavaScript_files_Use_1_in_a_JSDoc_type_annotation, + importedIdentifier, + `import("${moduleSpecifier}").${importedIdentifier}` + ); + } + return; + } + const targetFlags = getSymbolFlags(target); + const excludedMeanings = (symbol.flags & (111551 /* Value */ | 1048576 /* ExportValue */) ? 111551 /* Value */ : 0) | (symbol.flags & 788968 /* Type */ ? 788968 /* Type */ : 0) | (symbol.flags & 1920 /* Namespace */ ? 1920 /* Namespace */ : 0); + if (targetFlags & excludedMeanings) { + const message = node.kind === 281 /* ExportSpecifier */ ? Diagnostics.Export_declaration_conflicts_with_exported_declaration_of_0 : Diagnostics.Import_declaration_conflicts_with_local_declaration_of_0; + error(node, message, symbolToString(symbol)); + } else if (node.kind !== 281 /* ExportSpecifier */) { + const appearsValueyToTranspiler = compilerOptions.isolatedModules && !findAncestor(node, isTypeOnlyImportOrExportDeclaration); + if (appearsValueyToTranspiler && symbol.flags & (111551 /* Value */ | 1048576 /* ExportValue */)) { + error( + node, + Diagnostics.Import_0_conflicts_with_local_value_so_must_be_declared_with_a_type_only_import_when_isolatedModules_is_enabled, + symbolToString(symbol), + isolatedModulesLikeFlagName + ); + } + } + if (getIsolatedModules(compilerOptions) && !isTypeOnlyImportOrExportDeclaration(node) && !(node.flags & 33554432 /* Ambient */)) { + const typeOnlyAlias = getTypeOnlyAliasDeclaration(symbol); + const isType = !(targetFlags & 111551 /* Value */); + if (isType || typeOnlyAlias) { + switch (node.kind) { + case 273 /* ImportClause */: + case 276 /* ImportSpecifier */: + case 271 /* ImportEqualsDeclaration */: { + if (compilerOptions.verbatimModuleSyntax) { + Debug.assertIsDefined(node.name, "An ImportClause with a symbol should have a name"); + const message = compilerOptions.verbatimModuleSyntax && isInternalModuleImportEqualsDeclaration(node) ? Diagnostics.An_import_alias_cannot_resolve_to_a_type_or_type_only_declaration_when_verbatimModuleSyntax_is_enabled : isType ? Diagnostics._0_is_a_type_and_must_be_imported_using_a_type_only_import_when_verbatimModuleSyntax_is_enabled : Diagnostics._0_resolves_to_a_type_only_declaration_and_must_be_imported_using_a_type_only_import_when_verbatimModuleSyntax_is_enabled; + const name = moduleExportNameTextUnescaped(node.kind === 276 /* ImportSpecifier */ ? node.propertyName || node.name : node.name); + addTypeOnlyDeclarationRelatedInfo( + error(node, message, name), + isType ? void 0 : typeOnlyAlias, + name + ); + } + if (isType && node.kind === 271 /* ImportEqualsDeclaration */ && hasEffectiveModifier(node, 32 /* Export */)) { + error(node, Diagnostics.Cannot_use_export_import_on_a_type_or_type_only_namespace_when_0_is_enabled, isolatedModulesLikeFlagName); + } + break; + } + case 281 /* ExportSpecifier */: { + if (compilerOptions.verbatimModuleSyntax || getSourceFileOfNode(typeOnlyAlias) !== getSourceFileOfNode(node)) { + const name = moduleExportNameTextUnescaped(node.propertyName || node.name); + const diagnostic = isType ? error(node, Diagnostics.Re_exporting_a_type_when_0_is_enabled_requires_using_export_type, isolatedModulesLikeFlagName) : error(node, Diagnostics._0_resolves_to_a_type_only_declaration_and_must_be_re_exported_using_a_type_only_re_export_when_1_is_enabled, name, isolatedModulesLikeFlagName); + addTypeOnlyDeclarationRelatedInfo(diagnostic, isType ? void 0 : typeOnlyAlias, name); + break; + } + } + } + } + if (compilerOptions.verbatimModuleSyntax && node.kind !== 271 /* ImportEqualsDeclaration */ && !isInJSFile(node) && host.getEmitModuleFormatOfFile(getSourceFileOfNode(node)) === 1 /* CommonJS */) { + error(node, Diagnostics.ESM_syntax_is_not_allowed_in_a_CommonJS_module_when_verbatimModuleSyntax_is_enabled); + } else if (moduleKind === 200 /* Preserve */ && node.kind !== 271 /* ImportEqualsDeclaration */ && node.kind !== 260 /* VariableDeclaration */ && host.getEmitModuleFormatOfFile(getSourceFileOfNode(node)) === 1 /* CommonJS */) { + error(node, Diagnostics.ESM_syntax_is_not_allowed_in_a_CommonJS_module_when_module_is_set_to_preserve); + } + if (compilerOptions.verbatimModuleSyntax && !isTypeOnlyImportOrExportDeclaration(node) && !(node.flags & 33554432 /* Ambient */) && targetFlags & 128 /* ConstEnum */) { + const constEnumDeclaration = target.valueDeclaration; + const redirect = host.getRedirectReferenceForResolutionFromSourceOfProject(getSourceFileOfNode(constEnumDeclaration).resolvedPath); + if (constEnumDeclaration.flags & 33554432 /* Ambient */ && (!redirect || !shouldPreserveConstEnums(redirect.commandLine.options))) { + error(node, Diagnostics.Cannot_access_ambient_const_enums_when_0_is_enabled, isolatedModulesLikeFlagName); + } + } + } + if (isImportSpecifier(node)) { + const targetSymbol = resolveAliasWithDeprecationCheck(symbol, node); + if (isDeprecatedSymbol(targetSymbol) && targetSymbol.declarations) { + addDeprecatedSuggestion(node, targetSymbol.declarations, targetSymbol.escapedName); + } + } + } + } + function resolveAliasWithDeprecationCheck(symbol, location) { + if (!(symbol.flags & 2097152 /* Alias */) || isDeprecatedSymbol(symbol) || !getDeclarationOfAliasSymbol(symbol)) { + return symbol; + } + const targetSymbol = resolveAlias(symbol); + if (targetSymbol === unknownSymbol) return targetSymbol; + while (symbol.flags & 2097152 /* Alias */) { + const target = getImmediateAliasedSymbol(symbol); + if (target) { + if (target === targetSymbol) break; + if (target.declarations && length(target.declarations)) { + if (isDeprecatedSymbol(target)) { + addDeprecatedSuggestion(location, target.declarations, target.escapedName); + break; + } else { + if (symbol === targetSymbol) break; + symbol = target; + } + } + } else { + break; + } + } + return targetSymbol; + } + function checkImportBinding(node) { + checkCollisionsForDeclarationName(node, node.name); + checkAliasSymbol(node); + if (node.kind === 276 /* ImportSpecifier */) { + checkModuleExportName(node.propertyName); + if (moduleExportNameIsDefault(node.propertyName || node.name) && getESModuleInterop(compilerOptions) && host.getEmitModuleFormatOfFile(getSourceFileOfNode(node)) < 4 /* System */) { + checkExternalEmitHelpers(node, 131072 /* ImportDefault */); + } + } + } + function checkImportAttributes(declaration) { + var _a; + const node = declaration.attributes; + if (node) { + const importAttributesType = getGlobalImportAttributesType( + /*reportErrors*/ + true + ); + if (importAttributesType !== emptyObjectType) { + checkTypeAssignableTo(getTypeFromImportAttributes(node), getNullableType(importAttributesType, 32768 /* Undefined */), node); + } + const validForTypeAttributes = isExclusivelyTypeOnlyImportOrExport(declaration); + const override = getResolutionModeOverride(node, validForTypeAttributes ? grammarErrorOnNode : void 0); + const isImportAttributes2 = declaration.attributes.token === 118 /* WithKeyword */; + if (validForTypeAttributes && override) { + return; + } + const mode = moduleKind === 199 /* NodeNext */ && declaration.moduleSpecifier && getEmitSyntaxForModuleSpecifierExpression(declaration.moduleSpecifier); + if (mode !== 99 /* ESNext */ && moduleKind !== 99 /* ESNext */ && moduleKind !== 200 /* Preserve */) { + const message = isImportAttributes2 ? moduleKind === 199 /* NodeNext */ ? Diagnostics.Import_attributes_are_not_allowed_on_statements_that_compile_to_CommonJS_require_calls : Diagnostics.Import_attributes_are_only_supported_when_the_module_option_is_set_to_esnext_nodenext_or_preserve : moduleKind === 199 /* NodeNext */ ? Diagnostics.Import_assertions_are_not_allowed_on_statements_that_compile_to_CommonJS_require_calls : Diagnostics.Import_assertions_are_only_supported_when_the_module_option_is_set_to_esnext_nodenext_or_preserve; + return grammarErrorOnNode(node, message); + } + const isTypeOnly = isJSDocImportTag(declaration) || (isImportDeclaration(declaration) ? (_a = declaration.importClause) == null ? void 0 : _a.isTypeOnly : declaration.isTypeOnly); + if (isTypeOnly) { + return grammarErrorOnNode(node, isImportAttributes2 ? Diagnostics.Import_attributes_cannot_be_used_with_type_only_imports_or_exports : Diagnostics.Import_assertions_cannot_be_used_with_type_only_imports_or_exports); + } + if (override) { + return grammarErrorOnNode(node, Diagnostics.resolution_mode_can_only_be_set_for_type_only_imports); + } + } + } + function checkImportAttribute(node) { + return getRegularTypeOfLiteralType(checkExpressionCached(node.value)); + } + function checkImportDeclaration(node) { + if (checkGrammarModuleElementContext(node, isInJSFile(node) ? Diagnostics.An_import_declaration_can_only_be_used_at_the_top_level_of_a_module : Diagnostics.An_import_declaration_can_only_be_used_at_the_top_level_of_a_namespace_or_module)) { + return; + } + if (!checkGrammarModifiers(node) && node.modifiers) { + grammarErrorOnFirstToken(node, Diagnostics.An_import_declaration_cannot_have_modifiers); + } + if (checkExternalImportOrExportDeclaration(node)) { + let resolvedModule; + const importClause = node.importClause; + if (importClause && !checkGrammarImportClause(importClause)) { + if (importClause.name) { + checkImportBinding(importClause); + } + if (importClause.namedBindings) { + if (importClause.namedBindings.kind === 274 /* NamespaceImport */) { + checkImportBinding(importClause.namedBindings); + if (host.getEmitModuleFormatOfFile(getSourceFileOfNode(node)) < 4 /* System */ && getESModuleInterop(compilerOptions)) { + checkExternalEmitHelpers(node, 65536 /* ImportStar */); + } + } else { + resolvedModule = resolveExternalModuleName(node, node.moduleSpecifier); + if (resolvedModule) { + forEach(importClause.namedBindings.elements, checkImportBinding); + } + } + } + if (isOnlyImportableAsDefault(node.moduleSpecifier, resolvedModule) && !hasTypeJsonImportAttribute(node)) { + error(node.moduleSpecifier, Diagnostics.Importing_a_JSON_file_into_an_ECMAScript_module_requires_a_type_Colon_json_import_attribute_when_module_is_set_to_0, ModuleKind[moduleKind]); + } + } else if (noUncheckedSideEffectImports && !importClause) { + void resolveExternalModuleName(node, node.moduleSpecifier); + } + } + checkImportAttributes(node); + } + function hasTypeJsonImportAttribute(node) { + return !!node.attributes && node.attributes.elements.some((attr) => { + var _a; + return getTextOfIdentifierOrLiteral(attr.name) === "type" && ((_a = tryCast(attr.value, isStringLiteralLike)) == null ? void 0 : _a.text) === "json"; + }); + } + function checkImportEqualsDeclaration(node) { + if (checkGrammarModuleElementContext(node, isInJSFile(node) ? Diagnostics.An_import_declaration_can_only_be_used_at_the_top_level_of_a_module : Diagnostics.An_import_declaration_can_only_be_used_at_the_top_level_of_a_namespace_or_module)) { + return; + } + checkGrammarModifiers(node); + if (isInternalModuleImportEqualsDeclaration(node) || checkExternalImportOrExportDeclaration(node)) { + checkImportBinding(node); + markLinkedReferences(node, 6 /* ExportImportEquals */); + if (node.moduleReference.kind !== 283 /* ExternalModuleReference */) { + const target = resolveAlias(getSymbolOfDeclaration(node)); + if (target !== unknownSymbol) { + const targetFlags = getSymbolFlags(target); + if (targetFlags & 111551 /* Value */) { + const moduleName = getFirstIdentifier(node.moduleReference); + if (!(resolveEntityName(moduleName, 111551 /* Value */ | 1920 /* Namespace */).flags & 1920 /* Namespace */)) { + error(moduleName, Diagnostics.Module_0_is_hidden_by_a_local_declaration_with_the_same_name, declarationNameToString(moduleName)); + } + } + if (targetFlags & 788968 /* Type */) { + checkTypeNameIsReserved(node.name, Diagnostics.Import_name_cannot_be_0); + } + } + if (node.isTypeOnly) { + grammarErrorOnNode(node, Diagnostics.An_import_alias_cannot_use_import_type); + } + } else { + if (5 /* ES2015 */ <= moduleKind && moduleKind <= 99 /* ESNext */ && !node.isTypeOnly && !(node.flags & 33554432 /* Ambient */)) { + grammarErrorOnNode(node, Diagnostics.Import_assignment_cannot_be_used_when_targeting_ECMAScript_modules_Consider_using_import_Asterisk_as_ns_from_mod_import_a_from_mod_import_d_from_mod_or_another_module_format_instead); + } + } + } + } + function checkExportDeclaration(node) { + if (checkGrammarModuleElementContext(node, isInJSFile(node) ? Diagnostics.An_export_declaration_can_only_be_used_at_the_top_level_of_a_module : Diagnostics.An_export_declaration_can_only_be_used_at_the_top_level_of_a_namespace_or_module)) { + return; + } + if (!checkGrammarModifiers(node) && hasSyntacticModifiers(node)) { + grammarErrorOnFirstToken(node, Diagnostics.An_export_declaration_cannot_have_modifiers); + } + checkGrammarExportDeclaration(node); + if (!node.moduleSpecifier || checkExternalImportOrExportDeclaration(node)) { + if (node.exportClause && !isNamespaceExport(node.exportClause)) { + forEach(node.exportClause.elements, checkExportSpecifier); + const inAmbientExternalModule = node.parent.kind === 268 /* ModuleBlock */ && isAmbientModule(node.parent.parent); + const inAmbientNamespaceDeclaration = !inAmbientExternalModule && node.parent.kind === 268 /* ModuleBlock */ && !node.moduleSpecifier && node.flags & 33554432 /* Ambient */; + if (node.parent.kind !== 307 /* SourceFile */ && !inAmbientExternalModule && !inAmbientNamespaceDeclaration) { + error(node, Diagnostics.Export_declarations_are_not_permitted_in_a_namespace); + } + } else { + const moduleSymbol = resolveExternalModuleName(node, node.moduleSpecifier); + if (moduleSymbol && hasExportAssignmentSymbol(moduleSymbol)) { + error(node.moduleSpecifier, Diagnostics.Module_0_uses_export_and_cannot_be_used_with_export_Asterisk, symbolToString(moduleSymbol)); + } else if (node.exportClause) { + checkAliasSymbol(node.exportClause); + checkModuleExportName(node.exportClause.name); + } + if (host.getEmitModuleFormatOfFile(getSourceFileOfNode(node)) < 4 /* System */) { + if (node.exportClause) { + if (getESModuleInterop(compilerOptions)) { + checkExternalEmitHelpers(node, 65536 /* ImportStar */); + } + } else { + checkExternalEmitHelpers(node, 32768 /* ExportStar */); + } + } + } + } + checkImportAttributes(node); + } + function checkGrammarExportDeclaration(node) { + var _a; + if (node.isTypeOnly && ((_a = node.exportClause) == null ? void 0 : _a.kind) === 279 /* NamedExports */) { + return checkGrammarNamedImportsOrExports(node.exportClause); + } + return false; + } + function checkGrammarModuleElementContext(node, errorMessage) { + const isInAppropriateContext = node.parent.kind === 307 /* SourceFile */ || node.parent.kind === 268 /* ModuleBlock */ || node.parent.kind === 267 /* ModuleDeclaration */; + if (!isInAppropriateContext) { + grammarErrorOnFirstToken(node, errorMessage); + } + return !isInAppropriateContext; + } + function checkExportSpecifier(node) { + checkAliasSymbol(node); + const hasModuleSpecifier = node.parent.parent.moduleSpecifier !== void 0; + checkModuleExportName(node.propertyName, hasModuleSpecifier); + checkModuleExportName(node.name); + if (getEmitDeclarations(compilerOptions)) { + collectLinkedAliases( + node.propertyName || node.name, + /*setVisibility*/ + true + ); + } + if (!hasModuleSpecifier) { + const exportedName = node.propertyName || node.name; + if (exportedName.kind === 11 /* StringLiteral */) { + return; + } + const symbol = resolveName( + exportedName, + exportedName.escapedText, + 111551 /* Value */ | 788968 /* Type */ | 1920 /* Namespace */ | 2097152 /* Alias */, + /*nameNotFoundMessage*/ + void 0, + /*isUse*/ + true + ); + if (symbol && (symbol === undefinedSymbol || symbol === globalThisSymbol || symbol.declarations && isGlobalSourceFile(getDeclarationContainer(symbol.declarations[0])))) { + error(exportedName, Diagnostics.Cannot_export_0_Only_local_declarations_can_be_exported_from_a_module, idText(exportedName)); + } else { + markLinkedReferences(node, 7 /* ExportSpecifier */); + } + } else { + if (getESModuleInterop(compilerOptions) && host.getEmitModuleFormatOfFile(getSourceFileOfNode(node)) < 4 /* System */ && moduleExportNameIsDefault(node.propertyName || node.name)) { + checkExternalEmitHelpers(node, 131072 /* ImportDefault */); + } + } + } + function checkExportAssignment(node) { + const illegalContextMessage = node.isExportEquals ? Diagnostics.An_export_assignment_must_be_at_the_top_level_of_a_file_or_module_declaration : Diagnostics.A_default_export_must_be_at_the_top_level_of_a_file_or_module_declaration; + if (checkGrammarModuleElementContext(node, illegalContextMessage)) { + return; + } + const container = node.parent.kind === 307 /* SourceFile */ ? node.parent : node.parent.parent; + if (container.kind === 267 /* ModuleDeclaration */ && !isAmbientModule(container)) { + if (node.isExportEquals) { + error(node, Diagnostics.An_export_assignment_cannot_be_used_in_a_namespace); + } else { + error(node, Diagnostics.A_default_export_can_only_be_used_in_an_ECMAScript_style_module); + } + return; + } + if (!checkGrammarModifiers(node) && hasEffectiveModifiers(node)) { + grammarErrorOnFirstToken(node, Diagnostics.An_export_assignment_cannot_have_modifiers); + } + const typeAnnotationNode = getEffectiveTypeAnnotationNode(node); + if (typeAnnotationNode) { + checkTypeAssignableTo(checkExpressionCached(node.expression), getTypeFromTypeNode(typeAnnotationNode), node.expression); + } + const isIllegalExportDefaultInCJS = !node.isExportEquals && !(node.flags & 33554432 /* Ambient */) && compilerOptions.verbatimModuleSyntax && host.getEmitModuleFormatOfFile(getSourceFileOfNode(node)) === 1 /* CommonJS */; + if (node.expression.kind === 80 /* Identifier */) { + const id = node.expression; + const sym = getExportSymbolOfValueSymbolIfExported(resolveEntityName( + id, + -1 /* All */, + /*ignoreErrors*/ + true, + /*dontResolveAlias*/ + true, + node + )); + if (sym) { + markLinkedReferences(node, 3 /* ExportAssignment */); + const typeOnlyDeclaration = getTypeOnlyAliasDeclaration(sym, 111551 /* Value */); + if (getSymbolFlags(sym) & 111551 /* Value */) { + checkExpressionCached(id); + if (!isIllegalExportDefaultInCJS && !(node.flags & 33554432 /* Ambient */) && compilerOptions.verbatimModuleSyntax && typeOnlyDeclaration) { + error( + id, + node.isExportEquals ? Diagnostics.An_export_declaration_must_reference_a_real_value_when_verbatimModuleSyntax_is_enabled_but_0_resolves_to_a_type_only_declaration : Diagnostics.An_export_default_must_reference_a_real_value_when_verbatimModuleSyntax_is_enabled_but_0_resolves_to_a_type_only_declaration, + idText(id) + ); + } + } else if (!isIllegalExportDefaultInCJS && !(node.flags & 33554432 /* Ambient */) && compilerOptions.verbatimModuleSyntax) { + error( + id, + node.isExportEquals ? Diagnostics.An_export_declaration_must_reference_a_value_when_verbatimModuleSyntax_is_enabled_but_0_only_refers_to_a_type : Diagnostics.An_export_default_must_reference_a_value_when_verbatimModuleSyntax_is_enabled_but_0_only_refers_to_a_type, + idText(id) + ); + } + if (!isIllegalExportDefaultInCJS && !(node.flags & 33554432 /* Ambient */) && getIsolatedModules(compilerOptions) && !(sym.flags & 111551 /* Value */)) { + const nonLocalMeanings = getSymbolFlags( + sym, + /*excludeTypeOnlyMeanings*/ + false, + /*excludeLocalMeanings*/ + true + ); + if (sym.flags & 2097152 /* Alias */ && nonLocalMeanings & 788968 /* Type */ && !(nonLocalMeanings & 111551 /* Value */) && (!typeOnlyDeclaration || getSourceFileOfNode(typeOnlyDeclaration) !== getSourceFileOfNode(node))) { + error( + id, + node.isExportEquals ? Diagnostics._0_resolves_to_a_type_and_must_be_marked_type_only_in_this_file_before_re_exporting_when_1_is_enabled_Consider_using_import_type_where_0_is_imported : Diagnostics._0_resolves_to_a_type_and_must_be_marked_type_only_in_this_file_before_re_exporting_when_1_is_enabled_Consider_using_export_type_0_as_default, + idText(id), + isolatedModulesLikeFlagName + ); + } else if (typeOnlyDeclaration && getSourceFileOfNode(typeOnlyDeclaration) !== getSourceFileOfNode(node)) { + addTypeOnlyDeclarationRelatedInfo( + error( + id, + node.isExportEquals ? Diagnostics._0_resolves_to_a_type_only_declaration_and_must_be_marked_type_only_in_this_file_before_re_exporting_when_1_is_enabled_Consider_using_import_type_where_0_is_imported : Diagnostics._0_resolves_to_a_type_only_declaration_and_must_be_marked_type_only_in_this_file_before_re_exporting_when_1_is_enabled_Consider_using_export_type_0_as_default, + idText(id), + isolatedModulesLikeFlagName + ), + typeOnlyDeclaration, + idText(id) + ); + } + } + } else { + checkExpressionCached(id); + } + if (getEmitDeclarations(compilerOptions)) { + collectLinkedAliases( + id, + /*setVisibility*/ + true + ); + } + } else { + checkExpressionCached(node.expression); + } + if (isIllegalExportDefaultInCJS) { + error(node, Diagnostics.ESM_syntax_is_not_allowed_in_a_CommonJS_module_when_verbatimModuleSyntax_is_enabled); + } + checkExternalModuleExports(container); + if (node.flags & 33554432 /* Ambient */ && !isEntityNameExpression(node.expression)) { + grammarErrorOnNode(node.expression, Diagnostics.The_expression_of_an_export_assignment_must_be_an_identifier_or_qualified_name_in_an_ambient_context); + } + if (node.isExportEquals) { + if (moduleKind >= 5 /* ES2015 */ && moduleKind !== 200 /* Preserve */ && (node.flags & 33554432 /* Ambient */ && host.getImpliedNodeFormatForEmit(getSourceFileOfNode(node)) === 99 /* ESNext */ || !(node.flags & 33554432 /* Ambient */) && host.getImpliedNodeFormatForEmit(getSourceFileOfNode(node)) !== 1 /* CommonJS */)) { + grammarErrorOnNode(node, Diagnostics.Export_assignment_cannot_be_used_when_targeting_ECMAScript_modules_Consider_using_export_default_or_another_module_format_instead); + } else if (moduleKind === 4 /* System */ && !(node.flags & 33554432 /* Ambient */)) { + grammarErrorOnNode(node, Diagnostics.Export_assignment_is_not_supported_when_module_flag_is_system); + } + } + } + function hasExportedMembers(moduleSymbol) { + return forEachEntry(moduleSymbol.exports, (_, id) => id !== "export="); + } + function checkExternalModuleExports(node) { + const moduleSymbol = getSymbolOfDeclaration(node); + const links = getSymbolLinks(moduleSymbol); + if (!links.exportsChecked) { + const exportEqualsSymbol = moduleSymbol.exports.get("export="); + if (exportEqualsSymbol && hasExportedMembers(moduleSymbol)) { + const declaration = getDeclarationOfAliasSymbol(exportEqualsSymbol) || exportEqualsSymbol.valueDeclaration; + if (declaration && !isTopLevelInExternalModuleAugmentation(declaration) && !isInJSFile(declaration)) { + error(declaration, Diagnostics.An_export_assignment_cannot_be_used_in_a_module_with_other_exported_elements); + } + } + const exports2 = getExportsOfModule(moduleSymbol); + if (exports2) { + exports2.forEach(({ declarations, flags }, id) => { + if (id === "__export") { + return; + } + if (flags & (1920 /* Namespace */ | 384 /* Enum */)) { + return; + } + const exportedDeclarationsCount = countWhere(declarations, and(isNotOverloadAndNotAccessor, not(isInterfaceDeclaration))); + if (flags & 524288 /* TypeAlias */ && exportedDeclarationsCount <= 2) { + return; + } + if (exportedDeclarationsCount > 1) { + if (!isDuplicatedCommonJSExport(declarations)) { + for (const declaration of declarations) { + if (isNotOverload(declaration)) { + diagnostics.add(createDiagnosticForNode(declaration, Diagnostics.Cannot_redeclare_exported_variable_0, unescapeLeadingUnderscores(id))); + } + } + } + } + }); + } + links.exportsChecked = true; + } + } + function isDuplicatedCommonJSExport(declarations) { + return declarations && declarations.length > 1 && declarations.every((d) => isInJSFile(d) && isAccessExpression(d) && (isExportsIdentifier(d.expression) || isModuleExportsAccessExpression(d.expression))); + } + function checkSourceElement(node) { + if (node) { + const saveCurrentNode = currentNode; + currentNode = node; + instantiationCount = 0; + checkSourceElementWorker(node); + currentNode = saveCurrentNode; + } + } + function checkSourceElementWorker(node) { + if (getNodeCheckFlags(node) & 8388608 /* PartiallyTypeChecked */) { + return; + } + if (canHaveJSDoc(node)) { + forEach(node.jsDoc, ({ comment, tags }) => { + checkJSDocCommentWorker(comment); + forEach(tags, (tag) => { + checkJSDocCommentWorker(tag.comment); + if (isInJSFile(node)) { + checkSourceElement(tag); + } + }); + }); + } + const kind = node.kind; + if (cancellationToken) { + switch (kind) { + case 267 /* ModuleDeclaration */: + case 263 /* ClassDeclaration */: + case 264 /* InterfaceDeclaration */: + case 262 /* FunctionDeclaration */: + cancellationToken.throwIfCancellationRequested(); + } + } + if (kind >= 243 /* FirstStatement */ && kind <= 259 /* LastStatement */ && canHaveFlowNode(node) && node.flowNode && !isReachableFlowNode(node.flowNode)) { + errorOrSuggestion(compilerOptions.allowUnreachableCode === false, node, Diagnostics.Unreachable_code_detected); + } + switch (kind) { + case 168 /* TypeParameter */: + return checkTypeParameter(node); + case 169 /* Parameter */: + return checkParameter(node); + case 172 /* PropertyDeclaration */: + return checkPropertyDeclaration(node); + case 171 /* PropertySignature */: + return checkPropertySignature(node); + case 185 /* ConstructorType */: + case 184 /* FunctionType */: + case 179 /* CallSignature */: + case 180 /* ConstructSignature */: + case 181 /* IndexSignature */: + return checkSignatureDeclaration(node); + case 174 /* MethodDeclaration */: + case 173 /* MethodSignature */: + return checkMethodDeclaration(node); + case 175 /* ClassStaticBlockDeclaration */: + return checkClassStaticBlockDeclaration(node); + case 176 /* Constructor */: + return checkConstructorDeclaration(node); + case 177 /* GetAccessor */: + case 178 /* SetAccessor */: + return checkAccessorDeclaration(node); + case 183 /* TypeReference */: + return checkTypeReferenceNode(node); + case 182 /* TypePredicate */: + return checkTypePredicate(node); + case 186 /* TypeQuery */: + return checkTypeQuery(node); + case 187 /* TypeLiteral */: + return checkTypeLiteral(node); + case 188 /* ArrayType */: + return checkArrayType(node); + case 189 /* TupleType */: + return checkTupleType(node); + case 192 /* UnionType */: + case 193 /* IntersectionType */: + return checkUnionOrIntersectionType(node); + case 196 /* ParenthesizedType */: + case 190 /* OptionalType */: + case 191 /* RestType */: + return checkSourceElement(node.type); + case 197 /* ThisType */: + return checkThisType(node); + case 198 /* TypeOperator */: + return checkTypeOperator(node); + case 194 /* ConditionalType */: + return checkConditionalType(node); + case 195 /* InferType */: + return checkInferType(node); + case 203 /* TemplateLiteralType */: + return checkTemplateLiteralType(node); + case 205 /* ImportType */: + return checkImportType(node); + case 202 /* NamedTupleMember */: + return checkNamedTupleMember(node); + case 328 /* JSDocAugmentsTag */: + return checkJSDocAugmentsTag(node); + case 329 /* JSDocImplementsTag */: + return checkJSDocImplementsTag(node); + case 346 /* JSDocTypedefTag */: + case 338 /* JSDocCallbackTag */: + case 340 /* JSDocEnumTag */: + return checkJSDocTypeAliasTag(node); + case 345 /* JSDocTemplateTag */: + return checkJSDocTemplateTag(node); + case 344 /* JSDocTypeTag */: + return checkJSDocTypeTag(node); + case 324 /* JSDocLink */: + case 325 /* JSDocLinkCode */: + case 326 /* JSDocLinkPlain */: + return checkJSDocLinkLikeTag(node); + case 341 /* JSDocParameterTag */: + return checkJSDocParameterTag(node); + case 348 /* JSDocPropertyTag */: + return checkJSDocPropertyTag(node); + case 317 /* JSDocFunctionType */: + checkJSDocFunctionType(node); + // falls through + case 315 /* JSDocNonNullableType */: + case 314 /* JSDocNullableType */: + case 312 /* JSDocAllType */: + case 313 /* JSDocUnknownType */: + case 322 /* JSDocTypeLiteral */: + checkJSDocTypeIsInJsFile(node); + forEachChild(node, checkSourceElement); + return; + case 318 /* JSDocVariadicType */: + checkJSDocVariadicType(node); + return; + case 309 /* JSDocTypeExpression */: + return checkSourceElement(node.type); + case 333 /* JSDocPublicTag */: + case 335 /* JSDocProtectedTag */: + case 334 /* JSDocPrivateTag */: + return checkJSDocAccessibilityModifiers(node); + case 350 /* JSDocSatisfiesTag */: + return checkJSDocSatisfiesTag(node); + case 343 /* JSDocThisTag */: + return checkJSDocThisTag(node); + case 351 /* JSDocImportTag */: + return checkJSDocImportTag(node); + case 199 /* IndexedAccessType */: + return checkIndexedAccessType(node); + case 200 /* MappedType */: + return checkMappedType(node); + case 262 /* FunctionDeclaration */: + return checkFunctionDeclaration(node); + case 241 /* Block */: + case 268 /* ModuleBlock */: + return checkBlock(node); + case 243 /* VariableStatement */: + return checkVariableStatement(node); + case 244 /* ExpressionStatement */: + return checkExpressionStatement(node); + case 245 /* IfStatement */: + return checkIfStatement(node); + case 246 /* DoStatement */: + return checkDoStatement(node); + case 247 /* WhileStatement */: + return checkWhileStatement(node); + case 248 /* ForStatement */: + return checkForStatement(node); + case 249 /* ForInStatement */: + return checkForInStatement(node); + case 250 /* ForOfStatement */: + return checkForOfStatement(node); + case 251 /* ContinueStatement */: + case 252 /* BreakStatement */: + return checkBreakOrContinueStatement(node); + case 253 /* ReturnStatement */: + return checkReturnStatement(node); + case 254 /* WithStatement */: + return checkWithStatement(node); + case 255 /* SwitchStatement */: + return checkSwitchStatement(node); + case 256 /* LabeledStatement */: + return checkLabeledStatement(node); + case 257 /* ThrowStatement */: + return checkThrowStatement(node); + case 258 /* TryStatement */: + return checkTryStatement(node); + case 260 /* VariableDeclaration */: + return checkVariableDeclaration(node); + case 208 /* BindingElement */: + return checkBindingElement(node); + case 263 /* ClassDeclaration */: + return checkClassDeclaration(node); + case 264 /* InterfaceDeclaration */: + return checkInterfaceDeclaration(node); + case 265 /* TypeAliasDeclaration */: + return checkTypeAliasDeclaration(node); + case 266 /* EnumDeclaration */: + return checkEnumDeclaration(node); + case 267 /* ModuleDeclaration */: + return checkModuleDeclaration(node); + case 272 /* ImportDeclaration */: + return checkImportDeclaration(node); + case 271 /* ImportEqualsDeclaration */: + return checkImportEqualsDeclaration(node); + case 278 /* ExportDeclaration */: + return checkExportDeclaration(node); + case 277 /* ExportAssignment */: + return checkExportAssignment(node); + case 242 /* EmptyStatement */: + case 259 /* DebuggerStatement */: + checkGrammarStatementInAmbientContext(node); + return; + case 282 /* MissingDeclaration */: + return checkMissingDeclaration(node); + } + } + function checkJSDocCommentWorker(node) { + if (isArray(node)) { + forEach(node, (tag) => { + if (isJSDocLinkLike(tag)) { + checkSourceElement(tag); + } + }); + } + } + function checkJSDocTypeIsInJsFile(node) { + if (!isInJSFile(node)) { + if (isJSDocNonNullableType(node) || isJSDocNullableType(node)) { + const token = tokenToString(isJSDocNonNullableType(node) ? 54 /* ExclamationToken */ : 58 /* QuestionToken */); + const diagnostic = node.postfix ? Diagnostics._0_at_the_end_of_a_type_is_not_valid_TypeScript_syntax_Did_you_mean_to_write_1 : Diagnostics._0_at_the_start_of_a_type_is_not_valid_TypeScript_syntax_Did_you_mean_to_write_1; + const typeNode = node.type; + const type = getTypeFromTypeNode(typeNode); + grammarErrorOnNode( + node, + diagnostic, + token, + typeToString( + isJSDocNullableType(node) && !(type === neverType || type === voidType) ? getUnionType(append([type, undefinedType], node.postfix ? void 0 : nullType)) : type + ) + ); + } else { + grammarErrorOnNode(node, Diagnostics.JSDoc_types_can_only_be_used_inside_documentation_comments); + } + } + } + function checkJSDocVariadicType(node) { + checkJSDocTypeIsInJsFile(node); + checkSourceElement(node.type); + const { parent } = node; + if (isParameter(parent) && isJSDocFunctionType(parent.parent)) { + if (last(parent.parent.parameters) !== parent) { + error(node, Diagnostics.A_rest_parameter_must_be_last_in_a_parameter_list); + } + return; + } + if (!isJSDocTypeExpression(parent)) { + error(node, Diagnostics.JSDoc_may_only_appear_in_the_last_parameter_of_a_signature); + } + const paramTag = node.parent.parent; + if (!isJSDocParameterTag(paramTag)) { + error(node, Diagnostics.JSDoc_may_only_appear_in_the_last_parameter_of_a_signature); + return; + } + const param = getParameterSymbolFromJSDoc(paramTag); + if (!param) { + return; + } + const host2 = getHostSignatureFromJSDoc(paramTag); + if (!host2 || last(host2.parameters).symbol !== param) { + error(node, Diagnostics.A_rest_parameter_must_be_last_in_a_parameter_list); + } + } + function getTypeFromJSDocVariadicType(node) { + const type = getTypeFromTypeNode(node.type); + const { parent } = node; + const paramTag = node.parent.parent; + if (isJSDocTypeExpression(node.parent) && isJSDocParameterTag(paramTag)) { + const host2 = getHostSignatureFromJSDoc(paramTag); + const isCallbackTag = isJSDocCallbackTag(paramTag.parent.parent); + if (host2 || isCallbackTag) { + const lastParamDeclaration = isCallbackTag ? lastOrUndefined(paramTag.parent.parent.typeExpression.parameters) : lastOrUndefined(host2.parameters); + const symbol = getParameterSymbolFromJSDoc(paramTag); + if (!lastParamDeclaration || symbol && lastParamDeclaration.symbol === symbol && isRestParameter(lastParamDeclaration)) { + return createArrayType(type); + } + } + } + if (isParameter(parent) && isJSDocFunctionType(parent.parent)) { + return createArrayType(type); + } + return addOptionality(type); + } + function checkNodeDeferred(node) { + const enclosingFile = getSourceFileOfNode(node); + const links = getNodeLinks(enclosingFile); + if (!(links.flags & 1 /* TypeChecked */)) { + links.deferredNodes || (links.deferredNodes = /* @__PURE__ */ new Set()); + links.deferredNodes.add(node); + } else { + Debug.assert(!links.deferredNodes, "A type-checked file should have no deferred nodes."); + } + } + function checkDeferredNodes(context) { + const links = getNodeLinks(context); + if (links.deferredNodes) { + links.deferredNodes.forEach(checkDeferredNode); + } + links.deferredNodes = void 0; + } + function checkDeferredNode(node) { + var _a, _b; + (_a = tracing) == null ? void 0 : _a.push(tracing.Phase.Check, "checkDeferredNode", { kind: node.kind, pos: node.pos, end: node.end, path: node.tracingPath }); + const saveCurrentNode = currentNode; + currentNode = node; + instantiationCount = 0; + switch (node.kind) { + case 213 /* CallExpression */: + case 214 /* NewExpression */: + case 215 /* TaggedTemplateExpression */: + case 170 /* Decorator */: + case 286 /* JsxOpeningElement */: + resolveUntypedCall(node); + break; + case 218 /* FunctionExpression */: + case 219 /* ArrowFunction */: + case 174 /* MethodDeclaration */: + case 173 /* MethodSignature */: + checkFunctionExpressionOrObjectLiteralMethodDeferred(node); + break; + case 177 /* GetAccessor */: + case 178 /* SetAccessor */: + checkAccessorDeclaration(node); + break; + case 231 /* ClassExpression */: + checkClassExpressionDeferred(node); + break; + case 168 /* TypeParameter */: + checkTypeParameterDeferred(node); + break; + case 285 /* JsxSelfClosingElement */: + checkJsxSelfClosingElementDeferred(node); + break; + case 284 /* JsxElement */: + checkJsxElementDeferred(node); + break; + case 216 /* TypeAssertionExpression */: + case 234 /* AsExpression */: + case 217 /* ParenthesizedExpression */: + checkAssertionDeferred(node); + break; + case 222 /* VoidExpression */: + checkExpression(node.expression); + break; + case 226 /* BinaryExpression */: + if (isInstanceOfExpression(node)) { + resolveUntypedCall(node); + } + break; + } + currentNode = saveCurrentNode; + (_b = tracing) == null ? void 0 : _b.pop(); + } + function checkSourceFile(node, nodesToCheck) { + var _a, _b; + (_a = tracing) == null ? void 0 : _a.push( + tracing.Phase.Check, + nodesToCheck ? "checkSourceFileNodes" : "checkSourceFile", + { path: node.path }, + /*separateBeginAndEnd*/ + true + ); + const beforeMark = nodesToCheck ? "beforeCheckNodes" : "beforeCheck"; + const afterMark = nodesToCheck ? "afterCheckNodes" : "afterCheck"; + mark(beforeMark); + nodesToCheck ? checkSourceFileNodesWorker(node, nodesToCheck) : checkSourceFileWorker(node); + mark(afterMark); + measure("Check", beforeMark, afterMark); + (_b = tracing) == null ? void 0 : _b.pop(); + } + function unusedIsError(kind, isAmbient) { + if (isAmbient) { + return false; + } + switch (kind) { + case 0 /* Local */: + return !!compilerOptions.noUnusedLocals; + case 1 /* Parameter */: + return !!compilerOptions.noUnusedParameters; + default: + return Debug.assertNever(kind); + } + } + function getPotentiallyUnusedIdentifiers(sourceFile) { + return allPotentiallyUnusedIdentifiers.get(sourceFile.path) || emptyArray; + } + function checkSourceFileWorker(node) { + const links = getNodeLinks(node); + if (!(links.flags & 1 /* TypeChecked */)) { + if (skipTypeChecking(node, compilerOptions, host)) { + return; + } + checkGrammarSourceFile(node); + clear(potentialThisCollisions); + clear(potentialNewTargetCollisions); + clear(potentialWeakMapSetCollisions); + clear(potentialReflectCollisions); + clear(potentialUnusedRenamedBindingElementsInTypes); + if (links.flags & 8388608 /* PartiallyTypeChecked */) { + potentialThisCollisions = links.potentialThisCollisions; + potentialNewTargetCollisions = links.potentialNewTargetCollisions; + potentialWeakMapSetCollisions = links.potentialWeakMapSetCollisions; + potentialReflectCollisions = links.potentialReflectCollisions; + potentialUnusedRenamedBindingElementsInTypes = links.potentialUnusedRenamedBindingElementsInTypes; + } + forEach(node.statements, checkSourceElement); + checkSourceElement(node.endOfFileToken); + checkDeferredNodes(node); + if (isExternalOrCommonJsModule(node)) { + registerForUnusedIdentifiersCheck(node); + } + addLazyDiagnostic(() => { + if (!node.isDeclarationFile && (compilerOptions.noUnusedLocals || compilerOptions.noUnusedParameters)) { + checkUnusedIdentifiers(getPotentiallyUnusedIdentifiers(node), (containingNode, kind, diag2) => { + if (!containsParseError(containingNode) && unusedIsError(kind, !!(containingNode.flags & 33554432 /* Ambient */))) { + diagnostics.add(diag2); + } + }); + } + if (!node.isDeclarationFile) { + checkPotentialUncheckedRenamedBindingElementsInTypes(); + } + }); + if (isExternalOrCommonJsModule(node)) { + checkExternalModuleExports(node); + } + if (potentialThisCollisions.length) { + forEach(potentialThisCollisions, checkIfThisIsCapturedInEnclosingScope); + clear(potentialThisCollisions); + } + if (potentialNewTargetCollisions.length) { + forEach(potentialNewTargetCollisions, checkIfNewTargetIsCapturedInEnclosingScope); + clear(potentialNewTargetCollisions); + } + if (potentialWeakMapSetCollisions.length) { + forEach(potentialWeakMapSetCollisions, checkWeakMapSetCollision); + clear(potentialWeakMapSetCollisions); + } + if (potentialReflectCollisions.length) { + forEach(potentialReflectCollisions, checkReflectCollision); + clear(potentialReflectCollisions); + } + links.flags |= 1 /* TypeChecked */; + } + } + function checkSourceFileNodesWorker(file, nodes) { + const links = getNodeLinks(file); + if (!(links.flags & 1 /* TypeChecked */)) { + if (skipTypeChecking(file, compilerOptions, host)) { + return; + } + checkGrammarSourceFile(file); + clear(potentialThisCollisions); + clear(potentialNewTargetCollisions); + clear(potentialWeakMapSetCollisions); + clear(potentialReflectCollisions); + clear(potentialUnusedRenamedBindingElementsInTypes); + forEach(nodes, checkSourceElement); + checkDeferredNodes(file); + (links.potentialThisCollisions || (links.potentialThisCollisions = [])).push(...potentialThisCollisions); + (links.potentialNewTargetCollisions || (links.potentialNewTargetCollisions = [])).push(...potentialNewTargetCollisions); + (links.potentialWeakMapSetCollisions || (links.potentialWeakMapSetCollisions = [])).push(...potentialWeakMapSetCollisions); + (links.potentialReflectCollisions || (links.potentialReflectCollisions = [])).push(...potentialReflectCollisions); + (links.potentialUnusedRenamedBindingElementsInTypes || (links.potentialUnusedRenamedBindingElementsInTypes = [])).push( + ...potentialUnusedRenamedBindingElementsInTypes + ); + links.flags |= 8388608 /* PartiallyTypeChecked */; + for (const node of nodes) { + const nodeLinks2 = getNodeLinks(node); + nodeLinks2.flags |= 8388608 /* PartiallyTypeChecked */; + } + } + } + function getDiagnostics(sourceFile, ct, nodesToCheck) { + try { + cancellationToken = ct; + return getDiagnosticsWorker(sourceFile, nodesToCheck); + } finally { + cancellationToken = void 0; + } + } + function ensurePendingDiagnosticWorkComplete() { + for (const cb of deferredDiagnosticsCallbacks) { + cb(); + } + deferredDiagnosticsCallbacks = []; + } + function checkSourceFileWithEagerDiagnostics(sourceFile, nodesToCheck) { + ensurePendingDiagnosticWorkComplete(); + const oldAddLazyDiagnostics = addLazyDiagnostic; + addLazyDiagnostic = (cb) => cb(); + checkSourceFile(sourceFile, nodesToCheck); + addLazyDiagnostic = oldAddLazyDiagnostics; + } + function getDiagnosticsWorker(sourceFile, nodesToCheck) { + if (sourceFile) { + ensurePendingDiagnosticWorkComplete(); + const previousGlobalDiagnostics = diagnostics.getGlobalDiagnostics(); + const previousGlobalDiagnosticsSize = previousGlobalDiagnostics.length; + checkSourceFileWithEagerDiagnostics(sourceFile, nodesToCheck); + const semanticDiagnostics = diagnostics.getDiagnostics(sourceFile.fileName); + if (nodesToCheck) { + return semanticDiagnostics; + } + const currentGlobalDiagnostics = diagnostics.getGlobalDiagnostics(); + if (currentGlobalDiagnostics !== previousGlobalDiagnostics) { + const deferredGlobalDiagnostics = relativeComplement(previousGlobalDiagnostics, currentGlobalDiagnostics, compareDiagnostics); + return concatenate(deferredGlobalDiagnostics, semanticDiagnostics); + } else if (previousGlobalDiagnosticsSize === 0 && currentGlobalDiagnostics.length > 0) { + return concatenate(currentGlobalDiagnostics, semanticDiagnostics); + } + return semanticDiagnostics; + } + forEach(host.getSourceFiles(), (file) => checkSourceFileWithEagerDiagnostics(file)); + return diagnostics.getDiagnostics(); + } + function getGlobalDiagnostics() { + ensurePendingDiagnosticWorkComplete(); + return diagnostics.getGlobalDiagnostics(); + } + function getSymbolsInScope(location, meaning) { + if (location.flags & 67108864 /* InWithStatement */) { + return []; + } + const symbols = createSymbolTable(); + let isStaticSymbol = false; + populateSymbols(); + symbols.delete("this" /* This */); + return symbolsToArray(symbols); + function populateSymbols() { + while (location) { + if (canHaveLocals(location) && location.locals && !isGlobalSourceFile(location)) { + copySymbols(location.locals, meaning); + } + switch (location.kind) { + case 307 /* SourceFile */: + if (!isExternalModule(location)) break; + // falls through + case 267 /* ModuleDeclaration */: + copyLocallyVisibleExportSymbols(getSymbolOfDeclaration(location).exports, meaning & 2623475 /* ModuleMember */); + break; + case 266 /* EnumDeclaration */: + copySymbols(getSymbolOfDeclaration(location).exports, meaning & 8 /* EnumMember */); + break; + case 231 /* ClassExpression */: + const className = location.name; + if (className) { + copySymbol(location.symbol, meaning); + } + // this fall-through is necessary because we would like to handle + // type parameter inside class expression similar to how we handle it in classDeclaration and interface Declaration. + // falls through + case 263 /* ClassDeclaration */: + case 264 /* InterfaceDeclaration */: + if (!isStaticSymbol) { + copySymbols(getMembersOfSymbol(getSymbolOfDeclaration(location)), meaning & 788968 /* Type */); + } + break; + case 218 /* FunctionExpression */: + const funcName = location.name; + if (funcName) { + copySymbol(location.symbol, meaning); + } + break; + } + if (introducesArgumentsExoticObject(location)) { + copySymbol(argumentsSymbol, meaning); + } + isStaticSymbol = isStatic(location); + location = location.parent; + } + copySymbols(globals, meaning); + } + function copySymbol(symbol, meaning2) { + if (getCombinedLocalAndExportSymbolFlags(symbol) & meaning2) { + const id = symbol.escapedName; + if (!symbols.has(id)) { + symbols.set(id, symbol); + } + } + } + function copySymbols(source, meaning2) { + if (meaning2) { + source.forEach((symbol) => { + copySymbol(symbol, meaning2); + }); + } + } + function copyLocallyVisibleExportSymbols(source, meaning2) { + if (meaning2) { + source.forEach((symbol) => { + if (!getDeclarationOfKind(symbol, 281 /* ExportSpecifier */) && !getDeclarationOfKind(symbol, 280 /* NamespaceExport */) && symbol.escapedName !== "default" /* Default */) { + copySymbol(symbol, meaning2); + } + }); + } + } + } + function isTypeDeclarationName(name) { + return name.kind === 80 /* Identifier */ && isTypeDeclaration(name.parent) && getNameOfDeclaration(name.parent) === name; + } + function isTypeReferenceIdentifier(node) { + while (node.parent.kind === 166 /* QualifiedName */) { + node = node.parent; + } + return node.parent.kind === 183 /* TypeReference */; + } + function isInNameOfExpressionWithTypeArguments(node) { + while (node.parent.kind === 211 /* PropertyAccessExpression */) { + node = node.parent; + } + return node.parent.kind === 233 /* ExpressionWithTypeArguments */; + } + function forEachEnclosingClass(node, callback) { + let result; + let containingClass = getContainingClass(node); + while (containingClass) { + if (result = callback(containingClass)) break; + containingClass = getContainingClass(containingClass); + } + return result; + } + function isNodeUsedDuringClassInitialization(node) { + return !!findAncestor(node, (element) => { + if (isConstructorDeclaration(element) && nodeIsPresent(element.body) || isPropertyDeclaration(element)) { + return true; + } else if (isClassLike(element) || isFunctionLikeDeclaration(element)) { + return "quit"; + } + return false; + }); + } + function isNodeWithinClass(node, classDeclaration) { + return !!forEachEnclosingClass(node, (n) => n === classDeclaration); + } + function getLeftSideOfImportEqualsOrExportAssignment(nodeOnRightSide) { + while (nodeOnRightSide.parent.kind === 166 /* QualifiedName */) { + nodeOnRightSide = nodeOnRightSide.parent; + } + if (nodeOnRightSide.parent.kind === 271 /* ImportEqualsDeclaration */) { + return nodeOnRightSide.parent.moduleReference === nodeOnRightSide ? nodeOnRightSide.parent : void 0; + } + if (nodeOnRightSide.parent.kind === 277 /* ExportAssignment */) { + return nodeOnRightSide.parent.expression === nodeOnRightSide ? nodeOnRightSide.parent : void 0; + } + return void 0; + } + function isInRightSideOfImportOrExportAssignment(node) { + return getLeftSideOfImportEqualsOrExportAssignment(node) !== void 0; + } + function getSpecialPropertyAssignmentSymbolFromEntityName(entityName) { + const specialPropertyAssignmentKind = getAssignmentDeclarationKind(entityName.parent.parent); + switch (specialPropertyAssignmentKind) { + case 1 /* ExportsProperty */: + case 3 /* PrototypeProperty */: + return getSymbolOfNode(entityName.parent); + case 5 /* Property */: + if (isPropertyAccessExpression(entityName.parent) && getLeftmostAccessExpression(entityName.parent) === entityName) { + return void 0; + } + // falls through + case 4 /* ThisProperty */: + case 2 /* ModuleExports */: + return getSymbolOfDeclaration(entityName.parent.parent); + } + } + function isImportTypeQualifierPart(node) { + let parent = node.parent; + while (isQualifiedName(parent)) { + node = parent; + parent = parent.parent; + } + if (parent && parent.kind === 205 /* ImportType */ && parent.qualifier === node) { + return parent; + } + return void 0; + } + function isThisPropertyAndThisTyped(node) { + if (node.expression.kind === 110 /* ThisKeyword */) { + const container = getThisContainer( + node, + /*includeArrowFunctions*/ + false, + /*includeClassComputedPropertyName*/ + false + ); + if (isFunctionLike(container)) { + const containingLiteral = getContainingObjectLiteral(container); + if (containingLiteral) { + const contextualType = getApparentTypeOfContextualType( + containingLiteral, + /*contextFlags*/ + void 0 + ); + const type = getThisTypeOfObjectLiteralFromContextualType(containingLiteral, contextualType); + return type && !isTypeAny(type); + } + } + } + } + function getSymbolOfNameOrPropertyAccessExpression(name) { + if (isDeclarationName(name)) { + return getSymbolOfNode(name.parent); + } + if (isInJSFile(name) && name.parent.kind === 211 /* PropertyAccessExpression */ && name.parent === name.parent.parent.left) { + if (!isPrivateIdentifier(name) && !isJSDocMemberName(name) && !isThisPropertyAndThisTyped(name.parent)) { + const specialPropertyAssignmentSymbol = getSpecialPropertyAssignmentSymbolFromEntityName(name); + if (specialPropertyAssignmentSymbol) { + return specialPropertyAssignmentSymbol; + } + } + } + if (name.parent.kind === 277 /* ExportAssignment */ && isEntityNameExpression(name)) { + const success = resolveEntityName( + name, + /*all meanings*/ + 111551 /* Value */ | 788968 /* Type */ | 1920 /* Namespace */ | 2097152 /* Alias */, + /*ignoreErrors*/ + true + ); + if (success && success !== unknownSymbol) { + return success; + } + } else if (isEntityName(name) && isInRightSideOfImportOrExportAssignment(name)) { + const importEqualsDeclaration = getAncestor(name, 271 /* ImportEqualsDeclaration */); + Debug.assert(importEqualsDeclaration !== void 0); + return getSymbolOfPartOfRightHandSideOfImportEquals( + name, + /*dontResolveAlias*/ + true + ); + } + if (isEntityName(name)) { + const possibleImportNode = isImportTypeQualifierPart(name); + if (possibleImportNode) { + getTypeFromTypeNode(possibleImportNode); + const sym = getNodeLinks(name).resolvedSymbol; + return sym === unknownSymbol ? void 0 : sym; + } + } + while (isRightSideOfQualifiedNameOrPropertyAccessOrJSDocMemberName(name)) { + name = name.parent; + } + if (isInNameOfExpressionWithTypeArguments(name)) { + let meaning = 0 /* None */; + if (name.parent.kind === 233 /* ExpressionWithTypeArguments */) { + meaning = isPartOfTypeNode(name) ? 788968 /* Type */ : 111551 /* Value */; + if (isExpressionWithTypeArgumentsInClassExtendsClause(name.parent)) { + meaning |= 111551 /* Value */; + } + } else { + meaning = 1920 /* Namespace */; + } + meaning |= 2097152 /* Alias */; + const entityNameSymbol = isEntityNameExpression(name) ? resolveEntityName( + name, + meaning, + /*ignoreErrors*/ + true + ) : void 0; + if (entityNameSymbol) { + return entityNameSymbol; + } + } + if (name.parent.kind === 341 /* JSDocParameterTag */) { + return getParameterSymbolFromJSDoc(name.parent); + } + if (name.parent.kind === 168 /* TypeParameter */ && name.parent.parent.kind === 345 /* JSDocTemplateTag */) { + Debug.assert(!isInJSFile(name)); + const typeParameter = getTypeParameterFromJsDoc(name.parent); + return typeParameter && typeParameter.symbol; + } + if (isExpressionNode(name)) { + if (nodeIsMissing(name)) { + return void 0; + } + const isJSDoc2 = findAncestor(name, or(isJSDocLinkLike, isJSDocNameReference, isJSDocMemberName)); + const meaning = isJSDoc2 ? 788968 /* Type */ | 1920 /* Namespace */ | 111551 /* Value */ : 111551 /* Value */; + if (name.kind === 80 /* Identifier */) { + if (isJSXTagName(name) && isJsxIntrinsicTagName(name)) { + const symbol = getIntrinsicTagSymbol(name.parent); + return symbol === unknownSymbol ? void 0 : symbol; + } + const result = resolveEntityName( + name, + meaning, + /*ignoreErrors*/ + true, + /*dontResolveAlias*/ + true, + getHostSignatureFromJSDoc(name) + ); + if (!result && isJSDoc2) { + const container = findAncestor(name, or(isClassLike, isInterfaceDeclaration)); + if (container) { + return resolveJSDocMemberName( + name, + /*ignoreErrors*/ + true, + getSymbolOfDeclaration(container) + ); + } + } + if (result && isJSDoc2) { + const container = getJSDocHost(name); + if (container && isEnumMember(container) && container === result.valueDeclaration) { + return resolveEntityName( + name, + meaning, + /*ignoreErrors*/ + true, + /*dontResolveAlias*/ + true, + getSourceFileOfNode(container) + ) || result; + } + } + return result; + } else if (isPrivateIdentifier(name)) { + return getSymbolForPrivateIdentifierExpression(name); + } else if (name.kind === 211 /* PropertyAccessExpression */ || name.kind === 166 /* QualifiedName */) { + const links = getNodeLinks(name); + if (links.resolvedSymbol) { + return links.resolvedSymbol; + } + if (name.kind === 211 /* PropertyAccessExpression */) { + checkPropertyAccessExpression(name, 0 /* Normal */); + if (!links.resolvedSymbol) { + links.resolvedSymbol = getApplicableIndexSymbol(checkExpressionCached(name.expression), getLiteralTypeFromPropertyName(name.name)); + } + } else { + checkQualifiedName(name, 0 /* Normal */); + } + if (!links.resolvedSymbol && isJSDoc2 && isQualifiedName(name)) { + return resolveJSDocMemberName(name); + } + return links.resolvedSymbol; + } else if (isJSDocMemberName(name)) { + return resolveJSDocMemberName(name); + } + } else if (isEntityName(name) && isTypeReferenceIdentifier(name)) { + const meaning = name.parent.kind === 183 /* TypeReference */ ? 788968 /* Type */ : 1920 /* Namespace */; + const symbol = resolveEntityName( + name, + meaning, + /*ignoreErrors*/ + false, + /*dontResolveAlias*/ + true + ); + return symbol && symbol !== unknownSymbol ? symbol : getUnresolvedSymbolForEntityName(name); + } + if (name.parent.kind === 182 /* TypePredicate */) { + return resolveEntityName( + name, + /*meaning*/ + 1 /* FunctionScopedVariable */ + ); + } + return void 0; + } + function getApplicableIndexSymbol(type, keyType) { + const infos = getApplicableIndexInfos(type, keyType); + if (infos.length && type.members) { + const symbol = getIndexSymbolFromSymbolTable(resolveStructuredTypeMembers(type).members); + if (infos === getIndexInfosOfType(type)) { + return symbol; + } else if (symbol) { + const symbolLinks2 = getSymbolLinks(symbol); + const declarationList = mapDefined(infos, (i) => i.declaration); + const nodeListId = map(declarationList, getNodeId).join(","); + if (!symbolLinks2.filteredIndexSymbolCache) { + symbolLinks2.filteredIndexSymbolCache = /* @__PURE__ */ new Map(); + } + if (symbolLinks2.filteredIndexSymbolCache.has(nodeListId)) { + return symbolLinks2.filteredIndexSymbolCache.get(nodeListId); + } else { + const copy = createSymbol(131072 /* Signature */, "__index" /* Index */); + copy.declarations = mapDefined(infos, (i) => i.declaration); + copy.parent = type.aliasSymbol ? type.aliasSymbol : type.symbol ? type.symbol : getSymbolAtLocation(copy.declarations[0].parent); + symbolLinks2.filteredIndexSymbolCache.set(nodeListId, copy); + return copy; + } + } + } + } + function resolveJSDocMemberName(name, ignoreErrors, container) { + if (isEntityName(name)) { + const meaning = 788968 /* Type */ | 1920 /* Namespace */ | 111551 /* Value */; + let symbol = resolveEntityName( + name, + meaning, + ignoreErrors, + /*dontResolveAlias*/ + true, + getHostSignatureFromJSDoc(name) + ); + if (!symbol && isIdentifier(name) && container) { + symbol = getMergedSymbol(getSymbol(getExportsOfSymbol(container), name.escapedText, meaning)); + } + if (symbol) { + return symbol; + } + } + const left = isIdentifier(name) ? container : resolveJSDocMemberName(name.left, ignoreErrors, container); + const right = isIdentifier(name) ? name.escapedText : name.right.escapedText; + if (left) { + const proto = left.flags & 111551 /* Value */ && getPropertyOfType(getTypeOfSymbol(left), "prototype"); + const t = proto ? getTypeOfSymbol(proto) : getDeclaredTypeOfSymbol(left); + return getPropertyOfType(t, right); + } + } + function getSymbolAtLocation(node, ignoreErrors) { + if (isSourceFile(node)) { + return isExternalModule(node) ? getMergedSymbol(node.symbol) : void 0; + } + const { parent } = node; + const grandParent = parent.parent; + if (node.flags & 67108864 /* InWithStatement */) { + return void 0; + } + if (isDeclarationNameOrImportPropertyName(node)) { + const parentSymbol = getSymbolOfDeclaration(parent); + return isImportOrExportSpecifier(node.parent) && node.parent.propertyName === node ? getImmediateAliasedSymbol(parentSymbol) : parentSymbol; + } else if (isLiteralComputedPropertyDeclarationName(node)) { + return getSymbolOfDeclaration(parent.parent); + } + if (node.kind === 80 /* Identifier */) { + if (isInRightSideOfImportOrExportAssignment(node)) { + return getSymbolOfNameOrPropertyAccessExpression(node); + } else if (parent.kind === 208 /* BindingElement */ && grandParent.kind === 206 /* ObjectBindingPattern */ && node === parent.propertyName) { + const typeOfPattern = getTypeOfNode(grandParent); + const propertyDeclaration = getPropertyOfType(typeOfPattern, node.escapedText); + if (propertyDeclaration) { + return propertyDeclaration; + } + } else if (isMetaProperty(parent) && parent.name === node) { + if (parent.keywordToken === 105 /* NewKeyword */ && idText(node) === "target") { + return checkNewTargetMetaProperty(parent).symbol; + } + if (parent.keywordToken === 102 /* ImportKeyword */ && idText(node) === "meta") { + return getGlobalImportMetaExpressionType().members.get("meta"); + } + return void 0; + } + } + switch (node.kind) { + case 80 /* Identifier */: + case 81 /* PrivateIdentifier */: + case 211 /* PropertyAccessExpression */: + case 166 /* QualifiedName */: + if (!isThisInTypeQuery(node)) { + return getSymbolOfNameOrPropertyAccessExpression(node); + } + // falls through + case 110 /* ThisKeyword */: + const container = getThisContainer( + node, + /*includeArrowFunctions*/ + false, + /*includeClassComputedPropertyName*/ + false + ); + if (isFunctionLike(container)) { + const sig = getSignatureFromDeclaration(container); + if (sig.thisParameter) { + return sig.thisParameter; + } + } + if (isInExpressionContext(node)) { + return checkExpression(node).symbol; + } + // falls through + case 197 /* ThisType */: + return getTypeFromThisTypeNode(node).symbol; + case 108 /* SuperKeyword */: + return checkExpression(node).symbol; + case 137 /* ConstructorKeyword */: + const constructorDeclaration = node.parent; + if (constructorDeclaration && constructorDeclaration.kind === 176 /* Constructor */) { + return constructorDeclaration.parent.symbol; + } + return void 0; + case 11 /* StringLiteral */: + case 15 /* NoSubstitutionTemplateLiteral */: + if (isExternalModuleImportEqualsDeclaration(node.parent.parent) && getExternalModuleImportEqualsDeclarationExpression(node.parent.parent) === node || (node.parent.kind === 272 /* ImportDeclaration */ || node.parent.kind === 278 /* ExportDeclaration */) && node.parent.moduleSpecifier === node || isInJSFile(node) && isJSDocImportTag(node.parent) && node.parent.moduleSpecifier === node || (isInJSFile(node) && isRequireCall( + node.parent, + /*requireStringLiteralLikeArgument*/ + false + ) || isImportCall(node.parent)) || isLiteralTypeNode(node.parent) && isLiteralImportTypeNode(node.parent.parent) && node.parent.parent.argument === node.parent) { + return resolveExternalModuleName(node, node, ignoreErrors); + } + if (isCallExpression(parent) && isBindableObjectDefinePropertyCall(parent) && parent.arguments[1] === node) { + return getSymbolOfDeclaration(parent); + } + // falls through + case 9 /* NumericLiteral */: + const objectType = isElementAccessExpression(parent) ? parent.argumentExpression === node ? getTypeOfExpression(parent.expression) : void 0 : isLiteralTypeNode(parent) && isIndexedAccessTypeNode(grandParent) ? getTypeFromTypeNode(grandParent.objectType) : void 0; + return objectType && getPropertyOfType(objectType, escapeLeadingUnderscores(node.text)); + case 90 /* DefaultKeyword */: + case 100 /* FunctionKeyword */: + case 39 /* EqualsGreaterThanToken */: + case 86 /* ClassKeyword */: + return getSymbolOfNode(node.parent); + case 205 /* ImportType */: + return isLiteralImportTypeNode(node) ? getSymbolAtLocation(node.argument.literal, ignoreErrors) : void 0; + case 95 /* ExportKeyword */: + return isExportAssignment(node.parent) ? Debug.checkDefined(node.parent.symbol) : void 0; + case 102 /* ImportKeyword */: + case 105 /* NewKeyword */: + return isMetaProperty(node.parent) ? checkMetaPropertyKeyword(node.parent).symbol : void 0; + case 104 /* InstanceOfKeyword */: + if (isBinaryExpression(node.parent)) { + const type = getTypeOfExpression(node.parent.right); + const hasInstanceMethodType = getSymbolHasInstanceMethodOfObjectType(type); + return (hasInstanceMethodType == null ? void 0 : hasInstanceMethodType.symbol) ?? type.symbol; + } + return void 0; + case 236 /* MetaProperty */: + return checkExpression(node).symbol; + case 295 /* JsxNamespacedName */: + if (isJSXTagName(node) && isJsxIntrinsicTagName(node)) { + const symbol = getIntrinsicTagSymbol(node.parent); + return symbol === unknownSymbol ? void 0 : symbol; + } + // falls through + default: + return void 0; + } + } + function getIndexInfosAtLocation(node) { + if (isIdentifier(node) && isPropertyAccessExpression(node.parent) && node.parent.name === node) { + const keyType = getLiteralTypeFromPropertyName(node); + const objectType = getTypeOfExpression(node.parent.expression); + const objectTypes = objectType.flags & 1048576 /* Union */ ? objectType.types : [objectType]; + return flatMap(objectTypes, (t) => filter(getIndexInfosOfType(t), (info) => isApplicableIndexType(keyType, info.keyType))); + } + return void 0; + } + function getShorthandAssignmentValueSymbol(location) { + if (location && location.kind === 304 /* ShorthandPropertyAssignment */) { + return resolveEntityName(location.name, 111551 /* Value */ | 2097152 /* Alias */); + } + return void 0; + } + function getExportSpecifierLocalTargetSymbol(node) { + if (isExportSpecifier(node)) { + const name = node.propertyName || node.name; + return node.parent.parent.moduleSpecifier ? getExternalModuleMember(node.parent.parent, node) : name.kind === 11 /* StringLiteral */ ? void 0 : ( + // Skip for invalid syntax like this: export { "x" } + resolveEntityName(name, 111551 /* Value */ | 788968 /* Type */ | 1920 /* Namespace */ | 2097152 /* Alias */) + ); + } else { + return resolveEntityName(node, 111551 /* Value */ | 788968 /* Type */ | 1920 /* Namespace */ | 2097152 /* Alias */); + } + } + function getTypeOfNode(node) { + if (isSourceFile(node) && !isExternalModule(node)) { + return errorType; + } + if (node.flags & 67108864 /* InWithStatement */) { + return errorType; + } + const classDecl = tryGetClassImplementingOrExtendingExpressionWithTypeArguments(node); + const classType = classDecl && getDeclaredTypeOfClassOrInterface(getSymbolOfDeclaration(classDecl.class)); + if (isPartOfTypeNode(node)) { + const typeFromTypeNode = getTypeFromTypeNode(node); + return classType ? getTypeWithThisArgument(typeFromTypeNode, classType.thisType) : typeFromTypeNode; + } + if (isExpressionNode(node)) { + return getRegularTypeOfExpression(node); + } + if (classType && !classDecl.isImplements) { + const baseType = firstOrUndefined(getBaseTypes(classType)); + return baseType ? getTypeWithThisArgument(baseType, classType.thisType) : errorType; + } + if (isTypeDeclaration(node)) { + const symbol = getSymbolOfDeclaration(node); + return getDeclaredTypeOfSymbol(symbol); + } + if (isTypeDeclarationName(node)) { + const symbol = getSymbolAtLocation(node); + return symbol ? getDeclaredTypeOfSymbol(symbol) : errorType; + } + if (isBindingElement(node)) { + return getTypeForVariableLikeDeclaration( + node, + /*includeOptionality*/ + true, + 0 /* Normal */ + ) || errorType; + } + if (isDeclaration(node)) { + const symbol = getSymbolOfDeclaration(node); + return symbol ? getTypeOfSymbol(symbol) : errorType; + } + if (isDeclarationNameOrImportPropertyName(node)) { + const symbol = getSymbolAtLocation(node); + if (symbol) { + return getTypeOfSymbol(symbol); + } + return errorType; + } + if (isBindingPattern(node)) { + return getTypeForVariableLikeDeclaration( + node.parent, + /*includeOptionality*/ + true, + 0 /* Normal */ + ) || errorType; + } + if (isInRightSideOfImportOrExportAssignment(node)) { + const symbol = getSymbolAtLocation(node); + if (symbol) { + const declaredType = getDeclaredTypeOfSymbol(symbol); + return !isErrorType(declaredType) ? declaredType : getTypeOfSymbol(symbol); + } + } + if (isMetaProperty(node.parent) && node.parent.keywordToken === node.kind) { + return checkMetaPropertyKeyword(node.parent); + } + if (isImportAttributes(node)) { + return getGlobalImportAttributesType( + /*reportErrors*/ + false + ); + } + return errorType; + } + function getTypeOfAssignmentPattern(expr) { + Debug.assert(expr.kind === 210 /* ObjectLiteralExpression */ || expr.kind === 209 /* ArrayLiteralExpression */); + if (expr.parent.kind === 250 /* ForOfStatement */) { + const iteratedType = checkRightHandSideOfForOf(expr.parent); + return checkDestructuringAssignment(expr, iteratedType || errorType); + } + if (expr.parent.kind === 226 /* BinaryExpression */) { + const iteratedType = getTypeOfExpression(expr.parent.right); + return checkDestructuringAssignment(expr, iteratedType || errorType); + } + if (expr.parent.kind === 303 /* PropertyAssignment */) { + const node2 = cast(expr.parent.parent, isObjectLiteralExpression); + const typeOfParentObjectLiteral = getTypeOfAssignmentPattern(node2) || errorType; + const propertyIndex = indexOfNode(node2.properties, expr.parent); + return checkObjectLiteralDestructuringPropertyAssignment(node2, typeOfParentObjectLiteral, propertyIndex); + } + const node = cast(expr.parent, isArrayLiteralExpression); + const typeOfArrayLiteral = getTypeOfAssignmentPattern(node) || errorType; + const elementType = checkIteratedTypeOrElementType(65 /* Destructuring */, typeOfArrayLiteral, undefinedType, expr.parent) || errorType; + return checkArrayLiteralDestructuringElementAssignment(node, typeOfArrayLiteral, node.elements.indexOf(expr), elementType); + } + function getPropertySymbolOfDestructuringAssignment(location) { + const typeOfObjectLiteral = getTypeOfAssignmentPattern(cast(location.parent.parent, isAssignmentPattern)); + return typeOfObjectLiteral && getPropertyOfType(typeOfObjectLiteral, location.escapedText); + } + function getRegularTypeOfExpression(expr) { + if (isRightSideOfQualifiedNameOrPropertyAccess(expr)) { + expr = expr.parent; + } + return getRegularTypeOfLiteralType(getTypeOfExpression(expr)); + } + function getParentTypeOfClassElement(node) { + const classSymbol = getSymbolOfNode(node.parent); + return isStatic(node) ? getTypeOfSymbol(classSymbol) : getDeclaredTypeOfSymbol(classSymbol); + } + function getClassElementPropertyKeyType(element) { + const name = element.name; + switch (name.kind) { + case 80 /* Identifier */: + return getStringLiteralType(idText(name)); + case 9 /* NumericLiteral */: + case 11 /* StringLiteral */: + return getStringLiteralType(name.text); + case 167 /* ComputedPropertyName */: + const nameType = checkComputedPropertyName(name); + return isTypeAssignableToKind(nameType, 12288 /* ESSymbolLike */) ? nameType : stringType; + default: + return Debug.fail("Unsupported property name."); + } + } + function getAugmentedPropertiesOfType(type) { + type = getApparentType(type); + const propsByName = createSymbolTable(getPropertiesOfType(type)); + const functionType = getSignaturesOfType(type, 0 /* Call */).length ? globalCallableFunctionType : getSignaturesOfType(type, 1 /* Construct */).length ? globalNewableFunctionType : void 0; + if (functionType) { + forEach(getPropertiesOfType(functionType), (p) => { + if (!propsByName.has(p.escapedName)) { + propsByName.set(p.escapedName, p); + } + }); + } + return getNamedMembers(propsByName); + } + function typeHasCallOrConstructSignatures(type) { + return getSignaturesOfType(type, 0 /* Call */).length !== 0 || getSignaturesOfType(type, 1 /* Construct */).length !== 0; + } + function getRootSymbols(symbol) { + const roots = getImmediateRootSymbols(symbol); + return roots ? flatMap(roots, getRootSymbols) : [symbol]; + } + function getImmediateRootSymbols(symbol) { + if (getCheckFlags(symbol) & 6 /* Synthetic */) { + return mapDefined(getSymbolLinks(symbol).containingType.types, (type) => getPropertyOfType(type, symbol.escapedName)); + } else if (symbol.flags & 33554432 /* Transient */) { + const { links: { leftSpread, rightSpread, syntheticOrigin } } = symbol; + return leftSpread ? [leftSpread, rightSpread] : syntheticOrigin ? [syntheticOrigin] : singleElementArray(tryGetTarget(symbol)); + } + return void 0; + } + function tryGetTarget(symbol) { + let target; + let next = symbol; + while (next = getSymbolLinks(next).target) { + target = next; + } + return target; + } + function isArgumentsLocalBinding(nodeIn) { + if (isGeneratedIdentifier(nodeIn)) return false; + const node = getParseTreeNode(nodeIn, isIdentifier); + if (!node) return false; + const parent = node.parent; + if (!parent) return false; + const isPropertyName2 = (isPropertyAccessExpression(parent) || isPropertyAssignment(parent)) && parent.name === node; + return !isPropertyName2 && getReferencedValueSymbol(node) === argumentsSymbol; + } + function isNameOfModuleOrEnumDeclaration(node) { + return isModuleOrEnumDeclaration(node.parent) && node === node.parent.name; + } + function getReferencedExportContainer(nodeIn, prefixLocals) { + var _a; + const node = getParseTreeNode(nodeIn, isIdentifier); + if (node) { + let symbol = getReferencedValueSymbol( + node, + /*startInDeclarationContainer*/ + isNameOfModuleOrEnumDeclaration(node) + ); + if (symbol) { + if (symbol.flags & 1048576 /* ExportValue */) { + const exportSymbol = getMergedSymbol(symbol.exportSymbol); + if (!prefixLocals && exportSymbol.flags & 944 /* ExportHasLocal */ && !(exportSymbol.flags & 3 /* Variable */)) { + return void 0; + } + symbol = exportSymbol; + } + const parentSymbol = getParentOfSymbol(symbol); + if (parentSymbol) { + if (parentSymbol.flags & 512 /* ValueModule */ && ((_a = parentSymbol.valueDeclaration) == null ? void 0 : _a.kind) === 307 /* SourceFile */) { + const symbolFile = parentSymbol.valueDeclaration; + const referenceFile = getSourceFileOfNode(node); + const symbolIsUmdExport = symbolFile !== referenceFile; + return symbolIsUmdExport ? void 0 : symbolFile; + } + return findAncestor(node.parent, (n) => isModuleOrEnumDeclaration(n) && getSymbolOfDeclaration(n) === parentSymbol); + } + } + } + } + function getReferencedImportDeclaration(nodeIn) { + const specifier = getIdentifierGeneratedImportReference(nodeIn); + if (specifier) { + return specifier; + } + const node = getParseTreeNode(nodeIn, isIdentifier); + if (node) { + const symbol = getReferencedValueOrAliasSymbol(node); + if (isNonLocalAlias( + symbol, + /*excludes*/ + 111551 /* Value */ + ) && !getTypeOnlyAliasDeclaration(symbol, 111551 /* Value */)) { + return getDeclarationOfAliasSymbol(symbol); + } + } + return void 0; + } + function isSymbolOfDestructuredElementOfCatchBinding(symbol) { + return symbol.valueDeclaration && isBindingElement(symbol.valueDeclaration) && walkUpBindingElementsAndPatterns(symbol.valueDeclaration).parent.kind === 299 /* CatchClause */; + } + function isSymbolOfDeclarationWithCollidingName(symbol) { + if (symbol.flags & 418 /* BlockScoped */ && symbol.valueDeclaration && !isSourceFile(symbol.valueDeclaration)) { + const links = getSymbolLinks(symbol); + if (links.isDeclarationWithCollidingName === void 0) { + const container = getEnclosingBlockScopeContainer(symbol.valueDeclaration); + if (isStatementWithLocals(container) || isSymbolOfDestructuredElementOfCatchBinding(symbol)) { + if (resolveName( + container.parent, + symbol.escapedName, + 111551 /* Value */, + /*nameNotFoundMessage*/ + void 0, + /*isUse*/ + false + )) { + links.isDeclarationWithCollidingName = true; + } else if (hasNodeCheckFlag(symbol.valueDeclaration, 16384 /* CapturedBlockScopedBinding */)) { + const isDeclaredInLoop = hasNodeCheckFlag(symbol.valueDeclaration, 32768 /* BlockScopedBindingInLoop */); + const inLoopInitializer = isIterationStatement( + container, + /*lookInLabeledStatements*/ + false + ); + const inLoopBodyBlock = container.kind === 241 /* Block */ && isIterationStatement( + container.parent, + /*lookInLabeledStatements*/ + false + ); + links.isDeclarationWithCollidingName = !isBlockScopedContainerTopLevel(container) && (!isDeclaredInLoop || !inLoopInitializer && !inLoopBodyBlock); + } else { + links.isDeclarationWithCollidingName = false; + } + } + } + return links.isDeclarationWithCollidingName; + } + return false; + } + function getReferencedDeclarationWithCollidingName(nodeIn) { + if (!isGeneratedIdentifier(nodeIn)) { + const node = getParseTreeNode(nodeIn, isIdentifier); + if (node) { + const symbol = getReferencedValueSymbol(node); + if (symbol && isSymbolOfDeclarationWithCollidingName(symbol)) { + return symbol.valueDeclaration; + } + } + } + return void 0; + } + function isDeclarationWithCollidingName(nodeIn) { + const node = getParseTreeNode(nodeIn, isDeclaration); + if (node) { + const symbol = getSymbolOfDeclaration(node); + if (symbol) { + return isSymbolOfDeclarationWithCollidingName(symbol); + } + } + return false; + } + function isValueAliasDeclaration(node) { + Debug.assert(canCollectSymbolAliasAccessabilityData); + switch (node.kind) { + case 271 /* ImportEqualsDeclaration */: + return isAliasResolvedToValue(getSymbolOfDeclaration(node)); + case 273 /* ImportClause */: + case 274 /* NamespaceImport */: + case 276 /* ImportSpecifier */: + case 281 /* ExportSpecifier */: + const symbol = getSymbolOfDeclaration(node); + return !!symbol && isAliasResolvedToValue( + symbol, + /*excludeTypeOnlyValues*/ + true + ); + case 278 /* ExportDeclaration */: + const exportClause = node.exportClause; + return !!exportClause && (isNamespaceExport(exportClause) || some(exportClause.elements, isValueAliasDeclaration)); + case 277 /* ExportAssignment */: + return node.expression && node.expression.kind === 80 /* Identifier */ ? isAliasResolvedToValue( + getSymbolOfDeclaration(node), + /*excludeTypeOnlyValues*/ + true + ) : true; + } + return false; + } + function isTopLevelValueImportEqualsWithEntityName(nodeIn) { + const node = getParseTreeNode(nodeIn, isImportEqualsDeclaration); + if (node === void 0 || node.parent.kind !== 307 /* SourceFile */ || !isInternalModuleImportEqualsDeclaration(node)) { + return false; + } + const isValue = isAliasResolvedToValue(getSymbolOfDeclaration(node)); + return isValue && node.moduleReference && !nodeIsMissing(node.moduleReference); + } + function isAliasResolvedToValue(symbol, excludeTypeOnlyValues) { + if (!symbol) { + return false; + } + const container = getSourceFileOfNode(symbol.valueDeclaration); + const fileSymbol = container && getSymbolOfDeclaration(container); + void resolveExternalModuleSymbol(fileSymbol); + const target = getExportSymbolOfValueSymbolIfExported(resolveAlias(symbol)); + if (target === unknownSymbol) { + return !excludeTypeOnlyValues || !getTypeOnlyAliasDeclaration(symbol); + } + return !!(getSymbolFlags( + symbol, + excludeTypeOnlyValues, + /*excludeLocalMeanings*/ + true + ) & 111551 /* Value */) && (shouldPreserveConstEnums(compilerOptions) || !isConstEnumOrConstEnumOnlyModule(target)); + } + function isConstEnumOrConstEnumOnlyModule(s) { + return isConstEnumSymbol(s) || !!s.constEnumOnlyModule; + } + function isReferencedAliasDeclaration(node, checkChildren) { + Debug.assert(canCollectSymbolAliasAccessabilityData); + if (isAliasSymbolDeclaration(node)) { + const symbol = getSymbolOfDeclaration(node); + const links = symbol && getSymbolLinks(symbol); + if (links == null ? void 0 : links.referenced) { + return true; + } + const target = getSymbolLinks(symbol).aliasTarget; + if (target && getEffectiveModifierFlags(node) & 32 /* Export */ && getSymbolFlags(target) & 111551 /* Value */ && (shouldPreserveConstEnums(compilerOptions) || !isConstEnumOrConstEnumOnlyModule(target))) { + return true; + } + } + if (checkChildren) { + return !!forEachChild(node, (node2) => isReferencedAliasDeclaration(node2, checkChildren)); + } + return false; + } + function isImplementationOfOverload(node) { + if (nodeIsPresent(node.body)) { + if (isGetAccessor(node) || isSetAccessor(node)) return false; + const symbol = getSymbolOfDeclaration(node); + const signaturesOfSymbol = getSignaturesOfSymbol(symbol); + return signaturesOfSymbol.length > 1 || // If there is single signature for the symbol, it is overload if that signature isn't coming from the node + // e.g.: function foo(a: string): string; + // function foo(a: any) { // This is implementation of the overloads + // return a; + // } + signaturesOfSymbol.length === 1 && signaturesOfSymbol[0].declaration !== node; + } + return false; + } + function declaredParameterTypeContainsUndefined(parameter) { + const typeNode = getNonlocalEffectiveTypeAnnotationNode(parameter); + if (!typeNode) return false; + const type = getTypeFromTypeNode(typeNode); + return isErrorType(type) || containsUndefinedType(type); + } + function requiresAddingImplicitUndefined(parameter, enclosingDeclaration) { + return (isRequiredInitializedParameter(parameter, enclosingDeclaration) || isOptionalUninitializedParameterProperty(parameter)) && !declaredParameterTypeContainsUndefined(parameter); + } + function isRequiredInitializedParameter(parameter, enclosingDeclaration) { + if (!strictNullChecks || isOptionalParameter(parameter) || isJSDocParameterTag(parameter) || !parameter.initializer) { + return false; + } + if (hasSyntacticModifier(parameter, 31 /* ParameterPropertyModifier */)) { + return !!enclosingDeclaration && isFunctionLikeDeclaration(enclosingDeclaration); + } + return true; + } + function isOptionalUninitializedParameterProperty(parameter) { + return strictNullChecks && isOptionalParameter(parameter) && (isJSDocParameterTag(parameter) || !parameter.initializer) && hasSyntacticModifier(parameter, 31 /* ParameterPropertyModifier */); + } + function isExpandoFunctionDeclaration(node) { + const declaration = getParseTreeNode(node, (n) => isFunctionDeclaration(n) || isVariableDeclaration(n)); + if (!declaration) { + return false; + } + let symbol; + if (isVariableDeclaration(declaration)) { + if (declaration.type || !isInJSFile(declaration) && !isVarConstLike2(declaration)) { + return false; + } + const initializer = getDeclaredExpandoInitializer(declaration); + if (!initializer || !canHaveSymbol(initializer)) { + return false; + } + symbol = getSymbolOfDeclaration(initializer); + } else { + symbol = getSymbolOfDeclaration(declaration); + } + if (!symbol || !(symbol.flags & 16 /* Function */ | 3 /* Variable */)) { + return false; + } + return !!forEachEntry(getExportsOfSymbol(symbol), (p) => p.flags & 111551 /* Value */ && isExpandoPropertyDeclaration(p.valueDeclaration)); + } + function getPropertiesOfContainerFunction(node) { + const declaration = getParseTreeNode(node, isFunctionDeclaration); + if (!declaration) { + return emptyArray; + } + const symbol = getSymbolOfDeclaration(declaration); + return symbol && getPropertiesOfType(getTypeOfSymbol(symbol)) || emptyArray; + } + function getNodeCheckFlags(node) { + var _a; + const nodeId = node.id || 0; + if (nodeId < 0 || nodeId >= nodeLinks.length) return 0; + return ((_a = nodeLinks[nodeId]) == null ? void 0 : _a.flags) || 0; + } + function hasNodeCheckFlag(node, flag) { + calculateNodeCheckFlagWorker(node, flag); + return !!(getNodeCheckFlags(node) & flag); + } + function calculateNodeCheckFlagWorker(node, flag) { + if (!compilerOptions.noCheck && canIncludeBindAndCheckDiagnostics(getSourceFileOfNode(node), compilerOptions)) { + return; + } + const links = getNodeLinks(node); + if (links.calculatedFlags & flag) { + return; + } + switch (flag) { + case 16 /* SuperInstance */: + case 32 /* SuperStatic */: + return checkSingleSuperExpression(node); + case 128 /* MethodWithSuperPropertyAccessInAsync */: + case 256 /* MethodWithSuperPropertyAssignmentInAsync */: + case 2097152 /* ContainsSuperPropertyInStaticInitializer */: + return checkChildSuperExpressions(node); + case 512 /* CaptureArguments */: + case 8192 /* ContainsCapturedBlockScopeBinding */: + case 65536 /* NeedsLoopOutParameter */: + case 262144 /* ContainsConstructorReference */: + return checkChildIdentifiers(node); + case 536870912 /* ConstructorReference */: + return checkSingleIdentifier(node); + case 4096 /* LoopWithCapturedBlockScopedBinding */: + case 32768 /* BlockScopedBindingInLoop */: + case 16384 /* CapturedBlockScopedBinding */: + return checkContainingBlockScopeBindingUses(node); + default: + return Debug.assertNever(flag, `Unhandled node check flag calculation: ${Debug.formatNodeCheckFlags(flag)}`); + } + function forEachNodeRecursively(root, cb) { + const rootResult = cb(root, root.parent); + if (rootResult === "skip") return void 0; + if (rootResult) return rootResult; + return forEachChildRecursively(root, cb); + } + function checkSuperExpressions(node2) { + const links2 = getNodeLinks(node2); + if (links2.calculatedFlags & flag) return "skip"; + links2.calculatedFlags |= 128 /* MethodWithSuperPropertyAccessInAsync */ | 256 /* MethodWithSuperPropertyAssignmentInAsync */ | 2097152 /* ContainsSuperPropertyInStaticInitializer */; + checkSingleSuperExpression(node2); + return void 0; + } + function checkChildSuperExpressions(node2) { + forEachNodeRecursively(node2, checkSuperExpressions); + } + function checkSingleSuperExpression(node2) { + const nodeLinks2 = getNodeLinks(node2); + nodeLinks2.calculatedFlags |= 16 /* SuperInstance */ | 32 /* SuperStatic */; + if (node2.kind === 108 /* SuperKeyword */) { + checkSuperExpression(node2); + } + } + function checkIdentifiers(node2) { + const links2 = getNodeLinks(node2); + if (links2.calculatedFlags & flag) return "skip"; + links2.calculatedFlags |= 512 /* CaptureArguments */ | 8192 /* ContainsCapturedBlockScopeBinding */ | 65536 /* NeedsLoopOutParameter */ | 262144 /* ContainsConstructorReference */; + checkSingleIdentifier(node2); + return void 0; + } + function checkChildIdentifiers(node2) { + forEachNodeRecursively(node2, checkIdentifiers); + } + function isExpressionNodeOrShorthandPropertyAssignmentName(node2) { + return isExpressionNode(node2) || isShorthandPropertyAssignment(node2.parent) && (node2.parent.objectAssignmentInitializer ?? node2.parent.name) === node2; + } + function checkSingleIdentifier(node2) { + const nodeLinks2 = getNodeLinks(node2); + nodeLinks2.calculatedFlags |= 536870912 /* ConstructorReference */; + if (isIdentifier(node2)) { + nodeLinks2.calculatedFlags |= 32768 /* BlockScopedBindingInLoop */ | 16384 /* CapturedBlockScopedBinding */; + if (isExpressionNodeOrShorthandPropertyAssignmentName(node2) && !(isPropertyAccessExpression(node2.parent) && node2.parent.name === node2)) { + const s = getResolvedSymbol(node2); + if (s && s !== unknownSymbol) { + checkIdentifierCalculateNodeCheckFlags(node2, s); + } + } + } + } + function checkBlockScopeBindings(node2) { + const links2 = getNodeLinks(node2); + if (links2.calculatedFlags & flag) return "skip"; + links2.calculatedFlags |= 4096 /* LoopWithCapturedBlockScopedBinding */ | 32768 /* BlockScopedBindingInLoop */ | 16384 /* CapturedBlockScopedBinding */; + checkSingleBlockScopeBinding(node2); + return void 0; + } + function checkContainingBlockScopeBindingUses(node2) { + const scope = getEnclosingBlockScopeContainer(isDeclarationName(node2) ? node2.parent : node2); + forEachNodeRecursively(scope, checkBlockScopeBindings); + } + function checkSingleBlockScopeBinding(node2) { + checkSingleIdentifier(node2); + if (isComputedPropertyName(node2)) { + checkComputedPropertyName(node2); + } + if (isPrivateIdentifier(node2) && isClassElement(node2.parent)) { + setNodeLinksForPrivateIdentifierScope(node2.parent); + } + } + } + function getEnumMemberValue(node) { + computeEnumMemberValues(node.parent); + return getNodeLinks(node).enumMemberValue ?? evaluatorResult( + /*value*/ + void 0 + ); + } + function canHaveConstantValue(node) { + switch (node.kind) { + case 306 /* EnumMember */: + case 211 /* PropertyAccessExpression */: + case 212 /* ElementAccessExpression */: + return true; + } + return false; + } + function getConstantValue2(node) { + if (node.kind === 306 /* EnumMember */) { + return getEnumMemberValue(node).value; + } + if (!getNodeLinks(node).resolvedSymbol) { + void checkExpressionCached(node); + } + const symbol = getNodeLinks(node).resolvedSymbol || (isEntityNameExpression(node) ? resolveEntityName( + node, + 111551 /* Value */, + /*ignoreErrors*/ + true + ) : void 0); + if (symbol && symbol.flags & 8 /* EnumMember */) { + const member = symbol.valueDeclaration; + if (isEnumConst(member.parent)) { + return getEnumMemberValue(member).value; + } + } + return void 0; + } + function isFunctionType(type) { + return !!(type.flags & 524288 /* Object */) && getSignaturesOfType(type, 0 /* Call */).length > 0; + } + function getTypeReferenceSerializationKind(typeNameIn, location) { + var _a; + const typeName = getParseTreeNode(typeNameIn, isEntityName); + if (!typeName) return 0 /* Unknown */; + if (location) { + location = getParseTreeNode(location); + if (!location) return 0 /* Unknown */; + } + let isTypeOnly = false; + if (isQualifiedName(typeName)) { + const rootValueSymbol = resolveEntityName( + getFirstIdentifier(typeName), + 111551 /* Value */, + /*ignoreErrors*/ + true, + /*dontResolveAlias*/ + true, + location + ); + isTypeOnly = !!((_a = rootValueSymbol == null ? void 0 : rootValueSymbol.declarations) == null ? void 0 : _a.every(isTypeOnlyImportOrExportDeclaration)); + } + const valueSymbol = resolveEntityName( + typeName, + 111551 /* Value */, + /*ignoreErrors*/ + true, + /*dontResolveAlias*/ + true, + location + ); + const resolvedValueSymbol = valueSymbol && valueSymbol.flags & 2097152 /* Alias */ ? resolveAlias(valueSymbol) : valueSymbol; + isTypeOnly || (isTypeOnly = !!(valueSymbol && getTypeOnlyAliasDeclaration(valueSymbol, 111551 /* Value */))); + const typeSymbol = resolveEntityName( + typeName, + 788968 /* Type */, + /*ignoreErrors*/ + true, + /*dontResolveAlias*/ + true, + location + ); + const resolvedTypeSymbol = typeSymbol && typeSymbol.flags & 2097152 /* Alias */ ? resolveAlias(typeSymbol) : typeSymbol; + if (!valueSymbol) { + isTypeOnly || (isTypeOnly = !!(typeSymbol && getTypeOnlyAliasDeclaration(typeSymbol, 788968 /* Type */))); + } + if (resolvedValueSymbol && resolvedValueSymbol === resolvedTypeSymbol) { + const globalPromiseSymbol = getGlobalPromiseConstructorSymbol( + /*reportErrors*/ + false + ); + if (globalPromiseSymbol && resolvedValueSymbol === globalPromiseSymbol) { + return 9 /* Promise */; + } + const constructorType = getTypeOfSymbol(resolvedValueSymbol); + if (constructorType && isConstructorType(constructorType)) { + return isTypeOnly ? 10 /* TypeWithCallSignature */ : 1 /* TypeWithConstructSignatureAndValue */; + } + } + if (!resolvedTypeSymbol) { + return isTypeOnly ? 11 /* ObjectType */ : 0 /* Unknown */; + } + const type = getDeclaredTypeOfSymbol(resolvedTypeSymbol); + if (isErrorType(type)) { + return isTypeOnly ? 11 /* ObjectType */ : 0 /* Unknown */; + } else if (type.flags & 3 /* AnyOrUnknown */) { + return 11 /* ObjectType */; + } else if (isTypeAssignableToKind(type, 16384 /* Void */ | 98304 /* Nullable */ | 131072 /* Never */)) { + return 2 /* VoidNullableOrNeverType */; + } else if (isTypeAssignableToKind(type, 528 /* BooleanLike */)) { + return 6 /* BooleanType */; + } else if (isTypeAssignableToKind(type, 296 /* NumberLike */)) { + return 3 /* NumberLikeType */; + } else if (isTypeAssignableToKind(type, 2112 /* BigIntLike */)) { + return 4 /* BigIntLikeType */; + } else if (isTypeAssignableToKind(type, 402653316 /* StringLike */)) { + return 5 /* StringLikeType */; + } else if (isTupleType(type)) { + return 7 /* ArrayLikeType */; + } else if (isTypeAssignableToKind(type, 12288 /* ESSymbolLike */)) { + return 8 /* ESSymbolType */; + } else if (isFunctionType(type)) { + return 10 /* TypeWithCallSignature */; + } else if (isArrayType(type)) { + return 7 /* ArrayLikeType */; + } else { + return 11 /* ObjectType */; + } + } + function createTypeOfDeclaration(declarationIn, enclosingDeclaration, flags, internalFlags, tracker) { + const declaration = getParseTreeNode(declarationIn, hasInferredType); + if (!declaration) { + return factory.createToken(133 /* AnyKeyword */); + } + const symbol = getSymbolOfDeclaration(declaration); + return nodeBuilder.serializeTypeForDeclaration(declaration, symbol, enclosingDeclaration, flags | 1024 /* MultilineObjectLiterals */, internalFlags, tracker); + } + function getAllAccessorDeclarationsForDeclaration(accessor) { + accessor = getParseTreeNode(accessor, isGetOrSetAccessorDeclaration); + const otherKind = accessor.kind === 178 /* SetAccessor */ ? 177 /* GetAccessor */ : 178 /* SetAccessor */; + const otherAccessor = getDeclarationOfKind(getSymbolOfDeclaration(accessor), otherKind); + const firstAccessor = otherAccessor && otherAccessor.pos < accessor.pos ? otherAccessor : accessor; + const secondAccessor = otherAccessor && otherAccessor.pos < accessor.pos ? accessor : otherAccessor; + const setAccessor = accessor.kind === 178 /* SetAccessor */ ? accessor : otherAccessor; + const getAccessor = accessor.kind === 177 /* GetAccessor */ ? accessor : otherAccessor; + return { + firstAccessor, + secondAccessor, + setAccessor, + getAccessor + }; + } + function createReturnTypeOfSignatureDeclaration(signatureDeclarationIn, enclosingDeclaration, flags, internalFlags, tracker) { + const signatureDeclaration = getParseTreeNode(signatureDeclarationIn, isFunctionLike); + if (!signatureDeclaration) { + return factory.createToken(133 /* AnyKeyword */); + } + return nodeBuilder.serializeReturnTypeForSignature(signatureDeclaration, enclosingDeclaration, flags | 1024 /* MultilineObjectLiterals */, internalFlags, tracker); + } + function createTypeOfExpression(exprIn, enclosingDeclaration, flags, internalFlags, tracker) { + const expr = getParseTreeNode(exprIn, isExpression); + if (!expr) { + return factory.createToken(133 /* AnyKeyword */); + } + return nodeBuilder.serializeTypeForExpression(expr, enclosingDeclaration, flags | 1024 /* MultilineObjectLiterals */, internalFlags, tracker); + } + function hasGlobalName(name) { + return globals.has(escapeLeadingUnderscores(name)); + } + function getReferencedValueSymbol(reference, startInDeclarationContainer) { + const resolvedSymbol = getNodeLinks(reference).resolvedSymbol; + if (resolvedSymbol) { + return resolvedSymbol; + } + let location = reference; + if (startInDeclarationContainer) { + const parent = reference.parent; + if (isDeclaration(parent) && reference === parent.name) { + location = getDeclarationContainer(parent); + } + } + return resolveName( + location, + reference.escapedText, + 111551 /* Value */ | 1048576 /* ExportValue */ | 2097152 /* Alias */, + /*nameNotFoundMessage*/ + void 0, + /*isUse*/ + true + ); + } + function getReferencedValueOrAliasSymbol(reference) { + const resolvedSymbol = getNodeLinks(reference).resolvedSymbol; + if (resolvedSymbol && resolvedSymbol !== unknownSymbol) { + return resolvedSymbol; + } + return resolveName( + reference, + reference.escapedText, + 111551 /* Value */ | 1048576 /* ExportValue */ | 2097152 /* Alias */, + /*nameNotFoundMessage*/ + void 0, + /*isUse*/ + true, + /*excludeGlobals*/ + void 0 + ); + } + function getReferencedValueDeclaration(referenceIn) { + if (!isGeneratedIdentifier(referenceIn)) { + const reference = getParseTreeNode(referenceIn, isIdentifier); + if (reference) { + const symbol = getReferencedValueSymbol(reference); + if (symbol) { + return getExportSymbolOfValueSymbolIfExported(symbol).valueDeclaration; + } + } + } + return void 0; + } + function getReferencedValueDeclarations(referenceIn) { + if (!isGeneratedIdentifier(referenceIn)) { + const reference = getParseTreeNode(referenceIn, isIdentifier); + if (reference) { + const symbol = getReferencedValueSymbol(reference); + if (symbol) { + return filter(getExportSymbolOfValueSymbolIfExported(symbol).declarations, (declaration) => { + switch (declaration.kind) { + case 260 /* VariableDeclaration */: + case 169 /* Parameter */: + case 208 /* BindingElement */: + case 172 /* PropertyDeclaration */: + case 303 /* PropertyAssignment */: + case 304 /* ShorthandPropertyAssignment */: + case 306 /* EnumMember */: + case 210 /* ObjectLiteralExpression */: + case 262 /* FunctionDeclaration */: + case 218 /* FunctionExpression */: + case 219 /* ArrowFunction */: + case 263 /* ClassDeclaration */: + case 231 /* ClassExpression */: + case 266 /* EnumDeclaration */: + case 174 /* MethodDeclaration */: + case 177 /* GetAccessor */: + case 178 /* SetAccessor */: + case 267 /* ModuleDeclaration */: + return true; + } + return false; + }); + } + } + } + return void 0; + } + function isLiteralConstDeclaration(node) { + if (isDeclarationReadonly(node) || isVariableDeclaration(node) && isVarConstLike2(node)) { + return isFreshLiteralType(getTypeOfSymbol(getSymbolOfDeclaration(node))); + } + return false; + } + function literalTypeToNode(type, enclosing, tracker) { + const enumResult = type.flags & 1056 /* EnumLike */ ? nodeBuilder.symbolToExpression( + type.symbol, + 111551 /* Value */, + enclosing, + /*flags*/ + void 0, + /*internalFlags*/ + void 0, + tracker + ) : type === trueType ? factory.createTrue() : type === falseType && factory.createFalse(); + if (enumResult) return enumResult; + const literalValue = type.value; + return typeof literalValue === "object" ? factory.createBigIntLiteral(literalValue) : typeof literalValue === "string" ? factory.createStringLiteral(literalValue) : literalValue < 0 ? factory.createPrefixUnaryExpression(41 /* MinusToken */, factory.createNumericLiteral(-literalValue)) : factory.createNumericLiteral(literalValue); + } + function createLiteralConstValue(node, tracker) { + const type = getTypeOfSymbol(getSymbolOfDeclaration(node)); + return literalTypeToNode(type, node, tracker); + } + function getJsxFactoryEntity(location) { + return location ? (getJsxNamespace(location), getSourceFileOfNode(location).localJsxFactory || _jsxFactoryEntity) : _jsxFactoryEntity; + } + function getJsxFragmentFactoryEntity(location) { + if (location) { + const file = getSourceFileOfNode(location); + if (file) { + if (file.localJsxFragmentFactory) { + return file.localJsxFragmentFactory; + } + const jsxFragPragmas = file.pragmas.get("jsxfrag"); + const jsxFragPragma = isArray(jsxFragPragmas) ? jsxFragPragmas[0] : jsxFragPragmas; + if (jsxFragPragma) { + file.localJsxFragmentFactory = parseIsolatedEntityName(jsxFragPragma.arguments.factory, languageVersion); + return file.localJsxFragmentFactory; + } + } + } + if (compilerOptions.jsxFragmentFactory) { + return parseIsolatedEntityName(compilerOptions.jsxFragmentFactory, languageVersion); + } + } + function getNonlocalEffectiveTypeAnnotationNode(node) { + const direct = getEffectiveTypeAnnotationNode(node); + if (direct) { + return direct; + } + if (node.kind === 169 /* Parameter */ && node.parent.kind === 178 /* SetAccessor */) { + const other = getAllAccessorDeclarationsForDeclaration(node.parent).getAccessor; + if (other) { + return getEffectiveReturnTypeNode(other); + } + } + return void 0; + } + function createResolver() { + return { + getReferencedExportContainer, + getReferencedImportDeclaration, + getReferencedDeclarationWithCollidingName, + isDeclarationWithCollidingName, + isValueAliasDeclaration: (nodeIn) => { + const node = getParseTreeNode(nodeIn); + return node && canCollectSymbolAliasAccessabilityData ? isValueAliasDeclaration(node) : true; + }, + hasGlobalName, + isReferencedAliasDeclaration: (nodeIn, checkChildren) => { + const node = getParseTreeNode(nodeIn); + return node && canCollectSymbolAliasAccessabilityData ? isReferencedAliasDeclaration(node, checkChildren) : true; + }, + hasNodeCheckFlag: (nodeIn, flag) => { + const node = getParseTreeNode(nodeIn); + if (!node) return false; + return hasNodeCheckFlag(node, flag); + }, + isTopLevelValueImportEqualsWithEntityName, + isDeclarationVisible, + isImplementationOfOverload, + requiresAddingImplicitUndefined, + isExpandoFunctionDeclaration, + getPropertiesOfContainerFunction, + createTypeOfDeclaration, + createReturnTypeOfSignatureDeclaration, + createTypeOfExpression, + createLiteralConstValue, + isSymbolAccessible, + isEntityNameVisible, + getConstantValue: (nodeIn) => { + const node = getParseTreeNode(nodeIn, canHaveConstantValue); + return node ? getConstantValue2(node) : void 0; + }, + getEnumMemberValue: (nodeIn) => { + const node = getParseTreeNode(nodeIn, isEnumMember); + return node ? getEnumMemberValue(node) : void 0; + }, + collectLinkedAliases, + markLinkedReferences: (nodeIn) => { + const node = getParseTreeNode(nodeIn); + return node && markLinkedReferences(node, 0 /* Unspecified */); + }, + getReferencedValueDeclaration, + getReferencedValueDeclarations, + getTypeReferenceSerializationKind, + isOptionalParameter, + isArgumentsLocalBinding, + getExternalModuleFileFromDeclaration: (nodeIn) => { + const node = getParseTreeNode(nodeIn, hasPossibleExternalModuleReference); + return node && getExternalModuleFileFromDeclaration(node); + }, + isLiteralConstDeclaration, + isLateBound: (nodeIn) => { + const node = getParseTreeNode(nodeIn, isDeclaration); + const symbol = node && getSymbolOfDeclaration(node); + return !!(symbol && getCheckFlags(symbol) & 4096 /* Late */); + }, + getJsxFactoryEntity, + getJsxFragmentFactoryEntity, + isBindingCapturedByNode: (node, decl) => { + const parseNode = getParseTreeNode(node); + const parseDecl = getParseTreeNode(decl); + return !!parseNode && !!parseDecl && (isVariableDeclaration(parseDecl) || isBindingElement(parseDecl)) && isBindingCapturedByNode(parseNode, parseDecl); + }, + getDeclarationStatementsForSourceFile: (node, flags, internalFlags, tracker) => { + const n = getParseTreeNode(node); + Debug.assert(n && n.kind === 307 /* SourceFile */, "Non-sourcefile node passed into getDeclarationsForSourceFile"); + const sym = getSymbolOfDeclaration(node); + if (!sym) { + return !node.locals ? [] : nodeBuilder.symbolTableToDeclarationStatements(node.locals, node, flags, internalFlags, tracker); + } + resolveExternalModuleSymbol(sym); + return !sym.exports ? [] : nodeBuilder.symbolTableToDeclarationStatements(sym.exports, node, flags, internalFlags, tracker); + }, + isImportRequiredByAugmentation, + isDefinitelyReferenceToGlobalSymbolObject, + createLateBoundIndexSignatures: (cls, enclosing, flags, internalFlags, tracker) => { + const sym = cls.symbol; + const staticInfos = getIndexInfosOfType(getTypeOfSymbol(sym)); + const instanceIndexSymbol = getIndexSymbol(sym); + const instanceInfos = instanceIndexSymbol && getIndexInfosOfIndexSymbol(instanceIndexSymbol, arrayFrom(getMembersOfSymbol(sym).values())); + let result; + for (const infoList of [staticInfos, instanceInfos]) { + if (!length(infoList)) continue; + result || (result = []); + for (const info of infoList) { + if (info.declaration) continue; + const node = nodeBuilder.indexInfoToIndexSignatureDeclaration(info, enclosing, flags, internalFlags, tracker); + if (node && infoList === staticInfos) { + (node.modifiers || (node.modifiers = factory.createNodeArray())).unshift(factory.createModifier(126 /* StaticKeyword */)); + } + if (node) { + result.push(node); + } + } + } + return result; + } + }; + function isImportRequiredByAugmentation(node) { + const file = getSourceFileOfNode(node); + if (!file.symbol) return false; + const importTarget = getExternalModuleFileFromDeclaration(node); + if (!importTarget) return false; + if (importTarget === file) return false; + const exports2 = getExportsOfModule(file.symbol); + for (const s of arrayFrom(exports2.values())) { + if (s.mergeId) { + const merged = getMergedSymbol(s); + if (merged.declarations) { + for (const d of merged.declarations) { + const declFile = getSourceFileOfNode(d); + if (declFile === importTarget) { + return true; + } + } + } + } + } + return false; + } + } + function getExternalModuleFileFromDeclaration(declaration) { + const specifier = declaration.kind === 267 /* ModuleDeclaration */ ? tryCast(declaration.name, isStringLiteral) : getExternalModuleName(declaration); + const moduleSymbol = resolveExternalModuleNameWorker( + specifier, + specifier, + /*moduleNotFoundError*/ + void 0 + ); + if (!moduleSymbol) { + return void 0; + } + return getDeclarationOfKind(moduleSymbol, 307 /* SourceFile */); + } + function initializeTypeChecker() { + for (const file of host.getSourceFiles()) { + bindSourceFile(file, compilerOptions); + } + amalgamatedDuplicates = /* @__PURE__ */ new Map(); + let augmentations; + for (const file of host.getSourceFiles()) { + if (file.redirectInfo) { + continue; + } + if (!isExternalOrCommonJsModule(file)) { + const fileGlobalThisSymbol = file.locals.get("globalThis"); + if (fileGlobalThisSymbol == null ? void 0 : fileGlobalThisSymbol.declarations) { + for (const declaration of fileGlobalThisSymbol.declarations) { + diagnostics.add(createDiagnosticForNode(declaration, Diagnostics.Declaration_name_conflicts_with_built_in_global_identifier_0, "globalThis")); + } + } + mergeSymbolTable(globals, file.locals); + } + if (file.jsGlobalAugmentations) { + mergeSymbolTable(globals, file.jsGlobalAugmentations); + } + if (file.patternAmbientModules && file.patternAmbientModules.length) { + patternAmbientModules = concatenate(patternAmbientModules, file.patternAmbientModules); + } + if (file.moduleAugmentations.length) { + (augmentations || (augmentations = [])).push(file.moduleAugmentations); + } + if (file.symbol && file.symbol.globalExports) { + const source = file.symbol.globalExports; + source.forEach((sourceSymbol, id) => { + if (!globals.has(id)) { + globals.set(id, sourceSymbol); + } + }); + } + } + if (augmentations) { + for (const list of augmentations) { + for (const augmentation of list) { + if (!isGlobalScopeAugmentation(augmentation.parent)) continue; + mergeModuleAugmentation(augmentation); + } + } + } + addUndefinedToGlobalsOrErrorOnRedeclaration(); + getSymbolLinks(undefinedSymbol).type = undefinedWideningType; + getSymbolLinks(argumentsSymbol).type = getGlobalType( + "IArguments", + /*arity*/ + 0, + /*reportErrors*/ + true + ); + getSymbolLinks(unknownSymbol).type = errorType; + getSymbolLinks(globalThisSymbol).type = createObjectType(16 /* Anonymous */, globalThisSymbol); + globalArrayType = getGlobalType( + "Array", + /*arity*/ + 1, + /*reportErrors*/ + true + ); + globalObjectType = getGlobalType( + "Object", + /*arity*/ + 0, + /*reportErrors*/ + true + ); + globalFunctionType = getGlobalType( + "Function", + /*arity*/ + 0, + /*reportErrors*/ + true + ); + globalCallableFunctionType = strictBindCallApply && getGlobalType( + "CallableFunction", + /*arity*/ + 0, + /*reportErrors*/ + true + ) || globalFunctionType; + globalNewableFunctionType = strictBindCallApply && getGlobalType( + "NewableFunction", + /*arity*/ + 0, + /*reportErrors*/ + true + ) || globalFunctionType; + globalStringType = getGlobalType( + "String", + /*arity*/ + 0, + /*reportErrors*/ + true + ); + globalNumberType = getGlobalType( + "Number", + /*arity*/ + 0, + /*reportErrors*/ + true + ); + globalBooleanType = getGlobalType( + "Boolean", + /*arity*/ + 0, + /*reportErrors*/ + true + ); + globalRegExpType = getGlobalType( + "RegExp", + /*arity*/ + 0, + /*reportErrors*/ + true + ); + anyArrayType = createArrayType(anyType); + autoArrayType = createArrayType(autoType); + if (autoArrayType === emptyObjectType) { + autoArrayType = createAnonymousType( + /*symbol*/ + void 0, + emptySymbols, + emptyArray, + emptyArray, + emptyArray + ); + } + globalReadonlyArrayType = getGlobalTypeOrUndefined( + "ReadonlyArray", + /*arity*/ + 1 + ) || globalArrayType; + anyReadonlyArrayType = globalReadonlyArrayType ? createTypeFromGenericGlobalType(globalReadonlyArrayType, [anyType]) : anyArrayType; + globalThisType = getGlobalTypeOrUndefined( + "ThisType", + /*arity*/ + 1 + ); + if (augmentations) { + for (const list of augmentations) { + for (const augmentation of list) { + if (isGlobalScopeAugmentation(augmentation.parent)) continue; + mergeModuleAugmentation(augmentation); + } + } + } + amalgamatedDuplicates.forEach(({ firstFile, secondFile, conflictingSymbols }) => { + if (conflictingSymbols.size < 8) { + conflictingSymbols.forEach(({ isBlockScoped, firstFileLocations, secondFileLocations }, symbolName2) => { + const message = isBlockScoped ? Diagnostics.Cannot_redeclare_block_scoped_variable_0 : Diagnostics.Duplicate_identifier_0; + for (const node of firstFileLocations) { + addDuplicateDeclarationError(node, message, symbolName2, secondFileLocations); + } + for (const node of secondFileLocations) { + addDuplicateDeclarationError(node, message, symbolName2, firstFileLocations); + } + }); + } else { + const list = arrayFrom(conflictingSymbols.keys()).join(", "); + diagnostics.add(addRelatedInfo( + createDiagnosticForNode(firstFile, Diagnostics.Definitions_of_the_following_identifiers_conflict_with_those_in_another_file_Colon_0, list), + createDiagnosticForNode(secondFile, Diagnostics.Conflicts_are_in_this_file) + )); + diagnostics.add(addRelatedInfo( + createDiagnosticForNode(secondFile, Diagnostics.Definitions_of_the_following_identifiers_conflict_with_those_in_another_file_Colon_0, list), + createDiagnosticForNode(firstFile, Diagnostics.Conflicts_are_in_this_file) + )); + } + }); + amalgamatedDuplicates = void 0; + } + function checkExternalEmitHelpers(location, helpers) { + if (compilerOptions.importHelpers) { + const sourceFile = getSourceFileOfNode(location); + if (isEffectiveExternalModule(sourceFile, compilerOptions) && !(location.flags & 33554432 /* Ambient */)) { + const helpersModule = resolveHelpersModule(sourceFile, location); + if (helpersModule !== unknownSymbol) { + const links = getSymbolLinks(helpersModule); + links.requestedExternalEmitHelpers ?? (links.requestedExternalEmitHelpers = 0); + if ((links.requestedExternalEmitHelpers & helpers) !== helpers) { + const uncheckedHelpers = helpers & ~links.requestedExternalEmitHelpers; + for (let helper = 1 /* FirstEmitHelper */; helper <= 16777216 /* LastEmitHelper */; helper <<= 1) { + if (uncheckedHelpers & helper) { + for (const name of getHelperNames(helper)) { + const symbol = resolveSymbol(getSymbol(getExportsOfModule(helpersModule), escapeLeadingUnderscores(name), 111551 /* Value */)); + if (!symbol) { + error(location, Diagnostics.This_syntax_requires_an_imported_helper_named_1_which_does_not_exist_in_0_Consider_upgrading_your_version_of_0, externalHelpersModuleNameText, name); + } else if (helper & 524288 /* ClassPrivateFieldGet */) { + if (!some(getSignaturesOfSymbol(symbol), (signature) => getParameterCount(signature) > 3)) { + error(location, Diagnostics.This_syntax_requires_an_imported_helper_named_1_with_2_parameters_which_is_not_compatible_with_the_one_in_0_Consider_upgrading_your_version_of_0, externalHelpersModuleNameText, name, 4); + } + } else if (helper & 1048576 /* ClassPrivateFieldSet */) { + if (!some(getSignaturesOfSymbol(symbol), (signature) => getParameterCount(signature) > 4)) { + error(location, Diagnostics.This_syntax_requires_an_imported_helper_named_1_with_2_parameters_which_is_not_compatible_with_the_one_in_0_Consider_upgrading_your_version_of_0, externalHelpersModuleNameText, name, 5); + } + } else if (helper & 1024 /* SpreadArray */) { + if (!some(getSignaturesOfSymbol(symbol), (signature) => getParameterCount(signature) > 2)) { + error(location, Diagnostics.This_syntax_requires_an_imported_helper_named_1_with_2_parameters_which_is_not_compatible_with_the_one_in_0_Consider_upgrading_your_version_of_0, externalHelpersModuleNameText, name, 3); + } + } + } + } + } + } + links.requestedExternalEmitHelpers |= helpers; + } + } + } + } + function getHelperNames(helper) { + switch (helper) { + case 1 /* Extends */: + return ["__extends"]; + case 2 /* Assign */: + return ["__assign"]; + case 4 /* Rest */: + return ["__rest"]; + case 8 /* Decorate */: + return legacyDecorators ? ["__decorate"] : ["__esDecorate", "__runInitializers"]; + case 16 /* Metadata */: + return ["__metadata"]; + case 32 /* Param */: + return ["__param"]; + case 64 /* Awaiter */: + return ["__awaiter"]; + case 128 /* Generator */: + return ["__generator"]; + case 256 /* Values */: + return ["__values"]; + case 512 /* Read */: + return ["__read"]; + case 1024 /* SpreadArray */: + return ["__spreadArray"]; + case 2048 /* Await */: + return ["__await"]; + case 4096 /* AsyncGenerator */: + return ["__asyncGenerator"]; + case 8192 /* AsyncDelegator */: + return ["__asyncDelegator"]; + case 16384 /* AsyncValues */: + return ["__asyncValues"]; + case 32768 /* ExportStar */: + return ["__exportStar"]; + case 65536 /* ImportStar */: + return ["__importStar"]; + case 131072 /* ImportDefault */: + return ["__importDefault"]; + case 262144 /* MakeTemplateObject */: + return ["__makeTemplateObject"]; + case 524288 /* ClassPrivateFieldGet */: + return ["__classPrivateFieldGet"]; + case 1048576 /* ClassPrivateFieldSet */: + return ["__classPrivateFieldSet"]; + case 2097152 /* ClassPrivateFieldIn */: + return ["__classPrivateFieldIn"]; + case 4194304 /* SetFunctionName */: + return ["__setFunctionName"]; + case 8388608 /* PropKey */: + return ["__propKey"]; + case 16777216 /* AddDisposableResourceAndDisposeResources */: + return ["__addDisposableResource", "__disposeResources"]; + case 33554432 /* RewriteRelativeImportExtension */: + return ["__rewriteRelativeImportExtension"]; + default: + return Debug.fail("Unrecognized helper"); + } + } + function resolveHelpersModule(file, errorNode) { + const links = getNodeLinks(file); + if (!links.externalHelpersModule) { + links.externalHelpersModule = resolveExternalModule(getImportHelpersImportSpecifier(file), externalHelpersModuleNameText, Diagnostics.This_syntax_requires_an_imported_helper_but_module_0_cannot_be_found, errorNode) || unknownSymbol; + } + return links.externalHelpersModule; + } + function checkGrammarModifiers(node) { + var _a; + const quickResult = reportObviousDecoratorErrors(node) || reportObviousModifierErrors(node); + if (quickResult !== void 0) { + return quickResult; + } + if (isParameter(node) && parameterIsThisKeyword(node)) { + return grammarErrorOnFirstToken(node, Diagnostics.Neither_decorators_nor_modifiers_may_be_applied_to_this_parameters); + } + const blockScopeKind = isVariableStatement(node) ? node.declarationList.flags & 7 /* BlockScoped */ : 0 /* None */; + let lastStatic, lastDeclare, lastAsync, lastOverride, firstDecorator; + let flags = 0 /* None */; + let sawExportBeforeDecorators = false; + let hasLeadingDecorators = false; + for (const modifier of node.modifiers) { + if (isDecorator(modifier)) { + if (!nodeCanBeDecorated(legacyDecorators, node, node.parent, node.parent.parent)) { + if (node.kind === 174 /* MethodDeclaration */ && !nodeIsPresent(node.body)) { + return grammarErrorOnFirstToken(node, Diagnostics.A_decorator_can_only_decorate_a_method_implementation_not_an_overload); + } else { + return grammarErrorOnFirstToken(node, Diagnostics.Decorators_are_not_valid_here); + } + } else if (legacyDecorators && (node.kind === 177 /* GetAccessor */ || node.kind === 178 /* SetAccessor */)) { + const accessors = getAllAccessorDeclarationsForDeclaration(node); + if (hasDecorators(accessors.firstAccessor) && node === accessors.secondAccessor) { + return grammarErrorOnFirstToken(node, Diagnostics.Decorators_cannot_be_applied_to_multiple_get_Slashset_accessors_of_the_same_name); + } + } + if (flags & ~(2080 /* ExportDefault */ | 32768 /* Decorator */)) { + return grammarErrorOnNode(modifier, Diagnostics.Decorators_are_not_valid_here); + } + if (hasLeadingDecorators && flags & 98303 /* Modifier */) { + Debug.assertIsDefined(firstDecorator); + const sourceFile = getSourceFileOfNode(modifier); + if (!hasParseDiagnostics(sourceFile)) { + addRelatedInfo( + error(modifier, Diagnostics.Decorators_may_not_appear_after_export_or_export_default_if_they_also_appear_before_export), + createDiagnosticForNode(firstDecorator, Diagnostics.Decorator_used_before_export_here) + ); + return true; + } + return false; + } + flags |= 32768 /* Decorator */; + if (!(flags & 98303 /* Modifier */)) { + hasLeadingDecorators = true; + } else if (flags & 32 /* Export */) { + sawExportBeforeDecorators = true; + } + firstDecorator ?? (firstDecorator = modifier); + } else { + if (modifier.kind !== 148 /* ReadonlyKeyword */) { + if (node.kind === 171 /* PropertySignature */ || node.kind === 173 /* MethodSignature */) { + return grammarErrorOnNode(modifier, Diagnostics._0_modifier_cannot_appear_on_a_type_member, tokenToString(modifier.kind)); + } + if (node.kind === 181 /* IndexSignature */ && (modifier.kind !== 126 /* StaticKeyword */ || !isClassLike(node.parent))) { + return grammarErrorOnNode(modifier, Diagnostics._0_modifier_cannot_appear_on_an_index_signature, tokenToString(modifier.kind)); + } + } + if (modifier.kind !== 103 /* InKeyword */ && modifier.kind !== 147 /* OutKeyword */ && modifier.kind !== 87 /* ConstKeyword */) { + if (node.kind === 168 /* TypeParameter */) { + return grammarErrorOnNode(modifier, Diagnostics._0_modifier_cannot_appear_on_a_type_parameter, tokenToString(modifier.kind)); + } + } + switch (modifier.kind) { + case 87 /* ConstKeyword */: { + if (node.kind !== 266 /* EnumDeclaration */ && node.kind !== 168 /* TypeParameter */) { + return grammarErrorOnNode(node, Diagnostics.A_class_member_cannot_have_the_0_keyword, tokenToString(87 /* ConstKeyword */)); + } + const parent = isJSDocTemplateTag(node.parent) && getEffectiveJSDocHost(node.parent) || node.parent; + if (node.kind === 168 /* TypeParameter */ && !(isFunctionLikeDeclaration(parent) || isClassLike(parent) || isFunctionTypeNode(parent) || isConstructorTypeNode(parent) || isCallSignatureDeclaration(parent) || isConstructSignatureDeclaration(parent) || isMethodSignature(parent))) { + return grammarErrorOnNode(modifier, Diagnostics._0_modifier_can_only_appear_on_a_type_parameter_of_a_function_method_or_class, tokenToString(modifier.kind)); + } + break; + } + case 164 /* OverrideKeyword */: + if (flags & 16 /* Override */) { + return grammarErrorOnNode(modifier, Diagnostics._0_modifier_already_seen, "override"); + } else if (flags & 128 /* Ambient */) { + return grammarErrorOnNode(modifier, Diagnostics._0_modifier_cannot_be_used_with_1_modifier, "override", "declare"); + } else if (flags & 8 /* Readonly */) { + return grammarErrorOnNode(modifier, Diagnostics._0_modifier_must_precede_1_modifier, "override", "readonly"); + } else if (flags & 512 /* Accessor */) { + return grammarErrorOnNode(modifier, Diagnostics._0_modifier_must_precede_1_modifier, "override", "accessor"); + } else if (flags & 1024 /* Async */) { + return grammarErrorOnNode(modifier, Diagnostics._0_modifier_must_precede_1_modifier, "override", "async"); + } + flags |= 16 /* Override */; + lastOverride = modifier; + break; + case 125 /* PublicKeyword */: + case 124 /* ProtectedKeyword */: + case 123 /* PrivateKeyword */: + const text = visibilityToString(modifierToFlag(modifier.kind)); + if (flags & 7 /* AccessibilityModifier */) { + return grammarErrorOnNode(modifier, Diagnostics.Accessibility_modifier_already_seen); + } else if (flags & 16 /* Override */) { + return grammarErrorOnNode(modifier, Diagnostics._0_modifier_must_precede_1_modifier, text, "override"); + } else if (flags & 256 /* Static */) { + return grammarErrorOnNode(modifier, Diagnostics._0_modifier_must_precede_1_modifier, text, "static"); + } else if (flags & 512 /* Accessor */) { + return grammarErrorOnNode(modifier, Diagnostics._0_modifier_must_precede_1_modifier, text, "accessor"); + } else if (flags & 8 /* Readonly */) { + return grammarErrorOnNode(modifier, Diagnostics._0_modifier_must_precede_1_modifier, text, "readonly"); + } else if (flags & 1024 /* Async */) { + return grammarErrorOnNode(modifier, Diagnostics._0_modifier_must_precede_1_modifier, text, "async"); + } else if (node.parent.kind === 268 /* ModuleBlock */ || node.parent.kind === 307 /* SourceFile */) { + return grammarErrorOnNode(modifier, Diagnostics._0_modifier_cannot_appear_on_a_module_or_namespace_element, text); + } else if (flags & 64 /* Abstract */) { + if (modifier.kind === 123 /* PrivateKeyword */) { + return grammarErrorOnNode(modifier, Diagnostics._0_modifier_cannot_be_used_with_1_modifier, text, "abstract"); + } else { + return grammarErrorOnNode(modifier, Diagnostics._0_modifier_must_precede_1_modifier, text, "abstract"); + } + } else if (isPrivateIdentifierClassElementDeclaration(node)) { + return grammarErrorOnNode(modifier, Diagnostics.An_accessibility_modifier_cannot_be_used_with_a_private_identifier); + } + flags |= modifierToFlag(modifier.kind); + break; + case 126 /* StaticKeyword */: + if (flags & 256 /* Static */) { + return grammarErrorOnNode(modifier, Diagnostics._0_modifier_already_seen, "static"); + } else if (flags & 8 /* Readonly */) { + return grammarErrorOnNode(modifier, Diagnostics._0_modifier_must_precede_1_modifier, "static", "readonly"); + } else if (flags & 1024 /* Async */) { + return grammarErrorOnNode(modifier, Diagnostics._0_modifier_must_precede_1_modifier, "static", "async"); + } else if (flags & 512 /* Accessor */) { + return grammarErrorOnNode(modifier, Diagnostics._0_modifier_must_precede_1_modifier, "static", "accessor"); + } else if (node.parent.kind === 268 /* ModuleBlock */ || node.parent.kind === 307 /* SourceFile */) { + return grammarErrorOnNode(modifier, Diagnostics._0_modifier_cannot_appear_on_a_module_or_namespace_element, "static"); + } else if (node.kind === 169 /* Parameter */) { + return grammarErrorOnNode(modifier, Diagnostics._0_modifier_cannot_appear_on_a_parameter, "static"); + } else if (flags & 64 /* Abstract */) { + return grammarErrorOnNode(modifier, Diagnostics._0_modifier_cannot_be_used_with_1_modifier, "static", "abstract"); + } else if (flags & 16 /* Override */) { + return grammarErrorOnNode(modifier, Diagnostics._0_modifier_must_precede_1_modifier, "static", "override"); + } + flags |= 256 /* Static */; + lastStatic = modifier; + break; + case 129 /* AccessorKeyword */: + if (flags & 512 /* Accessor */) { + return grammarErrorOnNode(modifier, Diagnostics._0_modifier_already_seen, "accessor"); + } else if (flags & 8 /* Readonly */) { + return grammarErrorOnNode(modifier, Diagnostics._0_modifier_cannot_be_used_with_1_modifier, "accessor", "readonly"); + } else if (flags & 128 /* Ambient */) { + return grammarErrorOnNode(modifier, Diagnostics._0_modifier_cannot_be_used_with_1_modifier, "accessor", "declare"); + } else if (node.kind !== 172 /* PropertyDeclaration */) { + return grammarErrorOnNode(modifier, Diagnostics.accessor_modifier_can_only_appear_on_a_property_declaration); + } + flags |= 512 /* Accessor */; + break; + case 148 /* ReadonlyKeyword */: + if (flags & 8 /* Readonly */) { + return grammarErrorOnNode(modifier, Diagnostics._0_modifier_already_seen, "readonly"); + } else if (node.kind !== 172 /* PropertyDeclaration */ && node.kind !== 171 /* PropertySignature */ && node.kind !== 181 /* IndexSignature */ && node.kind !== 169 /* Parameter */) { + return grammarErrorOnNode(modifier, Diagnostics.readonly_modifier_can_only_appear_on_a_property_declaration_or_index_signature); + } else if (flags & 512 /* Accessor */) { + return grammarErrorOnNode(modifier, Diagnostics._0_modifier_cannot_be_used_with_1_modifier, "readonly", "accessor"); + } + flags |= 8 /* Readonly */; + break; + case 95 /* ExportKeyword */: + if (compilerOptions.verbatimModuleSyntax && !(node.flags & 33554432 /* Ambient */) && node.kind !== 265 /* TypeAliasDeclaration */ && node.kind !== 264 /* InterfaceDeclaration */ && // ModuleDeclaration needs to be checked that it is uninstantiated later + node.kind !== 267 /* ModuleDeclaration */ && node.parent.kind === 307 /* SourceFile */ && host.getEmitModuleFormatOfFile(getSourceFileOfNode(node)) === 1 /* CommonJS */) { + return grammarErrorOnNode(modifier, Diagnostics.A_top_level_export_modifier_cannot_be_used_on_value_declarations_in_a_CommonJS_module_when_verbatimModuleSyntax_is_enabled); + } + if (flags & 32 /* Export */) { + return grammarErrorOnNode(modifier, Diagnostics._0_modifier_already_seen, "export"); + } else if (flags & 128 /* Ambient */) { + return grammarErrorOnNode(modifier, Diagnostics._0_modifier_must_precede_1_modifier, "export", "declare"); + } else if (flags & 64 /* Abstract */) { + return grammarErrorOnNode(modifier, Diagnostics._0_modifier_must_precede_1_modifier, "export", "abstract"); + } else if (flags & 1024 /* Async */) { + return grammarErrorOnNode(modifier, Diagnostics._0_modifier_must_precede_1_modifier, "export", "async"); + } else if (isClassLike(node.parent)) { + return grammarErrorOnNode(modifier, Diagnostics._0_modifier_cannot_appear_on_class_elements_of_this_kind, "export"); + } else if (node.kind === 169 /* Parameter */) { + return grammarErrorOnNode(modifier, Diagnostics._0_modifier_cannot_appear_on_a_parameter, "export"); + } else if (blockScopeKind === 4 /* Using */) { + return grammarErrorOnNode(modifier, Diagnostics._0_modifier_cannot_appear_on_a_using_declaration, "export"); + } else if (blockScopeKind === 6 /* AwaitUsing */) { + return grammarErrorOnNode(modifier, Diagnostics._0_modifier_cannot_appear_on_an_await_using_declaration, "export"); + } + flags |= 32 /* Export */; + break; + case 90 /* DefaultKeyword */: + const container = node.parent.kind === 307 /* SourceFile */ ? node.parent : node.parent.parent; + if (container.kind === 267 /* ModuleDeclaration */ && !isAmbientModule(container)) { + return grammarErrorOnNode(modifier, Diagnostics.A_default_export_can_only_be_used_in_an_ECMAScript_style_module); + } else if (blockScopeKind === 4 /* Using */) { + return grammarErrorOnNode(modifier, Diagnostics._0_modifier_cannot_appear_on_a_using_declaration, "default"); + } else if (blockScopeKind === 6 /* AwaitUsing */) { + return grammarErrorOnNode(modifier, Diagnostics._0_modifier_cannot_appear_on_an_await_using_declaration, "default"); + } else if (!(flags & 32 /* Export */)) { + return grammarErrorOnNode(modifier, Diagnostics._0_modifier_must_precede_1_modifier, "export", "default"); + } else if (sawExportBeforeDecorators) { + return grammarErrorOnNode(firstDecorator, Diagnostics.Decorators_are_not_valid_here); + } + flags |= 2048 /* Default */; + break; + case 138 /* DeclareKeyword */: + if (flags & 128 /* Ambient */) { + return grammarErrorOnNode(modifier, Diagnostics._0_modifier_already_seen, "declare"); + } else if (flags & 1024 /* Async */) { + return grammarErrorOnNode(modifier, Diagnostics._0_modifier_cannot_be_used_in_an_ambient_context, "async"); + } else if (flags & 16 /* Override */) { + return grammarErrorOnNode(modifier, Diagnostics._0_modifier_cannot_be_used_in_an_ambient_context, "override"); + } else if (isClassLike(node.parent) && !isPropertyDeclaration(node)) { + return grammarErrorOnNode(modifier, Diagnostics._0_modifier_cannot_appear_on_class_elements_of_this_kind, "declare"); + } else if (node.kind === 169 /* Parameter */) { + return grammarErrorOnNode(modifier, Diagnostics._0_modifier_cannot_appear_on_a_parameter, "declare"); + } else if (blockScopeKind === 4 /* Using */) { + return grammarErrorOnNode(modifier, Diagnostics._0_modifier_cannot_appear_on_a_using_declaration, "declare"); + } else if (blockScopeKind === 6 /* AwaitUsing */) { + return grammarErrorOnNode(modifier, Diagnostics._0_modifier_cannot_appear_on_an_await_using_declaration, "declare"); + } else if (node.parent.flags & 33554432 /* Ambient */ && node.parent.kind === 268 /* ModuleBlock */) { + return grammarErrorOnNode(modifier, Diagnostics.A_declare_modifier_cannot_be_used_in_an_already_ambient_context); + } else if (isPrivateIdentifierClassElementDeclaration(node)) { + return grammarErrorOnNode(modifier, Diagnostics._0_modifier_cannot_be_used_with_a_private_identifier, "declare"); + } else if (flags & 512 /* Accessor */) { + return grammarErrorOnNode(modifier, Diagnostics._0_modifier_cannot_be_used_with_1_modifier, "declare", "accessor"); + } + flags |= 128 /* Ambient */; + lastDeclare = modifier; + break; + case 128 /* AbstractKeyword */: + if (flags & 64 /* Abstract */) { + return grammarErrorOnNode(modifier, Diagnostics._0_modifier_already_seen, "abstract"); + } + if (node.kind !== 263 /* ClassDeclaration */ && node.kind !== 185 /* ConstructorType */) { + if (node.kind !== 174 /* MethodDeclaration */ && node.kind !== 172 /* PropertyDeclaration */ && node.kind !== 177 /* GetAccessor */ && node.kind !== 178 /* SetAccessor */) { + return grammarErrorOnNode(modifier, Diagnostics.abstract_modifier_can_only_appear_on_a_class_method_or_property_declaration); + } + if (!(node.parent.kind === 263 /* ClassDeclaration */ && hasSyntacticModifier(node.parent, 64 /* Abstract */))) { + const message = node.kind === 172 /* PropertyDeclaration */ ? Diagnostics.Abstract_properties_can_only_appear_within_an_abstract_class : Diagnostics.Abstract_methods_can_only_appear_within_an_abstract_class; + return grammarErrorOnNode(modifier, message); + } + if (flags & 256 /* Static */) { + return grammarErrorOnNode(modifier, Diagnostics._0_modifier_cannot_be_used_with_1_modifier, "static", "abstract"); + } + if (flags & 2 /* Private */) { + return grammarErrorOnNode(modifier, Diagnostics._0_modifier_cannot_be_used_with_1_modifier, "private", "abstract"); + } + if (flags & 1024 /* Async */ && lastAsync) { + return grammarErrorOnNode(lastAsync, Diagnostics._0_modifier_cannot_be_used_with_1_modifier, "async", "abstract"); + } + if (flags & 16 /* Override */) { + return grammarErrorOnNode(modifier, Diagnostics._0_modifier_must_precede_1_modifier, "abstract", "override"); + } + if (flags & 512 /* Accessor */) { + return grammarErrorOnNode(modifier, Diagnostics._0_modifier_must_precede_1_modifier, "abstract", "accessor"); + } + } + if (isNamedDeclaration(node) && node.name.kind === 81 /* PrivateIdentifier */) { + return grammarErrorOnNode(modifier, Diagnostics._0_modifier_cannot_be_used_with_a_private_identifier, "abstract"); + } + flags |= 64 /* Abstract */; + break; + case 134 /* AsyncKeyword */: + if (flags & 1024 /* Async */) { + return grammarErrorOnNode(modifier, Diagnostics._0_modifier_already_seen, "async"); + } else if (flags & 128 /* Ambient */ || node.parent.flags & 33554432 /* Ambient */) { + return grammarErrorOnNode(modifier, Diagnostics._0_modifier_cannot_be_used_in_an_ambient_context, "async"); + } else if (node.kind === 169 /* Parameter */) { + return grammarErrorOnNode(modifier, Diagnostics._0_modifier_cannot_appear_on_a_parameter, "async"); + } + if (flags & 64 /* Abstract */) { + return grammarErrorOnNode(modifier, Diagnostics._0_modifier_cannot_be_used_with_1_modifier, "async", "abstract"); + } + flags |= 1024 /* Async */; + lastAsync = modifier; + break; + case 103 /* InKeyword */: + case 147 /* OutKeyword */: { + const inOutFlag = modifier.kind === 103 /* InKeyword */ ? 8192 /* In */ : 16384 /* Out */; + const inOutText = modifier.kind === 103 /* InKeyword */ ? "in" : "out"; + const parent = isJSDocTemplateTag(node.parent) && (getEffectiveJSDocHost(node.parent) || find((_a = getJSDocRoot(node.parent)) == null ? void 0 : _a.tags, isJSDocTypedefTag)) || node.parent; + if (node.kind !== 168 /* TypeParameter */ || parent && !(isInterfaceDeclaration(parent) || isClassLike(parent) || isTypeAliasDeclaration(parent) || isJSDocTypedefTag(parent))) { + return grammarErrorOnNode(modifier, Diagnostics._0_modifier_can_only_appear_on_a_type_parameter_of_a_class_interface_or_type_alias, inOutText); + } + if (flags & inOutFlag) { + return grammarErrorOnNode(modifier, Diagnostics._0_modifier_already_seen, inOutText); + } + if (inOutFlag & 8192 /* In */ && flags & 16384 /* Out */) { + return grammarErrorOnNode(modifier, Diagnostics._0_modifier_must_precede_1_modifier, "in", "out"); + } + flags |= inOutFlag; + break; + } + } + } + } + if (node.kind === 176 /* Constructor */) { + if (flags & 256 /* Static */) { + return grammarErrorOnNode(lastStatic, Diagnostics._0_modifier_cannot_appear_on_a_constructor_declaration, "static"); + } + if (flags & 16 /* Override */) { + return grammarErrorOnNode(lastOverride, Diagnostics._0_modifier_cannot_appear_on_a_constructor_declaration, "override"); + } + if (flags & 1024 /* Async */) { + return grammarErrorOnNode(lastAsync, Diagnostics._0_modifier_cannot_appear_on_a_constructor_declaration, "async"); + } + return false; + } else if ((node.kind === 272 /* ImportDeclaration */ || node.kind === 271 /* ImportEqualsDeclaration */) && flags & 128 /* Ambient */) { + return grammarErrorOnNode(lastDeclare, Diagnostics.A_0_modifier_cannot_be_used_with_an_import_declaration, "declare"); + } else if (node.kind === 169 /* Parameter */ && flags & 31 /* ParameterPropertyModifier */ && isBindingPattern(node.name)) { + return grammarErrorOnNode(node, Diagnostics.A_parameter_property_may_not_be_declared_using_a_binding_pattern); + } else if (node.kind === 169 /* Parameter */ && flags & 31 /* ParameterPropertyModifier */ && node.dotDotDotToken) { + return grammarErrorOnNode(node, Diagnostics.A_parameter_property_cannot_be_declared_using_a_rest_parameter); + } + if (flags & 1024 /* Async */) { + return checkGrammarAsyncModifier(node, lastAsync); + } + return false; + } + function reportObviousModifierErrors(node) { + if (!node.modifiers) return false; + const modifier = findFirstIllegalModifier(node); + return modifier && grammarErrorOnFirstToken(modifier, Diagnostics.Modifiers_cannot_appear_here); + } + function findFirstModifierExcept(node, allowedModifier) { + const modifier = find(node.modifiers, isModifier); + return modifier && modifier.kind !== allowedModifier ? modifier : void 0; + } + function findFirstIllegalModifier(node) { + switch (node.kind) { + case 177 /* GetAccessor */: + case 178 /* SetAccessor */: + case 176 /* Constructor */: + case 172 /* PropertyDeclaration */: + case 171 /* PropertySignature */: + case 174 /* MethodDeclaration */: + case 173 /* MethodSignature */: + case 181 /* IndexSignature */: + case 267 /* ModuleDeclaration */: + case 272 /* ImportDeclaration */: + case 271 /* ImportEqualsDeclaration */: + case 278 /* ExportDeclaration */: + case 277 /* ExportAssignment */: + case 218 /* FunctionExpression */: + case 219 /* ArrowFunction */: + case 169 /* Parameter */: + case 168 /* TypeParameter */: + return void 0; + case 175 /* ClassStaticBlockDeclaration */: + case 303 /* PropertyAssignment */: + case 304 /* ShorthandPropertyAssignment */: + case 270 /* NamespaceExportDeclaration */: + case 282 /* MissingDeclaration */: + return find(node.modifiers, isModifier); + default: + if (node.parent.kind === 268 /* ModuleBlock */ || node.parent.kind === 307 /* SourceFile */) { + return void 0; + } + switch (node.kind) { + case 262 /* FunctionDeclaration */: + return findFirstModifierExcept(node, 134 /* AsyncKeyword */); + case 263 /* ClassDeclaration */: + case 185 /* ConstructorType */: + return findFirstModifierExcept(node, 128 /* AbstractKeyword */); + case 231 /* ClassExpression */: + case 264 /* InterfaceDeclaration */: + case 265 /* TypeAliasDeclaration */: + return find(node.modifiers, isModifier); + case 243 /* VariableStatement */: + return node.declarationList.flags & 4 /* Using */ ? findFirstModifierExcept(node, 135 /* AwaitKeyword */) : find(node.modifiers, isModifier); + case 266 /* EnumDeclaration */: + return findFirstModifierExcept(node, 87 /* ConstKeyword */); + default: + Debug.assertNever(node); + } + } + } + function reportObviousDecoratorErrors(node) { + const decorator = findFirstIllegalDecorator(node); + return decorator && grammarErrorOnFirstToken(decorator, Diagnostics.Decorators_are_not_valid_here); + } + function findFirstIllegalDecorator(node) { + return canHaveIllegalDecorators(node) ? find(node.modifiers, isDecorator) : void 0; + } + function checkGrammarAsyncModifier(node, asyncModifier) { + switch (node.kind) { + case 174 /* MethodDeclaration */: + case 262 /* FunctionDeclaration */: + case 218 /* FunctionExpression */: + case 219 /* ArrowFunction */: + return false; + } + return grammarErrorOnNode(asyncModifier, Diagnostics._0_modifier_cannot_be_used_here, "async"); + } + function checkGrammarForDisallowedTrailingComma(list, diag2 = Diagnostics.Trailing_comma_not_allowed) { + if (list && list.hasTrailingComma) { + return grammarErrorAtPos(list[0], list.end - ",".length, ",".length, diag2); + } + return false; + } + function checkGrammarTypeParameterList(typeParameters, file) { + if (typeParameters && typeParameters.length === 0) { + const start = typeParameters.pos - "<".length; + const end = skipTrivia(file.text, typeParameters.end) + ">".length; + return grammarErrorAtPos(file, start, end - start, Diagnostics.Type_parameter_list_cannot_be_empty); + } + return false; + } + function checkGrammarParameterList(parameters) { + let seenOptionalParameter = false; + const parameterCount = parameters.length; + for (let i = 0; i < parameterCount; i++) { + const parameter = parameters[i]; + if (parameter.dotDotDotToken) { + if (i !== parameterCount - 1) { + return grammarErrorOnNode(parameter.dotDotDotToken, Diagnostics.A_rest_parameter_must_be_last_in_a_parameter_list); + } + if (!(parameter.flags & 33554432 /* Ambient */)) { + checkGrammarForDisallowedTrailingComma(parameters, Diagnostics.A_rest_parameter_or_binding_pattern_may_not_have_a_trailing_comma); + } + if (parameter.questionToken) { + return grammarErrorOnNode(parameter.questionToken, Diagnostics.A_rest_parameter_cannot_be_optional); + } + if (parameter.initializer) { + return grammarErrorOnNode(parameter.name, Diagnostics.A_rest_parameter_cannot_have_an_initializer); + } + } else if (hasEffectiveQuestionToken(parameter)) { + seenOptionalParameter = true; + if (parameter.questionToken && parameter.initializer) { + return grammarErrorOnNode(parameter.name, Diagnostics.Parameter_cannot_have_question_mark_and_initializer); + } + } else if (seenOptionalParameter && !parameter.initializer) { + return grammarErrorOnNode(parameter.name, Diagnostics.A_required_parameter_cannot_follow_an_optional_parameter); + } + } + } + function getNonSimpleParameters(parameters) { + return filter(parameters, (parameter) => !!parameter.initializer || isBindingPattern(parameter.name) || isRestParameter(parameter)); + } + function checkGrammarForUseStrictSimpleParameterList(node) { + if (languageVersion >= 3 /* ES2016 */) { + const useStrictDirective = node.body && isBlock(node.body) && findUseStrictPrologue(node.body.statements); + if (useStrictDirective) { + const nonSimpleParameters = getNonSimpleParameters(node.parameters); + if (length(nonSimpleParameters)) { + forEach(nonSimpleParameters, (parameter) => { + addRelatedInfo( + error(parameter, Diagnostics.This_parameter_is_not_allowed_with_use_strict_directive), + createDiagnosticForNode(useStrictDirective, Diagnostics.use_strict_directive_used_here) + ); + }); + const diagnostics2 = nonSimpleParameters.map((parameter, index) => index === 0 ? createDiagnosticForNode(parameter, Diagnostics.Non_simple_parameter_declared_here) : createDiagnosticForNode(parameter, Diagnostics.and_here)); + addRelatedInfo(error(useStrictDirective, Diagnostics.use_strict_directive_cannot_be_used_with_non_simple_parameter_list), ...diagnostics2); + return true; + } + } + } + return false; + } + function checkGrammarFunctionLikeDeclaration(node) { + const file = getSourceFileOfNode(node); + return checkGrammarModifiers(node) || checkGrammarTypeParameterList(node.typeParameters, file) || checkGrammarParameterList(node.parameters) || checkGrammarArrowFunction(node, file) || isFunctionLikeDeclaration(node) && checkGrammarForUseStrictSimpleParameterList(node); + } + function checkGrammarClassLikeDeclaration(node) { + const file = getSourceFileOfNode(node); + return checkGrammarClassDeclarationHeritageClauses(node) || checkGrammarTypeParameterList(node.typeParameters, file); + } + function checkGrammarArrowFunction(node, file) { + if (!isArrowFunction(node)) { + return false; + } + if (node.typeParameters && !(length(node.typeParameters) > 1 || node.typeParameters.hasTrailingComma || node.typeParameters[0].constraint)) { + if (file && fileExtensionIsOneOf(file.fileName, [".mts" /* Mts */, ".cts" /* Cts */])) { + grammarErrorOnNode(node.typeParameters[0], Diagnostics.This_syntax_is_reserved_in_files_with_the_mts_or_cts_extension_Add_a_trailing_comma_or_explicit_constraint); + } + } + const { equalsGreaterThanToken } = node; + const startLine = getLineAndCharacterOfPosition(file, equalsGreaterThanToken.pos).line; + const endLine = getLineAndCharacterOfPosition(file, equalsGreaterThanToken.end).line; + return startLine !== endLine && grammarErrorOnNode(equalsGreaterThanToken, Diagnostics.Line_terminator_not_permitted_before_arrow); + } + function checkGrammarIndexSignatureParameters(node) { + const parameter = node.parameters[0]; + if (node.parameters.length !== 1) { + if (parameter) { + return grammarErrorOnNode(parameter.name, Diagnostics.An_index_signature_must_have_exactly_one_parameter); + } else { + return grammarErrorOnNode(node, Diagnostics.An_index_signature_must_have_exactly_one_parameter); + } + } + checkGrammarForDisallowedTrailingComma(node.parameters, Diagnostics.An_index_signature_cannot_have_a_trailing_comma); + if (parameter.dotDotDotToken) { + return grammarErrorOnNode(parameter.dotDotDotToken, Diagnostics.An_index_signature_cannot_have_a_rest_parameter); + } + if (hasEffectiveModifiers(parameter)) { + return grammarErrorOnNode(parameter.name, Diagnostics.An_index_signature_parameter_cannot_have_an_accessibility_modifier); + } + if (parameter.questionToken) { + return grammarErrorOnNode(parameter.questionToken, Diagnostics.An_index_signature_parameter_cannot_have_a_question_mark); + } + if (parameter.initializer) { + return grammarErrorOnNode(parameter.name, Diagnostics.An_index_signature_parameter_cannot_have_an_initializer); + } + if (!parameter.type) { + return grammarErrorOnNode(parameter.name, Diagnostics.An_index_signature_parameter_must_have_a_type_annotation); + } + const type = getTypeFromTypeNode(parameter.type); + if (someType(type, (t) => !!(t.flags & 8576 /* StringOrNumberLiteralOrUnique */)) || isGenericType(type)) { + return grammarErrorOnNode(parameter.name, Diagnostics.An_index_signature_parameter_type_cannot_be_a_literal_type_or_generic_type_Consider_using_a_mapped_object_type_instead); + } + if (!everyType(type, isValidIndexKeyType)) { + return grammarErrorOnNode(parameter.name, Diagnostics.An_index_signature_parameter_type_must_be_string_number_symbol_or_a_template_literal_type); + } + if (!node.type) { + return grammarErrorOnNode(node, Diagnostics.An_index_signature_must_have_a_type_annotation); + } + return false; + } + function checkGrammarIndexSignature(node) { + return checkGrammarModifiers(node) || checkGrammarIndexSignatureParameters(node); + } + function checkGrammarForAtLeastOneTypeArgument(node, typeArguments) { + if (typeArguments && typeArguments.length === 0) { + const sourceFile = getSourceFileOfNode(node); + const start = typeArguments.pos - "<".length; + const end = skipTrivia(sourceFile.text, typeArguments.end) + ">".length; + return grammarErrorAtPos(sourceFile, start, end - start, Diagnostics.Type_argument_list_cannot_be_empty); + } + return false; + } + function checkGrammarTypeArguments(node, typeArguments) { + return checkGrammarForDisallowedTrailingComma(typeArguments) || checkGrammarForAtLeastOneTypeArgument(node, typeArguments); + } + function checkGrammarTaggedTemplateChain(node) { + if (node.questionDotToken || node.flags & 64 /* OptionalChain */) { + return grammarErrorOnNode(node.template, Diagnostics.Tagged_template_expressions_are_not_permitted_in_an_optional_chain); + } + return false; + } + function checkGrammarHeritageClause(node) { + const types = node.types; + if (checkGrammarForDisallowedTrailingComma(types)) { + return true; + } + if (types && types.length === 0) { + const listType = tokenToString(node.token); + return grammarErrorAtPos(node, types.pos, 0, Diagnostics._0_list_cannot_be_empty, listType); + } + return some(types, checkGrammarExpressionWithTypeArguments); + } + function checkGrammarExpressionWithTypeArguments(node) { + if (isExpressionWithTypeArguments(node) && isImportKeyword(node.expression) && node.typeArguments) { + return grammarErrorOnNode(node, Diagnostics.This_use_of_import_is_invalid_import_calls_can_be_written_but_they_must_have_parentheses_and_cannot_have_type_arguments); + } + return checkGrammarTypeArguments(node, node.typeArguments); + } + function checkGrammarClassDeclarationHeritageClauses(node) { + let seenExtendsClause = false; + let seenImplementsClause = false; + if (!checkGrammarModifiers(node) && node.heritageClauses) { + for (const heritageClause of node.heritageClauses) { + if (heritageClause.token === 96 /* ExtendsKeyword */) { + if (seenExtendsClause) { + return grammarErrorOnFirstToken(heritageClause, Diagnostics.extends_clause_already_seen); + } + if (seenImplementsClause) { + return grammarErrorOnFirstToken(heritageClause, Diagnostics.extends_clause_must_precede_implements_clause); + } + if (heritageClause.types.length > 1) { + return grammarErrorOnFirstToken(heritageClause.types[1], Diagnostics.Classes_can_only_extend_a_single_class); + } + seenExtendsClause = true; + } else { + Debug.assert(heritageClause.token === 119 /* ImplementsKeyword */); + if (seenImplementsClause) { + return grammarErrorOnFirstToken(heritageClause, Diagnostics.implements_clause_already_seen); + } + seenImplementsClause = true; + } + checkGrammarHeritageClause(heritageClause); + } + } + } + function checkGrammarInterfaceDeclaration(node) { + let seenExtendsClause = false; + if (node.heritageClauses) { + for (const heritageClause of node.heritageClauses) { + if (heritageClause.token === 96 /* ExtendsKeyword */) { + if (seenExtendsClause) { + return grammarErrorOnFirstToken(heritageClause, Diagnostics.extends_clause_already_seen); + } + seenExtendsClause = true; + } else { + Debug.assert(heritageClause.token === 119 /* ImplementsKeyword */); + return grammarErrorOnFirstToken(heritageClause, Diagnostics.Interface_declaration_cannot_have_implements_clause); + } + checkGrammarHeritageClause(heritageClause); + } + } + return false; + } + function checkGrammarComputedPropertyName(node) { + if (node.kind !== 167 /* ComputedPropertyName */) { + return false; + } + const computedPropertyName = node; + if (computedPropertyName.expression.kind === 226 /* BinaryExpression */ && computedPropertyName.expression.operatorToken.kind === 28 /* CommaToken */) { + return grammarErrorOnNode(computedPropertyName.expression, Diagnostics.A_comma_expression_is_not_allowed_in_a_computed_property_name); + } + return false; + } + function checkGrammarForGenerator(node) { + if (node.asteriskToken) { + Debug.assert( + node.kind === 262 /* FunctionDeclaration */ || node.kind === 218 /* FunctionExpression */ || node.kind === 174 /* MethodDeclaration */ + ); + if (node.flags & 33554432 /* Ambient */) { + return grammarErrorOnNode(node.asteriskToken, Diagnostics.Generators_are_not_allowed_in_an_ambient_context); + } + if (!node.body) { + return grammarErrorOnNode(node.asteriskToken, Diagnostics.An_overload_signature_cannot_be_declared_as_a_generator); + } + } + } + function checkGrammarForInvalidQuestionMark(questionToken, message) { + return !!questionToken && grammarErrorOnNode(questionToken, message); + } + function checkGrammarForInvalidExclamationToken(exclamationToken, message) { + return !!exclamationToken && grammarErrorOnNode(exclamationToken, message); + } + function checkGrammarObjectLiteralExpression(node, inDestructuring) { + const seen = /* @__PURE__ */ new Map(); + for (const prop of node.properties) { + if (prop.kind === 305 /* SpreadAssignment */) { + if (inDestructuring) { + const expression = skipParentheses(prop.expression); + if (isArrayLiteralExpression(expression) || isObjectLiteralExpression(expression)) { + return grammarErrorOnNode(prop.expression, Diagnostics.A_rest_element_cannot_contain_a_binding_pattern); + } + } + continue; + } + const name = prop.name; + if (name.kind === 167 /* ComputedPropertyName */) { + checkGrammarComputedPropertyName(name); + } + if (prop.kind === 304 /* ShorthandPropertyAssignment */ && !inDestructuring && prop.objectAssignmentInitializer) { + grammarErrorOnNode(prop.equalsToken, Diagnostics.Did_you_mean_to_use_a_Colon_An_can_only_follow_a_property_name_when_the_containing_object_literal_is_part_of_a_destructuring_pattern); + } + if (name.kind === 81 /* PrivateIdentifier */) { + grammarErrorOnNode(name, Diagnostics.Private_identifiers_are_not_allowed_outside_class_bodies); + } + if (canHaveModifiers(prop) && prop.modifiers) { + for (const mod of prop.modifiers) { + if (isModifier(mod) && (mod.kind !== 134 /* AsyncKeyword */ || prop.kind !== 174 /* MethodDeclaration */)) { + grammarErrorOnNode(mod, Diagnostics._0_modifier_cannot_be_used_here, getTextOfNode(mod)); + } + } + } else if (canHaveIllegalModifiers(prop) && prop.modifiers) { + for (const mod of prop.modifiers) { + if (isModifier(mod)) { + grammarErrorOnNode(mod, Diagnostics._0_modifier_cannot_be_used_here, getTextOfNode(mod)); + } + } + } + let currentKind; + switch (prop.kind) { + case 304 /* ShorthandPropertyAssignment */: + case 303 /* PropertyAssignment */: + checkGrammarForInvalidExclamationToken(prop.exclamationToken, Diagnostics.A_definite_assignment_assertion_is_not_permitted_in_this_context); + checkGrammarForInvalidQuestionMark(prop.questionToken, Diagnostics.An_object_member_cannot_be_declared_optional); + if (name.kind === 9 /* NumericLiteral */) { + checkGrammarNumericLiteral(name); + } + if (name.kind === 10 /* BigIntLiteral */) { + addErrorOrSuggestion( + /*isError*/ + true, + createDiagnosticForNode(name, Diagnostics.A_bigint_literal_cannot_be_used_as_a_property_name) + ); + } + currentKind = 4 /* PropertyAssignment */; + break; + case 174 /* MethodDeclaration */: + currentKind = 8 /* Method */; + break; + case 177 /* GetAccessor */: + currentKind = 1 /* GetAccessor */; + break; + case 178 /* SetAccessor */: + currentKind = 2 /* SetAccessor */; + break; + default: + Debug.assertNever(prop, "Unexpected syntax kind:" + prop.kind); + } + if (!inDestructuring) { + const effectiveName = getEffectivePropertyNameForPropertyNameNode(name); + if (effectiveName === void 0) { + continue; + } + const existingKind = seen.get(effectiveName); + if (!existingKind) { + seen.set(effectiveName, currentKind); + } else { + if (currentKind & 8 /* Method */ && existingKind & 8 /* Method */) { + grammarErrorOnNode(name, Diagnostics.Duplicate_identifier_0, getTextOfNode(name)); + } else if (currentKind & 4 /* PropertyAssignment */ && existingKind & 4 /* PropertyAssignment */) { + grammarErrorOnNode(name, Diagnostics.An_object_literal_cannot_have_multiple_properties_with_the_same_name, getTextOfNode(name)); + } else if (currentKind & 3 /* GetOrSetAccessor */ && existingKind & 3 /* GetOrSetAccessor */) { + if (existingKind !== 3 /* GetOrSetAccessor */ && currentKind !== existingKind) { + seen.set(effectiveName, currentKind | existingKind); + } else { + return grammarErrorOnNode(name, Diagnostics.An_object_literal_cannot_have_multiple_get_Slashset_accessors_with_the_same_name); + } + } else { + return grammarErrorOnNode(name, Diagnostics.An_object_literal_cannot_have_property_and_accessor_with_the_same_name); + } + } + } + } + } + function checkGrammarJsxElement(node) { + checkGrammarJsxName(node.tagName); + checkGrammarTypeArguments(node, node.typeArguments); + const seen = /* @__PURE__ */ new Map(); + for (const attr of node.attributes.properties) { + if (attr.kind === 293 /* JsxSpreadAttribute */) { + continue; + } + const { name, initializer } = attr; + const escapedText = getEscapedTextOfJsxAttributeName(name); + if (!seen.get(escapedText)) { + seen.set(escapedText, true); + } else { + return grammarErrorOnNode(name, Diagnostics.JSX_elements_cannot_have_multiple_attributes_with_the_same_name); + } + if (initializer && initializer.kind === 294 /* JsxExpression */ && !initializer.expression) { + return grammarErrorOnNode(initializer, Diagnostics.JSX_attributes_must_only_be_assigned_a_non_empty_expression); + } + } + } + function checkGrammarJsxName(node) { + if (isPropertyAccessExpression(node) && isJsxNamespacedName(node.expression)) { + return grammarErrorOnNode(node.expression, Diagnostics.JSX_property_access_expressions_cannot_include_JSX_namespace_names); + } + if (isJsxNamespacedName(node) && getJSXTransformEnabled(compilerOptions) && !isIntrinsicJsxName(node.namespace.escapedText)) { + return grammarErrorOnNode(node, Diagnostics.React_components_cannot_include_JSX_namespace_names); + } + } + function checkGrammarJsxExpression(node) { + if (node.expression && isCommaSequence(node.expression)) { + return grammarErrorOnNode(node.expression, Diagnostics.JSX_expressions_may_not_use_the_comma_operator_Did_you_mean_to_write_an_array); + } + } + function checkGrammarForInOrForOfStatement(forInOrOfStatement) { + if (checkGrammarStatementInAmbientContext(forInOrOfStatement)) { + return true; + } + if (forInOrOfStatement.kind === 250 /* ForOfStatement */ && forInOrOfStatement.awaitModifier) { + if (!(forInOrOfStatement.flags & 65536 /* AwaitContext */)) { + const sourceFile = getSourceFileOfNode(forInOrOfStatement); + if (isInTopLevelContext(forInOrOfStatement)) { + if (!hasParseDiagnostics(sourceFile)) { + if (!isEffectiveExternalModule(sourceFile, compilerOptions)) { + diagnostics.add(createDiagnosticForNode(forInOrOfStatement.awaitModifier, 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)); + } + switch (moduleKind) { + case 100 /* Node16 */: + case 199 /* NodeNext */: + if (sourceFile.impliedNodeFormat === 1 /* CommonJS */) { + diagnostics.add( + createDiagnosticForNode(forInOrOfStatement.awaitModifier, Diagnostics.The_current_file_is_a_CommonJS_module_and_cannot_use_await_at_the_top_level) + ); + break; + } + // fallthrough + case 7 /* ES2022 */: + case 99 /* ESNext */: + case 200 /* Preserve */: + case 4 /* System */: + if (languageVersion >= 4 /* ES2017 */) { + break; + } + // fallthrough + default: + diagnostics.add( + createDiagnosticForNode(forInOrOfStatement.awaitModifier, Diagnostics.Top_level_for_await_loops_are_only_allowed_when_the_module_option_is_set_to_es2022_esnext_system_node16_nodenext_or_preserve_and_the_target_option_is_set_to_es2017_or_higher) + ); + break; + } + } + } else { + if (!hasParseDiagnostics(sourceFile)) { + const diagnostic = createDiagnosticForNode(forInOrOfStatement.awaitModifier, Diagnostics.for_await_loops_are_only_allowed_within_async_functions_and_at_the_top_levels_of_modules); + const func = getContainingFunction(forInOrOfStatement); + if (func && func.kind !== 176 /* Constructor */) { + Debug.assert((getFunctionFlags(func) & 2 /* Async */) === 0, "Enclosing function should never be an async function."); + const relatedInfo = createDiagnosticForNode(func, Diagnostics.Did_you_mean_to_mark_this_function_as_async); + addRelatedInfo(diagnostic, relatedInfo); + } + diagnostics.add(diagnostic); + return true; + } + } + } + } + if (isForOfStatement(forInOrOfStatement) && !(forInOrOfStatement.flags & 65536 /* AwaitContext */) && isIdentifier(forInOrOfStatement.initializer) && forInOrOfStatement.initializer.escapedText === "async") { + grammarErrorOnNode(forInOrOfStatement.initializer, Diagnostics.The_left_hand_side_of_a_for_of_statement_may_not_be_async); + return false; + } + if (forInOrOfStatement.initializer.kind === 261 /* VariableDeclarationList */) { + const variableList = forInOrOfStatement.initializer; + if (!checkGrammarVariableDeclarationList(variableList)) { + const declarations = variableList.declarations; + if (!declarations.length) { + return false; + } + if (declarations.length > 1) { + const diagnostic = forInOrOfStatement.kind === 249 /* ForInStatement */ ? Diagnostics.Only_a_single_variable_declaration_is_allowed_in_a_for_in_statement : Diagnostics.Only_a_single_variable_declaration_is_allowed_in_a_for_of_statement; + return grammarErrorOnFirstToken(variableList.declarations[1], diagnostic); + } + const firstDeclaration = declarations[0]; + if (firstDeclaration.initializer) { + const diagnostic = forInOrOfStatement.kind === 249 /* ForInStatement */ ? Diagnostics.The_variable_declaration_of_a_for_in_statement_cannot_have_an_initializer : Diagnostics.The_variable_declaration_of_a_for_of_statement_cannot_have_an_initializer; + return grammarErrorOnNode(firstDeclaration.name, diagnostic); + } + if (firstDeclaration.type) { + const diagnostic = forInOrOfStatement.kind === 249 /* ForInStatement */ ? Diagnostics.The_left_hand_side_of_a_for_in_statement_cannot_use_a_type_annotation : Diagnostics.The_left_hand_side_of_a_for_of_statement_cannot_use_a_type_annotation; + return grammarErrorOnNode(firstDeclaration, diagnostic); + } + } + } + return false; + } + function checkGrammarAccessor(accessor) { + if (!(accessor.flags & 33554432 /* Ambient */) && accessor.parent.kind !== 187 /* TypeLiteral */ && accessor.parent.kind !== 264 /* InterfaceDeclaration */) { + if (languageVersion < 2 /* ES2015 */ && isPrivateIdentifier(accessor.name)) { + return grammarErrorOnNode(accessor.name, Diagnostics.Private_identifiers_are_only_available_when_targeting_ECMAScript_2015_and_higher); + } + if (accessor.body === void 0 && !hasSyntacticModifier(accessor, 64 /* Abstract */)) { + return grammarErrorAtPos(accessor, accessor.end - 1, ";".length, Diagnostics._0_expected, "{"); + } + } + if (accessor.body) { + if (hasSyntacticModifier(accessor, 64 /* Abstract */)) { + return grammarErrorOnNode(accessor, Diagnostics.An_abstract_accessor_cannot_have_an_implementation); + } + if (accessor.parent.kind === 187 /* TypeLiteral */ || accessor.parent.kind === 264 /* InterfaceDeclaration */) { + return grammarErrorOnNode(accessor.body, Diagnostics.An_implementation_cannot_be_declared_in_ambient_contexts); + } + } + if (accessor.typeParameters) { + return grammarErrorOnNode(accessor.name, Diagnostics.An_accessor_cannot_have_type_parameters); + } + if (!doesAccessorHaveCorrectParameterCount(accessor)) { + return grammarErrorOnNode( + accessor.name, + accessor.kind === 177 /* GetAccessor */ ? Diagnostics.A_get_accessor_cannot_have_parameters : Diagnostics.A_set_accessor_must_have_exactly_one_parameter + ); + } + if (accessor.kind === 178 /* SetAccessor */) { + if (accessor.type) { + return grammarErrorOnNode(accessor.name, Diagnostics.A_set_accessor_cannot_have_a_return_type_annotation); + } + const parameter = Debug.checkDefined(getSetAccessorValueParameter(accessor), "Return value does not match parameter count assertion."); + if (parameter.dotDotDotToken) { + return grammarErrorOnNode(parameter.dotDotDotToken, Diagnostics.A_set_accessor_cannot_have_rest_parameter); + } + if (parameter.questionToken) { + return grammarErrorOnNode(parameter.questionToken, Diagnostics.A_set_accessor_cannot_have_an_optional_parameter); + } + if (parameter.initializer) { + return grammarErrorOnNode(accessor.name, Diagnostics.A_set_accessor_parameter_cannot_have_an_initializer); + } + } + return false; + } + function doesAccessorHaveCorrectParameterCount(accessor) { + return getAccessorThisParameter(accessor) || accessor.parameters.length === (accessor.kind === 177 /* GetAccessor */ ? 0 : 1); + } + function getAccessorThisParameter(accessor) { + if (accessor.parameters.length === (accessor.kind === 177 /* GetAccessor */ ? 1 : 2)) { + return getThisParameter(accessor); + } + } + function checkGrammarTypeOperatorNode(node) { + if (node.operator === 158 /* UniqueKeyword */) { + if (node.type.kind !== 155 /* SymbolKeyword */) { + return grammarErrorOnNode(node.type, Diagnostics._0_expected, tokenToString(155 /* SymbolKeyword */)); + } + let parent = walkUpParenthesizedTypes(node.parent); + if (isInJSFile(parent) && isJSDocTypeExpression(parent)) { + const host2 = getJSDocHost(parent); + if (host2) { + parent = getSingleVariableOfVariableStatement(host2) || host2; + } + } + switch (parent.kind) { + case 260 /* VariableDeclaration */: + const decl = parent; + if (decl.name.kind !== 80 /* Identifier */) { + return grammarErrorOnNode(node, Diagnostics.unique_symbol_types_may_not_be_used_on_a_variable_declaration_with_a_binding_name); + } + if (!isVariableDeclarationInVariableStatement(decl)) { + return grammarErrorOnNode(node, Diagnostics.unique_symbol_types_are_only_allowed_on_variables_in_a_variable_statement); + } + if (!(decl.parent.flags & 2 /* Const */)) { + return grammarErrorOnNode(parent.name, Diagnostics.A_variable_whose_type_is_a_unique_symbol_type_must_be_const); + } + break; + case 172 /* PropertyDeclaration */: + if (!isStatic(parent) || !hasEffectiveReadonlyModifier(parent)) { + return grammarErrorOnNode(parent.name, Diagnostics.A_property_of_a_class_whose_type_is_a_unique_symbol_type_must_be_both_static_and_readonly); + } + break; + case 171 /* PropertySignature */: + if (!hasSyntacticModifier(parent, 8 /* Readonly */)) { + return grammarErrorOnNode(parent.name, Diagnostics.A_property_of_an_interface_or_type_literal_whose_type_is_a_unique_symbol_type_must_be_readonly); + } + break; + default: + return grammarErrorOnNode(node, Diagnostics.unique_symbol_types_are_not_allowed_here); + } + } else if (node.operator === 148 /* ReadonlyKeyword */) { + if (node.type.kind !== 188 /* ArrayType */ && node.type.kind !== 189 /* TupleType */) { + return grammarErrorOnFirstToken(node, Diagnostics.readonly_type_modifier_is_only_permitted_on_array_and_tuple_literal_types, tokenToString(155 /* SymbolKeyword */)); + } + } + } + function checkGrammarForInvalidDynamicName(node, message) { + if (isNonBindableDynamicName(node)) { + return grammarErrorOnNode(node, message); + } + } + function checkGrammarMethod(node) { + if (checkGrammarFunctionLikeDeclaration(node)) { + return true; + } + if (node.kind === 174 /* MethodDeclaration */) { + if (node.parent.kind === 210 /* ObjectLiteralExpression */) { + if (node.modifiers && !(node.modifiers.length === 1 && first(node.modifiers).kind === 134 /* AsyncKeyword */)) { + return grammarErrorOnFirstToken(node, Diagnostics.Modifiers_cannot_appear_here); + } else if (checkGrammarForInvalidQuestionMark(node.questionToken, Diagnostics.An_object_member_cannot_be_declared_optional)) { + return true; + } else if (checkGrammarForInvalidExclamationToken(node.exclamationToken, Diagnostics.A_definite_assignment_assertion_is_not_permitted_in_this_context)) { + return true; + } else if (node.body === void 0) { + return grammarErrorAtPos(node, node.end - 1, ";".length, Diagnostics._0_expected, "{"); + } + } + if (checkGrammarForGenerator(node)) { + return true; + } + } + if (isClassLike(node.parent)) { + if (languageVersion < 2 /* ES2015 */ && isPrivateIdentifier(node.name)) { + return grammarErrorOnNode(node.name, Diagnostics.Private_identifiers_are_only_available_when_targeting_ECMAScript_2015_and_higher); + } + if (node.flags & 33554432 /* Ambient */) { + return checkGrammarForInvalidDynamicName(node.name, Diagnostics.A_computed_property_name_in_an_ambient_context_must_refer_to_an_expression_whose_type_is_a_literal_type_or_a_unique_symbol_type); + } else if (node.kind === 174 /* MethodDeclaration */ && !node.body) { + return checkGrammarForInvalidDynamicName(node.name, Diagnostics.A_computed_property_name_in_a_method_overload_must_refer_to_an_expression_whose_type_is_a_literal_type_or_a_unique_symbol_type); + } + } else if (node.parent.kind === 264 /* InterfaceDeclaration */) { + return checkGrammarForInvalidDynamicName(node.name, Diagnostics.A_computed_property_name_in_an_interface_must_refer_to_an_expression_whose_type_is_a_literal_type_or_a_unique_symbol_type); + } else if (node.parent.kind === 187 /* TypeLiteral */) { + return checkGrammarForInvalidDynamicName(node.name, Diagnostics.A_computed_property_name_in_a_type_literal_must_refer_to_an_expression_whose_type_is_a_literal_type_or_a_unique_symbol_type); + } + } + function checkGrammarBreakOrContinueStatement(node) { + let current = node; + while (current) { + if (isFunctionLikeOrClassStaticBlockDeclaration(current)) { + return grammarErrorOnNode(node, Diagnostics.Jump_target_cannot_cross_function_boundary); + } + switch (current.kind) { + case 256 /* LabeledStatement */: + if (node.label && current.label.escapedText === node.label.escapedText) { + const isMisplacedContinueLabel = node.kind === 251 /* ContinueStatement */ && !isIterationStatement( + current.statement, + /*lookInLabeledStatements*/ + true + ); + if (isMisplacedContinueLabel) { + return grammarErrorOnNode(node, Diagnostics.A_continue_statement_can_only_jump_to_a_label_of_an_enclosing_iteration_statement); + } + return false; + } + break; + case 255 /* SwitchStatement */: + if (node.kind === 252 /* BreakStatement */ && !node.label) { + return false; + } + break; + default: + if (isIterationStatement( + current, + /*lookInLabeledStatements*/ + false + ) && !node.label) { + return false; + } + break; + } + current = current.parent; + } + if (node.label) { + const message = node.kind === 252 /* BreakStatement */ ? Diagnostics.A_break_statement_can_only_jump_to_a_label_of_an_enclosing_statement : Diagnostics.A_continue_statement_can_only_jump_to_a_label_of_an_enclosing_iteration_statement; + return grammarErrorOnNode(node, message); + } else { + const message = node.kind === 252 /* BreakStatement */ ? Diagnostics.A_break_statement_can_only_be_used_within_an_enclosing_iteration_or_switch_statement : Diagnostics.A_continue_statement_can_only_be_used_within_an_enclosing_iteration_statement; + return grammarErrorOnNode(node, message); + } + } + function checkGrammarBindingElement(node) { + if (node.dotDotDotToken) { + const elements = node.parent.elements; + if (node !== last(elements)) { + return grammarErrorOnNode(node, Diagnostics.A_rest_element_must_be_last_in_a_destructuring_pattern); + } + checkGrammarForDisallowedTrailingComma(elements, Diagnostics.A_rest_parameter_or_binding_pattern_may_not_have_a_trailing_comma); + if (node.propertyName) { + return grammarErrorOnNode(node.name, Diagnostics.A_rest_element_cannot_have_a_property_name); + } + } + if (node.dotDotDotToken && node.initializer) { + return grammarErrorAtPos(node, node.initializer.pos - 1, 1, Diagnostics.A_rest_element_cannot_have_an_initializer); + } + } + function isStringOrNumberLiteralExpression(expr) { + return isStringOrNumericLiteralLike(expr) || expr.kind === 224 /* PrefixUnaryExpression */ && expr.operator === 41 /* MinusToken */ && expr.operand.kind === 9 /* NumericLiteral */; + } + function isBigIntLiteralExpression(expr) { + return expr.kind === 10 /* BigIntLiteral */ || expr.kind === 224 /* PrefixUnaryExpression */ && expr.operator === 41 /* MinusToken */ && expr.operand.kind === 10 /* BigIntLiteral */; + } + function isSimpleLiteralEnumReference(expr) { + if ((isPropertyAccessExpression(expr) || isElementAccessExpression(expr) && isStringOrNumberLiteralExpression(expr.argumentExpression)) && isEntityNameExpression(expr.expression)) { + return !!(checkExpressionCached(expr).flags & 1056 /* EnumLike */); + } + } + function checkAmbientInitializer(node) { + const initializer = node.initializer; + if (initializer) { + const isInvalidInitializer = !(isStringOrNumberLiteralExpression(initializer) || isSimpleLiteralEnumReference(initializer) || initializer.kind === 112 /* TrueKeyword */ || initializer.kind === 97 /* FalseKeyword */ || isBigIntLiteralExpression(initializer)); + const isConstOrReadonly = isDeclarationReadonly(node) || isVariableDeclaration(node) && isVarConstLike2(node); + if (isConstOrReadonly && !node.type) { + if (isInvalidInitializer) { + return grammarErrorOnNode(initializer, Diagnostics.A_const_initializer_in_an_ambient_context_must_be_a_string_or_numeric_literal_or_literal_enum_reference); + } + } else { + return grammarErrorOnNode(initializer, Diagnostics.Initializers_are_not_allowed_in_ambient_contexts); + } + } + } + function checkGrammarVariableDeclaration(node) { + const nodeFlags = getCombinedNodeFlagsCached(node); + const blockScopeKind = nodeFlags & 7 /* BlockScoped */; + if (isBindingPattern(node.name)) { + switch (blockScopeKind) { + case 6 /* AwaitUsing */: + return grammarErrorOnNode(node, Diagnostics._0_declarations_may_not_have_binding_patterns, "await using"); + case 4 /* Using */: + return grammarErrorOnNode(node, Diagnostics._0_declarations_may_not_have_binding_patterns, "using"); + } + } + if (node.parent.parent.kind !== 249 /* ForInStatement */ && node.parent.parent.kind !== 250 /* ForOfStatement */) { + if (nodeFlags & 33554432 /* Ambient */) { + checkAmbientInitializer(node); + } else if (!node.initializer) { + if (isBindingPattern(node.name) && !isBindingPattern(node.parent)) { + return grammarErrorOnNode(node, Diagnostics.A_destructuring_declaration_must_have_an_initializer); + } + switch (blockScopeKind) { + case 6 /* AwaitUsing */: + return grammarErrorOnNode(node, Diagnostics._0_declarations_must_be_initialized, "await using"); + case 4 /* Using */: + return grammarErrorOnNode(node, Diagnostics._0_declarations_must_be_initialized, "using"); + case 2 /* Const */: + return grammarErrorOnNode(node, Diagnostics._0_declarations_must_be_initialized, "const"); + } + } + } + if (node.exclamationToken && (node.parent.parent.kind !== 243 /* VariableStatement */ || !node.type || node.initializer || nodeFlags & 33554432 /* Ambient */)) { + const message = node.initializer ? Diagnostics.Declarations_with_initializers_cannot_also_have_definite_assignment_assertions : !node.type ? Diagnostics.Declarations_with_definite_assignment_assertions_must_also_have_type_annotations : Diagnostics.A_definite_assignment_assertion_is_not_permitted_in_this_context; + return grammarErrorOnNode(node.exclamationToken, message); + } + if (host.getEmitModuleFormatOfFile(getSourceFileOfNode(node)) < 4 /* System */ && !(node.parent.parent.flags & 33554432 /* Ambient */) && hasSyntacticModifier(node.parent.parent, 32 /* Export */)) { + checkESModuleMarker(node.name); + } + return !!blockScopeKind && checkGrammarNameInLetOrConstDeclarations(node.name); + } + function checkESModuleMarker(name) { + if (name.kind === 80 /* Identifier */) { + if (idText(name) === "__esModule") { + return grammarErrorOnNodeSkippedOn("noEmit", name, Diagnostics.Identifier_expected_esModule_is_reserved_as_an_exported_marker_when_transforming_ECMAScript_modules); + } + } else { + const elements = name.elements; + for (const element of elements) { + if (!isOmittedExpression(element)) { + return checkESModuleMarker(element.name); + } + } + } + return false; + } + function checkGrammarNameInLetOrConstDeclarations(name) { + if (name.kind === 80 /* Identifier */) { + if (name.escapedText === "let") { + return grammarErrorOnNode(name, Diagnostics.let_is_not_allowed_to_be_used_as_a_name_in_let_or_const_declarations); + } + } else { + const elements = name.elements; + for (const element of elements) { + if (!isOmittedExpression(element)) { + checkGrammarNameInLetOrConstDeclarations(element.name); + } + } + } + return false; + } + function checkGrammarVariableDeclarationList(declarationList) { + const declarations = declarationList.declarations; + if (checkGrammarForDisallowedTrailingComma(declarationList.declarations)) { + return true; + } + if (!declarationList.declarations.length) { + return grammarErrorAtPos(declarationList, declarations.pos, declarations.end - declarations.pos, Diagnostics.Variable_declaration_list_cannot_be_empty); + } + const blockScopeFlags = declarationList.flags & 7 /* BlockScoped */; + if ((blockScopeFlags === 4 /* Using */ || blockScopeFlags === 6 /* AwaitUsing */) && isForInStatement(declarationList.parent)) { + return grammarErrorOnNode( + declarationList, + blockScopeFlags === 4 /* Using */ ? Diagnostics.The_left_hand_side_of_a_for_in_statement_cannot_be_a_using_declaration : Diagnostics.The_left_hand_side_of_a_for_in_statement_cannot_be_an_await_using_declaration + ); + } + if (blockScopeFlags === 6 /* AwaitUsing */) { + return checkAwaitGrammar(declarationList); + } + return false; + } + function allowBlockDeclarations(parent) { + switch (parent.kind) { + case 245 /* IfStatement */: + case 246 /* DoStatement */: + case 247 /* WhileStatement */: + case 254 /* WithStatement */: + case 248 /* ForStatement */: + case 249 /* ForInStatement */: + case 250 /* ForOfStatement */: + return false; + case 256 /* LabeledStatement */: + return allowBlockDeclarations(parent.parent); + } + return true; + } + function checkGrammarForDisallowedBlockScopedVariableStatement(node) { + if (!allowBlockDeclarations(node.parent)) { + const blockScopeKind = getCombinedNodeFlagsCached(node.declarationList) & 7 /* BlockScoped */; + if (blockScopeKind) { + const keyword = blockScopeKind === 1 /* Let */ ? "let" : blockScopeKind === 2 /* Const */ ? "const" : blockScopeKind === 4 /* Using */ ? "using" : blockScopeKind === 6 /* AwaitUsing */ ? "await using" : Debug.fail("Unknown BlockScope flag"); + return grammarErrorOnNode(node, Diagnostics._0_declarations_can_only_be_declared_inside_a_block, keyword); + } + } + } + function checkGrammarMetaProperty(node) { + const escapedText = node.name.escapedText; + switch (node.keywordToken) { + case 105 /* NewKeyword */: + if (escapedText !== "target") { + return grammarErrorOnNode(node.name, Diagnostics._0_is_not_a_valid_meta_property_for_keyword_1_Did_you_mean_2, unescapeLeadingUnderscores(node.name.escapedText), tokenToString(node.keywordToken), "target"); + } + break; + case 102 /* ImportKeyword */: + if (escapedText !== "meta") { + return grammarErrorOnNode(node.name, Diagnostics._0_is_not_a_valid_meta_property_for_keyword_1_Did_you_mean_2, unescapeLeadingUnderscores(node.name.escapedText), tokenToString(node.keywordToken), "meta"); + } + break; + } + } + function hasParseDiagnostics(sourceFile) { + return sourceFile.parseDiagnostics.length > 0; + } + function grammarErrorOnFirstToken(node, message, ...args) { + const sourceFile = getSourceFileOfNode(node); + if (!hasParseDiagnostics(sourceFile)) { + const span = getSpanOfTokenAtPosition(sourceFile, node.pos); + diagnostics.add(createFileDiagnostic(sourceFile, span.start, span.length, message, ...args)); + return true; + } + return false; + } + function grammarErrorAtPos(nodeForSourceFile, start, length2, message, ...args) { + const sourceFile = getSourceFileOfNode(nodeForSourceFile); + if (!hasParseDiagnostics(sourceFile)) { + diagnostics.add(createFileDiagnostic(sourceFile, start, length2, message, ...args)); + return true; + } + return false; + } + function grammarErrorOnNodeSkippedOn(key, node, message, ...args) { + const sourceFile = getSourceFileOfNode(node); + if (!hasParseDiagnostics(sourceFile)) { + errorSkippedOn(key, node, message, ...args); + return true; + } + return false; + } + function grammarErrorOnNode(node, message, ...args) { + const sourceFile = getSourceFileOfNode(node); + if (!hasParseDiagnostics(sourceFile)) { + diagnostics.add(createDiagnosticForNode(node, message, ...args)); + return true; + } + return false; + } + function checkGrammarConstructorTypeParameters(node) { + const jsdocTypeParameters = isInJSFile(node) ? getJSDocTypeParameterDeclarations(node) : void 0; + const range = node.typeParameters || jsdocTypeParameters && firstOrUndefined(jsdocTypeParameters); + if (range) { + const pos = range.pos === range.end ? range.pos : skipTrivia(getSourceFileOfNode(node).text, range.pos); + return grammarErrorAtPos(node, pos, range.end - pos, Diagnostics.Type_parameters_cannot_appear_on_a_constructor_declaration); + } + } + function checkGrammarConstructorTypeAnnotation(node) { + const type = node.type || getEffectiveReturnTypeNode(node); + if (type) { + return grammarErrorOnNode(type, Diagnostics.Type_annotation_cannot_appear_on_a_constructor_declaration); + } + } + function checkGrammarProperty(node) { + if (isComputedPropertyName(node.name) && isBinaryExpression(node.name.expression) && node.name.expression.operatorToken.kind === 103 /* InKeyword */) { + return grammarErrorOnNode(node.parent.members[0], Diagnostics.A_mapped_type_may_not_declare_properties_or_methods); + } + if (isClassLike(node.parent)) { + if (isStringLiteral(node.name) && node.name.text === "constructor") { + return grammarErrorOnNode(node.name, Diagnostics.Classes_may_not_have_a_field_named_constructor); + } + if (checkGrammarForInvalidDynamicName(node.name, Diagnostics.A_computed_property_name_in_a_class_property_declaration_must_have_a_simple_literal_type_or_a_unique_symbol_type)) { + return true; + } + if (languageVersion < 2 /* ES2015 */ && isPrivateIdentifier(node.name)) { + return grammarErrorOnNode(node.name, Diagnostics.Private_identifiers_are_only_available_when_targeting_ECMAScript_2015_and_higher); + } + if (languageVersion < 2 /* ES2015 */ && isAutoAccessorPropertyDeclaration(node)) { + return grammarErrorOnNode(node.name, Diagnostics.Properties_with_the_accessor_modifier_are_only_available_when_targeting_ECMAScript_2015_and_higher); + } + if (isAutoAccessorPropertyDeclaration(node) && checkGrammarForInvalidQuestionMark(node.questionToken, Diagnostics.An_accessor_property_cannot_be_declared_optional)) { + return true; + } + } else if (node.parent.kind === 264 /* InterfaceDeclaration */) { + if (checkGrammarForInvalidDynamicName(node.name, Diagnostics.A_computed_property_name_in_an_interface_must_refer_to_an_expression_whose_type_is_a_literal_type_or_a_unique_symbol_type)) { + return true; + } + Debug.assertNode(node, isPropertySignature); + if (node.initializer) { + return grammarErrorOnNode(node.initializer, Diagnostics.An_interface_property_cannot_have_an_initializer); + } + } else if (isTypeLiteralNode(node.parent)) { + if (checkGrammarForInvalidDynamicName(node.name, Diagnostics.A_computed_property_name_in_a_type_literal_must_refer_to_an_expression_whose_type_is_a_literal_type_or_a_unique_symbol_type)) { + return true; + } + Debug.assertNode(node, isPropertySignature); + if (node.initializer) { + return grammarErrorOnNode(node.initializer, Diagnostics.A_type_literal_property_cannot_have_an_initializer); + } + } + if (node.flags & 33554432 /* Ambient */) { + checkAmbientInitializer(node); + } + if (isPropertyDeclaration(node) && node.exclamationToken && (!isClassLike(node.parent) || !node.type || node.initializer || node.flags & 33554432 /* Ambient */ || isStatic(node) || hasAbstractModifier(node))) { + const message = node.initializer ? Diagnostics.Declarations_with_initializers_cannot_also_have_definite_assignment_assertions : !node.type ? Diagnostics.Declarations_with_definite_assignment_assertions_must_also_have_type_annotations : Diagnostics.A_definite_assignment_assertion_is_not_permitted_in_this_context; + return grammarErrorOnNode(node.exclamationToken, message); + } + } + function checkGrammarTopLevelElementForRequiredDeclareModifier(node) { + if (node.kind === 264 /* InterfaceDeclaration */ || node.kind === 265 /* TypeAliasDeclaration */ || node.kind === 272 /* ImportDeclaration */ || node.kind === 271 /* ImportEqualsDeclaration */ || node.kind === 278 /* ExportDeclaration */ || node.kind === 277 /* ExportAssignment */ || node.kind === 270 /* NamespaceExportDeclaration */ || hasSyntacticModifier(node, 128 /* Ambient */ | 32 /* Export */ | 2048 /* Default */)) { + return false; + } + return grammarErrorOnFirstToken(node, Diagnostics.Top_level_declarations_in_d_ts_files_must_start_with_either_a_declare_or_export_modifier); + } + function checkGrammarTopLevelElementsForRequiredDeclareModifier(file) { + for (const decl of file.statements) { + if (isDeclaration(decl) || decl.kind === 243 /* VariableStatement */) { + if (checkGrammarTopLevelElementForRequiredDeclareModifier(decl)) { + return true; + } + } + } + return false; + } + function checkGrammarSourceFile(node) { + return !!(node.flags & 33554432 /* Ambient */) && checkGrammarTopLevelElementsForRequiredDeclareModifier(node); + } + function checkGrammarStatementInAmbientContext(node) { + if (node.flags & 33554432 /* Ambient */) { + const links = getNodeLinks(node); + if (!links.hasReportedStatementInAmbientContext && (isFunctionLike(node.parent) || isAccessor(node.parent))) { + return getNodeLinks(node).hasReportedStatementInAmbientContext = grammarErrorOnFirstToken(node, Diagnostics.An_implementation_cannot_be_declared_in_ambient_contexts); + } + if (node.parent.kind === 241 /* Block */ || node.parent.kind === 268 /* ModuleBlock */ || node.parent.kind === 307 /* SourceFile */) { + const links2 = getNodeLinks(node.parent); + if (!links2.hasReportedStatementInAmbientContext) { + return links2.hasReportedStatementInAmbientContext = grammarErrorOnFirstToken(node, Diagnostics.Statements_are_not_allowed_in_ambient_contexts); + } + } else { + } + } + return false; + } + function checkGrammarNumericLiteral(node) { + const isFractional = getTextOfNode(node).includes("."); + const isScientific = node.numericLiteralFlags & 16 /* Scientific */; + if (isFractional || isScientific) { + return; + } + const value = +node.text; + if (value <= 2 ** 53 - 1) { + return; + } + addErrorOrSuggestion( + /*isError*/ + false, + createDiagnosticForNode(node, Diagnostics.Numeric_literals_with_absolute_values_equal_to_2_53_or_greater_are_too_large_to_be_represented_accurately_as_integers) + ); + } + function checkGrammarBigIntLiteral(node) { + const literalType = isLiteralTypeNode(node.parent) || isPrefixUnaryExpression(node.parent) && isLiteralTypeNode(node.parent.parent); + if (!literalType) { + if (languageVersion < 7 /* ES2020 */) { + if (grammarErrorOnNode(node, Diagnostics.BigInt_literals_are_not_available_when_targeting_lower_than_ES2020)) { + return true; + } + } + } + return false; + } + function grammarErrorAfterFirstToken(node, message, ...args) { + const sourceFile = getSourceFileOfNode(node); + if (!hasParseDiagnostics(sourceFile)) { + const span = getSpanOfTokenAtPosition(sourceFile, node.pos); + diagnostics.add(createFileDiagnostic( + sourceFile, + textSpanEnd(span), + /*length*/ + 0, + message, + ...args + )); + return true; + } + return false; + } + function getAmbientModules() { + if (!ambientModulesCache) { + ambientModulesCache = []; + globals.forEach((global2, sym) => { + if (ambientModuleSymbolRegex.test(sym)) { + ambientModulesCache.push(global2); + } + }); + } + return ambientModulesCache; + } + function checkGrammarImportClause(node) { + var _a; + if (node.isTypeOnly && node.name && node.namedBindings) { + return grammarErrorOnNode(node, Diagnostics.A_type_only_import_can_specify_a_default_import_or_named_bindings_but_not_both); + } + if (node.isTypeOnly && ((_a = node.namedBindings) == null ? void 0 : _a.kind) === 275 /* NamedImports */) { + return checkGrammarNamedImportsOrExports(node.namedBindings); + } + return false; + } + function checkGrammarNamedImportsOrExports(namedBindings) { + return !!forEach(namedBindings.elements, (specifier) => { + if (specifier.isTypeOnly) { + return grammarErrorOnFirstToken( + specifier, + specifier.kind === 276 /* ImportSpecifier */ ? Diagnostics.The_type_modifier_cannot_be_used_on_a_named_import_when_import_type_is_used_on_its_import_statement : Diagnostics.The_type_modifier_cannot_be_used_on_a_named_export_when_export_type_is_used_on_its_export_statement + ); + } + }); + } + function checkGrammarImportCallExpression(node) { + if (compilerOptions.verbatimModuleSyntax && moduleKind === 1 /* CommonJS */) { + return grammarErrorOnNode(node, Diagnostics.ESM_syntax_is_not_allowed_in_a_CommonJS_module_when_verbatimModuleSyntax_is_enabled); + } + if (moduleKind === 5 /* ES2015 */) { + return grammarErrorOnNode(node, Diagnostics.Dynamic_imports_are_only_supported_when_the_module_flag_is_set_to_es2020_es2022_esnext_commonjs_amd_system_umd_node16_or_nodenext); + } + if (node.typeArguments) { + return grammarErrorOnNode(node, Diagnostics.This_use_of_import_is_invalid_import_calls_can_be_written_but_they_must_have_parentheses_and_cannot_have_type_arguments); + } + const nodeArguments = node.arguments; + if (moduleKind !== 99 /* ESNext */ && moduleKind !== 199 /* NodeNext */ && moduleKind !== 100 /* Node16 */ && moduleKind !== 200 /* Preserve */) { + checkGrammarForDisallowedTrailingComma(nodeArguments); + if (nodeArguments.length > 1) { + const importAttributesArgument = nodeArguments[1]; + return grammarErrorOnNode(importAttributesArgument, Diagnostics.Dynamic_imports_only_support_a_second_argument_when_the_module_option_is_set_to_esnext_node16_nodenext_or_preserve); + } + } + if (nodeArguments.length === 0 || nodeArguments.length > 2) { + return grammarErrorOnNode(node, Diagnostics.Dynamic_imports_can_only_accept_a_module_specifier_and_an_optional_set_of_attributes_as_arguments); + } + const spreadElement = find(nodeArguments, isSpreadElement); + if (spreadElement) { + return grammarErrorOnNode(spreadElement, Diagnostics.Argument_of_dynamic_import_cannot_be_spread_element); + } + return false; + } + function findMatchingTypeReferenceOrTypeAliasReference(source, unionTarget) { + const sourceObjectFlags = getObjectFlags(source); + if (sourceObjectFlags & (4 /* Reference */ | 16 /* Anonymous */) && unionTarget.flags & 1048576 /* Union */) { + return find(unionTarget.types, (target) => { + if (target.flags & 524288 /* Object */) { + const overlapObjFlags = sourceObjectFlags & getObjectFlags(target); + if (overlapObjFlags & 4 /* Reference */) { + return source.target === target.target; + } + if (overlapObjFlags & 16 /* Anonymous */) { + return !!source.aliasSymbol && source.aliasSymbol === target.aliasSymbol; + } + } + return false; + }); + } + } + function findBestTypeForObjectLiteral(source, unionTarget) { + if (getObjectFlags(source) & 128 /* ObjectLiteral */ && someType(unionTarget, isArrayLikeType)) { + return find(unionTarget.types, (t) => !isArrayLikeType(t)); + } + } + function findBestTypeForInvokable(source, unionTarget) { + let signatureKind = 0 /* Call */; + const hasSignatures = getSignaturesOfType(source, signatureKind).length > 0 || (signatureKind = 1 /* Construct */, getSignaturesOfType(source, signatureKind).length > 0); + if (hasSignatures) { + return find(unionTarget.types, (t) => getSignaturesOfType(t, signatureKind).length > 0); + } + } + function findMostOverlappyType(source, unionTarget) { + let bestMatch; + if (!(source.flags & (402784252 /* Primitive */ | 406847488 /* InstantiablePrimitive */))) { + let matchingCount = 0; + for (const target of unionTarget.types) { + if (!(target.flags & (402784252 /* Primitive */ | 406847488 /* InstantiablePrimitive */))) { + const overlap = getIntersectionType([getIndexType(source), getIndexType(target)]); + if (overlap.flags & 4194304 /* Index */) { + return target; + } else if (isUnitType(overlap) || overlap.flags & 1048576 /* Union */) { + const len = overlap.flags & 1048576 /* Union */ ? countWhere(overlap.types, isUnitType) : 1; + if (len >= matchingCount) { + bestMatch = target; + matchingCount = len; + } + } + } + } + } + return bestMatch; + } + function filterPrimitivesIfContainsNonPrimitive(type) { + if (maybeTypeOfKind(type, 67108864 /* NonPrimitive */)) { + const result = filterType(type, (t) => !(t.flags & 402784252 /* Primitive */)); + if (!(result.flags & 131072 /* Never */)) { + return result; + } + } + return type; + } + function findMatchingDiscriminantType(source, target, isRelatedTo) { + if (target.flags & 1048576 /* Union */ && source.flags & (2097152 /* Intersection */ | 524288 /* Object */)) { + const match = getMatchingUnionConstituentForType(target, source); + if (match) { + return match; + } + const sourceProperties = getPropertiesOfType(source); + if (sourceProperties) { + const sourcePropertiesFiltered = findDiscriminantProperties(sourceProperties, target); + if (sourcePropertiesFiltered) { + const discriminated = discriminateTypeByDiscriminableItems(target, map(sourcePropertiesFiltered, (p) => [() => getTypeOfSymbol(p), p.escapedName]), isRelatedTo); + if (discriminated !== target) { + return discriminated; + } + } + } + } + return void 0; + } + function getEffectivePropertyNameForPropertyNameNode(node) { + const name = getPropertyNameForPropertyNameNode(node); + return name ? name : isComputedPropertyName(node) ? tryGetNameFromType(getTypeOfExpression(node.expression)) : void 0; + } + function getCombinedModifierFlagsCached(node) { + if (lastGetCombinedModifierFlagsNode === node) { + return lastGetCombinedModifierFlagsResult; + } + lastGetCombinedModifierFlagsNode = node; + lastGetCombinedModifierFlagsResult = getCombinedModifierFlags(node); + return lastGetCombinedModifierFlagsResult; + } + function getCombinedNodeFlagsCached(node) { + if (lastGetCombinedNodeFlagsNode === node) { + return lastGetCombinedNodeFlagsResult; + } + lastGetCombinedNodeFlagsNode = node; + lastGetCombinedNodeFlagsResult = getCombinedNodeFlags(node); + return lastGetCombinedNodeFlagsResult; + } + function isVarConstLike2(node) { + const blockScopeKind = getCombinedNodeFlagsCached(node) & 7 /* BlockScoped */; + return blockScopeKind === 2 /* Const */ || blockScopeKind === 4 /* Using */ || blockScopeKind === 6 /* AwaitUsing */; + } + function getJSXRuntimeImportSpecifier(file, specifierText) { + const jsxImportIndex = compilerOptions.importHelpers ? 1 : 0; + const specifier = file == null ? void 0 : file.imports[jsxImportIndex]; + if (specifier) { + Debug.assert(nodeIsSynthesized(specifier) && specifier.text === specifierText, `Expected sourceFile.imports[${jsxImportIndex}] to be the synthesized JSX runtime import`); + } + return specifier; + } + function getImportHelpersImportSpecifier(file) { + Debug.assert(compilerOptions.importHelpers, "Expected importHelpers to be enabled"); + const specifier = file.imports[0]; + Debug.assert(specifier && nodeIsSynthesized(specifier) && specifier.text === "tslib", `Expected sourceFile.imports[0] to be the synthesized tslib import`); + return specifier; + } +} +function isNotAccessor(declaration) { + return !isAccessor(declaration); +} +function isNotOverload(declaration) { + return declaration.kind !== 262 /* FunctionDeclaration */ && declaration.kind !== 174 /* MethodDeclaration */ || !!declaration.body; +} +function isDeclarationNameOrImportPropertyName(name) { + switch (name.parent.kind) { + case 276 /* ImportSpecifier */: + case 281 /* ExportSpecifier */: + return isIdentifier(name) || name.kind === 11 /* StringLiteral */; + default: + return isDeclarationName(name); + } +} +var JsxNames; +((JsxNames2) => { + JsxNames2.JSX = "JSX"; + JsxNames2.IntrinsicElements = "IntrinsicElements"; + JsxNames2.ElementClass = "ElementClass"; + JsxNames2.ElementAttributesPropertyNameContainer = "ElementAttributesProperty"; + JsxNames2.ElementChildrenAttributeNameContainer = "ElementChildrenAttribute"; + JsxNames2.Element = "Element"; + JsxNames2.ElementType = "ElementType"; + JsxNames2.IntrinsicAttributes = "IntrinsicAttributes"; + JsxNames2.IntrinsicClassAttributes = "IntrinsicClassAttributes"; + JsxNames2.LibraryManagedAttributes = "LibraryManagedAttributes"; +})(JsxNames || (JsxNames = {})); +var ReactNames; +((ReactNames2) => { + ReactNames2.Fragment = "Fragment"; +})(ReactNames || (ReactNames = {})); +function getIterationTypesKeyFromIterationTypeKind(typeKind) { + switch (typeKind) { + case 0 /* Yield */: + return "yieldType"; + case 1 /* Return */: + return "returnType"; + case 2 /* Next */: + return "nextType"; + } +} +function signatureHasRestParameter(s) { + return !!(s.flags & 1 /* HasRestParameter */); +} +function signatureHasLiteralTypes(s) { + return !!(s.flags & 2 /* HasLiteralTypes */); +} +function createBasicNodeBuilderModuleSpecifierResolutionHost(host) { + return { + getCommonSourceDirectory: !!host.getCommonSourceDirectory ? () => host.getCommonSourceDirectory() : () => "", + getCurrentDirectory: () => host.getCurrentDirectory(), + getSymlinkCache: maybeBind(host, host.getSymlinkCache), + getPackageJsonInfoCache: () => { + var _a; + return (_a = host.getPackageJsonInfoCache) == null ? void 0 : _a.call(host); + }, + useCaseSensitiveFileNames: () => host.useCaseSensitiveFileNames(), + redirectTargetsMap: host.redirectTargetsMap, + getProjectReferenceRedirect: (fileName) => host.getProjectReferenceRedirect(fileName), + isSourceOfProjectReferenceRedirect: (fileName) => host.isSourceOfProjectReferenceRedirect(fileName), + fileExists: (fileName) => host.fileExists(fileName), + getFileIncludeReasons: () => host.getFileIncludeReasons(), + readFile: host.readFile ? (fileName) => host.readFile(fileName) : void 0, + getDefaultResolutionModeForFile: (file) => host.getDefaultResolutionModeForFile(file), + getModeForResolutionAtIndex: (file, index) => host.getModeForResolutionAtIndex(file, index), + getGlobalTypingsCacheLocation: maybeBind(host, host.getGlobalTypingsCacheLocation) + }; +} +var SymbolTrackerImpl = class _SymbolTrackerImpl { + constructor(context, tracker, moduleResolverHost) { + this.moduleResolverHost = void 0; + this.inner = void 0; + this.disableTrackSymbol = false; + var _a; + while (tracker instanceof _SymbolTrackerImpl) { + tracker = tracker.inner; + } + this.inner = tracker; + this.moduleResolverHost = moduleResolverHost; + this.context = context; + this.canTrackSymbol = !!((_a = this.inner) == null ? void 0 : _a.trackSymbol); + } + trackSymbol(symbol, enclosingDeclaration, meaning) { + var _a, _b; + if (((_a = this.inner) == null ? void 0 : _a.trackSymbol) && !this.disableTrackSymbol) { + if (this.inner.trackSymbol(symbol, enclosingDeclaration, meaning)) { + this.onDiagnosticReported(); + return true; + } + if (!(symbol.flags & 262144 /* TypeParameter */)) ((_b = this.context).trackedSymbols ?? (_b.trackedSymbols = [])).push([symbol, enclosingDeclaration, meaning]); + } + return false; + } + reportInaccessibleThisError() { + var _a; + if ((_a = this.inner) == null ? void 0 : _a.reportInaccessibleThisError) { + this.onDiagnosticReported(); + this.inner.reportInaccessibleThisError(); + } + } + reportPrivateInBaseOfClassExpression(propertyName) { + var _a; + if ((_a = this.inner) == null ? void 0 : _a.reportPrivateInBaseOfClassExpression) { + this.onDiagnosticReported(); + this.inner.reportPrivateInBaseOfClassExpression(propertyName); + } + } + reportInaccessibleUniqueSymbolError() { + var _a; + if ((_a = this.inner) == null ? void 0 : _a.reportInaccessibleUniqueSymbolError) { + this.onDiagnosticReported(); + this.inner.reportInaccessibleUniqueSymbolError(); + } + } + reportCyclicStructureError() { + var _a; + if ((_a = this.inner) == null ? void 0 : _a.reportCyclicStructureError) { + this.onDiagnosticReported(); + this.inner.reportCyclicStructureError(); + } + } + reportLikelyUnsafeImportRequiredError(specifier) { + var _a; + if ((_a = this.inner) == null ? void 0 : _a.reportLikelyUnsafeImportRequiredError) { + this.onDiagnosticReported(); + this.inner.reportLikelyUnsafeImportRequiredError(specifier); + } + } + reportTruncationError() { + var _a; + if ((_a = this.inner) == null ? void 0 : _a.reportTruncationError) { + this.onDiagnosticReported(); + this.inner.reportTruncationError(); + } + } + reportNonlocalAugmentation(containingFile, parentSymbol, augmentingSymbol) { + var _a; + if ((_a = this.inner) == null ? void 0 : _a.reportNonlocalAugmentation) { + this.onDiagnosticReported(); + this.inner.reportNonlocalAugmentation(containingFile, parentSymbol, augmentingSymbol); + } + } + reportNonSerializableProperty(propertyName) { + var _a; + if ((_a = this.inner) == null ? void 0 : _a.reportNonSerializableProperty) { + this.onDiagnosticReported(); + this.inner.reportNonSerializableProperty(propertyName); + } + } + onDiagnosticReported() { + this.context.reportedDiagnostic = true; + } + reportInferenceFallback(node) { + var _a; + if (((_a = this.inner) == null ? void 0 : _a.reportInferenceFallback) && !this.context.suppressReportInferenceFallback) { + this.onDiagnosticReported(); + this.inner.reportInferenceFallback(node); + } + } + pushErrorFallbackNode(node) { + var _a, _b; + return (_b = (_a = this.inner) == null ? void 0 : _a.pushErrorFallbackNode) == null ? void 0 : _b.call(_a, node); + } + popErrorFallbackNode() { + var _a, _b; + return (_b = (_a = this.inner) == null ? void 0 : _a.popErrorFallbackNode) == null ? void 0 : _b.call(_a); + } +}; + +// src/compiler/visitorPublic.ts +function visitNode(node, visitor, test, lift) { + if (node === void 0) { + return node; + } + const visited = visitor(node); + let visitedNode; + if (visited === void 0) { + return void 0; + } else if (isArray(visited)) { + visitedNode = (lift || extractSingleNode)(visited); + } else { + visitedNode = visited; + } + Debug.assertNode(visitedNode, test); + return visitedNode; +} +function visitNodes2(nodes, visitor, test, start, count) { + if (nodes === void 0) { + return nodes; + } + const length2 = nodes.length; + if (start === void 0 || start < 0) { + start = 0; + } + if (count === void 0 || count > length2 - start) { + count = length2 - start; + } + let hasTrailingComma; + let pos = -1; + let end = -1; + if (start > 0 || count < length2) { + hasTrailingComma = nodes.hasTrailingComma && start + count === length2; + } else { + pos = nodes.pos; + end = nodes.end; + hasTrailingComma = nodes.hasTrailingComma; + } + const updated = visitArrayWorker(nodes, visitor, test, start, count); + if (updated !== nodes) { + const updatedArray = factory.createNodeArray(updated, hasTrailingComma); + setTextRangePosEnd(updatedArray, pos, end); + return updatedArray; + } + return nodes; +} +function visitArray(nodes, visitor, test, start, count) { + if (nodes === void 0) { + return nodes; + } + const length2 = nodes.length; + if (start === void 0 || start < 0) { + start = 0; + } + if (count === void 0 || count > length2 - start) { + count = length2 - start; + } + return visitArrayWorker(nodes, visitor, test, start, count); +} +function visitArrayWorker(nodes, visitor, test, start, count) { + let updated; + const length2 = nodes.length; + if (start > 0 || count < length2) { + updated = []; + } + for (let i = 0; i < count; i++) { + const node = nodes[i + start]; + const visited = node !== void 0 ? visitor ? visitor(node) : node : void 0; + if (updated !== void 0 || visited === void 0 || visited !== node) { + if (updated === void 0) { + updated = nodes.slice(0, i); + Debug.assertEachNode(updated, test); + } + if (visited) { + if (isArray(visited)) { + for (const visitedNode of visited) { + Debug.assertNode(visitedNode, test); + updated.push(visitedNode); + } + } else { + Debug.assertNode(visited, test); + updated.push(visited); + } + } + } + } + if (updated) { + return updated; + } + Debug.assertEachNode(nodes, test); + return nodes; +} +function visitLexicalEnvironment(statements, visitor, context, start, ensureUseStrict, nodesVisitor = visitNodes2) { + context.startLexicalEnvironment(); + statements = nodesVisitor(statements, visitor, isStatement, start); + if (ensureUseStrict) statements = context.factory.ensureUseStrict(statements); + return factory.mergeLexicalEnvironment(statements, context.endLexicalEnvironment()); +} +function visitParameterList(nodes, visitor, context, nodesVisitor = visitNodes2) { + let updated; + context.startLexicalEnvironment(); + if (nodes) { + context.setLexicalEnvironmentFlags(1 /* InParameters */, true); + updated = nodesVisitor(nodes, visitor, isParameter); + if (context.getLexicalEnvironmentFlags() & 2 /* VariablesHoistedInParameters */ && getEmitScriptTarget(context.getCompilerOptions()) >= 2 /* ES2015 */) { + updated = addDefaultValueAssignmentsIfNeeded(updated, context); + } + context.setLexicalEnvironmentFlags(1 /* InParameters */, false); + } + context.suspendLexicalEnvironment(); + return updated; +} +function addDefaultValueAssignmentsIfNeeded(parameters, context) { + let result; + for (let i = 0; i < parameters.length; i++) { + const parameter = parameters[i]; + const updated = addDefaultValueAssignmentIfNeeded(parameter, context); + if (result || updated !== parameter) { + if (!result) result = parameters.slice(0, i); + result[i] = updated; + } + } + if (result) { + return setTextRange(context.factory.createNodeArray(result, parameters.hasTrailingComma), parameters); + } + return parameters; +} +function addDefaultValueAssignmentIfNeeded(parameter, context) { + return parameter.dotDotDotToken ? parameter : isBindingPattern(parameter.name) ? addDefaultValueAssignmentForBindingPattern(parameter, context) : parameter.initializer ? addDefaultValueAssignmentForInitializer(parameter, parameter.name, parameter.initializer, context) : parameter; +} +function addDefaultValueAssignmentForBindingPattern(parameter, context) { + const { factory: factory2 } = context; + context.addInitializationStatement( + factory2.createVariableStatement( + /*modifiers*/ + void 0, + factory2.createVariableDeclarationList([ + factory2.createVariableDeclaration( + parameter.name, + /*exclamationToken*/ + void 0, + parameter.type, + parameter.initializer ? factory2.createConditionalExpression( + factory2.createStrictEquality( + factory2.getGeneratedNameForNode(parameter), + factory2.createVoidZero() + ), + /*questionToken*/ + void 0, + parameter.initializer, + /*colonToken*/ + void 0, + factory2.getGeneratedNameForNode(parameter) + ) : factory2.getGeneratedNameForNode(parameter) + ) + ]) + ) + ); + return factory2.updateParameterDeclaration( + parameter, + parameter.modifiers, + parameter.dotDotDotToken, + factory2.getGeneratedNameForNode(parameter), + parameter.questionToken, + parameter.type, + /*initializer*/ + void 0 + ); +} +function addDefaultValueAssignmentForInitializer(parameter, name, initializer, context) { + const factory2 = context.factory; + context.addInitializationStatement( + factory2.createIfStatement( + factory2.createTypeCheck(factory2.cloneNode(name), "undefined"), + setEmitFlags( + setTextRange( + factory2.createBlock([ + factory2.createExpressionStatement( + setEmitFlags( + setTextRange( + factory2.createAssignment( + setEmitFlags(factory2.cloneNode(name), 96 /* NoSourceMap */), + setEmitFlags(initializer, 96 /* NoSourceMap */ | getEmitFlags(initializer) | 3072 /* NoComments */) + ), + parameter + ), + 3072 /* NoComments */ + ) + ) + ]), + parameter + ), + 1 /* SingleLine */ | 64 /* NoTrailingSourceMap */ | 768 /* NoTokenSourceMaps */ | 3072 /* NoComments */ + ) + ) + ); + return factory2.updateParameterDeclaration( + parameter, + parameter.modifiers, + parameter.dotDotDotToken, + parameter.name, + parameter.questionToken, + parameter.type, + /*initializer*/ + void 0 + ); +} +function visitFunctionBody(node, visitor, context, nodeVisitor = visitNode) { + context.resumeLexicalEnvironment(); + const updated = nodeVisitor(node, visitor, isConciseBody); + const declarations = context.endLexicalEnvironment(); + if (some(declarations)) { + if (!updated) { + return context.factory.createBlock(declarations); + } + const block = context.factory.converters.convertToFunctionBlock(updated); + const statements = factory.mergeLexicalEnvironment(block.statements, declarations); + return context.factory.updateBlock(block, statements); + } + return updated; +} +function visitIterationBody(body, visitor, context, nodeVisitor = visitNode) { + context.startBlockScope(); + const updated = nodeVisitor(body, visitor, isStatement, context.factory.liftToBlock); + Debug.assert(updated); + const declarations = context.endBlockScope(); + if (some(declarations)) { + if (isBlock(updated)) { + declarations.push(...updated.statements); + return context.factory.updateBlock(updated, declarations); + } + declarations.push(updated); + return context.factory.createBlock(declarations); + } + return updated; +} +function visitCommaListElements(elements, visitor, discardVisitor = visitor) { + if (discardVisitor === visitor || elements.length <= 1) { + return visitNodes2(elements, visitor, isExpression); + } + let i = 0; + const length2 = elements.length; + return visitNodes2(elements, (node) => { + const discarded = i < length2 - 1; + i++; + return discarded ? discardVisitor(node) : visitor(node); + }, isExpression); +} +function visitEachChild(node, visitor, context = nullTransformationContext, nodesVisitor = visitNodes2, tokenVisitor, nodeVisitor = visitNode) { + if (node === void 0) { + return void 0; + } + const fn = visitEachChildTable[node.kind]; + return fn === void 0 ? node : fn(node, visitor, context, nodesVisitor, nodeVisitor, tokenVisitor); +} +var visitEachChildTable = { + [166 /* QualifiedName */]: function visitEachChildOfQualifiedName(node, visitor, context, _nodesVisitor, nodeVisitor, _tokenVisitor) { + return context.factory.updateQualifiedName( + node, + Debug.checkDefined(nodeVisitor(node.left, visitor, isEntityName)), + Debug.checkDefined(nodeVisitor(node.right, visitor, isIdentifier)) + ); + }, + [167 /* ComputedPropertyName */]: function visitEachChildOfComputedPropertyName(node, visitor, context, _nodesVisitor, nodeVisitor, _tokenVisitor) { + return context.factory.updateComputedPropertyName( + node, + Debug.checkDefined(nodeVisitor(node.expression, visitor, isExpression)) + ); + }, + // Signature elements + [168 /* TypeParameter */]: function visitEachChildOfTypeParameterDeclaration(node, visitor, context, nodesVisitor, nodeVisitor, _tokenVisitor) { + return context.factory.updateTypeParameterDeclaration( + node, + nodesVisitor(node.modifiers, visitor, isModifier), + Debug.checkDefined(nodeVisitor(node.name, visitor, isIdentifier)), + nodeVisitor(node.constraint, visitor, isTypeNode), + nodeVisitor(node.default, visitor, isTypeNode) + ); + }, + [169 /* Parameter */]: function visitEachChildOfParameterDeclaration(node, visitor, context, nodesVisitor, nodeVisitor, tokenVisitor) { + return context.factory.updateParameterDeclaration( + node, + nodesVisitor(node.modifiers, visitor, isModifierLike), + tokenVisitor ? nodeVisitor(node.dotDotDotToken, tokenVisitor, isDotDotDotToken) : node.dotDotDotToken, + Debug.checkDefined(nodeVisitor(node.name, visitor, isBindingName)), + tokenVisitor ? nodeVisitor(node.questionToken, tokenVisitor, isQuestionToken) : node.questionToken, + nodeVisitor(node.type, visitor, isTypeNode), + nodeVisitor(node.initializer, visitor, isExpression) + ); + }, + [170 /* Decorator */]: function visitEachChildOfDecorator(node, visitor, context, _nodesVisitor, nodeVisitor, _tokenVisitor) { + return context.factory.updateDecorator( + node, + Debug.checkDefined(nodeVisitor(node.expression, visitor, isExpression)) + ); + }, + // Type elements + [171 /* PropertySignature */]: function visitEachChildOfPropertySignature(node, visitor, context, nodesVisitor, nodeVisitor, tokenVisitor) { + return context.factory.updatePropertySignature( + node, + nodesVisitor(node.modifiers, visitor, isModifier), + Debug.checkDefined(nodeVisitor(node.name, visitor, isPropertyName)), + tokenVisitor ? nodeVisitor(node.questionToken, tokenVisitor, isQuestionToken) : node.questionToken, + nodeVisitor(node.type, visitor, isTypeNode) + ); + }, + [172 /* PropertyDeclaration */]: function visitEachChildOfPropertyDeclaration(node, visitor, context, nodesVisitor, nodeVisitor, tokenVisitor) { + return context.factory.updatePropertyDeclaration( + node, + nodesVisitor(node.modifiers, visitor, isModifierLike), + Debug.checkDefined(nodeVisitor(node.name, visitor, isPropertyName)), + // QuestionToken and ExclamationToken are mutually exclusive in PropertyDeclaration + tokenVisitor ? nodeVisitor(node.questionToken ?? node.exclamationToken, tokenVisitor, isQuestionOrExclamationToken) : node.questionToken ?? node.exclamationToken, + nodeVisitor(node.type, visitor, isTypeNode), + nodeVisitor(node.initializer, visitor, isExpression) + ); + }, + [173 /* MethodSignature */]: function visitEachChildOfMethodSignature(node, visitor, context, nodesVisitor, nodeVisitor, tokenVisitor) { + return context.factory.updateMethodSignature( + node, + nodesVisitor(node.modifiers, visitor, isModifier), + Debug.checkDefined(nodeVisitor(node.name, visitor, isPropertyName)), + tokenVisitor ? nodeVisitor(node.questionToken, tokenVisitor, isQuestionToken) : node.questionToken, + nodesVisitor(node.typeParameters, visitor, isTypeParameterDeclaration), + nodesVisitor(node.parameters, visitor, isParameter), + nodeVisitor(node.type, visitor, isTypeNode) + ); + }, + [174 /* MethodDeclaration */]: function visitEachChildOfMethodDeclaration(node, visitor, context, nodesVisitor, nodeVisitor, tokenVisitor) { + return context.factory.updateMethodDeclaration( + node, + nodesVisitor(node.modifiers, visitor, isModifierLike), + tokenVisitor ? nodeVisitor(node.asteriskToken, tokenVisitor, isAsteriskToken) : node.asteriskToken, + Debug.checkDefined(nodeVisitor(node.name, visitor, isPropertyName)), + tokenVisitor ? nodeVisitor(node.questionToken, tokenVisitor, isQuestionToken) : node.questionToken, + nodesVisitor(node.typeParameters, visitor, isTypeParameterDeclaration), + visitParameterList(node.parameters, visitor, context, nodesVisitor), + nodeVisitor(node.type, visitor, isTypeNode), + visitFunctionBody(node.body, visitor, context, nodeVisitor) + ); + }, + [176 /* Constructor */]: function visitEachChildOfConstructorDeclaration(node, visitor, context, nodesVisitor, nodeVisitor, _tokenVisitor) { + return context.factory.updateConstructorDeclaration( + node, + nodesVisitor(node.modifiers, visitor, isModifierLike), + visitParameterList(node.parameters, visitor, context, nodesVisitor), + visitFunctionBody(node.body, visitor, context, nodeVisitor) + ); + }, + [177 /* GetAccessor */]: function visitEachChildOfGetAccessorDeclaration(node, visitor, context, nodesVisitor, nodeVisitor, _tokenVisitor) { + return context.factory.updateGetAccessorDeclaration( + node, + nodesVisitor(node.modifiers, visitor, isModifierLike), + Debug.checkDefined(nodeVisitor(node.name, visitor, isPropertyName)), + visitParameterList(node.parameters, visitor, context, nodesVisitor), + nodeVisitor(node.type, visitor, isTypeNode), + visitFunctionBody(node.body, visitor, context, nodeVisitor) + ); + }, + [178 /* SetAccessor */]: function visitEachChildOfSetAccessorDeclaration(node, visitor, context, nodesVisitor, nodeVisitor, _tokenVisitor) { + return context.factory.updateSetAccessorDeclaration( + node, + nodesVisitor(node.modifiers, visitor, isModifierLike), + Debug.checkDefined(nodeVisitor(node.name, visitor, isPropertyName)), + visitParameterList(node.parameters, visitor, context, nodesVisitor), + visitFunctionBody(node.body, visitor, context, nodeVisitor) + ); + }, + [175 /* ClassStaticBlockDeclaration */]: function visitEachChildOfClassStaticBlockDeclaration(node, visitor, context, _nodesVisitor, nodeVisitor, _tokenVisitor) { + context.startLexicalEnvironment(); + context.suspendLexicalEnvironment(); + return context.factory.updateClassStaticBlockDeclaration( + node, + visitFunctionBody(node.body, visitor, context, nodeVisitor) + ); + }, + [179 /* CallSignature */]: function visitEachChildOfCallSignatureDeclaration(node, visitor, context, nodesVisitor, nodeVisitor, _tokenVisitor) { + return context.factory.updateCallSignature( + node, + nodesVisitor(node.typeParameters, visitor, isTypeParameterDeclaration), + nodesVisitor(node.parameters, visitor, isParameter), + nodeVisitor(node.type, visitor, isTypeNode) + ); + }, + [180 /* ConstructSignature */]: function visitEachChildOfConstructSignatureDeclaration(node, visitor, context, nodesVisitor, nodeVisitor, _tokenVisitor) { + return context.factory.updateConstructSignature( + node, + nodesVisitor(node.typeParameters, visitor, isTypeParameterDeclaration), + nodesVisitor(node.parameters, visitor, isParameter), + nodeVisitor(node.type, visitor, isTypeNode) + ); + }, + [181 /* IndexSignature */]: function visitEachChildOfIndexSignatureDeclaration(node, visitor, context, nodesVisitor, nodeVisitor, _tokenVisitor) { + return context.factory.updateIndexSignature( + node, + nodesVisitor(node.modifiers, visitor, isModifierLike), + nodesVisitor(node.parameters, visitor, isParameter), + Debug.checkDefined(nodeVisitor(node.type, visitor, isTypeNode)) + ); + }, + // Types + [182 /* TypePredicate */]: function visitEachChildOfTypePredicateNode(node, visitor, context, _nodesVisitor, nodeVisitor, _tokenVisitor) { + return context.factory.updateTypePredicateNode( + node, + nodeVisitor(node.assertsModifier, visitor, isAssertsKeyword), + Debug.checkDefined(nodeVisitor(node.parameterName, visitor, isIdentifierOrThisTypeNode)), + nodeVisitor(node.type, visitor, isTypeNode) + ); + }, + [183 /* TypeReference */]: function visitEachChildOfTypeReferenceNode(node, visitor, context, nodesVisitor, nodeVisitor, _tokenVisitor) { + return context.factory.updateTypeReferenceNode( + node, + Debug.checkDefined(nodeVisitor(node.typeName, visitor, isEntityName)), + nodesVisitor(node.typeArguments, visitor, isTypeNode) + ); + }, + [184 /* FunctionType */]: function visitEachChildOfFunctionTypeNode(node, visitor, context, nodesVisitor, nodeVisitor, _tokenVisitor) { + return context.factory.updateFunctionTypeNode( + node, + nodesVisitor(node.typeParameters, visitor, isTypeParameterDeclaration), + nodesVisitor(node.parameters, visitor, isParameter), + Debug.checkDefined(nodeVisitor(node.type, visitor, isTypeNode)) + ); + }, + [185 /* ConstructorType */]: function visitEachChildOfConstructorTypeNode(node, visitor, context, nodesVisitor, nodeVisitor, _tokenVisitor) { + return context.factory.updateConstructorTypeNode( + node, + nodesVisitor(node.modifiers, visitor, isModifier), + nodesVisitor(node.typeParameters, visitor, isTypeParameterDeclaration), + nodesVisitor(node.parameters, visitor, isParameter), + Debug.checkDefined(nodeVisitor(node.type, visitor, isTypeNode)) + ); + }, + [186 /* TypeQuery */]: function visitEachChildOfTypeQueryNode(node, visitor, context, nodesVisitor, nodeVisitor, _tokenVisitor) { + return context.factory.updateTypeQueryNode( + node, + Debug.checkDefined(nodeVisitor(node.exprName, visitor, isEntityName)), + nodesVisitor(node.typeArguments, visitor, isTypeNode) + ); + }, + [187 /* TypeLiteral */]: function visitEachChildOfTypeLiteralNode(node, visitor, context, nodesVisitor, _nodeVisitor, _tokenVisitor) { + return context.factory.updateTypeLiteralNode( + node, + nodesVisitor(node.members, visitor, isTypeElement) + ); + }, + [188 /* ArrayType */]: function visitEachChildOfArrayTypeNode(node, visitor, context, _nodesVisitor, nodeVisitor, _tokenVisitor) { + return context.factory.updateArrayTypeNode( + node, + Debug.checkDefined(nodeVisitor(node.elementType, visitor, isTypeNode)) + ); + }, + [189 /* TupleType */]: function visitEachChildOfTupleTypeNode(node, visitor, context, nodesVisitor, _nodeVisitor, _tokenVisitor) { + return context.factory.updateTupleTypeNode( + node, + nodesVisitor(node.elements, visitor, isTypeNode) + ); + }, + [190 /* OptionalType */]: function visitEachChildOfOptionalTypeNode(node, visitor, context, _nodesVisitor, nodeVisitor, _tokenVisitor) { + return context.factory.updateOptionalTypeNode( + node, + Debug.checkDefined(nodeVisitor(node.type, visitor, isTypeNode)) + ); + }, + [191 /* RestType */]: function visitEachChildOfRestTypeNode(node, visitor, context, _nodesVisitor, nodeVisitor, _tokenVisitor) { + return context.factory.updateRestTypeNode( + node, + Debug.checkDefined(nodeVisitor(node.type, visitor, isTypeNode)) + ); + }, + [192 /* UnionType */]: function visitEachChildOfUnionTypeNode(node, visitor, context, nodesVisitor, _nodeVisitor, _tokenVisitor) { + return context.factory.updateUnionTypeNode( + node, + nodesVisitor(node.types, visitor, isTypeNode) + ); + }, + [193 /* IntersectionType */]: function visitEachChildOfIntersectionTypeNode(node, visitor, context, nodesVisitor, _nodeVisitor, _tokenVisitor) { + return context.factory.updateIntersectionTypeNode( + node, + nodesVisitor(node.types, visitor, isTypeNode) + ); + }, + [194 /* ConditionalType */]: function visitEachChildOfConditionalTypeNode(node, visitor, context, _nodesVisitor, nodeVisitor, _tokenVisitor) { + return context.factory.updateConditionalTypeNode( + node, + Debug.checkDefined(nodeVisitor(node.checkType, visitor, isTypeNode)), + Debug.checkDefined(nodeVisitor(node.extendsType, visitor, isTypeNode)), + Debug.checkDefined(nodeVisitor(node.trueType, visitor, isTypeNode)), + Debug.checkDefined(nodeVisitor(node.falseType, visitor, isTypeNode)) + ); + }, + [195 /* InferType */]: function visitEachChildOfInferTypeNode(node, visitor, context, _nodesVisitor, nodeVisitor, _tokenVisitor) { + return context.factory.updateInferTypeNode( + node, + Debug.checkDefined(nodeVisitor(node.typeParameter, visitor, isTypeParameterDeclaration)) + ); + }, + [205 /* ImportType */]: function visitEachChildOfImportTypeNode(node, visitor, context, nodesVisitor, nodeVisitor, _tokenVisitor) { + return context.factory.updateImportTypeNode( + node, + Debug.checkDefined(nodeVisitor(node.argument, visitor, isTypeNode)), + nodeVisitor(node.attributes, visitor, isImportAttributes), + nodeVisitor(node.qualifier, visitor, isEntityName), + nodesVisitor(node.typeArguments, visitor, isTypeNode), + node.isTypeOf + ); + }, + [302 /* ImportTypeAssertionContainer */]: function visitEachChildOfImportTypeAssertionContainer(node, visitor, context, _nodesVisitor, nodeVisitor, _tokenVisitor) { + return context.factory.updateImportTypeAssertionContainer( + node, + Debug.checkDefined(nodeVisitor(node.assertClause, visitor, isAssertClause)), + node.multiLine + ); + }, + [202 /* NamedTupleMember */]: function visitEachChildOfNamedTupleMember(node, visitor, context, _nodesVisitor, nodeVisitor, tokenVisitor) { + return context.factory.updateNamedTupleMember( + node, + tokenVisitor ? nodeVisitor(node.dotDotDotToken, tokenVisitor, isDotDotDotToken) : node.dotDotDotToken, + Debug.checkDefined(nodeVisitor(node.name, visitor, isIdentifier)), + tokenVisitor ? nodeVisitor(node.questionToken, tokenVisitor, isQuestionToken) : node.questionToken, + Debug.checkDefined(nodeVisitor(node.type, visitor, isTypeNode)) + ); + }, + [196 /* ParenthesizedType */]: function visitEachChildOfParenthesizedType(node, visitor, context, _nodesVisitor, nodeVisitor, _tokenVisitor) { + return context.factory.updateParenthesizedType( + node, + Debug.checkDefined(nodeVisitor(node.type, visitor, isTypeNode)) + ); + }, + [198 /* TypeOperator */]: function visitEachChildOfTypeOperatorNode(node, visitor, context, _nodesVisitor, nodeVisitor, _tokenVisitor) { + return context.factory.updateTypeOperatorNode( + node, + Debug.checkDefined(nodeVisitor(node.type, visitor, isTypeNode)) + ); + }, + [199 /* IndexedAccessType */]: function visitEachChildOfIndexedAccessType(node, visitor, context, _nodesVisitor, nodeVisitor, _tokenVisitor) { + return context.factory.updateIndexedAccessTypeNode( + node, + Debug.checkDefined(nodeVisitor(node.objectType, visitor, isTypeNode)), + Debug.checkDefined(nodeVisitor(node.indexType, visitor, isTypeNode)) + ); + }, + [200 /* MappedType */]: function visitEachChildOfMappedType(node, visitor, context, nodesVisitor, nodeVisitor, tokenVisitor) { + return context.factory.updateMappedTypeNode( + node, + tokenVisitor ? nodeVisitor(node.readonlyToken, tokenVisitor, isReadonlyKeywordOrPlusOrMinusToken) : node.readonlyToken, + Debug.checkDefined(nodeVisitor(node.typeParameter, visitor, isTypeParameterDeclaration)), + nodeVisitor(node.nameType, visitor, isTypeNode), + tokenVisitor ? nodeVisitor(node.questionToken, tokenVisitor, isQuestionOrPlusOrMinusToken) : node.questionToken, + nodeVisitor(node.type, visitor, isTypeNode), + nodesVisitor(node.members, visitor, isTypeElement) + ); + }, + [201 /* LiteralType */]: function visitEachChildOfLiteralTypeNode(node, visitor, context, _nodesVisitor, nodeVisitor, _tokenVisitor) { + return context.factory.updateLiteralTypeNode( + node, + Debug.checkDefined(nodeVisitor(node.literal, visitor, isLiteralTypeLiteral)) + ); + }, + [203 /* TemplateLiteralType */]: function visitEachChildOfTemplateLiteralType(node, visitor, context, nodesVisitor, nodeVisitor, _tokenVisitor) { + return context.factory.updateTemplateLiteralType( + node, + Debug.checkDefined(nodeVisitor(node.head, visitor, isTemplateHead)), + nodesVisitor(node.templateSpans, visitor, isTemplateLiteralTypeSpan) + ); + }, + [204 /* TemplateLiteralTypeSpan */]: function visitEachChildOfTemplateLiteralTypeSpan(node, visitor, context, _nodesVisitor, nodeVisitor, _tokenVisitor) { + return context.factory.updateTemplateLiteralTypeSpan( + node, + Debug.checkDefined(nodeVisitor(node.type, visitor, isTypeNode)), + Debug.checkDefined(nodeVisitor(node.literal, visitor, isTemplateMiddleOrTemplateTail)) + ); + }, + // Binding patterns + [206 /* ObjectBindingPattern */]: function visitEachChildOfObjectBindingPattern(node, visitor, context, nodesVisitor, _nodeVisitor, _tokenVisitor) { + return context.factory.updateObjectBindingPattern( + node, + nodesVisitor(node.elements, visitor, isBindingElement) + ); + }, + [207 /* ArrayBindingPattern */]: function visitEachChildOfArrayBindingPattern(node, visitor, context, nodesVisitor, _nodeVisitor, _tokenVisitor) { + return context.factory.updateArrayBindingPattern( + node, + nodesVisitor(node.elements, visitor, isArrayBindingElement) + ); + }, + [208 /* BindingElement */]: function visitEachChildOfBindingElement(node, visitor, context, _nodesVisitor, nodeVisitor, tokenVisitor) { + return context.factory.updateBindingElement( + node, + tokenVisitor ? nodeVisitor(node.dotDotDotToken, tokenVisitor, isDotDotDotToken) : node.dotDotDotToken, + nodeVisitor(node.propertyName, visitor, isPropertyName), + Debug.checkDefined(nodeVisitor(node.name, visitor, isBindingName)), + nodeVisitor(node.initializer, visitor, isExpression) + ); + }, + // Expression + [209 /* ArrayLiteralExpression */]: function visitEachChildOfArrayLiteralExpression(node, visitor, context, nodesVisitor, _nodeVisitor, _tokenVisitor) { + return context.factory.updateArrayLiteralExpression( + node, + nodesVisitor(node.elements, visitor, isExpression) + ); + }, + [210 /* ObjectLiteralExpression */]: function visitEachChildOfObjectLiteralExpression(node, visitor, context, nodesVisitor, _nodeVisitor, _tokenVisitor) { + return context.factory.updateObjectLiteralExpression( + node, + nodesVisitor(node.properties, visitor, isObjectLiteralElementLike) + ); + }, + [211 /* PropertyAccessExpression */]: function visitEachChildOfPropertyAccessExpression(node, visitor, context, _nodesVisitor, nodeVisitor, tokenVisitor) { + return isPropertyAccessChain(node) ? context.factory.updatePropertyAccessChain( + node, + Debug.checkDefined(nodeVisitor(node.expression, visitor, isExpression)), + tokenVisitor ? nodeVisitor(node.questionDotToken, tokenVisitor, isQuestionDotToken) : node.questionDotToken, + Debug.checkDefined(nodeVisitor(node.name, visitor, isMemberName)) + ) : context.factory.updatePropertyAccessExpression( + node, + Debug.checkDefined(nodeVisitor(node.expression, visitor, isExpression)), + Debug.checkDefined(nodeVisitor(node.name, visitor, isMemberName)) + ); + }, + [212 /* ElementAccessExpression */]: function visitEachChildOfElementAccessExpression(node, visitor, context, _nodesVisitor, nodeVisitor, tokenVisitor) { + return isElementAccessChain(node) ? context.factory.updateElementAccessChain( + node, + Debug.checkDefined(nodeVisitor(node.expression, visitor, isExpression)), + tokenVisitor ? nodeVisitor(node.questionDotToken, tokenVisitor, isQuestionDotToken) : node.questionDotToken, + Debug.checkDefined(nodeVisitor(node.argumentExpression, visitor, isExpression)) + ) : context.factory.updateElementAccessExpression( + node, + Debug.checkDefined(nodeVisitor(node.expression, visitor, isExpression)), + Debug.checkDefined(nodeVisitor(node.argumentExpression, visitor, isExpression)) + ); + }, + [213 /* CallExpression */]: function visitEachChildOfCallExpression(node, visitor, context, nodesVisitor, nodeVisitor, tokenVisitor) { + return isCallChain(node) ? context.factory.updateCallChain( + node, + Debug.checkDefined(nodeVisitor(node.expression, visitor, isExpression)), + tokenVisitor ? nodeVisitor(node.questionDotToken, tokenVisitor, isQuestionDotToken) : node.questionDotToken, + nodesVisitor(node.typeArguments, visitor, isTypeNode), + nodesVisitor(node.arguments, visitor, isExpression) + ) : context.factory.updateCallExpression( + node, + Debug.checkDefined(nodeVisitor(node.expression, visitor, isExpression)), + nodesVisitor(node.typeArguments, visitor, isTypeNode), + nodesVisitor(node.arguments, visitor, isExpression) + ); + }, + [214 /* NewExpression */]: function visitEachChildOfNewExpression(node, visitor, context, nodesVisitor, nodeVisitor, _tokenVisitor) { + return context.factory.updateNewExpression( + node, + Debug.checkDefined(nodeVisitor(node.expression, visitor, isExpression)), + nodesVisitor(node.typeArguments, visitor, isTypeNode), + nodesVisitor(node.arguments, visitor, isExpression) + ); + }, + [215 /* TaggedTemplateExpression */]: function visitEachChildOfTaggedTemplateExpression(node, visitor, context, nodesVisitor, nodeVisitor, _tokenVisitor) { + return context.factory.updateTaggedTemplateExpression( + node, + Debug.checkDefined(nodeVisitor(node.tag, visitor, isExpression)), + nodesVisitor(node.typeArguments, visitor, isTypeNode), + Debug.checkDefined(nodeVisitor(node.template, visitor, isTemplateLiteral)) + ); + }, + [216 /* TypeAssertionExpression */]: function visitEachChildOfTypeAssertionExpression(node, visitor, context, _nodesVisitor, nodeVisitor, _tokenVisitor) { + return context.factory.updateTypeAssertion( + node, + Debug.checkDefined(nodeVisitor(node.type, visitor, isTypeNode)), + Debug.checkDefined(nodeVisitor(node.expression, visitor, isExpression)) + ); + }, + [217 /* ParenthesizedExpression */]: function visitEachChildOfParenthesizedExpression(node, visitor, context, _nodesVisitor, nodeVisitor, _tokenVisitor) { + return context.factory.updateParenthesizedExpression( + node, + Debug.checkDefined(nodeVisitor(node.expression, visitor, isExpression)) + ); + }, + [218 /* FunctionExpression */]: function visitEachChildOfFunctionExpression(node, visitor, context, nodesVisitor, nodeVisitor, tokenVisitor) { + return context.factory.updateFunctionExpression( + node, + nodesVisitor(node.modifiers, visitor, isModifier), + tokenVisitor ? nodeVisitor(node.asteriskToken, tokenVisitor, isAsteriskToken) : node.asteriskToken, + nodeVisitor(node.name, visitor, isIdentifier), + nodesVisitor(node.typeParameters, visitor, isTypeParameterDeclaration), + visitParameterList(node.parameters, visitor, context, nodesVisitor), + nodeVisitor(node.type, visitor, isTypeNode), + visitFunctionBody(node.body, visitor, context, nodeVisitor) + ); + }, + [219 /* ArrowFunction */]: function visitEachChildOfArrowFunction(node, visitor, context, nodesVisitor, nodeVisitor, tokenVisitor) { + return context.factory.updateArrowFunction( + node, + nodesVisitor(node.modifiers, visitor, isModifier), + nodesVisitor(node.typeParameters, visitor, isTypeParameterDeclaration), + visitParameterList(node.parameters, visitor, context, nodesVisitor), + nodeVisitor(node.type, visitor, isTypeNode), + tokenVisitor ? Debug.checkDefined(nodeVisitor(node.equalsGreaterThanToken, tokenVisitor, isEqualsGreaterThanToken)) : node.equalsGreaterThanToken, + visitFunctionBody(node.body, visitor, context, nodeVisitor) + ); + }, + [220 /* DeleteExpression */]: function visitEachChildOfDeleteExpression(node, visitor, context, _nodesVisitor, nodeVisitor, _tokenVisitor) { + return context.factory.updateDeleteExpression( + node, + Debug.checkDefined(nodeVisitor(node.expression, visitor, isExpression)) + ); + }, + [221 /* TypeOfExpression */]: function visitEachChildOfTypeOfExpression(node, visitor, context, _nodesVisitor, nodeVisitor, _tokenVisitor) { + return context.factory.updateTypeOfExpression( + node, + Debug.checkDefined(nodeVisitor(node.expression, visitor, isExpression)) + ); + }, + [222 /* VoidExpression */]: function visitEachChildOfVoidExpression(node, visitor, context, _nodesVisitor, nodeVisitor, _tokenVisitor) { + return context.factory.updateVoidExpression( + node, + Debug.checkDefined(nodeVisitor(node.expression, visitor, isExpression)) + ); + }, + [223 /* AwaitExpression */]: function visitEachChildOfAwaitExpression(node, visitor, context, _nodesVisitor, nodeVisitor, _tokenVisitor) { + return context.factory.updateAwaitExpression( + node, + Debug.checkDefined(nodeVisitor(node.expression, visitor, isExpression)) + ); + }, + [224 /* PrefixUnaryExpression */]: function visitEachChildOfPrefixUnaryExpression(node, visitor, context, _nodesVisitor, nodeVisitor, _tokenVisitor) { + return context.factory.updatePrefixUnaryExpression( + node, + Debug.checkDefined(nodeVisitor(node.operand, visitor, isExpression)) + ); + }, + [225 /* PostfixUnaryExpression */]: function visitEachChildOfPostfixUnaryExpression(node, visitor, context, _nodesVisitor, nodeVisitor, _tokenVisitor) { + return context.factory.updatePostfixUnaryExpression( + node, + Debug.checkDefined(nodeVisitor(node.operand, visitor, isExpression)) + ); + }, + [226 /* BinaryExpression */]: function visitEachChildOfBinaryExpression(node, visitor, context, _nodesVisitor, nodeVisitor, tokenVisitor) { + return context.factory.updateBinaryExpression( + node, + Debug.checkDefined(nodeVisitor(node.left, visitor, isExpression)), + tokenVisitor ? Debug.checkDefined(nodeVisitor(node.operatorToken, tokenVisitor, isBinaryOperatorToken)) : node.operatorToken, + Debug.checkDefined(nodeVisitor(node.right, visitor, isExpression)) + ); + }, + [227 /* ConditionalExpression */]: function visitEachChildOfConditionalExpression(node, visitor, context, _nodesVisitor, nodeVisitor, tokenVisitor) { + return context.factory.updateConditionalExpression( + node, + Debug.checkDefined(nodeVisitor(node.condition, visitor, isExpression)), + tokenVisitor ? Debug.checkDefined(nodeVisitor(node.questionToken, tokenVisitor, isQuestionToken)) : node.questionToken, + Debug.checkDefined(nodeVisitor(node.whenTrue, visitor, isExpression)), + tokenVisitor ? Debug.checkDefined(nodeVisitor(node.colonToken, tokenVisitor, isColonToken)) : node.colonToken, + Debug.checkDefined(nodeVisitor(node.whenFalse, visitor, isExpression)) + ); + }, + [228 /* TemplateExpression */]: function visitEachChildOfTemplateExpression(node, visitor, context, nodesVisitor, nodeVisitor, _tokenVisitor) { + return context.factory.updateTemplateExpression( + node, + Debug.checkDefined(nodeVisitor(node.head, visitor, isTemplateHead)), + nodesVisitor(node.templateSpans, visitor, isTemplateSpan) + ); + }, + [229 /* YieldExpression */]: function visitEachChildOfYieldExpression(node, visitor, context, _nodesVisitor, nodeVisitor, tokenVisitor) { + return context.factory.updateYieldExpression( + node, + tokenVisitor ? nodeVisitor(node.asteriskToken, tokenVisitor, isAsteriskToken) : node.asteriskToken, + nodeVisitor(node.expression, visitor, isExpression) + ); + }, + [230 /* SpreadElement */]: function visitEachChildOfSpreadElement(node, visitor, context, _nodesVisitor, nodeVisitor, _tokenVisitor) { + return context.factory.updateSpreadElement( + node, + Debug.checkDefined(nodeVisitor(node.expression, visitor, isExpression)) + ); + }, + [231 /* ClassExpression */]: function visitEachChildOfClassExpression(node, visitor, context, nodesVisitor, nodeVisitor, _tokenVisitor) { + return context.factory.updateClassExpression( + node, + nodesVisitor(node.modifiers, visitor, isModifierLike), + nodeVisitor(node.name, visitor, isIdentifier), + nodesVisitor(node.typeParameters, visitor, isTypeParameterDeclaration), + nodesVisitor(node.heritageClauses, visitor, isHeritageClause), + nodesVisitor(node.members, visitor, isClassElement) + ); + }, + [233 /* ExpressionWithTypeArguments */]: function visitEachChildOfExpressionWithTypeArguments(node, visitor, context, nodesVisitor, nodeVisitor, _tokenVisitor) { + return context.factory.updateExpressionWithTypeArguments( + node, + Debug.checkDefined(nodeVisitor(node.expression, visitor, isExpression)), + nodesVisitor(node.typeArguments, visitor, isTypeNode) + ); + }, + [234 /* AsExpression */]: function visitEachChildOfAsExpression(node, visitor, context, _nodesVisitor, nodeVisitor, _tokenVisitor) { + return context.factory.updateAsExpression( + node, + Debug.checkDefined(nodeVisitor(node.expression, visitor, isExpression)), + Debug.checkDefined(nodeVisitor(node.type, visitor, isTypeNode)) + ); + }, + [238 /* SatisfiesExpression */]: function visitEachChildOfSatisfiesExpression(node, visitor, context, _nodesVisitor, nodeVisitor, _tokenVisitor) { + return context.factory.updateSatisfiesExpression( + node, + Debug.checkDefined(nodeVisitor(node.expression, visitor, isExpression)), + Debug.checkDefined(nodeVisitor(node.type, visitor, isTypeNode)) + ); + }, + [235 /* NonNullExpression */]: function visitEachChildOfNonNullExpression(node, visitor, context, _nodesVisitor, nodeVisitor, _tokenVisitor) { + return isOptionalChain(node) ? context.factory.updateNonNullChain( + node, + Debug.checkDefined(nodeVisitor(node.expression, visitor, isExpression)) + ) : context.factory.updateNonNullExpression( + node, + Debug.checkDefined(nodeVisitor(node.expression, visitor, isExpression)) + ); + }, + [236 /* MetaProperty */]: function visitEachChildOfMetaProperty(node, visitor, context, _nodesVisitor, nodeVisitor, _tokenVisitor) { + return context.factory.updateMetaProperty( + node, + Debug.checkDefined(nodeVisitor(node.name, visitor, isIdentifier)) + ); + }, + // Misc + [239 /* TemplateSpan */]: function visitEachChildOfTemplateSpan(node, visitor, context, _nodesVisitor, nodeVisitor, _tokenVisitor) { + return context.factory.updateTemplateSpan( + node, + Debug.checkDefined(nodeVisitor(node.expression, visitor, isExpression)), + Debug.checkDefined(nodeVisitor(node.literal, visitor, isTemplateMiddleOrTemplateTail)) + ); + }, + // Element + [241 /* Block */]: function visitEachChildOfBlock(node, visitor, context, nodesVisitor, _nodeVisitor, _tokenVisitor) { + return context.factory.updateBlock( + node, + nodesVisitor(node.statements, visitor, isStatement) + ); + }, + [243 /* VariableStatement */]: function visitEachChildOfVariableStatement(node, visitor, context, nodesVisitor, nodeVisitor, _tokenVisitor) { + return context.factory.updateVariableStatement( + node, + nodesVisitor(node.modifiers, visitor, isModifierLike), + Debug.checkDefined(nodeVisitor(node.declarationList, visitor, isVariableDeclarationList)) + ); + }, + [244 /* ExpressionStatement */]: function visitEachChildOfExpressionStatement(node, visitor, context, _nodesVisitor, nodeVisitor, _tokenVisitor) { + return context.factory.updateExpressionStatement( + node, + Debug.checkDefined(nodeVisitor(node.expression, visitor, isExpression)) + ); + }, + [245 /* IfStatement */]: function visitEachChildOfIfStatement(node, visitor, context, _nodesVisitor, nodeVisitor, _tokenVisitor) { + return context.factory.updateIfStatement( + node, + Debug.checkDefined(nodeVisitor(node.expression, visitor, isExpression)), + Debug.checkDefined(nodeVisitor(node.thenStatement, visitor, isStatement, context.factory.liftToBlock)), + nodeVisitor(node.elseStatement, visitor, isStatement, context.factory.liftToBlock) + ); + }, + [246 /* DoStatement */]: function visitEachChildOfDoStatement(node, visitor, context, _nodesVisitor, nodeVisitor, _tokenVisitor) { + return context.factory.updateDoStatement( + node, + visitIterationBody(node.statement, visitor, context, nodeVisitor), + Debug.checkDefined(nodeVisitor(node.expression, visitor, isExpression)) + ); + }, + [247 /* WhileStatement */]: function visitEachChildOfWhileStatement(node, visitor, context, _nodesVisitor, nodeVisitor, _tokenVisitor) { + return context.factory.updateWhileStatement( + node, + Debug.checkDefined(nodeVisitor(node.expression, visitor, isExpression)), + visitIterationBody(node.statement, visitor, context, nodeVisitor) + ); + }, + [248 /* ForStatement */]: function visitEachChildOfForStatement(node, visitor, context, _nodesVisitor, nodeVisitor, _tokenVisitor) { + return context.factory.updateForStatement( + node, + nodeVisitor(node.initializer, visitor, isForInitializer), + nodeVisitor(node.condition, visitor, isExpression), + nodeVisitor(node.incrementor, visitor, isExpression), + visitIterationBody(node.statement, visitor, context, nodeVisitor) + ); + }, + [249 /* ForInStatement */]: function visitEachChildOfForInStatement(node, visitor, context, _nodesVisitor, nodeVisitor, _tokenVisitor) { + return context.factory.updateForInStatement( + node, + Debug.checkDefined(nodeVisitor(node.initializer, visitor, isForInitializer)), + Debug.checkDefined(nodeVisitor(node.expression, visitor, isExpression)), + visitIterationBody(node.statement, visitor, context, nodeVisitor) + ); + }, + [250 /* ForOfStatement */]: function visitEachChildOfForOfStatement(node, visitor, context, _nodesVisitor, nodeVisitor, tokenVisitor) { + return context.factory.updateForOfStatement( + node, + tokenVisitor ? nodeVisitor(node.awaitModifier, tokenVisitor, isAwaitKeyword) : node.awaitModifier, + Debug.checkDefined(nodeVisitor(node.initializer, visitor, isForInitializer)), + Debug.checkDefined(nodeVisitor(node.expression, visitor, isExpression)), + visitIterationBody(node.statement, visitor, context, nodeVisitor) + ); + }, + [251 /* ContinueStatement */]: function visitEachChildOfContinueStatement(node, visitor, context, _nodesVisitor, nodeVisitor, _tokenVisitor) { + return context.factory.updateContinueStatement( + node, + nodeVisitor(node.label, visitor, isIdentifier) + ); + }, + [252 /* BreakStatement */]: function visitEachChildOfBreakStatement(node, visitor, context, _nodesVisitor, nodeVisitor, _tokenVisitor) { + return context.factory.updateBreakStatement( + node, + nodeVisitor(node.label, visitor, isIdentifier) + ); + }, + [253 /* ReturnStatement */]: function visitEachChildOfReturnStatement(node, visitor, context, _nodesVisitor, nodeVisitor, _tokenVisitor) { + return context.factory.updateReturnStatement( + node, + nodeVisitor(node.expression, visitor, isExpression) + ); + }, + [254 /* WithStatement */]: function visitEachChildOfWithStatement(node, visitor, context, _nodesVisitor, nodeVisitor, _tokenVisitor) { + return context.factory.updateWithStatement( + node, + Debug.checkDefined(nodeVisitor(node.expression, visitor, isExpression)), + Debug.checkDefined(nodeVisitor(node.statement, visitor, isStatement, context.factory.liftToBlock)) + ); + }, + [255 /* SwitchStatement */]: function visitEachChildOfSwitchStatement(node, visitor, context, _nodesVisitor, nodeVisitor, _tokenVisitor) { + return context.factory.updateSwitchStatement( + node, + Debug.checkDefined(nodeVisitor(node.expression, visitor, isExpression)), + Debug.checkDefined(nodeVisitor(node.caseBlock, visitor, isCaseBlock)) + ); + }, + [256 /* LabeledStatement */]: function visitEachChildOfLabeledStatement(node, visitor, context, _nodesVisitor, nodeVisitor, _tokenVisitor) { + return context.factory.updateLabeledStatement( + node, + Debug.checkDefined(nodeVisitor(node.label, visitor, isIdentifier)), + Debug.checkDefined(nodeVisitor(node.statement, visitor, isStatement, context.factory.liftToBlock)) + ); + }, + [257 /* ThrowStatement */]: function visitEachChildOfThrowStatement(node, visitor, context, _nodesVisitor, nodeVisitor, _tokenVisitor) { + return context.factory.updateThrowStatement( + node, + Debug.checkDefined(nodeVisitor(node.expression, visitor, isExpression)) + ); + }, + [258 /* TryStatement */]: function visitEachChildOfTryStatement(node, visitor, context, _nodesVisitor, nodeVisitor, _tokenVisitor) { + return context.factory.updateTryStatement( + node, + Debug.checkDefined(nodeVisitor(node.tryBlock, visitor, isBlock)), + nodeVisitor(node.catchClause, visitor, isCatchClause), + nodeVisitor(node.finallyBlock, visitor, isBlock) + ); + }, + [260 /* VariableDeclaration */]: function visitEachChildOfVariableDeclaration(node, visitor, context, _nodesVisitor, nodeVisitor, tokenVisitor) { + return context.factory.updateVariableDeclaration( + node, + Debug.checkDefined(nodeVisitor(node.name, visitor, isBindingName)), + tokenVisitor ? nodeVisitor(node.exclamationToken, tokenVisitor, isExclamationToken) : node.exclamationToken, + nodeVisitor(node.type, visitor, isTypeNode), + nodeVisitor(node.initializer, visitor, isExpression) + ); + }, + [261 /* VariableDeclarationList */]: function visitEachChildOfVariableDeclarationList(node, visitor, context, nodesVisitor, _nodeVisitor, _tokenVisitor) { + return context.factory.updateVariableDeclarationList( + node, + nodesVisitor(node.declarations, visitor, isVariableDeclaration) + ); + }, + [262 /* FunctionDeclaration */]: function visitEachChildOfFunctionDeclaration(node, visitor, context, nodesVisitor, nodeVisitor, tokenVisitor) { + return context.factory.updateFunctionDeclaration( + node, + nodesVisitor(node.modifiers, visitor, isModifier), + tokenVisitor ? nodeVisitor(node.asteriskToken, tokenVisitor, isAsteriskToken) : node.asteriskToken, + nodeVisitor(node.name, visitor, isIdentifier), + nodesVisitor(node.typeParameters, visitor, isTypeParameterDeclaration), + visitParameterList(node.parameters, visitor, context, nodesVisitor), + nodeVisitor(node.type, visitor, isTypeNode), + visitFunctionBody(node.body, visitor, context, nodeVisitor) + ); + }, + [263 /* ClassDeclaration */]: function visitEachChildOfClassDeclaration(node, visitor, context, nodesVisitor, nodeVisitor, _tokenVisitor) { + return context.factory.updateClassDeclaration( + node, + nodesVisitor(node.modifiers, visitor, isModifierLike), + nodeVisitor(node.name, visitor, isIdentifier), + nodesVisitor(node.typeParameters, visitor, isTypeParameterDeclaration), + nodesVisitor(node.heritageClauses, visitor, isHeritageClause), + nodesVisitor(node.members, visitor, isClassElement) + ); + }, + [264 /* InterfaceDeclaration */]: function visitEachChildOfInterfaceDeclaration(node, visitor, context, nodesVisitor, nodeVisitor, _tokenVisitor) { + return context.factory.updateInterfaceDeclaration( + node, + nodesVisitor(node.modifiers, visitor, isModifierLike), + Debug.checkDefined(nodeVisitor(node.name, visitor, isIdentifier)), + nodesVisitor(node.typeParameters, visitor, isTypeParameterDeclaration), + nodesVisitor(node.heritageClauses, visitor, isHeritageClause), + nodesVisitor(node.members, visitor, isTypeElement) + ); + }, + [265 /* TypeAliasDeclaration */]: function visitEachChildOfTypeAliasDeclaration(node, visitor, context, nodesVisitor, nodeVisitor, _tokenVisitor) { + return context.factory.updateTypeAliasDeclaration( + node, + nodesVisitor(node.modifiers, visitor, isModifierLike), + Debug.checkDefined(nodeVisitor(node.name, visitor, isIdentifier)), + nodesVisitor(node.typeParameters, visitor, isTypeParameterDeclaration), + Debug.checkDefined(nodeVisitor(node.type, visitor, isTypeNode)) + ); + }, + [266 /* EnumDeclaration */]: function visitEachChildOfEnumDeclaration(node, visitor, context, nodesVisitor, nodeVisitor, _tokenVisitor) { + return context.factory.updateEnumDeclaration( + node, + nodesVisitor(node.modifiers, visitor, isModifierLike), + Debug.checkDefined(nodeVisitor(node.name, visitor, isIdentifier)), + nodesVisitor(node.members, visitor, isEnumMember) + ); + }, + [267 /* ModuleDeclaration */]: function visitEachChildOfModuleDeclaration(node, visitor, context, nodesVisitor, nodeVisitor, _tokenVisitor) { + return context.factory.updateModuleDeclaration( + node, + nodesVisitor(node.modifiers, visitor, isModifierLike), + Debug.checkDefined(nodeVisitor(node.name, visitor, isModuleName)), + nodeVisitor(node.body, visitor, isModuleBody) + ); + }, + [268 /* ModuleBlock */]: function visitEachChildOfModuleBlock(node, visitor, context, nodesVisitor, _nodeVisitor, _tokenVisitor) { + return context.factory.updateModuleBlock( + node, + nodesVisitor(node.statements, visitor, isStatement) + ); + }, + [269 /* CaseBlock */]: function visitEachChildOfCaseBlock(node, visitor, context, nodesVisitor, _nodeVisitor, _tokenVisitor) { + return context.factory.updateCaseBlock( + node, + nodesVisitor(node.clauses, visitor, isCaseOrDefaultClause) + ); + }, + [270 /* NamespaceExportDeclaration */]: function visitEachChildOfNamespaceExportDeclaration(node, visitor, context, _nodesVisitor, nodeVisitor, _tokenVisitor) { + return context.factory.updateNamespaceExportDeclaration( + node, + Debug.checkDefined(nodeVisitor(node.name, visitor, isIdentifier)) + ); + }, + [271 /* ImportEqualsDeclaration */]: function visitEachChildOfImportEqualsDeclaration(node, visitor, context, nodesVisitor, nodeVisitor, _tokenVisitor) { + return context.factory.updateImportEqualsDeclaration( + node, + nodesVisitor(node.modifiers, visitor, isModifierLike), + node.isTypeOnly, + Debug.checkDefined(nodeVisitor(node.name, visitor, isIdentifier)), + Debug.checkDefined(nodeVisitor(node.moduleReference, visitor, isModuleReference)) + ); + }, + [272 /* ImportDeclaration */]: function visitEachChildOfImportDeclaration(node, visitor, context, nodesVisitor, nodeVisitor, _tokenVisitor) { + return context.factory.updateImportDeclaration( + node, + nodesVisitor(node.modifiers, visitor, isModifierLike), + nodeVisitor(node.importClause, visitor, isImportClause), + Debug.checkDefined(nodeVisitor(node.moduleSpecifier, visitor, isExpression)), + nodeVisitor(node.attributes, visitor, isImportAttributes) + ); + }, + [300 /* ImportAttributes */]: function visitEachChildOfImportAttributes(node, visitor, context, nodesVisitor, _nodeVisitor, _tokenVisitor) { + return context.factory.updateImportAttributes( + node, + nodesVisitor(node.elements, visitor, isImportAttribute), + node.multiLine + ); + }, + [301 /* ImportAttribute */]: function visitEachChildOfImportAttribute(node, visitor, context, _nodesVisitor, nodeVisitor, _tokenVisitor) { + return context.factory.updateImportAttribute( + node, + Debug.checkDefined(nodeVisitor(node.name, visitor, isImportAttributeName)), + Debug.checkDefined(nodeVisitor(node.value, visitor, isExpression)) + ); + }, + [273 /* ImportClause */]: function visitEachChildOfImportClause(node, visitor, context, _nodesVisitor, nodeVisitor, _tokenVisitor) { + return context.factory.updateImportClause( + node, + node.isTypeOnly, + nodeVisitor(node.name, visitor, isIdentifier), + nodeVisitor(node.namedBindings, visitor, isNamedImportBindings) + ); + }, + [274 /* NamespaceImport */]: function visitEachChildOfNamespaceImport(node, visitor, context, _nodesVisitor, nodeVisitor, _tokenVisitor) { + return context.factory.updateNamespaceImport( + node, + Debug.checkDefined(nodeVisitor(node.name, visitor, isIdentifier)) + ); + }, + [280 /* NamespaceExport */]: function visitEachChildOfNamespaceExport(node, visitor, context, _nodesVisitor, nodeVisitor, _tokenVisitor) { + return context.factory.updateNamespaceExport( + node, + Debug.checkDefined(nodeVisitor(node.name, visitor, isIdentifier)) + ); + }, + [275 /* NamedImports */]: function visitEachChildOfNamedImports(node, visitor, context, nodesVisitor, _nodeVisitor, _tokenVisitor) { + return context.factory.updateNamedImports( + node, + nodesVisitor(node.elements, visitor, isImportSpecifier) + ); + }, + [276 /* ImportSpecifier */]: function visitEachChildOfImportSpecifier(node, visitor, context, _nodesVisitor, nodeVisitor, _tokenVisitor) { + return context.factory.updateImportSpecifier( + node, + node.isTypeOnly, + nodeVisitor(node.propertyName, visitor, isModuleExportName), + Debug.checkDefined(nodeVisitor(node.name, visitor, isIdentifier)) + ); + }, + [277 /* ExportAssignment */]: function visitEachChildOfExportAssignment(node, visitor, context, nodesVisitor, nodeVisitor, _tokenVisitor) { + return context.factory.updateExportAssignment( + node, + nodesVisitor(node.modifiers, visitor, isModifierLike), + Debug.checkDefined(nodeVisitor(node.expression, visitor, isExpression)) + ); + }, + [278 /* ExportDeclaration */]: function visitEachChildOfExportDeclaration(node, visitor, context, nodesVisitor, nodeVisitor, _tokenVisitor) { + return context.factory.updateExportDeclaration( + node, + nodesVisitor(node.modifiers, visitor, isModifierLike), + node.isTypeOnly, + nodeVisitor(node.exportClause, visitor, isNamedExportBindings), + nodeVisitor(node.moduleSpecifier, visitor, isExpression), + nodeVisitor(node.attributes, visitor, isImportAttributes) + ); + }, + [279 /* NamedExports */]: function visitEachChildOfNamedExports(node, visitor, context, nodesVisitor, _nodeVisitor, _tokenVisitor) { + return context.factory.updateNamedExports( + node, + nodesVisitor(node.elements, visitor, isExportSpecifier) + ); + }, + [281 /* ExportSpecifier */]: function visitEachChildOfExportSpecifier(node, visitor, context, _nodesVisitor, nodeVisitor, _tokenVisitor) { + return context.factory.updateExportSpecifier( + node, + node.isTypeOnly, + nodeVisitor(node.propertyName, visitor, isModuleExportName), + Debug.checkDefined(nodeVisitor(node.name, visitor, isModuleExportName)) + ); + }, + // Module references + [283 /* ExternalModuleReference */]: function visitEachChildOfExternalModuleReference(node, visitor, context, _nodesVisitor, nodeVisitor, _tokenVisitor) { + return context.factory.updateExternalModuleReference( + node, + Debug.checkDefined(nodeVisitor(node.expression, visitor, isExpression)) + ); + }, + // JSX + [284 /* JsxElement */]: function visitEachChildOfJsxElement(node, visitor, context, nodesVisitor, nodeVisitor, _tokenVisitor) { + return context.factory.updateJsxElement( + node, + Debug.checkDefined(nodeVisitor(node.openingElement, visitor, isJsxOpeningElement)), + nodesVisitor(node.children, visitor, isJsxChild), + Debug.checkDefined(nodeVisitor(node.closingElement, visitor, isJsxClosingElement)) + ); + }, + [285 /* JsxSelfClosingElement */]: function visitEachChildOfJsxSelfClosingElement(node, visitor, context, nodesVisitor, nodeVisitor, _tokenVisitor) { + return context.factory.updateJsxSelfClosingElement( + node, + Debug.checkDefined(nodeVisitor(node.tagName, visitor, isJsxTagNameExpression)), + nodesVisitor(node.typeArguments, visitor, isTypeNode), + Debug.checkDefined(nodeVisitor(node.attributes, visitor, isJsxAttributes)) + ); + }, + [286 /* JsxOpeningElement */]: function visitEachChildOfJsxOpeningElement(node, visitor, context, nodesVisitor, nodeVisitor, _tokenVisitor) { + return context.factory.updateJsxOpeningElement( + node, + Debug.checkDefined(nodeVisitor(node.tagName, visitor, isJsxTagNameExpression)), + nodesVisitor(node.typeArguments, visitor, isTypeNode), + Debug.checkDefined(nodeVisitor(node.attributes, visitor, isJsxAttributes)) + ); + }, + [287 /* JsxClosingElement */]: function visitEachChildOfJsxClosingElement(node, visitor, context, _nodesVisitor, nodeVisitor, _tokenVisitor) { + return context.factory.updateJsxClosingElement( + node, + Debug.checkDefined(nodeVisitor(node.tagName, visitor, isJsxTagNameExpression)) + ); + }, + [295 /* JsxNamespacedName */]: function forEachChildInJsxNamespacedName2(node, visitor, context, _nodesVisitor, nodeVisitor, _tokenVisitor) { + return context.factory.updateJsxNamespacedName( + node, + Debug.checkDefined(nodeVisitor(node.namespace, visitor, isIdentifier)), + Debug.checkDefined(nodeVisitor(node.name, visitor, isIdentifier)) + ); + }, + [288 /* JsxFragment */]: function visitEachChildOfJsxFragment(node, visitor, context, nodesVisitor, nodeVisitor, _tokenVisitor) { + return context.factory.updateJsxFragment( + node, + Debug.checkDefined(nodeVisitor(node.openingFragment, visitor, isJsxOpeningFragment)), + nodesVisitor(node.children, visitor, isJsxChild), + Debug.checkDefined(nodeVisitor(node.closingFragment, visitor, isJsxClosingFragment)) + ); + }, + [291 /* JsxAttribute */]: function visitEachChildOfJsxAttribute(node, visitor, context, _nodesVisitor, nodeVisitor, _tokenVisitor) { + return context.factory.updateJsxAttribute( + node, + Debug.checkDefined(nodeVisitor(node.name, visitor, isJsxAttributeName)), + nodeVisitor(node.initializer, visitor, isStringLiteralOrJsxExpression) + ); + }, + [292 /* JsxAttributes */]: function visitEachChildOfJsxAttributes(node, visitor, context, nodesVisitor, _nodeVisitor, _tokenVisitor) { + return context.factory.updateJsxAttributes( + node, + nodesVisitor(node.properties, visitor, isJsxAttributeLike) + ); + }, + [293 /* JsxSpreadAttribute */]: function visitEachChildOfJsxSpreadAttribute(node, visitor, context, _nodesVisitor, nodeVisitor, _tokenVisitor) { + return context.factory.updateJsxSpreadAttribute( + node, + Debug.checkDefined(nodeVisitor(node.expression, visitor, isExpression)) + ); + }, + [294 /* JsxExpression */]: function visitEachChildOfJsxExpression(node, visitor, context, _nodesVisitor, nodeVisitor, _tokenVisitor) { + return context.factory.updateJsxExpression( + node, + nodeVisitor(node.expression, visitor, isExpression) + ); + }, + // Clauses + [296 /* CaseClause */]: function visitEachChildOfCaseClause(node, visitor, context, nodesVisitor, nodeVisitor, _tokenVisitor) { + return context.factory.updateCaseClause( + node, + Debug.checkDefined(nodeVisitor(node.expression, visitor, isExpression)), + nodesVisitor(node.statements, visitor, isStatement) + ); + }, + [297 /* DefaultClause */]: function visitEachChildOfDefaultClause(node, visitor, context, nodesVisitor, _nodeVisitor, _tokenVisitor) { + return context.factory.updateDefaultClause( + node, + nodesVisitor(node.statements, visitor, isStatement) + ); + }, + [298 /* HeritageClause */]: function visitEachChildOfHeritageClause(node, visitor, context, nodesVisitor, _nodeVisitor, _tokenVisitor) { + return context.factory.updateHeritageClause( + node, + nodesVisitor(node.types, visitor, isExpressionWithTypeArguments) + ); + }, + [299 /* CatchClause */]: function visitEachChildOfCatchClause(node, visitor, context, _nodesVisitor, nodeVisitor, _tokenVisitor) { + return context.factory.updateCatchClause( + node, + nodeVisitor(node.variableDeclaration, visitor, isVariableDeclaration), + Debug.checkDefined(nodeVisitor(node.block, visitor, isBlock)) + ); + }, + // Property assignments + [303 /* PropertyAssignment */]: function visitEachChildOfPropertyAssignment(node, visitor, context, _nodesVisitor, nodeVisitor, _tokenVisitor) { + return context.factory.updatePropertyAssignment( + node, + Debug.checkDefined(nodeVisitor(node.name, visitor, isPropertyName)), + Debug.checkDefined(nodeVisitor(node.initializer, visitor, isExpression)) + ); + }, + [304 /* ShorthandPropertyAssignment */]: function visitEachChildOfShorthandPropertyAssignment(node, visitor, context, _nodesVisitor, nodeVisitor, _tokenVisitor) { + return context.factory.updateShorthandPropertyAssignment( + node, + Debug.checkDefined(nodeVisitor(node.name, visitor, isIdentifier)), + nodeVisitor(node.objectAssignmentInitializer, visitor, isExpression) + ); + }, + [305 /* SpreadAssignment */]: function visitEachChildOfSpreadAssignment(node, visitor, context, _nodesVisitor, nodeVisitor, _tokenVisitor) { + return context.factory.updateSpreadAssignment( + node, + Debug.checkDefined(nodeVisitor(node.expression, visitor, isExpression)) + ); + }, + // Enum + [306 /* EnumMember */]: function visitEachChildOfEnumMember(node, visitor, context, _nodesVisitor, nodeVisitor, _tokenVisitor) { + return context.factory.updateEnumMember( + node, + Debug.checkDefined(nodeVisitor(node.name, visitor, isPropertyName)), + nodeVisitor(node.initializer, visitor, isExpression) + ); + }, + // Top-level nodes + [307 /* SourceFile */]: function visitEachChildOfSourceFile(node, visitor, context, _nodesVisitor, _nodeVisitor, _tokenVisitor) { + return context.factory.updateSourceFile( + node, + visitLexicalEnvironment(node.statements, visitor, context) + ); + }, + // Transformation nodes + [355 /* PartiallyEmittedExpression */]: function visitEachChildOfPartiallyEmittedExpression(node, visitor, context, _nodesVisitor, nodeVisitor, _tokenVisitor) { + return context.factory.updatePartiallyEmittedExpression( + node, + Debug.checkDefined(nodeVisitor(node.expression, visitor, isExpression)) + ); + }, + [356 /* CommaListExpression */]: function visitEachChildOfCommaListExpression(node, visitor, context, nodesVisitor, _nodeVisitor, _tokenVisitor) { + return context.factory.updateCommaListExpression( + node, + nodesVisitor(node.elements, visitor, isExpression) + ); + } +}; +function extractSingleNode(nodes) { + Debug.assert(nodes.length <= 1, "Too many nodes written to output."); + return singleOrUndefined(nodes); +} + +// src/compiler/sourcemap.ts +function createSourceMapGenerator(host, file, sourceRoot, sourcesDirectoryPath, generatorOptions) { + var { enter, exit } = generatorOptions.extendedDiagnostics ? createTimer("Source Map", "beforeSourcemap", "afterSourcemap") : nullTimer; + var rawSources = []; + var sources = []; + var sourceToSourceIndexMap = /* @__PURE__ */ new Map(); + var sourcesContent; + var names = []; + var nameToNameIndexMap; + var mappingCharCodes = []; + var mappings = ""; + var lastGeneratedLine = 0; + var lastGeneratedCharacter = 0; + var lastSourceIndex = 0; + var lastSourceLine = 0; + var lastSourceCharacter = 0; + var lastNameIndex = 0; + var hasLast = false; + var pendingGeneratedLine = 0; + var pendingGeneratedCharacter = 0; + var pendingSourceIndex = 0; + var pendingSourceLine = 0; + var pendingSourceCharacter = 0; + var pendingNameIndex = 0; + var hasPending = false; + var hasPendingSource = false; + var hasPendingName = false; + return { + getSources: () => rawSources, + addSource, + setSourceContent, + addName, + addMapping, + appendSourceMap, + toJSON, + toString: () => JSON.stringify(toJSON()) + }; + function addSource(fileName) { + enter(); + const source = getRelativePathToDirectoryOrUrl( + sourcesDirectoryPath, + fileName, + host.getCurrentDirectory(), + host.getCanonicalFileName, + /*isAbsolutePathAnUrl*/ + true + ); + let sourceIndex = sourceToSourceIndexMap.get(source); + if (sourceIndex === void 0) { + sourceIndex = sources.length; + sources.push(source); + rawSources.push(fileName); + sourceToSourceIndexMap.set(source, sourceIndex); + } + exit(); + return sourceIndex; + } + function setSourceContent(sourceIndex, content) { + enter(); + if (content !== null) { + if (!sourcesContent) sourcesContent = []; + while (sourcesContent.length < sourceIndex) { + sourcesContent.push(null); + } + sourcesContent[sourceIndex] = content; + } + exit(); + } + function addName(name) { + enter(); + if (!nameToNameIndexMap) nameToNameIndexMap = /* @__PURE__ */ new Map(); + let nameIndex = nameToNameIndexMap.get(name); + if (nameIndex === void 0) { + nameIndex = names.length; + names.push(name); + nameToNameIndexMap.set(name, nameIndex); + } + exit(); + return nameIndex; + } + function isNewGeneratedPosition(generatedLine, generatedCharacter) { + return !hasPending || pendingGeneratedLine !== generatedLine || pendingGeneratedCharacter !== generatedCharacter; + } + function isBacktrackingSourcePosition(sourceIndex, sourceLine, sourceCharacter) { + return sourceIndex !== void 0 && sourceLine !== void 0 && sourceCharacter !== void 0 && pendingSourceIndex === sourceIndex && (pendingSourceLine > sourceLine || pendingSourceLine === sourceLine && pendingSourceCharacter > sourceCharacter); + } + function addMapping(generatedLine, generatedCharacter, sourceIndex, sourceLine, sourceCharacter, nameIndex) { + Debug.assert(generatedLine >= pendingGeneratedLine, "generatedLine cannot backtrack"); + Debug.assert(generatedCharacter >= 0, "generatedCharacter cannot be negative"); + Debug.assert(sourceIndex === void 0 || sourceIndex >= 0, "sourceIndex cannot be negative"); + Debug.assert(sourceLine === void 0 || sourceLine >= 0, "sourceLine cannot be negative"); + Debug.assert(sourceCharacter === void 0 || sourceCharacter >= 0, "sourceCharacter cannot be negative"); + enter(); + if (isNewGeneratedPosition(generatedLine, generatedCharacter) || isBacktrackingSourcePosition(sourceIndex, sourceLine, sourceCharacter)) { + commitPendingMapping(); + pendingGeneratedLine = generatedLine; + pendingGeneratedCharacter = generatedCharacter; + hasPendingSource = false; + hasPendingName = false; + hasPending = true; + } + if (sourceIndex !== void 0 && sourceLine !== void 0 && sourceCharacter !== void 0) { + pendingSourceIndex = sourceIndex; + pendingSourceLine = sourceLine; + pendingSourceCharacter = sourceCharacter; + hasPendingSource = true; + if (nameIndex !== void 0) { + pendingNameIndex = nameIndex; + hasPendingName = true; + } + } + exit(); + } + function appendSourceMap(generatedLine, generatedCharacter, map2, sourceMapPath, start, end) { + Debug.assert(generatedLine >= pendingGeneratedLine, "generatedLine cannot backtrack"); + Debug.assert(generatedCharacter >= 0, "generatedCharacter cannot be negative"); + enter(); + const sourceIndexToNewSourceIndexMap = []; + let nameIndexToNewNameIndexMap; + const mappingIterator = decodeMappings(map2.mappings); + for (const raw of mappingIterator) { + if (end && (raw.generatedLine > end.line || raw.generatedLine === end.line && raw.generatedCharacter > end.character)) { + break; + } + if (start && (raw.generatedLine < start.line || start.line === raw.generatedLine && raw.generatedCharacter < start.character)) { + continue; + } + let newSourceIndex; + let newSourceLine; + let newSourceCharacter; + let newNameIndex; + if (raw.sourceIndex !== void 0) { + newSourceIndex = sourceIndexToNewSourceIndexMap[raw.sourceIndex]; + if (newSourceIndex === void 0) { + const rawPath = map2.sources[raw.sourceIndex]; + const relativePath = map2.sourceRoot ? combinePaths(map2.sourceRoot, rawPath) : rawPath; + const combinedPath = combinePaths(getDirectoryPath(sourceMapPath), relativePath); + sourceIndexToNewSourceIndexMap[raw.sourceIndex] = newSourceIndex = addSource(combinedPath); + if (map2.sourcesContent && typeof map2.sourcesContent[raw.sourceIndex] === "string") { + setSourceContent(newSourceIndex, map2.sourcesContent[raw.sourceIndex]); + } + } + newSourceLine = raw.sourceLine; + newSourceCharacter = raw.sourceCharacter; + if (map2.names && raw.nameIndex !== void 0) { + if (!nameIndexToNewNameIndexMap) nameIndexToNewNameIndexMap = []; + newNameIndex = nameIndexToNewNameIndexMap[raw.nameIndex]; + if (newNameIndex === void 0) { + nameIndexToNewNameIndexMap[raw.nameIndex] = newNameIndex = addName(map2.names[raw.nameIndex]); + } + } + } + const rawGeneratedLine = raw.generatedLine - (start ? start.line : 0); + const newGeneratedLine = rawGeneratedLine + generatedLine; + const rawGeneratedCharacter = start && start.line === raw.generatedLine ? raw.generatedCharacter - start.character : raw.generatedCharacter; + const newGeneratedCharacter = rawGeneratedLine === 0 ? rawGeneratedCharacter + generatedCharacter : rawGeneratedCharacter; + addMapping(newGeneratedLine, newGeneratedCharacter, newSourceIndex, newSourceLine, newSourceCharacter, newNameIndex); + } + exit(); + } + function shouldCommitMapping() { + return !hasLast || lastGeneratedLine !== pendingGeneratedLine || lastGeneratedCharacter !== pendingGeneratedCharacter || lastSourceIndex !== pendingSourceIndex || lastSourceLine !== pendingSourceLine || lastSourceCharacter !== pendingSourceCharacter || lastNameIndex !== pendingNameIndex; + } + function appendMappingCharCode(charCode) { + mappingCharCodes.push(charCode); + if (mappingCharCodes.length >= 1024) { + flushMappingBuffer(); + } + } + function commitPendingMapping() { + if (!hasPending || !shouldCommitMapping()) { + return; + } + enter(); + if (lastGeneratedLine < pendingGeneratedLine) { + do { + appendMappingCharCode(59 /* semicolon */); + lastGeneratedLine++; + } while (lastGeneratedLine < pendingGeneratedLine); + lastGeneratedCharacter = 0; + } else { + Debug.assertEqual(lastGeneratedLine, pendingGeneratedLine, "generatedLine cannot backtrack"); + if (hasLast) { + appendMappingCharCode(44 /* comma */); + } + } + appendBase64VLQ(pendingGeneratedCharacter - lastGeneratedCharacter); + lastGeneratedCharacter = pendingGeneratedCharacter; + if (hasPendingSource) { + appendBase64VLQ(pendingSourceIndex - lastSourceIndex); + lastSourceIndex = pendingSourceIndex; + appendBase64VLQ(pendingSourceLine - lastSourceLine); + lastSourceLine = pendingSourceLine; + appendBase64VLQ(pendingSourceCharacter - lastSourceCharacter); + lastSourceCharacter = pendingSourceCharacter; + if (hasPendingName) { + appendBase64VLQ(pendingNameIndex - lastNameIndex); + lastNameIndex = pendingNameIndex; + } + } + hasLast = true; + exit(); + } + function flushMappingBuffer() { + if (mappingCharCodes.length > 0) { + mappings += String.fromCharCode.apply(void 0, mappingCharCodes); + mappingCharCodes.length = 0; + } + } + function toJSON() { + commitPendingMapping(); + flushMappingBuffer(); + return { + version: 3, + file, + sourceRoot, + sources, + names, + mappings, + sourcesContent + }; + } + function appendBase64VLQ(inValue) { + if (inValue < 0) { + inValue = (-inValue << 1) + 1; + } else { + inValue = inValue << 1; + } + do { + let currentDigit = inValue & 31; + inValue = inValue >> 5; + if (inValue > 0) { + currentDigit = currentDigit | 32; + } + appendMappingCharCode(base64FormatEncode(currentDigit)); + } while (inValue > 0); + } +} +var sourceMapCommentRegExpDontCareLineStart = /\/\/[@#] source[M]appingURL=(.+)\r?\n?$/; +var sourceMapCommentRegExp = /^\/\/[@#] source[M]appingURL=(.+)\r?\n?$/; +var whitespaceOrMapCommentRegExp = /^\s*(\/\/[@#] .*)?$/; +function decodeMappings(mappings) { + let done = false; + let pos = 0; + let generatedLine = 0; + let generatedCharacter = 0; + let sourceIndex = 0; + let sourceLine = 0; + let sourceCharacter = 0; + let nameIndex = 0; + let error; + return { + get pos() { + return pos; + }, + get error() { + return error; + }, + get state() { + return captureMapping( + /*hasSource*/ + true, + /*hasName*/ + true + ); + }, + next() { + while (!done && pos < mappings.length) { + const ch = mappings.charCodeAt(pos); + if (ch === 59 /* semicolon */) { + generatedLine++; + generatedCharacter = 0; + pos++; + continue; + } + if (ch === 44 /* comma */) { + pos++; + continue; + } + let hasSource = false; + let hasName = false; + generatedCharacter += base64VLQFormatDecode(); + if (hasReportedError()) return stopIterating(); + if (generatedCharacter < 0) return setErrorAndStopIterating("Invalid generatedCharacter found"); + if (!isSourceMappingSegmentEnd()) { + hasSource = true; + sourceIndex += base64VLQFormatDecode(); + if (hasReportedError()) return stopIterating(); + if (sourceIndex < 0) return setErrorAndStopIterating("Invalid sourceIndex found"); + if (isSourceMappingSegmentEnd()) return setErrorAndStopIterating("Unsupported Format: No entries after sourceIndex"); + sourceLine += base64VLQFormatDecode(); + if (hasReportedError()) return stopIterating(); + if (sourceLine < 0) return setErrorAndStopIterating("Invalid sourceLine found"); + if (isSourceMappingSegmentEnd()) return setErrorAndStopIterating("Unsupported Format: No entries after sourceLine"); + sourceCharacter += base64VLQFormatDecode(); + if (hasReportedError()) return stopIterating(); + if (sourceCharacter < 0) return setErrorAndStopIterating("Invalid sourceCharacter found"); + if (!isSourceMappingSegmentEnd()) { + hasName = true; + nameIndex += base64VLQFormatDecode(); + if (hasReportedError()) return stopIterating(); + if (nameIndex < 0) return setErrorAndStopIterating("Invalid nameIndex found"); + if (!isSourceMappingSegmentEnd()) return setErrorAndStopIterating("Unsupported Error Format: Entries after nameIndex"); + } + } + return { value: captureMapping(hasSource, hasName), done }; + } + return stopIterating(); + }, + [Symbol.iterator]() { + return this; + } + }; + function captureMapping(hasSource, hasName) { + return { + generatedLine, + generatedCharacter, + sourceIndex: hasSource ? sourceIndex : void 0, + sourceLine: hasSource ? sourceLine : void 0, + sourceCharacter: hasSource ? sourceCharacter : void 0, + nameIndex: hasName ? nameIndex : void 0 + }; + } + function stopIterating() { + done = true; + return { value: void 0, done: true }; + } + function setError(message) { + if (error === void 0) { + error = message; + } + } + function setErrorAndStopIterating(message) { + setError(message); + return stopIterating(); + } + function hasReportedError() { + return error !== void 0; + } + function isSourceMappingSegmentEnd() { + return pos === mappings.length || mappings.charCodeAt(pos) === 44 /* comma */ || mappings.charCodeAt(pos) === 59 /* semicolon */; + } + function base64VLQFormatDecode() { + let moreDigits = true; + let shiftCount = 0; + let value = 0; + for (; moreDigits; pos++) { + if (pos >= mappings.length) return setError("Error in decoding base64VLQFormatDecode, past the mapping string"), -1; + const currentByte = base64FormatDecode(mappings.charCodeAt(pos)); + if (currentByte === -1) return setError("Invalid character in VLQ"), -1; + moreDigits = (currentByte & 32) !== 0; + value = value | (currentByte & 31) << shiftCount; + shiftCount += 5; + } + if ((value & 1) === 0) { + value = value >> 1; + } else { + value = value >> 1; + value = -value; + } + return value; + } +} +function base64FormatEncode(value) { + return value >= 0 && value < 26 ? 65 /* A */ + value : value >= 26 && value < 52 ? 97 /* a */ + value - 26 : value >= 52 && value < 62 ? 48 /* _0 */ + value - 52 : value === 62 ? 43 /* plus */ : value === 63 ? 47 /* slash */ : Debug.fail(`${value}: not a base64 value`); +} +function base64FormatDecode(ch) { + return ch >= 65 /* A */ && ch <= 90 /* Z */ ? ch - 65 /* A */ : ch >= 97 /* a */ && ch <= 122 /* z */ ? ch - 97 /* a */ + 26 : ch >= 48 /* _0 */ && ch <= 57 /* _9 */ ? ch - 48 /* _0 */ + 52 : ch === 43 /* plus */ ? 62 : ch === 47 /* slash */ ? 63 : -1; +} + +// src/compiler/transformers/utilities.ts +function getOriginalNodeId(node) { + node = getOriginalNode(node); + return node ? getNodeId(node) : 0; +} +function containsDefaultReference(node) { + if (!node) return false; + if (!isNamedImports(node) && !isNamedExports(node)) return false; + return some(node.elements, isNamedDefaultReference); +} +function isNamedDefaultReference(e) { + return moduleExportNameIsDefault(e.propertyName || e.name); +} +function chainBundle(context, transformSourceFile) { + return transformSourceFileOrBundle; + function transformSourceFileOrBundle(node) { + return node.kind === 307 /* SourceFile */ ? transformSourceFile(node) : transformBundle(node); + } + function transformBundle(node) { + return context.factory.createBundle(map(node.sourceFiles, transformSourceFile)); + } +} +function getExportNeedsImportStarHelper(node) { + return !!getNamespaceDeclarationNode(node); +} +function getImportNeedsImportStarHelper(node) { + if (!!getNamespaceDeclarationNode(node)) { + return true; + } + const bindings = node.importClause && node.importClause.namedBindings; + if (!bindings) { + return false; + } + if (!isNamedImports(bindings)) return false; + let defaultRefCount = 0; + for (const binding of bindings.elements) { + if (isNamedDefaultReference(binding)) { + defaultRefCount++; + } + } + return defaultRefCount > 0 && defaultRefCount !== bindings.elements.length || !!(bindings.elements.length - defaultRefCount) && isDefaultImport(node); +} +function getImportNeedsImportDefaultHelper(node) { + return !getImportNeedsImportStarHelper(node) && (isDefaultImport(node) || !!node.importClause && isNamedImports(node.importClause.namedBindings) && containsDefaultReference(node.importClause.namedBindings)); +} +function collectExternalModuleInfo(context, sourceFile) { + const resolver = context.getEmitResolver(); + const compilerOptions = context.getCompilerOptions(); + const externalImports = []; + const exportSpecifiers = new IdentifierNameMultiMap(); + const exportedBindings = []; + const uniqueExports = /* @__PURE__ */ new Map(); + const exportedFunctions = /* @__PURE__ */ new Set(); + let exportedNames; + let hasExportDefault = false; + let exportEquals; + let hasExportStarsToExportValues = false; + let hasImportStar = false; + let hasImportDefault = false; + for (const node of sourceFile.statements) { + switch (node.kind) { + case 272 /* ImportDeclaration */: + externalImports.push(node); + if (!hasImportStar && getImportNeedsImportStarHelper(node)) { + hasImportStar = true; + } + if (!hasImportDefault && getImportNeedsImportDefaultHelper(node)) { + hasImportDefault = true; + } + break; + case 271 /* ImportEqualsDeclaration */: + if (node.moduleReference.kind === 283 /* ExternalModuleReference */) { + externalImports.push(node); + } + break; + case 278 /* ExportDeclaration */: + if (node.moduleSpecifier) { + if (!node.exportClause) { + externalImports.push(node); + hasExportStarsToExportValues = true; + } else { + externalImports.push(node); + if (isNamedExports(node.exportClause)) { + addExportedNamesForExportDeclaration(node); + hasImportDefault || (hasImportDefault = containsDefaultReference(node.exportClause)); + } else { + const name = node.exportClause.name; + const nameText = moduleExportNameTextUnescaped(name); + if (!uniqueExports.get(nameText)) { + multiMapSparseArrayAdd(exportedBindings, getOriginalNodeId(node), name); + uniqueExports.set(nameText, true); + exportedNames = append(exportedNames, name); + } + hasImportStar = true; + } + } + } else { + addExportedNamesForExportDeclaration(node); + } + break; + case 277 /* ExportAssignment */: + if (node.isExportEquals && !exportEquals) { + exportEquals = node; + } + break; + case 243 /* VariableStatement */: + if (hasSyntacticModifier(node, 32 /* Export */)) { + for (const decl of node.declarationList.declarations) { + exportedNames = collectExportedVariableInfo(decl, uniqueExports, exportedNames, exportedBindings); + } + } + break; + case 262 /* FunctionDeclaration */: + if (hasSyntacticModifier(node, 32 /* Export */)) { + addExportedFunctionDeclaration( + node, + /*name*/ + void 0, + hasSyntacticModifier(node, 2048 /* Default */) + ); + } + break; + case 263 /* ClassDeclaration */: + if (hasSyntacticModifier(node, 32 /* Export */)) { + if (hasSyntacticModifier(node, 2048 /* Default */)) { + if (!hasExportDefault) { + multiMapSparseArrayAdd(exportedBindings, getOriginalNodeId(node), context.factory.getDeclarationName(node)); + hasExportDefault = true; + } + } else { + const name = node.name; + if (name && !uniqueExports.get(idText(name))) { + multiMapSparseArrayAdd(exportedBindings, getOriginalNodeId(node), name); + uniqueExports.set(idText(name), true); + exportedNames = append(exportedNames, name); + } + } + } + break; + } + } + const externalHelpersImportDeclaration = createExternalHelpersImportDeclarationIfNeeded(context.factory, context.getEmitHelperFactory(), sourceFile, compilerOptions, hasExportStarsToExportValues, hasImportStar, hasImportDefault); + if (externalHelpersImportDeclaration) { + externalImports.unshift(externalHelpersImportDeclaration); + } + return { externalImports, exportSpecifiers, exportEquals, hasExportStarsToExportValues, exportedBindings, exportedNames, exportedFunctions, externalHelpersImportDeclaration }; + function addExportedNamesForExportDeclaration(node) { + for (const specifier of cast(node.exportClause, isNamedExports).elements) { + const specifierNameText = moduleExportNameTextUnescaped(specifier.name); + if (!uniqueExports.get(specifierNameText)) { + const name = specifier.propertyName || specifier.name; + if (name.kind !== 11 /* StringLiteral */) { + if (!node.moduleSpecifier) { + exportSpecifiers.add(name, specifier); + } + const decl = resolver.getReferencedImportDeclaration(name) || resolver.getReferencedValueDeclaration(name); + if (decl) { + if (decl.kind === 262 /* FunctionDeclaration */) { + addExportedFunctionDeclaration(decl, specifier.name, moduleExportNameIsDefault(specifier.name)); + continue; + } + multiMapSparseArrayAdd(exportedBindings, getOriginalNodeId(decl), specifier.name); + } + } + uniqueExports.set(specifierNameText, true); + exportedNames = append(exportedNames, specifier.name); + } + } + } + function addExportedFunctionDeclaration(node, name, isDefault) { + exportedFunctions.add(getOriginalNode(node, isFunctionDeclaration)); + if (isDefault) { + if (!hasExportDefault) { + multiMapSparseArrayAdd(exportedBindings, getOriginalNodeId(node), name ?? context.factory.getDeclarationName(node)); + hasExportDefault = true; + } + } else { + name ?? (name = node.name); + const nameText = moduleExportNameTextUnescaped(name); + if (!uniqueExports.get(nameText)) { + multiMapSparseArrayAdd(exportedBindings, getOriginalNodeId(node), name); + uniqueExports.set(nameText, true); + } + } + } +} +function collectExportedVariableInfo(decl, uniqueExports, exportedNames, exportedBindings) { + if (isBindingPattern(decl.name)) { + for (const element of decl.name.elements) { + if (!isOmittedExpression(element)) { + exportedNames = collectExportedVariableInfo(element, uniqueExports, exportedNames, exportedBindings); + } + } + } else if (!isGeneratedIdentifier(decl.name)) { + const text = idText(decl.name); + if (!uniqueExports.get(text)) { + uniqueExports.set(text, true); + exportedNames = append(exportedNames, decl.name); + if (isLocalName(decl.name)) { + multiMapSparseArrayAdd(exportedBindings, getOriginalNodeId(decl), decl.name); + } + } + } + return exportedNames; +} +function multiMapSparseArrayAdd(map2, key, value) { + let values = map2[key]; + if (values) { + values.push(value); + } else { + map2[key] = values = [value]; + } + return values; +} +var IdentifierNameMap = class _IdentifierNameMap { + constructor() { + this._map = /* @__PURE__ */ new Map(); + } + get size() { + return this._map.size; + } + has(key) { + return this._map.has(_IdentifierNameMap.toKey(key)); + } + get(key) { + return this._map.get(_IdentifierNameMap.toKey(key)); + } + set(key, value) { + this._map.set(_IdentifierNameMap.toKey(key), value); + return this; + } + delete(key) { + var _a; + return ((_a = this._map) == null ? void 0 : _a.delete(_IdentifierNameMap.toKey(key))) ?? false; + } + clear() { + this._map.clear(); + } + values() { + return this._map.values(); + } + static toKey(name) { + if (isGeneratedPrivateIdentifier(name) || isGeneratedIdentifier(name)) { + const autoGenerate = name.emitNode.autoGenerate; + if ((autoGenerate.flags & 7 /* KindMask */) === 4 /* Node */) { + const node = getNodeForGeneratedName(name); + const baseName = isMemberName(node) && node !== name ? _IdentifierNameMap.toKey(node) : `(generated@${getNodeId(node)})`; + return formatGeneratedName( + /*privateName*/ + false, + autoGenerate.prefix, + baseName, + autoGenerate.suffix, + _IdentifierNameMap.toKey + ); + } else { + const baseName = `(auto@${autoGenerate.id})`; + return formatGeneratedName( + /*privateName*/ + false, + autoGenerate.prefix, + baseName, + autoGenerate.suffix, + _IdentifierNameMap.toKey + ); + } + } + if (isPrivateIdentifier(name)) { + return idText(name).slice(1); + } + return idText(name); + } +}; +var IdentifierNameMultiMap = class extends IdentifierNameMap { + add(key, value) { + let values = this.get(key); + if (values) { + values.push(value); + } else { + this.set(key, values = [value]); + } + return values; + } + remove(key, value) { + const values = this.get(key); + if (values) { + unorderedRemoveItem(values, value); + if (!values.length) { + this.delete(key); + } + } + } +}; +function isSimpleCopiableExpression(expression) { + return isStringLiteralLike(expression) || expression.kind === 9 /* NumericLiteral */ || isKeyword(expression.kind) || isIdentifier(expression); +} +function isSimpleInlineableExpression(expression) { + return !isIdentifier(expression) && isSimpleCopiableExpression(expression); +} +function isCompoundAssignment(kind) { + return kind >= 65 /* FirstCompoundAssignment */ && kind <= 79 /* LastCompoundAssignment */; +} +function getNonAssignmentOperatorForCompoundAssignment(kind) { + switch (kind) { + case 65 /* PlusEqualsToken */: + return 40 /* PlusToken */; + case 66 /* MinusEqualsToken */: + return 41 /* MinusToken */; + case 67 /* AsteriskEqualsToken */: + return 42 /* AsteriskToken */; + case 68 /* AsteriskAsteriskEqualsToken */: + return 43 /* AsteriskAsteriskToken */; + case 69 /* SlashEqualsToken */: + return 44 /* SlashToken */; + case 70 /* PercentEqualsToken */: + return 45 /* PercentToken */; + case 71 /* LessThanLessThanEqualsToken */: + return 48 /* LessThanLessThanToken */; + case 72 /* GreaterThanGreaterThanEqualsToken */: + return 49 /* GreaterThanGreaterThanToken */; + case 73 /* GreaterThanGreaterThanGreaterThanEqualsToken */: + return 50 /* GreaterThanGreaterThanGreaterThanToken */; + case 74 /* AmpersandEqualsToken */: + return 51 /* AmpersandToken */; + case 75 /* BarEqualsToken */: + return 52 /* BarToken */; + case 79 /* CaretEqualsToken */: + return 53 /* CaretToken */; + case 76 /* BarBarEqualsToken */: + return 57 /* BarBarToken */; + case 77 /* AmpersandAmpersandEqualsToken */: + return 56 /* AmpersandAmpersandToken */; + case 78 /* QuestionQuestionEqualsToken */: + return 61 /* QuestionQuestionToken */; + } +} +function getSuperCallFromStatement(statement) { + if (!isExpressionStatement(statement)) { + return void 0; + } + const expression = skipParentheses(statement.expression); + return isSuperCall(expression) ? expression : void 0; +} +function findSuperStatementIndexPathWorker(statements, start, indices) { + for (let i = start; i < statements.length; i += 1) { + const statement = statements[i]; + if (getSuperCallFromStatement(statement)) { + indices.unshift(i); + return true; + } else if (isTryStatement(statement) && findSuperStatementIndexPathWorker(statement.tryBlock.statements, 0, indices)) { + indices.unshift(i); + return true; + } + } + return false; +} +function findSuperStatementIndexPath(statements, start) { + const indices = []; + findSuperStatementIndexPathWorker(statements, start, indices); + return indices; +} +function getProperties(node, requireInitializer, isStatic2) { + return filter(node.members, (m) => isInitializedOrStaticProperty(m, requireInitializer, isStatic2)); +} +function isStaticPropertyDeclarationOrClassStaticBlockDeclaration(element) { + return isStaticPropertyDeclaration(element) || isClassStaticBlockDeclaration(element); +} +function getStaticPropertiesAndClassStaticBlock(node) { + return filter(node.members, isStaticPropertyDeclarationOrClassStaticBlockDeclaration); +} +function isInitializedOrStaticProperty(member, requireInitializer, isStatic2) { + return isPropertyDeclaration(member) && (!!member.initializer || !requireInitializer) && hasStaticModifier(member) === isStatic2; +} +function isStaticPropertyDeclaration(member) { + return isPropertyDeclaration(member) && hasStaticModifier(member); +} +function isInitializedProperty(member) { + return member.kind === 172 /* PropertyDeclaration */ && member.initializer !== void 0; +} +function isNonStaticMethodOrAccessorWithPrivateName(member) { + return !isStatic(member) && (isMethodOrAccessor(member) || isAutoAccessorPropertyDeclaration(member)) && isPrivateIdentifier(member.name); +} +function getDecoratorsOfParameters(node) { + let decorators; + if (node) { + const parameters = node.parameters; + const firstParameterIsThis = parameters.length > 0 && parameterIsThisKeyword(parameters[0]); + const firstParameterOffset = firstParameterIsThis ? 1 : 0; + const numParameters = firstParameterIsThis ? parameters.length - 1 : parameters.length; + for (let i = 0; i < numParameters; i++) { + const parameter = parameters[i + firstParameterOffset]; + if (decorators || hasDecorators(parameter)) { + if (!decorators) { + decorators = new Array(numParameters); + } + decorators[i] = getDecorators(parameter); + } + } + } + return decorators; +} +function getAllDecoratorsOfClass(node, useLegacyDecorators) { + const decorators = getDecorators(node); + const parameters = useLegacyDecorators ? getDecoratorsOfParameters(getFirstConstructorWithBody(node)) : void 0; + if (!some(decorators) && !some(parameters)) { + return void 0; + } + return { + decorators, + parameters + }; +} +function getAllDecoratorsOfClassElement(member, parent, useLegacyDecorators) { + switch (member.kind) { + case 177 /* GetAccessor */: + case 178 /* SetAccessor */: + if (!useLegacyDecorators) { + return getAllDecoratorsOfMethod( + member, + /*useLegacyDecorators*/ + false + ); + } + return getAllDecoratorsOfAccessors( + member, + parent, + /*useLegacyDecorators*/ + true + ); + case 174 /* MethodDeclaration */: + return getAllDecoratorsOfMethod(member, useLegacyDecorators); + case 172 /* PropertyDeclaration */: + return getAllDecoratorsOfProperty(member); + default: + return void 0; + } +} +function getAllDecoratorsOfAccessors(accessor, parent, useLegacyDecorators) { + if (!accessor.body) { + return void 0; + } + const { firstAccessor, secondAccessor, getAccessor, setAccessor } = getAllAccessorDeclarations(parent.members, accessor); + const firstAccessorWithDecorators = hasDecorators(firstAccessor) ? firstAccessor : secondAccessor && hasDecorators(secondAccessor) ? secondAccessor : void 0; + if (!firstAccessorWithDecorators || accessor !== firstAccessorWithDecorators) { + return void 0; + } + const decorators = getDecorators(firstAccessorWithDecorators); + const parameters = useLegacyDecorators ? getDecoratorsOfParameters(setAccessor) : void 0; + if (!some(decorators) && !some(parameters)) { + return void 0; + } + return { + decorators, + parameters, + getDecorators: getAccessor && getDecorators(getAccessor), + setDecorators: setAccessor && getDecorators(setAccessor) + }; +} +function getAllDecoratorsOfMethod(method, useLegacyDecorators) { + if (!method.body) { + return void 0; + } + const decorators = getDecorators(method); + const parameters = useLegacyDecorators ? getDecoratorsOfParameters(method) : void 0; + if (!some(decorators) && !some(parameters)) { + return void 0; + } + return { decorators, parameters }; +} +function getAllDecoratorsOfProperty(property) { + const decorators = getDecorators(property); + if (!some(decorators)) { + return void 0; + } + return { decorators }; +} +function walkUpLexicalEnvironments(env, cb) { + while (env) { + const result = cb(env); + if (result !== void 0) return result; + env = env.previous; + } +} +function newPrivateEnvironment(data) { + return { data }; +} +function getPrivateIdentifier(privateEnv, name) { + var _a, _b; + return isGeneratedPrivateIdentifier(name) ? (_a = privateEnv == null ? void 0 : privateEnv.generatedIdentifiers) == null ? void 0 : _a.get(getNodeForGeneratedName(name)) : (_b = privateEnv == null ? void 0 : privateEnv.identifiers) == null ? void 0 : _b.get(name.escapedText); +} +function setPrivateIdentifier(privateEnv, name, entry) { + if (isGeneratedPrivateIdentifier(name)) { + privateEnv.generatedIdentifiers ?? (privateEnv.generatedIdentifiers = /* @__PURE__ */ new Map()); + privateEnv.generatedIdentifiers.set(getNodeForGeneratedName(name), entry); + } else { + privateEnv.identifiers ?? (privateEnv.identifiers = /* @__PURE__ */ new Map()); + privateEnv.identifiers.set(name.escapedText, entry); + } +} +function accessPrivateIdentifier(env, name) { + return walkUpLexicalEnvironments(env, (env2) => getPrivateIdentifier(env2.privateEnv, name)); +} +function isSimpleParameter(node) { + return !node.initializer && isIdentifier(node.name); +} +function isSimpleParameterList(nodes) { + return every(nodes, isSimpleParameter); +} +function rewriteModuleSpecifier(node, compilerOptions) { + if (!node || !isStringLiteral(node) || !shouldRewriteModuleSpecifier(node.text, compilerOptions)) { + return node; + } + const updatedText = changeExtension(node.text, getOutputExtension(node.text, compilerOptions)); + return updatedText !== node.text ? setOriginalNode(setTextRange(factory.createStringLiteral(updatedText, node.singleQuote), node), node) : node; +} + +// src/compiler/transformers/destructuring.ts +function flattenDestructuringAssignment(node, visitor, context, level, needsValue, createAssignmentCallback) { + let location = node; + let value; + if (isDestructuringAssignment(node)) { + value = node.right; + while (isEmptyArrayLiteral(node.left) || isEmptyObjectLiteral(node.left)) { + if (isDestructuringAssignment(value)) { + location = node = value; + value = node.right; + } else { + return Debug.checkDefined(visitNode(value, visitor, isExpression)); + } + } + } + let expressions; + const flattenContext = { + context, + level, + downlevelIteration: !!context.getCompilerOptions().downlevelIteration, + hoistTempVariables: true, + emitExpression, + emitBindingOrAssignment, + createArrayBindingOrAssignmentPattern: (elements) => makeArrayAssignmentPattern(context.factory, elements), + createObjectBindingOrAssignmentPattern: (elements) => makeObjectAssignmentPattern(context.factory, elements), + createArrayBindingOrAssignmentElement: makeAssignmentElement, + visitor + }; + if (value) { + value = visitNode(value, visitor, isExpression); + Debug.assert(value); + if (isIdentifier(value) && bindingOrAssignmentElementAssignsToName(node, value.escapedText) || bindingOrAssignmentElementContainsNonLiteralComputedName(node)) { + value = ensureIdentifier( + flattenContext, + value, + /*reuseIdentifierExpressions*/ + false, + location + ); + } else if (needsValue) { + value = ensureIdentifier( + flattenContext, + value, + /*reuseIdentifierExpressions*/ + true, + location + ); + } else if (nodeIsSynthesized(node)) { + location = value; + } + } + flattenBindingOrAssignmentElement( + flattenContext, + node, + value, + location, + /*skipInitializer*/ + isDestructuringAssignment(node) + ); + if (value && needsValue) { + if (!some(expressions)) { + return value; + } + expressions.push(value); + } + return context.factory.inlineExpressions(expressions) || context.factory.createOmittedExpression(); + function emitExpression(expression) { + expressions = append(expressions, expression); + } + function emitBindingOrAssignment(target, value2, location2, original) { + Debug.assertNode(target, createAssignmentCallback ? isIdentifier : isExpression); + const expression = createAssignmentCallback ? createAssignmentCallback(target, value2, location2) : setTextRange( + context.factory.createAssignment(Debug.checkDefined(visitNode(target, visitor, isExpression)), value2), + location2 + ); + expression.original = original; + emitExpression(expression); + } +} +function bindingOrAssignmentElementAssignsToName(element, escapedName) { + const target = getTargetOfBindingOrAssignmentElement(element); + if (isBindingOrAssignmentPattern(target)) { + return bindingOrAssignmentPatternAssignsToName(target, escapedName); + } else if (isIdentifier(target)) { + return target.escapedText === escapedName; + } + return false; +} +function bindingOrAssignmentPatternAssignsToName(pattern, escapedName) { + const elements = getElementsOfBindingOrAssignmentPattern(pattern); + for (const element of elements) { + if (bindingOrAssignmentElementAssignsToName(element, escapedName)) { + return true; + } + } + return false; +} +function bindingOrAssignmentElementContainsNonLiteralComputedName(element) { + const propertyName = tryGetPropertyNameOfBindingOrAssignmentElement(element); + if (propertyName && isComputedPropertyName(propertyName) && !isLiteralExpression(propertyName.expression)) { + return true; + } + const target = getTargetOfBindingOrAssignmentElement(element); + return !!target && isBindingOrAssignmentPattern(target) && bindingOrAssignmentPatternContainsNonLiteralComputedName(target); +} +function bindingOrAssignmentPatternContainsNonLiteralComputedName(pattern) { + return !!forEach(getElementsOfBindingOrAssignmentPattern(pattern), bindingOrAssignmentElementContainsNonLiteralComputedName); +} +function flattenDestructuringBinding(node, visitor, context, level, rval, hoistTempVariables = false, skipInitializer) { + let pendingExpressions; + const pendingDeclarations = []; + const declarations = []; + const flattenContext = { + context, + level, + downlevelIteration: !!context.getCompilerOptions().downlevelIteration, + hoistTempVariables, + emitExpression, + emitBindingOrAssignment, + createArrayBindingOrAssignmentPattern: (elements) => makeArrayBindingPattern(context.factory, elements), + createObjectBindingOrAssignmentPattern: (elements) => makeObjectBindingPattern(context.factory, elements), + createArrayBindingOrAssignmentElement: (name) => makeBindingElement(context.factory, name), + visitor + }; + if (isVariableDeclaration(node)) { + let initializer = getInitializerOfBindingOrAssignmentElement(node); + if (initializer && (isIdentifier(initializer) && bindingOrAssignmentElementAssignsToName(node, initializer.escapedText) || bindingOrAssignmentElementContainsNonLiteralComputedName(node))) { + initializer = ensureIdentifier( + flattenContext, + Debug.checkDefined(visitNode(initializer, flattenContext.visitor, isExpression)), + /*reuseIdentifierExpressions*/ + false, + initializer + ); + node = context.factory.updateVariableDeclaration( + node, + node.name, + /*exclamationToken*/ + void 0, + /*type*/ + void 0, + initializer + ); + } + } + flattenBindingOrAssignmentElement(flattenContext, node, rval, node, skipInitializer); + if (pendingExpressions) { + const temp = context.factory.createTempVariable( + /*recordTempVariable*/ + void 0 + ); + if (hoistTempVariables) { + const value = context.factory.inlineExpressions(pendingExpressions); + pendingExpressions = void 0; + emitBindingOrAssignment( + temp, + value, + /*location*/ + void 0, + /*original*/ + void 0 + ); + } else { + context.hoistVariableDeclaration(temp); + const pendingDeclaration = last(pendingDeclarations); + pendingDeclaration.pendingExpressions = append( + pendingDeclaration.pendingExpressions, + context.factory.createAssignment(temp, pendingDeclaration.value) + ); + addRange(pendingDeclaration.pendingExpressions, pendingExpressions); + pendingDeclaration.value = temp; + } + } + for (const { pendingExpressions: pendingExpressions2, name, value, location, original } of pendingDeclarations) { + const variable = context.factory.createVariableDeclaration( + name, + /*exclamationToken*/ + void 0, + /*type*/ + void 0, + pendingExpressions2 ? context.factory.inlineExpressions(append(pendingExpressions2, value)) : value + ); + variable.original = original; + setTextRange(variable, location); + declarations.push(variable); + } + return declarations; + function emitExpression(value) { + pendingExpressions = append(pendingExpressions, value); + } + function emitBindingOrAssignment(target, value, location, original) { + Debug.assertNode(target, isBindingName); + if (pendingExpressions) { + value = context.factory.inlineExpressions(append(pendingExpressions, value)); + pendingExpressions = void 0; + } + pendingDeclarations.push({ pendingExpressions, name: target, value, location, original }); + } +} +function flattenBindingOrAssignmentElement(flattenContext, element, value, location, skipInitializer) { + const bindingTarget = getTargetOfBindingOrAssignmentElement(element); + if (!skipInitializer) { + const initializer = visitNode(getInitializerOfBindingOrAssignmentElement(element), flattenContext.visitor, isExpression); + if (initializer) { + if (value) { + value = createDefaultValueCheck(flattenContext, value, initializer, location); + if (!isSimpleInlineableExpression(initializer) && isBindingOrAssignmentPattern(bindingTarget)) { + value = ensureIdentifier( + flattenContext, + value, + /*reuseIdentifierExpressions*/ + true, + location + ); + } + } else { + value = initializer; + } + } else if (!value) { + value = flattenContext.context.factory.createVoidZero(); + } + } + if (isObjectBindingOrAssignmentPattern(bindingTarget)) { + flattenObjectBindingOrAssignmentPattern(flattenContext, element, bindingTarget, value, location); + } else if (isArrayBindingOrAssignmentPattern(bindingTarget)) { + flattenArrayBindingOrAssignmentPattern(flattenContext, element, bindingTarget, value, location); + } else { + flattenContext.emitBindingOrAssignment( + bindingTarget, + value, + location, + /*original*/ + element + ); + } +} +function flattenObjectBindingOrAssignmentPattern(flattenContext, parent, pattern, value, location) { + const elements = getElementsOfBindingOrAssignmentPattern(pattern); + const numElements = elements.length; + if (numElements !== 1) { + const reuseIdentifierExpressions = !isDeclarationBindingElement(parent) || numElements !== 0; + value = ensureIdentifier(flattenContext, value, reuseIdentifierExpressions, location); + } + let bindingElements; + let computedTempVariables; + for (let i = 0; i < numElements; i++) { + const element = elements[i]; + if (!getRestIndicatorOfBindingOrAssignmentElement(element)) { + const propertyName = getPropertyNameOfBindingOrAssignmentElement(element); + if (flattenContext.level >= 1 /* ObjectRest */ && !(element.transformFlags & (32768 /* ContainsRestOrSpread */ | 65536 /* ContainsObjectRestOrSpread */)) && !(getTargetOfBindingOrAssignmentElement(element).transformFlags & (32768 /* ContainsRestOrSpread */ | 65536 /* ContainsObjectRestOrSpread */)) && !isComputedPropertyName(propertyName)) { + bindingElements = append(bindingElements, visitNode(element, flattenContext.visitor, isBindingOrAssignmentElement)); + } else { + if (bindingElements) { + flattenContext.emitBindingOrAssignment(flattenContext.createObjectBindingOrAssignmentPattern(bindingElements), value, location, pattern); + bindingElements = void 0; + } + const rhsValue = createDestructuringPropertyAccess(flattenContext, value, propertyName); + if (isComputedPropertyName(propertyName)) { + computedTempVariables = append(computedTempVariables, rhsValue.argumentExpression); + } + flattenBindingOrAssignmentElement( + flattenContext, + element, + rhsValue, + /*location*/ + element + ); + } + } else if (i === numElements - 1) { + if (bindingElements) { + flattenContext.emitBindingOrAssignment(flattenContext.createObjectBindingOrAssignmentPattern(bindingElements), value, location, pattern); + bindingElements = void 0; + } + const rhsValue = flattenContext.context.getEmitHelperFactory().createRestHelper(value, elements, computedTempVariables, pattern); + flattenBindingOrAssignmentElement(flattenContext, element, rhsValue, element); + } + } + if (bindingElements) { + flattenContext.emitBindingOrAssignment(flattenContext.createObjectBindingOrAssignmentPattern(bindingElements), value, location, pattern); + } +} +function flattenArrayBindingOrAssignmentPattern(flattenContext, parent, pattern, value, location) { + const elements = getElementsOfBindingOrAssignmentPattern(pattern); + const numElements = elements.length; + if (flattenContext.level < 1 /* ObjectRest */ && flattenContext.downlevelIteration) { + value = ensureIdentifier( + flattenContext, + setTextRange( + flattenContext.context.getEmitHelperFactory().createReadHelper( + value, + numElements > 0 && getRestIndicatorOfBindingOrAssignmentElement(elements[numElements - 1]) ? void 0 : numElements + ), + location + ), + /*reuseIdentifierExpressions*/ + false, + location + ); + } else if (numElements !== 1 && (flattenContext.level < 1 /* ObjectRest */ || numElements === 0) || every(elements, isOmittedExpression)) { + const reuseIdentifierExpressions = !isDeclarationBindingElement(parent) || numElements !== 0; + value = ensureIdentifier(flattenContext, value, reuseIdentifierExpressions, location); + } + let bindingElements; + let restContainingElements; + for (let i = 0; i < numElements; i++) { + const element = elements[i]; + if (flattenContext.level >= 1 /* ObjectRest */) { + if (element.transformFlags & 65536 /* ContainsObjectRestOrSpread */ || flattenContext.hasTransformedPriorElement && !isSimpleBindingOrAssignmentElement(element)) { + flattenContext.hasTransformedPriorElement = true; + const temp = flattenContext.context.factory.createTempVariable( + /*recordTempVariable*/ + void 0 + ); + if (flattenContext.hoistTempVariables) { + flattenContext.context.hoistVariableDeclaration(temp); + } + restContainingElements = append(restContainingElements, [temp, element]); + bindingElements = append(bindingElements, flattenContext.createArrayBindingOrAssignmentElement(temp)); + } else { + bindingElements = append(bindingElements, element); + } + } else if (isOmittedExpression(element)) { + continue; + } else if (!getRestIndicatorOfBindingOrAssignmentElement(element)) { + const rhsValue = flattenContext.context.factory.createElementAccessExpression(value, i); + flattenBindingOrAssignmentElement( + flattenContext, + element, + rhsValue, + /*location*/ + element + ); + } else if (i === numElements - 1) { + const rhsValue = flattenContext.context.factory.createArraySliceCall(value, i); + flattenBindingOrAssignmentElement( + flattenContext, + element, + rhsValue, + /*location*/ + element + ); + } + } + if (bindingElements) { + flattenContext.emitBindingOrAssignment(flattenContext.createArrayBindingOrAssignmentPattern(bindingElements), value, location, pattern); + } + if (restContainingElements) { + for (const [id, element] of restContainingElements) { + flattenBindingOrAssignmentElement(flattenContext, element, id, element); + } + } +} +function isSimpleBindingOrAssignmentElement(element) { + const target = getTargetOfBindingOrAssignmentElement(element); + if (!target || isOmittedExpression(target)) return true; + const propertyName = tryGetPropertyNameOfBindingOrAssignmentElement(element); + if (propertyName && !isPropertyNameLiteral(propertyName)) return false; + const initializer = getInitializerOfBindingOrAssignmentElement(element); + if (initializer && !isSimpleInlineableExpression(initializer)) return false; + if (isBindingOrAssignmentPattern(target)) return every(getElementsOfBindingOrAssignmentPattern(target), isSimpleBindingOrAssignmentElement); + return isIdentifier(target); +} +function createDefaultValueCheck(flattenContext, value, defaultValue, location) { + value = ensureIdentifier( + flattenContext, + value, + /*reuseIdentifierExpressions*/ + true, + location + ); + return flattenContext.context.factory.createConditionalExpression( + flattenContext.context.factory.createTypeCheck(value, "undefined"), + /*questionToken*/ + void 0, + defaultValue, + /*colonToken*/ + void 0, + value + ); +} +function createDestructuringPropertyAccess(flattenContext, value, propertyName) { + const { factory: factory2 } = flattenContext.context; + if (isComputedPropertyName(propertyName)) { + const argumentExpression = ensureIdentifier( + flattenContext, + Debug.checkDefined(visitNode(propertyName.expression, flattenContext.visitor, isExpression)), + /*reuseIdentifierExpressions*/ + false, + /*location*/ + propertyName + ); + return flattenContext.context.factory.createElementAccessExpression(value, argumentExpression); + } else if (isStringOrNumericLiteralLike(propertyName) || isBigIntLiteral(propertyName)) { + const argumentExpression = factory2.cloneNode(propertyName); + return flattenContext.context.factory.createElementAccessExpression(value, argumentExpression); + } else { + const name = flattenContext.context.factory.createIdentifier(idText(propertyName)); + return flattenContext.context.factory.createPropertyAccessExpression(value, name); + } +} +function ensureIdentifier(flattenContext, value, reuseIdentifierExpressions, location) { + if (isIdentifier(value) && reuseIdentifierExpressions) { + return value; + } else { + const temp = flattenContext.context.factory.createTempVariable( + /*recordTempVariable*/ + void 0 + ); + if (flattenContext.hoistTempVariables) { + flattenContext.context.hoistVariableDeclaration(temp); + flattenContext.emitExpression(setTextRange(flattenContext.context.factory.createAssignment(temp, value), location)); + } else { + flattenContext.emitBindingOrAssignment( + temp, + value, + location, + /*original*/ + void 0 + ); + } + return temp; + } +} +function makeArrayBindingPattern(factory2, elements) { + Debug.assertEachNode(elements, isArrayBindingElement); + return factory2.createArrayBindingPattern(elements); +} +function makeArrayAssignmentPattern(factory2, elements) { + Debug.assertEachNode(elements, isArrayBindingOrAssignmentElement); + return factory2.createArrayLiteralExpression(map(elements, factory2.converters.convertToArrayAssignmentElement)); +} +function makeObjectBindingPattern(factory2, elements) { + Debug.assertEachNode(elements, isBindingElement); + return factory2.createObjectBindingPattern(elements); +} +function makeObjectAssignmentPattern(factory2, elements) { + Debug.assertEachNode(elements, isObjectBindingOrAssignmentElement); + return factory2.createObjectLiteralExpression(map(elements, factory2.converters.convertToObjectAssignmentElement)); +} +function makeBindingElement(factory2, name) { + return factory2.createBindingElement( + /*dotDotDotToken*/ + void 0, + /*propertyName*/ + void 0, + name + ); +} +function makeAssignmentElement(name) { + return name; +} + +// src/compiler/transformers/classThis.ts +function createClassThisAssignmentBlock(factory2, classThis, thisExpression = factory2.createThis()) { + const expression = factory2.createAssignment(classThis, thisExpression); + const statement = factory2.createExpressionStatement(expression); + const body = factory2.createBlock( + [statement], + /*multiLine*/ + false + ); + const block = factory2.createClassStaticBlockDeclaration(body); + getOrCreateEmitNode(block).classThis = classThis; + return block; +} +function isClassThisAssignmentBlock(node) { + var _a; + if (!isClassStaticBlockDeclaration(node) || node.body.statements.length !== 1) { + return false; + } + const statement = node.body.statements[0]; + return isExpressionStatement(statement) && isAssignmentExpression( + statement.expression, + /*excludeCompoundAssignment*/ + true + ) && isIdentifier(statement.expression.left) && ((_a = node.emitNode) == null ? void 0 : _a.classThis) === statement.expression.left && statement.expression.right.kind === 110 /* ThisKeyword */; +} +function classHasClassThisAssignment(node) { + var _a; + return !!((_a = node.emitNode) == null ? void 0 : _a.classThis) && some(node.members, isClassThisAssignmentBlock); +} +function injectClassThisAssignmentIfMissing(factory2, node, classThis, thisExpression) { + if (classHasClassThisAssignment(node)) { + return node; + } + const staticBlock = createClassThisAssignmentBlock(factory2, classThis, thisExpression); + if (node.name) { + setSourceMapRange(staticBlock.body.statements[0], node.name); + } + const members = factory2.createNodeArray([staticBlock, ...node.members]); + setTextRange(members, node.members); + const updatedNode = isClassDeclaration(node) ? factory2.updateClassDeclaration( + node, + node.modifiers, + node.name, + node.typeParameters, + node.heritageClauses, + members + ) : factory2.updateClassExpression( + node, + node.modifiers, + node.name, + node.typeParameters, + node.heritageClauses, + members + ); + getOrCreateEmitNode(updatedNode).classThis = classThis; + return updatedNode; +} + +// src/compiler/transformers/namedEvaluation.ts +function getAssignedNameOfIdentifier(factory2, name, expression) { + const original = getOriginalNode(skipOuterExpressions(expression)); + if ((isClassDeclaration(original) || isFunctionDeclaration(original)) && !original.name && hasSyntacticModifier(original, 2048 /* Default */)) { + return factory2.createStringLiteral("default"); + } + return factory2.createStringLiteralFromNode(name); +} +function getAssignedNameOfPropertyName(context, name, assignedNameText) { + const { factory: factory2 } = context; + if (assignedNameText !== void 0) { + const assignedName2 = factory2.createStringLiteral(assignedNameText); + return { assignedName: assignedName2, name }; + } + if (isPropertyNameLiteral(name) || isPrivateIdentifier(name)) { + const assignedName2 = factory2.createStringLiteralFromNode(name); + return { assignedName: assignedName2, name }; + } + if (isPropertyNameLiteral(name.expression) && !isIdentifier(name.expression)) { + const assignedName2 = factory2.createStringLiteralFromNode(name.expression); + return { assignedName: assignedName2, name }; + } + const assignedName = factory2.getGeneratedNameForNode(name); + context.hoistVariableDeclaration(assignedName); + const key = context.getEmitHelperFactory().createPropKeyHelper(name.expression); + const assignment = factory2.createAssignment(assignedName, key); + const updatedName = factory2.updateComputedPropertyName(name, assignment); + return { assignedName, name: updatedName }; +} +function createClassNamedEvaluationHelperBlock(context, assignedName, thisExpression = context.factory.createThis()) { + const { factory: factory2 } = context; + const expression = context.getEmitHelperFactory().createSetFunctionNameHelper(thisExpression, assignedName); + const statement = factory2.createExpressionStatement(expression); + const body = factory2.createBlock( + [statement], + /*multiLine*/ + false + ); + const block = factory2.createClassStaticBlockDeclaration(body); + getOrCreateEmitNode(block).assignedName = assignedName; + return block; +} +function isClassNamedEvaluationHelperBlock(node) { + var _a; + if (!isClassStaticBlockDeclaration(node) || node.body.statements.length !== 1) { + return false; + } + const statement = node.body.statements[0]; + return isExpressionStatement(statement) && isCallToHelper(statement.expression, "___setFunctionName") && statement.expression.arguments.length >= 2 && statement.expression.arguments[1] === ((_a = node.emitNode) == null ? void 0 : _a.assignedName); +} +function classHasExplicitlyAssignedName(node) { + var _a; + return !!((_a = node.emitNode) == null ? void 0 : _a.assignedName) && some(node.members, isClassNamedEvaluationHelperBlock); +} +function classHasDeclaredOrExplicitlyAssignedName(node) { + return !!node.name || classHasExplicitlyAssignedName(node); +} +function injectClassNamedEvaluationHelperBlockIfMissing(context, node, assignedName, thisExpression) { + if (classHasExplicitlyAssignedName(node)) { + return node; + } + const { factory: factory2 } = context; + const namedEvaluationBlock = createClassNamedEvaluationHelperBlock(context, assignedName, thisExpression); + if (node.name) { + setSourceMapRange(namedEvaluationBlock.body.statements[0], node.name); + } + const insertionIndex = findIndex(node.members, isClassThisAssignmentBlock) + 1; + const leading = node.members.slice(0, insertionIndex); + const trailing = node.members.slice(insertionIndex); + const members = factory2.createNodeArray([...leading, namedEvaluationBlock, ...trailing]); + setTextRange(members, node.members); + node = isClassDeclaration(node) ? factory2.updateClassDeclaration( + node, + node.modifiers, + node.name, + node.typeParameters, + node.heritageClauses, + members + ) : factory2.updateClassExpression( + node, + node.modifiers, + node.name, + node.typeParameters, + node.heritageClauses, + members + ); + getOrCreateEmitNode(node).assignedName = assignedName; + return node; +} +function finishTransformNamedEvaluation(context, expression, assignedName, ignoreEmptyStringLiteral) { + if (ignoreEmptyStringLiteral && isStringLiteral(assignedName) && isEmptyStringLiteral(assignedName)) { + return expression; + } + const { factory: factory2 } = context; + const innerExpression = skipOuterExpressions(expression); + const updatedExpression = isClassExpression(innerExpression) ? cast(injectClassNamedEvaluationHelperBlockIfMissing(context, innerExpression, assignedName), isClassExpression) : context.getEmitHelperFactory().createSetFunctionNameHelper(innerExpression, assignedName); + return factory2.restoreOuterExpressions(expression, updatedExpression); +} +function transformNamedEvaluationOfPropertyAssignment(context, node, ignoreEmptyStringLiteral, assignedNameText) { + const { factory: factory2 } = context; + const { assignedName, name } = getAssignedNameOfPropertyName(context, node.name, assignedNameText); + const initializer = finishTransformNamedEvaluation(context, node.initializer, assignedName, ignoreEmptyStringLiteral); + return factory2.updatePropertyAssignment( + node, + name, + initializer + ); +} +function transformNamedEvaluationOfShorthandAssignmentProperty(context, node, ignoreEmptyStringLiteral, assignedNameText) { + const { factory: factory2 } = context; + const assignedName = assignedNameText !== void 0 ? factory2.createStringLiteral(assignedNameText) : getAssignedNameOfIdentifier(factory2, node.name, node.objectAssignmentInitializer); + const objectAssignmentInitializer = finishTransformNamedEvaluation(context, node.objectAssignmentInitializer, assignedName, ignoreEmptyStringLiteral); + return factory2.updateShorthandPropertyAssignment( + node, + node.name, + objectAssignmentInitializer + ); +} +function transformNamedEvaluationOfVariableDeclaration(context, node, ignoreEmptyStringLiteral, assignedNameText) { + const { factory: factory2 } = context; + const assignedName = assignedNameText !== void 0 ? factory2.createStringLiteral(assignedNameText) : getAssignedNameOfIdentifier(factory2, node.name, node.initializer); + const initializer = finishTransformNamedEvaluation(context, node.initializer, assignedName, ignoreEmptyStringLiteral); + return factory2.updateVariableDeclaration( + node, + node.name, + node.exclamationToken, + node.type, + initializer + ); +} +function transformNamedEvaluationOfParameterDeclaration(context, node, ignoreEmptyStringLiteral, assignedNameText) { + const { factory: factory2 } = context; + const assignedName = assignedNameText !== void 0 ? factory2.createStringLiteral(assignedNameText) : getAssignedNameOfIdentifier(factory2, node.name, node.initializer); + const initializer = finishTransformNamedEvaluation(context, node.initializer, assignedName, ignoreEmptyStringLiteral); + return factory2.updateParameterDeclaration( + node, + node.modifiers, + node.dotDotDotToken, + node.name, + node.questionToken, + node.type, + initializer + ); +} +function transformNamedEvaluationOfBindingElement(context, node, ignoreEmptyStringLiteral, assignedNameText) { + const { factory: factory2 } = context; + const assignedName = assignedNameText !== void 0 ? factory2.createStringLiteral(assignedNameText) : getAssignedNameOfIdentifier(factory2, node.name, node.initializer); + const initializer = finishTransformNamedEvaluation(context, node.initializer, assignedName, ignoreEmptyStringLiteral); + return factory2.updateBindingElement( + node, + node.dotDotDotToken, + node.propertyName, + node.name, + initializer + ); +} +function transformNamedEvaluationOfPropertyDeclaration(context, node, ignoreEmptyStringLiteral, assignedNameText) { + const { factory: factory2 } = context; + const { assignedName, name } = getAssignedNameOfPropertyName(context, node.name, assignedNameText); + const initializer = finishTransformNamedEvaluation(context, node.initializer, assignedName, ignoreEmptyStringLiteral); + return factory2.updatePropertyDeclaration( + node, + node.modifiers, + name, + node.questionToken ?? node.exclamationToken, + node.type, + initializer + ); +} +function transformNamedEvaluationOfAssignmentExpression(context, node, ignoreEmptyStringLiteral, assignedNameText) { + const { factory: factory2 } = context; + const assignedName = assignedNameText !== void 0 ? factory2.createStringLiteral(assignedNameText) : getAssignedNameOfIdentifier(factory2, node.left, node.right); + const right = finishTransformNamedEvaluation(context, node.right, assignedName, ignoreEmptyStringLiteral); + return factory2.updateBinaryExpression( + node, + node.left, + node.operatorToken, + right + ); +} +function transformNamedEvaluationOfExportAssignment(context, node, ignoreEmptyStringLiteral, assignedNameText) { + const { factory: factory2 } = context; + const assignedName = assignedNameText !== void 0 ? factory2.createStringLiteral(assignedNameText) : factory2.createStringLiteral(node.isExportEquals ? "" : "default"); + const expression = finishTransformNamedEvaluation(context, node.expression, assignedName, ignoreEmptyStringLiteral); + return factory2.updateExportAssignment( + node, + node.modifiers, + expression + ); +} +function transformNamedEvaluation(context, node, ignoreEmptyStringLiteral, assignedName) { + switch (node.kind) { + case 303 /* PropertyAssignment */: + return transformNamedEvaluationOfPropertyAssignment(context, node, ignoreEmptyStringLiteral, assignedName); + case 304 /* ShorthandPropertyAssignment */: + return transformNamedEvaluationOfShorthandAssignmentProperty(context, node, ignoreEmptyStringLiteral, assignedName); + case 260 /* VariableDeclaration */: + return transformNamedEvaluationOfVariableDeclaration(context, node, ignoreEmptyStringLiteral, assignedName); + case 169 /* Parameter */: + return transformNamedEvaluationOfParameterDeclaration(context, node, ignoreEmptyStringLiteral, assignedName); + case 208 /* BindingElement */: + return transformNamedEvaluationOfBindingElement(context, node, ignoreEmptyStringLiteral, assignedName); + case 172 /* PropertyDeclaration */: + return transformNamedEvaluationOfPropertyDeclaration(context, node, ignoreEmptyStringLiteral, assignedName); + case 226 /* BinaryExpression */: + return transformNamedEvaluationOfAssignmentExpression(context, node, ignoreEmptyStringLiteral, assignedName); + case 277 /* ExportAssignment */: + return transformNamedEvaluationOfExportAssignment(context, node, ignoreEmptyStringLiteral, assignedName); + } +} + +// src/compiler/transformers/taggedTemplate.ts +function processTaggedTemplateExpression(context, node, visitor, currentSourceFile, recordTaggedTemplateString, level) { + const tag = visitNode(node.tag, visitor, isExpression); + Debug.assert(tag); + const templateArguments = [void 0]; + const cookedStrings = []; + const rawStrings = []; + const template = node.template; + if (level === 0 /* LiftRestriction */ && !hasInvalidEscape(template)) { + return visitEachChild(node, visitor, context); + } + const { factory: factory2 } = context; + if (isNoSubstitutionTemplateLiteral(template)) { + cookedStrings.push(createTemplateCooked(factory2, template)); + rawStrings.push(getRawLiteral(factory2, template, currentSourceFile)); + } else { + cookedStrings.push(createTemplateCooked(factory2, template.head)); + rawStrings.push(getRawLiteral(factory2, template.head, currentSourceFile)); + for (const templateSpan of template.templateSpans) { + cookedStrings.push(createTemplateCooked(factory2, templateSpan.literal)); + rawStrings.push(getRawLiteral(factory2, templateSpan.literal, currentSourceFile)); + templateArguments.push(Debug.checkDefined(visitNode(templateSpan.expression, visitor, isExpression))); + } + } + const helperCall = context.getEmitHelperFactory().createTemplateObjectHelper( + factory2.createArrayLiteralExpression(cookedStrings), + factory2.createArrayLiteralExpression(rawStrings) + ); + if (isExternalModule(currentSourceFile)) { + const tempVar = factory2.createUniqueName("templateObject"); + recordTaggedTemplateString(tempVar); + templateArguments[0] = factory2.createLogicalOr( + tempVar, + factory2.createAssignment( + tempVar, + helperCall + ) + ); + } else { + templateArguments[0] = helperCall; + } + return factory2.createCallExpression( + tag, + /*typeArguments*/ + void 0, + templateArguments + ); +} +function createTemplateCooked(factory2, template) { + return template.templateFlags & 26656 /* IsInvalid */ ? factory2.createVoidZero() : factory2.createStringLiteral(template.text); +} +function getRawLiteral(factory2, node, currentSourceFile) { + let text = node.rawText; + if (text === void 0) { + Debug.assertIsDefined(currentSourceFile, "Template literal node is missing 'rawText' and does not have a source file. Possibly bad transform."); + text = getSourceTextOfNodeFromSourceFile(currentSourceFile, node); + const isLast = node.kind === 15 /* NoSubstitutionTemplateLiteral */ || node.kind === 18 /* TemplateTail */; + text = text.substring(1, text.length - (isLast ? 1 : 2)); + } + text = text.replace(/\r\n?/g, "\n"); + return setTextRange(factory2.createStringLiteral(text), node); +} + +// src/compiler/transformers/ts.ts +var USE_NEW_TYPE_METADATA_FORMAT = false; +function transformTypeScript(context) { + const { + factory: factory2, + getEmitHelperFactory: emitHelpers, + startLexicalEnvironment, + resumeLexicalEnvironment, + endLexicalEnvironment, + hoistVariableDeclaration + } = context; + const resolver = context.getEmitResolver(); + const compilerOptions = context.getCompilerOptions(); + const languageVersion = getEmitScriptTarget(compilerOptions); + const moduleKind = getEmitModuleKind(compilerOptions); + const legacyDecorators = !!compilerOptions.experimentalDecorators; + const typeSerializer = compilerOptions.emitDecoratorMetadata ? createRuntimeTypeSerializer(context) : void 0; + const previousOnEmitNode = context.onEmitNode; + const previousOnSubstituteNode = context.onSubstituteNode; + context.onEmitNode = onEmitNode; + context.onSubstituteNode = onSubstituteNode; + context.enableSubstitution(211 /* PropertyAccessExpression */); + context.enableSubstitution(212 /* ElementAccessExpression */); + let currentSourceFile; + let currentNamespace; + let currentNamespaceContainerName; + let currentLexicalScope; + let currentScopeFirstDeclarationsOfName; + let enabledSubstitutions = 0 /* None */; + let applicableSubstitutions; + return transformSourceFileOrBundle; + function transformSourceFileOrBundle(node) { + if (node.kind === 308 /* Bundle */) { + return transformBundle(node); + } + return transformSourceFile(node); + } + function transformBundle(node) { + return factory2.createBundle( + node.sourceFiles.map(transformSourceFile) + ); + } + function transformSourceFile(node) { + if (node.isDeclarationFile) { + return node; + } + currentSourceFile = node; + const visited = saveStateAndInvoke(node, visitSourceFile); + addEmitHelpers(visited, context.readEmitHelpers()); + currentSourceFile = void 0; + return visited; + } + function saveStateAndInvoke(node, f) { + const savedCurrentScope = currentLexicalScope; + const savedCurrentScopeFirstDeclarationsOfName = currentScopeFirstDeclarationsOfName; + onBeforeVisitNode(node); + const visited = f(node); + if (currentLexicalScope !== savedCurrentScope) { + currentScopeFirstDeclarationsOfName = savedCurrentScopeFirstDeclarationsOfName; + } + currentLexicalScope = savedCurrentScope; + return visited; + } + function onBeforeVisitNode(node) { + switch (node.kind) { + case 307 /* SourceFile */: + case 269 /* CaseBlock */: + case 268 /* ModuleBlock */: + case 241 /* Block */: + currentLexicalScope = node; + currentScopeFirstDeclarationsOfName = void 0; + break; + case 263 /* ClassDeclaration */: + case 262 /* FunctionDeclaration */: + if (hasSyntacticModifier(node, 128 /* Ambient */)) { + break; + } + if (node.name) { + recordEmittedDeclarationInScope(node); + } else { + Debug.assert(node.kind === 263 /* ClassDeclaration */ || hasSyntacticModifier(node, 2048 /* Default */)); + } + break; + } + } + function visitor(node) { + return saveStateAndInvoke(node, visitorWorker); + } + function visitorWorker(node) { + if (node.transformFlags & 1 /* ContainsTypeScript */) { + return visitTypeScript(node); + } + return node; + } + function sourceElementVisitor(node) { + return saveStateAndInvoke(node, sourceElementVisitorWorker); + } + function sourceElementVisitorWorker(node) { + switch (node.kind) { + case 272 /* ImportDeclaration */: + case 271 /* ImportEqualsDeclaration */: + case 277 /* ExportAssignment */: + case 278 /* ExportDeclaration */: + return visitElidableStatement(node); + default: + return visitorWorker(node); + } + } + function isElisionBlocked(node) { + const parsed = getParseTreeNode(node); + if (parsed === node || isExportAssignment(node)) { + return false; + } + if (!parsed || parsed.kind !== node.kind) { + return true; + } + switch (node.kind) { + case 272 /* ImportDeclaration */: + Debug.assertNode(parsed, isImportDeclaration); + if (node.importClause !== parsed.importClause) { + return true; + } + if (node.attributes !== parsed.attributes) { + return true; + } + break; + case 271 /* ImportEqualsDeclaration */: + Debug.assertNode(parsed, isImportEqualsDeclaration); + if (node.name !== parsed.name) { + return true; + } + if (node.isTypeOnly !== parsed.isTypeOnly) { + return true; + } + if (node.moduleReference !== parsed.moduleReference && (isEntityName(node.moduleReference) || isEntityName(parsed.moduleReference))) { + return true; + } + break; + case 278 /* ExportDeclaration */: + Debug.assertNode(parsed, isExportDeclaration); + if (node.exportClause !== parsed.exportClause) { + return true; + } + if (node.attributes !== parsed.attributes) { + return true; + } + break; + } + return false; + } + function visitElidableStatement(node) { + if (isElisionBlocked(node)) { + if (node.transformFlags & 1 /* ContainsTypeScript */) { + return visitEachChild(node, visitor, context); + } + return node; + } + switch (node.kind) { + case 272 /* ImportDeclaration */: + return visitImportDeclaration(node); + case 271 /* ImportEqualsDeclaration */: + return visitImportEqualsDeclaration(node); + case 277 /* ExportAssignment */: + return visitExportAssignment(node); + case 278 /* ExportDeclaration */: + return visitExportDeclaration(node); + default: + Debug.fail("Unhandled ellided statement"); + } + } + function namespaceElementVisitor(node) { + return saveStateAndInvoke(node, namespaceElementVisitorWorker); + } + function namespaceElementVisitorWorker(node) { + if (node.kind === 278 /* ExportDeclaration */ || node.kind === 272 /* ImportDeclaration */ || node.kind === 273 /* ImportClause */ || node.kind === 271 /* ImportEqualsDeclaration */ && node.moduleReference.kind === 283 /* ExternalModuleReference */) { + return void 0; + } else if (node.transformFlags & 1 /* ContainsTypeScript */ || hasSyntacticModifier(node, 32 /* Export */)) { + return visitTypeScript(node); + } + return node; + } + function getClassElementVisitor(parent) { + return (node) => saveStateAndInvoke(node, (n) => classElementVisitorWorker(n, parent)); + } + function classElementVisitorWorker(node, parent) { + switch (node.kind) { + case 176 /* Constructor */: + return visitConstructor(node); + case 172 /* PropertyDeclaration */: + return visitPropertyDeclaration(node, parent); + case 177 /* GetAccessor */: + return visitGetAccessor(node, parent); + case 178 /* SetAccessor */: + return visitSetAccessor(node, parent); + case 174 /* MethodDeclaration */: + return visitMethodDeclaration(node, parent); + case 175 /* ClassStaticBlockDeclaration */: + return visitEachChild(node, visitor, context); + case 240 /* SemicolonClassElement */: + return node; + case 181 /* IndexSignature */: + return; + default: + return Debug.failBadSyntaxKind(node); + } + } + function getObjectLiteralElementVisitor(parent) { + return (node) => saveStateAndInvoke(node, (n) => objectLiteralElementVisitorWorker(n, parent)); + } + function objectLiteralElementVisitorWorker(node, parent) { + switch (node.kind) { + case 303 /* PropertyAssignment */: + case 304 /* ShorthandPropertyAssignment */: + case 305 /* SpreadAssignment */: + return visitor(node); + case 177 /* GetAccessor */: + return visitGetAccessor(node, parent); + case 178 /* SetAccessor */: + return visitSetAccessor(node, parent); + case 174 /* MethodDeclaration */: + return visitMethodDeclaration(node, parent); + default: + return Debug.failBadSyntaxKind(node); + } + } + function decoratorElidingVisitor(node) { + return isDecorator(node) ? void 0 : visitor(node); + } + function modifierElidingVisitor(node) { + return isModifier(node) ? void 0 : visitor(node); + } + function modifierVisitor(node) { + if (isDecorator(node)) return void 0; + if (modifierToFlag(node.kind) & 28895 /* TypeScriptModifier */) { + return void 0; + } else if (currentNamespace && node.kind === 95 /* ExportKeyword */) { + return void 0; + } + return node; + } + function visitTypeScript(node) { + if (isStatement(node) && hasSyntacticModifier(node, 128 /* Ambient */)) { + return factory2.createNotEmittedStatement(node); + } + switch (node.kind) { + case 95 /* ExportKeyword */: + case 90 /* DefaultKeyword */: + return currentNamespace ? void 0 : node; + case 125 /* PublicKeyword */: + case 123 /* PrivateKeyword */: + case 124 /* ProtectedKeyword */: + case 128 /* AbstractKeyword */: + case 164 /* OverrideKeyword */: + case 87 /* ConstKeyword */: + case 138 /* DeclareKeyword */: + case 148 /* ReadonlyKeyword */: + case 103 /* InKeyword */: + case 147 /* OutKeyword */: + // TypeScript accessibility and readonly modifiers are elided + // falls through + case 188 /* ArrayType */: + case 189 /* TupleType */: + case 190 /* OptionalType */: + case 191 /* RestType */: + case 187 /* TypeLiteral */: + case 182 /* TypePredicate */: + case 168 /* TypeParameter */: + case 133 /* AnyKeyword */: + case 159 /* UnknownKeyword */: + case 136 /* BooleanKeyword */: + case 154 /* StringKeyword */: + case 150 /* NumberKeyword */: + case 146 /* NeverKeyword */: + case 116 /* VoidKeyword */: + case 155 /* SymbolKeyword */: + case 185 /* ConstructorType */: + case 184 /* FunctionType */: + case 186 /* TypeQuery */: + case 183 /* TypeReference */: + case 192 /* UnionType */: + case 193 /* IntersectionType */: + case 194 /* ConditionalType */: + case 196 /* ParenthesizedType */: + case 197 /* ThisType */: + case 198 /* TypeOperator */: + case 199 /* IndexedAccessType */: + case 200 /* MappedType */: + case 201 /* LiteralType */: + // TypeScript type nodes are elided. + // falls through + case 181 /* IndexSignature */: + return void 0; + case 265 /* TypeAliasDeclaration */: + return factory2.createNotEmittedStatement(node); + case 270 /* NamespaceExportDeclaration */: + return void 0; + case 264 /* InterfaceDeclaration */: + return factory2.createNotEmittedStatement(node); + case 263 /* ClassDeclaration */: + return visitClassDeclaration(node); + case 231 /* ClassExpression */: + return visitClassExpression(node); + case 298 /* HeritageClause */: + return visitHeritageClause(node); + case 233 /* ExpressionWithTypeArguments */: + return visitExpressionWithTypeArguments(node); + case 210 /* ObjectLiteralExpression */: + return visitObjectLiteralExpression(node); + case 176 /* Constructor */: + case 172 /* PropertyDeclaration */: + case 174 /* MethodDeclaration */: + case 177 /* GetAccessor */: + case 178 /* SetAccessor */: + case 175 /* ClassStaticBlockDeclaration */: + return Debug.fail("Class and object literal elements must be visited with their respective visitors"); + case 262 /* FunctionDeclaration */: + return visitFunctionDeclaration(node); + case 218 /* FunctionExpression */: + return visitFunctionExpression(node); + case 219 /* ArrowFunction */: + return visitArrowFunction(node); + case 169 /* Parameter */: + return visitParameter(node); + case 217 /* ParenthesizedExpression */: + return visitParenthesizedExpression(node); + case 216 /* TypeAssertionExpression */: + case 234 /* AsExpression */: + return visitAssertionExpression(node); + case 238 /* SatisfiesExpression */: + return visitSatisfiesExpression(node); + case 213 /* CallExpression */: + return visitCallExpression(node); + case 214 /* NewExpression */: + return visitNewExpression(node); + case 215 /* TaggedTemplateExpression */: + return visitTaggedTemplateExpression(node); + case 235 /* NonNullExpression */: + return visitNonNullExpression(node); + case 266 /* EnumDeclaration */: + return visitEnumDeclaration(node); + case 243 /* VariableStatement */: + return visitVariableStatement(node); + case 260 /* VariableDeclaration */: + return visitVariableDeclaration(node); + case 267 /* ModuleDeclaration */: + return visitModuleDeclaration(node); + case 271 /* ImportEqualsDeclaration */: + return visitImportEqualsDeclaration(node); + case 285 /* JsxSelfClosingElement */: + return visitJsxSelfClosingElement(node); + case 286 /* JsxOpeningElement */: + return visitJsxJsxOpeningElement(node); + default: + return visitEachChild(node, visitor, context); + } + } + function visitSourceFile(node) { + const alwaysStrict = getStrictOptionValue(compilerOptions, "alwaysStrict") && !(isExternalModule(node) && moduleKind >= 5 /* ES2015 */) && !isJsonSourceFile(node); + return factory2.updateSourceFile( + node, + visitLexicalEnvironment( + node.statements, + sourceElementVisitor, + context, + /*start*/ + 0, + alwaysStrict + ) + ); + } + function visitObjectLiteralExpression(node) { + return factory2.updateObjectLiteralExpression( + node, + visitNodes2(node.properties, getObjectLiteralElementVisitor(node), isObjectLiteralElementLike) + ); + } + function getClassFacts(node) { + let facts = 0 /* None */; + if (some(getProperties( + node, + /*requireInitializer*/ + true, + /*isStatic*/ + true + ))) facts |= 1 /* HasStaticInitializedProperties */; + const extendsClauseElement = getEffectiveBaseTypeNode(node); + if (extendsClauseElement && skipOuterExpressions(extendsClauseElement.expression).kind !== 106 /* NullKeyword */) facts |= 64 /* IsDerivedClass */; + if (classOrConstructorParameterIsDecorated(legacyDecorators, node)) facts |= 2 /* HasClassOrConstructorParameterDecorators */; + if (childIsDecorated(legacyDecorators, node)) facts |= 4 /* HasMemberDecorators */; + if (isExportOfNamespace(node)) facts |= 8 /* IsExportOfNamespace */; + else if (isDefaultExternalModuleExport(node)) facts |= 32 /* IsDefaultExternalExport */; + else if (isNamedExternalModuleExport(node)) facts |= 16 /* IsNamedExternalExport */; + return facts; + } + function hasTypeScriptClassSyntax(node) { + return !!(node.transformFlags & 8192 /* ContainsTypeScriptClassSyntax */); + } + function isClassLikeDeclarationWithTypeScriptSyntax(node) { + return hasDecorators(node) || some(node.typeParameters) || some(node.heritageClauses, hasTypeScriptClassSyntax) || some(node.members, hasTypeScriptClassSyntax); + } + function visitClassDeclaration(node) { + const facts = getClassFacts(node); + const promoteToIIFE = languageVersion <= 1 /* ES5 */ && !!(facts & 7 /* MayNeedImmediatelyInvokedFunctionExpression */); + if (!isClassLikeDeclarationWithTypeScriptSyntax(node) && !classOrConstructorParameterIsDecorated(legacyDecorators, node) && !isExportOfNamespace(node)) { + return factory2.updateClassDeclaration( + node, + visitNodes2(node.modifiers, modifierVisitor, isModifier), + node.name, + /*typeParameters*/ + void 0, + visitNodes2(node.heritageClauses, visitor, isHeritageClause), + visitNodes2(node.members, getClassElementVisitor(node), isClassElement) + ); + } + if (promoteToIIFE) { + context.startLexicalEnvironment(); + } + const moveModifiers = promoteToIIFE || facts & 8 /* IsExportOfNamespace */; + let modifiers = moveModifiers ? visitNodes2(node.modifiers, modifierElidingVisitor, isModifierLike) : visitNodes2(node.modifiers, visitor, isModifierLike); + if (facts & 2 /* HasClassOrConstructorParameterDecorators */) { + modifiers = injectClassTypeMetadata(modifiers, node); + } + const needsName = moveModifiers && !node.name || facts & 4 /* HasMemberDecorators */ || facts & 1 /* HasStaticInitializedProperties */; + const name = needsName ? node.name ?? factory2.getGeneratedNameForNode(node) : node.name; + const classDeclaration = factory2.updateClassDeclaration( + node, + modifiers, + name, + /*typeParameters*/ + void 0, + visitNodes2(node.heritageClauses, visitor, isHeritageClause), + transformClassMembers(node) + ); + let emitFlags = getEmitFlags(node); + if (facts & 1 /* HasStaticInitializedProperties */) { + emitFlags |= 64 /* NoTrailingSourceMap */; + } + setEmitFlags(classDeclaration, emitFlags); + let statement; + if (promoteToIIFE) { + const statements = [classDeclaration]; + const closingBraceLocation = createTokenRange(skipTrivia(currentSourceFile.text, node.members.end), 20 /* CloseBraceToken */); + const localName = factory2.getInternalName(node); + const outer = factory2.createPartiallyEmittedExpression(localName); + setTextRangeEnd(outer, closingBraceLocation.end); + setEmitFlags(outer, 3072 /* NoComments */); + const returnStatement = factory2.createReturnStatement(outer); + setTextRangePos(returnStatement, closingBraceLocation.pos); + setEmitFlags(returnStatement, 3072 /* NoComments */ | 768 /* NoTokenSourceMaps */); + statements.push(returnStatement); + insertStatementsAfterStandardPrologue(statements, context.endLexicalEnvironment()); + const iife = factory2.createImmediatelyInvokedArrowFunction(statements); + setInternalEmitFlags(iife, 1 /* TypeScriptClassWrapper */); + const varDecl = factory2.createVariableDeclaration( + factory2.getLocalName( + node, + /*allowComments*/ + false, + /*allowSourceMaps*/ + false + ), + /*exclamationToken*/ + void 0, + /*type*/ + void 0, + iife + ); + setOriginalNode(varDecl, node); + const varStatement = factory2.createVariableStatement( + /*modifiers*/ + void 0, + factory2.createVariableDeclarationList([varDecl], 1 /* Let */) + ); + setOriginalNode(varStatement, node); + setCommentRange(varStatement, node); + setSourceMapRange(varStatement, moveRangePastDecorators(node)); + startOnNewLine(varStatement); + statement = varStatement; + } else { + statement = classDeclaration; + } + if (moveModifiers) { + if (facts & 8 /* IsExportOfNamespace */) { + return [ + statement, + createExportMemberAssignmentStatement(node) + ]; + } + if (facts & 32 /* IsDefaultExternalExport */) { + return [ + statement, + factory2.createExportDefault(factory2.getLocalName( + node, + /*allowComments*/ + false, + /*allowSourceMaps*/ + true + )) + ]; + } + if (facts & 16 /* IsNamedExternalExport */) { + return [ + statement, + factory2.createExternalModuleExport(factory2.getDeclarationName( + node, + /*allowComments*/ + false, + /*allowSourceMaps*/ + true + )) + ]; + } + } + return statement; + } + function visitClassExpression(node) { + let modifiers = visitNodes2(node.modifiers, modifierElidingVisitor, isModifierLike); + if (classOrConstructorParameterIsDecorated(legacyDecorators, node)) { + modifiers = injectClassTypeMetadata(modifiers, node); + } + return factory2.updateClassExpression( + node, + modifiers, + node.name, + /*typeParameters*/ + void 0, + visitNodes2(node.heritageClauses, visitor, isHeritageClause), + transformClassMembers(node) + ); + } + function transformClassMembers(node) { + const members = visitNodes2(node.members, getClassElementVisitor(node), isClassElement); + let newMembers; + const constructor = getFirstConstructorWithBody(node); + const parametersWithPropertyAssignments = constructor && filter(constructor.parameters, (p) => isParameterPropertyDeclaration(p, constructor)); + if (parametersWithPropertyAssignments) { + for (const parameter of parametersWithPropertyAssignments) { + const parameterProperty = factory2.createPropertyDeclaration( + /*modifiers*/ + void 0, + parameter.name, + /*questionOrExclamationToken*/ + void 0, + /*type*/ + void 0, + /*initializer*/ + void 0 + ); + setOriginalNode(parameterProperty, parameter); + newMembers = append(newMembers, parameterProperty); + } + } + if (newMembers) { + newMembers = addRange(newMembers, members); + return setTextRange( + factory2.createNodeArray(newMembers), + /*location*/ + node.members + ); + } + return members; + } + function injectClassTypeMetadata(modifiers, node) { + const metadata = getTypeMetadata(node, node); + if (some(metadata)) { + const modifiersArray = []; + addRange(modifiersArray, takeWhile(modifiers, isExportOrDefaultModifier)); + addRange(modifiersArray, filter(modifiers, isDecorator)); + addRange(modifiersArray, metadata); + addRange(modifiersArray, filter(skipWhile(modifiers, isExportOrDefaultModifier), isModifier)); + modifiers = setTextRange(factory2.createNodeArray(modifiersArray), modifiers); + } + return modifiers; + } + function injectClassElementTypeMetadata(modifiers, node, container) { + if (isClassLike(container) && classElementOrClassElementParameterIsDecorated(legacyDecorators, node, container)) { + const metadata = getTypeMetadata(node, container); + if (some(metadata)) { + const modifiersArray = []; + addRange(modifiersArray, filter(modifiers, isDecorator)); + addRange(modifiersArray, metadata); + addRange(modifiersArray, filter(modifiers, isModifier)); + modifiers = setTextRange(factory2.createNodeArray(modifiersArray), modifiers); + } + } + return modifiers; + } + function getTypeMetadata(node, container) { + if (!legacyDecorators) return void 0; + return USE_NEW_TYPE_METADATA_FORMAT ? getNewTypeMetadata(node, container) : getOldTypeMetadata(node, container); + } + function getOldTypeMetadata(node, container) { + if (typeSerializer) { + let decorators; + if (shouldAddTypeMetadata(node)) { + const typeMetadata = emitHelpers().createMetadataHelper("design:type", typeSerializer.serializeTypeOfNode({ currentLexicalScope, currentNameScope: container }, node, container)); + decorators = append(decorators, factory2.createDecorator(typeMetadata)); + } + if (shouldAddParamTypesMetadata(node)) { + const paramTypesMetadata = emitHelpers().createMetadataHelper("design:paramtypes", typeSerializer.serializeParameterTypesOfNode({ currentLexicalScope, currentNameScope: container }, node, container)); + decorators = append(decorators, factory2.createDecorator(paramTypesMetadata)); + } + if (shouldAddReturnTypeMetadata(node)) { + const returnTypeMetadata = emitHelpers().createMetadataHelper("design:returntype", typeSerializer.serializeReturnTypeOfNode({ currentLexicalScope, currentNameScope: container }, node)); + decorators = append(decorators, factory2.createDecorator(returnTypeMetadata)); + } + return decorators; + } + } + function getNewTypeMetadata(node, container) { + if (typeSerializer) { + let properties; + if (shouldAddTypeMetadata(node)) { + const typeProperty = factory2.createPropertyAssignment("type", factory2.createArrowFunction( + /*modifiers*/ + void 0, + /*typeParameters*/ + void 0, + [], + /*type*/ + void 0, + factory2.createToken(39 /* EqualsGreaterThanToken */), + typeSerializer.serializeTypeOfNode({ currentLexicalScope, currentNameScope: container }, node, container) + )); + properties = append(properties, typeProperty); + } + if (shouldAddParamTypesMetadata(node)) { + const paramTypeProperty = factory2.createPropertyAssignment("paramTypes", factory2.createArrowFunction( + /*modifiers*/ + void 0, + /*typeParameters*/ + void 0, + [], + /*type*/ + void 0, + factory2.createToken(39 /* EqualsGreaterThanToken */), + typeSerializer.serializeParameterTypesOfNode({ currentLexicalScope, currentNameScope: container }, node, container) + )); + properties = append(properties, paramTypeProperty); + } + if (shouldAddReturnTypeMetadata(node)) { + const returnTypeProperty = factory2.createPropertyAssignment("returnType", factory2.createArrowFunction( + /*modifiers*/ + void 0, + /*typeParameters*/ + void 0, + [], + /*type*/ + void 0, + factory2.createToken(39 /* EqualsGreaterThanToken */), + typeSerializer.serializeReturnTypeOfNode({ currentLexicalScope, currentNameScope: container }, node) + )); + properties = append(properties, returnTypeProperty); + } + if (properties) { + const typeInfoMetadata = emitHelpers().createMetadataHelper("design:typeinfo", factory2.createObjectLiteralExpression( + properties, + /*multiLine*/ + true + )); + return [factory2.createDecorator(typeInfoMetadata)]; + } + } + } + function shouldAddTypeMetadata(node) { + const kind = node.kind; + return kind === 174 /* MethodDeclaration */ || kind === 177 /* GetAccessor */ || kind === 178 /* SetAccessor */ || kind === 172 /* PropertyDeclaration */; + } + function shouldAddReturnTypeMetadata(node) { + return node.kind === 174 /* MethodDeclaration */; + } + function shouldAddParamTypesMetadata(node) { + switch (node.kind) { + case 263 /* ClassDeclaration */: + case 231 /* ClassExpression */: + return getFirstConstructorWithBody(node) !== void 0; + case 174 /* MethodDeclaration */: + case 177 /* GetAccessor */: + case 178 /* SetAccessor */: + return true; + } + return false; + } + function getExpressionForPropertyName(member, generateNameForComputedPropertyName) { + const name = member.name; + if (isPrivateIdentifier(name)) { + return factory2.createIdentifier(""); + } else if (isComputedPropertyName(name)) { + return generateNameForComputedPropertyName && !isSimpleInlineableExpression(name.expression) ? factory2.getGeneratedNameForNode(name) : name.expression; + } else if (isIdentifier(name)) { + return factory2.createStringLiteral(idText(name)); + } else { + return factory2.cloneNode(name); + } + } + function visitPropertyNameOfClassElement(member) { + const name = member.name; + if (legacyDecorators && isComputedPropertyName(name) && hasDecorators(member)) { + const expression = visitNode(name.expression, visitor, isExpression); + Debug.assert(expression); + const innerExpression = skipPartiallyEmittedExpressions(expression); + if (!isSimpleInlineableExpression(innerExpression)) { + const generatedName = factory2.getGeneratedNameForNode(name); + hoistVariableDeclaration(generatedName); + return factory2.updateComputedPropertyName(name, factory2.createAssignment(generatedName, expression)); + } + } + return Debug.checkDefined(visitNode(name, visitor, isPropertyName)); + } + function visitHeritageClause(node) { + if (node.token === 119 /* ImplementsKeyword */) { + return void 0; + } + return visitEachChild(node, visitor, context); + } + function visitExpressionWithTypeArguments(node) { + return factory2.updateExpressionWithTypeArguments( + node, + Debug.checkDefined(visitNode(node.expression, visitor, isLeftHandSideExpression)), + /*typeArguments*/ + void 0 + ); + } + function shouldEmitFunctionLikeDeclaration(node) { + return !nodeIsMissing(node.body); + } + function visitPropertyDeclaration(node, parent) { + const isAmbient = node.flags & 33554432 /* Ambient */ || hasSyntacticModifier(node, 64 /* Abstract */); + if (isAmbient && !(legacyDecorators && hasDecorators(node))) { + return void 0; + } + let modifiers = isClassLike(parent) ? !isAmbient ? visitNodes2(node.modifiers, visitor, isModifierLike) : visitNodes2(node.modifiers, modifierElidingVisitor, isModifierLike) : visitNodes2(node.modifiers, decoratorElidingVisitor, isModifierLike); + modifiers = injectClassElementTypeMetadata(modifiers, node, parent); + if (isAmbient) { + return factory2.updatePropertyDeclaration( + node, + concatenate(modifiers, factory2.createModifiersFromModifierFlags(128 /* Ambient */)), + Debug.checkDefined(visitNode(node.name, visitor, isPropertyName)), + /*questionOrExclamationToken*/ + void 0, + /*type*/ + void 0, + /*initializer*/ + void 0 + ); + } + return factory2.updatePropertyDeclaration( + node, + modifiers, + visitPropertyNameOfClassElement(node), + /*questionOrExclamationToken*/ + void 0, + /*type*/ + void 0, + visitNode(node.initializer, visitor, isExpression) + ); + } + function visitConstructor(node) { + if (!shouldEmitFunctionLikeDeclaration(node)) { + return void 0; + } + return factory2.updateConstructorDeclaration( + node, + /*modifiers*/ + void 0, + visitParameterList(node.parameters, visitor, context), + transformConstructorBody(node.body, node) + ); + } + function transformConstructorBodyWorker(statementsOut, statementsIn, statementOffset, superPath, superPathDepth, initializerStatements) { + const superStatementIndex = superPath[superPathDepth]; + const superStatement = statementsIn[superStatementIndex]; + addRange(statementsOut, visitNodes2(statementsIn, visitor, isStatement, statementOffset, superStatementIndex - statementOffset)); + if (isTryStatement(superStatement)) { + const tryBlockStatements = []; + transformConstructorBodyWorker( + tryBlockStatements, + superStatement.tryBlock.statements, + /*statementOffset*/ + 0, + superPath, + superPathDepth + 1, + initializerStatements + ); + const tryBlockStatementsArray = factory2.createNodeArray(tryBlockStatements); + setTextRange(tryBlockStatementsArray, superStatement.tryBlock.statements); + statementsOut.push(factory2.updateTryStatement( + superStatement, + factory2.updateBlock(superStatement.tryBlock, tryBlockStatements), + visitNode(superStatement.catchClause, visitor, isCatchClause), + visitNode(superStatement.finallyBlock, visitor, isBlock) + )); + } else { + addRange(statementsOut, visitNodes2(statementsIn, visitor, isStatement, superStatementIndex, 1)); + addRange(statementsOut, initializerStatements); + } + addRange(statementsOut, visitNodes2(statementsIn, visitor, isStatement, superStatementIndex + 1)); + } + function transformConstructorBody(body, constructor) { + const parametersWithPropertyAssignments = constructor && filter(constructor.parameters, (p) => isParameterPropertyDeclaration(p, constructor)); + if (!some(parametersWithPropertyAssignments)) { + return visitFunctionBody(body, visitor, context); + } + let statements = []; + resumeLexicalEnvironment(); + const prologueStatementCount = factory2.copyPrologue( + body.statements, + statements, + /*ensureUseStrict*/ + false, + visitor + ); + const superPath = findSuperStatementIndexPath(body.statements, prologueStatementCount); + const parameterPropertyAssignments = mapDefined(parametersWithPropertyAssignments, transformParameterWithPropertyAssignment); + if (superPath.length) { + transformConstructorBodyWorker( + statements, + body.statements, + prologueStatementCount, + superPath, + /*superPathDepth*/ + 0, + parameterPropertyAssignments + ); + } else { + addRange(statements, parameterPropertyAssignments); + addRange(statements, visitNodes2(body.statements, visitor, isStatement, prologueStatementCount)); + } + statements = factory2.mergeLexicalEnvironment(statements, endLexicalEnvironment()); + const block = factory2.createBlock( + setTextRange(factory2.createNodeArray(statements), body.statements), + /*multiLine*/ + true + ); + setTextRange( + block, + /*location*/ + body + ); + setOriginalNode(block, body); + return block; + } + function transformParameterWithPropertyAssignment(node) { + const name = node.name; + if (!isIdentifier(name)) { + return void 0; + } + const propertyName = setParent(setTextRange(factory2.cloneNode(name), name), name.parent); + setEmitFlags(propertyName, 3072 /* NoComments */ | 96 /* NoSourceMap */); + const localName = setParent(setTextRange(factory2.cloneNode(name), name), name.parent); + setEmitFlags(localName, 3072 /* NoComments */); + return startOnNewLine( + removeAllComments( + setTextRange( + setOriginalNode( + factory2.createExpressionStatement( + factory2.createAssignment( + setTextRange( + factory2.createPropertyAccessExpression( + factory2.createThis(), + propertyName + ), + node.name + ), + localName + ) + ), + node + ), + moveRangePos(node, -1) + ) + ) + ); + } + function visitMethodDeclaration(node, parent) { + if (!(node.transformFlags & 1 /* ContainsTypeScript */)) { + return node; + } + if (!shouldEmitFunctionLikeDeclaration(node)) { + return void 0; + } + let modifiers = isClassLike(parent) ? visitNodes2(node.modifiers, visitor, isModifierLike) : visitNodes2(node.modifiers, decoratorElidingVisitor, isModifierLike); + modifiers = injectClassElementTypeMetadata(modifiers, node, parent); + return factory2.updateMethodDeclaration( + node, + modifiers, + node.asteriskToken, + visitPropertyNameOfClassElement(node), + /*questionToken*/ + void 0, + /*typeParameters*/ + void 0, + visitParameterList(node.parameters, visitor, context), + /*type*/ + void 0, + visitFunctionBody(node.body, visitor, context) + ); + } + function shouldEmitAccessorDeclaration(node) { + return !(nodeIsMissing(node.body) && hasSyntacticModifier(node, 64 /* Abstract */)); + } + function visitGetAccessor(node, parent) { + if (!(node.transformFlags & 1 /* ContainsTypeScript */)) { + return node; + } + if (!shouldEmitAccessorDeclaration(node)) { + return void 0; + } + let modifiers = isClassLike(parent) ? visitNodes2(node.modifiers, visitor, isModifierLike) : visitNodes2(node.modifiers, decoratorElidingVisitor, isModifierLike); + modifiers = injectClassElementTypeMetadata(modifiers, node, parent); + return factory2.updateGetAccessorDeclaration( + node, + modifiers, + visitPropertyNameOfClassElement(node), + visitParameterList(node.parameters, visitor, context), + /*type*/ + void 0, + visitFunctionBody(node.body, visitor, context) || factory2.createBlock([]) + ); + } + function visitSetAccessor(node, parent) { + if (!(node.transformFlags & 1 /* ContainsTypeScript */)) { + return node; + } + if (!shouldEmitAccessorDeclaration(node)) { + return void 0; + } + let modifiers = isClassLike(parent) ? visitNodes2(node.modifiers, visitor, isModifierLike) : visitNodes2(node.modifiers, decoratorElidingVisitor, isModifierLike); + modifiers = injectClassElementTypeMetadata(modifiers, node, parent); + return factory2.updateSetAccessorDeclaration( + node, + modifiers, + visitPropertyNameOfClassElement(node), + visitParameterList(node.parameters, visitor, context), + visitFunctionBody(node.body, visitor, context) || factory2.createBlock([]) + ); + } + function visitFunctionDeclaration(node) { + if (!shouldEmitFunctionLikeDeclaration(node)) { + return factory2.createNotEmittedStatement(node); + } + const updated = factory2.updateFunctionDeclaration( + node, + visitNodes2(node.modifiers, modifierVisitor, isModifier), + node.asteriskToken, + node.name, + /*typeParameters*/ + void 0, + visitParameterList(node.parameters, visitor, context), + /*type*/ + void 0, + visitFunctionBody(node.body, visitor, context) || factory2.createBlock([]) + ); + if (isExportOfNamespace(node)) { + const statements = [updated]; + addExportMemberAssignment(statements, node); + return statements; + } + return updated; + } + function visitFunctionExpression(node) { + if (!shouldEmitFunctionLikeDeclaration(node)) { + return factory2.createOmittedExpression(); + } + const updated = factory2.updateFunctionExpression( + node, + visitNodes2(node.modifiers, modifierVisitor, isModifier), + node.asteriskToken, + node.name, + /*typeParameters*/ + void 0, + visitParameterList(node.parameters, visitor, context), + /*type*/ + void 0, + visitFunctionBody(node.body, visitor, context) || factory2.createBlock([]) + ); + return updated; + } + function visitArrowFunction(node) { + const updated = factory2.updateArrowFunction( + node, + visitNodes2(node.modifiers, modifierVisitor, isModifier), + /*typeParameters*/ + void 0, + visitParameterList(node.parameters, visitor, context), + /*type*/ + void 0, + node.equalsGreaterThanToken, + visitFunctionBody(node.body, visitor, context) + ); + return updated; + } + function visitParameter(node) { + if (parameterIsThisKeyword(node)) { + return void 0; + } + const updated = factory2.updateParameterDeclaration( + node, + visitNodes2(node.modifiers, (node2) => isDecorator(node2) ? visitor(node2) : void 0, isModifierLike), + node.dotDotDotToken, + Debug.checkDefined(visitNode(node.name, visitor, isBindingName)), + /*questionToken*/ + void 0, + /*type*/ + void 0, + visitNode(node.initializer, visitor, isExpression) + ); + if (updated !== node) { + setCommentRange(updated, node); + setTextRange(updated, moveRangePastModifiers(node)); + setSourceMapRange(updated, moveRangePastModifiers(node)); + setEmitFlags(updated.name, 64 /* NoTrailingSourceMap */); + } + return updated; + } + function visitVariableStatement(node) { + if (isExportOfNamespace(node)) { + const variables = getInitializedVariables(node.declarationList); + if (variables.length === 0) { + return void 0; + } + return setTextRange( + factory2.createExpressionStatement( + factory2.inlineExpressions( + map(variables, transformInitializedVariable) + ) + ), + node + ); + } else { + return visitEachChild(node, visitor, context); + } + } + function transformInitializedVariable(node) { + const name = node.name; + if (isBindingPattern(name)) { + return flattenDestructuringAssignment( + node, + visitor, + context, + 0 /* All */, + /*needsValue*/ + false, + createNamespaceExportExpression + ); + } else { + return setTextRange( + factory2.createAssignment( + getNamespaceMemberNameWithSourceMapsAndWithoutComments(name), + Debug.checkDefined(visitNode(node.initializer, visitor, isExpression)) + ), + /*location*/ + node + ); + } + } + function visitVariableDeclaration(node) { + const updated = factory2.updateVariableDeclaration( + node, + Debug.checkDefined(visitNode(node.name, visitor, isBindingName)), + /*exclamationToken*/ + void 0, + /*type*/ + void 0, + visitNode(node.initializer, visitor, isExpression) + ); + if (node.type) { + setTypeNode(updated.name, node.type); + } + return updated; + } + function visitParenthesizedExpression(node) { + const innerExpression = skipOuterExpressions(node.expression, ~(6 /* Assertions */ | 16 /* ExpressionsWithTypeArguments */)); + if (isAssertionExpression(innerExpression) || isSatisfiesExpression(innerExpression)) { + const expression = visitNode(node.expression, visitor, isExpression); + Debug.assert(expression); + return factory2.createPartiallyEmittedExpression(expression, node); + } + return visitEachChild(node, visitor, context); + } + function visitAssertionExpression(node) { + const expression = visitNode(node.expression, visitor, isExpression); + Debug.assert(expression); + return factory2.createPartiallyEmittedExpression(expression, node); + } + function visitNonNullExpression(node) { + const expression = visitNode(node.expression, visitor, isLeftHandSideExpression); + Debug.assert(expression); + return factory2.createPartiallyEmittedExpression(expression, node); + } + function visitSatisfiesExpression(node) { + const expression = visitNode(node.expression, visitor, isExpression); + Debug.assert(expression); + return factory2.createPartiallyEmittedExpression(expression, node); + } + function visitCallExpression(node) { + return factory2.updateCallExpression( + node, + Debug.checkDefined(visitNode(node.expression, visitor, isExpression)), + /*typeArguments*/ + void 0, + visitNodes2(node.arguments, visitor, isExpression) + ); + } + function visitNewExpression(node) { + return factory2.updateNewExpression( + node, + Debug.checkDefined(visitNode(node.expression, visitor, isExpression)), + /*typeArguments*/ + void 0, + visitNodes2(node.arguments, visitor, isExpression) + ); + } + function visitTaggedTemplateExpression(node) { + return factory2.updateTaggedTemplateExpression( + node, + Debug.checkDefined(visitNode(node.tag, visitor, isExpression)), + /*typeArguments*/ + void 0, + Debug.checkDefined(visitNode(node.template, visitor, isTemplateLiteral)) + ); + } + function visitJsxSelfClosingElement(node) { + return factory2.updateJsxSelfClosingElement( + node, + Debug.checkDefined(visitNode(node.tagName, visitor, isJsxTagNameExpression)), + /*typeArguments*/ + void 0, + Debug.checkDefined(visitNode(node.attributes, visitor, isJsxAttributes)) + ); + } + function visitJsxJsxOpeningElement(node) { + return factory2.updateJsxOpeningElement( + node, + Debug.checkDefined(visitNode(node.tagName, visitor, isJsxTagNameExpression)), + /*typeArguments*/ + void 0, + Debug.checkDefined(visitNode(node.attributes, visitor, isJsxAttributes)) + ); + } + function shouldEmitEnumDeclaration(node) { + return !isEnumConst(node) || shouldPreserveConstEnums(compilerOptions); + } + function visitEnumDeclaration(node) { + if (!shouldEmitEnumDeclaration(node)) { + return factory2.createNotEmittedStatement(node); + } + const statements = []; + let emitFlags = 4 /* AdviseOnEmitNode */; + const varAdded = addVarForEnumOrModuleDeclaration(statements, node); + if (varAdded) { + if (moduleKind !== 4 /* System */ || currentLexicalScope !== currentSourceFile) { + emitFlags |= 1024 /* NoLeadingComments */; + } + } + const parameterName = getNamespaceParameterName(node); + const containerName = getNamespaceContainerName(node); + const exportName = isExportOfNamespace(node) ? factory2.getExternalModuleOrNamespaceExportName( + currentNamespaceContainerName, + node, + /*allowComments*/ + false, + /*allowSourceMaps*/ + true + ) : factory2.getDeclarationName( + node, + /*allowComments*/ + false, + /*allowSourceMaps*/ + true + ); + let moduleArg = factory2.createLogicalOr( + exportName, + factory2.createAssignment( + exportName, + factory2.createObjectLiteralExpression() + ) + ); + if (isExportOfNamespace(node)) { + const localName = factory2.getLocalName( + node, + /*allowComments*/ + false, + /*allowSourceMaps*/ + true + ); + moduleArg = factory2.createAssignment(localName, moduleArg); + } + const enumStatement = factory2.createExpressionStatement( + factory2.createCallExpression( + factory2.createFunctionExpression( + /*modifiers*/ + void 0, + /*asteriskToken*/ + void 0, + /*name*/ + void 0, + /*typeParameters*/ + void 0, + [factory2.createParameterDeclaration( + /*modifiers*/ + void 0, + /*dotDotDotToken*/ + void 0, + parameterName + )], + /*type*/ + void 0, + transformEnumBody(node, containerName) + ), + /*typeArguments*/ + void 0, + [moduleArg] + ) + ); + setOriginalNode(enumStatement, node); + if (varAdded) { + setSyntheticLeadingComments(enumStatement, void 0); + setSyntheticTrailingComments(enumStatement, void 0); + } + setTextRange(enumStatement, node); + addEmitFlags(enumStatement, emitFlags); + statements.push(enumStatement); + return statements; + } + function transformEnumBody(node, localName) { + const savedCurrentNamespaceLocalName = currentNamespaceContainerName; + currentNamespaceContainerName = localName; + const statements = []; + startLexicalEnvironment(); + const members = map(node.members, transformEnumMember); + insertStatementsAfterStandardPrologue(statements, endLexicalEnvironment()); + addRange(statements, members); + currentNamespaceContainerName = savedCurrentNamespaceLocalName; + return factory2.createBlock( + setTextRange( + factory2.createNodeArray(statements), + /*location*/ + node.members + ), + /*multiLine*/ + true + ); + } + function transformEnumMember(member) { + const name = getExpressionForPropertyName( + member, + /*generateNameForComputedPropertyName*/ + false + ); + const evaluated = resolver.getEnumMemberValue(member); + const valueExpression = transformEnumMemberDeclarationValue(member, evaluated == null ? void 0 : evaluated.value); + const innerAssignment = factory2.createAssignment( + factory2.createElementAccessExpression( + currentNamespaceContainerName, + name + ), + valueExpression + ); + const outerAssignment = typeof (evaluated == null ? void 0 : evaluated.value) === "string" || (evaluated == null ? void 0 : evaluated.isSyntacticallyString) ? innerAssignment : factory2.createAssignment( + factory2.createElementAccessExpression( + currentNamespaceContainerName, + innerAssignment + ), + name + ); + return setTextRange( + factory2.createExpressionStatement( + setTextRange( + outerAssignment, + member + ) + ), + member + ); + } + function transformEnumMemberDeclarationValue(member, constantValue) { + if (constantValue !== void 0) { + return typeof constantValue === "string" ? factory2.createStringLiteral(constantValue) : constantValue < 0 ? factory2.createPrefixUnaryExpression(41 /* MinusToken */, factory2.createNumericLiteral(-constantValue)) : factory2.createNumericLiteral(constantValue); + } else { + enableSubstitutionForNonQualifiedEnumMembers(); + if (member.initializer) { + return Debug.checkDefined(visitNode(member.initializer, visitor, isExpression)); + } else { + return factory2.createVoidZero(); + } + } + } + function shouldEmitModuleDeclaration(nodeIn) { + const node = getParseTreeNode(nodeIn, isModuleDeclaration); + if (!node) { + return true; + } + return isInstantiatedModule(node, shouldPreserveConstEnums(compilerOptions)); + } + function recordEmittedDeclarationInScope(node) { + if (!currentScopeFirstDeclarationsOfName) { + currentScopeFirstDeclarationsOfName = /* @__PURE__ */ new Map(); + } + const name = declaredNameInScope(node); + if (!currentScopeFirstDeclarationsOfName.has(name)) { + currentScopeFirstDeclarationsOfName.set(name, node); + } + } + function isFirstEmittedDeclarationInScope(node) { + if (currentScopeFirstDeclarationsOfName) { + const name = declaredNameInScope(node); + return currentScopeFirstDeclarationsOfName.get(name) === node; + } + return true; + } + function declaredNameInScope(node) { + Debug.assertNode(node.name, isIdentifier); + return node.name.escapedText; + } + function addVarForEnumOrModuleDeclaration(statements, node) { + const varDecl = factory2.createVariableDeclaration(factory2.getLocalName( + node, + /*allowComments*/ + false, + /*allowSourceMaps*/ + true + )); + const varFlags = currentLexicalScope.kind === 307 /* SourceFile */ ? 0 /* None */ : 1 /* Let */; + const statement = factory2.createVariableStatement( + visitNodes2(node.modifiers, modifierVisitor, isModifier), + factory2.createVariableDeclarationList([varDecl], varFlags) + ); + setOriginalNode(varDecl, node); + setSyntheticLeadingComments(varDecl, void 0); + setSyntheticTrailingComments(varDecl, void 0); + setOriginalNode(statement, node); + recordEmittedDeclarationInScope(node); + if (isFirstEmittedDeclarationInScope(node)) { + if (node.kind === 266 /* EnumDeclaration */) { + setSourceMapRange(statement.declarationList, node); + } else { + setSourceMapRange(statement, node); + } + setCommentRange(statement, node); + addEmitFlags(statement, 2048 /* NoTrailingComments */); + statements.push(statement); + return true; + } + return false; + } + function visitModuleDeclaration(node) { + if (!shouldEmitModuleDeclaration(node)) { + return factory2.createNotEmittedStatement(node); + } + Debug.assertNode(node.name, isIdentifier, "A TypeScript namespace should have an Identifier name."); + enableSubstitutionForNamespaceExports(); + const statements = []; + let emitFlags = 4 /* AdviseOnEmitNode */; + const varAdded = addVarForEnumOrModuleDeclaration(statements, node); + if (varAdded) { + if (moduleKind !== 4 /* System */ || currentLexicalScope !== currentSourceFile) { + emitFlags |= 1024 /* NoLeadingComments */; + } + } + const parameterName = getNamespaceParameterName(node); + const containerName = getNamespaceContainerName(node); + const exportName = isExportOfNamespace(node) ? factory2.getExternalModuleOrNamespaceExportName( + currentNamespaceContainerName, + node, + /*allowComments*/ + false, + /*allowSourceMaps*/ + true + ) : factory2.getDeclarationName( + node, + /*allowComments*/ + false, + /*allowSourceMaps*/ + true + ); + let moduleArg = factory2.createLogicalOr( + exportName, + factory2.createAssignment( + exportName, + factory2.createObjectLiteralExpression() + ) + ); + if (isExportOfNamespace(node)) { + const localName = factory2.getLocalName( + node, + /*allowComments*/ + false, + /*allowSourceMaps*/ + true + ); + moduleArg = factory2.createAssignment(localName, moduleArg); + } + const moduleStatement = factory2.createExpressionStatement( + factory2.createCallExpression( + factory2.createFunctionExpression( + /*modifiers*/ + void 0, + /*asteriskToken*/ + void 0, + /*name*/ + void 0, + /*typeParameters*/ + void 0, + [factory2.createParameterDeclaration( + /*modifiers*/ + void 0, + /*dotDotDotToken*/ + void 0, + parameterName + )], + /*type*/ + void 0, + transformModuleBody(node, containerName) + ), + /*typeArguments*/ + void 0, + [moduleArg] + ) + ); + setOriginalNode(moduleStatement, node); + if (varAdded) { + setSyntheticLeadingComments(moduleStatement, void 0); + setSyntheticTrailingComments(moduleStatement, void 0); + } + setTextRange(moduleStatement, node); + addEmitFlags(moduleStatement, emitFlags); + statements.push(moduleStatement); + return statements; + } + function transformModuleBody(node, namespaceLocalName) { + const savedCurrentNamespaceContainerName = currentNamespaceContainerName; + const savedCurrentNamespace = currentNamespace; + const savedCurrentScopeFirstDeclarationsOfName = currentScopeFirstDeclarationsOfName; + currentNamespaceContainerName = namespaceLocalName; + currentNamespace = node; + currentScopeFirstDeclarationsOfName = void 0; + const statements = []; + startLexicalEnvironment(); + let statementsLocation; + let blockLocation; + if (node.body) { + if (node.body.kind === 268 /* ModuleBlock */) { + saveStateAndInvoke(node.body, (body) => addRange(statements, visitNodes2(body.statements, namespaceElementVisitor, isStatement))); + statementsLocation = node.body.statements; + blockLocation = node.body; + } else { + const result = visitModuleDeclaration(node.body); + if (result) { + if (isArray(result)) { + addRange(statements, result); + } else { + statements.push(result); + } + } + const moduleBlock = getInnerMostModuleDeclarationFromDottedModule(node).body; + statementsLocation = moveRangePos(moduleBlock.statements, -1); + } + } + insertStatementsAfterStandardPrologue(statements, endLexicalEnvironment()); + currentNamespaceContainerName = savedCurrentNamespaceContainerName; + currentNamespace = savedCurrentNamespace; + currentScopeFirstDeclarationsOfName = savedCurrentScopeFirstDeclarationsOfName; + const block = factory2.createBlock( + setTextRange( + factory2.createNodeArray(statements), + /*location*/ + statementsLocation + ), + /*multiLine*/ + true + ); + setTextRange(block, blockLocation); + if (!node.body || node.body.kind !== 268 /* ModuleBlock */) { + setEmitFlags(block, getEmitFlags(block) | 3072 /* NoComments */); + } + return block; + } + function getInnerMostModuleDeclarationFromDottedModule(moduleDeclaration) { + if (moduleDeclaration.body.kind === 267 /* ModuleDeclaration */) { + const recursiveInnerModule = getInnerMostModuleDeclarationFromDottedModule(moduleDeclaration.body); + return recursiveInnerModule || moduleDeclaration.body; + } + } + function visitImportDeclaration(node) { + if (!node.importClause) { + return node; + } + if (node.importClause.isTypeOnly) { + return void 0; + } + const importClause = visitNode(node.importClause, visitImportClause, isImportClause); + return importClause ? factory2.updateImportDeclaration( + node, + /*modifiers*/ + void 0, + importClause, + node.moduleSpecifier, + node.attributes + ) : void 0; + } + function visitImportClause(node) { + Debug.assert(!node.isTypeOnly); + const name = shouldEmitAliasDeclaration(node) ? node.name : void 0; + const namedBindings = visitNode(node.namedBindings, visitNamedImportBindings, isNamedImportBindings); + return name || namedBindings ? factory2.updateImportClause( + node, + /*isTypeOnly*/ + false, + name, + namedBindings + ) : void 0; + } + function visitNamedImportBindings(node) { + if (node.kind === 274 /* NamespaceImport */) { + return shouldEmitAliasDeclaration(node) ? node : void 0; + } else { + const allowEmpty = compilerOptions.verbatimModuleSyntax; + const elements = visitNodes2(node.elements, visitImportSpecifier, isImportSpecifier); + return allowEmpty || some(elements) ? factory2.updateNamedImports(node, elements) : void 0; + } + } + function visitImportSpecifier(node) { + return !node.isTypeOnly && shouldEmitAliasDeclaration(node) ? node : void 0; + } + function visitExportAssignment(node) { + return compilerOptions.verbatimModuleSyntax || resolver.isValueAliasDeclaration(node) ? visitEachChild(node, visitor, context) : void 0; + } + function visitExportDeclaration(node) { + if (node.isTypeOnly) { + return void 0; + } + if (!node.exportClause || isNamespaceExport(node.exportClause)) { + return factory2.updateExportDeclaration( + node, + node.modifiers, + node.isTypeOnly, + node.exportClause, + node.moduleSpecifier, + node.attributes + ); + } + const allowEmpty = !!compilerOptions.verbatimModuleSyntax; + const exportClause = visitNode( + node.exportClause, + (bindings) => visitNamedExportBindings(bindings, allowEmpty), + isNamedExportBindings + ); + return exportClause ? factory2.updateExportDeclaration( + node, + /*modifiers*/ + void 0, + node.isTypeOnly, + exportClause, + node.moduleSpecifier, + node.attributes + ) : void 0; + } + function visitNamedExports(node, allowEmpty) { + const elements = visitNodes2(node.elements, visitExportSpecifier, isExportSpecifier); + return allowEmpty || some(elements) ? factory2.updateNamedExports(node, elements) : void 0; + } + function visitNamespaceExports(node) { + return factory2.updateNamespaceExport(node, Debug.checkDefined(visitNode(node.name, visitor, isIdentifier))); + } + function visitNamedExportBindings(node, allowEmpty) { + return isNamespaceExport(node) ? visitNamespaceExports(node) : visitNamedExports(node, allowEmpty); + } + function visitExportSpecifier(node) { + return !node.isTypeOnly && (compilerOptions.verbatimModuleSyntax || resolver.isValueAliasDeclaration(node)) ? node : void 0; + } + function shouldEmitImportEqualsDeclaration(node) { + return shouldEmitAliasDeclaration(node) || !isExternalModule(currentSourceFile) && resolver.isTopLevelValueImportEqualsWithEntityName(node); + } + function visitImportEqualsDeclaration(node) { + if (node.isTypeOnly) { + return void 0; + } + if (isExternalModuleImportEqualsDeclaration(node)) { + if (!shouldEmitAliasDeclaration(node)) { + return void 0; + } + return visitEachChild(node, visitor, context); + } + if (!shouldEmitImportEqualsDeclaration(node)) { + return void 0; + } + const moduleReference = createExpressionFromEntityName(factory2, node.moduleReference); + setEmitFlags(moduleReference, 3072 /* NoComments */ | 4096 /* NoNestedComments */); + if (isNamedExternalModuleExport(node) || !isExportOfNamespace(node)) { + return setOriginalNode( + setTextRange( + factory2.createVariableStatement( + visitNodes2(node.modifiers, modifierVisitor, isModifier), + factory2.createVariableDeclarationList([ + setOriginalNode( + factory2.createVariableDeclaration( + node.name, + /*exclamationToken*/ + void 0, + /*type*/ + void 0, + moduleReference + ), + node + ) + ]) + ), + node + ), + node + ); + } else { + return setOriginalNode( + createNamespaceExport( + node.name, + moduleReference, + node + ), + node + ); + } + } + function isExportOfNamespace(node) { + return currentNamespace !== void 0 && hasSyntacticModifier(node, 32 /* Export */); + } + function isExternalModuleExport(node) { + return currentNamespace === void 0 && hasSyntacticModifier(node, 32 /* Export */); + } + function isNamedExternalModuleExport(node) { + return isExternalModuleExport(node) && !hasSyntacticModifier(node, 2048 /* Default */); + } + function isDefaultExternalModuleExport(node) { + return isExternalModuleExport(node) && hasSyntacticModifier(node, 2048 /* Default */); + } + function createExportMemberAssignmentStatement(node) { + const expression = factory2.createAssignment( + factory2.getExternalModuleOrNamespaceExportName( + currentNamespaceContainerName, + node, + /*allowComments*/ + false, + /*allowSourceMaps*/ + true + ), + factory2.getLocalName(node) + ); + setSourceMapRange(expression, createRange(node.name ? node.name.pos : node.pos, node.end)); + const statement = factory2.createExpressionStatement(expression); + setSourceMapRange(statement, createRange(-1, node.end)); + return statement; + } + function addExportMemberAssignment(statements, node) { + statements.push(createExportMemberAssignmentStatement(node)); + } + function createNamespaceExport(exportName, exportValue, location) { + return setTextRange( + factory2.createExpressionStatement( + factory2.createAssignment( + factory2.getNamespaceMemberName( + currentNamespaceContainerName, + exportName, + /*allowComments*/ + false, + /*allowSourceMaps*/ + true + ), + exportValue + ) + ), + location + ); + } + function createNamespaceExportExpression(exportName, exportValue, location) { + return setTextRange(factory2.createAssignment(getNamespaceMemberNameWithSourceMapsAndWithoutComments(exportName), exportValue), location); + } + function getNamespaceMemberNameWithSourceMapsAndWithoutComments(name) { + return factory2.getNamespaceMemberName( + currentNamespaceContainerName, + name, + /*allowComments*/ + false, + /*allowSourceMaps*/ + true + ); + } + function getNamespaceParameterName(node) { + const name = factory2.getGeneratedNameForNode(node); + setSourceMapRange(name, node.name); + return name; + } + function getNamespaceContainerName(node) { + return factory2.getGeneratedNameForNode(node); + } + function enableSubstitutionForNonQualifiedEnumMembers() { + if ((enabledSubstitutions & 8 /* NonQualifiedEnumMembers */) === 0) { + enabledSubstitutions |= 8 /* NonQualifiedEnumMembers */; + context.enableSubstitution(80 /* Identifier */); + } + } + function enableSubstitutionForNamespaceExports() { + if ((enabledSubstitutions & 2 /* NamespaceExports */) === 0) { + enabledSubstitutions |= 2 /* NamespaceExports */; + context.enableSubstitution(80 /* Identifier */); + context.enableSubstitution(304 /* ShorthandPropertyAssignment */); + context.enableEmitNotification(267 /* ModuleDeclaration */); + } + } + function isTransformedModuleDeclaration(node) { + return getOriginalNode(node).kind === 267 /* ModuleDeclaration */; + } + function isTransformedEnumDeclaration(node) { + return getOriginalNode(node).kind === 266 /* EnumDeclaration */; + } + function onEmitNode(hint, node, emitCallback) { + const savedApplicableSubstitutions = applicableSubstitutions; + const savedCurrentSourceFile = currentSourceFile; + if (isSourceFile(node)) { + currentSourceFile = node; + } + if (enabledSubstitutions & 2 /* NamespaceExports */ && isTransformedModuleDeclaration(node)) { + applicableSubstitutions |= 2 /* NamespaceExports */; + } + if (enabledSubstitutions & 8 /* NonQualifiedEnumMembers */ && isTransformedEnumDeclaration(node)) { + applicableSubstitutions |= 8 /* NonQualifiedEnumMembers */; + } + previousOnEmitNode(hint, node, emitCallback); + applicableSubstitutions = savedApplicableSubstitutions; + currentSourceFile = savedCurrentSourceFile; + } + function onSubstituteNode(hint, node) { + node = previousOnSubstituteNode(hint, node); + if (hint === 1 /* Expression */) { + return substituteExpression(node); + } else if (isShorthandPropertyAssignment(node)) { + return substituteShorthandPropertyAssignment(node); + } + return node; + } + function substituteShorthandPropertyAssignment(node) { + if (enabledSubstitutions & 2 /* NamespaceExports */) { + const name = node.name; + const exportedName = trySubstituteNamespaceExportedName(name); + if (exportedName) { + if (node.objectAssignmentInitializer) { + const initializer = factory2.createAssignment(exportedName, node.objectAssignmentInitializer); + return setTextRange(factory2.createPropertyAssignment(name, initializer), node); + } + return setTextRange(factory2.createPropertyAssignment(name, exportedName), node); + } + } + return node; + } + function substituteExpression(node) { + switch (node.kind) { + case 80 /* Identifier */: + return substituteExpressionIdentifier(node); + case 211 /* PropertyAccessExpression */: + return substitutePropertyAccessExpression(node); + case 212 /* ElementAccessExpression */: + return substituteElementAccessExpression(node); + } + return node; + } + function substituteExpressionIdentifier(node) { + return trySubstituteNamespaceExportedName(node) || node; + } + function trySubstituteNamespaceExportedName(node) { + if (enabledSubstitutions & applicableSubstitutions && !isGeneratedIdentifier(node) && !isLocalName(node)) { + const container = resolver.getReferencedExportContainer( + node, + /*prefixLocals*/ + false + ); + if (container && container.kind !== 307 /* SourceFile */) { + const substitute = applicableSubstitutions & 2 /* NamespaceExports */ && container.kind === 267 /* ModuleDeclaration */ || applicableSubstitutions & 8 /* NonQualifiedEnumMembers */ && container.kind === 266 /* EnumDeclaration */; + if (substitute) { + return setTextRange( + factory2.createPropertyAccessExpression(factory2.getGeneratedNameForNode(container), node), + /*location*/ + node + ); + } + } + } + return void 0; + } + function substitutePropertyAccessExpression(node) { + return substituteConstantValue(node); + } + function substituteElementAccessExpression(node) { + return substituteConstantValue(node); + } + function safeMultiLineComment(value) { + return value.replace(/\*\//g, "*_/"); + } + function substituteConstantValue(node) { + const constantValue = tryGetConstEnumValue(node); + if (constantValue !== void 0) { + setConstantValue(node, constantValue); + const substitute = typeof constantValue === "string" ? factory2.createStringLiteral(constantValue) : constantValue < 0 ? factory2.createPrefixUnaryExpression(41 /* MinusToken */, factory2.createNumericLiteral(-constantValue)) : factory2.createNumericLiteral(constantValue); + if (!compilerOptions.removeComments) { + const originalNode = getOriginalNode(node, isAccessExpression); + addSyntheticTrailingComment(substitute, 3 /* MultiLineCommentTrivia */, ` ${safeMultiLineComment(getTextOfNode(originalNode))} `); + } + return substitute; + } + return node; + } + function tryGetConstEnumValue(node) { + if (getIsolatedModules(compilerOptions)) { + return void 0; + } + return isPropertyAccessExpression(node) || isElementAccessExpression(node) ? resolver.getConstantValue(node) : void 0; + } + function shouldEmitAliasDeclaration(node) { + return compilerOptions.verbatimModuleSyntax || isInJSFile(node) || resolver.isReferencedAliasDeclaration(node); + } +} + +// src/compiler/transformers/classFields.ts +function transformClassFields(context) { + const { + factory: factory2, + getEmitHelperFactory: emitHelpers, + hoistVariableDeclaration, + endLexicalEnvironment, + startLexicalEnvironment, + resumeLexicalEnvironment, + addBlockScopedVariable + } = context; + const resolver = context.getEmitResolver(); + const compilerOptions = context.getCompilerOptions(); + const languageVersion = getEmitScriptTarget(compilerOptions); + const useDefineForClassFields = getUseDefineForClassFields(compilerOptions); + const legacyDecorators = !!compilerOptions.experimentalDecorators; + const shouldTransformInitializersUsingSet = !useDefineForClassFields; + const shouldTransformInitializersUsingDefine = useDefineForClassFields && languageVersion < 9 /* ES2022 */; + const shouldTransformInitializers = shouldTransformInitializersUsingSet || shouldTransformInitializersUsingDefine; + const shouldTransformPrivateElementsOrClassStaticBlocks = languageVersion < 9 /* ES2022 */; + const shouldTransformAutoAccessors = languageVersion < 99 /* ESNext */ ? -1 /* True */ : !useDefineForClassFields ? 3 /* Maybe */ : 0 /* False */; + const shouldTransformThisInStaticInitializers = languageVersion < 9 /* ES2022 */; + const shouldTransformSuperInStaticInitializers = shouldTransformThisInStaticInitializers && languageVersion >= 2 /* ES2015 */; + const shouldTransformAnything = shouldTransformInitializers || shouldTransformPrivateElementsOrClassStaticBlocks || shouldTransformAutoAccessors === -1 /* True */; + const previousOnSubstituteNode = context.onSubstituteNode; + context.onSubstituteNode = onSubstituteNode; + const previousOnEmitNode = context.onEmitNode; + context.onEmitNode = onEmitNode; + let shouldTransformPrivateStaticElementsInFile = false; + let enabledSubstitutions = 0 /* None */; + let classAliases; + let pendingExpressions; + let pendingStatements; + let lexicalEnvironment; + const lexicalEnvironmentMap = /* @__PURE__ */ new Map(); + const noSubstitution = /* @__PURE__ */ new Set(); + let currentClassContainer; + let currentClassElement; + let shouldSubstituteThisWithClassThis = false; + let previousShouldSubstituteThisWithClassThis = false; + return chainBundle(context, transformSourceFile); + function transformSourceFile(node) { + if (node.isDeclarationFile) { + return node; + } + lexicalEnvironment = void 0; + shouldTransformPrivateStaticElementsInFile = !!(getInternalEmitFlags(node) & 32 /* TransformPrivateStaticElements */); + if (!shouldTransformAnything && !shouldTransformPrivateStaticElementsInFile) { + return node; + } + const visited = visitEachChild(node, visitor, context); + addEmitHelpers(visited, context.readEmitHelpers()); + return visited; + } + function modifierVisitor(node) { + switch (node.kind) { + case 129 /* AccessorKeyword */: + return shouldTransformAutoAccessorsInCurrentClass() ? void 0 : node; + default: + return tryCast(node, isModifier); + } + } + function visitor(node) { + if (!(node.transformFlags & 16777216 /* ContainsClassFields */) && !(node.transformFlags & 134234112 /* ContainsLexicalThisOrSuper */)) { + return node; + } + switch (node.kind) { + case 263 /* ClassDeclaration */: + return visitClassDeclaration(node); + case 231 /* ClassExpression */: + return visitClassExpression(node); + case 175 /* ClassStaticBlockDeclaration */: + case 172 /* PropertyDeclaration */: + return Debug.fail("Use `classElementVisitor` instead."); + case 303 /* PropertyAssignment */: + return visitPropertyAssignment(node); + case 243 /* VariableStatement */: + return visitVariableStatement(node); + case 260 /* VariableDeclaration */: + return visitVariableDeclaration(node); + case 169 /* Parameter */: + return visitParameterDeclaration(node); + case 208 /* BindingElement */: + return visitBindingElement(node); + case 277 /* ExportAssignment */: + return visitExportAssignment(node); + case 81 /* PrivateIdentifier */: + return visitPrivateIdentifier(node); + case 211 /* PropertyAccessExpression */: + return visitPropertyAccessExpression(node); + case 212 /* ElementAccessExpression */: + return visitElementAccessExpression(node); + case 224 /* PrefixUnaryExpression */: + case 225 /* PostfixUnaryExpression */: + return visitPreOrPostfixUnaryExpression( + node, + /*discarded*/ + false + ); + case 226 /* BinaryExpression */: + return visitBinaryExpression( + node, + /*discarded*/ + false + ); + case 217 /* ParenthesizedExpression */: + return visitParenthesizedExpression( + node, + /*discarded*/ + false + ); + case 213 /* CallExpression */: + return visitCallExpression(node); + case 244 /* ExpressionStatement */: + return visitExpressionStatement(node); + case 215 /* TaggedTemplateExpression */: + return visitTaggedTemplateExpression(node); + case 248 /* ForStatement */: + return visitForStatement(node); + case 110 /* ThisKeyword */: + return visitThisExpression(node); + case 262 /* FunctionDeclaration */: + case 218 /* FunctionExpression */: + return setCurrentClassElementAnd( + /*classElement*/ + void 0, + fallbackVisitor, + node + ); + case 176 /* Constructor */: + case 174 /* MethodDeclaration */: + case 177 /* GetAccessor */: + case 178 /* SetAccessor */: { + return setCurrentClassElementAnd( + node, + fallbackVisitor, + node + ); + } + default: + return fallbackVisitor(node); + } + } + function fallbackVisitor(node) { + return visitEachChild(node, visitor, context); + } + function discardedValueVisitor(node) { + switch (node.kind) { + case 224 /* PrefixUnaryExpression */: + case 225 /* PostfixUnaryExpression */: + return visitPreOrPostfixUnaryExpression( + node, + /*discarded*/ + true + ); + case 226 /* BinaryExpression */: + return visitBinaryExpression( + node, + /*discarded*/ + true + ); + case 356 /* CommaListExpression */: + return visitCommaListExpression( + node, + /*discarded*/ + true + ); + case 217 /* ParenthesizedExpression */: + return visitParenthesizedExpression( + node, + /*discarded*/ + true + ); + default: + return visitor(node); + } + } + function heritageClauseVisitor(node) { + switch (node.kind) { + case 298 /* HeritageClause */: + return visitEachChild(node, heritageClauseVisitor, context); + case 233 /* ExpressionWithTypeArguments */: + return visitExpressionWithTypeArgumentsInHeritageClause(node); + default: + return visitor(node); + } + } + function assignmentTargetVisitor(node) { + switch (node.kind) { + case 210 /* ObjectLiteralExpression */: + case 209 /* ArrayLiteralExpression */: + return visitAssignmentPattern(node); + default: + return visitor(node); + } + } + function classElementVisitor(node) { + switch (node.kind) { + case 176 /* Constructor */: + return setCurrentClassElementAnd( + node, + visitConstructorDeclaration, + node + ); + case 177 /* GetAccessor */: + case 178 /* SetAccessor */: + case 174 /* MethodDeclaration */: + return setCurrentClassElementAnd( + node, + visitMethodOrAccessorDeclaration, + node + ); + case 172 /* PropertyDeclaration */: + return setCurrentClassElementAnd( + node, + visitPropertyDeclaration, + node + ); + case 175 /* ClassStaticBlockDeclaration */: + return setCurrentClassElementAnd( + node, + visitClassStaticBlockDeclaration, + node + ); + case 167 /* ComputedPropertyName */: + return visitComputedPropertyName(node); + case 240 /* SemicolonClassElement */: + return node; + default: + return isModifierLike(node) ? modifierVisitor(node) : visitor(node); + } + } + function propertyNameVisitor(node) { + switch (node.kind) { + case 167 /* ComputedPropertyName */: + return visitComputedPropertyName(node); + default: + return visitor(node); + } + } + function accessorFieldResultVisitor(node) { + switch (node.kind) { + case 172 /* PropertyDeclaration */: + return transformFieldInitializer(node); + case 177 /* GetAccessor */: + case 178 /* SetAccessor */: + return classElementVisitor(node); + default: + Debug.assertMissingNode(node, "Expected node to either be a PropertyDeclaration, GetAccessorDeclaration, or SetAccessorDeclaration"); + break; + } + } + function visitPrivateIdentifier(node) { + if (!shouldTransformPrivateElementsOrClassStaticBlocks) { + return node; + } + if (isStatement(node.parent)) { + return node; + } + return setOriginalNode(factory2.createIdentifier(""), node); + } + function transformPrivateIdentifierInInExpression(node) { + const info = accessPrivateIdentifier2(node.left); + if (info) { + const receiver = visitNode(node.right, visitor, isExpression); + return setOriginalNode( + emitHelpers().createClassPrivateFieldInHelper(info.brandCheckIdentifier, receiver), + node + ); + } + return visitEachChild(node, visitor, context); + } + function visitPropertyAssignment(node) { + if (isNamedEvaluation(node, isAnonymousClassNeedingAssignedName)) { + node = transformNamedEvaluation(context, node); + } + return visitEachChild(node, visitor, context); + } + function visitVariableStatement(node) { + const savedPendingStatements = pendingStatements; + pendingStatements = []; + const visitedNode = visitEachChild(node, visitor, context); + const statement = some(pendingStatements) ? [visitedNode, ...pendingStatements] : visitedNode; + pendingStatements = savedPendingStatements; + return statement; + } + function visitVariableDeclaration(node) { + if (isNamedEvaluation(node, isAnonymousClassNeedingAssignedName)) { + node = transformNamedEvaluation(context, node); + } + return visitEachChild(node, visitor, context); + } + function visitParameterDeclaration(node) { + if (isNamedEvaluation(node, isAnonymousClassNeedingAssignedName)) { + node = transformNamedEvaluation(context, node); + } + return visitEachChild(node, visitor, context); + } + function visitBindingElement(node) { + if (isNamedEvaluation(node, isAnonymousClassNeedingAssignedName)) { + node = transformNamedEvaluation(context, node); + } + return visitEachChild(node, visitor, context); + } + function visitExportAssignment(node) { + if (isNamedEvaluation(node, isAnonymousClassNeedingAssignedName)) { + node = transformNamedEvaluation( + context, + node, + /*ignoreEmptyStringLiteral*/ + true, + node.isExportEquals ? "" : "default" + ); + } + return visitEachChild(node, visitor, context); + } + function injectPendingExpressions(expression) { + if (some(pendingExpressions)) { + if (isParenthesizedExpression(expression)) { + pendingExpressions.push(expression.expression); + expression = factory2.updateParenthesizedExpression(expression, factory2.inlineExpressions(pendingExpressions)); + } else { + pendingExpressions.push(expression); + expression = factory2.inlineExpressions(pendingExpressions); + } + pendingExpressions = void 0; + } + return expression; + } + function visitComputedPropertyName(node) { + const expression = visitNode(node.expression, visitor, isExpression); + return factory2.updateComputedPropertyName(node, injectPendingExpressions(expression)); + } + function visitConstructorDeclaration(node) { + if (currentClassContainer) { + return transformConstructor(node, currentClassContainer); + } + return fallbackVisitor(node); + } + function shouldTransformClassElementToWeakMap(node) { + if (shouldTransformPrivateElementsOrClassStaticBlocks) return true; + if (hasStaticModifier(node) && getInternalEmitFlags(node) & 32 /* TransformPrivateStaticElements */) return true; + return false; + } + function visitMethodOrAccessorDeclaration(node) { + Debug.assert(!hasDecorators(node)); + if (!isPrivateIdentifierClassElementDeclaration(node) || !shouldTransformClassElementToWeakMap(node)) { + return visitEachChild(node, classElementVisitor, context); + } + const info = accessPrivateIdentifier2(node.name); + Debug.assert(info, "Undeclared private name for property declaration."); + if (!info.isValid) { + return node; + } + const functionName = getHoistedFunctionName(node); + if (functionName) { + getPendingExpressions().push( + factory2.createAssignment( + functionName, + factory2.createFunctionExpression( + filter(node.modifiers, (m) => isModifier(m) && !isStaticModifier(m) && !isAccessorModifier(m)), + node.asteriskToken, + functionName, + /*typeParameters*/ + void 0, + visitParameterList(node.parameters, visitor, context), + /*type*/ + void 0, + visitFunctionBody(node.body, visitor, context) + ) + ) + ); + } + return void 0; + } + function setCurrentClassElementAnd(classElement, visitor2, arg) { + if (classElement !== currentClassElement) { + const savedCurrentClassElement = currentClassElement; + currentClassElement = classElement; + const result = visitor2(arg); + currentClassElement = savedCurrentClassElement; + return result; + } + return visitor2(arg); + } + function getHoistedFunctionName(node) { + Debug.assert(isPrivateIdentifier(node.name)); + const info = accessPrivateIdentifier2(node.name); + Debug.assert(info, "Undeclared private name for property declaration."); + if (info.kind === "m" /* Method */) { + return info.methodName; + } + if (info.kind === "a" /* Accessor */) { + if (isGetAccessor(node)) { + return info.getterName; + } + if (isSetAccessor(node)) { + return info.setterName; + } + } + } + function tryGetClassThis() { + const lex = getClassLexicalEnvironment(); + return lex.classThis ?? lex.classConstructor ?? (currentClassContainer == null ? void 0 : currentClassContainer.name); + } + function transformAutoAccessor(node) { + const commentRange = getCommentRange(node); + const sourceMapRange = getSourceMapRange(node); + const name = node.name; + let getterName = name; + let setterName = name; + if (isComputedPropertyName(name) && !isSimpleInlineableExpression(name.expression)) { + const cacheAssignment = findComputedPropertyNameCacheAssignment(name); + if (cacheAssignment) { + getterName = factory2.updateComputedPropertyName(name, visitNode(name.expression, visitor, isExpression)); + setterName = factory2.updateComputedPropertyName(name, cacheAssignment.left); + } else { + const temp = factory2.createTempVariable(hoistVariableDeclaration); + setSourceMapRange(temp, name.expression); + const expression = visitNode(name.expression, visitor, isExpression); + const assignment = factory2.createAssignment(temp, expression); + setSourceMapRange(assignment, name.expression); + getterName = factory2.updateComputedPropertyName(name, assignment); + setterName = factory2.updateComputedPropertyName(name, temp); + } + } + const modifiers = visitNodes2(node.modifiers, modifierVisitor, isModifier); + const backingField = createAccessorPropertyBackingField(factory2, node, modifiers, node.initializer); + setOriginalNode(backingField, node); + setEmitFlags(backingField, 3072 /* NoComments */); + setSourceMapRange(backingField, sourceMapRange); + const receiver = isStatic(node) ? tryGetClassThis() ?? factory2.createThis() : factory2.createThis(); + const getter = createAccessorPropertyGetRedirector(factory2, node, modifiers, getterName, receiver); + setOriginalNode(getter, node); + setCommentRange(getter, commentRange); + setSourceMapRange(getter, sourceMapRange); + const setterModifiers = factory2.createModifiersFromModifierFlags(modifiersToFlags(modifiers)); + const setter = createAccessorPropertySetRedirector(factory2, node, setterModifiers, setterName, receiver); + setOriginalNode(setter, node); + setEmitFlags(setter, 3072 /* NoComments */); + setSourceMapRange(setter, sourceMapRange); + return visitArray([backingField, getter, setter], accessorFieldResultVisitor, isClassElement); + } + function transformPrivateFieldInitializer(node) { + if (shouldTransformClassElementToWeakMap(node)) { + const info = accessPrivateIdentifier2(node.name); + Debug.assert(info, "Undeclared private name for property declaration."); + if (!info.isValid) { + return node; + } + if (info.isStatic && !shouldTransformPrivateElementsOrClassStaticBlocks) { + const statement = transformPropertyOrClassStaticBlock(node, factory2.createThis()); + if (statement) { + return factory2.createClassStaticBlockDeclaration(factory2.createBlock( + [statement], + /*multiLine*/ + true + )); + } + } + return void 0; + } + if (shouldTransformInitializersUsingSet && !isStatic(node) && (lexicalEnvironment == null ? void 0 : lexicalEnvironment.data) && lexicalEnvironment.data.facts & 16 /* WillHoistInitializersToConstructor */) { + return factory2.updatePropertyDeclaration( + node, + visitNodes2(node.modifiers, visitor, isModifierLike), + node.name, + /*questionOrExclamationToken*/ + void 0, + /*type*/ + void 0, + /*initializer*/ + void 0 + ); + } + if (isNamedEvaluation(node, isAnonymousClassNeedingAssignedName)) { + node = transformNamedEvaluation(context, node); + } + return factory2.updatePropertyDeclaration( + node, + visitNodes2(node.modifiers, modifierVisitor, isModifier), + visitNode(node.name, propertyNameVisitor, isPropertyName), + /*questionOrExclamationToken*/ + void 0, + /*type*/ + void 0, + visitNode(node.initializer, visitor, isExpression) + ); + } + function transformPublicFieldInitializer(node) { + if (shouldTransformInitializers && !isAutoAccessorPropertyDeclaration(node)) { + const expr = getPropertyNameExpressionIfNeeded( + node.name, + /*shouldHoist*/ + !!node.initializer || useDefineForClassFields + ); + if (expr) { + getPendingExpressions().push(...flattenCommaList(expr)); + } + if (isStatic(node) && !shouldTransformPrivateElementsOrClassStaticBlocks) { + const initializerStatement = transformPropertyOrClassStaticBlock(node, factory2.createThis()); + if (initializerStatement) { + const staticBlock = factory2.createClassStaticBlockDeclaration( + factory2.createBlock([initializerStatement]) + ); + setOriginalNode(staticBlock, node); + setCommentRange(staticBlock, node); + setCommentRange(initializerStatement, { pos: -1, end: -1 }); + setSyntheticLeadingComments(initializerStatement, void 0); + setSyntheticTrailingComments(initializerStatement, void 0); + return staticBlock; + } + } + return void 0; + } + return factory2.updatePropertyDeclaration( + node, + visitNodes2(node.modifiers, modifierVisitor, isModifier), + visitNode(node.name, propertyNameVisitor, isPropertyName), + /*questionOrExclamationToken*/ + void 0, + /*type*/ + void 0, + visitNode(node.initializer, visitor, isExpression) + ); + } + function transformFieldInitializer(node) { + Debug.assert(!hasDecorators(node), "Decorators should already have been transformed and elided."); + return isPrivateIdentifierClassElementDeclaration(node) ? transformPrivateFieldInitializer(node) : transformPublicFieldInitializer(node); + } + function shouldTransformAutoAccessorsInCurrentClass() { + return shouldTransformAutoAccessors === -1 /* True */ || shouldTransformAutoAccessors === 3 /* Maybe */ && !!(lexicalEnvironment == null ? void 0 : lexicalEnvironment.data) && !!(lexicalEnvironment.data.facts & 16 /* WillHoistInitializersToConstructor */); + } + function visitPropertyDeclaration(node) { + if (isAutoAccessorPropertyDeclaration(node) && (shouldTransformAutoAccessorsInCurrentClass() || hasStaticModifier(node) && getInternalEmitFlags(node) & 32 /* TransformPrivateStaticElements */)) { + return transformAutoAccessor(node); + } + return transformFieldInitializer(node); + } + function shouldForceDynamicThis() { + return !!currentClassElement && hasStaticModifier(currentClassElement) && isAccessor(currentClassElement) && isAutoAccessorPropertyDeclaration(getOriginalNode(currentClassElement)); + } + function ensureDynamicThisIfNeeded(node) { + if (shouldForceDynamicThis()) { + const innerExpression = skipOuterExpressions(node); + if (innerExpression.kind === 110 /* ThisKeyword */) { + noSubstitution.add(innerExpression); + } + } + } + function createPrivateIdentifierAccess(info, receiver) { + receiver = visitNode(receiver, visitor, isExpression); + ensureDynamicThisIfNeeded(receiver); + return createPrivateIdentifierAccessHelper(info, receiver); + } + function createPrivateIdentifierAccessHelper(info, receiver) { + setCommentRange(receiver, moveRangePos(receiver, -1)); + switch (info.kind) { + case "a" /* Accessor */: + return emitHelpers().createClassPrivateFieldGetHelper( + receiver, + info.brandCheckIdentifier, + info.kind, + info.getterName + ); + case "m" /* Method */: + return emitHelpers().createClassPrivateFieldGetHelper( + receiver, + info.brandCheckIdentifier, + info.kind, + info.methodName + ); + case "f" /* Field */: + return emitHelpers().createClassPrivateFieldGetHelper( + receiver, + info.brandCheckIdentifier, + info.kind, + info.isStatic ? info.variableName : void 0 + ); + case "untransformed": + return Debug.fail("Access helpers should not be created for untransformed private elements"); + default: + Debug.assertNever(info, "Unknown private element type"); + } + } + function visitPropertyAccessExpression(node) { + if (isPrivateIdentifier(node.name)) { + const privateIdentifierInfo = accessPrivateIdentifier2(node.name); + if (privateIdentifierInfo) { + return setTextRange( + setOriginalNode( + createPrivateIdentifierAccess(privateIdentifierInfo, node.expression), + node + ), + node + ); + } + } + if (shouldTransformSuperInStaticInitializers && currentClassElement && isSuperProperty(node) && isIdentifier(node.name) && isStaticPropertyDeclarationOrClassStaticBlock(currentClassElement) && (lexicalEnvironment == null ? void 0 : lexicalEnvironment.data)) { + const { classConstructor, superClassReference, facts } = lexicalEnvironment.data; + if (facts & 1 /* ClassWasDecorated */) { + return visitInvalidSuperProperty(node); + } + if (classConstructor && superClassReference) { + const superProperty = factory2.createReflectGetCall( + superClassReference, + factory2.createStringLiteralFromNode(node.name), + classConstructor + ); + setOriginalNode(superProperty, node.expression); + setTextRange(superProperty, node.expression); + return superProperty; + } + } + return visitEachChild(node, visitor, context); + } + function visitElementAccessExpression(node) { + if (shouldTransformSuperInStaticInitializers && currentClassElement && isSuperProperty(node) && isStaticPropertyDeclarationOrClassStaticBlock(currentClassElement) && (lexicalEnvironment == null ? void 0 : lexicalEnvironment.data)) { + const { classConstructor, superClassReference, facts } = lexicalEnvironment.data; + if (facts & 1 /* ClassWasDecorated */) { + return visitInvalidSuperProperty(node); + } + if (classConstructor && superClassReference) { + const superProperty = factory2.createReflectGetCall( + superClassReference, + visitNode(node.argumentExpression, visitor, isExpression), + classConstructor + ); + setOriginalNode(superProperty, node.expression); + setTextRange(superProperty, node.expression); + return superProperty; + } + } + return visitEachChild(node, visitor, context); + } + function visitPreOrPostfixUnaryExpression(node, discarded) { + if (node.operator === 46 /* PlusPlusToken */ || node.operator === 47 /* MinusMinusToken */) { + const operand = skipParentheses(node.operand); + if (isPrivateIdentifierPropertyAccessExpression(operand)) { + let info; + if (info = accessPrivateIdentifier2(operand.name)) { + const receiver = visitNode(operand.expression, visitor, isExpression); + ensureDynamicThisIfNeeded(receiver); + const { readExpression, initializeExpression } = createCopiableReceiverExpr(receiver); + let expression = createPrivateIdentifierAccess(info, readExpression); + const temp = isPrefixUnaryExpression(node) || discarded ? void 0 : factory2.createTempVariable(hoistVariableDeclaration); + expression = expandPreOrPostfixIncrementOrDecrementExpression(factory2, node, expression, hoistVariableDeclaration, temp); + expression = createPrivateIdentifierAssignment( + info, + initializeExpression || readExpression, + expression, + 64 /* EqualsToken */ + ); + setOriginalNode(expression, node); + setTextRange(expression, node); + if (temp) { + expression = factory2.createComma(expression, temp); + setTextRange(expression, node); + } + return expression; + } + } else if (shouldTransformSuperInStaticInitializers && currentClassElement && isSuperProperty(operand) && isStaticPropertyDeclarationOrClassStaticBlock(currentClassElement) && (lexicalEnvironment == null ? void 0 : lexicalEnvironment.data)) { + const { classConstructor, superClassReference, facts } = lexicalEnvironment.data; + if (facts & 1 /* ClassWasDecorated */) { + const expression = visitInvalidSuperProperty(operand); + return isPrefixUnaryExpression(node) ? factory2.updatePrefixUnaryExpression(node, expression) : factory2.updatePostfixUnaryExpression(node, expression); + } + if (classConstructor && superClassReference) { + let setterName; + let getterName; + if (isPropertyAccessExpression(operand)) { + if (isIdentifier(operand.name)) { + getterName = setterName = factory2.createStringLiteralFromNode(operand.name); + } + } else { + if (isSimpleInlineableExpression(operand.argumentExpression)) { + getterName = setterName = operand.argumentExpression; + } else { + getterName = factory2.createTempVariable(hoistVariableDeclaration); + setterName = factory2.createAssignment(getterName, visitNode(operand.argumentExpression, visitor, isExpression)); + } + } + if (setterName && getterName) { + let expression = factory2.createReflectGetCall(superClassReference, getterName, classConstructor); + setTextRange(expression, operand); + const temp = discarded ? void 0 : factory2.createTempVariable(hoistVariableDeclaration); + expression = expandPreOrPostfixIncrementOrDecrementExpression(factory2, node, expression, hoistVariableDeclaration, temp); + expression = factory2.createReflectSetCall(superClassReference, setterName, expression, classConstructor); + setOriginalNode(expression, node); + setTextRange(expression, node); + if (temp) { + expression = factory2.createComma(expression, temp); + setTextRange(expression, node); + } + return expression; + } + } + } + } + return visitEachChild(node, visitor, context); + } + function visitForStatement(node) { + return factory2.updateForStatement( + node, + visitNode(node.initializer, discardedValueVisitor, isForInitializer), + visitNode(node.condition, visitor, isExpression), + visitNode(node.incrementor, discardedValueVisitor, isExpression), + visitIterationBody(node.statement, visitor, context) + ); + } + function visitExpressionStatement(node) { + return factory2.updateExpressionStatement( + node, + visitNode(node.expression, discardedValueVisitor, isExpression) + ); + } + function createCopiableReceiverExpr(receiver) { + const clone = nodeIsSynthesized(receiver) ? receiver : factory2.cloneNode(receiver); + if (receiver.kind === 110 /* ThisKeyword */ && noSubstitution.has(receiver)) { + noSubstitution.add(clone); + } + if (isSimpleInlineableExpression(receiver)) { + return { readExpression: clone, initializeExpression: void 0 }; + } + const readExpression = factory2.createTempVariable(hoistVariableDeclaration); + const initializeExpression = factory2.createAssignment(readExpression, clone); + return { readExpression, initializeExpression }; + } + function visitCallExpression(node) { + var _a; + if (isPrivateIdentifierPropertyAccessExpression(node.expression) && accessPrivateIdentifier2(node.expression.name)) { + const { thisArg, target } = factory2.createCallBinding(node.expression, hoistVariableDeclaration, languageVersion); + if (isCallChain(node)) { + return factory2.updateCallChain( + node, + factory2.createPropertyAccessChain(visitNode(target, visitor, isExpression), node.questionDotToken, "call"), + /*questionDotToken*/ + void 0, + /*typeArguments*/ + void 0, + [visitNode(thisArg, visitor, isExpression), ...visitNodes2(node.arguments, visitor, isExpression)] + ); + } + return factory2.updateCallExpression( + node, + factory2.createPropertyAccessExpression(visitNode(target, visitor, isExpression), "call"), + /*typeArguments*/ + void 0, + [visitNode(thisArg, visitor, isExpression), ...visitNodes2(node.arguments, visitor, isExpression)] + ); + } + if (shouldTransformSuperInStaticInitializers && currentClassElement && isSuperProperty(node.expression) && isStaticPropertyDeclarationOrClassStaticBlock(currentClassElement) && ((_a = lexicalEnvironment == null ? void 0 : lexicalEnvironment.data) == null ? void 0 : _a.classConstructor)) { + const invocation = factory2.createFunctionCallCall( + visitNode(node.expression, visitor, isExpression), + lexicalEnvironment.data.classConstructor, + visitNodes2(node.arguments, visitor, isExpression) + ); + setOriginalNode(invocation, node); + setTextRange(invocation, node); + return invocation; + } + return visitEachChild(node, visitor, context); + } + function visitTaggedTemplateExpression(node) { + var _a; + if (isPrivateIdentifierPropertyAccessExpression(node.tag) && accessPrivateIdentifier2(node.tag.name)) { + const { thisArg, target } = factory2.createCallBinding(node.tag, hoistVariableDeclaration, languageVersion); + return factory2.updateTaggedTemplateExpression( + node, + factory2.createCallExpression( + factory2.createPropertyAccessExpression(visitNode(target, visitor, isExpression), "bind"), + /*typeArguments*/ + void 0, + [visitNode(thisArg, visitor, isExpression)] + ), + /*typeArguments*/ + void 0, + visitNode(node.template, visitor, isTemplateLiteral) + ); + } + if (shouldTransformSuperInStaticInitializers && currentClassElement && isSuperProperty(node.tag) && isStaticPropertyDeclarationOrClassStaticBlock(currentClassElement) && ((_a = lexicalEnvironment == null ? void 0 : lexicalEnvironment.data) == null ? void 0 : _a.classConstructor)) { + const invocation = factory2.createFunctionBindCall( + visitNode(node.tag, visitor, isExpression), + lexicalEnvironment.data.classConstructor, + [] + ); + setOriginalNode(invocation, node); + setTextRange(invocation, node); + return factory2.updateTaggedTemplateExpression( + node, + invocation, + /*typeArguments*/ + void 0, + visitNode(node.template, visitor, isTemplateLiteral) + ); + } + return visitEachChild(node, visitor, context); + } + function transformClassStaticBlockDeclaration(node) { + if (lexicalEnvironment) { + lexicalEnvironmentMap.set(getOriginalNode(node), lexicalEnvironment); + } + if (shouldTransformPrivateElementsOrClassStaticBlocks) { + if (isClassThisAssignmentBlock(node)) { + const result = visitNode(node.body.statements[0].expression, visitor, isExpression); + if (isAssignmentExpression( + result, + /*excludeCompoundAssignment*/ + true + ) && result.left === result.right) { + return void 0; + } + return result; + } + if (isClassNamedEvaluationHelperBlock(node)) { + return visitNode(node.body.statements[0].expression, visitor, isExpression); + } + startLexicalEnvironment(); + let statements = setCurrentClassElementAnd( + node, + (statements2) => visitNodes2(statements2, visitor, isStatement), + node.body.statements + ); + statements = factory2.mergeLexicalEnvironment(statements, endLexicalEnvironment()); + const iife = factory2.createImmediatelyInvokedArrowFunction(statements); + setOriginalNode(skipParentheses(iife.expression), node); + addEmitFlags(skipParentheses(iife.expression), 4 /* AdviseOnEmitNode */); + setOriginalNode(iife, node); + setTextRange(iife, node); + return iife; + } + } + function isAnonymousClassNeedingAssignedName(node) { + if (isClassExpression(node) && !node.name) { + const staticPropertiesOrClassStaticBlocks = getStaticPropertiesAndClassStaticBlock(node); + if (some(staticPropertiesOrClassStaticBlocks, isClassNamedEvaluationHelperBlock)) { + return false; + } + const hasTransformableStatics = (shouldTransformPrivateElementsOrClassStaticBlocks || !!(getInternalEmitFlags(node) && 32 /* TransformPrivateStaticElements */)) && some(staticPropertiesOrClassStaticBlocks, (node2) => isClassStaticBlockDeclaration(node2) || isPrivateIdentifierClassElementDeclaration(node2) || shouldTransformInitializers && isInitializedProperty(node2)); + return hasTransformableStatics; + } + return false; + } + function visitBinaryExpression(node, discarded) { + if (isDestructuringAssignment(node)) { + const savedPendingExpressions = pendingExpressions; + pendingExpressions = void 0; + node = factory2.updateBinaryExpression( + node, + visitNode(node.left, assignmentTargetVisitor, isExpression), + node.operatorToken, + visitNode(node.right, visitor, isExpression) + ); + const expr = some(pendingExpressions) ? factory2.inlineExpressions(compact([...pendingExpressions, node])) : node; + pendingExpressions = savedPendingExpressions; + return expr; + } + if (isAssignmentExpression(node)) { + if (isNamedEvaluation(node, isAnonymousClassNeedingAssignedName)) { + node = transformNamedEvaluation(context, node); + Debug.assertNode(node, isAssignmentExpression); + } + const left = skipOuterExpressions(node.left, 8 /* PartiallyEmittedExpressions */ | 1 /* Parentheses */); + if (isPrivateIdentifierPropertyAccessExpression(left)) { + const info = accessPrivateIdentifier2(left.name); + if (info) { + return setTextRange( + setOriginalNode( + createPrivateIdentifierAssignment(info, left.expression, node.right, node.operatorToken.kind), + node + ), + node + ); + } + } else if (shouldTransformSuperInStaticInitializers && currentClassElement && isSuperProperty(node.left) && isStaticPropertyDeclarationOrClassStaticBlock(currentClassElement) && (lexicalEnvironment == null ? void 0 : lexicalEnvironment.data)) { + const { classConstructor, superClassReference, facts } = lexicalEnvironment.data; + if (facts & 1 /* ClassWasDecorated */) { + return factory2.updateBinaryExpression( + node, + visitInvalidSuperProperty(node.left), + node.operatorToken, + visitNode(node.right, visitor, isExpression) + ); + } + if (classConstructor && superClassReference) { + let setterName = isElementAccessExpression(node.left) ? visitNode(node.left.argumentExpression, visitor, isExpression) : isIdentifier(node.left.name) ? factory2.createStringLiteralFromNode(node.left.name) : void 0; + if (setterName) { + let expression = visitNode(node.right, visitor, isExpression); + if (isCompoundAssignment(node.operatorToken.kind)) { + let getterName = setterName; + if (!isSimpleInlineableExpression(setterName)) { + getterName = factory2.createTempVariable(hoistVariableDeclaration); + setterName = factory2.createAssignment(getterName, setterName); + } + const superPropertyGet = factory2.createReflectGetCall( + superClassReference, + getterName, + classConstructor + ); + setOriginalNode(superPropertyGet, node.left); + setTextRange(superPropertyGet, node.left); + expression = factory2.createBinaryExpression( + superPropertyGet, + getNonAssignmentOperatorForCompoundAssignment(node.operatorToken.kind), + expression + ); + setTextRange(expression, node); + } + const temp = discarded ? void 0 : factory2.createTempVariable(hoistVariableDeclaration); + if (temp) { + expression = factory2.createAssignment(temp, expression); + setTextRange(temp, node); + } + expression = factory2.createReflectSetCall( + superClassReference, + setterName, + expression, + classConstructor + ); + setOriginalNode(expression, node); + setTextRange(expression, node); + if (temp) { + expression = factory2.createComma(expression, temp); + setTextRange(expression, node); + } + return expression; + } + } + } + } + if (isPrivateIdentifierInExpression(node)) { + return transformPrivateIdentifierInInExpression(node); + } + return visitEachChild(node, visitor, context); + } + function visitCommaListExpression(node, discarded) { + const elements = discarded ? visitCommaListElements(node.elements, discardedValueVisitor) : visitCommaListElements(node.elements, visitor, discardedValueVisitor); + return factory2.updateCommaListExpression(node, elements); + } + function visitParenthesizedExpression(node, discarded) { + const visitorFunc = discarded ? discardedValueVisitor : visitor; + const expression = visitNode(node.expression, visitorFunc, isExpression); + return factory2.updateParenthesizedExpression(node, expression); + } + function createPrivateIdentifierAssignment(info, receiver, right, operator) { + receiver = visitNode(receiver, visitor, isExpression); + right = visitNode(right, visitor, isExpression); + ensureDynamicThisIfNeeded(receiver); + if (isCompoundAssignment(operator)) { + const { readExpression, initializeExpression } = createCopiableReceiverExpr(receiver); + receiver = initializeExpression || readExpression; + right = factory2.createBinaryExpression( + createPrivateIdentifierAccessHelper(info, readExpression), + getNonAssignmentOperatorForCompoundAssignment(operator), + right + ); + } + setCommentRange(receiver, moveRangePos(receiver, -1)); + switch (info.kind) { + case "a" /* Accessor */: + return emitHelpers().createClassPrivateFieldSetHelper( + receiver, + info.brandCheckIdentifier, + right, + info.kind, + info.setterName + ); + case "m" /* Method */: + return emitHelpers().createClassPrivateFieldSetHelper( + receiver, + info.brandCheckIdentifier, + right, + info.kind, + /*f*/ + void 0 + ); + case "f" /* Field */: + return emitHelpers().createClassPrivateFieldSetHelper( + receiver, + info.brandCheckIdentifier, + right, + info.kind, + info.isStatic ? info.variableName : void 0 + ); + case "untransformed": + return Debug.fail("Access helpers should not be created for untransformed private elements"); + default: + Debug.assertNever(info, "Unknown private element type"); + } + } + function getPrivateInstanceMethodsAndAccessors(node) { + return filter(node.members, isNonStaticMethodOrAccessorWithPrivateName); + } + function getClassFacts(node) { + var _a; + let facts = 0 /* None */; + const original = getOriginalNode(node); + if (isClassLike(original) && classOrConstructorParameterIsDecorated(legacyDecorators, original)) { + facts |= 1 /* ClassWasDecorated */; + } + if (shouldTransformPrivateElementsOrClassStaticBlocks && (classHasClassThisAssignment(node) || classHasExplicitlyAssignedName(node))) { + facts |= 2 /* NeedsClassConstructorReference */; + } + let containsPublicInstanceFields = false; + let containsInitializedPublicInstanceFields = false; + let containsInstancePrivateElements = false; + let containsInstanceAutoAccessors = false; + for (const member of node.members) { + if (isStatic(member)) { + if (member.name && (isPrivateIdentifier(member.name) || isAutoAccessorPropertyDeclaration(member)) && shouldTransformPrivateElementsOrClassStaticBlocks) { + facts |= 2 /* NeedsClassConstructorReference */; + } else if (isAutoAccessorPropertyDeclaration(member) && shouldTransformAutoAccessors === -1 /* True */ && !node.name && !((_a = node.emitNode) == null ? void 0 : _a.classThis)) { + facts |= 2 /* NeedsClassConstructorReference */; + } + if (isPropertyDeclaration(member) || isClassStaticBlockDeclaration(member)) { + if (shouldTransformThisInStaticInitializers && member.transformFlags & 16384 /* ContainsLexicalThis */) { + facts |= 8 /* NeedsSubstitutionForThisInClassStaticField */; + if (!(facts & 1 /* ClassWasDecorated */)) { + facts |= 2 /* NeedsClassConstructorReference */; + } + } + if (shouldTransformSuperInStaticInitializers && member.transformFlags & 134217728 /* ContainsLexicalSuper */) { + if (!(facts & 1 /* ClassWasDecorated */)) { + facts |= 2 /* NeedsClassConstructorReference */ | 4 /* NeedsClassSuperReference */; + } + } + } + } else if (!hasAbstractModifier(getOriginalNode(member))) { + if (isAutoAccessorPropertyDeclaration(member)) { + containsInstanceAutoAccessors = true; + containsInstancePrivateElements || (containsInstancePrivateElements = isPrivateIdentifierClassElementDeclaration(member)); + } else if (isPrivateIdentifierClassElementDeclaration(member)) { + containsInstancePrivateElements = true; + if (resolver.hasNodeCheckFlag(member, 262144 /* ContainsConstructorReference */)) { + facts |= 2 /* NeedsClassConstructorReference */; + } + } else if (isPropertyDeclaration(member)) { + containsPublicInstanceFields = true; + containsInitializedPublicInstanceFields || (containsInitializedPublicInstanceFields = !!member.initializer); + } + } + } + const willHoistInitializersToConstructor = shouldTransformInitializersUsingDefine && containsPublicInstanceFields || shouldTransformInitializersUsingSet && containsInitializedPublicInstanceFields || shouldTransformPrivateElementsOrClassStaticBlocks && containsInstancePrivateElements || shouldTransformPrivateElementsOrClassStaticBlocks && containsInstanceAutoAccessors && shouldTransformAutoAccessors === -1 /* True */; + if (willHoistInitializersToConstructor) { + facts |= 16 /* WillHoistInitializersToConstructor */; + } + return facts; + } + function visitExpressionWithTypeArgumentsInHeritageClause(node) { + var _a; + const facts = ((_a = lexicalEnvironment == null ? void 0 : lexicalEnvironment.data) == null ? void 0 : _a.facts) || 0 /* None */; + if (facts & 4 /* NeedsClassSuperReference */) { + const temp = factory2.createTempVariable( + hoistVariableDeclaration, + /*reservedInNestedScopes*/ + true + ); + getClassLexicalEnvironment().superClassReference = temp; + return factory2.updateExpressionWithTypeArguments( + node, + factory2.createAssignment( + temp, + visitNode(node.expression, visitor, isExpression) + ), + /*typeArguments*/ + void 0 + ); + } + return visitEachChild(node, visitor, context); + } + function visitInNewClassLexicalEnvironment(node, visitor2) { + var _a; + const savedCurrentClassContainer = currentClassContainer; + const savedPendingExpressions = pendingExpressions; + const savedLexicalEnvironment = lexicalEnvironment; + currentClassContainer = node; + pendingExpressions = void 0; + startClassLexicalEnvironment(); + const shouldAlwaysTransformPrivateStaticElements = getInternalEmitFlags(node) & 32 /* TransformPrivateStaticElements */; + if (shouldTransformPrivateElementsOrClassStaticBlocks || shouldAlwaysTransformPrivateStaticElements) { + const name = getNameOfDeclaration(node); + if (name && isIdentifier(name)) { + getPrivateIdentifierEnvironment().data.className = name; + } else if ((_a = node.emitNode) == null ? void 0 : _a.assignedName) { + if (isStringLiteral(node.emitNode.assignedName)) { + if (node.emitNode.assignedName.textSourceNode && isIdentifier(node.emitNode.assignedName.textSourceNode)) { + getPrivateIdentifierEnvironment().data.className = node.emitNode.assignedName.textSourceNode; + } else if (isIdentifierText(node.emitNode.assignedName.text, languageVersion)) { + const prefixName = factory2.createIdentifier(node.emitNode.assignedName.text); + getPrivateIdentifierEnvironment().data.className = prefixName; + } + } + } + } + if (shouldTransformPrivateElementsOrClassStaticBlocks) { + const privateInstanceMethodsAndAccessors = getPrivateInstanceMethodsAndAccessors(node); + if (some(privateInstanceMethodsAndAccessors)) { + getPrivateIdentifierEnvironment().data.weakSetName = createHoistedVariableForClass( + "instances", + privateInstanceMethodsAndAccessors[0].name + ); + } + } + const facts = getClassFacts(node); + if (facts) { + getClassLexicalEnvironment().facts = facts; + } + if (facts & 8 /* NeedsSubstitutionForThisInClassStaticField */) { + enableSubstitutionForClassStaticThisOrSuperReference(); + } + const result = visitor2(node, facts); + endClassLexicalEnvironment(); + Debug.assert(lexicalEnvironment === savedLexicalEnvironment); + currentClassContainer = savedCurrentClassContainer; + pendingExpressions = savedPendingExpressions; + return result; + } + function visitClassDeclaration(node) { + return visitInNewClassLexicalEnvironment(node, visitClassDeclarationInNewClassLexicalEnvironment); + } + function visitClassDeclarationInNewClassLexicalEnvironment(node, facts) { + var _a, _b; + let pendingClassReferenceAssignment; + if (facts & 2 /* NeedsClassConstructorReference */) { + if (shouldTransformPrivateElementsOrClassStaticBlocks && ((_a = node.emitNode) == null ? void 0 : _a.classThis)) { + getClassLexicalEnvironment().classConstructor = node.emitNode.classThis; + pendingClassReferenceAssignment = factory2.createAssignment(node.emitNode.classThis, factory2.getInternalName(node)); + } else { + const temp = factory2.createTempVariable( + hoistVariableDeclaration, + /*reservedInNestedScopes*/ + true + ); + getClassLexicalEnvironment().classConstructor = factory2.cloneNode(temp); + pendingClassReferenceAssignment = factory2.createAssignment(temp, factory2.getInternalName(node)); + } + } + if ((_b = node.emitNode) == null ? void 0 : _b.classThis) { + getClassLexicalEnvironment().classThis = node.emitNode.classThis; + } + const isClassWithConstructorReference = resolver.hasNodeCheckFlag(node, 262144 /* ContainsConstructorReference */); + const isExport = hasSyntacticModifier(node, 32 /* Export */); + const isDefault = hasSyntacticModifier(node, 2048 /* Default */); + let modifiers = visitNodes2(node.modifiers, modifierVisitor, isModifier); + const heritageClauses = visitNodes2(node.heritageClauses, heritageClauseVisitor, isHeritageClause); + const { members, prologue } = transformClassMembers(node); + const statements = []; + if (pendingClassReferenceAssignment) { + getPendingExpressions().unshift(pendingClassReferenceAssignment); + } + if (some(pendingExpressions)) { + statements.push(factory2.createExpressionStatement(factory2.inlineExpressions(pendingExpressions))); + } + if (shouldTransformInitializersUsingSet || shouldTransformPrivateElementsOrClassStaticBlocks || getInternalEmitFlags(node) & 32 /* TransformPrivateStaticElements */) { + const staticProperties = getStaticPropertiesAndClassStaticBlock(node); + if (some(staticProperties)) { + addPropertyOrClassStaticBlockStatements(statements, staticProperties, factory2.getInternalName(node)); + } + } + if (statements.length > 0 && isExport && isDefault) { + modifiers = visitNodes2(modifiers, (node2) => isExportOrDefaultModifier(node2) ? void 0 : node2, isModifier); + statements.push(factory2.createExportAssignment( + /*modifiers*/ + void 0, + /*isExportEquals*/ + false, + factory2.getLocalName( + node, + /*allowComments*/ + false, + /*allowSourceMaps*/ + true + ) + )); + } + const alias = getClassLexicalEnvironment().classConstructor; + if (isClassWithConstructorReference && alias) { + enableSubstitutionForClassAliases(); + classAliases[getOriginalNodeId(node)] = alias; + } + const classDecl = factory2.updateClassDeclaration( + node, + modifiers, + node.name, + /*typeParameters*/ + void 0, + heritageClauses, + members + ); + statements.unshift(classDecl); + if (prologue) { + statements.unshift(factory2.createExpressionStatement(prologue)); + } + return statements; + } + function visitClassExpression(node) { + return visitInNewClassLexicalEnvironment(node, visitClassExpressionInNewClassLexicalEnvironment); + } + function visitClassExpressionInNewClassLexicalEnvironment(node, facts) { + var _a, _b, _c; + const isDecoratedClassDeclaration = !!(facts & 1 /* ClassWasDecorated */); + const staticPropertiesOrClassStaticBlocks = getStaticPropertiesAndClassStaticBlock(node); + const isClassWithConstructorReference = resolver.hasNodeCheckFlag(node, 262144 /* ContainsConstructorReference */); + const requiresBlockScopedVar = resolver.hasNodeCheckFlag(node, 32768 /* BlockScopedBindingInLoop */); + let temp; + function createClassTempVar() { + var _a2; + if (shouldTransformPrivateElementsOrClassStaticBlocks && ((_a2 = node.emitNode) == null ? void 0 : _a2.classThis)) { + return getClassLexicalEnvironment().classConstructor = node.emitNode.classThis; + } + const temp2 = factory2.createTempVariable( + requiresBlockScopedVar ? addBlockScopedVariable : hoistVariableDeclaration, + /*reservedInNestedScopes*/ + true + ); + getClassLexicalEnvironment().classConstructor = factory2.cloneNode(temp2); + return temp2; + } + if ((_a = node.emitNode) == null ? void 0 : _a.classThis) { + getClassLexicalEnvironment().classThis = node.emitNode.classThis; + } + if (facts & 2 /* NeedsClassConstructorReference */) { + temp ?? (temp = createClassTempVar()); + } + const modifiers = visitNodes2(node.modifiers, modifierVisitor, isModifier); + const heritageClauses = visitNodes2(node.heritageClauses, heritageClauseVisitor, isHeritageClause); + const { members, prologue } = transformClassMembers(node); + const classExpression = factory2.updateClassExpression( + node, + modifiers, + node.name, + /*typeParameters*/ + void 0, + heritageClauses, + members + ); + const expressions = []; + if (prologue) { + expressions.push(prologue); + } + const hasTransformableStatics = (shouldTransformPrivateElementsOrClassStaticBlocks || getInternalEmitFlags(node) & 32 /* TransformPrivateStaticElements */) && some(staticPropertiesOrClassStaticBlocks, (node2) => isClassStaticBlockDeclaration(node2) || isPrivateIdentifierClassElementDeclaration(node2) || shouldTransformInitializers && isInitializedProperty(node2)); + if (hasTransformableStatics || some(pendingExpressions)) { + if (isDecoratedClassDeclaration) { + Debug.assertIsDefined(pendingStatements, "Decorated classes transformed by TypeScript are expected to be within a variable declaration."); + if (some(pendingExpressions)) { + addRange(pendingStatements, map(pendingExpressions, factory2.createExpressionStatement)); + } + if (some(staticPropertiesOrClassStaticBlocks)) { + addPropertyOrClassStaticBlockStatements(pendingStatements, staticPropertiesOrClassStaticBlocks, ((_b = node.emitNode) == null ? void 0 : _b.classThis) ?? factory2.getInternalName(node)); + } + if (temp) { + expressions.push(factory2.createAssignment(temp, classExpression)); + } else if (shouldTransformPrivateElementsOrClassStaticBlocks && ((_c = node.emitNode) == null ? void 0 : _c.classThis)) { + expressions.push(factory2.createAssignment(node.emitNode.classThis, classExpression)); + } else { + expressions.push(classExpression); + } + } else { + temp ?? (temp = createClassTempVar()); + if (isClassWithConstructorReference) { + enableSubstitutionForClassAliases(); + const alias = factory2.cloneNode(temp); + alias.emitNode.autoGenerate.flags &= ~8 /* ReservedInNestedScopes */; + classAliases[getOriginalNodeId(node)] = alias; + } + expressions.push(factory2.createAssignment(temp, classExpression)); + addRange(expressions, pendingExpressions); + addRange(expressions, generateInitializedPropertyExpressionsOrClassStaticBlock(staticPropertiesOrClassStaticBlocks, temp)); + expressions.push(factory2.cloneNode(temp)); + } + } else { + expressions.push(classExpression); + } + if (expressions.length > 1) { + addEmitFlags(classExpression, 131072 /* Indented */); + expressions.forEach(startOnNewLine); + } + return factory2.inlineExpressions(expressions); + } + function visitClassStaticBlockDeclaration(node) { + if (!shouldTransformPrivateElementsOrClassStaticBlocks) { + return visitEachChild(node, visitor, context); + } + return void 0; + } + function visitThisExpression(node) { + if (shouldTransformThisInStaticInitializers && currentClassElement && isClassStaticBlockDeclaration(currentClassElement) && (lexicalEnvironment == null ? void 0 : lexicalEnvironment.data)) { + const { classThis, classConstructor } = lexicalEnvironment.data; + return classThis ?? classConstructor ?? node; + } + return node; + } + function transformClassMembers(node) { + const shouldTransformPrivateStaticElementsInClass = !!(getInternalEmitFlags(node) & 32 /* TransformPrivateStaticElements */); + if (shouldTransformPrivateElementsOrClassStaticBlocks || shouldTransformPrivateStaticElementsInFile) { + for (const member of node.members) { + if (isPrivateIdentifierClassElementDeclaration(member)) { + if (shouldTransformClassElementToWeakMap(member)) { + addPrivateIdentifierToEnvironment(member, member.name, addPrivateIdentifierClassElementToEnvironment); + } else { + const privateEnv = getPrivateIdentifierEnvironment(); + setPrivateIdentifier(privateEnv, member.name, { kind: "untransformed" }); + } + } + } + if (shouldTransformPrivateElementsOrClassStaticBlocks) { + if (some(getPrivateInstanceMethodsAndAccessors(node))) { + createBrandCheckWeakSetForPrivateMethods(); + } + } + if (shouldTransformAutoAccessorsInCurrentClass()) { + for (const member of node.members) { + if (isAutoAccessorPropertyDeclaration(member)) { + const storageName = factory2.getGeneratedPrivateNameForNode( + member.name, + /*prefix*/ + void 0, + "_accessor_storage" + ); + if (shouldTransformPrivateElementsOrClassStaticBlocks || shouldTransformPrivateStaticElementsInClass && hasStaticModifier(member)) { + addPrivateIdentifierToEnvironment(member, storageName, addPrivateIdentifierPropertyDeclarationToEnvironment); + } else { + const privateEnv = getPrivateIdentifierEnvironment(); + setPrivateIdentifier(privateEnv, storageName, { kind: "untransformed" }); + } + } + } + } + } + let members = visitNodes2(node.members, classElementVisitor, isClassElement); + let syntheticConstructor; + if (!some(members, isConstructorDeclaration)) { + syntheticConstructor = transformConstructor( + /*constructor*/ + void 0, + node + ); + } + let prologue; + let syntheticStaticBlock; + if (!shouldTransformPrivateElementsOrClassStaticBlocks && some(pendingExpressions)) { + let statement = factory2.createExpressionStatement(factory2.inlineExpressions(pendingExpressions)); + if (statement.transformFlags & 134234112 /* ContainsLexicalThisOrSuper */) { + const temp = factory2.createTempVariable(hoistVariableDeclaration); + const arrow = factory2.createArrowFunction( + /*modifiers*/ + void 0, + /*typeParameters*/ + void 0, + /*parameters*/ + [], + /*type*/ + void 0, + /*equalsGreaterThanToken*/ + void 0, + factory2.createBlock([statement]) + ); + prologue = factory2.createAssignment(temp, arrow); + statement = factory2.createExpressionStatement(factory2.createCallExpression( + temp, + /*typeArguments*/ + void 0, + [] + )); + } + const block = factory2.createBlock([statement]); + syntheticStaticBlock = factory2.createClassStaticBlockDeclaration(block); + pendingExpressions = void 0; + } + if (syntheticConstructor || syntheticStaticBlock) { + let membersArray; + const classThisAssignmentBlock = find(members, isClassThisAssignmentBlock); + const classNamedEvaluationHelperBlock = find(members, isClassNamedEvaluationHelperBlock); + membersArray = append(membersArray, classThisAssignmentBlock); + membersArray = append(membersArray, classNamedEvaluationHelperBlock); + membersArray = append(membersArray, syntheticConstructor); + membersArray = append(membersArray, syntheticStaticBlock); + const remainingMembers = classThisAssignmentBlock || classNamedEvaluationHelperBlock ? filter(members, (member) => member !== classThisAssignmentBlock && member !== classNamedEvaluationHelperBlock) : members; + membersArray = addRange(membersArray, remainingMembers); + members = setTextRange( + factory2.createNodeArray(membersArray), + /*location*/ + node.members + ); + } + return { members, prologue }; + } + function createBrandCheckWeakSetForPrivateMethods() { + const { weakSetName } = getPrivateIdentifierEnvironment().data; + Debug.assert(weakSetName, "weakSetName should be set in private identifier environment"); + getPendingExpressions().push( + factory2.createAssignment( + weakSetName, + factory2.createNewExpression( + factory2.createIdentifier("WeakSet"), + /*typeArguments*/ + void 0, + [] + ) + ) + ); + } + function transformConstructor(constructor, container) { + constructor = visitNode(constructor, visitor, isConstructorDeclaration); + if (!(lexicalEnvironment == null ? void 0 : lexicalEnvironment.data) || !(lexicalEnvironment.data.facts & 16 /* WillHoistInitializersToConstructor */)) { + return constructor; + } + const extendsClauseElement = getEffectiveBaseTypeNode(container); + const isDerivedClass = !!(extendsClauseElement && skipOuterExpressions(extendsClauseElement.expression).kind !== 106 /* NullKeyword */); + const parameters = visitParameterList(constructor ? constructor.parameters : void 0, visitor, context); + const body = transformConstructorBody(container, constructor, isDerivedClass); + if (!body) { + return constructor; + } + if (constructor) { + Debug.assert(parameters); + return factory2.updateConstructorDeclaration( + constructor, + /*modifiers*/ + void 0, + parameters, + body + ); + } + return startOnNewLine( + setOriginalNode( + setTextRange( + factory2.createConstructorDeclaration( + /*modifiers*/ + void 0, + parameters ?? [], + body + ), + constructor || container + ), + constructor + ) + ); + } + function transformConstructorBodyWorker(statementsOut, statementsIn, statementOffset, superPath, superPathDepth, initializerStatements, constructor) { + const superStatementIndex = superPath[superPathDepth]; + const superStatement = statementsIn[superStatementIndex]; + addRange(statementsOut, visitNodes2(statementsIn, visitor, isStatement, statementOffset, superStatementIndex - statementOffset)); + statementOffset = superStatementIndex + 1; + if (isTryStatement(superStatement)) { + const tryBlockStatements = []; + transformConstructorBodyWorker( + tryBlockStatements, + superStatement.tryBlock.statements, + /*statementOffset*/ + 0, + superPath, + superPathDepth + 1, + initializerStatements, + constructor + ); + const tryBlockStatementsArray = factory2.createNodeArray(tryBlockStatements); + setTextRange(tryBlockStatementsArray, superStatement.tryBlock.statements); + statementsOut.push(factory2.updateTryStatement( + superStatement, + factory2.updateBlock(superStatement.tryBlock, tryBlockStatements), + visitNode(superStatement.catchClause, visitor, isCatchClause), + visitNode(superStatement.finallyBlock, visitor, isBlock) + )); + } else { + addRange(statementsOut, visitNodes2(statementsIn, visitor, isStatement, superStatementIndex, 1)); + while (statementOffset < statementsIn.length) { + const statement = statementsIn[statementOffset]; + if (isParameterPropertyDeclaration(getOriginalNode(statement), constructor)) { + statementOffset++; + } else { + break; + } + } + addRange(statementsOut, initializerStatements); + } + addRange(statementsOut, visitNodes2(statementsIn, visitor, isStatement, statementOffset)); + } + function transformConstructorBody(node, constructor, isDerivedClass) { + var _a; + const instanceProperties = getProperties( + node, + /*requireInitializer*/ + false, + /*isStatic*/ + false + ); + let properties = instanceProperties; + if (!useDefineForClassFields) { + properties = filter(properties, (property) => !!property.initializer || isPrivateIdentifier(property.name) || hasAccessorModifier(property)); + } + const privateMethodsAndAccessors = getPrivateInstanceMethodsAndAccessors(node); + const needsConstructorBody = some(properties) || some(privateMethodsAndAccessors); + if (!constructor && !needsConstructorBody) { + return visitFunctionBody( + /*node*/ + void 0, + visitor, + context + ); + } + resumeLexicalEnvironment(); + const needsSyntheticConstructor = !constructor && isDerivedClass; + let statementOffset = 0; + let statements = []; + const initializerStatements = []; + const receiver = factory2.createThis(); + addInstanceMethodStatements(initializerStatements, privateMethodsAndAccessors, receiver); + if (constructor) { + const parameterProperties = filter(instanceProperties, (prop) => isParameterPropertyDeclaration(getOriginalNode(prop), constructor)); + const nonParameterProperties = filter(properties, (prop) => !isParameterPropertyDeclaration(getOriginalNode(prop), constructor)); + addPropertyOrClassStaticBlockStatements(initializerStatements, parameterProperties, receiver); + addPropertyOrClassStaticBlockStatements(initializerStatements, nonParameterProperties, receiver); + } else { + addPropertyOrClassStaticBlockStatements(initializerStatements, properties, receiver); + } + if (constructor == null ? void 0 : constructor.body) { + statementOffset = factory2.copyPrologue( + constructor.body.statements, + statements, + /*ensureUseStrict*/ + false, + visitor + ); + const superStatementIndices = findSuperStatementIndexPath(constructor.body.statements, statementOffset); + if (superStatementIndices.length) { + transformConstructorBodyWorker( + statements, + constructor.body.statements, + statementOffset, + superStatementIndices, + /*superPathDepth*/ + 0, + initializerStatements, + constructor + ); + } else { + while (statementOffset < constructor.body.statements.length) { + const statement = constructor.body.statements[statementOffset]; + if (isParameterPropertyDeclaration(getOriginalNode(statement), constructor)) { + statementOffset++; + } else { + break; + } + } + addRange(statements, initializerStatements); + addRange(statements, visitNodes2(constructor.body.statements, visitor, isStatement, statementOffset)); + } + } else { + if (needsSyntheticConstructor) { + statements.push( + factory2.createExpressionStatement( + factory2.createCallExpression( + factory2.createSuper(), + /*typeArguments*/ + void 0, + [factory2.createSpreadElement(factory2.createIdentifier("arguments"))] + ) + ) + ); + } + addRange(statements, initializerStatements); + } + statements = factory2.mergeLexicalEnvironment(statements, endLexicalEnvironment()); + if (statements.length === 0 && !constructor) { + return void 0; + } + const multiLine = (constructor == null ? void 0 : constructor.body) && constructor.body.statements.length >= statements.length ? constructor.body.multiLine ?? statements.length > 0 : statements.length > 0; + return setTextRange( + factory2.createBlock( + setTextRange( + factory2.createNodeArray(statements), + /*location*/ + ((_a = constructor == null ? void 0 : constructor.body) == null ? void 0 : _a.statements) ?? node.members + ), + multiLine + ), + /*location*/ + constructor == null ? void 0 : constructor.body + ); + } + function addPropertyOrClassStaticBlockStatements(statements, properties, receiver) { + for (const property of properties) { + if (isStatic(property) && !shouldTransformPrivateElementsOrClassStaticBlocks) { + continue; + } + const statement = transformPropertyOrClassStaticBlock(property, receiver); + if (!statement) { + continue; + } + statements.push(statement); + } + } + function transformPropertyOrClassStaticBlock(property, receiver) { + const expression = isClassStaticBlockDeclaration(property) ? setCurrentClassElementAnd(property, transformClassStaticBlockDeclaration, property) : transformProperty(property, receiver); + if (!expression) { + return void 0; + } + const statement = factory2.createExpressionStatement(expression); + setOriginalNode(statement, property); + addEmitFlags(statement, getEmitFlags(property) & 3072 /* NoComments */); + setCommentRange(statement, property); + const propertyOriginalNode = getOriginalNode(property); + if (isParameter(propertyOriginalNode)) { + setSourceMapRange(statement, propertyOriginalNode); + removeAllComments(statement); + } else { + setSourceMapRange(statement, moveRangePastModifiers(property)); + } + setSyntheticLeadingComments(expression, void 0); + setSyntheticTrailingComments(expression, void 0); + if (hasAccessorModifier(propertyOriginalNode)) { + addEmitFlags(statement, 3072 /* NoComments */); + } + return statement; + } + function generateInitializedPropertyExpressionsOrClassStaticBlock(propertiesOrClassStaticBlocks, receiver) { + const expressions = []; + for (const property of propertiesOrClassStaticBlocks) { + const expression = isClassStaticBlockDeclaration(property) ? setCurrentClassElementAnd(property, transformClassStaticBlockDeclaration, property) : setCurrentClassElementAnd( + property, + () => transformProperty(property, receiver), + /*arg*/ + void 0 + ); + if (!expression) { + continue; + } + startOnNewLine(expression); + setOriginalNode(expression, property); + addEmitFlags(expression, getEmitFlags(property) & 3072 /* NoComments */); + setSourceMapRange(expression, moveRangePastModifiers(property)); + setCommentRange(expression, property); + expressions.push(expression); + } + return expressions; + } + function transformProperty(property, receiver) { + var _a; + const savedCurrentClassElement = currentClassElement; + const transformed = transformPropertyWorker(property, receiver); + if (transformed && hasStaticModifier(property) && ((_a = lexicalEnvironment == null ? void 0 : lexicalEnvironment.data) == null ? void 0 : _a.facts)) { + setOriginalNode(transformed, property); + addEmitFlags(transformed, 4 /* AdviseOnEmitNode */); + setSourceMapRange(transformed, getSourceMapRange(property.name)); + lexicalEnvironmentMap.set(getOriginalNode(property), lexicalEnvironment); + } + currentClassElement = savedCurrentClassElement; + return transformed; + } + function transformPropertyWorker(property, receiver) { + const emitAssignment = !useDefineForClassFields; + if (isNamedEvaluation(property, isAnonymousClassNeedingAssignedName)) { + property = transformNamedEvaluation(context, property); + } + const propertyName = hasAccessorModifier(property) ? factory2.getGeneratedPrivateNameForNode(property.name) : isComputedPropertyName(property.name) && !isSimpleInlineableExpression(property.name.expression) ? factory2.updateComputedPropertyName(property.name, factory2.getGeneratedNameForNode(property.name)) : property.name; + if (hasStaticModifier(property)) { + currentClassElement = property; + } + if (isPrivateIdentifier(propertyName) && shouldTransformClassElementToWeakMap(property)) { + const privateIdentifierInfo = accessPrivateIdentifier2(propertyName); + if (privateIdentifierInfo) { + if (privateIdentifierInfo.kind === "f" /* Field */) { + if (!privateIdentifierInfo.isStatic) { + return createPrivateInstanceFieldInitializer( + factory2, + receiver, + visitNode(property.initializer, visitor, isExpression), + privateIdentifierInfo.brandCheckIdentifier + ); + } else { + return createPrivateStaticFieldInitializer( + factory2, + privateIdentifierInfo.variableName, + visitNode(property.initializer, visitor, isExpression) + ); + } + } else { + return void 0; + } + } else { + Debug.fail("Undeclared private name for property declaration."); + } + } + if ((isPrivateIdentifier(propertyName) || hasStaticModifier(property)) && !property.initializer) { + return void 0; + } + const propertyOriginalNode = getOriginalNode(property); + if (hasSyntacticModifier(propertyOriginalNode, 64 /* Abstract */)) { + return void 0; + } + let initializer = visitNode(property.initializer, visitor, isExpression); + if (isParameterPropertyDeclaration(propertyOriginalNode, propertyOriginalNode.parent) && isIdentifier(propertyName)) { + const localName = factory2.cloneNode(propertyName); + if (initializer) { + if (isParenthesizedExpression(initializer) && isCommaExpression(initializer.expression) && isCallToHelper(initializer.expression.left, "___runInitializers") && isVoidExpression(initializer.expression.right) && isNumericLiteral(initializer.expression.right.expression)) { + initializer = initializer.expression.left; + } + initializer = factory2.inlineExpressions([initializer, localName]); + } else { + initializer = localName; + } + setEmitFlags(propertyName, 3072 /* NoComments */ | 96 /* NoSourceMap */); + setSourceMapRange(localName, propertyOriginalNode.name); + setEmitFlags(localName, 3072 /* NoComments */); + } else { + initializer ?? (initializer = factory2.createVoidZero()); + } + if (emitAssignment || isPrivateIdentifier(propertyName)) { + const memberAccess = createMemberAccessForPropertyName( + factory2, + receiver, + propertyName, + /*location*/ + propertyName + ); + addEmitFlags(memberAccess, 1024 /* NoLeadingComments */); + const expression = factory2.createAssignment(memberAccess, initializer); + return expression; + } else { + const name = isComputedPropertyName(propertyName) ? propertyName.expression : isIdentifier(propertyName) ? factory2.createStringLiteral(unescapeLeadingUnderscores(propertyName.escapedText)) : propertyName; + const descriptor = factory2.createPropertyDescriptor({ value: initializer, configurable: true, writable: true, enumerable: true }); + return factory2.createObjectDefinePropertyCall(receiver, name, descriptor); + } + } + function enableSubstitutionForClassAliases() { + if ((enabledSubstitutions & 1 /* ClassAliases */) === 0) { + enabledSubstitutions |= 1 /* ClassAliases */; + context.enableSubstitution(80 /* Identifier */); + classAliases = []; + } + } + function enableSubstitutionForClassStaticThisOrSuperReference() { + if ((enabledSubstitutions & 2 /* ClassStaticThisOrSuperReference */) === 0) { + enabledSubstitutions |= 2 /* ClassStaticThisOrSuperReference */; + context.enableSubstitution(110 /* ThisKeyword */); + context.enableEmitNotification(262 /* FunctionDeclaration */); + context.enableEmitNotification(218 /* FunctionExpression */); + context.enableEmitNotification(176 /* Constructor */); + context.enableEmitNotification(177 /* GetAccessor */); + context.enableEmitNotification(178 /* SetAccessor */); + context.enableEmitNotification(174 /* MethodDeclaration */); + context.enableEmitNotification(172 /* PropertyDeclaration */); + context.enableEmitNotification(167 /* ComputedPropertyName */); + } + } + function addInstanceMethodStatements(statements, methods, receiver) { + if (!shouldTransformPrivateElementsOrClassStaticBlocks || !some(methods)) { + return; + } + const { weakSetName } = getPrivateIdentifierEnvironment().data; + Debug.assert(weakSetName, "weakSetName should be set in private identifier environment"); + statements.push( + factory2.createExpressionStatement( + createPrivateInstanceMethodInitializer(factory2, receiver, weakSetName) + ) + ); + } + function visitInvalidSuperProperty(node) { + return isPropertyAccessExpression(node) ? factory2.updatePropertyAccessExpression( + node, + factory2.createVoidZero(), + node.name + ) : factory2.updateElementAccessExpression( + node, + factory2.createVoidZero(), + visitNode(node.argumentExpression, visitor, isExpression) + ); + } + function getPropertyNameExpressionIfNeeded(name, shouldHoist) { + if (isComputedPropertyName(name)) { + const cacheAssignment = findComputedPropertyNameCacheAssignment(name); + const expression = visitNode(name.expression, visitor, isExpression); + const innerExpression = skipPartiallyEmittedExpressions(expression); + const inlinable = isSimpleInlineableExpression(innerExpression); + const alreadyTransformed = !!cacheAssignment || isAssignmentExpression(innerExpression) && isGeneratedIdentifier(innerExpression.left); + if (!alreadyTransformed && !inlinable && shouldHoist) { + const generatedName = factory2.getGeneratedNameForNode(name); + if (resolver.hasNodeCheckFlag(name, 32768 /* BlockScopedBindingInLoop */)) { + addBlockScopedVariable(generatedName); + } else { + hoistVariableDeclaration(generatedName); + } + return factory2.createAssignment(generatedName, expression); + } + return inlinable || isIdentifier(innerExpression) ? void 0 : expression; + } + } + function startClassLexicalEnvironment() { + lexicalEnvironment = { previous: lexicalEnvironment, data: void 0 }; + } + function endClassLexicalEnvironment() { + lexicalEnvironment = lexicalEnvironment == null ? void 0 : lexicalEnvironment.previous; + } + function getClassLexicalEnvironment() { + Debug.assert(lexicalEnvironment); + return lexicalEnvironment.data ?? (lexicalEnvironment.data = { + facts: 0 /* None */, + classConstructor: void 0, + classThis: void 0, + superClassReference: void 0 + // privateIdentifierEnvironment: undefined, + }); + } + function getPrivateIdentifierEnvironment() { + Debug.assert(lexicalEnvironment); + return lexicalEnvironment.privateEnv ?? (lexicalEnvironment.privateEnv = newPrivateEnvironment({ + className: void 0, + weakSetName: void 0 + })); + } + function getPendingExpressions() { + return pendingExpressions ?? (pendingExpressions = []); + } + function addPrivateIdentifierClassElementToEnvironment(node, name, lex, privateEnv, isStatic2, isValid, previousInfo) { + if (isAutoAccessorPropertyDeclaration(node)) { + addPrivateIdentifierAutoAccessorPropertyDeclarationToEnvironment(node, name, lex, privateEnv, isStatic2, isValid, previousInfo); + } else if (isPropertyDeclaration(node)) { + addPrivateIdentifierPropertyDeclarationToEnvironment(node, name, lex, privateEnv, isStatic2, isValid, previousInfo); + } else if (isMethodDeclaration(node)) { + addPrivateIdentifierMethodDeclarationToEnvironment(node, name, lex, privateEnv, isStatic2, isValid, previousInfo); + } else if (isGetAccessorDeclaration(node)) { + addPrivateIdentifierGetAccessorDeclarationToEnvironment(node, name, lex, privateEnv, isStatic2, isValid, previousInfo); + } else if (isSetAccessorDeclaration(node)) { + addPrivateIdentifierSetAccessorDeclarationToEnvironment(node, name, lex, privateEnv, isStatic2, isValid, previousInfo); + } + } + function addPrivateIdentifierPropertyDeclarationToEnvironment(_node, name, lex, privateEnv, isStatic2, isValid, _previousInfo) { + if (isStatic2) { + const brandCheckIdentifier = Debug.checkDefined(lex.classThis ?? lex.classConstructor, "classConstructor should be set in private identifier environment"); + const variableName = createHoistedVariableForPrivateName(name); + setPrivateIdentifier(privateEnv, name, { + kind: "f" /* Field */, + isStatic: true, + brandCheckIdentifier, + variableName, + isValid + }); + } else { + const weakMapName = createHoistedVariableForPrivateName(name); + setPrivateIdentifier(privateEnv, name, { + kind: "f" /* Field */, + isStatic: false, + brandCheckIdentifier: weakMapName, + isValid + }); + getPendingExpressions().push(factory2.createAssignment( + weakMapName, + factory2.createNewExpression( + factory2.createIdentifier("WeakMap"), + /*typeArguments*/ + void 0, + [] + ) + )); + } + } + function addPrivateIdentifierMethodDeclarationToEnvironment(_node, name, lex, privateEnv, isStatic2, isValid, _previousInfo) { + const methodName = createHoistedVariableForPrivateName(name); + const brandCheckIdentifier = isStatic2 ? Debug.checkDefined(lex.classThis ?? lex.classConstructor, "classConstructor should be set in private identifier environment") : Debug.checkDefined(privateEnv.data.weakSetName, "weakSetName should be set in private identifier environment"); + setPrivateIdentifier(privateEnv, name, { + kind: "m" /* Method */, + methodName, + brandCheckIdentifier, + isStatic: isStatic2, + isValid + }); + } + function addPrivateIdentifierGetAccessorDeclarationToEnvironment(_node, name, lex, privateEnv, isStatic2, isValid, previousInfo) { + const getterName = createHoistedVariableForPrivateName(name, "_get"); + const brandCheckIdentifier = isStatic2 ? Debug.checkDefined(lex.classThis ?? lex.classConstructor, "classConstructor should be set in private identifier environment") : Debug.checkDefined(privateEnv.data.weakSetName, "weakSetName should be set in private identifier environment"); + if ((previousInfo == null ? void 0 : previousInfo.kind) === "a" /* Accessor */ && previousInfo.isStatic === isStatic2 && !previousInfo.getterName) { + previousInfo.getterName = getterName; + } else { + setPrivateIdentifier(privateEnv, name, { + kind: "a" /* Accessor */, + getterName, + setterName: void 0, + brandCheckIdentifier, + isStatic: isStatic2, + isValid + }); + } + } + function addPrivateIdentifierSetAccessorDeclarationToEnvironment(_node, name, lex, privateEnv, isStatic2, isValid, previousInfo) { + const setterName = createHoistedVariableForPrivateName(name, "_set"); + const brandCheckIdentifier = isStatic2 ? Debug.checkDefined(lex.classThis ?? lex.classConstructor, "classConstructor should be set in private identifier environment") : Debug.checkDefined(privateEnv.data.weakSetName, "weakSetName should be set in private identifier environment"); + if ((previousInfo == null ? void 0 : previousInfo.kind) === "a" /* Accessor */ && previousInfo.isStatic === isStatic2 && !previousInfo.setterName) { + previousInfo.setterName = setterName; + } else { + setPrivateIdentifier(privateEnv, name, { + kind: "a" /* Accessor */, + getterName: void 0, + setterName, + brandCheckIdentifier, + isStatic: isStatic2, + isValid + }); + } + } + function addPrivateIdentifierAutoAccessorPropertyDeclarationToEnvironment(_node, name, lex, privateEnv, isStatic2, isValid, _previousInfo) { + const getterName = createHoistedVariableForPrivateName(name, "_get"); + const setterName = createHoistedVariableForPrivateName(name, "_set"); + const brandCheckIdentifier = isStatic2 ? Debug.checkDefined(lex.classThis ?? lex.classConstructor, "classConstructor should be set in private identifier environment") : Debug.checkDefined(privateEnv.data.weakSetName, "weakSetName should be set in private identifier environment"); + setPrivateIdentifier(privateEnv, name, { + kind: "a" /* Accessor */, + getterName, + setterName, + brandCheckIdentifier, + isStatic: isStatic2, + isValid + }); + } + function addPrivateIdentifierToEnvironment(node, name, addDeclaration) { + const lex = getClassLexicalEnvironment(); + const privateEnv = getPrivateIdentifierEnvironment(); + const previousInfo = getPrivateIdentifier(privateEnv, name); + const isStatic2 = hasStaticModifier(node); + const isValid = !isReservedPrivateName(name) && previousInfo === void 0; + addDeclaration(node, name, lex, privateEnv, isStatic2, isValid, previousInfo); + } + function createHoistedVariableForClass(name, node, suffix) { + const { className } = getPrivateIdentifierEnvironment().data; + const prefix = className ? { prefix: "_", node: className, suffix: "_" } : "_"; + const identifier = typeof name === "object" ? factory2.getGeneratedNameForNode(name, 16 /* Optimistic */ | 8 /* ReservedInNestedScopes */, prefix, suffix) : typeof name === "string" ? factory2.createUniqueName(name, 16 /* Optimistic */, prefix, suffix) : factory2.createTempVariable( + /*recordTempVariable*/ + void 0, + /*reservedInNestedScopes*/ + true, + prefix, + suffix + ); + if (resolver.hasNodeCheckFlag(node, 32768 /* BlockScopedBindingInLoop */)) { + addBlockScopedVariable(identifier); + } else { + hoistVariableDeclaration(identifier); + } + return identifier; + } + function createHoistedVariableForPrivateName(name, suffix) { + const text = tryGetTextOfPropertyName(name); + return createHoistedVariableForClass((text == null ? void 0 : text.substring(1)) ?? name, name, suffix); + } + function accessPrivateIdentifier2(name) { + const info = accessPrivateIdentifier(lexicalEnvironment, name); + return (info == null ? void 0 : info.kind) === "untransformed" ? void 0 : info; + } + function wrapPrivateIdentifierForDestructuringTarget(node) { + const parameter = factory2.getGeneratedNameForNode(node); + const info = accessPrivateIdentifier2(node.name); + if (!info) { + return visitEachChild(node, visitor, context); + } + let receiver = node.expression; + if (isThisProperty(node) || isSuperProperty(node) || !isSimpleCopiableExpression(node.expression)) { + receiver = factory2.createTempVariable( + hoistVariableDeclaration, + /*reservedInNestedScopes*/ + true + ); + getPendingExpressions().push(factory2.createBinaryExpression(receiver, 64 /* EqualsToken */, visitNode(node.expression, visitor, isExpression))); + } + return factory2.createAssignmentTargetWrapper( + parameter, + createPrivateIdentifierAssignment( + info, + receiver, + parameter, + 64 /* EqualsToken */ + ) + ); + } + function visitDestructuringAssignmentTarget(node) { + if (isObjectLiteralExpression(node) || isArrayLiteralExpression(node)) { + return visitAssignmentPattern(node); + } + if (isPrivateIdentifierPropertyAccessExpression(node)) { + return wrapPrivateIdentifierForDestructuringTarget(node); + } else if (shouldTransformSuperInStaticInitializers && currentClassElement && isSuperProperty(node) && isStaticPropertyDeclarationOrClassStaticBlock(currentClassElement) && (lexicalEnvironment == null ? void 0 : lexicalEnvironment.data)) { + const { classConstructor, superClassReference, facts } = lexicalEnvironment.data; + if (facts & 1 /* ClassWasDecorated */) { + return visitInvalidSuperProperty(node); + } else if (classConstructor && superClassReference) { + const name = isElementAccessExpression(node) ? visitNode(node.argumentExpression, visitor, isExpression) : isIdentifier(node.name) ? factory2.createStringLiteralFromNode(node.name) : void 0; + if (name) { + const temp = factory2.createTempVariable( + /*recordTempVariable*/ + void 0 + ); + return factory2.createAssignmentTargetWrapper( + temp, + factory2.createReflectSetCall( + superClassReference, + name, + temp, + classConstructor + ) + ); + } + } + } + return visitEachChild(node, visitor, context); + } + function visitAssignmentElement(node) { + if (isNamedEvaluation(node, isAnonymousClassNeedingAssignedName)) { + node = transformNamedEvaluation(context, node); + } + if (isAssignmentExpression( + node, + /*excludeCompoundAssignment*/ + true + )) { + const left = visitDestructuringAssignmentTarget(node.left); + const right = visitNode(node.right, visitor, isExpression); + return factory2.updateBinaryExpression(node, left, node.operatorToken, right); + } + return visitDestructuringAssignmentTarget(node); + } + function visitAssignmentRestElement(node) { + if (isLeftHandSideExpression(node.expression)) { + const expression = visitDestructuringAssignmentTarget(node.expression); + return factory2.updateSpreadElement(node, expression); + } + return visitEachChild(node, visitor, context); + } + function visitArrayAssignmentElement(node) { + if (isArrayBindingOrAssignmentElement(node)) { + if (isSpreadElement(node)) return visitAssignmentRestElement(node); + if (!isOmittedExpression(node)) return visitAssignmentElement(node); + } + return visitEachChild(node, visitor, context); + } + function visitAssignmentProperty(node) { + const name = visitNode(node.name, visitor, isPropertyName); + if (isAssignmentExpression( + node.initializer, + /*excludeCompoundAssignment*/ + true + )) { + const assignmentElement = visitAssignmentElement(node.initializer); + return factory2.updatePropertyAssignment(node, name, assignmentElement); + } + if (isLeftHandSideExpression(node.initializer)) { + const assignmentElement = visitDestructuringAssignmentTarget(node.initializer); + return factory2.updatePropertyAssignment(node, name, assignmentElement); + } + return visitEachChild(node, visitor, context); + } + function visitShorthandAssignmentProperty(node) { + if (isNamedEvaluation(node, isAnonymousClassNeedingAssignedName)) { + node = transformNamedEvaluation(context, node); + } + return visitEachChild(node, visitor, context); + } + function visitAssignmentRestProperty(node) { + if (isLeftHandSideExpression(node.expression)) { + const expression = visitDestructuringAssignmentTarget(node.expression); + return factory2.updateSpreadAssignment(node, expression); + } + return visitEachChild(node, visitor, context); + } + function visitObjectAssignmentElement(node) { + Debug.assertNode(node, isObjectBindingOrAssignmentElement); + if (isSpreadAssignment(node)) return visitAssignmentRestProperty(node); + if (isShorthandPropertyAssignment(node)) return visitShorthandAssignmentProperty(node); + if (isPropertyAssignment(node)) return visitAssignmentProperty(node); + return visitEachChild(node, visitor, context); + } + function visitAssignmentPattern(node) { + if (isArrayLiteralExpression(node)) { + return factory2.updateArrayLiteralExpression( + node, + visitNodes2(node.elements, visitArrayAssignmentElement, isExpression) + ); + } else { + return factory2.updateObjectLiteralExpression( + node, + visitNodes2(node.properties, visitObjectAssignmentElement, isObjectLiteralElementLike) + ); + } + } + function onEmitNode(hint, node, emitCallback) { + const original = getOriginalNode(node); + const lex = lexicalEnvironmentMap.get(original); + if (lex) { + const savedLexicalEnvironment = lexicalEnvironment; + const savedPreviousShouldSubstituteThisWithClassThis = previousShouldSubstituteThisWithClassThis; + lexicalEnvironment = lex; + previousShouldSubstituteThisWithClassThis = shouldSubstituteThisWithClassThis; + shouldSubstituteThisWithClassThis = !isClassStaticBlockDeclaration(original) || !(getInternalEmitFlags(original) & 32 /* TransformPrivateStaticElements */); + previousOnEmitNode(hint, node, emitCallback); + shouldSubstituteThisWithClassThis = previousShouldSubstituteThisWithClassThis; + previousShouldSubstituteThisWithClassThis = savedPreviousShouldSubstituteThisWithClassThis; + lexicalEnvironment = savedLexicalEnvironment; + return; + } + switch (node.kind) { + case 218 /* FunctionExpression */: + if (isArrowFunction(original) || getEmitFlags(node) & 524288 /* AsyncFunctionBody */) { + break; + } + // falls through + case 262 /* FunctionDeclaration */: + case 176 /* Constructor */: + case 177 /* GetAccessor */: + case 178 /* SetAccessor */: + case 174 /* MethodDeclaration */: + case 172 /* PropertyDeclaration */: { + const savedLexicalEnvironment = lexicalEnvironment; + const savedPreviousShouldSubstituteThisWithClassThis = previousShouldSubstituteThisWithClassThis; + lexicalEnvironment = void 0; + previousShouldSubstituteThisWithClassThis = shouldSubstituteThisWithClassThis; + shouldSubstituteThisWithClassThis = false; + previousOnEmitNode(hint, node, emitCallback); + shouldSubstituteThisWithClassThis = previousShouldSubstituteThisWithClassThis; + previousShouldSubstituteThisWithClassThis = savedPreviousShouldSubstituteThisWithClassThis; + lexicalEnvironment = savedLexicalEnvironment; + return; + } + case 167 /* ComputedPropertyName */: { + const savedLexicalEnvironment = lexicalEnvironment; + const savedShouldSubstituteThisWithClassThis = shouldSubstituteThisWithClassThis; + lexicalEnvironment = lexicalEnvironment == null ? void 0 : lexicalEnvironment.previous; + shouldSubstituteThisWithClassThis = previousShouldSubstituteThisWithClassThis; + previousOnEmitNode(hint, node, emitCallback); + shouldSubstituteThisWithClassThis = savedShouldSubstituteThisWithClassThis; + lexicalEnvironment = savedLexicalEnvironment; + return; + } + } + previousOnEmitNode(hint, node, emitCallback); + } + function onSubstituteNode(hint, node) { + node = previousOnSubstituteNode(hint, node); + if (hint === 1 /* Expression */) { + return substituteExpression(node); + } + return node; + } + function substituteExpression(node) { + switch (node.kind) { + case 80 /* Identifier */: + return substituteExpressionIdentifier(node); + case 110 /* ThisKeyword */: + return substituteThisExpression(node); + } + return node; + } + function substituteThisExpression(node) { + if (enabledSubstitutions & 2 /* ClassStaticThisOrSuperReference */ && (lexicalEnvironment == null ? void 0 : lexicalEnvironment.data) && !noSubstitution.has(node)) { + const { facts, classConstructor, classThis } = lexicalEnvironment.data; + const substituteThis = shouldSubstituteThisWithClassThis ? classThis ?? classConstructor : classConstructor; + if (substituteThis) { + return setTextRange( + setOriginalNode( + factory2.cloneNode(substituteThis), + node + ), + node + ); + } + if (facts & 1 /* ClassWasDecorated */ && legacyDecorators) { + return factory2.createParenthesizedExpression(factory2.createVoidZero()); + } + } + return node; + } + function substituteExpressionIdentifier(node) { + return trySubstituteClassAlias(node) || node; + } + function trySubstituteClassAlias(node) { + if (enabledSubstitutions & 1 /* ClassAliases */) { + if (resolver.hasNodeCheckFlag(node, 536870912 /* ConstructorReference */)) { + const declaration = resolver.getReferencedValueDeclaration(node); + if (declaration) { + const classAlias = classAliases[declaration.id]; + if (classAlias) { + const clone = factory2.cloneNode(classAlias); + setSourceMapRange(clone, node); + setCommentRange(clone, node); + return clone; + } + } + } + } + return void 0; + } +} +function createPrivateStaticFieldInitializer(factory2, variableName, initializer) { + return factory2.createAssignment( + variableName, + factory2.createObjectLiteralExpression([ + factory2.createPropertyAssignment("value", initializer || factory2.createVoidZero()) + ]) + ); +} +function createPrivateInstanceFieldInitializer(factory2, receiver, initializer, weakMapName) { + return factory2.createCallExpression( + factory2.createPropertyAccessExpression(weakMapName, "set"), + /*typeArguments*/ + void 0, + [receiver, initializer || factory2.createVoidZero()] + ); +} +function createPrivateInstanceMethodInitializer(factory2, receiver, weakSetName) { + return factory2.createCallExpression( + factory2.createPropertyAccessExpression(weakSetName, "add"), + /*typeArguments*/ + void 0, + [receiver] + ); +} +function isReservedPrivateName(node) { + return !isGeneratedPrivateIdentifier(node) && node.escapedText === "#constructor"; +} +function isPrivateIdentifierInExpression(node) { + return isPrivateIdentifier(node.left) && node.operatorToken.kind === 103 /* InKeyword */; +} +function isStaticPropertyDeclaration2(node) { + return isPropertyDeclaration(node) && hasStaticModifier(node); +} +function isStaticPropertyDeclarationOrClassStaticBlock(node) { + return isClassStaticBlockDeclaration(node) || isStaticPropertyDeclaration2(node); +} + +// src/compiler/transformers/typeSerializer.ts +function createRuntimeTypeSerializer(context) { + const { + factory: factory2, + hoistVariableDeclaration + } = context; + const resolver = context.getEmitResolver(); + const compilerOptions = context.getCompilerOptions(); + const languageVersion = getEmitScriptTarget(compilerOptions); + const strictNullChecks = getStrictOptionValue(compilerOptions, "strictNullChecks"); + let currentLexicalScope; + let currentNameScope; + return { + serializeTypeNode: (serializerContext, node) => setSerializerContextAnd(serializerContext, serializeTypeNode, node), + serializeTypeOfNode: (serializerContext, node, container) => setSerializerContextAnd(serializerContext, serializeTypeOfNode, node, container), + serializeParameterTypesOfNode: (serializerContext, node, container) => setSerializerContextAnd(serializerContext, serializeParameterTypesOfNode, node, container), + serializeReturnTypeOfNode: (serializerContext, node) => setSerializerContextAnd(serializerContext, serializeReturnTypeOfNode, node) + }; + function setSerializerContextAnd(serializerContext, cb, node, arg) { + const savedCurrentLexicalScope = currentLexicalScope; + const savedCurrentNameScope = currentNameScope; + currentLexicalScope = serializerContext.currentLexicalScope; + currentNameScope = serializerContext.currentNameScope; + const result = arg === void 0 ? cb(node) : cb(node, arg); + currentLexicalScope = savedCurrentLexicalScope; + currentNameScope = savedCurrentNameScope; + return result; + } + function getAccessorTypeNode(node, container) { + const accessors = getAllAccessorDeclarations(container.members, node); + return accessors.setAccessor && getSetAccessorTypeAnnotationNode(accessors.setAccessor) || accessors.getAccessor && getEffectiveReturnTypeNode(accessors.getAccessor); + } + function serializeTypeOfNode(node, container) { + switch (node.kind) { + case 172 /* PropertyDeclaration */: + case 169 /* Parameter */: + return serializeTypeNode(node.type); + case 178 /* SetAccessor */: + case 177 /* GetAccessor */: + return serializeTypeNode(getAccessorTypeNode(node, container)); + case 263 /* ClassDeclaration */: + case 231 /* ClassExpression */: + case 174 /* MethodDeclaration */: + return factory2.createIdentifier("Function"); + default: + return factory2.createVoidZero(); + } + } + function serializeParameterTypesOfNode(node, container) { + const valueDeclaration = isClassLike(node) ? getFirstConstructorWithBody(node) : isFunctionLike(node) && nodeIsPresent(node.body) ? node : void 0; + const expressions = []; + if (valueDeclaration) { + const parameters = getParametersOfDecoratedDeclaration(valueDeclaration, container); + const numParameters = parameters.length; + for (let i = 0; i < numParameters; i++) { + const parameter = parameters[i]; + if (i === 0 && isIdentifier(parameter.name) && parameter.name.escapedText === "this") { + continue; + } + if (parameter.dotDotDotToken) { + expressions.push(serializeTypeNode(getRestParameterElementType(parameter.type))); + } else { + expressions.push(serializeTypeOfNode(parameter, container)); + } + } + } + return factory2.createArrayLiteralExpression(expressions); + } + function getParametersOfDecoratedDeclaration(node, container) { + if (container && node.kind === 177 /* GetAccessor */) { + const { setAccessor } = getAllAccessorDeclarations(container.members, node); + if (setAccessor) { + return setAccessor.parameters; + } + } + return node.parameters; + } + function serializeReturnTypeOfNode(node) { + if (isFunctionLike(node) && node.type) { + return serializeTypeNode(node.type); + } else if (isAsyncFunction(node)) { + return factory2.createIdentifier("Promise"); + } + return factory2.createVoidZero(); + } + function serializeTypeNode(node) { + if (node === void 0) { + return factory2.createIdentifier("Object"); + } + node = skipTypeParentheses(node); + switch (node.kind) { + case 116 /* VoidKeyword */: + case 157 /* UndefinedKeyword */: + case 146 /* NeverKeyword */: + return factory2.createVoidZero(); + case 184 /* FunctionType */: + case 185 /* ConstructorType */: + return factory2.createIdentifier("Function"); + case 188 /* ArrayType */: + case 189 /* TupleType */: + return factory2.createIdentifier("Array"); + case 182 /* TypePredicate */: + return node.assertsModifier ? factory2.createVoidZero() : factory2.createIdentifier("Boolean"); + case 136 /* BooleanKeyword */: + return factory2.createIdentifier("Boolean"); + case 203 /* TemplateLiteralType */: + case 154 /* StringKeyword */: + return factory2.createIdentifier("String"); + case 151 /* ObjectKeyword */: + return factory2.createIdentifier("Object"); + case 201 /* LiteralType */: + return serializeLiteralOfLiteralTypeNode(node.literal); + case 150 /* NumberKeyword */: + return factory2.createIdentifier("Number"); + case 163 /* BigIntKeyword */: + return getGlobalConstructor("BigInt", 7 /* ES2020 */); + case 155 /* SymbolKeyword */: + return getGlobalConstructor("Symbol", 2 /* ES2015 */); + case 183 /* TypeReference */: + return serializeTypeReferenceNode(node); + case 193 /* IntersectionType */: + return serializeUnionOrIntersectionConstituents( + node.types, + /*isIntersection*/ + true + ); + case 192 /* UnionType */: + return serializeUnionOrIntersectionConstituents( + node.types, + /*isIntersection*/ + false + ); + case 194 /* ConditionalType */: + return serializeUnionOrIntersectionConstituents( + [node.trueType, node.falseType], + /*isIntersection*/ + false + ); + case 198 /* TypeOperator */: + if (node.operator === 148 /* ReadonlyKeyword */) { + return serializeTypeNode(node.type); + } + break; + case 186 /* TypeQuery */: + case 199 /* IndexedAccessType */: + case 200 /* MappedType */: + case 187 /* TypeLiteral */: + case 133 /* AnyKeyword */: + case 159 /* UnknownKeyword */: + case 197 /* ThisType */: + case 205 /* ImportType */: + break; + // handle JSDoc types from an invalid parse + case 312 /* JSDocAllType */: + case 313 /* JSDocUnknownType */: + case 317 /* JSDocFunctionType */: + case 318 /* JSDocVariadicType */: + case 319 /* JSDocNamepathType */: + break; + case 314 /* JSDocNullableType */: + case 315 /* JSDocNonNullableType */: + case 316 /* JSDocOptionalType */: + return serializeTypeNode(node.type); + default: + return Debug.failBadSyntaxKind(node); + } + return factory2.createIdentifier("Object"); + } + function serializeLiteralOfLiteralTypeNode(node) { + switch (node.kind) { + case 11 /* StringLiteral */: + case 15 /* NoSubstitutionTemplateLiteral */: + return factory2.createIdentifier("String"); + case 224 /* PrefixUnaryExpression */: { + const operand = node.operand; + switch (operand.kind) { + case 9 /* NumericLiteral */: + case 10 /* BigIntLiteral */: + return serializeLiteralOfLiteralTypeNode(operand); + default: + return Debug.failBadSyntaxKind(operand); + } + } + case 9 /* NumericLiteral */: + return factory2.createIdentifier("Number"); + case 10 /* BigIntLiteral */: + return getGlobalConstructor("BigInt", 7 /* ES2020 */); + case 112 /* TrueKeyword */: + case 97 /* FalseKeyword */: + return factory2.createIdentifier("Boolean"); + case 106 /* NullKeyword */: + return factory2.createVoidZero(); + default: + return Debug.failBadSyntaxKind(node); + } + } + function serializeUnionOrIntersectionConstituents(types, isIntersection) { + let serializedType; + for (let typeNode of types) { + typeNode = skipTypeParentheses(typeNode); + if (typeNode.kind === 146 /* NeverKeyword */) { + if (isIntersection) return factory2.createVoidZero(); + continue; + } + if (typeNode.kind === 159 /* UnknownKeyword */) { + if (!isIntersection) return factory2.createIdentifier("Object"); + continue; + } + if (typeNode.kind === 133 /* AnyKeyword */) { + return factory2.createIdentifier("Object"); + } + if (!strictNullChecks && (isLiteralTypeNode(typeNode) && typeNode.literal.kind === 106 /* NullKeyword */ || typeNode.kind === 157 /* UndefinedKeyword */)) { + continue; + } + const serializedConstituent = serializeTypeNode(typeNode); + if (isIdentifier(serializedConstituent) && serializedConstituent.escapedText === "Object") { + return serializedConstituent; + } + if (serializedType) { + if (!equateSerializedTypeNodes(serializedType, serializedConstituent)) { + return factory2.createIdentifier("Object"); + } + } else { + serializedType = serializedConstituent; + } + } + return serializedType ?? factory2.createVoidZero(); + } + function equateSerializedTypeNodes(left, right) { + return ( + // temp vars used in fallback + isGeneratedIdentifier(left) ? isGeneratedIdentifier(right) : ( + // entity names + isIdentifier(left) ? isIdentifier(right) && left.escapedText === right.escapedText : isPropertyAccessExpression(left) ? isPropertyAccessExpression(right) && equateSerializedTypeNodes(left.expression, right.expression) && equateSerializedTypeNodes(left.name, right.name) : ( + // `void 0` + isVoidExpression(left) ? isVoidExpression(right) && isNumericLiteral(left.expression) && left.expression.text === "0" && isNumericLiteral(right.expression) && right.expression.text === "0" : ( + // `"undefined"` or `"function"` in `typeof` checks + isStringLiteral(left) ? isStringLiteral(right) && left.text === right.text : ( + // used in `typeof` checks for fallback + isTypeOfExpression(left) ? isTypeOfExpression(right) && equateSerializedTypeNodes(left.expression, right.expression) : ( + // parens in `typeof` checks with temps + isParenthesizedExpression(left) ? isParenthesizedExpression(right) && equateSerializedTypeNodes(left.expression, right.expression) : ( + // conditionals used in fallback + isConditionalExpression(left) ? isConditionalExpression(right) && equateSerializedTypeNodes(left.condition, right.condition) && equateSerializedTypeNodes(left.whenTrue, right.whenTrue) && equateSerializedTypeNodes(left.whenFalse, right.whenFalse) : ( + // logical binary and assignments used in fallback + isBinaryExpression(left) ? isBinaryExpression(right) && left.operatorToken.kind === right.operatorToken.kind && equateSerializedTypeNodes(left.left, right.left) && equateSerializedTypeNodes(left.right, right.right) : false + ) + ) + ) + ) + ) + ) + ) + ); + } + function serializeTypeReferenceNode(node) { + const kind = resolver.getTypeReferenceSerializationKind(node.typeName, currentNameScope ?? currentLexicalScope); + switch (kind) { + case 0 /* Unknown */: + if (findAncestor(node, (n) => n.parent && isConditionalTypeNode(n.parent) && (n.parent.trueType === n || n.parent.falseType === n))) { + return factory2.createIdentifier("Object"); + } + const serialized = serializeEntityNameAsExpressionFallback(node.typeName); + const temp = factory2.createTempVariable(hoistVariableDeclaration); + return factory2.createConditionalExpression( + factory2.createTypeCheck(factory2.createAssignment(temp, serialized), "function"), + /*questionToken*/ + void 0, + temp, + /*colonToken*/ + void 0, + factory2.createIdentifier("Object") + ); + case 1 /* TypeWithConstructSignatureAndValue */: + return serializeEntityNameAsExpression(node.typeName); + case 2 /* VoidNullableOrNeverType */: + return factory2.createVoidZero(); + case 4 /* BigIntLikeType */: + return getGlobalConstructor("BigInt", 7 /* ES2020 */); + case 6 /* BooleanType */: + return factory2.createIdentifier("Boolean"); + case 3 /* NumberLikeType */: + return factory2.createIdentifier("Number"); + case 5 /* StringLikeType */: + return factory2.createIdentifier("String"); + case 7 /* ArrayLikeType */: + return factory2.createIdentifier("Array"); + case 8 /* ESSymbolType */: + return getGlobalConstructor("Symbol", 2 /* ES2015 */); + case 10 /* TypeWithCallSignature */: + return factory2.createIdentifier("Function"); + case 9 /* Promise */: + return factory2.createIdentifier("Promise"); + case 11 /* ObjectType */: + return factory2.createIdentifier("Object"); + default: + return Debug.assertNever(kind); + } + } + function createCheckedValue(left, right) { + return factory2.createLogicalAnd( + factory2.createStrictInequality(factory2.createTypeOfExpression(left), factory2.createStringLiteral("undefined")), + right + ); + } + function serializeEntityNameAsExpressionFallback(node) { + if (node.kind === 80 /* Identifier */) { + const copied = serializeEntityNameAsExpression(node); + return createCheckedValue(copied, copied); + } + if (node.left.kind === 80 /* Identifier */) { + return createCheckedValue(serializeEntityNameAsExpression(node.left), serializeEntityNameAsExpression(node)); + } + const left = serializeEntityNameAsExpressionFallback(node.left); + const temp = factory2.createTempVariable(hoistVariableDeclaration); + return factory2.createLogicalAnd( + factory2.createLogicalAnd( + left.left, + factory2.createStrictInequality(factory2.createAssignment(temp, left.right), factory2.createVoidZero()) + ), + factory2.createPropertyAccessExpression(temp, node.right) + ); + } + function serializeEntityNameAsExpression(node) { + switch (node.kind) { + case 80 /* Identifier */: + const name = setParent(setTextRange(parseNodeFactory.cloneNode(node), node), node.parent); + name.original = void 0; + setParent(name, getParseTreeNode(currentLexicalScope)); + return name; + case 166 /* QualifiedName */: + return serializeQualifiedNameAsExpression(node); + } + } + function serializeQualifiedNameAsExpression(node) { + return factory2.createPropertyAccessExpression(serializeEntityNameAsExpression(node.left), node.right); + } + function getGlobalConstructorWithFallback(name) { + return factory2.createConditionalExpression( + factory2.createTypeCheck(factory2.createIdentifier(name), "function"), + /*questionToken*/ + void 0, + factory2.createIdentifier(name), + /*colonToken*/ + void 0, + factory2.createIdentifier("Object") + ); + } + function getGlobalConstructor(name, minLanguageVersion) { + return languageVersion < minLanguageVersion ? getGlobalConstructorWithFallback(name) : factory2.createIdentifier(name); + } +} + +// src/compiler/transformers/legacyDecorators.ts +function transformLegacyDecorators(context) { + const { + factory: factory2, + getEmitHelperFactory: emitHelpers, + hoistVariableDeclaration + } = context; + const resolver = context.getEmitResolver(); + const compilerOptions = context.getCompilerOptions(); + const languageVersion = getEmitScriptTarget(compilerOptions); + const previousOnSubstituteNode = context.onSubstituteNode; + context.onSubstituteNode = onSubstituteNode; + let classAliases; + return chainBundle(context, transformSourceFile); + function transformSourceFile(node) { + const visited = visitEachChild(node, visitor, context); + addEmitHelpers(visited, context.readEmitHelpers()); + return visited; + } + function modifierVisitor(node) { + return isDecorator(node) ? void 0 : node; + } + function visitor(node) { + if (!(node.transformFlags & 33554432 /* ContainsDecorators */)) { + return node; + } + switch (node.kind) { + case 170 /* Decorator */: + return void 0; + case 263 /* ClassDeclaration */: + return visitClassDeclaration(node); + case 231 /* ClassExpression */: + return visitClassExpression(node); + case 176 /* Constructor */: + return visitConstructorDeclaration(node); + case 174 /* MethodDeclaration */: + return visitMethodDeclaration(node); + case 178 /* SetAccessor */: + return visitSetAccessorDeclaration(node); + case 177 /* GetAccessor */: + return visitGetAccessorDeclaration(node); + case 172 /* PropertyDeclaration */: + return visitPropertyDeclaration(node); + case 169 /* Parameter */: + return visitParameterDeclaration(node); + default: + return visitEachChild(node, visitor, context); + } + } + function visitClassDeclaration(node) { + if (!(classOrConstructorParameterIsDecorated( + /*useLegacyDecorators*/ + true, + node + ) || childIsDecorated( + /*useLegacyDecorators*/ + true, + node + ))) { + return visitEachChild(node, visitor, context); + } + const statements = classOrConstructorParameterIsDecorated( + /*useLegacyDecorators*/ + true, + node + ) ? transformClassDeclarationWithClassDecorators(node, node.name) : transformClassDeclarationWithoutClassDecorators(node, node.name); + return singleOrMany(statements); + } + function decoratorContainsPrivateIdentifierInExpression(decorator) { + return !!(decorator.transformFlags & 536870912 /* ContainsPrivateIdentifierInExpression */); + } + function parameterDecoratorsContainPrivateIdentifierInExpression(parameterDecorators) { + return some(parameterDecorators, decoratorContainsPrivateIdentifierInExpression); + } + function hasClassElementWithDecoratorContainingPrivateIdentifierInExpression(node) { + for (const member of node.members) { + if (!canHaveDecorators(member)) continue; + const allDecorators = getAllDecoratorsOfClassElement( + member, + node, + /*useLegacyDecorators*/ + true + ); + if (some(allDecorators == null ? void 0 : allDecorators.decorators, decoratorContainsPrivateIdentifierInExpression)) return true; + if (some(allDecorators == null ? void 0 : allDecorators.parameters, parameterDecoratorsContainPrivateIdentifierInExpression)) return true; + } + return false; + } + function transformDecoratorsOfClassElements(node, members) { + let decorationStatements = []; + addClassElementDecorationStatements( + decorationStatements, + node, + /*isStatic*/ + false + ); + addClassElementDecorationStatements( + decorationStatements, + node, + /*isStatic*/ + true + ); + if (hasClassElementWithDecoratorContainingPrivateIdentifierInExpression(node)) { + members = setTextRange( + factory2.createNodeArray([ + ...members, + factory2.createClassStaticBlockDeclaration( + factory2.createBlock( + decorationStatements, + /*multiLine*/ + true + ) + ) + ]), + members + ); + decorationStatements = void 0; + } + return { decorationStatements, members }; + } + function transformClassDeclarationWithoutClassDecorators(node, name) { + const modifiers = visitNodes2(node.modifiers, modifierVisitor, isModifier); + const heritageClauses = visitNodes2(node.heritageClauses, visitor, isHeritageClause); + let members = visitNodes2(node.members, visitor, isClassElement); + let decorationStatements = []; + ({ members, decorationStatements } = transformDecoratorsOfClassElements(node, members)); + const updated = factory2.updateClassDeclaration( + node, + modifiers, + name, + /*typeParameters*/ + void 0, + heritageClauses, + members + ); + return addRange([updated], decorationStatements); + } + function transformClassDeclarationWithClassDecorators(node, name) { + const isExport = hasSyntacticModifier(node, 32 /* Export */); + const isDefault = hasSyntacticModifier(node, 2048 /* Default */); + const modifiers = visitNodes2(node.modifiers, (node2) => isExportOrDefaultModifier(node2) || isDecorator(node2) ? void 0 : node2, isModifierLike); + const location = moveRangePastModifiers(node); + const classAlias = getClassAliasIfNeeded(node); + const declName = languageVersion < 2 /* ES2015 */ ? factory2.getInternalName( + node, + /*allowComments*/ + false, + /*allowSourceMaps*/ + true + ) : factory2.getLocalName( + node, + /*allowComments*/ + false, + /*allowSourceMaps*/ + true + ); + const heritageClauses = visitNodes2(node.heritageClauses, visitor, isHeritageClause); + let members = visitNodes2(node.members, visitor, isClassElement); + let decorationStatements = []; + ({ members, decorationStatements } = transformDecoratorsOfClassElements(node, members)); + const assignClassAliasInStaticBlock = languageVersion >= 9 /* ES2022 */ && !!classAlias && some(members, (member) => isPropertyDeclaration(member) && hasSyntacticModifier(member, 256 /* Static */) || isClassStaticBlockDeclaration(member)); + if (assignClassAliasInStaticBlock) { + members = setTextRange( + factory2.createNodeArray([ + factory2.createClassStaticBlockDeclaration( + factory2.createBlock([ + factory2.createExpressionStatement( + factory2.createAssignment(classAlias, factory2.createThis()) + ) + ]) + ), + ...members + ]), + members + ); + } + const classExpression = factory2.createClassExpression( + modifiers, + name && isGeneratedIdentifier(name) ? void 0 : name, + /*typeParameters*/ + void 0, + heritageClauses, + members + ); + setOriginalNode(classExpression, node); + setTextRange(classExpression, location); + const varInitializer = classAlias && !assignClassAliasInStaticBlock ? factory2.createAssignment(classAlias, classExpression) : classExpression; + const varDecl = factory2.createVariableDeclaration( + declName, + /*exclamationToken*/ + void 0, + /*type*/ + void 0, + varInitializer + ); + setOriginalNode(varDecl, node); + const varDeclList = factory2.createVariableDeclarationList([varDecl], 1 /* Let */); + const varStatement = factory2.createVariableStatement( + /*modifiers*/ + void 0, + varDeclList + ); + setOriginalNode(varStatement, node); + setTextRange(varStatement, location); + setCommentRange(varStatement, node); + const statements = [varStatement]; + addRange(statements, decorationStatements); + addConstructorDecorationStatement(statements, node); + if (isExport) { + if (isDefault) { + const exportStatement = factory2.createExportDefault(declName); + statements.push(exportStatement); + } else { + const exportStatement = factory2.createExternalModuleExport(factory2.getDeclarationName(node)); + statements.push(exportStatement); + } + } + return statements; + } + function visitClassExpression(node) { + return factory2.updateClassExpression( + node, + visitNodes2(node.modifiers, modifierVisitor, isModifier), + node.name, + /*typeParameters*/ + void 0, + visitNodes2(node.heritageClauses, visitor, isHeritageClause), + visitNodes2(node.members, visitor, isClassElement) + ); + } + function visitConstructorDeclaration(node) { + return factory2.updateConstructorDeclaration( + node, + visitNodes2(node.modifiers, modifierVisitor, isModifier), + visitNodes2(node.parameters, visitor, isParameter), + visitNode(node.body, visitor, isBlock) + ); + } + function finishClassElement(updated, original) { + if (updated !== original) { + setCommentRange(updated, original); + setSourceMapRange(updated, moveRangePastModifiers(original)); + } + return updated; + } + function visitMethodDeclaration(node) { + return finishClassElement( + factory2.updateMethodDeclaration( + node, + visitNodes2(node.modifiers, modifierVisitor, isModifier), + node.asteriskToken, + Debug.checkDefined(visitNode(node.name, visitor, isPropertyName)), + /*questionToken*/ + void 0, + /*typeParameters*/ + void 0, + visitNodes2(node.parameters, visitor, isParameter), + /*type*/ + void 0, + visitNode(node.body, visitor, isBlock) + ), + node + ); + } + function visitGetAccessorDeclaration(node) { + return finishClassElement( + factory2.updateGetAccessorDeclaration( + node, + visitNodes2(node.modifiers, modifierVisitor, isModifier), + Debug.checkDefined(visitNode(node.name, visitor, isPropertyName)), + visitNodes2(node.parameters, visitor, isParameter), + /*type*/ + void 0, + visitNode(node.body, visitor, isBlock) + ), + node + ); + } + function visitSetAccessorDeclaration(node) { + return finishClassElement( + factory2.updateSetAccessorDeclaration( + node, + visitNodes2(node.modifiers, modifierVisitor, isModifier), + Debug.checkDefined(visitNode(node.name, visitor, isPropertyName)), + visitNodes2(node.parameters, visitor, isParameter), + visitNode(node.body, visitor, isBlock) + ), + node + ); + } + function visitPropertyDeclaration(node) { + if (node.flags & 33554432 /* Ambient */ || hasSyntacticModifier(node, 128 /* Ambient */)) { + return void 0; + } + return finishClassElement( + factory2.updatePropertyDeclaration( + node, + visitNodes2(node.modifiers, modifierVisitor, isModifier), + Debug.checkDefined(visitNode(node.name, visitor, isPropertyName)), + /*questionOrExclamationToken*/ + void 0, + /*type*/ + void 0, + visitNode(node.initializer, visitor, isExpression) + ), + node + ); + } + function visitParameterDeclaration(node) { + const updated = factory2.updateParameterDeclaration( + node, + elideNodes(factory2, node.modifiers), + node.dotDotDotToken, + Debug.checkDefined(visitNode(node.name, visitor, isBindingName)), + /*questionToken*/ + void 0, + /*type*/ + void 0, + visitNode(node.initializer, visitor, isExpression) + ); + if (updated !== node) { + setCommentRange(updated, node); + setTextRange(updated, moveRangePastModifiers(node)); + setSourceMapRange(updated, moveRangePastModifiers(node)); + setEmitFlags(updated.name, 64 /* NoTrailingSourceMap */); + } + return updated; + } + function isSyntheticMetadataDecorator(node) { + return isCallToHelper(node.expression, "___metadata"); + } + function transformAllDecoratorsOfDeclaration(allDecorators) { + if (!allDecorators) { + return void 0; + } + const { false: decorators, true: metadata } = groupBy(allDecorators.decorators, isSyntheticMetadataDecorator); + const decoratorExpressions = []; + addRange(decoratorExpressions, map(decorators, transformDecorator)); + addRange(decoratorExpressions, flatMap(allDecorators.parameters, transformDecoratorsOfParameter)); + addRange(decoratorExpressions, map(metadata, transformDecorator)); + return decoratorExpressions; + } + function addClassElementDecorationStatements(statements, node, isStatic2) { + addRange(statements, map(generateClassElementDecorationExpressions(node, isStatic2), (expr) => factory2.createExpressionStatement(expr))); + } + function isDecoratedClassElement(member, isStaticElement, parent) { + return nodeOrChildIsDecorated( + /*useLegacyDecorators*/ + true, + member, + parent + ) && isStaticElement === isStatic(member); + } + function getDecoratedClassElements(node, isStatic2) { + return filter(node.members, (m) => isDecoratedClassElement(m, isStatic2, node)); + } + function generateClassElementDecorationExpressions(node, isStatic2) { + const members = getDecoratedClassElements(node, isStatic2); + let expressions; + for (const member of members) { + expressions = append(expressions, generateClassElementDecorationExpression(node, member)); + } + return expressions; + } + function generateClassElementDecorationExpression(node, member) { + const allDecorators = getAllDecoratorsOfClassElement( + member, + node, + /*useLegacyDecorators*/ + true + ); + const decoratorExpressions = transformAllDecoratorsOfDeclaration(allDecorators); + if (!decoratorExpressions) { + return void 0; + } + const prefix = getClassMemberPrefix(node, member); + const memberName = getExpressionForPropertyName( + member, + /*generateNameForComputedPropertyName*/ + !hasSyntacticModifier(member, 128 /* Ambient */) + ); + const descriptor = isPropertyDeclaration(member) && !hasAccessorModifier(member) ? factory2.createVoidZero() : factory2.createNull(); + const helper = emitHelpers().createDecorateHelper( + decoratorExpressions, + prefix, + memberName, + descriptor + ); + setEmitFlags(helper, 3072 /* NoComments */); + setSourceMapRange(helper, moveRangePastModifiers(member)); + return helper; + } + function addConstructorDecorationStatement(statements, node) { + const expression = generateConstructorDecorationExpression(node); + if (expression) { + statements.push(setOriginalNode(factory2.createExpressionStatement(expression), node)); + } + } + function generateConstructorDecorationExpression(node) { + const allDecorators = getAllDecoratorsOfClass( + node, + /*useLegacyDecorators*/ + true + ); + const decoratorExpressions = transformAllDecoratorsOfDeclaration(allDecorators); + if (!decoratorExpressions) { + return void 0; + } + const classAlias = classAliases && classAliases[getOriginalNodeId(node)]; + const localName = languageVersion < 2 /* ES2015 */ ? factory2.getInternalName( + node, + /*allowComments*/ + false, + /*allowSourceMaps*/ + true + ) : factory2.getDeclarationName( + node, + /*allowComments*/ + false, + /*allowSourceMaps*/ + true + ); + const decorate = emitHelpers().createDecorateHelper(decoratorExpressions, localName); + const expression = factory2.createAssignment(localName, classAlias ? factory2.createAssignment(classAlias, decorate) : decorate); + setEmitFlags(expression, 3072 /* NoComments */); + setSourceMapRange(expression, moveRangePastModifiers(node)); + return expression; + } + function transformDecorator(decorator) { + return Debug.checkDefined(visitNode(decorator.expression, visitor, isExpression)); + } + function transformDecoratorsOfParameter(decorators, parameterOffset) { + let expressions; + if (decorators) { + expressions = []; + for (const decorator of decorators) { + const helper = emitHelpers().createParamHelper( + transformDecorator(decorator), + parameterOffset + ); + setTextRange(helper, decorator.expression); + setEmitFlags(helper, 3072 /* NoComments */); + expressions.push(helper); + } + } + return expressions; + } + function getExpressionForPropertyName(member, generateNameForComputedPropertyName) { + const name = member.name; + if (isPrivateIdentifier(name)) { + return factory2.createIdentifier(""); + } else if (isComputedPropertyName(name)) { + return generateNameForComputedPropertyName && !isSimpleInlineableExpression(name.expression) ? factory2.getGeneratedNameForNode(name) : name.expression; + } else if (isIdentifier(name)) { + return factory2.createStringLiteral(idText(name)); + } else { + return factory2.cloneNode(name); + } + } + function enableSubstitutionForClassAliases() { + if (!classAliases) { + context.enableSubstitution(80 /* Identifier */); + classAliases = []; + } + } + function getClassAliasIfNeeded(node) { + if (resolver.hasNodeCheckFlag(node, 262144 /* ContainsConstructorReference */)) { + enableSubstitutionForClassAliases(); + const classAlias = factory2.createUniqueName(node.name && !isGeneratedIdentifier(node.name) ? idText(node.name) : "default"); + classAliases[getOriginalNodeId(node)] = classAlias; + hoistVariableDeclaration(classAlias); + return classAlias; + } + } + function getClassPrototype(node) { + return factory2.createPropertyAccessExpression(factory2.getDeclarationName(node), "prototype"); + } + function getClassMemberPrefix(node, member) { + return isStatic(member) ? factory2.getDeclarationName(node) : getClassPrototype(node); + } + function onSubstituteNode(hint, node) { + node = previousOnSubstituteNode(hint, node); + if (hint === 1 /* Expression */) { + return substituteExpression(node); + } + return node; + } + function substituteExpression(node) { + switch (node.kind) { + case 80 /* Identifier */: + return substituteExpressionIdentifier(node); + } + return node; + } + function substituteExpressionIdentifier(node) { + return trySubstituteClassAlias(node) ?? node; + } + function trySubstituteClassAlias(node) { + if (classAliases) { + if (resolver.hasNodeCheckFlag(node, 536870912 /* ConstructorReference */)) { + const declaration = resolver.getReferencedValueDeclaration(node); + if (declaration) { + const classAlias = classAliases[declaration.id]; + if (classAlias) { + const clone = factory2.cloneNode(classAlias); + setSourceMapRange(clone, node); + setCommentRange(clone, node); + return clone; + } + } + } + } + return void 0; + } +} + +// src/compiler/transformers/esDecorators.ts +function transformESDecorators(context) { + const { + factory: factory2, + getEmitHelperFactory: emitHelpers, + startLexicalEnvironment, + endLexicalEnvironment, + hoistVariableDeclaration + } = context; + const languageVersion = getEmitScriptTarget(context.getCompilerOptions()); + let top; + let classInfo; + let classThis; + let classSuper; + let pendingExpressions; + let shouldTransformPrivateStaticElementsInFile; + return chainBundle(context, transformSourceFile); + function transformSourceFile(node) { + top = void 0; + shouldTransformPrivateStaticElementsInFile = false; + const visited = visitEachChild(node, visitor, context); + addEmitHelpers(visited, context.readEmitHelpers()); + if (shouldTransformPrivateStaticElementsInFile) { + addInternalEmitFlags(visited, 32 /* TransformPrivateStaticElements */); + shouldTransformPrivateStaticElementsInFile = false; + } + return visited; + } + function updateState() { + classInfo = void 0; + classThis = void 0; + classSuper = void 0; + switch (top == null ? void 0 : top.kind) { + case "class": + classInfo = top.classInfo; + break; + case "class-element": + classInfo = top.next.classInfo; + classThis = top.classThis; + classSuper = top.classSuper; + break; + case "name": + const grandparent = top.next.next.next; + if ((grandparent == null ? void 0 : grandparent.kind) === "class-element") { + classInfo = grandparent.next.classInfo; + classThis = grandparent.classThis; + classSuper = grandparent.classSuper; + } + break; + } + } + function enterClass(classInfo2) { + top = { kind: "class", next: top, classInfo: classInfo2, savedPendingExpressions: pendingExpressions }; + pendingExpressions = void 0; + updateState(); + } + function exitClass() { + Debug.assert((top == null ? void 0 : top.kind) === "class", "Incorrect value for top.kind.", () => `Expected top.kind to be 'class' but got '${top == null ? void 0 : top.kind}' instead.`); + pendingExpressions = top.savedPendingExpressions; + top = top.next; + updateState(); + } + function enterClassElement(node) { + var _a, _b; + Debug.assert((top == null ? void 0 : top.kind) === "class", "Incorrect value for top.kind.", () => `Expected top.kind to be 'class' but got '${top == null ? void 0 : top.kind}' instead.`); + top = { kind: "class-element", next: top }; + if (isClassStaticBlockDeclaration(node) || isPropertyDeclaration(node) && hasStaticModifier(node)) { + top.classThis = (_a = top.next.classInfo) == null ? void 0 : _a.classThis; + top.classSuper = (_b = top.next.classInfo) == null ? void 0 : _b.classSuper; + } + updateState(); + } + function exitClassElement() { + var _a; + Debug.assert((top == null ? void 0 : top.kind) === "class-element", "Incorrect value for top.kind.", () => `Expected top.kind to be 'class-element' but got '${top == null ? void 0 : top.kind}' instead.`); + Debug.assert(((_a = top.next) == null ? void 0 : _a.kind) === "class", "Incorrect value for top.next.kind.", () => { + var _a2; + return `Expected top.next.kind to be 'class' but got '${(_a2 = top.next) == null ? void 0 : _a2.kind}' instead.`; + }); + top = top.next; + updateState(); + } + function enterName() { + Debug.assert((top == null ? void 0 : top.kind) === "class-element", "Incorrect value for top.kind.", () => `Expected top.kind to be 'class-element' but got '${top == null ? void 0 : top.kind}' instead.`); + top = { kind: "name", next: top }; + updateState(); + } + function exitName() { + Debug.assert((top == null ? void 0 : top.kind) === "name", "Incorrect value for top.kind.", () => `Expected top.kind to be 'name' but got '${top == null ? void 0 : top.kind}' instead.`); + top = top.next; + updateState(); + } + function enterOther() { + if ((top == null ? void 0 : top.kind) === "other") { + Debug.assert(!pendingExpressions); + top.depth++; + } else { + top = { kind: "other", next: top, depth: 0, savedPendingExpressions: pendingExpressions }; + pendingExpressions = void 0; + updateState(); + } + } + function exitOther() { + Debug.assert((top == null ? void 0 : top.kind) === "other", "Incorrect value for top.kind.", () => `Expected top.kind to be 'other' but got '${top == null ? void 0 : top.kind}' instead.`); + if (top.depth > 0) { + Debug.assert(!pendingExpressions); + top.depth--; + } else { + pendingExpressions = top.savedPendingExpressions; + top = top.next; + updateState(); + } + } + function shouldVisitNode(node) { + return !!(node.transformFlags & 33554432 /* ContainsDecorators */) || !!classThis && !!(node.transformFlags & 16384 /* ContainsLexicalThis */) || !!classThis && !!classSuper && !!(node.transformFlags & 134217728 /* ContainsLexicalSuper */); + } + function visitor(node) { + if (!shouldVisitNode(node)) { + return node; + } + switch (node.kind) { + case 170 /* Decorator */: + return Debug.fail("Use `modifierVisitor` instead."); + case 263 /* ClassDeclaration */: + return visitClassDeclaration(node); + case 231 /* ClassExpression */: + return visitClassExpression(node); + case 176 /* Constructor */: + case 172 /* PropertyDeclaration */: + case 175 /* ClassStaticBlockDeclaration */: + return Debug.fail("Not supported outside of a class. Use 'classElementVisitor' instead."); + case 169 /* Parameter */: + return visitParameterDeclaration(node); + // Support NamedEvaluation to ensure the correct class name for class expressions. + case 226 /* BinaryExpression */: + return visitBinaryExpression( + node, + /*discarded*/ + false + ); + case 303 /* PropertyAssignment */: + return visitPropertyAssignment(node); + case 260 /* VariableDeclaration */: + return visitVariableDeclaration(node); + case 208 /* BindingElement */: + return visitBindingElement(node); + case 277 /* ExportAssignment */: + return visitExportAssignment(node); + case 110 /* ThisKeyword */: + return visitThisExpression(node); + case 248 /* ForStatement */: + return visitForStatement(node); + case 244 /* ExpressionStatement */: + return visitExpressionStatement(node); + case 356 /* CommaListExpression */: + return visitCommaListExpression( + node, + /*discarded*/ + false + ); + case 217 /* ParenthesizedExpression */: + return visitParenthesizedExpression( + node, + /*discarded*/ + false + ); + case 355 /* PartiallyEmittedExpression */: + return visitPartiallyEmittedExpression( + node, + /*discarded*/ + false + ); + case 213 /* CallExpression */: + return visitCallExpression(node); + case 215 /* TaggedTemplateExpression */: + return visitTaggedTemplateExpression(node); + case 224 /* PrefixUnaryExpression */: + case 225 /* PostfixUnaryExpression */: + return visitPreOrPostfixUnaryExpression( + node, + /*discarded*/ + false + ); + case 211 /* PropertyAccessExpression */: + return visitPropertyAccessExpression(node); + case 212 /* ElementAccessExpression */: + return visitElementAccessExpression(node); + case 167 /* ComputedPropertyName */: + return visitComputedPropertyName(node); + case 174 /* MethodDeclaration */: + // object literal methods and accessors + case 178 /* SetAccessor */: + case 177 /* GetAccessor */: + case 218 /* FunctionExpression */: + case 262 /* FunctionDeclaration */: { + enterOther(); + const result = visitEachChild(node, fallbackVisitor, context); + exitOther(); + return result; + } + default: + return visitEachChild(node, fallbackVisitor, context); + } + } + function fallbackVisitor(node) { + switch (node.kind) { + case 170 /* Decorator */: + return void 0; + default: + return visitor(node); + } + } + function modifierVisitor(node) { + switch (node.kind) { + case 170 /* Decorator */: + return void 0; + default: + return node; + } + } + function classElementVisitor(node) { + switch (node.kind) { + case 176 /* Constructor */: + return visitConstructorDeclaration(node); + case 174 /* MethodDeclaration */: + return visitMethodDeclaration(node); + case 177 /* GetAccessor */: + return visitGetAccessorDeclaration(node); + case 178 /* SetAccessor */: + return visitSetAccessorDeclaration(node); + case 172 /* PropertyDeclaration */: + return visitPropertyDeclaration(node); + case 175 /* ClassStaticBlockDeclaration */: + return visitClassStaticBlockDeclaration(node); + default: + return visitor(node); + } + } + function discardedValueVisitor(node) { + switch (node.kind) { + case 224 /* PrefixUnaryExpression */: + case 225 /* PostfixUnaryExpression */: + return visitPreOrPostfixUnaryExpression( + node, + /*discarded*/ + true + ); + case 226 /* BinaryExpression */: + return visitBinaryExpression( + node, + /*discarded*/ + true + ); + case 356 /* CommaListExpression */: + return visitCommaListExpression( + node, + /*discarded*/ + true + ); + case 217 /* ParenthesizedExpression */: + return visitParenthesizedExpression( + node, + /*discarded*/ + true + ); + default: + return visitor(node); + } + } + function getHelperVariableName(node) { + let declarationName = node.name && isIdentifier(node.name) && !isGeneratedIdentifier(node.name) ? idText(node.name) : node.name && isPrivateIdentifier(node.name) && !isGeneratedIdentifier(node.name) ? idText(node.name).slice(1) : node.name && isStringLiteral(node.name) && isIdentifierText(node.name.text, 99 /* ESNext */) ? node.name.text : isClassLike(node) ? "class" : "member"; + if (isGetAccessor(node)) declarationName = `get_${declarationName}`; + if (isSetAccessor(node)) declarationName = `set_${declarationName}`; + if (node.name && isPrivateIdentifier(node.name)) declarationName = `private_${declarationName}`; + if (isStatic(node)) declarationName = `static_${declarationName}`; + return "_" + declarationName; + } + function createHelperVariable(node, suffix) { + return factory2.createUniqueName(`${getHelperVariableName(node)}_${suffix}`, 16 /* Optimistic */ | 8 /* ReservedInNestedScopes */); + } + function createLet(name, initializer) { + return factory2.createVariableStatement( + /*modifiers*/ + void 0, + factory2.createVariableDeclarationList([ + factory2.createVariableDeclaration( + name, + /*exclamationToken*/ + void 0, + /*type*/ + void 0, + initializer + ) + ], 1 /* Let */) + ); + } + function createClassInfo(node) { + const metadataReference = factory2.createUniqueName("_metadata", 16 /* Optimistic */ | 32 /* FileLevel */); + let instanceMethodExtraInitializersName; + let staticMethodExtraInitializersName; + let hasStaticInitializers = false; + let hasNonAmbientInstanceFields = false; + let hasStaticPrivateClassElements = false; + let classThis2; + let pendingStaticInitializers; + let pendingInstanceInitializers; + if (nodeIsDecorated( + /*useLegacyDecorators*/ + false, + node + )) { + const needsUniqueClassThis = some(node.members, (member) => (isPrivateIdentifierClassElementDeclaration(member) || isAutoAccessorPropertyDeclaration(member)) && hasStaticModifier(member)); + classThis2 = factory2.createUniqueName( + "_classThis", + needsUniqueClassThis ? 16 /* Optimistic */ | 8 /* ReservedInNestedScopes */ : 16 /* Optimistic */ | 32 /* FileLevel */ + ); + } + for (const member of node.members) { + if (isMethodOrAccessor(member) && nodeOrChildIsDecorated( + /*useLegacyDecorators*/ + false, + member, + node + )) { + if (hasStaticModifier(member)) { + if (!staticMethodExtraInitializersName) { + staticMethodExtraInitializersName = factory2.createUniqueName("_staticExtraInitializers", 16 /* Optimistic */ | 32 /* FileLevel */); + const initializer = emitHelpers().createRunInitializersHelper(classThis2 ?? factory2.createThis(), staticMethodExtraInitializersName); + setSourceMapRange(initializer, node.name ?? moveRangePastDecorators(node)); + pendingStaticInitializers ?? (pendingStaticInitializers = []); + pendingStaticInitializers.push(initializer); + } + } else { + if (!instanceMethodExtraInitializersName) { + instanceMethodExtraInitializersName = factory2.createUniqueName("_instanceExtraInitializers", 16 /* Optimistic */ | 32 /* FileLevel */); + const initializer = emitHelpers().createRunInitializersHelper(factory2.createThis(), instanceMethodExtraInitializersName); + setSourceMapRange(initializer, node.name ?? moveRangePastDecorators(node)); + pendingInstanceInitializers ?? (pendingInstanceInitializers = []); + pendingInstanceInitializers.push(initializer); + } + instanceMethodExtraInitializersName ?? (instanceMethodExtraInitializersName = factory2.createUniqueName("_instanceExtraInitializers", 16 /* Optimistic */ | 32 /* FileLevel */)); + } + } + if (isClassStaticBlockDeclaration(member)) { + if (!isClassNamedEvaluationHelperBlock(member)) { + hasStaticInitializers = true; + } + } else if (isPropertyDeclaration(member)) { + if (hasStaticModifier(member)) { + hasStaticInitializers || (hasStaticInitializers = !!member.initializer || hasDecorators(member)); + } else { + hasNonAmbientInstanceFields || (hasNonAmbientInstanceFields = !isAmbientPropertyDeclaration(member)); + } + } + if ((isPrivateIdentifierClassElementDeclaration(member) || isAutoAccessorPropertyDeclaration(member)) && hasStaticModifier(member)) { + hasStaticPrivateClassElements = true; + } + if (staticMethodExtraInitializersName && instanceMethodExtraInitializersName && hasStaticInitializers && hasNonAmbientInstanceFields && hasStaticPrivateClassElements) { + break; + } + } + return { + class: node, + classThis: classThis2, + metadataReference, + instanceMethodExtraInitializersName, + staticMethodExtraInitializersName, + hasStaticInitializers, + hasNonAmbientInstanceFields, + hasStaticPrivateClassElements, + pendingStaticInitializers, + pendingInstanceInitializers + }; + } + function transformClassLike(node) { + startLexicalEnvironment(); + if (!classHasDeclaredOrExplicitlyAssignedName(node) && classOrConstructorParameterIsDecorated( + /*useLegacyDecorators*/ + false, + node + )) { + node = injectClassNamedEvaluationHelperBlockIfMissing(context, node, factory2.createStringLiteral("")); + } + const classReference = factory2.getLocalName( + node, + /*allowComments*/ + false, + /*allowSourceMaps*/ + false, + /*ignoreAssignedName*/ + true + ); + const classInfo2 = createClassInfo(node); + const classDefinitionStatements = []; + let leadingBlockStatements; + let trailingBlockStatements; + let syntheticConstructor; + let heritageClauses; + let shouldTransformPrivateStaticElementsInClass = false; + const classDecorators = transformAllDecoratorsOfDeclaration(getAllDecoratorsOfClass( + node, + /*useLegacyDecorators*/ + false + )); + if (classDecorators) { + classInfo2.classDecoratorsName = factory2.createUniqueName("_classDecorators", 16 /* Optimistic */ | 32 /* FileLevel */); + classInfo2.classDescriptorName = factory2.createUniqueName("_classDescriptor", 16 /* Optimistic */ | 32 /* FileLevel */); + classInfo2.classExtraInitializersName = factory2.createUniqueName("_classExtraInitializers", 16 /* Optimistic */ | 32 /* FileLevel */); + Debug.assertIsDefined(classInfo2.classThis); + classDefinitionStatements.push( + createLet(classInfo2.classDecoratorsName, factory2.createArrayLiteralExpression(classDecorators)), + createLet(classInfo2.classDescriptorName), + createLet(classInfo2.classExtraInitializersName, factory2.createArrayLiteralExpression()), + createLet(classInfo2.classThis) + ); + if (classInfo2.hasStaticPrivateClassElements) { + shouldTransformPrivateStaticElementsInClass = true; + shouldTransformPrivateStaticElementsInFile = true; + } + } + const extendsClause = getHeritageClause(node.heritageClauses, 96 /* ExtendsKeyword */); + const extendsElement = extendsClause && firstOrUndefined(extendsClause.types); + const extendsExpression = extendsElement && visitNode(extendsElement.expression, visitor, isExpression); + if (extendsExpression) { + classInfo2.classSuper = factory2.createUniqueName("_classSuper", 16 /* Optimistic */ | 32 /* FileLevel */); + const unwrapped = skipOuterExpressions(extendsExpression); + const safeExtendsExpression = isClassExpression(unwrapped) && !unwrapped.name || isFunctionExpression(unwrapped) && !unwrapped.name || isArrowFunction(unwrapped) ? factory2.createComma(factory2.createNumericLiteral(0), extendsExpression) : extendsExpression; + classDefinitionStatements.push(createLet(classInfo2.classSuper, safeExtendsExpression)); + const updatedExtendsElement = factory2.updateExpressionWithTypeArguments( + extendsElement, + classInfo2.classSuper, + /*typeArguments*/ + void 0 + ); + const updatedExtendsClause = factory2.updateHeritageClause(extendsClause, [updatedExtendsElement]); + heritageClauses = factory2.createNodeArray([updatedExtendsClause]); + } + const renamedClassThis = classInfo2.classThis ?? factory2.createThis(); + enterClass(classInfo2); + leadingBlockStatements = append(leadingBlockStatements, createMetadata(classInfo2.metadataReference, classInfo2.classSuper)); + let members = node.members; + members = visitNodes2(members, (node2) => isConstructorDeclaration(node2) ? node2 : classElementVisitor(node2), isClassElement); + members = visitNodes2(members, (node2) => isConstructorDeclaration(node2) ? classElementVisitor(node2) : node2, isClassElement); + if (pendingExpressions) { + let outerThis; + for (let expression of pendingExpressions) { + expression = visitNode(expression, function thisVisitor(node2) { + if (!(node2.transformFlags & 16384 /* ContainsLexicalThis */)) { + return node2; + } + switch (node2.kind) { + case 110 /* ThisKeyword */: + if (!outerThis) { + outerThis = factory2.createUniqueName("_outerThis", 16 /* Optimistic */); + classDefinitionStatements.unshift(createLet(outerThis, factory2.createThis())); + } + return outerThis; + default: + return visitEachChild(node2, thisVisitor, context); + } + }, isExpression); + const statement = factory2.createExpressionStatement(expression); + leadingBlockStatements = append(leadingBlockStatements, statement); + } + pendingExpressions = void 0; + } + exitClass(); + if (some(classInfo2.pendingInstanceInitializers) && !getFirstConstructorWithBody(node)) { + const initializerStatements = prepareConstructor(node, classInfo2); + if (initializerStatements) { + const extendsClauseElement = getEffectiveBaseTypeNode(node); + const isDerivedClass = !!(extendsClauseElement && skipOuterExpressions(extendsClauseElement.expression).kind !== 106 /* NullKeyword */); + const constructorStatements = []; + if (isDerivedClass) { + const spreadArguments = factory2.createSpreadElement(factory2.createIdentifier("arguments")); + const superCall = factory2.createCallExpression( + factory2.createSuper(), + /*typeArguments*/ + void 0, + [spreadArguments] + ); + constructorStatements.push(factory2.createExpressionStatement(superCall)); + } + addRange(constructorStatements, initializerStatements); + const constructorBody = factory2.createBlock( + constructorStatements, + /*multiLine*/ + true + ); + syntheticConstructor = factory2.createConstructorDeclaration( + /*modifiers*/ + void 0, + [], + constructorBody + ); + } + } + if (classInfo2.staticMethodExtraInitializersName) { + classDefinitionStatements.push( + createLet(classInfo2.staticMethodExtraInitializersName, factory2.createArrayLiteralExpression()) + ); + } + if (classInfo2.instanceMethodExtraInitializersName) { + classDefinitionStatements.push( + createLet(classInfo2.instanceMethodExtraInitializersName, factory2.createArrayLiteralExpression()) + ); + } + if (classInfo2.memberInfos) { + forEachEntry(classInfo2.memberInfos, (memberInfo, member) => { + if (isStatic(member)) { + classDefinitionStatements.push(createLet(memberInfo.memberDecoratorsName)); + if (memberInfo.memberInitializersName) { + classDefinitionStatements.push(createLet(memberInfo.memberInitializersName, factory2.createArrayLiteralExpression())); + } + if (memberInfo.memberExtraInitializersName) { + classDefinitionStatements.push(createLet(memberInfo.memberExtraInitializersName, factory2.createArrayLiteralExpression())); + } + if (memberInfo.memberDescriptorName) { + classDefinitionStatements.push(createLet(memberInfo.memberDescriptorName)); + } + } + }); + } + if (classInfo2.memberInfos) { + forEachEntry(classInfo2.memberInfos, (memberInfo, member) => { + if (!isStatic(member)) { + classDefinitionStatements.push(createLet(memberInfo.memberDecoratorsName)); + if (memberInfo.memberInitializersName) { + classDefinitionStatements.push(createLet(memberInfo.memberInitializersName, factory2.createArrayLiteralExpression())); + } + if (memberInfo.memberExtraInitializersName) { + classDefinitionStatements.push(createLet(memberInfo.memberExtraInitializersName, factory2.createArrayLiteralExpression())); + } + if (memberInfo.memberDescriptorName) { + classDefinitionStatements.push(createLet(memberInfo.memberDescriptorName)); + } + } + }); + } + leadingBlockStatements = addRange(leadingBlockStatements, classInfo2.staticNonFieldDecorationStatements); + leadingBlockStatements = addRange(leadingBlockStatements, classInfo2.nonStaticNonFieldDecorationStatements); + leadingBlockStatements = addRange(leadingBlockStatements, classInfo2.staticFieldDecorationStatements); + leadingBlockStatements = addRange(leadingBlockStatements, classInfo2.nonStaticFieldDecorationStatements); + if (classInfo2.classDescriptorName && classInfo2.classDecoratorsName && classInfo2.classExtraInitializersName && classInfo2.classThis) { + leadingBlockStatements ?? (leadingBlockStatements = []); + const valueProperty = factory2.createPropertyAssignment("value", renamedClassThis); + const classDescriptor = factory2.createObjectLiteralExpression([valueProperty]); + const classDescriptorAssignment = factory2.createAssignment(classInfo2.classDescriptorName, classDescriptor); + const classNameReference = factory2.createPropertyAccessExpression(renamedClassThis, "name"); + const esDecorateHelper2 = emitHelpers().createESDecorateHelper( + factory2.createNull(), + classDescriptorAssignment, + classInfo2.classDecoratorsName, + { kind: "class", name: classNameReference, metadata: classInfo2.metadataReference }, + factory2.createNull(), + classInfo2.classExtraInitializersName + ); + const esDecorateStatement = factory2.createExpressionStatement(esDecorateHelper2); + setSourceMapRange(esDecorateStatement, moveRangePastDecorators(node)); + leadingBlockStatements.push(esDecorateStatement); + const classDescriptorValueReference = factory2.createPropertyAccessExpression(classInfo2.classDescriptorName, "value"); + const classThisAssignment = factory2.createAssignment(classInfo2.classThis, classDescriptorValueReference); + const classReferenceAssignment = factory2.createAssignment(classReference, classThisAssignment); + leadingBlockStatements.push(factory2.createExpressionStatement(classReferenceAssignment)); + } + leadingBlockStatements.push(createSymbolMetadata(renamedClassThis, classInfo2.metadataReference)); + if (some(classInfo2.pendingStaticInitializers)) { + for (const initializer of classInfo2.pendingStaticInitializers) { + const initializerStatement = factory2.createExpressionStatement(initializer); + setSourceMapRange(initializerStatement, getSourceMapRange(initializer)); + trailingBlockStatements = append(trailingBlockStatements, initializerStatement); + } + classInfo2.pendingStaticInitializers = void 0; + } + if (classInfo2.classExtraInitializersName) { + const runClassInitializersHelper = emitHelpers().createRunInitializersHelper(renamedClassThis, classInfo2.classExtraInitializersName); + const runClassInitializersStatement = factory2.createExpressionStatement(runClassInitializersHelper); + setSourceMapRange(runClassInitializersStatement, node.name ?? moveRangePastDecorators(node)); + trailingBlockStatements = append(trailingBlockStatements, runClassInitializersStatement); + } + if (leadingBlockStatements && trailingBlockStatements && !classInfo2.hasStaticInitializers) { + addRange(leadingBlockStatements, trailingBlockStatements); + trailingBlockStatements = void 0; + } + const leadingStaticBlock = leadingBlockStatements && factory2.createClassStaticBlockDeclaration(factory2.createBlock( + leadingBlockStatements, + /*multiLine*/ + true + )); + if (leadingStaticBlock && shouldTransformPrivateStaticElementsInClass) { + setInternalEmitFlags(leadingStaticBlock, 32 /* TransformPrivateStaticElements */); + } + const trailingStaticBlock = trailingBlockStatements && factory2.createClassStaticBlockDeclaration(factory2.createBlock( + trailingBlockStatements, + /*multiLine*/ + true + )); + if (leadingStaticBlock || syntheticConstructor || trailingStaticBlock) { + const newMembers = []; + const existingNamedEvaluationHelperBlockIndex = members.findIndex(isClassNamedEvaluationHelperBlock); + if (leadingStaticBlock) { + addRange(newMembers, members, 0, existingNamedEvaluationHelperBlockIndex + 1); + newMembers.push(leadingStaticBlock); + addRange(newMembers, members, existingNamedEvaluationHelperBlockIndex + 1); + } else { + addRange(newMembers, members); + } + if (syntheticConstructor) { + newMembers.push(syntheticConstructor); + } + if (trailingStaticBlock) { + newMembers.push(trailingStaticBlock); + } + members = setTextRange(factory2.createNodeArray(newMembers), members); + } + const lexicalEnvironment = endLexicalEnvironment(); + let classExpression; + if (classDecorators) { + classExpression = factory2.createClassExpression( + /*modifiers*/ + void 0, + /*name*/ + void 0, + /*typeParameters*/ + void 0, + heritageClauses, + members + ); + if (classInfo2.classThis) { + classExpression = injectClassThisAssignmentIfMissing(factory2, classExpression, classInfo2.classThis); + } + const classReferenceDeclaration = factory2.createVariableDeclaration( + classReference, + /*exclamationToken*/ + void 0, + /*type*/ + void 0, + classExpression + ); + const classReferenceVarDeclList = factory2.createVariableDeclarationList([classReferenceDeclaration]); + const returnExpr = classInfo2.classThis ? factory2.createAssignment(classReference, classInfo2.classThis) : classReference; + classDefinitionStatements.push( + factory2.createVariableStatement( + /*modifiers*/ + void 0, + classReferenceVarDeclList + ), + factory2.createReturnStatement(returnExpr) + ); + } else { + classExpression = factory2.createClassExpression( + /*modifiers*/ + void 0, + node.name, + /*typeParameters*/ + void 0, + heritageClauses, + members + ); + classDefinitionStatements.push(factory2.createReturnStatement(classExpression)); + } + if (shouldTransformPrivateStaticElementsInClass) { + addInternalEmitFlags(classExpression, 32 /* TransformPrivateStaticElements */); + for (const member of classExpression.members) { + if ((isPrivateIdentifierClassElementDeclaration(member) || isAutoAccessorPropertyDeclaration(member)) && hasStaticModifier(member)) { + addInternalEmitFlags(member, 32 /* TransformPrivateStaticElements */); + } + } + } + setOriginalNode(classExpression, node); + return factory2.createImmediatelyInvokedArrowFunction(factory2.mergeLexicalEnvironment(classDefinitionStatements, lexicalEnvironment)); + } + function isDecoratedClassLike(node) { + return classOrConstructorParameterIsDecorated( + /*useLegacyDecorators*/ + false, + node + ) || childIsDecorated( + /*useLegacyDecorators*/ + false, + node + ); + } + function visitClassDeclaration(node) { + if (isDecoratedClassLike(node)) { + const statements = []; + const originalClass = getOriginalNode(node, isClassLike) ?? node; + const className = originalClass.name ? factory2.createStringLiteralFromNode(originalClass.name) : factory2.createStringLiteral("default"); + const isExport = hasSyntacticModifier(node, 32 /* Export */); + const isDefault = hasSyntacticModifier(node, 2048 /* Default */); + if (!node.name) { + node = injectClassNamedEvaluationHelperBlockIfMissing(context, node, className); + } + if (isExport && isDefault) { + const iife = transformClassLike(node); + if (node.name) { + const varDecl = factory2.createVariableDeclaration( + factory2.getLocalName(node), + /*exclamationToken*/ + void 0, + /*type*/ + void 0, + iife + ); + setOriginalNode(varDecl, node); + const varDecls = factory2.createVariableDeclarationList([varDecl], 1 /* Let */); + const varStatement = factory2.createVariableStatement( + /*modifiers*/ + void 0, + varDecls + ); + statements.push(varStatement); + const exportStatement = factory2.createExportDefault(factory2.getDeclarationName(node)); + setOriginalNode(exportStatement, node); + setCommentRange(exportStatement, getCommentRange(node)); + setSourceMapRange(exportStatement, moveRangePastDecorators(node)); + statements.push(exportStatement); + } else { + const exportStatement = factory2.createExportDefault(iife); + setOriginalNode(exportStatement, node); + setCommentRange(exportStatement, getCommentRange(node)); + setSourceMapRange(exportStatement, moveRangePastDecorators(node)); + statements.push(exportStatement); + } + } else { + Debug.assertIsDefined(node.name, "A class declaration that is not a default export must have a name."); + const iife = transformClassLike(node); + const modifierVisitorNoExport = isExport ? (node2) => isExportModifier(node2) ? void 0 : modifierVisitor(node2) : modifierVisitor; + const modifiers = visitNodes2(node.modifiers, modifierVisitorNoExport, isModifier); + const declName = factory2.getLocalName( + node, + /*allowComments*/ + false, + /*allowSourceMaps*/ + true + ); + const varDecl = factory2.createVariableDeclaration( + declName, + /*exclamationToken*/ + void 0, + /*type*/ + void 0, + iife + ); + setOriginalNode(varDecl, node); + const varDecls = factory2.createVariableDeclarationList([varDecl], 1 /* Let */); + const varStatement = factory2.createVariableStatement(modifiers, varDecls); + setOriginalNode(varStatement, node); + setCommentRange(varStatement, getCommentRange(node)); + statements.push(varStatement); + if (isExport) { + const exportStatement = factory2.createExternalModuleExport(declName); + setOriginalNode(exportStatement, node); + statements.push(exportStatement); + } + } + return singleOrMany(statements); + } else { + const modifiers = visitNodes2(node.modifiers, modifierVisitor, isModifier); + const heritageClauses = visitNodes2(node.heritageClauses, visitor, isHeritageClause); + enterClass( + /*classInfo*/ + void 0 + ); + const members = visitNodes2(node.members, classElementVisitor, isClassElement); + exitClass(); + return factory2.updateClassDeclaration( + node, + modifiers, + node.name, + /*typeParameters*/ + void 0, + heritageClauses, + members + ); + } + } + function visitClassExpression(node) { + if (isDecoratedClassLike(node)) { + const iife = transformClassLike(node); + setOriginalNode(iife, node); + return iife; + } else { + const modifiers = visitNodes2(node.modifiers, modifierVisitor, isModifier); + const heritageClauses = visitNodes2(node.heritageClauses, visitor, isHeritageClause); + enterClass( + /*classInfo*/ + void 0 + ); + const members = visitNodes2(node.members, classElementVisitor, isClassElement); + exitClass(); + return factory2.updateClassExpression( + node, + modifiers, + node.name, + /*typeParameters*/ + void 0, + heritageClauses, + members + ); + } + } + function prepareConstructor(_parent, classInfo2) { + if (some(classInfo2.pendingInstanceInitializers)) { + const statements = []; + statements.push( + factory2.createExpressionStatement( + factory2.inlineExpressions(classInfo2.pendingInstanceInitializers) + ) + ); + classInfo2.pendingInstanceInitializers = void 0; + return statements; + } + } + function transformConstructorBodyWorker(statementsOut, statementsIn, statementOffset, superPath, superPathDepth, initializerStatements) { + const superStatementIndex = superPath[superPathDepth]; + const superStatement = statementsIn[superStatementIndex]; + addRange(statementsOut, visitNodes2(statementsIn, visitor, isStatement, statementOffset, superStatementIndex - statementOffset)); + if (isTryStatement(superStatement)) { + const tryBlockStatements = []; + transformConstructorBodyWorker( + tryBlockStatements, + superStatement.tryBlock.statements, + /*statementOffset*/ + 0, + superPath, + superPathDepth + 1, + initializerStatements + ); + const tryBlockStatementsArray = factory2.createNodeArray(tryBlockStatements); + setTextRange(tryBlockStatementsArray, superStatement.tryBlock.statements); + statementsOut.push(factory2.updateTryStatement( + superStatement, + factory2.updateBlock(superStatement.tryBlock, tryBlockStatements), + visitNode(superStatement.catchClause, visitor, isCatchClause), + visitNode(superStatement.finallyBlock, visitor, isBlock) + )); + } else { + addRange(statementsOut, visitNodes2(statementsIn, visitor, isStatement, superStatementIndex, 1)); + addRange(statementsOut, initializerStatements); + } + addRange(statementsOut, visitNodes2(statementsIn, visitor, isStatement, superStatementIndex + 1)); + } + function visitConstructorDeclaration(node) { + enterClassElement(node); + const modifiers = visitNodes2(node.modifiers, modifierVisitor, isModifier); + const parameters = visitNodes2(node.parameters, visitor, isParameter); + let body; + if (node.body && classInfo) { + const initializerStatements = prepareConstructor(classInfo.class, classInfo); + if (initializerStatements) { + const statements = []; + const nonPrologueStart = factory2.copyPrologue( + node.body.statements, + statements, + /*ensureUseStrict*/ + false, + visitor + ); + const superStatementIndices = findSuperStatementIndexPath(node.body.statements, nonPrologueStart); + if (superStatementIndices.length > 0) { + transformConstructorBodyWorker(statements, node.body.statements, nonPrologueStart, superStatementIndices, 0, initializerStatements); + } else { + addRange(statements, initializerStatements); + addRange(statements, visitNodes2(node.body.statements, visitor, isStatement)); + } + body = factory2.createBlock( + statements, + /*multiLine*/ + true + ); + setOriginalNode(body, node.body); + setTextRange(body, node.body); + } + } + body ?? (body = visitNode(node.body, visitor, isBlock)); + exitClassElement(); + return factory2.updateConstructorDeclaration(node, modifiers, parameters, body); + } + function finishClassElement(updated, original) { + if (updated !== original) { + setCommentRange(updated, original); + setSourceMapRange(updated, moveRangePastDecorators(original)); + } + return updated; + } + function partialTransformClassElement(member, classInfo2, createDescriptor) { + let referencedName; + let name; + let initializersName; + let extraInitializersName; + let thisArg; + let descriptorName; + if (!classInfo2) { + const modifiers2 = visitNodes2(member.modifiers, modifierVisitor, isModifier); + enterName(); + name = visitPropertyName(member.name); + exitName(); + return { modifiers: modifiers2, referencedName, name, initializersName, descriptorName, thisArg }; + } + const memberDecorators = transformAllDecoratorsOfDeclaration(getAllDecoratorsOfClassElement( + member, + classInfo2.class, + /*useLegacyDecorators*/ + false + )); + const modifiers = visitNodes2(member.modifiers, modifierVisitor, isModifier); + if (memberDecorators) { + const memberDecoratorsName = createHelperVariable(member, "decorators"); + const memberDecoratorsArray = factory2.createArrayLiteralExpression(memberDecorators); + const memberDecoratorsAssignment = factory2.createAssignment(memberDecoratorsName, memberDecoratorsArray); + const memberInfo = { memberDecoratorsName }; + classInfo2.memberInfos ?? (classInfo2.memberInfos = /* @__PURE__ */ new Map()); + classInfo2.memberInfos.set(member, memberInfo); + pendingExpressions ?? (pendingExpressions = []); + pendingExpressions.push(memberDecoratorsAssignment); + const statements = isMethodOrAccessor(member) || isAutoAccessorPropertyDeclaration(member) ? isStatic(member) ? classInfo2.staticNonFieldDecorationStatements ?? (classInfo2.staticNonFieldDecorationStatements = []) : classInfo2.nonStaticNonFieldDecorationStatements ?? (classInfo2.nonStaticNonFieldDecorationStatements = []) : isPropertyDeclaration(member) && !isAutoAccessorPropertyDeclaration(member) ? isStatic(member) ? classInfo2.staticFieldDecorationStatements ?? (classInfo2.staticFieldDecorationStatements = []) : classInfo2.nonStaticFieldDecorationStatements ?? (classInfo2.nonStaticFieldDecorationStatements = []) : Debug.fail(); + const kind = isGetAccessorDeclaration(member) ? "getter" : isSetAccessorDeclaration(member) ? "setter" : isMethodDeclaration(member) ? "method" : isAutoAccessorPropertyDeclaration(member) ? "accessor" : isPropertyDeclaration(member) ? "field" : Debug.fail(); + let propertyName; + if (isIdentifier(member.name) || isPrivateIdentifier(member.name)) { + propertyName = { computed: false, name: member.name }; + } else if (isPropertyNameLiteral(member.name)) { + propertyName = { computed: true, name: factory2.createStringLiteralFromNode(member.name) }; + } else { + const expression = member.name.expression; + if (isPropertyNameLiteral(expression) && !isIdentifier(expression)) { + propertyName = { computed: true, name: factory2.createStringLiteralFromNode(expression) }; + } else { + enterName(); + ({ referencedName, name } = visitReferencedPropertyName(member.name)); + propertyName = { computed: true, name: referencedName }; + exitName(); + } + } + const context2 = { + kind, + name: propertyName, + static: isStatic(member), + private: isPrivateIdentifier(member.name), + access: { + // 15.7.3 CreateDecoratorAccessObject (kind, name) + // 2. If _kind_ is ~field~, ~method~, ~accessor~, or ~getter~, then ... + get: isPropertyDeclaration(member) || isGetAccessorDeclaration(member) || isMethodDeclaration(member), + // 3. If _kind_ is ~field~, ~accessor~, or ~setter~, then ... + set: isPropertyDeclaration(member) || isSetAccessorDeclaration(member) + }, + metadata: classInfo2.metadataReference + }; + if (isMethodOrAccessor(member)) { + const methodExtraInitializersName = isStatic(member) ? classInfo2.staticMethodExtraInitializersName : classInfo2.instanceMethodExtraInitializersName; + Debug.assertIsDefined(methodExtraInitializersName); + let descriptor; + if (isPrivateIdentifierClassElementDeclaration(member) && createDescriptor) { + descriptor = createDescriptor(member, visitNodes2(modifiers, (node) => tryCast(node, isAsyncModifier), isModifier)); + memberInfo.memberDescriptorName = descriptorName = createHelperVariable(member, "descriptor"); + descriptor = factory2.createAssignment(descriptorName, descriptor); + } + const esDecorateExpression = emitHelpers().createESDecorateHelper(factory2.createThis(), descriptor ?? factory2.createNull(), memberDecoratorsName, context2, factory2.createNull(), methodExtraInitializersName); + const esDecorateStatement = factory2.createExpressionStatement(esDecorateExpression); + setSourceMapRange(esDecorateStatement, moveRangePastDecorators(member)); + statements.push(esDecorateStatement); + } else if (isPropertyDeclaration(member)) { + initializersName = memberInfo.memberInitializersName ?? (memberInfo.memberInitializersName = createHelperVariable(member, "initializers")); + extraInitializersName = memberInfo.memberExtraInitializersName ?? (memberInfo.memberExtraInitializersName = createHelperVariable(member, "extraInitializers")); + if (isStatic(member)) { + thisArg = classInfo2.classThis; + } + let descriptor; + if (isPrivateIdentifierClassElementDeclaration(member) && hasAccessorModifier(member) && createDescriptor) { + descriptor = createDescriptor( + member, + /*modifiers*/ + void 0 + ); + memberInfo.memberDescriptorName = descriptorName = createHelperVariable(member, "descriptor"); + descriptor = factory2.createAssignment(descriptorName, descriptor); + } + const esDecorateExpression = emitHelpers().createESDecorateHelper( + isAutoAccessorPropertyDeclaration(member) ? factory2.createThis() : factory2.createNull(), + descriptor ?? factory2.createNull(), + memberDecoratorsName, + context2, + initializersName, + extraInitializersName + ); + const esDecorateStatement = factory2.createExpressionStatement(esDecorateExpression); + setSourceMapRange(esDecorateStatement, moveRangePastDecorators(member)); + statements.push(esDecorateStatement); + } + } + if (name === void 0) { + enterName(); + name = visitPropertyName(member.name); + exitName(); + } + if (!some(modifiers) && (isMethodDeclaration(member) || isPropertyDeclaration(member))) { + setEmitFlags(name, 1024 /* NoLeadingComments */); + } + return { modifiers, referencedName, name, initializersName, extraInitializersName, descriptorName, thisArg }; + } + function visitMethodDeclaration(node) { + enterClassElement(node); + const { modifiers, name, descriptorName } = partialTransformClassElement(node, classInfo, createMethodDescriptorObject); + if (descriptorName) { + exitClassElement(); + return finishClassElement(createMethodDescriptorForwarder(modifiers, name, descriptorName), node); + } else { + const parameters = visitNodes2(node.parameters, visitor, isParameter); + const body = visitNode(node.body, visitor, isBlock); + exitClassElement(); + return finishClassElement(factory2.updateMethodDeclaration( + node, + modifiers, + node.asteriskToken, + name, + /*questionToken*/ + void 0, + /*typeParameters*/ + void 0, + parameters, + /*type*/ + void 0, + body + ), node); + } + } + function visitGetAccessorDeclaration(node) { + enterClassElement(node); + const { modifiers, name, descriptorName } = partialTransformClassElement(node, classInfo, createGetAccessorDescriptorObject); + if (descriptorName) { + exitClassElement(); + return finishClassElement(createGetAccessorDescriptorForwarder(modifiers, name, descriptorName), node); + } else { + const parameters = visitNodes2(node.parameters, visitor, isParameter); + const body = visitNode(node.body, visitor, isBlock); + exitClassElement(); + return finishClassElement(factory2.updateGetAccessorDeclaration( + node, + modifiers, + name, + parameters, + /*type*/ + void 0, + body + ), node); + } + } + function visitSetAccessorDeclaration(node) { + enterClassElement(node); + const { modifiers, name, descriptorName } = partialTransformClassElement(node, classInfo, createSetAccessorDescriptorObject); + if (descriptorName) { + exitClassElement(); + return finishClassElement(createSetAccessorDescriptorForwarder(modifiers, name, descriptorName), node); + } else { + const parameters = visitNodes2(node.parameters, visitor, isParameter); + const body = visitNode(node.body, visitor, isBlock); + exitClassElement(); + return finishClassElement(factory2.updateSetAccessorDeclaration(node, modifiers, name, parameters, body), node); + } + } + function visitClassStaticBlockDeclaration(node) { + enterClassElement(node); + let result; + if (isClassNamedEvaluationHelperBlock(node)) { + result = visitEachChild(node, visitor, context); + } else if (isClassThisAssignmentBlock(node)) { + const savedClassThis = classThis; + classThis = void 0; + result = visitEachChild(node, visitor, context); + classThis = savedClassThis; + } else { + node = visitEachChild(node, visitor, context); + result = node; + if (classInfo) { + classInfo.hasStaticInitializers = true; + if (some(classInfo.pendingStaticInitializers)) { + const statements = []; + for (const initializer of classInfo.pendingStaticInitializers) { + const initializerStatement = factory2.createExpressionStatement(initializer); + setSourceMapRange(initializerStatement, getSourceMapRange(initializer)); + statements.push(initializerStatement); + } + const body = factory2.createBlock( + statements, + /*multiLine*/ + true + ); + const staticBlock = factory2.createClassStaticBlockDeclaration(body); + result = [staticBlock, result]; + classInfo.pendingStaticInitializers = void 0; + } + } + } + exitClassElement(); + return result; + } + function visitPropertyDeclaration(node) { + if (isNamedEvaluation(node, isAnonymousClassNeedingAssignedName)) { + node = transformNamedEvaluation(context, node, canIgnoreEmptyStringLiteralInAssignedName(node.initializer)); + } + enterClassElement(node); + Debug.assert(!isAmbientPropertyDeclaration(node), "Not yet implemented."); + const { modifiers, name, initializersName, extraInitializersName, descriptorName, thisArg } = partialTransformClassElement(node, classInfo, hasAccessorModifier(node) ? createAccessorPropertyDescriptorObject : void 0); + startLexicalEnvironment(); + let initializer = visitNode(node.initializer, visitor, isExpression); + if (initializersName) { + initializer = emitHelpers().createRunInitializersHelper( + thisArg ?? factory2.createThis(), + initializersName, + initializer ?? factory2.createVoidZero() + ); + } + if (isStatic(node) && classInfo && initializer) { + classInfo.hasStaticInitializers = true; + } + const declarations = endLexicalEnvironment(); + if (some(declarations)) { + initializer = factory2.createImmediatelyInvokedArrowFunction([ + ...declarations, + factory2.createReturnStatement(initializer) + ]); + } + if (classInfo) { + if (isStatic(node)) { + initializer = injectPendingInitializers( + classInfo, + /*isStatic*/ + true, + initializer + ); + if (extraInitializersName) { + classInfo.pendingStaticInitializers ?? (classInfo.pendingStaticInitializers = []); + classInfo.pendingStaticInitializers.push( + emitHelpers().createRunInitializersHelper( + classInfo.classThis ?? factory2.createThis(), + extraInitializersName + ) + ); + } + } else { + initializer = injectPendingInitializers( + classInfo, + /*isStatic*/ + false, + initializer + ); + if (extraInitializersName) { + classInfo.pendingInstanceInitializers ?? (classInfo.pendingInstanceInitializers = []); + classInfo.pendingInstanceInitializers.push( + emitHelpers().createRunInitializersHelper( + factory2.createThis(), + extraInitializersName + ) + ); + } + } + } + exitClassElement(); + if (hasAccessorModifier(node) && descriptorName) { + const commentRange = getCommentRange(node); + const sourceMapRange = getSourceMapRange(node); + const name2 = node.name; + let getterName = name2; + let setterName = name2; + if (isComputedPropertyName(name2) && !isSimpleInlineableExpression(name2.expression)) { + const cacheAssignment = findComputedPropertyNameCacheAssignment(name2); + if (cacheAssignment) { + getterName = factory2.updateComputedPropertyName(name2, visitNode(name2.expression, visitor, isExpression)); + setterName = factory2.updateComputedPropertyName(name2, cacheAssignment.left); + } else { + const temp = factory2.createTempVariable(hoistVariableDeclaration); + setSourceMapRange(temp, name2.expression); + const expression = visitNode(name2.expression, visitor, isExpression); + const assignment = factory2.createAssignment(temp, expression); + setSourceMapRange(assignment, name2.expression); + getterName = factory2.updateComputedPropertyName(name2, assignment); + setterName = factory2.updateComputedPropertyName(name2, temp); + } + } + const modifiersWithoutAccessor = visitNodes2(modifiers, (node2) => node2.kind !== 129 /* AccessorKeyword */ ? node2 : void 0, isModifier); + const backingField = createAccessorPropertyBackingField(factory2, node, modifiersWithoutAccessor, initializer); + setOriginalNode(backingField, node); + setEmitFlags(backingField, 3072 /* NoComments */); + setSourceMapRange(backingField, sourceMapRange); + setSourceMapRange(backingField.name, node.name); + const getter = createGetAccessorDescriptorForwarder(modifiersWithoutAccessor, getterName, descriptorName); + setOriginalNode(getter, node); + setCommentRange(getter, commentRange); + setSourceMapRange(getter, sourceMapRange); + const setter = createSetAccessorDescriptorForwarder(modifiersWithoutAccessor, setterName, descriptorName); + setOriginalNode(setter, node); + setEmitFlags(setter, 3072 /* NoComments */); + setSourceMapRange(setter, sourceMapRange); + return [backingField, getter, setter]; + } + return finishClassElement(factory2.updatePropertyDeclaration( + node, + modifiers, + name, + /*questionOrExclamationToken*/ + void 0, + /*type*/ + void 0, + initializer + ), node); + } + function visitThisExpression(node) { + return classThis ?? node; + } + function visitCallExpression(node) { + if (isSuperProperty(node.expression) && classThis) { + const expression = visitNode(node.expression, visitor, isExpression); + const argumentsList = visitNodes2(node.arguments, visitor, isExpression); + const invocation = factory2.createFunctionCallCall(expression, classThis, argumentsList); + setOriginalNode(invocation, node); + setTextRange(invocation, node); + return invocation; + } + return visitEachChild(node, visitor, context); + } + function visitTaggedTemplateExpression(node) { + if (isSuperProperty(node.tag) && classThis) { + const tag = visitNode(node.tag, visitor, isExpression); + const boundTag = factory2.createFunctionBindCall(tag, classThis, []); + setOriginalNode(boundTag, node); + setTextRange(boundTag, node); + const template = visitNode(node.template, visitor, isTemplateLiteral); + return factory2.updateTaggedTemplateExpression( + node, + boundTag, + /*typeArguments*/ + void 0, + template + ); + } + return visitEachChild(node, visitor, context); + } + function visitPropertyAccessExpression(node) { + if (isSuperProperty(node) && isIdentifier(node.name) && classThis && classSuper) { + const propertyName = factory2.createStringLiteralFromNode(node.name); + const superProperty = factory2.createReflectGetCall(classSuper, propertyName, classThis); + setOriginalNode(superProperty, node.expression); + setTextRange(superProperty, node.expression); + return superProperty; + } + return visitEachChild(node, visitor, context); + } + function visitElementAccessExpression(node) { + if (isSuperProperty(node) && classThis && classSuper) { + const propertyName = visitNode(node.argumentExpression, visitor, isExpression); + const superProperty = factory2.createReflectGetCall(classSuper, propertyName, classThis); + setOriginalNode(superProperty, node.expression); + setTextRange(superProperty, node.expression); + return superProperty; + } + return visitEachChild(node, visitor, context); + } + function visitParameterDeclaration(node) { + if (isNamedEvaluation(node, isAnonymousClassNeedingAssignedName)) { + node = transformNamedEvaluation(context, node, canIgnoreEmptyStringLiteralInAssignedName(node.initializer)); + } + const updated = factory2.updateParameterDeclaration( + node, + /*modifiers*/ + void 0, + node.dotDotDotToken, + visitNode(node.name, visitor, isBindingName), + /*questionToken*/ + void 0, + /*type*/ + void 0, + visitNode(node.initializer, visitor, isExpression) + ); + if (updated !== node) { + setCommentRange(updated, node); + setTextRange(updated, moveRangePastModifiers(node)); + setSourceMapRange(updated, moveRangePastModifiers(node)); + setEmitFlags(updated.name, 64 /* NoTrailingSourceMap */); + } + return updated; + } + function isAnonymousClassNeedingAssignedName(node) { + return isClassExpression(node) && !node.name && isDecoratedClassLike(node); + } + function canIgnoreEmptyStringLiteralInAssignedName(node) { + const innerExpression = skipOuterExpressions(node); + return isClassExpression(innerExpression) && !innerExpression.name && !classOrConstructorParameterIsDecorated( + /*useLegacyDecorators*/ + false, + innerExpression + ); + } + function visitForStatement(node) { + return factory2.updateForStatement( + node, + visitNode(node.initializer, discardedValueVisitor, isForInitializer), + visitNode(node.condition, visitor, isExpression), + visitNode(node.incrementor, discardedValueVisitor, isExpression), + visitIterationBody(node.statement, visitor, context) + ); + } + function visitExpressionStatement(node) { + return visitEachChild(node, discardedValueVisitor, context); + } + function visitBinaryExpression(node, discarded) { + if (isDestructuringAssignment(node)) { + const left = visitAssignmentPattern(node.left); + const right = visitNode(node.right, visitor, isExpression); + return factory2.updateBinaryExpression(node, left, node.operatorToken, right); + } + if (isAssignmentExpression(node)) { + if (isNamedEvaluation(node, isAnonymousClassNeedingAssignedName)) { + node = transformNamedEvaluation(context, node, canIgnoreEmptyStringLiteralInAssignedName(node.right)); + return visitEachChild(node, visitor, context); + } + if (isSuperProperty(node.left) && classThis && classSuper) { + let setterName = isElementAccessExpression(node.left) ? visitNode(node.left.argumentExpression, visitor, isExpression) : isIdentifier(node.left.name) ? factory2.createStringLiteralFromNode(node.left.name) : void 0; + if (setterName) { + let expression = visitNode(node.right, visitor, isExpression); + if (isCompoundAssignment(node.operatorToken.kind)) { + let getterName = setterName; + if (!isSimpleInlineableExpression(setterName)) { + getterName = factory2.createTempVariable(hoistVariableDeclaration); + setterName = factory2.createAssignment(getterName, setterName); + } + const superPropertyGet = factory2.createReflectGetCall( + classSuper, + getterName, + classThis + ); + setOriginalNode(superPropertyGet, node.left); + setTextRange(superPropertyGet, node.left); + expression = factory2.createBinaryExpression( + superPropertyGet, + getNonAssignmentOperatorForCompoundAssignment(node.operatorToken.kind), + expression + ); + setTextRange(expression, node); + } + const temp = discarded ? void 0 : factory2.createTempVariable(hoistVariableDeclaration); + if (temp) { + expression = factory2.createAssignment(temp, expression); + setTextRange(temp, node); + } + expression = factory2.createReflectSetCall( + classSuper, + setterName, + expression, + classThis + ); + setOriginalNode(expression, node); + setTextRange(expression, node); + if (temp) { + expression = factory2.createComma(expression, temp); + setTextRange(expression, node); + } + return expression; + } + } + } + if (node.operatorToken.kind === 28 /* CommaToken */) { + const left = visitNode(node.left, discardedValueVisitor, isExpression); + const right = visitNode(node.right, discarded ? discardedValueVisitor : visitor, isExpression); + return factory2.updateBinaryExpression(node, left, node.operatorToken, right); + } + return visitEachChild(node, visitor, context); + } + function visitPreOrPostfixUnaryExpression(node, discarded) { + if (node.operator === 46 /* PlusPlusToken */ || node.operator === 47 /* MinusMinusToken */) { + const operand = skipParentheses(node.operand); + if (isSuperProperty(operand) && classThis && classSuper) { + let setterName = isElementAccessExpression(operand) ? visitNode(operand.argumentExpression, visitor, isExpression) : isIdentifier(operand.name) ? factory2.createStringLiteralFromNode(operand.name) : void 0; + if (setterName) { + let getterName = setterName; + if (!isSimpleInlineableExpression(setterName)) { + getterName = factory2.createTempVariable(hoistVariableDeclaration); + setterName = factory2.createAssignment(getterName, setterName); + } + let expression = factory2.createReflectGetCall(classSuper, getterName, classThis); + setOriginalNode(expression, node); + setTextRange(expression, node); + const temp = discarded ? void 0 : factory2.createTempVariable(hoistVariableDeclaration); + expression = expandPreOrPostfixIncrementOrDecrementExpression(factory2, node, expression, hoistVariableDeclaration, temp); + expression = factory2.createReflectSetCall(classSuper, setterName, expression, classThis); + setOriginalNode(expression, node); + setTextRange(expression, node); + if (temp) { + expression = factory2.createComma(expression, temp); + setTextRange(expression, node); + } + return expression; + } + } + } + return visitEachChild(node, visitor, context); + } + function visitCommaListExpression(node, discarded) { + const elements = discarded ? visitCommaListElements(node.elements, discardedValueVisitor) : visitCommaListElements(node.elements, visitor, discardedValueVisitor); + return factory2.updateCommaListExpression(node, elements); + } + function visitReferencedPropertyName(node) { + if (isPropertyNameLiteral(node) || isPrivateIdentifier(node)) { + const referencedName2 = factory2.createStringLiteralFromNode(node); + const name2 = visitNode(node, visitor, isPropertyName); + return { referencedName: referencedName2, name: name2 }; + } + if (isPropertyNameLiteral(node.expression) && !isIdentifier(node.expression)) { + const referencedName2 = factory2.createStringLiteralFromNode(node.expression); + const name2 = visitNode(node, visitor, isPropertyName); + return { referencedName: referencedName2, name: name2 }; + } + const referencedName = factory2.getGeneratedNameForNode(node); + hoistVariableDeclaration(referencedName); + const key = emitHelpers().createPropKeyHelper(visitNode(node.expression, visitor, isExpression)); + const assignment = factory2.createAssignment(referencedName, key); + const name = factory2.updateComputedPropertyName(node, injectPendingExpressions(assignment)); + return { referencedName, name }; + } + function visitPropertyName(node) { + if (isComputedPropertyName(node)) { + return visitComputedPropertyName(node); + } + return visitNode(node, visitor, isPropertyName); + } + function visitComputedPropertyName(node) { + let expression = visitNode(node.expression, visitor, isExpression); + if (!isSimpleInlineableExpression(expression)) { + expression = injectPendingExpressions(expression); + } + return factory2.updateComputedPropertyName(node, expression); + } + function visitPropertyAssignment(node) { + if (isNamedEvaluation(node, isAnonymousClassNeedingAssignedName)) { + node = transformNamedEvaluation(context, node, canIgnoreEmptyStringLiteralInAssignedName(node.initializer)); + } + return visitEachChild(node, visitor, context); + } + function visitVariableDeclaration(node) { + if (isNamedEvaluation(node, isAnonymousClassNeedingAssignedName)) { + node = transformNamedEvaluation(context, node, canIgnoreEmptyStringLiteralInAssignedName(node.initializer)); + } + return visitEachChild(node, visitor, context); + } + function visitBindingElement(node) { + if (isNamedEvaluation(node, isAnonymousClassNeedingAssignedName)) { + node = transformNamedEvaluation(context, node, canIgnoreEmptyStringLiteralInAssignedName(node.initializer)); + } + return visitEachChild(node, visitor, context); + } + function visitDestructuringAssignmentTarget(node) { + if (isObjectLiteralExpression(node) || isArrayLiteralExpression(node)) { + return visitAssignmentPattern(node); + } + if (isSuperProperty(node) && classThis && classSuper) { + const propertyName = isElementAccessExpression(node) ? visitNode(node.argumentExpression, visitor, isExpression) : isIdentifier(node.name) ? factory2.createStringLiteralFromNode(node.name) : void 0; + if (propertyName) { + const paramName = factory2.createTempVariable( + /*recordTempVariable*/ + void 0 + ); + const expression = factory2.createAssignmentTargetWrapper( + paramName, + factory2.createReflectSetCall( + classSuper, + propertyName, + paramName, + classThis + ) + ); + setOriginalNode(expression, node); + setTextRange(expression, node); + return expression; + } + } + return visitEachChild(node, visitor, context); + } + function visitAssignmentElement(node) { + if (isAssignmentExpression( + node, + /*excludeCompoundAssignment*/ + true + )) { + if (isNamedEvaluation(node, isAnonymousClassNeedingAssignedName)) { + node = transformNamedEvaluation(context, node, canIgnoreEmptyStringLiteralInAssignedName(node.right)); + } + const assignmentTarget = visitDestructuringAssignmentTarget(node.left); + const initializer = visitNode(node.right, visitor, isExpression); + return factory2.updateBinaryExpression(node, assignmentTarget, node.operatorToken, initializer); + } else { + return visitDestructuringAssignmentTarget(node); + } + } + function visitAssignmentRestElement(node) { + if (isLeftHandSideExpression(node.expression)) { + const expression = visitDestructuringAssignmentTarget(node.expression); + return factory2.updateSpreadElement(node, expression); + } + return visitEachChild(node, visitor, context); + } + function visitArrayAssignmentElement(node) { + Debug.assertNode(node, isArrayBindingOrAssignmentElement); + if (isSpreadElement(node)) return visitAssignmentRestElement(node); + if (!isOmittedExpression(node)) return visitAssignmentElement(node); + return visitEachChild(node, visitor, context); + } + function visitAssignmentProperty(node) { + const name = visitNode(node.name, visitor, isPropertyName); + if (isAssignmentExpression( + node.initializer, + /*excludeCompoundAssignment*/ + true + )) { + const assignmentElement = visitAssignmentElement(node.initializer); + return factory2.updatePropertyAssignment(node, name, assignmentElement); + } + if (isLeftHandSideExpression(node.initializer)) { + const assignmentElement = visitDestructuringAssignmentTarget(node.initializer); + return factory2.updatePropertyAssignment(node, name, assignmentElement); + } + return visitEachChild(node, visitor, context); + } + function visitShorthandAssignmentProperty(node) { + if (isNamedEvaluation(node, isAnonymousClassNeedingAssignedName)) { + node = transformNamedEvaluation(context, node, canIgnoreEmptyStringLiteralInAssignedName(node.objectAssignmentInitializer)); + } + return visitEachChild(node, visitor, context); + } + function visitAssignmentRestProperty(node) { + if (isLeftHandSideExpression(node.expression)) { + const expression = visitDestructuringAssignmentTarget(node.expression); + return factory2.updateSpreadAssignment(node, expression); + } + return visitEachChild(node, visitor, context); + } + function visitObjectAssignmentElement(node) { + Debug.assertNode(node, isObjectBindingOrAssignmentElement); + if (isSpreadAssignment(node)) return visitAssignmentRestProperty(node); + if (isShorthandPropertyAssignment(node)) return visitShorthandAssignmentProperty(node); + if (isPropertyAssignment(node)) return visitAssignmentProperty(node); + return visitEachChild(node, visitor, context); + } + function visitAssignmentPattern(node) { + if (isArrayLiteralExpression(node)) { + const elements = visitNodes2(node.elements, visitArrayAssignmentElement, isExpression); + return factory2.updateArrayLiteralExpression(node, elements); + } else { + const properties = visitNodes2(node.properties, visitObjectAssignmentElement, isObjectLiteralElementLike); + return factory2.updateObjectLiteralExpression(node, properties); + } + } + function visitExportAssignment(node) { + if (isNamedEvaluation(node, isAnonymousClassNeedingAssignedName)) { + node = transformNamedEvaluation(context, node, canIgnoreEmptyStringLiteralInAssignedName(node.expression)); + } + return visitEachChild(node, visitor, context); + } + function visitParenthesizedExpression(node, discarded) { + const visitorFunc = discarded ? discardedValueVisitor : visitor; + const expression = visitNode(node.expression, visitorFunc, isExpression); + return factory2.updateParenthesizedExpression(node, expression); + } + function visitPartiallyEmittedExpression(node, discarded) { + const visitorFunc = discarded ? discardedValueVisitor : visitor; + const expression = visitNode(node.expression, visitorFunc, isExpression); + return factory2.updatePartiallyEmittedExpression(node, expression); + } + function injectPendingExpressionsCommon(pendingExpressions2, expression) { + if (some(pendingExpressions2)) { + if (expression) { + if (isParenthesizedExpression(expression)) { + pendingExpressions2.push(expression.expression); + expression = factory2.updateParenthesizedExpression(expression, factory2.inlineExpressions(pendingExpressions2)); + } else { + pendingExpressions2.push(expression); + expression = factory2.inlineExpressions(pendingExpressions2); + } + } else { + expression = factory2.inlineExpressions(pendingExpressions2); + } + } + return expression; + } + function injectPendingExpressions(expression) { + const result = injectPendingExpressionsCommon(pendingExpressions, expression); + Debug.assertIsDefined(result); + if (result !== expression) { + pendingExpressions = void 0; + } + return result; + } + function injectPendingInitializers(classInfo2, isStatic2, expression) { + const result = injectPendingExpressionsCommon(isStatic2 ? classInfo2.pendingStaticInitializers : classInfo2.pendingInstanceInitializers, expression); + if (result !== expression) { + if (isStatic2) { + classInfo2.pendingStaticInitializers = void 0; + } else { + classInfo2.pendingInstanceInitializers = void 0; + } + } + return result; + } + function transformAllDecoratorsOfDeclaration(allDecorators) { + if (!allDecorators) { + return void 0; + } + const decoratorExpressions = []; + addRange(decoratorExpressions, map(allDecorators.decorators, transformDecorator)); + return decoratorExpressions; + } + function transformDecorator(decorator) { + const expression = visitNode(decorator.expression, visitor, isExpression); + setEmitFlags(expression, 3072 /* NoComments */); + const innerExpression = skipOuterExpressions(expression); + if (isAccessExpression(innerExpression)) { + const { target, thisArg } = factory2.createCallBinding( + expression, + hoistVariableDeclaration, + languageVersion, + /*cacheIdentifiers*/ + true + ); + return factory2.restoreOuterExpressions(expression, factory2.createFunctionBindCall(target, thisArg, [])); + } + return expression; + } + function createDescriptorMethod(original, name, modifiers, asteriskToken, kind, parameters, body) { + const func = factory2.createFunctionExpression( + modifiers, + asteriskToken, + /*name*/ + void 0, + /*typeParameters*/ + void 0, + parameters, + /*type*/ + void 0, + body ?? factory2.createBlock([]) + ); + setOriginalNode(func, original); + setSourceMapRange(func, moveRangePastDecorators(original)); + setEmitFlags(func, 3072 /* NoComments */); + const prefix = kind === "get" || kind === "set" ? kind : void 0; + const functionName = factory2.createStringLiteralFromNode( + name, + /*isSingleQuote*/ + void 0 + ); + const namedFunction = emitHelpers().createSetFunctionNameHelper(func, functionName, prefix); + const method = factory2.createPropertyAssignment(factory2.createIdentifier(kind), namedFunction); + setOriginalNode(method, original); + setSourceMapRange(method, moveRangePastDecorators(original)); + setEmitFlags(method, 3072 /* NoComments */); + return method; + } + function createMethodDescriptorObject(node, modifiers) { + return factory2.createObjectLiteralExpression([ + createDescriptorMethod( + node, + node.name, + modifiers, + node.asteriskToken, + "value", + visitNodes2(node.parameters, visitor, isParameter), + visitNode(node.body, visitor, isBlock) + ) + ]); + } + function createGetAccessorDescriptorObject(node, modifiers) { + return factory2.createObjectLiteralExpression([ + createDescriptorMethod( + node, + node.name, + modifiers, + /*asteriskToken*/ + void 0, + "get", + [], + visitNode(node.body, visitor, isBlock) + ) + ]); + } + function createSetAccessorDescriptorObject(node, modifiers) { + return factory2.createObjectLiteralExpression([ + createDescriptorMethod( + node, + node.name, + modifiers, + /*asteriskToken*/ + void 0, + "set", + visitNodes2(node.parameters, visitor, isParameter), + visitNode(node.body, visitor, isBlock) + ) + ]); + } + function createAccessorPropertyDescriptorObject(node, modifiers) { + return factory2.createObjectLiteralExpression([ + createDescriptorMethod( + node, + node.name, + modifiers, + /*asteriskToken*/ + void 0, + "get", + [], + factory2.createBlock([ + factory2.createReturnStatement( + factory2.createPropertyAccessExpression( + factory2.createThis(), + factory2.getGeneratedPrivateNameForNode(node.name) + ) + ) + ]) + ), + createDescriptorMethod( + node, + node.name, + modifiers, + /*asteriskToken*/ + void 0, + "set", + [factory2.createParameterDeclaration( + /*modifiers*/ + void 0, + /*dotDotDotToken*/ + void 0, + "value" + )], + factory2.createBlock([ + factory2.createExpressionStatement( + factory2.createAssignment( + factory2.createPropertyAccessExpression( + factory2.createThis(), + factory2.getGeneratedPrivateNameForNode(node.name) + ), + factory2.createIdentifier("value") + ) + ) + ]) + ) + ]); + } + function createMethodDescriptorForwarder(modifiers, name, descriptorName) { + modifiers = visitNodes2(modifiers, (node) => isStaticModifier(node) ? node : void 0, isModifier); + return factory2.createGetAccessorDeclaration( + modifiers, + name, + [], + /*type*/ + void 0, + factory2.createBlock([ + factory2.createReturnStatement( + factory2.createPropertyAccessExpression( + descriptorName, + factory2.createIdentifier("value") + ) + ) + ]) + ); + } + function createGetAccessorDescriptorForwarder(modifiers, name, descriptorName) { + modifiers = visitNodes2(modifiers, (node) => isStaticModifier(node) ? node : void 0, isModifier); + return factory2.createGetAccessorDeclaration( + modifiers, + name, + [], + /*type*/ + void 0, + factory2.createBlock([ + factory2.createReturnStatement( + factory2.createFunctionCallCall( + factory2.createPropertyAccessExpression( + descriptorName, + factory2.createIdentifier("get") + ), + factory2.createThis(), + [] + ) + ) + ]) + ); + } + function createSetAccessorDescriptorForwarder(modifiers, name, descriptorName) { + modifiers = visitNodes2(modifiers, (node) => isStaticModifier(node) ? node : void 0, isModifier); + return factory2.createSetAccessorDeclaration( + modifiers, + name, + [factory2.createParameterDeclaration( + /*modifiers*/ + void 0, + /*dotDotDotToken*/ + void 0, + "value" + )], + factory2.createBlock([ + factory2.createReturnStatement( + factory2.createFunctionCallCall( + factory2.createPropertyAccessExpression( + descriptorName, + factory2.createIdentifier("set") + ), + factory2.createThis(), + [factory2.createIdentifier("value")] + ) + ) + ]) + ); + } + function createMetadata(name, classSuper2) { + const varDecl = factory2.createVariableDeclaration( + name, + /*exclamationToken*/ + void 0, + /*type*/ + void 0, + factory2.createConditionalExpression( + factory2.createLogicalAnd( + factory2.createTypeCheck(factory2.createIdentifier("Symbol"), "function"), + factory2.createPropertyAccessExpression(factory2.createIdentifier("Symbol"), "metadata") + ), + factory2.createToken(58 /* QuestionToken */), + factory2.createCallExpression( + factory2.createPropertyAccessExpression(factory2.createIdentifier("Object"), "create"), + /*typeArguments*/ + void 0, + [classSuper2 ? createSymbolMetadataReference(classSuper2) : factory2.createNull()] + ), + factory2.createToken(59 /* ColonToken */), + factory2.createVoidZero() + ) + ); + return factory2.createVariableStatement( + /*modifiers*/ + void 0, + factory2.createVariableDeclarationList([varDecl], 2 /* Const */) + ); + } + function createSymbolMetadata(target, value) { + const defineProperty = factory2.createObjectDefinePropertyCall( + target, + factory2.createPropertyAccessExpression(factory2.createIdentifier("Symbol"), "metadata"), + factory2.createPropertyDescriptor( + { configurable: true, writable: true, enumerable: true, value }, + /*singleLine*/ + true + ) + ); + return setEmitFlags( + factory2.createIfStatement(value, factory2.createExpressionStatement(defineProperty)), + 1 /* SingleLine */ + ); + } + function createSymbolMetadataReference(classSuper2) { + return factory2.createBinaryExpression( + factory2.createElementAccessExpression( + classSuper2, + factory2.createPropertyAccessExpression(factory2.createIdentifier("Symbol"), "metadata") + ), + 61 /* QuestionQuestionToken */, + factory2.createNull() + ); + } +} + +// src/compiler/transformers/es2017.ts +function transformES2017(context) { + const { + factory: factory2, + getEmitHelperFactory: emitHelpers, + resumeLexicalEnvironment, + endLexicalEnvironment, + hoistVariableDeclaration + } = context; + const resolver = context.getEmitResolver(); + const compilerOptions = context.getCompilerOptions(); + const languageVersion = getEmitScriptTarget(compilerOptions); + let enabledSubstitutions = 0 /* None */; + let enclosingSuperContainerFlags = 0; + let enclosingFunctionParameterNames; + let capturedSuperProperties; + let hasSuperElementAccess; + let lexicalArgumentsBinding; + const substitutedSuperAccessors = []; + let contextFlags = 0 /* None */; + const previousOnEmitNode = context.onEmitNode; + const previousOnSubstituteNode = context.onSubstituteNode; + context.onEmitNode = onEmitNode; + context.onSubstituteNode = onSubstituteNode; + return chainBundle(context, transformSourceFile); + function transformSourceFile(node) { + if (node.isDeclarationFile) { + return node; + } + setContextFlag(1 /* NonTopLevel */, false); + setContextFlag(2 /* HasLexicalThis */, !isEffectiveStrictModeSourceFile(node, compilerOptions)); + const visited = visitEachChild(node, visitor, context); + addEmitHelpers(visited, context.readEmitHelpers()); + return visited; + } + function setContextFlag(flag, val) { + contextFlags = val ? contextFlags | flag : contextFlags & ~flag; + } + function inContext(flags) { + return (contextFlags & flags) !== 0; + } + function inTopLevelContext() { + return !inContext(1 /* NonTopLevel */); + } + function inHasLexicalThisContext() { + return inContext(2 /* HasLexicalThis */); + } + function doWithContext(flags, cb, value) { + const contextFlagsToSet = flags & ~contextFlags; + if (contextFlagsToSet) { + setContextFlag( + contextFlagsToSet, + /*val*/ + true + ); + const result = cb(value); + setContextFlag( + contextFlagsToSet, + /*val*/ + false + ); + return result; + } + return cb(value); + } + function visitDefault(node) { + return visitEachChild(node, visitor, context); + } + function argumentsVisitor(node) { + switch (node.kind) { + case 218 /* FunctionExpression */: + case 262 /* FunctionDeclaration */: + case 174 /* MethodDeclaration */: + case 177 /* GetAccessor */: + case 178 /* SetAccessor */: + case 176 /* Constructor */: + return node; + case 169 /* Parameter */: + case 208 /* BindingElement */: + case 260 /* VariableDeclaration */: + break; + case 80 /* Identifier */: + if (lexicalArgumentsBinding && resolver.isArgumentsLocalBinding(node)) { + return lexicalArgumentsBinding; + } + break; + } + return visitEachChild(node, argumentsVisitor, context); + } + function visitor(node) { + if ((node.transformFlags & 256 /* ContainsES2017 */) === 0) { + return lexicalArgumentsBinding ? argumentsVisitor(node) : node; + } + switch (node.kind) { + case 134 /* AsyncKeyword */: + return void 0; + case 223 /* AwaitExpression */: + return visitAwaitExpression(node); + case 174 /* MethodDeclaration */: + return doWithContext(1 /* NonTopLevel */ | 2 /* HasLexicalThis */, visitMethodDeclaration, node); + case 262 /* FunctionDeclaration */: + return doWithContext(1 /* NonTopLevel */ | 2 /* HasLexicalThis */, visitFunctionDeclaration, node); + case 218 /* FunctionExpression */: + return doWithContext(1 /* NonTopLevel */ | 2 /* HasLexicalThis */, visitFunctionExpression, node); + case 219 /* ArrowFunction */: + return doWithContext(1 /* NonTopLevel */, visitArrowFunction, node); + case 211 /* PropertyAccessExpression */: + if (capturedSuperProperties && isPropertyAccessExpression(node) && node.expression.kind === 108 /* SuperKeyword */) { + capturedSuperProperties.add(node.name.escapedText); + } + return visitEachChild(node, visitor, context); + case 212 /* ElementAccessExpression */: + if (capturedSuperProperties && node.expression.kind === 108 /* SuperKeyword */) { + hasSuperElementAccess = true; + } + return visitEachChild(node, visitor, context); + case 177 /* GetAccessor */: + return doWithContext(1 /* NonTopLevel */ | 2 /* HasLexicalThis */, visitGetAccessorDeclaration, node); + case 178 /* SetAccessor */: + return doWithContext(1 /* NonTopLevel */ | 2 /* HasLexicalThis */, visitSetAccessorDeclaration, node); + case 176 /* Constructor */: + return doWithContext(1 /* NonTopLevel */ | 2 /* HasLexicalThis */, visitConstructorDeclaration, node); + case 263 /* ClassDeclaration */: + case 231 /* ClassExpression */: + return doWithContext(1 /* NonTopLevel */ | 2 /* HasLexicalThis */, visitDefault, node); + default: + return visitEachChild(node, visitor, context); + } + } + function asyncBodyVisitor(node) { + if (isNodeWithPossibleHoistedDeclaration(node)) { + switch (node.kind) { + case 243 /* VariableStatement */: + return visitVariableStatementInAsyncBody(node); + case 248 /* ForStatement */: + return visitForStatementInAsyncBody(node); + case 249 /* ForInStatement */: + return visitForInStatementInAsyncBody(node); + case 250 /* ForOfStatement */: + return visitForOfStatementInAsyncBody(node); + case 299 /* CatchClause */: + return visitCatchClauseInAsyncBody(node); + case 241 /* Block */: + case 255 /* SwitchStatement */: + case 269 /* CaseBlock */: + case 296 /* CaseClause */: + case 297 /* DefaultClause */: + case 258 /* TryStatement */: + case 246 /* DoStatement */: + case 247 /* WhileStatement */: + case 245 /* IfStatement */: + case 254 /* WithStatement */: + case 256 /* LabeledStatement */: + return visitEachChild(node, asyncBodyVisitor, context); + default: + return Debug.assertNever(node, "Unhandled node."); + } + } + return visitor(node); + } + function visitCatchClauseInAsyncBody(node) { + const catchClauseNames = /* @__PURE__ */ new Set(); + recordDeclarationName(node.variableDeclaration, catchClauseNames); + let catchClauseUnshadowedNames; + catchClauseNames.forEach((_, escapedName) => { + if (enclosingFunctionParameterNames.has(escapedName)) { + if (!catchClauseUnshadowedNames) { + catchClauseUnshadowedNames = new Set(enclosingFunctionParameterNames); + } + catchClauseUnshadowedNames.delete(escapedName); + } + }); + if (catchClauseUnshadowedNames) { + const savedEnclosingFunctionParameterNames = enclosingFunctionParameterNames; + enclosingFunctionParameterNames = catchClauseUnshadowedNames; + const result = visitEachChild(node, asyncBodyVisitor, context); + enclosingFunctionParameterNames = savedEnclosingFunctionParameterNames; + return result; + } else { + return visitEachChild(node, asyncBodyVisitor, context); + } + } + function visitVariableStatementInAsyncBody(node) { + if (isVariableDeclarationListWithCollidingName(node.declarationList)) { + const expression = visitVariableDeclarationListWithCollidingNames( + node.declarationList, + /*hasReceiver*/ + false + ); + return expression ? factory2.createExpressionStatement(expression) : void 0; + } + return visitEachChild(node, visitor, context); + } + function visitForInStatementInAsyncBody(node) { + return factory2.updateForInStatement( + node, + isVariableDeclarationListWithCollidingName(node.initializer) ? visitVariableDeclarationListWithCollidingNames( + node.initializer, + /*hasReceiver*/ + true + ) : Debug.checkDefined(visitNode(node.initializer, visitor, isForInitializer)), + Debug.checkDefined(visitNode(node.expression, visitor, isExpression)), + visitIterationBody(node.statement, asyncBodyVisitor, context) + ); + } + function visitForOfStatementInAsyncBody(node) { + return factory2.updateForOfStatement( + node, + visitNode(node.awaitModifier, visitor, isAwaitKeyword), + isVariableDeclarationListWithCollidingName(node.initializer) ? visitVariableDeclarationListWithCollidingNames( + node.initializer, + /*hasReceiver*/ + true + ) : Debug.checkDefined(visitNode(node.initializer, visitor, isForInitializer)), + Debug.checkDefined(visitNode(node.expression, visitor, isExpression)), + visitIterationBody(node.statement, asyncBodyVisitor, context) + ); + } + function visitForStatementInAsyncBody(node) { + const initializer = node.initializer; + return factory2.updateForStatement( + node, + isVariableDeclarationListWithCollidingName(initializer) ? visitVariableDeclarationListWithCollidingNames( + initializer, + /*hasReceiver*/ + false + ) : visitNode(node.initializer, visitor, isForInitializer), + visitNode(node.condition, visitor, isExpression), + visitNode(node.incrementor, visitor, isExpression), + visitIterationBody(node.statement, asyncBodyVisitor, context) + ); + } + function visitAwaitExpression(node) { + if (inTopLevelContext()) { + return visitEachChild(node, visitor, context); + } + return setOriginalNode( + setTextRange( + factory2.createYieldExpression( + /*asteriskToken*/ + void 0, + visitNode(node.expression, visitor, isExpression) + ), + node + ), + node + ); + } + function visitConstructorDeclaration(node) { + const savedLexicalArgumentsBinding = lexicalArgumentsBinding; + lexicalArgumentsBinding = void 0; + const updated = factory2.updateConstructorDeclaration( + node, + visitNodes2(node.modifiers, visitor, isModifier), + visitParameterList(node.parameters, visitor, context), + transformMethodBody(node) + ); + lexicalArgumentsBinding = savedLexicalArgumentsBinding; + return updated; + } + function visitMethodDeclaration(node) { + let parameters; + const functionFlags = getFunctionFlags(node); + const savedLexicalArgumentsBinding = lexicalArgumentsBinding; + lexicalArgumentsBinding = void 0; + const updated = factory2.updateMethodDeclaration( + node, + visitNodes2(node.modifiers, visitor, isModifierLike), + node.asteriskToken, + node.name, + /*questionToken*/ + void 0, + /*typeParameters*/ + void 0, + parameters = functionFlags & 2 /* Async */ ? transformAsyncFunctionParameterList(node) : visitParameterList(node.parameters, visitor, context), + /*type*/ + void 0, + functionFlags & 2 /* Async */ ? transformAsyncFunctionBody(node, parameters) : transformMethodBody(node) + ); + lexicalArgumentsBinding = savedLexicalArgumentsBinding; + return updated; + } + function visitGetAccessorDeclaration(node) { + const savedLexicalArgumentsBinding = lexicalArgumentsBinding; + lexicalArgumentsBinding = void 0; + const updated = factory2.updateGetAccessorDeclaration( + node, + visitNodes2(node.modifiers, visitor, isModifierLike), + node.name, + visitParameterList(node.parameters, visitor, context), + /*type*/ + void 0, + transformMethodBody(node) + ); + lexicalArgumentsBinding = savedLexicalArgumentsBinding; + return updated; + } + function visitSetAccessorDeclaration(node) { + const savedLexicalArgumentsBinding = lexicalArgumentsBinding; + lexicalArgumentsBinding = void 0; + const updated = factory2.updateSetAccessorDeclaration( + node, + visitNodes2(node.modifiers, visitor, isModifierLike), + node.name, + visitParameterList(node.parameters, visitor, context), + transformMethodBody(node) + ); + lexicalArgumentsBinding = savedLexicalArgumentsBinding; + return updated; + } + function visitFunctionDeclaration(node) { + let parameters; + const savedLexicalArgumentsBinding = lexicalArgumentsBinding; + lexicalArgumentsBinding = void 0; + const functionFlags = getFunctionFlags(node); + const updated = factory2.updateFunctionDeclaration( + node, + visitNodes2(node.modifiers, visitor, isModifierLike), + node.asteriskToken, + node.name, + /*typeParameters*/ + void 0, + parameters = functionFlags & 2 /* Async */ ? transformAsyncFunctionParameterList(node) : visitParameterList(node.parameters, visitor, context), + /*type*/ + void 0, + functionFlags & 2 /* Async */ ? transformAsyncFunctionBody(node, parameters) : visitFunctionBody(node.body, visitor, context) + ); + lexicalArgumentsBinding = savedLexicalArgumentsBinding; + return updated; + } + function visitFunctionExpression(node) { + let parameters; + const savedLexicalArgumentsBinding = lexicalArgumentsBinding; + lexicalArgumentsBinding = void 0; + const functionFlags = getFunctionFlags(node); + const updated = factory2.updateFunctionExpression( + node, + visitNodes2(node.modifiers, visitor, isModifier), + node.asteriskToken, + node.name, + /*typeParameters*/ + void 0, + parameters = functionFlags & 2 /* Async */ ? transformAsyncFunctionParameterList(node) : visitParameterList(node.parameters, visitor, context), + /*type*/ + void 0, + functionFlags & 2 /* Async */ ? transformAsyncFunctionBody(node, parameters) : visitFunctionBody(node.body, visitor, context) + ); + lexicalArgumentsBinding = savedLexicalArgumentsBinding; + return updated; + } + function visitArrowFunction(node) { + let parameters; + const functionFlags = getFunctionFlags(node); + return factory2.updateArrowFunction( + node, + visitNodes2(node.modifiers, visitor, isModifier), + /*typeParameters*/ + void 0, + parameters = functionFlags & 2 /* Async */ ? transformAsyncFunctionParameterList(node) : visitParameterList(node.parameters, visitor, context), + /*type*/ + void 0, + node.equalsGreaterThanToken, + functionFlags & 2 /* Async */ ? transformAsyncFunctionBody(node, parameters) : visitFunctionBody(node.body, visitor, context) + ); + } + function recordDeclarationName({ name }, names) { + if (isIdentifier(name)) { + names.add(name.escapedText); + } else { + for (const element of name.elements) { + if (!isOmittedExpression(element)) { + recordDeclarationName(element, names); + } + } + } + } + function isVariableDeclarationListWithCollidingName(node) { + return !!node && isVariableDeclarationList(node) && !(node.flags & 7 /* BlockScoped */) && node.declarations.some(collidesWithParameterName); + } + function visitVariableDeclarationListWithCollidingNames(node, hasReceiver) { + hoistVariableDeclarationList(node); + const variables = getInitializedVariables(node); + if (variables.length === 0) { + if (hasReceiver) { + return visitNode(factory2.converters.convertToAssignmentElementTarget(node.declarations[0].name), visitor, isExpression); + } + return void 0; + } + return factory2.inlineExpressions(map(variables, transformInitializedVariable)); + } + function hoistVariableDeclarationList(node) { + forEach(node.declarations, hoistVariable); + } + function hoistVariable({ name }) { + if (isIdentifier(name)) { + hoistVariableDeclaration(name); + } else { + for (const element of name.elements) { + if (!isOmittedExpression(element)) { + hoistVariable(element); + } + } + } + } + function transformInitializedVariable(node) { + const converted = setSourceMapRange( + factory2.createAssignment( + factory2.converters.convertToAssignmentElementTarget(node.name), + node.initializer + ), + node + ); + return Debug.checkDefined(visitNode(converted, visitor, isExpression)); + } + function collidesWithParameterName({ name }) { + if (isIdentifier(name)) { + return enclosingFunctionParameterNames.has(name.escapedText); + } else { + for (const element of name.elements) { + if (!isOmittedExpression(element) && collidesWithParameterName(element)) { + return true; + } + } + } + return false; + } + function transformMethodBody(node) { + Debug.assertIsDefined(node.body); + const savedCapturedSuperProperties = capturedSuperProperties; + const savedHasSuperElementAccess = hasSuperElementAccess; + capturedSuperProperties = /* @__PURE__ */ new Set(); + hasSuperElementAccess = false; + let updated = visitFunctionBody(node.body, visitor, context); + const originalMethod = getOriginalNode(node, isFunctionLikeDeclaration); + const emitSuperHelpers = languageVersion >= 2 /* ES2015 */ && (resolver.hasNodeCheckFlag(node, 256 /* MethodWithSuperPropertyAssignmentInAsync */) || resolver.hasNodeCheckFlag(node, 128 /* MethodWithSuperPropertyAccessInAsync */)) && (getFunctionFlags(originalMethod) & 3 /* AsyncGenerator */) !== 3 /* AsyncGenerator */; + if (emitSuperHelpers) { + enableSubstitutionForAsyncMethodsWithSuper(); + if (capturedSuperProperties.size) { + const variableStatement = createSuperAccessVariableStatement(factory2, resolver, node, capturedSuperProperties); + substitutedSuperAccessors[getNodeId(variableStatement)] = true; + const statements = updated.statements.slice(); + insertStatementsAfterStandardPrologue(statements, [variableStatement]); + updated = factory2.updateBlock(updated, statements); + } + if (hasSuperElementAccess) { + if (resolver.hasNodeCheckFlag(node, 256 /* MethodWithSuperPropertyAssignmentInAsync */)) { + addEmitHelper(updated, advancedAsyncSuperHelper); + } else if (resolver.hasNodeCheckFlag(node, 128 /* MethodWithSuperPropertyAccessInAsync */)) { + addEmitHelper(updated, asyncSuperHelper); + } + } + } + capturedSuperProperties = savedCapturedSuperProperties; + hasSuperElementAccess = savedHasSuperElementAccess; + return updated; + } + function createCaptureArgumentsStatement() { + Debug.assert(lexicalArgumentsBinding); + const variable = factory2.createVariableDeclaration( + lexicalArgumentsBinding, + /*exclamationToken*/ + void 0, + /*type*/ + void 0, + factory2.createIdentifier("arguments") + ); + const statement = factory2.createVariableStatement( + /*modifiers*/ + void 0, + [variable] + ); + startOnNewLine(statement); + addEmitFlags(statement, 2097152 /* CustomPrologue */); + return statement; + } + function transformAsyncFunctionParameterList(node) { + if (isSimpleParameterList(node.parameters)) { + return visitParameterList(node.parameters, visitor, context); + } + const newParameters = []; + for (const parameter of node.parameters) { + if (parameter.initializer || parameter.dotDotDotToken) { + if (node.kind === 219 /* ArrowFunction */) { + const restParameter = factory2.createParameterDeclaration( + /*modifiers*/ + void 0, + factory2.createToken(26 /* DotDotDotToken */), + factory2.createUniqueName("args", 8 /* ReservedInNestedScopes */) + ); + newParameters.push(restParameter); + } + break; + } + const newParameter = factory2.createParameterDeclaration( + /*modifiers*/ + void 0, + /*dotDotDotToken*/ + void 0, + factory2.getGeneratedNameForNode(parameter.name, 8 /* ReservedInNestedScopes */) + ); + newParameters.push(newParameter); + } + const newParametersArray = factory2.createNodeArray(newParameters); + setTextRange(newParametersArray, node.parameters); + return newParametersArray; + } + function transformAsyncFunctionBody(node, outerParameters) { + const innerParameters = !isSimpleParameterList(node.parameters) ? visitParameterList(node.parameters, visitor, context) : void 0; + resumeLexicalEnvironment(); + const original = getOriginalNode(node, isFunctionLike); + const nodeType = original.type; + const promiseConstructor = languageVersion < 2 /* ES2015 */ ? getPromiseConstructor(nodeType) : void 0; + const isArrowFunction2 = node.kind === 219 /* ArrowFunction */; + const savedLexicalArgumentsBinding = lexicalArgumentsBinding; + const hasLexicalArguments = resolver.hasNodeCheckFlag(node, 512 /* CaptureArguments */); + const captureLexicalArguments = hasLexicalArguments && !lexicalArgumentsBinding; + if (captureLexicalArguments) { + lexicalArgumentsBinding = factory2.createUniqueName("arguments"); + } + let argumentsExpression; + if (innerParameters) { + if (isArrowFunction2) { + const parameterBindings = []; + Debug.assert(outerParameters.length <= node.parameters.length); + for (let i = 0; i < node.parameters.length; i++) { + Debug.assert(i < outerParameters.length); + const originalParameter = node.parameters[i]; + const outerParameter = outerParameters[i]; + Debug.assertNode(outerParameter.name, isIdentifier); + if (originalParameter.initializer || originalParameter.dotDotDotToken) { + Debug.assert(i === outerParameters.length - 1); + parameterBindings.push(factory2.createSpreadElement(outerParameter.name)); + break; + } + parameterBindings.push(outerParameter.name); + } + argumentsExpression = factory2.createArrayLiteralExpression(parameterBindings); + } else { + argumentsExpression = factory2.createIdentifier("arguments"); + } + } + const savedEnclosingFunctionParameterNames = enclosingFunctionParameterNames; + enclosingFunctionParameterNames = /* @__PURE__ */ new Set(); + for (const parameter of node.parameters) { + recordDeclarationName(parameter, enclosingFunctionParameterNames); + } + const savedCapturedSuperProperties = capturedSuperProperties; + const savedHasSuperElementAccess = hasSuperElementAccess; + if (!isArrowFunction2) { + capturedSuperProperties = /* @__PURE__ */ new Set(); + hasSuperElementAccess = false; + } + const hasLexicalThis = inHasLexicalThisContext(); + let asyncBody = transformAsyncFunctionBodyWorker(node.body); + asyncBody = factory2.updateBlock(asyncBody, factory2.mergeLexicalEnvironment(asyncBody.statements, endLexicalEnvironment())); + let result; + if (!isArrowFunction2) { + const statements = []; + statements.push( + factory2.createReturnStatement( + emitHelpers().createAwaiterHelper( + hasLexicalThis, + argumentsExpression, + promiseConstructor, + innerParameters, + asyncBody + ) + ) + ); + const emitSuperHelpers = languageVersion >= 2 /* ES2015 */ && (resolver.hasNodeCheckFlag(node, 256 /* MethodWithSuperPropertyAssignmentInAsync */) || resolver.hasNodeCheckFlag(node, 128 /* MethodWithSuperPropertyAccessInAsync */)); + if (emitSuperHelpers) { + enableSubstitutionForAsyncMethodsWithSuper(); + if (capturedSuperProperties.size) { + const variableStatement = createSuperAccessVariableStatement(factory2, resolver, node, capturedSuperProperties); + substitutedSuperAccessors[getNodeId(variableStatement)] = true; + insertStatementsAfterStandardPrologue(statements, [variableStatement]); + } + } + if (captureLexicalArguments) { + insertStatementsAfterStandardPrologue(statements, [createCaptureArgumentsStatement()]); + } + const block = factory2.createBlock( + statements, + /*multiLine*/ + true + ); + setTextRange(block, node.body); + if (emitSuperHelpers && hasSuperElementAccess) { + if (resolver.hasNodeCheckFlag(node, 256 /* MethodWithSuperPropertyAssignmentInAsync */)) { + addEmitHelper(block, advancedAsyncSuperHelper); + } else if (resolver.hasNodeCheckFlag(node, 128 /* MethodWithSuperPropertyAccessInAsync */)) { + addEmitHelper(block, asyncSuperHelper); + } + } + result = block; + } else { + result = emitHelpers().createAwaiterHelper( + hasLexicalThis, + argumentsExpression, + promiseConstructor, + innerParameters, + asyncBody + ); + if (captureLexicalArguments) { + const block = factory2.converters.convertToFunctionBlock(result); + result = factory2.updateBlock(block, factory2.mergeLexicalEnvironment(block.statements, [createCaptureArgumentsStatement()])); + } + } + enclosingFunctionParameterNames = savedEnclosingFunctionParameterNames; + if (!isArrowFunction2) { + capturedSuperProperties = savedCapturedSuperProperties; + hasSuperElementAccess = savedHasSuperElementAccess; + lexicalArgumentsBinding = savedLexicalArgumentsBinding; + } + return result; + } + function transformAsyncFunctionBodyWorker(body, start) { + if (isBlock(body)) { + return factory2.updateBlock(body, visitNodes2(body.statements, asyncBodyVisitor, isStatement, start)); + } else { + return factory2.converters.convertToFunctionBlock(Debug.checkDefined(visitNode(body, asyncBodyVisitor, isConciseBody))); + } + } + function getPromiseConstructor(type) { + const typeName = type && getEntityNameFromTypeNode(type); + if (typeName && isEntityName(typeName)) { + const serializationKind = resolver.getTypeReferenceSerializationKind(typeName); + if (serializationKind === 1 /* TypeWithConstructSignatureAndValue */ || serializationKind === 0 /* Unknown */) { + return typeName; + } + } + return void 0; + } + function enableSubstitutionForAsyncMethodsWithSuper() { + if ((enabledSubstitutions & 1 /* AsyncMethodsWithSuper */) === 0) { + enabledSubstitutions |= 1 /* AsyncMethodsWithSuper */; + context.enableSubstitution(213 /* CallExpression */); + context.enableSubstitution(211 /* PropertyAccessExpression */); + context.enableSubstitution(212 /* ElementAccessExpression */); + context.enableEmitNotification(263 /* ClassDeclaration */); + context.enableEmitNotification(174 /* MethodDeclaration */); + context.enableEmitNotification(177 /* GetAccessor */); + context.enableEmitNotification(178 /* SetAccessor */); + context.enableEmitNotification(176 /* Constructor */); + context.enableEmitNotification(243 /* VariableStatement */); + } + } + function onEmitNode(hint, node, emitCallback) { + if (enabledSubstitutions & 1 /* AsyncMethodsWithSuper */ && isSuperContainer(node)) { + const superContainerFlags = (resolver.hasNodeCheckFlag(node, 128 /* MethodWithSuperPropertyAccessInAsync */) ? 128 /* MethodWithSuperPropertyAccessInAsync */ : 0) | (resolver.hasNodeCheckFlag(node, 256 /* MethodWithSuperPropertyAssignmentInAsync */) ? 256 /* MethodWithSuperPropertyAssignmentInAsync */ : 0); + if (superContainerFlags !== enclosingSuperContainerFlags) { + const savedEnclosingSuperContainerFlags = enclosingSuperContainerFlags; + enclosingSuperContainerFlags = superContainerFlags; + previousOnEmitNode(hint, node, emitCallback); + enclosingSuperContainerFlags = savedEnclosingSuperContainerFlags; + return; + } + } else if (enabledSubstitutions && substitutedSuperAccessors[getNodeId(node)]) { + const savedEnclosingSuperContainerFlags = enclosingSuperContainerFlags; + enclosingSuperContainerFlags = 0; + previousOnEmitNode(hint, node, emitCallback); + enclosingSuperContainerFlags = savedEnclosingSuperContainerFlags; + return; + } + previousOnEmitNode(hint, node, emitCallback); + } + function onSubstituteNode(hint, node) { + node = previousOnSubstituteNode(hint, node); + if (hint === 1 /* Expression */ && enclosingSuperContainerFlags) { + return substituteExpression(node); + } + return node; + } + function substituteExpression(node) { + switch (node.kind) { + case 211 /* PropertyAccessExpression */: + return substitutePropertyAccessExpression(node); + case 212 /* ElementAccessExpression */: + return substituteElementAccessExpression(node); + case 213 /* CallExpression */: + return substituteCallExpression(node); + } + return node; + } + function substitutePropertyAccessExpression(node) { + if (node.expression.kind === 108 /* SuperKeyword */) { + return setTextRange( + factory2.createPropertyAccessExpression( + factory2.createUniqueName("_super", 16 /* Optimistic */ | 32 /* FileLevel */), + node.name + ), + node + ); + } + return node; + } + function substituteElementAccessExpression(node) { + if (node.expression.kind === 108 /* SuperKeyword */) { + return createSuperElementAccessInAsyncMethod( + node.argumentExpression, + node + ); + } + return node; + } + function substituteCallExpression(node) { + const expression = node.expression; + if (isSuperProperty(expression)) { + const argumentExpression = isPropertyAccessExpression(expression) ? substitutePropertyAccessExpression(expression) : substituteElementAccessExpression(expression); + return factory2.createCallExpression( + factory2.createPropertyAccessExpression(argumentExpression, "call"), + /*typeArguments*/ + void 0, + [ + factory2.createThis(), + ...node.arguments + ] + ); + } + return node; + } + function isSuperContainer(node) { + const kind = node.kind; + return kind === 263 /* ClassDeclaration */ || kind === 176 /* Constructor */ || kind === 174 /* MethodDeclaration */ || kind === 177 /* GetAccessor */ || kind === 178 /* SetAccessor */; + } + function createSuperElementAccessInAsyncMethod(argumentExpression, location) { + if (enclosingSuperContainerFlags & 256 /* MethodWithSuperPropertyAssignmentInAsync */) { + return setTextRange( + factory2.createPropertyAccessExpression( + factory2.createCallExpression( + factory2.createUniqueName("_superIndex", 16 /* Optimistic */ | 32 /* FileLevel */), + /*typeArguments*/ + void 0, + [argumentExpression] + ), + "value" + ), + location + ); + } else { + return setTextRange( + factory2.createCallExpression( + factory2.createUniqueName("_superIndex", 16 /* Optimistic */ | 32 /* FileLevel */), + /*typeArguments*/ + void 0, + [argumentExpression] + ), + location + ); + } + } +} +function createSuperAccessVariableStatement(factory2, resolver, node, names) { + const hasBinding = resolver.hasNodeCheckFlag(node, 256 /* MethodWithSuperPropertyAssignmentInAsync */); + const accessors = []; + names.forEach((_, key) => { + const name = unescapeLeadingUnderscores(key); + const getterAndSetter = []; + getterAndSetter.push(factory2.createPropertyAssignment( + "get", + factory2.createArrowFunction( + /*modifiers*/ + void 0, + /*typeParameters*/ + void 0, + /* parameters */ + [], + /*type*/ + void 0, + /*equalsGreaterThanToken*/ + void 0, + setEmitFlags( + factory2.createPropertyAccessExpression( + setEmitFlags( + factory2.createSuper(), + 8 /* NoSubstitution */ + ), + name + ), + 8 /* NoSubstitution */ + ) + ) + )); + if (hasBinding) { + getterAndSetter.push( + factory2.createPropertyAssignment( + "set", + factory2.createArrowFunction( + /*modifiers*/ + void 0, + /*typeParameters*/ + void 0, + /* parameters */ + [ + factory2.createParameterDeclaration( + /*modifiers*/ + void 0, + /*dotDotDotToken*/ + void 0, + "v", + /*questionToken*/ + void 0, + /*type*/ + void 0, + /*initializer*/ + void 0 + ) + ], + /*type*/ + void 0, + /*equalsGreaterThanToken*/ + void 0, + factory2.createAssignment( + setEmitFlags( + factory2.createPropertyAccessExpression( + setEmitFlags( + factory2.createSuper(), + 8 /* NoSubstitution */ + ), + name + ), + 8 /* NoSubstitution */ + ), + factory2.createIdentifier("v") + ) + ) + ) + ); + } + accessors.push( + factory2.createPropertyAssignment( + name, + factory2.createObjectLiteralExpression(getterAndSetter) + ) + ); + }); + return factory2.createVariableStatement( + /*modifiers*/ + void 0, + factory2.createVariableDeclarationList( + [ + factory2.createVariableDeclaration( + factory2.createUniqueName("_super", 16 /* Optimistic */ | 32 /* FileLevel */), + /*exclamationToken*/ + void 0, + /*type*/ + void 0, + factory2.createCallExpression( + factory2.createPropertyAccessExpression( + factory2.createIdentifier("Object"), + "create" + ), + /*typeArguments*/ + void 0, + [ + factory2.createNull(), + factory2.createObjectLiteralExpression( + accessors, + /*multiLine*/ + true + ) + ] + ) + ) + ], + 2 /* Const */ + ) + ); +} + +// src/compiler/transformers/es2018.ts +function transformES2018(context) { + const { + factory: factory2, + getEmitHelperFactory: emitHelpers, + resumeLexicalEnvironment, + endLexicalEnvironment, + hoistVariableDeclaration + } = context; + const resolver = context.getEmitResolver(); + const compilerOptions = context.getCompilerOptions(); + const languageVersion = getEmitScriptTarget(compilerOptions); + const previousOnEmitNode = context.onEmitNode; + context.onEmitNode = onEmitNode; + const previousOnSubstituteNode = context.onSubstituteNode; + context.onSubstituteNode = onSubstituteNode; + let exportedVariableStatement = false; + let enabledSubstitutions = 0 /* None */; + let enclosingFunctionFlags; + let parametersWithPrecedingObjectRestOrSpread; + let enclosingSuperContainerFlags = 0; + let hierarchyFacts = 0; + let currentSourceFile; + let taggedTemplateStringDeclarations; + let capturedSuperProperties; + let hasSuperElementAccess; + const substitutedSuperAccessors = []; + return chainBundle(context, transformSourceFile); + function affectsSubtree(excludeFacts, includeFacts) { + return hierarchyFacts !== (hierarchyFacts & ~excludeFacts | includeFacts); + } + function enterSubtree(excludeFacts, includeFacts) { + const ancestorFacts = hierarchyFacts; + hierarchyFacts = (hierarchyFacts & ~excludeFacts | includeFacts) & 3 /* AncestorFactsMask */; + return ancestorFacts; + } + function exitSubtree(ancestorFacts) { + hierarchyFacts = ancestorFacts; + } + function recordTaggedTemplateString(temp) { + taggedTemplateStringDeclarations = append( + taggedTemplateStringDeclarations, + factory2.createVariableDeclaration(temp) + ); + } + function transformSourceFile(node) { + if (node.isDeclarationFile) { + return node; + } + currentSourceFile = node; + const visited = visitSourceFile(node); + addEmitHelpers(visited, context.readEmitHelpers()); + currentSourceFile = void 0; + taggedTemplateStringDeclarations = void 0; + return visited; + } + function visitor(node) { + return visitorWorker( + node, + /*expressionResultIsUnused*/ + false + ); + } + function visitorWithUnusedExpressionResult(node) { + return visitorWorker( + node, + /*expressionResultIsUnused*/ + true + ); + } + function visitorNoAsyncModifier(node) { + if (node.kind === 134 /* AsyncKeyword */) { + return void 0; + } + return node; + } + function doWithHierarchyFacts(cb, value, excludeFacts, includeFacts) { + if (affectsSubtree(excludeFacts, includeFacts)) { + const ancestorFacts = enterSubtree(excludeFacts, includeFacts); + const result = cb(value); + exitSubtree(ancestorFacts); + return result; + } + return cb(value); + } + function visitDefault(node) { + return visitEachChild(node, visitor, context); + } + function visitorWorker(node, expressionResultIsUnused2) { + if ((node.transformFlags & 128 /* ContainsES2018 */) === 0) { + return node; + } + switch (node.kind) { + case 223 /* AwaitExpression */: + return visitAwaitExpression(node); + case 229 /* YieldExpression */: + return visitYieldExpression(node); + case 253 /* ReturnStatement */: + return visitReturnStatement(node); + case 256 /* LabeledStatement */: + return visitLabeledStatement(node); + case 210 /* ObjectLiteralExpression */: + return visitObjectLiteralExpression(node); + case 226 /* BinaryExpression */: + return visitBinaryExpression(node, expressionResultIsUnused2); + case 356 /* CommaListExpression */: + return visitCommaListExpression(node, expressionResultIsUnused2); + case 299 /* CatchClause */: + return visitCatchClause(node); + case 243 /* VariableStatement */: + return visitVariableStatement(node); + case 260 /* VariableDeclaration */: + return visitVariableDeclaration(node); + case 246 /* DoStatement */: + case 247 /* WhileStatement */: + case 249 /* ForInStatement */: + return doWithHierarchyFacts( + visitDefault, + node, + 0 /* IterationStatementExcludes */, + 2 /* IterationStatementIncludes */ + ); + case 250 /* ForOfStatement */: + return visitForOfStatement( + node, + /*outermostLabeledStatement*/ + void 0 + ); + case 248 /* ForStatement */: + return doWithHierarchyFacts( + visitForStatement, + node, + 0 /* IterationStatementExcludes */, + 2 /* IterationStatementIncludes */ + ); + case 222 /* VoidExpression */: + return visitVoidExpression(node); + case 176 /* Constructor */: + return doWithHierarchyFacts( + visitConstructorDeclaration, + node, + 2 /* ClassOrFunctionExcludes */, + 1 /* ClassOrFunctionIncludes */ + ); + case 174 /* MethodDeclaration */: + return doWithHierarchyFacts( + visitMethodDeclaration, + node, + 2 /* ClassOrFunctionExcludes */, + 1 /* ClassOrFunctionIncludes */ + ); + case 177 /* GetAccessor */: + return doWithHierarchyFacts( + visitGetAccessorDeclaration, + node, + 2 /* ClassOrFunctionExcludes */, + 1 /* ClassOrFunctionIncludes */ + ); + case 178 /* SetAccessor */: + return doWithHierarchyFacts( + visitSetAccessorDeclaration, + node, + 2 /* ClassOrFunctionExcludes */, + 1 /* ClassOrFunctionIncludes */ + ); + case 262 /* FunctionDeclaration */: + return doWithHierarchyFacts( + visitFunctionDeclaration, + node, + 2 /* ClassOrFunctionExcludes */, + 1 /* ClassOrFunctionIncludes */ + ); + case 218 /* FunctionExpression */: + return doWithHierarchyFacts( + visitFunctionExpression, + node, + 2 /* ClassOrFunctionExcludes */, + 1 /* ClassOrFunctionIncludes */ + ); + case 219 /* ArrowFunction */: + return doWithHierarchyFacts( + visitArrowFunction, + node, + 2 /* ArrowFunctionExcludes */, + 0 /* ArrowFunctionIncludes */ + ); + case 169 /* Parameter */: + return visitParameter(node); + case 244 /* ExpressionStatement */: + return visitExpressionStatement(node); + case 217 /* ParenthesizedExpression */: + return visitParenthesizedExpression(node, expressionResultIsUnused2); + case 215 /* TaggedTemplateExpression */: + return visitTaggedTemplateExpression(node); + case 211 /* PropertyAccessExpression */: + if (capturedSuperProperties && isPropertyAccessExpression(node) && node.expression.kind === 108 /* SuperKeyword */) { + capturedSuperProperties.add(node.name.escapedText); + } + return visitEachChild(node, visitor, context); + case 212 /* ElementAccessExpression */: + if (capturedSuperProperties && node.expression.kind === 108 /* SuperKeyword */) { + hasSuperElementAccess = true; + } + return visitEachChild(node, visitor, context); + case 263 /* ClassDeclaration */: + case 231 /* ClassExpression */: + return doWithHierarchyFacts( + visitDefault, + node, + 2 /* ClassOrFunctionExcludes */, + 1 /* ClassOrFunctionIncludes */ + ); + default: + return visitEachChild(node, visitor, context); + } + } + function visitAwaitExpression(node) { + if (enclosingFunctionFlags & 2 /* Async */ && enclosingFunctionFlags & 1 /* Generator */) { + return setOriginalNode( + setTextRange( + factory2.createYieldExpression( + /*asteriskToken*/ + void 0, + emitHelpers().createAwaitHelper(visitNode(node.expression, visitor, isExpression)) + ), + /*location*/ + node + ), + node + ); + } + return visitEachChild(node, visitor, context); + } + function visitYieldExpression(node) { + if (enclosingFunctionFlags & 2 /* Async */ && enclosingFunctionFlags & 1 /* Generator */) { + if (node.asteriskToken) { + const expression = visitNode(Debug.checkDefined(node.expression), visitor, isExpression); + return setOriginalNode( + setTextRange( + factory2.createYieldExpression( + /*asteriskToken*/ + void 0, + emitHelpers().createAwaitHelper( + factory2.updateYieldExpression( + node, + node.asteriskToken, + setTextRange( + emitHelpers().createAsyncDelegatorHelper( + setTextRange( + emitHelpers().createAsyncValuesHelper(expression), + expression + ) + ), + expression + ) + ) + ) + ), + node + ), + node + ); + } + return setOriginalNode( + setTextRange( + factory2.createYieldExpression( + /*asteriskToken*/ + void 0, + createDownlevelAwait( + node.expression ? visitNode(node.expression, visitor, isExpression) : factory2.createVoidZero() + ) + ), + node + ), + node + ); + } + return visitEachChild(node, visitor, context); + } + function visitReturnStatement(node) { + if (enclosingFunctionFlags & 2 /* Async */ && enclosingFunctionFlags & 1 /* Generator */) { + return factory2.updateReturnStatement( + node, + createDownlevelAwait( + node.expression ? visitNode(node.expression, visitor, isExpression) : factory2.createVoidZero() + ) + ); + } + return visitEachChild(node, visitor, context); + } + function visitLabeledStatement(node) { + if (enclosingFunctionFlags & 2 /* Async */) { + const statement = unwrapInnermostStatementOfLabel(node); + if (statement.kind === 250 /* ForOfStatement */ && statement.awaitModifier) { + return visitForOfStatement(statement, node); + } + return factory2.restoreEnclosingLabel(visitNode(statement, visitor, isStatement, factory2.liftToBlock), node); + } + return visitEachChild(node, visitor, context); + } + function chunkObjectLiteralElements(elements) { + let chunkObject; + const objects = []; + for (const e of elements) { + if (e.kind === 305 /* SpreadAssignment */) { + if (chunkObject) { + objects.push(factory2.createObjectLiteralExpression(chunkObject)); + chunkObject = void 0; + } + const target = e.expression; + objects.push(visitNode(target, visitor, isExpression)); + } else { + chunkObject = append( + chunkObject, + e.kind === 303 /* PropertyAssignment */ ? factory2.createPropertyAssignment(e.name, visitNode(e.initializer, visitor, isExpression)) : visitNode(e, visitor, isObjectLiteralElementLike) + ); + } + } + if (chunkObject) { + objects.push(factory2.createObjectLiteralExpression(chunkObject)); + } + return objects; + } + function visitObjectLiteralExpression(node) { + if (node.transformFlags & 65536 /* ContainsObjectRestOrSpread */) { + const objects = chunkObjectLiteralElements(node.properties); + if (objects.length && objects[0].kind !== 210 /* ObjectLiteralExpression */) { + objects.unshift(factory2.createObjectLiteralExpression()); + } + let expression = objects[0]; + if (objects.length > 1) { + for (let i = 1; i < objects.length; i++) { + expression = emitHelpers().createAssignHelper([expression, objects[i]]); + } + return expression; + } else { + return emitHelpers().createAssignHelper(objects); + } + } + return visitEachChild(node, visitor, context); + } + function visitExpressionStatement(node) { + return visitEachChild(node, visitorWithUnusedExpressionResult, context); + } + function visitParenthesizedExpression(node, expressionResultIsUnused2) { + return visitEachChild(node, expressionResultIsUnused2 ? visitorWithUnusedExpressionResult : visitor, context); + } + function visitSourceFile(node) { + const ancestorFacts = enterSubtree( + 2 /* SourceFileExcludes */, + isEffectiveStrictModeSourceFile(node, compilerOptions) ? 0 /* StrictModeSourceFileIncludes */ : 1 /* SourceFileIncludes */ + ); + exportedVariableStatement = false; + const visited = visitEachChild(node, visitor, context); + const statement = concatenate( + visited.statements, + taggedTemplateStringDeclarations && [ + factory2.createVariableStatement( + /*modifiers*/ + void 0, + factory2.createVariableDeclarationList(taggedTemplateStringDeclarations) + ) + ] + ); + const result = factory2.updateSourceFile(visited, setTextRange(factory2.createNodeArray(statement), node.statements)); + exitSubtree(ancestorFacts); + return result; + } + function visitTaggedTemplateExpression(node) { + return processTaggedTemplateExpression( + context, + node, + visitor, + currentSourceFile, + recordTaggedTemplateString, + 0 /* LiftRestriction */ + ); + } + function visitBinaryExpression(node, expressionResultIsUnused2) { + if (isDestructuringAssignment(node) && containsObjectRestOrSpread(node.left)) { + return flattenDestructuringAssignment( + node, + visitor, + context, + 1 /* ObjectRest */, + !expressionResultIsUnused2 + ); + } + if (node.operatorToken.kind === 28 /* CommaToken */) { + return factory2.updateBinaryExpression( + node, + visitNode(node.left, visitorWithUnusedExpressionResult, isExpression), + node.operatorToken, + visitNode(node.right, expressionResultIsUnused2 ? visitorWithUnusedExpressionResult : visitor, isExpression) + ); + } + return visitEachChild(node, visitor, context); + } + function visitCommaListExpression(node, expressionResultIsUnused2) { + if (expressionResultIsUnused2) { + return visitEachChild(node, visitorWithUnusedExpressionResult, context); + } + let result; + for (let i = 0; i < node.elements.length; i++) { + const element = node.elements[i]; + const visited = visitNode(element, i < node.elements.length - 1 ? visitorWithUnusedExpressionResult : visitor, isExpression); + if (result || visited !== element) { + result || (result = node.elements.slice(0, i)); + result.push(visited); + } + } + const elements = result ? setTextRange(factory2.createNodeArray(result), node.elements) : node.elements; + return factory2.updateCommaListExpression(node, elements); + } + function visitCatchClause(node) { + if (node.variableDeclaration && isBindingPattern(node.variableDeclaration.name) && node.variableDeclaration.name.transformFlags & 65536 /* ContainsObjectRestOrSpread */) { + const name = factory2.getGeneratedNameForNode(node.variableDeclaration.name); + const updatedDecl = factory2.updateVariableDeclaration( + node.variableDeclaration, + node.variableDeclaration.name, + /*exclamationToken*/ + void 0, + /*type*/ + void 0, + name + ); + const visitedBindings = flattenDestructuringBinding(updatedDecl, visitor, context, 1 /* ObjectRest */); + let block = visitNode(node.block, visitor, isBlock); + if (some(visitedBindings)) { + block = factory2.updateBlock(block, [ + factory2.createVariableStatement( + /*modifiers*/ + void 0, + visitedBindings + ), + ...block.statements + ]); + } + return factory2.updateCatchClause( + node, + factory2.updateVariableDeclaration( + node.variableDeclaration, + name, + /*exclamationToken*/ + void 0, + /*type*/ + void 0, + /*initializer*/ + void 0 + ), + block + ); + } + return visitEachChild(node, visitor, context); + } + function visitVariableStatement(node) { + if (hasSyntacticModifier(node, 32 /* Export */)) { + const savedExportedVariableStatement = exportedVariableStatement; + exportedVariableStatement = true; + const visited = visitEachChild(node, visitor, context); + exportedVariableStatement = savedExportedVariableStatement; + return visited; + } + return visitEachChild(node, visitor, context); + } + function visitVariableDeclaration(node) { + if (exportedVariableStatement) { + const savedExportedVariableStatement = exportedVariableStatement; + exportedVariableStatement = false; + const visited = visitVariableDeclarationWorker( + node, + /*exportedVariableStatement*/ + true + ); + exportedVariableStatement = savedExportedVariableStatement; + return visited; + } + return visitVariableDeclarationWorker( + node, + /*exportedVariableStatement*/ + false + ); + } + function visitVariableDeclarationWorker(node, exportedVariableStatement2) { + if (isBindingPattern(node.name) && node.name.transformFlags & 65536 /* ContainsObjectRestOrSpread */) { + return flattenDestructuringBinding( + node, + visitor, + context, + 1 /* ObjectRest */, + /*rval*/ + void 0, + exportedVariableStatement2 + ); + } + return visitEachChild(node, visitor, context); + } + function visitForStatement(node) { + return factory2.updateForStatement( + node, + visitNode(node.initializer, visitorWithUnusedExpressionResult, isForInitializer), + visitNode(node.condition, visitor, isExpression), + visitNode(node.incrementor, visitorWithUnusedExpressionResult, isExpression), + visitIterationBody(node.statement, visitor, context) + ); + } + function visitVoidExpression(node) { + return visitEachChild(node, visitorWithUnusedExpressionResult, context); + } + function visitForOfStatement(node, outermostLabeledStatement) { + const ancestorFacts = enterSubtree(0 /* IterationStatementExcludes */, 2 /* IterationStatementIncludes */); + if (node.initializer.transformFlags & 65536 /* ContainsObjectRestOrSpread */ || isAssignmentPattern(node.initializer) && containsObjectRestOrSpread(node.initializer)) { + node = transformForOfStatementWithObjectRest(node); + } + const result = node.awaitModifier ? transformForAwaitOfStatement(node, outermostLabeledStatement, ancestorFacts) : factory2.restoreEnclosingLabel(visitEachChild(node, visitor, context), outermostLabeledStatement); + exitSubtree(ancestorFacts); + return result; + } + function transformForOfStatementWithObjectRest(node) { + const initializerWithoutParens = skipParentheses(node.initializer); + if (isVariableDeclarationList(initializerWithoutParens) || isAssignmentPattern(initializerWithoutParens)) { + let bodyLocation; + let statementsLocation; + const temp = factory2.createTempVariable( + /*recordTempVariable*/ + void 0 + ); + const statements = [createForOfBindingStatement(factory2, initializerWithoutParens, temp)]; + if (isBlock(node.statement)) { + addRange(statements, node.statement.statements); + bodyLocation = node.statement; + statementsLocation = node.statement.statements; + } else if (node.statement) { + append(statements, node.statement); + bodyLocation = node.statement; + statementsLocation = node.statement; + } + return factory2.updateForOfStatement( + node, + node.awaitModifier, + setTextRange( + factory2.createVariableDeclarationList( + [ + setTextRange(factory2.createVariableDeclaration(temp), node.initializer) + ], + 1 /* Let */ + ), + node.initializer + ), + node.expression, + setTextRange( + factory2.createBlock( + setTextRange(factory2.createNodeArray(statements), statementsLocation), + /*multiLine*/ + true + ), + bodyLocation + ) + ); + } + return node; + } + function convertForOfStatementHead(node, boundValue, nonUserCode) { + const value = factory2.createTempVariable(hoistVariableDeclaration); + const iteratorValueExpression = factory2.createAssignment(value, boundValue); + const iteratorValueStatement = factory2.createExpressionStatement(iteratorValueExpression); + setSourceMapRange(iteratorValueStatement, node.expression); + const exitNonUserCodeExpression = factory2.createAssignment(nonUserCode, factory2.createFalse()); + const exitNonUserCodeStatement = factory2.createExpressionStatement(exitNonUserCodeExpression); + setSourceMapRange(exitNonUserCodeStatement, node.expression); + const statements = [iteratorValueStatement, exitNonUserCodeStatement]; + const binding = createForOfBindingStatement(factory2, node.initializer, value); + statements.push(visitNode(binding, visitor, isStatement)); + let bodyLocation; + let statementsLocation; + const statement = visitIterationBody(node.statement, visitor, context); + if (isBlock(statement)) { + addRange(statements, statement.statements); + bodyLocation = statement; + statementsLocation = statement.statements; + } else { + statements.push(statement); + } + return setTextRange( + factory2.createBlock( + setTextRange(factory2.createNodeArray(statements), statementsLocation), + /*multiLine*/ + true + ), + bodyLocation + ); + } + function createDownlevelAwait(expression) { + return enclosingFunctionFlags & 1 /* Generator */ ? factory2.createYieldExpression( + /*asteriskToken*/ + void 0, + emitHelpers().createAwaitHelper(expression) + ) : factory2.createAwaitExpression(expression); + } + function transformForAwaitOfStatement(node, outermostLabeledStatement, ancestorFacts) { + const expression = visitNode(node.expression, visitor, isExpression); + const iterator = isIdentifier(expression) ? factory2.getGeneratedNameForNode(expression) : factory2.createTempVariable( + /*recordTempVariable*/ + void 0 + ); + const result = isIdentifier(expression) ? factory2.getGeneratedNameForNode(iterator) : factory2.createTempVariable( + /*recordTempVariable*/ + void 0 + ); + const nonUserCode = factory2.createTempVariable( + /*recordTempVariable*/ + void 0 + ); + const done = factory2.createTempVariable(hoistVariableDeclaration); + const errorRecord = factory2.createUniqueName("e"); + const catchVariable = factory2.getGeneratedNameForNode(errorRecord); + const returnMethod = factory2.createTempVariable( + /*recordTempVariable*/ + void 0 + ); + const callValues = setTextRange(emitHelpers().createAsyncValuesHelper(expression), node.expression); + const callNext = factory2.createCallExpression( + factory2.createPropertyAccessExpression(iterator, "next"), + /*typeArguments*/ + void 0, + [] + ); + const getDone = factory2.createPropertyAccessExpression(result, "done"); + const getValue = factory2.createPropertyAccessExpression(result, "value"); + const callReturn = factory2.createFunctionCallCall(returnMethod, iterator, []); + hoistVariableDeclaration(errorRecord); + hoistVariableDeclaration(returnMethod); + const initializer = ancestorFacts & 2 /* IterationContainer */ ? factory2.inlineExpressions([factory2.createAssignment(errorRecord, factory2.createVoidZero()), callValues]) : callValues; + const forStatement = setEmitFlags( + setTextRange( + factory2.createForStatement( + /*initializer*/ + setEmitFlags( + setTextRange( + factory2.createVariableDeclarationList([ + factory2.createVariableDeclaration( + nonUserCode, + /*exclamationToken*/ + void 0, + /*type*/ + void 0, + factory2.createTrue() + ), + setTextRange(factory2.createVariableDeclaration( + iterator, + /*exclamationToken*/ + void 0, + /*type*/ + void 0, + initializer + ), node.expression), + factory2.createVariableDeclaration(result) + ]), + node.expression + ), + 4194304 /* NoHoisting */ + ), + /*condition*/ + factory2.inlineExpressions([ + factory2.createAssignment(result, createDownlevelAwait(callNext)), + factory2.createAssignment(done, getDone), + factory2.createLogicalNot(done) + ]), + /*incrementor*/ + factory2.createAssignment(nonUserCode, factory2.createTrue()), + /*statement*/ + convertForOfStatementHead(node, getValue, nonUserCode) + ), + /*location*/ + node + ), + 512 /* NoTokenTrailingSourceMaps */ + ); + setOriginalNode(forStatement, node); + return factory2.createTryStatement( + factory2.createBlock([ + factory2.restoreEnclosingLabel( + forStatement, + outermostLabeledStatement + ) + ]), + factory2.createCatchClause( + factory2.createVariableDeclaration(catchVariable), + setEmitFlags( + factory2.createBlock([ + factory2.createExpressionStatement( + factory2.createAssignment( + errorRecord, + factory2.createObjectLiteralExpression([ + factory2.createPropertyAssignment("error", catchVariable) + ]) + ) + ) + ]), + 1 /* SingleLine */ + ) + ), + factory2.createBlock([ + factory2.createTryStatement( + /*tryBlock*/ + factory2.createBlock([ + setEmitFlags( + factory2.createIfStatement( + factory2.createLogicalAnd( + factory2.createLogicalAnd( + factory2.createLogicalNot(nonUserCode), + factory2.createLogicalNot(done) + ), + factory2.createAssignment( + returnMethod, + factory2.createPropertyAccessExpression(iterator, "return") + ) + ), + factory2.createExpressionStatement(createDownlevelAwait(callReturn)) + ), + 1 /* SingleLine */ + ) + ]), + /*catchClause*/ + void 0, + /*finallyBlock*/ + setEmitFlags( + factory2.createBlock([ + setEmitFlags( + factory2.createIfStatement( + errorRecord, + factory2.createThrowStatement( + factory2.createPropertyAccessExpression(errorRecord, "error") + ) + ), + 1 /* SingleLine */ + ) + ]), + 1 /* SingleLine */ + ) + ) + ]) + ); + } + function parameterVisitor(node) { + Debug.assertNode(node, isParameter); + return visitParameter(node); + } + function visitParameter(node) { + if (parametersWithPrecedingObjectRestOrSpread == null ? void 0 : parametersWithPrecedingObjectRestOrSpread.has(node)) { + return factory2.updateParameterDeclaration( + node, + /*modifiers*/ + void 0, + node.dotDotDotToken, + isBindingPattern(node.name) ? factory2.getGeneratedNameForNode(node) : node.name, + /*questionToken*/ + void 0, + /*type*/ + void 0, + /*initializer*/ + void 0 + ); + } + if (node.transformFlags & 65536 /* ContainsObjectRestOrSpread */) { + return factory2.updateParameterDeclaration( + node, + /*modifiers*/ + void 0, + node.dotDotDotToken, + factory2.getGeneratedNameForNode(node), + /*questionToken*/ + void 0, + /*type*/ + void 0, + visitNode(node.initializer, visitor, isExpression) + ); + } + return visitEachChild(node, visitor, context); + } + function collectParametersWithPrecedingObjectRestOrSpread(node) { + let parameters; + for (const parameter of node.parameters) { + if (parameters) { + parameters.add(parameter); + } else if (parameter.transformFlags & 65536 /* ContainsObjectRestOrSpread */) { + parameters = /* @__PURE__ */ new Set(); + } + } + return parameters; + } + function visitConstructorDeclaration(node) { + const savedEnclosingFunctionFlags = enclosingFunctionFlags; + const savedParametersWithPrecedingObjectRestOrSpread = parametersWithPrecedingObjectRestOrSpread; + enclosingFunctionFlags = getFunctionFlags(node); + parametersWithPrecedingObjectRestOrSpread = collectParametersWithPrecedingObjectRestOrSpread(node); + const updated = factory2.updateConstructorDeclaration( + node, + node.modifiers, + visitParameterList(node.parameters, parameterVisitor, context), + transformFunctionBody(node) + ); + enclosingFunctionFlags = savedEnclosingFunctionFlags; + parametersWithPrecedingObjectRestOrSpread = savedParametersWithPrecedingObjectRestOrSpread; + return updated; + } + function visitGetAccessorDeclaration(node) { + const savedEnclosingFunctionFlags = enclosingFunctionFlags; + const savedParametersWithPrecedingObjectRestOrSpread = parametersWithPrecedingObjectRestOrSpread; + enclosingFunctionFlags = getFunctionFlags(node); + parametersWithPrecedingObjectRestOrSpread = collectParametersWithPrecedingObjectRestOrSpread(node); + const updated = factory2.updateGetAccessorDeclaration( + node, + node.modifiers, + visitNode(node.name, visitor, isPropertyName), + visitParameterList(node.parameters, parameterVisitor, context), + /*type*/ + void 0, + transformFunctionBody(node) + ); + enclosingFunctionFlags = savedEnclosingFunctionFlags; + parametersWithPrecedingObjectRestOrSpread = savedParametersWithPrecedingObjectRestOrSpread; + return updated; + } + function visitSetAccessorDeclaration(node) { + const savedEnclosingFunctionFlags = enclosingFunctionFlags; + const savedParametersWithPrecedingObjectRestOrSpread = parametersWithPrecedingObjectRestOrSpread; + enclosingFunctionFlags = getFunctionFlags(node); + parametersWithPrecedingObjectRestOrSpread = collectParametersWithPrecedingObjectRestOrSpread(node); + const updated = factory2.updateSetAccessorDeclaration( + node, + node.modifiers, + visitNode(node.name, visitor, isPropertyName), + visitParameterList(node.parameters, parameterVisitor, context), + transformFunctionBody(node) + ); + enclosingFunctionFlags = savedEnclosingFunctionFlags; + parametersWithPrecedingObjectRestOrSpread = savedParametersWithPrecedingObjectRestOrSpread; + return updated; + } + function visitMethodDeclaration(node) { + const savedEnclosingFunctionFlags = enclosingFunctionFlags; + const savedParametersWithPrecedingObjectRestOrSpread = parametersWithPrecedingObjectRestOrSpread; + enclosingFunctionFlags = getFunctionFlags(node); + parametersWithPrecedingObjectRestOrSpread = collectParametersWithPrecedingObjectRestOrSpread(node); + const updated = factory2.updateMethodDeclaration( + node, + enclosingFunctionFlags & 1 /* Generator */ ? visitNodes2(node.modifiers, visitorNoAsyncModifier, isModifierLike) : node.modifiers, + enclosingFunctionFlags & 2 /* Async */ ? void 0 : node.asteriskToken, + visitNode(node.name, visitor, isPropertyName), + visitNode( + /*node*/ + void 0, + visitor, + isQuestionToken + ), + /*typeParameters*/ + void 0, + enclosingFunctionFlags & 2 /* Async */ && enclosingFunctionFlags & 1 /* Generator */ ? transformAsyncGeneratorFunctionParameterList(node) : visitParameterList(node.parameters, parameterVisitor, context), + /*type*/ + void 0, + enclosingFunctionFlags & 2 /* Async */ && enclosingFunctionFlags & 1 /* Generator */ ? transformAsyncGeneratorFunctionBody(node) : transformFunctionBody(node) + ); + enclosingFunctionFlags = savedEnclosingFunctionFlags; + parametersWithPrecedingObjectRestOrSpread = savedParametersWithPrecedingObjectRestOrSpread; + return updated; + } + function visitFunctionDeclaration(node) { + const savedEnclosingFunctionFlags = enclosingFunctionFlags; + const savedParametersWithPrecedingObjectRestOrSpread = parametersWithPrecedingObjectRestOrSpread; + enclosingFunctionFlags = getFunctionFlags(node); + parametersWithPrecedingObjectRestOrSpread = collectParametersWithPrecedingObjectRestOrSpread(node); + const updated = factory2.updateFunctionDeclaration( + node, + enclosingFunctionFlags & 1 /* Generator */ ? visitNodes2(node.modifiers, visitorNoAsyncModifier, isModifier) : node.modifiers, + enclosingFunctionFlags & 2 /* Async */ ? void 0 : node.asteriskToken, + node.name, + /*typeParameters*/ + void 0, + enclosingFunctionFlags & 2 /* Async */ && enclosingFunctionFlags & 1 /* Generator */ ? transformAsyncGeneratorFunctionParameterList(node) : visitParameterList(node.parameters, parameterVisitor, context), + /*type*/ + void 0, + enclosingFunctionFlags & 2 /* Async */ && enclosingFunctionFlags & 1 /* Generator */ ? transformAsyncGeneratorFunctionBody(node) : transformFunctionBody(node) + ); + enclosingFunctionFlags = savedEnclosingFunctionFlags; + parametersWithPrecedingObjectRestOrSpread = savedParametersWithPrecedingObjectRestOrSpread; + return updated; + } + function visitArrowFunction(node) { + const savedEnclosingFunctionFlags = enclosingFunctionFlags; + const savedParametersWithPrecedingObjectRestOrSpread = parametersWithPrecedingObjectRestOrSpread; + enclosingFunctionFlags = getFunctionFlags(node); + parametersWithPrecedingObjectRestOrSpread = collectParametersWithPrecedingObjectRestOrSpread(node); + const updated = factory2.updateArrowFunction( + node, + node.modifiers, + /*typeParameters*/ + void 0, + visitParameterList(node.parameters, parameterVisitor, context), + /*type*/ + void 0, + node.equalsGreaterThanToken, + transformFunctionBody(node) + ); + enclosingFunctionFlags = savedEnclosingFunctionFlags; + parametersWithPrecedingObjectRestOrSpread = savedParametersWithPrecedingObjectRestOrSpread; + return updated; + } + function visitFunctionExpression(node) { + const savedEnclosingFunctionFlags = enclosingFunctionFlags; + const savedParametersWithPrecedingObjectRestOrSpread = parametersWithPrecedingObjectRestOrSpread; + enclosingFunctionFlags = getFunctionFlags(node); + parametersWithPrecedingObjectRestOrSpread = collectParametersWithPrecedingObjectRestOrSpread(node); + const updated = factory2.updateFunctionExpression( + node, + enclosingFunctionFlags & 1 /* Generator */ ? visitNodes2(node.modifiers, visitorNoAsyncModifier, isModifier) : node.modifiers, + enclosingFunctionFlags & 2 /* Async */ ? void 0 : node.asteriskToken, + node.name, + /*typeParameters*/ + void 0, + enclosingFunctionFlags & 2 /* Async */ && enclosingFunctionFlags & 1 /* Generator */ ? transformAsyncGeneratorFunctionParameterList(node) : visitParameterList(node.parameters, parameterVisitor, context), + /*type*/ + void 0, + enclosingFunctionFlags & 2 /* Async */ && enclosingFunctionFlags & 1 /* Generator */ ? transformAsyncGeneratorFunctionBody(node) : transformFunctionBody(node) + ); + enclosingFunctionFlags = savedEnclosingFunctionFlags; + parametersWithPrecedingObjectRestOrSpread = savedParametersWithPrecedingObjectRestOrSpread; + return updated; + } + function transformAsyncGeneratorFunctionParameterList(node) { + if (isSimpleParameterList(node.parameters)) { + return visitParameterList(node.parameters, visitor, context); + } + const newParameters = []; + for (const parameter of node.parameters) { + if (parameter.initializer || parameter.dotDotDotToken) { + break; + } + const newParameter = factory2.createParameterDeclaration( + /*modifiers*/ + void 0, + /*dotDotDotToken*/ + void 0, + factory2.getGeneratedNameForNode(parameter.name, 8 /* ReservedInNestedScopes */) + ); + newParameters.push(newParameter); + } + const newParametersArray = factory2.createNodeArray(newParameters); + setTextRange(newParametersArray, node.parameters); + return newParametersArray; + } + function transformAsyncGeneratorFunctionBody(node) { + const innerParameters = !isSimpleParameterList(node.parameters) ? visitParameterList(node.parameters, visitor, context) : void 0; + resumeLexicalEnvironment(); + const savedCapturedSuperProperties = capturedSuperProperties; + const savedHasSuperElementAccess = hasSuperElementAccess; + capturedSuperProperties = /* @__PURE__ */ new Set(); + hasSuperElementAccess = false; + const outerStatements = []; + let asyncBody = factory2.updateBlock(node.body, visitNodes2(node.body.statements, visitor, isStatement)); + asyncBody = factory2.updateBlock(asyncBody, factory2.mergeLexicalEnvironment(asyncBody.statements, appendObjectRestAssignmentsIfNeeded(endLexicalEnvironment(), node))); + const returnStatement = factory2.createReturnStatement( + emitHelpers().createAsyncGeneratorHelper( + factory2.createFunctionExpression( + /*modifiers*/ + void 0, + factory2.createToken(42 /* AsteriskToken */), + node.name && factory2.getGeneratedNameForNode(node.name), + /*typeParameters*/ + void 0, + innerParameters ?? [], + /*type*/ + void 0, + asyncBody + ), + !!(hierarchyFacts & 1 /* HasLexicalThis */) + ) + ); + const emitSuperHelpers = languageVersion >= 2 /* ES2015 */ && (resolver.hasNodeCheckFlag(node, 256 /* MethodWithSuperPropertyAssignmentInAsync */) || resolver.hasNodeCheckFlag(node, 128 /* MethodWithSuperPropertyAccessInAsync */)); + if (emitSuperHelpers) { + enableSubstitutionForAsyncMethodsWithSuper(); + const variableStatement = createSuperAccessVariableStatement(factory2, resolver, node, capturedSuperProperties); + substitutedSuperAccessors[getNodeId(variableStatement)] = true; + insertStatementsAfterStandardPrologue(outerStatements, [variableStatement]); + } + outerStatements.push(returnStatement); + const block = factory2.updateBlock(node.body, outerStatements); + if (emitSuperHelpers && hasSuperElementAccess) { + if (resolver.hasNodeCheckFlag(node, 256 /* MethodWithSuperPropertyAssignmentInAsync */)) { + addEmitHelper(block, advancedAsyncSuperHelper); + } else if (resolver.hasNodeCheckFlag(node, 128 /* MethodWithSuperPropertyAccessInAsync */)) { + addEmitHelper(block, asyncSuperHelper); + } + } + capturedSuperProperties = savedCapturedSuperProperties; + hasSuperElementAccess = savedHasSuperElementAccess; + return block; + } + function transformFunctionBody(node) { + resumeLexicalEnvironment(); + let statementOffset = 0; + const statements = []; + const body = visitNode(node.body, visitor, isConciseBody) ?? factory2.createBlock([]); + if (isBlock(body)) { + statementOffset = factory2.copyPrologue( + body.statements, + statements, + /*ensureUseStrict*/ + false, + visitor + ); + } + addRange(statements, appendObjectRestAssignmentsIfNeeded( + /*statements*/ + void 0, + node + )); + const leadingStatements = endLexicalEnvironment(); + if (statementOffset > 0 || some(statements) || some(leadingStatements)) { + const block = factory2.converters.convertToFunctionBlock( + body, + /*multiLine*/ + true + ); + insertStatementsAfterStandardPrologue(statements, leadingStatements); + addRange(statements, block.statements.slice(statementOffset)); + return factory2.updateBlock(block, setTextRange(factory2.createNodeArray(statements), block.statements)); + } + return body; + } + function appendObjectRestAssignmentsIfNeeded(statements, node) { + let containsPrecedingObjectRestOrSpread = false; + for (const parameter of node.parameters) { + if (containsPrecedingObjectRestOrSpread) { + if (isBindingPattern(parameter.name)) { + if (parameter.name.elements.length > 0) { + const declarations = flattenDestructuringBinding( + parameter, + visitor, + context, + 0 /* All */, + factory2.getGeneratedNameForNode(parameter) + ); + if (some(declarations)) { + const declarationList = factory2.createVariableDeclarationList(declarations); + const statement = factory2.createVariableStatement( + /*modifiers*/ + void 0, + declarationList + ); + setEmitFlags(statement, 2097152 /* CustomPrologue */); + statements = append(statements, statement); + } + } else if (parameter.initializer) { + const name = factory2.getGeneratedNameForNode(parameter); + const initializer = visitNode(parameter.initializer, visitor, isExpression); + const assignment = factory2.createAssignment(name, initializer); + const statement = factory2.createExpressionStatement(assignment); + setEmitFlags(statement, 2097152 /* CustomPrologue */); + statements = append(statements, statement); + } + } else if (parameter.initializer) { + const name = factory2.cloneNode(parameter.name); + setTextRange(name, parameter.name); + setEmitFlags(name, 96 /* NoSourceMap */); + const initializer = visitNode(parameter.initializer, visitor, isExpression); + addEmitFlags(initializer, 96 /* NoSourceMap */ | 3072 /* NoComments */); + const assignment = factory2.createAssignment(name, initializer); + setTextRange(assignment, parameter); + setEmitFlags(assignment, 3072 /* NoComments */); + const block = factory2.createBlock([factory2.createExpressionStatement(assignment)]); + setTextRange(block, parameter); + setEmitFlags(block, 1 /* SingleLine */ | 64 /* NoTrailingSourceMap */ | 768 /* NoTokenSourceMaps */ | 3072 /* NoComments */); + const typeCheck = factory2.createTypeCheck(factory2.cloneNode(parameter.name), "undefined"); + const statement = factory2.createIfStatement(typeCheck, block); + startOnNewLine(statement); + setTextRange(statement, parameter); + setEmitFlags(statement, 768 /* NoTokenSourceMaps */ | 64 /* NoTrailingSourceMap */ | 2097152 /* CustomPrologue */ | 3072 /* NoComments */); + statements = append(statements, statement); + } + } else if (parameter.transformFlags & 65536 /* ContainsObjectRestOrSpread */) { + containsPrecedingObjectRestOrSpread = true; + const declarations = flattenDestructuringBinding( + parameter, + visitor, + context, + 1 /* ObjectRest */, + factory2.getGeneratedNameForNode(parameter), + /*hoistTempVariables*/ + false, + /*skipInitializer*/ + true + ); + if (some(declarations)) { + const declarationList = factory2.createVariableDeclarationList(declarations); + const statement = factory2.createVariableStatement( + /*modifiers*/ + void 0, + declarationList + ); + setEmitFlags(statement, 2097152 /* CustomPrologue */); + statements = append(statements, statement); + } + } + } + return statements; + } + function enableSubstitutionForAsyncMethodsWithSuper() { + if ((enabledSubstitutions & 1 /* AsyncMethodsWithSuper */) === 0) { + enabledSubstitutions |= 1 /* AsyncMethodsWithSuper */; + context.enableSubstitution(213 /* CallExpression */); + context.enableSubstitution(211 /* PropertyAccessExpression */); + context.enableSubstitution(212 /* ElementAccessExpression */); + context.enableEmitNotification(263 /* ClassDeclaration */); + context.enableEmitNotification(174 /* MethodDeclaration */); + context.enableEmitNotification(177 /* GetAccessor */); + context.enableEmitNotification(178 /* SetAccessor */); + context.enableEmitNotification(176 /* Constructor */); + context.enableEmitNotification(243 /* VariableStatement */); + } + } + function onEmitNode(hint, node, emitCallback) { + if (enabledSubstitutions & 1 /* AsyncMethodsWithSuper */ && isSuperContainer(node)) { + const superContainerFlags = (resolver.hasNodeCheckFlag(node, 128 /* MethodWithSuperPropertyAccessInAsync */) ? 128 /* MethodWithSuperPropertyAccessInAsync */ : 0) | (resolver.hasNodeCheckFlag(node, 256 /* MethodWithSuperPropertyAssignmentInAsync */) ? 256 /* MethodWithSuperPropertyAssignmentInAsync */ : 0); + if (superContainerFlags !== enclosingSuperContainerFlags) { + const savedEnclosingSuperContainerFlags = enclosingSuperContainerFlags; + enclosingSuperContainerFlags = superContainerFlags; + previousOnEmitNode(hint, node, emitCallback); + enclosingSuperContainerFlags = savedEnclosingSuperContainerFlags; + return; + } + } else if (enabledSubstitutions && substitutedSuperAccessors[getNodeId(node)]) { + const savedEnclosingSuperContainerFlags = enclosingSuperContainerFlags; + enclosingSuperContainerFlags = 0; + previousOnEmitNode(hint, node, emitCallback); + enclosingSuperContainerFlags = savedEnclosingSuperContainerFlags; + return; + } + previousOnEmitNode(hint, node, emitCallback); + } + function onSubstituteNode(hint, node) { + node = previousOnSubstituteNode(hint, node); + if (hint === 1 /* Expression */ && enclosingSuperContainerFlags) { + return substituteExpression(node); + } + return node; + } + function substituteExpression(node) { + switch (node.kind) { + case 211 /* PropertyAccessExpression */: + return substitutePropertyAccessExpression(node); + case 212 /* ElementAccessExpression */: + return substituteElementAccessExpression(node); + case 213 /* CallExpression */: + return substituteCallExpression(node); + } + return node; + } + function substitutePropertyAccessExpression(node) { + if (node.expression.kind === 108 /* SuperKeyword */) { + return setTextRange( + factory2.createPropertyAccessExpression( + factory2.createUniqueName("_super", 16 /* Optimistic */ | 32 /* FileLevel */), + node.name + ), + node + ); + } + return node; + } + function substituteElementAccessExpression(node) { + if (node.expression.kind === 108 /* SuperKeyword */) { + return createSuperElementAccessInAsyncMethod( + node.argumentExpression, + node + ); + } + return node; + } + function substituteCallExpression(node) { + const expression = node.expression; + if (isSuperProperty(expression)) { + const argumentExpression = isPropertyAccessExpression(expression) ? substitutePropertyAccessExpression(expression) : substituteElementAccessExpression(expression); + return factory2.createCallExpression( + factory2.createPropertyAccessExpression(argumentExpression, "call"), + /*typeArguments*/ + void 0, + [ + factory2.createThis(), + ...node.arguments + ] + ); + } + return node; + } + function isSuperContainer(node) { + const kind = node.kind; + return kind === 263 /* ClassDeclaration */ || kind === 176 /* Constructor */ || kind === 174 /* MethodDeclaration */ || kind === 177 /* GetAccessor */ || kind === 178 /* SetAccessor */; + } + function createSuperElementAccessInAsyncMethod(argumentExpression, location) { + if (enclosingSuperContainerFlags & 256 /* MethodWithSuperPropertyAssignmentInAsync */) { + return setTextRange( + factory2.createPropertyAccessExpression( + factory2.createCallExpression( + factory2.createIdentifier("_superIndex"), + /*typeArguments*/ + void 0, + [argumentExpression] + ), + "value" + ), + location + ); + } else { + return setTextRange( + factory2.createCallExpression( + factory2.createIdentifier("_superIndex"), + /*typeArguments*/ + void 0, + [argumentExpression] + ), + location + ); + } + } +} + +// src/compiler/transformers/es2019.ts +function transformES2019(context) { + const factory2 = context.factory; + return chainBundle(context, transformSourceFile); + function transformSourceFile(node) { + if (node.isDeclarationFile) { + return node; + } + return visitEachChild(node, visitor, context); + } + function visitor(node) { + if ((node.transformFlags & 64 /* ContainsES2019 */) === 0) { + return node; + } + switch (node.kind) { + case 299 /* CatchClause */: + return visitCatchClause(node); + default: + return visitEachChild(node, visitor, context); + } + } + function visitCatchClause(node) { + if (!node.variableDeclaration) { + return factory2.updateCatchClause( + node, + factory2.createVariableDeclaration(factory2.createTempVariable( + /*recordTempVariable*/ + void 0 + )), + visitNode(node.block, visitor, isBlock) + ); + } + return visitEachChild(node, visitor, context); + } +} + +// src/compiler/transformers/es2020.ts +function transformES2020(context) { + const { + factory: factory2, + hoistVariableDeclaration + } = context; + return chainBundle(context, transformSourceFile); + function transformSourceFile(node) { + if (node.isDeclarationFile) { + return node; + } + return visitEachChild(node, visitor, context); + } + function visitor(node) { + if ((node.transformFlags & 32 /* ContainsES2020 */) === 0) { + return node; + } + switch (node.kind) { + case 213 /* CallExpression */: { + const updated = visitNonOptionalCallExpression( + node, + /*captureThisArg*/ + false + ); + Debug.assertNotNode(updated, isSyntheticReference); + return updated; + } + case 211 /* PropertyAccessExpression */: + case 212 /* ElementAccessExpression */: + if (isOptionalChain(node)) { + const updated = visitOptionalExpression( + node, + /*captureThisArg*/ + false, + /*isDelete*/ + false + ); + Debug.assertNotNode(updated, isSyntheticReference); + return updated; + } + return visitEachChild(node, visitor, context); + case 226 /* BinaryExpression */: + if (node.operatorToken.kind === 61 /* QuestionQuestionToken */) { + return transformNullishCoalescingExpression(node); + } + return visitEachChild(node, visitor, context); + case 220 /* DeleteExpression */: + return visitDeleteExpression(node); + default: + return visitEachChild(node, visitor, context); + } + } + function flattenChain(chain) { + Debug.assertNotNode(chain, isNonNullChain); + const links = [chain]; + while (!chain.questionDotToken && !isTaggedTemplateExpression(chain)) { + chain = cast(skipPartiallyEmittedExpressions(chain.expression), isOptionalChain); + Debug.assertNotNode(chain, isNonNullChain); + links.unshift(chain); + } + return { expression: chain.expression, chain: links }; + } + function visitNonOptionalParenthesizedExpression(node, captureThisArg, isDelete) { + const expression = visitNonOptionalExpression(node.expression, captureThisArg, isDelete); + if (isSyntheticReference(expression)) { + return factory2.createSyntheticReferenceExpression(factory2.updateParenthesizedExpression(node, expression.expression), expression.thisArg); + } + return factory2.updateParenthesizedExpression(node, expression); + } + function visitNonOptionalPropertyOrElementAccessExpression(node, captureThisArg, isDelete) { + if (isOptionalChain(node)) { + return visitOptionalExpression(node, captureThisArg, isDelete); + } + let expression = visitNode(node.expression, visitor, isExpression); + Debug.assertNotNode(expression, isSyntheticReference); + let thisArg; + if (captureThisArg) { + if (!isSimpleCopiableExpression(expression)) { + thisArg = factory2.createTempVariable(hoistVariableDeclaration); + expression = factory2.createAssignment(thisArg, expression); + } else { + thisArg = expression; + } + } + expression = node.kind === 211 /* PropertyAccessExpression */ ? factory2.updatePropertyAccessExpression(node, expression, visitNode(node.name, visitor, isIdentifier)) : factory2.updateElementAccessExpression(node, expression, visitNode(node.argumentExpression, visitor, isExpression)); + return thisArg ? factory2.createSyntheticReferenceExpression(expression, thisArg) : expression; + } + function visitNonOptionalCallExpression(node, captureThisArg) { + if (isOptionalChain(node)) { + return visitOptionalExpression( + node, + captureThisArg, + /*isDelete*/ + false + ); + } + if (isParenthesizedExpression(node.expression) && isOptionalChain(skipParentheses(node.expression))) { + const expression = visitNonOptionalParenthesizedExpression( + node.expression, + /*captureThisArg*/ + true, + /*isDelete*/ + false + ); + const args = visitNodes2(node.arguments, visitor, isExpression); + if (isSyntheticReference(expression)) { + return setTextRange(factory2.createFunctionCallCall(expression.expression, expression.thisArg, args), node); + } + return factory2.updateCallExpression( + node, + expression, + /*typeArguments*/ + void 0, + args + ); + } + return visitEachChild(node, visitor, context); + } + function visitNonOptionalExpression(node, captureThisArg, isDelete) { + switch (node.kind) { + case 217 /* ParenthesizedExpression */: + return visitNonOptionalParenthesizedExpression(node, captureThisArg, isDelete); + case 211 /* PropertyAccessExpression */: + case 212 /* ElementAccessExpression */: + return visitNonOptionalPropertyOrElementAccessExpression(node, captureThisArg, isDelete); + case 213 /* CallExpression */: + return visitNonOptionalCallExpression(node, captureThisArg); + default: + return visitNode(node, visitor, isExpression); + } + } + function visitOptionalExpression(node, captureThisArg, isDelete) { + const { expression, chain } = flattenChain(node); + const left = visitNonOptionalExpression( + skipPartiallyEmittedExpressions(expression), + isCallChain(chain[0]), + /*isDelete*/ + false + ); + let leftThisArg = isSyntheticReference(left) ? left.thisArg : void 0; + let capturedLeft = isSyntheticReference(left) ? left.expression : left; + let leftExpression = factory2.restoreOuterExpressions(expression, capturedLeft, 8 /* PartiallyEmittedExpressions */); + if (!isSimpleCopiableExpression(capturedLeft)) { + capturedLeft = factory2.createTempVariable(hoistVariableDeclaration); + leftExpression = factory2.createAssignment(capturedLeft, leftExpression); + } + let rightExpression = capturedLeft; + let thisArg; + for (let i = 0; i < chain.length; i++) { + const segment = chain[i]; + switch (segment.kind) { + case 211 /* PropertyAccessExpression */: + case 212 /* ElementAccessExpression */: + if (i === chain.length - 1 && captureThisArg) { + if (!isSimpleCopiableExpression(rightExpression)) { + thisArg = factory2.createTempVariable(hoistVariableDeclaration); + rightExpression = factory2.createAssignment(thisArg, rightExpression); + } else { + thisArg = rightExpression; + } + } + rightExpression = segment.kind === 211 /* PropertyAccessExpression */ ? factory2.createPropertyAccessExpression(rightExpression, visitNode(segment.name, visitor, isIdentifier)) : factory2.createElementAccessExpression(rightExpression, visitNode(segment.argumentExpression, visitor, isExpression)); + break; + case 213 /* CallExpression */: + if (i === 0 && leftThisArg) { + if (!isGeneratedIdentifier(leftThisArg)) { + leftThisArg = factory2.cloneNode(leftThisArg); + addEmitFlags(leftThisArg, 3072 /* NoComments */); + } + rightExpression = factory2.createFunctionCallCall( + rightExpression, + leftThisArg.kind === 108 /* SuperKeyword */ ? factory2.createThis() : leftThisArg, + visitNodes2(segment.arguments, visitor, isExpression) + ); + } else { + rightExpression = factory2.createCallExpression( + rightExpression, + /*typeArguments*/ + void 0, + visitNodes2(segment.arguments, visitor, isExpression) + ); + } + break; + } + setOriginalNode(rightExpression, segment); + } + const target = isDelete ? factory2.createConditionalExpression( + createNotNullCondition( + leftExpression, + capturedLeft, + /*invert*/ + true + ), + /*questionToken*/ + void 0, + factory2.createTrue(), + /*colonToken*/ + void 0, + factory2.createDeleteExpression(rightExpression) + ) : factory2.createConditionalExpression( + createNotNullCondition( + leftExpression, + capturedLeft, + /*invert*/ + true + ), + /*questionToken*/ + void 0, + factory2.createVoidZero(), + /*colonToken*/ + void 0, + rightExpression + ); + setTextRange(target, node); + return thisArg ? factory2.createSyntheticReferenceExpression(target, thisArg) : target; + } + function createNotNullCondition(left, right, invert) { + return factory2.createBinaryExpression( + factory2.createBinaryExpression( + left, + factory2.createToken(invert ? 37 /* EqualsEqualsEqualsToken */ : 38 /* ExclamationEqualsEqualsToken */), + factory2.createNull() + ), + factory2.createToken(invert ? 57 /* BarBarToken */ : 56 /* AmpersandAmpersandToken */), + factory2.createBinaryExpression( + right, + factory2.createToken(invert ? 37 /* EqualsEqualsEqualsToken */ : 38 /* ExclamationEqualsEqualsToken */), + factory2.createVoidZero() + ) + ); + } + function transformNullishCoalescingExpression(node) { + let left = visitNode(node.left, visitor, isExpression); + let right = left; + if (!isSimpleCopiableExpression(left)) { + right = factory2.createTempVariable(hoistVariableDeclaration); + left = factory2.createAssignment(right, left); + } + return setTextRange( + factory2.createConditionalExpression( + createNotNullCondition(left, right), + /*questionToken*/ + void 0, + right, + /*colonToken*/ + void 0, + visitNode(node.right, visitor, isExpression) + ), + node + ); + } + function visitDeleteExpression(node) { + return isOptionalChain(skipParentheses(node.expression)) ? setOriginalNode(visitNonOptionalExpression( + node.expression, + /*captureThisArg*/ + false, + /*isDelete*/ + true + ), node) : factory2.updateDeleteExpression(node, visitNode(node.expression, visitor, isExpression)); + } +} + +// src/compiler/transformers/es2021.ts +function transformES2021(context) { + const { + hoistVariableDeclaration, + factory: factory2 + } = context; + return chainBundle(context, transformSourceFile); + function transformSourceFile(node) { + if (node.isDeclarationFile) { + return node; + } + return visitEachChild(node, visitor, context); + } + function visitor(node) { + if ((node.transformFlags & 16 /* ContainsES2021 */) === 0) { + return node; + } + if (isLogicalOrCoalescingAssignmentExpression(node)) { + return transformLogicalAssignment(node); + } + return visitEachChild(node, visitor, context); + } + function transformLogicalAssignment(binaryExpression) { + const operator = binaryExpression.operatorToken; + const nonAssignmentOperator = getNonAssignmentOperatorForCompoundAssignment(operator.kind); + let left = skipParentheses(visitNode(binaryExpression.left, visitor, isLeftHandSideExpression)); + let assignmentTarget = left; + const right = skipParentheses(visitNode(binaryExpression.right, visitor, isExpression)); + if (isAccessExpression(left)) { + const propertyAccessTargetSimpleCopiable = isSimpleCopiableExpression(left.expression); + const propertyAccessTarget = propertyAccessTargetSimpleCopiable ? left.expression : factory2.createTempVariable(hoistVariableDeclaration); + const propertyAccessTargetAssignment = propertyAccessTargetSimpleCopiable ? left.expression : factory2.createAssignment( + propertyAccessTarget, + left.expression + ); + if (isPropertyAccessExpression(left)) { + assignmentTarget = factory2.createPropertyAccessExpression( + propertyAccessTarget, + left.name + ); + left = factory2.createPropertyAccessExpression( + propertyAccessTargetAssignment, + left.name + ); + } else { + const elementAccessArgumentSimpleCopiable = isSimpleCopiableExpression(left.argumentExpression); + const elementAccessArgument = elementAccessArgumentSimpleCopiable ? left.argumentExpression : factory2.createTempVariable(hoistVariableDeclaration); + assignmentTarget = factory2.createElementAccessExpression( + propertyAccessTarget, + elementAccessArgument + ); + left = factory2.createElementAccessExpression( + propertyAccessTargetAssignment, + elementAccessArgumentSimpleCopiable ? left.argumentExpression : factory2.createAssignment( + elementAccessArgument, + left.argumentExpression + ) + ); + } + } + return factory2.createBinaryExpression( + left, + nonAssignmentOperator, + factory2.createParenthesizedExpression( + factory2.createAssignment( + assignmentTarget, + right + ) + ) + ); + } +} + +// src/compiler/transformers/esnext.ts +function transformESNext(context) { + const { + factory: factory2, + getEmitHelperFactory: emitHelpers, + hoistVariableDeclaration, + startLexicalEnvironment, + endLexicalEnvironment + } = context; + let exportBindings; + let exportVars; + let defaultExportBinding; + let exportEqualsBinding; + return chainBundle(context, transformSourceFile); + function transformSourceFile(node) { + if (node.isDeclarationFile) { + return node; + } + const visited = visitNode(node, visitor, isSourceFile); + addEmitHelpers(visited, context.readEmitHelpers()); + exportVars = void 0; + exportBindings = void 0; + defaultExportBinding = void 0; + return visited; + } + function visitor(node) { + if ((node.transformFlags & 4 /* ContainsESNext */) === 0) { + return node; + } + switch (node.kind) { + case 307 /* SourceFile */: + return visitSourceFile(node); + case 241 /* Block */: + return visitBlock(node); + case 248 /* ForStatement */: + return visitForStatement(node); + case 250 /* ForOfStatement */: + return visitForOfStatement(node); + case 255 /* SwitchStatement */: + return visitSwitchStatement(node); + default: + return visitEachChild(node, visitor, context); + } + } + function visitSourceFile(node) { + const usingKind = getUsingKindOfStatements(node.statements); + if (usingKind) { + startLexicalEnvironment(); + exportBindings = new IdentifierNameMap(); + exportVars = []; + const prologueCount = countPrologueStatements(node.statements); + const topLevelStatements = []; + addRange(topLevelStatements, visitArray(node.statements, visitor, isStatement, 0, prologueCount)); + let pos = prologueCount; + while (pos < node.statements.length) { + const statement = node.statements[pos]; + if (getUsingKind(statement) !== 0 /* None */) { + if (pos > prologueCount) { + addRange(topLevelStatements, visitNodes2(node.statements, visitor, isStatement, prologueCount, pos - prologueCount)); + } + break; + } + pos++; + } + Debug.assert(pos < node.statements.length, "Should have encountered at least one 'using' statement."); + const envBinding = createEnvBinding(); + const bodyStatements = transformUsingDeclarations(node.statements, pos, node.statements.length, envBinding, topLevelStatements); + if (exportBindings.size) { + append( + topLevelStatements, + factory2.createExportDeclaration( + /*modifiers*/ + void 0, + /*isTypeOnly*/ + false, + factory2.createNamedExports(arrayFrom(exportBindings.values())) + ) + ); + } + addRange(topLevelStatements, endLexicalEnvironment()); + if (exportVars.length) { + topLevelStatements.push(factory2.createVariableStatement( + factory2.createModifiersFromModifierFlags(32 /* Export */), + factory2.createVariableDeclarationList( + exportVars, + 1 /* Let */ + ) + )); + } + addRange(topLevelStatements, createDownlevelUsingStatements(bodyStatements, envBinding, usingKind === 2 /* Async */)); + if (exportEqualsBinding) { + topLevelStatements.push(factory2.createExportAssignment( + /*modifiers*/ + void 0, + /*isExportEquals*/ + true, + exportEqualsBinding + )); + } + return factory2.updateSourceFile(node, topLevelStatements); + } + return visitEachChild(node, visitor, context); + } + function visitBlock(node) { + const usingKind = getUsingKindOfStatements(node.statements); + if (usingKind) { + const prologueCount = countPrologueStatements(node.statements); + const envBinding = createEnvBinding(); + return factory2.updateBlock( + node, + [ + ...visitArray(node.statements, visitor, isStatement, 0, prologueCount), + ...createDownlevelUsingStatements( + transformUsingDeclarations( + node.statements, + prologueCount, + node.statements.length, + envBinding, + /*topLevelStatements*/ + void 0 + ), + envBinding, + usingKind === 2 /* Async */ + ) + ] + ); + } + return visitEachChild(node, visitor, context); + } + function visitForStatement(node) { + if (node.initializer && isUsingVariableDeclarationList(node.initializer)) { + return visitNode( + factory2.createBlock([ + factory2.createVariableStatement( + /*modifiers*/ + void 0, + node.initializer + ), + factory2.updateForStatement( + node, + /*initializer*/ + void 0, + node.condition, + node.incrementor, + node.statement + ) + ]), + visitor, + isStatement + ); + } + return visitEachChild(node, visitor, context); + } + function visitForOfStatement(node) { + if (isUsingVariableDeclarationList(node.initializer)) { + const forInitializer = node.initializer; + const forDecl = firstOrUndefined(forInitializer.declarations) || factory2.createVariableDeclaration(factory2.createTempVariable( + /*recordTempVariable*/ + void 0 + )); + const isAwaitUsing = getUsingKindOfVariableDeclarationList(forInitializer) === 2 /* Async */; + const temp = factory2.getGeneratedNameForNode(forDecl.name); + const usingVar = factory2.updateVariableDeclaration( + forDecl, + forDecl.name, + /*exclamationToken*/ + void 0, + /*type*/ + void 0, + temp + ); + const usingVarList = factory2.createVariableDeclarationList([usingVar], isAwaitUsing ? 6 /* AwaitUsing */ : 4 /* Using */); + const usingVarStatement = factory2.createVariableStatement( + /*modifiers*/ + void 0, + usingVarList + ); + return visitNode( + factory2.updateForOfStatement( + node, + node.awaitModifier, + factory2.createVariableDeclarationList([ + factory2.createVariableDeclaration(temp) + ], 2 /* Const */), + node.expression, + isBlock(node.statement) ? factory2.updateBlock(node.statement, [ + usingVarStatement, + ...node.statement.statements + ]) : factory2.createBlock( + [ + usingVarStatement, + node.statement + ], + /*multiLine*/ + true + ) + ), + visitor, + isStatement + ); + } + return visitEachChild(node, visitor, context); + } + function visitCaseOrDefaultClause(node, envBinding) { + if (getUsingKindOfStatements(node.statements) !== 0 /* None */) { + if (isCaseClause(node)) { + return factory2.updateCaseClause( + node, + visitNode(node.expression, visitor, isExpression), + transformUsingDeclarations( + node.statements, + /*start*/ + 0, + node.statements.length, + envBinding, + /*topLevelStatements*/ + void 0 + ) + ); + } else { + return factory2.updateDefaultClause( + node, + transformUsingDeclarations( + node.statements, + /*start*/ + 0, + node.statements.length, + envBinding, + /*topLevelStatements*/ + void 0 + ) + ); + } + } + return visitEachChild(node, visitor, context); + } + function visitSwitchStatement(node) { + const usingKind = getUsingKindOfCaseOrDefaultClauses(node.caseBlock.clauses); + if (usingKind) { + const envBinding = createEnvBinding(); + return createDownlevelUsingStatements( + [ + factory2.updateSwitchStatement( + node, + visitNode(node.expression, visitor, isExpression), + factory2.updateCaseBlock( + node.caseBlock, + node.caseBlock.clauses.map((clause) => visitCaseOrDefaultClause(clause, envBinding)) + ) + ) + ], + envBinding, + usingKind === 2 /* Async */ + ); + } + return visitEachChild(node, visitor, context); + } + function transformUsingDeclarations(statementsIn, start, end, envBinding, topLevelStatements) { + const statements = []; + for (let i = start; i < end; i++) { + const statement = statementsIn[i]; + const usingKind = getUsingKind(statement); + if (usingKind) { + Debug.assertNode(statement, isVariableStatement); + const declarations = []; + for (let declaration of statement.declarationList.declarations) { + if (!isIdentifier(declaration.name)) { + declarations.length = 0; + break; + } + if (isNamedEvaluation(declaration)) { + declaration = transformNamedEvaluation(context, declaration); + } + const initializer = visitNode(declaration.initializer, visitor, isExpression) ?? factory2.createVoidZero(); + declarations.push(factory2.updateVariableDeclaration( + declaration, + declaration.name, + /*exclamationToken*/ + void 0, + /*type*/ + void 0, + emitHelpers().createAddDisposableResourceHelper( + envBinding, + initializer, + usingKind === 2 /* Async */ + ) + )); + } + if (declarations.length) { + const varList = factory2.createVariableDeclarationList(declarations, 2 /* Const */); + setOriginalNode(varList, statement.declarationList); + setTextRange(varList, statement.declarationList); + hoistOrAppendNode(factory2.updateVariableStatement( + statement, + /*modifiers*/ + void 0, + varList + )); + continue; + } + } + const result = visitor(statement); + if (isArray(result)) { + result.forEach(hoistOrAppendNode); + } else if (result) { + hoistOrAppendNode(result); + } + } + return statements; + function hoistOrAppendNode(node) { + Debug.assertNode(node, isStatement); + append(statements, hoist(node)); + } + function hoist(node) { + if (!topLevelStatements) return node; + switch (node.kind) { + case 272 /* ImportDeclaration */: + case 271 /* ImportEqualsDeclaration */: + case 278 /* ExportDeclaration */: + case 262 /* FunctionDeclaration */: + return hoistImportOrExportOrHoistedDeclaration(node, topLevelStatements); + case 277 /* ExportAssignment */: + return hoistExportAssignment(node); + case 263 /* ClassDeclaration */: + return hoistClassDeclaration(node); + case 243 /* VariableStatement */: + return hoistVariableStatement(node); + } + return node; + } + } + function hoistImportOrExportOrHoistedDeclaration(node, topLevelStatements) { + topLevelStatements.push(node); + return void 0; + } + function hoistExportAssignment(node) { + return node.isExportEquals ? hoistExportEquals(node) : hoistExportDefault(node); + } + function hoistExportDefault(node) { + if (defaultExportBinding) { + return node; + } + defaultExportBinding = factory2.createUniqueName("_default", 8 /* ReservedInNestedScopes */ | 32 /* FileLevel */ | 16 /* Optimistic */); + hoistBindingIdentifier( + defaultExportBinding, + /*isExport*/ + true, + "default", + node + ); + let expression = node.expression; + let innerExpression = skipOuterExpressions(expression); + if (isNamedEvaluation(innerExpression)) { + innerExpression = transformNamedEvaluation( + context, + innerExpression, + /*ignoreEmptyStringLiteral*/ + false, + "default" + ); + expression = factory2.restoreOuterExpressions(expression, innerExpression); + } + const assignment = factory2.createAssignment(defaultExportBinding, expression); + return factory2.createExpressionStatement(assignment); + } + function hoistExportEquals(node) { + if (exportEqualsBinding) { + return node; + } + exportEqualsBinding = factory2.createUniqueName("_default", 8 /* ReservedInNestedScopes */ | 32 /* FileLevel */ | 16 /* Optimistic */); + hoistVariableDeclaration(exportEqualsBinding); + const assignment = factory2.createAssignment(exportEqualsBinding, node.expression); + return factory2.createExpressionStatement(assignment); + } + function hoistClassDeclaration(node) { + if (!node.name && defaultExportBinding) { + return node; + } + const isExported = hasSyntacticModifier(node, 32 /* Export */); + const isDefault = hasSyntacticModifier(node, 2048 /* Default */); + let expression = factory2.converters.convertToClassExpression(node); + if (node.name) { + hoistBindingIdentifier( + factory2.getLocalName(node), + isExported && !isDefault, + /*exportAlias*/ + void 0, + node + ); + expression = factory2.createAssignment(factory2.getDeclarationName(node), expression); + if (isNamedEvaluation(expression)) { + expression = transformNamedEvaluation( + context, + expression, + /*ignoreEmptyStringLiteral*/ + false + ); + } + setOriginalNode(expression, node); + setSourceMapRange(expression, node); + setCommentRange(expression, node); + } + if (isDefault && !defaultExportBinding) { + defaultExportBinding = factory2.createUniqueName("_default", 8 /* ReservedInNestedScopes */ | 32 /* FileLevel */ | 16 /* Optimistic */); + hoistBindingIdentifier( + defaultExportBinding, + /*isExport*/ + true, + "default", + node + ); + expression = factory2.createAssignment(defaultExportBinding, expression); + if (isNamedEvaluation(expression)) { + expression = transformNamedEvaluation( + context, + expression, + /*ignoreEmptyStringLiteral*/ + false, + "default" + ); + } + setOriginalNode(expression, node); + } + return factory2.createExpressionStatement(expression); + } + function hoistVariableStatement(node) { + let expressions; + const isExported = hasSyntacticModifier(node, 32 /* Export */); + for (const variable of node.declarationList.declarations) { + hoistBindingElement(variable, isExported, variable); + if (variable.initializer) { + expressions = append(expressions, hoistInitializedVariable(variable)); + } + } + if (expressions) { + const statement = factory2.createExpressionStatement(factory2.inlineExpressions(expressions)); + setOriginalNode(statement, node); + setCommentRange(statement, node); + setSourceMapRange(statement, node); + return statement; + } + return void 0; + } + function hoistInitializedVariable(node) { + Debug.assertIsDefined(node.initializer); + let target; + if (isIdentifier(node.name)) { + target = factory2.cloneNode(node.name); + setEmitFlags(target, getEmitFlags(target) & ~(32768 /* LocalName */ | 16384 /* ExportName */ | 65536 /* InternalName */)); + } else { + target = factory2.converters.convertToAssignmentPattern(node.name); + } + const assignment = factory2.createAssignment(target, node.initializer); + setOriginalNode(assignment, node); + setCommentRange(assignment, node); + setSourceMapRange(assignment, node); + return assignment; + } + function hoistBindingElement(node, isExportedDeclaration, original) { + if (isBindingPattern(node.name)) { + for (const element of node.name.elements) { + if (!isOmittedExpression(element)) { + hoistBindingElement(element, isExportedDeclaration, original); + } + } + } else { + hoistBindingIdentifier( + node.name, + isExportedDeclaration, + /*exportAlias*/ + void 0, + original + ); + } + } + function hoistBindingIdentifier(node, isExport, exportAlias, original) { + const name = isGeneratedIdentifier(node) ? node : factory2.cloneNode(node); + if (isExport) { + if (exportAlias === void 0 && !isLocalName(name)) { + const varDecl = factory2.createVariableDeclaration(name); + if (original) { + setOriginalNode(varDecl, original); + } + exportVars.push(varDecl); + return; + } + const localName = exportAlias !== void 0 ? name : void 0; + const exportName = exportAlias !== void 0 ? exportAlias : name; + const specifier = factory2.createExportSpecifier( + /*isTypeOnly*/ + false, + localName, + exportName + ); + if (original) { + setOriginalNode(specifier, original); + } + exportBindings.set(name, specifier); + } + hoistVariableDeclaration(name); + } + function createEnvBinding() { + return factory2.createUniqueName("env"); + } + function createDownlevelUsingStatements(bodyStatements, envBinding, async) { + const statements = []; + const envObject = factory2.createObjectLiteralExpression([ + factory2.createPropertyAssignment("stack", factory2.createArrayLiteralExpression()), + factory2.createPropertyAssignment("error", factory2.createVoidZero()), + factory2.createPropertyAssignment("hasError", factory2.createFalse()) + ]); + const envVar = factory2.createVariableDeclaration( + envBinding, + /*exclamationToken*/ + void 0, + /*type*/ + void 0, + envObject + ); + const envVarList = factory2.createVariableDeclarationList([envVar], 2 /* Const */); + const envVarStatement = factory2.createVariableStatement( + /*modifiers*/ + void 0, + envVarList + ); + statements.push(envVarStatement); + const tryBlock = factory2.createBlock( + bodyStatements, + /*multiLine*/ + true + ); + const bodyCatchBinding = factory2.createUniqueName("e"); + const catchClause = factory2.createCatchClause( + bodyCatchBinding, + factory2.createBlock( + [ + factory2.createExpressionStatement( + factory2.createAssignment( + factory2.createPropertyAccessExpression(envBinding, "error"), + bodyCatchBinding + ) + ), + factory2.createExpressionStatement( + factory2.createAssignment( + factory2.createPropertyAccessExpression(envBinding, "hasError"), + factory2.createTrue() + ) + ) + ], + /*multiLine*/ + true + ) + ); + let finallyBlock; + if (async) { + const result = factory2.createUniqueName("result"); + finallyBlock = factory2.createBlock( + [ + factory2.createVariableStatement( + /*modifiers*/ + void 0, + factory2.createVariableDeclarationList([ + factory2.createVariableDeclaration( + result, + /*exclamationToken*/ + void 0, + /*type*/ + void 0, + emitHelpers().createDisposeResourcesHelper(envBinding) + ) + ], 2 /* Const */) + ), + factory2.createIfStatement(result, factory2.createExpressionStatement(factory2.createAwaitExpression(result))) + ], + /*multiLine*/ + true + ); + } else { + finallyBlock = factory2.createBlock( + [ + factory2.createExpressionStatement( + emitHelpers().createDisposeResourcesHelper(envBinding) + ) + ], + /*multiLine*/ + true + ); + } + const tryStatement = factory2.createTryStatement(tryBlock, catchClause, finallyBlock); + statements.push(tryStatement); + return statements; + } +} +function countPrologueStatements(statements) { + for (let i = 0; i < statements.length; i++) { + if (!isPrologueDirective(statements[i]) && !isCustomPrologue(statements[i])) { + return i; + } + } + return 0; +} +function isUsingVariableDeclarationList(node) { + return isVariableDeclarationList(node) && getUsingKindOfVariableDeclarationList(node) !== 0 /* None */; +} +function getUsingKindOfVariableDeclarationList(node) { + return (node.flags & 7 /* BlockScoped */) === 6 /* AwaitUsing */ ? 2 /* Async */ : (node.flags & 7 /* BlockScoped */) === 4 /* Using */ ? 1 /* Sync */ : 0 /* None */; +} +function getUsingKindOfVariableStatement(node) { + return getUsingKindOfVariableDeclarationList(node.declarationList); +} +function getUsingKind(statement) { + return isVariableStatement(statement) ? getUsingKindOfVariableStatement(statement) : 0 /* None */; +} +function getUsingKindOfStatements(statements) { + let result = 0 /* None */; + for (const statement of statements) { + const usingKind = getUsingKind(statement); + if (usingKind === 2 /* Async */) return 2 /* Async */; + if (usingKind > result) result = usingKind; + } + return result; +} +function getUsingKindOfCaseOrDefaultClauses(clauses) { + let result = 0 /* None */; + for (const clause of clauses) { + const usingKind = getUsingKindOfStatements(clause.statements); + if (usingKind === 2 /* Async */) return 2 /* Async */; + if (usingKind > result) result = usingKind; + } + return result; +} + +// src/compiler/transformers/jsx.ts +function transformJsx(context) { + const { + factory: factory2, + getEmitHelperFactory: emitHelpers + } = context; + const compilerOptions = context.getCompilerOptions(); + let currentSourceFile; + let currentFileState; + return chainBundle(context, transformSourceFile); + function getCurrentFileNameExpression() { + if (currentFileState.filenameDeclaration) { + return currentFileState.filenameDeclaration.name; + } + const declaration = factory2.createVariableDeclaration( + factory2.createUniqueName("_jsxFileName", 16 /* Optimistic */ | 32 /* FileLevel */), + /*exclamationToken*/ + void 0, + /*type*/ + void 0, + factory2.createStringLiteral(currentSourceFile.fileName) + ); + currentFileState.filenameDeclaration = declaration; + return currentFileState.filenameDeclaration.name; + } + function getJsxFactoryCalleePrimitive(isStaticChildren) { + return compilerOptions.jsx === 5 /* ReactJSXDev */ ? "jsxDEV" : isStaticChildren ? "jsxs" : "jsx"; + } + function getJsxFactoryCallee(isStaticChildren) { + const type = getJsxFactoryCalleePrimitive(isStaticChildren); + return getImplicitImportForName(type); + } + function getImplicitJsxFragmentReference() { + return getImplicitImportForName("Fragment"); + } + function getImplicitImportForName(name) { + var _a, _b; + const importSource = name === "createElement" ? currentFileState.importSpecifier : getJSXRuntimeImport(currentFileState.importSpecifier, compilerOptions); + const existing = (_b = (_a = currentFileState.utilizedImplicitRuntimeImports) == null ? void 0 : _a.get(importSource)) == null ? void 0 : _b.get(name); + if (existing) { + return existing.name; + } + if (!currentFileState.utilizedImplicitRuntimeImports) { + currentFileState.utilizedImplicitRuntimeImports = /* @__PURE__ */ new Map(); + } + let specifierSourceImports = currentFileState.utilizedImplicitRuntimeImports.get(importSource); + if (!specifierSourceImports) { + specifierSourceImports = /* @__PURE__ */ new Map(); + currentFileState.utilizedImplicitRuntimeImports.set(importSource, specifierSourceImports); + } + const generatedName = factory2.createUniqueName(`_${name}`, 16 /* Optimistic */ | 32 /* FileLevel */ | 64 /* AllowNameSubstitution */); + const specifier = factory2.createImportSpecifier( + /*isTypeOnly*/ + false, + factory2.createIdentifier(name), + generatedName + ); + setIdentifierGeneratedImportReference(generatedName, specifier); + specifierSourceImports.set(name, specifier); + return generatedName; + } + function transformSourceFile(node) { + if (node.isDeclarationFile) { + return node; + } + currentSourceFile = node; + currentFileState = {}; + currentFileState.importSpecifier = getJSXImplicitImportBase(compilerOptions, node); + let visited = visitEachChild(node, visitor, context); + addEmitHelpers(visited, context.readEmitHelpers()); + let statements = visited.statements; + if (currentFileState.filenameDeclaration) { + statements = insertStatementAfterCustomPrologue(statements.slice(), factory2.createVariableStatement( + /*modifiers*/ + void 0, + factory2.createVariableDeclarationList([currentFileState.filenameDeclaration], 2 /* Const */) + )); + } + if (currentFileState.utilizedImplicitRuntimeImports) { + for (const [importSource, importSpecifiersMap] of arrayFrom(currentFileState.utilizedImplicitRuntimeImports.entries())) { + if (isExternalModule(node)) { + const importStatement = factory2.createImportDeclaration( + /*modifiers*/ + void 0, + factory2.createImportClause( + /*isTypeOnly*/ + false, + /*name*/ + void 0, + factory2.createNamedImports(arrayFrom(importSpecifiersMap.values())) + ), + factory2.createStringLiteral(importSource), + /*attributes*/ + void 0 + ); + setParentRecursive( + importStatement, + /*incremental*/ + false + ); + statements = insertStatementAfterCustomPrologue(statements.slice(), importStatement); + } else if (isExternalOrCommonJsModule(node)) { + const requireStatement = factory2.createVariableStatement( + /*modifiers*/ + void 0, + factory2.createVariableDeclarationList([ + factory2.createVariableDeclaration( + factory2.createObjectBindingPattern(arrayFrom(importSpecifiersMap.values(), (s) => factory2.createBindingElement( + /*dotDotDotToken*/ + void 0, + s.propertyName, + s.name + ))), + /*exclamationToken*/ + void 0, + /*type*/ + void 0, + factory2.createCallExpression( + factory2.createIdentifier("require"), + /*typeArguments*/ + void 0, + [factory2.createStringLiteral(importSource)] + ) + ) + ], 2 /* Const */) + ); + setParentRecursive( + requireStatement, + /*incremental*/ + false + ); + statements = insertStatementAfterCustomPrologue(statements.slice(), requireStatement); + } else { + } + } + } + if (statements !== visited.statements) { + visited = factory2.updateSourceFile(visited, statements); + } + currentFileState = void 0; + return visited; + } + function visitor(node) { + if (node.transformFlags & 2 /* ContainsJsx */) { + return visitorWorker(node); + } else { + return node; + } + } + function visitorWorker(node) { + switch (node.kind) { + case 284 /* JsxElement */: + return visitJsxElement( + node, + /*isChild*/ + false + ); + case 285 /* JsxSelfClosingElement */: + return visitJsxSelfClosingElement( + node, + /*isChild*/ + false + ); + case 288 /* JsxFragment */: + return visitJsxFragment( + node, + /*isChild*/ + false + ); + case 294 /* JsxExpression */: + return visitJsxExpression(node); + default: + return visitEachChild(node, visitor, context); + } + } + function transformJsxChildToExpression(node) { + switch (node.kind) { + case 12 /* JsxText */: + return visitJsxText(node); + case 294 /* JsxExpression */: + return visitJsxExpression(node); + case 284 /* JsxElement */: + return visitJsxElement( + node, + /*isChild*/ + true + ); + case 285 /* JsxSelfClosingElement */: + return visitJsxSelfClosingElement( + node, + /*isChild*/ + true + ); + case 288 /* JsxFragment */: + return visitJsxFragment( + node, + /*isChild*/ + true + ); + default: + return Debug.failBadSyntaxKind(node); + } + } + function hasProto(obj) { + return obj.properties.some( + (p) => isPropertyAssignment(p) && (isIdentifier(p.name) && idText(p.name) === "__proto__" || isStringLiteral(p.name) && p.name.text === "__proto__") + ); + } + function hasKeyAfterPropsSpread(node) { + let spread = false; + for (const elem of node.attributes.properties) { + if (isJsxSpreadAttribute(elem) && (!isObjectLiteralExpression(elem.expression) || elem.expression.properties.some(isSpreadAssignment))) { + spread = true; + } else if (spread && isJsxAttribute(elem) && isIdentifier(elem.name) && elem.name.escapedText === "key") { + return true; + } + } + return false; + } + function shouldUseCreateElement(node) { + return currentFileState.importSpecifier === void 0 || hasKeyAfterPropsSpread(node); + } + function visitJsxElement(node, isChild) { + const tagTransform = shouldUseCreateElement(node.openingElement) ? visitJsxOpeningLikeElementCreateElement : visitJsxOpeningLikeElementJSX; + return tagTransform( + node.openingElement, + node.children, + isChild, + /*location*/ + node + ); + } + function visitJsxSelfClosingElement(node, isChild) { + const tagTransform = shouldUseCreateElement(node) ? visitJsxOpeningLikeElementCreateElement : visitJsxOpeningLikeElementJSX; + return tagTransform( + node, + /*children*/ + void 0, + isChild, + /*location*/ + node + ); + } + function visitJsxFragment(node, isChild) { + const tagTransform = currentFileState.importSpecifier === void 0 ? visitJsxOpeningFragmentCreateElement : visitJsxOpeningFragmentJSX; + return tagTransform( + node.openingFragment, + node.children, + isChild, + /*location*/ + node + ); + } + function convertJsxChildrenToChildrenPropObject(children) { + const prop = convertJsxChildrenToChildrenPropAssignment(children); + return prop && factory2.createObjectLiteralExpression([prop]); + } + function convertJsxChildrenToChildrenPropAssignment(children) { + const nonWhitespaceChildren = getSemanticJsxChildren(children); + if (length(nonWhitespaceChildren) === 1 && !nonWhitespaceChildren[0].dotDotDotToken) { + const result2 = transformJsxChildToExpression(nonWhitespaceChildren[0]); + return result2 && factory2.createPropertyAssignment("children", result2); + } + const result = mapDefined(children, transformJsxChildToExpression); + return length(result) ? factory2.createPropertyAssignment("children", factory2.createArrayLiteralExpression(result)) : void 0; + } + function visitJsxOpeningLikeElementJSX(node, children, isChild, location) { + const tagName = getTagName(node); + const childrenProp = children && children.length ? convertJsxChildrenToChildrenPropAssignment(children) : void 0; + const keyAttr = find(node.attributes.properties, (p) => !!p.name && isIdentifier(p.name) && p.name.escapedText === "key"); + const attrs = keyAttr ? filter(node.attributes.properties, (p) => p !== keyAttr) : node.attributes.properties; + const objectProperties = length(attrs) ? transformJsxAttributesToObjectProps(attrs, childrenProp) : factory2.createObjectLiteralExpression(childrenProp ? [childrenProp] : emptyArray); + return visitJsxOpeningLikeElementOrFragmentJSX( + tagName, + objectProperties, + keyAttr, + children || emptyArray, + isChild, + location + ); + } + function visitJsxOpeningLikeElementOrFragmentJSX(tagName, objectProperties, keyAttr, children, isChild, location) { + var _a; + const nonWhitespaceChildren = getSemanticJsxChildren(children); + const isStaticChildren = length(nonWhitespaceChildren) > 1 || !!((_a = nonWhitespaceChildren[0]) == null ? void 0 : _a.dotDotDotToken); + const args = [tagName, objectProperties]; + if (keyAttr) { + args.push(transformJsxAttributeInitializer(keyAttr.initializer)); + } + if (compilerOptions.jsx === 5 /* ReactJSXDev */) { + const originalFile = getOriginalNode(currentSourceFile); + if (originalFile && isSourceFile(originalFile)) { + if (keyAttr === void 0) { + args.push(factory2.createVoidZero()); + } + args.push(isStaticChildren ? factory2.createTrue() : factory2.createFalse()); + const lineCol = getLineAndCharacterOfPosition(originalFile, location.pos); + args.push(factory2.createObjectLiteralExpression([ + factory2.createPropertyAssignment("fileName", getCurrentFileNameExpression()), + factory2.createPropertyAssignment("lineNumber", factory2.createNumericLiteral(lineCol.line + 1)), + factory2.createPropertyAssignment("columnNumber", factory2.createNumericLiteral(lineCol.character + 1)) + ])); + args.push(factory2.createThis()); + } + } + const element = setTextRange( + factory2.createCallExpression( + getJsxFactoryCallee(isStaticChildren), + /*typeArguments*/ + void 0, + args + ), + location + ); + if (isChild) { + startOnNewLine(element); + } + return element; + } + function visitJsxOpeningLikeElementCreateElement(node, children, isChild, location) { + const tagName = getTagName(node); + const attrs = node.attributes.properties; + const objectProperties = length(attrs) ? transformJsxAttributesToObjectProps(attrs) : factory2.createNull(); + const callee = currentFileState.importSpecifier === void 0 ? createJsxFactoryExpression( + factory2, + context.getEmitResolver().getJsxFactoryEntity(currentSourceFile), + compilerOptions.reactNamespace, + // TODO: GH#18217 + node + ) : getImplicitImportForName("createElement"); + const element = createExpressionForJsxElement( + factory2, + callee, + tagName, + objectProperties, + mapDefined(children, transformJsxChildToExpression), + location + ); + if (isChild) { + startOnNewLine(element); + } + return element; + } + function visitJsxOpeningFragmentJSX(_node, children, isChild, location) { + let childrenProps; + if (children && children.length) { + const result = convertJsxChildrenToChildrenPropObject(children); + if (result) { + childrenProps = result; + } + } + return visitJsxOpeningLikeElementOrFragmentJSX( + getImplicitJsxFragmentReference(), + childrenProps || factory2.createObjectLiteralExpression([]), + /*keyAttr*/ + void 0, + children, + isChild, + location + ); + } + function visitJsxOpeningFragmentCreateElement(node, children, isChild, location) { + const element = createExpressionForJsxFragment( + factory2, + context.getEmitResolver().getJsxFactoryEntity(currentSourceFile), + context.getEmitResolver().getJsxFragmentFactoryEntity(currentSourceFile), + compilerOptions.reactNamespace, + // TODO: GH#18217 + mapDefined(children, transformJsxChildToExpression), + node, + location + ); + if (isChild) { + startOnNewLine(element); + } + return element; + } + function transformJsxSpreadAttributeToProps(node) { + if (isObjectLiteralExpression(node.expression) && !hasProto(node.expression)) { + return sameMap(node.expression.properties, (p) => Debug.checkDefined(visitNode(p, visitor, isObjectLiteralElementLike))); + } + return factory2.createSpreadAssignment(Debug.checkDefined(visitNode(node.expression, visitor, isExpression))); + } + function transformJsxAttributesToObjectProps(attrs, children) { + const target = getEmitScriptTarget(compilerOptions); + return target && target >= 5 /* ES2018 */ ? factory2.createObjectLiteralExpression(transformJsxAttributesToProps(attrs, children)) : transformJsxAttributesToExpression(attrs, children); + } + function transformJsxAttributesToProps(attrs, children) { + const props = flatten(spanMap(attrs, isJsxSpreadAttribute, (attrs2, isSpread) => flatten(map(attrs2, (attr) => isSpread ? transformJsxSpreadAttributeToProps(attr) : transformJsxAttributeToObjectLiteralElement(attr))))); + if (children) { + props.push(children); + } + return props; + } + function transformJsxAttributesToExpression(attrs, children) { + const expressions = []; + let properties = []; + for (const attr of attrs) { + if (isJsxSpreadAttribute(attr)) { + if (isObjectLiteralExpression(attr.expression) && !hasProto(attr.expression)) { + for (const prop of attr.expression.properties) { + if (isSpreadAssignment(prop)) { + finishObjectLiteralIfNeeded(); + expressions.push(Debug.checkDefined(visitNode(prop.expression, visitor, isExpression))); + continue; + } + properties.push(Debug.checkDefined(visitNode(prop, visitor))); + } + continue; + } + finishObjectLiteralIfNeeded(); + expressions.push(Debug.checkDefined(visitNode(attr.expression, visitor, isExpression))); + continue; + } + properties.push(transformJsxAttributeToObjectLiteralElement(attr)); + } + if (children) { + properties.push(children); + } + finishObjectLiteralIfNeeded(); + if (expressions.length && !isObjectLiteralExpression(expressions[0])) { + expressions.unshift(factory2.createObjectLiteralExpression()); + } + return singleOrUndefined(expressions) || emitHelpers().createAssignHelper(expressions); + function finishObjectLiteralIfNeeded() { + if (properties.length) { + expressions.push(factory2.createObjectLiteralExpression(properties)); + properties = []; + } + } + } + function transformJsxAttributeToObjectLiteralElement(node) { + const name = getAttributeName(node); + const expression = transformJsxAttributeInitializer(node.initializer); + return factory2.createPropertyAssignment(name, expression); + } + function transformJsxAttributeInitializer(node) { + if (node === void 0) { + return factory2.createTrue(); + } + if (node.kind === 11 /* StringLiteral */) { + const singleQuote = node.singleQuote !== void 0 ? node.singleQuote : !isStringDoubleQuoted(node, currentSourceFile); + const literal = factory2.createStringLiteral(tryDecodeEntities(node.text) || node.text, singleQuote); + return setTextRange(literal, node); + } + if (node.kind === 294 /* JsxExpression */) { + if (node.expression === void 0) { + return factory2.createTrue(); + } + return Debug.checkDefined(visitNode(node.expression, visitor, isExpression)); + } + if (isJsxElement(node)) { + return visitJsxElement( + node, + /*isChild*/ + false + ); + } + if (isJsxSelfClosingElement(node)) { + return visitJsxSelfClosingElement( + node, + /*isChild*/ + false + ); + } + if (isJsxFragment(node)) { + return visitJsxFragment( + node, + /*isChild*/ + false + ); + } + return Debug.failBadSyntaxKind(node); + } + function visitJsxText(node) { + const fixed = fixupWhitespaceAndDecodeEntities(node.text); + return fixed === void 0 ? void 0 : factory2.createStringLiteral(fixed); + } + function fixupWhitespaceAndDecodeEntities(text) { + let acc; + let firstNonWhitespace = 0; + let lastNonWhitespace = -1; + for (let i = 0; i < text.length; i++) { + const c = text.charCodeAt(i); + if (isLineBreak(c)) { + if (firstNonWhitespace !== -1 && lastNonWhitespace !== -1) { + acc = addLineOfJsxText(acc, text.substr(firstNonWhitespace, lastNonWhitespace - firstNonWhitespace + 1)); + } + firstNonWhitespace = -1; + } else if (!isWhiteSpaceSingleLine(c)) { + lastNonWhitespace = i; + if (firstNonWhitespace === -1) { + firstNonWhitespace = i; + } + } + } + return firstNonWhitespace !== -1 ? addLineOfJsxText(acc, text.substr(firstNonWhitespace)) : acc; + } + function addLineOfJsxText(acc, trimmedLine) { + const decoded = decodeEntities(trimmedLine); + return acc === void 0 ? decoded : acc + " " + decoded; + } + function decodeEntities(text) { + return text.replace(/&((#((\d+)|x([\da-fA-F]+)))|(\w+));/g, (match, _all, _number, _digits, decimal, hex, word) => { + if (decimal) { + return utf16EncodeAsString(parseInt(decimal, 10)); + } else if (hex) { + return utf16EncodeAsString(parseInt(hex, 16)); + } else { + const ch = entities.get(word); + return ch ? utf16EncodeAsString(ch) : match; + } + }); + } + function tryDecodeEntities(text) { + const decoded = decodeEntities(text); + return decoded === text ? void 0 : decoded; + } + function getTagName(node) { + if (node.kind === 284 /* JsxElement */) { + return getTagName(node.openingElement); + } else { + const tagName = node.tagName; + if (isIdentifier(tagName) && isIntrinsicJsxName(tagName.escapedText)) { + return factory2.createStringLiteral(idText(tagName)); + } else if (isJsxNamespacedName(tagName)) { + return factory2.createStringLiteral(idText(tagName.namespace) + ":" + idText(tagName.name)); + } else { + return createExpressionFromEntityName(factory2, tagName); + } + } + } + function getAttributeName(node) { + const name = node.name; + if (isIdentifier(name)) { + const text = idText(name); + return /^[A-Z_]\w*$/i.test(text) ? name : factory2.createStringLiteral(text); + } + return factory2.createStringLiteral(idText(name.namespace) + ":" + idText(name.name)); + } + function visitJsxExpression(node) { + const expression = visitNode(node.expression, visitor, isExpression); + return node.dotDotDotToken ? factory2.createSpreadElement(expression) : expression; + } +} +var entities = new Map(Object.entries({ + 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 +})); + +// src/compiler/transformers/es2016.ts +function transformES2016(context) { + const { + factory: factory2, + hoistVariableDeclaration + } = context; + return chainBundle(context, transformSourceFile); + function transformSourceFile(node) { + if (node.isDeclarationFile) { + return node; + } + return visitEachChild(node, visitor, context); + } + function visitor(node) { + if ((node.transformFlags & 512 /* ContainsES2016 */) === 0) { + return node; + } + switch (node.kind) { + case 226 /* BinaryExpression */: + return visitBinaryExpression(node); + default: + return visitEachChild(node, visitor, context); + } + } + function visitBinaryExpression(node) { + switch (node.operatorToken.kind) { + case 68 /* AsteriskAsteriskEqualsToken */: + return visitExponentiationAssignmentExpression(node); + case 43 /* AsteriskAsteriskToken */: + return visitExponentiationExpression(node); + default: + return visitEachChild(node, visitor, context); + } + } + function visitExponentiationAssignmentExpression(node) { + let target; + let value; + const left = visitNode(node.left, visitor, isExpression); + const right = visitNode(node.right, visitor, isExpression); + if (isElementAccessExpression(left)) { + const expressionTemp = factory2.createTempVariable(hoistVariableDeclaration); + const argumentExpressionTemp = factory2.createTempVariable(hoistVariableDeclaration); + target = setTextRange( + factory2.createElementAccessExpression( + setTextRange(factory2.createAssignment(expressionTemp, left.expression), left.expression), + setTextRange(factory2.createAssignment(argumentExpressionTemp, left.argumentExpression), left.argumentExpression) + ), + left + ); + value = setTextRange( + factory2.createElementAccessExpression( + expressionTemp, + argumentExpressionTemp + ), + left + ); + } else if (isPropertyAccessExpression(left)) { + const expressionTemp = factory2.createTempVariable(hoistVariableDeclaration); + target = setTextRange( + factory2.createPropertyAccessExpression( + setTextRange(factory2.createAssignment(expressionTemp, left.expression), left.expression), + left.name + ), + left + ); + value = setTextRange( + factory2.createPropertyAccessExpression( + expressionTemp, + left.name + ), + left + ); + } else { + target = left; + value = left; + } + return setTextRange( + factory2.createAssignment( + target, + setTextRange(factory2.createGlobalMethodCall("Math", "pow", [value, right]), node) + ), + node + ); + } + function visitExponentiationExpression(node) { + const left = visitNode(node.left, visitor, isExpression); + const right = visitNode(node.right, visitor, isExpression); + return setTextRange(factory2.createGlobalMethodCall("Math", "pow", [left, right]), node); + } +} + +// src/compiler/transformers/es2015.ts +function createSpreadSegment(kind, expression) { + return { kind, expression }; +} +function transformES2015(context) { + const { + factory: factory2, + getEmitHelperFactory: emitHelpers, + startLexicalEnvironment, + resumeLexicalEnvironment, + endLexicalEnvironment, + hoistVariableDeclaration + } = context; + const compilerOptions = context.getCompilerOptions(); + const resolver = context.getEmitResolver(); + const previousOnSubstituteNode = context.onSubstituteNode; + const previousOnEmitNode = context.onEmitNode; + context.onEmitNode = onEmitNode; + context.onSubstituteNode = onSubstituteNode; + let currentSourceFile; + let currentText; + let hierarchyFacts; + let taggedTemplateStringDeclarations; + function recordTaggedTemplateString(temp) { + taggedTemplateStringDeclarations = append( + taggedTemplateStringDeclarations, + factory2.createVariableDeclaration(temp) + ); + } + let convertedLoopState; + let enabledSubstitutions = 0 /* None */; + return chainBundle(context, transformSourceFile); + function transformSourceFile(node) { + if (node.isDeclarationFile) { + return node; + } + currentSourceFile = node; + currentText = node.text; + const visited = visitSourceFile(node); + addEmitHelpers(visited, context.readEmitHelpers()); + currentSourceFile = void 0; + currentText = void 0; + taggedTemplateStringDeclarations = void 0; + hierarchyFacts = 0 /* None */; + return visited; + } + function enterSubtree(excludeFacts, includeFacts) { + const ancestorFacts = hierarchyFacts; + hierarchyFacts = (hierarchyFacts & ~excludeFacts | includeFacts) & 32767 /* AncestorFactsMask */; + return ancestorFacts; + } + function exitSubtree(ancestorFacts, excludeFacts, includeFacts) { + hierarchyFacts = (hierarchyFacts & ~excludeFacts | includeFacts) & -32768 /* SubtreeFactsMask */ | ancestorFacts; + } + function isReturnVoidStatementInConstructorWithCapturedSuper(node) { + return (hierarchyFacts & 8192 /* ConstructorWithSuperCall */) !== 0 && node.kind === 253 /* ReturnStatement */ && !node.expression; + } + function isOrMayContainReturnCompletion(node) { + return node.transformFlags & 4194304 /* ContainsHoistedDeclarationOrCompletion */ && (isReturnStatement(node) || isIfStatement(node) || isWithStatement(node) || isSwitchStatement(node) || isCaseBlock(node) || isCaseClause(node) || isDefaultClause(node) || isTryStatement(node) || isCatchClause(node) || isLabeledStatement(node) || isIterationStatement( + node, + /*lookInLabeledStatements*/ + false + ) || isBlock(node)); + } + function shouldVisitNode(node) { + return (node.transformFlags & 1024 /* ContainsES2015 */) !== 0 || convertedLoopState !== void 0 || hierarchyFacts & 8192 /* ConstructorWithSuperCall */ && isOrMayContainReturnCompletion(node) || isIterationStatement( + node, + /*lookInLabeledStatements*/ + false + ) && shouldConvertIterationStatement(node) || (getInternalEmitFlags(node) & 1 /* TypeScriptClassWrapper */) !== 0; + } + function visitor(node) { + return shouldVisitNode(node) ? visitorWorker( + node, + /*expressionResultIsUnused*/ + false + ) : node; + } + function visitorWithUnusedExpressionResult(node) { + return shouldVisitNode(node) ? visitorWorker( + node, + /*expressionResultIsUnused*/ + true + ) : node; + } + function classWrapperStatementVisitor(node) { + if (shouldVisitNode(node)) { + const original = getOriginalNode(node); + if (isPropertyDeclaration(original) && hasStaticModifier(original)) { + const ancestorFacts = enterSubtree( + 32670 /* StaticInitializerExcludes */, + 16449 /* StaticInitializerIncludes */ + ); + const result = visitorWorker( + node, + /*expressionResultIsUnused*/ + false + ); + exitSubtree(ancestorFacts, 229376 /* FunctionSubtreeExcludes */, 0 /* None */); + return result; + } + return visitorWorker( + node, + /*expressionResultIsUnused*/ + false + ); + } + return node; + } + function callExpressionVisitor(node) { + if (node.kind === 108 /* SuperKeyword */) { + return visitSuperKeyword( + node, + /*isExpressionOfCall*/ + true + ); + } + return visitor(node); + } + function visitorWorker(node, expressionResultIsUnused2) { + switch (node.kind) { + case 126 /* StaticKeyword */: + return void 0; + // elide static keyword + case 263 /* ClassDeclaration */: + return visitClassDeclaration(node); + case 231 /* ClassExpression */: + return visitClassExpression(node); + case 169 /* Parameter */: + return visitParameter(node); + case 262 /* FunctionDeclaration */: + return visitFunctionDeclaration(node); + case 219 /* ArrowFunction */: + return visitArrowFunction(node); + case 218 /* FunctionExpression */: + return visitFunctionExpression(node); + case 260 /* VariableDeclaration */: + return visitVariableDeclaration(node); + case 80 /* Identifier */: + return visitIdentifier(node); + case 261 /* VariableDeclarationList */: + return visitVariableDeclarationList(node); + case 255 /* SwitchStatement */: + return visitSwitchStatement(node); + case 269 /* CaseBlock */: + return visitCaseBlock(node); + case 241 /* Block */: + return visitBlock( + node, + /*isFunctionBody*/ + false + ); + case 252 /* BreakStatement */: + case 251 /* ContinueStatement */: + return visitBreakOrContinueStatement(node); + case 256 /* LabeledStatement */: + return visitLabeledStatement(node); + case 246 /* DoStatement */: + case 247 /* WhileStatement */: + return visitDoOrWhileStatement( + node, + /*outermostLabeledStatement*/ + void 0 + ); + case 248 /* ForStatement */: + return visitForStatement( + node, + /*outermostLabeledStatement*/ + void 0 + ); + case 249 /* ForInStatement */: + return visitForInStatement( + node, + /*outermostLabeledStatement*/ + void 0 + ); + case 250 /* ForOfStatement */: + return visitForOfStatement( + node, + /*outermostLabeledStatement*/ + void 0 + ); + case 244 /* ExpressionStatement */: + return visitExpressionStatement(node); + case 210 /* ObjectLiteralExpression */: + return visitObjectLiteralExpression(node); + case 299 /* CatchClause */: + return visitCatchClause(node); + case 304 /* ShorthandPropertyAssignment */: + return visitShorthandPropertyAssignment(node); + case 167 /* ComputedPropertyName */: + return visitComputedPropertyName(node); + case 209 /* ArrayLiteralExpression */: + return visitArrayLiteralExpression(node); + case 213 /* CallExpression */: + return visitCallExpression(node); + case 214 /* NewExpression */: + return visitNewExpression(node); + case 217 /* ParenthesizedExpression */: + return visitParenthesizedExpression(node, expressionResultIsUnused2); + case 226 /* BinaryExpression */: + return visitBinaryExpression(node, expressionResultIsUnused2); + case 356 /* CommaListExpression */: + return visitCommaListExpression(node, expressionResultIsUnused2); + case 15 /* NoSubstitutionTemplateLiteral */: + case 16 /* TemplateHead */: + case 17 /* TemplateMiddle */: + case 18 /* TemplateTail */: + return visitTemplateLiteral(node); + case 11 /* StringLiteral */: + return visitStringLiteral(node); + case 9 /* NumericLiteral */: + return visitNumericLiteral(node); + case 215 /* TaggedTemplateExpression */: + return visitTaggedTemplateExpression(node); + case 228 /* TemplateExpression */: + return visitTemplateExpression(node); + case 229 /* YieldExpression */: + return visitYieldExpression(node); + case 230 /* SpreadElement */: + return visitSpreadElement(node); + case 108 /* SuperKeyword */: + return visitSuperKeyword( + node, + /*isExpressionOfCall*/ + false + ); + case 110 /* ThisKeyword */: + return visitThisKeyword(node); + case 236 /* MetaProperty */: + return visitMetaProperty(node); + case 174 /* MethodDeclaration */: + return visitMethodDeclaration(node); + case 177 /* GetAccessor */: + case 178 /* SetAccessor */: + return visitAccessorDeclaration(node); + case 243 /* VariableStatement */: + return visitVariableStatement(node); + case 253 /* ReturnStatement */: + return visitReturnStatement(node); + case 222 /* VoidExpression */: + return visitVoidExpression(node); + default: + return visitEachChild(node, visitor, context); + } + } + function visitSourceFile(node) { + const ancestorFacts = enterSubtree(8064 /* SourceFileExcludes */, 64 /* SourceFileIncludes */); + const prologue = []; + const statements = []; + startLexicalEnvironment(); + const statementOffset = factory2.copyPrologue( + node.statements, + prologue, + /*ensureUseStrict*/ + false, + visitor + ); + addRange(statements, visitNodes2(node.statements, visitor, isStatement, statementOffset)); + if (taggedTemplateStringDeclarations) { + statements.push( + factory2.createVariableStatement( + /*modifiers*/ + void 0, + factory2.createVariableDeclarationList(taggedTemplateStringDeclarations) + ) + ); + } + factory2.mergeLexicalEnvironment(prologue, endLexicalEnvironment()); + insertCaptureThisForNodeIfNeeded(prologue, node); + exitSubtree(ancestorFacts, 0 /* None */, 0 /* None */); + return factory2.updateSourceFile( + node, + setTextRange(factory2.createNodeArray(concatenate(prologue, statements)), node.statements) + ); + } + function visitSwitchStatement(node) { + if (convertedLoopState !== void 0) { + const savedAllowedNonLabeledJumps = convertedLoopState.allowedNonLabeledJumps; + convertedLoopState.allowedNonLabeledJumps |= 2 /* Break */; + const result = visitEachChild(node, visitor, context); + convertedLoopState.allowedNonLabeledJumps = savedAllowedNonLabeledJumps; + return result; + } + return visitEachChild(node, visitor, context); + } + function visitCaseBlock(node) { + const ancestorFacts = enterSubtree(7104 /* BlockScopeExcludes */, 0 /* BlockScopeIncludes */); + const updated = visitEachChild(node, visitor, context); + exitSubtree(ancestorFacts, 0 /* None */, 0 /* None */); + return updated; + } + function returnCapturedThis(node) { + return setOriginalNode(factory2.createReturnStatement(createCapturedThis()), node); + } + function createCapturedThis() { + return factory2.createUniqueName("_this", 16 /* Optimistic */ | 32 /* FileLevel */); + } + function visitReturnStatement(node) { + if (convertedLoopState) { + convertedLoopState.nonLocalJumps |= 8 /* Return */; + if (isReturnVoidStatementInConstructorWithCapturedSuper(node)) { + node = returnCapturedThis(node); + } + return factory2.createReturnStatement( + factory2.createObjectLiteralExpression( + [ + factory2.createPropertyAssignment( + factory2.createIdentifier("value"), + node.expression ? Debug.checkDefined(visitNode(node.expression, visitor, isExpression)) : factory2.createVoidZero() + ) + ] + ) + ); + } else if (isReturnVoidStatementInConstructorWithCapturedSuper(node)) { + return returnCapturedThis(node); + } + return visitEachChild(node, visitor, context); + } + function visitThisKeyword(node) { + hierarchyFacts |= 65536 /* LexicalThis */; + if (hierarchyFacts & 2 /* ArrowFunction */ && !(hierarchyFacts & 16384 /* StaticInitializer */)) { + hierarchyFacts |= 131072 /* CapturedLexicalThis */; + } + if (convertedLoopState) { + if (hierarchyFacts & 2 /* ArrowFunction */) { + convertedLoopState.containsLexicalThis = true; + return node; + } + return convertedLoopState.thisName || (convertedLoopState.thisName = factory2.createUniqueName("this")); + } + return node; + } + function visitVoidExpression(node) { + return visitEachChild(node, visitorWithUnusedExpressionResult, context); + } + function visitIdentifier(node) { + if (convertedLoopState) { + if (resolver.isArgumentsLocalBinding(node)) { + return convertedLoopState.argumentsName || (convertedLoopState.argumentsName = factory2.createUniqueName("arguments")); + } + } + if (node.flags & 256 /* IdentifierHasExtendedUnicodeEscape */) { + return setOriginalNode( + setTextRange( + factory2.createIdentifier(unescapeLeadingUnderscores(node.escapedText)), + node + ), + node + ); + } + return node; + } + function visitBreakOrContinueStatement(node) { + if (convertedLoopState) { + const jump = node.kind === 252 /* BreakStatement */ ? 2 /* Break */ : 4 /* Continue */; + const canUseBreakOrContinue = node.label && convertedLoopState.labels && convertedLoopState.labels.get(idText(node.label)) || !node.label && convertedLoopState.allowedNonLabeledJumps & jump; + if (!canUseBreakOrContinue) { + let labelMarker; + const label = node.label; + if (!label) { + if (node.kind === 252 /* BreakStatement */) { + convertedLoopState.nonLocalJumps |= 2 /* Break */; + labelMarker = "break"; + } else { + convertedLoopState.nonLocalJumps |= 4 /* Continue */; + labelMarker = "continue"; + } + } else { + if (node.kind === 252 /* BreakStatement */) { + labelMarker = `break-${label.escapedText}`; + setLabeledJump( + convertedLoopState, + /*isBreak*/ + true, + idText(label), + labelMarker + ); + } else { + labelMarker = `continue-${label.escapedText}`; + setLabeledJump( + convertedLoopState, + /*isBreak*/ + false, + idText(label), + labelMarker + ); + } + } + let returnExpression = factory2.createStringLiteral(labelMarker); + if (convertedLoopState.loopOutParameters.length) { + const outParams = convertedLoopState.loopOutParameters; + let expr; + for (let i = 0; i < outParams.length; i++) { + const copyExpr = copyOutParameter(outParams[i], 1 /* ToOutParameter */); + if (i === 0) { + expr = copyExpr; + } else { + expr = factory2.createBinaryExpression(expr, 28 /* CommaToken */, copyExpr); + } + } + returnExpression = factory2.createBinaryExpression(expr, 28 /* CommaToken */, returnExpression); + } + return factory2.createReturnStatement(returnExpression); + } + } + return visitEachChild(node, visitor, context); + } + function visitClassDeclaration(node) { + const variable = factory2.createVariableDeclaration( + factory2.getLocalName( + node, + /*allowComments*/ + true + ), + /*exclamationToken*/ + void 0, + /*type*/ + void 0, + transformClassLikeDeclarationToExpression(node) + ); + setOriginalNode(variable, node); + const statements = []; + const statement = factory2.createVariableStatement( + /*modifiers*/ + void 0, + factory2.createVariableDeclarationList([variable]) + ); + setOriginalNode(statement, node); + setTextRange(statement, node); + startOnNewLine(statement); + statements.push(statement); + if (hasSyntacticModifier(node, 32 /* Export */)) { + const exportStatement = hasSyntacticModifier(node, 2048 /* Default */) ? factory2.createExportDefault(factory2.getLocalName(node)) : factory2.createExternalModuleExport(factory2.getLocalName(node)); + setOriginalNode(exportStatement, statement); + statements.push(exportStatement); + } + return singleOrMany(statements); + } + function visitClassExpression(node) { + return transformClassLikeDeclarationToExpression(node); + } + function transformClassLikeDeclarationToExpression(node) { + if (node.name) { + enableSubstitutionsForBlockScopedBindings(); + } + const extendsClauseElement = getClassExtendsHeritageElement(node); + const classFunction = factory2.createFunctionExpression( + /*modifiers*/ + void 0, + /*asteriskToken*/ + void 0, + /*name*/ + void 0, + /*typeParameters*/ + void 0, + extendsClauseElement ? [factory2.createParameterDeclaration( + /*modifiers*/ + void 0, + /*dotDotDotToken*/ + void 0, + createSyntheticSuper() + )] : [], + /*type*/ + void 0, + transformClassBody(node, extendsClauseElement) + ); + setEmitFlags(classFunction, getEmitFlags(node) & 131072 /* Indented */ | 1048576 /* ReuseTempVariableScope */); + const inner = factory2.createPartiallyEmittedExpression(classFunction); + setTextRangeEnd(inner, node.end); + setEmitFlags(inner, 3072 /* NoComments */); + const outer = factory2.createPartiallyEmittedExpression(inner); + setTextRangeEnd(outer, skipTrivia(currentText, node.pos)); + setEmitFlags(outer, 3072 /* NoComments */); + const result = factory2.createParenthesizedExpression( + factory2.createCallExpression( + outer, + /*typeArguments*/ + void 0, + extendsClauseElement ? [Debug.checkDefined(visitNode(extendsClauseElement.expression, visitor, isExpression))] : [] + ) + ); + addSyntheticLeadingComment(result, 3 /* MultiLineCommentTrivia */, "* @class "); + return result; + } + function transformClassBody(node, extendsClauseElement) { + const statements = []; + const name = factory2.getInternalName(node); + const constructorLikeName = isIdentifierANonContextualKeyword(name) ? factory2.getGeneratedNameForNode(name) : name; + startLexicalEnvironment(); + addExtendsHelperIfNeeded(statements, node, extendsClauseElement); + addConstructor(statements, node, constructorLikeName, extendsClauseElement); + addClassMembers(statements, node); + const closingBraceLocation = createTokenRange(skipTrivia(currentText, node.members.end), 20 /* CloseBraceToken */); + const outer = factory2.createPartiallyEmittedExpression(constructorLikeName); + setTextRangeEnd(outer, closingBraceLocation.end); + setEmitFlags(outer, 3072 /* NoComments */); + const statement = factory2.createReturnStatement(outer); + setTextRangePos(statement, closingBraceLocation.pos); + setEmitFlags(statement, 3072 /* NoComments */ | 768 /* NoTokenSourceMaps */); + statements.push(statement); + insertStatementsAfterStandardPrologue(statements, endLexicalEnvironment()); + const block = factory2.createBlock( + setTextRange( + factory2.createNodeArray(statements), + /*location*/ + node.members + ), + /*multiLine*/ + true + ); + setEmitFlags(block, 3072 /* NoComments */); + return block; + } + function addExtendsHelperIfNeeded(statements, node, extendsClauseElement) { + if (extendsClauseElement) { + statements.push( + setTextRange( + factory2.createExpressionStatement( + emitHelpers().createExtendsHelper(factory2.getInternalName(node)) + ), + /*location*/ + extendsClauseElement + ) + ); + } + } + function addConstructor(statements, node, name, extendsClauseElement) { + const savedConvertedLoopState = convertedLoopState; + convertedLoopState = void 0; + const ancestorFacts = enterSubtree(32662 /* ConstructorExcludes */, 73 /* ConstructorIncludes */); + const constructor = getFirstConstructorWithBody(node); + const hasSynthesizedSuper = hasSynthesizedDefaultSuperCall(constructor, extendsClauseElement !== void 0); + const constructorFunction = factory2.createFunctionDeclaration( + /*modifiers*/ + void 0, + /*asteriskToken*/ + void 0, + name, + /*typeParameters*/ + void 0, + transformConstructorParameters(constructor, hasSynthesizedSuper), + /*type*/ + void 0, + transformConstructorBody(constructor, node, extendsClauseElement, hasSynthesizedSuper) + ); + setTextRange(constructorFunction, constructor || node); + if (extendsClauseElement) { + setEmitFlags(constructorFunction, 16 /* CapturesThis */); + } + statements.push(constructorFunction); + exitSubtree(ancestorFacts, 229376 /* FunctionSubtreeExcludes */, 0 /* None */); + convertedLoopState = savedConvertedLoopState; + } + function transformConstructorParameters(constructor, hasSynthesizedSuper) { + return visitParameterList(constructor && !hasSynthesizedSuper ? constructor.parameters : void 0, visitor, context) || []; + } + function createDefaultConstructorBody(node, isDerivedClass) { + const statements = []; + resumeLexicalEnvironment(); + factory2.mergeLexicalEnvironment(statements, endLexicalEnvironment()); + if (isDerivedClass) { + statements.push(factory2.createReturnStatement(createDefaultSuperCallOrThis())); + } + const statementsArray = factory2.createNodeArray(statements); + setTextRange(statementsArray, node.members); + const block = factory2.createBlock( + statementsArray, + /*multiLine*/ + true + ); + setTextRange(block, node); + setEmitFlags(block, 3072 /* NoComments */); + return block; + } + function isUninitializedVariableStatement(node) { + return isVariableStatement(node) && every(node.declarationList.declarations, (decl) => isIdentifier(decl.name) && !decl.initializer); + } + function containsSuperCall(node) { + if (isSuperCall(node)) { + return true; + } + if (!(node.transformFlags & 134217728 /* ContainsLexicalSuper */)) { + return false; + } + switch (node.kind) { + // stop at function boundaries + case 219 /* ArrowFunction */: + case 218 /* FunctionExpression */: + case 262 /* FunctionDeclaration */: + case 176 /* Constructor */: + case 175 /* ClassStaticBlockDeclaration */: + return false; + // only step into computed property names for class and object literal elements + case 177 /* GetAccessor */: + case 178 /* SetAccessor */: + case 174 /* MethodDeclaration */: + case 172 /* PropertyDeclaration */: { + const named = node; + if (isComputedPropertyName(named.name)) { + return !!forEachChild(named.name, containsSuperCall); + } + return false; + } + } + return !!forEachChild(node, containsSuperCall); + } + function transformConstructorBody(constructor, node, extendsClauseElement, hasSynthesizedSuper) { + const isDerivedClass = !!extendsClauseElement && skipOuterExpressions(extendsClauseElement.expression).kind !== 106 /* NullKeyword */; + if (!constructor) return createDefaultConstructorBody(node, isDerivedClass); + const prologue = []; + const statements = []; + resumeLexicalEnvironment(); + const standardPrologueEnd = factory2.copyStandardPrologue( + constructor.body.statements, + prologue, + /*statementOffset*/ + 0 + ); + if (hasSynthesizedSuper || containsSuperCall(constructor.body)) { + hierarchyFacts |= 8192 /* ConstructorWithSuperCall */; + } + addRange(statements, visitNodes2(constructor.body.statements, visitor, isStatement, standardPrologueEnd)); + const mayReplaceThis = isDerivedClass || hierarchyFacts & 8192 /* ConstructorWithSuperCall */; + addDefaultValueAssignmentsIfNeeded2(prologue, constructor); + addRestParameterIfNeeded(prologue, constructor, hasSynthesizedSuper); + insertCaptureNewTargetIfNeeded(prologue, constructor); + if (mayReplaceThis) { + insertCaptureThisForNode(prologue, constructor, createActualThis()); + } else { + insertCaptureThisForNodeIfNeeded(prologue, constructor); + } + factory2.mergeLexicalEnvironment(prologue, endLexicalEnvironment()); + if (mayReplaceThis && !isSufficientlyCoveredByReturnStatements(constructor.body)) { + statements.push(factory2.createReturnStatement(createCapturedThis())); + } + const body = factory2.createBlock( + setTextRange( + factory2.createNodeArray( + [ + ...prologue, + ...statements + ] + ), + /*location*/ + constructor.body.statements + ), + /*multiLine*/ + true + ); + setTextRange(body, constructor.body); + return simplifyConstructor(body, constructor.body, hasSynthesizedSuper); + } + function isCapturedThis(node) { + return isGeneratedIdentifier(node) && idText(node) === "_this"; + } + function isSyntheticSuper(node) { + return isGeneratedIdentifier(node) && idText(node) === "_super"; + } + function isThisCapturingVariableStatement(node) { + return isVariableStatement(node) && node.declarationList.declarations.length === 1 && isThisCapturingVariableDeclaration(node.declarationList.declarations[0]); + } + function isThisCapturingVariableDeclaration(node) { + return isVariableDeclaration(node) && isCapturedThis(node.name) && !!node.initializer; + } + function isThisCapturingAssignment(node) { + return isAssignmentExpression( + node, + /*excludeCompoundAssignment*/ + true + ) && isCapturedThis(node.left); + } + function isTransformedSuperCall(node) { + return isCallExpression(node) && isPropertyAccessExpression(node.expression) && isSyntheticSuper(node.expression.expression) && isIdentifier(node.expression.name) && (idText(node.expression.name) === "call" || idText(node.expression.name) === "apply") && node.arguments.length >= 1 && node.arguments[0].kind === 110 /* ThisKeyword */; + } + function isTransformedSuperCallWithFallback(node) { + return isBinaryExpression(node) && node.operatorToken.kind === 57 /* BarBarToken */ && node.right.kind === 110 /* ThisKeyword */ && isTransformedSuperCall(node.left); + } + function isImplicitSuperCall(node) { + return isBinaryExpression(node) && node.operatorToken.kind === 56 /* AmpersandAmpersandToken */ && isBinaryExpression(node.left) && node.left.operatorToken.kind === 38 /* ExclamationEqualsEqualsToken */ && isSyntheticSuper(node.left.left) && node.left.right.kind === 106 /* NullKeyword */ && isTransformedSuperCall(node.right) && idText(node.right.expression.name) === "apply"; + } + function isImplicitSuperCallWithFallback(node) { + return isBinaryExpression(node) && node.operatorToken.kind === 57 /* BarBarToken */ && node.right.kind === 110 /* ThisKeyword */ && isImplicitSuperCall(node.left); + } + function isThisCapturingTransformedSuperCallWithFallback(node) { + return isThisCapturingAssignment(node) && isTransformedSuperCallWithFallback(node.right); + } + function isThisCapturingImplicitSuperCallWithFallback(node) { + return isThisCapturingAssignment(node) && isImplicitSuperCallWithFallback(node.right); + } + function isTransformedSuperCallLike(node) { + return isTransformedSuperCall(node) || isTransformedSuperCallWithFallback(node) || isThisCapturingTransformedSuperCallWithFallback(node) || isImplicitSuperCall(node) || isImplicitSuperCallWithFallback(node) || isThisCapturingImplicitSuperCallWithFallback(node); + } + function simplifyConstructorInlineSuperInThisCaptureVariable(body) { + for (let i = 0; i < body.statements.length - 1; i++) { + const statement = body.statements[i]; + if (!isThisCapturingVariableStatement(statement)) { + continue; + } + const varDecl = statement.declarationList.declarations[0]; + if (varDecl.initializer.kind !== 110 /* ThisKeyword */) { + continue; + } + const thisCaptureStatementIndex = i; + let superCallIndex = i + 1; + while (superCallIndex < body.statements.length) { + const statement2 = body.statements[superCallIndex]; + if (isExpressionStatement(statement2)) { + if (isTransformedSuperCallLike(skipOuterExpressions(statement2.expression))) { + break; + } + } + if (isUninitializedVariableStatement(statement2)) { + superCallIndex++; + continue; + } + return body; + } + const following = body.statements[superCallIndex]; + let expression = following.expression; + if (isThisCapturingAssignment(expression)) { + expression = expression.right; + } + const newVarDecl = factory2.updateVariableDeclaration( + varDecl, + varDecl.name, + /*exclamationToken*/ + void 0, + /*type*/ + void 0, + expression + ); + const newDeclList = factory2.updateVariableDeclarationList(statement.declarationList, [newVarDecl]); + const newVarStatement = factory2.createVariableStatement(statement.modifiers, newDeclList); + setOriginalNode(newVarStatement, following); + setTextRange(newVarStatement, following); + const newStatements = factory2.createNodeArray([ + ...body.statements.slice(0, thisCaptureStatementIndex), + // copy statements preceding to `var _this` + ...body.statements.slice(thisCaptureStatementIndex + 1, superCallIndex), + // copy intervening temp variables + newVarStatement, + ...body.statements.slice(superCallIndex + 1) + // copy statements following `super.call(this, ...)` + ]); + setTextRange(newStatements, body.statements); + return factory2.updateBlock(body, newStatements); + } + return body; + } + function simplifyConstructorInlineSuperReturn(body, original) { + for (const statement of original.statements) { + if (statement.transformFlags & 134217728 /* ContainsLexicalSuper */ && !getSuperCallFromStatement(statement)) { + return body; + } + } + const canElideThisCapturingVariable = !(original.transformFlags & 16384 /* ContainsLexicalThis */) && !(hierarchyFacts & 65536 /* LexicalThis */) && !(hierarchyFacts & 131072 /* CapturedLexicalThis */); + for (let i = body.statements.length - 1; i > 0; i--) { + const statement = body.statements[i]; + if (isReturnStatement(statement) && statement.expression && isCapturedThis(statement.expression)) { + const preceding = body.statements[i - 1]; + let expression; + if (isExpressionStatement(preceding) && isThisCapturingTransformedSuperCallWithFallback(skipOuterExpressions(preceding.expression))) { + expression = preceding.expression; + } else if (canElideThisCapturingVariable && isThisCapturingVariableStatement(preceding)) { + const varDecl = preceding.declarationList.declarations[0]; + if (isTransformedSuperCallLike(skipOuterExpressions(varDecl.initializer))) { + expression = factory2.createAssignment( + createCapturedThis(), + varDecl.initializer + ); + } + } + if (!expression) { + break; + } + const newReturnStatement = factory2.createReturnStatement(expression); + setOriginalNode(newReturnStatement, preceding); + setTextRange(newReturnStatement, preceding); + const newStatements = factory2.createNodeArray([ + ...body.statements.slice(0, i - 1), + // copy all statements preceding `_super.call(this, ...)` + newReturnStatement, + ...body.statements.slice(i + 1) + // copy all statements following `return _this;` + ]); + setTextRange(newStatements, body.statements); + return factory2.updateBlock(body, newStatements); + } + } + return body; + } + function elideUnusedThisCaptureWorker(node) { + if (isThisCapturingVariableStatement(node)) { + const varDecl = node.declarationList.declarations[0]; + if (varDecl.initializer.kind === 110 /* ThisKeyword */) { + return void 0; + } + } else if (isThisCapturingAssignment(node)) { + return factory2.createPartiallyEmittedExpression(node.right, node); + } + switch (node.kind) { + // stop at function boundaries + case 219 /* ArrowFunction */: + case 218 /* FunctionExpression */: + case 262 /* FunctionDeclaration */: + case 176 /* Constructor */: + case 175 /* ClassStaticBlockDeclaration */: + return node; + // only step into computed property names for class and object literal elements + case 177 /* GetAccessor */: + case 178 /* SetAccessor */: + case 174 /* MethodDeclaration */: + case 172 /* PropertyDeclaration */: { + const named = node; + if (isComputedPropertyName(named.name)) { + return factory2.replacePropertyName(named, visitEachChild( + named.name, + elideUnusedThisCaptureWorker, + /*context*/ + void 0 + )); + } + return node; + } + } + return visitEachChild( + node, + elideUnusedThisCaptureWorker, + /*context*/ + void 0 + ); + } + function simplifyConstructorElideUnusedThisCapture(body, original) { + if (original.transformFlags & 16384 /* ContainsLexicalThis */ || hierarchyFacts & 65536 /* LexicalThis */ || hierarchyFacts & 131072 /* CapturedLexicalThis */) { + return body; + } + for (const statement of original.statements) { + if (statement.transformFlags & 134217728 /* ContainsLexicalSuper */ && !getSuperCallFromStatement(statement)) { + return body; + } + } + return factory2.updateBlock(body, visitNodes2(body.statements, elideUnusedThisCaptureWorker, isStatement)); + } + function injectSuperPresenceCheckWorker(node) { + if (isTransformedSuperCall(node) && node.arguments.length === 2 && isIdentifier(node.arguments[1]) && idText(node.arguments[1]) === "arguments") { + return factory2.createLogicalAnd( + factory2.createStrictInequality( + createSyntheticSuper(), + factory2.createNull() + ), + node + ); + } + switch (node.kind) { + // stop at function boundaries + case 219 /* ArrowFunction */: + case 218 /* FunctionExpression */: + case 262 /* FunctionDeclaration */: + case 176 /* Constructor */: + case 175 /* ClassStaticBlockDeclaration */: + return node; + // only step into computed property names for class and object literal elements + case 177 /* GetAccessor */: + case 178 /* SetAccessor */: + case 174 /* MethodDeclaration */: + case 172 /* PropertyDeclaration */: { + const named = node; + if (isComputedPropertyName(named.name)) { + return factory2.replacePropertyName(named, visitEachChild( + named.name, + injectSuperPresenceCheckWorker, + /*context*/ + void 0 + )); + } + return node; + } + } + return visitEachChild( + node, + injectSuperPresenceCheckWorker, + /*context*/ + void 0 + ); + } + function complicateConstructorInjectSuperPresenceCheck(body) { + return factory2.updateBlock(body, visitNodes2(body.statements, injectSuperPresenceCheckWorker, isStatement)); + } + function simplifyConstructor(body, original, hasSynthesizedSuper) { + const inputBody = body; + body = simplifyConstructorInlineSuperInThisCaptureVariable(body); + body = simplifyConstructorInlineSuperReturn(body, original); + if (body !== inputBody) { + body = simplifyConstructorElideUnusedThisCapture(body, original); + } + if (hasSynthesizedSuper) { + body = complicateConstructorInjectSuperPresenceCheck(body); + } + return body; + } + function isSufficientlyCoveredByReturnStatements(statement) { + if (statement.kind === 253 /* ReturnStatement */) { + return true; + } else if (statement.kind === 245 /* IfStatement */) { + const ifStatement = statement; + if (ifStatement.elseStatement) { + return isSufficientlyCoveredByReturnStatements(ifStatement.thenStatement) && isSufficientlyCoveredByReturnStatements(ifStatement.elseStatement); + } + } else if (statement.kind === 241 /* Block */) { + const lastStatement = lastOrUndefined(statement.statements); + if (lastStatement && isSufficientlyCoveredByReturnStatements(lastStatement)) { + return true; + } + } + return false; + } + function createActualThis() { + return setEmitFlags(factory2.createThis(), 8 /* NoSubstitution */); + } + function createDefaultSuperCallOrThis() { + return factory2.createLogicalOr( + factory2.createLogicalAnd( + factory2.createStrictInequality( + createSyntheticSuper(), + factory2.createNull() + ), + factory2.createFunctionApplyCall( + createSyntheticSuper(), + createActualThis(), + factory2.createIdentifier("arguments") + ) + ), + createActualThis() + ); + } + function visitParameter(node) { + if (node.dotDotDotToken) { + return void 0; + } else if (isBindingPattern(node.name)) { + return setOriginalNode( + setTextRange( + factory2.createParameterDeclaration( + /*modifiers*/ + void 0, + /*dotDotDotToken*/ + void 0, + factory2.getGeneratedNameForNode(node), + /*questionToken*/ + void 0, + /*type*/ + void 0, + /*initializer*/ + void 0 + ), + /*location*/ + node + ), + /*original*/ + node + ); + } else if (node.initializer) { + return setOriginalNode( + setTextRange( + factory2.createParameterDeclaration( + /*modifiers*/ + void 0, + /*dotDotDotToken*/ + void 0, + node.name, + /*questionToken*/ + void 0, + /*type*/ + void 0, + /*initializer*/ + void 0 + ), + /*location*/ + node + ), + /*original*/ + node + ); + } else { + return node; + } + } + function hasDefaultValueOrBindingPattern(node) { + return node.initializer !== void 0 || isBindingPattern(node.name); + } + function addDefaultValueAssignmentsIfNeeded2(statements, node) { + if (!some(node.parameters, hasDefaultValueOrBindingPattern)) { + return false; + } + let added = false; + for (const parameter of node.parameters) { + const { name, initializer, dotDotDotToken } = parameter; + if (dotDotDotToken) { + continue; + } + if (isBindingPattern(name)) { + added = insertDefaultValueAssignmentForBindingPattern(statements, parameter, name, initializer) || added; + } else if (initializer) { + insertDefaultValueAssignmentForInitializer(statements, parameter, name, initializer); + added = true; + } + } + return added; + } + function insertDefaultValueAssignmentForBindingPattern(statements, parameter, name, initializer) { + if (name.elements.length > 0) { + insertStatementAfterCustomPrologue( + statements, + setEmitFlags( + factory2.createVariableStatement( + /*modifiers*/ + void 0, + factory2.createVariableDeclarationList( + flattenDestructuringBinding( + parameter, + visitor, + context, + 0 /* All */, + factory2.getGeneratedNameForNode(parameter) + ) + ) + ), + 2097152 /* CustomPrologue */ + ) + ); + return true; + } else if (initializer) { + insertStatementAfterCustomPrologue( + statements, + setEmitFlags( + factory2.createExpressionStatement( + factory2.createAssignment( + factory2.getGeneratedNameForNode(parameter), + Debug.checkDefined(visitNode(initializer, visitor, isExpression)) + ) + ), + 2097152 /* CustomPrologue */ + ) + ); + return true; + } + return false; + } + function insertDefaultValueAssignmentForInitializer(statements, parameter, name, initializer) { + initializer = Debug.checkDefined(visitNode(initializer, visitor, isExpression)); + const statement = factory2.createIfStatement( + factory2.createTypeCheck(factory2.cloneNode(name), "undefined"), + setEmitFlags( + setTextRange( + factory2.createBlock([ + factory2.createExpressionStatement( + setEmitFlags( + setTextRange( + factory2.createAssignment( + // TODO(rbuckton): Does this need to be parented? + setEmitFlags(setParent(setTextRange(factory2.cloneNode(name), name), name.parent), 96 /* NoSourceMap */), + setEmitFlags(initializer, 96 /* NoSourceMap */ | getEmitFlags(initializer) | 3072 /* NoComments */) + ), + parameter + ), + 3072 /* NoComments */ + ) + ) + ]), + parameter + ), + 1 /* SingleLine */ | 64 /* NoTrailingSourceMap */ | 768 /* NoTokenSourceMaps */ | 3072 /* NoComments */ + ) + ); + startOnNewLine(statement); + setTextRange(statement, parameter); + setEmitFlags(statement, 768 /* NoTokenSourceMaps */ | 64 /* NoTrailingSourceMap */ | 2097152 /* CustomPrologue */ | 3072 /* NoComments */); + insertStatementAfterCustomPrologue(statements, statement); + } + function shouldAddRestParameter(node, inConstructorWithSynthesizedSuper) { + return !!(node && node.dotDotDotToken && !inConstructorWithSynthesizedSuper); + } + function addRestParameterIfNeeded(statements, node, inConstructorWithSynthesizedSuper) { + const prologueStatements = []; + const parameter = lastOrUndefined(node.parameters); + if (!shouldAddRestParameter(parameter, inConstructorWithSynthesizedSuper)) { + return false; + } + const declarationName = parameter.name.kind === 80 /* Identifier */ ? setParent(setTextRange(factory2.cloneNode(parameter.name), parameter.name), parameter.name.parent) : factory2.createTempVariable( + /*recordTempVariable*/ + void 0 + ); + setEmitFlags(declarationName, 96 /* NoSourceMap */); + const expressionName = parameter.name.kind === 80 /* Identifier */ ? factory2.cloneNode(parameter.name) : declarationName; + const restIndex = node.parameters.length - 1; + const temp = factory2.createLoopVariable(); + prologueStatements.push( + setEmitFlags( + setTextRange( + factory2.createVariableStatement( + /*modifiers*/ + void 0, + factory2.createVariableDeclarationList([ + factory2.createVariableDeclaration( + declarationName, + /*exclamationToken*/ + void 0, + /*type*/ + void 0, + factory2.createArrayLiteralExpression([]) + ) + ]) + ), + /*location*/ + parameter + ), + 2097152 /* CustomPrologue */ + ) + ); + const forStatement = factory2.createForStatement( + setTextRange( + factory2.createVariableDeclarationList([ + factory2.createVariableDeclaration( + temp, + /*exclamationToken*/ + void 0, + /*type*/ + void 0, + factory2.createNumericLiteral(restIndex) + ) + ]), + parameter + ), + setTextRange( + factory2.createLessThan( + temp, + factory2.createPropertyAccessExpression(factory2.createIdentifier("arguments"), "length") + ), + parameter + ), + setTextRange(factory2.createPostfixIncrement(temp), parameter), + factory2.createBlock([ + startOnNewLine( + setTextRange( + factory2.createExpressionStatement( + factory2.createAssignment( + factory2.createElementAccessExpression( + expressionName, + restIndex === 0 ? temp : factory2.createSubtract(temp, factory2.createNumericLiteral(restIndex)) + ), + factory2.createElementAccessExpression(factory2.createIdentifier("arguments"), temp) + ) + ), + /*location*/ + parameter + ) + ) + ]) + ); + setEmitFlags(forStatement, 2097152 /* CustomPrologue */); + startOnNewLine(forStatement); + prologueStatements.push(forStatement); + if (parameter.name.kind !== 80 /* Identifier */) { + prologueStatements.push( + setEmitFlags( + setTextRange( + factory2.createVariableStatement( + /*modifiers*/ + void 0, + factory2.createVariableDeclarationList( + flattenDestructuringBinding(parameter, visitor, context, 0 /* All */, expressionName) + ) + ), + parameter + ), + 2097152 /* CustomPrologue */ + ) + ); + } + insertStatementsAfterCustomPrologue(statements, prologueStatements); + return true; + } + function insertCaptureThisForNodeIfNeeded(statements, node) { + if (hierarchyFacts & 131072 /* CapturedLexicalThis */ && node.kind !== 219 /* ArrowFunction */) { + insertCaptureThisForNode(statements, node, factory2.createThis()); + return true; + } + return false; + } + function insertCaptureThisForNode(statements, node, initializer) { + enableSubstitutionsForCapturedThis(); + const captureThisStatement = factory2.createVariableStatement( + /*modifiers*/ + void 0, + factory2.createVariableDeclarationList([ + factory2.createVariableDeclaration( + createCapturedThis(), + /*exclamationToken*/ + void 0, + /*type*/ + void 0, + initializer + ) + ]) + ); + setEmitFlags(captureThisStatement, 3072 /* NoComments */ | 2097152 /* CustomPrologue */); + setSourceMapRange(captureThisStatement, node); + insertStatementAfterCustomPrologue(statements, captureThisStatement); + } + function insertCaptureNewTargetIfNeeded(statements, node) { + if (hierarchyFacts & 32768 /* NewTarget */) { + let newTarget; + switch (node.kind) { + case 219 /* ArrowFunction */: + return statements; + case 174 /* MethodDeclaration */: + case 177 /* GetAccessor */: + case 178 /* SetAccessor */: + newTarget = factory2.createVoidZero(); + break; + case 176 /* Constructor */: + newTarget = factory2.createPropertyAccessExpression( + setEmitFlags(factory2.createThis(), 8 /* NoSubstitution */), + "constructor" + ); + break; + case 262 /* FunctionDeclaration */: + case 218 /* FunctionExpression */: + newTarget = factory2.createConditionalExpression( + factory2.createLogicalAnd( + setEmitFlags(factory2.createThis(), 8 /* NoSubstitution */), + factory2.createBinaryExpression( + setEmitFlags(factory2.createThis(), 8 /* NoSubstitution */), + 104 /* InstanceOfKeyword */, + factory2.getLocalName(node) + ) + ), + /*questionToken*/ + void 0, + factory2.createPropertyAccessExpression( + setEmitFlags(factory2.createThis(), 8 /* NoSubstitution */), + "constructor" + ), + /*colonToken*/ + void 0, + factory2.createVoidZero() + ); + break; + default: + return Debug.failBadSyntaxKind(node); + } + const captureNewTargetStatement = factory2.createVariableStatement( + /*modifiers*/ + void 0, + factory2.createVariableDeclarationList([ + factory2.createVariableDeclaration( + factory2.createUniqueName("_newTarget", 16 /* Optimistic */ | 32 /* FileLevel */), + /*exclamationToken*/ + void 0, + /*type*/ + void 0, + newTarget + ) + ]) + ); + setEmitFlags(captureNewTargetStatement, 3072 /* NoComments */ | 2097152 /* CustomPrologue */); + insertStatementAfterCustomPrologue(statements, captureNewTargetStatement); + } + return statements; + } + function addClassMembers(statements, node) { + for (const member of node.members) { + switch (member.kind) { + case 240 /* SemicolonClassElement */: + statements.push(transformSemicolonClassElementToStatement(member)); + break; + case 174 /* MethodDeclaration */: + statements.push(transformClassMethodDeclarationToStatement(getClassMemberPrefix(node, member), member, node)); + break; + case 177 /* GetAccessor */: + case 178 /* SetAccessor */: + const accessors = getAllAccessorDeclarations(node.members, member); + if (member === accessors.firstAccessor) { + statements.push(transformAccessorsToStatement(getClassMemberPrefix(node, member), accessors, node)); + } + break; + case 176 /* Constructor */: + case 175 /* ClassStaticBlockDeclaration */: + break; + default: + Debug.failBadSyntaxKind(member, currentSourceFile && currentSourceFile.fileName); + break; + } + } + } + function transformSemicolonClassElementToStatement(member) { + return setTextRange(factory2.createEmptyStatement(), member); + } + function transformClassMethodDeclarationToStatement(receiver, member, container) { + const commentRange = getCommentRange(member); + const sourceMapRange = getSourceMapRange(member); + const memberFunction = transformFunctionLikeToExpression( + member, + /*location*/ + member, + /*name*/ + void 0, + container + ); + const propertyName = visitNode(member.name, visitor, isPropertyName); + Debug.assert(propertyName); + let e; + if (!isPrivateIdentifier(propertyName) && getUseDefineForClassFields(context.getCompilerOptions())) { + const name = isComputedPropertyName(propertyName) ? propertyName.expression : isIdentifier(propertyName) ? factory2.createStringLiteral(unescapeLeadingUnderscores(propertyName.escapedText)) : propertyName; + e = factory2.createObjectDefinePropertyCall(receiver, name, factory2.createPropertyDescriptor({ value: memberFunction, enumerable: false, writable: true, configurable: true })); + } else { + const memberName = createMemberAccessForPropertyName( + factory2, + receiver, + propertyName, + /*location*/ + member.name + ); + e = factory2.createAssignment(memberName, memberFunction); + } + setEmitFlags(memberFunction, 3072 /* NoComments */); + setSourceMapRange(memberFunction, sourceMapRange); + const statement = setTextRange( + factory2.createExpressionStatement(e), + /*location*/ + member + ); + setOriginalNode(statement, member); + setCommentRange(statement, commentRange); + setEmitFlags(statement, 96 /* NoSourceMap */); + return statement; + } + function transformAccessorsToStatement(receiver, accessors, container) { + const statement = factory2.createExpressionStatement(transformAccessorsToExpression( + receiver, + accessors, + container, + /*startsOnNewLine*/ + false + )); + setEmitFlags(statement, 3072 /* NoComments */); + setSourceMapRange(statement, getSourceMapRange(accessors.firstAccessor)); + return statement; + } + function transformAccessorsToExpression(receiver, { firstAccessor, getAccessor, setAccessor }, container, startsOnNewLine) { + const target = setParent(setTextRange(factory2.cloneNode(receiver), receiver), receiver.parent); + setEmitFlags(target, 3072 /* NoComments */ | 64 /* NoTrailingSourceMap */); + setSourceMapRange(target, firstAccessor.name); + const visitedAccessorName = visitNode(firstAccessor.name, visitor, isPropertyName); + Debug.assert(visitedAccessorName); + if (isPrivateIdentifier(visitedAccessorName)) { + return Debug.failBadSyntaxKind(visitedAccessorName, "Encountered unhandled private identifier while transforming ES2015."); + } + const propertyName = createExpressionForPropertyName(factory2, visitedAccessorName); + setEmitFlags(propertyName, 3072 /* NoComments */ | 32 /* NoLeadingSourceMap */); + setSourceMapRange(propertyName, firstAccessor.name); + const properties = []; + if (getAccessor) { + const getterFunction = transformFunctionLikeToExpression( + getAccessor, + /*location*/ + void 0, + /*name*/ + void 0, + container + ); + setSourceMapRange(getterFunction, getSourceMapRange(getAccessor)); + setEmitFlags(getterFunction, 1024 /* NoLeadingComments */); + const getter = factory2.createPropertyAssignment("get", getterFunction); + setCommentRange(getter, getCommentRange(getAccessor)); + properties.push(getter); + } + if (setAccessor) { + const setterFunction = transformFunctionLikeToExpression( + setAccessor, + /*location*/ + void 0, + /*name*/ + void 0, + container + ); + setSourceMapRange(setterFunction, getSourceMapRange(setAccessor)); + setEmitFlags(setterFunction, 1024 /* NoLeadingComments */); + const setter = factory2.createPropertyAssignment("set", setterFunction); + setCommentRange(setter, getCommentRange(setAccessor)); + properties.push(setter); + } + properties.push( + factory2.createPropertyAssignment("enumerable", getAccessor || setAccessor ? factory2.createFalse() : factory2.createTrue()), + factory2.createPropertyAssignment("configurable", factory2.createTrue()) + ); + const call = factory2.createCallExpression( + factory2.createPropertyAccessExpression(factory2.createIdentifier("Object"), "defineProperty"), + /*typeArguments*/ + void 0, + [ + target, + propertyName, + factory2.createObjectLiteralExpression( + properties, + /*multiLine*/ + true + ) + ] + ); + if (startsOnNewLine) { + startOnNewLine(call); + } + return call; + } + function visitArrowFunction(node) { + if (node.transformFlags & 16384 /* ContainsLexicalThis */ && !(hierarchyFacts & 16384 /* StaticInitializer */)) { + hierarchyFacts |= 131072 /* CapturedLexicalThis */; + } + const savedConvertedLoopState = convertedLoopState; + convertedLoopState = void 0; + const ancestorFacts = enterSubtree(15232 /* ArrowFunctionExcludes */, 66 /* ArrowFunctionIncludes */); + const func = factory2.createFunctionExpression( + /*modifiers*/ + void 0, + /*asteriskToken*/ + void 0, + /*name*/ + void 0, + /*typeParameters*/ + void 0, + visitParameterList(node.parameters, visitor, context), + /*type*/ + void 0, + transformFunctionBody(node) + ); + setTextRange(func, node); + setOriginalNode(func, node); + setEmitFlags(func, 16 /* CapturesThis */); + exitSubtree(ancestorFacts, 0 /* ArrowFunctionSubtreeExcludes */, 0 /* None */); + convertedLoopState = savedConvertedLoopState; + return func; + } + function visitFunctionExpression(node) { + const ancestorFacts = getEmitFlags(node) & 524288 /* AsyncFunctionBody */ ? enterSubtree(32662 /* AsyncFunctionBodyExcludes */, 69 /* AsyncFunctionBodyIncludes */) : enterSubtree(32670 /* FunctionExcludes */, 65 /* FunctionIncludes */); + const savedConvertedLoopState = convertedLoopState; + convertedLoopState = void 0; + const parameters = visitParameterList(node.parameters, visitor, context); + const body = transformFunctionBody(node); + const name = hierarchyFacts & 32768 /* NewTarget */ ? factory2.getLocalName(node) : node.name; + exitSubtree(ancestorFacts, 229376 /* FunctionSubtreeExcludes */, 0 /* None */); + convertedLoopState = savedConvertedLoopState; + return factory2.updateFunctionExpression( + node, + /*modifiers*/ + void 0, + node.asteriskToken, + name, + /*typeParameters*/ + void 0, + parameters, + /*type*/ + void 0, + body + ); + } + function visitFunctionDeclaration(node) { + const savedConvertedLoopState = convertedLoopState; + convertedLoopState = void 0; + const ancestorFacts = enterSubtree(32670 /* FunctionExcludes */, 65 /* FunctionIncludes */); + const parameters = visitParameterList(node.parameters, visitor, context); + const body = transformFunctionBody(node); + const name = hierarchyFacts & 32768 /* NewTarget */ ? factory2.getLocalName(node) : node.name; + exitSubtree(ancestorFacts, 229376 /* FunctionSubtreeExcludes */, 0 /* None */); + convertedLoopState = savedConvertedLoopState; + return factory2.updateFunctionDeclaration( + node, + visitNodes2(node.modifiers, visitor, isModifier), + node.asteriskToken, + name, + /*typeParameters*/ + void 0, + parameters, + /*type*/ + void 0, + body + ); + } + function transformFunctionLikeToExpression(node, location, name, container) { + const savedConvertedLoopState = convertedLoopState; + convertedLoopState = void 0; + const ancestorFacts = container && isClassLike(container) && !isStatic(node) ? enterSubtree(32670 /* FunctionExcludes */, 65 /* FunctionIncludes */ | 8 /* NonStaticClassElement */) : enterSubtree(32670 /* FunctionExcludes */, 65 /* FunctionIncludes */); + const parameters = visitParameterList(node.parameters, visitor, context); + const body = transformFunctionBody(node); + if (hierarchyFacts & 32768 /* NewTarget */ && !name && (node.kind === 262 /* FunctionDeclaration */ || node.kind === 218 /* FunctionExpression */)) { + name = factory2.getGeneratedNameForNode(node); + } + exitSubtree(ancestorFacts, 229376 /* FunctionSubtreeExcludes */, 0 /* None */); + convertedLoopState = savedConvertedLoopState; + return setOriginalNode( + setTextRange( + factory2.createFunctionExpression( + /*modifiers*/ + void 0, + node.asteriskToken, + name, + /*typeParameters*/ + void 0, + parameters, + /*type*/ + void 0, + body + ), + location + ), + /*original*/ + node + ); + } + function transformFunctionBody(node) { + let multiLine = false; + let singleLine = false; + let statementsLocation; + let closeBraceLocation; + const prologue = []; + const statements = []; + const body = node.body; + let statementOffset; + resumeLexicalEnvironment(); + if (isBlock(body)) { + statementOffset = factory2.copyStandardPrologue( + body.statements, + prologue, + 0, + /*ensureUseStrict*/ + false + ); + statementOffset = factory2.copyCustomPrologue(body.statements, statements, statementOffset, visitor, isHoistedFunction); + statementOffset = factory2.copyCustomPrologue(body.statements, statements, statementOffset, visitor, isHoistedVariableStatement); + } + multiLine = addDefaultValueAssignmentsIfNeeded2(statements, node) || multiLine; + multiLine = addRestParameterIfNeeded( + statements, + node, + /*inConstructorWithSynthesizedSuper*/ + false + ) || multiLine; + if (isBlock(body)) { + statementOffset = factory2.copyCustomPrologue(body.statements, statements, statementOffset, visitor); + statementsLocation = body.statements; + addRange(statements, visitNodes2(body.statements, visitor, isStatement, statementOffset)); + if (!multiLine && body.multiLine) { + multiLine = true; + } + } else { + Debug.assert(node.kind === 219 /* ArrowFunction */); + statementsLocation = moveRangeEnd(body, -1); + const equalsGreaterThanToken = node.equalsGreaterThanToken; + if (!nodeIsSynthesized(equalsGreaterThanToken) && !nodeIsSynthesized(body)) { + if (rangeEndIsOnSameLineAsRangeStart(equalsGreaterThanToken, body, currentSourceFile)) { + singleLine = true; + } else { + multiLine = true; + } + } + const expression = visitNode(body, visitor, isExpression); + const returnStatement = factory2.createReturnStatement(expression); + setTextRange(returnStatement, body); + moveSyntheticComments(returnStatement, body); + setEmitFlags(returnStatement, 768 /* NoTokenSourceMaps */ | 64 /* NoTrailingSourceMap */ | 2048 /* NoTrailingComments */); + statements.push(returnStatement); + closeBraceLocation = body; + } + factory2.mergeLexicalEnvironment(prologue, endLexicalEnvironment()); + insertCaptureNewTargetIfNeeded(prologue, node); + insertCaptureThisForNodeIfNeeded(prologue, node); + if (some(prologue)) { + multiLine = true; + } + statements.unshift(...prologue); + if (isBlock(body) && arrayIsEqualTo(statements, body.statements)) { + return body; + } + const block = factory2.createBlock(setTextRange(factory2.createNodeArray(statements), statementsLocation), multiLine); + setTextRange(block, node.body); + if (!multiLine && singleLine) { + setEmitFlags(block, 1 /* SingleLine */); + } + if (closeBraceLocation) { + setTokenSourceMapRange(block, 20 /* CloseBraceToken */, closeBraceLocation); + } + setOriginalNode(block, node.body); + return block; + } + function visitBlock(node, isFunctionBody) { + if (isFunctionBody) { + return visitEachChild(node, visitor, context); + } + const ancestorFacts = hierarchyFacts & 256 /* IterationStatement */ ? enterSubtree(7104 /* IterationStatementBlockExcludes */, 512 /* IterationStatementBlockIncludes */) : enterSubtree(6976 /* BlockExcludes */, 128 /* BlockIncludes */); + const updated = visitEachChild(node, visitor, context); + exitSubtree(ancestorFacts, 0 /* None */, 0 /* None */); + return updated; + } + function visitExpressionStatement(node) { + return visitEachChild(node, visitorWithUnusedExpressionResult, context); + } + function visitParenthesizedExpression(node, expressionResultIsUnused2) { + return visitEachChild(node, expressionResultIsUnused2 ? visitorWithUnusedExpressionResult : visitor, context); + } + function visitBinaryExpression(node, expressionResultIsUnused2) { + if (isDestructuringAssignment(node)) { + return flattenDestructuringAssignment( + node, + visitor, + context, + 0 /* All */, + !expressionResultIsUnused2 + ); + } + if (node.operatorToken.kind === 28 /* CommaToken */) { + return factory2.updateBinaryExpression( + node, + Debug.checkDefined(visitNode(node.left, visitorWithUnusedExpressionResult, isExpression)), + node.operatorToken, + Debug.checkDefined(visitNode(node.right, expressionResultIsUnused2 ? visitorWithUnusedExpressionResult : visitor, isExpression)) + ); + } + return visitEachChild(node, visitor, context); + } + function visitCommaListExpression(node, expressionResultIsUnused2) { + if (expressionResultIsUnused2) { + return visitEachChild(node, visitorWithUnusedExpressionResult, context); + } + let result; + for (let i = 0; i < node.elements.length; i++) { + const element = node.elements[i]; + const visited = visitNode(element, i < node.elements.length - 1 ? visitorWithUnusedExpressionResult : visitor, isExpression); + if (result || visited !== element) { + result || (result = node.elements.slice(0, i)); + Debug.assert(visited); + result.push(visited); + } + } + const elements = result ? setTextRange(factory2.createNodeArray(result), node.elements) : node.elements; + return factory2.updateCommaListExpression(node, elements); + } + function isVariableStatementOfTypeScriptClassWrapper(node) { + return node.declarationList.declarations.length === 1 && !!node.declarationList.declarations[0].initializer && !!(getInternalEmitFlags(node.declarationList.declarations[0].initializer) & 1 /* TypeScriptClassWrapper */); + } + function visitVariableStatement(node) { + const ancestorFacts = enterSubtree(0 /* None */, hasSyntacticModifier(node, 32 /* Export */) ? 32 /* ExportedVariableStatement */ : 0 /* None */); + let updated; + if (convertedLoopState && (node.declarationList.flags & 7 /* BlockScoped */) === 0 && !isVariableStatementOfTypeScriptClassWrapper(node)) { + let assignments; + for (const decl of node.declarationList.declarations) { + hoistVariableDeclarationDeclaredInConvertedLoop(convertedLoopState, decl); + if (decl.initializer) { + let assignment; + if (isBindingPattern(decl.name)) { + assignment = flattenDestructuringAssignment( + decl, + visitor, + context, + 0 /* All */ + ); + } else { + assignment = factory2.createBinaryExpression(decl.name, 64 /* EqualsToken */, Debug.checkDefined(visitNode(decl.initializer, visitor, isExpression))); + setTextRange(assignment, decl); + } + assignments = append(assignments, assignment); + } + } + if (assignments) { + updated = setTextRange(factory2.createExpressionStatement(factory2.inlineExpressions(assignments)), node); + } else { + updated = void 0; + } + } else { + updated = visitEachChild(node, visitor, context); + } + exitSubtree(ancestorFacts, 0 /* None */, 0 /* None */); + return updated; + } + function visitVariableDeclarationList(node) { + if (node.flags & 7 /* BlockScoped */ || node.transformFlags & 524288 /* ContainsBindingPattern */) { + if (node.flags & 7 /* BlockScoped */) { + enableSubstitutionsForBlockScopedBindings(); + } + const declarations = visitNodes2( + node.declarations, + node.flags & 1 /* Let */ ? visitVariableDeclarationInLetDeclarationList : visitVariableDeclaration, + isVariableDeclaration + ); + const declarationList = factory2.createVariableDeclarationList(declarations); + setOriginalNode(declarationList, node); + setTextRange(declarationList, node); + setCommentRange(declarationList, node); + if (node.transformFlags & 524288 /* ContainsBindingPattern */ && (isBindingPattern(node.declarations[0].name) || isBindingPattern(last(node.declarations).name))) { + setSourceMapRange(declarationList, getRangeUnion(declarations)); + } + return declarationList; + } + return visitEachChild(node, visitor, context); + } + function getRangeUnion(declarations) { + let pos = -1, end = -1; + for (const node of declarations) { + pos = pos === -1 ? node.pos : node.pos === -1 ? pos : Math.min(pos, node.pos); + end = Math.max(end, node.end); + } + return createRange(pos, end); + } + function shouldEmitExplicitInitializerForLetDeclaration(node) { + const isCapturedInFunction = resolver.hasNodeCheckFlag(node, 16384 /* CapturedBlockScopedBinding */); + const isDeclaredInLoop = resolver.hasNodeCheckFlag(node, 32768 /* BlockScopedBindingInLoop */); + const emittedAsTopLevel = (hierarchyFacts & 64 /* TopLevel */) !== 0 || isCapturedInFunction && isDeclaredInLoop && (hierarchyFacts & 512 /* IterationStatementBlock */) !== 0; + const emitExplicitInitializer = !emittedAsTopLevel && (hierarchyFacts & 4096 /* ForInOrForOfStatement */) === 0 && (!resolver.isDeclarationWithCollidingName(node) || isDeclaredInLoop && !isCapturedInFunction && (hierarchyFacts & (2048 /* ForStatement */ | 4096 /* ForInOrForOfStatement */)) === 0); + return emitExplicitInitializer; + } + function visitVariableDeclarationInLetDeclarationList(node) { + const name = node.name; + if (isBindingPattern(name)) { + return visitVariableDeclaration(node); + } + if (!node.initializer && shouldEmitExplicitInitializerForLetDeclaration(node)) { + return factory2.updateVariableDeclaration( + node, + node.name, + /*exclamationToken*/ + void 0, + /*type*/ + void 0, + factory2.createVoidZero() + ); + } + return visitEachChild(node, visitor, context); + } + function visitVariableDeclaration(node) { + const ancestorFacts = enterSubtree(32 /* ExportedVariableStatement */, 0 /* None */); + let updated; + if (isBindingPattern(node.name)) { + updated = flattenDestructuringBinding( + node, + visitor, + context, + 0 /* All */, + /*rval*/ + void 0, + (ancestorFacts & 32 /* ExportedVariableStatement */) !== 0 + ); + } else { + updated = visitEachChild(node, visitor, context); + } + exitSubtree(ancestorFacts, 0 /* None */, 0 /* None */); + return updated; + } + function recordLabel(node) { + convertedLoopState.labels.set(idText(node.label), true); + } + function resetLabel(node) { + convertedLoopState.labels.set(idText(node.label), false); + } + function visitLabeledStatement(node) { + if (convertedLoopState && !convertedLoopState.labels) { + convertedLoopState.labels = /* @__PURE__ */ new Map(); + } + const statement = unwrapInnermostStatementOfLabel(node, convertedLoopState && recordLabel); + return isIterationStatement( + statement, + /*lookInLabeledStatements*/ + false + ) ? visitIterationStatement( + statement, + /*outermostLabeledStatement*/ + node + ) : factory2.restoreEnclosingLabel(visitNode(statement, visitor, isStatement, factory2.liftToBlock) ?? setTextRange(factory2.createEmptyStatement(), statement), node, convertedLoopState && resetLabel); + } + function visitIterationStatement(node, outermostLabeledStatement) { + switch (node.kind) { + case 246 /* DoStatement */: + case 247 /* WhileStatement */: + return visitDoOrWhileStatement(node, outermostLabeledStatement); + case 248 /* ForStatement */: + return visitForStatement(node, outermostLabeledStatement); + case 249 /* ForInStatement */: + return visitForInStatement(node, outermostLabeledStatement); + case 250 /* ForOfStatement */: + return visitForOfStatement(node, outermostLabeledStatement); + } + } + function visitIterationStatementWithFacts(excludeFacts, includeFacts, node, outermostLabeledStatement, convert) { + const ancestorFacts = enterSubtree(excludeFacts, includeFacts); + const updated = convertIterationStatementBodyIfNecessary(node, outermostLabeledStatement, ancestorFacts, convert); + exitSubtree(ancestorFacts, 0 /* None */, 0 /* None */); + return updated; + } + function visitDoOrWhileStatement(node, outermostLabeledStatement) { + return visitIterationStatementWithFacts( + 0 /* DoOrWhileStatementExcludes */, + 1280 /* DoOrWhileStatementIncludes */, + node, + outermostLabeledStatement + ); + } + function visitForStatement(node, outermostLabeledStatement) { + return visitIterationStatementWithFacts( + 5056 /* ForStatementExcludes */, + 3328 /* ForStatementIncludes */, + node, + outermostLabeledStatement + ); + } + function visitEachChildOfForStatement2(node) { + return factory2.updateForStatement( + node, + visitNode(node.initializer, visitorWithUnusedExpressionResult, isForInitializer), + visitNode(node.condition, visitor, isExpression), + visitNode(node.incrementor, visitorWithUnusedExpressionResult, isExpression), + Debug.checkDefined(visitNode(node.statement, visitor, isStatement, factory2.liftToBlock)) + ); + } + function visitForInStatement(node, outermostLabeledStatement) { + return visitIterationStatementWithFacts( + 3008 /* ForInOrForOfStatementExcludes */, + 5376 /* ForInOrForOfStatementIncludes */, + node, + outermostLabeledStatement + ); + } + function visitForOfStatement(node, outermostLabeledStatement) { + return visitIterationStatementWithFacts( + 3008 /* ForInOrForOfStatementExcludes */, + 5376 /* ForInOrForOfStatementIncludes */, + node, + outermostLabeledStatement, + compilerOptions.downlevelIteration ? convertForOfStatementForIterable : convertForOfStatementForArray + ); + } + function convertForOfStatementHead(node, boundValue, convertedLoopBodyStatements) { + const statements = []; + const initializer = node.initializer; + if (isVariableDeclarationList(initializer)) { + if (node.initializer.flags & 7 /* BlockScoped */) { + enableSubstitutionsForBlockScopedBindings(); + } + const firstOriginalDeclaration = firstOrUndefined(initializer.declarations); + if (firstOriginalDeclaration && isBindingPattern(firstOriginalDeclaration.name)) { + const declarations = flattenDestructuringBinding( + firstOriginalDeclaration, + visitor, + context, + 0 /* All */, + boundValue + ); + const declarationList = setTextRange(factory2.createVariableDeclarationList(declarations), node.initializer); + setOriginalNode(declarationList, node.initializer); + setSourceMapRange(declarationList, createRange(declarations[0].pos, last(declarations).end)); + statements.push( + factory2.createVariableStatement( + /*modifiers*/ + void 0, + declarationList + ) + ); + } else { + statements.push( + setTextRange( + factory2.createVariableStatement( + /*modifiers*/ + void 0, + setOriginalNode( + setTextRange( + factory2.createVariableDeclarationList([ + factory2.createVariableDeclaration( + firstOriginalDeclaration ? firstOriginalDeclaration.name : factory2.createTempVariable( + /*recordTempVariable*/ + void 0 + ), + /*exclamationToken*/ + void 0, + /*type*/ + void 0, + boundValue + ) + ]), + moveRangePos(initializer, -1) + ), + initializer + ) + ), + moveRangeEnd(initializer, -1) + ) + ); + } + } else { + const assignment = factory2.createAssignment(initializer, boundValue); + if (isDestructuringAssignment(assignment)) { + statements.push(factory2.createExpressionStatement(visitBinaryExpression( + assignment, + /*expressionResultIsUnused*/ + true + ))); + } else { + setTextRangeEnd(assignment, initializer.end); + statements.push(setTextRange(factory2.createExpressionStatement(Debug.checkDefined(visitNode(assignment, visitor, isExpression))), moveRangeEnd(initializer, -1))); + } + } + if (convertedLoopBodyStatements) { + return createSyntheticBlockForConvertedStatements(addRange(statements, convertedLoopBodyStatements)); + } else { + const statement = visitNode(node.statement, visitor, isStatement, factory2.liftToBlock); + Debug.assert(statement); + if (isBlock(statement)) { + return factory2.updateBlock(statement, setTextRange(factory2.createNodeArray(concatenate(statements, statement.statements)), statement.statements)); + } else { + statements.push(statement); + return createSyntheticBlockForConvertedStatements(statements); + } + } + } + function createSyntheticBlockForConvertedStatements(statements) { + return setEmitFlags( + factory2.createBlock( + factory2.createNodeArray(statements), + /*multiLine*/ + true + ), + 96 /* NoSourceMap */ | 768 /* NoTokenSourceMaps */ + ); + } + function convertForOfStatementForArray(node, outermostLabeledStatement, convertedLoopBodyStatements) { + const expression = visitNode(node.expression, visitor, isExpression); + Debug.assert(expression); + const counter = factory2.createLoopVariable(); + const rhsReference = isIdentifier(expression) ? factory2.getGeneratedNameForNode(expression) : factory2.createTempVariable( + /*recordTempVariable*/ + void 0 + ); + setEmitFlags(expression, 96 /* NoSourceMap */ | getEmitFlags(expression)); + const forStatement = setTextRange( + factory2.createForStatement( + /*initializer*/ + setEmitFlags( + setTextRange( + factory2.createVariableDeclarationList([ + setTextRange(factory2.createVariableDeclaration( + counter, + /*exclamationToken*/ + void 0, + /*type*/ + void 0, + factory2.createNumericLiteral(0) + ), moveRangePos(node.expression, -1)), + setTextRange(factory2.createVariableDeclaration( + rhsReference, + /*exclamationToken*/ + void 0, + /*type*/ + void 0, + expression + ), node.expression) + ]), + node.expression + ), + 4194304 /* NoHoisting */ + ), + /*condition*/ + setTextRange( + factory2.createLessThan( + counter, + factory2.createPropertyAccessExpression(rhsReference, "length") + ), + node.expression + ), + /*incrementor*/ + setTextRange(factory2.createPostfixIncrement(counter), node.expression), + /*statement*/ + convertForOfStatementHead( + node, + factory2.createElementAccessExpression(rhsReference, counter), + convertedLoopBodyStatements + ) + ), + /*location*/ + node + ); + setEmitFlags(forStatement, 512 /* NoTokenTrailingSourceMaps */); + setTextRange(forStatement, node); + return factory2.restoreEnclosingLabel(forStatement, outermostLabeledStatement, convertedLoopState && resetLabel); + } + function convertForOfStatementForIterable(node, outermostLabeledStatement, convertedLoopBodyStatements, ancestorFacts) { + const expression = visitNode(node.expression, visitor, isExpression); + Debug.assert(expression); + const iterator = isIdentifier(expression) ? factory2.getGeneratedNameForNode(expression) : factory2.createTempVariable( + /*recordTempVariable*/ + void 0 + ); + const result = isIdentifier(expression) ? factory2.getGeneratedNameForNode(iterator) : factory2.createTempVariable( + /*recordTempVariable*/ + void 0 + ); + const errorRecord = factory2.createUniqueName("e"); + const catchVariable = factory2.getGeneratedNameForNode(errorRecord); + const returnMethod = factory2.createTempVariable( + /*recordTempVariable*/ + void 0 + ); + const values = setTextRange(emitHelpers().createValuesHelper(expression), node.expression); + const next = factory2.createCallExpression( + factory2.createPropertyAccessExpression(iterator, "next"), + /*typeArguments*/ + void 0, + [] + ); + hoistVariableDeclaration(errorRecord); + hoistVariableDeclaration(returnMethod); + const initializer = ancestorFacts & 1024 /* IterationContainer */ ? factory2.inlineExpressions([factory2.createAssignment(errorRecord, factory2.createVoidZero()), values]) : values; + const forStatement = setEmitFlags( + setTextRange( + factory2.createForStatement( + /*initializer*/ + setEmitFlags( + setTextRange( + factory2.createVariableDeclarationList([ + setTextRange(factory2.createVariableDeclaration( + iterator, + /*exclamationToken*/ + void 0, + /*type*/ + void 0, + initializer + ), node.expression), + factory2.createVariableDeclaration( + result, + /*exclamationToken*/ + void 0, + /*type*/ + void 0, + next + ) + ]), + node.expression + ), + 4194304 /* NoHoisting */ + ), + /*condition*/ + factory2.createLogicalNot(factory2.createPropertyAccessExpression(result, "done")), + /*incrementor*/ + factory2.createAssignment(result, next), + /*statement*/ + convertForOfStatementHead( + node, + factory2.createPropertyAccessExpression(result, "value"), + convertedLoopBodyStatements + ) + ), + /*location*/ + node + ), + 512 /* NoTokenTrailingSourceMaps */ + ); + return factory2.createTryStatement( + factory2.createBlock([ + factory2.restoreEnclosingLabel( + forStatement, + outermostLabeledStatement, + convertedLoopState && resetLabel + ) + ]), + factory2.createCatchClause( + factory2.createVariableDeclaration(catchVariable), + setEmitFlags( + factory2.createBlock([ + factory2.createExpressionStatement( + factory2.createAssignment( + errorRecord, + factory2.createObjectLiteralExpression([ + factory2.createPropertyAssignment("error", catchVariable) + ]) + ) + ) + ]), + 1 /* SingleLine */ + ) + ), + factory2.createBlock([ + factory2.createTryStatement( + /*tryBlock*/ + factory2.createBlock([ + setEmitFlags( + factory2.createIfStatement( + factory2.createLogicalAnd( + factory2.createLogicalAnd( + result, + factory2.createLogicalNot( + factory2.createPropertyAccessExpression(result, "done") + ) + ), + factory2.createAssignment( + returnMethod, + factory2.createPropertyAccessExpression(iterator, "return") + ) + ), + factory2.createExpressionStatement( + factory2.createFunctionCallCall(returnMethod, iterator, []) + ) + ), + 1 /* SingleLine */ + ) + ]), + /*catchClause*/ + void 0, + /*finallyBlock*/ + setEmitFlags( + factory2.createBlock([ + setEmitFlags( + factory2.createIfStatement( + errorRecord, + factory2.createThrowStatement( + factory2.createPropertyAccessExpression(errorRecord, "error") + ) + ), + 1 /* SingleLine */ + ) + ]), + 1 /* SingleLine */ + ) + ) + ]) + ); + } + function visitObjectLiteralExpression(node) { + const properties = node.properties; + let numInitialProperties = -1, hasComputed = false; + for (let i = 0; i < properties.length; i++) { + const property = properties[i]; + if (property.transformFlags & 1048576 /* ContainsYield */ && hierarchyFacts & 4 /* AsyncFunctionBody */ || (hasComputed = Debug.checkDefined(property.name).kind === 167 /* ComputedPropertyName */)) { + numInitialProperties = i; + break; + } + } + if (numInitialProperties < 0) { + return visitEachChild(node, visitor, context); + } + const temp = factory2.createTempVariable(hoistVariableDeclaration); + const expressions = []; + const assignment = factory2.createAssignment( + temp, + setEmitFlags( + factory2.createObjectLiteralExpression( + visitNodes2(properties, visitor, isObjectLiteralElementLike, 0, numInitialProperties), + node.multiLine + ), + hasComputed ? 131072 /* Indented */ : 0 + ) + ); + if (node.multiLine) { + startOnNewLine(assignment); + } + expressions.push(assignment); + addObjectLiteralMembers(expressions, node, temp, numInitialProperties); + expressions.push(node.multiLine ? startOnNewLine(setParent(setTextRange(factory2.cloneNode(temp), temp), temp.parent)) : temp); + return factory2.inlineExpressions(expressions); + } + function shouldConvertPartOfIterationStatement(node) { + return resolver.hasNodeCheckFlag(node, 8192 /* ContainsCapturedBlockScopeBinding */); + } + function shouldConvertInitializerOfForStatement(node) { + return isForStatement(node) && !!node.initializer && shouldConvertPartOfIterationStatement(node.initializer); + } + function shouldConvertConditionOfForStatement(node) { + return isForStatement(node) && !!node.condition && shouldConvertPartOfIterationStatement(node.condition); + } + function shouldConvertIncrementorOfForStatement(node) { + return isForStatement(node) && !!node.incrementor && shouldConvertPartOfIterationStatement(node.incrementor); + } + function shouldConvertIterationStatement(node) { + return shouldConvertBodyOfIterationStatement(node) || shouldConvertInitializerOfForStatement(node); + } + function shouldConvertBodyOfIterationStatement(node) { + return resolver.hasNodeCheckFlag(node, 4096 /* LoopWithCapturedBlockScopedBinding */); + } + function hoistVariableDeclarationDeclaredInConvertedLoop(state, node) { + if (!state.hoistedLocalVariables) { + state.hoistedLocalVariables = []; + } + visit(node.name); + function visit(node2) { + if (node2.kind === 80 /* Identifier */) { + state.hoistedLocalVariables.push(node2); + } else { + for (const element of node2.elements) { + if (!isOmittedExpression(element)) { + visit(element.name); + } + } + } + } + } + function convertIterationStatementBodyIfNecessary(node, outermostLabeledStatement, ancestorFacts, convert) { + if (!shouldConvertIterationStatement(node)) { + let saveAllowedNonLabeledJumps; + if (convertedLoopState) { + saveAllowedNonLabeledJumps = convertedLoopState.allowedNonLabeledJumps; + convertedLoopState.allowedNonLabeledJumps = 2 /* Break */ | 4 /* Continue */; + } + const result = convert ? convert( + node, + outermostLabeledStatement, + /*convertedLoopBodyStatements*/ + void 0, + ancestorFacts + ) : factory2.restoreEnclosingLabel( + isForStatement(node) ? visitEachChildOfForStatement2(node) : visitEachChild(node, visitor, context), + outermostLabeledStatement, + convertedLoopState && resetLabel + ); + if (convertedLoopState) { + convertedLoopState.allowedNonLabeledJumps = saveAllowedNonLabeledJumps; + } + return result; + } + const currentState = createConvertedLoopState(node); + const statements = []; + const outerConvertedLoopState = convertedLoopState; + convertedLoopState = currentState; + const initializerFunction = shouldConvertInitializerOfForStatement(node) ? createFunctionForInitializerOfForStatement(node, currentState) : void 0; + const bodyFunction = shouldConvertBodyOfIterationStatement(node) ? createFunctionForBodyOfIterationStatement(node, currentState, outerConvertedLoopState) : void 0; + convertedLoopState = outerConvertedLoopState; + if (initializerFunction) statements.push(initializerFunction.functionDeclaration); + if (bodyFunction) statements.push(bodyFunction.functionDeclaration); + addExtraDeclarationsForConvertedLoop(statements, currentState, outerConvertedLoopState); + if (initializerFunction) { + statements.push(generateCallToConvertedLoopInitializer(initializerFunction.functionName, initializerFunction.containsYield)); + } + let loop; + if (bodyFunction) { + if (convert) { + loop = convert(node, outermostLabeledStatement, bodyFunction.part, ancestorFacts); + } else { + const clone = convertIterationStatementCore(node, initializerFunction, factory2.createBlock( + bodyFunction.part, + /*multiLine*/ + true + )); + loop = factory2.restoreEnclosingLabel(clone, outermostLabeledStatement, convertedLoopState && resetLabel); + } + } else { + const clone = convertIterationStatementCore(node, initializerFunction, Debug.checkDefined(visitNode(node.statement, visitor, isStatement, factory2.liftToBlock))); + loop = factory2.restoreEnclosingLabel(clone, outermostLabeledStatement, convertedLoopState && resetLabel); + } + statements.push(loop); + return statements; + } + function convertIterationStatementCore(node, initializerFunction, convertedLoopBody) { + switch (node.kind) { + case 248 /* ForStatement */: + return convertForStatement(node, initializerFunction, convertedLoopBody); + case 249 /* ForInStatement */: + return convertForInStatement(node, convertedLoopBody); + case 250 /* ForOfStatement */: + return convertForOfStatement(node, convertedLoopBody); + case 246 /* DoStatement */: + return convertDoStatement(node, convertedLoopBody); + case 247 /* WhileStatement */: + return convertWhileStatement(node, convertedLoopBody); + default: + return Debug.failBadSyntaxKind(node, "IterationStatement expected"); + } + } + function convertForStatement(node, initializerFunction, convertedLoopBody) { + const shouldConvertCondition = node.condition && shouldConvertPartOfIterationStatement(node.condition); + const shouldConvertIncrementor = shouldConvertCondition || node.incrementor && shouldConvertPartOfIterationStatement(node.incrementor); + return factory2.updateForStatement( + node, + visitNode(initializerFunction ? initializerFunction.part : node.initializer, visitorWithUnusedExpressionResult, isForInitializer), + visitNode(shouldConvertCondition ? void 0 : node.condition, visitor, isExpression), + visitNode(shouldConvertIncrementor ? void 0 : node.incrementor, visitorWithUnusedExpressionResult, isExpression), + convertedLoopBody + ); + } + function convertForOfStatement(node, convertedLoopBody) { + return factory2.updateForOfStatement( + node, + /*awaitModifier*/ + void 0, + Debug.checkDefined(visitNode(node.initializer, visitor, isForInitializer)), + Debug.checkDefined(visitNode(node.expression, visitor, isExpression)), + convertedLoopBody + ); + } + function convertForInStatement(node, convertedLoopBody) { + return factory2.updateForInStatement( + node, + Debug.checkDefined(visitNode(node.initializer, visitor, isForInitializer)), + Debug.checkDefined(visitNode(node.expression, visitor, isExpression)), + convertedLoopBody + ); + } + function convertDoStatement(node, convertedLoopBody) { + return factory2.updateDoStatement( + node, + convertedLoopBody, + Debug.checkDefined(visitNode(node.expression, visitor, isExpression)) + ); + } + function convertWhileStatement(node, convertedLoopBody) { + return factory2.updateWhileStatement( + node, + Debug.checkDefined(visitNode(node.expression, visitor, isExpression)), + convertedLoopBody + ); + } + function createConvertedLoopState(node) { + let loopInitializer; + switch (node.kind) { + case 248 /* ForStatement */: + case 249 /* ForInStatement */: + case 250 /* ForOfStatement */: + const initializer = node.initializer; + if (initializer && initializer.kind === 261 /* VariableDeclarationList */) { + loopInitializer = initializer; + } + break; + } + const loopParameters = []; + const loopOutParameters = []; + if (loopInitializer && getCombinedNodeFlags(loopInitializer) & 7 /* BlockScoped */) { + const hasCapturedBindingsInForHead = shouldConvertInitializerOfForStatement(node) || shouldConvertConditionOfForStatement(node) || shouldConvertIncrementorOfForStatement(node); + for (const decl of loopInitializer.declarations) { + processLoopVariableDeclaration(node, decl, loopParameters, loopOutParameters, hasCapturedBindingsInForHead); + } + } + const currentState = { loopParameters, loopOutParameters }; + if (convertedLoopState) { + if (convertedLoopState.argumentsName) { + currentState.argumentsName = convertedLoopState.argumentsName; + } + if (convertedLoopState.thisName) { + currentState.thisName = convertedLoopState.thisName; + } + if (convertedLoopState.hoistedLocalVariables) { + currentState.hoistedLocalVariables = convertedLoopState.hoistedLocalVariables; + } + } + return currentState; + } + function addExtraDeclarationsForConvertedLoop(statements, state, outerState) { + let extraVariableDeclarations; + if (state.argumentsName) { + if (outerState) { + outerState.argumentsName = state.argumentsName; + } else { + (extraVariableDeclarations || (extraVariableDeclarations = [])).push( + factory2.createVariableDeclaration( + state.argumentsName, + /*exclamationToken*/ + void 0, + /*type*/ + void 0, + factory2.createIdentifier("arguments") + ) + ); + } + } + if (state.thisName) { + if (outerState) { + outerState.thisName = state.thisName; + } else { + (extraVariableDeclarations || (extraVariableDeclarations = [])).push( + factory2.createVariableDeclaration( + state.thisName, + /*exclamationToken*/ + void 0, + /*type*/ + void 0, + factory2.createIdentifier("this") + ) + ); + } + } + if (state.hoistedLocalVariables) { + if (outerState) { + outerState.hoistedLocalVariables = state.hoistedLocalVariables; + } else { + if (!extraVariableDeclarations) { + extraVariableDeclarations = []; + } + for (const identifier of state.hoistedLocalVariables) { + extraVariableDeclarations.push(factory2.createVariableDeclaration(identifier)); + } + } + } + if (state.loopOutParameters.length) { + if (!extraVariableDeclarations) { + extraVariableDeclarations = []; + } + for (const outParam of state.loopOutParameters) { + extraVariableDeclarations.push(factory2.createVariableDeclaration(outParam.outParamName)); + } + } + if (state.conditionVariable) { + if (!extraVariableDeclarations) { + extraVariableDeclarations = []; + } + extraVariableDeclarations.push(factory2.createVariableDeclaration( + state.conditionVariable, + /*exclamationToken*/ + void 0, + /*type*/ + void 0, + factory2.createFalse() + )); + } + if (extraVariableDeclarations) { + statements.push(factory2.createVariableStatement( + /*modifiers*/ + void 0, + factory2.createVariableDeclarationList(extraVariableDeclarations) + )); + } + } + function createOutVariable(p) { + return factory2.createVariableDeclaration( + p.originalName, + /*exclamationToken*/ + void 0, + /*type*/ + void 0, + p.outParamName + ); + } + function createFunctionForInitializerOfForStatement(node, currentState) { + const functionName = factory2.createUniqueName("_loop_init"); + const containsYield = (node.initializer.transformFlags & 1048576 /* ContainsYield */) !== 0; + let emitFlags = 0 /* None */; + if (currentState.containsLexicalThis) emitFlags |= 16 /* CapturesThis */; + if (containsYield && hierarchyFacts & 4 /* AsyncFunctionBody */) emitFlags |= 524288 /* AsyncFunctionBody */; + const statements = []; + statements.push(factory2.createVariableStatement( + /*modifiers*/ + void 0, + node.initializer + )); + copyOutParameters(currentState.loopOutParameters, 2 /* Initializer */, 1 /* ToOutParameter */, statements); + const functionDeclaration = factory2.createVariableStatement( + /*modifiers*/ + void 0, + setEmitFlags( + factory2.createVariableDeclarationList([ + factory2.createVariableDeclaration( + functionName, + /*exclamationToken*/ + void 0, + /*type*/ + void 0, + setEmitFlags( + factory2.createFunctionExpression( + /*modifiers*/ + void 0, + containsYield ? factory2.createToken(42 /* AsteriskToken */) : void 0, + /*name*/ + void 0, + /*typeParameters*/ + void 0, + /*parameters*/ + void 0, + /*type*/ + void 0, + Debug.checkDefined(visitNode( + factory2.createBlock( + statements, + /*multiLine*/ + true + ), + visitor, + isBlock + )) + ), + emitFlags + ) + ) + ]), + 4194304 /* NoHoisting */ + ) + ); + const part = factory2.createVariableDeclarationList(map(currentState.loopOutParameters, createOutVariable)); + return { functionName, containsYield, functionDeclaration, part }; + } + function createFunctionForBodyOfIterationStatement(node, currentState, outerState) { + const functionName = factory2.createUniqueName("_loop"); + startLexicalEnvironment(); + const statement = visitNode(node.statement, visitor, isStatement, factory2.liftToBlock); + const lexicalEnvironment = endLexicalEnvironment(); + const statements = []; + if (shouldConvertConditionOfForStatement(node) || shouldConvertIncrementorOfForStatement(node)) { + currentState.conditionVariable = factory2.createUniqueName("inc"); + if (node.incrementor) { + statements.push(factory2.createIfStatement( + currentState.conditionVariable, + factory2.createExpressionStatement(Debug.checkDefined(visitNode(node.incrementor, visitor, isExpression))), + factory2.createExpressionStatement(factory2.createAssignment(currentState.conditionVariable, factory2.createTrue())) + )); + } else { + statements.push(factory2.createIfStatement( + factory2.createLogicalNot(currentState.conditionVariable), + factory2.createExpressionStatement(factory2.createAssignment(currentState.conditionVariable, factory2.createTrue())) + )); + } + if (shouldConvertConditionOfForStatement(node)) { + statements.push(factory2.createIfStatement( + factory2.createPrefixUnaryExpression(54 /* ExclamationToken */, Debug.checkDefined(visitNode(node.condition, visitor, isExpression))), + Debug.checkDefined(visitNode(factory2.createBreakStatement(), visitor, isStatement)) + )); + } + } + Debug.assert(statement); + if (isBlock(statement)) { + addRange(statements, statement.statements); + } else { + statements.push(statement); + } + copyOutParameters(currentState.loopOutParameters, 1 /* Body */, 1 /* ToOutParameter */, statements); + insertStatementsAfterStandardPrologue(statements, lexicalEnvironment); + const loopBody = factory2.createBlock( + statements, + /*multiLine*/ + true + ); + if (isBlock(statement)) setOriginalNode(loopBody, statement); + const containsYield = (node.statement.transformFlags & 1048576 /* ContainsYield */) !== 0; + let emitFlags = 1048576 /* ReuseTempVariableScope */; + if (currentState.containsLexicalThis) emitFlags |= 16 /* CapturesThis */; + if (containsYield && (hierarchyFacts & 4 /* AsyncFunctionBody */) !== 0) emitFlags |= 524288 /* AsyncFunctionBody */; + const functionDeclaration = factory2.createVariableStatement( + /*modifiers*/ + void 0, + setEmitFlags( + factory2.createVariableDeclarationList( + [ + factory2.createVariableDeclaration( + functionName, + /*exclamationToken*/ + void 0, + /*type*/ + void 0, + setEmitFlags( + factory2.createFunctionExpression( + /*modifiers*/ + void 0, + containsYield ? factory2.createToken(42 /* AsteriskToken */) : void 0, + /*name*/ + void 0, + /*typeParameters*/ + void 0, + currentState.loopParameters, + /*type*/ + void 0, + loopBody + ), + emitFlags + ) + ) + ] + ), + 4194304 /* NoHoisting */ + ) + ); + const part = generateCallToConvertedLoop(functionName, currentState, outerState, containsYield); + return { functionName, containsYield, functionDeclaration, part }; + } + function copyOutParameter(outParam, copyDirection) { + const source = copyDirection === 0 /* ToOriginal */ ? outParam.outParamName : outParam.originalName; + const target = copyDirection === 0 /* ToOriginal */ ? outParam.originalName : outParam.outParamName; + return factory2.createBinaryExpression(target, 64 /* EqualsToken */, source); + } + function copyOutParameters(outParams, partFlags, copyDirection, statements) { + for (const outParam of outParams) { + if (outParam.flags & partFlags) { + statements.push(factory2.createExpressionStatement(copyOutParameter(outParam, copyDirection))); + } + } + } + function generateCallToConvertedLoopInitializer(initFunctionExpressionName, containsYield) { + const call = factory2.createCallExpression( + initFunctionExpressionName, + /*typeArguments*/ + void 0, + [] + ); + const callResult = containsYield ? factory2.createYieldExpression( + factory2.createToken(42 /* AsteriskToken */), + setEmitFlags(call, 8388608 /* Iterator */) + ) : call; + return factory2.createExpressionStatement(callResult); + } + function generateCallToConvertedLoop(loopFunctionExpressionName, state, outerState, containsYield) { + const statements = []; + const isSimpleLoop = !(state.nonLocalJumps & ~4 /* Continue */) && !state.labeledNonLocalBreaks && !state.labeledNonLocalContinues; + const call = factory2.createCallExpression( + loopFunctionExpressionName, + /*typeArguments*/ + void 0, + map(state.loopParameters, (p) => p.name) + ); + const callResult = containsYield ? factory2.createYieldExpression( + factory2.createToken(42 /* AsteriskToken */), + setEmitFlags(call, 8388608 /* Iterator */) + ) : call; + if (isSimpleLoop) { + statements.push(factory2.createExpressionStatement(callResult)); + copyOutParameters(state.loopOutParameters, 1 /* Body */, 0 /* ToOriginal */, statements); + } else { + const loopResultName = factory2.createUniqueName("state"); + const stateVariable = factory2.createVariableStatement( + /*modifiers*/ + void 0, + factory2.createVariableDeclarationList( + [factory2.createVariableDeclaration( + loopResultName, + /*exclamationToken*/ + void 0, + /*type*/ + void 0, + callResult + )] + ) + ); + statements.push(stateVariable); + copyOutParameters(state.loopOutParameters, 1 /* Body */, 0 /* ToOriginal */, statements); + if (state.nonLocalJumps & 8 /* Return */) { + let returnStatement; + if (outerState) { + outerState.nonLocalJumps |= 8 /* Return */; + returnStatement = factory2.createReturnStatement(loopResultName); + } else { + returnStatement = factory2.createReturnStatement(factory2.createPropertyAccessExpression(loopResultName, "value")); + } + statements.push( + factory2.createIfStatement( + factory2.createTypeCheck(loopResultName, "object"), + returnStatement + ) + ); + } + if (state.nonLocalJumps & 2 /* Break */) { + statements.push( + factory2.createIfStatement( + factory2.createStrictEquality( + loopResultName, + factory2.createStringLiteral("break") + ), + factory2.createBreakStatement() + ) + ); + } + if (state.labeledNonLocalBreaks || state.labeledNonLocalContinues) { + const caseClauses = []; + processLabeledJumps( + state.labeledNonLocalBreaks, + /*isBreak*/ + true, + loopResultName, + outerState, + caseClauses + ); + processLabeledJumps( + state.labeledNonLocalContinues, + /*isBreak*/ + false, + loopResultName, + outerState, + caseClauses + ); + statements.push( + factory2.createSwitchStatement( + loopResultName, + factory2.createCaseBlock(caseClauses) + ) + ); + } + } + return statements; + } + function setLabeledJump(state, isBreak, labelText, labelMarker) { + if (isBreak) { + if (!state.labeledNonLocalBreaks) { + state.labeledNonLocalBreaks = /* @__PURE__ */ new Map(); + } + state.labeledNonLocalBreaks.set(labelText, labelMarker); + } else { + if (!state.labeledNonLocalContinues) { + state.labeledNonLocalContinues = /* @__PURE__ */ new Map(); + } + state.labeledNonLocalContinues.set(labelText, labelMarker); + } + } + function processLabeledJumps(table, isBreak, loopResultName, outerLoop, caseClauses) { + if (!table) { + return; + } + table.forEach((labelMarker, labelText) => { + const statements = []; + if (!outerLoop || outerLoop.labels && outerLoop.labels.get(labelText)) { + const label = factory2.createIdentifier(labelText); + statements.push(isBreak ? factory2.createBreakStatement(label) : factory2.createContinueStatement(label)); + } else { + setLabeledJump(outerLoop, isBreak, labelText, labelMarker); + statements.push(factory2.createReturnStatement(loopResultName)); + } + caseClauses.push(factory2.createCaseClause(factory2.createStringLiteral(labelMarker), statements)); + }); + } + function processLoopVariableDeclaration(container, decl, loopParameters, loopOutParameters, hasCapturedBindingsInForHead) { + const name = decl.name; + if (isBindingPattern(name)) { + for (const element of name.elements) { + if (!isOmittedExpression(element)) { + processLoopVariableDeclaration(container, element, loopParameters, loopOutParameters, hasCapturedBindingsInForHead); + } + } + } else { + loopParameters.push(factory2.createParameterDeclaration( + /*modifiers*/ + void 0, + /*dotDotDotToken*/ + void 0, + name + )); + const needsOutParam = resolver.hasNodeCheckFlag(decl, 65536 /* NeedsLoopOutParameter */); + if (needsOutParam || hasCapturedBindingsInForHead) { + const outParamName = factory2.createUniqueName("out_" + idText(name)); + let flags = 0 /* None */; + if (needsOutParam) { + flags |= 1 /* Body */; + } + if (isForStatement(container)) { + if (container.initializer && resolver.isBindingCapturedByNode(container.initializer, decl)) { + flags |= 2 /* Initializer */; + } + if (container.condition && resolver.isBindingCapturedByNode(container.condition, decl) || container.incrementor && resolver.isBindingCapturedByNode(container.incrementor, decl)) { + flags |= 1 /* Body */; + } + } + loopOutParameters.push({ flags, originalName: name, outParamName }); + } + } + } + function addObjectLiteralMembers(expressions, node, receiver, start) { + const properties = node.properties; + const numProperties = properties.length; + for (let i = start; i < numProperties; i++) { + const property = properties[i]; + switch (property.kind) { + case 177 /* GetAccessor */: + case 178 /* SetAccessor */: + const accessors = getAllAccessorDeclarations(node.properties, property); + if (property === accessors.firstAccessor) { + expressions.push(transformAccessorsToExpression(receiver, accessors, node, !!node.multiLine)); + } + break; + case 174 /* MethodDeclaration */: + expressions.push(transformObjectLiteralMethodDeclarationToExpression(property, receiver, node, node.multiLine)); + break; + case 303 /* PropertyAssignment */: + expressions.push(transformPropertyAssignmentToExpression(property, receiver, node.multiLine)); + break; + case 304 /* ShorthandPropertyAssignment */: + expressions.push(transformShorthandPropertyAssignmentToExpression(property, receiver, node.multiLine)); + break; + default: + Debug.failBadSyntaxKind(node); + break; + } + } + } + function transformPropertyAssignmentToExpression(property, receiver, startsOnNewLine) { + const expression = factory2.createAssignment( + createMemberAccessForPropertyName( + factory2, + receiver, + Debug.checkDefined(visitNode(property.name, visitor, isPropertyName)) + ), + Debug.checkDefined(visitNode(property.initializer, visitor, isExpression)) + ); + setTextRange(expression, property); + if (startsOnNewLine) { + startOnNewLine(expression); + } + return expression; + } + function transformShorthandPropertyAssignmentToExpression(property, receiver, startsOnNewLine) { + const expression = factory2.createAssignment( + createMemberAccessForPropertyName( + factory2, + receiver, + Debug.checkDefined(visitNode(property.name, visitor, isPropertyName)) + ), + factory2.cloneNode(property.name) + ); + setTextRange(expression, property); + if (startsOnNewLine) { + startOnNewLine(expression); + } + return expression; + } + function transformObjectLiteralMethodDeclarationToExpression(method, receiver, container, startsOnNewLine) { + const expression = factory2.createAssignment( + createMemberAccessForPropertyName( + factory2, + receiver, + Debug.checkDefined(visitNode(method.name, visitor, isPropertyName)) + ), + transformFunctionLikeToExpression( + method, + /*location*/ + method, + /*name*/ + void 0, + container + ) + ); + setTextRange(expression, method); + if (startsOnNewLine) { + startOnNewLine(expression); + } + return expression; + } + function visitCatchClause(node) { + const ancestorFacts = enterSubtree(7104 /* BlockScopeExcludes */, 0 /* BlockScopeIncludes */); + let updated; + Debug.assert(!!node.variableDeclaration, "Catch clause variable should always be present when downleveling ES2015."); + if (isBindingPattern(node.variableDeclaration.name)) { + const temp = factory2.createTempVariable( + /*recordTempVariable*/ + void 0 + ); + const newVariableDeclaration = factory2.createVariableDeclaration(temp); + setTextRange(newVariableDeclaration, node.variableDeclaration); + const vars = flattenDestructuringBinding( + node.variableDeclaration, + visitor, + context, + 0 /* All */, + temp + ); + const list = factory2.createVariableDeclarationList(vars); + setTextRange(list, node.variableDeclaration); + const destructure = factory2.createVariableStatement( + /*modifiers*/ + void 0, + list + ); + updated = factory2.updateCatchClause(node, newVariableDeclaration, addStatementToStartOfBlock(node.block, destructure)); + } else { + updated = visitEachChild(node, visitor, context); + } + exitSubtree(ancestorFacts, 0 /* None */, 0 /* None */); + return updated; + } + function addStatementToStartOfBlock(block, statement) { + const transformedStatements = visitNodes2(block.statements, visitor, isStatement); + return factory2.updateBlock(block, [statement, ...transformedStatements]); + } + function visitMethodDeclaration(node) { + Debug.assert(!isComputedPropertyName(node.name)); + const functionExpression = transformFunctionLikeToExpression( + node, + /*location*/ + moveRangePos(node, -1), + /*name*/ + void 0, + /*container*/ + void 0 + ); + setEmitFlags(functionExpression, 1024 /* NoLeadingComments */ | getEmitFlags(functionExpression)); + return setTextRange( + factory2.createPropertyAssignment( + node.name, + functionExpression + ), + /*location*/ + node + ); + } + function visitAccessorDeclaration(node) { + Debug.assert(!isComputedPropertyName(node.name)); + const savedConvertedLoopState = convertedLoopState; + convertedLoopState = void 0; + const ancestorFacts = enterSubtree(32670 /* FunctionExcludes */, 65 /* FunctionIncludes */); + let updated; + const parameters = visitParameterList(node.parameters, visitor, context); + const body = transformFunctionBody(node); + if (node.kind === 177 /* GetAccessor */) { + updated = factory2.updateGetAccessorDeclaration(node, node.modifiers, node.name, parameters, node.type, body); + } else { + updated = factory2.updateSetAccessorDeclaration(node, node.modifiers, node.name, parameters, body); + } + exitSubtree(ancestorFacts, 229376 /* FunctionSubtreeExcludes */, 0 /* None */); + convertedLoopState = savedConvertedLoopState; + return updated; + } + function visitShorthandPropertyAssignment(node) { + return setTextRange( + factory2.createPropertyAssignment( + node.name, + visitIdentifier(factory2.cloneNode(node.name)) + ), + /*location*/ + node + ); + } + function visitComputedPropertyName(node) { + return visitEachChild(node, visitor, context); + } + function visitYieldExpression(node) { + return visitEachChild(node, visitor, context); + } + function visitArrayLiteralExpression(node) { + if (some(node.elements, isSpreadElement)) { + return transformAndSpreadElements( + node.elements, + /*isArgumentList*/ + false, + !!node.multiLine, + /*hasTrailingComma*/ + !!node.elements.hasTrailingComma + ); + } + return visitEachChild(node, visitor, context); + } + function visitCallExpression(node) { + if (getInternalEmitFlags(node) & 1 /* TypeScriptClassWrapper */) { + return visitTypeScriptClassWrapper(node); + } + const expression = skipOuterExpressions(node.expression); + if (expression.kind === 108 /* SuperKeyword */ || isSuperProperty(expression) || some(node.arguments, isSpreadElement)) { + return visitCallExpressionWithPotentialCapturedThisAssignment( + node, + /*assignToCapturedThis*/ + true + ); + } + return factory2.updateCallExpression( + node, + Debug.checkDefined(visitNode(node.expression, callExpressionVisitor, isExpression)), + /*typeArguments*/ + void 0, + visitNodes2(node.arguments, visitor, isExpression) + ); + } + function visitTypeScriptClassWrapper(node) { + const body = cast(cast(skipOuterExpressions(node.expression), isArrowFunction).body, isBlock); + const isVariableStatementWithInitializer = (stmt) => isVariableStatement(stmt) && !!first(stmt.declarationList.declarations).initializer; + const savedConvertedLoopState = convertedLoopState; + convertedLoopState = void 0; + const bodyStatements = visitNodes2(body.statements, classWrapperStatementVisitor, isStatement); + convertedLoopState = savedConvertedLoopState; + const classStatements = filter(bodyStatements, isVariableStatementWithInitializer); + const remainingStatements = filter(bodyStatements, (stmt) => !isVariableStatementWithInitializer(stmt)); + const varStatement = cast(first(classStatements), isVariableStatement); + const variable = varStatement.declarationList.declarations[0]; + const initializer = skipOuterExpressions(variable.initializer); + let aliasAssignment = tryCast(initializer, isAssignmentExpression); + if (!aliasAssignment && isBinaryExpression(initializer) && initializer.operatorToken.kind === 28 /* CommaToken */) { + aliasAssignment = tryCast(initializer.left, isAssignmentExpression); + } + const call = cast(aliasAssignment ? skipOuterExpressions(aliasAssignment.right) : initializer, isCallExpression); + const func = cast(skipOuterExpressions(call.expression), isFunctionExpression); + const funcStatements = func.body.statements; + let classBodyStart = 0; + let classBodyEnd = -1; + const statements = []; + if (aliasAssignment) { + const extendsCall = tryCast(funcStatements[classBodyStart], isExpressionStatement); + if (extendsCall) { + statements.push(extendsCall); + classBodyStart++; + } + statements.push(funcStatements[classBodyStart]); + classBodyStart++; + statements.push( + factory2.createExpressionStatement( + factory2.createAssignment( + aliasAssignment.left, + cast(variable.name, isIdentifier) + ) + ) + ); + } + while (!isReturnStatement(elementAt(funcStatements, classBodyEnd))) { + classBodyEnd--; + } + addRange(statements, funcStatements, classBodyStart, classBodyEnd); + if (classBodyEnd < -1) { + addRange(statements, funcStatements, classBodyEnd + 1); + } + const returnStatement = tryCast(elementAt(funcStatements, classBodyEnd), isReturnStatement); + for (const statement of remainingStatements) { + if (isReturnStatement(statement) && (returnStatement == null ? void 0 : returnStatement.expression) && !isIdentifier(returnStatement.expression)) { + statements.push(returnStatement); + } else { + statements.push(statement); + } + } + addRange( + statements, + classStatements, + /*start*/ + 1 + ); + return factory2.restoreOuterExpressions( + node.expression, + factory2.restoreOuterExpressions( + variable.initializer, + factory2.restoreOuterExpressions( + aliasAssignment && aliasAssignment.right, + factory2.updateCallExpression( + call, + factory2.restoreOuterExpressions( + call.expression, + factory2.updateFunctionExpression( + func, + /*modifiers*/ + void 0, + /*asteriskToken*/ + void 0, + /*name*/ + void 0, + /*typeParameters*/ + void 0, + func.parameters, + /*type*/ + void 0, + factory2.updateBlock( + func.body, + statements + ) + ) + ), + /*typeArguments*/ + void 0, + call.arguments + ) + ) + ) + ); + } + function visitCallExpressionWithPotentialCapturedThisAssignment(node, assignToCapturedThis) { + if (node.transformFlags & 32768 /* ContainsRestOrSpread */ || node.expression.kind === 108 /* SuperKeyword */ || isSuperProperty(skipOuterExpressions(node.expression))) { + const { target, thisArg } = factory2.createCallBinding(node.expression, hoistVariableDeclaration); + if (node.expression.kind === 108 /* SuperKeyword */) { + setEmitFlags(thisArg, 8 /* NoSubstitution */); + } + let resultingCall; + if (node.transformFlags & 32768 /* ContainsRestOrSpread */) { + resultingCall = factory2.createFunctionApplyCall( + Debug.checkDefined(visitNode(target, callExpressionVisitor, isExpression)), + node.expression.kind === 108 /* SuperKeyword */ ? thisArg : Debug.checkDefined(visitNode(thisArg, visitor, isExpression)), + transformAndSpreadElements( + node.arguments, + /*isArgumentList*/ + true, + /*multiLine*/ + false, + /*hasTrailingComma*/ + false + ) + ); + } else { + resultingCall = setTextRange( + factory2.createFunctionCallCall( + Debug.checkDefined(visitNode(target, callExpressionVisitor, isExpression)), + node.expression.kind === 108 /* SuperKeyword */ ? thisArg : Debug.checkDefined(visitNode(thisArg, visitor, isExpression)), + visitNodes2(node.arguments, visitor, isExpression) + ), + node + ); + } + if (node.expression.kind === 108 /* SuperKeyword */) { + const initializer = factory2.createLogicalOr( + resultingCall, + createActualThis() + ); + resultingCall = assignToCapturedThis ? factory2.createAssignment(createCapturedThis(), initializer) : initializer; + } + return setOriginalNode(resultingCall, node); + } + if (isSuperCall(node)) { + hierarchyFacts |= 131072 /* CapturedLexicalThis */; + } + return visitEachChild(node, visitor, context); + } + function visitNewExpression(node) { + if (some(node.arguments, isSpreadElement)) { + const { target, thisArg } = factory2.createCallBinding(factory2.createPropertyAccessExpression(node.expression, "bind"), hoistVariableDeclaration); + return factory2.createNewExpression( + factory2.createFunctionApplyCall( + Debug.checkDefined(visitNode(target, visitor, isExpression)), + thisArg, + transformAndSpreadElements( + factory2.createNodeArray([factory2.createVoidZero(), ...node.arguments]), + /*isArgumentList*/ + true, + /*multiLine*/ + false, + /*hasTrailingComma*/ + false + ) + ), + /*typeArguments*/ + void 0, + [] + ); + } + return visitEachChild(node, visitor, context); + } + function transformAndSpreadElements(elements, isArgumentList, multiLine, hasTrailingComma) { + const numElements = elements.length; + const segments = flatten( + // As we visit each element, we return one of two functions to use as the "key": + // - `visitSpanOfSpreads` for one or more contiguous `...` spread expressions, i.e. `...a, ...b` in `[1, 2, ...a, ...b]` + // - `visitSpanOfNonSpreads` for one or more contiguous non-spread elements, i.e. `1, 2`, in `[1, 2, ...a, ...b]` + spanMap(elements, partitionSpread, (partition, visitPartition, _start, end) => visitPartition(partition, multiLine, hasTrailingComma && end === numElements)) + ); + if (segments.length === 1) { + const firstSegment = segments[0]; + if (isArgumentList && !compilerOptions.downlevelIteration || isPackedArrayLiteral(firstSegment.expression) || isCallToHelper(firstSegment.expression, "___spreadArray")) { + return firstSegment.expression; + } + } + const helpers = emitHelpers(); + const startsWithSpread = segments[0].kind !== 0 /* None */; + let expression = startsWithSpread ? factory2.createArrayLiteralExpression() : segments[0].expression; + for (let i = startsWithSpread ? 0 : 1; i < segments.length; i++) { + const segment = segments[i]; + expression = helpers.createSpreadArrayHelper( + expression, + segment.expression, + segment.kind === 1 /* UnpackedSpread */ && !isArgumentList + ); + } + return expression; + } + function partitionSpread(node) { + return isSpreadElement(node) ? visitSpanOfSpreads : visitSpanOfNonSpreads; + } + function visitSpanOfSpreads(chunk) { + return map(chunk, visitExpressionOfSpread); + } + function visitExpressionOfSpread(node) { + Debug.assertNode(node, isSpreadElement); + let expression = visitNode(node.expression, visitor, isExpression); + Debug.assert(expression); + const isCallToReadHelper = isCallToHelper(expression, "___read"); + let kind = isCallToReadHelper || isPackedArrayLiteral(expression) ? 2 /* PackedSpread */ : 1 /* UnpackedSpread */; + if (compilerOptions.downlevelIteration && kind === 1 /* UnpackedSpread */ && !isArrayLiteralExpression(expression) && !isCallToReadHelper) { + expression = emitHelpers().createReadHelper( + expression, + /*count*/ + void 0 + ); + kind = 2 /* PackedSpread */; + } + return createSpreadSegment(kind, expression); + } + function visitSpanOfNonSpreads(chunk, multiLine, hasTrailingComma) { + const expression = factory2.createArrayLiteralExpression( + visitNodes2(factory2.createNodeArray(chunk, hasTrailingComma), visitor, isExpression), + multiLine + ); + return createSpreadSegment(0 /* None */, expression); + } + function visitSpreadElement(node) { + return visitNode(node.expression, visitor, isExpression); + } + function visitTemplateLiteral(node) { + return setTextRange(factory2.createStringLiteral(node.text), node); + } + function visitStringLiteral(node) { + if (node.hasExtendedUnicodeEscape) { + return setTextRange(factory2.createStringLiteral(node.text), node); + } + return node; + } + function visitNumericLiteral(node) { + if (node.numericLiteralFlags & 384 /* BinaryOrOctalSpecifier */) { + return setTextRange(factory2.createNumericLiteral(node.text), node); + } + return node; + } + function visitTaggedTemplateExpression(node) { + return processTaggedTemplateExpression( + context, + node, + visitor, + currentSourceFile, + recordTaggedTemplateString, + 1 /* All */ + ); + } + function visitTemplateExpression(node) { + let expression = factory2.createStringLiteral(node.head.text); + for (const span of node.templateSpans) { + const args = [Debug.checkDefined(visitNode(span.expression, visitor, isExpression))]; + if (span.literal.text.length > 0) { + args.push(factory2.createStringLiteral(span.literal.text)); + } + expression = factory2.createCallExpression( + factory2.createPropertyAccessExpression(expression, "concat"), + /*typeArguments*/ + void 0, + args + ); + } + return setTextRange(expression, node); + } + function createSyntheticSuper() { + return factory2.createUniqueName("_super", 16 /* Optimistic */ | 32 /* FileLevel */); + } + function visitSuperKeyword(node, isExpressionOfCall) { + const expression = hierarchyFacts & 8 /* NonStaticClassElement */ && !isExpressionOfCall ? factory2.createPropertyAccessExpression(setOriginalNode(createSyntheticSuper(), node), "prototype") : createSyntheticSuper(); + setOriginalNode(expression, node); + setCommentRange(expression, node); + setSourceMapRange(expression, node); + return expression; + } + function visitMetaProperty(node) { + if (node.keywordToken === 105 /* NewKeyword */ && node.name.escapedText === "target") { + hierarchyFacts |= 32768 /* NewTarget */; + return factory2.createUniqueName("_newTarget", 16 /* Optimistic */ | 32 /* FileLevel */); + } + return node; + } + function onEmitNode(hint, node, emitCallback) { + if (enabledSubstitutions & 1 /* CapturedThis */ && isFunctionLike(node)) { + const ancestorFacts = enterSubtree( + 32670 /* FunctionExcludes */, + getEmitFlags(node) & 16 /* CapturesThis */ ? 65 /* FunctionIncludes */ | 16 /* CapturesThis */ : 65 /* FunctionIncludes */ + ); + previousOnEmitNode(hint, node, emitCallback); + exitSubtree(ancestorFacts, 0 /* None */, 0 /* None */); + return; + } + previousOnEmitNode(hint, node, emitCallback); + } + function enableSubstitutionsForBlockScopedBindings() { + if ((enabledSubstitutions & 2 /* BlockScopedBindings */) === 0) { + enabledSubstitutions |= 2 /* BlockScopedBindings */; + context.enableSubstitution(80 /* Identifier */); + } + } + function enableSubstitutionsForCapturedThis() { + if ((enabledSubstitutions & 1 /* CapturedThis */) === 0) { + enabledSubstitutions |= 1 /* CapturedThis */; + context.enableSubstitution(110 /* ThisKeyword */); + context.enableEmitNotification(176 /* Constructor */); + context.enableEmitNotification(174 /* MethodDeclaration */); + context.enableEmitNotification(177 /* GetAccessor */); + context.enableEmitNotification(178 /* SetAccessor */); + context.enableEmitNotification(219 /* ArrowFunction */); + context.enableEmitNotification(218 /* FunctionExpression */); + context.enableEmitNotification(262 /* FunctionDeclaration */); + } + } + function onSubstituteNode(hint, node) { + node = previousOnSubstituteNode(hint, node); + if (hint === 1 /* Expression */) { + return substituteExpression(node); + } + if (isIdentifier(node)) { + return substituteIdentifier(node); + } + return node; + } + function substituteIdentifier(node) { + if (enabledSubstitutions & 2 /* BlockScopedBindings */ && !isInternalName(node)) { + const original = getParseTreeNode(node, isIdentifier); + if (original && isNameOfDeclarationWithCollidingName(original)) { + return setTextRange(factory2.getGeneratedNameForNode(original), node); + } + } + return node; + } + function isNameOfDeclarationWithCollidingName(node) { + switch (node.parent.kind) { + case 208 /* BindingElement */: + case 263 /* ClassDeclaration */: + case 266 /* EnumDeclaration */: + case 260 /* VariableDeclaration */: + return node.parent.name === node && resolver.isDeclarationWithCollidingName(node.parent); + } + return false; + } + function substituteExpression(node) { + switch (node.kind) { + case 80 /* Identifier */: + return substituteExpressionIdentifier(node); + case 110 /* ThisKeyword */: + return substituteThisKeyword(node); + } + return node; + } + function substituteExpressionIdentifier(node) { + if (enabledSubstitutions & 2 /* BlockScopedBindings */ && !isInternalName(node)) { + const declaration = resolver.getReferencedDeclarationWithCollidingName(node); + if (declaration && !(isClassLike(declaration) && isPartOfClassBody(declaration, node))) { + return setTextRange(factory2.getGeneratedNameForNode(getNameOfDeclaration(declaration)), node); + } + } + return node; + } + function isPartOfClassBody(declaration, node) { + let currentNode = getParseTreeNode(node); + if (!currentNode || currentNode === declaration || currentNode.end <= declaration.pos || currentNode.pos >= declaration.end) { + return false; + } + const blockScope = getEnclosingBlockScopeContainer(declaration); + while (currentNode) { + if (currentNode === blockScope || currentNode === declaration) { + return false; + } + if (isClassElement(currentNode) && currentNode.parent === declaration) { + return true; + } + currentNode = currentNode.parent; + } + return false; + } + function substituteThisKeyword(node) { + if (enabledSubstitutions & 1 /* CapturedThis */ && hierarchyFacts & 16 /* CapturesThis */) { + return setTextRange(createCapturedThis(), node); + } + return node; + } + function getClassMemberPrefix(node, member) { + return isStatic(member) ? factory2.getInternalName(node) : factory2.createPropertyAccessExpression(factory2.getInternalName(node), "prototype"); + } + function hasSynthesizedDefaultSuperCall(constructor, hasExtendsClause) { + if (!constructor || !hasExtendsClause) { + return false; + } + if (some(constructor.parameters)) { + return false; + } + const statement = firstOrUndefined(constructor.body.statements); + if (!statement || !nodeIsSynthesized(statement) || statement.kind !== 244 /* ExpressionStatement */) { + return false; + } + const statementExpression = statement.expression; + if (!nodeIsSynthesized(statementExpression) || statementExpression.kind !== 213 /* CallExpression */) { + return false; + } + const callTarget = statementExpression.expression; + if (!nodeIsSynthesized(callTarget) || callTarget.kind !== 108 /* SuperKeyword */) { + return false; + } + const callArgument = singleOrUndefined(statementExpression.arguments); + if (!callArgument || !nodeIsSynthesized(callArgument) || callArgument.kind !== 230 /* SpreadElement */) { + return false; + } + const expression = callArgument.expression; + return isIdentifier(expression) && expression.escapedText === "arguments"; + } +} + +// src/compiler/transformers/generators.ts +function getInstructionName(instruction) { + switch (instruction) { + case 2 /* Return */: + return "return"; + case 3 /* Break */: + return "break"; + case 4 /* Yield */: + return "yield"; + case 5 /* YieldStar */: + return "yield*"; + case 7 /* Endfinally */: + return "endfinally"; + default: + return void 0; + } +} +function transformGenerators(context) { + const { + factory: factory2, + getEmitHelperFactory: emitHelpers, + resumeLexicalEnvironment, + endLexicalEnvironment, + hoistFunctionDeclaration, + hoistVariableDeclaration + } = context; + const compilerOptions = context.getCompilerOptions(); + const languageVersion = getEmitScriptTarget(compilerOptions); + const resolver = context.getEmitResolver(); + const previousOnSubstituteNode = context.onSubstituteNode; + context.onSubstituteNode = onSubstituteNode; + let renamedCatchVariables; + let renamedCatchVariableDeclarations; + let inGeneratorFunctionBody; + let inStatementContainingYield; + let blocks; + let blockOffsets; + let blockActions; + let blockStack; + let labelOffsets; + let labelExpressions; + let nextLabelId = 1; + let operations; + let operationArguments; + let operationLocations; + let state; + let blockIndex = 0; + let labelNumber = 0; + let labelNumbers; + let lastOperationWasAbrupt; + let lastOperationWasCompletion; + let clauses; + let statements; + let exceptionBlockStack; + let currentExceptionBlock; + let withBlockStack; + return chainBundle(context, transformSourceFile); + function transformSourceFile(node) { + if (node.isDeclarationFile || (node.transformFlags & 2048 /* ContainsGenerator */) === 0) { + return node; + } + const visited = visitEachChild(node, visitor, context); + addEmitHelpers(visited, context.readEmitHelpers()); + return visited; + } + function visitor(node) { + const transformFlags = node.transformFlags; + if (inStatementContainingYield) { + return visitJavaScriptInStatementContainingYield(node); + } else if (inGeneratorFunctionBody) { + return visitJavaScriptInGeneratorFunctionBody(node); + } else if (isFunctionLikeDeclaration(node) && node.asteriskToken) { + return visitGenerator(node); + } else if (transformFlags & 2048 /* ContainsGenerator */) { + return visitEachChild(node, visitor, context); + } else { + return node; + } + } + function visitJavaScriptInStatementContainingYield(node) { + switch (node.kind) { + case 246 /* DoStatement */: + return visitDoStatement(node); + case 247 /* WhileStatement */: + return visitWhileStatement(node); + case 255 /* SwitchStatement */: + return visitSwitchStatement(node); + case 256 /* LabeledStatement */: + return visitLabeledStatement(node); + default: + return visitJavaScriptInGeneratorFunctionBody(node); + } + } + function visitJavaScriptInGeneratorFunctionBody(node) { + switch (node.kind) { + case 262 /* FunctionDeclaration */: + return visitFunctionDeclaration(node); + case 218 /* FunctionExpression */: + return visitFunctionExpression(node); + case 177 /* GetAccessor */: + case 178 /* SetAccessor */: + return visitAccessorDeclaration(node); + case 243 /* VariableStatement */: + return visitVariableStatement(node); + case 248 /* ForStatement */: + return visitForStatement(node); + case 249 /* ForInStatement */: + return visitForInStatement(node); + case 252 /* BreakStatement */: + return visitBreakStatement(node); + case 251 /* ContinueStatement */: + return visitContinueStatement(node); + case 253 /* ReturnStatement */: + return visitReturnStatement(node); + default: + if (node.transformFlags & 1048576 /* ContainsYield */) { + return visitJavaScriptContainingYield(node); + } else if (node.transformFlags & (2048 /* ContainsGenerator */ | 4194304 /* ContainsHoistedDeclarationOrCompletion */)) { + return visitEachChild(node, visitor, context); + } else { + return node; + } + } + } + function visitJavaScriptContainingYield(node) { + switch (node.kind) { + case 226 /* BinaryExpression */: + return visitBinaryExpression(node); + case 356 /* CommaListExpression */: + return visitCommaListExpression(node); + case 227 /* ConditionalExpression */: + return visitConditionalExpression(node); + case 229 /* YieldExpression */: + return visitYieldExpression(node); + case 209 /* ArrayLiteralExpression */: + return visitArrayLiteralExpression(node); + case 210 /* ObjectLiteralExpression */: + return visitObjectLiteralExpression(node); + case 212 /* ElementAccessExpression */: + return visitElementAccessExpression(node); + case 213 /* CallExpression */: + return visitCallExpression(node); + case 214 /* NewExpression */: + return visitNewExpression(node); + default: + return visitEachChild(node, visitor, context); + } + } + function visitGenerator(node) { + switch (node.kind) { + case 262 /* FunctionDeclaration */: + return visitFunctionDeclaration(node); + case 218 /* FunctionExpression */: + return visitFunctionExpression(node); + default: + return Debug.failBadSyntaxKind(node); + } + } + function visitFunctionDeclaration(node) { + if (node.asteriskToken) { + node = setOriginalNode( + setTextRange( + factory2.createFunctionDeclaration( + node.modifiers, + /*asteriskToken*/ + void 0, + node.name, + /*typeParameters*/ + void 0, + visitParameterList(node.parameters, visitor, context), + /*type*/ + void 0, + transformGeneratorFunctionBody(node.body) + ), + /*location*/ + node + ), + node + ); + } else { + const savedInGeneratorFunctionBody = inGeneratorFunctionBody; + const savedInStatementContainingYield = inStatementContainingYield; + inGeneratorFunctionBody = false; + inStatementContainingYield = false; + node = visitEachChild(node, visitor, context); + inGeneratorFunctionBody = savedInGeneratorFunctionBody; + inStatementContainingYield = savedInStatementContainingYield; + } + if (inGeneratorFunctionBody) { + hoistFunctionDeclaration(node); + return void 0; + } else { + return node; + } + } + function visitFunctionExpression(node) { + if (node.asteriskToken) { + node = setOriginalNode( + setTextRange( + factory2.createFunctionExpression( + /*modifiers*/ + void 0, + /*asteriskToken*/ + void 0, + node.name, + /*typeParameters*/ + void 0, + visitParameterList(node.parameters, visitor, context), + /*type*/ + void 0, + transformGeneratorFunctionBody(node.body) + ), + /*location*/ + node + ), + node + ); + } else { + const savedInGeneratorFunctionBody = inGeneratorFunctionBody; + const savedInStatementContainingYield = inStatementContainingYield; + inGeneratorFunctionBody = false; + inStatementContainingYield = false; + node = visitEachChild(node, visitor, context); + inGeneratorFunctionBody = savedInGeneratorFunctionBody; + inStatementContainingYield = savedInStatementContainingYield; + } + return node; + } + function visitAccessorDeclaration(node) { + const savedInGeneratorFunctionBody = inGeneratorFunctionBody; + const savedInStatementContainingYield = inStatementContainingYield; + inGeneratorFunctionBody = false; + inStatementContainingYield = false; + node = visitEachChild(node, visitor, context); + inGeneratorFunctionBody = savedInGeneratorFunctionBody; + inStatementContainingYield = savedInStatementContainingYield; + return node; + } + function transformGeneratorFunctionBody(body) { + const statements2 = []; + const savedInGeneratorFunctionBody = inGeneratorFunctionBody; + const savedInStatementContainingYield = inStatementContainingYield; + const savedBlocks = blocks; + const savedBlockOffsets = blockOffsets; + const savedBlockActions = blockActions; + const savedBlockStack = blockStack; + const savedLabelOffsets = labelOffsets; + const savedLabelExpressions = labelExpressions; + const savedNextLabelId = nextLabelId; + const savedOperations = operations; + const savedOperationArguments = operationArguments; + const savedOperationLocations = operationLocations; + const savedState = state; + inGeneratorFunctionBody = true; + inStatementContainingYield = false; + blocks = void 0; + blockOffsets = void 0; + blockActions = void 0; + blockStack = void 0; + labelOffsets = void 0; + labelExpressions = void 0; + nextLabelId = 1; + operations = void 0; + operationArguments = void 0; + operationLocations = void 0; + state = factory2.createTempVariable( + /*recordTempVariable*/ + void 0 + ); + resumeLexicalEnvironment(); + const statementOffset = factory2.copyPrologue( + body.statements, + statements2, + /*ensureUseStrict*/ + false, + visitor + ); + transformAndEmitStatements(body.statements, statementOffset); + const buildResult = build2(); + insertStatementsAfterStandardPrologue(statements2, endLexicalEnvironment()); + statements2.push(factory2.createReturnStatement(buildResult)); + inGeneratorFunctionBody = savedInGeneratorFunctionBody; + inStatementContainingYield = savedInStatementContainingYield; + blocks = savedBlocks; + blockOffsets = savedBlockOffsets; + blockActions = savedBlockActions; + blockStack = savedBlockStack; + labelOffsets = savedLabelOffsets; + labelExpressions = savedLabelExpressions; + nextLabelId = savedNextLabelId; + operations = savedOperations; + operationArguments = savedOperationArguments; + operationLocations = savedOperationLocations; + state = savedState; + return setTextRange(factory2.createBlock(statements2, body.multiLine), body); + } + function visitVariableStatement(node) { + if (node.transformFlags & 1048576 /* ContainsYield */) { + transformAndEmitVariableDeclarationList(node.declarationList); + return void 0; + } else { + if (getEmitFlags(node) & 2097152 /* CustomPrologue */) { + return node; + } + for (const variable of node.declarationList.declarations) { + hoistVariableDeclaration(variable.name); + } + const variables = getInitializedVariables(node.declarationList); + if (variables.length === 0) { + return void 0; + } + return setSourceMapRange( + factory2.createExpressionStatement( + factory2.inlineExpressions( + map(variables, transformInitializedVariable) + ) + ), + node + ); + } + } + function visitBinaryExpression(node) { + const assoc = getExpressionAssociativity(node); + switch (assoc) { + case 0 /* Left */: + return visitLeftAssociativeBinaryExpression(node); + case 1 /* Right */: + return visitRightAssociativeBinaryExpression(node); + default: + return Debug.assertNever(assoc); + } + } + function visitRightAssociativeBinaryExpression(node) { + const { left, right } = node; + if (containsYield(right)) { + let target; + switch (left.kind) { + case 211 /* PropertyAccessExpression */: + target = factory2.updatePropertyAccessExpression( + left, + cacheExpression(Debug.checkDefined(visitNode(left.expression, visitor, isLeftHandSideExpression))), + left.name + ); + break; + case 212 /* ElementAccessExpression */: + target = factory2.updateElementAccessExpression(left, cacheExpression(Debug.checkDefined(visitNode(left.expression, visitor, isLeftHandSideExpression))), cacheExpression(Debug.checkDefined(visitNode(left.argumentExpression, visitor, isExpression)))); + break; + default: + target = Debug.checkDefined(visitNode(left, visitor, isExpression)); + break; + } + const operator = node.operatorToken.kind; + if (isCompoundAssignment(operator)) { + return setTextRange( + factory2.createAssignment( + target, + setTextRange( + factory2.createBinaryExpression( + cacheExpression(target), + getNonAssignmentOperatorForCompoundAssignment(operator), + Debug.checkDefined(visitNode(right, visitor, isExpression)) + ), + node + ) + ), + node + ); + } else { + return factory2.updateBinaryExpression(node, target, node.operatorToken, Debug.checkDefined(visitNode(right, visitor, isExpression))); + } + } + return visitEachChild(node, visitor, context); + } + function visitLeftAssociativeBinaryExpression(node) { + if (containsYield(node.right)) { + if (isLogicalOperator(node.operatorToken.kind)) { + return visitLogicalBinaryExpression(node); + } else if (node.operatorToken.kind === 28 /* CommaToken */) { + return visitCommaExpression(node); + } + return factory2.updateBinaryExpression(node, cacheExpression(Debug.checkDefined(visitNode(node.left, visitor, isExpression))), node.operatorToken, Debug.checkDefined(visitNode(node.right, visitor, isExpression))); + } + return visitEachChild(node, visitor, context); + } + function visitCommaExpression(node) { + let pendingExpressions = []; + visit(node.left); + visit(node.right); + return factory2.inlineExpressions(pendingExpressions); + function visit(node2) { + if (isBinaryExpression(node2) && node2.operatorToken.kind === 28 /* CommaToken */) { + visit(node2.left); + visit(node2.right); + } else { + if (containsYield(node2) && pendingExpressions.length > 0) { + emitWorker(1 /* Statement */, [factory2.createExpressionStatement(factory2.inlineExpressions(pendingExpressions))]); + pendingExpressions = []; + } + pendingExpressions.push(Debug.checkDefined(visitNode(node2, visitor, isExpression))); + } + } + } + function visitCommaListExpression(node) { + let pendingExpressions = []; + for (const elem of node.elements) { + if (isBinaryExpression(elem) && elem.operatorToken.kind === 28 /* CommaToken */) { + pendingExpressions.push(visitCommaExpression(elem)); + } else { + if (containsYield(elem) && pendingExpressions.length > 0) { + emitWorker(1 /* Statement */, [factory2.createExpressionStatement(factory2.inlineExpressions(pendingExpressions))]); + pendingExpressions = []; + } + pendingExpressions.push(Debug.checkDefined(visitNode(elem, visitor, isExpression))); + } + } + return factory2.inlineExpressions(pendingExpressions); + } + function visitLogicalBinaryExpression(node) { + const resultLabel = defineLabel(); + const resultLocal = declareLocal(); + emitAssignment( + resultLocal, + Debug.checkDefined(visitNode(node.left, visitor, isExpression)), + /*location*/ + node.left + ); + if (node.operatorToken.kind === 56 /* AmpersandAmpersandToken */) { + emitBreakWhenFalse( + resultLabel, + resultLocal, + /*location*/ + node.left + ); + } else { + emitBreakWhenTrue( + resultLabel, + resultLocal, + /*location*/ + node.left + ); + } + emitAssignment( + resultLocal, + Debug.checkDefined(visitNode(node.right, visitor, isExpression)), + /*location*/ + node.right + ); + markLabel(resultLabel); + return resultLocal; + } + function visitConditionalExpression(node) { + if (containsYield(node.whenTrue) || containsYield(node.whenFalse)) { + const whenFalseLabel = defineLabel(); + const resultLabel = defineLabel(); + const resultLocal = declareLocal(); + emitBreakWhenFalse( + whenFalseLabel, + Debug.checkDefined(visitNode(node.condition, visitor, isExpression)), + /*location*/ + node.condition + ); + emitAssignment( + resultLocal, + Debug.checkDefined(visitNode(node.whenTrue, visitor, isExpression)), + /*location*/ + node.whenTrue + ); + emitBreak(resultLabel); + markLabel(whenFalseLabel); + emitAssignment( + resultLocal, + Debug.checkDefined(visitNode(node.whenFalse, visitor, isExpression)), + /*location*/ + node.whenFalse + ); + markLabel(resultLabel); + return resultLocal; + } + return visitEachChild(node, visitor, context); + } + function visitYieldExpression(node) { + const resumeLabel = defineLabel(); + const expression = visitNode(node.expression, visitor, isExpression); + if (node.asteriskToken) { + const iterator = (getEmitFlags(node.expression) & 8388608 /* Iterator */) === 0 ? setTextRange(emitHelpers().createValuesHelper(expression), node) : expression; + emitYieldStar( + iterator, + /*location*/ + node + ); + } else { + emitYield( + expression, + /*location*/ + node + ); + } + markLabel(resumeLabel); + return createGeneratorResume( + /*location*/ + node + ); + } + function visitArrayLiteralExpression(node) { + return visitElements( + node.elements, + /*leadingElement*/ + void 0, + /*location*/ + void 0, + node.multiLine + ); + } + function visitElements(elements, leadingElement, location, multiLine) { + const numInitialElements = countInitialNodesWithoutYield(elements); + let temp; + if (numInitialElements > 0) { + temp = declareLocal(); + const initialElements = visitNodes2(elements, visitor, isExpression, 0, numInitialElements); + emitAssignment( + temp, + factory2.createArrayLiteralExpression( + leadingElement ? [leadingElement, ...initialElements] : initialElements + ) + ); + leadingElement = void 0; + } + const expressions = reduceLeft(elements, reduceElement, [], numInitialElements); + return temp ? factory2.createArrayConcatCall(temp, [factory2.createArrayLiteralExpression(expressions, multiLine)]) : setTextRange( + factory2.createArrayLiteralExpression(leadingElement ? [leadingElement, ...expressions] : expressions, multiLine), + location + ); + function reduceElement(expressions2, element) { + if (containsYield(element) && expressions2.length > 0) { + const hasAssignedTemp = temp !== void 0; + if (!temp) { + temp = declareLocal(); + } + emitAssignment( + temp, + hasAssignedTemp ? factory2.createArrayConcatCall( + temp, + [factory2.createArrayLiteralExpression(expressions2, multiLine)] + ) : factory2.createArrayLiteralExpression( + leadingElement ? [leadingElement, ...expressions2] : expressions2, + multiLine + ) + ); + leadingElement = void 0; + expressions2 = []; + } + expressions2.push(Debug.checkDefined(visitNode(element, visitor, isExpression))); + return expressions2; + } + } + function visitObjectLiteralExpression(node) { + const properties = node.properties; + const multiLine = node.multiLine; + const numInitialProperties = countInitialNodesWithoutYield(properties); + const temp = declareLocal(); + emitAssignment( + temp, + factory2.createObjectLiteralExpression( + visitNodes2(properties, visitor, isObjectLiteralElementLike, 0, numInitialProperties), + multiLine + ) + ); + const expressions = reduceLeft(properties, reduceProperty, [], numInitialProperties); + expressions.push(multiLine ? startOnNewLine(setParent(setTextRange(factory2.cloneNode(temp), temp), temp.parent)) : temp); + return factory2.inlineExpressions(expressions); + function reduceProperty(expressions2, property) { + if (containsYield(property) && expressions2.length > 0) { + emitStatement(factory2.createExpressionStatement(factory2.inlineExpressions(expressions2))); + expressions2 = []; + } + const expression = createExpressionForObjectLiteralElementLike(factory2, node, property, temp); + const visited = visitNode(expression, visitor, isExpression); + if (visited) { + if (multiLine) { + startOnNewLine(visited); + } + expressions2.push(visited); + } + return expressions2; + } + } + function visitElementAccessExpression(node) { + if (containsYield(node.argumentExpression)) { + return factory2.updateElementAccessExpression(node, cacheExpression(Debug.checkDefined(visitNode(node.expression, visitor, isLeftHandSideExpression))), Debug.checkDefined(visitNode(node.argumentExpression, visitor, isExpression))); + } + return visitEachChild(node, visitor, context); + } + function visitCallExpression(node) { + if (!isImportCall(node) && forEach(node.arguments, containsYield)) { + const { target, thisArg } = factory2.createCallBinding( + node.expression, + hoistVariableDeclaration, + languageVersion, + /*cacheIdentifiers*/ + true + ); + return setOriginalNode( + setTextRange( + factory2.createFunctionApplyCall( + cacheExpression(Debug.checkDefined(visitNode(target, visitor, isLeftHandSideExpression))), + thisArg, + visitElements(node.arguments) + ), + node + ), + node + ); + } + return visitEachChild(node, visitor, context); + } + function visitNewExpression(node) { + if (forEach(node.arguments, containsYield)) { + const { target, thisArg } = factory2.createCallBinding(factory2.createPropertyAccessExpression(node.expression, "bind"), hoistVariableDeclaration); + return setOriginalNode( + setTextRange( + factory2.createNewExpression( + factory2.createFunctionApplyCall( + cacheExpression(Debug.checkDefined(visitNode(target, visitor, isExpression))), + thisArg, + visitElements( + node.arguments, + /*leadingElement*/ + factory2.createVoidZero() + ) + ), + /*typeArguments*/ + void 0, + [] + ), + node + ), + node + ); + } + return visitEachChild(node, visitor, context); + } + function transformAndEmitStatements(statements2, start = 0) { + const numStatements = statements2.length; + for (let i = start; i < numStatements; i++) { + transformAndEmitStatement(statements2[i]); + } + } + function transformAndEmitEmbeddedStatement(node) { + if (isBlock(node)) { + transformAndEmitStatements(node.statements); + } else { + transformAndEmitStatement(node); + } + } + function transformAndEmitStatement(node) { + const savedInStatementContainingYield = inStatementContainingYield; + if (!inStatementContainingYield) { + inStatementContainingYield = containsYield(node); + } + transformAndEmitStatementWorker(node); + inStatementContainingYield = savedInStatementContainingYield; + } + function transformAndEmitStatementWorker(node) { + switch (node.kind) { + case 241 /* Block */: + return transformAndEmitBlock(node); + case 244 /* ExpressionStatement */: + return transformAndEmitExpressionStatement(node); + case 245 /* IfStatement */: + return transformAndEmitIfStatement(node); + case 246 /* DoStatement */: + return transformAndEmitDoStatement(node); + case 247 /* WhileStatement */: + return transformAndEmitWhileStatement(node); + case 248 /* ForStatement */: + return transformAndEmitForStatement(node); + case 249 /* ForInStatement */: + return transformAndEmitForInStatement(node); + case 251 /* ContinueStatement */: + return transformAndEmitContinueStatement(node); + case 252 /* BreakStatement */: + return transformAndEmitBreakStatement(node); + case 253 /* ReturnStatement */: + return transformAndEmitReturnStatement(node); + case 254 /* WithStatement */: + return transformAndEmitWithStatement(node); + case 255 /* SwitchStatement */: + return transformAndEmitSwitchStatement(node); + case 256 /* LabeledStatement */: + return transformAndEmitLabeledStatement(node); + case 257 /* ThrowStatement */: + return transformAndEmitThrowStatement(node); + case 258 /* TryStatement */: + return transformAndEmitTryStatement(node); + default: + return emitStatement(visitNode(node, visitor, isStatement)); + } + } + function transformAndEmitBlock(node) { + if (containsYield(node)) { + transformAndEmitStatements(node.statements); + } else { + emitStatement(visitNode(node, visitor, isStatement)); + } + } + function transformAndEmitExpressionStatement(node) { + emitStatement(visitNode(node, visitor, isStatement)); + } + function transformAndEmitVariableDeclarationList(node) { + for (const variable of node.declarations) { + const name = factory2.cloneNode(variable.name); + setCommentRange(name, variable.name); + hoistVariableDeclaration(name); + } + const variables = getInitializedVariables(node); + const numVariables = variables.length; + let variablesWritten = 0; + let pendingExpressions = []; + while (variablesWritten < numVariables) { + for (let i = variablesWritten; i < numVariables; i++) { + const variable = variables[i]; + if (containsYield(variable.initializer) && pendingExpressions.length > 0) { + break; + } + pendingExpressions.push(transformInitializedVariable(variable)); + } + if (pendingExpressions.length) { + emitStatement(factory2.createExpressionStatement(factory2.inlineExpressions(pendingExpressions))); + variablesWritten += pendingExpressions.length; + pendingExpressions = []; + } + } + return void 0; + } + function transformInitializedVariable(node) { + return setSourceMapRange( + factory2.createAssignment( + setSourceMapRange(factory2.cloneNode(node.name), node.name), + Debug.checkDefined(visitNode(node.initializer, visitor, isExpression)) + ), + node + ); + } + function transformAndEmitIfStatement(node) { + if (containsYield(node)) { + if (containsYield(node.thenStatement) || containsYield(node.elseStatement)) { + const endLabel = defineLabel(); + const elseLabel = node.elseStatement ? defineLabel() : void 0; + emitBreakWhenFalse( + node.elseStatement ? elseLabel : endLabel, + Debug.checkDefined(visitNode(node.expression, visitor, isExpression)), + /*location*/ + node.expression + ); + transformAndEmitEmbeddedStatement(node.thenStatement); + if (node.elseStatement) { + emitBreak(endLabel); + markLabel(elseLabel); + transformAndEmitEmbeddedStatement(node.elseStatement); + } + markLabel(endLabel); + } else { + emitStatement(visitNode(node, visitor, isStatement)); + } + } else { + emitStatement(visitNode(node, visitor, isStatement)); + } + } + function transformAndEmitDoStatement(node) { + if (containsYield(node)) { + const conditionLabel = defineLabel(); + const loopLabel = defineLabel(); + beginLoopBlock( + /*continueLabel*/ + conditionLabel + ); + markLabel(loopLabel); + transformAndEmitEmbeddedStatement(node.statement); + markLabel(conditionLabel); + emitBreakWhenTrue(loopLabel, Debug.checkDefined(visitNode(node.expression, visitor, isExpression))); + endLoopBlock(); + } else { + emitStatement(visitNode(node, visitor, isStatement)); + } + } + function visitDoStatement(node) { + if (inStatementContainingYield) { + beginScriptLoopBlock(); + node = visitEachChild(node, visitor, context); + endLoopBlock(); + return node; + } else { + return visitEachChild(node, visitor, context); + } + } + function transformAndEmitWhileStatement(node) { + if (containsYield(node)) { + const loopLabel = defineLabel(); + const endLabel = beginLoopBlock(loopLabel); + markLabel(loopLabel); + emitBreakWhenFalse(endLabel, Debug.checkDefined(visitNode(node.expression, visitor, isExpression))); + transformAndEmitEmbeddedStatement(node.statement); + emitBreak(loopLabel); + endLoopBlock(); + } else { + emitStatement(visitNode(node, visitor, isStatement)); + } + } + function visitWhileStatement(node) { + if (inStatementContainingYield) { + beginScriptLoopBlock(); + node = visitEachChild(node, visitor, context); + endLoopBlock(); + return node; + } else { + return visitEachChild(node, visitor, context); + } + } + function transformAndEmitForStatement(node) { + if (containsYield(node)) { + const conditionLabel = defineLabel(); + const incrementLabel = defineLabel(); + const endLabel = beginLoopBlock(incrementLabel); + if (node.initializer) { + const initializer = node.initializer; + if (isVariableDeclarationList(initializer)) { + transformAndEmitVariableDeclarationList(initializer); + } else { + emitStatement( + setTextRange( + factory2.createExpressionStatement( + Debug.checkDefined(visitNode(initializer, visitor, isExpression)) + ), + initializer + ) + ); + } + } + markLabel(conditionLabel); + if (node.condition) { + emitBreakWhenFalse(endLabel, Debug.checkDefined(visitNode(node.condition, visitor, isExpression))); + } + transformAndEmitEmbeddedStatement(node.statement); + markLabel(incrementLabel); + if (node.incrementor) { + emitStatement( + setTextRange( + factory2.createExpressionStatement( + Debug.checkDefined(visitNode(node.incrementor, visitor, isExpression)) + ), + node.incrementor + ) + ); + } + emitBreak(conditionLabel); + endLoopBlock(); + } else { + emitStatement(visitNode(node, visitor, isStatement)); + } + } + function visitForStatement(node) { + if (inStatementContainingYield) { + beginScriptLoopBlock(); + } + const initializer = node.initializer; + if (initializer && isVariableDeclarationList(initializer)) { + for (const variable of initializer.declarations) { + hoistVariableDeclaration(variable.name); + } + const variables = getInitializedVariables(initializer); + node = factory2.updateForStatement( + node, + variables.length > 0 ? factory2.inlineExpressions(map(variables, transformInitializedVariable)) : void 0, + visitNode(node.condition, visitor, isExpression), + visitNode(node.incrementor, visitor, isExpression), + visitIterationBody(node.statement, visitor, context) + ); + } else { + node = visitEachChild(node, visitor, context); + } + if (inStatementContainingYield) { + endLoopBlock(); + } + return node; + } + function transformAndEmitForInStatement(node) { + if (containsYield(node)) { + const obj = declareLocal(); + const keysArray = declareLocal(); + const key = declareLocal(); + const keysIndex = factory2.createLoopVariable(); + const initializer = node.initializer; + hoistVariableDeclaration(keysIndex); + emitAssignment(obj, Debug.checkDefined(visitNode(node.expression, visitor, isExpression))); + emitAssignment(keysArray, factory2.createArrayLiteralExpression()); + emitStatement( + factory2.createForInStatement( + key, + obj, + factory2.createExpressionStatement( + factory2.createCallExpression( + factory2.createPropertyAccessExpression(keysArray, "push"), + /*typeArguments*/ + void 0, + [key] + ) + ) + ) + ); + emitAssignment(keysIndex, factory2.createNumericLiteral(0)); + const conditionLabel = defineLabel(); + const incrementLabel = defineLabel(); + const endLoopLabel = beginLoopBlock(incrementLabel); + markLabel(conditionLabel); + emitBreakWhenFalse(endLoopLabel, factory2.createLessThan(keysIndex, factory2.createPropertyAccessExpression(keysArray, "length"))); + emitAssignment(key, factory2.createElementAccessExpression(keysArray, keysIndex)); + emitBreakWhenFalse(incrementLabel, factory2.createBinaryExpression(key, 103 /* InKeyword */, obj)); + let variable; + if (isVariableDeclarationList(initializer)) { + for (const variable2 of initializer.declarations) { + hoistVariableDeclaration(variable2.name); + } + variable = factory2.cloneNode(initializer.declarations[0].name); + } else { + variable = Debug.checkDefined(visitNode(initializer, visitor, isExpression)); + Debug.assert(isLeftHandSideExpression(variable)); + } + emitAssignment(variable, key); + transformAndEmitEmbeddedStatement(node.statement); + markLabel(incrementLabel); + emitStatement(factory2.createExpressionStatement(factory2.createPostfixIncrement(keysIndex))); + emitBreak(conditionLabel); + endLoopBlock(); + } else { + emitStatement(visitNode(node, visitor, isStatement)); + } + } + function visitForInStatement(node) { + if (inStatementContainingYield) { + beginScriptLoopBlock(); + } + const initializer = node.initializer; + if (isVariableDeclarationList(initializer)) { + for (const variable of initializer.declarations) { + hoistVariableDeclaration(variable.name); + } + node = factory2.updateForInStatement(node, initializer.declarations[0].name, Debug.checkDefined(visitNode(node.expression, visitor, isExpression)), Debug.checkDefined(visitNode(node.statement, visitor, isStatement, factory2.liftToBlock))); + } else { + node = visitEachChild(node, visitor, context); + } + if (inStatementContainingYield) { + endLoopBlock(); + } + return node; + } + function transformAndEmitContinueStatement(node) { + const label = findContinueTarget(node.label ? idText(node.label) : void 0); + if (label > 0) { + emitBreak( + label, + /*location*/ + node + ); + } else { + emitStatement(node); + } + } + function visitContinueStatement(node) { + if (inStatementContainingYield) { + const label = findContinueTarget(node.label && idText(node.label)); + if (label > 0) { + return createInlineBreak( + label, + /*location*/ + node + ); + } + } + return visitEachChild(node, visitor, context); + } + function transformAndEmitBreakStatement(node) { + const label = findBreakTarget(node.label ? idText(node.label) : void 0); + if (label > 0) { + emitBreak( + label, + /*location*/ + node + ); + } else { + emitStatement(node); + } + } + function visitBreakStatement(node) { + if (inStatementContainingYield) { + const label = findBreakTarget(node.label && idText(node.label)); + if (label > 0) { + return createInlineBreak( + label, + /*location*/ + node + ); + } + } + return visitEachChild(node, visitor, context); + } + function transformAndEmitReturnStatement(node) { + emitReturn( + visitNode(node.expression, visitor, isExpression), + /*location*/ + node + ); + } + function visitReturnStatement(node) { + return createInlineReturn( + visitNode(node.expression, visitor, isExpression), + /*location*/ + node + ); + } + function transformAndEmitWithStatement(node) { + if (containsYield(node)) { + beginWithBlock(cacheExpression(Debug.checkDefined(visitNode(node.expression, visitor, isExpression)))); + transformAndEmitEmbeddedStatement(node.statement); + endWithBlock(); + } else { + emitStatement(visitNode(node, visitor, isStatement)); + } + } + function transformAndEmitSwitchStatement(node) { + if (containsYield(node.caseBlock)) { + const caseBlock = node.caseBlock; + const numClauses = caseBlock.clauses.length; + const endLabel = beginSwitchBlock(); + const expression = cacheExpression(Debug.checkDefined(visitNode(node.expression, visitor, isExpression))); + const clauseLabels = []; + let defaultClauseIndex = -1; + for (let i = 0; i < numClauses; i++) { + const clause = caseBlock.clauses[i]; + clauseLabels.push(defineLabel()); + if (clause.kind === 297 /* DefaultClause */ && defaultClauseIndex === -1) { + defaultClauseIndex = i; + } + } + let clausesWritten = 0; + let pendingClauses = []; + while (clausesWritten < numClauses) { + let defaultClausesSkipped = 0; + for (let i = clausesWritten; i < numClauses; i++) { + const clause = caseBlock.clauses[i]; + if (clause.kind === 296 /* CaseClause */) { + if (containsYield(clause.expression) && pendingClauses.length > 0) { + break; + } + pendingClauses.push( + factory2.createCaseClause( + Debug.checkDefined(visitNode(clause.expression, visitor, isExpression)), + [ + createInlineBreak( + clauseLabels[i], + /*location*/ + clause.expression + ) + ] + ) + ); + } else { + defaultClausesSkipped++; + } + } + if (pendingClauses.length) { + emitStatement(factory2.createSwitchStatement(expression, factory2.createCaseBlock(pendingClauses))); + clausesWritten += pendingClauses.length; + pendingClauses = []; + } + if (defaultClausesSkipped > 0) { + clausesWritten += defaultClausesSkipped; + defaultClausesSkipped = 0; + } + } + if (defaultClauseIndex >= 0) { + emitBreak(clauseLabels[defaultClauseIndex]); + } else { + emitBreak(endLabel); + } + for (let i = 0; i < numClauses; i++) { + markLabel(clauseLabels[i]); + transformAndEmitStatements(caseBlock.clauses[i].statements); + } + endSwitchBlock(); + } else { + emitStatement(visitNode(node, visitor, isStatement)); + } + } + function visitSwitchStatement(node) { + if (inStatementContainingYield) { + beginScriptSwitchBlock(); + } + node = visitEachChild(node, visitor, context); + if (inStatementContainingYield) { + endSwitchBlock(); + } + return node; + } + function transformAndEmitLabeledStatement(node) { + if (containsYield(node)) { + beginLabeledBlock(idText(node.label)); + transformAndEmitEmbeddedStatement(node.statement); + endLabeledBlock(); + } else { + emitStatement(visitNode(node, visitor, isStatement)); + } + } + function visitLabeledStatement(node) { + if (inStatementContainingYield) { + beginScriptLabeledBlock(idText(node.label)); + } + node = visitEachChild(node, visitor, context); + if (inStatementContainingYield) { + endLabeledBlock(); + } + return node; + } + function transformAndEmitThrowStatement(node) { + emitThrow( + Debug.checkDefined(visitNode(node.expression ?? factory2.createVoidZero(), visitor, isExpression)), + /*location*/ + node + ); + } + function transformAndEmitTryStatement(node) { + if (containsYield(node)) { + beginExceptionBlock(); + transformAndEmitEmbeddedStatement(node.tryBlock); + if (node.catchClause) { + beginCatchBlock(node.catchClause.variableDeclaration); + transformAndEmitEmbeddedStatement(node.catchClause.block); + } + if (node.finallyBlock) { + beginFinallyBlock(); + transformAndEmitEmbeddedStatement(node.finallyBlock); + } + endExceptionBlock(); + } else { + emitStatement(visitEachChild(node, visitor, context)); + } + } + function containsYield(node) { + return !!node && (node.transformFlags & 1048576 /* ContainsYield */) !== 0; + } + function countInitialNodesWithoutYield(nodes) { + const numNodes = nodes.length; + for (let i = 0; i < numNodes; i++) { + if (containsYield(nodes[i])) { + return i; + } + } + return -1; + } + function onSubstituteNode(hint, node) { + node = previousOnSubstituteNode(hint, node); + if (hint === 1 /* Expression */) { + return substituteExpression(node); + } + return node; + } + function substituteExpression(node) { + if (isIdentifier(node)) { + return substituteExpressionIdentifier(node); + } + return node; + } + function substituteExpressionIdentifier(node) { + if (!isGeneratedIdentifier(node) && renamedCatchVariables && renamedCatchVariables.has(idText(node))) { + const original = getOriginalNode(node); + if (isIdentifier(original) && original.parent) { + const declaration = resolver.getReferencedValueDeclaration(original); + if (declaration) { + const name = renamedCatchVariableDeclarations[getOriginalNodeId(declaration)]; + if (name) { + const clone = setParent(setTextRange(factory2.cloneNode(name), name), name.parent); + setSourceMapRange(clone, node); + setCommentRange(clone, node); + return clone; + } + } + } + } + return node; + } + function cacheExpression(node) { + if (isGeneratedIdentifier(node) || getEmitFlags(node) & 8192 /* HelperName */) { + return node; + } + const temp = factory2.createTempVariable(hoistVariableDeclaration); + emitAssignment( + temp, + node, + /*location*/ + node + ); + return temp; + } + function declareLocal(name) { + const temp = name ? factory2.createUniqueName(name) : factory2.createTempVariable( + /*recordTempVariable*/ + void 0 + ); + hoistVariableDeclaration(temp); + return temp; + } + function defineLabel() { + if (!labelOffsets) { + labelOffsets = []; + } + const label = nextLabelId; + nextLabelId++; + labelOffsets[label] = -1; + return label; + } + function markLabel(label) { + Debug.assert(labelOffsets !== void 0, "No labels were defined."); + labelOffsets[label] = operations ? operations.length : 0; + } + function beginBlock(block) { + if (!blocks) { + blocks = []; + blockActions = []; + blockOffsets = []; + blockStack = []; + } + const index = blockActions.length; + blockActions[index] = 0 /* Open */; + blockOffsets[index] = operations ? operations.length : 0; + blocks[index] = block; + blockStack.push(block); + return index; + } + function endBlock() { + const block = peekBlock(); + if (block === void 0) return Debug.fail("beginBlock was never called."); + const index = blockActions.length; + blockActions[index] = 1 /* Close */; + blockOffsets[index] = operations ? operations.length : 0; + blocks[index] = block; + blockStack.pop(); + return block; + } + function peekBlock() { + return lastOrUndefined(blockStack); + } + function peekBlockKind() { + const block = peekBlock(); + return block && block.kind; + } + function beginWithBlock(expression) { + const startLabel = defineLabel(); + const endLabel = defineLabel(); + markLabel(startLabel); + beginBlock({ + kind: 1 /* With */, + expression, + startLabel, + endLabel + }); + } + function endWithBlock() { + Debug.assert(peekBlockKind() === 1 /* With */); + const block = endBlock(); + markLabel(block.endLabel); + } + function beginExceptionBlock() { + const startLabel = defineLabel(); + const endLabel = defineLabel(); + markLabel(startLabel); + beginBlock({ + kind: 0 /* Exception */, + state: 0 /* Try */, + startLabel, + endLabel + }); + emitNop(); + return endLabel; + } + function beginCatchBlock(variable) { + Debug.assert(peekBlockKind() === 0 /* Exception */); + let name; + if (isGeneratedIdentifier(variable.name)) { + name = variable.name; + hoistVariableDeclaration(variable.name); + } else { + const text = idText(variable.name); + name = declareLocal(text); + if (!renamedCatchVariables) { + renamedCatchVariables = /* @__PURE__ */ new Map(); + renamedCatchVariableDeclarations = []; + context.enableSubstitution(80 /* Identifier */); + } + renamedCatchVariables.set(text, true); + renamedCatchVariableDeclarations[getOriginalNodeId(variable)] = name; + } + const exception = peekBlock(); + Debug.assert(exception.state < 1 /* Catch */); + const endLabel = exception.endLabel; + emitBreak(endLabel); + const catchLabel = defineLabel(); + markLabel(catchLabel); + exception.state = 1 /* Catch */; + exception.catchVariable = name; + exception.catchLabel = catchLabel; + emitAssignment(name, factory2.createCallExpression( + factory2.createPropertyAccessExpression(state, "sent"), + /*typeArguments*/ + void 0, + [] + )); + emitNop(); + } + function beginFinallyBlock() { + Debug.assert(peekBlockKind() === 0 /* Exception */); + const exception = peekBlock(); + Debug.assert(exception.state < 2 /* Finally */); + const endLabel = exception.endLabel; + emitBreak(endLabel); + const finallyLabel = defineLabel(); + markLabel(finallyLabel); + exception.state = 2 /* Finally */; + exception.finallyLabel = finallyLabel; + } + function endExceptionBlock() { + Debug.assert(peekBlockKind() === 0 /* Exception */); + const exception = endBlock(); + const state2 = exception.state; + if (state2 < 2 /* Finally */) { + emitBreak(exception.endLabel); + } else { + emitEndfinally(); + } + markLabel(exception.endLabel); + emitNop(); + exception.state = 3 /* Done */; + } + function beginScriptLoopBlock() { + beginBlock({ + kind: 3 /* Loop */, + isScript: true, + breakLabel: -1, + continueLabel: -1 + }); + } + function beginLoopBlock(continueLabel) { + const breakLabel = defineLabel(); + beginBlock({ + kind: 3 /* Loop */, + isScript: false, + breakLabel, + continueLabel + }); + return breakLabel; + } + function endLoopBlock() { + Debug.assert(peekBlockKind() === 3 /* Loop */); + const block = endBlock(); + const breakLabel = block.breakLabel; + if (!block.isScript) { + markLabel(breakLabel); + } + } + function beginScriptSwitchBlock() { + beginBlock({ + kind: 2 /* Switch */, + isScript: true, + breakLabel: -1 + }); + } + function beginSwitchBlock() { + const breakLabel = defineLabel(); + beginBlock({ + kind: 2 /* Switch */, + isScript: false, + breakLabel + }); + return breakLabel; + } + function endSwitchBlock() { + Debug.assert(peekBlockKind() === 2 /* Switch */); + const block = endBlock(); + const breakLabel = block.breakLabel; + if (!block.isScript) { + markLabel(breakLabel); + } + } + function beginScriptLabeledBlock(labelText) { + beginBlock({ + kind: 4 /* Labeled */, + isScript: true, + labelText, + breakLabel: -1 + }); + } + function beginLabeledBlock(labelText) { + const breakLabel = defineLabel(); + beginBlock({ + kind: 4 /* Labeled */, + isScript: false, + labelText, + breakLabel + }); + } + function endLabeledBlock() { + Debug.assert(peekBlockKind() === 4 /* Labeled */); + const block = endBlock(); + if (!block.isScript) { + markLabel(block.breakLabel); + } + } + function supportsUnlabeledBreak(block) { + return block.kind === 2 /* Switch */ || block.kind === 3 /* Loop */; + } + function supportsLabeledBreakOrContinue(block) { + return block.kind === 4 /* Labeled */; + } + function supportsUnlabeledContinue(block) { + return block.kind === 3 /* Loop */; + } + function hasImmediateContainingLabeledBlock(labelText, start) { + for (let j = start; j >= 0; j--) { + const containingBlock = blockStack[j]; + if (supportsLabeledBreakOrContinue(containingBlock)) { + if (containingBlock.labelText === labelText) { + return true; + } + } else { + break; + } + } + return false; + } + function findBreakTarget(labelText) { + if (blockStack) { + if (labelText) { + for (let i = blockStack.length - 1; i >= 0; i--) { + const block = blockStack[i]; + if (supportsLabeledBreakOrContinue(block) && block.labelText === labelText) { + return block.breakLabel; + } else if (supportsUnlabeledBreak(block) && hasImmediateContainingLabeledBlock(labelText, i - 1)) { + return block.breakLabel; + } + } + } else { + for (let i = blockStack.length - 1; i >= 0; i--) { + const block = blockStack[i]; + if (supportsUnlabeledBreak(block)) { + return block.breakLabel; + } + } + } + } + return 0; + } + function findContinueTarget(labelText) { + if (blockStack) { + if (labelText) { + for (let i = blockStack.length - 1; i >= 0; i--) { + const block = blockStack[i]; + if (supportsUnlabeledContinue(block) && hasImmediateContainingLabeledBlock(labelText, i - 1)) { + return block.continueLabel; + } + } + } else { + for (let i = blockStack.length - 1; i >= 0; i--) { + const block = blockStack[i]; + if (supportsUnlabeledContinue(block)) { + return block.continueLabel; + } + } + } + } + return 0; + } + function createLabel(label) { + if (label !== void 0 && label > 0) { + if (labelExpressions === void 0) { + labelExpressions = []; + } + const expression = factory2.createNumericLiteral(Number.MAX_SAFE_INTEGER); + if (labelExpressions[label] === void 0) { + labelExpressions[label] = [expression]; + } else { + labelExpressions[label].push(expression); + } + return expression; + } + return factory2.createOmittedExpression(); + } + function createInstruction(instruction) { + const literal = factory2.createNumericLiteral(instruction); + addSyntheticTrailingComment(literal, 3 /* MultiLineCommentTrivia */, getInstructionName(instruction)); + return literal; + } + function createInlineBreak(label, location) { + Debug.assertLessThan(0, label, "Invalid label"); + return setTextRange( + factory2.createReturnStatement( + factory2.createArrayLiteralExpression([ + createInstruction(3 /* Break */), + createLabel(label) + ]) + ), + location + ); + } + function createInlineReturn(expression, location) { + return setTextRange( + factory2.createReturnStatement( + factory2.createArrayLiteralExpression( + expression ? [createInstruction(2 /* Return */), expression] : [createInstruction(2 /* Return */)] + ) + ), + location + ); + } + function createGeneratorResume(location) { + return setTextRange( + factory2.createCallExpression( + factory2.createPropertyAccessExpression(state, "sent"), + /*typeArguments*/ + void 0, + [] + ), + location + ); + } + function emitNop() { + emitWorker(0 /* Nop */); + } + function emitStatement(node) { + if (node) { + emitWorker(1 /* Statement */, [node]); + } else { + emitNop(); + } + } + function emitAssignment(left, right, location) { + emitWorker(2 /* Assign */, [left, right], location); + } + function emitBreak(label, location) { + emitWorker(3 /* Break */, [label], location); + } + function emitBreakWhenTrue(label, condition, location) { + emitWorker(4 /* BreakWhenTrue */, [label, condition], location); + } + function emitBreakWhenFalse(label, condition, location) { + emitWorker(5 /* BreakWhenFalse */, [label, condition], location); + } + function emitYieldStar(expression, location) { + emitWorker(7 /* YieldStar */, [expression], location); + } + function emitYield(expression, location) { + emitWorker(6 /* Yield */, [expression], location); + } + function emitReturn(expression, location) { + emitWorker(8 /* Return */, [expression], location); + } + function emitThrow(expression, location) { + emitWorker(9 /* Throw */, [expression], location); + } + function emitEndfinally() { + emitWorker(10 /* Endfinally */); + } + function emitWorker(code, args, location) { + if (operations === void 0) { + operations = []; + operationArguments = []; + operationLocations = []; + } + if (labelOffsets === void 0) { + markLabel(defineLabel()); + } + const operationIndex = operations.length; + operations[operationIndex] = code; + operationArguments[operationIndex] = args; + operationLocations[operationIndex] = location; + } + function build2() { + blockIndex = 0; + labelNumber = 0; + labelNumbers = void 0; + lastOperationWasAbrupt = false; + lastOperationWasCompletion = false; + clauses = void 0; + statements = void 0; + exceptionBlockStack = void 0; + currentExceptionBlock = void 0; + withBlockStack = void 0; + const buildResult = buildStatements(); + return emitHelpers().createGeneratorHelper( + setEmitFlags( + factory2.createFunctionExpression( + /*modifiers*/ + void 0, + /*asteriskToken*/ + void 0, + /*name*/ + void 0, + /*typeParameters*/ + void 0, + [factory2.createParameterDeclaration( + /*modifiers*/ + void 0, + /*dotDotDotToken*/ + void 0, + state + )], + /*type*/ + void 0, + factory2.createBlock( + buildResult, + /*multiLine*/ + buildResult.length > 0 + ) + ), + 1048576 /* ReuseTempVariableScope */ + ) + ); + } + function buildStatements() { + if (operations) { + for (let operationIndex = 0; operationIndex < operations.length; operationIndex++) { + writeOperation(operationIndex); + } + flushFinalLabel(operations.length); + } else { + flushFinalLabel(0); + } + if (clauses) { + const labelExpression = factory2.createPropertyAccessExpression(state, "label"); + const switchStatement = factory2.createSwitchStatement(labelExpression, factory2.createCaseBlock(clauses)); + return [startOnNewLine(switchStatement)]; + } + if (statements) { + return statements; + } + return []; + } + function flushLabel() { + if (!statements) { + return; + } + appendLabel( + /*markLabelEnd*/ + !lastOperationWasAbrupt + ); + lastOperationWasAbrupt = false; + lastOperationWasCompletion = false; + labelNumber++; + } + function flushFinalLabel(operationIndex) { + if (isFinalLabelReachable(operationIndex)) { + tryEnterLabel(operationIndex); + withBlockStack = void 0; + writeReturn( + /*expression*/ + void 0, + /*operationLocation*/ + void 0 + ); + } + if (statements && clauses) { + appendLabel( + /*markLabelEnd*/ + false + ); + } + updateLabelExpressions(); + } + function isFinalLabelReachable(operationIndex) { + if (!lastOperationWasCompletion) { + return true; + } + if (!labelOffsets || !labelExpressions) { + return false; + } + for (let label = 0; label < labelOffsets.length; label++) { + if (labelOffsets[label] === operationIndex && labelExpressions[label]) { + return true; + } + } + return false; + } + function appendLabel(markLabelEnd) { + if (!clauses) { + clauses = []; + } + if (statements) { + if (withBlockStack) { + for (let i = withBlockStack.length - 1; i >= 0; i--) { + const withBlock = withBlockStack[i]; + statements = [factory2.createWithStatement(withBlock.expression, factory2.createBlock(statements))]; + } + } + if (currentExceptionBlock) { + const { startLabel, catchLabel, finallyLabel, endLabel } = currentExceptionBlock; + statements.unshift( + factory2.createExpressionStatement( + factory2.createCallExpression( + factory2.createPropertyAccessExpression(factory2.createPropertyAccessExpression(state, "trys"), "push"), + /*typeArguments*/ + void 0, + [ + factory2.createArrayLiteralExpression([ + createLabel(startLabel), + createLabel(catchLabel), + createLabel(finallyLabel), + createLabel(endLabel) + ]) + ] + ) + ) + ); + currentExceptionBlock = void 0; + } + if (markLabelEnd) { + statements.push( + factory2.createExpressionStatement( + factory2.createAssignment( + factory2.createPropertyAccessExpression(state, "label"), + factory2.createNumericLiteral(labelNumber + 1) + ) + ) + ); + } + } + clauses.push( + factory2.createCaseClause( + factory2.createNumericLiteral(labelNumber), + statements || [] + ) + ); + statements = void 0; + } + function tryEnterLabel(operationIndex) { + if (!labelOffsets) { + return; + } + for (let label = 0; label < labelOffsets.length; label++) { + if (labelOffsets[label] === operationIndex) { + flushLabel(); + if (labelNumbers === void 0) { + labelNumbers = []; + } + if (labelNumbers[labelNumber] === void 0) { + labelNumbers[labelNumber] = [label]; + } else { + labelNumbers[labelNumber].push(label); + } + } + } + } + function updateLabelExpressions() { + if (labelExpressions !== void 0 && labelNumbers !== void 0) { + for (let labelNumber2 = 0; labelNumber2 < labelNumbers.length; labelNumber2++) { + const labels = labelNumbers[labelNumber2]; + if (labels !== void 0) { + for (const label of labels) { + const expressions = labelExpressions[label]; + if (expressions !== void 0) { + for (const expression of expressions) { + expression.text = String(labelNumber2); + } + } + } + } + } + } + } + function tryEnterOrLeaveBlock(operationIndex) { + if (blocks) { + for (; blockIndex < blockActions.length && blockOffsets[blockIndex] <= operationIndex; blockIndex++) { + const block = blocks[blockIndex]; + const blockAction = blockActions[blockIndex]; + switch (block.kind) { + case 0 /* Exception */: + if (blockAction === 0 /* Open */) { + if (!exceptionBlockStack) { + exceptionBlockStack = []; + } + if (!statements) { + statements = []; + } + exceptionBlockStack.push(currentExceptionBlock); + currentExceptionBlock = block; + } else if (blockAction === 1 /* Close */) { + currentExceptionBlock = exceptionBlockStack.pop(); + } + break; + case 1 /* With */: + if (blockAction === 0 /* Open */) { + if (!withBlockStack) { + withBlockStack = []; + } + withBlockStack.push(block); + } else if (blockAction === 1 /* Close */) { + withBlockStack.pop(); + } + break; + } + } + } + } + function writeOperation(operationIndex) { + tryEnterLabel(operationIndex); + tryEnterOrLeaveBlock(operationIndex); + if (lastOperationWasAbrupt) { + return; + } + lastOperationWasAbrupt = false; + lastOperationWasCompletion = false; + const opcode = operations[operationIndex]; + if (opcode === 0 /* Nop */) { + return; + } else if (opcode === 10 /* Endfinally */) { + return writeEndfinally(); + } + const args = operationArguments[operationIndex]; + if (opcode === 1 /* Statement */) { + return writeStatement(args[0]); + } + const location = operationLocations[operationIndex]; + switch (opcode) { + case 2 /* Assign */: + return writeAssign(args[0], args[1], location); + case 3 /* Break */: + return writeBreak(args[0], location); + case 4 /* BreakWhenTrue */: + return writeBreakWhenTrue(args[0], args[1], location); + case 5 /* BreakWhenFalse */: + return writeBreakWhenFalse(args[0], args[1], location); + case 6 /* Yield */: + return writeYield(args[0], location); + case 7 /* YieldStar */: + return writeYieldStar(args[0], location); + case 8 /* Return */: + return writeReturn(args[0], location); + case 9 /* Throw */: + return writeThrow(args[0], location); + } + } + function writeStatement(statement) { + if (statement) { + if (!statements) { + statements = [statement]; + } else { + statements.push(statement); + } + } + } + function writeAssign(left, right, operationLocation) { + writeStatement(setTextRange(factory2.createExpressionStatement(factory2.createAssignment(left, right)), operationLocation)); + } + function writeThrow(expression, operationLocation) { + lastOperationWasAbrupt = true; + lastOperationWasCompletion = true; + writeStatement(setTextRange(factory2.createThrowStatement(expression), operationLocation)); + } + function writeReturn(expression, operationLocation) { + lastOperationWasAbrupt = true; + lastOperationWasCompletion = true; + writeStatement( + setEmitFlags( + setTextRange( + factory2.createReturnStatement( + factory2.createArrayLiteralExpression( + expression ? [createInstruction(2 /* Return */), expression] : [createInstruction(2 /* Return */)] + ) + ), + operationLocation + ), + 768 /* NoTokenSourceMaps */ + ) + ); + } + function writeBreak(label, operationLocation) { + lastOperationWasAbrupt = true; + writeStatement( + setEmitFlags( + setTextRange( + factory2.createReturnStatement( + factory2.createArrayLiteralExpression([ + createInstruction(3 /* Break */), + createLabel(label) + ]) + ), + operationLocation + ), + 768 /* NoTokenSourceMaps */ + ) + ); + } + function writeBreakWhenTrue(label, condition, operationLocation) { + writeStatement( + setEmitFlags( + factory2.createIfStatement( + condition, + setEmitFlags( + setTextRange( + factory2.createReturnStatement( + factory2.createArrayLiteralExpression([ + createInstruction(3 /* Break */), + createLabel(label) + ]) + ), + operationLocation + ), + 768 /* NoTokenSourceMaps */ + ) + ), + 1 /* SingleLine */ + ) + ); + } + function writeBreakWhenFalse(label, condition, operationLocation) { + writeStatement( + setEmitFlags( + factory2.createIfStatement( + factory2.createLogicalNot(condition), + setEmitFlags( + setTextRange( + factory2.createReturnStatement( + factory2.createArrayLiteralExpression([ + createInstruction(3 /* Break */), + createLabel(label) + ]) + ), + operationLocation + ), + 768 /* NoTokenSourceMaps */ + ) + ), + 1 /* SingleLine */ + ) + ); + } + function writeYield(expression, operationLocation) { + lastOperationWasAbrupt = true; + writeStatement( + setEmitFlags( + setTextRange( + factory2.createReturnStatement( + factory2.createArrayLiteralExpression( + expression ? [createInstruction(4 /* Yield */), expression] : [createInstruction(4 /* Yield */)] + ) + ), + operationLocation + ), + 768 /* NoTokenSourceMaps */ + ) + ); + } + function writeYieldStar(expression, operationLocation) { + lastOperationWasAbrupt = true; + writeStatement( + setEmitFlags( + setTextRange( + factory2.createReturnStatement( + factory2.createArrayLiteralExpression([ + createInstruction(5 /* YieldStar */), + expression + ]) + ), + operationLocation + ), + 768 /* NoTokenSourceMaps */ + ) + ); + } + function writeEndfinally() { + lastOperationWasAbrupt = true; + writeStatement( + factory2.createReturnStatement( + factory2.createArrayLiteralExpression([ + createInstruction(7 /* Endfinally */) + ]) + ) + ); + } +} + +// src/compiler/transformers/module/module.ts +function transformModule(context) { + function getTransformModuleDelegate(moduleKind2) { + switch (moduleKind2) { + case 2 /* AMD */: + return transformAMDModule; + case 3 /* UMD */: + return transformUMDModule; + default: + return transformCommonJSModule; + } + } + const { + factory: factory2, + getEmitHelperFactory: emitHelpers, + startLexicalEnvironment, + endLexicalEnvironment, + hoistVariableDeclaration + } = context; + const compilerOptions = context.getCompilerOptions(); + const resolver = context.getEmitResolver(); + const host = context.getEmitHost(); + const languageVersion = getEmitScriptTarget(compilerOptions); + const moduleKind = getEmitModuleKind(compilerOptions); + const previousOnSubstituteNode = context.onSubstituteNode; + const previousOnEmitNode = context.onEmitNode; + context.onSubstituteNode = onSubstituteNode; + context.onEmitNode = onEmitNode; + context.enableSubstitution(213 /* CallExpression */); + context.enableSubstitution(215 /* TaggedTemplateExpression */); + context.enableSubstitution(80 /* Identifier */); + context.enableSubstitution(226 /* BinaryExpression */); + context.enableSubstitution(304 /* ShorthandPropertyAssignment */); + context.enableEmitNotification(307 /* SourceFile */); + const moduleInfoMap = []; + let currentSourceFile; + let currentModuleInfo; + let importsAndRequiresToRewriteOrShim; + const noSubstitution = []; + let needUMDDynamicImportHelper; + return chainBundle(context, transformSourceFile); + function transformSourceFile(node) { + if (node.isDeclarationFile || !(isEffectiveExternalModule(node, compilerOptions) || node.transformFlags & 8388608 /* ContainsDynamicImport */ || isJsonSourceFile(node) && hasJsonModuleEmitEnabled(compilerOptions) && compilerOptions.outFile)) { + return node; + } + currentSourceFile = node; + currentModuleInfo = collectExternalModuleInfo(context, node); + moduleInfoMap[getOriginalNodeId(node)] = currentModuleInfo; + if (compilerOptions.rewriteRelativeImportExtensions) { + forEachDynamicImportOrRequireCall( + node, + /*includeTypeSpaceImports*/ + false, + /*requireStringLiteralLikeArgument*/ + false, + (node2) => { + if (!isStringLiteralLike(node2.arguments[0]) || shouldRewriteModuleSpecifier(node2.arguments[0].text, compilerOptions)) { + importsAndRequiresToRewriteOrShim = append(importsAndRequiresToRewriteOrShim, node2); + } + } + ); + } + const transformModule2 = getTransformModuleDelegate(moduleKind); + const updated = transformModule2(node); + currentSourceFile = void 0; + currentModuleInfo = void 0; + needUMDDynamicImportHelper = false; + return updated; + } + function shouldEmitUnderscoreUnderscoreESModule() { + if (hasJSFileExtension(currentSourceFile.fileName) && currentSourceFile.commonJsModuleIndicator && (!currentSourceFile.externalModuleIndicator || currentSourceFile.externalModuleIndicator === true)) { + return false; + } + if (!currentModuleInfo.exportEquals && isExternalModule(currentSourceFile)) { + return true; + } + return false; + } + function transformCommonJSModule(node) { + startLexicalEnvironment(); + const statements = []; + const ensureUseStrict = getStrictOptionValue(compilerOptions, "alwaysStrict") || isExternalModule(currentSourceFile); + const statementOffset = factory2.copyPrologue(node.statements, statements, ensureUseStrict && !isJsonSourceFile(node), topLevelVisitor); + if (shouldEmitUnderscoreUnderscoreESModule()) { + append(statements, createUnderscoreUnderscoreESModule()); + } + if (some(currentModuleInfo.exportedNames)) { + const chunkSize = 50; + for (let i = 0; i < currentModuleInfo.exportedNames.length; i += chunkSize) { + append( + statements, + factory2.createExpressionStatement( + reduceLeft( + currentModuleInfo.exportedNames.slice(i, i + chunkSize), + (prev, nextId) => nextId.kind === 11 /* StringLiteral */ ? factory2.createAssignment(factory2.createElementAccessExpression(factory2.createIdentifier("exports"), factory2.createStringLiteral(nextId.text)), prev) : factory2.createAssignment(factory2.createPropertyAccessExpression(factory2.createIdentifier("exports"), factory2.createIdentifier(idText(nextId))), prev), + factory2.createVoidZero() + ) + ) + ); + } + } + for (const f of currentModuleInfo.exportedFunctions) { + appendExportsOfHoistedDeclaration(statements, f); + } + append(statements, visitNode(currentModuleInfo.externalHelpersImportDeclaration, topLevelVisitor, isStatement)); + addRange(statements, visitNodes2(node.statements, topLevelVisitor, isStatement, statementOffset)); + addExportEqualsIfNeeded( + statements, + /*emitAsReturn*/ + false + ); + insertStatementsAfterStandardPrologue(statements, endLexicalEnvironment()); + const updated = factory2.updateSourceFile(node, setTextRange(factory2.createNodeArray(statements), node.statements)); + addEmitHelpers(updated, context.readEmitHelpers()); + return updated; + } + function transformAMDModule(node) { + const define = factory2.createIdentifier("define"); + const moduleName = tryGetModuleNameFromFile(factory2, node, host, compilerOptions); + const jsonSourceFile = isJsonSourceFile(node) && node; + const { aliasedModuleNames, unaliasedModuleNames, importAliasNames } = collectAsynchronousDependencies( + node, + /*includeNonAmdDependencies*/ + true + ); + const updated = factory2.updateSourceFile( + node, + setTextRange( + factory2.createNodeArray([ + factory2.createExpressionStatement( + factory2.createCallExpression( + define, + /*typeArguments*/ + void 0, + [ + // Add the module name (if provided). + ...moduleName ? [moduleName] : [], + // Add the dependency array argument: + // + // ["require", "exports", module1", "module2", ...] + factory2.createArrayLiteralExpression( + jsonSourceFile ? emptyArray : [ + factory2.createStringLiteral("require"), + factory2.createStringLiteral("exports"), + ...aliasedModuleNames, + ...unaliasedModuleNames + ] + ), + // Add the module body function argument: + // + // function (require, exports, module1, module2) ... + jsonSourceFile ? jsonSourceFile.statements.length ? jsonSourceFile.statements[0].expression : factory2.createObjectLiteralExpression() : factory2.createFunctionExpression( + /*modifiers*/ + void 0, + /*asteriskToken*/ + void 0, + /*name*/ + void 0, + /*typeParameters*/ + void 0, + [ + factory2.createParameterDeclaration( + /*modifiers*/ + void 0, + /*dotDotDotToken*/ + void 0, + "require" + ), + factory2.createParameterDeclaration( + /*modifiers*/ + void 0, + /*dotDotDotToken*/ + void 0, + "exports" + ), + ...importAliasNames + ], + /*type*/ + void 0, + transformAsynchronousModuleBody(node) + ) + ] + ) + ) + ]), + /*location*/ + node.statements + ) + ); + addEmitHelpers(updated, context.readEmitHelpers()); + return updated; + } + function transformUMDModule(node) { + const { aliasedModuleNames, unaliasedModuleNames, importAliasNames } = collectAsynchronousDependencies( + node, + /*includeNonAmdDependencies*/ + false + ); + const moduleName = tryGetModuleNameFromFile(factory2, node, host, compilerOptions); + const umdHeader = factory2.createFunctionExpression( + /*modifiers*/ + void 0, + /*asteriskToken*/ + void 0, + /*name*/ + void 0, + /*typeParameters*/ + void 0, + [factory2.createParameterDeclaration( + /*modifiers*/ + void 0, + /*dotDotDotToken*/ + void 0, + "factory" + )], + /*type*/ + void 0, + setTextRange( + factory2.createBlock( + [ + factory2.createIfStatement( + factory2.createLogicalAnd( + factory2.createTypeCheck(factory2.createIdentifier("module"), "object"), + factory2.createTypeCheck(factory2.createPropertyAccessExpression(factory2.createIdentifier("module"), "exports"), "object") + ), + factory2.createBlock([ + factory2.createVariableStatement( + /*modifiers*/ + void 0, + [ + factory2.createVariableDeclaration( + "v", + /*exclamationToken*/ + void 0, + /*type*/ + void 0, + factory2.createCallExpression( + factory2.createIdentifier("factory"), + /*typeArguments*/ + void 0, + [ + factory2.createIdentifier("require"), + factory2.createIdentifier("exports") + ] + ) + ) + ] + ), + setEmitFlags( + factory2.createIfStatement( + factory2.createStrictInequality( + factory2.createIdentifier("v"), + factory2.createIdentifier("undefined") + ), + factory2.createExpressionStatement( + factory2.createAssignment( + factory2.createPropertyAccessExpression(factory2.createIdentifier("module"), "exports"), + factory2.createIdentifier("v") + ) + ) + ), + 1 /* SingleLine */ + ) + ]), + factory2.createIfStatement( + factory2.createLogicalAnd( + factory2.createTypeCheck(factory2.createIdentifier("define"), "function"), + factory2.createPropertyAccessExpression(factory2.createIdentifier("define"), "amd") + ), + factory2.createBlock([ + factory2.createExpressionStatement( + factory2.createCallExpression( + factory2.createIdentifier("define"), + /*typeArguments*/ + void 0, + [ + // Add the module name (if provided). + ...moduleName ? [moduleName] : [], + factory2.createArrayLiteralExpression([ + factory2.createStringLiteral("require"), + factory2.createStringLiteral("exports"), + ...aliasedModuleNames, + ...unaliasedModuleNames + ]), + factory2.createIdentifier("factory") + ] + ) + ) + ]) + ) + ) + ], + /*multiLine*/ + true + ), + /*location*/ + void 0 + ) + ); + const updated = factory2.updateSourceFile( + node, + setTextRange( + factory2.createNodeArray([ + factory2.createExpressionStatement( + factory2.createCallExpression( + umdHeader, + /*typeArguments*/ + void 0, + [ + // Add the module body function argument: + // + // function (require, exports) ... + factory2.createFunctionExpression( + /*modifiers*/ + void 0, + /*asteriskToken*/ + void 0, + /*name*/ + void 0, + /*typeParameters*/ + void 0, + [ + factory2.createParameterDeclaration( + /*modifiers*/ + void 0, + /*dotDotDotToken*/ + void 0, + "require" + ), + factory2.createParameterDeclaration( + /*modifiers*/ + void 0, + /*dotDotDotToken*/ + void 0, + "exports" + ), + ...importAliasNames + ], + /*type*/ + void 0, + transformAsynchronousModuleBody(node) + ) + ] + ) + ) + ]), + /*location*/ + node.statements + ) + ); + addEmitHelpers(updated, context.readEmitHelpers()); + return updated; + } + function collectAsynchronousDependencies(node, includeNonAmdDependencies) { + const aliasedModuleNames = []; + const unaliasedModuleNames = []; + const importAliasNames = []; + for (const amdDependency of node.amdDependencies) { + if (amdDependency.name) { + aliasedModuleNames.push(factory2.createStringLiteral(amdDependency.path)); + importAliasNames.push(factory2.createParameterDeclaration( + /*modifiers*/ + void 0, + /*dotDotDotToken*/ + void 0, + amdDependency.name + )); + } else { + unaliasedModuleNames.push(factory2.createStringLiteral(amdDependency.path)); + } + } + for (const importNode of currentModuleInfo.externalImports) { + const externalModuleName = getExternalModuleNameLiteral(factory2, importNode, currentSourceFile, host, resolver, compilerOptions); + const importAliasName = getLocalNameForExternalImport(factory2, importNode, currentSourceFile); + if (externalModuleName) { + if (includeNonAmdDependencies && importAliasName) { + setEmitFlags(importAliasName, 8 /* NoSubstitution */); + aliasedModuleNames.push(externalModuleName); + importAliasNames.push(factory2.createParameterDeclaration( + /*modifiers*/ + void 0, + /*dotDotDotToken*/ + void 0, + importAliasName + )); + } else { + unaliasedModuleNames.push(externalModuleName); + } + } + } + return { aliasedModuleNames, unaliasedModuleNames, importAliasNames }; + } + function getAMDImportExpressionForImport(node) { + if (isImportEqualsDeclaration(node) || isExportDeclaration(node) || !getExternalModuleNameLiteral(factory2, node, currentSourceFile, host, resolver, compilerOptions)) { + return void 0; + } + const name = getLocalNameForExternalImport(factory2, node, currentSourceFile); + const expr = getHelperExpressionForImport(node, name); + if (expr === name) { + return void 0; + } + return factory2.createExpressionStatement(factory2.createAssignment(name, expr)); + } + function transformAsynchronousModuleBody(node) { + startLexicalEnvironment(); + const statements = []; + const statementOffset = factory2.copyPrologue( + node.statements, + statements, + /*ensureUseStrict*/ + true, + topLevelVisitor + ); + if (shouldEmitUnderscoreUnderscoreESModule()) { + append(statements, createUnderscoreUnderscoreESModule()); + } + if (some(currentModuleInfo.exportedNames)) { + append( + statements, + factory2.createExpressionStatement(reduceLeft(currentModuleInfo.exportedNames, (prev, nextId) => nextId.kind === 11 /* StringLiteral */ ? factory2.createAssignment(factory2.createElementAccessExpression(factory2.createIdentifier("exports"), factory2.createStringLiteral(nextId.text)), prev) : factory2.createAssignment(factory2.createPropertyAccessExpression(factory2.createIdentifier("exports"), factory2.createIdentifier(idText(nextId))), prev), factory2.createVoidZero())) + ); + } + for (const f of currentModuleInfo.exportedFunctions) { + appendExportsOfHoistedDeclaration(statements, f); + } + append(statements, visitNode(currentModuleInfo.externalHelpersImportDeclaration, topLevelVisitor, isStatement)); + if (moduleKind === 2 /* AMD */) { + addRange(statements, mapDefined(currentModuleInfo.externalImports, getAMDImportExpressionForImport)); + } + addRange(statements, visitNodes2(node.statements, topLevelVisitor, isStatement, statementOffset)); + addExportEqualsIfNeeded( + statements, + /*emitAsReturn*/ + true + ); + insertStatementsAfterStandardPrologue(statements, endLexicalEnvironment()); + const body = factory2.createBlock( + statements, + /*multiLine*/ + true + ); + if (needUMDDynamicImportHelper) { + addEmitHelper(body, dynamicImportUMDHelper); + } + return body; + } + function addExportEqualsIfNeeded(statements, emitAsReturn) { + if (currentModuleInfo.exportEquals) { + const expressionResult = visitNode(currentModuleInfo.exportEquals.expression, visitor, isExpression); + if (expressionResult) { + if (emitAsReturn) { + const statement = factory2.createReturnStatement(expressionResult); + setTextRange(statement, currentModuleInfo.exportEquals); + setEmitFlags(statement, 768 /* NoTokenSourceMaps */ | 3072 /* NoComments */); + statements.push(statement); + } else { + const statement = factory2.createExpressionStatement( + factory2.createAssignment( + factory2.createPropertyAccessExpression( + factory2.createIdentifier("module"), + "exports" + ), + expressionResult + ) + ); + setTextRange(statement, currentModuleInfo.exportEquals); + setEmitFlags(statement, 3072 /* NoComments */); + statements.push(statement); + } + } + } + } + function topLevelVisitor(node) { + switch (node.kind) { + case 272 /* ImportDeclaration */: + return visitTopLevelImportDeclaration(node); + case 271 /* ImportEqualsDeclaration */: + return visitTopLevelImportEqualsDeclaration(node); + case 278 /* ExportDeclaration */: + return visitTopLevelExportDeclaration(node); + case 277 /* ExportAssignment */: + return visitTopLevelExportAssignment(node); + default: + return topLevelNestedVisitor(node); + } + } + function topLevelNestedVisitor(node) { + switch (node.kind) { + case 243 /* VariableStatement */: + return visitVariableStatement(node); + case 262 /* FunctionDeclaration */: + return visitFunctionDeclaration(node); + case 263 /* ClassDeclaration */: + return visitClassDeclaration(node); + case 248 /* ForStatement */: + return visitForStatement( + node, + /*isTopLevel*/ + true + ); + case 249 /* ForInStatement */: + return visitForInStatement(node); + case 250 /* ForOfStatement */: + return visitForOfStatement(node); + case 246 /* DoStatement */: + return visitDoStatement(node); + case 247 /* WhileStatement */: + return visitWhileStatement(node); + case 256 /* LabeledStatement */: + return visitLabeledStatement(node); + case 254 /* WithStatement */: + return visitWithStatement(node); + case 245 /* IfStatement */: + return visitIfStatement(node); + case 255 /* SwitchStatement */: + return visitSwitchStatement(node); + case 269 /* CaseBlock */: + return visitCaseBlock(node); + case 296 /* CaseClause */: + return visitCaseClause(node); + case 297 /* DefaultClause */: + return visitDefaultClause(node); + case 258 /* TryStatement */: + return visitTryStatement(node); + case 299 /* CatchClause */: + return visitCatchClause(node); + case 241 /* Block */: + return visitBlock(node); + default: + return visitor(node); + } + } + function visitorWorker(node, valueIsDiscarded) { + if (!(node.transformFlags & (8388608 /* ContainsDynamicImport */ | 4096 /* ContainsDestructuringAssignment */ | 268435456 /* ContainsUpdateExpressionForIdentifier */)) && !(importsAndRequiresToRewriteOrShim == null ? void 0 : importsAndRequiresToRewriteOrShim.length)) { + return node; + } + switch (node.kind) { + case 248 /* ForStatement */: + return visitForStatement( + node, + /*isTopLevel*/ + false + ); + case 244 /* ExpressionStatement */: + return visitExpressionStatement(node); + case 217 /* ParenthesizedExpression */: + return visitParenthesizedExpression(node, valueIsDiscarded); + case 355 /* PartiallyEmittedExpression */: + return visitPartiallyEmittedExpression(node, valueIsDiscarded); + case 213 /* CallExpression */: + const needsRewrite = node === firstOrUndefined(importsAndRequiresToRewriteOrShim); + if (needsRewrite) { + importsAndRequiresToRewriteOrShim.shift(); + } + if (isImportCall(node) && host.shouldTransformImportCall(currentSourceFile)) { + return visitImportCallExpression(node, needsRewrite); + } else if (needsRewrite) { + return shimOrRewriteImportOrRequireCall(node); + } + break; + case 226 /* BinaryExpression */: + if (isDestructuringAssignment(node)) { + return visitDestructuringAssignment(node, valueIsDiscarded); + } + break; + case 224 /* PrefixUnaryExpression */: + case 225 /* PostfixUnaryExpression */: + return visitPreOrPostfixUnaryExpression(node, valueIsDiscarded); + } + return visitEachChild(node, visitor, context); + } + function visitor(node) { + return visitorWorker( + node, + /*valueIsDiscarded*/ + false + ); + } + function discardedValueVisitor(node) { + return visitorWorker( + node, + /*valueIsDiscarded*/ + true + ); + } + function destructuringNeedsFlattening(node) { + if (isObjectLiteralExpression(node)) { + for (const elem of node.properties) { + switch (elem.kind) { + case 303 /* PropertyAssignment */: + if (destructuringNeedsFlattening(elem.initializer)) { + return true; + } + break; + case 304 /* ShorthandPropertyAssignment */: + if (destructuringNeedsFlattening(elem.name)) { + return true; + } + break; + case 305 /* SpreadAssignment */: + if (destructuringNeedsFlattening(elem.expression)) { + return true; + } + break; + case 174 /* MethodDeclaration */: + case 177 /* GetAccessor */: + case 178 /* SetAccessor */: + return false; + default: + Debug.assertNever(elem, "Unhandled object member kind"); + } + } + } else if (isArrayLiteralExpression(node)) { + for (const elem of node.elements) { + if (isSpreadElement(elem)) { + if (destructuringNeedsFlattening(elem.expression)) { + return true; + } + } else if (destructuringNeedsFlattening(elem)) { + return true; + } + } + } else if (isIdentifier(node)) { + return length(getExports(node)) > (isExportName(node) ? 1 : 0); + } + return false; + } + function visitDestructuringAssignment(node, valueIsDiscarded) { + if (destructuringNeedsFlattening(node.left)) { + return flattenDestructuringAssignment(node, visitor, context, 0 /* All */, !valueIsDiscarded, createAllExportExpressions); + } + return visitEachChild(node, visitor, context); + } + function visitForStatement(node, isTopLevel) { + if (isTopLevel && node.initializer && isVariableDeclarationList(node.initializer) && !(node.initializer.flags & 7 /* BlockScoped */)) { + const exportStatements = appendExportsOfVariableDeclarationList( + /*statements*/ + void 0, + node.initializer, + /*isForInOrOfInitializer*/ + false + ); + if (exportStatements) { + const statements = []; + const varDeclList = visitNode(node.initializer, discardedValueVisitor, isVariableDeclarationList); + const varStatement = factory2.createVariableStatement( + /*modifiers*/ + void 0, + varDeclList + ); + statements.push(varStatement); + addRange(statements, exportStatements); + const condition = visitNode(node.condition, visitor, isExpression); + const incrementor = visitNode(node.incrementor, discardedValueVisitor, isExpression); + const body = visitIterationBody(node.statement, isTopLevel ? topLevelNestedVisitor : visitor, context); + statements.push(factory2.updateForStatement( + node, + /*initializer*/ + void 0, + condition, + incrementor, + body + )); + return statements; + } + } + return factory2.updateForStatement( + node, + visitNode(node.initializer, discardedValueVisitor, isForInitializer), + visitNode(node.condition, visitor, isExpression), + visitNode(node.incrementor, discardedValueVisitor, isExpression), + visitIterationBody(node.statement, isTopLevel ? topLevelNestedVisitor : visitor, context) + ); + } + function visitForInStatement(node) { + if (isVariableDeclarationList(node.initializer) && !(node.initializer.flags & 7 /* BlockScoped */)) { + const exportStatements = appendExportsOfVariableDeclarationList( + /*statements*/ + void 0, + node.initializer, + /*isForInOrOfInitializer*/ + true + ); + if (some(exportStatements)) { + const initializer = visitNode(node.initializer, discardedValueVisitor, isForInitializer); + const expression = visitNode(node.expression, visitor, isExpression); + const body = visitIterationBody(node.statement, topLevelNestedVisitor, context); + const mergedBody = isBlock(body) ? factory2.updateBlock(body, [...exportStatements, ...body.statements]) : factory2.createBlock( + [...exportStatements, body], + /*multiLine*/ + true + ); + return factory2.updateForInStatement(node, initializer, expression, mergedBody); + } + } + return factory2.updateForInStatement( + node, + visitNode(node.initializer, discardedValueVisitor, isForInitializer), + visitNode(node.expression, visitor, isExpression), + visitIterationBody(node.statement, topLevelNestedVisitor, context) + ); + } + function visitForOfStatement(node) { + if (isVariableDeclarationList(node.initializer) && !(node.initializer.flags & 7 /* BlockScoped */)) { + const exportStatements = appendExportsOfVariableDeclarationList( + /*statements*/ + void 0, + node.initializer, + /*isForInOrOfInitializer*/ + true + ); + const initializer = visitNode(node.initializer, discardedValueVisitor, isForInitializer); + const expression = visitNode(node.expression, visitor, isExpression); + let body = visitIterationBody(node.statement, topLevelNestedVisitor, context); + if (some(exportStatements)) { + body = isBlock(body) ? factory2.updateBlock(body, [...exportStatements, ...body.statements]) : factory2.createBlock( + [...exportStatements, body], + /*multiLine*/ + true + ); + } + return factory2.updateForOfStatement(node, node.awaitModifier, initializer, expression, body); + } + return factory2.updateForOfStatement( + node, + node.awaitModifier, + visitNode(node.initializer, discardedValueVisitor, isForInitializer), + visitNode(node.expression, visitor, isExpression), + visitIterationBody(node.statement, topLevelNestedVisitor, context) + ); + } + function visitDoStatement(node) { + return factory2.updateDoStatement( + node, + visitIterationBody(node.statement, topLevelNestedVisitor, context), + visitNode(node.expression, visitor, isExpression) + ); + } + function visitWhileStatement(node) { + return factory2.updateWhileStatement( + node, + visitNode(node.expression, visitor, isExpression), + visitIterationBody(node.statement, topLevelNestedVisitor, context) + ); + } + function visitLabeledStatement(node) { + return factory2.updateLabeledStatement( + node, + node.label, + visitNode(node.statement, topLevelNestedVisitor, isStatement, factory2.liftToBlock) ?? setTextRange(factory2.createEmptyStatement(), node.statement) + ); + } + function visitWithStatement(node) { + return factory2.updateWithStatement( + node, + visitNode(node.expression, visitor, isExpression), + Debug.checkDefined(visitNode(node.statement, topLevelNestedVisitor, isStatement, factory2.liftToBlock)) + ); + } + function visitIfStatement(node) { + return factory2.updateIfStatement( + node, + visitNode(node.expression, visitor, isExpression), + visitNode(node.thenStatement, topLevelNestedVisitor, isStatement, factory2.liftToBlock) ?? factory2.createBlock([]), + visitNode(node.elseStatement, topLevelNestedVisitor, isStatement, factory2.liftToBlock) + ); + } + function visitSwitchStatement(node) { + return factory2.updateSwitchStatement( + node, + visitNode(node.expression, visitor, isExpression), + Debug.checkDefined(visitNode(node.caseBlock, topLevelNestedVisitor, isCaseBlock)) + ); + } + function visitCaseBlock(node) { + return factory2.updateCaseBlock( + node, + visitNodes2(node.clauses, topLevelNestedVisitor, isCaseOrDefaultClause) + ); + } + function visitCaseClause(node) { + return factory2.updateCaseClause( + node, + visitNode(node.expression, visitor, isExpression), + visitNodes2(node.statements, topLevelNestedVisitor, isStatement) + ); + } + function visitDefaultClause(node) { + return visitEachChild(node, topLevelNestedVisitor, context); + } + function visitTryStatement(node) { + return visitEachChild(node, topLevelNestedVisitor, context); + } + function visitCatchClause(node) { + return factory2.updateCatchClause( + node, + node.variableDeclaration, + Debug.checkDefined(visitNode(node.block, topLevelNestedVisitor, isBlock)) + ); + } + function visitBlock(node) { + node = visitEachChild(node, topLevelNestedVisitor, context); + return node; + } + function visitExpressionStatement(node) { + return factory2.updateExpressionStatement( + node, + visitNode(node.expression, discardedValueVisitor, isExpression) + ); + } + function visitParenthesizedExpression(node, valueIsDiscarded) { + return factory2.updateParenthesizedExpression(node, visitNode(node.expression, valueIsDiscarded ? discardedValueVisitor : visitor, isExpression)); + } + function visitPartiallyEmittedExpression(node, valueIsDiscarded) { + return factory2.updatePartiallyEmittedExpression(node, visitNode(node.expression, valueIsDiscarded ? discardedValueVisitor : visitor, isExpression)); + } + function visitPreOrPostfixUnaryExpression(node, valueIsDiscarded) { + if ((node.operator === 46 /* PlusPlusToken */ || node.operator === 47 /* MinusMinusToken */) && isIdentifier(node.operand) && !isGeneratedIdentifier(node.operand) && !isLocalName(node.operand) && !isDeclarationNameOfEnumOrNamespace(node.operand)) { + const exportedNames = getExports(node.operand); + if (exportedNames) { + let temp; + let expression = visitNode(node.operand, visitor, isExpression); + if (isPrefixUnaryExpression(node)) { + expression = factory2.updatePrefixUnaryExpression(node, expression); + } else { + expression = factory2.updatePostfixUnaryExpression(node, expression); + if (!valueIsDiscarded) { + temp = factory2.createTempVariable(hoistVariableDeclaration); + expression = factory2.createAssignment(temp, expression); + setTextRange(expression, node); + } + expression = factory2.createComma(expression, factory2.cloneNode(node.operand)); + setTextRange(expression, node); + } + for (const exportName of exportedNames) { + noSubstitution[getNodeId(expression)] = true; + expression = createExportExpression(exportName, expression); + setTextRange(expression, node); + } + if (temp) { + noSubstitution[getNodeId(expression)] = true; + expression = factory2.createComma(expression, temp); + setTextRange(expression, node); + } + return expression; + } + } + return visitEachChild(node, visitor, context); + } + function shimOrRewriteImportOrRequireCall(node) { + return factory2.updateCallExpression( + node, + node.expression, + /*typeArguments*/ + void 0, + visitNodes2(node.arguments, (arg) => { + if (arg === node.arguments[0]) { + return isStringLiteralLike(arg) ? rewriteModuleSpecifier(arg, compilerOptions) : emitHelpers().createRewriteRelativeImportExtensionsHelper(arg); + } + return visitor(arg); + }, isExpression) + ); + } + function visitImportCallExpression(node, rewriteOrShim) { + if (moduleKind === 0 /* None */ && languageVersion >= 7 /* ES2020 */) { + return visitEachChild(node, visitor, context); + } + const externalModuleName = getExternalModuleNameLiteral(factory2, node, currentSourceFile, host, resolver, compilerOptions); + const firstArgument = visitNode(firstOrUndefined(node.arguments), visitor, isExpression); + const argument = externalModuleName && (!firstArgument || !isStringLiteral(firstArgument) || firstArgument.text !== externalModuleName.text) ? externalModuleName : firstArgument && rewriteOrShim ? isStringLiteral(firstArgument) ? rewriteModuleSpecifier(firstArgument, compilerOptions) : emitHelpers().createRewriteRelativeImportExtensionsHelper(firstArgument) : firstArgument; + const containsLexicalThis = !!(node.transformFlags & 16384 /* ContainsLexicalThis */); + switch (compilerOptions.module) { + case 2 /* AMD */: + return createImportCallExpressionAMD(argument, containsLexicalThis); + case 3 /* UMD */: + return createImportCallExpressionUMD(argument ?? factory2.createVoidZero(), containsLexicalThis); + case 1 /* CommonJS */: + default: + return createImportCallExpressionCommonJS(argument); + } + } + function createImportCallExpressionUMD(arg, containsLexicalThis) { + needUMDDynamicImportHelper = true; + if (isSimpleCopiableExpression(arg)) { + const argClone = isGeneratedIdentifier(arg) ? arg : isStringLiteral(arg) ? factory2.createStringLiteralFromNode(arg) : setEmitFlags(setTextRange(factory2.cloneNode(arg), arg), 3072 /* NoComments */); + return factory2.createConditionalExpression( + /*condition*/ + factory2.createIdentifier("__syncRequire"), + /*questionToken*/ + void 0, + /*whenTrue*/ + createImportCallExpressionCommonJS(arg), + /*colonToken*/ + void 0, + /*whenFalse*/ + createImportCallExpressionAMD(argClone, containsLexicalThis) + ); + } else { + const temp = factory2.createTempVariable(hoistVariableDeclaration); + return factory2.createComma( + factory2.createAssignment(temp, arg), + factory2.createConditionalExpression( + /*condition*/ + factory2.createIdentifier("__syncRequire"), + /*questionToken*/ + void 0, + /*whenTrue*/ + createImportCallExpressionCommonJS( + temp, + /*isInlineable*/ + true + ), + /*colonToken*/ + void 0, + /*whenFalse*/ + createImportCallExpressionAMD(temp, containsLexicalThis) + ) + ); + } + } + function createImportCallExpressionAMD(arg, containsLexicalThis) { + const resolve = factory2.createUniqueName("resolve"); + const reject = factory2.createUniqueName("reject"); + const parameters = [ + factory2.createParameterDeclaration( + /*modifiers*/ + void 0, + /*dotDotDotToken*/ + void 0, + /*name*/ + resolve + ), + factory2.createParameterDeclaration( + /*modifiers*/ + void 0, + /*dotDotDotToken*/ + void 0, + /*name*/ + reject + ) + ]; + const body = factory2.createBlock([ + factory2.createExpressionStatement( + factory2.createCallExpression( + factory2.createIdentifier("require"), + /*typeArguments*/ + void 0, + [factory2.createArrayLiteralExpression([arg || factory2.createOmittedExpression()]), resolve, reject] + ) + ) + ]); + let func; + if (languageVersion >= 2 /* ES2015 */) { + func = factory2.createArrowFunction( + /*modifiers*/ + void 0, + /*typeParameters*/ + void 0, + parameters, + /*type*/ + void 0, + /*equalsGreaterThanToken*/ + void 0, + body + ); + } else { + func = factory2.createFunctionExpression( + /*modifiers*/ + void 0, + /*asteriskToken*/ + void 0, + /*name*/ + void 0, + /*typeParameters*/ + void 0, + parameters, + /*type*/ + void 0, + body + ); + if (containsLexicalThis) { + setEmitFlags(func, 16 /* CapturesThis */); + } + } + const promise = factory2.createNewExpression( + factory2.createIdentifier("Promise"), + /*typeArguments*/ + void 0, + [func] + ); + if (getESModuleInterop(compilerOptions)) { + return factory2.createCallExpression( + factory2.createPropertyAccessExpression(promise, factory2.createIdentifier("then")), + /*typeArguments*/ + void 0, + [emitHelpers().createImportStarCallbackHelper()] + ); + } + return promise; + } + function createImportCallExpressionCommonJS(arg, isInlineable) { + const needSyncEval = arg && !isSimpleInlineableExpression(arg) && !isInlineable; + const promiseResolveCall = factory2.createCallExpression( + factory2.createPropertyAccessExpression(factory2.createIdentifier("Promise"), "resolve"), + /*typeArguments*/ + void 0, + /*argumentsArray*/ + needSyncEval ? languageVersion >= 2 /* ES2015 */ ? [ + factory2.createTemplateExpression(factory2.createTemplateHead(""), [ + factory2.createTemplateSpan(arg, factory2.createTemplateTail("")) + ]) + ] : [ + factory2.createCallExpression( + factory2.createPropertyAccessExpression(factory2.createStringLiteral(""), "concat"), + /*typeArguments*/ + void 0, + [arg] + ) + ] : [] + ); + let requireCall = factory2.createCallExpression( + factory2.createIdentifier("require"), + /*typeArguments*/ + void 0, + needSyncEval ? [factory2.createIdentifier("s")] : arg ? [arg] : [] + ); + if (getESModuleInterop(compilerOptions)) { + requireCall = emitHelpers().createImportStarHelper(requireCall); + } + const parameters = needSyncEval ? [ + factory2.createParameterDeclaration( + /*modifiers*/ + void 0, + /*dotDotDotToken*/ + void 0, + /*name*/ + "s" + ) + ] : []; + let func; + if (languageVersion >= 2 /* ES2015 */) { + func = factory2.createArrowFunction( + /*modifiers*/ + void 0, + /*typeParameters*/ + void 0, + /*parameters*/ + parameters, + /*type*/ + void 0, + /*equalsGreaterThanToken*/ + void 0, + requireCall + ); + } else { + func = factory2.createFunctionExpression( + /*modifiers*/ + void 0, + /*asteriskToken*/ + void 0, + /*name*/ + void 0, + /*typeParameters*/ + void 0, + /*parameters*/ + parameters, + /*type*/ + void 0, + factory2.createBlock([factory2.createReturnStatement(requireCall)]) + ); + } + const downleveledImport = factory2.createCallExpression( + factory2.createPropertyAccessExpression(promiseResolveCall, "then"), + /*typeArguments*/ + void 0, + [func] + ); + return downleveledImport; + } + function getHelperExpressionForExport(node, innerExpr) { + if (!getESModuleInterop(compilerOptions) || getInternalEmitFlags(node) & 2 /* NeverApplyImportHelper */) { + return innerExpr; + } + if (getExportNeedsImportStarHelper(node)) { + return emitHelpers().createImportStarHelper(innerExpr); + } + return innerExpr; + } + function getHelperExpressionForImport(node, innerExpr) { + if (!getESModuleInterop(compilerOptions) || getInternalEmitFlags(node) & 2 /* NeverApplyImportHelper */) { + return innerExpr; + } + if (getImportNeedsImportStarHelper(node)) { + return emitHelpers().createImportStarHelper(innerExpr); + } + if (getImportNeedsImportDefaultHelper(node)) { + return emitHelpers().createImportDefaultHelper(innerExpr); + } + return innerExpr; + } + function visitTopLevelImportDeclaration(node) { + let statements; + const namespaceDeclaration = getNamespaceDeclarationNode(node); + if (moduleKind !== 2 /* AMD */) { + if (!node.importClause) { + return setOriginalNode(setTextRange(factory2.createExpressionStatement(createRequireCall(node)), node), node); + } else { + const variables = []; + if (namespaceDeclaration && !isDefaultImport(node)) { + variables.push( + factory2.createVariableDeclaration( + factory2.cloneNode(namespaceDeclaration.name), + /*exclamationToken*/ + void 0, + /*type*/ + void 0, + getHelperExpressionForImport(node, createRequireCall(node)) + ) + ); + } else { + variables.push( + factory2.createVariableDeclaration( + factory2.getGeneratedNameForNode(node), + /*exclamationToken*/ + void 0, + /*type*/ + void 0, + getHelperExpressionForImport(node, createRequireCall(node)) + ) + ); + if (namespaceDeclaration && isDefaultImport(node)) { + variables.push( + factory2.createVariableDeclaration( + factory2.cloneNode(namespaceDeclaration.name), + /*exclamationToken*/ + void 0, + /*type*/ + void 0, + factory2.getGeneratedNameForNode(node) + ) + ); + } + } + statements = append( + statements, + setOriginalNode( + setTextRange( + factory2.createVariableStatement( + /*modifiers*/ + void 0, + factory2.createVariableDeclarationList( + variables, + languageVersion >= 2 /* ES2015 */ ? 2 /* Const */ : 0 /* None */ + ) + ), + /*location*/ + node + ), + /*original*/ + node + ) + ); + } + } else if (namespaceDeclaration && isDefaultImport(node)) { + statements = append( + statements, + factory2.createVariableStatement( + /*modifiers*/ + void 0, + factory2.createVariableDeclarationList( + [ + setOriginalNode( + setTextRange( + factory2.createVariableDeclaration( + factory2.cloneNode(namespaceDeclaration.name), + /*exclamationToken*/ + void 0, + /*type*/ + void 0, + factory2.getGeneratedNameForNode(node) + ), + /*location*/ + node + ), + /*original*/ + node + ) + ], + languageVersion >= 2 /* ES2015 */ ? 2 /* Const */ : 0 /* None */ + ) + ) + ); + } + statements = appendExportsOfImportDeclaration(statements, node); + return singleOrMany(statements); + } + function createRequireCall(importNode) { + const moduleName = getExternalModuleNameLiteral(factory2, importNode, currentSourceFile, host, resolver, compilerOptions); + const args = []; + if (moduleName) { + args.push(rewriteModuleSpecifier(moduleName, compilerOptions)); + } + return factory2.createCallExpression( + factory2.createIdentifier("require"), + /*typeArguments*/ + void 0, + args + ); + } + function visitTopLevelImportEqualsDeclaration(node) { + Debug.assert(isExternalModuleImportEqualsDeclaration(node), "import= for internal module references should be handled in an earlier transformer."); + let statements; + if (moduleKind !== 2 /* AMD */) { + if (hasSyntacticModifier(node, 32 /* Export */)) { + statements = append( + statements, + setOriginalNode( + setTextRange( + factory2.createExpressionStatement( + createExportExpression( + node.name, + createRequireCall(node) + ) + ), + node + ), + node + ) + ); + } else { + statements = append( + statements, + setOriginalNode( + setTextRange( + factory2.createVariableStatement( + /*modifiers*/ + void 0, + factory2.createVariableDeclarationList( + [ + factory2.createVariableDeclaration( + factory2.cloneNode(node.name), + /*exclamationToken*/ + void 0, + /*type*/ + void 0, + createRequireCall(node) + ) + ], + /*flags*/ + languageVersion >= 2 /* ES2015 */ ? 2 /* Const */ : 0 /* None */ + ) + ), + node + ), + node + ) + ); + } + } else { + if (hasSyntacticModifier(node, 32 /* Export */)) { + statements = append( + statements, + setOriginalNode( + setTextRange( + factory2.createExpressionStatement( + createExportExpression(factory2.getExportName(node), factory2.getLocalName(node)) + ), + node + ), + node + ) + ); + } + } + statements = appendExportsOfImportEqualsDeclaration(statements, node); + return singleOrMany(statements); + } + function visitTopLevelExportDeclaration(node) { + if (!node.moduleSpecifier) { + return void 0; + } + const generatedName = factory2.getGeneratedNameForNode(node); + if (node.exportClause && isNamedExports(node.exportClause)) { + const statements = []; + if (moduleKind !== 2 /* AMD */) { + statements.push( + setOriginalNode( + setTextRange( + factory2.createVariableStatement( + /*modifiers*/ + void 0, + factory2.createVariableDeclarationList([ + factory2.createVariableDeclaration( + generatedName, + /*exclamationToken*/ + void 0, + /*type*/ + void 0, + createRequireCall(node) + ) + ]) + ), + /*location*/ + node + ), + /* original */ + node + ) + ); + } + for (const specifier of node.exportClause.elements) { + const specifierName = specifier.propertyName || specifier.name; + const exportNeedsImportDefault = !!getESModuleInterop(compilerOptions) && !(getInternalEmitFlags(node) & 2 /* NeverApplyImportHelper */) && moduleExportNameIsDefault(specifierName); + const target = exportNeedsImportDefault ? emitHelpers().createImportDefaultHelper(generatedName) : generatedName; + const exportedValue = specifierName.kind === 11 /* StringLiteral */ ? factory2.createElementAccessExpression(target, specifierName) : factory2.createPropertyAccessExpression(target, specifierName); + statements.push( + setOriginalNode( + setTextRange( + factory2.createExpressionStatement( + createExportExpression( + specifier.name.kind === 11 /* StringLiteral */ ? factory2.cloneNode(specifier.name) : factory2.getExportName(specifier), + exportedValue, + /*location*/ + void 0, + /*liveBinding*/ + true + ) + ), + specifier + ), + specifier + ) + ); + } + return singleOrMany(statements); + } else if (node.exportClause) { + const statements = []; + statements.push( + setOriginalNode( + setTextRange( + factory2.createExpressionStatement( + createExportExpression( + factory2.cloneNode(node.exportClause.name), + getHelperExpressionForExport( + node, + moduleKind !== 2 /* AMD */ ? createRequireCall(node) : isExportNamespaceAsDefaultDeclaration(node) ? generatedName : node.exportClause.name.kind === 11 /* StringLiteral */ ? generatedName : factory2.createIdentifier(idText(node.exportClause.name)) + ) + ) + ), + node + ), + node + ) + ); + return singleOrMany(statements); + } else { + return setOriginalNode( + setTextRange( + factory2.createExpressionStatement( + emitHelpers().createExportStarHelper(moduleKind !== 2 /* AMD */ ? createRequireCall(node) : generatedName) + ), + node + ), + node + ); + } + } + function visitTopLevelExportAssignment(node) { + if (node.isExportEquals) { + return void 0; + } + return createExportStatement( + factory2.createIdentifier("default"), + visitNode(node.expression, visitor, isExpression), + /*location*/ + node, + /*allowComments*/ + true + ); + } + function visitFunctionDeclaration(node) { + let statements; + if (hasSyntacticModifier(node, 32 /* Export */)) { + statements = append( + statements, + setOriginalNode( + setTextRange( + factory2.createFunctionDeclaration( + visitNodes2(node.modifiers, modifierVisitor, isModifier), + node.asteriskToken, + factory2.getDeclarationName( + node, + /*allowComments*/ + true, + /*allowSourceMaps*/ + true + ), + /*typeParameters*/ + void 0, + visitNodes2(node.parameters, visitor, isParameter), + /*type*/ + void 0, + visitEachChild(node.body, visitor, context) + ), + /*location*/ + node + ), + /*original*/ + node + ) + ); + } else { + statements = append(statements, visitEachChild(node, visitor, context)); + } + return singleOrMany(statements); + } + function visitClassDeclaration(node) { + let statements; + if (hasSyntacticModifier(node, 32 /* Export */)) { + statements = append( + statements, + setOriginalNode( + setTextRange( + factory2.createClassDeclaration( + visitNodes2(node.modifiers, modifierVisitor, isModifierLike), + factory2.getDeclarationName( + node, + /*allowComments*/ + true, + /*allowSourceMaps*/ + true + ), + /*typeParameters*/ + void 0, + visitNodes2(node.heritageClauses, visitor, isHeritageClause), + visitNodes2(node.members, visitor, isClassElement) + ), + node + ), + node + ) + ); + } else { + statements = append(statements, visitEachChild(node, visitor, context)); + } + statements = appendExportsOfHoistedDeclaration(statements, node); + return singleOrMany(statements); + } + function visitVariableStatement(node) { + let statements; + let variables; + let expressions; + if (hasSyntacticModifier(node, 32 /* Export */)) { + let modifiers; + let removeCommentsOnExpressions = false; + for (const variable of node.declarationList.declarations) { + if (isIdentifier(variable.name) && isLocalName(variable.name)) { + if (!modifiers) { + modifiers = visitNodes2(node.modifiers, modifierVisitor, isModifier); + } + if (variable.initializer) { + const updatedVariable = factory2.updateVariableDeclaration( + variable, + variable.name, + /*exclamationToken*/ + void 0, + /*type*/ + void 0, + createExportExpression( + variable.name, + visitNode(variable.initializer, visitor, isExpression) + ) + ); + variables = append(variables, updatedVariable); + } else { + variables = append(variables, variable); + } + } else if (variable.initializer) { + if (!isBindingPattern(variable.name) && (isArrowFunction(variable.initializer) || isFunctionExpression(variable.initializer) || isClassExpression(variable.initializer))) { + const expression = factory2.createAssignment( + setTextRange( + factory2.createPropertyAccessExpression( + factory2.createIdentifier("exports"), + variable.name + ), + /*location*/ + variable.name + ), + factory2.createIdentifier(getTextOfIdentifierOrLiteral(variable.name)) + ); + const updatedVariable = factory2.createVariableDeclaration( + variable.name, + variable.exclamationToken, + variable.type, + visitNode(variable.initializer, visitor, isExpression) + ); + variables = append(variables, updatedVariable); + expressions = append(expressions, expression); + removeCommentsOnExpressions = true; + } else { + expressions = append(expressions, transformInitializedVariable(variable)); + } + } + } + if (variables) { + statements = append(statements, factory2.updateVariableStatement(node, modifiers, factory2.updateVariableDeclarationList(node.declarationList, variables))); + } + if (expressions) { + const statement = setOriginalNode(setTextRange(factory2.createExpressionStatement(factory2.inlineExpressions(expressions)), node), node); + if (removeCommentsOnExpressions) { + removeAllComments(statement); + } + statements = append(statements, statement); + } + } else { + statements = append(statements, visitEachChild(node, visitor, context)); + } + statements = appendExportsOfVariableStatement(statements, node); + return singleOrMany(statements); + } + function createAllExportExpressions(name, value, location) { + const exportedNames = getExports(name); + if (exportedNames) { + let expression = isExportName(name) ? value : factory2.createAssignment(name, value); + for (const exportName of exportedNames) { + setEmitFlags(expression, 8 /* NoSubstitution */); + expression = createExportExpression( + exportName, + expression, + /*location*/ + location + ); + } + return expression; + } + return factory2.createAssignment(name, value); + } + function transformInitializedVariable(node) { + if (isBindingPattern(node.name)) { + return flattenDestructuringAssignment( + visitNode(node, visitor, isInitializedVariable), + visitor, + context, + 0 /* All */, + /*needsValue*/ + false, + createAllExportExpressions + ); + } else { + return factory2.createAssignment( + setTextRange( + factory2.createPropertyAccessExpression( + factory2.createIdentifier("exports"), + node.name + ), + /*location*/ + node.name + ), + node.initializer ? visitNode(node.initializer, visitor, isExpression) : factory2.createVoidZero() + ); + } + } + function appendExportsOfImportDeclaration(statements, decl) { + if (currentModuleInfo.exportEquals) { + return statements; + } + const importClause = decl.importClause; + if (!importClause) { + return statements; + } + const seen = new IdentifierNameMap(); + if (importClause.name) { + statements = appendExportsOfDeclaration(statements, seen, importClause); + } + const namedBindings = importClause.namedBindings; + if (namedBindings) { + switch (namedBindings.kind) { + case 274 /* NamespaceImport */: + statements = appendExportsOfDeclaration(statements, seen, namedBindings); + break; + case 275 /* NamedImports */: + for (const importBinding of namedBindings.elements) { + statements = appendExportsOfDeclaration( + statements, + seen, + importBinding, + /*liveBinding*/ + true + ); + } + break; + } + } + return statements; + } + function appendExportsOfImportEqualsDeclaration(statements, decl) { + if (currentModuleInfo.exportEquals) { + return statements; + } + return appendExportsOfDeclaration(statements, new IdentifierNameMap(), decl); + } + function appendExportsOfVariableStatement(statements, node) { + return appendExportsOfVariableDeclarationList( + statements, + node.declarationList, + /*isForInOrOfInitializer*/ + false + ); + } + function appendExportsOfVariableDeclarationList(statements, node, isForInOrOfInitializer) { + if (currentModuleInfo.exportEquals) { + return statements; + } + for (const decl of node.declarations) { + statements = appendExportsOfBindingElement(statements, decl, isForInOrOfInitializer); + } + return statements; + } + function appendExportsOfBindingElement(statements, decl, isForInOrOfInitializer) { + if (currentModuleInfo.exportEquals) { + return statements; + } + if (isBindingPattern(decl.name)) { + for (const element of decl.name.elements) { + if (!isOmittedExpression(element)) { + statements = appendExportsOfBindingElement(statements, element, isForInOrOfInitializer); + } + } + } else if (!isGeneratedIdentifier(decl.name) && (!isVariableDeclaration(decl) || decl.initializer || isForInOrOfInitializer)) { + statements = appendExportsOfDeclaration(statements, new IdentifierNameMap(), decl); + } + return statements; + } + function appendExportsOfHoistedDeclaration(statements, decl) { + if (currentModuleInfo.exportEquals) { + return statements; + } + const seen = new IdentifierNameMap(); + if (hasSyntacticModifier(decl, 32 /* Export */)) { + const exportName = hasSyntacticModifier(decl, 2048 /* Default */) ? factory2.createIdentifier("default") : factory2.getDeclarationName(decl); + statements = appendExportStatement( + statements, + seen, + exportName, + factory2.getLocalName(decl), + /*location*/ + decl + ); + } + if (decl.name) { + statements = appendExportsOfDeclaration(statements, seen, decl); + } + return statements; + } + function appendExportsOfDeclaration(statements, seen, decl, liveBinding) { + const name = factory2.getDeclarationName(decl); + const exportSpecifiers = currentModuleInfo.exportSpecifiers.get(name); + if (exportSpecifiers) { + for (const exportSpecifier of exportSpecifiers) { + statements = appendExportStatement( + statements, + seen, + exportSpecifier.name, + name, + /*location*/ + exportSpecifier.name, + /*allowComments*/ + void 0, + liveBinding + ); + } + } + return statements; + } + function appendExportStatement(statements, seen, exportName, expression, location, allowComments, liveBinding) { + if (exportName.kind !== 11 /* StringLiteral */) { + if (seen.has(exportName)) { + return statements; + } + seen.set(exportName, true); + } + statements = append(statements, createExportStatement(exportName, expression, location, allowComments, liveBinding)); + return statements; + } + function createUnderscoreUnderscoreESModule() { + const statement = factory2.createExpressionStatement( + factory2.createCallExpression( + factory2.createPropertyAccessExpression(factory2.createIdentifier("Object"), "defineProperty"), + /*typeArguments*/ + void 0, + [ + factory2.createIdentifier("exports"), + factory2.createStringLiteral("__esModule"), + factory2.createObjectLiteralExpression([ + factory2.createPropertyAssignment("value", factory2.createTrue()) + ]) + ] + ) + ); + setEmitFlags(statement, 2097152 /* CustomPrologue */); + return statement; + } + function createExportStatement(name, value, location, allowComments, liveBinding) { + const statement = setTextRange(factory2.createExpressionStatement(createExportExpression( + name, + value, + /*location*/ + void 0, + liveBinding + )), location); + startOnNewLine(statement); + if (!allowComments) { + setEmitFlags(statement, 3072 /* NoComments */); + } + return statement; + } + function createExportExpression(name, value, location, liveBinding) { + return setTextRange( + liveBinding ? factory2.createCallExpression( + factory2.createPropertyAccessExpression( + factory2.createIdentifier("Object"), + "defineProperty" + ), + /*typeArguments*/ + void 0, + [ + factory2.createIdentifier("exports"), + factory2.createStringLiteralFromNode(name), + factory2.createObjectLiteralExpression([ + factory2.createPropertyAssignment("enumerable", factory2.createTrue()), + factory2.createPropertyAssignment( + "get", + factory2.createFunctionExpression( + /*modifiers*/ + void 0, + /*asteriskToken*/ + void 0, + /*name*/ + void 0, + /*typeParameters*/ + void 0, + /*parameters*/ + [], + /*type*/ + void 0, + factory2.createBlock([factory2.createReturnStatement(value)]) + ) + ) + ]) + ] + ) : factory2.createAssignment( + name.kind === 11 /* StringLiteral */ ? factory2.createElementAccessExpression( + factory2.createIdentifier("exports"), + factory2.cloneNode(name) + ) : factory2.createPropertyAccessExpression( + factory2.createIdentifier("exports"), + factory2.cloneNode(name) + ), + value + ), + location + ); + } + function modifierVisitor(node) { + switch (node.kind) { + case 95 /* ExportKeyword */: + case 90 /* DefaultKeyword */: + return void 0; + } + return node; + } + function onEmitNode(hint, node, emitCallback) { + if (node.kind === 307 /* SourceFile */) { + currentSourceFile = node; + currentModuleInfo = moduleInfoMap[getOriginalNodeId(currentSourceFile)]; + previousOnEmitNode(hint, node, emitCallback); + currentSourceFile = void 0; + currentModuleInfo = void 0; + } else { + previousOnEmitNode(hint, node, emitCallback); + } + } + function onSubstituteNode(hint, node) { + node = previousOnSubstituteNode(hint, node); + if (node.id && noSubstitution[node.id]) { + return node; + } + if (hint === 1 /* Expression */) { + return substituteExpression(node); + } else if (isShorthandPropertyAssignment(node)) { + return substituteShorthandPropertyAssignment(node); + } + return node; + } + function substituteShorthandPropertyAssignment(node) { + const name = node.name; + const exportedOrImportedName = substituteExpressionIdentifier(name); + if (exportedOrImportedName !== name) { + if (node.objectAssignmentInitializer) { + const initializer = factory2.createAssignment(exportedOrImportedName, node.objectAssignmentInitializer); + return setTextRange(factory2.createPropertyAssignment(name, initializer), node); + } + return setTextRange(factory2.createPropertyAssignment(name, exportedOrImportedName), node); + } + return node; + } + function substituteExpression(node) { + switch (node.kind) { + case 80 /* Identifier */: + return substituteExpressionIdentifier(node); + case 213 /* CallExpression */: + return substituteCallExpression(node); + case 215 /* TaggedTemplateExpression */: + return substituteTaggedTemplateExpression(node); + case 226 /* BinaryExpression */: + return substituteBinaryExpression(node); + } + return node; + } + function substituteCallExpression(node) { + if (isIdentifier(node.expression)) { + const expression = substituteExpressionIdentifier(node.expression); + noSubstitution[getNodeId(expression)] = true; + if (!isIdentifier(expression) && !(getEmitFlags(node.expression) & 8192 /* HelperName */)) { + return addInternalEmitFlags( + factory2.updateCallExpression( + node, + expression, + /*typeArguments*/ + void 0, + node.arguments + ), + 16 /* IndirectCall */ + ); + } + } + return node; + } + function substituteTaggedTemplateExpression(node) { + if (isIdentifier(node.tag)) { + const tag = substituteExpressionIdentifier(node.tag); + noSubstitution[getNodeId(tag)] = true; + if (!isIdentifier(tag) && !(getEmitFlags(node.tag) & 8192 /* HelperName */)) { + return addInternalEmitFlags( + factory2.updateTaggedTemplateExpression( + node, + tag, + /*typeArguments*/ + void 0, + node.template + ), + 16 /* IndirectCall */ + ); + } + } + return node; + } + function substituteExpressionIdentifier(node) { + var _a, _b; + if (getEmitFlags(node) & 8192 /* HelperName */) { + const externalHelpersModuleName = getExternalHelpersModuleName(currentSourceFile); + if (externalHelpersModuleName) { + return factory2.createPropertyAccessExpression(externalHelpersModuleName, node); + } + return node; + } else if (!(isGeneratedIdentifier(node) && !(node.emitNode.autoGenerate.flags & 64 /* AllowNameSubstitution */)) && !isLocalName(node)) { + const exportContainer = resolver.getReferencedExportContainer(node, isExportName(node)); + if (exportContainer && exportContainer.kind === 307 /* SourceFile */) { + return setTextRange( + factory2.createPropertyAccessExpression( + factory2.createIdentifier("exports"), + factory2.cloneNode(node) + ), + /*location*/ + node + ); + } + const importDeclaration = resolver.getReferencedImportDeclaration(node); + if (importDeclaration) { + if (isImportClause(importDeclaration)) { + return setTextRange( + factory2.createPropertyAccessExpression( + factory2.getGeneratedNameForNode(importDeclaration.parent), + factory2.createIdentifier("default") + ), + /*location*/ + node + ); + } else if (isImportSpecifier(importDeclaration)) { + const name = importDeclaration.propertyName || importDeclaration.name; + const target = factory2.getGeneratedNameForNode(((_b = (_a = importDeclaration.parent) == null ? void 0 : _a.parent) == null ? void 0 : _b.parent) || importDeclaration); + return setTextRange( + name.kind === 11 /* StringLiteral */ ? factory2.createElementAccessExpression(target, factory2.cloneNode(name)) : factory2.createPropertyAccessExpression(target, factory2.cloneNode(name)), + /*location*/ + node + ); + } + } + } + return node; + } + function substituteBinaryExpression(node) { + if (isAssignmentOperator(node.operatorToken.kind) && isIdentifier(node.left) && (!isGeneratedIdentifier(node.left) || isFileLevelReservedGeneratedIdentifier(node.left)) && !isLocalName(node.left)) { + const exportedNames = getExports(node.left); + if (exportedNames) { + let expression = node; + for (const exportName of exportedNames) { + noSubstitution[getNodeId(expression)] = true; + expression = createExportExpression( + exportName, + expression, + /*location*/ + node + ); + } + return expression; + } + } + return node; + } + function getExports(name) { + if (!isGeneratedIdentifier(name)) { + const importDeclaration = resolver.getReferencedImportDeclaration(name); + if (importDeclaration) { + return currentModuleInfo == null ? void 0 : currentModuleInfo.exportedBindings[getOriginalNodeId(importDeclaration)]; + } + const bindingsSet = /* @__PURE__ */ new Set(); + const declarations = resolver.getReferencedValueDeclarations(name); + if (declarations) { + for (const declaration of declarations) { + const bindings = currentModuleInfo == null ? void 0 : currentModuleInfo.exportedBindings[getOriginalNodeId(declaration)]; + if (bindings) { + for (const binding of bindings) { + bindingsSet.add(binding); + } + } + } + if (bindingsSet.size) { + return arrayFrom(bindingsSet); + } + } + } else if (isFileLevelReservedGeneratedIdentifier(name)) { + const exportSpecifiers = currentModuleInfo == null ? void 0 : currentModuleInfo.exportSpecifiers.get(name); + if (exportSpecifiers) { + const exportedNames = []; + for (const exportSpecifier of exportSpecifiers) { + exportedNames.push(exportSpecifier.name); + } + return exportedNames; + } + } + } +} +var dynamicImportUMDHelper = { + name: "typescript:dynamicimport-sync-require", + scoped: true, + text: ` + var __syncRequire = typeof module === "object" && typeof module.exports === "object";` +}; + +// src/compiler/transformers/module/system.ts +function transformSystemModule(context) { + const { + factory: factory2, + startLexicalEnvironment, + endLexicalEnvironment, + hoistVariableDeclaration + } = context; + const compilerOptions = context.getCompilerOptions(); + const resolver = context.getEmitResolver(); + const host = context.getEmitHost(); + const previousOnSubstituteNode = context.onSubstituteNode; + const previousOnEmitNode = context.onEmitNode; + context.onSubstituteNode = onSubstituteNode; + context.onEmitNode = onEmitNode; + context.enableSubstitution(80 /* Identifier */); + context.enableSubstitution(304 /* ShorthandPropertyAssignment */); + context.enableSubstitution(226 /* BinaryExpression */); + context.enableSubstitution(236 /* MetaProperty */); + context.enableEmitNotification(307 /* SourceFile */); + const moduleInfoMap = []; + const exportFunctionsMap = []; + const noSubstitutionMap = []; + const contextObjectMap = []; + let currentSourceFile; + let moduleInfo; + let exportFunction; + let contextObject; + let hoistedStatements; + let enclosingBlockScopedContainer; + let noSubstitution; + return chainBundle(context, transformSourceFile); + function transformSourceFile(node) { + if (node.isDeclarationFile || !(isEffectiveExternalModule(node, compilerOptions) || node.transformFlags & 8388608 /* ContainsDynamicImport */)) { + return node; + } + const id = getOriginalNodeId(node); + currentSourceFile = node; + enclosingBlockScopedContainer = node; + moduleInfo = moduleInfoMap[id] = collectExternalModuleInfo(context, node); + exportFunction = factory2.createUniqueName("exports"); + exportFunctionsMap[id] = exportFunction; + contextObject = contextObjectMap[id] = factory2.createUniqueName("context"); + const dependencyGroups = collectDependencyGroups(moduleInfo.externalImports); + const moduleBodyBlock = createSystemModuleBody(node, dependencyGroups); + const moduleBodyFunction = factory2.createFunctionExpression( + /*modifiers*/ + void 0, + /*asteriskToken*/ + void 0, + /*name*/ + void 0, + /*typeParameters*/ + void 0, + [ + factory2.createParameterDeclaration( + /*modifiers*/ + void 0, + /*dotDotDotToken*/ + void 0, + exportFunction + ), + factory2.createParameterDeclaration( + /*modifiers*/ + void 0, + /*dotDotDotToken*/ + void 0, + contextObject + ) + ], + /*type*/ + void 0, + moduleBodyBlock + ); + const moduleName = tryGetModuleNameFromFile(factory2, node, host, compilerOptions); + const dependencies = factory2.createArrayLiteralExpression(map(dependencyGroups, (dependencyGroup) => dependencyGroup.name)); + const updated = setEmitFlags( + factory2.updateSourceFile( + node, + setTextRange( + factory2.createNodeArray([ + factory2.createExpressionStatement( + factory2.createCallExpression( + factory2.createPropertyAccessExpression(factory2.createIdentifier("System"), "register"), + /*typeArguments*/ + void 0, + moduleName ? [moduleName, dependencies, moduleBodyFunction] : [dependencies, moduleBodyFunction] + ) + ) + ]), + node.statements + ) + ), + 2048 /* NoTrailingComments */ + ); + if (!compilerOptions.outFile) { + moveEmitHelpers(updated, moduleBodyBlock, (helper) => !helper.scoped); + } + if (noSubstitution) { + noSubstitutionMap[id] = noSubstitution; + noSubstitution = void 0; + } + currentSourceFile = void 0; + moduleInfo = void 0; + exportFunction = void 0; + contextObject = void 0; + hoistedStatements = void 0; + enclosingBlockScopedContainer = void 0; + return updated; + } + function collectDependencyGroups(externalImports) { + const groupIndices = /* @__PURE__ */ new Map(); + const dependencyGroups = []; + for (const externalImport of externalImports) { + const externalModuleName = getExternalModuleNameLiteral(factory2, externalImport, currentSourceFile, host, resolver, compilerOptions); + if (externalModuleName) { + const text = externalModuleName.text; + const groupIndex = groupIndices.get(text); + if (groupIndex !== void 0) { + dependencyGroups[groupIndex].externalImports.push(externalImport); + } else { + groupIndices.set(text, dependencyGroups.length); + dependencyGroups.push({ + name: externalModuleName, + externalImports: [externalImport] + }); + } + } + } + return dependencyGroups; + } + function createSystemModuleBody(node, dependencyGroups) { + const statements = []; + startLexicalEnvironment(); + const ensureUseStrict = getStrictOptionValue(compilerOptions, "alwaysStrict") || isExternalModule(currentSourceFile); + const statementOffset = factory2.copyPrologue(node.statements, statements, ensureUseStrict, topLevelVisitor); + statements.push( + factory2.createVariableStatement( + /*modifiers*/ + void 0, + factory2.createVariableDeclarationList([ + factory2.createVariableDeclaration( + "__moduleName", + /*exclamationToken*/ + void 0, + /*type*/ + void 0, + factory2.createLogicalAnd( + contextObject, + factory2.createPropertyAccessExpression(contextObject, "id") + ) + ) + ]) + ) + ); + visitNode(moduleInfo.externalHelpersImportDeclaration, topLevelVisitor, isStatement); + const executeStatements = visitNodes2(node.statements, topLevelVisitor, isStatement, statementOffset); + addRange(statements, hoistedStatements); + insertStatementsAfterStandardPrologue(statements, endLexicalEnvironment()); + const exportStarFunction = addExportStarIfNeeded(statements); + const modifiers = node.transformFlags & 2097152 /* ContainsAwait */ ? factory2.createModifiersFromModifierFlags(1024 /* Async */) : void 0; + const moduleObject = factory2.createObjectLiteralExpression( + [ + factory2.createPropertyAssignment("setters", createSettersArray(exportStarFunction, dependencyGroups)), + factory2.createPropertyAssignment( + "execute", + factory2.createFunctionExpression( + modifiers, + /*asteriskToken*/ + void 0, + /*name*/ + void 0, + /*typeParameters*/ + void 0, + /*parameters*/ + [], + /*type*/ + void 0, + factory2.createBlock( + executeStatements, + /*multiLine*/ + true + ) + ) + ) + ], + /*multiLine*/ + true + ); + statements.push(factory2.createReturnStatement(moduleObject)); + return factory2.createBlock( + statements, + /*multiLine*/ + true + ); + } + function addExportStarIfNeeded(statements) { + if (!moduleInfo.hasExportStarsToExportValues) { + return; + } + if (!some(moduleInfo.exportedNames) && moduleInfo.exportedFunctions.size === 0 && moduleInfo.exportSpecifiers.size === 0) { + let hasExportDeclarationWithExportClause = false; + for (const externalImport of moduleInfo.externalImports) { + if (externalImport.kind === 278 /* ExportDeclaration */ && externalImport.exportClause) { + hasExportDeclarationWithExportClause = true; + break; + } + } + if (!hasExportDeclarationWithExportClause) { + const exportStarFunction2 = createExportStarFunction( + /*localNames*/ + void 0 + ); + statements.push(exportStarFunction2); + return exportStarFunction2.name; + } + } + const exportedNames = []; + if (moduleInfo.exportedNames) { + for (const exportedLocalName of moduleInfo.exportedNames) { + if (moduleExportNameIsDefault(exportedLocalName)) { + continue; + } + exportedNames.push( + factory2.createPropertyAssignment( + factory2.createStringLiteralFromNode(exportedLocalName), + factory2.createTrue() + ) + ); + } + } + for (const f of moduleInfo.exportedFunctions) { + if (hasSyntacticModifier(f, 2048 /* Default */)) { + continue; + } + Debug.assert(!!f.name); + exportedNames.push( + factory2.createPropertyAssignment( + factory2.createStringLiteralFromNode(f.name), + factory2.createTrue() + ) + ); + } + const exportedNamesStorageRef = factory2.createUniqueName("exportedNames"); + statements.push( + factory2.createVariableStatement( + /*modifiers*/ + void 0, + factory2.createVariableDeclarationList([ + factory2.createVariableDeclaration( + exportedNamesStorageRef, + /*exclamationToken*/ + void 0, + /*type*/ + void 0, + factory2.createObjectLiteralExpression( + exportedNames, + /*multiLine*/ + true + ) + ) + ]) + ) + ); + const exportStarFunction = createExportStarFunction(exportedNamesStorageRef); + statements.push(exportStarFunction); + return exportStarFunction.name; + } + function createExportStarFunction(localNames) { + const exportStarFunction = factory2.createUniqueName("exportStar"); + const m = factory2.createIdentifier("m"); + const n = factory2.createIdentifier("n"); + const exports2 = factory2.createIdentifier("exports"); + let condition = factory2.createStrictInequality(n, factory2.createStringLiteral("default")); + if (localNames) { + condition = factory2.createLogicalAnd( + condition, + factory2.createLogicalNot( + factory2.createCallExpression( + factory2.createPropertyAccessExpression(localNames, "hasOwnProperty"), + /*typeArguments*/ + void 0, + [n] + ) + ) + ); + } + return factory2.createFunctionDeclaration( + /*modifiers*/ + void 0, + /*asteriskToken*/ + void 0, + exportStarFunction, + /*typeParameters*/ + void 0, + [factory2.createParameterDeclaration( + /*modifiers*/ + void 0, + /*dotDotDotToken*/ + void 0, + m + )], + /*type*/ + void 0, + factory2.createBlock( + [ + factory2.createVariableStatement( + /*modifiers*/ + void 0, + factory2.createVariableDeclarationList([ + factory2.createVariableDeclaration( + exports2, + /*exclamationToken*/ + void 0, + /*type*/ + void 0, + factory2.createObjectLiteralExpression([]) + ) + ]) + ), + factory2.createForInStatement( + factory2.createVariableDeclarationList([ + factory2.createVariableDeclaration(n) + ]), + m, + factory2.createBlock([ + setEmitFlags( + factory2.createIfStatement( + condition, + factory2.createExpressionStatement( + factory2.createAssignment( + factory2.createElementAccessExpression(exports2, n), + factory2.createElementAccessExpression(m, n) + ) + ) + ), + 1 /* SingleLine */ + ) + ]) + ), + factory2.createExpressionStatement( + factory2.createCallExpression( + exportFunction, + /*typeArguments*/ + void 0, + [exports2] + ) + ) + ], + /*multiLine*/ + true + ) + ); + } + function createSettersArray(exportStarFunction, dependencyGroups) { + const setters = []; + for (const group2 of dependencyGroups) { + const localName = forEach(group2.externalImports, (i) => getLocalNameForExternalImport(factory2, i, currentSourceFile)); + const parameterName = localName ? factory2.getGeneratedNameForNode(localName) : factory2.createUniqueName(""); + const statements = []; + for (const entry of group2.externalImports) { + const importVariableName = getLocalNameForExternalImport(factory2, entry, currentSourceFile); + switch (entry.kind) { + case 272 /* ImportDeclaration */: + if (!entry.importClause) { + break; + } + // falls through + case 271 /* ImportEqualsDeclaration */: + Debug.assert(importVariableName !== void 0); + statements.push( + factory2.createExpressionStatement( + factory2.createAssignment(importVariableName, parameterName) + ) + ); + if (hasSyntacticModifier(entry, 32 /* Export */)) { + statements.push( + factory2.createExpressionStatement( + factory2.createCallExpression( + exportFunction, + /*typeArguments*/ + void 0, + [ + factory2.createStringLiteral(idText(importVariableName)), + parameterName + ] + ) + ) + ); + } + break; + case 278 /* ExportDeclaration */: + Debug.assert(importVariableName !== void 0); + if (entry.exportClause) { + if (isNamedExports(entry.exportClause)) { + const properties = []; + for (const e of entry.exportClause.elements) { + properties.push( + factory2.createPropertyAssignment( + factory2.createStringLiteral(moduleExportNameTextUnescaped(e.name)), + factory2.createElementAccessExpression( + parameterName, + factory2.createStringLiteral(moduleExportNameTextUnescaped(e.propertyName || e.name)) + ) + ) + ); + } + statements.push( + factory2.createExpressionStatement( + factory2.createCallExpression( + exportFunction, + /*typeArguments*/ + void 0, + [factory2.createObjectLiteralExpression( + properties, + /*multiLine*/ + true + )] + ) + ) + ); + } else { + statements.push( + factory2.createExpressionStatement( + factory2.createCallExpression( + exportFunction, + /*typeArguments*/ + void 0, + [ + factory2.createStringLiteral(moduleExportNameTextUnescaped(entry.exportClause.name)), + parameterName + ] + ) + ) + ); + } + } else { + statements.push( + factory2.createExpressionStatement( + factory2.createCallExpression( + exportStarFunction, + /*typeArguments*/ + void 0, + [parameterName] + ) + ) + ); + } + break; + } + } + setters.push( + factory2.createFunctionExpression( + /*modifiers*/ + void 0, + /*asteriskToken*/ + void 0, + /*name*/ + void 0, + /*typeParameters*/ + void 0, + [factory2.createParameterDeclaration( + /*modifiers*/ + void 0, + /*dotDotDotToken*/ + void 0, + parameterName + )], + /*type*/ + void 0, + factory2.createBlock( + statements, + /*multiLine*/ + true + ) + ) + ); + } + return factory2.createArrayLiteralExpression( + setters, + /*multiLine*/ + true + ); + } + function topLevelVisitor(node) { + switch (node.kind) { + case 272 /* ImportDeclaration */: + return visitImportDeclaration(node); + case 271 /* ImportEqualsDeclaration */: + return visitImportEqualsDeclaration(node); + case 278 /* ExportDeclaration */: + return visitExportDeclaration(node); + case 277 /* ExportAssignment */: + return visitExportAssignment(node); + default: + return topLevelNestedVisitor(node); + } + } + function visitImportDeclaration(node) { + let statements; + if (node.importClause) { + hoistVariableDeclaration(getLocalNameForExternalImport(factory2, node, currentSourceFile)); + } + return singleOrMany(appendExportsOfImportDeclaration(statements, node)); + } + function visitExportDeclaration(node) { + Debug.assertIsDefined(node); + return void 0; + } + function visitImportEqualsDeclaration(node) { + Debug.assert(isExternalModuleImportEqualsDeclaration(node), "import= for internal module references should be handled in an earlier transformer."); + let statements; + hoistVariableDeclaration(getLocalNameForExternalImport(factory2, node, currentSourceFile)); + return singleOrMany(appendExportsOfImportEqualsDeclaration(statements, node)); + } + function visitExportAssignment(node) { + if (node.isExportEquals) { + return void 0; + } + const expression = visitNode(node.expression, visitor, isExpression); + return createExportStatement( + factory2.createIdentifier("default"), + expression, + /*allowComments*/ + true + ); + } + function visitFunctionDeclaration(node) { + if (hasSyntacticModifier(node, 32 /* Export */)) { + hoistedStatements = append( + hoistedStatements, + factory2.updateFunctionDeclaration( + node, + visitNodes2(node.modifiers, modifierVisitor, isModifierLike), + node.asteriskToken, + factory2.getDeclarationName( + node, + /*allowComments*/ + true, + /*allowSourceMaps*/ + true + ), + /*typeParameters*/ + void 0, + visitNodes2(node.parameters, visitor, isParameter), + /*type*/ + void 0, + visitNode(node.body, visitor, isBlock) + ) + ); + } else { + hoistedStatements = append(hoistedStatements, visitEachChild(node, visitor, context)); + } + hoistedStatements = appendExportsOfHoistedDeclaration(hoistedStatements, node); + return void 0; + } + function visitClassDeclaration(node) { + let statements; + const name = factory2.getLocalName(node); + hoistVariableDeclaration(name); + statements = append( + statements, + setTextRange( + factory2.createExpressionStatement( + factory2.createAssignment( + name, + setTextRange( + factory2.createClassExpression( + visitNodes2(node.modifiers, modifierVisitor, isModifierLike), + node.name, + /*typeParameters*/ + void 0, + visitNodes2(node.heritageClauses, visitor, isHeritageClause), + visitNodes2(node.members, visitor, isClassElement) + ), + node + ) + ) + ), + node + ) + ); + statements = appendExportsOfHoistedDeclaration(statements, node); + return singleOrMany(statements); + } + function visitVariableStatement(node) { + if (!shouldHoistVariableDeclarationList(node.declarationList)) { + return visitNode(node, visitor, isStatement); + } + let statements; + if (isVarUsing(node.declarationList) || isVarAwaitUsing(node.declarationList)) { + const modifiers = visitNodes2(node.modifiers, modifierVisitor, isModifierLike); + const declarations = []; + for (const variable of node.declarationList.declarations) { + declarations.push(factory2.updateVariableDeclaration( + variable, + factory2.getGeneratedNameForNode(variable.name), + /*exclamationToken*/ + void 0, + /*type*/ + void 0, + transformInitializedVariable( + variable, + /*isExportedDeclaration*/ + false + ) + )); + } + const declarationList = factory2.updateVariableDeclarationList( + node.declarationList, + declarations + ); + statements = append(statements, factory2.updateVariableStatement(node, modifiers, declarationList)); + } else { + let expressions; + const isExportedDeclaration = hasSyntacticModifier(node, 32 /* Export */); + for (const variable of node.declarationList.declarations) { + if (variable.initializer) { + expressions = append(expressions, transformInitializedVariable(variable, isExportedDeclaration)); + } else { + hoistBindingElement(variable); + } + } + if (expressions) { + statements = append(statements, setTextRange(factory2.createExpressionStatement(factory2.inlineExpressions(expressions)), node)); + } + } + statements = appendExportsOfVariableStatement( + statements, + node, + /*exportSelf*/ + false + ); + return singleOrMany(statements); + } + function hoistBindingElement(node) { + if (isBindingPattern(node.name)) { + for (const element of node.name.elements) { + if (!isOmittedExpression(element)) { + hoistBindingElement(element); + } + } + } else { + hoistVariableDeclaration(factory2.cloneNode(node.name)); + } + } + function shouldHoistVariableDeclarationList(node) { + return (getEmitFlags(node) & 4194304 /* NoHoisting */) === 0 && (enclosingBlockScopedContainer.kind === 307 /* SourceFile */ || (getOriginalNode(node).flags & 7 /* BlockScoped */) === 0); + } + function transformInitializedVariable(node, isExportedDeclaration) { + const createAssignment = isExportedDeclaration ? createExportedVariableAssignment : createNonExportedVariableAssignment; + return isBindingPattern(node.name) ? flattenDestructuringAssignment( + node, + visitor, + context, + 0 /* All */, + /*needsValue*/ + false, + createAssignment + ) : node.initializer ? createAssignment(node.name, visitNode(node.initializer, visitor, isExpression)) : node.name; + } + function createExportedVariableAssignment(name, value, location) { + return createVariableAssignment( + name, + value, + location, + /*isExportedDeclaration*/ + true + ); + } + function createNonExportedVariableAssignment(name, value, location) { + return createVariableAssignment( + name, + value, + location, + /*isExportedDeclaration*/ + false + ); + } + function createVariableAssignment(name, value, location, isExportedDeclaration) { + hoistVariableDeclaration(factory2.cloneNode(name)); + return isExportedDeclaration ? createExportExpression(name, preventSubstitution(setTextRange(factory2.createAssignment(name, value), location))) : preventSubstitution(setTextRange(factory2.createAssignment(name, value), location)); + } + function appendExportsOfImportDeclaration(statements, decl) { + if (moduleInfo.exportEquals) { + return statements; + } + const importClause = decl.importClause; + if (!importClause) { + return statements; + } + if (importClause.name) { + statements = appendExportsOfDeclaration(statements, importClause); + } + const namedBindings = importClause.namedBindings; + if (namedBindings) { + switch (namedBindings.kind) { + case 274 /* NamespaceImport */: + statements = appendExportsOfDeclaration(statements, namedBindings); + break; + case 275 /* NamedImports */: + for (const importBinding of namedBindings.elements) { + statements = appendExportsOfDeclaration(statements, importBinding); + } + break; + } + } + return statements; + } + function appendExportsOfImportEqualsDeclaration(statements, decl) { + if (moduleInfo.exportEquals) { + return statements; + } + return appendExportsOfDeclaration(statements, decl); + } + function appendExportsOfVariableStatement(statements, node, exportSelf) { + if (moduleInfo.exportEquals) { + return statements; + } + for (const decl of node.declarationList.declarations) { + if (decl.initializer || exportSelf) { + statements = appendExportsOfBindingElement(statements, decl, exportSelf); + } + } + return statements; + } + function appendExportsOfBindingElement(statements, decl, exportSelf) { + if (moduleInfo.exportEquals) { + return statements; + } + if (isBindingPattern(decl.name)) { + for (const element of decl.name.elements) { + if (!isOmittedExpression(element)) { + statements = appendExportsOfBindingElement(statements, element, exportSelf); + } + } + } else if (!isGeneratedIdentifier(decl.name)) { + let excludeName; + if (exportSelf) { + statements = appendExportStatement(statements, decl.name, factory2.getLocalName(decl)); + excludeName = idText(decl.name); + } + statements = appendExportsOfDeclaration(statements, decl, excludeName); + } + return statements; + } + function appendExportsOfHoistedDeclaration(statements, decl) { + if (moduleInfo.exportEquals) { + return statements; + } + let excludeName; + if (hasSyntacticModifier(decl, 32 /* Export */)) { + const exportName = hasSyntacticModifier(decl, 2048 /* Default */) ? factory2.createStringLiteral("default") : decl.name; + statements = appendExportStatement(statements, exportName, factory2.getLocalName(decl)); + excludeName = getTextOfIdentifierOrLiteral(exportName); + } + if (decl.name) { + statements = appendExportsOfDeclaration(statements, decl, excludeName); + } + return statements; + } + function appendExportsOfDeclaration(statements, decl, excludeName) { + if (moduleInfo.exportEquals) { + return statements; + } + const name = factory2.getDeclarationName(decl); + const exportSpecifiers = moduleInfo.exportSpecifiers.get(name); + if (exportSpecifiers) { + for (const exportSpecifier of exportSpecifiers) { + if (moduleExportNameTextUnescaped(exportSpecifier.name) !== excludeName) { + statements = appendExportStatement(statements, exportSpecifier.name, name); + } + } + } + return statements; + } + function appendExportStatement(statements, exportName, expression, allowComments) { + statements = append(statements, createExportStatement(exportName, expression, allowComments)); + return statements; + } + function createExportStatement(name, value, allowComments) { + const statement = factory2.createExpressionStatement(createExportExpression(name, value)); + startOnNewLine(statement); + if (!allowComments) { + setEmitFlags(statement, 3072 /* NoComments */); + } + return statement; + } + function createExportExpression(name, value) { + const exportName = isIdentifier(name) ? factory2.createStringLiteralFromNode(name) : name; + setEmitFlags(value, getEmitFlags(value) | 3072 /* NoComments */); + return setCommentRange(factory2.createCallExpression( + exportFunction, + /*typeArguments*/ + void 0, + [exportName, value] + ), value); + } + function topLevelNestedVisitor(node) { + switch (node.kind) { + case 243 /* VariableStatement */: + return visitVariableStatement(node); + case 262 /* FunctionDeclaration */: + return visitFunctionDeclaration(node); + case 263 /* ClassDeclaration */: + return visitClassDeclaration(node); + case 248 /* ForStatement */: + return visitForStatement( + node, + /*isTopLevel*/ + true + ); + case 249 /* ForInStatement */: + return visitForInStatement(node); + case 250 /* ForOfStatement */: + return visitForOfStatement(node); + case 246 /* DoStatement */: + return visitDoStatement(node); + case 247 /* WhileStatement */: + return visitWhileStatement(node); + case 256 /* LabeledStatement */: + return visitLabeledStatement(node); + case 254 /* WithStatement */: + return visitWithStatement(node); + case 245 /* IfStatement */: + return visitIfStatement(node); + case 255 /* SwitchStatement */: + return visitSwitchStatement(node); + case 269 /* CaseBlock */: + return visitCaseBlock(node); + case 296 /* CaseClause */: + return visitCaseClause(node); + case 297 /* DefaultClause */: + return visitDefaultClause(node); + case 258 /* TryStatement */: + return visitTryStatement(node); + case 299 /* CatchClause */: + return visitCatchClause(node); + case 241 /* Block */: + return visitBlock(node); + default: + return visitor(node); + } + } + function visitForStatement(node, isTopLevel) { + const savedEnclosingBlockScopedContainer = enclosingBlockScopedContainer; + enclosingBlockScopedContainer = node; + node = factory2.updateForStatement( + node, + visitNode(node.initializer, isTopLevel ? visitForInitializer : discardedValueVisitor, isForInitializer), + visitNode(node.condition, visitor, isExpression), + visitNode(node.incrementor, discardedValueVisitor, isExpression), + visitIterationBody(node.statement, isTopLevel ? topLevelNestedVisitor : visitor, context) + ); + enclosingBlockScopedContainer = savedEnclosingBlockScopedContainer; + return node; + } + function visitForInStatement(node) { + const savedEnclosingBlockScopedContainer = enclosingBlockScopedContainer; + enclosingBlockScopedContainer = node; + node = factory2.updateForInStatement( + node, + visitForInitializer(node.initializer), + visitNode(node.expression, visitor, isExpression), + visitIterationBody(node.statement, topLevelNestedVisitor, context) + ); + enclosingBlockScopedContainer = savedEnclosingBlockScopedContainer; + return node; + } + function visitForOfStatement(node) { + const savedEnclosingBlockScopedContainer = enclosingBlockScopedContainer; + enclosingBlockScopedContainer = node; + node = factory2.updateForOfStatement( + node, + node.awaitModifier, + visitForInitializer(node.initializer), + visitNode(node.expression, visitor, isExpression), + visitIterationBody(node.statement, topLevelNestedVisitor, context) + ); + enclosingBlockScopedContainer = savedEnclosingBlockScopedContainer; + return node; + } + function shouldHoistForInitializer(node) { + return isVariableDeclarationList(node) && shouldHoistVariableDeclarationList(node); + } + function visitForInitializer(node) { + if (shouldHoistForInitializer(node)) { + let expressions; + for (const variable of node.declarations) { + expressions = append(expressions, transformInitializedVariable( + variable, + /*isExportedDeclaration*/ + false + )); + if (!variable.initializer) { + hoistBindingElement(variable); + } + } + return expressions ? factory2.inlineExpressions(expressions) : factory2.createOmittedExpression(); + } else { + return visitNode(node, discardedValueVisitor, isForInitializer); + } + } + function visitDoStatement(node) { + return factory2.updateDoStatement( + node, + visitIterationBody(node.statement, topLevelNestedVisitor, context), + visitNode(node.expression, visitor, isExpression) + ); + } + function visitWhileStatement(node) { + return factory2.updateWhileStatement( + node, + visitNode(node.expression, visitor, isExpression), + visitIterationBody(node.statement, topLevelNestedVisitor, context) + ); + } + function visitLabeledStatement(node) { + return factory2.updateLabeledStatement( + node, + node.label, + visitNode(node.statement, topLevelNestedVisitor, isStatement, factory2.liftToBlock) ?? factory2.createExpressionStatement(factory2.createIdentifier("")) + ); + } + function visitWithStatement(node) { + return factory2.updateWithStatement( + node, + visitNode(node.expression, visitor, isExpression), + Debug.checkDefined(visitNode(node.statement, topLevelNestedVisitor, isStatement, factory2.liftToBlock)) + ); + } + function visitIfStatement(node) { + return factory2.updateIfStatement( + node, + visitNode(node.expression, visitor, isExpression), + visitNode(node.thenStatement, topLevelNestedVisitor, isStatement, factory2.liftToBlock) ?? factory2.createBlock([]), + visitNode(node.elseStatement, topLevelNestedVisitor, isStatement, factory2.liftToBlock) + ); + } + function visitSwitchStatement(node) { + return factory2.updateSwitchStatement( + node, + visitNode(node.expression, visitor, isExpression), + Debug.checkDefined(visitNode(node.caseBlock, topLevelNestedVisitor, isCaseBlock)) + ); + } + function visitCaseBlock(node) { + const savedEnclosingBlockScopedContainer = enclosingBlockScopedContainer; + enclosingBlockScopedContainer = node; + node = factory2.updateCaseBlock( + node, + visitNodes2(node.clauses, topLevelNestedVisitor, isCaseOrDefaultClause) + ); + enclosingBlockScopedContainer = savedEnclosingBlockScopedContainer; + return node; + } + function visitCaseClause(node) { + return factory2.updateCaseClause( + node, + visitNode(node.expression, visitor, isExpression), + visitNodes2(node.statements, topLevelNestedVisitor, isStatement) + ); + } + function visitDefaultClause(node) { + return visitEachChild(node, topLevelNestedVisitor, context); + } + function visitTryStatement(node) { + return visitEachChild(node, topLevelNestedVisitor, context); + } + function visitCatchClause(node) { + const savedEnclosingBlockScopedContainer = enclosingBlockScopedContainer; + enclosingBlockScopedContainer = node; + node = factory2.updateCatchClause( + node, + node.variableDeclaration, + Debug.checkDefined(visitNode(node.block, topLevelNestedVisitor, isBlock)) + ); + enclosingBlockScopedContainer = savedEnclosingBlockScopedContainer; + return node; + } + function visitBlock(node) { + const savedEnclosingBlockScopedContainer = enclosingBlockScopedContainer; + enclosingBlockScopedContainer = node; + node = visitEachChild(node, topLevelNestedVisitor, context); + enclosingBlockScopedContainer = savedEnclosingBlockScopedContainer; + return node; + } + function visitorWorker(node, valueIsDiscarded) { + if (!(node.transformFlags & (4096 /* ContainsDestructuringAssignment */ | 8388608 /* ContainsDynamicImport */ | 268435456 /* ContainsUpdateExpressionForIdentifier */))) { + return node; + } + switch (node.kind) { + case 248 /* ForStatement */: + return visitForStatement( + node, + /*isTopLevel*/ + false + ); + case 244 /* ExpressionStatement */: + return visitExpressionStatement(node); + case 217 /* ParenthesizedExpression */: + return visitParenthesizedExpression(node, valueIsDiscarded); + case 355 /* PartiallyEmittedExpression */: + return visitPartiallyEmittedExpression(node, valueIsDiscarded); + case 226 /* BinaryExpression */: + if (isDestructuringAssignment(node)) { + return visitDestructuringAssignment(node, valueIsDiscarded); + } + break; + case 213 /* CallExpression */: + if (isImportCall(node)) { + return visitImportCallExpression(node); + } + break; + case 224 /* PrefixUnaryExpression */: + case 225 /* PostfixUnaryExpression */: + return visitPrefixOrPostfixUnaryExpression(node, valueIsDiscarded); + } + return visitEachChild(node, visitor, context); + } + function visitor(node) { + return visitorWorker( + node, + /*valueIsDiscarded*/ + false + ); + } + function discardedValueVisitor(node) { + return visitorWorker( + node, + /*valueIsDiscarded*/ + true + ); + } + function visitExpressionStatement(node) { + return factory2.updateExpressionStatement(node, visitNode(node.expression, discardedValueVisitor, isExpression)); + } + function visitParenthesizedExpression(node, valueIsDiscarded) { + return factory2.updateParenthesizedExpression(node, visitNode(node.expression, valueIsDiscarded ? discardedValueVisitor : visitor, isExpression)); + } + function visitPartiallyEmittedExpression(node, valueIsDiscarded) { + return factory2.updatePartiallyEmittedExpression(node, visitNode(node.expression, valueIsDiscarded ? discardedValueVisitor : visitor, isExpression)); + } + function visitImportCallExpression(node) { + const externalModuleName = getExternalModuleNameLiteral(factory2, node, currentSourceFile, host, resolver, compilerOptions); + const firstArgument = visitNode(firstOrUndefined(node.arguments), visitor, isExpression); + const argument = externalModuleName && (!firstArgument || !isStringLiteral(firstArgument) || firstArgument.text !== externalModuleName.text) ? externalModuleName : firstArgument; + return factory2.createCallExpression( + factory2.createPropertyAccessExpression( + contextObject, + factory2.createIdentifier("import") + ), + /*typeArguments*/ + void 0, + argument ? [argument] : [] + ); + } + function visitDestructuringAssignment(node, valueIsDiscarded) { + if (hasExportedReferenceInDestructuringTarget(node.left)) { + return flattenDestructuringAssignment( + node, + visitor, + context, + 0 /* All */, + !valueIsDiscarded + ); + } + return visitEachChild(node, visitor, context); + } + function hasExportedReferenceInDestructuringTarget(node) { + if (isAssignmentExpression( + node, + /*excludeCompoundAssignment*/ + true + )) { + return hasExportedReferenceInDestructuringTarget(node.left); + } else if (isSpreadElement(node)) { + return hasExportedReferenceInDestructuringTarget(node.expression); + } else if (isObjectLiteralExpression(node)) { + return some(node.properties, hasExportedReferenceInDestructuringTarget); + } else if (isArrayLiteralExpression(node)) { + return some(node.elements, hasExportedReferenceInDestructuringTarget); + } else if (isShorthandPropertyAssignment(node)) { + return hasExportedReferenceInDestructuringTarget(node.name); + } else if (isPropertyAssignment(node)) { + return hasExportedReferenceInDestructuringTarget(node.initializer); + } else if (isIdentifier(node)) { + const container = resolver.getReferencedExportContainer(node); + return container !== void 0 && container.kind === 307 /* SourceFile */; + } else { + return false; + } + } + function visitPrefixOrPostfixUnaryExpression(node, valueIsDiscarded) { + if ((node.operator === 46 /* PlusPlusToken */ || node.operator === 47 /* MinusMinusToken */) && isIdentifier(node.operand) && !isGeneratedIdentifier(node.operand) && !isLocalName(node.operand) && !isDeclarationNameOfEnumOrNamespace(node.operand)) { + const exportedNames = getExports(node.operand); + if (exportedNames) { + let temp; + let expression = visitNode(node.operand, visitor, isExpression); + if (isPrefixUnaryExpression(node)) { + expression = factory2.updatePrefixUnaryExpression(node, expression); + } else { + expression = factory2.updatePostfixUnaryExpression(node, expression); + if (!valueIsDiscarded) { + temp = factory2.createTempVariable(hoistVariableDeclaration); + expression = factory2.createAssignment(temp, expression); + setTextRange(expression, node); + } + expression = factory2.createComma(expression, factory2.cloneNode(node.operand)); + setTextRange(expression, node); + } + for (const exportName of exportedNames) { + expression = createExportExpression(exportName, preventSubstitution(expression)); + } + if (temp) { + expression = factory2.createComma(expression, temp); + setTextRange(expression, node); + } + return expression; + } + } + return visitEachChild(node, visitor, context); + } + function modifierVisitor(node) { + switch (node.kind) { + case 95 /* ExportKeyword */: + case 90 /* DefaultKeyword */: + return void 0; + } + return node; + } + function onEmitNode(hint, node, emitCallback) { + if (node.kind === 307 /* SourceFile */) { + const id = getOriginalNodeId(node); + currentSourceFile = node; + moduleInfo = moduleInfoMap[id]; + exportFunction = exportFunctionsMap[id]; + noSubstitution = noSubstitutionMap[id]; + contextObject = contextObjectMap[id]; + if (noSubstitution) { + delete noSubstitutionMap[id]; + } + previousOnEmitNode(hint, node, emitCallback); + currentSourceFile = void 0; + moduleInfo = void 0; + exportFunction = void 0; + contextObject = void 0; + noSubstitution = void 0; + } else { + previousOnEmitNode(hint, node, emitCallback); + } + } + function onSubstituteNode(hint, node) { + node = previousOnSubstituteNode(hint, node); + if (isSubstitutionPrevented(node)) { + return node; + } + if (hint === 1 /* Expression */) { + return substituteExpression(node); + } else if (hint === 4 /* Unspecified */) { + return substituteUnspecified(node); + } + return node; + } + function substituteUnspecified(node) { + switch (node.kind) { + case 304 /* ShorthandPropertyAssignment */: + return substituteShorthandPropertyAssignment(node); + } + return node; + } + function substituteShorthandPropertyAssignment(node) { + var _a, _b; + const name = node.name; + if (!isGeneratedIdentifier(name) && !isLocalName(name)) { + const importDeclaration = resolver.getReferencedImportDeclaration(name); + if (importDeclaration) { + if (isImportClause(importDeclaration)) { + return setTextRange( + factory2.createPropertyAssignment( + factory2.cloneNode(name), + factory2.createPropertyAccessExpression( + factory2.getGeneratedNameForNode(importDeclaration.parent), + factory2.createIdentifier("default") + ) + ), + /*location*/ + node + ); + } else if (isImportSpecifier(importDeclaration)) { + const importedName = importDeclaration.propertyName || importDeclaration.name; + const target = factory2.getGeneratedNameForNode(((_b = (_a = importDeclaration.parent) == null ? void 0 : _a.parent) == null ? void 0 : _b.parent) || importDeclaration); + return setTextRange( + factory2.createPropertyAssignment( + factory2.cloneNode(name), + importedName.kind === 11 /* StringLiteral */ ? factory2.createElementAccessExpression(target, factory2.cloneNode(importedName)) : factory2.createPropertyAccessExpression(target, factory2.cloneNode(importedName)) + ), + /*location*/ + node + ); + } + } + } + return node; + } + function substituteExpression(node) { + switch (node.kind) { + case 80 /* Identifier */: + return substituteExpressionIdentifier(node); + case 226 /* BinaryExpression */: + return substituteBinaryExpression(node); + case 236 /* MetaProperty */: + return substituteMetaProperty(node); + } + return node; + } + function substituteExpressionIdentifier(node) { + var _a, _b; + if (getEmitFlags(node) & 8192 /* HelperName */) { + const externalHelpersModuleName = getExternalHelpersModuleName(currentSourceFile); + if (externalHelpersModuleName) { + return factory2.createPropertyAccessExpression(externalHelpersModuleName, node); + } + return node; + } + if (!isGeneratedIdentifier(node) && !isLocalName(node)) { + const importDeclaration = resolver.getReferencedImportDeclaration(node); + if (importDeclaration) { + if (isImportClause(importDeclaration)) { + return setTextRange( + factory2.createPropertyAccessExpression( + factory2.getGeneratedNameForNode(importDeclaration.parent), + factory2.createIdentifier("default") + ), + /*location*/ + node + ); + } else if (isImportSpecifier(importDeclaration)) { + const importedName = importDeclaration.propertyName || importDeclaration.name; + const target = factory2.getGeneratedNameForNode(((_b = (_a = importDeclaration.parent) == null ? void 0 : _a.parent) == null ? void 0 : _b.parent) || importDeclaration); + return setTextRange( + importedName.kind === 11 /* StringLiteral */ ? factory2.createElementAccessExpression(target, factory2.cloneNode(importedName)) : factory2.createPropertyAccessExpression(target, factory2.cloneNode(importedName)), + /*location*/ + node + ); + } + } + } + return node; + } + function substituteBinaryExpression(node) { + if (isAssignmentOperator(node.operatorToken.kind) && isIdentifier(node.left) && (!isGeneratedIdentifier(node.left) || isFileLevelReservedGeneratedIdentifier(node.left)) && !isLocalName(node.left)) { + const exportedNames = getExports(node.left); + if (exportedNames) { + let expression = node; + for (const exportName of exportedNames) { + expression = createExportExpression(exportName, preventSubstitution(expression)); + } + return expression; + } + } + return node; + } + function substituteMetaProperty(node) { + if (isImportMeta(node)) { + return factory2.createPropertyAccessExpression(contextObject, factory2.createIdentifier("meta")); + } + return node; + } + function getExports(name) { + let exportedNames; + const valueDeclaration = getReferencedDeclaration(name); + if (valueDeclaration) { + const exportContainer = resolver.getReferencedExportContainer( + name, + /*prefixLocals*/ + false + ); + if (exportContainer && exportContainer.kind === 307 /* SourceFile */) { + exportedNames = append(exportedNames, factory2.getDeclarationName(valueDeclaration)); + } + exportedNames = addRange(exportedNames, moduleInfo == null ? void 0 : moduleInfo.exportedBindings[getOriginalNodeId(valueDeclaration)]); + } else if (isGeneratedIdentifier(name) && isFileLevelReservedGeneratedIdentifier(name)) { + const exportSpecifiers = moduleInfo == null ? void 0 : moduleInfo.exportSpecifiers.get(name); + if (exportSpecifiers) { + const exportedNames2 = []; + for (const exportSpecifier of exportSpecifiers) { + exportedNames2.push(exportSpecifier.name); + } + return exportedNames2; + } + } + return exportedNames; + } + function getReferencedDeclaration(name) { + if (!isGeneratedIdentifier(name)) { + const importDeclaration = resolver.getReferencedImportDeclaration(name); + if (importDeclaration) return importDeclaration; + const valueDeclaration = resolver.getReferencedValueDeclaration(name); + if (valueDeclaration && (moduleInfo == null ? void 0 : moduleInfo.exportedBindings[getOriginalNodeId(valueDeclaration)])) return valueDeclaration; + const declarations = resolver.getReferencedValueDeclarations(name); + if (declarations) { + for (const declaration of declarations) { + if (declaration !== valueDeclaration && (moduleInfo == null ? void 0 : moduleInfo.exportedBindings[getOriginalNodeId(declaration)])) return declaration; + } + } + return valueDeclaration; + } + } + function preventSubstitution(node) { + if (noSubstitution === void 0) noSubstitution = []; + noSubstitution[getNodeId(node)] = true; + return node; + } + function isSubstitutionPrevented(node) { + return noSubstitution && node.id && noSubstitution[node.id]; + } +} + +// src/compiler/transformers/module/esnextAnd2015.ts +function transformECMAScriptModule(context) { + const { + factory: factory2, + getEmitHelperFactory: emitHelpers + } = context; + const host = context.getEmitHost(); + const resolver = context.getEmitResolver(); + const compilerOptions = context.getCompilerOptions(); + const languageVersion = getEmitScriptTarget(compilerOptions); + const previousOnEmitNode = context.onEmitNode; + const previousOnSubstituteNode = context.onSubstituteNode; + context.onEmitNode = onEmitNode; + context.onSubstituteNode = onSubstituteNode; + context.enableEmitNotification(307 /* SourceFile */); + context.enableSubstitution(80 /* Identifier */); + const noSubstitution = /* @__PURE__ */ new Set(); + let importsAndRequiresToRewriteOrShim; + let helperNameSubstitutions; + let currentSourceFile; + let importRequireStatements; + return chainBundle(context, transformSourceFile); + function transformSourceFile(node) { + if (node.isDeclarationFile) { + return node; + } + if (isExternalModule(node) || getIsolatedModules(compilerOptions)) { + currentSourceFile = node; + importRequireStatements = void 0; + if (compilerOptions.rewriteRelativeImportExtensions && (currentSourceFile.flags & 4194304 /* PossiblyContainsDynamicImport */ || isInJSFile(node))) { + forEachDynamicImportOrRequireCall( + node, + /*includeTypeSpaceImports*/ + false, + /*requireStringLiteralLikeArgument*/ + false, + (node2) => { + if (!isStringLiteralLike(node2.arguments[0]) || shouldRewriteModuleSpecifier(node2.arguments[0].text, compilerOptions)) { + importsAndRequiresToRewriteOrShim = append(importsAndRequiresToRewriteOrShim, node2); + } + } + ); + } + let result = updateExternalModule(node); + addEmitHelpers(result, context.readEmitHelpers()); + currentSourceFile = void 0; + if (importRequireStatements) { + result = factory2.updateSourceFile( + result, + setTextRange(factory2.createNodeArray(insertStatementsAfterCustomPrologue(result.statements.slice(), importRequireStatements)), result.statements) + ); + } + if (!isExternalModule(node) || getEmitModuleKind(compilerOptions) === 200 /* Preserve */ || some(result.statements, isExternalModuleIndicator)) { + return result; + } + return factory2.updateSourceFile( + result, + setTextRange(factory2.createNodeArray([...result.statements, createEmptyExports(factory2)]), result.statements) + ); + } + return node; + } + function updateExternalModule(node) { + const externalHelpersImportDeclaration = createExternalHelpersImportDeclarationIfNeeded(factory2, emitHelpers(), node, compilerOptions); + if (externalHelpersImportDeclaration) { + const statements = []; + const statementOffset = factory2.copyPrologue(node.statements, statements); + addRange(statements, visitArray([externalHelpersImportDeclaration], visitor, isStatement)); + addRange(statements, visitNodes2(node.statements, visitor, isStatement, statementOffset)); + return factory2.updateSourceFile( + node, + setTextRange(factory2.createNodeArray(statements), node.statements) + ); + } else { + return visitEachChild(node, visitor, context); + } + } + function visitor(node) { + switch (node.kind) { + case 271 /* ImportEqualsDeclaration */: + return getEmitModuleKind(compilerOptions) >= 100 /* Node16 */ ? visitImportEqualsDeclaration(node) : void 0; + case 277 /* ExportAssignment */: + return visitExportAssignment(node); + case 278 /* ExportDeclaration */: + const exportDecl = node; + return visitExportDeclaration(exportDecl); + case 272 /* ImportDeclaration */: + return visitImportDeclaration(node); + case 213 /* CallExpression */: + if (node === (importsAndRequiresToRewriteOrShim == null ? void 0 : importsAndRequiresToRewriteOrShim[0])) { + return visitImportOrRequireCall(importsAndRequiresToRewriteOrShim.shift()); + } + break; + default: + if ((importsAndRequiresToRewriteOrShim == null ? void 0 : importsAndRequiresToRewriteOrShim.length) && rangeContainsRange(node, importsAndRequiresToRewriteOrShim[0])) { + return visitEachChild(node, visitor, context); + } + } + return node; + } + function visitImportDeclaration(node) { + if (!compilerOptions.rewriteRelativeImportExtensions) { + return node; + } + const updatedModuleSpecifier = rewriteModuleSpecifier(node.moduleSpecifier, compilerOptions); + if (updatedModuleSpecifier === node.moduleSpecifier) { + return node; + } + return factory2.updateImportDeclaration( + node, + node.modifiers, + node.importClause, + updatedModuleSpecifier, + node.attributes + ); + } + function visitImportOrRequireCall(node) { + return factory2.updateCallExpression( + node, + node.expression, + node.typeArguments, + [ + isStringLiteralLike(node.arguments[0]) ? rewriteModuleSpecifier(node.arguments[0], compilerOptions) : emitHelpers().createRewriteRelativeImportExtensionsHelper(node.arguments[0]), + ...node.arguments.slice(1) + ] + ); + } + function createRequireCall(importNode) { + const moduleName = getExternalModuleNameLiteral(factory2, importNode, Debug.checkDefined(currentSourceFile), host, resolver, compilerOptions); + const args = []; + if (moduleName) { + args.push(rewriteModuleSpecifier(moduleName, compilerOptions)); + } + if (getEmitModuleKind(compilerOptions) === 200 /* Preserve */) { + return factory2.createCallExpression( + factory2.createIdentifier("require"), + /*typeArguments*/ + void 0, + args + ); + } + if (!importRequireStatements) { + const createRequireName = factory2.createUniqueName("_createRequire", 16 /* Optimistic */ | 32 /* FileLevel */); + const importStatement = factory2.createImportDeclaration( + /*modifiers*/ + void 0, + factory2.createImportClause( + /*isTypeOnly*/ + false, + /*name*/ + void 0, + factory2.createNamedImports([ + factory2.createImportSpecifier( + /*isTypeOnly*/ + false, + factory2.createIdentifier("createRequire"), + createRequireName + ) + ]) + ), + factory2.createStringLiteral("module"), + /*attributes*/ + void 0 + ); + const requireHelperName = factory2.createUniqueName("__require", 16 /* Optimistic */ | 32 /* FileLevel */); + const requireStatement = factory2.createVariableStatement( + /*modifiers*/ + void 0, + factory2.createVariableDeclarationList( + [ + factory2.createVariableDeclaration( + requireHelperName, + /*exclamationToken*/ + void 0, + /*type*/ + void 0, + factory2.createCallExpression( + factory2.cloneNode(createRequireName), + /*typeArguments*/ + void 0, + [ + factory2.createPropertyAccessExpression(factory2.createMetaProperty(102 /* ImportKeyword */, factory2.createIdentifier("meta")), factory2.createIdentifier("url")) + ] + ) + ) + ], + /*flags*/ + languageVersion >= 2 /* ES2015 */ ? 2 /* Const */ : 0 /* None */ + ) + ); + importRequireStatements = [importStatement, requireStatement]; + } + const name = importRequireStatements[1].declarationList.declarations[0].name; + Debug.assertNode(name, isIdentifier); + return factory2.createCallExpression( + factory2.cloneNode(name), + /*typeArguments*/ + void 0, + args + ); + } + function visitImportEqualsDeclaration(node) { + Debug.assert(isExternalModuleImportEqualsDeclaration(node), "import= for internal module references should be handled in an earlier transformer."); + let statements; + statements = append( + statements, + setOriginalNode( + setTextRange( + factory2.createVariableStatement( + /*modifiers*/ + void 0, + factory2.createVariableDeclarationList( + [ + factory2.createVariableDeclaration( + factory2.cloneNode(node.name), + /*exclamationToken*/ + void 0, + /*type*/ + void 0, + createRequireCall(node) + ) + ], + /*flags*/ + languageVersion >= 2 /* ES2015 */ ? 2 /* Const */ : 0 /* None */ + ) + ), + node + ), + node + ) + ); + statements = appendExportsOfImportEqualsDeclaration(statements, node); + return singleOrMany(statements); + } + function appendExportsOfImportEqualsDeclaration(statements, node) { + if (hasSyntacticModifier(node, 32 /* Export */)) { + statements = append( + statements, + factory2.createExportDeclaration( + /*modifiers*/ + void 0, + node.isTypeOnly, + factory2.createNamedExports([factory2.createExportSpecifier( + /*isTypeOnly*/ + false, + /*propertyName*/ + void 0, + idText(node.name) + )]) + ) + ); + } + return statements; + } + function visitExportAssignment(node) { + if (node.isExportEquals) { + if (getEmitModuleKind(compilerOptions) === 200 /* Preserve */) { + const statement = setOriginalNode( + factory2.createExpressionStatement( + factory2.createAssignment( + factory2.createPropertyAccessExpression( + factory2.createIdentifier("module"), + "exports" + ), + node.expression + ) + ), + node + ); + return statement; + } + return void 0; + } + return node; + } + function visitExportDeclaration(node) { + const updatedModuleSpecifier = rewriteModuleSpecifier(node.moduleSpecifier, compilerOptions); + if (compilerOptions.module !== void 0 && compilerOptions.module > 5 /* ES2015 */ || !node.exportClause || !isNamespaceExport(node.exportClause) || !node.moduleSpecifier) { + return !node.moduleSpecifier || updatedModuleSpecifier === node.moduleSpecifier ? node : factory2.updateExportDeclaration( + node, + node.modifiers, + node.isTypeOnly, + node.exportClause, + updatedModuleSpecifier, + node.attributes + ); + } + const oldIdentifier = node.exportClause.name; + const synthName = factory2.getGeneratedNameForNode(oldIdentifier); + const importDecl = factory2.createImportDeclaration( + /*modifiers*/ + void 0, + factory2.createImportClause( + /*isTypeOnly*/ + false, + /*name*/ + void 0, + factory2.createNamespaceImport( + synthName + ) + ), + updatedModuleSpecifier, + node.attributes + ); + setOriginalNode(importDecl, node.exportClause); + const exportDecl = isExportNamespaceAsDefaultDeclaration(node) ? factory2.createExportDefault(synthName) : factory2.createExportDeclaration( + /*modifiers*/ + void 0, + /*isTypeOnly*/ + false, + factory2.createNamedExports([factory2.createExportSpecifier( + /*isTypeOnly*/ + false, + synthName, + oldIdentifier + )]) + ); + setOriginalNode(exportDecl, node); + return [importDecl, exportDecl]; + } + function onEmitNode(hint, node, emitCallback) { + if (isSourceFile(node)) { + if ((isExternalModule(node) || getIsolatedModules(compilerOptions)) && compilerOptions.importHelpers) { + helperNameSubstitutions = /* @__PURE__ */ new Map(); + } + currentSourceFile = node; + previousOnEmitNode(hint, node, emitCallback); + currentSourceFile = void 0; + helperNameSubstitutions = void 0; + } else { + previousOnEmitNode(hint, node, emitCallback); + } + } + function onSubstituteNode(hint, node) { + node = previousOnSubstituteNode(hint, node); + if (node.id && noSubstitution.has(node.id)) { + return node; + } + if (isIdentifier(node) && getEmitFlags(node) & 8192 /* HelperName */) { + return substituteHelperName(node); + } + return node; + } + function substituteHelperName(node) { + const externalHelpersModuleName = currentSourceFile && getExternalHelpersModuleName(currentSourceFile); + if (externalHelpersModuleName) { + noSubstitution.add(getNodeId(node)); + return factory2.createPropertyAccessExpression(externalHelpersModuleName, node); + } + if (helperNameSubstitutions) { + const name = idText(node); + let substitution = helperNameSubstitutions.get(name); + if (!substitution) { + helperNameSubstitutions.set(name, substitution = factory2.createUniqueName(name, 16 /* Optimistic */ | 32 /* FileLevel */)); + } + return substitution; + } + return node; + } +} + +// src/compiler/transformers/module/impliedNodeFormatDependent.ts +function transformImpliedNodeFormatDependentModule(context) { + const previousOnSubstituteNode = context.onSubstituteNode; + const previousOnEmitNode = context.onEmitNode; + const esmTransform = transformECMAScriptModule(context); + const esmOnSubstituteNode = context.onSubstituteNode; + const esmOnEmitNode = context.onEmitNode; + context.onSubstituteNode = previousOnSubstituteNode; + context.onEmitNode = previousOnEmitNode; + const cjsTransform = transformModule(context); + const cjsOnSubstituteNode = context.onSubstituteNode; + const cjsOnEmitNode = context.onEmitNode; + const getEmitModuleFormatOfFile = (file) => context.getEmitHost().getEmitModuleFormatOfFile(file); + context.onSubstituteNode = onSubstituteNode; + context.onEmitNode = onEmitNode; + context.enableSubstitution(307 /* SourceFile */); + context.enableEmitNotification(307 /* SourceFile */); + let currentSourceFile; + return transformSourceFileOrBundle; + function onSubstituteNode(hint, node) { + if (isSourceFile(node)) { + currentSourceFile = node; + return previousOnSubstituteNode(hint, node); + } else { + if (!currentSourceFile) { + return previousOnSubstituteNode(hint, node); + } + if (getEmitModuleFormatOfFile(currentSourceFile) >= 5 /* ES2015 */) { + return esmOnSubstituteNode(hint, node); + } + return cjsOnSubstituteNode(hint, node); + } + } + function onEmitNode(hint, node, emitCallback) { + if (isSourceFile(node)) { + currentSourceFile = node; + } + if (!currentSourceFile) { + return previousOnEmitNode(hint, node, emitCallback); + } + if (getEmitModuleFormatOfFile(currentSourceFile) >= 5 /* ES2015 */) { + return esmOnEmitNode(hint, node, emitCallback); + } + return cjsOnEmitNode(hint, node, emitCallback); + } + function getModuleTransformForFile(file) { + return getEmitModuleFormatOfFile(file) >= 5 /* ES2015 */ ? esmTransform : cjsTransform; + } + function transformSourceFile(node) { + if (node.isDeclarationFile) { + return node; + } + currentSourceFile = node; + const result = getModuleTransformForFile(node)(node); + currentSourceFile = void 0; + Debug.assert(isSourceFile(result)); + return result; + } + function transformSourceFileOrBundle(node) { + return node.kind === 307 /* SourceFile */ ? transformSourceFile(node) : transformBundle(node); + } + function transformBundle(node) { + return context.factory.createBundle(map(node.sourceFiles, transformSourceFile)); + } +} + +// src/compiler/transformers/declarations/diagnostics.ts +function canProduceDiagnostics(node) { + return isVariableDeclaration(node) || isPropertyDeclaration(node) || isPropertySignature(node) || isBindingElement(node) || isSetAccessor(node) || isGetAccessor(node) || isConstructSignatureDeclaration(node) || isCallSignatureDeclaration(node) || isMethodDeclaration(node) || isMethodSignature(node) || isFunctionDeclaration(node) || isParameter(node) || isTypeParameterDeclaration(node) || isExpressionWithTypeArguments(node) || isImportEqualsDeclaration(node) || isTypeAliasDeclaration(node) || isConstructorDeclaration(node) || isIndexSignatureDeclaration(node) || isPropertyAccessExpression(node) || isElementAccessExpression(node) || isBinaryExpression(node) || isJSDocTypeAlias(node); +} +function createGetSymbolAccessibilityDiagnosticForNodeName(node) { + if (isSetAccessor(node) || isGetAccessor(node)) { + return getAccessorNameVisibilityError; + } else if (isMethodSignature(node) || isMethodDeclaration(node)) { + return getMethodNameVisibilityError; + } else { + return createGetSymbolAccessibilityDiagnosticForNode(node); + } + function getAccessorNameVisibilityError(symbolAccessibilityResult) { + const diagnosticMessage = getAccessorNameVisibilityDiagnosticMessage(symbolAccessibilityResult); + return diagnosticMessage !== void 0 ? { + diagnosticMessage, + errorNode: node, + typeName: node.name + } : void 0; + } + function getAccessorNameVisibilityDiagnosticMessage(symbolAccessibilityResult) { + if (isStatic(node)) { + return symbolAccessibilityResult.errorModuleName ? symbolAccessibilityResult.accessibility === 2 /* CannotBeNamed */ ? Diagnostics.Public_static_property_0_of_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named : Diagnostics.Public_static_property_0_of_exported_class_has_or_is_using_name_1_from_private_module_2 : Diagnostics.Public_static_property_0_of_exported_class_has_or_is_using_private_name_1; + } else if (node.parent.kind === 263 /* ClassDeclaration */) { + return symbolAccessibilityResult.errorModuleName ? symbolAccessibilityResult.accessibility === 2 /* CannotBeNamed */ ? Diagnostics.Public_property_0_of_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named : Diagnostics.Public_property_0_of_exported_class_has_or_is_using_name_1_from_private_module_2 : Diagnostics.Public_property_0_of_exported_class_has_or_is_using_private_name_1; + } else { + return symbolAccessibilityResult.errorModuleName ? Diagnostics.Property_0_of_exported_interface_has_or_is_using_name_1_from_private_module_2 : Diagnostics.Property_0_of_exported_interface_has_or_is_using_private_name_1; + } + } + function getMethodNameVisibilityError(symbolAccessibilityResult) { + const diagnosticMessage = getMethodNameVisibilityDiagnosticMessage(symbolAccessibilityResult); + return diagnosticMessage !== void 0 ? { + diagnosticMessage, + errorNode: node, + typeName: node.name + } : void 0; + } + function getMethodNameVisibilityDiagnosticMessage(symbolAccessibilityResult) { + if (isStatic(node)) { + return symbolAccessibilityResult.errorModuleName ? symbolAccessibilityResult.accessibility === 2 /* CannotBeNamed */ ? Diagnostics.Public_static_method_0_of_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named : Diagnostics.Public_static_method_0_of_exported_class_has_or_is_using_name_1_from_private_module_2 : Diagnostics.Public_static_method_0_of_exported_class_has_or_is_using_private_name_1; + } else if (node.parent.kind === 263 /* ClassDeclaration */) { + return symbolAccessibilityResult.errorModuleName ? symbolAccessibilityResult.accessibility === 2 /* CannotBeNamed */ ? Diagnostics.Public_method_0_of_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named : Diagnostics.Public_method_0_of_exported_class_has_or_is_using_name_1_from_private_module_2 : Diagnostics.Public_method_0_of_exported_class_has_or_is_using_private_name_1; + } else { + return symbolAccessibilityResult.errorModuleName ? Diagnostics.Method_0_of_exported_interface_has_or_is_using_name_1_from_private_module_2 : Diagnostics.Method_0_of_exported_interface_has_or_is_using_private_name_1; + } + } +} +function createGetSymbolAccessibilityDiagnosticForNode(node) { + if (isVariableDeclaration(node) || isPropertyDeclaration(node) || isPropertySignature(node) || isPropertyAccessExpression(node) || isElementAccessExpression(node) || isBinaryExpression(node) || isBindingElement(node) || isConstructorDeclaration(node)) { + return getVariableDeclarationTypeVisibilityError; + } else if (isSetAccessor(node) || isGetAccessor(node)) { + return getAccessorDeclarationTypeVisibilityError; + } else if (isConstructSignatureDeclaration(node) || isCallSignatureDeclaration(node) || isMethodDeclaration(node) || isMethodSignature(node) || isFunctionDeclaration(node) || isIndexSignatureDeclaration(node)) { + return getReturnTypeVisibilityError; + } else if (isParameter(node)) { + if (isParameterPropertyDeclaration(node, node.parent) && hasSyntacticModifier(node.parent, 2 /* Private */)) { + return getVariableDeclarationTypeVisibilityError; + } + return getParameterDeclarationTypeVisibilityError; + } else if (isTypeParameterDeclaration(node)) { + return getTypeParameterConstraintVisibilityError; + } else if (isExpressionWithTypeArguments(node)) { + return getHeritageClauseVisibilityError; + } else if (isImportEqualsDeclaration(node)) { + return getImportEntityNameVisibilityError; + } else if (isTypeAliasDeclaration(node) || isJSDocTypeAlias(node)) { + return getTypeAliasDeclarationVisibilityError; + } else { + return Debug.assertNever(node, `Attempted to set a declaration diagnostic context for unhandled node kind: ${Debug.formatSyntaxKind(node.kind)}`); + } + function getVariableDeclarationTypeVisibilityDiagnosticMessage(symbolAccessibilityResult) { + if (node.kind === 260 /* VariableDeclaration */ || node.kind === 208 /* BindingElement */) { + return symbolAccessibilityResult.errorModuleName ? symbolAccessibilityResult.accessibility === 2 /* CannotBeNamed */ ? Diagnostics.Exported_variable_0_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named : Diagnostics.Exported_variable_0_has_or_is_using_name_1_from_private_module_2 : Diagnostics.Exported_variable_0_has_or_is_using_private_name_1; + } else if (node.kind === 172 /* PropertyDeclaration */ || node.kind === 211 /* PropertyAccessExpression */ || node.kind === 212 /* ElementAccessExpression */ || node.kind === 226 /* BinaryExpression */ || node.kind === 171 /* PropertySignature */ || node.kind === 169 /* Parameter */ && hasSyntacticModifier(node.parent, 2 /* Private */)) { + if (isStatic(node)) { + return symbolAccessibilityResult.errorModuleName ? symbolAccessibilityResult.accessibility === 2 /* CannotBeNamed */ ? Diagnostics.Public_static_property_0_of_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named : Diagnostics.Public_static_property_0_of_exported_class_has_or_is_using_name_1_from_private_module_2 : Diagnostics.Public_static_property_0_of_exported_class_has_or_is_using_private_name_1; + } else if (node.parent.kind === 263 /* ClassDeclaration */ || node.kind === 169 /* Parameter */) { + return symbolAccessibilityResult.errorModuleName ? symbolAccessibilityResult.accessibility === 2 /* CannotBeNamed */ ? Diagnostics.Public_property_0_of_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named : Diagnostics.Public_property_0_of_exported_class_has_or_is_using_name_1_from_private_module_2 : Diagnostics.Public_property_0_of_exported_class_has_or_is_using_private_name_1; + } else { + return symbolAccessibilityResult.errorModuleName ? Diagnostics.Property_0_of_exported_interface_has_or_is_using_name_1_from_private_module_2 : Diagnostics.Property_0_of_exported_interface_has_or_is_using_private_name_1; + } + } + } + function getVariableDeclarationTypeVisibilityError(symbolAccessibilityResult) { + const diagnosticMessage = getVariableDeclarationTypeVisibilityDiagnosticMessage(symbolAccessibilityResult); + return diagnosticMessage !== void 0 ? { + diagnosticMessage, + errorNode: node, + typeName: node.name + } : void 0; + } + function getAccessorDeclarationTypeVisibilityError(symbolAccessibilityResult) { + let diagnosticMessage; + if (node.kind === 178 /* SetAccessor */) { + if (isStatic(node)) { + diagnosticMessage = symbolAccessibilityResult.errorModuleName ? Diagnostics.Parameter_type_of_public_static_setter_0_from_exported_class_has_or_is_using_name_1_from_private_module_2 : Diagnostics.Parameter_type_of_public_static_setter_0_from_exported_class_has_or_is_using_private_name_1; + } else { + diagnosticMessage = symbolAccessibilityResult.errorModuleName ? Diagnostics.Parameter_type_of_public_setter_0_from_exported_class_has_or_is_using_name_1_from_private_module_2 : Diagnostics.Parameter_type_of_public_setter_0_from_exported_class_has_or_is_using_private_name_1; + } + } else { + if (isStatic(node)) { + diagnosticMessage = symbolAccessibilityResult.errorModuleName ? symbolAccessibilityResult.accessibility === 2 /* CannotBeNamed */ ? Diagnostics.Return_type_of_public_static_getter_0_from_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named : Diagnostics.Return_type_of_public_static_getter_0_from_exported_class_has_or_is_using_name_1_from_private_module_2 : Diagnostics.Return_type_of_public_static_getter_0_from_exported_class_has_or_is_using_private_name_1; + } else { + diagnosticMessage = symbolAccessibilityResult.errorModuleName ? symbolAccessibilityResult.accessibility === 2 /* CannotBeNamed */ ? Diagnostics.Return_type_of_public_getter_0_from_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named : Diagnostics.Return_type_of_public_getter_0_from_exported_class_has_or_is_using_name_1_from_private_module_2 : Diagnostics.Return_type_of_public_getter_0_from_exported_class_has_or_is_using_private_name_1; + } + } + return { + diagnosticMessage, + errorNode: node.name, + typeName: node.name + }; + } + function getReturnTypeVisibilityError(symbolAccessibilityResult) { + let diagnosticMessage; + switch (node.kind) { + case 180 /* ConstructSignature */: + diagnosticMessage = symbolAccessibilityResult.errorModuleName ? Diagnostics.Return_type_of_constructor_signature_from_exported_interface_has_or_is_using_name_0_from_private_module_1 : Diagnostics.Return_type_of_constructor_signature_from_exported_interface_has_or_is_using_private_name_0; + break; + case 179 /* CallSignature */: + diagnosticMessage = symbolAccessibilityResult.errorModuleName ? Diagnostics.Return_type_of_call_signature_from_exported_interface_has_or_is_using_name_0_from_private_module_1 : Diagnostics.Return_type_of_call_signature_from_exported_interface_has_or_is_using_private_name_0; + break; + case 181 /* IndexSignature */: + diagnosticMessage = symbolAccessibilityResult.errorModuleName ? Diagnostics.Return_type_of_index_signature_from_exported_interface_has_or_is_using_name_0_from_private_module_1 : Diagnostics.Return_type_of_index_signature_from_exported_interface_has_or_is_using_private_name_0; + break; + case 174 /* MethodDeclaration */: + case 173 /* MethodSignature */: + if (isStatic(node)) { + diagnosticMessage = symbolAccessibilityResult.errorModuleName ? symbolAccessibilityResult.accessibility === 2 /* CannotBeNamed */ ? Diagnostics.Return_type_of_public_static_method_from_exported_class_has_or_is_using_name_0_from_external_module_1_but_cannot_be_named : Diagnostics.Return_type_of_public_static_method_from_exported_class_has_or_is_using_name_0_from_private_module_1 : Diagnostics.Return_type_of_public_static_method_from_exported_class_has_or_is_using_private_name_0; + } else if (node.parent.kind === 263 /* ClassDeclaration */) { + diagnosticMessage = symbolAccessibilityResult.errorModuleName ? symbolAccessibilityResult.accessibility === 2 /* CannotBeNamed */ ? Diagnostics.Return_type_of_public_method_from_exported_class_has_or_is_using_name_0_from_external_module_1_but_cannot_be_named : Diagnostics.Return_type_of_public_method_from_exported_class_has_or_is_using_name_0_from_private_module_1 : Diagnostics.Return_type_of_public_method_from_exported_class_has_or_is_using_private_name_0; + } else { + diagnosticMessage = symbolAccessibilityResult.errorModuleName ? Diagnostics.Return_type_of_method_from_exported_interface_has_or_is_using_name_0_from_private_module_1 : Diagnostics.Return_type_of_method_from_exported_interface_has_or_is_using_private_name_0; + } + break; + case 262 /* FunctionDeclaration */: + diagnosticMessage = symbolAccessibilityResult.errorModuleName ? symbolAccessibilityResult.accessibility === 2 /* CannotBeNamed */ ? Diagnostics.Return_type_of_exported_function_has_or_is_using_name_0_from_external_module_1_but_cannot_be_named : Diagnostics.Return_type_of_exported_function_has_or_is_using_name_0_from_private_module_1 : Diagnostics.Return_type_of_exported_function_has_or_is_using_private_name_0; + break; + default: + return Debug.fail("This is unknown kind for signature: " + node.kind); + } + return { + diagnosticMessage, + errorNode: node.name || node + }; + } + function getParameterDeclarationTypeVisibilityError(symbolAccessibilityResult) { + const diagnosticMessage = getParameterDeclarationTypeVisibilityDiagnosticMessage(symbolAccessibilityResult); + return diagnosticMessage !== void 0 ? { + diagnosticMessage, + errorNode: node, + typeName: node.name + } : void 0; + } + function getParameterDeclarationTypeVisibilityDiagnosticMessage(symbolAccessibilityResult) { + switch (node.parent.kind) { + case 176 /* Constructor */: + return symbolAccessibilityResult.errorModuleName ? symbolAccessibilityResult.accessibility === 2 /* CannotBeNamed */ ? Diagnostics.Parameter_0_of_constructor_from_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named : Diagnostics.Parameter_0_of_constructor_from_exported_class_has_or_is_using_name_1_from_private_module_2 : Diagnostics.Parameter_0_of_constructor_from_exported_class_has_or_is_using_private_name_1; + case 180 /* ConstructSignature */: + case 185 /* ConstructorType */: + return symbolAccessibilityResult.errorModuleName ? Diagnostics.Parameter_0_of_constructor_signature_from_exported_interface_has_or_is_using_name_1_from_private_module_2 : Diagnostics.Parameter_0_of_constructor_signature_from_exported_interface_has_or_is_using_private_name_1; + case 179 /* CallSignature */: + return symbolAccessibilityResult.errorModuleName ? Diagnostics.Parameter_0_of_call_signature_from_exported_interface_has_or_is_using_name_1_from_private_module_2 : Diagnostics.Parameter_0_of_call_signature_from_exported_interface_has_or_is_using_private_name_1; + case 181 /* IndexSignature */: + return symbolAccessibilityResult.errorModuleName ? Diagnostics.Parameter_0_of_index_signature_from_exported_interface_has_or_is_using_name_1_from_private_module_2 : Diagnostics.Parameter_0_of_index_signature_from_exported_interface_has_or_is_using_private_name_1; + case 174 /* MethodDeclaration */: + case 173 /* MethodSignature */: + if (isStatic(node.parent)) { + return symbolAccessibilityResult.errorModuleName ? symbolAccessibilityResult.accessibility === 2 /* CannotBeNamed */ ? Diagnostics.Parameter_0_of_public_static_method_from_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named : Diagnostics.Parameter_0_of_public_static_method_from_exported_class_has_or_is_using_name_1_from_private_module_2 : Diagnostics.Parameter_0_of_public_static_method_from_exported_class_has_or_is_using_private_name_1; + } else if (node.parent.parent.kind === 263 /* ClassDeclaration */) { + return symbolAccessibilityResult.errorModuleName ? symbolAccessibilityResult.accessibility === 2 /* CannotBeNamed */ ? Diagnostics.Parameter_0_of_public_method_from_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named : Diagnostics.Parameter_0_of_public_method_from_exported_class_has_or_is_using_name_1_from_private_module_2 : Diagnostics.Parameter_0_of_public_method_from_exported_class_has_or_is_using_private_name_1; + } else { + return symbolAccessibilityResult.errorModuleName ? Diagnostics.Parameter_0_of_method_from_exported_interface_has_or_is_using_name_1_from_private_module_2 : Diagnostics.Parameter_0_of_method_from_exported_interface_has_or_is_using_private_name_1; + } + case 262 /* FunctionDeclaration */: + case 184 /* FunctionType */: + return symbolAccessibilityResult.errorModuleName ? symbolAccessibilityResult.accessibility === 2 /* CannotBeNamed */ ? Diagnostics.Parameter_0_of_exported_function_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named : Diagnostics.Parameter_0_of_exported_function_has_or_is_using_name_1_from_private_module_2 : Diagnostics.Parameter_0_of_exported_function_has_or_is_using_private_name_1; + case 178 /* SetAccessor */: + case 177 /* GetAccessor */: + return symbolAccessibilityResult.errorModuleName ? symbolAccessibilityResult.accessibility === 2 /* CannotBeNamed */ ? Diagnostics.Parameter_0_of_accessor_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named : Diagnostics.Parameter_0_of_accessor_has_or_is_using_name_1_from_private_module_2 : Diagnostics.Parameter_0_of_accessor_has_or_is_using_private_name_1; + default: + return Debug.fail(`Unknown parent for parameter: ${Debug.formatSyntaxKind(node.parent.kind)}`); + } + } + function getTypeParameterConstraintVisibilityError() { + let diagnosticMessage; + switch (node.parent.kind) { + case 263 /* ClassDeclaration */: + diagnosticMessage = Diagnostics.Type_parameter_0_of_exported_class_has_or_is_using_private_name_1; + break; + case 264 /* InterfaceDeclaration */: + diagnosticMessage = Diagnostics.Type_parameter_0_of_exported_interface_has_or_is_using_private_name_1; + break; + case 200 /* MappedType */: + diagnosticMessage = Diagnostics.Type_parameter_0_of_exported_mapped_object_type_is_using_private_name_1; + break; + case 185 /* ConstructorType */: + case 180 /* ConstructSignature */: + diagnosticMessage = Diagnostics.Type_parameter_0_of_constructor_signature_from_exported_interface_has_or_is_using_private_name_1; + break; + case 179 /* CallSignature */: + diagnosticMessage = Diagnostics.Type_parameter_0_of_call_signature_from_exported_interface_has_or_is_using_private_name_1; + break; + case 174 /* MethodDeclaration */: + case 173 /* MethodSignature */: + if (isStatic(node.parent)) { + diagnosticMessage = Diagnostics.Type_parameter_0_of_public_static_method_from_exported_class_has_or_is_using_private_name_1; + } else if (node.parent.parent.kind === 263 /* ClassDeclaration */) { + diagnosticMessage = Diagnostics.Type_parameter_0_of_public_method_from_exported_class_has_or_is_using_private_name_1; + } else { + diagnosticMessage = Diagnostics.Type_parameter_0_of_method_from_exported_interface_has_or_is_using_private_name_1; + } + break; + case 184 /* FunctionType */: + case 262 /* FunctionDeclaration */: + diagnosticMessage = Diagnostics.Type_parameter_0_of_exported_function_has_or_is_using_private_name_1; + break; + case 195 /* InferType */: + diagnosticMessage = Diagnostics.Extends_clause_for_inferred_type_0_has_or_is_using_private_name_1; + break; + case 265 /* TypeAliasDeclaration */: + diagnosticMessage = Diagnostics.Type_parameter_0_of_exported_type_alias_has_or_is_using_private_name_1; + break; + default: + return Debug.fail("This is unknown parent for type parameter: " + node.parent.kind); + } + return { + diagnosticMessage, + errorNode: node, + typeName: node.name + }; + } + function getHeritageClauseVisibilityError() { + let diagnosticMessage; + if (isClassDeclaration(node.parent.parent)) { + diagnosticMessage = isHeritageClause(node.parent) && node.parent.token === 119 /* ImplementsKeyword */ ? Diagnostics.Implements_clause_of_exported_class_0_has_or_is_using_private_name_1 : node.parent.parent.name ? Diagnostics.extends_clause_of_exported_class_0_has_or_is_using_private_name_1 : Diagnostics.extends_clause_of_exported_class_has_or_is_using_private_name_0; + } else { + diagnosticMessage = Diagnostics.extends_clause_of_exported_interface_0_has_or_is_using_private_name_1; + } + return { + diagnosticMessage, + errorNode: node, + typeName: getNameOfDeclaration(node.parent.parent) + }; + } + function getImportEntityNameVisibilityError() { + return { + diagnosticMessage: Diagnostics.Import_declaration_0_is_using_private_name_1, + errorNode: node, + typeName: node.name + }; + } + function getTypeAliasDeclarationVisibilityError(symbolAccessibilityResult) { + return { + diagnosticMessage: symbolAccessibilityResult.errorModuleName ? Diagnostics.Exported_type_alias_0_has_or_is_using_private_name_1_from_module_2 : Diagnostics.Exported_type_alias_0_has_or_is_using_private_name_1, + errorNode: isJSDocTypeAlias(node) ? Debug.checkDefined(node.typeExpression) : node.type, + typeName: isJSDocTypeAlias(node) ? getNameOfDeclaration(node) : node.name + }; + } +} +function createGetIsolatedDeclarationErrors(resolver) { + const relatedSuggestionByDeclarationKind = { + [219 /* ArrowFunction */]: Diagnostics.Add_a_return_type_to_the_function_expression, + [218 /* FunctionExpression */]: Diagnostics.Add_a_return_type_to_the_function_expression, + [174 /* MethodDeclaration */]: Diagnostics.Add_a_return_type_to_the_method, + [177 /* GetAccessor */]: Diagnostics.Add_a_return_type_to_the_get_accessor_declaration, + [178 /* SetAccessor */]: Diagnostics.Add_a_type_to_parameter_of_the_set_accessor_declaration, + [262 /* FunctionDeclaration */]: Diagnostics.Add_a_return_type_to_the_function_declaration, + [180 /* ConstructSignature */]: Diagnostics.Add_a_return_type_to_the_function_declaration, + [169 /* Parameter */]: Diagnostics.Add_a_type_annotation_to_the_parameter_0, + [260 /* VariableDeclaration */]: Diagnostics.Add_a_type_annotation_to_the_variable_0, + [172 /* PropertyDeclaration */]: Diagnostics.Add_a_type_annotation_to_the_property_0, + [171 /* PropertySignature */]: Diagnostics.Add_a_type_annotation_to_the_property_0, + [277 /* ExportAssignment */]: Diagnostics.Move_the_expression_in_default_export_to_a_variable_and_add_a_type_annotation_to_it + }; + const errorByDeclarationKind = { + [218 /* FunctionExpression */]: Diagnostics.Function_must_have_an_explicit_return_type_annotation_with_isolatedDeclarations, + [262 /* FunctionDeclaration */]: Diagnostics.Function_must_have_an_explicit_return_type_annotation_with_isolatedDeclarations, + [219 /* ArrowFunction */]: Diagnostics.Function_must_have_an_explicit_return_type_annotation_with_isolatedDeclarations, + [174 /* MethodDeclaration */]: Diagnostics.Method_must_have_an_explicit_return_type_annotation_with_isolatedDeclarations, + [180 /* ConstructSignature */]: Diagnostics.Method_must_have_an_explicit_return_type_annotation_with_isolatedDeclarations, + [177 /* GetAccessor */]: Diagnostics.At_least_one_accessor_must_have_an_explicit_type_annotation_with_isolatedDeclarations, + [178 /* SetAccessor */]: Diagnostics.At_least_one_accessor_must_have_an_explicit_type_annotation_with_isolatedDeclarations, + [169 /* Parameter */]: Diagnostics.Parameter_must_have_an_explicit_type_annotation_with_isolatedDeclarations, + [260 /* VariableDeclaration */]: Diagnostics.Variable_must_have_an_explicit_type_annotation_with_isolatedDeclarations, + [172 /* PropertyDeclaration */]: Diagnostics.Property_must_have_an_explicit_type_annotation_with_isolatedDeclarations, + [171 /* PropertySignature */]: Diagnostics.Property_must_have_an_explicit_type_annotation_with_isolatedDeclarations, + [167 /* ComputedPropertyName */]: Diagnostics.Computed_property_names_on_class_or_object_literals_cannot_be_inferred_with_isolatedDeclarations, + [305 /* SpreadAssignment */]: Diagnostics.Objects_that_contain_spread_assignments_can_t_be_inferred_with_isolatedDeclarations, + [304 /* ShorthandPropertyAssignment */]: Diagnostics.Objects_that_contain_shorthand_properties_can_t_be_inferred_with_isolatedDeclarations, + [209 /* ArrayLiteralExpression */]: Diagnostics.Only_const_arrays_can_be_inferred_with_isolatedDeclarations, + [277 /* ExportAssignment */]: Diagnostics.Default_exports_can_t_be_inferred_with_isolatedDeclarations, + [230 /* SpreadElement */]: Diagnostics.Arrays_with_spread_elements_can_t_inferred_with_isolatedDeclarations + }; + return getDiagnostic; + function getDiagnostic(node) { + const heritageClause = findAncestor(node, isHeritageClause); + if (heritageClause) { + return createDiagnosticForNode(node, Diagnostics.Extends_clause_can_t_contain_an_expression_with_isolatedDeclarations); + } + if ((isPartOfTypeNode(node) || isTypeQueryNode(node.parent)) && (isEntityName(node) || isEntityNameExpression(node))) { + return createEntityInTypeNodeError(node); + } + Debug.type(node); + switch (node.kind) { + case 177 /* GetAccessor */: + case 178 /* SetAccessor */: + return createAccessorTypeError(node); + case 167 /* ComputedPropertyName */: + case 304 /* ShorthandPropertyAssignment */: + case 305 /* SpreadAssignment */: + return createObjectLiteralError(node); + case 209 /* ArrayLiteralExpression */: + case 230 /* SpreadElement */: + return createArrayLiteralError(node); + case 174 /* MethodDeclaration */: + case 180 /* ConstructSignature */: + case 218 /* FunctionExpression */: + case 219 /* ArrowFunction */: + case 262 /* FunctionDeclaration */: + return createReturnTypeError(node); + case 208 /* BindingElement */: + return createBindingElementError(node); + case 172 /* PropertyDeclaration */: + case 260 /* VariableDeclaration */: + return createVariableOrPropertyError(node); + case 169 /* Parameter */: + return createParameterError(node); + case 303 /* PropertyAssignment */: + return createExpressionError(node.initializer); + case 231 /* ClassExpression */: + return createClassExpressionError(node); + default: + assertType(node); + return createExpressionError(node); + } + } + function findNearestDeclaration(node) { + const result = findAncestor(node, (n) => isExportAssignment(n) || isStatement(n) || isVariableDeclaration(n) || isPropertyDeclaration(n) || isParameter(n)); + if (!result) return void 0; + if (isExportAssignment(result)) return result; + if (isReturnStatement(result)) { + return findAncestor(result, (n) => isFunctionLikeDeclaration(n) && !isConstructorDeclaration(n)); + } + return isStatement(result) ? void 0 : result; + } + function createAccessorTypeError(node) { + const { getAccessor, setAccessor } = getAllAccessorDeclarations(node.symbol.declarations, node); + const targetNode = (isSetAccessor(node) ? node.parameters[0] : node) ?? node; + const diag2 = createDiagnosticForNode(targetNode, errorByDeclarationKind[node.kind]); + if (setAccessor) { + addRelatedInfo(diag2, createDiagnosticForNode(setAccessor, relatedSuggestionByDeclarationKind[setAccessor.kind])); + } + if (getAccessor) { + addRelatedInfo(diag2, createDiagnosticForNode(getAccessor, relatedSuggestionByDeclarationKind[getAccessor.kind])); + } + return diag2; + } + function addParentDeclarationRelatedInfo(node, diag2) { + const parentDeclaration = findNearestDeclaration(node); + if (parentDeclaration) { + const targetStr = isExportAssignment(parentDeclaration) || !parentDeclaration.name ? "" : getTextOfNode( + parentDeclaration.name, + /*includeTrivia*/ + false + ); + addRelatedInfo(diag2, createDiagnosticForNode(parentDeclaration, relatedSuggestionByDeclarationKind[parentDeclaration.kind], targetStr)); + } + return diag2; + } + function createObjectLiteralError(node) { + const diag2 = createDiagnosticForNode(node, errorByDeclarationKind[node.kind]); + addParentDeclarationRelatedInfo(node, diag2); + return diag2; + } + function createArrayLiteralError(node) { + const diag2 = createDiagnosticForNode(node, errorByDeclarationKind[node.kind]); + addParentDeclarationRelatedInfo(node, diag2); + return diag2; + } + function createReturnTypeError(node) { + const diag2 = createDiagnosticForNode(node, errorByDeclarationKind[node.kind]); + addParentDeclarationRelatedInfo(node, diag2); + addRelatedInfo(diag2, createDiagnosticForNode(node, relatedSuggestionByDeclarationKind[node.kind])); + return diag2; + } + function createBindingElementError(node) { + return createDiagnosticForNode(node, Diagnostics.Binding_elements_can_t_be_exported_directly_with_isolatedDeclarations); + } + function createVariableOrPropertyError(node) { + const diag2 = createDiagnosticForNode(node, errorByDeclarationKind[node.kind]); + const targetStr = getTextOfNode( + node.name, + /*includeTrivia*/ + false + ); + addRelatedInfo(diag2, createDiagnosticForNode(node, relatedSuggestionByDeclarationKind[node.kind], targetStr)); + return diag2; + } + function createParameterError(node) { + if (isSetAccessor(node.parent)) { + return createAccessorTypeError(node.parent); + } + const addUndefined = resolver.requiresAddingImplicitUndefined( + node, + /*enclosingDeclaration*/ + void 0 + ); + if (!addUndefined && node.initializer) { + return createExpressionError(node.initializer); + } + const message = addUndefined ? Diagnostics.Declaration_emit_for_this_parameter_requires_implicitly_adding_undefined_to_its_type_This_is_not_supported_with_isolatedDeclarations : errorByDeclarationKind[node.kind]; + const diag2 = createDiagnosticForNode(node, message); + const targetStr = getTextOfNode( + node.name, + /*includeTrivia*/ + false + ); + addRelatedInfo(diag2, createDiagnosticForNode(node, relatedSuggestionByDeclarationKind[node.kind], targetStr)); + return diag2; + } + function createClassExpressionError(node) { + return createExpressionError(node, Diagnostics.Inference_from_class_expressions_is_not_supported_with_isolatedDeclarations); + } + function createEntityInTypeNodeError(node) { + const diag2 = createDiagnosticForNode(node, Diagnostics.Type_containing_private_name_0_can_t_be_used_with_isolatedDeclarations, getTextOfNode( + node, + /*includeTrivia*/ + false + )); + addParentDeclarationRelatedInfo(node, diag2); + return diag2; + } + function createExpressionError(node, diagnosticMessage) { + const parentDeclaration = findNearestDeclaration(node); + let diag2; + if (parentDeclaration) { + const targetStr = isExportAssignment(parentDeclaration) || !parentDeclaration.name ? "" : getTextOfNode( + parentDeclaration.name, + /*includeTrivia*/ + false + ); + const parent = findAncestor(node.parent, (n) => isExportAssignment(n) || (isStatement(n) ? "quit" : !isParenthesizedExpression(n) && !isTypeAssertionExpression(n) && !isAsExpression(n))); + if (parentDeclaration === parent) { + diag2 = createDiagnosticForNode(node, diagnosticMessage ?? errorByDeclarationKind[parentDeclaration.kind]); + addRelatedInfo(diag2, createDiagnosticForNode(parentDeclaration, relatedSuggestionByDeclarationKind[parentDeclaration.kind], targetStr)); + } else { + diag2 = createDiagnosticForNode(node, diagnosticMessage ?? Diagnostics.Expression_type_can_t_be_inferred_with_isolatedDeclarations); + addRelatedInfo(diag2, createDiagnosticForNode(parentDeclaration, relatedSuggestionByDeclarationKind[parentDeclaration.kind], targetStr)); + addRelatedInfo(diag2, createDiagnosticForNode(node, Diagnostics.Add_satisfies_and_a_type_assertion_to_this_expression_satisfies_T_as_T_to_make_the_type_explicit)); + } + } else { + diag2 = createDiagnosticForNode(node, diagnosticMessage ?? Diagnostics.Expression_type_can_t_be_inferred_with_isolatedDeclarations); + } + return diag2; + } +} + +// src/compiler/transformers/declarations.ts +function getDeclarationDiagnostics(host, resolver, file) { + const compilerOptions = host.getCompilerOptions(); + const files = filter(getSourceFilesToEmit(host, file), isSourceFileNotJson); + return contains(files, file) ? transformNodes( + resolver, + host, + factory, + compilerOptions, + [file], + [transformDeclarations], + /*allowDtsFiles*/ + false + ).diagnostics : void 0; +} +var declarationEmitNodeBuilderFlags = 1024 /* MultilineObjectLiterals */ | 2048 /* WriteClassExpressionAsTypeLiteral */ | 4096 /* UseTypeOfFunction */ | 8 /* UseStructuralFallback */ | 524288 /* AllowEmptyTuple */ | 4 /* GenerateNamesForShadowedTypeParams */ | 1 /* NoTruncation */; +var declarationEmitInternalNodeBuilderFlags = 8 /* AllowUnresolvedNames */; +function transformDeclarations(context) { + const throwDiagnostic = () => Debug.fail("Diagnostic emitted without context"); + let getSymbolAccessibilityDiagnostic = throwDiagnostic; + let needsDeclare = true; + let isBundledEmit = false; + let resultHasExternalModuleIndicator = false; + let needsScopeFixMarker = false; + let resultHasScopeMarker = false; + let enclosingDeclaration; + let lateMarkedStatements; + let lateStatementReplacementMap; + let suppressNewDiagnosticContexts; + const { factory: factory2 } = context; + const host = context.getEmitHost(); + let restoreFallbackNode = () => void 0; + const symbolTracker = { + trackSymbol, + reportInaccessibleThisError, + reportInaccessibleUniqueSymbolError, + reportCyclicStructureError, + reportPrivateInBaseOfClassExpression, + reportLikelyUnsafeImportRequiredError, + reportTruncationError, + moduleResolverHost: host, + reportNonlocalAugmentation, + reportNonSerializableProperty, + reportInferenceFallback, + pushErrorFallbackNode(node) { + const currentFallback = errorFallbackNode; + const currentRestore = restoreFallbackNode; + restoreFallbackNode = () => { + restoreFallbackNode = currentRestore; + errorFallbackNode = currentFallback; + }; + errorFallbackNode = node; + }, + popErrorFallbackNode() { + restoreFallbackNode(); + } + }; + let errorNameNode; + let errorFallbackNode; + let currentSourceFile; + let rawReferencedFiles; + let rawTypeReferenceDirectives; + let rawLibReferenceDirectives; + const resolver = context.getEmitResolver(); + const options = context.getCompilerOptions(); + const getIsolatedDeclarationError = createGetIsolatedDeclarationErrors(resolver); + const { stripInternal, isolatedDeclarations } = options; + return transformRoot; + function reportExpandoFunctionErrors(node) { + resolver.getPropertiesOfContainerFunction(node).forEach((p) => { + if (isExpandoPropertyDeclaration(p.valueDeclaration)) { + const errorTarget = isBinaryExpression(p.valueDeclaration) ? p.valueDeclaration.left : p.valueDeclaration; + context.addDiagnostic(createDiagnosticForNode( + errorTarget, + Diagnostics.Assigning_properties_to_functions_without_declaring_them_is_not_supported_with_isolatedDeclarations_Add_an_explicit_declaration_for_the_properties_assigned_to_this_function + )); + } + }); + } + function reportInferenceFallback(node) { + if (!isolatedDeclarations || isSourceFileJS(currentSourceFile)) return; + if (getSourceFileOfNode(node) !== currentSourceFile) return; + if (isVariableDeclaration(node) && resolver.isExpandoFunctionDeclaration(node)) { + reportExpandoFunctionErrors(node); + } else { + context.addDiagnostic(getIsolatedDeclarationError(node)); + } + } + function handleSymbolAccessibilityError(symbolAccessibilityResult) { + if (symbolAccessibilityResult.accessibility === 0 /* Accessible */) { + if (symbolAccessibilityResult.aliasesToMakeVisible) { + if (!lateMarkedStatements) { + lateMarkedStatements = symbolAccessibilityResult.aliasesToMakeVisible; + } else { + for (const ref of symbolAccessibilityResult.aliasesToMakeVisible) { + pushIfUnique(lateMarkedStatements, ref); + } + } + } + } else if (symbolAccessibilityResult.accessibility !== 3 /* NotResolved */) { + const errorInfo = getSymbolAccessibilityDiagnostic(symbolAccessibilityResult); + if (errorInfo) { + if (errorInfo.typeName) { + context.addDiagnostic(createDiagnosticForNode(symbolAccessibilityResult.errorNode || errorInfo.errorNode, errorInfo.diagnosticMessage, getTextOfNode(errorInfo.typeName), symbolAccessibilityResult.errorSymbolName, symbolAccessibilityResult.errorModuleName)); + } else { + context.addDiagnostic(createDiagnosticForNode(symbolAccessibilityResult.errorNode || errorInfo.errorNode, errorInfo.diagnosticMessage, symbolAccessibilityResult.errorSymbolName, symbolAccessibilityResult.errorModuleName)); + } + return true; + } + } + return false; + } + function trackSymbol(symbol, enclosingDeclaration2, meaning) { + if (symbol.flags & 262144 /* TypeParameter */) return false; + const issuedDiagnostic = handleSymbolAccessibilityError(resolver.isSymbolAccessible( + symbol, + enclosingDeclaration2, + meaning, + /*shouldComputeAliasToMarkVisible*/ + true + )); + return issuedDiagnostic; + } + function reportPrivateInBaseOfClassExpression(propertyName) { + if (errorNameNode || errorFallbackNode) { + context.addDiagnostic( + addRelatedInfo( + createDiagnosticForNode(errorNameNode || errorFallbackNode, Diagnostics.Property_0_of_exported_anonymous_class_type_may_not_be_private_or_protected, propertyName), + ...isVariableDeclaration((errorNameNode || errorFallbackNode).parent) ? [createDiagnosticForNode(errorNameNode || errorFallbackNode, Diagnostics.Add_a_type_annotation_to_the_variable_0, errorDeclarationNameWithFallback())] : [] + ) + ); + } + } + function errorDeclarationNameWithFallback() { + return errorNameNode ? declarationNameToString(errorNameNode) : errorFallbackNode && getNameOfDeclaration(errorFallbackNode) ? declarationNameToString(getNameOfDeclaration(errorFallbackNode)) : errorFallbackNode && isExportAssignment(errorFallbackNode) ? errorFallbackNode.isExportEquals ? "export=" : "default" : "(Missing)"; + } + function reportInaccessibleUniqueSymbolError() { + if (errorNameNode || errorFallbackNode) { + context.addDiagnostic(createDiagnosticForNode(errorNameNode || errorFallbackNode, Diagnostics.The_inferred_type_of_0_references_an_inaccessible_1_type_A_type_annotation_is_necessary, errorDeclarationNameWithFallback(), "unique symbol")); + } + } + function reportCyclicStructureError() { + if (errorNameNode || errorFallbackNode) { + context.addDiagnostic(createDiagnosticForNode(errorNameNode || errorFallbackNode, Diagnostics.The_inferred_type_of_0_references_a_type_with_a_cyclic_structure_which_cannot_be_trivially_serialized_A_type_annotation_is_necessary, errorDeclarationNameWithFallback())); + } + } + function reportInaccessibleThisError() { + if (errorNameNode || errorFallbackNode) { + context.addDiagnostic(createDiagnosticForNode(errorNameNode || errorFallbackNode, Diagnostics.The_inferred_type_of_0_references_an_inaccessible_1_type_A_type_annotation_is_necessary, errorDeclarationNameWithFallback(), "this")); + } + } + function reportLikelyUnsafeImportRequiredError(specifier) { + if (errorNameNode || errorFallbackNode) { + context.addDiagnostic(createDiagnosticForNode(errorNameNode || errorFallbackNode, Diagnostics.The_inferred_type_of_0_cannot_be_named_without_a_reference_to_1_This_is_likely_not_portable_A_type_annotation_is_necessary, errorDeclarationNameWithFallback(), specifier)); + } + } + function reportTruncationError() { + if (errorNameNode || errorFallbackNode) { + context.addDiagnostic(createDiagnosticForNode(errorNameNode || errorFallbackNode, Diagnostics.The_inferred_type_of_this_node_exceeds_the_maximum_length_the_compiler_will_serialize_An_explicit_type_annotation_is_needed)); + } + } + function reportNonlocalAugmentation(containingFile, parentSymbol, symbol) { + var _a; + const primaryDeclaration = (_a = parentSymbol.declarations) == null ? void 0 : _a.find((d) => getSourceFileOfNode(d) === containingFile); + const augmentingDeclarations = filter(symbol.declarations, (d) => getSourceFileOfNode(d) !== containingFile); + if (primaryDeclaration && augmentingDeclarations) { + for (const augmentations of augmentingDeclarations) { + context.addDiagnostic(addRelatedInfo( + createDiagnosticForNode(augmentations, Diagnostics.Declaration_augments_declaration_in_another_file_This_cannot_be_serialized), + createDiagnosticForNode(primaryDeclaration, Diagnostics.This_is_the_declaration_being_augmented_Consider_moving_the_augmenting_declaration_into_the_same_file) + )); + } + } + } + function reportNonSerializableProperty(propertyName) { + if (errorNameNode || errorFallbackNode) { + context.addDiagnostic(createDiagnosticForNode(errorNameNode || errorFallbackNode, Diagnostics.The_type_of_this_node_cannot_be_serialized_because_its_property_0_cannot_be_serialized, propertyName)); + } + } + function transformDeclarationsForJS(sourceFile) { + const oldDiag = getSymbolAccessibilityDiagnostic; + getSymbolAccessibilityDiagnostic = (s) => s.errorNode && canProduceDiagnostics(s.errorNode) ? createGetSymbolAccessibilityDiagnosticForNode(s.errorNode)(s) : { + diagnosticMessage: s.errorModuleName ? Diagnostics.Declaration_emit_for_this_file_requires_using_private_name_0_from_module_1_An_explicit_type_annotation_may_unblock_declaration_emit : Diagnostics.Declaration_emit_for_this_file_requires_using_private_name_0_An_explicit_type_annotation_may_unblock_declaration_emit, + errorNode: s.errorNode || sourceFile + }; + const result = resolver.getDeclarationStatementsForSourceFile(sourceFile, declarationEmitNodeBuilderFlags, declarationEmitInternalNodeBuilderFlags, symbolTracker); + getSymbolAccessibilityDiagnostic = oldDiag; + return result; + } + function transformRoot(node) { + if (node.kind === 307 /* SourceFile */ && node.isDeclarationFile) { + return node; + } + if (node.kind === 308 /* Bundle */) { + isBundledEmit = true; + rawReferencedFiles = []; + rawTypeReferenceDirectives = []; + rawLibReferenceDirectives = []; + let hasNoDefaultLib = false; + const bundle = factory2.createBundle( + map(node.sourceFiles, (sourceFile) => { + if (sourceFile.isDeclarationFile) return void 0; + hasNoDefaultLib = hasNoDefaultLib || sourceFile.hasNoDefaultLib; + currentSourceFile = sourceFile; + enclosingDeclaration = sourceFile; + lateMarkedStatements = void 0; + suppressNewDiagnosticContexts = false; + lateStatementReplacementMap = /* @__PURE__ */ new Map(); + getSymbolAccessibilityDiagnostic = throwDiagnostic; + needsScopeFixMarker = false; + resultHasScopeMarker = false; + collectFileReferences(sourceFile); + if (isExternalOrCommonJsModule(sourceFile) || isJsonSourceFile(sourceFile)) { + resultHasExternalModuleIndicator = false; + needsDeclare = false; + const statements = isSourceFileJS(sourceFile) ? factory2.createNodeArray(transformDeclarationsForJS(sourceFile)) : visitNodes2(sourceFile.statements, visitDeclarationStatements, isStatement); + const newFile = factory2.updateSourceFile( + sourceFile, + [factory2.createModuleDeclaration( + [factory2.createModifier(138 /* DeclareKeyword */)], + factory2.createStringLiteral(getResolvedExternalModuleName(context.getEmitHost(), sourceFile)), + factory2.createModuleBlock(setTextRange(factory2.createNodeArray(transformAndReplaceLatePaintedStatements(statements)), sourceFile.statements)) + )], + /*isDeclarationFile*/ + true, + /*referencedFiles*/ + [], + /*typeReferences*/ + [], + /*hasNoDefaultLib*/ + false, + /*libReferences*/ + [] + ); + return newFile; + } + needsDeclare = true; + const updated = isSourceFileJS(sourceFile) ? factory2.createNodeArray(transformDeclarationsForJS(sourceFile)) : visitNodes2(sourceFile.statements, visitDeclarationStatements, isStatement); + return factory2.updateSourceFile( + sourceFile, + transformAndReplaceLatePaintedStatements(updated), + /*isDeclarationFile*/ + true, + /*referencedFiles*/ + [], + /*typeReferences*/ + [], + /*hasNoDefaultLib*/ + false, + /*libReferences*/ + [] + ); + }) + ); + const outputFilePath2 = getDirectoryPath(normalizeSlashes(getOutputPathsFor( + node, + host, + /*forceDtsPaths*/ + true + ).declarationFilePath)); + bundle.syntheticFileReferences = getReferencedFiles(outputFilePath2); + bundle.syntheticTypeReferences = getTypeReferences(); + bundle.syntheticLibReferences = getLibReferences(); + bundle.hasNoDefaultLib = hasNoDefaultLib; + return bundle; + } + needsDeclare = true; + needsScopeFixMarker = false; + resultHasScopeMarker = false; + enclosingDeclaration = node; + currentSourceFile = node; + getSymbolAccessibilityDiagnostic = throwDiagnostic; + isBundledEmit = false; + resultHasExternalModuleIndicator = false; + suppressNewDiagnosticContexts = false; + lateMarkedStatements = void 0; + lateStatementReplacementMap = /* @__PURE__ */ new Map(); + rawReferencedFiles = []; + rawTypeReferenceDirectives = []; + rawLibReferenceDirectives = []; + collectFileReferences(currentSourceFile); + let combinedStatements; + if (isSourceFileJS(currentSourceFile)) { + combinedStatements = factory2.createNodeArray(transformDeclarationsForJS(node)); + } else { + const statements = visitNodes2(node.statements, visitDeclarationStatements, isStatement); + combinedStatements = setTextRange(factory2.createNodeArray(transformAndReplaceLatePaintedStatements(statements)), node.statements); + if (isExternalModule(node) && (!resultHasExternalModuleIndicator || needsScopeFixMarker && !resultHasScopeMarker)) { + combinedStatements = setTextRange(factory2.createNodeArray([...combinedStatements, createEmptyExports(factory2)]), combinedStatements); + } + } + const outputFilePath = getDirectoryPath(normalizeSlashes(getOutputPathsFor( + node, + host, + /*forceDtsPaths*/ + true + ).declarationFilePath)); + return factory2.updateSourceFile( + node, + combinedStatements, + /*isDeclarationFile*/ + true, + getReferencedFiles(outputFilePath), + getTypeReferences(), + node.hasNoDefaultLib, + getLibReferences() + ); + function collectFileReferences(sourceFile) { + rawReferencedFiles = concatenate(rawReferencedFiles, map(sourceFile.referencedFiles, (f) => [sourceFile, f])); + rawTypeReferenceDirectives = concatenate(rawTypeReferenceDirectives, sourceFile.typeReferenceDirectives); + rawLibReferenceDirectives = concatenate(rawLibReferenceDirectives, sourceFile.libReferenceDirectives); + } + function copyFileReferenceAsSynthetic(ref) { + const newRef = { ...ref }; + newRef.pos = -1; + newRef.end = -1; + return newRef; + } + function getTypeReferences() { + return mapDefined(rawTypeReferenceDirectives, (ref) => { + if (!ref.preserve) return void 0; + return copyFileReferenceAsSynthetic(ref); + }); + } + function getLibReferences() { + return mapDefined(rawLibReferenceDirectives, (ref) => { + if (!ref.preserve) return void 0; + return copyFileReferenceAsSynthetic(ref); + }); + } + function getReferencedFiles(outputFilePath2) { + return mapDefined(rawReferencedFiles, ([sourceFile, ref]) => { + if (!ref.preserve) return void 0; + const file = host.getSourceFileFromReference(sourceFile, ref); + if (!file) { + return void 0; + } + let declFileName; + if (file.isDeclarationFile) { + declFileName = file.fileName; + } else { + if (isBundledEmit && contains(node.sourceFiles, file)) return; + const paths = getOutputPathsFor( + file, + host, + /*forceDtsPaths*/ + true + ); + declFileName = paths.declarationFilePath || paths.jsFilePath || file.fileName; + } + if (!declFileName) return void 0; + const fileName = getRelativePathToDirectoryOrUrl( + outputFilePath2, + declFileName, + host.getCurrentDirectory(), + host.getCanonicalFileName, + /*isAbsolutePathAnUrl*/ + false + ); + const newRef = copyFileReferenceAsSynthetic(ref); + newRef.fileName = fileName; + return newRef; + }); + } + } + function filterBindingPatternInitializers(name) { + if (name.kind === 80 /* Identifier */) { + return name; + } else { + if (name.kind === 207 /* ArrayBindingPattern */) { + return factory2.updateArrayBindingPattern(name, visitNodes2(name.elements, visitBindingElement, isArrayBindingElement)); + } else { + return factory2.updateObjectBindingPattern(name, visitNodes2(name.elements, visitBindingElement, isBindingElement)); + } + } + function visitBindingElement(elem) { + if (elem.kind === 232 /* OmittedExpression */) { + return elem; + } + if (elem.propertyName && isComputedPropertyName(elem.propertyName) && isEntityNameExpression(elem.propertyName.expression)) { + checkEntityNameVisibility(elem.propertyName.expression, enclosingDeclaration); + } + return factory2.updateBindingElement( + elem, + elem.dotDotDotToken, + elem.propertyName, + filterBindingPatternInitializers(elem.name), + /*initializer*/ + void 0 + ); + } + } + function ensureParameter(p, modifierMask) { + let oldDiag; + if (!suppressNewDiagnosticContexts) { + oldDiag = getSymbolAccessibilityDiagnostic; + getSymbolAccessibilityDiagnostic = createGetSymbolAccessibilityDiagnosticForNode(p); + } + const newParam = factory2.updateParameterDeclaration( + p, + maskModifiers(factory2, p, modifierMask), + p.dotDotDotToken, + filterBindingPatternInitializers(p.name), + resolver.isOptionalParameter(p) ? p.questionToken || factory2.createToken(58 /* QuestionToken */) : void 0, + ensureType( + p, + /*ignorePrivate*/ + true + ), + // Ignore private param props, since this type is going straight back into a param + ensureNoInitializer(p) + ); + if (!suppressNewDiagnosticContexts) { + getSymbolAccessibilityDiagnostic = oldDiag; + } + return newParam; + } + function shouldPrintWithInitializer(node) { + return canHaveLiteralInitializer(node) && !!node.initializer && resolver.isLiteralConstDeclaration(getParseTreeNode(node)); + } + function ensureNoInitializer(node) { + if (shouldPrintWithInitializer(node)) { + const unwrappedInitializer = unwrapParenthesizedExpression(node.initializer); + if (!isPrimitiveLiteralValue(unwrappedInitializer)) { + reportInferenceFallback(node); + } + return resolver.createLiteralConstValue(getParseTreeNode(node, canHaveLiteralInitializer), symbolTracker); + } + return void 0; + } + function ensureType(node, ignorePrivate) { + if (!ignorePrivate && hasEffectiveModifier(node, 2 /* Private */)) { + return; + } + if (shouldPrintWithInitializer(node)) { + return; + } + if (!isExportAssignment(node) && !isBindingElement(node) && node.type && (!isParameter(node) || !resolver.requiresAddingImplicitUndefined(node, enclosingDeclaration))) { + return visitNode(node.type, visitDeclarationSubtree, isTypeNode); + } + const oldErrorNameNode = errorNameNode; + errorNameNode = node.name; + let oldDiag; + if (!suppressNewDiagnosticContexts) { + oldDiag = getSymbolAccessibilityDiagnostic; + if (canProduceDiagnostics(node)) { + getSymbolAccessibilityDiagnostic = createGetSymbolAccessibilityDiagnosticForNode(node); + } + } + let typeNode; + if (hasInferredType(node)) { + typeNode = resolver.createTypeOfDeclaration(node, enclosingDeclaration, declarationEmitNodeBuilderFlags, declarationEmitInternalNodeBuilderFlags, symbolTracker); + } else if (isFunctionLike(node)) { + typeNode = resolver.createReturnTypeOfSignatureDeclaration(node, enclosingDeclaration, declarationEmitNodeBuilderFlags, declarationEmitInternalNodeBuilderFlags, symbolTracker); + } else { + Debug.assertNever(node); + } + errorNameNode = oldErrorNameNode; + if (!suppressNewDiagnosticContexts) { + getSymbolAccessibilityDiagnostic = oldDiag; + } + return typeNode ?? factory2.createKeywordTypeNode(133 /* AnyKeyword */); + } + function isDeclarationAndNotVisible(node) { + node = getParseTreeNode(node); + switch (node.kind) { + case 262 /* FunctionDeclaration */: + case 267 /* ModuleDeclaration */: + case 264 /* InterfaceDeclaration */: + case 263 /* ClassDeclaration */: + case 265 /* TypeAliasDeclaration */: + case 266 /* EnumDeclaration */: + return !resolver.isDeclarationVisible(node); + // The following should be doing their own visibility checks based on filtering their members + case 260 /* VariableDeclaration */: + return !getBindingNameVisible(node); + case 271 /* ImportEqualsDeclaration */: + case 272 /* ImportDeclaration */: + case 278 /* ExportDeclaration */: + case 277 /* ExportAssignment */: + return false; + case 175 /* ClassStaticBlockDeclaration */: + return true; + } + return false; + } + function shouldEmitFunctionProperties(input) { + var _a; + if (input.body) { + return true; + } + const overloadSignatures = (_a = input.symbol.declarations) == null ? void 0 : _a.filter((decl) => isFunctionDeclaration(decl) && !decl.body); + return !overloadSignatures || overloadSignatures.indexOf(input) === overloadSignatures.length - 1; + } + function getBindingNameVisible(elem) { + if (isOmittedExpression(elem)) { + return false; + } + if (isBindingPattern(elem.name)) { + return some(elem.name.elements, getBindingNameVisible); + } else { + return resolver.isDeclarationVisible(elem); + } + } + function updateParamsList(node, params, modifierMask) { + if (hasEffectiveModifier(node, 2 /* Private */)) { + return factory2.createNodeArray(); + } + const newParams = map(params, (p) => ensureParameter(p, modifierMask)); + if (!newParams) { + return factory2.createNodeArray(); + } + return factory2.createNodeArray(newParams, params.hasTrailingComma); + } + function updateAccessorParamsList(input, isPrivate) { + let newParams; + if (!isPrivate) { + const thisParameter = getThisParameter(input); + if (thisParameter) { + newParams = [ensureParameter(thisParameter)]; + } + } + if (isSetAccessorDeclaration(input)) { + let newValueParameter; + if (!isPrivate) { + const valueParameter = getSetAccessorValueParameter(input); + if (valueParameter) { + newValueParameter = ensureParameter(valueParameter); + } + } + if (!newValueParameter) { + newValueParameter = factory2.createParameterDeclaration( + /*modifiers*/ + void 0, + /*dotDotDotToken*/ + void 0, + "value" + ); + } + newParams = append(newParams, newValueParameter); + } + return factory2.createNodeArray(newParams || emptyArray); + } + function ensureTypeParams(node, params) { + return hasEffectiveModifier(node, 2 /* Private */) ? void 0 : visitNodes2(params, visitDeclarationSubtree, isTypeParameterDeclaration); + } + function isEnclosingDeclaration(node) { + return isSourceFile(node) || isTypeAliasDeclaration(node) || isModuleDeclaration(node) || isClassDeclaration(node) || isInterfaceDeclaration(node) || isFunctionLike(node) || isIndexSignatureDeclaration(node) || isMappedTypeNode(node); + } + function checkEntityNameVisibility(entityName, enclosingDeclaration2) { + const visibilityResult = resolver.isEntityNameVisible(entityName, enclosingDeclaration2); + handleSymbolAccessibilityError(visibilityResult); + } + function preserveJsDoc(updated, original) { + if (hasJSDocNodes(updated) && hasJSDocNodes(original)) { + updated.jsDoc = original.jsDoc; + } + return setCommentRange(updated, getCommentRange(original)); + } + function rewriteModuleSpecifier2(parent, input) { + if (!input) return void 0; + resultHasExternalModuleIndicator = resultHasExternalModuleIndicator || parent.kind !== 267 /* ModuleDeclaration */ && parent.kind !== 205 /* ImportType */; + if (isStringLiteralLike(input)) { + if (isBundledEmit) { + const newName = getExternalModuleNameFromDeclaration(context.getEmitHost(), resolver, parent); + if (newName) { + return factory2.createStringLiteral(newName); + } + } + } + return input; + } + function transformImportEqualsDeclaration(decl) { + if (!resolver.isDeclarationVisible(decl)) return; + if (decl.moduleReference.kind === 283 /* ExternalModuleReference */) { + const specifier = getExternalModuleImportEqualsDeclarationExpression(decl); + return factory2.updateImportEqualsDeclaration( + decl, + decl.modifiers, + decl.isTypeOnly, + decl.name, + factory2.updateExternalModuleReference(decl.moduleReference, rewriteModuleSpecifier2(decl, specifier)) + ); + } else { + const oldDiag = getSymbolAccessibilityDiagnostic; + getSymbolAccessibilityDiagnostic = createGetSymbolAccessibilityDiagnosticForNode(decl); + checkEntityNameVisibility(decl.moduleReference, enclosingDeclaration); + getSymbolAccessibilityDiagnostic = oldDiag; + return decl; + } + } + function transformImportDeclaration(decl) { + if (!decl.importClause) { + return factory2.updateImportDeclaration( + decl, + decl.modifiers, + decl.importClause, + rewriteModuleSpecifier2(decl, decl.moduleSpecifier), + tryGetResolutionModeOverride(decl.attributes) + ); + } + const visibleDefaultBinding = decl.importClause && decl.importClause.name && resolver.isDeclarationVisible(decl.importClause) ? decl.importClause.name : void 0; + if (!decl.importClause.namedBindings) { + return visibleDefaultBinding && factory2.updateImportDeclaration( + decl, + decl.modifiers, + factory2.updateImportClause( + decl.importClause, + decl.importClause.isTypeOnly, + visibleDefaultBinding, + /*namedBindings*/ + void 0 + ), + rewriteModuleSpecifier2(decl, decl.moduleSpecifier), + tryGetResolutionModeOverride(decl.attributes) + ); + } + if (decl.importClause.namedBindings.kind === 274 /* NamespaceImport */) { + const namedBindings = resolver.isDeclarationVisible(decl.importClause.namedBindings) ? decl.importClause.namedBindings : ( + /*namedBindings*/ + void 0 + ); + return visibleDefaultBinding || namedBindings ? factory2.updateImportDeclaration( + decl, + decl.modifiers, + factory2.updateImportClause( + decl.importClause, + decl.importClause.isTypeOnly, + visibleDefaultBinding, + namedBindings + ), + rewriteModuleSpecifier2(decl, decl.moduleSpecifier), + tryGetResolutionModeOverride(decl.attributes) + ) : void 0; + } + const bindingList = mapDefined(decl.importClause.namedBindings.elements, (b) => resolver.isDeclarationVisible(b) ? b : void 0); + if (bindingList && bindingList.length || visibleDefaultBinding) { + return factory2.updateImportDeclaration( + decl, + decl.modifiers, + factory2.updateImportClause( + decl.importClause, + decl.importClause.isTypeOnly, + visibleDefaultBinding, + bindingList && bindingList.length ? factory2.updateNamedImports(decl.importClause.namedBindings, bindingList) : void 0 + ), + rewriteModuleSpecifier2(decl, decl.moduleSpecifier), + tryGetResolutionModeOverride(decl.attributes) + ); + } + if (resolver.isImportRequiredByAugmentation(decl)) { + if (isolatedDeclarations) { + context.addDiagnostic(createDiagnosticForNode(decl, Diagnostics.Declaration_emit_for_this_file_requires_preserving_this_import_for_augmentations_This_is_not_supported_with_isolatedDeclarations)); + } + return factory2.updateImportDeclaration( + decl, + decl.modifiers, + /*importClause*/ + void 0, + rewriteModuleSpecifier2(decl, decl.moduleSpecifier), + tryGetResolutionModeOverride(decl.attributes) + ); + } + } + function tryGetResolutionModeOverride(node) { + const mode = getResolutionModeOverride(node); + return node && mode !== void 0 ? node : void 0; + } + function transformAndReplaceLatePaintedStatements(statements) { + while (length(lateMarkedStatements)) { + const i = lateMarkedStatements.shift(); + if (!isLateVisibilityPaintedStatement(i)) { + return Debug.fail(`Late replaced statement was found which is not handled by the declaration transformer!: ${Debug.formatSyntaxKind(i.kind)}`); + } + const priorNeedsDeclare = needsDeclare; + needsDeclare = i.parent && isSourceFile(i.parent) && !(isExternalModule(i.parent) && isBundledEmit); + const result = transformTopLevelDeclaration(i); + needsDeclare = priorNeedsDeclare; + lateStatementReplacementMap.set(getOriginalNodeId(i), result); + } + return visitNodes2(statements, visitLateVisibilityMarkedStatements, isStatement); + function visitLateVisibilityMarkedStatements(statement) { + if (isLateVisibilityPaintedStatement(statement)) { + const key = getOriginalNodeId(statement); + if (lateStatementReplacementMap.has(key)) { + const result = lateStatementReplacementMap.get(key); + lateStatementReplacementMap.delete(key); + if (result) { + if (isArray(result) ? some(result, needsScopeMarker) : needsScopeMarker(result)) { + needsScopeFixMarker = true; + } + if (isSourceFile(statement.parent) && (isArray(result) ? some(result, isExternalModuleIndicator) : isExternalModuleIndicator(result))) { + resultHasExternalModuleIndicator = true; + } + } + return result; + } + } + return statement; + } + } + function visitDeclarationSubtree(input) { + if (shouldStripInternal(input)) return; + if (isDeclaration(input)) { + if (isDeclarationAndNotVisible(input)) return; + if (hasDynamicName(input)) { + if (isolatedDeclarations) { + if (!resolver.isDefinitelyReferenceToGlobalSymbolObject(input.name.expression)) { + if (isClassDeclaration(input.parent) || isObjectLiteralExpression(input.parent)) { + context.addDiagnostic(createDiagnosticForNode(input, Diagnostics.Computed_property_names_on_class_or_object_literals_cannot_be_inferred_with_isolatedDeclarations)); + return; + } else if ( + // Type declarations just need to double-check that the input computed name is an entity name expression + (isInterfaceDeclaration(input.parent) || isTypeLiteralNode(input.parent)) && !isEntityNameExpression(input.name.expression) + ) { + context.addDiagnostic(createDiagnosticForNode(input, Diagnostics.Computed_properties_must_be_number_or_string_literals_variables_or_dotted_expressions_with_isolatedDeclarations)); + return; + } + } + } else if (!resolver.isLateBound(getParseTreeNode(input)) || !isEntityNameExpression(input.name.expression)) { + return; + } + } + } + if (isFunctionLike(input) && resolver.isImplementationOfOverload(input)) return; + if (isSemicolonClassElement(input)) return; + let previousEnclosingDeclaration; + if (isEnclosingDeclaration(input)) { + previousEnclosingDeclaration = enclosingDeclaration; + enclosingDeclaration = input; + } + const oldDiag = getSymbolAccessibilityDiagnostic; + const canProduceDiagnostic = canProduceDiagnostics(input); + const oldWithinObjectLiteralType = suppressNewDiagnosticContexts; + let shouldEnterSuppressNewDiagnosticsContextContext = (input.kind === 187 /* TypeLiteral */ || input.kind === 200 /* MappedType */) && input.parent.kind !== 265 /* TypeAliasDeclaration */; + if (isMethodDeclaration(input) || isMethodSignature(input)) { + if (hasEffectiveModifier(input, 2 /* Private */)) { + if (input.symbol && input.symbol.declarations && input.symbol.declarations[0] !== input) return; + return cleanup(factory2.createPropertyDeclaration( + ensureModifiers(input), + input.name, + /*questionOrExclamationToken*/ + void 0, + /*type*/ + void 0, + /*initializer*/ + void 0 + )); + } + } + if (canProduceDiagnostic && !suppressNewDiagnosticContexts) { + getSymbolAccessibilityDiagnostic = createGetSymbolAccessibilityDiagnosticForNode(input); + } + if (isTypeQueryNode(input)) { + checkEntityNameVisibility(input.exprName, enclosingDeclaration); + } + if (shouldEnterSuppressNewDiagnosticsContextContext) { + suppressNewDiagnosticContexts = true; + } + if (isProcessedComponent(input)) { + switch (input.kind) { + case 233 /* ExpressionWithTypeArguments */: { + if (isEntityName(input.expression) || isEntityNameExpression(input.expression)) { + checkEntityNameVisibility(input.expression, enclosingDeclaration); + } + const node = visitEachChild(input, visitDeclarationSubtree, context); + return cleanup(factory2.updateExpressionWithTypeArguments(node, node.expression, node.typeArguments)); + } + case 183 /* TypeReference */: { + checkEntityNameVisibility(input.typeName, enclosingDeclaration); + const node = visitEachChild(input, visitDeclarationSubtree, context); + return cleanup(factory2.updateTypeReferenceNode(node, node.typeName, node.typeArguments)); + } + case 180 /* ConstructSignature */: + return cleanup(factory2.updateConstructSignature( + input, + ensureTypeParams(input, input.typeParameters), + updateParamsList(input, input.parameters), + ensureType(input) + )); + case 176 /* Constructor */: { + const ctor = factory2.createConstructorDeclaration( + /*modifiers*/ + ensureModifiers(input), + updateParamsList(input, input.parameters, 0 /* None */), + /*body*/ + void 0 + ); + return cleanup(ctor); + } + case 174 /* MethodDeclaration */: { + if (isPrivateIdentifier(input.name)) { + return cleanup( + /*returnValue*/ + void 0 + ); + } + const sig = factory2.createMethodDeclaration( + ensureModifiers(input), + /*asteriskToken*/ + void 0, + input.name, + input.questionToken, + ensureTypeParams(input, input.typeParameters), + updateParamsList(input, input.parameters), + ensureType(input), + /*body*/ + void 0 + ); + return cleanup(sig); + } + case 177 /* GetAccessor */: { + if (isPrivateIdentifier(input.name)) { + return cleanup( + /*returnValue*/ + void 0 + ); + } + return cleanup(factory2.updateGetAccessorDeclaration( + input, + ensureModifiers(input), + input.name, + updateAccessorParamsList(input, hasEffectiveModifier(input, 2 /* Private */)), + ensureType(input), + /*body*/ + void 0 + )); + } + case 178 /* SetAccessor */: { + if (isPrivateIdentifier(input.name)) { + return cleanup( + /*returnValue*/ + void 0 + ); + } + return cleanup(factory2.updateSetAccessorDeclaration( + input, + ensureModifiers(input), + input.name, + updateAccessorParamsList(input, hasEffectiveModifier(input, 2 /* Private */)), + /*body*/ + void 0 + )); + } + case 172 /* PropertyDeclaration */: + if (isPrivateIdentifier(input.name)) { + return cleanup( + /*returnValue*/ + void 0 + ); + } + return cleanup(factory2.updatePropertyDeclaration( + input, + ensureModifiers(input), + input.name, + input.questionToken, + ensureType(input), + ensureNoInitializer(input) + )); + case 171 /* PropertySignature */: + if (isPrivateIdentifier(input.name)) { + return cleanup( + /*returnValue*/ + void 0 + ); + } + return cleanup(factory2.updatePropertySignature( + input, + ensureModifiers(input), + input.name, + input.questionToken, + ensureType(input) + )); + case 173 /* MethodSignature */: { + if (isPrivateIdentifier(input.name)) { + return cleanup( + /*returnValue*/ + void 0 + ); + } + return cleanup(factory2.updateMethodSignature( + input, + ensureModifiers(input), + input.name, + input.questionToken, + ensureTypeParams(input, input.typeParameters), + updateParamsList(input, input.parameters), + ensureType(input) + )); + } + case 179 /* CallSignature */: { + return cleanup( + factory2.updateCallSignature( + input, + ensureTypeParams(input, input.typeParameters), + updateParamsList(input, input.parameters), + ensureType(input) + ) + ); + } + case 181 /* IndexSignature */: { + return cleanup(factory2.updateIndexSignature( + input, + ensureModifiers(input), + updateParamsList(input, input.parameters), + visitNode(input.type, visitDeclarationSubtree, isTypeNode) || factory2.createKeywordTypeNode(133 /* AnyKeyword */) + )); + } + case 260 /* VariableDeclaration */: { + if (isBindingPattern(input.name)) { + return recreateBindingPattern(input.name); + } + shouldEnterSuppressNewDiagnosticsContextContext = true; + suppressNewDiagnosticContexts = true; + return cleanup(factory2.updateVariableDeclaration( + input, + input.name, + /*exclamationToken*/ + void 0, + ensureType(input), + ensureNoInitializer(input) + )); + } + case 168 /* TypeParameter */: { + if (isPrivateMethodTypeParameter(input) && (input.default || input.constraint)) { + return cleanup(factory2.updateTypeParameterDeclaration( + input, + input.modifiers, + input.name, + /*constraint*/ + void 0, + /*defaultType*/ + void 0 + )); + } + return cleanup(visitEachChild(input, visitDeclarationSubtree, context)); + } + case 194 /* ConditionalType */: { + const checkType = visitNode(input.checkType, visitDeclarationSubtree, isTypeNode); + const extendsType = visitNode(input.extendsType, visitDeclarationSubtree, isTypeNode); + const oldEnclosingDecl = enclosingDeclaration; + enclosingDeclaration = input.trueType; + const trueType = visitNode(input.trueType, visitDeclarationSubtree, isTypeNode); + enclosingDeclaration = oldEnclosingDecl; + const falseType = visitNode(input.falseType, visitDeclarationSubtree, isTypeNode); + Debug.assert(checkType); + Debug.assert(extendsType); + Debug.assert(trueType); + Debug.assert(falseType); + return cleanup(factory2.updateConditionalTypeNode(input, checkType, extendsType, trueType, falseType)); + } + case 184 /* FunctionType */: { + return cleanup(factory2.updateFunctionTypeNode( + input, + visitNodes2(input.typeParameters, visitDeclarationSubtree, isTypeParameterDeclaration), + updateParamsList(input, input.parameters), + Debug.checkDefined(visitNode(input.type, visitDeclarationSubtree, isTypeNode)) + )); + } + case 185 /* ConstructorType */: { + return cleanup(factory2.updateConstructorTypeNode( + input, + ensureModifiers(input), + visitNodes2(input.typeParameters, visitDeclarationSubtree, isTypeParameterDeclaration), + updateParamsList(input, input.parameters), + Debug.checkDefined(visitNode(input.type, visitDeclarationSubtree, isTypeNode)) + )); + } + case 205 /* ImportType */: { + if (!isLiteralImportTypeNode(input)) return cleanup(input); + return cleanup(factory2.updateImportTypeNode( + input, + factory2.updateLiteralTypeNode(input.argument, rewriteModuleSpecifier2(input, input.argument.literal)), + input.attributes, + input.qualifier, + visitNodes2(input.typeArguments, visitDeclarationSubtree, isTypeNode), + input.isTypeOf + )); + } + default: + Debug.assertNever(input, `Attempted to process unhandled node kind: ${Debug.formatSyntaxKind(input.kind)}`); + } + } + if (isTupleTypeNode(input) && getLineAndCharacterOfPosition(currentSourceFile, input.pos).line === getLineAndCharacterOfPosition(currentSourceFile, input.end).line) { + setEmitFlags(input, 1 /* SingleLine */); + } + return cleanup(visitEachChild(input, visitDeclarationSubtree, context)); + function cleanup(returnValue) { + if (returnValue && canProduceDiagnostic && hasDynamicName(input)) { + checkName(input); + } + if (isEnclosingDeclaration(input)) { + enclosingDeclaration = previousEnclosingDeclaration; + } + if (canProduceDiagnostic && !suppressNewDiagnosticContexts) { + getSymbolAccessibilityDiagnostic = oldDiag; + } + if (shouldEnterSuppressNewDiagnosticsContextContext) { + suppressNewDiagnosticContexts = oldWithinObjectLiteralType; + } + if (returnValue === input) { + return returnValue; + } + return returnValue && setOriginalNode(preserveJsDoc(returnValue, input), input); + } + } + function isPrivateMethodTypeParameter(node) { + return node.parent.kind === 174 /* MethodDeclaration */ && hasEffectiveModifier(node.parent, 2 /* Private */); + } + function visitDeclarationStatements(input) { + if (!isPreservedDeclarationStatement(input)) { + return; + } + if (shouldStripInternal(input)) return; + switch (input.kind) { + case 278 /* ExportDeclaration */: { + if (isSourceFile(input.parent)) { + resultHasExternalModuleIndicator = true; + } + resultHasScopeMarker = true; + return factory2.updateExportDeclaration( + input, + input.modifiers, + input.isTypeOnly, + input.exportClause, + rewriteModuleSpecifier2(input, input.moduleSpecifier), + tryGetResolutionModeOverride(input.attributes) + ); + } + case 277 /* ExportAssignment */: { + if (isSourceFile(input.parent)) { + resultHasExternalModuleIndicator = true; + } + resultHasScopeMarker = true; + if (input.expression.kind === 80 /* Identifier */) { + return input; + } else { + const newId = factory2.createUniqueName("_default", 16 /* Optimistic */); + getSymbolAccessibilityDiagnostic = () => ({ + diagnosticMessage: Diagnostics.Default_export_of_the_module_has_or_is_using_private_name_0, + errorNode: input + }); + errorFallbackNode = input; + const type = ensureType(input); + const varDecl = factory2.createVariableDeclaration( + newId, + /*exclamationToken*/ + void 0, + type, + /*initializer*/ + void 0 + ); + errorFallbackNode = void 0; + const statement = factory2.createVariableStatement(needsDeclare ? [factory2.createModifier(138 /* DeclareKeyword */)] : [], factory2.createVariableDeclarationList([varDecl], 2 /* Const */)); + preserveJsDoc(statement, input); + removeAllComments(input); + return [statement, factory2.updateExportAssignment(input, input.modifiers, newId)]; + } + } + } + const result = transformTopLevelDeclaration(input); + lateStatementReplacementMap.set(getOriginalNodeId(input), result); + return input; + } + function stripExportModifiers(statement) { + if (isImportEqualsDeclaration(statement) || hasEffectiveModifier(statement, 2048 /* Default */) || !canHaveModifiers(statement)) { + return statement; + } + const modifiers = factory2.createModifiersFromModifierFlags(getEffectiveModifierFlags(statement) & (131071 /* All */ ^ 32 /* Export */)); + return factory2.replaceModifiers(statement, modifiers); + } + function updateModuleDeclarationAndKeyword(node, modifiers, name, body) { + const updated = factory2.updateModuleDeclaration(node, modifiers, name, body); + if (isAmbientModule(updated) || updated.flags & 32 /* Namespace */) { + return updated; + } + const fixed = factory2.createModuleDeclaration( + updated.modifiers, + updated.name, + updated.body, + updated.flags | 32 /* Namespace */ + ); + setOriginalNode(fixed, updated); + setTextRange(fixed, updated); + return fixed; + } + function transformTopLevelDeclaration(input) { + if (lateMarkedStatements) { + while (orderedRemoveItem(lateMarkedStatements, input)) ; + } + if (shouldStripInternal(input)) return; + switch (input.kind) { + case 271 /* ImportEqualsDeclaration */: { + return transformImportEqualsDeclaration(input); + } + case 272 /* ImportDeclaration */: { + return transformImportDeclaration(input); + } + } + if (isDeclaration(input) && isDeclarationAndNotVisible(input)) return; + if (isJSDocImportTag(input)) return; + if (isFunctionLike(input) && resolver.isImplementationOfOverload(input)) return; + let previousEnclosingDeclaration; + if (isEnclosingDeclaration(input)) { + previousEnclosingDeclaration = enclosingDeclaration; + enclosingDeclaration = input; + } + const canProdiceDiagnostic = canProduceDiagnostics(input); + const oldDiag = getSymbolAccessibilityDiagnostic; + if (canProdiceDiagnostic) { + getSymbolAccessibilityDiagnostic = createGetSymbolAccessibilityDiagnosticForNode(input); + } + const previousNeedsDeclare = needsDeclare; + switch (input.kind) { + case 265 /* TypeAliasDeclaration */: { + needsDeclare = false; + const clean2 = cleanup(factory2.updateTypeAliasDeclaration( + input, + ensureModifiers(input), + input.name, + visitNodes2(input.typeParameters, visitDeclarationSubtree, isTypeParameterDeclaration), + Debug.checkDefined(visitNode(input.type, visitDeclarationSubtree, isTypeNode)) + )); + needsDeclare = previousNeedsDeclare; + return clean2; + } + case 264 /* InterfaceDeclaration */: { + return cleanup(factory2.updateInterfaceDeclaration( + input, + ensureModifiers(input), + input.name, + ensureTypeParams(input, input.typeParameters), + transformHeritageClauses(input.heritageClauses), + visitNodes2(input.members, visitDeclarationSubtree, isTypeElement) + )); + } + case 262 /* FunctionDeclaration */: { + const clean2 = cleanup(factory2.updateFunctionDeclaration( + input, + ensureModifiers(input), + /*asteriskToken*/ + void 0, + input.name, + ensureTypeParams(input, input.typeParameters), + updateParamsList(input, input.parameters), + ensureType(input), + /*body*/ + void 0 + )); + if (clean2 && resolver.isExpandoFunctionDeclaration(input) && shouldEmitFunctionProperties(input)) { + const props = resolver.getPropertiesOfContainerFunction(input); + if (isolatedDeclarations) { + reportExpandoFunctionErrors(input); + } + const fakespace = parseNodeFactory.createModuleDeclaration( + /*modifiers*/ + void 0, + clean2.name || factory2.createIdentifier("_default"), + factory2.createModuleBlock([]), + 32 /* Namespace */ + ); + setParent(fakespace, enclosingDeclaration); + fakespace.locals = createSymbolTable(props); + fakespace.symbol = props[0].parent; + const exportMappings = []; + let declarations = mapDefined(props, (p) => { + if (!isExpandoPropertyDeclaration(p.valueDeclaration)) { + return void 0; + } + const nameStr = unescapeLeadingUnderscores(p.escapedName); + if (!isIdentifierText(nameStr, 99 /* ESNext */)) { + return void 0; + } + getSymbolAccessibilityDiagnostic = createGetSymbolAccessibilityDiagnosticForNode(p.valueDeclaration); + const type = resolver.createTypeOfDeclaration(p.valueDeclaration, fakespace, declarationEmitNodeBuilderFlags, declarationEmitInternalNodeBuilderFlags | 2 /* NoSyntacticPrinter */, symbolTracker); + getSymbolAccessibilityDiagnostic = oldDiag; + const isNonContextualKeywordName = isStringANonContextualKeyword(nameStr); + const name = isNonContextualKeywordName ? factory2.getGeneratedNameForNode(p.valueDeclaration) : factory2.createIdentifier(nameStr); + if (isNonContextualKeywordName) { + exportMappings.push([name, nameStr]); + } + const varDecl = factory2.createVariableDeclaration( + name, + /*exclamationToken*/ + void 0, + type, + /*initializer*/ + void 0 + ); + return factory2.createVariableStatement(isNonContextualKeywordName ? void 0 : [factory2.createToken(95 /* ExportKeyword */)], factory2.createVariableDeclarationList([varDecl])); + }); + if (!exportMappings.length) { + declarations = mapDefined(declarations, (declaration) => factory2.replaceModifiers(declaration, 0 /* None */)); + } else { + declarations.push(factory2.createExportDeclaration( + /*modifiers*/ + void 0, + /*isTypeOnly*/ + false, + factory2.createNamedExports(map(exportMappings, ([gen, exp]) => { + return factory2.createExportSpecifier( + /*isTypeOnly*/ + false, + gen, + exp + ); + })) + )); + } + const namespaceDecl = factory2.createModuleDeclaration(ensureModifiers(input), input.name, factory2.createModuleBlock(declarations), 32 /* Namespace */); + if (!hasEffectiveModifier(clean2, 2048 /* Default */)) { + return [clean2, namespaceDecl]; + } + const modifiers = factory2.createModifiersFromModifierFlags(getEffectiveModifierFlags(clean2) & ~2080 /* ExportDefault */ | 128 /* Ambient */); + const cleanDeclaration = factory2.updateFunctionDeclaration( + clean2, + modifiers, + /*asteriskToken*/ + void 0, + clean2.name, + clean2.typeParameters, + clean2.parameters, + clean2.type, + /*body*/ + void 0 + ); + const namespaceDeclaration = factory2.updateModuleDeclaration( + namespaceDecl, + modifiers, + namespaceDecl.name, + namespaceDecl.body + ); + const exportDefaultDeclaration = factory2.createExportAssignment( + /*modifiers*/ + void 0, + /*isExportEquals*/ + false, + namespaceDecl.name + ); + if (isSourceFile(input.parent)) { + resultHasExternalModuleIndicator = true; + } + resultHasScopeMarker = true; + return [cleanDeclaration, namespaceDeclaration, exportDefaultDeclaration]; + } else { + return clean2; + } + } + case 267 /* ModuleDeclaration */: { + needsDeclare = false; + const inner = input.body; + if (inner && inner.kind === 268 /* ModuleBlock */) { + const oldNeedsScopeFix = needsScopeFixMarker; + const oldHasScopeFix = resultHasScopeMarker; + resultHasScopeMarker = false; + needsScopeFixMarker = false; + const statements = visitNodes2(inner.statements, visitDeclarationStatements, isStatement); + let lateStatements = transformAndReplaceLatePaintedStatements(statements); + if (input.flags & 33554432 /* Ambient */) { + needsScopeFixMarker = false; + } + if (!isGlobalScopeAugmentation(input) && !hasScopeMarker2(lateStatements) && !resultHasScopeMarker) { + if (needsScopeFixMarker) { + lateStatements = factory2.createNodeArray([...lateStatements, createEmptyExports(factory2)]); + } else { + lateStatements = visitNodes2(lateStatements, stripExportModifiers, isStatement); + } + } + const body = factory2.updateModuleBlock(inner, lateStatements); + needsDeclare = previousNeedsDeclare; + needsScopeFixMarker = oldNeedsScopeFix; + resultHasScopeMarker = oldHasScopeFix; + const mods = ensureModifiers(input); + return cleanup(updateModuleDeclarationAndKeyword( + input, + mods, + isExternalModuleAugmentation(input) ? rewriteModuleSpecifier2(input, input.name) : input.name, + body + )); + } else { + needsDeclare = previousNeedsDeclare; + const mods = ensureModifiers(input); + needsDeclare = false; + visitNode(inner, visitDeclarationStatements); + const id = getOriginalNodeId(inner); + const body = lateStatementReplacementMap.get(id); + lateStatementReplacementMap.delete(id); + return cleanup(updateModuleDeclarationAndKeyword( + input, + mods, + input.name, + body + )); + } + } + case 263 /* ClassDeclaration */: { + errorNameNode = input.name; + errorFallbackNode = input; + const modifiers = factory2.createNodeArray(ensureModifiers(input)); + const typeParameters = ensureTypeParams(input, input.typeParameters); + const ctor = getFirstConstructorWithBody(input); + let parameterProperties; + if (ctor) { + const oldDiag2 = getSymbolAccessibilityDiagnostic; + parameterProperties = compact(flatMap(ctor.parameters, (param) => { + if (!hasSyntacticModifier(param, 31 /* ParameterPropertyModifier */) || shouldStripInternal(param)) return; + getSymbolAccessibilityDiagnostic = createGetSymbolAccessibilityDiagnosticForNode(param); + if (param.name.kind === 80 /* Identifier */) { + return preserveJsDoc( + factory2.createPropertyDeclaration( + ensureModifiers(param), + param.name, + param.questionToken, + ensureType(param), + ensureNoInitializer(param) + ), + param + ); + } else { + return walkBindingPattern(param.name); + } + function walkBindingPattern(pattern) { + let elems; + for (const elem of pattern.elements) { + if (isOmittedExpression(elem)) continue; + if (isBindingPattern(elem.name)) { + elems = concatenate(elems, walkBindingPattern(elem.name)); + } + elems = elems || []; + elems.push(factory2.createPropertyDeclaration( + ensureModifiers(param), + elem.name, + /*questionOrExclamationToken*/ + void 0, + ensureType(elem), + /*initializer*/ + void 0 + )); + } + return elems; + } + })); + getSymbolAccessibilityDiagnostic = oldDiag2; + } + const hasPrivateIdentifier = some(input.members, (member) => !!member.name && isPrivateIdentifier(member.name)); + const privateIdentifier = hasPrivateIdentifier ? [ + factory2.createPropertyDeclaration( + /*modifiers*/ + void 0, + factory2.createPrivateIdentifier("#private"), + /*questionOrExclamationToken*/ + void 0, + /*type*/ + void 0, + /*initializer*/ + void 0 + ) + ] : void 0; + const lateIndexes = resolver.createLateBoundIndexSignatures(input, enclosingDeclaration, declarationEmitNodeBuilderFlags, declarationEmitInternalNodeBuilderFlags, symbolTracker); + const memberNodes = concatenate(concatenate(concatenate(privateIdentifier, lateIndexes), parameterProperties), visitNodes2(input.members, visitDeclarationSubtree, isClassElement)); + const members = factory2.createNodeArray(memberNodes); + const extendsClause = getEffectiveBaseTypeNode(input); + if (extendsClause && !isEntityNameExpression(extendsClause.expression) && extendsClause.expression.kind !== 106 /* NullKeyword */) { + const oldId = input.name ? unescapeLeadingUnderscores(input.name.escapedText) : "default"; + const newId = factory2.createUniqueName(`${oldId}_base`, 16 /* Optimistic */); + getSymbolAccessibilityDiagnostic = () => ({ + diagnosticMessage: Diagnostics.extends_clause_of_exported_class_0_has_or_is_using_private_name_1, + errorNode: extendsClause, + typeName: input.name + }); + const varDecl = factory2.createVariableDeclaration( + newId, + /*exclamationToken*/ + void 0, + resolver.createTypeOfExpression(extendsClause.expression, input, declarationEmitNodeBuilderFlags, declarationEmitInternalNodeBuilderFlags, symbolTracker), + /*initializer*/ + void 0 + ); + const statement = factory2.createVariableStatement(needsDeclare ? [factory2.createModifier(138 /* DeclareKeyword */)] : [], factory2.createVariableDeclarationList([varDecl], 2 /* Const */)); + const heritageClauses = factory2.createNodeArray(map(input.heritageClauses, (clause) => { + if (clause.token === 96 /* ExtendsKeyword */) { + const oldDiag2 = getSymbolAccessibilityDiagnostic; + getSymbolAccessibilityDiagnostic = createGetSymbolAccessibilityDiagnosticForNode(clause.types[0]); + const newClause = factory2.updateHeritageClause(clause, map(clause.types, (t) => factory2.updateExpressionWithTypeArguments(t, newId, visitNodes2(t.typeArguments, visitDeclarationSubtree, isTypeNode)))); + getSymbolAccessibilityDiagnostic = oldDiag2; + return newClause; + } + return factory2.updateHeritageClause(clause, visitNodes2(factory2.createNodeArray(filter(clause.types, (t) => isEntityNameExpression(t.expression) || t.expression.kind === 106 /* NullKeyword */)), visitDeclarationSubtree, isExpressionWithTypeArguments)); + })); + return [ + statement, + cleanup(factory2.updateClassDeclaration( + input, + modifiers, + input.name, + typeParameters, + heritageClauses, + members + )) + ]; + } else { + const heritageClauses = transformHeritageClauses(input.heritageClauses); + return cleanup(factory2.updateClassDeclaration( + input, + modifiers, + input.name, + typeParameters, + heritageClauses, + members + )); + } + } + case 243 /* VariableStatement */: { + return cleanup(transformVariableStatement(input)); + } + case 266 /* EnumDeclaration */: { + return cleanup(factory2.updateEnumDeclaration( + input, + factory2.createNodeArray(ensureModifiers(input)), + input.name, + factory2.createNodeArray(mapDefined(input.members, (m) => { + if (shouldStripInternal(m)) return; + const enumValue = resolver.getEnumMemberValue(m); + const constValue = enumValue == null ? void 0 : enumValue.value; + if (isolatedDeclarations && m.initializer && (enumValue == null ? void 0 : enumValue.hasExternalReferences) && // This will be its own compiler error instead, so don't report. + !isComputedPropertyName(m.name)) { + context.addDiagnostic(createDiagnosticForNode(m, Diagnostics.Enum_member_initializers_must_be_computable_without_references_to_external_symbols_with_isolatedDeclarations)); + } + const newInitializer = constValue === void 0 ? void 0 : typeof constValue === "string" ? factory2.createStringLiteral(constValue) : constValue < 0 ? factory2.createPrefixUnaryExpression(41 /* MinusToken */, factory2.createNumericLiteral(-constValue)) : factory2.createNumericLiteral(constValue); + return preserveJsDoc(factory2.updateEnumMember(m, m.name, newInitializer), m); + })) + )); + } + } + return Debug.assertNever(input, `Unhandled top-level node in declaration emit: ${Debug.formatSyntaxKind(input.kind)}`); + function cleanup(node) { + if (isEnclosingDeclaration(input)) { + enclosingDeclaration = previousEnclosingDeclaration; + } + if (canProdiceDiagnostic) { + getSymbolAccessibilityDiagnostic = oldDiag; + } + if (input.kind === 267 /* ModuleDeclaration */) { + needsDeclare = previousNeedsDeclare; + } + if (node === input) { + return node; + } + errorFallbackNode = void 0; + errorNameNode = void 0; + return node && setOriginalNode(preserveJsDoc(node, input), input); + } + } + function transformVariableStatement(input) { + if (!forEach(input.declarationList.declarations, getBindingNameVisible)) return; + const nodes = visitNodes2(input.declarationList.declarations, visitDeclarationSubtree, isVariableDeclaration); + if (!length(nodes)) return; + const modifiers = factory2.createNodeArray(ensureModifiers(input)); + let declList; + if (isVarUsing(input.declarationList) || isVarAwaitUsing(input.declarationList)) { + declList = factory2.createVariableDeclarationList(nodes, 2 /* Const */); + setOriginalNode(declList, input.declarationList); + setTextRange(declList, input.declarationList); + setCommentRange(declList, input.declarationList); + } else { + declList = factory2.updateVariableDeclarationList(input.declarationList, nodes); + } + return factory2.updateVariableStatement(input, modifiers, declList); + } + function recreateBindingPattern(d) { + return flatten(mapDefined(d.elements, (e) => recreateBindingElement(e))); + } + function recreateBindingElement(e) { + if (e.kind === 232 /* OmittedExpression */) { + return; + } + if (e.name) { + if (!getBindingNameVisible(e)) return; + if (isBindingPattern(e.name)) { + return recreateBindingPattern(e.name); + } else { + return factory2.createVariableDeclaration( + e.name, + /*exclamationToken*/ + void 0, + ensureType(e), + /*initializer*/ + void 0 + ); + } + } + } + function checkName(node) { + let oldDiag; + if (!suppressNewDiagnosticContexts) { + oldDiag = getSymbolAccessibilityDiagnostic; + getSymbolAccessibilityDiagnostic = createGetSymbolAccessibilityDiagnosticForNodeName(node); + } + errorNameNode = node.name; + Debug.assert(hasDynamicName(node)); + const decl = node; + const entityName = decl.name.expression; + checkEntityNameVisibility(entityName, enclosingDeclaration); + if (!suppressNewDiagnosticContexts) { + getSymbolAccessibilityDiagnostic = oldDiag; + } + errorNameNode = void 0; + } + function shouldStripInternal(node) { + return !!stripInternal && !!node && isInternalDeclaration(node, currentSourceFile); + } + function isScopeMarker2(node) { + return isExportAssignment(node) || isExportDeclaration(node); + } + function hasScopeMarker2(statements) { + return some(statements, isScopeMarker2); + } + function ensureModifiers(node) { + const currentFlags = getEffectiveModifierFlags(node); + const newFlags = ensureModifierFlags(node); + if (currentFlags === newFlags) { + return visitArray(node.modifiers, (n) => tryCast(n, isModifier), isModifier); + } + return factory2.createModifiersFromModifierFlags(newFlags); + } + function ensureModifierFlags(node) { + let mask = 131071 /* All */ ^ (1 /* Public */ | 1024 /* Async */ | 16 /* Override */); + let additions = needsDeclare && !isAlwaysType(node) ? 128 /* Ambient */ : 0 /* None */; + const parentIsFile = node.parent.kind === 307 /* SourceFile */; + if (!parentIsFile || isBundledEmit && parentIsFile && isExternalModule(node.parent)) { + mask ^= 128 /* Ambient */; + additions = 0 /* None */; + } + return maskModifierFlags(node, mask, additions); + } + function transformHeritageClauses(nodes) { + return factory2.createNodeArray(filter( + map(nodes, (clause) => factory2.updateHeritageClause( + clause, + visitNodes2( + factory2.createNodeArray(filter(clause.types, (t) => { + return isEntityNameExpression(t.expression) || clause.token === 96 /* ExtendsKeyword */ && t.expression.kind === 106 /* NullKeyword */; + })), + visitDeclarationSubtree, + isExpressionWithTypeArguments + ) + )), + (clause) => clause.types && !!clause.types.length + )); + } +} +function isAlwaysType(node) { + if (node.kind === 264 /* InterfaceDeclaration */) { + return true; + } + return false; +} +function maskModifiers(factory2, node, modifierMask, modifierAdditions) { + return factory2.createModifiersFromModifierFlags(maskModifierFlags(node, modifierMask, modifierAdditions)); +} +function maskModifierFlags(node, modifierMask = 131071 /* All */ ^ 1 /* Public */, modifierAdditions = 0 /* None */) { + let flags = getEffectiveModifierFlags(node) & modifierMask | modifierAdditions; + if (flags & 2048 /* Default */ && !(flags & 32 /* Export */)) { + flags ^= 32 /* Export */; + } + if (flags & 2048 /* Default */ && flags & 128 /* Ambient */) { + flags ^= 128 /* Ambient */; + } + return flags; +} +function canHaveLiteralInitializer(node) { + switch (node.kind) { + case 172 /* PropertyDeclaration */: + case 171 /* PropertySignature */: + return !hasEffectiveModifier(node, 2 /* Private */); + case 169 /* Parameter */: + case 260 /* VariableDeclaration */: + return true; + } + return false; +} +function isPreservedDeclarationStatement(node) { + switch (node.kind) { + case 262 /* FunctionDeclaration */: + case 267 /* ModuleDeclaration */: + case 271 /* ImportEqualsDeclaration */: + case 264 /* InterfaceDeclaration */: + case 263 /* ClassDeclaration */: + case 265 /* TypeAliasDeclaration */: + case 266 /* EnumDeclaration */: + case 243 /* VariableStatement */: + case 272 /* ImportDeclaration */: + case 278 /* ExportDeclaration */: + case 277 /* ExportAssignment */: + return true; + } + return false; +} +function isProcessedComponent(node) { + switch (node.kind) { + case 180 /* ConstructSignature */: + case 176 /* Constructor */: + case 174 /* MethodDeclaration */: + case 177 /* GetAccessor */: + case 178 /* SetAccessor */: + case 172 /* PropertyDeclaration */: + case 171 /* PropertySignature */: + case 173 /* MethodSignature */: + case 179 /* CallSignature */: + case 181 /* IndexSignature */: + case 260 /* VariableDeclaration */: + case 168 /* TypeParameter */: + case 233 /* ExpressionWithTypeArguments */: + case 183 /* TypeReference */: + case 194 /* ConditionalType */: + case 184 /* FunctionType */: + case 185 /* ConstructorType */: + case 205 /* ImportType */: + return true; + } + return false; +} + +// src/compiler/transformer.ts +function getModuleTransformer(moduleKind) { + switch (moduleKind) { + case 200 /* Preserve */: + return transformECMAScriptModule; + case 99 /* ESNext */: + case 7 /* ES2022 */: + case 6 /* ES2020 */: + case 5 /* ES2015 */: + case 100 /* Node16 */: + case 199 /* NodeNext */: + case 1 /* CommonJS */: + return transformImpliedNodeFormatDependentModule; + case 4 /* System */: + return transformSystemModule; + default: + return transformModule; + } +} +var noTransformers = { scriptTransformers: emptyArray, declarationTransformers: emptyArray }; +function getTransformers(compilerOptions, customTransformers, emitOnly) { + return { + scriptTransformers: getScriptTransformers(compilerOptions, customTransformers, emitOnly), + declarationTransformers: getDeclarationTransformers(customTransformers) + }; +} +function getScriptTransformers(compilerOptions, customTransformers, emitOnly) { + if (emitOnly) return emptyArray; + const languageVersion = getEmitScriptTarget(compilerOptions); + const moduleKind = getEmitModuleKind(compilerOptions); + const useDefineForClassFields = getUseDefineForClassFields(compilerOptions); + const transformers = []; + addRange(transformers, customTransformers && map(customTransformers.before, wrapScriptTransformerFactory)); + transformers.push(transformTypeScript); + if (compilerOptions.experimentalDecorators) { + transformers.push(transformLegacyDecorators); + } + if (getJSXTransformEnabled(compilerOptions)) { + transformers.push(transformJsx); + } + if (languageVersion < 99 /* ESNext */) { + transformers.push(transformESNext); + } + if (!compilerOptions.experimentalDecorators && (languageVersion < 99 /* ESNext */ || !useDefineForClassFields)) { + transformers.push(transformESDecorators); + } + transformers.push(transformClassFields); + if (languageVersion < 8 /* ES2021 */) { + transformers.push(transformES2021); + } + if (languageVersion < 7 /* ES2020 */) { + transformers.push(transformES2020); + } + if (languageVersion < 6 /* ES2019 */) { + transformers.push(transformES2019); + } + if (languageVersion < 5 /* ES2018 */) { + transformers.push(transformES2018); + } + if (languageVersion < 4 /* ES2017 */) { + transformers.push(transformES2017); + } + if (languageVersion < 3 /* ES2016 */) { + transformers.push(transformES2016); + } + if (languageVersion < 2 /* ES2015 */) { + transformers.push(transformES2015); + transformers.push(transformGenerators); + } + transformers.push(getModuleTransformer(moduleKind)); + addRange(transformers, customTransformers && map(customTransformers.after, wrapScriptTransformerFactory)); + return transformers; +} +function getDeclarationTransformers(customTransformers) { + const transformers = []; + transformers.push(transformDeclarations); + addRange(transformers, customTransformers && map(customTransformers.afterDeclarations, wrapDeclarationTransformerFactory)); + return transformers; +} +function wrapCustomTransformer(transformer) { + return (node) => isBundle(node) ? transformer.transformBundle(node) : transformer.transformSourceFile(node); +} +function wrapCustomTransformerFactory(transformer, handleDefault) { + return (context) => { + const customTransformer = transformer(context); + return typeof customTransformer === "function" ? handleDefault(context, customTransformer) : wrapCustomTransformer(customTransformer); + }; +} +function wrapScriptTransformerFactory(transformer) { + return wrapCustomTransformerFactory(transformer, chainBundle); +} +function wrapDeclarationTransformerFactory(transformer) { + return wrapCustomTransformerFactory(transformer, (_, node) => node); +} +function noEmitSubstitution(_hint, node) { + return node; +} +function noEmitNotification(hint, node, callback) { + callback(hint, node); +} +function transformNodes(resolver, host, factory2, options, nodes, transformers, allowDtsFiles) { + var _a, _b; + const enabledSyntaxKindFeatures = new Array(358 /* Count */); + let lexicalEnvironmentVariableDeclarations; + let lexicalEnvironmentFunctionDeclarations; + let lexicalEnvironmentStatements; + let lexicalEnvironmentFlags = 0 /* None */; + let lexicalEnvironmentVariableDeclarationsStack = []; + let lexicalEnvironmentFunctionDeclarationsStack = []; + let lexicalEnvironmentStatementsStack = []; + let lexicalEnvironmentFlagsStack = []; + let lexicalEnvironmentStackOffset = 0; + let lexicalEnvironmentSuspended = false; + let blockScopedVariableDeclarationsStack = []; + let blockScopeStackOffset = 0; + let blockScopedVariableDeclarations; + let emitHelpers; + let onSubstituteNode = noEmitSubstitution; + let onEmitNode = noEmitNotification; + let state = 0 /* Uninitialized */; + const diagnostics = []; + const context = { + factory: factory2, + getCompilerOptions: () => options, + getEmitResolver: () => resolver, + // TODO: GH#18217 + getEmitHost: () => host, + // TODO: GH#18217 + getEmitHelperFactory: memoize(() => createEmitHelperFactory(context)), + startLexicalEnvironment, + suspendLexicalEnvironment, + resumeLexicalEnvironment, + endLexicalEnvironment, + setLexicalEnvironmentFlags, + getLexicalEnvironmentFlags, + hoistVariableDeclaration, + hoistFunctionDeclaration, + addInitializationStatement, + startBlockScope, + endBlockScope, + addBlockScopedVariable, + requestEmitHelper, + readEmitHelpers, + enableSubstitution, + enableEmitNotification, + isSubstitutionEnabled, + isEmitNotificationEnabled, + get onSubstituteNode() { + return onSubstituteNode; + }, + set onSubstituteNode(value) { + Debug.assert(state < 1 /* Initialized */, "Cannot modify transformation hooks after initialization has completed."); + Debug.assert(value !== void 0, "Value must not be 'undefined'"); + onSubstituteNode = value; + }, + get onEmitNode() { + return onEmitNode; + }, + set onEmitNode(value) { + Debug.assert(state < 1 /* Initialized */, "Cannot modify transformation hooks after initialization has completed."); + Debug.assert(value !== void 0, "Value must not be 'undefined'"); + onEmitNode = value; + }, + addDiagnostic(diag2) { + diagnostics.push(diag2); + } + }; + for (const node of nodes) { + disposeEmitNodes(getSourceFileOfNode(getParseTreeNode(node))); + } + mark("beforeTransform"); + const transformersWithContext = transformers.map((t) => t(context)); + const transformation = (node) => { + for (const transform of transformersWithContext) { + node = transform(node); + } + return node; + }; + state = 1 /* Initialized */; + const transformed = []; + for (const node of nodes) { + (_a = tracing) == null ? void 0 : _a.push(tracing.Phase.Emit, "transformNodes", node.kind === 307 /* SourceFile */ ? { path: node.path } : { kind: node.kind, pos: node.pos, end: node.end }); + transformed.push((allowDtsFiles ? transformation : transformRoot)(node)); + (_b = tracing) == null ? void 0 : _b.pop(); + } + state = 2 /* Completed */; + mark("afterTransform"); + measure("transformTime", "beforeTransform", "afterTransform"); + return { + transformed, + substituteNode, + emitNodeWithNotification, + isEmitNotificationEnabled, + dispose, + diagnostics + }; + function transformRoot(node) { + return node && (!isSourceFile(node) || !node.isDeclarationFile) ? transformation(node) : node; + } + function enableSubstitution(kind) { + Debug.assert(state < 2 /* Completed */, "Cannot modify the transformation context after transformation has completed."); + enabledSyntaxKindFeatures[kind] |= 1 /* Substitution */; + } + function isSubstitutionEnabled(node) { + return (enabledSyntaxKindFeatures[node.kind] & 1 /* Substitution */) !== 0 && (getEmitFlags(node) & 8 /* NoSubstitution */) === 0; + } + function substituteNode(hint, node) { + Debug.assert(state < 3 /* Disposed */, "Cannot substitute a node after the result is disposed."); + return node && isSubstitutionEnabled(node) && onSubstituteNode(hint, node) || node; + } + function enableEmitNotification(kind) { + Debug.assert(state < 2 /* Completed */, "Cannot modify the transformation context after transformation has completed."); + enabledSyntaxKindFeatures[kind] |= 2 /* EmitNotifications */; + } + function isEmitNotificationEnabled(node) { + return (enabledSyntaxKindFeatures[node.kind] & 2 /* EmitNotifications */) !== 0 || (getEmitFlags(node) & 4 /* AdviseOnEmitNode */) !== 0; + } + function emitNodeWithNotification(hint, node, emitCallback) { + Debug.assert(state < 3 /* Disposed */, "Cannot invoke TransformationResult callbacks after the result is disposed."); + if (node) { + if (isEmitNotificationEnabled(node)) { + onEmitNode(hint, node, emitCallback); + } else { + emitCallback(hint, node); + } + } + } + function hoistVariableDeclaration(name) { + Debug.assert(state > 0 /* Uninitialized */, "Cannot modify the lexical environment during initialization."); + Debug.assert(state < 2 /* Completed */, "Cannot modify the lexical environment after transformation has completed."); + const decl = setEmitFlags(factory2.createVariableDeclaration(name), 128 /* NoNestedSourceMaps */); + if (!lexicalEnvironmentVariableDeclarations) { + lexicalEnvironmentVariableDeclarations = [decl]; + } else { + lexicalEnvironmentVariableDeclarations.push(decl); + } + if (lexicalEnvironmentFlags & 1 /* InParameters */) { + lexicalEnvironmentFlags |= 2 /* VariablesHoistedInParameters */; + } + } + function hoistFunctionDeclaration(func) { + Debug.assert(state > 0 /* Uninitialized */, "Cannot modify the lexical environment during initialization."); + Debug.assert(state < 2 /* Completed */, "Cannot modify the lexical environment after transformation has completed."); + setEmitFlags(func, 2097152 /* CustomPrologue */); + if (!lexicalEnvironmentFunctionDeclarations) { + lexicalEnvironmentFunctionDeclarations = [func]; + } else { + lexicalEnvironmentFunctionDeclarations.push(func); + } + } + function addInitializationStatement(node) { + Debug.assert(state > 0 /* Uninitialized */, "Cannot modify the lexical environment during initialization."); + Debug.assert(state < 2 /* Completed */, "Cannot modify the lexical environment after transformation has completed."); + setEmitFlags(node, 2097152 /* CustomPrologue */); + if (!lexicalEnvironmentStatements) { + lexicalEnvironmentStatements = [node]; + } else { + lexicalEnvironmentStatements.push(node); + } + } + function startLexicalEnvironment() { + Debug.assert(state > 0 /* Uninitialized */, "Cannot modify the lexical environment during initialization."); + Debug.assert(state < 2 /* Completed */, "Cannot modify the lexical environment after transformation has completed."); + Debug.assert(!lexicalEnvironmentSuspended, "Lexical environment is suspended."); + lexicalEnvironmentVariableDeclarationsStack[lexicalEnvironmentStackOffset] = lexicalEnvironmentVariableDeclarations; + lexicalEnvironmentFunctionDeclarationsStack[lexicalEnvironmentStackOffset] = lexicalEnvironmentFunctionDeclarations; + lexicalEnvironmentStatementsStack[lexicalEnvironmentStackOffset] = lexicalEnvironmentStatements; + lexicalEnvironmentFlagsStack[lexicalEnvironmentStackOffset] = lexicalEnvironmentFlags; + lexicalEnvironmentStackOffset++; + lexicalEnvironmentVariableDeclarations = void 0; + lexicalEnvironmentFunctionDeclarations = void 0; + lexicalEnvironmentStatements = void 0; + lexicalEnvironmentFlags = 0 /* None */; + } + function suspendLexicalEnvironment() { + Debug.assert(state > 0 /* Uninitialized */, "Cannot modify the lexical environment during initialization."); + Debug.assert(state < 2 /* Completed */, "Cannot modify the lexical environment after transformation has completed."); + Debug.assert(!lexicalEnvironmentSuspended, "Lexical environment is already suspended."); + lexicalEnvironmentSuspended = true; + } + function resumeLexicalEnvironment() { + Debug.assert(state > 0 /* Uninitialized */, "Cannot modify the lexical environment during initialization."); + Debug.assert(state < 2 /* Completed */, "Cannot modify the lexical environment after transformation has completed."); + Debug.assert(lexicalEnvironmentSuspended, "Lexical environment is not suspended."); + lexicalEnvironmentSuspended = false; + } + function endLexicalEnvironment() { + Debug.assert(state > 0 /* Uninitialized */, "Cannot modify the lexical environment during initialization."); + Debug.assert(state < 2 /* Completed */, "Cannot modify the lexical environment after transformation has completed."); + Debug.assert(!lexicalEnvironmentSuspended, "Lexical environment is suspended."); + let statements; + if (lexicalEnvironmentVariableDeclarations || lexicalEnvironmentFunctionDeclarations || lexicalEnvironmentStatements) { + if (lexicalEnvironmentFunctionDeclarations) { + statements = [...lexicalEnvironmentFunctionDeclarations]; + } + if (lexicalEnvironmentVariableDeclarations) { + const statement = factory2.createVariableStatement( + /*modifiers*/ + void 0, + factory2.createVariableDeclarationList(lexicalEnvironmentVariableDeclarations) + ); + setEmitFlags(statement, 2097152 /* CustomPrologue */); + if (!statements) { + statements = [statement]; + } else { + statements.push(statement); + } + } + if (lexicalEnvironmentStatements) { + if (!statements) { + statements = [...lexicalEnvironmentStatements]; + } else { + statements = [...statements, ...lexicalEnvironmentStatements]; + } + } + } + lexicalEnvironmentStackOffset--; + lexicalEnvironmentVariableDeclarations = lexicalEnvironmentVariableDeclarationsStack[lexicalEnvironmentStackOffset]; + lexicalEnvironmentFunctionDeclarations = lexicalEnvironmentFunctionDeclarationsStack[lexicalEnvironmentStackOffset]; + lexicalEnvironmentStatements = lexicalEnvironmentStatementsStack[lexicalEnvironmentStackOffset]; + lexicalEnvironmentFlags = lexicalEnvironmentFlagsStack[lexicalEnvironmentStackOffset]; + if (lexicalEnvironmentStackOffset === 0) { + lexicalEnvironmentVariableDeclarationsStack = []; + lexicalEnvironmentFunctionDeclarationsStack = []; + lexicalEnvironmentStatementsStack = []; + lexicalEnvironmentFlagsStack = []; + } + return statements; + } + function setLexicalEnvironmentFlags(flags, value) { + lexicalEnvironmentFlags = value ? lexicalEnvironmentFlags | flags : lexicalEnvironmentFlags & ~flags; + } + function getLexicalEnvironmentFlags() { + return lexicalEnvironmentFlags; + } + function startBlockScope() { + Debug.assert(state > 0 /* Uninitialized */, "Cannot start a block scope during initialization."); + Debug.assert(state < 2 /* Completed */, "Cannot start a block scope after transformation has completed."); + blockScopedVariableDeclarationsStack[blockScopeStackOffset] = blockScopedVariableDeclarations; + blockScopeStackOffset++; + blockScopedVariableDeclarations = void 0; + } + function endBlockScope() { + Debug.assert(state > 0 /* Uninitialized */, "Cannot end a block scope during initialization."); + Debug.assert(state < 2 /* Completed */, "Cannot end a block scope after transformation has completed."); + const statements = some(blockScopedVariableDeclarations) ? [ + factory2.createVariableStatement( + /*modifiers*/ + void 0, + factory2.createVariableDeclarationList( + blockScopedVariableDeclarations.map((identifier) => factory2.createVariableDeclaration(identifier)), + 1 /* Let */ + ) + ) + ] : void 0; + blockScopeStackOffset--; + blockScopedVariableDeclarations = blockScopedVariableDeclarationsStack[blockScopeStackOffset]; + if (blockScopeStackOffset === 0) { + blockScopedVariableDeclarationsStack = []; + } + return statements; + } + function addBlockScopedVariable(name) { + Debug.assert(blockScopeStackOffset > 0, "Cannot add a block scoped variable outside of an iteration body."); + (blockScopedVariableDeclarations || (blockScopedVariableDeclarations = [])).push(name); + } + function requestEmitHelper(helper) { + Debug.assert(state > 0 /* Uninitialized */, "Cannot modify the transformation context during initialization."); + Debug.assert(state < 2 /* Completed */, "Cannot modify the transformation context after transformation has completed."); + Debug.assert(!helper.scoped, "Cannot request a scoped emit helper."); + if (helper.dependencies) { + for (const h of helper.dependencies) { + requestEmitHelper(h); + } + } + emitHelpers = append(emitHelpers, helper); + } + function readEmitHelpers() { + Debug.assert(state > 0 /* Uninitialized */, "Cannot modify the transformation context during initialization."); + Debug.assert(state < 2 /* Completed */, "Cannot modify the transformation context after transformation has completed."); + const helpers = emitHelpers; + emitHelpers = void 0; + return helpers; + } + function dispose() { + if (state < 3 /* Disposed */) { + for (const node of nodes) { + disposeEmitNodes(getSourceFileOfNode(getParseTreeNode(node))); + } + lexicalEnvironmentVariableDeclarations = void 0; + lexicalEnvironmentVariableDeclarationsStack = void 0; + lexicalEnvironmentFunctionDeclarations = void 0; + lexicalEnvironmentFunctionDeclarationsStack = void 0; + onSubstituteNode = void 0; + onEmitNode = void 0; + emitHelpers = void 0; + state = 3 /* Disposed */; + } + } +} +var nullTransformationContext = { + factory, + // eslint-disable-line object-shorthand + getCompilerOptions: () => ({}), + getEmitResolver: notImplemented, + getEmitHost: notImplemented, + getEmitHelperFactory: notImplemented, + startLexicalEnvironment: noop, + resumeLexicalEnvironment: noop, + suspendLexicalEnvironment: noop, + endLexicalEnvironment: returnUndefined, + setLexicalEnvironmentFlags: noop, + getLexicalEnvironmentFlags: () => 0, + hoistVariableDeclaration: noop, + hoistFunctionDeclaration: noop, + addInitializationStatement: noop, + startBlockScope: noop, + endBlockScope: returnUndefined, + addBlockScopedVariable: noop, + requestEmitHelper: noop, + readEmitHelpers: notImplemented, + enableSubstitution: noop, + enableEmitNotification: noop, + isSubstitutionEnabled: notImplemented, + isEmitNotificationEnabled: notImplemented, + onSubstituteNode: noEmitSubstitution, + onEmitNode: noEmitNotification, + addDiagnostic: noop +}; + +// src/compiler/emitter.ts +var brackets = createBracketsMap(); +function isBuildInfoFile(file) { + return fileExtensionIs(file, ".tsbuildinfo" /* TsBuildInfo */); +} +function forEachEmittedFile(host, action, sourceFilesOrTargetSourceFile, forceDtsEmit = false, onlyBuildInfo, includeBuildInfo) { + const sourceFiles = isArray(sourceFilesOrTargetSourceFile) ? sourceFilesOrTargetSourceFile : getSourceFilesToEmit(host, sourceFilesOrTargetSourceFile, forceDtsEmit); + const options = host.getCompilerOptions(); + if (!onlyBuildInfo) { + if (options.outFile) { + if (sourceFiles.length) { + const bundle = factory.createBundle(sourceFiles); + const result = action(getOutputPathsFor(bundle, host, forceDtsEmit), bundle); + if (result) { + return result; + } + } + } else { + for (const sourceFile of sourceFiles) { + const result = action(getOutputPathsFor(sourceFile, host, forceDtsEmit), sourceFile); + if (result) { + return result; + } + } + } + } + if (includeBuildInfo) { + const buildInfoPath = getTsBuildInfoEmitOutputFilePath(options); + if (buildInfoPath) return action( + { buildInfoPath }, + /*sourceFileOrBundle*/ + void 0 + ); + } +} +function getTsBuildInfoEmitOutputFilePath(options) { + const configFile = options.configFilePath; + if (!canEmitTsBuildInfo(options)) return void 0; + if (options.tsBuildInfoFile) return options.tsBuildInfoFile; + const outPath = options.outFile; + let buildInfoExtensionLess; + if (outPath) { + buildInfoExtensionLess = removeFileExtension(outPath); + } else { + if (!configFile) return void 0; + const configFileExtensionLess = removeFileExtension(configFile); + buildInfoExtensionLess = options.outDir ? options.rootDir ? resolvePath(options.outDir, getRelativePathFromDirectory( + options.rootDir, + configFileExtensionLess, + /*ignoreCase*/ + true + )) : combinePaths(options.outDir, getBaseFileName(configFileExtensionLess)) : configFileExtensionLess; + } + return buildInfoExtensionLess + ".tsbuildinfo" /* TsBuildInfo */; +} +function canEmitTsBuildInfo(options) { + return isIncrementalCompilation(options) || !!options.tscBuild; +} +function getOutputPathsForBundle(options, forceDtsPaths) { + const outPath = options.outFile; + const jsFilePath = options.emitDeclarationOnly ? void 0 : outPath; + const sourceMapFilePath = jsFilePath && getSourceMapFilePath(jsFilePath, options); + const declarationFilePath = forceDtsPaths || getEmitDeclarations(options) ? removeFileExtension(outPath) + ".d.ts" /* Dts */ : void 0; + const declarationMapPath = declarationFilePath && getAreDeclarationMapsEnabled(options) ? declarationFilePath + ".map" : void 0; + return { jsFilePath, sourceMapFilePath, declarationFilePath, declarationMapPath }; +} +function getOutputPathsFor(sourceFile, host, forceDtsPaths) { + const options = host.getCompilerOptions(); + if (sourceFile.kind === 308 /* Bundle */) { + return getOutputPathsForBundle(options, forceDtsPaths); + } else { + const ownOutputFilePath = getOwnEmitOutputFilePath(sourceFile.fileName, host, getOutputExtension(sourceFile.fileName, options)); + const isJsonFile = isJsonSourceFile(sourceFile); + const isJsonEmittedToSameLocation = isJsonFile && comparePaths(sourceFile.fileName, ownOutputFilePath, host.getCurrentDirectory(), !host.useCaseSensitiveFileNames()) === 0 /* EqualTo */; + const jsFilePath = options.emitDeclarationOnly || isJsonEmittedToSameLocation ? void 0 : ownOutputFilePath; + const sourceMapFilePath = !jsFilePath || isJsonSourceFile(sourceFile) ? void 0 : getSourceMapFilePath(jsFilePath, options); + const declarationFilePath = forceDtsPaths || getEmitDeclarations(options) && !isJsonFile ? getDeclarationEmitOutputFilePath(sourceFile.fileName, host) : void 0; + const declarationMapPath = declarationFilePath && getAreDeclarationMapsEnabled(options) ? declarationFilePath + ".map" : void 0; + return { jsFilePath, sourceMapFilePath, declarationFilePath, declarationMapPath }; + } +} +function getSourceMapFilePath(jsFilePath, options) { + return options.sourceMap && !options.inlineSourceMap ? jsFilePath + ".map" : void 0; +} +function getOutputExtension(fileName, options) { + return fileExtensionIs(fileName, ".json" /* Json */) ? ".json" /* Json */ : options.jsx === 1 /* Preserve */ && fileExtensionIsOneOf(fileName, [".jsx" /* Jsx */, ".tsx" /* Tsx */]) ? ".jsx" /* Jsx */ : fileExtensionIsOneOf(fileName, [".mts" /* Mts */, ".mjs" /* Mjs */]) ? ".mjs" /* Mjs */ : fileExtensionIsOneOf(fileName, [".cts" /* Cts */, ".cjs" /* Cjs */]) ? ".cjs" /* Cjs */ : ".js" /* Js */; +} +function getOutputPathWithoutChangingExt(inputFileName, ignoreCase, outputDir, getCommonSourceDirectory2) { + return outputDir ? resolvePath( + outputDir, + getRelativePathFromDirectory(getCommonSourceDirectory2(), inputFileName, ignoreCase) + ) : inputFileName; +} +function getOutputDeclarationFileName(inputFileName, configFile, ignoreCase, getCommonSourceDirectory2 = () => getCommonSourceDirectoryOfConfig(configFile, ignoreCase)) { + return getOutputDeclarationFileNameWorker(inputFileName, configFile.options, ignoreCase, getCommonSourceDirectory2); +} +function getOutputDeclarationFileNameWorker(inputFileName, options, ignoreCase, getCommonSourceDirectory2) { + return changeExtension( + getOutputPathWithoutChangingExt(inputFileName, ignoreCase, options.declarationDir || options.outDir, getCommonSourceDirectory2), + getDeclarationEmitExtensionForPath(inputFileName) + ); +} +function getOutputJSFileName(inputFileName, configFile, ignoreCase, getCommonSourceDirectory2 = () => getCommonSourceDirectoryOfConfig(configFile, ignoreCase)) { + if (configFile.options.emitDeclarationOnly) return void 0; + const isJsonFile = fileExtensionIs(inputFileName, ".json" /* Json */); + const outputFileName = getOutputJSFileNameWorker(inputFileName, configFile.options, ignoreCase, getCommonSourceDirectory2); + return !isJsonFile || comparePaths(inputFileName, outputFileName, Debug.checkDefined(configFile.options.configFilePath), ignoreCase) !== 0 /* EqualTo */ ? outputFileName : void 0; +} +function getOutputJSFileNameWorker(inputFileName, options, ignoreCase, getCommonSourceDirectory2) { + return changeExtension( + getOutputPathWithoutChangingExt(inputFileName, ignoreCase, options.outDir, getCommonSourceDirectory2), + getOutputExtension(inputFileName, options) + ); +} +function createAddOutput() { + let outputs; + return { addOutput, getOutputs }; + function addOutput(path) { + if (path) { + (outputs || (outputs = [])).push(path); + } + } + function getOutputs() { + return outputs || emptyArray; + } +} +function getSingleOutputFileNames(configFile, addOutput) { + const { jsFilePath, sourceMapFilePath, declarationFilePath, declarationMapPath } = getOutputPathsForBundle( + configFile.options, + /*forceDtsPaths*/ + false + ); + addOutput(jsFilePath); + addOutput(sourceMapFilePath); + addOutput(declarationFilePath); + addOutput(declarationMapPath); +} +function getOwnOutputFileNames(configFile, inputFileName, ignoreCase, addOutput, getCommonSourceDirectory2) { + if (isDeclarationFileName(inputFileName)) return; + const js = getOutputJSFileName(inputFileName, configFile, ignoreCase, getCommonSourceDirectory2); + addOutput(js); + if (fileExtensionIs(inputFileName, ".json" /* Json */)) return; + if (js && configFile.options.sourceMap) { + addOutput(`${js}.map`); + } + if (getEmitDeclarations(configFile.options)) { + const dts = getOutputDeclarationFileName(inputFileName, configFile, ignoreCase, getCommonSourceDirectory2); + addOutput(dts); + if (configFile.options.declarationMap) { + addOutput(`${dts}.map`); + } + } +} +function getCommonSourceDirectory(options, emittedFiles, currentDirectory, getCanonicalFileName, checkSourceFilesBelongToPath) { + let commonSourceDirectory; + if (options.rootDir) { + commonSourceDirectory = getNormalizedAbsolutePath(options.rootDir, currentDirectory); + checkSourceFilesBelongToPath == null ? void 0 : checkSourceFilesBelongToPath(options.rootDir); + } else if (options.composite && options.configFilePath) { + commonSourceDirectory = getDirectoryPath(normalizeSlashes(options.configFilePath)); + checkSourceFilesBelongToPath == null ? void 0 : checkSourceFilesBelongToPath(commonSourceDirectory); + } else { + commonSourceDirectory = computeCommonSourceDirectoryOfFilenames(emittedFiles(), currentDirectory, getCanonicalFileName); + } + if (commonSourceDirectory && commonSourceDirectory[commonSourceDirectory.length - 1] !== directorySeparator) { + commonSourceDirectory += directorySeparator; + } + return commonSourceDirectory; +} +function getCommonSourceDirectoryOfConfig({ options, fileNames }, ignoreCase) { + return getCommonSourceDirectory( + options, + () => filter(fileNames, (file) => !(options.noEmitForJsFiles && fileExtensionIsOneOf(file, supportedJSExtensionsFlat)) && !isDeclarationFileName(file)), + getDirectoryPath(normalizeSlashes(Debug.checkDefined(options.configFilePath))), + createGetCanonicalFileName(!ignoreCase) + ); +} +function getAllProjectOutputs(configFile, ignoreCase) { + const { addOutput, getOutputs } = createAddOutput(); + if (configFile.options.outFile) { + getSingleOutputFileNames(configFile, addOutput); + } else { + const getCommonSourceDirectory2 = memoize(() => getCommonSourceDirectoryOfConfig(configFile, ignoreCase)); + for (const inputFileName of configFile.fileNames) { + getOwnOutputFileNames(configFile, inputFileName, ignoreCase, addOutput, getCommonSourceDirectory2); + } + } + addOutput(getTsBuildInfoEmitOutputFilePath(configFile.options)); + return getOutputs(); +} +function getFirstProjectOutput(configFile, ignoreCase) { + if (configFile.options.outFile) { + const { jsFilePath, declarationFilePath } = getOutputPathsForBundle( + configFile.options, + /*forceDtsPaths*/ + false + ); + return Debug.checkDefined(jsFilePath || declarationFilePath, `project ${configFile.options.configFilePath} expected to have at least one output`); + } + const getCommonSourceDirectory2 = memoize(() => getCommonSourceDirectoryOfConfig(configFile, ignoreCase)); + for (const inputFileName of configFile.fileNames) { + if (isDeclarationFileName(inputFileName)) continue; + const jsFilePath = getOutputJSFileName(inputFileName, configFile, ignoreCase, getCommonSourceDirectory2); + if (jsFilePath) return jsFilePath; + if (fileExtensionIs(inputFileName, ".json" /* Json */)) continue; + if (getEmitDeclarations(configFile.options)) { + return getOutputDeclarationFileName(inputFileName, configFile, ignoreCase, getCommonSourceDirectory2); + } + } + const buildInfoPath = getTsBuildInfoEmitOutputFilePath(configFile.options); + if (buildInfoPath) return buildInfoPath; + return Debug.fail(`project ${configFile.options.configFilePath} expected to have at least one output`); +} +function emitResolverSkipsTypeChecking(emitOnly, forceDtsEmit) { + return !!forceDtsEmit && !!emitOnly; +} +function emitFiles(resolver, host, targetSourceFile, { scriptTransformers, declarationTransformers }, emitOnly, onlyBuildInfo, forceDtsEmit, skipBuildInfo) { + var compilerOptions = host.getCompilerOptions(); + var sourceMapDataList = compilerOptions.sourceMap || compilerOptions.inlineSourceMap || getAreDeclarationMapsEnabled(compilerOptions) ? [] : void 0; + var emittedFilesList = compilerOptions.listEmittedFiles ? [] : void 0; + var emitterDiagnostics = createDiagnosticCollection(); + var newLine = getNewLineCharacter(compilerOptions); + var writer = createTextWriter(newLine); + var { enter, exit } = createTimer("printTime", "beforePrint", "afterPrint"); + var emitSkipped = false; + enter(); + forEachEmittedFile( + host, + emitSourceFileOrBundle, + getSourceFilesToEmit(host, targetSourceFile, forceDtsEmit), + forceDtsEmit, + onlyBuildInfo, + !targetSourceFile && !skipBuildInfo + ); + exit(); + return { + emitSkipped, + diagnostics: emitterDiagnostics.getDiagnostics(), + emittedFiles: emittedFilesList, + sourceMaps: sourceMapDataList + }; + function emitSourceFileOrBundle({ jsFilePath, sourceMapFilePath, declarationFilePath, declarationMapPath, buildInfoPath }, sourceFileOrBundle) { + var _a, _b, _c, _d, _e, _f; + (_a = tracing) == null ? void 0 : _a.push(tracing.Phase.Emit, "emitJsFileOrBundle", { jsFilePath }); + emitJsFileOrBundle(sourceFileOrBundle, jsFilePath, sourceMapFilePath); + (_b = tracing) == null ? void 0 : _b.pop(); + (_c = tracing) == null ? void 0 : _c.push(tracing.Phase.Emit, "emitDeclarationFileOrBundle", { declarationFilePath }); + emitDeclarationFileOrBundle(sourceFileOrBundle, declarationFilePath, declarationMapPath); + (_d = tracing) == null ? void 0 : _d.pop(); + (_e = tracing) == null ? void 0 : _e.push(tracing.Phase.Emit, "emitBuildInfo", { buildInfoPath }); + emitBuildInfo(buildInfoPath); + (_f = tracing) == null ? void 0 : _f.pop(); + } + function emitBuildInfo(buildInfoPath) { + if (!buildInfoPath || targetSourceFile) return; + if (host.isEmitBlocked(buildInfoPath)) { + emitSkipped = true; + return; + } + const buildInfo = host.getBuildInfo() || { version }; + writeFile( + host, + emitterDiagnostics, + buildInfoPath, + getBuildInfoText(buildInfo), + /*writeByteOrderMark*/ + false, + /*sourceFiles*/ + void 0, + { buildInfo } + ); + emittedFilesList == null ? void 0 : emittedFilesList.push(buildInfoPath); + } + function emitJsFileOrBundle(sourceFileOrBundle, jsFilePath, sourceMapFilePath) { + if (!sourceFileOrBundle || emitOnly || !jsFilePath) { + return; + } + if (host.isEmitBlocked(jsFilePath) || compilerOptions.noEmit) { + emitSkipped = true; + return; + } + (isSourceFile(sourceFileOrBundle) ? [sourceFileOrBundle] : filter(sourceFileOrBundle.sourceFiles, isSourceFileNotJson)).forEach( + (sourceFile) => { + if (compilerOptions.noCheck || !canIncludeBindAndCheckDiagnostics(sourceFile, compilerOptions)) markLinkedReferences(sourceFile); + } + ); + const transform = transformNodes( + resolver, + host, + factory, + compilerOptions, + [sourceFileOrBundle], + scriptTransformers, + /*allowDtsFiles*/ + false + ); + const printerOptions = { + removeComments: compilerOptions.removeComments, + newLine: compilerOptions.newLine, + noEmitHelpers: compilerOptions.noEmitHelpers, + module: getEmitModuleKind(compilerOptions), + moduleResolution: getEmitModuleResolutionKind(compilerOptions), + target: getEmitScriptTarget(compilerOptions), + sourceMap: compilerOptions.sourceMap, + inlineSourceMap: compilerOptions.inlineSourceMap, + inlineSources: compilerOptions.inlineSources, + extendedDiagnostics: compilerOptions.extendedDiagnostics + }; + const printer = createPrinter(printerOptions, { + // resolver hooks + hasGlobalName: resolver.hasGlobalName, + // transform hooks + onEmitNode: transform.emitNodeWithNotification, + isEmitNotificationEnabled: transform.isEmitNotificationEnabled, + substituteNode: transform.substituteNode + }); + Debug.assert(transform.transformed.length === 1, "Should only see one output from the transform"); + printSourceFileOrBundle(jsFilePath, sourceMapFilePath, transform, printer, compilerOptions); + transform.dispose(); + if (emittedFilesList) { + emittedFilesList.push(jsFilePath); + if (sourceMapFilePath) { + emittedFilesList.push(sourceMapFilePath); + } + } + } + function emitDeclarationFileOrBundle(sourceFileOrBundle, declarationFilePath, declarationMapPath) { + if (!sourceFileOrBundle || emitOnly === 0 /* Js */) return; + if (!declarationFilePath) { + if (emitOnly || compilerOptions.emitDeclarationOnly) emitSkipped = true; + return; + } + const sourceFiles = isSourceFile(sourceFileOrBundle) ? [sourceFileOrBundle] : sourceFileOrBundle.sourceFiles; + const filesForEmit = forceDtsEmit ? sourceFiles : filter(sourceFiles, isSourceFileNotJson); + const inputListOrBundle = compilerOptions.outFile ? [factory.createBundle(filesForEmit)] : filesForEmit; + filesForEmit.forEach((sourceFile) => { + if (emitOnly && !getEmitDeclarations(compilerOptions) || compilerOptions.noCheck || emitResolverSkipsTypeChecking(emitOnly, forceDtsEmit) || !canIncludeBindAndCheckDiagnostics(sourceFile, compilerOptions)) { + collectLinkedAliases(sourceFile); + } + }); + const declarationTransform = transformNodes( + resolver, + host, + factory, + compilerOptions, + inputListOrBundle, + declarationTransformers, + /*allowDtsFiles*/ + false + ); + if (length(declarationTransform.diagnostics)) { + for (const diagnostic of declarationTransform.diagnostics) { + emitterDiagnostics.add(diagnostic); + } + } + const declBlocked = !!declarationTransform.diagnostics && !!declarationTransform.diagnostics.length || !!host.isEmitBlocked(declarationFilePath) || !!compilerOptions.noEmit; + emitSkipped = emitSkipped || declBlocked; + if (!declBlocked || forceDtsEmit) { + Debug.assert(declarationTransform.transformed.length === 1, "Should only see one output from the decl transform"); + const printerOptions = { + removeComments: compilerOptions.removeComments, + newLine: compilerOptions.newLine, + noEmitHelpers: true, + module: compilerOptions.module, + moduleResolution: compilerOptions.moduleResolution, + target: compilerOptions.target, + sourceMap: emitOnly !== 2 /* BuilderSignature */ && compilerOptions.declarationMap, + inlineSourceMap: compilerOptions.inlineSourceMap, + extendedDiagnostics: compilerOptions.extendedDiagnostics, + onlyPrintJsDocStyle: true, + omitBraceSourceMapPositions: true + }; + const declarationPrinter = createPrinter(printerOptions, { + // resolver hooks + hasGlobalName: resolver.hasGlobalName, + // transform hooks + onEmitNode: declarationTransform.emitNodeWithNotification, + isEmitNotificationEnabled: declarationTransform.isEmitNotificationEnabled, + substituteNode: declarationTransform.substituteNode + }); + const dtsWritten = printSourceFileOrBundle( + declarationFilePath, + declarationMapPath, + declarationTransform, + declarationPrinter, + { + sourceMap: printerOptions.sourceMap, + sourceRoot: compilerOptions.sourceRoot, + mapRoot: compilerOptions.mapRoot, + extendedDiagnostics: compilerOptions.extendedDiagnostics + // Explicitly do not passthru either `inline` option + } + ); + if (emittedFilesList) { + if (dtsWritten) emittedFilesList.push(declarationFilePath); + if (declarationMapPath) { + emittedFilesList.push(declarationMapPath); + } + } + } + declarationTransform.dispose(); + } + function collectLinkedAliases(node) { + if (isExportAssignment(node)) { + if (node.expression.kind === 80 /* Identifier */) { + resolver.collectLinkedAliases( + node.expression, + /*setVisibility*/ + true + ); + } + return; + } else if (isExportSpecifier(node)) { + resolver.collectLinkedAliases( + node.propertyName || node.name, + /*setVisibility*/ + true + ); + return; + } + forEachChild(node, collectLinkedAliases); + } + function markLinkedReferences(file) { + if (isSourceFileJS(file)) return; + forEachChildRecursively(file, (n) => { + if (isImportEqualsDeclaration(n) && !(getSyntacticModifierFlags(n) & 32 /* Export */)) return "skip"; + if (isImportDeclaration(n)) return "skip"; + resolver.markLinkedReferences(n); + }); + } + function printSourceFileOrBundle(jsFilePath, sourceMapFilePath, transform, printer, mapOptions) { + const sourceFileOrBundle = transform.transformed[0]; + const bundle = sourceFileOrBundle.kind === 308 /* Bundle */ ? sourceFileOrBundle : void 0; + const sourceFile = sourceFileOrBundle.kind === 307 /* SourceFile */ ? sourceFileOrBundle : void 0; + const sourceFiles = bundle ? bundle.sourceFiles : [sourceFile]; + let sourceMapGenerator; + if (shouldEmitSourceMaps(mapOptions, sourceFileOrBundle)) { + sourceMapGenerator = createSourceMapGenerator( + host, + getBaseFileName(normalizeSlashes(jsFilePath)), + getSourceRoot(mapOptions), + getSourceMapDirectory(mapOptions, jsFilePath, sourceFile), + mapOptions + ); + } + if (bundle) { + printer.writeBundle(bundle, writer, sourceMapGenerator); + } else { + printer.writeFile(sourceFile, writer, sourceMapGenerator); + } + let sourceMapUrlPos; + if (sourceMapGenerator) { + if (sourceMapDataList) { + sourceMapDataList.push({ + inputSourceFileNames: sourceMapGenerator.getSources(), + sourceMap: sourceMapGenerator.toJSON() + }); + } + const sourceMappingURL = getSourceMappingURL( + mapOptions, + sourceMapGenerator, + jsFilePath, + sourceMapFilePath, + sourceFile + ); + if (sourceMappingURL) { + if (!writer.isAtStartOfLine()) writer.rawWrite(newLine); + sourceMapUrlPos = writer.getTextPos(); + writer.writeComment(`//# ${"sourceMappingURL"}=${sourceMappingURL}`); + } + if (sourceMapFilePath) { + const sourceMap = sourceMapGenerator.toString(); + writeFile( + host, + emitterDiagnostics, + sourceMapFilePath, + sourceMap, + /*writeByteOrderMark*/ + false, + sourceFiles + ); + } + } else { + writer.writeLine(); + } + const text = writer.getText(); + const data = { sourceMapUrlPos, diagnostics: transform.diagnostics }; + writeFile(host, emitterDiagnostics, jsFilePath, text, !!compilerOptions.emitBOM, sourceFiles, data); + writer.clear(); + return !data.skippedDtsWrite; + } + function shouldEmitSourceMaps(mapOptions, sourceFileOrBundle) { + return (mapOptions.sourceMap || mapOptions.inlineSourceMap) && (sourceFileOrBundle.kind !== 307 /* SourceFile */ || !fileExtensionIs(sourceFileOrBundle.fileName, ".json" /* Json */)); + } + function getSourceRoot(mapOptions) { + const sourceRoot = normalizeSlashes(mapOptions.sourceRoot || ""); + return sourceRoot ? ensureTrailingDirectorySeparator(sourceRoot) : sourceRoot; + } + function getSourceMapDirectory(mapOptions, filePath, sourceFile) { + if (mapOptions.sourceRoot) return host.getCommonSourceDirectory(); + if (mapOptions.mapRoot) { + let sourceMapDir = normalizeSlashes(mapOptions.mapRoot); + if (sourceFile) { + sourceMapDir = getDirectoryPath(getSourceFilePathInNewDir(sourceFile.fileName, host, sourceMapDir)); + } + if (getRootLength(sourceMapDir) === 0) { + sourceMapDir = combinePaths(host.getCommonSourceDirectory(), sourceMapDir); + } + return sourceMapDir; + } + return getDirectoryPath(normalizePath(filePath)); + } + function getSourceMappingURL(mapOptions, sourceMapGenerator, filePath, sourceMapFilePath, sourceFile) { + if (mapOptions.inlineSourceMap) { + const sourceMapText = sourceMapGenerator.toString(); + const base64SourceMapText = base64encode(sys, sourceMapText); + return `data:application/json;base64,${base64SourceMapText}`; + } + const sourceMapFile = getBaseFileName(normalizeSlashes(Debug.checkDefined(sourceMapFilePath))); + if (mapOptions.mapRoot) { + let sourceMapDir = normalizeSlashes(mapOptions.mapRoot); + if (sourceFile) { + sourceMapDir = getDirectoryPath(getSourceFilePathInNewDir(sourceFile.fileName, host, sourceMapDir)); + } + if (getRootLength(sourceMapDir) === 0) { + sourceMapDir = combinePaths(host.getCommonSourceDirectory(), sourceMapDir); + return encodeURI( + getRelativePathToDirectoryOrUrl( + getDirectoryPath(normalizePath(filePath)), + // get the relative sourceMapDir path based on jsFilePath + combinePaths(sourceMapDir, sourceMapFile), + // this is where user expects to see sourceMap + host.getCurrentDirectory(), + host.getCanonicalFileName, + /*isAbsolutePathAnUrl*/ + true + ) + ); + } else { + return encodeURI(combinePaths(sourceMapDir, sourceMapFile)); + } + } + return encodeURI(sourceMapFile); + } +} +function getBuildInfoText(buildInfo) { + return JSON.stringify(buildInfo); +} +function getBuildInfo(buildInfoFile, buildInfoText) { + return readJsonOrUndefined(buildInfoFile, buildInfoText); +} +var notImplementedResolver = { + hasGlobalName: notImplemented, + getReferencedExportContainer: notImplemented, + getReferencedImportDeclaration: notImplemented, + getReferencedDeclarationWithCollidingName: notImplemented, + isDeclarationWithCollidingName: notImplemented, + isValueAliasDeclaration: notImplemented, + isReferencedAliasDeclaration: notImplemented, + isTopLevelValueImportEqualsWithEntityName: notImplemented, + hasNodeCheckFlag: notImplemented, + isDeclarationVisible: notImplemented, + isLateBound: (_node) => false, + collectLinkedAliases: notImplemented, + markLinkedReferences: notImplemented, + isImplementationOfOverload: notImplemented, + requiresAddingImplicitUndefined: notImplemented, + isExpandoFunctionDeclaration: notImplemented, + getPropertiesOfContainerFunction: notImplemented, + createTypeOfDeclaration: notImplemented, + createReturnTypeOfSignatureDeclaration: notImplemented, + createTypeOfExpression: notImplemented, + createLiteralConstValue: notImplemented, + isSymbolAccessible: notImplemented, + isEntityNameVisible: notImplemented, + // Returns the constant value this property access resolves to: notImplemented, or 'undefined' for a non-constant + getConstantValue: notImplemented, + getEnumMemberValue: notImplemented, + getReferencedValueDeclaration: notImplemented, + getReferencedValueDeclarations: notImplemented, + getTypeReferenceSerializationKind: notImplemented, + isOptionalParameter: notImplemented, + isArgumentsLocalBinding: notImplemented, + getExternalModuleFileFromDeclaration: notImplemented, + isLiteralConstDeclaration: notImplemented, + getJsxFactoryEntity: notImplemented, + getJsxFragmentFactoryEntity: notImplemented, + isBindingCapturedByNode: notImplemented, + getDeclarationStatementsForSourceFile: notImplemented, + isImportRequiredByAugmentation: notImplemented, + isDefinitelyReferenceToGlobalSymbolObject: notImplemented, + createLateBoundIndexSignatures: notImplemented +}; +var createPrinterWithDefaults = /* @__PURE__ */ memoize(() => createPrinter({})); +var createPrinterWithRemoveComments = /* @__PURE__ */ memoize(() => createPrinter({ removeComments: true })); +var createPrinterWithRemoveCommentsNeverAsciiEscape = /* @__PURE__ */ memoize(() => createPrinter({ removeComments: true, neverAsciiEscape: true })); +var createPrinterWithRemoveCommentsOmitTrailingSemicolon = /* @__PURE__ */ memoize(() => createPrinter({ removeComments: true, omitTrailingSemicolon: true })); +function createPrinter(printerOptions = {}, handlers = {}) { + var { + hasGlobalName, + onEmitNode = noEmitNotification, + isEmitNotificationEnabled, + substituteNode = noEmitSubstitution, + onBeforeEmitNode, + onAfterEmitNode, + onBeforeEmitNodeArray, + onAfterEmitNodeArray, + onBeforeEmitToken, + onAfterEmitToken + } = handlers; + var extendedDiagnostics = !!printerOptions.extendedDiagnostics; + var omitBraceSourcePositions = !!printerOptions.omitBraceSourceMapPositions; + var newLine = getNewLineCharacter(printerOptions); + var moduleKind = getEmitModuleKind(printerOptions); + var bundledHelpers = /* @__PURE__ */ new Map(); + var currentSourceFile; + var nodeIdToGeneratedName; + var nodeIdToGeneratedPrivateName; + var autoGeneratedIdToGeneratedName; + var generatedNames; + var formattedNameTempFlagsStack; + var formattedNameTempFlags; + var privateNameTempFlagsStack; + var privateNameTempFlags; + var tempFlagsStack; + var tempFlags; + var reservedNamesStack; + var reservedNames; + var reservedPrivateNamesStack; + var reservedPrivateNames; + var preserveSourceNewlines = printerOptions.preserveSourceNewlines; + var nextListElementPos; + var writer; + var ownWriter; + var write = writeBase; + var isOwnFileEmit; + var sourceMapsDisabled = true; + var sourceMapGenerator; + var sourceMapSource; + var sourceMapSourceIndex = -1; + var mostRecentlyAddedSourceMapSource; + var mostRecentlyAddedSourceMapSourceIndex = -1; + var containerPos = -1; + var containerEnd = -1; + var declarationListContainerEnd = -1; + var currentLineMap; + var detachedCommentsInfo; + var hasWrittenComment = false; + var commentsDisabled = !!printerOptions.removeComments; + var lastSubstitution; + var currentParenthesizerRule; + var { enter: enterComment, exit: exitComment } = createTimerIf(extendedDiagnostics, "commentTime", "beforeComment", "afterComment"); + var parenthesizer = factory.parenthesizer; + var typeArgumentParenthesizerRuleSelector = { + select: (index) => index === 0 ? parenthesizer.parenthesizeLeadingTypeArgument : void 0 + }; + var emitBinaryExpression = createEmitBinaryExpression(); + reset(); + return { + // public API + printNode, + printList, + printFile, + printBundle, + // internal API + writeNode, + writeList, + writeFile: writeFile2, + writeBundle + }; + function printNode(hint, node, sourceFile) { + switch (hint) { + case 0 /* SourceFile */: + Debug.assert(isSourceFile(node), "Expected a SourceFile node."); + break; + case 2 /* IdentifierName */: + Debug.assert(isIdentifier(node), "Expected an Identifier node."); + break; + case 1 /* Expression */: + Debug.assert(isExpression(node), "Expected an Expression node."); + break; + } + switch (node.kind) { + case 307 /* SourceFile */: + return printFile(node); + case 308 /* Bundle */: + return printBundle(node); + } + writeNode(hint, node, sourceFile, beginPrint()); + return endPrint(); + } + function printList(format, nodes, sourceFile) { + writeList(format, nodes, sourceFile, beginPrint()); + return endPrint(); + } + function printBundle(bundle) { + writeBundle( + bundle, + beginPrint(), + /*sourceMapGenerator*/ + void 0 + ); + return endPrint(); + } + function printFile(sourceFile) { + writeFile2( + sourceFile, + beginPrint(), + /*sourceMapGenerator*/ + void 0 + ); + return endPrint(); + } + function writeNode(hint, node, sourceFile, output) { + const previousWriter = writer; + setWriter( + output, + /*_sourceMapGenerator*/ + void 0 + ); + print(hint, node, sourceFile); + reset(); + writer = previousWriter; + } + function writeList(format, nodes, sourceFile, output) { + const previousWriter = writer; + setWriter( + output, + /*_sourceMapGenerator*/ + void 0 + ); + if (sourceFile) { + setSourceFile(sourceFile); + } + emitList( + /*parentNode*/ + void 0, + nodes, + format + ); + reset(); + writer = previousWriter; + } + function writeBundle(bundle, output, sourceMapGenerator2) { + isOwnFileEmit = false; + const previousWriter = writer; + setWriter(output, sourceMapGenerator2); + emitShebangIfNeeded(bundle); + emitPrologueDirectivesIfNeeded(bundle); + emitHelpers(bundle); + emitSyntheticTripleSlashReferencesIfNeeded(bundle); + for (const sourceFile of bundle.sourceFiles) { + print(0 /* SourceFile */, sourceFile, sourceFile); + } + reset(); + writer = previousWriter; + } + function writeFile2(sourceFile, output, sourceMapGenerator2) { + isOwnFileEmit = true; + const previousWriter = writer; + setWriter(output, sourceMapGenerator2); + emitShebangIfNeeded(sourceFile); + emitPrologueDirectivesIfNeeded(sourceFile); + print(0 /* SourceFile */, sourceFile, sourceFile); + reset(); + writer = previousWriter; + } + function beginPrint() { + return ownWriter || (ownWriter = createTextWriter(newLine)); + } + function endPrint() { + const text = ownWriter.getText(); + ownWriter.clear(); + return text; + } + function print(hint, node, sourceFile) { + if (sourceFile) { + setSourceFile(sourceFile); + } + pipelineEmit( + hint, + node, + /*parenthesizerRule*/ + void 0 + ); + } + function setSourceFile(sourceFile) { + currentSourceFile = sourceFile; + currentLineMap = void 0; + detachedCommentsInfo = void 0; + if (sourceFile) { + setSourceMapSource(sourceFile); + } + } + function setWriter(_writer, _sourceMapGenerator) { + if (_writer && printerOptions.omitTrailingSemicolon) { + _writer = getTrailingSemicolonDeferringWriter(_writer); + } + writer = _writer; + sourceMapGenerator = _sourceMapGenerator; + sourceMapsDisabled = !writer || !sourceMapGenerator; + } + function reset() { + nodeIdToGeneratedName = []; + nodeIdToGeneratedPrivateName = []; + autoGeneratedIdToGeneratedName = []; + generatedNames = /* @__PURE__ */ new Set(); + formattedNameTempFlagsStack = []; + formattedNameTempFlags = /* @__PURE__ */ new Map(); + privateNameTempFlagsStack = []; + privateNameTempFlags = 0 /* Auto */; + tempFlagsStack = []; + tempFlags = 0 /* Auto */; + reservedNamesStack = []; + reservedNames = void 0; + reservedPrivateNamesStack = []; + reservedPrivateNames = void 0; + currentSourceFile = void 0; + currentLineMap = void 0; + detachedCommentsInfo = void 0; + setWriter( + /*output*/ + void 0, + /*_sourceMapGenerator*/ + void 0 + ); + } + function getCurrentLineMap() { + return currentLineMap || (currentLineMap = getLineStarts(Debug.checkDefined(currentSourceFile))); + } + function emit(node, parenthesizerRule) { + if (node === void 0) return; + pipelineEmit(4 /* Unspecified */, node, parenthesizerRule); + } + function emitIdentifierName(node) { + if (node === void 0) return; + pipelineEmit( + 2 /* IdentifierName */, + node, + /*parenthesizerRule*/ + void 0 + ); + } + function emitExpression(node, parenthesizerRule) { + if (node === void 0) return; + pipelineEmit(1 /* Expression */, node, parenthesizerRule); + } + function emitJsxAttributeValue(node) { + pipelineEmit(isStringLiteral(node) ? 6 /* JsxAttributeValue */ : 4 /* Unspecified */, node); + } + function beforeEmitNode(node) { + if (preserveSourceNewlines && getInternalEmitFlags(node) & 4 /* IgnoreSourceNewlines */) { + preserveSourceNewlines = false; + } + } + function afterEmitNode(savedPreserveSourceNewlines) { + preserveSourceNewlines = savedPreserveSourceNewlines; + } + function pipelineEmit(emitHint, node, parenthesizerRule) { + currentParenthesizerRule = parenthesizerRule; + const pipelinePhase = getPipelinePhase(0 /* Notification */, emitHint, node); + pipelinePhase(emitHint, node); + currentParenthesizerRule = void 0; + } + function shouldEmitComments(node) { + return !commentsDisabled && !isSourceFile(node); + } + function shouldEmitSourceMaps(node) { + return !sourceMapsDisabled && !isSourceFile(node) && !isInJsonFile(node); + } + function getPipelinePhase(phase, emitHint, node) { + switch (phase) { + case 0 /* Notification */: + if (onEmitNode !== noEmitNotification && (!isEmitNotificationEnabled || isEmitNotificationEnabled(node))) { + return pipelineEmitWithNotification; + } + // falls through + case 1 /* Substitution */: + if (substituteNode !== noEmitSubstitution && (lastSubstitution = substituteNode(emitHint, node) || node) !== node) { + if (currentParenthesizerRule) { + lastSubstitution = currentParenthesizerRule(lastSubstitution); + } + return pipelineEmitWithSubstitution; + } + // falls through + case 2 /* Comments */: + if (shouldEmitComments(node)) { + return pipelineEmitWithComments; + } + // falls through + case 3 /* SourceMaps */: + if (shouldEmitSourceMaps(node)) { + return pipelineEmitWithSourceMaps; + } + // falls through + case 4 /* Emit */: + return pipelineEmitWithHint; + default: + return Debug.assertNever(phase); + } + } + function getNextPipelinePhase(currentPhase, emitHint, node) { + return getPipelinePhase(currentPhase + 1, emitHint, node); + } + function pipelineEmitWithNotification(hint, node) { + const pipelinePhase = getNextPipelinePhase(0 /* Notification */, hint, node); + onEmitNode(hint, node, pipelinePhase); + } + function pipelineEmitWithHint(hint, node) { + onBeforeEmitNode == null ? void 0 : onBeforeEmitNode(node); + if (preserveSourceNewlines) { + const savedPreserveSourceNewlines = preserveSourceNewlines; + beforeEmitNode(node); + pipelineEmitWithHintWorker(hint, node); + afterEmitNode(savedPreserveSourceNewlines); + } else { + pipelineEmitWithHintWorker(hint, node); + } + onAfterEmitNode == null ? void 0 : onAfterEmitNode(node); + currentParenthesizerRule = void 0; + } + function pipelineEmitWithHintWorker(hint, node, allowSnippets = true) { + if (allowSnippets) { + const snippet = getSnippetElement(node); + if (snippet) { + return emitSnippetNode(hint, node, snippet); + } + } + if (hint === 0 /* SourceFile */) return emitSourceFile(cast(node, isSourceFile)); + if (hint === 2 /* IdentifierName */) return emitIdentifier(cast(node, isIdentifier)); + if (hint === 6 /* JsxAttributeValue */) return emitLiteral( + cast(node, isStringLiteral), + /*jsxAttributeEscape*/ + true + ); + if (hint === 3 /* MappedTypeParameter */) return emitMappedTypeParameter(cast(node, isTypeParameterDeclaration)); + if (hint === 7 /* ImportTypeNodeAttributes */) return emitImportTypeNodeAttributes(cast(node, isImportAttributes)); + if (hint === 5 /* EmbeddedStatement */) { + Debug.assertNode(node, isEmptyStatement); + return emitEmptyStatement( + /*isEmbeddedStatement*/ + true + ); + } + if (hint === 4 /* Unspecified */) { + switch (node.kind) { + // Pseudo-literals + case 16 /* TemplateHead */: + case 17 /* TemplateMiddle */: + case 18 /* TemplateTail */: + return emitLiteral( + node, + /*jsxAttributeEscape*/ + false + ); + // Identifiers + case 80 /* Identifier */: + return emitIdentifier(node); + // PrivateIdentifiers + case 81 /* PrivateIdentifier */: + return emitPrivateIdentifier(node); + // Parse tree nodes + // Names + case 166 /* QualifiedName */: + return emitQualifiedName(node); + case 167 /* ComputedPropertyName */: + return emitComputedPropertyName(node); + // Signature elements + case 168 /* TypeParameter */: + return emitTypeParameter(node); + case 169 /* Parameter */: + return emitParameter(node); + case 170 /* Decorator */: + return emitDecorator(node); + // Type members + case 171 /* PropertySignature */: + return emitPropertySignature(node); + case 172 /* PropertyDeclaration */: + return emitPropertyDeclaration(node); + case 173 /* MethodSignature */: + return emitMethodSignature(node); + case 174 /* MethodDeclaration */: + return emitMethodDeclaration(node); + case 175 /* ClassStaticBlockDeclaration */: + return emitClassStaticBlockDeclaration(node); + case 176 /* Constructor */: + return emitConstructor(node); + case 177 /* GetAccessor */: + case 178 /* SetAccessor */: + return emitAccessorDeclaration(node); + case 179 /* CallSignature */: + return emitCallSignature(node); + case 180 /* ConstructSignature */: + return emitConstructSignature(node); + case 181 /* IndexSignature */: + return emitIndexSignature(node); + // Types + case 182 /* TypePredicate */: + return emitTypePredicate(node); + case 183 /* TypeReference */: + return emitTypeReference(node); + case 184 /* FunctionType */: + return emitFunctionType(node); + case 185 /* ConstructorType */: + return emitConstructorType(node); + case 186 /* TypeQuery */: + return emitTypeQuery(node); + case 187 /* TypeLiteral */: + return emitTypeLiteral(node); + case 188 /* ArrayType */: + return emitArrayType(node); + case 189 /* TupleType */: + return emitTupleType(node); + case 190 /* OptionalType */: + return emitOptionalType(node); + // SyntaxKind.RestType is handled below + case 192 /* UnionType */: + return emitUnionType(node); + case 193 /* IntersectionType */: + return emitIntersectionType(node); + case 194 /* ConditionalType */: + return emitConditionalType(node); + case 195 /* InferType */: + return emitInferType(node); + case 196 /* ParenthesizedType */: + return emitParenthesizedType(node); + case 233 /* ExpressionWithTypeArguments */: + return emitExpressionWithTypeArguments(node); + case 197 /* ThisType */: + return emitThisType(); + case 198 /* TypeOperator */: + return emitTypeOperator(node); + case 199 /* IndexedAccessType */: + return emitIndexedAccessType(node); + case 200 /* MappedType */: + return emitMappedType(node); + case 201 /* LiteralType */: + return emitLiteralType(node); + case 202 /* NamedTupleMember */: + return emitNamedTupleMember(node); + case 203 /* TemplateLiteralType */: + return emitTemplateType(node); + case 204 /* TemplateLiteralTypeSpan */: + return emitTemplateTypeSpan(node); + case 205 /* ImportType */: + return emitImportTypeNode(node); + // Binding patterns + case 206 /* ObjectBindingPattern */: + return emitObjectBindingPattern(node); + case 207 /* ArrayBindingPattern */: + return emitArrayBindingPattern(node); + case 208 /* BindingElement */: + return emitBindingElement(node); + // Misc + case 239 /* TemplateSpan */: + return emitTemplateSpan(node); + case 240 /* SemicolonClassElement */: + return emitSemicolonClassElement(); + // Statements + case 241 /* Block */: + return emitBlock(node); + case 243 /* VariableStatement */: + return emitVariableStatement(node); + case 242 /* EmptyStatement */: + return emitEmptyStatement( + /*isEmbeddedStatement*/ + false + ); + case 244 /* ExpressionStatement */: + return emitExpressionStatement(node); + case 245 /* IfStatement */: + return emitIfStatement(node); + case 246 /* DoStatement */: + return emitDoStatement(node); + case 247 /* WhileStatement */: + return emitWhileStatement(node); + case 248 /* ForStatement */: + return emitForStatement(node); + case 249 /* ForInStatement */: + return emitForInStatement(node); + case 250 /* ForOfStatement */: + return emitForOfStatement(node); + case 251 /* ContinueStatement */: + return emitContinueStatement(node); + case 252 /* BreakStatement */: + return emitBreakStatement(node); + case 253 /* ReturnStatement */: + return emitReturnStatement(node); + case 254 /* WithStatement */: + return emitWithStatement(node); + case 255 /* SwitchStatement */: + return emitSwitchStatement(node); + case 256 /* LabeledStatement */: + return emitLabeledStatement(node); + case 257 /* ThrowStatement */: + return emitThrowStatement(node); + case 258 /* TryStatement */: + return emitTryStatement(node); + case 259 /* DebuggerStatement */: + return emitDebuggerStatement(node); + // Declarations + case 260 /* VariableDeclaration */: + return emitVariableDeclaration(node); + case 261 /* VariableDeclarationList */: + return emitVariableDeclarationList(node); + case 262 /* FunctionDeclaration */: + return emitFunctionDeclaration(node); + case 263 /* ClassDeclaration */: + return emitClassDeclaration(node); + case 264 /* InterfaceDeclaration */: + return emitInterfaceDeclaration(node); + case 265 /* TypeAliasDeclaration */: + return emitTypeAliasDeclaration(node); + case 266 /* EnumDeclaration */: + return emitEnumDeclaration(node); + case 267 /* ModuleDeclaration */: + return emitModuleDeclaration(node); + case 268 /* ModuleBlock */: + return emitModuleBlock(node); + case 269 /* CaseBlock */: + return emitCaseBlock(node); + case 270 /* NamespaceExportDeclaration */: + return emitNamespaceExportDeclaration(node); + case 271 /* ImportEqualsDeclaration */: + return emitImportEqualsDeclaration(node); + case 272 /* ImportDeclaration */: + return emitImportDeclaration(node); + case 273 /* ImportClause */: + return emitImportClause(node); + case 274 /* NamespaceImport */: + return emitNamespaceImport(node); + case 280 /* NamespaceExport */: + return emitNamespaceExport(node); + case 275 /* NamedImports */: + return emitNamedImports(node); + case 276 /* ImportSpecifier */: + return emitImportSpecifier(node); + case 277 /* ExportAssignment */: + return emitExportAssignment(node); + case 278 /* ExportDeclaration */: + return emitExportDeclaration(node); + case 279 /* NamedExports */: + return emitNamedExports(node); + case 281 /* ExportSpecifier */: + return emitExportSpecifier(node); + case 300 /* ImportAttributes */: + return emitImportAttributes(node); + case 301 /* ImportAttribute */: + return emitImportAttribute(node); + case 282 /* MissingDeclaration */: + return; + // Module references + case 283 /* ExternalModuleReference */: + return emitExternalModuleReference(node); + // JSX (non-expression) + case 12 /* JsxText */: + return emitJsxText(node); + case 286 /* JsxOpeningElement */: + case 289 /* JsxOpeningFragment */: + return emitJsxOpeningElementOrFragment(node); + case 287 /* JsxClosingElement */: + case 290 /* JsxClosingFragment */: + return emitJsxClosingElementOrFragment(node); + case 291 /* JsxAttribute */: + return emitJsxAttribute(node); + case 292 /* JsxAttributes */: + return emitJsxAttributes(node); + case 293 /* JsxSpreadAttribute */: + return emitJsxSpreadAttribute(node); + case 294 /* JsxExpression */: + return emitJsxExpression(node); + case 295 /* JsxNamespacedName */: + return emitJsxNamespacedName(node); + // Clauses + case 296 /* CaseClause */: + return emitCaseClause(node); + case 297 /* DefaultClause */: + return emitDefaultClause(node); + case 298 /* HeritageClause */: + return emitHeritageClause(node); + case 299 /* CatchClause */: + return emitCatchClause(node); + // Property assignments + case 303 /* PropertyAssignment */: + return emitPropertyAssignment(node); + case 304 /* ShorthandPropertyAssignment */: + return emitShorthandPropertyAssignment(node); + case 305 /* SpreadAssignment */: + return emitSpreadAssignment(node); + // Enum + case 306 /* EnumMember */: + return emitEnumMember(node); + // Top-level nodes + case 307 /* SourceFile */: + return emitSourceFile(node); + case 308 /* Bundle */: + return Debug.fail("Bundles should be printed using printBundle"); + // JSDoc nodes (only used in codefixes currently) + case 309 /* JSDocTypeExpression */: + return emitJSDocTypeExpression(node); + case 310 /* JSDocNameReference */: + return emitJSDocNameReference(node); + case 312 /* JSDocAllType */: + return writePunctuation("*"); + case 313 /* JSDocUnknownType */: + return writePunctuation("?"); + case 314 /* JSDocNullableType */: + return emitJSDocNullableType(node); + case 315 /* JSDocNonNullableType */: + return emitJSDocNonNullableType(node); + case 316 /* JSDocOptionalType */: + return emitJSDocOptionalType(node); + case 317 /* JSDocFunctionType */: + return emitJSDocFunctionType(node); + case 191 /* RestType */: + case 318 /* JSDocVariadicType */: + return emitRestOrJSDocVariadicType(node); + case 319 /* JSDocNamepathType */: + return; + case 320 /* JSDoc */: + return emitJSDoc(node); + case 322 /* JSDocTypeLiteral */: + return emitJSDocTypeLiteral(node); + case 323 /* JSDocSignature */: + return emitJSDocSignature(node); + case 327 /* JSDocTag */: + case 332 /* JSDocClassTag */: + case 337 /* JSDocOverrideTag */: + return emitJSDocSimpleTag(node); + case 328 /* JSDocAugmentsTag */: + case 329 /* JSDocImplementsTag */: + return emitJSDocHeritageTag(node); + case 330 /* JSDocAuthorTag */: + case 331 /* JSDocDeprecatedTag */: + return; + // SyntaxKind.JSDocClassTag (see JSDocTag, above) + case 333 /* JSDocPublicTag */: + case 334 /* JSDocPrivateTag */: + case 335 /* JSDocProtectedTag */: + case 336 /* JSDocReadonlyTag */: + return; + case 338 /* JSDocCallbackTag */: + return emitJSDocCallbackTag(node); + case 339 /* JSDocOverloadTag */: + return emitJSDocOverloadTag(node); + // SyntaxKind.JSDocEnumTag (see below) + case 341 /* JSDocParameterTag */: + case 348 /* JSDocPropertyTag */: + return emitJSDocPropertyLikeTag(node); + case 340 /* JSDocEnumTag */: + case 342 /* JSDocReturnTag */: + case 343 /* JSDocThisTag */: + case 344 /* JSDocTypeTag */: + case 349 /* JSDocThrowsTag */: + case 350 /* JSDocSatisfiesTag */: + return emitJSDocSimpleTypedTag(node); + case 345 /* JSDocTemplateTag */: + return emitJSDocTemplateTag(node); + case 346 /* JSDocTypedefTag */: + return emitJSDocTypedefTag(node); + case 347 /* JSDocSeeTag */: + return emitJSDocSeeTag(node); + case 351 /* JSDocImportTag */: + return emitJSDocImportTag(node); + // SyntaxKind.JSDocPropertyTag (see JSDocParameterTag, above) + // Transformation nodes + case 353 /* NotEmittedStatement */: + case 354 /* NotEmittedTypeElement */: + return; + } + if (isExpression(node)) { + hint = 1 /* Expression */; + if (substituteNode !== noEmitSubstitution) { + const substitute = substituteNode(hint, node) || node; + if (substitute !== node) { + node = substitute; + if (currentParenthesizerRule) { + node = currentParenthesizerRule(node); + } + } + } + } + } + if (hint === 1 /* Expression */) { + switch (node.kind) { + // Literals + case 9 /* NumericLiteral */: + case 10 /* BigIntLiteral */: + return emitNumericOrBigIntLiteral(node); + case 11 /* StringLiteral */: + case 14 /* RegularExpressionLiteral */: + case 15 /* NoSubstitutionTemplateLiteral */: + return emitLiteral( + node, + /*jsxAttributeEscape*/ + false + ); + // Identifiers + case 80 /* Identifier */: + return emitIdentifier(node); + case 81 /* PrivateIdentifier */: + return emitPrivateIdentifier(node); + // Expressions + case 209 /* ArrayLiteralExpression */: + return emitArrayLiteralExpression(node); + case 210 /* ObjectLiteralExpression */: + return emitObjectLiteralExpression(node); + case 211 /* PropertyAccessExpression */: + return emitPropertyAccessExpression(node); + case 212 /* ElementAccessExpression */: + return emitElementAccessExpression(node); + case 213 /* CallExpression */: + return emitCallExpression(node); + case 214 /* NewExpression */: + return emitNewExpression(node); + case 215 /* TaggedTemplateExpression */: + return emitTaggedTemplateExpression(node); + case 216 /* TypeAssertionExpression */: + return emitTypeAssertionExpression(node); + case 217 /* ParenthesizedExpression */: + return emitParenthesizedExpression(node); + case 218 /* FunctionExpression */: + return emitFunctionExpression(node); + case 219 /* ArrowFunction */: + return emitArrowFunction(node); + case 220 /* DeleteExpression */: + return emitDeleteExpression(node); + case 221 /* TypeOfExpression */: + return emitTypeOfExpression(node); + case 222 /* VoidExpression */: + return emitVoidExpression(node); + case 223 /* AwaitExpression */: + return emitAwaitExpression(node); + case 224 /* PrefixUnaryExpression */: + return emitPrefixUnaryExpression(node); + case 225 /* PostfixUnaryExpression */: + return emitPostfixUnaryExpression(node); + case 226 /* BinaryExpression */: + return emitBinaryExpression(node); + case 227 /* ConditionalExpression */: + return emitConditionalExpression(node); + case 228 /* TemplateExpression */: + return emitTemplateExpression(node); + case 229 /* YieldExpression */: + return emitYieldExpression(node); + case 230 /* SpreadElement */: + return emitSpreadElement(node); + case 231 /* ClassExpression */: + return emitClassExpression(node); + case 232 /* OmittedExpression */: + return; + case 234 /* AsExpression */: + return emitAsExpression(node); + case 235 /* NonNullExpression */: + return emitNonNullExpression(node); + case 233 /* ExpressionWithTypeArguments */: + return emitExpressionWithTypeArguments(node); + case 238 /* SatisfiesExpression */: + return emitSatisfiesExpression(node); + case 236 /* MetaProperty */: + return emitMetaProperty(node); + case 237 /* SyntheticExpression */: + return Debug.fail("SyntheticExpression should never be printed."); + case 282 /* MissingDeclaration */: + return; + // JSX + case 284 /* JsxElement */: + return emitJsxElement(node); + case 285 /* JsxSelfClosingElement */: + return emitJsxSelfClosingElement(node); + case 288 /* JsxFragment */: + return emitJsxFragment(node); + // Synthesized list + case 352 /* SyntaxList */: + return Debug.fail("SyntaxList should not be printed"); + // Transformation nodes + case 353 /* NotEmittedStatement */: + return; + case 355 /* PartiallyEmittedExpression */: + return emitPartiallyEmittedExpression(node); + case 356 /* CommaListExpression */: + return emitCommaList(node); + case 357 /* SyntheticReferenceExpression */: + return Debug.fail("SyntheticReferenceExpression should not be printed"); + } + } + if (isKeyword(node.kind)) return writeTokenNode(node, writeKeyword); + if (isTokenKind(node.kind)) return writeTokenNode(node, writePunctuation); + Debug.fail(`Unhandled SyntaxKind: ${Debug.formatSyntaxKind(node.kind)}.`); + } + function emitMappedTypeParameter(node) { + emit(node.name); + writeSpace(); + writeKeyword("in"); + writeSpace(); + emit(node.constraint); + } + function pipelineEmitWithSubstitution(hint, node) { + const pipelinePhase = getNextPipelinePhase(1 /* Substitution */, hint, node); + Debug.assertIsDefined(lastSubstitution); + node = lastSubstitution; + lastSubstitution = void 0; + pipelinePhase(hint, node); + } + function emitHelpers(node) { + let helpersEmitted = false; + const bundle = node.kind === 308 /* Bundle */ ? node : void 0; + if (bundle && moduleKind === 0 /* None */) { + return; + } + const numNodes = bundle ? bundle.sourceFiles.length : 1; + for (let i = 0; i < numNodes; i++) { + const currentNode = bundle ? bundle.sourceFiles[i] : node; + const sourceFile = isSourceFile(currentNode) ? currentNode : currentSourceFile; + const shouldSkip = printerOptions.noEmitHelpers || !!sourceFile && hasRecordedExternalHelpers(sourceFile); + const shouldBundle = isSourceFile(currentNode) && !isOwnFileEmit; + const helpers = getSortedEmitHelpers(currentNode); + if (helpers) { + for (const helper of helpers) { + if (!helper.scoped) { + if (shouldSkip) continue; + if (shouldBundle) { + if (bundledHelpers.get(helper.name)) { + continue; + } + bundledHelpers.set(helper.name, true); + } + } else if (bundle) { + continue; + } + if (typeof helper.text === "string") { + writeLines(helper.text); + } else { + writeLines(helper.text(makeFileLevelOptimisticUniqueName)); + } + helpersEmitted = true; + } + } + } + return helpersEmitted; + } + function getSortedEmitHelpers(node) { + const helpers = getEmitHelpers(node); + return helpers && toSorted(helpers, compareEmitHelpers); + } + function emitNumericOrBigIntLiteral(node) { + emitLiteral( + node, + /*jsxAttributeEscape*/ + false + ); + } + function emitLiteral(node, jsxAttributeEscape) { + const text = getLiteralTextOfNode( + node, + /*sourceFile*/ + void 0, + printerOptions.neverAsciiEscape, + jsxAttributeEscape + ); + if ((printerOptions.sourceMap || printerOptions.inlineSourceMap) && (node.kind === 11 /* StringLiteral */ || isTemplateLiteralKind(node.kind))) { + writeLiteral(text); + } else { + writeStringLiteral(text); + } + } + function emitSnippetNode(hint, node, snippet) { + switch (snippet.kind) { + case 1 /* Placeholder */: + emitPlaceholder(hint, node, snippet); + break; + case 0 /* TabStop */: + emitTabStop(hint, node, snippet); + break; + } + } + function emitPlaceholder(hint, node, snippet) { + nonEscapingWrite(`\${${snippet.order}:`); + pipelineEmitWithHintWorker( + hint, + node, + /*allowSnippets*/ + false + ); + nonEscapingWrite(`}`); + } + function emitTabStop(hint, node, snippet) { + Debug.assert(node.kind === 242 /* EmptyStatement */, `A tab stop cannot be attached to a node of kind ${Debug.formatSyntaxKind(node.kind)}.`); + Debug.assert(hint !== 5 /* EmbeddedStatement */, `A tab stop cannot be attached to an embedded statement.`); + nonEscapingWrite(`$${snippet.order}`); + } + function emitIdentifier(node) { + const writeText = node.symbol ? writeSymbol : write; + writeText(getTextOfNode2( + node, + /*includeTrivia*/ + false + ), node.symbol); + emitList(node, getIdentifierTypeArguments(node), 53776 /* TypeParameters */); + } + function emitPrivateIdentifier(node) { + write(getTextOfNode2( + node, + /*includeTrivia*/ + false + )); + } + function emitQualifiedName(node) { + emitEntityName(node.left); + writePunctuation("."); + emit(node.right); + } + function emitEntityName(node) { + if (node.kind === 80 /* Identifier */) { + emitExpression(node); + } else { + emit(node); + } + } + function emitComputedPropertyName(node) { + writePunctuation("["); + emitExpression(node.expression, parenthesizer.parenthesizeExpressionOfComputedPropertyName); + writePunctuation("]"); + } + function emitTypeParameter(node) { + emitModifierList(node, node.modifiers); + emit(node.name); + if (node.constraint) { + writeSpace(); + writeKeyword("extends"); + writeSpace(); + emit(node.constraint); + } + if (node.default) { + writeSpace(); + writeOperator("="); + writeSpace(); + emit(node.default); + } + } + function emitParameter(node) { + emitDecoratorsAndModifiers( + node, + node.modifiers, + /*allowDecorators*/ + true + ); + emit(node.dotDotDotToken); + emitNodeWithWriter(node.name, writeParameter); + emit(node.questionToken); + if (node.parent && node.parent.kind === 317 /* JSDocFunctionType */ && !node.name) { + emit(node.type); + } else { + emitTypeAnnotation(node.type); + } + emitInitializer(node.initializer, node.type ? node.type.end : node.questionToken ? node.questionToken.end : node.name ? node.name.end : node.modifiers ? node.modifiers.end : node.pos, node, parenthesizer.parenthesizeExpressionForDisallowedComma); + } + function emitDecorator(decorator) { + writePunctuation("@"); + emitExpression(decorator.expression, parenthesizer.parenthesizeLeftSideOfAccess); + } + function emitPropertySignature(node) { + emitModifierList(node, node.modifiers); + emitNodeWithWriter(node.name, writeProperty); + emit(node.questionToken); + emitTypeAnnotation(node.type); + writeTrailingSemicolon(); + } + function emitPropertyDeclaration(node) { + emitDecoratorsAndModifiers( + node, + node.modifiers, + /*allowDecorators*/ + true + ); + emit(node.name); + emit(node.questionToken); + emit(node.exclamationToken); + emitTypeAnnotation(node.type); + emitInitializer(node.initializer, node.type ? node.type.end : node.questionToken ? node.questionToken.end : node.name.end, node); + writeTrailingSemicolon(); + } + function emitMethodSignature(node) { + emitModifierList(node, node.modifiers); + emit(node.name); + emit(node.questionToken); + emitSignatureAndBody(node, emitSignatureHead, emitEmptyFunctionBody); + } + function emitMethodDeclaration(node) { + emitDecoratorsAndModifiers( + node, + node.modifiers, + /*allowDecorators*/ + true + ); + emit(node.asteriskToken); + emit(node.name); + emit(node.questionToken); + emitSignatureAndBody(node, emitSignatureHead, emitFunctionBody); + } + function emitClassStaticBlockDeclaration(node) { + writeKeyword("static"); + pushNameGenerationScope(node); + emitBlockFunctionBody(node.body); + popNameGenerationScope(node); + } + function emitConstructor(node) { + emitDecoratorsAndModifiers( + node, + node.modifiers, + /*allowDecorators*/ + false + ); + writeKeyword("constructor"); + emitSignatureAndBody(node, emitSignatureHead, emitFunctionBody); + } + function emitAccessorDeclaration(node) { + const pos = emitDecoratorsAndModifiers( + node, + node.modifiers, + /*allowDecorators*/ + true + ); + const token = node.kind === 177 /* GetAccessor */ ? 139 /* GetKeyword */ : 153 /* SetKeyword */; + emitTokenWithComment(token, pos, writeKeyword, node); + writeSpace(); + emit(node.name); + emitSignatureAndBody(node, emitSignatureHead, emitFunctionBody); + } + function emitCallSignature(node) { + emitSignatureAndBody(node, emitSignatureHead, emitEmptyFunctionBody); + } + function emitConstructSignature(node) { + writeKeyword("new"); + writeSpace(); + emitSignatureAndBody(node, emitSignatureHead, emitEmptyFunctionBody); + } + function emitIndexSignature(node) { + emitDecoratorsAndModifiers( + node, + node.modifiers, + /*allowDecorators*/ + false + ); + emitParametersForIndexSignature(node, node.parameters); + emitTypeAnnotation(node.type); + writeTrailingSemicolon(); + } + function emitTemplateTypeSpan(node) { + emit(node.type); + emit(node.literal); + } + function emitSemicolonClassElement() { + writeTrailingSemicolon(); + } + function emitTypePredicate(node) { + if (node.assertsModifier) { + emit(node.assertsModifier); + writeSpace(); + } + emit(node.parameterName); + if (node.type) { + writeSpace(); + writeKeyword("is"); + writeSpace(); + emit(node.type); + } + } + function emitTypeReference(node) { + emit(node.typeName); + emitTypeArguments(node, node.typeArguments); + } + function emitFunctionType(node) { + emitSignatureAndBody(node, emitFunctionTypeHead, emitFunctionTypeBody); + } + function emitFunctionTypeHead(node) { + emitTypeParameters(node, node.typeParameters); + emitParametersForArrow(node, node.parameters); + writeSpace(); + writePunctuation("=>"); + } + function emitFunctionTypeBody(node) { + writeSpace(); + emit(node.type); + } + function emitJSDocFunctionType(node) { + writeKeyword("function"); + emitParameters(node, node.parameters); + writePunctuation(":"); + emit(node.type); + } + function emitJSDocNullableType(node) { + writePunctuation("?"); + emit(node.type); + } + function emitJSDocNonNullableType(node) { + writePunctuation("!"); + emit(node.type); + } + function emitJSDocOptionalType(node) { + emit(node.type); + writePunctuation("="); + } + function emitConstructorType(node) { + emitModifierList(node, node.modifiers); + writeKeyword("new"); + writeSpace(); + emitSignatureAndBody(node, emitFunctionTypeHead, emitFunctionTypeBody); + } + function emitTypeQuery(node) { + writeKeyword("typeof"); + writeSpace(); + emit(node.exprName); + emitTypeArguments(node, node.typeArguments); + } + function emitTypeLiteral(node) { + pushNameGenerationScope(node); + forEach(node.members, generateMemberNames); + writePunctuation("{"); + const flags = getEmitFlags(node) & 1 /* SingleLine */ ? 768 /* SingleLineTypeLiteralMembers */ : 32897 /* MultiLineTypeLiteralMembers */; + emitList(node, node.members, flags | 524288 /* NoSpaceIfEmpty */); + writePunctuation("}"); + popNameGenerationScope(node); + } + function emitArrayType(node) { + emit(node.elementType, parenthesizer.parenthesizeNonArrayTypeOfPostfixType); + writePunctuation("["); + writePunctuation("]"); + } + function emitRestOrJSDocVariadicType(node) { + writePunctuation("..."); + emit(node.type); + } + function emitTupleType(node) { + emitTokenWithComment(23 /* OpenBracketToken */, node.pos, writePunctuation, node); + const flags = getEmitFlags(node) & 1 /* SingleLine */ ? 528 /* SingleLineTupleTypeElements */ : 657 /* MultiLineTupleTypeElements */; + emitList(node, node.elements, flags | 524288 /* NoSpaceIfEmpty */, parenthesizer.parenthesizeElementTypeOfTupleType); + emitTokenWithComment(24 /* CloseBracketToken */, node.elements.end, writePunctuation, node); + } + function emitNamedTupleMember(node) { + emit(node.dotDotDotToken); + emit(node.name); + emit(node.questionToken); + emitTokenWithComment(59 /* ColonToken */, node.name.end, writePunctuation, node); + writeSpace(); + emit(node.type); + } + function emitOptionalType(node) { + emit(node.type, parenthesizer.parenthesizeTypeOfOptionalType); + writePunctuation("?"); + } + function emitUnionType(node) { + emitList(node, node.types, 516 /* UnionTypeConstituents */, parenthesizer.parenthesizeConstituentTypeOfUnionType); + } + function emitIntersectionType(node) { + emitList(node, node.types, 520 /* IntersectionTypeConstituents */, parenthesizer.parenthesizeConstituentTypeOfIntersectionType); + } + function emitConditionalType(node) { + emit(node.checkType, parenthesizer.parenthesizeCheckTypeOfConditionalType); + writeSpace(); + writeKeyword("extends"); + writeSpace(); + emit(node.extendsType, parenthesizer.parenthesizeExtendsTypeOfConditionalType); + writeSpace(); + writePunctuation("?"); + writeSpace(); + emit(node.trueType); + writeSpace(); + writePunctuation(":"); + writeSpace(); + emit(node.falseType); + } + function emitInferType(node) { + writeKeyword("infer"); + writeSpace(); + emit(node.typeParameter); + } + function emitParenthesizedType(node) { + writePunctuation("("); + emit(node.type); + writePunctuation(")"); + } + function emitThisType() { + writeKeyword("this"); + } + function emitTypeOperator(node) { + writeTokenText(node.operator, writeKeyword); + writeSpace(); + const parenthesizerRule = node.operator === 148 /* ReadonlyKeyword */ ? parenthesizer.parenthesizeOperandOfReadonlyTypeOperator : parenthesizer.parenthesizeOperandOfTypeOperator; + emit(node.type, parenthesizerRule); + } + function emitIndexedAccessType(node) { + emit(node.objectType, parenthesizer.parenthesizeNonArrayTypeOfPostfixType); + writePunctuation("["); + emit(node.indexType); + writePunctuation("]"); + } + function emitMappedType(node) { + const emitFlags = getEmitFlags(node); + writePunctuation("{"); + if (emitFlags & 1 /* SingleLine */) { + writeSpace(); + } else { + writeLine(); + increaseIndent(); + } + if (node.readonlyToken) { + emit(node.readonlyToken); + if (node.readonlyToken.kind !== 148 /* ReadonlyKeyword */) { + writeKeyword("readonly"); + } + writeSpace(); + } + writePunctuation("["); + pipelineEmit(3 /* MappedTypeParameter */, node.typeParameter); + if (node.nameType) { + writeSpace(); + writeKeyword("as"); + writeSpace(); + emit(node.nameType); + } + writePunctuation("]"); + if (node.questionToken) { + emit(node.questionToken); + if (node.questionToken.kind !== 58 /* QuestionToken */) { + writePunctuation("?"); + } + } + writePunctuation(":"); + writeSpace(); + emit(node.type); + writeTrailingSemicolon(); + if (emitFlags & 1 /* SingleLine */) { + writeSpace(); + } else { + writeLine(); + decreaseIndent(); + } + emitList(node, node.members, 2 /* PreserveLines */); + writePunctuation("}"); + } + function emitLiteralType(node) { + emitExpression(node.literal); + } + function emitTemplateType(node) { + emit(node.head); + emitList(node, node.templateSpans, 262144 /* TemplateExpressionSpans */); + } + function emitImportTypeNode(node) { + if (node.isTypeOf) { + writeKeyword("typeof"); + writeSpace(); + } + writeKeyword("import"); + writePunctuation("("); + emit(node.argument); + if (node.attributes) { + writePunctuation(","); + writeSpace(); + pipelineEmit(7 /* ImportTypeNodeAttributes */, node.attributes); + } + writePunctuation(")"); + if (node.qualifier) { + writePunctuation("."); + emit(node.qualifier); + } + emitTypeArguments(node, node.typeArguments); + } + function emitObjectBindingPattern(node) { + writePunctuation("{"); + emitList(node, node.elements, 525136 /* ObjectBindingPatternElements */); + writePunctuation("}"); + } + function emitArrayBindingPattern(node) { + writePunctuation("["); + emitList(node, node.elements, 524880 /* ArrayBindingPatternElements */); + writePunctuation("]"); + } + function emitBindingElement(node) { + emit(node.dotDotDotToken); + if (node.propertyName) { + emit(node.propertyName); + writePunctuation(":"); + writeSpace(); + } + emit(node.name); + emitInitializer(node.initializer, node.name.end, node, parenthesizer.parenthesizeExpressionForDisallowedComma); + } + function emitArrayLiteralExpression(node) { + const elements = node.elements; + const preferNewLine = node.multiLine ? 65536 /* PreferNewLine */ : 0 /* None */; + emitExpressionList(node, elements, 8914 /* ArrayLiteralExpressionElements */ | preferNewLine, parenthesizer.parenthesizeExpressionForDisallowedComma); + } + function emitObjectLiteralExpression(node) { + pushNameGenerationScope(node); + forEach(node.properties, generateMemberNames); + const indentedFlag = getEmitFlags(node) & 131072 /* Indented */; + if (indentedFlag) { + increaseIndent(); + } + const preferNewLine = node.multiLine ? 65536 /* PreferNewLine */ : 0 /* None */; + const allowTrailingComma = currentSourceFile && currentSourceFile.languageVersion >= 1 /* ES5 */ && !isJsonSourceFile(currentSourceFile) ? 64 /* AllowTrailingComma */ : 0 /* None */; + emitList(node, node.properties, 526226 /* ObjectLiteralExpressionProperties */ | allowTrailingComma | preferNewLine); + if (indentedFlag) { + decreaseIndent(); + } + popNameGenerationScope(node); + } + function emitPropertyAccessExpression(node) { + emitExpression(node.expression, parenthesizer.parenthesizeLeftSideOfAccess); + const token = node.questionDotToken || setTextRangePosEnd(factory.createToken(25 /* DotToken */), node.expression.end, node.name.pos); + const linesBeforeDot = getLinesBetweenNodes(node, node.expression, token); + const linesAfterDot = getLinesBetweenNodes(node, token, node.name); + writeLinesAndIndent( + linesBeforeDot, + /*writeSpaceIfNotIndenting*/ + false + ); + const shouldEmitDotDot = token.kind !== 29 /* QuestionDotToken */ && mayNeedDotDotForPropertyAccess(node.expression) && !writer.hasTrailingComment() && !writer.hasTrailingWhitespace(); + if (shouldEmitDotDot) { + writePunctuation("."); + } + if (node.questionDotToken) { + emit(token); + } else { + emitTokenWithComment(token.kind, node.expression.end, writePunctuation, node); + } + writeLinesAndIndent( + linesAfterDot, + /*writeSpaceIfNotIndenting*/ + false + ); + emit(node.name); + decreaseIndentIf(linesBeforeDot, linesAfterDot); + } + function mayNeedDotDotForPropertyAccess(expression) { + expression = skipPartiallyEmittedExpressions(expression); + if (isNumericLiteral(expression)) { + const text = getLiteralTextOfNode( + expression, + /*sourceFile*/ + void 0, + /*neverAsciiEscape*/ + true, + /*jsxAttributeEscape*/ + false + ); + return !(expression.numericLiteralFlags & 448 /* WithSpecifier */) && !text.includes(tokenToString(25 /* DotToken */)) && !text.includes(String.fromCharCode(69 /* E */)) && !text.includes(String.fromCharCode(101 /* e */)); + } else if (isAccessExpression(expression)) { + const constantValue = getConstantValue(expression); + return typeof constantValue === "number" && isFinite(constantValue) && constantValue >= 0 && Math.floor(constantValue) === constantValue; + } + } + function emitElementAccessExpression(node) { + emitExpression(node.expression, parenthesizer.parenthesizeLeftSideOfAccess); + emit(node.questionDotToken); + emitTokenWithComment(23 /* OpenBracketToken */, node.expression.end, writePunctuation, node); + emitExpression(node.argumentExpression); + emitTokenWithComment(24 /* CloseBracketToken */, node.argumentExpression.end, writePunctuation, node); + } + function emitCallExpression(node) { + const indirectCall = getInternalEmitFlags(node) & 16 /* IndirectCall */; + if (indirectCall) { + writePunctuation("("); + writeLiteral("0"); + writePunctuation(","); + writeSpace(); + } + emitExpression(node.expression, parenthesizer.parenthesizeLeftSideOfAccess); + if (indirectCall) { + writePunctuation(")"); + } + emit(node.questionDotToken); + emitTypeArguments(node, node.typeArguments); + emitExpressionList(node, node.arguments, 2576 /* CallExpressionArguments */, parenthesizer.parenthesizeExpressionForDisallowedComma); + } + function emitNewExpression(node) { + emitTokenWithComment(105 /* NewKeyword */, node.pos, writeKeyword, node); + writeSpace(); + emitExpression(node.expression, parenthesizer.parenthesizeExpressionOfNew); + emitTypeArguments(node, node.typeArguments); + emitExpressionList(node, node.arguments, 18960 /* NewExpressionArguments */, parenthesizer.parenthesizeExpressionForDisallowedComma); + } + function emitTaggedTemplateExpression(node) { + const indirectCall = getInternalEmitFlags(node) & 16 /* IndirectCall */; + if (indirectCall) { + writePunctuation("("); + writeLiteral("0"); + writePunctuation(","); + writeSpace(); + } + emitExpression(node.tag, parenthesizer.parenthesizeLeftSideOfAccess); + if (indirectCall) { + writePunctuation(")"); + } + emitTypeArguments(node, node.typeArguments); + writeSpace(); + emitExpression(node.template); + } + function emitTypeAssertionExpression(node) { + writePunctuation("<"); + emit(node.type); + writePunctuation(">"); + emitExpression(node.expression, parenthesizer.parenthesizeOperandOfPrefixUnary); + } + function emitParenthesizedExpression(node) { + const openParenPos = emitTokenWithComment(21 /* OpenParenToken */, node.pos, writePunctuation, node); + const indented = writeLineSeparatorsAndIndentBefore(node.expression, node); + emitExpression( + node.expression, + /*parenthesizerRule*/ + void 0 + ); + writeLineSeparatorsAfter(node.expression, node); + decreaseIndentIf(indented); + emitTokenWithComment(22 /* CloseParenToken */, node.expression ? node.expression.end : openParenPos, writePunctuation, node); + } + function emitFunctionExpression(node) { + generateNameIfNeeded(node.name); + emitFunctionDeclarationOrExpression(node); + } + function emitArrowFunction(node) { + emitModifierList(node, node.modifiers); + emitSignatureAndBody(node, emitArrowFunctionHead, emitArrowFunctionBody); + } + function emitArrowFunctionHead(node) { + emitTypeParameters(node, node.typeParameters); + emitParametersForArrow(node, node.parameters); + emitTypeAnnotation(node.type); + writeSpace(); + emit(node.equalsGreaterThanToken); + } + function emitArrowFunctionBody(node) { + if (isBlock(node.body)) { + emitBlockFunctionBody(node.body); + } else { + writeSpace(); + emitExpression(node.body, parenthesizer.parenthesizeConciseBodyOfArrowFunction); + } + } + function emitDeleteExpression(node) { + emitTokenWithComment(91 /* DeleteKeyword */, node.pos, writeKeyword, node); + writeSpace(); + emitExpression(node.expression, parenthesizer.parenthesizeOperandOfPrefixUnary); + } + function emitTypeOfExpression(node) { + emitTokenWithComment(114 /* TypeOfKeyword */, node.pos, writeKeyword, node); + writeSpace(); + emitExpression(node.expression, parenthesizer.parenthesizeOperandOfPrefixUnary); + } + function emitVoidExpression(node) { + emitTokenWithComment(116 /* VoidKeyword */, node.pos, writeKeyword, node); + writeSpace(); + emitExpression(node.expression, parenthesizer.parenthesizeOperandOfPrefixUnary); + } + function emitAwaitExpression(node) { + emitTokenWithComment(135 /* AwaitKeyword */, node.pos, writeKeyword, node); + writeSpace(); + emitExpression(node.expression, parenthesizer.parenthesizeOperandOfPrefixUnary); + } + function emitPrefixUnaryExpression(node) { + writeTokenText(node.operator, writeOperator); + if (shouldEmitWhitespaceBeforeOperand(node)) { + writeSpace(); + } + emitExpression(node.operand, parenthesizer.parenthesizeOperandOfPrefixUnary); + } + function shouldEmitWhitespaceBeforeOperand(node) { + const operand = node.operand; + return operand.kind === 224 /* PrefixUnaryExpression */ && (node.operator === 40 /* PlusToken */ && (operand.operator === 40 /* PlusToken */ || operand.operator === 46 /* PlusPlusToken */) || node.operator === 41 /* MinusToken */ && (operand.operator === 41 /* MinusToken */ || operand.operator === 47 /* MinusMinusToken */)); + } + function emitPostfixUnaryExpression(node) { + emitExpression(node.operand, parenthesizer.parenthesizeOperandOfPostfixUnary); + writeTokenText(node.operator, writeOperator); + } + function createEmitBinaryExpression() { + return createBinaryExpressionTrampoline( + onEnter, + onLeft, + onOperator, + onRight, + onExit, + /*foldState*/ + void 0 + ); + function onEnter(node, state) { + if (state) { + state.stackIndex++; + state.preserveSourceNewlinesStack[state.stackIndex] = preserveSourceNewlines; + state.containerPosStack[state.stackIndex] = containerPos; + state.containerEndStack[state.stackIndex] = containerEnd; + state.declarationListContainerEndStack[state.stackIndex] = declarationListContainerEnd; + const emitComments2 = state.shouldEmitCommentsStack[state.stackIndex] = shouldEmitComments(node); + const emitSourceMaps = state.shouldEmitSourceMapsStack[state.stackIndex] = shouldEmitSourceMaps(node); + onBeforeEmitNode == null ? void 0 : onBeforeEmitNode(node); + if (emitComments2) emitCommentsBeforeNode(node); + if (emitSourceMaps) emitSourceMapsBeforeNode(node); + beforeEmitNode(node); + } else { + state = { + stackIndex: 0, + preserveSourceNewlinesStack: [void 0], + containerPosStack: [-1], + containerEndStack: [-1], + declarationListContainerEndStack: [-1], + shouldEmitCommentsStack: [false], + shouldEmitSourceMapsStack: [false] + }; + } + return state; + } + function onLeft(next, _workArea, parent) { + return maybeEmitExpression(next, parent, "left"); + } + function onOperator(operatorToken, _state, node) { + const isCommaOperator = operatorToken.kind !== 28 /* CommaToken */; + const linesBeforeOperator = getLinesBetweenNodes(node, node.left, operatorToken); + const linesAfterOperator = getLinesBetweenNodes(node, operatorToken, node.right); + writeLinesAndIndent(linesBeforeOperator, isCommaOperator); + emitLeadingCommentsOfPosition(operatorToken.pos); + writeTokenNode(operatorToken, operatorToken.kind === 103 /* InKeyword */ ? writeKeyword : writeOperator); + emitTrailingCommentsOfPosition( + operatorToken.end, + /*prefixSpace*/ + true + ); + writeLinesAndIndent( + linesAfterOperator, + /*writeSpaceIfNotIndenting*/ + true + ); + } + function onRight(next, _workArea, parent) { + return maybeEmitExpression(next, parent, "right"); + } + function onExit(node, state) { + const linesBeforeOperator = getLinesBetweenNodes(node, node.left, node.operatorToken); + const linesAfterOperator = getLinesBetweenNodes(node, node.operatorToken, node.right); + decreaseIndentIf(linesBeforeOperator, linesAfterOperator); + if (state.stackIndex > 0) { + const savedPreserveSourceNewlines = state.preserveSourceNewlinesStack[state.stackIndex]; + const savedContainerPos = state.containerPosStack[state.stackIndex]; + const savedContainerEnd = state.containerEndStack[state.stackIndex]; + const savedDeclarationListContainerEnd = state.declarationListContainerEndStack[state.stackIndex]; + const shouldEmitComments2 = state.shouldEmitCommentsStack[state.stackIndex]; + const shouldEmitSourceMaps2 = state.shouldEmitSourceMapsStack[state.stackIndex]; + afterEmitNode(savedPreserveSourceNewlines); + if (shouldEmitSourceMaps2) emitSourceMapsAfterNode(node); + if (shouldEmitComments2) emitCommentsAfterNode(node, savedContainerPos, savedContainerEnd, savedDeclarationListContainerEnd); + onAfterEmitNode == null ? void 0 : onAfterEmitNode(node); + state.stackIndex--; + } + } + function maybeEmitExpression(next, parent, side) { + const parenthesizerRule = side === "left" ? parenthesizer.getParenthesizeLeftSideOfBinaryForOperator(parent.operatorToken.kind) : parenthesizer.getParenthesizeRightSideOfBinaryForOperator(parent.operatorToken.kind); + let pipelinePhase = getPipelinePhase(0 /* Notification */, 1 /* Expression */, next); + if (pipelinePhase === pipelineEmitWithSubstitution) { + Debug.assertIsDefined(lastSubstitution); + next = parenthesizerRule(cast(lastSubstitution, isExpression)); + pipelinePhase = getNextPipelinePhase(1 /* Substitution */, 1 /* Expression */, next); + lastSubstitution = void 0; + } + if (pipelinePhase === pipelineEmitWithComments || pipelinePhase === pipelineEmitWithSourceMaps || pipelinePhase === pipelineEmitWithHint) { + if (isBinaryExpression(next)) { + return next; + } + } + currentParenthesizerRule = parenthesizerRule; + pipelinePhase(1 /* Expression */, next); + } + } + function emitConditionalExpression(node) { + const linesBeforeQuestion = getLinesBetweenNodes(node, node.condition, node.questionToken); + const linesAfterQuestion = getLinesBetweenNodes(node, node.questionToken, node.whenTrue); + const linesBeforeColon = getLinesBetweenNodes(node, node.whenTrue, node.colonToken); + const linesAfterColon = getLinesBetweenNodes(node, node.colonToken, node.whenFalse); + emitExpression(node.condition, parenthesizer.parenthesizeConditionOfConditionalExpression); + writeLinesAndIndent( + linesBeforeQuestion, + /*writeSpaceIfNotIndenting*/ + true + ); + emit(node.questionToken); + writeLinesAndIndent( + linesAfterQuestion, + /*writeSpaceIfNotIndenting*/ + true + ); + emitExpression(node.whenTrue, parenthesizer.parenthesizeBranchOfConditionalExpression); + decreaseIndentIf(linesBeforeQuestion, linesAfterQuestion); + writeLinesAndIndent( + linesBeforeColon, + /*writeSpaceIfNotIndenting*/ + true + ); + emit(node.colonToken); + writeLinesAndIndent( + linesAfterColon, + /*writeSpaceIfNotIndenting*/ + true + ); + emitExpression(node.whenFalse, parenthesizer.parenthesizeBranchOfConditionalExpression); + decreaseIndentIf(linesBeforeColon, linesAfterColon); + } + function emitTemplateExpression(node) { + emit(node.head); + emitList(node, node.templateSpans, 262144 /* TemplateExpressionSpans */); + } + function emitYieldExpression(node) { + emitTokenWithComment(127 /* YieldKeyword */, node.pos, writeKeyword, node); + emit(node.asteriskToken); + emitExpressionWithLeadingSpace(node.expression && parenthesizeExpressionForNoAsi(node.expression), parenthesizeExpressionForNoAsiAndDisallowedComma); + } + function emitSpreadElement(node) { + emitTokenWithComment(26 /* DotDotDotToken */, node.pos, writePunctuation, node); + emitExpression(node.expression, parenthesizer.parenthesizeExpressionForDisallowedComma); + } + function emitClassExpression(node) { + generateNameIfNeeded(node.name); + emitClassDeclarationOrExpression(node); + } + function emitExpressionWithTypeArguments(node) { + emitExpression(node.expression, parenthesizer.parenthesizeLeftSideOfAccess); + emitTypeArguments(node, node.typeArguments); + } + function emitAsExpression(node) { + emitExpression( + node.expression, + /*parenthesizerRule*/ + void 0 + ); + if (node.type) { + writeSpace(); + writeKeyword("as"); + writeSpace(); + emit(node.type); + } + } + function emitNonNullExpression(node) { + emitExpression(node.expression, parenthesizer.parenthesizeLeftSideOfAccess); + writeOperator("!"); + } + function emitSatisfiesExpression(node) { + emitExpression( + node.expression, + /*parenthesizerRule*/ + void 0 + ); + if (node.type) { + writeSpace(); + writeKeyword("satisfies"); + writeSpace(); + emit(node.type); + } + } + function emitMetaProperty(node) { + writeToken(node.keywordToken, node.pos, writePunctuation); + writePunctuation("."); + emit(node.name); + } + function emitTemplateSpan(node) { + emitExpression(node.expression); + emit(node.literal); + } + function emitBlock(node) { + emitBlockStatements( + node, + /*forceSingleLine*/ + !node.multiLine && isEmptyBlock(node) + ); + } + function emitBlockStatements(node, forceSingleLine) { + emitTokenWithComment( + 19 /* OpenBraceToken */, + node.pos, + writePunctuation, + /*contextNode*/ + node + ); + const format = forceSingleLine || getEmitFlags(node) & 1 /* SingleLine */ ? 768 /* SingleLineBlockStatements */ : 129 /* MultiLineBlockStatements */; + emitList(node, node.statements, format); + emitTokenWithComment( + 20 /* CloseBraceToken */, + node.statements.end, + writePunctuation, + /*contextNode*/ + node, + /*indentLeading*/ + !!(format & 1 /* MultiLine */) + ); + } + function emitVariableStatement(node) { + emitDecoratorsAndModifiers( + node, + node.modifiers, + /*allowDecorators*/ + false + ); + emit(node.declarationList); + writeTrailingSemicolon(); + } + function emitEmptyStatement(isEmbeddedStatement) { + if (isEmbeddedStatement) { + writePunctuation(";"); + } else { + writeTrailingSemicolon(); + } + } + function emitExpressionStatement(node) { + emitExpression(node.expression, parenthesizer.parenthesizeExpressionOfExpressionStatement); + if (!currentSourceFile || !isJsonSourceFile(currentSourceFile) || nodeIsSynthesized(node.expression)) { + writeTrailingSemicolon(); + } + } + function emitIfStatement(node) { + const openParenPos = emitTokenWithComment(101 /* IfKeyword */, node.pos, writeKeyword, node); + writeSpace(); + emitTokenWithComment(21 /* OpenParenToken */, openParenPos, writePunctuation, node); + emitExpression(node.expression); + emitTokenWithComment(22 /* CloseParenToken */, node.expression.end, writePunctuation, node); + emitEmbeddedStatement(node, node.thenStatement); + if (node.elseStatement) { + writeLineOrSpace(node, node.thenStatement, node.elseStatement); + emitTokenWithComment(93 /* ElseKeyword */, node.thenStatement.end, writeKeyword, node); + if (node.elseStatement.kind === 245 /* IfStatement */) { + writeSpace(); + emit(node.elseStatement); + } else { + emitEmbeddedStatement(node, node.elseStatement); + } + } + } + function emitWhileClause(node, startPos) { + const openParenPos = emitTokenWithComment(117 /* WhileKeyword */, startPos, writeKeyword, node); + writeSpace(); + emitTokenWithComment(21 /* OpenParenToken */, openParenPos, writePunctuation, node); + emitExpression(node.expression); + emitTokenWithComment(22 /* CloseParenToken */, node.expression.end, writePunctuation, node); + } + function emitDoStatement(node) { + emitTokenWithComment(92 /* DoKeyword */, node.pos, writeKeyword, node); + emitEmbeddedStatement(node, node.statement); + if (isBlock(node.statement) && !preserveSourceNewlines) { + writeSpace(); + } else { + writeLineOrSpace(node, node.statement, node.expression); + } + emitWhileClause(node, node.statement.end); + writeTrailingSemicolon(); + } + function emitWhileStatement(node) { + emitWhileClause(node, node.pos); + emitEmbeddedStatement(node, node.statement); + } + function emitForStatement(node) { + const openParenPos = emitTokenWithComment(99 /* ForKeyword */, node.pos, writeKeyword, node); + writeSpace(); + let pos = emitTokenWithComment( + 21 /* OpenParenToken */, + openParenPos, + writePunctuation, + /*contextNode*/ + node + ); + emitForBinding(node.initializer); + pos = emitTokenWithComment(27 /* SemicolonToken */, node.initializer ? node.initializer.end : pos, writePunctuation, node); + emitExpressionWithLeadingSpace(node.condition); + pos = emitTokenWithComment(27 /* SemicolonToken */, node.condition ? node.condition.end : pos, writePunctuation, node); + emitExpressionWithLeadingSpace(node.incrementor); + emitTokenWithComment(22 /* CloseParenToken */, node.incrementor ? node.incrementor.end : pos, writePunctuation, node); + emitEmbeddedStatement(node, node.statement); + } + function emitForInStatement(node) { + const openParenPos = emitTokenWithComment(99 /* ForKeyword */, node.pos, writeKeyword, node); + writeSpace(); + emitTokenWithComment(21 /* OpenParenToken */, openParenPos, writePunctuation, node); + emitForBinding(node.initializer); + writeSpace(); + emitTokenWithComment(103 /* InKeyword */, node.initializer.end, writeKeyword, node); + writeSpace(); + emitExpression(node.expression); + emitTokenWithComment(22 /* CloseParenToken */, node.expression.end, writePunctuation, node); + emitEmbeddedStatement(node, node.statement); + } + function emitForOfStatement(node) { + const openParenPos = emitTokenWithComment(99 /* ForKeyword */, node.pos, writeKeyword, node); + writeSpace(); + emitWithTrailingSpace(node.awaitModifier); + emitTokenWithComment(21 /* OpenParenToken */, openParenPos, writePunctuation, node); + emitForBinding(node.initializer); + writeSpace(); + emitTokenWithComment(165 /* OfKeyword */, node.initializer.end, writeKeyword, node); + writeSpace(); + emitExpression(node.expression); + emitTokenWithComment(22 /* CloseParenToken */, node.expression.end, writePunctuation, node); + emitEmbeddedStatement(node, node.statement); + } + function emitForBinding(node) { + if (node !== void 0) { + if (node.kind === 261 /* VariableDeclarationList */) { + emit(node); + } else { + emitExpression(node); + } + } + } + function emitContinueStatement(node) { + emitTokenWithComment(88 /* ContinueKeyword */, node.pos, writeKeyword, node); + emitWithLeadingSpace(node.label); + writeTrailingSemicolon(); + } + function emitBreakStatement(node) { + emitTokenWithComment(83 /* BreakKeyword */, node.pos, writeKeyword, node); + emitWithLeadingSpace(node.label); + writeTrailingSemicolon(); + } + function emitTokenWithComment(token, pos, writer2, contextNode, indentLeading) { + const node = getParseTreeNode(contextNode); + const isSimilarNode = node && node.kind === contextNode.kind; + const startPos = pos; + if (isSimilarNode && currentSourceFile) { + pos = skipTrivia(currentSourceFile.text, pos); + } + if (isSimilarNode && contextNode.pos !== startPos) { + const needsIndent = indentLeading && currentSourceFile && !positionsAreOnSameLine(startPos, pos, currentSourceFile); + if (needsIndent) { + increaseIndent(); + } + emitLeadingCommentsOfPosition(startPos); + if (needsIndent) { + decreaseIndent(); + } + } + if (!omitBraceSourcePositions && (token === 19 /* OpenBraceToken */ || token === 20 /* CloseBraceToken */)) { + pos = writeToken(token, pos, writer2, contextNode); + } else { + pos = writeTokenText(token, writer2, pos); + } + if (isSimilarNode && contextNode.end !== pos) { + const isJsxExprContext = contextNode.kind === 294 /* JsxExpression */; + emitTrailingCommentsOfPosition( + pos, + /*prefixSpace*/ + !isJsxExprContext, + /*forceNoNewline*/ + isJsxExprContext + ); + } + return pos; + } + function commentWillEmitNewLine(node) { + return node.kind === 2 /* SingleLineCommentTrivia */ || !!node.hasTrailingNewLine; + } + function willEmitLeadingNewLine(node) { + if (!currentSourceFile) return false; + const leadingCommentRanges = getLeadingCommentRanges(currentSourceFile.text, node.pos); + if (leadingCommentRanges) { + const parseNode = getParseTreeNode(node); + if (parseNode && isParenthesizedExpression(parseNode.parent)) { + return true; + } + } + if (some(leadingCommentRanges, commentWillEmitNewLine)) return true; + if (some(getSyntheticLeadingComments(node), commentWillEmitNewLine)) return true; + if (isPartiallyEmittedExpression(node)) { + if (node.pos !== node.expression.pos) { + if (some(getTrailingCommentRanges(currentSourceFile.text, node.expression.pos), commentWillEmitNewLine)) return true; + } + return willEmitLeadingNewLine(node.expression); + } + return false; + } + function parenthesizeExpressionForNoAsi(node) { + if (!commentsDisabled) { + switch (node.kind) { + case 355 /* PartiallyEmittedExpression */: + if (willEmitLeadingNewLine(node)) { + const parseNode = getParseTreeNode(node); + if (parseNode && isParenthesizedExpression(parseNode)) { + const parens = factory.createParenthesizedExpression(node.expression); + setOriginalNode(parens, node); + setTextRange(parens, parseNode); + return parens; + } + return factory.createParenthesizedExpression(node); + } + return factory.updatePartiallyEmittedExpression( + node, + parenthesizeExpressionForNoAsi(node.expression) + ); + case 211 /* PropertyAccessExpression */: + return factory.updatePropertyAccessExpression( + node, + parenthesizeExpressionForNoAsi(node.expression), + node.name + ); + case 212 /* ElementAccessExpression */: + return factory.updateElementAccessExpression( + node, + parenthesizeExpressionForNoAsi(node.expression), + node.argumentExpression + ); + case 213 /* CallExpression */: + return factory.updateCallExpression( + node, + parenthesizeExpressionForNoAsi(node.expression), + node.typeArguments, + node.arguments + ); + case 215 /* TaggedTemplateExpression */: + return factory.updateTaggedTemplateExpression( + node, + parenthesizeExpressionForNoAsi(node.tag), + node.typeArguments, + node.template + ); + case 225 /* PostfixUnaryExpression */: + return factory.updatePostfixUnaryExpression( + node, + parenthesizeExpressionForNoAsi(node.operand) + ); + case 226 /* BinaryExpression */: + return factory.updateBinaryExpression( + node, + parenthesizeExpressionForNoAsi(node.left), + node.operatorToken, + node.right + ); + case 227 /* ConditionalExpression */: + return factory.updateConditionalExpression( + node, + parenthesizeExpressionForNoAsi(node.condition), + node.questionToken, + node.whenTrue, + node.colonToken, + node.whenFalse + ); + case 234 /* AsExpression */: + return factory.updateAsExpression( + node, + parenthesizeExpressionForNoAsi(node.expression), + node.type + ); + case 238 /* SatisfiesExpression */: + return factory.updateSatisfiesExpression( + node, + parenthesizeExpressionForNoAsi(node.expression), + node.type + ); + case 235 /* NonNullExpression */: + return factory.updateNonNullExpression( + node, + parenthesizeExpressionForNoAsi(node.expression) + ); + } + } + return node; + } + function parenthesizeExpressionForNoAsiAndDisallowedComma(node) { + return parenthesizeExpressionForNoAsi(parenthesizer.parenthesizeExpressionForDisallowedComma(node)); + } + function emitReturnStatement(node) { + emitTokenWithComment( + 107 /* ReturnKeyword */, + node.pos, + writeKeyword, + /*contextNode*/ + node + ); + emitExpressionWithLeadingSpace(node.expression && parenthesizeExpressionForNoAsi(node.expression), parenthesizeExpressionForNoAsi); + writeTrailingSemicolon(); + } + function emitWithStatement(node) { + const openParenPos = emitTokenWithComment(118 /* WithKeyword */, node.pos, writeKeyword, node); + writeSpace(); + emitTokenWithComment(21 /* OpenParenToken */, openParenPos, writePunctuation, node); + emitExpression(node.expression); + emitTokenWithComment(22 /* CloseParenToken */, node.expression.end, writePunctuation, node); + emitEmbeddedStatement(node, node.statement); + } + function emitSwitchStatement(node) { + const openParenPos = emitTokenWithComment(109 /* SwitchKeyword */, node.pos, writeKeyword, node); + writeSpace(); + emitTokenWithComment(21 /* OpenParenToken */, openParenPos, writePunctuation, node); + emitExpression(node.expression); + emitTokenWithComment(22 /* CloseParenToken */, node.expression.end, writePunctuation, node); + writeSpace(); + emit(node.caseBlock); + } + function emitLabeledStatement(node) { + emit(node.label); + emitTokenWithComment(59 /* ColonToken */, node.label.end, writePunctuation, node); + writeSpace(); + emit(node.statement); + } + function emitThrowStatement(node) { + emitTokenWithComment(111 /* ThrowKeyword */, node.pos, writeKeyword, node); + emitExpressionWithLeadingSpace(parenthesizeExpressionForNoAsi(node.expression), parenthesizeExpressionForNoAsi); + writeTrailingSemicolon(); + } + function emitTryStatement(node) { + emitTokenWithComment(113 /* TryKeyword */, node.pos, writeKeyword, node); + writeSpace(); + emit(node.tryBlock); + if (node.catchClause) { + writeLineOrSpace(node, node.tryBlock, node.catchClause); + emit(node.catchClause); + } + if (node.finallyBlock) { + writeLineOrSpace(node, node.catchClause || node.tryBlock, node.finallyBlock); + emitTokenWithComment(98 /* FinallyKeyword */, (node.catchClause || node.tryBlock).end, writeKeyword, node); + writeSpace(); + emit(node.finallyBlock); + } + } + function emitDebuggerStatement(node) { + writeToken(89 /* DebuggerKeyword */, node.pos, writeKeyword); + writeTrailingSemicolon(); + } + function emitVariableDeclaration(node) { + var _a, _b, _c; + emit(node.name); + emit(node.exclamationToken); + emitTypeAnnotation(node.type); + emitInitializer(node.initializer, ((_a = node.type) == null ? void 0 : _a.end) ?? ((_c = (_b = node.name.emitNode) == null ? void 0 : _b.typeNode) == null ? void 0 : _c.end) ?? node.name.end, node, parenthesizer.parenthesizeExpressionForDisallowedComma); + } + function emitVariableDeclarationList(node) { + if (isVarAwaitUsing(node)) { + writeKeyword("await"); + writeSpace(); + writeKeyword("using"); + } else { + const head = isLet(node) ? "let" : isVarConst(node) ? "const" : isVarUsing(node) ? "using" : "var"; + writeKeyword(head); + } + writeSpace(); + emitList(node, node.declarations, 528 /* VariableDeclarationList */); + } + function emitFunctionDeclaration(node) { + emitFunctionDeclarationOrExpression(node); + } + function emitFunctionDeclarationOrExpression(node) { + emitDecoratorsAndModifiers( + node, + node.modifiers, + /*allowDecorators*/ + false + ); + writeKeyword("function"); + emit(node.asteriskToken); + writeSpace(); + emitIdentifierName(node.name); + emitSignatureAndBody(node, emitSignatureHead, emitFunctionBody); + } + function emitSignatureAndBody(node, emitSignatureHead2, emitBody) { + const indentedFlag = getEmitFlags(node) & 131072 /* Indented */; + if (indentedFlag) { + increaseIndent(); + } + pushNameGenerationScope(node); + forEach(node.parameters, generateNames); + emitSignatureHead2(node); + emitBody(node); + popNameGenerationScope(node); + if (indentedFlag) { + decreaseIndent(); + } + } + function emitFunctionBody(node) { + const body = node.body; + if (body) { + emitBlockFunctionBody(body); + } else { + writeTrailingSemicolon(); + } + } + function emitEmptyFunctionBody(_node) { + writeTrailingSemicolon(); + } + function emitSignatureHead(node) { + emitTypeParameters(node, node.typeParameters); + emitParameters(node, node.parameters); + emitTypeAnnotation(node.type); + } + function shouldEmitBlockFunctionBodyOnSingleLine(body) { + if (getEmitFlags(body) & 1 /* SingleLine */) { + return true; + } + if (body.multiLine) { + return false; + } + if (!nodeIsSynthesized(body) && currentSourceFile && !rangeIsOnSingleLine(body, currentSourceFile)) { + return false; + } + if (getLeadingLineTerminatorCount(body, firstOrUndefined(body.statements), 2 /* PreserveLines */) || getClosingLineTerminatorCount(body, lastOrUndefined(body.statements), 2 /* PreserveLines */, body.statements)) { + return false; + } + let previousStatement; + for (const statement of body.statements) { + if (getSeparatingLineTerminatorCount(previousStatement, statement, 2 /* PreserveLines */) > 0) { + return false; + } + previousStatement = statement; + } + return true; + } + function emitBlockFunctionBody(body) { + generateNames(body); + onBeforeEmitNode == null ? void 0 : onBeforeEmitNode(body); + writeSpace(); + writePunctuation("{"); + increaseIndent(); + const emitBlockFunctionBody2 = shouldEmitBlockFunctionBodyOnSingleLine(body) ? emitBlockFunctionBodyOnSingleLine : emitBlockFunctionBodyWorker; + emitBodyWithDetachedComments(body, body.statements, emitBlockFunctionBody2); + decreaseIndent(); + writeToken(20 /* CloseBraceToken */, body.statements.end, writePunctuation, body); + onAfterEmitNode == null ? void 0 : onAfterEmitNode(body); + } + function emitBlockFunctionBodyOnSingleLine(body) { + emitBlockFunctionBodyWorker( + body, + /*emitBlockFunctionBodyOnSingleLine*/ + true + ); + } + function emitBlockFunctionBodyWorker(body, emitBlockFunctionBodyOnSingleLine2) { + const statementOffset = emitPrologueDirectives(body.statements); + const pos = writer.getTextPos(); + emitHelpers(body); + if (statementOffset === 0 && pos === writer.getTextPos() && emitBlockFunctionBodyOnSingleLine2) { + decreaseIndent(); + emitList(body, body.statements, 768 /* SingleLineFunctionBodyStatements */); + increaseIndent(); + } else { + emitList( + body, + body.statements, + 1 /* MultiLineFunctionBodyStatements */, + /*parenthesizerRule*/ + void 0, + statementOffset + ); + } + } + function emitClassDeclaration(node) { + emitClassDeclarationOrExpression(node); + } + function emitClassDeclarationOrExpression(node) { + emitDecoratorsAndModifiers( + node, + node.modifiers, + /*allowDecorators*/ + true + ); + emitTokenWithComment(86 /* ClassKeyword */, moveRangePastModifiers(node).pos, writeKeyword, node); + if (node.name) { + writeSpace(); + emitIdentifierName(node.name); + } + const indentedFlag = getEmitFlags(node) & 131072 /* Indented */; + if (indentedFlag) { + increaseIndent(); + } + emitTypeParameters(node, node.typeParameters); + emitList(node, node.heritageClauses, 0 /* ClassHeritageClauses */); + writeSpace(); + writePunctuation("{"); + pushNameGenerationScope(node); + forEach(node.members, generateMemberNames); + emitList(node, node.members, 129 /* ClassMembers */); + popNameGenerationScope(node); + writePunctuation("}"); + if (indentedFlag) { + decreaseIndent(); + } + } + function emitInterfaceDeclaration(node) { + emitDecoratorsAndModifiers( + node, + node.modifiers, + /*allowDecorators*/ + false + ); + writeKeyword("interface"); + writeSpace(); + emit(node.name); + emitTypeParameters(node, node.typeParameters); + emitList(node, node.heritageClauses, 512 /* HeritageClauses */); + writeSpace(); + writePunctuation("{"); + pushNameGenerationScope(node); + forEach(node.members, generateMemberNames); + emitList(node, node.members, 129 /* InterfaceMembers */); + popNameGenerationScope(node); + writePunctuation("}"); + } + function emitTypeAliasDeclaration(node) { + emitDecoratorsAndModifiers( + node, + node.modifiers, + /*allowDecorators*/ + false + ); + writeKeyword("type"); + writeSpace(); + emit(node.name); + emitTypeParameters(node, node.typeParameters); + writeSpace(); + writePunctuation("="); + writeSpace(); + emit(node.type); + writeTrailingSemicolon(); + } + function emitEnumDeclaration(node) { + emitDecoratorsAndModifiers( + node, + node.modifiers, + /*allowDecorators*/ + false + ); + writeKeyword("enum"); + writeSpace(); + emit(node.name); + writeSpace(); + writePunctuation("{"); + emitList(node, node.members, 145 /* EnumMembers */); + writePunctuation("}"); + } + function emitModuleDeclaration(node) { + emitDecoratorsAndModifiers( + node, + node.modifiers, + /*allowDecorators*/ + false + ); + if (~node.flags & 2048 /* GlobalAugmentation */) { + writeKeyword(node.flags & 32 /* Namespace */ ? "namespace" : "module"); + writeSpace(); + } + emit(node.name); + let body = node.body; + if (!body) return writeTrailingSemicolon(); + while (body && isModuleDeclaration(body)) { + writePunctuation("."); + emit(body.name); + body = body.body; + } + writeSpace(); + emit(body); + } + function emitModuleBlock(node) { + pushNameGenerationScope(node); + forEach(node.statements, generateNames); + emitBlockStatements( + node, + /*forceSingleLine*/ + isEmptyBlock(node) + ); + popNameGenerationScope(node); + } + function emitCaseBlock(node) { + emitTokenWithComment(19 /* OpenBraceToken */, node.pos, writePunctuation, node); + emitList(node, node.clauses, 129 /* CaseBlockClauses */); + emitTokenWithComment( + 20 /* CloseBraceToken */, + node.clauses.end, + writePunctuation, + node, + /*indentLeading*/ + true + ); + } + function emitImportEqualsDeclaration(node) { + emitDecoratorsAndModifiers( + node, + node.modifiers, + /*allowDecorators*/ + false + ); + emitTokenWithComment(102 /* ImportKeyword */, node.modifiers ? node.modifiers.end : node.pos, writeKeyword, node); + writeSpace(); + if (node.isTypeOnly) { + emitTokenWithComment(156 /* TypeKeyword */, node.pos, writeKeyword, node); + writeSpace(); + } + emit(node.name); + writeSpace(); + emitTokenWithComment(64 /* EqualsToken */, node.name.end, writePunctuation, node); + writeSpace(); + emitModuleReference(node.moduleReference); + writeTrailingSemicolon(); + } + function emitModuleReference(node) { + if (node.kind === 80 /* Identifier */) { + emitExpression(node); + } else { + emit(node); + } + } + function emitImportDeclaration(node) { + emitDecoratorsAndModifiers( + node, + node.modifiers, + /*allowDecorators*/ + false + ); + emitTokenWithComment(102 /* ImportKeyword */, node.modifiers ? node.modifiers.end : node.pos, writeKeyword, node); + writeSpace(); + if (node.importClause) { + emit(node.importClause); + writeSpace(); + emitTokenWithComment(161 /* FromKeyword */, node.importClause.end, writeKeyword, node); + writeSpace(); + } + emitExpression(node.moduleSpecifier); + if (node.attributes) { + emitWithLeadingSpace(node.attributes); + } + writeTrailingSemicolon(); + } + function emitImportClause(node) { + if (node.isTypeOnly) { + emitTokenWithComment(156 /* TypeKeyword */, node.pos, writeKeyword, node); + writeSpace(); + } + emit(node.name); + if (node.name && node.namedBindings) { + emitTokenWithComment(28 /* CommaToken */, node.name.end, writePunctuation, node); + writeSpace(); + } + emit(node.namedBindings); + } + function emitNamespaceImport(node) { + const asPos = emitTokenWithComment(42 /* AsteriskToken */, node.pos, writePunctuation, node); + writeSpace(); + emitTokenWithComment(130 /* AsKeyword */, asPos, writeKeyword, node); + writeSpace(); + emit(node.name); + } + function emitNamedImports(node) { + emitNamedImportsOrExports(node); + } + function emitImportSpecifier(node) { + emitImportOrExportSpecifier(node); + } + function emitExportAssignment(node) { + const nextPos = emitTokenWithComment(95 /* ExportKeyword */, node.pos, writeKeyword, node); + writeSpace(); + if (node.isExportEquals) { + emitTokenWithComment(64 /* EqualsToken */, nextPos, writeOperator, node); + } else { + emitTokenWithComment(90 /* DefaultKeyword */, nextPos, writeKeyword, node); + } + writeSpace(); + emitExpression( + node.expression, + node.isExportEquals ? parenthesizer.getParenthesizeRightSideOfBinaryForOperator(64 /* EqualsToken */) : parenthesizer.parenthesizeExpressionOfExportDefault + ); + writeTrailingSemicolon(); + } + function emitExportDeclaration(node) { + emitDecoratorsAndModifiers( + node, + node.modifiers, + /*allowDecorators*/ + false + ); + let nextPos = emitTokenWithComment(95 /* ExportKeyword */, node.pos, writeKeyword, node); + writeSpace(); + if (node.isTypeOnly) { + nextPos = emitTokenWithComment(156 /* TypeKeyword */, nextPos, writeKeyword, node); + writeSpace(); + } + if (node.exportClause) { + emit(node.exportClause); + } else { + nextPos = emitTokenWithComment(42 /* AsteriskToken */, nextPos, writePunctuation, node); + } + if (node.moduleSpecifier) { + writeSpace(); + const fromPos = node.exportClause ? node.exportClause.end : nextPos; + emitTokenWithComment(161 /* FromKeyword */, fromPos, writeKeyword, node); + writeSpace(); + emitExpression(node.moduleSpecifier); + } + if (node.attributes) { + emitWithLeadingSpace(node.attributes); + } + writeTrailingSemicolon(); + } + function emitImportTypeNodeAttributes(node) { + writePunctuation("{"); + writeSpace(); + writeKeyword(node.token === 132 /* AssertKeyword */ ? "assert" : "with"); + writePunctuation(":"); + writeSpace(); + const elements = node.elements; + emitList(node, elements, 526226 /* ImportAttributes */); + writeSpace(); + writePunctuation("}"); + } + function emitImportAttributes(node) { + emitTokenWithComment(node.token, node.pos, writeKeyword, node); + writeSpace(); + const elements = node.elements; + emitList(node, elements, 526226 /* ImportAttributes */); + } + function emitImportAttribute(node) { + emit(node.name); + writePunctuation(":"); + writeSpace(); + const value = node.value; + if ((getEmitFlags(value) & 1024 /* NoLeadingComments */) === 0) { + const commentRange = getCommentRange(value); + emitTrailingCommentsOfPosition(commentRange.pos); + } + emit(value); + } + function emitNamespaceExportDeclaration(node) { + let nextPos = emitTokenWithComment(95 /* ExportKeyword */, node.pos, writeKeyword, node); + writeSpace(); + nextPos = emitTokenWithComment(130 /* AsKeyword */, nextPos, writeKeyword, node); + writeSpace(); + nextPos = emitTokenWithComment(145 /* NamespaceKeyword */, nextPos, writeKeyword, node); + writeSpace(); + emit(node.name); + writeTrailingSemicolon(); + } + function emitNamespaceExport(node) { + const asPos = emitTokenWithComment(42 /* AsteriskToken */, node.pos, writePunctuation, node); + writeSpace(); + emitTokenWithComment(130 /* AsKeyword */, asPos, writeKeyword, node); + writeSpace(); + emit(node.name); + } + function emitNamedExports(node) { + emitNamedImportsOrExports(node); + } + function emitExportSpecifier(node) { + emitImportOrExportSpecifier(node); + } + function emitNamedImportsOrExports(node) { + writePunctuation("{"); + emitList(node, node.elements, 525136 /* NamedImportsOrExportsElements */); + writePunctuation("}"); + } + function emitImportOrExportSpecifier(node) { + if (node.isTypeOnly) { + writeKeyword("type"); + writeSpace(); + } + if (node.propertyName) { + emit(node.propertyName); + writeSpace(); + emitTokenWithComment(130 /* AsKeyword */, node.propertyName.end, writeKeyword, node); + writeSpace(); + } + emit(node.name); + } + function emitExternalModuleReference(node) { + writeKeyword("require"); + writePunctuation("("); + emitExpression(node.expression); + writePunctuation(")"); + } + function emitJsxElement(node) { + emit(node.openingElement); + emitList(node, node.children, 262144 /* JsxElementOrFragmentChildren */); + emit(node.closingElement); + } + function emitJsxSelfClosingElement(node) { + writePunctuation("<"); + emitJsxTagName(node.tagName); + emitTypeArguments(node, node.typeArguments); + writeSpace(); + emit(node.attributes); + writePunctuation("/>"); + } + function emitJsxFragment(node) { + emit(node.openingFragment); + emitList(node, node.children, 262144 /* JsxElementOrFragmentChildren */); + emit(node.closingFragment); + } + function emitJsxOpeningElementOrFragment(node) { + writePunctuation("<"); + if (isJsxOpeningElement(node)) { + const indented = writeLineSeparatorsAndIndentBefore(node.tagName, node); + emitJsxTagName(node.tagName); + emitTypeArguments(node, node.typeArguments); + if (node.attributes.properties && node.attributes.properties.length > 0) { + writeSpace(); + } + emit(node.attributes); + writeLineSeparatorsAfter(node.attributes, node); + decreaseIndentIf(indented); + } + writePunctuation(">"); + } + function emitJsxText(node) { + writer.writeLiteral(node.text); + } + function emitJsxClosingElementOrFragment(node) { + writePunctuation(""); + } + function emitJsxAttributes(node) { + emitList(node, node.properties, 262656 /* JsxElementAttributes */); + } + function emitJsxAttribute(node) { + emit(node.name); + emitNodeWithPrefix("=", writePunctuation, node.initializer, emitJsxAttributeValue); + } + function emitJsxSpreadAttribute(node) { + writePunctuation("{..."); + emitExpression(node.expression); + writePunctuation("}"); + } + function hasTrailingCommentsAtPosition(pos) { + let result = false; + forEachTrailingCommentRange((currentSourceFile == null ? void 0 : currentSourceFile.text) || "", pos + 1, () => result = true); + return result; + } + function hasLeadingCommentsAtPosition(pos) { + let result = false; + forEachLeadingCommentRange((currentSourceFile == null ? void 0 : currentSourceFile.text) || "", pos + 1, () => result = true); + return result; + } + function hasCommentsAtPosition(pos) { + return hasTrailingCommentsAtPosition(pos) || hasLeadingCommentsAtPosition(pos); + } + function emitJsxExpression(node) { + var _a; + if (node.expression || !commentsDisabled && !nodeIsSynthesized(node) && hasCommentsAtPosition(node.pos)) { + const isMultiline = currentSourceFile && !nodeIsSynthesized(node) && getLineAndCharacterOfPosition(currentSourceFile, node.pos).line !== getLineAndCharacterOfPosition(currentSourceFile, node.end).line; + if (isMultiline) { + writer.increaseIndent(); + } + const end = emitTokenWithComment(19 /* OpenBraceToken */, node.pos, writePunctuation, node); + emit(node.dotDotDotToken); + emitExpression(node.expression); + emitTokenWithComment(20 /* CloseBraceToken */, ((_a = node.expression) == null ? void 0 : _a.end) || end, writePunctuation, node); + if (isMultiline) { + writer.decreaseIndent(); + } + } + } + function emitJsxNamespacedName(node) { + emitIdentifierName(node.namespace); + writePunctuation(":"); + emitIdentifierName(node.name); + } + function emitJsxTagName(node) { + if (node.kind === 80 /* Identifier */) { + emitExpression(node); + } else { + emit(node); + } + } + function emitCaseClause(node) { + emitTokenWithComment(84 /* CaseKeyword */, node.pos, writeKeyword, node); + writeSpace(); + emitExpression(node.expression, parenthesizer.parenthesizeExpressionForDisallowedComma); + emitCaseOrDefaultClauseRest(node, node.statements, node.expression.end); + } + function emitDefaultClause(node) { + const pos = emitTokenWithComment(90 /* DefaultKeyword */, node.pos, writeKeyword, node); + emitCaseOrDefaultClauseRest(node, node.statements, pos); + } + function emitCaseOrDefaultClauseRest(parentNode, statements, colonPos) { + const emitAsSingleStatement = statements.length === 1 && // treat synthesized nodes as located on the same line for emit purposes + (!currentSourceFile || nodeIsSynthesized(parentNode) || nodeIsSynthesized(statements[0]) || rangeStartPositionsAreOnSameLine(parentNode, statements[0], currentSourceFile)); + let format = 163969 /* CaseOrDefaultClauseStatements */; + if (emitAsSingleStatement) { + writeToken(59 /* ColonToken */, colonPos, writePunctuation, parentNode); + writeSpace(); + format &= ~(1 /* MultiLine */ | 128 /* Indented */); + } else { + emitTokenWithComment(59 /* ColonToken */, colonPos, writePunctuation, parentNode); + } + emitList(parentNode, statements, format); + } + function emitHeritageClause(node) { + writeSpace(); + writeTokenText(node.token, writeKeyword); + writeSpace(); + emitList(node, node.types, 528 /* HeritageClauseTypes */); + } + function emitCatchClause(node) { + const openParenPos = emitTokenWithComment(85 /* CatchKeyword */, node.pos, writeKeyword, node); + writeSpace(); + if (node.variableDeclaration) { + emitTokenWithComment(21 /* OpenParenToken */, openParenPos, writePunctuation, node); + emit(node.variableDeclaration); + emitTokenWithComment(22 /* CloseParenToken */, node.variableDeclaration.end, writePunctuation, node); + writeSpace(); + } + emit(node.block); + } + function emitPropertyAssignment(node) { + emit(node.name); + writePunctuation(":"); + writeSpace(); + const initializer = node.initializer; + if ((getEmitFlags(initializer) & 1024 /* NoLeadingComments */) === 0) { + const commentRange = getCommentRange(initializer); + emitTrailingCommentsOfPosition(commentRange.pos); + } + emitExpression(initializer, parenthesizer.parenthesizeExpressionForDisallowedComma); + } + function emitShorthandPropertyAssignment(node) { + emit(node.name); + if (node.objectAssignmentInitializer) { + writeSpace(); + writePunctuation("="); + writeSpace(); + emitExpression(node.objectAssignmentInitializer, parenthesizer.parenthesizeExpressionForDisallowedComma); + } + } + function emitSpreadAssignment(node) { + if (node.expression) { + emitTokenWithComment(26 /* DotDotDotToken */, node.pos, writePunctuation, node); + emitExpression(node.expression, parenthesizer.parenthesizeExpressionForDisallowedComma); + } + } + function emitEnumMember(node) { + emit(node.name); + emitInitializer(node.initializer, node.name.end, node, parenthesizer.parenthesizeExpressionForDisallowedComma); + } + function emitJSDoc(node) { + write("/**"); + if (node.comment) { + const text = getTextOfJSDocComment(node.comment); + if (text) { + const lines = text.split(/\r\n?|\n/); + for (const line of lines) { + writeLine(); + writeSpace(); + writePunctuation("*"); + writeSpace(); + write(line); + } + } + } + if (node.tags) { + if (node.tags.length === 1 && node.tags[0].kind === 344 /* JSDocTypeTag */ && !node.comment) { + writeSpace(); + emit(node.tags[0]); + } else { + emitList(node, node.tags, 33 /* JSDocComment */); + } + } + writeSpace(); + write("*/"); + } + function emitJSDocSimpleTypedTag(tag) { + emitJSDocTagName(tag.tagName); + emitJSDocTypeExpression(tag.typeExpression); + emitJSDocComment(tag.comment); + } + function emitJSDocSeeTag(tag) { + emitJSDocTagName(tag.tagName); + emit(tag.name); + emitJSDocComment(tag.comment); + } + function emitJSDocImportTag(tag) { + emitJSDocTagName(tag.tagName); + writeSpace(); + if (tag.importClause) { + emit(tag.importClause); + writeSpace(); + emitTokenWithComment(161 /* FromKeyword */, tag.importClause.end, writeKeyword, tag); + writeSpace(); + } + emitExpression(tag.moduleSpecifier); + if (tag.attributes) { + emitWithLeadingSpace(tag.attributes); + } + emitJSDocComment(tag.comment); + } + function emitJSDocNameReference(node) { + writeSpace(); + writePunctuation("{"); + emit(node.name); + writePunctuation("}"); + } + function emitJSDocHeritageTag(tag) { + emitJSDocTagName(tag.tagName); + writeSpace(); + writePunctuation("{"); + emit(tag.class); + writePunctuation("}"); + emitJSDocComment(tag.comment); + } + function emitJSDocTemplateTag(tag) { + emitJSDocTagName(tag.tagName); + emitJSDocTypeExpression(tag.constraint); + writeSpace(); + emitList(tag, tag.typeParameters, 528 /* CommaListElements */); + emitJSDocComment(tag.comment); + } + function emitJSDocTypedefTag(tag) { + emitJSDocTagName(tag.tagName); + if (tag.typeExpression) { + if (tag.typeExpression.kind === 309 /* JSDocTypeExpression */) { + emitJSDocTypeExpression(tag.typeExpression); + } else { + writeSpace(); + writePunctuation("{"); + write("Object"); + if (tag.typeExpression.isArrayType) { + writePunctuation("["); + writePunctuation("]"); + } + writePunctuation("}"); + } + } + if (tag.fullName) { + writeSpace(); + emit(tag.fullName); + } + emitJSDocComment(tag.comment); + if (tag.typeExpression && tag.typeExpression.kind === 322 /* JSDocTypeLiteral */) { + emitJSDocTypeLiteral(tag.typeExpression); + } + } + function emitJSDocCallbackTag(tag) { + emitJSDocTagName(tag.tagName); + if (tag.name) { + writeSpace(); + emit(tag.name); + } + emitJSDocComment(tag.comment); + emitJSDocSignature(tag.typeExpression); + } + function emitJSDocOverloadTag(tag) { + emitJSDocComment(tag.comment); + emitJSDocSignature(tag.typeExpression); + } + function emitJSDocSimpleTag(tag) { + emitJSDocTagName(tag.tagName); + emitJSDocComment(tag.comment); + } + function emitJSDocTypeLiteral(lit) { + emitList(lit, factory.createNodeArray(lit.jsDocPropertyTags), 33 /* JSDocComment */); + } + function emitJSDocSignature(sig) { + if (sig.typeParameters) { + emitList(sig, factory.createNodeArray(sig.typeParameters), 33 /* JSDocComment */); + } + if (sig.parameters) { + emitList(sig, factory.createNodeArray(sig.parameters), 33 /* JSDocComment */); + } + if (sig.type) { + writeLine(); + writeSpace(); + writePunctuation("*"); + writeSpace(); + emit(sig.type); + } + } + function emitJSDocPropertyLikeTag(param) { + emitJSDocTagName(param.tagName); + emitJSDocTypeExpression(param.typeExpression); + writeSpace(); + if (param.isBracketed) { + writePunctuation("["); + } + emit(param.name); + if (param.isBracketed) { + writePunctuation("]"); + } + emitJSDocComment(param.comment); + } + function emitJSDocTagName(tagName) { + writePunctuation("@"); + emit(tagName); + } + function emitJSDocComment(comment) { + const text = getTextOfJSDocComment(comment); + if (text) { + writeSpace(); + write(text); + } + } + function emitJSDocTypeExpression(typeExpression) { + if (typeExpression) { + writeSpace(); + writePunctuation("{"); + emit(typeExpression.type); + writePunctuation("}"); + } + } + function emitSourceFile(node) { + writeLine(); + const statements = node.statements; + const shouldEmitDetachedComment = statements.length === 0 || !isPrologueDirective(statements[0]) || nodeIsSynthesized(statements[0]); + if (shouldEmitDetachedComment) { + emitBodyWithDetachedComments(node, statements, emitSourceFileWorker); + return; + } + emitSourceFileWorker(node); + } + function emitSyntheticTripleSlashReferencesIfNeeded(node) { + emitTripleSlashDirectives(!!node.hasNoDefaultLib, node.syntheticFileReferences || [], node.syntheticTypeReferences || [], node.syntheticLibReferences || []); + } + function emitTripleSlashDirectivesIfNeeded(node) { + if (node.isDeclarationFile) emitTripleSlashDirectives(node.hasNoDefaultLib, node.referencedFiles, node.typeReferenceDirectives, node.libReferenceDirectives); + } + function emitTripleSlashDirectives(hasNoDefaultLib, files, types, libs2) { + if (hasNoDefaultLib) { + writeComment(`/// `); + writeLine(); + } + if (currentSourceFile && currentSourceFile.moduleName) { + writeComment(`/// `); + writeLine(); + } + if (currentSourceFile && currentSourceFile.amdDependencies) { + for (const dep of currentSourceFile.amdDependencies) { + if (dep.name) { + writeComment(`/// `); + } else { + writeComment(`/// `); + } + writeLine(); + } + } + function writeDirectives(kind, directives) { + for (const directive of directives) { + const resolutionMode = directive.resolutionMode ? `resolution-mode="${directive.resolutionMode === 99 /* ESNext */ ? "import" : "require"}" ` : ""; + const preserve = directive.preserve ? `preserve="true" ` : ""; + writeComment(`/// `); + writeLine(); + } + } + writeDirectives("path", files); + writeDirectives("types", types); + writeDirectives("lib", libs2); + } + function emitSourceFileWorker(node) { + const statements = node.statements; + pushNameGenerationScope(node); + forEach(node.statements, generateNames); + emitHelpers(node); + const index = findIndex(statements, (statement) => !isPrologueDirective(statement)); + emitTripleSlashDirectivesIfNeeded(node); + emitList( + node, + statements, + 1 /* MultiLine */, + /*parenthesizerRule*/ + void 0, + index === -1 ? statements.length : index + ); + popNameGenerationScope(node); + } + function emitPartiallyEmittedExpression(node) { + const emitFlags = getEmitFlags(node); + if (!(emitFlags & 1024 /* NoLeadingComments */) && node.pos !== node.expression.pos) { + emitTrailingCommentsOfPosition(node.expression.pos); + } + emitExpression(node.expression); + if (!(emitFlags & 2048 /* NoTrailingComments */) && node.end !== node.expression.end) { + emitLeadingCommentsOfPosition(node.expression.end); + } + } + function emitCommaList(node) { + emitExpressionList( + node, + node.elements, + 528 /* CommaListElements */, + /*parenthesizerRule*/ + void 0 + ); + } + function emitPrologueDirectives(statements, sourceFile, seenPrologueDirectives) { + let needsToSetSourceFile = !!sourceFile; + for (let i = 0; i < statements.length; i++) { + const statement = statements[i]; + if (isPrologueDirective(statement)) { + const shouldEmitPrologueDirective = seenPrologueDirectives ? !seenPrologueDirectives.has(statement.expression.text) : true; + if (shouldEmitPrologueDirective) { + if (needsToSetSourceFile) { + needsToSetSourceFile = false; + setSourceFile(sourceFile); + } + writeLine(); + emit(statement); + if (seenPrologueDirectives) { + seenPrologueDirectives.add(statement.expression.text); + } + } + } else { + return i; + } + } + return statements.length; + } + function emitPrologueDirectivesIfNeeded(sourceFileOrBundle) { + if (isSourceFile(sourceFileOrBundle)) { + emitPrologueDirectives(sourceFileOrBundle.statements, sourceFileOrBundle); + } else { + const seenPrologueDirectives = /* @__PURE__ */ new Set(); + for (const sourceFile of sourceFileOrBundle.sourceFiles) { + emitPrologueDirectives(sourceFile.statements, sourceFile, seenPrologueDirectives); + } + setSourceFile(void 0); + } + } + function emitShebangIfNeeded(sourceFileOrBundle) { + if (isSourceFile(sourceFileOrBundle)) { + const shebang = getShebang(sourceFileOrBundle.text); + if (shebang) { + writeComment(shebang); + writeLine(); + return true; + } + } else { + for (const sourceFile of sourceFileOrBundle.sourceFiles) { + if (emitShebangIfNeeded(sourceFile)) { + return true; + } + } + } + } + function emitNodeWithWriter(node, writer2) { + if (!node) return; + const savedWrite = write; + write = writer2; + emit(node); + write = savedWrite; + } + function emitDecoratorsAndModifiers(node, modifiers, allowDecorators) { + if (modifiers == null ? void 0 : modifiers.length) { + if (every(modifiers, isModifier)) { + return emitModifierList(node, modifiers); + } + if (every(modifiers, isDecorator)) { + if (allowDecorators) { + return emitDecoratorList(node, modifiers); + } + return node.pos; + } + onBeforeEmitNodeArray == null ? void 0 : onBeforeEmitNodeArray(modifiers); + let lastMode; + let mode; + let start = 0; + let pos = 0; + let lastModifier; + while (start < modifiers.length) { + while (pos < modifiers.length) { + lastModifier = modifiers[pos]; + mode = isDecorator(lastModifier) ? "decorators" : "modifiers"; + if (lastMode === void 0) { + lastMode = mode; + } else if (mode !== lastMode) { + break; + } + pos++; + } + const textRange = { pos: -1, end: -1 }; + if (start === 0) textRange.pos = modifiers.pos; + if (pos === modifiers.length - 1) textRange.end = modifiers.end; + if (lastMode === "modifiers" || allowDecorators) { + emitNodeListItems( + emit, + node, + modifiers, + lastMode === "modifiers" ? 2359808 /* Modifiers */ : 2146305 /* Decorators */, + /*parenthesizerRule*/ + void 0, + start, + pos - start, + /*hasTrailingComma*/ + false, + textRange + ); + } + start = pos; + lastMode = mode; + pos++; + } + onAfterEmitNodeArray == null ? void 0 : onAfterEmitNodeArray(modifiers); + if (lastModifier && !positionIsSynthesized(lastModifier.end)) { + return lastModifier.end; + } + } + return node.pos; + } + function emitModifierList(node, modifiers) { + emitList(node, modifiers, 2359808 /* Modifiers */); + const lastModifier = lastOrUndefined(modifiers); + return lastModifier && !positionIsSynthesized(lastModifier.end) ? lastModifier.end : node.pos; + } + function emitTypeAnnotation(node) { + if (node) { + writePunctuation(":"); + writeSpace(); + emit(node); + } + } + function emitInitializer(node, equalCommentStartPos, container, parenthesizerRule) { + if (node) { + writeSpace(); + emitTokenWithComment(64 /* EqualsToken */, equalCommentStartPos, writeOperator, container); + writeSpace(); + emitExpression(node, parenthesizerRule); + } + } + function emitNodeWithPrefix(prefix, prefixWriter, node, emit2) { + if (node) { + prefixWriter(prefix); + emit2(node); + } + } + function emitWithLeadingSpace(node) { + if (node) { + writeSpace(); + emit(node); + } + } + function emitExpressionWithLeadingSpace(node, parenthesizerRule) { + if (node) { + writeSpace(); + emitExpression(node, parenthesizerRule); + } + } + function emitWithTrailingSpace(node) { + if (node) { + emit(node); + writeSpace(); + } + } + function emitEmbeddedStatement(parent, node) { + if (isBlock(node) || getEmitFlags(parent) & 1 /* SingleLine */ || preserveSourceNewlines && !getLeadingLineTerminatorCount(parent, node, 0 /* None */)) { + writeSpace(); + emit(node); + } else { + writeLine(); + increaseIndent(); + if (isEmptyStatement(node)) { + pipelineEmit(5 /* EmbeddedStatement */, node); + } else { + emit(node); + } + decreaseIndent(); + } + } + function emitDecoratorList(parentNode, decorators) { + emitList(parentNode, decorators, 2146305 /* Decorators */); + const lastDecorator = lastOrUndefined(decorators); + return lastDecorator && !positionIsSynthesized(lastDecorator.end) ? lastDecorator.end : parentNode.pos; + } + function emitTypeArguments(parentNode, typeArguments) { + emitList(parentNode, typeArguments, 53776 /* TypeArguments */, typeArgumentParenthesizerRuleSelector); + } + function emitTypeParameters(parentNode, typeParameters) { + if (isFunctionLike(parentNode) && parentNode.typeArguments) { + return emitTypeArguments(parentNode, parentNode.typeArguments); + } + emitList(parentNode, typeParameters, 53776 /* TypeParameters */ | (isArrowFunction(parentNode) ? 64 /* AllowTrailingComma */ : 0 /* None */)); + } + function emitParameters(parentNode, parameters) { + emitList(parentNode, parameters, 2576 /* Parameters */); + } + function canEmitSimpleArrowHead(parentNode, parameters) { + const parameter = singleOrUndefined(parameters); + return parameter && parameter.pos === parentNode.pos && isArrowFunction(parentNode) && !parentNode.type && !some(parentNode.modifiers) && !some(parentNode.typeParameters) && !some(parameter.modifiers) && !parameter.dotDotDotToken && !parameter.questionToken && !parameter.type && !parameter.initializer && isIdentifier(parameter.name); + } + function emitParametersForArrow(parentNode, parameters) { + if (canEmitSimpleArrowHead(parentNode, parameters)) { + emitList(parentNode, parameters, 2576 /* Parameters */ & ~2048 /* Parenthesis */); + } else { + emitParameters(parentNode, parameters); + } + } + function emitParametersForIndexSignature(parentNode, parameters) { + emitList(parentNode, parameters, 8848 /* IndexSignatureParameters */); + } + function writeDelimiter(format) { + switch (format & 60 /* DelimitersMask */) { + case 0 /* None */: + break; + case 16 /* CommaDelimited */: + writePunctuation(","); + break; + case 4 /* BarDelimited */: + writeSpace(); + writePunctuation("|"); + break; + case 32 /* AsteriskDelimited */: + writeSpace(); + writePunctuation("*"); + writeSpace(); + break; + case 8 /* AmpersandDelimited */: + writeSpace(); + writePunctuation("&"); + break; + } + } + function emitList(parentNode, children, format, parenthesizerRule, start, count) { + emitNodeList( + emit, + parentNode, + children, + format | (parentNode && getEmitFlags(parentNode) & 2 /* MultiLine */ ? 65536 /* PreferNewLine */ : 0), + parenthesizerRule, + start, + count + ); + } + function emitExpressionList(parentNode, children, format, parenthesizerRule, start, count) { + emitNodeList(emitExpression, parentNode, children, format, parenthesizerRule, start, count); + } + function emitNodeList(emit2, parentNode, children, format, parenthesizerRule, start = 0, count = children ? children.length - start : 0) { + const isUndefined = children === void 0; + if (isUndefined && format & 16384 /* OptionalIfUndefined */) { + return; + } + const isEmpty = children === void 0 || start >= children.length || count === 0; + if (isEmpty && format & 32768 /* OptionalIfEmpty */) { + onBeforeEmitNodeArray == null ? void 0 : onBeforeEmitNodeArray(children); + onAfterEmitNodeArray == null ? void 0 : onAfterEmitNodeArray(children); + return; + } + if (format & 15360 /* BracketsMask */) { + writePunctuation(getOpeningBracket(format)); + if (isEmpty && children) { + emitTrailingCommentsOfPosition( + children.pos, + /*prefixSpace*/ + true + ); + } + } + onBeforeEmitNodeArray == null ? void 0 : onBeforeEmitNodeArray(children); + if (isEmpty) { + if (format & 1 /* MultiLine */ && !(preserveSourceNewlines && (!parentNode || currentSourceFile && rangeIsOnSingleLine(parentNode, currentSourceFile)))) { + writeLine(); + } else if (format & 256 /* SpaceBetweenBraces */ && !(format & 524288 /* NoSpaceIfEmpty */)) { + writeSpace(); + } + } else { + emitNodeListItems(emit2, parentNode, children, format, parenthesizerRule, start, count, children.hasTrailingComma, children); + } + onAfterEmitNodeArray == null ? void 0 : onAfterEmitNodeArray(children); + if (format & 15360 /* BracketsMask */) { + if (isEmpty && children) { + emitLeadingCommentsOfPosition(children.end); + } + writePunctuation(getClosingBracket(format)); + } + } + function emitNodeListItems(emit2, parentNode, children, format, parenthesizerRule, start, count, hasTrailingComma, childrenTextRange) { + const mayEmitInterveningComments = (format & 262144 /* NoInterveningComments */) === 0; + let shouldEmitInterveningComments = mayEmitInterveningComments; + const leadingLineTerminatorCount = getLeadingLineTerminatorCount(parentNode, children[start], format); + if (leadingLineTerminatorCount) { + writeLine(leadingLineTerminatorCount); + shouldEmitInterveningComments = false; + } else if (format & 256 /* SpaceBetweenBraces */) { + writeSpace(); + } + if (format & 128 /* Indented */) { + increaseIndent(); + } + const emitListItem = getEmitListItem(emit2, parenthesizerRule); + let previousSibling; + let shouldDecreaseIndentAfterEmit = false; + for (let i = 0; i < count; i++) { + const child = children[start + i]; + if (format & 32 /* AsteriskDelimited */) { + writeLine(); + writeDelimiter(format); + } else if (previousSibling) { + if (format & 60 /* DelimitersMask */ && previousSibling.end !== (parentNode ? parentNode.end : -1)) { + const previousSiblingEmitFlags = getEmitFlags(previousSibling); + if (!(previousSiblingEmitFlags & 2048 /* NoTrailingComments */)) { + emitLeadingCommentsOfPosition(previousSibling.end); + } + } + writeDelimiter(format); + const separatingLineTerminatorCount = getSeparatingLineTerminatorCount(previousSibling, child, format); + if (separatingLineTerminatorCount > 0) { + if ((format & (3 /* LinesMask */ | 128 /* Indented */)) === 0 /* SingleLine */) { + increaseIndent(); + shouldDecreaseIndentAfterEmit = true; + } + if (shouldEmitInterveningComments && format & 60 /* DelimitersMask */ && !positionIsSynthesized(child.pos)) { + const commentRange = getCommentRange(child); + emitTrailingCommentsOfPosition( + commentRange.pos, + /*prefixSpace*/ + !!(format & 512 /* SpaceBetweenSiblings */), + /*forceNoNewline*/ + true + ); + } + writeLine(separatingLineTerminatorCount); + shouldEmitInterveningComments = false; + } else if (previousSibling && format & 512 /* SpaceBetweenSiblings */) { + writeSpace(); + } + } + if (shouldEmitInterveningComments) { + const commentRange = getCommentRange(child); + emitTrailingCommentsOfPosition(commentRange.pos); + } else { + shouldEmitInterveningComments = mayEmitInterveningComments; + } + nextListElementPos = child.pos; + emitListItem(child, emit2, parenthesizerRule, i); + if (shouldDecreaseIndentAfterEmit) { + decreaseIndent(); + shouldDecreaseIndentAfterEmit = false; + } + previousSibling = child; + } + const emitFlags = previousSibling ? getEmitFlags(previousSibling) : 0; + const skipTrailingComments = commentsDisabled || !!(emitFlags & 2048 /* NoTrailingComments */); + const emitTrailingComma = hasTrailingComma && format & 64 /* AllowTrailingComma */ && format & 16 /* CommaDelimited */; + if (emitTrailingComma) { + if (previousSibling && !skipTrailingComments) { + emitTokenWithComment(28 /* CommaToken */, previousSibling.end, writePunctuation, previousSibling); + } else { + writePunctuation(","); + } + } + if (previousSibling && (parentNode ? parentNode.end : -1) !== previousSibling.end && format & 60 /* DelimitersMask */ && !skipTrailingComments) { + emitLeadingCommentsOfPosition(emitTrailingComma && (childrenTextRange == null ? void 0 : childrenTextRange.end) ? childrenTextRange.end : previousSibling.end); + } + if (format & 128 /* Indented */) { + decreaseIndent(); + } + const closingLineTerminatorCount = getClosingLineTerminatorCount(parentNode, children[start + count - 1], format, childrenTextRange); + if (closingLineTerminatorCount) { + writeLine(closingLineTerminatorCount); + } else if (format & (2097152 /* SpaceAfterList */ | 256 /* SpaceBetweenBraces */)) { + writeSpace(); + } + } + function writeLiteral(s) { + writer.writeLiteral(s); + } + function writeStringLiteral(s) { + writer.writeStringLiteral(s); + } + function writeBase(s) { + writer.write(s); + } + function writeSymbol(s, sym) { + writer.writeSymbol(s, sym); + } + function writePunctuation(s) { + writer.writePunctuation(s); + } + function writeTrailingSemicolon() { + writer.writeTrailingSemicolon(";"); + } + function writeKeyword(s) { + writer.writeKeyword(s); + } + function writeOperator(s) { + writer.writeOperator(s); + } + function writeParameter(s) { + writer.writeParameter(s); + } + function writeComment(s) { + writer.writeComment(s); + } + function writeSpace() { + writer.writeSpace(" "); + } + function writeProperty(s) { + writer.writeProperty(s); + } + function nonEscapingWrite(s) { + if (writer.nonEscapingWrite) { + writer.nonEscapingWrite(s); + } else { + writer.write(s); + } + } + function writeLine(count = 1) { + for (let i = 0; i < count; i++) { + writer.writeLine(i > 0); + } + } + function increaseIndent() { + writer.increaseIndent(); + } + function decreaseIndent() { + writer.decreaseIndent(); + } + function writeToken(token, pos, writer2, contextNode) { + return !sourceMapsDisabled ? emitTokenWithSourceMap(contextNode, token, writer2, pos, writeTokenText) : writeTokenText(token, writer2, pos); + } + function writeTokenNode(node, writer2) { + if (onBeforeEmitToken) { + onBeforeEmitToken(node); + } + writer2(tokenToString(node.kind)); + if (onAfterEmitToken) { + onAfterEmitToken(node); + } + } + function writeTokenText(token, writer2, pos) { + const tokenString = tokenToString(token); + writer2(tokenString); + return pos < 0 ? pos : pos + tokenString.length; + } + function writeLineOrSpace(parentNode, prevChildNode, nextChildNode) { + if (getEmitFlags(parentNode) & 1 /* SingleLine */) { + writeSpace(); + } else if (preserveSourceNewlines) { + const lines = getLinesBetweenNodes(parentNode, prevChildNode, nextChildNode); + if (lines) { + writeLine(lines); + } else { + writeSpace(); + } + } else { + writeLine(); + } + } + function writeLines(text) { + const lines = text.split(/\r\n?|\n/); + const indentation = guessIndentation(lines); + for (const lineText of lines) { + const line = indentation ? lineText.slice(indentation) : lineText; + if (line.length) { + writeLine(); + write(line); + } + } + } + function writeLinesAndIndent(lineCount, writeSpaceIfNotIndenting) { + if (lineCount) { + increaseIndent(); + writeLine(lineCount); + } else if (writeSpaceIfNotIndenting) { + writeSpace(); + } + } + function decreaseIndentIf(value1, value2) { + if (value1) { + decreaseIndent(); + } + if (value2) { + decreaseIndent(); + } + } + function getLeadingLineTerminatorCount(parentNode, firstChild, format) { + if (format & 2 /* PreserveLines */ || preserveSourceNewlines) { + if (format & 65536 /* PreferNewLine */) { + return 1; + } + if (firstChild === void 0) { + return !parentNode || currentSourceFile && rangeIsOnSingleLine(parentNode, currentSourceFile) ? 0 : 1; + } + if (firstChild.pos === nextListElementPos) { + return 0; + } + if (firstChild.kind === 12 /* JsxText */) { + return 0; + } + if (currentSourceFile && parentNode && !positionIsSynthesized(parentNode.pos) && !nodeIsSynthesized(firstChild) && (!firstChild.parent || getOriginalNode(firstChild.parent) === getOriginalNode(parentNode))) { + if (preserveSourceNewlines) { + return getEffectiveLines( + (includeComments) => getLinesBetweenPositionAndPrecedingNonWhitespaceCharacter( + firstChild.pos, + parentNode.pos, + currentSourceFile, + includeComments + ) + ); + } + return rangeStartPositionsAreOnSameLine(parentNode, firstChild, currentSourceFile) ? 0 : 1; + } + if (synthesizedNodeStartsOnNewLine(firstChild, format)) { + return 1; + } + } + return format & 1 /* MultiLine */ ? 1 : 0; + } + function getSeparatingLineTerminatorCount(previousNode, nextNode, format) { + if (format & 2 /* PreserveLines */ || preserveSourceNewlines) { + if (previousNode === void 0 || nextNode === void 0) { + return 0; + } + if (nextNode.kind === 12 /* JsxText */) { + return 0; + } else if (currentSourceFile && !nodeIsSynthesized(previousNode) && !nodeIsSynthesized(nextNode)) { + if (preserveSourceNewlines && siblingNodePositionsAreComparable(previousNode, nextNode)) { + return getEffectiveLines( + (includeComments) => getLinesBetweenRangeEndAndRangeStart( + previousNode, + nextNode, + currentSourceFile, + includeComments + ) + ); + } else if (!preserveSourceNewlines && originalNodesHaveSameParent(previousNode, nextNode)) { + return rangeEndIsOnSameLineAsRangeStart(previousNode, nextNode, currentSourceFile) ? 0 : 1; + } + return format & 65536 /* PreferNewLine */ ? 1 : 0; + } else if (synthesizedNodeStartsOnNewLine(previousNode, format) || synthesizedNodeStartsOnNewLine(nextNode, format)) { + return 1; + } + } else if (getStartsOnNewLine(nextNode)) { + return 1; + } + return format & 1 /* MultiLine */ ? 1 : 0; + } + function getClosingLineTerminatorCount(parentNode, lastChild, format, childrenTextRange) { + if (format & 2 /* PreserveLines */ || preserveSourceNewlines) { + if (format & 65536 /* PreferNewLine */) { + return 1; + } + if (lastChild === void 0) { + return !parentNode || currentSourceFile && rangeIsOnSingleLine(parentNode, currentSourceFile) ? 0 : 1; + } + if (currentSourceFile && parentNode && !positionIsSynthesized(parentNode.pos) && !nodeIsSynthesized(lastChild) && (!lastChild.parent || lastChild.parent === parentNode)) { + if (preserveSourceNewlines) { + const end = childrenTextRange && !positionIsSynthesized(childrenTextRange.end) ? childrenTextRange.end : lastChild.end; + return getEffectiveLines( + (includeComments) => getLinesBetweenPositionAndNextNonWhitespaceCharacter( + end, + parentNode.end, + currentSourceFile, + includeComments + ) + ); + } + return rangeEndPositionsAreOnSameLine(parentNode, lastChild, currentSourceFile) ? 0 : 1; + } + if (synthesizedNodeStartsOnNewLine(lastChild, format)) { + return 1; + } + } + if (format & 1 /* MultiLine */ && !(format & 131072 /* NoTrailingNewLine */)) { + return 1; + } + return 0; + } + function getEffectiveLines(getLineDifference) { + Debug.assert(!!preserveSourceNewlines); + const lines = getLineDifference( + /*includeComments*/ + true + ); + if (lines === 0) { + return getLineDifference( + /*includeComments*/ + false + ); + } + return lines; + } + function writeLineSeparatorsAndIndentBefore(node, parent) { + const leadingNewlines = preserveSourceNewlines && getLeadingLineTerminatorCount(parent, node, 0 /* None */); + if (leadingNewlines) { + writeLinesAndIndent( + leadingNewlines, + /*writeSpaceIfNotIndenting*/ + false + ); + } + return !!leadingNewlines; + } + function writeLineSeparatorsAfter(node, parent) { + const trailingNewlines = preserveSourceNewlines && getClosingLineTerminatorCount( + parent, + node, + 0 /* None */, + /*childrenTextRange*/ + void 0 + ); + if (trailingNewlines) { + writeLine(trailingNewlines); + } + } + function synthesizedNodeStartsOnNewLine(node, format) { + if (nodeIsSynthesized(node)) { + const startsOnNewLine = getStartsOnNewLine(node); + if (startsOnNewLine === void 0) { + return (format & 65536 /* PreferNewLine */) !== 0; + } + return startsOnNewLine; + } + return (format & 65536 /* PreferNewLine */) !== 0; + } + function getLinesBetweenNodes(parent, node1, node2) { + if (getEmitFlags(parent) & 262144 /* NoIndentation */) { + return 0; + } + parent = skipSynthesizedParentheses(parent); + node1 = skipSynthesizedParentheses(node1); + node2 = skipSynthesizedParentheses(node2); + if (getStartsOnNewLine(node2)) { + return 1; + } + if (currentSourceFile && !nodeIsSynthesized(parent) && !nodeIsSynthesized(node1) && !nodeIsSynthesized(node2)) { + if (preserveSourceNewlines) { + return getEffectiveLines( + (includeComments) => getLinesBetweenRangeEndAndRangeStart( + node1, + node2, + currentSourceFile, + includeComments + ) + ); + } + return rangeEndIsOnSameLineAsRangeStart(node1, node2, currentSourceFile) ? 0 : 1; + } + return 0; + } + function isEmptyBlock(block) { + return block.statements.length === 0 && (!currentSourceFile || rangeEndIsOnSameLineAsRangeStart(block, block, currentSourceFile)); + } + function skipSynthesizedParentheses(node) { + while (node.kind === 217 /* ParenthesizedExpression */ && nodeIsSynthesized(node)) { + node = node.expression; + } + return node; + } + function getTextOfNode2(node, includeTrivia) { + if (isGeneratedIdentifier(node) || isGeneratedPrivateIdentifier(node)) { + return generateName(node); + } + if (isStringLiteral(node) && node.textSourceNode) { + return getTextOfNode2(node.textSourceNode, includeTrivia); + } + const sourceFile = currentSourceFile; + const canUseSourceFile = !!sourceFile && !!node.parent && !nodeIsSynthesized(node); + if (isMemberName(node)) { + if (!canUseSourceFile || getSourceFileOfNode(node) !== getOriginalNode(sourceFile)) { + return idText(node); + } + } else if (isJsxNamespacedName(node)) { + if (!canUseSourceFile || getSourceFileOfNode(node) !== getOriginalNode(sourceFile)) { + return getTextOfJsxNamespacedName(node); + } + } else { + Debug.assertNode(node, isLiteralExpression); + if (!canUseSourceFile) { + return node.text; + } + } + return getSourceTextOfNodeFromSourceFile(sourceFile, node, includeTrivia); + } + function getLiteralTextOfNode(node, sourceFile = currentSourceFile, neverAsciiEscape, jsxAttributeEscape) { + if (node.kind === 11 /* StringLiteral */ && node.textSourceNode) { + const textSourceNode = node.textSourceNode; + if (isIdentifier(textSourceNode) || isPrivateIdentifier(textSourceNode) || isNumericLiteral(textSourceNode) || isJsxNamespacedName(textSourceNode)) { + const text = isNumericLiteral(textSourceNode) ? textSourceNode.text : getTextOfNode2(textSourceNode); + return jsxAttributeEscape ? `"${escapeJsxAttributeString(text)}"` : neverAsciiEscape || getEmitFlags(node) & 16777216 /* NoAsciiEscaping */ ? `"${escapeString(text)}"` : `"${escapeNonAsciiString(text)}"`; + } else { + return getLiteralTextOfNode(textSourceNode, getSourceFileOfNode(textSourceNode), neverAsciiEscape, jsxAttributeEscape); + } + } + const flags = (neverAsciiEscape ? 1 /* NeverAsciiEscape */ : 0) | (jsxAttributeEscape ? 2 /* JsxAttributeEscape */ : 0) | (printerOptions.terminateUnterminatedLiterals ? 4 /* TerminateUnterminatedLiterals */ : 0) | (printerOptions.target && printerOptions.target >= 8 /* ES2021 */ ? 8 /* AllowNumericSeparator */ : 0); + return getLiteralText(node, sourceFile, flags); + } + function pushNameGenerationScope(node) { + privateNameTempFlagsStack.push(privateNameTempFlags); + privateNameTempFlags = 0 /* Auto */; + reservedPrivateNamesStack.push(reservedPrivateNames); + if (node && getEmitFlags(node) & 1048576 /* ReuseTempVariableScope */) { + return; + } + tempFlagsStack.push(tempFlags); + tempFlags = 0 /* Auto */; + formattedNameTempFlagsStack.push(formattedNameTempFlags); + formattedNameTempFlags = void 0; + reservedNamesStack.push(reservedNames); + } + function popNameGenerationScope(node) { + privateNameTempFlags = privateNameTempFlagsStack.pop(); + reservedPrivateNames = reservedPrivateNamesStack.pop(); + if (node && getEmitFlags(node) & 1048576 /* ReuseTempVariableScope */) { + return; + } + tempFlags = tempFlagsStack.pop(); + formattedNameTempFlags = formattedNameTempFlagsStack.pop(); + reservedNames = reservedNamesStack.pop(); + } + function reserveNameInNestedScopes(name) { + if (!reservedNames || reservedNames === lastOrUndefined(reservedNamesStack)) { + reservedNames = /* @__PURE__ */ new Set(); + } + reservedNames.add(name); + } + function reservePrivateNameInNestedScopes(name) { + if (!reservedPrivateNames || reservedPrivateNames === lastOrUndefined(reservedPrivateNamesStack)) { + reservedPrivateNames = /* @__PURE__ */ new Set(); + } + reservedPrivateNames.add(name); + } + function generateNames(node) { + if (!node) return; + switch (node.kind) { + case 241 /* Block */: + forEach(node.statements, generateNames); + break; + case 256 /* LabeledStatement */: + case 254 /* WithStatement */: + case 246 /* DoStatement */: + case 247 /* WhileStatement */: + generateNames(node.statement); + break; + case 245 /* IfStatement */: + generateNames(node.thenStatement); + generateNames(node.elseStatement); + break; + case 248 /* ForStatement */: + case 250 /* ForOfStatement */: + case 249 /* ForInStatement */: + generateNames(node.initializer); + generateNames(node.statement); + break; + case 255 /* SwitchStatement */: + generateNames(node.caseBlock); + break; + case 269 /* CaseBlock */: + forEach(node.clauses, generateNames); + break; + case 296 /* CaseClause */: + case 297 /* DefaultClause */: + forEach(node.statements, generateNames); + break; + case 258 /* TryStatement */: + generateNames(node.tryBlock); + generateNames(node.catchClause); + generateNames(node.finallyBlock); + break; + case 299 /* CatchClause */: + generateNames(node.variableDeclaration); + generateNames(node.block); + break; + case 243 /* VariableStatement */: + generateNames(node.declarationList); + break; + case 261 /* VariableDeclarationList */: + forEach(node.declarations, generateNames); + break; + case 260 /* VariableDeclaration */: + case 169 /* Parameter */: + case 208 /* BindingElement */: + case 263 /* ClassDeclaration */: + generateNameIfNeeded(node.name); + break; + case 262 /* FunctionDeclaration */: + generateNameIfNeeded(node.name); + if (getEmitFlags(node) & 1048576 /* ReuseTempVariableScope */) { + forEach(node.parameters, generateNames); + generateNames(node.body); + } + break; + case 206 /* ObjectBindingPattern */: + case 207 /* ArrayBindingPattern */: + forEach(node.elements, generateNames); + break; + case 272 /* ImportDeclaration */: + generateNames(node.importClause); + break; + case 273 /* ImportClause */: + generateNameIfNeeded(node.name); + generateNames(node.namedBindings); + break; + case 274 /* NamespaceImport */: + generateNameIfNeeded(node.name); + break; + case 280 /* NamespaceExport */: + generateNameIfNeeded(node.name); + break; + case 275 /* NamedImports */: + forEach(node.elements, generateNames); + break; + case 276 /* ImportSpecifier */: + generateNameIfNeeded(node.propertyName || node.name); + break; + } + } + function generateMemberNames(node) { + if (!node) return; + switch (node.kind) { + case 303 /* PropertyAssignment */: + case 304 /* ShorthandPropertyAssignment */: + case 172 /* PropertyDeclaration */: + case 171 /* PropertySignature */: + case 174 /* MethodDeclaration */: + case 173 /* MethodSignature */: + case 177 /* GetAccessor */: + case 178 /* SetAccessor */: + generateNameIfNeeded(node.name); + break; + } + } + function generateNameIfNeeded(name) { + if (name) { + if (isGeneratedIdentifier(name) || isGeneratedPrivateIdentifier(name)) { + generateName(name); + } else if (isBindingPattern(name)) { + generateNames(name); + } + } + } + function generateName(name) { + const autoGenerate = name.emitNode.autoGenerate; + if ((autoGenerate.flags & 7 /* KindMask */) === 4 /* Node */) { + return generateNameCached(getNodeForGeneratedName(name), isPrivateIdentifier(name), autoGenerate.flags, autoGenerate.prefix, autoGenerate.suffix); + } else { + const autoGenerateId = autoGenerate.id; + return autoGeneratedIdToGeneratedName[autoGenerateId] || (autoGeneratedIdToGeneratedName[autoGenerateId] = makeName(name)); + } + } + function generateNameCached(node, privateName, flags, prefix, suffix) { + const nodeId = getNodeId(node); + const cache = privateName ? nodeIdToGeneratedPrivateName : nodeIdToGeneratedName; + return cache[nodeId] || (cache[nodeId] = generateNameForNode(node, privateName, flags ?? 0 /* None */, formatGeneratedNamePart(prefix, generateName), formatGeneratedNamePart(suffix))); + } + function isUniqueName(name, privateName) { + return isFileLevelUniqueNameInCurrentFile(name, privateName) && !isReservedName(name, privateName) && !generatedNames.has(name); + } + function isReservedName(name, privateName) { + let set; + let stack; + if (privateName) { + set = reservedPrivateNames; + stack = reservedPrivateNamesStack; + } else { + set = reservedNames; + stack = reservedNamesStack; + } + if (set == null ? void 0 : set.has(name)) { + return true; + } + for (let i = stack.length - 1; i >= 0; i--) { + if (set === stack[i]) { + continue; + } + set = stack[i]; + if (set == null ? void 0 : set.has(name)) { + return true; + } + } + return false; + } + function isFileLevelUniqueNameInCurrentFile(name, _isPrivate) { + return currentSourceFile ? isFileLevelUniqueName(currentSourceFile, name, hasGlobalName) : true; + } + function isUniqueLocalName(name, container) { + for (let node = container; node && isNodeDescendantOf(node, container); node = node.nextContainer) { + if (canHaveLocals(node) && node.locals) { + const local = node.locals.get(escapeLeadingUnderscores(name)); + if (local && local.flags & (111551 /* Value */ | 1048576 /* ExportValue */ | 2097152 /* Alias */)) { + return false; + } + } + } + return true; + } + function getTempFlags(formattedNameKey) { + switch (formattedNameKey) { + case "": + return tempFlags; + case "#": + return privateNameTempFlags; + default: + return (formattedNameTempFlags == null ? void 0 : formattedNameTempFlags.get(formattedNameKey)) ?? 0 /* Auto */; + } + } + function setTempFlags(formattedNameKey, flags) { + switch (formattedNameKey) { + case "": + tempFlags = flags; + break; + case "#": + privateNameTempFlags = flags; + break; + default: + formattedNameTempFlags ?? (formattedNameTempFlags = /* @__PURE__ */ new Map()); + formattedNameTempFlags.set(formattedNameKey, flags); + break; + } + } + function makeTempVariableName(flags, reservedInNestedScopes, privateName, prefix, suffix) { + if (prefix.length > 0 && prefix.charCodeAt(0) === 35 /* hash */) { + prefix = prefix.slice(1); + } + const key = formatGeneratedName(privateName, prefix, "", suffix); + let tempFlags2 = getTempFlags(key); + if (flags && !(tempFlags2 & flags)) { + const name = flags === 268435456 /* _i */ ? "_i" : "_n"; + const fullName = formatGeneratedName(privateName, prefix, name, suffix); + if (isUniqueName(fullName, privateName)) { + tempFlags2 |= flags; + if (privateName) { + reservePrivateNameInNestedScopes(fullName); + } else if (reservedInNestedScopes) { + reserveNameInNestedScopes(fullName); + } + setTempFlags(key, tempFlags2); + return fullName; + } + } + while (true) { + const count = tempFlags2 & 268435455 /* CountMask */; + tempFlags2++; + if (count !== 8 && count !== 13) { + const name = count < 26 ? "_" + String.fromCharCode(97 /* a */ + count) : "_" + (count - 26); + const fullName = formatGeneratedName(privateName, prefix, name, suffix); + if (isUniqueName(fullName, privateName)) { + if (privateName) { + reservePrivateNameInNestedScopes(fullName); + } else if (reservedInNestedScopes) { + reserveNameInNestedScopes(fullName); + } + setTempFlags(key, tempFlags2); + return fullName; + } + } + } + } + function makeUniqueName(baseName, checkFn = isUniqueName, optimistic, scoped, privateName, prefix, suffix) { + if (baseName.length > 0 && baseName.charCodeAt(0) === 35 /* hash */) { + baseName = baseName.slice(1); + } + if (prefix.length > 0 && prefix.charCodeAt(0) === 35 /* hash */) { + prefix = prefix.slice(1); + } + if (optimistic) { + const fullName = formatGeneratedName(privateName, prefix, baseName, suffix); + if (checkFn(fullName, privateName)) { + if (privateName) { + reservePrivateNameInNestedScopes(fullName); + } else if (scoped) { + reserveNameInNestedScopes(fullName); + } else { + generatedNames.add(fullName); + } + return fullName; + } + } + if (baseName.charCodeAt(baseName.length - 1) !== 95 /* _ */) { + baseName += "_"; + } + let i = 1; + while (true) { + const fullName = formatGeneratedName(privateName, prefix, baseName + i, suffix); + if (checkFn(fullName, privateName)) { + if (privateName) { + reservePrivateNameInNestedScopes(fullName); + } else if (scoped) { + reserveNameInNestedScopes(fullName); + } else { + generatedNames.add(fullName); + } + return fullName; + } + i++; + } + } + function makeFileLevelOptimisticUniqueName(name) { + return makeUniqueName( + name, + isFileLevelUniqueNameInCurrentFile, + /*optimistic*/ + true, + /*scoped*/ + false, + /*privateName*/ + false, + /*prefix*/ + "", + /*suffix*/ + "" + ); + } + function generateNameForModuleOrEnum(node) { + const name = getTextOfNode2(node.name); + return isUniqueLocalName(name, tryCast(node, canHaveLocals)) ? name : makeUniqueName( + name, + isUniqueName, + /*optimistic*/ + false, + /*scoped*/ + false, + /*privateName*/ + false, + /*prefix*/ + "", + /*suffix*/ + "" + ); + } + function generateNameForImportOrExportDeclaration(node) { + const expr = getExternalModuleName(node); + const baseName = isStringLiteral(expr) ? makeIdentifierFromModuleName(expr.text) : "module"; + return makeUniqueName( + baseName, + isUniqueName, + /*optimistic*/ + false, + /*scoped*/ + false, + /*privateName*/ + false, + /*prefix*/ + "", + /*suffix*/ + "" + ); + } + function generateNameForExportDefault() { + return makeUniqueName( + "default", + isUniqueName, + /*optimistic*/ + false, + /*scoped*/ + false, + /*privateName*/ + false, + /*prefix*/ + "", + /*suffix*/ + "" + ); + } + function generateNameForClassExpression() { + return makeUniqueName( + "class", + isUniqueName, + /*optimistic*/ + false, + /*scoped*/ + false, + /*privateName*/ + false, + /*prefix*/ + "", + /*suffix*/ + "" + ); + } + function generateNameForMethodOrAccessor(node, privateName, prefix, suffix) { + if (isIdentifier(node.name)) { + return generateNameCached(node.name, privateName); + } + return makeTempVariableName( + 0 /* Auto */, + /*reservedInNestedScopes*/ + false, + privateName, + prefix, + suffix + ); + } + function generateNameForNode(node, privateName, flags, prefix, suffix) { + switch (node.kind) { + case 80 /* Identifier */: + case 81 /* PrivateIdentifier */: + return makeUniqueName( + getTextOfNode2(node), + isUniqueName, + !!(flags & 16 /* Optimistic */), + !!(flags & 8 /* ReservedInNestedScopes */), + privateName, + prefix, + suffix + ); + case 267 /* ModuleDeclaration */: + case 266 /* EnumDeclaration */: + Debug.assert(!prefix && !suffix && !privateName); + return generateNameForModuleOrEnum(node); + case 272 /* ImportDeclaration */: + case 278 /* ExportDeclaration */: + Debug.assert(!prefix && !suffix && !privateName); + return generateNameForImportOrExportDeclaration(node); + case 262 /* FunctionDeclaration */: + case 263 /* ClassDeclaration */: { + Debug.assert(!prefix && !suffix && !privateName); + const name = node.name; + if (name && !isGeneratedIdentifier(name)) { + return generateNameForNode( + name, + /*privateName*/ + false, + flags, + prefix, + suffix + ); + } + return generateNameForExportDefault(); + } + case 277 /* ExportAssignment */: + Debug.assert(!prefix && !suffix && !privateName); + return generateNameForExportDefault(); + case 231 /* ClassExpression */: + Debug.assert(!prefix && !suffix && !privateName); + return generateNameForClassExpression(); + case 174 /* MethodDeclaration */: + case 177 /* GetAccessor */: + case 178 /* SetAccessor */: + return generateNameForMethodOrAccessor(node, privateName, prefix, suffix); + case 167 /* ComputedPropertyName */: + return makeTempVariableName( + 0 /* Auto */, + /*reservedInNestedScopes*/ + true, + privateName, + prefix, + suffix + ); + default: + return makeTempVariableName( + 0 /* Auto */, + /*reservedInNestedScopes*/ + false, + privateName, + prefix, + suffix + ); + } + } + function makeName(name) { + const autoGenerate = name.emitNode.autoGenerate; + const prefix = formatGeneratedNamePart(autoGenerate.prefix, generateName); + const suffix = formatGeneratedNamePart(autoGenerate.suffix); + switch (autoGenerate.flags & 7 /* KindMask */) { + case 1 /* Auto */: + return makeTempVariableName(0 /* Auto */, !!(autoGenerate.flags & 8 /* ReservedInNestedScopes */), isPrivateIdentifier(name), prefix, suffix); + case 2 /* Loop */: + Debug.assertNode(name, isIdentifier); + return makeTempVariableName( + 268435456 /* _i */, + !!(autoGenerate.flags & 8 /* ReservedInNestedScopes */), + /*privateName*/ + false, + prefix, + suffix + ); + case 3 /* Unique */: + return makeUniqueName( + idText(name), + autoGenerate.flags & 32 /* FileLevel */ ? isFileLevelUniqueNameInCurrentFile : isUniqueName, + !!(autoGenerate.flags & 16 /* Optimistic */), + !!(autoGenerate.flags & 8 /* ReservedInNestedScopes */), + isPrivateIdentifier(name), + prefix, + suffix + ); + } + return Debug.fail(`Unsupported GeneratedIdentifierKind: ${Debug.formatEnum( + autoGenerate.flags & 7 /* KindMask */, + GeneratedIdentifierFlags, + /*isFlags*/ + true + )}.`); + } + function pipelineEmitWithComments(hint, node) { + const pipelinePhase = getNextPipelinePhase(2 /* Comments */, hint, node); + const savedContainerPos = containerPos; + const savedContainerEnd = containerEnd; + const savedDeclarationListContainerEnd = declarationListContainerEnd; + emitCommentsBeforeNode(node); + pipelinePhase(hint, node); + emitCommentsAfterNode(node, savedContainerPos, savedContainerEnd, savedDeclarationListContainerEnd); + } + function emitCommentsBeforeNode(node) { + const emitFlags = getEmitFlags(node); + const commentRange = getCommentRange(node); + emitLeadingCommentsOfNode(node, emitFlags, commentRange.pos, commentRange.end); + if (emitFlags & 4096 /* NoNestedComments */) { + commentsDisabled = true; + } + } + function emitCommentsAfterNode(node, savedContainerPos, savedContainerEnd, savedDeclarationListContainerEnd) { + const emitFlags = getEmitFlags(node); + const commentRange = getCommentRange(node); + if (emitFlags & 4096 /* NoNestedComments */) { + commentsDisabled = false; + } + emitTrailingCommentsOfNode(node, emitFlags, commentRange.pos, commentRange.end, savedContainerPos, savedContainerEnd, savedDeclarationListContainerEnd); + const typeNode = getTypeNode(node); + if (typeNode) { + emitTrailingCommentsOfNode(node, emitFlags, typeNode.pos, typeNode.end, savedContainerPos, savedContainerEnd, savedDeclarationListContainerEnd); + } + } + function emitLeadingCommentsOfNode(node, emitFlags, pos, end) { + enterComment(); + hasWrittenComment = false; + const skipLeadingComments = pos < 0 || (emitFlags & 1024 /* NoLeadingComments */) !== 0 || node.kind === 12 /* JsxText */; + const skipTrailingComments = end < 0 || (emitFlags & 2048 /* NoTrailingComments */) !== 0 || node.kind === 12 /* JsxText */; + if ((pos > 0 || end > 0) && pos !== end) { + if (!skipLeadingComments) { + emitLeadingComments( + pos, + /*isEmittedNode*/ + node.kind !== 353 /* NotEmittedStatement */ + ); + } + if (!skipLeadingComments || pos >= 0 && (emitFlags & 1024 /* NoLeadingComments */) !== 0) { + containerPos = pos; + } + if (!skipTrailingComments || end >= 0 && (emitFlags & 2048 /* NoTrailingComments */) !== 0) { + containerEnd = end; + if (node.kind === 261 /* VariableDeclarationList */) { + declarationListContainerEnd = end; + } + } + } + forEach(getSyntheticLeadingComments(node), emitLeadingSynthesizedComment); + exitComment(); + } + function emitTrailingCommentsOfNode(node, emitFlags, pos, end, savedContainerPos, savedContainerEnd, savedDeclarationListContainerEnd) { + enterComment(); + const skipTrailingComments = end < 0 || (emitFlags & 2048 /* NoTrailingComments */) !== 0 || node.kind === 12 /* JsxText */; + forEach(getSyntheticTrailingComments(node), emitTrailingSynthesizedComment); + if ((pos > 0 || end > 0) && pos !== end) { + containerPos = savedContainerPos; + containerEnd = savedContainerEnd; + declarationListContainerEnd = savedDeclarationListContainerEnd; + if (!skipTrailingComments && node.kind !== 353 /* NotEmittedStatement */) { + emitTrailingComments(end); + } + } + exitComment(); + } + function emitLeadingSynthesizedComment(comment) { + if (comment.hasLeadingNewline || comment.kind === 2 /* SingleLineCommentTrivia */) { + writer.writeLine(); + } + writeSynthesizedComment(comment); + if (comment.hasTrailingNewLine || comment.kind === 2 /* SingleLineCommentTrivia */) { + writer.writeLine(); + } else { + writer.writeSpace(" "); + } + } + function emitTrailingSynthesizedComment(comment) { + if (!writer.isAtStartOfLine()) { + writer.writeSpace(" "); + } + writeSynthesizedComment(comment); + if (comment.hasTrailingNewLine) { + writer.writeLine(); + } + } + function writeSynthesizedComment(comment) { + const text = formatSynthesizedComment(comment); + const lineMap = comment.kind === 3 /* MultiLineCommentTrivia */ ? computeLineStarts(text) : void 0; + writeCommentRange(text, lineMap, writer, 0, text.length, newLine); + } + function formatSynthesizedComment(comment) { + return comment.kind === 3 /* MultiLineCommentTrivia */ ? `/*${comment.text}*/` : `//${comment.text}`; + } + function emitBodyWithDetachedComments(node, detachedRange, emitCallback) { + enterComment(); + const { pos, end } = detachedRange; + const emitFlags = getEmitFlags(node); + const skipLeadingComments = pos < 0 || (emitFlags & 1024 /* NoLeadingComments */) !== 0; + const skipTrailingComments = commentsDisabled || end < 0 || (emitFlags & 2048 /* NoTrailingComments */) !== 0; + if (!skipLeadingComments) { + emitDetachedCommentsAndUpdateCommentsInfo(detachedRange); + } + exitComment(); + if (emitFlags & 4096 /* NoNestedComments */ && !commentsDisabled) { + commentsDisabled = true; + emitCallback(node); + commentsDisabled = false; + } else { + emitCallback(node); + } + enterComment(); + if (!skipTrailingComments) { + emitLeadingComments( + detachedRange.end, + /*isEmittedNode*/ + true + ); + if (hasWrittenComment && !writer.isAtStartOfLine()) { + writer.writeLine(); + } + } + exitComment(); + } + function originalNodesHaveSameParent(nodeA, nodeB) { + nodeA = getOriginalNode(nodeA); + return nodeA.parent && nodeA.parent === getOriginalNode(nodeB).parent; + } + function siblingNodePositionsAreComparable(previousNode, nextNode) { + if (nextNode.pos < previousNode.end) { + return false; + } + previousNode = getOriginalNode(previousNode); + nextNode = getOriginalNode(nextNode); + const parent = previousNode.parent; + if (!parent || parent !== nextNode.parent) { + return false; + } + const parentNodeArray = getContainingNodeArray(previousNode); + const prevNodeIndex = parentNodeArray == null ? void 0 : parentNodeArray.indexOf(previousNode); + return prevNodeIndex !== void 0 && prevNodeIndex > -1 && parentNodeArray.indexOf(nextNode) === prevNodeIndex + 1; + } + function emitLeadingComments(pos, isEmittedNode) { + hasWrittenComment = false; + if (isEmittedNode) { + if (pos === 0 && (currentSourceFile == null ? void 0 : currentSourceFile.isDeclarationFile)) { + forEachLeadingCommentToEmit(pos, emitNonTripleSlashLeadingComment); + } else { + forEachLeadingCommentToEmit(pos, emitLeadingComment); + } + } else if (pos === 0) { + forEachLeadingCommentToEmit(pos, emitTripleSlashLeadingComment); + } + } + function emitTripleSlashLeadingComment(commentPos, commentEnd, kind, hasTrailingNewLine, rangePos) { + if (isTripleSlashComment(commentPos, commentEnd)) { + emitLeadingComment(commentPos, commentEnd, kind, hasTrailingNewLine, rangePos); + } + } + function emitNonTripleSlashLeadingComment(commentPos, commentEnd, kind, hasTrailingNewLine, rangePos) { + if (!isTripleSlashComment(commentPos, commentEnd)) { + emitLeadingComment(commentPos, commentEnd, kind, hasTrailingNewLine, rangePos); + } + } + function shouldWriteComment(text, pos) { + if (printerOptions.onlyPrintJsDocStyle) { + return isJSDocLikeText(text, pos) || isPinnedComment(text, pos); + } + return true; + } + function emitLeadingComment(commentPos, commentEnd, kind, hasTrailingNewLine, rangePos) { + if (!currentSourceFile || !shouldWriteComment(currentSourceFile.text, commentPos)) return; + if (!hasWrittenComment) { + emitNewLineBeforeLeadingCommentOfPosition(getCurrentLineMap(), writer, rangePos, commentPos); + hasWrittenComment = true; + } + emitPos(commentPos); + writeCommentRange(currentSourceFile.text, getCurrentLineMap(), writer, commentPos, commentEnd, newLine); + emitPos(commentEnd); + if (hasTrailingNewLine) { + writer.writeLine(); + } else if (kind === 3 /* MultiLineCommentTrivia */) { + writer.writeSpace(" "); + } + } + function emitLeadingCommentsOfPosition(pos) { + if (commentsDisabled || pos === -1) { + return; + } + emitLeadingComments( + pos, + /*isEmittedNode*/ + true + ); + } + function emitTrailingComments(pos) { + forEachTrailingCommentToEmit(pos, emitTrailingComment); + } + function emitTrailingComment(commentPos, commentEnd, _kind, hasTrailingNewLine) { + if (!currentSourceFile || !shouldWriteComment(currentSourceFile.text, commentPos)) return; + if (!writer.isAtStartOfLine()) { + writer.writeSpace(" "); + } + emitPos(commentPos); + writeCommentRange(currentSourceFile.text, getCurrentLineMap(), writer, commentPos, commentEnd, newLine); + emitPos(commentEnd); + if (hasTrailingNewLine) { + writer.writeLine(); + } + } + function emitTrailingCommentsOfPosition(pos, prefixSpace, forceNoNewline) { + if (commentsDisabled) { + return; + } + enterComment(); + forEachTrailingCommentToEmit(pos, prefixSpace ? emitTrailingComment : forceNoNewline ? emitTrailingCommentOfPositionNoNewline : emitTrailingCommentOfPosition); + exitComment(); + } + function emitTrailingCommentOfPositionNoNewline(commentPos, commentEnd, kind) { + if (!currentSourceFile) return; + emitPos(commentPos); + writeCommentRange(currentSourceFile.text, getCurrentLineMap(), writer, commentPos, commentEnd, newLine); + emitPos(commentEnd); + if (kind === 2 /* SingleLineCommentTrivia */) { + writer.writeLine(); + } + } + function emitTrailingCommentOfPosition(commentPos, commentEnd, _kind, hasTrailingNewLine) { + if (!currentSourceFile) return; + emitPos(commentPos); + writeCommentRange(currentSourceFile.text, getCurrentLineMap(), writer, commentPos, commentEnd, newLine); + emitPos(commentEnd); + if (hasTrailingNewLine) { + writer.writeLine(); + } else { + writer.writeSpace(" "); + } + } + function forEachLeadingCommentToEmit(pos, cb) { + if (currentSourceFile && (containerPos === -1 || pos !== containerPos)) { + if (hasDetachedComments(pos)) { + forEachLeadingCommentWithoutDetachedComments(cb); + } else { + forEachLeadingCommentRange( + currentSourceFile.text, + pos, + cb, + /*state*/ + pos + ); + } + } + } + function forEachTrailingCommentToEmit(end, cb) { + if (currentSourceFile && (containerEnd === -1 || end !== containerEnd && end !== declarationListContainerEnd)) { + forEachTrailingCommentRange(currentSourceFile.text, end, cb); + } + } + function hasDetachedComments(pos) { + return detachedCommentsInfo !== void 0 && last(detachedCommentsInfo).nodePos === pos; + } + function forEachLeadingCommentWithoutDetachedComments(cb) { + if (!currentSourceFile) return; + const pos = last(detachedCommentsInfo).detachedCommentEndPos; + if (detachedCommentsInfo.length - 1) { + detachedCommentsInfo.pop(); + } else { + detachedCommentsInfo = void 0; + } + forEachLeadingCommentRange( + currentSourceFile.text, + pos, + cb, + /*state*/ + pos + ); + } + function emitDetachedCommentsAndUpdateCommentsInfo(range) { + const currentDetachedCommentInfo = currentSourceFile && emitDetachedComments(currentSourceFile.text, getCurrentLineMap(), writer, emitComment, range, newLine, commentsDisabled); + if (currentDetachedCommentInfo) { + if (detachedCommentsInfo) { + detachedCommentsInfo.push(currentDetachedCommentInfo); + } else { + detachedCommentsInfo = [currentDetachedCommentInfo]; + } + } + } + function emitComment(text, lineMap, writer2, commentPos, commentEnd, newLine2) { + if (!currentSourceFile || !shouldWriteComment(currentSourceFile.text, commentPos)) return; + emitPos(commentPos); + writeCommentRange(text, lineMap, writer2, commentPos, commentEnd, newLine2); + emitPos(commentEnd); + } + function isTripleSlashComment(commentPos, commentEnd) { + return !!currentSourceFile && isRecognizedTripleSlashComment(currentSourceFile.text, commentPos, commentEnd); + } + function pipelineEmitWithSourceMaps(hint, node) { + const pipelinePhase = getNextPipelinePhase(3 /* SourceMaps */, hint, node); + emitSourceMapsBeforeNode(node); + pipelinePhase(hint, node); + emitSourceMapsAfterNode(node); + } + function emitSourceMapsBeforeNode(node) { + const emitFlags = getEmitFlags(node); + const sourceMapRange = getSourceMapRange(node); + const source = sourceMapRange.source || sourceMapSource; + if (node.kind !== 353 /* NotEmittedStatement */ && (emitFlags & 32 /* NoLeadingSourceMap */) === 0 && sourceMapRange.pos >= 0) { + emitSourcePos(sourceMapRange.source || sourceMapSource, skipSourceTrivia(source, sourceMapRange.pos)); + } + if (emitFlags & 128 /* NoNestedSourceMaps */) { + sourceMapsDisabled = true; + } + } + function emitSourceMapsAfterNode(node) { + const emitFlags = getEmitFlags(node); + const sourceMapRange = getSourceMapRange(node); + if (emitFlags & 128 /* NoNestedSourceMaps */) { + sourceMapsDisabled = false; + } + if (node.kind !== 353 /* NotEmittedStatement */ && (emitFlags & 64 /* NoTrailingSourceMap */) === 0 && sourceMapRange.end >= 0) { + emitSourcePos(sourceMapRange.source || sourceMapSource, sourceMapRange.end); + } + } + function skipSourceTrivia(source, pos) { + return source.skipTrivia ? source.skipTrivia(pos) : skipTrivia(source.text, pos); + } + function emitPos(pos) { + if (sourceMapsDisabled || positionIsSynthesized(pos) || isJsonSourceMapSource(sourceMapSource)) { + return; + } + const { line: sourceLine, character: sourceCharacter } = getLineAndCharacterOfPosition(sourceMapSource, pos); + sourceMapGenerator.addMapping( + writer.getLine(), + writer.getColumn(), + sourceMapSourceIndex, + sourceLine, + sourceCharacter, + /*nameIndex*/ + void 0 + ); + } + function emitSourcePos(source, pos) { + if (source !== sourceMapSource) { + const savedSourceMapSource = sourceMapSource; + const savedSourceMapSourceIndex = sourceMapSourceIndex; + setSourceMapSource(source); + emitPos(pos); + resetSourceMapSource(savedSourceMapSource, savedSourceMapSourceIndex); + } else { + emitPos(pos); + } + } + function emitTokenWithSourceMap(node, token, writer2, tokenPos, emitCallback) { + if (sourceMapsDisabled || node && isInJsonFile(node)) { + return emitCallback(token, writer2, tokenPos); + } + const emitNode = node && node.emitNode; + const emitFlags = emitNode && emitNode.flags || 0 /* None */; + const range = emitNode && emitNode.tokenSourceMapRanges && emitNode.tokenSourceMapRanges[token]; + const source = range && range.source || sourceMapSource; + tokenPos = skipSourceTrivia(source, range ? range.pos : tokenPos); + if ((emitFlags & 256 /* NoTokenLeadingSourceMaps */) === 0 && tokenPos >= 0) { + emitSourcePos(source, tokenPos); + } + tokenPos = emitCallback(token, writer2, tokenPos); + if (range) tokenPos = range.end; + if ((emitFlags & 512 /* NoTokenTrailingSourceMaps */) === 0 && tokenPos >= 0) { + emitSourcePos(source, tokenPos); + } + return tokenPos; + } + function setSourceMapSource(source) { + if (sourceMapsDisabled) { + return; + } + sourceMapSource = source; + if (source === mostRecentlyAddedSourceMapSource) { + sourceMapSourceIndex = mostRecentlyAddedSourceMapSourceIndex; + return; + } + if (isJsonSourceMapSource(source)) { + return; + } + sourceMapSourceIndex = sourceMapGenerator.addSource(source.fileName); + if (printerOptions.inlineSources) { + sourceMapGenerator.setSourceContent(sourceMapSourceIndex, source.text); + } + mostRecentlyAddedSourceMapSource = source; + mostRecentlyAddedSourceMapSourceIndex = sourceMapSourceIndex; + } + function resetSourceMapSource(source, sourceIndex) { + sourceMapSource = source; + sourceMapSourceIndex = sourceIndex; + } + function isJsonSourceMapSource(sourceFile) { + return fileExtensionIs(sourceFile.fileName, ".json" /* Json */); + } +} +function createBracketsMap() { + const brackets2 = []; + brackets2[1024 /* Braces */] = ["{", "}"]; + brackets2[2048 /* Parenthesis */] = ["(", ")"]; + brackets2[4096 /* AngleBrackets */] = ["<", ">"]; + brackets2[8192 /* SquareBrackets */] = ["[", "]"]; + return brackets2; +} +function getOpeningBracket(format) { + return brackets[format & 15360 /* BracketsMask */][0]; +} +function getClosingBracket(format) { + return brackets[format & 15360 /* BracketsMask */][1]; +} +function emitListItemNoParenthesizer(node, emit, _parenthesizerRule, _index) { + emit(node); +} +function emitListItemWithParenthesizerRuleSelector(node, emit, parenthesizerRuleSelector, index) { + emit(node, parenthesizerRuleSelector.select(index)); +} +function emitListItemWithParenthesizerRule(node, emit, parenthesizerRule, _index) { + emit(node, parenthesizerRule); +} +function getEmitListItem(emit, parenthesizerRule) { + return emit.length === 1 ? emitListItemNoParenthesizer : typeof parenthesizerRule === "object" ? emitListItemWithParenthesizerRuleSelector : emitListItemWithParenthesizerRule; +} + +// src/compiler/watchUtilities.ts +function createCachedDirectoryStructureHost(host, currentDirectory, useCaseSensitiveFileNames2) { + if (!host.getDirectories || !host.readDirectory) { + return void 0; + } + const cachedReadDirectoryResult = /* @__PURE__ */ new Map(); + const getCanonicalFileName = createGetCanonicalFileName(useCaseSensitiveFileNames2); + return { + useCaseSensitiveFileNames: useCaseSensitiveFileNames2, + fileExists, + readFile: (path, encoding) => host.readFile(path, encoding), + directoryExists: host.directoryExists && directoryExists, + getDirectories, + readDirectory, + createDirectory: host.createDirectory && createDirectory, + writeFile: host.writeFile && writeFile2, + addOrDeleteFileOrDirectory, + addOrDeleteFile, + clearCache, + realpath: host.realpath && realpath + }; + function toPath3(fileName) { + return toPath(fileName, currentDirectory, getCanonicalFileName); + } + function getCachedFileSystemEntries(rootDirPath) { + return cachedReadDirectoryResult.get(ensureTrailingDirectorySeparator(rootDirPath)); + } + function getCachedFileSystemEntriesForBaseDir(path) { + const entries = getCachedFileSystemEntries(getDirectoryPath(path)); + if (!entries) { + return entries; + } + if (!entries.sortedAndCanonicalizedFiles) { + entries.sortedAndCanonicalizedFiles = entries.files.map(getCanonicalFileName).sort(); + entries.sortedAndCanonicalizedDirectories = entries.directories.map(getCanonicalFileName).sort(); + } + return entries; + } + function getBaseNameOfFileName(fileName) { + return getBaseFileName(normalizePath(fileName)); + } + function createCachedFileSystemEntries(rootDir, rootDirPath) { + var _a; + if (!host.realpath || ensureTrailingDirectorySeparator(toPath3(host.realpath(rootDir))) === rootDirPath) { + const resultFromHost = { + files: map(host.readDirectory( + rootDir, + /*extensions*/ + void 0, + /*exclude*/ + void 0, + /*include*/ + ["*.*"] + ), getBaseNameOfFileName) || [], + directories: host.getDirectories(rootDir) || [] + }; + cachedReadDirectoryResult.set(ensureTrailingDirectorySeparator(rootDirPath), resultFromHost); + return resultFromHost; + } + if ((_a = host.directoryExists) == null ? void 0 : _a.call(host, rootDir)) { + cachedReadDirectoryResult.set(rootDirPath, false); + return false; + } + return void 0; + } + function tryReadDirectory(rootDir, rootDirPath) { + rootDirPath = ensureTrailingDirectorySeparator(rootDirPath); + const cachedResult = getCachedFileSystemEntries(rootDirPath); + if (cachedResult) { + return cachedResult; + } + try { + return createCachedFileSystemEntries(rootDir, rootDirPath); + } catch { + Debug.assert(!cachedReadDirectoryResult.has(ensureTrailingDirectorySeparator(rootDirPath))); + return void 0; + } + } + function hasEntry(entries, name) { + const index = binarySearch(entries, name, identity, compareStringsCaseSensitive); + return index >= 0; + } + function writeFile2(fileName, data, writeByteOrderMark) { + const path = toPath3(fileName); + const result = getCachedFileSystemEntriesForBaseDir(path); + if (result) { + updateFilesOfFileSystemEntry( + result, + getBaseNameOfFileName(fileName), + /*fileExists*/ + true + ); + } + return host.writeFile(fileName, data, writeByteOrderMark); + } + function fileExists(fileName) { + const path = toPath3(fileName); + const result = getCachedFileSystemEntriesForBaseDir(path); + return result && hasEntry(result.sortedAndCanonicalizedFiles, getCanonicalFileName(getBaseNameOfFileName(fileName))) || host.fileExists(fileName); + } + function directoryExists(dirPath) { + const path = toPath3(dirPath); + return cachedReadDirectoryResult.has(ensureTrailingDirectorySeparator(path)) || host.directoryExists(dirPath); + } + function createDirectory(dirPath) { + const path = toPath3(dirPath); + const result = getCachedFileSystemEntriesForBaseDir(path); + if (result) { + const baseName = getBaseNameOfFileName(dirPath); + const canonicalizedBaseName = getCanonicalFileName(baseName); + const canonicalizedDirectories = result.sortedAndCanonicalizedDirectories; + if (insertSorted(canonicalizedDirectories, canonicalizedBaseName, compareStringsCaseSensitive)) { + result.directories.push(baseName); + } + } + host.createDirectory(dirPath); + } + function getDirectories(rootDir) { + const rootDirPath = toPath3(rootDir); + const result = tryReadDirectory(rootDir, rootDirPath); + if (result) { + return result.directories.slice(); + } + return host.getDirectories(rootDir); + } + function readDirectory(rootDir, extensions, excludes, includes, depth) { + const rootDirPath = toPath3(rootDir); + const rootResult = tryReadDirectory(rootDir, rootDirPath); + let rootSymLinkResult; + if (rootResult !== void 0) { + return matchFiles(rootDir, extensions, excludes, includes, useCaseSensitiveFileNames2, currentDirectory, depth, getFileSystemEntries, realpath); + } + return host.readDirectory(rootDir, extensions, excludes, includes, depth); + function getFileSystemEntries(dir) { + const path = toPath3(dir); + if (path === rootDirPath) { + return rootResult || getFileSystemEntriesFromHost(dir, path); + } + const result = tryReadDirectory(dir, path); + return result !== void 0 ? result || getFileSystemEntriesFromHost(dir, path) : emptyFileSystemEntries; + } + function getFileSystemEntriesFromHost(dir, path) { + if (rootSymLinkResult && path === rootDirPath) return rootSymLinkResult; + const result = { + files: map(host.readDirectory( + dir, + /*extensions*/ + void 0, + /*exclude*/ + void 0, + /*include*/ + ["*.*"] + ), getBaseNameOfFileName) || emptyArray, + directories: host.getDirectories(dir) || emptyArray + }; + if (path === rootDirPath) rootSymLinkResult = result; + return result; + } + } + function realpath(s) { + return host.realpath ? host.realpath(s) : s; + } + function clearFirstAncestorEntry(fileOrDirectoryPath) { + forEachAncestorDirectory( + getDirectoryPath(fileOrDirectoryPath), + (ancestor) => cachedReadDirectoryResult.delete(ensureTrailingDirectorySeparator(ancestor)) ? true : void 0 + ); + } + function addOrDeleteFileOrDirectory(fileOrDirectory, fileOrDirectoryPath) { + const existingResult = getCachedFileSystemEntries(fileOrDirectoryPath); + if (existingResult !== void 0) { + clearCache(); + return void 0; + } + const parentResult = getCachedFileSystemEntriesForBaseDir(fileOrDirectoryPath); + if (!parentResult) { + clearFirstAncestorEntry(fileOrDirectoryPath); + return void 0; + } + if (!host.directoryExists) { + clearCache(); + return void 0; + } + const baseName = getBaseNameOfFileName(fileOrDirectory); + const fsQueryResult = { + fileExists: host.fileExists(fileOrDirectory), + directoryExists: host.directoryExists(fileOrDirectory) + }; + if (fsQueryResult.directoryExists || hasEntry(parentResult.sortedAndCanonicalizedDirectories, getCanonicalFileName(baseName))) { + clearCache(); + } else { + updateFilesOfFileSystemEntry(parentResult, baseName, fsQueryResult.fileExists); + } + return fsQueryResult; + } + function addOrDeleteFile(fileName, filePath, eventKind) { + if (eventKind === 1 /* Changed */) { + return; + } + const parentResult = getCachedFileSystemEntriesForBaseDir(filePath); + if (parentResult) { + updateFilesOfFileSystemEntry(parentResult, getBaseNameOfFileName(fileName), eventKind === 0 /* Created */); + } else { + clearFirstAncestorEntry(filePath); + } + } + function updateFilesOfFileSystemEntry(parentResult, baseName, fileExists2) { + const canonicalizedFiles = parentResult.sortedAndCanonicalizedFiles; + const canonicalizedBaseName = getCanonicalFileName(baseName); + if (fileExists2) { + if (insertSorted(canonicalizedFiles, canonicalizedBaseName, compareStringsCaseSensitive)) { + parentResult.files.push(baseName); + } + } else { + const sortedIndex = binarySearch(canonicalizedFiles, canonicalizedBaseName, identity, compareStringsCaseSensitive); + if (sortedIndex >= 0) { + canonicalizedFiles.splice(sortedIndex, 1); + const unsortedIndex = parentResult.files.findIndex((entry) => getCanonicalFileName(entry) === canonicalizedBaseName); + parentResult.files.splice(unsortedIndex, 1); + } + } + } + function clearCache() { + cachedReadDirectoryResult.clear(); + } +} +function updateSharedExtendedConfigFileWatcher(projectPath, options, extendedConfigFilesMap, createExtendedConfigFileWatch, toPath3) { + var _a; + const extendedConfigs = arrayToMap(((_a = options == null ? void 0 : options.configFile) == null ? void 0 : _a.extendedSourceFiles) || emptyArray, toPath3); + extendedConfigFilesMap.forEach((watcher, extendedConfigFilePath) => { + if (!extendedConfigs.has(extendedConfigFilePath)) { + watcher.projects.delete(projectPath); + watcher.close(); + } + }); + extendedConfigs.forEach((extendedConfigFileName, extendedConfigFilePath) => { + const existing = extendedConfigFilesMap.get(extendedConfigFilePath); + if (existing) { + existing.projects.add(projectPath); + } else { + extendedConfigFilesMap.set(extendedConfigFilePath, { + projects: /* @__PURE__ */ new Set([projectPath]), + watcher: createExtendedConfigFileWatch(extendedConfigFileName, extendedConfigFilePath), + close: () => { + const existing2 = extendedConfigFilesMap.get(extendedConfigFilePath); + if (!existing2 || existing2.projects.size !== 0) return; + existing2.watcher.close(); + extendedConfigFilesMap.delete(extendedConfigFilePath); + } + }); + } + }); +} +function clearSharedExtendedConfigFileWatcher(projectPath, extendedConfigFilesMap) { + extendedConfigFilesMap.forEach((watcher) => { + if (watcher.projects.delete(projectPath)) watcher.close(); + }); +} +function cleanExtendedConfigCache(extendedConfigCache, extendedConfigFilePath, toPath3) { + if (!extendedConfigCache.delete(extendedConfigFilePath)) return; + extendedConfigCache.forEach(({ extendedResult }, key) => { + var _a; + if ((_a = extendedResult.extendedSourceFiles) == null ? void 0 : _a.some((extendedFile) => toPath3(extendedFile) === extendedConfigFilePath)) { + cleanExtendedConfigCache(extendedConfigCache, key, toPath3); + } + }); +} +function updateMissingFilePathsWatch(program, missingFileWatches, createMissingFileWatch) { + mutateMap( + missingFileWatches, + program.getMissingFilePaths(), + { + // Watch the missing files + createNewValue: createMissingFileWatch, + // Files that are no longer missing (e.g. because they are no longer required) + // should no longer be watched. + onDeleteValue: closeFileWatcher + } + ); +} +function updateWatchingWildcardDirectories(existingWatchedForWildcards, wildcardDirectories, watchDirectory) { + if (wildcardDirectories) { + mutateMap( + existingWatchedForWildcards, + new Map(Object.entries(wildcardDirectories)), + { + // Create new watch and recursive info + createNewValue: createWildcardDirectoryWatcher, + // Close existing watch thats not needed any more + onDeleteValue: closeFileWatcherOf, + // Close existing watch that doesnt match in the flags + onExistingValue: updateWildcardDirectoryWatcher + } + ); + } else { + clearMap(existingWatchedForWildcards, closeFileWatcherOf); + } + function createWildcardDirectoryWatcher(directory, flags) { + return { + watcher: watchDirectory(directory, flags), + flags + }; + } + function updateWildcardDirectoryWatcher(existingWatcher, flags, directory) { + if (existingWatcher.flags === flags) { + return; + } + existingWatcher.watcher.close(); + existingWatchedForWildcards.set(directory, createWildcardDirectoryWatcher(directory, flags)); + } +} +function isIgnoredFileFromWildCardWatching({ + watchedDirPath, + fileOrDirectory, + fileOrDirectoryPath, + configFileName, + options, + program, + extraFileExtensions, + currentDirectory, + useCaseSensitiveFileNames: useCaseSensitiveFileNames2, + writeLog, + toPath: toPath3, + getScriptKind +}) { + const newPath = removeIgnoredPath(fileOrDirectoryPath); + if (!newPath) { + writeLog(`Project: ${configFileName} Detected ignored path: ${fileOrDirectory}`); + return true; + } + fileOrDirectoryPath = newPath; + if (fileOrDirectoryPath === watchedDirPath) return false; + if (hasExtension(fileOrDirectoryPath) && !(isSupportedSourceFileName(fileOrDirectory, options, extraFileExtensions) || isSupportedScriptKind())) { + writeLog(`Project: ${configFileName} Detected file add/remove of non supported extension: ${fileOrDirectory}`); + return true; + } + if (isExcludedFile(fileOrDirectory, options.configFile.configFileSpecs, getNormalizedAbsolutePath(getDirectoryPath(configFileName), currentDirectory), useCaseSensitiveFileNames2, currentDirectory)) { + writeLog(`Project: ${configFileName} Detected excluded file: ${fileOrDirectory}`); + return true; + } + if (!program) return false; + if (options.outFile || options.outDir) return false; + if (isDeclarationFileName(fileOrDirectoryPath)) { + if (options.declarationDir) return false; + } else if (!fileExtensionIsOneOf(fileOrDirectoryPath, supportedJSExtensionsFlat)) { + return false; + } + const filePathWithoutExtension = removeFileExtension(fileOrDirectoryPath); + const realProgram = isArray(program) ? void 0 : isBuilderProgram(program) ? program.getProgramOrUndefined() : program; + const builderProgram = !realProgram && !isArray(program) ? program : void 0; + if (hasSourceFile(filePathWithoutExtension + ".ts" /* Ts */) || hasSourceFile(filePathWithoutExtension + ".tsx" /* Tsx */)) { + writeLog(`Project: ${configFileName} Detected output file: ${fileOrDirectory}`); + return true; + } + return false; + function hasSourceFile(file) { + return realProgram ? !!realProgram.getSourceFileByPath(file) : builderProgram ? builderProgram.state.fileInfos.has(file) : !!find(program, (rootFile) => toPath3(rootFile) === file); + } + function isSupportedScriptKind() { + if (!getScriptKind) return false; + const scriptKind = getScriptKind(fileOrDirectory); + switch (scriptKind) { + case 3 /* TS */: + case 4 /* TSX */: + case 7 /* Deferred */: + case 5 /* External */: + return true; + case 1 /* JS */: + case 2 /* JSX */: + return getAllowJSCompilerOption(options); + case 6 /* JSON */: + return getResolveJsonModule(options); + case 0 /* Unknown */: + return false; + } + } +} +function isEmittedFileOfProgram(program, file) { + if (!program) { + return false; + } + return program.isEmittedFile(file); +} +function getWatchFactory(host, watchLogLevel, log, getDetailWatchInfo) { + setSysLog(watchLogLevel === 2 /* Verbose */ ? log : noop); + const plainInvokeFactory = { + watchFile: (file, callback, pollingInterval, options) => host.watchFile(file, callback, pollingInterval, options), + watchDirectory: (directory, callback, flags, options) => host.watchDirectory(directory, callback, (flags & 1 /* Recursive */) !== 0, options) + }; + const triggerInvokingFactory = watchLogLevel !== 0 /* None */ ? { + watchFile: createTriggerLoggingAddWatch("watchFile"), + watchDirectory: createTriggerLoggingAddWatch("watchDirectory") + } : void 0; + const factory2 = watchLogLevel === 2 /* Verbose */ ? { + watchFile: createFileWatcherWithLogging, + watchDirectory: createDirectoryWatcherWithLogging + } : triggerInvokingFactory || plainInvokeFactory; + const excludeWatcherFactory = watchLogLevel === 2 /* Verbose */ ? createExcludeWatcherWithLogging : returnNoopFileWatcher; + return { + watchFile: createExcludeHandlingAddWatch("watchFile"), + watchDirectory: createExcludeHandlingAddWatch("watchDirectory") + }; + function createExcludeHandlingAddWatch(key) { + return (file, cb, flags, options, detailInfo1, detailInfo2) => { + var _a; + return !matchesExclude(file, key === "watchFile" ? options == null ? void 0 : options.excludeFiles : options == null ? void 0 : options.excludeDirectories, useCaseSensitiveFileNames2(), ((_a = host.getCurrentDirectory) == null ? void 0 : _a.call(host)) || "") ? factory2[key].call( + /*thisArgs*/ + void 0, + file, + cb, + flags, + options, + detailInfo1, + detailInfo2 + ) : excludeWatcherFactory(file, flags, options, detailInfo1, detailInfo2); + }; + } + function useCaseSensitiveFileNames2() { + return typeof host.useCaseSensitiveFileNames === "boolean" ? host.useCaseSensitiveFileNames : host.useCaseSensitiveFileNames(); + } + function createExcludeWatcherWithLogging(file, flags, options, detailInfo1, detailInfo2) { + log(`ExcludeWatcher:: Added:: ${getWatchInfo(file, flags, options, detailInfo1, detailInfo2, getDetailWatchInfo)}`); + return { + close: () => log(`ExcludeWatcher:: Close:: ${getWatchInfo(file, flags, options, detailInfo1, detailInfo2, getDetailWatchInfo)}`) + }; + } + function createFileWatcherWithLogging(file, cb, flags, options, detailInfo1, detailInfo2) { + log(`FileWatcher:: Added:: ${getWatchInfo(file, flags, options, detailInfo1, detailInfo2, getDetailWatchInfo)}`); + const watcher = triggerInvokingFactory.watchFile(file, cb, flags, options, detailInfo1, detailInfo2); + return { + close: () => { + log(`FileWatcher:: Close:: ${getWatchInfo(file, flags, options, detailInfo1, detailInfo2, getDetailWatchInfo)}`); + watcher.close(); + } + }; + } + function createDirectoryWatcherWithLogging(file, cb, flags, options, detailInfo1, detailInfo2) { + const watchInfo = `DirectoryWatcher:: Added:: ${getWatchInfo(file, flags, options, detailInfo1, detailInfo2, getDetailWatchInfo)}`; + log(watchInfo); + const start = timestamp(); + const watcher = triggerInvokingFactory.watchDirectory(file, cb, flags, options, detailInfo1, detailInfo2); + const elapsed = timestamp() - start; + log(`Elapsed:: ${elapsed}ms ${watchInfo}`); + return { + close: () => { + const watchInfo2 = `DirectoryWatcher:: Close:: ${getWatchInfo(file, flags, options, detailInfo1, detailInfo2, getDetailWatchInfo)}`; + log(watchInfo2); + const start2 = timestamp(); + watcher.close(); + const elapsed2 = timestamp() - start2; + log(`Elapsed:: ${elapsed2}ms ${watchInfo2}`); + } + }; + } + function createTriggerLoggingAddWatch(key) { + return (file, cb, flags, options, detailInfo1, detailInfo2) => plainInvokeFactory[key].call( + /*thisArgs*/ + void 0, + file, + (...args) => { + const triggerredInfo = `${key === "watchFile" ? "FileWatcher" : "DirectoryWatcher"}:: Triggered with ${args[0]} ${args[1] !== void 0 ? args[1] : ""}:: ${getWatchInfo(file, flags, options, detailInfo1, detailInfo2, getDetailWatchInfo)}`; + log(triggerredInfo); + const start = timestamp(); + cb.call( + /*thisArg*/ + void 0, + ...args + ); + const elapsed = timestamp() - start; + log(`Elapsed:: ${elapsed}ms ${triggerredInfo}`); + }, + flags, + options, + detailInfo1, + detailInfo2 + ); + } + function getWatchInfo(file, flags, options, detailInfo1, detailInfo2, getDetailWatchInfo2) { + return `WatchInfo: ${file} ${flags} ${JSON.stringify(options)} ${getDetailWatchInfo2 ? getDetailWatchInfo2(detailInfo1, detailInfo2) : detailInfo2 === void 0 ? detailInfo1 : `${detailInfo1} ${detailInfo2}`}`; + } +} +function getFallbackOptions(options) { + const fallbackPolling = options == null ? void 0 : options.fallbackPolling; + return { + watchFile: fallbackPolling !== void 0 ? fallbackPolling : 1 /* PriorityPollingInterval */ + }; +} +function closeFileWatcherOf(objWithWatcher) { + objWithWatcher.watcher.close(); +} + +// src/compiler/program.ts +function findConfigFile(searchPath, fileExists, configName = "tsconfig.json") { + return forEachAncestorDirectory(searchPath, (ancestor) => { + const fileName = combinePaths(ancestor, configName); + return fileExists(fileName) ? fileName : void 0; + }); +} +function resolveTripleslashReference(moduleName, containingFile) { + const basePath = getDirectoryPath(containingFile); + const referencedFileName = isRootedDiskPath(moduleName) ? moduleName : combinePaths(basePath, moduleName); + return normalizePath(referencedFileName); +} +function computeCommonSourceDirectoryOfFilenames(fileNames, currentDirectory, getCanonicalFileName) { + let commonPathComponents; + const failed2 = forEach(fileNames, (sourceFile) => { + const sourcePathComponents = getNormalizedPathComponents(sourceFile, currentDirectory); + sourcePathComponents.pop(); + if (!commonPathComponents) { + commonPathComponents = sourcePathComponents; + return; + } + const n = Math.min(commonPathComponents.length, sourcePathComponents.length); + for (let i = 0; i < n; i++) { + if (getCanonicalFileName(commonPathComponents[i]) !== getCanonicalFileName(sourcePathComponents[i])) { + if (i === 0) { + return true; + } + commonPathComponents.length = i; + break; + } + } + if (sourcePathComponents.length < commonPathComponents.length) { + commonPathComponents.length = sourcePathComponents.length; + } + }); + if (failed2) { + return ""; + } + if (!commonPathComponents) { + return currentDirectory; + } + return getPathFromPathComponents(commonPathComponents); +} +function createCompilerHost(options, setParentNodes) { + return createCompilerHostWorker(options, setParentNodes); +} +function createGetSourceFile(readFile, setParentNodes) { + return (fileName, languageVersionOrOptions, onError) => { + let text; + try { + mark("beforeIORead"); + text = readFile(fileName); + mark("afterIORead"); + measure("I/O Read", "beforeIORead", "afterIORead"); + } catch (e) { + if (onError) { + onError(e.message); + } + text = ""; + } + return text !== void 0 ? createSourceFile(fileName, text, languageVersionOrOptions, setParentNodes) : void 0; + }; +} +function createWriteFileMeasuringIO(actualWriteFile, createDirectory, directoryExists) { + return (fileName, data, writeByteOrderMark, onError) => { + try { + mark("beforeIOWrite"); + writeFileEnsuringDirectories( + fileName, + data, + writeByteOrderMark, + actualWriteFile, + createDirectory, + directoryExists + ); + mark("afterIOWrite"); + measure("I/O Write", "beforeIOWrite", "afterIOWrite"); + } catch (e) { + if (onError) { + onError(e.message); + } + } + }; +} +function createCompilerHostWorker(options, setParentNodes, system = sys) { + const existingDirectories = /* @__PURE__ */ new Map(); + const getCanonicalFileName = createGetCanonicalFileName(system.useCaseSensitiveFileNames); + function directoryExists(directoryPath) { + if (existingDirectories.has(directoryPath)) { + return true; + } + if ((compilerHost.directoryExists || system.directoryExists)(directoryPath)) { + existingDirectories.set(directoryPath, true); + return true; + } + return false; + } + function getDefaultLibLocation() { + return getDirectoryPath(normalizePath(system.getExecutingFilePath())); + } + const newLine = getNewLineCharacter(options); + const realpath = system.realpath && ((path) => system.realpath(path)); + const compilerHost = { + getSourceFile: createGetSourceFile((fileName) => compilerHost.readFile(fileName), setParentNodes), + getDefaultLibLocation, + getDefaultLibFileName: (options2) => combinePaths(getDefaultLibLocation(), getDefaultLibFileName(options2)), + writeFile: createWriteFileMeasuringIO( + (path, data, writeByteOrderMark) => system.writeFile(path, data, writeByteOrderMark), + (path) => (compilerHost.createDirectory || system.createDirectory)(path), + (path) => directoryExists(path) + ), + getCurrentDirectory: memoize(() => system.getCurrentDirectory()), + useCaseSensitiveFileNames: () => system.useCaseSensitiveFileNames, + getCanonicalFileName, + getNewLine: () => newLine, + fileExists: (fileName) => system.fileExists(fileName), + readFile: (fileName) => system.readFile(fileName), + trace: (s) => system.write(s + newLine), + directoryExists: (directoryName) => system.directoryExists(directoryName), + getEnvironmentVariable: (name) => system.getEnvironmentVariable ? system.getEnvironmentVariable(name) : "", + getDirectories: (path) => system.getDirectories(path), + realpath, + readDirectory: (path, extensions, include, exclude, depth) => system.readDirectory(path, extensions, include, exclude, depth), + createDirectory: (d) => system.createDirectory(d), + createHash: maybeBind(system, system.createHash) + }; + return compilerHost; +} +function changeCompilerHostLikeToUseCache(host, toPath3, getSourceFile) { + const originalReadFile = host.readFile; + const originalFileExists = host.fileExists; + const originalDirectoryExists = host.directoryExists; + const originalCreateDirectory = host.createDirectory; + const originalWriteFile = host.writeFile; + const readFileCache = /* @__PURE__ */ new Map(); + const fileExistsCache = /* @__PURE__ */ new Map(); + const directoryExistsCache = /* @__PURE__ */ new Map(); + const sourceFileCache = /* @__PURE__ */ new Map(); + const readFileWithCache = (fileName) => { + const key = toPath3(fileName); + const value = readFileCache.get(key); + if (value !== void 0) return value !== false ? value : void 0; + return setReadFileCache(key, fileName); + }; + const setReadFileCache = (key, fileName) => { + const newValue = originalReadFile.call(host, fileName); + readFileCache.set(key, newValue !== void 0 ? newValue : false); + return newValue; + }; + host.readFile = (fileName) => { + const key = toPath3(fileName); + const value = readFileCache.get(key); + if (value !== void 0) return value !== false ? value : void 0; + if (!fileExtensionIs(fileName, ".json" /* Json */) && !isBuildInfoFile(fileName)) { + return originalReadFile.call(host, fileName); + } + return setReadFileCache(key, fileName); + }; + const getSourceFileWithCache = getSourceFile ? (fileName, languageVersionOrOptions, onError, shouldCreateNewSourceFile) => { + const key = toPath3(fileName); + const impliedNodeFormat = typeof languageVersionOrOptions === "object" ? languageVersionOrOptions.impliedNodeFormat : void 0; + const forImpliedNodeFormat = sourceFileCache.get(impliedNodeFormat); + const value = forImpliedNodeFormat == null ? void 0 : forImpliedNodeFormat.get(key); + if (value) return value; + const sourceFile = getSourceFile(fileName, languageVersionOrOptions, onError, shouldCreateNewSourceFile); + if (sourceFile && (isDeclarationFileName(fileName) || fileExtensionIs(fileName, ".json" /* Json */))) { + sourceFileCache.set(impliedNodeFormat, (forImpliedNodeFormat || /* @__PURE__ */ new Map()).set(key, sourceFile)); + } + return sourceFile; + } : void 0; + host.fileExists = (fileName) => { + const key = toPath3(fileName); + const value = fileExistsCache.get(key); + if (value !== void 0) return value; + const newValue = originalFileExists.call(host, fileName); + fileExistsCache.set(key, !!newValue); + return newValue; + }; + if (originalWriteFile) { + host.writeFile = (fileName, data, ...rest) => { + const key = toPath3(fileName); + fileExistsCache.delete(key); + const value = readFileCache.get(key); + if (value !== void 0 && value !== data) { + readFileCache.delete(key); + sourceFileCache.forEach((map2) => map2.delete(key)); + } else if (getSourceFileWithCache) { + sourceFileCache.forEach((map2) => { + const sourceFile = map2.get(key); + if (sourceFile && sourceFile.text !== data) { + map2.delete(key); + } + }); + } + originalWriteFile.call(host, fileName, data, ...rest); + }; + } + if (originalDirectoryExists) { + host.directoryExists = (directory) => { + const key = toPath3(directory); + const value = directoryExistsCache.get(key); + if (value !== void 0) return value; + const newValue = originalDirectoryExists.call(host, directory); + directoryExistsCache.set(key, !!newValue); + return newValue; + }; + if (originalCreateDirectory) { + host.createDirectory = (directory) => { + const key = toPath3(directory); + directoryExistsCache.delete(key); + originalCreateDirectory.call(host, directory); + }; + } + } + return { + originalReadFile, + originalFileExists, + originalDirectoryExists, + originalCreateDirectory, + originalWriteFile, + getSourceFileWithCache, + readFileWithCache + }; +} +function formatDiagnostic(diagnostic, host) { + const errorMessage = `${diagnosticCategoryName(diagnostic)} TS${diagnostic.code}: ${flattenDiagnosticMessageText(diagnostic.messageText, host.getNewLine())}${host.getNewLine()}`; + if (diagnostic.file) { + const { line, character } = getLineAndCharacterOfPosition(diagnostic.file, diagnostic.start); + const fileName = diagnostic.file.fileName; + const relativeFileName = convertToRelativePath(fileName, host.getCurrentDirectory(), (fileName2) => host.getCanonicalFileName(fileName2)); + return `${relativeFileName}(${line + 1},${character + 1}): ` + errorMessage; + } + return errorMessage; +} +var gutterStyleSequence = "\x1B[7m"; +var gutterSeparator = " "; +var resetEscapeSequence = "\x1B[0m"; +var ellipsis = "..."; +var halfIndent = " "; +var indent = " "; +function getCategoryFormat(category) { + switch (category) { + case 1 /* Error */: + return "\x1B[91m" /* Red */; + case 0 /* Warning */: + return "\x1B[93m" /* Yellow */; + case 2 /* Suggestion */: + return Debug.fail("Should never get an Info diagnostic on the command line."); + case 3 /* Message */: + return "\x1B[94m" /* Blue */; + } +} +function formatColorAndReset(text, formatStyle) { + return formatStyle + text + resetEscapeSequence; +} +function formatCodeSpan(file, start, length2, indent2, squiggleColor, host) { + const { line: firstLine, character: firstLineChar } = getLineAndCharacterOfPosition(file, start); + const { line: lastLine, character: lastLineChar } = getLineAndCharacterOfPosition(file, start + length2); + const lastLineInFile = getLineAndCharacterOfPosition(file, file.text.length).line; + const hasMoreThanFiveLines = lastLine - firstLine >= 4; + let gutterWidth = (lastLine + 1 + "").length; + if (hasMoreThanFiveLines) { + gutterWidth = Math.max(ellipsis.length, gutterWidth); + } + let context = ""; + for (let i = firstLine; i <= lastLine; i++) { + context += host.getNewLine(); + if (hasMoreThanFiveLines && firstLine + 1 < i && i < lastLine - 1) { + context += indent2 + formatColorAndReset(ellipsis.padStart(gutterWidth), gutterStyleSequence) + gutterSeparator + host.getNewLine(); + i = lastLine - 1; + } + const lineStart = getPositionOfLineAndCharacter(file, i, 0); + const lineEnd = i < lastLineInFile ? getPositionOfLineAndCharacter(file, i + 1, 0) : file.text.length; + let lineContent = file.text.slice(lineStart, lineEnd); + lineContent = lineContent.trimEnd(); + lineContent = lineContent.replace(/\t/g, " "); + context += indent2 + formatColorAndReset((i + 1 + "").padStart(gutterWidth), gutterStyleSequence) + gutterSeparator; + context += lineContent + host.getNewLine(); + context += indent2 + formatColorAndReset("".padStart(gutterWidth), gutterStyleSequence) + gutterSeparator; + context += squiggleColor; + if (i === firstLine) { + const lastCharForLine = i === lastLine ? lastLineChar : void 0; + context += lineContent.slice(0, firstLineChar).replace(/\S/g, " "); + context += lineContent.slice(firstLineChar, lastCharForLine).replace(/./g, "~"); + } else if (i === lastLine) { + context += lineContent.slice(0, lastLineChar).replace(/./g, "~"); + } else { + context += lineContent.replace(/./g, "~"); + } + context += resetEscapeSequence; + } + return context; +} +function formatLocation(file, start, host, color = formatColorAndReset) { + const { line: firstLine, character: firstLineChar } = getLineAndCharacterOfPosition(file, start); + const relativeFileName = host ? convertToRelativePath(file.fileName, host.getCurrentDirectory(), (fileName) => host.getCanonicalFileName(fileName)) : file.fileName; + let output = ""; + output += color(relativeFileName, "\x1B[96m" /* Cyan */); + output += ":"; + output += color(`${firstLine + 1}`, "\x1B[93m" /* Yellow */); + output += ":"; + output += color(`${firstLineChar + 1}`, "\x1B[93m" /* Yellow */); + return output; +} +function formatDiagnosticsWithColorAndContext(diagnostics, host) { + let output = ""; + for (const diagnostic of diagnostics) { + if (diagnostic.file) { + const { file, start } = diagnostic; + output += formatLocation(file, start, host); + output += " - "; + } + output += formatColorAndReset(diagnosticCategoryName(diagnostic), getCategoryFormat(diagnostic.category)); + output += formatColorAndReset(` TS${diagnostic.code}: `, "\x1B[90m" /* Grey */); + output += flattenDiagnosticMessageText(diagnostic.messageText, host.getNewLine()); + if (diagnostic.file && diagnostic.code !== Diagnostics.File_appears_to_be_binary.code) { + output += host.getNewLine(); + output += formatCodeSpan(diagnostic.file, diagnostic.start, diagnostic.length, "", getCategoryFormat(diagnostic.category), host); + } + if (diagnostic.relatedInformation) { + output += host.getNewLine(); + for (const { file, start, length: length2, messageText } of diagnostic.relatedInformation) { + if (file) { + output += host.getNewLine(); + output += halfIndent + formatLocation(file, start, host); + output += formatCodeSpan(file, start, length2, indent, "\x1B[96m" /* Cyan */, host); + } + output += host.getNewLine(); + output += indent + flattenDiagnosticMessageText(messageText, host.getNewLine()); + } + } + output += host.getNewLine(); + } + return output; +} +function flattenDiagnosticMessageText(diag2, newLine, indent2 = 0) { + if (isString(diag2)) { + return diag2; + } else if (diag2 === void 0) { + return ""; + } + let result = ""; + if (indent2) { + result += newLine; + for (let i = 0; i < indent2; i++) { + result += " "; + } + } + result += diag2.messageText; + indent2++; + if (diag2.next) { + for (const kid of diag2.next) { + result += flattenDiagnosticMessageText(kid, newLine, indent2); + } + } + return result; +} +function getModeForFileReference(ref, containingFileMode) { + return (isString(ref) ? containingFileMode : ref.resolutionMode) || containingFileMode; +} +function isExclusivelyTypeOnlyImportOrExport(decl) { + var _a; + if (isExportDeclaration(decl)) { + return decl.isTypeOnly; + } + if ((_a = decl.importClause) == null ? void 0 : _a.isTypeOnly) { + return true; + } + return false; +} +function getModeForUsageLocation(file, usage, compilerOptions) { + return getModeForUsageLocationWorker(file, usage, compilerOptions); +} +function getModeForUsageLocationWorker(file, usage, compilerOptions) { + if (isImportDeclaration(usage.parent) || isExportDeclaration(usage.parent) || isJSDocImportTag(usage.parent)) { + const isTypeOnly = isExclusivelyTypeOnlyImportOrExport(usage.parent); + if (isTypeOnly) { + const override = getResolutionModeOverride(usage.parent.attributes); + if (override) { + return override; + } + } + } + if (usage.parent.parent && isImportTypeNode(usage.parent.parent)) { + const override = getResolutionModeOverride(usage.parent.parent.attributes); + if (override) { + return override; + } + } + if (compilerOptions && importSyntaxAffectsModuleResolution(compilerOptions)) { + return getEmitSyntaxForUsageLocationWorker(file, usage, compilerOptions); + } +} +function getEmitSyntaxForUsageLocationWorker(file, usage, compilerOptions) { + var _a; + if (!compilerOptions) { + return void 0; + } + const exprParentParent = (_a = walkUpParenthesizedExpressions(usage.parent)) == null ? void 0 : _a.parent; + if (exprParentParent && isImportEqualsDeclaration(exprParentParent) || isRequireCall( + usage.parent, + /*requireStringLiteralLikeArgument*/ + false + )) { + return 1 /* CommonJS */; + } + if (isImportCall(walkUpParenthesizedExpressions(usage.parent))) { + return shouldTransformImportCallWorker(file, compilerOptions) ? 1 /* CommonJS */ : 99 /* ESNext */; + } + const fileEmitMode = getEmitModuleFormatOfFileWorker(file, compilerOptions); + return fileEmitMode === 1 /* CommonJS */ ? 1 /* CommonJS */ : emitModuleKindIsNonNodeESM(fileEmitMode) || fileEmitMode === 200 /* Preserve */ ? 99 /* ESNext */ : void 0; +} +function getResolutionModeOverride(node, grammarErrorOnNode) { + if (!node) return void 0; + if (length(node.elements) !== 1) { + grammarErrorOnNode == null ? void 0 : grammarErrorOnNode( + node, + node.token === 118 /* WithKeyword */ ? Diagnostics.Type_import_attributes_should_have_exactly_one_key_resolution_mode_with_value_import_or_require : Diagnostics.Type_import_assertions_should_have_exactly_one_key_resolution_mode_with_value_import_or_require + ); + return void 0; + } + const elem = node.elements[0]; + if (!isStringLiteralLike(elem.name)) return void 0; + if (elem.name.text !== "resolution-mode") { + grammarErrorOnNode == null ? void 0 : grammarErrorOnNode( + elem.name, + node.token === 118 /* WithKeyword */ ? Diagnostics.resolution_mode_is_the_only_valid_key_for_type_import_attributes : Diagnostics.resolution_mode_is_the_only_valid_key_for_type_import_assertions + ); + return void 0; + } + if (!isStringLiteralLike(elem.value)) return void 0; + if (elem.value.text !== "import" && elem.value.text !== "require") { + grammarErrorOnNode == null ? void 0 : grammarErrorOnNode(elem.value, Diagnostics.resolution_mode_should_be_either_require_or_import); + return void 0; + } + return elem.value.text === "import" ? 99 /* ESNext */ : 1 /* CommonJS */; +} +var emptyResolution = { + resolvedModule: void 0, + resolvedTypeReferenceDirective: void 0 +}; +function getModuleResolutionName(literal) { + return literal.text; +} +var moduleResolutionNameAndModeGetter = { + getName: getModuleResolutionName, + getMode: (entry, file, compilerOptions) => getModeForUsageLocation(file, entry, compilerOptions) +}; +function createModuleResolutionLoader(containingFile, redirectedReference, options, host, cache) { + return { + nameAndMode: moduleResolutionNameAndModeGetter, + resolve: (moduleName, resolutionMode) => resolveModuleName( + moduleName, + containingFile, + options, + host, + cache, + redirectedReference, + resolutionMode + ) + }; +} +function getTypeReferenceResolutionName(entry) { + return !isString(entry) ? entry.fileName : entry; +} +var typeReferenceResolutionNameAndModeGetter = { + getName: getTypeReferenceResolutionName, + getMode: (entry, file, compilerOptions) => getModeForFileReference(entry, file && getDefaultResolutionModeForFileWorker(file, compilerOptions)) +}; +function createTypeReferenceResolutionLoader(containingFile, redirectedReference, options, host, cache) { + return { + nameAndMode: typeReferenceResolutionNameAndModeGetter, + resolve: (typeRef, resoluionMode) => resolveTypeReferenceDirective( + typeRef, + containingFile, + options, + host, + redirectedReference, + cache, + resoluionMode + ) + }; +} +function loadWithModeAwareCache(entries, containingFile, redirectedReference, options, containingSourceFile, host, resolutionCache, createLoader) { + if (entries.length === 0) return emptyArray; + const resolutions = []; + const cache = /* @__PURE__ */ new Map(); + const loader = createLoader(containingFile, redirectedReference, options, host, resolutionCache); + for (const entry of entries) { + const name = loader.nameAndMode.getName(entry); + const mode = loader.nameAndMode.getMode(entry, containingSourceFile, (redirectedReference == null ? void 0 : redirectedReference.commandLine.options) || options); + const key = createModeAwareCacheKey(name, mode); + let result = cache.get(key); + if (!result) { + cache.set(key, result = loader.resolve(name, mode)); + } + resolutions.push(result); + } + return resolutions; +} +function forEachResolvedProjectReference(resolvedProjectReferences, cb) { + return forEachProjectReference( + /*projectReferences*/ + void 0, + resolvedProjectReferences, + (resolvedRef, parent) => resolvedRef && cb(resolvedRef, parent) + ); +} +function forEachProjectReference(projectReferences, resolvedProjectReferences, cbResolvedRef, cbRef) { + let seenResolvedRefs; + return worker( + projectReferences, + resolvedProjectReferences, + /*parent*/ + void 0 + ); + function worker(projectReferences2, resolvedProjectReferences2, parent) { + if (cbRef) { + const result = cbRef(projectReferences2, parent); + if (result) return result; + } + let skipChildren; + return forEach( + resolvedProjectReferences2, + (resolvedRef, index) => { + if (resolvedRef && (seenResolvedRefs == null ? void 0 : seenResolvedRefs.has(resolvedRef.sourceFile.path))) { + (skipChildren ?? (skipChildren = /* @__PURE__ */ new Set())).add(resolvedRef); + return void 0; + } + const result = cbResolvedRef(resolvedRef, parent, index); + if (result || !resolvedRef) return result; + (seenResolvedRefs || (seenResolvedRefs = /* @__PURE__ */ new Set())).add(resolvedRef.sourceFile.path); + } + ) || forEach( + resolvedProjectReferences2, + (resolvedRef) => resolvedRef && !(skipChildren == null ? void 0 : skipChildren.has(resolvedRef)) ? worker(resolvedRef.commandLine.projectReferences, resolvedRef.references, resolvedRef) : void 0 + ); + } +} +var inferredTypesContainingFile = "__inferred type names__.ts"; +function getInferredLibraryNameResolveFrom(options, currentDirectory, libFileName) { + const containingDirectory = options.configFilePath ? getDirectoryPath(options.configFilePath) : currentDirectory; + return combinePaths(containingDirectory, `__lib_node_modules_lookup_${libFileName}__.ts`); +} +function getLibraryNameFromLibFileName(libFileName) { + const components = libFileName.split("."); + let path = components[1]; + let i = 2; + while (components[i] && components[i] !== "d") { + path += (i === 2 ? "/" : "-") + components[i]; + i++; + } + return "@typescript/lib-" + path; +} +function getLibNameFromLibReference(libReference) { + return toFileNameLowerCase(libReference.fileName); +} +function getLibFileNameFromLibReference(libReference) { + const libName = getLibNameFromLibReference(libReference); + return libMap.get(libName); +} +function isReferencedFile(reason) { + switch (reason == null ? void 0 : reason.kind) { + case 3 /* Import */: + case 4 /* ReferenceFile */: + case 5 /* TypeReferenceDirective */: + case 7 /* LibReferenceDirective */: + return true; + default: + return false; + } +} +function isReferenceFileLocation(location) { + return location.pos !== void 0; +} +function getReferencedFileLocation(program, ref) { + var _a, _b, _c, _d; + const file = Debug.checkDefined(program.getSourceFileByPath(ref.file)); + const { kind, index } = ref; + let pos, end, packageId; + switch (kind) { + case 3 /* Import */: + const importLiteral = getModuleNameStringLiteralAt(file, index); + packageId = (_b = (_a = program.getResolvedModuleFromModuleSpecifier(importLiteral, file)) == null ? void 0 : _a.resolvedModule) == null ? void 0 : _b.packageId; + if (importLiteral.pos === -1) return { file, packageId, text: importLiteral.text }; + pos = skipTrivia(file.text, importLiteral.pos); + end = importLiteral.end; + break; + case 4 /* ReferenceFile */: + ({ pos, end } = file.referencedFiles[index]); + break; + case 5 /* TypeReferenceDirective */: + ({ pos, end } = file.typeReferenceDirectives[index]); + packageId = (_d = (_c = program.getResolvedTypeReferenceDirectiveFromTypeReferenceDirective(file.typeReferenceDirectives[index], file)) == null ? void 0 : _c.resolvedTypeReferenceDirective) == null ? void 0 : _d.packageId; + break; + case 7 /* LibReferenceDirective */: + ({ pos, end } = file.libReferenceDirectives[index]); + break; + default: + return Debug.assertNever(kind); + } + return { file, pos, end, packageId }; +} +function isProgramUptoDate(program, rootFileNames, newOptions, getSourceVersion, fileExists, hasInvalidatedResolutions, hasInvalidatedLibResolutions, hasChangedAutomaticTypeDirectiveNames, getParsedCommandLine, projectReferences) { + if (!program || (hasChangedAutomaticTypeDirectiveNames == null ? void 0 : hasChangedAutomaticTypeDirectiveNames())) return false; + if (!arrayIsEqualTo(program.getRootFileNames(), rootFileNames)) return false; + let seenResolvedRefs; + if (!arrayIsEqualTo(program.getProjectReferences(), projectReferences, projectReferenceUptoDate)) return false; + if (program.getSourceFiles().some(sourceFileNotUptoDate)) return false; + const missingPaths = program.getMissingFilePaths(); + if (missingPaths && forEachEntry(missingPaths, fileExists)) return false; + const currentOptions = program.getCompilerOptions(); + if (!compareDataObjects(currentOptions, newOptions)) return false; + if (program.resolvedLibReferences && forEachEntry(program.resolvedLibReferences, (_value, libFileName) => hasInvalidatedLibResolutions(libFileName))) return false; + if (currentOptions.configFile && newOptions.configFile) return currentOptions.configFile.text === newOptions.configFile.text; + return true; + function sourceFileNotUptoDate(sourceFile) { + return !sourceFileVersionUptoDate(sourceFile) || hasInvalidatedResolutions(sourceFile.path); + } + function sourceFileVersionUptoDate(sourceFile) { + return sourceFile.version === getSourceVersion(sourceFile.resolvedPath, sourceFile.fileName); + } + function projectReferenceUptoDate(oldRef, newRef, index) { + return projectReferenceIsEqualTo(oldRef, newRef) && resolvedProjectReferenceUptoDate(program.getResolvedProjectReferences()[index], oldRef); + } + function resolvedProjectReferenceUptoDate(oldResolvedRef, oldRef) { + if (oldResolvedRef) { + if (contains(seenResolvedRefs, oldResolvedRef)) return true; + const refPath2 = resolveProjectReferencePath(oldRef); + const newParsedCommandLine = getParsedCommandLine(refPath2); + if (!newParsedCommandLine) return false; + if (oldResolvedRef.commandLine.options.configFile !== newParsedCommandLine.options.configFile) return false; + if (!arrayIsEqualTo(oldResolvedRef.commandLine.fileNames, newParsedCommandLine.fileNames)) return false; + (seenResolvedRefs || (seenResolvedRefs = [])).push(oldResolvedRef); + return !forEach( + oldResolvedRef.references, + (childResolvedRef, index) => !resolvedProjectReferenceUptoDate( + childResolvedRef, + oldResolvedRef.commandLine.projectReferences[index] + ) + ); + } + const refPath = resolveProjectReferencePath(oldRef); + return !getParsedCommandLine(refPath); + } +} +function getConfigFileParsingDiagnostics(configFileParseResult) { + return configFileParseResult.options.configFile ? [...configFileParseResult.options.configFile.parseDiagnostics, ...configFileParseResult.errors] : configFileParseResult.errors; +} +function getImpliedNodeFormatForFileWorker(fileName, packageJsonInfoCache, host, options) { + const moduleResolution = getEmitModuleResolutionKind(options); + const shouldLookupFromPackageJson = 3 /* Node16 */ <= moduleResolution && moduleResolution <= 99 /* NodeNext */ || pathContainsNodeModules(fileName); + return fileExtensionIsOneOf(fileName, [".d.mts" /* Dmts */, ".mts" /* Mts */, ".mjs" /* Mjs */]) ? 99 /* ESNext */ : fileExtensionIsOneOf(fileName, [".d.cts" /* Dcts */, ".cts" /* Cts */, ".cjs" /* Cjs */]) ? 1 /* CommonJS */ : shouldLookupFromPackageJson && fileExtensionIsOneOf(fileName, [".d.ts" /* Dts */, ".ts" /* Ts */, ".tsx" /* Tsx */, ".js" /* Js */, ".jsx" /* Jsx */]) ? lookupFromPackageJson() : void 0; + function lookupFromPackageJson() { + const state = getTemporaryModuleResolutionState(packageJsonInfoCache, host, options); + const packageJsonLocations = []; + state.failedLookupLocations = packageJsonLocations; + state.affectingLocations = packageJsonLocations; + const packageJsonScope = getPackageScopeForPath(getDirectoryPath(fileName), state); + const impliedNodeFormat = (packageJsonScope == null ? void 0 : packageJsonScope.contents.packageJsonContent.type) === "module" ? 99 /* ESNext */ : 1 /* CommonJS */; + return { impliedNodeFormat, packageJsonLocations, packageJsonScope }; + } +} +var plainJSErrors = /* @__PURE__ */ new Set([ + // binder errors + Diagnostics.Cannot_redeclare_block_scoped_variable_0.code, + Diagnostics.A_module_cannot_have_multiple_default_exports.code, + Diagnostics.Another_export_default_is_here.code, + Diagnostics.The_first_export_default_is_here.code, + Diagnostics.Identifier_expected_0_is_a_reserved_word_at_the_top_level_of_a_module.code, + Diagnostics.Identifier_expected_0_is_a_reserved_word_in_strict_mode_Modules_are_automatically_in_strict_mode.code, + Diagnostics.Identifier_expected_0_is_a_reserved_word_that_cannot_be_used_here.code, + Diagnostics.constructor_is_a_reserved_word.code, + Diagnostics.delete_cannot_be_called_on_an_identifier_in_strict_mode.code, + Diagnostics.Code_contained_in_a_class_is_evaluated_in_JavaScript_s_strict_mode_which_does_not_allow_this_use_of_0_For_more_information_see_https_Colon_Slash_Slashdeveloper_mozilla_org_Slashen_US_Slashdocs_SlashWeb_SlashJavaScript_SlashReference_SlashStrict_mode.code, + Diagnostics.Invalid_use_of_0_Modules_are_automatically_in_strict_mode.code, + Diagnostics.Invalid_use_of_0_in_strict_mode.code, + Diagnostics.A_label_is_not_allowed_here.code, + Diagnostics.with_statements_are_not_allowed_in_strict_mode.code, + // grammar errors + Diagnostics.A_break_statement_can_only_be_used_within_an_enclosing_iteration_or_switch_statement.code, + Diagnostics.A_break_statement_can_only_jump_to_a_label_of_an_enclosing_statement.code, + Diagnostics.A_class_declaration_without_the_default_modifier_must_have_a_name.code, + Diagnostics.A_class_member_cannot_have_the_0_keyword.code, + Diagnostics.A_comma_expression_is_not_allowed_in_a_computed_property_name.code, + Diagnostics.A_continue_statement_can_only_be_used_within_an_enclosing_iteration_statement.code, + Diagnostics.A_continue_statement_can_only_jump_to_a_label_of_an_enclosing_iteration_statement.code, + Diagnostics.A_continue_statement_can_only_jump_to_a_label_of_an_enclosing_iteration_statement.code, + Diagnostics.A_default_clause_cannot_appear_more_than_once_in_a_switch_statement.code, + Diagnostics.A_default_export_must_be_at_the_top_level_of_a_file_or_module_declaration.code, + Diagnostics.A_definite_assignment_assertion_is_not_permitted_in_this_context.code, + Diagnostics.A_destructuring_declaration_must_have_an_initializer.code, + Diagnostics.A_get_accessor_cannot_have_parameters.code, + Diagnostics.A_rest_element_cannot_contain_a_binding_pattern.code, + Diagnostics.A_rest_element_cannot_have_a_property_name.code, + Diagnostics.A_rest_element_cannot_have_an_initializer.code, + Diagnostics.A_rest_element_must_be_last_in_a_destructuring_pattern.code, + Diagnostics.A_rest_parameter_cannot_have_an_initializer.code, + Diagnostics.A_rest_parameter_must_be_last_in_a_parameter_list.code, + Diagnostics.A_rest_parameter_or_binding_pattern_may_not_have_a_trailing_comma.code, + Diagnostics.A_return_statement_cannot_be_used_inside_a_class_static_block.code, + Diagnostics.A_set_accessor_cannot_have_rest_parameter.code, + Diagnostics.A_set_accessor_must_have_exactly_one_parameter.code, + Diagnostics.An_export_declaration_can_only_be_used_at_the_top_level_of_a_module.code, + Diagnostics.An_export_declaration_cannot_have_modifiers.code, + Diagnostics.An_import_declaration_can_only_be_used_at_the_top_level_of_a_module.code, + Diagnostics.An_import_declaration_cannot_have_modifiers.code, + Diagnostics.An_object_member_cannot_be_declared_optional.code, + Diagnostics.Argument_of_dynamic_import_cannot_be_spread_element.code, + Diagnostics.Cannot_assign_to_private_method_0_Private_methods_are_not_writable.code, + Diagnostics.Cannot_redeclare_identifier_0_in_catch_clause.code, + Diagnostics.Catch_clause_variable_cannot_have_an_initializer.code, + Diagnostics.Class_decorators_can_t_be_used_with_static_private_identifier_Consider_removing_the_experimental_decorator.code, + Diagnostics.Classes_can_only_extend_a_single_class.code, + Diagnostics.Classes_may_not_have_a_field_named_constructor.code, + 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, + Diagnostics.Duplicate_label_0.code, + Diagnostics.Dynamic_imports_can_only_accept_a_module_specifier_and_an_optional_set_of_attributes_as_arguments.code, + Diagnostics.for_await_loops_cannot_be_used_inside_a_class_static_block.code, + Diagnostics.JSX_attributes_must_only_be_assigned_a_non_empty_expression.code, + Diagnostics.JSX_elements_cannot_have_multiple_attributes_with_the_same_name.code, + Diagnostics.JSX_expressions_may_not_use_the_comma_operator_Did_you_mean_to_write_an_array.code, + Diagnostics.JSX_property_access_expressions_cannot_include_JSX_namespace_names.code, + Diagnostics.Jump_target_cannot_cross_function_boundary.code, + Diagnostics.Line_terminator_not_permitted_before_arrow.code, + Diagnostics.Modifiers_cannot_appear_here.code, + Diagnostics.Only_a_single_variable_declaration_is_allowed_in_a_for_in_statement.code, + Diagnostics.Only_a_single_variable_declaration_is_allowed_in_a_for_of_statement.code, + Diagnostics.Private_identifiers_are_not_allowed_outside_class_bodies.code, + 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, + Diagnostics.Property_0_is_not_accessible_outside_class_1_because_it_has_a_private_identifier.code, + Diagnostics.Tagged_template_expressions_are_not_permitted_in_an_optional_chain.code, + Diagnostics.The_left_hand_side_of_a_for_of_statement_may_not_be_async.code, + Diagnostics.The_variable_declaration_of_a_for_in_statement_cannot_have_an_initializer.code, + Diagnostics.The_variable_declaration_of_a_for_of_statement_cannot_have_an_initializer.code, + Diagnostics.Trailing_comma_not_allowed.code, + Diagnostics.Variable_declaration_list_cannot_be_empty.code, + Diagnostics._0_and_1_operations_cannot_be_mixed_without_parentheses.code, + Diagnostics._0_expected.code, + Diagnostics._0_is_not_a_valid_meta_property_for_keyword_1_Did_you_mean_2.code, + Diagnostics._0_list_cannot_be_empty.code, + Diagnostics._0_modifier_already_seen.code, + Diagnostics._0_modifier_cannot_appear_on_a_constructor_declaration.code, + Diagnostics._0_modifier_cannot_appear_on_a_module_or_namespace_element.code, + Diagnostics._0_modifier_cannot_appear_on_a_parameter.code, + Diagnostics._0_modifier_cannot_appear_on_class_elements_of_this_kind.code, + Diagnostics._0_modifier_cannot_be_used_here.code, + Diagnostics._0_modifier_must_precede_1_modifier.code, + Diagnostics._0_declarations_can_only_be_declared_inside_a_block.code, + Diagnostics._0_declarations_must_be_initialized.code, + Diagnostics.extends_clause_already_seen.code, + Diagnostics.let_is_not_allowed_to_be_used_as_a_name_in_let_or_const_declarations.code, + Diagnostics.Class_constructor_may_not_be_a_generator.code, + Diagnostics.Class_constructor_may_not_be_an_accessor.code, + Diagnostics.await_expressions_are_only_allowed_within_async_functions_and_at_the_top_levels_of_modules.code, + Diagnostics.await_using_statements_are_only_allowed_within_async_functions_and_at_the_top_levels_of_modules.code, + Diagnostics.Private_field_0_must_be_declared_in_an_enclosing_class.code, + // Type errors + Diagnostics.This_condition_will_always_return_0_since_JavaScript_compares_objects_by_reference_not_value.code +]); +function shouldProgramCreateNewSourceFiles(program, newOptions) { + if (!program) return false; + return optionsHaveChanges(program.getCompilerOptions(), newOptions, sourceFileAffectingCompilerOptions); +} +function createCreateProgramOptions(rootNames, options, host, oldProgram, configFileParsingDiagnostics, typeScriptVersion2) { + return { + rootNames, + options, + host, + oldProgram, + configFileParsingDiagnostics, + typeScriptVersion: typeScriptVersion2 + }; +} +function createProgram(rootNamesOrOptions, _options, _host, _oldProgram, _configFileParsingDiagnostics) { + var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m, _n, _o, _p; + const createProgramOptions = isArray(rootNamesOrOptions) ? createCreateProgramOptions(rootNamesOrOptions, _options, _host, _oldProgram, _configFileParsingDiagnostics) : rootNamesOrOptions; + const { rootNames, options, configFileParsingDiagnostics, projectReferences, typeScriptVersion: typeScriptVersion2 } = createProgramOptions; + let { oldProgram } = createProgramOptions; + for (const option of commandLineOptionOfCustomType) { + if (hasProperty(options, option.name)) { + if (typeof options[option.name] === "string") { + throw new Error(`${option.name} is a string value; tsconfig JSON must be parsed with parseJsonSourceFileConfigFileContent or getParsedCommandLineOfConfigFile before passing to createProgram`); + } + } + } + const reportInvalidIgnoreDeprecations = memoize(() => createOptionValueDiagnostic("ignoreDeprecations", Diagnostics.Invalid_value_for_ignoreDeprecations)); + let processingDefaultLibFiles; + let processingOtherFiles; + let files; + let symlinks; + let commonSourceDirectory; + let typeChecker; + let classifiableNames; + let fileReasons = createMultiMap(); + let filesWithReferencesProcessed; + let fileReasonsToChain; + let reasonToRelatedInfo; + let cachedBindAndCheckDiagnosticsForFile; + let cachedDeclarationDiagnosticsForFile; + let fileProcessingDiagnostics; + let automaticTypeDirectiveNames; + let automaticTypeDirectiveResolutions; + let resolvedLibReferences; + let resolvedLibProcessing; + let resolvedModules; + let resolvedModulesProcessing; + let resolvedTypeReferenceDirectiveNames; + let resolvedTypeReferenceDirectiveNamesProcessing; + let packageMap; + const maxNodeModuleJsDepth = typeof options.maxNodeModuleJsDepth === "number" ? options.maxNodeModuleJsDepth : 0; + let currentNodeModulesDepth = 0; + const modulesWithElidedImports = /* @__PURE__ */ new Map(); + const sourceFilesFoundSearchingNodeModules = /* @__PURE__ */ new Map(); + (_a = tracing) == null ? void 0 : _a.push( + tracing.Phase.Program, + "createProgram", + { configFilePath: options.configFilePath, rootDir: options.rootDir }, + /*separateBeginAndEnd*/ + true + ); + mark("beforeProgram"); + const host = createProgramOptions.host || createCompilerHost(options); + const configParsingHost = parseConfigHostFromCompilerHostLike(host); + let skipDefaultLib = options.noLib; + const getDefaultLibraryFileName = memoize(() => host.getDefaultLibFileName(options)); + const defaultLibraryPath = host.getDefaultLibLocation ? host.getDefaultLibLocation() : getDirectoryPath(getDefaultLibraryFileName()); + const programDiagnostics = createDiagnosticCollection(); + let lazyProgramDiagnosticExplainingFile = []; + const currentDirectory = host.getCurrentDirectory(); + const supportedExtensions = getSupportedExtensions(options); + const supportedExtensionsWithJsonIfResolveJsonModule = getSupportedExtensionsWithJsonIfResolveJsonModule(options, supportedExtensions); + const hasEmitBlockingDiagnostics = /* @__PURE__ */ new Map(); + let _compilerOptionsObjectLiteralSyntax; + let _compilerOptionsPropertySyntax; + let moduleResolutionCache; + let actualResolveModuleNamesWorker; + const hasInvalidatedResolutions = host.hasInvalidatedResolutions || returnFalse; + if (host.resolveModuleNameLiterals) { + actualResolveModuleNamesWorker = host.resolveModuleNameLiterals.bind(host); + moduleResolutionCache = (_b = host.getModuleResolutionCache) == null ? void 0 : _b.call(host); + } else if (host.resolveModuleNames) { + actualResolveModuleNamesWorker = (moduleNames, containingFile, redirectedReference, options2, containingSourceFile, reusedNames) => host.resolveModuleNames( + moduleNames.map(getModuleResolutionName), + containingFile, + reusedNames == null ? void 0 : reusedNames.map(getModuleResolutionName), + redirectedReference, + options2, + containingSourceFile + ).map( + (resolved) => resolved ? resolved.extension !== void 0 ? { resolvedModule: resolved } : ( + // An older host may have omitted extension, in which case we should infer it from the file extension of resolvedFileName. + { resolvedModule: { ...resolved, extension: extensionFromPath(resolved.resolvedFileName) } } + ) : emptyResolution + ); + moduleResolutionCache = (_c = host.getModuleResolutionCache) == null ? void 0 : _c.call(host); + } else { + moduleResolutionCache = createModuleResolutionCache(currentDirectory, getCanonicalFileName, options); + actualResolveModuleNamesWorker = (moduleNames, containingFile, redirectedReference, options2, containingSourceFile) => loadWithModeAwareCache( + moduleNames, + containingFile, + redirectedReference, + options2, + containingSourceFile, + host, + moduleResolutionCache, + createModuleResolutionLoader + ); + } + let actualResolveTypeReferenceDirectiveNamesWorker; + if (host.resolveTypeReferenceDirectiveReferences) { + actualResolveTypeReferenceDirectiveNamesWorker = host.resolveTypeReferenceDirectiveReferences.bind(host); + } else if (host.resolveTypeReferenceDirectives) { + actualResolveTypeReferenceDirectiveNamesWorker = (typeDirectiveNames, containingFile, redirectedReference, options2, containingSourceFile) => host.resolveTypeReferenceDirectives( + typeDirectiveNames.map(getTypeReferenceResolutionName), + containingFile, + redirectedReference, + options2, + containingSourceFile == null ? void 0 : containingSourceFile.impliedNodeFormat + ).map((resolvedTypeReferenceDirective) => ({ resolvedTypeReferenceDirective })); + } else { + const typeReferenceDirectiveResolutionCache = createTypeReferenceDirectiveResolutionCache( + currentDirectory, + getCanonicalFileName, + /*options*/ + void 0, + moduleResolutionCache == null ? void 0 : moduleResolutionCache.getPackageJsonInfoCache(), + moduleResolutionCache == null ? void 0 : moduleResolutionCache.optionsToRedirectsKey + ); + actualResolveTypeReferenceDirectiveNamesWorker = (typeDirectiveNames, containingFile, redirectedReference, options2, containingSourceFile) => loadWithModeAwareCache( + typeDirectiveNames, + containingFile, + redirectedReference, + options2, + containingSourceFile, + host, + typeReferenceDirectiveResolutionCache, + createTypeReferenceResolutionLoader + ); + } + const hasInvalidatedLibResolutions = host.hasInvalidatedLibResolutions || returnFalse; + let actualResolveLibrary; + if (host.resolveLibrary) { + actualResolveLibrary = host.resolveLibrary.bind(host); + } else { + const libraryResolutionCache = createModuleResolutionCache(currentDirectory, getCanonicalFileName, options, moduleResolutionCache == null ? void 0 : moduleResolutionCache.getPackageJsonInfoCache()); + actualResolveLibrary = (libraryName, resolveFrom, options2) => resolveLibrary(libraryName, resolveFrom, options2, host, libraryResolutionCache); + } + const packageIdToSourceFile = /* @__PURE__ */ new Map(); + let sourceFileToPackageName = /* @__PURE__ */ new Map(); + let redirectTargetsMap = createMultiMap(); + let usesUriStyleNodeCoreModules; + const filesByName = /* @__PURE__ */ new Map(); + let missingFileNames = /* @__PURE__ */ new Map(); + const filesByNameIgnoreCase = host.useCaseSensitiveFileNames() ? /* @__PURE__ */ new Map() : void 0; + let resolvedProjectReferences; + let projectReferenceRedirects; + let mapFromFileToProjectReferenceRedirects; + let mapFromToProjectReferenceRedirectSource; + const useSourceOfProjectReferenceRedirect = !!((_d = host.useSourceOfProjectReferenceRedirect) == null ? void 0 : _d.call(host)) && !options.disableSourceOfProjectReferenceRedirect; + const { onProgramCreateComplete, fileExists, directoryExists } = updateHostForUseSourceOfProjectReferenceRedirect({ + compilerHost: host, + getSymlinkCache, + useSourceOfProjectReferenceRedirect, + toPath: toPath3, + getResolvedProjectReferences, + getSourceOfProjectReferenceRedirect, + forEachResolvedProjectReference: forEachResolvedProjectReference2 + }); + const readFile = host.readFile.bind(host); + (_e = tracing) == null ? void 0 : _e.push(tracing.Phase.Program, "shouldProgramCreateNewSourceFiles", { hasOldProgram: !!oldProgram }); + const shouldCreateNewSourceFile = shouldProgramCreateNewSourceFiles(oldProgram, options); + (_f = tracing) == null ? void 0 : _f.pop(); + let structureIsReused; + (_g = tracing) == null ? void 0 : _g.push(tracing.Phase.Program, "tryReuseStructureFromOldProgram", {}); + structureIsReused = tryReuseStructureFromOldProgram(); + (_h = tracing) == null ? void 0 : _h.pop(); + if (structureIsReused !== 2 /* Completely */) { + processingDefaultLibFiles = []; + processingOtherFiles = []; + if (projectReferences) { + if (!resolvedProjectReferences) { + resolvedProjectReferences = projectReferences.map(parseProjectReferenceConfigFile); + } + if (rootNames.length) { + resolvedProjectReferences == null ? void 0 : resolvedProjectReferences.forEach((parsedRef, index) => { + if (!parsedRef) return; + const out = parsedRef.commandLine.options.outFile; + if (useSourceOfProjectReferenceRedirect) { + if (out || getEmitModuleKind(parsedRef.commandLine.options) === 0 /* None */) { + for (const fileName of parsedRef.commandLine.fileNames) { + processProjectReferenceFile(fileName, { kind: 1 /* SourceFromProjectReference */, index }); + } + } + } else { + if (out) { + processProjectReferenceFile(changeExtension(out, ".d.ts"), { kind: 2 /* OutputFromProjectReference */, index }); + } else if (getEmitModuleKind(parsedRef.commandLine.options) === 0 /* None */) { + const getCommonSourceDirectory3 = memoize(() => getCommonSourceDirectoryOfConfig(parsedRef.commandLine, !host.useCaseSensitiveFileNames())); + for (const fileName of parsedRef.commandLine.fileNames) { + if (!isDeclarationFileName(fileName) && !fileExtensionIs(fileName, ".json" /* Json */)) { + processProjectReferenceFile(getOutputDeclarationFileName(fileName, parsedRef.commandLine, !host.useCaseSensitiveFileNames(), getCommonSourceDirectory3), { kind: 2 /* OutputFromProjectReference */, index }); + } + } + } + } + }); + } + } + (_i = tracing) == null ? void 0 : _i.push(tracing.Phase.Program, "processRootFiles", { count: rootNames.length }); + forEach(rootNames, (name, index) => processRootFile( + name, + /*isDefaultLib*/ + false, + /*ignoreNoDefaultLib*/ + false, + { kind: 0 /* RootFile */, index } + )); + (_j = tracing) == null ? void 0 : _j.pop(); + automaticTypeDirectiveNames ?? (automaticTypeDirectiveNames = rootNames.length ? getAutomaticTypeDirectiveNames(options, host) : emptyArray); + automaticTypeDirectiveResolutions = createModeAwareCache(); + if (automaticTypeDirectiveNames.length) { + (_k = tracing) == null ? void 0 : _k.push(tracing.Phase.Program, "processTypeReferences", { count: automaticTypeDirectiveNames.length }); + const containingDirectory = options.configFilePath ? getDirectoryPath(options.configFilePath) : currentDirectory; + const containingFilename = combinePaths(containingDirectory, inferredTypesContainingFile); + const resolutions = resolveTypeReferenceDirectiveNamesReusingOldState(automaticTypeDirectiveNames, containingFilename); + for (let i = 0; i < automaticTypeDirectiveNames.length; i++) { + automaticTypeDirectiveResolutions.set( + automaticTypeDirectiveNames[i], + /*mode*/ + void 0, + resolutions[i] + ); + processTypeReferenceDirective( + automaticTypeDirectiveNames[i], + /*mode*/ + void 0, + resolutions[i], + { + kind: 8 /* AutomaticTypeDirectiveFile */, + typeReference: automaticTypeDirectiveNames[i], + packageId: (_m = (_l = resolutions[i]) == null ? void 0 : _l.resolvedTypeReferenceDirective) == null ? void 0 : _m.packageId + } + ); + } + (_n = tracing) == null ? void 0 : _n.pop(); + } + if (rootNames.length && !skipDefaultLib) { + const defaultLibraryFileName = getDefaultLibraryFileName(); + if (!options.lib && defaultLibraryFileName) { + processRootFile( + defaultLibraryFileName, + /*isDefaultLib*/ + true, + /*ignoreNoDefaultLib*/ + false, + { kind: 6 /* LibFile */ } + ); + } else { + forEach(options.lib, (libFileName, index) => { + processRootFile( + pathForLibFile(libFileName), + /*isDefaultLib*/ + true, + /*ignoreNoDefaultLib*/ + false, + { kind: 6 /* LibFile */, index } + ); + }); + } + } + files = toSorted(processingDefaultLibFiles, compareDefaultLibFiles).concat(processingOtherFiles); + processingDefaultLibFiles = void 0; + processingOtherFiles = void 0; + filesWithReferencesProcessed = void 0; + } + if (oldProgram && host.onReleaseOldSourceFile) { + const oldSourceFiles = oldProgram.getSourceFiles(); + for (const oldSourceFile of oldSourceFiles) { + const newFile = getSourceFileByPath(oldSourceFile.resolvedPath); + if (shouldCreateNewSourceFile || !newFile || newFile.impliedNodeFormat !== oldSourceFile.impliedNodeFormat || // old file wasn't redirect but new file is + oldSourceFile.resolvedPath === oldSourceFile.path && newFile.resolvedPath !== oldSourceFile.path) { + host.onReleaseOldSourceFile(oldSourceFile, oldProgram.getCompilerOptions(), !!getSourceFileByPath(oldSourceFile.path), newFile); + } + } + if (!host.getParsedCommandLine) { + oldProgram.forEachResolvedProjectReference((resolvedProjectReference) => { + if (!getResolvedProjectReferenceByPath(resolvedProjectReference.sourceFile.path)) { + host.onReleaseOldSourceFile( + resolvedProjectReference.sourceFile, + oldProgram.getCompilerOptions(), + /*hasSourceFileByPath*/ + false, + /*newSourceFileByResolvedPath*/ + void 0 + ); + } + }); + } + } + if (oldProgram && host.onReleaseParsedCommandLine) { + forEachProjectReference( + oldProgram.getProjectReferences(), + oldProgram.getResolvedProjectReferences(), + (oldResolvedRef, parent, index) => { + const oldReference = (parent == null ? void 0 : parent.commandLine.projectReferences[index]) || oldProgram.getProjectReferences()[index]; + const oldRefPath = resolveProjectReferencePath(oldReference); + if (!(projectReferenceRedirects == null ? void 0 : projectReferenceRedirects.has(toPath3(oldRefPath)))) { + host.onReleaseParsedCommandLine(oldRefPath, oldResolvedRef, oldProgram.getCompilerOptions()); + } + } + ); + } + oldProgram = void 0; + resolvedLibProcessing = void 0; + resolvedModulesProcessing = void 0; + resolvedTypeReferenceDirectiveNamesProcessing = void 0; + const program = { + getRootFileNames: () => rootNames, + getSourceFile, + getSourceFileByPath, + getSourceFiles: () => files, + getMissingFilePaths: () => missingFileNames, + getModuleResolutionCache: () => moduleResolutionCache, + getFilesByNameMap: () => filesByName, + getCompilerOptions: () => options, + getSyntacticDiagnostics, + getOptionsDiagnostics, + getGlobalDiagnostics, + getSemanticDiagnostics, + getCachedSemanticDiagnostics, + getSuggestionDiagnostics, + getDeclarationDiagnostics: getDeclarationDiagnostics2, + getBindAndCheckDiagnostics, + getProgramDiagnostics, + getTypeChecker, + getClassifiableNames, + getCommonSourceDirectory: getCommonSourceDirectory2, + emit, + getCurrentDirectory: () => currentDirectory, + getNodeCount: () => getTypeChecker().getNodeCount(), + getIdentifierCount: () => getTypeChecker().getIdentifierCount(), + getSymbolCount: () => getTypeChecker().getSymbolCount(), + getTypeCount: () => getTypeChecker().getTypeCount(), + getInstantiationCount: () => getTypeChecker().getInstantiationCount(), + getRelationCacheSizes: () => getTypeChecker().getRelationCacheSizes(), + getFileProcessingDiagnostics: () => fileProcessingDiagnostics, + getAutomaticTypeDirectiveNames: () => automaticTypeDirectiveNames, + getAutomaticTypeDirectiveResolutions: () => automaticTypeDirectiveResolutions, + isSourceFileFromExternalLibrary, + isSourceFileDefaultLibrary, + getModeForUsageLocation: getModeForUsageLocation2, + getEmitSyntaxForUsageLocation, + getModeForResolutionAtIndex, + getSourceFileFromReference, + getLibFileFromReference, + sourceFileToPackageName, + redirectTargetsMap, + usesUriStyleNodeCoreModules, + resolvedModules, + resolvedTypeReferenceDirectiveNames, + resolvedLibReferences, + getResolvedModule, + getResolvedModuleFromModuleSpecifier, + getResolvedTypeReferenceDirective, + getResolvedTypeReferenceDirectiveFromTypeReferenceDirective, + forEachResolvedModule, + forEachResolvedTypeReferenceDirective, + getCurrentPackagesMap: () => packageMap, + typesPackageExists, + packageBundlesTypes, + isEmittedFile, + getConfigFileParsingDiagnostics: getConfigFileParsingDiagnostics2, + getProjectReferences, + getResolvedProjectReferences, + getProjectReferenceRedirect, + getResolvedProjectReferenceToRedirect, + getResolvedProjectReferenceByPath, + forEachResolvedProjectReference: forEachResolvedProjectReference2, + isSourceOfProjectReferenceRedirect, + getRedirectReferenceForResolutionFromSourceOfProject, + getCompilerOptionsForFile, + getDefaultResolutionModeForFile: getDefaultResolutionModeForFile2, + getEmitModuleFormatOfFile, + getImpliedNodeFormatForEmit, + shouldTransformImportCall, + emitBuildInfo, + fileExists, + readFile, + directoryExists, + getSymlinkCache, + realpath: (_o = host.realpath) == null ? void 0 : _o.bind(host), + useCaseSensitiveFileNames: () => host.useCaseSensitiveFileNames(), + getCanonicalFileName, + getFileIncludeReasons: () => fileReasons, + structureIsReused, + writeFile: writeFile2, + getGlobalTypingsCacheLocation: maybeBind(host, host.getGlobalTypingsCacheLocation) + }; + onProgramCreateComplete(); + verifyCompilerOptions(); + mark("afterProgram"); + measure("Program", "beforeProgram", "afterProgram"); + (_p = tracing) == null ? void 0 : _p.pop(); + return program; + function updateAndGetProgramDiagnostics() { + if (lazyProgramDiagnosticExplainingFile) { + fileProcessingDiagnostics == null ? void 0 : fileProcessingDiagnostics.forEach((diagnostic) => { + switch (diagnostic.kind) { + case 1 /* FilePreprocessingFileExplainingDiagnostic */: + return programDiagnostics.add( + createDiagnosticExplainingFile( + diagnostic.file && getSourceFileByPath(diagnostic.file), + diagnostic.fileProcessingReason, + diagnostic.diagnostic, + diagnostic.args || emptyArray + ) + ); + case 0 /* FilePreprocessingLibReferenceDiagnostic */: + return programDiagnostics.add(filePreprocessingLibreferenceDiagnostic(diagnostic)); + case 2 /* ResolutionDiagnostics */: + return diagnostic.diagnostics.forEach((d) => programDiagnostics.add(d)); + default: + Debug.assertNever(diagnostic); + } + }); + lazyProgramDiagnosticExplainingFile.forEach( + ({ file, diagnostic, args }) => programDiagnostics.add( + createDiagnosticExplainingFile( + file, + /*fileProcessingReason*/ + void 0, + diagnostic, + args + ) + ) + ); + lazyProgramDiagnosticExplainingFile = void 0; + fileReasonsToChain = void 0; + reasonToRelatedInfo = void 0; + } + return programDiagnostics; + } + function filePreprocessingLibreferenceDiagnostic({ reason }) { + const { file, pos, end } = getReferencedFileLocation(program, reason); + const libReference = file.libReferenceDirectives[reason.index]; + const libName = getLibNameFromLibReference(libReference); + const unqualifiedLibName = removeSuffix(removePrefix(libName, "lib."), ".d.ts"); + const suggestion = getSpellingSuggestion(unqualifiedLibName, libs, identity); + return createFileDiagnostic( + file, + Debug.checkDefined(pos), + Debug.checkDefined(end) - pos, + suggestion ? Diagnostics.Cannot_find_lib_definition_for_0_Did_you_mean_1 : Diagnostics.Cannot_find_lib_definition_for_0, + libName, + suggestion + ); + } + function getResolvedModule(file, moduleName, mode) { + var _a2; + return (_a2 = resolvedModules == null ? void 0 : resolvedModules.get(file.path)) == null ? void 0 : _a2.get(moduleName, mode); + } + function getResolvedModuleFromModuleSpecifier(moduleSpecifier, sourceFile) { + sourceFile ?? (sourceFile = getSourceFileOfNode(moduleSpecifier)); + Debug.assertIsDefined(sourceFile, "`moduleSpecifier` must have a `SourceFile` ancestor. Use `program.getResolvedModule` instead to provide the containing file and resolution mode."); + return getResolvedModule(sourceFile, moduleSpecifier.text, getModeForUsageLocation2(sourceFile, moduleSpecifier)); + } + function getResolvedTypeReferenceDirective(file, typeDirectiveName, mode) { + var _a2; + return (_a2 = resolvedTypeReferenceDirectiveNames == null ? void 0 : resolvedTypeReferenceDirectiveNames.get(file.path)) == null ? void 0 : _a2.get(typeDirectiveName, mode); + } + function getResolvedTypeReferenceDirectiveFromTypeReferenceDirective(typeRef, sourceFile) { + return getResolvedTypeReferenceDirective( + sourceFile, + typeRef.fileName, + getModeForTypeReferenceDirectiveInFile(typeRef, sourceFile) + ); + } + function forEachResolvedModule(callback, file) { + forEachResolution(resolvedModules, callback, file); + } + function forEachResolvedTypeReferenceDirective(callback, file) { + forEachResolution(resolvedTypeReferenceDirectiveNames, callback, file); + } + function forEachResolution(resolutionCache, callback, file) { + var _a2; + if (file) (_a2 = resolutionCache == null ? void 0 : resolutionCache.get(file.path)) == null ? void 0 : _a2.forEach((resolution, name, mode) => callback(resolution, name, mode, file.path)); + else resolutionCache == null ? void 0 : resolutionCache.forEach((resolutions, filePath) => resolutions.forEach((resolution, name, mode) => callback(resolution, name, mode, filePath))); + } + function getPackagesMap() { + if (packageMap) return packageMap; + packageMap = /* @__PURE__ */ new Map(); + forEachResolvedModule(({ resolvedModule }) => { + if (resolvedModule == null ? void 0 : resolvedModule.packageId) packageMap.set(resolvedModule.packageId.name, resolvedModule.extension === ".d.ts" /* Dts */ || !!packageMap.get(resolvedModule.packageId.name)); + }); + return packageMap; + } + function typesPackageExists(packageName) { + return getPackagesMap().has(getTypesPackageName(packageName)); + } + function packageBundlesTypes(packageName) { + return !!getPackagesMap().get(packageName); + } + function addResolutionDiagnostics(resolution) { + var _a2; + if (!((_a2 = resolution.resolutionDiagnostics) == null ? void 0 : _a2.length)) return; + (fileProcessingDiagnostics ?? (fileProcessingDiagnostics = [])).push({ + kind: 2 /* ResolutionDiagnostics */, + diagnostics: resolution.resolutionDiagnostics + }); + } + function addResolutionDiagnosticsFromResolutionOrCache(containingFile, name, resolution, mode) { + if (host.resolveModuleNameLiterals || !host.resolveModuleNames) return addResolutionDiagnostics(resolution); + if (!moduleResolutionCache || isExternalModuleNameRelative(name)) return; + const containingFileName = getNormalizedAbsolutePath(containingFile.originalFileName, currentDirectory); + const containingDir = getDirectoryPath(containingFileName); + const redirectedReference = getRedirectReferenceForResolution(containingFile); + const fromCache = moduleResolutionCache.getFromNonRelativeNameCache(name, mode, containingDir, redirectedReference); + if (fromCache) addResolutionDiagnostics(fromCache); + } + function resolveModuleNamesWorker(moduleNames, containingFile, reusedNames) { + var _a2, _b2; + const containingFileName = getNormalizedAbsolutePath(containingFile.originalFileName, currentDirectory); + const redirectedReference = getRedirectReferenceForResolution(containingFile); + (_a2 = tracing) == null ? void 0 : _a2.push(tracing.Phase.Program, "resolveModuleNamesWorker", { containingFileName }); + mark("beforeResolveModule"); + const result = actualResolveModuleNamesWorker( + moduleNames, + containingFileName, + redirectedReference, + options, + containingFile, + reusedNames + ); + mark("afterResolveModule"); + measure("ResolveModule", "beforeResolveModule", "afterResolveModule"); + (_b2 = tracing) == null ? void 0 : _b2.pop(); + return result; + } + function resolveTypeReferenceDirectiveNamesWorker(typeDirectiveNames, containingFile, reusedNames) { + var _a2, _b2; + const containingSourceFile = !isString(containingFile) ? containingFile : void 0; + const containingFileName = !isString(containingFile) ? getNormalizedAbsolutePath(containingFile.originalFileName, currentDirectory) : containingFile; + const redirectedReference = containingSourceFile && getRedirectReferenceForResolution(containingSourceFile); + (_a2 = tracing) == null ? void 0 : _a2.push(tracing.Phase.Program, "resolveTypeReferenceDirectiveNamesWorker", { containingFileName }); + mark("beforeResolveTypeReference"); + const result = actualResolveTypeReferenceDirectiveNamesWorker( + typeDirectiveNames, + containingFileName, + redirectedReference, + options, + containingSourceFile, + reusedNames + ); + mark("afterResolveTypeReference"); + measure("ResolveTypeReference", "beforeResolveTypeReference", "afterResolveTypeReference"); + (_b2 = tracing) == null ? void 0 : _b2.pop(); + return result; + } + function getRedirectReferenceForResolution(file) { + const redirect = getResolvedProjectReferenceToRedirect(file.originalFileName); + if (redirect || !isDeclarationFileName(file.originalFileName)) return redirect; + const resultFromDts = getRedirectReferenceForResolutionFromSourceOfProject(file.path); + if (resultFromDts) return resultFromDts; + if (!host.realpath || !options.preserveSymlinks || !file.originalFileName.includes(nodeModulesPathPart)) return void 0; + const realDeclarationPath = toPath3(host.realpath(file.originalFileName)); + return realDeclarationPath === file.path ? void 0 : getRedirectReferenceForResolutionFromSourceOfProject(realDeclarationPath); + } + function getRedirectReferenceForResolutionFromSourceOfProject(filePath) { + const source = getSourceOfProjectReferenceRedirect(filePath); + if (isString(source)) return getResolvedProjectReferenceToRedirect(source); + if (!source) return void 0; + return forEachResolvedProjectReference2((resolvedRef) => { + const out = resolvedRef.commandLine.options.outFile; + if (!out) return void 0; + return toPath3(out) === filePath ? resolvedRef : void 0; + }); + } + function compareDefaultLibFiles(a, b) { + return compareValues(getDefaultLibFilePriority(a), getDefaultLibFilePriority(b)); + } + function getDefaultLibFilePriority(a) { + if (containsPath( + defaultLibraryPath, + a.fileName, + /*ignoreCase*/ + false + )) { + const basename = getBaseFileName(a.fileName); + if (basename === "lib.d.ts" || basename === "lib.es6.d.ts") return 0; + const name = removeSuffix(removePrefix(basename, "lib."), ".d.ts"); + const index = libs.indexOf(name); + if (index !== -1) return index + 1; + } + return libs.length + 2; + } + function toPath3(fileName) { + return toPath(fileName, currentDirectory, getCanonicalFileName); + } + function getCommonSourceDirectory2() { + if (commonSourceDirectory === void 0) { + const emittedFiles = filter(files, (file) => sourceFileMayBeEmitted(file, program)); + commonSourceDirectory = getCommonSourceDirectory( + options, + () => mapDefined(emittedFiles, (file) => file.isDeclarationFile ? void 0 : file.fileName), + currentDirectory, + getCanonicalFileName, + (commonSourceDirectory2) => checkSourceFilesBelongToPath(emittedFiles, commonSourceDirectory2) + ); + } + return commonSourceDirectory; + } + function getClassifiableNames() { + var _a2; + if (!classifiableNames) { + getTypeChecker(); + classifiableNames = /* @__PURE__ */ new Set(); + for (const sourceFile of files) { + (_a2 = sourceFile.classifiableNames) == null ? void 0 : _a2.forEach((value) => classifiableNames.add(value)); + } + } + return classifiableNames; + } + function resolveModuleNamesReusingOldState(moduleNames, containingFile) { + return resolveNamesReusingOldState({ + entries: moduleNames, + containingFile, + containingSourceFile: containingFile, + redirectedReference: getRedirectReferenceForResolution(containingFile), + nameAndModeGetter: moduleResolutionNameAndModeGetter, + resolutionWorker: resolveModuleNamesWorker, + getResolutionFromOldProgram: (name, mode) => oldProgram == null ? void 0 : oldProgram.getResolvedModule(containingFile, name, mode), + getResolved: getResolvedModuleFromResolution, + canReuseResolutionsInFile: () => containingFile === (oldProgram == null ? void 0 : oldProgram.getSourceFile(containingFile.fileName)) && !hasInvalidatedResolutions(containingFile.path), + resolveToOwnAmbientModule: true + }); + } + function resolveTypeReferenceDirectiveNamesReusingOldState(typeDirectiveNames, containingFile) { + const containingSourceFile = !isString(containingFile) ? containingFile : void 0; + return resolveNamesReusingOldState({ + entries: typeDirectiveNames, + containingFile, + containingSourceFile, + redirectedReference: containingSourceFile && getRedirectReferenceForResolution(containingSourceFile), + nameAndModeGetter: typeReferenceResolutionNameAndModeGetter, + resolutionWorker: resolveTypeReferenceDirectiveNamesWorker, + getResolutionFromOldProgram: (name, mode) => { + var _a2; + return containingSourceFile ? oldProgram == null ? void 0 : oldProgram.getResolvedTypeReferenceDirective(containingSourceFile, name, mode) : (_a2 = oldProgram == null ? void 0 : oldProgram.getAutomaticTypeDirectiveResolutions()) == null ? void 0 : _a2.get(name, mode); + }, + getResolved: getResolvedTypeReferenceDirectiveFromResolution, + canReuseResolutionsInFile: () => containingSourceFile ? containingSourceFile === (oldProgram == null ? void 0 : oldProgram.getSourceFile(containingSourceFile.fileName)) && !hasInvalidatedResolutions(containingSourceFile.path) : !hasInvalidatedResolutions(toPath3(containingFile)) + }); + } + function resolveNamesReusingOldState({ + entries, + containingFile, + containingSourceFile, + redirectedReference, + nameAndModeGetter, + resolutionWorker, + getResolutionFromOldProgram, + getResolved, + canReuseResolutionsInFile, + resolveToOwnAmbientModule + }) { + if (!entries.length) return emptyArray; + if (structureIsReused === 0 /* Not */ && (!resolveToOwnAmbientModule || !containingSourceFile.ambientModuleNames.length)) { + return resolutionWorker( + entries, + containingFile, + /*reusedNames*/ + void 0 + ); + } + let unknownEntries; + let unknownEntryIndices; + let result; + let reusedNames; + const reuseResolutions = canReuseResolutionsInFile(); + for (let i = 0; i < entries.length; i++) { + const entry = entries[i]; + if (reuseResolutions) { + const name = nameAndModeGetter.getName(entry); + const mode = nameAndModeGetter.getMode(entry, containingSourceFile, (redirectedReference == null ? void 0 : redirectedReference.commandLine.options) ?? options); + const oldResolution = getResolutionFromOldProgram(name, mode); + const oldResolved = oldResolution && getResolved(oldResolution); + if (oldResolved) { + if (isTraceEnabled(options, host)) { + trace( + host, + resolutionWorker === resolveModuleNamesWorker ? oldResolved.packageId ? Diagnostics.Reusing_resolution_of_module_0_from_1_of_old_program_it_was_successfully_resolved_to_2_with_Package_ID_3 : Diagnostics.Reusing_resolution_of_module_0_from_1_of_old_program_it_was_successfully_resolved_to_2 : oldResolved.packageId ? Diagnostics.Reusing_resolution_of_type_reference_directive_0_from_1_of_old_program_it_was_successfully_resolved_to_2_with_Package_ID_3 : Diagnostics.Reusing_resolution_of_type_reference_directive_0_from_1_of_old_program_it_was_successfully_resolved_to_2, + name, + containingSourceFile ? getNormalizedAbsolutePath(containingSourceFile.originalFileName, currentDirectory) : containingFile, + oldResolved.resolvedFileName, + oldResolved.packageId && packageIdToString(oldResolved.packageId) + ); + } + (result ?? (result = new Array(entries.length)))[i] = oldResolution; + (reusedNames ?? (reusedNames = [])).push(entry); + continue; + } + } + if (resolveToOwnAmbientModule) { + const name = nameAndModeGetter.getName(entry); + if (contains(containingSourceFile.ambientModuleNames, name)) { + if (isTraceEnabled(options, host)) { + trace( + host, + Diagnostics.Module_0_was_resolved_as_locally_declared_ambient_module_in_file_1, + name, + getNormalizedAbsolutePath(containingSourceFile.originalFileName, currentDirectory) + ); + } + (result ?? (result = new Array(entries.length)))[i] = emptyResolution; + continue; + } + } + (unknownEntries ?? (unknownEntries = [])).push(entry); + (unknownEntryIndices ?? (unknownEntryIndices = [])).push(i); + } + if (!unknownEntries) return result; + const resolutions = resolutionWorker(unknownEntries, containingFile, reusedNames); + if (!result) return resolutions; + resolutions.forEach((resolution, index) => result[unknownEntryIndices[index]] = resolution); + return result; + } + function canReuseProjectReferences() { + return !forEachProjectReference( + oldProgram.getProjectReferences(), + oldProgram.getResolvedProjectReferences(), + (oldResolvedRef, parent, index) => { + const newRef = (parent ? parent.commandLine.projectReferences : projectReferences)[index]; + const newResolvedRef = parseProjectReferenceConfigFile(newRef); + if (oldResolvedRef) { + return !newResolvedRef || newResolvedRef.sourceFile !== oldResolvedRef.sourceFile || !arrayIsEqualTo(oldResolvedRef.commandLine.fileNames, newResolvedRef.commandLine.fileNames); + } else { + return newResolvedRef !== void 0; + } + }, + (oldProjectReferences, parent) => { + const newReferences = parent ? getResolvedProjectReferenceByPath(parent.sourceFile.path).commandLine.projectReferences : projectReferences; + return !arrayIsEqualTo(oldProjectReferences, newReferences, projectReferenceIsEqualTo); + } + ); + } + function tryReuseStructureFromOldProgram() { + var _a2; + if (!oldProgram) { + return 0 /* Not */; + } + const oldOptions = oldProgram.getCompilerOptions(); + if (changesAffectModuleResolution(oldOptions, options)) { + return 0 /* Not */; + } + const oldRootNames = oldProgram.getRootFileNames(); + if (!arrayIsEqualTo(oldRootNames, rootNames)) { + return 0 /* Not */; + } + if (!canReuseProjectReferences()) { + return 0 /* Not */; + } + if (projectReferences) { + resolvedProjectReferences = projectReferences.map(parseProjectReferenceConfigFile); + } + const newSourceFiles = []; + const modifiedSourceFiles = []; + structureIsReused = 2 /* Completely */; + if (forEachEntry(oldProgram.getMissingFilePaths(), (missingFileName) => host.fileExists(missingFileName))) { + return 0 /* Not */; + } + const oldSourceFiles = oldProgram.getSourceFiles(); + let SeenPackageName; + ((SeenPackageName2) => { + SeenPackageName2[SeenPackageName2["Exists"] = 0] = "Exists"; + SeenPackageName2[SeenPackageName2["Modified"] = 1] = "Modified"; + })(SeenPackageName || (SeenPackageName = {})); + const seenPackageNames = /* @__PURE__ */ new Map(); + for (const oldSourceFile of oldSourceFiles) { + const sourceFileOptions = getCreateSourceFileOptions(oldSourceFile.fileName, moduleResolutionCache, host, options); + let newSourceFile = host.getSourceFileByPath ? host.getSourceFileByPath( + oldSourceFile.fileName, + oldSourceFile.resolvedPath, + sourceFileOptions, + /*onError*/ + void 0, + shouldCreateNewSourceFile + ) : host.getSourceFile( + oldSourceFile.fileName, + sourceFileOptions, + /*onError*/ + void 0, + shouldCreateNewSourceFile + ); + if (!newSourceFile) { + return 0 /* Not */; + } + newSourceFile.packageJsonLocations = ((_a2 = sourceFileOptions.packageJsonLocations) == null ? void 0 : _a2.length) ? sourceFileOptions.packageJsonLocations : void 0; + newSourceFile.packageJsonScope = sourceFileOptions.packageJsonScope; + Debug.assert(!newSourceFile.redirectInfo, "Host should not return a redirect source file from `getSourceFile`"); + let fileChanged; + if (oldSourceFile.redirectInfo) { + if (newSourceFile !== oldSourceFile.redirectInfo.unredirected) { + return 0 /* Not */; + } + fileChanged = false; + newSourceFile = oldSourceFile; + } else if (oldProgram.redirectTargetsMap.has(oldSourceFile.path)) { + if (newSourceFile !== oldSourceFile) { + return 0 /* Not */; + } + fileChanged = false; + } else { + fileChanged = newSourceFile !== oldSourceFile; + } + newSourceFile.path = oldSourceFile.path; + newSourceFile.originalFileName = oldSourceFile.originalFileName; + newSourceFile.resolvedPath = oldSourceFile.resolvedPath; + newSourceFile.fileName = oldSourceFile.fileName; + const packageName = oldProgram.sourceFileToPackageName.get(oldSourceFile.path); + if (packageName !== void 0) { + const prevKind = seenPackageNames.get(packageName); + const newKind = fileChanged ? 1 /* Modified */ : 0 /* Exists */; + if (prevKind !== void 0 && newKind === 1 /* Modified */ || prevKind === 1 /* Modified */) { + return 0 /* Not */; + } + seenPackageNames.set(packageName, newKind); + } + if (fileChanged) { + if (oldSourceFile.impliedNodeFormat !== newSourceFile.impliedNodeFormat) { + structureIsReused = 1 /* SafeModules */; + } else if (!arrayIsEqualTo(oldSourceFile.libReferenceDirectives, newSourceFile.libReferenceDirectives, fileReferenceIsEqualTo)) { + structureIsReused = 1 /* SafeModules */; + } else if (oldSourceFile.hasNoDefaultLib !== newSourceFile.hasNoDefaultLib) { + structureIsReused = 1 /* SafeModules */; + } else if (!arrayIsEqualTo(oldSourceFile.referencedFiles, newSourceFile.referencedFiles, fileReferenceIsEqualTo)) { + structureIsReused = 1 /* SafeModules */; + } else { + collectExternalModuleReferences(newSourceFile); + if (!arrayIsEqualTo(oldSourceFile.imports, newSourceFile.imports, moduleNameIsEqualTo)) { + structureIsReused = 1 /* SafeModules */; + } else if (!arrayIsEqualTo(oldSourceFile.moduleAugmentations, newSourceFile.moduleAugmentations, moduleNameIsEqualTo)) { + structureIsReused = 1 /* SafeModules */; + } else if ((oldSourceFile.flags & 12582912 /* PermanentlySetIncrementalFlags */) !== (newSourceFile.flags & 12582912 /* PermanentlySetIncrementalFlags */)) { + structureIsReused = 1 /* SafeModules */; + } else if (!arrayIsEqualTo(oldSourceFile.typeReferenceDirectives, newSourceFile.typeReferenceDirectives, fileReferenceIsEqualTo)) { + structureIsReused = 1 /* SafeModules */; + } + } + modifiedSourceFiles.push(newSourceFile); + } else if (hasInvalidatedResolutions(oldSourceFile.path)) { + structureIsReused = 1 /* SafeModules */; + modifiedSourceFiles.push(newSourceFile); + } + newSourceFiles.push(newSourceFile); + } + if (structureIsReused !== 2 /* Completely */) { + return structureIsReused; + } + for (const newSourceFile of modifiedSourceFiles) { + const moduleNames = getModuleNames(newSourceFile); + const resolutions = resolveModuleNamesReusingOldState(moduleNames, newSourceFile); + (resolvedModulesProcessing ?? (resolvedModulesProcessing = /* @__PURE__ */ new Map())).set(newSourceFile.path, resolutions); + const optionsForFile = getCompilerOptionsForFile(newSourceFile); + const resolutionsChanged = hasChangesInResolutions( + moduleNames, + resolutions, + (name) => oldProgram.getResolvedModule(newSourceFile, name.text, getModeForUsageLocationWorker(newSourceFile, name, optionsForFile)), + moduleResolutionIsEqualTo + ); + if (resolutionsChanged) structureIsReused = 1 /* SafeModules */; + const typesReferenceDirectives = newSourceFile.typeReferenceDirectives; + const typeReferenceResolutions = resolveTypeReferenceDirectiveNamesReusingOldState(typesReferenceDirectives, newSourceFile); + (resolvedTypeReferenceDirectiveNamesProcessing ?? (resolvedTypeReferenceDirectiveNamesProcessing = /* @__PURE__ */ new Map())).set(newSourceFile.path, typeReferenceResolutions); + const typeReferenceResolutionsChanged = hasChangesInResolutions( + typesReferenceDirectives, + typeReferenceResolutions, + (name) => oldProgram.getResolvedTypeReferenceDirective( + newSourceFile, + getTypeReferenceResolutionName(name), + getModeForTypeReferenceDirectiveInFile(name, newSourceFile) + ), + typeDirectiveIsEqualTo + ); + if (typeReferenceResolutionsChanged) structureIsReused = 1 /* SafeModules */; + } + if (structureIsReused !== 2 /* Completely */) { + return structureIsReused; + } + if (changesAffectingProgramStructure(oldOptions, options)) { + return 1 /* SafeModules */; + } + if (oldProgram.resolvedLibReferences && forEachEntry(oldProgram.resolvedLibReferences, (resolution, libFileName) => pathForLibFileWorker(libFileName).actual !== resolution.actual)) { + return 1 /* SafeModules */; + } + if (host.hasChangedAutomaticTypeDirectiveNames) { + if (host.hasChangedAutomaticTypeDirectiveNames()) return 1 /* SafeModules */; + } else { + automaticTypeDirectiveNames = getAutomaticTypeDirectiveNames(options, host); + if (!arrayIsEqualTo(oldProgram.getAutomaticTypeDirectiveNames(), automaticTypeDirectiveNames)) return 1 /* SafeModules */; + } + missingFileNames = oldProgram.getMissingFilePaths(); + Debug.assert(newSourceFiles.length === oldProgram.getSourceFiles().length); + for (const newSourceFile of newSourceFiles) { + filesByName.set(newSourceFile.path, newSourceFile); + } + const oldFilesByNameMap = oldProgram.getFilesByNameMap(); + oldFilesByNameMap.forEach((oldFile, path) => { + if (!oldFile) { + filesByName.set(path, oldFile); + return; + } + if (oldFile.path === path) { + if (oldProgram.isSourceFileFromExternalLibrary(oldFile)) { + sourceFilesFoundSearchingNodeModules.set(oldFile.path, true); + } + return; + } + filesByName.set(path, filesByName.get(oldFile.path)); + }); + files = newSourceFiles; + fileReasons = oldProgram.getFileIncludeReasons(); + fileProcessingDiagnostics = oldProgram.getFileProcessingDiagnostics(); + automaticTypeDirectiveNames = oldProgram.getAutomaticTypeDirectiveNames(); + automaticTypeDirectiveResolutions = oldProgram.getAutomaticTypeDirectiveResolutions(); + sourceFileToPackageName = oldProgram.sourceFileToPackageName; + redirectTargetsMap = oldProgram.redirectTargetsMap; + usesUriStyleNodeCoreModules = oldProgram.usesUriStyleNodeCoreModules; + resolvedModules = oldProgram.resolvedModules; + resolvedTypeReferenceDirectiveNames = oldProgram.resolvedTypeReferenceDirectiveNames; + resolvedLibReferences = oldProgram.resolvedLibReferences; + packageMap = oldProgram.getCurrentPackagesMap(); + return 2 /* Completely */; + } + function getEmitHost(writeFileCallback) { + return { + getCanonicalFileName, + getCommonSourceDirectory: program.getCommonSourceDirectory, + getCompilerOptions: program.getCompilerOptions, + getCurrentDirectory: () => currentDirectory, + getSourceFile: program.getSourceFile, + getSourceFileByPath: program.getSourceFileByPath, + getSourceFiles: program.getSourceFiles, + isSourceFileFromExternalLibrary, + getResolvedProjectReferenceToRedirect, + getProjectReferenceRedirect, + isSourceOfProjectReferenceRedirect, + getSymlinkCache, + writeFile: writeFileCallback || writeFile2, + isEmitBlocked, + shouldTransformImportCall, + getEmitModuleFormatOfFile, + getDefaultResolutionModeForFile: getDefaultResolutionModeForFile2, + getModeForResolutionAtIndex, + readFile: (f) => host.readFile(f), + fileExists: (f) => { + const path = toPath3(f); + if (getSourceFileByPath(path)) return true; + if (missingFileNames.has(path)) return false; + return host.fileExists(f); + }, + realpath: maybeBind(host, host.realpath), + useCaseSensitiveFileNames: () => host.useCaseSensitiveFileNames(), + getBuildInfo: () => { + var _a2; + return (_a2 = program.getBuildInfo) == null ? void 0 : _a2.call(program); + }, + getSourceFileFromReference: (file, ref) => program.getSourceFileFromReference(file, ref), + redirectTargetsMap, + getFileIncludeReasons: program.getFileIncludeReasons, + createHash: maybeBind(host, host.createHash), + getModuleResolutionCache: () => program.getModuleResolutionCache(), + trace: maybeBind(host, host.trace), + getGlobalTypingsCacheLocation: program.getGlobalTypingsCacheLocation + }; + } + function writeFile2(fileName, text, writeByteOrderMark, onError, sourceFiles, data) { + host.writeFile(fileName, text, writeByteOrderMark, onError, sourceFiles, data); + } + function emitBuildInfo(writeFileCallback) { + var _a2, _b2; + (_a2 = tracing) == null ? void 0 : _a2.push( + tracing.Phase.Emit, + "emitBuildInfo", + {}, + /*separateBeginAndEnd*/ + true + ); + mark("beforeEmit"); + const emitResult = emitFiles( + notImplementedResolver, + getEmitHost(writeFileCallback), + /*targetSourceFile*/ + void 0, + /*transformers*/ + noTransformers, + /*emitOnly*/ + false, + /*onlyBuildInfo*/ + true + ); + mark("afterEmit"); + measure("Emit", "beforeEmit", "afterEmit"); + (_b2 = tracing) == null ? void 0 : _b2.pop(); + return emitResult; + } + function getResolvedProjectReferences() { + return resolvedProjectReferences; + } + function getProjectReferences() { + return projectReferences; + } + function isSourceFileFromExternalLibrary(file) { + return !!sourceFilesFoundSearchingNodeModules.get(file.path); + } + function isSourceFileDefaultLibrary(file) { + if (!file.isDeclarationFile) { + return false; + } + if (file.hasNoDefaultLib) { + return true; + } + if (options.noLib) { + return false; + } + const equalityComparer = host.useCaseSensitiveFileNames() ? equateStringsCaseSensitive : equateStringsCaseInsensitive; + if (!options.lib) { + return equalityComparer(file.fileName, getDefaultLibraryFileName()); + } else { + return some(options.lib, (libFileName) => { + const resolvedLib = resolvedLibReferences.get(libFileName); + return !!resolvedLib && equalityComparer(file.fileName, resolvedLib.actual); + }); + } + } + function getTypeChecker() { + return typeChecker || (typeChecker = createTypeChecker(program)); + } + function emit(sourceFile, writeFileCallback, cancellationToken, emitOnly, transformers, forceDtsEmit, skipBuildInfo) { + var _a2, _b2; + (_a2 = tracing) == null ? void 0 : _a2.push( + tracing.Phase.Emit, + "emit", + { path: sourceFile == null ? void 0 : sourceFile.path }, + /*separateBeginAndEnd*/ + true + ); + const result = runWithCancellationToken( + () => emitWorker( + program, + sourceFile, + writeFileCallback, + cancellationToken, + emitOnly, + transformers, + forceDtsEmit, + skipBuildInfo + ) + ); + (_b2 = tracing) == null ? void 0 : _b2.pop(); + return result; + } + function isEmitBlocked(emitFileName) { + return hasEmitBlockingDiagnostics.has(toPath3(emitFileName)); + } + function emitWorker(program2, sourceFile, writeFileCallback, cancellationToken, emitOnly, customTransformers, forceDtsEmit, skipBuildInfo) { + if (!forceDtsEmit) { + const result = handleNoEmitOptions(program2, sourceFile, writeFileCallback, cancellationToken); + if (result) return result; + } + const typeChecker2 = getTypeChecker(); + const emitResolver = typeChecker2.getEmitResolver( + options.outFile ? void 0 : sourceFile, + cancellationToken, + emitResolverSkipsTypeChecking(emitOnly, forceDtsEmit) + ); + mark("beforeEmit"); + const emitResult = typeChecker2.runWithCancellationToken( + cancellationToken, + () => emitFiles( + emitResolver, + getEmitHost(writeFileCallback), + sourceFile, + getTransformers(options, customTransformers, emitOnly), + emitOnly, + /*onlyBuildInfo*/ + false, + forceDtsEmit, + skipBuildInfo + ) + ); + mark("afterEmit"); + measure("Emit", "beforeEmit", "afterEmit"); + return emitResult; + } + function getSourceFile(fileName) { + return getSourceFileByPath(toPath3(fileName)); + } + function getSourceFileByPath(path) { + return filesByName.get(path) || void 0; + } + function getDiagnosticsHelper(sourceFile, getDiagnostics, cancellationToken) { + if (sourceFile) { + return sortAndDeduplicateDiagnostics(getDiagnostics(sourceFile, cancellationToken)); + } + return sortAndDeduplicateDiagnostics(flatMap(program.getSourceFiles(), (sourceFile2) => { + if (cancellationToken) { + cancellationToken.throwIfCancellationRequested(); + } + return getDiagnostics(sourceFile2, cancellationToken); + })); + } + function getSyntacticDiagnostics(sourceFile, cancellationToken) { + return getDiagnosticsHelper(sourceFile, getSyntacticDiagnosticsForFile, cancellationToken); + } + function getSemanticDiagnostics(sourceFile, cancellationToken, nodesToCheck) { + return getDiagnosticsHelper( + sourceFile, + (sourceFile2, cancellationToken2) => getSemanticDiagnosticsForFile(sourceFile2, cancellationToken2, nodesToCheck), + cancellationToken + ); + } + function getCachedSemanticDiagnostics(sourceFile) { + return cachedBindAndCheckDiagnosticsForFile == null ? void 0 : cachedBindAndCheckDiagnosticsForFile.get(sourceFile.path); + } + function getBindAndCheckDiagnostics(sourceFile, cancellationToken) { + return getBindAndCheckDiagnosticsForFile( + sourceFile, + cancellationToken, + /*nodesToCheck*/ + void 0 + ); + } + function getProgramDiagnostics(sourceFile) { + var _a2; + if (skipTypeChecking(sourceFile, options, program)) { + return emptyArray; + } + const programDiagnosticsInFile = updateAndGetProgramDiagnostics().getDiagnostics(sourceFile.fileName); + if (!((_a2 = sourceFile.commentDirectives) == null ? void 0 : _a2.length)) { + return programDiagnosticsInFile; + } + return getDiagnosticsWithPrecedingDirectives(sourceFile, sourceFile.commentDirectives, programDiagnosticsInFile).diagnostics; + } + function getDeclarationDiagnostics2(sourceFile, cancellationToken) { + return getDiagnosticsHelper(sourceFile, getDeclarationDiagnosticsForFile, cancellationToken); + } + function getSyntacticDiagnosticsForFile(sourceFile) { + if (isSourceFileJS(sourceFile)) { + if (!sourceFile.additionalSyntacticDiagnostics) { + sourceFile.additionalSyntacticDiagnostics = getJSSyntacticDiagnosticsForFile(sourceFile); + } + return concatenate(sourceFile.additionalSyntacticDiagnostics, sourceFile.parseDiagnostics); + } + return sourceFile.parseDiagnostics; + } + function runWithCancellationToken(func) { + try { + return func(); + } catch (e) { + if (e instanceof OperationCanceledException) { + typeChecker = void 0; + } + throw e; + } + } + function getSemanticDiagnosticsForFile(sourceFile, cancellationToken, nodesToCheck) { + return concatenate( + filterSemanticDiagnostics(getBindAndCheckDiagnosticsForFile(sourceFile, cancellationToken, nodesToCheck), options), + getProgramDiagnostics(sourceFile) + ); + } + function getBindAndCheckDiagnosticsForFile(sourceFile, cancellationToken, nodesToCheck) { + if (nodesToCheck) { + return getBindAndCheckDiagnosticsForFileNoCache(sourceFile, cancellationToken, nodesToCheck); + } + let result = cachedBindAndCheckDiagnosticsForFile == null ? void 0 : cachedBindAndCheckDiagnosticsForFile.get(sourceFile.path); + if (!result) { + (cachedBindAndCheckDiagnosticsForFile ?? (cachedBindAndCheckDiagnosticsForFile = /* @__PURE__ */ new Map())).set( + sourceFile.path, + result = getBindAndCheckDiagnosticsForFileNoCache(sourceFile, cancellationToken) + ); + } + return result; + } + function getBindAndCheckDiagnosticsForFileNoCache(sourceFile, cancellationToken, nodesToCheck) { + return runWithCancellationToken(() => { + if (skipTypeChecking(sourceFile, options, program)) { + return emptyArray; + } + const typeChecker2 = getTypeChecker(); + Debug.assert(!!sourceFile.bindDiagnostics); + const isJs = sourceFile.scriptKind === 1 /* JS */ || sourceFile.scriptKind === 2 /* JSX */; + const isPlainJs = isPlainJsFile(sourceFile, options.checkJs); + const isCheckJs = isJs && isCheckJsEnabledForFile(sourceFile, options); + let bindDiagnostics = sourceFile.bindDiagnostics; + let checkDiagnostics = typeChecker2.getDiagnostics(sourceFile, cancellationToken, nodesToCheck); + if (isPlainJs) { + bindDiagnostics = filter(bindDiagnostics, (d) => plainJSErrors.has(d.code)); + checkDiagnostics = filter(checkDiagnostics, (d) => plainJSErrors.has(d.code)); + } + return getMergedBindAndCheckDiagnostics( + sourceFile, + !isPlainJs, + !!nodesToCheck, + bindDiagnostics, + checkDiagnostics, + isCheckJs ? sourceFile.jsDocDiagnostics : void 0 + ); + }); + } + function getMergedBindAndCheckDiagnostics(sourceFile, includeBindAndCheckDiagnostics, partialCheck, ...allDiagnostics) { + var _a2; + const flatDiagnostics = flatten(allDiagnostics); + if (!includeBindAndCheckDiagnostics || !((_a2 = sourceFile.commentDirectives) == null ? void 0 : _a2.length)) { + return flatDiagnostics; + } + const { diagnostics, directives } = getDiagnosticsWithPrecedingDirectives(sourceFile, sourceFile.commentDirectives, flatDiagnostics); + if (partialCheck) { + return diagnostics; + } + for (const errorExpectation of directives.getUnusedExpectations()) { + diagnostics.push(createDiagnosticForRange(sourceFile, errorExpectation.range, Diagnostics.Unused_ts_expect_error_directive)); + } + return diagnostics; + } + function getDiagnosticsWithPrecedingDirectives(sourceFile, commentDirectives, flatDiagnostics) { + const directives = createCommentDirectivesMap(sourceFile, commentDirectives); + const diagnostics = flatDiagnostics.filter((diagnostic) => markPrecedingCommentDirectiveLine(diagnostic, directives) === -1); + return { diagnostics, directives }; + } + function getSuggestionDiagnostics(sourceFile, cancellationToken) { + return runWithCancellationToken(() => { + return getTypeChecker().getSuggestionDiagnostics(sourceFile, cancellationToken); + }); + } + function markPrecedingCommentDirectiveLine(diagnostic, directives) { + const { file, start } = diagnostic; + if (!file) { + return -1; + } + const lineStarts = getLineStarts(file); + let line = computeLineAndCharacterOfPosition(lineStarts, start).line - 1; + while (line >= 0) { + if (directives.markUsed(line)) { + return line; + } + const lineText = file.text.slice(lineStarts[line], lineStarts[line + 1]).trim(); + if (lineText !== "" && !/^\s*\/\/.*$/.test(lineText)) { + return -1; + } + line--; + } + return -1; + } + function getJSSyntacticDiagnosticsForFile(sourceFile) { + return runWithCancellationToken(() => { + const diagnostics = []; + walk(sourceFile, sourceFile); + forEachChildRecursively(sourceFile, walk, walkArray); + return diagnostics; + function walk(node, parent) { + switch (parent.kind) { + case 169 /* Parameter */: + case 172 /* PropertyDeclaration */: + case 174 /* MethodDeclaration */: + if (parent.questionToken === node) { + diagnostics.push(createDiagnosticForNode2(node, Diagnostics.The_0_modifier_can_only_be_used_in_TypeScript_files, "?")); + return "skip"; + } + // falls through + case 173 /* MethodSignature */: + case 176 /* Constructor */: + case 177 /* GetAccessor */: + case 178 /* SetAccessor */: + case 218 /* FunctionExpression */: + case 262 /* FunctionDeclaration */: + case 219 /* ArrowFunction */: + case 260 /* VariableDeclaration */: + if (parent.type === node) { + diagnostics.push(createDiagnosticForNode2(node, Diagnostics.Type_annotations_can_only_be_used_in_TypeScript_files)); + return "skip"; + } + } + switch (node.kind) { + case 273 /* ImportClause */: + if (node.isTypeOnly) { + diagnostics.push(createDiagnosticForNode2(parent, Diagnostics._0_declarations_can_only_be_used_in_TypeScript_files, "import type")); + return "skip"; + } + break; + case 278 /* ExportDeclaration */: + if (node.isTypeOnly) { + diagnostics.push(createDiagnosticForNode2(node, Diagnostics._0_declarations_can_only_be_used_in_TypeScript_files, "export type")); + return "skip"; + } + break; + case 276 /* ImportSpecifier */: + case 281 /* ExportSpecifier */: + if (node.isTypeOnly) { + diagnostics.push(createDiagnosticForNode2(node, Diagnostics._0_declarations_can_only_be_used_in_TypeScript_files, isImportSpecifier(node) ? "import...type" : "export...type")); + return "skip"; + } + break; + case 271 /* ImportEqualsDeclaration */: + diagnostics.push(createDiagnosticForNode2(node, Diagnostics.import_can_only_be_used_in_TypeScript_files)); + return "skip"; + case 277 /* ExportAssignment */: + if (node.isExportEquals) { + diagnostics.push(createDiagnosticForNode2(node, Diagnostics.export_can_only_be_used_in_TypeScript_files)); + return "skip"; + } + break; + case 298 /* HeritageClause */: + const heritageClause = node; + if (heritageClause.token === 119 /* ImplementsKeyword */) { + diagnostics.push(createDiagnosticForNode2(node, Diagnostics.implements_clauses_can_only_be_used_in_TypeScript_files)); + return "skip"; + } + break; + case 264 /* InterfaceDeclaration */: + const interfaceKeyword = tokenToString(120 /* InterfaceKeyword */); + Debug.assertIsDefined(interfaceKeyword); + diagnostics.push(createDiagnosticForNode2(node, Diagnostics._0_declarations_can_only_be_used_in_TypeScript_files, interfaceKeyword)); + return "skip"; + case 267 /* ModuleDeclaration */: + const moduleKeyword = node.flags & 32 /* Namespace */ ? tokenToString(145 /* NamespaceKeyword */) : tokenToString(144 /* ModuleKeyword */); + Debug.assertIsDefined(moduleKeyword); + diagnostics.push(createDiagnosticForNode2(node, Diagnostics._0_declarations_can_only_be_used_in_TypeScript_files, moduleKeyword)); + return "skip"; + case 265 /* TypeAliasDeclaration */: + diagnostics.push(createDiagnosticForNode2(node, Diagnostics.Type_aliases_can_only_be_used_in_TypeScript_files)); + return "skip"; + case 176 /* Constructor */: + case 174 /* MethodDeclaration */: + case 262 /* FunctionDeclaration */: + if (!node.body) { + diagnostics.push(createDiagnosticForNode2(node, Diagnostics.Signature_declarations_can_only_be_used_in_TypeScript_files)); + return "skip"; + } + return; + case 266 /* EnumDeclaration */: + const enumKeyword = Debug.checkDefined(tokenToString(94 /* EnumKeyword */)); + diagnostics.push(createDiagnosticForNode2(node, Diagnostics._0_declarations_can_only_be_used_in_TypeScript_files, enumKeyword)); + return "skip"; + case 235 /* NonNullExpression */: + diagnostics.push(createDiagnosticForNode2(node, Diagnostics.Non_null_assertions_can_only_be_used_in_TypeScript_files)); + return "skip"; + case 234 /* AsExpression */: + diagnostics.push(createDiagnosticForNode2(node.type, Diagnostics.Type_assertion_expressions_can_only_be_used_in_TypeScript_files)); + return "skip"; + case 238 /* SatisfiesExpression */: + diagnostics.push(createDiagnosticForNode2(node.type, Diagnostics.Type_satisfaction_expressions_can_only_be_used_in_TypeScript_files)); + return "skip"; + case 216 /* TypeAssertionExpression */: + Debug.fail(); + } + } + function walkArray(nodes, parent) { + if (canHaveIllegalDecorators(parent)) { + const decorator = find(parent.modifiers, isDecorator); + if (decorator) { + diagnostics.push(createDiagnosticForNode2(decorator, Diagnostics.Decorators_are_not_valid_here)); + } + } else if (canHaveDecorators(parent) && parent.modifiers) { + const decoratorIndex = findIndex(parent.modifiers, isDecorator); + if (decoratorIndex >= 0) { + if (isParameter(parent) && !options.experimentalDecorators) { + diagnostics.push(createDiagnosticForNode2(parent.modifiers[decoratorIndex], Diagnostics.Decorators_are_not_valid_here)); + } else if (isClassDeclaration(parent)) { + const exportIndex = findIndex(parent.modifiers, isExportModifier); + if (exportIndex >= 0) { + const defaultIndex = findIndex(parent.modifiers, isDefaultModifier); + if (decoratorIndex > exportIndex && defaultIndex >= 0 && decoratorIndex < defaultIndex) { + diagnostics.push(createDiagnosticForNode2(parent.modifiers[decoratorIndex], Diagnostics.Decorators_are_not_valid_here)); + } else if (exportIndex >= 0 && decoratorIndex < exportIndex) { + const trailingDecoratorIndex = findIndex(parent.modifiers, isDecorator, exportIndex); + if (trailingDecoratorIndex >= 0) { + diagnostics.push(addRelatedInfo( + createDiagnosticForNode2(parent.modifiers[trailingDecoratorIndex], Diagnostics.Decorators_may_not_appear_after_export_or_export_default_if_they_also_appear_before_export), + createDiagnosticForNode2(parent.modifiers[decoratorIndex], Diagnostics.Decorator_used_before_export_here) + )); + } + } + } + } + } + } + switch (parent.kind) { + case 263 /* ClassDeclaration */: + case 231 /* ClassExpression */: + case 174 /* MethodDeclaration */: + case 176 /* Constructor */: + case 177 /* GetAccessor */: + case 178 /* SetAccessor */: + case 218 /* FunctionExpression */: + case 262 /* FunctionDeclaration */: + case 219 /* ArrowFunction */: + if (nodes === parent.typeParameters) { + diagnostics.push(createDiagnosticForNodeArray2(nodes, Diagnostics.Type_parameter_declarations_can_only_be_used_in_TypeScript_files)); + return "skip"; + } + // falls through + case 243 /* VariableStatement */: + if (nodes === parent.modifiers) { + checkModifiers(parent.modifiers, parent.kind === 243 /* VariableStatement */); + return "skip"; + } + break; + case 172 /* PropertyDeclaration */: + if (nodes === parent.modifiers) { + for (const modifier of nodes) { + if (isModifier(modifier) && modifier.kind !== 126 /* StaticKeyword */ && modifier.kind !== 129 /* AccessorKeyword */) { + diagnostics.push(createDiagnosticForNode2(modifier, Diagnostics.The_0_modifier_can_only_be_used_in_TypeScript_files, tokenToString(modifier.kind))); + } + } + return "skip"; + } + break; + case 169 /* Parameter */: + if (nodes === parent.modifiers && some(nodes, isModifier)) { + diagnostics.push(createDiagnosticForNodeArray2(nodes, Diagnostics.Parameter_modifiers_can_only_be_used_in_TypeScript_files)); + return "skip"; + } + break; + case 213 /* CallExpression */: + case 214 /* NewExpression */: + case 233 /* ExpressionWithTypeArguments */: + case 285 /* JsxSelfClosingElement */: + case 286 /* JsxOpeningElement */: + case 215 /* TaggedTemplateExpression */: + if (nodes === parent.typeArguments) { + diagnostics.push(createDiagnosticForNodeArray2(nodes, Diagnostics.Type_arguments_can_only_be_used_in_TypeScript_files)); + return "skip"; + } + break; + } + } + function checkModifiers(modifiers, isConstValid) { + for (const modifier of modifiers) { + switch (modifier.kind) { + case 87 /* ConstKeyword */: + if (isConstValid) { + continue; + } + // to report error, + // falls through + case 125 /* PublicKeyword */: + case 123 /* PrivateKeyword */: + case 124 /* ProtectedKeyword */: + case 148 /* ReadonlyKeyword */: + case 138 /* DeclareKeyword */: + case 128 /* AbstractKeyword */: + case 164 /* OverrideKeyword */: + case 103 /* InKeyword */: + case 147 /* OutKeyword */: + diagnostics.push(createDiagnosticForNode2(modifier, Diagnostics.The_0_modifier_can_only_be_used_in_TypeScript_files, tokenToString(modifier.kind))); + break; + // These are all legal modifiers. + case 126 /* StaticKeyword */: + case 95 /* ExportKeyword */: + case 90 /* DefaultKeyword */: + case 129 /* AccessorKeyword */: + } + } + } + function createDiagnosticForNodeArray2(nodes, message, ...args) { + const start = nodes.pos; + return createFileDiagnostic(sourceFile, start, nodes.end - start, message, ...args); + } + function createDiagnosticForNode2(node, message, ...args) { + return createDiagnosticForNodeInSourceFile(sourceFile, node, message, ...args); + } + }); + } + function getDeclarationDiagnosticsWorker(sourceFile, cancellationToken) { + let result = cachedDeclarationDiagnosticsForFile == null ? void 0 : cachedDeclarationDiagnosticsForFile.get(sourceFile.path); + if (!result) { + (cachedDeclarationDiagnosticsForFile ?? (cachedDeclarationDiagnosticsForFile = /* @__PURE__ */ new Map())).set( + sourceFile.path, + result = getDeclarationDiagnosticsForFileNoCache(sourceFile, cancellationToken) + ); + } + return result; + } + function getDeclarationDiagnosticsForFileNoCache(sourceFile, cancellationToken) { + return runWithCancellationToken(() => { + const resolver = getTypeChecker().getEmitResolver(sourceFile, cancellationToken); + return getDeclarationDiagnostics(getEmitHost(noop), resolver, sourceFile) || emptyArray; + }); + } + function getDeclarationDiagnosticsForFile(sourceFile, cancellationToken) { + return sourceFile.isDeclarationFile ? emptyArray : getDeclarationDiagnosticsWorker(sourceFile, cancellationToken); + } + function getOptionsDiagnostics() { + return sortAndDeduplicateDiagnostics(concatenate( + updateAndGetProgramDiagnostics().getGlobalDiagnostics(), + getOptionsDiagnosticsOfConfigFile() + )); + } + function getOptionsDiagnosticsOfConfigFile() { + if (!options.configFile) return emptyArray; + let diagnostics = updateAndGetProgramDiagnostics().getDiagnostics(options.configFile.fileName); + forEachResolvedProjectReference2((resolvedRef) => { + diagnostics = concatenate(diagnostics, updateAndGetProgramDiagnostics().getDiagnostics(resolvedRef.sourceFile.fileName)); + }); + return diagnostics; + } + function getGlobalDiagnostics() { + return rootNames.length ? sortAndDeduplicateDiagnostics(getTypeChecker().getGlobalDiagnostics().slice()) : emptyArray; + } + function getConfigFileParsingDiagnostics2() { + return configFileParsingDiagnostics || emptyArray; + } + function processRootFile(fileName, isDefaultLib, ignoreNoDefaultLib, reason) { + processSourceFile( + normalizePath(fileName), + isDefaultLib, + ignoreNoDefaultLib, + /*packageId*/ + void 0, + reason + ); + } + function fileReferenceIsEqualTo(a, b) { + return a.fileName === b.fileName; + } + function moduleNameIsEqualTo(a, b) { + return a.kind === 80 /* Identifier */ ? b.kind === 80 /* Identifier */ && a.escapedText === b.escapedText : b.kind === 11 /* StringLiteral */ && a.text === b.text; + } + function createSyntheticImport(text, file) { + const externalHelpersModuleReference = factory.createStringLiteral(text); + const importDecl = factory.createImportDeclaration( + /*modifiers*/ + void 0, + /*importClause*/ + void 0, + externalHelpersModuleReference + ); + addInternalEmitFlags(importDecl, 2 /* NeverApplyImportHelper */); + setParent(externalHelpersModuleReference, importDecl); + setParent(importDecl, file); + externalHelpersModuleReference.flags &= ~16 /* Synthesized */; + importDecl.flags &= ~16 /* Synthesized */; + return externalHelpersModuleReference; + } + function collectExternalModuleReferences(file) { + if (file.imports) { + return; + } + const isJavaScriptFile = isSourceFileJS(file); + const isExternalModuleFile = isExternalModule(file); + let imports; + let moduleAugmentations; + let ambientModules; + if (isJavaScriptFile || !file.isDeclarationFile && (getIsolatedModules(options) || isExternalModule(file))) { + if (options.importHelpers) { + imports = [createSyntheticImport(externalHelpersModuleNameText, file)]; + } + const jsxImport = getJSXRuntimeImport(getJSXImplicitImportBase(options, file), options); + if (jsxImport) { + (imports || (imports = [])).push(createSyntheticImport(jsxImport, file)); + } + } + for (const node of file.statements) { + collectModuleReferences( + node, + /*inAmbientModule*/ + false + ); + } + if (file.flags & 4194304 /* PossiblyContainsDynamicImport */ || isJavaScriptFile) { + forEachDynamicImportOrRequireCall( + file, + /*includeTypeSpaceImports*/ + true, + /*requireStringLiteralLikeArgument*/ + true, + (node, moduleSpecifier) => { + setParentRecursive( + node, + /*incremental*/ + false + ); + imports = append(imports, moduleSpecifier); + } + ); + } + file.imports = imports || emptyArray; + file.moduleAugmentations = moduleAugmentations || emptyArray; + file.ambientModuleNames = ambientModules || emptyArray; + return; + function collectModuleReferences(node, inAmbientModule) { + if (isAnyImportOrReExport(node)) { + const moduleNameExpr = getExternalModuleName(node); + if (moduleNameExpr && isStringLiteral(moduleNameExpr) && moduleNameExpr.text && (!inAmbientModule || !isExternalModuleNameRelative(moduleNameExpr.text))) { + setParentRecursive( + node, + /*incremental*/ + false + ); + imports = append(imports, moduleNameExpr); + if (!usesUriStyleNodeCoreModules && currentNodeModulesDepth === 0 && !file.isDeclarationFile) { + if (startsWith(moduleNameExpr.text, "node:") && !exclusivelyPrefixedNodeCoreModules.has(moduleNameExpr.text)) { + usesUriStyleNodeCoreModules = true; + } else if (usesUriStyleNodeCoreModules === void 0 && unprefixedNodeCoreModules.has(moduleNameExpr.text)) { + usesUriStyleNodeCoreModules = false; + } + } + } + } else if (isModuleDeclaration(node)) { + if (isAmbientModule(node) && (inAmbientModule || hasSyntacticModifier(node, 128 /* Ambient */) || file.isDeclarationFile)) { + node.name.parent = node; + const nameText = getTextOfIdentifierOrLiteral(node.name); + if (isExternalModuleFile || inAmbientModule && !isExternalModuleNameRelative(nameText)) { + (moduleAugmentations || (moduleAugmentations = [])).push(node.name); + } else if (!inAmbientModule) { + if (file.isDeclarationFile) { + (ambientModules || (ambientModules = [])).push(nameText); + } + const body = node.body; + if (body) { + for (const statement of body.statements) { + collectModuleReferences( + statement, + /*inAmbientModule*/ + true + ); + } + } + } + } + } + } + } + function getLibFileFromReference(ref) { + var _a2; + const libFileName = getLibFileNameFromLibReference(ref); + const actualFileName = libFileName && ((_a2 = resolvedLibReferences == null ? void 0 : resolvedLibReferences.get(libFileName)) == null ? void 0 : _a2.actual); + return actualFileName !== void 0 ? getSourceFile(actualFileName) : void 0; + } + function getSourceFileFromReference(referencingFile, ref) { + return getSourceFileFromReferenceWorker(resolveTripleslashReference(ref.fileName, referencingFile.fileName), getSourceFile); + } + function getSourceFileFromReferenceWorker(fileName, getSourceFile2, fail, reason) { + if (hasExtension(fileName)) { + const canonicalFileName = host.getCanonicalFileName(fileName); + if (!options.allowNonTsExtensions && !forEach(flatten(supportedExtensionsWithJsonIfResolveJsonModule), (extension) => fileExtensionIs(canonicalFileName, extension))) { + if (fail) { + if (hasJSFileExtension(canonicalFileName)) { + fail(Diagnostics.File_0_is_a_JavaScript_file_Did_you_mean_to_enable_the_allowJs_option, fileName); + } else { + fail(Diagnostics.File_0_has_an_unsupported_extension_The_only_supported_extensions_are_1, fileName, "'" + flatten(supportedExtensions).join("', '") + "'"); + } + } + return void 0; + } + const sourceFile = getSourceFile2(fileName); + if (fail) { + if (!sourceFile) { + const redirect = getProjectReferenceRedirect(fileName); + if (redirect) { + fail(Diagnostics.Output_file_0_has_not_been_built_from_source_file_1, redirect, fileName); + } else { + fail(Diagnostics.File_0_not_found, fileName); + } + } else if (isReferencedFile(reason) && canonicalFileName === host.getCanonicalFileName(getSourceFileByPath(reason.file).fileName)) { + fail(Diagnostics.A_file_cannot_have_a_reference_to_itself); + } + } + return sourceFile; + } else { + const sourceFileNoExtension = options.allowNonTsExtensions && getSourceFile2(fileName); + if (sourceFileNoExtension) return sourceFileNoExtension; + if (fail && options.allowNonTsExtensions) { + fail(Diagnostics.File_0_not_found, fileName); + return void 0; + } + const sourceFileWithAddedExtension = forEach(supportedExtensions[0], (extension) => getSourceFile2(fileName + extension)); + if (fail && !sourceFileWithAddedExtension) fail(Diagnostics.Could_not_resolve_the_path_0_with_the_extensions_Colon_1, fileName, "'" + flatten(supportedExtensions).join("', '") + "'"); + return sourceFileWithAddedExtension; + } + } + function processSourceFile(fileName, isDefaultLib, ignoreNoDefaultLib, packageId, reason) { + getSourceFileFromReferenceWorker( + fileName, + (fileName2) => findSourceFile(fileName2, isDefaultLib, ignoreNoDefaultLib, reason, packageId), + // TODO: GH#18217 + (diagnostic, ...args) => addFilePreprocessingFileExplainingDiagnostic( + /*file*/ + void 0, + reason, + diagnostic, + args + ), + reason + ); + } + function processProjectReferenceFile(fileName, reason) { + return processSourceFile( + fileName, + /*isDefaultLib*/ + false, + /*ignoreNoDefaultLib*/ + false, + /*packageId*/ + void 0, + reason + ); + } + function reportFileNamesDifferOnlyInCasingError(fileName, existingFile, reason) { + const hasExistingReasonToReportErrorOn = !isReferencedFile(reason) && some(fileReasons.get(existingFile.path), isReferencedFile); + if (hasExistingReasonToReportErrorOn) { + addFilePreprocessingFileExplainingDiagnostic(existingFile, reason, Diagnostics.Already_included_file_name_0_differs_from_file_name_1_only_in_casing, [existingFile.fileName, fileName]); + } else { + addFilePreprocessingFileExplainingDiagnostic(existingFile, reason, Diagnostics.File_name_0_differs_from_already_included_file_name_1_only_in_casing, [fileName, existingFile.fileName]); + } + } + function createRedirectedSourceFile(redirectTarget, unredirected, fileName, path, resolvedPath, originalFileName, sourceFileOptions) { + var _a2; + const redirect = parseNodeFactory.createRedirectedSourceFile({ redirectTarget, unredirected }); + redirect.fileName = fileName; + redirect.path = path; + redirect.resolvedPath = resolvedPath; + redirect.originalFileName = originalFileName; + redirect.packageJsonLocations = ((_a2 = sourceFileOptions.packageJsonLocations) == null ? void 0 : _a2.length) ? sourceFileOptions.packageJsonLocations : void 0; + redirect.packageJsonScope = sourceFileOptions.packageJsonScope; + sourceFilesFoundSearchingNodeModules.set(path, currentNodeModulesDepth > 0); + return redirect; + } + function findSourceFile(fileName, isDefaultLib, ignoreNoDefaultLib, reason, packageId) { + var _a2, _b2; + (_a2 = tracing) == null ? void 0 : _a2.push(tracing.Phase.Program, "findSourceFile", { + fileName, + isDefaultLib: isDefaultLib || void 0, + fileIncludeKind: FileIncludeKind[reason.kind] + }); + const result = findSourceFileWorker(fileName, isDefaultLib, ignoreNoDefaultLib, reason, packageId); + (_b2 = tracing) == null ? void 0 : _b2.pop(); + return result; + } + function getCreateSourceFileOptions(fileName, moduleResolutionCache2, host2, options2) { + const result = getImpliedNodeFormatForFileWorker(getNormalizedAbsolutePath(fileName, currentDirectory), moduleResolutionCache2 == null ? void 0 : moduleResolutionCache2.getPackageJsonInfoCache(), host2, options2); + const languageVersion = getEmitScriptTarget(options2); + const setExternalModuleIndicator2 = getSetExternalModuleIndicator(options2); + return typeof result === "object" ? { ...result, languageVersion, setExternalModuleIndicator: setExternalModuleIndicator2, jsDocParsingMode: host2.jsDocParsingMode } : { languageVersion, impliedNodeFormat: result, setExternalModuleIndicator: setExternalModuleIndicator2, jsDocParsingMode: host2.jsDocParsingMode }; + } + function findSourceFileWorker(fileName, isDefaultLib, ignoreNoDefaultLib, reason, packageId) { + var _a2; + const path = toPath3(fileName); + if (useSourceOfProjectReferenceRedirect) { + let source = getSourceOfProjectReferenceRedirect(path); + if (!source && host.realpath && options.preserveSymlinks && isDeclarationFileName(fileName) && fileName.includes(nodeModulesPathPart)) { + const realPath2 = toPath3(host.realpath(fileName)); + if (realPath2 !== path) source = getSourceOfProjectReferenceRedirect(realPath2); + } + if (source) { + const file2 = isString(source) ? findSourceFile(source, isDefaultLib, ignoreNoDefaultLib, reason, packageId) : void 0; + if (file2) addFileToFilesByName( + file2, + path, + fileName, + /*redirectedPath*/ + void 0 + ); + return file2; + } + } + const originalFileName = fileName; + if (filesByName.has(path)) { + const file2 = filesByName.get(path); + const addedReason = addFileIncludeReason( + file2 || void 0, + reason, + /*checkExisting*/ + true + ); + if (file2 && addedReason && !(options.forceConsistentCasingInFileNames === false)) { + const checkedName = file2.fileName; + const isRedirect = toPath3(checkedName) !== toPath3(fileName); + if (isRedirect) { + fileName = getProjectReferenceRedirect(fileName) || fileName; + } + const checkedAbsolutePath = getNormalizedAbsolutePathWithoutRoot(checkedName, currentDirectory); + const inputAbsolutePath = getNormalizedAbsolutePathWithoutRoot(fileName, currentDirectory); + if (checkedAbsolutePath !== inputAbsolutePath) { + reportFileNamesDifferOnlyInCasingError(fileName, file2, reason); + } + } + if (file2 && sourceFilesFoundSearchingNodeModules.get(file2.path) && currentNodeModulesDepth === 0) { + sourceFilesFoundSearchingNodeModules.set(file2.path, false); + if (!options.noResolve) { + processReferencedFiles(file2, isDefaultLib); + processTypeReferenceDirectives(file2); + } + if (!options.noLib) { + processLibReferenceDirectives(file2); + } + modulesWithElidedImports.set(file2.path, false); + processImportedModules(file2); + } else if (file2 && modulesWithElidedImports.get(file2.path)) { + if (currentNodeModulesDepth < maxNodeModuleJsDepth) { + modulesWithElidedImports.set(file2.path, false); + processImportedModules(file2); + } + } + return file2 || void 0; + } + let redirectedPath; + if (!useSourceOfProjectReferenceRedirect) { + const redirectProject = getProjectReferenceRedirectProject(fileName); + if (redirectProject) { + if (redirectProject.commandLine.options.outFile) { + return void 0; + } + const redirect = getProjectReferenceOutputName(redirectProject, fileName); + fileName = redirect; + redirectedPath = toPath3(redirect); + } + } + const sourceFileOptions = getCreateSourceFileOptions(fileName, moduleResolutionCache, host, options); + const file = host.getSourceFile( + fileName, + sourceFileOptions, + (hostErrorMessage) => addFilePreprocessingFileExplainingDiagnostic( + /*file*/ + void 0, + reason, + Diagnostics.Cannot_read_file_0_Colon_1, + [fileName, hostErrorMessage] + ), + shouldCreateNewSourceFile + ); + if (packageId) { + const packageIdKey = packageIdToString(packageId); + const fileFromPackageId = packageIdToSourceFile.get(packageIdKey); + if (fileFromPackageId) { + const dupFile = createRedirectedSourceFile(fileFromPackageId, file, fileName, path, toPath3(fileName), originalFileName, sourceFileOptions); + redirectTargetsMap.add(fileFromPackageId.path, fileName); + addFileToFilesByName(dupFile, path, fileName, redirectedPath); + addFileIncludeReason( + dupFile, + reason, + /*checkExisting*/ + false + ); + sourceFileToPackageName.set(path, packageIdToPackageName(packageId)); + processingOtherFiles.push(dupFile); + return dupFile; + } else if (file) { + packageIdToSourceFile.set(packageIdKey, file); + sourceFileToPackageName.set(path, packageIdToPackageName(packageId)); + } + } + addFileToFilesByName(file, path, fileName, redirectedPath); + if (file) { + sourceFilesFoundSearchingNodeModules.set(path, currentNodeModulesDepth > 0); + file.fileName = fileName; + file.path = path; + file.resolvedPath = toPath3(fileName); + file.originalFileName = originalFileName; + file.packageJsonLocations = ((_a2 = sourceFileOptions.packageJsonLocations) == null ? void 0 : _a2.length) ? sourceFileOptions.packageJsonLocations : void 0; + file.packageJsonScope = sourceFileOptions.packageJsonScope; + addFileIncludeReason( + file, + reason, + /*checkExisting*/ + false + ); + if (host.useCaseSensitiveFileNames()) { + const pathLowerCase = toFileNameLowerCase(path); + const existingFile = filesByNameIgnoreCase.get(pathLowerCase); + if (existingFile) { + reportFileNamesDifferOnlyInCasingError(fileName, existingFile, reason); + } else { + filesByNameIgnoreCase.set(pathLowerCase, file); + } + } + skipDefaultLib = skipDefaultLib || file.hasNoDefaultLib && !ignoreNoDefaultLib; + if (!options.noResolve) { + processReferencedFiles(file, isDefaultLib); + processTypeReferenceDirectives(file); + } + if (!options.noLib) { + processLibReferenceDirectives(file); + } + processImportedModules(file); + if (isDefaultLib) { + processingDefaultLibFiles.push(file); + } else { + processingOtherFiles.push(file); + } + (filesWithReferencesProcessed ?? (filesWithReferencesProcessed = /* @__PURE__ */ new Set())).add(file.path); + } + return file; + } + function addFileIncludeReason(file, reason, checkExisting) { + if (file && (!checkExisting || !isReferencedFile(reason) || !(filesWithReferencesProcessed == null ? void 0 : filesWithReferencesProcessed.has(reason.file)))) { + fileReasons.add(file.path, reason); + return true; + } + return false; + } + function addFileToFilesByName(file, path, fileName, redirectedPath) { + if (redirectedPath) { + updateFilesByNameMap(fileName, redirectedPath, file); + updateFilesByNameMap(fileName, path, file || false); + } else { + updateFilesByNameMap(fileName, path, file); + } + } + function updateFilesByNameMap(fileName, path, file) { + filesByName.set(path, file); + if (file !== void 0) missingFileNames.delete(path); + else missingFileNames.set(path, fileName); + } + function getProjectReferenceRedirect(fileName) { + const referencedProject = getProjectReferenceRedirectProject(fileName); + return referencedProject && getProjectReferenceOutputName(referencedProject, fileName); + } + function getProjectReferenceRedirectProject(fileName) { + if (!resolvedProjectReferences || !resolvedProjectReferences.length || isDeclarationFileName(fileName) || fileExtensionIs(fileName, ".json" /* Json */)) { + return void 0; + } + return getResolvedProjectReferenceToRedirect(fileName); + } + function getProjectReferenceOutputName(referencedProject, fileName) { + const out = referencedProject.commandLine.options.outFile; + return out ? changeExtension(out, ".d.ts" /* Dts */) : getOutputDeclarationFileName(fileName, referencedProject.commandLine, !host.useCaseSensitiveFileNames()); + } + function getResolvedProjectReferenceToRedirect(fileName) { + if (mapFromFileToProjectReferenceRedirects === void 0) { + mapFromFileToProjectReferenceRedirects = /* @__PURE__ */ new Map(); + forEachResolvedProjectReference2((referencedProject) => { + if (toPath3(options.configFilePath) !== referencedProject.sourceFile.path) { + referencedProject.commandLine.fileNames.forEach((f) => mapFromFileToProjectReferenceRedirects.set(toPath3(f), referencedProject.sourceFile.path)); + } + }); + } + const referencedProjectPath = mapFromFileToProjectReferenceRedirects.get(toPath3(fileName)); + return referencedProjectPath && getResolvedProjectReferenceByPath(referencedProjectPath); + } + function forEachResolvedProjectReference2(cb) { + return forEachResolvedProjectReference(resolvedProjectReferences, cb); + } + function getSourceOfProjectReferenceRedirect(path) { + if (!isDeclarationFileName(path)) return void 0; + if (mapFromToProjectReferenceRedirectSource === void 0) { + mapFromToProjectReferenceRedirectSource = /* @__PURE__ */ new Map(); + forEachResolvedProjectReference2((resolvedRef) => { + const out = resolvedRef.commandLine.options.outFile; + if (out) { + const outputDts = changeExtension(out, ".d.ts" /* Dts */); + mapFromToProjectReferenceRedirectSource.set(toPath3(outputDts), true); + } else { + const getCommonSourceDirectory3 = memoize(() => getCommonSourceDirectoryOfConfig(resolvedRef.commandLine, !host.useCaseSensitiveFileNames())); + forEach(resolvedRef.commandLine.fileNames, (fileName) => { + if (!isDeclarationFileName(fileName) && !fileExtensionIs(fileName, ".json" /* Json */)) { + const outputDts = getOutputDeclarationFileName(fileName, resolvedRef.commandLine, !host.useCaseSensitiveFileNames(), getCommonSourceDirectory3); + mapFromToProjectReferenceRedirectSource.set(toPath3(outputDts), fileName); + } + }); + } + }); + } + return mapFromToProjectReferenceRedirectSource.get(path); + } + function isSourceOfProjectReferenceRedirect(fileName) { + return useSourceOfProjectReferenceRedirect && !!getResolvedProjectReferenceToRedirect(fileName); + } + function getResolvedProjectReferenceByPath(projectReferencePath) { + if (!projectReferenceRedirects) { + return void 0; + } + return projectReferenceRedirects.get(projectReferencePath) || void 0; + } + function processReferencedFiles(file, isDefaultLib) { + forEach(file.referencedFiles, (ref, index) => { + processSourceFile( + resolveTripleslashReference(ref.fileName, file.fileName), + isDefaultLib, + /*ignoreNoDefaultLib*/ + false, + /*packageId*/ + void 0, + { kind: 4 /* ReferenceFile */, file: file.path, index } + ); + }); + } + function processTypeReferenceDirectives(file) { + const typeDirectives = file.typeReferenceDirectives; + if (!typeDirectives.length) return; + const resolutions = (resolvedTypeReferenceDirectiveNamesProcessing == null ? void 0 : resolvedTypeReferenceDirectiveNamesProcessing.get(file.path)) || resolveTypeReferenceDirectiveNamesReusingOldState(typeDirectives, file); + const resolutionsInFile = createModeAwareCache(); + (resolvedTypeReferenceDirectiveNames ?? (resolvedTypeReferenceDirectiveNames = /* @__PURE__ */ new Map())).set(file.path, resolutionsInFile); + for (let index = 0; index < typeDirectives.length; index++) { + const ref = file.typeReferenceDirectives[index]; + const resolvedTypeReferenceDirective = resolutions[index]; + const fileName = ref.fileName; + const mode = getModeForTypeReferenceDirectiveInFile(ref, file); + resolutionsInFile.set(fileName, mode, resolvedTypeReferenceDirective); + processTypeReferenceDirective(fileName, mode, resolvedTypeReferenceDirective, { kind: 5 /* TypeReferenceDirective */, file: file.path, index }); + } + } + function getCompilerOptionsForFile(file) { + var _a2; + return ((_a2 = getRedirectReferenceForResolution(file)) == null ? void 0 : _a2.commandLine.options) || options; + } + function processTypeReferenceDirective(typeReferenceDirective, mode, resolution, reason) { + var _a2, _b2; + (_a2 = tracing) == null ? void 0 : _a2.push(tracing.Phase.Program, "processTypeReferenceDirective", { directive: typeReferenceDirective, hasResolved: !!resolution.resolvedTypeReferenceDirective, refKind: reason.kind, refPath: isReferencedFile(reason) ? reason.file : void 0 }); + processTypeReferenceDirectiveWorker(typeReferenceDirective, mode, resolution, reason); + (_b2 = tracing) == null ? void 0 : _b2.pop(); + } + function processTypeReferenceDirectiveWorker(typeReferenceDirective, mode, resolution, reason) { + addResolutionDiagnostics(resolution); + const { resolvedTypeReferenceDirective } = resolution; + if (resolvedTypeReferenceDirective) { + if (resolvedTypeReferenceDirective.isExternalLibraryImport) currentNodeModulesDepth++; + processSourceFile( + resolvedTypeReferenceDirective.resolvedFileName, + /*isDefaultLib*/ + false, + /*ignoreNoDefaultLib*/ + false, + resolvedTypeReferenceDirective.packageId, + reason + ); + if (resolvedTypeReferenceDirective.isExternalLibraryImport) currentNodeModulesDepth--; + } else { + addFilePreprocessingFileExplainingDiagnostic( + /*file*/ + void 0, + reason, + Diagnostics.Cannot_find_type_definition_file_for_0, + [typeReferenceDirective] + ); + } + } + function pathForLibFile(libFileName) { + const existing = resolvedLibReferences == null ? void 0 : resolvedLibReferences.get(libFileName); + if (existing) return existing.actual; + const result = pathForLibFileWorker(libFileName); + (resolvedLibReferences ?? (resolvedLibReferences = /* @__PURE__ */ new Map())).set(libFileName, result); + return result.actual; + } + function pathForLibFileWorker(libFileName) { + var _a2, _b2, _c2, _d2, _e2; + const existing = resolvedLibProcessing == null ? void 0 : resolvedLibProcessing.get(libFileName); + if (existing) return existing; + if (structureIsReused !== 0 /* Not */ && oldProgram && !hasInvalidatedLibResolutions(libFileName)) { + const oldResolution = (_a2 = oldProgram.resolvedLibReferences) == null ? void 0 : _a2.get(libFileName); + if (oldResolution) { + if (oldResolution.resolution && isTraceEnabled(options, host)) { + const libraryName2 = getLibraryNameFromLibFileName(libFileName); + const resolveFrom2 = getInferredLibraryNameResolveFrom(options, currentDirectory, libFileName); + trace( + host, + oldResolution.resolution.resolvedModule ? oldResolution.resolution.resolvedModule.packageId ? Diagnostics.Reusing_resolution_of_module_0_from_1_of_old_program_it_was_successfully_resolved_to_2_with_Package_ID_3 : Diagnostics.Reusing_resolution_of_module_0_from_1_of_old_program_it_was_successfully_resolved_to_2 : Diagnostics.Reusing_resolution_of_module_0_from_1_of_old_program_it_was_not_resolved, + libraryName2, + getNormalizedAbsolutePath(resolveFrom2, currentDirectory), + (_b2 = oldResolution.resolution.resolvedModule) == null ? void 0 : _b2.resolvedFileName, + ((_c2 = oldResolution.resolution.resolvedModule) == null ? void 0 : _c2.packageId) && packageIdToString(oldResolution.resolution.resolvedModule.packageId) + ); + } + (resolvedLibProcessing ?? (resolvedLibProcessing = /* @__PURE__ */ new Map())).set(libFileName, oldResolution); + return oldResolution; + } + } + const libraryName = getLibraryNameFromLibFileName(libFileName); + const resolveFrom = getInferredLibraryNameResolveFrom(options, currentDirectory, libFileName); + (_d2 = tracing) == null ? void 0 : _d2.push(tracing.Phase.Program, "resolveLibrary", { resolveFrom }); + mark("beforeResolveLibrary"); + const resolution = actualResolveLibrary(libraryName, resolveFrom, options, libFileName); + mark("afterResolveLibrary"); + measure("ResolveLibrary", "beforeResolveLibrary", "afterResolveLibrary"); + (_e2 = tracing) == null ? void 0 : _e2.pop(); + const result = { + resolution, + actual: resolution.resolvedModule ? resolution.resolvedModule.resolvedFileName : combinePaths(defaultLibraryPath, libFileName) + }; + (resolvedLibProcessing ?? (resolvedLibProcessing = /* @__PURE__ */ new Map())).set(libFileName, result); + return result; + } + function processLibReferenceDirectives(file) { + forEach(file.libReferenceDirectives, (libReference, index) => { + const libFileName = getLibFileNameFromLibReference(libReference); + if (libFileName) { + processRootFile( + pathForLibFile(libFileName), + /*isDefaultLib*/ + true, + /*ignoreNoDefaultLib*/ + true, + { kind: 7 /* LibReferenceDirective */, file: file.path, index } + ); + } else { + (fileProcessingDiagnostics || (fileProcessingDiagnostics = [])).push({ + kind: 0 /* FilePreprocessingLibReferenceDiagnostic */, + reason: { kind: 7 /* LibReferenceDirective */, file: file.path, index } + }); + } + }); + } + function getCanonicalFileName(fileName) { + return host.getCanonicalFileName(fileName); + } + function processImportedModules(file) { + collectExternalModuleReferences(file); + if (file.imports.length || file.moduleAugmentations.length) { + const moduleNames = getModuleNames(file); + const resolutions = (resolvedModulesProcessing == null ? void 0 : resolvedModulesProcessing.get(file.path)) || resolveModuleNamesReusingOldState(moduleNames, file); + Debug.assert(resolutions.length === moduleNames.length); + const optionsForFile = getCompilerOptionsForFile(file); + const resolutionsInFile = createModeAwareCache(); + (resolvedModules ?? (resolvedModules = /* @__PURE__ */ new Map())).set(file.path, resolutionsInFile); + for (let index = 0; index < moduleNames.length; index++) { + const resolution = resolutions[index].resolvedModule; + const moduleName = moduleNames[index].text; + const mode = getModeForUsageLocationWorker(file, moduleNames[index], optionsForFile); + resolutionsInFile.set(moduleName, mode, resolutions[index]); + addResolutionDiagnosticsFromResolutionOrCache(file, moduleName, resolutions[index], mode); + if (!resolution) { + continue; + } + const isFromNodeModulesSearch = resolution.isExternalLibraryImport; + const isJsFile = !resolutionExtensionIsTSOrJson(resolution.extension) && !getProjectReferenceRedirectProject(resolution.resolvedFileName); + const isJsFileFromNodeModules = isFromNodeModulesSearch && isJsFile && (!resolution.originalPath || pathContainsNodeModules(resolution.resolvedFileName)); + const resolvedFileName = resolution.resolvedFileName; + if (isFromNodeModulesSearch) { + currentNodeModulesDepth++; + } + const elideImport = isJsFileFromNodeModules && currentNodeModulesDepth > maxNodeModuleJsDepth; + const shouldAddFile = resolvedFileName && !getResolutionDiagnostic(optionsForFile, resolution, file) && !optionsForFile.noResolve && index < file.imports.length && !elideImport && !(isJsFile && !getAllowJSCompilerOption(optionsForFile)) && (isInJSFile(file.imports[index]) || !(file.imports[index].flags & 16777216 /* JSDoc */)); + if (elideImport) { + modulesWithElidedImports.set(file.path, true); + } else if (shouldAddFile) { + findSourceFile( + resolvedFileName, + /*isDefaultLib*/ + false, + /*ignoreNoDefaultLib*/ + false, + { kind: 3 /* Import */, file: file.path, index }, + resolution.packageId + ); + } + if (isFromNodeModulesSearch) { + currentNodeModulesDepth--; + } + } + } + } + function checkSourceFilesBelongToPath(sourceFiles, rootDirectory) { + let allFilesBelongToPath = true; + const absoluteRootDirectoryPath = host.getCanonicalFileName(getNormalizedAbsolutePath(rootDirectory, currentDirectory)); + for (const sourceFile of sourceFiles) { + if (!sourceFile.isDeclarationFile) { + const absoluteSourceFilePath = host.getCanonicalFileName(getNormalizedAbsolutePath(sourceFile.fileName, currentDirectory)); + if (absoluteSourceFilePath.indexOf(absoluteRootDirectoryPath) !== 0) { + addLazyProgramDiagnosticExplainingFile( + sourceFile, + Diagnostics.File_0_is_not_under_rootDir_1_rootDir_is_expected_to_contain_all_source_files, + [sourceFile.fileName, rootDirectory] + ); + allFilesBelongToPath = false; + } + } + } + return allFilesBelongToPath; + } + function parseProjectReferenceConfigFile(ref) { + if (!projectReferenceRedirects) { + projectReferenceRedirects = /* @__PURE__ */ new Map(); + } + const refPath = resolveProjectReferencePath(ref); + const sourceFilePath = toPath3(refPath); + const fromCache = projectReferenceRedirects.get(sourceFilePath); + if (fromCache !== void 0) { + return fromCache || void 0; + } + let commandLine; + let sourceFile; + if (host.getParsedCommandLine) { + commandLine = host.getParsedCommandLine(refPath); + if (!commandLine) { + addFileToFilesByName( + /*file*/ + void 0, + sourceFilePath, + refPath, + /*redirectedPath*/ + void 0 + ); + projectReferenceRedirects.set(sourceFilePath, false); + return void 0; + } + sourceFile = Debug.checkDefined(commandLine.options.configFile); + Debug.assert(!sourceFile.path || sourceFile.path === sourceFilePath); + addFileToFilesByName( + sourceFile, + sourceFilePath, + refPath, + /*redirectedPath*/ + void 0 + ); + } else { + const basePath = getNormalizedAbsolutePath(getDirectoryPath(refPath), currentDirectory); + sourceFile = host.getSourceFile(refPath, 100 /* JSON */); + addFileToFilesByName( + sourceFile, + sourceFilePath, + refPath, + /*redirectedPath*/ + void 0 + ); + if (sourceFile === void 0) { + projectReferenceRedirects.set(sourceFilePath, false); + return void 0; + } + commandLine = parseJsonSourceFileConfigFileContent( + sourceFile, + configParsingHost, + basePath, + /*existingOptions*/ + void 0, + refPath + ); + } + sourceFile.fileName = refPath; + sourceFile.path = sourceFilePath; + sourceFile.resolvedPath = sourceFilePath; + sourceFile.originalFileName = refPath; + const resolvedRef = { commandLine, sourceFile }; + projectReferenceRedirects.set(sourceFilePath, resolvedRef); + if (commandLine.projectReferences) { + resolvedRef.references = commandLine.projectReferences.map(parseProjectReferenceConfigFile); + } + return resolvedRef; + } + function verifyCompilerOptions() { + if (options.strictPropertyInitialization && !getStrictOptionValue(options, "strictNullChecks")) { + createDiagnosticForOptionName(Diagnostics.Option_0_cannot_be_specified_without_specifying_option_1, "strictPropertyInitialization", "strictNullChecks"); + } + if (options.exactOptionalPropertyTypes && !getStrictOptionValue(options, "strictNullChecks")) { + createDiagnosticForOptionName(Diagnostics.Option_0_cannot_be_specified_without_specifying_option_1, "exactOptionalPropertyTypes", "strictNullChecks"); + } + if (options.isolatedModules || options.verbatimModuleSyntax) { + if (options.outFile) { + createDiagnosticForOptionName(Diagnostics.Option_0_cannot_be_specified_with_option_1, "outFile", options.verbatimModuleSyntax ? "verbatimModuleSyntax" : "isolatedModules"); + } + } + if (options.isolatedDeclarations) { + if (getAllowJSCompilerOption(options)) { + createDiagnosticForOptionName(Diagnostics.Option_0_cannot_be_specified_with_option_1, "allowJs", "isolatedDeclarations"); + } + if (!getEmitDeclarations(options)) { + createDiagnosticForOptionName(Diagnostics.Option_0_cannot_be_specified_without_specifying_option_1_or_option_2, "isolatedDeclarations", "declaration", "composite"); + } + } + if (options.inlineSourceMap) { + if (options.sourceMap) { + createDiagnosticForOptionName(Diagnostics.Option_0_cannot_be_specified_with_option_1, "sourceMap", "inlineSourceMap"); + } + if (options.mapRoot) { + createDiagnosticForOptionName(Diagnostics.Option_0_cannot_be_specified_with_option_1, "mapRoot", "inlineSourceMap"); + } + } + if (options.composite) { + if (options.declaration === false) { + createDiagnosticForOptionName(Diagnostics.Composite_projects_may_not_disable_declaration_emit, "declaration"); + } + if (options.incremental === false) { + createDiagnosticForOptionName(Diagnostics.Composite_projects_may_not_disable_incremental_compilation, "declaration"); + } + } + const outputFile = options.outFile; + if (!options.tsBuildInfoFile && options.incremental && !outputFile && !options.configFilePath) { + programDiagnostics.add(createCompilerDiagnostic(Diagnostics.Option_incremental_can_only_be_specified_using_tsconfig_emitting_to_single_file_or_when_option_tsBuildInfoFile_is_specified)); + } + verifyDeprecatedCompilerOptions(); + verifyProjectReferences(); + if (options.composite) { + const rootPaths = new Set(rootNames.map(toPath3)); + for (const file of files) { + if (sourceFileMayBeEmitted(file, program) && !rootPaths.has(file.path)) { + addLazyProgramDiagnosticExplainingFile( + file, + Diagnostics.File_0_is_not_listed_within_the_file_list_of_project_1_Projects_must_list_all_files_or_use_an_include_pattern, + [file.fileName, options.configFilePath || ""] + ); + } + } + } + if (options.paths) { + for (const key in options.paths) { + if (!hasProperty(options.paths, key)) { + continue; + } + if (!hasZeroOrOneAsteriskCharacter(key)) { + createDiagnosticForOptionPaths( + /*onKey*/ + true, + key, + Diagnostics.Pattern_0_can_have_at_most_one_Asterisk_character, + key + ); + } + if (isArray(options.paths[key])) { + const len = options.paths[key].length; + if (len === 0) { + createDiagnosticForOptionPaths( + /*onKey*/ + false, + key, + Diagnostics.Substitutions_for_pattern_0_shouldn_t_be_an_empty_array, + key + ); + } + for (let i = 0; i < len; i++) { + const subst = options.paths[key][i]; + const typeOfSubst = typeof subst; + if (typeOfSubst === "string") { + if (!hasZeroOrOneAsteriskCharacter(subst)) { + createDiagnosticForOptionPathKeyValue(key, i, Diagnostics.Substitution_0_in_pattern_1_can_have_at_most_one_Asterisk_character, subst, key); + } + if (!options.baseUrl && !pathIsRelative(subst) && !pathIsAbsolute(subst)) { + createDiagnosticForOptionPathKeyValue(key, i, Diagnostics.Non_relative_paths_are_not_allowed_when_baseUrl_is_not_set_Did_you_forget_a_leading_Slash); + } + } else { + createDiagnosticForOptionPathKeyValue(key, i, Diagnostics.Substitution_0_for_pattern_1_has_incorrect_type_expected_string_got_2, subst, key, typeOfSubst); + } + } + } else { + createDiagnosticForOptionPaths( + /*onKey*/ + false, + key, + Diagnostics.Substitutions_for_pattern_0_should_be_an_array, + key + ); + } + } + } + if (!options.sourceMap && !options.inlineSourceMap) { + if (options.inlineSources) { + createDiagnosticForOptionName(Diagnostics.Option_0_can_only_be_used_when_either_option_inlineSourceMap_or_option_sourceMap_is_provided, "inlineSources"); + } + if (options.sourceRoot) { + createDiagnosticForOptionName(Diagnostics.Option_0_can_only_be_used_when_either_option_inlineSourceMap_or_option_sourceMap_is_provided, "sourceRoot"); + } + } + if (options.mapRoot && !(options.sourceMap || options.declarationMap)) { + createDiagnosticForOptionName(Diagnostics.Option_0_cannot_be_specified_without_specifying_option_1_or_option_2, "mapRoot", "sourceMap", "declarationMap"); + } + if (options.declarationDir) { + if (!getEmitDeclarations(options)) { + createDiagnosticForOptionName(Diagnostics.Option_0_cannot_be_specified_without_specifying_option_1_or_option_2, "declarationDir", "declaration", "composite"); + } + if (outputFile) { + createDiagnosticForOptionName(Diagnostics.Option_0_cannot_be_specified_with_option_1, "declarationDir", "outFile"); + } + } + if (options.declarationMap && !getEmitDeclarations(options)) { + createDiagnosticForOptionName(Diagnostics.Option_0_cannot_be_specified_without_specifying_option_1_or_option_2, "declarationMap", "declaration", "composite"); + } + if (options.lib && options.noLib) { + createDiagnosticForOptionName(Diagnostics.Option_0_cannot_be_specified_with_option_1, "lib", "noLib"); + } + const languageVersion = getEmitScriptTarget(options); + const firstNonAmbientExternalModuleSourceFile = find(files, (f) => isExternalModule(f) && !f.isDeclarationFile); + if (options.isolatedModules || options.verbatimModuleSyntax) { + if (options.module === 0 /* None */ && languageVersion < 2 /* ES2015 */ && options.isolatedModules) { + createDiagnosticForOptionName(Diagnostics.Option_isolatedModules_can_only_be_used_when_either_option_module_is_provided_or_option_target_is_ES2015_or_higher, "isolatedModules", "target"); + } + if (options.preserveConstEnums === false) { + createDiagnosticForOptionName(Diagnostics.Option_preserveConstEnums_cannot_be_disabled_when_0_is_enabled, options.verbatimModuleSyntax ? "verbatimModuleSyntax" : "isolatedModules", "preserveConstEnums"); + } + } else if (firstNonAmbientExternalModuleSourceFile && languageVersion < 2 /* ES2015 */ && options.module === 0 /* None */) { + const span = getErrorSpanForNode(firstNonAmbientExternalModuleSourceFile, typeof firstNonAmbientExternalModuleSourceFile.externalModuleIndicator === "boolean" ? firstNonAmbientExternalModuleSourceFile : firstNonAmbientExternalModuleSourceFile.externalModuleIndicator); + programDiagnostics.add(createFileDiagnostic(firstNonAmbientExternalModuleSourceFile, span.start, span.length, Diagnostics.Cannot_use_imports_exports_or_module_augmentations_when_module_is_none)); + } + if (outputFile && !options.emitDeclarationOnly) { + if (options.module && !(options.module === 2 /* AMD */ || options.module === 4 /* System */)) { + createDiagnosticForOptionName(Diagnostics.Only_amd_and_system_modules_are_supported_alongside_0, "outFile", "module"); + } else if (options.module === void 0 && firstNonAmbientExternalModuleSourceFile) { + const span = getErrorSpanForNode(firstNonAmbientExternalModuleSourceFile, typeof firstNonAmbientExternalModuleSourceFile.externalModuleIndicator === "boolean" ? firstNonAmbientExternalModuleSourceFile : firstNonAmbientExternalModuleSourceFile.externalModuleIndicator); + programDiagnostics.add(createFileDiagnostic(firstNonAmbientExternalModuleSourceFile, span.start, span.length, Diagnostics.Cannot_compile_modules_using_option_0_unless_the_module_flag_is_amd_or_system, "outFile")); + } + } + if (getResolveJsonModule(options)) { + if (getEmitModuleResolutionKind(options) === 1 /* Classic */) { + createDiagnosticForOptionName(Diagnostics.Option_resolveJsonModule_cannot_be_specified_when_moduleResolution_is_set_to_classic, "resolveJsonModule"); + } else if (!hasJsonModuleEmitEnabled(options)) { + createDiagnosticForOptionName(Diagnostics.Option_resolveJsonModule_cannot_be_specified_when_module_is_set_to_none_system_or_umd, "resolveJsonModule", "module"); + } + } + if (options.outDir || // there is --outDir specified + options.rootDir || // there is --rootDir specified + options.sourceRoot || // there is --sourceRoot specified + options.mapRoot || // there is --mapRoot specified + getEmitDeclarations(options) && options.declarationDir) { + const dir = getCommonSourceDirectory2(); + if (options.outDir && dir === "" && files.some((file) => getRootLength(file.fileName) > 1)) { + createDiagnosticForOptionName(Diagnostics.Cannot_find_the_common_subdirectory_path_for_the_input_files, "outDir"); + } + } + if (options.checkJs && !getAllowJSCompilerOption(options)) { + createDiagnosticForOptionName(Diagnostics.Option_0_cannot_be_specified_without_specifying_option_1, "checkJs", "allowJs"); + } + if (options.emitDeclarationOnly) { + if (!getEmitDeclarations(options)) { + createDiagnosticForOptionName(Diagnostics.Option_0_cannot_be_specified_without_specifying_option_1_or_option_2, "emitDeclarationOnly", "declaration", "composite"); + } + } + if (options.emitDecoratorMetadata && !options.experimentalDecorators) { + createDiagnosticForOptionName(Diagnostics.Option_0_cannot_be_specified_without_specifying_option_1, "emitDecoratorMetadata", "experimentalDecorators"); + } + if (options.jsxFactory) { + if (options.reactNamespace) { + createDiagnosticForOptionName(Diagnostics.Option_0_cannot_be_specified_with_option_1, "reactNamespace", "jsxFactory"); + } + if (options.jsx === 4 /* ReactJSX */ || options.jsx === 5 /* ReactJSXDev */) { + createDiagnosticForOptionName(Diagnostics.Option_0_cannot_be_specified_when_option_jsx_is_1, "jsxFactory", inverseJsxOptionMap.get("" + options.jsx)); + } + if (!parseIsolatedEntityName(options.jsxFactory, languageVersion)) { + createOptionValueDiagnostic("jsxFactory", Diagnostics.Invalid_value_for_jsxFactory_0_is_not_a_valid_identifier_or_qualified_name, options.jsxFactory); + } + } else if (options.reactNamespace && !isIdentifierText(options.reactNamespace, languageVersion)) { + createOptionValueDiagnostic("reactNamespace", Diagnostics.Invalid_value_for_reactNamespace_0_is_not_a_valid_identifier, options.reactNamespace); + } + if (options.jsxFragmentFactory) { + if (!options.jsxFactory) { + createDiagnosticForOptionName(Diagnostics.Option_0_cannot_be_specified_without_specifying_option_1, "jsxFragmentFactory", "jsxFactory"); + } + if (options.jsx === 4 /* ReactJSX */ || options.jsx === 5 /* ReactJSXDev */) { + createDiagnosticForOptionName(Diagnostics.Option_0_cannot_be_specified_when_option_jsx_is_1, "jsxFragmentFactory", inverseJsxOptionMap.get("" + options.jsx)); + } + if (!parseIsolatedEntityName(options.jsxFragmentFactory, languageVersion)) { + createOptionValueDiagnostic("jsxFragmentFactory", Diagnostics.Invalid_value_for_jsxFragmentFactory_0_is_not_a_valid_identifier_or_qualified_name, options.jsxFragmentFactory); + } + } + if (options.reactNamespace) { + if (options.jsx === 4 /* ReactJSX */ || options.jsx === 5 /* ReactJSXDev */) { + createDiagnosticForOptionName(Diagnostics.Option_0_cannot_be_specified_when_option_jsx_is_1, "reactNamespace", inverseJsxOptionMap.get("" + options.jsx)); + } + } + if (options.jsxImportSource) { + if (options.jsx === 2 /* React */) { + createDiagnosticForOptionName(Diagnostics.Option_0_cannot_be_specified_when_option_jsx_is_1, "jsxImportSource", inverseJsxOptionMap.get("" + options.jsx)); + } + } + const moduleKind = getEmitModuleKind(options); + if (options.verbatimModuleSyntax) { + if (moduleKind === 2 /* AMD */ || moduleKind === 3 /* UMD */ || moduleKind === 4 /* System */) { + createDiagnosticForOptionName(Diagnostics.Option_verbatimModuleSyntax_cannot_be_used_when_module_is_set_to_UMD_AMD_or_System, "verbatimModuleSyntax"); + } + } + if (options.allowImportingTsExtensions && !(options.noEmit || options.emitDeclarationOnly || options.rewriteRelativeImportExtensions)) { + createOptionValueDiagnostic("allowImportingTsExtensions", Diagnostics.Option_allowImportingTsExtensions_can_only_be_used_when_either_noEmit_or_emitDeclarationOnly_is_set); + } + const moduleResolution = getEmitModuleResolutionKind(options); + if (options.resolvePackageJsonExports && !moduleResolutionSupportsPackageJsonExportsAndImports(moduleResolution)) { + createDiagnosticForOptionName(Diagnostics.Option_0_can_only_be_used_when_moduleResolution_is_set_to_node16_nodenext_or_bundler, "resolvePackageJsonExports"); + } + if (options.resolvePackageJsonImports && !moduleResolutionSupportsPackageJsonExportsAndImports(moduleResolution)) { + createDiagnosticForOptionName(Diagnostics.Option_0_can_only_be_used_when_moduleResolution_is_set_to_node16_nodenext_or_bundler, "resolvePackageJsonImports"); + } + if (options.customConditions && !moduleResolutionSupportsPackageJsonExportsAndImports(moduleResolution)) { + createDiagnosticForOptionName(Diagnostics.Option_0_can_only_be_used_when_moduleResolution_is_set_to_node16_nodenext_or_bundler, "customConditions"); + } + if (moduleResolution === 100 /* Bundler */ && !emitModuleKindIsNonNodeESM(moduleKind) && moduleKind !== 200 /* Preserve */) { + createOptionValueDiagnostic("moduleResolution", Diagnostics.Option_0_can_only_be_used_when_module_is_set_to_preserve_or_to_es2015_or_later, "bundler"); + } + if (ModuleKind[moduleKind] && (100 /* Node16 */ <= moduleKind && moduleKind <= 199 /* NodeNext */) && !(3 /* Node16 */ <= moduleResolution && moduleResolution <= 99 /* NodeNext */)) { + const moduleKindName = ModuleKind[moduleKind]; + createOptionValueDiagnostic("moduleResolution", Diagnostics.Option_moduleResolution_must_be_set_to_0_or_left_unspecified_when_option_module_is_set_to_1, moduleKindName, moduleKindName); + } else if (ModuleResolutionKind[moduleResolution] && (3 /* Node16 */ <= moduleResolution && moduleResolution <= 99 /* NodeNext */) && !(100 /* Node16 */ <= moduleKind && moduleKind <= 199 /* NodeNext */)) { + const moduleResolutionName = ModuleResolutionKind[moduleResolution]; + createOptionValueDiagnostic("module", Diagnostics.Option_module_must_be_set_to_0_when_option_moduleResolution_is_set_to_1, moduleResolutionName, moduleResolutionName); + } + if (!options.noEmit && !options.suppressOutputPathCheck) { + const emitHost = getEmitHost(); + const emitFilesSeen = /* @__PURE__ */ new Set(); + forEachEmittedFile(emitHost, (emitFileNames) => { + if (!options.emitDeclarationOnly) { + verifyEmitFilePath(emitFileNames.jsFilePath, emitFilesSeen); + } + verifyEmitFilePath(emitFileNames.declarationFilePath, emitFilesSeen); + }); + } + function verifyEmitFilePath(emitFileName, emitFilesSeen) { + if (emitFileName) { + const emitFilePath = toPath3(emitFileName); + if (filesByName.has(emitFilePath)) { + let chain; + if (!options.configFilePath) { + chain = chainDiagnosticMessages( + /*details*/ + void 0, + 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 + ); + } + chain = chainDiagnosticMessages(chain, Diagnostics.Cannot_write_file_0_because_it_would_overwrite_input_file, emitFileName); + blockEmittingOfFile(emitFileName, createCompilerDiagnosticFromMessageChain(chain)); + } + const emitFileKey = !host.useCaseSensitiveFileNames() ? toFileNameLowerCase(emitFilePath) : emitFilePath; + if (emitFilesSeen.has(emitFileKey)) { + blockEmittingOfFile(emitFileName, createCompilerDiagnostic(Diagnostics.Cannot_write_file_0_because_it_would_be_overwritten_by_multiple_input_files, emitFileName)); + } else { + emitFilesSeen.add(emitFileKey); + } + } + } + } + function getIgnoreDeprecationsVersion() { + const ignoreDeprecations = options.ignoreDeprecations; + if (ignoreDeprecations) { + if (ignoreDeprecations === "5.0") { + return new Version(ignoreDeprecations); + } + reportInvalidIgnoreDeprecations(); + } + return Version.zero; + } + function checkDeprecations(deprecatedIn, removedIn, createDiagnostic, fn) { + const deprecatedInVersion = new Version(deprecatedIn); + const removedInVersion = new Version(removedIn); + const typescriptVersion = new Version(typeScriptVersion2 || versionMajorMinor); + const ignoreDeprecationsVersion = getIgnoreDeprecationsVersion(); + const mustBeRemoved = !(removedInVersion.compareTo(typescriptVersion) === 1 /* GreaterThan */); + const canBeSilenced = !mustBeRemoved && ignoreDeprecationsVersion.compareTo(deprecatedInVersion) === -1 /* LessThan */; + if (mustBeRemoved || canBeSilenced) { + fn((name, value, useInstead) => { + if (mustBeRemoved) { + if (value === void 0) { + createDiagnostic(name, value, useInstead, Diagnostics.Option_0_has_been_removed_Please_remove_it_from_your_configuration, name); + } else { + createDiagnostic(name, value, useInstead, Diagnostics.Option_0_1_has_been_removed_Please_remove_it_from_your_configuration, name, value); + } + } else { + if (value === void 0) { + createDiagnostic(name, value, useInstead, Diagnostics.Option_0_is_deprecated_and_will_stop_functioning_in_TypeScript_1_Specify_compilerOption_ignoreDeprecations_Colon_2_to_silence_this_error, name, removedIn, deprecatedIn); + } else { + createDiagnostic(name, value, useInstead, Diagnostics.Option_0_1_is_deprecated_and_will_stop_functioning_in_TypeScript_2_Specify_compilerOption_ignoreDeprecations_Colon_3_to_silence_this_error, name, value, removedIn, deprecatedIn); + } + } + }); + } + } + function verifyDeprecatedCompilerOptions() { + function createDiagnostic(name, value, useInstead, message, ...args) { + if (useInstead) { + const details = chainDiagnosticMessages( + /*details*/ + void 0, + Diagnostics.Use_0_instead, + useInstead + ); + const chain = chainDiagnosticMessages(details, message, ...args); + createDiagnosticForOption( + /*onKey*/ + !value, + name, + /*option2*/ + void 0, + chain + ); + } else { + createDiagnosticForOption( + /*onKey*/ + !value, + name, + /*option2*/ + void 0, + message, + ...args + ); + } + } + checkDeprecations("5.0", "5.5", createDiagnostic, (createDeprecatedDiagnostic) => { + if (options.target === 0 /* ES3 */) { + createDeprecatedDiagnostic("target", "ES3"); + } + if (options.noImplicitUseStrict) { + createDeprecatedDiagnostic("noImplicitUseStrict"); + } + if (options.keyofStringsOnly) { + createDeprecatedDiagnostic("keyofStringsOnly"); + } + if (options.suppressExcessPropertyErrors) { + createDeprecatedDiagnostic("suppressExcessPropertyErrors"); + } + if (options.suppressImplicitAnyIndexErrors) { + createDeprecatedDiagnostic("suppressImplicitAnyIndexErrors"); + } + if (options.noStrictGenericChecks) { + createDeprecatedDiagnostic("noStrictGenericChecks"); + } + if (options.charset) { + createDeprecatedDiagnostic("charset"); + } + if (options.out) { + createDeprecatedDiagnostic( + "out", + /*value*/ + void 0, + "outFile" + ); + } + if (options.importsNotUsedAsValues) { + createDeprecatedDiagnostic( + "importsNotUsedAsValues", + /*value*/ + void 0, + "verbatimModuleSyntax" + ); + } + if (options.preserveValueImports) { + createDeprecatedDiagnostic( + "preserveValueImports", + /*value*/ + void 0, + "verbatimModuleSyntax" + ); + } + }); + } + function verifyDeprecatedProjectReference(ref, parentFile, index) { + function createDiagnostic(_name, _value, _useInstead, message, ...args) { + createDiagnosticForReference(parentFile, index, message, ...args); + } + checkDeprecations("5.0", "5.5", createDiagnostic, (createDeprecatedDiagnostic) => { + if (ref.prepend) { + createDeprecatedDiagnostic("prepend"); + } + }); + } + function createDiagnosticExplainingFile(file, fileProcessingReason, diagnostic, args) { + let seenReasons; + const reasons = file && fileReasons.get(file.path); + let fileIncludeReasons; + let relatedInfo; + let locationReason = isReferencedFile(fileProcessingReason) ? fileProcessingReason : void 0; + let fileIncludeReasonDetails; + let redirectInfo; + let cachedChain = file && (fileReasonsToChain == null ? void 0 : fileReasonsToChain.get(file.path)); + let chain; + if (cachedChain) { + if (cachedChain.fileIncludeReasonDetails) { + seenReasons = new Set(reasons); + reasons == null ? void 0 : reasons.forEach(populateRelatedInfo); + } else { + reasons == null ? void 0 : reasons.forEach(processReason); + } + redirectInfo = cachedChain.redirectInfo; + } else { + reasons == null ? void 0 : reasons.forEach(processReason); + redirectInfo = file && explainIfFileIsRedirectAndImpliedFormat(file, getCompilerOptionsForFile(file)); + } + if (fileProcessingReason) processReason(fileProcessingReason); + const processedExtraReason = (seenReasons == null ? void 0 : seenReasons.size) !== (reasons == null ? void 0 : reasons.length); + if (locationReason && (seenReasons == null ? void 0 : seenReasons.size) === 1) seenReasons = void 0; + if (seenReasons && cachedChain) { + if (cachedChain.details && !processedExtraReason) { + chain = chainDiagnosticMessages(cachedChain.details, diagnostic, ...args || emptyArray); + } else if (cachedChain.fileIncludeReasonDetails) { + if (!processedExtraReason) { + if (!cachedFileIncludeDetailsHasProcessedExtraReason()) { + fileIncludeReasonDetails = cachedChain.fileIncludeReasonDetails; + } else { + fileIncludeReasons = cachedChain.fileIncludeReasonDetails.next.slice(0, reasons.length); + } + } else { + if (!cachedFileIncludeDetailsHasProcessedExtraReason()) { + fileIncludeReasons = [...cachedChain.fileIncludeReasonDetails.next, fileIncludeReasons[0]]; + } else { + fileIncludeReasons = append(cachedChain.fileIncludeReasonDetails.next.slice(0, reasons.length), fileIncludeReasons[0]); + } + } + } + } + if (!chain) { + if (!fileIncludeReasonDetails) fileIncludeReasonDetails = seenReasons && chainDiagnosticMessages(fileIncludeReasons, Diagnostics.The_file_is_in_the_program_because_Colon); + chain = chainDiagnosticMessages( + redirectInfo ? fileIncludeReasonDetails ? [fileIncludeReasonDetails, ...redirectInfo] : redirectInfo : fileIncludeReasonDetails, + diagnostic, + ...args || emptyArray + ); + } + if (file) { + if (cachedChain) { + if (!cachedChain.fileIncludeReasonDetails || !processedExtraReason && fileIncludeReasonDetails) { + cachedChain.fileIncludeReasonDetails = fileIncludeReasonDetails; + } + } else { + (fileReasonsToChain ?? (fileReasonsToChain = /* @__PURE__ */ new Map())).set(file.path, cachedChain = { fileIncludeReasonDetails, redirectInfo }); + } + if (!cachedChain.details && !processedExtraReason) cachedChain.details = chain.next; + } + const location = locationReason && getReferencedFileLocation(program, locationReason); + return location && isReferenceFileLocation(location) ? createFileDiagnosticFromMessageChain(location.file, location.pos, location.end - location.pos, chain, relatedInfo) : createCompilerDiagnosticFromMessageChain(chain, relatedInfo); + function processReason(reason) { + if (seenReasons == null ? void 0 : seenReasons.has(reason)) return; + (seenReasons ?? (seenReasons = /* @__PURE__ */ new Set())).add(reason); + (fileIncludeReasons ?? (fileIncludeReasons = [])).push(fileIncludeReasonToDiagnostics(program, reason)); + populateRelatedInfo(reason); + } + function populateRelatedInfo(reason) { + if (!locationReason && isReferencedFile(reason)) { + locationReason = reason; + } else if (locationReason !== reason) { + relatedInfo = append(relatedInfo, getFileIncludeReasonToRelatedInformation(reason)); + } + } + function cachedFileIncludeDetailsHasProcessedExtraReason() { + var _a2; + return ((_a2 = cachedChain.fileIncludeReasonDetails.next) == null ? void 0 : _a2.length) !== (reasons == null ? void 0 : reasons.length); + } + } + function addFilePreprocessingFileExplainingDiagnostic(file, fileProcessingReason, diagnostic, args) { + (fileProcessingDiagnostics || (fileProcessingDiagnostics = [])).push({ + kind: 1 /* FilePreprocessingFileExplainingDiagnostic */, + file: file && file.path, + fileProcessingReason, + diagnostic, + args + }); + } + function addLazyProgramDiagnosticExplainingFile(file, diagnostic, args) { + lazyProgramDiagnosticExplainingFile.push({ file, diagnostic, args }); + } + function getFileIncludeReasonToRelatedInformation(reason) { + let relatedInfo = reasonToRelatedInfo == null ? void 0 : reasonToRelatedInfo.get(reason); + if (relatedInfo === void 0) (reasonToRelatedInfo ?? (reasonToRelatedInfo = /* @__PURE__ */ new Map())).set(reason, relatedInfo = fileIncludeReasonToRelatedInformation(reason) ?? false); + return relatedInfo || void 0; + } + function fileIncludeReasonToRelatedInformation(reason) { + if (isReferencedFile(reason)) { + const referenceLocation = getReferencedFileLocation(program, reason); + let message2; + switch (reason.kind) { + case 3 /* Import */: + message2 = Diagnostics.File_is_included_via_import_here; + break; + case 4 /* ReferenceFile */: + message2 = Diagnostics.File_is_included_via_reference_here; + break; + case 5 /* TypeReferenceDirective */: + message2 = Diagnostics.File_is_included_via_type_library_reference_here; + break; + case 7 /* LibReferenceDirective */: + message2 = Diagnostics.File_is_included_via_library_reference_here; + break; + default: + Debug.assertNever(reason); + } + return isReferenceFileLocation(referenceLocation) ? createFileDiagnostic( + referenceLocation.file, + referenceLocation.pos, + referenceLocation.end - referenceLocation.pos, + message2 + ) : void 0; + } + if (!options.configFile) return void 0; + let configFileNode; + let message; + switch (reason.kind) { + case 0 /* RootFile */: + if (!options.configFile.configFileSpecs) return void 0; + const fileName = getNormalizedAbsolutePath(rootNames[reason.index], currentDirectory); + const matchedByFiles = getMatchedFileSpec(program, fileName); + if (matchedByFiles) { + configFileNode = getTsConfigPropArrayElementValue(options.configFile, "files", matchedByFiles); + message = Diagnostics.File_is_matched_by_files_list_specified_here; + break; + } + const matchedByInclude = getMatchedIncludeSpec(program, fileName); + if (!matchedByInclude || !isString(matchedByInclude)) return void 0; + configFileNode = getTsConfigPropArrayElementValue(options.configFile, "include", matchedByInclude); + message = Diagnostics.File_is_matched_by_include_pattern_specified_here; + break; + case 1 /* SourceFromProjectReference */: + case 2 /* OutputFromProjectReference */: + const referencedResolvedRef = Debug.checkDefined(resolvedProjectReferences == null ? void 0 : resolvedProjectReferences[reason.index]); + const referenceInfo = forEachProjectReference( + projectReferences, + resolvedProjectReferences, + (resolvedRef, parent, index2) => resolvedRef === referencedResolvedRef ? { sourceFile: (parent == null ? void 0 : parent.sourceFile) || options.configFile, index: index2 } : void 0 + ); + if (!referenceInfo) return void 0; + const { sourceFile, index } = referenceInfo; + const referencesSyntax = forEachTsConfigPropArray(sourceFile, "references", (property) => isArrayLiteralExpression(property.initializer) ? property.initializer : void 0); + return referencesSyntax && referencesSyntax.elements.length > index ? createDiagnosticForNodeInSourceFile( + sourceFile, + referencesSyntax.elements[index], + reason.kind === 2 /* OutputFromProjectReference */ ? Diagnostics.File_is_output_from_referenced_project_specified_here : Diagnostics.File_is_source_from_referenced_project_specified_here + ) : void 0; + case 8 /* AutomaticTypeDirectiveFile */: + if (!options.types) return void 0; + configFileNode = getOptionsSyntaxByArrayElementValue("types", reason.typeReference); + message = Diagnostics.File_is_entry_point_of_type_library_specified_here; + break; + case 6 /* LibFile */: + if (reason.index !== void 0) { + configFileNode = getOptionsSyntaxByArrayElementValue("lib", options.lib[reason.index]); + message = Diagnostics.File_is_library_specified_here; + break; + } + const target = getNameOfScriptTarget(getEmitScriptTarget(options)); + configFileNode = target ? getOptionsSyntaxByValue("target", target) : void 0; + message = Diagnostics.File_is_default_library_for_target_specified_here; + break; + default: + Debug.assertNever(reason); + } + return configFileNode && createDiagnosticForNodeInSourceFile( + options.configFile, + configFileNode, + message + ); + } + function verifyProjectReferences() { + const buildInfoPath = !options.suppressOutputPathCheck ? getTsBuildInfoEmitOutputFilePath(options) : void 0; + forEachProjectReference( + projectReferences, + resolvedProjectReferences, + (resolvedRef, parent, index) => { + const ref = (parent ? parent.commandLine.projectReferences : projectReferences)[index]; + const parentFile = parent && parent.sourceFile; + verifyDeprecatedProjectReference(ref, parentFile, index); + if (!resolvedRef) { + createDiagnosticForReference(parentFile, index, Diagnostics.File_0_not_found, ref.path); + return; + } + const options2 = resolvedRef.commandLine.options; + if (!options2.composite || options2.noEmit) { + const inputs = parent ? parent.commandLine.fileNames : rootNames; + if (inputs.length) { + if (!options2.composite) createDiagnosticForReference(parentFile, index, Diagnostics.Referenced_project_0_must_have_setting_composite_Colon_true, ref.path); + if (options2.noEmit) createDiagnosticForReference(parentFile, index, Diagnostics.Referenced_project_0_may_not_disable_emit, ref.path); + } + } + if (!parent && buildInfoPath && buildInfoPath === getTsBuildInfoEmitOutputFilePath(options2)) { + createDiagnosticForReference(parentFile, index, Diagnostics.Cannot_write_file_0_because_it_will_overwrite_tsbuildinfo_file_generated_by_referenced_project_1, buildInfoPath, ref.path); + hasEmitBlockingDiagnostics.set(toPath3(buildInfoPath), true); + } + } + ); + } + function createDiagnosticForOptionPathKeyValue(key, valueIndex, message, ...args) { + let needCompilerDiagnostic = true; + forEachOptionPathsSyntax((pathProp) => { + if (isObjectLiteralExpression(pathProp.initializer)) { + forEachPropertyAssignment(pathProp.initializer, key, (keyProps) => { + const initializer = keyProps.initializer; + if (isArrayLiteralExpression(initializer) && initializer.elements.length > valueIndex) { + programDiagnostics.add(createDiagnosticForNodeInSourceFile(options.configFile, initializer.elements[valueIndex], message, ...args)); + needCompilerDiagnostic = false; + } + }); + } + }); + if (needCompilerDiagnostic) { + createCompilerOptionsDiagnostic(message, ...args); + } + } + function createDiagnosticForOptionPaths(onKey, key, message, ...args) { + let needCompilerDiagnostic = true; + forEachOptionPathsSyntax((pathProp) => { + if (isObjectLiteralExpression(pathProp.initializer) && createOptionDiagnosticInObjectLiteralSyntax( + pathProp.initializer, + onKey, + key, + /*key2*/ + void 0, + message, + ...args + )) { + needCompilerDiagnostic = false; + } + }); + if (needCompilerDiagnostic) { + createCompilerOptionsDiagnostic(message, ...args); + } + } + function forEachOptionsSyntaxByName(name, callback) { + return forEachPropertyAssignment(getCompilerOptionsObjectLiteralSyntax(), name, callback); + } + function forEachOptionPathsSyntax(callback) { + return forEachOptionsSyntaxByName("paths", callback); + } + function getOptionsSyntaxByValue(name, value) { + return forEachOptionsSyntaxByName(name, (property) => isStringLiteral(property.initializer) && property.initializer.text === value ? property.initializer : void 0); + } + function getOptionsSyntaxByArrayElementValue(name, value) { + const compilerOptionsObjectLiteralSyntax = getCompilerOptionsObjectLiteralSyntax(); + return compilerOptionsObjectLiteralSyntax && getPropertyArrayElementValue(compilerOptionsObjectLiteralSyntax, name, value); + } + function createDiagnosticForOptionName(message, option1, option2, option3) { + createDiagnosticForOption( + /*onKey*/ + true, + option1, + option2, + message, + option1, + option2, + option3 + ); + } + function createOptionValueDiagnostic(option1, message, ...args) { + createDiagnosticForOption( + /*onKey*/ + false, + option1, + /*option2*/ + void 0, + message, + ...args + ); + } + function createDiagnosticForReference(sourceFile, index, message, ...args) { + const referencesSyntax = forEachTsConfigPropArray(sourceFile || options.configFile, "references", (property) => isArrayLiteralExpression(property.initializer) ? property.initializer : void 0); + if (referencesSyntax && referencesSyntax.elements.length > index) { + programDiagnostics.add(createDiagnosticForNodeInSourceFile(sourceFile || options.configFile, referencesSyntax.elements[index], message, ...args)); + } else { + programDiagnostics.add(createCompilerDiagnostic(message, ...args)); + } + } + function createDiagnosticForOption(onKey, option1, option2, message, ...args) { + const compilerOptionsObjectLiteralSyntax = getCompilerOptionsObjectLiteralSyntax(); + const needCompilerDiagnostic = !compilerOptionsObjectLiteralSyntax || !createOptionDiagnosticInObjectLiteralSyntax(compilerOptionsObjectLiteralSyntax, onKey, option1, option2, message, ...args); + if (needCompilerDiagnostic) { + createCompilerOptionsDiagnostic(message, ...args); + } + } + function createCompilerOptionsDiagnostic(message, ...args) { + const compilerOptionsProperty = getCompilerOptionsPropertySyntax(); + if (compilerOptionsProperty) { + if ("messageText" in message) { + programDiagnostics.add(createDiagnosticForNodeFromMessageChain(options.configFile, compilerOptionsProperty.name, message)); + } else { + programDiagnostics.add(createDiagnosticForNodeInSourceFile(options.configFile, compilerOptionsProperty.name, message, ...args)); + } + } else if ("messageText" in message) { + programDiagnostics.add(createCompilerDiagnosticFromMessageChain(message)); + } else { + programDiagnostics.add(createCompilerDiagnostic(message, ...args)); + } + } + function getCompilerOptionsObjectLiteralSyntax() { + if (_compilerOptionsObjectLiteralSyntax === void 0) { + const compilerOptionsProperty = getCompilerOptionsPropertySyntax(); + _compilerOptionsObjectLiteralSyntax = compilerOptionsProperty ? tryCast(compilerOptionsProperty.initializer, isObjectLiteralExpression) || false : false; + } + return _compilerOptionsObjectLiteralSyntax || void 0; + } + function getCompilerOptionsPropertySyntax() { + if (_compilerOptionsPropertySyntax === void 0) { + _compilerOptionsPropertySyntax = forEachPropertyAssignment( + getTsConfigObjectLiteralExpression(options.configFile), + "compilerOptions", + identity + ) || false; + } + return _compilerOptionsPropertySyntax || void 0; + } + function createOptionDiagnosticInObjectLiteralSyntax(objectLiteral, onKey, key1, key2, message, ...args) { + let needsCompilerDiagnostic = false; + forEachPropertyAssignment(objectLiteral, key1, (prop) => { + if ("messageText" in message) { + programDiagnostics.add(createDiagnosticForNodeFromMessageChain(options.configFile, onKey ? prop.name : prop.initializer, message)); + } else { + programDiagnostics.add(createDiagnosticForNodeInSourceFile(options.configFile, onKey ? prop.name : prop.initializer, message, ...args)); + } + needsCompilerDiagnostic = true; + }, key2); + return needsCompilerDiagnostic; + } + function blockEmittingOfFile(emitFileName, diag2) { + hasEmitBlockingDiagnostics.set(toPath3(emitFileName), true); + programDiagnostics.add(diag2); + } + function isEmittedFile(file) { + if (options.noEmit) { + return false; + } + const filePath = toPath3(file); + if (getSourceFileByPath(filePath)) { + return false; + } + const out = options.outFile; + if (out) { + return isSameFile(filePath, out) || isSameFile(filePath, removeFileExtension(out) + ".d.ts" /* Dts */); + } + if (options.declarationDir && containsPath(options.declarationDir, filePath, currentDirectory, !host.useCaseSensitiveFileNames())) { + return true; + } + if (options.outDir) { + return containsPath(options.outDir, filePath, currentDirectory, !host.useCaseSensitiveFileNames()); + } + if (fileExtensionIsOneOf(filePath, supportedJSExtensionsFlat) || isDeclarationFileName(filePath)) { + const filePathWithoutExtension = removeFileExtension(filePath); + return !!getSourceFileByPath(filePathWithoutExtension + ".ts" /* Ts */) || !!getSourceFileByPath(filePathWithoutExtension + ".tsx" /* Tsx */); + } + return false; + } + function isSameFile(file1, file2) { + return comparePaths(file1, file2, currentDirectory, !host.useCaseSensitiveFileNames()) === 0 /* EqualTo */; + } + function getSymlinkCache() { + if (host.getSymlinkCache) { + return host.getSymlinkCache(); + } + if (!symlinks) { + symlinks = createSymlinkCache(currentDirectory, getCanonicalFileName); + } + if (files && !symlinks.hasProcessedResolutions()) { + symlinks.setSymlinksFromResolutions(forEachResolvedModule, forEachResolvedTypeReferenceDirective, automaticTypeDirectiveResolutions); + } + return symlinks; + } + function getModeForUsageLocation2(file, usage) { + return getModeForUsageLocationWorker(file, usage, getCompilerOptionsForFile(file)); + } + function getEmitSyntaxForUsageLocation(file, usage) { + return getEmitSyntaxForUsageLocationWorker(file, usage, getCompilerOptionsForFile(file)); + } + function getModeForResolutionAtIndex(file, index) { + return getModeForUsageLocation2(file, getModuleNameStringLiteralAt(file, index)); + } + function getDefaultResolutionModeForFile2(sourceFile) { + return getDefaultResolutionModeForFileWorker(sourceFile, getCompilerOptionsForFile(sourceFile)); + } + function getImpliedNodeFormatForEmit(sourceFile) { + return getImpliedNodeFormatForEmitWorker(sourceFile, getCompilerOptionsForFile(sourceFile)); + } + function getEmitModuleFormatOfFile(sourceFile) { + return getEmitModuleFormatOfFileWorker(sourceFile, getCompilerOptionsForFile(sourceFile)); + } + function shouldTransformImportCall(sourceFile) { + return shouldTransformImportCallWorker(sourceFile, getCompilerOptionsForFile(sourceFile)); + } + function getModeForTypeReferenceDirectiveInFile(ref, sourceFile) { + return ref.resolutionMode || getDefaultResolutionModeForFile2(sourceFile); + } +} +function shouldTransformImportCallWorker(sourceFile, options) { + const moduleKind = getEmitModuleKind(options); + if (100 /* Node16 */ <= moduleKind && moduleKind <= 199 /* NodeNext */ || moduleKind === 200 /* Preserve */) { + return false; + } + return getEmitModuleFormatOfFileWorker(sourceFile, options) < 5 /* ES2015 */; +} +function getEmitModuleFormatOfFileWorker(sourceFile, options) { + return getImpliedNodeFormatForEmitWorker(sourceFile, options) ?? getEmitModuleKind(options); +} +function getImpliedNodeFormatForEmitWorker(sourceFile, options) { + var _a, _b; + const moduleKind = getEmitModuleKind(options); + if (100 /* Node16 */ <= moduleKind && moduleKind <= 199 /* NodeNext */) { + return sourceFile.impliedNodeFormat; + } + if (sourceFile.impliedNodeFormat === 1 /* CommonJS */ && (((_a = sourceFile.packageJsonScope) == null ? void 0 : _a.contents.packageJsonContent.type) === "commonjs" || fileExtensionIsOneOf(sourceFile.fileName, [".cjs" /* Cjs */, ".cts" /* Cts */]))) { + return 1 /* CommonJS */; + } + if (sourceFile.impliedNodeFormat === 99 /* ESNext */ && (((_b = sourceFile.packageJsonScope) == null ? void 0 : _b.contents.packageJsonContent.type) === "module" || fileExtensionIsOneOf(sourceFile.fileName, [".mjs" /* Mjs */, ".mts" /* Mts */]))) { + return 99 /* ESNext */; + } + return void 0; +} +function getDefaultResolutionModeForFileWorker(sourceFile, options) { + return importSyntaxAffectsModuleResolution(options) ? getImpliedNodeFormatForEmitWorker(sourceFile, options) : void 0; +} +function updateHostForUseSourceOfProjectReferenceRedirect(host) { + let setOfDeclarationDirectories; + const originalFileExists = host.compilerHost.fileExists; + const originalDirectoryExists = host.compilerHost.directoryExists; + const originalGetDirectories = host.compilerHost.getDirectories; + const originalRealpath = host.compilerHost.realpath; + if (!host.useSourceOfProjectReferenceRedirect) return { onProgramCreateComplete: noop, fileExists }; + host.compilerHost.fileExists = fileExists; + let directoryExists; + if (originalDirectoryExists) { + directoryExists = host.compilerHost.directoryExists = (path) => { + if (originalDirectoryExists.call(host.compilerHost, path)) { + handleDirectoryCouldBeSymlink(path); + return true; + } + if (!host.getResolvedProjectReferences()) return false; + if (!setOfDeclarationDirectories) { + setOfDeclarationDirectories = /* @__PURE__ */ new Set(); + host.forEachResolvedProjectReference((ref) => { + const out = ref.commandLine.options.outFile; + if (out) { + setOfDeclarationDirectories.add(getDirectoryPath(host.toPath(out))); + } else { + const declarationDir = ref.commandLine.options.declarationDir || ref.commandLine.options.outDir; + if (declarationDir) { + setOfDeclarationDirectories.add(host.toPath(declarationDir)); + } + } + }); + } + return fileOrDirectoryExistsUsingSource( + path, + /*isFile*/ + false + ); + }; + } + if (originalGetDirectories) { + host.compilerHost.getDirectories = (path) => !host.getResolvedProjectReferences() || originalDirectoryExists && originalDirectoryExists.call(host.compilerHost, path) ? originalGetDirectories.call(host.compilerHost, path) : []; + } + if (originalRealpath) { + host.compilerHost.realpath = (s) => { + var _a; + return ((_a = host.getSymlinkCache().getSymlinkedFiles()) == null ? void 0 : _a.get(host.toPath(s))) || originalRealpath.call(host.compilerHost, s); + }; + } + return { onProgramCreateComplete, fileExists, directoryExists }; + function onProgramCreateComplete() { + host.compilerHost.fileExists = originalFileExists; + host.compilerHost.directoryExists = originalDirectoryExists; + host.compilerHost.getDirectories = originalGetDirectories; + } + function fileExists(file) { + if (originalFileExists.call(host.compilerHost, file)) return true; + if (!host.getResolvedProjectReferences()) return false; + if (!isDeclarationFileName(file)) return false; + return fileOrDirectoryExistsUsingSource( + file, + /*isFile*/ + true + ); + } + function fileExistsIfProjectReferenceDts(file) { + const source = host.getSourceOfProjectReferenceRedirect(host.toPath(file)); + return source !== void 0 ? isString(source) ? originalFileExists.call(host.compilerHost, source) : true : void 0; + } + function directoryExistsIfProjectReferenceDeclDir(dir) { + const dirPath = host.toPath(dir); + const dirPathWithTrailingDirectorySeparator = `${dirPath}${directorySeparator}`; + return forEachKey( + setOfDeclarationDirectories, + (declDirPath) => dirPath === declDirPath || // Any parent directory of declaration dir + startsWith(declDirPath, dirPathWithTrailingDirectorySeparator) || // Any directory inside declaration dir + startsWith(dirPath, `${declDirPath}/`) + ); + } + function handleDirectoryCouldBeSymlink(directory) { + var _a; + if (!host.getResolvedProjectReferences() || containsIgnoredPath(directory)) return; + if (!originalRealpath || !directory.includes(nodeModulesPathPart)) return; + const symlinkCache = host.getSymlinkCache(); + const directoryPath = ensureTrailingDirectorySeparator(host.toPath(directory)); + if ((_a = symlinkCache.getSymlinkedDirectories()) == null ? void 0 : _a.has(directoryPath)) return; + const real = normalizePath(originalRealpath.call(host.compilerHost, directory)); + let realPath2; + if (real === directory || (realPath2 = ensureTrailingDirectorySeparator(host.toPath(real))) === directoryPath) { + symlinkCache.setSymlinkedDirectory(directoryPath, false); + return; + } + symlinkCache.setSymlinkedDirectory(directory, { + real: ensureTrailingDirectorySeparator(real), + realPath: realPath2 + }); + } + function fileOrDirectoryExistsUsingSource(fileOrDirectory, isFile) { + var _a; + const fileOrDirectoryExistsUsingSource2 = isFile ? (file) => fileExistsIfProjectReferenceDts(file) : (dir) => directoryExistsIfProjectReferenceDeclDir(dir); + const result = fileOrDirectoryExistsUsingSource2(fileOrDirectory); + if (result !== void 0) return result; + const symlinkCache = host.getSymlinkCache(); + const symlinkedDirectories = symlinkCache.getSymlinkedDirectories(); + if (!symlinkedDirectories) return false; + const fileOrDirectoryPath = host.toPath(fileOrDirectory); + if (!fileOrDirectoryPath.includes(nodeModulesPathPart)) return false; + if (isFile && ((_a = symlinkCache.getSymlinkedFiles()) == null ? void 0 : _a.has(fileOrDirectoryPath))) return true; + return firstDefinedIterator( + symlinkedDirectories.entries(), + ([directoryPath, symlinkedDirectory]) => { + if (!symlinkedDirectory || !startsWith(fileOrDirectoryPath, directoryPath)) return void 0; + const result2 = fileOrDirectoryExistsUsingSource2(fileOrDirectoryPath.replace(directoryPath, symlinkedDirectory.realPath)); + if (isFile && result2) { + const absolutePath = getNormalizedAbsolutePath(fileOrDirectory, host.compilerHost.getCurrentDirectory()); + symlinkCache.setSymlinkedFile( + fileOrDirectoryPath, + `${symlinkedDirectory.real}${absolutePath.replace(new RegExp(directoryPath, "i"), "")}` + ); + } + return result2; + } + ) || false; + } +} +var emitSkippedWithNoDiagnostics = { diagnostics: emptyArray, sourceMaps: void 0, emittedFiles: void 0, emitSkipped: true }; +function handleNoEmitOptions(program, sourceFile, writeFile2, cancellationToken) { + const options = program.getCompilerOptions(); + if (options.noEmit) { + return sourceFile ? emitSkippedWithNoDiagnostics : program.emitBuildInfo(writeFile2, cancellationToken); + } + if (!options.noEmitOnError) return void 0; + let diagnostics = [ + ...program.getOptionsDiagnostics(cancellationToken), + ...program.getSyntacticDiagnostics(sourceFile, cancellationToken), + ...program.getGlobalDiagnostics(cancellationToken), + ...program.getSemanticDiagnostics(sourceFile, cancellationToken) + ]; + if (diagnostics.length === 0 && getEmitDeclarations(program.getCompilerOptions())) { + diagnostics = program.getDeclarationDiagnostics( + /*sourceFile*/ + void 0, + cancellationToken + ); + } + if (!diagnostics.length) return void 0; + let emittedFiles; + if (!sourceFile) { + const emitResult = program.emitBuildInfo(writeFile2, cancellationToken); + if (emitResult.diagnostics) diagnostics = [...diagnostics, ...emitResult.diagnostics]; + emittedFiles = emitResult.emittedFiles; + } + return { diagnostics, sourceMaps: void 0, emittedFiles, emitSkipped: true }; +} +function filterSemanticDiagnostics(diagnostic, option) { + return filter(diagnostic, (d) => !d.skippedOn || !option[d.skippedOn]); +} +function parseConfigHostFromCompilerHostLike(host, directoryStructureHost = host) { + return { + fileExists: (f) => directoryStructureHost.fileExists(f), + readDirectory(root, extensions, excludes, includes, depth) { + Debug.assertIsDefined(directoryStructureHost.readDirectory, "'CompilerHost.readDirectory' must be implemented to correctly process 'projectReferences'"); + return directoryStructureHost.readDirectory(root, extensions, excludes, includes, depth); + }, + readFile: (f) => directoryStructureHost.readFile(f), + directoryExists: maybeBind(directoryStructureHost, directoryStructureHost.directoryExists), + getDirectories: maybeBind(directoryStructureHost, directoryStructureHost.getDirectories), + realpath: maybeBind(directoryStructureHost, directoryStructureHost.realpath), + useCaseSensitiveFileNames: host.useCaseSensitiveFileNames(), + getCurrentDirectory: () => host.getCurrentDirectory(), + onUnRecoverableConfigFileDiagnostic: host.onUnRecoverableConfigFileDiagnostic || returnUndefined, + trace: host.trace ? (s) => host.trace(s) : void 0 + }; +} +function resolveProjectReferencePath(ref) { + return resolveConfigFileProjectName(ref.path); +} +function getResolutionDiagnostic(options, { extension }, { isDeclarationFile }) { + switch (extension) { + case ".ts" /* Ts */: + case ".d.ts" /* Dts */: + case ".mts" /* Mts */: + case ".d.mts" /* Dmts */: + case ".cts" /* Cts */: + case ".d.cts" /* Dcts */: + return void 0; + case ".tsx" /* Tsx */: + return needJsx(); + case ".jsx" /* Jsx */: + return needJsx() || needAllowJs(); + case ".js" /* Js */: + case ".mjs" /* Mjs */: + case ".cjs" /* Cjs */: + return needAllowJs(); + case ".json" /* Json */: + return needResolveJsonModule(); + default: + return needAllowArbitraryExtensions(); + } + function needJsx() { + return options.jsx ? void 0 : Diagnostics.Module_0_was_resolved_to_1_but_jsx_is_not_set; + } + function needAllowJs() { + return getAllowJSCompilerOption(options) || !getStrictOptionValue(options, "noImplicitAny") ? void 0 : Diagnostics.Could_not_find_a_declaration_file_for_module_0_1_implicitly_has_an_any_type; + } + function needResolveJsonModule() { + return getResolveJsonModule(options) ? void 0 : Diagnostics.Module_0_was_resolved_to_1_but_resolveJsonModule_is_not_used; + } + function needAllowArbitraryExtensions() { + return isDeclarationFile || options.allowArbitraryExtensions ? void 0 : Diagnostics.Module_0_was_resolved_to_1_but_allowArbitraryExtensions_is_not_set; + } +} +function getModuleNames({ imports, moduleAugmentations }) { + const res = imports.map((i) => i); + for (const aug of moduleAugmentations) { + if (aug.kind === 11 /* StringLiteral */) { + res.push(aug); + } + } + return res; +} +function getModuleNameStringLiteralAt({ imports, moduleAugmentations }, index) { + if (index < imports.length) return imports[index]; + let augIndex = imports.length; + for (const aug of moduleAugmentations) { + if (aug.kind === 11 /* StringLiteral */) { + if (index === augIndex) return aug; + augIndex++; + } + } + Debug.fail("should never ask for module name at index higher than possible module name"); +} + +// src/compiler/builderState.ts +var BuilderState; +((BuilderState2) => { + function createManyToManyPathMap() { + function create2(forward, reverse, deleted) { + const map2 = { + getKeys: (v) => reverse.get(v), + getValues: (k) => forward.get(k), + keys: () => forward.keys(), + size: () => forward.size, + deleteKey: (k) => { + (deleted || (deleted = /* @__PURE__ */ new Set())).add(k); + const set = forward.get(k); + if (!set) { + return false; + } + set.forEach((v) => deleteFromMultimap(reverse, v, k)); + forward.delete(k); + return true; + }, + set: (k, vSet) => { + deleted == null ? void 0 : deleted.delete(k); + const existingVSet = forward.get(k); + forward.set(k, vSet); + existingVSet == null ? void 0 : existingVSet.forEach((v) => { + if (!vSet.has(v)) { + deleteFromMultimap(reverse, v, k); + } + }); + vSet.forEach((v) => { + if (!(existingVSet == null ? void 0 : existingVSet.has(v))) { + addToMultimap(reverse, v, k); + } + }); + return map2; + } + }; + return map2; + } + return create2( + /* @__PURE__ */ new Map(), + /* @__PURE__ */ new Map(), + /*deleted*/ + void 0 + ); + } + BuilderState2.createManyToManyPathMap = createManyToManyPathMap; + function addToMultimap(map2, k, v) { + let set = map2.get(k); + if (!set) { + set = /* @__PURE__ */ new Set(); + map2.set(k, set); + } + set.add(v); + } + function deleteFromMultimap(map2, k, v) { + const set = map2.get(k); + if (set == null ? void 0 : set.delete(v)) { + if (!set.size) { + map2.delete(k); + } + return true; + } + return false; + } + function getReferencedFilesFromImportedModuleSymbol(symbol) { + return mapDefined(symbol.declarations, (declaration) => { + var _a; + return (_a = getSourceFileOfNode(declaration)) == null ? void 0 : _a.resolvedPath; + }); + } + function getReferencedFilesFromImportLiteral(checker, importName) { + const symbol = checker.getSymbolAtLocation(importName); + return symbol && getReferencedFilesFromImportedModuleSymbol(symbol); + } + function getReferencedFileFromFileName(program, fileName, sourceFileDirectory, getCanonicalFileName) { + return toPath(program.getProjectReferenceRedirect(fileName) || fileName, sourceFileDirectory, getCanonicalFileName); + } + function getReferencedFiles(program, sourceFile, getCanonicalFileName) { + let referencedFiles; + if (sourceFile.imports && sourceFile.imports.length > 0) { + const checker = program.getTypeChecker(); + for (const importName of sourceFile.imports) { + const declarationSourceFilePaths = getReferencedFilesFromImportLiteral(checker, importName); + declarationSourceFilePaths == null ? void 0 : declarationSourceFilePaths.forEach(addReferencedFile); + } + } + const sourceFileDirectory = getDirectoryPath(sourceFile.resolvedPath); + if (sourceFile.referencedFiles && sourceFile.referencedFiles.length > 0) { + for (const referencedFile of sourceFile.referencedFiles) { + const referencedPath = getReferencedFileFromFileName(program, referencedFile.fileName, sourceFileDirectory, getCanonicalFileName); + addReferencedFile(referencedPath); + } + } + program.forEachResolvedTypeReferenceDirective(({ resolvedTypeReferenceDirective }) => { + if (!resolvedTypeReferenceDirective) { + return; + } + const fileName = resolvedTypeReferenceDirective.resolvedFileName; + const typeFilePath = getReferencedFileFromFileName(program, fileName, sourceFileDirectory, getCanonicalFileName); + addReferencedFile(typeFilePath); + }, sourceFile); + if (sourceFile.moduleAugmentations.length) { + const checker = program.getTypeChecker(); + for (const moduleName of sourceFile.moduleAugmentations) { + if (!isStringLiteral(moduleName)) continue; + const symbol = checker.getSymbolAtLocation(moduleName); + if (!symbol) continue; + addReferenceFromAmbientModule(symbol); + } + } + for (const ambientModule of program.getTypeChecker().getAmbientModules()) { + if (ambientModule.declarations && ambientModule.declarations.length > 1) { + addReferenceFromAmbientModule(ambientModule); + } + } + return referencedFiles; + function addReferenceFromAmbientModule(symbol) { + if (!symbol.declarations) { + return; + } + for (const declaration of symbol.declarations) { + const declarationSourceFile = getSourceFileOfNode(declaration); + if (declarationSourceFile && declarationSourceFile !== sourceFile) { + addReferencedFile(declarationSourceFile.resolvedPath); + } + } + } + function addReferencedFile(referencedPath) { + (referencedFiles || (referencedFiles = /* @__PURE__ */ new Set())).add(referencedPath); + } + } + function canReuseOldState(newReferencedMap, oldState) { + return oldState && !oldState.referencedMap === !newReferencedMap; + } + BuilderState2.canReuseOldState = canReuseOldState; + function createReferencedMap(options) { + return options.module !== 0 /* None */ && !options.outFile ? createManyToManyPathMap() : void 0; + } + BuilderState2.createReferencedMap = createReferencedMap; + function create(newProgram, oldState, disableUseFileVersionAsSignature) { + var _a, _b; + const fileInfos = /* @__PURE__ */ new Map(); + const options = newProgram.getCompilerOptions(); + const referencedMap = createReferencedMap(options); + const useOldState = canReuseOldState(referencedMap, oldState); + newProgram.getTypeChecker(); + for (const sourceFile of newProgram.getSourceFiles()) { + const version2 = Debug.checkDefined(sourceFile.version, "Program intended to be used with Builder should have source files with versions set"); + const oldUncommittedSignature = useOldState ? (_a = oldState.oldSignatures) == null ? void 0 : _a.get(sourceFile.resolvedPath) : void 0; + const signature = oldUncommittedSignature === void 0 ? useOldState ? (_b = oldState.fileInfos.get(sourceFile.resolvedPath)) == null ? void 0 : _b.signature : void 0 : oldUncommittedSignature || void 0; + if (referencedMap) { + const newReferences = getReferencedFiles(newProgram, sourceFile, newProgram.getCanonicalFileName); + if (newReferences) { + referencedMap.set(sourceFile.resolvedPath, newReferences); + } + } + fileInfos.set(sourceFile.resolvedPath, { + version: version2, + signature, + // No need to calculate affectsGlobalScope with --out since its not used at all + affectsGlobalScope: !options.outFile ? isFileAffectingGlobalScope(sourceFile) || void 0 : void 0, + impliedFormat: sourceFile.impliedNodeFormat + }); + } + return { + fileInfos, + referencedMap, + useFileVersionAsSignature: !disableUseFileVersionAsSignature && !useOldState + }; + } + BuilderState2.create = create; + function releaseCache2(state) { + state.allFilesExcludingDefaultLibraryFile = void 0; + state.allFileNames = void 0; + } + BuilderState2.releaseCache = releaseCache2; + function getFilesAffectedBy(state, programOfThisState, path, cancellationToken, host) { + var _a; + const result = getFilesAffectedByWithOldState( + state, + programOfThisState, + path, + cancellationToken, + host + ); + (_a = state.oldSignatures) == null ? void 0 : _a.clear(); + return result; + } + BuilderState2.getFilesAffectedBy = getFilesAffectedBy; + function getFilesAffectedByWithOldState(state, programOfThisState, path, cancellationToken, host) { + const sourceFile = programOfThisState.getSourceFileByPath(path); + if (!sourceFile) { + return emptyArray; + } + if (!updateShapeSignature(state, programOfThisState, sourceFile, cancellationToken, host)) { + return [sourceFile]; + } + return (state.referencedMap ? getFilesAffectedByUpdatedShapeWhenModuleEmit : getFilesAffectedByUpdatedShapeWhenNonModuleEmit)(state, programOfThisState, sourceFile, cancellationToken, host); + } + BuilderState2.getFilesAffectedByWithOldState = getFilesAffectedByWithOldState; + function updateSignatureOfFile(state, signature, path) { + state.fileInfos.get(path).signature = signature; + (state.hasCalledUpdateShapeSignature || (state.hasCalledUpdateShapeSignature = /* @__PURE__ */ new Set())).add(path); + } + BuilderState2.updateSignatureOfFile = updateSignatureOfFile; + function computeDtsSignature(programOfThisState, sourceFile, cancellationToken, host, onNewSignature) { + programOfThisState.emit( + sourceFile, + (fileName, text, _writeByteOrderMark, _onError, sourceFiles, data) => { + Debug.assert(isDeclarationFileName(fileName), `File extension for signature expected to be dts: Got:: ${fileName}`); + onNewSignature( + computeSignatureWithDiagnostics( + programOfThisState, + sourceFile, + text, + host, + data + ), + sourceFiles + ); + }, + cancellationToken, + 2 /* BuilderSignature */, + /*customTransformers*/ + void 0, + /*forceDtsEmit*/ + true + ); + } + BuilderState2.computeDtsSignature = computeDtsSignature; + function updateShapeSignature(state, programOfThisState, sourceFile, cancellationToken, host, useFileVersionAsSignature = state.useFileVersionAsSignature) { + var _a; + if ((_a = state.hasCalledUpdateShapeSignature) == null ? void 0 : _a.has(sourceFile.resolvedPath)) return false; + const info = state.fileInfos.get(sourceFile.resolvedPath); + const prevSignature = info.signature; + let latestSignature; + if (!sourceFile.isDeclarationFile && !useFileVersionAsSignature) { + computeDtsSignature(programOfThisState, sourceFile, cancellationToken, host, (signature) => { + latestSignature = signature; + if (host.storeSignatureInfo) (state.signatureInfo ?? (state.signatureInfo = /* @__PURE__ */ new Map())).set(sourceFile.resolvedPath, 0 /* ComputedDts */); + }); + } + if (latestSignature === void 0) { + latestSignature = sourceFile.version; + if (host.storeSignatureInfo) (state.signatureInfo ?? (state.signatureInfo = /* @__PURE__ */ new Map())).set(sourceFile.resolvedPath, 2 /* UsedVersion */); + } + (state.oldSignatures || (state.oldSignatures = /* @__PURE__ */ new Map())).set(sourceFile.resolvedPath, prevSignature || false); + (state.hasCalledUpdateShapeSignature || (state.hasCalledUpdateShapeSignature = /* @__PURE__ */ new Set())).add(sourceFile.resolvedPath); + info.signature = latestSignature; + return latestSignature !== prevSignature; + } + BuilderState2.updateShapeSignature = updateShapeSignature; + function getAllDependencies(state, programOfThisState, sourceFile) { + const compilerOptions = programOfThisState.getCompilerOptions(); + if (compilerOptions.outFile) { + return getAllFileNames(state, programOfThisState); + } + if (!state.referencedMap || isFileAffectingGlobalScope(sourceFile)) { + return getAllFileNames(state, programOfThisState); + } + const seenMap = /* @__PURE__ */ new Set(); + const queue = [sourceFile.resolvedPath]; + while (queue.length) { + const path = queue.pop(); + if (!seenMap.has(path)) { + seenMap.add(path); + const references = state.referencedMap.getValues(path); + if (references) { + for (const key of references.keys()) { + queue.push(key); + } + } + } + } + return arrayFrom(mapDefinedIterator(seenMap.keys(), (path) => { + var _a; + return ((_a = programOfThisState.getSourceFileByPath(path)) == null ? void 0 : _a.fileName) ?? path; + })); + } + BuilderState2.getAllDependencies = getAllDependencies; + function getAllFileNames(state, programOfThisState) { + if (!state.allFileNames) { + const sourceFiles = programOfThisState.getSourceFiles(); + state.allFileNames = sourceFiles === emptyArray ? emptyArray : sourceFiles.map((file) => file.fileName); + } + return state.allFileNames; + } + function getReferencedByPaths(state, referencedFilePath) { + const keys = state.referencedMap.getKeys(referencedFilePath); + return keys ? arrayFrom(keys.keys()) : []; + } + BuilderState2.getReferencedByPaths = getReferencedByPaths; + function containsOnlyAmbientModules(sourceFile) { + for (const statement of sourceFile.statements) { + if (!isModuleWithStringLiteralName(statement)) { + return false; + } + } + return true; + } + function containsGlobalScopeAugmentation(sourceFile) { + return some(sourceFile.moduleAugmentations, (augmentation) => isGlobalScopeAugmentation(augmentation.parent)); + } + function isFileAffectingGlobalScope(sourceFile) { + return containsGlobalScopeAugmentation(sourceFile) || !isExternalOrCommonJsModule(sourceFile) && !isJsonSourceFile(sourceFile) && !containsOnlyAmbientModules(sourceFile); + } + function getAllFilesExcludingDefaultLibraryFile(state, programOfThisState, firstSourceFile) { + if (state.allFilesExcludingDefaultLibraryFile) { + return state.allFilesExcludingDefaultLibraryFile; + } + let result; + if (firstSourceFile) addSourceFile(firstSourceFile); + for (const sourceFile of programOfThisState.getSourceFiles()) { + if (sourceFile !== firstSourceFile) { + addSourceFile(sourceFile); + } + } + state.allFilesExcludingDefaultLibraryFile = result || emptyArray; + return state.allFilesExcludingDefaultLibraryFile; + function addSourceFile(sourceFile) { + if (!programOfThisState.isSourceFileDefaultLibrary(sourceFile)) { + (result || (result = [])).push(sourceFile); + } + } + } + BuilderState2.getAllFilesExcludingDefaultLibraryFile = getAllFilesExcludingDefaultLibraryFile; + function getFilesAffectedByUpdatedShapeWhenNonModuleEmit(state, programOfThisState, sourceFileWithUpdatedShape) { + const compilerOptions = programOfThisState.getCompilerOptions(); + if (compilerOptions && compilerOptions.outFile) { + return [sourceFileWithUpdatedShape]; + } + return getAllFilesExcludingDefaultLibraryFile(state, programOfThisState, sourceFileWithUpdatedShape); + } + function getFilesAffectedByUpdatedShapeWhenModuleEmit(state, programOfThisState, sourceFileWithUpdatedShape, cancellationToken, host) { + if (isFileAffectingGlobalScope(sourceFileWithUpdatedShape)) { + return getAllFilesExcludingDefaultLibraryFile(state, programOfThisState, sourceFileWithUpdatedShape); + } + const compilerOptions = programOfThisState.getCompilerOptions(); + if (compilerOptions && (getIsolatedModules(compilerOptions) || compilerOptions.outFile)) { + return [sourceFileWithUpdatedShape]; + } + const seenFileNamesMap = /* @__PURE__ */ new Map(); + seenFileNamesMap.set(sourceFileWithUpdatedShape.resolvedPath, sourceFileWithUpdatedShape); + const queue = getReferencedByPaths(state, sourceFileWithUpdatedShape.resolvedPath); + while (queue.length > 0) { + const currentPath = queue.pop(); + if (!seenFileNamesMap.has(currentPath)) { + const currentSourceFile = programOfThisState.getSourceFileByPath(currentPath); + seenFileNamesMap.set(currentPath, currentSourceFile); + if (currentSourceFile && updateShapeSignature(state, programOfThisState, currentSourceFile, cancellationToken, host)) { + queue.push(...getReferencedByPaths(state, currentSourceFile.resolvedPath)); + } + } + } + return arrayFrom(mapDefinedIterator(seenFileNamesMap.values(), (value) => value)); + } +})(BuilderState || (BuilderState = {})); + +// src/compiler/builder.ts +function isBuilderProgramStateWithDefinedProgram(state) { + return state.program !== void 0; +} +function toBuilderProgramStateWithDefinedProgram(state) { + Debug.assert(isBuilderProgramStateWithDefinedProgram(state)); + return state; +} +function getBuilderFileEmit(options) { + let result = 1 /* Js */; + if (options.sourceMap) result = result | 2 /* JsMap */; + if (options.inlineSourceMap) result = result | 4 /* JsInlineMap */; + if (getEmitDeclarations(options)) result = result | 24 /* Dts */; + if (options.declarationMap) result = result | 32 /* DtsMap */; + if (options.emitDeclarationOnly) result = result & 56 /* AllDts */; + return result; +} +function getPendingEmitKind(optionsOrEmitKind, oldOptionsOrEmitKind) { + const oldEmitKind = oldOptionsOrEmitKind && (isNumber(oldOptionsOrEmitKind) ? oldOptionsOrEmitKind : getBuilderFileEmit(oldOptionsOrEmitKind)); + const emitKind = isNumber(optionsOrEmitKind) ? optionsOrEmitKind : getBuilderFileEmit(optionsOrEmitKind); + if (oldEmitKind === emitKind) return 0 /* None */; + if (!oldEmitKind || !emitKind) return emitKind; + const diff = oldEmitKind ^ emitKind; + let result = 0 /* None */; + if (diff & 7 /* AllJs */) result = emitKind & 7 /* AllJs */; + if (diff & 8 /* DtsErrors */) result = result | emitKind & 8 /* DtsErrors */; + if (diff & 48 /* AllDtsEmit */) result = result | emitKind & 48 /* AllDtsEmit */; + return result; +} +function hasSameKeys(map1, map2) { + return map1 === map2 || map1 !== void 0 && map2 !== void 0 && map1.size === map2.size && !forEachKey(map1, (key) => !map2.has(key)); +} +function createBuilderProgramState(newProgram, oldState) { + var _a, _b; + const state = BuilderState.create( + newProgram, + oldState, + /*disableUseFileVersionAsSignature*/ + false + ); + state.program = newProgram; + const compilerOptions = newProgram.getCompilerOptions(); + state.compilerOptions = compilerOptions; + const outFilePath = compilerOptions.outFile; + state.semanticDiagnosticsPerFile = /* @__PURE__ */ new Map(); + if (outFilePath && compilerOptions.composite && (oldState == null ? void 0 : oldState.outSignature) && outFilePath === oldState.compilerOptions.outFile) { + state.outSignature = oldState.outSignature && getEmitSignatureFromOldSignature(compilerOptions, oldState.compilerOptions, oldState.outSignature); + } + state.changedFilesSet = /* @__PURE__ */ new Set(); + state.latestChangedDtsFile = compilerOptions.composite ? oldState == null ? void 0 : oldState.latestChangedDtsFile : void 0; + state.checkPending = state.compilerOptions.noCheck ? true : void 0; + const useOldState = BuilderState.canReuseOldState(state.referencedMap, oldState); + const oldCompilerOptions = useOldState ? oldState.compilerOptions : void 0; + let canCopySemanticDiagnostics = useOldState && !compilerOptionsAffectSemanticDiagnostics(compilerOptions, oldCompilerOptions); + const canCopyEmitSignatures = compilerOptions.composite && (oldState == null ? void 0 : oldState.emitSignatures) && !outFilePath && !compilerOptionsAffectDeclarationPath(compilerOptions, oldState.compilerOptions); + let canCopyEmitDiagnostics = true; + if (useOldState) { + (_a = oldState.changedFilesSet) == null ? void 0 : _a.forEach((value) => state.changedFilesSet.add(value)); + if (!outFilePath && ((_b = oldState.affectedFilesPendingEmit) == null ? void 0 : _b.size)) { + state.affectedFilesPendingEmit = new Map(oldState.affectedFilesPendingEmit); + state.seenAffectedFiles = /* @__PURE__ */ new Set(); + } + state.programEmitPending = oldState.programEmitPending; + if (outFilePath && state.changedFilesSet.size) { + canCopySemanticDiagnostics = false; + canCopyEmitDiagnostics = false; + } + state.hasErrorsFromOldState = oldState.hasErrors; + } else { + state.buildInfoEmitPending = isIncrementalCompilation(compilerOptions); + } + const referencedMap = state.referencedMap; + const oldReferencedMap = useOldState ? oldState.referencedMap : void 0; + const copyDeclarationFileDiagnostics = canCopySemanticDiagnostics && !compilerOptions.skipLibCheck === !oldCompilerOptions.skipLibCheck; + const copyLibFileDiagnostics = copyDeclarationFileDiagnostics && !compilerOptions.skipDefaultLibCheck === !oldCompilerOptions.skipDefaultLibCheck; + state.fileInfos.forEach((info, sourceFilePath) => { + var _a2; + let oldInfo; + let newReferences; + if (!useOldState || // File wasn't present in old state + !(oldInfo = oldState.fileInfos.get(sourceFilePath)) || // versions dont match + oldInfo.version !== info.version || // Implied formats dont match + oldInfo.impliedFormat !== info.impliedFormat || // Referenced files changed + !hasSameKeys(newReferences = referencedMap && referencedMap.getValues(sourceFilePath), oldReferencedMap && oldReferencedMap.getValues(sourceFilePath)) || // Referenced file was deleted in the new program + newReferences && forEachKey(newReferences, (path) => !state.fileInfos.has(path) && oldState.fileInfos.has(path))) { + addFileToChangeSet(sourceFilePath); + } else { + const sourceFile = newProgram.getSourceFileByPath(sourceFilePath); + const emitDiagnostics = canCopyEmitDiagnostics ? (_a2 = oldState.emitDiagnosticsPerFile) == null ? void 0 : _a2.get(sourceFilePath) : void 0; + if (emitDiagnostics) { + (state.emitDiagnosticsPerFile ?? (state.emitDiagnosticsPerFile = /* @__PURE__ */ new Map())).set( + sourceFilePath, + oldState.hasReusableDiagnostic ? convertToDiagnostics(emitDiagnostics, sourceFilePath, newProgram) : repopulateDiagnostics(emitDiagnostics, newProgram) + ); + } + if (canCopySemanticDiagnostics) { + if (sourceFile.isDeclarationFile && !copyDeclarationFileDiagnostics) return; + if (sourceFile.hasNoDefaultLib && !copyLibFileDiagnostics) return; + const diagnostics = oldState.semanticDiagnosticsPerFile.get(sourceFilePath); + if (diagnostics) { + state.semanticDiagnosticsPerFile.set( + sourceFilePath, + oldState.hasReusableDiagnostic ? convertToDiagnostics(diagnostics, sourceFilePath, newProgram) : repopulateDiagnostics(diagnostics, newProgram) + ); + (state.semanticDiagnosticsFromOldState ?? (state.semanticDiagnosticsFromOldState = /* @__PURE__ */ new Set())).add(sourceFilePath); + } + } + } + if (canCopyEmitSignatures) { + const oldEmitSignature = oldState.emitSignatures.get(sourceFilePath); + if (oldEmitSignature) { + (state.emitSignatures ?? (state.emitSignatures = /* @__PURE__ */ new Map())).set(sourceFilePath, getEmitSignatureFromOldSignature(compilerOptions, oldState.compilerOptions, oldEmitSignature)); + } + } + }); + if (useOldState && forEachEntry(oldState.fileInfos, (info, sourceFilePath) => { + if (state.fileInfos.has(sourceFilePath)) return false; + if (info.affectsGlobalScope) return true; + state.buildInfoEmitPending = true; + return !!outFilePath; + })) { + BuilderState.getAllFilesExcludingDefaultLibraryFile( + state, + newProgram, + /*firstSourceFile*/ + void 0 + ).forEach((file) => addFileToChangeSet(file.resolvedPath)); + } else if (oldCompilerOptions) { + const pendingEmitKind = compilerOptionsAffectEmit(compilerOptions, oldCompilerOptions) ? getBuilderFileEmit(compilerOptions) : getPendingEmitKind(compilerOptions, oldCompilerOptions); + if (pendingEmitKind !== 0 /* None */) { + if (!outFilePath) { + newProgram.getSourceFiles().forEach((f) => { + if (!state.changedFilesSet.has(f.resolvedPath)) { + addToAffectedFilesPendingEmit( + state, + f.resolvedPath, + pendingEmitKind + ); + } + }); + Debug.assert(!state.seenAffectedFiles || !state.seenAffectedFiles.size); + state.seenAffectedFiles = state.seenAffectedFiles || /* @__PURE__ */ new Set(); + } else if (!state.changedFilesSet.size) { + state.programEmitPending = state.programEmitPending ? state.programEmitPending | pendingEmitKind : pendingEmitKind; + } + state.buildInfoEmitPending = true; + } + } + if (useOldState && state.semanticDiagnosticsPerFile.size !== state.fileInfos.size && oldState.checkPending !== state.checkPending) state.buildInfoEmitPending = true; + return state; + function addFileToChangeSet(path) { + state.changedFilesSet.add(path); + if (outFilePath) { + canCopySemanticDiagnostics = false; + canCopyEmitDiagnostics = false; + state.semanticDiagnosticsFromOldState = void 0; + state.semanticDiagnosticsPerFile.clear(); + state.emitDiagnosticsPerFile = void 0; + } + state.buildInfoEmitPending = true; + state.programEmitPending = void 0; + } +} +function getEmitSignatureFromOldSignature(options, oldOptions, oldEmitSignature) { + return !!options.declarationMap === !!oldOptions.declarationMap ? ( + // Use same format of signature + oldEmitSignature + ) : ( + // Convert to different format + isString(oldEmitSignature) ? [oldEmitSignature] : oldEmitSignature[0] + ); +} +function repopulateDiagnostics(diagnostics, newProgram) { + if (!diagnostics.length) return diagnostics; + return sameMap(diagnostics, (diag2) => { + if (isString(diag2.messageText)) return diag2; + const repopulatedChain = convertOrRepopulateDiagnosticMessageChain(diag2.messageText, diag2.file, newProgram, (chain) => { + var _a; + return (_a = chain.repopulateInfo) == null ? void 0 : _a.call(chain); + }); + return repopulatedChain === diag2.messageText ? diag2 : { ...diag2, messageText: repopulatedChain }; + }); +} +function convertOrRepopulateDiagnosticMessageChain(chain, sourceFile, newProgram, repopulateInfo) { + const info = repopulateInfo(chain); + if (info === true) { + return { + ...createModeMismatchDetails(sourceFile), + next: convertOrRepopulateDiagnosticMessageChainArray(chain.next, sourceFile, newProgram, repopulateInfo) + }; + } else if (info) { + return { + ...createModuleNotFoundChain(sourceFile, newProgram, info.moduleReference, info.mode, info.packageName || info.moduleReference), + next: convertOrRepopulateDiagnosticMessageChainArray(chain.next, sourceFile, newProgram, repopulateInfo) + }; + } + const next = convertOrRepopulateDiagnosticMessageChainArray(chain.next, sourceFile, newProgram, repopulateInfo); + return next === chain.next ? chain : { ...chain, next }; +} +function convertOrRepopulateDiagnosticMessageChainArray(array, sourceFile, newProgram, repopulateInfo) { + return sameMap(array, (chain) => convertOrRepopulateDiagnosticMessageChain(chain, sourceFile, newProgram, repopulateInfo)); +} +function convertToDiagnostics(diagnostics, diagnosticFilePath, newProgram) { + if (!diagnostics.length) return emptyArray; + let buildInfoDirectory; + return diagnostics.map((diagnostic) => { + const result = convertToDiagnosticRelatedInformation(diagnostic, diagnosticFilePath, newProgram, toPathInBuildInfoDirectory); + result.reportsUnnecessary = diagnostic.reportsUnnecessary; + result.reportsDeprecated = diagnostic.reportDeprecated; + result.source = diagnostic.source; + result.skippedOn = diagnostic.skippedOn; + const { relatedInformation } = diagnostic; + result.relatedInformation = relatedInformation ? relatedInformation.length ? relatedInformation.map((r) => convertToDiagnosticRelatedInformation(r, diagnosticFilePath, newProgram, toPathInBuildInfoDirectory)) : [] : void 0; + return result; + }); + function toPathInBuildInfoDirectory(path) { + buildInfoDirectory ?? (buildInfoDirectory = getDirectoryPath(getNormalizedAbsolutePath(getTsBuildInfoEmitOutputFilePath(newProgram.getCompilerOptions()), newProgram.getCurrentDirectory()))); + return toPath(path, buildInfoDirectory, newProgram.getCanonicalFileName); + } +} +function convertToDiagnosticRelatedInformation(diagnostic, diagnosticFilePath, newProgram, toPath3) { + const { file } = diagnostic; + const sourceFile = file !== false ? newProgram.getSourceFileByPath(file ? toPath3(file) : diagnosticFilePath) : void 0; + return { + ...diagnostic, + file: sourceFile, + messageText: isString(diagnostic.messageText) ? diagnostic.messageText : convertOrRepopulateDiagnosticMessageChain(diagnostic.messageText, sourceFile, newProgram, (chain) => chain.info) + }; +} +function releaseCache(state) { + BuilderState.releaseCache(state); + state.program = void 0; +} +function assertSourceFileOkWithoutNextAffectedCall(state, sourceFile) { + Debug.assert(!sourceFile || !state.affectedFiles || state.affectedFiles[state.affectedFilesIndex - 1] !== sourceFile || !state.semanticDiagnosticsPerFile.has(sourceFile.resolvedPath)); +} +function getNextAffectedFile(state, cancellationToken, host) { + var _a; + while (true) { + const { affectedFiles } = state; + if (affectedFiles) { + const seenAffectedFiles = state.seenAffectedFiles; + let affectedFilesIndex = state.affectedFilesIndex; + while (affectedFilesIndex < affectedFiles.length) { + const affectedFile = affectedFiles[affectedFilesIndex]; + if (!seenAffectedFiles.has(affectedFile.resolvedPath)) { + state.affectedFilesIndex = affectedFilesIndex; + addToAffectedFilesPendingEmit( + state, + affectedFile.resolvedPath, + getBuilderFileEmit(state.compilerOptions) + ); + handleDtsMayChangeOfAffectedFile( + state, + affectedFile, + cancellationToken, + host + ); + return affectedFile; + } + affectedFilesIndex++; + } + state.changedFilesSet.delete(state.currentChangedFilePath); + state.currentChangedFilePath = void 0; + (_a = state.oldSignatures) == null ? void 0 : _a.clear(); + state.affectedFiles = void 0; + } + const nextKey = state.changedFilesSet.keys().next(); + if (nextKey.done) { + return void 0; + } + const compilerOptions = state.program.getCompilerOptions(); + if (compilerOptions.outFile) return state.program; + state.affectedFiles = BuilderState.getFilesAffectedByWithOldState( + state, + state.program, + nextKey.value, + cancellationToken, + host + ); + state.currentChangedFilePath = nextKey.value; + state.affectedFilesIndex = 0; + if (!state.seenAffectedFiles) state.seenAffectedFiles = /* @__PURE__ */ new Set(); + } +} +function clearAffectedFilesPendingEmit(state, emitOnlyDtsFiles, isForDtsErrors) { + var _a, _b; + if (!((_a = state.affectedFilesPendingEmit) == null ? void 0 : _a.size) && !state.programEmitPending) return; + if (!emitOnlyDtsFiles && !isForDtsErrors) { + state.affectedFilesPendingEmit = void 0; + state.programEmitPending = void 0; + } + (_b = state.affectedFilesPendingEmit) == null ? void 0 : _b.forEach((emitKind, path) => { + const pending = !isForDtsErrors ? emitKind & 7 /* AllJs */ : emitKind & (7 /* AllJs */ | 48 /* AllDtsEmit */); + if (!pending) state.affectedFilesPendingEmit.delete(path); + else state.affectedFilesPendingEmit.set(path, pending); + }); + if (state.programEmitPending) { + const pending = !isForDtsErrors ? state.programEmitPending & 7 /* AllJs */ : state.programEmitPending & (7 /* AllJs */ | 48 /* AllDtsEmit */); + if (!pending) state.programEmitPending = void 0; + else state.programEmitPending = pending; + } +} +function getPendingEmitKindWithSeen(optionsOrEmitKind, seenOldOptionsOrEmitKind, emitOnlyDtsFiles, isForDtsErrors) { + let pendingKind = getPendingEmitKind(optionsOrEmitKind, seenOldOptionsOrEmitKind); + if (emitOnlyDtsFiles) pendingKind = pendingKind & 56 /* AllDts */; + if (isForDtsErrors) pendingKind = pendingKind & 8 /* DtsErrors */; + return pendingKind; +} +function getBuilderFileEmitAllDts(isForDtsErrors) { + return !isForDtsErrors ? 56 /* AllDts */ : 8 /* DtsErrors */; +} +function getNextAffectedFilePendingEmit(state, emitOnlyDtsFiles, isForDtsErrors) { + var _a; + if (!((_a = state.affectedFilesPendingEmit) == null ? void 0 : _a.size)) return void 0; + return forEachEntry(state.affectedFilesPendingEmit, (emitKind, path) => { + var _a2; + const affectedFile = state.program.getSourceFileByPath(path); + if (!affectedFile || !sourceFileMayBeEmitted(affectedFile, state.program)) { + state.affectedFilesPendingEmit.delete(path); + return void 0; + } + const seenKind = (_a2 = state.seenEmittedFiles) == null ? void 0 : _a2.get(affectedFile.resolvedPath); + const pendingKind = getPendingEmitKindWithSeen( + emitKind, + seenKind, + emitOnlyDtsFiles, + isForDtsErrors + ); + if (pendingKind) return { affectedFile, emitKind: pendingKind }; + }); +} +function getNextPendingEmitDiagnosticsFile(state, isForDtsErrors) { + var _a; + if (!((_a = state.emitDiagnosticsPerFile) == null ? void 0 : _a.size)) return void 0; + return forEachEntry(state.emitDiagnosticsPerFile, (diagnostics, path) => { + var _a2; + const affectedFile = state.program.getSourceFileByPath(path); + if (!affectedFile || !sourceFileMayBeEmitted(affectedFile, state.program)) { + state.emitDiagnosticsPerFile.delete(path); + return void 0; + } + const seenKind = ((_a2 = state.seenEmittedFiles) == null ? void 0 : _a2.get(affectedFile.resolvedPath)) || 0 /* None */; + if (!(seenKind & getBuilderFileEmitAllDts(isForDtsErrors))) return { affectedFile, diagnostics, seenKind }; + }); +} +function removeDiagnosticsOfLibraryFiles(state) { + if (!state.cleanedDiagnosticsOfLibFiles) { + state.cleanedDiagnosticsOfLibFiles = true; + const options = state.program.getCompilerOptions(); + forEach(state.program.getSourceFiles(), (f) => state.program.isSourceFileDefaultLibrary(f) && !skipTypeCheckingIgnoringNoCheck(f, options, state.program) && removeSemanticDiagnosticsOf(state, f.resolvedPath)); + } +} +function handleDtsMayChangeOfAffectedFile(state, affectedFile, cancellationToken, host) { + removeSemanticDiagnosticsOf(state, affectedFile.resolvedPath); + if (state.allFilesExcludingDefaultLibraryFile === state.affectedFiles) { + removeDiagnosticsOfLibraryFiles(state); + BuilderState.updateShapeSignature( + state, + state.program, + affectedFile, + cancellationToken, + host + ); + return; + } + if (state.compilerOptions.assumeChangesOnlyAffectDirectDependencies) return; + handleDtsMayChangeOfReferencingExportOfAffectedFile( + state, + affectedFile, + cancellationToken, + host + ); +} +function handleDtsMayChangeOf(state, path, invalidateJsFiles, cancellationToken, host) { + removeSemanticDiagnosticsOf(state, path); + if (!state.changedFilesSet.has(path)) { + const sourceFile = state.program.getSourceFileByPath(path); + if (sourceFile) { + BuilderState.updateShapeSignature( + state, + state.program, + sourceFile, + cancellationToken, + host, + /*useFileVersionAsSignature*/ + true + ); + if (invalidateJsFiles) { + addToAffectedFilesPendingEmit( + state, + path, + getBuilderFileEmit(state.compilerOptions) + ); + } else if (getEmitDeclarations(state.compilerOptions)) { + addToAffectedFilesPendingEmit( + state, + path, + state.compilerOptions.declarationMap ? 56 /* AllDts */ : 24 /* Dts */ + ); + } + } + } +} +function removeSemanticDiagnosticsOf(state, path) { + if (!state.semanticDiagnosticsFromOldState) { + return true; + } + state.semanticDiagnosticsFromOldState.delete(path); + state.semanticDiagnosticsPerFile.delete(path); + return !state.semanticDiagnosticsFromOldState.size; +} +function isChangedSignature(state, path) { + const oldSignature = Debug.checkDefined(state.oldSignatures).get(path) || void 0; + const newSignature = Debug.checkDefined(state.fileInfos.get(path)).signature; + return newSignature !== oldSignature; +} +function handleDtsMayChangeOfGlobalScope(state, filePath, invalidateJsFiles, cancellationToken, host) { + var _a; + if (!((_a = state.fileInfos.get(filePath)) == null ? void 0 : _a.affectsGlobalScope)) return false; + BuilderState.getAllFilesExcludingDefaultLibraryFile( + state, + state.program, + /*firstSourceFile*/ + void 0 + ).forEach( + (file) => handleDtsMayChangeOf( + state, + file.resolvedPath, + invalidateJsFiles, + cancellationToken, + host + ) + ); + removeDiagnosticsOfLibraryFiles(state); + return true; +} +function handleDtsMayChangeOfReferencingExportOfAffectedFile(state, affectedFile, cancellationToken, host) { + var _a, _b; + if (!state.referencedMap || !state.changedFilesSet.has(affectedFile.resolvedPath)) return; + if (!isChangedSignature(state, affectedFile.resolvedPath)) return; + if (getIsolatedModules(state.compilerOptions)) { + const seenFileNamesMap = /* @__PURE__ */ new Map(); + seenFileNamesMap.set(affectedFile.resolvedPath, true); + const queue = BuilderState.getReferencedByPaths(state, affectedFile.resolvedPath); + while (queue.length > 0) { + const currentPath = queue.pop(); + if (!seenFileNamesMap.has(currentPath)) { + seenFileNamesMap.set(currentPath, true); + if (handleDtsMayChangeOfGlobalScope( + state, + currentPath, + /*invalidateJsFiles*/ + false, + cancellationToken, + host + )) return; + handleDtsMayChangeOf( + state, + currentPath, + /*invalidateJsFiles*/ + false, + cancellationToken, + host + ); + if (isChangedSignature(state, currentPath)) { + const currentSourceFile = state.program.getSourceFileByPath(currentPath); + queue.push(...BuilderState.getReferencedByPaths(state, currentSourceFile.resolvedPath)); + } + } + } + } + const seenFileAndExportsOfFile = /* @__PURE__ */ new Set(); + const invalidateJsFiles = !!((_a = affectedFile.symbol) == null ? void 0 : _a.exports) && !!forEachEntry( + affectedFile.symbol.exports, + (exported) => { + if ((exported.flags & 128 /* ConstEnum */) !== 0) return true; + const aliased = skipAlias(exported, state.program.getTypeChecker()); + if (aliased === exported) return false; + return (aliased.flags & 128 /* ConstEnum */) !== 0 && some(aliased.declarations, (d) => getSourceFileOfNode(d) === affectedFile); + } + ); + (_b = state.referencedMap.getKeys(affectedFile.resolvedPath)) == null ? void 0 : _b.forEach((exportedFromPath) => { + if (handleDtsMayChangeOfGlobalScope(state, exportedFromPath, invalidateJsFiles, cancellationToken, host)) return true; + const references = state.referencedMap.getKeys(exportedFromPath); + return references && forEachKey(references, (filePath) => handleDtsMayChangeOfFileAndExportsOfFile( + state, + filePath, + invalidateJsFiles, + seenFileAndExportsOfFile, + cancellationToken, + host + )); + }); +} +function handleDtsMayChangeOfFileAndExportsOfFile(state, filePath, invalidateJsFiles, seenFileAndExportsOfFile, cancellationToken, host) { + var _a; + if (!tryAddToSet(seenFileAndExportsOfFile, filePath)) return void 0; + if (handleDtsMayChangeOfGlobalScope(state, filePath, invalidateJsFiles, cancellationToken, host)) return true; + handleDtsMayChangeOf(state, filePath, invalidateJsFiles, cancellationToken, host); + (_a = state.referencedMap.getKeys(filePath)) == null ? void 0 : _a.forEach( + (referencingFilePath) => handleDtsMayChangeOfFileAndExportsOfFile( + state, + referencingFilePath, + invalidateJsFiles, + seenFileAndExportsOfFile, + cancellationToken, + host + ) + ); + return void 0; +} +function getSemanticDiagnosticsOfFile(state, sourceFile, cancellationToken, semanticDiagnosticsPerFile) { + if (state.compilerOptions.noCheck) return emptyArray; + return concatenate( + getBinderAndCheckerDiagnosticsOfFile(state, sourceFile, cancellationToken, semanticDiagnosticsPerFile), + state.program.getProgramDiagnostics(sourceFile) + ); +} +function getBinderAndCheckerDiagnosticsOfFile(state, sourceFile, cancellationToken, semanticDiagnosticsPerFile) { + semanticDiagnosticsPerFile ?? (semanticDiagnosticsPerFile = state.semanticDiagnosticsPerFile); + const path = sourceFile.resolvedPath; + const cachedDiagnostics = semanticDiagnosticsPerFile.get(path); + if (cachedDiagnostics) { + return filterSemanticDiagnostics(cachedDiagnostics, state.compilerOptions); + } + const diagnostics = state.program.getBindAndCheckDiagnostics(sourceFile, cancellationToken); + semanticDiagnosticsPerFile.set(path, diagnostics); + state.buildInfoEmitPending = true; + return filterSemanticDiagnostics(diagnostics, state.compilerOptions); +} +function isIncrementalBundleEmitBuildInfo(info) { + var _a; + return !!((_a = info.options) == null ? void 0 : _a.outFile); +} +function isIncrementalBuildInfo(info) { + return !!info.fileNames; +} +function isNonIncrementalBuildInfo(info) { + return !isIncrementalBuildInfo(info) && !!info.root; +} +function ensureHasErrorsForState(state) { + if (state.hasErrors !== void 0) return; + if (isIncrementalCompilation(state.compilerOptions)) { + state.hasErrors = !some(state.program.getSourceFiles(), (f) => { + var _a, _b; + const bindAndCheckDiagnostics = state.semanticDiagnosticsPerFile.get(f.resolvedPath); + return bindAndCheckDiagnostics === void 0 || // Missing semantic diagnostics in cache will be encoded in buildInfo + !!bindAndCheckDiagnostics.length || // cached semantic diagnostics will be encoded in buildInfo + !!((_b = (_a = state.emitDiagnosticsPerFile) == null ? void 0 : _a.get(f.resolvedPath)) == null ? void 0 : _b.length); + }) && (hasSyntaxOrGlobalErrors(state) || some(state.program.getSourceFiles(), (f) => !!state.program.getProgramDiagnostics(f).length)); + } else { + state.hasErrors = some(state.program.getSourceFiles(), (f) => { + var _a, _b; + const bindAndCheckDiagnostics = state.semanticDiagnosticsPerFile.get(f.resolvedPath); + return !!(bindAndCheckDiagnostics == null ? void 0 : bindAndCheckDiagnostics.length) || // If has semantic diagnostics + !!((_b = (_a = state.emitDiagnosticsPerFile) == null ? void 0 : _a.get(f.resolvedPath)) == null ? void 0 : _b.length); + }) || hasSyntaxOrGlobalErrors(state); + } +} +function hasSyntaxOrGlobalErrors(state) { + return !!state.program.getConfigFileParsingDiagnostics().length || !!state.program.getSyntacticDiagnostics().length || !!state.program.getOptionsDiagnostics().length || !!state.program.getGlobalDiagnostics().length; +} +function getBuildInfoEmitPending(state) { + ensureHasErrorsForState(state); + return state.buildInfoEmitPending ?? (state.buildInfoEmitPending = !!state.hasErrorsFromOldState !== !!state.hasErrors); +} +function getBuildInfo2(state) { + var _a, _b; + const currentDirectory = state.program.getCurrentDirectory(); + const buildInfoDirectory = getDirectoryPath(getNormalizedAbsolutePath(getTsBuildInfoEmitOutputFilePath(state.compilerOptions), currentDirectory)); + const latestChangedDtsFile = state.latestChangedDtsFile ? relativeToBuildInfoEnsuringAbsolutePath(state.latestChangedDtsFile) : void 0; + const fileNames = []; + const fileNameToFileId = /* @__PURE__ */ new Map(); + const rootFileNames = new Set(state.program.getRootFileNames().map((f) => toPath(f, currentDirectory, state.program.getCanonicalFileName))); + ensureHasErrorsForState(state); + if (!isIncrementalCompilation(state.compilerOptions)) { + const buildInfo2 = { + root: arrayFrom(rootFileNames, (r) => relativeToBuildInfo(r)), + errors: state.hasErrors ? true : void 0, + checkPending: state.checkPending, + version + }; + return buildInfo2; + } + const root = []; + if (state.compilerOptions.outFile) { + const fileInfos2 = arrayFrom(state.fileInfos.entries(), ([key, value]) => { + const fileId = toFileId(key); + tryAddRoot(key, fileId); + return value.impliedFormat ? { version: value.version, impliedFormat: value.impliedFormat, signature: void 0, affectsGlobalScope: void 0 } : value.version; + }); + const buildInfo2 = { + fileNames, + fileInfos: fileInfos2, + root, + resolvedRoot: toResolvedRoot(), + options: toIncrementalBuildInfoCompilerOptions(state.compilerOptions), + semanticDiagnosticsPerFile: !state.changedFilesSet.size ? toIncrementalBuildInfoDiagnostics() : void 0, + emitDiagnosticsPerFile: toIncrementalBuildInfoEmitDiagnostics(), + changeFileSet: toChangeFileSet(), + outSignature: state.outSignature, + latestChangedDtsFile, + pendingEmit: !state.programEmitPending ? void 0 : ( + // Pending is undefined or None is encoded as undefined + state.programEmitPending === getBuilderFileEmit(state.compilerOptions) ? false : ( + // Pending emit is same as deteremined by compilerOptions + state.programEmitPending + ) + ), + // Actual value + errors: state.hasErrors ? true : void 0, + checkPending: state.checkPending, + version + }; + return buildInfo2; + } + let fileIdsList; + let fileNamesToFileIdListId; + let emitSignatures; + const fileInfos = arrayFrom(state.fileInfos.entries(), ([key, value]) => { + var _a2, _b2; + const fileId = toFileId(key); + tryAddRoot(key, fileId); + Debug.assert(fileNames[fileId - 1] === relativeToBuildInfo(key)); + const oldSignature = (_a2 = state.oldSignatures) == null ? void 0 : _a2.get(key); + const actualSignature = oldSignature !== void 0 ? oldSignature || void 0 : value.signature; + if (state.compilerOptions.composite) { + const file = state.program.getSourceFileByPath(key); + if (!isJsonSourceFile(file) && sourceFileMayBeEmitted(file, state.program)) { + const emitSignature = (_b2 = state.emitSignatures) == null ? void 0 : _b2.get(key); + if (emitSignature !== actualSignature) { + emitSignatures = append( + emitSignatures, + emitSignature === void 0 ? fileId : ( + // There is no emit, encode as false + // fileId, signature: emptyArray if signature only differs in dtsMap option than our own compilerOptions otherwise EmitSignature + [fileId, !isString(emitSignature) && emitSignature[0] === actualSignature ? emptyArray : emitSignature] + ) + ); + } + } + } + return value.version === actualSignature ? value.affectsGlobalScope || value.impliedFormat ? ( + // If file version is same as signature, dont serialize signature + { version: value.version, signature: void 0, affectsGlobalScope: value.affectsGlobalScope, impliedFormat: value.impliedFormat } + ) : ( + // If file info only contains version and signature and both are same we can just write string + value.version + ) : actualSignature !== void 0 ? ( + // If signature is not same as version, encode signature in the fileInfo + oldSignature === void 0 ? ( + // If we havent computed signature, use fileInfo as is + value + ) : ( + // Serialize fileInfo with new updated signature + { version: value.version, signature: actualSignature, affectsGlobalScope: value.affectsGlobalScope, impliedFormat: value.impliedFormat } + ) + ) : ( + // Signature of the FileInfo is undefined, serialize it as false + { version: value.version, signature: false, affectsGlobalScope: value.affectsGlobalScope, impliedFormat: value.impliedFormat } + ); + }); + let referencedMap; + if ((_a = state.referencedMap) == null ? void 0 : _a.size()) { + referencedMap = arrayFrom(state.referencedMap.keys()).sort(compareStringsCaseSensitive).map((key) => [ + toFileId(key), + toFileIdListId(state.referencedMap.getValues(key)) + ]); + } + const semanticDiagnosticsPerFile = toIncrementalBuildInfoDiagnostics(); + let affectedFilesPendingEmit; + if ((_b = state.affectedFilesPendingEmit) == null ? void 0 : _b.size) { + const fullEmitForOptions = getBuilderFileEmit(state.compilerOptions); + const seenFiles = /* @__PURE__ */ new Set(); + for (const path of arrayFrom(state.affectedFilesPendingEmit.keys()).sort(compareStringsCaseSensitive)) { + if (tryAddToSet(seenFiles, path)) { + const file = state.program.getSourceFileByPath(path); + if (!file || !sourceFileMayBeEmitted(file, state.program)) continue; + const fileId = toFileId(path), pendingEmit = state.affectedFilesPendingEmit.get(path); + affectedFilesPendingEmit = append( + affectedFilesPendingEmit, + pendingEmit === fullEmitForOptions ? fileId : ( + // Pending full emit per options + pendingEmit === 24 /* Dts */ ? [fileId] : ( + // Pending on Dts only + [fileId, pendingEmit] + ) + ) + // Anything else + ); + } + } + } + const buildInfo = { + fileNames, + fileIdsList, + fileInfos, + root, + resolvedRoot: toResolvedRoot(), + options: toIncrementalBuildInfoCompilerOptions(state.compilerOptions), + referencedMap, + semanticDiagnosticsPerFile, + emitDiagnosticsPerFile: toIncrementalBuildInfoEmitDiagnostics(), + changeFileSet: toChangeFileSet(), + affectedFilesPendingEmit, + emitSignatures, + latestChangedDtsFile, + errors: state.hasErrors ? true : void 0, + checkPending: state.checkPending, + version + }; + return buildInfo; + function relativeToBuildInfoEnsuringAbsolutePath(path) { + return relativeToBuildInfo(getNormalizedAbsolutePath(path, currentDirectory)); + } + function relativeToBuildInfo(path) { + return ensurePathIsNonModuleName(getRelativePathFromDirectory(buildInfoDirectory, path, state.program.getCanonicalFileName)); + } + function toFileId(path) { + let fileId = fileNameToFileId.get(path); + if (fileId === void 0) { + fileNames.push(relativeToBuildInfo(path)); + fileNameToFileId.set(path, fileId = fileNames.length); + } + return fileId; + } + function toFileIdListId(set) { + const fileIds = arrayFrom(set.keys(), toFileId).sort(compareValues); + const key = fileIds.join(); + let fileIdListId = fileNamesToFileIdListId == null ? void 0 : fileNamesToFileIdListId.get(key); + if (fileIdListId === void 0) { + fileIdsList = append(fileIdsList, fileIds); + (fileNamesToFileIdListId ?? (fileNamesToFileIdListId = /* @__PURE__ */ new Map())).set(key, fileIdListId = fileIdsList.length); + } + return fileIdListId; + } + function tryAddRoot(path, fileId) { + const file = state.program.getSourceFile(path); + if (!state.program.getFileIncludeReasons().get(file.path).some((r) => r.kind === 0 /* RootFile */)) return; + if (!root.length) return root.push(fileId); + const last2 = root[root.length - 1]; + const isLastStartEnd = isArray(last2); + if (isLastStartEnd && last2[1] === fileId - 1) return last2[1] = fileId; + if (isLastStartEnd || root.length === 1 || last2 !== fileId - 1) return root.push(fileId); + const lastButOne = root[root.length - 2]; + if (!isNumber(lastButOne) || lastButOne !== last2 - 1) return root.push(fileId); + root[root.length - 2] = [lastButOne, fileId]; + return root.length = root.length - 1; + } + function toResolvedRoot() { + let result; + rootFileNames.forEach((path) => { + const file = state.program.getSourceFileByPath(path); + if (file && path !== file.resolvedPath) { + result = append(result, [toFileId(file.resolvedPath), toFileId(path)]); + } + }); + return result; + } + function toIncrementalBuildInfoCompilerOptions(options) { + let result; + const { optionsNameMap } = getOptionsNameMap(); + for (const name of getOwnKeys(options).sort(compareStringsCaseSensitive)) { + const optionInfo = optionsNameMap.get(name.toLowerCase()); + if (optionInfo == null ? void 0 : optionInfo.affectsBuildInfo) { + (result || (result = {}))[name] = toReusableCompilerOptionValue( + optionInfo, + options[name] + ); + } + } + return result; + } + function toReusableCompilerOptionValue(option, value) { + if (option) { + Debug.assert(option.type !== "listOrElement"); + if (option.type === "list") { + const values = value; + if (option.element.isFilePath && values.length) { + return values.map(relativeToBuildInfoEnsuringAbsolutePath); + } + } else if (option.isFilePath) { + return relativeToBuildInfoEnsuringAbsolutePath(value); + } + } + return value; + } + function toIncrementalBuildInfoDiagnostics() { + let result; + state.fileInfos.forEach((_value, key) => { + const value = state.semanticDiagnosticsPerFile.get(key); + if (!value) { + if (!state.changedFilesSet.has(key)) result = append(result, toFileId(key)); + } else if (value.length) { + result = append(result, [ + toFileId(key), + toReusableDiagnostic(value, key) + ]); + } + }); + return result; + } + function toIncrementalBuildInfoEmitDiagnostics() { + var _a2; + let result; + if (!((_a2 = state.emitDiagnosticsPerFile) == null ? void 0 : _a2.size)) return result; + for (const key of arrayFrom(state.emitDiagnosticsPerFile.keys()).sort(compareStringsCaseSensitive)) { + const value = state.emitDiagnosticsPerFile.get(key); + result = append(result, [ + toFileId(key), + toReusableDiagnostic(value, key) + ]); + } + return result; + } + function toReusableDiagnostic(diagnostics, diagnosticFilePath) { + Debug.assert(!!diagnostics.length); + return diagnostics.map((diagnostic) => { + const result = toReusableDiagnosticRelatedInformation(diagnostic, diagnosticFilePath); + result.reportsUnnecessary = diagnostic.reportsUnnecessary; + result.reportDeprecated = diagnostic.reportsDeprecated; + result.source = diagnostic.source; + result.skippedOn = diagnostic.skippedOn; + const { relatedInformation } = diagnostic; + result.relatedInformation = relatedInformation ? relatedInformation.length ? relatedInformation.map((r) => toReusableDiagnosticRelatedInformation(r, diagnosticFilePath)) : [] : void 0; + return result; + }); + } + function toReusableDiagnosticRelatedInformation(diagnostic, diagnosticFilePath) { + const { file } = diagnostic; + return { + ...diagnostic, + file: file ? file.resolvedPath === diagnosticFilePath ? void 0 : relativeToBuildInfo(file.resolvedPath) : false, + messageText: isString(diagnostic.messageText) ? diagnostic.messageText : toReusableDiagnosticMessageChain(diagnostic.messageText) + }; + } + function toReusableDiagnosticMessageChain(chain) { + if (chain.repopulateInfo) { + return { + info: chain.repopulateInfo(), + next: toReusableDiagnosticMessageChainArray(chain.next) + }; + } + const next = toReusableDiagnosticMessageChainArray(chain.next); + return next === chain.next ? chain : { ...chain, next }; + } + function toReusableDiagnosticMessageChainArray(array) { + if (!array) return array; + return forEach(array, (chain, index) => { + const reusable = toReusableDiagnosticMessageChain(chain); + if (chain === reusable) return void 0; + const result = index > 0 ? array.slice(0, index - 1) : []; + result.push(reusable); + for (let i = index + 1; i < array.length; i++) { + result.push(toReusableDiagnosticMessageChain(array[i])); + } + return result; + }) || array; + } + function toChangeFileSet() { + let changeFileSet; + if (state.changedFilesSet.size) { + for (const path of arrayFrom(state.changedFilesSet.keys()).sort(compareStringsCaseSensitive)) { + changeFileSet = append(changeFileSet, toFileId(path)); + } + } + return changeFileSet; + } +} +function getBuilderCreationParameters(newProgramOrRootNames, hostOrOptions, oldProgramOrHost, configFileParsingDiagnosticsOrOldProgram, configFileParsingDiagnostics, projectReferences) { + let host; + let newProgram; + let oldProgram; + if (newProgramOrRootNames === void 0) { + Debug.assert(hostOrOptions === void 0); + host = oldProgramOrHost; + oldProgram = configFileParsingDiagnosticsOrOldProgram; + Debug.assert(!!oldProgram); + newProgram = oldProgram.getProgram(); + } else if (isArray(newProgramOrRootNames)) { + oldProgram = configFileParsingDiagnosticsOrOldProgram; + newProgram = createProgram({ + rootNames: newProgramOrRootNames, + options: hostOrOptions, + host: oldProgramOrHost, + oldProgram: oldProgram && oldProgram.getProgramOrUndefined(), + configFileParsingDiagnostics, + projectReferences + }); + host = oldProgramOrHost; + } else { + newProgram = newProgramOrRootNames; + host = hostOrOptions; + oldProgram = oldProgramOrHost; + configFileParsingDiagnostics = configFileParsingDiagnosticsOrOldProgram; + } + return { host, newProgram, oldProgram, configFileParsingDiagnostics: configFileParsingDiagnostics || emptyArray }; +} +function getTextHandlingSourceMapForSignature(text, data) { + return (data == null ? void 0 : data.sourceMapUrlPos) !== void 0 ? text.substring(0, data.sourceMapUrlPos) : text; +} +function computeSignatureWithDiagnostics(program, sourceFile, text, host, data) { + var _a; + text = getTextHandlingSourceMapForSignature(text, data); + let sourceFileDirectory; + if ((_a = data == null ? void 0 : data.diagnostics) == null ? void 0 : _a.length) { + text += data.diagnostics.map((diagnostic) => `${locationInfo(diagnostic)}${DiagnosticCategory[diagnostic.category]}${diagnostic.code}: ${flattenDiagnosticMessageText2(diagnostic.messageText)}`).join("\n"); + } + return (host.createHash ?? generateDjb2Hash)(text); + function flattenDiagnosticMessageText2(diagnostic) { + return isString(diagnostic) ? diagnostic : diagnostic === void 0 ? "" : !diagnostic.next ? diagnostic.messageText : diagnostic.messageText + diagnostic.next.map(flattenDiagnosticMessageText2).join("\n"); + } + function locationInfo(diagnostic) { + if (diagnostic.file.resolvedPath === sourceFile.resolvedPath) return `(${diagnostic.start},${diagnostic.length})`; + if (sourceFileDirectory === void 0) sourceFileDirectory = getDirectoryPath(sourceFile.resolvedPath); + return `${ensurePathIsNonModuleName(getRelativePathFromDirectory( + sourceFileDirectory, + diagnostic.file.resolvedPath, + program.getCanonicalFileName + ))}(${diagnostic.start},${diagnostic.length})`; + } +} +function computeSignature(text, host, data) { + return (host.createHash ?? generateDjb2Hash)(getTextHandlingSourceMapForSignature(text, data)); +} +function createBuilderProgram(kind, { newProgram, host, oldProgram, configFileParsingDiagnostics }) { + let oldState = oldProgram && oldProgram.state; + if (oldState && newProgram === oldState.program && configFileParsingDiagnostics === newProgram.getConfigFileParsingDiagnostics()) { + newProgram = void 0; + oldState = void 0; + return oldProgram; + } + const state = createBuilderProgramState(newProgram, oldState); + newProgram.getBuildInfo = () => getBuildInfo2(toBuilderProgramStateWithDefinedProgram(state)); + newProgram = void 0; + oldProgram = void 0; + oldState = void 0; + const builderProgram = createRedirectedBuilderProgram(state, configFileParsingDiagnostics); + builderProgram.state = state; + builderProgram.hasChangedEmitSignature = () => !!state.hasChangedEmitSignature; + builderProgram.getAllDependencies = (sourceFile) => BuilderState.getAllDependencies( + state, + Debug.checkDefined(state.program), + sourceFile + ); + builderProgram.getSemanticDiagnostics = getSemanticDiagnostics; + builderProgram.getDeclarationDiagnostics = getDeclarationDiagnostics2; + builderProgram.emit = emit; + builderProgram.releaseProgram = () => releaseCache(state); + if (kind === 0 /* SemanticDiagnosticsBuilderProgram */) { + builderProgram.getSemanticDiagnosticsOfNextAffectedFile = getSemanticDiagnosticsOfNextAffectedFile; + } else if (kind === 1 /* EmitAndSemanticDiagnosticsBuilderProgram */) { + builderProgram.getSemanticDiagnosticsOfNextAffectedFile = getSemanticDiagnosticsOfNextAffectedFile; + builderProgram.emitNextAffectedFile = emitNextAffectedFile; + builderProgram.emitBuildInfo = emitBuildInfo; + } else { + notImplemented(); + } + return builderProgram; + function emitBuildInfo(writeFile2, cancellationToken) { + Debug.assert(isBuilderProgramStateWithDefinedProgram(state)); + if (getBuildInfoEmitPending(state)) { + const result = state.program.emitBuildInfo( + writeFile2 || maybeBind(host, host.writeFile), + cancellationToken + ); + state.buildInfoEmitPending = false; + return result; + } + return emitSkippedWithNoDiagnostics; + } + function emitNextAffectedFileOrDtsErrors(writeFile2, cancellationToken, emitOnlyDtsFiles, customTransformers, isForDtsErrors) { + var _a, _b, _c, _d; + Debug.assert(isBuilderProgramStateWithDefinedProgram(state)); + let affected = getNextAffectedFile(state, cancellationToken, host); + const programEmitKind = getBuilderFileEmit(state.compilerOptions); + let emitKind = !isForDtsErrors ? emitOnlyDtsFiles ? programEmitKind & 56 /* AllDts */ : programEmitKind : 8 /* DtsErrors */; + if (!affected) { + if (!state.compilerOptions.outFile) { + const pendingAffectedFile = getNextAffectedFilePendingEmit( + state, + emitOnlyDtsFiles, + isForDtsErrors + ); + if (pendingAffectedFile) { + ({ affectedFile: affected, emitKind } = pendingAffectedFile); + } else { + const pendingForDiagnostics = getNextPendingEmitDiagnosticsFile( + state, + isForDtsErrors + ); + if (pendingForDiagnostics) { + (state.seenEmittedFiles ?? (state.seenEmittedFiles = /* @__PURE__ */ new Map())).set( + pendingForDiagnostics.affectedFile.resolvedPath, + pendingForDiagnostics.seenKind | getBuilderFileEmitAllDts(isForDtsErrors) + ); + return { + result: { emitSkipped: true, diagnostics: pendingForDiagnostics.diagnostics }, + affected: pendingForDiagnostics.affectedFile + }; + } + } + } else { + if (state.programEmitPending) { + emitKind = getPendingEmitKindWithSeen( + state.programEmitPending, + state.seenProgramEmit, + emitOnlyDtsFiles, + isForDtsErrors + ); + if (emitKind) affected = state.program; + } + if (!affected && ((_a = state.emitDiagnosticsPerFile) == null ? void 0 : _a.size)) { + const seenKind = state.seenProgramEmit || 0 /* None */; + if (!(seenKind & getBuilderFileEmitAllDts(isForDtsErrors))) { + state.seenProgramEmit = getBuilderFileEmitAllDts(isForDtsErrors) | seenKind; + const diagnostics = []; + state.emitDiagnosticsPerFile.forEach((d) => addRange(diagnostics, d)); + return { + result: { emitSkipped: true, diagnostics }, + affected: state.program + }; + } + } + } + if (!affected) { + if (isForDtsErrors || !getBuildInfoEmitPending(state)) return void 0; + const affected2 = state.program; + const result2 = affected2.emitBuildInfo( + writeFile2 || maybeBind(host, host.writeFile), + cancellationToken + ); + state.buildInfoEmitPending = false; + return { result: result2, affected: affected2 }; + } + } + let emitOnly; + if (emitKind & 7 /* AllJs */) emitOnly = 0 /* Js */; + if (emitKind & 56 /* AllDts */) emitOnly = emitOnly === void 0 ? 1 /* Dts */ : void 0; + const result = !isForDtsErrors ? state.program.emit( + affected === state.program ? void 0 : affected, + getWriteFileCallback(writeFile2, customTransformers), + cancellationToken, + emitOnly, + customTransformers, + /*forceDtsEmit*/ + void 0, + /*skipBuildInfo*/ + true + ) : { + emitSkipped: true, + diagnostics: state.program.getDeclarationDiagnostics( + affected === state.program ? void 0 : affected, + cancellationToken + ) + }; + if (affected !== state.program) { + const affectedSourceFile = affected; + state.seenAffectedFiles.add(affectedSourceFile.resolvedPath); + if (state.affectedFilesIndex !== void 0) state.affectedFilesIndex++; + state.buildInfoEmitPending = true; + const existing = ((_b = state.seenEmittedFiles) == null ? void 0 : _b.get(affectedSourceFile.resolvedPath)) || 0 /* None */; + (state.seenEmittedFiles ?? (state.seenEmittedFiles = /* @__PURE__ */ new Map())).set(affectedSourceFile.resolvedPath, emitKind | existing); + const existingPending = ((_c = state.affectedFilesPendingEmit) == null ? void 0 : _c.get(affectedSourceFile.resolvedPath)) || programEmitKind; + const pendingKind = getPendingEmitKind(existingPending, emitKind | existing); + if (pendingKind) (state.affectedFilesPendingEmit ?? (state.affectedFilesPendingEmit = /* @__PURE__ */ new Map())).set(affectedSourceFile.resolvedPath, pendingKind); + else (_d = state.affectedFilesPendingEmit) == null ? void 0 : _d.delete(affectedSourceFile.resolvedPath); + if (result.diagnostics.length) (state.emitDiagnosticsPerFile ?? (state.emitDiagnosticsPerFile = /* @__PURE__ */ new Map())).set(affectedSourceFile.resolvedPath, result.diagnostics); + } else { + state.changedFilesSet.clear(); + state.programEmitPending = state.changedFilesSet.size ? getPendingEmitKind(programEmitKind, emitKind) : state.programEmitPending ? getPendingEmitKind(state.programEmitPending, emitKind) : void 0; + state.seenProgramEmit = emitKind | (state.seenProgramEmit || 0 /* None */); + setEmitDiagnosticsPerFile(result.diagnostics); + state.buildInfoEmitPending = true; + } + return { result, affected }; + } + function setEmitDiagnosticsPerFile(diagnostics) { + let emitDiagnosticsPerFile; + diagnostics.forEach((d) => { + if (!d.file) return; + let diagnostics2 = emitDiagnosticsPerFile == null ? void 0 : emitDiagnosticsPerFile.get(d.file.resolvedPath); + if (!diagnostics2) (emitDiagnosticsPerFile ?? (emitDiagnosticsPerFile = /* @__PURE__ */ new Map())).set(d.file.resolvedPath, diagnostics2 = []); + diagnostics2.push(d); + }); + if (emitDiagnosticsPerFile) state.emitDiagnosticsPerFile = emitDiagnosticsPerFile; + } + function emitNextAffectedFile(writeFile2, cancellationToken, emitOnlyDtsFiles, customTransformers) { + return emitNextAffectedFileOrDtsErrors( + writeFile2, + cancellationToken, + emitOnlyDtsFiles, + customTransformers, + /*isForDtsErrors*/ + false + ); + } + function getWriteFileCallback(writeFile2, customTransformers) { + Debug.assert(isBuilderProgramStateWithDefinedProgram(state)); + if (!getEmitDeclarations(state.compilerOptions)) return writeFile2 || maybeBind(host, host.writeFile); + return (fileName, text, writeByteOrderMark, onError, sourceFiles, data) => { + var _a, _b, _c; + if (isDeclarationFileName(fileName)) { + if (!state.compilerOptions.outFile) { + Debug.assert((sourceFiles == null ? void 0 : sourceFiles.length) === 1); + let emitSignature; + if (!customTransformers) { + const file = sourceFiles[0]; + const info = state.fileInfos.get(file.resolvedPath); + if (info.signature === file.version) { + const signature = computeSignatureWithDiagnostics( + state.program, + file, + text, + host, + data + ); + if (!((_a = data == null ? void 0 : data.diagnostics) == null ? void 0 : _a.length)) emitSignature = signature; + if (signature !== file.version) { + if (host.storeSignatureInfo) (state.signatureInfo ?? (state.signatureInfo = /* @__PURE__ */ new Map())).set(file.resolvedPath, 1 /* StoredSignatureAtEmit */); + if (state.affectedFiles) { + const existing = (_b = state.oldSignatures) == null ? void 0 : _b.get(file.resolvedPath); + if (existing === void 0) (state.oldSignatures ?? (state.oldSignatures = /* @__PURE__ */ new Map())).set(file.resolvedPath, info.signature || false); + info.signature = signature; + } else { + info.signature = signature; + } + } + } + } + if (state.compilerOptions.composite) { + const filePath = sourceFiles[0].resolvedPath; + emitSignature = handleNewSignature((_c = state.emitSignatures) == null ? void 0 : _c.get(filePath), emitSignature); + if (!emitSignature) return data.skippedDtsWrite = true; + (state.emitSignatures ?? (state.emitSignatures = /* @__PURE__ */ new Map())).set(filePath, emitSignature); + } + } else if (state.compilerOptions.composite) { + const newSignature = handleNewSignature( + state.outSignature, + /*newSignature*/ + void 0 + ); + if (!newSignature) return data.skippedDtsWrite = true; + state.outSignature = newSignature; + } + } + if (writeFile2) writeFile2(fileName, text, writeByteOrderMark, onError, sourceFiles, data); + else if (host.writeFile) host.writeFile(fileName, text, writeByteOrderMark, onError, sourceFiles, data); + else state.program.writeFile(fileName, text, writeByteOrderMark, onError, sourceFiles, data); + function handleNewSignature(oldSignatureFormat, newSignature) { + const oldSignature = !oldSignatureFormat || isString(oldSignatureFormat) ? oldSignatureFormat : oldSignatureFormat[0]; + newSignature ?? (newSignature = computeSignature(text, host, data)); + if (newSignature === oldSignature) { + if (oldSignatureFormat === oldSignature) return void 0; + else if (data) data.differsOnlyInMap = true; + else data = { differsOnlyInMap: true }; + } else { + state.hasChangedEmitSignature = true; + state.latestChangedDtsFile = fileName; + } + return newSignature; + } + }; + } + function emit(targetSourceFile, writeFile2, cancellationToken, emitOnlyDtsFiles, customTransformers) { + Debug.assert(isBuilderProgramStateWithDefinedProgram(state)); + if (kind === 1 /* EmitAndSemanticDiagnosticsBuilderProgram */) { + assertSourceFileOkWithoutNextAffectedCall(state, targetSourceFile); + } + const result = handleNoEmitOptions(builderProgram, targetSourceFile, writeFile2, cancellationToken); + if (result) return result; + if (!targetSourceFile) { + if (kind === 1 /* EmitAndSemanticDiagnosticsBuilderProgram */) { + let sourceMaps = []; + let emitSkipped = false; + let diagnostics; + let emittedFiles = []; + let affectedEmitResult; + while (affectedEmitResult = emitNextAffectedFile( + writeFile2, + cancellationToken, + emitOnlyDtsFiles, + customTransformers + )) { + emitSkipped = emitSkipped || affectedEmitResult.result.emitSkipped; + diagnostics = addRange(diagnostics, affectedEmitResult.result.diagnostics); + emittedFiles = addRange(emittedFiles, affectedEmitResult.result.emittedFiles); + sourceMaps = addRange(sourceMaps, affectedEmitResult.result.sourceMaps); + } + return { + emitSkipped, + diagnostics: diagnostics || emptyArray, + emittedFiles, + sourceMaps + }; + } else { + clearAffectedFilesPendingEmit( + state, + emitOnlyDtsFiles, + /*isForDtsErrors*/ + false + ); + } + } + const emitResult = state.program.emit( + targetSourceFile, + getWriteFileCallback(writeFile2, customTransformers), + cancellationToken, + emitOnlyDtsFiles, + customTransformers + ); + handleNonEmitBuilderWithEmitOrDtsErrors( + targetSourceFile, + emitOnlyDtsFiles, + /*isForDtsErrors*/ + false, + emitResult.diagnostics + ); + return emitResult; + } + function handleNonEmitBuilderWithEmitOrDtsErrors(targetSourceFile, emitOnlyDtsFiles, isForDtsErrors, diagnostics) { + if (!targetSourceFile && kind !== 1 /* EmitAndSemanticDiagnosticsBuilderProgram */) { + clearAffectedFilesPendingEmit(state, emitOnlyDtsFiles, isForDtsErrors); + setEmitDiagnosticsPerFile(diagnostics); + } + } + function getDeclarationDiagnostics2(sourceFile, cancellationToken) { + var _a; + Debug.assert(isBuilderProgramStateWithDefinedProgram(state)); + if (kind === 1 /* EmitAndSemanticDiagnosticsBuilderProgram */) { + assertSourceFileOkWithoutNextAffectedCall(state, sourceFile); + let affectedEmitResult; + let diagnostics; + while (affectedEmitResult = emitNextAffectedFileOrDtsErrors( + /*writeFile*/ + void 0, + cancellationToken, + /*emitOnlyDtsFiles*/ + void 0, + /*customTransformers*/ + void 0, + /*isForDtsErrors*/ + true + )) { + if (!sourceFile) diagnostics = addRange(diagnostics, affectedEmitResult.result.diagnostics); + } + return (!sourceFile ? diagnostics : (_a = state.emitDiagnosticsPerFile) == null ? void 0 : _a.get(sourceFile.resolvedPath)) || emptyArray; + } else { + const result = state.program.getDeclarationDiagnostics(sourceFile, cancellationToken); + handleNonEmitBuilderWithEmitOrDtsErrors( + sourceFile, + /*emitOnlyDtsFiles*/ + void 0, + /*isForDtsErrors*/ + true, + result + ); + return result; + } + } + function getSemanticDiagnosticsOfNextAffectedFile(cancellationToken, ignoreSourceFile) { + Debug.assert(isBuilderProgramStateWithDefinedProgram(state)); + while (true) { + const affected = getNextAffectedFile(state, cancellationToken, host); + let result; + if (!affected) { + if (state.checkPending && !state.compilerOptions.noCheck) { + state.checkPending = void 0; + state.buildInfoEmitPending = true; + } + return void 0; + } else if (affected !== state.program) { + const affectedSourceFile = affected; + if (!ignoreSourceFile || !ignoreSourceFile(affectedSourceFile)) { + result = getSemanticDiagnosticsOfFile(state, affectedSourceFile, cancellationToken); + } + state.seenAffectedFiles.add(affectedSourceFile.resolvedPath); + state.affectedFilesIndex++; + state.buildInfoEmitPending = true; + if (!result) continue; + } else { + let diagnostics; + const semanticDiagnosticsPerFile = /* @__PURE__ */ new Map(); + state.program.getSourceFiles().forEach( + (sourceFile) => diagnostics = addRange( + diagnostics, + getSemanticDiagnosticsOfFile( + state, + sourceFile, + cancellationToken, + semanticDiagnosticsPerFile + ) + ) + ); + state.semanticDiagnosticsPerFile = semanticDiagnosticsPerFile; + result = diagnostics || emptyArray; + state.changedFilesSet.clear(); + state.programEmitPending = getBuilderFileEmit(state.compilerOptions); + if (!state.compilerOptions.noCheck) state.checkPending = void 0; + state.buildInfoEmitPending = true; + } + return { result, affected }; + } + } + function getSemanticDiagnostics(sourceFile, cancellationToken) { + Debug.assert(isBuilderProgramStateWithDefinedProgram(state)); + assertSourceFileOkWithoutNextAffectedCall(state, sourceFile); + if (sourceFile) { + return getSemanticDiagnosticsOfFile(state, sourceFile, cancellationToken); + } + while (true) { + const affectedResult = getSemanticDiagnosticsOfNextAffectedFile(cancellationToken); + if (!affectedResult) break; + if (affectedResult.affected === state.program) return affectedResult.result; + } + let diagnostics; + for (const sourceFile2 of state.program.getSourceFiles()) { + diagnostics = addRange(diagnostics, getSemanticDiagnosticsOfFile(state, sourceFile2, cancellationToken)); + } + if (state.checkPending && !state.compilerOptions.noCheck) { + state.checkPending = void 0; + state.buildInfoEmitPending = true; + } + return diagnostics || emptyArray; + } +} +function addToAffectedFilesPendingEmit(state, affectedFilePendingEmit, kind) { + var _a, _b; + const existingKind = ((_a = state.affectedFilesPendingEmit) == null ? void 0 : _a.get(affectedFilePendingEmit)) || 0 /* None */; + (state.affectedFilesPendingEmit ?? (state.affectedFilesPendingEmit = /* @__PURE__ */ new Map())).set(affectedFilePendingEmit, existingKind | kind); + (_b = state.emitDiagnosticsPerFile) == null ? void 0 : _b.delete(affectedFilePendingEmit); +} +function toBuilderStateFileInfoForMultiEmit(fileInfo) { + return isString(fileInfo) ? { version: fileInfo, signature: fileInfo, affectsGlobalScope: void 0, impliedFormat: void 0 } : isString(fileInfo.signature) ? fileInfo : { version: fileInfo.version, signature: fileInfo.signature === false ? void 0 : fileInfo.version, affectsGlobalScope: fileInfo.affectsGlobalScope, impliedFormat: fileInfo.impliedFormat }; +} +function toBuilderFileEmit(value, fullEmitForOptions) { + return isNumber(value) ? fullEmitForOptions : value[1] || 24 /* Dts */; +} +function toProgramEmitPending(value, options) { + return !value ? getBuilderFileEmit(options || {}) : value; +} +function createBuilderProgramUsingIncrementalBuildInfo(buildInfo, buildInfoPath, host) { + var _a, _b, _c, _d; + const buildInfoDirectory = getDirectoryPath(getNormalizedAbsolutePath(buildInfoPath, host.getCurrentDirectory())); + const getCanonicalFileName = createGetCanonicalFileName(host.useCaseSensitiveFileNames()); + let state; + const filePaths = (_a = buildInfo.fileNames) == null ? void 0 : _a.map(toPathInBuildInfoDirectory); + let filePathsSetList; + const latestChangedDtsFile = buildInfo.latestChangedDtsFile ? toAbsolutePath(buildInfo.latestChangedDtsFile) : void 0; + const fileInfos = /* @__PURE__ */ new Map(); + const changedFilesSet = new Set(map(buildInfo.changeFileSet, toFilePath)); + if (isIncrementalBundleEmitBuildInfo(buildInfo)) { + buildInfo.fileInfos.forEach((fileInfo, index) => { + const path = toFilePath(index + 1); + fileInfos.set(path, isString(fileInfo) ? { version: fileInfo, signature: void 0, affectsGlobalScope: void 0, impliedFormat: void 0 } : fileInfo); + }); + state = { + fileInfos, + compilerOptions: buildInfo.options ? convertToOptionsWithAbsolutePaths(buildInfo.options, toAbsolutePath) : {}, + semanticDiagnosticsPerFile: toPerFileSemanticDiagnostics(buildInfo.semanticDiagnosticsPerFile), + emitDiagnosticsPerFile: toPerFileEmitDiagnostics(buildInfo.emitDiagnosticsPerFile), + hasReusableDiagnostic: true, + changedFilesSet, + latestChangedDtsFile, + outSignature: buildInfo.outSignature, + programEmitPending: buildInfo.pendingEmit === void 0 ? void 0 : toProgramEmitPending(buildInfo.pendingEmit, buildInfo.options), + hasErrors: buildInfo.errors, + checkPending: buildInfo.checkPending + }; + } else { + filePathsSetList = (_b = buildInfo.fileIdsList) == null ? void 0 : _b.map((fileIds) => new Set(fileIds.map(toFilePath))); + const emitSignatures = ((_c = buildInfo.options) == null ? void 0 : _c.composite) && !buildInfo.options.outFile ? /* @__PURE__ */ new Map() : void 0; + buildInfo.fileInfos.forEach((fileInfo, index) => { + const path = toFilePath(index + 1); + const stateFileInfo = toBuilderStateFileInfoForMultiEmit(fileInfo); + fileInfos.set(path, stateFileInfo); + if (emitSignatures && stateFileInfo.signature) emitSignatures.set(path, stateFileInfo.signature); + }); + (_d = buildInfo.emitSignatures) == null ? void 0 : _d.forEach((value) => { + if (isNumber(value)) emitSignatures.delete(toFilePath(value)); + else { + const key = toFilePath(value[0]); + emitSignatures.set( + key, + !isString(value[1]) && !value[1].length ? ( + // File signature is emit signature but differs in map + [emitSignatures.get(key)] + ) : value[1] + ); + } + }); + const fullEmitForOptions = buildInfo.affectedFilesPendingEmit ? getBuilderFileEmit(buildInfo.options || {}) : void 0; + state = { + fileInfos, + compilerOptions: buildInfo.options ? convertToOptionsWithAbsolutePaths(buildInfo.options, toAbsolutePath) : {}, + referencedMap: toManyToManyPathMap(buildInfo.referencedMap, buildInfo.options ?? {}), + semanticDiagnosticsPerFile: toPerFileSemanticDiagnostics(buildInfo.semanticDiagnosticsPerFile), + emitDiagnosticsPerFile: toPerFileEmitDiagnostics(buildInfo.emitDiagnosticsPerFile), + hasReusableDiagnostic: true, + changedFilesSet, + affectedFilesPendingEmit: buildInfo.affectedFilesPendingEmit && arrayToMap(buildInfo.affectedFilesPendingEmit, (value) => toFilePath(isNumber(value) ? value : value[0]), (value) => toBuilderFileEmit(value, fullEmitForOptions)), + latestChangedDtsFile, + emitSignatures: (emitSignatures == null ? void 0 : emitSignatures.size) ? emitSignatures : void 0, + hasErrors: buildInfo.errors, + checkPending: buildInfo.checkPending + }; + } + return { + state, + getProgram: notImplemented, + getProgramOrUndefined: returnUndefined, + releaseProgram: noop, + getCompilerOptions: () => state.compilerOptions, + getSourceFile: notImplemented, + getSourceFiles: notImplemented, + getOptionsDiagnostics: notImplemented, + getGlobalDiagnostics: notImplemented, + getConfigFileParsingDiagnostics: notImplemented, + getSyntacticDiagnostics: notImplemented, + getDeclarationDiagnostics: notImplemented, + getSemanticDiagnostics: notImplemented, + emit: notImplemented, + getAllDependencies: notImplemented, + getCurrentDirectory: notImplemented, + emitNextAffectedFile: notImplemented, + getSemanticDiagnosticsOfNextAffectedFile: notImplemented, + emitBuildInfo: notImplemented, + close: noop, + hasChangedEmitSignature: returnFalse + }; + function toPathInBuildInfoDirectory(path) { + return toPath(path, buildInfoDirectory, getCanonicalFileName); + } + function toAbsolutePath(path) { + return getNormalizedAbsolutePath(path, buildInfoDirectory); + } + function toFilePath(fileId) { + return filePaths[fileId - 1]; + } + function toFilePathsSet(fileIdsListId) { + return filePathsSetList[fileIdsListId - 1]; + } + function toManyToManyPathMap(referenceMap, options) { + const map2 = BuilderState.createReferencedMap(options); + if (!map2 || !referenceMap) return map2; + referenceMap.forEach(([fileId, fileIdListId]) => map2.set(toFilePath(fileId), toFilePathsSet(fileIdListId))); + return map2; + } + function toPerFileSemanticDiagnostics(diagnostics) { + const semanticDiagnostics = new Map( + mapDefinedIterator( + fileInfos.keys(), + (key) => !changedFilesSet.has(key) ? [key, emptyArray] : void 0 + ) + ); + diagnostics == null ? void 0 : diagnostics.forEach((value) => { + if (isNumber(value)) semanticDiagnostics.delete(toFilePath(value)); + else semanticDiagnostics.set(toFilePath(value[0]), value[1]); + }); + return semanticDiagnostics; + } + function toPerFileEmitDiagnostics(diagnostics) { + return diagnostics && arrayToMap(diagnostics, (value) => toFilePath(value[0]), (value) => value[1]); + } +} +function getBuildInfoFileVersionMap(program, buildInfoPath, host) { + const buildInfoDirectory = getDirectoryPath(getNormalizedAbsolutePath(buildInfoPath, host.getCurrentDirectory())); + const getCanonicalFileName = createGetCanonicalFileName(host.useCaseSensitiveFileNames()); + const fileInfos = /* @__PURE__ */ new Map(); + let rootIndex = 0; + const roots = /* @__PURE__ */ new Map(); + const resolvedRoots = new Map(program.resolvedRoot); + program.fileInfos.forEach((fileInfo, index) => { + const path = toPath(program.fileNames[index], buildInfoDirectory, getCanonicalFileName); + const version2 = isString(fileInfo) ? fileInfo : fileInfo.version; + fileInfos.set(path, version2); + if (rootIndex < program.root.length) { + const current = program.root[rootIndex]; + const fileId = index + 1; + if (isArray(current)) { + if (current[0] <= fileId && fileId <= current[1]) { + addRoot(fileId, path); + if (current[1] === fileId) rootIndex++; + } + } else if (current === fileId) { + addRoot(fileId, path); + rootIndex++; + } + } + }); + return { fileInfos, roots }; + function addRoot(fileId, path) { + const root = resolvedRoots.get(fileId); + if (root) { + roots.set(toPath(program.fileNames[root - 1], buildInfoDirectory, getCanonicalFileName), path); + } else { + roots.set(path, void 0); + } + } +} +function getNonIncrementalBuildInfoRoots(buildInfo, buildInfoPath, host) { + if (!isNonIncrementalBuildInfo(buildInfo)) return void 0; + const buildInfoDirectory = getDirectoryPath(getNormalizedAbsolutePath(buildInfoPath, host.getCurrentDirectory())); + const getCanonicalFileName = createGetCanonicalFileName(host.useCaseSensitiveFileNames()); + return buildInfo.root.map((r) => toPath(r, buildInfoDirectory, getCanonicalFileName)); +} +function createRedirectedBuilderProgram(state, configFileParsingDiagnostics) { + return { + state: void 0, + getProgram, + getProgramOrUndefined: () => state.program, + releaseProgram: () => state.program = void 0, + getCompilerOptions: () => state.compilerOptions, + getSourceFile: (fileName) => getProgram().getSourceFile(fileName), + getSourceFiles: () => getProgram().getSourceFiles(), + getOptionsDiagnostics: (cancellationToken) => getProgram().getOptionsDiagnostics(cancellationToken), + getGlobalDiagnostics: (cancellationToken) => getProgram().getGlobalDiagnostics(cancellationToken), + getConfigFileParsingDiagnostics: () => configFileParsingDiagnostics, + getSyntacticDiagnostics: (sourceFile, cancellationToken) => getProgram().getSyntacticDiagnostics(sourceFile, cancellationToken), + getDeclarationDiagnostics: (sourceFile, cancellationToken) => getProgram().getDeclarationDiagnostics(sourceFile, cancellationToken), + getSemanticDiagnostics: (sourceFile, cancellationToken) => getProgram().getSemanticDiagnostics(sourceFile, cancellationToken), + emit: (sourceFile, writeFile2, cancellationToken, emitOnlyDts, customTransformers) => getProgram().emit(sourceFile, writeFile2, cancellationToken, emitOnlyDts, customTransformers), + emitBuildInfo: (writeFile2, cancellationToken) => getProgram().emitBuildInfo(writeFile2, cancellationToken), + getAllDependencies: notImplemented, + getCurrentDirectory: () => getProgram().getCurrentDirectory(), + close: noop + }; + function getProgram() { + return Debug.checkDefined(state.program); + } +} + +// src/compiler/builderPublic.ts +function createEmitAndSemanticDiagnosticsBuilderProgram(newProgramOrRootNames, hostOrOptions, oldProgramOrHost, configFileParsingDiagnosticsOrOldProgram, configFileParsingDiagnostics, projectReferences) { + return createBuilderProgram( + 1 /* EmitAndSemanticDiagnosticsBuilderProgram */, + getBuilderCreationParameters( + newProgramOrRootNames, + hostOrOptions, + oldProgramOrHost, + configFileParsingDiagnosticsOrOldProgram, + configFileParsingDiagnostics, + projectReferences + ) + ); +} + +// src/compiler/resolutionCache.ts +function removeIgnoredPath(path) { + if (endsWith(path, "/node_modules/.staging")) { + return removeSuffix(path, "/.staging"); + } + return some(ignoredPaths, (searchPath) => path.includes(searchPath)) ? void 0 : path; +} +function perceivedOsRootLengthForWatching(pathComponents2, length2) { + if (length2 <= 1) return 1; + let indexAfterOsRoot = 1; + let isDosStyle = pathComponents2[0].search(/[a-z]:/i) === 0; + if (pathComponents2[0] !== directorySeparator && !isDosStyle && // Non dos style paths + pathComponents2[1].search(/[a-z]\$$/i) === 0) { + if (length2 === 2) return 2; + indexAfterOsRoot = 2; + isDosStyle = true; + } + if (isDosStyle && !pathComponents2[indexAfterOsRoot].match(/^users$/i)) { + return indexAfterOsRoot; + } + if (pathComponents2[indexAfterOsRoot].match(/^workspaces$/i)) { + return indexAfterOsRoot + 1; + } + return indexAfterOsRoot + 2; +} +function canWatchDirectoryOrFile(pathComponents2, length2) { + if (length2 === void 0) length2 = pathComponents2.length; + if (length2 <= 2) return false; + const perceivedOsRootLength = perceivedOsRootLengthForWatching(pathComponents2, length2); + return length2 > perceivedOsRootLength + 1; +} +function canWatchDirectoryOrFilePath(path) { + return canWatchDirectoryOrFile(getPathComponents(path)); +} +function canWatchAtTypes(atTypes) { + return canWatchAffectedPackageJsonOrNodeModulesOfAtTypes(getDirectoryPath(atTypes)); +} +function isInDirectoryPath(dirComponents, fileOrDirComponents) { + if (fileOrDirComponents.length < fileOrDirComponents.length) return false; + for (let i = 0; i < dirComponents.length; i++) { + if (fileOrDirComponents[i] !== dirComponents[i]) return false; + } + return true; +} +function canWatchAffectedPackageJsonOrNodeModulesOfAtTypes(fileOrDirPath) { + return canWatchDirectoryOrFilePath(fileOrDirPath); +} +function canWatchAffectingLocation(filePath) { + return canWatchAffectedPackageJsonOrNodeModulesOfAtTypes(filePath); +} +function getDirectoryToWatchFailedLookupLocation(failedLookupLocation, failedLookupLocationPath, rootDir, rootPath, rootPathComponents, isRootWatchable, getCurrentDirectory, preferNonRecursiveWatch) { + const failedLookupPathComponents = getPathComponents(failedLookupLocationPath); + failedLookupLocation = isRootedDiskPath(failedLookupLocation) ? normalizePath(failedLookupLocation) : getNormalizedAbsolutePath(failedLookupLocation, getCurrentDirectory()); + const failedLookupComponents = getPathComponents(failedLookupLocation); + const perceivedOsRootLength = perceivedOsRootLengthForWatching(failedLookupPathComponents, failedLookupPathComponents.length); + if (failedLookupPathComponents.length <= perceivedOsRootLength + 1) return void 0; + const nodeModulesIndex = failedLookupPathComponents.indexOf("node_modules"); + if (nodeModulesIndex !== -1 && nodeModulesIndex + 1 <= perceivedOsRootLength + 1) return void 0; + const lastNodeModulesIndex = failedLookupPathComponents.lastIndexOf("node_modules"); + if (isRootWatchable && isInDirectoryPath(rootPathComponents, failedLookupPathComponents)) { + if (failedLookupPathComponents.length > rootPathComponents.length + 1) { + return getDirectoryOfFailedLookupWatch( + failedLookupComponents, + failedLookupPathComponents, + Math.max(rootPathComponents.length + 1, perceivedOsRootLength + 1), + lastNodeModulesIndex + ); + } else { + return { + dir: rootDir, + dirPath: rootPath, + nonRecursive: true + }; + } + } + return getDirectoryToWatchFromFailedLookupLocationDirectory( + failedLookupComponents, + failedLookupPathComponents, + failedLookupPathComponents.length - 1, + perceivedOsRootLength, + nodeModulesIndex, + rootPathComponents, + lastNodeModulesIndex, + preferNonRecursiveWatch + ); +} +function getDirectoryToWatchFromFailedLookupLocationDirectory(dirComponents, dirPathComponents, dirPathComponentsLength, perceivedOsRootLength, nodeModulesIndex, rootPathComponents, lastNodeModulesIndex, preferNonRecursiveWatch) { + if (nodeModulesIndex !== -1) { + return getDirectoryOfFailedLookupWatch( + dirComponents, + dirPathComponents, + nodeModulesIndex + 1, + lastNodeModulesIndex + ); + } + let nonRecursive = true; + let length2 = dirPathComponentsLength; + if (!preferNonRecursiveWatch) { + for (let i = 0; i < dirPathComponentsLength; i++) { + if (dirPathComponents[i] !== rootPathComponents[i]) { + nonRecursive = false; + length2 = Math.max(i + 1, perceivedOsRootLength + 1); + break; + } + } + } + return getDirectoryOfFailedLookupWatch( + dirComponents, + dirPathComponents, + length2, + lastNodeModulesIndex, + nonRecursive + ); +} +function getDirectoryOfFailedLookupWatch(dirComponents, dirPathComponents, length2, lastNodeModulesIndex, nonRecursive) { + let packageDirLength; + if (lastNodeModulesIndex !== -1 && lastNodeModulesIndex + 1 >= length2 && lastNodeModulesIndex + 2 < dirPathComponents.length) { + if (!startsWith(dirPathComponents[lastNodeModulesIndex + 1], "@")) { + packageDirLength = lastNodeModulesIndex + 2; + } else if (lastNodeModulesIndex + 3 < dirPathComponents.length) { + packageDirLength = lastNodeModulesIndex + 3; + } + } + return { + dir: getPathFromPathComponents(dirComponents, length2), + dirPath: getPathFromPathComponents(dirPathComponents, length2), + nonRecursive, + packageDir: packageDirLength !== void 0 ? getPathFromPathComponents(dirComponents, packageDirLength) : void 0, + packageDirPath: packageDirLength !== void 0 ? getPathFromPathComponents(dirPathComponents, packageDirLength) : void 0 + }; +} +function getDirectoryToWatchFailedLookupLocationFromTypeRoot(typeRoot, typeRootPath, rootPath, rootPathComponents, isRootWatchable, getCurrentDirectory, preferNonRecursiveWatch, filterCustomPath) { + const typeRootPathComponents = getPathComponents(typeRootPath); + if (isRootWatchable && isInDirectoryPath(rootPathComponents, typeRootPathComponents)) { + return rootPath; + } + typeRoot = isRootedDiskPath(typeRoot) ? normalizePath(typeRoot) : getNormalizedAbsolutePath(typeRoot, getCurrentDirectory()); + const toWatch = getDirectoryToWatchFromFailedLookupLocationDirectory( + getPathComponents(typeRoot), + typeRootPathComponents, + typeRootPathComponents.length, + perceivedOsRootLengthForWatching(typeRootPathComponents, typeRootPathComponents.length), + typeRootPathComponents.indexOf("node_modules"), + rootPathComponents, + typeRootPathComponents.lastIndexOf("node_modules"), + preferNonRecursiveWatch + ); + return toWatch && filterCustomPath(toWatch.dirPath) ? toWatch.dirPath : void 0; +} +function getRootDirectoryOfResolutionCache(rootDirForResolution, getCurrentDirectory) { + const normalized = getNormalizedAbsolutePath(rootDirForResolution, getCurrentDirectory()); + return !isDiskPathRoot(normalized) ? removeTrailingDirectorySeparator(normalized) : normalized; +} +function getModuleResolutionHost(resolutionHost) { + var _a; + return ((_a = resolutionHost.getCompilerHost) == null ? void 0 : _a.call(resolutionHost)) || resolutionHost; +} +function createModuleResolutionLoaderUsingGlobalCache(containingFile, redirectedReference, options, resolutionHost, moduleResolutionCache) { + return { + nameAndMode: moduleResolutionNameAndModeGetter, + resolve: (moduleName, resoluionMode) => resolveModuleNameUsingGlobalCache( + resolutionHost, + moduleResolutionCache, + moduleName, + containingFile, + options, + redirectedReference, + resoluionMode + ) + }; +} +function resolveModuleNameUsingGlobalCache(resolutionHost, moduleResolutionCache, moduleName, containingFile, compilerOptions, redirectedReference, mode) { + const host = getModuleResolutionHost(resolutionHost); + const primaryResult = resolveModuleName(moduleName, containingFile, compilerOptions, host, moduleResolutionCache, redirectedReference, mode); + if (!resolutionHost.getGlobalTypingsCacheLocation) { + return primaryResult; + } + const globalCache = resolutionHost.getGlobalTypingsCacheLocation(); + if (globalCache !== void 0 && !isExternalModuleNameRelative(moduleName) && !(primaryResult.resolvedModule && extensionIsTS(primaryResult.resolvedModule.extension))) { + const { resolvedModule, failedLookupLocations, affectingLocations, resolutionDiagnostics } = loadModuleFromGlobalCache( + Debug.checkDefined(resolutionHost.globalCacheResolutionModuleName)(moduleName), + resolutionHost.projectName, + compilerOptions, + host, + globalCache, + moduleResolutionCache + ); + if (resolvedModule) { + primaryResult.resolvedModule = resolvedModule; + primaryResult.failedLookupLocations = updateResolutionField(primaryResult.failedLookupLocations, failedLookupLocations); + primaryResult.affectingLocations = updateResolutionField(primaryResult.affectingLocations, affectingLocations); + primaryResult.resolutionDiagnostics = updateResolutionField(primaryResult.resolutionDiagnostics, resolutionDiagnostics); + return primaryResult; + } + } + return primaryResult; +} +function createResolutionCache(resolutionHost, rootDirForResolution, logChangesWhenResolvingModule) { + let filesWithChangedSetOfUnresolvedImports; + let filesWithInvalidatedResolutions; + let filesWithInvalidatedNonRelativeUnresolvedImports; + const nonRelativeExternalModuleResolutions = /* @__PURE__ */ new Set(); + const resolutionsWithFailedLookups = /* @__PURE__ */ new Set(); + const resolutionsWithOnlyAffectingLocations = /* @__PURE__ */ new Set(); + const resolvedFileToResolution = /* @__PURE__ */ new Map(); + const impliedFormatPackageJsons = /* @__PURE__ */ new Map(); + let hasChangedAutomaticTypeDirectiveNames = false; + let affectingPathChecksForFile; + let affectingPathChecks; + let failedLookupChecks; + let startsWithPathChecks; + let isInDirectoryChecks; + let allModuleAndTypeResolutionsAreInvalidated = false; + const getCurrentDirectory = memoize(() => resolutionHost.getCurrentDirectory()); + const cachedDirectoryStructureHost = resolutionHost.getCachedDirectoryStructureHost(); + const resolvedModuleNames = /* @__PURE__ */ new Map(); + const moduleResolutionCache = createModuleResolutionCache( + getCurrentDirectory(), + resolutionHost.getCanonicalFileName, + resolutionHost.getCompilationSettings() + ); + const resolvedTypeReferenceDirectives = /* @__PURE__ */ new Map(); + const typeReferenceDirectiveResolutionCache = createTypeReferenceDirectiveResolutionCache( + getCurrentDirectory(), + resolutionHost.getCanonicalFileName, + resolutionHost.getCompilationSettings(), + moduleResolutionCache.getPackageJsonInfoCache(), + moduleResolutionCache.optionsToRedirectsKey + ); + const resolvedLibraries = /* @__PURE__ */ new Map(); + const libraryResolutionCache = createModuleResolutionCache( + getCurrentDirectory(), + resolutionHost.getCanonicalFileName, + getOptionsForLibraryResolution(resolutionHost.getCompilationSettings()), + moduleResolutionCache.getPackageJsonInfoCache() + ); + const directoryWatchesOfFailedLookups = /* @__PURE__ */ new Map(); + const fileWatchesOfAffectingLocations = /* @__PURE__ */ new Map(); + const rootDir = getRootDirectoryOfResolutionCache(rootDirForResolution, getCurrentDirectory); + const rootPath = resolutionHost.toPath(rootDir); + const rootPathComponents = getPathComponents(rootPath); + const isRootWatchable = canWatchDirectoryOrFile(rootPathComponents); + const isSymlinkCache = /* @__PURE__ */ new Map(); + const packageDirWatchers = /* @__PURE__ */ new Map(); + const dirPathToSymlinkPackageRefCount = /* @__PURE__ */ new Map(); + const typeRootsWatches = /* @__PURE__ */ new Map(); + return { + rootDirForResolution, + resolvedModuleNames, + resolvedTypeReferenceDirectives, + resolvedLibraries, + resolvedFileToResolution, + resolutionsWithFailedLookups, + resolutionsWithOnlyAffectingLocations, + directoryWatchesOfFailedLookups, + fileWatchesOfAffectingLocations, + packageDirWatchers, + dirPathToSymlinkPackageRefCount, + watchFailedLookupLocationsOfExternalModuleResolutions, + getModuleResolutionCache: () => moduleResolutionCache, + startRecordingFilesWithChangedResolutions, + finishRecordingFilesWithChangedResolutions, + // perDirectoryResolvedModuleNames and perDirectoryResolvedTypeReferenceDirectives could be non empty if there was exception during program update + // (between startCachingPerDirectoryResolution and finishCachingPerDirectoryResolution) + startCachingPerDirectoryResolution, + finishCachingPerDirectoryResolution, + resolveModuleNameLiterals, + resolveTypeReferenceDirectiveReferences, + resolveLibrary: resolveLibrary2, + resolveSingleModuleNameWithoutWatching, + removeResolutionsFromProjectReferenceRedirects, + removeResolutionsOfFile, + hasChangedAutomaticTypeDirectiveNames: () => hasChangedAutomaticTypeDirectiveNames, + invalidateResolutionOfFile, + invalidateResolutionsOfFailedLookupLocations, + setFilesWithInvalidatedNonRelativeUnresolvedImports, + createHasInvalidatedResolutions, + isFileWithInvalidatedNonRelativeUnresolvedImports, + updateTypeRootsWatch, + closeTypeRootsWatch, + clear: clear2, + onChangesAffectModuleResolution + }; + function clear2() { + clearMap(directoryWatchesOfFailedLookups, closeFileWatcherOf); + clearMap(fileWatchesOfAffectingLocations, closeFileWatcherOf); + isSymlinkCache.clear(); + packageDirWatchers.clear(); + dirPathToSymlinkPackageRefCount.clear(); + nonRelativeExternalModuleResolutions.clear(); + closeTypeRootsWatch(); + resolvedModuleNames.clear(); + resolvedTypeReferenceDirectives.clear(); + resolvedFileToResolution.clear(); + resolutionsWithFailedLookups.clear(); + resolutionsWithOnlyAffectingLocations.clear(); + failedLookupChecks = void 0; + startsWithPathChecks = void 0; + isInDirectoryChecks = void 0; + affectingPathChecks = void 0; + affectingPathChecksForFile = void 0; + allModuleAndTypeResolutionsAreInvalidated = false; + moduleResolutionCache.clear(); + typeReferenceDirectiveResolutionCache.clear(); + moduleResolutionCache.update(resolutionHost.getCompilationSettings()); + typeReferenceDirectiveResolutionCache.update(resolutionHost.getCompilationSettings()); + libraryResolutionCache.clear(); + impliedFormatPackageJsons.clear(); + resolvedLibraries.clear(); + hasChangedAutomaticTypeDirectiveNames = false; + } + function onChangesAffectModuleResolution() { + allModuleAndTypeResolutionsAreInvalidated = true; + moduleResolutionCache.clearAllExceptPackageJsonInfoCache(); + typeReferenceDirectiveResolutionCache.clearAllExceptPackageJsonInfoCache(); + moduleResolutionCache.update(resolutionHost.getCompilationSettings()); + typeReferenceDirectiveResolutionCache.update(resolutionHost.getCompilationSettings()); + } + function startRecordingFilesWithChangedResolutions() { + filesWithChangedSetOfUnresolvedImports = []; + } + function finishRecordingFilesWithChangedResolutions() { + const collected = filesWithChangedSetOfUnresolvedImports; + filesWithChangedSetOfUnresolvedImports = void 0; + return collected; + } + function isFileWithInvalidatedNonRelativeUnresolvedImports(path) { + if (!filesWithInvalidatedNonRelativeUnresolvedImports) { + return false; + } + const value = filesWithInvalidatedNonRelativeUnresolvedImports.get(path); + return !!value && !!value.length; + } + function createHasInvalidatedResolutions(customHasInvalidatedResolutions, customHasInvalidatedLibResolutions) { + invalidateResolutionsOfFailedLookupLocations(); + const collected = filesWithInvalidatedResolutions; + filesWithInvalidatedResolutions = void 0; + return { + hasInvalidatedResolutions: (path) => customHasInvalidatedResolutions(path) || allModuleAndTypeResolutionsAreInvalidated || !!(collected == null ? void 0 : collected.has(path)) || isFileWithInvalidatedNonRelativeUnresolvedImports(path), + hasInvalidatedLibResolutions: (libFileName) => { + var _a; + return customHasInvalidatedLibResolutions(libFileName) || !!((_a = resolvedLibraries == null ? void 0 : resolvedLibraries.get(libFileName)) == null ? void 0 : _a.isInvalidated); + } + }; + } + function startCachingPerDirectoryResolution() { + moduleResolutionCache.isReadonly = void 0; + typeReferenceDirectiveResolutionCache.isReadonly = void 0; + libraryResolutionCache.isReadonly = void 0; + moduleResolutionCache.getPackageJsonInfoCache().isReadonly = void 0; + moduleResolutionCache.clearAllExceptPackageJsonInfoCache(); + typeReferenceDirectiveResolutionCache.clearAllExceptPackageJsonInfoCache(); + libraryResolutionCache.clearAllExceptPackageJsonInfoCache(); + watchFailedLookupLocationOfNonRelativeModuleResolutions(); + isSymlinkCache.clear(); + } + function cleanupLibResolutionWatching(newProgram) { + resolvedLibraries.forEach((resolution, libFileName) => { + var _a; + if (!((_a = newProgram == null ? void 0 : newProgram.resolvedLibReferences) == null ? void 0 : _a.has(libFileName))) { + stopWatchFailedLookupLocationOfResolution( + resolution, + resolutionHost.toPath(getInferredLibraryNameResolveFrom(resolutionHost.getCompilationSettings(), getCurrentDirectory(), libFileName)), + getResolvedModuleFromResolution + ); + resolvedLibraries.delete(libFileName); + } + }); + } + function finishCachingPerDirectoryResolution(newProgram, oldProgram) { + filesWithInvalidatedNonRelativeUnresolvedImports = void 0; + allModuleAndTypeResolutionsAreInvalidated = false; + watchFailedLookupLocationOfNonRelativeModuleResolutions(); + if (newProgram !== oldProgram) { + cleanupLibResolutionWatching(newProgram); + newProgram == null ? void 0 : newProgram.getSourceFiles().forEach((newFile) => { + var _a; + const expected = ((_a = newFile.packageJsonLocations) == null ? void 0 : _a.length) ?? 0; + const existing = impliedFormatPackageJsons.get(newFile.resolvedPath) ?? emptyArray; + for (let i = existing.length; i < expected; i++) { + createFileWatcherOfAffectingLocation( + newFile.packageJsonLocations[i], + /*forResolution*/ + false + ); + } + if (existing.length > expected) { + for (let i = expected; i < existing.length; i++) { + fileWatchesOfAffectingLocations.get(existing[i]).files--; + } + } + if (expected) impliedFormatPackageJsons.set(newFile.resolvedPath, newFile.packageJsonLocations); + else impliedFormatPackageJsons.delete(newFile.resolvedPath); + }); + impliedFormatPackageJsons.forEach((existing, path) => { + const newFile = newProgram == null ? void 0 : newProgram.getSourceFileByPath(path); + if (!newFile || newFile.resolvedPath !== path) { + existing.forEach((location) => fileWatchesOfAffectingLocations.get(location).files--); + impliedFormatPackageJsons.delete(path); + } + }); + } + directoryWatchesOfFailedLookups.forEach(closeDirectoryWatchesOfFailedLookup); + fileWatchesOfAffectingLocations.forEach(closeFileWatcherOfAffectingLocation); + packageDirWatchers.forEach(closePackageDirWatcher); + hasChangedAutomaticTypeDirectiveNames = false; + moduleResolutionCache.isReadonly = true; + typeReferenceDirectiveResolutionCache.isReadonly = true; + libraryResolutionCache.isReadonly = true; + moduleResolutionCache.getPackageJsonInfoCache().isReadonly = true; + isSymlinkCache.clear(); + } + function closePackageDirWatcher(watcher, packageDirPath) { + if (watcher.dirPathToWatcher.size === 0) { + packageDirWatchers.delete(packageDirPath); + } + } + function closeDirectoryWatchesOfFailedLookup(watcher, path) { + if (watcher.refCount === 0) { + directoryWatchesOfFailedLookups.delete(path); + watcher.watcher.close(); + } + } + function closeFileWatcherOfAffectingLocation(watcher, path) { + var _a; + if (watcher.files === 0 && watcher.resolutions === 0 && !((_a = watcher.symlinks) == null ? void 0 : _a.size)) { + fileWatchesOfAffectingLocations.delete(path); + watcher.watcher.close(); + } + } + function resolveNamesWithLocalCache({ + entries, + containingFile, + containingSourceFile, + redirectedReference, + options, + perFileCache, + reusedNames, + loader, + getResolutionWithResolvedFileName, + deferWatchingNonRelativeResolution, + shouldRetryResolution, + logChanges + }) { + const path = resolutionHost.toPath(containingFile); + const resolutionsInFile = perFileCache.get(path) || perFileCache.set(path, createModeAwareCache()).get(path); + const resolvedModules = []; + const hasInvalidatedNonRelativeUnresolvedImport = logChanges && isFileWithInvalidatedNonRelativeUnresolvedImports(path); + const program = resolutionHost.getCurrentProgram(); + const oldRedirect = program && program.getResolvedProjectReferenceToRedirect(containingFile); + const unmatchedRedirects = oldRedirect ? !redirectedReference || redirectedReference.sourceFile.path !== oldRedirect.sourceFile.path : !!redirectedReference; + const seenNamesInFile = createModeAwareCache(); + for (const entry of entries) { + const name = loader.nameAndMode.getName(entry); + const mode = loader.nameAndMode.getMode(entry, containingSourceFile, (redirectedReference == null ? void 0 : redirectedReference.commandLine.options) || options); + let resolution = resolutionsInFile.get(name, mode); + if (!seenNamesInFile.has(name, mode) && (allModuleAndTypeResolutionsAreInvalidated || unmatchedRedirects || !resolution || resolution.isInvalidated || // If the name is unresolved import that was invalidated, recalculate + hasInvalidatedNonRelativeUnresolvedImport && !isExternalModuleNameRelative(name) && shouldRetryResolution(resolution))) { + const existingResolution = resolution; + resolution = loader.resolve(name, mode); + if (resolutionHost.onDiscoveredSymlink && resolutionIsSymlink(resolution)) { + resolutionHost.onDiscoveredSymlink(); + } + resolutionsInFile.set(name, mode, resolution); + if (resolution !== existingResolution) { + watchFailedLookupLocationsOfExternalModuleResolutions(name, resolution, path, getResolutionWithResolvedFileName, deferWatchingNonRelativeResolution); + if (existingResolution) { + stopWatchFailedLookupLocationOfResolution(existingResolution, path, getResolutionWithResolvedFileName); + } + } + if (logChanges && filesWithChangedSetOfUnresolvedImports && !resolutionIsEqualTo(existingResolution, resolution)) { + filesWithChangedSetOfUnresolvedImports.push(path); + logChanges = false; + } + } else { + const host = getModuleResolutionHost(resolutionHost); + if (isTraceEnabled(options, host) && !seenNamesInFile.has(name, mode)) { + const resolved = getResolutionWithResolvedFileName(resolution); + trace( + host, + perFileCache === resolvedModuleNames ? (resolved == null ? void 0 : resolved.resolvedFileName) ? resolved.packageId ? Diagnostics.Reusing_resolution_of_module_0_from_1_of_old_program_it_was_successfully_resolved_to_2_with_Package_ID_3 : Diagnostics.Reusing_resolution_of_module_0_from_1_of_old_program_it_was_successfully_resolved_to_2 : Diagnostics.Reusing_resolution_of_module_0_from_1_of_old_program_it_was_not_resolved : (resolved == null ? void 0 : resolved.resolvedFileName) ? resolved.packageId ? Diagnostics.Reusing_resolution_of_type_reference_directive_0_from_1_of_old_program_it_was_successfully_resolved_to_2_with_Package_ID_3 : Diagnostics.Reusing_resolution_of_type_reference_directive_0_from_1_of_old_program_it_was_successfully_resolved_to_2 : Diagnostics.Reusing_resolution_of_type_reference_directive_0_from_1_of_old_program_it_was_not_resolved, + name, + containingFile, + resolved == null ? void 0 : resolved.resolvedFileName, + (resolved == null ? void 0 : resolved.packageId) && packageIdToString(resolved.packageId) + ); + } + } + Debug.assert(resolution !== void 0 && !resolution.isInvalidated); + seenNamesInFile.set(name, mode, true); + resolvedModules.push(resolution); + } + reusedNames == null ? void 0 : reusedNames.forEach( + (entry) => seenNamesInFile.set( + loader.nameAndMode.getName(entry), + loader.nameAndMode.getMode(entry, containingSourceFile, (redirectedReference == null ? void 0 : redirectedReference.commandLine.options) || options), + true + ) + ); + if (resolutionsInFile.size() !== seenNamesInFile.size()) { + resolutionsInFile.forEach((resolution, name, mode) => { + if (!seenNamesInFile.has(name, mode)) { + stopWatchFailedLookupLocationOfResolution(resolution, path, getResolutionWithResolvedFileName); + resolutionsInFile.delete(name, mode); + } + }); + } + return resolvedModules; + function resolutionIsEqualTo(oldResolution, newResolution) { + if (oldResolution === newResolution) { + return true; + } + if (!oldResolution || !newResolution) { + return false; + } + const oldResult = getResolutionWithResolvedFileName(oldResolution); + const newResult = getResolutionWithResolvedFileName(newResolution); + if (oldResult === newResult) { + return true; + } + if (!oldResult || !newResult) { + return false; + } + return oldResult.resolvedFileName === newResult.resolvedFileName; + } + } + function resolveTypeReferenceDirectiveReferences(typeDirectiveReferences, containingFile, redirectedReference, options, containingSourceFile, reusedNames) { + return resolveNamesWithLocalCache({ + entries: typeDirectiveReferences, + containingFile, + containingSourceFile, + redirectedReference, + options, + reusedNames, + perFileCache: resolvedTypeReferenceDirectives, + loader: createTypeReferenceResolutionLoader( + containingFile, + redirectedReference, + options, + getModuleResolutionHost(resolutionHost), + typeReferenceDirectiveResolutionCache + ), + getResolutionWithResolvedFileName: getResolvedTypeReferenceDirectiveFromResolution, + shouldRetryResolution: (resolution) => resolution.resolvedTypeReferenceDirective === void 0, + deferWatchingNonRelativeResolution: false + }); + } + function resolveModuleNameLiterals(moduleLiterals, containingFile, redirectedReference, options, containingSourceFile, reusedNames) { + return resolveNamesWithLocalCache({ + entries: moduleLiterals, + containingFile, + containingSourceFile, + redirectedReference, + options, + reusedNames, + perFileCache: resolvedModuleNames, + loader: createModuleResolutionLoaderUsingGlobalCache( + containingFile, + redirectedReference, + options, + resolutionHost, + moduleResolutionCache + ), + getResolutionWithResolvedFileName: getResolvedModuleFromResolution, + shouldRetryResolution: (resolution) => !resolution.resolvedModule || !resolutionExtensionIsTSOrJson(resolution.resolvedModule.extension), + logChanges: logChangesWhenResolvingModule, + deferWatchingNonRelativeResolution: true + // Defer non relative resolution watch because we could be using ambient modules + }); + } + function resolveLibrary2(libraryName, resolveFrom, options, libFileName) { + const host = getModuleResolutionHost(resolutionHost); + let resolution = resolvedLibraries == null ? void 0 : resolvedLibraries.get(libFileName); + if (!resolution || resolution.isInvalidated) { + const existingResolution = resolution; + resolution = resolveLibrary(libraryName, resolveFrom, options, host, libraryResolutionCache); + const path = resolutionHost.toPath(resolveFrom); + watchFailedLookupLocationsOfExternalModuleResolutions( + libraryName, + resolution, + path, + getResolvedModuleFromResolution, + /*deferWatchingNonRelativeResolution*/ + false + ); + resolvedLibraries.set(libFileName, resolution); + if (existingResolution) { + stopWatchFailedLookupLocationOfResolution(existingResolution, path, getResolvedModuleFromResolution); + } + } else { + if (isTraceEnabled(options, host)) { + const resolved = getResolvedModuleFromResolution(resolution); + trace( + host, + (resolved == null ? void 0 : resolved.resolvedFileName) ? resolved.packageId ? Diagnostics.Reusing_resolution_of_module_0_from_1_of_old_program_it_was_successfully_resolved_to_2_with_Package_ID_3 : Diagnostics.Reusing_resolution_of_module_0_from_1_of_old_program_it_was_successfully_resolved_to_2 : Diagnostics.Reusing_resolution_of_module_0_from_1_of_old_program_it_was_not_resolved, + libraryName, + resolveFrom, + resolved == null ? void 0 : resolved.resolvedFileName, + (resolved == null ? void 0 : resolved.packageId) && packageIdToString(resolved.packageId) + ); + } + } + return resolution; + } + function resolveSingleModuleNameWithoutWatching(moduleName, containingFile) { + var _a, _b; + const path = resolutionHost.toPath(containingFile); + const resolutionsInFile = resolvedModuleNames.get(path); + const resolution = resolutionsInFile == null ? void 0 : resolutionsInFile.get( + moduleName, + /*mode*/ + void 0 + ); + if (resolution && !resolution.isInvalidated) return resolution; + const data = (_a = resolutionHost.beforeResolveSingleModuleNameWithoutWatching) == null ? void 0 : _a.call(resolutionHost, moduleResolutionCache); + const host = getModuleResolutionHost(resolutionHost); + const result = resolveModuleName( + moduleName, + containingFile, + resolutionHost.getCompilationSettings(), + host, + moduleResolutionCache + ); + (_b = resolutionHost.afterResolveSingleModuleNameWithoutWatching) == null ? void 0 : _b.call(resolutionHost, moduleResolutionCache, moduleName, containingFile, result, data); + return result; + } + function isNodeModulesAtTypesDirectory(dirPath) { + return endsWith(dirPath, "/node_modules/@types"); + } + function watchFailedLookupLocationsOfExternalModuleResolutions(name, resolution, filePath, getResolutionWithResolvedFileName, deferWatchingNonRelativeResolution) { + (resolution.files ?? (resolution.files = /* @__PURE__ */ new Set())).add(filePath); + if (resolution.files.size !== 1) return; + if (!deferWatchingNonRelativeResolution || isExternalModuleNameRelative(name)) { + watchFailedLookupLocationOfResolution(resolution); + } else { + nonRelativeExternalModuleResolutions.add(resolution); + } + const resolved = getResolutionWithResolvedFileName(resolution); + if (resolved && resolved.resolvedFileName) { + const key = resolutionHost.toPath(resolved.resolvedFileName); + let resolutions = resolvedFileToResolution.get(key); + if (!resolutions) resolvedFileToResolution.set(key, resolutions = /* @__PURE__ */ new Set()); + resolutions.add(resolution); + } + } + function watchFailedLookupLocation(failedLookupLocation, setAtRoot) { + const failedLookupLocationPath = resolutionHost.toPath(failedLookupLocation); + const toWatch = getDirectoryToWatchFailedLookupLocation( + failedLookupLocation, + failedLookupLocationPath, + rootDir, + rootPath, + rootPathComponents, + isRootWatchable, + getCurrentDirectory, + resolutionHost.preferNonRecursiveWatch + ); + if (toWatch) { + const { dir, dirPath, nonRecursive, packageDir, packageDirPath } = toWatch; + if (dirPath === rootPath) { + Debug.assert(nonRecursive); + Debug.assert(!packageDir); + setAtRoot = true; + } else { + setDirectoryWatcher(dir, dirPath, packageDir, packageDirPath, nonRecursive); + } + } + return setAtRoot; + } + function watchFailedLookupLocationOfResolution(resolution) { + var _a; + Debug.assert(!!((_a = resolution.files) == null ? void 0 : _a.size)); + const { failedLookupLocations, affectingLocations, alternateResult } = resolution; + if (!(failedLookupLocations == null ? void 0 : failedLookupLocations.length) && !(affectingLocations == null ? void 0 : affectingLocations.length) && !alternateResult) return; + if ((failedLookupLocations == null ? void 0 : failedLookupLocations.length) || alternateResult) resolutionsWithFailedLookups.add(resolution); + let setAtRoot = false; + if (failedLookupLocations) { + for (const failedLookupLocation of failedLookupLocations) { + setAtRoot = watchFailedLookupLocation(failedLookupLocation, setAtRoot); + } + } + if (alternateResult) setAtRoot = watchFailedLookupLocation(alternateResult, setAtRoot); + if (setAtRoot) { + setDirectoryWatcher( + rootDir, + rootPath, + /*packageDir*/ + void 0, + /*packageDirPath*/ + void 0, + /*nonRecursive*/ + true + ); + } + watchAffectingLocationsOfResolution(resolution, !(failedLookupLocations == null ? void 0 : failedLookupLocations.length) && !alternateResult); + } + function watchAffectingLocationsOfResolution(resolution, addToResolutionsWithOnlyAffectingLocations) { + var _a; + Debug.assert(!!((_a = resolution.files) == null ? void 0 : _a.size)); + const { affectingLocations } = resolution; + if (!(affectingLocations == null ? void 0 : affectingLocations.length)) return; + if (addToResolutionsWithOnlyAffectingLocations) resolutionsWithOnlyAffectingLocations.add(resolution); + for (const affectingLocation of affectingLocations) { + createFileWatcherOfAffectingLocation( + affectingLocation, + /*forResolution*/ + true + ); + } + } + function createFileWatcherOfAffectingLocation(affectingLocation, forResolution) { + const fileWatcher = fileWatchesOfAffectingLocations.get(affectingLocation); + if (fileWatcher) { + if (forResolution) fileWatcher.resolutions++; + else fileWatcher.files++; + return; + } + let locationToWatch = affectingLocation; + let isSymlink = false; + let symlinkWatcher; + if (resolutionHost.realpath) { + locationToWatch = resolutionHost.realpath(affectingLocation); + if (affectingLocation !== locationToWatch) { + isSymlink = true; + symlinkWatcher = fileWatchesOfAffectingLocations.get(locationToWatch); + } + } + const resolutions = forResolution ? 1 : 0; + const files = forResolution ? 0 : 1; + if (!isSymlink || !symlinkWatcher) { + const watcher = { + watcher: canWatchAffectingLocation(resolutionHost.toPath(locationToWatch)) ? resolutionHost.watchAffectingFileLocation(locationToWatch, (fileName, eventKind) => { + cachedDirectoryStructureHost == null ? void 0 : cachedDirectoryStructureHost.addOrDeleteFile(fileName, resolutionHost.toPath(locationToWatch), eventKind); + invalidateAffectingFileWatcher(locationToWatch, moduleResolutionCache.getPackageJsonInfoCache().getInternalMap()); + resolutionHost.scheduleInvalidateResolutionsOfFailedLookupLocations(); + }) : noopFileWatcher, + resolutions: isSymlink ? 0 : resolutions, + files: isSymlink ? 0 : files, + symlinks: void 0 + }; + fileWatchesOfAffectingLocations.set(locationToWatch, watcher); + if (isSymlink) symlinkWatcher = watcher; + } + if (isSymlink) { + Debug.assert(!!symlinkWatcher); + const watcher = { + watcher: { + close: () => { + var _a; + const symlinkWatcher2 = fileWatchesOfAffectingLocations.get(locationToWatch); + if (((_a = symlinkWatcher2 == null ? void 0 : symlinkWatcher2.symlinks) == null ? void 0 : _a.delete(affectingLocation)) && !symlinkWatcher2.symlinks.size && !symlinkWatcher2.resolutions && !symlinkWatcher2.files) { + fileWatchesOfAffectingLocations.delete(locationToWatch); + symlinkWatcher2.watcher.close(); + } + } + }, + resolutions, + files, + symlinks: void 0 + }; + fileWatchesOfAffectingLocations.set(affectingLocation, watcher); + (symlinkWatcher.symlinks ?? (symlinkWatcher.symlinks = /* @__PURE__ */ new Set())).add(affectingLocation); + } + } + function invalidateAffectingFileWatcher(path, packageJsonMap) { + var _a; + const watcher = fileWatchesOfAffectingLocations.get(path); + if (watcher == null ? void 0 : watcher.resolutions) (affectingPathChecks ?? (affectingPathChecks = /* @__PURE__ */ new Set())).add(path); + if (watcher == null ? void 0 : watcher.files) (affectingPathChecksForFile ?? (affectingPathChecksForFile = /* @__PURE__ */ new Set())).add(path); + (_a = watcher == null ? void 0 : watcher.symlinks) == null ? void 0 : _a.forEach((path2) => invalidateAffectingFileWatcher(path2, packageJsonMap)); + packageJsonMap == null ? void 0 : packageJsonMap.delete(resolutionHost.toPath(path)); + } + function watchFailedLookupLocationOfNonRelativeModuleResolutions() { + nonRelativeExternalModuleResolutions.forEach(watchFailedLookupLocationOfResolution); + nonRelativeExternalModuleResolutions.clear(); + } + function createDirectoryWatcherForPackageDir(dir, dirPath, packageDir, packageDirPath, nonRecursive) { + Debug.assert(!nonRecursive); + let isSymlink = isSymlinkCache.get(packageDirPath); + let packageDirWatcher = packageDirWatchers.get(packageDirPath); + if (isSymlink === void 0) { + const realPath2 = resolutionHost.realpath(packageDir); + isSymlink = realPath2 !== packageDir && resolutionHost.toPath(realPath2) !== packageDirPath; + isSymlinkCache.set(packageDirPath, isSymlink); + if (!packageDirWatcher) { + packageDirWatchers.set( + packageDirPath, + packageDirWatcher = { + dirPathToWatcher: /* @__PURE__ */ new Map(), + isSymlink + } + ); + } else if (packageDirWatcher.isSymlink !== isSymlink) { + packageDirWatcher.dirPathToWatcher.forEach((watcher) => { + removeDirectoryWatcher(packageDirWatcher.isSymlink ? packageDirPath : dirPath); + watcher.watcher = createDirPathToWatcher(); + }); + packageDirWatcher.isSymlink = isSymlink; + } + } else { + Debug.assertIsDefined(packageDirWatcher); + Debug.assert(isSymlink === packageDirWatcher.isSymlink); + } + const forDirPath = packageDirWatcher.dirPathToWatcher.get(dirPath); + if (forDirPath) { + forDirPath.refCount++; + } else { + packageDirWatcher.dirPathToWatcher.set(dirPath, { + watcher: createDirPathToWatcher(), + refCount: 1 + }); + if (isSymlink) dirPathToSymlinkPackageRefCount.set(dirPath, (dirPathToSymlinkPackageRefCount.get(dirPath) ?? 0) + 1); + } + function createDirPathToWatcher() { + return isSymlink ? createOrAddRefToDirectoryWatchOfFailedLookups(packageDir, packageDirPath, nonRecursive) : createOrAddRefToDirectoryWatchOfFailedLookups(dir, dirPath, nonRecursive); + } + } + function setDirectoryWatcher(dir, dirPath, packageDir, packageDirPath, nonRecursive) { + if (!packageDirPath || !resolutionHost.realpath) { + createOrAddRefToDirectoryWatchOfFailedLookups(dir, dirPath, nonRecursive); + } else { + createDirectoryWatcherForPackageDir(dir, dirPath, packageDir, packageDirPath, nonRecursive); + } + } + function createOrAddRefToDirectoryWatchOfFailedLookups(dir, dirPath, nonRecursive) { + let dirWatcher = directoryWatchesOfFailedLookups.get(dirPath); + if (dirWatcher) { + Debug.assert(!!nonRecursive === !!dirWatcher.nonRecursive); + dirWatcher.refCount++; + } else { + directoryWatchesOfFailedLookups.set(dirPath, dirWatcher = { watcher: createDirectoryWatcher(dir, dirPath, nonRecursive), refCount: 1, nonRecursive }); + } + return dirWatcher; + } + function stopWatchFailedLookupLocation(failedLookupLocation, removeAtRoot) { + const failedLookupLocationPath = resolutionHost.toPath(failedLookupLocation); + const toWatch = getDirectoryToWatchFailedLookupLocation( + failedLookupLocation, + failedLookupLocationPath, + rootDir, + rootPath, + rootPathComponents, + isRootWatchable, + getCurrentDirectory, + resolutionHost.preferNonRecursiveWatch + ); + if (toWatch) { + const { dirPath, packageDirPath } = toWatch; + if (dirPath === rootPath) { + removeAtRoot = true; + } else if (packageDirPath && resolutionHost.realpath) { + const packageDirWatcher = packageDirWatchers.get(packageDirPath); + const forDirPath = packageDirWatcher.dirPathToWatcher.get(dirPath); + forDirPath.refCount--; + if (forDirPath.refCount === 0) { + removeDirectoryWatcher(packageDirWatcher.isSymlink ? packageDirPath : dirPath); + packageDirWatcher.dirPathToWatcher.delete(dirPath); + if (packageDirWatcher.isSymlink) { + const refCount = dirPathToSymlinkPackageRefCount.get(dirPath) - 1; + if (refCount === 0) { + dirPathToSymlinkPackageRefCount.delete(dirPath); + } else { + dirPathToSymlinkPackageRefCount.set(dirPath, refCount); + } + } + } + } else { + removeDirectoryWatcher(dirPath); + } + } + return removeAtRoot; + } + function stopWatchFailedLookupLocationOfResolution(resolution, filePath, getResolutionWithResolvedFileName) { + Debug.checkDefined(resolution.files).delete(filePath); + if (resolution.files.size) return; + resolution.files = void 0; + const resolved = getResolutionWithResolvedFileName(resolution); + if (resolved && resolved.resolvedFileName) { + const key = resolutionHost.toPath(resolved.resolvedFileName); + const resolutions = resolvedFileToResolution.get(key); + if ((resolutions == null ? void 0 : resolutions.delete(resolution)) && !resolutions.size) resolvedFileToResolution.delete(key); + } + const { failedLookupLocations, affectingLocations, alternateResult } = resolution; + if (resolutionsWithFailedLookups.delete(resolution)) { + let removeAtRoot = false; + if (failedLookupLocations) { + for (const failedLookupLocation of failedLookupLocations) { + removeAtRoot = stopWatchFailedLookupLocation(failedLookupLocation, removeAtRoot); + } + } + if (alternateResult) removeAtRoot = stopWatchFailedLookupLocation(alternateResult, removeAtRoot); + if (removeAtRoot) removeDirectoryWatcher(rootPath); + } else if (affectingLocations == null ? void 0 : affectingLocations.length) { + resolutionsWithOnlyAffectingLocations.delete(resolution); + } + if (affectingLocations) { + for (const affectingLocation of affectingLocations) { + const watcher = fileWatchesOfAffectingLocations.get(affectingLocation); + watcher.resolutions--; + } + } + } + function removeDirectoryWatcher(dirPath) { + const dirWatcher = directoryWatchesOfFailedLookups.get(dirPath); + dirWatcher.refCount--; + } + function createDirectoryWatcher(directory, dirPath, nonRecursive) { + return resolutionHost.watchDirectoryOfFailedLookupLocation(directory, (fileOrDirectory) => { + const fileOrDirectoryPath = resolutionHost.toPath(fileOrDirectory); + if (cachedDirectoryStructureHost) { + cachedDirectoryStructureHost.addOrDeleteFileOrDirectory(fileOrDirectory, fileOrDirectoryPath); + } + scheduleInvalidateResolutionOfFailedLookupLocation(fileOrDirectoryPath, dirPath === fileOrDirectoryPath); + }, nonRecursive ? 0 /* None */ : 1 /* Recursive */); + } + function removeResolutionsOfFileFromCache(cache, filePath, getResolutionWithResolvedFileName) { + const resolutions = cache.get(filePath); + if (resolutions) { + resolutions.forEach( + (resolution) => stopWatchFailedLookupLocationOfResolution( + resolution, + filePath, + getResolutionWithResolvedFileName + ) + ); + cache.delete(filePath); + } + } + function removeResolutionsFromProjectReferenceRedirects(filePath) { + if (!fileExtensionIs(filePath, ".json" /* Json */)) return; + const program = resolutionHost.getCurrentProgram(); + if (!program) return; + const resolvedProjectReference = program.getResolvedProjectReferenceByPath(filePath); + if (!resolvedProjectReference) return; + resolvedProjectReference.commandLine.fileNames.forEach((f) => removeResolutionsOfFile(resolutionHost.toPath(f))); + } + function removeResolutionsOfFile(filePath) { + removeResolutionsOfFileFromCache(resolvedModuleNames, filePath, getResolvedModuleFromResolution); + removeResolutionsOfFileFromCache(resolvedTypeReferenceDirectives, filePath, getResolvedTypeReferenceDirectiveFromResolution); + } + function invalidateResolutions(resolutions, canInvalidate) { + if (!resolutions) return false; + let invalidated = false; + resolutions.forEach((resolution) => { + if (resolution.isInvalidated || !canInvalidate(resolution)) return; + resolution.isInvalidated = invalidated = true; + for (const containingFilePath of Debug.checkDefined(resolution.files)) { + (filesWithInvalidatedResolutions ?? (filesWithInvalidatedResolutions = /* @__PURE__ */ new Set())).add(containingFilePath); + hasChangedAutomaticTypeDirectiveNames = hasChangedAutomaticTypeDirectiveNames || endsWith(containingFilePath, inferredTypesContainingFile); + } + }); + return invalidated; + } + function invalidateResolutionOfFile(filePath) { + removeResolutionsOfFile(filePath); + const prevHasChangedAutomaticTypeDirectiveNames = hasChangedAutomaticTypeDirectiveNames; + if (invalidateResolutions(resolvedFileToResolution.get(filePath), returnTrue) && hasChangedAutomaticTypeDirectiveNames && !prevHasChangedAutomaticTypeDirectiveNames) { + resolutionHost.onChangedAutomaticTypeDirectiveNames(); + } + } + function setFilesWithInvalidatedNonRelativeUnresolvedImports(filesMap) { + Debug.assert(filesWithInvalidatedNonRelativeUnresolvedImports === filesMap || filesWithInvalidatedNonRelativeUnresolvedImports === void 0); + filesWithInvalidatedNonRelativeUnresolvedImports = filesMap; + } + function scheduleInvalidateResolutionOfFailedLookupLocation(fileOrDirectoryPath, isCreatingWatchedDirectory) { + if (isCreatingWatchedDirectory) { + (isInDirectoryChecks || (isInDirectoryChecks = /* @__PURE__ */ new Set())).add(fileOrDirectoryPath); + } else { + const updatedPath = removeIgnoredPath(fileOrDirectoryPath); + if (!updatedPath) return false; + fileOrDirectoryPath = updatedPath; + if (resolutionHost.fileIsOpen(fileOrDirectoryPath)) { + return false; + } + const dirOfFileOrDirectory = getDirectoryPath(fileOrDirectoryPath); + if (isNodeModulesAtTypesDirectory(fileOrDirectoryPath) || isNodeModulesDirectory(fileOrDirectoryPath) || isNodeModulesAtTypesDirectory(dirOfFileOrDirectory) || isNodeModulesDirectory(dirOfFileOrDirectory)) { + (failedLookupChecks || (failedLookupChecks = /* @__PURE__ */ new Set())).add(fileOrDirectoryPath); + (startsWithPathChecks || (startsWithPathChecks = /* @__PURE__ */ new Set())).add(fileOrDirectoryPath); + } else { + if (isEmittedFileOfProgram(resolutionHost.getCurrentProgram(), fileOrDirectoryPath)) { + return false; + } + if (fileExtensionIs(fileOrDirectoryPath, ".map")) { + return false; + } + (failedLookupChecks || (failedLookupChecks = /* @__PURE__ */ new Set())).add(fileOrDirectoryPath); + (startsWithPathChecks || (startsWithPathChecks = /* @__PURE__ */ new Set())).add(fileOrDirectoryPath); + const packagePath = parseNodeModuleFromPath( + fileOrDirectoryPath, + /*isFolder*/ + true + ); + if (packagePath) (startsWithPathChecks || (startsWithPathChecks = /* @__PURE__ */ new Set())).add(packagePath); + } + } + resolutionHost.scheduleInvalidateResolutionsOfFailedLookupLocations(); + } + function invalidatePackageJsonMap() { + const packageJsonMap = moduleResolutionCache.getPackageJsonInfoCache().getInternalMap(); + if (packageJsonMap && (failedLookupChecks || startsWithPathChecks || isInDirectoryChecks)) { + packageJsonMap.forEach((_value, path) => isInvalidatedFailedLookup(path) ? packageJsonMap.delete(path) : void 0); + } + } + function invalidateResolutionsOfFailedLookupLocations() { + var _a; + if (allModuleAndTypeResolutionsAreInvalidated) { + affectingPathChecksForFile = void 0; + invalidatePackageJsonMap(); + if (failedLookupChecks || startsWithPathChecks || isInDirectoryChecks || affectingPathChecks) { + invalidateResolutions(resolvedLibraries, canInvalidateFailedLookupResolution); + } + failedLookupChecks = void 0; + startsWithPathChecks = void 0; + isInDirectoryChecks = void 0; + affectingPathChecks = void 0; + return true; + } + let invalidated = false; + if (affectingPathChecksForFile) { + (_a = resolutionHost.getCurrentProgram()) == null ? void 0 : _a.getSourceFiles().forEach((f) => { + if (some(f.packageJsonLocations, (location) => affectingPathChecksForFile.has(location))) { + (filesWithInvalidatedResolutions ?? (filesWithInvalidatedResolutions = /* @__PURE__ */ new Set())).add(f.path); + invalidated = true; + } + }); + affectingPathChecksForFile = void 0; + } + if (!failedLookupChecks && !startsWithPathChecks && !isInDirectoryChecks && !affectingPathChecks) { + return invalidated; + } + invalidated = invalidateResolutions(resolutionsWithFailedLookups, canInvalidateFailedLookupResolution) || invalidated; + invalidatePackageJsonMap(); + failedLookupChecks = void 0; + startsWithPathChecks = void 0; + isInDirectoryChecks = void 0; + invalidated = invalidateResolutions(resolutionsWithOnlyAffectingLocations, canInvalidatedFailedLookupResolutionWithAffectingLocation) || invalidated; + affectingPathChecks = void 0; + return invalidated; + } + function canInvalidateFailedLookupResolution(resolution) { + var _a; + if (canInvalidatedFailedLookupResolutionWithAffectingLocation(resolution)) return true; + if (!failedLookupChecks && !startsWithPathChecks && !isInDirectoryChecks) return false; + return ((_a = resolution.failedLookupLocations) == null ? void 0 : _a.some((location) => isInvalidatedFailedLookup(resolutionHost.toPath(location)))) || !!resolution.alternateResult && isInvalidatedFailedLookup(resolutionHost.toPath(resolution.alternateResult)); + } + function isInvalidatedFailedLookup(locationPath) { + return (failedLookupChecks == null ? void 0 : failedLookupChecks.has(locationPath)) || firstDefinedIterator((startsWithPathChecks == null ? void 0 : startsWithPathChecks.keys()) || [], (fileOrDirectoryPath) => startsWith(locationPath, fileOrDirectoryPath) ? true : void 0) || firstDefinedIterator((isInDirectoryChecks == null ? void 0 : isInDirectoryChecks.keys()) || [], (dirPath) => locationPath.length > dirPath.length && startsWith(locationPath, dirPath) && (isDiskPathRoot(dirPath) || locationPath[dirPath.length] === directorySeparator) ? true : void 0); + } + function canInvalidatedFailedLookupResolutionWithAffectingLocation(resolution) { + var _a; + return !!affectingPathChecks && ((_a = resolution.affectingLocations) == null ? void 0 : _a.some((location) => affectingPathChecks.has(location))); + } + function closeTypeRootsWatch() { + clearMap(typeRootsWatches, closeFileWatcher); + } + function createTypeRootsWatch(typeRoot) { + return canWatchTypeRootPath(typeRoot) ? resolutionHost.watchTypeRootsDirectory(typeRoot, (fileOrDirectory) => { + const fileOrDirectoryPath = resolutionHost.toPath(fileOrDirectory); + if (cachedDirectoryStructureHost) { + cachedDirectoryStructureHost.addOrDeleteFileOrDirectory(fileOrDirectory, fileOrDirectoryPath); + } + hasChangedAutomaticTypeDirectiveNames = true; + resolutionHost.onChangedAutomaticTypeDirectiveNames(); + const dirPath = getDirectoryToWatchFailedLookupLocationFromTypeRoot( + typeRoot, + resolutionHost.toPath(typeRoot), + rootPath, + rootPathComponents, + isRootWatchable, + getCurrentDirectory, + resolutionHost.preferNonRecursiveWatch, + (dirPath2) => directoryWatchesOfFailedLookups.has(dirPath2) || dirPathToSymlinkPackageRefCount.has(dirPath2) + ); + if (dirPath) { + scheduleInvalidateResolutionOfFailedLookupLocation(fileOrDirectoryPath, dirPath === fileOrDirectoryPath); + } + }, 1 /* Recursive */) : noopFileWatcher; + } + function updateTypeRootsWatch() { + const options = resolutionHost.getCompilationSettings(); + if (options.types) { + closeTypeRootsWatch(); + return; + } + const typeRoots = getEffectiveTypeRoots(options, { getCurrentDirectory }); + if (typeRoots) { + mutateMap( + typeRootsWatches, + new Set(typeRoots), + { + createNewValue: createTypeRootsWatch, + onDeleteValue: closeFileWatcher + } + ); + } else { + closeTypeRootsWatch(); + } + } + function canWatchTypeRootPath(typeRoot) { + if (resolutionHost.getCompilationSettings().typeRoots) return true; + return canWatchAtTypes(resolutionHost.toPath(typeRoot)); + } +} +function resolutionIsSymlink(resolution) { + var _a, _b; + return !!(((_a = resolution.resolvedModule) == null ? void 0 : _a.originalPath) || ((_b = resolution.resolvedTypeReferenceDirective) == null ? void 0 : _b.originalPath)); +} + +// src/compiler/watch.ts +var sysFormatDiagnosticsHost = sys ? { + getCurrentDirectory: () => sys.getCurrentDirectory(), + getNewLine: () => sys.newLine, + getCanonicalFileName: createGetCanonicalFileName(sys.useCaseSensitiveFileNames) +} : void 0; +function createDiagnosticReporter(system, pretty) { + const host = system === sys && sysFormatDiagnosticsHost ? sysFormatDiagnosticsHost : { + getCurrentDirectory: () => system.getCurrentDirectory(), + getNewLine: () => system.newLine, + getCanonicalFileName: createGetCanonicalFileName(system.useCaseSensitiveFileNames) + }; + if (!pretty) { + return (diagnostic) => system.write(formatDiagnostic(diagnostic, host)); + } + const diagnostics = new Array(1); + return (diagnostic) => { + diagnostics[0] = diagnostic; + system.write(formatDiagnosticsWithColorAndContext(diagnostics, host) + host.getNewLine()); + diagnostics[0] = void 0; + }; +} +function clearScreenIfNotWatchingForFileChanges(system, diagnostic, options) { + if (system.clearScreen && !options.preserveWatchOutput && !options.extendedDiagnostics && !options.diagnostics && contains(screenStartingMessageCodes, diagnostic.code)) { + system.clearScreen(); + return true; + } + return false; +} +var screenStartingMessageCodes = [ + Diagnostics.Starting_compilation_in_watch_mode.code, + Diagnostics.File_change_detected_Starting_incremental_compilation.code +]; +function getPlainDiagnosticFollowingNewLines(diagnostic, newLine) { + return contains(screenStartingMessageCodes, diagnostic.code) ? newLine + newLine : newLine; +} +function getLocaleTimeString(system) { + return !system.now ? (/* @__PURE__ */ new Date()).toLocaleTimeString() : ( + // On some systems / builds of Node, there's a non-breaking space between the time and AM/PM. + // This branch is solely for testing, so just switch it to a normal space for baseline stability. + // See: + // - https://github.com/nodejs/node/issues/45171 + // - https://github.com/nodejs/node/issues/45753 + system.now().toLocaleTimeString("en-US", { timeZone: "UTC" }).replace("\u202F", " ") + ); +} +function createWatchStatusReporter(system, pretty) { + return pretty ? (diagnostic, newLine, options) => { + clearScreenIfNotWatchingForFileChanges(system, diagnostic, options); + let output = `[${formatColorAndReset(getLocaleTimeString(system), "\x1B[90m" /* Grey */)}] `; + output += `${flattenDiagnosticMessageText(diagnostic.messageText, system.newLine)}${newLine + newLine}`; + system.write(output); + } : (diagnostic, newLine, options) => { + let output = ""; + if (!clearScreenIfNotWatchingForFileChanges(system, diagnostic, options)) { + output += newLine; + } + output += `${getLocaleTimeString(system)} - `; + output += `${flattenDiagnosticMessageText(diagnostic.messageText, system.newLine)}${getPlainDiagnosticFollowingNewLines(diagnostic, newLine)}`; + system.write(output); + }; +} +function parseConfigFileWithSystem(configFileName, optionsToExtend, extendedConfigCache, watchOptionsToExtend, system, reportDiagnostic) { + const host = system; + host.onUnRecoverableConfigFileDiagnostic = (diagnostic) => reportUnrecoverableDiagnostic(system, reportDiagnostic, diagnostic); + const result = getParsedCommandLineOfConfigFile(configFileName, optionsToExtend, host, extendedConfigCache, watchOptionsToExtend); + host.onUnRecoverableConfigFileDiagnostic = void 0; + return result; +} +function getErrorCountForSummary(diagnostics) { + return countWhere(diagnostics, (diagnostic) => diagnostic.category === 1 /* Error */); +} +function getFilesInErrorForSummary(diagnostics) { + const filesInError = filter(diagnostics, (diagnostic) => diagnostic.category === 1 /* Error */).map( + (errorDiagnostic) => { + if (errorDiagnostic.file === void 0) return; + return `${errorDiagnostic.file.fileName}`; + } + ); + return filesInError.map((fileName) => { + if (fileName === void 0) { + return void 0; + } + const diagnosticForFileName = find(diagnostics, (diagnostic) => diagnostic.file !== void 0 && diagnostic.file.fileName === fileName); + if (diagnosticForFileName !== void 0) { + const { line } = getLineAndCharacterOfPosition(diagnosticForFileName.file, diagnosticForFileName.start); + return { + fileName, + line: line + 1 + }; + } + }); +} +function getWatchErrorSummaryDiagnosticMessage(errorCount) { + return errorCount === 1 ? Diagnostics.Found_1_error_Watching_for_file_changes : Diagnostics.Found_0_errors_Watching_for_file_changes; +} +function prettyPathForFileError(error, cwd) { + const line = formatColorAndReset(":" + error.line, "\x1B[90m" /* Grey */); + if (pathIsAbsolute(error.fileName) && pathIsAbsolute(cwd)) { + return getRelativePathFromDirectory( + cwd, + error.fileName, + /*ignoreCase*/ + false + ) + line; + } + return error.fileName + line; +} +function getErrorSummaryText(errorCount, filesInError, newLine, host) { + if (errorCount === 0) return ""; + const nonNilFiles = filesInError.filter((fileInError) => fileInError !== void 0); + const distinctFileNamesWithLines = nonNilFiles.map((fileInError) => `${fileInError.fileName}:${fileInError.line}`).filter((value, index, self) => self.indexOf(value) === index); + const firstFileReference = nonNilFiles[0] && prettyPathForFileError(nonNilFiles[0], host.getCurrentDirectory()); + let messageAndArgs; + if (errorCount === 1) { + messageAndArgs = filesInError[0] !== void 0 ? [Diagnostics.Found_1_error_in_0, firstFileReference] : [Diagnostics.Found_1_error]; + } else { + messageAndArgs = distinctFileNamesWithLines.length === 0 ? [Diagnostics.Found_0_errors, errorCount] : distinctFileNamesWithLines.length === 1 ? [Diagnostics.Found_0_errors_in_the_same_file_starting_at_Colon_1, errorCount, firstFileReference] : [Diagnostics.Found_0_errors_in_1_files, errorCount, distinctFileNamesWithLines.length]; + } + const d = createCompilerDiagnostic(...messageAndArgs); + const suffix = distinctFileNamesWithLines.length > 1 ? createTabularErrorsDisplay(nonNilFiles, host) : ""; + return `${newLine}${flattenDiagnosticMessageText(d.messageText, newLine)}${newLine}${newLine}${suffix}`; +} +function createTabularErrorsDisplay(filesInError, host) { + const distinctFiles = filesInError.filter((value, index, self) => index === self.findIndex((file) => (file == null ? void 0 : file.fileName) === (value == null ? void 0 : value.fileName))); + if (distinctFiles.length === 0) return ""; + const numberLength = (num) => Math.log(num) * Math.LOG10E + 1; + const fileToErrorCount = distinctFiles.map((file) => [file, countWhere(filesInError, (fileInError) => fileInError.fileName === file.fileName)]); + const maxErrors = maxBy(fileToErrorCount, 0, (value) => value[1]); + const headerRow = Diagnostics.Errors_Files.message; + const leftColumnHeadingLength = headerRow.split(" ")[0].length; + const leftPaddingGoal = Math.max(leftColumnHeadingLength, numberLength(maxErrors)); + const headerPadding = Math.max(numberLength(maxErrors) - leftColumnHeadingLength, 0); + let tabularData = ""; + tabularData += " ".repeat(headerPadding) + headerRow + "\n"; + fileToErrorCount.forEach((row) => { + const [file, errorCount] = row; + const errorCountDigitsLength = Math.log(errorCount) * Math.LOG10E + 1 | 0; + const leftPadding = errorCountDigitsLength < leftPaddingGoal ? " ".repeat(leftPaddingGoal - errorCountDigitsLength) : ""; + const fileRef = prettyPathForFileError(file, host.getCurrentDirectory()); + tabularData += `${leftPadding}${errorCount} ${fileRef} +`; + }); + return tabularData; +} +function isBuilderProgram(program) { + return !!program.state; +} +function listFiles(program, write) { + const options = program.getCompilerOptions(); + if (options.explainFiles) { + explainFiles(isBuilderProgram(program) ? program.getProgram() : program, write); + } else if (options.listFiles || options.listFilesOnly) { + forEach(program.getSourceFiles(), (file) => { + write(file.fileName); + }); + } +} +function explainFiles(program, write) { + var _a, _b; + const reasons = program.getFileIncludeReasons(); + const relativeFileName = (fileName) => convertToRelativePath(fileName, program.getCurrentDirectory(), program.getCanonicalFileName); + for (const file of program.getSourceFiles()) { + write(`${toFileName(file, relativeFileName)}`); + (_a = reasons.get(file.path)) == null ? void 0 : _a.forEach((reason) => write(` ${fileIncludeReasonToDiagnostics(program, reason, relativeFileName).messageText}`)); + (_b = explainIfFileIsRedirectAndImpliedFormat(file, program.getCompilerOptionsForFile(file), relativeFileName)) == null ? void 0 : _b.forEach((d) => write(` ${d.messageText}`)); + } +} +function explainIfFileIsRedirectAndImpliedFormat(file, options, fileNameConvertor) { + var _a; + let result; + if (file.path !== file.resolvedPath) { + (result ?? (result = [])).push(chainDiagnosticMessages( + /*details*/ + void 0, + Diagnostics.File_is_output_of_project_reference_source_0, + toFileName(file.originalFileName, fileNameConvertor) + )); + } + if (file.redirectInfo) { + (result ?? (result = [])).push(chainDiagnosticMessages( + /*details*/ + void 0, + Diagnostics.File_redirects_to_file_0, + toFileName(file.redirectInfo.redirectTarget, fileNameConvertor) + )); + } + if (isExternalOrCommonJsModule(file)) { + switch (getImpliedNodeFormatForEmitWorker(file, options)) { + case 99 /* ESNext */: + if (file.packageJsonScope) { + (result ?? (result = [])).push(chainDiagnosticMessages( + /*details*/ + void 0, + Diagnostics.File_is_ECMAScript_module_because_0_has_field_type_with_value_module, + toFileName(last(file.packageJsonLocations), fileNameConvertor) + )); + } + break; + case 1 /* CommonJS */: + if (file.packageJsonScope) { + (result ?? (result = [])).push(chainDiagnosticMessages( + /*details*/ + void 0, + file.packageJsonScope.contents.packageJsonContent.type ? Diagnostics.File_is_CommonJS_module_because_0_has_field_type_whose_value_is_not_module : Diagnostics.File_is_CommonJS_module_because_0_does_not_have_field_type, + toFileName(last(file.packageJsonLocations), fileNameConvertor) + )); + } else if ((_a = file.packageJsonLocations) == null ? void 0 : _a.length) { + (result ?? (result = [])).push(chainDiagnosticMessages( + /*details*/ + void 0, + Diagnostics.File_is_CommonJS_module_because_package_json_was_not_found + )); + } + break; + } + } + return result; +} +function getMatchedFileSpec(program, fileName) { + var _a; + const configFile = program.getCompilerOptions().configFile; + if (!((_a = configFile == null ? void 0 : configFile.configFileSpecs) == null ? void 0 : _a.validatedFilesSpec)) return void 0; + const filePath = program.getCanonicalFileName(fileName); + const basePath = getDirectoryPath(getNormalizedAbsolutePath(configFile.fileName, program.getCurrentDirectory())); + const index = findIndex(configFile.configFileSpecs.validatedFilesSpec, (fileSpec) => program.getCanonicalFileName(getNormalizedAbsolutePath(fileSpec, basePath)) === filePath); + return index !== -1 ? configFile.configFileSpecs.validatedFilesSpecBeforeSubstitution[index] : void 0; +} +function getMatchedIncludeSpec(program, fileName) { + var _a, _b; + const configFile = program.getCompilerOptions().configFile; + if (!((_a = configFile == null ? void 0 : configFile.configFileSpecs) == null ? void 0 : _a.validatedIncludeSpecs)) return void 0; + if (configFile.configFileSpecs.isDefaultIncludeSpec) return true; + const isJsonFile = fileExtensionIs(fileName, ".json" /* Json */); + const basePath = getDirectoryPath(getNormalizedAbsolutePath(configFile.fileName, program.getCurrentDirectory())); + const useCaseSensitiveFileNames2 = program.useCaseSensitiveFileNames(); + const index = findIndex((_b = configFile == null ? void 0 : configFile.configFileSpecs) == null ? void 0 : _b.validatedIncludeSpecs, (includeSpec) => { + if (isJsonFile && !endsWith(includeSpec, ".json" /* Json */)) return false; + const pattern = getPatternFromSpec(includeSpec, basePath, "files"); + return !!pattern && getRegexFromPattern(`(${pattern})$`, useCaseSensitiveFileNames2).test(fileName); + }); + return index !== -1 ? configFile.configFileSpecs.validatedIncludeSpecsBeforeSubstitution[index] : void 0; +} +function fileIncludeReasonToDiagnostics(program, reason, fileNameConvertor) { + var _a, _b; + const options = program.getCompilerOptions(); + if (isReferencedFile(reason)) { + const referenceLocation = getReferencedFileLocation(program, reason); + const referenceText = isReferenceFileLocation(referenceLocation) ? referenceLocation.file.text.substring(referenceLocation.pos, referenceLocation.end) : `"${referenceLocation.text}"`; + let message; + Debug.assert(isReferenceFileLocation(referenceLocation) || reason.kind === 3 /* Import */, "Only synthetic references are imports"); + switch (reason.kind) { + case 3 /* Import */: + if (isReferenceFileLocation(referenceLocation)) { + message = referenceLocation.packageId ? Diagnostics.Imported_via_0_from_file_1_with_packageId_2 : Diagnostics.Imported_via_0_from_file_1; + } else if (referenceLocation.text === externalHelpersModuleNameText) { + message = referenceLocation.packageId ? Diagnostics.Imported_via_0_from_file_1_with_packageId_2_to_import_importHelpers_as_specified_in_compilerOptions : Diagnostics.Imported_via_0_from_file_1_to_import_importHelpers_as_specified_in_compilerOptions; + } else { + message = referenceLocation.packageId ? Diagnostics.Imported_via_0_from_file_1_with_packageId_2_to_import_jsx_and_jsxs_factory_functions : Diagnostics.Imported_via_0_from_file_1_to_import_jsx_and_jsxs_factory_functions; + } + break; + case 4 /* ReferenceFile */: + Debug.assert(!referenceLocation.packageId); + message = Diagnostics.Referenced_via_0_from_file_1; + break; + case 5 /* TypeReferenceDirective */: + message = referenceLocation.packageId ? Diagnostics.Type_library_referenced_via_0_from_file_1_with_packageId_2 : Diagnostics.Type_library_referenced_via_0_from_file_1; + break; + case 7 /* LibReferenceDirective */: + Debug.assert(!referenceLocation.packageId); + message = Diagnostics.Library_referenced_via_0_from_file_1; + break; + default: + Debug.assertNever(reason); + } + return chainDiagnosticMessages( + /*details*/ + void 0, + message, + referenceText, + toFileName(referenceLocation.file, fileNameConvertor), + referenceLocation.packageId && packageIdToString(referenceLocation.packageId) + ); + } + switch (reason.kind) { + case 0 /* RootFile */: + if (!((_a = options.configFile) == null ? void 0 : _a.configFileSpecs)) return chainDiagnosticMessages( + /*details*/ + void 0, + Diagnostics.Root_file_specified_for_compilation + ); + const fileName = getNormalizedAbsolutePath(program.getRootFileNames()[reason.index], program.getCurrentDirectory()); + const matchedByFiles = getMatchedFileSpec(program, fileName); + if (matchedByFiles) return chainDiagnosticMessages( + /*details*/ + void 0, + Diagnostics.Part_of_files_list_in_tsconfig_json + ); + const matchedByInclude = getMatchedIncludeSpec(program, fileName); + return isString(matchedByInclude) ? chainDiagnosticMessages( + /*details*/ + void 0, + Diagnostics.Matched_by_include_pattern_0_in_1, + matchedByInclude, + toFileName(options.configFile, fileNameConvertor) + ) : ( + // Could be additional files specified as roots or matched by default include + chainDiagnosticMessages( + /*details*/ + void 0, + matchedByInclude ? Diagnostics.Matched_by_default_include_pattern_Asterisk_Asterisk_Slash_Asterisk : Diagnostics.Root_file_specified_for_compilation + ) + ); + case 1 /* SourceFromProjectReference */: + case 2 /* OutputFromProjectReference */: + const isOutput = reason.kind === 2 /* OutputFromProjectReference */; + const referencedResolvedRef = Debug.checkDefined((_b = program.getResolvedProjectReferences()) == null ? void 0 : _b[reason.index]); + return chainDiagnosticMessages( + /*details*/ + void 0, + options.outFile ? isOutput ? Diagnostics.Output_from_referenced_project_0_included_because_1_specified : Diagnostics.Source_from_referenced_project_0_included_because_1_specified : isOutput ? Diagnostics.Output_from_referenced_project_0_included_because_module_is_specified_as_none : Diagnostics.Source_from_referenced_project_0_included_because_module_is_specified_as_none, + toFileName(referencedResolvedRef.sourceFile.fileName, fileNameConvertor), + options.outFile ? "--outFile" : "--out" + ); + case 8 /* AutomaticTypeDirectiveFile */: { + const messageAndArgs = options.types ? reason.packageId ? [Diagnostics.Entry_point_of_type_library_0_specified_in_compilerOptions_with_packageId_1, reason.typeReference, packageIdToString(reason.packageId)] : [Diagnostics.Entry_point_of_type_library_0_specified_in_compilerOptions, reason.typeReference] : reason.packageId ? [Diagnostics.Entry_point_for_implicit_type_library_0_with_packageId_1, reason.typeReference, packageIdToString(reason.packageId)] : [Diagnostics.Entry_point_for_implicit_type_library_0, reason.typeReference]; + return chainDiagnosticMessages( + /*details*/ + void 0, + ...messageAndArgs + ); + } + case 6 /* LibFile */: { + if (reason.index !== void 0) return chainDiagnosticMessages( + /*details*/ + void 0, + Diagnostics.Library_0_specified_in_compilerOptions, + options.lib[reason.index] + ); + const target = getNameOfScriptTarget(getEmitScriptTarget(options)); + const messageAndArgs = target ? [Diagnostics.Default_library_for_target_0, target] : [Diagnostics.Default_library]; + return chainDiagnosticMessages( + /*details*/ + void 0, + ...messageAndArgs + ); + } + default: + Debug.assertNever(reason); + } +} +function toFileName(file, fileNameConvertor) { + const fileName = isString(file) ? file : file.fileName; + return fileNameConvertor ? fileNameConvertor(fileName) : fileName; +} +function emitFilesAndReportErrors(program, reportDiagnostic, write, reportSummary, writeFile2, cancellationToken, emitOnlyDtsFiles, customTransformers) { + const options = program.getCompilerOptions(); + const allDiagnostics = program.getConfigFileParsingDiagnostics().slice(); + const configFileParsingDiagnosticsLength = allDiagnostics.length; + addRange(allDiagnostics, program.getSyntacticDiagnostics( + /*sourceFile*/ + void 0, + cancellationToken + )); + if (allDiagnostics.length === configFileParsingDiagnosticsLength) { + addRange(allDiagnostics, program.getOptionsDiagnostics(cancellationToken)); + if (!options.listFilesOnly) { + addRange(allDiagnostics, program.getGlobalDiagnostics(cancellationToken)); + if (allDiagnostics.length === configFileParsingDiagnosticsLength) { + addRange(allDiagnostics, program.getSemanticDiagnostics( + /*sourceFile*/ + void 0, + cancellationToken + )); + } + if (options.noEmit && getEmitDeclarations(options) && allDiagnostics.length === configFileParsingDiagnosticsLength) { + addRange(allDiagnostics, program.getDeclarationDiagnostics( + /*sourceFile*/ + void 0, + cancellationToken + )); + } + } + } + const emitResult = options.listFilesOnly ? { emitSkipped: true, diagnostics: emptyArray } : program.emit( + /*targetSourceFile*/ + void 0, + writeFile2, + cancellationToken, + emitOnlyDtsFiles, + customTransformers + ); + addRange(allDiagnostics, emitResult.diagnostics); + const diagnostics = sortAndDeduplicateDiagnostics(allDiagnostics); + diagnostics.forEach(reportDiagnostic); + if (write) { + const currentDir = program.getCurrentDirectory(); + forEach(emitResult.emittedFiles, (file) => { + const filepath = getNormalizedAbsolutePath(file, currentDir); + write(`TSFILE: ${filepath}`); + }); + listFiles(program, write); + } + if (reportSummary) { + reportSummary(getErrorCountForSummary(diagnostics), getFilesInErrorForSummary(diagnostics)); + } + return { + emitResult, + diagnostics + }; +} +function emitFilesAndReportErrorsAndGetExitStatus(program, reportDiagnostic, write, reportSummary, writeFile2, cancellationToken, emitOnlyDtsFiles, customTransformers) { + const { emitResult, diagnostics } = emitFilesAndReportErrors( + program, + reportDiagnostic, + write, + reportSummary, + writeFile2, + cancellationToken, + emitOnlyDtsFiles, + customTransformers + ); + if (emitResult.emitSkipped && diagnostics.length > 0) { + return 1 /* DiagnosticsPresent_OutputsSkipped */; + } else if (diagnostics.length > 0) { + return 2 /* DiagnosticsPresent_OutputsGenerated */; + } + return 0 /* Success */; +} +var noopFileWatcher = { close: noop }; +var returnNoopFileWatcher = () => noopFileWatcher; +function createWatchHost(system = sys, reportWatchStatus2) { + const onWatchStatusChange = reportWatchStatus2 || createWatchStatusReporter(system); + return { + onWatchStatusChange, + watchFile: maybeBind(system, system.watchFile) || returnNoopFileWatcher, + watchDirectory: maybeBind(system, system.watchDirectory) || returnNoopFileWatcher, + setTimeout: maybeBind(system, system.setTimeout) || noop, + clearTimeout: maybeBind(system, system.clearTimeout) || noop, + preferNonRecursiveWatch: system.preferNonRecursiveWatch + }; +} +var WatchType = { + ConfigFile: "Config file", + ExtendedConfigFile: "Extended config file", + SourceFile: "Source file", + MissingFile: "Missing file", + WildcardDirectory: "Wild card directory", + FailedLookupLocations: "Failed Lookup Locations", + AffectingFileLocation: "File location affecting resolution", + 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", + ClosedScriptInfo: "Closed Script info", + ConfigFileForInferredRoot: "Config file for the inferred project root", + NodeModules: "node_modules for closed script infos and package.jsons affecting module specifier cache", + MissingSourceMapFile: "Missing source map file", + NoopConfigFileForInferredRoot: "Noop Config file for the inferred project root", + MissingGeneratedFile: "Missing generated file", + NodeModulesForModuleSpecifierCache: "node_modules for module specifier cache invalidation", + TypingInstallerLocationFile: "File location for typing installer", + TypingInstallerLocationDirectory: "Directory location for typing installer" +}; +function createWatchFactory(host, options) { + const watchLogLevel = host.trace ? options.extendedDiagnostics ? 2 /* Verbose */ : options.diagnostics ? 1 /* TriggerOnly */ : 0 /* None */ : 0 /* None */; + const writeLog = watchLogLevel !== 0 /* None */ ? (s) => host.trace(s) : noop; + const result = getWatchFactory(host, watchLogLevel, writeLog); + result.writeLog = writeLog; + return result; +} +function createCompilerHostFromProgramHost(host, getCompilerOptions, directoryStructureHost = host) { + const useCaseSensitiveFileNames2 = host.useCaseSensitiveFileNames(); + const compilerHost = { + getSourceFile: createGetSourceFile( + (fileName, encoding) => !encoding ? compilerHost.readFile(fileName) : host.readFile(fileName, encoding), + /*setParentNodes*/ + void 0 + ), + getDefaultLibLocation: maybeBind(host, host.getDefaultLibLocation), + getDefaultLibFileName: (options) => host.getDefaultLibFileName(options), + writeFile: createWriteFileMeasuringIO( + (path, data, writeByteOrderMark) => host.writeFile(path, data, writeByteOrderMark), + (path) => host.createDirectory(path), + (path) => host.directoryExists(path) + ), + getCurrentDirectory: memoize(() => host.getCurrentDirectory()), + useCaseSensitiveFileNames: () => useCaseSensitiveFileNames2, + getCanonicalFileName: createGetCanonicalFileName(useCaseSensitiveFileNames2), + getNewLine: () => getNewLineCharacter(getCompilerOptions()), + fileExists: (f) => host.fileExists(f), + readFile: (f) => host.readFile(f), + trace: maybeBind(host, host.trace), + directoryExists: maybeBind(directoryStructureHost, directoryStructureHost.directoryExists), + getDirectories: maybeBind(directoryStructureHost, directoryStructureHost.getDirectories), + realpath: maybeBind(host, host.realpath), + getEnvironmentVariable: maybeBind(host, host.getEnvironmentVariable) || (() => ""), + createHash: maybeBind(host, host.createHash), + readDirectory: maybeBind(host, host.readDirectory), + storeSignatureInfo: host.storeSignatureInfo, + jsDocParsingMode: host.jsDocParsingMode + }; + return compilerHost; +} +function getSourceFileVersionAsHashFromText(host, text) { + if (text.match(sourceMapCommentRegExpDontCareLineStart)) { + let lineEnd = text.length; + let lineStart = lineEnd; + for (let pos = lineEnd - 1; pos >= 0; pos--) { + const ch = text.charCodeAt(pos); + switch (ch) { + case 10 /* lineFeed */: + if (pos && text.charCodeAt(pos - 1) === 13 /* carriageReturn */) { + pos--; + } + // falls through + case 13 /* carriageReturn */: + break; + default: + if (ch < 127 /* maxAsciiCharacter */ || !isLineBreak(ch)) { + lineStart = pos; + continue; + } + break; + } + const line = text.substring(lineStart, lineEnd); + if (line.match(sourceMapCommentRegExp)) { + text = text.substring(0, lineStart); + break; + } else if (!line.match(whitespaceOrMapCommentRegExp)) { + break; + } + lineEnd = lineStart; + } + } + return (host.createHash || generateDjb2Hash)(text); +} +function setGetSourceFileAsHashVersioned(compilerHost) { + const originalGetSourceFile = compilerHost.getSourceFile; + compilerHost.getSourceFile = (...args) => { + const result = originalGetSourceFile.call(compilerHost, ...args); + if (result) { + result.version = getSourceFileVersionAsHashFromText(compilerHost, result.text); + } + return result; + }; +} +function createProgramHost(system, createProgram2) { + const getDefaultLibLocation = memoize(() => getDirectoryPath(normalizePath(system.getExecutingFilePath()))); + return { + useCaseSensitiveFileNames: () => system.useCaseSensitiveFileNames, + getNewLine: () => system.newLine, + getCurrentDirectory: memoize(() => system.getCurrentDirectory()), + getDefaultLibLocation, + getDefaultLibFileName: (options) => combinePaths(getDefaultLibLocation(), getDefaultLibFileName(options)), + fileExists: (path) => system.fileExists(path), + readFile: (path, encoding) => system.readFile(path, encoding), + directoryExists: (path) => system.directoryExists(path), + getDirectories: (path) => system.getDirectories(path), + readDirectory: (path, extensions, exclude, include, depth) => system.readDirectory(path, extensions, exclude, include, depth), + realpath: maybeBind(system, system.realpath), + getEnvironmentVariable: maybeBind(system, system.getEnvironmentVariable), + trace: (s) => system.write(s + system.newLine), + createDirectory: (path) => system.createDirectory(path), + writeFile: (path, data, writeByteOrderMark) => system.writeFile(path, data, writeByteOrderMark), + createHash: maybeBind(system, system.createHash), + createProgram: createProgram2 || createEmitAndSemanticDiagnosticsBuilderProgram, + storeSignatureInfo: system.storeSignatureInfo, + now: maybeBind(system, system.now) + }; +} +function createWatchCompilerHost(system = sys, createProgram2, reportDiagnostic, reportWatchStatus2) { + const write = (s) => system.write(s + system.newLine); + const result = createProgramHost(system, createProgram2); + copyProperties(result, createWatchHost(system, reportWatchStatus2)); + result.afterProgramCreate = (builderProgram) => { + const compilerOptions = builderProgram.getCompilerOptions(); + const newLine = getNewLineCharacter(compilerOptions); + emitFilesAndReportErrors( + builderProgram, + reportDiagnostic, + write, + (errorCount) => result.onWatchStatusChange( + createCompilerDiagnostic(getWatchErrorSummaryDiagnosticMessage(errorCount), errorCount), + newLine, + compilerOptions, + errorCount + ) + ); + }; + return result; +} +function reportUnrecoverableDiagnostic(system, reportDiagnostic, diagnostic) { + reportDiagnostic(diagnostic); + system.exit(1 /* DiagnosticsPresent_OutputsSkipped */); +} +function createWatchCompilerHostOfConfigFile({ + configFileName, + optionsToExtend, + watchOptionsToExtend, + extraFileExtensions, + system, + createProgram: createProgram2, + reportDiagnostic, + reportWatchStatus: reportWatchStatus2 +}) { + const diagnosticReporter = reportDiagnostic || createDiagnosticReporter(system); + const host = createWatchCompilerHost(system, createProgram2, diagnosticReporter, reportWatchStatus2); + host.onUnRecoverableConfigFileDiagnostic = (diagnostic) => reportUnrecoverableDiagnostic(system, diagnosticReporter, diagnostic); + host.configFileName = configFileName; + host.optionsToExtend = optionsToExtend; + host.watchOptionsToExtend = watchOptionsToExtend; + host.extraFileExtensions = extraFileExtensions; + return host; +} +function createWatchCompilerHostOfFilesAndCompilerOptions({ + rootFiles, + options, + watchOptions, + projectReferences, + system, + createProgram: createProgram2, + reportDiagnostic, + reportWatchStatus: reportWatchStatus2 +}) { + const host = createWatchCompilerHost(system, createProgram2, reportDiagnostic || createDiagnosticReporter(system), reportWatchStatus2); + host.rootFiles = rootFiles; + host.options = options; + host.watchOptions = watchOptions; + host.projectReferences = projectReferences; + return host; +} +function performIncrementalCompilation(input) { + const system = input.system || sys; + const host = input.host || (input.host = createIncrementalCompilerHost(input.options, system)); + const builderProgram = createIncrementalProgram(input); + const exitStatus = emitFilesAndReportErrorsAndGetExitStatus( + builderProgram, + input.reportDiagnostic || createDiagnosticReporter(system), + (s) => host.trace && host.trace(s), + input.reportErrorSummary || input.options.pretty ? (errorCount, filesInError) => system.write(getErrorSummaryText(errorCount, filesInError, system.newLine, host)) : void 0 + ); + if (input.afterProgramEmitAndDiagnostics) input.afterProgramEmitAndDiagnostics(builderProgram); + return exitStatus; +} + +// src/compiler/watchPublic.ts +function readBuilderProgram(compilerOptions, host) { + const buildInfoPath = getTsBuildInfoEmitOutputFilePath(compilerOptions); + if (!buildInfoPath) return void 0; + let buildInfo; + if (host.getBuildInfo) { + buildInfo = host.getBuildInfo(buildInfoPath, compilerOptions.configFilePath); + } else { + const content = host.readFile(buildInfoPath); + if (!content) return void 0; + buildInfo = getBuildInfo(buildInfoPath, content); + } + if (!buildInfo || buildInfo.version !== version || !isIncrementalBuildInfo(buildInfo)) return void 0; + return createBuilderProgramUsingIncrementalBuildInfo(buildInfo, buildInfoPath, host); +} +function createIncrementalCompilerHost(options, system = sys) { + const host = createCompilerHostWorker( + options, + /*setParentNodes*/ + void 0, + system + ); + host.createHash = maybeBind(system, system.createHash); + host.storeSignatureInfo = system.storeSignatureInfo; + setGetSourceFileAsHashVersioned(host); + changeCompilerHostLikeToUseCache(host, (fileName) => toPath(fileName, host.getCurrentDirectory(), host.getCanonicalFileName)); + return host; +} +function createIncrementalProgram({ + rootNames, + options, + configFileParsingDiagnostics, + projectReferences, + host, + createProgram: createProgram2 +}) { + host = host || createIncrementalCompilerHost(options); + createProgram2 = createProgram2 || createEmitAndSemanticDiagnosticsBuilderProgram; + const oldProgram = readBuilderProgram(options, host); + return createProgram2(rootNames, options, host, oldProgram, configFileParsingDiagnostics, projectReferences); +} +function createWatchProgram(host) { + let builderProgram; + let updateLevel; + let missingFilesMap; + let watchedWildcardDirectories; + let staleWatches = /* @__PURE__ */ new Map([[void 0, void 0]]); + let timerToUpdateProgram; + let timerToInvalidateFailedLookupResolutions; + let parsedConfigs; + let sharedExtendedConfigFileWatchers; + let extendedConfigCache = host.extendedConfigCache; + let reportFileChangeDetectedOnCreateProgram = false; + const sourceFilesCache = /* @__PURE__ */ new Map(); + let missingFilePathsRequestedForRelease; + let hasChangedCompilerOptions = false; + const useCaseSensitiveFileNames2 = host.useCaseSensitiveFileNames(); + const currentDirectory = host.getCurrentDirectory(); + const { configFileName, optionsToExtend: optionsToExtendForConfigFile = {}, watchOptionsToExtend, extraFileExtensions, createProgram: createProgram2 } = host; + let { rootFiles: rootFileNames, options: compilerOptions, watchOptions, projectReferences } = host; + let wildcardDirectories; + let configFileParsingDiagnostics; + let canConfigFileJsonReportNoInputFiles = false; + let hasChangedConfigFileParsingErrors = false; + const cachedDirectoryStructureHost = configFileName === void 0 ? void 0 : createCachedDirectoryStructureHost(host, currentDirectory, useCaseSensitiveFileNames2); + const directoryStructureHost = cachedDirectoryStructureHost || host; + const parseConfigFileHost = parseConfigHostFromCompilerHostLike(host, directoryStructureHost); + let newLine = updateNewLine(); + if (configFileName && host.configFileParsingResult) { + setConfigFileParsingResult(host.configFileParsingResult); + newLine = updateNewLine(); + } + reportWatchDiagnostic(Diagnostics.Starting_compilation_in_watch_mode); + if (configFileName && !host.configFileParsingResult) { + newLine = getNewLineCharacter(optionsToExtendForConfigFile); + Debug.assert(!rootFileNames); + parseConfigFile2(); + newLine = updateNewLine(); + } + Debug.assert(compilerOptions); + Debug.assert(rootFileNames); + const { watchFile: watchFile2, watchDirectory, writeLog } = createWatchFactory(host, compilerOptions); + const getCanonicalFileName = createGetCanonicalFileName(useCaseSensitiveFileNames2); + writeLog(`Current directory: ${currentDirectory} CaseSensitiveFileNames: ${useCaseSensitiveFileNames2}`); + let configFileWatcher; + if (configFileName) { + configFileWatcher = watchFile2(configFileName, scheduleProgramReload, 2e3 /* High */, watchOptions, WatchType.ConfigFile); + } + const compilerHost = createCompilerHostFromProgramHost(host, () => compilerOptions, directoryStructureHost); + setGetSourceFileAsHashVersioned(compilerHost); + const getNewSourceFile = compilerHost.getSourceFile; + compilerHost.getSourceFile = (fileName, ...args) => getVersionedSourceFileByPath(fileName, toPath3(fileName), ...args); + compilerHost.getSourceFileByPath = getVersionedSourceFileByPath; + compilerHost.getNewLine = () => newLine; + compilerHost.fileExists = fileExists; + compilerHost.onReleaseOldSourceFile = onReleaseOldSourceFile; + compilerHost.onReleaseParsedCommandLine = onReleaseParsedCommandLine; + compilerHost.toPath = toPath3; + compilerHost.getCompilationSettings = () => compilerOptions; + compilerHost.useSourceOfProjectReferenceRedirect = maybeBind(host, host.useSourceOfProjectReferenceRedirect); + compilerHost.preferNonRecursiveWatch = host.preferNonRecursiveWatch; + compilerHost.watchDirectoryOfFailedLookupLocation = (dir, cb, flags) => watchDirectory(dir, cb, flags, watchOptions, WatchType.FailedLookupLocations); + compilerHost.watchAffectingFileLocation = (file, cb) => watchFile2(file, cb, 2e3 /* High */, watchOptions, WatchType.AffectingFileLocation); + compilerHost.watchTypeRootsDirectory = (dir, cb, flags) => watchDirectory(dir, cb, flags, watchOptions, WatchType.TypeRoots); + compilerHost.getCachedDirectoryStructureHost = () => cachedDirectoryStructureHost; + compilerHost.scheduleInvalidateResolutionsOfFailedLookupLocations = scheduleInvalidateResolutionsOfFailedLookupLocations; + compilerHost.onInvalidatedResolution = scheduleProgramUpdate; + compilerHost.onChangedAutomaticTypeDirectiveNames = scheduleProgramUpdate; + compilerHost.fileIsOpen = returnFalse; + compilerHost.getCurrentProgram = getCurrentProgram; + compilerHost.writeLog = writeLog; + compilerHost.getParsedCommandLine = getParsedCommandLine; + const resolutionCache = createResolutionCache( + compilerHost, + configFileName ? getDirectoryPath(getNormalizedAbsolutePath(configFileName, currentDirectory)) : currentDirectory, + /*logChangesWhenResolvingModule*/ + false + ); + compilerHost.resolveModuleNameLiterals = maybeBind(host, host.resolveModuleNameLiterals); + compilerHost.resolveModuleNames = maybeBind(host, host.resolveModuleNames); + if (!compilerHost.resolveModuleNameLiterals && !compilerHost.resolveModuleNames) { + compilerHost.resolveModuleNameLiterals = resolutionCache.resolveModuleNameLiterals.bind(resolutionCache); + } + compilerHost.resolveTypeReferenceDirectiveReferences = maybeBind(host, host.resolveTypeReferenceDirectiveReferences); + compilerHost.resolveTypeReferenceDirectives = maybeBind(host, host.resolveTypeReferenceDirectives); + if (!compilerHost.resolveTypeReferenceDirectiveReferences && !compilerHost.resolveTypeReferenceDirectives) { + compilerHost.resolveTypeReferenceDirectiveReferences = resolutionCache.resolveTypeReferenceDirectiveReferences.bind(resolutionCache); + } + compilerHost.resolveLibrary = !host.resolveLibrary ? resolutionCache.resolveLibrary.bind(resolutionCache) : host.resolveLibrary.bind(host); + compilerHost.getModuleResolutionCache = host.resolveModuleNameLiterals || host.resolveModuleNames ? maybeBind(host, host.getModuleResolutionCache) : () => resolutionCache.getModuleResolutionCache(); + const userProvidedResolution = !!host.resolveModuleNameLiterals || !!host.resolveTypeReferenceDirectiveReferences || !!host.resolveModuleNames || !!host.resolveTypeReferenceDirectives; + const customHasInvalidatedResolutions = userProvidedResolution ? maybeBind(host, host.hasInvalidatedResolutions) || returnTrue : returnFalse; + const customHasInvalidLibResolutions = host.resolveLibrary ? maybeBind(host, host.hasInvalidatedLibResolutions) || returnTrue : returnFalse; + builderProgram = readBuilderProgram(compilerOptions, compilerHost); + synchronizeProgram(); + return configFileName ? { getCurrentProgram: getCurrentBuilderProgram, getProgram: updateProgram, close, getResolutionCache } : { getCurrentProgram: getCurrentBuilderProgram, getProgram: updateProgram, updateRootFileNames, close, getResolutionCache }; + function close() { + clearInvalidateResolutionsOfFailedLookupLocations(); + resolutionCache.clear(); + clearMap(sourceFilesCache, (value) => { + if (value && value.fileWatcher) { + value.fileWatcher.close(); + value.fileWatcher = void 0; + } + }); + if (configFileWatcher) { + configFileWatcher.close(); + configFileWatcher = void 0; + } + extendedConfigCache == null ? void 0 : extendedConfigCache.clear(); + extendedConfigCache = void 0; + if (sharedExtendedConfigFileWatchers) { + clearMap(sharedExtendedConfigFileWatchers, closeFileWatcherOf); + sharedExtendedConfigFileWatchers = void 0; + } + if (watchedWildcardDirectories) { + clearMap(watchedWildcardDirectories, closeFileWatcherOf); + watchedWildcardDirectories = void 0; + } + if (missingFilesMap) { + clearMap(missingFilesMap, closeFileWatcher); + missingFilesMap = void 0; + } + if (parsedConfigs) { + clearMap(parsedConfigs, (config) => { + var _a; + (_a = config.watcher) == null ? void 0 : _a.close(); + config.watcher = void 0; + if (config.watchedDirectories) clearMap(config.watchedDirectories, closeFileWatcherOf); + config.watchedDirectories = void 0; + }); + parsedConfigs = void 0; + } + builderProgram = void 0; + } + function getResolutionCache() { + return resolutionCache; + } + function getCurrentBuilderProgram() { + return builderProgram; + } + function getCurrentProgram() { + return builderProgram && builderProgram.getProgramOrUndefined(); + } + function synchronizeProgram() { + writeLog(`Synchronizing program`); + Debug.assert(compilerOptions); + Debug.assert(rootFileNames); + clearInvalidateResolutionsOfFailedLookupLocations(); + const program = getCurrentBuilderProgram(); + if (hasChangedCompilerOptions) { + newLine = updateNewLine(); + if (program && changesAffectModuleResolution(program.getCompilerOptions(), compilerOptions)) { + resolutionCache.onChangesAffectModuleResolution(); + } + } + const { hasInvalidatedResolutions, hasInvalidatedLibResolutions } = resolutionCache.createHasInvalidatedResolutions(customHasInvalidatedResolutions, customHasInvalidLibResolutions); + const { + originalReadFile, + originalFileExists, + originalDirectoryExists, + originalCreateDirectory, + originalWriteFile, + readFileWithCache + } = changeCompilerHostLikeToUseCache(compilerHost, toPath3); + if (isProgramUptoDate(getCurrentProgram(), rootFileNames, compilerOptions, (path) => getSourceVersion(path, readFileWithCache), (fileName) => compilerHost.fileExists(fileName), hasInvalidatedResolutions, hasInvalidatedLibResolutions, hasChangedAutomaticTypeDirectiveNames, getParsedCommandLine, projectReferences)) { + if (hasChangedConfigFileParsingErrors) { + if (reportFileChangeDetectedOnCreateProgram) { + reportWatchDiagnostic(Diagnostics.File_change_detected_Starting_incremental_compilation); + } + builderProgram = createProgram2( + /*rootNames*/ + void 0, + /*options*/ + void 0, + compilerHost, + builderProgram, + configFileParsingDiagnostics, + projectReferences + ); + hasChangedConfigFileParsingErrors = false; + } + } else { + if (reportFileChangeDetectedOnCreateProgram) { + reportWatchDiagnostic(Diagnostics.File_change_detected_Starting_incremental_compilation); + } + createNewProgram(hasInvalidatedResolutions, hasInvalidatedLibResolutions); + } + reportFileChangeDetectedOnCreateProgram = false; + if (host.afterProgramCreate && program !== builderProgram) { + host.afterProgramCreate(builderProgram); + } + compilerHost.readFile = originalReadFile; + compilerHost.fileExists = originalFileExists; + compilerHost.directoryExists = originalDirectoryExists; + compilerHost.createDirectory = originalCreateDirectory; + compilerHost.writeFile = originalWriteFile; + staleWatches == null ? void 0 : staleWatches.forEach((configFile, configPath) => { + if (!configPath) { + watchConfigFileWildCardDirectories(); + if (configFileName) updateExtendedConfigFilesWatches(toPath3(configFileName), compilerOptions, watchOptions, WatchType.ExtendedConfigFile); + } else { + const config = parsedConfigs == null ? void 0 : parsedConfigs.get(configPath); + if (config) watchReferencedProject(configFile, configPath, config); + } + }); + staleWatches = void 0; + return builderProgram; + } + function createNewProgram(hasInvalidatedResolutions, hasInvalidatedLibResolutions) { + writeLog("CreatingProgramWith::"); + writeLog(` roots: ${JSON.stringify(rootFileNames)}`); + writeLog(` options: ${JSON.stringify(compilerOptions)}`); + if (projectReferences) writeLog(` projectReferences: ${JSON.stringify(projectReferences)}`); + const needsUpdateInTypeRootWatch = hasChangedCompilerOptions || !getCurrentProgram(); + hasChangedCompilerOptions = false; + hasChangedConfigFileParsingErrors = false; + resolutionCache.startCachingPerDirectoryResolution(); + compilerHost.hasInvalidatedResolutions = hasInvalidatedResolutions; + compilerHost.hasInvalidatedLibResolutions = hasInvalidatedLibResolutions; + compilerHost.hasChangedAutomaticTypeDirectiveNames = hasChangedAutomaticTypeDirectiveNames; + const oldProgram = getCurrentProgram(); + builderProgram = createProgram2(rootFileNames, compilerOptions, compilerHost, builderProgram, configFileParsingDiagnostics, projectReferences); + resolutionCache.finishCachingPerDirectoryResolution(builderProgram.getProgram(), oldProgram); + updateMissingFilePathsWatch( + builderProgram.getProgram(), + missingFilesMap || (missingFilesMap = /* @__PURE__ */ new Map()), + watchMissingFilePath + ); + if (needsUpdateInTypeRootWatch) { + resolutionCache.updateTypeRootsWatch(); + } + if (missingFilePathsRequestedForRelease) { + for (const missingFilePath of missingFilePathsRequestedForRelease) { + if (!missingFilesMap.has(missingFilePath)) { + sourceFilesCache.delete(missingFilePath); + } + } + missingFilePathsRequestedForRelease = void 0; + } + } + function updateRootFileNames(files) { + Debug.assert(!configFileName, "Cannot update root file names with config file watch mode"); + rootFileNames = files; + scheduleProgramUpdate(); + } + function updateNewLine() { + return getNewLineCharacter(compilerOptions || optionsToExtendForConfigFile); + } + function toPath3(fileName) { + return toPath(fileName, currentDirectory, getCanonicalFileName); + } + function isFileMissingOnHost(hostSourceFile) { + return typeof hostSourceFile === "boolean"; + } + function isFilePresenceUnknownOnHost(hostSourceFile) { + return typeof hostSourceFile.version === "boolean"; + } + function fileExists(fileName) { + const path = toPath3(fileName); + if (isFileMissingOnHost(sourceFilesCache.get(path))) { + return false; + } + return directoryStructureHost.fileExists(fileName); + } + function getVersionedSourceFileByPath(fileName, path, languageVersionOrOptions, onError, shouldCreateNewSourceFile) { + const hostSourceFile = sourceFilesCache.get(path); + if (isFileMissingOnHost(hostSourceFile)) { + return void 0; + } + const impliedNodeFormat = typeof languageVersionOrOptions === "object" ? languageVersionOrOptions.impliedNodeFormat : void 0; + if (hostSourceFile === void 0 || shouldCreateNewSourceFile || isFilePresenceUnknownOnHost(hostSourceFile) || hostSourceFile.sourceFile.impliedNodeFormat !== impliedNodeFormat) { + const sourceFile = getNewSourceFile(fileName, languageVersionOrOptions, onError); + if (hostSourceFile) { + if (sourceFile) { + hostSourceFile.sourceFile = sourceFile; + hostSourceFile.version = sourceFile.version; + if (!hostSourceFile.fileWatcher) { + hostSourceFile.fileWatcher = watchFilePath(path, fileName, onSourceFileChange, 250 /* Low */, watchOptions, WatchType.SourceFile); + } + } else { + if (hostSourceFile.fileWatcher) { + hostSourceFile.fileWatcher.close(); + } + sourceFilesCache.set(path, false); + } + } else { + if (sourceFile) { + const fileWatcher = watchFilePath(path, fileName, onSourceFileChange, 250 /* Low */, watchOptions, WatchType.SourceFile); + sourceFilesCache.set(path, { sourceFile, version: sourceFile.version, fileWatcher }); + } else { + sourceFilesCache.set(path, false); + } + } + return sourceFile; + } + return hostSourceFile.sourceFile; + } + function nextSourceFileVersion(path) { + const hostSourceFile = sourceFilesCache.get(path); + if (hostSourceFile !== void 0) { + if (isFileMissingOnHost(hostSourceFile)) { + sourceFilesCache.set(path, { version: false }); + } else { + hostSourceFile.version = false; + } + } + } + function getSourceVersion(path, readFileWithCache) { + const hostSourceFile = sourceFilesCache.get(path); + if (!hostSourceFile) return void 0; + if (hostSourceFile.version) return hostSourceFile.version; + const text = readFileWithCache(path); + return text !== void 0 ? getSourceFileVersionAsHashFromText(compilerHost, text) : void 0; + } + function onReleaseOldSourceFile(oldSourceFile, _oldOptions, hasSourceFileByPath) { + const hostSourceFileInfo = sourceFilesCache.get(oldSourceFile.resolvedPath); + if (hostSourceFileInfo !== void 0) { + if (isFileMissingOnHost(hostSourceFileInfo)) { + (missingFilePathsRequestedForRelease || (missingFilePathsRequestedForRelease = [])).push(oldSourceFile.path); + } else if (hostSourceFileInfo.sourceFile === oldSourceFile) { + if (hostSourceFileInfo.fileWatcher) { + hostSourceFileInfo.fileWatcher.close(); + } + sourceFilesCache.delete(oldSourceFile.resolvedPath); + if (!hasSourceFileByPath) { + resolutionCache.removeResolutionsOfFile(oldSourceFile.path); + } + } + } + } + function reportWatchDiagnostic(message) { + if (host.onWatchStatusChange) { + host.onWatchStatusChange(createCompilerDiagnostic(message), newLine, compilerOptions || optionsToExtendForConfigFile); + } + } + function hasChangedAutomaticTypeDirectiveNames() { + return resolutionCache.hasChangedAutomaticTypeDirectiveNames(); + } + function clearInvalidateResolutionsOfFailedLookupLocations() { + if (!timerToInvalidateFailedLookupResolutions) return false; + host.clearTimeout(timerToInvalidateFailedLookupResolutions); + timerToInvalidateFailedLookupResolutions = void 0; + return true; + } + function scheduleInvalidateResolutionsOfFailedLookupLocations() { + if (!host.setTimeout || !host.clearTimeout) { + return resolutionCache.invalidateResolutionsOfFailedLookupLocations(); + } + const pending = clearInvalidateResolutionsOfFailedLookupLocations(); + writeLog(`Scheduling invalidateFailedLookup${pending ? ", Cancelled earlier one" : ""}`); + timerToInvalidateFailedLookupResolutions = host.setTimeout(invalidateResolutionsOfFailedLookup, 250, "timerToInvalidateFailedLookupResolutions"); + } + function invalidateResolutionsOfFailedLookup() { + timerToInvalidateFailedLookupResolutions = void 0; + if (resolutionCache.invalidateResolutionsOfFailedLookupLocations()) { + scheduleProgramUpdate(); + } + } + function scheduleProgramUpdate() { + if (!host.setTimeout || !host.clearTimeout) { + return; + } + if (timerToUpdateProgram) { + host.clearTimeout(timerToUpdateProgram); + } + writeLog("Scheduling update"); + timerToUpdateProgram = host.setTimeout(updateProgramWithWatchStatus, 250, "timerToUpdateProgram"); + } + function scheduleProgramReload() { + Debug.assert(!!configFileName); + updateLevel = 2 /* Full */; + scheduleProgramUpdate(); + } + function updateProgramWithWatchStatus() { + timerToUpdateProgram = void 0; + reportFileChangeDetectedOnCreateProgram = true; + updateProgram(); + } + function updateProgram() { + switch (updateLevel) { + case 1 /* RootNamesAndUpdate */: + reloadFileNamesFromConfigFile(); + break; + case 2 /* Full */: + reloadConfigFile(); + break; + default: + synchronizeProgram(); + break; + } + return getCurrentBuilderProgram(); + } + function reloadFileNamesFromConfigFile() { + writeLog("Reloading new file names and options"); + Debug.assert(compilerOptions); + Debug.assert(configFileName); + updateLevel = 0 /* Update */; + rootFileNames = getFileNamesFromConfigSpecs(compilerOptions.configFile.configFileSpecs, getNormalizedAbsolutePath(getDirectoryPath(configFileName), currentDirectory), compilerOptions, parseConfigFileHost, extraFileExtensions); + if (updateErrorForNoInputFiles( + rootFileNames, + getNormalizedAbsolutePath(configFileName, currentDirectory), + compilerOptions.configFile.configFileSpecs, + configFileParsingDiagnostics, + canConfigFileJsonReportNoInputFiles + )) { + hasChangedConfigFileParsingErrors = true; + } + synchronizeProgram(); + } + function reloadConfigFile() { + Debug.assert(configFileName); + writeLog(`Reloading config file: ${configFileName}`); + updateLevel = 0 /* Update */; + if (cachedDirectoryStructureHost) { + cachedDirectoryStructureHost.clearCache(); + } + parseConfigFile2(); + hasChangedCompilerOptions = true; + (staleWatches ?? (staleWatches = /* @__PURE__ */ new Map())).set(void 0, void 0); + synchronizeProgram(); + } + function parseConfigFile2() { + Debug.assert(configFileName); + setConfigFileParsingResult( + getParsedCommandLineOfConfigFile( + configFileName, + optionsToExtendForConfigFile, + parseConfigFileHost, + extendedConfigCache || (extendedConfigCache = /* @__PURE__ */ new Map()), + watchOptionsToExtend, + extraFileExtensions + ) + ); + } + function setConfigFileParsingResult(configFileParseResult) { + rootFileNames = configFileParseResult.fileNames; + compilerOptions = configFileParseResult.options; + watchOptions = configFileParseResult.watchOptions; + projectReferences = configFileParseResult.projectReferences; + wildcardDirectories = configFileParseResult.wildcardDirectories; + configFileParsingDiagnostics = getConfigFileParsingDiagnostics(configFileParseResult).slice(); + canConfigFileJsonReportNoInputFiles = canJsonReportNoInputFiles(configFileParseResult.raw); + hasChangedConfigFileParsingErrors = true; + } + function getParsedCommandLine(configFileName2) { + const configPath = toPath3(configFileName2); + let config = parsedConfigs == null ? void 0 : parsedConfigs.get(configPath); + if (config) { + if (!config.updateLevel) return config.parsedCommandLine; + if (config.parsedCommandLine && config.updateLevel === 1 /* RootNamesAndUpdate */ && !host.getParsedCommandLine) { + writeLog("Reloading new file names and options"); + Debug.assert(compilerOptions); + const fileNames = getFileNamesFromConfigSpecs( + config.parsedCommandLine.options.configFile.configFileSpecs, + getNormalizedAbsolutePath(getDirectoryPath(configFileName2), currentDirectory), + compilerOptions, + parseConfigFileHost + ); + config.parsedCommandLine = { ...config.parsedCommandLine, fileNames }; + config.updateLevel = void 0; + return config.parsedCommandLine; + } + } + writeLog(`Loading config file: ${configFileName2}`); + const parsedCommandLine = host.getParsedCommandLine ? host.getParsedCommandLine(configFileName2) : getParsedCommandLineFromConfigFileHost(configFileName2); + if (config) { + config.parsedCommandLine = parsedCommandLine; + config.updateLevel = void 0; + } else { + (parsedConfigs || (parsedConfigs = /* @__PURE__ */ new Map())).set(configPath, config = { parsedCommandLine }); + } + (staleWatches ?? (staleWatches = /* @__PURE__ */ new Map())).set(configPath, configFileName2); + return parsedCommandLine; + } + function getParsedCommandLineFromConfigFileHost(configFileName2) { + const onUnRecoverableConfigFileDiagnostic = parseConfigFileHost.onUnRecoverableConfigFileDiagnostic; + parseConfigFileHost.onUnRecoverableConfigFileDiagnostic = noop; + const parsedCommandLine = getParsedCommandLineOfConfigFile( + configFileName2, + /*optionsToExtend*/ + void 0, + parseConfigFileHost, + extendedConfigCache || (extendedConfigCache = /* @__PURE__ */ new Map()), + watchOptionsToExtend + ); + parseConfigFileHost.onUnRecoverableConfigFileDiagnostic = onUnRecoverableConfigFileDiagnostic; + return parsedCommandLine; + } + function onReleaseParsedCommandLine(fileName) { + var _a; + const path = toPath3(fileName); + const config = parsedConfigs == null ? void 0 : parsedConfigs.get(path); + if (!config) return; + parsedConfigs.delete(path); + if (config.watchedDirectories) clearMap(config.watchedDirectories, closeFileWatcherOf); + (_a = config.watcher) == null ? void 0 : _a.close(); + clearSharedExtendedConfigFileWatcher(path, sharedExtendedConfigFileWatchers); + } + function watchFilePath(path, file, callback, pollingInterval, options, watchType) { + return watchFile2(file, (fileName, eventKind) => callback(fileName, eventKind, path), pollingInterval, options, watchType); + } + function onSourceFileChange(fileName, eventKind, path) { + updateCachedSystemWithFile(fileName, path, eventKind); + if (eventKind === 2 /* Deleted */ && sourceFilesCache.has(path)) { + resolutionCache.invalidateResolutionOfFile(path); + } + nextSourceFileVersion(path); + scheduleProgramUpdate(); + } + function updateCachedSystemWithFile(fileName, path, eventKind) { + if (cachedDirectoryStructureHost) { + cachedDirectoryStructureHost.addOrDeleteFile(fileName, path, eventKind); + } + } + function watchMissingFilePath(missingFilePath, missingFileName) { + return (parsedConfigs == null ? void 0 : parsedConfigs.has(missingFilePath)) ? noopFileWatcher : watchFilePath( + missingFilePath, + missingFileName, + onMissingFileChange, + 500 /* Medium */, + watchOptions, + WatchType.MissingFile + ); + } + function onMissingFileChange(fileName, eventKind, missingFilePath) { + updateCachedSystemWithFile(fileName, missingFilePath, eventKind); + if (eventKind === 0 /* Created */ && missingFilesMap.has(missingFilePath)) { + missingFilesMap.get(missingFilePath).close(); + missingFilesMap.delete(missingFilePath); + nextSourceFileVersion(missingFilePath); + scheduleProgramUpdate(); + } + } + function watchConfigFileWildCardDirectories() { + updateWatchingWildcardDirectories( + watchedWildcardDirectories || (watchedWildcardDirectories = /* @__PURE__ */ new Map()), + wildcardDirectories, + watchWildcardDirectory + ); + } + function watchWildcardDirectory(directory, flags) { + return watchDirectory( + directory, + (fileOrDirectory) => { + Debug.assert(configFileName); + Debug.assert(compilerOptions); + const fileOrDirectoryPath = toPath3(fileOrDirectory); + if (cachedDirectoryStructureHost) { + cachedDirectoryStructureHost.addOrDeleteFileOrDirectory(fileOrDirectory, fileOrDirectoryPath); + } + nextSourceFileVersion(fileOrDirectoryPath); + if (isIgnoredFileFromWildCardWatching({ + watchedDirPath: toPath3(directory), + fileOrDirectory, + fileOrDirectoryPath, + configFileName, + extraFileExtensions, + options: compilerOptions, + program: getCurrentBuilderProgram() || rootFileNames, + currentDirectory, + useCaseSensitiveFileNames: useCaseSensitiveFileNames2, + writeLog, + toPath: toPath3 + })) return; + if (updateLevel !== 2 /* Full */) { + updateLevel = 1 /* RootNamesAndUpdate */; + scheduleProgramUpdate(); + } + }, + flags, + watchOptions, + WatchType.WildcardDirectory + ); + } + function updateExtendedConfigFilesWatches(forProjectPath, options, watchOptions2, watchType) { + updateSharedExtendedConfigFileWatcher( + forProjectPath, + options, + sharedExtendedConfigFileWatchers || (sharedExtendedConfigFileWatchers = /* @__PURE__ */ new Map()), + (extendedConfigFileName, extendedConfigFilePath) => watchFile2( + extendedConfigFileName, + (_fileName, eventKind) => { + var _a; + updateCachedSystemWithFile(extendedConfigFileName, extendedConfigFilePath, eventKind); + if (extendedConfigCache) cleanExtendedConfigCache(extendedConfigCache, extendedConfigFilePath, toPath3); + const projects = (_a = sharedExtendedConfigFileWatchers.get(extendedConfigFilePath)) == null ? void 0 : _a.projects; + if (!(projects == null ? void 0 : projects.size)) return; + projects.forEach((projectPath) => { + if (configFileName && toPath3(configFileName) === projectPath) { + updateLevel = 2 /* Full */; + } else { + const config = parsedConfigs == null ? void 0 : parsedConfigs.get(projectPath); + if (config) config.updateLevel = 2 /* Full */; + resolutionCache.removeResolutionsFromProjectReferenceRedirects(projectPath); + } + scheduleProgramUpdate(); + }); + }, + 2e3 /* High */, + watchOptions2, + watchType + ), + toPath3 + ); + } + function watchReferencedProject(configFileName2, configPath, commandLine) { + var _a, _b, _c, _d; + commandLine.watcher || (commandLine.watcher = watchFile2( + configFileName2, + (_fileName, eventKind) => { + updateCachedSystemWithFile(configFileName2, configPath, eventKind); + const config = parsedConfigs == null ? void 0 : parsedConfigs.get(configPath); + if (config) config.updateLevel = 2 /* Full */; + resolutionCache.removeResolutionsFromProjectReferenceRedirects(configPath); + scheduleProgramUpdate(); + }, + 2e3 /* High */, + ((_a = commandLine.parsedCommandLine) == null ? void 0 : _a.watchOptions) || watchOptions, + WatchType.ConfigFileOfReferencedProject + )); + updateWatchingWildcardDirectories( + commandLine.watchedDirectories || (commandLine.watchedDirectories = /* @__PURE__ */ new Map()), + (_b = commandLine.parsedCommandLine) == null ? void 0 : _b.wildcardDirectories, + (directory, flags) => { + var _a2; + return watchDirectory( + directory, + (fileOrDirectory) => { + const fileOrDirectoryPath = toPath3(fileOrDirectory); + if (cachedDirectoryStructureHost) { + cachedDirectoryStructureHost.addOrDeleteFileOrDirectory(fileOrDirectory, fileOrDirectoryPath); + } + nextSourceFileVersion(fileOrDirectoryPath); + const config = parsedConfigs == null ? void 0 : parsedConfigs.get(configPath); + if (!(config == null ? void 0 : config.parsedCommandLine)) return; + if (isIgnoredFileFromWildCardWatching({ + watchedDirPath: toPath3(directory), + fileOrDirectory, + fileOrDirectoryPath, + configFileName: configFileName2, + options: config.parsedCommandLine.options, + program: config.parsedCommandLine.fileNames, + currentDirectory, + useCaseSensitiveFileNames: useCaseSensitiveFileNames2, + writeLog, + toPath: toPath3 + })) return; + if (config.updateLevel !== 2 /* Full */) { + config.updateLevel = 1 /* RootNamesAndUpdate */; + scheduleProgramUpdate(); + } + }, + flags, + ((_a2 = commandLine.parsedCommandLine) == null ? void 0 : _a2.watchOptions) || watchOptions, + WatchType.WildcardDirectoryOfReferencedProject + ); + } + ); + updateExtendedConfigFilesWatches( + configPath, + (_c = commandLine.parsedCommandLine) == null ? void 0 : _c.options, + ((_d = commandLine.parsedCommandLine) == null ? void 0 : _d.watchOptions) || watchOptions, + WatchType.ExtendedConfigOfReferencedProject + ); + } +} + +// src/compiler/tsbuild.ts +function resolveConfigFileProjectName(project) { + if (fileExtensionIs(project, ".json" /* Json */)) { + return project; + } + return combinePaths(project, "tsconfig.json"); +} + +// src/compiler/tsbuildPublic.ts +var minimumDate = /* @__PURE__ */ new Date(-864e13); +function getOrCreateValueFromConfigFileMap(configFileMap, resolved, createT) { + const existingValue = configFileMap.get(resolved); + let newValue; + if (!existingValue) { + newValue = createT(); + configFileMap.set(resolved, newValue); + } + return existingValue || newValue; +} +function getOrCreateValueMapFromConfigFileMap(configFileMap, resolved) { + return getOrCreateValueFromConfigFileMap(configFileMap, resolved, () => /* @__PURE__ */ new Map()); +} +function getCurrentTime(host) { + return host.now ? host.now() : /* @__PURE__ */ new Date(); +} +function isCircularBuildOrder(buildOrder) { + return !!buildOrder && !!buildOrder.buildOrder; +} +function getBuildOrderFromAnyBuildOrder(anyBuildOrder) { + return isCircularBuildOrder(anyBuildOrder) ? anyBuildOrder.buildOrder : anyBuildOrder; +} +function createBuilderStatusReporter(system, pretty) { + return (diagnostic) => { + let output = pretty ? `[${formatColorAndReset(getLocaleTimeString(system), "\x1B[90m" /* Grey */)}] ` : `${getLocaleTimeString(system)} - `; + output += `${flattenDiagnosticMessageText(diagnostic.messageText, system.newLine)}${system.newLine + system.newLine}`; + system.write(output); + }; +} +function createSolutionBuilderHostBase(system, createProgram2, reportDiagnostic, reportSolutionBuilderStatus) { + const host = createProgramHost(system, createProgram2); + host.getModifiedTime = system.getModifiedTime ? (path) => system.getModifiedTime(path) : returnUndefined; + host.setModifiedTime = system.setModifiedTime ? (path, date) => system.setModifiedTime(path, date) : noop; + host.deleteFile = system.deleteFile ? (path) => system.deleteFile(path) : noop; + host.reportDiagnostic = reportDiagnostic || createDiagnosticReporter(system); + host.reportSolutionBuilderStatus = reportSolutionBuilderStatus || createBuilderStatusReporter(system); + host.now = maybeBind(system, system.now); + return host; +} +function createSolutionBuilderHost(system = sys, createProgram2, reportDiagnostic, reportSolutionBuilderStatus, reportErrorSummary2) { + const host = createSolutionBuilderHostBase(system, createProgram2, reportDiagnostic, reportSolutionBuilderStatus); + host.reportErrorSummary = reportErrorSummary2; + return host; +} +function createSolutionBuilderWithWatchHost(system = sys, createProgram2, reportDiagnostic, reportSolutionBuilderStatus, reportWatchStatus2) { + const host = createSolutionBuilderHostBase(system, createProgram2, reportDiagnostic, reportSolutionBuilderStatus); + const watchHost = createWatchHost(system, reportWatchStatus2); + copyProperties(host, watchHost); + return host; +} +function getCompilerOptionsOfBuildOptions(buildOptions) { + const result = {}; + commonOptionsWithBuild.forEach((option) => { + if (hasProperty(buildOptions, option.name)) result[option.name] = buildOptions[option.name]; + }); + result.tscBuild = true; + return result; +} +function createSolutionBuilder(host, rootNames, defaultOptions) { + return createSolutionBuilderWorker( + /*watch*/ + false, + host, + rootNames, + defaultOptions + ); +} +function createSolutionBuilderWithWatch(host, rootNames, defaultOptions, baseWatchOptions) { + return createSolutionBuilderWorker( + /*watch*/ + true, + host, + rootNames, + defaultOptions, + baseWatchOptions + ); +} +function createSolutionBuilderState(watch, hostOrHostWithWatch, rootNames, options, baseWatchOptions) { + const host = hostOrHostWithWatch; + const hostWithWatch = hostOrHostWithWatch; + const baseCompilerOptions = getCompilerOptionsOfBuildOptions(options); + const compilerHost = createCompilerHostFromProgramHost(host, () => state.projectCompilerOptions); + setGetSourceFileAsHashVersioned(compilerHost); + compilerHost.getParsedCommandLine = (fileName) => parseConfigFile(state, fileName, toResolvedConfigFilePath(state, fileName)); + compilerHost.resolveModuleNameLiterals = maybeBind(host, host.resolveModuleNameLiterals); + compilerHost.resolveTypeReferenceDirectiveReferences = maybeBind(host, host.resolveTypeReferenceDirectiveReferences); + compilerHost.resolveLibrary = maybeBind(host, host.resolveLibrary); + compilerHost.resolveModuleNames = maybeBind(host, host.resolveModuleNames); + compilerHost.resolveTypeReferenceDirectives = maybeBind(host, host.resolveTypeReferenceDirectives); + compilerHost.getModuleResolutionCache = maybeBind(host, host.getModuleResolutionCache); + let moduleResolutionCache, typeReferenceDirectiveResolutionCache; + if (!compilerHost.resolveModuleNameLiterals && !compilerHost.resolveModuleNames) { + moduleResolutionCache = createModuleResolutionCache(compilerHost.getCurrentDirectory(), compilerHost.getCanonicalFileName); + compilerHost.resolveModuleNameLiterals = (moduleNames, containingFile, redirectedReference, options2, containingSourceFile) => loadWithModeAwareCache( + moduleNames, + containingFile, + redirectedReference, + options2, + containingSourceFile, + host, + moduleResolutionCache, + createModuleResolutionLoader + ); + compilerHost.getModuleResolutionCache = () => moduleResolutionCache; + } + if (!compilerHost.resolveTypeReferenceDirectiveReferences && !compilerHost.resolveTypeReferenceDirectives) { + typeReferenceDirectiveResolutionCache = createTypeReferenceDirectiveResolutionCache( + compilerHost.getCurrentDirectory(), + compilerHost.getCanonicalFileName, + /*options*/ + void 0, + moduleResolutionCache == null ? void 0 : moduleResolutionCache.getPackageJsonInfoCache(), + moduleResolutionCache == null ? void 0 : moduleResolutionCache.optionsToRedirectsKey + ); + compilerHost.resolveTypeReferenceDirectiveReferences = (typeDirectiveNames, containingFile, redirectedReference, options2, containingSourceFile) => loadWithModeAwareCache( + typeDirectiveNames, + containingFile, + redirectedReference, + options2, + containingSourceFile, + host, + typeReferenceDirectiveResolutionCache, + createTypeReferenceResolutionLoader + ); + } + let libraryResolutionCache; + if (!compilerHost.resolveLibrary) { + libraryResolutionCache = createModuleResolutionCache( + compilerHost.getCurrentDirectory(), + compilerHost.getCanonicalFileName, + /*options*/ + void 0, + moduleResolutionCache == null ? void 0 : moduleResolutionCache.getPackageJsonInfoCache() + ); + compilerHost.resolveLibrary = (libraryName, resolveFrom, options2) => resolveLibrary( + libraryName, + resolveFrom, + options2, + host, + libraryResolutionCache + ); + } + compilerHost.getBuildInfo = (fileName, configFilePath) => getBuildInfo3( + state, + fileName, + toResolvedConfigFilePath(state, configFilePath), + /*modifiedTime*/ + void 0 + ); + const { watchFile: watchFile2, watchDirectory, writeLog } = createWatchFactory(hostWithWatch, options); + const state = { + host, + hostWithWatch, + parseConfigFileHost: parseConfigHostFromCompilerHostLike(host), + write: maybeBind(host, host.trace), + // State of solution + options, + baseCompilerOptions, + rootNames, + baseWatchOptions, + resolvedConfigFilePaths: /* @__PURE__ */ new Map(), + configFileCache: /* @__PURE__ */ new Map(), + projectStatus: /* @__PURE__ */ new Map(), + extendedConfigCache: /* @__PURE__ */ new Map(), + buildInfoCache: /* @__PURE__ */ new Map(), + outputTimeStamps: /* @__PURE__ */ new Map(), + builderPrograms: /* @__PURE__ */ new Map(), + diagnostics: /* @__PURE__ */ new Map(), + projectPendingBuild: /* @__PURE__ */ new Map(), + projectErrorsReported: /* @__PURE__ */ new Map(), + compilerHost, + moduleResolutionCache, + typeReferenceDirectiveResolutionCache, + libraryResolutionCache, + // Mutable state + buildOrder: void 0, + readFileWithCache: (f) => host.readFile(f), + projectCompilerOptions: baseCompilerOptions, + cache: void 0, + allProjectBuildPending: true, + needsSummary: true, + watchAllProjectsPending: watch, + // Watch state + watch, + allWatchedWildcardDirectories: /* @__PURE__ */ new Map(), + allWatchedInputFiles: /* @__PURE__ */ new Map(), + allWatchedConfigFiles: /* @__PURE__ */ new Map(), + allWatchedExtendedConfigFiles: /* @__PURE__ */ new Map(), + allWatchedPackageJsonFiles: /* @__PURE__ */ new Map(), + filesWatched: /* @__PURE__ */ new Map(), + lastCachedPackageJsonLookups: /* @__PURE__ */ new Map(), + timerToBuildInvalidatedProject: void 0, + reportFileChangeDetected: false, + watchFile: watchFile2, + watchDirectory, + writeLog + }; + return state; +} +function toPath2(state, fileName) { + return toPath(fileName, state.compilerHost.getCurrentDirectory(), state.compilerHost.getCanonicalFileName); +} +function toResolvedConfigFilePath(state, fileName) { + const { resolvedConfigFilePaths } = state; + const path = resolvedConfigFilePaths.get(fileName); + if (path !== void 0) return path; + const resolvedPath = toPath2(state, fileName); + resolvedConfigFilePaths.set(fileName, resolvedPath); + return resolvedPath; +} +function isParsedCommandLine(entry) { + return !!entry.options; +} +function getCachedParsedConfigFile(state, configFilePath) { + const value = state.configFileCache.get(configFilePath); + return value && isParsedCommandLine(value) ? value : void 0; +} +function parseConfigFile(state, configFileName, configFilePath) { + const { configFileCache } = state; + const value = configFileCache.get(configFilePath); + if (value) { + return isParsedCommandLine(value) ? value : void 0; + } + mark("SolutionBuilder::beforeConfigFileParsing"); + let diagnostic; + const { parseConfigFileHost, baseCompilerOptions, baseWatchOptions, extendedConfigCache, host } = state; + let parsed; + if (host.getParsedCommandLine) { + parsed = host.getParsedCommandLine(configFileName); + if (!parsed) diagnostic = createCompilerDiagnostic(Diagnostics.File_0_not_found, configFileName); + } else { + parseConfigFileHost.onUnRecoverableConfigFileDiagnostic = (d) => diagnostic = d; + parsed = getParsedCommandLineOfConfigFile(configFileName, baseCompilerOptions, parseConfigFileHost, extendedConfigCache, baseWatchOptions); + parseConfigFileHost.onUnRecoverableConfigFileDiagnostic = noop; + } + configFileCache.set(configFilePath, parsed || diagnostic); + mark("SolutionBuilder::afterConfigFileParsing"); + measure("SolutionBuilder::Config file parsing", "SolutionBuilder::beforeConfigFileParsing", "SolutionBuilder::afterConfigFileParsing"); + return parsed; +} +function resolveProjectName(state, name) { + return resolveConfigFileProjectName(resolvePath(state.compilerHost.getCurrentDirectory(), name)); +} +function createBuildOrder(state, roots) { + const temporaryMarks = /* @__PURE__ */ new Map(); + const permanentMarks = /* @__PURE__ */ new Map(); + const circularityReportStack = []; + let buildOrder; + let circularDiagnostics; + for (const root of roots) { + visit(root); + } + return circularDiagnostics ? { buildOrder: buildOrder || emptyArray, circularDiagnostics } : buildOrder || emptyArray; + function visit(configFileName, inCircularContext) { + const projPath = toResolvedConfigFilePath(state, configFileName); + if (permanentMarks.has(projPath)) return; + if (temporaryMarks.has(projPath)) { + if (!inCircularContext) { + (circularDiagnostics || (circularDiagnostics = [])).push( + createCompilerDiagnostic( + Diagnostics.Project_references_may_not_form_a_circular_graph_Cycle_detected_Colon_0, + circularityReportStack.join("\r\n") + ) + ); + } + return; + } + temporaryMarks.set(projPath, true); + circularityReportStack.push(configFileName); + const parsed = parseConfigFile(state, configFileName, projPath); + if (parsed && parsed.projectReferences) { + for (const ref of parsed.projectReferences) { + const resolvedRefPath = resolveProjectName(state, ref.path); + visit(resolvedRefPath, inCircularContext || ref.circular); + } + } + circularityReportStack.pop(); + permanentMarks.set(projPath, true); + (buildOrder || (buildOrder = [])).push(configFileName); + } +} +function getBuildOrder(state) { + return state.buildOrder || createStateBuildOrder(state); +} +function createStateBuildOrder(state) { + const buildOrder = createBuildOrder(state, state.rootNames.map((f) => resolveProjectName(state, f))); + state.resolvedConfigFilePaths.clear(); + const currentProjects = new Set( + getBuildOrderFromAnyBuildOrder(buildOrder).map( + (resolved) => toResolvedConfigFilePath(state, resolved) + ) + ); + const noopOnDelete = { onDeleteValue: noop }; + mutateMapSkippingNewValues(state.configFileCache, currentProjects, noopOnDelete); + mutateMapSkippingNewValues(state.projectStatus, currentProjects, noopOnDelete); + mutateMapSkippingNewValues(state.builderPrograms, currentProjects, noopOnDelete); + mutateMapSkippingNewValues(state.diagnostics, currentProjects, noopOnDelete); + mutateMapSkippingNewValues(state.projectPendingBuild, currentProjects, noopOnDelete); + mutateMapSkippingNewValues(state.projectErrorsReported, currentProjects, noopOnDelete); + mutateMapSkippingNewValues(state.buildInfoCache, currentProjects, noopOnDelete); + mutateMapSkippingNewValues(state.outputTimeStamps, currentProjects, noopOnDelete); + mutateMapSkippingNewValues(state.lastCachedPackageJsonLookups, currentProjects, noopOnDelete); + if (state.watch) { + mutateMapSkippingNewValues( + state.allWatchedConfigFiles, + currentProjects, + { onDeleteValue: closeFileWatcher } + ); + state.allWatchedExtendedConfigFiles.forEach((watcher) => { + watcher.projects.forEach((project) => { + if (!currentProjects.has(project)) { + watcher.projects.delete(project); + } + }); + watcher.close(); + }); + mutateMapSkippingNewValues( + state.allWatchedWildcardDirectories, + currentProjects, + { onDeleteValue: (existingMap) => existingMap.forEach(closeFileWatcherOf) } + ); + mutateMapSkippingNewValues( + state.allWatchedInputFiles, + currentProjects, + { onDeleteValue: (existingMap) => existingMap.forEach(closeFileWatcher) } + ); + mutateMapSkippingNewValues( + state.allWatchedPackageJsonFiles, + currentProjects, + { onDeleteValue: (existingMap) => existingMap.forEach(closeFileWatcher) } + ); + } + return state.buildOrder = buildOrder; +} +function getBuildOrderFor(state, project, onlyReferences) { + const resolvedProject = project && resolveProjectName(state, project); + const buildOrderFromState = getBuildOrder(state); + if (isCircularBuildOrder(buildOrderFromState)) return buildOrderFromState; + if (resolvedProject) { + const projectPath = toResolvedConfigFilePath(state, resolvedProject); + const projectIndex = findIndex( + buildOrderFromState, + (configFileName) => toResolvedConfigFilePath(state, configFileName) === projectPath + ); + if (projectIndex === -1) return void 0; + } + const buildOrder = resolvedProject ? createBuildOrder(state, [resolvedProject]) : buildOrderFromState; + Debug.assert(!isCircularBuildOrder(buildOrder)); + Debug.assert(!onlyReferences || resolvedProject !== void 0); + Debug.assert(!onlyReferences || buildOrder[buildOrder.length - 1] === resolvedProject); + return onlyReferences ? buildOrder.slice(0, buildOrder.length - 1) : buildOrder; +} +function enableCache(state) { + if (state.cache) { + disableCache(state); + } + const { compilerHost, host } = state; + const originalReadFileWithCache = state.readFileWithCache; + const originalGetSourceFile = compilerHost.getSourceFile; + const { + originalReadFile, + originalFileExists, + originalDirectoryExists, + originalCreateDirectory, + originalWriteFile, + getSourceFileWithCache, + readFileWithCache + } = changeCompilerHostLikeToUseCache( + host, + (fileName) => toPath2(state, fileName), + (...args) => originalGetSourceFile.call(compilerHost, ...args) + ); + state.readFileWithCache = readFileWithCache; + compilerHost.getSourceFile = getSourceFileWithCache; + state.cache = { + originalReadFile, + originalFileExists, + originalDirectoryExists, + originalCreateDirectory, + originalWriteFile, + originalReadFileWithCache, + originalGetSourceFile + }; +} +function disableCache(state) { + if (!state.cache) return; + const { cache, host, compilerHost, extendedConfigCache, moduleResolutionCache, typeReferenceDirectiveResolutionCache, libraryResolutionCache } = state; + host.readFile = cache.originalReadFile; + host.fileExists = cache.originalFileExists; + host.directoryExists = cache.originalDirectoryExists; + host.createDirectory = cache.originalCreateDirectory; + host.writeFile = cache.originalWriteFile; + compilerHost.getSourceFile = cache.originalGetSourceFile; + state.readFileWithCache = cache.originalReadFileWithCache; + extendedConfigCache.clear(); + moduleResolutionCache == null ? void 0 : moduleResolutionCache.clear(); + typeReferenceDirectiveResolutionCache == null ? void 0 : typeReferenceDirectiveResolutionCache.clear(); + libraryResolutionCache == null ? void 0 : libraryResolutionCache.clear(); + state.cache = void 0; +} +function clearProjectStatus(state, resolved) { + state.projectStatus.delete(resolved); + state.diagnostics.delete(resolved); +} +function addProjToQueue({ projectPendingBuild }, proj, updateLevel) { + const value = projectPendingBuild.get(proj); + if (value === void 0) { + projectPendingBuild.set(proj, updateLevel); + } else if (value < updateLevel) { + projectPendingBuild.set(proj, updateLevel); + } +} +function setupInitialBuild(state, cancellationToken) { + if (!state.allProjectBuildPending) return; + state.allProjectBuildPending = false; + if (state.options.watch) reportWatchStatus(state, Diagnostics.Starting_compilation_in_watch_mode); + enableCache(state); + const buildOrder = getBuildOrderFromAnyBuildOrder(getBuildOrder(state)); + buildOrder.forEach( + (configFileName) => state.projectPendingBuild.set( + toResolvedConfigFilePath(state, configFileName), + 0 /* Update */ + ) + ); + if (cancellationToken) { + cancellationToken.throwIfCancellationRequested(); + } +} +function doneInvalidatedProject(state, projectPath) { + state.projectPendingBuild.delete(projectPath); + return state.diagnostics.has(projectPath) ? 1 /* DiagnosticsPresent_OutputsSkipped */ : 0 /* Success */; +} +function createUpdateOutputFileStampsProject(state, project, projectPath, config, buildOrder) { + let updateOutputFileStampsPending = true; + return { + kind: 1 /* UpdateOutputFileStamps */, + project, + projectPath, + buildOrder, + getCompilerOptions: () => config.options, + getCurrentDirectory: () => state.compilerHost.getCurrentDirectory(), + updateOutputFileStatmps: () => { + updateOutputTimestamps(state, config, projectPath); + updateOutputFileStampsPending = false; + }, + done: () => { + if (updateOutputFileStampsPending) { + updateOutputTimestamps(state, config, projectPath); + } + mark("SolutionBuilder::Timestamps only updates"); + return doneInvalidatedProject(state, projectPath); + } + }; +} +function createBuildOrUpdateInvalidedProject(state, project, projectPath, projectIndex, config, status, buildOrder) { + let step = 0 /* CreateProgram */; + let program; + let buildResult; + return { + kind: 0 /* Build */, + project, + projectPath, + buildOrder, + getCompilerOptions: () => config.options, + getCurrentDirectory: () => state.compilerHost.getCurrentDirectory(), + getBuilderProgram: () => withProgramOrUndefined(identity), + getProgram: () => withProgramOrUndefined( + (program2) => program2.getProgramOrUndefined() + ), + getSourceFile: (fileName) => withProgramOrUndefined( + (program2) => program2.getSourceFile(fileName) + ), + getSourceFiles: () => withProgramOrEmptyArray( + (program2) => program2.getSourceFiles() + ), + getOptionsDiagnostics: (cancellationToken) => withProgramOrEmptyArray( + (program2) => program2.getOptionsDiagnostics(cancellationToken) + ), + getGlobalDiagnostics: (cancellationToken) => withProgramOrEmptyArray( + (program2) => program2.getGlobalDiagnostics(cancellationToken) + ), + getConfigFileParsingDiagnostics: () => withProgramOrEmptyArray( + (program2) => program2.getConfigFileParsingDiagnostics() + ), + getSyntacticDiagnostics: (sourceFile, cancellationToken) => withProgramOrEmptyArray( + (program2) => program2.getSyntacticDiagnostics(sourceFile, cancellationToken) + ), + getAllDependencies: (sourceFile) => withProgramOrEmptyArray( + (program2) => program2.getAllDependencies(sourceFile) + ), + getSemanticDiagnostics: (sourceFile, cancellationToken) => withProgramOrEmptyArray( + (program2) => program2.getSemanticDiagnostics(sourceFile, cancellationToken) + ), + getSemanticDiagnosticsOfNextAffectedFile: (cancellationToken, ignoreSourceFile) => withProgramOrUndefined( + (program2) => program2.getSemanticDiagnosticsOfNextAffectedFile && program2.getSemanticDiagnosticsOfNextAffectedFile(cancellationToken, ignoreSourceFile) + ), + emit: (targetSourceFile, writeFile2, cancellationToken, emitOnlyDtsFiles, customTransformers) => { + if (targetSourceFile || emitOnlyDtsFiles) { + return withProgramOrUndefined( + (program2) => { + var _a, _b; + return program2.emit(targetSourceFile, writeFile2, cancellationToken, emitOnlyDtsFiles, customTransformers || ((_b = (_a = state.host).getCustomTransformers) == null ? void 0 : _b.call(_a, project))); + } + ); + } + executeSteps(0 /* CreateProgram */, cancellationToken); + return emit(writeFile2, cancellationToken, customTransformers); + }, + done + }; + function done(cancellationToken, writeFile2, customTransformers) { + executeSteps(3 /* Done */, cancellationToken, writeFile2, customTransformers); + mark("SolutionBuilder::Projects built"); + return doneInvalidatedProject(state, projectPath); + } + function withProgramOrUndefined(action) { + executeSteps(0 /* CreateProgram */); + return program && action(program); + } + function withProgramOrEmptyArray(action) { + return withProgramOrUndefined(action) || emptyArray; + } + function createProgram2() { + var _a, _b, _c; + Debug.assert(program === void 0); + if (state.options.dry) { + reportStatus(state, Diagnostics.A_non_dry_build_would_build_project_0, project); + buildResult = 1 /* Success */; + step = 2 /* QueueReferencingProjects */; + return; + } + if (state.options.verbose) reportStatus(state, Diagnostics.Building_project_0, project); + if (config.fileNames.length === 0) { + reportAndStoreErrors(state, projectPath, getConfigFileParsingDiagnostics(config)); + buildResult = 0 /* None */; + step = 2 /* QueueReferencingProjects */; + return; + } + const { host, compilerHost } = state; + state.projectCompilerOptions = config.options; + (_a = state.moduleResolutionCache) == null ? void 0 : _a.update(config.options); + (_b = state.typeReferenceDirectiveResolutionCache) == null ? void 0 : _b.update(config.options); + program = host.createProgram( + config.fileNames, + config.options, + compilerHost, + getOldProgram(state, projectPath, config), + getConfigFileParsingDiagnostics(config), + config.projectReferences + ); + if (state.watch) { + const internalMap = (_c = state.moduleResolutionCache) == null ? void 0 : _c.getPackageJsonInfoCache().getInternalMap(); + state.lastCachedPackageJsonLookups.set( + projectPath, + internalMap && new Set(arrayFrom( + internalMap.values(), + (data) => state.host.realpath && (isPackageJsonInfo(data) || data.directoryExists) ? state.host.realpath(combinePaths(data.packageDirectory, "package.json")) : combinePaths(data.packageDirectory, "package.json") + )) + ); + state.builderPrograms.set(projectPath, program); + } + step++; + } + function emit(writeFileCallback, cancellationToken, customTransformers) { + var _a, _b, _c; + Debug.assertIsDefined(program); + Debug.assert(step === 1 /* Emit */); + const { host, compilerHost } = state; + const emittedOutputs = /* @__PURE__ */ new Map(); + const options = program.getCompilerOptions(); + const isIncremental = isIncrementalCompilation(options); + let outputTimeStampMap; + let now; + const { emitResult, diagnostics } = emitFilesAndReportErrors( + program, + (d) => host.reportDiagnostic(d), + state.write, + /*reportSummary*/ + void 0, + (name, text, writeByteOrderMark, onError, sourceFiles, data) => { + var _a2; + const path = toPath2(state, name); + emittedOutputs.set(toPath2(state, name), name); + if (data == null ? void 0 : data.buildInfo) { + now || (now = getCurrentTime(state.host)); + const isChangedSignature2 = (_a2 = program.hasChangedEmitSignature) == null ? void 0 : _a2.call(program); + const existing = getBuildInfoCacheEntry(state, name, projectPath); + if (existing) { + existing.buildInfo = data.buildInfo; + existing.modifiedTime = now; + if (isChangedSignature2) existing.latestChangedDtsTime = now; + } else { + state.buildInfoCache.set(projectPath, { + path: toPath2(state, name), + buildInfo: data.buildInfo, + modifiedTime: now, + latestChangedDtsTime: isChangedSignature2 ? now : void 0 + }); + } + } + const modifiedTime = (data == null ? void 0 : data.differsOnlyInMap) ? getModifiedTime(state.host, name) : void 0; + (writeFileCallback || compilerHost.writeFile)( + name, + text, + writeByteOrderMark, + onError, + sourceFiles, + data + ); + if (data == null ? void 0 : data.differsOnlyInMap) state.host.setModifiedTime(name, modifiedTime); + else if (!isIncremental && state.watch) { + (outputTimeStampMap || (outputTimeStampMap = getOutputTimeStampMap(state, projectPath))).set(path, now || (now = getCurrentTime(state.host))); + } + }, + cancellationToken, + /*emitOnlyDtsFiles*/ + void 0, + customTransformers || ((_b = (_a = state.host).getCustomTransformers) == null ? void 0 : _b.call(_a, project)) + ); + if ((!options.noEmitOnError || !diagnostics.length) && (emittedOutputs.size || status.type !== 8 /* OutOfDateBuildInfoWithErrors */)) { + updateOutputTimestampsWorker(state, config, projectPath, Diagnostics.Updating_unchanged_output_timestamps_of_project_0, emittedOutputs); + } + state.projectErrorsReported.set(projectPath, true); + buildResult = ((_c = program.hasChangedEmitSignature) == null ? void 0 : _c.call(program)) ? 0 /* None */ : 2 /* DeclarationOutputUnchanged */; + if (!diagnostics.length) { + state.diagnostics.delete(projectPath); + state.projectStatus.set(projectPath, { + type: 1 /* UpToDate */, + oldestOutputFileName: firstOrUndefinedIterator(emittedOutputs.values()) ?? getFirstProjectOutput(config, !host.useCaseSensitiveFileNames()) + }); + } else { + state.diagnostics.set(projectPath, diagnostics); + state.projectStatus.set(projectPath, { type: 0 /* Unbuildable */, reason: `it had errors` }); + buildResult |= 4 /* AnyErrors */; + } + afterProgramDone(state, program); + step = 2 /* QueueReferencingProjects */; + return emitResult; + } + function executeSteps(till, cancellationToken, writeFile2, customTransformers) { + while (step <= till && step < 3 /* Done */) { + const currentStep = step; + switch (step) { + case 0 /* CreateProgram */: + createProgram2(); + break; + case 1 /* Emit */: + emit(writeFile2, cancellationToken, customTransformers); + break; + case 2 /* QueueReferencingProjects */: + queueReferencingProjects(state, project, projectPath, projectIndex, config, buildOrder, Debug.checkDefined(buildResult)); + step++; + break; + // Should never be done + case 3 /* Done */: + default: + assertType(step); + } + Debug.assert(step > currentStep); + } + } +} +function getNextInvalidatedProjectCreateInfo(state, buildOrder, reportQueue) { + if (!state.projectPendingBuild.size) return void 0; + if (isCircularBuildOrder(buildOrder)) return void 0; + const { options, projectPendingBuild } = state; + for (let projectIndex = 0; projectIndex < buildOrder.length; projectIndex++) { + const project = buildOrder[projectIndex]; + const projectPath = toResolvedConfigFilePath(state, project); + const updateLevel = state.projectPendingBuild.get(projectPath); + if (updateLevel === void 0) continue; + if (reportQueue) { + reportQueue = false; + reportBuildQueue(state, buildOrder); + } + const config = parseConfigFile(state, project, projectPath); + if (!config) { + reportParseConfigFileDiagnostic(state, projectPath); + projectPendingBuild.delete(projectPath); + continue; + } + if (updateLevel === 2 /* Full */) { + watchConfigFile(state, project, projectPath, config); + watchExtendedConfigFiles(state, projectPath, config); + watchWildCardDirectories(state, project, projectPath, config); + watchInputFiles(state, project, projectPath, config); + watchPackageJsonFiles(state, project, projectPath, config); + } else if (updateLevel === 1 /* RootNamesAndUpdate */) { + config.fileNames = getFileNamesFromConfigSpecs(config.options.configFile.configFileSpecs, getDirectoryPath(project), config.options, state.parseConfigFileHost); + updateErrorForNoInputFiles( + config.fileNames, + project, + config.options.configFile.configFileSpecs, + config.errors, + canJsonReportNoInputFiles(config.raw) + ); + watchInputFiles(state, project, projectPath, config); + watchPackageJsonFiles(state, project, projectPath, config); + } + const status = getUpToDateStatus(state, config, projectPath); + if (!options.force) { + if (status.type === 1 /* UpToDate */) { + verboseReportProjectStatus(state, project, status); + reportAndStoreErrors(state, projectPath, getConfigFileParsingDiagnostics(config)); + projectPendingBuild.delete(projectPath); + if (options.dry) { + reportStatus(state, Diagnostics.Project_0_is_up_to_date, project); + } + continue; + } + if (status.type === 2 /* UpToDateWithUpstreamTypes */ || status.type === 15 /* UpToDateWithInputFileText */) { + reportAndStoreErrors(state, projectPath, getConfigFileParsingDiagnostics(config)); + return { + kind: 1 /* UpdateOutputFileStamps */, + status, + project, + projectPath, + projectIndex, + config + }; + } + } + if (status.type === 12 /* UpstreamBlocked */) { + verboseReportProjectStatus(state, project, status); + reportAndStoreErrors(state, projectPath, getConfigFileParsingDiagnostics(config)); + projectPendingBuild.delete(projectPath); + if (options.verbose) { + reportStatus( + state, + status.upstreamProjectBlocked ? Diagnostics.Skipping_build_of_project_0_because_its_dependency_1_was_not_built : Diagnostics.Skipping_build_of_project_0_because_its_dependency_1_has_errors, + project, + status.upstreamProjectName + ); + } + continue; + } + if (status.type === 16 /* ContainerOnly */) { + verboseReportProjectStatus(state, project, status); + reportAndStoreErrors(state, projectPath, getConfigFileParsingDiagnostics(config)); + projectPendingBuild.delete(projectPath); + continue; + } + return { + kind: 0 /* Build */, + status, + project, + projectPath, + projectIndex, + config + }; + } + return void 0; +} +function createInvalidatedProjectWithInfo(state, info, buildOrder) { + verboseReportProjectStatus(state, info.project, info.status); + return info.kind !== 1 /* UpdateOutputFileStamps */ ? createBuildOrUpdateInvalidedProject( + state, + info.project, + info.projectPath, + info.projectIndex, + info.config, + info.status, + buildOrder + ) : createUpdateOutputFileStampsProject( + state, + info.project, + info.projectPath, + info.config, + buildOrder + ); +} +function getNextInvalidatedProject(state, buildOrder, reportQueue) { + const info = getNextInvalidatedProjectCreateInfo(state, buildOrder, reportQueue); + if (!info) return info; + return createInvalidatedProjectWithInfo(state, info, buildOrder); +} +function getOldProgram({ options, builderPrograms, compilerHost }, proj, parsed) { + if (options.force) return void 0; + const value = builderPrograms.get(proj); + if (value) return value; + return readBuilderProgram(parsed.options, compilerHost); +} +function afterProgramDone(state, program) { + if (program) { + if (state.host.afterProgramEmitAndDiagnostics) { + state.host.afterProgramEmitAndDiagnostics(program); + } + program.releaseProgram(); + } + state.projectCompilerOptions = state.baseCompilerOptions; +} +function isFileWatcherWithModifiedTime(value) { + return !!value.watcher; +} +function getModifiedTime2(state, fileName) { + const path = toPath2(state, fileName); + const existing = state.filesWatched.get(path); + if (state.watch && !!existing) { + if (!isFileWatcherWithModifiedTime(existing)) return existing; + if (existing.modifiedTime) return existing.modifiedTime; + } + const result = getModifiedTime(state.host, fileName); + if (state.watch) { + if (existing) existing.modifiedTime = result; + else state.filesWatched.set(path, result); + } + return result; +} +function watchFile(state, file, callback, pollingInterval, options, watchType, project) { + const path = toPath2(state, file); + const existing = state.filesWatched.get(path); + if (existing && isFileWatcherWithModifiedTime(existing)) { + existing.callbacks.push(callback); + } else { + const watcher = state.watchFile( + file, + (fileName, eventKind, modifiedTime) => { + const existing2 = Debug.checkDefined(state.filesWatched.get(path)); + Debug.assert(isFileWatcherWithModifiedTime(existing2)); + existing2.modifiedTime = modifiedTime; + existing2.callbacks.forEach((cb) => cb(fileName, eventKind, modifiedTime)); + }, + pollingInterval, + options, + watchType, + project + ); + state.filesWatched.set(path, { callbacks: [callback], watcher, modifiedTime: existing }); + } + return { + close: () => { + const existing2 = Debug.checkDefined(state.filesWatched.get(path)); + Debug.assert(isFileWatcherWithModifiedTime(existing2)); + if (existing2.callbacks.length === 1) { + state.filesWatched.delete(path); + closeFileWatcherOf(existing2); + } else { + unorderedRemoveItem(existing2.callbacks, callback); + } + } + }; +} +function getOutputTimeStampMap(state, resolvedConfigFilePath) { + if (!state.watch) return void 0; + let result = state.outputTimeStamps.get(resolvedConfigFilePath); + if (!result) state.outputTimeStamps.set(resolvedConfigFilePath, result = /* @__PURE__ */ new Map()); + return result; +} +function getBuildInfoCacheEntry(state, buildInfoPath, resolvedConfigPath) { + const path = toPath2(state, buildInfoPath); + const existing = state.buildInfoCache.get(resolvedConfigPath); + return (existing == null ? void 0 : existing.path) === path ? existing : void 0; +} +function getBuildInfo3(state, buildInfoPath, resolvedConfigPath, modifiedTime) { + const path = toPath2(state, buildInfoPath); + const existing = state.buildInfoCache.get(resolvedConfigPath); + if (existing !== void 0 && existing.path === path) { + return existing.buildInfo || void 0; + } + const value = state.readFileWithCache(buildInfoPath); + const buildInfo = value ? getBuildInfo(buildInfoPath, value) : void 0; + state.buildInfoCache.set(resolvedConfigPath, { path, buildInfo: buildInfo || false, modifiedTime: modifiedTime || missingFileModifiedTime }); + return buildInfo; +} +function checkConfigFileUpToDateStatus(state, configFile, oldestOutputFileTime, oldestOutputFileName) { + const tsconfigTime = getModifiedTime2(state, configFile); + if (oldestOutputFileTime < tsconfigTime) { + return { + type: 5 /* OutOfDateWithSelf */, + outOfDateOutputFileName: oldestOutputFileName, + newerInputFileName: configFile + }; + } +} +function getUpToDateStatusWorker(state, project, resolvedPath) { + var _a, _b, _c, _d, _e; + if (isSolutionConfig(project)) return { type: 16 /* ContainerOnly */ }; + let referenceStatuses; + const force = !!state.options.force; + if (project.projectReferences) { + state.projectStatus.set(resolvedPath, { type: 13 /* ComputingUpstream */ }); + for (const ref of project.projectReferences) { + const resolvedRef = resolveProjectReferencePath(ref); + const resolvedRefPath = toResolvedConfigFilePath(state, resolvedRef); + const resolvedConfig = parseConfigFile(state, resolvedRef, resolvedRefPath); + const refStatus = getUpToDateStatus(state, resolvedConfig, resolvedRefPath); + if (refStatus.type === 13 /* ComputingUpstream */ || refStatus.type === 16 /* ContainerOnly */) { + continue; + } + if (state.options.stopBuildOnErrors && (refStatus.type === 0 /* Unbuildable */ || refStatus.type === 12 /* UpstreamBlocked */)) { + return { + type: 12 /* UpstreamBlocked */, + upstreamProjectName: ref.path, + upstreamProjectBlocked: refStatus.type === 12 /* UpstreamBlocked */ + }; + } + if (!force) (referenceStatuses || (referenceStatuses = [])).push({ ref, refStatus, resolvedRefPath, resolvedConfig }); + } + } + if (force) return { type: 17 /* ForceBuild */ }; + const { host } = state; + const buildInfoPath = getTsBuildInfoEmitOutputFilePath(project.options); + const isIncremental = isIncrementalCompilation(project.options); + let buildInfoCacheEntry = getBuildInfoCacheEntry(state, buildInfoPath, resolvedPath); + const buildInfoTime = (buildInfoCacheEntry == null ? void 0 : buildInfoCacheEntry.modifiedTime) || getModifiedTime(host, buildInfoPath); + if (buildInfoTime === missingFileModifiedTime) { + if (!buildInfoCacheEntry) { + state.buildInfoCache.set(resolvedPath, { + path: toPath2(state, buildInfoPath), + buildInfo: false, + modifiedTime: buildInfoTime + }); + } + return { + type: 3 /* OutputMissing */, + missingOutputFileName: buildInfoPath + }; + } + const buildInfo = getBuildInfo3(state, buildInfoPath, resolvedPath, buildInfoTime); + if (!buildInfo) { + return { + type: 4 /* ErrorReadingFile */, + fileName: buildInfoPath + }; + } + const incrementalBuildInfo = isIncremental && isIncrementalBuildInfo(buildInfo) ? buildInfo : void 0; + if ((incrementalBuildInfo || !isIncremental) && buildInfo.version !== version) { + return { + type: 14 /* TsVersionOutputOfDate */, + version: buildInfo.version + }; + } + if (!project.options.noCheck && (buildInfo.errors || // TODO: syntax errors???? + buildInfo.checkPending)) { + return { + type: 8 /* OutOfDateBuildInfoWithErrors */, + buildInfoFile: buildInfoPath + }; + } + if (incrementalBuildInfo) { + if (!project.options.noCheck && (((_a = incrementalBuildInfo.changeFileSet) == null ? void 0 : _a.length) || ((_b = incrementalBuildInfo.semanticDiagnosticsPerFile) == null ? void 0 : _b.length) || getEmitDeclarations(project.options) && ((_c = incrementalBuildInfo.emitDiagnosticsPerFile) == null ? void 0 : _c.length))) { + return { + type: 8 /* OutOfDateBuildInfoWithErrors */, + buildInfoFile: buildInfoPath + }; + } + if (!project.options.noEmit && (((_d = incrementalBuildInfo.changeFileSet) == null ? void 0 : _d.length) || ((_e = incrementalBuildInfo.affectedFilesPendingEmit) == null ? void 0 : _e.length) || incrementalBuildInfo.pendingEmit !== void 0)) { + return { + type: 7 /* OutOfDateBuildInfoWithPendingEmit */, + buildInfoFile: buildInfoPath + }; + } + if ((!project.options.noEmit || project.options.noEmit && getEmitDeclarations(project.options)) && getPendingEmitKindWithSeen( + project.options, + incrementalBuildInfo.options || {}, + /*emitOnlyDtsFiles*/ + void 0, + !!project.options.noEmit + )) { + return { + type: 9 /* OutOfDateOptions */, + buildInfoFile: buildInfoPath + }; + } + } + let oldestOutputFileTime = buildInfoTime; + let oldestOutputFileName = buildInfoPath; + let newestInputFileName = void 0; + let newestInputFileTime = minimumDate; + let pseudoInputUpToDate = false; + const seenRoots = /* @__PURE__ */ new Set(); + let buildInfoVersionMap; + for (const inputFile of project.fileNames) { + const inputTime = getModifiedTime2(state, inputFile); + if (inputTime === missingFileModifiedTime) { + return { + type: 0 /* Unbuildable */, + reason: `${inputFile} does not exist` + }; + } + const inputPath = toPath2(state, inputFile); + if (buildInfoTime < inputTime) { + let version2; + let currentVersion; + if (incrementalBuildInfo) { + if (!buildInfoVersionMap) buildInfoVersionMap = getBuildInfoFileVersionMap(incrementalBuildInfo, buildInfoPath, host); + const resolvedInputPath = buildInfoVersionMap.roots.get(inputPath); + version2 = buildInfoVersionMap.fileInfos.get(resolvedInputPath ?? inputPath); + const text = version2 ? state.readFileWithCache(resolvedInputPath ?? inputFile) : void 0; + currentVersion = text !== void 0 ? getSourceFileVersionAsHashFromText(host, text) : void 0; + if (version2 && version2 === currentVersion) pseudoInputUpToDate = true; + } + if (!version2 || version2 !== currentVersion) { + return { + type: 5 /* OutOfDateWithSelf */, + outOfDateOutputFileName: buildInfoPath, + newerInputFileName: inputFile + }; + } + } + if (inputTime > newestInputFileTime) { + newestInputFileName = inputFile; + newestInputFileTime = inputTime; + } + seenRoots.add(inputPath); + } + let existingRoot; + if (incrementalBuildInfo) { + if (!buildInfoVersionMap) buildInfoVersionMap = getBuildInfoFileVersionMap(incrementalBuildInfo, buildInfoPath, host); + existingRoot = forEachEntry( + buildInfoVersionMap.roots, + // File was root file when project was built but its not any more + (_resolved, existingRoot2) => !seenRoots.has(existingRoot2) ? existingRoot2 : void 0 + ); + } else { + existingRoot = forEach( + getNonIncrementalBuildInfoRoots(buildInfo, buildInfoPath, host), + (root) => !seenRoots.has(root) ? root : void 0 + ); + } + if (existingRoot) { + return { + type: 10 /* OutOfDateRoots */, + buildInfoFile: buildInfoPath, + inputFile: existingRoot + }; + } + if (!isIncremental) { + const outputs = getAllProjectOutputs(project, !host.useCaseSensitiveFileNames()); + const outputTimeStampMap = getOutputTimeStampMap(state, resolvedPath); + for (const output of outputs) { + if (output === buildInfoPath) continue; + const path = toPath2(state, output); + let outputTime = outputTimeStampMap == null ? void 0 : outputTimeStampMap.get(path); + if (!outputTime) { + outputTime = getModifiedTime(state.host, output); + outputTimeStampMap == null ? void 0 : outputTimeStampMap.set(path, outputTime); + } + if (outputTime === missingFileModifiedTime) { + return { + type: 3 /* OutputMissing */, + missingOutputFileName: output + }; + } + if (outputTime < newestInputFileTime) { + return { + type: 5 /* OutOfDateWithSelf */, + outOfDateOutputFileName: output, + newerInputFileName: newestInputFileName + }; + } + if (outputTime < oldestOutputFileTime) { + oldestOutputFileTime = outputTime; + oldestOutputFileName = output; + } + } + } + let pseudoUpToDate = false; + if (referenceStatuses) { + for (const { ref, refStatus, resolvedConfig, resolvedRefPath } of referenceStatuses) { + if (refStatus.newestInputFileTime && refStatus.newestInputFileTime <= oldestOutputFileTime) { + continue; + } + if (hasSameBuildInfo(state, buildInfoCacheEntry ?? (buildInfoCacheEntry = state.buildInfoCache.get(resolvedPath)), resolvedRefPath)) { + return { + type: 6 /* OutOfDateWithUpstream */, + outOfDateOutputFileName: buildInfoPath, + newerProjectName: ref.path + }; + } + const newestDeclarationFileContentChangedTime = getLatestChangedDtsTime(state, resolvedConfig.options, resolvedRefPath); + if (newestDeclarationFileContentChangedTime && newestDeclarationFileContentChangedTime <= oldestOutputFileTime) { + pseudoUpToDate = true; + continue; + } + Debug.assert(oldestOutputFileName !== void 0, "Should have an oldest output filename here"); + return { + type: 6 /* OutOfDateWithUpstream */, + outOfDateOutputFileName: oldestOutputFileName, + newerProjectName: ref.path + }; + } + } + const configStatus = checkConfigFileUpToDateStatus(state, project.options.configFilePath, oldestOutputFileTime, oldestOutputFileName); + if (configStatus) return configStatus; + const extendedConfigStatus = forEach(project.options.configFile.extendedSourceFiles || emptyArray, (configFile) => checkConfigFileUpToDateStatus(state, configFile, oldestOutputFileTime, oldestOutputFileName)); + if (extendedConfigStatus) return extendedConfigStatus; + const packageJsonLookups = state.lastCachedPackageJsonLookups.get(resolvedPath); + const dependentPackageFileStatus = packageJsonLookups && forEachKey( + packageJsonLookups, + (path) => checkConfigFileUpToDateStatus(state, path, oldestOutputFileTime, oldestOutputFileName) + ); + if (dependentPackageFileStatus) return dependentPackageFileStatus; + return { + type: pseudoUpToDate ? 2 /* UpToDateWithUpstreamTypes */ : pseudoInputUpToDate ? 15 /* UpToDateWithInputFileText */ : 1 /* UpToDate */, + newestInputFileTime, + newestInputFileName, + oldestOutputFileName + }; +} +function hasSameBuildInfo(state, buildInfoCacheEntry, resolvedRefPath) { + const refBuildInfo = state.buildInfoCache.get(resolvedRefPath); + return refBuildInfo.path === buildInfoCacheEntry.path; +} +function getUpToDateStatus(state, project, resolvedPath) { + if (project === void 0) { + return { type: 0 /* Unbuildable */, reason: "config file deleted mid-build" }; + } + const prior = state.projectStatus.get(resolvedPath); + if (prior !== void 0) { + return prior; + } + mark("SolutionBuilder::beforeUpToDateCheck"); + const actual = getUpToDateStatusWorker(state, project, resolvedPath); + mark("SolutionBuilder::afterUpToDateCheck"); + measure("SolutionBuilder::Up-to-date check", "SolutionBuilder::beforeUpToDateCheck", "SolutionBuilder::afterUpToDateCheck"); + state.projectStatus.set(resolvedPath, actual); + return actual; +} +function updateOutputTimestampsWorker(state, proj, projectPath, verboseMessage, skipOutputs) { + if (proj.options.noEmit) return; + let now; + const buildInfoPath = getTsBuildInfoEmitOutputFilePath(proj.options); + const isIncremental = isIncrementalCompilation(proj.options); + if (buildInfoPath && isIncremental) { + if (!(skipOutputs == null ? void 0 : skipOutputs.has(toPath2(state, buildInfoPath)))) { + if (!!state.options.verbose) reportStatus(state, verboseMessage, proj.options.configFilePath); + state.host.setModifiedTime(buildInfoPath, now = getCurrentTime(state.host)); + getBuildInfoCacheEntry(state, buildInfoPath, projectPath).modifiedTime = now; + } + state.outputTimeStamps.delete(projectPath); + return; + } + const { host } = state; + const outputs = getAllProjectOutputs(proj, !host.useCaseSensitiveFileNames()); + const outputTimeStampMap = getOutputTimeStampMap(state, projectPath); + const modifiedOutputs = outputTimeStampMap ? /* @__PURE__ */ new Set() : void 0; + if (!skipOutputs || outputs.length !== skipOutputs.size) { + let reportVerbose = !!state.options.verbose; + for (const file of outputs) { + const path = toPath2(state, file); + if (skipOutputs == null ? void 0 : skipOutputs.has(path)) continue; + if (reportVerbose) { + reportVerbose = false; + reportStatus(state, verboseMessage, proj.options.configFilePath); + } + host.setModifiedTime(file, now || (now = getCurrentTime(state.host))); + if (file === buildInfoPath) getBuildInfoCacheEntry(state, buildInfoPath, projectPath).modifiedTime = now; + else if (outputTimeStampMap) { + outputTimeStampMap.set(path, now); + modifiedOutputs.add(path); + } + } + } + outputTimeStampMap == null ? void 0 : outputTimeStampMap.forEach((_value, key) => { + if (!(skipOutputs == null ? void 0 : skipOutputs.has(key)) && !modifiedOutputs.has(key)) outputTimeStampMap.delete(key); + }); +} +function getLatestChangedDtsTime(state, options, resolvedConfigPath) { + if (!options.composite) return void 0; + const entry = Debug.checkDefined(state.buildInfoCache.get(resolvedConfigPath)); + if (entry.latestChangedDtsTime !== void 0) return entry.latestChangedDtsTime || void 0; + const latestChangedDtsTime = entry.buildInfo && isIncrementalBuildInfo(entry.buildInfo) && entry.buildInfo.latestChangedDtsFile ? state.host.getModifiedTime(getNormalizedAbsolutePath(entry.buildInfo.latestChangedDtsFile, getDirectoryPath(entry.path))) : void 0; + entry.latestChangedDtsTime = latestChangedDtsTime || false; + return latestChangedDtsTime; +} +function updateOutputTimestamps(state, proj, resolvedPath) { + if (state.options.dry) { + return reportStatus(state, Diagnostics.A_non_dry_build_would_update_timestamps_for_output_of_project_0, proj.options.configFilePath); + } + updateOutputTimestampsWorker(state, proj, resolvedPath, Diagnostics.Updating_output_timestamps_of_project_0); + state.projectStatus.set(resolvedPath, { + type: 1 /* UpToDate */, + oldestOutputFileName: getFirstProjectOutput(proj, !state.host.useCaseSensitiveFileNames()) + }); +} +function queueReferencingProjects(state, project, projectPath, projectIndex, config, buildOrder, buildResult) { + if (state.options.stopBuildOnErrors && buildResult & 4 /* AnyErrors */) return; + if (!config.options.composite) return; + for (let index = projectIndex + 1; index < buildOrder.length; index++) { + const nextProject = buildOrder[index]; + const nextProjectPath = toResolvedConfigFilePath(state, nextProject); + if (state.projectPendingBuild.has(nextProjectPath)) continue; + const nextProjectConfig = parseConfigFile(state, nextProject, nextProjectPath); + if (!nextProjectConfig || !nextProjectConfig.projectReferences) continue; + for (const ref of nextProjectConfig.projectReferences) { + const resolvedRefPath = resolveProjectName(state, ref.path); + if (toResolvedConfigFilePath(state, resolvedRefPath) !== projectPath) continue; + const status = state.projectStatus.get(nextProjectPath); + if (status) { + switch (status.type) { + case 1 /* UpToDate */: + if (buildResult & 2 /* DeclarationOutputUnchanged */) { + status.type = 2 /* UpToDateWithUpstreamTypes */; + break; + } + // falls through + case 15 /* UpToDateWithInputFileText */: + case 2 /* UpToDateWithUpstreamTypes */: + if (!(buildResult & 2 /* DeclarationOutputUnchanged */)) { + state.projectStatus.set(nextProjectPath, { + type: 6 /* OutOfDateWithUpstream */, + outOfDateOutputFileName: status.oldestOutputFileName, + newerProjectName: project + }); + } + break; + case 12 /* UpstreamBlocked */: + if (toResolvedConfigFilePath(state, resolveProjectName(state, status.upstreamProjectName)) === projectPath) { + clearProjectStatus(state, nextProjectPath); + } + break; + } + } + addProjToQueue(state, nextProjectPath, 0 /* Update */); + break; + } + } +} +function build(state, project, cancellationToken, writeFile2, getCustomTransformers, onlyReferences) { + mark("SolutionBuilder::beforeBuild"); + const result = buildWorker(state, project, cancellationToken, writeFile2, getCustomTransformers, onlyReferences); + mark("SolutionBuilder::afterBuild"); + measure("SolutionBuilder::Build", "SolutionBuilder::beforeBuild", "SolutionBuilder::afterBuild"); + return result; +} +function buildWorker(state, project, cancellationToken, writeFile2, getCustomTransformers, onlyReferences) { + const buildOrder = getBuildOrderFor(state, project, onlyReferences); + if (!buildOrder) return 3 /* InvalidProject_OutputsSkipped */; + setupInitialBuild(state, cancellationToken); + let reportQueue = true; + let successfulProjects = 0; + while (true) { + const invalidatedProject = getNextInvalidatedProject(state, buildOrder, reportQueue); + if (!invalidatedProject) break; + reportQueue = false; + invalidatedProject.done(cancellationToken, writeFile2, getCustomTransformers == null ? void 0 : getCustomTransformers(invalidatedProject.project)); + if (!state.diagnostics.has(invalidatedProject.projectPath)) successfulProjects++; + } + disableCache(state); + reportErrorSummary(state, buildOrder); + startWatching(state, buildOrder); + return isCircularBuildOrder(buildOrder) ? 4 /* ProjectReferenceCycle_OutputsSkipped */ : !buildOrder.some((p) => state.diagnostics.has(toResolvedConfigFilePath(state, p))) ? 0 /* Success */ : successfulProjects ? 2 /* DiagnosticsPresent_OutputsGenerated */ : 1 /* DiagnosticsPresent_OutputsSkipped */; +} +function clean(state, project, onlyReferences) { + mark("SolutionBuilder::beforeClean"); + const result = cleanWorker(state, project, onlyReferences); + mark("SolutionBuilder::afterClean"); + measure("SolutionBuilder::Clean", "SolutionBuilder::beforeClean", "SolutionBuilder::afterClean"); + return result; +} +function cleanWorker(state, project, onlyReferences) { + const buildOrder = getBuildOrderFor(state, project, onlyReferences); + if (!buildOrder) return 3 /* InvalidProject_OutputsSkipped */; + if (isCircularBuildOrder(buildOrder)) { + reportErrors(state, buildOrder.circularDiagnostics); + return 4 /* ProjectReferenceCycle_OutputsSkipped */; + } + const { options, host } = state; + const filesToDelete = options.dry ? [] : void 0; + for (const proj of buildOrder) { + const resolvedPath = toResolvedConfigFilePath(state, proj); + const parsed = parseConfigFile(state, proj, resolvedPath); + if (parsed === void 0) { + reportParseConfigFileDiagnostic(state, resolvedPath); + continue; + } + const outputs = getAllProjectOutputs(parsed, !host.useCaseSensitiveFileNames()); + if (!outputs.length) continue; + const inputFileNames = new Set(parsed.fileNames.map((f) => toPath2(state, f))); + for (const output of outputs) { + if (inputFileNames.has(toPath2(state, output))) continue; + if (host.fileExists(output)) { + if (filesToDelete) { + filesToDelete.push(output); + } else { + host.deleteFile(output); + invalidateProject(state, resolvedPath, 0 /* Update */); + } + } + } + } + if (filesToDelete) { + reportStatus(state, Diagnostics.A_non_dry_build_would_delete_the_following_files_Colon_0, filesToDelete.map((f) => `\r + * ${f}`).join("")); + } + return 0 /* Success */; +} +function invalidateProject(state, resolved, updateLevel) { + if (state.host.getParsedCommandLine && updateLevel === 1 /* RootNamesAndUpdate */) { + updateLevel = 2 /* Full */; + } + if (updateLevel === 2 /* Full */) { + state.configFileCache.delete(resolved); + state.buildOrder = void 0; + } + state.needsSummary = true; + clearProjectStatus(state, resolved); + addProjToQueue(state, resolved, updateLevel); + enableCache(state); +} +function invalidateProjectAndScheduleBuilds(state, resolvedPath, updateLevel) { + state.reportFileChangeDetected = true; + invalidateProject(state, resolvedPath, updateLevel); + scheduleBuildInvalidatedProject( + state, + 250, + /*changeDetected*/ + true + ); +} +function scheduleBuildInvalidatedProject(state, time, changeDetected) { + const { hostWithWatch } = state; + if (!hostWithWatch.setTimeout || !hostWithWatch.clearTimeout) { + return; + } + if (state.timerToBuildInvalidatedProject) { + hostWithWatch.clearTimeout(state.timerToBuildInvalidatedProject); + } + state.timerToBuildInvalidatedProject = hostWithWatch.setTimeout(buildNextInvalidatedProject, time, "timerToBuildInvalidatedProject", state, changeDetected); +} +function buildNextInvalidatedProject(_timeoutType, state, changeDetected) { + mark("SolutionBuilder::beforeBuild"); + const buildOrder = buildNextInvalidatedProjectWorker(state, changeDetected); + mark("SolutionBuilder::afterBuild"); + measure("SolutionBuilder::Build", "SolutionBuilder::beforeBuild", "SolutionBuilder::afterBuild"); + if (buildOrder) reportErrorSummary(state, buildOrder); +} +function buildNextInvalidatedProjectWorker(state, changeDetected) { + state.timerToBuildInvalidatedProject = void 0; + if (state.reportFileChangeDetected) { + state.reportFileChangeDetected = false; + state.projectErrorsReported.clear(); + reportWatchStatus(state, Diagnostics.File_change_detected_Starting_incremental_compilation); + } + let projectsBuilt = 0; + const buildOrder = getBuildOrder(state); + const invalidatedProject = getNextInvalidatedProject( + state, + buildOrder, + /*reportQueue*/ + false + ); + if (invalidatedProject) { + invalidatedProject.done(); + projectsBuilt++; + while (state.projectPendingBuild.size) { + if (state.timerToBuildInvalidatedProject) return; + const info = getNextInvalidatedProjectCreateInfo( + state, + buildOrder, + /*reportQueue*/ + false + ); + if (!info) break; + if (info.kind !== 1 /* UpdateOutputFileStamps */ && (changeDetected || projectsBuilt === 5)) { + scheduleBuildInvalidatedProject( + state, + 100, + /*changeDetected*/ + false + ); + return; + } + const project = createInvalidatedProjectWithInfo(state, info, buildOrder); + project.done(); + if (info.kind !== 1 /* UpdateOutputFileStamps */) projectsBuilt++; + } + } + disableCache(state); + return buildOrder; +} +function watchConfigFile(state, resolved, resolvedPath, parsed) { + if (!state.watch || state.allWatchedConfigFiles.has(resolvedPath)) return; + state.allWatchedConfigFiles.set( + resolvedPath, + watchFile( + state, + resolved, + () => invalidateProjectAndScheduleBuilds(state, resolvedPath, 2 /* Full */), + 2e3 /* High */, + parsed == null ? void 0 : parsed.watchOptions, + WatchType.ConfigFile, + resolved + ) + ); +} +function watchExtendedConfigFiles(state, resolvedPath, parsed) { + updateSharedExtendedConfigFileWatcher( + resolvedPath, + parsed == null ? void 0 : parsed.options, + state.allWatchedExtendedConfigFiles, + (extendedConfigFileName, extendedConfigFilePath) => watchFile( + state, + extendedConfigFileName, + () => { + var _a; + return (_a = state.allWatchedExtendedConfigFiles.get(extendedConfigFilePath)) == null ? void 0 : _a.projects.forEach((projectConfigFilePath) => invalidateProjectAndScheduleBuilds(state, projectConfigFilePath, 2 /* Full */)); + }, + 2e3 /* High */, + parsed == null ? void 0 : parsed.watchOptions, + WatchType.ExtendedConfigFile + ), + (fileName) => toPath2(state, fileName) + ); +} +function watchWildCardDirectories(state, resolved, resolvedPath, parsed) { + if (!state.watch) return; + updateWatchingWildcardDirectories( + getOrCreateValueMapFromConfigFileMap(state.allWatchedWildcardDirectories, resolvedPath), + parsed.wildcardDirectories, + (dir, flags) => state.watchDirectory( + dir, + (fileOrDirectory) => { + var _a; + if (isIgnoredFileFromWildCardWatching({ + watchedDirPath: toPath2(state, dir), + fileOrDirectory, + fileOrDirectoryPath: toPath2(state, fileOrDirectory), + configFileName: resolved, + currentDirectory: state.compilerHost.getCurrentDirectory(), + options: parsed.options, + program: state.builderPrograms.get(resolvedPath) || ((_a = getCachedParsedConfigFile(state, resolvedPath)) == null ? void 0 : _a.fileNames), + useCaseSensitiveFileNames: state.parseConfigFileHost.useCaseSensitiveFileNames, + writeLog: (s) => state.writeLog(s), + toPath: (fileName) => toPath2(state, fileName) + })) return; + invalidateProjectAndScheduleBuilds(state, resolvedPath, 1 /* RootNamesAndUpdate */); + }, + flags, + parsed == null ? void 0 : parsed.watchOptions, + WatchType.WildcardDirectory, + resolved + ) + ); +} +function watchInputFiles(state, resolved, resolvedPath, parsed) { + if (!state.watch) return; + mutateMap( + getOrCreateValueMapFromConfigFileMap(state.allWatchedInputFiles, resolvedPath), + new Set(parsed.fileNames), + { + createNewValue: (input) => watchFile( + state, + input, + () => invalidateProjectAndScheduleBuilds(state, resolvedPath, 0 /* Update */), + 250 /* Low */, + parsed == null ? void 0 : parsed.watchOptions, + WatchType.SourceFile, + resolved + ), + onDeleteValue: closeFileWatcher + } + ); +} +function watchPackageJsonFiles(state, resolved, resolvedPath, parsed) { + if (!state.watch || !state.lastCachedPackageJsonLookups) return; + mutateMap( + getOrCreateValueMapFromConfigFileMap(state.allWatchedPackageJsonFiles, resolvedPath), + state.lastCachedPackageJsonLookups.get(resolvedPath), + { + createNewValue: (input) => watchFile( + state, + input, + () => invalidateProjectAndScheduleBuilds(state, resolvedPath, 0 /* Update */), + 2e3 /* High */, + parsed == null ? void 0 : parsed.watchOptions, + WatchType.PackageJson, + resolved + ), + onDeleteValue: closeFileWatcher + } + ); +} +function startWatching(state, buildOrder) { + if (!state.watchAllProjectsPending) return; + mark("SolutionBuilder::beforeWatcherCreation"); + state.watchAllProjectsPending = false; + for (const resolved of getBuildOrderFromAnyBuildOrder(buildOrder)) { + const resolvedPath = toResolvedConfigFilePath(state, resolved); + const cfg = parseConfigFile(state, resolved, resolvedPath); + watchConfigFile(state, resolved, resolvedPath, cfg); + watchExtendedConfigFiles(state, resolvedPath, cfg); + if (cfg) { + watchWildCardDirectories(state, resolved, resolvedPath, cfg); + watchInputFiles(state, resolved, resolvedPath, cfg); + watchPackageJsonFiles(state, resolved, resolvedPath, cfg); + } + } + mark("SolutionBuilder::afterWatcherCreation"); + measure("SolutionBuilder::Watcher creation", "SolutionBuilder::beforeWatcherCreation", "SolutionBuilder::afterWatcherCreation"); +} +function stopWatching(state) { + clearMap(state.allWatchedConfigFiles, closeFileWatcher); + clearMap(state.allWatchedExtendedConfigFiles, closeFileWatcherOf); + clearMap(state.allWatchedWildcardDirectories, (watchedWildcardDirectories) => clearMap(watchedWildcardDirectories, closeFileWatcherOf)); + clearMap(state.allWatchedInputFiles, (watchedWildcardDirectories) => clearMap(watchedWildcardDirectories, closeFileWatcher)); + clearMap(state.allWatchedPackageJsonFiles, (watchedPacageJsonFiles) => clearMap(watchedPacageJsonFiles, closeFileWatcher)); +} +function createSolutionBuilderWorker(watch, hostOrHostWithWatch, rootNames, options, baseWatchOptions) { + const state = createSolutionBuilderState(watch, hostOrHostWithWatch, rootNames, options, baseWatchOptions); + return { + build: (project, cancellationToken, writeFile2, getCustomTransformers) => build(state, project, cancellationToken, writeFile2, getCustomTransformers), + clean: (project) => clean(state, project), + buildReferences: (project, cancellationToken, writeFile2, getCustomTransformers) => build( + state, + project, + cancellationToken, + writeFile2, + getCustomTransformers, + /*onlyReferences*/ + true + ), + cleanReferences: (project) => clean( + state, + project, + /*onlyReferences*/ + true + ), + getNextInvalidatedProject: (cancellationToken) => { + setupInitialBuild(state, cancellationToken); + return getNextInvalidatedProject( + state, + getBuildOrder(state), + /*reportQueue*/ + false + ); + }, + getBuildOrder: () => getBuildOrder(state), + getUpToDateStatusOfProject: (project) => { + const configFileName = resolveProjectName(state, project); + const configFilePath = toResolvedConfigFilePath(state, configFileName); + return getUpToDateStatus(state, parseConfigFile(state, configFileName, configFilePath), configFilePath); + }, + invalidateProject: (configFilePath, updateLevel) => invalidateProject(state, configFilePath, updateLevel || 0 /* Update */), + close: () => stopWatching(state) + }; +} +function relName(state, path) { + return convertToRelativePath(path, state.compilerHost.getCurrentDirectory(), state.compilerHost.getCanonicalFileName); +} +function reportStatus(state, message, ...args) { + state.host.reportSolutionBuilderStatus(createCompilerDiagnostic(message, ...args)); +} +function reportWatchStatus(state, message, ...args) { + var _a, _b; + (_b = (_a = state.hostWithWatch).onWatchStatusChange) == null ? void 0 : _b.call(_a, createCompilerDiagnostic(message, ...args), state.host.getNewLine(), state.baseCompilerOptions); +} +function reportErrors({ host }, errors) { + errors.forEach((err) => host.reportDiagnostic(err)); +} +function reportAndStoreErrors(state, proj, errors) { + reportErrors(state, errors); + state.projectErrorsReported.set(proj, true); + if (errors.length) { + state.diagnostics.set(proj, errors); + } +} +function reportParseConfigFileDiagnostic(state, proj) { + reportAndStoreErrors(state, proj, [state.configFileCache.get(proj)]); +} +function reportErrorSummary(state, buildOrder) { + if (!state.needsSummary) return; + state.needsSummary = false; + const canReportSummary = state.watch || !!state.host.reportErrorSummary; + const { diagnostics } = state; + let totalErrors = 0; + let filesInError = []; + if (isCircularBuildOrder(buildOrder)) { + reportBuildQueue(state, buildOrder.buildOrder); + reportErrors(state, buildOrder.circularDiagnostics); + if (canReportSummary) totalErrors += getErrorCountForSummary(buildOrder.circularDiagnostics); + if (canReportSummary) filesInError = [...filesInError, ...getFilesInErrorForSummary(buildOrder.circularDiagnostics)]; + } else { + buildOrder.forEach((project) => { + const projectPath = toResolvedConfigFilePath(state, project); + if (!state.projectErrorsReported.has(projectPath)) { + reportErrors(state, diagnostics.get(projectPath) || emptyArray); + } + }); + if (canReportSummary) diagnostics.forEach((singleProjectErrors) => totalErrors += getErrorCountForSummary(singleProjectErrors)); + if (canReportSummary) diagnostics.forEach((singleProjectErrors) => [...filesInError, ...getFilesInErrorForSummary(singleProjectErrors)]); + } + if (state.watch) { + reportWatchStatus(state, getWatchErrorSummaryDiagnosticMessage(totalErrors), totalErrors); + } else if (state.host.reportErrorSummary) { + state.host.reportErrorSummary(totalErrors, filesInError); + } +} +function reportBuildQueue(state, buildQueue) { + if (state.options.verbose) { + reportStatus(state, Diagnostics.Projects_in_this_build_Colon_0, buildQueue.map((s) => "\r\n * " + relName(state, s)).join("")); + } +} +function reportUpToDateStatus(state, configFileName, status) { + switch (status.type) { + case 5 /* OutOfDateWithSelf */: + return reportStatus( + state, + Diagnostics.Project_0_is_out_of_date_because_output_1_is_older_than_input_2, + relName(state, configFileName), + relName(state, status.outOfDateOutputFileName), + relName(state, status.newerInputFileName) + ); + case 6 /* OutOfDateWithUpstream */: + return reportStatus( + state, + Diagnostics.Project_0_is_out_of_date_because_output_1_is_older_than_input_2, + relName(state, configFileName), + relName(state, status.outOfDateOutputFileName), + relName(state, status.newerProjectName) + ); + case 3 /* OutputMissing */: + return reportStatus( + state, + Diagnostics.Project_0_is_out_of_date_because_output_file_1_does_not_exist, + relName(state, configFileName), + relName(state, status.missingOutputFileName) + ); + case 4 /* ErrorReadingFile */: + return reportStatus( + state, + Diagnostics.Project_0_is_out_of_date_because_there_was_error_reading_file_1, + relName(state, configFileName), + relName(state, status.fileName) + ); + case 7 /* OutOfDateBuildInfoWithPendingEmit */: + return reportStatus( + state, + Diagnostics.Project_0_is_out_of_date_because_buildinfo_file_1_indicates_that_some_of_the_changes_were_not_emitted, + relName(state, configFileName), + relName(state, status.buildInfoFile) + ); + case 8 /* OutOfDateBuildInfoWithErrors */: + return reportStatus( + state, + Diagnostics.Project_0_is_out_of_date_because_buildinfo_file_1_indicates_that_program_needs_to_report_errors, + relName(state, configFileName), + relName(state, status.buildInfoFile) + ); + case 9 /* OutOfDateOptions */: + return reportStatus( + state, + Diagnostics.Project_0_is_out_of_date_because_buildinfo_file_1_indicates_there_is_change_in_compilerOptions, + relName(state, configFileName), + relName(state, status.buildInfoFile) + ); + case 10 /* OutOfDateRoots */: + return reportStatus( + state, + Diagnostics.Project_0_is_out_of_date_because_buildinfo_file_1_indicates_that_file_2_was_root_file_of_compilation_but_not_any_more, + relName(state, configFileName), + relName(state, status.buildInfoFile), + relName(state, status.inputFile) + ); + case 1 /* UpToDate */: + if (status.newestInputFileTime !== void 0) { + return reportStatus( + state, + Diagnostics.Project_0_is_up_to_date_because_newest_input_1_is_older_than_output_2, + relName(state, configFileName), + relName(state, status.newestInputFileName || ""), + relName(state, status.oldestOutputFileName || "") + ); + } + break; + case 2 /* UpToDateWithUpstreamTypes */: + return reportStatus( + state, + Diagnostics.Project_0_is_up_to_date_with_d_ts_files_from_its_dependencies, + relName(state, configFileName) + ); + case 15 /* UpToDateWithInputFileText */: + return reportStatus( + state, + Diagnostics.Project_0_is_up_to_date_but_needs_to_update_timestamps_of_output_files_that_are_older_than_input_files, + relName(state, configFileName) + ); + case 11 /* UpstreamOutOfDate */: + return reportStatus( + state, + Diagnostics.Project_0_is_out_of_date_because_its_dependency_1_is_out_of_date, + relName(state, configFileName), + relName(state, status.upstreamProjectName) + ); + case 12 /* UpstreamBlocked */: + return reportStatus( + state, + status.upstreamProjectBlocked ? Diagnostics.Project_0_can_t_be_built_because_its_dependency_1_was_not_built : Diagnostics.Project_0_can_t_be_built_because_its_dependency_1_has_errors, + relName(state, configFileName), + relName(state, status.upstreamProjectName) + ); + case 0 /* Unbuildable */: + return reportStatus( + state, + Diagnostics.Project_0_is_out_of_date_because_1, + relName(state, configFileName), + status.reason + ); + case 14 /* TsVersionOutputOfDate */: + return reportStatus( + state, + Diagnostics.Project_0_is_out_of_date_because_output_for_it_was_generated_with_version_1_that_differs_with_current_version_2, + relName(state, configFileName), + status.version, + version + ); + case 17 /* ForceBuild */: + return reportStatus( + state, + Diagnostics.Project_0_is_being_forcibly_rebuilt, + relName(state, configFileName) + ); + case 16 /* ContainerOnly */: + // Don't report status on "solution" projects + // falls through + case 13 /* ComputingUpstream */: + break; + default: + assertType(status); + } +} +function verboseReportProjectStatus(state, configFileName, status) { + if (state.options.verbose) { + reportUpToDateStatus(state, configFileName, status); + } +} + +// src/compiler/executeCommandLine.ts +function countLines(program) { + const counts2 = getCountsMap(); + forEach(program.getSourceFiles(), (file) => { + const key = getCountKey(program, file); + const lineCount = getLineStarts(file).length; + counts2.set(key, counts2.get(key) + lineCount); + }); + return counts2; +} +function getCountsMap() { + const counts2 = /* @__PURE__ */ new Map(); + counts2.set("Library", 0); + counts2.set("Definitions", 0); + counts2.set("TypeScript", 0); + counts2.set("JavaScript", 0); + counts2.set("JSON", 0); + counts2.set("Other", 0); + return counts2; +} +function getCountKey(program, file) { + if (program.isSourceFileDefaultLibrary(file)) { + return "Library"; + } else if (file.isDeclarationFile) { + return "Definitions"; + } + const path = file.path; + if (fileExtensionIsOneOf(path, supportedTSExtensionsFlat)) { + return "TypeScript"; + } else if (fileExtensionIsOneOf(path, supportedJSExtensionsFlat)) { + return "JavaScript"; + } else if (fileExtensionIs(path, ".json" /* Json */)) { + return "JSON"; + } else { + return "Other"; + } +} +function updateReportDiagnostic(sys2, existing, options) { + return shouldBePretty(sys2, options) ? createDiagnosticReporter( + sys2, + /*pretty*/ + true + ) : existing; +} +function defaultIsPretty(sys2) { + return !!sys2.writeOutputIsTTY && sys2.writeOutputIsTTY() && !sys2.getEnvironmentVariable("NO_COLOR"); +} +function shouldBePretty(sys2, options) { + if (!options || typeof options.pretty === "undefined") { + return defaultIsPretty(sys2); + } + return options.pretty; +} +function getOptionsForHelp(commandLine) { + return !!commandLine.options.all ? toSorted(optionDeclarations.concat(tscBuildOption), (a, b) => compareStringsCaseInsensitive(a.name, b.name)) : filter(optionDeclarations.concat(tscBuildOption), (v) => !!v.showInSimplifiedHelpView); +} +function printVersion(sys2) { + sys2.write(getDiagnosticText(Diagnostics.Version_0, version) + sys2.newLine); +} +function createColors(sys2) { + const showColors = defaultIsPretty(sys2); + if (!showColors) { + return { + bold: (str) => str, + blue: (str) => str, + blueBackground: (str) => str, + brightWhite: (str) => str + }; + } + function bold(str) { + return `\x1B[1m${str}\x1B[22m`; + } + const isWindows = sys2.getEnvironmentVariable("OS") && sys2.getEnvironmentVariable("OS").toLowerCase().includes("windows"); + const isWindowsTerminal = sys2.getEnvironmentVariable("WT_SESSION"); + const isVSCode = sys2.getEnvironmentVariable("TERM_PROGRAM") && sys2.getEnvironmentVariable("TERM_PROGRAM") === "vscode"; + function blue(str) { + if (isWindows && !isWindowsTerminal && !isVSCode) { + return brightWhite(str); + } + return `\x1B[94m${str}\x1B[39m`; + } + const supportsRicherColors = sys2.getEnvironmentVariable("COLORTERM") === "truecolor" || sys2.getEnvironmentVariable("TERM") === "xterm-256color"; + function blueBackground(str) { + if (supportsRicherColors) { + return `\x1B[48;5;68m${str}\x1B[39;49m`; + } else { + return `\x1B[44m${str}\x1B[39;49m`; + } + } + function brightWhite(str) { + return `\x1B[97m${str}\x1B[39m`; + } + return { + bold, + blue, + brightWhite, + blueBackground + }; +} +function getDisplayNameTextOfOption(option) { + return `--${option.name}${option.shortName ? `, -${option.shortName}` : ""}`; +} +function generateOptionOutput(sys2, option, rightAlignOfLeft, leftAlignOfRight) { + var _a; + const text = []; + const colors = createColors(sys2); + const name = getDisplayNameTextOfOption(option); + const valueCandidates = getValueCandidate(option); + const defaultValueDescription = typeof option.defaultValueDescription === "object" ? getDiagnosticText(option.defaultValueDescription) : formatDefaultValue( + option.defaultValueDescription, + option.type === "list" || option.type === "listOrElement" ? option.element.type : option.type + ); + const terminalWidth = ((_a = sys2.getWidthOfTerminal) == null ? void 0 : _a.call(sys2)) ?? 0; + if (terminalWidth >= 80) { + let description = ""; + if (option.description) { + description = getDiagnosticText(option.description); + } + text.push(...getPrettyOutput( + name, + description, + rightAlignOfLeft, + leftAlignOfRight, + terminalWidth, + /*colorLeft*/ + true + ), sys2.newLine); + if (showAdditionalInfoOutput(valueCandidates, option)) { + if (valueCandidates) { + text.push(...getPrettyOutput( + valueCandidates.valueType, + valueCandidates.possibleValues, + rightAlignOfLeft, + leftAlignOfRight, + terminalWidth, + /*colorLeft*/ + false + ), sys2.newLine); + } + if (defaultValueDescription) { + text.push(...getPrettyOutput( + getDiagnosticText(Diagnostics.default_Colon), + defaultValueDescription, + rightAlignOfLeft, + leftAlignOfRight, + terminalWidth, + /*colorLeft*/ + false + ), sys2.newLine); + } + } + text.push(sys2.newLine); + } else { + text.push(colors.blue(name), sys2.newLine); + if (option.description) { + const description = getDiagnosticText(option.description); + text.push(description); + } + text.push(sys2.newLine); + if (showAdditionalInfoOutput(valueCandidates, option)) { + if (valueCandidates) { + text.push(`${valueCandidates.valueType} ${valueCandidates.possibleValues}`); + } + if (defaultValueDescription) { + if (valueCandidates) text.push(sys2.newLine); + const diagType = getDiagnosticText(Diagnostics.default_Colon); + text.push(`${diagType} ${defaultValueDescription}`); + } + text.push(sys2.newLine); + } + text.push(sys2.newLine); + } + return text; + function formatDefaultValue(defaultValue, type) { + return defaultValue !== void 0 && typeof type === "object" ? arrayFrom(type.entries()).filter(([, value]) => value === defaultValue).map(([name2]) => name2).join("/") : String(defaultValue); + } + function showAdditionalInfoOutput(valueCandidates2, option2) { + const ignoreValues = ["string"]; + const ignoredDescriptions = [void 0, "false", "n/a"]; + const defaultValueDescription2 = option2.defaultValueDescription; + if (option2.category === Diagnostics.Command_line_Options) return false; + if (contains(ignoreValues, valueCandidates2 == null ? void 0 : valueCandidates2.possibleValues) && contains(ignoredDescriptions, defaultValueDescription2)) { + return false; + } + return true; + } + function getPrettyOutput(left, right, rightAlignOfLeft2, leftAlignOfRight2, terminalWidth2, colorLeft) { + const res = []; + let isFirstLine = true; + let remainRight = right; + const rightCharacterNumber = terminalWidth2 - leftAlignOfRight2; + while (remainRight.length > 0) { + let curLeft = ""; + if (isFirstLine) { + curLeft = left.padStart(rightAlignOfLeft2); + curLeft = curLeft.padEnd(leftAlignOfRight2); + curLeft = colorLeft ? colors.blue(curLeft) : curLeft; + } else { + curLeft = "".padStart(leftAlignOfRight2); + } + const curRight = remainRight.substr(0, rightCharacterNumber); + remainRight = remainRight.slice(rightCharacterNumber); + res.push(`${curLeft}${curRight}`); + isFirstLine = false; + } + return res; + } + function getValueCandidate(option2) { + if (option2.type === "object") { + return void 0; + } + return { + valueType: getValueType(option2), + possibleValues: getPossibleValues(option2) + }; + function getValueType(option3) { + Debug.assert(option3.type !== "listOrElement"); + switch (option3.type) { + case "string": + case "number": + case "boolean": + return getDiagnosticText(Diagnostics.type_Colon); + case "list": + return getDiagnosticText(Diagnostics.one_or_more_Colon); + default: + return getDiagnosticText(Diagnostics.one_of_Colon); + } + } + function getPossibleValues(option3) { + let possibleValues; + switch (option3.type) { + case "string": + case "number": + case "boolean": + possibleValues = option3.type; + break; + case "list": + case "listOrElement": + possibleValues = getPossibleValues(option3.element); + break; + case "object": + possibleValues = ""; + break; + default: + const inverted = {}; + option3.type.forEach((value, name2) => { + var _a2; + if (!((_a2 = option3.deprecatedKeys) == null ? void 0 : _a2.has(name2))) { + (inverted[value] || (inverted[value] = [])).push(name2); + } + }); + return Object.entries(inverted).map(([, synonyms]) => synonyms.join("/")).join(", "); + } + return possibleValues; + } + } +} +function generateGroupOptionOutput(sys2, optionsList) { + let maxLength = 0; + for (const option of optionsList) { + const curLength = getDisplayNameTextOfOption(option).length; + maxLength = maxLength > curLength ? maxLength : curLength; + } + const rightAlignOfLeftPart = maxLength + 2; + const leftAlignOfRightPart = rightAlignOfLeftPart + 2; + let lines = []; + for (const option of optionsList) { + const tmp = generateOptionOutput(sys2, option, rightAlignOfLeftPart, leftAlignOfRightPart); + lines = [...lines, ...tmp]; + } + if (lines[lines.length - 2] !== sys2.newLine) { + lines.push(sys2.newLine); + } + return lines; +} +function generateSectionOptionsOutput(sys2, sectionName, options, subCategory, beforeOptionsDescription, afterOptionsDescription) { + let res = []; + res.push(createColors(sys2).bold(sectionName) + sys2.newLine + sys2.newLine); + if (beforeOptionsDescription) { + res.push(beforeOptionsDescription + sys2.newLine + sys2.newLine); + } + if (!subCategory) { + res = [...res, ...generateGroupOptionOutput(sys2, options)]; + if (afterOptionsDescription) { + res.push(afterOptionsDescription + sys2.newLine + sys2.newLine); + } + return res; + } + const categoryMap = /* @__PURE__ */ new Map(); + for (const option of options) { + if (!option.category) { + continue; + } + const curCategory = getDiagnosticText(option.category); + const optionsOfCurCategory = categoryMap.get(curCategory) ?? []; + optionsOfCurCategory.push(option); + categoryMap.set(curCategory, optionsOfCurCategory); + } + categoryMap.forEach((value, key) => { + res.push(`### ${key}${sys2.newLine}${sys2.newLine}`); + res = [...res, ...generateGroupOptionOutput(sys2, value)]; + }); + if (afterOptionsDescription) { + res.push(afterOptionsDescription + sys2.newLine + sys2.newLine); + } + return res; +} +function printEasyHelp(sys2, simpleOptions) { + const colors = createColors(sys2); + let output = [...getHeader(sys2, `${getDiagnosticText(Diagnostics.tsc_Colon_The_TypeScript_Compiler)} - ${getDiagnosticText(Diagnostics.Version_0, version)}`)]; + output.push(colors.bold(getDiagnosticText(Diagnostics.COMMON_COMMANDS)) + sys2.newLine + sys2.newLine); + example("tsc", Diagnostics.Compiles_the_current_project_tsconfig_json_in_the_working_directory); + example("tsc app.ts util.ts", Diagnostics.Ignoring_tsconfig_json_compiles_the_specified_files_with_default_compiler_options); + example("tsc -b", Diagnostics.Build_a_composite_project_in_the_working_directory); + example("tsc --init", Diagnostics.Creates_a_tsconfig_json_with_the_recommended_settings_in_the_working_directory); + example("tsc -p ./path/to/tsconfig.json", Diagnostics.Compiles_the_TypeScript_project_located_at_the_specified_path); + example("tsc --help --all", Diagnostics.An_expanded_version_of_this_information_showing_all_possible_compiler_options); + example(["tsc --noEmit", "tsc --target esnext"], Diagnostics.Compiles_the_current_project_with_additional_settings); + const cliCommands = simpleOptions.filter((opt) => opt.isCommandLineOnly || opt.category === Diagnostics.Command_line_Options); + const configOpts = simpleOptions.filter((opt) => !contains(cliCommands, opt)); + output = [ + ...output, + ...generateSectionOptionsOutput( + sys2, + getDiagnosticText(Diagnostics.COMMAND_LINE_FLAGS), + cliCommands, + /*subCategory*/ + false, + /*beforeOptionsDescription*/ + void 0, + /*afterOptionsDescription*/ + void 0 + ), + ...generateSectionOptionsOutput( + sys2, + getDiagnosticText(Diagnostics.COMMON_COMPILER_OPTIONS), + configOpts, + /*subCategory*/ + false, + /*beforeOptionsDescription*/ + void 0, + formatMessage(Diagnostics.You_can_learn_about_all_of_the_compiler_options_at_0, "https://aka.ms/tsc") + ) + ]; + for (const line of output) { + sys2.write(line); + } + function example(ex, desc) { + const examples = typeof ex === "string" ? [ex] : ex; + for (const example2 of examples) { + output.push(" " + colors.blue(example2) + sys2.newLine); + } + output.push(" " + getDiagnosticText(desc) + sys2.newLine + sys2.newLine); + } +} +function printAllHelp(sys2, compilerOptions, buildOptions, watchOptions) { + let output = [...getHeader(sys2, `${getDiagnosticText(Diagnostics.tsc_Colon_The_TypeScript_Compiler)} - ${getDiagnosticText(Diagnostics.Version_0, version)}`)]; + output = [...output, ...generateSectionOptionsOutput( + sys2, + getDiagnosticText(Diagnostics.ALL_COMPILER_OPTIONS), + compilerOptions, + /*subCategory*/ + true, + /*beforeOptionsDescription*/ + void 0, + formatMessage(Diagnostics.You_can_learn_about_all_of_the_compiler_options_at_0, "https://aka.ms/tsc") + )]; + output = [...output, ...generateSectionOptionsOutput( + sys2, + getDiagnosticText(Diagnostics.WATCH_OPTIONS), + watchOptions, + /*subCategory*/ + false, + getDiagnosticText(Diagnostics.Including_watch_w_will_start_watching_the_current_project_for_the_file_changes_Once_set_you_can_config_watch_mode_with_Colon) + )]; + output = [...output, ...generateSectionOptionsOutput( + sys2, + getDiagnosticText(Diagnostics.BUILD_OPTIONS), + filter(buildOptions, (option) => option !== tscBuildOption), + /*subCategory*/ + false, + formatMessage(Diagnostics.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, "https://aka.ms/tsc-composite-builds") + )]; + for (const line of output) { + sys2.write(line); + } +} +function printBuildHelp(sys2, buildOptions) { + let output = [...getHeader(sys2, `${getDiagnosticText(Diagnostics.tsc_Colon_The_TypeScript_Compiler)} - ${getDiagnosticText(Diagnostics.Version_0, version)}`)]; + output = [...output, ...generateSectionOptionsOutput( + sys2, + getDiagnosticText(Diagnostics.BUILD_OPTIONS), + filter(buildOptions, (option) => option !== tscBuildOption), + /*subCategory*/ + false, + formatMessage(Diagnostics.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, "https://aka.ms/tsc-composite-builds") + )]; + for (const line of output) { + sys2.write(line); + } +} +function getHeader(sys2, message) { + var _a; + const colors = createColors(sys2); + const header = []; + const terminalWidth = ((_a = sys2.getWidthOfTerminal) == null ? void 0 : _a.call(sys2)) ?? 0; + const tsIconLength = 5; + const tsIconFirstLine = colors.blueBackground("".padStart(tsIconLength)); + const tsIconSecondLine = colors.blueBackground(colors.brightWhite("TS ".padStart(tsIconLength))); + if (terminalWidth >= message.length + tsIconLength) { + const rightAlign = terminalWidth > 120 ? 120 : terminalWidth; + const leftAlign = rightAlign - tsIconLength; + header.push(message.padEnd(leftAlign) + tsIconFirstLine + sys2.newLine); + header.push("".padStart(leftAlign) + tsIconSecondLine + sys2.newLine); + } else { + header.push(message + sys2.newLine); + header.push(sys2.newLine); + } + return header; +} +function printHelp(sys2, commandLine) { + if (!commandLine.options.all) { + printEasyHelp(sys2, getOptionsForHelp(commandLine)); + } else { + printAllHelp(sys2, getOptionsForHelp(commandLine), optionsForBuild, optionsForWatch); + } +} +function executeCommandLineWorker(sys2, cb, commandLine) { + let reportDiagnostic = createDiagnosticReporter(sys2); + let configFileName; + if (commandLine.options.locale) { + validateLocaleAndSetLanguage(commandLine.options.locale, sys2, commandLine.errors); + } + if (commandLine.errors.length > 0) { + commandLine.errors.forEach(reportDiagnostic); + return sys2.exit(1 /* DiagnosticsPresent_OutputsSkipped */); + } + if (commandLine.options.init) { + writeConfigFile(sys2, reportDiagnostic, commandLine.options, commandLine.fileNames); + return sys2.exit(0 /* Success */); + } + if (commandLine.options.version) { + printVersion(sys2); + return sys2.exit(0 /* Success */); + } + if (commandLine.options.help || commandLine.options.all) { + printHelp(sys2, commandLine); + return sys2.exit(0 /* Success */); + } + if (commandLine.options.watch && commandLine.options.listFilesOnly) { + reportDiagnostic(createCompilerDiagnostic(Diagnostics.Options_0_and_1_cannot_be_combined, "watch", "listFilesOnly")); + return sys2.exit(1 /* DiagnosticsPresent_OutputsSkipped */); + } + if (commandLine.options.project) { + if (commandLine.fileNames.length !== 0) { + reportDiagnostic(createCompilerDiagnostic(Diagnostics.Option_project_cannot_be_mixed_with_source_files_on_a_command_line)); + return sys2.exit(1 /* DiagnosticsPresent_OutputsSkipped */); + } + const fileOrDirectory = normalizePath(commandLine.options.project); + if (!fileOrDirectory || sys2.directoryExists(fileOrDirectory)) { + configFileName = combinePaths(fileOrDirectory, "tsconfig.json"); + if (!sys2.fileExists(configFileName)) { + reportDiagnostic(createCompilerDiagnostic(Diagnostics.Cannot_find_a_tsconfig_json_file_at_the_specified_directory_Colon_0, commandLine.options.project)); + return sys2.exit(1 /* DiagnosticsPresent_OutputsSkipped */); + } + } else { + configFileName = fileOrDirectory; + if (!sys2.fileExists(configFileName)) { + reportDiagnostic(createCompilerDiagnostic(Diagnostics.The_specified_path_does_not_exist_Colon_0, commandLine.options.project)); + return sys2.exit(1 /* DiagnosticsPresent_OutputsSkipped */); + } + } + } else if (commandLine.fileNames.length === 0) { + const searchPath = normalizePath(sys2.getCurrentDirectory()); + configFileName = findConfigFile(searchPath, (fileName) => sys2.fileExists(fileName)); + } + if (commandLine.fileNames.length === 0 && !configFileName) { + if (commandLine.options.showConfig) { + reportDiagnostic(createCompilerDiagnostic(Diagnostics.Cannot_find_a_tsconfig_json_file_at_the_current_directory_Colon_0, normalizePath(sys2.getCurrentDirectory()))); + } else { + printVersion(sys2); + printHelp(sys2, commandLine); + } + return sys2.exit(1 /* DiagnosticsPresent_OutputsSkipped */); + } + const currentDirectory = sys2.getCurrentDirectory(); + const commandLineOptions = convertToOptionsWithAbsolutePaths( + commandLine.options, + (fileName) => getNormalizedAbsolutePath(fileName, currentDirectory) + ); + if (configFileName) { + const extendedConfigCache = /* @__PURE__ */ new Map(); + const configParseResult = parseConfigFileWithSystem(configFileName, commandLineOptions, extendedConfigCache, commandLine.watchOptions, sys2, reportDiagnostic); + if (commandLineOptions.showConfig) { + if (configParseResult.errors.length !== 0) { + reportDiagnostic = updateReportDiagnostic( + sys2, + reportDiagnostic, + configParseResult.options + ); + configParseResult.errors.forEach(reportDiagnostic); + return sys2.exit(1 /* DiagnosticsPresent_OutputsSkipped */); + } + sys2.write(JSON.stringify(convertToTSConfig(configParseResult, configFileName, sys2), null, 4) + sys2.newLine); + return sys2.exit(0 /* Success */); + } + reportDiagnostic = updateReportDiagnostic( + sys2, + reportDiagnostic, + configParseResult.options + ); + if (isWatchSet(configParseResult.options)) { + if (reportWatchModeWithoutSysSupport(sys2, reportDiagnostic)) return; + return createWatchOfConfigFile( + sys2, + cb, + reportDiagnostic, + configParseResult, + commandLineOptions, + commandLine.watchOptions, + extendedConfigCache + ); + } else if (isIncrementalCompilation(configParseResult.options)) { + performIncrementalCompilation2( + sys2, + cb, + reportDiagnostic, + configParseResult + ); + } else { + performCompilation( + sys2, + cb, + reportDiagnostic, + configParseResult + ); + } + } else { + if (commandLineOptions.showConfig) { + sys2.write(JSON.stringify(convertToTSConfig(commandLine, combinePaths(currentDirectory, "tsconfig.json"), sys2), null, 4) + sys2.newLine); + return sys2.exit(0 /* Success */); + } + reportDiagnostic = updateReportDiagnostic( + sys2, + reportDiagnostic, + commandLineOptions + ); + if (isWatchSet(commandLineOptions)) { + if (reportWatchModeWithoutSysSupport(sys2, reportDiagnostic)) return; + return createWatchOfFilesAndCompilerOptions( + sys2, + cb, + reportDiagnostic, + commandLine.fileNames, + commandLineOptions, + commandLine.watchOptions + ); + } else if (isIncrementalCompilation(commandLineOptions)) { + performIncrementalCompilation2( + sys2, + cb, + reportDiagnostic, + { ...commandLine, options: commandLineOptions } + ); + } else { + performCompilation( + sys2, + cb, + reportDiagnostic, + { ...commandLine, options: commandLineOptions } + ); + } + } +} +function isBuildCommand(commandLineArgs) { + if (commandLineArgs.length > 0 && commandLineArgs[0].charCodeAt(0) === 45 /* minus */) { + const firstOption = commandLineArgs[0].slice(commandLineArgs[0].charCodeAt(1) === 45 /* minus */ ? 2 : 1).toLowerCase(); + return firstOption === tscBuildOption.name || firstOption === tscBuildOption.shortName; + } + return false; +} +function executeCommandLine(system, cb, commandLineArgs) { + if (isBuildCommand(commandLineArgs)) { + const { buildOptions, watchOptions, projects, errors } = parseBuildCommand(commandLineArgs); + if (buildOptions.generateCpuProfile && system.enableCPUProfiler) { + system.enableCPUProfiler(buildOptions.generateCpuProfile, () => performBuild( + system, + cb, + buildOptions, + watchOptions, + projects, + errors + )); + } else { + return performBuild( + system, + cb, + buildOptions, + watchOptions, + projects, + errors + ); + } + } + const commandLine = parseCommandLine(commandLineArgs, (path) => system.readFile(path)); + if (commandLine.options.generateCpuProfile && system.enableCPUProfiler) { + system.enableCPUProfiler(commandLine.options.generateCpuProfile, () => executeCommandLineWorker( + system, + cb, + commandLine + )); + } else { + return executeCommandLineWorker(system, cb, commandLine); + } +} +function reportWatchModeWithoutSysSupport(sys2, reportDiagnostic) { + if (!sys2.watchFile || !sys2.watchDirectory) { + reportDiagnostic(createCompilerDiagnostic(Diagnostics.The_current_host_does_not_support_the_0_option, "--watch")); + sys2.exit(1 /* DiagnosticsPresent_OutputsSkipped */); + return true; + } + return false; +} +var defaultJSDocParsingMode = 2 /* ParseForTypeErrors */; +function performBuild(sys2, cb, buildOptions, watchOptions, projects, errors) { + const reportDiagnostic = updateReportDiagnostic( + sys2, + createDiagnosticReporter(sys2), + buildOptions + ); + if (buildOptions.locale) { + validateLocaleAndSetLanguage(buildOptions.locale, sys2, errors); + } + if (errors.length > 0) { + errors.forEach(reportDiagnostic); + return sys2.exit(1 /* DiagnosticsPresent_OutputsSkipped */); + } + if (buildOptions.help) { + printVersion(sys2); + printBuildHelp(sys2, buildOpts); + return sys2.exit(0 /* Success */); + } + if (projects.length === 0) { + printVersion(sys2); + printBuildHelp(sys2, buildOpts); + return sys2.exit(0 /* Success */); + } + if (!sys2.getModifiedTime || !sys2.setModifiedTime || buildOptions.clean && !sys2.deleteFile) { + reportDiagnostic(createCompilerDiagnostic(Diagnostics.The_current_host_does_not_support_the_0_option, "--build")); + return sys2.exit(1 /* DiagnosticsPresent_OutputsSkipped */); + } + if (buildOptions.watch) { + if (reportWatchModeWithoutSysSupport(sys2, reportDiagnostic)) return; + const buildHost2 = createSolutionBuilderWithWatchHost( + sys2, + /*createProgram*/ + void 0, + reportDiagnostic, + createBuilderStatusReporter(sys2, shouldBePretty(sys2, buildOptions)), + createWatchStatusReporter2(sys2, buildOptions) + ); + buildHost2.jsDocParsingMode = defaultJSDocParsingMode; + const solutionPerformance2 = enableSolutionPerformance(sys2, buildOptions); + updateSolutionBuilderHost(sys2, cb, buildHost2, solutionPerformance2); + const onWatchStatusChange = buildHost2.onWatchStatusChange; + let reportBuildStatistics = false; + buildHost2.onWatchStatusChange = (d, newLine, options, errorCount) => { + onWatchStatusChange == null ? void 0 : onWatchStatusChange(d, newLine, options, errorCount); + if (reportBuildStatistics && (d.code === Diagnostics.Found_0_errors_Watching_for_file_changes.code || d.code === Diagnostics.Found_1_error_Watching_for_file_changes.code)) { + reportSolutionBuilderTimes(builder2, solutionPerformance2); + } + }; + const builder2 = createSolutionBuilderWithWatch(buildHost2, projects, buildOptions, watchOptions); + builder2.build(); + reportSolutionBuilderTimes(builder2, solutionPerformance2); + reportBuildStatistics = true; + return builder2; + } + const buildHost = createSolutionBuilderHost( + sys2, + /*createProgram*/ + void 0, + reportDiagnostic, + createBuilderStatusReporter(sys2, shouldBePretty(sys2, buildOptions)), + createReportErrorSummary(sys2, buildOptions) + ); + buildHost.jsDocParsingMode = defaultJSDocParsingMode; + const solutionPerformance = enableSolutionPerformance(sys2, buildOptions); + updateSolutionBuilderHost(sys2, cb, buildHost, solutionPerformance); + const builder = createSolutionBuilder(buildHost, projects, buildOptions); + const exitStatus = buildOptions.clean ? builder.clean() : builder.build(); + reportSolutionBuilderTimes(builder, solutionPerformance); + dumpTracingLegend(); + return sys2.exit(exitStatus); +} +function createReportErrorSummary(sys2, options) { + return shouldBePretty(sys2, options) ? (errorCount, filesInError) => sys2.write(getErrorSummaryText(errorCount, filesInError, sys2.newLine, sys2)) : void 0; +} +function performCompilation(sys2, cb, reportDiagnostic, config) { + const { fileNames, options, projectReferences } = config; + const host = createCompilerHostWorker( + options, + /*setParentNodes*/ + void 0, + sys2 + ); + host.jsDocParsingMode = defaultJSDocParsingMode; + const currentDirectory = host.getCurrentDirectory(); + const getCanonicalFileName = createGetCanonicalFileName(host.useCaseSensitiveFileNames()); + changeCompilerHostLikeToUseCache(host, (fileName) => toPath(fileName, currentDirectory, getCanonicalFileName)); + enableStatisticsAndTracing( + sys2, + options, + /*isBuildMode*/ + false + ); + const programOptions = { + rootNames: fileNames, + options, + projectReferences, + host, + configFileParsingDiagnostics: getConfigFileParsingDiagnostics(config) + }; + const program = createProgram(programOptions); + const exitStatus = emitFilesAndReportErrorsAndGetExitStatus( + program, + reportDiagnostic, + (s) => sys2.write(s + sys2.newLine), + createReportErrorSummary(sys2, options) + ); + reportStatistics( + sys2, + program, + /*solutionPerformance*/ + void 0 + ); + cb(program); + return sys2.exit(exitStatus); +} +function performIncrementalCompilation2(sys2, cb, reportDiagnostic, config) { + const { options, fileNames, projectReferences } = config; + enableStatisticsAndTracing( + sys2, + options, + /*isBuildMode*/ + false + ); + const host = createIncrementalCompilerHost(options, sys2); + host.jsDocParsingMode = defaultJSDocParsingMode; + const exitStatus = performIncrementalCompilation({ + host, + system: sys2, + rootNames: fileNames, + options, + configFileParsingDiagnostics: getConfigFileParsingDiagnostics(config), + projectReferences, + reportDiagnostic, + reportErrorSummary: createReportErrorSummary(sys2, options), + afterProgramEmitAndDiagnostics: (builderProgram) => { + reportStatistics( + sys2, + builderProgram.getProgram(), + /*solutionPerformance*/ + void 0 + ); + cb(builderProgram); + } + }); + return sys2.exit(exitStatus); +} +function updateSolutionBuilderHost(sys2, cb, buildHost, solutionPerformance) { + updateCreateProgram( + sys2, + buildHost, + /*isBuildMode*/ + true + ); + buildHost.afterProgramEmitAndDiagnostics = (program) => { + reportStatistics(sys2, program.getProgram(), solutionPerformance); + cb(program); + }; +} +function updateCreateProgram(sys2, host, isBuildMode) { + const compileUsingBuilder = host.createProgram; + host.createProgram = (rootNames, options, host2, oldProgram, configFileParsingDiagnostics, projectReferences) => { + Debug.assert(rootNames !== void 0 || options === void 0 && !!oldProgram); + if (options !== void 0) { + enableStatisticsAndTracing(sys2, options, isBuildMode); + } + return compileUsingBuilder(rootNames, options, host2, oldProgram, configFileParsingDiagnostics, projectReferences); + }; +} +function updateWatchCompilationHost(sys2, cb, watchCompilerHost) { + watchCompilerHost.jsDocParsingMode = defaultJSDocParsingMode; + updateCreateProgram( + sys2, + watchCompilerHost, + /*isBuildMode*/ + false + ); + const emitFilesUsingBuilder = watchCompilerHost.afterProgramCreate; + watchCompilerHost.afterProgramCreate = (builderProgram) => { + emitFilesUsingBuilder(builderProgram); + reportStatistics( + sys2, + builderProgram.getProgram(), + /*solutionPerformance*/ + void 0 + ); + cb(builderProgram); + }; +} +function createWatchStatusReporter2(sys2, options) { + return createWatchStatusReporter(sys2, shouldBePretty(sys2, options)); +} +function createWatchOfConfigFile(system, cb, reportDiagnostic, configParseResult, optionsToExtend, watchOptionsToExtend, extendedConfigCache) { + const watchCompilerHost = createWatchCompilerHostOfConfigFile({ + configFileName: configParseResult.options.configFilePath, + optionsToExtend, + watchOptionsToExtend, + system, + reportDiagnostic, + reportWatchStatus: createWatchStatusReporter2(system, configParseResult.options) + }); + updateWatchCompilationHost(system, cb, watchCompilerHost); + watchCompilerHost.configFileParsingResult = configParseResult; + watchCompilerHost.extendedConfigCache = extendedConfigCache; + return createWatchProgram(watchCompilerHost); +} +function createWatchOfFilesAndCompilerOptions(system, cb, reportDiagnostic, rootFiles, options, watchOptions) { + const watchCompilerHost = createWatchCompilerHostOfFilesAndCompilerOptions({ + rootFiles, + options, + watchOptions, + system, + reportDiagnostic, + reportWatchStatus: createWatchStatusReporter2(system, options) + }); + updateWatchCompilationHost(system, cb, watchCompilerHost); + return createWatchProgram(watchCompilerHost); +} +function enableSolutionPerformance(system, options) { + if (system === sys && options.extendedDiagnostics) { + enable(); + return createSolutionPerfomrance(); + } +} +function createSolutionPerfomrance() { + let statistics; + return { + addAggregateStatistic, + forEachAggregateStatistics: forEachAggreateStatistics, + clear: clear2 + }; + function addAggregateStatistic(s) { + const existing = statistics == null ? void 0 : statistics.get(s.name); + if (existing) { + if (existing.type === 2 /* memory */) existing.value = Math.max(existing.value, s.value); + else existing.value += s.value; + } else { + (statistics ?? (statistics = /* @__PURE__ */ new Map())).set(s.name, s); + } + } + function forEachAggreateStatistics(cb) { + statistics == null ? void 0 : statistics.forEach(cb); + } + function clear2() { + statistics = void 0; + } +} +function reportSolutionBuilderTimes(builder, solutionPerformance) { + if (!solutionPerformance) return; + if (!isEnabled()) { + sys.write(Diagnostics.Performance_timings_for_diagnostics_or_extendedDiagnostics_are_not_available_in_this_session_A_native_implementation_of_the_Web_Performance_API_could_not_be_found.message + "\n"); + return; + } + const statistics = []; + statistics.push( + { name: "Projects in scope", value: getBuildOrderFromAnyBuildOrder(builder.getBuildOrder()).length, type: 1 /* count */ } + ); + reportSolutionBuilderCountStatistic("SolutionBuilder::Projects built"); + reportSolutionBuilderCountStatistic("SolutionBuilder::Timestamps only updates"); + reportSolutionBuilderCountStatistic("SolutionBuilder::Bundles updated"); + solutionPerformance.forEachAggregateStatistics((s) => { + s.name = `Aggregate ${s.name}`; + statistics.push(s); + }); + forEachMeasure((name, duration) => { + if (isSolutionMarkOrMeasure(name)) statistics.push({ name: `${getNameFromSolutionBuilderMarkOrMeasure(name)} time`, value: duration, type: 0 /* time */ }); + }); + disable(); + enable(); + solutionPerformance.clear(); + reportAllStatistics(sys, statistics); + function reportSolutionBuilderCountStatistic(name) { + const value = getCount(name); + if (value) { + statistics.push({ name: getNameFromSolutionBuilderMarkOrMeasure(name), value, type: 1 /* count */ }); + } + } + function getNameFromSolutionBuilderMarkOrMeasure(name) { + return name.replace("SolutionBuilder::", ""); + } +} +function canReportDiagnostics(system, compilerOptions) { + return system === sys && (compilerOptions.diagnostics || compilerOptions.extendedDiagnostics); +} +function canTrace(system, compilerOptions) { + return system === sys && compilerOptions.generateTrace; +} +function enableStatisticsAndTracing(system, compilerOptions, isBuildMode) { + if (canReportDiagnostics(system, compilerOptions)) { + enable(system); + } + if (canTrace(system, compilerOptions)) { + startTracing(isBuildMode ? "build" : "project", compilerOptions.generateTrace, compilerOptions.configFilePath); + } +} +function isSolutionMarkOrMeasure(name) { + return startsWith(name, "SolutionBuilder::"); +} +function reportStatistics(sys2, program, solutionPerformance) { + var _a; + const compilerOptions = program.getCompilerOptions(); + if (canTrace(sys2, compilerOptions)) { + (_a = tracing) == null ? void 0 : _a.stopTracing(); + } + let statistics; + if (canReportDiagnostics(sys2, compilerOptions)) { + statistics = []; + const memoryUsed = sys2.getMemoryUsage ? sys2.getMemoryUsage() : -1; + reportCountStatistic("Files", program.getSourceFiles().length); + const lineCounts = countLines(program); + if (compilerOptions.extendedDiagnostics) { + for (const [key, value] of lineCounts.entries()) { + reportCountStatistic("Lines of " + key, value); + } + } else { + reportCountStatistic("Lines", reduceLeftIterator(lineCounts.values(), (sum, count) => sum + count, 0)); + } + reportCountStatistic("Identifiers", program.getIdentifierCount()); + reportCountStatistic("Symbols", program.getSymbolCount()); + reportCountStatistic("Types", program.getTypeCount()); + reportCountStatistic("Instantiations", program.getInstantiationCount()); + if (memoryUsed >= 0) { + reportStatisticalValue( + { name: "Memory used", value: memoryUsed, type: 2 /* memory */ }, + /*aggregate*/ + true + ); + } + const isPerformanceEnabled = isEnabled(); + const programTime = isPerformanceEnabled ? getDuration("Program") : 0; + const bindTime = isPerformanceEnabled ? getDuration("Bind") : 0; + const checkTime = isPerformanceEnabled ? getDuration("Check") : 0; + const emitTime = isPerformanceEnabled ? getDuration("Emit") : 0; + if (compilerOptions.extendedDiagnostics) { + const caches = program.getRelationCacheSizes(); + reportCountStatistic("Assignability cache size", caches.assignable); + reportCountStatistic("Identity cache size", caches.identity); + reportCountStatistic("Subtype cache size", caches.subtype); + reportCountStatistic("Strict subtype cache size", caches.strictSubtype); + if (isPerformanceEnabled) { + forEachMeasure((name, duration) => { + if (!isSolutionMarkOrMeasure(name)) reportTimeStatistic( + `${name} time`, + duration, + /*aggregate*/ + true + ); + }); + } + } else if (isPerformanceEnabled) { + reportTimeStatistic( + "I/O read", + getDuration("I/O Read"), + /*aggregate*/ + true + ); + reportTimeStatistic( + "I/O write", + getDuration("I/O Write"), + /*aggregate*/ + true + ); + reportTimeStatistic( + "Parse time", + programTime, + /*aggregate*/ + true + ); + reportTimeStatistic( + "Bind time", + bindTime, + /*aggregate*/ + true + ); + reportTimeStatistic( + "Check time", + checkTime, + /*aggregate*/ + true + ); + reportTimeStatistic( + "Emit time", + emitTime, + /*aggregate*/ + true + ); + } + if (isPerformanceEnabled) { + reportTimeStatistic( + "Total time", + programTime + bindTime + checkTime + emitTime, + /*aggregate*/ + false + ); + } + reportAllStatistics(sys2, statistics); + if (!isPerformanceEnabled) { + sys2.write(Diagnostics.Performance_timings_for_diagnostics_or_extendedDiagnostics_are_not_available_in_this_session_A_native_implementation_of_the_Web_Performance_API_could_not_be_found.message + "\n"); + } else { + if (solutionPerformance) { + forEachMeasure((name) => { + if (!isSolutionMarkOrMeasure(name)) clearMeasures(name); + }); + forEachMark((name) => { + if (!isSolutionMarkOrMeasure(name)) clearMarks(name); + }); + } else { + disable(); + } + } + } + function reportStatisticalValue(s, aggregate) { + statistics.push(s); + if (aggregate) solutionPerformance == null ? void 0 : solutionPerformance.addAggregateStatistic(s); + } + function reportCountStatistic(name, count) { + reportStatisticalValue( + { name, value: count, type: 1 /* count */ }, + /*aggregate*/ + true + ); + } + function reportTimeStatistic(name, time, aggregate) { + reportStatisticalValue({ name, value: time, type: 0 /* time */ }, aggregate); + } +} +function reportAllStatistics(sys2, statistics) { + let nameSize = 0; + let valueSize = 0; + for (const s of statistics) { + if (s.name.length > nameSize) { + nameSize = s.name.length; + } + const value = statisticValue(s); + if (value.length > valueSize) { + valueSize = value.length; + } + } + for (const s of statistics) { + sys2.write(`${s.name}:`.padEnd(nameSize + 2) + statisticValue(s).toString().padStart(valueSize) + sys2.newLine); + } +} +function statisticValue(s) { + switch (s.type) { + case 1 /* count */: + return "" + s.value; + case 0 /* time */: + return (s.value / 1e3).toFixed(2) + "s"; + case 2 /* memory */: + return Math.round(s.value / 1e3) + "K"; + default: + Debug.assertNever(s.type); + } +} +function writeConfigFile(sys2, reportDiagnostic, options, fileNames) { + const currentDirectory = sys2.getCurrentDirectory(); + const file = normalizePath(combinePaths(currentDirectory, "tsconfig.json")); + if (sys2.fileExists(file)) { + reportDiagnostic(createCompilerDiagnostic(Diagnostics.A_tsconfig_json_file_is_already_defined_at_Colon_0, file)); + } else { + sys2.writeFile(file, generateTSConfig(options, fileNames, sys2.newLine)); + const output = [sys2.newLine, ...getHeader(sys2, "Created a new tsconfig.json with:")]; + output.push(getCompilerOptionsDiffValue(options, sys2.newLine) + sys2.newLine + sys2.newLine); + output.push(`You can learn more at https://aka.ms/tsconfig` + sys2.newLine); + for (const line of output) { + sys2.write(line); + } + } + return; +} + +// src/compiler/expressionToTypeNode.ts +function syntacticResult(type, reportFallback = true) { + return { type, reportFallback }; +} +var notImplemented2 = syntacticResult( + /*type*/ + void 0, + /*reportFallback*/ + false +); +var alreadyReported = syntacticResult( + /*type*/ + void 0, + /*reportFallback*/ + false +); +var failed = syntacticResult( + /*type*/ + void 0, + /*reportFallback*/ + true +); +function createSyntacticTypeNodeBuilder(options, resolver) { + const strictNullChecks = getStrictOptionValue(options, "strictNullChecks"); + return { + serializeTypeOfDeclaration, + serializeReturnTypeForSignature, + serializeTypeOfExpression, + serializeTypeOfAccessor, + tryReuseExistingTypeNode(context, existing) { + if (!resolver.canReuseTypeNode(context, existing)) { + return void 0; + } + return tryReuseExistingTypeNode(context, existing); + } + }; + function reuseNode(context, node, range = node) { + return node === void 0 ? void 0 : resolver.markNodeReuse(context, node.flags & 16 /* Synthesized */ ? node : factory.cloneNode(node), range ?? node); + } + function tryReuseExistingTypeNode(context, existing) { + const { finalizeBoundary, startRecoveryScope, hadError, markError } = resolver.createRecoveryBoundary(context); + const transformed = visitNode(existing, visitExistingNodeTreeSymbols, isTypeNode); + if (!finalizeBoundary()) { + return void 0; + } + context.approximateLength += existing.end - existing.pos; + return transformed; + function visitExistingNodeTreeSymbols(node) { + if (hadError()) return node; + const recover = startRecoveryScope(); + const onExitNewScope = isNewScopeNode(node) ? resolver.enterNewScope(context, node) : void 0; + const result = visitExistingNodeTreeSymbolsWorker(node); + onExitNewScope == null ? void 0 : onExitNewScope(); + if (hadError()) { + if (isTypeNode(node) && !isTypePredicateNode(node)) { + recover(); + return resolver.serializeExistingTypeNode(context, node); + } + return node; + } + return result ? resolver.markNodeReuse(context, result, node) : void 0; + } + function tryVisitSimpleTypeNode(node) { + const innerNode = skipTypeParentheses(node); + switch (innerNode.kind) { + case 183 /* TypeReference */: + return tryVisitTypeReference(innerNode); + case 186 /* TypeQuery */: + return tryVisitTypeQuery(innerNode); + case 199 /* IndexedAccessType */: + return tryVisitIndexedAccess(innerNode); + case 198 /* TypeOperator */: + const typeOperatorNode = innerNode; + if (typeOperatorNode.operator === 143 /* KeyOfKeyword */) { + return tryVisitKeyOf(typeOperatorNode); + } + } + return visitNode(node, visitExistingNodeTreeSymbols, isTypeNode); + } + function tryVisitIndexedAccess(node) { + const resultObjectType = tryVisitSimpleTypeNode(node.objectType); + if (resultObjectType === void 0) { + return void 0; + } + return factory.updateIndexedAccessTypeNode(node, resultObjectType, visitNode(node.indexType, visitExistingNodeTreeSymbols, isTypeNode)); + } + function tryVisitKeyOf(node) { + Debug.assertEqual(node.operator, 143 /* KeyOfKeyword */); + const type = tryVisitSimpleTypeNode(node.type); + if (type === void 0) { + return void 0; + } + return factory.updateTypeOperatorNode(node, type); + } + function tryVisitTypeQuery(node) { + const { introducesError, node: exprName } = resolver.trackExistingEntityName(context, node.exprName); + if (!introducesError) { + return factory.updateTypeQueryNode( + node, + exprName, + visitNodes2(node.typeArguments, visitExistingNodeTreeSymbols, isTypeNode) + ); + } + const serializedName = resolver.serializeTypeName( + context, + node.exprName, + /*isTypeOf*/ + true + ); + if (serializedName) { + return resolver.markNodeReuse(context, serializedName, node.exprName); + } + } + function tryVisitTypeReference(node) { + if (resolver.canReuseTypeNode(context, node)) { + const { introducesError, node: newName } = resolver.trackExistingEntityName(context, node.typeName); + const typeArguments = visitNodes2(node.typeArguments, visitExistingNodeTreeSymbols, isTypeNode); + if (!introducesError) { + const updated = factory.updateTypeReferenceNode( + node, + newName, + typeArguments + ); + return resolver.markNodeReuse(context, updated, node); + } else { + const serializedName = resolver.serializeTypeName( + context, + node.typeName, + /*isTypeOf*/ + false, + typeArguments + ); + if (serializedName) { + return resolver.markNodeReuse(context, serializedName, node.typeName); + } + } + } + } + function visitExistingNodeTreeSymbolsWorker(node) { + var _a; + if (isJSDocTypeExpression(node)) { + return visitNode(node.type, visitExistingNodeTreeSymbols, isTypeNode); + } + if (isJSDocAllType(node) || node.kind === 319 /* JSDocNamepathType */) { + return factory.createKeywordTypeNode(133 /* AnyKeyword */); + } + if (isJSDocUnknownType(node)) { + return factory.createKeywordTypeNode(159 /* UnknownKeyword */); + } + if (isJSDocNullableType(node)) { + return factory.createUnionTypeNode([visitNode(node.type, visitExistingNodeTreeSymbols, isTypeNode), factory.createLiteralTypeNode(factory.createNull())]); + } + if (isJSDocOptionalType(node)) { + return factory.createUnionTypeNode([visitNode(node.type, visitExistingNodeTreeSymbols, isTypeNode), factory.createKeywordTypeNode(157 /* UndefinedKeyword */)]); + } + if (isJSDocNonNullableType(node)) { + return visitNode(node.type, visitExistingNodeTreeSymbols); + } + if (isJSDocVariadicType(node)) { + return factory.createArrayTypeNode(visitNode(node.type, visitExistingNodeTreeSymbols, isTypeNode)); + } + if (isJSDocTypeLiteral(node)) { + return factory.createTypeLiteralNode(map(node.jsDocPropertyTags, (t) => { + const name = visitNode(isIdentifier(t.name) ? t.name : t.name.right, visitExistingNodeTreeSymbols, isIdentifier); + const overrideTypeNode = resolver.getJsDocPropertyOverride(context, node, t); + return factory.createPropertySignature( + /*modifiers*/ + void 0, + name, + t.isBracketed || t.typeExpression && isJSDocOptionalType(t.typeExpression.type) ? factory.createToken(58 /* QuestionToken */) : void 0, + overrideTypeNode || t.typeExpression && visitNode(t.typeExpression.type, visitExistingNodeTreeSymbols, isTypeNode) || factory.createKeywordTypeNode(133 /* AnyKeyword */) + ); + })); + } + if (isTypeReferenceNode(node) && isIdentifier(node.typeName) && node.typeName.escapedText === "") { + return setOriginalNode(factory.createKeywordTypeNode(133 /* AnyKeyword */), node); + } + if ((isExpressionWithTypeArguments(node) || isTypeReferenceNode(node)) && isJSDocIndexSignature(node)) { + return factory.createTypeLiteralNode([factory.createIndexSignature( + /*modifiers*/ + void 0, + [factory.createParameterDeclaration( + /*modifiers*/ + void 0, + /*dotDotDotToken*/ + void 0, + "x", + /*questionToken*/ + void 0, + visitNode(node.typeArguments[0], visitExistingNodeTreeSymbols, isTypeNode) + )], + visitNode(node.typeArguments[1], visitExistingNodeTreeSymbols, isTypeNode) + )]); + } + if (isJSDocFunctionType(node)) { + if (isJSDocConstructSignature(node)) { + let newTypeNode; + return factory.createConstructorTypeNode( + /*modifiers*/ + void 0, + visitNodes2(node.typeParameters, visitExistingNodeTreeSymbols, isTypeParameterDeclaration), + mapDefined(node.parameters, (p, i) => p.name && isIdentifier(p.name) && p.name.escapedText === "new" ? (newTypeNode = p.type, void 0) : factory.createParameterDeclaration( + /*modifiers*/ + void 0, + getEffectiveDotDotDotForParameter(p), + resolver.markNodeReuse(context, factory.createIdentifier(getNameForJSDocFunctionParameter(p, i)), p), + factory.cloneNode(p.questionToken), + visitNode(p.type, visitExistingNodeTreeSymbols, isTypeNode), + /*initializer*/ + void 0 + )), + visitNode(newTypeNode || node.type, visitExistingNodeTreeSymbols, isTypeNode) || factory.createKeywordTypeNode(133 /* AnyKeyword */) + ); + } else { + return factory.createFunctionTypeNode( + visitNodes2(node.typeParameters, visitExistingNodeTreeSymbols, isTypeParameterDeclaration), + map(node.parameters, (p, i) => factory.createParameterDeclaration( + /*modifiers*/ + void 0, + getEffectiveDotDotDotForParameter(p), + resolver.markNodeReuse(context, factory.createIdentifier(getNameForJSDocFunctionParameter(p, i)), p), + factory.cloneNode(p.questionToken), + visitNode(p.type, visitExistingNodeTreeSymbols, isTypeNode), + /*initializer*/ + void 0 + )), + visitNode(node.type, visitExistingNodeTreeSymbols, isTypeNode) || factory.createKeywordTypeNode(133 /* AnyKeyword */) + ); + } + } + if (isThisTypeNode(node)) { + if (resolver.canReuseTypeNode(context, node)) { + return node; + } + markError(); + return node; + } + if (isTypeParameterDeclaration(node)) { + const { node: newName } = resolver.trackExistingEntityName(context, node.name); + return factory.updateTypeParameterDeclaration( + node, + visitNodes2(node.modifiers, visitExistingNodeTreeSymbols, isModifier), + // resolver.markNodeReuse(context, typeParameterToName(getDeclaredTypeOfSymbol(getSymbolOfDeclaration(node)), context), node), + newName, + visitNode(node.constraint, visitExistingNodeTreeSymbols, isTypeNode), + visitNode(node.default, visitExistingNodeTreeSymbols, isTypeNode) + ); + } + if (isIndexedAccessTypeNode(node)) { + const result = tryVisitIndexedAccess(node); + if (!result) { + markError(); + return node; + } + return result; + } + if (isTypeReferenceNode(node)) { + const result = tryVisitTypeReference(node); + if (result) { + return result; + } + markError(); + return node; + } + if (isLiteralImportTypeNode(node)) { + if (((_a = node.attributes) == null ? void 0 : _a.token) === 132 /* AssertKeyword */) { + markError(); + return node; + } + if (!resolver.canReuseTypeNode(context, node)) { + return resolver.serializeExistingTypeNode(context, node); + } + return factory.updateImportTypeNode( + node, + factory.updateLiteralTypeNode(node.argument, rewriteModuleSpecifier2(node, node.argument.literal)), + visitNode(node.attributes, visitExistingNodeTreeSymbols, isImportAttributes), + visitNode(node.qualifier, visitExistingNodeTreeSymbols, isEntityName), + visitNodes2(node.typeArguments, visitExistingNodeTreeSymbols, isTypeNode), + node.isTypeOf + ); + } + if (isNamedDeclaration(node) && node.name.kind === 167 /* ComputedPropertyName */ && !resolver.hasLateBindableName(node)) { + if (!hasDynamicName(node)) { + return visitEachChild2(node, visitExistingNodeTreeSymbols); + } + if (resolver.shouldRemoveDeclaration(context, node)) { + return void 0; + } + } + if (isFunctionLike(node) && !node.type || isPropertyDeclaration(node) && !node.type && !node.initializer || isPropertySignature(node) && !node.type && !node.initializer || isParameter(node) && !node.type && !node.initializer) { + let visited = visitEachChild2(node, visitExistingNodeTreeSymbols); + if (visited === node) { + visited = resolver.markNodeReuse(context, factory.cloneNode(node), node); + } + visited.type = factory.createKeywordTypeNode(133 /* AnyKeyword */); + if (isParameter(node)) { + visited.modifiers = void 0; + } + return visited; + } + if (isTypeQueryNode(node)) { + const result = tryVisitTypeQuery(node); + if (!result) { + markError(); + return node; + } + return result; + } + if (isComputedPropertyName(node) && isEntityNameExpression(node.expression)) { + const { node: result, introducesError } = resolver.trackExistingEntityName(context, node.expression); + if (!introducesError) { + return factory.updateComputedPropertyName(node, result); + } else { + const computedPropertyNameType = resolver.serializeTypeOfExpression(context, node.expression); + let literal; + if (isLiteralTypeNode(computedPropertyNameType)) { + literal = computedPropertyNameType.literal; + } else { + const evaluated = resolver.evaluateEntityNameExpression(node.expression); + const literalNode = typeof evaluated.value === "string" ? factory.createStringLiteral( + evaluated.value, + /*isSingleQuote*/ + void 0 + ) : typeof evaluated.value === "number" ? factory.createNumericLiteral( + evaluated.value, + /*numericLiteralFlags*/ + 0 + ) : void 0; + if (!literalNode) { + if (isImportTypeNode(computedPropertyNameType)) { + resolver.trackComputedName(context, node.expression); + } + return node; + } + literal = literalNode; + } + if (literal.kind === 11 /* StringLiteral */ && isIdentifierText(literal.text, getEmitScriptTarget(options))) { + return factory.createIdentifier(literal.text); + } + if (literal.kind === 9 /* NumericLiteral */ && !literal.text.startsWith("-")) { + return literal; + } + return factory.updateComputedPropertyName(node, literal); + } + } + if (isTypePredicateNode(node)) { + let parameterName; + if (isIdentifier(node.parameterName)) { + const { node: result, introducesError } = resolver.trackExistingEntityName(context, node.parameterName); + if (introducesError) markError(); + parameterName = result; + } else { + parameterName = factory.cloneNode(node.parameterName); + } + return factory.updateTypePredicateNode(node, factory.cloneNode(node.assertsModifier), parameterName, visitNode(node.type, visitExistingNodeTreeSymbols, isTypeNode)); + } + if (isTupleTypeNode(node) || isTypeLiteralNode(node) || isMappedTypeNode(node)) { + const visited = visitEachChild2(node, visitExistingNodeTreeSymbols); + const clone = resolver.markNodeReuse(context, visited === node ? factory.cloneNode(node) : visited, node); + const flags = getEmitFlags(clone); + setEmitFlags(clone, flags | (context.flags & 1024 /* MultilineObjectLiterals */ && isTypeLiteralNode(node) ? 0 : 1 /* SingleLine */)); + return clone; + } + if (isStringLiteral(node) && !!(context.flags & 268435456 /* UseSingleQuotesForStringLiteralType */) && !node.singleQuote) { + const clone = factory.cloneNode(node); + clone.singleQuote = true; + return clone; + } + if (isConditionalTypeNode(node)) { + const checkType = visitNode(node.checkType, visitExistingNodeTreeSymbols, isTypeNode); + const disposeScope = resolver.enterNewScope(context, node); + const extendType = visitNode(node.extendsType, visitExistingNodeTreeSymbols, isTypeNode); + const trueType = visitNode(node.trueType, visitExistingNodeTreeSymbols, isTypeNode); + disposeScope(); + const falseType = visitNode(node.falseType, visitExistingNodeTreeSymbols, isTypeNode); + return factory.updateConditionalTypeNode( + node, + checkType, + extendType, + trueType, + falseType + ); + } + if (isTypeOperatorNode(node)) { + if (node.operator === 158 /* UniqueKeyword */ && node.type.kind === 155 /* SymbolKeyword */) { + if (!resolver.canReuseTypeNode(context, node)) { + markError(); + return node; + } + } else if (node.operator === 143 /* KeyOfKeyword */) { + const result = tryVisitKeyOf(node); + if (!result) { + markError(); + return node; + } + return result; + } + } + return visitEachChild2(node, visitExistingNodeTreeSymbols); + function visitEachChild2(node2, visitor) { + const nonlocalNode = !context.enclosingFile || context.enclosingFile !== getSourceFileOfNode(node2); + return visitEachChild( + node2, + visitor, + /*context*/ + void 0, + nonlocalNode ? visitNodesWithoutCopyingPositions : void 0 + ); + } + function visitNodesWithoutCopyingPositions(nodes, visitor, test, start, count) { + let result = visitNodes2(nodes, visitor, test, start, count); + if (result) { + if (result.pos !== -1 || result.end !== -1) { + if (result === nodes) { + result = factory.createNodeArray(nodes.slice(), nodes.hasTrailingComma); + } + setTextRangePosEnd(result, -1, -1); + } + } + return result; + } + function getEffectiveDotDotDotForParameter(p) { + return p.dotDotDotToken || (p.type && isJSDocVariadicType(p.type) ? factory.createToken(26 /* DotDotDotToken */) : void 0); + } + function getNameForJSDocFunctionParameter(p, index) { + return p.name && isIdentifier(p.name) && p.name.escapedText === "this" ? "this" : getEffectiveDotDotDotForParameter(p) ? `args` : `arg${index}`; + } + function rewriteModuleSpecifier2(parent, lit) { + const newName = resolver.getModuleSpecifierOverride(context, parent, lit); + if (newName) { + return setOriginalNode(factory.createStringLiteral(newName), lit); + } + return visitNode(lit, visitExistingNodeTreeSymbols, isStringLiteral); + } + } + } + function serializeExistingTypeNode(typeNode, context, addUndefined) { + if (!typeNode) return void 0; + let result; + if ((!addUndefined || canAddUndefined(typeNode)) && resolver.canReuseTypeNode(context, typeNode)) { + result = tryReuseExistingTypeNode(context, typeNode); + if (result !== void 0) { + result = addUndefinedIfNeeded( + result, + addUndefined, + /*owner*/ + void 0, + context + ); + } + } + return result; + } + function serializeTypeAnnotationOfDeclaration(declaredType, context, node, symbol, requiresAddingUndefined, useFallback = requiresAddingUndefined !== void 0) { + if (!declaredType) return void 0; + if (!resolver.canReuseTypeNodeAnnotation(context, node, declaredType, symbol, requiresAddingUndefined)) { + if (!requiresAddingUndefined || !resolver.canReuseTypeNodeAnnotation( + context, + node, + declaredType, + symbol, + /*requiresAddingUndefined*/ + false + )) { + return void 0; + } + } + let result; + if (!requiresAddingUndefined || canAddUndefined(declaredType)) { + result = serializeExistingTypeNode(declaredType, context, requiresAddingUndefined); + } + if (result !== void 0 || !useFallback) { + return result; + } + context.tracker.reportInferenceFallback(node); + return resolver.serializeExistingTypeNode(context, declaredType, requiresAddingUndefined) ?? factory.createKeywordTypeNode(133 /* AnyKeyword */); + } + function serializeExistingTypeNodeWithFallback(typeNode, context, addUndefined, targetNode) { + if (!typeNode) return void 0; + const result = serializeExistingTypeNode(typeNode, context, addUndefined); + if (result !== void 0) { + return result; + } + context.tracker.reportInferenceFallback(targetNode ?? typeNode); + return resolver.serializeExistingTypeNode(context, typeNode, addUndefined) ?? factory.createKeywordTypeNode(133 /* AnyKeyword */); + } + function serializeTypeOfAccessor(accessor, symbol, context) { + return typeFromAccessor(accessor, symbol, context) ?? inferAccessorType(accessor, resolver.getAllAccessorDeclarations(accessor), context, symbol); + } + function serializeTypeOfExpression(expr, context, addUndefined, preserveLiterals) { + const result = typeFromExpression( + expr, + context, + /*isConstContext*/ + false, + addUndefined, + preserveLiterals + ); + return result.type !== void 0 ? result.type : inferExpressionType(expr, context, result.reportFallback); + } + function serializeTypeOfDeclaration(node, symbol, context) { + switch (node.kind) { + case 169 /* Parameter */: + case 341 /* JSDocParameterTag */: + return typeFromParameter(node, symbol, context); + case 260 /* VariableDeclaration */: + return typeFromVariable(node, symbol, context); + case 171 /* PropertySignature */: + case 348 /* JSDocPropertyTag */: + case 172 /* PropertyDeclaration */: + return typeFromProperty(node, symbol, context); + case 208 /* BindingElement */: + return inferTypeOfDeclaration(node, symbol, context); + case 277 /* ExportAssignment */: + return serializeTypeOfExpression( + node.expression, + context, + /*addUndefined*/ + void 0, + /*preserveLiterals*/ + true + ); + case 211 /* PropertyAccessExpression */: + case 212 /* ElementAccessExpression */: + case 226 /* BinaryExpression */: + return typeFromExpandoProperty(node, symbol, context); + case 303 /* PropertyAssignment */: + case 304 /* ShorthandPropertyAssignment */: + return typeFromPropertyAssignment(node, symbol, context); + default: + Debug.assertNever(node, `Node needs to be an inferrable node, found ${Debug.formatSyntaxKind(node.kind)}`); + } + } + function typeFromPropertyAssignment(node, symbol, context) { + const typeAnnotation = getEffectiveTypeAnnotationNode(node); + let result; + if (typeAnnotation && resolver.canReuseTypeNodeAnnotation(context, node, typeAnnotation, symbol)) { + result = serializeExistingTypeNode(typeAnnotation, context); + } + if (!result && node.kind === 303 /* PropertyAssignment */) { + const initializer = node.initializer; + const type = isJSDocTypeAssertion(initializer) ? getJSDocTypeAssertionType(initializer) : initializer.kind === 234 /* AsExpression */ || initializer.kind === 216 /* TypeAssertionExpression */ ? initializer.type : void 0; + if (type && !isConstTypeReference(type)) { + result = serializeExistingTypeNode(type, context); + } + } + return result ?? inferTypeOfDeclaration( + node, + symbol, + context, + /*reportFallback*/ + false + ); + } + function serializeReturnTypeForSignature(node, symbol, context) { + switch (node.kind) { + case 177 /* GetAccessor */: + return serializeTypeOfAccessor(node, symbol, context); + case 174 /* MethodDeclaration */: + case 262 /* FunctionDeclaration */: + case 180 /* ConstructSignature */: + case 173 /* MethodSignature */: + case 179 /* CallSignature */: + case 176 /* Constructor */: + case 178 /* SetAccessor */: + case 181 /* IndexSignature */: + case 184 /* FunctionType */: + case 185 /* ConstructorType */: + case 218 /* FunctionExpression */: + case 219 /* ArrowFunction */: + case 317 /* JSDocFunctionType */: + case 323 /* JSDocSignature */: + return createReturnFromSignature(node, symbol, context); + default: + Debug.assertNever(node, `Node needs to be an inferrable node, found ${Debug.formatSyntaxKind(node.kind)}`); + } + } + function getTypeAnnotationFromAccessor(accessor) { + if (accessor) { + return accessor.kind === 177 /* GetAccessor */ ? isInJSFile(accessor) && getJSDocType(accessor) || getEffectiveReturnTypeNode(accessor) : getEffectiveSetAccessorTypeAnnotationNode(accessor); + } + } + function getTypeAnnotationFromAllAccessorDeclarations(node, accessors) { + let accessorType = getTypeAnnotationFromAccessor(node); + if (!accessorType && node !== accessors.firstAccessor) { + accessorType = getTypeAnnotationFromAccessor(accessors.firstAccessor); + } + if (!accessorType && accessors.secondAccessor && node !== accessors.secondAccessor) { + accessorType = getTypeAnnotationFromAccessor(accessors.secondAccessor); + } + return accessorType; + } + function typeFromAccessor(node, symbol, context) { + const accessorDeclarations = resolver.getAllAccessorDeclarations(node); + const accessorType = getTypeAnnotationFromAllAccessorDeclarations(node, accessorDeclarations); + if (accessorType && !isTypePredicateNode(accessorType)) { + return withNewScope(context, node, () => serializeTypeAnnotationOfDeclaration(accessorType, context, node, symbol) ?? inferTypeOfDeclaration(node, symbol, context)); + } + if (accessorDeclarations.getAccessor) { + return withNewScope(context, accessorDeclarations.getAccessor, () => createReturnFromSignature( + accessorDeclarations.getAccessor, + /*symbol*/ + void 0, + context + )); + } + return void 0; + } + function typeFromVariable(node, symbol, context) { + var _a; + const declaredType = getEffectiveTypeAnnotationNode(node); + let resultType = failed; + if (declaredType) { + resultType = syntacticResult(serializeTypeAnnotationOfDeclaration(declaredType, context, node, symbol)); + } else if (node.initializer && (((_a = symbol.declarations) == null ? void 0 : _a.length) === 1 || countWhere(symbol.declarations, isVariableDeclaration) === 1)) { + if (!resolver.isExpandoFunctionDeclaration(node) && !isContextuallyTyped(node)) { + resultType = typeFromExpression( + node.initializer, + context, + /*isConstContext*/ + void 0, + /*requiresAddingUndefined*/ + void 0, + isVarConstLike(node) + ); + } + } + return resultType.type !== void 0 ? resultType.type : inferTypeOfDeclaration(node, symbol, context, resultType.reportFallback); + } + function typeFromParameter(node, symbol, context) { + const parent = node.parent; + if (parent.kind === 178 /* SetAccessor */) { + return serializeTypeOfAccessor( + parent, + /*symbol*/ + void 0, + context + ); + } + const declaredType = getEffectiveTypeAnnotationNode(node); + const addUndefined = resolver.requiresAddingImplicitUndefined(node, symbol, context.enclosingDeclaration); + let resultType = failed; + if (declaredType) { + resultType = syntacticResult(serializeTypeAnnotationOfDeclaration(declaredType, context, node, symbol, addUndefined)); + } else if (isParameter(node) && node.initializer && isIdentifier(node.name) && !isContextuallyTyped(node)) { + resultType = typeFromExpression( + node.initializer, + context, + /*isConstContext*/ + void 0, + addUndefined + ); + } + return resultType.type !== void 0 ? resultType.type : inferTypeOfDeclaration(node, symbol, context, resultType.reportFallback); + } + function typeFromExpandoProperty(node, symbol, context) { + const declaredType = getEffectiveTypeAnnotationNode(node); + let result; + if (declaredType) { + result = serializeTypeAnnotationOfDeclaration(declaredType, context, node, symbol); + } + const oldSuppressReportInferenceFallback = context.suppressReportInferenceFallback; + context.suppressReportInferenceFallback = true; + const resultType = result ?? inferTypeOfDeclaration( + node, + symbol, + context, + /*reportFallback*/ + false + ); + context.suppressReportInferenceFallback = oldSuppressReportInferenceFallback; + return resultType; + } + function typeFromProperty(node, symbol, context) { + const declaredType = getEffectiveTypeAnnotationNode(node); + const requiresAddingUndefined = resolver.requiresAddingImplicitUndefined(node, symbol, context.enclosingDeclaration); + let resultType = failed; + if (declaredType) { + resultType = syntacticResult(serializeTypeAnnotationOfDeclaration(declaredType, context, node, symbol, requiresAddingUndefined)); + } else { + const initializer = isPropertyDeclaration(node) ? node.initializer : void 0; + if (initializer && !isContextuallyTyped(node)) { + const isReadonly = isDeclarationReadonly(node); + resultType = typeFromExpression( + initializer, + context, + /*isConstContext*/ + void 0, + requiresAddingUndefined, + isReadonly + ); + } + } + return resultType.type !== void 0 ? resultType.type : inferTypeOfDeclaration(node, symbol, context, resultType.reportFallback); + } + function inferTypeOfDeclaration(node, symbol, context, reportFallback = true) { + if (reportFallback) { + context.tracker.reportInferenceFallback(node); + } + if (context.noInferenceFallback === true) { + return factory.createKeywordTypeNode(133 /* AnyKeyword */); + } + return resolver.serializeTypeOfDeclaration(context, node, symbol); + } + function inferExpressionType(node, context, reportFallback = true, requiresAddingUndefined) { + Debug.assert(!requiresAddingUndefined); + if (reportFallback) { + context.tracker.reportInferenceFallback(node); + } + if (context.noInferenceFallback === true) { + return factory.createKeywordTypeNode(133 /* AnyKeyword */); + } + return resolver.serializeTypeOfExpression(context, node) ?? factory.createKeywordTypeNode(133 /* AnyKeyword */); + } + function inferReturnTypeOfSignatureSignature(node, context, reportFallback) { + if (reportFallback) { + context.tracker.reportInferenceFallback(node); + } + if (context.noInferenceFallback === true) { + return factory.createKeywordTypeNode(133 /* AnyKeyword */); + } + return resolver.serializeReturnTypeForSignature(context, node) ?? factory.createKeywordTypeNode(133 /* AnyKeyword */); + } + function inferAccessorType(node, allAccessors, context, symbol, reportFallback = true) { + if (node.kind === 177 /* GetAccessor */) { + return createReturnFromSignature(node, symbol, context, reportFallback); + } else { + if (reportFallback) { + context.tracker.reportInferenceFallback(node); + } + const result = allAccessors.getAccessor && createReturnFromSignature(allAccessors.getAccessor, symbol, context, reportFallback); + return result ?? resolver.serializeTypeOfDeclaration(context, node, symbol) ?? factory.createKeywordTypeNode(133 /* AnyKeyword */); + } + } + function withNewScope(context, node, fn) { + const cleanup = resolver.enterNewScope(context, node); + const result = fn(); + cleanup(); + return result; + } + function typeFromTypeAssertion(expression, type, context, requiresAddingUndefined) { + if (isConstTypeReference(type)) { + return typeFromExpression( + expression, + context, + /*isConstContext*/ + true, + requiresAddingUndefined + ); + } + return syntacticResult(serializeExistingTypeNodeWithFallback(type, context, requiresAddingUndefined)); + } + function typeFromExpression(node, context, isConstContext = false, requiresAddingUndefined = false, preserveLiterals = false) { + switch (node.kind) { + case 217 /* ParenthesizedExpression */: + if (isJSDocTypeAssertion(node)) { + return typeFromTypeAssertion(node.expression, getJSDocTypeAssertionType(node), context, requiresAddingUndefined); + } + return typeFromExpression(node.expression, context, isConstContext, requiresAddingUndefined); + case 80 /* Identifier */: + if (resolver.isUndefinedIdentifierExpression(node)) { + return syntacticResult(createUndefinedTypeNode()); + } + break; + case 106 /* NullKeyword */: + if (strictNullChecks) { + return syntacticResult(addUndefinedIfNeeded(factory.createLiteralTypeNode(factory.createNull()), requiresAddingUndefined, node, context)); + } else { + return syntacticResult(factory.createKeywordTypeNode(133 /* AnyKeyword */)); + } + case 219 /* ArrowFunction */: + case 218 /* FunctionExpression */: + Debug.type(node); + return withNewScope(context, node, () => typeFromFunctionLikeExpression(node, context)); + case 216 /* TypeAssertionExpression */: + case 234 /* AsExpression */: + const asExpression = node; + return typeFromTypeAssertion(asExpression.expression, asExpression.type, context, requiresAddingUndefined); + case 224 /* PrefixUnaryExpression */: + const unaryExpression = node; + if (isPrimitiveLiteralValue(unaryExpression)) { + return typeFromPrimitiveLiteral( + unaryExpression.operator === 40 /* PlusToken */ ? unaryExpression.operand : unaryExpression, + unaryExpression.operand.kind === 10 /* BigIntLiteral */ ? 163 /* BigIntKeyword */ : 150 /* NumberKeyword */, + context, + isConstContext || preserveLiterals, + requiresAddingUndefined + ); + } + break; + case 209 /* ArrayLiteralExpression */: + return typeFromArrayLiteral(node, context, isConstContext, requiresAddingUndefined); + case 210 /* ObjectLiteralExpression */: + return typeFromObjectLiteral(node, context, isConstContext, requiresAddingUndefined); + case 231 /* ClassExpression */: + return syntacticResult(inferExpressionType( + node, + context, + /*reportFallback*/ + true, + requiresAddingUndefined + )); + case 228 /* TemplateExpression */: + if (!isConstContext && !preserveLiterals) { + return syntacticResult(factory.createKeywordTypeNode(154 /* StringKeyword */)); + } + break; + default: + let typeKind; + let primitiveNode = node; + switch (node.kind) { + case 9 /* NumericLiteral */: + typeKind = 150 /* NumberKeyword */; + break; + case 15 /* NoSubstitutionTemplateLiteral */: + primitiveNode = factory.createStringLiteral(node.text); + typeKind = 154 /* StringKeyword */; + break; + case 11 /* StringLiteral */: + typeKind = 154 /* StringKeyword */; + break; + case 10 /* BigIntLiteral */: + typeKind = 163 /* BigIntKeyword */; + break; + case 112 /* TrueKeyword */: + case 97 /* FalseKeyword */: + typeKind = 136 /* BooleanKeyword */; + break; + } + if (typeKind) { + return typeFromPrimitiveLiteral(primitiveNode, typeKind, context, isConstContext || preserveLiterals, requiresAddingUndefined); + } + } + return failed; + } + function typeFromFunctionLikeExpression(fnNode, context) { + const oldNoInferenceFallback = context.noInferenceFallback; + context.noInferenceFallback = true; + createReturnFromSignature( + fnNode, + /*symbol*/ + void 0, + context + ); + reuseTypeParameters(fnNode.typeParameters, context); + fnNode.parameters.map((p) => ensureParameter(p, context)); + context.noInferenceFallback = oldNoInferenceFallback; + return notImplemented2; + } + function canGetTypeFromArrayLiteral(arrayLiteral, context, isConstContext) { + if (!isConstContext) { + context.tracker.reportInferenceFallback(arrayLiteral); + return false; + } + for (const element of arrayLiteral.elements) { + if (element.kind === 230 /* SpreadElement */) { + context.tracker.reportInferenceFallback(element); + return false; + } + } + return true; + } + function typeFromArrayLiteral(arrayLiteral, context, isConstContext, requiresAddingUndefined) { + if (!canGetTypeFromArrayLiteral(arrayLiteral, context, isConstContext)) { + if (requiresAddingUndefined || isDeclaration(walkUpParenthesizedExpressions(arrayLiteral).parent)) { + return alreadyReported; + } + return syntacticResult(inferExpressionType( + arrayLiteral, + context, + /*reportFallback*/ + false, + requiresAddingUndefined + )); + } + const oldNoInferenceFallback = context.noInferenceFallback; + context.noInferenceFallback = true; + const elementTypesInfo = []; + for (const element of arrayLiteral.elements) { + Debug.assert(element.kind !== 230 /* SpreadElement */); + if (element.kind === 232 /* OmittedExpression */) { + elementTypesInfo.push( + createUndefinedTypeNode() + ); + } else { + const expressionType = typeFromExpression(element, context, isConstContext); + const elementType = expressionType.type !== void 0 ? expressionType.type : inferExpressionType(element, context, expressionType.reportFallback); + elementTypesInfo.push(elementType); + } + } + const tupleType = factory.createTupleTypeNode(elementTypesInfo); + tupleType.emitNode = { flags: 1, autoGenerate: void 0, internalFlags: 0 }; + context.noInferenceFallback = oldNoInferenceFallback; + return notImplemented2; + } + function canGetTypeFromObjectLiteral(objectLiteral, context) { + let result = true; + for (const prop of objectLiteral.properties) { + if (prop.flags & 262144 /* ThisNodeHasError */) { + result = false; + break; + } + if (prop.kind === 304 /* ShorthandPropertyAssignment */ || prop.kind === 305 /* SpreadAssignment */) { + context.tracker.reportInferenceFallback(prop); + result = false; + } else if (prop.name.flags & 262144 /* ThisNodeHasError */) { + result = false; + break; + } else if (prop.name.kind === 81 /* PrivateIdentifier */) { + result = false; + } else if (prop.name.kind === 167 /* ComputedPropertyName */) { + const expression = prop.name.expression; + if (!isPrimitiveLiteralValue( + expression, + /*includeBigInt*/ + false + ) && !resolver.isDefinitelyReferenceToGlobalSymbolObject(expression)) { + context.tracker.reportInferenceFallback(prop.name); + result = false; + } + } + } + return result; + } + function typeFromObjectLiteral(objectLiteral, context, isConstContext, requiresAddingUndefined) { + if (!canGetTypeFromObjectLiteral(objectLiteral, context)) { + if (requiresAddingUndefined || isDeclaration(walkUpParenthesizedExpressions(objectLiteral).parent)) { + return alreadyReported; + } + return syntacticResult(inferExpressionType( + objectLiteral, + context, + /*reportFallback*/ + false, + requiresAddingUndefined + )); + } + const oldNoInferenceFallback = context.noInferenceFallback; + context.noInferenceFallback = true; + const properties = []; + const oldFlags = context.flags; + context.flags |= 4194304 /* InObjectTypeLiteral */; + for (const prop of objectLiteral.properties) { + Debug.assert(!isShorthandPropertyAssignment(prop) && !isSpreadAssignment(prop)); + const name = prop.name; + let newProp; + switch (prop.kind) { + case 174 /* MethodDeclaration */: + newProp = withNewScope(context, prop, () => typeFromObjectLiteralMethod(prop, name, context, isConstContext)); + break; + case 303 /* PropertyAssignment */: + newProp = typeFromObjectLiteralPropertyAssignment(prop, name, context, isConstContext); + break; + case 178 /* SetAccessor */: + case 177 /* GetAccessor */: + newProp = typeFromObjectLiteralAccessor(prop, name, context); + break; + } + if (newProp) { + setCommentRange(newProp, prop); + properties.push(newProp); + } + } + context.flags = oldFlags; + const typeNode = factory.createTypeLiteralNode(properties); + if (!(context.flags & 1024 /* MultilineObjectLiterals */)) { + setEmitFlags(typeNode, 1 /* SingleLine */); + } + context.noInferenceFallback = oldNoInferenceFallback; + return notImplemented2; + } + function typeFromObjectLiteralPropertyAssignment(prop, name, context, isConstContext) { + const modifiers = isConstContext ? [factory.createModifier(148 /* ReadonlyKeyword */)] : []; + const expressionResult = typeFromExpression(prop.initializer, context, isConstContext); + const typeNode = expressionResult.type !== void 0 ? expressionResult.type : inferTypeOfDeclaration( + prop, + /*symbol*/ + void 0, + context, + expressionResult.reportFallback + ); + return factory.createPropertySignature( + modifiers, + reuseNode(context, name), + /*questionToken*/ + void 0, + typeNode + ); + } + function ensureParameter(p, context) { + return factory.updateParameterDeclaration( + p, + [], + reuseNode(context, p.dotDotDotToken), + resolver.serializeNameOfParameter(context, p), + resolver.isOptionalParameter(p) ? factory.createToken(58 /* QuestionToken */) : void 0, + typeFromParameter( + p, + /*symbol*/ + void 0, + context + ), + // Ignore private param props, since this type is going straight back into a param + /*initializer*/ + void 0 + ); + } + function reuseTypeParameters(typeParameters, context) { + return typeParameters == null ? void 0 : typeParameters.map( + (tp) => { + var _a; + return factory.updateTypeParameterDeclaration( + tp, + (_a = tp.modifiers) == null ? void 0 : _a.map((m) => reuseNode(context, m)), + reuseNode(context, tp.name), + serializeExistingTypeNodeWithFallback(tp.constraint, context), + serializeExistingTypeNodeWithFallback(tp.default, context) + ); + } + ); + } + function typeFromObjectLiteralMethod(method, name, context, isConstContext) { + const returnType = createReturnFromSignature( + method, + /*symbol*/ + void 0, + context + ); + const typeParameters = reuseTypeParameters(method.typeParameters, context); + const parameters = method.parameters.map((p) => ensureParameter(p, context)); + if (isConstContext) { + return factory.createPropertySignature( + [factory.createModifier(148 /* ReadonlyKeyword */)], + reuseNode(context, name), + reuseNode(context, method.questionToken), + factory.createFunctionTypeNode( + typeParameters, + parameters, + returnType + ) + ); + } else { + if (isIdentifier(name) && name.escapedText === "new") { + name = factory.createStringLiteral("new"); + } + return factory.createMethodSignature( + [], + reuseNode(context, name), + reuseNode(context, method.questionToken), + typeParameters, + parameters, + returnType + ); + } + } + function typeFromObjectLiteralAccessor(accessor, name, context) { + const allAccessors = resolver.getAllAccessorDeclarations(accessor); + const getAccessorType = allAccessors.getAccessor && getTypeAnnotationFromAccessor(allAccessors.getAccessor); + const setAccessorType = allAccessors.setAccessor && getTypeAnnotationFromAccessor(allAccessors.setAccessor); + if (getAccessorType !== void 0 && setAccessorType !== void 0) { + return withNewScope(context, accessor, () => { + const parameters = accessor.parameters.map((p) => ensureParameter(p, context)); + if (isGetAccessor(accessor)) { + return factory.updateGetAccessorDeclaration( + accessor, + [], + reuseNode(context, name), + parameters, + serializeExistingTypeNodeWithFallback(getAccessorType, context), + /*body*/ + void 0 + ); + } else { + return factory.updateSetAccessorDeclaration( + accessor, + [], + reuseNode(context, name), + parameters, + /*body*/ + void 0 + ); + } + }); + } else if (allAccessors.firstAccessor === accessor) { + const foundType = getAccessorType ? withNewScope(context, allAccessors.getAccessor, () => serializeExistingTypeNodeWithFallback(getAccessorType, context)) : setAccessorType ? withNewScope(context, allAccessors.setAccessor, () => serializeExistingTypeNodeWithFallback(setAccessorType, context)) : void 0; + const propertyType = foundType ?? inferAccessorType( + accessor, + allAccessors, + context, + /*symbol*/ + void 0 + ); + const propertySignature = factory.createPropertySignature( + allAccessors.setAccessor === void 0 ? [factory.createModifier(148 /* ReadonlyKeyword */)] : [], + reuseNode(context, name), + /*questionToken*/ + void 0, + propertyType + ); + return propertySignature; + } + } + function createUndefinedTypeNode() { + if (strictNullChecks) { + return factory.createKeywordTypeNode(157 /* UndefinedKeyword */); + } else { + return factory.createKeywordTypeNode(133 /* AnyKeyword */); + } + } + function typeFromPrimitiveLiteral(node, baseType, context, preserveLiterals, requiresAddingUndefined) { + let result; + if (preserveLiterals) { + if (node.kind === 224 /* PrefixUnaryExpression */ && node.operator === 40 /* PlusToken */) { + result = factory.createLiteralTypeNode(reuseNode(context, node.operand)); + } + result = factory.createLiteralTypeNode(reuseNode(context, node)); + } else { + result = factory.createKeywordTypeNode(baseType); + } + return syntacticResult(addUndefinedIfNeeded(result, requiresAddingUndefined, node, context)); + } + function addUndefinedIfNeeded(node, addUndefined, owner, context) { + const parentDeclaration = owner && walkUpParenthesizedExpressions(owner).parent; + const optionalDeclaration = parentDeclaration && isDeclaration(parentDeclaration) && isOptionalDeclaration(parentDeclaration); + if (!strictNullChecks || !(addUndefined || optionalDeclaration)) return node; + if (!canAddUndefined(node)) { + context.tracker.reportInferenceFallback(node); + } + if (isUnionTypeNode(node)) { + return factory.createUnionTypeNode([...node.types, factory.createKeywordTypeNode(157 /* UndefinedKeyword */)]); + } + return factory.createUnionTypeNode([node, factory.createKeywordTypeNode(157 /* UndefinedKeyword */)]); + } + function canAddUndefined(node) { + if (!strictNullChecks) return true; + if (isKeyword(node.kind) || node.kind === 201 /* LiteralType */ || node.kind === 184 /* FunctionType */ || node.kind === 185 /* ConstructorType */ || node.kind === 188 /* ArrayType */ || node.kind === 189 /* TupleType */ || node.kind === 187 /* TypeLiteral */ || node.kind === 203 /* TemplateLiteralType */ || node.kind === 197 /* ThisType */) { + return true; + } + if (node.kind === 196 /* ParenthesizedType */) { + return canAddUndefined(node.type); + } + if (node.kind === 192 /* UnionType */ || node.kind === 193 /* IntersectionType */) { + return node.types.every(canAddUndefined); + } + return false; + } + function createReturnFromSignature(fn, symbol, context, reportFallback = true) { + let returnType = failed; + const returnTypeNode = isJSDocConstructSignature(fn) ? getEffectiveTypeAnnotationNode(fn.parameters[0]) : getEffectiveReturnTypeNode(fn); + if (returnTypeNode) { + returnType = syntacticResult(serializeTypeAnnotationOfDeclaration(returnTypeNode, context, fn, symbol)); + } else if (isValueSignatureDeclaration(fn)) { + returnType = typeFromSingleReturnExpression(fn, context); + } + return returnType.type !== void 0 ? returnType.type : inferReturnTypeOfSignatureSignature(fn, context, reportFallback && returnType.reportFallback && !returnTypeNode); + } + function typeFromSingleReturnExpression(declaration, context) { + let candidateExpr; + if (declaration && !nodeIsMissing(declaration.body)) { + const flags = getFunctionFlags(declaration); + if (flags & 3 /* AsyncGenerator */) return failed; + const body = declaration.body; + if (body && isBlock(body)) { + forEachReturnStatement(body, (s) => { + if (s.parent !== body) { + candidateExpr = void 0; + return true; + } + if (!candidateExpr) { + candidateExpr = s.expression; + } else { + candidateExpr = void 0; + return true; + } + }); + } else { + candidateExpr = body; + } + } + if (candidateExpr) { + if (isContextuallyTyped(candidateExpr)) { + const type = isJSDocTypeAssertion(candidateExpr) ? getJSDocTypeAssertionType(candidateExpr) : isAsExpression(candidateExpr) || isTypeAssertionExpression(candidateExpr) ? candidateExpr.type : void 0; + if (type && !isConstTypeReference(type)) { + return syntacticResult(serializeExistingTypeNode(type, context)); + } + } else { + return typeFromExpression(candidateExpr, context); + } + } + return failed; + } + function isContextuallyTyped(node) { + return findAncestor(node.parent, (n) => { + return isCallExpression(n) || !isFunctionLikeDeclaration(n) && !!getEffectiveTypeAnnotationNode(n) || isJsxElement(n) || isJsxExpression(n); + }); + } +} + +// src/tsc/tsc.ts +Debug.loggingHost = { + log(_level, s) { + sys.write(`${s || ""}${sys.newLine}`); + } +}; +if (Debug.isDebugging) { + Debug.enableDebugInfo(); +} +if (sys.tryEnableSourceMapsForHost && /^development$/i.test(sys.getEnvironmentVariable("NODE_ENV"))) { + sys.tryEnableSourceMapsForHost(); +} +if (sys.setBlocking) { + sys.setBlocking(); +} +executeCommandLine(sys, noop, sys.args); +//# sourceMappingURL=_tsc.js.map diff --git a/node_modules/typescript/lib/_tsserver.js b/node_modules/typescript/lib/_tsserver.js new file mode 100644 index 0000000000..473b8d224e --- /dev/null +++ b/node_modules/typescript/lib/_tsserver.js @@ -0,0 +1,623 @@ +/*! ***************************************************************************** +Copyright (c) Microsoft Corporation. All rights reserved. +Licensed under the Apache License, Version 2.0 (the "License"); you may not use +this file except in compliance with the License. You may obtain a copy of the +License at http://www.apache.org/licenses/LICENSE-2.0 + +THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED +WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE, +MERCHANTABLITY OR NON-INFRINGEMENT. + +See the Apache Version 2.0 License for specific language governing permissions +and limitations under the License. +***************************************************************************** */ + + +"use strict"; +var __create = Object.create; +var __defProp = Object.defineProperty; +var __getOwnPropDesc = Object.getOwnPropertyDescriptor; +var __getOwnPropNames = Object.getOwnPropertyNames; +var __getProtoOf = Object.getPrototypeOf; +var __hasOwnProp = Object.prototype.hasOwnProperty; +var __copyProps = (to, from, except, desc) => { + if (from && typeof from === "object" || typeof from === "function") { + for (let key of __getOwnPropNames(from)) + if (!__hasOwnProp.call(to, key) && key !== except) + __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable }); + } + return to; +}; +var __reExport = (target, mod, secondTarget) => (__copyProps(target, mod, "default"), secondTarget && __copyProps(secondTarget, mod, "default")); +var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps( + // If the importer is in node compatibility mode or this is not an ESM + // file that has been converted to a CommonJS file using a Babel- + // compatible transform (i.e. "__esModule" has not been set), then set + // "default" to the CommonJS "module.exports" for node compatibility. + isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target, + mod +)); + +// src/tsserver/server.ts +var import_os2 = __toESM(require("os")); + +// src/typescript/typescript.ts +var typescript_exports = {}; +__reExport(typescript_exports, require("./typescript.js")); + +// src/tsserver/nodeServer.ts +var import_child_process = __toESM(require("child_process")); +var import_fs = __toESM(require("fs")); +var import_net = __toESM(require("net")); +var import_os = __toESM(require("os")); +var import_readline = __toESM(require("readline")); + +// src/tsserver/common.ts +function getLogLevel(level) { + if (level) { + const l = level.toLowerCase(); + for (const name in typescript_exports.server.LogLevel) { + if (isNaN(+name) && l === name.toLowerCase()) { + return typescript_exports.server.LogLevel[name]; + } + } + } + return void 0; +} + +// src/tsserver/nodeServer.ts +function parseLoggingEnvironmentString(logEnvStr) { + if (!logEnvStr) { + return {}; + } + const logEnv = { logToFile: true }; + const args = logEnvStr.split(" "); + const len = args.length - 1; + for (let i = 0; i < len; i += 2) { + const option = args[i]; + const { value, extraPartCounter } = getEntireValue(i + 1); + i += extraPartCounter; + if (option && value) { + switch (option) { + case "-file": + logEnv.file = value; + break; + case "-level": + const level = getLogLevel(value); + logEnv.detailLevel = level !== void 0 ? level : typescript_exports.server.LogLevel.normal; + break; + case "-traceToConsole": + logEnv.traceToConsole = value.toLowerCase() === "true"; + break; + case "-logToFile": + logEnv.logToFile = value.toLowerCase() === "true"; + break; + } + } + } + return logEnv; + function getEntireValue(initialIndex) { + let pathStart = args[initialIndex]; + let extraPartCounter = 0; + if (pathStart.charCodeAt(0) === typescript_exports.CharacterCodes.doubleQuote && pathStart.charCodeAt(pathStart.length - 1) !== typescript_exports.CharacterCodes.doubleQuote) { + for (let i = initialIndex + 1; i < args.length; i++) { + pathStart += " "; + pathStart += args[i]; + extraPartCounter++; + if (pathStart.charCodeAt(pathStart.length - 1) === typescript_exports.CharacterCodes.doubleQuote) break; + } + } + return { value: (0, typescript_exports.stripQuotes)(pathStart), extraPartCounter }; + } +} +function parseServerMode() { + const mode = typescript_exports.server.findArgument("--serverMode"); + if (!mode) return void 0; + switch (mode.toLowerCase()) { + case "semantic": + return typescript_exports.LanguageServiceMode.Semantic; + case "partialsemantic": + return typescript_exports.LanguageServiceMode.PartialSemantic; + case "syntactic": + return typescript_exports.LanguageServiceMode.Syntactic; + default: + return mode; + } +} +function initializeNodeSystem() { + const sys4 = typescript_exports.Debug.checkDefined(typescript_exports.sys); + class Logger { + constructor(logFilename, traceToConsole, level) { + this.logFilename = logFilename; + this.traceToConsole = traceToConsole; + this.level = level; + this.seq = 0; + this.inGroup = false; + this.firstInGroup = true; + this.fd = -1; + if (this.logFilename) { + try { + this.fd = import_fs.default.openSync(this.logFilename, "w"); + } catch { + } + } + } + static padStringRight(str, padding) { + return (str + padding).slice(0, padding.length); + } + close() { + if (this.fd >= 0) { + import_fs.default.close(this.fd, typescript_exports.noop); + } + } + getLogFileName() { + return this.logFilename; + } + perftrc(s) { + this.msg(s, typescript_exports.server.Msg.Perf); + } + info(s) { + this.msg(s, typescript_exports.server.Msg.Info); + } + err(s) { + this.msg(s, typescript_exports.server.Msg.Err); + } + startGroup() { + this.inGroup = true; + this.firstInGroup = true; + } + endGroup() { + this.inGroup = false; + } + loggingEnabled() { + return !!this.logFilename || this.traceToConsole; + } + hasLevel(level) { + return this.loggingEnabled() && this.level >= level; + } + msg(s, type = typescript_exports.server.Msg.Err) { + if (!this.canWrite()) return; + s = `[${typescript_exports.server.nowString()}] ${s} +`; + if (!this.inGroup || this.firstInGroup) { + const prefix = Logger.padStringRight(type + " " + this.seq.toString(), " "); + s = prefix + s; + } + this.write(s, type); + if (!this.inGroup) { + this.seq++; + } + } + canWrite() { + return this.fd >= 0 || this.traceToConsole; + } + write(s, _type) { + if (this.fd >= 0) { + const buf = Buffer.from(s); + import_fs.default.writeSync( + this.fd, + buf, + 0, + buf.length, + /*position*/ + null + ); + } + if (this.traceToConsole) { + console.warn(s); + } + } + } + const libDirectory = (0, typescript_exports.getDirectoryPath)((0, typescript_exports.normalizePath)(sys4.getExecutingFilePath())); + const useWatchGuard = process.platform === "win32"; + const originalWatchDirectory = sys4.watchDirectory.bind(sys4); + const logger = createLogger(); + typescript_exports.Debug.loggingHost = { + log(level, s) { + switch (level) { + case typescript_exports.LogLevel.Error: + case typescript_exports.LogLevel.Warning: + return logger.msg(s, typescript_exports.server.Msg.Err); + case typescript_exports.LogLevel.Info: + case typescript_exports.LogLevel.Verbose: + return logger.msg(s, typescript_exports.server.Msg.Info); + } + } + }; + const pending = (0, typescript_exports.createQueue)(); + let canWrite = true; + if (useWatchGuard) { + const currentDrive = extractWatchDirectoryCacheKey( + sys4.resolvePath(sys4.getCurrentDirectory()), + /*currentDriveKey*/ + void 0 + ); + const statusCache = /* @__PURE__ */ new Map(); + sys4.watchDirectory = (path, callback, recursive, options) => { + const cacheKey = extractWatchDirectoryCacheKey(path, currentDrive); + let status = cacheKey && statusCache.get(cacheKey); + if (status === void 0) { + if (logger.hasLevel(typescript_exports.server.LogLevel.verbose)) { + logger.info(`${cacheKey} for path ${path} not found in cache...`); + } + try { + const args = [(0, typescript_exports.combinePaths)(libDirectory, "watchGuard.js"), path]; + if (logger.hasLevel(typescript_exports.server.LogLevel.verbose)) { + logger.info(`Starting ${process.execPath} with args:${typescript_exports.server.stringifyIndented(args)}`); + } + import_child_process.default.execFileSync(process.execPath, args, { stdio: "ignore", env: { ELECTRON_RUN_AS_NODE: "1" } }); + status = true; + if (logger.hasLevel(typescript_exports.server.LogLevel.verbose)) { + logger.info(`WatchGuard for path ${path} returned: OK`); + } + } catch (e) { + status = false; + if (logger.hasLevel(typescript_exports.server.LogLevel.verbose)) { + logger.info(`WatchGuard for path ${path} returned: ${e.message}`); + } + } + if (cacheKey) { + statusCache.set(cacheKey, status); + } + } else if (logger.hasLevel(typescript_exports.server.LogLevel.verbose)) { + logger.info(`watchDirectory for ${path} uses cached drive information.`); + } + if (status) { + return watchDirectorySwallowingException(path, callback, recursive, options); + } else { + return typescript_exports.noopFileWatcher; + } + }; + } else { + sys4.watchDirectory = watchDirectorySwallowingException; + } + sys4.write = (s) => writeMessage(Buffer.from(s, "utf8")); + sys4.setTimeout = setTimeout; + sys4.clearTimeout = clearTimeout; + sys4.setImmediate = setImmediate; + sys4.clearImmediate = clearImmediate; + if (typeof global !== "undefined" && global.gc) { + sys4.gc = () => { + var _a; + return (_a = global.gc) == null ? void 0 : _a.call(global); + }; + } + let cancellationToken; + try { + const factory = require("./cancellationToken.js"); + cancellationToken = factory(sys4.args); + } catch { + cancellationToken = typescript_exports.server.nullCancellationToken; + } + const localeStr = typescript_exports.server.findArgument("--locale"); + if (localeStr) { + (0, typescript_exports.validateLocaleAndSetLanguage)(localeStr, sys4); + } + const modeOrUnknown = parseServerMode(); + let serverMode; + let unknownServerMode; + if (modeOrUnknown !== void 0) { + if (typeof modeOrUnknown === "number") serverMode = modeOrUnknown; + else unknownServerMode = modeOrUnknown; + } + return { + args: process.argv, + logger, + cancellationToken, + serverMode, + unknownServerMode, + startSession: startNodeSession + }; + function createLogger() { + const cmdLineLogFileName = typescript_exports.server.findArgument("--logFile"); + const cmdLineVerbosity = getLogLevel(typescript_exports.server.findArgument("--logVerbosity")); + const envLogOptions = parseLoggingEnvironmentString(process.env.TSS_LOG); + const unsubstitutedLogFileName = cmdLineLogFileName ? (0, typescript_exports.stripQuotes)(cmdLineLogFileName) : envLogOptions.logToFile ? envLogOptions.file || libDirectory + "/.log" + process.pid.toString() : void 0; + const substitutedLogFileName = unsubstitutedLogFileName ? unsubstitutedLogFileName.replace("PID", process.pid.toString()) : void 0; + const logVerbosity = cmdLineVerbosity || envLogOptions.detailLevel; + return new Logger(substitutedLogFileName, envLogOptions.traceToConsole, logVerbosity); + } + function writeMessage(buf) { + if (!canWrite) { + pending.enqueue(buf); + } else { + canWrite = false; + process.stdout.write(buf, setCanWriteFlagAndWriteMessageIfNecessary); + } + } + function setCanWriteFlagAndWriteMessageIfNecessary() { + canWrite = true; + if (!pending.isEmpty()) { + writeMessage(pending.dequeue()); + } + } + function extractWatchDirectoryCacheKey(path, currentDriveKey) { + path = (0, typescript_exports.normalizeSlashes)(path); + if (isUNCPath(path)) { + const firstSlash = path.indexOf(typescript_exports.directorySeparator, 2); + return firstSlash !== -1 ? (0, typescript_exports.toFileNameLowerCase)(path.substring(0, firstSlash)) : path; + } + const rootLength = (0, typescript_exports.getRootLength)(path); + if (rootLength === 0) { + return currentDriveKey; + } + if (path.charCodeAt(1) === typescript_exports.CharacterCodes.colon && path.charCodeAt(2) === typescript_exports.CharacterCodes.slash) { + return (0, typescript_exports.toFileNameLowerCase)(path.charAt(0)); + } + if (path.charCodeAt(0) === typescript_exports.CharacterCodes.slash && path.charCodeAt(1) !== typescript_exports.CharacterCodes.slash) { + return currentDriveKey; + } + return void 0; + } + function isUNCPath(s) { + return s.length > 2 && s.charCodeAt(0) === typescript_exports.CharacterCodes.slash && s.charCodeAt(1) === typescript_exports.CharacterCodes.slash; + } + function watchDirectorySwallowingException(path, callback, recursive, options) { + try { + return originalWatchDirectory(path, callback, recursive, options); + } catch (e) { + logger.info(`Exception when creating directory watcher: ${e.message}`); + return typescript_exports.noopFileWatcher; + } + } +} +function parseEventPort(eventPortStr) { + const eventPort = eventPortStr === void 0 ? void 0 : parseInt(eventPortStr); + return eventPort !== void 0 && !isNaN(eventPort) ? eventPort : void 0; +} +function startNodeSession(options, logger, cancellationToken) { + const rl = import_readline.default.createInterface({ + input: process.stdin, + output: process.stdout, + terminal: false + }); + const _NodeTypingsInstallerAdapter = class _NodeTypingsInstallerAdapter extends typescript_exports.server.TypingsInstallerAdapter { + constructor(telemetryEnabled2, logger2, host, globalTypingsCacheLocation, typingSafeListLocation2, typesMapLocation2, npmLocation2, validateDefaultNpmLocation2, event) { + super( + telemetryEnabled2, + logger2, + host, + globalTypingsCacheLocation, + event, + _NodeTypingsInstallerAdapter.maxActiveRequestCount + ); + this.typingSafeListLocation = typingSafeListLocation2; + this.typesMapLocation = typesMapLocation2; + this.npmLocation = npmLocation2; + this.validateDefaultNpmLocation = validateDefaultNpmLocation2; + } + createInstallerProcess() { + if (this.logger.hasLevel(typescript_exports.server.LogLevel.requestTime)) { + this.logger.info("Binding..."); + } + const args = [typescript_exports.server.Arguments.GlobalCacheLocation, this.globalTypingsCacheLocation]; + if (this.telemetryEnabled) { + args.push(typescript_exports.server.Arguments.EnableTelemetry); + } + if (this.logger.loggingEnabled() && this.logger.getLogFileName()) { + args.push(typescript_exports.server.Arguments.LogFile, (0, typescript_exports.combinePaths)((0, typescript_exports.getDirectoryPath)((0, typescript_exports.normalizeSlashes)(this.logger.getLogFileName())), `ti-${process.pid}.log`)); + } + if (this.typingSafeListLocation) { + args.push(typescript_exports.server.Arguments.TypingSafeListLocation, this.typingSafeListLocation); + } + if (this.typesMapLocation) { + args.push(typescript_exports.server.Arguments.TypesMapLocation, this.typesMapLocation); + } + if (this.npmLocation) { + args.push(typescript_exports.server.Arguments.NpmLocation, this.npmLocation); + } + if (this.validateDefaultNpmLocation) { + args.push(typescript_exports.server.Arguments.ValidateDefaultNpmLocation); + } + const execArgv = []; + for (const arg of process.execArgv) { + const match = /^--((?:debug|inspect)(?:-brk)?)(?:=(\d+))?$/.exec(arg); + if (match) { + const currentPort = match[2] !== void 0 ? +match[2] : match[1].charAt(0) === "d" ? 5858 : 9229; + execArgv.push(`--${match[1]}=${currentPort + 1}`); + break; + } + } + const typingsInstaller = (0, typescript_exports.combinePaths)((0, typescript_exports.getDirectoryPath)(typescript_exports.sys.getExecutingFilePath()), "typingsInstaller.js"); + this.installer = import_child_process.default.fork(typingsInstaller, args, { execArgv }); + this.installer.on("message", (m) => this.handleMessage(m)); + this.host.setImmediate(() => this.event({ pid: this.installer.pid }, "typingsInstallerPid")); + process.on("exit", () => { + this.installer.kill(); + }); + return this.installer; + } + }; + // This number is essentially arbitrary. Processing more than one typings request + // at a time makes sense, but having too many in the pipe results in a hang + // (see https://github.com/nodejs/node/issues/7657). + // It would be preferable to base our limit on the amount of space left in the + // buffer, but we have yet to find a way to retrieve that value. + _NodeTypingsInstallerAdapter.maxActiveRequestCount = 10; + let NodeTypingsInstallerAdapter = _NodeTypingsInstallerAdapter; + class IOSession extends typescript_exports.server.Session { + constructor() { + const event = (body, eventName) => { + this.event(body, eventName); + }; + const host = typescript_exports.sys; + const typingsInstaller = disableAutomaticTypingAcquisition ? void 0 : new NodeTypingsInstallerAdapter(telemetryEnabled, logger, host, getGlobalTypingsCacheLocation(), typingSafeListLocation, typesMapLocation, npmLocation, validateDefaultNpmLocation, event); + super({ + host, + cancellationToken, + ...options, + typingsInstaller, + byteLength: Buffer.byteLength, + hrtime: process.hrtime, + logger, + canUseEvents: true, + typesMapLocation + }); + this.eventPort = eventPort; + if (this.canUseEvents && this.eventPort) { + const s = import_net.default.connect({ port: this.eventPort }, () => { + this.eventSocket = s; + if (this.socketEventQueue) { + for (const event2 of this.socketEventQueue) { + this.writeToEventSocket(event2.body, event2.eventName); + } + this.socketEventQueue = void 0; + } + }); + } + this.constructed = true; + } + event(body, eventName) { + typescript_exports.Debug.assert(!!this.constructed, "Should only call `IOSession.prototype.event` on an initialized IOSession"); + if (this.canUseEvents && this.eventPort) { + if (!this.eventSocket) { + if (this.logger.hasLevel(typescript_exports.server.LogLevel.verbose)) { + this.logger.info(`eventPort: event "${eventName}" queued, but socket not yet initialized`); + } + (this.socketEventQueue || (this.socketEventQueue = [])).push({ body, eventName }); + return; + } else { + typescript_exports.Debug.assert(this.socketEventQueue === void 0); + this.writeToEventSocket(body, eventName); + } + } else { + super.event(body, eventName); + } + } + writeToEventSocket(body, eventName) { + this.eventSocket.write(typescript_exports.server.formatMessage(typescript_exports.server.toEvent(eventName, body), this.logger, this.byteLength, this.host.newLine), "utf8"); + } + exit() { + var _a; + this.logger.info("Exiting..."); + this.projectService.closeLog(); + (_a = typescript_exports.tracing) == null ? void 0 : _a.stopTracing(); + process.exit(0); + } + listen() { + rl.on("line", (input) => { + const message = input.trim(); + this.onMessage(message); + }); + rl.on("close", () => { + this.exit(); + }); + } + } + class IpcIOSession extends IOSession { + writeMessage(msg) { + const verboseLogging = logger.hasLevel(typescript_exports.server.LogLevel.verbose); + if (verboseLogging) { + const json = JSON.stringify(msg); + logger.info(`${msg.type}:${typescript_exports.server.indent(json)}`); + } + process.send(msg); + } + parseMessage(message) { + return message; + } + toStringMessage(message) { + return JSON.stringify(message, void 0, 2); + } + listen() { + process.on("message", (e) => { + this.onMessage(e); + }); + process.on("disconnect", () => { + this.exit(); + }); + } + } + const eventPort = parseEventPort(typescript_exports.server.findArgument("--eventPort")); + const typingSafeListLocation = typescript_exports.server.findArgument(typescript_exports.server.Arguments.TypingSafeListLocation); + const typesMapLocation = typescript_exports.server.findArgument(typescript_exports.server.Arguments.TypesMapLocation) || (0, typescript_exports.combinePaths)((0, typescript_exports.getDirectoryPath)(typescript_exports.sys.getExecutingFilePath()), "typesMap.json"); + const npmLocation = typescript_exports.server.findArgument(typescript_exports.server.Arguments.NpmLocation); + const validateDefaultNpmLocation = typescript_exports.server.hasArgument(typescript_exports.server.Arguments.ValidateDefaultNpmLocation); + const disableAutomaticTypingAcquisition = typescript_exports.server.hasArgument("--disableAutomaticTypingAcquisition"); + const useNodeIpc = typescript_exports.server.hasArgument("--useNodeIpc"); + const telemetryEnabled = typescript_exports.server.hasArgument(typescript_exports.server.Arguments.EnableTelemetry); + const commandLineTraceDir = typescript_exports.server.findArgument("--traceDirectory"); + const traceDir = commandLineTraceDir ? (0, typescript_exports.stripQuotes)(commandLineTraceDir) : process.env.TSS_TRACE; + if (traceDir) { + (0, typescript_exports.startTracing)("server", traceDir); + } + const ioSession = useNodeIpc ? new IpcIOSession() : new IOSession(); + process.on("uncaughtException", (err) => { + ioSession.logError(err, "unknown"); + }); + process.noAsar = true; + ioSession.listen(); + function getGlobalTypingsCacheLocation() { + switch (process.platform) { + case "win32": { + const basePath = process.env.LOCALAPPDATA || process.env.APPDATA || import_os.default.homedir && import_os.default.homedir() || process.env.USERPROFILE || process.env.HOMEDRIVE && process.env.HOMEPATH && (0, typescript_exports.normalizeSlashes)(process.env.HOMEDRIVE + process.env.HOMEPATH) || import_os.default.tmpdir(); + return (0, typescript_exports.combinePaths)((0, typescript_exports.combinePaths)((0, typescript_exports.normalizeSlashes)(basePath), "Microsoft/TypeScript"), typescript_exports.versionMajorMinor); + } + case "openbsd": + case "freebsd": + case "netbsd": + case "darwin": + case "linux": + case "android": { + const cacheLocation = getNonWindowsCacheLocation(process.platform === "darwin"); + return (0, typescript_exports.combinePaths)((0, typescript_exports.combinePaths)(cacheLocation, "typescript"), typescript_exports.versionMajorMinor); + } + default: + return typescript_exports.Debug.fail(`unsupported platform '${process.platform}'`); + } + } + function getNonWindowsCacheLocation(platformIsDarwin) { + if (process.env.XDG_CACHE_HOME) { + return process.env.XDG_CACHE_HOME; + } + const usersDir = platformIsDarwin ? "Users" : "home"; + const homePath = import_os.default.homedir && import_os.default.homedir() || process.env.HOME || (process.env.LOGNAME || process.env.USER) && `/${usersDir}/${process.env.LOGNAME || process.env.USER}` || import_os.default.tmpdir(); + const cacheFolder = platformIsDarwin ? "Library/Caches" : ".cache"; + return (0, typescript_exports.combinePaths)((0, typescript_exports.normalizeSlashes)(homePath), cacheFolder); + } +} + +// src/tsserver/server.ts +function findArgumentStringArray(argName) { + const arg = typescript_exports.server.findArgument(argName); + if (arg === void 0) { + return typescript_exports.emptyArray; + } + return arg.split(",").filter((name) => name !== ""); +} +function start({ args, logger, cancellationToken, serverMode, unknownServerMode, startSession: startServer }, platform) { + logger.info(`Starting TS Server`); + logger.info(`Version: ${typescript_exports.version}`); + logger.info(`Arguments: ${args.join(" ")}`); + logger.info(`Platform: ${platform} NodeVersion: ${process.version} CaseSensitive: ${typescript_exports.sys.useCaseSensitiveFileNames}`); + logger.info(`ServerMode: ${serverMode} hasUnknownServerMode: ${unknownServerMode}`); + typescript_exports.setStackTraceLimit(); + if (typescript_exports.Debug.isDebugging) { + typescript_exports.Debug.enableDebugInfo(); + } + if (typescript_exports.sys.tryEnableSourceMapsForHost && /^development$/i.test(typescript_exports.sys.getEnvironmentVariable("NODE_ENV"))) { + typescript_exports.sys.tryEnableSourceMapsForHost(); + } + console.log = (...args2) => logger.msg(args2.length === 1 ? args2[0] : args2.join(", "), typescript_exports.server.Msg.Info); + console.warn = (...args2) => logger.msg(args2.length === 1 ? args2[0] : args2.join(", "), typescript_exports.server.Msg.Err); + console.error = (...args2) => logger.msg(args2.length === 1 ? args2[0] : args2.join(", "), typescript_exports.server.Msg.Err); + startServer( + { + globalPlugins: findArgumentStringArray("--globalPlugins"), + pluginProbeLocations: findArgumentStringArray("--pluginProbeLocations"), + allowLocalPluginLoads: typescript_exports.server.hasArgument("--allowLocalPluginLoads"), + useSingleInferredProject: typescript_exports.server.hasArgument("--useSingleInferredProject"), + useInferredProjectPerProjectRoot: typescript_exports.server.hasArgument("--useInferredProjectPerProjectRoot"), + suppressDiagnosticEvents: typescript_exports.server.hasArgument("--suppressDiagnosticEvents"), + noGetErrOnBackgroundUpdate: typescript_exports.server.hasArgument("--noGetErrOnBackgroundUpdate"), + canUseWatchEvents: typescript_exports.server.hasArgument("--canUseWatchEvents"), + serverMode + }, + logger, + cancellationToken + ); +} +typescript_exports.setStackTraceLimit(); +start(initializeNodeSystem(), import_os2.default.platform()); +//# sourceMappingURL=_tsserver.js.map diff --git a/node_modules/typescript/lib/_typingsInstaller.js b/node_modules/typescript/lib/_typingsInstaller.js new file mode 100644 index 0000000000..75f0e6978a --- /dev/null +++ b/node_modules/typescript/lib/_typingsInstaller.js @@ -0,0 +1,222 @@ +/*! ***************************************************************************** +Copyright (c) Microsoft Corporation. All rights reserved. +Licensed under the Apache License, Version 2.0 (the "License"); you may not use +this file except in compliance with the License. You may obtain a copy of the +License at http://www.apache.org/licenses/LICENSE-2.0 + +THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED +WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE, +MERCHANTABLITY OR NON-INFRINGEMENT. + +See the Apache Version 2.0 License for specific language governing permissions +and limitations under the License. +***************************************************************************** */ + + +"use strict"; +var __create = Object.create; +var __defProp = Object.defineProperty; +var __getOwnPropDesc = Object.getOwnPropertyDescriptor; +var __getOwnPropNames = Object.getOwnPropertyNames; +var __getProtoOf = Object.getPrototypeOf; +var __hasOwnProp = Object.prototype.hasOwnProperty; +var __copyProps = (to, from, except, desc) => { + if (from && typeof from === "object" || typeof from === "function") { + for (let key of __getOwnPropNames(from)) + if (!__hasOwnProp.call(to, key) && key !== except) + __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable }); + } + return to; +}; +var __reExport = (target, mod, secondTarget) => (__copyProps(target, mod, "default"), secondTarget && __copyProps(secondTarget, mod, "default")); +var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps( + // If the importer is in node compatibility mode or this is not an ESM + // file that has been converted to a CommonJS file using a Babel- + // compatible transform (i.e. "__esModule" has not been set), then set + // "default" to the CommonJS "module.exports" for node compatibility. + isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target, + mod +)); + +// src/typingsInstaller/nodeTypingsInstaller.ts +var import_child_process = require("child_process"); +var fs = __toESM(require("fs")); +var path = __toESM(require("path")); + +// src/typescript/typescript.ts +var typescript_exports = {}; +__reExport(typescript_exports, require("./typescript.js")); + +// src/typingsInstaller/nodeTypingsInstaller.ts +var FileLog = class { + constructor(logFile) { + this.logFile = logFile; + this.isEnabled = () => { + return typeof this.logFile === "string"; + }; + this.writeLine = (text) => { + if (typeof this.logFile !== "string") return; + try { + fs.appendFileSync(this.logFile, `[${typescript_exports.server.nowString()}] ${text}${typescript_exports.sys.newLine}`); + } catch { + this.logFile = void 0; + } + }; + } +}; +function getDefaultNPMLocation(processName, validateDefaultNpmLocation2, host) { + if (path.basename(processName).indexOf("node") === 0) { + const npmPath = path.join(path.dirname(process.argv[0]), "npm"); + if (!validateDefaultNpmLocation2) { + return npmPath; + } + if (host.fileExists(npmPath)) { + return `"${npmPath}"`; + } + } + return "npm"; +} +function loadTypesRegistryFile(typesRegistryFilePath, host, log2) { + if (!host.fileExists(typesRegistryFilePath)) { + if (log2.isEnabled()) { + log2.writeLine(`Types registry file '${typesRegistryFilePath}' does not exist`); + } + return /* @__PURE__ */ new Map(); + } + try { + const content = JSON.parse(host.readFile(typesRegistryFilePath)); + return new Map(Object.entries(content.entries)); + } catch (e) { + if (log2.isEnabled()) { + log2.writeLine(`Error when loading types registry file '${typesRegistryFilePath}': ${e.message}, ${e.stack}`); + } + return /* @__PURE__ */ new Map(); + } +} +var typesRegistryPackageName = "types-registry"; +function getTypesRegistryFileLocation(globalTypingsCacheLocation2) { + return (0, typescript_exports.combinePaths)((0, typescript_exports.normalizeSlashes)(globalTypingsCacheLocation2), `node_modules/${typesRegistryPackageName}/index.json`); +} +var NodeTypingsInstaller = class extends typescript_exports.server.typingsInstaller.TypingsInstaller { + constructor(globalTypingsCacheLocation2, typingSafeListLocation2, typesMapLocation2, npmLocation2, validateDefaultNpmLocation2, throttleLimit, log2) { + const libDirectory = (0, typescript_exports.getDirectoryPath)((0, typescript_exports.normalizePath)(typescript_exports.sys.getExecutingFilePath())); + super( + typescript_exports.sys, + globalTypingsCacheLocation2, + typingSafeListLocation2 ? (0, typescript_exports.toPath)(typingSafeListLocation2, "", (0, typescript_exports.createGetCanonicalFileName)(typescript_exports.sys.useCaseSensitiveFileNames)) : (0, typescript_exports.toPath)("typingSafeList.json", libDirectory, (0, typescript_exports.createGetCanonicalFileName)(typescript_exports.sys.useCaseSensitiveFileNames)), + typesMapLocation2 ? (0, typescript_exports.toPath)(typesMapLocation2, "", (0, typescript_exports.createGetCanonicalFileName)(typescript_exports.sys.useCaseSensitiveFileNames)) : (0, typescript_exports.toPath)("typesMap.json", libDirectory, (0, typescript_exports.createGetCanonicalFileName)(typescript_exports.sys.useCaseSensitiveFileNames)), + throttleLimit, + log2 + ); + this.npmPath = npmLocation2 !== void 0 ? npmLocation2 : getDefaultNPMLocation(process.argv[0], validateDefaultNpmLocation2, this.installTypingHost); + if (this.npmPath.includes(" ") && this.npmPath[0] !== `"`) { + this.npmPath = `"${this.npmPath}"`; + } + if (this.log.isEnabled()) { + this.log.writeLine(`Process id: ${process.pid}`); + this.log.writeLine(`NPM location: ${this.npmPath} (explicit '${typescript_exports.server.Arguments.NpmLocation}' ${npmLocation2 === void 0 ? "not " : ""} provided)`); + this.log.writeLine(`validateDefaultNpmLocation: ${validateDefaultNpmLocation2}`); + } + this.ensurePackageDirectoryExists(globalTypingsCacheLocation2); + try { + if (this.log.isEnabled()) { + this.log.writeLine(`Updating ${typesRegistryPackageName} npm package...`); + } + this.execSyncAndLog(`${this.npmPath} install --ignore-scripts ${typesRegistryPackageName}@${this.latestDistTag}`, { cwd: globalTypingsCacheLocation2 }); + if (this.log.isEnabled()) { + this.log.writeLine(`Updated ${typesRegistryPackageName} npm package`); + } + } catch (e) { + if (this.log.isEnabled()) { + this.log.writeLine(`Error updating ${typesRegistryPackageName} package: ${e.message}`); + } + this.delayedInitializationError = { + kind: "event::initializationFailed", + message: e.message, + stack: e.stack + }; + } + this.typesRegistry = loadTypesRegistryFile(getTypesRegistryFileLocation(globalTypingsCacheLocation2), this.installTypingHost, this.log); + } + handleRequest(req) { + if (this.delayedInitializationError) { + this.sendResponse(this.delayedInitializationError); + this.delayedInitializationError = void 0; + } + super.handleRequest(req); + } + sendResponse(response) { + if (this.log.isEnabled()) { + this.log.writeLine(`Sending response:${typescript_exports.server.stringifyIndented(response)}`); + } + process.send(response); + if (this.log.isEnabled()) { + this.log.writeLine(`Response has been sent.`); + } + } + installWorker(requestId, packageNames, cwd, onRequestCompleted) { + if (this.log.isEnabled()) { + this.log.writeLine(`#${requestId} with cwd: ${cwd} arguments: ${JSON.stringify(packageNames)}`); + } + const start = Date.now(); + const hasError = typescript_exports.server.typingsInstaller.installNpmPackages(this.npmPath, typescript_exports.version, packageNames, (command) => this.execSyncAndLog(command, { cwd })); + if (this.log.isEnabled()) { + this.log.writeLine(`npm install #${requestId} took: ${Date.now() - start} ms`); + } + onRequestCompleted(!hasError); + } + /** Returns 'true' in case of error. */ + execSyncAndLog(command, options) { + if (this.log.isEnabled()) { + this.log.writeLine(`Exec: ${command}`); + } + try { + const stdout = (0, import_child_process.execSync)(command, { ...options, encoding: "utf-8" }); + if (this.log.isEnabled()) { + this.log.writeLine(` Succeeded. stdout:${indent(typescript_exports.sys.newLine, stdout)}`); + } + return false; + } catch (error) { + const { stdout, stderr } = error; + this.log.writeLine(` Failed. stdout:${indent(typescript_exports.sys.newLine, stdout)}${typescript_exports.sys.newLine} stderr:${indent(typescript_exports.sys.newLine, stderr)}`); + return true; + } + } +}; +var logFilePath = typescript_exports.server.findArgument(typescript_exports.server.Arguments.LogFile); +var globalTypingsCacheLocation = typescript_exports.server.findArgument(typescript_exports.server.Arguments.GlobalCacheLocation); +var typingSafeListLocation = typescript_exports.server.findArgument(typescript_exports.server.Arguments.TypingSafeListLocation); +var typesMapLocation = typescript_exports.server.findArgument(typescript_exports.server.Arguments.TypesMapLocation); +var npmLocation = typescript_exports.server.findArgument(typescript_exports.server.Arguments.NpmLocation); +var validateDefaultNpmLocation = typescript_exports.server.hasArgument(typescript_exports.server.Arguments.ValidateDefaultNpmLocation); +var log = new FileLog(logFilePath); +if (log.isEnabled()) { + process.on("uncaughtException", (e) => { + log.writeLine(`Unhandled exception: ${e} at ${e.stack}`); + }); +} +process.on("disconnect", () => { + if (log.isEnabled()) { + log.writeLine(`Parent process has exited, shutting down...`); + } + process.exit(0); +}); +var installer; +process.on("message", (req) => { + installer ?? (installer = new NodeTypingsInstaller( + globalTypingsCacheLocation, + typingSafeListLocation, + typesMapLocation, + npmLocation, + validateDefaultNpmLocation, + /*throttleLimit*/ + 5, + log + )); + installer.handleRequest(req); +}); +function indent(newline, str) { + return str && str.length ? `${newline} ` + str.replace(/\r?\n/, `${newline} `) : ""; +} +//# sourceMappingURL=_typingsInstaller.js.map diff --git a/node_modules/typescript/lib/cs/diagnosticMessages.generated.json b/node_modules/typescript/lib/cs/diagnosticMessages.generated.json index f9a9d190b5..908f0565fd 100644 --- a/node_modules/typescript/lib/cs/diagnosticMessages.generated.json +++ b/node_modules/typescript/lib/cs/diagnosticMessages.generated.json @@ -179,6 +179,8 @@ "Add_override_modifier_95160": "Přidat modifikátor override", "Add_parameter_name_90034": "Přidat název parametru", "Add_qualifier_to_all_unresolved_variables_matching_a_member_name_95037": "Přidat kvalifikátor do všech nerozpoznaných proměnných odpovídajících názvu členu", + "Add_resolution_mode_import_attribute_95196": "Přidat atribut importu resolution-mode", + "Add_resolution_mode_import_attribute_to_all_type_only_imports_that_need_it_95197": "Přidat atribut importu resolution-mode do všech importů, při kterých se importuje pouze typ, které ho potřebují", "Add_return_type_0_90063": "Přidejte návratový typ „{0}“", "Add_satisfies_and_a_type_assertion_to_this_expression_satisfies_T_as_T_to_make_the_type_explicit_9035": "Chcete-li typ nastavit jako explicitní, přidejte do tohoto výrazu operátor „satisfies“ a kontrolní výraz typu („satisfies T as T“).", "Add_satisfies_and_an_inline_type_assertion_with_0_90068": "Přidejte operátor „satisfies“ a kontrolní výraz vloženého typu s „{0}“.", @@ -299,7 +301,7 @@ "Assertions_require_the_call_target_to_be_an_identifier_or_qualified_name_2776": "Kontrolní výrazy vyžadují, aby cíl volání byl identifikátor, nebo kvalifikovaný název.", "Assigning_properties_to_functions_without_declaring_them_is_not_supported_with_isolatedDeclarations__9023": "Přiřazování vlastností funkcím bez jejich deklarování není u s možností --isolatedDeclarations podporováno. Přidejte explicitní deklaraci pro vlastnosti přiřazené k této funkci.", "Asterisk_Slash_expected_1010": "Očekával se znak */.", - "At_least_one_accessor_must_have_an_explicit_return_type_annotation_with_isolatedDeclarations_9009": "Alespoň jeden přistupující objekt musí mít explicitní anotaci návratového typu s možností --isolatedDeclarations.", + "At_least_one_accessor_must_have_an_explicit_type_annotation_with_isolatedDeclarations_9009": "Minimálně jeden přistupující objekt musí mít explicitní anotaci typu s možností --isolatedDeclarations.", "Augmentations_for_the_global_scope_can_only_be_directly_nested_in_external_modules_or_ambient_module_2669": "Rozšíření pro globální rozsah může být jenom přímo vnořené v externích modulech nebo deklaracích ambientního modulu.", "Augmentations_for_the_global_scope_should_have_declare_modifier_unless_they_appear_in_already_ambien_2670": "Rozšíření pro globální rozsah by měla mít modifikátor declare, pokud se neobjeví v kontextu, který je už ambientní.", "Auto_discovery_for_typings_is_enabled_in_project_0_Running_extra_resolution_pass_for_module_1_using__6140": "Automatické zjišťování pro psaní je povolené v projektu {0}. Spouští se speciální průchod řešení pro modul {1} prostřednictvím umístění mezipaměti {2}.", @@ -543,7 +545,7 @@ "Declaration_emit_for_this_file_requires_preserving_this_import_for_augmentations_This_is_not_support_9026": "Generování deklarace pro tento soubor vyžaduje zachování tohoto importu pro rozšíření. Toto není podporováno s možností --isolatedDeclarations.", "Declaration_emit_for_this_file_requires_using_private_name_0_An_explicit_type_annotation_may_unblock_9005": "Generování deklarací pro tento soubor vyžaduje, aby se použil privátní název {0}. Explicitní anotace typu může generování deklarací odblokovat.", "Declaration_emit_for_this_file_requires_using_private_name_0_from_module_1_An_explicit_type_annotati_9006": "Generování deklarací pro tento soubor vyžaduje, aby se použil privátní název {0} z modulu {1}. Explicitní anotace typu může generování deklarací odblokovat.", - "Declaration_emit_for_this_parameter_requires_implicitly_adding_undefined_to_it_s_type_This_is_not_su_9025": "Generování deklarace pro tento parametr vyžaduje implicitně přidání možnosti „undefined“ do jeho typu. Toto není podporováno s možností --isolatedDeclarations.", + "Declaration_emit_for_this_parameter_requires_implicitly_adding_undefined_to_its_type_This_is_not_sup_9025": "Generování deklarace pro tento parametr vyžaduje implicitní přidání možnosti „undefined“ do jeho typu. Není podporováno s možností „--isolatedDeclarations“.", "Declaration_expected_1146": "Očekává se deklarace.", "Declaration_name_conflicts_with_built_in_global_identifier_0_2397": "Název deklarace je v konfliktu s integrovaným globálním identifikátorem {0}.", "Declaration_or_statement_expected_1128": "Očekává se deklarace nebo příkaz.", @@ -850,7 +852,7 @@ "Generates_an_event_trace_and_a_list_of_types_6237": "Generuje trasování události a seznam typů.", "Generates_corresponding_d_ts_file_6002": "Generuje odpovídající soubor .d.ts.", "Generates_corresponding_map_file_6043": "Generuje odpovídající soubor .map.", - "Generator_implicitly_has_yield_type_0_because_it_does_not_yield_any_values_Consider_supplying_a_retu_7025": "Generátor má implicitně typ yield {0}, protože nevydává žádné hodnoty. Zvažte možnost přidat anotaci návratového typu.", + "Generator_implicitly_has_yield_type_0_Consider_supplying_a_return_type_annotation_7025": "Generátor má implicitně typ yield {0}. Zvažte možnost přidat anotaci návratového typu.", "Generators_are_not_allowed_in_an_ambient_context_1221": "Generátory nejsou v ambientním kontextu povolené.", "Generic_type_0_requires_1_type_argument_s_2314": "Obecný typ {0} vyžaduje argumenty typu {1}.", "Generic_type_0_requires_between_1_and_2_type_arguments_2707": "Obecný typ {0} vyžaduje konkrétní počet argumentů ({1} až {2}).", @@ -907,6 +909,7 @@ "Imported_via_0_from_file_1_with_packageId_2_1394": "Importováno přes {0} ze souboru {1} s packageId {2}", "Imported_via_0_from_file_1_with_packageId_2_to_import_importHelpers_as_specified_in_compilerOptions_1396": "Importováno přes {0} ze souboru {1} s packageId {2}, aby se provedl import importHelpers tak, jak je to zadáno v compilerOptions", "Imported_via_0_from_file_1_with_packageId_2_to_import_jsx_and_jsxs_factory_functions_1398": "Importováno přes {0} ze souboru {1} s packageId {2}, aby se provedl import výrobních funkcí jsx a jsxs", + "Importing_a_JSON_file_into_an_ECMAScript_module_requires_a_type_Colon_json_import_attribute_when_mod_1543": "Import souboru JSON do modulu ECMAScript vyžaduje atribut importu type: \"json\", pokud je možnost module nastavená na {0}.", "Imports_are_not_permitted_in_module_augmentations_Consider_moving_them_to_the_enclosing_external_mod_2667": "Importy nejsou povolené v rozšířeních modulů. Zvažte jejich přesunutí do uzavírajícího externího modulu.", "In_ambient_enum_declarations_member_initializer_must_be_constant_expression_1066": "Inicializátor členu v deklaracích ambientního výčtu musí být konstantní výraz.", "In_an_enum_with_multiple_declarations_only_one_declaration_can_omit_an_initializer_for_its_first_enu_2432": "Ve výčtu s víc deklaracemi může být jenom u jedné deklarace vynechaný inicializátor u prvního elementu výčtu.", @@ -1059,6 +1062,7 @@ "Name_is_not_valid_95136": "Název není platný.", "Named_capturing_groups_are_only_available_when_targeting_ES2018_or_later_1503": "Pojmenované zachytávací skupiny jsou k dispozici jen při cílení na „ES2018“ nebo novější.", "Named_capturing_groups_with_the_same_name_must_be_mutually_exclusive_to_each_other_1515": "Pojmenované zachytávací skupiny se stejným názvem se musí navzájem vylučovat.", + "Named_imports_from_a_JSON_file_into_an_ECMAScript_module_are_not_allowed_when_module_is_set_to_0_1544": "Pojmenované importy ze souboru JSON do modulu ECMAScript nejsou povolené, když je možnost module nastavená na {0}.", "Named_property_0_of_types_1_and_2_are_not_identical_2319": "Pojmenovaná vlastnost {0} není u typu {1} stejná jako u typu {2}.", "Namespace_0_has_no_exported_member_1_2694": "Obor názvů {0} nemá žádný exportovaný člen {1}.", "Namespace_must_be_given_a_name_1437": "Obor názvů musí mít název.", @@ -1143,7 +1147,6 @@ "Option_project_cannot_be_mixed_with_source_files_on_a_command_line_5042": "Možnost project se na příkazovém řádku nedá kombinovat se zdrojovým souborem.", "Option_resolveJsonModule_cannot_be_specified_when_moduleResolution_is_set_to_classic_5070": "Možnost „--resolveJsonModule“ se nedá zadat, pokud je možnost „moduleResolution“ nastavená na hodnotu „classic“.", "Option_resolveJsonModule_cannot_be_specified_when_module_is_set_to_none_system_or_umd_5071": "Možnost „--resolveJsonModule“ se nedá zadat, pokud je možnost „module“ nastavená na „none“, „system“ nebo „umd“.", - "Option_tsBuildInfoFile_cannot_be_specified_without_specifying_option_incremental_or_composite_or_if__5111": "Možnost „tsBuildInfoFile“ nelze zadat bez zadání možnosti „incremental“ nebo „composite“ nebo pokud není spuštěno „tsc -b“.", "Option_verbatimModuleSyntax_cannot_be_used_when_module_is_set_to_UMD_AMD_or_System_5105": "Možnost „verbatimModuleSyntax“ nejde použít, pokud je možnost „module“ nastavená na „UMD“, „AMD“ nebo „System“.", "Options_0_and_1_cannot_be_combined_6370": "Možnosti {0} a {1} nejde kombinovat.", "Options_Colon_6027": "Možnosti:", @@ -1413,6 +1416,7 @@ "Reusing_resolution_of_type_reference_directive_0_from_1_of_old_program_it_was_successfully_resolved__6391": "Opětovné použití překladu direktivy typu reference {0} z {1} starého programu bylo úspěšně vyřešeno na {2} s ID balíčku {3}.", "Rewrite_all_as_indexed_access_types_95034": "Přepsat vše jako indexované typy přístupu", "Rewrite_as_the_indexed_access_type_0_90026": "Přepsat jako indexovaný typ přístupu {0}", + "Rewrite_ts_tsx_mts_and_cts_file_extensions_in_relative_import_paths_to_their_JavaScript_equivalent_i_6421": "Přepište přípony souborů .ts, .tsx, .mts a .cts v relativních cestách importu na jejich javascriptový ekvivalent ve výstupních souborech.", "Right_operand_of_is_unreachable_because_the_left_operand_is_never_nullish_2869": "Pravý operand ?? je nedostupný, protože levý operand nemá nikdy hodnotu null.", "Root_directory_cannot_be_determined_skipping_primary_search_paths_6122": "Nedá se určit kořenový adresář, přeskakují se primární cesty hledání.", "Root_file_specified_for_compilation_1427": "Kořenový soubor, který se zadal pro kompilaci", @@ -1633,6 +1637,8 @@ "There_are_types_at_0_but_this_result_could_not_be_resolved_when_respecting_package_json_exports_The__6278": "V „{0}“ jsou typy, ale tento výsledek se při respektování pole „exports“ souboru package.json nepodařilo vyřešit. Knihovna „{1}“ bude pravděpodobně muset aktualizovat svůj soubor package.json nebo typings.", "There_is_no_capturing_group_named_0_in_this_regular_expression_1532": "V tomto regulárním výrazu není žádná zachycující skupina s názvem „{0}“.", "There_is_nothing_available_for_repetition_1507": "Není k dispozici nic pro opakování.", + "This_JSX_tag_requires_0_to_be_in_scope_but_it_could_not_be_found_2874": "Tato značka JSX vyžaduje, aby objekt pro vytváření fragmentů {0} byl v oboru, ale nepovedlo se ho najít.", + "This_JSX_tag_requires_the_module_path_0_to_exist_but_none_could_be_found_Make_sure_you_have_types_fo_2875": "Tato značka JSX vyžaduje, aby existovala cesta k modulu {0}, ale žádná nebyla nalezena. Ujistěte se, že máte nainstalované typy pro příslušný balíček.", "This_JSX_tag_s_0_prop_expects_a_single_child_of_type_1_but_multiple_children_were_provided_2746": "Vlastnost {0} této značky JSX očekává jeden podřízený objekt typu {1}, ale poskytlo se jich více.", "This_JSX_tag_s_0_prop_expects_type_1_which_requires_multiple_children_but_only_a_single_child_was_pr_2745": "Vlastnost {0} této značky JSX očekává typ {1}, který vyžaduje více podřízených objektů, ale zadal se jen jeden.", "This_backreference_refers_to_a_group_that_does_not_exist_There_are_no_capturing_groups_in_this_regul_1534": "Tento zpětný odkaz odkazuje na skupinu, která neexistuje. V tomto regulárním výrazu nejsou žádné zachytávací skupiny.", @@ -1650,6 +1656,8 @@ "This_expression_is_not_callable_because_it_is_a_get_accessor_Did_you_mean_to_use_it_without_6234": "Tento výraz se nedá volat, protože je to přístupový objekt get. Nechtěli jste ho použít bez ()?", "This_expression_is_not_constructable_2351": "Tento výraz se nedá vytvořit.", "This_file_already_has_a_default_export_95130": "Tento soubor už má výchozí export.", + "This_import_path_is_unsafe_to_rewrite_because_it_resolves_to_another_project_and_the_relative_path_b_2878": "Přepsání této cesty importu není bezpečné, protože cesta se překládá na jiný projekt a relativní cesta mezi výstupními soubory projektů není stejná jako relativní cesta mezi příslušnými vstupními soubory.", + "This_import_uses_a_0_extension_to_resolve_to_an_input_TypeScript_file_but_will_not_be_rewritten_duri_2877": "Tento import používá k překladu na vstupní soubor TypeScript rozšíření {0}, ale během generování se nepřepíše, protože se nejedná o relativní cestu.", "This_is_the_declaration_being_augmented_Consider_moving_the_augmenting_declaration_into_the_same_fil_6233": "Toto je deklarace, která se rozšiřuje. Zvažte možnost přesunout rozšiřující deklaraci do stejného souboru.", "This_kind_of_expression_is_always_falsy_2873": "Tento druh výrazu je vždy nepravdivý.", "This_kind_of_expression_is_always_truthy_2872": "Tento druh výrazu je vždy pravdivý.", @@ -1673,6 +1681,7 @@ "This_parameter_property_must_have_an_override_modifier_because_it_overrides_a_member_in_base_class_0_4115": "Tato vlastnost parametru musí mít modifikátor override, protože přepisuje člen v základní třídě {0}.", "This_regular_expression_flag_cannot_be_toggled_within_a_subpattern_1509": "Tento příznak regulárního výrazu nelze přepnout v rámci dílčího vzoru.", "This_regular_expression_flag_is_only_available_when_targeting_0_or_later_1501": "Tento příznak regulárního výrazu je k dispozici pouze při cílení na „{0}“ nebo novější.", + "This_relative_import_path_is_unsafe_to_rewrite_because_it_looks_like_a_file_name_but_actually_resolv_2876": "Přepsání této relativní cesty importu není bezpečné, protože cesta vypadá jako název souboru, ale ve skutečnosti se překládá na {0}.", "This_spread_always_overwrites_this_property_2785": "Tento rozsah vždy přepíše tuto vlastnost.", "This_syntax_is_reserved_in_files_with_the_mts_or_cts_extension_Add_a_trailing_comma_or_explicit_cons_7060": "Tato syntaxe je vyhrazená pro soubory s příponou .mts nebo .cts. Přidejte koncovou čárku nebo explicitní omezení.", "This_syntax_is_reserved_in_files_with_the_mts_or_cts_extension_Use_an_as_expression_instead_7059": "Tato syntaxe je vyhrazená pro soubory s příponou .mts nebo .cts. Místo toho použijte výraz „as“.", @@ -1748,6 +1757,7 @@ "Type_expected_1110": "Očekával se typ.", "Type_import_assertions_should_have_exactly_one_key_resolution_mode_with_value_import_or_require_1456": "Kontrolní výrazy importu typů by měly mít přesně jeden klíč – resolution-mode – s hodnotou import nebo require.", "Type_import_attributes_should_have_exactly_one_key_resolution_mode_with_value_import_or_require_1464": "Atributy importu typů by měly mít přesně jeden klíč – „resolution-mode“ – s hodnotou „import“ nebo „require“.", + "Type_import_of_an_ECMAScript_module_from_a_CommonJS_module_must_have_a_resolution_mode_attribute_1542": "Import typu modulu ECMAScript z modulu CommonJS musí mít atribut resolution-mode.", "Type_instantiation_is_excessively_deep_and_possibly_infinite_2589": "Vytvoření instance typu je příliš hluboké a může být nekonečné.", "Type_is_referenced_directly_or_indirectly_in_the_fulfillment_callback_of_its_own_then_method_1062": "Typ se přímo nebo nepřímo odkazuje ve zpětném volání jeho vlastní metody then při splnění.", "Type_library_referenced_via_0_from_file_1_1402": "Knihovna typů, na kterou se odkazuje přes {0} ze souboru {1}", @@ -1758,6 +1768,7 @@ "Type_of_iterated_elements_of_a_yield_Asterisk_operand_must_either_be_a_valid_promise_or_must_not_con_1322": "Typ iterovaných elementů yield* musí být buď platný příslib, nebo nesmí obsahovat člen then, který se dá volat.", "Type_of_property_0_circularly_references_itself_in_mapped_type_1_2615": "Typ vlastnosti {0} cyklicky odkazuje sám na sebe v mapovaném typu {1}.", "Type_of_yield_operand_in_an_async_generator_must_either_be_a_valid_promise_or_must_not_contain_a_cal_1321": "Typ operandu yield v asynchronním generátoru musí být buď platný příslib, nebo nesmí obsahovat člen then, který se dá volat.", + "Type_only_import_of_an_ECMAScript_module_from_a_CommonJS_module_must_have_a_resolution_mode_attribut_1541": "Import, při kterém se importuje pouze typ modulu ECMAScript z modulu CommonJS, musí mít atribut resolution-mode.", "Type_originates_at_this_import_A_namespace_style_import_cannot_be_called_or_constructed_and_will_cau_7038": "Typ pochází z tohoto importu. Import stylu oboru názvů není možné zavolat ani vytvořit a při běhu způsobí chybu. Zvažte možnost použít tady místo toho výchozí import nebo importovat require.", "Type_parameter_0_has_a_circular_constraint_2313": "Parametr typu {0} má cyklické omezení.", "Type_parameter_0_has_a_circular_default_2716": "Parametr typu {0} má cyklickou výchozí hodnotu.", @@ -1844,6 +1855,7 @@ "Use_the_package_json_imports_field_when_resolving_imports_6409": "Při řešení importů použijte pole „imports“ v souboru package.json.", "Use_type_0_95181": "Použijte „type {0}„.", "Using_0_subpath_1_with_target_2_6404": "Používá se {0} dílčí cesta {1} s cílem {2}.", + "Using_JSX_fragments_requires_fragment_factory_0_to_be_in_scope_but_it_could_not_be_found_2879": "Použití fragmentů JSX vyžaduje, aby objekt pro vytváření fragmentů {0} byl v oboru, ale nepovedlo se ho najít.", "Using_a_string_in_a_for_of_statement_is_only_supported_in_ECMAScript_5_and_higher_2494": "Použití řetězce v příkazu for...of se podporuje jenom v ECMAScript 5 nebo vyšší verzi.", "Using_build_b_will_make_tsc_behave_more_like_a_build_orchestrator_than_a_compiler_This_is_used_to_tr_6915": "Použití --build, -b způsobí, že se tsc bude chovat spíše jako orchestrátor sestavení než kompilátor. Pomocí této možnosti můžete aktivovat vytváření složených projektů, o kterých se můžete dozvědět více {0}", "Using_compiler_options_of_project_reference_redirect_0_6215": "Using compiler options of project reference redirect '{0}'.", diff --git a/node_modules/typescript/lib/de/diagnosticMessages.generated.json b/node_modules/typescript/lib/de/diagnosticMessages.generated.json index ef387656e4..a0db4c55a3 100644 --- a/node_modules/typescript/lib/de/diagnosticMessages.generated.json +++ b/node_modules/typescript/lib/de/diagnosticMessages.generated.json @@ -179,6 +179,8 @@ "Add_override_modifier_95160": "override-Modifizierer hinzufügen", "Add_parameter_name_90034": "Parameternamen hinzufügen", "Add_qualifier_to_all_unresolved_variables_matching_a_member_name_95037": "Allen nicht aufgelösten Variablen, die einem Membernamen entsprechen, Qualifizierer hinzufügen", + "Add_resolution_mode_import_attribute_95196": "Hinzufügen des Importattributs für den Auflösungsmodus (resolution-mode)", + "Add_resolution_mode_import_attribute_to_all_type_only_imports_that_need_it_95197": "Hinzufügen des Importattributs für den Auflösungsmodus (resolution-mode) für alle reinen Typimporte, die dieses Attribut benötigen", "Add_return_type_0_90063": "Rückgabetyp \"{0}\" hinzufügen", "Add_satisfies_and_a_type_assertion_to_this_expression_satisfies_T_as_T_to_make_the_type_explicit_9035": "Fügen Sie diesem Ausdruck Erfüllungen und eine Typassertion hinzu (entspricht T als T), um den Typ explizit zu machen.", "Add_satisfies_and_an_inline_type_assertion_with_0_90068": "Erfüllungen und eine Inlinetypassertion mit \"{0}\" hinzufügen", @@ -299,7 +301,7 @@ "Assertions_require_the_call_target_to_be_an_identifier_or_qualified_name_2776": "Assertionen erfordern, dass das Aufrufziel ein Bezeichner oder ein qualifizierter Name ist.", "Assigning_properties_to_functions_without_declaring_them_is_not_supported_with_isolatedDeclarations__9023": "Das Zuweisen von Eigenschaften zu Funktionen ohne Deklaration wird mit \"--isolatedDeclarations\" nicht unterstützt. Fügen Sie eine explizite Deklaration für die Eigenschaften hinzu, die dieser Funktion zugewiesen sind.", "Asterisk_Slash_expected_1010": "\"*/\" wurde erwartet.", - "At_least_one_accessor_must_have_an_explicit_return_type_annotation_with_isolatedDeclarations_9009": "Mindestens ein Accessor muss eine explizite Rückgabetypanmerkung mit \"--isolatedDeclarations\" aufweisen.", + "At_least_one_accessor_must_have_an_explicit_type_annotation_with_isolatedDeclarations_9009": "Mindestens ein Accessor muss über eine explizite Typanmerkung mit „--isolatedDeclarations“ verfügen.", "Augmentations_for_the_global_scope_can_only_be_directly_nested_in_external_modules_or_ambient_module_2669": "Erweiterungen für den globalen Bereich können nur in externen Modulen oder Umgebungsmoduldeklarationen direkt geschachtelt werden.", "Augmentations_for_the_global_scope_should_have_declare_modifier_unless_they_appear_in_already_ambien_2670": "Erweiterungen für den globalen Bereich sollten den Modifizierer \"declare\" aufweisen, wenn sie nicht bereits in einem Umgebungskontext auftreten.", "Auto_discovery_for_typings_is_enabled_in_project_0_Running_extra_resolution_pass_for_module_1_using__6140": "In Projekt \"{0}\" ist die automatische Erkennung von Eingaben aktiviert. Es wird ein zusätzlicher Auflösungsdurchlauf für das Modul \"{1}\" unter Verwendung von Cachespeicherort \"{2}\" ausgeführt.", @@ -543,7 +545,7 @@ "Declaration_emit_for_this_file_requires_preserving_this_import_for_augmentations_This_is_not_support_9026": "Die Deklarationsausgabe für diese Datei erfordert, dass dieser Import für Augmentationen beibehalten wird. Dies wird mit \"--isolatedDeclarations\" nicht unterstützt.", "Declaration_emit_for_this_file_requires_using_private_name_0_An_explicit_type_annotation_may_unblock_9005": "Zur Deklarationsausgabe für diese Datei muss der private Name \"{0}\" verwendet werden. Eine explizite Typanmerkung kann die Deklarationsausgabe freigeben.", "Declaration_emit_for_this_file_requires_using_private_name_0_from_module_1_An_explicit_type_annotati_9006": "Zur Deklarationsausgabe für diese Datei muss der private Name \"{0}\" aus dem Modul \"{1}\" verwendet werden. Eine explizite Typanmerkung kann die Deklarationsausgabe freigeben.", - "Declaration_emit_for_this_parameter_requires_implicitly_adding_undefined_to_it_s_type_This_is_not_su_9025": "Die Deklarationsausgabe für diesen Parameter erfordert das implizit undefinierte Hinzufügen zum Typ. Dies wird mit \"--isolatedDeclarations\" nicht unterstützt.", + "Declaration_emit_for_this_parameter_requires_implicitly_adding_undefined_to_its_type_This_is_not_sup_9025": "Die Deklarationsausgabe für diesen Parameter erfordert das implizit undefinierte Hinzufügen zum Typ. Dies wird mit „--isolatedDeclarations“ nicht unterstützt.", "Declaration_expected_1146": "Es wurde eine Deklaration erwartet.", "Declaration_name_conflicts_with_built_in_global_identifier_0_2397": "Der Deklarationsname steht in Konflikt mit dem integrierten globalen Bezeichner \"{0}\".", "Declaration_or_statement_expected_1128": "Es wurde eine Deklaration oder Anweisung erwartet.", @@ -850,7 +852,7 @@ "Generates_an_event_trace_and_a_list_of_types_6237": "Generiert eine Ereignisablaufverfolgung und eine Liste von Typen.", "Generates_corresponding_d_ts_file_6002": "Generiert die entsprechende .d.ts-Datei.", "Generates_corresponding_map_file_6043": "Generiert die entsprechende MAP-Datei.", - "Generator_implicitly_has_yield_type_0_because_it_does_not_yield_any_values_Consider_supplying_a_retu_7025": "Der Generator weist implizit den yield-Typ \"{0}\" auf, weil er keine Werte ausgibt. Erwägen Sie die Angabe einer Rückgabetypanmerkung.", + "Generator_implicitly_has_yield_type_0_Consider_supplying_a_return_type_annotation_7025": "Der Generator hat implizit den Yield-Typ '{0}'. Erwägen Sie die Angabe eines Rückgabetyps.", "Generators_are_not_allowed_in_an_ambient_context_1221": "Generatoren sind in einem Umgebungskontext unzulässig.", "Generic_type_0_requires_1_type_argument_s_2314": "Der generische Typ \"{0}\" erfordert {1} Typargument(e).", "Generic_type_0_requires_between_1_and_2_type_arguments_2707": "Der generische Typ \"{0}\" benötigt zwischen {1} und {2} Typargumente.", @@ -907,6 +909,7 @@ "Imported_via_0_from_file_1_with_packageId_2_1394": "Importiert über \"{0}\" aus der Datei \"{1}\" mit packageId \"{2}\"", "Imported_via_0_from_file_1_with_packageId_2_to_import_importHelpers_as_specified_in_compilerOptions_1396": "Importiert über \"{0}\" aus der Datei \"{1}\" mit packageId \"{2}\" zum Importieren von \"importHelpers\", wie in \"compilerOptions\" angegeben", "Imported_via_0_from_file_1_with_packageId_2_to_import_jsx_and_jsxs_factory_functions_1398": "Importiert über \"{0}\" aus der Datei \"{1}\" mit packageId \"{2}\" zum Importieren der Factoryfunktionen \"jsx\" und \"jsxs\"", + "Importing_a_JSON_file_into_an_ECMAScript_module_requires_a_type_Colon_json_import_attribute_when_mod_1543": "\"Das Importieren einer JSON-Datei in ein ECMAScript-Modul erfordert ein Importattribut 'type: \"json\"', wenn 'module' auf '{0}' gesetzt ist.", "Imports_are_not_permitted_in_module_augmentations_Consider_moving_them_to_the_enclosing_external_mod_2667": "Importe sind in Modulerweiterungen unzulässig. Verschieben Sie diese ggf. in das einschließende externe Modul.", "In_ambient_enum_declarations_member_initializer_must_be_constant_expression_1066": "In Umgebungsenumerationsdeklarationen muss der Memberinitialisierer ein konstanter Ausdruck sein.", "In_an_enum_with_multiple_declarations_only_one_declaration_can_omit_an_initializer_for_its_first_enu_2432": "In einer Enumeration mit mehreren Deklarationen kann nur eine Deklaration einen Initialisierer für das erste Enumerationselement ausgeben.", @@ -1059,6 +1062,7 @@ "Name_is_not_valid_95136": "Der Name ist ungültig.", "Named_capturing_groups_are_only_available_when_targeting_ES2018_or_later_1503": "Benannte Erfassungsgruppen sind nur verfügbar, wenn das Ziel \"ES2018\" oder höher ist.", "Named_capturing_groups_with_the_same_name_must_be_mutually_exclusive_to_each_other_1515": "Benannte Erfassungsgruppen mit demselben Namen müssen sich gegenseitig ausschließen.", + "Named_imports_from_a_JSON_file_into_an_ECMAScript_module_are_not_allowed_when_module_is_set_to_0_1544": "Benannte Importe aus einer JSON-Datei in ein ECMAScript-Modul sind nicht erlaubt, wenn 'module' auf '{0}'.", "Named_property_0_of_types_1_and_2_are_not_identical_2319": "Die benannte Eigenschaft \"{0}\" der Typen \"{1}\" und \"{2}\" ist nicht identisch.", "Namespace_0_has_no_exported_member_1_2694": "Der Namespace \"{0}\" besitzt keinen exportierten Member \"{1}\".", "Namespace_must_be_given_a_name_1437": "Namespace muss einen Namen erhalten.", @@ -1143,7 +1147,6 @@ "Option_project_cannot_be_mixed_with_source_files_on_a_command_line_5042": "Die Option \"project\" darf nicht mit Quelldateien in einer Befehlszeile kombiniert werden.", "Option_resolveJsonModule_cannot_be_specified_when_moduleResolution_is_set_to_classic_5070": "Die Option \"--resolveJsonModule\" kann nicht angegeben werden, wenn \"moduleResolution\" auf \"classic\" festgelegt ist.", "Option_resolveJsonModule_cannot_be_specified_when_module_is_set_to_none_system_or_umd_5071": "Die Option \"--resolveJsonModule\" kann nicht angegeben werden, wenn \"module\" auf \"none\", \"system\" oder \"umd\" festgelegt ist.", - "Option_tsBuildInfoFile_cannot_be_specified_without_specifying_option_incremental_or_composite_or_if__5111": "Die Option \"tsBuildInfoFile\" kann nicht angegeben werden, ohne die Option \"incremental\" oder \"composite\" anzugeben oder \"tsc -b\" auszuführen.", "Option_verbatimModuleSyntax_cannot_be_used_when_module_is_set_to_UMD_AMD_or_System_5105": "Die Option \"verbatimModuleSyntax\" kann nicht verwendet werden, wenn \"module\" auf \"UMD\", \"AMD\" oder \"System\" festgelegt ist.", "Options_0_and_1_cannot_be_combined_6370": "Die Optionen \"{0}\" und \"{1}\" können nicht kombiniert werden.", "Options_Colon_6027": "Optionen:", @@ -1413,6 +1416,7 @@ "Reusing_resolution_of_type_reference_directive_0_from_1_of_old_program_it_was_successfully_resolved__6391": "Die Auflösung der Typverweisdirektive „{0}“ aus „{1}“ des alten Programms wird wiederverwendet, sie wurde erfolgreich in „{2}“ mit der Paket-ID „{3}“ aufgelöst.", "Rewrite_all_as_indexed_access_types_95034": "Alle als indizierte Zugriffstypen neu schreiben", "Rewrite_as_the_indexed_access_type_0_90026": "Als indizierten Zugriffstyp \"{0}\" neu schreiben", + "Rewrite_ts_tsx_mts_and_cts_file_extensions_in_relative_import_paths_to_their_JavaScript_equivalent_i_6421": "Schreiben Sie die Dateiendungen '.ts', '.tsx', '.mts' und '.cts' in relativen Importpfaden in ihren JavaScript-Äquivalenten in den Ausgabedateien um.", "Right_operand_of_is_unreachable_because_the_left_operand_is_never_nullish_2869": "Rechter Operand von ?? ist nicht erreichbar, weil der linke Operand nie \"NULLISH\" ist.", "Root_directory_cannot_be_determined_skipping_primary_search_paths_6122": "Das Stammverzeichnis kann nicht ermittelt werden. Die primären Suchpfade werden übersprungen.", "Root_file_specified_for_compilation_1427": "Für die Kompilierung angegebene Stammdatei", @@ -1633,6 +1637,8 @@ "There_are_types_at_0_but_this_result_could_not_be_resolved_when_respecting_package_json_exports_The__6278": "Es gibt Typen unter „{0}“, aber dieses Ergebnis konnte nicht aufgelöst werden, wenn package.json „Exporte“ beachtet wird. Die Bibliothek „{1}“ muss möglicherweise ihre package.json oder Eingaben aktualisieren.", "There_is_no_capturing_group_named_0_in_this_regular_expression_1532": "In diesem regulären Ausdruck ist keine Erfassungsgruppe namens „{0}“ vorhanden.", "There_is_nothing_available_for_repetition_1507": "Es ist nichts für Wiederholungen verfügbar.", + "This_JSX_tag_requires_0_to_be_in_scope_but_it_could_not_be_found_2874": "Dieses JSX-Tag erfordert, dass '{0}' im Geltungsbereich ist, konnte jedoch nicht gefunden werden.", + "This_JSX_tag_requires_the_module_path_0_to_exist_but_none_could_be_found_Make_sure_you_have_types_fo_2875": "Für dieses JSX-Tag muss der Modulpfad '{0}' vorhanden sein, aber es wurde keiner gefunden. Stellen Sie sicher, dass die Typen für das entsprechende Paket installiert sind.", "This_JSX_tag_s_0_prop_expects_a_single_child_of_type_1_but_multiple_children_were_provided_2746": "Die Eigenschaft \"{0}\" für dieses JSX-Tag erwartet ein einzelnes untergeordnetes Element vom Typ \"{1}\", aber es wurden mehrere untergeordnete Elemente angegeben.", "This_JSX_tag_s_0_prop_expects_type_1_which_requires_multiple_children_but_only_a_single_child_was_pr_2745": "Die Eigenschaft \"{0}\" für dieses JSX-Tag erwartet den Typ \"{1}\", der mehrere untergeordnete Elemente erfordert, aber es wurde nur ein untergeordnetes Elemente angegeben.", "This_backreference_refers_to_a_group_that_does_not_exist_There_are_no_capturing_groups_in_this_regul_1534": "Dieser Rückverweis bezieht sich auf eine Gruppe, die nicht vorhanden ist. Dieser reguläre Ausdruck enthält keine Erfassungsgruppen.", @@ -1650,6 +1656,8 @@ "This_expression_is_not_callable_because_it_is_a_get_accessor_Did_you_mean_to_use_it_without_6234": "Dieser Ausdruck kann nicht aufgerufen werden, weil es sich um eine get-Zugriffsmethode handelt. Möchten Sie den Wert ohne \"()\" verwenden?", "This_expression_is_not_constructable_2351": "Dieser Ausdruck kann nicht erstellt werden.", "This_file_already_has_a_default_export_95130": "Diese Datei weist bereits einen Standardexport auf.", + "This_import_path_is_unsafe_to_rewrite_because_it_resolves_to_another_project_and_the_relative_path_b_2878": "Dieser Importpfad ist unsicher umzuschreiben, da er auf ein anderes Projekt verweist und der relative Pfad zwischen den Ausgabedateien der Projekte nicht derselbe ist wie der relative Pfad zwischen den Eingabedateien.", + "This_import_uses_a_0_extension_to_resolve_to_an_input_TypeScript_file_but_will_not_be_rewritten_duri_2877": "Dieser Import verwendet eine '{0}' Erweiterung, um auf eine TypeScript-Eingabedatei zu verweisen, wird jedoch beim Ausgeben nicht umgeschrieben, da es sich nicht um einen relativen Pfad handelt.", "This_is_the_declaration_being_augmented_Consider_moving_the_augmenting_declaration_into_the_same_fil_6233": "Dies ist die erweiterte Deklaration. Die erweiternde Deklaration sollte in dieselbe Datei verschoben werden.", "This_kind_of_expression_is_always_falsy_2873": "Diese Art von Ausdruck ist immer „FALSY“.", "This_kind_of_expression_is_always_truthy_2872": "Diese Art von Ausdruck ist immer „TRUTHY“.", @@ -1673,6 +1681,7 @@ "This_parameter_property_must_have_an_override_modifier_because_it_overrides_a_member_in_base_class_0_4115": "Diese Parametereigenschaft muss einen „override“-Modifizierer aufweisen, weil er einen Member in der Basisklasse \"{0}\" überschreibt.", "This_regular_expression_flag_cannot_be_toggled_within_a_subpattern_1509": "Dieses Flag für reguläre Ausdrücke kann nicht innerhalb eines Untermusters umgeschaltet werden.", "This_regular_expression_flag_is_only_available_when_targeting_0_or_later_1501": "Dieses Flag für reguläre Ausdrücke ist nur verfügbar, wenn es auf „{0}“ oder höher ausgerichtet ist.", + "This_relative_import_path_is_unsafe_to_rewrite_because_it_looks_like_a_file_name_but_actually_resolv_2876": "Dieser relative Importpfad ist unsicher umzuschreiben, da er wie ein Dateiname aussieht, aber tatsächlich auf \"{0}\" verweist.", "This_spread_always_overwrites_this_property_2785": "Diese Eigenschaft wird immer durch diesen Spread-Operator überschrieben.", "This_syntax_is_reserved_in_files_with_the_mts_or_cts_extension_Add_a_trailing_comma_or_explicit_cons_7060": "Diese Syntax ist in Dateien mit der Erweiterung .mts oder .cts reserviert. Fügen Sie ein nachfolgendes Komma oder eine explizite Einschränkung hinzu.", "This_syntax_is_reserved_in_files_with_the_mts_or_cts_extension_Use_an_as_expression_instead_7059": "Diese Syntax ist in Dateien mit der Erweiterung \".mts\" oder \".cts\" reserviert. Verwenden Sie stattdessen einen „as“-Ausdruck.", @@ -1748,6 +1757,7 @@ "Type_expected_1110": "Es wurde ein Typ erwartet.", "Type_import_assertions_should_have_exactly_one_key_resolution_mode_with_value_import_or_require_1456": "Typimportassertionen sollten über genau einen Schlüssel verfügen – „resolution-mode“ – mit dem Wert „import“ oder „require“.", "Type_import_attributes_should_have_exactly_one_key_resolution_mode_with_value_import_or_require_1464": "Typimportattribute sollten über genau einen Schlüssel verfügen – „resolution-mode“ – mit dem Wert „import“ oder „require“.", + "Type_import_of_an_ECMAScript_module_from_a_CommonJS_module_must_have_a_resolution_mode_attribute_1542": "Der Typimport eines ECMAScript-Moduls aus einem CommonJS-Modul muss ein Attribut für den Auflösungsmodus (resolution-mode) aufweisen.", "Type_instantiation_is_excessively_deep_and_possibly_infinite_2589": "Die Typinstanziierung ist übermäßig tief und möglicherweise unendlich.", "Type_is_referenced_directly_or_indirectly_in_the_fulfillment_callback_of_its_own_then_method_1062": "Auf den Typ wird direkt oder indirekt im Erfüllungsrückruf der eigenen \"then\"-Methode verwiesen.", "Type_library_referenced_via_0_from_file_1_1402": "Typbibliothek, die über \"{0}\" aus der Datei \"{1}\" referenziert wird", @@ -1758,6 +1768,7 @@ "Type_of_iterated_elements_of_a_yield_Asterisk_operand_must_either_be_a_valid_promise_or_must_not_con_1322": "Der Typ iterierter Elemente eines \"yield*\"-Operanden muss entweder eine gültige Zusage sein oder darf keinen aufrufbaren \"then\"-Member enthalten.", "Type_of_property_0_circularly_references_itself_in_mapped_type_1_2615": "Der Typ der Eigenschaft \"{0}\" verweist im zugeordneten Typ \"{1}\" auf sich selbst.", "Type_of_yield_operand_in_an_async_generator_must_either_be_a_valid_promise_or_must_not_contain_a_cal_1321": "Der Typ eines \"yield\"-Operanden in einem asynchronen Generator muss entweder eine gültige Zusage sein oder darf keinen aufrufbaren \"then\"-Member enthalten.", + "Type_only_import_of_an_ECMAScript_module_from_a_CommonJS_module_must_have_a_resolution_mode_attribut_1541": "Der reine Typimport eines ECMAScript-Moduls aus einem CommonJS-Modul muss ein Attribut für den Auflösungsmodus (resolution-mode) aufweisen.", "Type_originates_at_this_import_A_namespace_style_import_cannot_be_called_or_constructed_and_will_cau_7038": "Der Typ stammt aus diesem Import. Ein Import im Namespacestil kann nicht aufgerufen oder erstellt werden und verursacht zur Laufzeit einen Fehler. Erwägen Sie hier stattdessen die Verwendung eines Standardimports oder die den Import über \"require\".", "Type_parameter_0_has_a_circular_constraint_2313": "Der Typparameter \"{0}\" weist eine zirkuläre Einschränkung auf.", "Type_parameter_0_has_a_circular_default_2716": "Der Typparameter \"{0}\" besitzt einen zirkulären Standardwert.", @@ -1844,6 +1855,7 @@ "Use_the_package_json_imports_field_when_resolving_imports_6409": "Verwenden Sie das package.json-Feld „imports“, wenn Sie Importe auflösen.", "Use_type_0_95181": "„Typ {0}“ verwenden", "Using_0_subpath_1_with_target_2_6404": "Verwenden von \"{0}\" Unterpfad \"{1}\" mit Ziel \"{2}\".", + "Using_JSX_fragments_requires_fragment_factory_0_to_be_in_scope_but_it_could_not_be_found_2879": "Die Verwendung von JSX-Fragmenten erfordert, dass die Fragmentfabrik '{0}' im Geltungsbereich ist, aber sie konnte nicht gefunden werden.", "Using_a_string_in_a_for_of_statement_is_only_supported_in_ECMAScript_5_and_higher_2494": "Das Verwenden einer Zeichenfolge in einer for...of-Anweisung wird nur in ECMAScript 5 oder höher unterstützt.", "Using_build_b_will_make_tsc_behave_more_like_a_build_orchestrator_than_a_compiler_This_is_used_to_tr_6915": "Bei Verwendung von --build wird tsc durch -b dazu veranlasst, sich eher wie ein Build-Orchestrator als ein Compiler zu verhalten. Damit wird der Aufbau von zusammengesetzten Projekten ausgelöst. Weitere Informationen dazu finden Sie unter {0}", "Using_compiler_options_of_project_reference_redirect_0_6215": "Compileroptionen der Projektverweisumleitung \"{0}\" werden verwendet.", diff --git a/node_modules/typescript/lib/es/diagnosticMessages.generated.json b/node_modules/typescript/lib/es/diagnosticMessages.generated.json index f51d44ee51..27012fdca2 100644 --- a/node_modules/typescript/lib/es/diagnosticMessages.generated.json +++ b/node_modules/typescript/lib/es/diagnosticMessages.generated.json @@ -179,6 +179,8 @@ "Add_override_modifier_95160": "Agregar el modificador \"override\"", "Add_parameter_name_90034": "Agregar un nombre de parámetro", "Add_qualifier_to_all_unresolved_variables_matching_a_member_name_95037": "Agregar un calificador a todas las variables no resueltas que coincidan con un nombre de miembro", + "Add_resolution_mode_import_attribute_95196": "Agregar atributo de importación \"resolution-mode\"", + "Add_resolution_mode_import_attribute_to_all_type_only_imports_that_need_it_95197": "Agregar el atributo de importación \"resolution-mode\" a todas las importaciones de solo tipo que lo necesiten", "Add_return_type_0_90063": "Agregar tipo de valor devuelto '{0}'", "Add_satisfies_and_a_type_assertion_to_this_expression_satisfies_T_as_T_to_make_the_type_explicit_9035": "Agregue satisfacciones y una aserción de tipo a esta expresión (satisfacciones T como T) para que el tipo sea explícito.", "Add_satisfies_and_an_inline_type_assertion_with_0_90068": "Agregar satisfacciones y una aserción de tipo insertado con '{0}'", @@ -299,7 +301,7 @@ "Assertions_require_the_call_target_to_be_an_identifier_or_qualified_name_2776": "Las aserciones requieren que el destino de llamada sea un identificador o un nombre calificado.", "Assigning_properties_to_functions_without_declaring_them_is_not_supported_with_isolatedDeclarations__9023": "No se admite la asignación de propiedades a funciones sin declararlas con --isolatedDeclarations. Agregue una declaración explícita para las propiedades asignadas a esta función.", "Asterisk_Slash_expected_1010": "Se esperaba \"*/\".", - "At_least_one_accessor_must_have_an_explicit_return_type_annotation_with_isolatedDeclarations_9009": "Al menos un descriptor de acceso debe tener una anotación de tipo de valor devuelto explícita con --isolatedDeclarations.", + "At_least_one_accessor_must_have_an_explicit_type_annotation_with_isolatedDeclarations_9009": "Al menos un descriptor de acceso debe tener una anotación de tipo explícita con --isolatedDeclarations.", "Augmentations_for_the_global_scope_can_only_be_directly_nested_in_external_modules_or_ambient_module_2669": "Los aumentos del ámbito global solo pueden anidarse directamente en módulos externos o en declaraciones de módulos de ambiente.", "Augmentations_for_the_global_scope_should_have_declare_modifier_unless_they_appear_in_already_ambien_2670": "Los aumentos del ámbito global deben tener el modificador 'declare', a menos que aparezcan en un contexto de ambiente.", "Auto_discovery_for_typings_is_enabled_in_project_0_Running_extra_resolution_pass_for_module_1_using__6140": "La detección automática de escritura está habilitada en el proyecto '{0}'. Se va a ejecutar un paso de resolución extra para el módulo '{1}' usando la ubicación de caché '{2}'.", @@ -543,7 +545,7 @@ "Declaration_emit_for_this_file_requires_preserving_this_import_for_augmentations_This_is_not_support_9026": "La emisión de declaración para este archivo requiere conservar esta importación para aumentos. Esto no se admite con --isolatedDeclarations.", "Declaration_emit_for_this_file_requires_using_private_name_0_An_explicit_type_annotation_may_unblock_9005": "La emisión de declaración para este archivo requiere el uso del nombre privado \"{0}\". Una anotación de tipo explícito puede desbloquear la emisión de declaración.", "Declaration_emit_for_this_file_requires_using_private_name_0_from_module_1_An_explicit_type_annotati_9006": "La emisión de declaración para este archivo requiere el uso del nombre privado \"{0}\" del módulo \"{1}\". Una anotación de tipo explícito puede desbloquear la emisión de declaración.", - "Declaration_emit_for_this_parameter_requires_implicitly_adding_undefined_to_it_s_type_This_is_not_su_9025": "La emisión de declaración para este parámetro requiere agregar implícitamente un elemento no definido a su tipo. Esto no se admite con --isolatedDeclarations.", + "Declaration_emit_for_this_parameter_requires_implicitly_adding_undefined_to_its_type_This_is_not_sup_9025": "La emisión de declaración para este parámetro requiere agregar implícitamente un elemento no definido a su tipo. Esto no se admite con --isolatedDeclarations.", "Declaration_expected_1146": "Se esperaba una declaración.", "Declaration_name_conflicts_with_built_in_global_identifier_0_2397": "Conflictos entre nombres de declaración con el identificador global '{0}' integrado.", "Declaration_or_statement_expected_1128": "Se esperaba una declaración o una instrucción.", @@ -850,7 +852,7 @@ "Generates_an_event_trace_and_a_list_of_types_6237": "Genera un seguimiento de eventos y una lista de tipos.", "Generates_corresponding_d_ts_file_6002": "Genera el archivo \".d.ts\" correspondiente.", "Generates_corresponding_map_file_6043": "Genera el archivo \".map\" correspondiente.", - "Generator_implicitly_has_yield_type_0_because_it_does_not_yield_any_values_Consider_supplying_a_retu_7025": "El generador tiene el tipo yield \"{0}\" implícitamente porque no produce ningún valor. Considere la posibilidad de proporcionar una anotación de tipo de valor devuelto.", + "Generator_implicitly_has_yield_type_0_Consider_supplying_a_return_type_annotation_7025": "El generador tiene implícitamente el tipo de retorno \"{0}\". Considere la posibilidad de proporcionar una anotación de tipo de valor devuelto.", "Generators_are_not_allowed_in_an_ambient_context_1221": "Los generadores no se permiten en un contexto de ambiente.", "Generic_type_0_requires_1_type_argument_s_2314": "El tipo genérico '{0}' requiere los siguientes argumentos de tipo: {1}.", "Generic_type_0_requires_between_1_and_2_type_arguments_2707": "El tipo genérico \"{0}\" requiere entre {1} y {2} argumentos de tipo.", @@ -907,6 +909,7 @@ "Imported_via_0_from_file_1_with_packageId_2_1394": "Se importó mediante {0} desde el archivo \"{1}\" con el valor packageId \"{2}\".", "Imported_via_0_from_file_1_with_packageId_2_to_import_importHelpers_as_specified_in_compilerOptions_1396": "Se importó mediante {0} desde el archivo \"{1}\" con el valor packageId \"{2}\" para importar \"importHelpers\" tal y como se especifica en compilerOptions.", "Imported_via_0_from_file_1_with_packageId_2_to_import_jsx_and_jsxs_factory_functions_1398": "Se importó mediante {0} desde el archivo \"{1}\" con el valor packageId \"{2}\" para importar las funciones de fábrica \"jsx\" y \"jsxs\".", + "Importing_a_JSON_file_into_an_ECMAScript_module_requires_a_type_Colon_json_import_attribute_when_mod_1543": "La importación de un archivo JSON en un módulo ECMAScript requiere un atributo de importación \"type: \"json\"\" cuando \"module\" se establece en \"{0}\".", "Imports_are_not_permitted_in_module_augmentations_Consider_moving_them_to_the_enclosing_external_mod_2667": "No se permiten importaciones en aumentos de módulos. Considere la posibilidad de moverlas al módulo externo envolvente.", "In_ambient_enum_declarations_member_initializer_must_be_constant_expression_1066": "En las declaraciones de enumeración de ambiente, el inicializador de miembro debe ser una expresión constante.", "In_an_enum_with_multiple_declarations_only_one_declaration_can_omit_an_initializer_for_its_first_enu_2432": "En una enumeración con varias declaraciones, solo una declaración puede omitir un inicializador para el primer elemento de la enumeración.", @@ -1059,6 +1062,7 @@ "Name_is_not_valid_95136": "El nombre no es válido", "Named_capturing_groups_are_only_available_when_targeting_ES2018_or_later_1503": "Los grupos de captura con nombre solo están disponibles cuando el destino es “ES2018” o posterior.", "Named_capturing_groups_with_the_same_name_must_be_mutually_exclusive_to_each_other_1515": "Los grupos de captura con nombre que tengan el mismo nombre deben ser mutuamente excluyentes entre sí.", + "Named_imports_from_a_JSON_file_into_an_ECMAScript_module_are_not_allowed_when_module_is_set_to_0_1544": "No se permiten las importaciones con nombre de un archivo JSON en un módulo ECMAScript cuando \"module\" está establecido en \"{0}\".", "Named_property_0_of_types_1_and_2_are_not_identical_2319": "La propiedad '{0}' con nombre de los tipos '{1}' y '{2}' no es idéntica en ambos.", "Namespace_0_has_no_exported_member_1_2694": "El espacio de nombres '{0}' no tiene ningún miembro '{1}' exportado.", "Namespace_must_be_given_a_name_1437": "Se debe asignar un nombre al espacio de nombres.", @@ -1143,7 +1147,6 @@ "Option_project_cannot_be_mixed_with_source_files_on_a_command_line_5042": "La opción \"project\" no se puede combinar con archivos de origen en una línea de comandos.", "Option_resolveJsonModule_cannot_be_specified_when_moduleResolution_is_set_to_classic_5070": "No se puede especificar la opción “--resolveJsonModule” cuando “moduleResolution” está establecido en “classic”.", "Option_resolveJsonModule_cannot_be_specified_when_module_is_set_to_none_system_or_umd_5071": "No se puede especificar la opción “--resolveJsonModule” cuando “module” esté establecido en “none”, “system” o “umd”.", - "Option_tsBuildInfoFile_cannot_be_specified_without_specifying_option_incremental_or_composite_or_if__5111": "No se puede especificar la opción “tsBuildInfoFile” sin especificar la opción “incremental” o “composite” o si no se ejecuta “tsc -b”.", "Option_verbatimModuleSyntax_cannot_be_used_when_module_is_set_to_UMD_AMD_or_System_5105": "La opción “verbatimModuleSyntax” no se puede usar cuando “module” está establecido en “UMD”, “AMD” o “System”.", "Options_0_and_1_cannot_be_combined_6370": "\"{0}\" y \"{1}\" no se pueden combinar.", "Options_Colon_6027": "Opciones:", @@ -1413,6 +1416,7 @@ "Reusing_resolution_of_type_reference_directive_0_from_1_of_old_program_it_was_successfully_resolved__6391": "La reutilización de la resolución de la directiva de referencia de tipo \"{0}\" de \"{1}\" del programa anterior se resolvió correctamente en \"{2}\" con el identificador de paquete \"{3}\".", "Rewrite_all_as_indexed_access_types_95034": "Reescribir todo como tipos de acceso indexados", "Rewrite_as_the_indexed_access_type_0_90026": "Reescribir como tipo de acceso indexado \"{0}\"", + "Rewrite_ts_tsx_mts_and_cts_file_extensions_in_relative_import_paths_to_their_JavaScript_equivalent_i_6421": "Vuelva a escribir las extensiones de archivo \".ts\", \".tsx\", \".mts\" y \".cts\" en rutas de acceso de importación relativas a su equivalente de JavaScript en los archivos de salida.", "Right_operand_of_is_unreachable_because_the_left_operand_is_never_nullish_2869": "El operando derecho de ?? es inaccesible porque el operando izquierdo nunca es nulo.", "Root_directory_cannot_be_determined_skipping_primary_search_paths_6122": "No se puede determinar el directorio raíz, se omitirán las rutas de búsqueda principales.", "Root_file_specified_for_compilation_1427": "Archivo raíz especificado para la compilación", @@ -1633,6 +1637,8 @@ "There_are_types_at_0_but_this_result_could_not_be_resolved_when_respecting_package_json_exports_The__6278": "Hay tipos en “{0}”, pero este resultado no se pudo resolver al respetar \"exports\" de package.json. Es posible que la biblioteca “{1}” necesite actualizar sus package.json o tipos.", "There_is_no_capturing_group_named_0_in_this_regular_expression_1532": "No hay ningún grupo de captura denominado “{0}” en esta expresión regular.", "There_is_nothing_available_for_repetition_1507": "No hay nada disponible para la repetición.", + "This_JSX_tag_requires_0_to_be_in_scope_but_it_could_not_be_found_2874": "Esta etiqueta JSX requiere que \"{0}\" esté en el ámbito, pero no se encontró.", + "This_JSX_tag_requires_the_module_path_0_to_exist_but_none_could_be_found_Make_sure_you_have_types_fo_2875": "Esta etiqueta JSX requiere que exista la ruta de acceso del módulo \"{0}\", pero no se encontró ninguna. Asegúrese de que tiene instalados los tipos para el paquete adecuado.", "This_JSX_tag_s_0_prop_expects_a_single_child_of_type_1_but_multiple_children_were_provided_2746": "La propiedad \"{0}\" de esta etiqueta de JSX espera un solo elemento secundario de tipo \"{1}\", pero se han proporcionado varios elementos secundarios.", "This_JSX_tag_s_0_prop_expects_type_1_which_requires_multiple_children_but_only_a_single_child_was_pr_2745": "La propiedad \"{0}\" de esta etiqueta de JSX espera el tipo \"{1}\", que requiere varios elementos secundarios, pero solo se ha proporcionado un elemento secundario.", "This_backreference_refers_to_a_group_that_does_not_exist_There_are_no_capturing_groups_in_this_regul_1534": "Esta referencia inversa hace referencia a un grupo que no existe. No hay grupos de captura en esta expresión regular.", @@ -1650,6 +1656,8 @@ "This_expression_is_not_callable_because_it_is_a_get_accessor_Did_you_mean_to_use_it_without_6234": "No se puede llamar a esta expresión porque es un descriptor de acceso \"get\". ¿Pretendía usarlo sin \"()\"?", "This_expression_is_not_constructable_2351": "No se puede construir esta expresión.", "This_file_already_has_a_default_export_95130": "Este archivo ya tiene una exportación predeterminada", + "This_import_path_is_unsafe_to_rewrite_because_it_resolves_to_another_project_and_the_relative_path_b_2878": "Esta ruta de acceso de importación no es segura de reescribir porque se resuelve en otro proyecto y la ruta de acceso relativa entre los archivos de salida de los proyectos no es la misma que la ruta de acceso relativa entre sus archivos de entrada.", + "This_import_uses_a_0_extension_to_resolve_to_an_input_TypeScript_file_but_will_not_be_rewritten_duri_2877": "Esta importación usa una extensión \"{0}\" para resolver en un archivo TypeScript de entrada, pero no se reescribe durante la emisión porque no es una ruta de acceso relativa.", "This_is_the_declaration_being_augmented_Consider_moving_the_augmenting_declaration_into_the_same_fil_6233": "Esta es la declaración que se está aumentando. Considere la posibilidad de mover la declaración en aumento al mismo archivo.", "This_kind_of_expression_is_always_falsy_2873": "Este tipo de expresión siempre es falso.", "This_kind_of_expression_is_always_truthy_2872": "Este tipo de expresión siempre es cierto.", @@ -1673,6 +1681,7 @@ "This_parameter_property_must_have_an_override_modifier_because_it_overrides_a_member_in_base_class_0_4115": "Esta propiedad de parámetro debe tener un modificador \"override\" porque reemplaza a un miembro en la clase base \"{0}\".", "This_regular_expression_flag_cannot_be_toggled_within_a_subpattern_1509": "Esta marca de expresión regular no se puede alternar dentro de un subpatrón.", "This_regular_expression_flag_is_only_available_when_targeting_0_or_later_1501": "Esta marca de expresión regular solo está disponible cuando el destino es “{0}” o posterior.", + "This_relative_import_path_is_unsafe_to_rewrite_because_it_looks_like_a_file_name_but_actually_resolv_2876": "Esta ruta de acceso de importación relativa no es segura de reescribir porque parece un nombre de archivo, pero realmente se resuelve en \"{0}\".", "This_spread_always_overwrites_this_property_2785": "Este elemento de propagación siempre sobrescribe esta propiedad.", "This_syntax_is_reserved_in_files_with_the_mts_or_cts_extension_Add_a_trailing_comma_or_explicit_cons_7060": "Esta sintaxis está reservada en archivos con la extensión .mts o .CTS. Agregue una coma o una restricción explícita al final.", "This_syntax_is_reserved_in_files_with_the_mts_or_cts_extension_Use_an_as_expression_instead_7059": "Esta sintaxis se reserva a archivos con la extensión .mts o .cts. En su lugar, use una expresión \"as\".", @@ -1748,6 +1757,7 @@ "Type_expected_1110": "Se esperaba un tipo.", "Type_import_assertions_should_have_exactly_one_key_resolution_mode_with_value_import_or_require_1456": "Las aserciones de importación de tipos deben tener exactamente una clave - \"resolution-mode\" - con el valor \"import\" o \"require\".", "Type_import_attributes_should_have_exactly_one_key_resolution_mode_with_value_import_or_require_1464": "Los atributos de importación de tipos deben tener exactamente una clave, “resolution-mode”, con el valor “import” o “require”.", + "Type_import_of_an_ECMAScript_module_from_a_CommonJS_module_must_have_a_resolution_mode_attribute_1542": "La importación de tipos de un módulo ECMAScript desde un módulo CommonJS debe tener un atributo \"resolution-mode\".", "Type_instantiation_is_excessively_deep_and_possibly_infinite_2589": "La creación de una instancia de tipo es excesivamente profunda y posiblemente infinita.", "Type_is_referenced_directly_or_indirectly_in_the_fulfillment_callback_of_its_own_then_method_1062": "Se hace referencia al tipo directa o indirectamente en la devolución de llamada de entrega de su propio método \"then\".", "Type_library_referenced_via_0_from_file_1_1402": "Biblioteca de tipos a la que se hace referencia mediante \"{0}\" desde el archivo \"{1}\"", @@ -1758,6 +1768,7 @@ "Type_of_iterated_elements_of_a_yield_Asterisk_operand_must_either_be_a_valid_promise_or_must_not_con_1322": "El tipo de elementos iterados de un operando \"yield*\" debe ser una promesa válida o no debe contener un miembro \"then\" invocable.", "Type_of_property_0_circularly_references_itself_in_mapped_type_1_2615": "El tipo de propiedad \"{0}\" hace referencia circular a sí misma en el tipo asignado \"{1}\".", "Type_of_yield_operand_in_an_async_generator_must_either_be_a_valid_promise_or_must_not_contain_a_cal_1321": "El tipo de operando \"yield\" en un generador asincrónico debe ser una promesa válida o no debe contener un miembro \"then\" invocable.", + "Type_only_import_of_an_ECMAScript_module_from_a_CommonJS_module_must_have_a_resolution_mode_attribut_1541": "La importación de solo tipo de un módulo ECMAScript desde un módulo CommonJS debe tener un atributo \"resolution-mode\".", "Type_originates_at_this_import_A_namespace_style_import_cannot_be_called_or_constructed_and_will_cau_7038": "El tipo se origina en esta importación. No se puede construir ni llamar a una importación de estilo de espacio de nombres y provocará un error en tiempo de ejecución. Considere la posibilidad de usar una importación predeterminada o require aquí en su lugar.", "Type_parameter_0_has_a_circular_constraint_2313": "El parámetro de tipo '{0}' tiene una restricción circular.", "Type_parameter_0_has_a_circular_default_2716": "El parámetro de tipo \"{0}\" tiene un valor circular predeterminado.", @@ -1844,6 +1855,7 @@ "Use_the_package_json_imports_field_when_resolving_imports_6409": "Use el campo “imports” de package.json al resolver importaciones.", "Use_type_0_95181": "Usar “type {0}”", "Using_0_subpath_1_with_target_2_6404": "Usando '{0}' subruta '{1}' con destino '{2}'.", + "Using_JSX_fragments_requires_fragment_factory_0_to_be_in_scope_but_it_could_not_be_found_2879": "El uso de fragmentos JSX requiere que el generador de fragmentos \"{0}\" esté en el ámbito, pero no se encontró.", "Using_a_string_in_a_for_of_statement_is_only_supported_in_ECMAScript_5_and_higher_2494": "El uso de una cadena en una instrucción \"for...of\" solo se admite en ECMAScript 5 y versiones posteriores.", "Using_build_b_will_make_tsc_behave_more_like_a_build_orchestrator_than_a_compiler_This_is_used_to_tr_6915": "Con --build, -b hará que tsc se comporte más como un orquestador de compilación que como un compilador. Se usa para desencadenar la compilación de proyectos compuestos, sobre los que puede obtener más información en {0}", "Using_compiler_options_of_project_reference_redirect_0_6215": "Uso de las opciones del compilador de redireccionamiento de la referencia del proyecto \"{0}\".", diff --git a/node_modules/typescript/lib/fr/diagnosticMessages.generated.json b/node_modules/typescript/lib/fr/diagnosticMessages.generated.json index a158f31b22..4f78f249a3 100644 --- a/node_modules/typescript/lib/fr/diagnosticMessages.generated.json +++ b/node_modules/typescript/lib/fr/diagnosticMessages.generated.json @@ -179,6 +179,8 @@ "Add_override_modifier_95160": "Ajouter un modificateur 'override'", "Add_parameter_name_90034": "Ajouter un nom de paramètre", "Add_qualifier_to_all_unresolved_variables_matching_a_member_name_95037": "Ajouter un qualificateur à toutes les variables non résolues correspondant à un nom de membre", + "Add_resolution_mode_import_attribute_95196": "Ajouter l'attribut d'importation « mode de résolution »", + "Add_resolution_mode_import_attribute_to_all_type_only_imports_that_need_it_95197": "Ajoutez l'attribut d'importation « mode de résolution » à toutes les importations de type uniquement qui en ont besoin", "Add_return_type_0_90063": "Ajouter le type de retour « {0} »", "Add_satisfies_and_a_type_assertion_to_this_expression_satisfies_T_as_T_to_make_the_type_explicit_9035": "Ajoutez des satisfactions et une assertion de type à cette expression (satisfait T en tant que T) pour rendre le type explicite.", "Add_satisfies_and_an_inline_type_assertion_with_0_90068": "Ajouter des satisfactions et une assertion de type inlined avec « {0} »", @@ -299,7 +301,7 @@ "Assertions_require_the_call_target_to_be_an_identifier_or_qualified_name_2776": "Quand vous utilisez des assertions, la cible d'appel doit être un identificateur ou un nom qualifié.", "Assigning_properties_to_functions_without_declaring_them_is_not_supported_with_isolatedDeclarations__9023": "L’affectation de propriétés à des fonctions sans les déclarer n’est pas prise en charge avec --isolatedDeclarations. Ajoutez une déclaration explicite pour les propriétés affectées à cette fonction.", "Asterisk_Slash_expected_1010": "'.' attendu.", - "At_least_one_accessor_must_have_an_explicit_return_type_annotation_with_isolatedDeclarations_9009": "Au moins un accesseur doit avoir une annotation de type de retour explicite avec --isolatedDeclarations.", + "At_least_one_accessor_must_have_an_explicit_type_annotation_with_isolatedDeclarations_9009": "Au moins un accesseur doit avoir une annotation de type explicite avec --isolatedDeclarations.", "Augmentations_for_the_global_scope_can_only_be_directly_nested_in_external_modules_or_ambient_module_2669": "Les augmentations de la portée globale ne peuvent être directement imbriquées que dans les modules externes ou les déclarations de modules ambiants.", "Augmentations_for_the_global_scope_should_have_declare_modifier_unless_they_appear_in_already_ambien_2670": "Les augmentations de la portée globale doivent comporter un modificateur 'declare', sauf si elles apparaissent déjà dans un contexte ambiant.", "Auto_discovery_for_typings_is_enabled_in_project_0_Running_extra_resolution_pass_for_module_1_using__6140": "La détection automatique des typages est activée dans le projet '{0}'. Exécution de la passe de résolution supplémentaire pour le module '{1}' à l'aide de l'emplacement du cache '{2}'.", @@ -543,7 +545,7 @@ "Declaration_emit_for_this_file_requires_preserving_this_import_for_augmentations_This_is_not_support_9026": "L’émission de déclaration pour ce fichier nécessite la conservation de cette importation pour des augmentations. Cette opération n’est pas pris en charge avec --isolatedDeclarations.", "Declaration_emit_for_this_file_requires_using_private_name_0_An_explicit_type_annotation_may_unblock_9005": "L'émission de déclaration pour ce fichier nécessite l'utilisation du nom privé '{0}'. Une annotation de type explicite peut débloquer l'émission de déclaration.", "Declaration_emit_for_this_file_requires_using_private_name_0_from_module_1_An_explicit_type_annotati_9006": "L'émission de déclaration pour ce fichier nécessite l'utilisation du nom privé '{0}' à partir du module '{1}'. Une annotation de type explicite peut débloquer l'émission de déclaration.", - "Declaration_emit_for_this_parameter_requires_implicitly_adding_undefined_to_it_s_type_This_is_not_su_9025": "L’émission de déclaration pour ce paramètre nécessite l’ajout implicite non défini à son type. Cette opération n’est pas pris en charge avec --isolatedDeclarations.", + "Declaration_emit_for_this_parameter_requires_implicitly_adding_undefined_to_its_type_This_is_not_sup_9025": "L’émission de déclaration pour ce paramètre nécessite l’ajout implicite de « non défini » à son type. Cette opération n’est pas pris en charge avec --isolatedDeclarations.", "Declaration_expected_1146": "Déclaration attendue.", "Declaration_name_conflicts_with_built_in_global_identifier_0_2397": "Le nom de la déclaration est en conflit avec l'identificateur global intégré '{0}'.", "Declaration_or_statement_expected_1128": "Déclaration ou instruction attendue.", @@ -850,7 +852,7 @@ "Generates_an_event_trace_and_a_list_of_types_6237": "Génère une trace d'événement et une liste de types.", "Generates_corresponding_d_ts_file_6002": "Génère le fichier '.d.ts' correspondant.", "Generates_corresponding_map_file_6043": "Génère le fichier '.map' correspondant.", - "Generator_implicitly_has_yield_type_0_because_it_does_not_yield_any_values_Consider_supplying_a_retu_7025": "Le générateur a implicitement le type '{0}', car il ne génère aucune valeur. Indiquez une annotation de type de retour.", + "Generator_implicitly_has_yield_type_0_Consider_supplying_a_return_type_annotation_7025": "Le générateur a implicitement un type de rendement « {0} ». Envisagez de fournir une annotation de type de retour.", "Generators_are_not_allowed_in_an_ambient_context_1221": "Les générateurs ne sont pas autorisés dans un contexte ambiant.", "Generic_type_0_requires_1_type_argument_s_2314": "Le type générique '{0}' exige {1} argument(s) de type.", "Generic_type_0_requires_between_1_and_2_type_arguments_2707": "Le type générique '{0}' nécessite entre {1} et {2} arguments de type.", @@ -907,6 +909,7 @@ "Imported_via_0_from_file_1_with_packageId_2_1394": "Importé(e) via {0} à partir du fichier '{1}' ayant le packageId '{2}'", "Imported_via_0_from_file_1_with_packageId_2_to_import_importHelpers_as_specified_in_compilerOptions_1396": "Importé(e) via {0} à partir du fichier '{1}' ayant le packageId '{2}' pour importer 'importHelpers' comme indiqué dans compilerOptions", "Imported_via_0_from_file_1_with_packageId_2_to_import_jsx_and_jsxs_factory_functions_1398": "Importé(e) via {0} à partir du fichier '{1}' ayant le packageId '{2}' pour importer les fonctions de fabrique 'jsx' et 'jsxs'", + "Importing_a_JSON_file_into_an_ECMAScript_module_requires_a_type_Colon_json_import_attribute_when_mod_1543": "L'importation d'un fichier JSON dans un module ECMAScript nécessite un attribut d'importation « type : « json » » lorsque « module » est défini sur « {0} ».", "Imports_are_not_permitted_in_module_augmentations_Consider_moving_them_to_the_enclosing_external_mod_2667": "Les importations ne sont pas autorisées dans les augmentations de module. Déplacez-les vers le module externe englobant.", "In_ambient_enum_declarations_member_initializer_must_be_constant_expression_1066": "Dans les déclarations d'enums ambiants, l'initialiseur de membre doit être une expression constante.", "In_an_enum_with_multiple_declarations_only_one_declaration_can_omit_an_initializer_for_its_first_enu_2432": "Dans un enum avec plusieurs déclarations, seule une déclaration peut omettre un initialiseur pour son premier élément d'enum.", @@ -1059,6 +1062,7 @@ "Name_is_not_valid_95136": "Le nom n'est pas valide", "Named_capturing_groups_are_only_available_when_targeting_ES2018_or_later_1503": "Les groupes de capture nommés sont disponibles uniquement lorsque vous ciblez « ES2018 » ou une version ultérieure.", "Named_capturing_groups_with_the_same_name_must_be_mutually_exclusive_to_each_other_1515": "Les groupes de capture nommés portant le même nom doivent s’excluent mutuellement les uns des autres.", + "Named_imports_from_a_JSON_file_into_an_ECMAScript_module_are_not_allowed_when_module_is_set_to_0_1544": "Les importations nommées d'un fichier JSON dans un module ECMAScript ne sont pas autorisées lorsque « module » est défini sur '{0}'.", "Named_property_0_of_types_1_and_2_are_not_identical_2319": "La propriété nommée '{0}' des types '{1}' et '{2}' n'est pas identique.", "Namespace_0_has_no_exported_member_1_2694": "L'espace de noms '{0}' n'a aucun membre exporté '{1}'.", "Namespace_must_be_given_a_name_1437": "Un nom doit être attribué à l’espace de noms.", @@ -1143,7 +1147,6 @@ "Option_project_cannot_be_mixed_with_source_files_on_a_command_line_5042": "Impossible d'associer l'option 'project' à des fichiers sources sur une ligne de commande.", "Option_resolveJsonModule_cannot_be_specified_when_moduleResolution_is_set_to_classic_5070": "Impossible de spécifier l’option '--resolveJsonModule' quand 'moduleResolution' a la valeur 'classic'.", "Option_resolveJsonModule_cannot_be_specified_when_module_is_set_to_none_system_or_umd_5071": "Impossible de spécifier l’option '--resolveJsonModule' quand 'module' a la valeur 'none', 'system' ou 'umd'.", - "Option_tsBuildInfoFile_cannot_be_specified_without_specifying_option_incremental_or_composite_or_if__5111": "Impossible de spécifier l’option 'tsBuildInfoFile' sans spécifier l’option 'incremental' ou 'composite' ou si elle n’exécute pas 'tsc -b'.", "Option_verbatimModuleSyntax_cannot_be_used_when_module_is_set_to_UMD_AMD_or_System_5105": "L’option 'verbatimModuleSyntax' ne peut pas être utilisée quand 'module' a la valeur 'UMD', 'AMD' ou 'System'.", "Options_0_and_1_cannot_be_combined_6370": "Impossible de combiner les options '{0}' et '{1}'.", "Options_Colon_6027": "Options :", @@ -1413,6 +1416,7 @@ "Reusing_resolution_of_type_reference_directive_0_from_1_of_old_program_it_was_successfully_resolved__6391": "En réutilisant la résolution de la directive de référence de type « {0} » à partir de « {1} » de l’ancien programme, l’erreur a été résolue dans « {2} » avec l’ID de package « {3} ».", "Rewrite_all_as_indexed_access_types_95034": "Réécrire tout comme types d'accès indexés", "Rewrite_as_the_indexed_access_type_0_90026": "Réécrire en tant que type d'accès indexé '{0}'", + "Rewrite_ts_tsx_mts_and_cts_file_extensions_in_relative_import_paths_to_their_JavaScript_equivalent_i_6421": "Réécrivez les extensions de fichier « .ts », « .tsx », « .mts » et « .cts » dans les chemins d'importation relatifs vers leur équivalent JavaScript dans les fichiers de sortie.", "Right_operand_of_is_unreachable_because_the_left_operand_is_never_nullish_2869": "Opérande droit de ?? est inaccessible, car l’opérande de gauche n’est jamais nullish.", "Root_directory_cannot_be_determined_skipping_primary_search_paths_6122": "Impossible de déterminer le répertoire racine, chemins de recherche primaires ignorés.", "Root_file_specified_for_compilation_1427": "Fichier racine spécifié pour la compilation", @@ -1633,6 +1637,8 @@ "There_are_types_at_0_but_this_result_could_not_be_resolved_when_respecting_package_json_exports_The__6278": "Il existe des types sur « {0} », mais ce résultat n’a pas pu être résolu lors du respect des « exports » package.json. La bibliothèque « {1} » devra peut-être mettre à jour son package.json ou ses typages.", "There_is_no_capturing_group_named_0_in_this_regular_expression_1532": "Il n’existe aucun groupe de capture nommé « {0} » dans cette expression régulière.", "There_is_nothing_available_for_repetition_1507": "Aucun élément n’est disponible pour la répétition.", + "This_JSX_tag_requires_0_to_be_in_scope_but_it_could_not_be_found_2874": "Cette balise JSX nécessite que « {0} » soit dans la portée, mais elle n'a pas pu être trouvée.", + "This_JSX_tag_requires_the_module_path_0_to_exist_but_none_could_be_found_Make_sure_you_have_types_fo_2875": "Cette balise JSX nécessite que le chemin du module '{0}' existe, mais aucun n'a pu être trouvé. Assurez-vous que les types pour le package approprié sont installés.", "This_JSX_tag_s_0_prop_expects_a_single_child_of_type_1_but_multiple_children_were_provided_2746": "La propriété '{0}' de cette balise JSX attend un seul enfant de type '{1}', mais plusieurs enfants ont été fournis.", "This_JSX_tag_s_0_prop_expects_type_1_which_requires_multiple_children_but_only_a_single_child_was_pr_2745": "La propriété '{0}' de cette balise JSX attend le type '{1}', qui nécessite plusieurs enfants, mais un seul enfant a été fourni.", "This_backreference_refers_to_a_group_that_does_not_exist_There_are_no_capturing_groups_in_this_regul_1534": "Cette référence arrière fait référence à un groupe qui n’existe pas. Il n’y a aucun groupe de capture dans cette expression régulière.", @@ -1650,6 +1656,8 @@ "This_expression_is_not_callable_because_it_is_a_get_accessor_Did_you_mean_to_use_it_without_6234": "Impossible d'appeler cette expression, car il s'agit d'un accesseur 'get'. Voulez-vous vraiment l'utiliser sans '()' ?", "This_expression_is_not_constructable_2351": "Impossible de construire cette expression.", "This_file_already_has_a_default_export_95130": "Ce fichier a déjà une exportation par défaut", + "This_import_path_is_unsafe_to_rewrite_because_it_resolves_to_another_project_and_the_relative_path_b_2878": "Ce chemin d'importation n'est pas sûr à réécrire car il renvoie à un autre projet et le chemin relatif entre les fichiers de sortie des projets n'est pas le même que le chemin relatif entre ses fichiers d'entrée.", + "This_import_uses_a_0_extension_to_resolve_to_an_input_TypeScript_file_but_will_not_be_rewritten_duri_2877": "Cette importation utilise une extension '{0}' pour résoudre un fichier TypeScript d'entrée, mais ne sera pas réécrite pendant l'émission car il ne s'agit pas d'un chemin relatif.", "This_is_the_declaration_being_augmented_Consider_moving_the_augmenting_declaration_into_the_same_fil_6233": "Ceci est la déclaration augmentée. Pensez à déplacer la déclaration d'augmentation dans le même fichier.", "This_kind_of_expression_is_always_falsy_2873": "Ce genre d’expression est toujours fausse.", "This_kind_of_expression_is_always_truthy_2872": "Ce genre d’expression est toujours vrai.", @@ -1673,6 +1681,7 @@ "This_parameter_property_must_have_an_override_modifier_because_it_overrides_a_member_in_base_class_0_4115": "Cette propriété de paramètre doit avoir un modificateur 'override', car il se substitue à un membre de la classe de base '{0}'.", "This_regular_expression_flag_cannot_be_toggled_within_a_subpattern_1509": "Cet indicateur d’expression régulière ne peut pas être activé/désactivé dans un sous-modèle.", "This_regular_expression_flag_is_only_available_when_targeting_0_or_later_1501": "Cet indicateur d’expression régulière n’est disponible que lors du ciblage de « {0} » ou d’une version ultérieure.", + "This_relative_import_path_is_unsafe_to_rewrite_because_it_looks_like_a_file_name_but_actually_resolv_2876": "Ce chemin d'importation relatif n'est pas sûr à réécrire car il ressemble à un nom de fichier, mais se résout en réalité en « {0} ».", "This_spread_always_overwrites_this_property_2785": "Cette diffusion écrase toujours cette propriété.", "This_syntax_is_reserved_in_files_with_the_mts_or_cts_extension_Add_a_trailing_comma_or_explicit_cons_7060": "Cette syntaxe est réservée dans les fichiers avec l’extension .mts ou .cts. Veuillez ajouter une virgule de fin ou une contrainte explicite.", "This_syntax_is_reserved_in_files_with_the_mts_or_cts_extension_Use_an_as_expression_instead_7059": "Cette syntaxe est réservée dans les fichiers avec l’extension .mts ou .cts. Utilisez une expression « as »à la place.", @@ -1748,6 +1757,7 @@ "Type_expected_1110": "Type attendu.", "Type_import_assertions_should_have_exactly_one_key_resolution_mode_with_value_import_or_require_1456": "Les assertions d’importation de type doivent avoir exactement une clé ( « mode résolution » ) avec la valeur « import » ou « require ».", "Type_import_attributes_should_have_exactly_one_key_resolution_mode_with_value_import_or_require_1464": "Les attributs d’importation de type doivent avoir exactement une clé ( « resolution-mode » ) avec une valeur « import » ou « require ».", + "Type_import_of_an_ECMAScript_module_from_a_CommonJS_module_must_have_a_resolution_mode_attribute_1542": "L'importation de type d'un module ECMAScript à partir d'un module CommonJS doit avoir un attribut « resolution-mode ».", "Type_instantiation_is_excessively_deep_and_possibly_infinite_2589": "L'instanciation de type est trop profonde et éventuellement infinie.", "Type_is_referenced_directly_or_indirectly_in_the_fulfillment_callback_of_its_own_then_method_1062": "Le type est directement ou indirectement référencé dans le rappel d'exécution de sa propre méthode 'then'.", "Type_library_referenced_via_0_from_file_1_1402": "Bibliothèque de types référencée via '{0}' à partir du fichier '{1}'", @@ -1758,6 +1768,7 @@ "Type_of_iterated_elements_of_a_yield_Asterisk_operand_must_either_be_a_valid_promise_or_must_not_con_1322": "Le type des éléments itérés d'un opérande 'yield*' doit être une promesse valide ou ne doit contenir aucun membre 'then' pouvant être appelé.", "Type_of_property_0_circularly_references_itself_in_mapped_type_1_2615": "Le type de la propriété '{0}' se référence de façon circulaire dans le type mappé '{1}'.", "Type_of_yield_operand_in_an_async_generator_must_either_be_a_valid_promise_or_must_not_contain_a_cal_1321": "Le type d'un opérande 'yield' dans un générateur asynchrone doit être une promesse valide ou ne doit contenir aucun membre 'then' pouvant être appelé.", + "Type_only_import_of_an_ECMAScript_module_from_a_CommonJS_module_must_have_a_resolution_mode_attribut_1541": "L'importation de type uniquement d'un module ECMAScript à partir d'un module CommonJS doit avoir un attribut « mode de résolution ».", "Type_originates_at_this_import_A_namespace_style_import_cannot_be_called_or_constructed_and_will_cau_7038": "Le type provient de cette importation. Impossible d'appeler ou de construire une importation de style d'espace de noms, ce qui va entraîner un échec au moment de l'exécution. À la place, utilisez ici une importation par défaut ou une importation avec require.", "Type_parameter_0_has_a_circular_constraint_2313": "Le paramètre de type '{0}' possède une contrainte circulaire.", "Type_parameter_0_has_a_circular_default_2716": "Le paramètre de type '{0}' a une valeur par défaut circulaire.", @@ -1844,6 +1855,7 @@ "Use_the_package_json_imports_field_when_resolving_imports_6409": "Utilisez le champ « imports » package.json lors de la résolution des importations.", "Use_type_0_95181": "Utiliser « type {0} »", "Using_0_subpath_1_with_target_2_6404": "Utilisation de '{0}' de sous-chemin '{1}' avec la cible '{2}'.", + "Using_JSX_fragments_requires_fragment_factory_0_to_be_in_scope_but_it_could_not_be_found_2879": "L'utilisation de fragments JSX nécessite que la fabrique de fragments '{0}' soit dans la portée, mais elle n'a pas pu être trouvée.", "Using_a_string_in_a_for_of_statement_is_only_supported_in_ECMAScript_5_and_higher_2494": "L'utilisation d'une chaîne dans une instruction 'for...of' est prise en charge uniquement dans ECMAScript 5 et version supérieure.", "Using_build_b_will_make_tsc_behave_more_like_a_build_orchestrator_than_a_compiler_This_is_used_to_tr_6915": "L’utilisation de--build,-b fera en sorte que tsc se comporte plus comme une build orchestrateur qu’un compilateur. Utilisé pour déclencher la génération de projets composites sur lesquels vous pouvez obtenir des informations supplémentaires sur {0}", "Using_compiler_options_of_project_reference_redirect_0_6215": "Utilisation des options de compilateur de la redirection de référence de projet : '{0}'.", diff --git a/node_modules/typescript/lib/it/diagnosticMessages.generated.json b/node_modules/typescript/lib/it/diagnosticMessages.generated.json index b059e8f131..7e67e60a2e 100644 --- a/node_modules/typescript/lib/it/diagnosticMessages.generated.json +++ b/node_modules/typescript/lib/it/diagnosticMessages.generated.json @@ -179,6 +179,8 @@ "Add_override_modifier_95160": "Aggiungere il modificatore 'override'", "Add_parameter_name_90034": "Aggiungere il nome del parametro", "Add_qualifier_to_all_unresolved_variables_matching_a_member_name_95037": "Aggiungere il qualificatore a tutte le variabili non risolte corrispondenti a un nome di membro", + "Add_resolution_mode_import_attribute_95196": "Aggiungi attributo di importazione 'resolution-mode'", + "Add_resolution_mode_import_attribute_to_all_type_only_imports_that_need_it_95197": "Aggiungi l'attributo di importazione 'resolution-mode' a tutte le importazioni solo tipo che lo richiedono", "Add_return_type_0_90063": "Aggiungere '{0}' del tipo restituito", "Add_satisfies_and_a_type_assertion_to_this_expression_satisfies_T_as_T_to_make_the_type_explicit_9035": "Aggiungere soddisfa e un'asserzione di tipo a questa espressione (soddisfa T come T) per rendere il tipo esplicito.", "Add_satisfies_and_an_inline_type_assertion_with_0_90068": "Aggiungere soddisfa e un'asserzione di tipo inline con '{0}'", @@ -299,7 +301,7 @@ "Assertions_require_the_call_target_to_be_an_identifier_or_qualified_name_2776": "Con le asserzioni la destinazione di chiamata deve essere un identificatore o un nome completo.", "Assigning_properties_to_functions_without_declaring_them_is_not_supported_with_isolatedDeclarations__9023": "L'assegnazione di proprietà a funzioni senza dichiararle non è supportata con --isolatedDeclarations. Aggiungere una dichiarazione esplicita per le proprietà assegnate a questa funzione.", "Asterisk_Slash_expected_1010": "È previsto '*/'.", - "At_least_one_accessor_must_have_an_explicit_return_type_annotation_with_isolatedDeclarations_9009": "Almeno una funzione di accesso deve avere un'annotazione di tipo restituito esplicita con --isolatedDeclarations.", + "At_least_one_accessor_must_have_an_explicit_type_annotation_with_isolatedDeclarations_9009": "Almeno una funzione di accesso deve avere un'annotazione di tipo esplicita con --isolatedDeclarations.", "Augmentations_for_the_global_scope_can_only_be_directly_nested_in_external_modules_or_ambient_module_2669": "Gli aumenti per l'ambito globale possono solo essere direttamente annidati in dichiarazioni di modulo di ambiente o moduli esterni.", "Augmentations_for_the_global_scope_should_have_declare_modifier_unless_they_appear_in_already_ambien_2670": "Gli aumenti per l'ambito globale devono contenere il modificatore 'declare', a meno che non siano già presenti in un contesto di ambiente.", "Auto_discovery_for_typings_is_enabled_in_project_0_Running_extra_resolution_pass_for_module_1_using__6140": "Il rilevamento automatico per le defizioni di tipi è abilitato nel progetto '{0}'. Verrà eseguito il passaggio di risoluzione aggiuntivo per il modulo '{1}' usando il percorso della cache '{2}'.", @@ -543,7 +545,7 @@ "Declaration_emit_for_this_file_requires_preserving_this_import_for_augmentations_This_is_not_support_9026": "La creazione della dichiarazione per questo file richiede il mantenimento dell'importazione per gli aumenti. Funzionalità non supportata con --isolatedDeclarations.", "Declaration_emit_for_this_file_requires_using_private_name_0_An_explicit_type_annotation_may_unblock_9005": "Per la creazione della dichiarazione per questo file è necessario usare il nome privato '{0}'. Un'annotazione di tipo esplicita può sbloccare la creazione della dichiarazione.", "Declaration_emit_for_this_file_requires_using_private_name_0_from_module_1_An_explicit_type_annotati_9006": "Per la creazione della dichiarazione per questo file è necessario usare il nome privato '{0}' dal modulo '{1}'. Un'annotazione di tipo esplicita può sbloccare la creazione della dichiarazione.", - "Declaration_emit_for_this_parameter_requires_implicitly_adding_undefined_to_it_s_type_This_is_not_su_9025": "La creazione di dichiarazioni per questo parametro richiede l'aggiunta implicita di elementi non definiti al relativo tipo. Funzionalità non supportata con --isolatedDeclarations.", + "Declaration_emit_for_this_parameter_requires_implicitly_adding_undefined_to_its_type_This_is_not_sup_9025": "La creazione di dichiarazioni per questo parametro richiede l'aggiunta implicita di elementi non definiti al relativo tipo. Funzionalità non supportata con --isolatedDeclarations.", "Declaration_expected_1146": "È prevista la dichiarazione.", "Declaration_name_conflicts_with_built_in_global_identifier_0_2397": "Il nome della dichiarazione è in conflitto con l'identificatore globale predefinito '{0}'.", "Declaration_or_statement_expected_1128": "È prevista la dichiarazione o l'istruzione.", @@ -850,7 +852,7 @@ "Generates_an_event_trace_and_a_list_of_types_6237": "Genera una traccia eventi e un elenco di tipi.", "Generates_corresponding_d_ts_file_6002": "Genera il file '.d.ts' corrispondente.", "Generates_corresponding_map_file_6043": "Genera il file '.map' corrispondente.", - "Generator_implicitly_has_yield_type_0_because_it_does_not_yield_any_values_Consider_supplying_a_retu_7025": "Al generatore è assegnato in modo implicito il tipo yield '{0}' perché non contiene alcun valore. Provare a specificare un'annotazione di tipo restituito.", + "Generator_implicitly_has_yield_type_0_Consider_supplying_a_return_type_annotation_7025": "Il generatore ha implicitamente il tipo yield \"{0}\". Provare a specificare un'annotazione di tipo restituito.", "Generators_are_not_allowed_in_an_ambient_context_1221": "I generatori non sono consentiti in un contesto di ambiente.", "Generic_type_0_requires_1_type_argument_s_2314": "Il tipo generico '{0}' richiede {1} argomento/i di tipo.", "Generic_type_0_requires_between_1_and_2_type_arguments_2707": "Il tipo generico '{0}' richiede tra {1} e {2} argomenti tipo.", @@ -907,6 +909,7 @@ "Imported_via_0_from_file_1_with_packageId_2_1394": "Importato tramite {0} dal file '{1}' con packageId '{2}'", "Imported_via_0_from_file_1_with_packageId_2_to_import_importHelpers_as_specified_in_compilerOptions_1396": "Importato tramite {0} dal file '{1}' con packageId '{2}' per importare 'importHelpers' come specificato in compilerOptions", "Imported_via_0_from_file_1_with_packageId_2_to_import_jsx_and_jsxs_factory_functions_1398": "Importato tramite {0} dal file '{1}' con packageId '{2}' per importare le funzioni di factory 'jsx' e 'jsxs'", + "Importing_a_JSON_file_into_an_ECMAScript_module_requires_a_type_Colon_json_import_attribute_when_mod_1543": "L'importazione di un file JSON in un modulo ECMAScript richiede un attributo di importazione \"type: \"json\"\" quando \"module\" è impostato su \"{0}\".", "Imports_are_not_permitted_in_module_augmentations_Consider_moving_them_to_the_enclosing_external_mod_2667": "Le importazioni non sono consentite negli aumenti di modulo. Provare a spostarle nel modulo esterno di inclusione.", "In_ambient_enum_declarations_member_initializer_must_be_constant_expression_1066": "Nelle dichiarazioni di enumerazione dell'ambiente l'inizializzatore di membro deve essere un'espressione costante.", "In_an_enum_with_multiple_declarations_only_one_declaration_can_omit_an_initializer_for_its_first_enu_2432": "In un'enumerazione con più dichiarazioni solo una di queste può omettere un inizializzatore per il primo elemento dell'enumerazione.", @@ -1059,6 +1062,7 @@ "Name_is_not_valid_95136": "Nome non valido.", "Named_capturing_groups_are_only_available_when_targeting_ES2018_or_later_1503": "I gruppi di acquisizione denominati sono disponibili solo se destinati a 'ES2018' o versioni successive.", "Named_capturing_groups_with_the_same_name_must_be_mutually_exclusive_to_each_other_1515": "I gruppi di acquisizione denominati con lo stesso nome devono escludersi a vicenda.", + "Named_imports_from_a_JSON_file_into_an_ECMAScript_module_are_not_allowed_when_module_is_set_to_0_1544": "Le importazioni denominate da un file JSON in un modulo ECMAScript non sono consentite quando \"module\" è impostato su \"{0}\".", "Named_property_0_of_types_1_and_2_are_not_identical_2319": "Le proprietà denominate '{0}' dei tipi '{1}' e '{2}' non sono identiche.", "Namespace_0_has_no_exported_member_1_2694": "Lo spazio dei nomi '{0}' non contiene un membro esportato '{1}'.", "Namespace_must_be_given_a_name_1437": "È necessario assegnare un nome allo spazio dei nomi.", @@ -1143,7 +1147,6 @@ "Option_project_cannot_be_mixed_with_source_files_on_a_command_line_5042": "Non è possibile combinare l'opzione 'project' con file di origine in una riga di comando.", "Option_resolveJsonModule_cannot_be_specified_when_moduleResolution_is_set_to_classic_5070": "Non è possibile specificare l'opzione '--resolveJsonModule' quando 'moduleResolution' è impostato su 'classic'.", "Option_resolveJsonModule_cannot_be_specified_when_module_is_set_to_none_system_or_umd_5071": "Non è possibile specificare l'opzione '--resolveJsonModule' quando 'module' è impostato su 'none', 'system' o 'umd'.", - "Option_tsBuildInfoFile_cannot_be_specified_without_specifying_option_incremental_or_composite_or_if__5111": "Non è possibile specificare l'opzione 'tsBuildInfoFile' senza specificare l'opzione 'incremental' o 'composite' oppure se non è in esecuzione 'tsc -b'.", "Option_verbatimModuleSyntax_cannot_be_used_when_module_is_set_to_UMD_AMD_or_System_5105": "Non è possibile usare l'opzione 'verbatimModuleSyntax' quando 'module' è impostato su 'UMD', 'AMD' o 'System'.", "Options_0_and_1_cannot_be_combined_6370": "Non è possibile combinare le opzioni '{0}' e '{1}'.", "Options_Colon_6027": "Opzioni:", @@ -1413,6 +1416,7 @@ "Reusing_resolution_of_type_reference_directive_0_from_1_of_old_program_it_was_successfully_resolved__6391": "Il riutilizzo della risoluzione della direttiva per il tipo di riferimento '{0}' da '{1}' del programma precedente è stato risolto in '{2}' con l'ID pacchetto '{3}'.", "Rewrite_all_as_indexed_access_types_95034": "Riscrivere tutti come tipi di accesso indicizzati", "Rewrite_as_the_indexed_access_type_0_90026": "Riscrivere come tipo di accesso indicizzato '{0}'", + "Rewrite_ts_tsx_mts_and_cts_file_extensions_in_relative_import_paths_to_their_JavaScript_equivalent_i_6421": "Riscrivere le estensioni di file \".ts\", \".tsx\", \".mts\" e \".cts\" nei percorsi di importazione relativi dell'equivalente JavaScript nei file di output.", "Right_operand_of_is_unreachable_because_the_left_operand_is_never_nullish_2869": "L'operando destro di ?? non è raggiungibile perché l'operando sinistro non è mai nullish.", "Root_directory_cannot_be_determined_skipping_primary_search_paths_6122": "Non è possibile determinare la directory radice. I percorsi di ricerca primaria verranno ignorati.", "Root_file_specified_for_compilation_1427": "File radice specificato per la compilazione", @@ -1633,6 +1637,8 @@ "There_are_types_at_0_but_this_result_could_not_be_resolved_when_respecting_package_json_exports_The__6278": "Esistono tipi in '{0}', ma non è stato possibile risolvere questo risultato quando si rispettano le \"esportazioni\" del file package.json. Potrebbe essere necessario aggiornare i file package.json o typings della libreria '{1}'.", "There_is_no_capturing_group_named_0_in_this_regular_expression_1532": "Non è presente alcun gruppo di acquisizione denominato '{0}' in questa espressione regolare.", "There_is_nothing_available_for_repetition_1507": "Nessun elemento disponibile per la ripetizione.", + "This_JSX_tag_requires_0_to_be_in_scope_but_it_could_not_be_found_2874": "Questo tag JSX richiede che \"{0}\" sia incluso nell'ambito, ma non è stato trovato.", + "This_JSX_tag_requires_the_module_path_0_to_exist_but_none_could_be_found_Make_sure_you_have_types_fo_2875": "Questo tag JSX richiede che il percorso del modulo \"{0}\" esista, ma non è stato trovato alcun tag. Assicurarsi di avere i tipi per il pacchetto appropriato installati.", "This_JSX_tag_s_0_prop_expects_a_single_child_of_type_1_but_multiple_children_were_provided_2746": "Con la proprietà '{0}' del tag JSX è previsto un singolo elemento figlio di tipo '{1}', ma sono stati specificati più elementi figlio.", "This_JSX_tag_s_0_prop_expects_type_1_which_requires_multiple_children_but_only_a_single_child_was_pr_2745": "Con la proprietà '{0}' del tag JSX è previsto il tipo '{1}' che richiede più elementi figlio, ma è stato specificato un singolo elemento figlio.", "This_backreference_refers_to_a_group_that_does_not_exist_There_are_no_capturing_groups_in_this_regul_1534": "Questo backreference fa riferimento a un gruppo che non esiste. Non sono presenti gruppi di acquisizione in questa espressione regolare.", @@ -1650,6 +1656,8 @@ "This_expression_is_not_callable_because_it_is_a_get_accessor_Did_you_mean_to_use_it_without_6234": "Non è possibile chiamare questa espressione perché è una funzione di accesso 'get'. Si intendeva usarla senza '()'?", "This_expression_is_not_constructable_2351": "Questa espressione non può essere costruita.", "This_file_already_has_a_default_export_95130": "Per questo file esiste già un'esportazione predefinita", + "This_import_path_is_unsafe_to_rewrite_because_it_resolves_to_another_project_and_the_relative_path_b_2878": "Questo percorso di importazione non è sicuro da riscrivere, perché viene risolto in un altro progetto e il percorso relativo tra i file di output dei progetti non corrisponde al percorso relativo tra i file di input.", + "This_import_uses_a_0_extension_to_resolve_to_an_input_TypeScript_file_but_will_not_be_rewritten_duri_2877": "Questa importazione usa un'estensione \"{0}\" per la risoluzione in un file TypeScript di input, ma non verrà riscritta durante la creazione perché non è un percorso relativo.", "This_is_the_declaration_being_augmented_Consider_moving_the_augmenting_declaration_into_the_same_fil_6233": "Questa è la dichiarazione che verrà aumentata. Provare a spostare la dichiarazione che causa l'aumento nello stesso file.", "This_kind_of_expression_is_always_falsy_2873": "Questo tipo di espressione è sempre falso.", "This_kind_of_expression_is_always_truthy_2872": "Questo tipo di espressione è sempre veritiero.", @@ -1673,6 +1681,7 @@ "This_parameter_property_must_have_an_override_modifier_because_it_overrides_a_member_in_base_class_0_4115": "Questa proprietà parametro deve includere un modificatore 'override' perché sovrascrive un membro nella classe di base '{0}'.", "This_regular_expression_flag_cannot_be_toggled_within_a_subpattern_1509": "Non è possibile attivare/disattivare questo flag di espressione regolare all'interno di un criterio secondario.", "This_regular_expression_flag_is_only_available_when_targeting_0_or_later_1501": "Questo flag di espressione regolare è disponibile solo quando la destinazione è '{0}' o versioni successive.", + "This_relative_import_path_is_unsafe_to_rewrite_because_it_looks_like_a_file_name_but_actually_resolv_2876": "Questo percorso di importazione relativo non è sicuro da riscrivere perché sembra un nome di file, ma in realtà si risolve in \"{0}\".", "This_spread_always_overwrites_this_property_2785": "Questo spread sovrascrive sempre questa proprietà.", "This_syntax_is_reserved_in_files_with_the_mts_or_cts_extension_Add_a_trailing_comma_or_explicit_cons_7060": "Questa sintassi è riservata ai file con estensione MTS o CTS. Aggiungere una virgola finale o un vincolo esplicito.", "This_syntax_is_reserved_in_files_with_the_mts_or_cts_extension_Use_an_as_expression_instead_7059": "Questa sintassi è riservata ai file con estensione mts o cts. Utilizzare un'espressione 'as'.", @@ -1748,6 +1757,7 @@ "Type_expected_1110": "È previsto il tipo.", "Type_import_assertions_should_have_exactly_one_key_resolution_mode_with_value_import_or_require_1456": "L’importazione dei tipi di asserzione deve contenere esattamente una chiave, 'resolution-mode', con valore 'import' o 'require'.", "Type_import_attributes_should_have_exactly_one_key_resolution_mode_with_value_import_or_require_1464": "Gli attributi di importazione di tipi devono contenere esattamente una chiave 'resolution-mode', con valore 'import' o 'require'.", + "Type_import_of_an_ECMAScript_module_from_a_CommonJS_module_must_have_a_resolution_mode_attribute_1542": "L'importazione del tipo di un modulo ECMAScript da un modulo CommonJS deve avere un attributo 'resolution-mode'.", "Type_instantiation_is_excessively_deep_and_possibly_infinite_2589": "La creazione di un'istanza di tipo presenta troppi livelli ed è probabilmente infinita.", "Type_is_referenced_directly_or_indirectly_in_the_fulfillment_callback_of_its_own_then_method_1062": "Il tipo viene usato come riferimento diretto o indiretto nel callback di fulfillment del relativo metodo 'then'.", "Type_library_referenced_via_0_from_file_1_1402": "Libreria dei tipi a cui viene fatto riferimento tramite '{0}' dal file '{1}'", @@ -1758,6 +1768,7 @@ "Type_of_iterated_elements_of_a_yield_Asterisk_operand_must_either_be_a_valid_promise_or_must_not_con_1322": "Il tipo di elementi iterati di un operando 'yield*' deve essere una promessa valida oppure non deve contenere un membro 'then' chiamabile.", "Type_of_property_0_circularly_references_itself_in_mapped_type_1_2615": "Il tipo di proprietà '{0}' contiene un riferimento circolare a se stesso nel tipo con mapping '{1}'.", "Type_of_yield_operand_in_an_async_generator_must_either_be_a_valid_promise_or_must_not_contain_a_cal_1321": "Il tipo dell'operando 'yield' in un generatore asincrono deve essere una promessa valida oppure non deve contenere un membro 'then' chiamabile.", + "Type_only_import_of_an_ECMAScript_module_from_a_CommonJS_module_must_have_a_resolution_mode_attribut_1541": "L'importazione solo tipo di un modulo ECMAScript da un modulo CommonJS deve avere un attributo 'resolution-mode'.", "Type_originates_at_this_import_A_namespace_style_import_cannot_be_called_or_constructed_and_will_cau_7038": "Il tipo è originato in corrispondenza di questa importazione. Non è possibile chiamare o costruire un'importazione di tipo spazio dei nomi e verrà restituito un errore in fase di esecuzione. Provare a usare un'importazione predefinita o un'importazione di require in questo punto.", "Type_parameter_0_has_a_circular_constraint_2313": "Il parametro di tipo '{0}' contiene un vincolo circolare.", "Type_parameter_0_has_a_circular_default_2716": "Il parametro di tipo '{0}' contiene un'impostazione predefinita circolare.", @@ -1844,6 +1855,7 @@ "Use_the_package_json_imports_field_when_resolving_imports_6409": "Usare il campo 'imports' del file package.json per risolvere le importazioni.", "Use_type_0_95181": "Usare 'type {0}'", "Using_0_subpath_1_with_target_2_6404": "Utilizzo di '{0}' sottotracciato '{1}' con destinazione '{2}'.", + "Using_JSX_fragments_requires_fragment_factory_0_to_be_in_scope_but_it_could_not_be_found_2879": "L'uso di frammenti JSX richiede che la factory di frammenti \"{0}\" sia nell'ambito, ma non è stata trovata.", "Using_a_string_in_a_for_of_statement_is_only_supported_in_ECMAScript_5_and_higher_2494": "L'uso di una stringa in un'istruzione 'for...of' è supportato solo in ECMAScript 5 e versioni successive.", "Using_build_b_will_make_tsc_behave_more_like_a_build_orchestrator_than_a_compiler_This_is_used_to_tr_6915": "Se si usa --build, l'opzione -b modificherà il comportamento di tsc in modo che sia più simile a un agente di orchestrazione di compilazione che a un compilatore. Viene usata per attivare la compilazione di progetti compositi. Per altre informazioni, vedere {0}", "Using_compiler_options_of_project_reference_redirect_0_6215": "Using compiler options of project reference redirect '{0}'.", diff --git a/node_modules/typescript/lib/ja/diagnosticMessages.generated.json b/node_modules/typescript/lib/ja/diagnosticMessages.generated.json index 7f01c1abc9..bc223e9401 100644 --- a/node_modules/typescript/lib/ja/diagnosticMessages.generated.json +++ b/node_modules/typescript/lib/ja/diagnosticMessages.generated.json @@ -179,6 +179,8 @@ "Add_override_modifier_95160": "'override' 修飾子を追加する", "Add_parameter_name_90034": "パラメーター名を追加する", "Add_qualifier_to_all_unresolved_variables_matching_a_member_name_95037": "メンバー名と一致するすべての未解決の変数に修飾子を追加します", + "Add_resolution_mode_import_attribute_95196": "'resolution-mode' インポート属性を追加する", + "Add_resolution_mode_import_attribute_to_all_type_only_imports_that_need_it_95197": "'resolution-mode' インポート属性を、必要とするすべての型のみのインポートに追加する", "Add_return_type_0_90063": "戻り値の型 '{0}' を追加してください", "Add_satisfies_and_a_type_assertion_to_this_expression_satisfies_T_as_T_to_make_the_type_explicit_9035": "型を明示的にするには、この式に satisfies と型アサーションを追加してください (satisfies T as T)。", "Add_satisfies_and_an_inline_type_assertion_with_0_90068": "'{0}' を使用して satisfies とインライン型のアサーションを追加してください", @@ -299,7 +301,7 @@ "Assertions_require_the_call_target_to_be_an_identifier_or_qualified_name_2776": "アサーションでは、呼び出し先が識別子または修飾名である必要があります。", "Assigning_properties_to_functions_without_declaring_them_is_not_supported_with_isolatedDeclarations__9023": "宣言せずに関数にプロパティを割り当てることは、--isolatedDeclarations ではサポートされていません。この関数に割り当てられたプロパティに明示的な宣言を追加してください。", "Asterisk_Slash_expected_1010": "'*/' が必要です。", - "At_least_one_accessor_must_have_an_explicit_return_type_annotation_with_isolatedDeclarations_9009": "少なくとも 1 つのアクセサーに、--isolatedDeclarations を含む明示的な戻り値の型の注釈が必要です。", + "At_least_one_accessor_must_have_an_explicit_type_annotation_with_isolatedDeclarations_9009": "少なくとも 1 つのアクセサーに、--isolatedDeclarations を含む明示的な型の注釈が必要です。", "Augmentations_for_the_global_scope_can_only_be_directly_nested_in_external_modules_or_ambient_module_2669": "グローバル スコープの拡張を直接入れ子にできるのは、外部モジュールまたは環境モジュールの宣言内のみです。", "Augmentations_for_the_global_scope_should_have_declare_modifier_unless_they_appear_in_already_ambien_2670": "グローバル スコープの拡張は、環境コンテキストに既にある場合を除いて、'declare' 修飾子を使用する必要があります。", "Auto_discovery_for_typings_is_enabled_in_project_0_Running_extra_resolution_pass_for_module_1_using__6140": "プロジェクト '{0}' で型指定の自動検出が有効になっています。キャッシュの場所 '{2}' を使用して、モジュール '{1}' に対して追加の解決パスを実行しています。", @@ -543,7 +545,7 @@ "Declaration_emit_for_this_file_requires_preserving_this_import_for_augmentations_This_is_not_support_9026": "このファイルの宣言を生成するには、拡張のためにこのインポートを保持する必要があります。これは --isolatedDeclarations ではサポートされていません。", "Declaration_emit_for_this_file_requires_using_private_name_0_An_explicit_type_annotation_may_unblock_9005": "このファイルの宣言の生成では、プライベート名 '{0}' を使用する必要があります。明示的な型の注釈では、宣言の生成のブロックを解除できます。", "Declaration_emit_for_this_file_requires_using_private_name_0_from_module_1_An_explicit_type_annotati_9006": "このファイルの宣言の生成では、モジュール '{1}' からのプライベート名 '{0}' を使用する必要があります。明示的な型の注釈では、宣言の生成のブロックを解除できます。", - "Declaration_emit_for_this_parameter_requires_implicitly_adding_undefined_to_it_s_type_This_is_not_su_9025": "このパラメーターの宣言を生成するには、その型に未定義の値を暗黙的に追加する必要があります。これは --isolatedDeclarations ではサポートされていません。", + "Declaration_emit_for_this_parameter_requires_implicitly_adding_undefined_to_its_type_This_is_not_sup_9025": "このパラメーターの宣言を生成するには、その型に未定義の値を暗黙的に追加する必要があります。これは --isolatedDeclarations ではサポートされていません。", "Declaration_expected_1146": "宣言が必要です。", "Declaration_name_conflicts_with_built_in_global_identifier_0_2397": "宣言名が組み込みのグローバル識別子 '{0}' と競合しています。", "Declaration_or_statement_expected_1128": "宣言またはステートメントが必要です。", @@ -850,7 +852,7 @@ "Generates_an_event_trace_and_a_list_of_types_6237": "イベント トレースと型のリストを生成します。", "Generates_corresponding_d_ts_file_6002": "対応する '.d.ts' ファイルを生成します。", "Generates_corresponding_map_file_6043": "対応する '.map' ファイルを生成します。", - "Generator_implicitly_has_yield_type_0_because_it_does_not_yield_any_values_Consider_supplying_a_retu_7025": "ジェネレーターは値を生成しないため、暗黙的に yield 型 '{0}' になります。戻り値の型の注釈を指定することを検討してください。", + "Generator_implicitly_has_yield_type_0_Consider_supplying_a_return_type_annotation_7025": "ジェネレーターは暗黙的に yield 型 '{0}' を持っています。戻り値の型の注釈を指定することを検討してください。", "Generators_are_not_allowed_in_an_ambient_context_1221": "ジェネレーターは環境コンテキストでは使用できません。", "Generic_type_0_requires_1_type_argument_s_2314": "ジェネリック型 '{0}' には {1} 個の型引数が必要です。", "Generic_type_0_requires_between_1_and_2_type_arguments_2707": "ジェネリック型 '{0}' には、{1} 個から {2} 個までの型引数が必要です。", @@ -907,6 +909,7 @@ "Imported_via_0_from_file_1_with_packageId_2_1394": "packageId が '{2}' のファイル '{1}' から {0} を介してインポートされました", "Imported_via_0_from_file_1_with_packageId_2_to_import_importHelpers_as_specified_in_compilerOptions_1396": "compilerOptions で指定されているように 'importHelpers' をインポートするため、packageId が '{2}' のファイル '{1}' から {0} を介してインポートされました", "Imported_via_0_from_file_1_with_packageId_2_to_import_jsx_and_jsxs_factory_functions_1398": "'jsx' および 'jsxs' ファクトリ関数をインポートするため、packageId が '{2}' のファイル '{1}' から {0} を介してインポートされました", + "Importing_a_JSON_file_into_an_ECMAScript_module_requires_a_type_Colon_json_import_attribute_when_mod_1543": "ECMAScript モジュールに JSON ファイルをインポートするには、'module' が '{0}' に設定されている場合、'type: \"json\"' インポート属性が必要です。", "Imports_are_not_permitted_in_module_augmentations_Consider_moving_them_to_the_enclosing_external_mod_2667": "インポートはモジュールの拡張では許可されていません。外側の外部モジュールに移動することを検討してください。", "In_ambient_enum_declarations_member_initializer_must_be_constant_expression_1066": "アンビエント列挙型の宣言では、メンバー初期化子は定数式である必要があります。", "In_an_enum_with_multiple_declarations_only_one_declaration_can_omit_an_initializer_for_its_first_enu_2432": "複数の宣言がある列挙型で、最初の列挙要素の初期化子を省略できる宣言は 1 つのみです。", @@ -1059,6 +1062,7 @@ "Name_is_not_valid_95136": "名前が無効です", "Named_capturing_groups_are_only_available_when_targeting_ES2018_or_later_1503": "名前付きキャプチャ グループは、'ES2018' 以降をターゲットにする場合にのみ使用できます。", "Named_capturing_groups_with_the_same_name_must_be_mutually_exclusive_to_each_other_1515": "同じ名前の名前の名前付きキャプチャ グループは、相互に排他的である必要があります。", + "Named_imports_from_a_JSON_file_into_an_ECMAScript_module_are_not_allowed_when_module_is_set_to_0_1544": "'module' が '{0}' に設定されている場合、JSON ファイルから ECMAScript モジュールへの名前付きインポートは許可されません。", "Named_property_0_of_types_1_and_2_are_not_identical_2319": "'{1}' 型および '{2}' 型の名前付きプロパティ '{0}' が一致しません。", "Namespace_0_has_no_exported_member_1_2694": "名前空間 '{0}' にエクスポートされたメンバー '{1}' がありません。", "Namespace_must_be_given_a_name_1437": "名前空間に名前を指定する必要があります。", @@ -1143,7 +1147,6 @@ "Option_project_cannot_be_mixed_with_source_files_on_a_command_line_5042": "オプション 'project' をコマンド ライン上でソース ファイルと一緒に指定することはできません。", "Option_resolveJsonModule_cannot_be_specified_when_moduleResolution_is_set_to_classic_5070": "'moduleResolution' が 'classic' に設定されている場合、オプション '--resolveJsonModule' を指定できません。", "Option_resolveJsonModule_cannot_be_specified_when_module_is_set_to_none_system_or_umd_5071": "'module' が 'none'、'system'、または 'umd' に設定されている場合、オプション '--resolveJsonModule' を指定することはできません。", - "Option_tsBuildInfoFile_cannot_be_specified_without_specifying_option_incremental_or_composite_or_if__5111": "オプション 'tsBuildInfoFile' は、オプション 'incremental' または 'composite' を指定せずに、または 'tsc -b' を実行していない場合は指定できません。", "Option_verbatimModuleSyntax_cannot_be_used_when_module_is_set_to_UMD_AMD_or_System_5105": "'module' が 'UMD'、'AMD'、または 'System' に設定されている場合、オプション 'verbatimModuleSyntax' は使用できません。", "Options_0_and_1_cannot_be_combined_6370": "オプション '{0}' と '{1}' を組み合わせることはできません。", "Options_Colon_6027": "オプション:", @@ -1413,6 +1416,7 @@ "Reusing_resolution_of_type_reference_directive_0_from_1_of_old_program_it_was_successfully_resolved__6391": "古いプログラムの '{1}' からタイプ リファレンス ディレクティブ '{0}' の解決策を再利用すると、パッケージ ID '{3}' の '{2}' に正常に解決されました。", "Rewrite_all_as_indexed_access_types_95034": "すべてをインデックス付きアクセス型として書き換えます", "Rewrite_as_the_indexed_access_type_0_90026": "インデックス付きのアクセスの種類 '{0}' として書き換える", + "Rewrite_ts_tsx_mts_and_cts_file_extensions_in_relative_import_paths_to_their_JavaScript_equivalent_i_6421": "相対インポート パスの '.ts'、'.tsx'、'.mts'、および '.cts' ファイル拡張子を、出力ファイルの JavaScript と同等の拡張子に書き換えます。", "Right_operand_of_is_unreachable_because_the_left_operand_is_never_nullish_2869": "?? の右オペランド左オペランドが NULL 値になることがないため、到達できません。", "Root_directory_cannot_be_determined_skipping_primary_search_paths_6122": "ルート ディレクトリを決定できません。プライマリ検索パスをスキップします。", "Root_file_specified_for_compilation_1427": "コンパイル用に指定されたルート ファイル", @@ -1633,6 +1637,8 @@ "There_are_types_at_0_but_this_result_could_not_be_resolved_when_respecting_package_json_exports_The__6278": "'{0}' に型がありますが、package.json \"exports\" を尊重しながらこの結果を解決できませんでした。'{1}' ライブラリの package.json または入力を更新する必要がある場合があります。", "There_is_no_capturing_group_named_0_in_this_regular_expression_1532": "この正規表現には '{0}' という名前のキャプチャ グループはありません。", "There_is_nothing_available_for_repetition_1507": "繰り返しに使用できるものがありません。", + "This_JSX_tag_requires_0_to_be_in_scope_but_it_could_not_be_found_2874": "この JSX タグでは '{0}' がスコープ内に存在する必要がありますが、見つかりませんでした。", + "This_JSX_tag_requires_the_module_path_0_to_exist_but_none_could_be_found_Make_sure_you_have_types_fo_2875": "この JSX タグにはモジュール パス '{0}' が存在する必要がありますが、見つかりませんでした。適切なパッケージの種類がインストールされていることを確認してください。", "This_JSX_tag_s_0_prop_expects_a_single_child_of_type_1_but_multiple_children_were_provided_2746": "この JSX タグの '{0}' prop は型 '{1}' の単一の子を予期しますが、複数の子が指定されました。", "This_JSX_tag_s_0_prop_expects_type_1_which_requires_multiple_children_but_only_a_single_child_was_pr_2745": "この JSX タグの '{0}' prop は複数の子を必要とする型 '{1}' を予期しますが、単一の子が指定されました。", "This_backreference_refers_to_a_group_that_does_not_exist_There_are_no_capturing_groups_in_this_regul_1534": "この前方参照は、存在しないグループを参照しています。この正規表現にはキャプチャ グループがありません。", @@ -1650,6 +1656,8 @@ "This_expression_is_not_callable_because_it_is_a_get_accessor_Did_you_mean_to_use_it_without_6234": "この式は 'get' アクセサーであるため、呼び出すことができません。'()' なしで使用しますか?", "This_expression_is_not_constructable_2351": "この式はコンストラクト可能ではありません。", "This_file_already_has_a_default_export_95130": "このファイルには、既に既定のエクスポートがあります", + "This_import_path_is_unsafe_to_rewrite_because_it_resolves_to_another_project_and_the_relative_path_b_2878": "このインポート パスは別のプロジェクトに解決され、プロジェクトの出力ファイル間の相対パスが入力ファイル間の相対パスと同じではないため、書き換えは安全ではありません。", + "This_import_uses_a_0_extension_to_resolve_to_an_input_TypeScript_file_but_will_not_be_rewritten_duri_2877": "このインポートでは、'{0}' 拡張子を使用して入力 TypeScript ファイルに解決されますが、生成中に書き換えられるのは相対パスではないためです。", "This_is_the_declaration_being_augmented_Consider_moving_the_augmenting_declaration_into_the_same_fil_6233": "これは拡張される宣言です。拡張する側の宣言を同じファイルに移動することを検討してください。", "This_kind_of_expression_is_always_falsy_2873": "この種の式は常に false です。", "This_kind_of_expression_is_always_truthy_2872": "この種の式は常に true です。", @@ -1673,6 +1681,7 @@ "This_parameter_property_must_have_an_override_modifier_because_it_overrides_a_member_in_base_class_0_4115": "このメンバーは、基底クラス '{0}' のメンバーをオーバーライドするため、パラメーター プロパティに 'override' 修飾子がある必要があります。", "This_regular_expression_flag_cannot_be_toggled_within_a_subpattern_1509": "この正規表現フラグをサブパターン内で切り替えることはできません。", "This_regular_expression_flag_is_only_available_when_targeting_0_or_later_1501": "この正規表現フラグは、'{0}' 以降をターゲットにする場合にのみ使用できます。", + "This_relative_import_path_is_unsafe_to_rewrite_because_it_looks_like_a_file_name_but_actually_resolv_2876": "この相対インポート パスは、ファイル名のようですが、実際には \"{0}\" に解決されるため、書き換えは安全ではありません。", "This_spread_always_overwrites_this_property_2785": "このスプレッドは、常にこのプロパティを上書きします。", "This_syntax_is_reserved_in_files_with_the_mts_or_cts_extension_Add_a_trailing_comma_or_explicit_cons_7060": "この構文は、拡張子が .mts または .cts のファイルで予約されています。末尾のコンマまたは明示的な制約を追加します。", "This_syntax_is_reserved_in_files_with_the_mts_or_cts_extension_Use_an_as_expression_instead_7059": "この構文は、拡張子が .mts または .cts のファイルで予約されています。代わりに `as` 式を使用してください。", @@ -1748,6 +1757,7 @@ "Type_expected_1110": "型が必要です。", "Type_import_assertions_should_have_exactly_one_key_resolution_mode_with_value_import_or_require_1456": "型インポート アサーションには、キー `resolution-mode` が 1 つだけ必要です。値は `import` または `require` です。", "Type_import_attributes_should_have_exactly_one_key_resolution_mode_with_value_import_or_require_1464": "型インポート属性には、キー 'resolution-mode' が 1 つだけ必要です。値は 'import' または 'require' です。", + "Type_import_of_an_ECMAScript_module_from_a_CommonJS_module_must_have_a_resolution_mode_attribute_1542": "CommonJS モジュールからの ECMAScript モジュールの型のインポートには、'resolution-mode' 属性が必要です。", "Type_instantiation_is_excessively_deep_and_possibly_infinite_2589": "型のインスタンス化は非常に深く、無限である可能性があります。", "Type_is_referenced_directly_or_indirectly_in_the_fulfillment_callback_of_its_own_then_method_1062": "型は、それ自身の 'then' メソッドのフルフィルメント コールバック内で直接または間接的に参照されます。", "Type_library_referenced_via_0_from_file_1_1402": "ファイル '{1}' から '{0}' を介して参照されたタイプ ライブラリ", @@ -1758,6 +1768,7 @@ "Type_of_iterated_elements_of_a_yield_Asterisk_operand_must_either_be_a_valid_promise_or_must_not_con_1322": "'yield*' オペランドの反復要素の型は、有効な Promise であるか、呼び出し可能な 'then' メンバーを含んでいないかのどちらかであることが必要です。", "Type_of_property_0_circularly_references_itself_in_mapped_type_1_2615": "マップされた型 '{1}' で、プロパティ '{0}' の型によってそれ自体が循環参照されています。", "Type_of_yield_operand_in_an_async_generator_must_either_be_a_valid_promise_or_must_not_contain_a_cal_1321": "非同期ジェネレーター内の 'yield' オペランドの型は、有効な Promise であるか、呼び出し可能な 'then' メンバーを含んでいないかのどちらかであることが必要です。", + "Type_only_import_of_an_ECMAScript_module_from_a_CommonJS_module_must_have_a_resolution_mode_attribut_1541": "CommonJS モジュールからの ECMAScript モジュールの型のみのインポートには、'resolution-mode' 属性が必要です。", "Type_originates_at_this_import_A_namespace_style_import_cannot_be_called_or_constructed_and_will_cau_7038": "型はこのインポートで生成されます。名前空間スタイルのインポートは、呼び出すこともコンストラクトすることもできず、実行時にエラーが発生します。代わりに、ここで既定のインポートまたはインポートの require を使用することを検討してください。", "Type_parameter_0_has_a_circular_constraint_2313": "型パラメーター '{0}' に循環制約があります。", "Type_parameter_0_has_a_circular_default_2716": "型パラメーター '{0}' に循環既定値があります。", @@ -1844,6 +1855,7 @@ "Use_the_package_json_imports_field_when_resolving_imports_6409": "インポートを解決するときに、package.json の 'imports' フィールドを使用してください。", "Use_type_0_95181": "'type {0}' を使用してください", "Using_0_subpath_1_with_target_2_6404": "'{0}' サブパス '{1}' をターゲット '{2}' と共に使用しています。", + "Using_JSX_fragments_requires_fragment_factory_0_to_be_in_scope_but_it_could_not_be_found_2879": "JSX フラグメントを使用するには、フラグメント ファクトリ '{0}' がスコープ内に存在する必要がありますが、見つかりませんでした。", "Using_a_string_in_a_for_of_statement_is_only_supported_in_ECMAScript_5_and_higher_2494": "'for...of' ステートメントでの文字列の使用は ECMAScript 5 以上でのみサポートされています。", "Using_build_b_will_make_tsc_behave_more_like_a_build_orchestrator_than_a_compiler_This_is_used_to_tr_6915": "--build を使用すると、-b は tsc をコンパイラというよりビルド オーケストレーターのように動作させます。これは、複合プロジェクトのビルドをトリガーするために使用されます。詳細については、{0} を参照してください。", "Using_compiler_options_of_project_reference_redirect_0_6215": "Using compiler options of project reference redirect '{0}'.", diff --git a/node_modules/typescript/lib/ko/diagnosticMessages.generated.json b/node_modules/typescript/lib/ko/diagnosticMessages.generated.json index 2e52e8a4d8..066c3e847b 100644 --- a/node_modules/typescript/lib/ko/diagnosticMessages.generated.json +++ b/node_modules/typescript/lib/ko/diagnosticMessages.generated.json @@ -179,6 +179,8 @@ "Add_override_modifier_95160": "'override' 한정자 추가", "Add_parameter_name_90034": "매개 변수 이름 추가", "Add_qualifier_to_all_unresolved_variables_matching_a_member_name_95037": "멤버 이름과 일치하는 모든 확인되지 않은 변수에 한정자 추가", + "Add_resolution_mode_import_attribute_95196": "'resolution-mode' 가져오기 특성 추가", + "Add_resolution_mode_import_attribute_to_all_type_only_imports_that_need_it_95197": "필요한 모든 형식 전용 가져오기에 'resolution-mode' 가져오기 특성을 추가합니다.", "Add_return_type_0_90063": "반환 형식 '{0}' 추가", "Add_satisfies_and_a_type_assertion_to_this_expression_satisfies_T_as_T_to_make_the_type_explicit_9035": "이 식에 충족 및 형식 어설션을 추가하여(T를 T로 충족) 형식을 명시적으로 만듭니다.", "Add_satisfies_and_an_inline_type_assertion_with_0_90068": "'{0}'을(를) 사용하여 충족 및 인라인 형식 어설션 추가", @@ -299,7 +301,7 @@ "Assertions_require_the_call_target_to_be_an_identifier_or_qualified_name_2776": "어설션에서 호출 대상은 식별자 또는 정규화된 이름이어야 합니다.", "Assigning_properties_to_functions_without_declaring_them_is_not_supported_with_isolatedDeclarations__9023": "함수를 선언하지 않고 함수에 속성을 할당하는 것은 --isolatedDeclarations에서 지원되지 않습니다. 이 함수에 할당된 속성에 대한 명시적 선언을 추가합니다.", "Asterisk_Slash_expected_1010": "'*/'가 필요합니다.", - "At_least_one_accessor_must_have_an_explicit_return_type_annotation_with_isolatedDeclarations_9009": "하나 이상의 접근자에는 --isolatedDeclarations가 있는 명시적 반환 형식 주석이 있어야 합니다.", + "At_least_one_accessor_must_have_an_explicit_type_annotation_with_isolatedDeclarations_9009": "하나 이상의 접근자에 --isolatedDeclarations를 사용하는 명시적 형식 주석이 있어야 합니다.", "Augmentations_for_the_global_scope_can_only_be_directly_nested_in_external_modules_or_ambient_module_2669": "전역 범위에 대한 확대는 외부 모듈 또는 앰비언트 모듈 선언에만 직접 중첩될 수 있습니다.", "Augmentations_for_the_global_scope_should_have_declare_modifier_unless_they_appear_in_already_ambien_2670": "전역 범위에 대한 확대는 이미 존재하는 앰비언트 컨텍스트에 표시되지 않는 한 'declare' 한정자를 포함해야 합니다.", "Auto_discovery_for_typings_is_enabled_in_project_0_Running_extra_resolution_pass_for_module_1_using__6140": "프로젝트 '{0}'에서 입력에 대한 자동 검색을 사용하도록 설정되었습니다. '{2}' 캐시 위치를 사용하여 모듈 '{1}'에 대해 추가 해결 패스를 실행합니다.", @@ -543,7 +545,7 @@ "Declaration_emit_for_this_file_requires_preserving_this_import_for_augmentations_This_is_not_support_9026": "이 파일에 대한 선언 내보내기에서는 확대를 위해 이 가져오기를 유지해야 합니다. 이는 --isolatedDeclarations에서는 지원되지 않습니다.", "Declaration_emit_for_this_file_requires_using_private_name_0_An_explicit_type_annotation_may_unblock_9005": "이 파일의 선언 내보내기에는 프라이빗 이름 '{0}'을(를) 사용해야 합니다. 명시적 형식 주석은 선언 내보내기를 차단 해제할 수 있습니다.", "Declaration_emit_for_this_file_requires_using_private_name_0_from_module_1_An_explicit_type_annotati_9006": "이 파일의 선언 내보내기에는 '{1}' 모듈의 프라이빗 이름 '{0}'을(를) 사용해야 합니다. 명시적 형식 주석은 선언 내보내기를 차단 해제할 수 있습니다.", - "Declaration_emit_for_this_parameter_requires_implicitly_adding_undefined_to_it_s_type_This_is_not_su_9025": "이 매개 변수에 대한 선언 내보내기를 사용하려면 정의되지 않은 형식을 암시적으로 추가해야 합니다. 이는 --isolatedDeclarations에서는 지원되지 않습니다.", + "Declaration_emit_for_this_parameter_requires_implicitly_adding_undefined_to_its_type_This_is_not_sup_9025": "이 매개 변수에 대한 선언 내보내기를 사용하려면 정의되지 않은 형식을 암시적으로 추가해야 합니다. 이는 --isolatedDeclarations에서는 지원되지 않습니다.", "Declaration_expected_1146": "선언이 필요합니다.", "Declaration_name_conflicts_with_built_in_global_identifier_0_2397": "선언 이름이 기본 제공 전역 ID '{0}'과(와) 충돌합니다.", "Declaration_or_statement_expected_1128": "선언 또는 문이 필요합니다.", @@ -850,7 +852,7 @@ "Generates_an_event_trace_and_a_list_of_types_6237": "이벤트 추적 및 형식 목록을 생성합니다.", "Generates_corresponding_d_ts_file_6002": "해당 '.d.ts' 파일을 생성합니다.", "Generates_corresponding_map_file_6043": "해당 '.map' 파일을 생성합니다.", - "Generator_implicitly_has_yield_type_0_because_it_does_not_yield_any_values_Consider_supplying_a_retu_7025": "생성기는 값을 생성하지 않으므로 암시적으로 yield 형식 '{0}'입니다. 반환 형식 주석을 제공하는 것이 좋습니다.", + "Generator_implicitly_has_yield_type_0_Consider_supplying_a_return_type_annotation_7025": "생성기에 암시적으로 '{0}' yield 형식이 있습니다. 반환 형식 주석을 제공하는 것이 좋습니다.", "Generators_are_not_allowed_in_an_ambient_context_1221": "생성기는 앰비언트 컨텍스트에서 사용할 수 없습니다.", "Generic_type_0_requires_1_type_argument_s_2314": "'{0}' 제네릭 형식에 {1} 형식 인수가 필요합니다.", "Generic_type_0_requires_between_1_and_2_type_arguments_2707": "제네릭 형식 '{0}'에 {1} 및 {2} 사이의 형식 인수가 필요합니다.", @@ -907,6 +909,7 @@ "Imported_via_0_from_file_1_with_packageId_2_1394": "packageId가 '{2}'인 '{1}' 파일에서 {0}을(를) 통해 가져왔습니다.", "Imported_via_0_from_file_1_with_packageId_2_to_import_importHelpers_as_specified_in_compilerOptions_1396": "compilerOptions에 지정된 대로 'importHelpers'를 가져오기 위해 packageId가 '{2}'인 '{1}' 파일에서 {0}을(를) 통해 가져왔습니다.", "Imported_via_0_from_file_1_with_packageId_2_to_import_jsx_and_jsxs_factory_functions_1398": "'jsx' 및 'jsxs' 팩터리 함수를 가져오기 위해 packageId가 '{2}'인 '{1}' 파일에서 {0}을(를) 통해 가져왔습니다.", + "Importing_a_JSON_file_into_an_ECMAScript_module_requires_a_type_Colon_json_import_attribute_when_mod_1543": "'module'이 '{0}'(으)로 설정된 경우 JSON 파일을 ECMAScript 모듈로 가져오려면 'type: \"json\"' 가져오기 특성이 필요합니다.", "Imports_are_not_permitted_in_module_augmentations_Consider_moving_them_to_the_enclosing_external_mod_2667": "가져오기는 모듈 확대에서 허용되지 않습니다. 내보내기를 바깥쪽 외부 모듈로 이동하세요.", "In_ambient_enum_declarations_member_initializer_must_be_constant_expression_1066": "앰비언트 열거형 선언에서 멤버 이니셜라이저는 상수 식이어야 합니다.", "In_an_enum_with_multiple_declarations_only_one_declaration_can_omit_an_initializer_for_its_first_enu_2432": "다중 선언이 포함된 열거형에서는 하나의 선언만 첫 번째 열거형 요소에 대한 이니셜라이저를 생략할 수 있습니다.", @@ -1059,6 +1062,7 @@ "Name_is_not_valid_95136": "이름이 잘못되었습니다.", "Named_capturing_groups_are_only_available_when_targeting_ES2018_or_later_1503": "명명된 캡처 그룹은 'ES2018' 이상을 대상으로 하는 경우에만 사용할 수 있습니다.", "Named_capturing_groups_with_the_same_name_must_be_mutually_exclusive_to_each_other_1515": "이름이 같은 명명된 캡처 그룹은 상호 배타적이어야 합니다.", + "Named_imports_from_a_JSON_file_into_an_ECMAScript_module_are_not_allowed_when_module_is_set_to_0_1544": "'module'이 '{0}'(으)로 설정된 경우 JSON 파일에서 ECMAScript 모듈로 명명된 가져오기를 사용할 수 없습니다.", "Named_property_0_of_types_1_and_2_are_not_identical_2319": "명명된 속성 '{0}'의 형식 '{1}' 및 '{2}'이(가) 동일하지 않습니다.", "Namespace_0_has_no_exported_member_1_2694": "'{0}' 네임스페이스에 내보낸 멤버 '{1}'이(가) 없습니다.", "Namespace_must_be_given_a_name_1437": "네임스페이스에 이름을 지정해야 합니다.", @@ -1143,7 +1147,6 @@ "Option_project_cannot_be_mixed_with_source_files_on_a_command_line_5042": "명령줄에서 'project' 옵션을 원본 파일과 혼합하여 사용할 수 없습니다.", "Option_resolveJsonModule_cannot_be_specified_when_moduleResolution_is_set_to_classic_5070": "'moduleResolution'이 'classic'으로 설정된 경우 '--resolveJsonModule' 옵션을 지정할 수 없습니다.", "Option_resolveJsonModule_cannot_be_specified_when_module_is_set_to_none_system_or_umd_5071": "'module'이 'none', 'system' 또는 'umd'로 설정된 경우 '--resolveJsonModule' 옵션을 지정할 수 없습니다.", - "Option_tsBuildInfoFile_cannot_be_specified_without_specifying_option_incremental_or_composite_or_if__5111": "'incremental' 또는 'composite' 옵션을 지정하지 않거나 'tsc -b'를 실행하지 않는 경우 'tsBuildInfoFile' 옵션을 지정할 수 없습니다.", "Option_verbatimModuleSyntax_cannot_be_used_when_module_is_set_to_UMD_AMD_or_System_5105": "'module'이 'UMD', 'AMD' 또는 'System'으로 설정된 경우 'verbatimModuleSyntax' 옵션을 사용할 수 없습니다.", "Options_0_and_1_cannot_be_combined_6370": "'{0}' 및 '{1}' 옵션은 조합할 수 없습니다.", "Options_Colon_6027": "옵션:", @@ -1413,6 +1416,7 @@ "Reusing_resolution_of_type_reference_directive_0_from_1_of_old_program_it_was_successfully_resolved__6391": "이전 프로그램의 '{1}'에서 형식 참조 지시문 '{0}'의 해결 방법을 다시 사용 중이며 패키지 ID가 '{3}'인 '{2}'(으)로 해결되었습니다.", "Rewrite_all_as_indexed_access_types_95034": "인덱싱된 액세스 형식으로 모두 다시 작성", "Rewrite_as_the_indexed_access_type_0_90026": "인덱싱된 액세스 형식 '{0}'(으)로 다시 작성", + "Rewrite_ts_tsx_mts_and_cts_file_extensions_in_relative_import_paths_to_their_JavaScript_equivalent_i_6421": "출력 파일의 해당 JavaScript에 해당하는 상대 가져오기 경로에서 '.ts', '.tsx', '.mts' 및 '.cts' 파일 확장자를 다시 작성합니다.", "Right_operand_of_is_unreachable_because_the_left_operand_is_never_nullish_2869": "??의 오른쪽 피연산자는 왼쪽 피연산자가 nullish가 되지 않으므로 연결할 수 없습니다.", "Root_directory_cannot_be_determined_skipping_primary_search_paths_6122": "루트 디렉터리를 확인할 수 없어 기본 검색 경로를 건너뜁니다.", "Root_file_specified_for_compilation_1427": "컴파일을 위해 지정된 루트 파일", @@ -1633,6 +1637,8 @@ "There_are_types_at_0_but_this_result_could_not_be_resolved_when_respecting_package_json_exports_The__6278": "'{0}'에 형식이 있지만 package.json \"내보내기\"를 준수할 때 이 결과를 확인할 수 없습니다. '{1}' 라이브러리는 package.json 또는 입력을 업데이트해야 할 수 있습니다.", "There_is_no_capturing_group_named_0_in_this_regular_expression_1532": "이 정규식에는 이름이 '{0}'인 캡처 그룹이 없습니다.", "There_is_nothing_available_for_repetition_1507": "반복에 사용할 수 있는 항목이 없습니다.", + "This_JSX_tag_requires_0_to_be_in_scope_but_it_could_not_be_found_2874": "이 JSX 태그를 사용하려면 '{0}'이(가) 범위에 있어야 하지만 찾을 수 없습니다.", + "This_JSX_tag_requires_the_module_path_0_to_exist_but_none_could_be_found_Make_sure_you_have_types_fo_2875": "이 JSX 태그를 사용하려면 모듈 경로 '{0}'이(가) 있어야 하지만 찾을 수 없습니다. 적절한 패키지에 대해 형식이 설치되어 있는지 확인합니다.", "This_JSX_tag_s_0_prop_expects_a_single_child_of_type_1_but_multiple_children_were_provided_2746": "이 JSX 태그의 '{0}' 속성에는 '{1}' 형식의 자식 하나가 필요하지만, 여러 자식이 제공되었습니다.", "This_JSX_tag_s_0_prop_expects_type_1_which_requires_multiple_children_but_only_a_single_child_was_pr_2745": "이 JSX 태그의 '{0}' 속성에는 여러 자식이 있어야 하는 '{1}' 형식이 필요하지만, 단일 자식만 제공되었습니다.", "This_backreference_refers_to_a_group_that_does_not_exist_There_are_no_capturing_groups_in_this_regul_1534": "이 역참조는 존재하지 않는 그룹을 참조합니다. 이 정규식에는 캡처 그룹이 없습니다.", @@ -1650,6 +1656,8 @@ "This_expression_is_not_callable_because_it_is_a_get_accessor_Did_you_mean_to_use_it_without_6234": "이 식은 'get' 접근자이므로 호출할 수 없습니다. '()' 없이 사용하시겠습니까?", "This_expression_is_not_constructable_2351": "이 식은 생성할 수 없습니다.", "This_file_already_has_a_default_export_95130": "이 파일에 이미 기본 내보내기가 있습니다.", + "This_import_path_is_unsafe_to_rewrite_because_it_resolves_to_another_project_and_the_relative_path_b_2878": "이 가져오기 경로는 다른 프로젝트로 확인되고 프로젝트의 출력 파일 간의 상대 경로가 입력 파일 간의 상대 경로와 동일하지 않으므로 다시 쓰기에는 안전하지 않습니다.", + "This_import_uses_a_0_extension_to_resolve_to_an_input_TypeScript_file_but_will_not_be_rewritten_duri_2877": "이 가져오기는 '{0}' 확장을 사용하여 입력 TypeScript 파일로 확인하지만 상대 경로가 아니므로 내보내는 동안 다시 작성되지 않습니다.", "This_is_the_declaration_being_augmented_Consider_moving_the_augmenting_declaration_into_the_same_fil_6233": "확대되는 선언입니다. 확대하는 선언을 같은 파일로 이동하는 것이 좋습니다.", "This_kind_of_expression_is_always_falsy_2873": "이러한 종류의 식은 항상 거짓입니다.", "This_kind_of_expression_is_always_truthy_2872": "이러한 종류의 식은 항상 사실입니다.", @@ -1673,6 +1681,7 @@ "This_parameter_property_must_have_an_override_modifier_because_it_overrides_a_member_in_base_class_0_4115": "이 매개 변수 속성은 기본 클래스 '{0}'의 멤버를 재정의하므로 'override' 한정자를 포함해야 합니다.", "This_regular_expression_flag_cannot_be_toggled_within_a_subpattern_1509": "이 정규식 플래그는 하위 패턴 내에서 토글할 수 없습니다.", "This_regular_expression_flag_is_only_available_when_targeting_0_or_later_1501": "이 정규식 플래그는 '{0}' 이상을 대상으로 하는 경우에만 사용할 수 있습니다.", + "This_relative_import_path_is_unsafe_to_rewrite_because_it_looks_like_a_file_name_but_actually_resolv_2876": "이 상대 가져오기 경로는 파일 이름처럼 보이지만 실제로는 \"{0}\"(으)로 확인되므로 다시 작성하는 것이 안전하지 않습니다.", "This_spread_always_overwrites_this_property_2785": "이 스프레드는 항상 이 속성을 덮어씁니다.", "This_syntax_is_reserved_in_files_with_the_mts_or_cts_extension_Add_a_trailing_comma_or_explicit_cons_7060": "이 구문은 확장자가 .mts 또는 .cts인 파일에 예약되어 있습니다. 후행 쉼표 또는 명시적 제약 조건을 추가합니다.", "This_syntax_is_reserved_in_files_with_the_mts_or_cts_extension_Use_an_as_expression_instead_7059": "이 구문은 확장자가 .mts 또는 .cts인 파일에 예약되어 있습니다. 대신 'as' 식을 사용하세요.", @@ -1748,6 +1757,7 @@ "Type_expected_1110": "형식이 필요합니다.", "Type_import_assertions_should_have_exactly_one_key_resolution_mode_with_value_import_or_require_1456": "유형 가져오기 어설션에는 값이 '가져오기' 또는 '요구'인 정확히 하나의 키('resolution-mode')가 있어야 합니다.", "Type_import_attributes_should_have_exactly_one_key_resolution_mode_with_value_import_or_require_1464": "형식 가져오기 특성에는 값이 'import' 또는 'require'인 키 'resolution-mode'가 정확히 하나 있어야 합니다.", + "Type_import_of_an_ECMAScript_module_from_a_CommonJS_module_must_have_a_resolution_mode_attribute_1542": "CommonJS 모듈에서 ECMAScript 모듈의 형식 가져오기에는 'resolution-mode' 특성이 있어야 합니다.", "Type_instantiation_is_excessively_deep_and_possibly_infinite_2589": "형식 인스턴스화는 깊이가 매우 깊으며 무한할 수도 있습니다.", "Type_is_referenced_directly_or_indirectly_in_the_fulfillment_callback_of_its_own_then_method_1062": "형식은 자체 'then' 메서드의 처리 콜백에서 직간접적으로 참조됩니다.", "Type_library_referenced_via_0_from_file_1_1402": "'{1}' 파일에서 '{0}'을(를) 통해 형식 라이브러리가 참조되었습니다.", @@ -1758,6 +1768,7 @@ "Type_of_iterated_elements_of_a_yield_Asterisk_operand_must_either_be_a_valid_promise_or_must_not_con_1322": "'yield*'의 반복되는 요소 형식의 피연산자는 유효한 프라미스여야 하거나 호출 가능 'then' 멤버를 포함하지 않아야 합니다.", "Type_of_property_0_circularly_references_itself_in_mapped_type_1_2615": "'{0}' 속성의 형식은 매핑된 형식 '{1}'에서 순환적으로 자신을 참조합니다.", "Type_of_yield_operand_in_an_async_generator_must_either_be_a_valid_promise_or_must_not_contain_a_cal_1321": "비동기 생성기에 있는 'yield' 형식의 피연산자는 유효한 프라미스여야 하거나 호출 가능 'then' 멤버를 포함하지 않아야 합니다.", + "Type_only_import_of_an_ECMAScript_module_from_a_CommonJS_module_must_have_a_resolution_mode_attribut_1541": "CommonJS 모듈에서 ECMAScript 모듈의 형식 전용 가져오기에는 'resolution-mode' 특성이 있어야 합니다.", "Type_originates_at_this_import_A_namespace_style_import_cannot_be_called_or_constructed_and_will_cau_7038": "형식이 이 가져오기에서 시작됩니다. 네임스페이스 스타일 가져오기는 호출하거나 생성할 수 없으며, 런타임에 오류를 초래합니다. 여기서는 대신 기본 가져오기 또는 가져오기 require를 사용하는 것이 좋습니다.", "Type_parameter_0_has_a_circular_constraint_2313": "형식 매개 변수 '{0}'에 순환 제약 조건이 있습니다.", "Type_parameter_0_has_a_circular_default_2716": "형식 매개 변수 '{0}'에 순환 기본값이 있습니다.", @@ -1844,6 +1855,7 @@ "Use_the_package_json_imports_field_when_resolving_imports_6409": "가져오기를 확인할 때 package.json 'imports' 필드를 사용합니다.", "Use_type_0_95181": "'형식 {0}' 사용", "Using_0_subpath_1_with_target_2_6404": "'{0}' 하위 경로 '{1}'과(와) 대상 '{2}'을(를) 사용하는 중입니다.", + "Using_JSX_fragments_requires_fragment_factory_0_to_be_in_scope_but_it_could_not_be_found_2879": "JSX 조각을 사용하려면 조각 팩터리 '{0}'이(가) 범위에 있어야 하지만 찾을 수 없습니다.", "Using_a_string_in_a_for_of_statement_is_only_supported_in_ECMAScript_5_and_higher_2494": "ECMAScript 5 이상에서만 'for...of' 문에서 문자열을 사용할 수 있습니다.", "Using_build_b_will_make_tsc_behave_more_like_a_build_orchestrator_than_a_compiler_This_is_used_to_tr_6915": "--build를 사용하면 -b가 tsc로 하여금 컴파일러보다 빌드 오케스트레이터처럼 작동하도록 합니다. 이 항목은 {0}에서 더 자세히 알아볼 수 있는 복합 프로젝트를 구축하는 데 사용됩니다.", "Using_compiler_options_of_project_reference_redirect_0_6215": "프로젝트 참조 리디렉션 '{0}'의 컴파일러 옵션을 사용 중입니다.", diff --git a/node_modules/typescript/lib/lib.decorators.d.ts b/node_modules/typescript/lib/lib.decorators.d.ts index 5ac09b8257..5ad7216a1a 100644 --- a/node_modules/typescript/lib/lib.decorators.d.ts +++ b/node_modules/typescript/lib/lib.decorators.d.ts @@ -110,9 +110,9 @@ interface ClassMethodDecoratorContext< }; /** - * Adds a callback to be invoked either before static initializers are run (when - * decorating a `static` element), or before instance initializers are run (when - * decorating a non-`static` element). + * Adds a callback to be invoked either after static methods are defined but before + * static initializers are run (when decorating a `static` element), or before instance + * initializers are run (when decorating a non-`static` element). * * @example * ```ts @@ -176,9 +176,9 @@ interface ClassGetterDecoratorContext< }; /** - * Adds a callback to be invoked either before static initializers are run (when - * decorating a `static` element), or before instance initializers are run (when - * decorating a non-`static` element). + * Adds a callback to be invoked either after static methods are defined but before + * static initializers are run (when decorating a `static` element), or before instance + * initializers are run (when decorating a non-`static` element). */ addInitializer(initializer: (this: This) => void): void; @@ -223,9 +223,9 @@ interface ClassSetterDecoratorContext< }; /** - * Adds a callback to be invoked either before static initializers are run (when - * decorating a `static` element), or before instance initializers are run (when - * decorating a non-`static` element). + * Adds a callback to be invoked either after static methods are defined but before + * static initializers are run (when decorating a `static` element), or before instance + * initializers are run (when decorating a non-`static` element). */ addInitializer(initializer: (this: This) => void): void; @@ -279,9 +279,8 @@ interface ClassAccessorDecoratorContext< }; /** - * Adds a callback to be invoked either before static initializers are run (when - * decorating a `static` element), or before instance initializers are run (when - * decorating a non-`static` element). + * Adds a callback to be invoked immediately after the auto `accessor` being + * decorated is initialized (regardless if the `accessor` is `static` or not). */ addInitializer(initializer: (this: This) => void): void; @@ -376,9 +375,8 @@ interface ClassFieldDecoratorContext< }; /** - * Adds a callback to be invoked either before static initializers are run (when - * decorating a `static` element), or before instance initializers are run (when - * decorating a non-`static` element). + * Adds a callback to be invoked immediately after the field being decorated + * is initialized (regardless if the field is `static` or not). */ addInitializer(initializer: (this: This) => void): void; diff --git a/node_modules/typescript/lib/lib.dom.d.ts b/node_modules/typescript/lib/lib.dom.d.ts index 9ecd352b10..a0d19a52c4 100644 --- a/node_modules/typescript/lib/lib.dom.d.ts +++ b/node_modules/typescript/lib/lib.dom.d.ts @@ -26,6 +26,19 @@ interface AddEventListenerOptions extends EventListenerOptions { signal?: AbortSignal; } +interface AddressErrors { + addressLine?: string; + city?: string; + country?: string; + dependentLocality?: string; + organization?: string; + phone?: string; + postalCode?: string; + recipient?: string; + region?: string; + sortingCode?: string; +} + interface AesCbcParams extends Algorithm { iv: BufferSource; } @@ -107,6 +120,59 @@ interface AudioContextOptions { sampleRate?: number; } +interface AudioDataCopyToOptions { + format?: AudioSampleFormat; + frameCount?: number; + frameOffset?: number; + planeIndex: number; +} + +interface AudioDataInit { + data: BufferSource; + format: AudioSampleFormat; + numberOfChannels: number; + numberOfFrames: number; + sampleRate: number; + timestamp: number; + transfer?: ArrayBuffer[]; +} + +interface AudioDecoderConfig { + codec: string; + description?: BufferSource; + numberOfChannels: number; + sampleRate: number; +} + +interface AudioDecoderInit { + error: WebCodecsErrorCallback; + output: AudioDataOutputCallback; +} + +interface AudioDecoderSupport { + config?: AudioDecoderConfig; + supported?: boolean; +} + +interface AudioEncoderConfig { + bitrate?: number; + bitrateMode?: BitrateMode; + codec: string; + numberOfChannels: number; + opus?: OpusEncoderConfig; + sampleRate: number; +} + +interface AudioEncoderInit { + error: WebCodecsErrorCallback; + output: EncodedAudioChunkOutputCallback; +} + +interface AudioEncoderSupport { + config?: AudioEncoderConfig; + supported?: boolean; +} + interface AudioNodeOptions { channelCount?: number; channelCountMode?: ChannelCountMode; @@ -137,12 +203,32 @@ interface AuthenticationExtensionsClientInputs { credProps?: boolean; hmacCreateSecret?: boolean; minPinLength?: boolean; + prf?: AuthenticationExtensionsPRFInputs; +} + +interface AuthenticationExtensionsClientInputsJSON { } interface AuthenticationExtensionsClientOutputs { appid?: boolean; credProps?: CredentialPropertiesOutput; hmacCreateSecret?: boolean; + prf?: AuthenticationExtensionsPRFOutputs; +} + +interface AuthenticationExtensionsPRFInputs { + eval?: AuthenticationExtensionsPRFValues; + evalByCredential?: Record; +} + +interface AuthenticationExtensionsPRFOutputs { + enabled?: boolean; + results?: AuthenticationExtensionsPRFValues; +} + +interface AuthenticationExtensionsPRFValues { + first: BufferSource; + second?: BufferSource; } interface AuthenticatorSelectionCriteria { @@ -208,6 +294,10 @@ interface CanvasRenderingContext2DSettings { willReadFrequently?: boolean; } +interface CaretPositionFromPointOptions { + shadowRoots?: ShadowRoot[]; +} + interface ChannelMergerOptions extends AudioNodeOptions { numberOfInputs?: number; } @@ -468,6 +558,18 @@ interface ElementDefinitionOptions { extends?: string; } +interface EncodedAudioChunkInit { + data: AllowSharedBufferSource; + duration?: number; + timestamp: number; + transfer?: ArrayBuffer[]; + type: EncodedAudioChunkType; +} + +interface EncodedAudioChunkMetadata { + decoderConfig?: AudioDecoderConfig; +} + interface EncodedVideoChunkInit { data: AllowSharedBufferSource; duration?: number; @@ -698,16 +800,6 @@ interface InputEventInit extends UIEventInit { targetRanges?: StaticRange[]; } -interface IntersectionObserverEntryInit { - boundingClientRect: DOMRectInit; - intersectionRatio: number; - intersectionRect: DOMRectInit; - isIntersecting: boolean; - rootBounds: DOMRectInit | null; - target: Element; - time: DOMHighResTimeStamp; -} - interface IntersectionObserverInit { root?: Element | Document | null; rootMargin?: string; @@ -917,6 +1009,7 @@ interface MediaStreamTrackEventInit extends EventInit { interface MediaTrackCapabilities { aspectRatio?: DoubleRange; autoGainControl?: boolean[]; + backgroundBlur?: boolean[]; channelCount?: ULongRange; deviceId?: string; displaySurface?: string; @@ -934,6 +1027,7 @@ interface MediaTrackCapabilities { interface MediaTrackConstraintSet { aspectRatio?: ConstrainDouble; autoGainControl?: ConstrainBoolean; + backgroundBlur?: ConstrainBoolean; channelCount?: ConstrainULong; deviceId?: ConstrainDOMString; displaySurface?: ConstrainDOMString; @@ -955,6 +1049,7 @@ interface MediaTrackConstraints extends MediaTrackConstraintSet { interface MediaTrackSettings { aspectRatio?: number; autoGainControl?: boolean; + backgroundBlur?: boolean; channelCount?: number; deviceId?: string; displaySurface?: string; @@ -972,6 +1067,7 @@ interface MediaTrackSettings { interface MediaTrackSupportedConstraints { aspectRatio?: boolean; autoGainControl?: boolean; + backgroundBlur?: boolean; channelCount?: boolean; deviceId?: boolean; displaySurface?: boolean; @@ -1066,6 +1162,15 @@ interface OptionalEffectTiming { playbackRate?: number; } +interface OpusEncoderConfig { + complexity?: number; + format?: OpusBitstreamFormat; + frameDuration?: number; + packetlossperc?: number; + usedtx?: boolean; + useinbandfec?: boolean; +} + interface OscillatorOptions extends AudioNodeOptions { detune?: number; frequency?: number; @@ -1094,6 +1199,12 @@ interface PannerOptions extends AudioNodeOptions { rolloffFactor?: number; } +interface PayerErrors { + email?: string; + name?: string; + phone?: string; +} + interface PaymentCurrencyAmount { currency: string; value: string; @@ -1102,6 +1213,7 @@ interface PaymentCurrencyAmount { interface PaymentDetailsBase { displayItems?: PaymentItem[]; modifiers?: PaymentDetailsModifier[]; + shippingOptions?: PaymentShippingOption[]; } interface PaymentDetailsInit extends PaymentDetailsBase { @@ -1117,7 +1229,9 @@ interface PaymentDetailsModifier { } interface PaymentDetailsUpdate extends PaymentDetailsBase { + error?: string; paymentMethodErrors?: any; + shippingAddressErrors?: AddressErrors; total?: PaymentItem; } @@ -1137,12 +1251,28 @@ interface PaymentMethodData { supportedMethods: string; } +interface PaymentOptions { + requestPayerEmail?: boolean; + requestPayerName?: boolean; + requestPayerPhone?: boolean; + requestShipping?: boolean; + shippingType?: PaymentShippingType; +} + interface PaymentRequestUpdateEventInit extends EventInit { } +interface PaymentShippingOption { + amount: PaymentCurrencyAmount; + id: string; + label: string; + selected?: boolean; +} + interface PaymentValidationErrors { error?: string; - paymentMethod?: any; + payer?: PayerErrors; + shippingAddress?: AddressErrors; } interface Pbkdf2Params extends Algorithm { @@ -1192,6 +1322,8 @@ interface PlaneLayout { } interface PointerEventInit extends MouseEventInit { + altitudeAngle?: number; + azimuthAngle?: number; coalescedEvents?: PointerEvent[]; height?: number; isPrimary?: boolean; @@ -1257,12 +1389,31 @@ interface PublicKeyCredentialCreationOptions { user: PublicKeyCredentialUserEntity; } +interface PublicKeyCredentialCreationOptionsJSON { + attestation?: string; + authenticatorSelection?: AuthenticatorSelectionCriteria; + challenge: Base64URLString; + excludeCredentials?: PublicKeyCredentialDescriptorJSON[]; + extensions?: AuthenticationExtensionsClientInputsJSON; + hints?: string[]; + pubKeyCredParams: PublicKeyCredentialParameters[]; + rp: PublicKeyCredentialRpEntity; + timeout?: number; + user: PublicKeyCredentialUserEntityJSON; +} + interface PublicKeyCredentialDescriptor { id: BufferSource; transports?: AuthenticatorTransport[]; type: PublicKeyCredentialType; } +interface PublicKeyCredentialDescriptorJSON { + id: Base64URLString; + transports?: string[]; + type: string; +} + interface PublicKeyCredentialEntity { name: string; } @@ -1281,6 +1432,16 @@ interface PublicKeyCredentialRequestOptions { userVerification?: UserVerificationRequirement; } +interface PublicKeyCredentialRequestOptionsJSON { + allowCredentials?: PublicKeyCredentialDescriptorJSON[]; + challenge: Base64URLString; + extensions?: AuthenticationExtensionsClientInputsJSON; + hints?: string[]; + rpId?: string; + timeout?: number; + userVerification?: string; +} + interface PublicKeyCredentialRpEntity extends PublicKeyCredentialEntity { id?: string; } @@ -1290,6 +1451,12 @@ interface PublicKeyCredentialUserEntity extends PublicKeyCredentialEntity { id: BufferSource; } +interface PublicKeyCredentialUserEntityJSON { + displayName: string; + id: Base64URLString; + name: string; +} + interface PushSubscriptionJSON { endpoint?: string; expirationTime?: EpochTimeStamp | null; @@ -2012,6 +2179,7 @@ interface VideoConfiguration { colorGamut?: ColorGamut; contentType: string; framerate: number; + hasAlphaChannel?: boolean; hdrMetadataType?: HdrMetadataType; height: number; scalabilityMode?: string; @@ -2047,6 +2215,7 @@ interface VideoEncoderConfig { bitrate?: number; bitrateMode?: VideoEncoderBitrateMode; codec: string; + contentHint?: string; displayHeight?: number; displayWidth?: number; framerate?: number; @@ -2058,9 +2227,14 @@ interface VideoEncoderConfig { } interface VideoEncoderEncodeOptions { + avc?: VideoEncoderEncodeOptionsForAvc; keyFrame?: boolean; } +interface VideoEncoderEncodeOptionsForAvc { + quantizer?: number | null; +} + interface VideoEncoderInit { error: WebCodecsErrorCallback; output: EncodedVideoChunkOutputCallback; @@ -2098,6 +2272,8 @@ interface VideoFrameCallbackMetadata { } interface VideoFrameCopyToOptions { + colorSpace?: PredefinedColorSpace; + format?: VideoPixelFormat; layout?: PlaneLayout[]; rect?: DOMRectInit; } @@ -2241,6 +2417,8 @@ interface ARIAMixin { ariaColCount: string | null; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaColIndex) */ ariaColIndex: string | null; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaColIndexText) */ + ariaColIndexText: string | null; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaColSpan) */ ariaColSpan: string | null; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaCurrent) */ @@ -2288,6 +2466,8 @@ interface ARIAMixin { ariaRowCount: string | null; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaRowIndex) */ ariaRowIndex: string | null; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaRowIndexText) */ + ariaRowIndexText: string | null; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaRowSpan) */ ariaRowSpan: string | null; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaSelected) */ @@ -2464,7 +2644,7 @@ interface Animatable { interface AnimationEventMap { "cancel": AnimationPlaybackEvent; "finish": AnimationPlaybackEvent; - "remove": Event; + "remove": AnimationPlaybackEvent; } /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Animation) */ @@ -2482,7 +2662,7 @@ interface Animation extends EventTarget { /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Animation/finish_event) */ onfinish: ((this: Animation, ev: AnimationPlaybackEvent) => any) | null; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Animation/remove_event) */ - onremove: ((this: Animation, ev: Event) => any) | null; + onremove: ((this: Animation, ev: AnimationPlaybackEvent) => any) | null; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Animation/pending) */ readonly pending: boolean; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Animation/playState) */ @@ -2714,6 +2894,74 @@ declare var AudioContext: { new(contextOptions?: AudioContextOptions): AudioContext; }; +/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioData) */ +interface AudioData { + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioData/duration) */ + readonly duration: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioData/format) */ + readonly format: AudioSampleFormat | null; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioData/numberOfChannels) */ + readonly numberOfChannels: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioData/numberOfFrames) */ + readonly numberOfFrames: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioData/sampleRate) */ + readonly sampleRate: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioData/timestamp) */ + readonly timestamp: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioData/allocationSize) */ + allocationSize(options: AudioDataCopyToOptions): number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioData/clone) */ + clone(): AudioData; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioData/close) */ + close(): void; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioData/copyTo) */ + copyTo(destination: AllowSharedBufferSource, options: AudioDataCopyToOptions): void; +} + +declare var AudioData: { + prototype: AudioData; + new(init: AudioDataInit): AudioData; +}; + +interface AudioDecoderEventMap { + "dequeue": Event; +} + +/** + * Available only in secure contexts. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioDecoder) + */ +interface AudioDecoder extends EventTarget { + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioDecoder/decodeQueueSize) */ + readonly decodeQueueSize: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioDecoder/dequeue_event) */ + ondequeue: ((this: AudioDecoder, ev: Event) => any) | null; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioDecoder/state) */ + readonly state: CodecState; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioDecoder/close) */ + close(): void; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioDecoder/configure) */ + configure(config: AudioDecoderConfig): void; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioDecoder/decode) */ + decode(chunk: EncodedAudioChunk): void; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioDecoder/flush) */ + flush(): Promise; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioDecoder/reset) */ + reset(): void; + addEventListener(type: K, listener: (this: AudioDecoder, ev: AudioDecoderEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; + addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; + removeEventListener(type: K, listener: (this: AudioDecoder, ev: AudioDecoderEventMap[K]) => any, options?: boolean | EventListenerOptions): void; + removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; +} + +declare var AudioDecoder: { + prototype: AudioDecoder; + new(init: AudioDecoderInit): AudioDecoder; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioDecoder/isConfigSupported_static) */ + isConfigSupported(config: AudioDecoderConfig): Promise; +}; + /** * 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. * @@ -2729,6 +2977,45 @@ declare var AudioDestinationNode: { new(): AudioDestinationNode; }; +interface AudioEncoderEventMap { + "dequeue": Event; +} + +/** + * Available only in secure contexts. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioEncoder) + */ +interface AudioEncoder extends EventTarget { + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioEncoder/encodeQueueSize) */ + readonly encodeQueueSize: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioEncoder/dequeue_event) */ + ondequeue: ((this: AudioEncoder, ev: Event) => any) | null; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioEncoder/state) */ + readonly state: CodecState; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioEncoder/close) */ + close(): void; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioEncoder/configure) */ + configure(config: AudioEncoderConfig): void; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioEncoder/encode) */ + encode(data: AudioData): void; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioEncoder/flush) */ + flush(): Promise; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioEncoder/reset) */ + reset(): void; + addEventListener(type: K, listener: (this: AudioEncoder, ev: AudioEncoderEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; + addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; + removeEventListener(type: K, listener: (this: AudioEncoder, ev: AudioEncoderEventMap[K]) => any, options?: boolean | EventListenerOptions): void; + removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; +} + +declare var AudioEncoder: { + prototype: AudioEncoder; + new(init: AudioEncoderInit): AudioEncoder; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioEncoder/isConfigSupported_static) */ + isConfigSupported(config: AudioEncoderConfig): Promise; +}; + /** * 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. * @@ -2924,7 +3211,7 @@ declare var AudioWorklet: { }; interface AudioWorkletNodeEventMap { - "processorerror": Event; + "processorerror": ErrorEvent; } /** @@ -2934,7 +3221,7 @@ interface AudioWorkletNodeEventMap { */ interface AudioWorkletNode extends AudioNode { /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioWorkletNode/processorerror_event) */ - onprocessorerror: ((this: AudioWorkletNode, ev: Event) => any) | null; + onprocessorerror: ((this: AudioWorkletNode, ev: ErrorEvent) => any) | null; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioWorkletNode/parameters) */ readonly parameters: AudioParamMap; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioWorkletNode/port) */ @@ -3151,6 +3438,8 @@ interface Blob { readonly type: string; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Blob/arrayBuffer) */ arrayBuffer(): Promise; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Blob/bytes) */ + bytes(): Promise; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Blob/slice) */ slice(start?: number, end?: number, contentType?: string): Blob; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Blob/stream) */ @@ -3186,6 +3475,8 @@ interface Body { arrayBuffer(): Promise; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Request/blob) */ blob(): Promise; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Request/bytes) */ + bytes(): Promise; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Request/formData) */ formData(): Promise; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Request/json) */ @@ -3413,7 +3704,7 @@ interface CSSImportRule extends CSSRule { readonly layerName: string | null; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSImportRule/media) */ readonly media: MediaList; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSImportRule/stylesheet) */ + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSImportRule/styleSheet) */ readonly styleSheet: CSSStyleSheet | null; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSImportRule/supportsText) */ readonly supportsText: string | null; @@ -3449,6 +3740,7 @@ declare var CSSKeyframeRule: { interface CSSKeyframesRule extends CSSRule { /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSKeyframesRule/cssRules) */ readonly cssRules: CSSRuleList; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSKeyframesRule/length) */ readonly length: number; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSKeyframesRule/name) */ name: string; @@ -3706,7 +3998,7 @@ declare var CSSPerspective: { interface CSSPropertyRule extends CSSRule { /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPropertyRule/inherits) */ readonly inherits: boolean; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPropertyRule/initialvalue) */ + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPropertyRule/initialValue) */ readonly initialValue: string | null; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPropertyRule/name) */ readonly name: string; @@ -4097,11 +4389,13 @@ interface CSSStyleDeclaration { clip: string; /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/clip-path) */ clipPath: string; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/clip-rule) */ clipRule: string; /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/color) */ color: string; /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/color-interpolation) */ colorInterpolation: string; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/color-interpolation-filters) */ colorInterpolationFilters: string; /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/color-scheme) */ colorScheme: string; @@ -4127,9 +4421,11 @@ interface CSSStyleDeclaration { columns: string; /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/contain) */ contain: string; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/contain-intrinsic-block-size) */ containIntrinsicBlockSize: string; /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/contain-intrinsic-height) */ containIntrinsicHeight: string; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/contain-intrinsic-inline-size) */ containIntrinsicInlineSize: string; /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/contain-intrinsic-size) */ containIntrinsicSize: string; @@ -4157,18 +4453,25 @@ interface CSSStyleDeclaration { cssText: string; /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/cursor) */ cursor: string; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/cx) */ cx: string; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/cy) */ cy: string; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/d) */ d: string; /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/direction) */ direction: string; /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/display) */ display: string; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/dominant-baseline) */ dominantBaseline: string; /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/empty-cells) */ emptyCells: string; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/fill) */ fill: string; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/fill-opacity) */ fillOpacity: string; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/fill-rule) */ fillRule: string; /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/filter) */ filter: string; @@ -4355,9 +4658,13 @@ interface CSSStyleDeclaration { marginRight: string; /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/margin-top) */ marginTop: string; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/marker) */ marker: string; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/marker-end) */ markerEnd: string; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/marker-mid) */ markerMid: string; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/marker-start) */ markerStart: string; /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/mask) */ mask: string; @@ -4507,6 +4814,7 @@ interface CSSStyleDeclaration { printColorAdjust: string; /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/quotes) */ quotes: string; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/r) */ r: string; /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/resize) */ resize: string; @@ -4516,9 +4824,13 @@ interface CSSStyleDeclaration { rotate: string; /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/row-gap) */ rowGap: string; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/ruby-align) */ + rubyAlign: string; /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/ruby-position) */ rubyPosition: string; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/rx) */ rx: string; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/ry) */ ry: string; /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/scale) */ scale: string; @@ -4586,16 +4898,27 @@ interface CSSStyleDeclaration { shapeMargin: string; /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/shape-outside) */ shapeOutside: string; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/shape-rendering) */ shapeRendering: string; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/stop-color) */ stopColor: string; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/stop-opacity) */ stopOpacity: string; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/stroke) */ stroke: string; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/stroke-dasharray) */ strokeDasharray: string; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/stroke-dashoffset) */ strokeDashoffset: string; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/stroke-linecap) */ strokeLinecap: string; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/stroke-linejoin) */ strokeLinejoin: string; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/stroke-miterlimit) */ strokeMiterlimit: string; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/stroke-opacity) */ strokeOpacity: string; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/stroke-width) */ strokeWidth: string; /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/tab-size) */ tabSize: string; @@ -4605,6 +4928,7 @@ interface CSSStyleDeclaration { textAlign: string; /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/text-align-last) */ textAlignLast: string; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/text-anchor) */ textAnchor: string; /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/text-combine-upright) */ textCombineUpright: string; @@ -4680,6 +5004,7 @@ interface CSSStyleDeclaration { unicodeBidi: string; /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/user-select) */ userSelect: string; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/vector-effect) */ vectorEffect: string; /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/vertical-align) */ verticalAlign: string; @@ -5109,7 +5434,9 @@ interface CSSStyleDeclaration { wordWrap: string; /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/writing-mode) */ writingMode: string; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/x) */ x: string; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/y) */ y: string; /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/z-index) */ zIndex: string; @@ -5647,6 +5974,18 @@ interface CanvasUserInterface { drawFocusIfNeeded(path: Path2D, element: Element): void; } +/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CaretPosition) */ +interface CaretPosition { + readonly offset: number; + readonly offsetNode: Node; + getClientRect(): DOMRect | null; +} + +declare var CaretPosition: { + prototype: CaretPosition; + new(): CaretPosition; +}; + /** * 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. * @@ -5862,6 +6201,8 @@ declare var CompositionEvent: { /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CompressionStream) */ interface CompressionStream extends GenericTransformStream { + readonly readable: ReadableStream; + readonly writable: WritableStream; } declare var CompressionStream: { @@ -6166,27 +6507,49 @@ declare var DOMImplementation: { /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrix) */ interface DOMMatrix extends DOMMatrixReadOnly { + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrix#instance_properties) */ a: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrix#instance_properties) */ b: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrix#instance_properties) */ c: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrix#instance_properties) */ d: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrix#instance_properties) */ e: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrix#instance_properties) */ f: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrix#instance_properties) */ m11: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrix#instance_properties) */ m12: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrix#instance_properties) */ m13: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrix#instance_properties) */ m14: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrix#instance_properties) */ m21: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrix#instance_properties) */ m22: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrix#instance_properties) */ m23: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrix#instance_properties) */ m24: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrix#instance_properties) */ m31: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrix#instance_properties) */ m32: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrix#instance_properties) */ m33: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrix#instance_properties) */ m34: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrix#instance_properties) */ m41: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrix#instance_properties) */ m42: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrix#instance_properties) */ m43: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrix#instance_properties) */ m44: number; invertSelf(): DOMMatrix; multiplySelf(other?: DOMMatrixInit): DOMMatrix; @@ -6218,29 +6581,51 @@ declare var WebKitCSSMatrix: typeof DOMMatrix; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly) */ interface DOMMatrixReadOnly { + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly#instance_properties) */ readonly a: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly#instance_properties) */ readonly b: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly#instance_properties) */ readonly c: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly#instance_properties) */ readonly d: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly#instance_properties) */ readonly e: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly#instance_properties) */ readonly f: number; readonly is2D: boolean; readonly isIdentity: boolean; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly#instance_properties) */ readonly m11: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly#instance_properties) */ readonly m12: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly#instance_properties) */ readonly m13: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly#instance_properties) */ readonly m14: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly#instance_properties) */ readonly m21: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly#instance_properties) */ readonly m22: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly#instance_properties) */ readonly m23: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly#instance_properties) */ readonly m24: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly#instance_properties) */ readonly m31: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly#instance_properties) */ readonly m32: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly#instance_properties) */ readonly m33: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly#instance_properties) */ readonly m34: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly#instance_properties) */ readonly m41: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly#instance_properties) */ readonly m42: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly#instance_properties) */ readonly m43: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly#instance_properties) */ readonly m44: number; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/flipX) */ flipX(): DOMMatrix; @@ -6712,6 +7097,8 @@ declare var DataTransferItemList: { /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DecompressionStream) */ interface DecompressionStream extends GenericTransformStream { + readonly readable: ReadableStream; + readonly writable: WritableStream; } declare var DecompressionStream: { @@ -6974,6 +7361,8 @@ interface Document extends Node, DocumentOrShadowRoot, FontFaceSource, GlobalEve * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/forms) */ readonly forms: HTMLCollectionOf; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/fragmentDirective) */ + readonly fragmentDirective: FragmentDirective; /** * @deprecated * @@ -7118,6 +7507,8 @@ interface Document extends Node, DocumentOrShadowRoot, FontFaceSource, GlobalEve adoptNode(node: T): T; /** @deprecated */ captureEvents(): void; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/caretPositionFromPoint) */ + caretPositionFromPoint(x: number, y: number, options?: CaretPositionFromPointOptions): CaretPosition | null; /** @deprecated */ caretRangeFromPoint(x: number, y: number): Range | null; /** @@ -7228,8 +7619,6 @@ interface Document extends Node, DocumentOrShadowRoot, FontFaceSource, GlobalEve createEvent(eventInterface: "MessageEvent"): MessageEvent; createEvent(eventInterface: "MouseEvent"): MouseEvent; createEvent(eventInterface: "MouseEvents"): MouseEvent; - createEvent(eventInterface: "MutationEvent"): MutationEvent; - createEvent(eventInterface: "MutationEvents"): MutationEvent; createEvent(eventInterface: "OfflineAudioCompletionEvent"): OfflineAudioCompletionEvent; createEvent(eventInterface: "PageTransitionEvent"): PageTransitionEvent; createEvent(eventInterface: "PaymentMethodChangeEvent"): PaymentMethodChangeEvent; @@ -7436,7 +7825,7 @@ interface Document extends Node, DocumentOrShadowRoot, FontFaceSource, GlobalEve /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/requestStorageAccess) */ requestStorageAccess(): Promise; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/startViewTransition) */ - startViewTransition(callbackOptions?: UpdateCallback): ViewTransition; + startViewTransition(callbackOptions?: ViewTransitionUpdateCallback): ViewTransition; /** * Writes one or more HTML expressions to a document in the specified window. * @param content Specifies the text and HTML tags to write. @@ -7705,6 +8094,8 @@ interface Element extends Node, ARIAMixin, Animatable, ChildNode, NonDocumentTyp readonly clientTop: number; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/clientWidth) */ readonly clientWidth: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/currentCSSZoom) */ + readonly currentCSSZoom: number; /** * Returns the value of element's id content attribute. Can be set to change it. * @@ -8036,6 +8427,25 @@ declare var ElementInternals: { new(): ElementInternals; }; +/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/EncodedAudioChunk) */ +interface EncodedAudioChunk { + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/EncodedAudioChunk/byteLength) */ + readonly byteLength: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/EncodedAudioChunk/duration) */ + readonly duration: number | null; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/EncodedAudioChunk/timestamp) */ + readonly timestamp: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/EncodedAudioChunk/type) */ + readonly type: EncodedAudioChunkType; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/EncodedAudioChunk/copyTo) */ + copyTo(destination: AllowSharedBufferSource): void; +} + +declare var EncodedAudioChunk: { + prototype: EncodedAudioChunk; + new(init: EncodedAudioChunkInit): EncodedAudioChunk; +}; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/EncodedVideoChunk) */ interface EncodedVideoChunk { /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/EncodedVideoChunk/byteLength) */ @@ -8631,23 +9041,23 @@ interface FontFace { declare var FontFace: { prototype: FontFace; - new(family: string, source: string | BinaryData, descriptors?: FontFaceDescriptors): FontFace; + new(family: string, source: string | BufferSource, descriptors?: FontFaceDescriptors): FontFace; }; interface FontFaceSetEventMap { - "loading": Event; - "loadingdone": Event; - "loadingerror": Event; + "loading": FontFaceSetLoadEvent; + "loadingdone": FontFaceSetLoadEvent; + "loadingerror": FontFaceSetLoadEvent; } /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/FontFaceSet) */ interface FontFaceSet extends EventTarget { /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/FontFaceSet/loading_event) */ - onloading: ((this: FontFaceSet, ev: Event) => any) | null; + onloading: ((this: FontFaceSet, ev: FontFaceSetLoadEvent) => any) | null; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/FontFaceSet/loadingdone_event) */ - onloadingdone: ((this: FontFaceSet, ev: Event) => any) | null; + onloadingdone: ((this: FontFaceSet, ev: FontFaceSetLoadEvent) => any) | null; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/FontFaceSet/loadingerror_event) */ - onloadingerror: ((this: FontFaceSet, ev: Event) => any) | null; + onloadingerror: ((this: FontFaceSet, ev: FontFaceSetLoadEvent) => any) | null; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/FontFaceSet/ready) */ readonly ready: Promise; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/FontFaceSet/status) */ @@ -8665,7 +9075,7 @@ interface FontFaceSet extends EventTarget { declare var FontFaceSet: { prototype: FontFaceSet; - new(initialFaces: FontFace[]): FontFaceSet; + new(): FontFaceSet; }; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/FontFaceSetLoadEvent) */ @@ -8729,6 +9139,15 @@ declare var FormDataEvent: { new(type: string, eventInitDict: FormDataEventInit): FormDataEvent; }; +/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/FragmentDirective) */ +interface FragmentDirective { +} + +declare var FragmentDirective: { + prototype: FragmentDirective; + new(): FragmentDirective; +}; + /** * 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. * @@ -8815,6 +9234,7 @@ declare var GamepadEvent: { interface GamepadHapticActuator { /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GamepadHapticActuator/playEffect) */ playEffect(type: GamepadHapticEffectType, params?: GamepadEffectParameters): Promise; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GamepadHapticActuator/reset) */ reset(): Promise; } @@ -9663,7 +10083,11 @@ declare var HTMLBRElement: { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLBaseElement) */ interface HTMLBaseElement extends HTMLElement { - /** Gets or sets the baseline URL on which relative links are based. */ + /** + * Gets or sets the baseline URL on which relative links are based. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLBaseElement/href) + */ href: string; /** * Sets or retrieves the window or frame at which to target content. @@ -9722,7 +10146,11 @@ declare var HTMLBodyElement: { interface HTMLButtonElement extends HTMLElement, PopoverInvokerElement { /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLButtonElement/disabled) */ disabled: boolean; - /** Retrieves a reference to the form that the object is embedded in. */ + /** + * Retrieves a reference to the form that the object is embedded in. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLButtonElement/form) + */ readonly form: HTMLFormElement | null; /** Overrides the action attribute (where the data on a form is sent) on the parent form element. */ formAction: string; @@ -9736,7 +10164,11 @@ interface HTMLButtonElement extends HTMLElement, PopoverInvokerElement { formTarget: string; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLButtonElement/labels) */ readonly labels: NodeListOf; - /** Sets or retrieves the name of the object. */ + /** + * Sets or retrieves the name of the object. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLButtonElement/name) + */ name: string; /** * Gets the classification and default behavior of the button. @@ -9744,20 +10176,43 @@ interface HTMLButtonElement extends HTMLElement, PopoverInvokerElement { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLButtonElement/type) */ type: "submit" | "reset" | "button"; - /** 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. */ + /** + * 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. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLButtonElement/validationMessage) + */ readonly validationMessage: string; - /** Returns a ValidityState object that represents the validity states of an element. */ + /** + * Returns a ValidityState object that represents the validity states of an element. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLButtonElement/validity) + */ readonly validity: ValidityState; - /** Sets or retrieves the default or selected value of the control. */ + /** + * Sets or retrieves the default or selected value of the control. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLButtonElement/value) + */ value: string; - /** Returns whether an element will successfully validate based on forms validation rules and constraints. */ + /** + * Returns whether an element will successfully validate based on forms validation rules and constraints. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLButtonElement/willValidate) + */ readonly willValidate: boolean; - /** Returns whether a form will validate when it is submitted, without having to submit it. */ + /** + * Returns whether a form will validate when it is submitted, without having to submit it. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLButtonElement/checkValidity) + */ checkValidity(): boolean; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLButtonElement/reportValidity) */ reportValidity(): boolean; /** * Sets a custom error message that is displayed when a form is submitted. * @param error Sets a custom error message that is displayed when a form is submitted. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLButtonElement/setCustomValidity) */ setCustomValidity(error: string): void; addEventListener(type: K, listener: (this: HTMLButtonElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; @@ -9909,7 +10364,11 @@ declare var HTMLDataElement: { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLDataListElement) */ interface HTMLDataListElement extends HTMLElement { - /** Returns an HTMLCollection of the option elements of the datalist element. */ + /** + * Returns an HTMLCollection of the option elements of the datalist element. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLDataListElement/options) + */ readonly options: HTMLCollectionOf; addEventListener(type: K, listener: (this: HTMLDataListElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; @@ -9924,6 +10383,7 @@ declare var HTMLDataListElement: { /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLDetailsElement) */ interface HTMLDetailsElement extends HTMLElement { + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLDetailsElement/open) */ name: string; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLDetailsElement/open) */ open: boolean; @@ -10070,6 +10530,7 @@ interface HTMLElement extends Element, ElementCSSInlineStyle, ElementContentEdit title: string; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/translate) */ translate: boolean; + writingSuggestions: string; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/attachInternals) */ attachInternals(): ElementInternals; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/click) */ @@ -10141,26 +10602,59 @@ declare var HTMLEmbedElement: { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLFieldSetElement) */ interface HTMLFieldSetElement extends HTMLElement { + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLFieldSetElement/disabled) */ disabled: boolean; - /** Returns an HTMLCollection of the form controls in the element. */ + /** + * Returns an HTMLCollection of the form controls in the element. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLFieldSetElement/elements) + */ readonly elements: HTMLCollection; - /** Retrieves a reference to the form that the object is embedded in. */ + /** + * Retrieves a reference to the form that the object is embedded in. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLFieldSetElement/form) + */ readonly form: HTMLFormElement | null; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLFieldSetElement/name) */ name: string; - /** Returns the string "fieldset". */ + /** + * Returns the string "fieldset". + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLFieldSetElement/type) + */ readonly type: string; - /** 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. */ + /** + * 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. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLFieldSetElement/validationMessage) + */ readonly validationMessage: string; - /** Returns a ValidityState object that represents the validity states of an element. */ + /** + * Returns a ValidityState object that represents the validity states of an element. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLFieldSetElement/validity) + */ readonly validity: ValidityState; - /** Returns whether an element will successfully validate based on forms validation rules and constraints. */ + /** + * Returns whether an element will successfully validate based on forms validation rules and constraints. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLFieldSetElement/willValidate) + */ readonly willValidate: boolean; - /** Returns whether a form will validate when it is submitted, without having to submit it. */ + /** + * Returns whether a form will validate when it is submitted, without having to submit it. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLFieldSetElement/checkValidity) + */ checkValidity(): boolean; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLFieldSetElement/reportValidity) */ reportValidity(): boolean; /** * Sets a custom error message that is displayed when a form is submitted. * @param error Sets a custom error message that is displayed when a form is submitted. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLFieldSetElement/setCustomValidity) */ setCustomValidity(error: string): void; addEventListener(type: K, listener: (this: HTMLFieldSetElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; @@ -10299,7 +10793,11 @@ interface HTMLFormElement extends HTMLElement { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLFormElement/target) */ target: string; - /** Returns whether a form will validate when it is submitted, without having to submit it. */ + /** + * Returns whether a form will validate when it is submitted, without having to submit it. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLFormElement/checkValidity) + */ checkValidity(): boolean; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLFormElement/reportValidity) */ reportValidity(): boolean; @@ -10862,23 +11360,48 @@ declare var HTMLImageElement: { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement) */ interface HTMLInputElement extends HTMLElement, PopoverInvokerElement { - /** Sets or retrieves a comma-separated list of content types. */ + /** + * Sets or retrieves a comma-separated list of content types. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/accept) + */ accept: string; /** * Sets or retrieves how the object is aligned with adjacent text. * @deprecated */ align: string; - /** Sets or retrieves a text alternative to the graphic. */ + /** + * Sets or retrieves a text alternative to the graphic. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/alt) + */ alt: string; - /** Specifies whether autocomplete is applied to an editable text field. */ + /** + * Specifies whether autocomplete is applied to an editable text field. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/autocomplete) + */ autocomplete: AutoFill; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/capture) */ capture: string; - /** Sets or retrieves the state of the check box or radio button. */ + /** + * Sets or retrieves the state of the check box or radio button. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/checked) + */ checked: boolean; - /** Sets or retrieves the state of the check box or radio button. */ + /** + * Sets or retrieves the state of the check box or radio button. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/defaultChecked) + */ defaultChecked: boolean; - /** Sets or retrieves the initial contents of the object. */ + /** + * Sets or retrieves the initial contents of the object. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/defaultValue) + */ defaultValue: string; dirName: string; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/disabled) */ @@ -10889,7 +11412,11 @@ interface HTMLInputElement extends HTMLElement, PopoverInvokerElement { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/files) */ files: FileList | null; - /** Retrieves a reference to the form that the object is embedded in. */ + /** + * Retrieves a reference to the form that the object is embedded in. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/form) + */ readonly form: HTMLFormElement | null; /** Overrides the action attribute (where the data on a form is sent) on the parent form element. */ formAction: string; @@ -10901,20 +11428,45 @@ interface HTMLInputElement extends HTMLElement, PopoverInvokerElement { formNoValidate: boolean; /** Overrides the target attribute on a form element. */ formTarget: string; - /** Sets or retrieves the height of the object. */ + /** + * Sets or retrieves the height of the object. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/height) + */ height: number; - /** When set, overrides the rendering of checkbox controls so that the current value is not visible. */ + /** + * When set, overrides the rendering of checkbox controls so that the current value is not visible. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/indeterminate) + */ indeterminate: boolean; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/labels) */ readonly labels: NodeListOf | null; - /** Specifies the ID of a pre-defined datalist of options for an input element. */ + /** + * Specifies the ID of a pre-defined datalist of options for an input element. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/list) + */ readonly list: HTMLDataListElement | null; - /** 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. */ + /** + * 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. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/max) + */ max: string; - /** Sets or retrieves the maximum number of characters that the user can enter in a text control. */ + /** + * Sets or retrieves the maximum number of characters that the user can enter in a text control. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/maxLength) + */ maxLength: number; - /** 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. */ + /** + * 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. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/min) + */ min: string; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/minLength) */ minLength: number; /** * Sets or retrieves the Boolean value indicating whether multiple items can be selected from a list. @@ -10922,14 +11474,31 @@ interface HTMLInputElement extends HTMLElement, PopoverInvokerElement { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/multiple) */ multiple: boolean; - /** Sets or retrieves the name of the object. */ + /** + * Sets or retrieves the name of the object. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/name) + */ name: string; - /** Gets or sets a string containing a regular expression that the user's input must match. */ + /** + * Gets or sets a string containing a regular expression that the user's input must match. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/pattern) + */ pattern: string; - /** 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. */ + /** + * 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. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/placeholder) + */ placeholder: string; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/readOnly) */ readOnly: boolean; - /** When present, marks an element that can't be submitted without a value. */ + /** + * When present, marks an element that can't be submitted without a value. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/required) + */ required: boolean; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/selectionDirection) */ selectionDirection: "forward" | "backward" | "none" | null; @@ -10945,10 +11514,19 @@ interface HTMLInputElement extends HTMLElement, PopoverInvokerElement { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/selectionStart) */ selectionStart: number | null; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/size) */ size: number; - /** The address or URL of the a media resource that is to be considered. */ + /** + * The address or URL of the a media resource that is to be considered. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/src) + */ src: string; - /** 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. */ + /** + * 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. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/step) + */ step: string; /** * Returns the content type of the object. @@ -10961,23 +11539,51 @@ interface HTMLInputElement extends HTMLElement, PopoverInvokerElement { * @deprecated */ useMap: string; - /** 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. */ + /** + * 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. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/validationMessage) + */ readonly validationMessage: string; - /** Returns a ValidityState object that represents the validity states of an element. */ + /** + * Returns a ValidityState object that represents the validity states of an element. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/validity) + */ readonly validity: ValidityState; - /** Returns the value of the data at the cursor's current position. */ + /** + * Returns the value of the data at the cursor's current position. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/value) + */ value: string; - /** 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. */ + /** + * 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. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/valueAsDate) + */ valueAsDate: Date | null; - /** Returns the input field value as a number. */ + /** + * Returns the input field value as a number. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/valueAsNumber) + */ valueAsNumber: number; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/webkitEntries) */ readonly webkitEntries: ReadonlyArray; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/webkitdirectory) */ webkitdirectory: boolean; - /** Sets or retrieves the width of the object. */ + /** + * Sets or retrieves the width of the object. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/width) + */ width: number; - /** Returns whether an element will successfully validate based on forms validation rules and constraints. */ + /** + * Returns whether an element will successfully validate based on forms validation rules and constraints. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/willValidate) + */ readonly willValidate: boolean; /** * Returns whether a form will validate when it is submitted, without having to submit it. @@ -11103,7 +11709,11 @@ declare var HTMLLabelElement: { interface HTMLLegendElement extends HTMLElement { /** @deprecated */ align: string; - /** Retrieves a reference to the form that the object is embedded in. */ + /** + * Retrieves a reference to the form that the object is embedded in. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLLegendElement/form) + */ readonly form: HTMLFormElement | null; addEventListener(type: K, listener: (this: HTMLLegendElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; @@ -11135,7 +11745,11 @@ interface HTMLLinkElement extends HTMLElement, LinkStyle { disabled: boolean; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLLinkElement/fetchPriority) */ fetchPriority: string; - /** Sets or retrieves a destination URL or an anchor point. */ + /** + * Sets or retrieves a destination URL or an anchor point. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLLinkElement/href) + */ href: string; /** * Sets or retrieves the language code of the object. @@ -11147,7 +11761,11 @@ interface HTMLLinkElement extends HTMLElement, LinkStyle { imageSrcset: string; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLLinkElement/integrity) */ integrity: string; - /** Sets or retrieves the media type. */ + /** + * Sets or retrieves the media type. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLLinkElement/media) + */ media: string; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLLinkElement/referrerPolicy) */ referrerPolicy: string; @@ -11193,7 +11811,11 @@ declare var HTMLLinkElement: { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMapElement) */ interface HTMLMapElement extends HTMLElement { - /** Retrieves a collection of the area objects defined for the given map object. */ + /** + * Retrieves a collection of the area objects defined for the given map object. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMapElement/areas) + */ readonly areas: HTMLCollection; /** * Sets or retrieves the name of the object. @@ -11544,13 +12166,19 @@ declare var HTMLMetaElement: { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMeterElement) */ interface HTMLMeterElement extends HTMLElement { + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMeterElement/high) */ high: number; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMeterElement/labels) */ readonly labels: NodeListOf; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMeterElement/low) */ low: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMeterElement/max) */ max: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMeterElement/min) */ min: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMeterElement/optimum) */ optimum: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMeterElement/value) */ value: number; addEventListener(type: K, listener: (this: HTMLMeterElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; @@ -11730,6 +12358,7 @@ interface HTMLObjectElement extends HTMLElement { */ checkValidity(): boolean; getSVGDocument(): Document | null; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLObjectElement/reportValidity) */ reportValidity(): boolean; /** * Sets a custom error message that is displayed when a form is submitted. @@ -11755,8 +12384,13 @@ declare var HTMLObjectElement: { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLOptGroupElement) */ interface HTMLOptGroupElement extends HTMLElement { + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLOptGroupElement/disabled) */ disabled: boolean; - /** Sets or retrieves a value that you can use to implement your own label functionality for the object. */ + /** + * Sets or retrieves a value that you can use to implement your own label functionality for the object. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLOptGroupElement/label) + */ label: string; addEventListener(type: K, listener: (this: HTMLOptGroupElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; @@ -11775,20 +12409,49 @@ declare var HTMLOptGroupElement: { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLOptionElement) */ interface HTMLOptionElement extends HTMLElement { - /** Sets or retrieves the status of an option. */ + /** + * Sets or retrieves the status of an option. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLOptionElement/defaultSelected) + */ defaultSelected: boolean; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLOptionElement/disabled) */ disabled: boolean; - /** Retrieves a reference to the form that the object is embedded in. */ + /** + * Retrieves a reference to the form that the object is embedded in. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLOptionElement/form) + */ readonly form: HTMLFormElement | null; - /** Sets or retrieves the ordinal position of an option in a list box. */ + /** + * Sets or retrieves the ordinal position of an option in a list box. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLOptionElement/index) + */ readonly index: number; - /** Sets or retrieves a value that you can use to implement your own label functionality for the object. */ + /** + * Sets or retrieves a value that you can use to implement your own label functionality for the object. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLOptionElement/label) + */ label: string; - /** Sets or retrieves whether the option in the list box is the default item. */ + /** + * Sets or retrieves whether the option in the list box is the default item. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLOptionElement/selected) + */ selected: boolean; - /** Sets or retrieves the text string specified by the option tag. */ + /** + * Sets or retrieves the text string specified by the option tag. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLOptionElement/text) + */ text: string; - /** Sets or retrieves the value which is returned to the server when the form control is submitted. */ + /** + * Sets or retrieves the value which is returned to the server when the form control is submitted. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLOptionElement/value) + */ value: string; addEventListener(type: K, listener: (this: HTMLOptionElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; @@ -11862,24 +12525,38 @@ interface HTMLOrSVGElement { */ interface HTMLOutputElement extends HTMLElement { defaultValue: string; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLOutputElement/form) */ readonly form: HTMLFormElement | null; readonly htmlFor: DOMTokenList; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLOutputElement/labels) */ readonly labels: NodeListOf; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLOutputElement/name) */ name: string; - /** Returns the string "output". */ + /** + * Returns the string "output". + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLOutputElement/type) + */ readonly type: string; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLOutputElement/validationMessage) */ readonly validationMessage: string; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLOutputElement/validity) */ readonly validity: ValidityState; /** * Returns the element's current value. * * Can be set, to change the value. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLOutputElement/value) */ value: string; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLOutputElement/willValidate) */ readonly willValidate: boolean; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLOutputElement/checkValidity) */ checkValidity(): boolean; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLOutputElement/reportValidity) */ reportValidity(): boolean; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLOutputElement/setCustomValidity) */ setCustomValidity(error: string): void; addEventListener(type: K, listener: (this: HTMLOutputElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; @@ -12135,11 +12812,23 @@ interface HTMLSelectElement extends HTMLElement { readonly form: HTMLFormElement | null; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLSelectElement/labels) */ readonly labels: NodeListOf; - /** Sets or retrieves the number of objects in a collection. */ + /** + * Sets or retrieves the number of objects in a collection. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLSelectElement/length) + */ length: number; - /** Sets or retrieves the Boolean value indicating whether multiple items can be selected from a list. */ + /** + * Sets or retrieves the Boolean value indicating whether multiple items can be selected from a list. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLSelectElement/multiple) + */ multiple: boolean; - /** Sets or retrieves the name of the object. */ + /** + * Sets or retrieves the name of the object. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLSelectElement/name) + */ name: string; /** * Returns an HTMLOptionsCollection of the list of options. @@ -12147,7 +12836,11 @@ interface HTMLSelectElement extends HTMLElement { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLSelectElement/options) */ readonly options: HTMLOptionsCollection; - /** When present, marks an element that can't be submitted without a value. */ + /** + * When present, marks an element that can't be submitted without a value. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLSelectElement/required) + */ required: boolean; /** * Sets or retrieves the index of the selected option in a select object. @@ -12157,7 +12850,11 @@ interface HTMLSelectElement extends HTMLElement { selectedIndex: number; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLSelectElement/selectedOptions) */ readonly selectedOptions: HTMLCollectionOf; - /** Sets or retrieves the number of rows in the list box. */ + /** + * Sets or retrieves the number of rows in the list box. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLSelectElement/size) + */ size: number; /** * Retrieves the type of select control based on the value of the MULTIPLE attribute. @@ -12165,9 +12862,17 @@ interface HTMLSelectElement extends HTMLElement { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLSelectElement/type) */ readonly type: "select-one" | "select-multiple"; - /** 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. */ + /** + * 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. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLSelectElement/validationMessage) + */ readonly validationMessage: string; - /** Returns a ValidityState object that represents the validity states of an element. */ + /** + * Returns a ValidityState object that represents the validity states of an element. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLSelectElement/validity) + */ readonly validity: ValidityState; /** * Sets or retrieves the value which is returned to the server when the form control is submitted. @@ -12175,7 +12880,11 @@ interface HTMLSelectElement extends HTMLElement { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLSelectElement/value) */ value: string; - /** Returns whether an element will successfully validate based on forms validation rules and constraints. */ + /** + * Returns whether an element will successfully validate based on forms validation rules and constraints. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLSelectElement/willValidate) + */ readonly willValidate: boolean; /** * Adds an element to the areas, controlRange, or options collection. @@ -12214,6 +12923,7 @@ interface HTMLSelectElement extends HTMLElement { */ remove(): void; remove(index: number): void; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLSelectElement/reportValidity) */ reportValidity(): boolean; /** * Sets a custom error message that is displayed when a form is submitted. @@ -12348,6 +13058,8 @@ interface HTMLTableCaptionElement extends HTMLElement { /** * Sets or retrieves the alignment of the caption or legend. * @deprecated + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTableCaptionElement/align) */ align: string; addEventListener(type: K, listener: (this: HTMLTableCaptionElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; @@ -12710,6 +13422,8 @@ interface HTMLTableRowElement extends HTMLElement { /** * Sets or retrieves how the object is aligned with adjacent text. * @deprecated + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTableRowElement/align) */ align: string; /** @@ -12748,7 +13462,11 @@ interface HTMLTableRowElement extends HTMLElement { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTableRowElement/sectionRowIndex) */ readonly sectionRowIndex: number; - /** @deprecated */ + /** + * @deprecated + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTableRowElement/vAlign) + */ vAlign: string; /** * Removes the specified cell from the table row, as well as from the cells collection. @@ -12784,6 +13502,8 @@ interface HTMLTableSectionElement extends HTMLElement { /** * Sets or retrieves a value that indicates the table alignment. * @deprecated + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTableSectionElement/align) */ align: string; /** @@ -12804,7 +13524,11 @@ interface HTMLTableSectionElement extends HTMLElement { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTableSectionElement/rows) */ readonly rows: HTMLCollectionOf; - /** @deprecated */ + /** + * @deprecated + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTableSectionElement/vAlign) + */ vAlign: string; /** * Removes the specified row (tr) from the element and from the rows collection. @@ -12868,35 +13592,84 @@ declare var HTMLTemplateElement: { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTextAreaElement) */ interface HTMLTextAreaElement extends HTMLElement { + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTextAreaElement/autocomplete) */ autocomplete: AutoFill; - /** Sets or retrieves the width of the object. */ + /** + * Sets or retrieves the width of the object. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTextAreaElement/cols) + */ cols: number; - /** Sets or retrieves the initial contents of the object. */ + /** + * Sets or retrieves the initial contents of the object. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTextAreaElement/defaultValue) + */ defaultValue: string; dirName: string; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTextAreaElement/disabled) */ disabled: boolean; - /** Retrieves a reference to the form that the object is embedded in. */ + /** + * Retrieves a reference to the form that the object is embedded in. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTextAreaElement/form) + */ readonly form: HTMLFormElement | null; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTextAreaElement/labels) */ readonly labels: NodeListOf; - /** Sets or retrieves the maximum number of characters that the user can enter in a text control. */ + /** + * Sets or retrieves the maximum number of characters that the user can enter in a text control. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTextAreaElement/maxLength) + */ maxLength: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTextAreaElement/minLength) */ minLength: number; - /** Sets or retrieves the name of the object. */ + /** + * Sets or retrieves the name of the object. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTextAreaElement/name) + */ name: string; - /** 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. */ + /** + * 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. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTextAreaElement/placeholder) + */ placeholder: string; - /** Sets or retrieves the value indicated whether the content of the object is read-only. */ + /** + * Sets or retrieves the value indicated whether the content of the object is read-only. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTextAreaElement/readOnly) + */ readOnly: boolean; - /** When present, marks an element that can't be submitted without a value. */ + /** + * When present, marks an element that can't be submitted without a value. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTextAreaElement/required) + */ required: boolean; - /** Sets or retrieves the number of horizontal rows contained in the object. */ + /** + * Sets or retrieves the number of horizontal rows contained in the object. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTextAreaElement/rows) + */ rows: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTextAreaElement/selectionDirection) */ selectionDirection: "forward" | "backward" | "none"; - /** Gets or sets the end position or offset of a text selection. */ + /** + * Gets or sets the end position or offset of a text selection. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTextAreaElement/selectionEnd) + */ selectionEnd: number; - /** Gets or sets the starting position or offset of a text selection. */ + /** + * Gets or sets the starting position or offset of a text selection. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTextAreaElement/selectionStart) + */ selectionStart: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTextAreaElement/textLength) */ readonly textLength: number; /** * Retrieves the type of control. @@ -12904,26 +13677,58 @@ interface HTMLTextAreaElement extends HTMLElement { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTextAreaElement/type) */ readonly type: string; - /** 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. */ + /** + * 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. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTextAreaElement/validationMessage) + */ readonly validationMessage: string; - /** Returns a ValidityState object that represents the validity states of an element. */ + /** + * Returns a ValidityState object that represents the validity states of an element. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTextAreaElement/validity) + */ readonly validity: ValidityState; - /** Retrieves or sets the text in the entry field of the textArea element. */ + /** + * Retrieves or sets the text in the entry field of the textArea element. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTextAreaElement/value) + */ value: string; - /** Returns whether an element will successfully validate based on forms validation rules and constraints. */ + /** + * Returns whether an element will successfully validate based on forms validation rules and constraints. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTextAreaElement/willValidate) + */ readonly willValidate: boolean; - /** Sets or retrieves how to handle wordwrapping in the object. */ + /** + * Sets or retrieves how to handle wordwrapping in the object. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTextAreaElement/wrap) + */ wrap: string; - /** Returns whether a form will validate when it is submitted, without having to submit it. */ + /** + * Returns whether a form will validate when it is submitted, without having to submit it. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTextAreaElement/checkValidity) + */ checkValidity(): boolean; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTextAreaElement/reportValidity) */ reportValidity(): boolean; - /** Highlights the input area of a form element. */ + /** + * Highlights the input area of a form element. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTextAreaElement/select) + */ select(): void; /** * Sets a custom error message that is displayed when a form is submitted. * @param error Sets a custom error message that is displayed when a form is submitted. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTextAreaElement/setCustomValidity) */ setCustomValidity(error: string): void; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTextAreaElement/setRangeText) */ setRangeText(replacement: string): void; setRangeText(replacement: string, start: number, end: number, selectionMode?: SelectionMode): void; /** @@ -12931,6 +13736,8 @@ interface HTMLTextAreaElement extends HTMLElement { * @param start The offset into the text field for the start of the selection. * @param end The offset into the text field for the end of the selection. * @param direction The direction in which the selection is performed. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTextAreaElement/setSelectionRange) */ setSelectionRange(start: number | null, end: number | null, direction?: "forward" | "backward" | "none"): void; addEventListener(type: K, listener: (this: HTMLTextAreaElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; @@ -13059,8 +13866,8 @@ declare var HTMLUnknownElement: { }; interface HTMLVideoElementEventMap extends HTMLMediaElementEventMap { - "enterpictureinpicture": Event; - "leavepictureinpicture": Event; + "enterpictureinpicture": PictureInPictureEvent; + "leavepictureinpicture": PictureInPictureEvent; } /** @@ -13078,9 +13885,9 @@ interface HTMLVideoElement extends HTMLMediaElement { */ height: number; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLVideoElement/enterpictureinpicture_event) */ - onenterpictureinpicture: ((this: HTMLVideoElement, ev: Event) => any) | null; + onenterpictureinpicture: ((this: HTMLVideoElement, ev: PictureInPictureEvent) => any) | null; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLVideoElement/leavepictureinpicture_event) */ - onleavepictureinpicture: ((this: HTMLVideoElement, ev: Event) => any) | null; + onleavepictureinpicture: ((this: HTMLVideoElement, ev: PictureInPictureEvent) => any) | null; /** 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. */ playsInline: boolean; /** @@ -13859,7 +14666,7 @@ interface IDBTransaction extends EventTarget { /** * 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. * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBTransaction/ObjectStoreNames) + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBTransaction/objectStoreNames) */ readonly objectStoreNames: DOMStringList; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBTransaction/abort_event) */ @@ -13967,7 +14774,11 @@ declare var ImageBitmap: { /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ImageBitmapRenderingContext) */ interface ImageBitmapRenderingContext { - /** Returns the canvas element that the context is bound to. */ + /** + * Returns the canvas element that the context is bound to. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ImageBitmapRenderingContext/canvas) + */ readonly canvas: HTMLCanvasElement | OffscreenCanvas; /** * Transfers the underlying bitmap data from imageBitmap to context, and the bitmap becomes the contents of the canvas element to which context is bound. @@ -14106,7 +14917,7 @@ interface IntersectionObserverEntry { declare var IntersectionObserverEntry: { prototype: IntersectionObserverEntry; - new(intersectionObserverEntryInit: IntersectionObserverEntryInit): IntersectionObserverEntry; + new(): IntersectionObserverEntry; }; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/KHR_parallel_shader_compile) */ @@ -14367,7 +15178,7 @@ declare var LockManager: { }; interface MIDIAccessEventMap { - "statechange": Event; + "statechange": MIDIConnectionEvent; } /** @@ -14379,7 +15190,7 @@ interface MIDIAccess extends EventTarget { /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/MIDIAccess/inputs) */ readonly inputs: MIDIInputMap; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/MIDIAccess/statechange_event) */ - onstatechange: ((this: MIDIAccess, ev: Event) => any) | null; + onstatechange: ((this: MIDIAccess, ev: MIDIConnectionEvent) => any) | null; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/MIDIAccess/outputs) */ readonly outputs: MIDIOutputMap; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/MIDIAccess/sysexEnabled) */ @@ -14787,6 +15598,7 @@ declare var MediaKeySystemAccess: { interface MediaKeys { /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/MediaKeys/createSession) */ createSession(sessionType?: MediaKeySessionType): MediaKeySession; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/MediaKeys/getStatusForPolicy) */ getStatusForPolicy(policy?: MediaKeysPolicy): Promise; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/MediaKeys/setServerCertificate) */ setServerCertificate(serverCertificate: BufferSource): Promise; @@ -14889,7 +15701,7 @@ declare var MediaQueryListEvent: { interface MediaRecorderEventMap { "dataavailable": BlobEvent; - "error": Event; + "error": ErrorEvent; "pause": Event; "resume": Event; "start": Event; @@ -14905,7 +15717,7 @@ interface MediaRecorder extends EventTarget { /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/MediaRecorder/dataavailable_event) */ ondataavailable: ((this: MediaRecorder, ev: BlobEvent) => any) | null; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/MediaRecorder/error_event) */ - onerror: ((this: MediaRecorder, ev: Event) => any) | null; + onerror: ((this: MediaRecorder, ev: ErrorEvent) => any) | null; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/MediaRecorder/pause_event) */ onpause: ((this: MediaRecorder, ev: Event) => any) | null; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/MediaRecorder/resume_event) */ @@ -15396,63 +16208,6 @@ declare var MouseEvent: { new(type: string, eventInitDict?: MouseEventInit): MouseEvent; }; -/** - * Provides event properties that are specific to modifications to the Document Object Model (DOM) hierarchy and nodes. - * @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. - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/MutationEvent) - */ -interface MutationEvent extends Event { - /** - * @deprecated - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/MutationEvent/attrChange) - */ - readonly attrChange: number; - /** - * @deprecated - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/MutationEvent/attrName) - */ - readonly attrName: string; - /** - * @deprecated - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/MutationEvent/newValue) - */ - readonly newValue: string; - /** - * @deprecated - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/MutationEvent/prevValue) - */ - readonly prevValue: string; - /** - * @deprecated - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/MutationEvent/relatedNode) - */ - readonly relatedNode: Node | null; - /** - * @deprecated - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/MutationEvent/initMutationEvent) - */ - initMutationEvent(typeArg: string, bubblesArg?: boolean, cancelableArg?: boolean, relatedNodeArg?: Node | null, prevValueArg?: string, newValueArg?: string, attrNameArg?: string, attrChangeArg?: number): void; - readonly MODIFICATION: 1; - readonly ADDITION: 2; - readonly REMOVAL: 3; -} - -/** @deprecated */ -declare var MutationEvent: { - prototype: MutationEvent; - new(): MutationEvent; - readonly MODIFICATION: 1; - readonly ADDITION: 2; - readonly REMOVAL: 3; -}; - /** * 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. * @@ -16262,7 +17017,7 @@ interface OES_vertex_array_object { /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/OES_vertex_array_object/bindVertexArrayOES) */ bindVertexArrayOES(arrayObject: WebGLVertexArrayObjectOES | null): void; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/OES_vertex_array_object/createVertexArrayOES) */ - createVertexArrayOES(): WebGLVertexArrayObjectOES | null; + createVertexArrayOES(): WebGLVertexArrayObjectOES; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/OES_vertex_array_object/deleteVertexArrayOES) */ deleteVertexArrayOES(arrayObject: WebGLVertexArrayObjectOES | null): void; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/OES_vertex_array_object/isVertexArrayOES) */ @@ -16395,6 +17150,7 @@ declare var OffscreenCanvas: { /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/OffscreenCanvasRenderingContext2D) */ interface OffscreenCanvasRenderingContext2D extends CanvasCompositing, CanvasDrawImage, CanvasDrawPath, CanvasFillStrokeStyles, CanvasFilters, CanvasImageData, CanvasImageSmoothing, CanvasPath, CanvasPathDrawingStyles, CanvasRect, CanvasShadowStyles, CanvasState, CanvasText, CanvasTextDrawingStyles, CanvasTransform { + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CanvasRenderingContext2D/canvas) */ readonly canvas: OffscreenCanvas; } @@ -16608,6 +17364,37 @@ declare var Path2D: { new(path?: Path2D | string): Path2D; }; +/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ContactAddress) */ +interface PaymentAddress { + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ContactAddress/addressLine) */ + readonly addressLine: ReadonlyArray; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ContactAddress/city) */ + readonly city: string; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ContactAddress/country) */ + readonly country: string; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ContactAddress/dependentLocality) */ + readonly dependentLocality: string; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ContactAddress/organization) */ + readonly organization: string; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ContactAddress/phone) */ + readonly phone: string; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ContactAddress/postalCode) */ + readonly postalCode: string; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ContactAddress/recipient) */ + readonly recipient: string; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ContactAddress/region) */ + readonly region: string; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ContactAddress/sortingCode) */ + readonly sortingCode: string; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ContactAddress/toJSON) */ + toJSON(): any; +} + +declare var PaymentAddress: { + prototype: PaymentAddress; + new(): PaymentAddress; +}; + /** * Available only in secure contexts. * @@ -16626,7 +17413,9 @@ declare var PaymentMethodChangeEvent: { }; interface PaymentRequestEventMap { - "paymentmethodchange": Event; + "paymentmethodchange": PaymentMethodChangeEvent; + "shippingaddresschange": PaymentRequestUpdateEvent; + "shippingoptionchange": PaymentRequestUpdateEvent; } /** @@ -16639,7 +17428,37 @@ interface PaymentRequest extends EventTarget { /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/PaymentRequest/id) */ readonly id: string; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/PaymentRequest/paymentmethodchange_event) */ - onpaymentmethodchange: ((this: PaymentRequest, ev: Event) => any) | null; + onpaymentmethodchange: ((this: PaymentRequest, ev: PaymentMethodChangeEvent) => any) | null; + /** + * @deprecated + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/PaymentRequest/shippingaddresschange_event) + */ + onshippingaddresschange: ((this: PaymentRequest, ev: PaymentRequestUpdateEvent) => any) | null; + /** + * @deprecated + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/PaymentRequest/shippingoptionchange_event) + */ + onshippingoptionchange: ((this: PaymentRequest, ev: PaymentRequestUpdateEvent) => any) | null; + /** + * @deprecated + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/PaymentRequest/shippingAddress) + */ + readonly shippingAddress: PaymentAddress | null; + /** + * @deprecated + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/PaymentRequest/shippingOption) + */ + readonly shippingOption: string | null; + /** + * @deprecated + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/PaymentRequest/shippingType) + */ + readonly shippingType: PaymentShippingType | null; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/PaymentRequest/abort) */ abort(): Promise; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/PaymentRequest/canMakePayment) */ @@ -16654,7 +17473,7 @@ interface PaymentRequest extends EventTarget { declare var PaymentRequest: { prototype: PaymentRequest; - new(methodData: PaymentMethodData[], details: PaymentDetailsInit): PaymentRequest; + new(methodData: PaymentMethodData[], details: PaymentDetailsInit, options?: PaymentOptions): PaymentRequest; }; /** @@ -16673,6 +17492,10 @@ declare var PaymentRequestUpdateEvent: { new(type: string, eventInitDict?: PaymentRequestUpdateEventInit): PaymentRequestUpdateEvent; }; +interface PaymentResponseEventMap { + "payerdetailchange": PaymentRequestUpdateEvent; +} + /** * This Payment Request API interface is returned after a user selects a payment method and approves a payment request. * Available only in secure contexts. @@ -16684,14 +17507,30 @@ interface PaymentResponse extends EventTarget { readonly details: any; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/PaymentResponse/methodName) */ readonly methodName: string; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/PaymentResponse/payerdetailchange_event) */ + onpayerdetailchange: ((this: PaymentResponse, ev: PaymentRequestUpdateEvent) => any) | null; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/PaymentResponse/payerEmail) */ + readonly payerEmail: string | null; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/PaymentResponse/payerName) */ + readonly payerName: string | null; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/PaymentResponse/payerPhone) */ + readonly payerPhone: string | null; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/PaymentResponse/requestId) */ readonly requestId: string; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/PaymentResponse/shippingAddress) */ + readonly shippingAddress: PaymentAddress | null; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/PaymentResponse/shippingOption) */ + readonly shippingOption: string | null; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/PaymentResponse/complete) */ complete(result?: PaymentComplete): Promise; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/PaymentResponse/retry) */ retry(errorFields?: PaymentValidationErrors): Promise; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/PaymentResponse/toJSON) */ toJSON(): any; + addEventListener(type: K, listener: (this: PaymentResponse, ev: PaymentResponseEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; + addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; + removeEventListener(type: K, listener: (this: PaymentResponse, ev: PaymentResponseEventMap[K]) => any, options?: boolean | EventListenerOptions): void; + removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; } declare var PaymentResponse: { @@ -16983,6 +17822,8 @@ interface PerformanceResourceTiming extends PerformanceEntry { readonly responseEnd: DOMHighResTimeStamp; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/PerformanceResourceTiming/responseStart) */ readonly responseStart: DOMHighResTimeStamp; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/PerformanceResourceTiming/responseStatus) */ + readonly responseStatus: number; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/PerformanceResourceTiming/secureConnectionStart) */ readonly secureConnectionStart: DOMHighResTimeStamp; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/PerformanceResourceTiming/serverTiming) */ @@ -17318,6 +18159,10 @@ declare var PluginArray: { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/PointerEvent) */ interface PointerEvent extends MouseEvent { + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/PointerEvent/altitudeAngle) */ + readonly altitudeAngle: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/PointerEvent/azimuthAngle) */ + readonly azimuthAngle: number; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/PointerEvent/height) */ readonly height: number; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/PointerEvent/isPrimary) */ @@ -17443,15 +18288,21 @@ interface PublicKeyCredential extends Credential { readonly response: AuthenticatorResponse; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/PublicKeyCredential/getClientExtensionResults) */ getClientExtensionResults(): AuthenticationExtensionsClientOutputs; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/PublicKeyCredential/toJSON) */ + toJSON(): PublicKeyCredentialJSON; } declare var PublicKeyCredential: { prototype: PublicKeyCredential; new(): PublicKeyCredential; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/PublicKeyCredential/isConditionalMediationAvailable) */ + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/PublicKeyCredential/isConditionalMediationAvailable_static) */ isConditionalMediationAvailable(): Promise; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/PublicKeyCredential/isUserVerifyingPlatformAuthenticatorAvailable_static) */ isUserVerifyingPlatformAuthenticatorAvailable(): Promise; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/PublicKeyCredential/parseCreationOptionsFromJSON_static) */ + parseCreationOptionsFromJSON(options: PublicKeyCredentialCreationOptionsJSON): PublicKeyCredentialCreationOptions; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/PublicKeyCredential/parseRequestOptionsFromJSON_static) */ + parseRequestOptionsFromJSON(options: PublicKeyCredentialRequestOptionsJSON): PublicKeyCredentialRequestOptions; }; /** @@ -17576,7 +18427,7 @@ interface RTCDataChannelEventMap { "bufferedamountlow": Event; "close": Event; "closing": Event; - "error": Event; + "error": RTCErrorEvent; "message": MessageEvent; "open": Event; } @@ -17606,7 +18457,7 @@ interface RTCDataChannel extends EventTarget { /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCDataChannel/closing_event) */ onclosing: ((this: RTCDataChannel, ev: Event) => any) | null; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCDataChannel/error_event) */ - onerror: ((this: RTCDataChannel, ev: Event) => any) | null; + onerror: ((this: RTCDataChannel, ev: RTCErrorEvent) => any) | null; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCDataChannel/message_event) */ onmessage: ((this: RTCDataChannel, ev: MessageEvent) => any) | null; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCDataChannel/open_event) */ @@ -17647,7 +18498,7 @@ declare var RTCDataChannelEvent: { }; interface RTCDtlsTransportEventMap { - "error": Event; + "error": RTCErrorEvent; "statechange": Event; } @@ -17656,7 +18507,7 @@ interface RTCDtlsTransport extends EventTarget { /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCDtlsTransport/iceTransport) */ readonly iceTransport: RTCIceTransport; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCDtlsTransport/error_event) */ - onerror: ((this: RTCDtlsTransport, ev: Event) => any) | null; + onerror: ((this: RTCDtlsTransport, ev: RTCErrorEvent) => any) | null; onstatechange: ((this: RTCDtlsTransport, ev: Event) => any) | null; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCDtlsTransport/state) */ readonly state: RTCDtlsTransportState; @@ -17878,9 +18729,9 @@ interface RTCPeerConnection extends EventTarget { /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCPeerConnection/signalingState) */ readonly signalingState: RTCSignalingState; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCPeerConnection/addIceCandidate) */ - addIceCandidate(candidate?: RTCIceCandidateInit): Promise; + addIceCandidate(candidate?: RTCIceCandidateInit | null): Promise; /** @deprecated */ - addIceCandidate(candidate: RTCIceCandidateInit, successCallback: VoidFunction, failureCallback: RTCPeerConnectionErrorCallback): Promise; + addIceCandidate(candidate: RTCIceCandidateInit | null, successCallback: VoidFunction, failureCallback: RTCPeerConnectionErrorCallback): Promise; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCPeerConnection/addTrack) */ addTrack(track: MediaStreamTrack, ...streams: MediaStream[]): RTCRtpSender; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCPeerConnection/addTransceiver) */ @@ -18284,7 +19135,7 @@ interface ReadableStreamBYOBReader extends ReadableStreamGenericReader { declare var ReadableStreamBYOBReader: { prototype: ReadableStreamBYOBReader; - new(stream: ReadableStream): ReadableStreamBYOBReader; + new(stream: ReadableStream): ReadableStreamBYOBReader; }; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReadableStreamBYOBRequest) */ @@ -19866,14 +20717,23 @@ declare var SVGLength: { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGLengthList) */ interface SVGLengthList { + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGLengthList/length) */ readonly length: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGLengthList/numberOfItems) */ readonly numberOfItems: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGLengthList/appendItem) */ appendItem(newItem: SVGLength): SVGLength; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGLengthList/clear) */ clear(): void; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGLengthList/getItem) */ getItem(index: number): SVGLength; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGLengthList/initialize) */ initialize(newItem: SVGLength): SVGLength; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGLengthList/insertItemBefore) */ insertItemBefore(newItem: SVGLength, index: number): SVGLength; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGLengthList/removeItem) */ removeItem(index: number): SVGLength; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGLengthList/replaceItem) */ replaceItem(newItem: SVGLength, index: number): SVGLength; [index: number]: SVGLength; } @@ -21606,7 +22466,7 @@ interface SubtleCrypto { /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SubtleCrypto/decrypt) */ decrypt(algorithm: AlgorithmIdentifier | RsaOaepParams | AesCtrParams | AesCbcParams | AesGcmParams, key: CryptoKey, data: BufferSource): Promise; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SubtleCrypto/deriveBits) */ - deriveBits(algorithm: AlgorithmIdentifier | EcdhKeyDeriveParams | HkdfParams | Pbkdf2Params, baseKey: CryptoKey, length: number): Promise; + deriveBits(algorithm: AlgorithmIdentifier | EcdhKeyDeriveParams | HkdfParams | Pbkdf2Params, baseKey: CryptoKey, length?: number | null): Promise; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SubtleCrypto/deriveKey) */ deriveKey(algorithm: AlgorithmIdentifier | EcdhKeyDeriveParams | HkdfParams | Pbkdf2Params, baseKey: CryptoKey, derivedKeyType: AlgorithmIdentifier | AesDerivedKeyParams | HmacImportParams | HkdfParams | Pbkdf2Params, extractable: boolean, keyUsages: KeyUsage[]): Promise; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SubtleCrypto/digest) */ @@ -21771,11 +22631,27 @@ declare var TextEncoderStream: { new(): TextEncoderStream; }; +/** + * @deprecated + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/TextEvent) + */ interface TextEvent extends UIEvent { + /** + * @deprecated + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/TextEvent/data) + */ readonly data: string; + /** + * @deprecated + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/TextEvent/initTextEvent) + */ initTextEvent(type: string, bubbles?: boolean, cancelable?: boolean, view?: Window | null, data?: string): void; } +/** @deprecated */ declare var TextEvent: { prototype: TextEvent; new(): TextEvent; @@ -22057,7 +22933,7 @@ interface TextTrackList extends EventTarget { onaddtrack: ((this: TextTrackList, ev: TrackEvent) => any) | null; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/TextTrackList/change_event) */ onchange: ((this: TextTrackList, ev: Event) => any) | null; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/TextTrackList/removeTrack_event) */ + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/TextTrackList/removetrack_event) */ onremovetrack: ((this: TextTrackList, ev: TrackEvent) => any) | null; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/TextTrackList/getTrackById) */ getTrackById(id: string): TextTrack | null; @@ -22442,7 +23318,7 @@ declare var URLSearchParams: { interface UserActivation { /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/UserActivation/hasBeenActive) */ readonly hasBeenActive: boolean; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/UserActivation/hasBeenActive) */ + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/UserActivation/isActive) */ readonly isActive: boolean; } @@ -22511,6 +23387,7 @@ declare var VTTRegion: { interface ValidityState { /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ValidityState/badInput) */ readonly badInput: boolean; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ValidityState/customError) */ readonly customError: boolean; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ValidityState/patternMismatch) */ readonly patternMismatch: boolean; @@ -22526,6 +23403,7 @@ interface ValidityState { readonly tooShort: boolean; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ValidityState/typeMismatch) */ readonly typeMismatch: boolean; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ValidityState/valid) */ readonly valid: boolean; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ValidityState/valueMissing) */ readonly valueMissing: boolean; @@ -23589,13 +24467,13 @@ interface WebGL2RenderingContextBase { /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/copyTexSubImage3D) */ copyTexSubImage3D(target: GLenum, level: GLint, xoffset: GLint, yoffset: GLint, zoffset: GLint, x: GLint, y: GLint, width: GLsizei, height: GLsizei): void; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/createQuery) */ - createQuery(): WebGLQuery | null; + createQuery(): WebGLQuery; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/createSampler) */ - createSampler(): WebGLSampler | null; + createSampler(): WebGLSampler; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/createTransformFeedback) */ - createTransformFeedback(): WebGLTransformFeedback | null; + createTransformFeedback(): WebGLTransformFeedback; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/createVertexArray) */ - createVertexArray(): WebGLVertexArrayObject | null; + createVertexArray(): WebGLVertexArrayObject; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/deleteQuery) */ deleteQuery(query: WebGLQuery | null): void; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/deleteSampler) */ @@ -24510,17 +25388,17 @@ interface WebGLRenderingContextBase { /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/copyTexSubImage2D) */ copyTexSubImage2D(target: GLenum, level: GLint, xoffset: GLint, yoffset: GLint, x: GLint, y: GLint, width: GLsizei, height: GLsizei): void; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/createBuffer) */ - createBuffer(): WebGLBuffer | null; + createBuffer(): WebGLBuffer; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/createFramebuffer) */ - createFramebuffer(): WebGLFramebuffer | null; + createFramebuffer(): WebGLFramebuffer; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/createProgram) */ - createProgram(): WebGLProgram | null; + createProgram(): WebGLProgram; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/createRenderbuffer) */ - createRenderbuffer(): WebGLRenderbuffer | null; + createRenderbuffer(): WebGLRenderbuffer; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/createShader) */ createShader(type: GLenum): WebGLShader | null; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/createTexture) */ - createTexture(): WebGLTexture | null; + createTexture(): WebGLTexture; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/cullFace) */ cullFace(mode: GLenum): void; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/deleteBuffer) */ @@ -25778,7 +26656,7 @@ interface WindowOrWorkerGlobalScope { /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/createImageBitmap) */ createImageBitmap(image: ImageBitmapSource, options?: ImageBitmapOptions): Promise; createImageBitmap(image: ImageBitmapSource, sx: number, sy: number, sw: number, sh: number, options?: ImageBitmapOptions): Promise; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/fetch) */ + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/fetch) */ fetch(input: RequestInfo | URL, init?: RequestInit): Promise; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/queueMicrotask) */ queueMicrotask(callback: VoidFunction): void; @@ -26167,7 +27045,11 @@ declare var XPathEvaluator: { interface XPathEvaluatorBase { /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/createExpression) */ createExpression(expression: string, resolver?: XPathNSResolver | null): XPathExpression; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/createNSResolver) */ + /** + * @deprecated + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/createNSResolver) + */ createNSResolver(nodeResolver: Node): Node; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/evaluate) */ evaluate(expression: string, contextNode: Node, resolver?: XPathNSResolver | null, type?: number, result?: XPathResult | null): XPathResult; @@ -26276,7 +27158,7 @@ interface Console { clear(): void; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/count_static) */ count(label?: string): void; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/countreset_static) */ + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/countReset_static) */ countReset(label?: string): void; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/debug_static) */ debug(...data: any[]): void; @@ -26288,9 +27170,9 @@ interface Console { error(...data: any[]): void; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/group_static) */ group(...data: any[]): void; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/groupcollapsed_static) */ + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/groupCollapsed_static) */ groupCollapsed(...data: any[]): void; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/groupend_static) */ + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/groupEnd_static) */ groupEnd(): void; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/info_static) */ info(...data: any[]): void; @@ -26300,9 +27182,9 @@ interface Console { table(tabularData?: any, properties?: string[]): void; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/time_static) */ time(label?: string): void; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/timeend_static) */ + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/timeEnd_static) */ timeEnd(label?: string): void; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/timelog_static) */ + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/timeLog_static) */ timeLog(label?: string, ...data: any[]): void; timeStamp(label?: string): void; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/trace_static) */ @@ -26601,6 +27483,10 @@ declare namespace WebAssembly { function validate(bytes: BufferSource): boolean; } +interface AudioDataOutputCallback { + (output: AudioData): void; +} + interface BlobCallback { (blob: Blob | null): void; } @@ -26617,6 +27503,10 @@ interface DecodeSuccessCallback { (decodedData: AudioBuffer): void; } +interface EncodedAudioChunkOutputCallback { + (output: EncodedAudioChunk, metadata?: EncodedAudioChunkMetadata): void; +} + interface EncodedVideoChunkOutputCallback { (chunk: EncodedVideoChunk, metadata?: EncodedVideoChunkMetadata): void; } @@ -26753,10 +27643,6 @@ interface UnderlyingSourceStartCallback { (controller: ReadableStreamController): any; } -interface UpdateCallback { - (): any; -} - interface VideoFrameOutputCallback { (output: VideoFrame): void; } @@ -26765,6 +27651,10 @@ interface VideoFrameRequestCallback { (now: DOMHighResTimeStamp, metadata: VideoFrameCallbackMetadata): void; } +interface ViewTransitionUpdateCallback { + (): any; +} + interface VoidFunction { (): void; } @@ -27814,7 +28704,7 @@ declare function clearTimeout(id: number | undefined): void; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/createImageBitmap) */ declare function createImageBitmap(image: ImageBitmapSource, options?: ImageBitmapOptions): Promise; declare function createImageBitmap(image: ImageBitmapSource, sx: number, sy: number, sw: number, sh: number, options?: ImageBitmapOptions): Promise; -/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/fetch) */ +/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/fetch) */ declare function fetch(input: RequestInfo | URL, init?: RequestInit): Promise; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/queueMicrotask) */ declare function queueMicrotask(callback: VoidFunction): void; @@ -27837,8 +28727,8 @@ type AllowSharedBufferSource = ArrayBuffer | ArrayBufferView; type AutoFill = AutoFillBase | `${OptionalPrefixToken}${OptionalPrefixToken}${AutoFillField}${OptionalPostfixToken}`; type AutoFillField = AutoFillNormalField | `${OptionalPrefixToken}${AutoFillContactField}`; type AutoFillSection = `section-${string}`; +type Base64URLString = string; type BigInteger = Uint8Array; -type BinaryData = ArrayBuffer | ArrayBufferView; type BlobPart = BufferSource | Blob | string; type BodyInit = ReadableStream | XMLHttpRequestBodyInit; type BufferSource = ArrayBufferView | ArrayBuffer; @@ -27890,6 +28780,7 @@ type OnErrorEventHandler = OnErrorEventHandlerNonNull | null; type OptionalPostfixToken = ` ${T}` | ""; type OptionalPrefixToken = `${T} ` | ""; type PerformanceEntryList = PerformanceEntry[]; +type PublicKeyCredentialJSON = any; type RTCRtpTransform = RTCRtpScriptTransform; type ReadableStreamController = ReadableStreamDefaultController | ReadableByteStreamController; type ReadableStreamReadResult = ReadableStreamReadValueResult | ReadableStreamReadDoneResult; @@ -27899,7 +28790,7 @@ type ReportList = Report[]; type RequestInfo = Request | string; type TexImageSource = ImageBitmap | ImageData | HTMLImageElement | HTMLCanvasElement | HTMLVideoElement | OffscreenCanvas | VideoFrame; type TimerHandler = string | Function; -type Transferable = OffscreenCanvas | ImageBitmap | MessagePort | MediaSourceHandle | ReadableStream | WritableStream | TransformStream | VideoFrame | ArrayBuffer; +type Transferable = OffscreenCanvas | ImageBitmap | MessagePort | MediaSourceHandle | ReadableStream | WritableStream | TransformStream | AudioData | VideoFrame | ArrayBuffer; type Uint32List = Uint32Array | GLuint[]; type VibratePattern = number | number[]; type WindowProxy = Window; @@ -27912,6 +28803,7 @@ type AppendMode = "segments" | "sequence"; type AttestationConveyancePreference = "direct" | "enterprise" | "indirect" | "none"; type AudioContextLatencyCategory = "balanced" | "interactive" | "playback"; type AudioContextState = "closed" | "running" | "suspended"; +type AudioSampleFormat = "f32" | "f32-planar" | "s16" | "s16-planar" | "s32" | "s32-planar" | "u8" | "u8-planar"; type AuthenticatorAttachment = "cross-platform" | "platform"; type AuthenticatorTransport = "ble" | "hybrid" | "internal" | "nfc" | "usb"; type AutoFillAddressKind = "billing" | "shipping"; @@ -27925,6 +28817,7 @@ type AutomationRate = "a-rate" | "k-rate"; type AvcBitstreamFormat = "annexb" | "avc"; type BinaryType = "arraybuffer" | "blob"; type BiquadFilterType = "allpass" | "bandpass" | "highpass" | "highshelf" | "lowpass" | "lowshelf" | "notch" | "peaking"; +type BitrateMode = "constant" | "variable"; type CSSMathOperator = "clamp" | "invert" | "max" | "min" | "negate" | "product" | "sum"; type CSSNumericBaseType = "angle" | "flex" | "frequency" | "length" | "percent" | "resolution" | "time"; type CanPlayTypeResult = "" | "maybe" | "probably"; @@ -27954,6 +28847,7 @@ type DisplayCaptureSurfaceType = "browser" | "monitor" | "window"; type DistanceModelType = "exponential" | "inverse" | "linear"; type DocumentReadyState = "complete" | "interactive" | "loading"; type DocumentVisibilityState = "hidden" | "visible"; +type EncodedAudioChunkType = "delta" | "key"; type EncodedVideoChunkType = "delta" | "key"; type EndOfStreamError = "decode" | "network"; type EndingType = "native" | "transparent"; @@ -28002,12 +28896,14 @@ type NavigationTimingType = "back_forward" | "navigate" | "prerender" | "reload" type NotificationDirection = "auto" | "ltr" | "rtl"; type NotificationPermission = "default" | "denied" | "granted"; type OffscreenRenderingContextId = "2d" | "bitmaprenderer" | "webgl" | "webgl2" | "webgpu"; +type OpusBitstreamFormat = "ogg" | "opus"; type OrientationType = "landscape-primary" | "landscape-secondary" | "portrait-primary" | "portrait-secondary"; type OscillatorType = "custom" | "sawtooth" | "sine" | "square" | "triangle"; type OverSampleType = "2x" | "4x" | "none"; type PanningModelType = "HRTF" | "equalpower"; type PaymentComplete = "fail" | "success" | "unknown"; -type PermissionName = "geolocation" | "notifications" | "persistent-storage" | "push" | "screen-wake-lock" | "xr-spatial-tracking"; +type PaymentShippingType = "delivery" | "pickup" | "shipping"; +type PermissionName = "geolocation" | "midi" | "notifications" | "persistent-storage" | "push" | "screen-wake-lock" | "storage-access"; type PermissionState = "denied" | "granted" | "prompt"; type PlaybackDirection = "alternate" | "alternate-reverse" | "normal" | "reverse"; type PositionAlignSetting = "auto" | "center" | "line-left" | "line-right"; diff --git a/node_modules/typescript/lib/lib.es2015.core.d.ts b/node_modules/typescript/lib/lib.es2015.core.d.ts index 1b22b29b42..d70f9cdc0a 100644 --- a/node_modules/typescript/lib/lib.es2015.core.d.ts +++ b/node_modules/typescript/lib/lib.es2015.core.d.ts @@ -560,38 +560,38 @@ interface StringConstructor { raw(template: { raw: readonly string[] | ArrayLike; }, ...substitutions: any[]): string; } -interface Int8Array { +interface Int8Array { toLocaleString(locales: string | string[], options?: Intl.NumberFormatOptions): string; } -interface Uint8Array { +interface Uint8Array { toLocaleString(locales: string | string[], options?: Intl.NumberFormatOptions): string; } -interface Uint8ClampedArray { +interface Uint8ClampedArray { toLocaleString(locales: string | string[], options?: Intl.NumberFormatOptions): string; } -interface Int16Array { +interface Int16Array { toLocaleString(locales: string | string[], options?: Intl.NumberFormatOptions): string; } -interface Uint16Array { +interface Uint16Array { toLocaleString(locales: string | string[], options?: Intl.NumberFormatOptions): string; } -interface Int32Array { +interface Int32Array { toLocaleString(locales: string | string[], options?: Intl.NumberFormatOptions): string; } -interface Uint32Array { +interface Uint32Array { toLocaleString(locales: string | string[], options?: Intl.NumberFormatOptions): string; } -interface Float32Array { +interface Float32Array { toLocaleString(locales: string | string[], options?: Intl.NumberFormatOptions): string; } -interface Float64Array { +interface Float64Array { toLocaleString(locales: string | string[], options?: Intl.NumberFormatOptions): string; } diff --git a/node_modules/typescript/lib/lib.es2015.iterable.d.ts b/node_modules/typescript/lib/lib.es2015.iterable.d.ts index eaff26d9a3..e5cdcd2411 100644 --- a/node_modules/typescript/lib/lib.es2015.iterable.d.ts +++ b/node_modules/typescript/lib/lib.es2015.iterable.d.ts @@ -270,7 +270,7 @@ interface String { [Symbol.iterator](): StringIterator; } -interface Int8Array { +interface Int8Array { [Symbol.iterator](): ArrayIterator; /** * Returns an array of key, value pairs for every entry in the array @@ -287,7 +287,7 @@ interface Int8Array { } interface Int8ArrayConstructor { - new (elements: Iterable): Int8Array; + new (elements: Iterable): Int8Array; /** * Creates an array from an array-like or iterable object. @@ -295,10 +295,17 @@ interface Int8ArrayConstructor { * @param mapfn A mapping function to call on every element of the array. * @param thisArg Value of 'this' used to invoke the mapfn. */ - from(arrayLike: Iterable, mapfn?: (v: number, k: number) => number, thisArg?: any): Int8Array; + from(arrayLike: Iterable): Int8Array; + /** + * Creates an array from an array-like or iterable object. + * @param arrayLike An array-like or iterable object to convert to an array. + * @param mapfn A mapping function to call on every element of the array. + * @param thisArg Value of 'this' used to invoke the mapfn. + */ + from(arrayLike: Iterable, mapfn?: (v: T, k: number) => number, thisArg?: any): Int8Array; } -interface Uint8Array { +interface Uint8Array { [Symbol.iterator](): ArrayIterator; /** * Returns an array of key, value pairs for every entry in the array @@ -315,7 +322,7 @@ interface Uint8Array { } interface Uint8ArrayConstructor { - new (elements: Iterable): Uint8Array; + new (elements: Iterable): Uint8Array; /** * Creates an array from an array-like or iterable object. @@ -323,10 +330,17 @@ interface Uint8ArrayConstructor { * @param mapfn A mapping function to call on every element of the array. * @param thisArg Value of 'this' used to invoke the mapfn. */ - from(arrayLike: Iterable, mapfn?: (v: number, k: number) => number, thisArg?: any): Uint8Array; + from(arrayLike: Iterable): Uint8Array; + /** + * Creates an array from an array-like or iterable object. + * @param arrayLike An array-like or iterable object to convert to an array. + * @param mapfn A mapping function to call on every element of the array. + * @param thisArg Value of 'this' used to invoke the mapfn. + */ + from(arrayLike: Iterable, mapfn?: (v: T, k: number) => number, thisArg?: any): Uint8Array; } -interface Uint8ClampedArray { +interface Uint8ClampedArray { [Symbol.iterator](): ArrayIterator; /** * Returns an array of key, value pairs for every entry in the array @@ -345,7 +359,7 @@ interface Uint8ClampedArray { } interface Uint8ClampedArrayConstructor { - new (elements: Iterable): Uint8ClampedArray; + new (elements: Iterable): Uint8ClampedArray; /** * Creates an array from an array-like or iterable object. @@ -353,10 +367,17 @@ interface Uint8ClampedArrayConstructor { * @param mapfn A mapping function to call on every element of the array. * @param thisArg Value of 'this' used to invoke the mapfn. */ - from(arrayLike: Iterable, mapfn?: (v: number, k: number) => number, thisArg?: any): Uint8ClampedArray; + from(arrayLike: Iterable): Uint8ClampedArray; + /** + * Creates an array from an array-like or iterable object. + * @param arrayLike An array-like or iterable object to convert to an array. + * @param mapfn A mapping function to call on every element of the array. + * @param thisArg Value of 'this' used to invoke the mapfn. + */ + from(arrayLike: Iterable, mapfn?: (v: T, k: number) => number, thisArg?: any): Uint8ClampedArray; } -interface Int16Array { +interface Int16Array { [Symbol.iterator](): ArrayIterator; /** * Returns an array of key, value pairs for every entry in the array @@ -375,7 +396,7 @@ interface Int16Array { } interface Int16ArrayConstructor { - new (elements: Iterable): Int16Array; + new (elements: Iterable): Int16Array; /** * Creates an array from an array-like or iterable object. @@ -383,10 +404,17 @@ interface Int16ArrayConstructor { * @param mapfn A mapping function to call on every element of the array. * @param thisArg Value of 'this' used to invoke the mapfn. */ - from(arrayLike: Iterable, mapfn?: (v: number, k: number) => number, thisArg?: any): Int16Array; + from(arrayLike: Iterable): Int16Array; + /** + * Creates an array from an array-like or iterable object. + * @param arrayLike An array-like or iterable object to convert to an array. + * @param mapfn A mapping function to call on every element of the array. + * @param thisArg Value of 'this' used to invoke the mapfn. + */ + from(arrayLike: Iterable, mapfn?: (v: T, k: number) => number, thisArg?: any): Int16Array; } -interface Uint16Array { +interface Uint16Array { [Symbol.iterator](): ArrayIterator; /** * Returns an array of key, value pairs for every entry in the array @@ -403,7 +431,7 @@ interface Uint16Array { } interface Uint16ArrayConstructor { - new (elements: Iterable): Uint16Array; + new (elements: Iterable): Uint16Array; /** * Creates an array from an array-like or iterable object. @@ -411,10 +439,17 @@ interface Uint16ArrayConstructor { * @param mapfn A mapping function to call on every element of the array. * @param thisArg Value of 'this' used to invoke the mapfn. */ - from(arrayLike: Iterable, mapfn?: (v: number, k: number) => number, thisArg?: any): Uint16Array; + from(arrayLike: Iterable): Uint16Array; + /** + * Creates an array from an array-like or iterable object. + * @param arrayLike An array-like or iterable object to convert to an array. + * @param mapfn A mapping function to call on every element of the array. + * @param thisArg Value of 'this' used to invoke the mapfn. + */ + from(arrayLike: Iterable, mapfn?: (v: T, k: number) => number, thisArg?: any): Uint16Array; } -interface Int32Array { +interface Int32Array { [Symbol.iterator](): ArrayIterator; /** * Returns an array of key, value pairs for every entry in the array @@ -431,7 +466,7 @@ interface Int32Array { } interface Int32ArrayConstructor { - new (elements: Iterable): Int32Array; + new (elements: Iterable): Int32Array; /** * Creates an array from an array-like or iterable object. @@ -439,10 +474,17 @@ interface Int32ArrayConstructor { * @param mapfn A mapping function to call on every element of the array. * @param thisArg Value of 'this' used to invoke the mapfn. */ - from(arrayLike: Iterable, mapfn?: (v: number, k: number) => number, thisArg?: any): Int32Array; + from(arrayLike: Iterable): Int32Array; + /** + * Creates an array from an array-like or iterable object. + * @param arrayLike An array-like or iterable object to convert to an array. + * @param mapfn A mapping function to call on every element of the array. + * @param thisArg Value of 'this' used to invoke the mapfn. + */ + from(arrayLike: Iterable, mapfn?: (v: T, k: number) => number, thisArg?: any): Int32Array; } -interface Uint32Array { +interface Uint32Array { [Symbol.iterator](): ArrayIterator; /** * Returns an array of key, value pairs for every entry in the array @@ -459,7 +501,7 @@ interface Uint32Array { } interface Uint32ArrayConstructor { - new (elements: Iterable): Uint32Array; + new (elements: Iterable): Uint32Array; /** * Creates an array from an array-like or iterable object. @@ -467,10 +509,17 @@ interface Uint32ArrayConstructor { * @param mapfn A mapping function to call on every element of the array. * @param thisArg Value of 'this' used to invoke the mapfn. */ - from(arrayLike: Iterable, mapfn?: (v: number, k: number) => number, thisArg?: any): Uint32Array; + from(arrayLike: Iterable): Uint32Array; + /** + * Creates an array from an array-like or iterable object. + * @param arrayLike An array-like or iterable object to convert to an array. + * @param mapfn A mapping function to call on every element of the array. + * @param thisArg Value of 'this' used to invoke the mapfn. + */ + from(arrayLike: Iterable, mapfn?: (v: T, k: number) => number, thisArg?: any): Uint32Array; } -interface Float32Array { +interface Float32Array { [Symbol.iterator](): ArrayIterator; /** * Returns an array of key, value pairs for every entry in the array @@ -487,7 +536,7 @@ interface Float32Array { } interface Float32ArrayConstructor { - new (elements: Iterable): Float32Array; + new (elements: Iterable): Float32Array; /** * Creates an array from an array-like or iterable object. @@ -495,10 +544,17 @@ interface Float32ArrayConstructor { * @param mapfn A mapping function to call on every element of the array. * @param thisArg Value of 'this' used to invoke the mapfn. */ - from(arrayLike: Iterable, mapfn?: (v: number, k: number) => number, thisArg?: any): Float32Array; + from(arrayLike: Iterable): Float32Array; + /** + * Creates an array from an array-like or iterable object. + * @param arrayLike An array-like or iterable object to convert to an array. + * @param mapfn A mapping function to call on every element of the array. + * @param thisArg Value of 'this' used to invoke the mapfn. + */ + from(arrayLike: Iterable, mapfn?: (v: T, k: number) => number, thisArg?: any): Float32Array; } -interface Float64Array { +interface Float64Array { [Symbol.iterator](): ArrayIterator; /** * Returns an array of key, value pairs for every entry in the array @@ -515,7 +571,7 @@ interface Float64Array { } interface Float64ArrayConstructor { - new (elements: Iterable): Float64Array; + new (elements: Iterable): Float64Array; /** * Creates an array from an array-like or iterable object. @@ -523,5 +579,12 @@ interface Float64ArrayConstructor { * @param mapfn A mapping function to call on every element of the array. * @param thisArg Value of 'this' used to invoke the mapfn. */ - from(arrayLike: Iterable, mapfn?: (v: number, k: number) => number, thisArg?: any): Float64Array; + from(arrayLike: Iterable): Float64Array; + /** + * Creates an array from an array-like or iterable object. + * @param arrayLike An array-like or iterable object to convert to an array. + * @param mapfn A mapping function to call on every element of the array. + * @param thisArg Value of 'this' used to invoke the mapfn. + */ + from(arrayLike: Iterable, mapfn?: (v: T, k: number) => number, thisArg?: any): Float64Array; } diff --git a/node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts b/node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts index 06bcc35b3d..42678a0e45 100644 --- a/node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts +++ b/node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts @@ -272,43 +272,43 @@ interface ArrayBuffer { readonly [Symbol.toStringTag]: string; } -interface DataView { +interface DataView { readonly [Symbol.toStringTag]: string; } -interface Int8Array { +interface Int8Array { readonly [Symbol.toStringTag]: "Int8Array"; } -interface Uint8Array { +interface Uint8Array { readonly [Symbol.toStringTag]: "Uint8Array"; } -interface Uint8ClampedArray { +interface Uint8ClampedArray { readonly [Symbol.toStringTag]: "Uint8ClampedArray"; } -interface Int16Array { +interface Int16Array { readonly [Symbol.toStringTag]: "Int16Array"; } -interface Uint16Array { +interface Uint16Array { readonly [Symbol.toStringTag]: "Uint16Array"; } -interface Int32Array { +interface Int32Array { readonly [Symbol.toStringTag]: "Int32Array"; } -interface Uint32Array { +interface Uint32Array { readonly [Symbol.toStringTag]: "Uint32Array"; } -interface Float32Array { +interface Float32Array { readonly [Symbol.toStringTag]: "Float32Array"; } -interface Float64Array { +interface Float64Array { readonly [Symbol.toStringTag]: "Float64Array"; } diff --git a/node_modules/typescript/lib/lib.es2016.array.include.d.ts b/node_modules/typescript/lib/lib.es2016.array.include.d.ts index 3aa5a044e0..6548c91908 100644 --- a/node_modules/typescript/lib/lib.es2016.array.include.d.ts +++ b/node_modules/typescript/lib/lib.es2016.array.include.d.ts @@ -34,7 +34,7 @@ interface ReadonlyArray { includes(searchElement: T, fromIndex?: number): boolean; } -interface Int8Array { +interface Int8Array { /** * Determines whether an array includes a certain element, returning true or false as appropriate. * @param searchElement The element to search for. @@ -43,7 +43,7 @@ interface Int8Array { includes(searchElement: number, fromIndex?: number): boolean; } -interface Uint8Array { +interface Uint8Array { /** * Determines whether an array includes a certain element, returning true or false as appropriate. * @param searchElement The element to search for. @@ -52,7 +52,7 @@ interface Uint8Array { includes(searchElement: number, fromIndex?: number): boolean; } -interface Uint8ClampedArray { +interface Uint8ClampedArray { /** * Determines whether an array includes a certain element, returning true or false as appropriate. * @param searchElement The element to search for. @@ -61,7 +61,7 @@ interface Uint8ClampedArray { includes(searchElement: number, fromIndex?: number): boolean; } -interface Int16Array { +interface Int16Array { /** * Determines whether an array includes a certain element, returning true or false as appropriate. * @param searchElement The element to search for. @@ -70,7 +70,7 @@ interface Int16Array { includes(searchElement: number, fromIndex?: number): boolean; } -interface Uint16Array { +interface Uint16Array { /** * Determines whether an array includes a certain element, returning true or false as appropriate. * @param searchElement The element to search for. @@ -79,7 +79,7 @@ interface Uint16Array { includes(searchElement: number, fromIndex?: number): boolean; } -interface Int32Array { +interface Int32Array { /** * Determines whether an array includes a certain element, returning true or false as appropriate. * @param searchElement The element to search for. @@ -88,7 +88,7 @@ interface Int32Array { includes(searchElement: number, fromIndex?: number): boolean; } -interface Uint32Array { +interface Uint32Array { /** * Determines whether an array includes a certain element, returning true or false as appropriate. * @param searchElement The element to search for. @@ -97,7 +97,7 @@ interface Uint32Array { includes(searchElement: number, fromIndex?: number): boolean; } -interface Float32Array { +interface Float32Array { /** * Determines whether an array includes a certain element, returning true or false as appropriate. * @param searchElement The element to search for. @@ -106,7 +106,7 @@ interface Float32Array { includes(searchElement: number, fromIndex?: number): boolean; } -interface Float64Array { +interface Float64Array { /** * Determines whether an array includes a certain element, returning true or false as appropriate. * @param searchElement The element to search for. diff --git a/node_modules/typescript/lib/lib.es2016.intl.d.ts b/node_modules/typescript/lib/lib.es2016.intl.d.ts index 7af6efc2b0..83ca380f0b 100644 --- a/node_modules/typescript/lib/lib.es2016.intl.d.ts +++ b/node_modules/typescript/lib/lib.es2016.intl.d.ts @@ -22,7 +22,7 @@ declare namespace Intl { * the canonical locale names. Duplicates will be omitted and elements * will be validated as structurally valid language tags. * - * [MDN](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/getCanonicalLocales) + * [MDN](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Intl/getCanonicalLocales) * * @param locale A list of String values for which to get the canonical locale names * @returns An array containing the canonical and validated locale names. diff --git a/node_modules/typescript/lib/lib.es2017.arraybuffer.d.ts b/node_modules/typescript/lib/lib.es2017.arraybuffer.d.ts new file mode 100644 index 0000000000..e2f00b8340 --- /dev/null +++ b/node_modules/typescript/lib/lib.es2017.arraybuffer.d.ts @@ -0,0 +1,21 @@ +/*! ***************************************************************************** +Copyright (c) Microsoft Corporation. All rights reserved. +Licensed under the Apache License, Version 2.0 (the "License"); you may not use +this file except in compliance with the License. You may obtain a copy of the +License at http://www.apache.org/licenses/LICENSE-2.0 + +THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED +WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE, +MERCHANTABLITY OR NON-INFRINGEMENT. + +See the Apache Version 2.0 License for specific language governing permissions +and limitations under the License. +***************************************************************************** */ + + +/// + +interface ArrayBufferConstructor { + new (): ArrayBuffer; +} diff --git a/node_modules/typescript/lib/lib.es2017.d.ts b/node_modules/typescript/lib/lib.es2017.d.ts index e0bd4eeb72..234a01f956 100644 --- a/node_modules/typescript/lib/lib.es2017.d.ts +++ b/node_modules/typescript/lib/lib.es2017.d.ts @@ -17,9 +17,10 @@ and limitations under the License. /// /// +/// +/// +/// /// /// /// -/// /// -/// diff --git a/node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts b/node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts index a46c5ccb13..89b703982b 100644 --- a/node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts +++ b/node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts @@ -28,14 +28,14 @@ interface SharedArrayBuffer { /** * Returns a section of an SharedArrayBuffer. */ - slice(begin: number, end?: number): SharedArrayBuffer; + slice(begin?: number, end?: number): SharedArrayBuffer; readonly [Symbol.species]: SharedArrayBuffer; readonly [Symbol.toStringTag]: "SharedArrayBuffer"; } interface SharedArrayBufferConstructor { readonly prototype: SharedArrayBuffer; - new (byteLength: number): SharedArrayBuffer; + new (byteLength?: number): SharedArrayBuffer; } declare var SharedArrayBuffer: SharedArrayBufferConstructor; @@ -49,28 +49,28 @@ interface Atomics { * Until this atomic operation completes, any other read or write operation against the array * will block. */ - add(typedArray: Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array, index: number, value: number): number; + add(typedArray: Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array, index: number, value: number): number; /** * Stores the bitwise AND of a value with the value at the given position in the array, * returning the original value. Until this atomic operation completes, any other read or * write operation against the array will block. */ - and(typedArray: Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array, index: number, value: number): number; + and(typedArray: Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array, index: number, value: number): number; /** * Replaces the value at the given position in the array if the original value equals the given * expected value, returning the original value. Until this atomic operation completes, any * other read or write operation against the array will block. */ - compareExchange(typedArray: Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array, index: number, expectedValue: number, replacementValue: number): number; + compareExchange(typedArray: Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array, index: number, expectedValue: number, replacementValue: number): number; /** * Replaces the value at the given position in the array, returning the original value. Until * this atomic operation completes, any other read or write operation against the array will * block. */ - exchange(typedArray: Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array, index: number, value: number): number; + exchange(typedArray: Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array, index: number, value: number): number; /** * Returns a value indicating whether high-performance algorithms can use atomic operations @@ -83,27 +83,27 @@ interface Atomics { * Returns the value at the given position in the array. Until this atomic operation completes, * any other read or write operation against the array will block. */ - load(typedArray: Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array, index: number): number; + load(typedArray: Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array, index: number): number; /** * Stores the bitwise OR of a value with the value at the given position in the array, * returning the original value. Until this atomic operation completes, any other read or write * operation against the array will block. */ - or(typedArray: Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array, index: number, value: number): number; + or(typedArray: Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array, index: number, value: number): number; /** * Stores a value at the given position in the array, returning the new value. Until this * atomic operation completes, any other read or write operation against the array will block. */ - store(typedArray: Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array, index: number, value: number): number; + store(typedArray: Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array, index: number, value: number): number; /** * Subtracts a value from the value at the given position in the array, returning the original * value. Until this atomic operation completes, any other read or write operation against the * array will block. */ - sub(typedArray: Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array, index: number, value: number): number; + sub(typedArray: Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array, index: number, value: number): number; /** * If the value at the given position in the array is equal to the provided value, the current @@ -111,23 +111,23 @@ interface Atomics { * `"timed-out"`) or until the agent is awoken (returning `"ok"`); otherwise, returns * `"not-equal"`. */ - wait(typedArray: Int32Array, index: number, value: number, timeout?: number): "ok" | "not-equal" | "timed-out"; + wait(typedArray: Int32Array, index: number, value: number, timeout?: number): "ok" | "not-equal" | "timed-out"; /** * Wakes up sleeping agents that are waiting on the given index of the array, returning the * number of agents that were awoken. - * @param typedArray A shared Int32Array. + * @param typedArray A shared Int32Array. * @param index The position in the typedArray to wake up on. * @param count The number of sleeping agents to notify. Defaults to +Infinity. */ - notify(typedArray: Int32Array, index: number, count?: number): number; + notify(typedArray: Int32Array, index: number, count?: number): number; /** * Stores the bitwise XOR of a value with the value at the given position in the array, * returning the original value. Until this atomic operation completes, any other read or write * operation against the array will block. */ - xor(typedArray: Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array, index: number, value: number): number; + xor(typedArray: Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array, index: number, value: number): number; readonly [Symbol.toStringTag]: "Atomics"; } diff --git a/node_modules/typescript/lib/lib.es2017.typedarrays.d.ts b/node_modules/typescript/lib/lib.es2017.typedarrays.d.ts index 2182ec12f8..aed22e3ee2 100644 --- a/node_modules/typescript/lib/lib.es2017.typedarrays.d.ts +++ b/node_modules/typescript/lib/lib.es2017.typedarrays.d.ts @@ -17,37 +17,37 @@ and limitations under the License. /// interface Int8ArrayConstructor { - new (): Int8Array; + new (): Int8Array; } interface Uint8ArrayConstructor { - new (): Uint8Array; + new (): Uint8Array; } interface Uint8ClampedArrayConstructor { - new (): Uint8ClampedArray; + new (): Uint8ClampedArray; } interface Int16ArrayConstructor { - new (): Int16Array; + new (): Int16Array; } interface Uint16ArrayConstructor { - new (): Uint16Array; + new (): Uint16Array; } interface Int32ArrayConstructor { - new (): Int32Array; + new (): Int32Array; } interface Uint32ArrayConstructor { - new (): Uint32Array; + new (): Uint32Array; } interface Float32ArrayConstructor { - new (): Float32Array; + new (): Float32Array; } interface Float64ArrayConstructor { - new (): Float64Array; + new (): Float64Array; } diff --git a/node_modules/typescript/lib/lib.es2020.bigint.d.ts b/node_modules/typescript/lib/lib.es2020.bigint.d.ts index 9997ac0003..2d6204e2d5 100644 --- a/node_modules/typescript/lib/lib.es2020.bigint.d.ts +++ b/node_modules/typescript/lib/lib.es2020.bigint.d.ts @@ -20,7 +20,7 @@ and limitations under the License. interface BigIntToLocaleStringOptions { /** - * 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}. + * The locale matching algorithm to use.The default is "best fit". For information about this option, see the {@link https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Intl#Locale_negotiation Intl page}. */ localeMatcher?: string; /** @@ -146,12 +146,12 @@ declare var BigInt: BigIntConstructor; * A typed array of 64-bit signed integer values. The contents are initialized to 0. If the * requested number of bytes could not be allocated, an exception is raised. */ -interface BigInt64Array { +interface BigInt64Array { /** The size in bytes of each element in the array. */ readonly BYTES_PER_ELEMENT: number; /** The ArrayBuffer instance referenced by the array. */ - readonly buffer: ArrayBufferLike; + readonly buffer: TArrayBuffer; /** The length in bytes of the array. */ readonly byteLength: number; @@ -181,7 +181,7 @@ interface BigInt64Array { * @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. */ - every(predicate: (value: bigint, index: number, array: BigInt64Array) => boolean, thisArg?: any): boolean; + every(predicate: (value: bigint, index: number, array: BigInt64Array) => boolean, thisArg?: any): boolean; /** * Changes all array elements from `start` to `end` index to a static `value` and returns the modified array @@ -200,7 +200,7 @@ interface BigInt64Array { * @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. */ - filter(predicate: (value: bigint, index: number, array: BigInt64Array) => any, thisArg?: any): BigInt64Array; + filter(predicate: (value: bigint, index: number, array: BigInt64Array) => any, thisArg?: any): BigInt64Array; /** * Returns the value of the first element in the array where predicate is true, and undefined @@ -211,7 +211,7 @@ interface BigInt64Array { * @param thisArg If provided, it will be used as the this value for each invocation of * predicate. If it is not provided, undefined is used instead. */ - find(predicate: (value: bigint, index: number, array: BigInt64Array) => boolean, thisArg?: any): bigint | undefined; + find(predicate: (value: bigint, index: number, array: BigInt64Array) => boolean, thisArg?: any): bigint | undefined; /** * Returns the index of the first element in the array where predicate is true, and -1 @@ -222,7 +222,7 @@ interface BigInt64Array { * @param thisArg If provided, it will be used as the this value for each invocation of * predicate. If it is not provided, undefined is used instead. */ - findIndex(predicate: (value: bigint, index: number, array: BigInt64Array) => boolean, thisArg?: any): number; + findIndex(predicate: (value: bigint, index: number, array: BigInt64Array) => boolean, thisArg?: any): number; /** * Performs the specified action for each element in an array. @@ -231,7 +231,7 @@ interface BigInt64Array { * @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. */ - forEach(callbackfn: (value: bigint, index: number, array: BigInt64Array) => void, thisArg?: any): void; + forEach(callbackfn: (value: bigint, index: number, array: BigInt64Array) => void, thisArg?: any): void; /** * Determines whether an array includes a certain element, returning true or false as appropriate. @@ -277,7 +277,7 @@ interface BigInt64Array { * @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. */ - map(callbackfn: (value: bigint, index: number, array: BigInt64Array) => bigint, thisArg?: any): BigInt64Array; + map(callbackfn: (value: bigint, index: number, array: BigInt64Array) => bigint, thisArg?: any): BigInt64Array; /** * Calls the specified callback function for all the elements in an array. The return value of @@ -289,7 +289,7 @@ interface BigInt64Array { * the accumulation. The first call to the callbackfn function provides this value as an argument * instead of an array value. */ - reduce(callbackfn: (previousValue: bigint, currentValue: bigint, currentIndex: number, array: BigInt64Array) => bigint): bigint; + reduce(callbackfn: (previousValue: bigint, currentValue: bigint, currentIndex: number, array: BigInt64Array) => bigint): bigint; /** * Calls the specified callback function for all the elements in an array. The return value of @@ -301,7 +301,7 @@ interface BigInt64Array { * the accumulation. The first call to the callbackfn function provides this value as an argument * instead of an array value. */ - reduce(callbackfn: (previousValue: U, currentValue: bigint, currentIndex: number, array: BigInt64Array) => U, initialValue: U): U; + reduce(callbackfn: (previousValue: U, currentValue: bigint, currentIndex: number, array: BigInt64Array) => U, initialValue: U): U; /** * Calls the specified callback function for all the elements in an array, in descending order. @@ -313,7 +313,7 @@ interface BigInt64Array { * the accumulation. The first call to the callbackfn function provides this value as an * argument instead of an array value. */ - reduceRight(callbackfn: (previousValue: bigint, currentValue: bigint, currentIndex: number, array: BigInt64Array) => bigint): bigint; + reduceRight(callbackfn: (previousValue: bigint, currentValue: bigint, currentIndex: number, array: BigInt64Array) => bigint): bigint; /** * Calls the specified callback function for all the elements in an array, in descending order. @@ -325,7 +325,7 @@ interface BigInt64Array { * the accumulation. The first call to the callbackfn function provides this value as an argument * instead of an array value. */ - reduceRight(callbackfn: (previousValue: U, currentValue: bigint, currentIndex: number, array: BigInt64Array) => U, initialValue: U): U; + reduceRight(callbackfn: (previousValue: U, currentValue: bigint, currentIndex: number, array: BigInt64Array) => U, initialValue: U): U; /** Reverses the elements in the array. */ reverse(): this; @@ -342,7 +342,7 @@ interface BigInt64Array { * @param start The beginning of the specified portion of the array. * @param end The end of the specified portion of the array. */ - slice(start?: number, end?: number): BigInt64Array; + slice(start?: number, end?: number): BigInt64Array; /** * Determines whether the specified callback function returns true for any element of an array. @@ -352,7 +352,7 @@ interface BigInt64Array { * @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. */ - some(predicate: (value: bigint, index: number, array: BigInt64Array) => boolean, thisArg?: any): boolean; + some(predicate: (value: bigint, index: number, array: BigInt64Array) => boolean, thisArg?: any): boolean; /** * Sorts the array. @@ -366,7 +366,7 @@ interface BigInt64Array { * @param begin The index of the beginning of the array. * @param end The index of the end of the array. */ - subarray(begin?: number, end?: number): BigInt64Array; + subarray(begin?: number, end?: number): BigInt64Array; /** Converts the array to a string by using the current locale. */ toLocaleString(locales?: string | string[], options?: Intl.NumberFormatOptions): string; @@ -375,7 +375,7 @@ interface BigInt64Array { toString(): string; /** Returns the primitive value of the specified object. */ - valueOf(): BigInt64Array; + valueOf(): BigInt64Array; /** Yields each value in the array. */ values(): ArrayIterator; @@ -386,12 +386,12 @@ interface BigInt64Array { [index: number]: bigint; } - interface BigInt64ArrayConstructor { - readonly prototype: BigInt64Array; - new (length?: number): BigInt64Array; - new (array: Iterable): BigInt64Array; - new (buffer: ArrayBufferLike, byteOffset?: number, length?: number): BigInt64Array; + readonly prototype: BigInt64Array; + new (length?: number): BigInt64Array; + new (array: ArrayLike | Iterable): BigInt64Array; + new (buffer: TArrayBuffer, byteOffset?: number, length?: number): BigInt64Array; + new (array: ArrayLike | ArrayBuffer): BigInt64Array; /** The size in bytes of each element in the array. */ readonly BYTES_PER_ELEMENT: number; @@ -400,7 +400,7 @@ interface BigInt64ArrayConstructor { * Returns a new array from a set of elements. * @param items A set of elements to include in the new array object. */ - of(...items: bigint[]): BigInt64Array; + of(...items: bigint[]): BigInt64Array; /** * Creates an array from an array-like or iterable object. @@ -408,22 +408,27 @@ interface BigInt64ArrayConstructor { * @param mapfn A mapping function to call on every element of the array. * @param thisArg Value of 'this' used to invoke the mapfn. */ - from(arrayLike: ArrayLike): BigInt64Array; - from(arrayLike: ArrayLike, mapfn: (v: U, k: number) => bigint, thisArg?: any): BigInt64Array; + from(arrayLike: ArrayLike): BigInt64Array; + /** + * Creates an array from an array-like or iterable object. + * @param arrayLike An array-like or iterable object to convert to an array. + * @param mapfn A mapping function to call on every element of the array. + * @param thisArg Value of 'this' used to invoke the mapfn. + */ + from(arrayLike: ArrayLike, mapfn: (v: U, k: number) => bigint, thisArg?: any): BigInt64Array; } - declare var BigInt64Array: BigInt64ArrayConstructor; /** * A typed array of 64-bit unsigned integer values. The contents are initialized to 0. If the * requested number of bytes could not be allocated, an exception is raised. */ -interface BigUint64Array { +interface BigUint64Array { /** The size in bytes of each element in the array. */ readonly BYTES_PER_ELEMENT: number; /** The ArrayBuffer instance referenced by the array. */ - readonly buffer: ArrayBufferLike; + readonly buffer: TArrayBuffer; /** The length in bytes of the array. */ readonly byteLength: number; @@ -453,7 +458,7 @@ interface BigUint64Array { * @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. */ - every(predicate: (value: bigint, index: number, array: BigUint64Array) => boolean, thisArg?: any): boolean; + every(predicate: (value: bigint, index: number, array: BigUint64Array) => boolean, thisArg?: any): boolean; /** * Changes all array elements from `start` to `end` index to a static `value` and returns the modified array @@ -472,7 +477,7 @@ interface BigUint64Array { * @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. */ - filter(predicate: (value: bigint, index: number, array: BigUint64Array) => any, thisArg?: any): BigUint64Array; + filter(predicate: (value: bigint, index: number, array: BigUint64Array) => any, thisArg?: any): BigUint64Array; /** * Returns the value of the first element in the array where predicate is true, and undefined @@ -483,7 +488,7 @@ interface BigUint64Array { * @param thisArg If provided, it will be used as the this value for each invocation of * predicate. If it is not provided, undefined is used instead. */ - find(predicate: (value: bigint, index: number, array: BigUint64Array) => boolean, thisArg?: any): bigint | undefined; + find(predicate: (value: bigint, index: number, array: BigUint64Array) => boolean, thisArg?: any): bigint | undefined; /** * Returns the index of the first element in the array where predicate is true, and -1 @@ -494,7 +499,7 @@ interface BigUint64Array { * @param thisArg If provided, it will be used as the this value for each invocation of * predicate. If it is not provided, undefined is used instead. */ - findIndex(predicate: (value: bigint, index: number, array: BigUint64Array) => boolean, thisArg?: any): number; + findIndex(predicate: (value: bigint, index: number, array: BigUint64Array) => boolean, thisArg?: any): number; /** * Performs the specified action for each element in an array. @@ -503,7 +508,7 @@ interface BigUint64Array { * @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. */ - forEach(callbackfn: (value: bigint, index: number, array: BigUint64Array) => void, thisArg?: any): void; + forEach(callbackfn: (value: bigint, index: number, array: BigUint64Array) => void, thisArg?: any): void; /** * Determines whether an array includes a certain element, returning true or false as appropriate. @@ -549,7 +554,7 @@ interface BigUint64Array { * @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. */ - map(callbackfn: (value: bigint, index: number, array: BigUint64Array) => bigint, thisArg?: any): BigUint64Array; + map(callbackfn: (value: bigint, index: number, array: BigUint64Array) => bigint, thisArg?: any): BigUint64Array; /** * Calls the specified callback function for all the elements in an array. The return value of @@ -561,7 +566,7 @@ interface BigUint64Array { * the accumulation. The first call to the callbackfn function provides this value as an argument * instead of an array value. */ - reduce(callbackfn: (previousValue: bigint, currentValue: bigint, currentIndex: number, array: BigUint64Array) => bigint): bigint; + reduce(callbackfn: (previousValue: bigint, currentValue: bigint, currentIndex: number, array: BigUint64Array) => bigint): bigint; /** * Calls the specified callback function for all the elements in an array. The return value of @@ -573,7 +578,7 @@ interface BigUint64Array { * the accumulation. The first call to the callbackfn function provides this value as an argument * instead of an array value. */ - reduce(callbackfn: (previousValue: U, currentValue: bigint, currentIndex: number, array: BigUint64Array) => U, initialValue: U): U; + reduce(callbackfn: (previousValue: U, currentValue: bigint, currentIndex: number, array: BigUint64Array) => U, initialValue: U): U; /** * Calls the specified callback function for all the elements in an array, in descending order. @@ -585,7 +590,7 @@ interface BigUint64Array { * the accumulation. The first call to the callbackfn function provides this value as an * argument instead of an array value. */ - reduceRight(callbackfn: (previousValue: bigint, currentValue: bigint, currentIndex: number, array: BigUint64Array) => bigint): bigint; + reduceRight(callbackfn: (previousValue: bigint, currentValue: bigint, currentIndex: number, array: BigUint64Array) => bigint): bigint; /** * Calls the specified callback function for all the elements in an array, in descending order. @@ -597,7 +602,7 @@ interface BigUint64Array { * the accumulation. The first call to the callbackfn function provides this value as an argument * instead of an array value. */ - reduceRight(callbackfn: (previousValue: U, currentValue: bigint, currentIndex: number, array: BigUint64Array) => U, initialValue: U): U; + reduceRight(callbackfn: (previousValue: U, currentValue: bigint, currentIndex: number, array: BigUint64Array) => U, initialValue: U): U; /** Reverses the elements in the array. */ reverse(): this; @@ -614,7 +619,7 @@ interface BigUint64Array { * @param start The beginning of the specified portion of the array. * @param end The end of the specified portion of the array. */ - slice(start?: number, end?: number): BigUint64Array; + slice(start?: number, end?: number): BigUint64Array; /** * Determines whether the specified callback function returns true for any element of an array. @@ -624,7 +629,7 @@ interface BigUint64Array { * @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. */ - some(predicate: (value: bigint, index: number, array: BigUint64Array) => boolean, thisArg?: any): boolean; + some(predicate: (value: bigint, index: number, array: BigUint64Array) => boolean, thisArg?: any): boolean; /** * Sorts the array. @@ -638,7 +643,7 @@ interface BigUint64Array { * @param begin The index of the beginning of the array. * @param end The index of the end of the array. */ - subarray(begin?: number, end?: number): BigUint64Array; + subarray(begin?: number, end?: number): BigUint64Array; /** Converts the array to a string by using the current locale. */ toLocaleString(locales?: string | string[], options?: Intl.NumberFormatOptions): string; @@ -647,7 +652,7 @@ interface BigUint64Array { toString(): string; /** Returns the primitive value of the specified object. */ - valueOf(): BigUint64Array; + valueOf(): BigUint64Array; /** Yields each value in the array. */ values(): ArrayIterator; @@ -658,12 +663,12 @@ interface BigUint64Array { [index: number]: bigint; } - interface BigUint64ArrayConstructor { - readonly prototype: BigUint64Array; - new (length?: number): BigUint64Array; - new (array: Iterable): BigUint64Array; - new (buffer: ArrayBufferLike, byteOffset?: number, length?: number): BigUint64Array; + readonly prototype: BigUint64Array; + new (length?: number): BigUint64Array; + new (array: ArrayLike | Iterable): BigUint64Array; + new (buffer: TArrayBuffer, byteOffset?: number, length?: number): BigUint64Array; + new (array: ArrayLike | ArrayBuffer): BigUint64Array; /** The size in bytes of each element in the array. */ readonly BYTES_PER_ELEMENT: number; @@ -672,7 +677,7 @@ interface BigUint64ArrayConstructor { * Returns a new array from a set of elements. * @param items A set of elements to include in the new array object. */ - of(...items: bigint[]): BigUint64Array; + of(...items: bigint[]): BigUint64Array; /** * Creates an array from an array-like or iterable object. @@ -683,10 +688,9 @@ interface BigUint64ArrayConstructor { from(arrayLike: ArrayLike): BigUint64Array; from(arrayLike: ArrayLike, mapfn: (v: U, k: number) => bigint, thisArg?: any): BigUint64Array; } - declare var BigUint64Array: BigUint64ArrayConstructor; -interface DataView { +interface DataView { /** * Gets the BigInt64 value at the specified byte offset from the start of the view. There is * no alignment constraint; multi-byte values may be fetched from any offset. diff --git a/node_modules/typescript/lib/lib.es2020.intl.d.ts b/node_modules/typescript/lib/lib.es2020.intl.d.ts index 53cdacb69f..d78b640887 100644 --- a/node_modules/typescript/lib/lib.es2020.intl.d.ts +++ b/node_modules/typescript/lib/lib.es2020.intl.d.ts @@ -23,14 +23,14 @@ declare namespace Intl { * * For example: "fa", "es-MX", "zh-Hant-TW". * - * See [MDN - Intl - locales argument](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl#locales_argument). + * See [MDN - Intl - locales argument](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Intl#locales_argument). */ type UnicodeBCP47LocaleIdentifier = string; /** * Unit to use in the relative time internationalized message. * - * [MDN](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/RelativeTimeFormat/format#Parameters). + * [MDN](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Intl/RelativeTimeFormat/format#Parameters). */ type RelativeTimeFormatUnit = | "year" @@ -57,7 +57,7 @@ declare namespace Intl { * but `formatToParts` only outputs singular (e.g. "day") not plural (e.g. * "days"). * - * [MDN](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/RelativeTimeFormat/formatToParts#Using_formatToParts). + * [MDN](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Intl/RelativeTimeFormat/formatToParts#Using_formatToParts). */ type RelativeTimeFormatUnitSingular = | "year" @@ -79,21 +79,21 @@ declare namespace Intl { /** * The format of output message. * - * [MDN](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/RelativeTimeFormat/RelativeTimeFormat#Parameters). + * [MDN](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Intl/RelativeTimeFormat/RelativeTimeFormat#Parameters). */ type RelativeTimeFormatNumeric = "always" | "auto"; /** * The length of the internationalized message. * - * [MDN](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/RelativeTimeFormat/RelativeTimeFormat#Parameters). + * [MDN](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Intl/RelativeTimeFormat/RelativeTimeFormat#Parameters). */ type RelativeTimeFormatStyle = "long" | "short" | "narrow"; /** * The locale or locales to use * - * See [MDN - Intl - locales argument](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl#locales_argument). + * See [MDN - Intl - locales argument](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Intl#locales_argument). */ type LocalesArgument = UnicodeBCP47LocaleIdentifier | Locale | readonly (UnicodeBCP47LocaleIdentifier | Locale)[] | undefined; @@ -101,7 +101,7 @@ declare namespace Intl { * An object with some or all of properties of `options` parameter * of `Intl.RelativeTimeFormat` constructor. * - * [MDN](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/RelativeTimeFormat/RelativeTimeFormat#Parameters). + * [MDN](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Intl/RelativeTimeFormat/RelativeTimeFormat#Parameters). */ interface RelativeTimeFormatOptions { /** 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). */ @@ -117,7 +117,7 @@ declare namespace Intl { * and formatting options computed during initialization * of the `Intl.RelativeTimeFormat` object * - * [MDN](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/RelativeTimeFormat/resolvedOptions#Description). + * [MDN](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Intl/RelativeTimeFormat/resolvedOptions#Description). */ interface ResolvedRelativeTimeFormatOptions { locale: UnicodeBCP47LocaleIdentifier; @@ -130,7 +130,7 @@ declare namespace Intl { * An object representing the relative time format in parts * that can be used for custom locale-aware formatting. * - * [MDN](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/RelativeTimeFormat/formatToParts#Using_formatToParts). + * [MDN](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Intl/RelativeTimeFormat/formatToParts#Using_formatToParts). */ type RelativeTimeFormatPart = | { @@ -166,7 +166,7 @@ declare namespace Intl { * * @returns {string} Internationalized relative time message as string * - * [MDN](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/RelativeTimeFormat/format). + * [MDN](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Intl/RelativeTimeFormat/format). */ format(value: number, unit: RelativeTimeFormatUnit): string; @@ -179,14 +179,14 @@ declare namespace Intl { * * @throws `RangeError` if `unit` was given something other than `unit` possible values * - * [MDN](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/RelativeTimeFormat/formatToParts). + * [MDN](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Intl/RelativeTimeFormat/formatToParts). */ formatToParts(value: number, unit: RelativeTimeFormatUnit): RelativeTimeFormatPart[]; /** * Provides access to the locale and options computed during initialization of this `Intl.RelativeTimeFormat` object. * - * [MDN](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/RelativeTimeFormat/resolvedOptions). + * [MDN](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Intl/RelativeTimeFormat/resolvedOptions). */ resolvedOptions(): ResolvedRelativeTimeFormatOptions; } @@ -195,22 +195,22 @@ declare namespace Intl { * The [`Intl.RelativeTimeFormat`](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/RelativeTimeFormat) * object is a constructor for objects that enable language-sensitive relative time formatting. * - * [Compatibility](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/RelativeTimeFormat#Browser_compatibility). + * [Compatibility](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Intl/RelativeTimeFormat#Browser_compatibility). */ const RelativeTimeFormat: { /** - * Creates [Intl.RelativeTimeFormat](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/RelativeTimeFormat) objects + * Creates [Intl.RelativeTimeFormat](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/RelativeTimeFormat) objects * * @param locales - A string with a [BCP 47 language tag](http://tools.ietf.org/html/rfc5646), or an array of such strings. * For the general form and interpretation of the locales argument, - * see the [`Intl` page](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl#Locale_identification_and_negotiation). + * see the [`Intl` page](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Intl#Locale_identification_and_negotiation). * - * @param options - An [object](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/RelativeTimeFormat/RelativeTimeFormat#Parameters) + * @param options - An [object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Intl/RelativeTimeFormat/RelativeTimeFormat#Parameters) * with some or all of options of `RelativeTimeFormatOptions`. * - * @returns [Intl.RelativeTimeFormat](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/RelativeTimeFormat) object. + * @returns [Intl.RelativeTimeFormat](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/RelativeTimeFormat) object. * - * [MDN](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/RelativeTimeFormat/RelativeTimeFormat). + * [MDN](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Intl/RelativeTimeFormat/RelativeTimeFormat). */ new ( locales?: LocalesArgument, @@ -224,16 +224,16 @@ declare namespace Intl { * * @param locales - A string with a [BCP 47 language tag](http://tools.ietf.org/html/rfc5646), or an array of such strings. * For the general form and interpretation of the locales argument, - * see the [`Intl` page](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl#Locale_identification_and_negotiation). + * see the [`Intl` page](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Intl#Locale_identification_and_negotiation). * - * @param options - An [object](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/RelativeTimeFormat/RelativeTimeFormat#Parameters) + * @param options - An [object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Intl/RelativeTimeFormat/RelativeTimeFormat#Parameters) * with some or all of options of the formatting. * * @returns An array containing those of the provided locales * that are supported in date and time formatting * without having to fall back to the runtime's default locale. * - * [MDN](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/RelativeTimeFormat/supportedLocalesOf). + * [MDN](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Intl/RelativeTimeFormat/supportedLocalesOf). */ supportedLocalesOf( locales?: LocalesArgument, @@ -336,18 +336,18 @@ declare namespace Intl { } /** - * Constructor creates [Intl.Locale](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/Locale) + * Constructor creates [Intl.Locale](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Intl/Locale) * objects * * @param tag - A string with a [BCP 47 language tag](http://tools.ietf.org/html/rfc5646). * For the general form and interpretation of the locales argument, - * see the [`Intl` page](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl#Locale_identification_and_negotiation). + * see the [`Intl` page](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Intl#Locale_identification_and_negotiation). * - * @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. + * @param options - An [object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Intl/Locale/Locale#Parameters) with some or all of options of the locale. * - * @returns [Intl.Locale](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/Locale) object. + * @returns [Intl.Locale](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Intl/Locale) object. * - * [MDN](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/Locale). + * [MDN](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Intl/Locale). */ const Locale: { new (tag: UnicodeBCP47LocaleIdentifier | Locale, options?: LocaleOptions): Locale; @@ -388,7 +388,7 @@ declare namespace Intl { interface DisplayNames { /** * Receives a code and returns a string based on the locale and options provided when instantiating - * [`Intl.DisplayNames()`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/DisplayNames) + * [`Intl.DisplayNames()`](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Intl/DisplayNames) * * @param code The `code` to provide depends on the `type` passed to display name during creation: * - 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), @@ -399,35 +399,35 @@ declare namespace Intl { * `languageCode` is either a two letters ISO 639-1 language code or a three letters ISO 639-2 language code. * - If the type is `"currency"`, code should be a [3-letter ISO 4217 currency code](https://www.iso.org/iso-4217-currency-codes.html). * - * [MDN](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/DisplayNames/of). + * [MDN](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Intl/DisplayNames/of). */ of(code: string): string | undefined; /** * Returns a new object with properties reflecting the locale and style formatting options computed during the construction of the current - * [`Intl/DisplayNames`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/DisplayNames) object. + * [`Intl/DisplayNames`](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Intl/DisplayNames) object. * - * [MDN](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/DisplayNames/resolvedOptions). + * [MDN](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Intl/DisplayNames/resolvedOptions). */ resolvedOptions(): ResolvedDisplayNamesOptions; } /** - * The [`Intl.DisplayNames()`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/DisplayNames) + * The [`Intl.DisplayNames()`](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Intl/DisplayNames) * object enables the consistent translation of language, region and script display names. * - * [Compatibility](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/DisplayNames#browser_compatibility). + * [Compatibility](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Intl/DisplayNames#browser_compatibility). */ const DisplayNames: { prototype: DisplayNames; /** * @param locales A string with a BCP 47 language tag, or an array of such strings. - * 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) + * For the general form and interpretation of the `locales` argument, see the [Intl](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Intl#locale_identification_and_negotiation) * page. * * @param options An object for setting up a display name. * - * [MDN](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/DisplayNames/DisplayNames). + * [MDN](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Intl/DisplayNames/DisplayNames). */ new (locales: LocalesArgument, options: DisplayNamesOptions): DisplayNames; @@ -435,14 +435,14 @@ declare namespace Intl { * 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. * * @param locales A string with a BCP 47 language tag, or an array of such strings. - * 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) + * For the general form and interpretation of the `locales` argument, see the [Intl](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Intl#locale_identification_and_negotiation) * page. * * @param options An object with a locale matcher. * * @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. * - * [MDN](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/DisplayNames/supportedLocalesOf). + * [MDN](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Intl/DisplayNames/supportedLocalesOf). */ supportedLocalesOf(locales?: LocalesArgument, options?: { localeMatcher?: RelativeTimeFormatLocaleMatcher; }): UnicodeBCP47LocaleIdentifier[]; }; diff --git a/node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts b/node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts index 3c7c14f4bd..35641a6426 100644 --- a/node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts +++ b/node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts @@ -16,60 +16,62 @@ and limitations under the License. /// +/// + interface Atomics { /** * Adds a value to the value at the given position in the array, returning the original value. * Until this atomic operation completes, any other read or write operation against the array * will block. */ - add(typedArray: BigInt64Array | BigUint64Array, index: number, value: bigint): bigint; + add(typedArray: BigInt64Array | BigUint64Array, index: number, value: bigint): bigint; /** * Stores the bitwise AND of a value with the value at the given position in the array, * returning the original value. Until this atomic operation completes, any other read or * write operation against the array will block. */ - and(typedArray: BigInt64Array | BigUint64Array, index: number, value: bigint): bigint; + and(typedArray: BigInt64Array | BigUint64Array, index: number, value: bigint): bigint; /** * Replaces the value at the given position in the array if the original value equals the given * expected value, returning the original value. Until this atomic operation completes, any * other read or write operation against the array will block. */ - compareExchange(typedArray: BigInt64Array | BigUint64Array, index: number, expectedValue: bigint, replacementValue: bigint): bigint; + compareExchange(typedArray: BigInt64Array | BigUint64Array, index: number, expectedValue: bigint, replacementValue: bigint): bigint; /** * Replaces the value at the given position in the array, returning the original value. Until * this atomic operation completes, any other read or write operation against the array will * block. */ - exchange(typedArray: BigInt64Array | BigUint64Array, index: number, value: bigint): bigint; + exchange(typedArray: BigInt64Array | BigUint64Array, index: number, value: bigint): bigint; /** * Returns the value at the given position in the array. Until this atomic operation completes, * any other read or write operation against the array will block. */ - load(typedArray: BigInt64Array | BigUint64Array, index: number): bigint; + load(typedArray: BigInt64Array | BigUint64Array, index: number): bigint; /** * Stores the bitwise OR of a value with the value at the given position in the array, * returning the original value. Until this atomic operation completes, any other read or write * operation against the array will block. */ - or(typedArray: BigInt64Array | BigUint64Array, index: number, value: bigint): bigint; + or(typedArray: BigInt64Array | BigUint64Array, index: number, value: bigint): bigint; /** * Stores a value at the given position in the array, returning the new value. Until this * atomic operation completes, any other read or write operation against the array will block. */ - store(typedArray: BigInt64Array | BigUint64Array, index: number, value: bigint): bigint; + store(typedArray: BigInt64Array | BigUint64Array, index: number, value: bigint): bigint; /** * Subtracts a value from the value at the given position in the array, returning the original * value. Until this atomic operation completes, any other read or write operation against the * array will block. */ - sub(typedArray: BigInt64Array | BigUint64Array, index: number, value: bigint): bigint; + sub(typedArray: BigInt64Array | BigUint64Array, index: number, value: bigint): bigint; /** * If the value at the given position in the array is equal to the provided value, the current @@ -77,7 +79,7 @@ interface Atomics { * `"timed-out"`) or until the agent is awoken (returning `"ok"`); otherwise, returns * `"not-equal"`. */ - wait(typedArray: BigInt64Array, index: number, value: bigint, timeout?: number): "ok" | "not-equal" | "timed-out"; + wait(typedArray: BigInt64Array, index: number, value: bigint, timeout?: number): "ok" | "not-equal" | "timed-out"; /** * Wakes up sleeping agents that are waiting on the given index of the array, returning the @@ -86,12 +88,12 @@ interface Atomics { * @param index The position in the typedArray to wake up on. * @param count The number of sleeping agents to notify. Defaults to +Infinity. */ - notify(typedArray: BigInt64Array, index: number, count?: number): number; + notify(typedArray: BigInt64Array, index: number, count?: number): number; /** * Stores the bitwise XOR of a value with the value at the given position in the array, * returning the original value. Until this atomic operation completes, any other read or write * operation against the array will block. */ - xor(typedArray: BigInt64Array | BigUint64Array, index: number, value: bigint): bigint; + xor(typedArray: BigInt64Array | BigUint64Array, index: number, value: bigint): bigint; } diff --git a/node_modules/typescript/lib/lib.es2020.string.d.ts b/node_modules/typescript/lib/lib.es2020.string.d.ts index cdb38e0d86..4c2a4ded06 100644 --- a/node_modules/typescript/lib/lib.es2020.string.d.ts +++ b/node_modules/typescript/lib/lib.es2020.string.d.ts @@ -16,6 +16,8 @@ and limitations under the License. /// +/// +/// /// interface String { diff --git a/node_modules/typescript/lib/lib.es2021.intl.d.ts b/node_modules/typescript/lib/lib.es2021.intl.d.ts index ec90ad1b2c..a0fe4825e7 100644 --- a/node_modules/typescript/lib/lib.es2021.intl.d.ts +++ b/node_modules/typescript/lib/lib.es2021.intl.d.ts @@ -50,28 +50,28 @@ declare namespace Intl { /** * The locale matching algorithm to use. * - * [MDN](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/ListFormat/ListFormat#parameters). + * [MDN](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Intl/ListFormat/ListFormat#parameters). */ type ListFormatLocaleMatcher = "lookup" | "best fit"; /** * The format of output message. * - * [MDN](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/ListFormat/ListFormat#parameters). + * [MDN](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Intl/ListFormat/ListFormat#parameters). */ type ListFormatType = "conjunction" | "disjunction" | "unit"; /** * The length of the formatted message. * - * [MDN](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/ListFormat/ListFormat#parameters). + * [MDN](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Intl/ListFormat/ListFormat#parameters). */ type ListFormatStyle = "long" | "short" | "narrow"; /** * An object with some or all properties of the `Intl.ListFormat` constructor `options` parameter. * - * [MDN](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/ListFormat/ListFormat#parameters). + * [MDN](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Intl/ListFormat/ListFormat#parameters). */ interface ListFormatOptions { /** 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). */ @@ -92,26 +92,26 @@ declare namespace Intl { /** * Returns a string with a language-specific representation of the list. * - * @param list - An iterable object, such as an [Array](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array). + * @param list - An iterable object, such as an [Array](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Array). * * @throws `TypeError` if `list` includes something other than the possible values. * * @returns {string} A language-specific formatted string representing the elements of the list. * - * [MDN](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/ListFormat/format). + * [MDN](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Intl/ListFormat/format). */ format(list: Iterable): string; /** * Returns an Array of objects representing the different components that can be used to format a list of values in a locale-aware fashion. * - * @param list - An iterable object, such as an [Array](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array), to be formatted according to a locale. + * @param list - An iterable object, such as an [Array](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Array), to be formatted according to a locale. * * @throws `TypeError` if `list` includes something other than the possible values. * * @returns {{ type: "element" | "literal", value: string; }[]} An Array of components which contains the formatted parts from the list. * - * [MDN](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/ListFormat/formatToParts). + * [MDN](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Intl/ListFormat/formatToParts). */ formatToParts(list: Iterable): { type: "element" | "literal"; value: string; }[]; @@ -120,7 +120,7 @@ declare namespace Intl { * formatting options computed during the construction of the current * `Intl.ListFormat` object. * - * [MDN](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/ListFormat/resolvedOptions). + * [MDN](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Intl/ListFormat/resolvedOptions). */ resolvedOptions(): ResolvedListFormatOptions; } @@ -129,19 +129,19 @@ declare namespace Intl { prototype: ListFormat; /** - * Creates [Intl.ListFormat](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/ListFormat) objects that + * Creates [Intl.ListFormat](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Intl/ListFormat) objects that * enable language-sensitive list formatting. * * @param locales - A string with a [BCP 47 language tag](http://tools.ietf.org/html/rfc5646), or an array of such strings. * For the general form and interpretation of the `locales` argument, - * see the [`Intl` page](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl#Locale_identification_and_negotiation). + * see the [`Intl` page](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Intl#Locale_identification_and_negotiation). * - * @param options - An [object](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/ListFormat/ListFormat#parameters) + * @param options - An [object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Intl/ListFormat/ListFormat#parameters) * with some or all options of `ListFormatOptions`. * - * @returns [Intl.ListFormatOptions](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/ListFormat) object. + * @returns [Intl.ListFormatOptions](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Intl/ListFormat) object. * - * [MDN](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/ListFormat). + * [MDN](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Intl/ListFormat). */ new (locales?: LocalesArgument, options?: ListFormatOptions): ListFormat; @@ -151,15 +151,15 @@ declare namespace Intl { * * @param locales - A string with a [BCP 47 language tag](http://tools.ietf.org/html/rfc5646), or an array of such strings. * For the general form and interpretation of the `locales` argument, - * see the [`Intl` page](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl#Locale_identification_and_negotiation). + * see the [`Intl` page](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Intl#Locale_identification_and_negotiation). * - * @param options - An [object](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/ListFormat/supportedLocalesOf#parameters). + * @param options - An [object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Intl/ListFormat/supportedLocalesOf#parameters). * with some or all possible options. * * @returns An array of strings representing a subset of the given locale tags that are supported in list * formatting without having to fall back to the runtime's default locale. * - * [MDN](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/ListFormat/supportedLocalesOf). + * [MDN](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Intl/ListFormat/supportedLocalesOf). */ supportedLocalesOf(locales: LocalesArgument, options?: Pick): UnicodeBCP47LocaleIdentifier[]; }; diff --git a/node_modules/typescript/lib/lib.es2021.weakref.d.ts b/node_modules/typescript/lib/lib.es2021.weakref.d.ts index 48e76265a2..9e03365a20 100644 --- a/node_modules/typescript/lib/lib.es2021.weakref.d.ts +++ b/node_modules/typescript/lib/lib.es2021.weakref.d.ts @@ -16,6 +16,8 @@ and limitations under the License. /// +/// + interface WeakRef { readonly [Symbol.toStringTag]: "WeakRef"; diff --git a/node_modules/typescript/lib/lib.es2022.array.d.ts b/node_modules/typescript/lib/lib.es2022.array.d.ts index 621857ba08..6f4dc417a3 100644 --- a/node_modules/typescript/lib/lib.es2022.array.d.ts +++ b/node_modules/typescript/lib/lib.es2022.array.d.ts @@ -32,7 +32,7 @@ interface ReadonlyArray { at(index: number): T | undefined; } -interface Int8Array { +interface Int8Array { /** * Returns the item located at the specified index. * @param index The zero-based index of the desired code unit. A negative index will count back from the last item. @@ -40,7 +40,7 @@ interface Int8Array { at(index: number): number | undefined; } -interface Uint8Array { +interface Uint8Array { /** * Returns the item located at the specified index. * @param index The zero-based index of the desired code unit. A negative index will count back from the last item. @@ -48,7 +48,7 @@ interface Uint8Array { at(index: number): number | undefined; } -interface Uint8ClampedArray { +interface Uint8ClampedArray { /** * Returns the item located at the specified index. * @param index The zero-based index of the desired code unit. A negative index will count back from the last item. @@ -56,7 +56,7 @@ interface Uint8ClampedArray { at(index: number): number | undefined; } -interface Int16Array { +interface Int16Array { /** * Returns the item located at the specified index. * @param index The zero-based index of the desired code unit. A negative index will count back from the last item. @@ -64,7 +64,7 @@ interface Int16Array { at(index: number): number | undefined; } -interface Uint16Array { +interface Uint16Array { /** * Returns the item located at the specified index. * @param index The zero-based index of the desired code unit. A negative index will count back from the last item. @@ -72,7 +72,7 @@ interface Uint16Array { at(index: number): number | undefined; } -interface Int32Array { +interface Int32Array { /** * Returns the item located at the specified index. * @param index The zero-based index of the desired code unit. A negative index will count back from the last item. @@ -80,7 +80,7 @@ interface Int32Array { at(index: number): number | undefined; } -interface Uint32Array { +interface Uint32Array { /** * Returns the item located at the specified index. * @param index The zero-based index of the desired code unit. A negative index will count back from the last item. @@ -88,7 +88,7 @@ interface Uint32Array { at(index: number): number | undefined; } -interface Float32Array { +interface Float32Array { /** * Returns the item located at the specified index. * @param index The zero-based index of the desired code unit. A negative index will count back from the last item. @@ -96,7 +96,7 @@ interface Float32Array { at(index: number): number | undefined; } -interface Float64Array { +interface Float64Array { /** * Returns the item located at the specified index. * @param index The zero-based index of the desired code unit. A negative index will count back from the last item. @@ -104,7 +104,7 @@ interface Float64Array { at(index: number): number | undefined; } -interface BigInt64Array { +interface BigInt64Array { /** * Returns the item located at the specified index. * @param index The zero-based index of the desired code unit. A negative index will count back from the last item. @@ -112,7 +112,7 @@ interface BigInt64Array { at(index: number): bigint | undefined; } -interface BigUint64Array { +interface BigUint64Array { /** * Returns the item located at the specified index. * @param index The zero-based index of the desired code unit. A negative index will count back from the last item. diff --git a/node_modules/typescript/lib/lib.es2022.d.ts b/node_modules/typescript/lib/lib.es2022.d.ts index 2ae78aba3f..ca7cc91ac9 100644 --- a/node_modules/typescript/lib/lib.es2022.d.ts +++ b/node_modules/typescript/lib/lib.es2022.d.ts @@ -21,6 +21,5 @@ and limitations under the License. /// /// /// -/// -/// /// +/// diff --git a/node_modules/typescript/lib/lib.es2022.error.d.ts b/node_modules/typescript/lib/lib.es2022.error.d.ts index 782c485e7c..5e02521b42 100644 --- a/node_modules/typescript/lib/lib.es2022.error.d.ts +++ b/node_modules/typescript/lib/lib.es2022.error.d.ts @@ -16,6 +16,8 @@ and limitations under the License. /// +/// + interface ErrorOptions { cause?: unknown; } diff --git a/node_modules/typescript/lib/lib.es2022.intl.d.ts b/node_modules/typescript/lib/lib.es2022.intl.d.ts index cd8eb11408..3f4a2ca1e4 100644 --- a/node_modules/typescript/lib/lib.es2022.intl.d.ts +++ b/node_modules/typescript/lib/lib.es2022.intl.d.ts @@ -20,7 +20,7 @@ declare namespace Intl { /** * An object with some or all properties of the `Intl.Segmenter` constructor `options` parameter. * - * [MDN](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/Segmenter/Segmenter#parameters) + * [MDN](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Intl/Segmenter/Segmenter#parameters) */ interface SegmenterOptions { /** 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). */ @@ -84,14 +84,14 @@ declare namespace Intl { * * @param locales - A string with a [BCP 47 language tag](http://tools.ietf.org/html/rfc5646), or an array of such strings. * For the general form and interpretation of the `locales` argument, - * see the [`Intl` page](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl#Locale_identification_and_negotiation). + * see the [`Intl` page](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Intl#Locale_identification_and_negotiation). * - * @param options - An [object](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/Segmenter/Segmenter#parameters) + * @param options - An [object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Intl/Segmenter/Segmenter#parameters) * with some or all options of `SegmenterOptions`. * - * @returns [Intl.Segmenter](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/Segments) object. + * @returns [Intl.Segmenter](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Intl/Segments) object. * - * [MDN](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/Segmenter). + * [MDN](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Intl/Segmenter). */ new (locales?: LocalesArgument, options?: SegmenterOptions): Segmenter; @@ -100,19 +100,19 @@ declare namespace Intl { * * @param locales - A string with a [BCP 47 language tag](http://tools.ietf.org/html/rfc5646), or an array of such strings. * For the general form and interpretation of the `locales` argument, - * see the [`Intl` page](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl#Locale_identification_and_negotiation). + * see the [`Intl` page](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Intl#Locale_identification_and_negotiation). * - * @param options An [object](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/Segmenter/supportedLocalesOf#parameters). + * @param options An [object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Intl/Segmenter/supportedLocalesOf#parameters). * with some or all possible options. * - * [MDN](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/Segmenter/supportedLocalesOf) + * [MDN](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Intl/Segmenter/supportedLocalesOf) */ supportedLocalesOf(locales: LocalesArgument, options?: Pick): UnicodeBCP47LocaleIdentifier[]; }; /** * Returns a sorted array of the supported collation, calendar, currency, numbering system, timezones, and units by the implementation. - * [MDN](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/supportedValuesOf) + * [MDN](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Intl/supportedValuesOf) * * @param key A string indicating the category of values to return. * @returns A sorted array of the supported values. diff --git a/node_modules/typescript/lib/lib.es2023.array.d.ts b/node_modules/typescript/lib/lib.es2023.array.d.ts index 57362da53c..2fe8b55a0c 100644 --- a/node_modules/typescript/lib/lib.es2023.array.d.ts +++ b/node_modules/typescript/lib/lib.es2023.array.d.ts @@ -163,7 +163,7 @@ interface ReadonlyArray { with(index: number, value: T): T[]; } -interface Int8Array { +interface Int8Array { /** * Returns the value of the last element in the array where predicate is true, and undefined * otherwise. @@ -177,12 +177,12 @@ interface Int8Array { predicate: ( value: number, index: number, - array: Int8Array, + array: this, ) => value is S, thisArg?: any, ): S | undefined; findLast( - predicate: (value: number, index: number, array: Int8Array) => unknown, + predicate: (value: number, index: number, array: this) => unknown, thisArg?: any, ): number | undefined; @@ -196,14 +196,14 @@ interface Int8Array { * predicate. If it is not provided, undefined is used instead. */ findLastIndex( - predicate: (value: number, index: number, array: Int8Array) => unknown, + predicate: (value: number, index: number, array: this) => unknown, thisArg?: any, ): number; /** * Copies the array and returns the copy with the elements in reverse order. */ - toReversed(): Int8Array; + toReversed(): Int8Array; /** * Copies and sorts the array. @@ -211,11 +211,11 @@ interface Int8Array { * a negative value if the first argument is less than the second argument, zero if they're equal, and a positive * value otherwise. If omitted, the elements are sorted in ascending order. * ```ts - * const myNums = Int8Array.from([11, 2, 22, 1]); - * myNums.toSorted((a, b) => a - b) // Int8Array(4) [1, 2, 11, 22] + * const myNums = Int8Array.from([11, 2, 22, 1]); + * myNums.toSorted((a, b) => a - b) // Int8Array(4) [1, 2, 11, 22] * ``` */ - toSorted(compareFn?: (a: number, b: number) => number): Int8Array; + toSorted(compareFn?: (a: number, b: number) => number): Int8Array; /** * Copies the array and inserts the given number at the provided index. @@ -224,10 +224,10 @@ interface Int8Array { * @param value The value to insert into the copied array. * @returns A copy of the original array with the inserted value. */ - with(index: number, value: number): Int8Array; + with(index: number, value: number): Int8Array; } -interface Uint8Array { +interface Uint8Array { /** * Returns the value of the last element in the array where predicate is true, and undefined * otherwise. @@ -241,12 +241,12 @@ interface Uint8Array { predicate: ( value: number, index: number, - array: Uint8Array, + array: this, ) => value is S, thisArg?: any, ): S | undefined; findLast( - predicate: (value: number, index: number, array: Uint8Array) => unknown, + predicate: (value: number, index: number, array: this) => unknown, thisArg?: any, ): number | undefined; @@ -260,14 +260,14 @@ interface Uint8Array { * predicate. If it is not provided, undefined is used instead. */ findLastIndex( - predicate: (value: number, index: number, array: Uint8Array) => unknown, + predicate: (value: number, index: number, array: this) => unknown, thisArg?: any, ): number; /** * Copies the array and returns the copy with the elements in reverse order. */ - toReversed(): Uint8Array; + toReversed(): Uint8Array; /** * Copies and sorts the array. @@ -275,11 +275,11 @@ interface Uint8Array { * a negative value if the first argument is less than the second argument, zero if they're equal, and a positive * value otherwise. If omitted, the elements are sorted in ascending order. * ```ts - * const myNums = Uint8Array.from([11, 2, 22, 1]); - * myNums.toSorted((a, b) => a - b) // Uint8Array(4) [1, 2, 11, 22] + * const myNums = Uint8Array.from([11, 2, 22, 1]); + * myNums.toSorted((a, b) => a - b) // Uint8Array(4) [1, 2, 11, 22] * ``` */ - toSorted(compareFn?: (a: number, b: number) => number): Uint8Array; + toSorted(compareFn?: (a: number, b: number) => number): Uint8Array; /** * Copies the array and inserts the given number at the provided index. @@ -288,10 +288,10 @@ interface Uint8Array { * @param value The value to insert into the copied array. * @returns A copy of the original array with the inserted value. */ - with(index: number, value: number): Uint8Array; + with(index: number, value: number): Uint8Array; } -interface Uint8ClampedArray { +interface Uint8ClampedArray { /** * Returns the value of the last element in the array where predicate is true, and undefined * otherwise. @@ -305,7 +305,7 @@ interface Uint8ClampedArray { predicate: ( value: number, index: number, - array: Uint8ClampedArray, + array: this, ) => value is S, thisArg?: any, ): S | undefined; @@ -313,7 +313,7 @@ interface Uint8ClampedArray { predicate: ( value: number, index: number, - array: Uint8ClampedArray, + array: this, ) => unknown, thisArg?: any, ): number | undefined; @@ -331,7 +331,7 @@ interface Uint8ClampedArray { predicate: ( value: number, index: number, - array: Uint8ClampedArray, + array: this, ) => unknown, thisArg?: any, ): number; @@ -339,7 +339,7 @@ interface Uint8ClampedArray { /** * Copies the array and returns the copy with the elements in reverse order. */ - toReversed(): Uint8ClampedArray; + toReversed(): Uint8ClampedArray; /** * Copies and sorts the array. @@ -347,11 +347,11 @@ interface Uint8ClampedArray { * a negative value if the first argument is less than the second argument, zero if they're equal, and a positive * value otherwise. If omitted, the elements are sorted in ascending order. * ```ts - * const myNums = Uint8ClampedArray.from([11, 2, 22, 1]); - * myNums.toSorted((a, b) => a - b) // Uint8ClampedArray(4) [1, 2, 11, 22] + * const myNums = Uint8ClampedArray.from([11, 2, 22, 1]); + * myNums.toSorted((a, b) => a - b) // Uint8ClampedArray(4) [1, 2, 11, 22] * ``` */ - toSorted(compareFn?: (a: number, b: number) => number): Uint8ClampedArray; + toSorted(compareFn?: (a: number, b: number) => number): Uint8ClampedArray; /** * Copies the array and inserts the given number at the provided index. @@ -360,10 +360,10 @@ interface Uint8ClampedArray { * @param value The value to insert into the copied array. * @returns A copy of the original array with the inserted value. */ - with(index: number, value: number): Uint8ClampedArray; + with(index: number, value: number): Uint8ClampedArray; } -interface Int16Array { +interface Int16Array { /** * Returns the value of the last element in the array where predicate is true, and undefined * otherwise. @@ -377,12 +377,12 @@ interface Int16Array { predicate: ( value: number, index: number, - array: Int16Array, + array: this, ) => value is S, thisArg?: any, ): S | undefined; findLast( - predicate: (value: number, index: number, array: Int16Array) => unknown, + predicate: (value: number, index: number, array: this) => unknown, thisArg?: any, ): number | undefined; @@ -396,14 +396,14 @@ interface Int16Array { * predicate. If it is not provided, undefined is used instead. */ findLastIndex( - predicate: (value: number, index: number, array: Int16Array) => unknown, + predicate: (value: number, index: number, array: this) => unknown, thisArg?: any, ): number; /** * Copies the array and returns the copy with the elements in reverse order. */ - toReversed(): Int16Array; + toReversed(): Int16Array; /** * Copies and sorts the array. @@ -411,11 +411,11 @@ interface Int16Array { * a negative value if the first argument is less than the second argument, zero if they're equal, and a positive * value otherwise. If omitted, the elements are sorted in ascending order. * ```ts - * const myNums = Int16Array.from([11, 2, -22, 1]); - * myNums.toSorted((a, b) => a - b) // Int16Array(4) [-22, 1, 2, 11] + * const myNums = Int16Array.from([11, 2, -22, 1]); + * myNums.toSorted((a, b) => a - b) // Int16Array(4) [-22, 1, 2, 11] * ``` */ - toSorted(compareFn?: (a: number, b: number) => number): Int16Array; + toSorted(compareFn?: (a: number, b: number) => number): Int16Array; /** * Copies the array and inserts the given number at the provided index. @@ -424,10 +424,10 @@ interface Int16Array { * @param value The value to insert into the copied array. * @returns A copy of the original array with the inserted value. */ - with(index: number, value: number): Int16Array; + with(index: number, value: number): Int16Array; } -interface Uint16Array { +interface Uint16Array { /** * Returns the value of the last element in the array where predicate is true, and undefined * otherwise. @@ -441,7 +441,7 @@ interface Uint16Array { predicate: ( value: number, index: number, - array: Uint16Array, + array: this, ) => value is S, thisArg?: any, ): S | undefined; @@ -449,7 +449,7 @@ interface Uint16Array { predicate: ( value: number, index: number, - array: Uint16Array, + array: this, ) => unknown, thisArg?: any, ): number | undefined; @@ -467,7 +467,7 @@ interface Uint16Array { predicate: ( value: number, index: number, - array: Uint16Array, + array: this, ) => unknown, thisArg?: any, ): number; @@ -475,7 +475,7 @@ interface Uint16Array { /** * Copies the array and returns the copy with the elements in reverse order. */ - toReversed(): Uint16Array; + toReversed(): Uint16Array; /** * Copies and sorts the array. @@ -483,11 +483,11 @@ interface Uint16Array { * a negative value if the first argument is less than the second argument, zero if they're equal, and a positive * value otherwise. If omitted, the elements are sorted in ascending order. * ```ts - * const myNums = Uint16Array.from([11, 2, 22, 1]); - * myNums.toSorted((a, b) => a - b) // Uint16Array(4) [1, 2, 11, 22] + * const myNums = Uint16Array.from([11, 2, 22, 1]); + * myNums.toSorted((a, b) => a - b) // Uint16Array(4) [1, 2, 11, 22] * ``` */ - toSorted(compareFn?: (a: number, b: number) => number): Uint16Array; + toSorted(compareFn?: (a: number, b: number) => number): Uint16Array; /** * Copies the array and inserts the given number at the provided index. @@ -496,10 +496,10 @@ interface Uint16Array { * @param value The value to insert into the copied array. * @returns A copy of the original array with the inserted value. */ - with(index: number, value: number): Uint16Array; + with(index: number, value: number): Uint16Array; } -interface Int32Array { +interface Int32Array { /** * Returns the value of the last element in the array where predicate is true, and undefined * otherwise. @@ -513,12 +513,12 @@ interface Int32Array { predicate: ( value: number, index: number, - array: Int32Array, + array: this, ) => value is S, thisArg?: any, ): S | undefined; findLast( - predicate: (value: number, index: number, array: Int32Array) => unknown, + predicate: (value: number, index: number, array: this) => unknown, thisArg?: any, ): number | undefined; @@ -532,14 +532,14 @@ interface Int32Array { * predicate. If it is not provided, undefined is used instead. */ findLastIndex( - predicate: (value: number, index: number, array: Int32Array) => unknown, + predicate: (value: number, index: number, array: this) => unknown, thisArg?: any, ): number; /** * Copies the array and returns the copy with the elements in reverse order. */ - toReversed(): Int32Array; + toReversed(): Int32Array; /** * Copies and sorts the array. @@ -547,11 +547,11 @@ interface Int32Array { * a negative value if the first argument is less than the second argument, zero if they're equal, and a positive * value otherwise. If omitted, the elements are sorted in ascending order. * ```ts - * const myNums = Int32Array.from([11, 2, -22, 1]); - * myNums.toSorted((a, b) => a - b) // Int32Array(4) [-22, 1, 2, 11] + * const myNums = Int32Array.from([11, 2, -22, 1]); + * myNums.toSorted((a, b) => a - b) // Int32Array(4) [-22, 1, 2, 11] * ``` */ - toSorted(compareFn?: (a: number, b: number) => number): Int32Array; + toSorted(compareFn?: (a: number, b: number) => number): Int32Array; /** * Copies the array and inserts the given number at the provided index. @@ -560,10 +560,10 @@ interface Int32Array { * @param value The value to insert into the copied array. * @returns A copy of the original array with the inserted value. */ - with(index: number, value: number): Int32Array; + with(index: number, value: number): Int32Array; } -interface Uint32Array { +interface Uint32Array { /** * Returns the value of the last element in the array where predicate is true, and undefined * otherwise. @@ -577,7 +577,7 @@ interface Uint32Array { predicate: ( value: number, index: number, - array: Uint32Array, + array: this, ) => value is S, thisArg?: any, ): S | undefined; @@ -585,7 +585,7 @@ interface Uint32Array { predicate: ( value: number, index: number, - array: Uint32Array, + array: this, ) => unknown, thisArg?: any, ): number | undefined; @@ -603,7 +603,7 @@ interface Uint32Array { predicate: ( value: number, index: number, - array: Uint32Array, + array: this, ) => unknown, thisArg?: any, ): number; @@ -611,7 +611,7 @@ interface Uint32Array { /** * Copies the array and returns the copy with the elements in reverse order. */ - toReversed(): Uint32Array; + toReversed(): Uint32Array; /** * Copies and sorts the array. @@ -619,11 +619,11 @@ interface Uint32Array { * a negative value if the first argument is less than the second argument, zero if they're equal, and a positive * value otherwise. If omitted, the elements are sorted in ascending order. * ```ts - * const myNums = Uint32Array.from([11, 2, 22, 1]); - * myNums.toSorted((a, b) => a - b) // Uint32Array(4) [1, 2, 11, 22] + * const myNums = Uint32Array.from([11, 2, 22, 1]); + * myNums.toSorted((a, b) => a - b) // Uint32Array(4) [1, 2, 11, 22] * ``` */ - toSorted(compareFn?: (a: number, b: number) => number): Uint32Array; + toSorted(compareFn?: (a: number, b: number) => number): Uint32Array; /** * Copies the array and inserts the given number at the provided index. @@ -632,10 +632,10 @@ interface Uint32Array { * @param value The value to insert into the copied array. * @returns A copy of the original array with the inserted value. */ - with(index: number, value: number): Uint32Array; + with(index: number, value: number): Uint32Array; } -interface Float32Array { +interface Float32Array { /** * Returns the value of the last element in the array where predicate is true, and undefined * otherwise. @@ -649,7 +649,7 @@ interface Float32Array { predicate: ( value: number, index: number, - array: Float32Array, + array: this, ) => value is S, thisArg?: any, ): S | undefined; @@ -657,7 +657,7 @@ interface Float32Array { predicate: ( value: number, index: number, - array: Float32Array, + array: this, ) => unknown, thisArg?: any, ): number | undefined; @@ -675,7 +675,7 @@ interface Float32Array { predicate: ( value: number, index: number, - array: Float32Array, + array: this, ) => unknown, thisArg?: any, ): number; @@ -683,7 +683,7 @@ interface Float32Array { /** * Copies the array and returns the copy with the elements in reverse order. */ - toReversed(): Float32Array; + toReversed(): Float32Array; /** * Copies and sorts the array. @@ -691,11 +691,11 @@ interface Float32Array { * a negative value if the first argument is less than the second argument, zero if they're equal, and a positive * value otherwise. If omitted, the elements are sorted in ascending order. * ```ts - * const myNums = Float32Array.from([11.25, 2, -22.5, 1]); - * myNums.toSorted((a, b) => a - b) // Float32Array(4) [-22.5, 1, 2, 11.5] + * const myNums = Float32Array.from([11.25, 2, -22.5, 1]); + * myNums.toSorted((a, b) => a - b) // Float32Array(4) [-22.5, 1, 2, 11.5] * ``` */ - toSorted(compareFn?: (a: number, b: number) => number): Float32Array; + toSorted(compareFn?: (a: number, b: number) => number): Float32Array; /** * Copies the array and inserts the given number at the provided index. @@ -704,10 +704,10 @@ interface Float32Array { * @param value The value to insert into the copied array. * @returns A copy of the original array with the inserted value. */ - with(index: number, value: number): Float32Array; + with(index: number, value: number): Float32Array; } -interface Float64Array { +interface Float64Array { /** * Returns the value of the last element in the array where predicate is true, and undefined * otherwise. @@ -721,7 +721,7 @@ interface Float64Array { predicate: ( value: number, index: number, - array: Float64Array, + array: this, ) => value is S, thisArg?: any, ): S | undefined; @@ -729,7 +729,7 @@ interface Float64Array { predicate: ( value: number, index: number, - array: Float64Array, + array: this, ) => unknown, thisArg?: any, ): number | undefined; @@ -747,7 +747,7 @@ interface Float64Array { predicate: ( value: number, index: number, - array: Float64Array, + array: this, ) => unknown, thisArg?: any, ): number; @@ -755,7 +755,7 @@ interface Float64Array { /** * Copies the array and returns the copy with the elements in reverse order. */ - toReversed(): Float64Array; + toReversed(): Float64Array; /** * Copies and sorts the array. @@ -763,11 +763,11 @@ interface Float64Array { * a negative value if the first argument is less than the second argument, zero if they're equal, and a positive * value otherwise. If omitted, the elements are sorted in ascending order. * ```ts - * const myNums = Float64Array.from([11.25, 2, -22.5, 1]); - * myNums.toSorted((a, b) => a - b) // Float64Array(4) [-22.5, 1, 2, 11.5] + * const myNums = Float64Array.from([11.25, 2, -22.5, 1]); + * myNums.toSorted((a, b) => a - b) // Float64Array(4) [-22.5, 1, 2, 11.5] * ``` */ - toSorted(compareFn?: (a: number, b: number) => number): Float64Array; + toSorted(compareFn?: (a: number, b: number) => number): Float64Array; /** * Copies the array and inserts the given number at the provided index. @@ -776,10 +776,10 @@ interface Float64Array { * @param value The value to insert into the copied array. * @returns A copy of the original array with the inserted value. */ - with(index: number, value: number): Float64Array; + with(index: number, value: number): Float64Array; } -interface BigInt64Array { +interface BigInt64Array { /** * Returns the value of the last element in the array where predicate is true, and undefined * otherwise. @@ -793,7 +793,7 @@ interface BigInt64Array { predicate: ( value: bigint, index: number, - array: BigInt64Array, + array: this, ) => value is S, thisArg?: any, ): S | undefined; @@ -801,7 +801,7 @@ interface BigInt64Array { predicate: ( value: bigint, index: number, - array: BigInt64Array, + array: this, ) => unknown, thisArg?: any, ): bigint | undefined; @@ -819,7 +819,7 @@ interface BigInt64Array { predicate: ( value: bigint, index: number, - array: BigInt64Array, + array: this, ) => unknown, thisArg?: any, ): number; @@ -827,7 +827,7 @@ interface BigInt64Array { /** * Copies the array and returns the copy with the elements in reverse order. */ - toReversed(): BigInt64Array; + toReversed(): BigInt64Array; /** * Copies and sorts the array. @@ -835,11 +835,11 @@ interface BigInt64Array { * a negative value if the first argument is less than the second argument, zero if they're equal, and a positive * value otherwise. If omitted, the elements are sorted in ascending order. * ```ts - * const myNums = BigInt64Array.from([11n, 2n, -22n, 1n]); - * myNums.toSorted((a, b) => Number(a - b)) // BigInt64Array(4) [-22n, 1n, 2n, 11n] + * const myNums = BigInt64Array.from([11n, 2n, -22n, 1n]); + * myNums.toSorted((a, b) => Number(a - b)) // BigInt64Array(4) [-22n, 1n, 2n, 11n] * ``` */ - toSorted(compareFn?: (a: bigint, b: bigint) => number): BigInt64Array; + toSorted(compareFn?: (a: bigint, b: bigint) => number): BigInt64Array; /** * Copies the array and inserts the given bigint at the provided index. @@ -848,10 +848,10 @@ interface BigInt64Array { * @param value The value to insert into the copied array. * @returns A copy of the original array with the inserted value. */ - with(index: number, value: bigint): BigInt64Array; + with(index: number, value: bigint): BigInt64Array; } -interface BigUint64Array { +interface BigUint64Array { /** * Returns the value of the last element in the array where predicate is true, and undefined * otherwise. @@ -865,7 +865,7 @@ interface BigUint64Array { predicate: ( value: bigint, index: number, - array: BigUint64Array, + array: this, ) => value is S, thisArg?: any, ): S | undefined; @@ -873,7 +873,7 @@ interface BigUint64Array { predicate: ( value: bigint, index: number, - array: BigUint64Array, + array: this, ) => unknown, thisArg?: any, ): bigint | undefined; @@ -891,7 +891,7 @@ interface BigUint64Array { predicate: ( value: bigint, index: number, - array: BigUint64Array, + array: this, ) => unknown, thisArg?: any, ): number; @@ -899,7 +899,7 @@ interface BigUint64Array { /** * Copies the array and returns the copy with the elements in reverse order. */ - toReversed(): BigUint64Array; + toReversed(): BigUint64Array; /** * Copies and sorts the array. @@ -907,11 +907,11 @@ interface BigUint64Array { * a negative value if the first argument is less than the second argument, zero if they're equal, and a positive * value otherwise. If omitted, the elements are sorted in ascending order. * ```ts - * const myNums = BigUint64Array.from([11n, 2n, 22n, 1n]); - * myNums.toSorted((a, b) => Number(a - b)) // BigUint64Array(4) [1n, 2n, 11n, 22n] + * const myNums = BigUint64Array.from([11n, 2n, 22n, 1n]); + * myNums.toSorted((a, b) => Number(a - b)) // BigUint64Array(4) [1n, 2n, 11n, 22n] * ``` */ - toSorted(compareFn?: (a: bigint, b: bigint) => number): BigUint64Array; + toSorted(compareFn?: (a: bigint, b: bigint) => number): BigUint64Array; /** * Copies the array and inserts the given bigint at the provided index. @@ -920,5 +920,5 @@ interface BigUint64Array { * @param value The value to insert into the copied array. * @returns A copy of the original array with the inserted value. */ - with(index: number, value: bigint): BigUint64Array; + with(index: number, value: bigint): BigUint64Array; } diff --git a/node_modules/typescript/lib/lib.es2024.arraybuffer.d.ts b/node_modules/typescript/lib/lib.es2024.arraybuffer.d.ts new file mode 100644 index 0000000000..2a5623d90c --- /dev/null +++ b/node_modules/typescript/lib/lib.es2024.arraybuffer.d.ts @@ -0,0 +1,65 @@ +/*! ***************************************************************************** +Copyright (c) Microsoft Corporation. All rights reserved. +Licensed under the Apache License, Version 2.0 (the "License"); you may not use +this file except in compliance with the License. You may obtain a copy of the +License at http://www.apache.org/licenses/LICENSE-2.0 + +THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED +WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE, +MERCHANTABLITY OR NON-INFRINGEMENT. + +See the Apache Version 2.0 License for specific language governing permissions +and limitations under the License. +***************************************************************************** */ + + +/// + +interface ArrayBuffer { + /** + * If this ArrayBuffer is resizable, returns the maximum byte length given during construction; returns the byte length if not. + * + * [MDN](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/ArrayBuffer/maxByteLength) + */ + get maxByteLength(): number; + + /** + * Returns true if this ArrayBuffer can be resized. + * + * [MDN](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/ArrayBuffer/resizable) + */ + get resizable(): boolean; + + /** + * Resizes the ArrayBuffer to the specified size (in bytes). + * + * [MDN](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/ArrayBuffer/resize) + */ + resize(newByteLength?: number): void; + + /** + * Returns a boolean indicating whether or not this buffer has been detached (transferred). + * + * [MDN](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/ArrayBuffer/detached) + */ + get detached(): boolean; + + /** + * Creates a new ArrayBuffer with the same byte content as this buffer, then detaches this buffer. + * + * [MDN](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/ArrayBuffer/transfer) + */ + transfer(newByteLength?: number): ArrayBuffer; + + /** + * Creates a new non-resizable ArrayBuffer with the same byte content as this buffer, then detaches this buffer. + * + * [MDN](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/ArrayBuffer/transferToFixedLength) + */ + transferToFixedLength(newByteLength?: number): ArrayBuffer; +} + +interface ArrayBufferConstructor { + new (byteLength: number, options?: { maxByteLength?: number; }): ArrayBuffer; +} diff --git a/node_modules/typescript/lib/lib.es2024.collection.d.ts b/node_modules/typescript/lib/lib.es2024.collection.d.ts new file mode 100644 index 0000000000..a48fd93d5f --- /dev/null +++ b/node_modules/typescript/lib/lib.es2024.collection.d.ts @@ -0,0 +1,29 @@ +/*! ***************************************************************************** +Copyright (c) Microsoft Corporation. All rights reserved. +Licensed under the Apache License, Version 2.0 (the "License"); you may not use +this file except in compliance with the License. You may obtain a copy of the +License at http://www.apache.org/licenses/LICENSE-2.0 + +THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED +WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE, +MERCHANTABLITY OR NON-INFRINGEMENT. + +See the Apache Version 2.0 License for specific language governing permissions +and limitations under the License. +***************************************************************************** */ + + +/// + +interface MapConstructor { + /** + * Groups members of an iterable according to the return value of the passed callback. + * @param items An iterable. + * @param keySelector A callback which will be invoked for each item in items. + */ + groupBy( + items: Iterable, + keySelector: (item: T, index: number) => K, + ): Map; +} diff --git a/node_modules/typescript/lib/lib.es2024.d.ts b/node_modules/typescript/lib/lib.es2024.d.ts new file mode 100644 index 0000000000..44311afb00 --- /dev/null +++ b/node_modules/typescript/lib/lib.es2024.d.ts @@ -0,0 +1,26 @@ +/*! ***************************************************************************** +Copyright (c) Microsoft Corporation. All rights reserved. +Licensed under the Apache License, Version 2.0 (the "License"); you may not use +this file except in compliance with the License. You may obtain a copy of the +License at http://www.apache.org/licenses/LICENSE-2.0 + +THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED +WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE, +MERCHANTABLITY OR NON-INFRINGEMENT. + +See the Apache Version 2.0 License for specific language governing permissions +and limitations under the License. +***************************************************************************** */ + + +/// + +/// +/// +/// +/// +/// +/// +/// +/// diff --git a/node_modules/typescript/lib/lib.es2024.full.d.ts b/node_modules/typescript/lib/lib.es2024.full.d.ts new file mode 100644 index 0000000000..b8c6e74867 --- /dev/null +++ b/node_modules/typescript/lib/lib.es2024.full.d.ts @@ -0,0 +1,24 @@ +/*! ***************************************************************************** +Copyright (c) Microsoft Corporation. All rights reserved. +Licensed under the Apache License, Version 2.0 (the "License"); you may not use +this file except in compliance with the License. You may obtain a copy of the +License at http://www.apache.org/licenses/LICENSE-2.0 + +THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED +WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE, +MERCHANTABLITY OR NON-INFRINGEMENT. + +See the Apache Version 2.0 License for specific language governing permissions +and limitations under the License. +***************************************************************************** */ + + +/// + +/// +/// +/// +/// +/// +/// diff --git a/node_modules/typescript/lib/lib.esnext.object.d.ts b/node_modules/typescript/lib/lib.es2024.object.d.ts similarity index 100% rename from node_modules/typescript/lib/lib.esnext.object.d.ts rename to node_modules/typescript/lib/lib.es2024.object.d.ts diff --git a/node_modules/typescript/lib/lib.esnext.promise.d.ts b/node_modules/typescript/lib/lib.es2024.promise.d.ts similarity index 100% rename from node_modules/typescript/lib/lib.esnext.promise.d.ts rename to node_modules/typescript/lib/lib.es2024.promise.d.ts diff --git a/node_modules/typescript/lib/lib.esnext.regexp.d.ts b/node_modules/typescript/lib/lib.es2024.regexp.d.ts similarity index 100% rename from node_modules/typescript/lib/lib.esnext.regexp.d.ts rename to node_modules/typescript/lib/lib.es2024.regexp.d.ts diff --git a/node_modules/typescript/lib/lib.es2022.sharedmemory.d.ts b/node_modules/typescript/lib/lib.es2024.sharedmemory.d.ts similarity index 67% rename from node_modules/typescript/lib/lib.es2022.sharedmemory.d.ts rename to node_modules/typescript/lib/lib.es2024.sharedmemory.d.ts index ea67b0081b..2c3cf94aca 100644 --- a/node_modules/typescript/lib/lib.es2022.sharedmemory.d.ts +++ b/node_modules/typescript/lib/lib.es2024.sharedmemory.d.ts @@ -16,6 +16,8 @@ and limitations under the License. /// +/// + interface Atomics { /** * A non-blocking, asynchronous version of wait which is usable on the main thread. @@ -37,3 +39,30 @@ interface Atomics { */ waitAsync(typedArray: BigInt64Array, index: number, value: bigint, timeout?: number): { async: false; value: "not-equal" | "timed-out"; } | { async: true; value: Promise<"ok" | "timed-out">; }; } + +interface SharedArrayBuffer { + /** + * Returns true if this SharedArrayBuffer can be grown. + * + * [MDN](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/SharedArrayBuffer/growable) + */ + get growable(): boolean; + + /** + * If this SharedArrayBuffer is growable, returns the maximum byte length given during construction; returns the byte length if not. + * + * [MDN](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/SharedArrayBuffer/maxByteLength) + */ + get maxByteLength(): number; + + /** + * Grows the SharedArrayBuffer to the specified size (in bytes). + * + * [MDN](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/SharedArrayBuffer/grow) + */ + grow(newByteLength?: number): void; +} + +interface SharedArrayBufferConstructor { + new (byteLength: number, options?: { maxByteLength?: number; }): SharedArrayBuffer; +} diff --git a/node_modules/typescript/lib/lib.esnext.string.d.ts b/node_modules/typescript/lib/lib.es2024.string.d.ts similarity index 100% rename from node_modules/typescript/lib/lib.esnext.string.d.ts rename to node_modules/typescript/lib/lib.es2024.string.d.ts diff --git a/node_modules/typescript/lib/lib.es5.d.ts b/node_modules/typescript/lib/lib.es5.d.ts index eab21a79ff..f0ff2f8656 100644 --- a/node_modules/typescript/lib/lib.es5.d.ts +++ b/node_modules/typescript/lib/lib.es5.d.ts @@ -1701,7 +1701,7 @@ interface ArrayBuffer { /** * Returns a section of an ArrayBuffer. */ - slice(begin: number, end?: number): ArrayBuffer; + slice(begin?: number, end?: number): ArrayBuffer; } /** @@ -1719,25 +1719,25 @@ interface ArrayBufferConstructor { } declare var ArrayBuffer: ArrayBufferConstructor; -interface ArrayBufferView { +interface ArrayBufferView { /** * The ArrayBuffer instance referenced by the array. */ - buffer: ArrayBufferLike; + readonly buffer: TArrayBuffer; /** * The length in bytes of the array. */ - byteLength: number; + readonly byteLength: number; /** * The offset in bytes of the array. */ - byteOffset: number; + readonly byteOffset: number; } -interface DataView { - readonly buffer: ArrayBuffer; +interface DataView { + readonly buffer: TArrayBuffer; readonly byteLength: number; readonly byteOffset: number; /** @@ -1863,10 +1863,9 @@ interface DataView { */ setUint32(byteOffset: number, value: number, littleEndian?: boolean): void; } - interface DataViewConstructor { - readonly prototype: DataView; - new (buffer: ArrayBufferLike & { BYTES_PER_ELEMENT?: never; }, byteOffset?: number, byteLength?: number): DataView; + readonly prototype: DataView; + new (buffer: TArrayBuffer, byteOffset?: number, byteLength?: number): DataView; } declare var DataView: DataViewConstructor; @@ -1874,7 +1873,7 @@ declare var DataView: DataViewConstructor; * A typed array of 8-bit integer values. The contents are initialized to 0. If the requested * number of bytes could not be allocated an exception is raised. */ -interface Int8Array { +interface Int8Array { /** * The size in bytes of each element in the array. */ @@ -1883,7 +1882,7 @@ interface Int8Array { /** * The ArrayBuffer instance referenced by the array. */ - readonly buffer: ArrayBufferLike; + readonly buffer: TArrayBuffer; /** * The length in bytes of the array. @@ -1914,7 +1913,7 @@ interface Int8Array { * @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. */ - every(predicate: (value: number, index: number, array: Int8Array) => unknown, thisArg?: any): boolean; + every(predicate: (value: number, index: number, array: this) => unknown, thisArg?: any): boolean; /** * Changes all array elements from `start` to `end` index to a static `value` and returns the modified array @@ -1933,7 +1932,7 @@ interface Int8Array { * @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. */ - filter(predicate: (value: number, index: number, array: Int8Array) => any, thisArg?: any): Int8Array; + filter(predicate: (value: number, index: number, array: this) => any, thisArg?: any): Int8Array; /** * Returns the value of the first element in the array where predicate is true, and undefined @@ -1944,7 +1943,7 @@ interface Int8Array { * @param thisArg If provided, it will be used as the this value for each invocation of * predicate. If it is not provided, undefined is used instead. */ - find(predicate: (value: number, index: number, obj: Int8Array) => boolean, thisArg?: any): number | undefined; + find(predicate: (value: number, index: number, obj: this) => boolean, thisArg?: any): number | undefined; /** * Returns the index of the first element in the array where predicate is true, and -1 @@ -1955,7 +1954,7 @@ interface Int8Array { * @param thisArg If provided, it will be used as the this value for each invocation of * predicate. If it is not provided, undefined is used instead. */ - findIndex(predicate: (value: number, index: number, obj: Int8Array) => boolean, thisArg?: any): number; + findIndex(predicate: (value: number, index: number, obj: this) => boolean, thisArg?: any): number; /** * Performs the specified action for each element in an array. @@ -1964,7 +1963,7 @@ interface Int8Array { * @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. */ - forEach(callbackfn: (value: number, index: number, array: Int8Array) => void, thisArg?: any): void; + forEach(callbackfn: (value: number, index: number, array: this) => void, thisArg?: any): void; /** * Returns the index of the first occurrence of a value in an array. @@ -2002,7 +2001,7 @@ interface Int8Array { * @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. */ - map(callbackfn: (value: number, index: number, array: Int8Array) => number, thisArg?: any): Int8Array; + map(callbackfn: (value: number, index: number, array: this) => number, thisArg?: any): Int8Array; /** * Calls the specified callback function for all the elements in an array. The return value of @@ -2014,8 +2013,8 @@ interface Int8Array { * the accumulation. The first call to the callbackfn function provides this value as an argument * instead of an array value. */ - reduce(callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: Int8Array) => number): number; - reduce(callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: Int8Array) => number, initialValue: number): number; + reduce(callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: this) => number): number; + reduce(callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: this) => number, initialValue: number): number; /** * Calls the specified callback function for all the elements in an array. The return value of @@ -2027,7 +2026,7 @@ interface Int8Array { * the accumulation. The first call to the callbackfn function provides this value as an argument * instead of an array value. */ - reduce(callbackfn: (previousValue: U, currentValue: number, currentIndex: number, array: Int8Array) => U, initialValue: U): U; + reduce(callbackfn: (previousValue: U, currentValue: number, currentIndex: number, array: this) => U, initialValue: U): U; /** * Calls the specified callback function for all the elements in an array, in descending order. @@ -2039,8 +2038,8 @@ interface Int8Array { * the accumulation. The first call to the callbackfn function provides this value as an * argument instead of an array value. */ - reduceRight(callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: Int8Array) => number): number; - reduceRight(callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: Int8Array) => number, initialValue: number): number; + reduceRight(callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: this) => number): number; + reduceRight(callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: this) => number, initialValue: number): number; /** * Calls the specified callback function for all the elements in an array, in descending order. @@ -2052,12 +2051,12 @@ interface Int8Array { * the accumulation. The first call to the callbackfn function provides this value as an argument * instead of an array value. */ - reduceRight(callbackfn: (previousValue: U, currentValue: number, currentIndex: number, array: Int8Array) => U, initialValue: U): U; + reduceRight(callbackfn: (previousValue: U, currentValue: number, currentIndex: number, array: this) => U, initialValue: U): U; /** * Reverses the elements in an Array. */ - reverse(): Int8Array; + reverse(): this; /** * Sets a value or an array of values. @@ -2071,7 +2070,7 @@ interface Int8Array { * @param start The beginning of the specified portion of the array. * @param end The end of the specified portion of the array. This is exclusive of the element at the index 'end'. */ - slice(start?: number, end?: number): Int8Array; + slice(start?: number, end?: number): Int8Array; /** * Determines whether the specified callback function returns true for any element of an array. @@ -2081,7 +2080,7 @@ interface Int8Array { * @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. */ - some(predicate: (value: number, index: number, array: Int8Array) => unknown, thisArg?: any): boolean; + some(predicate: (value: number, index: number, array: this) => unknown, thisArg?: any): boolean; /** * Sorts an array. @@ -2100,7 +2099,7 @@ interface Int8Array { * @param begin The index of the beginning of the array. * @param end The index of the end of the array. */ - subarray(begin?: number, end?: number): Int8Array; + subarray(begin?: number, end?: number): Int8Array; /** * Converts a number to a string by using the current locale. @@ -2113,15 +2112,16 @@ interface Int8Array { toString(): string; /** Returns the primitive value of the specified object. */ - valueOf(): Int8Array; + valueOf(): this; [index: number]: number; } interface Int8ArrayConstructor { - readonly prototype: Int8Array; - new (length: number): Int8Array; - new (array: ArrayLike | ArrayBufferLike): Int8Array; - new (buffer: ArrayBufferLike, byteOffset?: number, length?: number): Int8Array; + readonly prototype: Int8Array; + new (length: number): Int8Array; + new (array: ArrayLike): Int8Array; + new (buffer: TArrayBuffer, byteOffset?: number, length?: number): Int8Array; + new (array: ArrayLike | ArrayBuffer): Int8Array; /** * The size in bytes of each element in the array. @@ -2132,13 +2132,13 @@ interface Int8ArrayConstructor { * Returns a new array from a set of elements. * @param items A set of elements to include in the new array object. */ - of(...items: number[]): Int8Array; + of(...items: number[]): Int8Array; /** * Creates an array from an array-like or iterable object. * @param arrayLike An array-like or iterable object to convert to an array. */ - from(arrayLike: ArrayLike): Int8Array; + from(arrayLike: ArrayLike): Int8Array; /** * Creates an array from an array-like or iterable object. @@ -2146,7 +2146,7 @@ interface Int8ArrayConstructor { * @param mapfn A mapping function to call on every element of the array. * @param thisArg Value of 'this' used to invoke the mapfn. */ - from(arrayLike: ArrayLike, mapfn: (v: T, k: number) => number, thisArg?: any): Int8Array; + from(arrayLike: ArrayLike, mapfn: (v: T, k: number) => number, thisArg?: any): Int8Array; } declare var Int8Array: Int8ArrayConstructor; @@ -2154,7 +2154,7 @@ declare var Int8Array: Int8ArrayConstructor; * A typed array of 8-bit unsigned integer values. The contents are initialized to 0. If the * requested number of bytes could not be allocated an exception is raised. */ -interface Uint8Array { +interface Uint8Array { /** * The size in bytes of each element in the array. */ @@ -2163,7 +2163,7 @@ interface Uint8Array { /** * The ArrayBuffer instance referenced by the array. */ - readonly buffer: ArrayBufferLike; + readonly buffer: TArrayBuffer; /** * The length in bytes of the array. @@ -2194,7 +2194,7 @@ interface Uint8Array { * @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. */ - every(predicate: (value: number, index: number, array: Uint8Array) => unknown, thisArg?: any): boolean; + every(predicate: (value: number, index: number, array: this) => unknown, thisArg?: any): boolean; /** * Changes all array elements from `start` to `end` index to a static `value` and returns the modified array @@ -2213,7 +2213,7 @@ interface Uint8Array { * @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. */ - filter(predicate: (value: number, index: number, array: Uint8Array) => any, thisArg?: any): Uint8Array; + filter(predicate: (value: number, index: number, array: this) => any, thisArg?: any): Uint8Array; /** * Returns the value of the first element in the array where predicate is true, and undefined @@ -2224,7 +2224,7 @@ interface Uint8Array { * @param thisArg If provided, it will be used as the this value for each invocation of * predicate. If it is not provided, undefined is used instead. */ - find(predicate: (value: number, index: number, obj: Uint8Array) => boolean, thisArg?: any): number | undefined; + find(predicate: (value: number, index: number, obj: this) => boolean, thisArg?: any): number | undefined; /** * Returns the index of the first element in the array where predicate is true, and -1 @@ -2235,7 +2235,7 @@ interface Uint8Array { * @param thisArg If provided, it will be used as the this value for each invocation of * predicate. If it is not provided, undefined is used instead. */ - findIndex(predicate: (value: number, index: number, obj: Uint8Array) => boolean, thisArg?: any): number; + findIndex(predicate: (value: number, index: number, obj: this) => boolean, thisArg?: any): number; /** * Performs the specified action for each element in an array. @@ -2244,7 +2244,7 @@ interface Uint8Array { * @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. */ - forEach(callbackfn: (value: number, index: number, array: Uint8Array) => void, thisArg?: any): void; + forEach(callbackfn: (value: number, index: number, array: this) => void, thisArg?: any): void; /** * Returns the index of the first occurrence of a value in an array. @@ -2282,7 +2282,7 @@ interface Uint8Array { * @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. */ - map(callbackfn: (value: number, index: number, array: Uint8Array) => number, thisArg?: any): Uint8Array; + map(callbackfn: (value: number, index: number, array: this) => number, thisArg?: any): Uint8Array; /** * Calls the specified callback function for all the elements in an array. The return value of @@ -2294,8 +2294,8 @@ interface Uint8Array { * the accumulation. The first call to the callbackfn function provides this value as an argument * instead of an array value. */ - reduce(callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: Uint8Array) => number): number; - reduce(callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: Uint8Array) => number, initialValue: number): number; + reduce(callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: this) => number): number; + reduce(callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: this) => number, initialValue: number): number; /** * Calls the specified callback function for all the elements in an array. The return value of @@ -2307,7 +2307,7 @@ interface Uint8Array { * the accumulation. The first call to the callbackfn function provides this value as an argument * instead of an array value. */ - reduce(callbackfn: (previousValue: U, currentValue: number, currentIndex: number, array: Uint8Array) => U, initialValue: U): U; + reduce(callbackfn: (previousValue: U, currentValue: number, currentIndex: number, array: this) => U, initialValue: U): U; /** * Calls the specified callback function for all the elements in an array, in descending order. @@ -2319,8 +2319,8 @@ interface Uint8Array { * the accumulation. The first call to the callbackfn function provides this value as an * argument instead of an array value. */ - reduceRight(callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: Uint8Array) => number): number; - reduceRight(callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: Uint8Array) => number, initialValue: number): number; + reduceRight(callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: this) => number): number; + reduceRight(callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: this) => number, initialValue: number): number; /** * Calls the specified callback function for all the elements in an array, in descending order. @@ -2332,12 +2332,12 @@ interface Uint8Array { * the accumulation. The first call to the callbackfn function provides this value as an argument * instead of an array value. */ - reduceRight(callbackfn: (previousValue: U, currentValue: number, currentIndex: number, array: Uint8Array) => U, initialValue: U): U; + reduceRight(callbackfn: (previousValue: U, currentValue: number, currentIndex: number, array: this) => U, initialValue: U): U; /** * Reverses the elements in an Array. */ - reverse(): Uint8Array; + reverse(): this; /** * Sets a value or an array of values. @@ -2351,7 +2351,7 @@ interface Uint8Array { * @param start The beginning of the specified portion of the array. * @param end The end of the specified portion of the array. This is exclusive of the element at the index 'end'. */ - slice(start?: number, end?: number): Uint8Array; + slice(start?: number, end?: number): Uint8Array; /** * Determines whether the specified callback function returns true for any element of an array. @@ -2361,7 +2361,7 @@ interface Uint8Array { * @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. */ - some(predicate: (value: number, index: number, array: Uint8Array) => unknown, thisArg?: any): boolean; + some(predicate: (value: number, index: number, array: this) => unknown, thisArg?: any): boolean; /** * Sorts an array. @@ -2380,7 +2380,7 @@ interface Uint8Array { * @param begin The index of the beginning of the array. * @param end The index of the end of the array. */ - subarray(begin?: number, end?: number): Uint8Array; + subarray(begin?: number, end?: number): Uint8Array; /** * Converts a number to a string by using the current locale. @@ -2393,16 +2393,16 @@ interface Uint8Array { toString(): string; /** Returns the primitive value of the specified object. */ - valueOf(): Uint8Array; + valueOf(): this; [index: number]: number; } - interface Uint8ArrayConstructor { - readonly prototype: Uint8Array; - new (length: number): Uint8Array; - new (array: ArrayLike | ArrayBufferLike): Uint8Array; - new (buffer: ArrayBufferLike, byteOffset?: number, length?: number): Uint8Array; + readonly prototype: Uint8Array; + new (length: number): Uint8Array; + new (array: ArrayLike): Uint8Array; + new (buffer: TArrayBuffer, byteOffset?: number, length?: number): Uint8Array; + new (array: ArrayLike | ArrayBuffer): Uint8Array; /** * The size in bytes of each element in the array. @@ -2413,13 +2413,13 @@ interface Uint8ArrayConstructor { * Returns a new array from a set of elements. * @param items A set of elements to include in the new array object. */ - of(...items: number[]): Uint8Array; + of(...items: number[]): Uint8Array; /** * Creates an array from an array-like or iterable object. * @param arrayLike An array-like or iterable object to convert to an array. */ - from(arrayLike: ArrayLike): Uint8Array; + from(arrayLike: ArrayLike): Uint8Array; /** * Creates an array from an array-like or iterable object. @@ -2427,7 +2427,7 @@ interface Uint8ArrayConstructor { * @param mapfn A mapping function to call on every element of the array. * @param thisArg Value of 'this' used to invoke the mapfn. */ - from(arrayLike: ArrayLike, mapfn: (v: T, k: number) => number, thisArg?: any): Uint8Array; + from(arrayLike: ArrayLike, mapfn: (v: T, k: number) => number, thisArg?: any): Uint8Array; } declare var Uint8Array: Uint8ArrayConstructor; @@ -2435,7 +2435,7 @@ declare var Uint8Array: Uint8ArrayConstructor; * A typed array of 8-bit unsigned integer (clamped) values. The contents are initialized to 0. * If the requested number of bytes could not be allocated an exception is raised. */ -interface Uint8ClampedArray { +interface Uint8ClampedArray { /** * The size in bytes of each element in the array. */ @@ -2444,7 +2444,7 @@ interface Uint8ClampedArray { /** * The ArrayBuffer instance referenced by the array. */ - readonly buffer: ArrayBufferLike; + readonly buffer: TArrayBuffer; /** * The length in bytes of the array. @@ -2475,7 +2475,7 @@ interface Uint8ClampedArray { * @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. */ - every(predicate: (value: number, index: number, array: Uint8ClampedArray) => unknown, thisArg?: any): boolean; + every(predicate: (value: number, index: number, array: this) => unknown, thisArg?: any): boolean; /** * Changes all array elements from `start` to `end` index to a static `value` and returns the modified array @@ -2494,7 +2494,7 @@ interface Uint8ClampedArray { * @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. */ - filter(predicate: (value: number, index: number, array: Uint8ClampedArray) => any, thisArg?: any): Uint8ClampedArray; + filter(predicate: (value: number, index: number, array: this) => any, thisArg?: any): Uint8ClampedArray; /** * Returns the value of the first element in the array where predicate is true, and undefined @@ -2505,7 +2505,7 @@ interface Uint8ClampedArray { * @param thisArg If provided, it will be used as the this value for each invocation of * predicate. If it is not provided, undefined is used instead. */ - find(predicate: (value: number, index: number, obj: Uint8ClampedArray) => boolean, thisArg?: any): number | undefined; + find(predicate: (value: number, index: number, obj: this) => boolean, thisArg?: any): number | undefined; /** * Returns the index of the first element in the array where predicate is true, and -1 @@ -2516,7 +2516,7 @@ interface Uint8ClampedArray { * @param thisArg If provided, it will be used as the this value for each invocation of * predicate. If it is not provided, undefined is used instead. */ - findIndex(predicate: (value: number, index: number, obj: Uint8ClampedArray) => boolean, thisArg?: any): number; + findIndex(predicate: (value: number, index: number, obj: this) => boolean, thisArg?: any): number; /** * Performs the specified action for each element in an array. @@ -2525,7 +2525,7 @@ interface Uint8ClampedArray { * @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. */ - forEach(callbackfn: (value: number, index: number, array: Uint8ClampedArray) => void, thisArg?: any): void; + forEach(callbackfn: (value: number, index: number, array: this) => void, thisArg?: any): void; /** * Returns the index of the first occurrence of a value in an array. @@ -2563,7 +2563,7 @@ interface Uint8ClampedArray { * @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. */ - map(callbackfn: (value: number, index: number, array: Uint8ClampedArray) => number, thisArg?: any): Uint8ClampedArray; + map(callbackfn: (value: number, index: number, array: this) => number, thisArg?: any): Uint8ClampedArray; /** * Calls the specified callback function for all the elements in an array. The return value of @@ -2575,8 +2575,8 @@ interface Uint8ClampedArray { * the accumulation. The first call to the callbackfn function provides this value as an argument * instead of an array value. */ - reduce(callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: Uint8ClampedArray) => number): number; - reduce(callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: Uint8ClampedArray) => number, initialValue: number): number; + reduce(callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: this) => number): number; + reduce(callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: this) => number, initialValue: number): number; /** * Calls the specified callback function for all the elements in an array. The return value of @@ -2588,7 +2588,7 @@ interface Uint8ClampedArray { * the accumulation. The first call to the callbackfn function provides this value as an argument * instead of an array value. */ - reduce(callbackfn: (previousValue: U, currentValue: number, currentIndex: number, array: Uint8ClampedArray) => U, initialValue: U): U; + reduce(callbackfn: (previousValue: U, currentValue: number, currentIndex: number, array: this) => U, initialValue: U): U; /** * Calls the specified callback function for all the elements in an array, in descending order. @@ -2600,8 +2600,8 @@ interface Uint8ClampedArray { * the accumulation. The first call to the callbackfn function provides this value as an * argument instead of an array value. */ - reduceRight(callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: Uint8ClampedArray) => number): number; - reduceRight(callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: Uint8ClampedArray) => number, initialValue: number): number; + reduceRight(callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: this) => number): number; + reduceRight(callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: this) => number, initialValue: number): number; /** * Calls the specified callback function for all the elements in an array, in descending order. @@ -2613,12 +2613,12 @@ interface Uint8ClampedArray { * the accumulation. The first call to the callbackfn function provides this value as an argument * instead of an array value. */ - reduceRight(callbackfn: (previousValue: U, currentValue: number, currentIndex: number, array: Uint8ClampedArray) => U, initialValue: U): U; + reduceRight(callbackfn: (previousValue: U, currentValue: number, currentIndex: number, array: this) => U, initialValue: U): U; /** * Reverses the elements in an Array. */ - reverse(): Uint8ClampedArray; + reverse(): this; /** * Sets a value or an array of values. @@ -2632,7 +2632,7 @@ interface Uint8ClampedArray { * @param start The beginning of the specified portion of the array. * @param end The end of the specified portion of the array. This is exclusive of the element at the index 'end'. */ - slice(start?: number, end?: number): Uint8ClampedArray; + slice(start?: number, end?: number): Uint8ClampedArray; /** * Determines whether the specified callback function returns true for any element of an array. @@ -2642,7 +2642,7 @@ interface Uint8ClampedArray { * @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. */ - some(predicate: (value: number, index: number, array: Uint8ClampedArray) => unknown, thisArg?: any): boolean; + some(predicate: (value: number, index: number, array: this) => unknown, thisArg?: any): boolean; /** * Sorts an array. @@ -2661,7 +2661,7 @@ interface Uint8ClampedArray { * @param begin The index of the beginning of the array. * @param end The index of the end of the array. */ - subarray(begin?: number, end?: number): Uint8ClampedArray; + subarray(begin?: number, end?: number): Uint8ClampedArray; /** * Converts a number to a string by using the current locale. @@ -2674,16 +2674,16 @@ interface Uint8ClampedArray { toString(): string; /** Returns the primitive value of the specified object. */ - valueOf(): Uint8ClampedArray; + valueOf(): this; [index: number]: number; } - interface Uint8ClampedArrayConstructor { - readonly prototype: Uint8ClampedArray; - new (length: number): Uint8ClampedArray; - new (array: ArrayLike | ArrayBufferLike): Uint8ClampedArray; - new (buffer: ArrayBufferLike, byteOffset?: number, length?: number): Uint8ClampedArray; + readonly prototype: Uint8ClampedArray; + new (length: number): Uint8ClampedArray; + new (array: ArrayLike): Uint8ClampedArray; + new (buffer: TArrayBuffer, byteOffset?: number, length?: number): Uint8ClampedArray; + new (array: ArrayLike | ArrayBuffer): Uint8ClampedArray; /** * The size in bytes of each element in the array. @@ -2694,13 +2694,13 @@ interface Uint8ClampedArrayConstructor { * Returns a new array from a set of elements. * @param items A set of elements to include in the new array object. */ - of(...items: number[]): Uint8ClampedArray; + of(...items: number[]): Uint8ClampedArray; /** * Creates an array from an array-like or iterable object. * @param arrayLike An array-like or iterable object to convert to an array. */ - from(arrayLike: ArrayLike): Uint8ClampedArray; + from(arrayLike: ArrayLike): Uint8ClampedArray; /** * Creates an array from an array-like or iterable object. @@ -2708,7 +2708,7 @@ interface Uint8ClampedArrayConstructor { * @param mapfn A mapping function to call on every element of the array. * @param thisArg Value of 'this' used to invoke the mapfn. */ - from(arrayLike: ArrayLike, mapfn: (v: T, k: number) => number, thisArg?: any): Uint8ClampedArray; + from(arrayLike: ArrayLike, mapfn: (v: T, k: number) => number, thisArg?: any): Uint8ClampedArray; } declare var Uint8ClampedArray: Uint8ClampedArrayConstructor; @@ -2716,7 +2716,7 @@ declare var Uint8ClampedArray: Uint8ClampedArrayConstructor; * A typed array of 16-bit signed integer values. The contents are initialized to 0. If the * requested number of bytes could not be allocated an exception is raised. */ -interface Int16Array { +interface Int16Array { /** * The size in bytes of each element in the array. */ @@ -2725,7 +2725,7 @@ interface Int16Array { /** * The ArrayBuffer instance referenced by the array. */ - readonly buffer: ArrayBufferLike; + readonly buffer: TArrayBuffer; /** * The length in bytes of the array. @@ -2756,7 +2756,7 @@ interface Int16Array { * @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. */ - every(predicate: (value: number, index: number, array: Int16Array) => unknown, thisArg?: any): boolean; + every(predicate: (value: number, index: number, array: this) => unknown, thisArg?: any): boolean; /** * Changes all array elements from `start` to `end` index to a static `value` and returns the modified array @@ -2775,7 +2775,7 @@ interface Int16Array { * @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. */ - filter(predicate: (value: number, index: number, array: Int16Array) => any, thisArg?: any): Int16Array; + filter(predicate: (value: number, index: number, array: this) => any, thisArg?: any): Int16Array; /** * Returns the value of the first element in the array where predicate is true, and undefined @@ -2786,7 +2786,7 @@ interface Int16Array { * @param thisArg If provided, it will be used as the this value for each invocation of * predicate. If it is not provided, undefined is used instead. */ - find(predicate: (value: number, index: number, obj: Int16Array) => boolean, thisArg?: any): number | undefined; + find(predicate: (value: number, index: number, obj: this) => boolean, thisArg?: any): number | undefined; /** * Returns the index of the first element in the array where predicate is true, and -1 @@ -2797,7 +2797,7 @@ interface Int16Array { * @param thisArg If provided, it will be used as the this value for each invocation of * predicate. If it is not provided, undefined is used instead. */ - findIndex(predicate: (value: number, index: number, obj: Int16Array) => boolean, thisArg?: any): number; + findIndex(predicate: (value: number, index: number, obj: this) => boolean, thisArg?: any): number; /** * Performs the specified action for each element in an array. @@ -2806,7 +2806,7 @@ interface Int16Array { * @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. */ - forEach(callbackfn: (value: number, index: number, array: Int16Array) => void, thisArg?: any): void; + forEach(callbackfn: (value: number, index: number, array: this) => void, thisArg?: any): void; /** * Returns the index of the first occurrence of a value in an array. * @param searchElement The value to locate in the array. @@ -2843,7 +2843,7 @@ interface Int16Array { * @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. */ - map(callbackfn: (value: number, index: number, array: Int16Array) => number, thisArg?: any): Int16Array; + map(callbackfn: (value: number, index: number, array: this) => number, thisArg?: any): Int16Array; /** * Calls the specified callback function for all the elements in an array. The return value of @@ -2855,8 +2855,8 @@ interface Int16Array { * the accumulation. The first call to the callbackfn function provides this value as an argument * instead of an array value. */ - reduce(callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: Int16Array) => number): number; - reduce(callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: Int16Array) => number, initialValue: number): number; + reduce(callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: this) => number): number; + reduce(callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: this) => number, initialValue: number): number; /** * Calls the specified callback function for all the elements in an array. The return value of @@ -2868,7 +2868,7 @@ interface Int16Array { * the accumulation. The first call to the callbackfn function provides this value as an argument * instead of an array value. */ - reduce(callbackfn: (previousValue: U, currentValue: number, currentIndex: number, array: Int16Array) => U, initialValue: U): U; + reduce(callbackfn: (previousValue: U, currentValue: number, currentIndex: number, array: this) => U, initialValue: U): U; /** * Calls the specified callback function for all the elements in an array, in descending order. @@ -2880,8 +2880,8 @@ interface Int16Array { * the accumulation. The first call to the callbackfn function provides this value as an * argument instead of an array value. */ - reduceRight(callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: Int16Array) => number): number; - reduceRight(callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: Int16Array) => number, initialValue: number): number; + reduceRight(callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: this) => number): number; + reduceRight(callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: this) => number, initialValue: number): number; /** * Calls the specified callback function for all the elements in an array, in descending order. @@ -2893,12 +2893,12 @@ interface Int16Array { * the accumulation. The first call to the callbackfn function provides this value as an argument * instead of an array value. */ - reduceRight(callbackfn: (previousValue: U, currentValue: number, currentIndex: number, array: Int16Array) => U, initialValue: U): U; + reduceRight(callbackfn: (previousValue: U, currentValue: number, currentIndex: number, array: this) => U, initialValue: U): U; /** * Reverses the elements in an Array. */ - reverse(): Int16Array; + reverse(): this; /** * Sets a value or an array of values. @@ -2912,7 +2912,7 @@ interface Int16Array { * @param start The beginning of the specified portion of the array. * @param end The end of the specified portion of the array. This is exclusive of the element at the index 'end'. */ - slice(start?: number, end?: number): Int16Array; + slice(start?: number, end?: number): Int16Array; /** * Determines whether the specified callback function returns true for any element of an array. @@ -2922,7 +2922,7 @@ interface Int16Array { * @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. */ - some(predicate: (value: number, index: number, array: Int16Array) => unknown, thisArg?: any): boolean; + some(predicate: (value: number, index: number, array: this) => unknown, thisArg?: any): boolean; /** * Sorts an array. @@ -2941,7 +2941,7 @@ interface Int16Array { * @param begin The index of the beginning of the array. * @param end The index of the end of the array. */ - subarray(begin?: number, end?: number): Int16Array; + subarray(begin?: number, end?: number): Int16Array; /** * Converts a number to a string by using the current locale. @@ -2954,16 +2954,16 @@ interface Int16Array { toString(): string; /** Returns the primitive value of the specified object. */ - valueOf(): Int16Array; + valueOf(): this; [index: number]: number; } - interface Int16ArrayConstructor { - readonly prototype: Int16Array; - new (length: number): Int16Array; - new (array: ArrayLike | ArrayBufferLike): Int16Array; - new (buffer: ArrayBufferLike, byteOffset?: number, length?: number): Int16Array; + readonly prototype: Int16Array; + new (length: number): Int16Array; + new (array: ArrayLike): Int16Array; + new (buffer: TArrayBuffer, byteOffset?: number, length?: number): Int16Array; + new (array: ArrayLike | ArrayBuffer): Int16Array; /** * The size in bytes of each element in the array. @@ -2974,13 +2974,13 @@ interface Int16ArrayConstructor { * Returns a new array from a set of elements. * @param items A set of elements to include in the new array object. */ - of(...items: number[]): Int16Array; + of(...items: number[]): Int16Array; /** * Creates an array from an array-like or iterable object. * @param arrayLike An array-like or iterable object to convert to an array. */ - from(arrayLike: ArrayLike): Int16Array; + from(arrayLike: ArrayLike): Int16Array; /** * Creates an array from an array-like or iterable object. @@ -2988,7 +2988,7 @@ interface Int16ArrayConstructor { * @param mapfn A mapping function to call on every element of the array. * @param thisArg Value of 'this' used to invoke the mapfn. */ - from(arrayLike: ArrayLike, mapfn: (v: T, k: number) => number, thisArg?: any): Int16Array; + from(arrayLike: ArrayLike, mapfn: (v: T, k: number) => number, thisArg?: any): Int16Array; } declare var Int16Array: Int16ArrayConstructor; @@ -2996,7 +2996,7 @@ declare var Int16Array: Int16ArrayConstructor; * A typed array of 16-bit unsigned integer values. The contents are initialized to 0. If the * requested number of bytes could not be allocated an exception is raised. */ -interface Uint16Array { +interface Uint16Array { /** * The size in bytes of each element in the array. */ @@ -3005,7 +3005,7 @@ interface Uint16Array { /** * The ArrayBuffer instance referenced by the array. */ - readonly buffer: ArrayBufferLike; + readonly buffer: TArrayBuffer; /** * The length in bytes of the array. @@ -3036,7 +3036,7 @@ interface Uint16Array { * @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. */ - every(predicate: (value: number, index: number, array: Uint16Array) => unknown, thisArg?: any): boolean; + every(predicate: (value: number, index: number, array: this) => unknown, thisArg?: any): boolean; /** * Changes all array elements from `start` to `end` index to a static `value` and returns the modified array @@ -3055,7 +3055,7 @@ interface Uint16Array { * @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. */ - filter(predicate: (value: number, index: number, array: Uint16Array) => any, thisArg?: any): Uint16Array; + filter(predicate: (value: number, index: number, array: this) => any, thisArg?: any): Uint16Array; /** * Returns the value of the first element in the array where predicate is true, and undefined @@ -3066,7 +3066,7 @@ interface Uint16Array { * @param thisArg If provided, it will be used as the this value for each invocation of * predicate. If it is not provided, undefined is used instead. */ - find(predicate: (value: number, index: number, obj: Uint16Array) => boolean, thisArg?: any): number | undefined; + find(predicate: (value: number, index: number, obj: this) => boolean, thisArg?: any): number | undefined; /** * Returns the index of the first element in the array where predicate is true, and -1 @@ -3077,7 +3077,7 @@ interface Uint16Array { * @param thisArg If provided, it will be used as the this value for each invocation of * predicate. If it is not provided, undefined is used instead. */ - findIndex(predicate: (value: number, index: number, obj: Uint16Array) => boolean, thisArg?: any): number; + findIndex(predicate: (value: number, index: number, obj: this) => boolean, thisArg?: any): number; /** * Performs the specified action for each element in an array. @@ -3086,7 +3086,7 @@ interface Uint16Array { * @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. */ - forEach(callbackfn: (value: number, index: number, array: Uint16Array) => void, thisArg?: any): void; + forEach(callbackfn: (value: number, index: number, array: this) => void, thisArg?: any): void; /** * Returns the index of the first occurrence of a value in an array. @@ -3124,7 +3124,7 @@ interface Uint16Array { * @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. */ - map(callbackfn: (value: number, index: number, array: Uint16Array) => number, thisArg?: any): Uint16Array; + map(callbackfn: (value: number, index: number, array: this) => number, thisArg?: any): Uint16Array; /** * Calls the specified callback function for all the elements in an array. The return value of @@ -3136,8 +3136,8 @@ interface Uint16Array { * the accumulation. The first call to the callbackfn function provides this value as an argument * instead of an array value. */ - reduce(callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: Uint16Array) => number): number; - reduce(callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: Uint16Array) => number, initialValue: number): number; + reduce(callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: this) => number): number; + reduce(callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: this) => number, initialValue: number): number; /** * Calls the specified callback function for all the elements in an array. The return value of @@ -3149,7 +3149,7 @@ interface Uint16Array { * the accumulation. The first call to the callbackfn function provides this value as an argument * instead of an array value. */ - reduce(callbackfn: (previousValue: U, currentValue: number, currentIndex: number, array: Uint16Array) => U, initialValue: U): U; + reduce(callbackfn: (previousValue: U, currentValue: number, currentIndex: number, array: this) => U, initialValue: U): U; /** * Calls the specified callback function for all the elements in an array, in descending order. @@ -3161,8 +3161,8 @@ interface Uint16Array { * the accumulation. The first call to the callbackfn function provides this value as an * argument instead of an array value. */ - reduceRight(callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: Uint16Array) => number): number; - reduceRight(callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: Uint16Array) => number, initialValue: number): number; + reduceRight(callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: this) => number): number; + reduceRight(callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: this) => number, initialValue: number): number; /** * Calls the specified callback function for all the elements in an array, in descending order. @@ -3174,12 +3174,12 @@ interface Uint16Array { * the accumulation. The first call to the callbackfn function provides this value as an argument * instead of an array value. */ - reduceRight(callbackfn: (previousValue: U, currentValue: number, currentIndex: number, array: Uint16Array) => U, initialValue: U): U; + reduceRight(callbackfn: (previousValue: U, currentValue: number, currentIndex: number, array: this) => U, initialValue: U): U; /** * Reverses the elements in an Array. */ - reverse(): Uint16Array; + reverse(): this; /** * Sets a value or an array of values. @@ -3193,7 +3193,7 @@ interface Uint16Array { * @param start The beginning of the specified portion of the array. * @param end The end of the specified portion of the array. This is exclusive of the element at the index 'end'. */ - slice(start?: number, end?: number): Uint16Array; + slice(start?: number, end?: number): Uint16Array; /** * Determines whether the specified callback function returns true for any element of an array. @@ -3203,7 +3203,7 @@ interface Uint16Array { * @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. */ - some(predicate: (value: number, index: number, array: Uint16Array) => unknown, thisArg?: any): boolean; + some(predicate: (value: number, index: number, array: this) => unknown, thisArg?: any): boolean; /** * Sorts an array. @@ -3222,7 +3222,7 @@ interface Uint16Array { * @param begin The index of the beginning of the array. * @param end The index of the end of the array. */ - subarray(begin?: number, end?: number): Uint16Array; + subarray(begin?: number, end?: number): Uint16Array; /** * Converts a number to a string by using the current locale. @@ -3235,16 +3235,16 @@ interface Uint16Array { toString(): string; /** Returns the primitive value of the specified object. */ - valueOf(): Uint16Array; + valueOf(): this; [index: number]: number; } - interface Uint16ArrayConstructor { - readonly prototype: Uint16Array; - new (length: number): Uint16Array; - new (array: ArrayLike | ArrayBufferLike): Uint16Array; - new (buffer: ArrayBufferLike, byteOffset?: number, length?: number): Uint16Array; + readonly prototype: Uint16Array; + new (length: number): Uint16Array; + new (array: ArrayLike): Uint16Array; + new (buffer: TArrayBuffer, byteOffset?: number, length?: number): Uint16Array; + new (array: ArrayLike | ArrayBuffer): Uint16Array; /** * The size in bytes of each element in the array. @@ -3255,13 +3255,13 @@ interface Uint16ArrayConstructor { * Returns a new array from a set of elements. * @param items A set of elements to include in the new array object. */ - of(...items: number[]): Uint16Array; + of(...items: number[]): Uint16Array; /** * Creates an array from an array-like or iterable object. * @param arrayLike An array-like or iterable object to convert to an array. */ - from(arrayLike: ArrayLike): Uint16Array; + from(arrayLike: ArrayLike): Uint16Array; /** * Creates an array from an array-like or iterable object. @@ -3269,14 +3269,14 @@ interface Uint16ArrayConstructor { * @param mapfn A mapping function to call on every element of the array. * @param thisArg Value of 'this' used to invoke the mapfn. */ - from(arrayLike: ArrayLike, mapfn: (v: T, k: number) => number, thisArg?: any): Uint16Array; + from(arrayLike: ArrayLike, mapfn: (v: T, k: number) => number, thisArg?: any): Uint16Array; } declare var Uint16Array: Uint16ArrayConstructor; /** * A typed array of 32-bit signed integer values. The contents are initialized to 0. If the * requested number of bytes could not be allocated an exception is raised. */ -interface Int32Array { +interface Int32Array { /** * The size in bytes of each element in the array. */ @@ -3285,7 +3285,7 @@ interface Int32Array { /** * The ArrayBuffer instance referenced by the array. */ - readonly buffer: ArrayBufferLike; + readonly buffer: TArrayBuffer; /** * The length in bytes of the array. @@ -3316,7 +3316,7 @@ interface Int32Array { * @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. */ - every(predicate: (value: number, index: number, array: Int32Array) => unknown, thisArg?: any): boolean; + every(predicate: (value: number, index: number, array: this) => unknown, thisArg?: any): boolean; /** * Changes all array elements from `start` to `end` index to a static `value` and returns the modified array @@ -3335,7 +3335,7 @@ interface Int32Array { * @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. */ - filter(predicate: (value: number, index: number, array: Int32Array) => any, thisArg?: any): Int32Array; + filter(predicate: (value: number, index: number, array: this) => any, thisArg?: any): Int32Array; /** * Returns the value of the first element in the array where predicate is true, and undefined @@ -3346,7 +3346,7 @@ interface Int32Array { * @param thisArg If provided, it will be used as the this value for each invocation of * predicate. If it is not provided, undefined is used instead. */ - find(predicate: (value: number, index: number, obj: Int32Array) => boolean, thisArg?: any): number | undefined; + find(predicate: (value: number, index: number, obj: this) => boolean, thisArg?: any): number | undefined; /** * Returns the index of the first element in the array where predicate is true, and -1 @@ -3357,7 +3357,7 @@ interface Int32Array { * @param thisArg If provided, it will be used as the this value for each invocation of * predicate. If it is not provided, undefined is used instead. */ - findIndex(predicate: (value: number, index: number, obj: Int32Array) => boolean, thisArg?: any): number; + findIndex(predicate: (value: number, index: number, obj: this) => boolean, thisArg?: any): number; /** * Performs the specified action for each element in an array. @@ -3366,7 +3366,7 @@ interface Int32Array { * @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. */ - forEach(callbackfn: (value: number, index: number, array: Int32Array) => void, thisArg?: any): void; + forEach(callbackfn: (value: number, index: number, array: this) => void, thisArg?: any): void; /** * Returns the index of the first occurrence of a value in an array. @@ -3404,7 +3404,7 @@ interface Int32Array { * @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. */ - map(callbackfn: (value: number, index: number, array: Int32Array) => number, thisArg?: any): Int32Array; + map(callbackfn: (value: number, index: number, array: this) => number, thisArg?: any): Int32Array; /** * Calls the specified callback function for all the elements in an array. The return value of @@ -3416,8 +3416,8 @@ interface Int32Array { * the accumulation. The first call to the callbackfn function provides this value as an argument * instead of an array value. */ - reduce(callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: Int32Array) => number): number; - reduce(callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: Int32Array) => number, initialValue: number): number; + reduce(callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: this) => number): number; + reduce(callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: this) => number, initialValue: number): number; /** * Calls the specified callback function for all the elements in an array. The return value of @@ -3429,7 +3429,7 @@ interface Int32Array { * the accumulation. The first call to the callbackfn function provides this value as an argument * instead of an array value. */ - reduce(callbackfn: (previousValue: U, currentValue: number, currentIndex: number, array: Int32Array) => U, initialValue: U): U; + reduce(callbackfn: (previousValue: U, currentValue: number, currentIndex: number, array: this) => U, initialValue: U): U; /** * Calls the specified callback function for all the elements in an array, in descending order. @@ -3441,8 +3441,8 @@ interface Int32Array { * the accumulation. The first call to the callbackfn function provides this value as an * argument instead of an array value. */ - reduceRight(callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: Int32Array) => number): number; - reduceRight(callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: Int32Array) => number, initialValue: number): number; + reduceRight(callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: this) => number): number; + reduceRight(callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: this) => number, initialValue: number): number; /** * Calls the specified callback function for all the elements in an array, in descending order. @@ -3454,12 +3454,12 @@ interface Int32Array { * the accumulation. The first call to the callbackfn function provides this value as an argument * instead of an array value. */ - reduceRight(callbackfn: (previousValue: U, currentValue: number, currentIndex: number, array: Int32Array) => U, initialValue: U): U; + reduceRight(callbackfn: (previousValue: U, currentValue: number, currentIndex: number, array: this) => U, initialValue: U): U; /** * Reverses the elements in an Array. */ - reverse(): Int32Array; + reverse(): this; /** * Sets a value or an array of values. @@ -3473,7 +3473,7 @@ interface Int32Array { * @param start The beginning of the specified portion of the array. * @param end The end of the specified portion of the array. This is exclusive of the element at the index 'end'. */ - slice(start?: number, end?: number): Int32Array; + slice(start?: number, end?: number): Int32Array; /** * Determines whether the specified callback function returns true for any element of an array. @@ -3483,7 +3483,7 @@ interface Int32Array { * @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. */ - some(predicate: (value: number, index: number, array: Int32Array) => unknown, thisArg?: any): boolean; + some(predicate: (value: number, index: number, array: this) => unknown, thisArg?: any): boolean; /** * Sorts an array. @@ -3502,7 +3502,7 @@ interface Int32Array { * @param begin The index of the beginning of the array. * @param end The index of the end of the array. */ - subarray(begin?: number, end?: number): Int32Array; + subarray(begin?: number, end?: number): Int32Array; /** * Converts a number to a string by using the current locale. @@ -3515,16 +3515,16 @@ interface Int32Array { toString(): string; /** Returns the primitive value of the specified object. */ - valueOf(): Int32Array; + valueOf(): this; [index: number]: number; } - interface Int32ArrayConstructor { - readonly prototype: Int32Array; - new (length: number): Int32Array; - new (array: ArrayLike | ArrayBufferLike): Int32Array; - new (buffer: ArrayBufferLike, byteOffset?: number, length?: number): Int32Array; + readonly prototype: Int32Array; + new (length: number): Int32Array; + new (array: ArrayLike): Int32Array; + new (buffer: TArrayBuffer, byteOffset?: number, length?: number): Int32Array; + new (array: ArrayLike | ArrayBuffer): Int32Array; /** * The size in bytes of each element in the array. @@ -3535,13 +3535,13 @@ interface Int32ArrayConstructor { * Returns a new array from a set of elements. * @param items A set of elements to include in the new array object. */ - of(...items: number[]): Int32Array; + of(...items: number[]): Int32Array; /** * Creates an array from an array-like or iterable object. * @param arrayLike An array-like or iterable object to convert to an array. */ - from(arrayLike: ArrayLike): Int32Array; + from(arrayLike: ArrayLike): Int32Array; /** * Creates an array from an array-like or iterable object. @@ -3549,7 +3549,7 @@ interface Int32ArrayConstructor { * @param mapfn A mapping function to call on every element of the array. * @param thisArg Value of 'this' used to invoke the mapfn. */ - from(arrayLike: ArrayLike, mapfn: (v: T, k: number) => number, thisArg?: any): Int32Array; + from(arrayLike: ArrayLike, mapfn: (v: T, k: number) => number, thisArg?: any): Int32Array; } declare var Int32Array: Int32ArrayConstructor; @@ -3557,7 +3557,7 @@ declare var Int32Array: Int32ArrayConstructor; * A typed array of 32-bit unsigned integer values. The contents are initialized to 0. If the * requested number of bytes could not be allocated an exception is raised. */ -interface Uint32Array { +interface Uint32Array { /** * The size in bytes of each element in the array. */ @@ -3566,7 +3566,7 @@ interface Uint32Array { /** * The ArrayBuffer instance referenced by the array. */ - readonly buffer: ArrayBufferLike; + readonly buffer: TArrayBuffer; /** * The length in bytes of the array. @@ -3597,7 +3597,7 @@ interface Uint32Array { * @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. */ - every(predicate: (value: number, index: number, array: Uint32Array) => unknown, thisArg?: any): boolean; + every(predicate: (value: number, index: number, array: this) => unknown, thisArg?: any): boolean; /** * Changes all array elements from `start` to `end` index to a static `value` and returns the modified array @@ -3616,7 +3616,7 @@ interface Uint32Array { * @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. */ - filter(predicate: (value: number, index: number, array: Uint32Array) => any, thisArg?: any): Uint32Array; + filter(predicate: (value: number, index: number, array: this) => any, thisArg?: any): Uint32Array; /** * Returns the value of the first element in the array where predicate is true, and undefined @@ -3627,7 +3627,7 @@ interface Uint32Array { * @param thisArg If provided, it will be used as the this value for each invocation of * predicate. If it is not provided, undefined is used instead. */ - find(predicate: (value: number, index: number, obj: Uint32Array) => boolean, thisArg?: any): number | undefined; + find(predicate: (value: number, index: number, obj: this) => boolean, thisArg?: any): number | undefined; /** * Returns the index of the first element in the array where predicate is true, and -1 @@ -3638,7 +3638,7 @@ interface Uint32Array { * @param thisArg If provided, it will be used as the this value for each invocation of * predicate. If it is not provided, undefined is used instead. */ - findIndex(predicate: (value: number, index: number, obj: Uint32Array) => boolean, thisArg?: any): number; + findIndex(predicate: (value: number, index: number, obj: this) => boolean, thisArg?: any): number; /** * Performs the specified action for each element in an array. @@ -3647,7 +3647,7 @@ interface Uint32Array { * @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. */ - forEach(callbackfn: (value: number, index: number, array: Uint32Array) => void, thisArg?: any): void; + forEach(callbackfn: (value: number, index: number, array: this) => void, thisArg?: any): void; /** * Returns the index of the first occurrence of a value in an array. * @param searchElement The value to locate in the array. @@ -3684,7 +3684,7 @@ interface Uint32Array { * @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. */ - map(callbackfn: (value: number, index: number, array: Uint32Array) => number, thisArg?: any): Uint32Array; + map(callbackfn: (value: number, index: number, array: this) => number, thisArg?: any): Uint32Array; /** * Calls the specified callback function for all the elements in an array. The return value of @@ -3696,8 +3696,8 @@ interface Uint32Array { * the accumulation. The first call to the callbackfn function provides this value as an argument * instead of an array value. */ - reduce(callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: Uint32Array) => number): number; - reduce(callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: Uint32Array) => number, initialValue: number): number; + reduce(callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: this) => number): number; + reduce(callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: this) => number, initialValue: number): number; /** * Calls the specified callback function for all the elements in an array. The return value of @@ -3709,7 +3709,7 @@ interface Uint32Array { * the accumulation. The first call to the callbackfn function provides this value as an argument * instead of an array value. */ - reduce(callbackfn: (previousValue: U, currentValue: number, currentIndex: number, array: Uint32Array) => U, initialValue: U): U; + reduce(callbackfn: (previousValue: U, currentValue: number, currentIndex: number, array: this) => U, initialValue: U): U; /** * Calls the specified callback function for all the elements in an array, in descending order. @@ -3721,8 +3721,8 @@ interface Uint32Array { * the accumulation. The first call to the callbackfn function provides this value as an * argument instead of an array value. */ - reduceRight(callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: Uint32Array) => number): number; - reduceRight(callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: Uint32Array) => number, initialValue: number): number; + reduceRight(callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: this) => number): number; + reduceRight(callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: this) => number, initialValue: number): number; /** * Calls the specified callback function for all the elements in an array, in descending order. @@ -3734,12 +3734,12 @@ interface Uint32Array { * the accumulation. The first call to the callbackfn function provides this value as an argument * instead of an array value. */ - reduceRight(callbackfn: (previousValue: U, currentValue: number, currentIndex: number, array: Uint32Array) => U, initialValue: U): U; + reduceRight(callbackfn: (previousValue: U, currentValue: number, currentIndex: number, array: this) => U, initialValue: U): U; /** * Reverses the elements in an Array. */ - reverse(): Uint32Array; + reverse(): this; /** * Sets a value or an array of values. @@ -3753,7 +3753,7 @@ interface Uint32Array { * @param start The beginning of the specified portion of the array. * @param end The end of the specified portion of the array. This is exclusive of the element at the index 'end'. */ - slice(start?: number, end?: number): Uint32Array; + slice(start?: number, end?: number): Uint32Array; /** * Determines whether the specified callback function returns true for any element of an array. @@ -3763,7 +3763,7 @@ interface Uint32Array { * @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. */ - some(predicate: (value: number, index: number, array: Uint32Array) => unknown, thisArg?: any): boolean; + some(predicate: (value: number, index: number, array: this) => unknown, thisArg?: any): boolean; /** * Sorts an array. @@ -3782,7 +3782,7 @@ interface Uint32Array { * @param begin The index of the beginning of the array. * @param end The index of the end of the array. */ - subarray(begin?: number, end?: number): Uint32Array; + subarray(begin?: number, end?: number): Uint32Array; /** * Converts a number to a string by using the current locale. @@ -3795,16 +3795,16 @@ interface Uint32Array { toString(): string; /** Returns the primitive value of the specified object. */ - valueOf(): Uint32Array; + valueOf(): this; [index: number]: number; } - interface Uint32ArrayConstructor { - readonly prototype: Uint32Array; - new (length: number): Uint32Array; - new (array: ArrayLike | ArrayBufferLike): Uint32Array; - new (buffer: ArrayBufferLike, byteOffset?: number, length?: number): Uint32Array; + readonly prototype: Uint32Array; + new (length: number): Uint32Array; + new (array: ArrayLike): Uint32Array; + new (buffer: TArrayBuffer, byteOffset?: number, length?: number): Uint32Array; + new (array: ArrayLike | ArrayBuffer): Uint32Array; /** * The size in bytes of each element in the array. @@ -3815,13 +3815,13 @@ interface Uint32ArrayConstructor { * Returns a new array from a set of elements. * @param items A set of elements to include in the new array object. */ - of(...items: number[]): Uint32Array; + of(...items: number[]): Uint32Array; /** * Creates an array from an array-like or iterable object. * @param arrayLike An array-like or iterable object to convert to an array. */ - from(arrayLike: ArrayLike): Uint32Array; + from(arrayLike: ArrayLike): Uint32Array; /** * Creates an array from an array-like or iterable object. @@ -3829,7 +3829,7 @@ interface Uint32ArrayConstructor { * @param mapfn A mapping function to call on every element of the array. * @param thisArg Value of 'this' used to invoke the mapfn. */ - from(arrayLike: ArrayLike, mapfn: (v: T, k: number) => number, thisArg?: any): Uint32Array; + from(arrayLike: ArrayLike, mapfn: (v: T, k: number) => number, thisArg?: any): Uint32Array; } declare var Uint32Array: Uint32ArrayConstructor; @@ -3837,7 +3837,7 @@ declare var Uint32Array: Uint32ArrayConstructor; * A typed array of 32-bit float values. The contents are initialized to 0. If the requested number * of bytes could not be allocated an exception is raised. */ -interface Float32Array { +interface Float32Array { /** * The size in bytes of each element in the array. */ @@ -3846,7 +3846,7 @@ interface Float32Array { /** * The ArrayBuffer instance referenced by the array. */ - readonly buffer: ArrayBufferLike; + readonly buffer: TArrayBuffer; /** * The length in bytes of the array. @@ -3877,7 +3877,7 @@ interface Float32Array { * @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. */ - every(predicate: (value: number, index: number, array: Float32Array) => unknown, thisArg?: any): boolean; + every(predicate: (value: number, index: number, array: this) => unknown, thisArg?: any): boolean; /** * Changes all array elements from `start` to `end` index to a static `value` and returns the modified array @@ -3896,7 +3896,7 @@ interface Float32Array { * @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. */ - filter(predicate: (value: number, index: number, array: Float32Array) => any, thisArg?: any): Float32Array; + filter(predicate: (value: number, index: number, array: this) => any, thisArg?: any): Float32Array; /** * Returns the value of the first element in the array where predicate is true, and undefined @@ -3907,7 +3907,7 @@ interface Float32Array { * @param thisArg If provided, it will be used as the this value for each invocation of * predicate. If it is not provided, undefined is used instead. */ - find(predicate: (value: number, index: number, obj: Float32Array) => boolean, thisArg?: any): number | undefined; + find(predicate: (value: number, index: number, obj: this) => boolean, thisArg?: any): number | undefined; /** * Returns the index of the first element in the array where predicate is true, and -1 @@ -3918,7 +3918,7 @@ interface Float32Array { * @param thisArg If provided, it will be used as the this value for each invocation of * predicate. If it is not provided, undefined is used instead. */ - findIndex(predicate: (value: number, index: number, obj: Float32Array) => boolean, thisArg?: any): number; + findIndex(predicate: (value: number, index: number, obj: this) => boolean, thisArg?: any): number; /** * Performs the specified action for each element in an array. @@ -3927,7 +3927,7 @@ interface Float32Array { * @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. */ - forEach(callbackfn: (value: number, index: number, array: Float32Array) => void, thisArg?: any): void; + forEach(callbackfn: (value: number, index: number, array: this) => void, thisArg?: any): void; /** * Returns the index of the first occurrence of a value in an array. @@ -3965,7 +3965,7 @@ interface Float32Array { * @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. */ - map(callbackfn: (value: number, index: number, array: Float32Array) => number, thisArg?: any): Float32Array; + map(callbackfn: (value: number, index: number, array: this) => number, thisArg?: any): Float32Array; /** * Calls the specified callback function for all the elements in an array. The return value of @@ -3977,8 +3977,8 @@ interface Float32Array { * the accumulation. The first call to the callbackfn function provides this value as an argument * instead of an array value. */ - reduce(callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: Float32Array) => number): number; - reduce(callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: Float32Array) => number, initialValue: number): number; + reduce(callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: this) => number): number; + reduce(callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: this) => number, initialValue: number): number; /** * Calls the specified callback function for all the elements in an array. The return value of @@ -3990,7 +3990,7 @@ interface Float32Array { * the accumulation. The first call to the callbackfn function provides this value as an argument * instead of an array value. */ - reduce(callbackfn: (previousValue: U, currentValue: number, currentIndex: number, array: Float32Array) => U, initialValue: U): U; + reduce(callbackfn: (previousValue: U, currentValue: number, currentIndex: number, array: this) => U, initialValue: U): U; /** * Calls the specified callback function for all the elements in an array, in descending order. @@ -4002,8 +4002,8 @@ interface Float32Array { * the accumulation. The first call to the callbackfn function provides this value as an * argument instead of an array value. */ - reduceRight(callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: Float32Array) => number): number; - reduceRight(callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: Float32Array) => number, initialValue: number): number; + reduceRight(callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: this) => number): number; + reduceRight(callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: this) => number, initialValue: number): number; /** * Calls the specified callback function for all the elements in an array, in descending order. @@ -4015,12 +4015,12 @@ interface Float32Array { * the accumulation. The first call to the callbackfn function provides this value as an argument * instead of an array value. */ - reduceRight(callbackfn: (previousValue: U, currentValue: number, currentIndex: number, array: Float32Array) => U, initialValue: U): U; + reduceRight(callbackfn: (previousValue: U, currentValue: number, currentIndex: number, array: this) => U, initialValue: U): U; /** * Reverses the elements in an Array. */ - reverse(): Float32Array; + reverse(): this; /** * Sets a value or an array of values. @@ -4034,7 +4034,7 @@ interface Float32Array { * @param start The beginning of the specified portion of the array. * @param end The end of the specified portion of the array. This is exclusive of the element at the index 'end'. */ - slice(start?: number, end?: number): Float32Array; + slice(start?: number, end?: number): Float32Array; /** * Determines whether the specified callback function returns true for any element of an array. @@ -4044,7 +4044,7 @@ interface Float32Array { * @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. */ - some(predicate: (value: number, index: number, array: Float32Array) => unknown, thisArg?: any): boolean; + some(predicate: (value: number, index: number, array: this) => unknown, thisArg?: any): boolean; /** * Sorts an array. @@ -4063,7 +4063,7 @@ interface Float32Array { * @param begin The index of the beginning of the array. * @param end The index of the end of the array. */ - subarray(begin?: number, end?: number): Float32Array; + subarray(begin?: number, end?: number): Float32Array; /** * Converts a number to a string by using the current locale. @@ -4076,16 +4076,16 @@ interface Float32Array { toString(): string; /** Returns the primitive value of the specified object. */ - valueOf(): Float32Array; + valueOf(): this; [index: number]: number; } - interface Float32ArrayConstructor { - readonly prototype: Float32Array; - new (length: number): Float32Array; - new (array: ArrayLike | ArrayBufferLike): Float32Array; - new (buffer: ArrayBufferLike, byteOffset?: number, length?: number): Float32Array; + readonly prototype: Float32Array; + new (length: number): Float32Array; + new (array: ArrayLike): Float32Array; + new (buffer: TArrayBuffer, byteOffset?: number, length?: number): Float32Array; + new (array: ArrayLike | ArrayBuffer): Float32Array; /** * The size in bytes of each element in the array. @@ -4096,13 +4096,13 @@ interface Float32ArrayConstructor { * Returns a new array from a set of elements. * @param items A set of elements to include in the new array object. */ - of(...items: number[]): Float32Array; + of(...items: number[]): Float32Array; /** * Creates an array from an array-like or iterable object. * @param arrayLike An array-like or iterable object to convert to an array. */ - from(arrayLike: ArrayLike): Float32Array; + from(arrayLike: ArrayLike): Float32Array; /** * Creates an array from an array-like or iterable object. @@ -4110,7 +4110,7 @@ interface Float32ArrayConstructor { * @param mapfn A mapping function to call on every element of the array. * @param thisArg Value of 'this' used to invoke the mapfn. */ - from(arrayLike: ArrayLike, mapfn: (v: T, k: number) => number, thisArg?: any): Float32Array; + from(arrayLike: ArrayLike, mapfn: (v: T, k: number) => number, thisArg?: any): Float32Array; } declare var Float32Array: Float32ArrayConstructor; @@ -4118,7 +4118,7 @@ declare var Float32Array: Float32ArrayConstructor; * A typed array of 64-bit float values. The contents are initialized to 0. If the requested * number of bytes could not be allocated an exception is raised. */ -interface Float64Array { +interface Float64Array { /** * The size in bytes of each element in the array. */ @@ -4127,7 +4127,7 @@ interface Float64Array { /** * The ArrayBuffer instance referenced by the array. */ - readonly buffer: ArrayBufferLike; + readonly buffer: TArrayBuffer; /** * The length in bytes of the array. @@ -4158,7 +4158,7 @@ interface Float64Array { * @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. */ - every(predicate: (value: number, index: number, array: Float64Array) => unknown, thisArg?: any): boolean; + every(predicate: (value: number, index: number, array: this) => unknown, thisArg?: any): boolean; /** * Changes all array elements from `start` to `end` index to a static `value` and returns the modified array @@ -4177,7 +4177,7 @@ interface Float64Array { * @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. */ - filter(predicate: (value: number, index: number, array: Float64Array) => any, thisArg?: any): Float64Array; + filter(predicate: (value: number, index: number, array: this) => any, thisArg?: any): Float64Array; /** * Returns the value of the first element in the array where predicate is true, and undefined @@ -4188,7 +4188,7 @@ interface Float64Array { * @param thisArg If provided, it will be used as the this value for each invocation of * predicate. If it is not provided, undefined is used instead. */ - find(predicate: (value: number, index: number, obj: Float64Array) => boolean, thisArg?: any): number | undefined; + find(predicate: (value: number, index: number, obj: this) => boolean, thisArg?: any): number | undefined; /** * Returns the index of the first element in the array where predicate is true, and -1 @@ -4199,7 +4199,7 @@ interface Float64Array { * @param thisArg If provided, it will be used as the this value for each invocation of * predicate. If it is not provided, undefined is used instead. */ - findIndex(predicate: (value: number, index: number, obj: Float64Array) => boolean, thisArg?: any): number; + findIndex(predicate: (value: number, index: number, obj: this) => boolean, thisArg?: any): number; /** * Performs the specified action for each element in an array. @@ -4208,7 +4208,7 @@ interface Float64Array { * @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. */ - forEach(callbackfn: (value: number, index: number, array: Float64Array) => void, thisArg?: any): void; + forEach(callbackfn: (value: number, index: number, array: this) => void, thisArg?: any): void; /** * Returns the index of the first occurrence of a value in an array. @@ -4246,7 +4246,7 @@ interface Float64Array { * @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. */ - map(callbackfn: (value: number, index: number, array: Float64Array) => number, thisArg?: any): Float64Array; + map(callbackfn: (value: number, index: number, array: this) => number, thisArg?: any): Float64Array; /** * Calls the specified callback function for all the elements in an array. The return value of @@ -4258,8 +4258,8 @@ interface Float64Array { * the accumulation. The first call to the callbackfn function provides this value as an argument * instead of an array value. */ - reduce(callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: Float64Array) => number): number; - reduce(callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: Float64Array) => number, initialValue: number): number; + reduce(callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: this) => number): number; + reduce(callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: this) => number, initialValue: number): number; /** * Calls the specified callback function for all the elements in an array. The return value of @@ -4271,7 +4271,7 @@ interface Float64Array { * the accumulation. The first call to the callbackfn function provides this value as an argument * instead of an array value. */ - reduce(callbackfn: (previousValue: U, currentValue: number, currentIndex: number, array: Float64Array) => U, initialValue: U): U; + reduce(callbackfn: (previousValue: U, currentValue: number, currentIndex: number, array: this) => U, initialValue: U): U; /** * Calls the specified callback function for all the elements in an array, in descending order. @@ -4283,8 +4283,8 @@ interface Float64Array { * the accumulation. The first call to the callbackfn function provides this value as an * argument instead of an array value. */ - reduceRight(callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: Float64Array) => number): number; - reduceRight(callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: Float64Array) => number, initialValue: number): number; + reduceRight(callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: this) => number): number; + reduceRight(callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: this) => number, initialValue: number): number; /** * Calls the specified callback function for all the elements in an array, in descending order. @@ -4296,12 +4296,12 @@ interface Float64Array { * the accumulation. The first call to the callbackfn function provides this value as an argument * instead of an array value. */ - reduceRight(callbackfn: (previousValue: U, currentValue: number, currentIndex: number, array: Float64Array) => U, initialValue: U): U; + reduceRight(callbackfn: (previousValue: U, currentValue: number, currentIndex: number, array: this) => U, initialValue: U): U; /** * Reverses the elements in an Array. */ - reverse(): Float64Array; + reverse(): this; /** * Sets a value or an array of values. @@ -4315,7 +4315,7 @@ interface Float64Array { * @param start The beginning of the specified portion of the array. * @param end The end of the specified portion of the array. This is exclusive of the element at the index 'end'. */ - slice(start?: number, end?: number): Float64Array; + slice(start?: number, end?: number): Float64Array; /** * Determines whether the specified callback function returns true for any element of an array. @@ -4325,7 +4325,7 @@ interface Float64Array { * @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. */ - some(predicate: (value: number, index: number, array: Float64Array) => unknown, thisArg?: any): boolean; + some(predicate: (value: number, index: number, array: this) => unknown, thisArg?: any): boolean; /** * Sorts an array. @@ -4344,7 +4344,7 @@ interface Float64Array { * @param begin The index of the beginning of the array. * @param end The index of the end of the array. */ - subarray(begin?: number, end?: number): Float64Array; + subarray(begin?: number, end?: number): Float64Array; /** * Converts a number to a string by using the current locale. @@ -4357,16 +4357,16 @@ interface Float64Array { toString(): string; /** Returns the primitive value of the specified object. */ - valueOf(): Float64Array; + valueOf(): this; [index: number]: number; } - interface Float64ArrayConstructor { - readonly prototype: Float64Array; - new (length: number): Float64Array; - new (array: ArrayLike | ArrayBufferLike): Float64Array; - new (buffer: ArrayBufferLike, byteOffset?: number, length?: number): Float64Array; + readonly prototype: Float64Array; + new (length: number): Float64Array; + new (array: ArrayLike): Float64Array; + new (buffer: TArrayBuffer, byteOffset?: number, length?: number): Float64Array; + new (array: ArrayLike | ArrayBuffer): Float64Array; /** * The size in bytes of each element in the array. @@ -4377,13 +4377,13 @@ interface Float64ArrayConstructor { * Returns a new array from a set of elements. * @param items A set of elements to include in the new array object. */ - of(...items: number[]): Float64Array; + of(...items: number[]): Float64Array; /** * Creates an array from an array-like or iterable object. * @param arrayLike An array-like or iterable object to convert to an array. */ - from(arrayLike: ArrayLike): Float64Array; + from(arrayLike: ArrayLike): Float64Array; /** * Creates an array from an array-like or iterable object. @@ -4391,7 +4391,7 @@ interface Float64ArrayConstructor { * @param mapfn A mapping function to call on every element of the array. * @param thisArg Value of 'this' used to invoke the mapfn. */ - from(arrayLike: ArrayLike, mapfn: (v: T, k: number) => number, thisArg?: any): Float64Array; + from(arrayLike: ArrayLike, mapfn: (v: T, k: number) => number, thisArg?: any): Float64Array; } declare var Float64Array: Float64ArrayConstructor; diff --git a/node_modules/typescript/lib/lib.esnext.array.d.ts b/node_modules/typescript/lib/lib.esnext.array.d.ts index 39efbba0dd..44df229536 100644 --- a/node_modules/typescript/lib/lib.esnext.array.d.ts +++ b/node_modules/typescript/lib/lib.esnext.array.d.ts @@ -31,5 +31,5 @@ interface ArrayConstructor { * Each return value is awaited before being added to result array. * @param thisArg Value of 'this' used when executing mapfn. */ - fromAsync(iterableOrArrayLike: AsyncIterable | Iterable | ArrayLike, mapFn: (value: Awaited) => U, thisArg?: any): Promise[]>; + fromAsync(iterableOrArrayLike: AsyncIterable | Iterable | ArrayLike, mapFn: (value: Awaited, index: number) => U, thisArg?: any): Promise[]>; } diff --git a/node_modules/typescript/lib/lib.esnext.collection.d.ts b/node_modules/typescript/lib/lib.esnext.collection.d.ts index 1278a38f67..46b0b08951 100644 --- a/node_modules/typescript/lib/lib.esnext.collection.d.ts +++ b/node_modules/typescript/lib/lib.esnext.collection.d.ts @@ -16,17 +16,7 @@ and limitations under the License. /// -interface MapConstructor { - /** - * Groups members of an iterable according to the return value of the passed callback. - * @param items An iterable. - * @param keySelector A callback which will be invoked for each item in items. - */ - groupBy( - items: Iterable, - keySelector: (item: T, index: number) => K, - ): Map; -} +/// interface ReadonlySetLike { /** diff --git a/node_modules/typescript/lib/lib.esnext.d.ts b/node_modules/typescript/lib/lib.esnext.d.ts index e0217b6c60..37b5ea5ed6 100644 --- a/node_modules/typescript/lib/lib.esnext.d.ts +++ b/node_modules/typescript/lib/lib.esnext.d.ts @@ -16,14 +16,10 @@ and limitations under the License. /// -/// +/// /// /// /// -/// -/// /// /// -/// -/// /// diff --git a/node_modules/typescript/lib/lib.webworker.d.ts b/node_modules/typescript/lib/lib.webworker.d.ts index ba727932e7..28b6f4d1e8 100644 --- a/node_modules/typescript/lib/lib.webworker.d.ts +++ b/node_modules/typescript/lib/lib.webworker.d.ts @@ -65,6 +65,59 @@ interface AudioConfiguration { spatialRendering?: boolean; } +interface AudioDataCopyToOptions { + format?: AudioSampleFormat; + frameCount?: number; + frameOffset?: number; + planeIndex: number; +} + +interface AudioDataInit { + data: BufferSource; + format: AudioSampleFormat; + numberOfChannels: number; + numberOfFrames: number; + sampleRate: number; + timestamp: number; + transfer?: ArrayBuffer[]; +} + +interface AudioDecoderConfig { + codec: string; + description?: BufferSource; + numberOfChannels: number; + sampleRate: number; +} + +interface AudioDecoderInit { + error: WebCodecsErrorCallback; + output: AudioDataOutputCallback; +} + +interface AudioDecoderSupport { + config?: AudioDecoderConfig; + supported?: boolean; +} + +interface AudioEncoderConfig { + bitrate?: number; + bitrateMode?: BitrateMode; + codec: string; + numberOfChannels: number; + opus?: OpusEncoderConfig; + sampleRate: number; +} + +interface AudioEncoderInit { + error: WebCodecsErrorCallback; + output: EncodedAudioChunkOutputCallback; +} + +interface AudioEncoderSupport { + config?: AudioEncoderConfig; + supported?: boolean; +} + interface AvcEncoderConfig { format?: AvcBitstreamFormat; } @@ -181,6 +234,18 @@ interface EcdsaParams extends Algorithm { hash: HashAlgorithmIdentifier; } +interface EncodedAudioChunkInit { + data: AllowSharedBufferSource; + duration?: number; + timestamp: number; + transfer?: ArrayBuffer[]; + type: EncodedAudioChunkType; +} + +interface EncodedAudioChunkMetadata { + decoderConfig?: AudioDecoderConfig; +} + interface EncodedVideoChunkInit { data: AllowSharedBufferSource; duration?: number; @@ -448,6 +513,15 @@ interface NotificationOptions { tag?: string; } +interface OpusEncoderConfig { + complexity?: number; + format?: OpusBitstreamFormat; + frameDuration?: number; + packetlossperc?: number; + usedtx?: boolean; + useinbandfec?: boolean; +} + interface Pbkdf2Params extends Algorithm { hash: HashAlgorithmIdentifier; iterations: number; @@ -768,6 +842,7 @@ interface VideoConfiguration { colorGamut?: ColorGamut; contentType: string; framerate: number; + hasAlphaChannel?: boolean; hdrMetadataType?: HdrMetadataType; height: number; scalabilityMode?: string; @@ -803,6 +878,7 @@ interface VideoEncoderConfig { bitrate?: number; bitrateMode?: VideoEncoderBitrateMode; codec: string; + contentHint?: string; displayHeight?: number; displayWidth?: number; framerate?: number; @@ -814,9 +890,14 @@ interface VideoEncoderConfig { } interface VideoEncoderEncodeOptions { + avc?: VideoEncoderEncodeOptionsForAvc; keyFrame?: boolean; } +interface VideoEncoderEncodeOptionsForAvc { + quantizer?: number | null; +} + interface VideoEncoderInit { error: WebCodecsErrorCallback; output: EncodedVideoChunkOutputCallback; @@ -841,6 +922,8 @@ interface VideoFrameBufferInit { } interface VideoFrameCopyToOptions { + colorSpace?: PredefinedColorSpace; + format?: VideoPixelFormat; layout?: PlaneLayout[]; rect?: DOMRectInit; } @@ -1008,6 +1091,113 @@ interface AnimationFrameProvider { requestAnimationFrame(callback: FrameRequestCallback): number; } +/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioData) */ +interface AudioData { + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioData/duration) */ + readonly duration: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioData/format) */ + readonly format: AudioSampleFormat | null; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioData/numberOfChannels) */ + readonly numberOfChannels: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioData/numberOfFrames) */ + readonly numberOfFrames: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioData/sampleRate) */ + readonly sampleRate: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioData/timestamp) */ + readonly timestamp: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioData/allocationSize) */ + allocationSize(options: AudioDataCopyToOptions): number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioData/clone) */ + clone(): AudioData; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioData/close) */ + close(): void; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioData/copyTo) */ + copyTo(destination: AllowSharedBufferSource, options: AudioDataCopyToOptions): void; +} + +declare var AudioData: { + prototype: AudioData; + new(init: AudioDataInit): AudioData; +}; + +interface AudioDecoderEventMap { + "dequeue": Event; +} + +/** + * Available only in secure contexts. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioDecoder) + */ +interface AudioDecoder extends EventTarget { + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioDecoder/decodeQueueSize) */ + readonly decodeQueueSize: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioDecoder/dequeue_event) */ + ondequeue: ((this: AudioDecoder, ev: Event) => any) | null; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioDecoder/state) */ + readonly state: CodecState; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioDecoder/close) */ + close(): void; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioDecoder/configure) */ + configure(config: AudioDecoderConfig): void; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioDecoder/decode) */ + decode(chunk: EncodedAudioChunk): void; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioDecoder/flush) */ + flush(): Promise; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioDecoder/reset) */ + reset(): void; + addEventListener(type: K, listener: (this: AudioDecoder, ev: AudioDecoderEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; + addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; + removeEventListener(type: K, listener: (this: AudioDecoder, ev: AudioDecoderEventMap[K]) => any, options?: boolean | EventListenerOptions): void; + removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; +} + +declare var AudioDecoder: { + prototype: AudioDecoder; + new(init: AudioDecoderInit): AudioDecoder; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioDecoder/isConfigSupported_static) */ + isConfigSupported(config: AudioDecoderConfig): Promise; +}; + +interface AudioEncoderEventMap { + "dequeue": Event; +} + +/** + * Available only in secure contexts. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioEncoder) + */ +interface AudioEncoder extends EventTarget { + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioEncoder/encodeQueueSize) */ + readonly encodeQueueSize: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioEncoder/dequeue_event) */ + ondequeue: ((this: AudioEncoder, ev: Event) => any) | null; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioEncoder/state) */ + readonly state: CodecState; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioEncoder/close) */ + close(): void; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioEncoder/configure) */ + configure(config: AudioEncoderConfig): void; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioEncoder/encode) */ + encode(data: AudioData): void; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioEncoder/flush) */ + flush(): Promise; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioEncoder/reset) */ + reset(): void; + addEventListener(type: K, listener: (this: AudioEncoder, ev: AudioEncoderEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; + addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; + removeEventListener(type: K, listener: (this: AudioEncoder, ev: AudioEncoderEventMap[K]) => any, options?: boolean | EventListenerOptions): void; + removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; +} + +declare var AudioEncoder: { + prototype: AudioEncoder; + new(init: AudioEncoderInit): AudioEncoder; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioEncoder/isConfigSupported_static) */ + isConfigSupported(config: AudioEncoderConfig): Promise; +}; + /** * 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. * @@ -1020,6 +1210,8 @@ interface Blob { readonly type: string; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Blob/arrayBuffer) */ arrayBuffer(): Promise; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Blob/bytes) */ + bytes(): Promise; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Blob/slice) */ slice(start?: number, end?: number, contentType?: string): Blob; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Blob/stream) */ @@ -1042,6 +1234,8 @@ interface Body { arrayBuffer(): Promise; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Request/blob) */ blob(): Promise; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Request/bytes) */ + bytes(): Promise; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Request/formData) */ formData(): Promise; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Request/json) */ @@ -1805,6 +1999,8 @@ declare var CloseEvent: { /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CompressionStream) */ interface CompressionStream extends GenericTransformStream { + readonly readable: ReadableStream; + readonly writable: WritableStream; } declare var CompressionStream: { @@ -1974,27 +2170,49 @@ declare var DOMException: { /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrix) */ interface DOMMatrix extends DOMMatrixReadOnly { + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrix#instance_properties) */ a: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrix#instance_properties) */ b: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrix#instance_properties) */ c: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrix#instance_properties) */ d: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrix#instance_properties) */ e: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrix#instance_properties) */ f: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrix#instance_properties) */ m11: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrix#instance_properties) */ m12: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrix#instance_properties) */ m13: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrix#instance_properties) */ m14: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrix#instance_properties) */ m21: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrix#instance_properties) */ m22: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrix#instance_properties) */ m23: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrix#instance_properties) */ m24: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrix#instance_properties) */ m31: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrix#instance_properties) */ m32: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrix#instance_properties) */ m33: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrix#instance_properties) */ m34: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrix#instance_properties) */ m41: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrix#instance_properties) */ m42: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrix#instance_properties) */ m43: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrix#instance_properties) */ m44: number; invertSelf(): DOMMatrix; multiplySelf(other?: DOMMatrixInit): DOMMatrix; @@ -2019,29 +2237,51 @@ declare var DOMMatrix: { /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly) */ interface DOMMatrixReadOnly { + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly#instance_properties) */ readonly a: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly#instance_properties) */ readonly b: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly#instance_properties) */ readonly c: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly#instance_properties) */ readonly d: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly#instance_properties) */ readonly e: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly#instance_properties) */ readonly f: number; readonly is2D: boolean; readonly isIdentity: boolean; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly#instance_properties) */ readonly m11: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly#instance_properties) */ readonly m12: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly#instance_properties) */ readonly m13: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly#instance_properties) */ readonly m14: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly#instance_properties) */ readonly m21: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly#instance_properties) */ readonly m22: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly#instance_properties) */ readonly m23: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly#instance_properties) */ readonly m24: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly#instance_properties) */ readonly m31: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly#instance_properties) */ readonly m32: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly#instance_properties) */ readonly m33: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly#instance_properties) */ readonly m34: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly#instance_properties) */ readonly m41: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly#instance_properties) */ readonly m42: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly#instance_properties) */ readonly m43: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly#instance_properties) */ readonly m44: number; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/flipX) */ flipX(): DOMMatrix; @@ -2209,6 +2449,8 @@ declare var DOMStringList: { /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DecompressionStream) */ interface DecompressionStream extends GenericTransformStream { + readonly readable: ReadableStream; + readonly writable: WritableStream; } declare var DecompressionStream: { @@ -2219,7 +2461,7 @@ declare var DecompressionStream: { interface DedicatedWorkerGlobalScopeEventMap extends WorkerGlobalScopeEventMap { "message": MessageEvent; "messageerror": MessageEvent; - "rtctransform": Event; + "rtctransform": RTCTransformEvent; } /** @@ -2239,7 +2481,7 @@ interface DedicatedWorkerGlobalScope extends WorkerGlobalScope, AnimationFramePr /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DedicatedWorkerGlobalScope/messageerror_event) */ onmessageerror: ((this: DedicatedWorkerGlobalScope, ev: MessageEvent) => any) | null; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DedicatedWorkerGlobalScope/rtctransform_event) */ - onrtctransform: ((this: DedicatedWorkerGlobalScope, ev: Event) => any) | null; + onrtctransform: ((this: DedicatedWorkerGlobalScope, ev: RTCTransformEvent) => any) | null; /** * Aborts dedicatedWorkerGlobal. * @@ -2344,6 +2586,25 @@ interface EXT_texture_norm16 { readonly RGBA16_SNORM_EXT: 0x8F9B; } +/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/EncodedAudioChunk) */ +interface EncodedAudioChunk { + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/EncodedAudioChunk/byteLength) */ + readonly byteLength: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/EncodedAudioChunk/duration) */ + readonly duration: number | null; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/EncodedAudioChunk/timestamp) */ + readonly timestamp: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/EncodedAudioChunk/type) */ + readonly type: EncodedAudioChunkType; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/EncodedAudioChunk/copyTo) */ + copyTo(destination: AllowSharedBufferSource): void; +} + +declare var EncodedAudioChunk: { + prototype: EncodedAudioChunk; + new(init: EncodedAudioChunkInit): EncodedAudioChunk; +}; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/EncodedVideoChunk) */ interface EncodedVideoChunk { /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/EncodedVideoChunk/byteLength) */ @@ -2944,23 +3205,23 @@ interface FontFace { declare var FontFace: { prototype: FontFace; - new(family: string, source: string | BinaryData, descriptors?: FontFaceDescriptors): FontFace; + new(family: string, source: string | BufferSource, descriptors?: FontFaceDescriptors): FontFace; }; interface FontFaceSetEventMap { - "loading": Event; - "loadingdone": Event; - "loadingerror": Event; + "loading": FontFaceSetLoadEvent; + "loadingdone": FontFaceSetLoadEvent; + "loadingerror": FontFaceSetLoadEvent; } /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/FontFaceSet) */ interface FontFaceSet extends EventTarget { /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/FontFaceSet/loading_event) */ - onloading: ((this: FontFaceSet, ev: Event) => any) | null; + onloading: ((this: FontFaceSet, ev: FontFaceSetLoadEvent) => any) | null; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/FontFaceSet/loadingdone_event) */ - onloadingdone: ((this: FontFaceSet, ev: Event) => any) | null; + onloadingdone: ((this: FontFaceSet, ev: FontFaceSetLoadEvent) => any) | null; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/FontFaceSet/loadingerror_event) */ - onloadingerror: ((this: FontFaceSet, ev: Event) => any) | null; + onloadingerror: ((this: FontFaceSet, ev: FontFaceSetLoadEvent) => any) | null; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/FontFaceSet/ready) */ readonly ready: Promise; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/FontFaceSet/status) */ @@ -2978,7 +3239,7 @@ interface FontFaceSet extends EventTarget { declare var FontFaceSet: { prototype: FontFaceSet; - new(initialFaces: FontFace[]): FontFaceSet; + new(): FontFaceSet; }; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/FontFaceSetLoadEvent) */ @@ -3689,7 +3950,7 @@ interface IDBTransaction extends EventTarget { /** * 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. * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBTransaction/ObjectStoreNames) + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBTransaction/objectStoreNames) */ readonly objectStoreNames: DOMStringList; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBTransaction/abort_event) */ @@ -4254,7 +4515,7 @@ interface OES_vertex_array_object { /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/OES_vertex_array_object/bindVertexArrayOES) */ bindVertexArrayOES(arrayObject: WebGLVertexArrayObjectOES | null): void; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/OES_vertex_array_object/createVertexArrayOES) */ - createVertexArrayOES(): WebGLVertexArrayObjectOES | null; + createVertexArrayOES(): WebGLVertexArrayObjectOES; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/OES_vertex_array_object/deleteVertexArrayOES) */ deleteVertexArrayOES(arrayObject: WebGLVertexArrayObjectOES | null): void; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/OES_vertex_array_object/isVertexArrayOES) */ @@ -4340,6 +4601,7 @@ declare var OffscreenCanvas: { /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/OffscreenCanvasRenderingContext2D) */ interface OffscreenCanvasRenderingContext2D extends CanvasCompositing, CanvasDrawImage, CanvasDrawPath, CanvasFillStrokeStyles, CanvasFilters, CanvasImageData, CanvasImageSmoothing, CanvasPath, CanvasPathDrawingStyles, CanvasRect, CanvasShadowStyles, CanvasState, CanvasText, CanvasTextDrawingStyles, CanvasTransform { + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CanvasRenderingContext2D/canvas) */ readonly canvas: OffscreenCanvas; } @@ -4533,6 +4795,8 @@ interface PerformanceResourceTiming extends PerformanceEntry { readonly responseEnd: DOMHighResTimeStamp; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/PerformanceResourceTiming/responseStart) */ readonly responseStart: DOMHighResTimeStamp; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/PerformanceResourceTiming/responseStatus) */ + readonly responseStatus: number; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/PerformanceResourceTiming/secureConnectionStart) */ readonly secureConnectionStart: DOMHighResTimeStamp; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/PerformanceResourceTiming/serverTiming) */ @@ -4683,6 +4947,8 @@ interface PushMessageData { arrayBuffer(): ArrayBuffer; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/PushMessageData/blob) */ blob(): Blob; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/PushMessageData/bytes) */ + bytes(): Uint8Array; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/PushMessageData/json) */ json(): any; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/PushMessageData/text) */ @@ -4857,7 +5123,7 @@ interface ReadableStreamBYOBReader extends ReadableStreamGenericReader { declare var ReadableStreamBYOBReader: { prototype: ReadableStreamBYOBReader; - new(stream: ReadableStream): ReadableStreamBYOBReader; + new(stream: ReadableStream): ReadableStreamBYOBReader; }; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReadableStreamBYOBRequest) */ @@ -5368,7 +5634,7 @@ interface SubtleCrypto { /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SubtleCrypto/decrypt) */ decrypt(algorithm: AlgorithmIdentifier | RsaOaepParams | AesCtrParams | AesCbcParams | AesGcmParams, key: CryptoKey, data: BufferSource): Promise; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SubtleCrypto/deriveBits) */ - deriveBits(algorithm: AlgorithmIdentifier | EcdhKeyDeriveParams | HkdfParams | Pbkdf2Params, baseKey: CryptoKey, length: number): Promise; + deriveBits(algorithm: AlgorithmIdentifier | EcdhKeyDeriveParams | HkdfParams | Pbkdf2Params, baseKey: CryptoKey, length?: number | null): Promise; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SubtleCrypto/deriveKey) */ deriveKey(algorithm: AlgorithmIdentifier | EcdhKeyDeriveParams | HkdfParams | Pbkdf2Params, baseKey: CryptoKey, derivedKeyType: AlgorithmIdentifier | AesDerivedKeyParams | HmacImportParams | HkdfParams | Pbkdf2Params, extractable: boolean, keyUsages: KeyUsage[]): Promise; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SubtleCrypto/digest) */ @@ -6637,13 +6903,13 @@ interface WebGL2RenderingContextBase { /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/copyTexSubImage3D) */ copyTexSubImage3D(target: GLenum, level: GLint, xoffset: GLint, yoffset: GLint, zoffset: GLint, x: GLint, y: GLint, width: GLsizei, height: GLsizei): void; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/createQuery) */ - createQuery(): WebGLQuery | null; + createQuery(): WebGLQuery; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/createSampler) */ - createSampler(): WebGLSampler | null; + createSampler(): WebGLSampler; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/createTransformFeedback) */ - createTransformFeedback(): WebGLTransformFeedback | null; + createTransformFeedback(): WebGLTransformFeedback; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/createVertexArray) */ - createVertexArray(): WebGLVertexArrayObject | null; + createVertexArray(): WebGLVertexArrayObject; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/deleteQuery) */ deleteQuery(query: WebGLQuery | null): void; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/deleteSampler) */ @@ -7556,17 +7822,17 @@ interface WebGLRenderingContextBase { /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/copyTexSubImage2D) */ copyTexSubImage2D(target: GLenum, level: GLint, xoffset: GLint, yoffset: GLint, x: GLint, y: GLint, width: GLsizei, height: GLsizei): void; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/createBuffer) */ - createBuffer(): WebGLBuffer | null; + createBuffer(): WebGLBuffer; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/createFramebuffer) */ - createFramebuffer(): WebGLFramebuffer | null; + createFramebuffer(): WebGLFramebuffer; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/createProgram) */ - createProgram(): WebGLProgram | null; + createProgram(): WebGLProgram; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/createRenderbuffer) */ - createRenderbuffer(): WebGLRenderbuffer | null; + createRenderbuffer(): WebGLRenderbuffer; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/createShader) */ createShader(type: GLenum): WebGLShader | null; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/createTexture) */ - createTexture(): WebGLTexture | null; + createTexture(): WebGLTexture; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/cullFace) */ cullFace(mode: GLenum): void; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/deleteBuffer) */ @@ -8454,7 +8720,7 @@ interface WindowOrWorkerGlobalScope { /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/createImageBitmap) */ createImageBitmap(image: ImageBitmapSource, options?: ImageBitmapOptions): Promise; createImageBitmap(image: ImageBitmapSource, sx: number, sy: number, sw: number, sh: number, options?: ImageBitmapOptions): Promise; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/fetch) */ + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/fetch) */ fetch(input: RequestInfo | URL, init?: RequestInit): Promise; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/queueMicrotask) */ queueMicrotask(callback: VoidFunction): void; @@ -8878,7 +9144,7 @@ interface Console { clear(): void; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/count_static) */ count(label?: string): void; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/countreset_static) */ + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/countReset_static) */ countReset(label?: string): void; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/debug_static) */ debug(...data: any[]): void; @@ -8890,9 +9156,9 @@ interface Console { error(...data: any[]): void; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/group_static) */ group(...data: any[]): void; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/groupcollapsed_static) */ + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/groupCollapsed_static) */ groupCollapsed(...data: any[]): void; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/groupend_static) */ + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/groupEnd_static) */ groupEnd(): void; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/info_static) */ info(...data: any[]): void; @@ -8902,9 +9168,9 @@ interface Console { table(tabularData?: any, properties?: string[]): void; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/time_static) */ time(label?: string): void; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/timeend_static) */ + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/timeEnd_static) */ timeEnd(label?: string): void; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/timelog_static) */ + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/timeLog_static) */ timeLog(label?: string, ...data: any[]): void; timeStamp(label?: string): void; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/trace_static) */ @@ -9074,6 +9340,14 @@ declare namespace WebAssembly { function validate(bytes: BufferSource): boolean; } +interface AudioDataOutputCallback { + (output: AudioData): void; +} + +interface EncodedAudioChunkOutputCallback { + (output: EncodedAudioChunk, metadata?: EncodedAudioChunkMetadata): void; +} + interface EncodedVideoChunkOutputCallback { (chunk: EncodedVideoChunk, metadata?: EncodedVideoChunkMetadata): void; } @@ -9165,7 +9439,7 @@ declare var onmessage: ((this: DedicatedWorkerGlobalScope, ev: MessageEvent) => /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DedicatedWorkerGlobalScope/messageerror_event) */ declare var onmessageerror: ((this: DedicatedWorkerGlobalScope, ev: MessageEvent) => any) | null; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DedicatedWorkerGlobalScope/rtctransform_event) */ -declare var onrtctransform: ((this: DedicatedWorkerGlobalScope, ev: Event) => any) | null; +declare var onrtctransform: ((this: DedicatedWorkerGlobalScope, ev: RTCTransformEvent) => any) | null; /** * Aborts dedicatedWorkerGlobal. * @@ -9258,7 +9532,7 @@ declare function clearTimeout(id: number | undefined): void; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/createImageBitmap) */ declare function createImageBitmap(image: ImageBitmapSource, options?: ImageBitmapOptions): Promise; declare function createImageBitmap(image: ImageBitmapSource, sx: number, sy: number, sw: number, sh: number, options?: ImageBitmapOptions): Promise; -/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/fetch) */ +/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/fetch) */ declare function fetch(input: RequestInfo | URL, init?: RequestInit): Promise; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/queueMicrotask) */ declare function queueMicrotask(callback: VoidFunction): void; @@ -9281,7 +9555,6 @@ declare function removeEventListener(type: string, listener: EventListenerOrEven type AlgorithmIdentifier = Algorithm | string; type AllowSharedBufferSource = ArrayBuffer | ArrayBufferView; type BigInteger = Uint8Array; -type BinaryData = ArrayBuffer | ArrayBufferView; type BlobPart = BufferSource | Blob | string; type BodyInit = ReadableStream | XMLHttpRequestBodyInit; type BufferSource = ArrayBufferView | ArrayBuffer; @@ -9326,12 +9599,14 @@ type ReportList = Report[]; type RequestInfo = Request | string; type TexImageSource = ImageBitmap | ImageData | OffscreenCanvas | VideoFrame; type TimerHandler = string | Function; -type Transferable = OffscreenCanvas | ImageBitmap | MessagePort | MediaSourceHandle | ReadableStream | WritableStream | TransformStream | VideoFrame | ArrayBuffer; +type Transferable = OffscreenCanvas | ImageBitmap | MessagePort | MediaSourceHandle | ReadableStream | WritableStream | TransformStream | AudioData | VideoFrame | ArrayBuffer; type Uint32List = Uint32Array | GLuint[]; type XMLHttpRequestBodyInit = Blob | BufferSource | FormData | URLSearchParams | string; type AlphaOption = "discard" | "keep"; +type AudioSampleFormat = "f32" | "f32-planar" | "s16" | "s16-planar" | "s32" | "s32-planar" | "u8" | "u8-planar"; type AvcBitstreamFormat = "annexb" | "avc"; type BinaryType = "arraybuffer" | "blob"; +type BitrateMode = "constant" | "variable"; type CSSMathOperator = "clamp" | "invert" | "max" | "min" | "negate" | "product" | "sum"; type CSSNumericBaseType = "angle" | "flex" | "frequency" | "length" | "percent" | "resolution" | "time"; type CanvasDirection = "inherit" | "ltr" | "rtl"; @@ -9350,6 +9625,7 @@ type ColorGamut = "p3" | "rec2020" | "srgb"; type ColorSpaceConversion = "default" | "none"; type CompressionFormat = "deflate" | "deflate-raw" | "gzip"; type DocumentVisibilityState = "hidden" | "visible"; +type EncodedAudioChunkType = "delta" | "key"; type EncodedVideoChunkType = "delta" | "key"; type EndingType = "native" | "transparent"; type FileSystemHandleKind = "directory" | "file"; @@ -9376,7 +9652,8 @@ type MediaEncodingType = "record" | "webrtc"; type NotificationDirection = "auto" | "ltr" | "rtl"; type NotificationPermission = "default" | "denied" | "granted"; type OffscreenRenderingContextId = "2d" | "bitmaprenderer" | "webgl" | "webgl2" | "webgpu"; -type PermissionName = "geolocation" | "notifications" | "persistent-storage" | "push" | "screen-wake-lock" | "xr-spatial-tracking"; +type OpusBitstreamFormat = "ogg" | "opus"; +type PermissionName = "geolocation" | "midi" | "notifications" | "persistent-storage" | "push" | "screen-wake-lock" | "storage-access"; type PermissionState = "denied" | "granted" | "prompt"; type PredefinedColorSpace = "display-p3" | "srgb"; type PremultiplyAlpha = "default" | "none" | "premultiply"; diff --git a/node_modules/typescript/lib/pl/diagnosticMessages.generated.json b/node_modules/typescript/lib/pl/diagnosticMessages.generated.json index f8e4a82746..78079d8ae0 100644 --- a/node_modules/typescript/lib/pl/diagnosticMessages.generated.json +++ b/node_modules/typescript/lib/pl/diagnosticMessages.generated.json @@ -179,6 +179,8 @@ "Add_override_modifier_95160": "Dodaj modyfikator „override”", "Add_parameter_name_90034": "Dodaj nazwę parametru", "Add_qualifier_to_all_unresolved_variables_matching_a_member_name_95037": "Dodaj kwalifikator do wszystkich nierozpoznanych zmiennych pasujących do nazwy składowej", + "Add_resolution_mode_import_attribute_95196": "Dodaj atrybut importu „resolution-mode”", + "Add_resolution_mode_import_attribute_to_all_type_only_imports_that_need_it_95197": "Dodaj atrybut importu „resolution-mode” do wszystkich importów tylko typu, które go potrzebują", "Add_return_type_0_90063": "Dodaj zwracany typ „{0}”", "Add_satisfies_and_a_type_assertion_to_this_expression_satisfies_T_as_T_to_make_the_type_explicit_9035": "Dodaj elementy satisfies i asercję typu do tego wyrażenia (satisfies T jako T), aby jawnie utworzyć typ.", "Add_satisfies_and_an_inline_type_assertion_with_0_90068": "Dodaj elementy satisfies i asercję typu wbudowanego za pomocą elementu „{0}”", @@ -299,7 +301,7 @@ "Assertions_require_the_call_target_to_be_an_identifier_or_qualified_name_2776": "Asercje wymagają, aby cel wywołania był identyfikatorem lub nazwą kwalifikowaną.", "Assigning_properties_to_functions_without_declaring_them_is_not_supported_with_isolatedDeclarations__9023": "Przypisywanie właściwości do funkcji bez deklarowania ich nie jest obsługiwane w przypadku opcji --isolatedDeclarations. Dodaj jawną deklarację właściwości przypisanych do tej funkcji.", "Asterisk_Slash_expected_1010": "Oczekiwano znaków „*/”.", - "At_least_one_accessor_must_have_an_explicit_return_type_annotation_with_isolatedDeclarations_9009": "Co najmniej jedna metoda dostępu musi mieć jawną adnotację zwracanego typu z wyrażeniem --isolatedDeclarations.", + "At_least_one_accessor_must_have_an_explicit_type_annotation_with_isolatedDeclarations_9009": "Co najmniej jeden akcesor musi mieć jawną adnotację typu z parametrem --isolatedDeclarations.", "Augmentations_for_the_global_scope_can_only_be_directly_nested_in_external_modules_or_ambient_module_2669": "Rozszerzenia zakresu globalnego mogą być zagnieżdżane bezpośrednio jedynie w modułach zewnętrznych lub deklaracjach modułów otoczenia.", "Augmentations_for_the_global_scope_should_have_declare_modifier_unless_they_appear_in_already_ambien_2670": "Rozszerzenia zakresu globalnego muszą mieć modyfikator „declare”, chyba że znajdują się w już otaczającym kontekście.", "Auto_discovery_for_typings_is_enabled_in_project_0_Running_extra_resolution_pass_for_module_1_using__6140": "Automatyczne odnajdowanie operacji wpisywania zostało włączone w projekcie „{0}”. Trwa uruchamianie dodatkowego przejścia rozwiązania dla modułu „{1}” przy użyciu lokalizacji pamięci podręcznej „{2}”.", @@ -543,7 +545,7 @@ "Declaration_emit_for_this_file_requires_preserving_this_import_for_augmentations_This_is_not_support_9026": "Emisja deklaracji dla tego pliku wymaga zachowania tego importu dla rozszerzeń. Nie jest to obsługiwane w przypadku parametru --isolatedDeclarations.", "Declaration_emit_for_this_file_requires_using_private_name_0_An_explicit_type_annotation_may_unblock_9005": "Emitowanie deklaracji dla tego pliku wymaga użycia nazwy prywatnej „{0}”. Jawna adnotacja typu może odblokować emitowanie deklaracji.", "Declaration_emit_for_this_file_requires_using_private_name_0_from_module_1_An_explicit_type_annotati_9006": "Emitowanie deklaracji dla tego pliku wymaga użycia nazwy prywatnej „{0}” z modułu „{1}”. Jawna adnotacja typu może odblokować emitowanie deklaracji.", - "Declaration_emit_for_this_parameter_requires_implicitly_adding_undefined_to_it_s_type_This_is_not_su_9025": "Emisja deklaracji dla tego parametru wymaga niejawnego dodania niezdefiniowanego do jego typu. Nie jest to obsługiwane w przypadku parametru --isolatedDeclarations.", + "Declaration_emit_for_this_parameter_requires_implicitly_adding_undefined_to_its_type_This_is_not_sup_9025": "Emisja deklaracji dla tego parametru wymaga niejawnego dodania parametru undefined do jego typu. Nie jest to obsługiwane w przypadku parametru --isolatedDeclarations.", "Declaration_expected_1146": "Oczekiwano deklaracji.", "Declaration_name_conflicts_with_built_in_global_identifier_0_2397": "Nazwa deklaracji powoduje konflikt z wbudowanym identyfikatorem globalnym „{0}”.", "Declaration_or_statement_expected_1128": "Oczekiwano deklaracji lub instrukcji.", @@ -850,7 +852,7 @@ "Generates_an_event_trace_and_a_list_of_types_6237": "Generuje śledzenie zdarzeń i listę typów.", "Generates_corresponding_d_ts_file_6002": "Generuje odpowiadający plik „d.ts”.", "Generates_corresponding_map_file_6043": "Generuje odpowiadający plik „map”.", - "Generator_implicitly_has_yield_type_0_because_it_does_not_yield_any_values_Consider_supplying_a_retu_7025": "Dla generatora niejawnie określono zwracany typ „{0}”, ponieważ nie zwraca on żadnych wartości. Rozważ podanie adnotacji zwracanego typu.", + "Generator_implicitly_has_yield_type_0_Consider_supplying_a_return_type_annotation_7025": "Generator niejawnie ma typ wstrzymania „{0}”. Rozważ podanie adnotacji zwracanego typu.", "Generators_are_not_allowed_in_an_ambient_context_1221": "Generatory nie są dozwolone w otaczającym kontekście.", "Generic_type_0_requires_1_type_argument_s_2314": "Typ ogólny „{0}” wymaga następującej liczby argumentów typu: {1}.", "Generic_type_0_requires_between_1_and_2_type_arguments_2707": "Typ ogólny „{0}” wymaga od {1} do {2} argumentów typu.", @@ -907,6 +909,7 @@ "Imported_via_0_from_file_1_with_packageId_2_1394": "Zaimportowano za pośrednictwem elementu {0} z pliku „{1}” o identyfikatorze packageId „{2}”", "Imported_via_0_from_file_1_with_packageId_2_to_import_importHelpers_as_specified_in_compilerOptions_1396": "Zaimportowano za pośrednictwem elementu {0} z pliku „{1}” o identyfikatorze packageId „{2}” w celu zaimportowania elementów „importHelpers” zgodnie z opcjami compilerOptions", "Imported_via_0_from_file_1_with_packageId_2_to_import_jsx_and_jsxs_factory_functions_1398": "Zaimportowano za pośrednictwem elementu {0} z pliku „{1}” o identyfikatorze packageId „{2}” w celu zaimportowania funkcji fabryki „jsx” i „jsxs”", + "Importing_a_JSON_file_into_an_ECMAScript_module_requires_a_type_Colon_json_import_attribute_when_mod_1543": "Importowanie pliku JSON do modułu ECMAScript wymaga atrybutu importu „type: „json””, gdy parametr „module” ma wartość „{0}”.", "Imports_are_not_permitted_in_module_augmentations_Consider_moving_them_to_the_enclosing_external_mod_2667": "Importy nie są dozwolone w rozszerzeniach modułów. Rozważ przeniesienie ich do obejmującego modułu zewnętrznego.", "In_ambient_enum_declarations_member_initializer_must_be_constant_expression_1066": "W deklaracjach wyliczenia otoczenia inicjator składowej musi być wyrażeniem stałym.", "In_an_enum_with_multiple_declarations_only_one_declaration_can_omit_an_initializer_for_its_first_enu_2432": "W przypadku wyliczenia z wieloma deklaracjami tylko jedna deklaracja może pominąć inicjator dla pierwszego elementu wyliczenia.", @@ -1059,6 +1062,7 @@ "Name_is_not_valid_95136": "Nazwa nie jest prawidłowa", "Named_capturing_groups_are_only_available_when_targeting_ES2018_or_later_1503": "Nazwane grupy przechwytywania są dostępne tylko w przypadku wartości docelowej „ES2018” lub nowszej.", "Named_capturing_groups_with_the_same_name_must_be_mutually_exclusive_to_each_other_1515": "Nazwane grupy przechwytywania o tej samej nazwie muszą się wzajemnie wykluczać.", + "Named_imports_from_a_JSON_file_into_an_ECMAScript_module_are_not_allowed_when_module_is_set_to_0_1544": "Nazwane importy z pliku JSON do modułu ECMAScript są niedozwolone, gdy parametr „module” ma wartość „{0}”.", "Named_property_0_of_types_1_and_2_are_not_identical_2319": "Nazwane właściwości „{0}” typów „{1}” i „{2}” nie są identyczne.", "Namespace_0_has_no_exported_member_1_2694": "Przestrzeń nazw „{0}” nie ma wyeksportowanej składowej „{1}”.", "Namespace_must_be_given_a_name_1437": "Przestrzeń nazw musi mieć nazwę.", @@ -1143,7 +1147,6 @@ "Option_project_cannot_be_mixed_with_source_files_on_a_command_line_5042": "Nie można mieszać opcji „project” z plikami źródłowymi w wierszu polecenia.", "Option_resolveJsonModule_cannot_be_specified_when_moduleResolution_is_set_to_classic_5070": "Nie można określić opcji „--resolveJsonModule”, gdy parametr „moduleResolution” ma wartość „classic”.", "Option_resolveJsonModule_cannot_be_specified_when_module_is_set_to_none_system_or_umd_5071": "Nie można określić opcji „--resolveJsonModule”, gdy parametr „module” ma wartość „none”, „system” lub „umd”.", - "Option_tsBuildInfoFile_cannot_be_specified_without_specifying_option_incremental_or_composite_or_if__5111": "Nie można określić opcji „tsBuildInfoFile” bez określenia opcji „incremental” lub „composite” albo jeśli nie jest uruchomiona opcja „tsc -b”.", "Option_verbatimModuleSyntax_cannot_be_used_when_module_is_set_to_UMD_AMD_or_System_5105": "Nie można użyć opcji „verbatimModuleSyntax”, gdy parametr „module” ma wartość „UMD”, „AMD” lub „System”.", "Options_0_and_1_cannot_be_combined_6370": "Nie można połączyć opcji „{0}” i „{1}”.", "Options_Colon_6027": "Opcje:", @@ -1413,6 +1416,7 @@ "Reusing_resolution_of_type_reference_directive_0_from_1_of_old_program_it_was_successfully_resolved__6391": "Ponowne użycie rozpoznawania dyrektywy odwołania typu „{0}” z „{1}” starego programu pomyślnie rozpoznano jako „{2}” o identyfikatorze pakietu „{3}”.", "Rewrite_all_as_indexed_access_types_95034": "Zmień wszystko na indeksowane typy dostępu", "Rewrite_as_the_indexed_access_type_0_90026": "Napisz ponownie jako indeksowany typ dostępu „{0}”", + "Rewrite_ts_tsx_mts_and_cts_file_extensions_in_relative_import_paths_to_their_JavaScript_equivalent_i_6421": "Ponownie zapisz rozszerzenia plików „.ts”, „.tsx”, „.mts” i „.cts” we względnych ścieżkach importu do ich odpowiedników języka JavaScript w plikach wyjściowych.", "Right_operand_of_is_unreachable_because_the_left_operand_is_never_nullish_2869": "Prawy operand elementu ?? jest nieosiągalny, ponieważ lewy operand nigdy nie dopuszcza wartości null.", "Root_directory_cannot_be_determined_skipping_primary_search_paths_6122": "Nie można określić katalogu głównego. Pomijanie ścieżek wyszukiwania podstawowego.", "Root_file_specified_for_compilation_1427": "Plik główny określony na potrzeby kompilacji", @@ -1633,6 +1637,8 @@ "There_are_types_at_0_but_this_result_could_not_be_resolved_when_respecting_package_json_exports_The__6278": "Istnieją typy w „{0}”, ale nie można rozpoznać tego wyniku podczas uwzględniania pliku package.json „exports”. Biblioteka „{1}” może wymagać zaktualizowania pliku package.json lub wpisywania tekstu.", "There_is_no_capturing_group_named_0_in_this_regular_expression_1532": "W tym wyrażeniu regularnym nie ma żadnej grupy przechwytywania o nazwie „{0}”.", "There_is_nothing_available_for_repetition_1507": "Brak dostępnych elementów do powtórzenia.", + "This_JSX_tag_requires_0_to_be_in_scope_but_it_could_not_be_found_2874": "Ten tag rozszerzenia JSX wymaga, aby element „{0}” był w zakresie, ale nie można go znaleźć.", + "This_JSX_tag_requires_the_module_path_0_to_exist_but_none_could_be_found_Make_sure_you_have_types_fo_2875": "Ten tag rozszerzenia JSX wymaga, aby ścieżka modułu „{0}” istniała, ale nie można jej znaleźć. Upewnij się, że masz zainstalowane typy dla odpowiedniego pakietu.", "This_JSX_tag_s_0_prop_expects_a_single_child_of_type_1_but_multiple_children_were_provided_2746": "Element prop „{0}” tego tagu JSX oczekuje pojedynczego elementu podrzędnego typu „{1}”, ale podano wiele elementów podrzędnych.", "This_JSX_tag_s_0_prop_expects_type_1_which_requires_multiple_children_but_only_a_single_child_was_pr_2745": "Element prop „{0}” tego tagu JSX oczekuje typu „{1}”, który wymaga wielu elementów podrzędnych, ale podano tylko jeden element podrzędny.", "This_backreference_refers_to_a_group_that_does_not_exist_There_are_no_capturing_groups_in_this_regul_1534": "To odwołanie wsteczne odwołuje się do grupy, która nie istnieje. W tym wyrażeniu regularnym nie ma żadnych grup przechwytywania.", @@ -1650,6 +1656,8 @@ "This_expression_is_not_callable_because_it_is_a_get_accessor_Did_you_mean_to_use_it_without_6234": "Tego wyrażenia nie można wywoływać, ponieważ jest to metoda dostępu „get”. Czy chodziło Ci o użycie go bez znaków „()”?", "This_expression_is_not_constructable_2351": "Tego wyrażenia nie można skonstruować.", "This_file_already_has_a_default_export_95130": "Ten plik ma już domyślny eksport", + "This_import_path_is_unsafe_to_rewrite_because_it_resolves_to_another_project_and_the_relative_path_b_2878": "Ponowne zapisanie tej ścieżki importu jest niebezpieczne, ponieważ jest rozpoznawana jako inny projekt, a ścieżka względna między plikami wyjściowymi projektów nie jest taka sama jak ścieżka względna między plikami wejściowymi.", + "This_import_uses_a_0_extension_to_resolve_to_an_input_TypeScript_file_but_will_not_be_rewritten_duri_2877": "Ten import używa rozszerzenia „{0}” do rozpoznania jako wejściowego pliku TypeScript, ale nie zostanie ponownie zapisany podczas emitowania, ponieważ nie jest ścieżką względną.", "This_is_the_declaration_being_augmented_Consider_moving_the_augmenting_declaration_into_the_same_fil_6233": "To jest rozszerzana deklaracja. Rozważ przeniesienie deklaracji rozszerzenia do tego samego pliku.", "This_kind_of_expression_is_always_falsy_2873": "Tego rodzaju wyrażenie jest zawsze błędne.", "This_kind_of_expression_is_always_truthy_2872": "Tego rodzaju wyrażenie jest zawsze prawdziwe.", @@ -1673,6 +1681,7 @@ "This_parameter_property_must_have_an_override_modifier_because_it_overrides_a_member_in_base_class_0_4115": "Ta właściwość parametru musi mieć modyfikator \"override\", ponieważ zastępuje on członka w klasie bazowej \"{0}\".", "This_regular_expression_flag_cannot_be_toggled_within_a_subpattern_1509": "Tej flagi wyrażenia regularnego nie można przełączać w obrębie wzorca podrzędnego.", "This_regular_expression_flag_is_only_available_when_targeting_0_or_later_1501": "Ta flaga wyrażenia regularnego jest dostępna tylko w przypadku określania wartości docelowej „{0}” lub nowszej.", + "This_relative_import_path_is_unsafe_to_rewrite_because_it_looks_like_a_file_name_but_actually_resolv_2876": "Ta względna ścieżka importu jest niebezpieczna do ponownego zapisania, ponieważ wygląda jak nazwa pliku, ale w rzeczywistości jest rozpoznawana jako „{0}”.", "This_spread_always_overwrites_this_property_2785": "To rozmieszczenie zawsze powoduje zastąpienie tej właściwości.", "This_syntax_is_reserved_in_files_with_the_mts_or_cts_extension_Add_a_trailing_comma_or_explicit_cons_7060": "Ta składnia jest zarezerwowana w plikach z rozszerzeniem .MTS lub CTS. Dodaj końcowy przecinek lub jawne ograniczenie.", "This_syntax_is_reserved_in_files_with_the_mts_or_cts_extension_Use_an_as_expression_instead_7059": "Ta składnia jest zarezerwowana w plikach z rozszerzeniem. MTS lub. CTS. Użyj zamiast tego wyrażenia „as”.", @@ -1748,6 +1757,7 @@ "Type_expected_1110": "Oczekiwano typu.", "Type_import_assertions_should_have_exactly_one_key_resolution_mode_with_value_import_or_require_1456": "Twierdzenie importu typu powinno mieć dokładnie jeden klucz – „resolution-mode“ – z wartością „importuj“ lub „wymagaj“.", "Type_import_attributes_should_have_exactly_one_key_resolution_mode_with_value_import_or_require_1464": "Atrybuty importu typów powinny mieć dokładnie jeden klucz — „resolution-mode” — z wartością „import” lub „require”.", + "Type_import_of_an_ECMAScript_module_from_a_CommonJS_module_must_have_a_resolution_mode_attribute_1542": "Import typu modułu ECMAScript z modułu CommonJS musi mieć atrybut „resolution-mode”.", "Type_instantiation_is_excessively_deep_and_possibly_infinite_2589": "Tworzenie wystąpienia typu jest nadmiernie szczegółowe i prawdopodobnie nieskończone.", "Type_is_referenced_directly_or_indirectly_in_the_fulfillment_callback_of_its_own_then_method_1062": "Typ jest przywoływany bezpośrednio lub pośrednio w wywołaniu zwrotnym realizacji jego własnej metody „then”.", "Type_library_referenced_via_0_from_file_1_1402": "Biblioteka typów jest przywoływana za pośrednictwem elementu „{0}” z pliku „{1}”", @@ -1758,6 +1768,7 @@ "Type_of_iterated_elements_of_a_yield_Asterisk_operand_must_either_be_a_valid_promise_or_must_not_con_1322": "Typ iterowanych elementów operandu „yield*” musi być prawidłową obietnicą lub nie może zawierać wywoływalnej składowej „then”.", "Type_of_property_0_circularly_references_itself_in_mapped_type_1_2615": "Typ właściwości „{0}” cyklicznie odwołuje się do siebie w zamapowanym typie „{1}”.", "Type_of_yield_operand_in_an_async_generator_must_either_be_a_valid_promise_or_must_not_contain_a_cal_1321": "Typ operandu „yield” w generatorze asynchronicznym musi być prawidłową obietnicą lub nie może zawierać wywoływalnej składowej „then”.", + "Type_only_import_of_an_ECMAScript_module_from_a_CommonJS_module_must_have_a_resolution_mode_attribut_1541": "Import tylko typu modułu ECMAScript z modułu CommonJS musi mieć atrybut „resolution-mode”.", "Type_originates_at_this_import_A_namespace_style_import_cannot_be_called_or_constructed_and_will_cau_7038": "Typ pochodzi z tego importu. Nie można wywołać ani skonstruować importu w stylu przestrzeni nazw, co spowoduje wystąpienie błędu w czasie wykonywania. Zamiast tego rozważ użycie importu domyślnego lub funkcji require importu.", "Type_parameter_0_has_a_circular_constraint_2313": "Parametr typu „{0}” zawiera ograniczenie cykliczne.", "Type_parameter_0_has_a_circular_default_2716": "Parametr typu „{0}” ma cykliczną wartość domyślną.", @@ -1844,6 +1855,7 @@ "Use_the_package_json_imports_field_when_resolving_imports_6409": "Podczas rozpoznawania importów użyj pola „imports” pliku package.json.", "Use_type_0_95181": "Użyj „typu {0}”", "Using_0_subpath_1_with_target_2_6404": "Używanie „{0}” ścieżki podrzędnej „{1}” z elementem docelowym „{2}”.", + "Using_JSX_fragments_requires_fragment_factory_0_to_be_in_scope_but_it_could_not_be_found_2879": "Użycie fragmentów rozszerzenia JSX wymaga, aby fabryka fragmentów „{0}” była w zakresie, ale nie można jej znaleźć.", "Using_a_string_in_a_for_of_statement_is_only_supported_in_ECMAScript_5_and_higher_2494": "Używanie ciągu w instrukcji „for...of” jest obsługiwane tylko w języku ECMAScript 5 lub nowszym.", "Using_build_b_will_make_tsc_behave_more_like_a_build_orchestrator_than_a_compiler_This_is_used_to_tr_6915": "Użycie elementu --build, -b sprawi, że narzędzie tsc będzie zachowywało się bardziej jak orkiestrator kompilacji niż kompilator. Ta opcja jest wykorzystywana do wyzwalania kompilacji projektów złożonych, o których dowiesz się więcej na stronie {0}", "Using_compiler_options_of_project_reference_redirect_0_6215": "Using compiler options of project reference redirect '{0}'.", diff --git a/node_modules/typescript/lib/pt-br/diagnosticMessages.generated.json b/node_modules/typescript/lib/pt-br/diagnosticMessages.generated.json index e8327cb2c6..2a26956692 100644 --- a/node_modules/typescript/lib/pt-br/diagnosticMessages.generated.json +++ b/node_modules/typescript/lib/pt-br/diagnosticMessages.generated.json @@ -179,6 +179,8 @@ "Add_override_modifier_95160": "Adicionar modificador \"override\"", "Add_parameter_name_90034": "Adicionar nome de parâmetro", "Add_qualifier_to_all_unresolved_variables_matching_a_member_name_95037": "Adicionar um qualificador a todas as variáveis não resolvidas correspondentes a um nome de membro", + "Add_resolution_mode_import_attribute_95196": "Adicionar o atributo de importação 'resolution-mode'", + "Add_resolution_mode_import_attribute_to_all_type_only_imports_that_need_it_95197": "Adicionar o atributo de importação 'resolution-mode' a todas as importações somente de tipo que precisem dele", "Add_return_type_0_90063": "Adicionar tipo de retorno '{0}'", "Add_satisfies_and_a_type_assertion_to_this_expression_satisfies_T_as_T_to_make_the_type_explicit_9035": "Adicione satisfies e uma asserção de tipo a esta expressão (satisfies T as T) para tornar o tipo explícito.", "Add_satisfies_and_an_inline_type_assertion_with_0_90068": "Adicionar satisfies e uma asserção de tipo embutido com '{0}'", @@ -299,7 +301,7 @@ "Assertions_require_the_call_target_to_be_an_identifier_or_qualified_name_2776": "As declarações exigem que o destino da chamada seja um identificador ou um nome qualificado.", "Assigning_properties_to_functions_without_declaring_them_is_not_supported_with_isolatedDeclarations__9023": "Não há suporte para a atribuição de propriedades a funções sem declará-las com --isolatedDeclarations. Adicione uma declaração explícita para as propriedades atribuídas a essa função.", "Asterisk_Slash_expected_1010": "'*/' esperado.", - "At_least_one_accessor_must_have_an_explicit_return_type_annotation_with_isolatedDeclarations_9009": "Pelo menos um acessório deve ter uma anotação de tipo de retorno explícita com --isolatedDeclarations.", + "At_least_one_accessor_must_have_an_explicit_type_annotation_with_isolatedDeclarations_9009": "Pelo menos um acessor deve ter uma anotação de tipo explícita com `--isolatedDeclarations.", "Augmentations_for_the_global_scope_can_only_be_directly_nested_in_external_modules_or_ambient_module_2669": "Acréscimos de escopo global somente podem ser diretamente aninhados em módulos externos ou declarações de módulo de ambiente.", "Augmentations_for_the_global_scope_should_have_declare_modifier_unless_they_appear_in_already_ambien_2670": "Acréscimos de escopo global devem ter o modificador 'declare' a menos que apareçam em contexto já ambiente.", "Auto_discovery_for_typings_is_enabled_in_project_0_Running_extra_resolution_pass_for_module_1_using__6140": "A descoberta automática para digitações está habilitada no projeto '{0}'. Executando o passe de resolução extra para o módulo '{1}' usando o local do cache '{2}'.", @@ -543,7 +545,7 @@ "Declaration_emit_for_this_file_requires_preserving_this_import_for_augmentations_This_is_not_support_9026": "A emissão de declaração para este arquivo requer a preservação desta importação para aumentos. Não há suporte para isso com --isolatedDeclarations.", "Declaration_emit_for_this_file_requires_using_private_name_0_An_explicit_type_annotation_may_unblock_9005": "A emissão de declaração para esse arquivo requer o uso do nome privado '{0}'. Uma anotação de tipo explícita pode desbloquear a emissão de declaração.", "Declaration_emit_for_this_file_requires_using_private_name_0_from_module_1_An_explicit_type_annotati_9006": "A emissão de declaração para esse arquivo requer o uso do nome privado '{0}' do módulo '{1}'. Uma anotação de tipo explícita pode desbloquear a emissão de declaração.", - "Declaration_emit_for_this_parameter_requires_implicitly_adding_undefined_to_it_s_type_This_is_not_su_9025": "A declaração emit para esse parâmetro requer a adição implícita de undefined ao seu tipo. Não há suporte para isso com --isolatedDeclarations.", + "Declaration_emit_for_this_parameter_requires_implicitly_adding_undefined_to_its_type_This_is_not_sup_9025": "A declaração emit para esse parâmetro requer a adição implícita de indefinido ao seu tipo. Não há suporte para isso com --isolatedDeclarations.", "Declaration_expected_1146": "Declaração esperada.", "Declaration_name_conflicts_with_built_in_global_identifier_0_2397": "O nome de declaração entra em conflito com o identificador global integrado '{0}'.", "Declaration_or_statement_expected_1128": "Declaração ou instrução esperada.", @@ -850,7 +852,7 @@ "Generates_an_event_trace_and_a_list_of_types_6237": "Gera um rastreamento de eventos e uma lista de tipos.", "Generates_corresponding_d_ts_file_6002": "Gera o arquivo '.d.ts' correspondente.", "Generates_corresponding_map_file_6043": "Gera o arquivo '.map' correspondente.", - "Generator_implicitly_has_yield_type_0_because_it_does_not_yield_any_values_Consider_supplying_a_retu_7025": "Implicitamente, o gerador tem o tipo de rendimento '{0}' porque não produz nenhum valor. Considere fornecer uma anotação de tipo de retorno.", + "Generator_implicitly_has_yield_type_0_Consider_supplying_a_return_type_annotation_7025": "O gerador tem implicitamente o tipo de rendimento \"{0}\". Considere fornecer uma anotação de tipo de retorno.", "Generators_are_not_allowed_in_an_ambient_context_1221": "Os geradores não são permitidos em um contexto de ambiente.", "Generic_type_0_requires_1_type_argument_s_2314": "O tipo genérico '{0}' exige {1} argumento(s) de tipo.", "Generic_type_0_requires_between_1_and_2_type_arguments_2707": "O tipo genérico '{0}' exige argumentos de tipo entre {1} e {2}.", @@ -907,6 +909,7 @@ "Imported_via_0_from_file_1_with_packageId_2_1394": "Importado via {0} do arquivo '{1}' com packageId '{2}'", "Imported_via_0_from_file_1_with_packageId_2_to_import_importHelpers_as_specified_in_compilerOptions_1396": "Importado via {0} do arquivo '{1}' com packageId '{2}' para importar 'importHelpers' conforme especificado em compilerOptions", "Imported_via_0_from_file_1_with_packageId_2_to_import_jsx_and_jsxs_factory_functions_1398": "Importado via {0} do arquivo '{1}' com packageId '{2}' para importar as funções de fábrica 'jsx' e 'jsxs'", + "Importing_a_JSON_file_into_an_ECMAScript_module_requires_a_type_Colon_json_import_attribute_when_mod_1543": "A importação de um arquivo JSON para um módulo ECMAScript requer um 'type: \"json\"' quando o atributo de importação \"module\" estiver definido como \"{0}\".", "Imports_are_not_permitted_in_module_augmentations_Consider_moving_them_to_the_enclosing_external_mod_2667": "Importações não são permitidas em acréscimos de módulo. Considere movê-las para o módulo externo delimitador.", "In_ambient_enum_declarations_member_initializer_must_be_constant_expression_1066": "Em declarações de enumeração de ambiente, o inicializador de membro deve ser uma expressão de constante.", "In_an_enum_with_multiple_declarations_only_one_declaration_can_omit_an_initializer_for_its_first_enu_2432": "Em uma enumeração com várias declarações, somente uma declaração pode omitir um inicializador para o primeiro elemento de enumeração.", @@ -1059,6 +1062,7 @@ "Name_is_not_valid_95136": "Nome inválido", "Named_capturing_groups_are_only_available_when_targeting_ES2018_or_later_1503": "Grupos de captura nomeados só estão disponíveis ao direcionar para 'ES2018' ou posterior.", "Named_capturing_groups_with_the_same_name_must_be_mutually_exclusive_to_each_other_1515": "Grupos de captura nomeados com o mesmo nome devem ser mutuamente exclusivos entre si.", + "Named_imports_from_a_JSON_file_into_an_ECMAScript_module_are_not_allowed_when_module_is_set_to_0_1544": "As importações nomeadas de um arquivo JSON para um módulo ECMAScript não são permitidas quando \"module\" é definido como \"{0}\".", "Named_property_0_of_types_1_and_2_are_not_identical_2319": "As propriedades com nome '{0}' dos tipos '{1}' e '{2}' não são idênticas.", "Namespace_0_has_no_exported_member_1_2694": "O namespace '{0}' não tem o membro exportado '{1}'.", "Namespace_must_be_given_a_name_1437": "O Namespace deve receber um nome.", @@ -1143,7 +1147,6 @@ "Option_project_cannot_be_mixed_with_source_files_on_a_command_line_5042": "A opção 'project' não pode ser mesclada com arquivos de origem em uma linha de comando.", "Option_resolveJsonModule_cannot_be_specified_when_moduleResolution_is_set_to_classic_5070": "A opção '--resolveJsonModule' não pode ser especificada quando 'moduleResolution' está definido como 'classic'.", "Option_resolveJsonModule_cannot_be_specified_when_module_is_set_to_none_system_or_umd_5071": "A opção '--resolveJsonModule' não pode ser especificada quando 'module' está definido como 'none', 'system' ou 'umd'.", - "Option_tsBuildInfoFile_cannot_be_specified_without_specifying_option_incremental_or_composite_or_if__5111": "A opção 'tsBuildInfoFile' não pode ser especificada sem especificar a opção 'incremental' ou 'composite' ou se não estiver executando 'tsc -b'.", "Option_verbatimModuleSyntax_cannot_be_used_when_module_is_set_to_UMD_AMD_or_System_5105": "A opção 'texttimModuleSyntax' não pode ser usada quando 'module' está definido como 'UMD', 'AMD' ou 'System'.", "Options_0_and_1_cannot_be_combined_6370": "As opções '{0}' e '{1}' não podem ser combinadas.", "Options_Colon_6027": "Opções:", @@ -1413,6 +1416,7 @@ "Reusing_resolution_of_type_reference_directive_0_from_1_of_old_program_it_was_successfully_resolved__6391": "Reutilizando a resolução do tipo diretriz de referência '{0}' de '{1}' do antigo programa, foi resolvido com sucesso para '{2}' com ID do Pacote '{3}'.", "Rewrite_all_as_indexed_access_types_95034": "Reescrever tudo como tipos de acesso indexados", "Rewrite_as_the_indexed_access_type_0_90026": "Reescrever como o tipo de acesso indexado '{0}'", + "Rewrite_ts_tsx_mts_and_cts_file_extensions_in_relative_import_paths_to_their_JavaScript_equivalent_i_6421": "Reescreva as extensões de arquivo \".ts\", \".tsx\", \".mts\" e \".cts\" em caminhos de importação relativos para seu equivalente em JavaScript nos arquivos de saída.", "Right_operand_of_is_unreachable_because_the_left_operand_is_never_nullish_2869": "Operando direito de ?? está inacessível porque o operando esquerdo nunca é nulo.", "Root_directory_cannot_be_determined_skipping_primary_search_paths_6122": "Diretório raiz não pode ser determinado, ignorando caminhos de pesquisa primários.", "Root_file_specified_for_compilation_1427": "Arquivo raiz especificado para compilação", @@ -1633,6 +1637,8 @@ "There_are_types_at_0_but_this_result_could_not_be_resolved_when_respecting_package_json_exports_The__6278": "Há tipos em '{0}', mas esse resultado não pôde ser resolvido ao respeitar as \"exportações\" do package.json. A biblioteca '{1}' pode precisar atualizar o package.json ou as digitações.", "There_is_no_capturing_group_named_0_in_this_regular_expression_1532": "Não há nenhum grupo de captura chamado '{0}' nesta expressão regular.", "There_is_nothing_available_for_repetition_1507": "Não há nada disponível para repetição.", + "This_JSX_tag_requires_0_to_be_in_scope_but_it_could_not_be_found_2874": "Essa marca JSX requer que \"{0}\" esteja no escopo, mas não foi possível encontrá-la.", + "This_JSX_tag_requires_the_module_path_0_to_exist_but_none_could_be_found_Make_sure_you_have_types_fo_2875": "Essa marca JSX requer a existência do caminho do módulo \"{0}\", mas não foi possível encontrar nenhum. Verifique se você tem os tipos do pacote apropriado instalados.", "This_JSX_tag_s_0_prop_expects_a_single_child_of_type_1_but_multiple_children_were_provided_2746": "A propriedade '{0}' da marca desse JSX espera um único filho do tipo '{1}', mas vários filhos foram fornecidos.", "This_JSX_tag_s_0_prop_expects_type_1_which_requires_multiple_children_but_only_a_single_child_was_pr_2745": "A propriedade '{0}' da marca desse JSX espera o tipo '{1}' que requer vários filhos, mas somente um único filho foi fornecido.", "This_backreference_refers_to_a_group_that_does_not_exist_There_are_no_capturing_groups_in_this_regul_1534": "Essa referência inversa refere-se a um grupo que não existe. Não há grupos de captura nessa expressão regular.", @@ -1650,6 +1656,8 @@ "This_expression_is_not_callable_because_it_is_a_get_accessor_Did_you_mean_to_use_it_without_6234": "Esta expressão não pode ser chamada porque é um acessador 'get'. Você quis usá-la sem '()'?", "This_expression_is_not_constructable_2351": "Essa expressão não pode ser construída.", "This_file_already_has_a_default_export_95130": "Este arquivo já tem uma exportação padrão", + "This_import_path_is_unsafe_to_rewrite_because_it_resolves_to_another_project_and_the_relative_path_b_2878": "Não é seguro reescrever esse caminho de importação porque ele é resolvido em outro projeto, e o caminho relativo entre os arquivos de saída dos projetos não é o mesmo que o caminho relativo entre seus arquivos de entrada.", + "This_import_uses_a_0_extension_to_resolve_to_an_input_TypeScript_file_but_will_not_be_rewritten_duri_2877": "Essa importação usa uma extensão \"{0}\" para resolver um arquivo TypeScript de entrada, mas não será reescrita durante a emissão porque não é um caminho relativo.", "This_is_the_declaration_being_augmented_Consider_moving_the_augmenting_declaration_into_the_same_fil_6233": "Esta é a declaração que está sendo aumentada. Considere mover a declaração em aumento para o mesmo arquivo.", "This_kind_of_expression_is_always_falsy_2873": "Esse tipo de expressão é sempre inválido.", "This_kind_of_expression_is_always_truthy_2872": "Esse tipo de expressão é sempre verdadeiro.", @@ -1673,6 +1681,7 @@ "This_parameter_property_must_have_an_override_modifier_because_it_overrides_a_member_in_base_class_0_4115": "Esta propriedade de parâmetro deve ter uma modificação de 'substituição' porque substitui um membro na classe base '{0}'.", "This_regular_expression_flag_cannot_be_toggled_within_a_subpattern_1509": "Esse sinalizador de expressão regular não pode ser alternado em um subpadrão.", "This_regular_expression_flag_is_only_available_when_targeting_0_or_later_1501": "Esse sinalizador de expressão regular só está disponível ao direcionar para '{0}' ou posterior.", + "This_relative_import_path_is_unsafe_to_rewrite_because_it_looks_like_a_file_name_but_actually_resolv_2876": "Não é seguro reescrever esse caminho de importação relativo porque ele se parece com um nome de arquivo, mas, na verdade, é resolvido como \"{0}\".", "This_spread_always_overwrites_this_property_2785": "Essa difusão sempre substitui essa propriedade.", "This_syntax_is_reserved_in_files_with_the_mts_or_cts_extension_Add_a_trailing_comma_or_explicit_cons_7060": "Essa sintaxe é reservada em arquivos com extensão .mts ou .cts. Adicione uma vírgula final ou restrição explícita.", "This_syntax_is_reserved_in_files_with_the_mts_or_cts_extension_Use_an_as_expression_instead_7059": "Essa sintaxe é reservada em arquivos com extensão .mts ou .cts. Em vez disso, use uma expressão `as`.", @@ -1748,6 +1757,7 @@ "Type_expected_1110": "Tipo esperado.", "Type_import_assertions_should_have_exactly_one_key_resolution_mode_with_value_import_or_require_1456": "As asserções de importação de tipo devem ter exatamente uma chave - `resolution-mode` - com valor `import` ou` require`.", "Type_import_attributes_should_have_exactly_one_key_resolution_mode_with_value_import_or_require_1464": "As asserções de importação de tipo devem ter exatamente uma chave - 'resolution-mode' - com valor 'import' ou 'require'.", + "Type_import_of_an_ECMAScript_module_from_a_CommonJS_module_must_have_a_resolution_mode_attribute_1542": "A importação de tipo de um módulo ECMAScript de um módulo CommonJS deve ter um atributo 'resolution-mode'.", "Type_instantiation_is_excessively_deep_and_possibly_infinite_2589": "A instanciação de tipo é muito profunda e possivelmente infinita.", "Type_is_referenced_directly_or_indirectly_in_the_fulfillment_callback_of_its_own_then_method_1062": "O tipo é referenciado diretamente ou indiretamente em um retorno de chamada de preenchimento do seu próprio método 'then'.", "Type_library_referenced_via_0_from_file_1_1402": "Biblioteca de tipos referenciada via '{0}' do arquivo '{1}'", @@ -1758,6 +1768,7 @@ "Type_of_iterated_elements_of_a_yield_Asterisk_operand_must_either_be_a_valid_promise_or_must_not_con_1322": "O tipo de elementos iterados de um operando \"yield*\" deve ser uma promessa válida ou não deve conter um membro \"then\" que pode ser chamado.", "Type_of_property_0_circularly_references_itself_in_mapped_type_1_2615": "O tipo de propriedade '{0}' faz referência circular a si mesmo no tipo mapeado '{1}'.", "Type_of_yield_operand_in_an_async_generator_must_either_be_a_valid_promise_or_must_not_contain_a_cal_1321": "O tipo do operando \"yield\" em um gerador assíncrono deve ser uma promessa válida ou não deve conter um membro \"then\" que pode ser chamado.", + "Type_only_import_of_an_ECMAScript_module_from_a_CommonJS_module_must_have_a_resolution_mode_attribut_1541": "A importação somente de tipo de um módulo ECMAScript de um módulo CommonJS deve ter um atributo 'resolution-mode'.", "Type_originates_at_this_import_A_namespace_style_import_cannot_be_called_or_constructed_and_will_cau_7038": "O tipo se origina nessa importação. Uma importação de estilo de namespace não pode ser chamada nem construída e causará uma falha no runtime. Considere usar uma importação padrão ou importe require aqui.", "Type_parameter_0_has_a_circular_constraint_2313": "O parâmetro de tipo '{0}' tem uma restrição circular.", "Type_parameter_0_has_a_circular_default_2716": "O parâmetro de tipo '{0}' tem um padrão circular.", @@ -1844,6 +1855,7 @@ "Use_the_package_json_imports_field_when_resolving_imports_6409": "Use o campo 'imports' no package.json ao resolver importações.", "Use_type_0_95181": "Usar 'type {0}'", "Using_0_subpath_1_with_target_2_6404": "Usando '{0}' subcaminho '{1}' com destino '{2}'.", + "Using_JSX_fragments_requires_fragment_factory_0_to_be_in_scope_but_it_could_not_be_found_2879": "O uso de fragmentos JSX requer que a fábrica de fragmentos \"{0}\" esteja no escopo, mas não foi possível encontrá-la.", "Using_a_string_in_a_for_of_statement_is_only_supported_in_ECMAScript_5_and_higher_2494": "Há suporte para o uso de uma cadeia de caracteres em uma instrução 'for...of' somente no ECMAScript 5 e superior.", "Using_build_b_will_make_tsc_behave_more_like_a_build_orchestrator_than_a_compiler_This_is_used_to_tr_6915": "Usar --build, -b fará com que o tsc se comporte mais como um orquestrador de build do que como um compilador. Isso é usado para acionar a construção de projetos compostos sobre os quais você pode aprender mais em {0}", "Using_compiler_options_of_project_reference_redirect_0_6215": "Usando as opções do compilador de redirecionamento de referência do projeto '{0}'.", diff --git a/node_modules/typescript/lib/ru/diagnosticMessages.generated.json b/node_modules/typescript/lib/ru/diagnosticMessages.generated.json index 0f5324c302..5a41756343 100644 --- a/node_modules/typescript/lib/ru/diagnosticMessages.generated.json +++ b/node_modules/typescript/lib/ru/diagnosticMessages.generated.json @@ -179,6 +179,8 @@ "Add_override_modifier_95160": "Добавьте модификатор \"override\".", "Add_parameter_name_90034": "Добавить имя параметра", "Add_qualifier_to_all_unresolved_variables_matching_a_member_name_95037": "Добавить квалификатор ко всем неразрешенным переменным, соответствующим имени члена", + "Add_resolution_mode_import_attribute_95196": "Добавьте атрибут импорта \"resolution-mode\"", + "Add_resolution_mode_import_attribute_to_all_type_only_imports_that_need_it_95197": "Добавьте атрибут импорта \"resolution-mode\" ко всем командам импорта, затрагивающим только тип, для которых это необходимо", "Add_return_type_0_90063": "Добавить тип возвращаемого значения ' {0} '", "Add_satisfies_and_a_type_assertion_to_this_expression_satisfies_T_as_T_to_make_the_type_explicit_9035": "Добавьте к этому выражению satisfies и утверждение типа (удовлетворяет T как T), чтобы сделать тип явным.", "Add_satisfies_and_an_inline_type_assertion_with_0_90068": "Добавьте удовлетворение и утверждение встроенного типа с помощью ' {0} '", @@ -299,7 +301,7 @@ "Assertions_require_the_call_target_to_be_an_identifier_or_qualified_name_2776": "Утверждения требуют, чтобы целевой объект вызова был идентификатором или полным именем.", "Assigning_properties_to_functions_without_declaring_them_is_not_supported_with_isolatedDeclarations__9023": "Назначение свойств функциям без их объявления не поддерживается с помощью --isolatedDeclarations. Добавьте явное объявление свойств, назначенных этой функции.", "Asterisk_Slash_expected_1010": "Ожидалось \"*/\".", - "At_least_one_accessor_must_have_an_explicit_return_type_annotation_with_isolatedDeclarations_9009": "По крайней мере один метод доступа должен иметь явную аннотацию возвращаемого типа с --isolatedDeclarations.", + "At_least_one_accessor_must_have_an_explicit_type_annotation_with_isolatedDeclarations_9009": "По крайней мере один метод доступа должен иметь явную аннотацию типа с параметром --isolatedDeclarations.", "Augmentations_for_the_global_scope_can_only_be_directly_nested_in_external_modules_or_ambient_module_2669": "Улучшения для глобальной области могут быть вложены во внешние модули или неоднозначные объявления модулей только напрямую.", "Augmentations_for_the_global_scope_should_have_declare_modifier_unless_they_appear_in_already_ambien_2670": "Улучшения для глобальной области не должны иметь модификатор declare, если они отображаются в окружающем контексте.", "Auto_discovery_for_typings_is_enabled_in_project_0_Running_extra_resolution_pass_for_module_1_using__6140": "Автообнаружение для вводимых данных включено в проекте \"{0}\". Идет запуск дополнительного этапа разрешения для модуля \"{1}\" с использованием расположения кэша \"{2}\".", @@ -543,7 +545,7 @@ "Declaration_emit_for_this_file_requires_preserving_this_import_for_augmentations_This_is_not_support_9026": "Выдача декларации для этого файла требует сохранения этого импорта для дополнений. Это не поддерживается с помощью --isolatedDeclarations.", "Declaration_emit_for_this_file_requires_using_private_name_0_An_explicit_type_annotation_may_unblock_9005": "Для порождения объявления для этого файла требуется использовать закрытое имя \"{0}\". Явная заметка с типом может разблокировать порождение объявления.", "Declaration_emit_for_this_file_requires_using_private_name_0_from_module_1_An_explicit_type_annotati_9006": "Для порождения объявления для этого файла требуется использовать закрытое имя \"{0}\" из модуля \"{1}\". Явная заметка с типом может разблокировать порождение объявления.", - "Declaration_emit_for_this_parameter_requires_implicitly_adding_undefined_to_it_s_type_This_is_not_su_9025": "Выдача объявления для этого параметра требует неявного добавления неопределенного значения к его типу. Это не поддерживается с помощью --isolatedDeclarations.", + "Declaration_emit_for_this_parameter_requires_implicitly_adding_undefined_to_its_type_This_is_not_sup_9025": "Выдача объявления для этого параметра требует неявного добавления неопределенного значения к его типу. Это не поддерживается с помощью --isolatedDeclarations.", "Declaration_expected_1146": "Ожидалось объявление.", "Declaration_name_conflicts_with_built_in_global_identifier_0_2397": "Имя объявления конфликтует со встроенным глобальным идентификатором \"{0}\".", "Declaration_or_statement_expected_1128": "Ожидалось объявление или оператор.", @@ -850,7 +852,7 @@ "Generates_an_event_trace_and_a_list_of_types_6237": "Создает трассировку событий и список типов.", "Generates_corresponding_d_ts_file_6002": "Создает соответствующий D.TS-файл.", "Generates_corresponding_map_file_6043": "Создает соответствующий файл с расширением \".map\".", - "Generator_implicitly_has_yield_type_0_because_it_does_not_yield_any_values_Consider_supplying_a_retu_7025": "Генератор неявно имеет тип yield \"{0}\", так как он не предоставляет никаких значений. Рекомендуется указать заметку с типом возвращаемого значения.", + "Generator_implicitly_has_yield_type_0_Consider_supplying_a_return_type_annotation_7025": "Генератор неявно имеет тип ресурса \"{0}\". Рекомендуется предоставить аннотацию возвращаемого типа.", "Generators_are_not_allowed_in_an_ambient_context_1221": "Генераторы не разрешается использовать в окружающем контексте.", "Generic_type_0_requires_1_type_argument_s_2314": "Универсальный тип \"{0}\" требует следующее число аргументов типа: {1}.", "Generic_type_0_requires_between_1_and_2_type_arguments_2707": "Универсальный тип \"{0}\" требует аргументы типа от {1} до {2}.", @@ -907,6 +909,7 @@ "Imported_via_0_from_file_1_with_packageId_2_1394": "Импортировано с помощью {0} из файла \"{1}\" с идентификатором пакета \"{2}\".", "Imported_via_0_from_file_1_with_packageId_2_to_import_importHelpers_as_specified_in_compilerOptions_1396": "Импортировано с помощью {0} из файла \"{1}\" с идентификатором пакета \"{2}\" для импорта \"importHelpers\", как указано в compilerOptions.", "Imported_via_0_from_file_1_with_packageId_2_to_import_jsx_and_jsxs_factory_functions_1398": "Импортировано с помощью {0} из файла \"{1}\" с идентификатором пакета \"{2}\" для импорта функций фабрики \"jsx\" и \"jsxs\".", + "Importing_a_JSON_file_into_an_ECMAScript_module_requires_a_type_Colon_json_import_attribute_when_mod_1543": "Для импорта JSON-файла в модуль ECMAScript требуется атрибут импорта \"type: json\", если для \"module\" задано значение \"{0}\".", "Imports_are_not_permitted_in_module_augmentations_Consider_moving_them_to_the_enclosing_external_mod_2667": "Операции импорта запрещены в улучшениях модуля. Попробуйте переместить их в содержащий внешний модуль.", "In_ambient_enum_declarations_member_initializer_must_be_constant_expression_1066": "Во внешних объявлениях перечислений инициализатор элемента должен быть константным выражением.", "In_an_enum_with_multiple_declarations_only_one_declaration_can_omit_an_initializer_for_its_first_enu_2432": "В перечислении с несколькими объявлениями только одно объявление может опустить инициализатор для своего первого элемента перечисления.", @@ -1059,6 +1062,7 @@ "Name_is_not_valid_95136": "Недопустимое имя", "Named_capturing_groups_are_only_available_when_targeting_ES2018_or_later_1503": "Именованные группы захвата доступны только при настройке \"ES2018\" или более поздней версии.", "Named_capturing_groups_with_the_same_name_must_be_mutually_exclusive_to_each_other_1515": "Именованные группы захвата с одинаковым именем должны быть взаимоисключающими.", + "Named_imports_from_a_JSON_file_into_an_ECMAScript_module_are_not_allowed_when_module_is_set_to_0_1544": "Именованный импорт из файла JSON в модуль ECMAScript не допускается, если для параметра \"module\" установлено значение \"{0}\".", "Named_property_0_of_types_1_and_2_are_not_identical_2319": "Именованное свойство \"{0}\" содержит типы \"{1}\" и \"{2}\", которые не являются идентичными.", "Namespace_0_has_no_exported_member_1_2694": "Пространство имен \"{0}\" не содержит экспортированный элемент \"{1}\".", "Namespace_must_be_given_a_name_1437": "Пространству имен должно быть задано имя.", @@ -1143,7 +1147,6 @@ "Option_project_cannot_be_mixed_with_source_files_on_a_command_line_5042": "Параметр project не может быть указан вместе с исходными файлами в командной строке.", "Option_resolveJsonModule_cannot_be_specified_when_moduleResolution_is_set_to_classic_5070": "Параметр \"--resolveJsonModule\" нельзя указать, если для параметра \"moduleResolution\" установлено значение \"classic\".", "Option_resolveJsonModule_cannot_be_specified_when_module_is_set_to_none_system_or_umd_5071": "Параметр \"--resolveJsonModule\" не может быть указан, если для параметра \"module\" установлено значение \"none\", \"system\" или \"umd\".", - "Option_tsBuildInfoFile_cannot_be_specified_without_specifying_option_incremental_or_composite_or_if__5111": "Параметр \"tsBuildInfoFile\" нельзя указать без указания параметра \"incremental\" или \"composite\" или, если не запущен \"tsc -b\".", "Option_verbatimModuleSyntax_cannot_be_used_when_module_is_set_to_UMD_AMD_or_System_5105": "Параметр \"verbatimModuleSyntax\" нельзя использовать, если для параметра \"module\" установлено значение \"UMD\", \"AMD\" или \"System\".", "Options_0_and_1_cannot_be_combined_6370": "Параметры \"{0}\" и \"{1}\" не могут использоваться одновременно.", "Options_Colon_6027": "Параметры:", @@ -1413,6 +1416,7 @@ "Reusing_resolution_of_type_reference_directive_0_from_1_of_old_program_it_was_successfully_resolved__6391": "Повторное использование директивы ссылки на тип \"{0}\" из \"{1}\" старой программы. Разрешено в \"{2}\" с ИД пакета \"{3}\".", "Rewrite_all_as_indexed_access_types_95034": "Перезаписать все как типы с индексным доступом", "Rewrite_as_the_indexed_access_type_0_90026": "Перезапишите как тип с индексным доступом \"{0}\"", + "Rewrite_ts_tsx_mts_and_cts_file_extensions_in_relative_import_paths_to_their_JavaScript_equivalent_i_6421": "Перепишите расширения файлов \".ts\", \".tsx\", \".mts\" и \".cts\" в относительных путях импорта на их эквиваленты JavaScript в выходных файлах.", "Right_operand_of_is_unreachable_because_the_left_operand_is_never_nullish_2869": "Правый операнд ?? недоступен, поскольку левый операнд никогда не имеет значения NULL.", "Root_directory_cannot_be_determined_skipping_primary_search_paths_6122": "Корневой каталог невозможно определить, идет пропуск первичных путей поиска.", "Root_file_specified_for_compilation_1427": "Корневой файл, указанный для компиляции", @@ -1633,6 +1637,8 @@ "There_are_types_at_0_but_this_result_could_not_be_resolved_when_respecting_package_json_exports_The__6278": "Существуют типы в ' {0} ', но этот результат не удалось разрешить при соблюдении \"экспорта\" package.json. ' {1} ' может потребоваться обновить свой package.json или типизацию.", "There_is_no_capturing_group_named_0_in_this_regular_expression_1532": "В этом регулярном выражении нет группы захвата с именем \" {0} \".", "There_is_nothing_available_for_repetition_1507": "Нет ничего, что можно было бы повторить.", + "This_JSX_tag_requires_0_to_be_in_scope_but_it_could_not_be_found_2874": "Для этого тега JSX требуется, чтобы \"{0}\" был в области видимости, но его не удалось найти.", + "This_JSX_tag_requires_the_module_path_0_to_exist_but_none_could_be_found_Make_sure_you_have_types_fo_2875": "Для этого тега JSX требуется наличие пути модуля \"{0}\", но его не удалось найти. Убедитесь, что у вас установлены типы для соответствующего пакета.", "This_JSX_tag_s_0_prop_expects_a_single_child_of_type_1_but_multiple_children_were_provided_2746": "Свойство \"{0}\" этого тега JSX ожидает один дочерний объект типа \"{1}\", однако было предоставлено несколько дочерних объектов.", "This_JSX_tag_s_0_prop_expects_type_1_which_requires_multiple_children_but_only_a_single_child_was_pr_2745": "Свойство \"{0}\" этого тега JSX ожидает тип \"{1}\", требующий несколько дочерних объектов, однако был предоставлен только один дочерний объект.", "This_backreference_refers_to_a_group_that_does_not_exist_There_are_no_capturing_groups_in_this_regul_1534": "Эта обратная ссылка относится к несуществующей группе. В этом регулярном выражении нет групп захвата.", @@ -1650,6 +1656,8 @@ "This_expression_is_not_callable_because_it_is_a_get_accessor_Did_you_mean_to_use_it_without_6234": "Это выражение не может быть вызвано, так как оно является методом доступа get. Вы хотели использовать его без \"()\"?", "This_expression_is_not_constructable_2351": "Это выражение не может быть построено.", "This_file_already_has_a_default_export_95130": "Этот файл уже имеет экспорт по умолчанию.", + "This_import_path_is_unsafe_to_rewrite_because_it_resolves_to_another_project_and_the_relative_path_b_2878": "Этот путь импорта небезопасен для перезаписи, поскольку он разрешается в другой проект, а относительный путь между выходными файлами проекта не совпадает с относительным путем между входными файлами.", + "This_import_uses_a_0_extension_to_resolve_to_an_input_TypeScript_file_but_will_not_be_rewritten_duri_2877": "Этот импорт использует расширение \"{0}\" для разрешения во входной файл TypeScript, но не будет перезаписан во время выпуска, поскольку это не является относительным путем.", "This_is_the_declaration_being_augmented_Consider_moving_the_augmenting_declaration_into_the_same_fil_6233": "Это объявление дополняется другим объявлением. Попробуйте переместить дополняющее объявление в тот же файл.", "This_kind_of_expression_is_always_falsy_2873": "Подобные выражения всегда ложны.", "This_kind_of_expression_is_always_truthy_2872": "Такое выражение всегда правдиво.", @@ -1673,6 +1681,7 @@ "This_parameter_property_must_have_an_override_modifier_because_it_overrides_a_member_in_base_class_0_4115": "Это свойство параметра должно иметь модификатор \"override\", так как он переопределяет элемент базового класса \"{0}\".", "This_regular_expression_flag_cannot_be_toggled_within_a_subpattern_1509": "Этот флаг регулярного выражения нельзя переключить внутри подшаблона.", "This_regular_expression_flag_is_only_available_when_targeting_0_or_later_1501": "Этот флаг регулярного выражения доступен только при таргетинге \" {0} \" или более поздней версии.", + "This_relative_import_path_is_unsafe_to_rewrite_because_it_looks_like_a_file_name_but_actually_resolv_2876": "Этот относительный путь импорта небезопасен для перезаписи, потому что он выглядит как имя файла, но на самом деле разрешается как \"{0}\".", "This_spread_always_overwrites_this_property_2785": "Это распространение всегда перезаписывает данное свойство.", "This_syntax_is_reserved_in_files_with_the_mts_or_cts_extension_Add_a_trailing_comma_or_explicit_cons_7060": "Этот синтаксис зарезервирован в файлах с расширениями MTS или CTS. Добавьте конечную запятую или явное ограничение.", "This_syntax_is_reserved_in_files_with_the_mts_or_cts_extension_Use_an_as_expression_instead_7059": "Этот синтаксис зарезервирован в файлах с расширениями MTS или CTS. Вместо этого используйте выражение \"AS\".", @@ -1748,6 +1757,7 @@ "Type_expected_1110": "Ожидался тип.", "Type_import_assertions_should_have_exactly_one_key_resolution_mode_with_value_import_or_require_1456": "Утверждения импорта типа должны иметь ровно один ключ \"resolution-mode\" со значением \"import\" или \"require\".", "Type_import_attributes_should_have_exactly_one_key_resolution_mode_with_value_import_or_require_1464": "Атрибуты импорта типа должны иметь ровно один ключ — \"режим разрешения\" — со значением \"импорт\" или \"требовать\".", + "Type_import_of_an_ECMAScript_module_from_a_CommonJS_module_must_have_a_resolution_mode_attribute_1542": "Импорт типа модуля ECMAScript из модуля CommonJS должен иметь атрибут \"resolution-mode\".", "Type_instantiation_is_excessively_deep_and_possibly_infinite_2589": "Создание экземпляра типа является слишком глубоким и, возможно, бесконечным.", "Type_is_referenced_directly_or_indirectly_in_the_fulfillment_callback_of_its_own_then_method_1062": "На тип есть прямые или непрямые ссылки в обратном вызове выполнения собственного метода then.", "Type_library_referenced_via_0_from_file_1_1402": "Библиотека типов, на которую осуществляется ссылка с помощью \"{0}\" из файла \"{1}\"", @@ -1758,6 +1768,7 @@ "Type_of_iterated_elements_of_a_yield_Asterisk_operand_must_either_be_a_valid_promise_or_must_not_con_1322": "Тип элементов итерации для операнда \"yield*\" должен быть допустимым обещанием либо не должен содержать вызываемый элемент \"then\".", "Type_of_property_0_circularly_references_itself_in_mapped_type_1_2615": "Тип свойства \"{0}\" циклически ссылается на самого себя в сопоставленном типе \"{1}\".", "Type_of_yield_operand_in_an_async_generator_must_either_be_a_valid_promise_or_must_not_contain_a_cal_1321": "Тип операнда \"yield\" в асинхронном генераторе должен быть допустимым обещанием либо не должен содержать вызываемый элемент \"then\".", + "Type_only_import_of_an_ECMAScript_module_from_a_CommonJS_module_must_have_a_resolution_mode_attribut_1541": "Импорт модуля ECMAScript, затрагивающий только тип, из модуля CommonJS должен иметь атрибут \"resolution-mode\".", "Type_originates_at_this_import_A_namespace_style_import_cannot_be_called_or_constructed_and_will_cau_7038": "Тип происходит от этого импорта. Импорт стиля пространства имен не может быть вызван или создан и приведет к сбою во время выполнения. Вместо этого рекомендуется использовать импорт по умолчанию или импортировать сюда \"require\".", "Type_parameter_0_has_a_circular_constraint_2313": "Параметр типа \"{0}\" содержит циклическое ограничение.", "Type_parameter_0_has_a_circular_default_2716": "Параметр типа \"{0}\" по умолчанию является циклическим.", @@ -1844,6 +1855,7 @@ "Use_the_package_json_imports_field_when_resolving_imports_6409": "Используйте поле \"импорт\" package.json при разрешении импорта.", "Use_type_0_95181": "Используйте 'type {0}'", "Using_0_subpath_1_with_target_2_6404": "Использование \"{0}\", вложенный путь: \"{1}\", целевой объект: \"{2}\".", + "Using_JSX_fragments_requires_fragment_factory_0_to_be_in_scope_but_it_could_not_be_found_2879": "Использование фрагментов JSX требует, чтобы фабрика фрагментов \"{0}\" была в области видимости, но ее не удалось найти.", "Using_a_string_in_a_for_of_statement_is_only_supported_in_ECMAScript_5_and_higher_2494": "Использование строки для оператора for...of поддерживается только в ECMAScript 5 и более поздних версиях.", "Using_build_b_will_make_tsc_behave_more_like_a_build_orchestrator_than_a_compiler_This_is_used_to_tr_6915": "Использование --build,-b заставит TSC вести себя больше как оркестратор сборки, чем как компилятор. Это используется для запуска создания составных проектов, о которых можно узнать больше на {0}", "Using_compiler_options_of_project_reference_redirect_0_6215": "Использование параметров компилятора для перенаправления ссылки на проект \"{0}\".", diff --git a/node_modules/typescript/lib/tr/diagnosticMessages.generated.json b/node_modules/typescript/lib/tr/diagnosticMessages.generated.json index 112675d80b..2d28942877 100644 --- a/node_modules/typescript/lib/tr/diagnosticMessages.generated.json +++ b/node_modules/typescript/lib/tr/diagnosticMessages.generated.json @@ -179,6 +179,8 @@ "Add_override_modifier_95160": "'override' değiştiricisi ekle", "Add_parameter_name_90034": "Parametre adı ekleyin", "Add_qualifier_to_all_unresolved_variables_matching_a_member_name_95037": "Bir üye adıyla eşleşen tüm çözülmemiş değişkenlere niteleyici ekle", + "Add_resolution_mode_import_attribute_95196": "'resolution-mode' içeri aktarma özniteliği ekle", + "Add_resolution_mode_import_attribute_to_all_type_only_imports_that_need_it_95197": "'resolution-mode' içeri aktarma özniteliğini, bunun gerekliği olduğu tüm yalnızca tür içeri aktarma işlemlerine ekle", "Add_return_type_0_90063": "'{0}' dönüş tipi ekleyin", "Add_satisfies_and_a_type_assertion_to_this_expression_satisfies_T_as_T_to_make_the_type_explicit_9035": "Türü açık hale getirmek için bu ifadeye satisfies operatörü ve bir tür iddiası ekleyin (satisfies T as T).", "Add_satisfies_and_an_inline_type_assertion_with_0_90068": "Satisfies operatörü ve '{0}' içeren satır içi tip iddiası ekleyin", @@ -299,7 +301,7 @@ "Assertions_require_the_call_target_to_be_an_identifier_or_qualified_name_2776": "Onaylamalar, çağrı hedefinin bir tanımlayıcı veya tam ad olmasını gerektirir.", "Assigning_properties_to_functions_without_declaring_them_is_not_supported_with_isolatedDeclarations__9023": "Özelliklerin işlevlere bildirilmeden atanması --isolatedDeclarations ile desteklenmez. Bu işleve atanan özellikler için açık bir bildirim ekleyin.", "Asterisk_Slash_expected_1010": "'*/' bekleniyor.", - "At_least_one_accessor_must_have_an_explicit_return_type_annotation_with_isolatedDeclarations_9009": "En az bir erişimcinin --isolatedDeclarations ile açık bir dönüş türü ek açıklamasına sahip olması gereklidir.", + "At_least_one_accessor_must_have_an_explicit_type_annotation_with_isolatedDeclarations_9009": "En az bir erişimcinin --isolatedDeclarations ile açık bir tür ek açıklamasına sahip olması gereklidir.", "Augmentations_for_the_global_scope_can_only_be_directly_nested_in_external_modules_or_ambient_module_2669": "Genel kapsam genişletmeleri yalnızca dış modüllerde ya da çevresel modül bildirimlerinde doğrudan yuvalanabilir.", "Augmentations_for_the_global_scope_should_have_declare_modifier_unless_they_appear_in_already_ambien_2670": "Genel kapsam genişletmeleri, zaten çevresel olan bir bağlamda göründükleri durumlar dışında 'declare' değiştiricisine sahip olmalıdır.", "Auto_discovery_for_typings_is_enabled_in_project_0_Running_extra_resolution_pass_for_module_1_using__6140": "'{0}' projesinde otomatik tür bulma etkinleştirildi. '{2}' önbellek konumu kullanılarak '{1}' modülü için ek çözümleme geçişi çalıştırılıyor.", @@ -543,7 +545,7 @@ "Declaration_emit_for_this_file_requires_preserving_this_import_for_augmentations_This_is_not_support_9026": "Bu dosyaya ilişkin bildirim, bu içe aktarmanın genişletmeler için korunmasını gerektirir. Bu, --isolatedDeclarations ile desteklenmez.", "Declaration_emit_for_this_file_requires_using_private_name_0_An_explicit_type_annotation_may_unblock_9005": "Bu dosya için bildirim gösterme, '{0}' özel adını kullanmayı gerektiriyor. Açık tür ek açıklaması, bildirim gösterme engelini kaldırabilir.", "Declaration_emit_for_this_file_requires_using_private_name_0_from_module_1_An_explicit_type_annotati_9006": "Bu dosya için bildirim gösterme, '{1}' modülündeki '{0}' özel adını kullanmayı gerektiriyor. Açık tür ek açıklaması, bildirim gösterme engelini kaldırabilir.", - "Declaration_emit_for_this_parameter_requires_implicitly_adding_undefined_to_it_s_type_This_is_not_su_9025": "Bu parametrenin bildirimi, türüne örtülü olarak tanımsız eklenmesini gerektirir. Bu, --isolatedDeclarations ile desteklenmez.", + "Declaration_emit_for_this_parameter_requires_implicitly_adding_undefined_to_its_type_This_is_not_sup_9025": "Bu parametre için bildirim gösterme, türüne örtülü olarak tanımsız eklenmesini gerektirir. Bu, --isolatedDeclarations ile desteklenmez.", "Declaration_expected_1146": "Bildirim bekleniyor.", "Declaration_name_conflicts_with_built_in_global_identifier_0_2397": "Bildirim adı, yerleşik genel tanımlayıcı '{0}' ile çakışıyor.", "Declaration_or_statement_expected_1128": "Bildirim veya deyim bekleniyor.", @@ -850,7 +852,7 @@ "Generates_an_event_trace_and_a_list_of_types_6237": "Olay izleme ve tür listesi oluşturur.", "Generates_corresponding_d_ts_file_6002": "İlgili '.d.ts' dosyasını oluşturur.", "Generates_corresponding_map_file_6043": "İlgili '.map' dosyasını oluşturur.", - "Generator_implicitly_has_yield_type_0_because_it_does_not_yield_any_values_Consider_supplying_a_retu_7025": "Oluşturucu herhangi bir değer sağlamadığından örtük olarak '{0}' türüne sahip. Bir dönüş türü ek açıklaması sağlamayı deneyin.", + "Generator_implicitly_has_yield_type_0_Consider_supplying_a_return_type_annotation_7025": "Oluşturucu örtük olarak '{0}' bekletme türüne sahip. Bir dönüş türü ek açıklaması sağlamayı deneyin.", "Generators_are_not_allowed_in_an_ambient_context_1221": "Çevresel bağlamda oluşturuculara izin verilmez.", "Generic_type_0_requires_1_type_argument_s_2314": "'{0}' genel türü, {1} tür bağımsız değişkenini gerektiriyor.", "Generic_type_0_requires_between_1_and_2_type_arguments_2707": "'{0}' genel türü {1} ile {2} arasında bağımsız değişken gerektirir.", @@ -907,6 +909,7 @@ "Imported_via_0_from_file_1_with_packageId_2_1394": "'{2}' paket kimliğine sahip '{1}' dosyasından {0} aracılığıyla içeri aktarıldı", "Imported_via_0_from_file_1_with_packageId_2_to_import_importHelpers_as_specified_in_compilerOptions_1396": "compilerOptions içinde belirtildiği gibi 'importHelpers' öğesini içeri aktarmak için '{2}' paket kimliğine sahip '{1}' dosyasından {0} aracılığıyla içeri aktarıldı", "Imported_via_0_from_file_1_with_packageId_2_to_import_jsx_and_jsxs_factory_functions_1398": "'jsx' ve 'jsxs' fabrika işlevlerini içeri aktarmak için '{2}' paket kimliğine sahip '{1}' dosyasından {0} aracılığıyla içeri aktarıldı", + "Importing_a_JSON_file_into_an_ECMAScript_module_requires_a_type_Colon_json_import_attribute_when_mod_1543": "Bir JSON dosyasının ECMAScript modülüne aktarılması, 'module' değeri '{0}' olarak ayarlandığında 'type: \"json\"' içeri aktarma özniteliği gerektirir.", "Imports_are_not_permitted_in_module_augmentations_Consider_moving_them_to_the_enclosing_external_mod_2667": "Modül genişletmelerinde içeri aktarmalara izin verilmez. Bunları, kapsayan dış modüle taşımanız önerilir.", "In_ambient_enum_declarations_member_initializer_must_be_constant_expression_1066": "Çevresel sabit listesi bildirimlerinde, üye başlatıcısı sabit ifade olmalıdır.", "In_an_enum_with_multiple_declarations_only_one_declaration_can_omit_an_initializer_for_its_first_enu_2432": "Birden fazla bildirime sahip sabit listesinde yalnızca bir bildirim ilk sabit listesi öğesine ait başlatıcıyı atlayabilir.", @@ -1059,6 +1062,7 @@ "Name_is_not_valid_95136": "Ad geçerli değil", "Named_capturing_groups_are_only_available_when_targeting_ES2018_or_later_1503": "Adlandırılmış yakalama grupları yalnızca 'ES2018' veya üzeri hedeflenirken kullanılabilir.", "Named_capturing_groups_with_the_same_name_must_be_mutually_exclusive_to_each_other_1515": "Aynı ada sahip adlandırılmış yakalama grupları birbirini dışlamalıdır.", + "Named_imports_from_a_JSON_file_into_an_ECMAScript_module_are_not_allowed_when_module_is_set_to_0_1544": "'module', '{0}' olarak ayarlandığında JSON dosyasından ECMAScript modülüne adlandırılmış içeri aktarmalara izin verilmez.", "Named_property_0_of_types_1_and_2_are_not_identical_2319": "'{1}' ve '{2}' türündeki '{0}' adlı özellikler aynı değil.", "Namespace_0_has_no_exported_member_1_2694": "'{0}' ad alanında dışarı aktarılan '{1}' üyesi yok.", "Namespace_must_be_given_a_name_1437": "Ad alanına bir ad verilmesi gerekir.", @@ -1143,7 +1147,6 @@ "Option_project_cannot_be_mixed_with_source_files_on_a_command_line_5042": "'project' seçeneği, komut satırındaki kaynak dosyalarıyla karıştırılamaz.", "Option_resolveJsonModule_cannot_be_specified_when_moduleResolution_is_set_to_classic_5070": "'moduleResolution' 'classic' olarak ayarlandığında '--resolveJsonModule' seçeneği belirtilemez.", "Option_resolveJsonModule_cannot_be_specified_when_module_is_set_to_none_system_or_umd_5071": "'module' 'none', 'classic' veya 'umd' olarak ayarlandığında '--resolveJsonModule' seçeneği belirtilemez.", - "Option_tsBuildInfoFile_cannot_be_specified_without_specifying_option_incremental_or_composite_or_if__5111": "'tsBuildInfoFile' seçeneği, 'incremental' veya 'composite' seçeneği belirtilmeden veya 'tsc -b' çalıştırmadan belirtilemez.", "Option_verbatimModuleSyntax_cannot_be_used_when_module_is_set_to_UMD_AMD_or_System_5105": "'module' değeri 'UMD', 'AMD' veya 'System' olarak ayarlandığında 'verbatimModuleSyntax' seçeneği kullanılamaz.", "Options_0_and_1_cannot_be_combined_6370": "'{0}' ve '{1}' seçenekleri birleştirilemez.", "Options_Colon_6027": "Seçenekler:", @@ -1413,6 +1416,7 @@ "Reusing_resolution_of_type_reference_directive_0_from_1_of_old_program_it_was_successfully_resolved__6391": "Eski programın '{1}' üzerindeki '{0}' tür başvuru yönergesi çözümlemesinin yeniden kullanılması, başarıyla Paket Kimliği '{3}' ile '{2}' olarak çözüldü.", "Rewrite_all_as_indexed_access_types_95034": "Tümünü dizinlenmiş erişim türleri olarak yeniden yaz", "Rewrite_as_the_indexed_access_type_0_90026": "Dizine eklenmiş erişim türü '{0}' olarak yeniden yaz", + "Rewrite_ts_tsx_mts_and_cts_file_extensions_in_relative_import_paths_to_their_JavaScript_equivalent_i_6421": "'.ts', '.tsx', '.mts' ve '.cts' dosya uzantılarını, çıkış dosyalarındaki JavaScript eşdeğerlerine göreli içeri aktarma yollarında yeniden yazın.", "Right_operand_of_is_unreachable_because_the_left_operand_is_never_nullish_2869": "Sol işlenen hiçbir zaman null olmadığından ?? sağ işlenenine ulaşılamıyor.", "Root_directory_cannot_be_determined_skipping_primary_search_paths_6122": "Kök dizin belirlenemiyor, birincil arama yolları atlanıyor.", "Root_file_specified_for_compilation_1427": "Derleme için belirtilen kök dosyası", @@ -1633,6 +1637,8 @@ "There_are_types_at_0_but_this_result_could_not_be_resolved_when_respecting_package_json_exports_The__6278": "'{0}' konumunda türler var ancak package.json \"exports\" dikkate alındığında bu sonuç çözümlenemedi. '{1}' kitaplığının package.json dosyasını veya türlerini güncelleştirmesi gerekiyor olabilir.", "There_is_no_capturing_group_named_0_in_this_regular_expression_1532": "Bu normal ifadede '{0}' adlı yakalama grubu yok.", "There_is_nothing_available_for_repetition_1507": "Yineleme için kullanılabilecek bir şey yok.", + "This_JSX_tag_requires_0_to_be_in_scope_but_it_could_not_be_found_2874": "Bu JSX etiketi '{0}' öğesinin kapsamda olmasını gerektiriyor, ancak bulunamadı.", + "This_JSX_tag_requires_the_module_path_0_to_exist_but_none_could_be_found_Make_sure_you_have_types_fo_2875": "Bu JSX etiketi, '{0}' modül yolunun mevcut olmasını gerektiriyor, ancak hiçbiri bulunamadı. Uygun paket için türlerin yüklü olduğundan emin olun.", "This_JSX_tag_s_0_prop_expects_a_single_child_of_type_1_but_multiple_children_were_provided_2746": "Bu JSX etiketinin '{0}' özelliği, '{1}' türünde tek bir alt öğe bekliyor ancak birden çok alt öğe sağlandı.", "This_JSX_tag_s_0_prop_expects_type_1_which_requires_multiple_children_but_only_a_single_child_was_pr_2745": "Bu JSX etiketinin '{0}' özelliği, birden çok alt öğe gerektiren '{1}' türünü bekliyor ancak yalnızca tek bir alt öğe sağlandı.", "This_backreference_refers_to_a_group_that_does_not_exist_There_are_no_capturing_groups_in_this_regul_1534": "Bu geri başvuru, var olmayan bir gruba başvuruyor. Bu normal ifadede yalnızca yakalama grupları yok.", @@ -1650,6 +1656,8 @@ "This_expression_is_not_callable_because_it_is_a_get_accessor_Did_you_mean_to_use_it_without_6234": "Bu ifade 'get' erişimcisi olduğundan çağrılamaz. Bunu '()' olmadan mı kullanmak istiyorsunuz?", "This_expression_is_not_constructable_2351": "Bu ifade oluşturulabilir değil.", "This_file_already_has_a_default_export_95130": "Bu dosyanın zaten varsayılan bir dışarı aktarması var", + "This_import_path_is_unsafe_to_rewrite_because_it_resolves_to_another_project_and_the_relative_path_b_2878": "Başka bir projeye çözümlendiğinden ve projelerin çıkış dosyaları arasındaki göreli yol, giriş dosyaları arasındaki göreli yol ile aynı olmadığından, bu içeri aktarma yolunun yeniden yazılması güvenli değildir.", + "This_import_uses_a_0_extension_to_resolve_to_an_input_TypeScript_file_but_will_not_be_rewritten_duri_2877": "Bu içeri aktarma, giriş TypeScript dosyasına çözümlemek için bir '{0}' uzantısı kullanıyor, ancak göreli bir yol olmadığından yayın sırasında yeniden yazılmayacak.", "This_is_the_declaration_being_augmented_Consider_moving_the_augmenting_declaration_into_the_same_fil_6233": "Bu, genişletilmekte olan bildirimdir. Genişleten bildirimi aynı dosyaya taşımayı düşünün.", "This_kind_of_expression_is_always_falsy_2873": "Bu ifade türü her zaman yanlıştır.", "This_kind_of_expression_is_always_truthy_2872": "Bu ifade türü her zaman doğrudur.", @@ -1673,6 +1681,7 @@ "This_parameter_property_must_have_an_override_modifier_because_it_overrides_a_member_in_base_class_0_4115": "Bu parametre özelliği, '{0}' temel sınıfındaki bir üyeyi geçersiz kıldığından bir 'override' değiştiricisi içermelidir.", "This_regular_expression_flag_cannot_be_toggled_within_a_subpattern_1509": "Bu normal ifade bayrağı bir alt örüntü içinde değiştirilemez.", "This_regular_expression_flag_is_only_available_when_targeting_0_or_later_1501": "Bu normal ifade bayrağı, yalnızca '{0}' veya üzeri hedeflenirken kullanılabilir.", + "This_relative_import_path_is_unsafe_to_rewrite_because_it_looks_like_a_file_name_but_actually_resolv_2876": "Bu göreli içeri aktarma yolu bir dosya adı gibi görünse de aslında \"{0}\" olarak çözümlendiğinden yolun yeniden yazılması güvenli değildir.", "This_spread_always_overwrites_this_property_2785": "Bu yayılma her zaman bu özelliğin üzerine yazar.", "This_syntax_is_reserved_in_files_with_the_mts_or_cts_extension_Add_a_trailing_comma_or_explicit_cons_7060": "Bu söz dizimi, .mts veya .cts uzantısı içeren dosyalarda ayrılmıştır. Sonuna virgül veya açık kısıtlama ekleyin.", "This_syntax_is_reserved_in_files_with_the_mts_or_cts_extension_Use_an_as_expression_instead_7059": "Bu söz dizimi, .mts veya .cts uzantısı içeren dosyalarda ayrılmıştır. Bunun yerine `as` ifadesi kullanın.", @@ -1748,6 +1757,7 @@ "Type_expected_1110": "Tür bekleniyor.", "Type_import_assertions_should_have_exactly_one_key_resolution_mode_with_value_import_or_require_1456": "Tür içe aktarma iddiaları, `import` veya `require`. değerine sahip tam olarak bir anahtara - `resolution-mode`’na sahip olmalıdır.", "Type_import_attributes_should_have_exactly_one_key_resolution_mode_with_value_import_or_require_1464": "Tür içe aktarma öznitelikleri, 'import' veya 'require' değerine sahip, tam olarak tek bir 'resolution-mode' anahtarına sahip olmalıdır.", + "Type_import_of_an_ECMAScript_module_from_a_CommonJS_module_must_have_a_resolution_mode_attribute_1542": "Bir ECMAScript modülünün CommonJS modülünden tür içeri aktarımında bir 'resolution-mode' özniteliği bulunmalıdır.", "Type_instantiation_is_excessively_deep_and_possibly_infinite_2589": "Tür örneği oluşturma işlemi, fazla ayrıntılı ve büyük olasılıkla sınırsız.", "Type_is_referenced_directly_or_indirectly_in_the_fulfillment_callback_of_its_own_then_method_1062": "Türe, kendi 'then' metodunun tamamlama geri aramasında doğrudan veya dolaylı olarak başvuruluyor.", "Type_library_referenced_via_0_from_file_1_1402": "'{1}' dosyasından '{0}' aracılığıyla başvurulan tür kitaplığı", @@ -1758,6 +1768,7 @@ "Type_of_iterated_elements_of_a_yield_Asterisk_operand_must_either_be_a_valid_promise_or_must_not_con_1322": "Bir 'yield*' işleneninin yinelenen öğelerinin türü, geçerli bir promise olmalı veya çağrılabilir 'then' üyesi içermemelidir.", "Type_of_property_0_circularly_references_itself_in_mapped_type_1_2615": "'{0}' özelliğinin türü, '{1}' eşlenmiş türünde döngüsel olarak kendine başvuruyor.", "Type_of_yield_operand_in_an_async_generator_must_either_be_a_valid_promise_or_must_not_contain_a_cal_1321": "Zaman uyumsuz bir oluşturucudaki 'yield' işleneninin türü, geçerli bir promise olmalı veya çağrılabilir 'then' üyesi içermemelidir.", + "Type_only_import_of_an_ECMAScript_module_from_a_CommonJS_module_must_have_a_resolution_mode_attribut_1541": "Bir ECMAScript modülünün bir CommonJS modülünden yalnızca tür içeri aktarımında bir 'resolution-mode' özniteliği bulunmalıdır.", "Type_originates_at_this_import_A_namespace_style_import_cannot_be_called_or_constructed_and_will_cau_7038": "Tür bu içeri aktarmadan kaynaklanıyor. Ad alanı stili içeri aktarma işlemi çağrılamaz ya da oluşturulamaz ve çalışma zamanında hataya neden olur. Bunun yerine varsayılan içeri aktarmayı kullanabilir veya burada içeri aktarma gerektirebilirsiniz.", "Type_parameter_0_has_a_circular_constraint_2313": "'{0}' tür parametresi döngüsel bir kısıtlamaya sahip.", "Type_parameter_0_has_a_circular_default_2716": "'{0}' tür parametresi döngüsel bir varsayılana sahip.", @@ -1844,6 +1855,7 @@ "Use_the_package_json_imports_field_when_resolving_imports_6409": "İçeri aktarmaları çözümlerken package.json dosyasındaki 'imports' alanını kullanın.", "Use_type_0_95181": "'type {0}' kullanın", "Using_0_subpath_1_with_target_2_6404": "Hedef '{2}' ile '{0}' alt yol '{1}' kullanılıyor.", + "Using_JSX_fragments_requires_fragment_factory_0_to_be_in_scope_but_it_could_not_be_found_2879": "JSX parçalarının kullanımı '{0}' parça fabrikasının kapsamda olmasını gerektiriyor, ancak bulunamadı.", "Using_a_string_in_a_for_of_statement_is_only_supported_in_ECMAScript_5_and_higher_2494": "'for...of' deyiminde dize kullanma yalnızca ECMAScript 5 veya üzerinde desteklenir.", "Using_build_b_will_make_tsc_behave_more_like_a_build_orchestrator_than_a_compiler_This_is_used_to_tr_6915": "--build kullanarak -b, tsc’nin derleyici yerine derleme düzenleyici gibi davranmasına yol açar. Bu, kompozit projeler oluşturmayı tetiklemek için kullanılır. Daha fazla bilgi edinmek için bkz. {0}", "Using_compiler_options_of_project_reference_redirect_0_6215": "'{0}' proje başvurusu yeniden yönlendirmesinin derleyici seçenekleri kullanılıyor.", diff --git a/node_modules/typescript/lib/tsc.js b/node_modules/typescript/lib/tsc.js index 3ea9087202..72e3416e30 100644 --- a/node_modules/typescript/lib/tsc.js +++ b/node_modules/typescript/lib/tsc.js @@ -1,130769 +1,8 @@ -/*! ***************************************************************************** -Copyright (c) Microsoft Corporation. All rights reserved. -Licensed under the Apache License, Version 2.0 (the "License"); you may not use -this file except in compliance with the License. You may obtain a copy of the -License at http://www.apache.org/licenses/LICENSE-2.0 - -THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY -KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED -WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE, -MERCHANTABLITY OR NON-INFRINGEMENT. - -See the Apache Version 2.0 License for specific language governing permissions -and limitations under the License. -***************************************************************************** */ - - -"use strict"; - -// src/compiler/corePublic.ts -var versionMajorMinor = "5.6"; -var version = "5.6.3"; - -// src/compiler/core.ts -var emptyArray = []; -var emptyMap = /* @__PURE__ */ new Map(); -function length(array) { - return array !== void 0 ? array.length : 0; -} -function forEach(array, callback) { - if (array !== void 0) { - for (let i = 0; i < array.length; i++) { - const result = callback(array[i], i); - if (result) { - return result; - } - } - } - return void 0; -} -function firstDefined(array, callback) { - if (array === void 0) { - return void 0; - } - for (let i = 0; i < array.length; i++) { - const result = callback(array[i], i); - if (result !== void 0) { - return result; - } - } - return void 0; -} -function firstDefinedIterator(iter, callback) { - for (const value of iter) { - const result = callback(value); - if (result !== void 0) { - return result; - } - } - return void 0; -} -function reduceLeftIterator(iterator, f, initial) { - let result = initial; - if (iterator) { - let pos = 0; - for (const value of iterator) { - result = f(result, value, pos); - pos++; - } - } - return result; -} -function zipWith(arrayA, arrayB, callback) { - const result = []; - Debug.assertEqual(arrayA.length, arrayB.length); - for (let i = 0; i < arrayA.length; i++) { - result.push(callback(arrayA[i], arrayB[i], i)); - } - return result; -} -function every(array, callback) { - if (array !== void 0) { - for (let i = 0; i < array.length; i++) { - if (!callback(array[i], i)) { - return false; - } - } - } - return true; -} -function find(array, predicate, startIndex) { - if (array === void 0) return void 0; - for (let i = startIndex ?? 0; i < array.length; i++) { - const value = array[i]; - if (predicate(value, i)) { - return value; - } - } - return void 0; -} -function findLast(array, predicate, startIndex) { - if (array === void 0) return void 0; - for (let i = startIndex ?? array.length - 1; i >= 0; i--) { - const value = array[i]; - if (predicate(value, i)) { - return value; - } - } - return void 0; -} -function findIndex(array, predicate, startIndex) { - if (array === void 0) return -1; - for (let i = startIndex ?? 0; i < array.length; i++) { - if (predicate(array[i], i)) { - return i; - } - } - return -1; -} -function findLastIndex(array, predicate, startIndex) { - if (array === void 0) return -1; - for (let i = startIndex ?? array.length - 1; i >= 0; i--) { - if (predicate(array[i], i)) { - return i; - } - } - return -1; -} -function contains(array, value, equalityComparer = equateValues) { - if (array !== void 0) { - for (let i = 0; i < array.length; i++) { - if (equalityComparer(array[i], value)) { - return true; - } - } - } - return false; -} -function indexOfAnyCharCode(text, charCodes, start) { - for (let i = start ?? 0; i < text.length; i++) { - if (contains(charCodes, text.charCodeAt(i))) { - return i; - } - } - return -1; -} -function countWhere(array, predicate) { - let count = 0; - if (array !== void 0) { - for (let i = 0; i < array.length; i++) { - const v = array[i]; - if (predicate(v, i)) { - count++; - } - } - } - return count; -} -function filter(array, f) { - if (array !== void 0) { - const len = array.length; - let i = 0; - while (i < len && f(array[i])) i++; - if (i < len) { - const result = array.slice(0, i); - i++; - while (i < len) { - const item = array[i]; - if (f(item)) { - result.push(item); - } - i++; - } - return result; - } - } - return array; -} -function filterMutate(array, f) { - let outIndex = 0; - for (let i = 0; i < array.length; i++) { - if (f(array[i], i, array)) { - array[outIndex] = array[i]; - outIndex++; - } - } - array.length = outIndex; -} -function clear(array) { - array.length = 0; -} -function map(array, f) { - let result; - if (array !== void 0) { - result = []; - for (let i = 0; i < array.length; i++) { - result.push(f(array[i], i)); - } - } - return result; -} -function* mapIterator(iter, mapFn) { - for (const x of iter) { - yield mapFn(x); - } -} -function sameMap(array, f) { - if (array !== void 0) { - for (let i = 0; i < array.length; i++) { - const item = array[i]; - const mapped = f(item, i); - if (item !== mapped) { - const result = array.slice(0, i); - result.push(mapped); - for (i++; i < array.length; i++) { - result.push(f(array[i], i)); - } - return result; - } - } - } - return array; -} -function flatten(array) { - const result = []; - for (let i = 0; i < array.length; i++) { - const v = array[i]; - if (v) { - if (isArray(v)) { - addRange(result, v); - } else { - result.push(v); - } - } - } - return result; -} -function flatMap(array, mapfn) { - let result; - if (array !== void 0) { - for (let i = 0; i < array.length; i++) { - const v = mapfn(array[i], i); - if (v) { - if (isArray(v)) { - result = addRange(result, v); - } else { - result = append(result, v); - } - } - } - } - return result ?? emptyArray; -} -function flatMapToMutable(array, mapfn) { - const result = []; - if (array !== void 0) { - for (let i = 0; i < array.length; i++) { - const v = mapfn(array[i], i); - if (v) { - if (isArray(v)) { - addRange(result, v); - } else { - result.push(v); - } - } - } - } - return result; -} -function sameFlatMap(array, mapfn) { - let result; - if (array !== void 0) { - for (let i = 0; i < array.length; i++) { - const item = array[i]; - const mapped = mapfn(item, i); - if (result || item !== mapped || isArray(mapped)) { - if (!result) { - result = array.slice(0, i); - } - if (isArray(mapped)) { - addRange(result, mapped); - } else { - result.push(mapped); - } - } - } - } - return result ?? array; -} -function mapDefined(array, mapFn) { - const result = []; - if (array !== void 0) { - for (let i = 0; i < array.length; i++) { - const mapped = mapFn(array[i], i); - if (mapped !== void 0) { - result.push(mapped); - } - } - } - return result; -} -function* mapDefinedIterator(iter, mapFn) { - for (const x of iter) { - const value = mapFn(x); - if (value !== void 0) { - yield value; - } - } -} -function getOrUpdate(map2, key, callback) { - if (map2.has(key)) { - return map2.get(key); - } - const value = callback(); - map2.set(key, value); - return value; -} -function tryAddToSet(set, value) { - if (!set.has(value)) { - set.add(value); - return true; - } - return false; -} -function spanMap(array, keyfn, mapfn) { - let result; - if (array !== void 0) { - result = []; - const len = array.length; - let previousKey; - let key; - let start = 0; - let pos = 0; - while (start < len) { - while (pos < len) { - const value = array[pos]; - key = keyfn(value, pos); - if (pos === 0) { - previousKey = key; - } else if (key !== previousKey) { - break; - } - pos++; - } - if (start < pos) { - const v = mapfn(array.slice(start, pos), previousKey, start, pos); - if (v) { - result.push(v); - } - start = pos; - } - previousKey = key; - pos++; - } - } - return result; -} -function some(array, predicate) { - if (array !== void 0) { - if (predicate !== void 0) { - for (let i = 0; i < array.length; i++) { - if (predicate(array[i])) { - return true; - } - } - } else { - return array.length > 0; - } - } - return false; -} -function getRangesWhere(arr, pred, cb) { - let start; - for (let i = 0; i < arr.length; i++) { - if (pred(arr[i])) { - start = start === void 0 ? i : start; - } else { - if (start !== void 0) { - cb(start, i); - start = void 0; - } - } - } - if (start !== void 0) cb(start, arr.length); -} -function concatenate(array1, array2) { - if (array2 === void 0 || array2.length === 0) return array1; - if (array1 === void 0 || array1.length === 0) return array2; - return [...array1, ...array2]; -} -function selectIndex(_, i) { - return i; -} -function indicesOf(array) { - return array.map(selectIndex); -} -function deduplicateRelational(array, equalityComparer, comparer) { - const indices = indicesOf(array); - stableSortIndices(array, indices, comparer); - let last2 = array[indices[0]]; - const deduplicated = [indices[0]]; - for (let i = 1; i < indices.length; i++) { - const index = indices[i]; - const item = array[index]; - if (!equalityComparer(last2, item)) { - deduplicated.push(index); - last2 = item; - } - } - deduplicated.sort(); - return deduplicated.map((i) => array[i]); -} -function deduplicateEquality(array, equalityComparer) { - const result = []; - for (let i = 0; i < array.length; i++) { - pushIfUnique(result, array[i], equalityComparer); - } - return result; -} -function deduplicate(array, equalityComparer, comparer) { - return array.length === 0 ? [] : array.length === 1 ? array.slice() : comparer ? deduplicateRelational(array, equalityComparer, comparer) : deduplicateEquality(array, equalityComparer); -} -function deduplicateSorted(array, comparer) { - if (array.length === 0) return emptyArray; - let last2 = array[0]; - const deduplicated = [last2]; - for (let i = 1; i < array.length; i++) { - const next = array[i]; - switch (comparer(next, last2)) { - case true: - case 0 /* EqualTo */: - continue; - case -1 /* LessThan */: - return Debug.fail("Array is unsorted."); - } - deduplicated.push(last2 = next); - } - return deduplicated; -} -function insertSorted(array, insert, compare, equalityComparer, allowDuplicates) { - if (array.length === 0) { - array.push(insert); - return true; - } - const insertIndex = binarySearch(array, insert, identity, compare); - if (insertIndex < 0) { - if (equalityComparer && !allowDuplicates) { - const idx = ~insertIndex; - if (idx > 0 && equalityComparer(insert, array[idx - 1])) { - return false; - } - if (idx < array.length && equalityComparer(insert, array[idx])) { - array.splice(idx, 1, insert); - return true; - } - } - array.splice(~insertIndex, 0, insert); - return true; - } - if (allowDuplicates) { - array.splice(insertIndex, 0, insert); - return true; - } - return false; -} -function sortAndDeduplicate(array, comparer, equalityComparer) { - return deduplicateSorted(toSorted(array, comparer), equalityComparer ?? comparer ?? compareStringsCaseSensitive); -} -function arrayIsEqualTo(array1, array2, equalityComparer = equateValues) { - if (array1 === void 0 || array2 === void 0) { - return array1 === array2; - } - if (array1.length !== array2.length) { - return false; - } - for (let i = 0; i < array1.length; i++) { - if (!equalityComparer(array1[i], array2[i], i)) { - return false; - } - } - return true; -} -function compact(array) { - let result; - if (array !== void 0) { - for (let i = 0; i < array.length; i++) { - const v = array[i]; - if (result ?? !v) { - result ?? (result = array.slice(0, i)); - if (v) { - result.push(v); - } - } - } - } - return result ?? array; -} -function relativeComplement(arrayA, arrayB, comparer) { - if (!arrayB || !arrayA || arrayB.length === 0 || arrayA.length === 0) return arrayB; - const result = []; - loopB: - for (let offsetA = 0, offsetB = 0; offsetB < arrayB.length; offsetB++) { - if (offsetB > 0) { - Debug.assertGreaterThanOrEqual(comparer(arrayB[offsetB], arrayB[offsetB - 1]), 0 /* EqualTo */); - } - loopA: - for (const startA = offsetA; offsetA < arrayA.length; offsetA++) { - if (offsetA > startA) { - Debug.assertGreaterThanOrEqual(comparer(arrayA[offsetA], arrayA[offsetA - 1]), 0 /* EqualTo */); - } - switch (comparer(arrayB[offsetB], arrayA[offsetA])) { - case -1 /* LessThan */: - result.push(arrayB[offsetB]); - continue loopB; - case 0 /* EqualTo */: - continue loopB; - case 1 /* GreaterThan */: - continue loopA; - } - } - } - return result; -} -function append(to, value) { - if (value === void 0) return to; - if (to === void 0) return [value]; - to.push(value); - return to; -} -function toOffset(array, offset) { - return offset < 0 ? array.length + offset : offset; -} -function addRange(to, from, start, end) { - if (from === void 0 || from.length === 0) return to; - if (to === void 0) return from.slice(start, end); - start = start === void 0 ? 0 : toOffset(from, start); - end = end === void 0 ? from.length : toOffset(from, end); - for (let i = start; i < end && i < from.length; i++) { - if (from[i] !== void 0) { - to.push(from[i]); - } - } - return to; -} -function pushIfUnique(array, toAdd, equalityComparer) { - if (contains(array, toAdd, equalityComparer)) { - return false; - } else { - array.push(toAdd); - return true; - } -} -function appendIfUnique(array, toAdd, equalityComparer) { - if (array !== void 0) { - pushIfUnique(array, toAdd, equalityComparer); - return array; - } else { - return [toAdd]; - } -} -function stableSortIndices(array, indices, comparer) { - indices.sort((x, y) => comparer(array[x], array[y]) || compareValues(x, y)); -} -function toSorted(array, comparer) { - return array.length === 0 ? emptyArray : array.slice().sort(comparer); -} -function rangeEquals(array1, array2, pos, end) { - while (pos < end) { - if (array1[pos] !== array2[pos]) { - return false; - } - pos++; - } - return true; -} -var elementAt = !!Array.prototype.at ? (array, offset) => array == null ? void 0 : array.at(offset) : (array, offset) => { - if (array !== void 0) { - offset = toOffset(array, offset); - if (offset < array.length) { - return array[offset]; - } - } - return void 0; -}; -function firstOrUndefined(array) { - return array === void 0 || array.length === 0 ? void 0 : array[0]; -} -function firstOrUndefinedIterator(iter) { - if (iter !== void 0) { - for (const value of iter) { - return value; - } - } - return void 0; -} -function first(array) { - Debug.assert(array.length !== 0); - return array[0]; -} -function firstIterator(iter) { - for (const value of iter) { - return value; - } - Debug.fail("iterator is empty"); -} -function lastOrUndefined(array) { - return array === void 0 || array.length === 0 ? void 0 : array[array.length - 1]; -} -function last(array) { - Debug.assert(array.length !== 0); - return array[array.length - 1]; -} -function singleOrUndefined(array) { - return array !== void 0 && array.length === 1 ? array[0] : void 0; -} -function singleOrMany(array) { - return array !== void 0 && array.length === 1 ? array[0] : array; -} -function replaceElement(array, index, value) { - const result = array.slice(0); - result[index] = value; - return result; -} -function binarySearch(array, value, keySelector, keyComparer, offset) { - return binarySearchKey(array, keySelector(value), keySelector, keyComparer, offset); -} -function binarySearchKey(array, key, keySelector, keyComparer, offset) { - if (!some(array)) { - return -1; - } - let low = offset ?? 0; - let high = array.length - 1; - while (low <= high) { - const middle = low + (high - low >> 1); - const midKey = keySelector(array[middle], middle); - switch (keyComparer(midKey, key)) { - case -1 /* LessThan */: - low = middle + 1; - break; - case 0 /* EqualTo */: - return middle; - case 1 /* GreaterThan */: - high = middle - 1; - break; - } - } - return ~low; -} -function reduceLeft(array, f, initial, start, count) { - if (array && array.length > 0) { - const size = array.length; - if (size > 0) { - let pos = start === void 0 || start < 0 ? 0 : start; - const end = count === void 0 || pos + count > size - 1 ? size - 1 : pos + count; - let result; - if (arguments.length <= 2) { - result = array[pos]; - pos++; - } else { - result = initial; - } - while (pos <= end) { - result = f(result, array[pos], pos); - pos++; - } - return result; - } - } - return initial; -} -var hasOwnProperty = Object.prototype.hasOwnProperty; -function hasProperty(map2, key) { - return hasOwnProperty.call(map2, key); -} -function getOwnKeys(map2) { - const keys = []; - for (const key in map2) { - if (hasOwnProperty.call(map2, key)) { - keys.push(key); - } - } - return keys; -} -function getOwnValues(collection) { - const values = []; - for (const key in collection) { - if (hasOwnProperty.call(collection, key)) { - values.push(collection[key]); - } - } - return values; -} -function arrayOf(count, f) { - const result = new Array(count); - for (let i = 0; i < count; i++) { - result[i] = f(i); - } - return result; -} -function arrayFrom(iterator, map2) { - const result = []; - for (const value of iterator) { - result.push(map2 ? map2(value) : value); - } - return result; -} -function assign(t, ...args) { - for (const arg of args) { - if (arg === void 0) continue; - for (const p in arg) { - if (hasProperty(arg, p)) { - t[p] = arg[p]; - } - } - } - return t; -} -function equalOwnProperties(left, right, equalityComparer = equateValues) { - if (left === right) return true; - if (!left || !right) return false; - for (const key in left) { - if (hasOwnProperty.call(left, key)) { - if (!hasOwnProperty.call(right, key)) return false; - if (!equalityComparer(left[key], right[key])) return false; - } - } - for (const key in right) { - if (hasOwnProperty.call(right, key)) { - if (!hasOwnProperty.call(left, key)) return false; - } - } - return true; -} -function arrayToMap(array, makeKey, makeValue = identity) { - const result = /* @__PURE__ */ new Map(); - for (let i = 0; i < array.length; i++) { - const value = array[i]; - const key = makeKey(value); - if (key !== void 0) result.set(key, makeValue(value)); - } - return result; -} -function arrayToMultiMap(values, makeKey, makeValue = identity) { - const result = createMultiMap(); - for (let i = 0; i < values.length; i++) { - const value = values[i]; - result.add(makeKey(value), makeValue(value)); - } - return result; -} -function group(values, getGroupId, resultSelector = identity) { - return arrayFrom(arrayToMultiMap(values, getGroupId).values(), resultSelector); -} -function groupBy(values, keySelector) { - const result = {}; - if (values !== void 0) { - for (let i = 0; i < values.length; i++) { - const value = values[i]; - const key = `${keySelector(value)}`; - const array = result[key] ?? (result[key] = []); - array.push(value); - } - } - return result; -} -function extend(first2, second) { - const result = {}; - for (const id in second) { - if (hasOwnProperty.call(second, id)) { - result[id] = second[id]; - } - } - for (const id in first2) { - if (hasOwnProperty.call(first2, id)) { - result[id] = first2[id]; - } - } - return result; -} -function copyProperties(first2, second) { - for (const id in second) { - if (hasOwnProperty.call(second, id)) { - first2[id] = second[id]; - } - } -} -function maybeBind(obj, fn) { - return fn == null ? void 0 : fn.bind(obj); -} -function createMultiMap() { - const map2 = /* @__PURE__ */ new Map(); - map2.add = multiMapAdd; - map2.remove = multiMapRemove; - return map2; -} -function multiMapAdd(key, value) { - let values = this.get(key); - if (values !== void 0) { - values.push(value); - } else { - this.set(key, values = [value]); - } - return values; -} -function multiMapRemove(key, value) { - const values = this.get(key); - if (values !== void 0) { - unorderedRemoveItem(values, value); - if (!values.length) { - this.delete(key); - } - } -} -function createQueue(items) { - const elements = (items == null ? void 0 : items.slice()) ?? []; - let headIndex = 0; - function isEmpty() { - return headIndex === elements.length; - } - function enqueue(...items2) { - elements.push(...items2); - } - function dequeue() { - if (isEmpty()) { - throw new Error("Queue is empty"); - } - const result = elements[headIndex]; - elements[headIndex] = void 0; - headIndex++; - if (headIndex > 100 && headIndex > elements.length >> 1) { - const newLength = elements.length - headIndex; - elements.copyWithin( - /*target*/ - 0, - /*start*/ - headIndex - ); - elements.length = newLength; - headIndex = 0; - } - return result; - } - return { - enqueue, - dequeue, - isEmpty - }; -} -function isArray(value) { - return Array.isArray(value); -} -function toArray(value) { - return isArray(value) ? value : [value]; -} -function isString(text) { - return typeof text === "string"; -} -function isNumber(x) { - return typeof x === "number"; -} -function tryCast(value, test) { - return value !== void 0 && test(value) ? value : void 0; -} -function cast(value, test) { - if (value !== void 0 && test(value)) return value; - return Debug.fail(`Invalid cast. The supplied value ${value} did not pass the test '${Debug.getFunctionName(test)}'.`); -} -function noop(_) { -} -function returnFalse() { - return false; -} -function returnTrue() { - return true; -} -function returnUndefined() { - return void 0; -} -function identity(x) { - return x; -} -function toLowerCase(x) { - return x.toLowerCase(); -} -var fileNameLowerCaseRegExp = /[^\u0130\u0131\u00DFa-z0-9\\/:\-_. ]+/g; -function toFileNameLowerCase(x) { - return fileNameLowerCaseRegExp.test(x) ? x.replace(fileNameLowerCaseRegExp, toLowerCase) : x; -} -function notImplemented() { - throw new Error("Not implemented"); -} -function memoize(callback) { - let value; - return () => { - if (callback) { - value = callback(); - callback = void 0; - } - return value; - }; -} -function memoizeOne(callback) { - const map2 = /* @__PURE__ */ new Map(); - return (arg) => { - const key = `${typeof arg}:${arg}`; - let value = map2.get(key); - if (value === void 0 && !map2.has(key)) { - value = callback(arg); - map2.set(key, value); - } - return value; - }; -} -function equateValues(a, b) { - return a === b; -} -function equateStringsCaseInsensitive(a, b) { - return a === b || a !== void 0 && b !== void 0 && a.toUpperCase() === b.toUpperCase(); -} -function equateStringsCaseSensitive(a, b) { - return equateValues(a, b); -} -function compareComparableValues(a, b) { - return a === b ? 0 /* EqualTo */ : a === void 0 ? -1 /* LessThan */ : b === void 0 ? 1 /* GreaterThan */ : a < b ? -1 /* LessThan */ : 1 /* GreaterThan */; -} -function compareValues(a, b) { - return compareComparableValues(a, b); -} -function maxBy(arr, init, mapper) { - for (let i = 0; i < arr.length; i++) { - init = Math.max(init, mapper(arr[i])); - } - return init; -} -function min(items, compare) { - return reduceLeft(items, (x, y) => compare(x, y) === -1 /* LessThan */ ? x : y); -} -function compareStringsCaseInsensitive(a, b) { - if (a === b) return 0 /* EqualTo */; - if (a === void 0) return -1 /* LessThan */; - if (b === void 0) return 1 /* GreaterThan */; - a = a.toUpperCase(); - b = b.toUpperCase(); - return a < b ? -1 /* LessThan */ : a > b ? 1 /* GreaterThan */ : 0 /* EqualTo */; -} -function compareStringsCaseSensitive(a, b) { - return compareComparableValues(a, b); -} -function getStringComparer(ignoreCase) { - return ignoreCase ? compareStringsCaseInsensitive : compareStringsCaseSensitive; -} -var uiComparerCaseSensitive; -var uiLocale; -function setUILocale(value) { - if (uiLocale !== value) { - uiLocale = value; - uiComparerCaseSensitive = void 0; - } -} -function compareBooleans(a, b) { - return compareValues(a ? 1 : 0, b ? 1 : 0); -} -function getSpellingSuggestion(name, candidates, getName) { - const maximumLengthDifference = Math.max(2, Math.floor(name.length * 0.34)); - let bestDistance = Math.floor(name.length * 0.4) + 1; - let bestCandidate; - for (const candidate of candidates) { - const candidateName = getName(candidate); - if (candidateName !== void 0 && Math.abs(candidateName.length - name.length) <= maximumLengthDifference) { - if (candidateName === name) { - continue; - } - if (candidateName.length < 3 && candidateName.toLowerCase() !== name.toLowerCase()) { - continue; - } - const distance = levenshteinWithMax(name, candidateName, bestDistance - 0.1); - if (distance === void 0) { - continue; - } - Debug.assert(distance < bestDistance); - bestDistance = distance; - bestCandidate = candidate; - } - } - return bestCandidate; -} -function levenshteinWithMax(s1, s2, max) { - let previous = new Array(s2.length + 1); - let current = new Array(s2.length + 1); - const big = max + 0.01; - for (let i = 0; i <= s2.length; i++) { - previous[i] = i; - } - for (let i = 1; i <= s1.length; i++) { - const c1 = s1.charCodeAt(i - 1); - const minJ = Math.ceil(i > max ? i - max : 1); - const maxJ = Math.floor(s2.length > max + i ? max + i : s2.length); - current[0] = i; - let colMin = i; - for (let j = 1; j < minJ; j++) { - current[j] = big; - } - for (let j = minJ; j <= maxJ; j++) { - const substitutionDistance = s1[i - 1].toLowerCase() === s2[j - 1].toLowerCase() ? previous[j - 1] + 0.1 : previous[j - 1] + 2; - const dist = c1 === s2.charCodeAt(j - 1) ? previous[j - 1] : Math.min( - /*delete*/ - previous[j] + 1, - /*insert*/ - current[j - 1] + 1, - /*substitute*/ - substitutionDistance - ); - current[j] = dist; - colMin = Math.min(colMin, dist); - } - for (let j = maxJ + 1; j <= s2.length; j++) { - current[j] = big; - } - if (colMin > max) { - return void 0; - } - const temp = previous; - previous = current; - current = temp; - } - const res = previous[s2.length]; - return res > max ? void 0 : res; -} -function endsWith(str, suffix, ignoreCase) { - const expectedPos = str.length - suffix.length; - return expectedPos >= 0 && (ignoreCase ? equateStringsCaseInsensitive(str.slice(expectedPos), suffix) : str.indexOf(suffix, expectedPos) === expectedPos); -} -function removeSuffix(str, suffix) { - return endsWith(str, suffix) ? str.slice(0, str.length - suffix.length) : str; -} -function orderedRemoveItem(array, item) { - for (let i = 0; i < array.length; i++) { - if (array[i] === item) { - orderedRemoveItemAt(array, i); - return true; - } - } - return false; -} -function orderedRemoveItemAt(array, index) { - for (let i = index; i < array.length - 1; i++) { - array[i] = array[i + 1]; - } - array.pop(); -} -function unorderedRemoveItemAt(array, index) { - array[index] = array[array.length - 1]; - array.pop(); -} -function unorderedRemoveItem(array, item) { - return unorderedRemoveFirstItemWhere(array, (element) => element === item); -} -function unorderedRemoveFirstItemWhere(array, predicate) { - for (let i = 0; i < array.length; i++) { - if (predicate(array[i])) { - unorderedRemoveItemAt(array, i); - return true; - } - } - return false; -} -function createGetCanonicalFileName(useCaseSensitiveFileNames2) { - return useCaseSensitiveFileNames2 ? identity : toFileNameLowerCase; -} -function patternText({ prefix, suffix }) { - return `${prefix}*${suffix}`; -} -function matchedText(pattern, candidate) { - Debug.assert(isPatternMatch(pattern, candidate)); - return candidate.substring(pattern.prefix.length, candidate.length - pattern.suffix.length); -} -function findBestPatternMatch(values, getPattern, candidate) { - let matchedValue; - let longestMatchPrefixLength = -1; - for (let i = 0; i < values.length; i++) { - const v = values[i]; - const pattern = getPattern(v); - if (isPatternMatch(pattern, candidate) && pattern.prefix.length > longestMatchPrefixLength) { - longestMatchPrefixLength = pattern.prefix.length; - matchedValue = v; - } - } - return matchedValue; -} -function startsWith(str, prefix, ignoreCase) { - return ignoreCase ? equateStringsCaseInsensitive(str.slice(0, prefix.length), prefix) : str.lastIndexOf(prefix, 0) === 0; -} -function removePrefix(str, prefix) { - return startsWith(str, prefix) ? str.substr(prefix.length) : str; -} -function isPatternMatch({ prefix, suffix }, candidate) { - return candidate.length >= prefix.length + suffix.length && startsWith(candidate, prefix) && endsWith(candidate, suffix); -} -function and(f, g) { - return (arg) => f(arg) && g(arg); -} -function or(...fs) { - return (...args) => { - let lastResult; - for (const f of fs) { - lastResult = f(...args); - if (lastResult) { - return lastResult; - } - } - return lastResult; - }; -} -function not(fn) { - return (...args) => !fn(...args); -} -function assertType(_) { -} -function singleElementArray(t) { - return t === void 0 ? void 0 : [t]; -} -function enumerateInsertsAndDeletes(newItems, oldItems, comparer, inserted, deleted, unchanged) { - unchanged ?? (unchanged = noop); - let newIndex = 0; - let oldIndex = 0; - const newLen = newItems.length; - const oldLen = oldItems.length; - let hasChanges = false; - while (newIndex < newLen && oldIndex < oldLen) { - const newItem = newItems[newIndex]; - const oldItem = oldItems[oldIndex]; - const compareResult = comparer(newItem, oldItem); - if (compareResult === -1 /* LessThan */) { - inserted(newItem); - newIndex++; - hasChanges = true; - } else if (compareResult === 1 /* GreaterThan */) { - deleted(oldItem); - oldIndex++; - hasChanges = true; - } else { - unchanged(oldItem, newItem); - newIndex++; - oldIndex++; - } - } - while (newIndex < newLen) { - inserted(newItems[newIndex++]); - hasChanges = true; - } - while (oldIndex < oldLen) { - deleted(oldItems[oldIndex++]); - hasChanges = true; - } - return hasChanges; -} -function cartesianProduct(arrays) { - const result = []; - cartesianProductWorker( - arrays, - result, - /*outer*/ - void 0, - 0 - ); - return result; -} -function cartesianProductWorker(arrays, result, outer, index) { - for (const element of arrays[index]) { - let inner; - if (outer) { - inner = outer.slice(); - inner.push(element); - } else { - inner = [element]; - } - if (index === arrays.length - 1) { - result.push(inner); - } else { - cartesianProductWorker(arrays, result, inner, index + 1); - } - } -} -function takeWhile(array, predicate) { - if (array !== void 0) { - const len = array.length; - let index = 0; - while (index < len && predicate(array[index])) { - index++; - } - return array.slice(0, index); - } -} -function skipWhile(array, predicate) { - if (array !== void 0) { - const len = array.length; - let index = 0; - while (index < len && predicate(array[index])) { - index++; - } - return array.slice(index); - } -} -function isNodeLikeSystem() { - return typeof process !== "undefined" && !!process.nextTick && !process.browser && typeof require !== "undefined"; -} - -// src/compiler/debug.ts -var Debug; -((Debug2) => { - let currentAssertionLevel = 0 /* None */; - Debug2.currentLogLevel = 2 /* Warning */; - Debug2.isDebugging = false; - function shouldLog(level) { - return Debug2.currentLogLevel <= level; - } - Debug2.shouldLog = shouldLog; - function logMessage(level, s) { - if (Debug2.loggingHost && shouldLog(level)) { - Debug2.loggingHost.log(level, s); - } - } - function log(s) { - logMessage(3 /* Info */, s); - } - Debug2.log = log; - ((_log) => { - function error(s) { - logMessage(1 /* Error */, s); - } - _log.error = error; - function warn(s) { - logMessage(2 /* Warning */, s); - } - _log.warn = warn; - function log2(s) { - logMessage(3 /* Info */, s); - } - _log.log = log2; - function trace2(s) { - logMessage(4 /* Verbose */, s); - } - _log.trace = trace2; - })(log = Debug2.log || (Debug2.log = {})); - const assertionCache = {}; - function getAssertionLevel() { - return currentAssertionLevel; - } - Debug2.getAssertionLevel = getAssertionLevel; - function setAssertionLevel(level) { - const prevAssertionLevel = currentAssertionLevel; - currentAssertionLevel = level; - if (level > prevAssertionLevel) { - for (const key of getOwnKeys(assertionCache)) { - const cachedFunc = assertionCache[key]; - if (cachedFunc !== void 0 && Debug2[key] !== cachedFunc.assertion && level >= cachedFunc.level) { - Debug2[key] = cachedFunc; - assertionCache[key] = void 0; - } - } - } - } - Debug2.setAssertionLevel = setAssertionLevel; - function shouldAssert(level) { - return currentAssertionLevel >= level; - } - Debug2.shouldAssert = shouldAssert; - function shouldAssertFunction(level, name) { - if (!shouldAssert(level)) { - assertionCache[name] = { level, assertion: Debug2[name] }; - Debug2[name] = noop; - return false; - } - return true; - } - function fail(message, stackCrawlMark) { - debugger; - const e = new Error(message ? `Debug Failure. ${message}` : "Debug Failure."); - if (Error.captureStackTrace) { - Error.captureStackTrace(e, stackCrawlMark || fail); - } - throw e; - } - Debug2.fail = fail; - function failBadSyntaxKind(node, message, stackCrawlMark) { - return fail( - `${message || "Unexpected node."}\r -Node ${formatSyntaxKind(node.kind)} was unexpected.`, - stackCrawlMark || failBadSyntaxKind - ); - } - Debug2.failBadSyntaxKind = failBadSyntaxKind; - function assert(expression, message, verboseDebugInfo, stackCrawlMark) { - if (!expression) { - message = message ? `False expression: ${message}` : "False expression."; - if (verboseDebugInfo) { - message += "\r\nVerbose Debug Information: " + (typeof verboseDebugInfo === "string" ? verboseDebugInfo : verboseDebugInfo()); - } - fail(message, stackCrawlMark || assert); - } - } - Debug2.assert = assert; - function assertEqual(a, b, msg, msg2, stackCrawlMark) { - if (a !== b) { - const message = msg ? msg2 ? `${msg} ${msg2}` : msg : ""; - fail(`Expected ${a} === ${b}. ${message}`, stackCrawlMark || assertEqual); - } - } - Debug2.assertEqual = assertEqual; - function assertLessThan(a, b, msg, stackCrawlMark) { - if (a >= b) { - fail(`Expected ${a} < ${b}. ${msg || ""}`, stackCrawlMark || assertLessThan); - } - } - Debug2.assertLessThan = assertLessThan; - function assertLessThanOrEqual(a, b, stackCrawlMark) { - if (a > b) { - fail(`Expected ${a} <= ${b}`, stackCrawlMark || assertLessThanOrEqual); - } - } - Debug2.assertLessThanOrEqual = assertLessThanOrEqual; - function assertGreaterThanOrEqual(a, b, stackCrawlMark) { - if (a < b) { - fail(`Expected ${a} >= ${b}`, stackCrawlMark || assertGreaterThanOrEqual); - } - } - Debug2.assertGreaterThanOrEqual = assertGreaterThanOrEqual; - function assertIsDefined(value, message, stackCrawlMark) { - if (value === void 0 || value === null) { - fail(message, stackCrawlMark || assertIsDefined); - } - } - Debug2.assertIsDefined = assertIsDefined; - function checkDefined(value, message, stackCrawlMark) { - assertIsDefined(value, message, stackCrawlMark || checkDefined); - return value; - } - Debug2.checkDefined = checkDefined; - function assertEachIsDefined(value, message, stackCrawlMark) { - for (const v of value) { - assertIsDefined(v, message, stackCrawlMark || assertEachIsDefined); - } - } - Debug2.assertEachIsDefined = assertEachIsDefined; - function checkEachDefined(value, message, stackCrawlMark) { - assertEachIsDefined(value, message, stackCrawlMark || checkEachDefined); - return value; - } - Debug2.checkEachDefined = checkEachDefined; - function assertNever(member, message = "Illegal value:", stackCrawlMark) { - const detail = typeof member === "object" && hasProperty(member, "kind") && hasProperty(member, "pos") ? "SyntaxKind: " + formatSyntaxKind(member.kind) : JSON.stringify(member); - return fail(`${message} ${detail}`, stackCrawlMark || assertNever); - } - Debug2.assertNever = assertNever; - function assertEachNode(nodes, test, message, stackCrawlMark) { - if (shouldAssertFunction(1 /* Normal */, "assertEachNode")) { - assert( - test === void 0 || every(nodes, test), - message || "Unexpected node.", - () => `Node array did not pass test '${getFunctionName(test)}'.`, - stackCrawlMark || assertEachNode - ); - } - } - Debug2.assertEachNode = assertEachNode; - function assertNode(node, test, message, stackCrawlMark) { - if (shouldAssertFunction(1 /* Normal */, "assertNode")) { - assert( - node !== void 0 && (test === void 0 || test(node)), - message || "Unexpected node.", - () => `Node ${formatSyntaxKind(node == null ? void 0 : node.kind)} did not pass test '${getFunctionName(test)}'.`, - stackCrawlMark || assertNode - ); - } - } - Debug2.assertNode = assertNode; - function assertNotNode(node, test, message, stackCrawlMark) { - if (shouldAssertFunction(1 /* Normal */, "assertNotNode")) { - assert( - node === void 0 || test === void 0 || !test(node), - message || "Unexpected node.", - () => `Node ${formatSyntaxKind(node.kind)} should not have passed test '${getFunctionName(test)}'.`, - stackCrawlMark || assertNotNode - ); - } - } - Debug2.assertNotNode = assertNotNode; - function assertOptionalNode(node, test, message, stackCrawlMark) { - if (shouldAssertFunction(1 /* Normal */, "assertOptionalNode")) { - assert( - test === void 0 || node === void 0 || test(node), - message || "Unexpected node.", - () => `Node ${formatSyntaxKind(node == null ? void 0 : node.kind)} did not pass test '${getFunctionName(test)}'.`, - stackCrawlMark || assertOptionalNode - ); - } - } - Debug2.assertOptionalNode = assertOptionalNode; - function assertOptionalToken(node, kind, message, stackCrawlMark) { - if (shouldAssertFunction(1 /* Normal */, "assertOptionalToken")) { - assert( - kind === void 0 || node === void 0 || node.kind === kind, - message || "Unexpected node.", - () => `Node ${formatSyntaxKind(node == null ? void 0 : node.kind)} was not a '${formatSyntaxKind(kind)}' token.`, - stackCrawlMark || assertOptionalToken - ); - } - } - Debug2.assertOptionalToken = assertOptionalToken; - function assertMissingNode(node, message, stackCrawlMark) { - if (shouldAssertFunction(1 /* Normal */, "assertMissingNode")) { - assert( - node === void 0, - message || "Unexpected node.", - () => `Node ${formatSyntaxKind(node.kind)} was unexpected'.`, - stackCrawlMark || assertMissingNode - ); - } - } - Debug2.assertMissingNode = assertMissingNode; - function type(_value) { - } - Debug2.type = type; - function getFunctionName(func) { - if (typeof func !== "function") { - return ""; - } else if (hasProperty(func, "name")) { - return func.name; - } else { - const text = Function.prototype.toString.call(func); - const match = /^function\s+([\w$]+)\s*\(/.exec(text); - return match ? match[1] : ""; - } - } - Debug2.getFunctionName = getFunctionName; - function formatSymbol(symbol) { - return `{ name: ${unescapeLeadingUnderscores(symbol.escapedName)}; flags: ${formatSymbolFlags(symbol.flags)}; declarations: ${map(symbol.declarations, (node) => formatSyntaxKind(node.kind))} }`; - } - Debug2.formatSymbol = formatSymbol; - function formatEnum(value = 0, enumObject, isFlags) { - const members = getEnumMembers(enumObject); - if (value === 0) { - return members.length > 0 && members[0][0] === 0 ? members[0][1] : "0"; - } - if (isFlags) { - const result = []; - let remainingFlags = value; - for (const [enumValue, enumName] of members) { - if (enumValue > value) { - break; - } - if (enumValue !== 0 && enumValue & value) { - result.push(enumName); - remainingFlags &= ~enumValue; - } - } - if (remainingFlags === 0) { - return result.join("|"); - } - } else { - for (const [enumValue, enumName] of members) { - if (enumValue === value) { - return enumName; - } - } - } - return value.toString(); - } - Debug2.formatEnum = formatEnum; - const enumMemberCache = /* @__PURE__ */ new Map(); - function getEnumMembers(enumObject) { - const existing = enumMemberCache.get(enumObject); - if (existing) { - return existing; - } - const result = []; - for (const name in enumObject) { - const value = enumObject[name]; - if (typeof value === "number") { - result.push([value, name]); - } - } - const sorted = toSorted(result, (x, y) => compareValues(x[0], y[0])); - enumMemberCache.set(enumObject, sorted); - return sorted; - } - function formatSyntaxKind(kind) { - return formatEnum( - kind, - SyntaxKind, - /*isFlags*/ - false - ); - } - Debug2.formatSyntaxKind = formatSyntaxKind; - function formatSnippetKind(kind) { - return formatEnum( - kind, - SnippetKind, - /*isFlags*/ - false - ); - } - Debug2.formatSnippetKind = formatSnippetKind; - function formatScriptKind(kind) { - return formatEnum( - kind, - ScriptKind, - /*isFlags*/ - false - ); - } - Debug2.formatScriptKind = formatScriptKind; - function formatNodeFlags(flags) { - return formatEnum( - flags, - NodeFlags, - /*isFlags*/ - true - ); - } - Debug2.formatNodeFlags = formatNodeFlags; - function formatNodeCheckFlags(flags) { - return formatEnum( - flags, - NodeCheckFlags, - /*isFlags*/ - true - ); - } - Debug2.formatNodeCheckFlags = formatNodeCheckFlags; - function formatModifierFlags(flags) { - return formatEnum( - flags, - ModifierFlags, - /*isFlags*/ - true - ); - } - Debug2.formatModifierFlags = formatModifierFlags; - function formatTransformFlags(flags) { - return formatEnum( - flags, - TransformFlags, - /*isFlags*/ - true - ); - } - Debug2.formatTransformFlags = formatTransformFlags; - function formatEmitFlags(flags) { - return formatEnum( - flags, - EmitFlags, - /*isFlags*/ - true - ); - } - Debug2.formatEmitFlags = formatEmitFlags; - function formatSymbolFlags(flags) { - return formatEnum( - flags, - SymbolFlags, - /*isFlags*/ - true - ); - } - Debug2.formatSymbolFlags = formatSymbolFlags; - function formatTypeFlags(flags) { - return formatEnum( - flags, - TypeFlags, - /*isFlags*/ - true - ); - } - Debug2.formatTypeFlags = formatTypeFlags; - function formatSignatureFlags(flags) { - return formatEnum( - flags, - SignatureFlags, - /*isFlags*/ - true - ); - } - Debug2.formatSignatureFlags = formatSignatureFlags; - function formatObjectFlags(flags) { - return formatEnum( - flags, - ObjectFlags, - /*isFlags*/ - true - ); - } - Debug2.formatObjectFlags = formatObjectFlags; - function formatFlowFlags(flags) { - return formatEnum( - flags, - FlowFlags, - /*isFlags*/ - true - ); - } - Debug2.formatFlowFlags = formatFlowFlags; - function formatRelationComparisonResult(result) { - return formatEnum( - result, - RelationComparisonResult, - /*isFlags*/ - true - ); - } - Debug2.formatRelationComparisonResult = formatRelationComparisonResult; - function formatCheckMode(mode) { - return formatEnum( - mode, - CheckMode, - /*isFlags*/ - true - ); - } - Debug2.formatCheckMode = formatCheckMode; - function formatSignatureCheckMode(mode) { - return formatEnum( - mode, - SignatureCheckMode, - /*isFlags*/ - true - ); - } - Debug2.formatSignatureCheckMode = formatSignatureCheckMode; - function formatTypeFacts(facts) { - return formatEnum( - facts, - TypeFacts, - /*isFlags*/ - true - ); - } - Debug2.formatTypeFacts = formatTypeFacts; - let isDebugInfoEnabled = false; - let flowNodeProto; - function attachFlowNodeDebugInfoWorker(flowNode) { - if (!("__debugFlowFlags" in flowNode)) { - Object.defineProperties(flowNode, { - // for use with vscode-js-debug's new customDescriptionGenerator in launch.json - __tsDebuggerDisplay: { - value() { - const flowHeader = this.flags & 2 /* Start */ ? "FlowStart" : this.flags & 4 /* BranchLabel */ ? "FlowBranchLabel" : this.flags & 8 /* LoopLabel */ ? "FlowLoopLabel" : this.flags & 16 /* Assignment */ ? "FlowAssignment" : this.flags & 32 /* TrueCondition */ ? "FlowTrueCondition" : this.flags & 64 /* FalseCondition */ ? "FlowFalseCondition" : this.flags & 128 /* SwitchClause */ ? "FlowSwitchClause" : this.flags & 256 /* ArrayMutation */ ? "FlowArrayMutation" : this.flags & 512 /* Call */ ? "FlowCall" : this.flags & 1024 /* ReduceLabel */ ? "FlowReduceLabel" : this.flags & 1 /* Unreachable */ ? "FlowUnreachable" : "UnknownFlow"; - const remainingFlags = this.flags & ~(2048 /* Referenced */ - 1); - return `${flowHeader}${remainingFlags ? ` (${formatFlowFlags(remainingFlags)})` : ""}`; - } - }, - __debugFlowFlags: { - get() { - return formatEnum( - this.flags, - FlowFlags, - /*isFlags*/ - true - ); - } - }, - __debugToString: { - value() { - return formatControlFlowGraph(this); - } - } - }); - } - } - function attachFlowNodeDebugInfo(flowNode) { - if (isDebugInfoEnabled) { - if (typeof Object.setPrototypeOf === "function") { - if (!flowNodeProto) { - flowNodeProto = Object.create(Object.prototype); - attachFlowNodeDebugInfoWorker(flowNodeProto); - } - Object.setPrototypeOf(flowNode, flowNodeProto); - } else { - attachFlowNodeDebugInfoWorker(flowNode); - } - } - return flowNode; - } - Debug2.attachFlowNodeDebugInfo = attachFlowNodeDebugInfo; - let nodeArrayProto; - function attachNodeArrayDebugInfoWorker(array) { - if (!("__tsDebuggerDisplay" in array)) { - Object.defineProperties(array, { - __tsDebuggerDisplay: { - value(defaultValue) { - defaultValue = String(defaultValue).replace(/(?:,[\s\w]+:[^,]+)+\]$/, "]"); - return `NodeArray ${defaultValue}`; - } - } - }); - } - } - function attachNodeArrayDebugInfo(array) { - if (isDebugInfoEnabled) { - if (typeof Object.setPrototypeOf === "function") { - if (!nodeArrayProto) { - nodeArrayProto = Object.create(Array.prototype); - attachNodeArrayDebugInfoWorker(nodeArrayProto); - } - Object.setPrototypeOf(array, nodeArrayProto); - } else { - attachNodeArrayDebugInfoWorker(array); - } - } - } - Debug2.attachNodeArrayDebugInfo = attachNodeArrayDebugInfo; - function enableDebugInfo() { - if (isDebugInfoEnabled) return; - const weakTypeTextMap = /* @__PURE__ */ new WeakMap(); - const weakNodeTextMap = /* @__PURE__ */ new WeakMap(); - Object.defineProperties(objectAllocator.getSymbolConstructor().prototype, { - // for use with vscode-js-debug's new customDescriptionGenerator in launch.json - __tsDebuggerDisplay: { - value() { - const symbolHeader = this.flags & 33554432 /* Transient */ ? "TransientSymbol" : "Symbol"; - const remainingSymbolFlags = this.flags & ~33554432 /* Transient */; - return `${symbolHeader} '${symbolName(this)}'${remainingSymbolFlags ? ` (${formatSymbolFlags(remainingSymbolFlags)})` : ""}`; - } - }, - __debugFlags: { - get() { - return formatSymbolFlags(this.flags); - } - } - }); - Object.defineProperties(objectAllocator.getTypeConstructor().prototype, { - // for use with vscode-js-debug's new customDescriptionGenerator in launch.json - __tsDebuggerDisplay: { - value() { - const typeHeader = this.flags & 67359327 /* Intrinsic */ ? `IntrinsicType ${this.intrinsicName}${this.debugIntrinsicName ? ` (${this.debugIntrinsicName})` : ""}` : this.flags & 98304 /* Nullable */ ? "NullableType" : this.flags & 384 /* StringOrNumberLiteral */ ? `LiteralType ${JSON.stringify(this.value)}` : this.flags & 2048 /* BigIntLiteral */ ? `LiteralType ${this.value.negative ? "-" : ""}${this.value.base10Value}n` : this.flags & 8192 /* UniqueESSymbol */ ? "UniqueESSymbolType" : this.flags & 32 /* Enum */ ? "EnumType" : this.flags & 1048576 /* Union */ ? "UnionType" : this.flags & 2097152 /* Intersection */ ? "IntersectionType" : this.flags & 4194304 /* Index */ ? "IndexType" : this.flags & 8388608 /* IndexedAccess */ ? "IndexedAccessType" : this.flags & 16777216 /* Conditional */ ? "ConditionalType" : this.flags & 33554432 /* Substitution */ ? "SubstitutionType" : this.flags & 262144 /* TypeParameter */ ? "TypeParameter" : this.flags & 524288 /* Object */ ? this.objectFlags & 3 /* ClassOrInterface */ ? "InterfaceType" : this.objectFlags & 4 /* Reference */ ? "TypeReference" : this.objectFlags & 8 /* Tuple */ ? "TupleType" : this.objectFlags & 16 /* Anonymous */ ? "AnonymousType" : this.objectFlags & 32 /* Mapped */ ? "MappedType" : this.objectFlags & 1024 /* ReverseMapped */ ? "ReverseMappedType" : this.objectFlags & 256 /* EvolvingArray */ ? "EvolvingArrayType" : "ObjectType" : "Type"; - const remainingObjectFlags = this.flags & 524288 /* Object */ ? this.objectFlags & ~1343 /* ObjectTypeKindMask */ : 0; - return `${typeHeader}${this.symbol ? ` '${symbolName(this.symbol)}'` : ""}${remainingObjectFlags ? ` (${formatObjectFlags(remainingObjectFlags)})` : ""}`; - } - }, - __debugFlags: { - get() { - return formatTypeFlags(this.flags); - } - }, - __debugObjectFlags: { - get() { - return this.flags & 524288 /* Object */ ? formatObjectFlags(this.objectFlags) : ""; - } - }, - __debugTypeToString: { - value() { - let text = weakTypeTextMap.get(this); - if (text === void 0) { - text = this.checker.typeToString(this); - weakTypeTextMap.set(this, text); - } - return text; - } - } - }); - Object.defineProperties(objectAllocator.getSignatureConstructor().prototype, { - __debugFlags: { - get() { - return formatSignatureFlags(this.flags); - } - }, - __debugSignatureToString: { - value() { - var _a; - return (_a = this.checker) == null ? void 0 : _a.signatureToString(this); - } - } - }); - const nodeConstructors = [ - objectAllocator.getNodeConstructor(), - objectAllocator.getIdentifierConstructor(), - objectAllocator.getTokenConstructor(), - objectAllocator.getSourceFileConstructor() - ]; - for (const ctor of nodeConstructors) { - if (!hasProperty(ctor.prototype, "__debugKind")) { - Object.defineProperties(ctor.prototype, { - // for use with vscode-js-debug's new customDescriptionGenerator in launch.json - __tsDebuggerDisplay: { - value() { - const nodeHeader = isGeneratedIdentifier(this) ? "GeneratedIdentifier" : isIdentifier(this) ? `Identifier '${idText(this)}'` : isPrivateIdentifier(this) ? `PrivateIdentifier '${idText(this)}'` : isStringLiteral(this) ? `StringLiteral ${JSON.stringify(this.text.length < 10 ? this.text : this.text.slice(10) + "...")}` : isNumericLiteral(this) ? `NumericLiteral ${this.text}` : isBigIntLiteral(this) ? `BigIntLiteral ${this.text}n` : isTypeParameterDeclaration(this) ? "TypeParameterDeclaration" : isParameter(this) ? "ParameterDeclaration" : isConstructorDeclaration(this) ? "ConstructorDeclaration" : isGetAccessorDeclaration(this) ? "GetAccessorDeclaration" : isSetAccessorDeclaration(this) ? "SetAccessorDeclaration" : isCallSignatureDeclaration(this) ? "CallSignatureDeclaration" : isConstructSignatureDeclaration(this) ? "ConstructSignatureDeclaration" : isIndexSignatureDeclaration(this) ? "IndexSignatureDeclaration" : isTypePredicateNode(this) ? "TypePredicateNode" : isTypeReferenceNode(this) ? "TypeReferenceNode" : isFunctionTypeNode(this) ? "FunctionTypeNode" : isConstructorTypeNode(this) ? "ConstructorTypeNode" : isTypeQueryNode(this) ? "TypeQueryNode" : isTypeLiteralNode(this) ? "TypeLiteralNode" : isArrayTypeNode(this) ? "ArrayTypeNode" : isTupleTypeNode(this) ? "TupleTypeNode" : isOptionalTypeNode(this) ? "OptionalTypeNode" : isRestTypeNode(this) ? "RestTypeNode" : isUnionTypeNode(this) ? "UnionTypeNode" : isIntersectionTypeNode(this) ? "IntersectionTypeNode" : isConditionalTypeNode(this) ? "ConditionalTypeNode" : isInferTypeNode(this) ? "InferTypeNode" : isParenthesizedTypeNode(this) ? "ParenthesizedTypeNode" : isThisTypeNode(this) ? "ThisTypeNode" : isTypeOperatorNode(this) ? "TypeOperatorNode" : isIndexedAccessTypeNode(this) ? "IndexedAccessTypeNode" : isMappedTypeNode(this) ? "MappedTypeNode" : isLiteralTypeNode(this) ? "LiteralTypeNode" : isNamedTupleMember(this) ? "NamedTupleMember" : isImportTypeNode(this) ? "ImportTypeNode" : formatSyntaxKind(this.kind); - return `${nodeHeader}${this.flags ? ` (${formatNodeFlags(this.flags)})` : ""}`; - } - }, - __debugKind: { - get() { - return formatSyntaxKind(this.kind); - } - }, - __debugNodeFlags: { - get() { - return formatNodeFlags(this.flags); - } - }, - __debugModifierFlags: { - get() { - return formatModifierFlags(getEffectiveModifierFlagsNoCache(this)); - } - }, - __debugTransformFlags: { - get() { - return formatTransformFlags(this.transformFlags); - } - }, - __debugIsParseTreeNode: { - get() { - return isParseTreeNode(this); - } - }, - __debugEmitFlags: { - get() { - return formatEmitFlags(getEmitFlags(this)); - } - }, - __debugGetText: { - value(includeTrivia) { - if (nodeIsSynthesized(this)) return ""; - let text = weakNodeTextMap.get(this); - if (text === void 0) { - const parseNode = getParseTreeNode(this); - const sourceFile = parseNode && getSourceFileOfNode(parseNode); - text = sourceFile ? getSourceTextOfNodeFromSourceFile(sourceFile, parseNode, includeTrivia) : ""; - weakNodeTextMap.set(this, text); - } - return text; - } - } - }); - } - } - isDebugInfoEnabled = true; - } - Debug2.enableDebugInfo = enableDebugInfo; - function formatVariance(varianceFlags) { - const variance = varianceFlags & 7 /* VarianceMask */; - let result = variance === 0 /* Invariant */ ? "in out" : variance === 3 /* Bivariant */ ? "[bivariant]" : variance === 2 /* Contravariant */ ? "in" : variance === 1 /* Covariant */ ? "out" : variance === 4 /* Independent */ ? "[independent]" : ""; - if (varianceFlags & 8 /* Unmeasurable */) { - result += " (unmeasurable)"; - } else if (varianceFlags & 16 /* Unreliable */) { - result += " (unreliable)"; - } - return result; - } - Debug2.formatVariance = formatVariance; - class DebugTypeMapper { - __debugToString() { - var _a; - type(this); - switch (this.kind) { - case 3 /* Function */: - return ((_a = this.debugInfo) == null ? void 0 : _a.call(this)) || "(function mapper)"; - case 0 /* Simple */: - return `${this.source.__debugTypeToString()} -> ${this.target.__debugTypeToString()}`; - case 1 /* Array */: - return zipWith( - this.sources, - this.targets || map(this.sources, () => "any"), - (s, t) => `${s.__debugTypeToString()} -> ${typeof t === "string" ? t : t.__debugTypeToString()}` - ).join(", "); - case 2 /* Deferred */: - return zipWith( - this.sources, - this.targets, - (s, t) => `${s.__debugTypeToString()} -> ${t().__debugTypeToString()}` - ).join(", "); - case 5 /* Merged */: - case 4 /* Composite */: - return `m1: ${this.mapper1.__debugToString().split("\n").join("\n ")} -m2: ${this.mapper2.__debugToString().split("\n").join("\n ")}`; - default: - return assertNever(this); - } - } - } - Debug2.DebugTypeMapper = DebugTypeMapper; - function attachDebugPrototypeIfDebug(mapper) { - if (Debug2.isDebugging) { - return Object.setPrototypeOf(mapper, DebugTypeMapper.prototype); - } - return mapper; - } - Debug2.attachDebugPrototypeIfDebug = attachDebugPrototypeIfDebug; - function printControlFlowGraph(flowNode) { - return console.log(formatControlFlowGraph(flowNode)); - } - Debug2.printControlFlowGraph = printControlFlowGraph; - function formatControlFlowGraph(flowNode) { - let nextDebugFlowId = -1; - function getDebugFlowNodeId(f) { - if (!f.id) { - f.id = nextDebugFlowId; - nextDebugFlowId--; - } - return f.id; - } - let BoxCharacter; - ((BoxCharacter2) => { - BoxCharacter2["lr"] = "\u2500"; - BoxCharacter2["ud"] = "\u2502"; - BoxCharacter2["dr"] = "\u256D"; - BoxCharacter2["dl"] = "\u256E"; - BoxCharacter2["ul"] = "\u256F"; - BoxCharacter2["ur"] = "\u2570"; - BoxCharacter2["udr"] = "\u251C"; - BoxCharacter2["udl"] = "\u2524"; - BoxCharacter2["dlr"] = "\u252C"; - BoxCharacter2["ulr"] = "\u2534"; - BoxCharacter2["udlr"] = "\u256B"; - })(BoxCharacter || (BoxCharacter = {})); - let Connection; - ((Connection2) => { - Connection2[Connection2["None"] = 0] = "None"; - Connection2[Connection2["Up"] = 1] = "Up"; - Connection2[Connection2["Down"] = 2] = "Down"; - Connection2[Connection2["Left"] = 4] = "Left"; - Connection2[Connection2["Right"] = 8] = "Right"; - Connection2[Connection2["UpDown"] = 3] = "UpDown"; - Connection2[Connection2["LeftRight"] = 12] = "LeftRight"; - Connection2[Connection2["UpLeft"] = 5] = "UpLeft"; - Connection2[Connection2["UpRight"] = 9] = "UpRight"; - Connection2[Connection2["DownLeft"] = 6] = "DownLeft"; - Connection2[Connection2["DownRight"] = 10] = "DownRight"; - Connection2[Connection2["UpDownLeft"] = 7] = "UpDownLeft"; - Connection2[Connection2["UpDownRight"] = 11] = "UpDownRight"; - Connection2[Connection2["UpLeftRight"] = 13] = "UpLeftRight"; - Connection2[Connection2["DownLeftRight"] = 14] = "DownLeftRight"; - Connection2[Connection2["UpDownLeftRight"] = 15] = "UpDownLeftRight"; - Connection2[Connection2["NoChildren"] = 16] = "NoChildren"; - })(Connection || (Connection = {})); - const hasAntecedentFlags = 16 /* Assignment */ | 96 /* Condition */ | 128 /* SwitchClause */ | 256 /* ArrayMutation */ | 512 /* Call */ | 1024 /* ReduceLabel */; - const hasNodeFlags = 2 /* Start */ | 16 /* Assignment */ | 512 /* Call */ | 96 /* Condition */ | 256 /* ArrayMutation */; - const links = /* @__PURE__ */ Object.create( - /*o*/ - null - ); - const nodes = []; - const edges = []; - const root = buildGraphNode(flowNode, /* @__PURE__ */ new Set()); - for (const node of nodes) { - node.text = renderFlowNode(node.flowNode, node.circular); - computeLevel(node); - } - const height = computeHeight(root); - const columnWidths = computeColumnWidths(height); - computeLanes(root, 0); - return renderGraph(); - function isFlowSwitchClause(f) { - return !!(f.flags & 128 /* SwitchClause */); - } - function hasAntecedents(f) { - return !!(f.flags & 12 /* Label */) && !!f.antecedent; - } - function hasAntecedent(f) { - return !!(f.flags & hasAntecedentFlags); - } - function hasNode(f) { - return !!(f.flags & hasNodeFlags); - } - function getChildren(node) { - const children = []; - for (const edge of node.edges) { - if (edge.source === node) { - children.push(edge.target); - } - } - return children; - } - function getParents(node) { - const parents = []; - for (const edge of node.edges) { - if (edge.target === node) { - parents.push(edge.source); - } - } - return parents; - } - function buildGraphNode(flowNode2, seen) { - const id = getDebugFlowNodeId(flowNode2); - let graphNode = links[id]; - if (graphNode && seen.has(flowNode2)) { - graphNode.circular = true; - graphNode = { - id: -1, - flowNode: flowNode2, - edges: [], - text: "", - lane: -1, - endLane: -1, - level: -1, - circular: "circularity" - }; - nodes.push(graphNode); - return graphNode; - } - seen.add(flowNode2); - if (!graphNode) { - links[id] = graphNode = { id, flowNode: flowNode2, edges: [], text: "", lane: -1, endLane: -1, level: -1, circular: false }; - nodes.push(graphNode); - if (hasAntecedents(flowNode2)) { - for (const antecedent of flowNode2.antecedent) { - buildGraphEdge(graphNode, antecedent, seen); - } - } else if (hasAntecedent(flowNode2)) { - buildGraphEdge(graphNode, flowNode2.antecedent, seen); - } - } - seen.delete(flowNode2); - return graphNode; - } - function buildGraphEdge(source, antecedent, seen) { - const target = buildGraphNode(antecedent, seen); - const edge = { source, target }; - edges.push(edge); - source.edges.push(edge); - target.edges.push(edge); - } - function computeLevel(node) { - if (node.level !== -1) { - return node.level; - } - let level = 0; - for (const parent of getParents(node)) { - level = Math.max(level, computeLevel(parent) + 1); - } - return node.level = level; - } - function computeHeight(node) { - let height2 = 0; - for (const child of getChildren(node)) { - height2 = Math.max(height2, computeHeight(child)); - } - return height2 + 1; - } - function computeColumnWidths(height2) { - const columns = fill(Array(height2), 0); - for (const node of nodes) { - columns[node.level] = Math.max(columns[node.level], node.text.length); - } - return columns; - } - function computeLanes(node, lane) { - if (node.lane === -1) { - node.lane = lane; - node.endLane = lane; - const children = getChildren(node); - for (let i = 0; i < children.length; i++) { - if (i > 0) lane++; - const child = children[i]; - computeLanes(child, lane); - if (child.endLane > node.endLane) { - lane = child.endLane; - } - } - node.endLane = lane; - } - } - function getHeader2(flags) { - if (flags & 2 /* Start */) return "Start"; - if (flags & 4 /* BranchLabel */) return "Branch"; - if (flags & 8 /* LoopLabel */) return "Loop"; - if (flags & 16 /* Assignment */) return "Assignment"; - if (flags & 32 /* TrueCondition */) return "True"; - if (flags & 64 /* FalseCondition */) return "False"; - if (flags & 128 /* SwitchClause */) return "SwitchClause"; - if (flags & 256 /* ArrayMutation */) return "ArrayMutation"; - if (flags & 512 /* Call */) return "Call"; - if (flags & 1024 /* ReduceLabel */) return "ReduceLabel"; - if (flags & 1 /* Unreachable */) return "Unreachable"; - throw new Error(); - } - function getNodeText(node) { - const sourceFile = getSourceFileOfNode(node); - return getSourceTextOfNodeFromSourceFile( - sourceFile, - node, - /*includeTrivia*/ - false - ); - } - function renderFlowNode(flowNode2, circular) { - let text = getHeader2(flowNode2.flags); - if (circular) { - text = `${text}#${getDebugFlowNodeId(flowNode2)}`; - } - if (isFlowSwitchClause(flowNode2)) { - const clauses = []; - const { switchStatement, clauseStart, clauseEnd } = flowNode2.node; - for (let i = clauseStart; i < clauseEnd; i++) { - const clause = switchStatement.caseBlock.clauses[i]; - if (isDefaultClause(clause)) { - clauses.push("default"); - } else { - clauses.push(getNodeText(clause.expression)); - } - } - text += ` (${clauses.join(", ")})`; - } else if (hasNode(flowNode2)) { - if (flowNode2.node) { - text += ` (${getNodeText(flowNode2.node)})`; - } - } - return circular === "circularity" ? `Circular(${text})` : text; - } - function renderGraph() { - const columnCount = columnWidths.length; - const laneCount = maxBy(nodes, 0, (n) => n.lane) + 1; - const lanes = fill(Array(laneCount), ""); - const grid = columnWidths.map(() => Array(laneCount)); - const connectors = columnWidths.map(() => fill(Array(laneCount), 0)); - for (const node of nodes) { - grid[node.level][node.lane] = node; - const children = getChildren(node); - for (let i = 0; i < children.length; i++) { - const child = children[i]; - let connector = 8 /* Right */; - if (child.lane === node.lane) connector |= 4 /* Left */; - if (i > 0) connector |= 1 /* Up */; - if (i < children.length - 1) connector |= 2 /* Down */; - connectors[node.level][child.lane] |= connector; - } - if (children.length === 0) { - connectors[node.level][node.lane] |= 16 /* NoChildren */; - } - const parents = getParents(node); - for (let i = 0; i < parents.length; i++) { - const parent = parents[i]; - let connector = 4 /* Left */; - if (i > 0) connector |= 1 /* Up */; - if (i < parents.length - 1) connector |= 2 /* Down */; - connectors[node.level - 1][parent.lane] |= connector; - } - } - for (let column = 0; column < columnCount; column++) { - for (let lane = 0; lane < laneCount; lane++) { - const left = column > 0 ? connectors[column - 1][lane] : 0; - const above = lane > 0 ? connectors[column][lane - 1] : 0; - let connector = connectors[column][lane]; - if (!connector) { - if (left & 8 /* Right */) connector |= 12 /* LeftRight */; - if (above & 2 /* Down */) connector |= 3 /* UpDown */; - connectors[column][lane] = connector; - } - } - } - for (let column = 0; column < columnCount; column++) { - for (let lane = 0; lane < lanes.length; lane++) { - const connector = connectors[column][lane]; - const fill2 = connector & 4 /* Left */ ? "\u2500" /* lr */ : " "; - const node = grid[column][lane]; - if (!node) { - if (column < columnCount - 1) { - writeLane(lane, repeat(fill2, columnWidths[column] + 1)); - } - } else { - writeLane(lane, node.text); - if (column < columnCount - 1) { - writeLane(lane, " "); - writeLane(lane, repeat(fill2, columnWidths[column] - node.text.length)); - } - } - writeLane(lane, getBoxCharacter(connector)); - writeLane(lane, connector & 8 /* Right */ && column < columnCount - 1 && !grid[column + 1][lane] ? "\u2500" /* lr */ : " "); - } - } - return ` -${lanes.join("\n")} -`; - function writeLane(lane, text) { - lanes[lane] += text; - } - } - function getBoxCharacter(connector) { - switch (connector) { - case 3 /* UpDown */: - return "\u2502" /* ud */; - case 12 /* LeftRight */: - return "\u2500" /* lr */; - case 5 /* UpLeft */: - return "\u256F" /* ul */; - case 9 /* UpRight */: - return "\u2570" /* ur */; - case 6 /* DownLeft */: - return "\u256E" /* dl */; - case 10 /* DownRight */: - return "\u256D" /* dr */; - case 7 /* UpDownLeft */: - return "\u2524" /* udl */; - case 11 /* UpDownRight */: - return "\u251C" /* udr */; - case 13 /* UpLeftRight */: - return "\u2534" /* ulr */; - case 14 /* DownLeftRight */: - return "\u252C" /* dlr */; - case 15 /* UpDownLeftRight */: - return "\u256B" /* udlr */; - } - return " "; - } - function fill(array, value) { - if (array.fill) { - array.fill(value); - } else { - for (let i = 0; i < array.length; i++) { - array[i] = value; - } - } - return array; - } - function repeat(ch, length2) { - if (ch.repeat) { - return length2 > 0 ? ch.repeat(length2) : ""; - } - let s = ""; - while (s.length < length2) { - s += ch; - } - return s; - } - } - Debug2.formatControlFlowGraph = formatControlFlowGraph; -})(Debug || (Debug = {})); - -// src/compiler/semver.ts -var versionRegExp = /^(0|[1-9]\d*)(?:\.(0|[1-9]\d*)(?:\.(0|[1-9]\d*)(?:-([a-z0-9-.]+))?(?:\+([a-z0-9-.]+))?)?)?$/i; -var prereleaseRegExp = /^(?:0|[1-9]\d*|[a-z-][a-z0-9-]*)(?:\.(?:0|[1-9]\d*|[a-z-][a-z0-9-]*))*$/i; -var prereleasePartRegExp = /^(?:0|[1-9]\d*|[a-z-][a-z0-9-]*)$/i; -var buildRegExp = /^[a-z0-9-]+(?:\.[a-z0-9-]+)*$/i; -var buildPartRegExp = /^[a-z0-9-]+$/i; -var numericIdentifierRegExp = /^(?:0|[1-9]\d*)$/; -var _Version = class _Version { - constructor(major, minor = 0, patch = 0, prerelease = "", build2 = "") { - if (typeof major === "string") { - const result = Debug.checkDefined(tryParseComponents(major), "Invalid version"); - ({ major, minor, patch, prerelease, build: build2 } = result); - } - Debug.assert(major >= 0, "Invalid argument: major"); - Debug.assert(minor >= 0, "Invalid argument: minor"); - Debug.assert(patch >= 0, "Invalid argument: patch"); - const prereleaseArray = prerelease ? isArray(prerelease) ? prerelease : prerelease.split(".") : emptyArray; - const buildArray = build2 ? isArray(build2) ? build2 : build2.split(".") : emptyArray; - Debug.assert(every(prereleaseArray, (s) => prereleasePartRegExp.test(s)), "Invalid argument: prerelease"); - Debug.assert(every(buildArray, (s) => buildPartRegExp.test(s)), "Invalid argument: build"); - this.major = major; - this.minor = minor; - this.patch = patch; - this.prerelease = prereleaseArray; - this.build = buildArray; - } - static tryParse(text) { - const result = tryParseComponents(text); - if (!result) return void 0; - const { major, minor, patch, prerelease, build: build2 } = result; - return new _Version(major, minor, patch, prerelease, build2); - } - compareTo(other) { - if (this === other) return 0 /* EqualTo */; - if (other === void 0) return 1 /* GreaterThan */; - return compareValues(this.major, other.major) || compareValues(this.minor, other.minor) || compareValues(this.patch, other.patch) || comparePrereleaseIdentifiers(this.prerelease, other.prerelease); - } - increment(field) { - switch (field) { - case "major": - return new _Version(this.major + 1, 0, 0); - case "minor": - return new _Version(this.major, this.minor + 1, 0); - case "patch": - return new _Version(this.major, this.minor, this.patch + 1); - default: - return Debug.assertNever(field); - } - } - with(fields) { - const { - major = this.major, - minor = this.minor, - patch = this.patch, - prerelease = this.prerelease, - build: build2 = this.build - } = fields; - return new _Version(major, minor, patch, prerelease, build2); - } - toString() { - let result = `${this.major}.${this.minor}.${this.patch}`; - if (some(this.prerelease)) result += `-${this.prerelease.join(".")}`; - if (some(this.build)) result += `+${this.build.join(".")}`; - return result; - } -}; -_Version.zero = new _Version(0, 0, 0, ["0"]); -var Version = _Version; -function tryParseComponents(text) { - const match = versionRegExp.exec(text); - if (!match) return void 0; - const [, major, minor = "0", patch = "0", prerelease = "", build2 = ""] = match; - if (prerelease && !prereleaseRegExp.test(prerelease)) return void 0; - if (build2 && !buildRegExp.test(build2)) return void 0; - return { - major: parseInt(major, 10), - minor: parseInt(minor, 10), - patch: parseInt(patch, 10), - prerelease, - build: build2 - }; -} -function comparePrereleaseIdentifiers(left, right) { - if (left === right) return 0 /* EqualTo */; - if (left.length === 0) return right.length === 0 ? 0 /* EqualTo */ : 1 /* GreaterThan */; - if (right.length === 0) return -1 /* LessThan */; - const length2 = Math.min(left.length, right.length); - for (let i = 0; i < length2; i++) { - const leftIdentifier = left[i]; - const rightIdentifier = right[i]; - if (leftIdentifier === rightIdentifier) continue; - const leftIsNumeric = numericIdentifierRegExp.test(leftIdentifier); - const rightIsNumeric = numericIdentifierRegExp.test(rightIdentifier); - if (leftIsNumeric || rightIsNumeric) { - if (leftIsNumeric !== rightIsNumeric) return leftIsNumeric ? -1 /* LessThan */ : 1 /* GreaterThan */; - const result = compareValues(+leftIdentifier, +rightIdentifier); - if (result) return result; - } else { - const result = compareStringsCaseSensitive(leftIdentifier, rightIdentifier); - if (result) return result; - } - } - return compareValues(left.length, right.length); -} -var VersionRange = class _VersionRange { - constructor(spec) { - this._alternatives = spec ? Debug.checkDefined(parseRange(spec), "Invalid range spec.") : emptyArray; - } - static tryParse(text) { - const sets = parseRange(text); - if (sets) { - const range = new _VersionRange(""); - range._alternatives = sets; - return range; - } - return void 0; - } - /** - * Tests whether a version matches the range. This is equivalent to `satisfies(version, range, { includePrerelease: true })`. - * in `node-semver`. - */ - test(version2) { - if (typeof version2 === "string") version2 = new Version(version2); - return testDisjunction(version2, this._alternatives); - } - toString() { - return formatDisjunction(this._alternatives); - } -}; -var logicalOrRegExp = /\|\|/; -var whitespaceRegExp = /\s+/; -var partialRegExp = /^([x*0]|[1-9]\d*)(?:\.([x*0]|[1-9]\d*)(?:\.([x*0]|[1-9]\d*)(?:-([a-z0-9-.]+))?(?:\+([a-z0-9-.]+))?)?)?$/i; -var hyphenRegExp = /^\s*([a-z0-9-+.*]+)\s+-\s+([a-z0-9-+.*]+)\s*$/i; -var rangeRegExp = /^([~^<>=]|<=|>=)?\s*([a-z0-9-+.*]+)$/i; -function parseRange(text) { - const alternatives = []; - for (let range of text.trim().split(logicalOrRegExp)) { - if (!range) continue; - const comparators = []; - range = range.trim(); - const match = hyphenRegExp.exec(range); - if (match) { - if (!parseHyphen(match[1], match[2], comparators)) return void 0; - } else { - for (const simple of range.split(whitespaceRegExp)) { - const match2 = rangeRegExp.exec(simple.trim()); - if (!match2 || !parseComparator(match2[1], match2[2], comparators)) return void 0; - } - } - alternatives.push(comparators); - } - return alternatives; -} -function parsePartial(text) { - const match = partialRegExp.exec(text); - if (!match) return void 0; - const [, major, minor = "*", patch = "*", prerelease, build2] = match; - const version2 = new Version( - isWildcard(major) ? 0 : parseInt(major, 10), - isWildcard(major) || isWildcard(minor) ? 0 : parseInt(minor, 10), - isWildcard(major) || isWildcard(minor) || isWildcard(patch) ? 0 : parseInt(patch, 10), - prerelease, - build2 - ); - return { version: version2, major, minor, patch }; -} -function parseHyphen(left, right, comparators) { - const leftResult = parsePartial(left); - if (!leftResult) return false; - const rightResult = parsePartial(right); - if (!rightResult) return false; - if (!isWildcard(leftResult.major)) { - comparators.push(createComparator(">=", leftResult.version)); - } - if (!isWildcard(rightResult.major)) { - comparators.push( - isWildcard(rightResult.minor) ? createComparator("<", rightResult.version.increment("major")) : isWildcard(rightResult.patch) ? createComparator("<", rightResult.version.increment("minor")) : createComparator("<=", rightResult.version) - ); - } - return true; -} -function parseComparator(operator, text, comparators) { - const result = parsePartial(text); - if (!result) return false; - const { version: version2, major, minor, patch } = result; - if (!isWildcard(major)) { - switch (operator) { - case "~": - comparators.push(createComparator(">=", version2)); - comparators.push(createComparator( - "<", - version2.increment( - isWildcard(minor) ? "major" : "minor" - ) - )); - break; - case "^": - comparators.push(createComparator(">=", version2)); - comparators.push(createComparator( - "<", - version2.increment( - version2.major > 0 || isWildcard(minor) ? "major" : version2.minor > 0 || isWildcard(patch) ? "minor" : "patch" - ) - )); - break; - case "<": - case ">=": - comparators.push( - isWildcard(minor) || isWildcard(patch) ? createComparator(operator, version2.with({ prerelease: "0" })) : createComparator(operator, version2) - ); - break; - case "<=": - case ">": - comparators.push( - isWildcard(minor) ? createComparator(operator === "<=" ? "<" : ">=", version2.increment("major").with({ prerelease: "0" })) : isWildcard(patch) ? createComparator(operator === "<=" ? "<" : ">=", version2.increment("minor").with({ prerelease: "0" })) : createComparator(operator, version2) - ); - break; - case "=": - case void 0: - if (isWildcard(minor) || isWildcard(patch)) { - comparators.push(createComparator(">=", version2.with({ prerelease: "0" }))); - comparators.push(createComparator("<", version2.increment(isWildcard(minor) ? "major" : "minor").with({ prerelease: "0" }))); - } else { - comparators.push(createComparator("=", version2)); - } - break; - default: - return false; - } - } else if (operator === "<" || operator === ">") { - comparators.push(createComparator("<", Version.zero)); - } - return true; -} -function isWildcard(part) { - return part === "*" || part === "x" || part === "X"; -} -function createComparator(operator, operand) { - return { operator, operand }; -} -function testDisjunction(version2, alternatives) { - if (alternatives.length === 0) return true; - for (const alternative of alternatives) { - if (testAlternative(version2, alternative)) return true; - } - return false; -} -function testAlternative(version2, comparators) { - for (const comparator of comparators) { - if (!testComparator(version2, comparator.operator, comparator.operand)) return false; - } - return true; -} -function testComparator(version2, operator, operand) { - const cmp = version2.compareTo(operand); - switch (operator) { - case "<": - return cmp < 0; - case "<=": - return cmp <= 0; - case ">": - return cmp > 0; - case ">=": - return cmp >= 0; - case "=": - return cmp === 0; - default: - return Debug.assertNever(operator); - } -} -function formatDisjunction(alternatives) { - return map(alternatives, formatAlternative).join(" || ") || "*"; -} -function formatAlternative(comparators) { - return map(comparators, formatComparator).join(" "); -} -function formatComparator(comparator) { - return `${comparator.operator}${comparator.operand}`; -} - -// src/compiler/performanceCore.ts -function tryGetPerformance() { - if (isNodeLikeSystem()) { - try { - const { performance: performance2 } = require("perf_hooks"); - if (performance2) { - return { - shouldWriteNativeEvents: false, - performance: performance2 - }; - } - } catch { - } - } - if (typeof performance === "object") { - return { - shouldWriteNativeEvents: true, - performance - }; - } - return void 0; -} -function tryGetPerformanceHooks() { - const p = tryGetPerformance(); - if (!p) return void 0; - const { shouldWriteNativeEvents, performance: performance2 } = p; - const hooks = { - shouldWriteNativeEvents, - performance: void 0, - performanceTime: void 0 - }; - if (typeof performance2.timeOrigin === "number" && typeof performance2.now === "function") { - hooks.performanceTime = performance2; - } - if (hooks.performanceTime && typeof performance2.mark === "function" && typeof performance2.measure === "function" && typeof performance2.clearMarks === "function" && typeof performance2.clearMeasures === "function") { - hooks.performance = performance2; - } - return hooks; -} -var nativePerformanceHooks = tryGetPerformanceHooks(); -var nativePerformanceTime = nativePerformanceHooks == null ? void 0 : nativePerformanceHooks.performanceTime; -function tryGetNativePerformanceHooks() { - return nativePerformanceHooks; -} -var timestamp = nativePerformanceTime ? () => nativePerformanceTime.now() : Date.now; - -// src/compiler/performance.ts -var perfHooks; -var performanceImpl; -function createTimerIf(condition, measureName, startMarkName, endMarkName) { - return condition ? createTimer(measureName, startMarkName, endMarkName) : nullTimer; -} -function createTimer(measureName, startMarkName, endMarkName) { - let enterCount = 0; - return { - enter, - exit - }; - function enter() { - if (++enterCount === 1) { - mark(startMarkName); - } - } - function exit() { - if (--enterCount === 0) { - mark(endMarkName); - measure(measureName, startMarkName, endMarkName); - } else if (enterCount < 0) { - Debug.fail("enter/exit count does not match."); - } - } -} -var nullTimer = { enter: noop, exit: noop }; -var enabled = false; -var timeorigin = timestamp(); -var marks = /* @__PURE__ */ new Map(); -var counts = /* @__PURE__ */ new Map(); -var durations = /* @__PURE__ */ new Map(); -function mark(markName) { - if (enabled) { - const count = counts.get(markName) ?? 0; - counts.set(markName, count + 1); - marks.set(markName, timestamp()); - performanceImpl == null ? void 0 : performanceImpl.mark(markName); - if (typeof onProfilerEvent === "function") { - onProfilerEvent(markName); - } - } -} -function measure(measureName, startMarkName, endMarkName) { - if (enabled) { - const end = (endMarkName !== void 0 ? marks.get(endMarkName) : void 0) ?? timestamp(); - const start = (startMarkName !== void 0 ? marks.get(startMarkName) : void 0) ?? timeorigin; - const previousDuration = durations.get(measureName) || 0; - durations.set(measureName, previousDuration + (end - start)); - performanceImpl == null ? void 0 : performanceImpl.measure(measureName, startMarkName, endMarkName); - } -} -function getCount(markName) { - return counts.get(markName) || 0; -} -function getDuration(measureName) { - return durations.get(measureName) || 0; -} -function forEachMeasure(cb) { - durations.forEach((duration, measureName) => cb(measureName, duration)); -} -function forEachMark(cb) { - marks.forEach((_time, markName) => cb(markName)); -} -function clearMeasures(name) { - if (name !== void 0) durations.delete(name); - else durations.clear(); - performanceImpl == null ? void 0 : performanceImpl.clearMeasures(name); -} -function clearMarks(name) { - if (name !== void 0) { - counts.delete(name); - marks.delete(name); - } else { - counts.clear(); - marks.clear(); - } - performanceImpl == null ? void 0 : performanceImpl.clearMarks(name); -} -function isEnabled() { - return enabled; -} -function enable(system = sys) { - var _a; - if (!enabled) { - enabled = true; - perfHooks || (perfHooks = tryGetNativePerformanceHooks()); - if (perfHooks == null ? void 0 : perfHooks.performance) { - timeorigin = perfHooks.performance.timeOrigin; - if (perfHooks.shouldWriteNativeEvents || ((_a = system == null ? void 0 : system.cpuProfilingEnabled) == null ? void 0 : _a.call(system)) || (system == null ? void 0 : system.debugMode)) { - performanceImpl = perfHooks.performance; - } - } - } - return true; -} -function disable() { - if (enabled) { - marks.clear(); - counts.clear(); - durations.clear(); - performanceImpl = void 0; - enabled = false; - } -} - -// src/compiler/tracing.ts -var tracing; -var tracingEnabled; -((tracingEnabled2) => { - let fs; - let traceCount = 0; - let traceFd = 0; - let mode; - const typeCatalog = []; - let legendPath; - const legend = []; - function startTracing2(tracingMode, traceDir, configFilePath) { - Debug.assert(!tracing, "Tracing already started"); - if (fs === void 0) { - try { - fs = require("fs"); - } catch (e) { - throw new Error(`tracing requires having fs -(original error: ${e.message || e})`); - } - } - mode = tracingMode; - typeCatalog.length = 0; - if (legendPath === void 0) { - legendPath = combinePaths(traceDir, "legend.json"); - } - if (!fs.existsSync(traceDir)) { - fs.mkdirSync(traceDir, { recursive: true }); - } - const countPart = mode === "build" ? `.${process.pid}-${++traceCount}` : mode === "server" ? `.${process.pid}` : ``; - const tracePath = combinePaths(traceDir, `trace${countPart}.json`); - const typesPath = combinePaths(traceDir, `types${countPart}.json`); - legend.push({ - configFilePath, - tracePath, - typesPath - }); - traceFd = fs.openSync(tracePath, "w"); - tracing = tracingEnabled2; - const meta = { cat: "__metadata", ph: "M", ts: 1e3 * timestamp(), pid: 1, tid: 1 }; - fs.writeSync( - traceFd, - "[\n" + [{ name: "process_name", args: { name: "tsc" }, ...meta }, { name: "thread_name", args: { name: "Main" }, ...meta }, { name: "TracingStartedInBrowser", ...meta, cat: "disabled-by-default-devtools.timeline" }].map((v) => JSON.stringify(v)).join(",\n") - ); - } - tracingEnabled2.startTracing = startTracing2; - function stopTracing() { - Debug.assert(tracing, "Tracing is not in progress"); - Debug.assert(!!typeCatalog.length === (mode !== "server")); - fs.writeSync(traceFd, ` -] -`); - fs.closeSync(traceFd); - tracing = void 0; - if (typeCatalog.length) { - dumpTypes(typeCatalog); - } else { - legend[legend.length - 1].typesPath = void 0; - } - } - tracingEnabled2.stopTracing = stopTracing; - function recordType(type) { - if (mode !== "server") { - typeCatalog.push(type); - } - } - tracingEnabled2.recordType = recordType; - let Phase; - ((Phase2) => { - Phase2["Parse"] = "parse"; - Phase2["Program"] = "program"; - Phase2["Bind"] = "bind"; - Phase2["Check"] = "check"; - Phase2["CheckTypes"] = "checkTypes"; - Phase2["Emit"] = "emit"; - Phase2["Session"] = "session"; - })(Phase = tracingEnabled2.Phase || (tracingEnabled2.Phase = {})); - function instant(phase, name, args) { - writeEvent("I", phase, name, args, `"s":"g"`); - } - tracingEnabled2.instant = instant; - const eventStack = []; - function push(phase, name, args, separateBeginAndEnd = false) { - if (separateBeginAndEnd) { - writeEvent("B", phase, name, args); - } - eventStack.push({ phase, name, args, time: 1e3 * timestamp(), separateBeginAndEnd }); - } - tracingEnabled2.push = push; - function pop(results) { - Debug.assert(eventStack.length > 0); - writeStackEvent(eventStack.length - 1, 1e3 * timestamp(), results); - eventStack.length--; - } - tracingEnabled2.pop = pop; - function popAll() { - const endTime = 1e3 * timestamp(); - for (let i = eventStack.length - 1; i >= 0; i--) { - writeStackEvent(i, endTime); - } - eventStack.length = 0; - } - tracingEnabled2.popAll = popAll; - const sampleInterval = 1e3 * 10; - function writeStackEvent(index, endTime, results) { - const { phase, name, args, time, separateBeginAndEnd } = eventStack[index]; - if (separateBeginAndEnd) { - Debug.assert(!results, "`results` are not supported for events with `separateBeginAndEnd`"); - writeEvent( - "E", - phase, - name, - args, - /*extras*/ - void 0, - endTime - ); - } else if (sampleInterval - time % sampleInterval <= endTime - time) { - writeEvent("X", phase, name, { ...args, results }, `"dur":${endTime - time}`, time); - } - } - function writeEvent(eventType, phase, name, args, extras, time = 1e3 * timestamp()) { - if (mode === "server" && phase === "checkTypes" /* CheckTypes */) return; - mark("beginTracing"); - fs.writeSync(traceFd, `, -{"pid":1,"tid":1,"ph":"${eventType}","cat":"${phase}","ts":${time},"name":"${name}"`); - if (extras) fs.writeSync(traceFd, `,${extras}`); - if (args) fs.writeSync(traceFd, `,"args":${JSON.stringify(args)}`); - fs.writeSync(traceFd, `}`); - mark("endTracing"); - measure("Tracing", "beginTracing", "endTracing"); - } - function getLocation(node) { - const file = getSourceFileOfNode(node); - return !file ? void 0 : { - path: file.path, - start: indexFromOne(getLineAndCharacterOfPosition(file, node.pos)), - end: indexFromOne(getLineAndCharacterOfPosition(file, node.end)) - }; - function indexFromOne(lc) { - return { - line: lc.line + 1, - character: lc.character + 1 - }; - } - } - function dumpTypes(types) { - var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m, _n, _o, _p, _q, _r, _s; - mark("beginDumpTypes"); - const typesPath = legend[legend.length - 1].typesPath; - const typesFd = fs.openSync(typesPath, "w"); - const recursionIdentityMap = /* @__PURE__ */ new Map(); - fs.writeSync(typesFd, "["); - const numTypes = types.length; - for (let i = 0; i < numTypes; i++) { - const type = types[i]; - const objectFlags = type.objectFlags; - const symbol = type.aliasSymbol ?? type.symbol; - let display; - if (objectFlags & 16 /* Anonymous */ | type.flags & 2944 /* Literal */) { - try { - display = (_a = type.checker) == null ? void 0 : _a.typeToString(type); - } catch { - display = void 0; - } - } - let indexedAccessProperties = {}; - if (type.flags & 8388608 /* IndexedAccess */) { - const indexedAccessType = type; - indexedAccessProperties = { - indexedAccessObjectType: (_b = indexedAccessType.objectType) == null ? void 0 : _b.id, - indexedAccessIndexType: (_c = indexedAccessType.indexType) == null ? void 0 : _c.id - }; - } - let referenceProperties = {}; - if (objectFlags & 4 /* Reference */) { - const referenceType = type; - referenceProperties = { - instantiatedType: (_d = referenceType.target) == null ? void 0 : _d.id, - typeArguments: (_e = referenceType.resolvedTypeArguments) == null ? void 0 : _e.map((t) => t.id), - referenceLocation: getLocation(referenceType.node) - }; - } - let conditionalProperties = {}; - if (type.flags & 16777216 /* Conditional */) { - const conditionalType = type; - conditionalProperties = { - conditionalCheckType: (_f = conditionalType.checkType) == null ? void 0 : _f.id, - conditionalExtendsType: (_g = conditionalType.extendsType) == null ? void 0 : _g.id, - conditionalTrueType: ((_h = conditionalType.resolvedTrueType) == null ? void 0 : _h.id) ?? -1, - conditionalFalseType: ((_i = conditionalType.resolvedFalseType) == null ? void 0 : _i.id) ?? -1 - }; - } - let substitutionProperties = {}; - if (type.flags & 33554432 /* Substitution */) { - const substitutionType = type; - substitutionProperties = { - substitutionBaseType: (_j = substitutionType.baseType) == null ? void 0 : _j.id, - constraintType: (_k = substitutionType.constraint) == null ? void 0 : _k.id - }; - } - let reverseMappedProperties = {}; - if (objectFlags & 1024 /* ReverseMapped */) { - const reverseMappedType = type; - reverseMappedProperties = { - reverseMappedSourceType: (_l = reverseMappedType.source) == null ? void 0 : _l.id, - reverseMappedMappedType: (_m = reverseMappedType.mappedType) == null ? void 0 : _m.id, - reverseMappedConstraintType: (_n = reverseMappedType.constraintType) == null ? void 0 : _n.id - }; - } - let evolvingArrayProperties = {}; - if (objectFlags & 256 /* EvolvingArray */) { - const evolvingArrayType = type; - evolvingArrayProperties = { - evolvingArrayElementType: evolvingArrayType.elementType.id, - evolvingArrayFinalType: (_o = evolvingArrayType.finalArrayType) == null ? void 0 : _o.id - }; - } - let recursionToken; - const recursionIdentity = type.checker.getRecursionIdentity(type); - if (recursionIdentity) { - recursionToken = recursionIdentityMap.get(recursionIdentity); - if (!recursionToken) { - recursionToken = recursionIdentityMap.size; - recursionIdentityMap.set(recursionIdentity, recursionToken); - } - } - const descriptor = { - id: type.id, - intrinsicName: type.intrinsicName, - symbolName: (symbol == null ? void 0 : symbol.escapedName) && unescapeLeadingUnderscores(symbol.escapedName), - recursionId: recursionToken, - isTuple: objectFlags & 8 /* Tuple */ ? true : void 0, - unionTypes: type.flags & 1048576 /* Union */ ? (_p = type.types) == null ? void 0 : _p.map((t) => t.id) : void 0, - intersectionTypes: type.flags & 2097152 /* Intersection */ ? type.types.map((t) => t.id) : void 0, - aliasTypeArguments: (_q = type.aliasTypeArguments) == null ? void 0 : _q.map((t) => t.id), - keyofType: type.flags & 4194304 /* Index */ ? (_r = type.type) == null ? void 0 : _r.id : void 0, - ...indexedAccessProperties, - ...referenceProperties, - ...conditionalProperties, - ...substitutionProperties, - ...reverseMappedProperties, - ...evolvingArrayProperties, - destructuringPattern: getLocation(type.pattern), - firstDeclaration: getLocation((_s = symbol == null ? void 0 : symbol.declarations) == null ? void 0 : _s[0]), - flags: Debug.formatTypeFlags(type.flags).split("|"), - display - }; - fs.writeSync(typesFd, JSON.stringify(descriptor)); - if (i < numTypes - 1) { - fs.writeSync(typesFd, ",\n"); - } - } - fs.writeSync(typesFd, "]\n"); - fs.closeSync(typesFd); - mark("endDumpTypes"); - measure("Dump types", "beginDumpTypes", "endDumpTypes"); - } - function dumpLegend() { - if (!legendPath) { - return; - } - fs.writeFileSync(legendPath, JSON.stringify(legend)); - } - tracingEnabled2.dumpLegend = dumpLegend; -})(tracingEnabled || (tracingEnabled = {})); -var startTracing = tracingEnabled.startTracing; -var dumpTracingLegend = tracingEnabled.dumpLegend; - -// src/compiler/types.ts -var SyntaxKind = /* @__PURE__ */ ((SyntaxKind4) => { - SyntaxKind4[SyntaxKind4["Unknown"] = 0] = "Unknown"; - SyntaxKind4[SyntaxKind4["EndOfFileToken"] = 1] = "EndOfFileToken"; - SyntaxKind4[SyntaxKind4["SingleLineCommentTrivia"] = 2] = "SingleLineCommentTrivia"; - SyntaxKind4[SyntaxKind4["MultiLineCommentTrivia"] = 3] = "MultiLineCommentTrivia"; - SyntaxKind4[SyntaxKind4["NewLineTrivia"] = 4] = "NewLineTrivia"; - SyntaxKind4[SyntaxKind4["WhitespaceTrivia"] = 5] = "WhitespaceTrivia"; - SyntaxKind4[SyntaxKind4["ShebangTrivia"] = 6] = "ShebangTrivia"; - SyntaxKind4[SyntaxKind4["ConflictMarkerTrivia"] = 7] = "ConflictMarkerTrivia"; - SyntaxKind4[SyntaxKind4["NonTextFileMarkerTrivia"] = 8] = "NonTextFileMarkerTrivia"; - SyntaxKind4[SyntaxKind4["NumericLiteral"] = 9] = "NumericLiteral"; - SyntaxKind4[SyntaxKind4["BigIntLiteral"] = 10] = "BigIntLiteral"; - SyntaxKind4[SyntaxKind4["StringLiteral"] = 11] = "StringLiteral"; - SyntaxKind4[SyntaxKind4["JsxText"] = 12] = "JsxText"; - SyntaxKind4[SyntaxKind4["JsxTextAllWhiteSpaces"] = 13] = "JsxTextAllWhiteSpaces"; - SyntaxKind4[SyntaxKind4["RegularExpressionLiteral"] = 14] = "RegularExpressionLiteral"; - SyntaxKind4[SyntaxKind4["NoSubstitutionTemplateLiteral"] = 15] = "NoSubstitutionTemplateLiteral"; - SyntaxKind4[SyntaxKind4["TemplateHead"] = 16] = "TemplateHead"; - SyntaxKind4[SyntaxKind4["TemplateMiddle"] = 17] = "TemplateMiddle"; - SyntaxKind4[SyntaxKind4["TemplateTail"] = 18] = "TemplateTail"; - SyntaxKind4[SyntaxKind4["OpenBraceToken"] = 19] = "OpenBraceToken"; - SyntaxKind4[SyntaxKind4["CloseBraceToken"] = 20] = "CloseBraceToken"; - SyntaxKind4[SyntaxKind4["OpenParenToken"] = 21] = "OpenParenToken"; - SyntaxKind4[SyntaxKind4["CloseParenToken"] = 22] = "CloseParenToken"; - SyntaxKind4[SyntaxKind4["OpenBracketToken"] = 23] = "OpenBracketToken"; - SyntaxKind4[SyntaxKind4["CloseBracketToken"] = 24] = "CloseBracketToken"; - SyntaxKind4[SyntaxKind4["DotToken"] = 25] = "DotToken"; - SyntaxKind4[SyntaxKind4["DotDotDotToken"] = 26] = "DotDotDotToken"; - SyntaxKind4[SyntaxKind4["SemicolonToken"] = 27] = "SemicolonToken"; - SyntaxKind4[SyntaxKind4["CommaToken"] = 28] = "CommaToken"; - SyntaxKind4[SyntaxKind4["QuestionDotToken"] = 29] = "QuestionDotToken"; - SyntaxKind4[SyntaxKind4["LessThanToken"] = 30] = "LessThanToken"; - SyntaxKind4[SyntaxKind4["LessThanSlashToken"] = 31] = "LessThanSlashToken"; - SyntaxKind4[SyntaxKind4["GreaterThanToken"] = 32] = "GreaterThanToken"; - SyntaxKind4[SyntaxKind4["LessThanEqualsToken"] = 33] = "LessThanEqualsToken"; - SyntaxKind4[SyntaxKind4["GreaterThanEqualsToken"] = 34] = "GreaterThanEqualsToken"; - SyntaxKind4[SyntaxKind4["EqualsEqualsToken"] = 35] = "EqualsEqualsToken"; - SyntaxKind4[SyntaxKind4["ExclamationEqualsToken"] = 36] = "ExclamationEqualsToken"; - SyntaxKind4[SyntaxKind4["EqualsEqualsEqualsToken"] = 37] = "EqualsEqualsEqualsToken"; - SyntaxKind4[SyntaxKind4["ExclamationEqualsEqualsToken"] = 38] = "ExclamationEqualsEqualsToken"; - SyntaxKind4[SyntaxKind4["EqualsGreaterThanToken"] = 39] = "EqualsGreaterThanToken"; - SyntaxKind4[SyntaxKind4["PlusToken"] = 40] = "PlusToken"; - SyntaxKind4[SyntaxKind4["MinusToken"] = 41] = "MinusToken"; - SyntaxKind4[SyntaxKind4["AsteriskToken"] = 42] = "AsteriskToken"; - SyntaxKind4[SyntaxKind4["AsteriskAsteriskToken"] = 43] = "AsteriskAsteriskToken"; - SyntaxKind4[SyntaxKind4["SlashToken"] = 44] = "SlashToken"; - SyntaxKind4[SyntaxKind4["PercentToken"] = 45] = "PercentToken"; - SyntaxKind4[SyntaxKind4["PlusPlusToken"] = 46] = "PlusPlusToken"; - SyntaxKind4[SyntaxKind4["MinusMinusToken"] = 47] = "MinusMinusToken"; - SyntaxKind4[SyntaxKind4["LessThanLessThanToken"] = 48] = "LessThanLessThanToken"; - SyntaxKind4[SyntaxKind4["GreaterThanGreaterThanToken"] = 49] = "GreaterThanGreaterThanToken"; - SyntaxKind4[SyntaxKind4["GreaterThanGreaterThanGreaterThanToken"] = 50] = "GreaterThanGreaterThanGreaterThanToken"; - SyntaxKind4[SyntaxKind4["AmpersandToken"] = 51] = "AmpersandToken"; - SyntaxKind4[SyntaxKind4["BarToken"] = 52] = "BarToken"; - SyntaxKind4[SyntaxKind4["CaretToken"] = 53] = "CaretToken"; - SyntaxKind4[SyntaxKind4["ExclamationToken"] = 54] = "ExclamationToken"; - SyntaxKind4[SyntaxKind4["TildeToken"] = 55] = "TildeToken"; - SyntaxKind4[SyntaxKind4["AmpersandAmpersandToken"] = 56] = "AmpersandAmpersandToken"; - SyntaxKind4[SyntaxKind4["BarBarToken"] = 57] = "BarBarToken"; - SyntaxKind4[SyntaxKind4["QuestionToken"] = 58] = "QuestionToken"; - SyntaxKind4[SyntaxKind4["ColonToken"] = 59] = "ColonToken"; - SyntaxKind4[SyntaxKind4["AtToken"] = 60] = "AtToken"; - SyntaxKind4[SyntaxKind4["QuestionQuestionToken"] = 61] = "QuestionQuestionToken"; - SyntaxKind4[SyntaxKind4["BacktickToken"] = 62] = "BacktickToken"; - SyntaxKind4[SyntaxKind4["HashToken"] = 63] = "HashToken"; - SyntaxKind4[SyntaxKind4["EqualsToken"] = 64] = "EqualsToken"; - SyntaxKind4[SyntaxKind4["PlusEqualsToken"] = 65] = "PlusEqualsToken"; - SyntaxKind4[SyntaxKind4["MinusEqualsToken"] = 66] = "MinusEqualsToken"; - SyntaxKind4[SyntaxKind4["AsteriskEqualsToken"] = 67] = "AsteriskEqualsToken"; - SyntaxKind4[SyntaxKind4["AsteriskAsteriskEqualsToken"] = 68] = "AsteriskAsteriskEqualsToken"; - SyntaxKind4[SyntaxKind4["SlashEqualsToken"] = 69] = "SlashEqualsToken"; - SyntaxKind4[SyntaxKind4["PercentEqualsToken"] = 70] = "PercentEqualsToken"; - SyntaxKind4[SyntaxKind4["LessThanLessThanEqualsToken"] = 71] = "LessThanLessThanEqualsToken"; - SyntaxKind4[SyntaxKind4["GreaterThanGreaterThanEqualsToken"] = 72] = "GreaterThanGreaterThanEqualsToken"; - SyntaxKind4[SyntaxKind4["GreaterThanGreaterThanGreaterThanEqualsToken"] = 73] = "GreaterThanGreaterThanGreaterThanEqualsToken"; - SyntaxKind4[SyntaxKind4["AmpersandEqualsToken"] = 74] = "AmpersandEqualsToken"; - SyntaxKind4[SyntaxKind4["BarEqualsToken"] = 75] = "BarEqualsToken"; - SyntaxKind4[SyntaxKind4["BarBarEqualsToken"] = 76] = "BarBarEqualsToken"; - SyntaxKind4[SyntaxKind4["AmpersandAmpersandEqualsToken"] = 77] = "AmpersandAmpersandEqualsToken"; - SyntaxKind4[SyntaxKind4["QuestionQuestionEqualsToken"] = 78] = "QuestionQuestionEqualsToken"; - SyntaxKind4[SyntaxKind4["CaretEqualsToken"] = 79] = "CaretEqualsToken"; - SyntaxKind4[SyntaxKind4["Identifier"] = 80] = "Identifier"; - SyntaxKind4[SyntaxKind4["PrivateIdentifier"] = 81] = "PrivateIdentifier"; - SyntaxKind4[SyntaxKind4["JSDocCommentTextToken"] = 82] = "JSDocCommentTextToken"; - SyntaxKind4[SyntaxKind4["BreakKeyword"] = 83] = "BreakKeyword"; - SyntaxKind4[SyntaxKind4["CaseKeyword"] = 84] = "CaseKeyword"; - SyntaxKind4[SyntaxKind4["CatchKeyword"] = 85] = "CatchKeyword"; - SyntaxKind4[SyntaxKind4["ClassKeyword"] = 86] = "ClassKeyword"; - SyntaxKind4[SyntaxKind4["ConstKeyword"] = 87] = "ConstKeyword"; - SyntaxKind4[SyntaxKind4["ContinueKeyword"] = 88] = "ContinueKeyword"; - SyntaxKind4[SyntaxKind4["DebuggerKeyword"] = 89] = "DebuggerKeyword"; - SyntaxKind4[SyntaxKind4["DefaultKeyword"] = 90] = "DefaultKeyword"; - SyntaxKind4[SyntaxKind4["DeleteKeyword"] = 91] = "DeleteKeyword"; - SyntaxKind4[SyntaxKind4["DoKeyword"] = 92] = "DoKeyword"; - SyntaxKind4[SyntaxKind4["ElseKeyword"] = 93] = "ElseKeyword"; - SyntaxKind4[SyntaxKind4["EnumKeyword"] = 94] = "EnumKeyword"; - SyntaxKind4[SyntaxKind4["ExportKeyword"] = 95] = "ExportKeyword"; - SyntaxKind4[SyntaxKind4["ExtendsKeyword"] = 96] = "ExtendsKeyword"; - SyntaxKind4[SyntaxKind4["FalseKeyword"] = 97] = "FalseKeyword"; - SyntaxKind4[SyntaxKind4["FinallyKeyword"] = 98] = "FinallyKeyword"; - SyntaxKind4[SyntaxKind4["ForKeyword"] = 99] = "ForKeyword"; - SyntaxKind4[SyntaxKind4["FunctionKeyword"] = 100] = "FunctionKeyword"; - SyntaxKind4[SyntaxKind4["IfKeyword"] = 101] = "IfKeyword"; - SyntaxKind4[SyntaxKind4["ImportKeyword"] = 102] = "ImportKeyword"; - SyntaxKind4[SyntaxKind4["InKeyword"] = 103] = "InKeyword"; - SyntaxKind4[SyntaxKind4["InstanceOfKeyword"] = 104] = "InstanceOfKeyword"; - SyntaxKind4[SyntaxKind4["NewKeyword"] = 105] = "NewKeyword"; - SyntaxKind4[SyntaxKind4["NullKeyword"] = 106] = "NullKeyword"; - SyntaxKind4[SyntaxKind4["ReturnKeyword"] = 107] = "ReturnKeyword"; - SyntaxKind4[SyntaxKind4["SuperKeyword"] = 108] = "SuperKeyword"; - SyntaxKind4[SyntaxKind4["SwitchKeyword"] = 109] = "SwitchKeyword"; - SyntaxKind4[SyntaxKind4["ThisKeyword"] = 110] = "ThisKeyword"; - SyntaxKind4[SyntaxKind4["ThrowKeyword"] = 111] = "ThrowKeyword"; - SyntaxKind4[SyntaxKind4["TrueKeyword"] = 112] = "TrueKeyword"; - SyntaxKind4[SyntaxKind4["TryKeyword"] = 113] = "TryKeyword"; - SyntaxKind4[SyntaxKind4["TypeOfKeyword"] = 114] = "TypeOfKeyword"; - SyntaxKind4[SyntaxKind4["VarKeyword"] = 115] = "VarKeyword"; - SyntaxKind4[SyntaxKind4["VoidKeyword"] = 116] = "VoidKeyword"; - SyntaxKind4[SyntaxKind4["WhileKeyword"] = 117] = "WhileKeyword"; - SyntaxKind4[SyntaxKind4["WithKeyword"] = 118] = "WithKeyword"; - SyntaxKind4[SyntaxKind4["ImplementsKeyword"] = 119] = "ImplementsKeyword"; - SyntaxKind4[SyntaxKind4["InterfaceKeyword"] = 120] = "InterfaceKeyword"; - SyntaxKind4[SyntaxKind4["LetKeyword"] = 121] = "LetKeyword"; - SyntaxKind4[SyntaxKind4["PackageKeyword"] = 122] = "PackageKeyword"; - SyntaxKind4[SyntaxKind4["PrivateKeyword"] = 123] = "PrivateKeyword"; - SyntaxKind4[SyntaxKind4["ProtectedKeyword"] = 124] = "ProtectedKeyword"; - SyntaxKind4[SyntaxKind4["PublicKeyword"] = 125] = "PublicKeyword"; - SyntaxKind4[SyntaxKind4["StaticKeyword"] = 126] = "StaticKeyword"; - SyntaxKind4[SyntaxKind4["YieldKeyword"] = 127] = "YieldKeyword"; - SyntaxKind4[SyntaxKind4["AbstractKeyword"] = 128] = "AbstractKeyword"; - SyntaxKind4[SyntaxKind4["AccessorKeyword"] = 129] = "AccessorKeyword"; - SyntaxKind4[SyntaxKind4["AsKeyword"] = 130] = "AsKeyword"; - SyntaxKind4[SyntaxKind4["AssertsKeyword"] = 131] = "AssertsKeyword"; - SyntaxKind4[SyntaxKind4["AssertKeyword"] = 132] = "AssertKeyword"; - SyntaxKind4[SyntaxKind4["AnyKeyword"] = 133] = "AnyKeyword"; - SyntaxKind4[SyntaxKind4["AsyncKeyword"] = 134] = "AsyncKeyword"; - SyntaxKind4[SyntaxKind4["AwaitKeyword"] = 135] = "AwaitKeyword"; - SyntaxKind4[SyntaxKind4["BooleanKeyword"] = 136] = "BooleanKeyword"; - SyntaxKind4[SyntaxKind4["ConstructorKeyword"] = 137] = "ConstructorKeyword"; - SyntaxKind4[SyntaxKind4["DeclareKeyword"] = 138] = "DeclareKeyword"; - SyntaxKind4[SyntaxKind4["GetKeyword"] = 139] = "GetKeyword"; - SyntaxKind4[SyntaxKind4["InferKeyword"] = 140] = "InferKeyword"; - SyntaxKind4[SyntaxKind4["IntrinsicKeyword"] = 141] = "IntrinsicKeyword"; - SyntaxKind4[SyntaxKind4["IsKeyword"] = 142] = "IsKeyword"; - SyntaxKind4[SyntaxKind4["KeyOfKeyword"] = 143] = "KeyOfKeyword"; - SyntaxKind4[SyntaxKind4["ModuleKeyword"] = 144] = "ModuleKeyword"; - SyntaxKind4[SyntaxKind4["NamespaceKeyword"] = 145] = "NamespaceKeyword"; - SyntaxKind4[SyntaxKind4["NeverKeyword"] = 146] = "NeverKeyword"; - SyntaxKind4[SyntaxKind4["OutKeyword"] = 147] = "OutKeyword"; - SyntaxKind4[SyntaxKind4["ReadonlyKeyword"] = 148] = "ReadonlyKeyword"; - SyntaxKind4[SyntaxKind4["RequireKeyword"] = 149] = "RequireKeyword"; - SyntaxKind4[SyntaxKind4["NumberKeyword"] = 150] = "NumberKeyword"; - SyntaxKind4[SyntaxKind4["ObjectKeyword"] = 151] = "ObjectKeyword"; - SyntaxKind4[SyntaxKind4["SatisfiesKeyword"] = 152] = "SatisfiesKeyword"; - SyntaxKind4[SyntaxKind4["SetKeyword"] = 153] = "SetKeyword"; - SyntaxKind4[SyntaxKind4["StringKeyword"] = 154] = "StringKeyword"; - SyntaxKind4[SyntaxKind4["SymbolKeyword"] = 155] = "SymbolKeyword"; - SyntaxKind4[SyntaxKind4["TypeKeyword"] = 156] = "TypeKeyword"; - SyntaxKind4[SyntaxKind4["UndefinedKeyword"] = 157] = "UndefinedKeyword"; - SyntaxKind4[SyntaxKind4["UniqueKeyword"] = 158] = "UniqueKeyword"; - SyntaxKind4[SyntaxKind4["UnknownKeyword"] = 159] = "UnknownKeyword"; - SyntaxKind4[SyntaxKind4["UsingKeyword"] = 160] = "UsingKeyword"; - SyntaxKind4[SyntaxKind4["FromKeyword"] = 161] = "FromKeyword"; - SyntaxKind4[SyntaxKind4["GlobalKeyword"] = 162] = "GlobalKeyword"; - SyntaxKind4[SyntaxKind4["BigIntKeyword"] = 163] = "BigIntKeyword"; - SyntaxKind4[SyntaxKind4["OverrideKeyword"] = 164] = "OverrideKeyword"; - SyntaxKind4[SyntaxKind4["OfKeyword"] = 165] = "OfKeyword"; - SyntaxKind4[SyntaxKind4["QualifiedName"] = 166] = "QualifiedName"; - SyntaxKind4[SyntaxKind4["ComputedPropertyName"] = 167] = "ComputedPropertyName"; - SyntaxKind4[SyntaxKind4["TypeParameter"] = 168] = "TypeParameter"; - SyntaxKind4[SyntaxKind4["Parameter"] = 169] = "Parameter"; - SyntaxKind4[SyntaxKind4["Decorator"] = 170] = "Decorator"; - SyntaxKind4[SyntaxKind4["PropertySignature"] = 171] = "PropertySignature"; - SyntaxKind4[SyntaxKind4["PropertyDeclaration"] = 172] = "PropertyDeclaration"; - SyntaxKind4[SyntaxKind4["MethodSignature"] = 173] = "MethodSignature"; - SyntaxKind4[SyntaxKind4["MethodDeclaration"] = 174] = "MethodDeclaration"; - SyntaxKind4[SyntaxKind4["ClassStaticBlockDeclaration"] = 175] = "ClassStaticBlockDeclaration"; - SyntaxKind4[SyntaxKind4["Constructor"] = 176] = "Constructor"; - SyntaxKind4[SyntaxKind4["GetAccessor"] = 177] = "GetAccessor"; - SyntaxKind4[SyntaxKind4["SetAccessor"] = 178] = "SetAccessor"; - SyntaxKind4[SyntaxKind4["CallSignature"] = 179] = "CallSignature"; - SyntaxKind4[SyntaxKind4["ConstructSignature"] = 180] = "ConstructSignature"; - SyntaxKind4[SyntaxKind4["IndexSignature"] = 181] = "IndexSignature"; - SyntaxKind4[SyntaxKind4["TypePredicate"] = 182] = "TypePredicate"; - SyntaxKind4[SyntaxKind4["TypeReference"] = 183] = "TypeReference"; - SyntaxKind4[SyntaxKind4["FunctionType"] = 184] = "FunctionType"; - SyntaxKind4[SyntaxKind4["ConstructorType"] = 185] = "ConstructorType"; - SyntaxKind4[SyntaxKind4["TypeQuery"] = 186] = "TypeQuery"; - SyntaxKind4[SyntaxKind4["TypeLiteral"] = 187] = "TypeLiteral"; - SyntaxKind4[SyntaxKind4["ArrayType"] = 188] = "ArrayType"; - SyntaxKind4[SyntaxKind4["TupleType"] = 189] = "TupleType"; - SyntaxKind4[SyntaxKind4["OptionalType"] = 190] = "OptionalType"; - SyntaxKind4[SyntaxKind4["RestType"] = 191] = "RestType"; - SyntaxKind4[SyntaxKind4["UnionType"] = 192] = "UnionType"; - SyntaxKind4[SyntaxKind4["IntersectionType"] = 193] = "IntersectionType"; - SyntaxKind4[SyntaxKind4["ConditionalType"] = 194] = "ConditionalType"; - SyntaxKind4[SyntaxKind4["InferType"] = 195] = "InferType"; - SyntaxKind4[SyntaxKind4["ParenthesizedType"] = 196] = "ParenthesizedType"; - SyntaxKind4[SyntaxKind4["ThisType"] = 197] = "ThisType"; - SyntaxKind4[SyntaxKind4["TypeOperator"] = 198] = "TypeOperator"; - SyntaxKind4[SyntaxKind4["IndexedAccessType"] = 199] = "IndexedAccessType"; - SyntaxKind4[SyntaxKind4["MappedType"] = 200] = "MappedType"; - SyntaxKind4[SyntaxKind4["LiteralType"] = 201] = "LiteralType"; - SyntaxKind4[SyntaxKind4["NamedTupleMember"] = 202] = "NamedTupleMember"; - SyntaxKind4[SyntaxKind4["TemplateLiteralType"] = 203] = "TemplateLiteralType"; - SyntaxKind4[SyntaxKind4["TemplateLiteralTypeSpan"] = 204] = "TemplateLiteralTypeSpan"; - SyntaxKind4[SyntaxKind4["ImportType"] = 205] = "ImportType"; - SyntaxKind4[SyntaxKind4["ObjectBindingPattern"] = 206] = "ObjectBindingPattern"; - SyntaxKind4[SyntaxKind4["ArrayBindingPattern"] = 207] = "ArrayBindingPattern"; - SyntaxKind4[SyntaxKind4["BindingElement"] = 208] = "BindingElement"; - SyntaxKind4[SyntaxKind4["ArrayLiteralExpression"] = 209] = "ArrayLiteralExpression"; - SyntaxKind4[SyntaxKind4["ObjectLiteralExpression"] = 210] = "ObjectLiteralExpression"; - SyntaxKind4[SyntaxKind4["PropertyAccessExpression"] = 211] = "PropertyAccessExpression"; - SyntaxKind4[SyntaxKind4["ElementAccessExpression"] = 212] = "ElementAccessExpression"; - SyntaxKind4[SyntaxKind4["CallExpression"] = 213] = "CallExpression"; - SyntaxKind4[SyntaxKind4["NewExpression"] = 214] = "NewExpression"; - SyntaxKind4[SyntaxKind4["TaggedTemplateExpression"] = 215] = "TaggedTemplateExpression"; - SyntaxKind4[SyntaxKind4["TypeAssertionExpression"] = 216] = "TypeAssertionExpression"; - SyntaxKind4[SyntaxKind4["ParenthesizedExpression"] = 217] = "ParenthesizedExpression"; - SyntaxKind4[SyntaxKind4["FunctionExpression"] = 218] = "FunctionExpression"; - SyntaxKind4[SyntaxKind4["ArrowFunction"] = 219] = "ArrowFunction"; - SyntaxKind4[SyntaxKind4["DeleteExpression"] = 220] = "DeleteExpression"; - SyntaxKind4[SyntaxKind4["TypeOfExpression"] = 221] = "TypeOfExpression"; - SyntaxKind4[SyntaxKind4["VoidExpression"] = 222] = "VoidExpression"; - SyntaxKind4[SyntaxKind4["AwaitExpression"] = 223] = "AwaitExpression"; - SyntaxKind4[SyntaxKind4["PrefixUnaryExpression"] = 224] = "PrefixUnaryExpression"; - SyntaxKind4[SyntaxKind4["PostfixUnaryExpression"] = 225] = "PostfixUnaryExpression"; - SyntaxKind4[SyntaxKind4["BinaryExpression"] = 226] = "BinaryExpression"; - SyntaxKind4[SyntaxKind4["ConditionalExpression"] = 227] = "ConditionalExpression"; - SyntaxKind4[SyntaxKind4["TemplateExpression"] = 228] = "TemplateExpression"; - SyntaxKind4[SyntaxKind4["YieldExpression"] = 229] = "YieldExpression"; - SyntaxKind4[SyntaxKind4["SpreadElement"] = 230] = "SpreadElement"; - SyntaxKind4[SyntaxKind4["ClassExpression"] = 231] = "ClassExpression"; - SyntaxKind4[SyntaxKind4["OmittedExpression"] = 232] = "OmittedExpression"; - SyntaxKind4[SyntaxKind4["ExpressionWithTypeArguments"] = 233] = "ExpressionWithTypeArguments"; - SyntaxKind4[SyntaxKind4["AsExpression"] = 234] = "AsExpression"; - SyntaxKind4[SyntaxKind4["NonNullExpression"] = 235] = "NonNullExpression"; - SyntaxKind4[SyntaxKind4["MetaProperty"] = 236] = "MetaProperty"; - SyntaxKind4[SyntaxKind4["SyntheticExpression"] = 237] = "SyntheticExpression"; - SyntaxKind4[SyntaxKind4["SatisfiesExpression"] = 238] = "SatisfiesExpression"; - SyntaxKind4[SyntaxKind4["TemplateSpan"] = 239] = "TemplateSpan"; - SyntaxKind4[SyntaxKind4["SemicolonClassElement"] = 240] = "SemicolonClassElement"; - SyntaxKind4[SyntaxKind4["Block"] = 241] = "Block"; - SyntaxKind4[SyntaxKind4["EmptyStatement"] = 242] = "EmptyStatement"; - SyntaxKind4[SyntaxKind4["VariableStatement"] = 243] = "VariableStatement"; - SyntaxKind4[SyntaxKind4["ExpressionStatement"] = 244] = "ExpressionStatement"; - SyntaxKind4[SyntaxKind4["IfStatement"] = 245] = "IfStatement"; - SyntaxKind4[SyntaxKind4["DoStatement"] = 246] = "DoStatement"; - SyntaxKind4[SyntaxKind4["WhileStatement"] = 247] = "WhileStatement"; - SyntaxKind4[SyntaxKind4["ForStatement"] = 248] = "ForStatement"; - SyntaxKind4[SyntaxKind4["ForInStatement"] = 249] = "ForInStatement"; - SyntaxKind4[SyntaxKind4["ForOfStatement"] = 250] = "ForOfStatement"; - SyntaxKind4[SyntaxKind4["ContinueStatement"] = 251] = "ContinueStatement"; - SyntaxKind4[SyntaxKind4["BreakStatement"] = 252] = "BreakStatement"; - SyntaxKind4[SyntaxKind4["ReturnStatement"] = 253] = "ReturnStatement"; - SyntaxKind4[SyntaxKind4["WithStatement"] = 254] = "WithStatement"; - SyntaxKind4[SyntaxKind4["SwitchStatement"] = 255] = "SwitchStatement"; - SyntaxKind4[SyntaxKind4["LabeledStatement"] = 256] = "LabeledStatement"; - SyntaxKind4[SyntaxKind4["ThrowStatement"] = 257] = "ThrowStatement"; - SyntaxKind4[SyntaxKind4["TryStatement"] = 258] = "TryStatement"; - SyntaxKind4[SyntaxKind4["DebuggerStatement"] = 259] = "DebuggerStatement"; - SyntaxKind4[SyntaxKind4["VariableDeclaration"] = 260] = "VariableDeclaration"; - SyntaxKind4[SyntaxKind4["VariableDeclarationList"] = 261] = "VariableDeclarationList"; - SyntaxKind4[SyntaxKind4["FunctionDeclaration"] = 262] = "FunctionDeclaration"; - SyntaxKind4[SyntaxKind4["ClassDeclaration"] = 263] = "ClassDeclaration"; - SyntaxKind4[SyntaxKind4["InterfaceDeclaration"] = 264] = "InterfaceDeclaration"; - SyntaxKind4[SyntaxKind4["TypeAliasDeclaration"] = 265] = "TypeAliasDeclaration"; - SyntaxKind4[SyntaxKind4["EnumDeclaration"] = 266] = "EnumDeclaration"; - SyntaxKind4[SyntaxKind4["ModuleDeclaration"] = 267] = "ModuleDeclaration"; - SyntaxKind4[SyntaxKind4["ModuleBlock"] = 268] = "ModuleBlock"; - SyntaxKind4[SyntaxKind4["CaseBlock"] = 269] = "CaseBlock"; - SyntaxKind4[SyntaxKind4["NamespaceExportDeclaration"] = 270] = "NamespaceExportDeclaration"; - SyntaxKind4[SyntaxKind4["ImportEqualsDeclaration"] = 271] = "ImportEqualsDeclaration"; - SyntaxKind4[SyntaxKind4["ImportDeclaration"] = 272] = "ImportDeclaration"; - SyntaxKind4[SyntaxKind4["ImportClause"] = 273] = "ImportClause"; - SyntaxKind4[SyntaxKind4["NamespaceImport"] = 274] = "NamespaceImport"; - SyntaxKind4[SyntaxKind4["NamedImports"] = 275] = "NamedImports"; - SyntaxKind4[SyntaxKind4["ImportSpecifier"] = 276] = "ImportSpecifier"; - SyntaxKind4[SyntaxKind4["ExportAssignment"] = 277] = "ExportAssignment"; - SyntaxKind4[SyntaxKind4["ExportDeclaration"] = 278] = "ExportDeclaration"; - SyntaxKind4[SyntaxKind4["NamedExports"] = 279] = "NamedExports"; - SyntaxKind4[SyntaxKind4["NamespaceExport"] = 280] = "NamespaceExport"; - SyntaxKind4[SyntaxKind4["ExportSpecifier"] = 281] = "ExportSpecifier"; - SyntaxKind4[SyntaxKind4["MissingDeclaration"] = 282] = "MissingDeclaration"; - SyntaxKind4[SyntaxKind4["ExternalModuleReference"] = 283] = "ExternalModuleReference"; - SyntaxKind4[SyntaxKind4["JsxElement"] = 284] = "JsxElement"; - SyntaxKind4[SyntaxKind4["JsxSelfClosingElement"] = 285] = "JsxSelfClosingElement"; - SyntaxKind4[SyntaxKind4["JsxOpeningElement"] = 286] = "JsxOpeningElement"; - SyntaxKind4[SyntaxKind4["JsxClosingElement"] = 287] = "JsxClosingElement"; - SyntaxKind4[SyntaxKind4["JsxFragment"] = 288] = "JsxFragment"; - SyntaxKind4[SyntaxKind4["JsxOpeningFragment"] = 289] = "JsxOpeningFragment"; - SyntaxKind4[SyntaxKind4["JsxClosingFragment"] = 290] = "JsxClosingFragment"; - SyntaxKind4[SyntaxKind4["JsxAttribute"] = 291] = "JsxAttribute"; - SyntaxKind4[SyntaxKind4["JsxAttributes"] = 292] = "JsxAttributes"; - SyntaxKind4[SyntaxKind4["JsxSpreadAttribute"] = 293] = "JsxSpreadAttribute"; - SyntaxKind4[SyntaxKind4["JsxExpression"] = 294] = "JsxExpression"; - SyntaxKind4[SyntaxKind4["JsxNamespacedName"] = 295] = "JsxNamespacedName"; - SyntaxKind4[SyntaxKind4["CaseClause"] = 296] = "CaseClause"; - SyntaxKind4[SyntaxKind4["DefaultClause"] = 297] = "DefaultClause"; - SyntaxKind4[SyntaxKind4["HeritageClause"] = 298] = "HeritageClause"; - SyntaxKind4[SyntaxKind4["CatchClause"] = 299] = "CatchClause"; - SyntaxKind4[SyntaxKind4["ImportAttributes"] = 300] = "ImportAttributes"; - SyntaxKind4[SyntaxKind4["ImportAttribute"] = 301] = "ImportAttribute"; - SyntaxKind4[SyntaxKind4["AssertClause"] = 300 /* ImportAttributes */] = "AssertClause"; - SyntaxKind4[SyntaxKind4["AssertEntry"] = 301 /* ImportAttribute */] = "AssertEntry"; - SyntaxKind4[SyntaxKind4["ImportTypeAssertionContainer"] = 302] = "ImportTypeAssertionContainer"; - SyntaxKind4[SyntaxKind4["PropertyAssignment"] = 303] = "PropertyAssignment"; - SyntaxKind4[SyntaxKind4["ShorthandPropertyAssignment"] = 304] = "ShorthandPropertyAssignment"; - SyntaxKind4[SyntaxKind4["SpreadAssignment"] = 305] = "SpreadAssignment"; - SyntaxKind4[SyntaxKind4["EnumMember"] = 306] = "EnumMember"; - SyntaxKind4[SyntaxKind4["SourceFile"] = 307] = "SourceFile"; - SyntaxKind4[SyntaxKind4["Bundle"] = 308] = "Bundle"; - SyntaxKind4[SyntaxKind4["JSDocTypeExpression"] = 309] = "JSDocTypeExpression"; - SyntaxKind4[SyntaxKind4["JSDocNameReference"] = 310] = "JSDocNameReference"; - SyntaxKind4[SyntaxKind4["JSDocMemberName"] = 311] = "JSDocMemberName"; - SyntaxKind4[SyntaxKind4["JSDocAllType"] = 312] = "JSDocAllType"; - SyntaxKind4[SyntaxKind4["JSDocUnknownType"] = 313] = "JSDocUnknownType"; - SyntaxKind4[SyntaxKind4["JSDocNullableType"] = 314] = "JSDocNullableType"; - SyntaxKind4[SyntaxKind4["JSDocNonNullableType"] = 315] = "JSDocNonNullableType"; - SyntaxKind4[SyntaxKind4["JSDocOptionalType"] = 316] = "JSDocOptionalType"; - SyntaxKind4[SyntaxKind4["JSDocFunctionType"] = 317] = "JSDocFunctionType"; - SyntaxKind4[SyntaxKind4["JSDocVariadicType"] = 318] = "JSDocVariadicType"; - SyntaxKind4[SyntaxKind4["JSDocNamepathType"] = 319] = "JSDocNamepathType"; - SyntaxKind4[SyntaxKind4["JSDoc"] = 320] = "JSDoc"; - SyntaxKind4[SyntaxKind4["JSDocComment"] = 320 /* JSDoc */] = "JSDocComment"; - SyntaxKind4[SyntaxKind4["JSDocText"] = 321] = "JSDocText"; - SyntaxKind4[SyntaxKind4["JSDocTypeLiteral"] = 322] = "JSDocTypeLiteral"; - SyntaxKind4[SyntaxKind4["JSDocSignature"] = 323] = "JSDocSignature"; - SyntaxKind4[SyntaxKind4["JSDocLink"] = 324] = "JSDocLink"; - SyntaxKind4[SyntaxKind4["JSDocLinkCode"] = 325] = "JSDocLinkCode"; - SyntaxKind4[SyntaxKind4["JSDocLinkPlain"] = 326] = "JSDocLinkPlain"; - SyntaxKind4[SyntaxKind4["JSDocTag"] = 327] = "JSDocTag"; - SyntaxKind4[SyntaxKind4["JSDocAugmentsTag"] = 328] = "JSDocAugmentsTag"; - SyntaxKind4[SyntaxKind4["JSDocImplementsTag"] = 329] = "JSDocImplementsTag"; - SyntaxKind4[SyntaxKind4["JSDocAuthorTag"] = 330] = "JSDocAuthorTag"; - SyntaxKind4[SyntaxKind4["JSDocDeprecatedTag"] = 331] = "JSDocDeprecatedTag"; - SyntaxKind4[SyntaxKind4["JSDocClassTag"] = 332] = "JSDocClassTag"; - SyntaxKind4[SyntaxKind4["JSDocPublicTag"] = 333] = "JSDocPublicTag"; - SyntaxKind4[SyntaxKind4["JSDocPrivateTag"] = 334] = "JSDocPrivateTag"; - SyntaxKind4[SyntaxKind4["JSDocProtectedTag"] = 335] = "JSDocProtectedTag"; - SyntaxKind4[SyntaxKind4["JSDocReadonlyTag"] = 336] = "JSDocReadonlyTag"; - SyntaxKind4[SyntaxKind4["JSDocOverrideTag"] = 337] = "JSDocOverrideTag"; - SyntaxKind4[SyntaxKind4["JSDocCallbackTag"] = 338] = "JSDocCallbackTag"; - SyntaxKind4[SyntaxKind4["JSDocOverloadTag"] = 339] = "JSDocOverloadTag"; - SyntaxKind4[SyntaxKind4["JSDocEnumTag"] = 340] = "JSDocEnumTag"; - SyntaxKind4[SyntaxKind4["JSDocParameterTag"] = 341] = "JSDocParameterTag"; - SyntaxKind4[SyntaxKind4["JSDocReturnTag"] = 342] = "JSDocReturnTag"; - SyntaxKind4[SyntaxKind4["JSDocThisTag"] = 343] = "JSDocThisTag"; - SyntaxKind4[SyntaxKind4["JSDocTypeTag"] = 344] = "JSDocTypeTag"; - SyntaxKind4[SyntaxKind4["JSDocTemplateTag"] = 345] = "JSDocTemplateTag"; - SyntaxKind4[SyntaxKind4["JSDocTypedefTag"] = 346] = "JSDocTypedefTag"; - SyntaxKind4[SyntaxKind4["JSDocSeeTag"] = 347] = "JSDocSeeTag"; - SyntaxKind4[SyntaxKind4["JSDocPropertyTag"] = 348] = "JSDocPropertyTag"; - SyntaxKind4[SyntaxKind4["JSDocThrowsTag"] = 349] = "JSDocThrowsTag"; - SyntaxKind4[SyntaxKind4["JSDocSatisfiesTag"] = 350] = "JSDocSatisfiesTag"; - SyntaxKind4[SyntaxKind4["JSDocImportTag"] = 351] = "JSDocImportTag"; - SyntaxKind4[SyntaxKind4["SyntaxList"] = 352] = "SyntaxList"; - SyntaxKind4[SyntaxKind4["NotEmittedStatement"] = 353] = "NotEmittedStatement"; - SyntaxKind4[SyntaxKind4["PartiallyEmittedExpression"] = 354] = "PartiallyEmittedExpression"; - SyntaxKind4[SyntaxKind4["CommaListExpression"] = 355] = "CommaListExpression"; - SyntaxKind4[SyntaxKind4["SyntheticReferenceExpression"] = 356] = "SyntheticReferenceExpression"; - SyntaxKind4[SyntaxKind4["Count"] = 357] = "Count"; - SyntaxKind4[SyntaxKind4["FirstAssignment"] = 64 /* EqualsToken */] = "FirstAssignment"; - SyntaxKind4[SyntaxKind4["LastAssignment"] = 79 /* CaretEqualsToken */] = "LastAssignment"; - SyntaxKind4[SyntaxKind4["FirstCompoundAssignment"] = 65 /* PlusEqualsToken */] = "FirstCompoundAssignment"; - SyntaxKind4[SyntaxKind4["LastCompoundAssignment"] = 79 /* CaretEqualsToken */] = "LastCompoundAssignment"; - SyntaxKind4[SyntaxKind4["FirstReservedWord"] = 83 /* BreakKeyword */] = "FirstReservedWord"; - SyntaxKind4[SyntaxKind4["LastReservedWord"] = 118 /* WithKeyword */] = "LastReservedWord"; - SyntaxKind4[SyntaxKind4["FirstKeyword"] = 83 /* BreakKeyword */] = "FirstKeyword"; - SyntaxKind4[SyntaxKind4["LastKeyword"] = 165 /* OfKeyword */] = "LastKeyword"; - SyntaxKind4[SyntaxKind4["FirstFutureReservedWord"] = 119 /* ImplementsKeyword */] = "FirstFutureReservedWord"; - SyntaxKind4[SyntaxKind4["LastFutureReservedWord"] = 127 /* YieldKeyword */] = "LastFutureReservedWord"; - SyntaxKind4[SyntaxKind4["FirstTypeNode"] = 182 /* TypePredicate */] = "FirstTypeNode"; - SyntaxKind4[SyntaxKind4["LastTypeNode"] = 205 /* ImportType */] = "LastTypeNode"; - SyntaxKind4[SyntaxKind4["FirstPunctuation"] = 19 /* OpenBraceToken */] = "FirstPunctuation"; - SyntaxKind4[SyntaxKind4["LastPunctuation"] = 79 /* CaretEqualsToken */] = "LastPunctuation"; - SyntaxKind4[SyntaxKind4["FirstToken"] = 0 /* Unknown */] = "FirstToken"; - SyntaxKind4[SyntaxKind4["LastToken"] = 165 /* LastKeyword */] = "LastToken"; - SyntaxKind4[SyntaxKind4["FirstTriviaToken"] = 2 /* SingleLineCommentTrivia */] = "FirstTriviaToken"; - SyntaxKind4[SyntaxKind4["LastTriviaToken"] = 7 /* ConflictMarkerTrivia */] = "LastTriviaToken"; - SyntaxKind4[SyntaxKind4["FirstLiteralToken"] = 9 /* NumericLiteral */] = "FirstLiteralToken"; - SyntaxKind4[SyntaxKind4["LastLiteralToken"] = 15 /* NoSubstitutionTemplateLiteral */] = "LastLiteralToken"; - SyntaxKind4[SyntaxKind4["FirstTemplateToken"] = 15 /* NoSubstitutionTemplateLiteral */] = "FirstTemplateToken"; - SyntaxKind4[SyntaxKind4["LastTemplateToken"] = 18 /* TemplateTail */] = "LastTemplateToken"; - SyntaxKind4[SyntaxKind4["FirstBinaryOperator"] = 30 /* LessThanToken */] = "FirstBinaryOperator"; - SyntaxKind4[SyntaxKind4["LastBinaryOperator"] = 79 /* CaretEqualsToken */] = "LastBinaryOperator"; - SyntaxKind4[SyntaxKind4["FirstStatement"] = 243 /* VariableStatement */] = "FirstStatement"; - SyntaxKind4[SyntaxKind4["LastStatement"] = 259 /* DebuggerStatement */] = "LastStatement"; - SyntaxKind4[SyntaxKind4["FirstNode"] = 166 /* QualifiedName */] = "FirstNode"; - SyntaxKind4[SyntaxKind4["FirstJSDocNode"] = 309 /* JSDocTypeExpression */] = "FirstJSDocNode"; - SyntaxKind4[SyntaxKind4["LastJSDocNode"] = 351 /* JSDocImportTag */] = "LastJSDocNode"; - SyntaxKind4[SyntaxKind4["FirstJSDocTagNode"] = 327 /* JSDocTag */] = "FirstJSDocTagNode"; - SyntaxKind4[SyntaxKind4["LastJSDocTagNode"] = 351 /* JSDocImportTag */] = "LastJSDocTagNode"; - SyntaxKind4[SyntaxKind4["FirstContextualKeyword"] = 128 /* AbstractKeyword */] = "FirstContextualKeyword"; - SyntaxKind4[SyntaxKind4["LastContextualKeyword"] = 165 /* OfKeyword */] = "LastContextualKeyword"; - return SyntaxKind4; -})(SyntaxKind || {}); -var NodeFlags = /* @__PURE__ */ ((NodeFlags3) => { - NodeFlags3[NodeFlags3["None"] = 0] = "None"; - NodeFlags3[NodeFlags3["Let"] = 1] = "Let"; - NodeFlags3[NodeFlags3["Const"] = 2] = "Const"; - NodeFlags3[NodeFlags3["Using"] = 4] = "Using"; - NodeFlags3[NodeFlags3["AwaitUsing"] = 6] = "AwaitUsing"; - NodeFlags3[NodeFlags3["NestedNamespace"] = 8] = "NestedNamespace"; - NodeFlags3[NodeFlags3["Synthesized"] = 16] = "Synthesized"; - NodeFlags3[NodeFlags3["Namespace"] = 32] = "Namespace"; - NodeFlags3[NodeFlags3["OptionalChain"] = 64] = "OptionalChain"; - NodeFlags3[NodeFlags3["ExportContext"] = 128] = "ExportContext"; - NodeFlags3[NodeFlags3["ContainsThis"] = 256] = "ContainsThis"; - NodeFlags3[NodeFlags3["HasImplicitReturn"] = 512] = "HasImplicitReturn"; - NodeFlags3[NodeFlags3["HasExplicitReturn"] = 1024] = "HasExplicitReturn"; - NodeFlags3[NodeFlags3["GlobalAugmentation"] = 2048] = "GlobalAugmentation"; - NodeFlags3[NodeFlags3["HasAsyncFunctions"] = 4096] = "HasAsyncFunctions"; - NodeFlags3[NodeFlags3["DisallowInContext"] = 8192] = "DisallowInContext"; - NodeFlags3[NodeFlags3["YieldContext"] = 16384] = "YieldContext"; - NodeFlags3[NodeFlags3["DecoratorContext"] = 32768] = "DecoratorContext"; - NodeFlags3[NodeFlags3["AwaitContext"] = 65536] = "AwaitContext"; - NodeFlags3[NodeFlags3["DisallowConditionalTypesContext"] = 131072] = "DisallowConditionalTypesContext"; - NodeFlags3[NodeFlags3["ThisNodeHasError"] = 262144] = "ThisNodeHasError"; - NodeFlags3[NodeFlags3["JavaScriptFile"] = 524288] = "JavaScriptFile"; - NodeFlags3[NodeFlags3["ThisNodeOrAnySubNodesHasError"] = 1048576] = "ThisNodeOrAnySubNodesHasError"; - NodeFlags3[NodeFlags3["HasAggregatedChildData"] = 2097152] = "HasAggregatedChildData"; - NodeFlags3[NodeFlags3["PossiblyContainsDynamicImport"] = 4194304] = "PossiblyContainsDynamicImport"; - NodeFlags3[NodeFlags3["PossiblyContainsImportMeta"] = 8388608] = "PossiblyContainsImportMeta"; - NodeFlags3[NodeFlags3["JSDoc"] = 16777216] = "JSDoc"; - NodeFlags3[NodeFlags3["Ambient"] = 33554432] = "Ambient"; - NodeFlags3[NodeFlags3["InWithStatement"] = 67108864] = "InWithStatement"; - NodeFlags3[NodeFlags3["JsonFile"] = 134217728] = "JsonFile"; - NodeFlags3[NodeFlags3["TypeCached"] = 268435456] = "TypeCached"; - NodeFlags3[NodeFlags3["Deprecated"] = 536870912] = "Deprecated"; - NodeFlags3[NodeFlags3["BlockScoped"] = 7] = "BlockScoped"; - NodeFlags3[NodeFlags3["Constant"] = 6] = "Constant"; - NodeFlags3[NodeFlags3["ReachabilityCheckFlags"] = 1536] = "ReachabilityCheckFlags"; - NodeFlags3[NodeFlags3["ReachabilityAndEmitFlags"] = 5632] = "ReachabilityAndEmitFlags"; - NodeFlags3[NodeFlags3["ContextFlags"] = 101441536] = "ContextFlags"; - NodeFlags3[NodeFlags3["TypeExcludesFlags"] = 81920] = "TypeExcludesFlags"; - NodeFlags3[NodeFlags3["PermanentlySetIncrementalFlags"] = 12582912] = "PermanentlySetIncrementalFlags"; - NodeFlags3[NodeFlags3["IdentifierHasExtendedUnicodeEscape"] = 256 /* ContainsThis */] = "IdentifierHasExtendedUnicodeEscape"; - NodeFlags3[NodeFlags3["IdentifierIsInJSDocNamespace"] = 4096 /* HasAsyncFunctions */] = "IdentifierIsInJSDocNamespace"; - return NodeFlags3; -})(NodeFlags || {}); -var ModifierFlags = /* @__PURE__ */ ((ModifierFlags3) => { - ModifierFlags3[ModifierFlags3["None"] = 0] = "None"; - ModifierFlags3[ModifierFlags3["Public"] = 1] = "Public"; - ModifierFlags3[ModifierFlags3["Private"] = 2] = "Private"; - ModifierFlags3[ModifierFlags3["Protected"] = 4] = "Protected"; - ModifierFlags3[ModifierFlags3["Readonly"] = 8] = "Readonly"; - ModifierFlags3[ModifierFlags3["Override"] = 16] = "Override"; - ModifierFlags3[ModifierFlags3["Export"] = 32] = "Export"; - ModifierFlags3[ModifierFlags3["Abstract"] = 64] = "Abstract"; - ModifierFlags3[ModifierFlags3["Ambient"] = 128] = "Ambient"; - ModifierFlags3[ModifierFlags3["Static"] = 256] = "Static"; - ModifierFlags3[ModifierFlags3["Accessor"] = 512] = "Accessor"; - ModifierFlags3[ModifierFlags3["Async"] = 1024] = "Async"; - ModifierFlags3[ModifierFlags3["Default"] = 2048] = "Default"; - ModifierFlags3[ModifierFlags3["Const"] = 4096] = "Const"; - ModifierFlags3[ModifierFlags3["In"] = 8192] = "In"; - ModifierFlags3[ModifierFlags3["Out"] = 16384] = "Out"; - ModifierFlags3[ModifierFlags3["Decorator"] = 32768] = "Decorator"; - ModifierFlags3[ModifierFlags3["Deprecated"] = 65536] = "Deprecated"; - ModifierFlags3[ModifierFlags3["JSDocPublic"] = 8388608] = "JSDocPublic"; - ModifierFlags3[ModifierFlags3["JSDocPrivate"] = 16777216] = "JSDocPrivate"; - ModifierFlags3[ModifierFlags3["JSDocProtected"] = 33554432] = "JSDocProtected"; - ModifierFlags3[ModifierFlags3["JSDocReadonly"] = 67108864] = "JSDocReadonly"; - ModifierFlags3[ModifierFlags3["JSDocOverride"] = 134217728] = "JSDocOverride"; - ModifierFlags3[ModifierFlags3["SyntacticOrJSDocModifiers"] = 31] = "SyntacticOrJSDocModifiers"; - ModifierFlags3[ModifierFlags3["SyntacticOnlyModifiers"] = 65504] = "SyntacticOnlyModifiers"; - ModifierFlags3[ModifierFlags3["SyntacticModifiers"] = 65535] = "SyntacticModifiers"; - ModifierFlags3[ModifierFlags3["JSDocCacheOnlyModifiers"] = 260046848] = "JSDocCacheOnlyModifiers"; - ModifierFlags3[ModifierFlags3["JSDocOnlyModifiers"] = 65536 /* Deprecated */] = "JSDocOnlyModifiers"; - ModifierFlags3[ModifierFlags3["NonCacheOnlyModifiers"] = 131071] = "NonCacheOnlyModifiers"; - ModifierFlags3[ModifierFlags3["HasComputedJSDocModifiers"] = 268435456] = "HasComputedJSDocModifiers"; - ModifierFlags3[ModifierFlags3["HasComputedFlags"] = 536870912] = "HasComputedFlags"; - ModifierFlags3[ModifierFlags3["AccessibilityModifier"] = 7] = "AccessibilityModifier"; - ModifierFlags3[ModifierFlags3["ParameterPropertyModifier"] = 31] = "ParameterPropertyModifier"; - ModifierFlags3[ModifierFlags3["NonPublicAccessibilityModifier"] = 6] = "NonPublicAccessibilityModifier"; - ModifierFlags3[ModifierFlags3["TypeScriptModifier"] = 28895] = "TypeScriptModifier"; - ModifierFlags3[ModifierFlags3["ExportDefault"] = 2080] = "ExportDefault"; - ModifierFlags3[ModifierFlags3["All"] = 131071] = "All"; - ModifierFlags3[ModifierFlags3["Modifier"] = 98303] = "Modifier"; - return ModifierFlags3; -})(ModifierFlags || {}); -var RelationComparisonResult = /* @__PURE__ */ ((RelationComparisonResult3) => { - RelationComparisonResult3[RelationComparisonResult3["None"] = 0] = "None"; - RelationComparisonResult3[RelationComparisonResult3["Succeeded"] = 1] = "Succeeded"; - RelationComparisonResult3[RelationComparisonResult3["Failed"] = 2] = "Failed"; - RelationComparisonResult3[RelationComparisonResult3["ReportsUnmeasurable"] = 8] = "ReportsUnmeasurable"; - RelationComparisonResult3[RelationComparisonResult3["ReportsUnreliable"] = 16] = "ReportsUnreliable"; - RelationComparisonResult3[RelationComparisonResult3["ReportsMask"] = 24] = "ReportsMask"; - RelationComparisonResult3[RelationComparisonResult3["ComplexityOverflow"] = 32] = "ComplexityOverflow"; - RelationComparisonResult3[RelationComparisonResult3["StackDepthOverflow"] = 64] = "StackDepthOverflow"; - RelationComparisonResult3[RelationComparisonResult3["Overflow"] = 96] = "Overflow"; - return RelationComparisonResult3; -})(RelationComparisonResult || {}); -var GeneratedIdentifierFlags = /* @__PURE__ */ ((GeneratedIdentifierFlags2) => { - GeneratedIdentifierFlags2[GeneratedIdentifierFlags2["None"] = 0] = "None"; - GeneratedIdentifierFlags2[GeneratedIdentifierFlags2["Auto"] = 1] = "Auto"; - GeneratedIdentifierFlags2[GeneratedIdentifierFlags2["Loop"] = 2] = "Loop"; - GeneratedIdentifierFlags2[GeneratedIdentifierFlags2["Unique"] = 3] = "Unique"; - GeneratedIdentifierFlags2[GeneratedIdentifierFlags2["Node"] = 4] = "Node"; - GeneratedIdentifierFlags2[GeneratedIdentifierFlags2["KindMask"] = 7] = "KindMask"; - GeneratedIdentifierFlags2[GeneratedIdentifierFlags2["ReservedInNestedScopes"] = 8] = "ReservedInNestedScopes"; - GeneratedIdentifierFlags2[GeneratedIdentifierFlags2["Optimistic"] = 16] = "Optimistic"; - GeneratedIdentifierFlags2[GeneratedIdentifierFlags2["FileLevel"] = 32] = "FileLevel"; - GeneratedIdentifierFlags2[GeneratedIdentifierFlags2["AllowNameSubstitution"] = 64] = "AllowNameSubstitution"; - return GeneratedIdentifierFlags2; -})(GeneratedIdentifierFlags || {}); -var FlowFlags = /* @__PURE__ */ ((FlowFlags2) => { - FlowFlags2[FlowFlags2["Unreachable"] = 1] = "Unreachable"; - FlowFlags2[FlowFlags2["Start"] = 2] = "Start"; - FlowFlags2[FlowFlags2["BranchLabel"] = 4] = "BranchLabel"; - FlowFlags2[FlowFlags2["LoopLabel"] = 8] = "LoopLabel"; - FlowFlags2[FlowFlags2["Assignment"] = 16] = "Assignment"; - FlowFlags2[FlowFlags2["TrueCondition"] = 32] = "TrueCondition"; - FlowFlags2[FlowFlags2["FalseCondition"] = 64] = "FalseCondition"; - FlowFlags2[FlowFlags2["SwitchClause"] = 128] = "SwitchClause"; - FlowFlags2[FlowFlags2["ArrayMutation"] = 256] = "ArrayMutation"; - FlowFlags2[FlowFlags2["Call"] = 512] = "Call"; - FlowFlags2[FlowFlags2["ReduceLabel"] = 1024] = "ReduceLabel"; - FlowFlags2[FlowFlags2["Referenced"] = 2048] = "Referenced"; - FlowFlags2[FlowFlags2["Shared"] = 4096] = "Shared"; - FlowFlags2[FlowFlags2["Label"] = 12] = "Label"; - FlowFlags2[FlowFlags2["Condition"] = 96] = "Condition"; - return FlowFlags2; -})(FlowFlags || {}); -var OperationCanceledException = class { -}; -var FileIncludeKind = /* @__PURE__ */ ((FileIncludeKind2) => { - FileIncludeKind2[FileIncludeKind2["RootFile"] = 0] = "RootFile"; - FileIncludeKind2[FileIncludeKind2["SourceFromProjectReference"] = 1] = "SourceFromProjectReference"; - FileIncludeKind2[FileIncludeKind2["OutputFromProjectReference"] = 2] = "OutputFromProjectReference"; - FileIncludeKind2[FileIncludeKind2["Import"] = 3] = "Import"; - FileIncludeKind2[FileIncludeKind2["ReferenceFile"] = 4] = "ReferenceFile"; - FileIncludeKind2[FileIncludeKind2["TypeReferenceDirective"] = 5] = "TypeReferenceDirective"; - FileIncludeKind2[FileIncludeKind2["LibFile"] = 6] = "LibFile"; - FileIncludeKind2[FileIncludeKind2["LibReferenceDirective"] = 7] = "LibReferenceDirective"; - FileIncludeKind2[FileIncludeKind2["AutomaticTypeDirectiveFile"] = 8] = "AutomaticTypeDirectiveFile"; - return FileIncludeKind2; -})(FileIncludeKind || {}); -var SymbolFlags = /* @__PURE__ */ ((SymbolFlags2) => { - SymbolFlags2[SymbolFlags2["None"] = 0] = "None"; - SymbolFlags2[SymbolFlags2["FunctionScopedVariable"] = 1] = "FunctionScopedVariable"; - SymbolFlags2[SymbolFlags2["BlockScopedVariable"] = 2] = "BlockScopedVariable"; - SymbolFlags2[SymbolFlags2["Property"] = 4] = "Property"; - SymbolFlags2[SymbolFlags2["EnumMember"] = 8] = "EnumMember"; - SymbolFlags2[SymbolFlags2["Function"] = 16] = "Function"; - SymbolFlags2[SymbolFlags2["Class"] = 32] = "Class"; - SymbolFlags2[SymbolFlags2["Interface"] = 64] = "Interface"; - SymbolFlags2[SymbolFlags2["ConstEnum"] = 128] = "ConstEnum"; - SymbolFlags2[SymbolFlags2["RegularEnum"] = 256] = "RegularEnum"; - SymbolFlags2[SymbolFlags2["ValueModule"] = 512] = "ValueModule"; - SymbolFlags2[SymbolFlags2["NamespaceModule"] = 1024] = "NamespaceModule"; - SymbolFlags2[SymbolFlags2["TypeLiteral"] = 2048] = "TypeLiteral"; - SymbolFlags2[SymbolFlags2["ObjectLiteral"] = 4096] = "ObjectLiteral"; - SymbolFlags2[SymbolFlags2["Method"] = 8192] = "Method"; - SymbolFlags2[SymbolFlags2["Constructor"] = 16384] = "Constructor"; - SymbolFlags2[SymbolFlags2["GetAccessor"] = 32768] = "GetAccessor"; - SymbolFlags2[SymbolFlags2["SetAccessor"] = 65536] = "SetAccessor"; - SymbolFlags2[SymbolFlags2["Signature"] = 131072] = "Signature"; - SymbolFlags2[SymbolFlags2["TypeParameter"] = 262144] = "TypeParameter"; - SymbolFlags2[SymbolFlags2["TypeAlias"] = 524288] = "TypeAlias"; - SymbolFlags2[SymbolFlags2["ExportValue"] = 1048576] = "ExportValue"; - SymbolFlags2[SymbolFlags2["Alias"] = 2097152] = "Alias"; - SymbolFlags2[SymbolFlags2["Prototype"] = 4194304] = "Prototype"; - SymbolFlags2[SymbolFlags2["ExportStar"] = 8388608] = "ExportStar"; - SymbolFlags2[SymbolFlags2["Optional"] = 16777216] = "Optional"; - SymbolFlags2[SymbolFlags2["Transient"] = 33554432] = "Transient"; - SymbolFlags2[SymbolFlags2["Assignment"] = 67108864] = "Assignment"; - SymbolFlags2[SymbolFlags2["ModuleExports"] = 134217728] = "ModuleExports"; - SymbolFlags2[SymbolFlags2["All"] = -1] = "All"; - SymbolFlags2[SymbolFlags2["Enum"] = 384] = "Enum"; - SymbolFlags2[SymbolFlags2["Variable"] = 3] = "Variable"; - SymbolFlags2[SymbolFlags2["Value"] = 111551] = "Value"; - SymbolFlags2[SymbolFlags2["Type"] = 788968] = "Type"; - SymbolFlags2[SymbolFlags2["Namespace"] = 1920] = "Namespace"; - SymbolFlags2[SymbolFlags2["Module"] = 1536] = "Module"; - SymbolFlags2[SymbolFlags2["Accessor"] = 98304] = "Accessor"; - SymbolFlags2[SymbolFlags2["FunctionScopedVariableExcludes"] = 111550] = "FunctionScopedVariableExcludes"; - SymbolFlags2[SymbolFlags2["BlockScopedVariableExcludes"] = 111551 /* Value */] = "BlockScopedVariableExcludes"; - SymbolFlags2[SymbolFlags2["ParameterExcludes"] = 111551 /* Value */] = "ParameterExcludes"; - SymbolFlags2[SymbolFlags2["PropertyExcludes"] = 0 /* None */] = "PropertyExcludes"; - SymbolFlags2[SymbolFlags2["EnumMemberExcludes"] = 900095] = "EnumMemberExcludes"; - SymbolFlags2[SymbolFlags2["FunctionExcludes"] = 110991] = "FunctionExcludes"; - SymbolFlags2[SymbolFlags2["ClassExcludes"] = 899503] = "ClassExcludes"; - SymbolFlags2[SymbolFlags2["InterfaceExcludes"] = 788872] = "InterfaceExcludes"; - SymbolFlags2[SymbolFlags2["RegularEnumExcludes"] = 899327] = "RegularEnumExcludes"; - SymbolFlags2[SymbolFlags2["ConstEnumExcludes"] = 899967] = "ConstEnumExcludes"; - SymbolFlags2[SymbolFlags2["ValueModuleExcludes"] = 110735] = "ValueModuleExcludes"; - SymbolFlags2[SymbolFlags2["NamespaceModuleExcludes"] = 0] = "NamespaceModuleExcludes"; - SymbolFlags2[SymbolFlags2["MethodExcludes"] = 103359] = "MethodExcludes"; - SymbolFlags2[SymbolFlags2["GetAccessorExcludes"] = 46015] = "GetAccessorExcludes"; - SymbolFlags2[SymbolFlags2["SetAccessorExcludes"] = 78783] = "SetAccessorExcludes"; - SymbolFlags2[SymbolFlags2["AccessorExcludes"] = 13247] = "AccessorExcludes"; - SymbolFlags2[SymbolFlags2["TypeParameterExcludes"] = 526824] = "TypeParameterExcludes"; - SymbolFlags2[SymbolFlags2["TypeAliasExcludes"] = 788968 /* Type */] = "TypeAliasExcludes"; - SymbolFlags2[SymbolFlags2["AliasExcludes"] = 2097152 /* Alias */] = "AliasExcludes"; - SymbolFlags2[SymbolFlags2["ModuleMember"] = 2623475] = "ModuleMember"; - SymbolFlags2[SymbolFlags2["ExportHasLocal"] = 944] = "ExportHasLocal"; - SymbolFlags2[SymbolFlags2["BlockScoped"] = 418] = "BlockScoped"; - SymbolFlags2[SymbolFlags2["PropertyOrAccessor"] = 98308] = "PropertyOrAccessor"; - SymbolFlags2[SymbolFlags2["ClassMember"] = 106500] = "ClassMember"; - SymbolFlags2[SymbolFlags2["ExportSupportsDefaultModifier"] = 112] = "ExportSupportsDefaultModifier"; - SymbolFlags2[SymbolFlags2["ExportDoesNotSupportDefaultModifier"] = -113] = "ExportDoesNotSupportDefaultModifier"; - SymbolFlags2[SymbolFlags2["Classifiable"] = 2885600] = "Classifiable"; - SymbolFlags2[SymbolFlags2["LateBindingContainer"] = 6256] = "LateBindingContainer"; - return SymbolFlags2; -})(SymbolFlags || {}); -var NodeCheckFlags = /* @__PURE__ */ ((NodeCheckFlags3) => { - NodeCheckFlags3[NodeCheckFlags3["None"] = 0] = "None"; - NodeCheckFlags3[NodeCheckFlags3["TypeChecked"] = 1] = "TypeChecked"; - NodeCheckFlags3[NodeCheckFlags3["LexicalThis"] = 2] = "LexicalThis"; - NodeCheckFlags3[NodeCheckFlags3["CaptureThis"] = 4] = "CaptureThis"; - NodeCheckFlags3[NodeCheckFlags3["CaptureNewTarget"] = 8] = "CaptureNewTarget"; - NodeCheckFlags3[NodeCheckFlags3["SuperInstance"] = 16] = "SuperInstance"; - NodeCheckFlags3[NodeCheckFlags3["SuperStatic"] = 32] = "SuperStatic"; - NodeCheckFlags3[NodeCheckFlags3["ContextChecked"] = 64] = "ContextChecked"; - NodeCheckFlags3[NodeCheckFlags3["MethodWithSuperPropertyAccessInAsync"] = 128] = "MethodWithSuperPropertyAccessInAsync"; - NodeCheckFlags3[NodeCheckFlags3["MethodWithSuperPropertyAssignmentInAsync"] = 256] = "MethodWithSuperPropertyAssignmentInAsync"; - NodeCheckFlags3[NodeCheckFlags3["CaptureArguments"] = 512] = "CaptureArguments"; - NodeCheckFlags3[NodeCheckFlags3["EnumValuesComputed"] = 1024] = "EnumValuesComputed"; - NodeCheckFlags3[NodeCheckFlags3["LexicalModuleMergesWithClass"] = 2048] = "LexicalModuleMergesWithClass"; - NodeCheckFlags3[NodeCheckFlags3["LoopWithCapturedBlockScopedBinding"] = 4096] = "LoopWithCapturedBlockScopedBinding"; - NodeCheckFlags3[NodeCheckFlags3["ContainsCapturedBlockScopeBinding"] = 8192] = "ContainsCapturedBlockScopeBinding"; - NodeCheckFlags3[NodeCheckFlags3["CapturedBlockScopedBinding"] = 16384] = "CapturedBlockScopedBinding"; - NodeCheckFlags3[NodeCheckFlags3["BlockScopedBindingInLoop"] = 32768] = "BlockScopedBindingInLoop"; - NodeCheckFlags3[NodeCheckFlags3["NeedsLoopOutParameter"] = 65536] = "NeedsLoopOutParameter"; - NodeCheckFlags3[NodeCheckFlags3["AssignmentsMarked"] = 131072] = "AssignmentsMarked"; - NodeCheckFlags3[NodeCheckFlags3["ContainsConstructorReference"] = 262144] = "ContainsConstructorReference"; - NodeCheckFlags3[NodeCheckFlags3["ConstructorReference"] = 536870912] = "ConstructorReference"; - NodeCheckFlags3[NodeCheckFlags3["ContainsClassWithPrivateIdentifiers"] = 1048576] = "ContainsClassWithPrivateIdentifiers"; - NodeCheckFlags3[NodeCheckFlags3["ContainsSuperPropertyInStaticInitializer"] = 2097152] = "ContainsSuperPropertyInStaticInitializer"; - NodeCheckFlags3[NodeCheckFlags3["InCheckIdentifier"] = 4194304] = "InCheckIdentifier"; - NodeCheckFlags3[NodeCheckFlags3["PartiallyTypeChecked"] = 8388608] = "PartiallyTypeChecked"; - NodeCheckFlags3[NodeCheckFlags3["LazyFlags"] = 539358128] = "LazyFlags"; - return NodeCheckFlags3; -})(NodeCheckFlags || {}); -var TypeFlags = /* @__PURE__ */ ((TypeFlags2) => { - TypeFlags2[TypeFlags2["Any"] = 1] = "Any"; - TypeFlags2[TypeFlags2["Unknown"] = 2] = "Unknown"; - TypeFlags2[TypeFlags2["String"] = 4] = "String"; - TypeFlags2[TypeFlags2["Number"] = 8] = "Number"; - TypeFlags2[TypeFlags2["Boolean"] = 16] = "Boolean"; - TypeFlags2[TypeFlags2["Enum"] = 32] = "Enum"; - TypeFlags2[TypeFlags2["BigInt"] = 64] = "BigInt"; - TypeFlags2[TypeFlags2["StringLiteral"] = 128] = "StringLiteral"; - TypeFlags2[TypeFlags2["NumberLiteral"] = 256] = "NumberLiteral"; - TypeFlags2[TypeFlags2["BooleanLiteral"] = 512] = "BooleanLiteral"; - TypeFlags2[TypeFlags2["EnumLiteral"] = 1024] = "EnumLiteral"; - TypeFlags2[TypeFlags2["BigIntLiteral"] = 2048] = "BigIntLiteral"; - TypeFlags2[TypeFlags2["ESSymbol"] = 4096] = "ESSymbol"; - TypeFlags2[TypeFlags2["UniqueESSymbol"] = 8192] = "UniqueESSymbol"; - TypeFlags2[TypeFlags2["Void"] = 16384] = "Void"; - TypeFlags2[TypeFlags2["Undefined"] = 32768] = "Undefined"; - TypeFlags2[TypeFlags2["Null"] = 65536] = "Null"; - TypeFlags2[TypeFlags2["Never"] = 131072] = "Never"; - TypeFlags2[TypeFlags2["TypeParameter"] = 262144] = "TypeParameter"; - TypeFlags2[TypeFlags2["Object"] = 524288] = "Object"; - TypeFlags2[TypeFlags2["Union"] = 1048576] = "Union"; - TypeFlags2[TypeFlags2["Intersection"] = 2097152] = "Intersection"; - TypeFlags2[TypeFlags2["Index"] = 4194304] = "Index"; - TypeFlags2[TypeFlags2["IndexedAccess"] = 8388608] = "IndexedAccess"; - TypeFlags2[TypeFlags2["Conditional"] = 16777216] = "Conditional"; - TypeFlags2[TypeFlags2["Substitution"] = 33554432] = "Substitution"; - TypeFlags2[TypeFlags2["NonPrimitive"] = 67108864] = "NonPrimitive"; - TypeFlags2[TypeFlags2["TemplateLiteral"] = 134217728] = "TemplateLiteral"; - TypeFlags2[TypeFlags2["StringMapping"] = 268435456] = "StringMapping"; - TypeFlags2[TypeFlags2["Reserved1"] = 536870912] = "Reserved1"; - TypeFlags2[TypeFlags2["Reserved2"] = 1073741824] = "Reserved2"; - TypeFlags2[TypeFlags2["AnyOrUnknown"] = 3] = "AnyOrUnknown"; - TypeFlags2[TypeFlags2["Nullable"] = 98304] = "Nullable"; - TypeFlags2[TypeFlags2["Literal"] = 2944] = "Literal"; - TypeFlags2[TypeFlags2["Unit"] = 109472] = "Unit"; - TypeFlags2[TypeFlags2["Freshable"] = 2976] = "Freshable"; - TypeFlags2[TypeFlags2["StringOrNumberLiteral"] = 384] = "StringOrNumberLiteral"; - TypeFlags2[TypeFlags2["StringOrNumberLiteralOrUnique"] = 8576] = "StringOrNumberLiteralOrUnique"; - TypeFlags2[TypeFlags2["DefinitelyFalsy"] = 117632] = "DefinitelyFalsy"; - TypeFlags2[TypeFlags2["PossiblyFalsy"] = 117724] = "PossiblyFalsy"; - TypeFlags2[TypeFlags2["Intrinsic"] = 67359327] = "Intrinsic"; - TypeFlags2[TypeFlags2["StringLike"] = 402653316] = "StringLike"; - TypeFlags2[TypeFlags2["NumberLike"] = 296] = "NumberLike"; - TypeFlags2[TypeFlags2["BigIntLike"] = 2112] = "BigIntLike"; - TypeFlags2[TypeFlags2["BooleanLike"] = 528] = "BooleanLike"; - TypeFlags2[TypeFlags2["EnumLike"] = 1056] = "EnumLike"; - TypeFlags2[TypeFlags2["ESSymbolLike"] = 12288] = "ESSymbolLike"; - TypeFlags2[TypeFlags2["VoidLike"] = 49152] = "VoidLike"; - TypeFlags2[TypeFlags2["Primitive"] = 402784252] = "Primitive"; - TypeFlags2[TypeFlags2["DefinitelyNonNullable"] = 470302716] = "DefinitelyNonNullable"; - TypeFlags2[TypeFlags2["DisjointDomains"] = 469892092] = "DisjointDomains"; - TypeFlags2[TypeFlags2["UnionOrIntersection"] = 3145728] = "UnionOrIntersection"; - TypeFlags2[TypeFlags2["StructuredType"] = 3670016] = "StructuredType"; - TypeFlags2[TypeFlags2["TypeVariable"] = 8650752] = "TypeVariable"; - TypeFlags2[TypeFlags2["InstantiableNonPrimitive"] = 58982400] = "InstantiableNonPrimitive"; - TypeFlags2[TypeFlags2["InstantiablePrimitive"] = 406847488] = "InstantiablePrimitive"; - TypeFlags2[TypeFlags2["Instantiable"] = 465829888] = "Instantiable"; - TypeFlags2[TypeFlags2["StructuredOrInstantiable"] = 469499904] = "StructuredOrInstantiable"; - TypeFlags2[TypeFlags2["ObjectFlagsType"] = 3899393] = "ObjectFlagsType"; - TypeFlags2[TypeFlags2["Simplifiable"] = 25165824] = "Simplifiable"; - TypeFlags2[TypeFlags2["Singleton"] = 67358815] = "Singleton"; - TypeFlags2[TypeFlags2["Narrowable"] = 536624127] = "Narrowable"; - TypeFlags2[TypeFlags2["IncludesMask"] = 473694207] = "IncludesMask"; - TypeFlags2[TypeFlags2["IncludesMissingType"] = 262144 /* TypeParameter */] = "IncludesMissingType"; - TypeFlags2[TypeFlags2["IncludesNonWideningType"] = 4194304 /* Index */] = "IncludesNonWideningType"; - TypeFlags2[TypeFlags2["IncludesWildcard"] = 8388608 /* IndexedAccess */] = "IncludesWildcard"; - TypeFlags2[TypeFlags2["IncludesEmptyObject"] = 16777216 /* Conditional */] = "IncludesEmptyObject"; - TypeFlags2[TypeFlags2["IncludesInstantiable"] = 33554432 /* Substitution */] = "IncludesInstantiable"; - TypeFlags2[TypeFlags2["IncludesConstrainedTypeVariable"] = 536870912 /* Reserved1 */] = "IncludesConstrainedTypeVariable"; - TypeFlags2[TypeFlags2["IncludesError"] = 1073741824 /* Reserved2 */] = "IncludesError"; - TypeFlags2[TypeFlags2["NotPrimitiveUnion"] = 36323331] = "NotPrimitiveUnion"; - return TypeFlags2; -})(TypeFlags || {}); -var ObjectFlags = /* @__PURE__ */ ((ObjectFlags3) => { - ObjectFlags3[ObjectFlags3["None"] = 0] = "None"; - ObjectFlags3[ObjectFlags3["Class"] = 1] = "Class"; - ObjectFlags3[ObjectFlags3["Interface"] = 2] = "Interface"; - ObjectFlags3[ObjectFlags3["Reference"] = 4] = "Reference"; - ObjectFlags3[ObjectFlags3["Tuple"] = 8] = "Tuple"; - ObjectFlags3[ObjectFlags3["Anonymous"] = 16] = "Anonymous"; - ObjectFlags3[ObjectFlags3["Mapped"] = 32] = "Mapped"; - ObjectFlags3[ObjectFlags3["Instantiated"] = 64] = "Instantiated"; - ObjectFlags3[ObjectFlags3["ObjectLiteral"] = 128] = "ObjectLiteral"; - ObjectFlags3[ObjectFlags3["EvolvingArray"] = 256] = "EvolvingArray"; - ObjectFlags3[ObjectFlags3["ObjectLiteralPatternWithComputedProperties"] = 512] = "ObjectLiteralPatternWithComputedProperties"; - ObjectFlags3[ObjectFlags3["ReverseMapped"] = 1024] = "ReverseMapped"; - ObjectFlags3[ObjectFlags3["JsxAttributes"] = 2048] = "JsxAttributes"; - ObjectFlags3[ObjectFlags3["JSLiteral"] = 4096] = "JSLiteral"; - ObjectFlags3[ObjectFlags3["FreshLiteral"] = 8192] = "FreshLiteral"; - ObjectFlags3[ObjectFlags3["ArrayLiteral"] = 16384] = "ArrayLiteral"; - ObjectFlags3[ObjectFlags3["PrimitiveUnion"] = 32768] = "PrimitiveUnion"; - ObjectFlags3[ObjectFlags3["ContainsWideningType"] = 65536] = "ContainsWideningType"; - ObjectFlags3[ObjectFlags3["ContainsObjectOrArrayLiteral"] = 131072] = "ContainsObjectOrArrayLiteral"; - ObjectFlags3[ObjectFlags3["NonInferrableType"] = 262144] = "NonInferrableType"; - ObjectFlags3[ObjectFlags3["CouldContainTypeVariablesComputed"] = 524288] = "CouldContainTypeVariablesComputed"; - ObjectFlags3[ObjectFlags3["CouldContainTypeVariables"] = 1048576] = "CouldContainTypeVariables"; - ObjectFlags3[ObjectFlags3["ClassOrInterface"] = 3] = "ClassOrInterface"; - ObjectFlags3[ObjectFlags3["RequiresWidening"] = 196608] = "RequiresWidening"; - ObjectFlags3[ObjectFlags3["PropagatingFlags"] = 458752] = "PropagatingFlags"; - ObjectFlags3[ObjectFlags3["InstantiatedMapped"] = 96] = "InstantiatedMapped"; - ObjectFlags3[ObjectFlags3["ObjectTypeKindMask"] = 1343] = "ObjectTypeKindMask"; - ObjectFlags3[ObjectFlags3["ContainsSpread"] = 2097152] = "ContainsSpread"; - ObjectFlags3[ObjectFlags3["ObjectRestType"] = 4194304] = "ObjectRestType"; - ObjectFlags3[ObjectFlags3["InstantiationExpressionType"] = 8388608] = "InstantiationExpressionType"; - ObjectFlags3[ObjectFlags3["SingleSignatureType"] = 134217728] = "SingleSignatureType"; - ObjectFlags3[ObjectFlags3["IsClassInstanceClone"] = 16777216] = "IsClassInstanceClone"; - ObjectFlags3[ObjectFlags3["IdenticalBaseTypeCalculated"] = 33554432] = "IdenticalBaseTypeCalculated"; - ObjectFlags3[ObjectFlags3["IdenticalBaseTypeExists"] = 67108864] = "IdenticalBaseTypeExists"; - ObjectFlags3[ObjectFlags3["IsGenericTypeComputed"] = 2097152] = "IsGenericTypeComputed"; - ObjectFlags3[ObjectFlags3["IsGenericObjectType"] = 4194304] = "IsGenericObjectType"; - ObjectFlags3[ObjectFlags3["IsGenericIndexType"] = 8388608] = "IsGenericIndexType"; - ObjectFlags3[ObjectFlags3["IsGenericType"] = 12582912] = "IsGenericType"; - ObjectFlags3[ObjectFlags3["ContainsIntersections"] = 16777216] = "ContainsIntersections"; - ObjectFlags3[ObjectFlags3["IsUnknownLikeUnionComputed"] = 33554432] = "IsUnknownLikeUnionComputed"; - ObjectFlags3[ObjectFlags3["IsUnknownLikeUnion"] = 67108864] = "IsUnknownLikeUnion"; - ObjectFlags3[ObjectFlags3["IsNeverIntersectionComputed"] = 16777216] = "IsNeverIntersectionComputed"; - ObjectFlags3[ObjectFlags3["IsNeverIntersection"] = 33554432] = "IsNeverIntersection"; - ObjectFlags3[ObjectFlags3["IsConstrainedTypeVariable"] = 67108864] = "IsConstrainedTypeVariable"; - return ObjectFlags3; -})(ObjectFlags || {}); -var SignatureFlags = /* @__PURE__ */ ((SignatureFlags4) => { - SignatureFlags4[SignatureFlags4["None"] = 0] = "None"; - SignatureFlags4[SignatureFlags4["HasRestParameter"] = 1] = "HasRestParameter"; - SignatureFlags4[SignatureFlags4["HasLiteralTypes"] = 2] = "HasLiteralTypes"; - SignatureFlags4[SignatureFlags4["Abstract"] = 4] = "Abstract"; - SignatureFlags4[SignatureFlags4["IsInnerCallChain"] = 8] = "IsInnerCallChain"; - SignatureFlags4[SignatureFlags4["IsOuterCallChain"] = 16] = "IsOuterCallChain"; - SignatureFlags4[SignatureFlags4["IsUntypedSignatureInJSFile"] = 32] = "IsUntypedSignatureInJSFile"; - SignatureFlags4[SignatureFlags4["IsNonInferrable"] = 64] = "IsNonInferrable"; - SignatureFlags4[SignatureFlags4["IsSignatureCandidateForOverloadFailure"] = 128] = "IsSignatureCandidateForOverloadFailure"; - SignatureFlags4[SignatureFlags4["PropagatingFlags"] = 167] = "PropagatingFlags"; - SignatureFlags4[SignatureFlags4["CallChainFlags"] = 24] = "CallChainFlags"; - return SignatureFlags4; -})(SignatureFlags || {}); -var DiagnosticCategory = /* @__PURE__ */ ((DiagnosticCategory2) => { - DiagnosticCategory2[DiagnosticCategory2["Warning"] = 0] = "Warning"; - DiagnosticCategory2[DiagnosticCategory2["Error"] = 1] = "Error"; - DiagnosticCategory2[DiagnosticCategory2["Suggestion"] = 2] = "Suggestion"; - DiagnosticCategory2[DiagnosticCategory2["Message"] = 3] = "Message"; - return DiagnosticCategory2; -})(DiagnosticCategory || {}); -function diagnosticCategoryName(d, lowerCase = true) { - const name = DiagnosticCategory[d.category]; - return lowerCase ? name.toLowerCase() : name; -} -var ModuleResolutionKind = /* @__PURE__ */ ((ModuleResolutionKind2) => { - ModuleResolutionKind2[ModuleResolutionKind2["Classic"] = 1] = "Classic"; - ModuleResolutionKind2[ModuleResolutionKind2["NodeJs"] = 2] = "NodeJs"; - ModuleResolutionKind2[ModuleResolutionKind2["Node10"] = 2] = "Node10"; - ModuleResolutionKind2[ModuleResolutionKind2["Node16"] = 3] = "Node16"; - ModuleResolutionKind2[ModuleResolutionKind2["NodeNext"] = 99] = "NodeNext"; - ModuleResolutionKind2[ModuleResolutionKind2["Bundler"] = 100] = "Bundler"; - return ModuleResolutionKind2; -})(ModuleResolutionKind || {}); -var ModuleKind = /* @__PURE__ */ ((ModuleKind2) => { - ModuleKind2[ModuleKind2["None"] = 0] = "None"; - ModuleKind2[ModuleKind2["CommonJS"] = 1] = "CommonJS"; - ModuleKind2[ModuleKind2["AMD"] = 2] = "AMD"; - ModuleKind2[ModuleKind2["UMD"] = 3] = "UMD"; - ModuleKind2[ModuleKind2["System"] = 4] = "System"; - ModuleKind2[ModuleKind2["ES2015"] = 5] = "ES2015"; - ModuleKind2[ModuleKind2["ES2020"] = 6] = "ES2020"; - ModuleKind2[ModuleKind2["ES2022"] = 7] = "ES2022"; - ModuleKind2[ModuleKind2["ESNext"] = 99] = "ESNext"; - ModuleKind2[ModuleKind2["Node16"] = 100] = "Node16"; - ModuleKind2[ModuleKind2["NodeNext"] = 199] = "NodeNext"; - ModuleKind2[ModuleKind2["Preserve"] = 200] = "Preserve"; - return ModuleKind2; -})(ModuleKind || {}); -var ScriptKind = /* @__PURE__ */ ((ScriptKind3) => { - ScriptKind3[ScriptKind3["Unknown"] = 0] = "Unknown"; - ScriptKind3[ScriptKind3["JS"] = 1] = "JS"; - ScriptKind3[ScriptKind3["JSX"] = 2] = "JSX"; - ScriptKind3[ScriptKind3["TS"] = 3] = "TS"; - ScriptKind3[ScriptKind3["TSX"] = 4] = "TSX"; - ScriptKind3[ScriptKind3["External"] = 5] = "External"; - ScriptKind3[ScriptKind3["JSON"] = 6] = "JSON"; - ScriptKind3[ScriptKind3["Deferred"] = 7] = "Deferred"; - return ScriptKind3; -})(ScriptKind || {}); -var TransformFlags = /* @__PURE__ */ ((TransformFlags3) => { - TransformFlags3[TransformFlags3["None"] = 0] = "None"; - TransformFlags3[TransformFlags3["ContainsTypeScript"] = 1] = "ContainsTypeScript"; - TransformFlags3[TransformFlags3["ContainsJsx"] = 2] = "ContainsJsx"; - TransformFlags3[TransformFlags3["ContainsESNext"] = 4] = "ContainsESNext"; - TransformFlags3[TransformFlags3["ContainsES2022"] = 8] = "ContainsES2022"; - TransformFlags3[TransformFlags3["ContainsES2021"] = 16] = "ContainsES2021"; - TransformFlags3[TransformFlags3["ContainsES2020"] = 32] = "ContainsES2020"; - TransformFlags3[TransformFlags3["ContainsES2019"] = 64] = "ContainsES2019"; - TransformFlags3[TransformFlags3["ContainsES2018"] = 128] = "ContainsES2018"; - TransformFlags3[TransformFlags3["ContainsES2017"] = 256] = "ContainsES2017"; - TransformFlags3[TransformFlags3["ContainsES2016"] = 512] = "ContainsES2016"; - TransformFlags3[TransformFlags3["ContainsES2015"] = 1024] = "ContainsES2015"; - TransformFlags3[TransformFlags3["ContainsGenerator"] = 2048] = "ContainsGenerator"; - TransformFlags3[TransformFlags3["ContainsDestructuringAssignment"] = 4096] = "ContainsDestructuringAssignment"; - TransformFlags3[TransformFlags3["ContainsTypeScriptClassSyntax"] = 8192] = "ContainsTypeScriptClassSyntax"; - TransformFlags3[TransformFlags3["ContainsLexicalThis"] = 16384] = "ContainsLexicalThis"; - TransformFlags3[TransformFlags3["ContainsRestOrSpread"] = 32768] = "ContainsRestOrSpread"; - TransformFlags3[TransformFlags3["ContainsObjectRestOrSpread"] = 65536] = "ContainsObjectRestOrSpread"; - TransformFlags3[TransformFlags3["ContainsComputedPropertyName"] = 131072] = "ContainsComputedPropertyName"; - TransformFlags3[TransformFlags3["ContainsBlockScopedBinding"] = 262144] = "ContainsBlockScopedBinding"; - TransformFlags3[TransformFlags3["ContainsBindingPattern"] = 524288] = "ContainsBindingPattern"; - TransformFlags3[TransformFlags3["ContainsYield"] = 1048576] = "ContainsYield"; - TransformFlags3[TransformFlags3["ContainsAwait"] = 2097152] = "ContainsAwait"; - TransformFlags3[TransformFlags3["ContainsHoistedDeclarationOrCompletion"] = 4194304] = "ContainsHoistedDeclarationOrCompletion"; - TransformFlags3[TransformFlags3["ContainsDynamicImport"] = 8388608] = "ContainsDynamicImport"; - TransformFlags3[TransformFlags3["ContainsClassFields"] = 16777216] = "ContainsClassFields"; - TransformFlags3[TransformFlags3["ContainsDecorators"] = 33554432] = "ContainsDecorators"; - TransformFlags3[TransformFlags3["ContainsPossibleTopLevelAwait"] = 67108864] = "ContainsPossibleTopLevelAwait"; - TransformFlags3[TransformFlags3["ContainsLexicalSuper"] = 134217728] = "ContainsLexicalSuper"; - TransformFlags3[TransformFlags3["ContainsUpdateExpressionForIdentifier"] = 268435456] = "ContainsUpdateExpressionForIdentifier"; - TransformFlags3[TransformFlags3["ContainsPrivateIdentifierInExpression"] = 536870912] = "ContainsPrivateIdentifierInExpression"; - TransformFlags3[TransformFlags3["HasComputedFlags"] = -2147483648] = "HasComputedFlags"; - TransformFlags3[TransformFlags3["AssertTypeScript"] = 1 /* ContainsTypeScript */] = "AssertTypeScript"; - TransformFlags3[TransformFlags3["AssertJsx"] = 2 /* ContainsJsx */] = "AssertJsx"; - TransformFlags3[TransformFlags3["AssertESNext"] = 4 /* ContainsESNext */] = "AssertESNext"; - TransformFlags3[TransformFlags3["AssertES2022"] = 8 /* ContainsES2022 */] = "AssertES2022"; - TransformFlags3[TransformFlags3["AssertES2021"] = 16 /* ContainsES2021 */] = "AssertES2021"; - TransformFlags3[TransformFlags3["AssertES2020"] = 32 /* ContainsES2020 */] = "AssertES2020"; - TransformFlags3[TransformFlags3["AssertES2019"] = 64 /* ContainsES2019 */] = "AssertES2019"; - TransformFlags3[TransformFlags3["AssertES2018"] = 128 /* ContainsES2018 */] = "AssertES2018"; - TransformFlags3[TransformFlags3["AssertES2017"] = 256 /* ContainsES2017 */] = "AssertES2017"; - TransformFlags3[TransformFlags3["AssertES2016"] = 512 /* ContainsES2016 */] = "AssertES2016"; - TransformFlags3[TransformFlags3["AssertES2015"] = 1024 /* ContainsES2015 */] = "AssertES2015"; - TransformFlags3[TransformFlags3["AssertGenerator"] = 2048 /* ContainsGenerator */] = "AssertGenerator"; - TransformFlags3[TransformFlags3["AssertDestructuringAssignment"] = 4096 /* ContainsDestructuringAssignment */] = "AssertDestructuringAssignment"; - TransformFlags3[TransformFlags3["OuterExpressionExcludes"] = -2147483648 /* HasComputedFlags */] = "OuterExpressionExcludes"; - TransformFlags3[TransformFlags3["PropertyAccessExcludes"] = -2147483648 /* OuterExpressionExcludes */] = "PropertyAccessExcludes"; - TransformFlags3[TransformFlags3["NodeExcludes"] = -2147483648 /* PropertyAccessExcludes */] = "NodeExcludes"; - TransformFlags3[TransformFlags3["ArrowFunctionExcludes"] = -2072174592] = "ArrowFunctionExcludes"; - TransformFlags3[TransformFlags3["FunctionExcludes"] = -1937940480] = "FunctionExcludes"; - TransformFlags3[TransformFlags3["ConstructorExcludes"] = -1937948672] = "ConstructorExcludes"; - TransformFlags3[TransformFlags3["MethodOrAccessorExcludes"] = -2005057536] = "MethodOrAccessorExcludes"; - TransformFlags3[TransformFlags3["PropertyExcludes"] = -2013249536] = "PropertyExcludes"; - TransformFlags3[TransformFlags3["ClassExcludes"] = -2147344384] = "ClassExcludes"; - TransformFlags3[TransformFlags3["ModuleExcludes"] = -1941676032] = "ModuleExcludes"; - TransformFlags3[TransformFlags3["TypeExcludes"] = -2] = "TypeExcludes"; - TransformFlags3[TransformFlags3["ObjectLiteralExcludes"] = -2147278848] = "ObjectLiteralExcludes"; - TransformFlags3[TransformFlags3["ArrayLiteralOrCallOrNewExcludes"] = -2147450880] = "ArrayLiteralOrCallOrNewExcludes"; - TransformFlags3[TransformFlags3["VariableDeclarationListExcludes"] = -2146893824] = "VariableDeclarationListExcludes"; - TransformFlags3[TransformFlags3["ParameterExcludes"] = -2147483648 /* NodeExcludes */] = "ParameterExcludes"; - TransformFlags3[TransformFlags3["CatchClauseExcludes"] = -2147418112] = "CatchClauseExcludes"; - TransformFlags3[TransformFlags3["BindingPatternExcludes"] = -2147450880] = "BindingPatternExcludes"; - TransformFlags3[TransformFlags3["ContainsLexicalThisOrSuper"] = 134234112] = "ContainsLexicalThisOrSuper"; - TransformFlags3[TransformFlags3["PropertyNamePropagatingFlags"] = 134234112] = "PropertyNamePropagatingFlags"; - return TransformFlags3; -})(TransformFlags || {}); -var SnippetKind = /* @__PURE__ */ ((SnippetKind3) => { - SnippetKind3[SnippetKind3["TabStop"] = 0] = "TabStop"; - SnippetKind3[SnippetKind3["Placeholder"] = 1] = "Placeholder"; - SnippetKind3[SnippetKind3["Choice"] = 2] = "Choice"; - SnippetKind3[SnippetKind3["Variable"] = 3] = "Variable"; - return SnippetKind3; -})(SnippetKind || {}); -var EmitFlags = /* @__PURE__ */ ((EmitFlags3) => { - EmitFlags3[EmitFlags3["None"] = 0] = "None"; - EmitFlags3[EmitFlags3["SingleLine"] = 1] = "SingleLine"; - EmitFlags3[EmitFlags3["MultiLine"] = 2] = "MultiLine"; - EmitFlags3[EmitFlags3["AdviseOnEmitNode"] = 4] = "AdviseOnEmitNode"; - EmitFlags3[EmitFlags3["NoSubstitution"] = 8] = "NoSubstitution"; - EmitFlags3[EmitFlags3["CapturesThis"] = 16] = "CapturesThis"; - EmitFlags3[EmitFlags3["NoLeadingSourceMap"] = 32] = "NoLeadingSourceMap"; - EmitFlags3[EmitFlags3["NoTrailingSourceMap"] = 64] = "NoTrailingSourceMap"; - EmitFlags3[EmitFlags3["NoSourceMap"] = 96] = "NoSourceMap"; - EmitFlags3[EmitFlags3["NoNestedSourceMaps"] = 128] = "NoNestedSourceMaps"; - EmitFlags3[EmitFlags3["NoTokenLeadingSourceMaps"] = 256] = "NoTokenLeadingSourceMaps"; - EmitFlags3[EmitFlags3["NoTokenTrailingSourceMaps"] = 512] = "NoTokenTrailingSourceMaps"; - EmitFlags3[EmitFlags3["NoTokenSourceMaps"] = 768] = "NoTokenSourceMaps"; - EmitFlags3[EmitFlags3["NoLeadingComments"] = 1024] = "NoLeadingComments"; - EmitFlags3[EmitFlags3["NoTrailingComments"] = 2048] = "NoTrailingComments"; - EmitFlags3[EmitFlags3["NoComments"] = 3072] = "NoComments"; - EmitFlags3[EmitFlags3["NoNestedComments"] = 4096] = "NoNestedComments"; - EmitFlags3[EmitFlags3["HelperName"] = 8192] = "HelperName"; - EmitFlags3[EmitFlags3["ExportName"] = 16384] = "ExportName"; - EmitFlags3[EmitFlags3["LocalName"] = 32768] = "LocalName"; - EmitFlags3[EmitFlags3["InternalName"] = 65536] = "InternalName"; - EmitFlags3[EmitFlags3["Indented"] = 131072] = "Indented"; - EmitFlags3[EmitFlags3["NoIndentation"] = 262144] = "NoIndentation"; - EmitFlags3[EmitFlags3["AsyncFunctionBody"] = 524288] = "AsyncFunctionBody"; - EmitFlags3[EmitFlags3["ReuseTempVariableScope"] = 1048576] = "ReuseTempVariableScope"; - EmitFlags3[EmitFlags3["CustomPrologue"] = 2097152] = "CustomPrologue"; - EmitFlags3[EmitFlags3["NoHoisting"] = 4194304] = "NoHoisting"; - EmitFlags3[EmitFlags3["Iterator"] = 8388608] = "Iterator"; - EmitFlags3[EmitFlags3["NoAsciiEscaping"] = 16777216] = "NoAsciiEscaping"; - return EmitFlags3; -})(EmitFlags || {}); -var commentPragmas = { - "reference": { - args: [ - { name: "types", optional: true, captureSpan: true }, - { name: "lib", optional: true, captureSpan: true }, - { name: "path", optional: true, captureSpan: true }, - { name: "no-default-lib", optional: true }, - { name: "resolution-mode", optional: true }, - { name: "preserve", optional: true } - ], - kind: 1 /* TripleSlashXML */ - }, - "amd-dependency": { - args: [{ name: "path" }, { name: "name", optional: true }], - kind: 1 /* TripleSlashXML */ - }, - "amd-module": { - args: [{ name: "name" }], - kind: 1 /* TripleSlashXML */ - }, - "ts-check": { - kind: 2 /* SingleLine */ - }, - "ts-nocheck": { - kind: 2 /* SingleLine */ - }, - "jsx": { - args: [{ name: "factory" }], - kind: 4 /* MultiLine */ - }, - "jsxfrag": { - args: [{ name: "factory" }], - kind: 4 /* MultiLine */ - }, - "jsximportsource": { - args: [{ name: "factory" }], - kind: 4 /* MultiLine */ - }, - "jsxruntime": { - args: [{ name: "factory" }], - kind: 4 /* MultiLine */ - } -}; - -// src/compiler/sys.ts -function generateDjb2Hash(data) { - let acc = 5381; - for (let i = 0; i < data.length; i++) { - acc = (acc << 5) + acc + data.charCodeAt(i); - } - return acc.toString(); -} -var PollingInterval = /* @__PURE__ */ ((PollingInterval3) => { - PollingInterval3[PollingInterval3["High"] = 2e3] = "High"; - PollingInterval3[PollingInterval3["Medium"] = 500] = "Medium"; - PollingInterval3[PollingInterval3["Low"] = 250] = "Low"; - return PollingInterval3; -})(PollingInterval || {}); -var missingFileModifiedTime = /* @__PURE__ */ new Date(0); -function getModifiedTime(host, fileName) { - return host.getModifiedTime(fileName) || missingFileModifiedTime; -} -function createPollingIntervalBasedLevels(levels) { - return { - [250 /* Low */]: levels.Low, - [500 /* Medium */]: levels.Medium, - [2e3 /* High */]: levels.High - }; -} -var defaultChunkLevels = { Low: 32, Medium: 64, High: 256 }; -var pollingChunkSize = createPollingIntervalBasedLevels(defaultChunkLevels); -var unchangedPollThresholds = createPollingIntervalBasedLevels(defaultChunkLevels); -function setCustomPollingValues(system) { - if (!system.getEnvironmentVariable) { - return; - } - const pollingIntervalChanged = setCustomLevels("TSC_WATCH_POLLINGINTERVAL", PollingInterval); - pollingChunkSize = getCustomPollingBasedLevels("TSC_WATCH_POLLINGCHUNKSIZE", defaultChunkLevels) || pollingChunkSize; - unchangedPollThresholds = getCustomPollingBasedLevels("TSC_WATCH_UNCHANGEDPOLLTHRESHOLDS", defaultChunkLevels) || unchangedPollThresholds; - function getLevel(envVar, level) { - return system.getEnvironmentVariable(`${envVar}_${level.toUpperCase()}`); - } - function getCustomLevels(baseVariable) { - let customLevels; - setCustomLevel("Low"); - setCustomLevel("Medium"); - setCustomLevel("High"); - return customLevels; - function setCustomLevel(level) { - const customLevel = getLevel(baseVariable, level); - if (customLevel) { - (customLevels || (customLevels = {}))[level] = Number(customLevel); - } - } - } - function setCustomLevels(baseVariable, levels) { - const customLevels = getCustomLevels(baseVariable); - if (customLevels) { - setLevel("Low"); - setLevel("Medium"); - setLevel("High"); - return true; - } - return false; - function setLevel(level) { - levels[level] = customLevels[level] || levels[level]; - } - } - function getCustomPollingBasedLevels(baseVariable, defaultLevels) { - const customLevels = getCustomLevels(baseVariable); - return (pollingIntervalChanged || customLevels) && createPollingIntervalBasedLevels(customLevels ? { ...defaultLevels, ...customLevels } : defaultLevels); - } -} -function pollWatchedFileQueue(host, queue, pollIndex, chunkSize, callbackOnWatchFileStat) { - let definedValueCopyToIndex = pollIndex; - for (let canVisit = queue.length; chunkSize && canVisit; nextPollIndex(), canVisit--) { - const watchedFile = queue[pollIndex]; - if (!watchedFile) { - continue; - } else if (watchedFile.isClosed) { - queue[pollIndex] = void 0; - continue; - } - chunkSize--; - const fileChanged = onWatchedFileStat(watchedFile, getModifiedTime(host, watchedFile.fileName)); - if (watchedFile.isClosed) { - queue[pollIndex] = void 0; - continue; - } - callbackOnWatchFileStat == null ? void 0 : callbackOnWatchFileStat(watchedFile, pollIndex, fileChanged); - if (queue[pollIndex]) { - if (definedValueCopyToIndex < pollIndex) { - queue[definedValueCopyToIndex] = watchedFile; - queue[pollIndex] = void 0; - } - definedValueCopyToIndex++; - } - } - return pollIndex; - function nextPollIndex() { - pollIndex++; - if (pollIndex === queue.length) { - if (definedValueCopyToIndex < pollIndex) { - queue.length = definedValueCopyToIndex; - } - pollIndex = 0; - definedValueCopyToIndex = 0; - } - } -} -function createDynamicPriorityPollingWatchFile(host) { - const watchedFiles = []; - const changedFilesInLastPoll = []; - const lowPollingIntervalQueue = createPollingIntervalQueue(250 /* Low */); - const mediumPollingIntervalQueue = createPollingIntervalQueue(500 /* Medium */); - const highPollingIntervalQueue = createPollingIntervalQueue(2e3 /* High */); - return watchFile2; - function watchFile2(fileName, callback, defaultPollingInterval) { - const file = { - fileName, - callback, - unchangedPolls: 0, - mtime: getModifiedTime(host, fileName) - }; - watchedFiles.push(file); - addToPollingIntervalQueue(file, defaultPollingInterval); - return { - close: () => { - file.isClosed = true; - unorderedRemoveItem(watchedFiles, file); - } - }; - } - function createPollingIntervalQueue(pollingInterval) { - const queue = []; - queue.pollingInterval = pollingInterval; - queue.pollIndex = 0; - queue.pollScheduled = false; - return queue; - } - function pollPollingIntervalQueue(_timeoutType, queue) { - queue.pollIndex = pollQueue(queue, queue.pollingInterval, queue.pollIndex, pollingChunkSize[queue.pollingInterval]); - if (queue.length) { - scheduleNextPoll(queue.pollingInterval); - } else { - Debug.assert(queue.pollIndex === 0); - queue.pollScheduled = false; - } - } - function pollLowPollingIntervalQueue(_timeoutType, queue) { - pollQueue( - changedFilesInLastPoll, - 250 /* Low */, - /*pollIndex*/ - 0, - changedFilesInLastPoll.length - ); - pollPollingIntervalQueue(_timeoutType, queue); - if (!queue.pollScheduled && changedFilesInLastPoll.length) { - scheduleNextPoll(250 /* Low */); - } - } - function pollQueue(queue, pollingInterval, pollIndex, chunkSize) { - return pollWatchedFileQueue( - host, - queue, - pollIndex, - chunkSize, - onWatchFileStat - ); - function onWatchFileStat(watchedFile, pollIndex2, fileChanged) { - if (fileChanged) { - watchedFile.unchangedPolls = 0; - if (queue !== changedFilesInLastPoll) { - queue[pollIndex2] = void 0; - addChangedFileToLowPollingIntervalQueue(watchedFile); - } - } else if (watchedFile.unchangedPolls !== unchangedPollThresholds[pollingInterval]) { - watchedFile.unchangedPolls++; - } else if (queue === changedFilesInLastPoll) { - watchedFile.unchangedPolls = 1; - queue[pollIndex2] = void 0; - addToPollingIntervalQueue(watchedFile, 250 /* Low */); - } else if (pollingInterval !== 2e3 /* High */) { - watchedFile.unchangedPolls++; - queue[pollIndex2] = void 0; - addToPollingIntervalQueue(watchedFile, pollingInterval === 250 /* Low */ ? 500 /* Medium */ : 2e3 /* High */); - } - } - } - function pollingIntervalQueue(pollingInterval) { - switch (pollingInterval) { - case 250 /* Low */: - return lowPollingIntervalQueue; - case 500 /* Medium */: - return mediumPollingIntervalQueue; - case 2e3 /* High */: - return highPollingIntervalQueue; - } - } - function addToPollingIntervalQueue(file, pollingInterval) { - pollingIntervalQueue(pollingInterval).push(file); - scheduleNextPollIfNotAlreadyScheduled(pollingInterval); - } - function addChangedFileToLowPollingIntervalQueue(file) { - changedFilesInLastPoll.push(file); - scheduleNextPollIfNotAlreadyScheduled(250 /* Low */); - } - function scheduleNextPollIfNotAlreadyScheduled(pollingInterval) { - if (!pollingIntervalQueue(pollingInterval).pollScheduled) { - scheduleNextPoll(pollingInterval); - } - } - function scheduleNextPoll(pollingInterval) { - pollingIntervalQueue(pollingInterval).pollScheduled = host.setTimeout(pollingInterval === 250 /* Low */ ? pollLowPollingIntervalQueue : pollPollingIntervalQueue, pollingInterval, pollingInterval === 250 /* Low */ ? "pollLowPollingIntervalQueue" : "pollPollingIntervalQueue", pollingIntervalQueue(pollingInterval)); - } -} -function createUseFsEventsOnParentDirectoryWatchFile(fsWatch, useCaseSensitiveFileNames2, getModifiedTime3, fsWatchWithTimestamp) { - const fileWatcherCallbacks = createMultiMap(); - const fileTimestamps = fsWatchWithTimestamp ? /* @__PURE__ */ new Map() : void 0; - const dirWatchers = /* @__PURE__ */ new Map(); - const toCanonicalName = createGetCanonicalFileName(useCaseSensitiveFileNames2); - return nonPollingWatchFile; - function nonPollingWatchFile(fileName, callback, _pollingInterval, fallbackOptions) { - const filePath = toCanonicalName(fileName); - if (fileWatcherCallbacks.add(filePath, callback).length === 1 && fileTimestamps) { - fileTimestamps.set(filePath, getModifiedTime3(fileName) || missingFileModifiedTime); - } - const dirPath = getDirectoryPath(filePath) || "."; - const watcher = dirWatchers.get(dirPath) || createDirectoryWatcher(getDirectoryPath(fileName) || ".", dirPath, fallbackOptions); - watcher.referenceCount++; - return { - close: () => { - if (watcher.referenceCount === 1) { - watcher.close(); - dirWatchers.delete(dirPath); - } else { - watcher.referenceCount--; - } - fileWatcherCallbacks.remove(filePath, callback); - } - }; - } - function createDirectoryWatcher(dirName, dirPath, fallbackOptions) { - const watcher = fsWatch( - dirName, - 1 /* Directory */, - (eventName, relativeFileName) => { - if (!isString(relativeFileName)) return; - const fileName = getNormalizedAbsolutePath(relativeFileName, dirName); - const filePath = toCanonicalName(fileName); - const callbacks = fileName && fileWatcherCallbacks.get(filePath); - if (callbacks) { - let currentModifiedTime; - let eventKind = 1 /* Changed */; - if (fileTimestamps) { - const existingTime = fileTimestamps.get(filePath); - if (eventName === "change") { - currentModifiedTime = getModifiedTime3(fileName) || missingFileModifiedTime; - if (currentModifiedTime.getTime() === existingTime.getTime()) return; - } - currentModifiedTime || (currentModifiedTime = getModifiedTime3(fileName) || missingFileModifiedTime); - fileTimestamps.set(filePath, currentModifiedTime); - if (existingTime === missingFileModifiedTime) eventKind = 0 /* Created */; - else if (currentModifiedTime === missingFileModifiedTime) eventKind = 2 /* Deleted */; - } - for (const fileCallback of callbacks) { - fileCallback(fileName, eventKind, currentModifiedTime); - } - } - }, - /*recursive*/ - false, - 500 /* Medium */, - fallbackOptions - ); - watcher.referenceCount = 0; - dirWatchers.set(dirPath, watcher); - return watcher; - } -} -function createFixedChunkSizePollingWatchFile(host) { - const watchedFiles = []; - let pollIndex = 0; - let pollScheduled; - return watchFile2; - function watchFile2(fileName, callback) { - const file = { - fileName, - callback, - mtime: getModifiedTime(host, fileName) - }; - watchedFiles.push(file); - scheduleNextPoll(); - return { - close: () => { - file.isClosed = true; - unorderedRemoveItem(watchedFiles, file); - } - }; - } - function pollQueue() { - pollScheduled = void 0; - pollIndex = pollWatchedFileQueue(host, watchedFiles, pollIndex, pollingChunkSize[250 /* Low */]); - scheduleNextPoll(); - } - function scheduleNextPoll() { - if (!watchedFiles.length || pollScheduled) return; - pollScheduled = host.setTimeout(pollQueue, 2e3 /* High */, "pollQueue"); - } -} -function createSingleWatcherPerName(cache, useCaseSensitiveFileNames2, name, callback, createWatcher) { - const toCanonicalFileName = createGetCanonicalFileName(useCaseSensitiveFileNames2); - const path = toCanonicalFileName(name); - const existing = cache.get(path); - if (existing) { - existing.callbacks.push(callback); - } else { - cache.set(path, { - watcher: createWatcher( - // Cant infer types correctly so lets satisfy checker - (param1, param2, param3) => { - var _a; - return (_a = cache.get(path)) == null ? void 0 : _a.callbacks.slice().forEach((cb) => cb(param1, param2, param3)); - } - ), - callbacks: [callback] - }); - } - return { - close: () => { - const watcher = cache.get(path); - if (!watcher) return; - if (!orderedRemoveItem(watcher.callbacks, callback) || watcher.callbacks.length) return; - cache.delete(path); - closeFileWatcherOf(watcher); - } - }; -} -function onWatchedFileStat(watchedFile, modifiedTime) { - const oldTime = watchedFile.mtime.getTime(); - const newTime = modifiedTime.getTime(); - if (oldTime !== newTime) { - watchedFile.mtime = modifiedTime; - watchedFile.callback(watchedFile.fileName, getFileWatcherEventKind(oldTime, newTime), modifiedTime); - return true; - } - return false; -} -function getFileWatcherEventKind(oldTime, newTime) { - return oldTime === 0 ? 0 /* Created */ : newTime === 0 ? 2 /* Deleted */ : 1 /* Changed */; -} -var ignoredPaths = ["/node_modules/.", "/.git", "/.#"]; -var curSysLog = noop; -function sysLog(s) { - return curSysLog(s); -} -function setSysLog(logger) { - curSysLog = logger; -} -function createDirectoryWatcherSupportingRecursive({ - watchDirectory, - useCaseSensitiveFileNames: useCaseSensitiveFileNames2, - getCurrentDirectory, - getAccessibleSortedChildDirectories, - fileSystemEntryExists, - realpath, - setTimeout: setTimeout2, - clearTimeout: clearTimeout2 -}) { - const cache = /* @__PURE__ */ new Map(); - const callbackCache = createMultiMap(); - const cacheToUpdateChildWatches = /* @__PURE__ */ new Map(); - let timerToUpdateChildWatches; - const filePathComparer = getStringComparer(!useCaseSensitiveFileNames2); - const toCanonicalFilePath = createGetCanonicalFileName(useCaseSensitiveFileNames2); - return (dirName, callback, recursive, options) => recursive ? createDirectoryWatcher(dirName, options, callback) : watchDirectory(dirName, callback, recursive, options); - function createDirectoryWatcher(dirName, options, callback, link) { - const dirPath = toCanonicalFilePath(dirName); - let directoryWatcher = cache.get(dirPath); - if (directoryWatcher) { - directoryWatcher.refCount++; - } else { - directoryWatcher = { - watcher: watchDirectory( - dirName, - (fileName) => { - var _a; - if (isIgnoredPath(fileName, options)) return; - if (options == null ? void 0 : options.synchronousWatchDirectory) { - if (!((_a = cache.get(dirPath)) == null ? void 0 : _a.targetWatcher)) invokeCallbacks(dirName, dirPath, fileName); - updateChildWatches(dirName, dirPath, options); - } else { - nonSyncUpdateChildWatches(dirName, dirPath, fileName, options); - } - }, - /*recursive*/ - false, - options - ), - refCount: 1, - childWatches: emptyArray, - targetWatcher: void 0, - links: void 0 - }; - cache.set(dirPath, directoryWatcher); - updateChildWatches(dirName, dirPath, options); - } - if (link) (directoryWatcher.links ?? (directoryWatcher.links = /* @__PURE__ */ new Set())).add(link); - const callbackToAdd = callback && { dirName, callback }; - if (callbackToAdd) { - callbackCache.add(dirPath, callbackToAdd); - } - return { - dirName, - close: () => { - var _a; - const directoryWatcher2 = Debug.checkDefined(cache.get(dirPath)); - if (callbackToAdd) callbackCache.remove(dirPath, callbackToAdd); - if (link) (_a = directoryWatcher2.links) == null ? void 0 : _a.delete(link); - directoryWatcher2.refCount--; - if (directoryWatcher2.refCount) return; - cache.delete(dirPath); - directoryWatcher2.links = void 0; - closeFileWatcherOf(directoryWatcher2); - closeTargetWatcher(directoryWatcher2); - directoryWatcher2.childWatches.forEach(closeFileWatcher); - } - }; - } - function invokeCallbacks(dirName, dirPath, fileNameOrInvokeMap, fileNames) { - var _a, _b; - let fileName; - let invokeMap; - if (isString(fileNameOrInvokeMap)) { - fileName = fileNameOrInvokeMap; - } else { - invokeMap = fileNameOrInvokeMap; - } - callbackCache.forEach((callbacks, rootDirName) => { - if (invokeMap && invokeMap.get(rootDirName) === true) return; - if (rootDirName === dirPath || startsWith(dirPath, rootDirName) && dirPath[rootDirName.length] === directorySeparator) { - if (invokeMap) { - if (fileNames) { - const existing = invokeMap.get(rootDirName); - if (existing) { - existing.push(...fileNames); - } else { - invokeMap.set(rootDirName, fileNames.slice()); - } - } else { - invokeMap.set(rootDirName, true); - } - } else { - callbacks.forEach(({ callback }) => callback(fileName)); - } - } - }); - (_b = (_a = cache.get(dirPath)) == null ? void 0 : _a.links) == null ? void 0 : _b.forEach((link) => { - const toPathInLink = (fileName2) => combinePaths(link, getRelativePathFromDirectory(dirName, fileName2, toCanonicalFilePath)); - if (invokeMap) { - invokeCallbacks(link, toCanonicalFilePath(link), invokeMap, fileNames == null ? void 0 : fileNames.map(toPathInLink)); - } else { - invokeCallbacks(link, toCanonicalFilePath(link), toPathInLink(fileName)); - } - }); - } - function nonSyncUpdateChildWatches(dirName, dirPath, fileName, options) { - const parentWatcher = cache.get(dirPath); - if (parentWatcher && fileSystemEntryExists(dirName, 1 /* Directory */)) { - scheduleUpdateChildWatches(dirName, dirPath, fileName, options); - return; - } - invokeCallbacks(dirName, dirPath, fileName); - closeTargetWatcher(parentWatcher); - removeChildWatches(parentWatcher); - } - function scheduleUpdateChildWatches(dirName, dirPath, fileName, options) { - const existing = cacheToUpdateChildWatches.get(dirPath); - if (existing) { - existing.fileNames.push(fileName); - } else { - cacheToUpdateChildWatches.set(dirPath, { dirName, options, fileNames: [fileName] }); - } - if (timerToUpdateChildWatches) { - clearTimeout2(timerToUpdateChildWatches); - timerToUpdateChildWatches = void 0; - } - timerToUpdateChildWatches = setTimeout2(onTimerToUpdateChildWatches, 1e3, "timerToUpdateChildWatches"); - } - function onTimerToUpdateChildWatches() { - var _a; - timerToUpdateChildWatches = void 0; - sysLog(`sysLog:: onTimerToUpdateChildWatches:: ${cacheToUpdateChildWatches.size}`); - const start = timestamp(); - const invokeMap = /* @__PURE__ */ new Map(); - while (!timerToUpdateChildWatches && cacheToUpdateChildWatches.size) { - const result = cacheToUpdateChildWatches.entries().next(); - Debug.assert(!result.done); - const { value: [dirPath, { dirName, options, fileNames }] } = result; - cacheToUpdateChildWatches.delete(dirPath); - const hasChanges = updateChildWatches(dirName, dirPath, options); - if (!((_a = cache.get(dirPath)) == null ? void 0 : _a.targetWatcher)) invokeCallbacks(dirName, dirPath, invokeMap, hasChanges ? void 0 : fileNames); - } - sysLog(`sysLog:: invokingWatchers:: Elapsed:: ${timestamp() - start}ms:: ${cacheToUpdateChildWatches.size}`); - callbackCache.forEach((callbacks, rootDirName) => { - const existing = invokeMap.get(rootDirName); - if (existing) { - callbacks.forEach(({ callback, dirName }) => { - if (isArray(existing)) { - existing.forEach(callback); - } else { - callback(dirName); - } - }); - } - }); - const elapsed = timestamp() - start; - sysLog(`sysLog:: Elapsed:: ${elapsed}ms:: onTimerToUpdateChildWatches:: ${cacheToUpdateChildWatches.size} ${timerToUpdateChildWatches}`); - } - function removeChildWatches(parentWatcher) { - if (!parentWatcher) return; - const existingChildWatches = parentWatcher.childWatches; - parentWatcher.childWatches = emptyArray; - for (const childWatcher of existingChildWatches) { - childWatcher.close(); - removeChildWatches(cache.get(toCanonicalFilePath(childWatcher.dirName))); - } - } - function closeTargetWatcher(watcher) { - if (watcher == null ? void 0 : watcher.targetWatcher) { - watcher.targetWatcher.close(); - watcher.targetWatcher = void 0; - } - } - function updateChildWatches(parentDir, parentDirPath, options) { - const parentWatcher = cache.get(parentDirPath); - if (!parentWatcher) return false; - const target = normalizePath(realpath(parentDir)); - let hasChanges; - let newChildWatches; - if (filePathComparer(target, parentDir) === 0 /* EqualTo */) { - hasChanges = enumerateInsertsAndDeletes( - fileSystemEntryExists(parentDir, 1 /* Directory */) ? mapDefined(getAccessibleSortedChildDirectories(parentDir), (child) => { - const childFullName = getNormalizedAbsolutePath(child, parentDir); - return !isIgnoredPath(childFullName, options) && filePathComparer(childFullName, normalizePath(realpath(childFullName))) === 0 /* EqualTo */ ? childFullName : void 0; - }) : emptyArray, - parentWatcher.childWatches, - (child, childWatcher) => filePathComparer(child, childWatcher.dirName), - createAndAddChildDirectoryWatcher, - closeFileWatcher, - addChildDirectoryWatcher - ); - } else if (parentWatcher.targetWatcher && filePathComparer(target, parentWatcher.targetWatcher.dirName) === 0 /* EqualTo */) { - hasChanges = false; - Debug.assert(parentWatcher.childWatches === emptyArray); - } else { - closeTargetWatcher(parentWatcher); - parentWatcher.targetWatcher = createDirectoryWatcher( - target, - options, - /*callback*/ - void 0, - parentDir - ); - parentWatcher.childWatches.forEach(closeFileWatcher); - hasChanges = true; - } - parentWatcher.childWatches = newChildWatches || emptyArray; - return hasChanges; - function createAndAddChildDirectoryWatcher(childName) { - const result = createDirectoryWatcher(childName, options); - addChildDirectoryWatcher(result); - } - function addChildDirectoryWatcher(childWatcher) { - (newChildWatches || (newChildWatches = [])).push(childWatcher); - } - } - function isIgnoredPath(path, options) { - return some(ignoredPaths, (searchPath) => isInPath(path, searchPath)) || isIgnoredByWatchOptions(path, options, useCaseSensitiveFileNames2, getCurrentDirectory); - } - function isInPath(path, searchPath) { - if (path.includes(searchPath)) return true; - if (useCaseSensitiveFileNames2) return false; - return toCanonicalFilePath(path).includes(searchPath); - } -} -function createFileWatcherCallback(callback) { - return (_fileName, eventKind, modifiedTime) => callback(eventKind === 1 /* Changed */ ? "change" : "rename", "", modifiedTime); -} -function createFsWatchCallbackForFileWatcherCallback(fileName, callback, getModifiedTime3) { - return (eventName, _relativeFileName, modifiedTime) => { - if (eventName === "rename") { - modifiedTime || (modifiedTime = getModifiedTime3(fileName) || missingFileModifiedTime); - callback(fileName, modifiedTime !== missingFileModifiedTime ? 0 /* Created */ : 2 /* Deleted */, modifiedTime); - } else { - callback(fileName, 1 /* Changed */, modifiedTime); - } - }; -} -function isIgnoredByWatchOptions(pathToCheck, options, useCaseSensitiveFileNames2, getCurrentDirectory) { - return ((options == null ? void 0 : options.excludeDirectories) || (options == null ? void 0 : options.excludeFiles)) && (matchesExclude(pathToCheck, options == null ? void 0 : options.excludeFiles, useCaseSensitiveFileNames2, getCurrentDirectory()) || matchesExclude(pathToCheck, options == null ? void 0 : options.excludeDirectories, useCaseSensitiveFileNames2, getCurrentDirectory())); -} -function createFsWatchCallbackForDirectoryWatcherCallback(directoryName, callback, options, useCaseSensitiveFileNames2, getCurrentDirectory) { - return (eventName, relativeFileName) => { - if (eventName === "rename") { - const fileName = !relativeFileName ? directoryName : normalizePath(combinePaths(directoryName, relativeFileName)); - if (!relativeFileName || !isIgnoredByWatchOptions(fileName, options, useCaseSensitiveFileNames2, getCurrentDirectory)) { - callback(fileName); - } - } - }; -} -function createSystemWatchFunctions({ - pollingWatchFileWorker, - getModifiedTime: getModifiedTime3, - setTimeout: setTimeout2, - clearTimeout: clearTimeout2, - fsWatchWorker, - fileSystemEntryExists, - useCaseSensitiveFileNames: useCaseSensitiveFileNames2, - getCurrentDirectory, - fsSupportsRecursiveFsWatch, - getAccessibleSortedChildDirectories, - realpath, - tscWatchFile, - useNonPollingWatchers, - tscWatchDirectory, - inodeWatching, - fsWatchWithTimestamp, - sysLog: sysLog2 -}) { - const pollingWatches = /* @__PURE__ */ new Map(); - const fsWatches = /* @__PURE__ */ new Map(); - const fsWatchesRecursive = /* @__PURE__ */ new Map(); - let dynamicPollingWatchFile; - let fixedChunkSizePollingWatchFile; - let nonPollingWatchFile; - let hostRecursiveDirectoryWatcher; - let hitSystemWatcherLimit = false; - return { - watchFile: watchFile2, - watchDirectory - }; - function watchFile2(fileName, callback, pollingInterval, options) { - options = updateOptionsForWatchFile(options, useNonPollingWatchers); - const watchFileKind = Debug.checkDefined(options.watchFile); - switch (watchFileKind) { - case 0 /* FixedPollingInterval */: - return pollingWatchFile( - fileName, - callback, - 250 /* Low */, - /*options*/ - void 0 - ); - case 1 /* PriorityPollingInterval */: - return pollingWatchFile( - fileName, - callback, - pollingInterval, - /*options*/ - void 0 - ); - case 2 /* DynamicPriorityPolling */: - return ensureDynamicPollingWatchFile()( - fileName, - callback, - pollingInterval, - /*options*/ - void 0 - ); - case 3 /* FixedChunkSizePolling */: - return ensureFixedChunkSizePollingWatchFile()( - fileName, - callback, - /* pollingInterval */ - void 0, - /*options*/ - void 0 - ); - case 4 /* UseFsEvents */: - return fsWatch( - fileName, - 0 /* File */, - createFsWatchCallbackForFileWatcherCallback(fileName, callback, getModifiedTime3), - /*recursive*/ - false, - pollingInterval, - getFallbackOptions(options) - ); - case 5 /* UseFsEventsOnParentDirectory */: - if (!nonPollingWatchFile) { - nonPollingWatchFile = createUseFsEventsOnParentDirectoryWatchFile(fsWatch, useCaseSensitiveFileNames2, getModifiedTime3, fsWatchWithTimestamp); - } - return nonPollingWatchFile(fileName, callback, pollingInterval, getFallbackOptions(options)); - default: - Debug.assertNever(watchFileKind); - } - } - function ensureDynamicPollingWatchFile() { - return dynamicPollingWatchFile || (dynamicPollingWatchFile = createDynamicPriorityPollingWatchFile({ getModifiedTime: getModifiedTime3, setTimeout: setTimeout2 })); - } - function ensureFixedChunkSizePollingWatchFile() { - return fixedChunkSizePollingWatchFile || (fixedChunkSizePollingWatchFile = createFixedChunkSizePollingWatchFile({ getModifiedTime: getModifiedTime3, setTimeout: setTimeout2 })); - } - function updateOptionsForWatchFile(options, useNonPollingWatchers2) { - if (options && options.watchFile !== void 0) return options; - switch (tscWatchFile) { - case "PriorityPollingInterval": - return { watchFile: 1 /* PriorityPollingInterval */ }; - case "DynamicPriorityPolling": - return { watchFile: 2 /* DynamicPriorityPolling */ }; - case "UseFsEvents": - return generateWatchFileOptions(4 /* UseFsEvents */, 1 /* PriorityInterval */, options); - case "UseFsEventsWithFallbackDynamicPolling": - return generateWatchFileOptions(4 /* UseFsEvents */, 2 /* DynamicPriority */, options); - case "UseFsEventsOnParentDirectory": - useNonPollingWatchers2 = true; - default: - return useNonPollingWatchers2 ? ( - // Use notifications from FS to watch with falling back to fs.watchFile - generateWatchFileOptions(5 /* UseFsEventsOnParentDirectory */, 1 /* PriorityInterval */, options) - ) : ( - // Default to using fs events - { watchFile: 4 /* UseFsEvents */ } - ); - } - } - function generateWatchFileOptions(watchFile3, fallbackPolling, options) { - const defaultFallbackPolling = options == null ? void 0 : options.fallbackPolling; - return { - watchFile: watchFile3, - fallbackPolling: defaultFallbackPolling === void 0 ? fallbackPolling : defaultFallbackPolling - }; - } - function watchDirectory(directoryName, callback, recursive, options) { - if (fsSupportsRecursiveFsWatch) { - return fsWatch( - directoryName, - 1 /* Directory */, - createFsWatchCallbackForDirectoryWatcherCallback(directoryName, callback, options, useCaseSensitiveFileNames2, getCurrentDirectory), - recursive, - 500 /* Medium */, - getFallbackOptions(options) - ); - } - if (!hostRecursiveDirectoryWatcher) { - hostRecursiveDirectoryWatcher = createDirectoryWatcherSupportingRecursive({ - useCaseSensitiveFileNames: useCaseSensitiveFileNames2, - getCurrentDirectory, - fileSystemEntryExists, - getAccessibleSortedChildDirectories, - watchDirectory: nonRecursiveWatchDirectory, - realpath, - setTimeout: setTimeout2, - clearTimeout: clearTimeout2 - }); - } - return hostRecursiveDirectoryWatcher(directoryName, callback, recursive, options); - } - function nonRecursiveWatchDirectory(directoryName, callback, recursive, options) { - Debug.assert(!recursive); - const watchDirectoryOptions = updateOptionsForWatchDirectory(options); - const watchDirectoryKind = Debug.checkDefined(watchDirectoryOptions.watchDirectory); - switch (watchDirectoryKind) { - case 1 /* FixedPollingInterval */: - return pollingWatchFile( - directoryName, - () => callback(directoryName), - 500 /* Medium */, - /*options*/ - void 0 - ); - case 2 /* DynamicPriorityPolling */: - return ensureDynamicPollingWatchFile()( - directoryName, - () => callback(directoryName), - 500 /* Medium */, - /*options*/ - void 0 - ); - case 3 /* FixedChunkSizePolling */: - return ensureFixedChunkSizePollingWatchFile()( - directoryName, - () => callback(directoryName), - /* pollingInterval */ - void 0, - /*options*/ - void 0 - ); - case 0 /* UseFsEvents */: - return fsWatch( - directoryName, - 1 /* Directory */, - createFsWatchCallbackForDirectoryWatcherCallback(directoryName, callback, options, useCaseSensitiveFileNames2, getCurrentDirectory), - recursive, - 500 /* Medium */, - getFallbackOptions(watchDirectoryOptions) - ); - default: - Debug.assertNever(watchDirectoryKind); - } - } - function updateOptionsForWatchDirectory(options) { - if (options && options.watchDirectory !== void 0) return options; - switch (tscWatchDirectory) { - case "RecursiveDirectoryUsingFsWatchFile": - return { watchDirectory: 1 /* FixedPollingInterval */ }; - case "RecursiveDirectoryUsingDynamicPriorityPolling": - return { watchDirectory: 2 /* DynamicPriorityPolling */ }; - default: - const defaultFallbackPolling = options == null ? void 0 : options.fallbackPolling; - return { - watchDirectory: 0 /* UseFsEvents */, - fallbackPolling: defaultFallbackPolling !== void 0 ? defaultFallbackPolling : void 0 - }; - } - } - function pollingWatchFile(fileName, callback, pollingInterval, options) { - return createSingleWatcherPerName( - pollingWatches, - useCaseSensitiveFileNames2, - fileName, - callback, - (cb) => pollingWatchFileWorker(fileName, cb, pollingInterval, options) - ); - } - function fsWatch(fileOrDirectory, entryKind, callback, recursive, fallbackPollingInterval, fallbackOptions) { - return createSingleWatcherPerName( - recursive ? fsWatchesRecursive : fsWatches, - useCaseSensitiveFileNames2, - fileOrDirectory, - callback, - (cb) => fsWatchHandlingExistenceOnHost(fileOrDirectory, entryKind, cb, recursive, fallbackPollingInterval, fallbackOptions) - ); - } - function fsWatchHandlingExistenceOnHost(fileOrDirectory, entryKind, callback, recursive, fallbackPollingInterval, fallbackOptions) { - let lastDirectoryPartWithDirectorySeparator; - let lastDirectoryPart; - if (inodeWatching) { - lastDirectoryPartWithDirectorySeparator = fileOrDirectory.substring(fileOrDirectory.lastIndexOf(directorySeparator)); - lastDirectoryPart = lastDirectoryPartWithDirectorySeparator.slice(directorySeparator.length); - } - let watcher = !fileSystemEntryExists(fileOrDirectory, entryKind) ? watchMissingFileSystemEntry() : watchPresentFileSystemEntry(); - return { - close: () => { - if (watcher) { - watcher.close(); - watcher = void 0; - } - } - }; - function updateWatcher(createWatcher) { - if (watcher) { - sysLog2(`sysLog:: ${fileOrDirectory}:: Changing watcher to ${createWatcher === watchPresentFileSystemEntry ? "Present" : "Missing"}FileSystemEntryWatcher`); - watcher.close(); - watcher = createWatcher(); - } - } - function watchPresentFileSystemEntry() { - if (hitSystemWatcherLimit) { - sysLog2(`sysLog:: ${fileOrDirectory}:: Defaulting to watchFile`); - return watchPresentFileSystemEntryWithFsWatchFile(); - } - try { - const presentWatcher = (entryKind === 1 /* Directory */ || !fsWatchWithTimestamp ? fsWatchWorker : fsWatchWorkerHandlingTimestamp)( - fileOrDirectory, - recursive, - inodeWatching ? callbackChangingToMissingFileSystemEntry : callback - ); - presentWatcher.on("error", () => { - callback("rename", ""); - updateWatcher(watchMissingFileSystemEntry); - }); - return presentWatcher; - } catch (e) { - hitSystemWatcherLimit || (hitSystemWatcherLimit = e.code === "ENOSPC"); - sysLog2(`sysLog:: ${fileOrDirectory}:: Changing to watchFile`); - return watchPresentFileSystemEntryWithFsWatchFile(); - } - } - function callbackChangingToMissingFileSystemEntry(event, relativeName) { - let originalRelativeName; - if (relativeName && endsWith(relativeName, "~")) { - originalRelativeName = relativeName; - relativeName = relativeName.slice(0, relativeName.length - 1); - } - if (event === "rename" && (!relativeName || relativeName === lastDirectoryPart || endsWith(relativeName, lastDirectoryPartWithDirectorySeparator))) { - const modifiedTime = getModifiedTime3(fileOrDirectory) || missingFileModifiedTime; - if (originalRelativeName) callback(event, originalRelativeName, modifiedTime); - callback(event, relativeName, modifiedTime); - if (inodeWatching) { - updateWatcher(modifiedTime === missingFileModifiedTime ? watchMissingFileSystemEntry : watchPresentFileSystemEntry); - } else if (modifiedTime === missingFileModifiedTime) { - updateWatcher(watchMissingFileSystemEntry); - } - } else { - if (originalRelativeName) callback(event, originalRelativeName); - callback(event, relativeName); - } - } - function watchPresentFileSystemEntryWithFsWatchFile() { - return watchFile2( - fileOrDirectory, - createFileWatcherCallback(callback), - fallbackPollingInterval, - fallbackOptions - ); - } - function watchMissingFileSystemEntry() { - return watchFile2( - fileOrDirectory, - (_fileName, eventKind, modifiedTime) => { - if (eventKind === 0 /* Created */) { - modifiedTime || (modifiedTime = getModifiedTime3(fileOrDirectory) || missingFileModifiedTime); - if (modifiedTime !== missingFileModifiedTime) { - callback("rename", "", modifiedTime); - updateWatcher(watchPresentFileSystemEntry); - } - } - }, - fallbackPollingInterval, - fallbackOptions - ); - } - } - function fsWatchWorkerHandlingTimestamp(fileOrDirectory, recursive, callback) { - let modifiedTime = getModifiedTime3(fileOrDirectory) || missingFileModifiedTime; - return fsWatchWorker(fileOrDirectory, recursive, (eventName, relativeFileName, currentModifiedTime) => { - if (eventName === "change") { - currentModifiedTime || (currentModifiedTime = getModifiedTime3(fileOrDirectory) || missingFileModifiedTime); - if (currentModifiedTime.getTime() === modifiedTime.getTime()) return; - } - modifiedTime = currentModifiedTime || getModifiedTime3(fileOrDirectory) || missingFileModifiedTime; - callback(eventName, relativeFileName, modifiedTime); - }); - } -} -function patchWriteFileEnsuringDirectory(sys2) { - const originalWriteFile = sys2.writeFile; - sys2.writeFile = (path, data, writeBom) => writeFileEnsuringDirectories( - path, - data, - !!writeBom, - (path2, data2, writeByteOrderMark) => originalWriteFile.call(sys2, path2, data2, writeByteOrderMark), - (path2) => sys2.createDirectory(path2), - (path2) => sys2.directoryExists(path2) - ); -} -var sys = (() => { - const byteOrderMarkIndicator = "\uFEFF"; - function getNodeSystem() { - const nativePattern = /^native |^\([^)]+\)$|^(?:internal[\\/]|[\w\s]+(?:\.js)?$)/; - const _fs = require("fs"); - const _path = require("path"); - const _os = require("os"); - let _crypto; - try { - _crypto = require("crypto"); - } catch { - _crypto = void 0; - } - let activeSession; - let profilePath = "./profile.cpuprofile"; - const isMacOs = process.platform === "darwin"; - const isLinuxOrMacOs = process.platform === "linux" || isMacOs; - const platform = _os.platform(); - const useCaseSensitiveFileNames2 = isFileSystemCaseSensitive(); - const fsRealpath = !!_fs.realpathSync.native ? process.platform === "win32" ? fsRealPathHandlingLongPath : _fs.realpathSync.native : _fs.realpathSync; - const executingFilePath = __filename.endsWith("sys.js") ? _path.join(_path.dirname(__dirname), "__fake__.js") : __filename; - const fsSupportsRecursiveFsWatch = process.platform === "win32" || isMacOs; - const getCurrentDirectory = memoize(() => process.cwd()); - const { watchFile: watchFile2, watchDirectory } = createSystemWatchFunctions({ - pollingWatchFileWorker: fsWatchFileWorker, - getModifiedTime: getModifiedTime3, - setTimeout, - clearTimeout, - fsWatchWorker, - useCaseSensitiveFileNames: useCaseSensitiveFileNames2, - getCurrentDirectory, - fileSystemEntryExists, - // Node 4.0 `fs.watch` function supports the "recursive" option on both OSX and Windows - // (ref: https://github.com/nodejs/node/pull/2649 and https://github.com/Microsoft/TypeScript/issues/4643) - fsSupportsRecursiveFsWatch, - getAccessibleSortedChildDirectories: (path) => getAccessibleFileSystemEntries(path).directories, - realpath, - tscWatchFile: process.env.TSC_WATCHFILE, - useNonPollingWatchers: !!process.env.TSC_NONPOLLING_WATCHER, - tscWatchDirectory: process.env.TSC_WATCHDIRECTORY, - inodeWatching: isLinuxOrMacOs, - fsWatchWithTimestamp: isMacOs, - sysLog - }); - const nodeSystem = { - args: process.argv.slice(2), - newLine: _os.EOL, - useCaseSensitiveFileNames: useCaseSensitiveFileNames2, - write(s) { - process.stdout.write(s); - }, - getWidthOfTerminal() { - return process.stdout.columns; - }, - writeOutputIsTTY() { - return process.stdout.isTTY; - }, - readFile, - writeFile: writeFile2, - watchFile: watchFile2, - watchDirectory, - preferNonRecursiveWatch: !fsSupportsRecursiveFsWatch, - resolvePath: (path) => _path.resolve(path), - fileExists, - directoryExists, - getAccessibleFileSystemEntries, - createDirectory(directoryName) { - if (!nodeSystem.directoryExists(directoryName)) { - try { - _fs.mkdirSync(directoryName); - } catch (e) { - if (e.code !== "EEXIST") { - throw e; - } - } - } - }, - getExecutingFilePath() { - return executingFilePath; - }, - getCurrentDirectory, - getDirectories, - getEnvironmentVariable(name) { - return process.env[name] || ""; - }, - readDirectory, - getModifiedTime: getModifiedTime3, - setModifiedTime, - deleteFile, - createHash: _crypto ? createSHA256Hash : generateDjb2Hash, - createSHA256Hash: _crypto ? createSHA256Hash : void 0, - getMemoryUsage() { - if (global.gc) { - global.gc(); - } - return process.memoryUsage().heapUsed; - }, - getFileSize(path) { - try { - const stat = statSync(path); - if (stat == null ? void 0 : stat.isFile()) { - return stat.size; - } - } catch { - } - return 0; - }, - exit(exitCode) { - disableCPUProfiler(() => process.exit(exitCode)); - }, - enableCPUProfiler, - disableCPUProfiler, - cpuProfilingEnabled: () => !!activeSession || contains(process.execArgv, "--cpu-prof") || contains(process.execArgv, "--prof"), - realpath, - debugMode: !!process.env.NODE_INSPECTOR_IPC || !!process.env.VSCODE_INSPECTOR_OPTIONS || some(process.execArgv, (arg) => /^--(?:inspect|debug)(?:-brk)?(?:=\d+)?$/i.test(arg)) || !!process.recordreplay, - tryEnableSourceMapsForHost() { - try { - require("source-map-support").install(); - } catch { - } - }, - setTimeout, - clearTimeout, - clearScreen: () => { - process.stdout.write("\x1B[2J\x1B[3J\x1B[H"); - }, - setBlocking: () => { - var _a; - const handle = (_a = process.stdout) == null ? void 0 : _a._handle; - if (handle && handle.setBlocking) { - handle.setBlocking(true); - } - }, - base64decode: (input) => Buffer.from(input, "base64").toString("utf8"), - base64encode: (input) => Buffer.from(input).toString("base64"), - require: (baseDir, moduleName) => { - try { - const modulePath = resolveJSModule(moduleName, baseDir, nodeSystem); - return { module: require(modulePath), modulePath, error: void 0 }; - } catch (error) { - return { module: void 0, modulePath: void 0, error }; - } - } - }; - return nodeSystem; - function statSync(path) { - return _fs.statSync(path, { throwIfNoEntry: false }); - } - function enableCPUProfiler(path, cb) { - if (activeSession) { - cb(); - return false; - } - const inspector = require("inspector"); - if (!inspector || !inspector.Session) { - cb(); - return false; - } - const session = new inspector.Session(); - session.connect(); - session.post("Profiler.enable", () => { - session.post("Profiler.start", () => { - activeSession = session; - profilePath = path; - cb(); - }); - }); - return true; - } - function cleanupPaths(profile) { - let externalFileCounter = 0; - const remappedPaths = /* @__PURE__ */ new Map(); - const normalizedDir = normalizeSlashes(_path.dirname(executingFilePath)); - const fileUrlRoot = `file://${getRootLength(normalizedDir) === 1 ? "" : "/"}${normalizedDir}`; - for (const node of profile.nodes) { - if (node.callFrame.url) { - const url = normalizeSlashes(node.callFrame.url); - if (containsPath(fileUrlRoot, url, useCaseSensitiveFileNames2)) { - node.callFrame.url = getRelativePathToDirectoryOrUrl( - fileUrlRoot, - url, - fileUrlRoot, - createGetCanonicalFileName(useCaseSensitiveFileNames2), - /*isAbsolutePathAnUrl*/ - true - ); - } else if (!nativePattern.test(url)) { - node.callFrame.url = (remappedPaths.has(url) ? remappedPaths : remappedPaths.set(url, `external${externalFileCounter}.js`)).get(url); - externalFileCounter++; - } - } - } - return profile; - } - function disableCPUProfiler(cb) { - if (activeSession && activeSession !== "stopping") { - const s = activeSession; - activeSession.post("Profiler.stop", (err, { profile }) => { - var _a; - if (!err) { - try { - if ((_a = statSync(profilePath)) == null ? void 0 : _a.isDirectory()) { - profilePath = _path.join(profilePath, `${(/* @__PURE__ */ new Date()).toISOString().replace(/:/g, "-")}+P${process.pid}.cpuprofile`); - } - } catch { - } - try { - _fs.mkdirSync(_path.dirname(profilePath), { recursive: true }); - } catch { - } - _fs.writeFileSync(profilePath, JSON.stringify(cleanupPaths(profile))); - } - activeSession = void 0; - s.disconnect(); - cb(); - }); - activeSession = "stopping"; - return true; - } else { - cb(); - return false; - } - } - function isFileSystemCaseSensitive() { - if (platform === "win32" || platform === "win64") { - return false; - } - return !fileExists(swapCase(__filename)); - } - function swapCase(s) { - return s.replace(/\w/g, (ch) => { - const up = ch.toUpperCase(); - return ch === up ? ch.toLowerCase() : up; - }); - } - function fsWatchFileWorker(fileName, callback, pollingInterval) { - _fs.watchFile(fileName, { persistent: true, interval: pollingInterval }, fileChanged); - let eventKind; - return { - close: () => _fs.unwatchFile(fileName, fileChanged) - }; - function fileChanged(curr, prev) { - const isPreviouslyDeleted = +prev.mtime === 0 || eventKind === 2 /* Deleted */; - if (+curr.mtime === 0) { - if (isPreviouslyDeleted) { - return; - } - eventKind = 2 /* Deleted */; - } else if (isPreviouslyDeleted) { - eventKind = 0 /* Created */; - } else if (+curr.mtime === +prev.mtime) { - return; - } else { - eventKind = 1 /* Changed */; - } - callback(fileName, eventKind, curr.mtime); - } - } - function fsWatchWorker(fileOrDirectory, recursive, callback) { - return _fs.watch( - fileOrDirectory, - fsSupportsRecursiveFsWatch ? { persistent: true, recursive: !!recursive } : { persistent: true }, - callback - ); - } - function readFile(fileName, _encoding) { - let buffer; - try { - buffer = _fs.readFileSync(fileName); - } catch { - return void 0; - } - let len = buffer.length; - if (len >= 2 && buffer[0] === 254 && buffer[1] === 255) { - len &= ~1; - for (let i = 0; i < len; i += 2) { - const temp = buffer[i]; - buffer[i] = buffer[i + 1]; - buffer[i + 1] = temp; - } - return buffer.toString("utf16le", 2); - } - if (len >= 2 && buffer[0] === 255 && buffer[1] === 254) { - return buffer.toString("utf16le", 2); - } - if (len >= 3 && buffer[0] === 239 && buffer[1] === 187 && buffer[2] === 191) { - return buffer.toString("utf8", 3); - } - return buffer.toString("utf8"); - } - function writeFile2(fileName, data, writeByteOrderMark) { - if (writeByteOrderMark) { - data = byteOrderMarkIndicator + data; - } - let fd; - try { - fd = _fs.openSync(fileName, "w"); - _fs.writeSync( - fd, - data, - /*position*/ - void 0, - "utf8" - ); - } finally { - if (fd !== void 0) { - _fs.closeSync(fd); - } - } - } - function getAccessibleFileSystemEntries(path) { - try { - const entries = _fs.readdirSync(path || ".", { withFileTypes: true }); - const files = []; - const directories = []; - for (const dirent of entries) { - const entry = typeof dirent === "string" ? dirent : dirent.name; - if (entry === "." || entry === "..") { - continue; - } - let stat; - if (typeof dirent === "string" || dirent.isSymbolicLink()) { - const name = combinePaths(path, entry); - try { - stat = statSync(name); - if (!stat) { - continue; - } - } catch { - continue; - } - } else { - stat = dirent; - } - if (stat.isFile()) { - files.push(entry); - } else if (stat.isDirectory()) { - directories.push(entry); - } - } - files.sort(); - directories.sort(); - return { files, directories }; - } catch { - return emptyFileSystemEntries; - } - } - function readDirectory(path, extensions, excludes, includes, depth) { - return matchFiles(path, extensions, excludes, includes, useCaseSensitiveFileNames2, process.cwd(), depth, getAccessibleFileSystemEntries, realpath); - } - function fileSystemEntryExists(path, entryKind) { - const originalStackTraceLimit = Error.stackTraceLimit; - Error.stackTraceLimit = 0; - try { - const stat = statSync(path); - if (!stat) { - return false; - } - switch (entryKind) { - case 0 /* File */: - return stat.isFile(); - case 1 /* Directory */: - return stat.isDirectory(); - default: - return false; - } - } catch { - return false; - } finally { - Error.stackTraceLimit = originalStackTraceLimit; - } - } - function fileExists(path) { - return fileSystemEntryExists(path, 0 /* File */); - } - function directoryExists(path) { - return fileSystemEntryExists(path, 1 /* Directory */); - } - function getDirectories(path) { - return getAccessibleFileSystemEntries(path).directories.slice(); - } - function fsRealPathHandlingLongPath(path) { - return path.length < 260 ? _fs.realpathSync.native(path) : _fs.realpathSync(path); - } - function realpath(path) { - try { - return fsRealpath(path); - } catch { - return path; - } - } - function getModifiedTime3(path) { - var _a; - const originalStackTraceLimit = Error.stackTraceLimit; - Error.stackTraceLimit = 0; - try { - return (_a = statSync(path)) == null ? void 0 : _a.mtime; - } catch { - return void 0; - } finally { - Error.stackTraceLimit = originalStackTraceLimit; - } - } - function setModifiedTime(path, time) { - try { - _fs.utimesSync(path, time, time); - } catch { - return; - } - } - function deleteFile(path) { - try { - return _fs.unlinkSync(path); - } catch { - return; - } - } - function createSHA256Hash(data) { - const hash = _crypto.createHash("sha256"); - hash.update(data); - return hash.digest("hex"); - } - } - let sys2; - if (isNodeLikeSystem()) { - sys2 = getNodeSystem(); - } - if (sys2) { - patchWriteFileEnsuringDirectory(sys2); - } - return sys2; -})(); -if (sys && sys.getEnvironmentVariable) { - setCustomPollingValues(sys); - Debug.setAssertionLevel( - /^development$/i.test(sys.getEnvironmentVariable("NODE_ENV")) ? 1 /* Normal */ : 0 /* None */ - ); -} -if (sys && sys.debugMode) { - Debug.isDebugging = true; -} - -// src/compiler/path.ts -var directorySeparator = "/"; -var altDirectorySeparator = "\\"; -var urlSchemeSeparator = "://"; -var backslashRegExp = /\\/g; -function isAnyDirectorySeparator(charCode) { - return charCode === 47 /* slash */ || charCode === 92 /* backslash */; -} -function isRootedDiskPath(path) { - return getEncodedRootLength(path) > 0; -} -function isDiskPathRoot(path) { - const rootLength = getEncodedRootLength(path); - return rootLength > 0 && rootLength === path.length; -} -function pathIsAbsolute(path) { - return getEncodedRootLength(path) !== 0; -} -function pathIsRelative(path) { - return /^\.\.?(?:$|[\\/])/.test(path); -} -function pathIsBareSpecifier(path) { - return !pathIsAbsolute(path) && !pathIsRelative(path); -} -function hasExtension(fileName) { - return getBaseFileName(fileName).includes("."); -} -function fileExtensionIs(path, extension) { - return path.length > extension.length && endsWith(path, extension); -} -function fileExtensionIsOneOf(path, extensions) { - for (const extension of extensions) { - if (fileExtensionIs(path, extension)) { - return true; - } - } - return false; -} -function hasTrailingDirectorySeparator(path) { - return path.length > 0 && isAnyDirectorySeparator(path.charCodeAt(path.length - 1)); -} -function isVolumeCharacter(charCode) { - return charCode >= 97 /* a */ && charCode <= 122 /* z */ || charCode >= 65 /* A */ && charCode <= 90 /* Z */; -} -function getFileUrlVolumeSeparatorEnd(url, start) { - const ch0 = url.charCodeAt(start); - if (ch0 === 58 /* colon */) return start + 1; - if (ch0 === 37 /* percent */ && url.charCodeAt(start + 1) === 51 /* _3 */) { - const ch2 = url.charCodeAt(start + 2); - if (ch2 === 97 /* a */ || ch2 === 65 /* A */) return start + 3; - } - return -1; -} -function getEncodedRootLength(path) { - if (!path) return 0; - const ch0 = path.charCodeAt(0); - if (ch0 === 47 /* slash */ || ch0 === 92 /* backslash */) { - if (path.charCodeAt(1) !== ch0) return 1; - const p1 = path.indexOf(ch0 === 47 /* slash */ ? directorySeparator : altDirectorySeparator, 2); - if (p1 < 0) return path.length; - return p1 + 1; - } - if (isVolumeCharacter(ch0) && path.charCodeAt(1) === 58 /* colon */) { - const ch2 = path.charCodeAt(2); - if (ch2 === 47 /* slash */ || ch2 === 92 /* backslash */) return 3; - if (path.length === 2) return 2; - } - const schemeEnd = path.indexOf(urlSchemeSeparator); - if (schemeEnd !== -1) { - const authorityStart = schemeEnd + urlSchemeSeparator.length; - const authorityEnd = path.indexOf(directorySeparator, authorityStart); - if (authorityEnd !== -1) { - const scheme = path.slice(0, schemeEnd); - const authority = path.slice(authorityStart, authorityEnd); - if (scheme === "file" && (authority === "" || authority === "localhost") && isVolumeCharacter(path.charCodeAt(authorityEnd + 1))) { - const volumeSeparatorEnd = getFileUrlVolumeSeparatorEnd(path, authorityEnd + 2); - if (volumeSeparatorEnd !== -1) { - if (path.charCodeAt(volumeSeparatorEnd) === 47 /* slash */) { - return ~(volumeSeparatorEnd + 1); - } - if (volumeSeparatorEnd === path.length) { - return ~volumeSeparatorEnd; - } - } - } - return ~(authorityEnd + 1); - } - return ~path.length; - } - return 0; -} -function getRootLength(path) { - const rootLength = getEncodedRootLength(path); - return rootLength < 0 ? ~rootLength : rootLength; -} -function getDirectoryPath(path) { - path = normalizeSlashes(path); - const rootLength = getRootLength(path); - if (rootLength === path.length) return path; - path = removeTrailingDirectorySeparator(path); - return path.slice(0, Math.max(rootLength, path.lastIndexOf(directorySeparator))); -} -function getBaseFileName(path, extensions, ignoreCase) { - path = normalizeSlashes(path); - const rootLength = getRootLength(path); - if (rootLength === path.length) return ""; - path = removeTrailingDirectorySeparator(path); - const name = path.slice(Math.max(getRootLength(path), path.lastIndexOf(directorySeparator) + 1)); - const extension = extensions !== void 0 && ignoreCase !== void 0 ? getAnyExtensionFromPath(name, extensions, ignoreCase) : void 0; - return extension ? name.slice(0, name.length - extension.length) : name; -} -function tryGetExtensionFromPath(path, extension, stringEqualityComparer) { - if (!startsWith(extension, ".")) extension = "." + extension; - if (path.length >= extension.length && path.charCodeAt(path.length - extension.length) === 46 /* dot */) { - const pathExtension = path.slice(path.length - extension.length); - if (stringEqualityComparer(pathExtension, extension)) { - return pathExtension; - } - } -} -function getAnyExtensionFromPathWorker(path, extensions, stringEqualityComparer) { - if (typeof extensions === "string") { - return tryGetExtensionFromPath(path, extensions, stringEqualityComparer) || ""; - } - for (const extension of extensions) { - const result = tryGetExtensionFromPath(path, extension, stringEqualityComparer); - if (result) return result; - } - return ""; -} -function getAnyExtensionFromPath(path, extensions, ignoreCase) { - if (extensions) { - return getAnyExtensionFromPathWorker(removeTrailingDirectorySeparator(path), extensions, ignoreCase ? equateStringsCaseInsensitive : equateStringsCaseSensitive); - } - const baseFileName = getBaseFileName(path); - const extensionIndex = baseFileName.lastIndexOf("."); - if (extensionIndex >= 0) { - return baseFileName.substring(extensionIndex); - } - return ""; -} -function pathComponents(path, rootLength) { - const root = path.substring(0, rootLength); - const rest = path.substring(rootLength).split(directorySeparator); - if (rest.length && !lastOrUndefined(rest)) rest.pop(); - return [root, ...rest]; -} -function getPathComponents(path, currentDirectory = "") { - path = combinePaths(currentDirectory, path); - return pathComponents(path, getRootLength(path)); -} -function getPathFromPathComponents(pathComponents2, length2) { - if (pathComponents2.length === 0) return ""; - const root = pathComponents2[0] && ensureTrailingDirectorySeparator(pathComponents2[0]); - return root + pathComponents2.slice(1, length2).join(directorySeparator); -} -function normalizeSlashes(path) { - return path.includes("\\") ? path.replace(backslashRegExp, directorySeparator) : path; -} -function reducePathComponents(components) { - if (!some(components)) return []; - const reduced = [components[0]]; - for (let i = 1; i < components.length; i++) { - const component = components[i]; - if (!component) continue; - if (component === ".") continue; - if (component === "..") { - if (reduced.length > 1) { - if (reduced[reduced.length - 1] !== "..") { - reduced.pop(); - continue; - } - } else if (reduced[0]) continue; - } - reduced.push(component); - } - return reduced; -} -function combinePaths(path, ...paths) { - if (path) path = normalizeSlashes(path); - for (let relativePath of paths) { - if (!relativePath) continue; - relativePath = normalizeSlashes(relativePath); - if (!path || getRootLength(relativePath) !== 0) { - path = relativePath; - } else { - path = ensureTrailingDirectorySeparator(path) + relativePath; - } - } - return path; -} -function resolvePath(path, ...paths) { - return normalizePath(some(paths) ? combinePaths(path, ...paths) : normalizeSlashes(path)); -} -function getNormalizedPathComponents(path, currentDirectory) { - return reducePathComponents(getPathComponents(path, currentDirectory)); -} -function getNormalizedAbsolutePath(fileName, currentDirectory) { - return getPathFromPathComponents(getNormalizedPathComponents(fileName, currentDirectory)); -} -function normalizePath(path) { - path = normalizeSlashes(path); - if (!relativePathSegmentRegExp.test(path)) { - return path; - } - const simplified = path.replace(/\/\.\//g, "/").replace(/^\.\//, ""); - if (simplified !== path) { - path = simplified; - if (!relativePathSegmentRegExp.test(path)) { - return path; - } - } - const normalized = getPathFromPathComponents(reducePathComponents(getPathComponents(path))); - return normalized && hasTrailingDirectorySeparator(path) ? ensureTrailingDirectorySeparator(normalized) : normalized; -} -function getPathWithoutRoot(pathComponents2) { - if (pathComponents2.length === 0) return ""; - return pathComponents2.slice(1).join(directorySeparator); -} -function getNormalizedAbsolutePathWithoutRoot(fileName, currentDirectory) { - return getPathWithoutRoot(getNormalizedPathComponents(fileName, currentDirectory)); -} -function toPath(fileName, basePath, getCanonicalFileName) { - const nonCanonicalizedPath = isRootedDiskPath(fileName) ? normalizePath(fileName) : getNormalizedAbsolutePath(fileName, basePath); - return getCanonicalFileName(nonCanonicalizedPath); -} -function removeTrailingDirectorySeparator(path) { - if (hasTrailingDirectorySeparator(path)) { - return path.substr(0, path.length - 1); - } - return path; -} -function ensureTrailingDirectorySeparator(path) { - if (!hasTrailingDirectorySeparator(path)) { - return path + directorySeparator; - } - return path; -} -function ensurePathIsNonModuleName(path) { - return !pathIsAbsolute(path) && !pathIsRelative(path) ? "./" + path : path; -} -function changeAnyExtension(path, ext, extensions, ignoreCase) { - const pathext = extensions !== void 0 && ignoreCase !== void 0 ? getAnyExtensionFromPath(path, extensions, ignoreCase) : getAnyExtensionFromPath(path); - return pathext ? path.slice(0, path.length - pathext.length) + (startsWith(ext, ".") ? ext : "." + ext) : path; -} -function changeFullExtension(path, newExtension) { - const declarationExtension = getDeclarationFileExtension(path); - if (declarationExtension) { - return path.slice(0, path.length - declarationExtension.length) + (startsWith(newExtension, ".") ? newExtension : "." + newExtension); - } - return changeAnyExtension(path, newExtension); -} -var relativePathSegmentRegExp = /\/\/|(?:^|\/)\.\.?(?:$|\/)/; -function comparePathsWorker(a, b, componentComparer) { - if (a === b) return 0 /* EqualTo */; - if (a === void 0) return -1 /* LessThan */; - if (b === void 0) return 1 /* GreaterThan */; - const aRoot = a.substring(0, getRootLength(a)); - const bRoot = b.substring(0, getRootLength(b)); - const result = compareStringsCaseInsensitive(aRoot, bRoot); - if (result !== 0 /* EqualTo */) { - return result; - } - const aRest = a.substring(aRoot.length); - const bRest = b.substring(bRoot.length); - if (!relativePathSegmentRegExp.test(aRest) && !relativePathSegmentRegExp.test(bRest)) { - return componentComparer(aRest, bRest); - } - const aComponents = reducePathComponents(getPathComponents(a)); - const bComponents = reducePathComponents(getPathComponents(b)); - const sharedLength = Math.min(aComponents.length, bComponents.length); - for (let i = 1; i < sharedLength; i++) { - const result2 = componentComparer(aComponents[i], bComponents[i]); - if (result2 !== 0 /* EqualTo */) { - return result2; - } - } - return compareValues(aComponents.length, bComponents.length); -} -function comparePaths(a, b, currentDirectory, ignoreCase) { - if (typeof currentDirectory === "string") { - a = combinePaths(currentDirectory, a); - b = combinePaths(currentDirectory, b); - } else if (typeof currentDirectory === "boolean") { - ignoreCase = currentDirectory; - } - return comparePathsWorker(a, b, getStringComparer(ignoreCase)); -} -function containsPath(parent, child, currentDirectory, ignoreCase) { - if (typeof currentDirectory === "string") { - parent = combinePaths(currentDirectory, parent); - child = combinePaths(currentDirectory, child); - } else if (typeof currentDirectory === "boolean") { - ignoreCase = currentDirectory; - } - if (parent === void 0 || child === void 0) return false; - if (parent === child) return true; - const parentComponents = reducePathComponents(getPathComponents(parent)); - const childComponents = reducePathComponents(getPathComponents(child)); - if (childComponents.length < parentComponents.length) { - return false; - } - const componentEqualityComparer = ignoreCase ? equateStringsCaseInsensitive : equateStringsCaseSensitive; - for (let i = 0; i < parentComponents.length; i++) { - const equalityComparer = i === 0 ? equateStringsCaseInsensitive : componentEqualityComparer; - if (!equalityComparer(parentComponents[i], childComponents[i])) { - return false; - } - } - return true; -} -function startsWithDirectory(fileName, directoryName, getCanonicalFileName) { - const canonicalFileName = getCanonicalFileName(fileName); - const canonicalDirectoryName = getCanonicalFileName(directoryName); - return startsWith(canonicalFileName, canonicalDirectoryName + "/") || startsWith(canonicalFileName, canonicalDirectoryName + "\\"); -} -function getPathComponentsRelativeTo(from, to, stringEqualityComparer, getCanonicalFileName) { - const fromComponents = reducePathComponents(getPathComponents(from)); - const toComponents = reducePathComponents(getPathComponents(to)); - let start; - for (start = 0; start < fromComponents.length && start < toComponents.length; start++) { - const fromComponent = getCanonicalFileName(fromComponents[start]); - const toComponent = getCanonicalFileName(toComponents[start]); - const comparer = start === 0 ? equateStringsCaseInsensitive : stringEqualityComparer; - if (!comparer(fromComponent, toComponent)) break; - } - if (start === 0) { - return toComponents; - } - const components = toComponents.slice(start); - const relative = []; - for (; start < fromComponents.length; start++) { - relative.push(".."); - } - return ["", ...relative, ...components]; -} -function getRelativePathFromDirectory(fromDirectory, to, getCanonicalFileNameOrIgnoreCase) { - Debug.assert(getRootLength(fromDirectory) > 0 === getRootLength(to) > 0, "Paths must either both be absolute or both be relative"); - const getCanonicalFileName = typeof getCanonicalFileNameOrIgnoreCase === "function" ? getCanonicalFileNameOrIgnoreCase : identity; - const ignoreCase = typeof getCanonicalFileNameOrIgnoreCase === "boolean" ? getCanonicalFileNameOrIgnoreCase : false; - const pathComponents2 = getPathComponentsRelativeTo(fromDirectory, to, ignoreCase ? equateStringsCaseInsensitive : equateStringsCaseSensitive, getCanonicalFileName); - return getPathFromPathComponents(pathComponents2); -} -function convertToRelativePath(absoluteOrRelativePath, basePath, getCanonicalFileName) { - return !isRootedDiskPath(absoluteOrRelativePath) ? absoluteOrRelativePath : getRelativePathToDirectoryOrUrl( - basePath, - absoluteOrRelativePath, - basePath, - getCanonicalFileName, - /*isAbsolutePathAnUrl*/ - false - ); -} -function getRelativePathFromFile(from, to, getCanonicalFileName) { - return ensurePathIsNonModuleName(getRelativePathFromDirectory(getDirectoryPath(from), to, getCanonicalFileName)); -} -function getRelativePathToDirectoryOrUrl(directoryPathOrUrl, relativeOrAbsolutePath, currentDirectory, getCanonicalFileName, isAbsolutePathAnUrl) { - const pathComponents2 = getPathComponentsRelativeTo( - resolvePath(currentDirectory, directoryPathOrUrl), - resolvePath(currentDirectory, relativeOrAbsolutePath), - equateStringsCaseSensitive, - getCanonicalFileName - ); - const firstComponent = pathComponents2[0]; - if (isAbsolutePathAnUrl && isRootedDiskPath(firstComponent)) { - const prefix = firstComponent.charAt(0) === directorySeparator ? "file://" : "file:///"; - pathComponents2[0] = prefix + firstComponent; - } - return getPathFromPathComponents(pathComponents2); -} -function forEachAncestorDirectory(directory, callback) { - while (true) { - const result = callback(directory); - if (result !== void 0) { - return result; - } - const parentPath = getDirectoryPath(directory); - if (parentPath === directory) { - return void 0; - } - directory = parentPath; - } -} -function isNodeModulesDirectory(dirPath) { - return endsWith(dirPath, "/node_modules"); -} - -// src/compiler/diagnosticInformationMap.generated.ts -function diag(code, category, key, message, reportsUnnecessary, elidedInCompatabilityPyramid, reportsDeprecated) { - return { code, category, key, message, reportsUnnecessary, elidedInCompatabilityPyramid, reportsDeprecated }; -} -var Diagnostics = { - Unterminated_string_literal: diag(1002, 1 /* Error */, "Unterminated_string_literal_1002", "Unterminated string literal."), - Identifier_expected: diag(1003, 1 /* Error */, "Identifier_expected_1003", "Identifier expected."), - _0_expected: diag(1005, 1 /* Error */, "_0_expected_1005", "'{0}' expected."), - A_file_cannot_have_a_reference_to_itself: diag(1006, 1 /* Error */, "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: diag(1007, 1 /* Error */, "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: diag(1009, 1 /* Error */, "Trailing_comma_not_allowed_1009", "Trailing comma not allowed."), - Asterisk_Slash_expected: diag(1010, 1 /* Error */, "Asterisk_Slash_expected_1010", "'*/' expected."), - An_element_access_expression_should_take_an_argument: diag(1011, 1 /* Error */, "An_element_access_expression_should_take_an_argument_1011", "An element access expression should take an argument."), - Unexpected_token: diag(1012, 1 /* Error */, "Unexpected_token_1012", "Unexpected token."), - A_rest_parameter_or_binding_pattern_may_not_have_a_trailing_comma: diag(1013, 1 /* 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: diag(1014, 1 /* 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: diag(1015, 1 /* Error */, "Parameter_cannot_have_question_mark_and_initializer_1015", "Parameter cannot have question mark and initializer."), - A_required_parameter_cannot_follow_an_optional_parameter: diag(1016, 1 /* 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: diag(1017, 1 /* 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: diag(1018, 1 /* 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: diag(1019, 1 /* 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: diag(1020, 1 /* 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: diag(1021, 1 /* 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: diag(1022, 1 /* 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: diag(1024, 1 /* 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: diag(1025, 1 /* Error */, "An_index_signature_cannot_have_a_trailing_comma_1025", "An index signature cannot have a trailing comma."), - Accessibility_modifier_already_seen: diag(1028, 1 /* Error */, "Accessibility_modifier_already_seen_1028", "Accessibility modifier already seen."), - _0_modifier_must_precede_1_modifier: diag(1029, 1 /* Error */, "_0_modifier_must_precede_1_modifier_1029", "'{0}' modifier must precede '{1}' modifier."), - _0_modifier_already_seen: diag(1030, 1 /* Error */, "_0_modifier_already_seen_1030", "'{0}' modifier already seen."), - _0_modifier_cannot_appear_on_class_elements_of_this_kind: diag(1031, 1 /* 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: diag(1034, 1 /* 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: diag(1035, 1 /* Error */, "Only_ambient_modules_can_use_quoted_names_1035", "Only ambient modules can use quoted names."), - Statements_are_not_allowed_in_ambient_contexts: diag(1036, 1 /* 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: diag(1038, 1 /* 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: diag(1039, 1 /* 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: diag(1040, 1 /* 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: diag(1042, 1 /* Error */, "_0_modifier_cannot_be_used_here_1042", "'{0}' modifier cannot be used here."), - _0_modifier_cannot_appear_on_a_module_or_namespace_element: diag(1044, 1 /* 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: diag(1046, 1 /* 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: diag(1047, 1 /* Error */, "A_rest_parameter_cannot_be_optional_1047", "A rest parameter cannot be optional."), - A_rest_parameter_cannot_have_an_initializer: diag(1048, 1 /* Error */, "A_rest_parameter_cannot_have_an_initializer_1048", "A rest parameter cannot have an initializer."), - A_set_accessor_must_have_exactly_one_parameter: diag(1049, 1 /* 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: diag(1051, 1 /* 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: diag(1052, 1 /* 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: diag(1053, 1 /* Error */, "A_set_accessor_cannot_have_rest_parameter_1053", "A 'set' accessor cannot have rest parameter."), - A_get_accessor_cannot_have_parameters: diag(1054, 1 /* 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_because_it_does_not_refer_to_a_Promise_compatible_constructor_value: diag(1055, 1 /* Error */, "Type_0_is_not_a_valid_async_function_return_type_in_ES5_because_it_does_not_refer_to_a_Promise_compa_1055", "Type '{0}' is not a valid async function return type in ES5 because it does not refer to a Promise-compatible constructor value."), - Accessors_are_only_available_when_targeting_ECMAScript_5_and_higher: diag(1056, 1 /* 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: diag(1058, 1 /* 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: diag(1059, 1 /* 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: diag(1060, 1 /* 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: diag(1061, 1 /* 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: diag(1062, 1 /* 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: diag(1063, 1 /* 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: diag(1064, 1 /* 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 type. Did you mean to write 'Promise<{0}>'?"), - The_return_type_of_an_async_function_or_method_must_be_the_global_Promise_T_type: diag(1065, 1 /* Error */, "The_return_type_of_an_async_function_or_method_must_be_the_global_Promise_T_type_1065", "The return type of an async function or method must be the global Promise type."), - In_ambient_enum_declarations_member_initializer_must_be_constant_expression: diag(1066, 1 /* 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: diag(1068, 1 /* 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: diag(1069, 1 /* 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: diag(1070, 1 /* 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: diag(1071, 1 /* 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: diag(1079, 1 /* 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: diag(1084, 1 /* Error */, "Invalid_reference_directive_syntax_1084", "Invalid 'reference' directive syntax."), - _0_modifier_cannot_appear_on_a_constructor_declaration: diag(1089, 1 /* 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: diag(1090, 1 /* 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: diag(1091, 1 /* 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: diag(1092, 1 /* 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: diag(1093, 1 /* Error */, "Type_annotation_cannot_appear_on_a_constructor_declaration_1093", "Type annotation cannot appear on a constructor declaration."), - An_accessor_cannot_have_type_parameters: diag(1094, 1 /* Error */, "An_accessor_cannot_have_type_parameters_1094", "An accessor cannot have type parameters."), - A_set_accessor_cannot_have_a_return_type_annotation: diag(1095, 1 /* 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: diag(1096, 1 /* Error */, "An_index_signature_must_have_exactly_one_parameter_1096", "An index signature must have exactly one parameter."), - _0_list_cannot_be_empty: diag(1097, 1 /* Error */, "_0_list_cannot_be_empty_1097", "'{0}' list cannot be empty."), - Type_parameter_list_cannot_be_empty: diag(1098, 1 /* Error */, "Type_parameter_list_cannot_be_empty_1098", "Type parameter list cannot be empty."), - Type_argument_list_cannot_be_empty: diag(1099, 1 /* Error */, "Type_argument_list_cannot_be_empty_1099", "Type argument list cannot be empty."), - Invalid_use_of_0_in_strict_mode: diag(1100, 1 /* Error */, "Invalid_use_of_0_in_strict_mode_1100", "Invalid use of '{0}' in strict mode."), - with_statements_are_not_allowed_in_strict_mode: diag(1101, 1 /* 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: diag(1102, 1 /* 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: diag(1103, 1 /* 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: diag(1104, 1 /* 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: diag(1105, 1 /* 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: diag(1106, 1 /* 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: diag(1107, 1 /* 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: diag(1108, 1 /* 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: diag(1109, 1 /* Error */, "Expression_expected_1109", "Expression expected."), - Type_expected: diag(1110, 1 /* Error */, "Type_expected_1110", "Type expected."), - Private_field_0_must_be_declared_in_an_enclosing_class: diag(1111, 1 /* Error */, "Private_field_0_must_be_declared_in_an_enclosing_class_1111", "Private field '{0}' must be declared in an enclosing class."), - A_default_clause_cannot_appear_more_than_once_in_a_switch_statement: diag(1113, 1 /* 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: diag(1114, 1 /* Error */, "Duplicate_label_0_1114", "Duplicate label '{0}'."), - A_continue_statement_can_only_jump_to_a_label_of_an_enclosing_iteration_statement: diag(1115, 1 /* 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: diag(1116, 1 /* 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: diag(1117, 1 /* Error */, "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: diag(1118, 1 /* 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: diag(1119, 1 /* 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: diag(1120, 1 /* Error */, "An_export_assignment_cannot_have_modifiers_1120", "An export assignment cannot have modifiers."), - Octal_literals_are_not_allowed_Use_the_syntax_0: diag(1121, 1 /* Error */, "Octal_literals_are_not_allowed_Use_the_syntax_0_1121", "Octal literals are not allowed. Use the syntax '{0}'."), - Variable_declaration_list_cannot_be_empty: diag(1123, 1 /* Error */, "Variable_declaration_list_cannot_be_empty_1123", "Variable declaration list cannot be empty."), - Digit_expected: diag(1124, 1 /* Error */, "Digit_expected_1124", "Digit expected."), - Hexadecimal_digit_expected: diag(1125, 1 /* Error */, "Hexadecimal_digit_expected_1125", "Hexadecimal digit expected."), - Unexpected_end_of_text: diag(1126, 1 /* Error */, "Unexpected_end_of_text_1126", "Unexpected end of text."), - Invalid_character: diag(1127, 1 /* Error */, "Invalid_character_1127", "Invalid character."), - Declaration_or_statement_expected: diag(1128, 1 /* Error */, "Declaration_or_statement_expected_1128", "Declaration or statement expected."), - Statement_expected: diag(1129, 1 /* Error */, "Statement_expected_1129", "Statement expected."), - case_or_default_expected: diag(1130, 1 /* Error */, "case_or_default_expected_1130", "'case' or 'default' expected."), - Property_or_signature_expected: diag(1131, 1 /* Error */, "Property_or_signature_expected_1131", "Property or signature expected."), - Enum_member_expected: diag(1132, 1 /* Error */, "Enum_member_expected_1132", "Enum member expected."), - Variable_declaration_expected: diag(1134, 1 /* Error */, "Variable_declaration_expected_1134", "Variable declaration expected."), - Argument_expression_expected: diag(1135, 1 /* Error */, "Argument_expression_expected_1135", "Argument expression expected."), - Property_assignment_expected: diag(1136, 1 /* Error */, "Property_assignment_expected_1136", "Property assignment expected."), - Expression_or_comma_expected: diag(1137, 1 /* Error */, "Expression_or_comma_expected_1137", "Expression or comma expected."), - Parameter_declaration_expected: diag(1138, 1 /* Error */, "Parameter_declaration_expected_1138", "Parameter declaration expected."), - Type_parameter_declaration_expected: diag(1139, 1 /* Error */, "Type_parameter_declaration_expected_1139", "Type parameter declaration expected."), - Type_argument_expected: diag(1140, 1 /* Error */, "Type_argument_expected_1140", "Type argument expected."), - String_literal_expected: diag(1141, 1 /* Error */, "String_literal_expected_1141", "String literal expected."), - Line_break_not_permitted_here: diag(1142, 1 /* Error */, "Line_break_not_permitted_here_1142", "Line break not permitted here."), - or_expected: diag(1144, 1 /* Error */, "or_expected_1144", "'{' or ';' expected."), - or_JSX_element_expected: diag(1145, 1 /* Error */, "or_JSX_element_expected_1145", "'{' or JSX element expected."), - Declaration_expected: diag(1146, 1 /* Error */, "Declaration_expected_1146", "Declaration expected."), - Import_declarations_in_a_namespace_cannot_reference_a_module: diag(1147, 1 /* 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: diag(1148, 1 /* 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: diag(1149, 1 /* 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."), - _0_declarations_must_be_initialized: diag(1155, 1 /* Error */, "_0_declarations_must_be_initialized_1155", "'{0}' declarations must be initialized."), - _0_declarations_can_only_be_declared_inside_a_block: diag(1156, 1 /* Error */, "_0_declarations_can_only_be_declared_inside_a_block_1156", "'{0}' declarations can only be declared inside a block."), - Unterminated_template_literal: diag(1160, 1 /* Error */, "Unterminated_template_literal_1160", "Unterminated template literal."), - Unterminated_regular_expression_literal: diag(1161, 1 /* Error */, "Unterminated_regular_expression_literal_1161", "Unterminated regular expression literal."), - An_object_member_cannot_be_declared_optional: diag(1162, 1 /* 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: diag(1163, 1 /* 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: diag(1164, 1 /* 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: diag(1165, 1 /* 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: diag(1166, 1 /* 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: diag(1168, 1 /* 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: diag(1169, 1 /* 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: diag(1170, 1 /* 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: diag(1171, 1 /* 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: diag(1172, 1 /* Error */, "extends_clause_already_seen_1172", "'extends' clause already seen."), - extends_clause_must_precede_implements_clause: diag(1173, 1 /* Error */, "extends_clause_must_precede_implements_clause_1173", "'extends' clause must precede 'implements' clause."), - Classes_can_only_extend_a_single_class: diag(1174, 1 /* Error */, "Classes_can_only_extend_a_single_class_1174", "Classes can only extend a single class."), - implements_clause_already_seen: diag(1175, 1 /* Error */, "implements_clause_already_seen_1175", "'implements' clause already seen."), - Interface_declaration_cannot_have_implements_clause: diag(1176, 1 /* Error */, "Interface_declaration_cannot_have_implements_clause_1176", "Interface declaration cannot have 'implements' clause."), - Binary_digit_expected: diag(1177, 1 /* Error */, "Binary_digit_expected_1177", "Binary digit expected."), - Octal_digit_expected: diag(1178, 1 /* Error */, "Octal_digit_expected_1178", "Octal digit expected."), - Unexpected_token_expected: diag(1179, 1 /* Error */, "Unexpected_token_expected_1179", "Unexpected token. '{' expected."), - Property_destructuring_pattern_expected: diag(1180, 1 /* Error */, "Property_destructuring_pattern_expected_1180", "Property destructuring pattern expected."), - Array_element_destructuring_pattern_expected: diag(1181, 1 /* Error */, "Array_element_destructuring_pattern_expected_1181", "Array element destructuring pattern expected."), - A_destructuring_declaration_must_have_an_initializer: diag(1182, 1 /* Error */, "A_destructuring_declaration_must_have_an_initializer_1182", "A destructuring declaration must have an initializer."), - An_implementation_cannot_be_declared_in_ambient_contexts: diag(1183, 1 /* Error */, "An_implementation_cannot_be_declared_in_ambient_contexts_1183", "An implementation cannot be declared in ambient contexts."), - Modifiers_cannot_appear_here: diag(1184, 1 /* Error */, "Modifiers_cannot_appear_here_1184", "Modifiers cannot appear here."), - Merge_conflict_marker_encountered: diag(1185, 1 /* Error */, "Merge_conflict_marker_encountered_1185", "Merge conflict marker encountered."), - A_rest_element_cannot_have_an_initializer: diag(1186, 1 /* 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: diag(1187, 1 /* 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: diag(1188, 1 /* 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: diag(1189, 1 /* 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: diag(1190, 1 /* 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: diag(1191, 1 /* Error */, "An_import_declaration_cannot_have_modifiers_1191", "An import declaration cannot have modifiers."), - Module_0_has_no_default_export: diag(1192, 1 /* Error */, "Module_0_has_no_default_export_1192", "Module '{0}' has no default export."), - An_export_declaration_cannot_have_modifiers: diag(1193, 1 /* Error */, "An_export_declaration_cannot_have_modifiers_1193", "An export declaration cannot have modifiers."), - Export_declarations_are_not_permitted_in_a_namespace: diag(1194, 1 /* 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: diag(1195, 1 /* 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: diag(1196, 1 /* 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: diag(1197, 1 /* 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: diag(1198, 1 /* 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: diag(1199, 1 /* Error */, "Unterminated_Unicode_escape_sequence_1199", "Unterminated Unicode escape sequence."), - Line_terminator_not_permitted_before_arrow: diag(1200, 1 /* 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: diag(1202, 1 /* 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: diag(1203, 1 /* 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_0_is_enabled_requires_using_export_type: diag(1205, 1 /* Error */, "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: diag(1206, 1 /* 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: diag(1207, 1 /* 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."), - Invalid_optional_chain_from_new_expression_Did_you_mean_to_call_0: diag(1209, 1 /* Error */, "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: diag(1210, 1 /* 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: diag(1211, 1 /* 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: diag(1212, 1 /* 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: diag(1213, 1 /* 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: diag(1214, 1 /* 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: diag(1215, 1 /* 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: diag(1216, 1 /* 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: diag(1218, 1 /* Error */, "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: diag(1221, 1 /* 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: diag(1222, 1 /* Error */, "An_overload_signature_cannot_be_declared_as_a_generator_1222", "An overload signature cannot be declared as a generator."), - _0_tag_already_specified: diag(1223, 1 /* Error */, "_0_tag_already_specified_1223", "'{0}' tag already specified."), - Signature_0_must_be_a_type_predicate: diag(1224, 1 /* Error */, "Signature_0_must_be_a_type_predicate_1224", "Signature '{0}' must be a type predicate."), - Cannot_find_parameter_0: diag(1225, 1 /* Error */, "Cannot_find_parameter_0_1225", "Cannot find parameter '{0}'."), - Type_predicate_0_is_not_assignable_to_1: diag(1226, 1 /* 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: diag(1227, 1 /* 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: diag(1228, 1 /* 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: diag(1229, 1 /* 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: diag(1230, 1 /* 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: diag(1231, 1 /* 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_at_the_top_level_of_a_namespace_or_module: diag(1232, 1 /* Error */, "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: diag(1233, 1 /* Error */, "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: diag(1234, 1 /* 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_at_the_top_level_of_a_namespace_or_module: diag(1235, 1 /* Error */, "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: diag(1236, 1 /* 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: diag(1237, 1 /* 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: diag(1238, 1 /* 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: diag(1239, 1 /* 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: diag(1240, 1 /* 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: diag(1241, 1 /* 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: diag(1242, 1 /* 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: diag(1243, 1 /* 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: diag(1244, 1 /* 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: diag(1245, 1 /* 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: diag(1246, 1 /* Error */, "An_interface_property_cannot_have_an_initializer_1246", "An interface property cannot have an initializer."), - A_type_literal_property_cannot_have_an_initializer: diag(1247, 1 /* 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: diag(1248, 1 /* 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: diag(1249, 1 /* 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_ES5: diag(1250, 1 /* Error */, "Function_declarations_are_not_allowed_inside_blocks_in_strict_mode_when_targeting_ES5_1250", "Function declarations are not allowed inside blocks in strict mode when targeting 'ES5'."), - Function_declarations_are_not_allowed_inside_blocks_in_strict_mode_when_targeting_ES5_Class_definitions_are_automatically_in_strict_mode: diag(1251, 1 /* Error */, "Function_declarations_are_not_allowed_inside_blocks_in_strict_mode_when_targeting_ES5_Class_definiti_1251", "Function declarations are not allowed inside blocks in strict mode when targeting 'ES5'. Class definitions are automatically in strict mode."), - Function_declarations_are_not_allowed_inside_blocks_in_strict_mode_when_targeting_ES5_Modules_are_automatically_in_strict_mode: diag(1252, 1 /* Error */, "Function_declarations_are_not_allowed_inside_blocks_in_strict_mode_when_targeting_ES5_Modules_are_au_1252", "Function declarations are not allowed inside blocks in strict mode when targeting 'ES5'. Modules are automatically in strict mode."), - Abstract_properties_can_only_appear_within_an_abstract_class: diag(1253, 1 /* Error */, "Abstract_properties_can_only_appear_within_an_abstract_class_1253", "Abstract properties can only appear within an abstract class."), - A_const_initializer_in_an_ambient_context_must_be_a_string_or_numeric_literal_or_literal_enum_reference: diag(1254, 1 /* 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: diag(1255, 1 /* 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: diag(1257, 1 /* 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: diag(1258, 1 /* 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: diag(1259, 1 /* 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: diag(1260, 1 /* 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: diag(1261, 1 /* 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: diag(1262, 1 /* 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: diag(1263, 1 /* 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: diag(1264, 1 /* 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: diag(1265, 1 /* 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: diag(1266, 1 /* 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: diag(1267, 1 /* 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: diag(1268, 1 /* 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."), - Cannot_use_export_import_on_a_type_or_type_only_namespace_when_0_is_enabled: diag(1269, 1 /* Error */, "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: diag(1270, 1 /* Error */, "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: diag(1271, 1 /* Error */, "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: diag(1272, 1 /* Error */, "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: diag(1273, 1 /* Error */, "_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: diag(1274, 1 /* Error */, "_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: diag(1275, 1 /* Error */, "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: diag(1276, 1 /* Error */, "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: diag(1277, 1 /* Error */, "_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: diag(1278, 1 /* Error */, "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: diag(1279, 1 /* Error */, "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: diag(1280, 1 /* Error */, "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: diag(1281, 1 /* Error */, "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: diag(1282, 1 /* Error */, "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: diag(1283, 1 /* Error */, "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: diag(1284, 1 /* Error */, "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: diag(1285, 1 /* Error */, "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: diag(1286, 1 /* Error */, "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: diag(1287, 1 /* Error */, "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: diag(1288, 1 /* Error */, "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."), - _0_resolves_to_a_type_only_declaration_and_must_be_marked_type_only_in_this_file_before_re_exporting_when_1_is_enabled_Consider_using_import_type_where_0_is_imported: diag(1289, 1 /* Error */, "_0_resolves_to_a_type_only_declaration_and_must_be_marked_type_only_in_this_file_before_re_exporting_1289", "'{0}' resolves to a type-only declaration and must be marked type-only in this file before re-exporting when '{1}' is enabled. Consider using 'import type' where '{0}' is imported."), - _0_resolves_to_a_type_only_declaration_and_must_be_marked_type_only_in_this_file_before_re_exporting_when_1_is_enabled_Consider_using_export_type_0_as_default: diag(1290, 1 /* Error */, "_0_resolves_to_a_type_only_declaration_and_must_be_marked_type_only_in_this_file_before_re_exporting_1290", "'{0}' resolves to a type-only declaration and must be marked type-only in this file before re-exporting when '{1}' is enabled. Consider using 'export type { {0} as default }'."), - _0_resolves_to_a_type_and_must_be_marked_type_only_in_this_file_before_re_exporting_when_1_is_enabled_Consider_using_import_type_where_0_is_imported: diag(1291, 1 /* Error */, "_0_resolves_to_a_type_and_must_be_marked_type_only_in_this_file_before_re_exporting_when_1_is_enable_1291", "'{0}' resolves to a type and must be marked type-only in this file before re-exporting when '{1}' is enabled. Consider using 'import type' where '{0}' is imported."), - _0_resolves_to_a_type_and_must_be_marked_type_only_in_this_file_before_re_exporting_when_1_is_enabled_Consider_using_export_type_0_as_default: diag(1292, 1 /* Error */, "_0_resolves_to_a_type_and_must_be_marked_type_only_in_this_file_before_re_exporting_when_1_is_enable_1292", "'{0}' resolves to a type and must be marked type-only in this file before re-exporting when '{1}' is enabled. Consider using 'export type { {0} as default }'."), - ESM_syntax_is_not_allowed_in_a_CommonJS_module_when_module_is_set_to_preserve: diag(1293, 1 /* Error */, "ESM_syntax_is_not_allowed_in_a_CommonJS_module_when_module_is_set_to_preserve_1293", "ESM syntax is not allowed in a CommonJS module when 'module' is set to 'preserve'."), - with_statements_are_not_allowed_in_an_async_function_block: diag(1300, 1 /* 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: diag(1308, 1 /* 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."), - The_current_file_is_a_CommonJS_module_and_cannot_use_await_at_the_top_level: diag(1309, 1 /* Error */, "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: diag(1312, 1 /* 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: diag(1313, 1 /* 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: diag(1314, 1 /* 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: diag(1315, 1 /* 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: diag(1316, 1 /* 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: diag(1317, 1 /* 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: diag(1318, 1 /* 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: diag(1319, 1 /* 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: diag(1320, 1 /* 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: diag(1321, 1 /* 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: diag(1322, 1 /* 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_node16_or_nodenext: diag(1323, 1 /* 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', 'node16', or 'nodenext'."), - Dynamic_imports_only_support_a_second_argument_when_the_module_option_is_set_to_esnext_node16_nodenext_or_preserve: diag(1324, 1 /* Error */, "Dynamic_imports_only_support_a_second_argument_when_the_module_option_is_set_to_esnext_node16_nodene_1324", "Dynamic imports only support a second argument when the '--module' option is set to 'esnext', 'node16', 'nodenext', or 'preserve'."), - Argument_of_dynamic_import_cannot_be_spread_element: diag(1325, 1 /* Error */, "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: diag(1326, 1 /* Error */, "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: diag(1327, 1 /* 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: diag(1328, 1 /* 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: diag(1329, 1 /* 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: diag(1330, 1 /* 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: diag(1331, 1 /* 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: diag(1332, 1 /* 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: diag(1333, 1 /* 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: diag(1334, 1 /* 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: diag(1335, 1 /* 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: diag(1337, 1 /* 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: diag(1338, 1 /* 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: diag(1339, 1 /* 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: diag(1340, 1 /* 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}')'?"), - Class_constructor_may_not_be_an_accessor: diag(1341, 1 /* Error */, "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: diag(1343, 1 /* 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', 'node16', or 'nodenext'."), - A_label_is_not_allowed_here: diag(1344, 1 /* Error */, "A_label_is_not_allowed_here_1344", "'A label is not allowed here."), - An_expression_of_type_void_cannot_be_tested_for_truthiness: diag(1345, 1 /* 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: diag(1346, 1 /* 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: diag(1347, 1 /* 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: diag(1348, 1 /* Error */, "Non_simple_parameter_declared_here_1348", "Non-simple parameter declared here."), - use_strict_directive_used_here: diag(1349, 1 /* Error */, "use_strict_directive_used_here_1349", "'use strict' directive used here."), - Print_the_final_configuration_instead_of_building: diag(1350, 3 /* 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: diag(1351, 1 /* 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: diag(1352, 1 /* Error */, "A_bigint_literal_cannot_use_exponential_notation_1352", "A bigint literal cannot use exponential notation."), - A_bigint_literal_must_be_an_integer: diag(1353, 1 /* 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: diag(1354, 1 /* 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: diag(1355, 1 /* 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: diag(1356, 1 /* 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: diag(1357, 1 /* 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: diag(1358, 1 /* 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: diag(1359, 1 /* 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."), - Type_0_does_not_satisfy_the_expected_type_1: diag(1360, 1 /* Error */, "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: diag(1361, 1 /* 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: diag(1362, 1 /* 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: diag(1363, 1 /* 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: diag(1364, 3 /* Message */, "Convert_to_type_only_export_1364", "Convert to type-only export"), - Convert_all_re_exported_types_to_type_only_exports: diag(1365, 3 /* 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: diag(1366, 3 /* Message */, "Split_into_two_separate_import_declarations_1366", "Split into two separate import declarations"), - Split_all_invalid_type_only_imports: diag(1367, 3 /* Message */, "Split_all_invalid_type_only_imports_1367", "Split all invalid type-only imports"), - Class_constructor_may_not_be_a_generator: diag(1368, 1 /* Error */, "Class_constructor_may_not_be_a_generator_1368", "Class constructor may not be a generator."), - Did_you_mean_0: diag(1369, 3 /* Message */, "Did_you_mean_0_1369", "Did you mean '{0}'?"), - await_expressions_are_only_allowed_at_the_top_level_of_a_file_when_that_file_is_a_module_but_this_file_has_no_imports_or_exports_Consider_adding_an_empty_export_to_make_this_file_a_module: diag(1375, 1 /* 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: diag(1376, 3 /* Message */, "_0_was_imported_here_1376", "'{0}' was imported here."), - _0_was_exported_here: diag(1377, 3 /* 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_node16_nodenext_or_preserve_and_the_target_option_is_set_to_es2017_or_higher: diag(1378, 1 /* Error */, "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', 'nodenext', or 'preserve', and the 'target' option is set to 'es2017' or higher."), - An_import_alias_cannot_reference_a_declaration_that_was_exported_using_export_type: diag(1379, 1 /* 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: diag(1380, 1 /* 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: diag(1381, 1 /* Error */, "Unexpected_token_Did_you_mean_or_rbrace_1381", "Unexpected token. Did you mean `{'}'}` or `}`?"), - Unexpected_token_Did_you_mean_or_gt: diag(1382, 1 /* Error */, "Unexpected_token_Did_you_mean_or_gt_1382", "Unexpected token. Did you mean `{'>'}` or `>`?"), - Function_type_notation_must_be_parenthesized_when_used_in_a_union_type: diag(1385, 1 /* 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: diag(1386, 1 /* 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: diag(1387, 1 /* 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: diag(1388, 1 /* 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: diag(1389, 1 /* 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: diag(1390, 1 /* 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: diag(1392, 1 /* Error */, "An_import_alias_cannot_use_import_type_1392", "An import alias cannot use 'import type'"), - Imported_via_0_from_file_1: diag(1393, 3 /* Message */, "Imported_via_0_from_file_1_1393", "Imported via {0} from file '{1}'"), - Imported_via_0_from_file_1_with_packageId_2: diag(1394, 3 /* 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: diag(1395, 3 /* 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: diag(1396, 3 /* 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: diag(1397, 3 /* 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: diag(1398, 3 /* 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: diag(1399, 3 /* Message */, "File_is_included_via_import_here_1399", "File is included via import here."), - Referenced_via_0_from_file_1: diag(1400, 3 /* Message */, "Referenced_via_0_from_file_1_1400", "Referenced via '{0}' from file '{1}'"), - File_is_included_via_reference_here: diag(1401, 3 /* Message */, "File_is_included_via_reference_here_1401", "File is included via reference here."), - Type_library_referenced_via_0_from_file_1: diag(1402, 3 /* 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: diag(1403, 3 /* 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: diag(1404, 3 /* 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: diag(1405, 3 /* Message */, "Library_referenced_via_0_from_file_1_1405", "Library referenced via '{0}' from file '{1}'"), - File_is_included_via_library_reference_here: diag(1406, 3 /* Message */, "File_is_included_via_library_reference_here_1406", "File is included via library reference here."), - Matched_by_include_pattern_0_in_1: diag(1407, 3 /* Message */, "Matched_by_include_pattern_0_in_1_1407", "Matched by include pattern '{0}' in '{1}'"), - File_is_matched_by_include_pattern_specified_here: diag(1408, 3 /* 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: diag(1409, 3 /* Message */, "Part_of_files_list_in_tsconfig_json_1409", "Part of 'files' list in tsconfig.json"), - File_is_matched_by_files_list_specified_here: diag(1410, 3 /* 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: diag(1411, 3 /* 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: diag(1412, 3 /* 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: diag(1413, 3 /* 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: diag(1414, 3 /* 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: diag(1415, 3 /* 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: diag(1416, 3 /* 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: diag(1417, 3 /* 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: diag(1418, 3 /* 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: diag(1419, 3 /* 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: diag(1420, 3 /* 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: diag(1421, 3 /* 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: diag(1422, 3 /* Message */, "Library_0_specified_in_compilerOptions_1422", "Library '{0}' specified in compilerOptions"), - File_is_library_specified_here: diag(1423, 3 /* Message */, "File_is_library_specified_here_1423", "File is library specified here."), - Default_library: diag(1424, 3 /* Message */, "Default_library_1424", "Default library"), - Default_library_for_target_0: diag(1425, 3 /* Message */, "Default_library_for_target_0_1425", "Default library for target '{0}'"), - File_is_default_library_for_target_specified_here: diag(1426, 3 /* Message */, "File_is_default_library_for_target_specified_here_1426", "File is default library for target specified here."), - Root_file_specified_for_compilation: diag(1427, 3 /* Message */, "Root_file_specified_for_compilation_1427", "Root file specified for compilation"), - File_is_output_of_project_reference_source_0: diag(1428, 3 /* Message */, "File_is_output_of_project_reference_source_0_1428", "File is output of project reference source '{0}'"), - File_redirects_to_file_0: diag(1429, 3 /* Message */, "File_redirects_to_file_0_1429", "File redirects to file '{0}'"), - The_file_is_in_the_program_because_Colon: diag(1430, 3 /* 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: diag(1431, 1 /* 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_node16_nodenext_or_preserve_and_the_target_option_is_set_to_es2017_or_higher: diag(1432, 1 /* Error */, "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', 'nodenext', or 'preserve', and the 'target' option is set to 'es2017' or higher."), - Neither_decorators_nor_modifiers_may_be_applied_to_this_parameters: diag(1433, 1 /* Error */, "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: diag(1434, 1 /* Error */, "Unexpected_keyword_or_identifier_1434", "Unexpected keyword or identifier."), - Unknown_keyword_or_identifier_Did_you_mean_0: diag(1435, 1 /* 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: diag(1436, 1 /* 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: diag(1437, 1 /* Error */, "Namespace_must_be_given_a_name_1437", "Namespace must be given a name."), - Interface_must_be_given_a_name: diag(1438, 1 /* Error */, "Interface_must_be_given_a_name_1438", "Interface must be given a name."), - Type_alias_must_be_given_a_name: diag(1439, 1 /* Error */, "Type_alias_must_be_given_a_name_1439", "Type alias must be given a name."), - Variable_declaration_not_allowed_at_this_location: diag(1440, 1 /* 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: diag(1441, 1 /* Error */, "Cannot_start_a_function_call_in_a_type_annotation_1441", "Cannot start a function call in a type annotation."), - Expected_for_property_initializer: diag(1442, 1 /* Error */, "Expected_for_property_initializer_1442", "Expected '=' for property initializer."), - Module_declaration_names_may_only_use_or_quoted_strings: diag(1443, 1 /* Error */, "Module_declaration_names_may_only_use_or_quoted_strings_1443", `Module declaration names may only use ' or " quoted strings.`), - _0_resolves_to_a_type_only_declaration_and_must_be_re_exported_using_a_type_only_re_export_when_1_is_enabled: diag(1448, 1 /* Error */, "_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: diag(1449, 3 /* 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_set_of_attributes_as_arguments: diag(1450, 3 /* Message */, "Dynamic_imports_can_only_accept_a_module_specifier_and_an_optional_set_of_attributes_as_arguments_1450", "Dynamic imports can only accept a module specifier and an optional set of attributes 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: diag(1451, 1 /* 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"), - resolution_mode_should_be_either_require_or_import: diag(1453, 1 /* Error */, "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: diag(1454, 1 /* Error */, "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: diag(1455, 1 /* Error */, "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: diag(1456, 1 /* Error */, "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: diag(1457, 3 /* Message */, "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: diag(1458, 3 /* Message */, "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: diag(1459, 3 /* Message */, "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: diag(1460, 3 /* Message */, "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: diag(1461, 3 /* Message */, "File_is_CommonJS_module_because_package_json_was_not_found_1461", "File is CommonJS module because 'package.json' was not found"), - resolution_mode_is_the_only_valid_key_for_type_import_attributes: diag(1463, 1 /* Error */, "resolution_mode_is_the_only_valid_key_for_type_import_attributes_1463", "'resolution-mode' is the only valid key for type import attributes."), - Type_import_attributes_should_have_exactly_one_key_resolution_mode_with_value_import_or_require: diag(1464, 1 /* Error */, "Type_import_attributes_should_have_exactly_one_key_resolution_mode_with_value_import_or_require_1464", "Type import attributes should have exactly one key - 'resolution-mode' - with value 'import' or 'require'."), - The_import_meta_meta_property_is_not_allowed_in_files_which_will_build_into_CommonJS_output: diag(1470, 1 /* 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_with_require_Use_an_ECMAScript_import_instead: diag(1471, 1 /* 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 with 'require'. Use an ECMAScript import instead."), - catch_or_finally_expected: diag(1472, 1 /* Error */, "catch_or_finally_expected_1472", "'catch' or 'finally' expected."), - An_import_declaration_can_only_be_used_at_the_top_level_of_a_module: diag(1473, 1 /* Error */, "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: diag(1474, 1 /* Error */, "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: diag(1475, 3 /* Message */, "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: diag(1476, 3 /* Message */, "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: diag(1477, 1 /* Error */, "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: diag(1478, 1 /* Error */, "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: diag(1479, 1 /* Error */, "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: diag(1480, 3 /* Message */, "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: diag(1481, 3 /* Message */, "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: diag(1482, 3 /* Message */, "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: diag(1483, 3 /* Message */, "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: diag(1484, 1 /* Error */, "_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: diag(1485, 1 /* Error */, "_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: diag(1486, 1 /* Error */, "Decorator_used_before_export_here_1486", "Decorator used before 'export' here."), - Octal_escape_sequences_are_not_allowed_Use_the_syntax_0: diag(1487, 1 /* Error */, "Octal_escape_sequences_are_not_allowed_Use_the_syntax_0_1487", "Octal escape sequences are not allowed. Use the syntax '{0}'."), - Escape_sequence_0_is_not_allowed: diag(1488, 1 /* Error */, "Escape_sequence_0_is_not_allowed_1488", "Escape sequence '{0}' is not allowed."), - Decimals_with_leading_zeros_are_not_allowed: diag(1489, 1 /* Error */, "Decimals_with_leading_zeros_are_not_allowed_1489", "Decimals with leading zeros are not allowed."), - File_appears_to_be_binary: diag(1490, 1 /* Error */, "File_appears_to_be_binary_1490", "File appears to be binary."), - _0_modifier_cannot_appear_on_a_using_declaration: diag(1491, 1 /* Error */, "_0_modifier_cannot_appear_on_a_using_declaration_1491", "'{0}' modifier cannot appear on a 'using' declaration."), - _0_declarations_may_not_have_binding_patterns: diag(1492, 1 /* Error */, "_0_declarations_may_not_have_binding_patterns_1492", "'{0}' declarations may not have binding patterns."), - The_left_hand_side_of_a_for_in_statement_cannot_be_a_using_declaration: diag(1493, 1 /* Error */, "The_left_hand_side_of_a_for_in_statement_cannot_be_a_using_declaration_1493", "The left-hand side of a 'for...in' statement cannot be a 'using' declaration."), - The_left_hand_side_of_a_for_in_statement_cannot_be_an_await_using_declaration: diag(1494, 1 /* Error */, "The_left_hand_side_of_a_for_in_statement_cannot_be_an_await_using_declaration_1494", "The left-hand side of a 'for...in' statement cannot be an 'await using' declaration."), - _0_modifier_cannot_appear_on_an_await_using_declaration: diag(1495, 1 /* Error */, "_0_modifier_cannot_appear_on_an_await_using_declaration_1495", "'{0}' modifier cannot appear on an 'await using' declaration."), - Identifier_string_literal_or_number_literal_expected: diag(1496, 1 /* Error */, "Identifier_string_literal_or_number_literal_expected_1496", "Identifier, string literal, or number literal expected."), - Expression_must_be_enclosed_in_parentheses_to_be_used_as_a_decorator: diag(1497, 1 /* Error */, "Expression_must_be_enclosed_in_parentheses_to_be_used_as_a_decorator_1497", "Expression must be enclosed in parentheses to be used as a decorator."), - Invalid_syntax_in_decorator: diag(1498, 1 /* Error */, "Invalid_syntax_in_decorator_1498", "Invalid syntax in decorator."), - Unknown_regular_expression_flag: diag(1499, 1 /* Error */, "Unknown_regular_expression_flag_1499", "Unknown regular expression flag."), - Duplicate_regular_expression_flag: diag(1500, 1 /* Error */, "Duplicate_regular_expression_flag_1500", "Duplicate regular expression flag."), - This_regular_expression_flag_is_only_available_when_targeting_0_or_later: diag(1501, 1 /* Error */, "This_regular_expression_flag_is_only_available_when_targeting_0_or_later_1501", "This regular expression flag is only available when targeting '{0}' or later."), - The_Unicode_u_flag_and_the_Unicode_Sets_v_flag_cannot_be_set_simultaneously: diag(1502, 1 /* Error */, "The_Unicode_u_flag_and_the_Unicode_Sets_v_flag_cannot_be_set_simultaneously_1502", "The Unicode (u) flag and the Unicode Sets (v) flag cannot be set simultaneously."), - Named_capturing_groups_are_only_available_when_targeting_ES2018_or_later: diag(1503, 1 /* Error */, "Named_capturing_groups_are_only_available_when_targeting_ES2018_or_later_1503", "Named capturing groups are only available when targeting 'ES2018' or later."), - Subpattern_flags_must_be_present_when_there_is_a_minus_sign: diag(1504, 1 /* Error */, "Subpattern_flags_must_be_present_when_there_is_a_minus_sign_1504", "Subpattern flags must be present when there is a minus sign."), - Incomplete_quantifier_Digit_expected: diag(1505, 1 /* Error */, "Incomplete_quantifier_Digit_expected_1505", "Incomplete quantifier. Digit expected."), - Numbers_out_of_order_in_quantifier: diag(1506, 1 /* Error */, "Numbers_out_of_order_in_quantifier_1506", "Numbers out of order in quantifier."), - There_is_nothing_available_for_repetition: diag(1507, 1 /* Error */, "There_is_nothing_available_for_repetition_1507", "There is nothing available for repetition."), - Unexpected_0_Did_you_mean_to_escape_it_with_backslash: diag(1508, 1 /* Error */, "Unexpected_0_Did_you_mean_to_escape_it_with_backslash_1508", "Unexpected '{0}'. Did you mean to escape it with backslash?"), - This_regular_expression_flag_cannot_be_toggled_within_a_subpattern: diag(1509, 1 /* Error */, "This_regular_expression_flag_cannot_be_toggled_within_a_subpattern_1509", "This regular expression flag cannot be toggled within a subpattern."), - k_must_be_followed_by_a_capturing_group_name_enclosed_in_angle_brackets: diag(1510, 1 /* Error */, "k_must_be_followed_by_a_capturing_group_name_enclosed_in_angle_brackets_1510", "'\\k' must be followed by a capturing group name enclosed in angle brackets."), - q_is_only_available_inside_character_class: diag(1511, 1 /* Error */, "q_is_only_available_inside_character_class_1511", "'\\q' is only available inside character class."), - c_must_be_followed_by_an_ASCII_letter: diag(1512, 1 /* Error */, "c_must_be_followed_by_an_ASCII_letter_1512", "'\\c' must be followed by an ASCII letter."), - Undetermined_character_escape: diag(1513, 1 /* Error */, "Undetermined_character_escape_1513", "Undetermined character escape."), - Expected_a_capturing_group_name: diag(1514, 1 /* Error */, "Expected_a_capturing_group_name_1514", "Expected a capturing group name."), - Named_capturing_groups_with_the_same_name_must_be_mutually_exclusive_to_each_other: diag(1515, 1 /* Error */, "Named_capturing_groups_with_the_same_name_must_be_mutually_exclusive_to_each_other_1515", "Named capturing groups with the same name must be mutually exclusive to each other."), - A_character_class_range_must_not_be_bounded_by_another_character_class: diag(1516, 1 /* Error */, "A_character_class_range_must_not_be_bounded_by_another_character_class_1516", "A character class range must not be bounded by another character class."), - Range_out_of_order_in_character_class: diag(1517, 1 /* Error */, "Range_out_of_order_in_character_class_1517", "Range out of order in character class."), - Anything_that_would_possibly_match_more_than_a_single_character_is_invalid_inside_a_negated_character_class: diag(1518, 1 /* Error */, "Anything_that_would_possibly_match_more_than_a_single_character_is_invalid_inside_a_negated_characte_1518", "Anything that would possibly match more than a single character is invalid inside a negated character class."), - Operators_must_not_be_mixed_within_a_character_class_Wrap_it_in_a_nested_class_instead: diag(1519, 1 /* Error */, "Operators_must_not_be_mixed_within_a_character_class_Wrap_it_in_a_nested_class_instead_1519", "Operators must not be mixed within a character class. Wrap it in a nested class instead."), - Expected_a_class_set_operand: diag(1520, 1 /* Error */, "Expected_a_class_set_operand_1520", "Expected a class set operand."), - q_must_be_followed_by_string_alternatives_enclosed_in_braces: diag(1521, 1 /* Error */, "q_must_be_followed_by_string_alternatives_enclosed_in_braces_1521", "'\\q' must be followed by string alternatives enclosed in braces."), - A_character_class_must_not_contain_a_reserved_double_punctuator_Did_you_mean_to_escape_it_with_backslash: diag(1522, 1 /* Error */, "A_character_class_must_not_contain_a_reserved_double_punctuator_Did_you_mean_to_escape_it_with_backs_1522", "A character class must not contain a reserved double punctuator. Did you mean to escape it with backslash?"), - Expected_a_Unicode_property_name: diag(1523, 1 /* Error */, "Expected_a_Unicode_property_name_1523", "Expected a Unicode property name."), - Unknown_Unicode_property_name: diag(1524, 1 /* Error */, "Unknown_Unicode_property_name_1524", "Unknown Unicode property name."), - Expected_a_Unicode_property_value: diag(1525, 1 /* Error */, "Expected_a_Unicode_property_value_1525", "Expected a Unicode property value."), - Unknown_Unicode_property_value: diag(1526, 1 /* Error */, "Unknown_Unicode_property_value_1526", "Unknown Unicode property value."), - Expected_a_Unicode_property_name_or_value: diag(1527, 1 /* Error */, "Expected_a_Unicode_property_name_or_value_1527", "Expected a Unicode property name or value."), - Any_Unicode_property_that_would_possibly_match_more_than_a_single_character_is_only_available_when_the_Unicode_Sets_v_flag_is_set: diag(1528, 1 /* Error */, "Any_Unicode_property_that_would_possibly_match_more_than_a_single_character_is_only_available_when_t_1528", "Any Unicode property that would possibly match more than a single character is only available when the Unicode Sets (v) flag is set."), - Unknown_Unicode_property_name_or_value: diag(1529, 1 /* Error */, "Unknown_Unicode_property_name_or_value_1529", "Unknown Unicode property name or value."), - Unicode_property_value_expressions_are_only_available_when_the_Unicode_u_flag_or_the_Unicode_Sets_v_flag_is_set: diag(1530, 1 /* Error */, "Unicode_property_value_expressions_are_only_available_when_the_Unicode_u_flag_or_the_Unicode_Sets_v__1530", "Unicode property value expressions are only available when the Unicode (u) flag or the Unicode Sets (v) flag is set."), - _0_must_be_followed_by_a_Unicode_property_value_expression_enclosed_in_braces: diag(1531, 1 /* Error */, "_0_must_be_followed_by_a_Unicode_property_value_expression_enclosed_in_braces_1531", "'\\{0}' must be followed by a Unicode property value expression enclosed in braces."), - There_is_no_capturing_group_named_0_in_this_regular_expression: diag(1532, 1 /* Error */, "There_is_no_capturing_group_named_0_in_this_regular_expression_1532", "There is no capturing group named '{0}' in this regular expression."), - This_backreference_refers_to_a_group_that_does_not_exist_There_are_only_0_capturing_groups_in_this_regular_expression: diag(1533, 1 /* Error */, "This_backreference_refers_to_a_group_that_does_not_exist_There_are_only_0_capturing_groups_in_this_r_1533", "This backreference refers to a group that does not exist. There are only {0} capturing groups in this regular expression."), - This_backreference_refers_to_a_group_that_does_not_exist_There_are_no_capturing_groups_in_this_regular_expression: diag(1534, 1 /* Error */, "This_backreference_refers_to_a_group_that_does_not_exist_There_are_no_capturing_groups_in_this_regul_1534", "This backreference refers to a group that does not exist. There are no capturing groups in this regular expression."), - This_character_cannot_be_escaped_in_a_regular_expression: diag(1535, 1 /* Error */, "This_character_cannot_be_escaped_in_a_regular_expression_1535", "This character cannot be escaped in a regular expression."), - Octal_escape_sequences_and_backreferences_are_not_allowed_in_a_character_class_If_this_was_intended_as_an_escape_sequence_use_the_syntax_0_instead: diag(1536, 1 /* Error */, "Octal_escape_sequences_and_backreferences_are_not_allowed_in_a_character_class_If_this_was_intended__1536", "Octal escape sequences and backreferences are not allowed in a character class. If this was intended as an escape sequence, use the syntax '{0}' instead."), - Decimal_escape_sequences_and_backreferences_are_not_allowed_in_a_character_class: diag(1537, 1 /* Error */, "Decimal_escape_sequences_and_backreferences_are_not_allowed_in_a_character_class_1537", "Decimal escape sequences and backreferences are not allowed in a character class."), - Unicode_escape_sequences_are_only_available_when_the_Unicode_u_flag_or_the_Unicode_Sets_v_flag_is_set: diag(1538, 1 /* Error */, "Unicode_escape_sequences_are_only_available_when_the_Unicode_u_flag_or_the_Unicode_Sets_v_flag_is_se_1538", "Unicode escape sequences are only available when the Unicode (u) flag or the Unicode Sets (v) flag is set."), - A_bigint_literal_cannot_be_used_as_a_property_name: diag(1539, 1 /* Error */, "A_bigint_literal_cannot_be_used_as_a_property_name_1539", "A 'bigint' literal cannot be used as a property name."), - A_namespace_declaration_should_not_be_declared_using_the_module_keyword_Please_use_the_namespace_keyword_instead: diag( - 1540, - 2 /* Suggestion */, - "A_namespace_declaration_should_not_be_declared_using_the_module_keyword_Please_use_the_namespace_key_1540", - "A 'namespace' declaration should not be declared using the 'module' keyword. Please use the 'namespace' keyword instead.", - /*reportsUnnecessary*/ - void 0, - /*elidedInCompatabilityPyramid*/ - void 0, - /*reportsDeprecated*/ - true - ), - The_types_of_0_are_incompatible_between_these_types: diag(2200, 1 /* 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: diag(2201, 1 /* 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: diag( - 2202, - 1 /* Error */, - "Call_signature_return_types_0_and_1_are_incompatible_2202", - "Call signature return types '{0}' and '{1}' are incompatible.", - /*reportsUnnecessary*/ - void 0, - /*elidedInCompatabilityPyramid*/ - true - ), - Construct_signature_return_types_0_and_1_are_incompatible: diag( - 2203, - 1 /* Error */, - "Construct_signature_return_types_0_and_1_are_incompatible_2203", - "Construct signature return types '{0}' and '{1}' are incompatible.", - /*reportsUnnecessary*/ - void 0, - /*elidedInCompatabilityPyramid*/ - true - ), - Call_signatures_with_no_arguments_have_incompatible_return_types_0_and_1: diag( - 2204, - 1 /* 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}'.", - /*reportsUnnecessary*/ - void 0, - /*elidedInCompatabilityPyramid*/ - true - ), - Construct_signatures_with_no_arguments_have_incompatible_return_types_0_and_1: diag( - 2205, - 1 /* 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}'.", - /*reportsUnnecessary*/ - void 0, - /*elidedInCompatabilityPyramid*/ - true - ), - The_type_modifier_cannot_be_used_on_a_named_import_when_import_type_is_used_on_its_import_statement: diag(2206, 1 /* 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: diag(2207, 1 /* 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."), - This_type_parameter_might_need_an_extends_0_constraint: diag(2208, 1 /* Error */, "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: diag(2209, 1 /* Error */, "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: diag(2210, 1 /* Error */, "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: diag(2211, 3 /* Message */, "Add_extends_constraint_2211", "Add `extends` constraint."), - Add_extends_constraint_to_all_type_parameters: diag(2212, 3 /* Message */, "Add_extends_constraint_to_all_type_parameters_2212", "Add `extends` constraint to all type parameters"), - Duplicate_identifier_0: diag(2300, 1 /* Error */, "Duplicate_identifier_0_2300", "Duplicate identifier '{0}'."), - Initializer_of_instance_member_variable_0_cannot_reference_identifier_1_declared_in_the_constructor: diag(2301, 1 /* 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: diag(2302, 1 /* Error */, "Static_members_cannot_reference_class_type_parameters_2302", "Static members cannot reference class type parameters."), - Circular_definition_of_import_alias_0: diag(2303, 1 /* Error */, "Circular_definition_of_import_alias_0_2303", "Circular definition of import alias '{0}'."), - Cannot_find_name_0: diag(2304, 1 /* Error */, "Cannot_find_name_0_2304", "Cannot find name '{0}'."), - Module_0_has_no_exported_member_1: diag(2305, 1 /* Error */, "Module_0_has_no_exported_member_1_2305", "Module '{0}' has no exported member '{1}'."), - File_0_is_not_a_module: diag(2306, 1 /* Error */, "File_0_is_not_a_module_2306", "File '{0}' is not a module."), - Cannot_find_module_0_or_its_corresponding_type_declarations: diag(2307, 1 /* 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: diag(2308, 1 /* 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: diag(2309, 1 /* 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: diag(2310, 1 /* Error */, "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: diag(2311, 1 /* Error */, "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: diag(2312, 1 /* 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: diag(2313, 1 /* Error */, "Type_parameter_0_has_a_circular_constraint_2313", "Type parameter '{0}' has a circular constraint."), - Generic_type_0_requires_1_type_argument_s: diag(2314, 1 /* Error */, "Generic_type_0_requires_1_type_argument_s_2314", "Generic type '{0}' requires {1} type argument(s)."), - Type_0_is_not_generic: diag(2315, 1 /* Error */, "Type_0_is_not_generic_2315", "Type '{0}' is not generic."), - Global_type_0_must_be_a_class_or_interface_type: diag(2316, 1 /* 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: diag(2317, 1 /* 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: diag(2318, 1 /* Error */, "Cannot_find_global_type_0_2318", "Cannot find global type '{0}'."), - Named_property_0_of_types_1_and_2_are_not_identical: diag(2319, 1 /* 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: diag(2320, 1 /* 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: diag(2321, 1 /* 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: diag(2322, 1 /* Error */, "Type_0_is_not_assignable_to_type_1_2322", "Type '{0}' is not assignable to type '{1}'."), - Cannot_redeclare_exported_variable_0: diag(2323, 1 /* Error */, "Cannot_redeclare_exported_variable_0_2323", "Cannot redeclare exported variable '{0}'."), - Property_0_is_missing_in_type_1: diag(2324, 1 /* 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: diag(2325, 1 /* 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: diag(2326, 1 /* 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: diag(2327, 1 /* 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: diag(2328, 1 /* 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: diag(2329, 1 /* 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: diag(2330, 1 /* 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: diag(2331, 1 /* 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: diag(2332, 1 /* Error */, "this_cannot_be_referenced_in_current_location_2332", "'this' cannot be referenced in current location."), - this_cannot_be_referenced_in_a_static_property_initializer: diag(2334, 1 /* 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: diag(2335, 1 /* 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: diag(2336, 1 /* 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: diag(2337, 1 /* 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: diag(2338, 1 /* 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: diag(2339, 1 /* 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: diag(2340, 1 /* 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: diag(2341, 1 /* 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: diag(2343, 1 /* 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: diag(2344, 1 /* 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: diag(2345, 1 /* 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}'."), - Untyped_function_calls_may_not_accept_type_arguments: diag(2347, 1 /* 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: diag(2348, 1 /* 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: diag(2349, 1 /* Error */, "This_expression_is_not_callable_2349", "This expression is not callable."), - Only_a_void_function_can_be_called_with_the_new_keyword: diag(2350, 1 /* 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: diag(2351, 1 /* 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: diag(2352, 1 /* 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: diag(2353, 1 /* 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: diag(2354, 1 /* 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_undefined_void_nor_any_must_return_a_value: diag(2355, 1 /* Error */, "A_function_whose_declared_type_is_neither_undefined_void_nor_any_must_return_a_value_2355", "A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value."), - An_arithmetic_operand_must_be_of_type_any_number_bigint_or_an_enum_type: diag(2356, 1 /* 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: diag(2357, 1 /* 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: diag(2358, 1 /* 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_either_of_type_any_a_class_function_or_other_type_assignable_to_the_Function_interface_type_or_an_object_type_with_a_Symbol_hasInstance_method: diag(2359, 1 /* Error */, "The_right_hand_side_of_an_instanceof_expression_must_be_either_of_type_any_a_class_function_or_other_2359", "The right-hand side of an 'instanceof' expression must be either of type 'any', a class, function, or other type assignable to the 'Function' interface type, or an object type with a 'Symbol.hasInstance' method."), - The_left_hand_side_of_an_arithmetic_operation_must_be_of_type_any_number_bigint_or_an_enum_type: diag(2362, 1 /* 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: diag(2363, 1 /* 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: diag(2364, 1 /* 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: diag(2365, 1 /* 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: diag(2366, 1 /* 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_comparison_appears_to_be_unintentional_because_the_types_0_and_1_have_no_overlap: diag(2367, 1 /* Error */, "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: diag(2368, 1 /* Error */, "Type_parameter_name_cannot_be_0_2368", "Type parameter name cannot be '{0}'."), - A_parameter_property_is_only_allowed_in_a_constructor_implementation: diag(2369, 1 /* 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: diag(2370, 1 /* 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: diag(2371, 1 /* 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: diag(2372, 1 /* Error */, "Parameter_0_cannot_reference_itself_2372", "Parameter '{0}' cannot reference itself."), - Parameter_0_cannot_reference_identifier_1_declared_after_it: diag(2373, 1 /* 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: diag(2374, 1 /* 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: diag(2375, 1 /* 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_to_refer_to_super_or_this_when_a_derived_class_contains_initialized_properties_parameter_properties_or_private_identifiers: diag(2376, 1 /* Error */, "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: diag(2377, 1 /* 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: diag(2378, 1 /* 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: diag(2379, 1 /* 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."), - Overload_signatures_must_all_be_exported_or_non_exported: diag(2383, 1 /* 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: diag(2384, 1 /* 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: diag(2385, 1 /* 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: diag(2386, 1 /* Error */, "Overload_signatures_must_all_be_optional_or_required_2386", "Overload signatures must all be optional or required."), - Function_overload_must_be_static: diag(2387, 1 /* Error */, "Function_overload_must_be_static_2387", "Function overload must be static."), - Function_overload_must_not_be_static: diag(2388, 1 /* Error */, "Function_overload_must_not_be_static_2388", "Function overload must not be static."), - Function_implementation_name_must_be_0: diag(2389, 1 /* Error */, "Function_implementation_name_must_be_0_2389", "Function implementation name must be '{0}'."), - Constructor_implementation_is_missing: diag(2390, 1 /* Error */, "Constructor_implementation_is_missing_2390", "Constructor implementation is missing."), - Function_implementation_is_missing_or_not_immediately_following_the_declaration: diag(2391, 1 /* 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: diag(2392, 1 /* Error */, "Multiple_constructor_implementations_are_not_allowed_2392", "Multiple constructor implementations are not allowed."), - Duplicate_function_implementation: diag(2393, 1 /* Error */, "Duplicate_function_implementation_2393", "Duplicate function implementation."), - This_overload_signature_is_not_compatible_with_its_implementation_signature: diag(2394, 1 /* 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: diag(2395, 1 /* 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: diag(2396, 1 /* 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: diag(2397, 1 /* 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: diag(2398, 1 /* 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: diag(2399, 1 /* 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: diag(2400, 1 /* 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."), - A_super_call_must_be_a_root_level_statement_within_a_constructor_of_a_derived_class_that_contains_initialized_properties_parameter_properties_or_private_identifiers: diag(2401, 1 /* Error */, "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: diag(2402, 1 /* 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: diag(2403, 1 /* 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: diag(2404, 1 /* 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: diag(2405, 1 /* 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: diag(2406, 1 /* 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: diag(2407, 1 /* 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: diag(2408, 1 /* 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: diag(2409, 1 /* 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: diag(2410, 1 /* 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: diag(2412, 1 /* 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: diag(2411, 1 /* 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: diag(2413, 1 /* 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: diag(2414, 1 /* Error */, "Class_name_cannot_be_0_2414", "Class name cannot be '{0}'."), - Class_0_incorrectly_extends_base_class_1: diag(2415, 1 /* 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: diag(2416, 1 /* 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: diag(2417, 1 /* 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: diag(2418, 1 /* 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: diag(2419, 1 /* Error */, "Types_of_construct_signatures_are_incompatible_2419", "Types of construct signatures are incompatible."), - Class_0_incorrectly_implements_interface_1: diag(2420, 1 /* 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: diag(2422, 1 /* 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: diag(2423, 1 /* 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: diag(2425, 1 /* 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: diag(2426, 1 /* 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: diag(2427, 1 /* Error */, "Interface_name_cannot_be_0_2427", "Interface name cannot be '{0}'."), - All_declarations_of_0_must_have_identical_type_parameters: diag(2428, 1 /* 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: diag(2430, 1 /* Error */, "Interface_0_incorrectly_extends_interface_1_2430", "Interface '{0}' incorrectly extends interface '{1}'."), - Enum_name_cannot_be_0: diag(2431, 1 /* 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: diag(2432, 1 /* 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: diag(2433, 1 /* 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: diag(2434, 1 /* 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: diag(2435, 1 /* 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: diag(2436, 1 /* 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: diag(2437, 1 /* 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: diag(2438, 1 /* 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: diag(2439, 1 /* 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: diag(2440, 1 /* 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: diag(2441, 1 /* 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: diag(2442, 1 /* 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: diag(2443, 1 /* 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: diag(2444, 1 /* 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: diag(2445, 1 /* 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: diag(2446, 1 /* 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: diag(2447, 1 /* 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: diag(2448, 1 /* Error */, "Block_scoped_variable_0_used_before_its_declaration_2448", "Block-scoped variable '{0}' used before its declaration."), - Class_0_used_before_its_declaration: diag(2449, 1 /* Error */, "Class_0_used_before_its_declaration_2449", "Class '{0}' used before its declaration."), - Enum_0_used_before_its_declaration: diag(2450, 1 /* Error */, "Enum_0_used_before_its_declaration_2450", "Enum '{0}' used before its declaration."), - Cannot_redeclare_block_scoped_variable_0: diag(2451, 1 /* Error */, "Cannot_redeclare_block_scoped_variable_0_2451", "Cannot redeclare block-scoped variable '{0}'."), - An_enum_member_cannot_have_a_numeric_name: diag(2452, 1 /* 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: diag(2454, 1 /* Error */, "Variable_0_is_used_before_being_assigned_2454", "Variable '{0}' is used before being assigned."), - Type_alias_0_circularly_references_itself: diag(2456, 1 /* Error */, "Type_alias_0_circularly_references_itself_2456", "Type alias '{0}' circularly references itself."), - Type_alias_name_cannot_be_0: diag(2457, 1 /* Error */, "Type_alias_name_cannot_be_0_2457", "Type alias name cannot be '{0}'."), - An_AMD_module_cannot_have_multiple_name_assignments: diag(2458, 1 /* 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: diag(2459, 1 /* 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: diag(2460, 1 /* 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: diag(2461, 1 /* 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: diag(2462, 1 /* 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: diag(2463, 1 /* 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: diag(2464, 1 /* 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: diag(2465, 1 /* 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: diag(2466, 1 /* 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: diag(2467, 1 /* 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: diag(2468, 1 /* Error */, "Cannot_find_global_value_0_2468", "Cannot find global value '{0}'."), - The_0_operator_cannot_be_applied_to_type_symbol: diag(2469, 1 /* 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: diag(2472, 1 /* 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: diag(2473, 1 /* Error */, "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: diag(2474, 1 /* Error */, "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: diag(2475, 1 /* 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: diag(2476, 1 /* 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: diag(2477, 1 /* 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: diag(2478, 1 /* 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: diag(2480, 1 /* 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: diag(2481, 1 /* 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: diag(2483, 1 /* 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: diag(2484, 1 /* 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: diag(2487, 1 /* 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: diag(2488, 1 /* 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: diag(2489, 1 /* 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: diag(2490, 1 /* 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: diag(2491, 1 /* 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: diag(2492, 1 /* 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: diag(2493, 1 /* 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: diag(2494, 1 /* 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: diag(2495, 1 /* 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_ES5_Consider_using_a_standard_function_expression: diag(2496, 1 /* Error */, "The_arguments_object_cannot_be_referenced_in_an_arrow_function_in_ES5_Consider_using_a_standard_func_2496", "The 'arguments' object cannot be referenced in an arrow function in 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: diag(2497, 1 /* 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: diag(2498, 1 /* 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: diag(2499, 1 /* 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: diag(2500, 1 /* 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: diag(2501, 1 /* 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: diag(2502, 1 /* 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: diag(2503, 1 /* Error */, "Cannot_find_namespace_0_2503", "Cannot find namespace '{0}'."), - Type_0_must_have_a_Symbol_asyncIterator_method_that_returns_an_async_iterator: diag(2504, 1 /* 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: diag(2505, 1 /* 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: diag(2506, 1 /* 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: diag(2507, 1 /* 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: diag(2508, 1 /* 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: diag(2509, 1 /* 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: diag(2510, 1 /* 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: diag(2511, 1 /* 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: diag(2512, 1 /* 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: diag(2513, 1 /* 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."), - A_tuple_type_cannot_be_indexed_with_a_negative_value: diag(2514, 1 /* Error */, "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: diag(2515, 1 /* 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: diag(2516, 1 /* 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: diag(2517, 1 /* 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: diag(2518, 1 /* 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: diag(2519, 1 /* 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: diag(2520, 1 /* 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_ES5_Consider_using_a_standard_function_or_method: diag(2522, 1 /* Error */, "The_arguments_object_cannot_be_referenced_in_an_async_function_or_method_in_ES5_Consider_using_a_sta_2522", "The 'arguments' object cannot be referenced in an async function or method in ES5. Consider using a standard function or method."), - yield_expressions_cannot_be_used_in_a_parameter_initializer: diag(2523, 1 /* 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: diag(2524, 1 /* Error */, "await_expressions_cannot_be_used_in_a_parameter_initializer_2524", "'await' expressions cannot be used in a parameter initializer."), - A_this_type_is_available_only_in_a_non_static_member_of_a_class_or_interface: diag(2526, 1 /* 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: diag(2527, 1 /* 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: diag(2528, 1 /* 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: diag(2529, 1 /* 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: diag(2530, 1 /* Error */, "Property_0_is_incompatible_with_index_signature_2530", "Property '{0}' is incompatible with index signature."), - Object_is_possibly_null: diag(2531, 1 /* Error */, "Object_is_possibly_null_2531", "Object is possibly 'null'."), - Object_is_possibly_undefined: diag(2532, 1 /* Error */, "Object_is_possibly_undefined_2532", "Object is possibly 'undefined'."), - Object_is_possibly_null_or_undefined: diag(2533, 1 /* Error */, "Object_is_possibly_null_or_undefined_2533", "Object is possibly 'null' or 'undefined'."), - A_function_returning_never_cannot_have_a_reachable_end_point: diag(2534, 1 /* Error */, "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: diag(2536, 1 /* 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: diag(2537, 1 /* 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: diag(2538, 1 /* 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: diag(2539, 1 /* 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: diag(2540, 1 /* 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: diag(2542, 1 /* 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: diag(2543, 1 /* 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: diag(2544, 1 /* 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: diag(2545, 1 /* 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: diag(2547, 1 /* 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: diag(2548, 1 /* 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: diag(2549, 1 /* 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: diag(2550, 1 /* 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: diag(2551, 1 /* 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: diag(2552, 1 /* 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: diag(2553, 1 /* 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: diag(2554, 1 /* Error */, "Expected_0_arguments_but_got_1_2554", "Expected {0} arguments, but got {1}."), - Expected_at_least_0_arguments_but_got_1: diag(2555, 1 /* 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: diag(2556, 1 /* 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: diag(2558, 1 /* 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: diag(2559, 1 /* 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: diag(2560, 1 /* 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: diag(2561, 1 /* 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: diag(2562, 1 /* 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: diag(2563, 1 /* 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: diag(2564, 1 /* 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: diag(2565, 1 /* Error */, "Property_0_is_used_before_being_assigned_2565", "Property '{0}' is used before being assigned."), - A_rest_element_cannot_have_a_property_name: diag(2566, 1 /* 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: diag(2567, 1 /* 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: diag(2568, 1 /* 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}'?"), - Could_not_find_name_0_Did_you_mean_1: diag(2570, 1 /* 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: diag(2571, 1 /* Error */, "Object_is_of_type_unknown_2571", "Object is of type 'unknown'."), - A_rest_element_type_must_be_an_array_type: diag(2574, 1 /* 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: diag(2575, 1 /* 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: diag(2576, 1 /* 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: diag(2577, 1 /* Error */, "Return_type_annotation_circularly_references_itself_2577", "Return type annotation circularly references itself."), - Unused_ts_expect_error_directive: diag(2578, 1 /* 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: diag(2580, 1 /* 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: diag(2581, 1 /* 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: diag(2582, 1 /* 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: diag(2583, 1 /* 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: diag(2584, 1 /* 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: diag(2585, 1 /* 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: diag(2588, 1 /* 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: diag(2589, 1 /* 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: diag(2590, 1 /* 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: diag(2591, 1 /* 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: diag(2592, 1 /* 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: diag(2593, 1 /* 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_export_and_can_only_be_used_with_a_default_import_when_using_the_0_flag: diag(2594, 1 /* Error */, "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: diag(2595, 1 /* 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: diag(2596, 1 /* 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: diag(2597, 1 /* 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: diag(2598, 1 /* 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: diag(2602, 1 /* 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: diag(2603, 1 /* 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: diag(2604, 1 /* 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: diag(2606, 1 /* 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: diag(2607, 1 /* 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: diag(2608, 1 /* 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: diag(2609, 1 /* 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: diag(2610, 1 /* 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: diag(2611, 1 /* 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: diag(2612, 1 /* 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: diag(2613, 1 /* 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: diag(2614, 1 /* 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: diag(2615, 1 /* 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: diag(2616, 1 /* 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: diag(2617, 1 /* 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: diag(2618, 1 /* 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: diag(2619, 1 /* 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: diag(2620, 1 /* 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: diag(2621, 1 /* 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: diag(2623, 1 /* 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: diag(2624, 1 /* 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: diag(2625, 1 /* 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: diag(2626, 1 /* 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: diag(2627, 1 /* 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: diag(2628, 1 /* 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: diag(2629, 1 /* 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: diag(2630, 1 /* 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: diag(2631, 1 /* 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: diag(2632, 1 /* 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: diag(2633, 1 /* 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: diag(2634, 1 /* Error */, "_0_index_signatures_are_incompatible_2634", "'{0}' index signatures are incompatible."), - Type_0_has_no_signatures_for_which_the_type_argument_list_is_applicable: diag(2635, 1 /* Error */, "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: diag(2636, 1 /* Error */, "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: diag(2637, 1 /* Error */, "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: diag(2638, 1 /* Error */, "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."), - React_components_cannot_include_JSX_namespace_names: diag(2639, 1 /* Error */, "React_components_cannot_include_JSX_namespace_names_2639", "React components cannot include JSX namespace names"), - Cannot_augment_module_0_with_value_exports_because_it_resolves_to_a_non_module_entity: diag(2649, 1 /* 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."), - Non_abstract_class_expression_is_missing_implementations_for_the_following_members_of_0_Colon_1_and_2_more: diag(2650, 1 /* Error */, "Non_abstract_class_expression_is_missing_implementations_for_the_following_members_of_0_Colon_1_and__2650", "Non-abstract class expression is missing implementations for the following members of '{0}': {1} and {2} more."), - A_member_initializer_in_a_enum_declaration_cannot_reference_members_declared_after_it_including_members_defined_in_other_enums: diag(2651, 1 /* 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: diag(2652, 1 /* 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: diag(2653, 1 /* 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}'."), - Non_abstract_class_0_is_missing_implementations_for_the_following_members_of_1_Colon_2: diag(2654, 1 /* Error */, "Non_abstract_class_0_is_missing_implementations_for_the_following_members_of_1_Colon_2_2654", "Non-abstract class '{0}' is missing implementations for the following members of '{1}': {2}."), - Non_abstract_class_0_is_missing_implementations_for_the_following_members_of_1_Colon_2_and_3_more: diag(2655, 1 /* Error */, "Non_abstract_class_0_is_missing_implementations_for_the_following_members_of_1_Colon_2_and_3_more_2655", "Non-abstract class '{0}' is missing implementations for the following members of '{1}': {2} and {3} more."), - Non_abstract_class_expression_is_missing_implementations_for_the_following_members_of_0_Colon_1: diag(2656, 1 /* Error */, "Non_abstract_class_expression_is_missing_implementations_for_the_following_members_of_0_Colon_1_2656", "Non-abstract class expression is missing implementations for the following members of '{0}': {1}."), - JSX_expressions_must_have_one_parent_element: diag(2657, 1 /* 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: diag(2658, 1 /* 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: diag(2659, 1 /* 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: diag(2660, 1 /* 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: diag(2661, 1 /* 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: diag(2662, 1 /* 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: diag(2663, 1 /* 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: diag(2664, 1 /* 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: diag(2665, 1 /* 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: diag(2666, 1 /* 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: diag(2667, 1 /* 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: diag(2668, 1 /* 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: diag(2669, 1 /* 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: diag(2670, 1 /* 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: diag(2671, 1 /* 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: diag(2672, 1 /* 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: diag(2673, 1 /* 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: diag(2674, 1 /* 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: diag(2675, 1 /* 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: diag(2676, 1 /* 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: diag(2677, 1 /* 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: diag(2678, 1 /* 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: diag(2679, 1 /* 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: diag(2680, 1 /* 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: diag(2681, 1 /* 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: diag(2683, 1 /* 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: diag(2684, 1 /* 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: diag(2685, 1 /* 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: diag(2686, 1 /* 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: diag(2687, 1 /* 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: diag(2688, 1 /* 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: diag(2689, 1 /* 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: diag(2690, 1 /* 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}'?"), - _0_is_a_primitive_but_1_is_a_wrapper_object_Prefer_using_0_when_possible: diag(2692, 1 /* 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: diag(2693, 1 /* 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: diag(2694, 1 /* 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: diag( - 2695, - 1 /* 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.", - /*reportsUnnecessary*/ - true - ), - The_Object_type_is_assignable_to_very_few_other_types_Did_you_mean_to_use_the_any_type_instead: diag(2696, 1 /* 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: diag(2697, 1 /* 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: diag(2698, 1 /* 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: diag(2699, 1 /* 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: diag(2700, 1 /* 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: diag(2701, 1 /* 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: diag(2702, 1 /* 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: diag(2703, 1 /* 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: diag(2704, 1 /* 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_requires_the_Promise_constructor_Make_sure_you_have_a_declaration_for_the_Promise_constructor_or_include_ES2015_in_your_lib_option: diag(2705, 1 /* Error */, "An_async_function_or_method_in_ES5_requires_the_Promise_constructor_Make_sure_you_have_a_declaration_2705", "An async function or method in ES5 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: diag(2706, 1 /* 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: diag(2707, 1 /* 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: diag(2708, 1 /* Error */, "Cannot_use_namespace_0_as_a_value_2708", "Cannot use namespace '{0}' as a value."), - Cannot_use_namespace_0_as_a_type: diag(2709, 1 /* 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: diag(2710, 1 /* 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: diag(2711, 1 /* 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_requires_the_Promise_constructor_Make_sure_you_have_a_declaration_for_the_Promise_constructor_or_include_ES2015_in_your_lib_option: diag(2712, 1 /* Error */, "A_dynamic_import_call_in_ES5_requires_the_Promise_constructor_Make_sure_you_have_a_declaration_for_t_2712", "A dynamic import call in ES5 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: diag(2713, 1 /* 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: diag(2714, 1 /* 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: diag(2715, 1 /* 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: diag(2716, 1 /* 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: diag(2717, 1 /* 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: diag(2718, 1 /* 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: diag(2719, 1 /* 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: diag(2720, 1 /* 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: diag(2721, 1 /* 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: diag(2722, 1 /* 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: diag(2723, 1 /* 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: diag(2724, 1 /* 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: diag(2725, 1 /* 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: diag(2726, 1 /* Error */, "Cannot_find_lib_definition_for_0_2726", "Cannot find lib definition for '{0}'."), - Cannot_find_lib_definition_for_0_Did_you_mean_1: diag(2727, 1 /* 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: diag(2728, 3 /* Message */, "_0_is_declared_here_2728", "'{0}' is declared here."), - Property_0_is_used_before_its_initialization: diag(2729, 1 /* Error */, "Property_0_is_used_before_its_initialization_2729", "Property '{0}' is used before its initialization."), - An_arrow_function_cannot_have_a_this_parameter: diag(2730, 1 /* 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: diag(2731, 1 /* 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: diag(2732, 1 /* 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: diag(2733, 1 /* Error */, "Property_0_was_also_declared_here_2733", "Property '{0}' was also declared here."), - Are_you_missing_a_semicolon: diag(2734, 1 /* 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: diag(2735, 1 /* 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: diag(2736, 1 /* 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: diag(2737, 1 /* 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: diag(2738, 3 /* 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: diag(2739, 1 /* 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: diag(2740, 1 /* 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: diag(2741, 1 /* 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: diag(2742, 1 /* 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: diag(2743, 1 /* 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: diag(2744, 1 /* 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: diag(2745, 1 /* 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: diag(2746, 1 /* 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: diag(2747, 1 /* 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_0_is_enabled: diag(2748, 1 /* Error */, "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: diag(2749, 1 /* 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: diag(2750, 1 /* Error */, "The_implementation_signature_is_declared_here_2750", "The implementation signature is declared here."), - Circularity_originates_in_type_at_this_location: diag(2751, 1 /* Error */, "Circularity_originates_in_type_at_this_location_2751", "Circularity originates in type at this location."), - The_first_export_default_is_here: diag(2752, 1 /* Error */, "The_first_export_default_is_here_2752", "The first export default is here."), - Another_export_default_is_here: diag(2753, 1 /* Error */, "Another_export_default_is_here_2753", "Another export default is here."), - super_may_not_use_type_arguments: diag(2754, 1 /* Error */, "super_may_not_use_type_arguments_2754", "'super' may not use type arguments."), - No_constituent_of_type_0_is_callable: diag(2755, 1 /* Error */, "No_constituent_of_type_0_is_callable_2755", "No constituent of type '{0}' is callable."), - Not_all_constituents_of_type_0_are_callable: diag(2756, 1 /* Error */, "Not_all_constituents_of_type_0_are_callable_2756", "Not all constituents of type '{0}' are callable."), - Type_0_has_no_call_signatures: diag(2757, 1 /* 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: diag(2758, 1 /* 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: diag(2759, 1 /* Error */, "No_constituent_of_type_0_is_constructable_2759", "No constituent of type '{0}' is constructable."), - Not_all_constituents_of_type_0_are_constructable: diag(2760, 1 /* Error */, "Not_all_constituents_of_type_0_are_constructable_2760", "Not all constituents of type '{0}' are constructable."), - Type_0_has_no_construct_signatures: diag(2761, 1 /* 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: diag(2762, 1 /* 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: diag(2763, 1 /* 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: diag(2764, 1 /* 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: diag(2765, 1 /* 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: diag(2766, 1 /* 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: diag(2767, 1 /* 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: diag(2768, 1 /* 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: diag(2769, 1 /* Error */, "No_overload_matches_this_call_2769", "No overload matches this call."), - The_last_overload_gave_the_following_error: diag(2770, 1 /* Error */, "The_last_overload_gave_the_following_error_2770", "The last overload gave the following error."), - The_last_overload_is_declared_here: diag(2771, 1 /* Error */, "The_last_overload_is_declared_here_2771", "The last overload is declared here."), - Overload_0_of_1_2_gave_the_following_error: diag(2772, 1 /* 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: diag(2773, 1 /* 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: diag(2774, 1 /* 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: diag(2775, 1 /* 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: diag(2776, 1 /* 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: diag(2777, 1 /* 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: diag(2778, 1 /* 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: diag(2779, 1 /* 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: diag(2780, 1 /* 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: diag(2781, 1 /* 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: diag(2782, 3 /* 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: diag(2783, 1 /* 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: diag(2784, 1 /* Error */, "get_and_set_accessors_cannot_declare_this_parameters_2784", "'get' and 'set' accessors cannot declare 'this' parameters."), - This_spread_always_overwrites_this_property: diag(2785, 1 /* Error */, "This_spread_always_overwrites_this_property_2785", "This spread always overwrites this property."), - _0_cannot_be_used_as_a_JSX_component: diag(2786, 1 /* 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: diag(2787, 1 /* 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: diag(2788, 1 /* 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: diag(2789, 1 /* 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: diag(2790, 1 /* 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: diag(2791, 1 /* 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_nodenext_or_to_add_aliases_to_the_paths_option: diag(2792, 1 /* Error */, "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: diag(2793, 1 /* 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: diag(2794, 1 /* 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: diag(2795, 1 /* 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: diag(2796, 1 /* 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: diag(2797, 1 /* 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: diag(2798, 1 /* 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: diag(2799, 1 /* 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: diag(2800, 1 /* 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: diag(2801, 1 /* 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: diag(2802, 1 /* 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: diag(2803, 1 /* 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: diag(2804, 1 /* 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."), - Private_accessor_was_defined_without_a_getter: diag(2806, 1 /* 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: diag(2807, 1 /* 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: diag(2808, 1 /* 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_whole_assignment_in_parentheses: diag(2809, 1 /* 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 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: diag(2810, 1 /* Error */, "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: diag(2811, 1 /* 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: diag(2812, 1 /* 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: diag(2813, 1 /* 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: diag(2814, 1 /* 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: diag(2815, 1 /* 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: diag(2816, 1 /* 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: diag(2817, 1 /* 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: diag(2818, 1 /* 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: diag(2819, 1 /* Error */, "Namespace_name_cannot_be_0_2819", "Namespace name cannot be '{0}'."), - Type_0_is_not_assignable_to_type_1_Did_you_mean_2: diag(2820, 1 /* 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_nodenext_or_preserve: diag(2821, 1 /* Error */, "Import_assertions_are_only_supported_when_the_module_option_is_set_to_esnext_nodenext_or_preserve_2821", "Import assertions are only supported when the '--module' option is set to 'esnext', 'nodenext', or 'preserve'."), - Import_assertions_cannot_be_used_with_type_only_imports_or_exports: diag(2822, 1 /* Error */, "Import_assertions_cannot_be_used_with_type_only_imports_or_exports_2822", "Import assertions cannot be used with type-only imports or exports."), - Import_attributes_are_only_supported_when_the_module_option_is_set_to_esnext_nodenext_or_preserve: diag(2823, 1 /* Error */, "Import_attributes_are_only_supported_when_the_module_option_is_set_to_esnext_nodenext_or_preserve_2823", "Import attributes are only supported when the '--module' option is set to 'esnext', 'nodenext', or 'preserve'."), - Cannot_find_namespace_0_Did_you_mean_1: diag(2833, 1 /* 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_node16_or_nodenext_Consider_adding_an_extension_to_the_import_path: diag(2834, 1 /* 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 '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: diag(2835, 1 /* 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 'node16' or 'nodenext'. Did you mean '{0}'?"), - Import_assertions_are_not_allowed_on_statements_that_compile_to_CommonJS_require_calls: diag(2836, 1 /* Error */, "Import_assertions_are_not_allowed_on_statements_that_compile_to_CommonJS_require_calls_2836", "Import assertions are not allowed on statements that compile to CommonJS 'require' calls."), - Import_assertion_values_must_be_string_literal_expressions: diag(2837, 1 /* Error */, "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: diag(2838, 1 /* Error */, "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: diag(2839, 1 /* Error */, "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_It_can_only_extend_other_named_object_types: diag(2840, 1 /* Error */, "An_interface_cannot_extend_a_primitive_type_like_0_It_can_only_extend_other_named_object_types_2840", "An interface cannot extend a primitive type like '{0}'. It can only extend other named object types."), - _0_is_an_unused_renaming_of_1_Did_you_intend_to_use_it_as_a_type_annotation: diag(2842, 1 /* Error */, "_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: diag(2843, 1 /* Error */, "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: diag(2844, 1 /* Error */, "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: diag(2845, 1 /* Error */, "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: diag(2846, 1 /* Error */, "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?"), - The_right_hand_side_of_an_instanceof_expression_must_not_be_an_instantiation_expression: diag(2848, 1 /* Error */, "The_right_hand_side_of_an_instanceof_expression_must_not_be_an_instantiation_expression_2848", "The right-hand side of an 'instanceof' expression must not be an instantiation expression."), - Target_signature_provides_too_few_arguments_Expected_0_or_more_but_got_1: diag(2849, 1 /* Error */, "Target_signature_provides_too_few_arguments_Expected_0_or_more_but_got_1_2849", "Target signature provides too few arguments. Expected {0} or more, but got {1}."), - The_initializer_of_a_using_declaration_must_be_either_an_object_with_a_Symbol_dispose_method_or_be_null_or_undefined: diag(2850, 1 /* Error */, "The_initializer_of_a_using_declaration_must_be_either_an_object_with_a_Symbol_dispose_method_or_be_n_2850", "The initializer of a 'using' declaration must be either an object with a '[Symbol.dispose]()' method, or be 'null' or 'undefined'."), - The_initializer_of_an_await_using_declaration_must_be_either_an_object_with_a_Symbol_asyncDispose_or_Symbol_dispose_method_or_be_null_or_undefined: diag(2851, 1 /* Error */, "The_initializer_of_an_await_using_declaration_must_be_either_an_object_with_a_Symbol_asyncDispose_or_2851", "The initializer of an 'await using' declaration must be either an object with a '[Symbol.asyncDispose]()' or '[Symbol.dispose]()' method, or be 'null' or 'undefined'."), - await_using_statements_are_only_allowed_within_async_functions_and_at_the_top_levels_of_modules: diag(2852, 1 /* Error */, "await_using_statements_are_only_allowed_within_async_functions_and_at_the_top_levels_of_modules_2852", "'await using' statements are only allowed within async functions and at the top levels of modules."), - await_using_statements_are_only_allowed_at_the_top_level_of_a_file_when_that_file_is_a_module_but_this_file_has_no_imports_or_exports_Consider_adding_an_empty_export_to_make_this_file_a_module: diag(2853, 1 /* Error */, "await_using_statements_are_only_allowed_at_the_top_level_of_a_file_when_that_file_is_a_module_but_th_2853", "'await using' statements 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_await_using_statements_are_only_allowed_when_the_module_option_is_set_to_es2022_esnext_system_node16_nodenext_or_preserve_and_the_target_option_is_set_to_es2017_or_higher: diag(2854, 1 /* Error */, "Top_level_await_using_statements_are_only_allowed_when_the_module_option_is_set_to_es2022_esnext_sys_2854", "Top-level 'await using' statements are only allowed when the 'module' option is set to 'es2022', 'esnext', 'system', 'node16', 'nodenext', or 'preserve', and the 'target' option is set to 'es2017' or higher."), - Class_field_0_defined_by_the_parent_class_is_not_accessible_in_the_child_class_via_super: diag(2855, 1 /* Error */, "Class_field_0_defined_by_the_parent_class_is_not_accessible_in_the_child_class_via_super_2855", "Class field '{0}' defined by the parent class is not accessible in the child class via super."), - Import_attributes_are_not_allowed_on_statements_that_compile_to_CommonJS_require_calls: diag(2856, 1 /* Error */, "Import_attributes_are_not_allowed_on_statements_that_compile_to_CommonJS_require_calls_2856", "Import attributes are not allowed on statements that compile to CommonJS 'require' calls."), - Import_attributes_cannot_be_used_with_type_only_imports_or_exports: diag(2857, 1 /* Error */, "Import_attributes_cannot_be_used_with_type_only_imports_or_exports_2857", "Import attributes cannot be used with type-only imports or exports."), - Import_attribute_values_must_be_string_literal_expressions: diag(2858, 1 /* Error */, "Import_attribute_values_must_be_string_literal_expressions_2858", "Import attribute values must be string literal expressions."), - Excessive_complexity_comparing_types_0_and_1: diag(2859, 1 /* Error */, "Excessive_complexity_comparing_types_0_and_1_2859", "Excessive complexity comparing types '{0}' and '{1}'."), - The_left_hand_side_of_an_instanceof_expression_must_be_assignable_to_the_first_argument_of_the_right_hand_side_s_Symbol_hasInstance_method: diag(2860, 1 /* Error */, "The_left_hand_side_of_an_instanceof_expression_must_be_assignable_to_the_first_argument_of_the_right_2860", "The left-hand side of an 'instanceof' expression must be assignable to the first argument of the right-hand side's '[Symbol.hasInstance]' method."), - An_object_s_Symbol_hasInstance_method_must_return_a_boolean_value_for_it_to_be_used_on_the_right_hand_side_of_an_instanceof_expression: diag(2861, 1 /* Error */, "An_object_s_Symbol_hasInstance_method_must_return_a_boolean_value_for_it_to_be_used_on_the_right_han_2861", "An object's '[Symbol.hasInstance]' method must return a boolean value for it to be used on the right-hand side of an 'instanceof' expression."), - Type_0_is_generic_and_can_only_be_indexed_for_reading: diag(2862, 1 /* Error */, "Type_0_is_generic_and_can_only_be_indexed_for_reading_2862", "Type '{0}' is generic and can only be indexed for reading."), - A_class_cannot_extend_a_primitive_type_like_0_Classes_can_only_extend_constructable_values: diag(2863, 1 /* Error */, "A_class_cannot_extend_a_primitive_type_like_0_Classes_can_only_extend_constructable_values_2863", "A class cannot extend a primitive type like '{0}'. Classes can only extend constructable values."), - A_class_cannot_implement_a_primitive_type_like_0_It_can_only_implement_other_named_object_types: diag(2864, 1 /* Error */, "A_class_cannot_implement_a_primitive_type_like_0_It_can_only_implement_other_named_object_types_2864", "A class cannot implement a primitive type like '{0}'. It can only implement other named object types."), - Import_0_conflicts_with_local_value_so_must_be_declared_with_a_type_only_import_when_isolatedModules_is_enabled: diag(2865, 1 /* Error */, "Import_0_conflicts_with_local_value_so_must_be_declared_with_a_type_only_import_when_isolatedModules_2865", "Import '{0}' conflicts with local value, so must be declared with a type-only import when 'isolatedModules' is enabled."), - Import_0_conflicts_with_global_value_used_in_this_file_so_must_be_declared_with_a_type_only_import_when_isolatedModules_is_enabled: diag(2866, 1 /* Error */, "Import_0_conflicts_with_global_value_used_in_this_file_so_must_be_declared_with_a_type_only_import_w_2866", "Import '{0}' conflicts with global value used in this file, so must be declared with a type-only import when 'isolatedModules' is enabled."), - Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_Bun_Try_npm_i_save_dev_types_Slashbun: diag(2867, 1 /* Error */, "Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_Bun_Try_npm_i_save_dev_types_Slashbun_2867", "Cannot find name '{0}'. Do you need to install type definitions for Bun? Try `npm i --save-dev @types/bun`."), - Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_Bun_Try_npm_i_save_dev_types_Slashbun_and_then_add_bun_to_the_types_field_in_your_tsconfig: diag(2868, 1 /* Error */, "Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_Bun_Try_npm_i_save_dev_types_Slashbun_2868", "Cannot find name '{0}'. Do you need to install type definitions for Bun? Try `npm i --save-dev @types/bun` and then add 'bun' to the types field in your tsconfig."), - Right_operand_of_is_unreachable_because_the_left_operand_is_never_nullish: diag(2869, 1 /* Error */, "Right_operand_of_is_unreachable_because_the_left_operand_is_never_nullish_2869", "Right operand of ?? is unreachable because the left operand is never nullish."), - This_binary_expression_is_never_nullish_Are_you_missing_parentheses: diag(2870, 1 /* Error */, "This_binary_expression_is_never_nullish_Are_you_missing_parentheses_2870", "This binary expression is never nullish. Are you missing parentheses?"), - This_expression_is_always_nullish: diag(2871, 1 /* Error */, "This_expression_is_always_nullish_2871", "This expression is always nullish."), - This_kind_of_expression_is_always_truthy: diag(2872, 1 /* Error */, "This_kind_of_expression_is_always_truthy_2872", "This kind of expression is always truthy."), - This_kind_of_expression_is_always_falsy: diag(2873, 1 /* Error */, "This_kind_of_expression_is_always_falsy_2873", "This kind of expression is always falsy."), - Import_declaration_0_is_using_private_name_1: diag(4e3, 1 /* 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: diag(4002, 1 /* 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: diag(4004, 1 /* 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: diag(4006, 1 /* 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: diag(4008, 1 /* 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: diag(4010, 1 /* 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: diag(4012, 1 /* 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: diag(4014, 1 /* 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: diag(4016, 1 /* 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: diag(4019, 1 /* 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: diag(4020, 1 /* 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: diag(4021, 1 /* 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: diag(4022, 1 /* 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: diag(4023, 1 /* 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: diag(4024, 1 /* 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: diag(4025, 1 /* 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: diag(4026, 1 /* 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: diag(4027, 1 /* 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: diag(4028, 1 /* 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: diag(4029, 1 /* 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: diag(4030, 1 /* 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: diag(4031, 1 /* 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: diag(4032, 1 /* 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: diag(4033, 1 /* 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: diag(4034, 1 /* 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: diag(4035, 1 /* 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: diag(4036, 1 /* 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: diag(4037, 1 /* 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: diag(4038, 1 /* 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: diag(4039, 1 /* 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: diag(4040, 1 /* 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: diag(4041, 1 /* 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: diag(4042, 1 /* 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: diag(4043, 1 /* 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: diag(4044, 1 /* 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: diag(4045, 1 /* 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: diag(4046, 1 /* 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: diag(4047, 1 /* 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: diag(4048, 1 /* 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: diag(4049, 1 /* 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: diag(4050, 1 /* 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: diag(4051, 1 /* 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: diag(4052, 1 /* 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: diag(4053, 1 /* 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: diag(4054, 1 /* 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: diag(4055, 1 /* 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: diag(4056, 1 /* 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: diag(4057, 1 /* 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: diag(4058, 1 /* 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: diag(4059, 1 /* 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: diag(4060, 1 /* 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: diag(4061, 1 /* 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: diag(4062, 1 /* 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: diag(4063, 1 /* 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: diag(4064, 1 /* 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: diag(4065, 1 /* 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: diag(4066, 1 /* 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: diag(4067, 1 /* 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: diag(4068, 1 /* 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: diag(4069, 1 /* 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: diag(4070, 1 /* 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: diag(4071, 1 /* 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: diag(4072, 1 /* 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: diag(4073, 1 /* 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: diag(4074, 1 /* 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: diag(4075, 1 /* 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: diag(4076, 1 /* 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: diag(4077, 1 /* 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: diag(4078, 1 /* 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: diag(4081, 1 /* 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: diag(4082, 1 /* 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: diag(4083, 1 /* 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: diag(4084, 1 /* 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}."), - Extends_clause_for_inferred_type_0_has_or_is_using_private_name_1: diag(4085, 1 /* Error */, "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}'."), - Parameter_0_of_index_signature_from_exported_interface_has_or_is_using_name_1_from_private_module_2: diag(4091, 1 /* 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: diag(4092, 1 /* 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_anonymous_class_type_may_not_be_private_or_protected: diag(4094, 1 /* Error */, "Property_0_of_exported_anonymous_class_type_may_not_be_private_or_protected_4094", "Property '{0}' of exported anonymous class type 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: diag(4095, 1 /* 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: diag(4096, 1 /* 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: diag(4097, 1 /* 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: diag(4098, 1 /* 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: diag(4099, 1 /* 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: diag(4100, 1 /* 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: diag(4101, 1 /* 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: diag(4102, 1 /* 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: diag(4103, 1 /* 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: diag(4104, 1 /* 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: diag(4105, 1 /* 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: diag(4106, 1 /* 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: diag(4107, 1 /* 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: diag(4108, 1 /* 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: diag(4109, 1 /* Error */, "Type_arguments_for_0_circularly_reference_themselves_4109", "Type arguments for '{0}' circularly reference themselves."), - Tuple_type_arguments_circularly_reference_themselves: diag(4110, 1 /* 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: diag(4111, 1 /* 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: diag(4112, 1 /* 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: diag(4113, 1 /* 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: diag(4114, 1 /* 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: diag(4115, 1 /* 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: diag(4116, 1 /* 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: diag(4117, 1 /* 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: diag(4118, 1 /* 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: diag(4119, 1 /* 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: diag(4120, 1 /* 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: diag(4121, 1 /* 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: diag(4122, 1 /* 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: diag(4123, 1 /* 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: diag(4124, 1 /* 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'."), - Each_declaration_of_0_1_differs_in_its_value_where_2_was_expected_but_3_was_given: diag(4125, 1 /* Error */, "Each_declaration_of_0_1_differs_in_its_value_where_2_was_expected_but_3_was_given_4125", "Each declaration of '{0}.{1}' differs in its value, where '{2}' was expected but '{3}' was given."), - One_value_of_0_1_is_the_string_2_and_the_other_is_assumed_to_be_an_unknown_numeric_value: diag(4126, 1 /* Error */, "One_value_of_0_1_is_the_string_2_and_the_other_is_assumed_to_be_an_unknown_numeric_value_4126", "One value of '{0}.{1}' is the string '{2}', and the other is assumed to be an unknown numeric value."), - The_current_host_does_not_support_the_0_option: diag(5001, 1 /* 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: diag(5009, 1 /* 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: diag(5010, 1 /* 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: diag(5012, 1 /* Error */, "Cannot_read_file_0_Colon_1_5012", "Cannot read file '{0}': {1}."), - Unknown_compiler_option_0: diag(5023, 1 /* Error */, "Unknown_compiler_option_0_5023", "Unknown compiler option '{0}'."), - Compiler_option_0_requires_a_value_of_type_1: diag(5024, 1 /* 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: diag(5025, 1 /* 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: diag(5033, 1 /* 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: diag(5042, 1 /* 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: diag(5047, 1 /* 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_can_only_be_used_when_either_option_inlineSourceMap_or_option_sourceMap_is_provided: diag(5051, 1 /* 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: diag(5052, 1 /* 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: diag(5053, 1 /* 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: diag(5054, 1 /* 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: diag(5055, 1 /* 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: diag(5056, 1 /* 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: diag(5057, 1 /* 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: diag(5058, 1 /* 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: diag(5059, 1 /* 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: diag(5061, 1 /* 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: diag(5062, 1 /* 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: diag(5063, 1 /* 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: diag(5064, 1 /* 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: diag(5065, 1 /* 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: diag(5066, 1 /* 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: diag(5067, 1 /* 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: diag(5068, 1 /* 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: diag(5069, 1 /* 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_when_moduleResolution_is_set_to_classic: diag(5070, 1 /* Error */, "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_cannot_be_specified_when_module_is_set_to_none_system_or_umd: diag(5071, 1 /* Error */, "Option_resolveJsonModule_cannot_be_specified_when_module_is_set_to_none_system_or_umd_5071", "Option '--resolveJsonModule' cannot be specified when 'module' is set to 'none', 'system', or 'umd'."), - Unknown_build_option_0: diag(5072, 1 /* Error */, "Unknown_build_option_0_5072", "Unknown build option '{0}'."), - Build_option_0_requires_a_value_of_type_1: diag(5073, 1 /* 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: diag(5074, 1 /* 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: diag(5075, 1 /* 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: diag(5076, 1 /* 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: diag(5077, 1 /* Error */, "Unknown_build_option_0_Did_you_mean_1_5077", "Unknown build option '{0}'. Did you mean '{1}'?"), - Unknown_watch_option_0: diag(5078, 1 /* Error */, "Unknown_watch_option_0_5078", "Unknown watch option '{0}'."), - Unknown_watch_option_0_Did_you_mean_1: diag(5079, 1 /* 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: diag(5080, 1 /* 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: diag(5081, 1 /* 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: diag(5082, 1 /* 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: diag(5083, 1 /* Error */, "Cannot_read_file_0_5083", "Cannot read file '{0}'."), - A_tuple_member_cannot_be_both_optional_and_rest: diag(5085, 1 /* 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: diag(5086, 1 /* 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: diag(5087, 1 /* 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: diag(5088, 1 /* 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: diag(5089, 1 /* 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: diag(5090, 1 /* 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_0_is_enabled: diag(5091, 1 /* Error */, "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: diag(5092, 1 /* 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: diag(5093, 1 /* 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: diag(5094, 1 /* Error */, "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_preserve_or_to_es2015_or_later: diag(5095, 1 /* Error */, "Option_0_can_only_be_used_when_module_is_set_to_preserve_or_to_es2015_or_later_5095", "Option '{0}' can only be used when 'module' is set to 'preserve' or to 'es2015' or later."), - Option_allowImportingTsExtensions_can_only_be_used_when_either_noEmit_or_emitDeclarationOnly_is_set: diag(5096, 1 /* Error */, "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: diag(5097, 1 /* Error */, "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: diag(5098, 1 /* Error */, "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: diag(5101, 1 /* Error */, "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: diag(5102, 1 /* Error */, "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: diag(5103, 1 /* Error */, "Invalid_value_for_ignoreDeprecations_5103", "Invalid value for '--ignoreDeprecations'."), - Option_0_is_redundant_and_cannot_be_specified_with_option_1: diag(5104, 1 /* Error */, "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: diag(5105, 1 /* Error */, "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: diag(5106, 3 /* Message */, "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: diag(5107, 1 /* Error */, "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: diag(5108, 1 /* Error */, "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."), - Option_moduleResolution_must_be_set_to_0_or_left_unspecified_when_option_module_is_set_to_1: diag(5109, 1 /* Error */, "Option_moduleResolution_must_be_set_to_0_or_left_unspecified_when_option_module_is_set_to_1_5109", "Option 'moduleResolution' must be set to '{0}' (or left unspecified) when option 'module' is set to '{1}'."), - Option_module_must_be_set_to_0_when_option_moduleResolution_is_set_to_1: diag(5110, 1 /* Error */, "Option_module_must_be_set_to_0_when_option_moduleResolution_is_set_to_1_5110", "Option 'module' must be set to '{0}' when option 'moduleResolution' is set to '{1}'."), - Generates_a_sourcemap_for_each_corresponding_d_ts_file: diag(6e3, 3 /* 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: diag(6001, 3 /* Message */, "Concatenate_and_emit_output_to_single_file_6001", "Concatenate and emit output to single file."), - Generates_corresponding_d_ts_file: diag(6002, 3 /* 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: diag(6004, 3 /* 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: diag(6005, 3 /* Message */, "Watch_input_files_6005", "Watch input files."), - Redirect_output_structure_to_the_directory: diag(6006, 3 /* Message */, "Redirect_output_structure_to_the_directory_6006", "Redirect output structure to the directory."), - Do_not_erase_const_enum_declarations_in_generated_code: diag(6007, 3 /* 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: diag(6008, 3 /* 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: diag(6009, 3 /* Message */, "Do_not_emit_comments_to_output_6009", "Do not emit comments to output."), - Do_not_emit_outputs: diag(6010, 3 /* 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: diag(6011, 3 /* 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: diag(6012, 3 /* Message */, "Skip_type_checking_of_declaration_files_6012", "Skip type checking of declaration files."), - Do_not_resolve_the_real_path_of_symlinks: diag(6013, 3 /* Message */, "Do_not_resolve_the_real_path_of_symlinks_6013", "Do not resolve the real path of symlinks."), - Only_emit_d_ts_declaration_files: diag(6014, 3 /* Message */, "Only_emit_d_ts_declaration_files_6014", "Only emit '.d.ts' declaration files."), - Specify_ECMAScript_target_version: diag(6015, 3 /* Message */, "Specify_ECMAScript_target_version_6015", "Specify ECMAScript target version."), - Specify_module_code_generation: diag(6016, 3 /* Message */, "Specify_module_code_generation_6016", "Specify module code generation."), - Print_this_message: diag(6017, 3 /* Message */, "Print_this_message_6017", "Print this message."), - Print_the_compiler_s_version: diag(6019, 3 /* 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: diag(6020, 3 /* 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: diag(6023, 3 /* Message */, "Syntax_Colon_0_6023", "Syntax: {0}"), - options: diag(6024, 3 /* Message */, "options_6024", "options"), - file: diag(6025, 3 /* Message */, "file_6025", "file"), - Examples_Colon_0: diag(6026, 3 /* Message */, "Examples_Colon_0_6026", "Examples: {0}"), - Options_Colon: diag(6027, 3 /* Message */, "Options_Colon_6027", "Options:"), - Version_0: diag(6029, 3 /* Message */, "Version_0_6029", "Version {0}"), - Insert_command_line_options_and_files_from_a_file: diag(6030, 3 /* 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: diag(6031, 3 /* Message */, "Starting_compilation_in_watch_mode_6031", "Starting compilation in watch mode..."), - File_change_detected_Starting_incremental_compilation: diag(6032, 3 /* Message */, "File_change_detected_Starting_incremental_compilation_6032", "File change detected. Starting incremental compilation..."), - KIND: diag(6034, 3 /* Message */, "KIND_6034", "KIND"), - FILE: diag(6035, 3 /* Message */, "FILE_6035", "FILE"), - VERSION: diag(6036, 3 /* Message */, "VERSION_6036", "VERSION"), - LOCATION: diag(6037, 3 /* Message */, "LOCATION_6037", "LOCATION"), - DIRECTORY: diag(6038, 3 /* Message */, "DIRECTORY_6038", "DIRECTORY"), - STRATEGY: diag(6039, 3 /* Message */, "STRATEGY_6039", "STRATEGY"), - FILE_OR_DIRECTORY: diag(6040, 3 /* Message */, "FILE_OR_DIRECTORY_6040", "FILE OR DIRECTORY"), - Errors_Files: diag(6041, 3 /* Message */, "Errors_Files_6041", "Errors Files"), - Generates_corresponding_map_file: diag(6043, 3 /* Message */, "Generates_corresponding_map_file_6043", "Generates corresponding '.map' file."), - Compiler_option_0_expects_an_argument: diag(6044, 1 /* Error */, "Compiler_option_0_expects_an_argument_6044", "Compiler option '{0}' expects an argument."), - Unterminated_quoted_string_in_response_file_0: diag(6045, 1 /* Error */, "Unterminated_quoted_string_in_response_file_0_6045", "Unterminated quoted string in response file '{0}'."), - Argument_for_0_option_must_be_Colon_1: diag(6046, 1 /* 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: diag(6048, 1 /* Error */, "Locale_must_be_of_the_form_language_or_language_territory_For_example_0_or_1_6048", "Locale must be of the form or -. For example '{0}' or '{1}'."), - Unable_to_open_file_0: diag(6050, 1 /* Error */, "Unable_to_open_file_0_6050", "Unable to open file '{0}'."), - Corrupted_locale_file_0: diag(6051, 1 /* Error */, "Corrupted_locale_file_0_6051", "Corrupted locale file {0}."), - Raise_error_on_expressions_and_declarations_with_an_implied_any_type: diag(6052, 3 /* 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: diag(6053, 1 /* Error */, "File_0_not_found_6053", "File '{0}' not found."), - File_0_has_an_unsupported_extension_The_only_supported_extensions_are_1: diag(6054, 1 /* 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: diag(6055, 3 /* 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: diag(6056, 3 /* 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: diag(6058, 3 /* 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: diag(6059, 1 /* 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: diag(6060, 3 /* 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: diag(6061, 3 /* Message */, "NEWLINE_6061", "NEWLINE"), - Option_0_can_only_be_specified_in_tsconfig_json_file_or_set_to_null_on_command_line: diag(6064, 1 /* 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: diag(6065, 3 /* Message */, "Enables_experimental_support_for_ES7_decorators_6065", "Enables experimental support for ES7 decorators."), - Enables_experimental_support_for_emitting_type_metadata_for_decorators: diag(6066, 3 /* Message */, "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: diag(6070, 3 /* 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: diag(6071, 3 /* Message */, "Successfully_created_a_tsconfig_json_file_6071", "Successfully created a tsconfig.json file."), - Suppress_excess_property_checks_for_object_literals: diag(6072, 3 /* 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: diag(6073, 3 /* 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: diag(6074, 3 /* 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: diag(6075, 3 /* 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: diag(6076, 3 /* 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: diag(6077, 3 /* Message */, "Do_not_report_errors_on_unreachable_code_6077", "Do not report errors on unreachable code."), - Disallow_inconsistently_cased_references_to_the_same_file: diag(6078, 3 /* 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: diag(6079, 3 /* Message */, "Specify_library_files_to_be_included_in_the_compilation_6079", "Specify library files to be included in the compilation."), - Specify_JSX_code_generation: diag(6080, 3 /* Message */, "Specify_JSX_code_generation_6080", "Specify JSX code generation."), - Only_amd_and_system_modules_are_supported_alongside_0: diag(6082, 1 /* 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: diag(6083, 3 /* 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: diag(6084, 3 /* 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: diag(6085, 3 /* Message */, "Enable_tracing_of_the_name_resolution_process_6085", "Enable tracing of the name resolution process."), - Resolving_module_0_from_1: diag(6086, 3 /* Message */, "Resolving_module_0_from_1_6086", "======== Resolving module '{0}' from '{1}'. ========"), - Explicitly_specified_module_resolution_kind_Colon_0: diag(6087, 3 /* Message */, "Explicitly_specified_module_resolution_kind_Colon_0_6087", "Explicitly specified module resolution kind: '{0}'."), - Module_resolution_kind_is_not_specified_using_0: diag(6088, 3 /* 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: diag(6089, 3 /* Message */, "Module_name_0_was_successfully_resolved_to_1_6089", "======== Module name '{0}' was successfully resolved to '{1}'. ========"), - Module_name_0_was_not_resolved: diag(6090, 3 /* 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: diag(6091, 3 /* 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: diag(6092, 3 /* Message */, "Module_name_0_matched_pattern_1_6092", "Module name '{0}', matched pattern '{1}'."), - Trying_substitution_0_candidate_module_location_Colon_1: diag(6093, 3 /* 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: diag(6094, 3 /* 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_types_Colon_1: diag(6095, 3 /* Message */, "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: diag(6096, 3 /* Message */, "File_0_does_not_exist_6096", "File '{0}' does not exist."), - File_0_exists_use_it_as_a_name_resolution_result: diag(6097, 3 /* Message */, "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: diag(6098, 3 /* Message */, "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: diag(6099, 3 /* Message */, "Found_package_json_at_0_6099", "Found 'package.json' at '{0}'."), - package_json_does_not_have_a_0_field: diag(6100, 3 /* 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: diag(6101, 3 /* 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: diag(6102, 3 /* 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: diag(6104, 3 /* 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: diag(6105, 3 /* 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: diag(6106, 3 /* 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: diag(6107, 3 /* 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: diag(6108, 3 /* 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: diag(6109, 3 /* 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: diag(6110, 3 /* Message */, "Trying_other_entries_in_rootDirs_6110", "Trying other entries in 'rootDirs'."), - Module_resolution_using_rootDirs_has_failed: diag(6111, 3 /* Message */, "Module_resolution_using_rootDirs_has_failed_6111", "Module resolution using 'rootDirs' has failed."), - Do_not_emit_use_strict_directives_in_module_output: diag(6112, 3 /* Message */, "Do_not_emit_use_strict_directives_in_module_output_6112", "Do not emit 'use strict' directives in module output."), - Enable_strict_null_checks: diag(6113, 3 /* Message */, "Enable_strict_null_checks_6113", "Enable strict null checks."), - Unknown_option_excludes_Did_you_mean_exclude: diag(6114, 1 /* 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: diag(6115, 3 /* 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: diag(6116, 3 /* 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: diag(6119, 3 /* 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: diag(6120, 3 /* Message */, "Type_reference_directive_0_was_not_resolved_6120", "======== Type reference directive '{0}' was not resolved. ========"), - Resolving_with_primary_search_path_0: diag(6121, 3 /* Message */, "Resolving_with_primary_search_path_0_6121", "Resolving with primary search path '{0}'."), - Root_directory_cannot_be_determined_skipping_primary_search_paths: diag(6122, 3 /* 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: diag(6123, 3 /* 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: diag(6124, 3 /* 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: diag(6125, 3 /* 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: diag(6126, 3 /* 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: diag(6127, 3 /* 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: diag(6128, 3 /* 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: diag(6130, 3 /* 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: diag(6131, 1 /* 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: diag(6132, 3 /* 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: diag( - 6133, - 1 /* Error */, - "_0_is_declared_but_its_value_is_never_read_6133", - "'{0}' is declared but its value is never read.", - /*reportsUnnecessary*/ - true - ), - Report_errors_on_unused_locals: diag(6134, 3 /* Message */, "Report_errors_on_unused_locals_6134", "Report errors on unused locals."), - Report_errors_on_unused_parameters: diag(6135, 3 /* 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: diag(6136, 3 /* 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: diag(6137, 1 /* 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: diag( - 6138, - 1 /* Error */, - "Property_0_is_declared_but_its_value_is_never_read_6138", - "Property '{0}' is declared but its value is never read.", - /*reportsUnnecessary*/ - true - ), - Import_emit_helpers_from_tslib: diag(6139, 3 /* 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: diag(6140, 1 /* 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: diag(6141, 3 /* 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: diag(6142, 1 /* 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: diag(6144, 3 /* 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}'."), - Specify_the_JSX_factory_function_to_use_when_targeting_react_JSX_emit_e_g_React_createElement_or_h: diag(6146, 3 /* 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: diag(6147, 3 /* 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: diag(6148, 3 /* 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: diag(6149, 3 /* Message */, "Show_diagnostic_information_6149", "Show diagnostic information."), - Show_verbose_diagnostic_information: diag(6150, 3 /* Message */, "Show_verbose_diagnostic_information_6150", "Show verbose diagnostic information."), - Emit_a_single_file_with_source_maps_instead_of_having_a_separate_file: diag(6151, 3 /* 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: diag(6152, 3 /* 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: diag(6153, 3 /* 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: diag(6154, 3 /* 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: diag(6155, 3 /* 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: diag(6156, 3 /* 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: diag(6157, 3 /* 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: diag(6158, 3 /* 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: diag(6159, 3 /* 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: diag(6160, 3 /* 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: diag(6161, 3 /* Message */, "List_of_folders_to_include_type_definitions_from_6161", "List of folders to include type definitions from."), - Disable_size_limitations_on_JavaScript_projects: diag(6162, 3 /* Message */, "Disable_size_limitations_on_JavaScript_projects_6162", "Disable size limitations on JavaScript projects."), - The_character_set_of_the_input_files: diag(6163, 3 /* Message */, "The_character_set_of_the_input_files_6163", "The character set of the input files."), - Skipping_module_0_that_looks_like_an_absolute_URI_target_file_types_Colon_1: diag(6164, 3 /* Message */, "Skipping_module_0_that_looks_like_an_absolute_URI_target_file_types_Colon_1_6164", "Skipping module '{0}' that looks like an absolute URI, target file types: {1}."), - Do_not_truncate_error_messages: diag(6165, 3 /* Message */, "Do_not_truncate_error_messages_6165", "Do not truncate error messages."), - Output_directory_for_generated_declaration_files: diag(6166, 3 /* 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: diag(6167, 3 /* 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: diag(6168, 3 /* 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: diag(6169, 3 /* Message */, "Show_all_compiler_options_6169", "Show all compiler options."), - Deprecated_Use_outFile_instead_Concatenate_and_emit_output_to_single_file: diag(6170, 3 /* 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: diag(6171, 3 /* Message */, "Command_line_Options_6171", "Command-line Options"), - Provide_full_support_for_iterables_in_for_of_spread_and_destructuring_when_targeting_ES5: diag(6179, 3 /* Message */, "Provide_full_support_for_iterables_in_for_of_spread_and_destructuring_when_targeting_ES5_6179", "Provide full support for iterables in 'for-of', spread, and destructuring when targeting 'ES5'."), - Enable_all_strict_type_checking_options: diag(6180, 3 /* Message */, "Enable_all_strict_type_checking_options_6180", "Enable all strict type-checking options."), - Scoped_package_detected_looking_in_0: diag(6182, 3 /* 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: diag(6183, 3 /* 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: diag(6184, 3 /* 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: diag(6186, 3 /* Message */, "Enable_strict_checking_of_function_types_6186", "Enable strict checking of function types."), - Enable_strict_checking_of_property_initialization_in_classes: diag(6187, 3 /* Message */, "Enable_strict_checking_of_property_initialization_in_classes_6187", "Enable strict checking of property initialization in classes."), - Numeric_separators_are_not_allowed_here: diag(6188, 1 /* Error */, "Numeric_separators_are_not_allowed_here_6188", "Numeric separators are not allowed here."), - Multiple_consecutive_numeric_separators_are_not_permitted: diag(6189, 1 /* 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: diag(6191, 3 /* 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: diag( - 6192, - 1 /* Error */, - "All_imports_in_import_declaration_are_unused_6192", - "All imports in import declaration are unused.", - /*reportsUnnecessary*/ - true - ), - Found_1_error_Watching_for_file_changes: diag(6193, 3 /* Message */, "Found_1_error_Watching_for_file_changes_6193", "Found 1 error. Watching for file changes."), - Found_0_errors_Watching_for_file_changes: diag(6194, 3 /* 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: diag(6195, 3 /* 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: diag( - 6196, - 1 /* Error */, - "_0_is_declared_but_never_used_6196", - "'{0}' is declared but never used.", - /*reportsUnnecessary*/ - true - ), - Include_modules_imported_with_json_extension: diag(6197, 3 /* Message */, "Include_modules_imported_with_json_extension_6197", "Include modules imported with '.json' extension"), - All_destructured_elements_are_unused: diag( - 6198, - 1 /* Error */, - "All_destructured_elements_are_unused_6198", - "All destructured elements are unused.", - /*reportsUnnecessary*/ - true - ), - All_variables_are_unused: diag( - 6199, - 1 /* Error */, - "All_variables_are_unused_6199", - "All variables are unused.", - /*reportsUnnecessary*/ - true - ), - Definitions_of_the_following_identifiers_conflict_with_those_in_another_file_Colon_0: diag(6200, 1 /* 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: diag(6201, 3 /* Message */, "Conflicts_are_in_this_file_6201", "Conflicts are in this file."), - Project_references_may_not_form_a_circular_graph_Cycle_detected_Colon_0: diag(6202, 1 /* 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: diag(6203, 3 /* Message */, "_0_was_also_declared_here_6203", "'{0}' was also declared here."), - and_here: diag(6204, 3 /* Message */, "and_here_6204", "and here."), - All_type_parameters_are_unused: diag(6205, 1 /* Error */, "All_type_parameters_are_unused_6205", "All type parameters are unused."), - package_json_has_a_typesVersions_field_with_version_specific_path_mappings: diag(6206, 3 /* 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: diag(6207, 3 /* 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: diag(6208, 3 /* 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: diag(6209, 3 /* 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: diag(6210, 3 /* 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: diag(6211, 3 /* 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: diag(6212, 3 /* 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: diag(6213, 3 /* 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: diag(6214, 3 /* 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: diag(6215, 3 /* Message */, "Using_compiler_options_of_project_reference_redirect_0_6215", "Using compiler options of project reference redirect '{0}'."), - Found_1_error: diag(6216, 3 /* Message */, "Found_1_error_6216", "Found 1 error."), - Found_0_errors: diag(6217, 3 /* Message */, "Found_0_errors_6217", "Found {0} errors."), - Module_name_0_was_successfully_resolved_to_1_with_Package_ID_2: diag(6218, 3 /* 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: diag(6219, 3 /* 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: diag(6220, 3 /* 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: diag(6221, 3 /* 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: diag(6222, 3 /* Message */, "Emit_class_fields_with_Define_instead_of_Set_6222", "Emit class fields with Define instead of Set."), - Generates_a_CPU_profile: diag(6223, 3 /* Message */, "Generates_a_CPU_profile_6223", "Generates a CPU profile."), - Disable_solution_searching_for_this_project: diag(6224, 3 /* 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: diag(6225, 3 /* 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: diag(6226, 3 /* 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: diag(6227, 3 /* 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: diag(6229, 1 /* 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: diag(6230, 1 /* 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: diag(6231, 1 /* 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: diag(6232, 1 /* 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: diag(6233, 1 /* 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: diag(6234, 1 /* 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: diag(6235, 3 /* Message */, "Disable_loading_referenced_projects_6235", "Disable loading referenced projects."), - Arguments_for_the_rest_parameter_0_were_not_provided: diag(6236, 1 /* 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: diag(6237, 3 /* 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: diag(6238, 1 /* 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: diag(6239, 3 /* 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: diag(6240, 3 /* 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: diag(6241, 3 /* 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: diag(6242, 3 /* 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: diag(6243, 3 /* Message */, "Interpret_optional_property_types_as_written_rather_than_adding_undefined_6243", "Interpret optional property types as written, rather than adding 'undefined'."), - Modules: diag(6244, 3 /* Message */, "Modules_6244", "Modules"), - File_Management: diag(6245, 3 /* Message */, "File_Management_6245", "File Management"), - Emit: diag(6246, 3 /* Message */, "Emit_6246", "Emit"), - JavaScript_Support: diag(6247, 3 /* Message */, "JavaScript_Support_6247", "JavaScript Support"), - Type_Checking: diag(6248, 3 /* Message */, "Type_Checking_6248", "Type Checking"), - Editor_Support: diag(6249, 3 /* Message */, "Editor_Support_6249", "Editor Support"), - Watch_and_Build_Modes: diag(6250, 3 /* Message */, "Watch_and_Build_Modes_6250", "Watch and Build Modes"), - Compiler_Diagnostics: diag(6251, 3 /* Message */, "Compiler_Diagnostics_6251", "Compiler Diagnostics"), - Interop_Constraints: diag(6252, 3 /* Message */, "Interop_Constraints_6252", "Interop Constraints"), - Backwards_Compatibility: diag(6253, 3 /* Message */, "Backwards_Compatibility_6253", "Backwards Compatibility"), - Language_and_Environment: diag(6254, 3 /* Message */, "Language_and_Environment_6254", "Language and Environment"), - Projects: diag(6255, 3 /* Message */, "Projects_6255", "Projects"), - Output_Formatting: diag(6256, 3 /* Message */, "Output_Formatting_6256", "Output Formatting"), - Completeness: diag(6257, 3 /* Message */, "Completeness_6257", "Completeness"), - _0_should_be_set_inside_the_compilerOptions_object_of_the_config_json_file: diag(6258, 1 /* 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"), - Found_1_error_in_0: diag(6259, 3 /* Message */, "Found_1_error_in_0_6259", "Found 1 error in {0}"), - Found_0_errors_in_the_same_file_starting_at_Colon_1: diag(6260, 3 /* Message */, "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: diag(6261, 3 /* Message */, "Found_0_errors_in_1_files_6261", "Found {0} errors in {1} files."), - File_name_0_has_a_1_extension_looking_up_2_instead: diag(6262, 3 /* Message */, "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: diag(6263, 1 /* Error */, "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: diag(6264, 3 /* Message */, "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."), - Resolving_type_reference_directive_for_program_that_specifies_custom_typeRoots_skipping_lookup_in_node_modules_folder: diag(6265, 3 /* Message */, "Resolving_type_reference_directive_for_program_that_specifies_custom_typeRoots_skipping_lookup_in_no_6265", "Resolving type reference directive for program that specifies custom typeRoots, skipping lookup in 'node_modules' folder."), - Option_0_can_only_be_specified_on_command_line: diag(6266, 1 /* Error */, "Option_0_can_only_be_specified_on_command_line_6266", "Option '{0}' can only be specified on command line."), - Directory_0_has_no_containing_package_json_scope_Imports_will_not_resolve: diag(6270, 3 /* 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: diag(6271, 3 /* 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: diag(6272, 3 /* 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: diag(6273, 3 /* 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: diag(6274, 3 /* 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: diag(6275, 3 /* 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: diag(6276, 3 /* 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}'."), - Resolution_of_non_relative_name_failed_trying_with_modern_Node_resolution_features_disabled_to_see_if_npm_library_needs_configuration_update: diag(6277, 3 /* Message */, "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: diag(6278, 3 /* Message */, "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.`), - Resolution_of_non_relative_name_failed_trying_with_moduleResolution_bundler_to_see_if_project_may_need_configuration_update: diag(6279, 3 /* Message */, "Resolution_of_non_relative_name_failed_trying_with_moduleResolution_bundler_to_see_if_project_may_ne_6279", "Resolution of non-relative name failed; trying with '--moduleResolution bundler' to see if project may need configuration update."), - There_are_types_at_0_but_this_result_could_not_be_resolved_under_your_current_moduleResolution_setting_Consider_updating_to_node16_nodenext_or_bundler: diag(6280, 3 /* Message */, "There_are_types_at_0_but_this_result_could_not_be_resolved_under_your_current_moduleResolution_setti_6280", "There are types at '{0}', but this result could not be resolved under your current 'moduleResolution' setting. Consider updating to 'node16', 'nodenext', or 'bundler'."), - package_json_has_a_peerDependencies_field: diag(6281, 3 /* Message */, "package_json_has_a_peerDependencies_field_6281", "'package.json' has a 'peerDependencies' field."), - Found_peerDependency_0_with_1_version: diag(6282, 3 /* Message */, "Found_peerDependency_0_with_1_version_6282", "Found peerDependency '{0}' with '{1}' version."), - Failed_to_find_peerDependency_0: diag(6283, 3 /* Message */, "Failed_to_find_peerDependency_0_6283", "Failed to find peerDependency '{0}'."), - Enable_project_compilation: diag(6302, 3 /* Message */, "Enable_project_compilation_6302", "Enable project compilation"), - Composite_projects_may_not_disable_declaration_emit: diag(6304, 1 /* 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: diag(6305, 1 /* 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: diag(6306, 1 /* 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: diag(6307, 1 /* 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."), - Referenced_project_0_may_not_disable_emit: diag(6310, 1 /* Error */, "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: diag(6350, 3 /* Message */, "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: diag(6351, 3 /* Message */, "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: diag(6352, 3 /* 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: diag(6353, 3 /* 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: diag(6354, 3 /* 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: diag(6355, 3 /* Message */, "Projects_in_this_build_Colon_0_6355", "Projects in this build: {0}"), - A_non_dry_build_would_delete_the_following_files_Colon_0: diag(6356, 3 /* 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: diag(6357, 3 /* Message */, "A_non_dry_build_would_build_project_0_6357", "A non-dry build would build project '{0}'"), - Building_project_0: diag(6358, 3 /* Message */, "Building_project_0_6358", "Building project '{0}'..."), - Updating_output_timestamps_of_project_0: diag(6359, 3 /* Message */, "Updating_output_timestamps_of_project_0_6359", "Updating output timestamps of project '{0}'..."), - Project_0_is_up_to_date: diag(6361, 3 /* 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: diag(6362, 3 /* 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: diag(6363, 3 /* 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: diag(6364, 3 /* 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: diag(6365, 3 /* 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: diag(6367, 3 /* 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: diag(6369, 1 /* 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: diag(6370, 1 /* Error */, "Options_0_and_1_cannot_be_combined_6370", "Options '{0}' and '{1}' cannot be combined."), - Updating_unchanged_output_timestamps_of_project_0: diag(6371, 3 /* Message */, "Updating_unchanged_output_timestamps_of_project_0_6371", "Updating unchanged output timestamps of project '{0}'..."), - A_non_dry_build_would_update_timestamps_for_output_of_project_0: diag(6374, 3 /* 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}'"), - Cannot_write_file_0_because_it_will_overwrite_tsbuildinfo_file_generated_by_referenced_project_1: diag(6377, 1 /* 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}'"), - Composite_projects_may_not_disable_incremental_compilation: diag(6379, 1 /* Error */, "Composite_projects_may_not_disable_incremental_compilation_6379", "Composite projects may not disable incremental compilation."), - Specify_file_to_store_incremental_compilation_information: diag(6380, 3 /* 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: diag(6381, 3 /* 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: diag(6382, 3 /* 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: diag(6383, 3 /* 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: diag(6384, 3 /* 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: diag( - 6385, - 2 /* Suggestion */, - "_0_is_deprecated_6385", - "'{0}' is deprecated.", - /*reportsUnnecessary*/ - void 0, - /*elidedInCompatabilityPyramid*/ - void 0, - /*reportsDeprecated*/ - true - ), - Performance_timings_for_diagnostics_or_extendedDiagnostics_are_not_available_in_this_session_A_native_implementation_of_the_Web_Performance_API_could_not_be_found: diag(6386, 3 /* 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: diag( - 6387, - 2 /* Suggestion */, - "The_signature_0_of_1_is_deprecated_6387", - "The signature '{0}' of '{1}' is deprecated.", - /*reportsUnnecessary*/ - void 0, - /*elidedInCompatabilityPyramid*/ - void 0, - /*reportsDeprecated*/ - true - ), - Project_0_is_being_forcibly_rebuilt: diag(6388, 3 /* 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: diag(6389, 3 /* 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: diag(6390, 3 /* 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: diag(6391, 3 /* 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: diag(6392, 3 /* 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: diag(6393, 3 /* 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: diag(6394, 3 /* 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: diag(6395, 3 /* 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: diag(6396, 3 /* 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: diag(6397, 3 /* 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: diag(6398, 3 /* 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."), - Project_0_is_out_of_date_because_buildinfo_file_1_indicates_that_some_of_the_changes_were_not_emitted: diag(6399, 3 /* Message */, "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: diag(6400, 3 /* Message */, "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: diag(6401, 3 /* Message */, "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: diag(6402, 3 /* Message */, "Resolving_in_0_mode_with_conditions_1_6402", "Resolving in {0} mode with conditions {1}."), - Matched_0_condition_1: diag(6403, 3 /* Message */, "Matched_0_condition_1_6403", "Matched '{0}' condition '{1}'."), - Using_0_subpath_1_with_target_2: diag(6404, 3 /* Message */, "Using_0_subpath_1_with_target_2_6404", "Using '{0}' subpath '{1}' with target '{2}'."), - Saw_non_matching_condition_0: diag(6405, 3 /* Message */, "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: diag(6406, 3 /* Message */, "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: diag(6407, 3 /* Message */, "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: diag(6408, 3 /* Message */, "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: diag(6409, 3 /* Message */, "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: diag(6410, 3 /* Message */, "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: diag(6411, 3 /* Message */, "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: diag(6412, 3 /* Message */, "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: diag(6413, 3 /* Message */, "Entering_conditional_exports_6413", "Entering conditional exports."), - Resolved_under_condition_0: diag(6414, 3 /* Message */, "Resolved_under_condition_0_6414", "Resolved under condition '{0}'."), - Failed_to_resolve_under_condition_0: diag(6415, 3 /* Message */, "Failed_to_resolve_under_condition_0_6415", "Failed to resolve under condition '{0}'."), - Exiting_conditional_exports: diag(6416, 3 /* Message */, "Exiting_conditional_exports_6416", "Exiting conditional exports."), - Searching_all_ancestor_node_modules_directories_for_preferred_extensions_Colon_0: diag(6417, 3 /* Message */, "Searching_all_ancestor_node_modules_directories_for_preferred_extensions_Colon_0_6417", "Searching all ancestor node_modules directories for preferred extensions: {0}."), - Searching_all_ancestor_node_modules_directories_for_fallback_extensions_Colon_0: diag(6418, 3 /* Message */, "Searching_all_ancestor_node_modules_directories_for_fallback_extensions_Colon_0_6418", "Searching all ancestor node_modules directories for fallback extensions: {0}."), - Project_0_is_out_of_date_because_buildinfo_file_1_indicates_that_program_needs_to_report_errors: diag(6419, 3 /* Message */, "Project_0_is_out_of_date_because_buildinfo_file_1_indicates_that_program_needs_to_report_errors_6419", "Project '{0}' is out of date because buildinfo file '{1}' indicates that program needs to report errors."), - Project_0_is_out_of_date_because_1: diag(6420, 3 /* Message */, "Project_0_is_out_of_date_because_1_6420", "Project '{0}' is out of date because {1}."), - The_expected_type_comes_from_property_0_which_is_declared_here_on_type_1: diag(6500, 3 /* 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: diag(6501, 3 /* 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: diag(6502, 3 /* 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: diag(6503, 3 /* 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: diag(6504, 1 /* 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: diag(6505, 3 /* 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: diag(6506, 3 /* 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: diag(6600, 3 /* 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: diag(6601, 3 /* 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: diag(6602, 3 /* Message */, "Allow_accessing_UMD_globals_from_modules_6602", "Allow accessing UMD globals from modules."), - Disable_error_reporting_for_unreachable_code: diag(6603, 3 /* Message */, "Disable_error_reporting_for_unreachable_code_6603", "Disable error reporting for unreachable code."), - Disable_error_reporting_for_unused_labels: diag(6604, 3 /* Message */, "Disable_error_reporting_for_unused_labels_6604", "Disable error reporting for unused labels."), - Ensure_use_strict_is_always_emitted: diag(6605, 3 /* 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: diag(6606, 3 /* 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: diag(6607, 3 /* 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: diag(6608, 3 /* 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: diag(6609, 3 /* 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: diag(6611, 3 /* 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: diag(6612, 3 /* 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: diag(6613, 3 /* Message */, "Specify_the_output_directory_for_generated_declaration_files_6613", "Specify the output directory for generated declaration files."), - Create_sourcemaps_for_d_ts_files: diag(6614, 3 /* Message */, "Create_sourcemaps_for_d_ts_files_6614", "Create sourcemaps for d.ts files."), - Output_compiler_performance_information_after_building: diag(6615, 3 /* 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: diag(6616, 3 /* 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: diag(6617, 3 /* 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: diag(6618, 3 /* 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: diag(6619, 3 /* 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: diag(6620, 3 /* 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: diag(6621, 3 /* 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: diag(6622, 3 /* 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: diag(6623, 3 /* 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: diag(6624, 3 /* 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: diag(6625, 3 /* 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: diag(6626, 3 /* 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: diag(6627, 3 /* Message */, "Filters_results_from_the_include_option_6627", "Filters results from the `include` option."), - Remove_a_list_of_directories_from_the_watch_process: diag(6628, 3 /* 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: diag(6629, 3 /* 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_legacy_experimental_decorators: diag(6630, 3 /* Message */, "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: diag(6631, 3 /* 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: diag(6632, 3 /* 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: diag(6633, 3 /* 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: diag(6634, 3 /* 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: diag(6635, 3 /* 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: diag(6636, 3 /* 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: diag(6637, 3 /* 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: diag(6638, 3 /* 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: diag(6639, 3 /* 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."), - Skip_building_downstream_projects_on_error_in_upstream_project: diag(6640, 3 /* Message */, "Skip_building_downstream_projects_on_error_in_upstream_project_6640", "Skip building downstream projects on error in upstream project."), - Specify_a_list_of_glob_patterns_that_match_files_to_be_included_in_compilation: diag(6641, 3 /* 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: diag(6642, 3 /* 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: diag(6643, 3 /* 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: diag(6644, 3 /* 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: diag(6645, 3 /* 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: diag(6646, 3 /* 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: diag(6647, 3 /* 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: diag(6648, 3 /* 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: diag(6649, 3 /* 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: diag(6650, 3 /* 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: diag(6651, 3 /* 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: diag(6652, 3 /* 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: diag(6653, 3 /* 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: diag(6654, 3 /* 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: diag(6655, 3 /* 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: diag(6656, 3 /* 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: diag(6657, 3 /* 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: diag(6658, 3 /* 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: diag(6659, 3 /* Message */, "Set_the_newline_character_for_emitting_files_6659", "Set the newline character for emitting files."), - Disable_emitting_files_from_a_compilation: diag(6660, 3 /* Message */, "Disable_emitting_files_from_a_compilation_6660", "Disable emitting files from a compilation."), - Disable_generating_custom_helper_functions_like_extends_in_compiled_output: diag(6661, 3 /* 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: diag(6662, 3 /* 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: diag(6663, 3 /* Message */, "Disable_truncating_types_in_error_messages_6663", "Disable truncating types in error messages."), - Enable_error_reporting_for_fallthrough_cases_in_switch_statements: diag(6664, 3 /* 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: diag(6665, 3 /* 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: diag(6666, 3 /* 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: diag(6667, 3 /* 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: diag(6668, 3 /* 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: diag(6669, 3 /* 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: diag(6670, 3 /* 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: diag(6671, 3 /* 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: diag(6672, 3 /* 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 ''s from expanding the number of files TypeScript should add to a project."), - Disable_strict_checking_of_generic_signatures_in_function_types: diag(6673, 3 /* 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: diag(6674, 3 /* 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_local_variables_aren_t_read: diag(6675, 3 /* Message */, "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: diag(6676, 3 /* 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: diag(6677, 3 /* Message */, "Deprecated_setting_Use_outFile_instead_6677", "Deprecated setting. Use 'outFile' instead."), - Specify_an_output_folder_for_all_emitted_files: diag(6678, 3 /* 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: diag(6679, 3 /* 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: diag(6680, 3 /* 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: diag(6681, 3 /* 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: diag(6682, 3 /* 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: diag(6683, 3 /* 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: diag(6684, 3 /* 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: diag(6685, 3 /* 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: diag(6686, 3 /* 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: diag(6687, 3 /* 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: diag(6688, 3 /* Message */, "Disable_emitting_comments_6688", "Disable emitting comments."), - Enable_importing_json_files: diag(6689, 3 /* Message */, "Enable_importing_json_files_6689", "Enable importing .json files."), - Specify_the_root_folder_within_your_source_files: diag(6690, 3 /* 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: diag(6691, 3 /* 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: diag(6692, 3 /* 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: diag(6693, 3 /* Message */, "Skip_type_checking_all_d_ts_files_6693", "Skip type checking all .d.ts files."), - Create_source_map_files_for_emitted_JavaScript_files: diag(6694, 3 /* 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: diag(6695, 3 /* 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: diag(6697, 3 /* 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: diag(6698, 3 /* 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: diag(6699, 3 /* 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: diag(6700, 3 /* 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: diag(6701, 3 /* 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: diag(6702, 3 /* 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: diag(6703, 3 /* 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: diag(6704, 3 /* 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: diag(6705, 3 /* 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: diag(6706, 3 /* Message */, "Log_paths_used_during_the_moduleResolution_process_6706", "Log paths used during the 'moduleResolution' process."), - Specify_the_path_to_tsbuildinfo_incremental_compilation_file: diag(6707, 3 /* Message */, "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: diag(6709, 3 /* 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: diag(6710, 3 /* 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: diag(6711, 3 /* 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: diag(6712, 3 /* Message */, "Emit_ECMAScript_standard_compliant_class_fields_6712", "Emit ECMAScript-standard-compliant class fields."), - Enable_verbose_logging: diag(6713, 3 /* Message */, "Enable_verbose_logging_6713", "Enable verbose logging."), - Specify_how_directories_are_watched_on_systems_that_lack_recursive_file_watching_functionality: diag(6714, 3 /* 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: diag(6715, 3 /* Message */, "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: diag(6717, 3 /* 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: diag(6718, 3 /* 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."), - Require_sufficient_annotation_on_exports_so_other_tools_can_trivially_generate_declaration_files: diag(6719, 3 /* Message */, "Require_sufficient_annotation_on_exports_so_other_tools_can_trivially_generate_declaration_files_6719", "Require sufficient annotation on exports so other tools can trivially generate declaration files."), - Built_in_iterators_are_instantiated_with_a_TReturn_type_of_undefined_instead_of_any: diag(6720, 3 /* Message */, "Built_in_iterators_are_instantiated_with_a_TReturn_type_of_undefined_instead_of_any_6720", "Built-in iterators are instantiated with a 'TReturn' type of 'undefined' instead of 'any'."), - Default_catch_clause_variables_as_unknown_instead_of_any: diag(6803, 3 /* Message */, "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: diag(6804, 3 /* Message */, "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."), - Disable_full_type_checking_only_critical_parse_and_emit_errors_will_be_reported: diag(6805, 3 /* Message */, "Disable_full_type_checking_only_critical_parse_and_emit_errors_will_be_reported_6805", "Disable full type checking (only critical parse and emit errors will be reported)."), - Check_side_effect_imports: diag(6806, 3 /* Message */, "Check_side_effect_imports_6806", "Check side effect imports."), - This_operation_can_be_simplified_This_shift_is_identical_to_0_1_2: diag(6807, 1 /* Error */, "This_operation_can_be_simplified_This_shift_is_identical_to_0_1_2_6807", "This operation can be simplified. This shift is identical to `{0} {1} {2}`."), - one_of_Colon: diag(6900, 3 /* Message */, "one_of_Colon_6900", "one of:"), - one_or_more_Colon: diag(6901, 3 /* Message */, "one_or_more_Colon_6901", "one or more:"), - type_Colon: diag(6902, 3 /* Message */, "type_Colon_6902", "type:"), - default_Colon: diag(6903, 3 /* Message */, "default_Colon_6903", "default:"), - module_system_or_esModuleInterop: diag(6904, 3 /* Message */, "module_system_or_esModuleInterop_6904", 'module === "system" or esModuleInterop'), - false_unless_strict_is_set: diag(6905, 3 /* Message */, "false_unless_strict_is_set_6905", "`false`, unless `strict` is set"), - false_unless_composite_is_set: diag(6906, 3 /* 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: diag(6907, 3 /* 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: diag(6908, 3 /* Message */, "if_files_is_specified_otherwise_Asterisk_Asterisk_Slash_Asterisk_6908", '`[]` if `files` is specified, otherwise `["**/*"]`'), - true_if_composite_false_otherwise: diag(6909, 3 /* Message */, "true_if_composite_false_otherwise_6909", "`true` if `composite`, `false` otherwise"), - module_AMD_or_UMD_or_System_or_ES6_then_Classic_Otherwise_Node: diag(69010, 3 /* 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: diag(6911, 3 /* Message */, "Computed_from_the_list_of_input_files_6911", "Computed from the list of input files"), - Platform_specific: diag(6912, 3 /* Message */, "Platform_specific_6912", "Platform specific"), - You_can_learn_about_all_of_the_compiler_options_at_0: diag(6913, 3 /* 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: diag(6914, 3 /* 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: diag(6915, 3 /* 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: diag(6916, 3 /* Message */, "COMMON_COMMANDS_6916", "COMMON COMMANDS"), - ALL_COMPILER_OPTIONS: diag(6917, 3 /* Message */, "ALL_COMPILER_OPTIONS_6917", "ALL COMPILER OPTIONS"), - WATCH_OPTIONS: diag(6918, 3 /* Message */, "WATCH_OPTIONS_6918", "WATCH OPTIONS"), - BUILD_OPTIONS: diag(6919, 3 /* Message */, "BUILD_OPTIONS_6919", "BUILD OPTIONS"), - COMMON_COMPILER_OPTIONS: diag(6920, 3 /* Message */, "COMMON_COMPILER_OPTIONS_6920", "COMMON COMPILER OPTIONS"), - COMMAND_LINE_FLAGS: diag(6921, 3 /* Message */, "COMMAND_LINE_FLAGS_6921", "COMMAND LINE FLAGS"), - tsc_Colon_The_TypeScript_Compiler: diag(6922, 3 /* Message */, "tsc_Colon_The_TypeScript_Compiler_6922", "tsc: The TypeScript Compiler"), - Compiles_the_current_project_tsconfig_json_in_the_working_directory: diag(6923, 3 /* 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: diag(6924, 3 /* 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: diag(6925, 3 /* 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: diag(6926, 3 /* 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: diag(6927, 3 /* 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: diag(6928, 3 /* 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: diag(6929, 3 /* Message */, "Compiles_the_current_project_with_additional_settings_6929", "Compiles the current project, with additional settings."), - true_for_ES2022_and_above_including_ESNext: diag(6930, 3 /* Message */, "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: diag(6931, 1 /* Error */, "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: diag(7005, 1 /* Error */, "Variable_0_implicitly_has_an_1_type_7005", "Variable '{0}' implicitly has an '{1}' type."), - Parameter_0_implicitly_has_an_1_type: diag(7006, 1 /* Error */, "Parameter_0_implicitly_has_an_1_type_7006", "Parameter '{0}' implicitly has an '{1}' type."), - Member_0_implicitly_has_an_1_type: diag(7008, 1 /* 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: diag(7009, 1 /* 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: diag(7010, 1 /* 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: diag(7011, 1 /* 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."), - This_overload_implicitly_returns_the_type_0_because_it_lacks_a_return_type_annotation: diag(7012, 1 /* Error */, "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: diag(7013, 1 /* 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: diag(7014, 1 /* 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: diag(7015, 1 /* 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: diag(7016, 1 /* 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: diag(7017, 1 /* 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: diag(7018, 1 /* 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: diag(7019, 1 /* 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: diag(7020, 1 /* 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: diag(7022, 1 /* 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: diag(7023, 1 /* 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: diag(7024, 1 /* 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: diag(7025, 1 /* 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: diag(7026, 1 /* 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: diag( - 7027, - 1 /* Error */, - "Unreachable_code_detected_7027", - "Unreachable code detected.", - /*reportsUnnecessary*/ - true - ), - Unused_label: diag( - 7028, - 1 /* Error */, - "Unused_label_7028", - "Unused label.", - /*reportsUnnecessary*/ - true - ), - Fallthrough_case_in_switch: diag(7029, 1 /* Error */, "Fallthrough_case_in_switch_7029", "Fallthrough case in switch."), - Not_all_code_paths_return_a_value: diag(7030, 1 /* Error */, "Not_all_code_paths_return_a_value_7030", "Not all code paths return a value."), - Binding_element_0_implicitly_has_an_1_type: diag(7031, 1 /* 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: diag(7032, 1 /* 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: diag(7033, 1 /* 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: diag(7034, 1 /* 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: diag(7035, 1 /* 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: diag(7036, 1 /* 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: diag(7037, 3 /* 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: diag(7038, 3 /* 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: diag(7039, 1 /* 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: diag(7040, 1 /* 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: diag(7041, 1 /* 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: diag(7042, 1 /* 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: diag(7043, 2 /* 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: diag(7044, 2 /* 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: diag(7045, 2 /* 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: diag(7046, 2 /* 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: diag(7047, 2 /* 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: diag(7048, 2 /* 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: diag(7049, 2 /* 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: diag(7050, 2 /* 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: diag(7051, 1 /* 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: diag(7052, 1 /* 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: diag(7053, 1 /* 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: diag(7054, 1 /* 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: diag(7055, 1 /* 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: diag(7056, 1 /* 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: diag(7057, 1 /* 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: diag(7058, 1 /* 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: diag(7059, 1 /* 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: diag(7060, 1 /* 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: diag(7061, 1 /* Error */, "A_mapped_type_may_not_declare_properties_or_methods_7061", "A mapped type may not declare properties or methods."), - You_cannot_rename_this_element: diag(8e3, 1 /* Error */, "You_cannot_rename_this_element_8000", "You cannot rename this element."), - You_cannot_rename_elements_that_are_defined_in_the_standard_TypeScript_library: diag(8001, 1 /* 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: diag(8002, 1 /* 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: diag(8003, 1 /* 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: diag(8004, 1 /* 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: diag(8005, 1 /* 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: diag(8006, 1 /* 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: diag(8008, 1 /* 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: diag(8009, 1 /* 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: diag(8010, 1 /* 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: diag(8011, 1 /* 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: diag(8012, 1 /* 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: diag(8013, 1 /* 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: diag(8016, 1 /* Error */, "Type_assertion_expressions_can_only_be_used_in_TypeScript_files_8016", "Type assertion expressions can only be used in TypeScript files."), - Signature_declarations_can_only_be_used_in_TypeScript_files: diag(8017, 1 /* Error */, "Signature_declarations_can_only_be_used_in_TypeScript_files_8017", "Signature declarations can only be used in TypeScript files."), - Report_errors_in_js_files: diag(8019, 3 /* Message */, "Report_errors_in_js_files_8019", "Report errors in .js files."), - JSDoc_types_can_only_be_used_inside_documentation_comments: diag(8020, 1 /* 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: diag(8021, 1 /* 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: diag(8022, 1 /* 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: diag(8023, 1 /* 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: diag(8024, 1 /* 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: diag(8025, 1 /* 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: diag(8026, 1 /* 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: diag(8027, 1 /* 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: diag(8028, 1 /* 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: diag(8029, 1 /* 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: diag(8030, 1 /* 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: diag(8031, 1 /* 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: diag(8032, 1 /* 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: diag(8033, 1 /* 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: diag(8034, 1 /* Error */, "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: diag(8035, 1 /* Error */, "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: diag(8036, 1 /* Error */, "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: diag(8037, 1 /* Error */, "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: diag(8038, 1 /* Error */, "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'."), - A_JSDoc_template_tag_may_not_follow_a_typedef_callback_or_overload_tag: diag(8039, 1 /* Error */, "A_JSDoc_template_tag_may_not_follow_a_typedef_callback_or_overload_tag_8039", "A JSDoc '@template' tag may not follow a '@typedef', '@callback', or '@overload' tag"), - Declaration_emit_for_this_file_requires_using_private_name_0_An_explicit_type_annotation_may_unblock_declaration_emit: diag(9005, 1 /* 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: diag(9006, 1 /* 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."), - Function_must_have_an_explicit_return_type_annotation_with_isolatedDeclarations: diag(9007, 1 /* Error */, "Function_must_have_an_explicit_return_type_annotation_with_isolatedDeclarations_9007", "Function must have an explicit return type annotation with --isolatedDeclarations."), - Method_must_have_an_explicit_return_type_annotation_with_isolatedDeclarations: diag(9008, 1 /* Error */, "Method_must_have_an_explicit_return_type_annotation_with_isolatedDeclarations_9008", "Method must have an explicit return type annotation with --isolatedDeclarations."), - At_least_one_accessor_must_have_an_explicit_return_type_annotation_with_isolatedDeclarations: diag(9009, 1 /* Error */, "At_least_one_accessor_must_have_an_explicit_return_type_annotation_with_isolatedDeclarations_9009", "At least one accessor must have an explicit return type annotation with --isolatedDeclarations."), - Variable_must_have_an_explicit_type_annotation_with_isolatedDeclarations: diag(9010, 1 /* Error */, "Variable_must_have_an_explicit_type_annotation_with_isolatedDeclarations_9010", "Variable must have an explicit type annotation with --isolatedDeclarations."), - Parameter_must_have_an_explicit_type_annotation_with_isolatedDeclarations: diag(9011, 1 /* Error */, "Parameter_must_have_an_explicit_type_annotation_with_isolatedDeclarations_9011", "Parameter must have an explicit type annotation with --isolatedDeclarations."), - Property_must_have_an_explicit_type_annotation_with_isolatedDeclarations: diag(9012, 1 /* Error */, "Property_must_have_an_explicit_type_annotation_with_isolatedDeclarations_9012", "Property must have an explicit type annotation with --isolatedDeclarations."), - Expression_type_can_t_be_inferred_with_isolatedDeclarations: diag(9013, 1 /* Error */, "Expression_type_can_t_be_inferred_with_isolatedDeclarations_9013", "Expression type can't be inferred with --isolatedDeclarations."), - Computed_properties_must_be_number_or_string_literals_variables_or_dotted_expressions_with_isolatedDeclarations: diag(9014, 1 /* Error */, "Computed_properties_must_be_number_or_string_literals_variables_or_dotted_expressions_with_isolatedD_9014", "Computed properties must be number or string literals, variables or dotted expressions with --isolatedDeclarations."), - Objects_that_contain_spread_assignments_can_t_be_inferred_with_isolatedDeclarations: diag(9015, 1 /* Error */, "Objects_that_contain_spread_assignments_can_t_be_inferred_with_isolatedDeclarations_9015", "Objects that contain spread assignments can't be inferred with --isolatedDeclarations."), - Objects_that_contain_shorthand_properties_can_t_be_inferred_with_isolatedDeclarations: diag(9016, 1 /* Error */, "Objects_that_contain_shorthand_properties_can_t_be_inferred_with_isolatedDeclarations_9016", "Objects that contain shorthand properties can't be inferred with --isolatedDeclarations."), - Only_const_arrays_can_be_inferred_with_isolatedDeclarations: diag(9017, 1 /* Error */, "Only_const_arrays_can_be_inferred_with_isolatedDeclarations_9017", "Only const arrays can be inferred with --isolatedDeclarations."), - Arrays_with_spread_elements_can_t_inferred_with_isolatedDeclarations: diag(9018, 1 /* Error */, "Arrays_with_spread_elements_can_t_inferred_with_isolatedDeclarations_9018", "Arrays with spread elements can't inferred with --isolatedDeclarations."), - Binding_elements_can_t_be_exported_directly_with_isolatedDeclarations: diag(9019, 1 /* Error */, "Binding_elements_can_t_be_exported_directly_with_isolatedDeclarations_9019", "Binding elements can't be exported directly with --isolatedDeclarations."), - Enum_member_initializers_must_be_computable_without_references_to_external_symbols_with_isolatedDeclarations: diag(9020, 1 /* Error */, "Enum_member_initializers_must_be_computable_without_references_to_external_symbols_with_isolatedDecl_9020", "Enum member initializers must be computable without references to external symbols with --isolatedDeclarations."), - Extends_clause_can_t_contain_an_expression_with_isolatedDeclarations: diag(9021, 1 /* Error */, "Extends_clause_can_t_contain_an_expression_with_isolatedDeclarations_9021", "Extends clause can't contain an expression with --isolatedDeclarations."), - Inference_from_class_expressions_is_not_supported_with_isolatedDeclarations: diag(9022, 1 /* Error */, "Inference_from_class_expressions_is_not_supported_with_isolatedDeclarations_9022", "Inference from class expressions is not supported with --isolatedDeclarations."), - Assigning_properties_to_functions_without_declaring_them_is_not_supported_with_isolatedDeclarations_Add_an_explicit_declaration_for_the_properties_assigned_to_this_function: diag(9023, 1 /* Error */, "Assigning_properties_to_functions_without_declaring_them_is_not_supported_with_isolatedDeclarations__9023", "Assigning properties to functions without declaring them is not supported with --isolatedDeclarations. Add an explicit declaration for the properties assigned to this function."), - Declaration_emit_for_this_parameter_requires_implicitly_adding_undefined_to_it_s_type_This_is_not_supported_with_isolatedDeclarations: diag(9025, 1 /* Error */, "Declaration_emit_for_this_parameter_requires_implicitly_adding_undefined_to_it_s_type_This_is_not_su_9025", "Declaration emit for this parameter requires implicitly adding undefined to it's type. This is not supported with --isolatedDeclarations."), - Declaration_emit_for_this_file_requires_preserving_this_import_for_augmentations_This_is_not_supported_with_isolatedDeclarations: diag(9026, 1 /* Error */, "Declaration_emit_for_this_file_requires_preserving_this_import_for_augmentations_This_is_not_support_9026", "Declaration emit for this file requires preserving this import for augmentations. This is not supported with --isolatedDeclarations."), - Add_a_type_annotation_to_the_variable_0: diag(9027, 1 /* Error */, "Add_a_type_annotation_to_the_variable_0_9027", "Add a type annotation to the variable {0}."), - Add_a_type_annotation_to_the_parameter_0: diag(9028, 1 /* Error */, "Add_a_type_annotation_to_the_parameter_0_9028", "Add a type annotation to the parameter {0}."), - Add_a_type_annotation_to_the_property_0: diag(9029, 1 /* Error */, "Add_a_type_annotation_to_the_property_0_9029", "Add a type annotation to the property {0}."), - Add_a_return_type_to_the_function_expression: diag(9030, 1 /* Error */, "Add_a_return_type_to_the_function_expression_9030", "Add a return type to the function expression."), - Add_a_return_type_to_the_function_declaration: diag(9031, 1 /* Error */, "Add_a_return_type_to_the_function_declaration_9031", "Add a return type to the function declaration."), - Add_a_return_type_to_the_get_accessor_declaration: diag(9032, 1 /* Error */, "Add_a_return_type_to_the_get_accessor_declaration_9032", "Add a return type to the get accessor declaration."), - Add_a_type_to_parameter_of_the_set_accessor_declaration: diag(9033, 1 /* Error */, "Add_a_type_to_parameter_of_the_set_accessor_declaration_9033", "Add a type to parameter of the set accessor declaration."), - Add_a_return_type_to_the_method: diag(9034, 1 /* Error */, "Add_a_return_type_to_the_method_9034", "Add a return type to the method"), - Add_satisfies_and_a_type_assertion_to_this_expression_satisfies_T_as_T_to_make_the_type_explicit: diag(9035, 1 /* Error */, "Add_satisfies_and_a_type_assertion_to_this_expression_satisfies_T_as_T_to_make_the_type_explicit_9035", "Add satisfies and a type assertion to this expression (satisfies T as T) to make the type explicit."), - Move_the_expression_in_default_export_to_a_variable_and_add_a_type_annotation_to_it: diag(9036, 1 /* Error */, "Move_the_expression_in_default_export_to_a_variable_and_add_a_type_annotation_to_it_9036", "Move the expression in default export to a variable and add a type annotation to it."), - Default_exports_can_t_be_inferred_with_isolatedDeclarations: diag(9037, 1 /* Error */, "Default_exports_can_t_be_inferred_with_isolatedDeclarations_9037", "Default exports can't be inferred with --isolatedDeclarations."), - Computed_property_names_on_class_or_object_literals_cannot_be_inferred_with_isolatedDeclarations: diag(9038, 1 /* Error */, "Computed_property_names_on_class_or_object_literals_cannot_be_inferred_with_isolatedDeclarations_9038", "Computed property names on class or object literals cannot be inferred with --isolatedDeclarations."), - Type_containing_private_name_0_can_t_be_used_with_isolatedDeclarations: diag(9039, 1 /* Error */, "Type_containing_private_name_0_can_t_be_used_with_isolatedDeclarations_9039", "Type containing private name '{0}' can't be used with --isolatedDeclarations."), - JSX_attributes_must_only_be_assigned_a_non_empty_expression: diag(17e3, 1 /* 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: diag(17001, 1 /* 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: diag(17002, 1 /* 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: diag(17004, 1 /* 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: diag(17005, 1 /* 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: diag(17006, 1 /* 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: diag(17007, 1 /* 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: diag(17008, 1 /* 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: diag(17009, 1 /* 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: diag(17010, 1 /* 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: diag(17011, 1 /* 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: diag(17012, 1 /* 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: diag(17013, 1 /* 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: diag(17014, 1 /* Error */, "JSX_fragment_has_no_corresponding_closing_tag_17014", "JSX fragment has no corresponding closing tag."), - Expected_corresponding_closing_tag_for_JSX_fragment: diag(17015, 1 /* 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: diag(17016, 1 /* 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: diag(17017, 1 /* 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: diag(17018, 1 /* Error */, "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: diag(17019, 1 /* Error */, "_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: diag(17020, 1 /* Error */, "_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}'?"), - Unicode_escape_sequence_cannot_appear_here: diag(17021, 1 /* Error */, "Unicode_escape_sequence_cannot_appear_here_17021", "Unicode escape sequence cannot appear here."), - Circularity_detected_while_resolving_configuration_Colon_0: diag(18e3, 1 /* Error */, "Circularity_detected_while_resolving_configuration_Colon_0_18000", "Circularity detected while resolving configuration: {0}"), - The_files_list_in_config_file_0_is_empty: diag(18002, 1 /* 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: diag(18003, 1 /* 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: diag(80001, 2 /* 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: diag(80002, 2 /* 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: diag(80003, 2 /* 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: diag(80004, 2 /* 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: diag(80005, 2 /* 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: diag(80006, 2 /* 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: diag(80007, 2 /* 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: diag(80008, 2 /* 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."), - JSDoc_typedef_may_be_converted_to_TypeScript_type: diag(80009, 2 /* Suggestion */, "JSDoc_typedef_may_be_converted_to_TypeScript_type_80009", "JSDoc typedef may be converted to TypeScript type."), - JSDoc_typedefs_may_be_converted_to_TypeScript_types: diag(80010, 2 /* Suggestion */, "JSDoc_typedefs_may_be_converted_to_TypeScript_types_80010", "JSDoc typedefs may be converted to TypeScript types."), - Add_missing_super_call: diag(90001, 3 /* Message */, "Add_missing_super_call_90001", "Add missing 'super()' call"), - Make_super_call_the_first_statement_in_the_constructor: diag(90002, 3 /* Message */, "Make_super_call_the_first_statement_in_the_constructor_90002", "Make 'super()' call the first statement in the constructor"), - Change_extends_to_implements: diag(90003, 3 /* Message */, "Change_extends_to_implements_90003", "Change 'extends' to 'implements'"), - Remove_unused_declaration_for_Colon_0: diag(90004, 3 /* Message */, "Remove_unused_declaration_for_Colon_0_90004", "Remove unused declaration for: '{0}'"), - Remove_import_from_0: diag(90005, 3 /* Message */, "Remove_import_from_0_90005", "Remove import from '{0}'"), - Implement_interface_0: diag(90006, 3 /* Message */, "Implement_interface_0_90006", "Implement interface '{0}'"), - Implement_inherited_abstract_class: diag(90007, 3 /* Message */, "Implement_inherited_abstract_class_90007", "Implement inherited abstract class"), - Add_0_to_unresolved_variable: diag(90008, 3 /* Message */, "Add_0_to_unresolved_variable_90008", "Add '{0}.' to unresolved variable"), - Remove_variable_statement: diag(90010, 3 /* Message */, "Remove_variable_statement_90010", "Remove variable statement"), - Remove_template_tag: diag(90011, 3 /* Message */, "Remove_template_tag_90011", "Remove template tag"), - Remove_type_parameters: diag(90012, 3 /* Message */, "Remove_type_parameters_90012", "Remove type parameters"), - Import_0_from_1: diag(90013, 3 /* Message */, "Import_0_from_1_90013", `Import '{0}' from "{1}"`), - Change_0_to_1: diag(90014, 3 /* Message */, "Change_0_to_1_90014", "Change '{0}' to '{1}'"), - Declare_property_0: diag(90016, 3 /* Message */, "Declare_property_0_90016", "Declare property '{0}'"), - Add_index_signature_for_property_0: diag(90017, 3 /* Message */, "Add_index_signature_for_property_0_90017", "Add index signature for property '{0}'"), - Disable_checking_for_this_file: diag(90018, 3 /* Message */, "Disable_checking_for_this_file_90018", "Disable checking for this file"), - Ignore_this_error_message: diag(90019, 3 /* Message */, "Ignore_this_error_message_90019", "Ignore this error message"), - Initialize_property_0_in_the_constructor: diag(90020, 3 /* Message */, "Initialize_property_0_in_the_constructor_90020", "Initialize property '{0}' in the constructor"), - Initialize_static_property_0: diag(90021, 3 /* Message */, "Initialize_static_property_0_90021", "Initialize static property '{0}'"), - Change_spelling_to_0: diag(90022, 3 /* Message */, "Change_spelling_to_0_90022", "Change spelling to '{0}'"), - Declare_method_0: diag(90023, 3 /* Message */, "Declare_method_0_90023", "Declare method '{0}'"), - Declare_static_method_0: diag(90024, 3 /* Message */, "Declare_static_method_0_90024", "Declare static method '{0}'"), - Prefix_0_with_an_underscore: diag(90025, 3 /* Message */, "Prefix_0_with_an_underscore_90025", "Prefix '{0}' with an underscore"), - Rewrite_as_the_indexed_access_type_0: diag(90026, 3 /* Message */, "Rewrite_as_the_indexed_access_type_0_90026", "Rewrite as the indexed access type '{0}'"), - Declare_static_property_0: diag(90027, 3 /* Message */, "Declare_static_property_0_90027", "Declare static property '{0}'"), - Call_decorator_expression: diag(90028, 3 /* Message */, "Call_decorator_expression_90028", "Call decorator expression"), - Add_async_modifier_to_containing_function: diag(90029, 3 /* Message */, "Add_async_modifier_to_containing_function_90029", "Add async modifier to containing function"), - Replace_infer_0_with_unknown: diag(90030, 3 /* Message */, "Replace_infer_0_with_unknown_90030", "Replace 'infer {0}' with 'unknown'"), - Replace_all_unused_infer_with_unknown: diag(90031, 3 /* Message */, "Replace_all_unused_infer_with_unknown_90031", "Replace all unused 'infer' with 'unknown'"), - Add_parameter_name: diag(90034, 3 /* Message */, "Add_parameter_name_90034", "Add parameter name"), - Declare_private_property_0: diag(90035, 3 /* Message */, "Declare_private_property_0_90035", "Declare private property '{0}'"), - Replace_0_with_Promise_1: diag(90036, 3 /* Message */, "Replace_0_with_Promise_1_90036", "Replace '{0}' with 'Promise<{1}>'"), - Fix_all_incorrect_return_type_of_an_async_functions: diag(90037, 3 /* Message */, "Fix_all_incorrect_return_type_of_an_async_functions_90037", "Fix all incorrect return type of an async functions"), - Declare_private_method_0: diag(90038, 3 /* Message */, "Declare_private_method_0_90038", "Declare private method '{0}'"), - Remove_unused_destructuring_declaration: diag(90039, 3 /* Message */, "Remove_unused_destructuring_declaration_90039", "Remove unused destructuring declaration"), - Remove_unused_declarations_for_Colon_0: diag(90041, 3 /* Message */, "Remove_unused_declarations_for_Colon_0_90041", "Remove unused declarations for: '{0}'"), - Declare_a_private_field_named_0: diag(90053, 3 /* Message */, "Declare_a_private_field_named_0_90053", "Declare a private field named '{0}'."), - Includes_imports_of_types_referenced_by_0: diag(90054, 3 /* Message */, "Includes_imports_of_types_referenced_by_0_90054", "Includes imports of types referenced by '{0}'"), - Remove_type_from_import_declaration_from_0: diag(90055, 3 /* Message */, "Remove_type_from_import_declaration_from_0_90055", `Remove 'type' from import declaration from "{0}"`), - Remove_type_from_import_of_0_from_1: diag(90056, 3 /* Message */, "Remove_type_from_import_of_0_from_1_90056", `Remove 'type' from import of '{0}' from "{1}"`), - Add_import_from_0: diag(90057, 3 /* Message */, "Add_import_from_0_90057", 'Add import from "{0}"'), - Update_import_from_0: diag(90058, 3 /* Message */, "Update_import_from_0_90058", 'Update import from "{0}"'), - Export_0_from_module_1: diag(90059, 3 /* Message */, "Export_0_from_module_1_90059", "Export '{0}' from module '{1}'"), - Export_all_referenced_locals: diag(90060, 3 /* Message */, "Export_all_referenced_locals_90060", "Export all referenced locals"), - Update_modifiers_of_0: diag(90061, 3 /* Message */, "Update_modifiers_of_0_90061", "Update modifiers of '{0}'"), - Add_annotation_of_type_0: diag(90062, 3 /* Message */, "Add_annotation_of_type_0_90062", "Add annotation of type '{0}'"), - Add_return_type_0: diag(90063, 3 /* Message */, "Add_return_type_0_90063", "Add return type '{0}'"), - Extract_base_class_to_variable: diag(90064, 3 /* Message */, "Extract_base_class_to_variable_90064", "Extract base class to variable"), - Extract_default_export_to_variable: diag(90065, 3 /* Message */, "Extract_default_export_to_variable_90065", "Extract default export to variable"), - Extract_binding_expressions_to_variable: diag(90066, 3 /* Message */, "Extract_binding_expressions_to_variable_90066", "Extract binding expressions to variable"), - Add_all_missing_type_annotations: diag(90067, 3 /* Message */, "Add_all_missing_type_annotations_90067", "Add all missing type annotations"), - Add_satisfies_and_an_inline_type_assertion_with_0: diag(90068, 3 /* Message */, "Add_satisfies_and_an_inline_type_assertion_with_0_90068", "Add satisfies and an inline type assertion with '{0}'"), - Extract_to_variable_and_replace_with_0_as_typeof_0: diag(90069, 3 /* Message */, "Extract_to_variable_and_replace_with_0_as_typeof_0_90069", "Extract to variable and replace with '{0} as typeof {0}'"), - Mark_array_literal_as_const: diag(90070, 3 /* Message */, "Mark_array_literal_as_const_90070", "Mark array literal as const"), - Annotate_types_of_properties_expando_function_in_a_namespace: diag(90071, 3 /* Message */, "Annotate_types_of_properties_expando_function_in_a_namespace_90071", "Annotate types of properties expando function in a namespace"), - Convert_function_to_an_ES2015_class: diag(95001, 3 /* Message */, "Convert_function_to_an_ES2015_class_95001", "Convert function to an ES2015 class"), - Convert_0_to_1_in_0: diag(95003, 3 /* Message */, "Convert_0_to_1_in_0_95003", "Convert '{0}' to '{1} in {0}'"), - Extract_to_0_in_1: diag(95004, 3 /* Message */, "Extract_to_0_in_1_95004", "Extract to {0} in {1}"), - Extract_function: diag(95005, 3 /* Message */, "Extract_function_95005", "Extract function"), - Extract_constant: diag(95006, 3 /* Message */, "Extract_constant_95006", "Extract constant"), - Extract_to_0_in_enclosing_scope: diag(95007, 3 /* Message */, "Extract_to_0_in_enclosing_scope_95007", "Extract to {0} in enclosing scope"), - Extract_to_0_in_1_scope: diag(95008, 3 /* Message */, "Extract_to_0_in_1_scope_95008", "Extract to {0} in {1} scope"), - Annotate_with_type_from_JSDoc: diag(95009, 3 /* Message */, "Annotate_with_type_from_JSDoc_95009", "Annotate with type from JSDoc"), - Infer_type_of_0_from_usage: diag(95011, 3 /* Message */, "Infer_type_of_0_from_usage_95011", "Infer type of '{0}' from usage"), - Infer_parameter_types_from_usage: diag(95012, 3 /* Message */, "Infer_parameter_types_from_usage_95012", "Infer parameter types from usage"), - Convert_to_default_import: diag(95013, 3 /* Message */, "Convert_to_default_import_95013", "Convert to default import"), - Install_0: diag(95014, 3 /* Message */, "Install_0_95014", "Install '{0}'"), - Replace_import_with_0: diag(95015, 3 /* Message */, "Replace_import_with_0_95015", "Replace import with '{0}'."), - Use_synthetic_default_member: diag(95016, 3 /* Message */, "Use_synthetic_default_member_95016", "Use synthetic 'default' member."), - Convert_to_ES_module: diag(95017, 3 /* Message */, "Convert_to_ES_module_95017", "Convert to ES module"), - Add_undefined_type_to_property_0: diag(95018, 3 /* Message */, "Add_undefined_type_to_property_0_95018", "Add 'undefined' type to property '{0}'"), - Add_initializer_to_property_0: diag(95019, 3 /* Message */, "Add_initializer_to_property_0_95019", "Add initializer to property '{0}'"), - Add_definite_assignment_assertion_to_property_0: diag(95020, 3 /* Message */, "Add_definite_assignment_assertion_to_property_0_95020", "Add definite assignment assertion to property '{0}'"), - Convert_all_type_literals_to_mapped_type: diag(95021, 3 /* Message */, "Convert_all_type_literals_to_mapped_type_95021", "Convert all type literals to mapped type"), - Add_all_missing_members: diag(95022, 3 /* Message */, "Add_all_missing_members_95022", "Add all missing members"), - Infer_all_types_from_usage: diag(95023, 3 /* Message */, "Infer_all_types_from_usage_95023", "Infer all types from usage"), - Delete_all_unused_declarations: diag(95024, 3 /* Message */, "Delete_all_unused_declarations_95024", "Delete all unused declarations"), - Prefix_all_unused_declarations_with_where_possible: diag(95025, 3 /* Message */, "Prefix_all_unused_declarations_with_where_possible_95025", "Prefix all unused declarations with '_' where possible"), - Fix_all_detected_spelling_errors: diag(95026, 3 /* Message */, "Fix_all_detected_spelling_errors_95026", "Fix all detected spelling errors"), - Add_initializers_to_all_uninitialized_properties: diag(95027, 3 /* Message */, "Add_initializers_to_all_uninitialized_properties_95027", "Add initializers to all uninitialized properties"), - Add_definite_assignment_assertions_to_all_uninitialized_properties: diag(95028, 3 /* 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: diag(95029, 3 /* Message */, "Add_undefined_type_to_all_uninitialized_properties_95029", "Add undefined type to all uninitialized properties"), - Change_all_jsdoc_style_types_to_TypeScript: diag(95030, 3 /* 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: diag(95031, 3 /* 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: diag(95032, 3 /* Message */, "Implement_all_unimplemented_interfaces_95032", "Implement all unimplemented interfaces"), - Install_all_missing_types_packages: diag(95033, 3 /* Message */, "Install_all_missing_types_packages_95033", "Install all missing types packages"), - Rewrite_all_as_indexed_access_types: diag(95034, 3 /* Message */, "Rewrite_all_as_indexed_access_types_95034", "Rewrite all as indexed access types"), - Convert_all_to_default_imports: diag(95035, 3 /* Message */, "Convert_all_to_default_imports_95035", "Convert all to default imports"), - Make_all_super_calls_the_first_statement_in_their_constructor: diag(95036, 3 /* 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: diag(95037, 3 /* 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: diag(95038, 3 /* Message */, "Change_all_extended_interfaces_to_implements_95038", "Change all extended interfaces to 'implements'"), - Add_all_missing_super_calls: diag(95039, 3 /* Message */, "Add_all_missing_super_calls_95039", "Add all missing super calls"), - Implement_all_inherited_abstract_classes: diag(95040, 3 /* Message */, "Implement_all_inherited_abstract_classes_95040", "Implement all inherited abstract classes"), - Add_all_missing_async_modifiers: diag(95041, 3 /* Message */, "Add_all_missing_async_modifiers_95041", "Add all missing 'async' modifiers"), - Add_ts_ignore_to_all_error_messages: diag(95042, 3 /* Message */, "Add_ts_ignore_to_all_error_messages_95042", "Add '@ts-ignore' to all error messages"), - Annotate_everything_with_types_from_JSDoc: diag(95043, 3 /* Message */, "Annotate_everything_with_types_from_JSDoc_95043", "Annotate everything with types from JSDoc"), - Add_to_all_uncalled_decorators: diag(95044, 3 /* Message */, "Add_to_all_uncalled_decorators_95044", "Add '()' to all uncalled decorators"), - Convert_all_constructor_functions_to_classes: diag(95045, 3 /* Message */, "Convert_all_constructor_functions_to_classes_95045", "Convert all constructor functions to classes"), - Generate_get_and_set_accessors: diag(95046, 3 /* Message */, "Generate_get_and_set_accessors_95046", "Generate 'get' and 'set' accessors"), - Convert_require_to_import: diag(95047, 3 /* Message */, "Convert_require_to_import_95047", "Convert 'require' to 'import'"), - Convert_all_require_to_import: diag(95048, 3 /* Message */, "Convert_all_require_to_import_95048", "Convert all 'require' to 'import'"), - Move_to_a_new_file: diag(95049, 3 /* Message */, "Move_to_a_new_file_95049", "Move to a new file"), - Remove_unreachable_code: diag(95050, 3 /* Message */, "Remove_unreachable_code_95050", "Remove unreachable code"), - Remove_all_unreachable_code: diag(95051, 3 /* Message */, "Remove_all_unreachable_code_95051", "Remove all unreachable code"), - Add_missing_typeof: diag(95052, 3 /* Message */, "Add_missing_typeof_95052", "Add missing 'typeof'"), - Remove_unused_label: diag(95053, 3 /* Message */, "Remove_unused_label_95053", "Remove unused label"), - Remove_all_unused_labels: diag(95054, 3 /* Message */, "Remove_all_unused_labels_95054", "Remove all unused labels"), - Convert_0_to_mapped_object_type: diag(95055, 3 /* Message */, "Convert_0_to_mapped_object_type_95055", "Convert '{0}' to mapped object type"), - Convert_namespace_import_to_named_imports: diag(95056, 3 /* Message */, "Convert_namespace_import_to_named_imports_95056", "Convert namespace import to named imports"), - Convert_named_imports_to_namespace_import: diag(95057, 3 /* Message */, "Convert_named_imports_to_namespace_import_95057", "Convert named imports to namespace import"), - Add_or_remove_braces_in_an_arrow_function: diag(95058, 3 /* Message */, "Add_or_remove_braces_in_an_arrow_function_95058", "Add or remove braces in an arrow function"), - Add_braces_to_arrow_function: diag(95059, 3 /* Message */, "Add_braces_to_arrow_function_95059", "Add braces to arrow function"), - Remove_braces_from_arrow_function: diag(95060, 3 /* Message */, "Remove_braces_from_arrow_function_95060", "Remove braces from arrow function"), - Convert_default_export_to_named_export: diag(95061, 3 /* Message */, "Convert_default_export_to_named_export_95061", "Convert default export to named export"), - Convert_named_export_to_default_export: diag(95062, 3 /* Message */, "Convert_named_export_to_default_export_95062", "Convert named export to default export"), - Add_missing_enum_member_0: diag(95063, 3 /* Message */, "Add_missing_enum_member_0_95063", "Add missing enum member '{0}'"), - Add_all_missing_imports: diag(95064, 3 /* Message */, "Add_all_missing_imports_95064", "Add all missing imports"), - Convert_to_async_function: diag(95065, 3 /* Message */, "Convert_to_async_function_95065", "Convert to async function"), - Convert_all_to_async_functions: diag(95066, 3 /* Message */, "Convert_all_to_async_functions_95066", "Convert all to async functions"), - Add_missing_call_parentheses: diag(95067, 3 /* Message */, "Add_missing_call_parentheses_95067", "Add missing call parentheses"), - Add_all_missing_call_parentheses: diag(95068, 3 /* Message */, "Add_all_missing_call_parentheses_95068", "Add all missing call parentheses"), - Add_unknown_conversion_for_non_overlapping_types: diag(95069, 3 /* 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: diag(95070, 3 /* 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: diag(95071, 3 /* Message */, "Add_missing_new_operator_to_call_95071", "Add missing 'new' operator to call"), - Add_missing_new_operator_to_all_calls: diag(95072, 3 /* Message */, "Add_missing_new_operator_to_all_calls_95072", "Add missing 'new' operator to all calls"), - Add_names_to_all_parameters_without_names: diag(95073, 3 /* Message */, "Add_names_to_all_parameters_without_names_95073", "Add names to all parameters without names"), - Enable_the_experimentalDecorators_option_in_your_configuration_file: diag(95074, 3 /* Message */, "Enable_the_experimentalDecorators_option_in_your_configuration_file_95074", "Enable the 'experimentalDecorators' option in your configuration file"), - Convert_parameters_to_destructured_object: diag(95075, 3 /* Message */, "Convert_parameters_to_destructured_object_95075", "Convert parameters to destructured object"), - Extract_type: diag(95077, 3 /* Message */, "Extract_type_95077", "Extract type"), - Extract_to_type_alias: diag(95078, 3 /* Message */, "Extract_to_type_alias_95078", "Extract to type alias"), - Extract_to_typedef: diag(95079, 3 /* Message */, "Extract_to_typedef_95079", "Extract to typedef"), - Infer_this_type_of_0_from_usage: diag(95080, 3 /* Message */, "Infer_this_type_of_0_from_usage_95080", "Infer 'this' type of '{0}' from usage"), - Add_const_to_unresolved_variable: diag(95081, 3 /* Message */, "Add_const_to_unresolved_variable_95081", "Add 'const' to unresolved variable"), - Add_const_to_all_unresolved_variables: diag(95082, 3 /* Message */, "Add_const_to_all_unresolved_variables_95082", "Add 'const' to all unresolved variables"), - Add_await: diag(95083, 3 /* Message */, "Add_await_95083", "Add 'await'"), - Add_await_to_initializer_for_0: diag(95084, 3 /* Message */, "Add_await_to_initializer_for_0_95084", "Add 'await' to initializer for '{0}'"), - Fix_all_expressions_possibly_missing_await: diag(95085, 3 /* Message */, "Fix_all_expressions_possibly_missing_await_95085", "Fix all expressions possibly missing 'await'"), - Remove_unnecessary_await: diag(95086, 3 /* Message */, "Remove_unnecessary_await_95086", "Remove unnecessary 'await'"), - Remove_all_unnecessary_uses_of_await: diag(95087, 3 /* Message */, "Remove_all_unnecessary_uses_of_await_95087", "Remove all unnecessary uses of 'await'"), - Enable_the_jsx_flag_in_your_configuration_file: diag(95088, 3 /* Message */, "Enable_the_jsx_flag_in_your_configuration_file_95088", "Enable the '--jsx' flag in your configuration file"), - Add_await_to_initializers: diag(95089, 3 /* Message */, "Add_await_to_initializers_95089", "Add 'await' to initializers"), - Extract_to_interface: diag(95090, 3 /* Message */, "Extract_to_interface_95090", "Extract to interface"), - Convert_to_a_bigint_numeric_literal: diag(95091, 3 /* Message */, "Convert_to_a_bigint_numeric_literal_95091", "Convert to a bigint numeric literal"), - Convert_all_to_bigint_numeric_literals: diag(95092, 3 /* Message */, "Convert_all_to_bigint_numeric_literals_95092", "Convert all to bigint numeric literals"), - Convert_const_to_let: diag(95093, 3 /* Message */, "Convert_const_to_let_95093", "Convert 'const' to 'let'"), - Prefix_with_declare: diag(95094, 3 /* Message */, "Prefix_with_declare_95094", "Prefix with 'declare'"), - Prefix_all_incorrect_property_declarations_with_declare: diag(95095, 3 /* Message */, "Prefix_all_incorrect_property_declarations_with_declare_95095", "Prefix all incorrect property declarations with 'declare'"), - Convert_to_template_string: diag(95096, 3 /* Message */, "Convert_to_template_string_95096", "Convert to template string"), - Add_export_to_make_this_file_into_a_module: diag(95097, 3 /* 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: diag(95098, 3 /* 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: diag(95099, 3 /* 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: diag(95100, 3 /* 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: diag(95101, 3 /* Message */, "Convert_all_invalid_characters_to_HTML_entity_code_95101", "Convert all invalid characters to HTML entity code"), - Convert_all_const_to_let: diag(95102, 3 /* Message */, "Convert_all_const_to_let_95102", "Convert all 'const' to 'let'"), - Convert_function_expression_0_to_arrow_function: diag(95105, 3 /* Message */, "Convert_function_expression_0_to_arrow_function_95105", "Convert function expression '{0}' to arrow function"), - Convert_function_declaration_0_to_arrow_function: diag(95106, 3 /* Message */, "Convert_function_declaration_0_to_arrow_function_95106", "Convert function declaration '{0}' to arrow function"), - Fix_all_implicit_this_errors: diag(95107, 3 /* Message */, "Fix_all_implicit_this_errors_95107", "Fix all implicit-'this' errors"), - Wrap_invalid_character_in_an_expression_container: diag(95108, 3 /* Message */, "Wrap_invalid_character_in_an_expression_container_95108", "Wrap invalid character in an expression container"), - Wrap_all_invalid_characters_in_an_expression_container: diag(95109, 3 /* 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_to_read_more_about_this_file: diag(95110, 3 /* Message */, "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: diag(95111, 3 /* Message */, "Add_a_return_statement_95111", "Add a return statement"), - Remove_braces_from_arrow_function_body: diag(95112, 3 /* 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: diag(95113, 3 /* 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: diag(95114, 3 /* Message */, "Add_all_missing_return_statement_95114", "Add all missing return statement"), - Remove_braces_from_all_arrow_function_bodies_with_relevant_issues: diag(95115, 3 /* 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: diag(95116, 3 /* Message */, "Wrap_all_object_literal_with_parentheses_95116", "Wrap all object literal with parentheses"), - Move_labeled_tuple_element_modifiers_to_labels: diag(95117, 3 /* Message */, "Move_labeled_tuple_element_modifiers_to_labels_95117", "Move labeled tuple element modifiers to labels"), - Convert_overload_list_to_single_signature: diag(95118, 3 /* Message */, "Convert_overload_list_to_single_signature_95118", "Convert overload list to single signature"), - Generate_get_and_set_accessors_for_all_overriding_properties: diag(95119, 3 /* Message */, "Generate_get_and_set_accessors_for_all_overriding_properties_95119", "Generate 'get' and 'set' accessors for all overriding properties"), - Wrap_in_JSX_fragment: diag(95120, 3 /* Message */, "Wrap_in_JSX_fragment_95120", "Wrap in JSX fragment"), - Wrap_all_unparented_JSX_in_JSX_fragment: diag(95121, 3 /* Message */, "Wrap_all_unparented_JSX_in_JSX_fragment_95121", "Wrap all unparented JSX in JSX fragment"), - Convert_arrow_function_or_function_expression: diag(95122, 3 /* Message */, "Convert_arrow_function_or_function_expression_95122", "Convert arrow function or function expression"), - Convert_to_anonymous_function: diag(95123, 3 /* Message */, "Convert_to_anonymous_function_95123", "Convert to anonymous function"), - Convert_to_named_function: diag(95124, 3 /* Message */, "Convert_to_named_function_95124", "Convert to named function"), - Convert_to_arrow_function: diag(95125, 3 /* Message */, "Convert_to_arrow_function_95125", "Convert to arrow function"), - Remove_parentheses: diag(95126, 3 /* Message */, "Remove_parentheses_95126", "Remove parentheses"), - Could_not_find_a_containing_arrow_function: diag(95127, 3 /* Message */, "Could_not_find_a_containing_arrow_function_95127", "Could not find a containing arrow function"), - Containing_function_is_not_an_arrow_function: diag(95128, 3 /* Message */, "Containing_function_is_not_an_arrow_function_95128", "Containing function is not an arrow function"), - Could_not_find_export_statement: diag(95129, 3 /* Message */, "Could_not_find_export_statement_95129", "Could not find export statement"), - This_file_already_has_a_default_export: diag(95130, 3 /* Message */, "This_file_already_has_a_default_export_95130", "This file already has a default export"), - Could_not_find_import_clause: diag(95131, 3 /* Message */, "Could_not_find_import_clause_95131", "Could not find import clause"), - Could_not_find_namespace_import_or_named_imports: diag(95132, 3 /* 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: diag(95133, 3 /* 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: diag(95134, 3 /* 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: diag(95135, 3 /* Message */, "Could_not_find_property_for_which_to_generate_accessor_95135", "Could not find property for which to generate accessor"), - Name_is_not_valid: diag(95136, 3 /* Message */, "Name_is_not_valid_95136", "Name is not valid"), - Can_only_convert_property_with_modifier: diag(95137, 3 /* Message */, "Can_only_convert_property_with_modifier_95137", "Can only convert property with modifier"), - Switch_each_misused_0_to_1: diag(95138, 3 /* Message */, "Switch_each_misused_0_to_1_95138", "Switch each misused '{0}' to '{1}'"), - Convert_to_optional_chain_expression: diag(95139, 3 /* Message */, "Convert_to_optional_chain_expression_95139", "Convert to optional chain expression"), - Could_not_find_convertible_access_expression: diag(95140, 3 /* Message */, "Could_not_find_convertible_access_expression_95140", "Could not find convertible access expression"), - Could_not_find_matching_access_expressions: diag(95141, 3 /* Message */, "Could_not_find_matching_access_expressions_95141", "Could not find matching access expressions"), - Can_only_convert_logical_AND_access_chains: diag(95142, 3 /* Message */, "Can_only_convert_logical_AND_access_chains_95142", "Can only convert logical AND access chains"), - Add_void_to_Promise_resolved_without_a_value: diag(95143, 3 /* 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: diag(95144, 3 /* 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: diag(95145, 3 /* Message */, "Use_element_access_for_0_95145", "Use element access for '{0}'"), - Use_element_access_for_all_undeclared_properties: diag(95146, 3 /* Message */, "Use_element_access_for_all_undeclared_properties_95146", "Use element access for all undeclared properties."), - Delete_all_unused_imports: diag(95147, 3 /* Message */, "Delete_all_unused_imports_95147", "Delete all unused imports"), - Infer_function_return_type: diag(95148, 3 /* Message */, "Infer_function_return_type_95148", "Infer function return type"), - Return_type_must_be_inferred_from_a_function: diag(95149, 3 /* Message */, "Return_type_must_be_inferred_from_a_function_95149", "Return type must be inferred from a function"), - Could_not_determine_function_return_type: diag(95150, 3 /* Message */, "Could_not_determine_function_return_type_95150", "Could not determine function return type"), - Could_not_convert_to_arrow_function: diag(95151, 3 /* Message */, "Could_not_convert_to_arrow_function_95151", "Could not convert to arrow function"), - Could_not_convert_to_named_function: diag(95152, 3 /* Message */, "Could_not_convert_to_named_function_95152", "Could not convert to named function"), - Could_not_convert_to_anonymous_function: diag(95153, 3 /* Message */, "Could_not_convert_to_anonymous_function_95153", "Could not convert to anonymous function"), - Can_only_convert_string_concatenations_and_string_literals: diag(95154, 3 /* Message */, "Can_only_convert_string_concatenations_and_string_literals_95154", "Can only convert string concatenations and string literals"), - Selection_is_not_a_valid_statement_or_statements: diag(95155, 3 /* Message */, "Selection_is_not_a_valid_statement_or_statements_95155", "Selection is not a valid statement or statements"), - Add_missing_function_declaration_0: diag(95156, 3 /* Message */, "Add_missing_function_declaration_0_95156", "Add missing function declaration '{0}'"), - Add_all_missing_function_declarations: diag(95157, 3 /* Message */, "Add_all_missing_function_declarations_95157", "Add all missing function declarations"), - Method_not_implemented: diag(95158, 3 /* Message */, "Method_not_implemented_95158", "Method not implemented."), - Function_not_implemented: diag(95159, 3 /* Message */, "Function_not_implemented_95159", "Function not implemented."), - Add_override_modifier: diag(95160, 3 /* Message */, "Add_override_modifier_95160", "Add 'override' modifier"), - Remove_override_modifier: diag(95161, 3 /* Message */, "Remove_override_modifier_95161", "Remove 'override' modifier"), - Add_all_missing_override_modifiers: diag(95162, 3 /* Message */, "Add_all_missing_override_modifiers_95162", "Add all missing 'override' modifiers"), - Remove_all_unnecessary_override_modifiers: diag(95163, 3 /* Message */, "Remove_all_unnecessary_override_modifiers_95163", "Remove all unnecessary 'override' modifiers"), - Can_only_convert_named_export: diag(95164, 3 /* Message */, "Can_only_convert_named_export_95164", "Can only convert named export"), - Add_missing_properties: diag(95165, 3 /* Message */, "Add_missing_properties_95165", "Add missing properties"), - Add_all_missing_properties: diag(95166, 3 /* Message */, "Add_all_missing_properties_95166", "Add all missing properties"), - Add_missing_attributes: diag(95167, 3 /* Message */, "Add_missing_attributes_95167", "Add missing attributes"), - Add_all_missing_attributes: diag(95168, 3 /* Message */, "Add_all_missing_attributes_95168", "Add all missing attributes"), - Add_undefined_to_optional_property_type: diag(95169, 3 /* Message */, "Add_undefined_to_optional_property_type_95169", "Add 'undefined' to optional property type"), - Convert_named_imports_to_default_import: diag(95170, 3 /* Message */, "Convert_named_imports_to_default_import_95170", "Convert named imports to default import"), - Delete_unused_param_tag_0: diag(95171, 3 /* Message */, "Delete_unused_param_tag_0_95171", "Delete unused '@param' tag '{0}'"), - Delete_all_unused_param_tags: diag(95172, 3 /* Message */, "Delete_all_unused_param_tags_95172", "Delete all unused '@param' tags"), - Rename_param_tag_name_0_to_1: diag(95173, 3 /* Message */, "Rename_param_tag_name_0_to_1_95173", "Rename '@param' tag name '{0}' to '{1}'"), - Use_0: diag(95174, 3 /* Message */, "Use_0_95174", "Use `{0}`."), - Use_Number_isNaN_in_all_conditions: diag(95175, 3 /* Message */, "Use_Number_isNaN_in_all_conditions_95175", "Use `Number.isNaN` in all conditions."), - Convert_typedef_to_TypeScript_type: diag(95176, 3 /* Message */, "Convert_typedef_to_TypeScript_type_95176", "Convert typedef to TypeScript type."), - Convert_all_typedef_to_TypeScript_types: diag(95177, 3 /* Message */, "Convert_all_typedef_to_TypeScript_types_95177", "Convert all typedef to TypeScript types."), - Move_to_file: diag(95178, 3 /* Message */, "Move_to_file_95178", "Move to file"), - Cannot_move_to_file_selected_file_is_invalid: diag(95179, 3 /* Message */, "Cannot_move_to_file_selected_file_is_invalid_95179", "Cannot move to file, selected file is invalid"), - Use_import_type: diag(95180, 3 /* Message */, "Use_import_type_95180", "Use 'import type'"), - Use_type_0: diag(95181, 3 /* Message */, "Use_type_0_95181", "Use 'type {0}'"), - Fix_all_with_type_only_imports: diag(95182, 3 /* Message */, "Fix_all_with_type_only_imports_95182", "Fix all with type-only imports"), - Cannot_move_statements_to_the_selected_file: diag(95183, 3 /* Message */, "Cannot_move_statements_to_the_selected_file_95183", "Cannot move statements to the selected file"), - Inline_variable: diag(95184, 3 /* Message */, "Inline_variable_95184", "Inline variable"), - Could_not_find_variable_to_inline: diag(95185, 3 /* Message */, "Could_not_find_variable_to_inline_95185", "Could not find variable to inline."), - Variables_with_multiple_declarations_cannot_be_inlined: diag(95186, 3 /* Message */, "Variables_with_multiple_declarations_cannot_be_inlined_95186", "Variables with multiple declarations cannot be inlined."), - Add_missing_comma_for_object_member_completion_0: diag(95187, 3 /* Message */, "Add_missing_comma_for_object_member_completion_0_95187", "Add missing comma for object member completion '{0}'."), - Add_missing_parameter_to_0: diag(95188, 3 /* Message */, "Add_missing_parameter_to_0_95188", "Add missing parameter to '{0}'"), - Add_missing_parameters_to_0: diag(95189, 3 /* Message */, "Add_missing_parameters_to_0_95189", "Add missing parameters to '{0}'"), - Add_all_missing_parameters: diag(95190, 3 /* Message */, "Add_all_missing_parameters_95190", "Add all missing parameters"), - Add_optional_parameter_to_0: diag(95191, 3 /* Message */, "Add_optional_parameter_to_0_95191", "Add optional parameter to '{0}'"), - Add_optional_parameters_to_0: diag(95192, 3 /* Message */, "Add_optional_parameters_to_0_95192", "Add optional parameters to '{0}'"), - Add_all_optional_parameters: diag(95193, 3 /* Message */, "Add_all_optional_parameters_95193", "Add all optional parameters"), - Wrap_in_parentheses: diag(95194, 3 /* Message */, "Wrap_in_parentheses_95194", "Wrap in parentheses"), - Wrap_all_invalid_decorator_expressions_in_parentheses: diag(95195, 3 /* Message */, "Wrap_all_invalid_decorator_expressions_in_parentheses_95195", "Wrap all invalid decorator expressions in parentheses"), - No_value_exists_in_scope_for_the_shorthand_property_0_Either_declare_one_or_provide_an_initializer: diag(18004, 1 /* 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: diag(18006, 1 /* 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: diag(18007, 1 /* 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: diag(18009, 1 /* 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: diag(18010, 1 /* 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: diag(18011, 1 /* 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: diag(18012, 1 /* 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: diag(18013, 1 /* 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: diag(18014, 1 /* 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: diag(18015, 1 /* 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: diag(18016, 1 /* 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: diag(18017, 1 /* 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: diag(18018, 1 /* 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: diag(18019, 1 /* 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: diag(18024, 1 /* 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: diag(18026, 1 /* 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: diag(18027, 1 /* 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: diag(18028, 1 /* 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: diag(18029, 1 /* 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: diag(18030, 1 /* 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: diag(18031, 1 /* 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: diag(18032, 1 /* 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."), - Type_0_is_not_assignable_to_type_1_as_required_for_computed_enum_member_values: diag(18033, 1 /* Error */, "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: diag(18034, 3 /* 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: diag(18035, 1 /* 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: diag(18036, 1 /* 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: diag(18037, 1 /* 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: diag(18038, 1 /* 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: diag(18039, 1 /* 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: diag(18041, 1 /* Error */, "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: diag(18042, 1 /* Error */, "_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: diag(18043, 1 /* Error */, "Types_cannot_appear_in_export_declarations_in_JavaScript_files_18043", "Types cannot appear in export declarations in JavaScript files."), - _0_is_automatically_exported_here: diag(18044, 3 /* Message */, "_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: diag(18045, 1 /* Error */, "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: diag(18046, 1 /* Error */, "_0_is_of_type_unknown_18046", "'{0}' is of type 'unknown'."), - _0_is_possibly_null: diag(18047, 1 /* Error */, "_0_is_possibly_null_18047", "'{0}' is possibly 'null'."), - _0_is_possibly_undefined: diag(18048, 1 /* Error */, "_0_is_possibly_undefined_18048", "'{0}' is possibly 'undefined'."), - _0_is_possibly_null_or_undefined: diag(18049, 1 /* Error */, "_0_is_possibly_null_or_undefined_18049", "'{0}' is possibly 'null' or 'undefined'."), - The_value_0_cannot_be_used_here: diag(18050, 1 /* Error */, "The_value_0_cannot_be_used_here_18050", "The value '{0}' cannot be used here."), - Compiler_option_0_cannot_be_given_an_empty_string: diag(18051, 1 /* Error */, "Compiler_option_0_cannot_be_given_an_empty_string_18051", "Compiler option '{0}' cannot be given an empty string."), - Its_type_0_is_not_a_valid_JSX_element_type: diag(18053, 1 /* Error */, "Its_type_0_is_not_a_valid_JSX_element_type_18053", "Its type '{0}' is not a valid JSX element type."), - await_using_statements_cannot_be_used_inside_a_class_static_block: diag(18054, 1 /* Error */, "await_using_statements_cannot_be_used_inside_a_class_static_block_18054", "'await using' statements cannot be used inside a class static block."), - _0_has_a_string_type_but_must_have_syntactically_recognizable_string_syntax_when_isolatedModules_is_enabled: diag(18055, 1 /* Error */, "_0_has_a_string_type_but_must_have_syntactically_recognizable_string_syntax_when_isolatedModules_is__18055", "'{0}' has a string type, but must have syntactically recognizable string syntax when 'isolatedModules' is enabled."), - Enum_member_following_a_non_literal_numeric_member_must_have_an_initializer_when_isolatedModules_is_enabled: diag(18056, 1 /* Error */, "Enum_member_following_a_non_literal_numeric_member_must_have_an_initializer_when_isolatedModules_is__18056", "Enum member following a non-literal numeric member must have an initializer when 'isolatedModules' is enabled."), - String_literal_import_and_export_names_are_not_supported_when_the_module_flag_is_set_to_es2015_or_es2020: diag(18057, 1 /* Error */, "String_literal_import_and_export_names_are_not_supported_when_the_module_flag_is_set_to_es2015_or_es_18057", "String literal import and export names are not supported when the '--module' flag is set to 'es2015' or 'es2020'.") -}; - -// src/compiler/scanner.ts -function tokenIsIdentifierOrKeyword(token) { - return token >= 80 /* Identifier */; -} -function tokenIsIdentifierOrKeywordOrGreaterThan(token) { - return token === 32 /* GreaterThanToken */ || tokenIsIdentifierOrKeyword(token); -} -var textToKeywordObj = { - abstract: 128 /* AbstractKeyword */, - accessor: 129 /* AccessorKeyword */, - any: 133 /* AnyKeyword */, - as: 130 /* AsKeyword */, - asserts: 131 /* AssertsKeyword */, - assert: 132 /* AssertKeyword */, - bigint: 163 /* BigIntKeyword */, - boolean: 136 /* BooleanKeyword */, - break: 83 /* BreakKeyword */, - case: 84 /* CaseKeyword */, - catch: 85 /* CatchKeyword */, - class: 86 /* ClassKeyword */, - continue: 88 /* ContinueKeyword */, - const: 87 /* ConstKeyword */, - ["constructor"]: 137 /* ConstructorKeyword */, - debugger: 89 /* DebuggerKeyword */, - declare: 138 /* DeclareKeyword */, - default: 90 /* DefaultKeyword */, - delete: 91 /* DeleteKeyword */, - do: 92 /* DoKeyword */, - else: 93 /* ElseKeyword */, - enum: 94 /* EnumKeyword */, - export: 95 /* ExportKeyword */, - extends: 96 /* ExtendsKeyword */, - false: 97 /* FalseKeyword */, - finally: 98 /* FinallyKeyword */, - for: 99 /* ForKeyword */, - from: 161 /* FromKeyword */, - function: 100 /* FunctionKeyword */, - get: 139 /* GetKeyword */, - if: 101 /* IfKeyword */, - implements: 119 /* ImplementsKeyword */, - import: 102 /* ImportKeyword */, - in: 103 /* InKeyword */, - infer: 140 /* InferKeyword */, - instanceof: 104 /* InstanceOfKeyword */, - interface: 120 /* InterfaceKeyword */, - intrinsic: 141 /* IntrinsicKeyword */, - is: 142 /* IsKeyword */, - keyof: 143 /* KeyOfKeyword */, - let: 121 /* LetKeyword */, - module: 144 /* ModuleKeyword */, - namespace: 145 /* NamespaceKeyword */, - never: 146 /* NeverKeyword */, - new: 105 /* NewKeyword */, - null: 106 /* NullKeyword */, - number: 150 /* NumberKeyword */, - object: 151 /* ObjectKeyword */, - package: 122 /* PackageKeyword */, - private: 123 /* PrivateKeyword */, - protected: 124 /* ProtectedKeyword */, - public: 125 /* PublicKeyword */, - override: 164 /* OverrideKeyword */, - out: 147 /* OutKeyword */, - readonly: 148 /* ReadonlyKeyword */, - require: 149 /* RequireKeyword */, - global: 162 /* GlobalKeyword */, - return: 107 /* ReturnKeyword */, - satisfies: 152 /* SatisfiesKeyword */, - set: 153 /* SetKeyword */, - static: 126 /* StaticKeyword */, - string: 154 /* StringKeyword */, - super: 108 /* SuperKeyword */, - switch: 109 /* SwitchKeyword */, - symbol: 155 /* SymbolKeyword */, - this: 110 /* ThisKeyword */, - throw: 111 /* ThrowKeyword */, - true: 112 /* TrueKeyword */, - try: 113 /* TryKeyword */, - type: 156 /* TypeKeyword */, - typeof: 114 /* TypeOfKeyword */, - undefined: 157 /* UndefinedKeyword */, - unique: 158 /* UniqueKeyword */, - unknown: 159 /* UnknownKeyword */, - using: 160 /* UsingKeyword */, - var: 115 /* VarKeyword */, - void: 116 /* VoidKeyword */, - while: 117 /* WhileKeyword */, - with: 118 /* WithKeyword */, - yield: 127 /* YieldKeyword */, - async: 134 /* AsyncKeyword */, - await: 135 /* AwaitKeyword */, - of: 165 /* OfKeyword */ -}; -var textToKeyword = new Map(Object.entries(textToKeywordObj)); -var textToToken = new Map(Object.entries({ - ...textToKeywordObj, - "{": 19 /* OpenBraceToken */, - "}": 20 /* CloseBraceToken */, - "(": 21 /* OpenParenToken */, - ")": 22 /* CloseParenToken */, - "[": 23 /* OpenBracketToken */, - "]": 24 /* CloseBracketToken */, - ".": 25 /* DotToken */, - "...": 26 /* DotDotDotToken */, - ";": 27 /* SemicolonToken */, - ",": 28 /* CommaToken */, - "<": 30 /* LessThanToken */, - ">": 32 /* GreaterThanToken */, - "<=": 33 /* LessThanEqualsToken */, - ">=": 34 /* GreaterThanEqualsToken */, - "==": 35 /* EqualsEqualsToken */, - "!=": 36 /* ExclamationEqualsToken */, - "===": 37 /* EqualsEqualsEqualsToken */, - "!==": 38 /* ExclamationEqualsEqualsToken */, - "=>": 39 /* EqualsGreaterThanToken */, - "+": 40 /* PlusToken */, - "-": 41 /* MinusToken */, - "**": 43 /* AsteriskAsteriskToken */, - "*": 42 /* AsteriskToken */, - "/": 44 /* SlashToken */, - "%": 45 /* PercentToken */, - "++": 46 /* PlusPlusToken */, - "--": 47 /* MinusMinusToken */, - "<<": 48 /* LessThanLessThanToken */, - ">": 49 /* GreaterThanGreaterThanToken */, - ">>>": 50 /* GreaterThanGreaterThanGreaterThanToken */, - "&": 51 /* AmpersandToken */, - "|": 52 /* BarToken */, - "^": 53 /* CaretToken */, - "!": 54 /* ExclamationToken */, - "~": 55 /* TildeToken */, - "&&": 56 /* AmpersandAmpersandToken */, - "||": 57 /* BarBarToken */, - "?": 58 /* QuestionToken */, - "??": 61 /* QuestionQuestionToken */, - "?.": 29 /* QuestionDotToken */, - ":": 59 /* ColonToken */, - "=": 64 /* EqualsToken */, - "+=": 65 /* PlusEqualsToken */, - "-=": 66 /* MinusEqualsToken */, - "*=": 67 /* AsteriskEqualsToken */, - "**=": 68 /* AsteriskAsteriskEqualsToken */, - "/=": 69 /* SlashEqualsToken */, - "%=": 70 /* PercentEqualsToken */, - "<<=": 71 /* LessThanLessThanEqualsToken */, - ">>=": 72 /* GreaterThanGreaterThanEqualsToken */, - ">>>=": 73 /* GreaterThanGreaterThanGreaterThanEqualsToken */, - "&=": 74 /* AmpersandEqualsToken */, - "|=": 75 /* BarEqualsToken */, - "^=": 79 /* CaretEqualsToken */, - "||=": 76 /* BarBarEqualsToken */, - "&&=": 77 /* AmpersandAmpersandEqualsToken */, - "??=": 78 /* QuestionQuestionEqualsToken */, - "@": 60 /* AtToken */, - "#": 63 /* HashToken */, - "`": 62 /* BacktickToken */ -})); -var charCodeToRegExpFlag = /* @__PURE__ */ new Map([ - [100 /* d */, 1 /* HasIndices */], - [103 /* g */, 2 /* Global */], - [105 /* i */, 4 /* IgnoreCase */], - [109 /* m */, 8 /* Multiline */], - [115 /* s */, 16 /* DotAll */], - [117 /* u */, 32 /* Unicode */], - [118 /* v */, 64 /* UnicodeSets */], - [121 /* y */, 128 /* Sticky */] -]); -var regExpFlagToFirstAvailableLanguageVersion = /* @__PURE__ */ new Map([ - [1 /* HasIndices */, 9 /* RegularExpressionFlagsHasIndices */], - [16 /* DotAll */, 5 /* RegularExpressionFlagsDotAll */], - [32 /* Unicode */, 2 /* RegularExpressionFlagsUnicode */], - [64 /* UnicodeSets */, 99 /* RegularExpressionFlagsUnicodeSets */], - [128 /* Sticky */, 2 /* RegularExpressionFlagsSticky */] -]); -var unicodeES5IdentifierStart = [170, 170, 181, 181, 186, 186, 192, 214, 216, 246, 248, 705, 710, 721, 736, 740, 748, 748, 750, 750, 880, 884, 886, 887, 890, 893, 902, 902, 904, 906, 908, 908, 910, 929, 931, 1013, 1015, 1153, 1162, 1319, 1329, 1366, 1369, 1369, 1377, 1415, 1488, 1514, 1520, 1522, 1568, 1610, 1646, 1647, 1649, 1747, 1749, 1749, 1765, 1766, 1774, 1775, 1786, 1788, 1791, 1791, 1808, 1808, 1810, 1839, 1869, 1957, 1969, 1969, 1994, 2026, 2036, 2037, 2042, 2042, 2048, 2069, 2074, 2074, 2084, 2084, 2088, 2088, 2112, 2136, 2208, 2208, 2210, 2220, 2308, 2361, 2365, 2365, 2384, 2384, 2392, 2401, 2417, 2423, 2425, 2431, 2437, 2444, 2447, 2448, 2451, 2472, 2474, 2480, 2482, 2482, 2486, 2489, 2493, 2493, 2510, 2510, 2524, 2525, 2527, 2529, 2544, 2545, 2565, 2570, 2575, 2576, 2579, 2600, 2602, 2608, 2610, 2611, 2613, 2614, 2616, 2617, 2649, 2652, 2654, 2654, 2674, 2676, 2693, 2701, 2703, 2705, 2707, 2728, 2730, 2736, 2738, 2739, 2741, 2745, 2749, 2749, 2768, 2768, 2784, 2785, 2821, 2828, 2831, 2832, 2835, 2856, 2858, 2864, 2866, 2867, 2869, 2873, 2877, 2877, 2908, 2909, 2911, 2913, 2929, 2929, 2947, 2947, 2949, 2954, 2958, 2960, 2962, 2965, 2969, 2970, 2972, 2972, 2974, 2975, 2979, 2980, 2984, 2986, 2990, 3001, 3024, 3024, 3077, 3084, 3086, 3088, 3090, 3112, 3114, 3123, 3125, 3129, 3133, 3133, 3160, 3161, 3168, 3169, 3205, 3212, 3214, 3216, 3218, 3240, 3242, 3251, 3253, 3257, 3261, 3261, 3294, 3294, 3296, 3297, 3313, 3314, 3333, 3340, 3342, 3344, 3346, 3386, 3389, 3389, 3406, 3406, 3424, 3425, 3450, 3455, 3461, 3478, 3482, 3505, 3507, 3515, 3517, 3517, 3520, 3526, 3585, 3632, 3634, 3635, 3648, 3654, 3713, 3714, 3716, 3716, 3719, 3720, 3722, 3722, 3725, 3725, 3732, 3735, 3737, 3743, 3745, 3747, 3749, 3749, 3751, 3751, 3754, 3755, 3757, 3760, 3762, 3763, 3773, 3773, 3776, 3780, 3782, 3782, 3804, 3807, 3840, 3840, 3904, 3911, 3913, 3948, 3976, 3980, 4096, 4138, 4159, 4159, 4176, 4181, 4186, 4189, 4193, 4193, 4197, 4198, 4206, 4208, 4213, 4225, 4238, 4238, 4256, 4293, 4295, 4295, 4301, 4301, 4304, 4346, 4348, 4680, 4682, 4685, 4688, 4694, 4696, 4696, 4698, 4701, 4704, 4744, 4746, 4749, 4752, 4784, 4786, 4789, 4792, 4798, 4800, 4800, 4802, 4805, 4808, 4822, 4824, 4880, 4882, 4885, 4888, 4954, 4992, 5007, 5024, 5108, 5121, 5740, 5743, 5759, 5761, 5786, 5792, 5866, 5870, 5872, 5888, 5900, 5902, 5905, 5920, 5937, 5952, 5969, 5984, 5996, 5998, 6e3, 6016, 6067, 6103, 6103, 6108, 6108, 6176, 6263, 6272, 6312, 6314, 6314, 6320, 6389, 6400, 6428, 6480, 6509, 6512, 6516, 6528, 6571, 6593, 6599, 6656, 6678, 6688, 6740, 6823, 6823, 6917, 6963, 6981, 6987, 7043, 7072, 7086, 7087, 7098, 7141, 7168, 7203, 7245, 7247, 7258, 7293, 7401, 7404, 7406, 7409, 7413, 7414, 7424, 7615, 7680, 7957, 7960, 7965, 7968, 8005, 8008, 8013, 8016, 8023, 8025, 8025, 8027, 8027, 8029, 8029, 8031, 8061, 8064, 8116, 8118, 8124, 8126, 8126, 8130, 8132, 8134, 8140, 8144, 8147, 8150, 8155, 8160, 8172, 8178, 8180, 8182, 8188, 8305, 8305, 8319, 8319, 8336, 8348, 8450, 8450, 8455, 8455, 8458, 8467, 8469, 8469, 8473, 8477, 8484, 8484, 8486, 8486, 8488, 8488, 8490, 8493, 8495, 8505, 8508, 8511, 8517, 8521, 8526, 8526, 8544, 8584, 11264, 11310, 11312, 11358, 11360, 11492, 11499, 11502, 11506, 11507, 11520, 11557, 11559, 11559, 11565, 11565, 11568, 11623, 11631, 11631, 11648, 11670, 11680, 11686, 11688, 11694, 11696, 11702, 11704, 11710, 11712, 11718, 11720, 11726, 11728, 11734, 11736, 11742, 11823, 11823, 12293, 12295, 12321, 12329, 12337, 12341, 12344, 12348, 12353, 12438, 12445, 12447, 12449, 12538, 12540, 12543, 12549, 12589, 12593, 12686, 12704, 12730, 12784, 12799, 13312, 19893, 19968, 40908, 40960, 42124, 42192, 42237, 42240, 42508, 42512, 42527, 42538, 42539, 42560, 42606, 42623, 42647, 42656, 42735, 42775, 42783, 42786, 42888, 42891, 42894, 42896, 42899, 42912, 42922, 43e3, 43009, 43011, 43013, 43015, 43018, 43020, 43042, 43072, 43123, 43138, 43187, 43250, 43255, 43259, 43259, 43274, 43301, 43312, 43334, 43360, 43388, 43396, 43442, 43471, 43471, 43520, 43560, 43584, 43586, 43588, 43595, 43616, 43638, 43642, 43642, 43648, 43695, 43697, 43697, 43701, 43702, 43705, 43709, 43712, 43712, 43714, 43714, 43739, 43741, 43744, 43754, 43762, 43764, 43777, 43782, 43785, 43790, 43793, 43798, 43808, 43814, 43816, 43822, 43968, 44002, 44032, 55203, 55216, 55238, 55243, 55291, 63744, 64109, 64112, 64217, 64256, 64262, 64275, 64279, 64285, 64285, 64287, 64296, 64298, 64310, 64312, 64316, 64318, 64318, 64320, 64321, 64323, 64324, 64326, 64433, 64467, 64829, 64848, 64911, 64914, 64967, 65008, 65019, 65136, 65140, 65142, 65276, 65313, 65338, 65345, 65370, 65382, 65470, 65474, 65479, 65482, 65487, 65490, 65495, 65498, 65500]; -var unicodeES5IdentifierPart = [170, 170, 181, 181, 186, 186, 192, 214, 216, 246, 248, 705, 710, 721, 736, 740, 748, 748, 750, 750, 768, 884, 886, 887, 890, 893, 902, 902, 904, 906, 908, 908, 910, 929, 931, 1013, 1015, 1153, 1155, 1159, 1162, 1319, 1329, 1366, 1369, 1369, 1377, 1415, 1425, 1469, 1471, 1471, 1473, 1474, 1476, 1477, 1479, 1479, 1488, 1514, 1520, 1522, 1552, 1562, 1568, 1641, 1646, 1747, 1749, 1756, 1759, 1768, 1770, 1788, 1791, 1791, 1808, 1866, 1869, 1969, 1984, 2037, 2042, 2042, 2048, 2093, 2112, 2139, 2208, 2208, 2210, 2220, 2276, 2302, 2304, 2403, 2406, 2415, 2417, 2423, 2425, 2431, 2433, 2435, 2437, 2444, 2447, 2448, 2451, 2472, 2474, 2480, 2482, 2482, 2486, 2489, 2492, 2500, 2503, 2504, 2507, 2510, 2519, 2519, 2524, 2525, 2527, 2531, 2534, 2545, 2561, 2563, 2565, 2570, 2575, 2576, 2579, 2600, 2602, 2608, 2610, 2611, 2613, 2614, 2616, 2617, 2620, 2620, 2622, 2626, 2631, 2632, 2635, 2637, 2641, 2641, 2649, 2652, 2654, 2654, 2662, 2677, 2689, 2691, 2693, 2701, 2703, 2705, 2707, 2728, 2730, 2736, 2738, 2739, 2741, 2745, 2748, 2757, 2759, 2761, 2763, 2765, 2768, 2768, 2784, 2787, 2790, 2799, 2817, 2819, 2821, 2828, 2831, 2832, 2835, 2856, 2858, 2864, 2866, 2867, 2869, 2873, 2876, 2884, 2887, 2888, 2891, 2893, 2902, 2903, 2908, 2909, 2911, 2915, 2918, 2927, 2929, 2929, 2946, 2947, 2949, 2954, 2958, 2960, 2962, 2965, 2969, 2970, 2972, 2972, 2974, 2975, 2979, 2980, 2984, 2986, 2990, 3001, 3006, 3010, 3014, 3016, 3018, 3021, 3024, 3024, 3031, 3031, 3046, 3055, 3073, 3075, 3077, 3084, 3086, 3088, 3090, 3112, 3114, 3123, 3125, 3129, 3133, 3140, 3142, 3144, 3146, 3149, 3157, 3158, 3160, 3161, 3168, 3171, 3174, 3183, 3202, 3203, 3205, 3212, 3214, 3216, 3218, 3240, 3242, 3251, 3253, 3257, 3260, 3268, 3270, 3272, 3274, 3277, 3285, 3286, 3294, 3294, 3296, 3299, 3302, 3311, 3313, 3314, 3330, 3331, 3333, 3340, 3342, 3344, 3346, 3386, 3389, 3396, 3398, 3400, 3402, 3406, 3415, 3415, 3424, 3427, 3430, 3439, 3450, 3455, 3458, 3459, 3461, 3478, 3482, 3505, 3507, 3515, 3517, 3517, 3520, 3526, 3530, 3530, 3535, 3540, 3542, 3542, 3544, 3551, 3570, 3571, 3585, 3642, 3648, 3662, 3664, 3673, 3713, 3714, 3716, 3716, 3719, 3720, 3722, 3722, 3725, 3725, 3732, 3735, 3737, 3743, 3745, 3747, 3749, 3749, 3751, 3751, 3754, 3755, 3757, 3769, 3771, 3773, 3776, 3780, 3782, 3782, 3784, 3789, 3792, 3801, 3804, 3807, 3840, 3840, 3864, 3865, 3872, 3881, 3893, 3893, 3895, 3895, 3897, 3897, 3902, 3911, 3913, 3948, 3953, 3972, 3974, 3991, 3993, 4028, 4038, 4038, 4096, 4169, 4176, 4253, 4256, 4293, 4295, 4295, 4301, 4301, 4304, 4346, 4348, 4680, 4682, 4685, 4688, 4694, 4696, 4696, 4698, 4701, 4704, 4744, 4746, 4749, 4752, 4784, 4786, 4789, 4792, 4798, 4800, 4800, 4802, 4805, 4808, 4822, 4824, 4880, 4882, 4885, 4888, 4954, 4957, 4959, 4992, 5007, 5024, 5108, 5121, 5740, 5743, 5759, 5761, 5786, 5792, 5866, 5870, 5872, 5888, 5900, 5902, 5908, 5920, 5940, 5952, 5971, 5984, 5996, 5998, 6e3, 6002, 6003, 6016, 6099, 6103, 6103, 6108, 6109, 6112, 6121, 6155, 6157, 6160, 6169, 6176, 6263, 6272, 6314, 6320, 6389, 6400, 6428, 6432, 6443, 6448, 6459, 6470, 6509, 6512, 6516, 6528, 6571, 6576, 6601, 6608, 6617, 6656, 6683, 6688, 6750, 6752, 6780, 6783, 6793, 6800, 6809, 6823, 6823, 6912, 6987, 6992, 7001, 7019, 7027, 7040, 7155, 7168, 7223, 7232, 7241, 7245, 7293, 7376, 7378, 7380, 7414, 7424, 7654, 7676, 7957, 7960, 7965, 7968, 8005, 8008, 8013, 8016, 8023, 8025, 8025, 8027, 8027, 8029, 8029, 8031, 8061, 8064, 8116, 8118, 8124, 8126, 8126, 8130, 8132, 8134, 8140, 8144, 8147, 8150, 8155, 8160, 8172, 8178, 8180, 8182, 8188, 8204, 8205, 8255, 8256, 8276, 8276, 8305, 8305, 8319, 8319, 8336, 8348, 8400, 8412, 8417, 8417, 8421, 8432, 8450, 8450, 8455, 8455, 8458, 8467, 8469, 8469, 8473, 8477, 8484, 8484, 8486, 8486, 8488, 8488, 8490, 8493, 8495, 8505, 8508, 8511, 8517, 8521, 8526, 8526, 8544, 8584, 11264, 11310, 11312, 11358, 11360, 11492, 11499, 11507, 11520, 11557, 11559, 11559, 11565, 11565, 11568, 11623, 11631, 11631, 11647, 11670, 11680, 11686, 11688, 11694, 11696, 11702, 11704, 11710, 11712, 11718, 11720, 11726, 11728, 11734, 11736, 11742, 11744, 11775, 11823, 11823, 12293, 12295, 12321, 12335, 12337, 12341, 12344, 12348, 12353, 12438, 12441, 12442, 12445, 12447, 12449, 12538, 12540, 12543, 12549, 12589, 12593, 12686, 12704, 12730, 12784, 12799, 13312, 19893, 19968, 40908, 40960, 42124, 42192, 42237, 42240, 42508, 42512, 42539, 42560, 42607, 42612, 42621, 42623, 42647, 42655, 42737, 42775, 42783, 42786, 42888, 42891, 42894, 42896, 42899, 42912, 42922, 43e3, 43047, 43072, 43123, 43136, 43204, 43216, 43225, 43232, 43255, 43259, 43259, 43264, 43309, 43312, 43347, 43360, 43388, 43392, 43456, 43471, 43481, 43520, 43574, 43584, 43597, 43600, 43609, 43616, 43638, 43642, 43643, 43648, 43714, 43739, 43741, 43744, 43759, 43762, 43766, 43777, 43782, 43785, 43790, 43793, 43798, 43808, 43814, 43816, 43822, 43968, 44010, 44012, 44013, 44016, 44025, 44032, 55203, 55216, 55238, 55243, 55291, 63744, 64109, 64112, 64217, 64256, 64262, 64275, 64279, 64285, 64296, 64298, 64310, 64312, 64316, 64318, 64318, 64320, 64321, 64323, 64324, 64326, 64433, 64467, 64829, 64848, 64911, 64914, 64967, 65008, 65019, 65024, 65039, 65056, 65062, 65075, 65076, 65101, 65103, 65136, 65140, 65142, 65276, 65296, 65305, 65313, 65338, 65343, 65343, 65345, 65370, 65382, 65470, 65474, 65479, 65482, 65487, 65490, 65495, 65498, 65500]; -var unicodeESNextIdentifierStart = [65, 90, 97, 122, 170, 170, 181, 181, 186, 186, 192, 214, 216, 246, 248, 705, 710, 721, 736, 740, 748, 748, 750, 750, 880, 884, 886, 887, 890, 893, 895, 895, 902, 902, 904, 906, 908, 908, 910, 929, 931, 1013, 1015, 1153, 1162, 1327, 1329, 1366, 1369, 1369, 1376, 1416, 1488, 1514, 1519, 1522, 1568, 1610, 1646, 1647, 1649, 1747, 1749, 1749, 1765, 1766, 1774, 1775, 1786, 1788, 1791, 1791, 1808, 1808, 1810, 1839, 1869, 1957, 1969, 1969, 1994, 2026, 2036, 2037, 2042, 2042, 2048, 2069, 2074, 2074, 2084, 2084, 2088, 2088, 2112, 2136, 2144, 2154, 2160, 2183, 2185, 2190, 2208, 2249, 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, 3165, 3165, 3168, 3169, 3200, 3200, 3205, 3212, 3214, 3216, 3218, 3240, 3242, 3251, 3253, 3257, 3261, 3261, 3293, 3294, 3296, 3297, 3313, 3314, 3332, 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, 5905, 5919, 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, 6988, 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, 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, 12735, 12784, 12799, 13312, 19903, 19968, 42124, 42192, 42237, 42240, 42508, 42512, 42527, 42538, 42539, 42560, 42606, 42623, 42653, 42656, 42735, 42775, 42783, 42786, 42888, 42891, 42954, 42960, 42961, 42963, 42963, 42965, 42969, 42994, 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, 43881, 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, 66928, 66938, 66940, 66954, 66956, 66962, 66964, 66965, 66967, 66977, 66979, 66993, 66995, 67001, 67003, 67004, 67072, 67382, 67392, 67413, 67424, 67431, 67456, 67461, 67463, 67504, 67506, 67514, 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, 69248, 69289, 69296, 69297, 69376, 69404, 69415, 69415, 69424, 69445, 69488, 69505, 69552, 69572, 69600, 69622, 69635, 69687, 69745, 69746, 69749, 69749, 69763, 69807, 69840, 69864, 69891, 69926, 69956, 69956, 69959, 69959, 69968, 70002, 70006, 70006, 70019, 70066, 70081, 70084, 70106, 70106, 70108, 70108, 70144, 70161, 70163, 70187, 70207, 70208, 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, 70753, 70784, 70831, 70852, 70853, 70855, 70855, 71040, 71086, 71128, 71131, 71168, 71215, 71236, 71236, 71296, 71338, 71352, 71352, 71424, 71450, 71488, 71494, 71680, 71723, 71840, 71903, 71935, 71942, 71945, 71945, 71948, 71955, 71957, 71958, 71960, 71983, 71999, 71999, 72001, 72001, 72096, 72103, 72106, 72144, 72161, 72161, 72163, 72163, 72192, 72192, 72203, 72242, 72250, 72250, 72272, 72272, 72284, 72329, 72349, 72349, 72368, 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, 73474, 73474, 73476, 73488, 73490, 73523, 73648, 73648, 73728, 74649, 74752, 74862, 74880, 75075, 77712, 77808, 77824, 78895, 78913, 78918, 82944, 83526, 92160, 92728, 92736, 92766, 92784, 92862, 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, 101589, 101632, 101640, 110576, 110579, 110581, 110587, 110589, 110590, 110592, 110882, 110898, 110898, 110928, 110930, 110933, 110933, 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, 122624, 122654, 122661, 122666, 122928, 122989, 123136, 123180, 123191, 123197, 123214, 123214, 123536, 123565, 123584, 123627, 124112, 124139, 124896, 124902, 124904, 124907, 124909, 124910, 124912, 124926, 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, 173791, 173824, 177977, 177984, 178205, 178208, 183969, 183984, 191456, 191472, 192093, 194560, 195101, 196608, 201546, 201552, 205743]; -var unicodeESNextIdentifierPart = [48, 57, 65, 90, 95, 95, 97, 122, 170, 170, 181, 181, 183, 183, 186, 186, 192, 214, 216, 246, 248, 705, 710, 721, 736, 740, 748, 748, 750, 750, 768, 884, 886, 887, 890, 893, 895, 895, 902, 906, 908, 908, 910, 929, 931, 1013, 1015, 1153, 1155, 1159, 1162, 1327, 1329, 1366, 1369, 1369, 1376, 1416, 1425, 1469, 1471, 1471, 1473, 1474, 1476, 1477, 1479, 1479, 1488, 1514, 1519, 1522, 1552, 1562, 1568, 1641, 1646, 1747, 1749, 1756, 1759, 1768, 1770, 1788, 1791, 1791, 1808, 1866, 1869, 1969, 1984, 2037, 2042, 2042, 2045, 2045, 2048, 2093, 2112, 2139, 2144, 2154, 2160, 2183, 2185, 2190, 2200, 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, 2901, 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, 3132, 3140, 3142, 3144, 3146, 3149, 3157, 3158, 3160, 3162, 3165, 3165, 3168, 3171, 3174, 3183, 3200, 3203, 3205, 3212, 3214, 3216, 3218, 3240, 3242, 3251, 3253, 3257, 3260, 3268, 3270, 3272, 3274, 3277, 3285, 3286, 3293, 3294, 3296, 3299, 3302, 3311, 3313, 3315, 3328, 3340, 3342, 3344, 3346, 3396, 3398, 3400, 3402, 3406, 3412, 3415, 3423, 3427, 3430, 3439, 3450, 3455, 3457, 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, 3790, 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, 5909, 5919, 5940, 5952, 5971, 5984, 5996, 5998, 6e3, 6002, 6003, 6016, 6099, 6103, 6103, 6108, 6109, 6112, 6121, 6155, 6157, 6159, 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, 6847, 6862, 6912, 6988, 6992, 7001, 7019, 7027, 7040, 7155, 7168, 7223, 7232, 7241, 7245, 7293, 7296, 7304, 7312, 7354, 7357, 7359, 7376, 7378, 7380, 7418, 7424, 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, 8472, 8477, 8484, 8484, 8486, 8486, 8488, 8488, 8490, 8505, 8508, 8511, 8517, 8521, 8526, 8526, 8544, 8584, 11264, 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, 12543, 12549, 12591, 12593, 12686, 12704, 12735, 12784, 12799, 13312, 19903, 19968, 42124, 42192, 42237, 42240, 42508, 42512, 42539, 42560, 42607, 42612, 42621, 42623, 42737, 42775, 42783, 42786, 42888, 42891, 42954, 42960, 42961, 42963, 42963, 42965, 42969, 42994, 43047, 43052, 43052, 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, 43881, 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, 65381, 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, 66928, 66938, 66940, 66954, 66956, 66962, 66964, 66965, 66967, 66977, 66979, 66993, 66995, 67001, 67003, 67004, 67072, 67382, 67392, 67413, 67424, 67431, 67456, 67461, 67463, 67504, 67506, 67514, 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, 69248, 69289, 69291, 69292, 69296, 69297, 69373, 69404, 69415, 69415, 69424, 69456, 69488, 69509, 69552, 69572, 69600, 69622, 69632, 69702, 69734, 69749, 69759, 69818, 69826, 69826, 69840, 69864, 69872, 69881, 69888, 69940, 69942, 69951, 69956, 69959, 69968, 70003, 70006, 70006, 70016, 70084, 70089, 70092, 70094, 70106, 70108, 70108, 70144, 70161, 70163, 70199, 70206, 70209, 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, 70753, 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, 71488, 71494, 71680, 71738, 71840, 71913, 71935, 71942, 71945, 71945, 71948, 71955, 71957, 71958, 71960, 71989, 71991, 71992, 71995, 72003, 72016, 72025, 72096, 72103, 72106, 72151, 72154, 72161, 72163, 72164, 72192, 72254, 72263, 72263, 72272, 72345, 72349, 72349, 72368, 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, 73472, 73488, 73490, 73530, 73534, 73538, 73552, 73561, 73648, 73648, 73728, 74649, 74752, 74862, 74880, 75075, 77712, 77808, 77824, 78895, 78912, 78933, 82944, 83526, 92160, 92728, 92736, 92766, 92768, 92777, 92784, 92862, 92864, 92873, 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, 94180, 94192, 94193, 94208, 100343, 100352, 101589, 101632, 101640, 110576, 110579, 110581, 110587, 110589, 110590, 110592, 110882, 110898, 110898, 110928, 110930, 110933, 110933, 110948, 110951, 110960, 111355, 113664, 113770, 113776, 113788, 113792, 113800, 113808, 113817, 113821, 113822, 118528, 118573, 118576, 118598, 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, 122624, 122654, 122661, 122666, 122880, 122886, 122888, 122904, 122907, 122913, 122915, 122916, 122918, 122922, 122928, 122989, 123023, 123023, 123136, 123180, 123184, 123197, 123200, 123209, 123214, 123214, 123536, 123566, 123584, 123641, 124112, 124153, 124896, 124902, 124904, 124907, 124909, 124910, 124912, 124926, 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, 130032, 130041, 131072, 173791, 173824, 177977, 177984, 178205, 178208, 183969, 183984, 191456, 191472, 192093, 194560, 195101, 196608, 201546, 201552, 205743, 917760, 917999]; -var commentDirectiveRegExSingleLine = /^\/\/\/?\s*@(ts-expect-error|ts-ignore)/; -var commentDirectiveRegExMultiLine = /^(?:\/|\*)*\s*@(ts-expect-error|ts-ignore)/; -var jsDocSeeOrLink = /@(?:see|link)/i; -function lookupInUnicodeMap(code, map2) { - if (code < map2[0]) { - return false; - } - let lo = 0; - let hi = map2.length; - let mid; - while (lo + 1 < hi) { - mid = lo + (hi - lo) / 2; - mid -= mid % 2; - if (map2[mid] <= code && code <= map2[mid + 1]) { - return true; - } - if (code < map2[mid]) { - hi = mid; - } else { - lo = mid + 2; - } - } - return false; -} -function isUnicodeIdentifierStart(code, languageVersion) { - return languageVersion >= 2 /* ES2015 */ ? lookupInUnicodeMap(code, unicodeESNextIdentifierStart) : lookupInUnicodeMap(code, unicodeES5IdentifierStart); -} -function isUnicodeIdentifierPart(code, languageVersion) { - return languageVersion >= 2 /* ES2015 */ ? lookupInUnicodeMap(code, unicodeESNextIdentifierPart) : lookupInUnicodeMap(code, unicodeES5IdentifierPart); -} -function makeReverseMap(source) { - const result = []; - source.forEach((value, name) => { - result[value] = name; - }); - return result; -} -var tokenStrings = makeReverseMap(textToToken); -function tokenToString(t) { - return tokenStrings[t]; -} -function stringToToken(s) { - return textToToken.get(s); -} -var regExpFlagCharCodes = makeReverseMap(charCodeToRegExpFlag); -function characterCodeToRegularExpressionFlag(ch) { - return charCodeToRegExpFlag.get(ch); -} -function computeLineStarts(text) { - const result = []; - let pos = 0; - let lineStart = 0; - while (pos < text.length) { - const ch = text.charCodeAt(pos); - pos++; - switch (ch) { - case 13 /* carriageReturn */: - if (text.charCodeAt(pos) === 10 /* lineFeed */) { - pos++; - } - case 10 /* lineFeed */: - result.push(lineStart); - lineStart = pos; - break; - default: - if (ch > 127 /* maxAsciiCharacter */ && isLineBreak(ch)) { - result.push(lineStart); - lineStart = pos; - } - break; - } - } - result.push(lineStart); - return result; -} -function getPositionOfLineAndCharacter(sourceFile, line, character, allowEdits) { - return sourceFile.getPositionOfLineAndCharacter ? sourceFile.getPositionOfLineAndCharacter(line, character, allowEdits) : computePositionOfLineAndCharacter(getLineStarts(sourceFile), line, character, sourceFile.text, allowEdits); -} -function computePositionOfLineAndCharacter(lineStarts, line, character, debugText, allowEdits) { - if (line < 0 || line >= lineStarts.length) { - if (allowEdits) { - line = line < 0 ? 0 : line >= lineStarts.length ? lineStarts.length - 1 : line; - } else { - Debug.fail(`Bad line number. Line: ${line}, lineStarts.length: ${lineStarts.length} , line map is correct? ${debugText !== void 0 ? arrayIsEqualTo(lineStarts, computeLineStarts(debugText)) : "unknown"}`); - } - } - const res = lineStarts[line] + character; - if (allowEdits) { - return res > lineStarts[line + 1] ? lineStarts[line + 1] : typeof debugText === "string" && res > debugText.length ? debugText.length : res; - } - if (line < lineStarts.length - 1) { - Debug.assert(res < lineStarts[line + 1]); - } else if (debugText !== void 0) { - Debug.assert(res <= debugText.length); - } - return res; -} -function getLineStarts(sourceFile) { - return sourceFile.lineMap || (sourceFile.lineMap = computeLineStarts(sourceFile.text)); -} -function computeLineAndCharacterOfPosition(lineStarts, position) { - const lineNumber = computeLineOfPosition(lineStarts, position); - return { - line: lineNumber, - character: position - lineStarts[lineNumber] - }; -} -function computeLineOfPosition(lineStarts, position, lowerBound) { - let lineNumber = binarySearch(lineStarts, position, identity, compareValues, lowerBound); - if (lineNumber < 0) { - lineNumber = ~lineNumber - 1; - Debug.assert(lineNumber !== -1, "position cannot precede the beginning of the file"); - } - return lineNumber; -} -function getLinesBetweenPositions(sourceFile, pos1, pos2) { - if (pos1 === pos2) return 0; - const lineStarts = getLineStarts(sourceFile); - const lower = Math.min(pos1, pos2); - const isNegative = lower === pos2; - const upper = isNegative ? pos1 : pos2; - const lowerLine = computeLineOfPosition(lineStarts, lower); - const upperLine = computeLineOfPosition(lineStarts, upper, lowerLine); - return isNegative ? lowerLine - upperLine : upperLine - lowerLine; -} -function getLineAndCharacterOfPosition(sourceFile, position) { - return computeLineAndCharacterOfPosition(getLineStarts(sourceFile), position); -} -function isWhiteSpaceLike(ch) { - return isWhiteSpaceSingleLine(ch) || isLineBreak(ch); -} -function isWhiteSpaceSingleLine(ch) { - return ch === 32 /* space */ || ch === 9 /* tab */ || ch === 11 /* verticalTab */ || ch === 12 /* formFeed */ || ch === 160 /* nonBreakingSpace */ || ch === 133 /* nextLine */ || ch === 5760 /* ogham */ || ch >= 8192 /* enQuad */ && ch <= 8203 /* zeroWidthSpace */ || ch === 8239 /* narrowNoBreakSpace */ || ch === 8287 /* mathematicalSpace */ || ch === 12288 /* ideographicSpace */ || ch === 65279 /* byteOrderMark */; -} -function isLineBreak(ch) { - return ch === 10 /* lineFeed */ || ch === 13 /* carriageReturn */ || ch === 8232 /* lineSeparator */ || ch === 8233 /* paragraphSeparator */; -} -function isDigit(ch) { - return ch >= 48 /* _0 */ && ch <= 57 /* _9 */; -} -function isHexDigit(ch) { - return isDigit(ch) || ch >= 65 /* A */ && ch <= 70 /* F */ || ch >= 97 /* a */ && ch <= 102 /* f */; -} -function isASCIILetter(ch) { - return ch >= 65 /* A */ && ch <= 90 /* Z */ || ch >= 97 /* a */ && ch <= 122 /* z */; -} -function isWordCharacter(ch) { - return isASCIILetter(ch) || isDigit(ch) || ch === 95 /* _ */; -} -function isOctalDigit(ch) { - return ch >= 48 /* _0 */ && ch <= 55 /* _7 */; -} -function skipTrivia(text, pos, stopAfterLineBreak, stopAtComments, inJSDoc) { - if (positionIsSynthesized(pos)) { - return pos; - } - let canConsumeStar = false; - while (true) { - const ch = text.charCodeAt(pos); - switch (ch) { - case 13 /* carriageReturn */: - if (text.charCodeAt(pos + 1) === 10 /* lineFeed */) { - pos++; - } - case 10 /* lineFeed */: - pos++; - if (stopAfterLineBreak) { - return pos; - } - canConsumeStar = !!inJSDoc; - continue; - case 9 /* tab */: - case 11 /* verticalTab */: - case 12 /* formFeed */: - case 32 /* space */: - pos++; - continue; - case 47 /* slash */: - if (stopAtComments) { - break; - } - if (text.charCodeAt(pos + 1) === 47 /* slash */) { - pos += 2; - while (pos < text.length) { - if (isLineBreak(text.charCodeAt(pos))) { - break; - } - pos++; - } - canConsumeStar = false; - continue; - } - if (text.charCodeAt(pos + 1) === 42 /* asterisk */) { - pos += 2; - while (pos < text.length) { - if (text.charCodeAt(pos) === 42 /* asterisk */ && text.charCodeAt(pos + 1) === 47 /* slash */) { - pos += 2; - break; - } - pos++; - } - canConsumeStar = false; - continue; - } - break; - case 60 /* lessThan */: - case 124 /* bar */: - case 61 /* equals */: - case 62 /* greaterThan */: - if (isConflictMarkerTrivia(text, pos)) { - pos = scanConflictMarkerTrivia(text, pos); - canConsumeStar = false; - continue; - } - break; - case 35 /* hash */: - if (pos === 0 && isShebangTrivia(text, pos)) { - pos = scanShebangTrivia(text, pos); - canConsumeStar = false; - continue; - } - break; - case 42 /* asterisk */: - if (canConsumeStar) { - pos++; - canConsumeStar = false; - continue; - } - break; - default: - if (ch > 127 /* maxAsciiCharacter */ && isWhiteSpaceLike(ch)) { - pos++; - continue; - } - break; - } - return pos; - } -} -var mergeConflictMarkerLength = "<<<<<<<".length; -function isConflictMarkerTrivia(text, pos) { - Debug.assert(pos >= 0); - if (pos === 0 || isLineBreak(text.charCodeAt(pos - 1))) { - const ch = text.charCodeAt(pos); - if (pos + mergeConflictMarkerLength < text.length) { - for (let i = 0; i < mergeConflictMarkerLength; i++) { - if (text.charCodeAt(pos + i) !== ch) { - return false; - } - } - return ch === 61 /* equals */ || text.charCodeAt(pos + mergeConflictMarkerLength) === 32 /* space */; - } - } - return false; -} -function scanConflictMarkerTrivia(text, pos, error) { - if (error) { - error(Diagnostics.Merge_conflict_marker_encountered, pos, mergeConflictMarkerLength); - } - const ch = text.charCodeAt(pos); - const len = text.length; - if (ch === 60 /* lessThan */ || ch === 62 /* greaterThan */) { - while (pos < len && !isLineBreak(text.charCodeAt(pos))) { - pos++; - } - } else { - Debug.assert(ch === 124 /* bar */ || ch === 61 /* equals */); - while (pos < len) { - const currentChar = text.charCodeAt(pos); - if ((currentChar === 61 /* equals */ || currentChar === 62 /* greaterThan */) && currentChar !== ch && isConflictMarkerTrivia(text, pos)) { - break; - } - pos++; - } - } - return pos; -} -var shebangTriviaRegex = /^#!.*/; -function isShebangTrivia(text, pos) { - Debug.assert(pos === 0); - return shebangTriviaRegex.test(text); -} -function scanShebangTrivia(text, pos) { - const shebang = shebangTriviaRegex.exec(text)[0]; - pos = pos + shebang.length; - return pos; -} -function iterateCommentRanges(reduce, text, pos, trailing, cb, state, initial) { - let pendingPos; - let pendingEnd; - let pendingKind; - let pendingHasTrailingNewLine; - let hasPendingCommentRange = false; - let collecting = trailing; - let accumulator = initial; - if (pos === 0) { - collecting = true; - const shebang = getShebang(text); - if (shebang) { - pos = shebang.length; - } - } - scan: - while (pos >= 0 && pos < text.length) { - const ch = text.charCodeAt(pos); - switch (ch) { - case 13 /* carriageReturn */: - if (text.charCodeAt(pos + 1) === 10 /* lineFeed */) { - pos++; - } - case 10 /* lineFeed */: - pos++; - if (trailing) { - break scan; - } - collecting = true; - if (hasPendingCommentRange) { - pendingHasTrailingNewLine = true; - } - continue; - case 9 /* tab */: - case 11 /* verticalTab */: - case 12 /* formFeed */: - case 32 /* space */: - pos++; - continue; - case 47 /* slash */: - const nextChar = text.charCodeAt(pos + 1); - let hasTrailingNewLine = false; - if (nextChar === 47 /* slash */ || nextChar === 42 /* asterisk */) { - const kind = nextChar === 47 /* slash */ ? 2 /* SingleLineCommentTrivia */ : 3 /* MultiLineCommentTrivia */; - const startPos = pos; - pos += 2; - if (nextChar === 47 /* slash */) { - while (pos < text.length) { - if (isLineBreak(text.charCodeAt(pos))) { - hasTrailingNewLine = true; - break; - } - pos++; - } - } else { - while (pos < text.length) { - if (text.charCodeAt(pos) === 42 /* asterisk */ && text.charCodeAt(pos + 1) === 47 /* slash */) { - pos += 2; - break; - } - pos++; - } - } - if (collecting) { - if (hasPendingCommentRange) { - accumulator = cb(pendingPos, pendingEnd, pendingKind, pendingHasTrailingNewLine, state, accumulator); - if (!reduce && accumulator) { - return accumulator; - } - } - pendingPos = startPos; - pendingEnd = pos; - pendingKind = kind; - pendingHasTrailingNewLine = hasTrailingNewLine; - hasPendingCommentRange = true; - } - continue; - } - break scan; - default: - if (ch > 127 /* maxAsciiCharacter */ && isWhiteSpaceLike(ch)) { - if (hasPendingCommentRange && isLineBreak(ch)) { - pendingHasTrailingNewLine = true; - } - pos++; - continue; - } - break scan; - } - } - if (hasPendingCommentRange) { - accumulator = cb(pendingPos, pendingEnd, pendingKind, pendingHasTrailingNewLine, state, accumulator); - } - return accumulator; -} -function forEachLeadingCommentRange(text, pos, cb, state) { - return iterateCommentRanges( - /*reduce*/ - false, - text, - pos, - /*trailing*/ - false, - cb, - state - ); -} -function forEachTrailingCommentRange(text, pos, cb, state) { - return iterateCommentRanges( - /*reduce*/ - false, - text, - pos, - /*trailing*/ - true, - cb, - state - ); -} -function reduceEachLeadingCommentRange(text, pos, cb, state, initial) { - return iterateCommentRanges( - /*reduce*/ - true, - text, - pos, - /*trailing*/ - false, - cb, - state, - initial - ); -} -function reduceEachTrailingCommentRange(text, pos, cb, state, initial) { - return iterateCommentRanges( - /*reduce*/ - true, - text, - pos, - /*trailing*/ - true, - cb, - state, - initial - ); -} -function appendCommentRange(pos, end, kind, hasTrailingNewLine, _state, comments = []) { - comments.push({ kind, pos, end, hasTrailingNewLine }); - return comments; -} -function getLeadingCommentRanges(text, pos) { - return reduceEachLeadingCommentRange( - text, - pos, - appendCommentRange, - /*state*/ - void 0, - /*initial*/ - void 0 - ); -} -function getTrailingCommentRanges(text, pos) { - return reduceEachTrailingCommentRange( - text, - pos, - appendCommentRange, - /*state*/ - void 0, - /*initial*/ - void 0 - ); -} -function getShebang(text) { - const match = shebangTriviaRegex.exec(text); - if (match) { - return match[0]; - } -} -function isIdentifierStart(ch, languageVersion) { - return isASCIILetter(ch) || ch === 36 /* $ */ || ch === 95 /* _ */ || ch > 127 /* maxAsciiCharacter */ && isUnicodeIdentifierStart(ch, languageVersion); -} -function isIdentifierPart(ch, languageVersion, identifierVariant) { - return isWordCharacter(ch) || ch === 36 /* $ */ || // "-" and ":" are valid in JSX Identifiers - (identifierVariant === 1 /* JSX */ ? ch === 45 /* minus */ || ch === 58 /* colon */ : false) || ch > 127 /* maxAsciiCharacter */ && isUnicodeIdentifierPart(ch, languageVersion); -} -function isIdentifierText(name, languageVersion, identifierVariant) { - let ch = codePointAt(name, 0); - if (!isIdentifierStart(ch, languageVersion)) { - return false; - } - for (let i = charSize(ch); i < name.length; i += charSize(ch)) { - if (!isIdentifierPart(ch = codePointAt(name, i), languageVersion, identifierVariant)) { - return false; - } - } - return true; -} -function createScanner(languageVersion, skipTrivia2, languageVariant = 0 /* Standard */, textInitial, onError, start, length2) { - var text = textInitial; - var pos; - var end; - var fullStartPos; - var tokenStart; - var token; - var tokenValue; - var tokenFlags; - var commentDirectives; - var skipJsDocLeadingAsterisks = 0; - var scriptKind = 0 /* Unknown */; - var jsDocParsingMode = 0 /* ParseAll */; - setText(text, start, length2); - var scanner = { - getTokenFullStart: () => fullStartPos, - getStartPos: () => fullStartPos, - getTokenEnd: () => pos, - getTextPos: () => pos, - getToken: () => token, - getTokenStart: () => tokenStart, - getTokenPos: () => tokenStart, - getTokenText: () => text.substring(tokenStart, pos), - getTokenValue: () => tokenValue, - hasUnicodeEscape: () => (tokenFlags & 1024 /* UnicodeEscape */) !== 0, - hasExtendedUnicodeEscape: () => (tokenFlags & 8 /* ExtendedUnicodeEscape */) !== 0, - hasPrecedingLineBreak: () => (tokenFlags & 1 /* PrecedingLineBreak */) !== 0, - hasPrecedingJSDocComment: () => (tokenFlags & 2 /* PrecedingJSDocComment */) !== 0, - hasPrecedingJSDocLeadingAsterisks: () => (tokenFlags & 32768 /* PrecedingJSDocLeadingAsterisks */) !== 0, - isIdentifier: () => token === 80 /* Identifier */ || token > 118 /* LastReservedWord */, - isReservedWord: () => token >= 83 /* FirstReservedWord */ && token <= 118 /* LastReservedWord */, - isUnterminated: () => (tokenFlags & 4 /* Unterminated */) !== 0, - getCommentDirectives: () => commentDirectives, - getNumericLiteralFlags: () => tokenFlags & 25584 /* NumericLiteralFlags */, - getTokenFlags: () => tokenFlags, - reScanGreaterToken, - reScanAsteriskEqualsToken, - reScanSlashToken, - reScanTemplateToken, - reScanTemplateHeadOrNoSubstitutionTemplate, - scanJsxIdentifier, - scanJsxAttributeValue, - reScanJsxAttributeValue, - reScanJsxToken, - reScanLessThanToken, - reScanHashToken, - reScanQuestionToken, - reScanInvalidIdentifier, - scanJsxToken, - scanJsDocToken, - scanJSDocCommentTextToken, - scan, - getText, - clearCommentDirectives, - setText, - setScriptTarget, - setLanguageVariant, - setScriptKind, - setJSDocParsingMode, - setOnError, - resetTokenState, - setTextPos: resetTokenState, - setSkipJsDocLeadingAsterisks, - tryScan, - lookAhead, - scanRange - }; - if (Debug.isDebugging) { - Object.defineProperty(scanner, "__debugShowCurrentPositionInText", { - get: () => { - const text2 = scanner.getText(); - return text2.slice(0, scanner.getTokenFullStart()) + "\u2551" + text2.slice(scanner.getTokenFullStart()); - } - }); - } - return scanner; - function codePointUnchecked(pos2) { - return codePointAt(text, pos2); - } - function codePointChecked(pos2) { - return pos2 >= 0 && pos2 < end ? codePointUnchecked(pos2) : -1 /* EOF */; - } - function charCodeUnchecked(pos2) { - return text.charCodeAt(pos2); - } - function charCodeChecked(pos2) { - return pos2 >= 0 && pos2 < end ? charCodeUnchecked(pos2) : -1 /* EOF */; - } - function error(message, errPos = pos, length3, arg0) { - if (onError) { - const oldPos = pos; - pos = errPos; - onError(message, length3 || 0, arg0); - pos = oldPos; - } - } - function scanNumberFragment() { - let start2 = pos; - let allowSeparator = false; - let isPreviousTokenSeparator = false; - let result = ""; - while (true) { - const ch = charCodeUnchecked(pos); - if (ch === 95 /* _ */) { - tokenFlags |= 512 /* ContainsSeparator */; - if (allowSeparator) { - allowSeparator = false; - isPreviousTokenSeparator = true; - result += text.substring(start2, pos); - } else { - tokenFlags |= 16384 /* ContainsInvalidSeparator */; - if (isPreviousTokenSeparator) { - error(Diagnostics.Multiple_consecutive_numeric_separators_are_not_permitted, pos, 1); - } else { - error(Diagnostics.Numeric_separators_are_not_allowed_here, pos, 1); - } - } - pos++; - start2 = pos; - continue; - } - if (isDigit(ch)) { - allowSeparator = true; - isPreviousTokenSeparator = false; - pos++; - continue; - } - break; - } - if (charCodeUnchecked(pos - 1) === 95 /* _ */) { - tokenFlags |= 16384 /* ContainsInvalidSeparator */; - error(Diagnostics.Numeric_separators_are_not_allowed_here, pos - 1, 1); - } - return result + text.substring(start2, pos); - } - function scanNumber() { - let start2 = pos; - let mainFragment; - if (charCodeUnchecked(pos) === 48 /* _0 */) { - pos++; - if (charCodeUnchecked(pos) === 95 /* _ */) { - tokenFlags |= 512 /* ContainsSeparator */ | 16384 /* ContainsInvalidSeparator */; - error(Diagnostics.Numeric_separators_are_not_allowed_here, pos, 1); - pos--; - mainFragment = scanNumberFragment(); - } else if (!scanDigits()) { - tokenFlags |= 8192 /* ContainsLeadingZero */; - mainFragment = "" + +tokenValue; - } else if (!tokenValue) { - mainFragment = "0"; - } else { - tokenValue = "" + parseInt(tokenValue, 8); - tokenFlags |= 32 /* Octal */; - const withMinus = token === 41 /* MinusToken */; - const literal = (withMinus ? "-" : "") + "0o" + (+tokenValue).toString(8); - if (withMinus) start2--; - error(Diagnostics.Octal_literals_are_not_allowed_Use_the_syntax_0, start2, pos - start2, literal); - return 9 /* NumericLiteral */; - } - } else { - mainFragment = scanNumberFragment(); - } - let decimalFragment; - let scientificFragment; - if (charCodeUnchecked(pos) === 46 /* dot */) { - pos++; - decimalFragment = scanNumberFragment(); - } - let end2 = pos; - if (charCodeUnchecked(pos) === 69 /* E */ || charCodeUnchecked(pos) === 101 /* e */) { - pos++; - tokenFlags |= 16 /* Scientific */; - if (charCodeUnchecked(pos) === 43 /* plus */ || charCodeUnchecked(pos) === 45 /* minus */) pos++; - const preNumericPart = pos; - const finalFragment = scanNumberFragment(); - if (!finalFragment) { - error(Diagnostics.Digit_expected); - } else { - scientificFragment = text.substring(end2, preNumericPart) + finalFragment; - end2 = pos; - } - } - let result; - if (tokenFlags & 512 /* ContainsSeparator */) { - result = mainFragment; - if (decimalFragment) { - result += "." + decimalFragment; - } - if (scientificFragment) { - result += scientificFragment; - } - } else { - result = text.substring(start2, end2); - } - if (tokenFlags & 8192 /* ContainsLeadingZero */) { - error(Diagnostics.Decimals_with_leading_zeros_are_not_allowed, start2, end2 - start2); - tokenValue = "" + +result; - return 9 /* NumericLiteral */; - } - if (decimalFragment !== void 0 || tokenFlags & 16 /* Scientific */) { - checkForIdentifierStartAfterNumericLiteral(start2, decimalFragment === void 0 && !!(tokenFlags & 16 /* Scientific */)); - tokenValue = "" + +result; - return 9 /* NumericLiteral */; - } else { - tokenValue = result; - const type = checkBigIntSuffix(); - checkForIdentifierStartAfterNumericLiteral(start2); - return type; - } - } - function checkForIdentifierStartAfterNumericLiteral(numericStart, isScientific) { - if (!isIdentifierStart(codePointUnchecked(pos), languageVersion)) { - return; - } - const identifierStart = pos; - const { length: length3 } = scanIdentifierParts(); - if (length3 === 1 && text[identifierStart] === "n") { - if (isScientific) { - error(Diagnostics.A_bigint_literal_cannot_use_exponential_notation, numericStart, identifierStart - numericStart + 1); - } else { - error(Diagnostics.A_bigint_literal_must_be_an_integer, numericStart, identifierStart - numericStart + 1); - } - } else { - error(Diagnostics.An_identifier_or_keyword_cannot_immediately_follow_a_numeric_literal, identifierStart, length3); - pos = identifierStart; - } - } - function scanDigits() { - const start2 = pos; - let isOctal = true; - while (isDigit(charCodeChecked(pos))) { - if (!isOctalDigit(charCodeUnchecked(pos))) { - isOctal = false; - } - pos++; - } - tokenValue = text.substring(start2, pos); - return isOctal; - } - function scanExactNumberOfHexDigits(count, canHaveSeparators) { - const valueString = scanHexDigits( - /*minCount*/ - count, - /*scanAsManyAsPossible*/ - false, - canHaveSeparators - ); - return valueString ? parseInt(valueString, 16) : -1; - } - function scanMinimumNumberOfHexDigits(count, canHaveSeparators) { - return scanHexDigits( - /*minCount*/ - count, - /*scanAsManyAsPossible*/ - true, - canHaveSeparators - ); - } - function scanHexDigits(minCount, scanAsManyAsPossible, canHaveSeparators) { - let valueChars = []; - let allowSeparator = false; - let isPreviousTokenSeparator = false; - while (valueChars.length < minCount || scanAsManyAsPossible) { - let ch = charCodeUnchecked(pos); - if (canHaveSeparators && ch === 95 /* _ */) { - tokenFlags |= 512 /* ContainsSeparator */; - if (allowSeparator) { - allowSeparator = false; - isPreviousTokenSeparator = true; - } else if (isPreviousTokenSeparator) { - error(Diagnostics.Multiple_consecutive_numeric_separators_are_not_permitted, pos, 1); - } else { - error(Diagnostics.Numeric_separators_are_not_allowed_here, pos, 1); - } - pos++; - continue; - } - allowSeparator = canHaveSeparators; - if (ch >= 65 /* A */ && ch <= 70 /* F */) { - ch += 97 /* a */ - 65 /* A */; - } else if (!(ch >= 48 /* _0 */ && ch <= 57 /* _9 */ || ch >= 97 /* a */ && ch <= 102 /* f */)) { - break; - } - valueChars.push(ch); - pos++; - isPreviousTokenSeparator = false; - } - if (valueChars.length < minCount) { - valueChars = []; - } - if (charCodeUnchecked(pos - 1) === 95 /* _ */) { - error(Diagnostics.Numeric_separators_are_not_allowed_here, pos - 1, 1); - } - return String.fromCharCode(...valueChars); - } - function scanString(jsxAttributeString = false) { - const quote = charCodeUnchecked(pos); - pos++; - let result = ""; - let start2 = pos; - while (true) { - if (pos >= end) { - result += text.substring(start2, pos); - tokenFlags |= 4 /* Unterminated */; - error(Diagnostics.Unterminated_string_literal); - break; - } - const ch = charCodeUnchecked(pos); - if (ch === quote) { - result += text.substring(start2, pos); - pos++; - break; - } - if (ch === 92 /* backslash */ && !jsxAttributeString) { - result += text.substring(start2, pos); - result += scanEscapeSequence(1 /* String */ | 2 /* ReportErrors */); - start2 = pos; - continue; - } - if ((ch === 10 /* lineFeed */ || ch === 13 /* carriageReturn */) && !jsxAttributeString) { - result += text.substring(start2, pos); - tokenFlags |= 4 /* Unterminated */; - error(Diagnostics.Unterminated_string_literal); - break; - } - pos++; - } - return result; - } - function scanTemplateAndSetTokenValue(shouldEmitInvalidEscapeError) { - const startedWithBacktick = charCodeUnchecked(pos) === 96 /* backtick */; - pos++; - let start2 = pos; - let contents = ""; - let resultingToken; - while (true) { - if (pos >= end) { - contents += text.substring(start2, pos); - tokenFlags |= 4 /* Unterminated */; - error(Diagnostics.Unterminated_template_literal); - resultingToken = startedWithBacktick ? 15 /* NoSubstitutionTemplateLiteral */ : 18 /* TemplateTail */; - break; - } - const currChar = charCodeUnchecked(pos); - if (currChar === 96 /* backtick */) { - contents += text.substring(start2, pos); - pos++; - resultingToken = startedWithBacktick ? 15 /* NoSubstitutionTemplateLiteral */ : 18 /* TemplateTail */; - break; - } - if (currChar === 36 /* $ */ && pos + 1 < end && charCodeUnchecked(pos + 1) === 123 /* openBrace */) { - contents += text.substring(start2, pos); - pos += 2; - resultingToken = startedWithBacktick ? 16 /* TemplateHead */ : 17 /* TemplateMiddle */; - break; - } - if (currChar === 92 /* backslash */) { - contents += text.substring(start2, pos); - contents += scanEscapeSequence(1 /* String */ | (shouldEmitInvalidEscapeError ? 2 /* ReportErrors */ : 0)); - start2 = pos; - continue; - } - if (currChar === 13 /* carriageReturn */) { - contents += text.substring(start2, pos); - pos++; - if (pos < end && charCodeUnchecked(pos) === 10 /* lineFeed */) { - pos++; - } - contents += "\n"; - start2 = pos; - continue; - } - pos++; - } - Debug.assert(resultingToken !== void 0); - tokenValue = contents; - return resultingToken; - } - function scanEscapeSequence(flags) { - const start2 = pos; - pos++; - if (pos >= end) { - error(Diagnostics.Unexpected_end_of_text); - return ""; - } - const ch = charCodeUnchecked(pos); - pos++; - switch (ch) { - case 48 /* _0 */: - if (pos >= end || !isDigit(charCodeUnchecked(pos))) { - return "\0"; - } - case 49 /* _1 */: - case 50 /* _2 */: - case 51 /* _3 */: - if (pos < end && isOctalDigit(charCodeUnchecked(pos))) { - pos++; - } - case 52 /* _4 */: - case 53 /* _5 */: - case 54 /* _6 */: - case 55 /* _7 */: - if (pos < end && isOctalDigit(charCodeUnchecked(pos))) { - pos++; - } - tokenFlags |= 2048 /* ContainsInvalidEscape */; - if (flags & 6 /* ReportInvalidEscapeErrors */) { - const code = parseInt(text.substring(start2 + 1, pos), 8); - if (flags & 4 /* RegularExpression */ && !(flags & 32 /* AtomEscape */) && ch !== 48 /* _0 */) { - error(Diagnostics.Octal_escape_sequences_and_backreferences_are_not_allowed_in_a_character_class_If_this_was_intended_as_an_escape_sequence_use_the_syntax_0_instead, start2, pos - start2, "\\x" + code.toString(16).padStart(2, "0")); - } else { - error(Diagnostics.Octal_escape_sequences_are_not_allowed_Use_the_syntax_0, start2, pos - start2, "\\x" + code.toString(16).padStart(2, "0")); - } - return String.fromCharCode(code); - } - return text.substring(start2, pos); - case 56 /* _8 */: - case 57 /* _9 */: - tokenFlags |= 2048 /* ContainsInvalidEscape */; - if (flags & 6 /* ReportInvalidEscapeErrors */) { - if (flags & 4 /* RegularExpression */ && !(flags & 32 /* AtomEscape */)) { - error(Diagnostics.Decimal_escape_sequences_and_backreferences_are_not_allowed_in_a_character_class, start2, pos - start2); - } else { - error(Diagnostics.Escape_sequence_0_is_not_allowed, start2, pos - start2, text.substring(start2, pos)); - } - return String.fromCharCode(ch); - } - return text.substring(start2, pos); - case 98 /* b */: - return "\b"; - case 116 /* t */: - return " "; - case 110 /* n */: - return "\n"; - case 118 /* v */: - return "\v"; - case 102 /* f */: - return "\f"; - case 114 /* r */: - return "\r"; - case 39 /* singleQuote */: - return "'"; - case 34 /* doubleQuote */: - return '"'; - case 117 /* u */: - if (pos < end && charCodeUnchecked(pos) === 123 /* openBrace */) { - pos -= 2; - const result = scanExtendedUnicodeEscape(!!(flags & 6 /* ReportInvalidEscapeErrors */)); - if (!(flags & 17 /* AllowExtendedUnicodeEscape */)) { - tokenFlags |= 2048 /* ContainsInvalidEscape */; - if (flags & 6 /* ReportInvalidEscapeErrors */) { - error(Diagnostics.Unicode_escape_sequences_are_only_available_when_the_Unicode_u_flag_or_the_Unicode_Sets_v_flag_is_set, start2, pos - start2); - } - } - return result; - } - for (; pos < start2 + 6; pos++) { - if (!(pos < end && isHexDigit(charCodeUnchecked(pos)))) { - tokenFlags |= 2048 /* ContainsInvalidEscape */; - if (flags & 6 /* ReportInvalidEscapeErrors */) { - error(Diagnostics.Hexadecimal_digit_expected); - } - return text.substring(start2, pos); - } - } - tokenFlags |= 1024 /* UnicodeEscape */; - const escapedValue = parseInt(text.substring(start2 + 2, pos), 16); - const escapedValueString = String.fromCharCode(escapedValue); - if (flags & 16 /* AnyUnicodeMode */ && escapedValue >= 55296 && escapedValue <= 56319 && pos + 6 < end && text.substring(pos, pos + 2) === "\\u" && charCodeUnchecked(pos + 2) !== 123 /* openBrace */) { - const nextStart = pos; - let nextPos = pos + 2; - for (; nextPos < nextStart + 6; nextPos++) { - if (!isHexDigit(charCodeUnchecked(nextPos))) { - return escapedValueString; - } - } - const nextEscapedValue = parseInt(text.substring(nextStart + 2, nextPos), 16); - if (nextEscapedValue >= 56320 && nextEscapedValue <= 57343) { - pos = nextPos; - return escapedValueString + String.fromCharCode(nextEscapedValue); - } - } - return escapedValueString; - case 120 /* x */: - for (; pos < start2 + 4; pos++) { - if (!(pos < end && isHexDigit(charCodeUnchecked(pos)))) { - tokenFlags |= 2048 /* ContainsInvalidEscape */; - if (flags & 6 /* ReportInvalidEscapeErrors */) { - error(Diagnostics.Hexadecimal_digit_expected); - } - return text.substring(start2, pos); - } - } - tokenFlags |= 4096 /* HexEscape */; - return String.fromCharCode(parseInt(text.substring(start2 + 2, pos), 16)); - case 13 /* carriageReturn */: - if (pos < end && charCodeUnchecked(pos) === 10 /* lineFeed */) { - pos++; - } - case 10 /* lineFeed */: - case 8232 /* lineSeparator */: - case 8233 /* paragraphSeparator */: - return ""; - default: - if (flags & 16 /* AnyUnicodeMode */ || flags & 4 /* RegularExpression */ && !(flags & 8 /* AnnexB */) && isIdentifierPart(ch, languageVersion)) { - error(Diagnostics.This_character_cannot_be_escaped_in_a_regular_expression, pos - 2, 2); - } - return String.fromCharCode(ch); - } - } - function scanExtendedUnicodeEscape(shouldEmitInvalidEscapeError) { - const start2 = pos; - pos += 3; - const escapedStart = pos; - const escapedValueString = scanMinimumNumberOfHexDigits( - 1, - /*canHaveSeparators*/ - false - ); - const escapedValue = escapedValueString ? parseInt(escapedValueString, 16) : -1; - let isInvalidExtendedEscape = false; - if (escapedValue < 0) { - if (shouldEmitInvalidEscapeError) { - error(Diagnostics.Hexadecimal_digit_expected); - } - isInvalidExtendedEscape = true; - } else if (escapedValue > 1114111) { - if (shouldEmitInvalidEscapeError) { - error(Diagnostics.An_extended_Unicode_escape_value_must_be_between_0x0_and_0x10FFFF_inclusive, escapedStart, pos - escapedStart); - } - isInvalidExtendedEscape = true; - } - if (pos >= end) { - if (shouldEmitInvalidEscapeError) { - error(Diagnostics.Unexpected_end_of_text); - } - isInvalidExtendedEscape = true; - } else if (charCodeUnchecked(pos) === 125 /* closeBrace */) { - pos++; - } else { - if (shouldEmitInvalidEscapeError) { - error(Diagnostics.Unterminated_Unicode_escape_sequence); - } - isInvalidExtendedEscape = true; - } - if (isInvalidExtendedEscape) { - tokenFlags |= 2048 /* ContainsInvalidEscape */; - return text.substring(start2, pos); - } - tokenFlags |= 8 /* ExtendedUnicodeEscape */; - return utf16EncodeAsString(escapedValue); - } - function peekUnicodeEscape() { - if (pos + 5 < end && charCodeUnchecked(pos + 1) === 117 /* u */) { - const start2 = pos; - pos += 2; - const value = scanExactNumberOfHexDigits( - 4, - /*canHaveSeparators*/ - false - ); - pos = start2; - return value; - } - return -1; - } - function peekExtendedUnicodeEscape() { - if (codePointUnchecked(pos + 1) === 117 /* u */ && codePointUnchecked(pos + 2) === 123 /* openBrace */) { - const start2 = pos; - pos += 3; - const escapedValueString = scanMinimumNumberOfHexDigits( - 1, - /*canHaveSeparators*/ - false - ); - const escapedValue = escapedValueString ? parseInt(escapedValueString, 16) : -1; - pos = start2; - return escapedValue; - } - return -1; - } - function scanIdentifierParts() { - let result = ""; - let start2 = pos; - while (pos < end) { - let ch = codePointUnchecked(pos); - if (isIdentifierPart(ch, languageVersion)) { - pos += charSize(ch); - } else if (ch === 92 /* backslash */) { - ch = peekExtendedUnicodeEscape(); - if (ch >= 0 && isIdentifierPart(ch, languageVersion)) { - result += scanExtendedUnicodeEscape( - /*shouldEmitInvalidEscapeError*/ - true - ); - start2 = pos; - continue; - } - ch = peekUnicodeEscape(); - if (!(ch >= 0 && isIdentifierPart(ch, languageVersion))) { - break; - } - tokenFlags |= 1024 /* UnicodeEscape */; - result += text.substring(start2, pos); - result += utf16EncodeAsString(ch); - pos += 6; - start2 = pos; - } else { - break; - } - } - result += text.substring(start2, pos); - return result; - } - function getIdentifierToken() { - const len = tokenValue.length; - if (len >= 2 && len <= 12) { - const ch = tokenValue.charCodeAt(0); - if (ch >= 97 /* a */ && ch <= 122 /* z */) { - const keyword = textToKeyword.get(tokenValue); - if (keyword !== void 0) { - return token = keyword; - } - } - } - return token = 80 /* Identifier */; - } - function scanBinaryOrOctalDigits(base) { - let value = ""; - let separatorAllowed = false; - let isPreviousTokenSeparator = false; - while (true) { - const ch = charCodeUnchecked(pos); - if (ch === 95 /* _ */) { - tokenFlags |= 512 /* ContainsSeparator */; - if (separatorAllowed) { - separatorAllowed = false; - isPreviousTokenSeparator = true; - } else if (isPreviousTokenSeparator) { - error(Diagnostics.Multiple_consecutive_numeric_separators_are_not_permitted, pos, 1); - } else { - error(Diagnostics.Numeric_separators_are_not_allowed_here, pos, 1); - } - pos++; - continue; - } - separatorAllowed = true; - if (!isDigit(ch) || ch - 48 /* _0 */ >= base) { - break; - } - value += text[pos]; - pos++; - isPreviousTokenSeparator = false; - } - if (charCodeUnchecked(pos - 1) === 95 /* _ */) { - error(Diagnostics.Numeric_separators_are_not_allowed_here, pos - 1, 1); - } - return value; - } - function checkBigIntSuffix() { - if (charCodeUnchecked(pos) === 110 /* n */) { - tokenValue += "n"; - if (tokenFlags & 384 /* BinaryOrOctalSpecifier */) { - tokenValue = parsePseudoBigInt(tokenValue) + "n"; - } - pos++; - return 10 /* BigIntLiteral */; - } else { - const numericValue = tokenFlags & 128 /* BinarySpecifier */ ? parseInt(tokenValue.slice(2), 2) : tokenFlags & 256 /* OctalSpecifier */ ? parseInt(tokenValue.slice(2), 8) : +tokenValue; - tokenValue = "" + numericValue; - return 9 /* NumericLiteral */; - } - } - function scan() { - fullStartPos = pos; - tokenFlags = 0 /* None */; - while (true) { - tokenStart = pos; - if (pos >= end) { - return token = 1 /* EndOfFileToken */; - } - const ch = codePointUnchecked(pos); - if (pos === 0) { - if (ch === 35 /* hash */ && isShebangTrivia(text, pos)) { - pos = scanShebangTrivia(text, pos); - if (skipTrivia2) { - continue; - } else { - return token = 6 /* ShebangTrivia */; - } - } - } - switch (ch) { - case 10 /* lineFeed */: - case 13 /* carriageReturn */: - tokenFlags |= 1 /* PrecedingLineBreak */; - if (skipTrivia2) { - pos++; - continue; - } else { - if (ch === 13 /* carriageReturn */ && pos + 1 < end && charCodeUnchecked(pos + 1) === 10 /* lineFeed */) { - pos += 2; - } else { - pos++; - } - return token = 4 /* NewLineTrivia */; - } - case 9 /* tab */: - case 11 /* verticalTab */: - case 12 /* formFeed */: - case 32 /* space */: - case 160 /* nonBreakingSpace */: - case 5760 /* ogham */: - case 8192 /* enQuad */: - case 8193 /* emQuad */: - case 8194 /* enSpace */: - case 8195 /* emSpace */: - case 8196 /* threePerEmSpace */: - case 8197 /* fourPerEmSpace */: - case 8198 /* sixPerEmSpace */: - case 8199 /* figureSpace */: - case 8200 /* punctuationSpace */: - case 8201 /* thinSpace */: - case 8202 /* hairSpace */: - case 8203 /* zeroWidthSpace */: - case 8239 /* narrowNoBreakSpace */: - case 8287 /* mathematicalSpace */: - case 12288 /* ideographicSpace */: - case 65279 /* byteOrderMark */: - if (skipTrivia2) { - pos++; - continue; - } else { - while (pos < end && isWhiteSpaceSingleLine(charCodeUnchecked(pos))) { - pos++; - } - return token = 5 /* WhitespaceTrivia */; - } - case 33 /* exclamation */: - if (charCodeUnchecked(pos + 1) === 61 /* equals */) { - if (charCodeUnchecked(pos + 2) === 61 /* equals */) { - return pos += 3, token = 38 /* ExclamationEqualsEqualsToken */; - } - return pos += 2, token = 36 /* ExclamationEqualsToken */; - } - pos++; - return token = 54 /* ExclamationToken */; - case 34 /* doubleQuote */: - case 39 /* singleQuote */: - tokenValue = scanString(); - return token = 11 /* StringLiteral */; - case 96 /* backtick */: - return token = scanTemplateAndSetTokenValue( - /*shouldEmitInvalidEscapeError*/ - false - ); - case 37 /* percent */: - if (charCodeUnchecked(pos + 1) === 61 /* equals */) { - return pos += 2, token = 70 /* PercentEqualsToken */; - } - pos++; - return token = 45 /* PercentToken */; - case 38 /* ampersand */: - if (charCodeUnchecked(pos + 1) === 38 /* ampersand */) { - if (charCodeUnchecked(pos + 2) === 61 /* equals */) { - return pos += 3, token = 77 /* AmpersandAmpersandEqualsToken */; - } - return pos += 2, token = 56 /* AmpersandAmpersandToken */; - } - if (charCodeUnchecked(pos + 1) === 61 /* equals */) { - return pos += 2, token = 74 /* AmpersandEqualsToken */; - } - pos++; - return token = 51 /* AmpersandToken */; - case 40 /* openParen */: - pos++; - return token = 21 /* OpenParenToken */; - case 41 /* closeParen */: - pos++; - return token = 22 /* CloseParenToken */; - case 42 /* asterisk */: - if (charCodeUnchecked(pos + 1) === 61 /* equals */) { - return pos += 2, token = 67 /* AsteriskEqualsToken */; - } - if (charCodeUnchecked(pos + 1) === 42 /* asterisk */) { - if (charCodeUnchecked(pos + 2) === 61 /* equals */) { - return pos += 3, token = 68 /* AsteriskAsteriskEqualsToken */; - } - return pos += 2, token = 43 /* AsteriskAsteriskToken */; - } - pos++; - if (skipJsDocLeadingAsterisks && (tokenFlags & 32768 /* PrecedingJSDocLeadingAsterisks */) === 0 && tokenFlags & 1 /* PrecedingLineBreak */) { - tokenFlags |= 32768 /* PrecedingJSDocLeadingAsterisks */; - continue; - } - return token = 42 /* AsteriskToken */; - case 43 /* plus */: - if (charCodeUnchecked(pos + 1) === 43 /* plus */) { - return pos += 2, token = 46 /* PlusPlusToken */; - } - if (charCodeUnchecked(pos + 1) === 61 /* equals */) { - return pos += 2, token = 65 /* PlusEqualsToken */; - } - pos++; - return token = 40 /* PlusToken */; - case 44 /* comma */: - pos++; - return token = 28 /* CommaToken */; - case 45 /* minus */: - if (charCodeUnchecked(pos + 1) === 45 /* minus */) { - return pos += 2, token = 47 /* MinusMinusToken */; - } - if (charCodeUnchecked(pos + 1) === 61 /* equals */) { - return pos += 2, token = 66 /* MinusEqualsToken */; - } - pos++; - return token = 41 /* MinusToken */; - case 46 /* dot */: - if (isDigit(charCodeUnchecked(pos + 1))) { - scanNumber(); - return token = 9 /* NumericLiteral */; - } - if (charCodeUnchecked(pos + 1) === 46 /* dot */ && charCodeUnchecked(pos + 2) === 46 /* dot */) { - return pos += 3, token = 26 /* DotDotDotToken */; - } - pos++; - return token = 25 /* DotToken */; - case 47 /* slash */: - if (charCodeUnchecked(pos + 1) === 47 /* slash */) { - pos += 2; - while (pos < end) { - if (isLineBreak(charCodeUnchecked(pos))) { - break; - } - pos++; - } - commentDirectives = appendIfCommentDirective( - commentDirectives, - text.slice(tokenStart, pos), - commentDirectiveRegExSingleLine, - tokenStart - ); - if (skipTrivia2) { - continue; - } else { - return token = 2 /* SingleLineCommentTrivia */; - } - } - if (charCodeUnchecked(pos + 1) === 42 /* asterisk */) { - pos += 2; - const isJSDoc2 = charCodeUnchecked(pos) === 42 /* asterisk */ && charCodeUnchecked(pos + 1) !== 47 /* slash */; - let commentClosed = false; - let lastLineStart = tokenStart; - while (pos < end) { - const ch2 = charCodeUnchecked(pos); - if (ch2 === 42 /* asterisk */ && charCodeUnchecked(pos + 1) === 47 /* slash */) { - pos += 2; - commentClosed = true; - break; - } - pos++; - if (isLineBreak(ch2)) { - lastLineStart = pos; - tokenFlags |= 1 /* PrecedingLineBreak */; - } - } - if (isJSDoc2 && shouldParseJSDoc()) { - tokenFlags |= 2 /* PrecedingJSDocComment */; - } - commentDirectives = appendIfCommentDirective(commentDirectives, text.slice(lastLineStart, pos), commentDirectiveRegExMultiLine, lastLineStart); - if (!commentClosed) { - error(Diagnostics.Asterisk_Slash_expected); - } - if (skipTrivia2) { - continue; - } else { - if (!commentClosed) { - tokenFlags |= 4 /* Unterminated */; - } - return token = 3 /* MultiLineCommentTrivia */; - } - } - if (charCodeUnchecked(pos + 1) === 61 /* equals */) { - return pos += 2, token = 69 /* SlashEqualsToken */; - } - pos++; - return token = 44 /* SlashToken */; - case 48 /* _0 */: - if (pos + 2 < end && (charCodeUnchecked(pos + 1) === 88 /* X */ || charCodeUnchecked(pos + 1) === 120 /* x */)) { - pos += 2; - tokenValue = scanMinimumNumberOfHexDigits( - 1, - /*canHaveSeparators*/ - true - ); - if (!tokenValue) { - error(Diagnostics.Hexadecimal_digit_expected); - tokenValue = "0"; - } - tokenValue = "0x" + tokenValue; - tokenFlags |= 64 /* HexSpecifier */; - return token = checkBigIntSuffix(); - } else if (pos + 2 < end && (charCodeUnchecked(pos + 1) === 66 /* B */ || charCodeUnchecked(pos + 1) === 98 /* b */)) { - pos += 2; - tokenValue = scanBinaryOrOctalDigits( - /* base */ - 2 - ); - if (!tokenValue) { - error(Diagnostics.Binary_digit_expected); - tokenValue = "0"; - } - tokenValue = "0b" + tokenValue; - tokenFlags |= 128 /* BinarySpecifier */; - return token = checkBigIntSuffix(); - } else if (pos + 2 < end && (charCodeUnchecked(pos + 1) === 79 /* O */ || charCodeUnchecked(pos + 1) === 111 /* o */)) { - pos += 2; - tokenValue = scanBinaryOrOctalDigits( - /* base */ - 8 - ); - if (!tokenValue) { - error(Diagnostics.Octal_digit_expected); - tokenValue = "0"; - } - tokenValue = "0o" + tokenValue; - tokenFlags |= 256 /* OctalSpecifier */; - return token = checkBigIntSuffix(); - } - case 49 /* _1 */: - case 50 /* _2 */: - case 51 /* _3 */: - case 52 /* _4 */: - case 53 /* _5 */: - case 54 /* _6 */: - case 55 /* _7 */: - case 56 /* _8 */: - case 57 /* _9 */: - return token = scanNumber(); - case 58 /* colon */: - pos++; - return token = 59 /* ColonToken */; - case 59 /* semicolon */: - pos++; - return token = 27 /* SemicolonToken */; - case 60 /* lessThan */: - if (isConflictMarkerTrivia(text, pos)) { - pos = scanConflictMarkerTrivia(text, pos, error); - if (skipTrivia2) { - continue; - } else { - return token = 7 /* ConflictMarkerTrivia */; - } - } - if (charCodeUnchecked(pos + 1) === 60 /* lessThan */) { - if (charCodeUnchecked(pos + 2) === 61 /* equals */) { - return pos += 3, token = 71 /* LessThanLessThanEqualsToken */; - } - return pos += 2, token = 48 /* LessThanLessThanToken */; - } - if (charCodeUnchecked(pos + 1) === 61 /* equals */) { - return pos += 2, token = 33 /* LessThanEqualsToken */; - } - if (languageVariant === 1 /* JSX */ && charCodeUnchecked(pos + 1) === 47 /* slash */ && charCodeUnchecked(pos + 2) !== 42 /* asterisk */) { - return pos += 2, token = 31 /* LessThanSlashToken */; - } - pos++; - return token = 30 /* LessThanToken */; - case 61 /* equals */: - if (isConflictMarkerTrivia(text, pos)) { - pos = scanConflictMarkerTrivia(text, pos, error); - if (skipTrivia2) { - continue; - } else { - return token = 7 /* ConflictMarkerTrivia */; - } - } - if (charCodeUnchecked(pos + 1) === 61 /* equals */) { - if (charCodeUnchecked(pos + 2) === 61 /* equals */) { - return pos += 3, token = 37 /* EqualsEqualsEqualsToken */; - } - return pos += 2, token = 35 /* EqualsEqualsToken */; - } - if (charCodeUnchecked(pos + 1) === 62 /* greaterThan */) { - return pos += 2, token = 39 /* EqualsGreaterThanToken */; - } - pos++; - return token = 64 /* EqualsToken */; - case 62 /* greaterThan */: - if (isConflictMarkerTrivia(text, pos)) { - pos = scanConflictMarkerTrivia(text, pos, error); - if (skipTrivia2) { - continue; - } else { - return token = 7 /* ConflictMarkerTrivia */; - } - } - pos++; - return token = 32 /* GreaterThanToken */; - case 63 /* question */: - if (charCodeUnchecked(pos + 1) === 46 /* dot */ && !isDigit(charCodeUnchecked(pos + 2))) { - return pos += 2, token = 29 /* QuestionDotToken */; - } - if (charCodeUnchecked(pos + 1) === 63 /* question */) { - if (charCodeUnchecked(pos + 2) === 61 /* equals */) { - return pos += 3, token = 78 /* QuestionQuestionEqualsToken */; - } - return pos += 2, token = 61 /* QuestionQuestionToken */; - } - pos++; - return token = 58 /* QuestionToken */; - case 91 /* openBracket */: - pos++; - return token = 23 /* OpenBracketToken */; - case 93 /* closeBracket */: - pos++; - return token = 24 /* CloseBracketToken */; - case 94 /* caret */: - if (charCodeUnchecked(pos + 1) === 61 /* equals */) { - return pos += 2, token = 79 /* CaretEqualsToken */; - } - pos++; - return token = 53 /* CaretToken */; - case 123 /* openBrace */: - pos++; - return token = 19 /* OpenBraceToken */; - case 124 /* bar */: - if (isConflictMarkerTrivia(text, pos)) { - pos = scanConflictMarkerTrivia(text, pos, error); - if (skipTrivia2) { - continue; - } else { - return token = 7 /* ConflictMarkerTrivia */; - } - } - if (charCodeUnchecked(pos + 1) === 124 /* bar */) { - if (charCodeUnchecked(pos + 2) === 61 /* equals */) { - return pos += 3, token = 76 /* BarBarEqualsToken */; - } - return pos += 2, token = 57 /* BarBarToken */; - } - if (charCodeUnchecked(pos + 1) === 61 /* equals */) { - return pos += 2, token = 75 /* BarEqualsToken */; - } - pos++; - return token = 52 /* BarToken */; - case 125 /* closeBrace */: - pos++; - return token = 20 /* CloseBraceToken */; - case 126 /* tilde */: - pos++; - return token = 55 /* TildeToken */; - case 64 /* at */: - pos++; - return token = 60 /* AtToken */; - case 92 /* backslash */: - const extendedCookedChar = peekExtendedUnicodeEscape(); - if (extendedCookedChar >= 0 && isIdentifierStart(extendedCookedChar, languageVersion)) { - tokenValue = scanExtendedUnicodeEscape( - /*shouldEmitInvalidEscapeError*/ - true - ) + scanIdentifierParts(); - return token = getIdentifierToken(); - } - const cookedChar = peekUnicodeEscape(); - if (cookedChar >= 0 && isIdentifierStart(cookedChar, languageVersion)) { - pos += 6; - tokenFlags |= 1024 /* UnicodeEscape */; - tokenValue = String.fromCharCode(cookedChar) + scanIdentifierParts(); - return token = getIdentifierToken(); - } - error(Diagnostics.Invalid_character); - pos++; - return token = 0 /* Unknown */; - case 35 /* hash */: - if (pos !== 0 && text[pos + 1] === "!") { - error(Diagnostics.can_only_be_used_at_the_start_of_a_file, pos, 2); - pos++; - return token = 0 /* Unknown */; - } - const charAfterHash = codePointUnchecked(pos + 1); - if (charAfterHash === 92 /* backslash */) { - pos++; - const extendedCookedChar2 = peekExtendedUnicodeEscape(); - if (extendedCookedChar2 >= 0 && isIdentifierStart(extendedCookedChar2, languageVersion)) { - tokenValue = "#" + scanExtendedUnicodeEscape( - /*shouldEmitInvalidEscapeError*/ - true - ) + scanIdentifierParts(); - return token = 81 /* PrivateIdentifier */; - } - const cookedChar2 = peekUnicodeEscape(); - if (cookedChar2 >= 0 && isIdentifierStart(cookedChar2, languageVersion)) { - pos += 6; - tokenFlags |= 1024 /* UnicodeEscape */; - tokenValue = "#" + String.fromCharCode(cookedChar2) + scanIdentifierParts(); - return token = 81 /* PrivateIdentifier */; - } - pos--; - } - if (isIdentifierStart(charAfterHash, languageVersion)) { - pos++; - scanIdentifier(charAfterHash, languageVersion); - } else { - tokenValue = "#"; - error(Diagnostics.Invalid_character, pos++, charSize(ch)); - } - return token = 81 /* PrivateIdentifier */; - case 65533 /* replacementCharacter */: - error(Diagnostics.File_appears_to_be_binary, 0, 0); - pos = end; - return token = 8 /* NonTextFileMarkerTrivia */; - default: - const identifierKind = scanIdentifier(ch, languageVersion); - if (identifierKind) { - return token = identifierKind; - } else if (isWhiteSpaceSingleLine(ch)) { - pos += charSize(ch); - continue; - } else if (isLineBreak(ch)) { - tokenFlags |= 1 /* PrecedingLineBreak */; - pos += charSize(ch); - continue; - } - const size = charSize(ch); - error(Diagnostics.Invalid_character, pos, size); - pos += size; - return token = 0 /* Unknown */; - } - } - } - function shouldParseJSDoc() { - switch (jsDocParsingMode) { - case 0 /* ParseAll */: - return true; - case 1 /* ParseNone */: - return false; - } - if (scriptKind !== 3 /* TS */ && scriptKind !== 4 /* TSX */) { - return true; - } - if (jsDocParsingMode === 3 /* ParseForTypeInfo */) { - return false; - } - return jsDocSeeOrLink.test(text.slice(fullStartPos, pos)); - } - function reScanInvalidIdentifier() { - Debug.assert(token === 0 /* Unknown */, "'reScanInvalidIdentifier' should only be called when the current token is 'SyntaxKind.Unknown'."); - pos = tokenStart = fullStartPos; - tokenFlags = 0; - const ch = codePointUnchecked(pos); - const identifierKind = scanIdentifier(ch, 99 /* ESNext */); - if (identifierKind) { - return token = identifierKind; - } - pos += charSize(ch); - return token; - } - function scanIdentifier(startCharacter, languageVersion2) { - let ch = startCharacter; - if (isIdentifierStart(ch, languageVersion2)) { - pos += charSize(ch); - while (pos < end && isIdentifierPart(ch = codePointUnchecked(pos), languageVersion2)) pos += charSize(ch); - tokenValue = text.substring(tokenStart, pos); - if (ch === 92 /* backslash */) { - tokenValue += scanIdentifierParts(); - } - return getIdentifierToken(); - } - } - function reScanGreaterToken() { - if (token === 32 /* GreaterThanToken */) { - if (charCodeUnchecked(pos) === 62 /* greaterThan */) { - if (charCodeUnchecked(pos + 1) === 62 /* greaterThan */) { - if (charCodeUnchecked(pos + 2) === 61 /* equals */) { - return pos += 3, token = 73 /* GreaterThanGreaterThanGreaterThanEqualsToken */; - } - return pos += 2, token = 50 /* GreaterThanGreaterThanGreaterThanToken */; - } - if (charCodeUnchecked(pos + 1) === 61 /* equals */) { - return pos += 2, token = 72 /* GreaterThanGreaterThanEqualsToken */; - } - pos++; - return token = 49 /* GreaterThanGreaterThanToken */; - } - if (charCodeUnchecked(pos) === 61 /* equals */) { - pos++; - return token = 34 /* GreaterThanEqualsToken */; - } - } - return token; - } - function reScanAsteriskEqualsToken() { - Debug.assert(token === 67 /* AsteriskEqualsToken */, "'reScanAsteriskEqualsToken' should only be called on a '*='"); - pos = tokenStart + 1; - return token = 64 /* EqualsToken */; - } - function reScanSlashToken(reportErrors2) { - if (token === 44 /* SlashToken */ || token === 69 /* SlashEqualsToken */) { - const startOfRegExpBody = tokenStart + 1; - pos = startOfRegExpBody; - let inEscape = false; - let namedCaptureGroups = false; - let inCharacterClass = false; - while (true) { - const ch = charCodeChecked(pos); - if (ch === -1 /* EOF */ || isLineBreak(ch)) { - tokenFlags |= 4 /* Unterminated */; - break; - } - if (inEscape) { - inEscape = false; - } else if (ch === 47 /* slash */ && !inCharacterClass) { - break; - } else if (ch === 91 /* openBracket */) { - inCharacterClass = true; - } else if (ch === 92 /* backslash */) { - inEscape = true; - } else if (ch === 93 /* closeBracket */) { - inCharacterClass = false; - } else if (!inCharacterClass && ch === 40 /* openParen */ && charCodeChecked(pos + 1) === 63 /* question */ && charCodeChecked(pos + 2) === 60 /* lessThan */ && charCodeChecked(pos + 3) !== 61 /* equals */ && charCodeChecked(pos + 3) !== 33 /* exclamation */) { - namedCaptureGroups = true; - } - pos++; - } - const endOfRegExpBody = pos; - if (tokenFlags & 4 /* Unterminated */) { - pos = startOfRegExpBody; - inEscape = false; - let characterClassDepth = 0; - let inDecimalQuantifier = false; - let groupDepth = 0; - while (pos < endOfRegExpBody) { - const ch = charCodeUnchecked(pos); - if (inEscape) { - inEscape = false; - } else if (ch === 92 /* backslash */) { - inEscape = true; - } else if (ch === 91 /* openBracket */) { - characterClassDepth++; - } else if (ch === 93 /* closeBracket */ && characterClassDepth) { - characterClassDepth--; - } else if (!characterClassDepth) { - if (ch === 123 /* openBrace */) { - inDecimalQuantifier = true; - } else if (ch === 125 /* closeBrace */ && inDecimalQuantifier) { - inDecimalQuantifier = false; - } else if (!inDecimalQuantifier) { - if (ch === 40 /* openParen */) { - groupDepth++; - } else if (ch === 41 /* closeParen */ && groupDepth) { - groupDepth--; - } else if (ch === 41 /* closeParen */ || ch === 93 /* closeBracket */ || ch === 125 /* closeBrace */) { - break; - } - } - } - pos++; - } - while (isWhiteSpaceLike(charCodeChecked(pos - 1)) || charCodeChecked(pos - 1) === 59 /* semicolon */) pos--; - error(Diagnostics.Unterminated_regular_expression_literal, tokenStart, pos - tokenStart); - } else { - pos++; - let regExpFlags = 0 /* None */; - while (true) { - const ch = codePointChecked(pos); - if (ch === -1 /* EOF */ || !isIdentifierPart(ch, languageVersion)) { - break; - } - const size = charSize(ch); - if (reportErrors2) { - const flag = characterCodeToRegularExpressionFlag(ch); - if (flag === void 0) { - error(Diagnostics.Unknown_regular_expression_flag, pos, size); - } else if (regExpFlags & flag) { - error(Diagnostics.Duplicate_regular_expression_flag, pos, size); - } else if (((regExpFlags | flag) & 96 /* AnyUnicodeMode */) === 96 /* AnyUnicodeMode */) { - error(Diagnostics.The_Unicode_u_flag_and_the_Unicode_Sets_v_flag_cannot_be_set_simultaneously, pos, size); - } else { - regExpFlags |= flag; - checkRegularExpressionFlagAvailability(flag, size); - } - } - pos += size; - } - if (reportErrors2) { - scanRange(startOfRegExpBody, endOfRegExpBody - startOfRegExpBody, () => { - scanRegularExpressionWorker( - regExpFlags, - /*annexB*/ - true, - namedCaptureGroups - ); - }); - } - } - tokenValue = text.substring(tokenStart, pos); - token = 14 /* RegularExpressionLiteral */; - } - return token; - } - function scanRegularExpressionWorker(regExpFlags, annexB, namedCaptureGroups) { - var unicodeSetsMode = !!(regExpFlags & 64 /* UnicodeSets */); - var anyUnicodeMode = !!(regExpFlags & 96 /* AnyUnicodeMode */); - var anyUnicodeModeOrNonAnnexB = anyUnicodeMode || !annexB; - var mayContainStrings = false; - var numberOfCapturingGroups = 0; - var groupSpecifiers; - var groupNameReferences; - var decimalEscapes; - var namedCapturingGroupsScopeStack = []; - var topNamedCapturingGroupsScope; - function scanDisjunction(isInGroup) { - while (true) { - namedCapturingGroupsScopeStack.push(topNamedCapturingGroupsScope); - topNamedCapturingGroupsScope = void 0; - scanAlternative(isInGroup); - topNamedCapturingGroupsScope = namedCapturingGroupsScopeStack.pop(); - if (charCodeChecked(pos) !== 124 /* bar */) { - return; - } - pos++; - } - } - function scanAlternative(isInGroup) { - let isPreviousTermQuantifiable = false; - while (true) { - const start2 = pos; - const ch = charCodeChecked(pos); - switch (ch) { - case -1 /* EOF */: - return; - case 94 /* caret */: - case 36 /* $ */: - pos++; - isPreviousTermQuantifiable = false; - break; - case 92 /* backslash */: - pos++; - switch (charCodeChecked(pos)) { - case 98 /* b */: - case 66 /* B */: - pos++; - isPreviousTermQuantifiable = false; - break; - default: - scanAtomEscape(); - isPreviousTermQuantifiable = true; - break; - } - break; - case 40 /* openParen */: - pos++; - if (charCodeChecked(pos) === 63 /* question */) { - pos++; - switch (charCodeChecked(pos)) { - case 61 /* equals */: - case 33 /* exclamation */: - pos++; - isPreviousTermQuantifiable = !anyUnicodeModeOrNonAnnexB; - break; - case 60 /* lessThan */: - const groupNameStart = pos; - pos++; - switch (charCodeChecked(pos)) { - case 61 /* equals */: - case 33 /* exclamation */: - pos++; - isPreviousTermQuantifiable = false; - break; - default: - scanGroupName( - /*isReference*/ - false - ); - scanExpectedChar(62 /* greaterThan */); - if (languageVersion < 5 /* ES2018 */) { - error(Diagnostics.Named_capturing_groups_are_only_available_when_targeting_ES2018_or_later, groupNameStart, pos - groupNameStart); - } - numberOfCapturingGroups++; - isPreviousTermQuantifiable = true; - break; - } - break; - default: - const start3 = pos; - const setFlags = scanPatternModifiers(0 /* None */); - if (charCodeChecked(pos) === 45 /* minus */) { - pos++; - scanPatternModifiers(setFlags); - if (pos === start3 + 1) { - error(Diagnostics.Subpattern_flags_must_be_present_when_there_is_a_minus_sign, start3, pos - start3); - } - } - scanExpectedChar(58 /* colon */); - isPreviousTermQuantifiable = true; - break; - } - } else { - numberOfCapturingGroups++; - isPreviousTermQuantifiable = true; - } - scanDisjunction( - /*isInGroup*/ - true - ); - scanExpectedChar(41 /* closeParen */); - break; - case 123 /* openBrace */: - pos++; - const digitsStart = pos; - scanDigits(); - const min2 = tokenValue; - if (!anyUnicodeModeOrNonAnnexB && !min2) { - isPreviousTermQuantifiable = true; - break; - } - if (charCodeChecked(pos) === 44 /* comma */) { - pos++; - scanDigits(); - const max = tokenValue; - if (!min2) { - if (max || charCodeChecked(pos) === 125 /* closeBrace */) { - error(Diagnostics.Incomplete_quantifier_Digit_expected, digitsStart, 0); - } else { - error(Diagnostics.Unexpected_0_Did_you_mean_to_escape_it_with_backslash, start2, 1, String.fromCharCode(ch)); - isPreviousTermQuantifiable = true; - break; - } - } else if (max && Number.parseInt(min2) > Number.parseInt(max) && (anyUnicodeModeOrNonAnnexB || charCodeChecked(pos) === 125 /* closeBrace */)) { - error(Diagnostics.Numbers_out_of_order_in_quantifier, digitsStart, pos - digitsStart); - } - } else if (!min2) { - if (anyUnicodeModeOrNonAnnexB) { - error(Diagnostics.Unexpected_0_Did_you_mean_to_escape_it_with_backslash, start2, 1, String.fromCharCode(ch)); - } - isPreviousTermQuantifiable = true; - break; - } - if (charCodeChecked(pos) !== 125 /* closeBrace */) { - if (anyUnicodeModeOrNonAnnexB) { - error(Diagnostics._0_expected, pos, 0, String.fromCharCode(125 /* closeBrace */)); - pos--; - } else { - isPreviousTermQuantifiable = true; - break; - } - } - case 42 /* asterisk */: - case 43 /* plus */: - case 63 /* question */: - pos++; - if (charCodeChecked(pos) === 63 /* question */) { - pos++; - } - if (!isPreviousTermQuantifiable) { - error(Diagnostics.There_is_nothing_available_for_repetition, start2, pos - start2); - } - isPreviousTermQuantifiable = false; - break; - case 46 /* dot */: - pos++; - isPreviousTermQuantifiable = true; - break; - case 91 /* openBracket */: - pos++; - if (unicodeSetsMode) { - scanClassSetExpression(); - } else { - scanClassRanges(); - } - scanExpectedChar(93 /* closeBracket */); - isPreviousTermQuantifiable = true; - break; - case 41 /* closeParen */: - if (isInGroup) { - return; - } - case 93 /* closeBracket */: - case 125 /* closeBrace */: - if (anyUnicodeModeOrNonAnnexB || ch === 41 /* closeParen */) { - error(Diagnostics.Unexpected_0_Did_you_mean_to_escape_it_with_backslash, pos, 1, String.fromCharCode(ch)); - } - pos++; - isPreviousTermQuantifiable = true; - break; - case 47 /* slash */: - case 124 /* bar */: - return; - default: - scanSourceCharacter(); - isPreviousTermQuantifiable = true; - break; - } - } - } - function scanPatternModifiers(currFlags) { - while (true) { - const ch = codePointChecked(pos); - if (ch === -1 /* EOF */ || !isIdentifierPart(ch, languageVersion)) { - break; - } - const size = charSize(ch); - const flag = characterCodeToRegularExpressionFlag(ch); - if (flag === void 0) { - error(Diagnostics.Unknown_regular_expression_flag, pos, size); - } else if (currFlags & flag) { - error(Diagnostics.Duplicate_regular_expression_flag, pos, size); - } else if (!(flag & 28 /* Modifiers */)) { - error(Diagnostics.This_regular_expression_flag_cannot_be_toggled_within_a_subpattern, pos, size); - } else { - currFlags |= flag; - checkRegularExpressionFlagAvailability(flag, size); - } - pos += size; - } - return currFlags; - } - function scanAtomEscape() { - Debug.assertEqual(charCodeUnchecked(pos - 1), 92 /* backslash */); - switch (charCodeChecked(pos)) { - case 107 /* k */: - pos++; - if (charCodeChecked(pos) === 60 /* lessThan */) { - pos++; - scanGroupName( - /*isReference*/ - true - ); - scanExpectedChar(62 /* greaterThan */); - } else if (anyUnicodeModeOrNonAnnexB || namedCaptureGroups) { - error(Diagnostics.k_must_be_followed_by_a_capturing_group_name_enclosed_in_angle_brackets, pos - 2, 2); - } - break; - case 113 /* q */: - if (unicodeSetsMode) { - pos++; - error(Diagnostics.q_is_only_available_inside_character_class, pos - 2, 2); - break; - } - default: - Debug.assert(scanCharacterClassEscape() || scanDecimalEscape() || scanCharacterEscape( - /*atomEscape*/ - true - )); - break; - } - } - function scanDecimalEscape() { - Debug.assertEqual(charCodeUnchecked(pos - 1), 92 /* backslash */); - const ch = charCodeChecked(pos); - if (ch >= 49 /* _1 */ && ch <= 57 /* _9 */) { - const start2 = pos; - scanDigits(); - decimalEscapes = append(decimalEscapes, { pos: start2, end: pos, value: +tokenValue }); - return true; - } - return false; - } - function scanCharacterEscape(atomEscape) { - Debug.assertEqual(charCodeUnchecked(pos - 1), 92 /* backslash */); - let ch = charCodeChecked(pos); - switch (ch) { - case -1 /* EOF */: - error(Diagnostics.Undetermined_character_escape, pos - 1, 1); - return "\\"; - case 99 /* c */: - pos++; - ch = charCodeChecked(pos); - if (isASCIILetter(ch)) { - pos++; - return String.fromCharCode(ch & 31); - } - if (anyUnicodeModeOrNonAnnexB) { - error(Diagnostics.c_must_be_followed_by_an_ASCII_letter, pos - 2, 2); - } else if (atomEscape) { - pos--; - return "\\"; - } - return String.fromCharCode(ch); - case 94 /* caret */: - case 36 /* $ */: - case 47 /* slash */: - case 92 /* backslash */: - case 46 /* dot */: - case 42 /* asterisk */: - case 43 /* plus */: - case 63 /* question */: - case 40 /* openParen */: - case 41 /* closeParen */: - case 91 /* openBracket */: - case 93 /* closeBracket */: - case 123 /* openBrace */: - case 125 /* closeBrace */: - case 124 /* bar */: - pos++; - return String.fromCharCode(ch); - default: - pos--; - return scanEscapeSequence( - 4 /* RegularExpression */ | (annexB ? 8 /* AnnexB */ : 0) | (anyUnicodeMode ? 16 /* AnyUnicodeMode */ : 0) | (atomEscape ? 32 /* AtomEscape */ : 0) - ); - } - } - function scanGroupName(isReference) { - Debug.assertEqual(charCodeUnchecked(pos - 1), 60 /* lessThan */); - tokenStart = pos; - scanIdentifier(codePointChecked(pos), languageVersion); - if (pos === tokenStart) { - error(Diagnostics.Expected_a_capturing_group_name); - } else if (isReference) { - groupNameReferences = append(groupNameReferences, { pos: tokenStart, end: pos, name: tokenValue }); - } else if ((topNamedCapturingGroupsScope == null ? void 0 : topNamedCapturingGroupsScope.has(tokenValue)) || namedCapturingGroupsScopeStack.some((group2) => group2 == null ? void 0 : group2.has(tokenValue))) { - error(Diagnostics.Named_capturing_groups_with_the_same_name_must_be_mutually_exclusive_to_each_other, tokenStart, pos - tokenStart); - } else { - topNamedCapturingGroupsScope ?? (topNamedCapturingGroupsScope = /* @__PURE__ */ new Set()); - topNamedCapturingGroupsScope.add(tokenValue); - groupSpecifiers ?? (groupSpecifiers = /* @__PURE__ */ new Set()); - groupSpecifiers.add(tokenValue); - } - } - function isClassContentExit(ch) { - return ch === 93 /* closeBracket */ || ch === -1 /* EOF */ || pos >= end; - } - function scanClassRanges() { - Debug.assertEqual(charCodeUnchecked(pos - 1), 91 /* openBracket */); - if (charCodeChecked(pos) === 94 /* caret */) { - pos++; - } - while (true) { - const ch = charCodeChecked(pos); - if (isClassContentExit(ch)) { - return; - } - const minStart = pos; - const minCharacter = scanClassAtom(); - if (charCodeChecked(pos) === 45 /* minus */) { - pos++; - const ch2 = charCodeChecked(pos); - if (isClassContentExit(ch2)) { - return; - } - if (!minCharacter && anyUnicodeModeOrNonAnnexB) { - error(Diagnostics.A_character_class_range_must_not_be_bounded_by_another_character_class, minStart, pos - 1 - minStart); - } - const maxStart = pos; - const maxCharacter = scanClassAtom(); - if (!maxCharacter && anyUnicodeModeOrNonAnnexB) { - error(Diagnostics.A_character_class_range_must_not_be_bounded_by_another_character_class, maxStart, pos - maxStart); - continue; - } - if (!minCharacter) { - continue; - } - const minCharacterValue = codePointAt(minCharacter, 0); - const maxCharacterValue = codePointAt(maxCharacter, 0); - if (minCharacter.length === charSize(minCharacterValue) && maxCharacter.length === charSize(maxCharacterValue) && minCharacterValue > maxCharacterValue) { - error(Diagnostics.Range_out_of_order_in_character_class, minStart, pos - minStart); - } - } - } - } - function scanClassSetExpression() { - Debug.assertEqual(charCodeUnchecked(pos - 1), 91 /* openBracket */); - let isCharacterComplement = false; - if (charCodeChecked(pos) === 94 /* caret */) { - pos++; - isCharacterComplement = true; - } - let expressionMayContainStrings = false; - let ch = charCodeChecked(pos); - if (isClassContentExit(ch)) { - return; - } - let start2 = pos; - let operand; - switch (text.slice(pos, pos + 2)) { - case "--": - case "&&": - error(Diagnostics.Expected_a_class_set_operand); - mayContainStrings = false; - break; - default: - operand = scanClassSetOperand(); - break; - } - switch (charCodeChecked(pos)) { - case 45 /* minus */: - if (charCodeChecked(pos + 1) === 45 /* minus */) { - if (isCharacterComplement && mayContainStrings) { - error(Diagnostics.Anything_that_would_possibly_match_more_than_a_single_character_is_invalid_inside_a_negated_character_class, start2, pos - start2); - } - expressionMayContainStrings = mayContainStrings; - scanClassSetSubExpression(3 /* ClassSubtraction */); - mayContainStrings = !isCharacterComplement && expressionMayContainStrings; - return; - } - break; - case 38 /* ampersand */: - if (charCodeChecked(pos + 1) === 38 /* ampersand */) { - scanClassSetSubExpression(2 /* ClassIntersection */); - if (isCharacterComplement && mayContainStrings) { - error(Diagnostics.Anything_that_would_possibly_match_more_than_a_single_character_is_invalid_inside_a_negated_character_class, start2, pos - start2); - } - expressionMayContainStrings = mayContainStrings; - mayContainStrings = !isCharacterComplement && expressionMayContainStrings; - return; - } else { - error(Diagnostics.Unexpected_0_Did_you_mean_to_escape_it_with_backslash, pos, 1, String.fromCharCode(ch)); - } - break; - default: - if (isCharacterComplement && mayContainStrings) { - error(Diagnostics.Anything_that_would_possibly_match_more_than_a_single_character_is_invalid_inside_a_negated_character_class, start2, pos - start2); - } - expressionMayContainStrings = mayContainStrings; - break; - } - while (true) { - ch = charCodeChecked(pos); - if (ch === -1 /* EOF */) { - break; - } - switch (ch) { - case 45 /* minus */: - pos++; - ch = charCodeChecked(pos); - if (isClassContentExit(ch)) { - mayContainStrings = !isCharacterComplement && expressionMayContainStrings; - return; - } - if (ch === 45 /* minus */) { - pos++; - error(Diagnostics.Operators_must_not_be_mixed_within_a_character_class_Wrap_it_in_a_nested_class_instead, pos - 2, 2); - start2 = pos - 2; - operand = text.slice(start2, pos); - continue; - } else { - if (!operand) { - error(Diagnostics.A_character_class_range_must_not_be_bounded_by_another_character_class, start2, pos - 1 - start2); - } - const secondStart = pos; - const secondOperand = scanClassSetOperand(); - if (isCharacterComplement && mayContainStrings) { - error(Diagnostics.Anything_that_would_possibly_match_more_than_a_single_character_is_invalid_inside_a_negated_character_class, secondStart, pos - secondStart); - } - expressionMayContainStrings || (expressionMayContainStrings = mayContainStrings); - if (!secondOperand) { - error(Diagnostics.A_character_class_range_must_not_be_bounded_by_another_character_class, secondStart, pos - secondStart); - break; - } - if (!operand) { - break; - } - const minCharacterValue = codePointAt(operand, 0); - const maxCharacterValue = codePointAt(secondOperand, 0); - if (operand.length === charSize(minCharacterValue) && secondOperand.length === charSize(maxCharacterValue) && minCharacterValue > maxCharacterValue) { - error(Diagnostics.Range_out_of_order_in_character_class, start2, pos - start2); - } - } - break; - case 38 /* ampersand */: - start2 = pos; - pos++; - if (charCodeChecked(pos) === 38 /* ampersand */) { - pos++; - error(Diagnostics.Operators_must_not_be_mixed_within_a_character_class_Wrap_it_in_a_nested_class_instead, pos - 2, 2); - if (charCodeChecked(pos) === 38 /* ampersand */) { - error(Diagnostics.Unexpected_0_Did_you_mean_to_escape_it_with_backslash, pos, 1, String.fromCharCode(ch)); - pos++; - } - } else { - error(Diagnostics.Unexpected_0_Did_you_mean_to_escape_it_with_backslash, pos - 1, 1, String.fromCharCode(ch)); - } - operand = text.slice(start2, pos); - continue; - } - if (isClassContentExit(charCodeChecked(pos))) { - break; - } - start2 = pos; - switch (text.slice(pos, pos + 2)) { - case "--": - case "&&": - error(Diagnostics.Operators_must_not_be_mixed_within_a_character_class_Wrap_it_in_a_nested_class_instead, pos, 2); - pos += 2; - operand = text.slice(start2, pos); - break; - default: - operand = scanClassSetOperand(); - break; - } - } - mayContainStrings = !isCharacterComplement && expressionMayContainStrings; - } - function scanClassSetSubExpression(expressionType) { - let expressionMayContainStrings = mayContainStrings; - while (true) { - let ch = charCodeChecked(pos); - if (isClassContentExit(ch)) { - break; - } - switch (ch) { - case 45 /* minus */: - pos++; - if (charCodeChecked(pos) === 45 /* minus */) { - pos++; - if (expressionType !== 3 /* ClassSubtraction */) { - error(Diagnostics.Operators_must_not_be_mixed_within_a_character_class_Wrap_it_in_a_nested_class_instead, pos - 2, 2); - } - } else { - error(Diagnostics.Operators_must_not_be_mixed_within_a_character_class_Wrap_it_in_a_nested_class_instead, pos - 1, 1); - } - break; - case 38 /* ampersand */: - pos++; - if (charCodeChecked(pos) === 38 /* ampersand */) { - pos++; - if (expressionType !== 2 /* ClassIntersection */) { - error(Diagnostics.Operators_must_not_be_mixed_within_a_character_class_Wrap_it_in_a_nested_class_instead, pos - 2, 2); - } - if (charCodeChecked(pos) === 38 /* ampersand */) { - error(Diagnostics.Unexpected_0_Did_you_mean_to_escape_it_with_backslash, pos, 1, String.fromCharCode(ch)); - pos++; - } - } else { - error(Diagnostics.Unexpected_0_Did_you_mean_to_escape_it_with_backslash, pos - 1, 1, String.fromCharCode(ch)); - } - break; - default: - switch (expressionType) { - case 3 /* ClassSubtraction */: - error(Diagnostics._0_expected, pos, 0, "--"); - break; - case 2 /* ClassIntersection */: - error(Diagnostics._0_expected, pos, 0, "&&"); - break; - default: - break; - } - break; - } - ch = charCodeChecked(pos); - if (isClassContentExit(ch)) { - error(Diagnostics.Expected_a_class_set_operand); - break; - } - scanClassSetOperand(); - expressionMayContainStrings && (expressionMayContainStrings = mayContainStrings); - } - mayContainStrings = expressionMayContainStrings; - } - function scanClassSetOperand() { - mayContainStrings = false; - switch (charCodeChecked(pos)) { - case -1 /* EOF */: - return ""; - case 91 /* openBracket */: - pos++; - scanClassSetExpression(); - scanExpectedChar(93 /* closeBracket */); - return ""; - case 92 /* backslash */: - pos++; - if (scanCharacterClassEscape()) { - return ""; - } else if (charCodeChecked(pos) === 113 /* q */) { - pos++; - if (charCodeChecked(pos) === 123 /* openBrace */) { - pos++; - scanClassStringDisjunctionContents(); - scanExpectedChar(125 /* closeBrace */); - return ""; - } else { - error(Diagnostics.q_must_be_followed_by_string_alternatives_enclosed_in_braces, pos - 2, 2); - return "q"; - } - } - pos--; - default: - return scanClassSetCharacter(); - } - } - function scanClassStringDisjunctionContents() { - Debug.assertEqual(charCodeUnchecked(pos - 1), 123 /* openBrace */); - let characterCount = 0; - while (true) { - const ch = charCodeChecked(pos); - switch (ch) { - case -1 /* EOF */: - return; - case 125 /* closeBrace */: - if (characterCount !== 1) { - mayContainStrings = true; - } - return; - case 124 /* bar */: - if (characterCount !== 1) { - mayContainStrings = true; - } - pos++; - start = pos; - characterCount = 0; - break; - default: - scanClassSetCharacter(); - characterCount++; - break; - } - } - } - function scanClassSetCharacter() { - const ch = charCodeChecked(pos); - if (ch === -1 /* EOF */) { - return ""; - } - if (ch === 92 /* backslash */) { - pos++; - const ch2 = charCodeChecked(pos); - switch (ch2) { - case 98 /* b */: - pos++; - return "\b"; - case 38 /* ampersand */: - case 45 /* minus */: - case 33 /* exclamation */: - case 35 /* hash */: - case 37 /* percent */: - case 44 /* comma */: - case 58 /* colon */: - case 59 /* semicolon */: - case 60 /* lessThan */: - case 61 /* equals */: - case 62 /* greaterThan */: - case 64 /* at */: - case 96 /* backtick */: - case 126 /* tilde */: - pos++; - return String.fromCharCode(ch2); - default: - return scanCharacterEscape( - /*atomEscape*/ - false - ); - } - } else if (ch === charCodeChecked(pos + 1)) { - switch (ch) { - case 38 /* ampersand */: - case 33 /* exclamation */: - case 35 /* hash */: - case 37 /* percent */: - case 42 /* asterisk */: - case 43 /* plus */: - case 44 /* comma */: - case 46 /* dot */: - case 58 /* colon */: - case 59 /* semicolon */: - case 60 /* lessThan */: - case 61 /* equals */: - case 62 /* greaterThan */: - case 63 /* question */: - case 64 /* at */: - case 96 /* backtick */: - case 126 /* tilde */: - error(Diagnostics.A_character_class_must_not_contain_a_reserved_double_punctuator_Did_you_mean_to_escape_it_with_backslash, pos, 2); - pos += 2; - return text.substring(pos - 2, pos); - } - } - switch (ch) { - case 47 /* slash */: - case 40 /* openParen */: - case 41 /* closeParen */: - case 91 /* openBracket */: - case 93 /* closeBracket */: - case 123 /* openBrace */: - case 125 /* closeBrace */: - case 45 /* minus */: - case 124 /* bar */: - error(Diagnostics.Unexpected_0_Did_you_mean_to_escape_it_with_backslash, pos, 1, String.fromCharCode(ch)); - pos++; - return String.fromCharCode(ch); - } - return scanSourceCharacter(); - } - function scanClassAtom() { - if (charCodeChecked(pos) === 92 /* backslash */) { - pos++; - const ch = charCodeChecked(pos); - switch (ch) { - case 98 /* b */: - pos++; - return "\b"; - case 45 /* minus */: - pos++; - return String.fromCharCode(ch); - default: - if (scanCharacterClassEscape()) { - return ""; - } - return scanCharacterEscape( - /*atomEscape*/ - false - ); - } - } else { - return scanSourceCharacter(); - } - } - function scanCharacterClassEscape() { - Debug.assertEqual(charCodeUnchecked(pos - 1), 92 /* backslash */); - let isCharacterComplement = false; - const start2 = pos - 1; - const ch = charCodeChecked(pos); - switch (ch) { - case 100 /* d */: - case 68 /* D */: - case 115 /* s */: - case 83 /* S */: - case 119 /* w */: - case 87 /* W */: - pos++; - return true; - case 80 /* P */: - isCharacterComplement = true; - case 112 /* p */: - pos++; - if (charCodeChecked(pos) === 123 /* openBrace */) { - pos++; - const propertyNameOrValueStart = pos; - const propertyNameOrValue = scanWordCharacters(); - if (charCodeChecked(pos) === 61 /* equals */) { - const propertyName = nonBinaryUnicodeProperties.get(propertyNameOrValue); - if (pos === propertyNameOrValueStart) { - error(Diagnostics.Expected_a_Unicode_property_name); - } else if (propertyName === void 0) { - error(Diagnostics.Unknown_Unicode_property_name, propertyNameOrValueStart, pos - propertyNameOrValueStart); - const suggestion = getSpellingSuggestion(propertyNameOrValue, nonBinaryUnicodeProperties.keys(), identity); - if (suggestion) { - error(Diagnostics.Did_you_mean_0, propertyNameOrValueStart, pos - propertyNameOrValueStart, suggestion); - } - } - pos++; - const propertyValueStart = pos; - const propertyValue = scanWordCharacters(); - if (pos === propertyValueStart) { - error(Diagnostics.Expected_a_Unicode_property_value); - } else if (propertyName !== void 0 && !valuesOfNonBinaryUnicodeProperties[propertyName].has(propertyValue)) { - error(Diagnostics.Unknown_Unicode_property_value, propertyValueStart, pos - propertyValueStart); - const suggestion = getSpellingSuggestion(propertyValue, valuesOfNonBinaryUnicodeProperties[propertyName], identity); - if (suggestion) { - error(Diagnostics.Did_you_mean_0, propertyValueStart, pos - propertyValueStart, suggestion); - } - } - } else { - if (pos === propertyNameOrValueStart) { - error(Diagnostics.Expected_a_Unicode_property_name_or_value); - } else if (binaryUnicodePropertiesOfStrings.has(propertyNameOrValue)) { - if (!unicodeSetsMode) { - error(Diagnostics.Any_Unicode_property_that_would_possibly_match_more_than_a_single_character_is_only_available_when_the_Unicode_Sets_v_flag_is_set, propertyNameOrValueStart, pos - propertyNameOrValueStart); - } else if (isCharacterComplement) { - error(Diagnostics.Anything_that_would_possibly_match_more_than_a_single_character_is_invalid_inside_a_negated_character_class, propertyNameOrValueStart, pos - propertyNameOrValueStart); - } else { - mayContainStrings = true; - } - } else if (!valuesOfNonBinaryUnicodeProperties.General_Category.has(propertyNameOrValue) && !binaryUnicodeProperties.has(propertyNameOrValue)) { - error(Diagnostics.Unknown_Unicode_property_name_or_value, propertyNameOrValueStart, pos - propertyNameOrValueStart); - const suggestion = getSpellingSuggestion(propertyNameOrValue, [...valuesOfNonBinaryUnicodeProperties.General_Category, ...binaryUnicodeProperties, ...binaryUnicodePropertiesOfStrings], identity); - if (suggestion) { - error(Diagnostics.Did_you_mean_0, propertyNameOrValueStart, pos - propertyNameOrValueStart, suggestion); - } - } - } - scanExpectedChar(125 /* closeBrace */); - if (!anyUnicodeMode) { - error(Diagnostics.Unicode_property_value_expressions_are_only_available_when_the_Unicode_u_flag_or_the_Unicode_Sets_v_flag_is_set, start2, pos - start2); - } - } else if (anyUnicodeModeOrNonAnnexB) { - error(Diagnostics._0_must_be_followed_by_a_Unicode_property_value_expression_enclosed_in_braces, pos - 2, 2, String.fromCharCode(ch)); - } else { - pos--; - return false; - } - return true; - } - return false; - } - function scanWordCharacters() { - let value = ""; - while (true) { - const ch = charCodeChecked(pos); - if (ch === -1 /* EOF */ || !isWordCharacter(ch)) { - break; - } - value += String.fromCharCode(ch); - pos++; - } - return value; - } - function scanSourceCharacter() { - const size = anyUnicodeMode ? charSize(codePointChecked(pos)) : 1; - pos += size; - return size > 0 ? text.substring(pos - size, pos) : ""; - } - function scanExpectedChar(ch) { - if (charCodeChecked(pos) === ch) { - pos++; - } else { - error(Diagnostics._0_expected, pos, 0, String.fromCharCode(ch)); - } - } - scanDisjunction( - /*isInGroup*/ - false - ); - forEach(groupNameReferences, (reference) => { - if (!(groupSpecifiers == null ? void 0 : groupSpecifiers.has(reference.name))) { - error(Diagnostics.There_is_no_capturing_group_named_0_in_this_regular_expression, reference.pos, reference.end - reference.pos, reference.name); - if (groupSpecifiers) { - const suggestion = getSpellingSuggestion(reference.name, groupSpecifiers, identity); - if (suggestion) { - error(Diagnostics.Did_you_mean_0, reference.pos, reference.end - reference.pos, suggestion); - } - } - } - }); - forEach(decimalEscapes, (escape) => { - if (escape.value > numberOfCapturingGroups) { - if (numberOfCapturingGroups) { - error(Diagnostics.This_backreference_refers_to_a_group_that_does_not_exist_There_are_only_0_capturing_groups_in_this_regular_expression, escape.pos, escape.end - escape.pos, numberOfCapturingGroups); - } else { - error(Diagnostics.This_backreference_refers_to_a_group_that_does_not_exist_There_are_no_capturing_groups_in_this_regular_expression, escape.pos, escape.end - escape.pos); - } - } - }); - } - function checkRegularExpressionFlagAvailability(flag, size) { - const availableFrom = regExpFlagToFirstAvailableLanguageVersion.get(flag); - if (availableFrom && languageVersion < availableFrom) { - error(Diagnostics.This_regular_expression_flag_is_only_available_when_targeting_0_or_later, pos, size, getNameOfScriptTarget(availableFrom)); - } - } - function appendIfCommentDirective(commentDirectives2, text2, commentDirectiveRegEx, lineStart) { - const type = getDirectiveFromComment(text2.trimStart(), commentDirectiveRegEx); - if (type === void 0) { - return commentDirectives2; - } - return append( - commentDirectives2, - { - range: { pos: lineStart, end: pos }, - type - } - ); - } - function getDirectiveFromComment(text2, commentDirectiveRegEx) { - const match = commentDirectiveRegEx.exec(text2); - if (!match) { - return void 0; - } - switch (match[1]) { - case "ts-expect-error": - return 0 /* ExpectError */; - case "ts-ignore": - return 1 /* Ignore */; - } - return void 0; - } - function reScanTemplateToken(isTaggedTemplate) { - pos = tokenStart; - return token = scanTemplateAndSetTokenValue(!isTaggedTemplate); - } - function reScanTemplateHeadOrNoSubstitutionTemplate() { - pos = tokenStart; - return token = scanTemplateAndSetTokenValue( - /*shouldEmitInvalidEscapeError*/ - true - ); - } - function reScanJsxToken(allowMultilineJsxText = true) { - pos = tokenStart = fullStartPos; - return token = scanJsxToken(allowMultilineJsxText); - } - function reScanLessThanToken() { - if (token === 48 /* LessThanLessThanToken */) { - pos = tokenStart + 1; - return token = 30 /* LessThanToken */; - } - return token; - } - function reScanHashToken() { - if (token === 81 /* PrivateIdentifier */) { - pos = tokenStart + 1; - return token = 63 /* HashToken */; - } - return token; - } - function reScanQuestionToken() { - Debug.assert(token === 61 /* QuestionQuestionToken */, "'reScanQuestionToken' should only be called on a '??'"); - pos = tokenStart + 1; - return token = 58 /* QuestionToken */; - } - function scanJsxToken(allowMultilineJsxText = true) { - fullStartPos = tokenStart = pos; - if (pos >= end) { - return token = 1 /* EndOfFileToken */; - } - let char = charCodeUnchecked(pos); - if (char === 60 /* lessThan */) { - if (charCodeUnchecked(pos + 1) === 47 /* slash */) { - pos += 2; - return token = 31 /* LessThanSlashToken */; - } - pos++; - return token = 30 /* LessThanToken */; - } - if (char === 123 /* openBrace */) { - pos++; - return token = 19 /* OpenBraceToken */; - } - let firstNonWhitespace = 0; - while (pos < end) { - char = charCodeUnchecked(pos); - if (char === 123 /* openBrace */) { - break; - } - if (char === 60 /* lessThan */) { - if (isConflictMarkerTrivia(text, pos)) { - pos = scanConflictMarkerTrivia(text, pos, error); - return token = 7 /* ConflictMarkerTrivia */; - } - break; - } - if (char === 62 /* greaterThan */) { - error(Diagnostics.Unexpected_token_Did_you_mean_or_gt, pos, 1); - } - if (char === 125 /* closeBrace */) { - error(Diagnostics.Unexpected_token_Did_you_mean_or_rbrace, pos, 1); - } - if (isLineBreak(char) && firstNonWhitespace === 0) { - firstNonWhitespace = -1; - } else if (!allowMultilineJsxText && isLineBreak(char) && firstNonWhitespace > 0) { - break; - } else if (!isWhiteSpaceLike(char)) { - firstNonWhitespace = pos; - } - pos++; - } - tokenValue = text.substring(fullStartPos, pos); - return firstNonWhitespace === -1 ? 13 /* JsxTextAllWhiteSpaces */ : 12 /* JsxText */; - } - function scanJsxIdentifier() { - if (tokenIsIdentifierOrKeyword(token)) { - while (pos < end) { - const ch = charCodeUnchecked(pos); - if (ch === 45 /* minus */) { - tokenValue += "-"; - pos++; - continue; - } - const oldPos = pos; - tokenValue += scanIdentifierParts(); - if (pos === oldPos) { - break; - } - } - return getIdentifierToken(); - } - return token; - } - function scanJsxAttributeValue() { - fullStartPos = pos; - switch (charCodeUnchecked(pos)) { - case 34 /* doubleQuote */: - case 39 /* singleQuote */: - tokenValue = scanString( - /*jsxAttributeString*/ - true - ); - return token = 11 /* StringLiteral */; - default: - return scan(); - } - } - function reScanJsxAttributeValue() { - pos = tokenStart = fullStartPos; - return scanJsxAttributeValue(); - } - function scanJSDocCommentTextToken(inBackticks) { - fullStartPos = tokenStart = pos; - tokenFlags = 0 /* None */; - if (pos >= end) { - return token = 1 /* EndOfFileToken */; - } - for (let ch = charCodeUnchecked(pos); pos < end && (!isLineBreak(ch) && ch !== 96 /* backtick */); ch = codePointUnchecked(++pos)) { - if (!inBackticks) { - if (ch === 123 /* openBrace */) { - break; - } else if (ch === 64 /* at */ && pos - 1 >= 0 && isWhiteSpaceSingleLine(charCodeUnchecked(pos - 1)) && !(pos + 1 < end && isWhiteSpaceLike(charCodeUnchecked(pos + 1)))) { - break; - } - } - } - if (pos === tokenStart) { - return scanJsDocToken(); - } - tokenValue = text.substring(tokenStart, pos); - return token = 82 /* JSDocCommentTextToken */; - } - function scanJsDocToken() { - fullStartPos = tokenStart = pos; - tokenFlags = 0 /* None */; - if (pos >= end) { - return token = 1 /* EndOfFileToken */; - } - const ch = codePointUnchecked(pos); - pos += charSize(ch); - switch (ch) { - case 9 /* tab */: - case 11 /* verticalTab */: - case 12 /* formFeed */: - case 32 /* space */: - while (pos < end && isWhiteSpaceSingleLine(charCodeUnchecked(pos))) { - pos++; - } - return token = 5 /* WhitespaceTrivia */; - case 64 /* at */: - return token = 60 /* AtToken */; - case 13 /* carriageReturn */: - if (charCodeUnchecked(pos) === 10 /* lineFeed */) { - pos++; - } - case 10 /* lineFeed */: - tokenFlags |= 1 /* PrecedingLineBreak */; - return token = 4 /* NewLineTrivia */; - case 42 /* asterisk */: - return token = 42 /* AsteriskToken */; - case 123 /* openBrace */: - return token = 19 /* OpenBraceToken */; - case 125 /* closeBrace */: - return token = 20 /* CloseBraceToken */; - case 91 /* openBracket */: - return token = 23 /* OpenBracketToken */; - case 93 /* closeBracket */: - return token = 24 /* CloseBracketToken */; - case 40 /* openParen */: - return token = 21 /* OpenParenToken */; - case 41 /* closeParen */: - return token = 22 /* CloseParenToken */; - case 60 /* lessThan */: - return token = 30 /* LessThanToken */; - case 62 /* greaterThan */: - return token = 32 /* GreaterThanToken */; - case 61 /* equals */: - return token = 64 /* EqualsToken */; - case 44 /* comma */: - return token = 28 /* CommaToken */; - case 46 /* dot */: - return token = 25 /* DotToken */; - case 96 /* backtick */: - return token = 62 /* BacktickToken */; - case 35 /* hash */: - return token = 63 /* HashToken */; - case 92 /* backslash */: - pos--; - const extendedCookedChar = peekExtendedUnicodeEscape(); - if (extendedCookedChar >= 0 && isIdentifierStart(extendedCookedChar, languageVersion)) { - tokenValue = scanExtendedUnicodeEscape( - /*shouldEmitInvalidEscapeError*/ - true - ) + scanIdentifierParts(); - return token = getIdentifierToken(); - } - const cookedChar = peekUnicodeEscape(); - if (cookedChar >= 0 && isIdentifierStart(cookedChar, languageVersion)) { - pos += 6; - tokenFlags |= 1024 /* UnicodeEscape */; - tokenValue = String.fromCharCode(cookedChar) + scanIdentifierParts(); - return token = getIdentifierToken(); - } - pos++; - return token = 0 /* Unknown */; - } - if (isIdentifierStart(ch, languageVersion)) { - let char = ch; - while (pos < end && isIdentifierPart(char = codePointUnchecked(pos), languageVersion) || char === 45 /* minus */) pos += charSize(char); - tokenValue = text.substring(tokenStart, pos); - if (char === 92 /* backslash */) { - tokenValue += scanIdentifierParts(); - } - return token = getIdentifierToken(); - } else { - return token = 0 /* Unknown */; - } - } - function speculationHelper(callback, isLookahead) { - const savePos = pos; - const saveStartPos = fullStartPos; - const saveTokenPos = tokenStart; - const saveToken = token; - const saveTokenValue = tokenValue; - const saveTokenFlags = tokenFlags; - const result = callback(); - if (!result || isLookahead) { - pos = savePos; - fullStartPos = saveStartPos; - tokenStart = saveTokenPos; - token = saveToken; - tokenValue = saveTokenValue; - tokenFlags = saveTokenFlags; - } - return result; - } - function scanRange(start2, length3, callback) { - const saveEnd = end; - const savePos = pos; - const saveStartPos = fullStartPos; - const saveTokenPos = tokenStart; - const saveToken = token; - const saveTokenValue = tokenValue; - const saveTokenFlags = tokenFlags; - const saveErrorExpectations = commentDirectives; - setText(text, start2, length3); - const result = callback(); - end = saveEnd; - pos = savePos; - fullStartPos = saveStartPos; - tokenStart = saveTokenPos; - token = saveToken; - tokenValue = saveTokenValue; - tokenFlags = saveTokenFlags; - commentDirectives = saveErrorExpectations; - return result; - } - function lookAhead(callback) { - return speculationHelper( - callback, - /*isLookahead*/ - true - ); - } - function tryScan(callback) { - return speculationHelper( - callback, - /*isLookahead*/ - false - ); - } - function getText() { - return text; - } - function clearCommentDirectives() { - commentDirectives = void 0; - } - function setText(newText, start2, length3) { - text = newText || ""; - end = length3 === void 0 ? text.length : start2 + length3; - resetTokenState(start2 || 0); - } - function setOnError(errorCallback) { - onError = errorCallback; - } - function setScriptTarget(scriptTarget) { - languageVersion = scriptTarget; - } - function setLanguageVariant(variant) { - languageVariant = variant; - } - function setScriptKind(kind) { - scriptKind = kind; - } - function setJSDocParsingMode(kind) { - jsDocParsingMode = kind; - } - function resetTokenState(position) { - Debug.assert(position >= 0); - pos = position; - fullStartPos = position; - tokenStart = position; - token = 0 /* Unknown */; - tokenValue = void 0; - tokenFlags = 0 /* None */; - } - function setSkipJsDocLeadingAsterisks(skip) { - skipJsDocLeadingAsterisks += skip ? 1 : -1; - } -} -function codePointAt(s, i) { - return s.codePointAt(i); -} -function charSize(ch) { - if (ch >= 65536) { - return 2; - } - if (ch === -1 /* EOF */) { - return 0; - } - return 1; -} -function utf16EncodeAsStringFallback(codePoint) { - Debug.assert(0 <= codePoint && codePoint <= 1114111); - if (codePoint <= 65535) { - return String.fromCharCode(codePoint); - } - const codeUnit1 = Math.floor((codePoint - 65536) / 1024) + 55296; - const codeUnit2 = (codePoint - 65536) % 1024 + 56320; - return String.fromCharCode(codeUnit1, codeUnit2); -} -var utf16EncodeAsStringWorker = String.fromCodePoint ? (codePoint) => String.fromCodePoint(codePoint) : utf16EncodeAsStringFallback; -function utf16EncodeAsString(codePoint) { - return utf16EncodeAsStringWorker(codePoint); -} -var nonBinaryUnicodeProperties = new Map(Object.entries({ - General_Category: "General_Category", - gc: "General_Category", - Script: "Script", - sc: "Script", - Script_Extensions: "Script_Extensions", - scx: "Script_Extensions" -})); -var binaryUnicodeProperties = /* @__PURE__ */ new Set(["ASCII", "ASCII_Hex_Digit", "AHex", "Alphabetic", "Alpha", "Any", "Assigned", "Bidi_Control", "Bidi_C", "Bidi_Mirrored", "Bidi_M", "Case_Ignorable", "CI", "Cased", "Changes_When_Casefolded", "CWCF", "Changes_When_Casemapped", "CWCM", "Changes_When_Lowercased", "CWL", "Changes_When_NFKC_Casefolded", "CWKCF", "Changes_When_Titlecased", "CWT", "Changes_When_Uppercased", "CWU", "Dash", "Default_Ignorable_Code_Point", "DI", "Deprecated", "Dep", "Diacritic", "Dia", "Emoji", "Emoji_Component", "EComp", "Emoji_Modifier", "EMod", "Emoji_Modifier_Base", "EBase", "Emoji_Presentation", "EPres", "Extended_Pictographic", "ExtPict", "Extender", "Ext", "Grapheme_Base", "Gr_Base", "Grapheme_Extend", "Gr_Ext", "Hex_Digit", "Hex", "IDS_Binary_Operator", "IDSB", "IDS_Trinary_Operator", "IDST", "ID_Continue", "IDC", "ID_Start", "IDS", "Ideographic", "Ideo", "Join_Control", "Join_C", "Logical_Order_Exception", "LOE", "Lowercase", "Lower", "Math", "Noncharacter_Code_Point", "NChar", "Pattern_Syntax", "Pat_Syn", "Pattern_White_Space", "Pat_WS", "Quotation_Mark", "QMark", "Radical", "Regional_Indicator", "RI", "Sentence_Terminal", "STerm", "Soft_Dotted", "SD", "Terminal_Punctuation", "Term", "Unified_Ideograph", "UIdeo", "Uppercase", "Upper", "Variation_Selector", "VS", "White_Space", "space", "XID_Continue", "XIDC", "XID_Start", "XIDS"]); -var binaryUnicodePropertiesOfStrings = /* @__PURE__ */ new Set(["Basic_Emoji", "Emoji_Keycap_Sequence", "RGI_Emoji_Modifier_Sequence", "RGI_Emoji_Flag_Sequence", "RGI_Emoji_Tag_Sequence", "RGI_Emoji_ZWJ_Sequence", "RGI_Emoji"]); -var valuesOfNonBinaryUnicodeProperties = { - General_Category: /* @__PURE__ */ new Set(["C", "Other", "Cc", "Control", "cntrl", "Cf", "Format", "Cn", "Unassigned", "Co", "Private_Use", "Cs", "Surrogate", "L", "Letter", "LC", "Cased_Letter", "Ll", "Lowercase_Letter", "Lm", "Modifier_Letter", "Lo", "Other_Letter", "Lt", "Titlecase_Letter", "Lu", "Uppercase_Letter", "M", "Mark", "Combining_Mark", "Mc", "Spacing_Mark", "Me", "Enclosing_Mark", "Mn", "Nonspacing_Mark", "N", "Number", "Nd", "Decimal_Number", "digit", "Nl", "Letter_Number", "No", "Other_Number", "P", "Punctuation", "punct", "Pc", "Connector_Punctuation", "Pd", "Dash_Punctuation", "Pe", "Close_Punctuation", "Pf", "Final_Punctuation", "Pi", "Initial_Punctuation", "Po", "Other_Punctuation", "Ps", "Open_Punctuation", "S", "Symbol", "Sc", "Currency_Symbol", "Sk", "Modifier_Symbol", "Sm", "Math_Symbol", "So", "Other_Symbol", "Z", "Separator", "Zl", "Line_Separator", "Zp", "Paragraph_Separator", "Zs", "Space_Separator"]), - Script: /* @__PURE__ */ new Set(["Adlm", "Adlam", "Aghb", "Caucasian_Albanian", "Ahom", "Arab", "Arabic", "Armi", "Imperial_Aramaic", "Armn", "Armenian", "Avst", "Avestan", "Bali", "Balinese", "Bamu", "Bamum", "Bass", "Bassa_Vah", "Batk", "Batak", "Beng", "Bengali", "Bhks", "Bhaiksuki", "Bopo", "Bopomofo", "Brah", "Brahmi", "Brai", "Braille", "Bugi", "Buginese", "Buhd", "Buhid", "Cakm", "Chakma", "Cans", "Canadian_Aboriginal", "Cari", "Carian", "Cham", "Cher", "Cherokee", "Chrs", "Chorasmian", "Copt", "Coptic", "Qaac", "Cpmn", "Cypro_Minoan", "Cprt", "Cypriot", "Cyrl", "Cyrillic", "Deva", "Devanagari", "Diak", "Dives_Akuru", "Dogr", "Dogra", "Dsrt", "Deseret", "Dupl", "Duployan", "Egyp", "Egyptian_Hieroglyphs", "Elba", "Elbasan", "Elym", "Elymaic", "Ethi", "Ethiopic", "Geor", "Georgian", "Glag", "Glagolitic", "Gong", "Gunjala_Gondi", "Gonm", "Masaram_Gondi", "Goth", "Gothic", "Gran", "Grantha", "Grek", "Greek", "Gujr", "Gujarati", "Guru", "Gurmukhi", "Hang", "Hangul", "Hani", "Han", "Hano", "Hanunoo", "Hatr", "Hatran", "Hebr", "Hebrew", "Hira", "Hiragana", "Hluw", "Anatolian_Hieroglyphs", "Hmng", "Pahawh_Hmong", "Hmnp", "Nyiakeng_Puachue_Hmong", "Hrkt", "Katakana_Or_Hiragana", "Hung", "Old_Hungarian", "Ital", "Old_Italic", "Java", "Javanese", "Kali", "Kayah_Li", "Kana", "Katakana", "Kawi", "Khar", "Kharoshthi", "Khmr", "Khmer", "Khoj", "Khojki", "Kits", "Khitan_Small_Script", "Knda", "Kannada", "Kthi", "Kaithi", "Lana", "Tai_Tham", "Laoo", "Lao", "Latn", "Latin", "Lepc", "Lepcha", "Limb", "Limbu", "Lina", "Linear_A", "Linb", "Linear_B", "Lisu", "Lyci", "Lycian", "Lydi", "Lydian", "Mahj", "Mahajani", "Maka", "Makasar", "Mand", "Mandaic", "Mani", "Manichaean", "Marc", "Marchen", "Medf", "Medefaidrin", "Mend", "Mende_Kikakui", "Merc", "Meroitic_Cursive", "Mero", "Meroitic_Hieroglyphs", "Mlym", "Malayalam", "Modi", "Mong", "Mongolian", "Mroo", "Mro", "Mtei", "Meetei_Mayek", "Mult", "Multani", "Mymr", "Myanmar", "Nagm", "Nag_Mundari", "Nand", "Nandinagari", "Narb", "Old_North_Arabian", "Nbat", "Nabataean", "Newa", "Nkoo", "Nko", "Nshu", "Nushu", "Ogam", "Ogham", "Olck", "Ol_Chiki", "Orkh", "Old_Turkic", "Orya", "Oriya", "Osge", "Osage", "Osma", "Osmanya", "Ougr", "Old_Uyghur", "Palm", "Palmyrene", "Pauc", "Pau_Cin_Hau", "Perm", "Old_Permic", "Phag", "Phags_Pa", "Phli", "Inscriptional_Pahlavi", "Phlp", "Psalter_Pahlavi", "Phnx", "Phoenician", "Plrd", "Miao", "Prti", "Inscriptional_Parthian", "Rjng", "Rejang", "Rohg", "Hanifi_Rohingya", "Runr", "Runic", "Samr", "Samaritan", "Sarb", "Old_South_Arabian", "Saur", "Saurashtra", "Sgnw", "SignWriting", "Shaw", "Shavian", "Shrd", "Sharada", "Sidd", "Siddham", "Sind", "Khudawadi", "Sinh", "Sinhala", "Sogd", "Sogdian", "Sogo", "Old_Sogdian", "Sora", "Sora_Sompeng", "Soyo", "Soyombo", "Sund", "Sundanese", "Sylo", "Syloti_Nagri", "Syrc", "Syriac", "Tagb", "Tagbanwa", "Takr", "Takri", "Tale", "Tai_Le", "Talu", "New_Tai_Lue", "Taml", "Tamil", "Tang", "Tangut", "Tavt", "Tai_Viet", "Telu", "Telugu", "Tfng", "Tifinagh", "Tglg", "Tagalog", "Thaa", "Thaana", "Thai", "Tibt", "Tibetan", "Tirh", "Tirhuta", "Tnsa", "Tangsa", "Toto", "Ugar", "Ugaritic", "Vaii", "Vai", "Vith", "Vithkuqi", "Wara", "Warang_Citi", "Wcho", "Wancho", "Xpeo", "Old_Persian", "Xsux", "Cuneiform", "Yezi", "Yezidi", "Yiii", "Yi", "Zanb", "Zanabazar_Square", "Zinh", "Inherited", "Qaai", "Zyyy", "Common", "Zzzz", "Unknown"]), - Script_Extensions: void 0 -}; -valuesOfNonBinaryUnicodeProperties.Script_Extensions = valuesOfNonBinaryUnicodeProperties.Script; - -// src/compiler/utilitiesPublic.ts -function isExternalModuleNameRelative(moduleName) { - return pathIsRelative(moduleName) || isRootedDiskPath(moduleName); -} -function sortAndDeduplicateDiagnostics(diagnostics) { - return sortAndDeduplicate(diagnostics, compareDiagnostics, diagnosticsEqualityComparer); -} -function getDefaultLibFileName(options) { - switch (getEmitScriptTarget(options)) { - case 99 /* ESNext */: - return "lib.esnext.full.d.ts"; - case 10 /* ES2023 */: - return "lib.es2023.full.d.ts"; - case 9 /* ES2022 */: - return "lib.es2022.full.d.ts"; - case 8 /* ES2021 */: - return "lib.es2021.full.d.ts"; - case 7 /* ES2020 */: - return "lib.es2020.full.d.ts"; - case 6 /* ES2019 */: - return "lib.es2019.full.d.ts"; - case 5 /* ES2018 */: - return "lib.es2018.full.d.ts"; - case 4 /* ES2017 */: - return "lib.es2017.full.d.ts"; - case 3 /* ES2016 */: - return "lib.es2016.full.d.ts"; - case 2 /* ES2015 */: - return "lib.es6.d.ts"; - default: - return "lib.d.ts"; - } -} -function textSpanEnd(span) { - return span.start + span.length; -} -function textSpanIsEmpty(span) { - return span.length === 0; -} -function textSpanContainsPosition(span, position) { - return position >= span.start && position < textSpanEnd(span); -} -function textRangeContainsPositionInclusive(range, position) { - return position >= range.pos && position <= range.end; -} -function createTextSpan(start, length2) { - if (start < 0) { - throw new Error("start < 0"); - } - if (length2 < 0) { - throw new Error("length < 0"); - } - return { start, length: length2 }; -} -function createTextSpanFromBounds(start, end) { - return createTextSpan(start, end - start); -} -function textChangeRangeNewSpan(range) { - return createTextSpan(range.span.start, range.newLength); -} -function textChangeRangeIsUnchanged(range) { - return textSpanIsEmpty(range.span) && range.newLength === 0; -} -function createTextChangeRange(span, newLength) { - if (newLength < 0) { - throw new Error("newLength < 0"); - } - return { span, newLength }; -} -var unchangedTextChangeRange = createTextChangeRange(createTextSpan(0, 0), 0); -function isParameterPropertyDeclaration(node, parent) { - return isParameter(node) && hasSyntacticModifier(node, 31 /* ParameterPropertyModifier */) && parent.kind === 176 /* Constructor */; -} -function walkUpBindingElementsAndPatterns(binding) { - let node = binding.parent; - while (isBindingElement(node.parent)) { - node = node.parent.parent; - } - return node.parent; -} -function getCombinedFlags(node, getFlags) { - if (isBindingElement(node)) { - node = walkUpBindingElementsAndPatterns(node); - } - let flags = getFlags(node); - if (node.kind === 260 /* VariableDeclaration */) { - node = node.parent; - } - if (node && node.kind === 261 /* VariableDeclarationList */) { - flags |= getFlags(node); - node = node.parent; - } - if (node && node.kind === 243 /* VariableStatement */) { - flags |= getFlags(node); - } - return flags; -} -function getCombinedModifierFlags(node) { - return getCombinedFlags(node, getEffectiveModifierFlags); -} -function getCombinedNodeFlags(node) { - return getCombinedFlags(node, getNodeFlags); -} -function getNodeFlags(node) { - return node.flags; -} -var supportedLocaleDirectories = ["cs", "de", "es", "fr", "it", "ja", "ko", "pl", "pt-br", "ru", "tr", "zh-cn", "zh-tw"]; -function validateLocaleAndSetLanguage(locale, sys2, errors) { - const lowerCaseLocale = locale.toLowerCase(); - const matchResult = /^([a-z]+)(?:[_-]([a-z]+))?$/.exec(lowerCaseLocale); - if (!matchResult) { - if (errors) { - errors.push(createCompilerDiagnostic(Diagnostics.Locale_must_be_of_the_form_language_or_language_territory_For_example_0_or_1, "en", "ja-jp")); - } - return; - } - const language = matchResult[1]; - const territory = matchResult[2]; - if (contains(supportedLocaleDirectories, lowerCaseLocale) && !trySetLanguageAndTerritory(language, territory, errors)) { - trySetLanguageAndTerritory( - language, - /*territory*/ - void 0, - errors - ); - } - setUILocale(locale); - function trySetLanguageAndTerritory(language2, territory2, errors2) { - const compilerFilePath = normalizePath(sys2.getExecutingFilePath()); - const containingDirectoryPath = getDirectoryPath(compilerFilePath); - let filePath = combinePaths(containingDirectoryPath, language2); - if (territory2) { - filePath = filePath + "-" + territory2; - } - filePath = sys2.resolvePath(combinePaths(filePath, "diagnosticMessages.generated.json")); - if (!sys2.fileExists(filePath)) { - return false; - } - let fileContents = ""; - try { - fileContents = sys2.readFile(filePath); - } catch { - if (errors2) { - errors2.push(createCompilerDiagnostic(Diagnostics.Unable_to_open_file_0, filePath)); - } - return false; - } - try { - setLocalizedDiagnosticMessages(JSON.parse(fileContents)); - } catch { - if (errors2) { - errors2.push(createCompilerDiagnostic(Diagnostics.Corrupted_locale_file_0, filePath)); - } - return false; - } - return true; - } -} -function getOriginalNode(node, nodeTest) { - if (node) { - while (node.original !== void 0) { - node = node.original; - } - } - if (!node || !nodeTest) { - return node; - } - return nodeTest(node) ? node : void 0; -} -function findAncestor(node, callback) { - while (node) { - const result = callback(node); - if (result === "quit") { - return void 0; - } else if (result) { - return node; - } - node = node.parent; - } - return void 0; -} -function isParseTreeNode(node) { - return (node.flags & 16 /* Synthesized */) === 0; -} -function getParseTreeNode(node, nodeTest) { - if (node === void 0 || isParseTreeNode(node)) { - return node; - } - node = node.original; - while (node) { - if (isParseTreeNode(node)) { - return !nodeTest || nodeTest(node) ? node : void 0; - } - node = node.original; - } -} -function escapeLeadingUnderscores(identifier) { - return identifier.length >= 2 && identifier.charCodeAt(0) === 95 /* _ */ && identifier.charCodeAt(1) === 95 /* _ */ ? "_" + identifier : identifier; -} -function unescapeLeadingUnderscores(identifier) { - const id = identifier; - return id.length >= 3 && id.charCodeAt(0) === 95 /* _ */ && id.charCodeAt(1) === 95 /* _ */ && id.charCodeAt(2) === 95 /* _ */ ? id.substr(1) : id; -} -function idText(identifierOrPrivateName) { - return unescapeLeadingUnderscores(identifierOrPrivateName.escapedText); -} -function identifierToKeywordKind(node) { - const token = stringToToken(node.escapedText); - return token ? tryCast(token, isKeyword) : void 0; -} -function symbolName(symbol) { - if (symbol.valueDeclaration && isPrivateIdentifierClassElementDeclaration(symbol.valueDeclaration)) { - return idText(symbol.valueDeclaration.name); - } - return unescapeLeadingUnderscores(symbol.escapedName); -} -function nameForNamelessJSDocTypedef(declaration) { - const hostNode = declaration.parent.parent; - if (!hostNode) { - return void 0; - } - if (isDeclaration(hostNode)) { - return getDeclarationIdentifier(hostNode); - } - switch (hostNode.kind) { - case 243 /* VariableStatement */: - if (hostNode.declarationList && hostNode.declarationList.declarations[0]) { - return getDeclarationIdentifier(hostNode.declarationList.declarations[0]); - } - break; - case 244 /* ExpressionStatement */: - let expr = hostNode.expression; - if (expr.kind === 226 /* BinaryExpression */ && expr.operatorToken.kind === 64 /* EqualsToken */) { - expr = expr.left; - } - switch (expr.kind) { - case 211 /* PropertyAccessExpression */: - return expr.name; - case 212 /* ElementAccessExpression */: - const arg = expr.argumentExpression; - if (isIdentifier(arg)) { - return arg; - } - } - break; - case 217 /* ParenthesizedExpression */: { - return getDeclarationIdentifier(hostNode.expression); - } - case 256 /* LabeledStatement */: { - if (isDeclaration(hostNode.statement) || isExpression(hostNode.statement)) { - return getDeclarationIdentifier(hostNode.statement); - } - break; - } - } -} -function getDeclarationIdentifier(node) { - const name = getNameOfDeclaration(node); - return name && isIdentifier(name) ? name : void 0; -} -function nodeHasName(statement, name) { - if (isNamedDeclaration(statement) && isIdentifier(statement.name) && idText(statement.name) === idText(name)) { - return true; - } - if (isVariableStatement(statement) && some(statement.declarationList.declarations, (d) => nodeHasName(d, name))) { - return true; - } - return false; -} -function getNameOfJSDocTypedef(declaration) { - return declaration.name || nameForNamelessJSDocTypedef(declaration); -} -function isNamedDeclaration(node) { - return !!node.name; -} -function getNonAssignedNameOfDeclaration(declaration) { - switch (declaration.kind) { - case 80 /* Identifier */: - return declaration; - case 348 /* JSDocPropertyTag */: - case 341 /* JSDocParameterTag */: { - const { name } = declaration; - if (name.kind === 166 /* QualifiedName */) { - return name.right; - } - break; - } - case 213 /* CallExpression */: - case 226 /* BinaryExpression */: { - const expr2 = declaration; - switch (getAssignmentDeclarationKind(expr2)) { - case 1 /* ExportsProperty */: - case 4 /* ThisProperty */: - case 5 /* Property */: - case 3 /* PrototypeProperty */: - return getElementOrPropertyAccessArgumentExpressionOrName(expr2.left); - case 7 /* ObjectDefinePropertyValue */: - case 8 /* ObjectDefinePropertyExports */: - case 9 /* ObjectDefinePrototypeProperty */: - return expr2.arguments[1]; - default: - return void 0; - } - } - case 346 /* JSDocTypedefTag */: - return getNameOfJSDocTypedef(declaration); - case 340 /* JSDocEnumTag */: - return nameForNamelessJSDocTypedef(declaration); - case 277 /* ExportAssignment */: { - const { expression } = declaration; - return isIdentifier(expression) ? expression : void 0; - } - case 212 /* ElementAccessExpression */: - const expr = declaration; - if (isBindableStaticElementAccessExpression(expr)) { - return expr.argumentExpression; - } - } - return declaration.name; -} -function getNameOfDeclaration(declaration) { - if (declaration === void 0) return void 0; - return getNonAssignedNameOfDeclaration(declaration) || (isFunctionExpression(declaration) || isArrowFunction(declaration) || isClassExpression(declaration) ? getAssignedName(declaration) : void 0); -} -function getAssignedName(node) { - if (!node.parent) { - return void 0; - } else if (isPropertyAssignment(node.parent) || isBindingElement(node.parent)) { - return node.parent.name; - } else if (isBinaryExpression(node.parent) && node === node.parent.right) { - if (isIdentifier(node.parent.left)) { - return node.parent.left; - } else if (isAccessExpression(node.parent.left)) { - return getElementOrPropertyAccessArgumentExpressionOrName(node.parent.left); - } - } else if (isVariableDeclaration(node.parent) && isIdentifier(node.parent.name)) { - return node.parent.name; - } -} -function getDecorators(node) { - if (hasDecorators(node)) { - return filter(node.modifiers, isDecorator); - } -} -function getModifiers(node) { - if (hasSyntacticModifier(node, 98303 /* Modifier */)) { - return filter(node.modifiers, isModifier); - } -} -function getJSDocParameterTagsWorker(param, noCache) { - if (param.name) { - if (isIdentifier(param.name)) { - const name = param.name.escapedText; - return getJSDocTagsWorker(param.parent, noCache).filter((tag) => isJSDocParameterTag(tag) && isIdentifier(tag.name) && tag.name.escapedText === name); - } else { - const i = param.parent.parameters.indexOf(param); - Debug.assert(i > -1, "Parameters should always be in their parents' parameter list"); - const paramTags = getJSDocTagsWorker(param.parent, noCache).filter(isJSDocParameterTag); - if (i < paramTags.length) { - return [paramTags[i]]; - } - } - } - return emptyArray; -} -function getJSDocParameterTags(param) { - return getJSDocParameterTagsWorker( - param, - /*noCache*/ - false - ); -} -function getJSDocParameterTagsNoCache(param) { - return getJSDocParameterTagsWorker( - param, - /*noCache*/ - true - ); -} -function getJSDocTypeParameterTagsWorker(param, noCache) { - const name = param.name.escapedText; - return getJSDocTagsWorker(param.parent, noCache).filter((tag) => isJSDocTemplateTag(tag) && tag.typeParameters.some((tp) => tp.name.escapedText === name)); -} -function getJSDocTypeParameterTags(param) { - return getJSDocTypeParameterTagsWorker( - param, - /*noCache*/ - false - ); -} -function getJSDocTypeParameterTagsNoCache(param) { - return getJSDocTypeParameterTagsWorker( - param, - /*noCache*/ - true - ); -} -function hasJSDocParameterTags(node) { - return !!getFirstJSDocTag(node, isJSDocParameterTag); -} -function getJSDocAugmentsTag(node) { - return getFirstJSDocTag(node, isJSDocAugmentsTag); -} -function getJSDocImplementsTags(node) { - return getAllJSDocTags(node, isJSDocImplementsTag); -} -function getJSDocClassTag(node) { - return getFirstJSDocTag(node, isJSDocClassTag); -} -function getJSDocPublicTagNoCache(node) { - return getFirstJSDocTag( - node, - isJSDocPublicTag, - /*noCache*/ - true - ); -} -function getJSDocPrivateTagNoCache(node) { - return getFirstJSDocTag( - node, - isJSDocPrivateTag, - /*noCache*/ - true - ); -} -function getJSDocProtectedTagNoCache(node) { - return getFirstJSDocTag( - node, - isJSDocProtectedTag, - /*noCache*/ - true - ); -} -function getJSDocReadonlyTagNoCache(node) { - return getFirstJSDocTag( - node, - isJSDocReadonlyTag, - /*noCache*/ - true - ); -} -function getJSDocOverrideTagNoCache(node) { - return getFirstJSDocTag( - node, - isJSDocOverrideTag, - /*noCache*/ - true - ); -} -function getJSDocDeprecatedTag(node) { - return getFirstJSDocTag(node, isJSDocDeprecatedTag); -} -function getJSDocDeprecatedTagNoCache(node) { - return getFirstJSDocTag( - node, - isJSDocDeprecatedTag, - /*noCache*/ - true - ); -} -function getJSDocEnumTag(node) { - return getFirstJSDocTag(node, isJSDocEnumTag); -} -function getJSDocThisTag(node) { - return getFirstJSDocTag(node, isJSDocThisTag); -} -function getJSDocReturnTag(node) { - return getFirstJSDocTag(node, isJSDocReturnTag); -} -function getJSDocSatisfiesTag(node) { - return getFirstJSDocTag(node, isJSDocSatisfiesTag); -} -function getJSDocTypeTag(node) { - const tag = getFirstJSDocTag(node, isJSDocTypeTag); - if (tag && tag.typeExpression && tag.typeExpression.type) { - return tag; - } - return void 0; -} -function getJSDocType(node) { - let tag = getFirstJSDocTag(node, isJSDocTypeTag); - if (!tag && isParameter(node)) { - tag = find(getJSDocParameterTags(node), (tag2) => !!tag2.typeExpression); - } - return tag && tag.typeExpression && tag.typeExpression.type; -} -function getJSDocReturnType(node) { - const returnTag = getJSDocReturnTag(node); - if (returnTag && returnTag.typeExpression) { - return returnTag.typeExpression.type; - } - const typeTag = getJSDocTypeTag(node); - if (typeTag && typeTag.typeExpression) { - const type = typeTag.typeExpression.type; - if (isTypeLiteralNode(type)) { - const sig = find(type.members, isCallSignatureDeclaration); - return sig && sig.type; - } - if (isFunctionTypeNode(type) || isJSDocFunctionType(type)) { - return type.type; - } - } -} -function getJSDocTagsWorker(node, noCache) { - var _a; - if (!canHaveJSDoc(node)) return emptyArray; - let tags = (_a = node.jsDoc) == null ? void 0 : _a.jsDocCache; - if (tags === void 0 || noCache) { - const comments = getJSDocCommentsAndTags(node, noCache); - Debug.assert(comments.length < 2 || comments[0] !== comments[1]); - tags = flatMap(comments, (j) => isJSDoc(j) ? j.tags : j); - if (!noCache) { - node.jsDoc ?? (node.jsDoc = []); - node.jsDoc.jsDocCache = tags; - } - } - return tags; -} -function getJSDocTags(node) { - return getJSDocTagsWorker( - node, - /*noCache*/ - false - ); -} -function getFirstJSDocTag(node, predicate, noCache) { - return find(getJSDocTagsWorker(node, noCache), predicate); -} -function getAllJSDocTags(node, predicate) { - return getJSDocTags(node).filter(predicate); -} -function getTextOfJSDocComment(comment) { - return typeof comment === "string" ? comment : comment == null ? void 0 : comment.map((c) => c.kind === 321 /* JSDocText */ ? c.text : formatJSDocLink(c)).join(""); -} -function formatJSDocLink(link) { - const kind = link.kind === 324 /* JSDocLink */ ? "link" : link.kind === 325 /* JSDocLinkCode */ ? "linkcode" : "linkplain"; - const name = link.name ? entityNameToString(link.name) : ""; - const space = link.name && (link.text === "" || link.text.startsWith("://")) ? "" : " "; - return `{@${kind} ${name}${space}${link.text}}`; -} -function getEffectiveTypeParameterDeclarations(node) { - if (isJSDocSignature(node)) { - if (isJSDocOverloadTag(node.parent)) { - const jsDoc = getJSDocRoot(node.parent); - if (jsDoc && length(jsDoc.tags)) { - return flatMap(jsDoc.tags, (tag) => isJSDocTemplateTag(tag) ? tag.typeParameters : void 0); - } - } - return emptyArray; - } - if (isJSDocTypeAlias(node)) { - Debug.assert(node.parent.kind === 320 /* JSDoc */); - return flatMap(node.parent.tags, (tag) => isJSDocTemplateTag(tag) ? tag.typeParameters : void 0); - } - if (node.typeParameters) { - return node.typeParameters; - } - if (canHaveIllegalTypeParameters(node) && node.typeParameters) { - return node.typeParameters; - } - if (isInJSFile(node)) { - const decls = getJSDocTypeParameterDeclarations(node); - if (decls.length) { - return decls; - } - const typeTag = getJSDocType(node); - if (typeTag && isFunctionTypeNode(typeTag) && typeTag.typeParameters) { - return typeTag.typeParameters; - } - } - return emptyArray; -} -function getEffectiveConstraintOfTypeParameter(node) { - return node.constraint ? node.constraint : isJSDocTemplateTag(node.parent) && node === node.parent.typeParameters[0] ? node.parent.constraint : void 0; -} -function isMemberName(node) { - return node.kind === 80 /* Identifier */ || node.kind === 81 /* PrivateIdentifier */; -} -function isGetOrSetAccessorDeclaration(node) { - return node.kind === 178 /* SetAccessor */ || node.kind === 177 /* GetAccessor */; -} -function isPropertyAccessChain(node) { - return isPropertyAccessExpression(node) && !!(node.flags & 64 /* OptionalChain */); -} -function isElementAccessChain(node) { - return isElementAccessExpression(node) && !!(node.flags & 64 /* OptionalChain */); -} -function isCallChain(node) { - return isCallExpression(node) && !!(node.flags & 64 /* OptionalChain */); -} -function isOptionalChain(node) { - const kind = node.kind; - return !!(node.flags & 64 /* OptionalChain */) && (kind === 211 /* PropertyAccessExpression */ || kind === 212 /* ElementAccessExpression */ || kind === 213 /* CallExpression */ || kind === 235 /* NonNullExpression */); -} -function isOptionalChainRoot(node) { - return isOptionalChain(node) && !isNonNullExpression(node) && !!node.questionDotToken; -} -function isExpressionOfOptionalChainRoot(node) { - return isOptionalChainRoot(node.parent) && node.parent.expression === node; -} -function isOutermostOptionalChain(node) { - return !isOptionalChain(node.parent) || isOptionalChainRoot(node.parent) || node !== node.parent.expression; -} -function isNullishCoalesce(node) { - return node.kind === 226 /* BinaryExpression */ && node.operatorToken.kind === 61 /* QuestionQuestionToken */; -} -function isConstTypeReference(node) { - return isTypeReferenceNode(node) && isIdentifier(node.typeName) && node.typeName.escapedText === "const" && !node.typeArguments; -} -function skipPartiallyEmittedExpressions(node) { - return skipOuterExpressions(node, 8 /* PartiallyEmittedExpressions */); -} -function isNonNullChain(node) { - return isNonNullExpression(node) && !!(node.flags & 64 /* OptionalChain */); -} -function isNamedExportBindings(node) { - return node.kind === 280 /* NamespaceExport */ || node.kind === 279 /* NamedExports */; -} -function isJSDocPropertyLikeTag(node) { - return node.kind === 348 /* JSDocPropertyTag */ || node.kind === 341 /* JSDocParameterTag */; -} -function isNodeKind(kind) { - return kind >= 166 /* FirstNode */; -} -function isTokenKind(kind) { - return kind >= 0 /* FirstToken */ && kind <= 165 /* LastToken */; -} -function isNodeArray(array) { - return hasProperty(array, "pos") && hasProperty(array, "end"); -} -function isLiteralKind(kind) { - return 9 /* FirstLiteralToken */ <= kind && kind <= 15 /* LastLiteralToken */; -} -function isLiteralExpression(node) { - return isLiteralKind(node.kind); -} -function isLiteralExpressionOfObject(node) { - switch (node.kind) { - case 210 /* ObjectLiteralExpression */: - case 209 /* ArrayLiteralExpression */: - case 14 /* RegularExpressionLiteral */: - case 218 /* FunctionExpression */: - case 231 /* ClassExpression */: - return true; - } - return false; -} -function isTemplateLiteralKind(kind) { - return 15 /* FirstTemplateToken */ <= kind && kind <= 18 /* LastTemplateToken */; -} -function isTemplateMiddleOrTemplateTail(node) { - const kind = node.kind; - return kind === 17 /* TemplateMiddle */ || kind === 18 /* TemplateTail */; -} -function isImportOrExportSpecifier(node) { - return isImportSpecifier(node) || isExportSpecifier(node); -} -function isTypeOnlyImportDeclaration(node) { - switch (node.kind) { - case 276 /* ImportSpecifier */: - return node.isTypeOnly || node.parent.parent.isTypeOnly; - case 274 /* NamespaceImport */: - return node.parent.isTypeOnly; - case 273 /* ImportClause */: - case 271 /* ImportEqualsDeclaration */: - return node.isTypeOnly; - } - return false; -} -function isTypeOnlyExportDeclaration(node) { - switch (node.kind) { - case 281 /* ExportSpecifier */: - return node.isTypeOnly || node.parent.parent.isTypeOnly; - case 278 /* ExportDeclaration */: - return node.isTypeOnly && !!node.moduleSpecifier && !node.exportClause; - case 280 /* NamespaceExport */: - return node.parent.isTypeOnly; - } - return false; -} -function isTypeOnlyImportOrExportDeclaration(node) { - return isTypeOnlyImportDeclaration(node) || isTypeOnlyExportDeclaration(node); -} -function isImportAttributeName(node) { - return isStringLiteral(node) || isIdentifier(node); -} -function isGeneratedIdentifier(node) { - var _a; - return isIdentifier(node) && ((_a = node.emitNode) == null ? void 0 : _a.autoGenerate) !== void 0; -} -function isGeneratedPrivateIdentifier(node) { - var _a; - return isPrivateIdentifier(node) && ((_a = node.emitNode) == null ? void 0 : _a.autoGenerate) !== void 0; -} -function isFileLevelReservedGeneratedIdentifier(node) { - const flags = node.emitNode.autoGenerate.flags; - return !!(flags & 32 /* FileLevel */) && !!(flags & 16 /* Optimistic */) && !!(flags & 8 /* ReservedInNestedScopes */); -} -function isPrivateIdentifierClassElementDeclaration(node) { - return (isPropertyDeclaration(node) || isMethodOrAccessor(node)) && isPrivateIdentifier(node.name); -} -function isPrivateIdentifierPropertyAccessExpression(node) { - return isPropertyAccessExpression(node) && isPrivateIdentifier(node.name); -} -function isModifierKind(token) { - switch (token) { - case 128 /* AbstractKeyword */: - case 129 /* AccessorKeyword */: - case 134 /* AsyncKeyword */: - case 87 /* ConstKeyword */: - case 138 /* DeclareKeyword */: - case 90 /* DefaultKeyword */: - case 95 /* ExportKeyword */: - case 103 /* InKeyword */: - case 125 /* PublicKeyword */: - case 123 /* PrivateKeyword */: - case 124 /* ProtectedKeyword */: - case 148 /* ReadonlyKeyword */: - case 126 /* StaticKeyword */: - case 147 /* OutKeyword */: - case 164 /* OverrideKeyword */: - return true; - } - return false; -} -function isParameterPropertyModifier(kind) { - return !!(modifierToFlag(kind) & 31 /* ParameterPropertyModifier */); -} -function isClassMemberModifier(idToken) { - return isParameterPropertyModifier(idToken) || idToken === 126 /* StaticKeyword */ || idToken === 164 /* OverrideKeyword */ || idToken === 129 /* AccessorKeyword */; -} -function isModifier(node) { - return isModifierKind(node.kind); -} -function isEntityName(node) { - const kind = node.kind; - return kind === 166 /* QualifiedName */ || kind === 80 /* Identifier */; -} -function isPropertyName(node) { - const kind = node.kind; - return kind === 80 /* Identifier */ || kind === 81 /* PrivateIdentifier */ || kind === 11 /* StringLiteral */ || kind === 9 /* NumericLiteral */ || kind === 167 /* ComputedPropertyName */; -} -function isBindingName(node) { - const kind = node.kind; - return kind === 80 /* Identifier */ || kind === 206 /* ObjectBindingPattern */ || kind === 207 /* ArrayBindingPattern */; -} -function isFunctionLike(node) { - return !!node && isFunctionLikeKind(node.kind); -} -function isFunctionLikeOrClassStaticBlockDeclaration(node) { - return !!node && (isFunctionLikeKind(node.kind) || isClassStaticBlockDeclaration(node)); -} -function isFunctionLikeDeclaration(node) { - return node && isFunctionLikeDeclarationKind(node.kind); -} -function isBooleanLiteral(node) { - return node.kind === 112 /* TrueKeyword */ || node.kind === 97 /* FalseKeyword */; -} -function isFunctionLikeDeclarationKind(kind) { - switch (kind) { - case 262 /* FunctionDeclaration */: - case 174 /* MethodDeclaration */: - case 176 /* Constructor */: - case 177 /* GetAccessor */: - case 178 /* SetAccessor */: - case 218 /* FunctionExpression */: - case 219 /* ArrowFunction */: - return true; - default: - return false; - } -} -function isFunctionLikeKind(kind) { - switch (kind) { - case 173 /* MethodSignature */: - case 179 /* CallSignature */: - case 323 /* JSDocSignature */: - case 180 /* ConstructSignature */: - case 181 /* IndexSignature */: - case 184 /* FunctionType */: - case 317 /* JSDocFunctionType */: - case 185 /* ConstructorType */: - return true; - default: - return isFunctionLikeDeclarationKind(kind); - } -} -function isFunctionOrModuleBlock(node) { - return isSourceFile(node) || isModuleBlock(node) || isBlock(node) && isFunctionLike(node.parent); -} -function isClassElement(node) { - const kind = node.kind; - return kind === 176 /* Constructor */ || kind === 172 /* PropertyDeclaration */ || kind === 174 /* MethodDeclaration */ || kind === 177 /* GetAccessor */ || kind === 178 /* SetAccessor */ || kind === 181 /* IndexSignature */ || kind === 175 /* ClassStaticBlockDeclaration */ || kind === 240 /* SemicolonClassElement */; -} -function isClassLike(node) { - return node && (node.kind === 263 /* ClassDeclaration */ || node.kind === 231 /* ClassExpression */); -} -function isAccessor(node) { - return node && (node.kind === 177 /* GetAccessor */ || node.kind === 178 /* SetAccessor */); -} -function isAutoAccessorPropertyDeclaration(node) { - return isPropertyDeclaration(node) && hasAccessorModifier(node); -} -function isClassInstanceProperty(node) { - if (isInJSFile(node) && isExpandoPropertyDeclaration(node)) { - return (!isBindableStaticAccessExpression(node) || !isPrototypeAccess(node.expression)) && !isBindableStaticNameExpression( - node, - /*excludeThisKeyword*/ - true - ); - } - return node.parent && isClassLike(node.parent) && isPropertyDeclaration(node) && !hasAccessorModifier(node); -} -function isMethodOrAccessor(node) { - switch (node.kind) { - case 174 /* MethodDeclaration */: - case 177 /* GetAccessor */: - case 178 /* SetAccessor */: - return true; - default: - return false; - } -} -function isModifierLike(node) { - return isModifier(node) || isDecorator(node); -} -function isTypeElement(node) { - const kind = node.kind; - return kind === 180 /* ConstructSignature */ || kind === 179 /* CallSignature */ || kind === 171 /* PropertySignature */ || kind === 173 /* MethodSignature */ || kind === 181 /* IndexSignature */ || kind === 177 /* GetAccessor */ || kind === 178 /* SetAccessor */; -} -function isObjectLiteralElementLike(node) { - const kind = node.kind; - return kind === 303 /* PropertyAssignment */ || kind === 304 /* ShorthandPropertyAssignment */ || kind === 305 /* SpreadAssignment */ || kind === 174 /* MethodDeclaration */ || kind === 177 /* GetAccessor */ || kind === 178 /* SetAccessor */; -} -function isTypeNode(node) { - return isTypeNodeKind(node.kind); -} -function isFunctionOrConstructorTypeNode(node) { - switch (node.kind) { - case 184 /* FunctionType */: - case 185 /* ConstructorType */: - return true; - } - return false; -} -function isBindingPattern(node) { - if (node) { - const kind = node.kind; - return kind === 207 /* ArrayBindingPattern */ || kind === 206 /* ObjectBindingPattern */; - } - return false; -} -function isAssignmentPattern(node) { - const kind = node.kind; - return kind === 209 /* ArrayLiteralExpression */ || kind === 210 /* ObjectLiteralExpression */; -} -function isArrayBindingElement(node) { - const kind = node.kind; - return kind === 208 /* BindingElement */ || kind === 232 /* OmittedExpression */; -} -function isDeclarationBindingElement(bindingElement) { - switch (bindingElement.kind) { - case 260 /* VariableDeclaration */: - case 169 /* Parameter */: - case 208 /* BindingElement */: - return true; - } - return false; -} -function isBindingOrAssignmentElement(node) { - return isVariableDeclaration(node) || isParameter(node) || isObjectBindingOrAssignmentElement(node) || isArrayBindingOrAssignmentElement(node); -} -function isBindingOrAssignmentPattern(node) { - return isObjectBindingOrAssignmentPattern(node) || isArrayBindingOrAssignmentPattern(node); -} -function isObjectBindingOrAssignmentPattern(node) { - switch (node.kind) { - case 206 /* ObjectBindingPattern */: - case 210 /* ObjectLiteralExpression */: - return true; - } - return false; -} -function isObjectBindingOrAssignmentElement(node) { - switch (node.kind) { - case 208 /* BindingElement */: - case 303 /* PropertyAssignment */: - case 304 /* ShorthandPropertyAssignment */: - case 305 /* SpreadAssignment */: - return true; - } - return false; -} -function isArrayBindingOrAssignmentPattern(node) { - switch (node.kind) { - case 207 /* ArrayBindingPattern */: - case 209 /* ArrayLiteralExpression */: - return true; - } - return false; -} -function isArrayBindingOrAssignmentElement(node) { - switch (node.kind) { - case 208 /* BindingElement */: - case 232 /* OmittedExpression */: - case 230 /* SpreadElement */: - case 209 /* ArrayLiteralExpression */: - case 210 /* ObjectLiteralExpression */: - case 80 /* Identifier */: - case 211 /* PropertyAccessExpression */: - case 212 /* ElementAccessExpression */: - return true; - } - return isAssignmentExpression( - node, - /*excludeCompoundAssignment*/ - true - ); -} -function isPropertyAccessOrQualifiedNameOrImportTypeNode(node) { - const kind = node.kind; - return kind === 211 /* PropertyAccessExpression */ || kind === 166 /* QualifiedName */ || kind === 205 /* ImportType */; -} -function isPropertyAccessOrQualifiedName(node) { - const kind = node.kind; - return kind === 211 /* PropertyAccessExpression */ || kind === 166 /* QualifiedName */; -} -function isCallLikeOrFunctionLikeExpression(node) { - return isCallLikeExpression(node) || isFunctionExpressionOrArrowFunction(node); -} -function isCallLikeExpression(node) { - switch (node.kind) { - case 286 /* JsxOpeningElement */: - case 285 /* JsxSelfClosingElement */: - case 213 /* CallExpression */: - case 214 /* NewExpression */: - case 215 /* TaggedTemplateExpression */: - case 170 /* Decorator */: - return true; - default: - return false; - } -} -function isCallOrNewExpression(node) { - return node.kind === 213 /* CallExpression */ || node.kind === 214 /* NewExpression */; -} -function isTemplateLiteral(node) { - const kind = node.kind; - return kind === 228 /* TemplateExpression */ || kind === 15 /* NoSubstitutionTemplateLiteral */; -} -function isLeftHandSideExpression(node) { - return isLeftHandSideExpressionKind(skipPartiallyEmittedExpressions(node).kind); -} -function isLeftHandSideExpressionKind(kind) { - switch (kind) { - case 211 /* PropertyAccessExpression */: - case 212 /* ElementAccessExpression */: - case 214 /* NewExpression */: - case 213 /* CallExpression */: - case 284 /* JsxElement */: - case 285 /* JsxSelfClosingElement */: - case 288 /* JsxFragment */: - case 215 /* TaggedTemplateExpression */: - case 209 /* ArrayLiteralExpression */: - case 217 /* ParenthesizedExpression */: - case 210 /* ObjectLiteralExpression */: - case 231 /* ClassExpression */: - case 218 /* FunctionExpression */: - case 80 /* Identifier */: - case 81 /* PrivateIdentifier */: - case 14 /* RegularExpressionLiteral */: - case 9 /* NumericLiteral */: - case 10 /* BigIntLiteral */: - case 11 /* StringLiteral */: - case 15 /* NoSubstitutionTemplateLiteral */: - case 228 /* TemplateExpression */: - case 97 /* FalseKeyword */: - case 106 /* NullKeyword */: - case 110 /* ThisKeyword */: - case 112 /* TrueKeyword */: - case 108 /* SuperKeyword */: - case 235 /* NonNullExpression */: - case 233 /* ExpressionWithTypeArguments */: - case 236 /* MetaProperty */: - case 102 /* ImportKeyword */: - case 282 /* MissingDeclaration */: - return true; - default: - return false; - } -} -function isUnaryExpression(node) { - return isUnaryExpressionKind(skipPartiallyEmittedExpressions(node).kind); -} -function isUnaryExpressionKind(kind) { - switch (kind) { - case 224 /* PrefixUnaryExpression */: - case 225 /* PostfixUnaryExpression */: - case 220 /* DeleteExpression */: - case 221 /* TypeOfExpression */: - case 222 /* VoidExpression */: - case 223 /* AwaitExpression */: - case 216 /* TypeAssertionExpression */: - return true; - default: - return isLeftHandSideExpressionKind(kind); - } -} -function isLiteralTypeLiteral(node) { - switch (node.kind) { - case 106 /* NullKeyword */: - case 112 /* TrueKeyword */: - case 97 /* FalseKeyword */: - case 224 /* PrefixUnaryExpression */: - return true; - default: - return isLiteralExpression(node); - } -} -function isExpression(node) { - return isExpressionKind(skipPartiallyEmittedExpressions(node).kind); -} -function isExpressionKind(kind) { - switch (kind) { - case 227 /* ConditionalExpression */: - case 229 /* YieldExpression */: - case 219 /* ArrowFunction */: - case 226 /* BinaryExpression */: - case 230 /* SpreadElement */: - case 234 /* AsExpression */: - case 232 /* OmittedExpression */: - case 355 /* CommaListExpression */: - case 354 /* PartiallyEmittedExpression */: - case 238 /* SatisfiesExpression */: - return true; - default: - return isUnaryExpressionKind(kind); - } -} -function isAssertionExpression(node) { - const kind = node.kind; - return kind === 216 /* TypeAssertionExpression */ || kind === 234 /* AsExpression */; -} -function isIterationStatement(node, lookInLabeledStatements) { - switch (node.kind) { - case 248 /* ForStatement */: - case 249 /* ForInStatement */: - case 250 /* ForOfStatement */: - case 246 /* DoStatement */: - case 247 /* WhileStatement */: - return true; - case 256 /* LabeledStatement */: - return lookInLabeledStatements && isIterationStatement(node.statement, lookInLabeledStatements); - } - return false; -} -function isScopeMarker(node) { - return isExportAssignment(node) || isExportDeclaration(node); -} -function hasScopeMarker(statements) { - return some(statements, isScopeMarker); -} -function needsScopeMarker(result) { - return !isAnyImportOrReExport(result) && !isExportAssignment(result) && !hasSyntacticModifier(result, 32 /* Export */) && !isAmbientModule(result); -} -function isExternalModuleIndicator(result) { - return isAnyImportOrReExport(result) || isExportAssignment(result) || hasSyntacticModifier(result, 32 /* Export */); -} -function isForInOrOfStatement(node) { - return node.kind === 249 /* ForInStatement */ || node.kind === 250 /* ForOfStatement */; -} -function isConciseBody(node) { - return isBlock(node) || isExpression(node); -} -function isForInitializer(node) { - return isVariableDeclarationList(node) || isExpression(node); -} -function isModuleBody(node) { - const kind = node.kind; - return kind === 268 /* ModuleBlock */ || kind === 267 /* ModuleDeclaration */ || kind === 80 /* Identifier */; -} -function isNamedImportBindings(node) { - const kind = node.kind; - return kind === 275 /* NamedImports */ || kind === 274 /* NamespaceImport */; -} -function isModuleOrEnumDeclaration(node) { - return node.kind === 267 /* ModuleDeclaration */ || node.kind === 266 /* EnumDeclaration */; -} -function canHaveSymbol(node) { - switch (node.kind) { - case 219 /* ArrowFunction */: - case 226 /* BinaryExpression */: - case 208 /* BindingElement */: - case 213 /* CallExpression */: - case 179 /* CallSignature */: - case 263 /* ClassDeclaration */: - case 231 /* ClassExpression */: - case 175 /* ClassStaticBlockDeclaration */: - case 176 /* Constructor */: - case 185 /* ConstructorType */: - case 180 /* ConstructSignature */: - case 212 /* ElementAccessExpression */: - case 266 /* EnumDeclaration */: - case 306 /* EnumMember */: - case 277 /* ExportAssignment */: - case 278 /* ExportDeclaration */: - case 281 /* ExportSpecifier */: - case 262 /* FunctionDeclaration */: - case 218 /* FunctionExpression */: - case 184 /* FunctionType */: - case 177 /* GetAccessor */: - case 80 /* Identifier */: - case 273 /* ImportClause */: - case 271 /* ImportEqualsDeclaration */: - case 276 /* ImportSpecifier */: - case 181 /* IndexSignature */: - case 264 /* InterfaceDeclaration */: - case 338 /* JSDocCallbackTag */: - case 340 /* JSDocEnumTag */: - case 317 /* JSDocFunctionType */: - case 341 /* JSDocParameterTag */: - case 348 /* JSDocPropertyTag */: - case 323 /* JSDocSignature */: - case 346 /* JSDocTypedefTag */: - case 322 /* JSDocTypeLiteral */: - case 291 /* JsxAttribute */: - case 292 /* JsxAttributes */: - case 293 /* JsxSpreadAttribute */: - case 200 /* MappedType */: - case 174 /* MethodDeclaration */: - case 173 /* MethodSignature */: - case 267 /* ModuleDeclaration */: - case 202 /* NamedTupleMember */: - case 280 /* NamespaceExport */: - case 270 /* NamespaceExportDeclaration */: - case 274 /* NamespaceImport */: - case 214 /* NewExpression */: - case 15 /* NoSubstitutionTemplateLiteral */: - case 9 /* NumericLiteral */: - case 210 /* ObjectLiteralExpression */: - case 169 /* Parameter */: - case 211 /* PropertyAccessExpression */: - case 303 /* PropertyAssignment */: - case 172 /* PropertyDeclaration */: - case 171 /* PropertySignature */: - case 178 /* SetAccessor */: - case 304 /* ShorthandPropertyAssignment */: - case 307 /* SourceFile */: - case 305 /* SpreadAssignment */: - case 11 /* StringLiteral */: - case 265 /* TypeAliasDeclaration */: - case 187 /* TypeLiteral */: - case 168 /* TypeParameter */: - case 260 /* VariableDeclaration */: - return true; - default: - return false; - } -} -function canHaveLocals(node) { - switch (node.kind) { - case 219 /* ArrowFunction */: - case 241 /* Block */: - case 179 /* CallSignature */: - case 269 /* CaseBlock */: - case 299 /* CatchClause */: - case 175 /* ClassStaticBlockDeclaration */: - case 194 /* ConditionalType */: - case 176 /* Constructor */: - case 185 /* ConstructorType */: - case 180 /* ConstructSignature */: - case 248 /* ForStatement */: - case 249 /* ForInStatement */: - case 250 /* ForOfStatement */: - case 262 /* FunctionDeclaration */: - case 218 /* FunctionExpression */: - case 184 /* FunctionType */: - case 177 /* GetAccessor */: - case 181 /* IndexSignature */: - case 338 /* JSDocCallbackTag */: - case 340 /* JSDocEnumTag */: - case 317 /* JSDocFunctionType */: - case 323 /* JSDocSignature */: - case 346 /* JSDocTypedefTag */: - case 200 /* MappedType */: - case 174 /* MethodDeclaration */: - case 173 /* MethodSignature */: - case 267 /* ModuleDeclaration */: - case 178 /* SetAccessor */: - case 307 /* SourceFile */: - case 265 /* TypeAliasDeclaration */: - return true; - default: - return false; - } -} -function isDeclarationKind(kind) { - return kind === 219 /* ArrowFunction */ || kind === 208 /* BindingElement */ || kind === 263 /* ClassDeclaration */ || kind === 231 /* ClassExpression */ || kind === 175 /* ClassStaticBlockDeclaration */ || kind === 176 /* Constructor */ || kind === 266 /* EnumDeclaration */ || kind === 306 /* EnumMember */ || kind === 281 /* ExportSpecifier */ || kind === 262 /* FunctionDeclaration */ || kind === 218 /* FunctionExpression */ || kind === 177 /* GetAccessor */ || kind === 273 /* ImportClause */ || kind === 271 /* ImportEqualsDeclaration */ || kind === 276 /* ImportSpecifier */ || kind === 264 /* InterfaceDeclaration */ || kind === 291 /* JsxAttribute */ || kind === 174 /* MethodDeclaration */ || kind === 173 /* MethodSignature */ || kind === 267 /* ModuleDeclaration */ || kind === 270 /* NamespaceExportDeclaration */ || kind === 274 /* NamespaceImport */ || kind === 280 /* NamespaceExport */ || kind === 169 /* Parameter */ || kind === 303 /* PropertyAssignment */ || kind === 172 /* PropertyDeclaration */ || kind === 171 /* PropertySignature */ || kind === 178 /* SetAccessor */ || kind === 304 /* ShorthandPropertyAssignment */ || kind === 265 /* TypeAliasDeclaration */ || kind === 168 /* TypeParameter */ || kind === 260 /* VariableDeclaration */ || kind === 346 /* JSDocTypedefTag */ || kind === 338 /* JSDocCallbackTag */ || kind === 348 /* JSDocPropertyTag */ || kind === 202 /* NamedTupleMember */; -} -function isDeclarationStatementKind(kind) { - return kind === 262 /* FunctionDeclaration */ || kind === 282 /* MissingDeclaration */ || kind === 263 /* ClassDeclaration */ || kind === 264 /* InterfaceDeclaration */ || kind === 265 /* TypeAliasDeclaration */ || kind === 266 /* EnumDeclaration */ || kind === 267 /* ModuleDeclaration */ || kind === 272 /* ImportDeclaration */ || kind === 271 /* ImportEqualsDeclaration */ || kind === 278 /* ExportDeclaration */ || kind === 277 /* ExportAssignment */ || kind === 270 /* NamespaceExportDeclaration */; -} -function isStatementKindButNotDeclarationKind(kind) { - return kind === 252 /* BreakStatement */ || kind === 251 /* ContinueStatement */ || kind === 259 /* DebuggerStatement */ || kind === 246 /* DoStatement */ || kind === 244 /* ExpressionStatement */ || kind === 242 /* EmptyStatement */ || kind === 249 /* ForInStatement */ || kind === 250 /* ForOfStatement */ || kind === 248 /* ForStatement */ || kind === 245 /* IfStatement */ || kind === 256 /* LabeledStatement */ || kind === 253 /* ReturnStatement */ || kind === 255 /* SwitchStatement */ || kind === 257 /* ThrowStatement */ || kind === 258 /* TryStatement */ || kind === 243 /* VariableStatement */ || kind === 247 /* WhileStatement */ || kind === 254 /* WithStatement */ || kind === 353 /* NotEmittedStatement */; -} -function isDeclaration(node) { - if (node.kind === 168 /* TypeParameter */) { - return node.parent && node.parent.kind !== 345 /* JSDocTemplateTag */ || isInJSFile(node); - } - return isDeclarationKind(node.kind); -} -function isDeclarationStatement(node) { - return isDeclarationStatementKind(node.kind); -} -function isStatementButNotDeclaration(node) { - return isStatementKindButNotDeclarationKind(node.kind); -} -function isStatement(node) { - const kind = node.kind; - return isStatementKindButNotDeclarationKind(kind) || isDeclarationStatementKind(kind) || isBlockStatement(node); -} -function isBlockStatement(node) { - if (node.kind !== 241 /* Block */) return false; - if (node.parent !== void 0) { - if (node.parent.kind === 258 /* TryStatement */ || node.parent.kind === 299 /* CatchClause */) { - return false; - } - } - return !isFunctionBlock(node); -} -function isStatementOrBlock(node) { - const kind = node.kind; - return isStatementKindButNotDeclarationKind(kind) || isDeclarationStatementKind(kind) || kind === 241 /* Block */; -} -function isModuleReference(node) { - const kind = node.kind; - return kind === 283 /* ExternalModuleReference */ || kind === 166 /* QualifiedName */ || kind === 80 /* Identifier */; -} -function isJsxTagNameExpression(node) { - const kind = node.kind; - return kind === 110 /* ThisKeyword */ || kind === 80 /* Identifier */ || kind === 211 /* PropertyAccessExpression */ || kind === 295 /* JsxNamespacedName */; -} -function isJsxChild(node) { - const kind = node.kind; - return kind === 284 /* JsxElement */ || kind === 294 /* JsxExpression */ || kind === 285 /* JsxSelfClosingElement */ || kind === 12 /* JsxText */ || kind === 288 /* JsxFragment */; -} -function isJsxAttributeLike(node) { - const kind = node.kind; - return kind === 291 /* JsxAttribute */ || kind === 293 /* JsxSpreadAttribute */; -} -function isStringLiteralOrJsxExpression(node) { - const kind = node.kind; - return kind === 11 /* StringLiteral */ || kind === 294 /* JsxExpression */; -} -function isJsxOpeningLikeElement(node) { - const kind = node.kind; - return kind === 286 /* JsxOpeningElement */ || kind === 285 /* JsxSelfClosingElement */; -} -function isCaseOrDefaultClause(node) { - const kind = node.kind; - return kind === 296 /* CaseClause */ || kind === 297 /* DefaultClause */; -} -function isJSDocNode(node) { - return node.kind >= 309 /* FirstJSDocNode */ && node.kind <= 351 /* LastJSDocNode */; -} -function isJSDocTag(node) { - return node.kind >= 327 /* FirstJSDocTagNode */ && node.kind <= 351 /* LastJSDocTagNode */; -} -function isSetAccessor(node) { - return node.kind === 178 /* SetAccessor */; -} -function isGetAccessor(node) { - return node.kind === 177 /* GetAccessor */; -} -function hasJSDocNodes(node) { - if (!canHaveJSDoc(node)) return false; - const { jsDoc } = node; - return !!jsDoc && jsDoc.length > 0; -} -function hasType(node) { - return !!node.type; -} -function hasInitializer(node) { - return !!node.initializer; -} -function hasOnlyExpressionInitializer(node) { - switch (node.kind) { - case 260 /* VariableDeclaration */: - case 169 /* Parameter */: - case 208 /* BindingElement */: - case 172 /* PropertyDeclaration */: - case 303 /* PropertyAssignment */: - case 306 /* EnumMember */: - return true; - default: - return false; - } -} -function isTypeReferenceType(node) { - return node.kind === 183 /* TypeReference */ || node.kind === 233 /* ExpressionWithTypeArguments */; -} -var MAX_SMI_X86 = 1073741823; -function guessIndentation(lines) { - let indentation = MAX_SMI_X86; - for (const line of lines) { - if (!line.length) { - continue; - } - let i = 0; - for (; i < line.length && i < indentation; i++) { - if (!isWhiteSpaceLike(line.charCodeAt(i))) { - break; - } - } - if (i < indentation) { - indentation = i; - } - if (indentation === 0) { - return 0; - } - } - return indentation === MAX_SMI_X86 ? void 0 : indentation; -} -function isStringLiteralLike(node) { - return node.kind === 11 /* StringLiteral */ || node.kind === 15 /* NoSubstitutionTemplateLiteral */; -} -function isJSDocLinkLike(node) { - return node.kind === 324 /* JSDocLink */ || node.kind === 325 /* JSDocLinkCode */ || node.kind === 326 /* JSDocLinkPlain */; -} -function hasRestParameter(s) { - const last2 = lastOrUndefined(s.parameters); - return !!last2 && isRestParameter(last2); -} -function isRestParameter(node) { - const type = isJSDocParameterTag(node) ? node.typeExpression && node.typeExpression.type : node.type; - return node.dotDotDotToken !== void 0 || !!type && type.kind === 318 /* JSDocVariadicType */; -} -function hasInternalAnnotation(range, sourceFile) { - const comment = sourceFile.text.substring(range.pos, range.end); - return comment.includes("@internal"); -} -function isInternalDeclaration(node, sourceFile) { - sourceFile ?? (sourceFile = getSourceFileOfNode(node)); - const parseTreeNode = getParseTreeNode(node); - if (parseTreeNode && parseTreeNode.kind === 169 /* Parameter */) { - const paramIdx = parseTreeNode.parent.parameters.indexOf(parseTreeNode); - const previousSibling = paramIdx > 0 ? parseTreeNode.parent.parameters[paramIdx - 1] : void 0; - const text = sourceFile.text; - const commentRanges = previousSibling ? concatenate( - // to handle - // ... parameters, /** @internal */ - // public param: string - getTrailingCommentRanges(text, skipTrivia( - text, - previousSibling.end + 1, - /*stopAfterLineBreak*/ - false, - /*stopAtComments*/ - true - )), - getLeadingCommentRanges(text, node.pos) - ) : getTrailingCommentRanges(text, skipTrivia( - text, - node.pos, - /*stopAfterLineBreak*/ - false, - /*stopAtComments*/ - true - )); - return some(commentRanges) && hasInternalAnnotation(last(commentRanges), sourceFile); - } - const leadingCommentRanges = parseTreeNode && getLeadingCommentRangesOfNode(parseTreeNode, sourceFile); - return !!forEach(leadingCommentRanges, (range) => { - return hasInternalAnnotation(range, sourceFile); - }); -} - -// src/compiler/utilities.ts -var resolvingEmptyArray = []; -var externalHelpersModuleNameText = "tslib"; -var defaultMaximumTruncationLength = 160; -var noTruncationMaximumTruncationLength = 1e6; -function getDeclarationOfKind(symbol, kind) { - const declarations = symbol.declarations; - if (declarations) { - for (const declaration of declarations) { - if (declaration.kind === kind) { - return declaration; - } - } - } - return void 0; -} -function getDeclarationsOfKind(symbol, kind) { - return filter(symbol.declarations || emptyArray, (d) => d.kind === kind); -} -function createSymbolTable(symbols) { - const result = /* @__PURE__ */ new Map(); - if (symbols) { - for (const symbol of symbols) { - result.set(symbol.escapedName, symbol); - } - } - return result; -} -function isTransientSymbol(symbol) { - return (symbol.flags & 33554432 /* Transient */) !== 0; -} -function isExternalModuleSymbol(moduleSymbol) { - return !!(moduleSymbol.flags & 1536 /* Module */) && moduleSymbol.escapedName.charCodeAt(0) === 34 /* doubleQuote */; -} -var stringWriter = createSingleLineStringWriter(); -function createSingleLineStringWriter() { - var str = ""; - const writeText = (text) => str += text; - return { - getText: () => str, - write: writeText, - rawWrite: writeText, - writeKeyword: writeText, - writeOperator: writeText, - writePunctuation: writeText, - writeSpace: writeText, - writeStringLiteral: writeText, - writeLiteral: writeText, - writeParameter: writeText, - writeProperty: writeText, - writeSymbol: (s, _) => writeText(s), - writeTrailingSemicolon: writeText, - writeComment: writeText, - getTextPos: () => str.length, - getLine: () => 0, - getColumn: () => 0, - getIndent: () => 0, - isAtStartOfLine: () => false, - hasTrailingComment: () => false, - hasTrailingWhitespace: () => !!str.length && isWhiteSpaceLike(str.charCodeAt(str.length - 1)), - // Completely ignore indentation for string writers. And map newlines to - // a single space. - writeLine: () => str += " ", - increaseIndent: noop, - decreaseIndent: noop, - clear: () => str = "" - }; -} -function changesAffectModuleResolution(oldOptions, newOptions) { - return oldOptions.configFilePath !== newOptions.configFilePath || optionsHaveModuleResolutionChanges(oldOptions, newOptions); -} -function optionsHaveModuleResolutionChanges(oldOptions, newOptions) { - return optionsHaveChanges(oldOptions, newOptions, moduleResolutionOptionDeclarations); -} -function changesAffectingProgramStructure(oldOptions, newOptions) { - return optionsHaveChanges(oldOptions, newOptions, optionsAffectingProgramStructure); -} -function optionsHaveChanges(oldOptions, newOptions, optionDeclarations2) { - return oldOptions !== newOptions && optionDeclarations2.some((o) => !isJsonEqual(getCompilerOptionValue(oldOptions, o), getCompilerOptionValue(newOptions, o))); -} -function forEachEntry(map2, callback) { - const iterator = map2.entries(); - for (const [key, value] of iterator) { - const result = callback(value, key); - if (result) { - return result; - } - } - return void 0; -} -function forEachKey(map2, callback) { - const iterator = map2.keys(); - for (const key of iterator) { - const result = callback(key); - if (result) { - return result; - } - } - return void 0; -} -function copyEntries(source, target) { - source.forEach((value, key) => { - target.set(key, value); - }); -} -function usingSingleLineStringWriter(action) { - const oldString = stringWriter.getText(); - try { - action(stringWriter); - return stringWriter.getText(); - } finally { - stringWriter.clear(); - stringWriter.writeKeyword(oldString); - } -} -function getFullWidth(node) { - return node.end - node.pos; -} -function projectReferenceIsEqualTo(oldRef, newRef) { - return oldRef.path === newRef.path && !oldRef.prepend === !newRef.prepend && !oldRef.circular === !newRef.circular; -} -function moduleResolutionIsEqualTo(oldResolution, newResolution) { - return oldResolution === newResolution || oldResolution.resolvedModule === newResolution.resolvedModule || !!oldResolution.resolvedModule && !!newResolution.resolvedModule && oldResolution.resolvedModule.isExternalLibraryImport === newResolution.resolvedModule.isExternalLibraryImport && oldResolution.resolvedModule.extension === newResolution.resolvedModule.extension && oldResolution.resolvedModule.resolvedFileName === newResolution.resolvedModule.resolvedFileName && oldResolution.resolvedModule.originalPath === newResolution.resolvedModule.originalPath && packageIdIsEqual(oldResolution.resolvedModule.packageId, newResolution.resolvedModule.packageId) && oldResolution.alternateResult === newResolution.alternateResult; -} -function getResolvedModuleFromResolution(resolution) { - return resolution.resolvedModule; -} -function getResolvedTypeReferenceDirectiveFromResolution(resolution) { - return resolution.resolvedTypeReferenceDirective; -} -function createModuleNotFoundChain(sourceFile, host, moduleReference, mode, packageName) { - var _a; - const alternateResult = (_a = host.getResolvedModule(sourceFile, moduleReference, mode)) == null ? void 0 : _a.alternateResult; - const alternateResultMessage = alternateResult && (getEmitModuleResolutionKind(host.getCompilerOptions()) === 2 /* Node10 */ ? [Diagnostics.There_are_types_at_0_but_this_result_could_not_be_resolved_under_your_current_moduleResolution_setting_Consider_updating_to_node16_nodenext_or_bundler, [alternateResult]] : [ - Diagnostics.There_are_types_at_0_but_this_result_could_not_be_resolved_when_respecting_package_json_exports_The_1_library_may_need_to_update_its_package_json_or_typings, - [alternateResult, alternateResult.includes(nodeModulesPathPart + "@types/") ? `@types/${mangleScopedPackageName(packageName)}` : packageName] - ]); - const result = alternateResultMessage ? chainDiagnosticMessages( - /*details*/ - void 0, - alternateResultMessage[0], - ...alternateResultMessage[1] - ) : host.typesPackageExists(packageName) ? chainDiagnosticMessages( - /*details*/ - void 0, - 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, - packageName, - mangleScopedPackageName(packageName) - ) : host.packageBundlesTypes(packageName) ? chainDiagnosticMessages( - /*details*/ - void 0, - Diagnostics.If_the_0_package_actually_exposes_this_module_try_adding_a_new_declaration_d_ts_file_containing_declare_module_1, - packageName, - moduleReference - ) : chainDiagnosticMessages( - /*details*/ - void 0, - Diagnostics.Try_npm_i_save_dev_types_Slash_1_if_it_exists_or_add_a_new_declaration_d_ts_file_containing_declare_module_0, - moduleReference, - mangleScopedPackageName(packageName) - ); - if (result) result.repopulateInfo = () => ({ moduleReference, mode, packageName: packageName === moduleReference ? void 0 : packageName }); - return result; -} -function createModeMismatchDetails(currentSourceFile) { - const ext = tryGetExtensionFromPath2(currentSourceFile.fileName); - const scope = currentSourceFile.packageJsonScope; - const targetExt = ext === ".ts" /* Ts */ ? ".mts" /* Mts */ : ext === ".js" /* Js */ ? ".mjs" /* Mjs */ : void 0; - const result = scope && !scope.contents.packageJsonContent.type ? targetExt ? chainDiagnosticMessages( - /*details*/ - void 0, - Diagnostics.To_convert_this_file_to_an_ECMAScript_module_change_its_file_extension_to_0_or_add_the_field_type_Colon_module_to_1, - targetExt, - combinePaths(scope.packageDirectory, "package.json") - ) : chainDiagnosticMessages( - /*details*/ - void 0, - Diagnostics.To_convert_this_file_to_an_ECMAScript_module_add_the_field_type_Colon_module_to_0, - combinePaths(scope.packageDirectory, "package.json") - ) : targetExt ? chainDiagnosticMessages( - /*details*/ - void 0, - Diagnostics.To_convert_this_file_to_an_ECMAScript_module_change_its_file_extension_to_0_or_create_a_local_package_json_file_with_type_Colon_module, - targetExt - ) : chainDiagnosticMessages( - /*details*/ - void 0, - Diagnostics.To_convert_this_file_to_an_ECMAScript_module_create_a_local_package_json_file_with_type_Colon_module - ); - result.repopulateInfo = () => true; - return result; -} -function packageIdIsEqual(a, b) { - return a === b || !!a && !!b && a.name === b.name && a.subModuleName === b.subModuleName && a.version === b.version && a.peerDependencies === b.peerDependencies; -} -function packageIdToPackageName({ name, subModuleName }) { - return subModuleName ? `${name}/${subModuleName}` : name; -} -function packageIdToString(packageId) { - return `${packageIdToPackageName(packageId)}@${packageId.version}${packageId.peerDependencies ?? ""}`; -} -function typeDirectiveIsEqualTo(oldResolution, newResolution) { - return oldResolution === newResolution || oldResolution.resolvedTypeReferenceDirective === newResolution.resolvedTypeReferenceDirective || !!oldResolution.resolvedTypeReferenceDirective && !!newResolution.resolvedTypeReferenceDirective && oldResolution.resolvedTypeReferenceDirective.resolvedFileName === newResolution.resolvedTypeReferenceDirective.resolvedFileName && !!oldResolution.resolvedTypeReferenceDirective.primary === !!newResolution.resolvedTypeReferenceDirective.primary && oldResolution.resolvedTypeReferenceDirective.originalPath === newResolution.resolvedTypeReferenceDirective.originalPath; -} -function hasChangesInResolutions(names, newResolutions, getOldResolution, comparer) { - Debug.assert(names.length === newResolutions.length); - for (let i = 0; i < names.length; i++) { - const newResolution = newResolutions[i]; - const entry = names[i]; - const oldResolution = getOldResolution(entry); - const changed = oldResolution ? !newResolution || !comparer(oldResolution, newResolution) : newResolution; - if (changed) { - return true; - } - } - return false; -} -function containsParseError(node) { - aggregateChildData(node); - return (node.flags & 1048576 /* ThisNodeOrAnySubNodesHasError */) !== 0; -} -function aggregateChildData(node) { - if (!(node.flags & 2097152 /* HasAggregatedChildData */)) { - const thisNodeOrAnySubNodesHasError = (node.flags & 262144 /* ThisNodeHasError */) !== 0 || forEachChild(node, containsParseError); - if (thisNodeOrAnySubNodesHasError) { - node.flags |= 1048576 /* ThisNodeOrAnySubNodesHasError */; - } - node.flags |= 2097152 /* HasAggregatedChildData */; - } -} -function getSourceFileOfNode(node) { - while (node && node.kind !== 307 /* SourceFile */) { - node = node.parent; - } - return node; -} -function getSourceFileOfModule(module2) { - return getSourceFileOfNode(module2.valueDeclaration || getNonAugmentationDeclaration(module2)); -} -function isPlainJsFile(file, checkJs) { - return !!file && (file.scriptKind === 1 /* JS */ || file.scriptKind === 2 /* JSX */) && !file.checkJsDirective && checkJs === void 0; -} -function isStatementWithLocals(node) { - switch (node.kind) { - case 241 /* Block */: - case 269 /* CaseBlock */: - case 248 /* ForStatement */: - case 249 /* ForInStatement */: - case 250 /* ForOfStatement */: - return true; - } - return false; -} -function getEndLinePosition(line, sourceFile) { - Debug.assert(line >= 0); - const lineStarts = getLineStarts(sourceFile); - const lineIndex = line; - const sourceText = sourceFile.text; - if (lineIndex + 1 === lineStarts.length) { - return sourceText.length - 1; - } else { - const start = lineStarts[lineIndex]; - let pos = lineStarts[lineIndex + 1] - 1; - Debug.assert(isLineBreak(sourceText.charCodeAt(pos))); - while (start <= pos && isLineBreak(sourceText.charCodeAt(pos))) { - pos--; - } - return pos; - } -} -function isFileLevelUniqueName(sourceFile, name, hasGlobalName) { - return !(hasGlobalName && hasGlobalName(name)) && !sourceFile.identifiers.has(name); -} -function nodeIsMissing(node) { - if (node === void 0) { - return true; - } - return node.pos === node.end && node.pos >= 0 && node.kind !== 1 /* EndOfFileToken */; -} -function nodeIsPresent(node) { - return !nodeIsMissing(node); -} -function insertStatementsAfterPrologue(to, from, isPrologueDirective2) { - if (from === void 0 || from.length === 0) return to; - let statementIndex = 0; - for (; statementIndex < to.length; ++statementIndex) { - if (!isPrologueDirective2(to[statementIndex])) { - break; - } - } - to.splice(statementIndex, 0, ...from); - return to; -} -function insertStatementAfterPrologue(to, statement, isPrologueDirective2) { - if (statement === void 0) return to; - let statementIndex = 0; - for (; statementIndex < to.length; ++statementIndex) { - if (!isPrologueDirective2(to[statementIndex])) { - break; - } - } - to.splice(statementIndex, 0, statement); - return to; -} -function isAnyPrologueDirective(node) { - return isPrologueDirective(node) || !!(getEmitFlags(node) & 2097152 /* CustomPrologue */); -} -function insertStatementsAfterStandardPrologue(to, from) { - return insertStatementsAfterPrologue(to, from, isPrologueDirective); -} -function insertStatementsAfterCustomPrologue(to, from) { - return insertStatementsAfterPrologue(to, from, isAnyPrologueDirective); -} -function insertStatementAfterCustomPrologue(to, statement) { - return insertStatementAfterPrologue(to, statement, isAnyPrologueDirective); -} -function isRecognizedTripleSlashComment(text, commentPos, commentEnd) { - if (text.charCodeAt(commentPos + 1) === 47 /* slash */ && commentPos + 2 < commentEnd && text.charCodeAt(commentPos + 2) === 47 /* slash */) { - const textSubStr = text.substring(commentPos, commentEnd); - return fullTripleSlashReferencePathRegEx.test(textSubStr) || fullTripleSlashAMDReferencePathRegEx.test(textSubStr) || fullTripleSlashAMDModuleRegEx.test(textSubStr) || fullTripleSlashReferenceTypeReferenceDirectiveRegEx.test(textSubStr) || fullTripleSlashLibReferenceRegEx.test(textSubStr) || defaultLibReferenceRegEx.test(textSubStr) ? true : false; - } - return false; -} -function isPinnedComment(text, start) { - return text.charCodeAt(start + 1) === 42 /* asterisk */ && text.charCodeAt(start + 2) === 33 /* exclamation */; -} -function createCommentDirectivesMap(sourceFile, commentDirectives) { - const directivesByLine = new Map( - commentDirectives.map((commentDirective) => [ - `${getLineAndCharacterOfPosition(sourceFile, commentDirective.range.end).line}`, - commentDirective - ]) - ); - const usedLines = /* @__PURE__ */ new Map(); - return { getUnusedExpectations, markUsed }; - function getUnusedExpectations() { - return arrayFrom(directivesByLine.entries()).filter(([line, directive]) => directive.type === 0 /* ExpectError */ && !usedLines.get(line)).map(([_, directive]) => directive); - } - function markUsed(line) { - if (!directivesByLine.has(`${line}`)) { - return false; - } - usedLines.set(`${line}`, true); - return true; - } -} -function getTokenPosOfNode(node, sourceFile, includeJsDoc) { - if (nodeIsMissing(node)) { - return node.pos; - } - if (isJSDocNode(node) || node.kind === 12 /* JsxText */) { - return skipTrivia( - (sourceFile ?? getSourceFileOfNode(node)).text, - node.pos, - /*stopAfterLineBreak*/ - false, - /*stopAtComments*/ - true - ); - } - if (includeJsDoc && hasJSDocNodes(node)) { - return getTokenPosOfNode(node.jsDoc[0], sourceFile); - } - if (node.kind === 352 /* SyntaxList */) { - sourceFile ?? (sourceFile = getSourceFileOfNode(node)); - const first2 = firstOrUndefined(getNodeChildren(node, sourceFile)); - if (first2) { - return getTokenPosOfNode(first2, sourceFile, includeJsDoc); - } - } - return skipTrivia( - (sourceFile ?? getSourceFileOfNode(node)).text, - node.pos, - /*stopAfterLineBreak*/ - false, - /*stopAtComments*/ - false, - isInJSDoc(node) - ); -} -function getNonModifierTokenPosOfNode(node, sourceFile) { - const lastModifier = !nodeIsMissing(node) && canHaveModifiers(node) && node.modifiers ? last(node.modifiers) : void 0; - if (!lastModifier) { - return getTokenPosOfNode(node, sourceFile); - } - return skipTrivia((sourceFile || getSourceFileOfNode(node)).text, lastModifier.end); -} -function getSourceTextOfNodeFromSourceFile(sourceFile, node, includeTrivia = false) { - return getTextOfNodeFromSourceText(sourceFile.text, node, includeTrivia); -} -function isJSDocTypeExpressionOrChild(node) { - return !!findAncestor(node, isJSDocTypeExpression); -} -function isExportNamespaceAsDefaultDeclaration(node) { - return !!(isExportDeclaration(node) && node.exportClause && isNamespaceExport(node.exportClause) && moduleExportNameIsDefault(node.exportClause.name)); -} -function moduleExportNameTextUnescaped(node) { - return node.kind === 11 /* StringLiteral */ ? node.text : unescapeLeadingUnderscores(node.escapedText); -} -function moduleExportNameTextEscaped(node) { - return node.kind === 11 /* StringLiteral */ ? escapeLeadingUnderscores(node.text) : node.escapedText; -} -function moduleExportNameIsDefault(node) { - return (node.kind === 11 /* StringLiteral */ ? node.text : node.escapedText) === "default" /* Default */; -} -function getTextOfNodeFromSourceText(sourceText, node, includeTrivia = false) { - if (nodeIsMissing(node)) { - return ""; - } - let text = sourceText.substring(includeTrivia ? node.pos : skipTrivia(sourceText, node.pos), node.end); - if (isJSDocTypeExpressionOrChild(node)) { - text = text.split(/\r\n|\n|\r/).map((line) => line.replace(/^\s*\*/, "").trimStart()).join("\n"); - } - return text; -} -function getTextOfNode(node, includeTrivia = false) { - return getSourceTextOfNodeFromSourceFile(getSourceFileOfNode(node), node, includeTrivia); -} -function getPos(range) { - return range.pos; -} -function indexOfNode(nodeArray, node) { - return binarySearch(nodeArray, node, getPos, compareValues); -} -function getEmitFlags(node) { - const emitNode = node.emitNode; - return emitNode && emitNode.flags || 0; -} -function getInternalEmitFlags(node) { - const emitNode = node.emitNode; - return emitNode && emitNode.internalFlags || 0; -} -var getScriptTargetFeatures = /* @__PURE__ */ memoize( - () => new Map(Object.entries({ - Array: new Map(Object.entries({ - es2015: [ - "find", - "findIndex", - "fill", - "copyWithin", - "entries", - "keys", - "values" - ], - es2016: [ - "includes" - ], - es2019: [ - "flat", - "flatMap" - ], - es2022: [ - "at" - ], - es2023: [ - "findLastIndex", - "findLast", - "toReversed", - "toSorted", - "toSpliced", - "with" - ] - })), - Iterator: new Map(Object.entries({ - es2015: emptyArray - })), - AsyncIterator: new Map(Object.entries({ - es2015: emptyArray - })), - Atomics: new Map(Object.entries({ - es2017: emptyArray - })), - SharedArrayBuffer: new Map(Object.entries({ - es2017: emptyArray - })), - AsyncIterable: new Map(Object.entries({ - es2018: emptyArray - })), - AsyncIterableIterator: new Map(Object.entries({ - es2018: emptyArray - })), - AsyncGenerator: new Map(Object.entries({ - es2018: emptyArray - })), - AsyncGeneratorFunction: new Map(Object.entries({ - es2018: emptyArray - })), - RegExp: new Map(Object.entries({ - es2015: [ - "flags", - "sticky", - "unicode" - ], - es2018: [ - "dotAll" - ] - })), - Reflect: new Map(Object.entries({ - es2015: [ - "apply", - "construct", - "defineProperty", - "deleteProperty", - "get", - "getOwnPropertyDescriptor", - "getPrototypeOf", - "has", - "isExtensible", - "ownKeys", - "preventExtensions", - "set", - "setPrototypeOf" - ] - })), - ArrayConstructor: new Map(Object.entries({ - es2015: [ - "from", - "of" - ], - esnext: [ - "fromAsync" - ] - })), - ObjectConstructor: new Map(Object.entries({ - es2015: [ - "assign", - "getOwnPropertySymbols", - "keys", - "is", - "setPrototypeOf" - ], - es2017: [ - "values", - "entries", - "getOwnPropertyDescriptors" - ], - es2019: [ - "fromEntries" - ], - es2022: [ - "hasOwn" - ] - })), - NumberConstructor: new Map(Object.entries({ - es2015: [ - "isFinite", - "isInteger", - "isNaN", - "isSafeInteger", - "parseFloat", - "parseInt" - ] - })), - Math: new Map(Object.entries({ - es2015: [ - "clz32", - "imul", - "sign", - "log10", - "log2", - "log1p", - "expm1", - "cosh", - "sinh", - "tanh", - "acosh", - "asinh", - "atanh", - "hypot", - "trunc", - "fround", - "cbrt" - ] - })), - Map: new Map(Object.entries({ - es2015: [ - "entries", - "keys", - "values" - ] - })), - Set: new Map(Object.entries({ - es2015: [ - "entries", - "keys", - "values" - ] - })), - PromiseConstructor: new Map(Object.entries({ - es2015: [ - "all", - "race", - "reject", - "resolve" - ], - es2020: [ - "allSettled" - ], - es2021: [ - "any" - ] - })), - Symbol: new Map(Object.entries({ - es2015: [ - "for", - "keyFor" - ], - es2019: [ - "description" - ] - })), - WeakMap: new Map(Object.entries({ - es2015: [ - "entries", - "keys", - "values" - ] - })), - WeakSet: new Map(Object.entries({ - es2015: [ - "entries", - "keys", - "values" - ] - })), - String: new Map(Object.entries({ - es2015: [ - "codePointAt", - "includes", - "endsWith", - "normalize", - "repeat", - "startsWith", - "anchor", - "big", - "blink", - "bold", - "fixed", - "fontcolor", - "fontsize", - "italics", - "link", - "small", - "strike", - "sub", - "sup" - ], - es2017: [ - "padStart", - "padEnd" - ], - es2019: [ - "trimStart", - "trimEnd", - "trimLeft", - "trimRight" - ], - es2020: [ - "matchAll" - ], - es2021: [ - "replaceAll" - ], - es2022: [ - "at" - ], - esnext: [ - "isWellFormed", - "toWellFormed" - ] - })), - StringConstructor: new Map(Object.entries({ - es2015: [ - "fromCodePoint", - "raw" - ] - })), - DateTimeFormat: new Map(Object.entries({ - es2017: [ - "formatToParts" - ] - })), - Promise: new Map(Object.entries({ - es2015: emptyArray, - es2018: [ - "finally" - ] - })), - RegExpMatchArray: new Map(Object.entries({ - es2018: [ - "groups" - ] - })), - RegExpExecArray: new Map(Object.entries({ - es2018: [ - "groups" - ] - })), - Intl: new Map(Object.entries({ - es2018: [ - "PluralRules" - ] - })), - NumberFormat: new Map(Object.entries({ - es2018: [ - "formatToParts" - ] - })), - SymbolConstructor: new Map(Object.entries({ - es2020: [ - "matchAll" - ] - })), - DataView: new Map(Object.entries({ - es2020: [ - "setBigInt64", - "setBigUint64", - "getBigInt64", - "getBigUint64" - ] - })), - BigInt: new Map(Object.entries({ - es2020: emptyArray - })), - RelativeTimeFormat: new Map(Object.entries({ - es2020: [ - "format", - "formatToParts", - "resolvedOptions" - ] - })), - Int8Array: new Map(Object.entries({ - es2022: [ - "at" - ], - es2023: [ - "findLastIndex", - "findLast", - "toReversed", - "toSorted", - "toSpliced", - "with" - ] - })), - Uint8Array: new Map(Object.entries({ - es2022: [ - "at" - ], - es2023: [ - "findLastIndex", - "findLast", - "toReversed", - "toSorted", - "toSpliced", - "with" - ] - })), - Uint8ClampedArray: new Map(Object.entries({ - es2022: [ - "at" - ], - es2023: [ - "findLastIndex", - "findLast", - "toReversed", - "toSorted", - "toSpliced", - "with" - ] - })), - Int16Array: new Map(Object.entries({ - es2022: [ - "at" - ], - es2023: [ - "findLastIndex", - "findLast", - "toReversed", - "toSorted", - "toSpliced", - "with" - ] - })), - Uint16Array: new Map(Object.entries({ - es2022: [ - "at" - ], - es2023: [ - "findLastIndex", - "findLast", - "toReversed", - "toSorted", - "toSpliced", - "with" - ] - })), - Int32Array: new Map(Object.entries({ - es2022: [ - "at" - ], - es2023: [ - "findLastIndex", - "findLast", - "toReversed", - "toSorted", - "toSpliced", - "with" - ] - })), - Uint32Array: new Map(Object.entries({ - es2022: [ - "at" - ], - es2023: [ - "findLastIndex", - "findLast", - "toReversed", - "toSorted", - "toSpliced", - "with" - ] - })), - Float32Array: new Map(Object.entries({ - es2022: [ - "at" - ], - es2023: [ - "findLastIndex", - "findLast", - "toReversed", - "toSorted", - "toSpliced", - "with" - ] - })), - Float64Array: new Map(Object.entries({ - es2022: [ - "at" - ], - es2023: [ - "findLastIndex", - "findLast", - "toReversed", - "toSorted", - "toSpliced", - "with" - ] - })), - BigInt64Array: new Map(Object.entries({ - es2020: emptyArray, - es2022: [ - "at" - ], - es2023: [ - "findLastIndex", - "findLast", - "toReversed", - "toSorted", - "toSpliced", - "with" - ] - })), - BigUint64Array: new Map(Object.entries({ - es2020: emptyArray, - es2022: [ - "at" - ], - es2023: [ - "findLastIndex", - "findLast", - "toReversed", - "toSorted", - "toSpliced", - "with" - ] - })), - Error: new Map(Object.entries({ - es2022: [ - "cause" - ] - })) - })) -); -function getLiteralText(node, sourceFile, flags) { - if (sourceFile && canUseOriginalText(node, flags)) { - return getSourceTextOfNodeFromSourceFile(sourceFile, node); - } - switch (node.kind) { - case 11 /* StringLiteral */: { - const escapeText = flags & 2 /* JsxAttributeEscape */ ? escapeJsxAttributeString : flags & 1 /* NeverAsciiEscape */ || getEmitFlags(node) & 16777216 /* NoAsciiEscaping */ ? escapeString : escapeNonAsciiString; - if (node.singleQuote) { - return "'" + escapeText(node.text, 39 /* singleQuote */) + "'"; - } else { - return '"' + escapeText(node.text, 34 /* doubleQuote */) + '"'; - } - } - case 15 /* NoSubstitutionTemplateLiteral */: - case 16 /* TemplateHead */: - case 17 /* TemplateMiddle */: - case 18 /* TemplateTail */: { - const escapeText = flags & 1 /* NeverAsciiEscape */ || getEmitFlags(node) & 16777216 /* NoAsciiEscaping */ ? escapeString : escapeNonAsciiString; - const rawText = node.rawText ?? escapeTemplateSubstitution(escapeText(node.text, 96 /* backtick */)); - switch (node.kind) { - case 15 /* NoSubstitutionTemplateLiteral */: - return "`" + rawText + "`"; - case 16 /* TemplateHead */: - return "`" + rawText + "${"; - case 17 /* TemplateMiddle */: - return "}" + rawText + "${"; - case 18 /* TemplateTail */: - return "}" + rawText + "`"; - } - break; - } - case 9 /* NumericLiteral */: - case 10 /* BigIntLiteral */: - return node.text; - case 14 /* RegularExpressionLiteral */: - if (flags & 4 /* TerminateUnterminatedLiterals */ && node.isUnterminated) { - return node.text + (node.text.charCodeAt(node.text.length - 1) === 92 /* backslash */ ? " /" : "/"); - } - return node.text; - } - return Debug.fail(`Literal kind '${node.kind}' not accounted for.`); -} -function canUseOriginalText(node, flags) { - if (nodeIsSynthesized(node) || !node.parent || flags & 4 /* TerminateUnterminatedLiterals */ && node.isUnterminated) { - return false; - } - if (isNumericLiteral(node)) { - if (node.numericLiteralFlags & 26656 /* IsInvalid */) { - return false; - } - if (node.numericLiteralFlags & 512 /* ContainsSeparator */) { - return !!(flags & 8 /* AllowNumericSeparator */); - } - } - return !isBigIntLiteral(node); -} -function makeIdentifierFromModuleName(moduleName) { - return getBaseFileName(moduleName).replace(/^(\d)/, "_$1").replace(/\W/g, "_"); -} -function isBlockOrCatchScoped(declaration) { - return (getCombinedNodeFlags(declaration) & 7 /* BlockScoped */) !== 0 || isCatchClauseVariableDeclarationOrBindingElement(declaration); -} -function isCatchClauseVariableDeclarationOrBindingElement(declaration) { - const node = getRootDeclaration(declaration); - return node.kind === 260 /* VariableDeclaration */ && node.parent.kind === 299 /* CatchClause */; -} -function isAmbientModule(node) { - return isModuleDeclaration(node) && (node.name.kind === 11 /* StringLiteral */ || isGlobalScopeAugmentation(node)); -} -function isModuleWithStringLiteralName(node) { - return isModuleDeclaration(node) && node.name.kind === 11 /* StringLiteral */; -} -function isNonGlobalAmbientModule(node) { - return isModuleDeclaration(node) && isStringLiteral(node.name); -} -function isEffectiveModuleDeclaration(node) { - return isModuleDeclaration(node) || isIdentifier(node); -} -function isShorthandAmbientModuleSymbol(moduleSymbol) { - return isShorthandAmbientModule(moduleSymbol.valueDeclaration); -} -function isShorthandAmbientModule(node) { - return !!node && node.kind === 267 /* ModuleDeclaration */ && !node.body; -} -function isBlockScopedContainerTopLevel(node) { - return node.kind === 307 /* SourceFile */ || node.kind === 267 /* ModuleDeclaration */ || isFunctionLikeOrClassStaticBlockDeclaration(node); -} -function isGlobalScopeAugmentation(module2) { - return !!(module2.flags & 2048 /* GlobalAugmentation */); -} -function isExternalModuleAugmentation(node) { - return isAmbientModule(node) && isModuleAugmentationExternal(node); -} -function isModuleAugmentationExternal(node) { - switch (node.parent.kind) { - case 307 /* SourceFile */: - return isExternalModule(node.parent); - case 268 /* ModuleBlock */: - return isAmbientModule(node.parent.parent) && isSourceFile(node.parent.parent.parent) && !isExternalModule(node.parent.parent.parent); - } - return false; -} -function getNonAugmentationDeclaration(symbol) { - var _a; - return (_a = symbol.declarations) == null ? void 0 : _a.find((d) => !isExternalModuleAugmentation(d) && !(isModuleDeclaration(d) && isGlobalScopeAugmentation(d))); -} -function isCommonJSContainingModuleKind(kind) { - return kind === 1 /* CommonJS */ || kind === 100 /* Node16 */ || kind === 199 /* NodeNext */; -} -function isEffectiveExternalModule(node, compilerOptions) { - return isExternalModule(node) || isCommonJSContainingModuleKind(getEmitModuleKind(compilerOptions)) && !!node.commonJsModuleIndicator; -} -function isEffectiveStrictModeSourceFile(node, compilerOptions) { - switch (node.scriptKind) { - case 1 /* JS */: - case 3 /* TS */: - case 2 /* JSX */: - case 4 /* TSX */: - break; - default: - return false; - } - if (node.isDeclarationFile) { - return false; - } - if (getStrictOptionValue(compilerOptions, "alwaysStrict")) { - return true; - } - if (startsWithUseStrict(node.statements)) { - return true; - } - if (isExternalModule(node) || getIsolatedModules(compilerOptions)) { - return true; - } - return false; -} -function isAmbientPropertyDeclaration(node) { - return !!(node.flags & 33554432 /* Ambient */) || hasSyntacticModifier(node, 128 /* Ambient */); -} -function isBlockScope(node, parentNode) { - switch (node.kind) { - case 307 /* SourceFile */: - case 269 /* CaseBlock */: - case 299 /* CatchClause */: - case 267 /* ModuleDeclaration */: - case 248 /* ForStatement */: - case 249 /* ForInStatement */: - case 250 /* ForOfStatement */: - case 176 /* Constructor */: - case 174 /* MethodDeclaration */: - case 177 /* GetAccessor */: - case 178 /* SetAccessor */: - case 262 /* FunctionDeclaration */: - case 218 /* FunctionExpression */: - case 219 /* ArrowFunction */: - case 172 /* PropertyDeclaration */: - case 175 /* ClassStaticBlockDeclaration */: - return true; - case 241 /* Block */: - return !isFunctionLikeOrClassStaticBlockDeclaration(parentNode); - } - return false; -} -function isAnyImportSyntax(node) { - switch (node.kind) { - case 272 /* ImportDeclaration */: - case 271 /* ImportEqualsDeclaration */: - return true; - default: - return false; - } -} -function isLateVisibilityPaintedStatement(node) { - switch (node.kind) { - case 272 /* ImportDeclaration */: - case 271 /* ImportEqualsDeclaration */: - case 243 /* VariableStatement */: - case 263 /* ClassDeclaration */: - case 262 /* FunctionDeclaration */: - case 267 /* ModuleDeclaration */: - case 265 /* TypeAliasDeclaration */: - case 264 /* InterfaceDeclaration */: - case 266 /* EnumDeclaration */: - return true; - default: - return false; - } -} -function hasPossibleExternalModuleReference(node) { - return isAnyImportOrReExport(node) || isModuleDeclaration(node) || isImportTypeNode(node) || isImportCall(node); -} -function isAnyImportOrReExport(node) { - return isAnyImportSyntax(node) || isExportDeclaration(node); -} -function getEnclosingContainer(node) { - return findAncestor(node.parent, (n) => !!(getContainerFlags(n) & 1 /* IsContainer */)); -} -function getEnclosingBlockScopeContainer(node) { - return findAncestor(node.parent, (current) => isBlockScope(current, current.parent)); -} -function forEachEnclosingBlockScopeContainer(node, cb) { - let container = getEnclosingBlockScopeContainer(node); - while (container) { - cb(container); - container = getEnclosingBlockScopeContainer(container); - } -} -function declarationNameToString(name) { - return !name || getFullWidth(name) === 0 ? "(Missing)" : getTextOfNode(name); -} -function getNameFromIndexInfo(info) { - return info.declaration ? declarationNameToString(info.declaration.parameters[0].name) : void 0; -} -function isComputedNonLiteralName(name) { - return name.kind === 167 /* ComputedPropertyName */ && !isStringOrNumericLiteralLike(name.expression); -} -function tryGetTextOfPropertyName(name) { - var _a; - switch (name.kind) { - case 80 /* Identifier */: - case 81 /* PrivateIdentifier */: - return ((_a = name.emitNode) == null ? void 0 : _a.autoGenerate) ? void 0 : name.escapedText; - case 11 /* StringLiteral */: - case 9 /* NumericLiteral */: - case 10 /* BigIntLiteral */: - case 15 /* NoSubstitutionTemplateLiteral */: - return escapeLeadingUnderscores(name.text); - case 167 /* ComputedPropertyName */: - if (isStringOrNumericLiteralLike(name.expression)) return escapeLeadingUnderscores(name.expression.text); - return void 0; - case 295 /* JsxNamespacedName */: - return getEscapedTextOfJsxNamespacedName(name); - default: - return Debug.assertNever(name); - } -} -function getTextOfPropertyName(name) { - return Debug.checkDefined(tryGetTextOfPropertyName(name)); -} -function entityNameToString(name) { - switch (name.kind) { - case 110 /* ThisKeyword */: - return "this"; - case 81 /* PrivateIdentifier */: - case 80 /* Identifier */: - return getFullWidth(name) === 0 ? idText(name) : getTextOfNode(name); - case 166 /* QualifiedName */: - return entityNameToString(name.left) + "." + entityNameToString(name.right); - case 211 /* PropertyAccessExpression */: - if (isIdentifier(name.name) || isPrivateIdentifier(name.name)) { - return entityNameToString(name.expression) + "." + entityNameToString(name.name); - } else { - return Debug.assertNever(name.name); - } - case 311 /* JSDocMemberName */: - return entityNameToString(name.left) + "#" + entityNameToString(name.right); - case 295 /* JsxNamespacedName */: - return entityNameToString(name.namespace) + ":" + entityNameToString(name.name); - default: - return Debug.assertNever(name); - } -} -function createDiagnosticForNode(node, message, ...args) { - const sourceFile = getSourceFileOfNode(node); - return createDiagnosticForNodeInSourceFile(sourceFile, node, message, ...args); -} -function createDiagnosticForNodeArray(sourceFile, nodes, message, ...args) { - const start = skipTrivia(sourceFile.text, nodes.pos); - return createFileDiagnostic(sourceFile, start, nodes.end - start, message, ...args); -} -function createDiagnosticForNodeInSourceFile(sourceFile, node, message, ...args) { - const span = getErrorSpanForNode(sourceFile, node); - return createFileDiagnostic(sourceFile, span.start, span.length, message, ...args); -} -function createDiagnosticForNodeFromMessageChain(sourceFile, node, messageChain, relatedInformation) { - const span = getErrorSpanForNode(sourceFile, node); - return createFileDiagnosticFromMessageChain(sourceFile, span.start, span.length, messageChain, relatedInformation); -} -function createDiagnosticForNodeArrayFromMessageChain(sourceFile, nodes, messageChain, relatedInformation) { - const start = skipTrivia(sourceFile.text, nodes.pos); - return createFileDiagnosticFromMessageChain(sourceFile, start, nodes.end - start, messageChain, relatedInformation); -} -function assertDiagnosticLocation(sourceText, start, length2) { - Debug.assertGreaterThanOrEqual(start, 0); - Debug.assertGreaterThanOrEqual(length2, 0); - Debug.assertLessThanOrEqual(start, sourceText.length); - Debug.assertLessThanOrEqual(start + length2, sourceText.length); -} -function createFileDiagnosticFromMessageChain(file, start, length2, messageChain, relatedInformation) { - assertDiagnosticLocation(file.text, start, length2); - return { - file, - start, - length: length2, - code: messageChain.code, - category: messageChain.category, - messageText: messageChain.next ? messageChain : messageChain.messageText, - relatedInformation, - canonicalHead: messageChain.canonicalHead - }; -} -function createDiagnosticForFileFromMessageChain(sourceFile, messageChain, relatedInformation) { - return { - file: sourceFile, - start: 0, - length: 0, - code: messageChain.code, - category: messageChain.category, - messageText: messageChain.next ? messageChain : messageChain.messageText, - relatedInformation - }; -} -function createDiagnosticMessageChainFromDiagnostic(diagnostic) { - return typeof diagnostic.messageText === "string" ? { - code: diagnostic.code, - category: diagnostic.category, - messageText: diagnostic.messageText, - next: diagnostic.next - } : diagnostic.messageText; -} -function createDiagnosticForRange(sourceFile, range, message) { - return { - file: sourceFile, - start: range.pos, - length: range.end - range.pos, - code: message.code, - category: message.category, - messageText: message.message - }; -} -function getCanonicalDiagnostic(message, ...args) { - return { - code: message.code, - messageText: formatMessage(message, ...args) - }; -} -function getSpanOfTokenAtPosition(sourceFile, pos) { - const scanner = createScanner( - sourceFile.languageVersion, - /*skipTrivia*/ - true, - sourceFile.languageVariant, - sourceFile.text, - /*onError*/ - void 0, - pos - ); - scanner.scan(); - const start = scanner.getTokenStart(); - return createTextSpanFromBounds(start, scanner.getTokenEnd()); -} -function scanTokenAtPosition(sourceFile, pos) { - const scanner = createScanner( - sourceFile.languageVersion, - /*skipTrivia*/ - true, - sourceFile.languageVariant, - sourceFile.text, - /*onError*/ - void 0, - pos - ); - scanner.scan(); - return scanner.getToken(); -} -function getErrorSpanForArrowFunction(sourceFile, node) { - const pos = skipTrivia(sourceFile.text, node.pos); - if (node.body && node.body.kind === 241 /* Block */) { - const { line: startLine } = getLineAndCharacterOfPosition(sourceFile, node.body.pos); - const { line: endLine } = getLineAndCharacterOfPosition(sourceFile, node.body.end); - if (startLine < endLine) { - return createTextSpan(pos, getEndLinePosition(startLine, sourceFile) - pos + 1); - } - } - return createTextSpanFromBounds(pos, node.end); -} -function getErrorSpanForNode(sourceFile, node) { - let errorNode = node; - switch (node.kind) { - case 307 /* SourceFile */: { - const pos2 = skipTrivia( - sourceFile.text, - 0, - /*stopAfterLineBreak*/ - false - ); - if (pos2 === sourceFile.text.length) { - return createTextSpan(0, 0); - } - return getSpanOfTokenAtPosition(sourceFile, pos2); - } - case 260 /* VariableDeclaration */: - case 208 /* BindingElement */: - case 263 /* ClassDeclaration */: - case 231 /* ClassExpression */: - case 264 /* InterfaceDeclaration */: - case 267 /* ModuleDeclaration */: - case 266 /* EnumDeclaration */: - case 306 /* EnumMember */: - case 262 /* FunctionDeclaration */: - case 218 /* FunctionExpression */: - case 174 /* MethodDeclaration */: - case 177 /* GetAccessor */: - case 178 /* SetAccessor */: - case 265 /* TypeAliasDeclaration */: - case 172 /* PropertyDeclaration */: - case 171 /* PropertySignature */: - case 274 /* NamespaceImport */: - errorNode = node.name; - break; - case 219 /* ArrowFunction */: - return getErrorSpanForArrowFunction(sourceFile, node); - case 296 /* CaseClause */: - case 297 /* DefaultClause */: { - const start = skipTrivia(sourceFile.text, node.pos); - const end = node.statements.length > 0 ? node.statements[0].pos : node.end; - return createTextSpanFromBounds(start, end); - } - case 253 /* ReturnStatement */: - case 229 /* YieldExpression */: { - const pos2 = skipTrivia(sourceFile.text, node.pos); - return getSpanOfTokenAtPosition(sourceFile, pos2); - } - case 238 /* SatisfiesExpression */: { - const pos2 = skipTrivia(sourceFile.text, node.expression.end); - return getSpanOfTokenAtPosition(sourceFile, pos2); - } - case 350 /* JSDocSatisfiesTag */: { - const pos2 = skipTrivia(sourceFile.text, node.tagName.pos); - return getSpanOfTokenAtPosition(sourceFile, pos2); - } - case 176 /* Constructor */: { - const constructorDeclaration = node; - const start = skipTrivia(sourceFile.text, constructorDeclaration.pos); - const scanner = createScanner( - sourceFile.languageVersion, - /*skipTrivia*/ - true, - sourceFile.languageVariant, - sourceFile.text, - /*onError*/ - void 0, - start - ); - let token = scanner.scan(); - while (token !== 137 /* ConstructorKeyword */ && token !== 1 /* EndOfFileToken */) { - token = scanner.scan(); - } - const end = scanner.getTokenEnd(); - return createTextSpanFromBounds(start, end); - } - } - if (errorNode === void 0) { - return getSpanOfTokenAtPosition(sourceFile, node.pos); - } - Debug.assert(!isJSDoc(errorNode)); - const isMissing = nodeIsMissing(errorNode); - const pos = isMissing || isJsxText(node) ? errorNode.pos : skipTrivia(sourceFile.text, errorNode.pos); - if (isMissing) { - Debug.assert(pos === errorNode.pos, "This failure could trigger https://github.com/Microsoft/TypeScript/issues/20809"); - Debug.assert(pos === errorNode.end, "This failure could trigger https://github.com/Microsoft/TypeScript/issues/20809"); - } else { - Debug.assert(pos >= errorNode.pos, "This failure could trigger https://github.com/Microsoft/TypeScript/issues/20809"); - Debug.assert(pos <= errorNode.end, "This failure could trigger https://github.com/Microsoft/TypeScript/issues/20809"); - } - return createTextSpanFromBounds(pos, errorNode.end); -} -function isGlobalSourceFile(node) { - return node.kind === 307 /* SourceFile */ && !isExternalOrCommonJsModule(node); -} -function isExternalOrCommonJsModule(file) { - return (file.externalModuleIndicator || file.commonJsModuleIndicator) !== void 0; -} -function isJsonSourceFile(file) { - return file.scriptKind === 6 /* JSON */; -} -function isEnumConst(node) { - return !!(getCombinedModifierFlags(node) & 4096 /* Const */); -} -function isDeclarationReadonly(declaration) { - return !!(getCombinedModifierFlags(declaration) & 8 /* Readonly */ && !isParameterPropertyDeclaration(declaration, declaration.parent)); -} -function isVarAwaitUsing(node) { - return (getCombinedNodeFlags(node) & 7 /* BlockScoped */) === 6 /* AwaitUsing */; -} -function isVarUsing(node) { - return (getCombinedNodeFlags(node) & 7 /* BlockScoped */) === 4 /* Using */; -} -function isVarConst(node) { - return (getCombinedNodeFlags(node) & 7 /* BlockScoped */) === 2 /* Const */; -} -function isVarConstLike(node) { - const blockScopeKind = getCombinedNodeFlags(node) & 7 /* BlockScoped */; - return blockScopeKind === 2 /* Const */ || blockScopeKind === 4 /* Using */ || blockScopeKind === 6 /* AwaitUsing */; -} -function isLet(node) { - return (getCombinedNodeFlags(node) & 7 /* BlockScoped */) === 1 /* Let */; -} -function isSuperCall(n) { - return n.kind === 213 /* CallExpression */ && n.expression.kind === 108 /* SuperKeyword */; -} -function isImportCall(n) { - return n.kind === 213 /* CallExpression */ && n.expression.kind === 102 /* ImportKeyword */; -} -function isImportMeta(n) { - return isMetaProperty(n) && n.keywordToken === 102 /* ImportKeyword */ && n.name.escapedText === "meta"; -} -function isLiteralImportTypeNode(n) { - return isImportTypeNode(n) && isLiteralTypeNode(n.argument) && isStringLiteral(n.argument.literal); -} -function isPrologueDirective(node) { - return node.kind === 244 /* ExpressionStatement */ && node.expression.kind === 11 /* StringLiteral */; -} -function isCustomPrologue(node) { - return !!(getEmitFlags(node) & 2097152 /* CustomPrologue */); -} -function isHoistedFunction(node) { - return isCustomPrologue(node) && isFunctionDeclaration(node); -} -function isHoistedVariable(node) { - return isIdentifier(node.name) && !node.initializer; -} -function isHoistedVariableStatement(node) { - return isCustomPrologue(node) && isVariableStatement(node) && every(node.declarationList.declarations, isHoistedVariable); -} -function getLeadingCommentRangesOfNode(node, sourceFileOfNode) { - return node.kind !== 12 /* JsxText */ ? getLeadingCommentRanges(sourceFileOfNode.text, node.pos) : void 0; -} -function getJSDocCommentRanges(node, text) { - const commentRanges = node.kind === 169 /* Parameter */ || node.kind === 168 /* TypeParameter */ || node.kind === 218 /* FunctionExpression */ || node.kind === 219 /* ArrowFunction */ || node.kind === 217 /* ParenthesizedExpression */ || node.kind === 260 /* VariableDeclaration */ || node.kind === 281 /* ExportSpecifier */ ? concatenate(getTrailingCommentRanges(text, node.pos), getLeadingCommentRanges(text, node.pos)) : getLeadingCommentRanges(text, node.pos); - return filter(commentRanges, (comment) => comment.end <= node.end && // Due to parse errors sometime empty parameter may get comments assigned to it that end up not in parameter range - text.charCodeAt(comment.pos + 1) === 42 /* asterisk */ && text.charCodeAt(comment.pos + 2) === 42 /* asterisk */ && text.charCodeAt(comment.pos + 3) !== 47 /* slash */); -} -var fullTripleSlashReferencePathRegEx = /^\/\/\/\s*/; -var fullTripleSlashReferenceTypeReferenceDirectiveRegEx = /^\/\/\/\s*/; -var fullTripleSlashLibReferenceRegEx = /^\/\/\/\s*/; -var fullTripleSlashAMDReferencePathRegEx = /^\/\/\/\s*/; -var fullTripleSlashAMDModuleRegEx = /^\/\/\/\s*/; -var defaultLibReferenceRegEx = /^\/\/\/\s*/; -function isPartOfTypeNode(node) { - if (182 /* FirstTypeNode */ <= node.kind && node.kind <= 205 /* LastTypeNode */) { - return true; - } - switch (node.kind) { - case 133 /* AnyKeyword */: - case 159 /* UnknownKeyword */: - case 150 /* NumberKeyword */: - case 163 /* BigIntKeyword */: - case 154 /* StringKeyword */: - case 136 /* BooleanKeyword */: - case 155 /* SymbolKeyword */: - case 151 /* ObjectKeyword */: - case 157 /* UndefinedKeyword */: - case 106 /* NullKeyword */: - case 146 /* NeverKeyword */: - return true; - case 116 /* VoidKeyword */: - return node.parent.kind !== 222 /* VoidExpression */; - case 233 /* ExpressionWithTypeArguments */: - return isPartOfTypeExpressionWithTypeArguments(node); - case 168 /* TypeParameter */: - return node.parent.kind === 200 /* MappedType */ || node.parent.kind === 195 /* InferType */; - case 80 /* Identifier */: - if (node.parent.kind === 166 /* QualifiedName */ && node.parent.right === node) { - node = node.parent; - } else if (node.parent.kind === 211 /* PropertyAccessExpression */ && node.parent.name === node) { - node = node.parent; - } - Debug.assert(node.kind === 80 /* Identifier */ || node.kind === 166 /* QualifiedName */ || node.kind === 211 /* PropertyAccessExpression */, "'node' was expected to be a qualified name, identifier or property access in 'isPartOfTypeNode'."); - case 166 /* QualifiedName */: - case 211 /* PropertyAccessExpression */: - case 110 /* ThisKeyword */: { - const { parent } = node; - if (parent.kind === 186 /* TypeQuery */) { - return false; - } - if (parent.kind === 205 /* ImportType */) { - return !parent.isTypeOf; - } - if (182 /* FirstTypeNode */ <= parent.kind && parent.kind <= 205 /* LastTypeNode */) { - return true; - } - switch (parent.kind) { - case 233 /* ExpressionWithTypeArguments */: - return isPartOfTypeExpressionWithTypeArguments(parent); - case 168 /* TypeParameter */: - return node === parent.constraint; - case 345 /* JSDocTemplateTag */: - return node === parent.constraint; - case 172 /* PropertyDeclaration */: - case 171 /* PropertySignature */: - case 169 /* Parameter */: - case 260 /* VariableDeclaration */: - return node === parent.type; - case 262 /* FunctionDeclaration */: - case 218 /* FunctionExpression */: - case 219 /* ArrowFunction */: - case 176 /* Constructor */: - case 174 /* MethodDeclaration */: - case 173 /* MethodSignature */: - case 177 /* GetAccessor */: - case 178 /* SetAccessor */: - return node === parent.type; - case 179 /* CallSignature */: - case 180 /* ConstructSignature */: - case 181 /* IndexSignature */: - return node === parent.type; - case 216 /* TypeAssertionExpression */: - return node === parent.type; - case 213 /* CallExpression */: - case 214 /* NewExpression */: - case 215 /* TaggedTemplateExpression */: - return contains(parent.typeArguments, node); - } - } - } - return false; -} -function isPartOfTypeExpressionWithTypeArguments(node) { - return isJSDocImplementsTag(node.parent) || isJSDocAugmentsTag(node.parent) || isHeritageClause(node.parent) && !isExpressionWithTypeArgumentsInClassExtendsClause(node); -} -function forEachReturnStatement(body, visitor) { - return traverse(body); - function traverse(node) { - switch (node.kind) { - case 253 /* ReturnStatement */: - return visitor(node); - case 269 /* CaseBlock */: - case 241 /* Block */: - case 245 /* IfStatement */: - case 246 /* DoStatement */: - case 247 /* WhileStatement */: - case 248 /* ForStatement */: - case 249 /* ForInStatement */: - case 250 /* ForOfStatement */: - case 254 /* WithStatement */: - case 255 /* SwitchStatement */: - case 296 /* CaseClause */: - case 297 /* DefaultClause */: - case 256 /* LabeledStatement */: - case 258 /* TryStatement */: - case 299 /* CatchClause */: - return forEachChild(node, traverse); - } - } -} -function forEachYieldExpression(body, visitor) { - return traverse(body); - function traverse(node) { - switch (node.kind) { - case 229 /* YieldExpression */: - visitor(node); - const operand = node.expression; - if (operand) { - traverse(operand); - } - return; - case 266 /* EnumDeclaration */: - case 264 /* InterfaceDeclaration */: - case 267 /* ModuleDeclaration */: - case 265 /* TypeAliasDeclaration */: - return; - default: - if (isFunctionLike(node)) { - if (node.name && node.name.kind === 167 /* ComputedPropertyName */) { - traverse(node.name.expression); - return; - } - } else if (!isPartOfTypeNode(node)) { - forEachChild(node, traverse); - } - } - } -} -function getRestParameterElementType(node) { - if (node && node.kind === 188 /* ArrayType */) { - return node.elementType; - } else if (node && node.kind === 183 /* TypeReference */) { - return singleOrUndefined(node.typeArguments); - } else { - return void 0; - } -} -function getMembersOfDeclaration(node) { - switch (node.kind) { - case 264 /* InterfaceDeclaration */: - case 263 /* ClassDeclaration */: - case 231 /* ClassExpression */: - case 187 /* TypeLiteral */: - return node.members; - case 210 /* ObjectLiteralExpression */: - return node.properties; - } -} -function isVariableLike(node) { - if (node) { - switch (node.kind) { - case 208 /* BindingElement */: - case 306 /* EnumMember */: - case 169 /* Parameter */: - case 303 /* PropertyAssignment */: - case 172 /* PropertyDeclaration */: - case 171 /* PropertySignature */: - case 304 /* ShorthandPropertyAssignment */: - case 260 /* VariableDeclaration */: - return true; - } - } - return false; -} -function isVariableLikeOrAccessor(node) { - return isVariableLike(node) || isAccessor(node); -} -function isVariableDeclarationInVariableStatement(node) { - return node.parent.kind === 261 /* VariableDeclarationList */ && node.parent.parent.kind === 243 /* VariableStatement */; -} -function isCommonJsExportedExpression(node) { - if (!isInJSFile(node)) return false; - return isObjectLiteralExpression(node.parent) && isBinaryExpression(node.parent.parent) && getAssignmentDeclarationKind(node.parent.parent) === 2 /* ModuleExports */ || isCommonJsExportPropertyAssignment(node.parent); -} -function isCommonJsExportPropertyAssignment(node) { - if (!isInJSFile(node)) return false; - return isBinaryExpression(node) && getAssignmentDeclarationKind(node) === 1 /* ExportsProperty */; -} -function isValidESSymbolDeclaration(node) { - return (isVariableDeclaration(node) ? isVarConst(node) && isIdentifier(node.name) && isVariableDeclarationInVariableStatement(node) : isPropertyDeclaration(node) ? hasEffectiveReadonlyModifier(node) && hasStaticModifier(node) : isPropertySignature(node) && hasEffectiveReadonlyModifier(node)) || isCommonJsExportPropertyAssignment(node); -} -function introducesArgumentsExoticObject(node) { - switch (node.kind) { - case 174 /* MethodDeclaration */: - case 173 /* MethodSignature */: - case 176 /* Constructor */: - case 177 /* GetAccessor */: - case 178 /* SetAccessor */: - case 262 /* FunctionDeclaration */: - case 218 /* FunctionExpression */: - return true; - } - return false; -} -function unwrapInnermostStatementOfLabel(node, beforeUnwrapLabelCallback) { - while (true) { - if (beforeUnwrapLabelCallback) { - beforeUnwrapLabelCallback(node); - } - if (node.statement.kind !== 256 /* LabeledStatement */) { - return node.statement; - } - node = node.statement; - } -} -function isFunctionBlock(node) { - return node && node.kind === 241 /* Block */ && isFunctionLike(node.parent); -} -function isObjectLiteralMethod(node) { - return node && node.kind === 174 /* MethodDeclaration */ && node.parent.kind === 210 /* ObjectLiteralExpression */; -} -function isObjectLiteralOrClassExpressionMethodOrAccessor(node) { - return (node.kind === 174 /* MethodDeclaration */ || node.kind === 177 /* GetAccessor */ || node.kind === 178 /* SetAccessor */) && (node.parent.kind === 210 /* ObjectLiteralExpression */ || node.parent.kind === 231 /* ClassExpression */); -} -function isIdentifierTypePredicate(predicate) { - return predicate && predicate.kind === 1 /* Identifier */; -} -function isThisTypePredicate(predicate) { - return predicate && predicate.kind === 0 /* This */; -} -function forEachPropertyAssignment(objectLiteral, key, callback, key2) { - return forEach(objectLiteral == null ? void 0 : objectLiteral.properties, (property) => { - if (!isPropertyAssignment(property)) return void 0; - const propName = tryGetTextOfPropertyName(property.name); - return key === propName || key2 && key2 === propName ? callback(property) : void 0; - }); -} -function getPropertyArrayElementValue(objectLiteral, propKey, elementValue) { - return forEachPropertyAssignment(objectLiteral, propKey, (property) => isArrayLiteralExpression(property.initializer) ? find(property.initializer.elements, (element) => isStringLiteral(element) && element.text === elementValue) : void 0); -} -function getTsConfigObjectLiteralExpression(tsConfigSourceFile) { - if (tsConfigSourceFile && tsConfigSourceFile.statements.length) { - const expression = tsConfigSourceFile.statements[0].expression; - return tryCast(expression, isObjectLiteralExpression); - } -} -function getTsConfigPropArrayElementValue(tsConfigSourceFile, propKey, elementValue) { - return forEachTsConfigPropArray(tsConfigSourceFile, propKey, (property) => isArrayLiteralExpression(property.initializer) ? find(property.initializer.elements, (element) => isStringLiteral(element) && element.text === elementValue) : void 0); -} -function forEachTsConfigPropArray(tsConfigSourceFile, propKey, callback) { - return forEachPropertyAssignment(getTsConfigObjectLiteralExpression(tsConfigSourceFile), propKey, callback); -} -function getContainingFunction(node) { - return findAncestor(node.parent, isFunctionLike); -} -function getContainingClass(node) { - return findAncestor(node.parent, isClassLike); -} -function getContainingClassStaticBlock(node) { - return findAncestor(node.parent, (n) => { - if (isClassLike(n) || isFunctionLike(n)) { - return "quit"; - } - return isClassStaticBlockDeclaration(n); - }); -} -function getContainingFunctionOrClassStaticBlock(node) { - return findAncestor(node.parent, isFunctionLikeOrClassStaticBlockDeclaration); -} -function getContainingClassExcludingClassDecorators(node) { - const decorator = findAncestor(node.parent, (n) => isClassLike(n) ? "quit" : isDecorator(n)); - return decorator && isClassLike(decorator.parent) ? getContainingClass(decorator.parent) : getContainingClass(decorator ?? node); -} -function getThisContainer(node, includeArrowFunctions, includeClassComputedPropertyName) { - Debug.assert(node.kind !== 307 /* SourceFile */); - while (true) { - node = node.parent; - if (!node) { - return Debug.fail(); - } - switch (node.kind) { - case 167 /* ComputedPropertyName */: - if (includeClassComputedPropertyName && isClassLike(node.parent.parent)) { - return node; - } - node = node.parent.parent; - break; - case 170 /* Decorator */: - if (node.parent.kind === 169 /* Parameter */ && isClassElement(node.parent.parent)) { - node = node.parent.parent; - } else if (isClassElement(node.parent)) { - node = node.parent; - } - break; - case 219 /* ArrowFunction */: - if (!includeArrowFunctions) { - continue; - } - case 262 /* FunctionDeclaration */: - case 218 /* FunctionExpression */: - case 267 /* ModuleDeclaration */: - case 175 /* ClassStaticBlockDeclaration */: - case 172 /* PropertyDeclaration */: - case 171 /* PropertySignature */: - case 174 /* MethodDeclaration */: - case 173 /* MethodSignature */: - case 176 /* Constructor */: - case 177 /* GetAccessor */: - case 178 /* SetAccessor */: - case 179 /* CallSignature */: - case 180 /* ConstructSignature */: - case 181 /* IndexSignature */: - case 266 /* EnumDeclaration */: - case 307 /* SourceFile */: - return node; - } - } -} -function isThisContainerOrFunctionBlock(node) { - switch (node.kind) { - case 219 /* ArrowFunction */: - case 262 /* FunctionDeclaration */: - case 218 /* FunctionExpression */: - case 172 /* PropertyDeclaration */: - return true; - case 241 /* Block */: - switch (node.parent.kind) { - case 176 /* Constructor */: - case 174 /* MethodDeclaration */: - case 177 /* GetAccessor */: - case 178 /* SetAccessor */: - return true; - default: - return false; - } - default: - return false; - } -} -function isInTopLevelContext(node) { - if (isIdentifier(node) && (isClassDeclaration(node.parent) || isFunctionDeclaration(node.parent)) && node.parent.name === node) { - node = node.parent; - } - const container = getThisContainer( - node, - /*includeArrowFunctions*/ - true, - /*includeClassComputedPropertyName*/ - false - ); - return isSourceFile(container); -} -function getNewTargetContainer(node) { - const container = getThisContainer( - node, - /*includeArrowFunctions*/ - false, - /*includeClassComputedPropertyName*/ - false - ); - if (container) { - switch (container.kind) { - case 176 /* Constructor */: - case 262 /* FunctionDeclaration */: - case 218 /* FunctionExpression */: - return container; - } - } - return void 0; -} -function getSuperContainer(node, stopOnFunctions) { - while (true) { - node = node.parent; - if (!node) { - return void 0; - } - switch (node.kind) { - case 167 /* ComputedPropertyName */: - node = node.parent; - break; - case 262 /* FunctionDeclaration */: - case 218 /* FunctionExpression */: - case 219 /* ArrowFunction */: - if (!stopOnFunctions) { - continue; - } - case 172 /* PropertyDeclaration */: - case 171 /* PropertySignature */: - case 174 /* MethodDeclaration */: - case 173 /* MethodSignature */: - case 176 /* Constructor */: - case 177 /* GetAccessor */: - case 178 /* SetAccessor */: - case 175 /* ClassStaticBlockDeclaration */: - return node; - case 170 /* Decorator */: - if (node.parent.kind === 169 /* Parameter */ && isClassElement(node.parent.parent)) { - node = node.parent.parent; - } else if (isClassElement(node.parent)) { - node = node.parent; - } - break; - } - } -} -function getImmediatelyInvokedFunctionExpression(func) { - if (func.kind === 218 /* FunctionExpression */ || func.kind === 219 /* ArrowFunction */) { - let prev = func; - let parent = func.parent; - while (parent.kind === 217 /* ParenthesizedExpression */) { - prev = parent; - parent = parent.parent; - } - if (parent.kind === 213 /* CallExpression */ && parent.expression === prev) { - return parent; - } - } -} -function isSuperProperty(node) { - const kind = node.kind; - return (kind === 211 /* PropertyAccessExpression */ || kind === 212 /* ElementAccessExpression */) && node.expression.kind === 108 /* SuperKeyword */; -} -function isThisProperty(node) { - const kind = node.kind; - return (kind === 211 /* PropertyAccessExpression */ || kind === 212 /* ElementAccessExpression */) && node.expression.kind === 110 /* ThisKeyword */; -} -function isThisInitializedDeclaration(node) { - var _a; - return !!node && isVariableDeclaration(node) && ((_a = node.initializer) == null ? void 0 : _a.kind) === 110 /* ThisKeyword */; -} -function isThisInitializedObjectBindingExpression(node) { - return !!node && (isShorthandPropertyAssignment(node) || isPropertyAssignment(node)) && isBinaryExpression(node.parent.parent) && node.parent.parent.operatorToken.kind === 64 /* EqualsToken */ && node.parent.parent.right.kind === 110 /* ThisKeyword */; -} -function getEntityNameFromTypeNode(node) { - switch (node.kind) { - case 183 /* TypeReference */: - return node.typeName; - case 233 /* ExpressionWithTypeArguments */: - return isEntityNameExpression(node.expression) ? node.expression : void 0; - case 80 /* Identifier */: - case 166 /* QualifiedName */: - return node; - } - return void 0; -} -function getInvokedExpression(node) { - switch (node.kind) { - case 215 /* TaggedTemplateExpression */: - return node.tag; - case 286 /* JsxOpeningElement */: - case 285 /* JsxSelfClosingElement */: - return node.tagName; - case 226 /* BinaryExpression */: - return node.right; - default: - return node.expression; - } -} -function nodeCanBeDecorated(useLegacyDecorators, node, parent, grandparent) { - if (useLegacyDecorators && isNamedDeclaration(node) && isPrivateIdentifier(node.name)) { - return false; - } - switch (node.kind) { - case 263 /* ClassDeclaration */: - return true; - case 231 /* ClassExpression */: - return !useLegacyDecorators; - case 172 /* PropertyDeclaration */: - return parent !== void 0 && (useLegacyDecorators ? isClassDeclaration(parent) : isClassLike(parent) && !hasAbstractModifier(node) && !hasAmbientModifier(node)); - case 177 /* GetAccessor */: - case 178 /* SetAccessor */: - case 174 /* MethodDeclaration */: - return node.body !== void 0 && parent !== void 0 && (useLegacyDecorators ? isClassDeclaration(parent) : isClassLike(parent)); - case 169 /* Parameter */: - if (!useLegacyDecorators) return false; - return parent !== void 0 && parent.body !== void 0 && (parent.kind === 176 /* Constructor */ || parent.kind === 174 /* MethodDeclaration */ || parent.kind === 178 /* SetAccessor */) && getThisParameter(parent) !== node && grandparent !== void 0 && grandparent.kind === 263 /* ClassDeclaration */; - } - return false; -} -function nodeIsDecorated(useLegacyDecorators, node, parent, grandparent) { - return hasDecorators(node) && nodeCanBeDecorated(useLegacyDecorators, node, parent, grandparent); -} -function nodeOrChildIsDecorated(useLegacyDecorators, node, parent, grandparent) { - return nodeIsDecorated(useLegacyDecorators, node, parent, grandparent) || childIsDecorated(useLegacyDecorators, node, parent); -} -function childIsDecorated(useLegacyDecorators, node, parent) { - switch (node.kind) { - case 263 /* ClassDeclaration */: - return some(node.members, (m) => nodeOrChildIsDecorated(useLegacyDecorators, m, node, parent)); - case 231 /* ClassExpression */: - return !useLegacyDecorators && some(node.members, (m) => nodeOrChildIsDecorated(useLegacyDecorators, m, node, parent)); - case 174 /* MethodDeclaration */: - case 178 /* SetAccessor */: - case 176 /* Constructor */: - return some(node.parameters, (p) => nodeIsDecorated(useLegacyDecorators, p, node, parent)); - default: - return false; - } -} -function classOrConstructorParameterIsDecorated(useLegacyDecorators, node) { - if (nodeIsDecorated(useLegacyDecorators, node)) return true; - const constructor = getFirstConstructorWithBody(node); - return !!constructor && childIsDecorated(useLegacyDecorators, constructor, node); -} -function classElementOrClassElementParameterIsDecorated(useLegacyDecorators, node, parent) { - let parameters; - if (isAccessor(node)) { - const { firstAccessor, secondAccessor, setAccessor } = getAllAccessorDeclarations(parent.members, node); - const firstAccessorWithDecorators = hasDecorators(firstAccessor) ? firstAccessor : secondAccessor && hasDecorators(secondAccessor) ? secondAccessor : void 0; - if (!firstAccessorWithDecorators || node !== firstAccessorWithDecorators) { - return false; - } - parameters = setAccessor == null ? void 0 : setAccessor.parameters; - } else if (isMethodDeclaration(node)) { - parameters = node.parameters; - } - if (nodeIsDecorated(useLegacyDecorators, node, parent)) { - return true; - } - if (parameters) { - for (const parameter of parameters) { - if (parameterIsThisKeyword(parameter)) continue; - if (nodeIsDecorated(useLegacyDecorators, parameter, node, parent)) return true; - } - } - return false; -} -function isEmptyStringLiteral(node) { - if (node.textSourceNode) { - switch (node.textSourceNode.kind) { - case 11 /* StringLiteral */: - return isEmptyStringLiteral(node.textSourceNode); - case 15 /* NoSubstitutionTemplateLiteral */: - return node.text === ""; - } - return false; - } - return node.text === ""; -} -function isJSXTagName(node) { - const { parent } = node; - if (parent.kind === 286 /* JsxOpeningElement */ || parent.kind === 285 /* JsxSelfClosingElement */ || parent.kind === 287 /* JsxClosingElement */) { - return parent.tagName === node; - } - return false; -} -function isExpressionNode(node) { - switch (node.kind) { - case 108 /* SuperKeyword */: - case 106 /* NullKeyword */: - case 112 /* TrueKeyword */: - case 97 /* FalseKeyword */: - case 14 /* RegularExpressionLiteral */: - case 209 /* ArrayLiteralExpression */: - case 210 /* ObjectLiteralExpression */: - case 211 /* PropertyAccessExpression */: - case 212 /* ElementAccessExpression */: - case 213 /* CallExpression */: - case 214 /* NewExpression */: - case 215 /* TaggedTemplateExpression */: - case 234 /* AsExpression */: - case 216 /* TypeAssertionExpression */: - case 238 /* SatisfiesExpression */: - case 235 /* NonNullExpression */: - case 217 /* ParenthesizedExpression */: - case 218 /* FunctionExpression */: - case 231 /* ClassExpression */: - case 219 /* ArrowFunction */: - case 222 /* VoidExpression */: - case 220 /* DeleteExpression */: - case 221 /* TypeOfExpression */: - case 224 /* PrefixUnaryExpression */: - case 225 /* PostfixUnaryExpression */: - case 226 /* BinaryExpression */: - case 227 /* ConditionalExpression */: - case 230 /* SpreadElement */: - case 228 /* TemplateExpression */: - case 232 /* OmittedExpression */: - case 284 /* JsxElement */: - case 285 /* JsxSelfClosingElement */: - case 288 /* JsxFragment */: - case 229 /* YieldExpression */: - case 223 /* AwaitExpression */: - case 236 /* MetaProperty */: - return true; - case 233 /* ExpressionWithTypeArguments */: - return !isHeritageClause(node.parent) && !isJSDocAugmentsTag(node.parent); - case 166 /* QualifiedName */: - while (node.parent.kind === 166 /* QualifiedName */) { - node = node.parent; - } - return node.parent.kind === 186 /* TypeQuery */ || isJSDocLinkLike(node.parent) || isJSDocNameReference(node.parent) || isJSDocMemberName(node.parent) || isJSXTagName(node); - case 311 /* JSDocMemberName */: - while (isJSDocMemberName(node.parent)) { - node = node.parent; - } - return node.parent.kind === 186 /* TypeQuery */ || isJSDocLinkLike(node.parent) || isJSDocNameReference(node.parent) || isJSDocMemberName(node.parent) || isJSXTagName(node); - case 81 /* PrivateIdentifier */: - return isBinaryExpression(node.parent) && node.parent.left === node && node.parent.operatorToken.kind === 103 /* InKeyword */; - case 80 /* Identifier */: - if (node.parent.kind === 186 /* TypeQuery */ || isJSDocLinkLike(node.parent) || isJSDocNameReference(node.parent) || isJSDocMemberName(node.parent) || isJSXTagName(node)) { - return true; - } - case 9 /* NumericLiteral */: - case 10 /* BigIntLiteral */: - case 11 /* StringLiteral */: - case 15 /* NoSubstitutionTemplateLiteral */: - case 110 /* ThisKeyword */: - return isInExpressionContext(node); - default: - return false; - } -} -function isInExpressionContext(node) { - const { parent } = node; - switch (parent.kind) { - case 260 /* VariableDeclaration */: - case 169 /* Parameter */: - case 172 /* PropertyDeclaration */: - case 171 /* PropertySignature */: - case 306 /* EnumMember */: - case 303 /* PropertyAssignment */: - case 208 /* BindingElement */: - return parent.initializer === node; - case 244 /* ExpressionStatement */: - case 245 /* IfStatement */: - case 246 /* DoStatement */: - case 247 /* WhileStatement */: - case 253 /* ReturnStatement */: - case 254 /* WithStatement */: - case 255 /* SwitchStatement */: - case 296 /* CaseClause */: - case 257 /* ThrowStatement */: - return parent.expression === node; - case 248 /* ForStatement */: - const forStatement = parent; - return forStatement.initializer === node && forStatement.initializer.kind !== 261 /* VariableDeclarationList */ || forStatement.condition === node || forStatement.incrementor === node; - case 249 /* ForInStatement */: - case 250 /* ForOfStatement */: - const forInOrOfStatement = parent; - return forInOrOfStatement.initializer === node && forInOrOfStatement.initializer.kind !== 261 /* VariableDeclarationList */ || forInOrOfStatement.expression === node; - case 216 /* TypeAssertionExpression */: - case 234 /* AsExpression */: - return node === parent.expression; - case 239 /* TemplateSpan */: - return node === parent.expression; - case 167 /* ComputedPropertyName */: - return node === parent.expression; - case 170 /* Decorator */: - case 294 /* JsxExpression */: - case 293 /* JsxSpreadAttribute */: - case 305 /* SpreadAssignment */: - return true; - case 233 /* ExpressionWithTypeArguments */: - return parent.expression === node && !isPartOfTypeNode(parent); - case 304 /* ShorthandPropertyAssignment */: - return parent.objectAssignmentInitializer === node; - case 238 /* SatisfiesExpression */: - return node === parent.expression; - default: - return isExpressionNode(parent); - } -} -function isPartOfTypeQuery(node) { - while (node.kind === 166 /* QualifiedName */ || node.kind === 80 /* Identifier */) { - node = node.parent; - } - return node.kind === 186 /* TypeQuery */; -} -function isNamespaceReexportDeclaration(node) { - return isNamespaceExport(node) && !!node.parent.moduleSpecifier; -} -function isExternalModuleImportEqualsDeclaration(node) { - return node.kind === 271 /* ImportEqualsDeclaration */ && node.moduleReference.kind === 283 /* ExternalModuleReference */; -} -function getExternalModuleImportEqualsDeclarationExpression(node) { - Debug.assert(isExternalModuleImportEqualsDeclaration(node)); - return node.moduleReference.expression; -} -function getExternalModuleRequireArgument(node) { - return isVariableDeclarationInitializedToBareOrAccessedRequire(node) && getLeftmostAccessExpression(node.initializer).arguments[0]; -} -function isInternalModuleImportEqualsDeclaration(node) { - return node.kind === 271 /* ImportEqualsDeclaration */ && node.moduleReference.kind !== 283 /* ExternalModuleReference */; -} -function isFullSourceFile(sourceFile) { - return (sourceFile == null ? void 0 : sourceFile.kind) === 307 /* SourceFile */; -} -function isSourceFileJS(file) { - return isInJSFile(file); -} -function isInJSFile(node) { - return !!node && !!(node.flags & 524288 /* JavaScriptFile */); -} -function isInJsonFile(node) { - return !!node && !!(node.flags & 134217728 /* JsonFile */); -} -function isSourceFileNotJson(file) { - return !isJsonSourceFile(file); -} -function isInJSDoc(node) { - return !!node && !!(node.flags & 16777216 /* JSDoc */); -} -function isJSDocIndexSignature(node) { - return isTypeReferenceNode(node) && isIdentifier(node.typeName) && node.typeName.escapedText === "Object" && node.typeArguments && node.typeArguments.length === 2 && (node.typeArguments[0].kind === 154 /* StringKeyword */ || node.typeArguments[0].kind === 150 /* NumberKeyword */); -} -function isRequireCall(callExpression, requireStringLiteralLikeArgument) { - if (callExpression.kind !== 213 /* CallExpression */) { - return false; - } - const { expression, arguments: args } = callExpression; - if (expression.kind !== 80 /* Identifier */ || expression.escapedText !== "require") { - return false; - } - if (args.length !== 1) { - return false; - } - const arg = args[0]; - return !requireStringLiteralLikeArgument || isStringLiteralLike(arg); -} -function isVariableDeclarationInitializedToRequire(node) { - return isVariableDeclarationInitializedWithRequireHelper( - node, - /*allowAccessedRequire*/ - false - ); -} -function isVariableDeclarationInitializedToBareOrAccessedRequire(node) { - return isVariableDeclarationInitializedWithRequireHelper( - node, - /*allowAccessedRequire*/ - true - ); -} -function isBindingElementOfBareOrAccessedRequire(node) { - return isBindingElement(node) && isVariableDeclarationInitializedToBareOrAccessedRequire(node.parent.parent); -} -function isVariableDeclarationInitializedWithRequireHelper(node, allowAccessedRequire) { - return isVariableDeclaration(node) && !!node.initializer && isRequireCall( - allowAccessedRequire ? getLeftmostAccessExpression(node.initializer) : node.initializer, - /*requireStringLiteralLikeArgument*/ - true - ); -} -function isRequireVariableStatement(node) { - return isVariableStatement(node) && node.declarationList.declarations.length > 0 && every(node.declarationList.declarations, (decl) => isVariableDeclarationInitializedToRequire(decl)); -} -function isSingleOrDoubleQuote(charCode) { - return charCode === 39 /* singleQuote */ || charCode === 34 /* doubleQuote */; -} -function isStringDoubleQuoted(str, sourceFile) { - return getSourceTextOfNodeFromSourceFile(sourceFile, str).charCodeAt(0) === 34 /* doubleQuote */; -} -function isAssignmentDeclaration(decl) { - return isBinaryExpression(decl) || isAccessExpression(decl) || isIdentifier(decl) || isCallExpression(decl); -} -function getEffectiveInitializer(node) { - if (isInJSFile(node) && node.initializer && isBinaryExpression(node.initializer) && (node.initializer.operatorToken.kind === 57 /* BarBarToken */ || node.initializer.operatorToken.kind === 61 /* QuestionQuestionToken */) && node.name && isEntityNameExpression(node.name) && isSameEntityName(node.name, node.initializer.left)) { - return node.initializer.right; - } - return node.initializer; -} -function getDeclaredExpandoInitializer(node) { - const init = getEffectiveInitializer(node); - return init && getExpandoInitializer(init, isPrototypeAccess(node.name)); -} -function hasExpandoValueProperty(node, isPrototypeAssignment) { - return forEach(node.properties, (p) => isPropertyAssignment(p) && isIdentifier(p.name) && p.name.escapedText === "value" && p.initializer && getExpandoInitializer(p.initializer, isPrototypeAssignment)); -} -function getAssignedExpandoInitializer(node) { - if (node && node.parent && isBinaryExpression(node.parent) && node.parent.operatorToken.kind === 64 /* EqualsToken */) { - const isPrototypeAssignment = isPrototypeAccess(node.parent.left); - return getExpandoInitializer(node.parent.right, isPrototypeAssignment) || getDefaultedExpandoInitializer(node.parent.left, node.parent.right, isPrototypeAssignment); - } - if (node && isCallExpression(node) && isBindableObjectDefinePropertyCall(node)) { - const result = hasExpandoValueProperty(node.arguments[2], node.arguments[1].text === "prototype"); - if (result) { - return result; - } - } -} -function getExpandoInitializer(initializer, isPrototypeAssignment) { - if (isCallExpression(initializer)) { - const e = skipParentheses(initializer.expression); - return e.kind === 218 /* FunctionExpression */ || e.kind === 219 /* ArrowFunction */ ? initializer : void 0; - } - if (initializer.kind === 218 /* FunctionExpression */ || initializer.kind === 231 /* ClassExpression */ || initializer.kind === 219 /* ArrowFunction */) { - return initializer; - } - if (isObjectLiteralExpression(initializer) && (initializer.properties.length === 0 || isPrototypeAssignment)) { - return initializer; - } -} -function getDefaultedExpandoInitializer(name, initializer, isPrototypeAssignment) { - const e = isBinaryExpression(initializer) && (initializer.operatorToken.kind === 57 /* BarBarToken */ || initializer.operatorToken.kind === 61 /* QuestionQuestionToken */) && getExpandoInitializer(initializer.right, isPrototypeAssignment); - if (e && isSameEntityName(name, initializer.left)) { - return e; - } -} -function isDefaultedExpandoInitializer(node) { - const name = isVariableDeclaration(node.parent) ? node.parent.name : isBinaryExpression(node.parent) && node.parent.operatorToken.kind === 64 /* EqualsToken */ ? node.parent.left : void 0; - return name && getExpandoInitializer(node.right, isPrototypeAccess(name)) && isEntityNameExpression(name) && isSameEntityName(name, node.left); -} -function getNameOfExpando(node) { - if (isBinaryExpression(node.parent)) { - const parent = (node.parent.operatorToken.kind === 57 /* BarBarToken */ || node.parent.operatorToken.kind === 61 /* QuestionQuestionToken */) && isBinaryExpression(node.parent.parent) ? node.parent.parent : node.parent; - if (parent.operatorToken.kind === 64 /* EqualsToken */ && isIdentifier(parent.left)) { - return parent.left; - } - } else if (isVariableDeclaration(node.parent)) { - return node.parent.name; - } -} -function isSameEntityName(name, initializer) { - if (isPropertyNameLiteral(name) && isPropertyNameLiteral(initializer)) { - return getTextOfIdentifierOrLiteral(name) === getTextOfIdentifierOrLiteral(initializer); - } - if (isMemberName(name) && isLiteralLikeAccess(initializer) && (initializer.expression.kind === 110 /* ThisKeyword */ || isIdentifier(initializer.expression) && (initializer.expression.escapedText === "window" || initializer.expression.escapedText === "self" || initializer.expression.escapedText === "global"))) { - return isSameEntityName(name, getNameOrArgument(initializer)); - } - if (isLiteralLikeAccess(name) && isLiteralLikeAccess(initializer)) { - return getElementOrPropertyAccessName(name) === getElementOrPropertyAccessName(initializer) && isSameEntityName(name.expression, initializer.expression); - } - return false; -} -function getRightMostAssignedExpression(node) { - while (isAssignmentExpression( - node, - /*excludeCompoundAssignment*/ - true - )) { - node = node.right; - } - return node; -} -function isExportsIdentifier(node) { - return isIdentifier(node) && node.escapedText === "exports"; -} -function isModuleIdentifier(node) { - return isIdentifier(node) && node.escapedText === "module"; -} -function isModuleExportsAccessExpression(node) { - return (isPropertyAccessExpression(node) || isLiteralLikeElementAccess(node)) && isModuleIdentifier(node.expression) && getElementOrPropertyAccessName(node) === "exports"; -} -function getAssignmentDeclarationKind(expr) { - const special = getAssignmentDeclarationKindWorker(expr); - return special === 5 /* Property */ || isInJSFile(expr) ? special : 0 /* None */; -} -function isBindableObjectDefinePropertyCall(expr) { - return length(expr.arguments) === 3 && isPropertyAccessExpression(expr.expression) && isIdentifier(expr.expression.expression) && idText(expr.expression.expression) === "Object" && idText(expr.expression.name) === "defineProperty" && isStringOrNumericLiteralLike(expr.arguments[1]) && isBindableStaticNameExpression( - expr.arguments[0], - /*excludeThisKeyword*/ - true - ); -} -function isLiteralLikeAccess(node) { - return isPropertyAccessExpression(node) || isLiteralLikeElementAccess(node); -} -function isLiteralLikeElementAccess(node) { - return isElementAccessExpression(node) && isStringOrNumericLiteralLike(node.argumentExpression); -} -function isBindableStaticAccessExpression(node, excludeThisKeyword) { - return isPropertyAccessExpression(node) && (!excludeThisKeyword && node.expression.kind === 110 /* ThisKeyword */ || isIdentifier(node.name) && isBindableStaticNameExpression( - node.expression, - /*excludeThisKeyword*/ - true - )) || isBindableStaticElementAccessExpression(node, excludeThisKeyword); -} -function isBindableStaticElementAccessExpression(node, excludeThisKeyword) { - return isLiteralLikeElementAccess(node) && (!excludeThisKeyword && node.expression.kind === 110 /* ThisKeyword */ || isEntityNameExpression(node.expression) || isBindableStaticAccessExpression( - node.expression, - /*excludeThisKeyword*/ - true - )); -} -function isBindableStaticNameExpression(node, excludeThisKeyword) { - return isEntityNameExpression(node) || isBindableStaticAccessExpression(node, excludeThisKeyword); -} -function getNameOrArgument(expr) { - if (isPropertyAccessExpression(expr)) { - return expr.name; - } - return expr.argumentExpression; -} -function getAssignmentDeclarationKindWorker(expr) { - if (isCallExpression(expr)) { - if (!isBindableObjectDefinePropertyCall(expr)) { - return 0 /* None */; - } - const entityName = expr.arguments[0]; - if (isExportsIdentifier(entityName) || isModuleExportsAccessExpression(entityName)) { - return 8 /* ObjectDefinePropertyExports */; - } - if (isBindableStaticAccessExpression(entityName) && getElementOrPropertyAccessName(entityName) === "prototype") { - return 9 /* ObjectDefinePrototypeProperty */; - } - return 7 /* ObjectDefinePropertyValue */; - } - if (expr.operatorToken.kind !== 64 /* EqualsToken */ || !isAccessExpression(expr.left) || isVoidZero(getRightMostAssignedExpression(expr))) { - return 0 /* None */; - } - if (isBindableStaticNameExpression( - expr.left.expression, - /*excludeThisKeyword*/ - true - ) && getElementOrPropertyAccessName(expr.left) === "prototype" && isObjectLiteralExpression(getInitializerOfBinaryExpression(expr))) { - return 6 /* Prototype */; - } - return getAssignmentDeclarationPropertyAccessKind(expr.left); -} -function isVoidZero(node) { - return isVoidExpression(node) && isNumericLiteral(node.expression) && node.expression.text === "0"; -} -function getElementOrPropertyAccessArgumentExpressionOrName(node) { - if (isPropertyAccessExpression(node)) { - return node.name; - } - const arg = skipParentheses(node.argumentExpression); - if (isNumericLiteral(arg) || isStringLiteralLike(arg)) { - return arg; - } - return node; -} -function getElementOrPropertyAccessName(node) { - const name = getElementOrPropertyAccessArgumentExpressionOrName(node); - if (name) { - if (isIdentifier(name)) { - return name.escapedText; - } - if (isStringLiteralLike(name) || isNumericLiteral(name)) { - return escapeLeadingUnderscores(name.text); - } - } - return void 0; -} -function getAssignmentDeclarationPropertyAccessKind(lhs) { - if (lhs.expression.kind === 110 /* ThisKeyword */) { - return 4 /* ThisProperty */; - } else if (isModuleExportsAccessExpression(lhs)) { - return 2 /* ModuleExports */; - } else if (isBindableStaticNameExpression( - lhs.expression, - /*excludeThisKeyword*/ - true - )) { - if (isPrototypeAccess(lhs.expression)) { - return 3 /* PrototypeProperty */; - } - let nextToLast = lhs; - while (!isIdentifier(nextToLast.expression)) { - nextToLast = nextToLast.expression; - } - const id = nextToLast.expression; - if ((id.escapedText === "exports" || id.escapedText === "module" && getElementOrPropertyAccessName(nextToLast) === "exports") && // ExportsProperty does not support binding with computed names - isBindableStaticAccessExpression(lhs)) { - return 1 /* ExportsProperty */; - } - if (isBindableStaticNameExpression( - lhs, - /*excludeThisKeyword*/ - true - ) || isElementAccessExpression(lhs) && isDynamicName(lhs)) { - return 5 /* Property */; - } - } - return 0 /* None */; -} -function getInitializerOfBinaryExpression(expr) { - while (isBinaryExpression(expr.right)) { - expr = expr.right; - } - return expr.right; -} -function isPrototypePropertyAssignment(node) { - return isBinaryExpression(node) && getAssignmentDeclarationKind(node) === 3 /* PrototypeProperty */; -} -function isSpecialPropertyDeclaration(expr) { - return isInJSFile(expr) && expr.parent && expr.parent.kind === 244 /* ExpressionStatement */ && (!isElementAccessExpression(expr) || isLiteralLikeElementAccess(expr)) && !!getJSDocTypeTag(expr.parent); -} -function setValueDeclaration(symbol, node) { - const { valueDeclaration } = symbol; - if (!valueDeclaration || !(node.flags & 33554432 /* Ambient */ && !isInJSFile(node) && !(valueDeclaration.flags & 33554432 /* Ambient */)) && (isAssignmentDeclaration(valueDeclaration) && !isAssignmentDeclaration(node)) || valueDeclaration.kind !== node.kind && isEffectiveModuleDeclaration(valueDeclaration)) { - symbol.valueDeclaration = node; - } -} -function isFunctionSymbol(symbol) { - if (!symbol || !symbol.valueDeclaration) { - return false; - } - const decl = symbol.valueDeclaration; - return decl.kind === 262 /* FunctionDeclaration */ || isVariableDeclaration(decl) && decl.initializer && isFunctionLike(decl.initializer); -} -function canHaveModuleSpecifier(node) { - switch (node == null ? void 0 : node.kind) { - case 260 /* VariableDeclaration */: - case 208 /* BindingElement */: - case 272 /* ImportDeclaration */: - case 278 /* ExportDeclaration */: - case 271 /* ImportEqualsDeclaration */: - case 273 /* ImportClause */: - case 280 /* NamespaceExport */: - case 274 /* NamespaceImport */: - case 281 /* ExportSpecifier */: - case 276 /* ImportSpecifier */: - case 205 /* ImportType */: - return true; - } - return false; -} -function tryGetModuleSpecifierFromDeclaration(node) { - var _a, _b; - switch (node.kind) { - case 260 /* VariableDeclaration */: - case 208 /* BindingElement */: - return (_a = findAncestor(node.initializer, (node2) => isRequireCall( - node2, - /*requireStringLiteralLikeArgument*/ - true - ))) == null ? void 0 : _a.arguments[0]; - case 272 /* ImportDeclaration */: - case 278 /* ExportDeclaration */: - case 351 /* JSDocImportTag */: - return tryCast(node.moduleSpecifier, isStringLiteralLike); - case 271 /* ImportEqualsDeclaration */: - return tryCast((_b = tryCast(node.moduleReference, isExternalModuleReference)) == null ? void 0 : _b.expression, isStringLiteralLike); - case 273 /* ImportClause */: - case 280 /* NamespaceExport */: - return tryCast(node.parent.moduleSpecifier, isStringLiteralLike); - case 274 /* NamespaceImport */: - case 281 /* ExportSpecifier */: - return tryCast(node.parent.parent.moduleSpecifier, isStringLiteralLike); - case 276 /* ImportSpecifier */: - return tryCast(node.parent.parent.parent.moduleSpecifier, isStringLiteralLike); - case 205 /* ImportType */: - return isLiteralImportTypeNode(node) ? node.argument.literal : void 0; - default: - Debug.assertNever(node); - } -} -function getExternalModuleName(node) { - switch (node.kind) { - case 272 /* ImportDeclaration */: - case 278 /* ExportDeclaration */: - case 351 /* JSDocImportTag */: - return node.moduleSpecifier; - case 271 /* ImportEqualsDeclaration */: - return node.moduleReference.kind === 283 /* ExternalModuleReference */ ? node.moduleReference.expression : void 0; - case 205 /* ImportType */: - return isLiteralImportTypeNode(node) ? node.argument.literal : void 0; - case 213 /* CallExpression */: - return node.arguments[0]; - case 267 /* ModuleDeclaration */: - return node.name.kind === 11 /* StringLiteral */ ? node.name : void 0; - default: - return Debug.assertNever(node); - } -} -function getNamespaceDeclarationNode(node) { - switch (node.kind) { - case 272 /* ImportDeclaration */: - return node.importClause && tryCast(node.importClause.namedBindings, isNamespaceImport); - case 271 /* ImportEqualsDeclaration */: - return node; - case 278 /* ExportDeclaration */: - return node.exportClause && tryCast(node.exportClause, isNamespaceExport); - default: - return Debug.assertNever(node); - } -} -function isDefaultImport(node) { - return (node.kind === 272 /* ImportDeclaration */ || node.kind === 351 /* JSDocImportTag */) && !!node.importClause && !!node.importClause.name; -} -function hasQuestionToken(node) { - if (node) { - switch (node.kind) { - case 169 /* Parameter */: - case 174 /* MethodDeclaration */: - case 173 /* MethodSignature */: - case 304 /* ShorthandPropertyAssignment */: - case 303 /* PropertyAssignment */: - case 172 /* PropertyDeclaration */: - case 171 /* PropertySignature */: - return node.questionToken !== void 0; - } - } - return false; -} -function isJSDocConstructSignature(node) { - const param = isJSDocFunctionType(node) ? firstOrUndefined(node.parameters) : void 0; - const name = tryCast(param && param.name, isIdentifier); - return !!name && name.escapedText === "new"; -} -function isJSDocTypeAlias(node) { - return node.kind === 346 /* JSDocTypedefTag */ || node.kind === 338 /* JSDocCallbackTag */ || node.kind === 340 /* JSDocEnumTag */; -} -function isTypeAlias(node) { - return isJSDocTypeAlias(node) || isTypeAliasDeclaration(node); -} -function getSourceOfAssignment(node) { - return isExpressionStatement(node) && isBinaryExpression(node.expression) && node.expression.operatorToken.kind === 64 /* EqualsToken */ ? getRightMostAssignedExpression(node.expression) : void 0; -} -function getSourceOfDefaultedAssignment(node) { - return isExpressionStatement(node) && isBinaryExpression(node.expression) && getAssignmentDeclarationKind(node.expression) !== 0 /* None */ && isBinaryExpression(node.expression.right) && (node.expression.right.operatorToken.kind === 57 /* BarBarToken */ || node.expression.right.operatorToken.kind === 61 /* QuestionQuestionToken */) ? node.expression.right.right : void 0; -} -function getSingleInitializerOfVariableStatementOrPropertyDeclaration(node) { - switch (node.kind) { - case 243 /* VariableStatement */: - const v = getSingleVariableOfVariableStatement(node); - return v && v.initializer; - case 172 /* PropertyDeclaration */: - return node.initializer; - case 303 /* PropertyAssignment */: - return node.initializer; - } -} -function getSingleVariableOfVariableStatement(node) { - return isVariableStatement(node) ? firstOrUndefined(node.declarationList.declarations) : void 0; -} -function getNestedModuleDeclaration(node) { - return isModuleDeclaration(node) && node.body && node.body.kind === 267 /* ModuleDeclaration */ ? node.body : void 0; -} -function canHaveFlowNode(node) { - if (node.kind >= 243 /* FirstStatement */ && node.kind <= 259 /* LastStatement */) { - return true; - } - switch (node.kind) { - case 80 /* Identifier */: - case 110 /* ThisKeyword */: - case 108 /* SuperKeyword */: - case 166 /* QualifiedName */: - case 236 /* MetaProperty */: - case 212 /* ElementAccessExpression */: - case 211 /* PropertyAccessExpression */: - case 208 /* BindingElement */: - case 218 /* FunctionExpression */: - case 219 /* ArrowFunction */: - case 174 /* MethodDeclaration */: - case 177 /* GetAccessor */: - case 178 /* SetAccessor */: - return true; - default: - return false; - } -} -function canHaveJSDoc(node) { - switch (node.kind) { - case 219 /* ArrowFunction */: - case 226 /* BinaryExpression */: - case 241 /* Block */: - case 252 /* BreakStatement */: - case 179 /* CallSignature */: - case 296 /* CaseClause */: - case 263 /* ClassDeclaration */: - case 231 /* ClassExpression */: - case 175 /* ClassStaticBlockDeclaration */: - case 176 /* Constructor */: - case 185 /* ConstructorType */: - case 180 /* ConstructSignature */: - case 251 /* ContinueStatement */: - case 259 /* DebuggerStatement */: - case 246 /* DoStatement */: - case 212 /* ElementAccessExpression */: - case 242 /* EmptyStatement */: - case 1 /* EndOfFileToken */: - case 266 /* EnumDeclaration */: - case 306 /* EnumMember */: - case 277 /* ExportAssignment */: - case 278 /* ExportDeclaration */: - case 281 /* ExportSpecifier */: - case 244 /* ExpressionStatement */: - case 249 /* ForInStatement */: - case 250 /* ForOfStatement */: - case 248 /* ForStatement */: - case 262 /* FunctionDeclaration */: - case 218 /* FunctionExpression */: - case 184 /* FunctionType */: - case 177 /* GetAccessor */: - case 80 /* Identifier */: - case 245 /* IfStatement */: - case 272 /* ImportDeclaration */: - case 271 /* ImportEqualsDeclaration */: - case 181 /* IndexSignature */: - case 264 /* InterfaceDeclaration */: - case 317 /* JSDocFunctionType */: - case 323 /* JSDocSignature */: - case 256 /* LabeledStatement */: - case 174 /* MethodDeclaration */: - case 173 /* MethodSignature */: - case 267 /* ModuleDeclaration */: - case 202 /* NamedTupleMember */: - case 270 /* NamespaceExportDeclaration */: - case 210 /* ObjectLiteralExpression */: - case 169 /* Parameter */: - case 217 /* ParenthesizedExpression */: - case 211 /* PropertyAccessExpression */: - case 303 /* PropertyAssignment */: - case 172 /* PropertyDeclaration */: - case 171 /* PropertySignature */: - case 253 /* ReturnStatement */: - case 240 /* SemicolonClassElement */: - case 178 /* SetAccessor */: - case 304 /* ShorthandPropertyAssignment */: - case 305 /* SpreadAssignment */: - case 255 /* SwitchStatement */: - case 257 /* ThrowStatement */: - case 258 /* TryStatement */: - case 265 /* TypeAliasDeclaration */: - case 168 /* TypeParameter */: - case 260 /* VariableDeclaration */: - case 243 /* VariableStatement */: - case 247 /* WhileStatement */: - case 254 /* WithStatement */: - return true; - default: - return false; - } -} -function getJSDocCommentsAndTags(hostNode, noCache) { - let result; - if (isVariableLike(hostNode) && hasInitializer(hostNode) && hasJSDocNodes(hostNode.initializer)) { - result = addRange(result, filterOwnedJSDocTags(hostNode, hostNode.initializer.jsDoc)); - } - let node = hostNode; - while (node && node.parent) { - if (hasJSDocNodes(node)) { - result = addRange(result, filterOwnedJSDocTags(hostNode, node.jsDoc)); - } - if (node.kind === 169 /* Parameter */) { - result = addRange(result, (noCache ? getJSDocParameterTagsNoCache : getJSDocParameterTags)(node)); - break; - } - if (node.kind === 168 /* TypeParameter */) { - result = addRange(result, (noCache ? getJSDocTypeParameterTagsNoCache : getJSDocTypeParameterTags)(node)); - break; - } - node = getNextJSDocCommentLocation(node); - } - return result || emptyArray; -} -function filterOwnedJSDocTags(hostNode, comments) { - const lastJsDoc = last(comments); - return flatMap(comments, (jsDoc) => { - if (jsDoc === lastJsDoc) { - const ownedTags = filter(jsDoc.tags, (tag) => ownsJSDocTag(hostNode, tag)); - return jsDoc.tags === ownedTags ? [jsDoc] : ownedTags; - } else { - return filter(jsDoc.tags, isJSDocOverloadTag); - } - }); -} -function ownsJSDocTag(hostNode, tag) { - return !(isJSDocTypeTag(tag) || isJSDocSatisfiesTag(tag)) || !tag.parent || !isJSDoc(tag.parent) || !isParenthesizedExpression(tag.parent.parent) || tag.parent.parent === hostNode; -} -function getNextJSDocCommentLocation(node) { - const parent = node.parent; - if (parent.kind === 303 /* PropertyAssignment */ || parent.kind === 277 /* ExportAssignment */ || parent.kind === 172 /* PropertyDeclaration */ || parent.kind === 244 /* ExpressionStatement */ && node.kind === 211 /* PropertyAccessExpression */ || parent.kind === 253 /* ReturnStatement */ || getNestedModuleDeclaration(parent) || isAssignmentExpression(node)) { - return parent; - } else if (parent.parent && (getSingleVariableOfVariableStatement(parent.parent) === node || isAssignmentExpression(parent))) { - return parent.parent; - } else if (parent.parent && parent.parent.parent && (getSingleVariableOfVariableStatement(parent.parent.parent) || getSingleInitializerOfVariableStatementOrPropertyDeclaration(parent.parent.parent) === node || getSourceOfDefaultedAssignment(parent.parent.parent))) { - return parent.parent.parent; - } -} -function getParameterSymbolFromJSDoc(node) { - if (node.symbol) { - return node.symbol; - } - if (!isIdentifier(node.name)) { - return void 0; - } - const name = node.name.escapedText; - const decl = getHostSignatureFromJSDoc(node); - if (!decl) { - return void 0; - } - const parameter = find(decl.parameters, (p) => p.name.kind === 80 /* Identifier */ && p.name.escapedText === name); - return parameter && parameter.symbol; -} -function getEffectiveContainerForJSDocTemplateTag(node) { - if (isJSDoc(node.parent) && node.parent.tags) { - const typeAlias = find(node.parent.tags, isJSDocTypeAlias); - if (typeAlias) { - return typeAlias; - } - } - return getHostSignatureFromJSDoc(node); -} -function getJSDocOverloadTags(node) { - return getAllJSDocTags(node, isJSDocOverloadTag); -} -function getHostSignatureFromJSDoc(node) { - const host = getEffectiveJSDocHost(node); - if (host) { - return isPropertySignature(host) && host.type && isFunctionLike(host.type) ? host.type : isFunctionLike(host) ? host : void 0; - } - return void 0; -} -function getEffectiveJSDocHost(node) { - const host = getJSDocHost(node); - if (host) { - return getSourceOfDefaultedAssignment(host) || getSourceOfAssignment(host) || getSingleInitializerOfVariableStatementOrPropertyDeclaration(host) || getSingleVariableOfVariableStatement(host) || getNestedModuleDeclaration(host) || host; - } -} -function getJSDocHost(node) { - const jsDoc = getJSDocRoot(node); - if (!jsDoc) { - return void 0; - } - const host = jsDoc.parent; - if (host && host.jsDoc && jsDoc === lastOrUndefined(host.jsDoc)) { - return host; - } -} -function getJSDocRoot(node) { - return findAncestor(node.parent, isJSDoc); -} -function getTypeParameterFromJsDoc(node) { - const name = node.name.escapedText; - const { typeParameters } = node.parent.parent.parent; - return typeParameters && find(typeParameters, (p) => p.name.escapedText === name); -} -function getAssignmentTarget(node) { - let parent = node.parent; - while (true) { - switch (parent.kind) { - case 226 /* BinaryExpression */: - const binaryExpression = parent; - const binaryOperator = binaryExpression.operatorToken.kind; - return isAssignmentOperator(binaryOperator) && binaryExpression.left === node ? binaryExpression : void 0; - case 224 /* PrefixUnaryExpression */: - case 225 /* PostfixUnaryExpression */: - const unaryExpression = parent; - const unaryOperator = unaryExpression.operator; - return unaryOperator === 46 /* PlusPlusToken */ || unaryOperator === 47 /* MinusMinusToken */ ? unaryExpression : void 0; - case 249 /* ForInStatement */: - case 250 /* ForOfStatement */: - const forInOrOfStatement = parent; - return forInOrOfStatement.initializer === node ? forInOrOfStatement : void 0; - case 217 /* ParenthesizedExpression */: - case 209 /* ArrayLiteralExpression */: - case 230 /* SpreadElement */: - case 235 /* NonNullExpression */: - node = parent; - break; - case 305 /* SpreadAssignment */: - node = parent.parent; - break; - case 304 /* ShorthandPropertyAssignment */: - if (parent.name !== node) { - return void 0; - } - node = parent.parent; - break; - case 303 /* PropertyAssignment */: - if (parent.name === node) { - return void 0; - } - node = parent.parent; - break; - default: - return void 0; - } - parent = node.parent; - } -} -function getAssignmentTargetKind(node) { - const target = getAssignmentTarget(node); - if (!target) { - return 0 /* None */; - } - switch (target.kind) { - case 226 /* BinaryExpression */: - const binaryOperator = target.operatorToken.kind; - return binaryOperator === 64 /* EqualsToken */ || isLogicalOrCoalescingAssignmentOperator(binaryOperator) ? 1 /* Definite */ : 2 /* Compound */; - case 224 /* PrefixUnaryExpression */: - case 225 /* PostfixUnaryExpression */: - return 2 /* Compound */; - case 249 /* ForInStatement */: - case 250 /* ForOfStatement */: - return 1 /* Definite */; - } -} -function isAssignmentTarget(node) { - return !!getAssignmentTarget(node); -} -function isCompoundLikeAssignment(assignment) { - const right = skipParentheses(assignment.right); - return right.kind === 226 /* BinaryExpression */ && isShiftOperatorOrHigher(right.operatorToken.kind); -} -function isInCompoundLikeAssignment(node) { - const target = getAssignmentTarget(node); - return !!target && isAssignmentExpression( - target, - /*excludeCompoundAssignment*/ - true - ) && isCompoundLikeAssignment(target); -} -function isNodeWithPossibleHoistedDeclaration(node) { - switch (node.kind) { - case 241 /* Block */: - case 243 /* VariableStatement */: - case 254 /* WithStatement */: - case 245 /* IfStatement */: - case 255 /* SwitchStatement */: - case 269 /* CaseBlock */: - case 296 /* CaseClause */: - case 297 /* DefaultClause */: - case 256 /* LabeledStatement */: - case 248 /* ForStatement */: - case 249 /* ForInStatement */: - case 250 /* ForOfStatement */: - case 246 /* DoStatement */: - case 247 /* WhileStatement */: - case 258 /* TryStatement */: - case 299 /* CatchClause */: - return true; - } - return false; -} -function isValueSignatureDeclaration(node) { - return isFunctionExpression(node) || isArrowFunction(node) || isMethodOrAccessor(node) || isFunctionDeclaration(node) || isConstructorDeclaration(node); -} -function walkUp(node, kind) { - while (node && node.kind === kind) { - node = node.parent; - } - return node; -} -function walkUpParenthesizedTypes(node) { - return walkUp(node, 196 /* ParenthesizedType */); -} -function walkUpParenthesizedExpressions(node) { - return walkUp(node, 217 /* ParenthesizedExpression */); -} -function walkUpParenthesizedTypesAndGetParentAndChild(node) { - let child; - while (node && node.kind === 196 /* ParenthesizedType */) { - child = node; - node = node.parent; - } - return [child, node]; -} -function skipTypeParentheses(node) { - while (isParenthesizedTypeNode(node)) node = node.type; - return node; -} -function skipParentheses(node, excludeJSDocTypeAssertions) { - const flags = excludeJSDocTypeAssertions ? 1 /* Parentheses */ | -2147483648 /* ExcludeJSDocTypeAssertion */ : 1 /* Parentheses */; - return skipOuterExpressions(node, flags); -} -function isDeleteTarget(node) { - if (node.kind !== 211 /* PropertyAccessExpression */ && node.kind !== 212 /* ElementAccessExpression */) { - return false; - } - node = walkUpParenthesizedExpressions(node.parent); - return node && node.kind === 220 /* DeleteExpression */; -} -function isNodeDescendantOf(node, ancestor) { - while (node) { - if (node === ancestor) return true; - node = node.parent; - } - return false; -} -function isDeclarationName(name) { - return !isSourceFile(name) && !isBindingPattern(name) && isDeclaration(name.parent) && name.parent.name === name; -} -function isLiteralComputedPropertyDeclarationName(node) { - return isStringOrNumericLiteralLike(node) && node.parent.kind === 167 /* ComputedPropertyName */ && isDeclaration(node.parent.parent); -} -function isIdentifierName(node) { - const parent = node.parent; - switch (parent.kind) { - case 172 /* PropertyDeclaration */: - case 171 /* PropertySignature */: - case 174 /* MethodDeclaration */: - case 173 /* MethodSignature */: - case 177 /* GetAccessor */: - case 178 /* SetAccessor */: - case 306 /* EnumMember */: - case 303 /* PropertyAssignment */: - case 211 /* PropertyAccessExpression */: - return parent.name === node; - case 166 /* QualifiedName */: - return parent.right === node; - case 208 /* BindingElement */: - case 276 /* ImportSpecifier */: - return parent.propertyName === node; - case 281 /* ExportSpecifier */: - case 291 /* JsxAttribute */: - case 285 /* JsxSelfClosingElement */: - case 286 /* JsxOpeningElement */: - case 287 /* JsxClosingElement */: - return true; - } - return false; -} -function getAliasDeclarationFromName(node) { - switch (node.parent.kind) { - case 273 /* ImportClause */: - case 276 /* ImportSpecifier */: - case 274 /* NamespaceImport */: - case 281 /* ExportSpecifier */: - case 277 /* ExportAssignment */: - case 271 /* ImportEqualsDeclaration */: - case 280 /* NamespaceExport */: - return node.parent; - case 166 /* QualifiedName */: - do { - node = node.parent; - } while (node.parent.kind === 166 /* QualifiedName */); - return getAliasDeclarationFromName(node); - } -} -function isAliasableExpression(e) { - return isEntityNameExpression(e) || isClassExpression(e); -} -function exportAssignmentIsAlias(node) { - const e = getExportAssignmentExpression(node); - return isAliasableExpression(e); -} -function getExportAssignmentExpression(node) { - return isExportAssignment(node) ? node.expression : node.right; -} -function getPropertyAssignmentAliasLikeExpression(node) { - return node.kind === 304 /* ShorthandPropertyAssignment */ ? node.name : node.kind === 303 /* PropertyAssignment */ ? node.initializer : node.parent.right; -} -function getEffectiveBaseTypeNode(node) { - const baseType = getClassExtendsHeritageElement(node); - if (baseType && isInJSFile(node)) { - const tag = getJSDocAugmentsTag(node); - if (tag) { - return tag.class; - } - } - return baseType; -} -function getClassExtendsHeritageElement(node) { - const heritageClause = getHeritageClause(node.heritageClauses, 96 /* ExtendsKeyword */); - return heritageClause && heritageClause.types.length > 0 ? heritageClause.types[0] : void 0; -} -function getEffectiveImplementsTypeNodes(node) { - if (isInJSFile(node)) { - return getJSDocImplementsTags(node).map((n) => n.class); - } else { - const heritageClause = getHeritageClause(node.heritageClauses, 119 /* ImplementsKeyword */); - return heritageClause == null ? void 0 : heritageClause.types; - } -} -function getInterfaceBaseTypeNodes(node) { - const heritageClause = getHeritageClause(node.heritageClauses, 96 /* ExtendsKeyword */); - return heritageClause ? heritageClause.types : void 0; -} -function getHeritageClause(clauses, kind) { - if (clauses) { - for (const clause of clauses) { - if (clause.token === kind) { - return clause; - } - } - } - return void 0; -} -function getAncestor(node, kind) { - while (node) { - if (node.kind === kind) { - return node; - } - node = node.parent; - } - return void 0; -} -function isKeyword(token) { - return 83 /* FirstKeyword */ <= token && token <= 165 /* LastKeyword */; -} -function isPunctuation(token) { - return 19 /* FirstPunctuation */ <= token && token <= 79 /* LastPunctuation */; -} -function isKeywordOrPunctuation(token) { - return isKeyword(token) || isPunctuation(token); -} -function isContextualKeyword(token) { - return 128 /* FirstContextualKeyword */ <= token && token <= 165 /* LastContextualKeyword */; -} -function isNonContextualKeyword(token) { - return isKeyword(token) && !isContextualKeyword(token); -} -function isStringANonContextualKeyword(name) { - const token = stringToToken(name); - return token !== void 0 && isNonContextualKeyword(token); -} -function isIdentifierANonContextualKeyword(node) { - const originalKeywordKind = identifierToKeywordKind(node); - return !!originalKeywordKind && !isContextualKeyword(originalKeywordKind); -} -function getFunctionFlags(node) { - if (!node) { - return 4 /* Invalid */; - } - let flags = 0 /* Normal */; - switch (node.kind) { - case 262 /* FunctionDeclaration */: - case 218 /* FunctionExpression */: - case 174 /* MethodDeclaration */: - if (node.asteriskToken) { - flags |= 1 /* Generator */; - } - case 219 /* ArrowFunction */: - if (hasSyntacticModifier(node, 1024 /* Async */)) { - flags |= 2 /* Async */; - } - break; - } - if (!node.body) { - flags |= 4 /* Invalid */; - } - return flags; -} -function isAsyncFunction(node) { - switch (node.kind) { - case 262 /* FunctionDeclaration */: - case 218 /* FunctionExpression */: - case 219 /* ArrowFunction */: - case 174 /* MethodDeclaration */: - return node.body !== void 0 && node.asteriskToken === void 0 && hasSyntacticModifier(node, 1024 /* Async */); - } - return false; -} -function isStringOrNumericLiteralLike(node) { - return isStringLiteralLike(node) || isNumericLiteral(node); -} -function isSignedNumericLiteral(node) { - return isPrefixUnaryExpression(node) && (node.operator === 40 /* PlusToken */ || node.operator === 41 /* MinusToken */) && isNumericLiteral(node.operand); -} -function hasDynamicName(declaration) { - const name = getNameOfDeclaration(declaration); - return !!name && isDynamicName(name); -} -function isDynamicName(name) { - if (!(name.kind === 167 /* ComputedPropertyName */ || name.kind === 212 /* ElementAccessExpression */)) { - return false; - } - const expr = isElementAccessExpression(name) ? skipParentheses(name.argumentExpression) : name.expression; - return !isStringOrNumericLiteralLike(expr) && !isSignedNumericLiteral(expr); -} -function getPropertyNameForPropertyNameNode(name) { - switch (name.kind) { - case 80 /* Identifier */: - case 81 /* PrivateIdentifier */: - return name.escapedText; - case 11 /* StringLiteral */: - case 15 /* NoSubstitutionTemplateLiteral */: - case 9 /* NumericLiteral */: - case 10 /* BigIntLiteral */: - return escapeLeadingUnderscores(name.text); - case 167 /* ComputedPropertyName */: - const nameExpression = name.expression; - if (isStringOrNumericLiteralLike(nameExpression)) { - return escapeLeadingUnderscores(nameExpression.text); - } else if (isSignedNumericLiteral(nameExpression)) { - if (nameExpression.operator === 41 /* MinusToken */) { - return tokenToString(nameExpression.operator) + nameExpression.operand.text; - } - return nameExpression.operand.text; - } - return void 0; - case 295 /* JsxNamespacedName */: - return getEscapedTextOfJsxNamespacedName(name); - default: - return Debug.assertNever(name); - } -} -function isPropertyNameLiteral(node) { - switch (node.kind) { - case 80 /* Identifier */: - case 11 /* StringLiteral */: - case 15 /* NoSubstitutionTemplateLiteral */: - case 9 /* NumericLiteral */: - return true; - default: - return false; - } -} -function getTextOfIdentifierOrLiteral(node) { - return isMemberName(node) ? idText(node) : isJsxNamespacedName(node) ? getTextOfJsxNamespacedName(node) : node.text; -} -function getEscapedTextOfIdentifierOrLiteral(node) { - return isMemberName(node) ? node.escapedText : isJsxNamespacedName(node) ? getEscapedTextOfJsxNamespacedName(node) : escapeLeadingUnderscores(node.text); -} -function getSymbolNameForPrivateIdentifier(containingClassSymbol, description) { - return `__#${getSymbolId(containingClassSymbol)}@${description}`; -} -function isKnownSymbol(symbol) { - return startsWith(symbol.escapedName, "__@"); -} -function isProtoSetter(node) { - return isIdentifier(node) ? idText(node) === "__proto__" : isStringLiteral(node) && node.text === "__proto__"; -} -function isAnonymousFunctionDefinition(node, cb) { - node = skipOuterExpressions(node); - switch (node.kind) { - case 231 /* ClassExpression */: - if (classHasDeclaredOrExplicitlyAssignedName(node)) { - return false; - } - break; - case 218 /* FunctionExpression */: - if (node.name) { - return false; - } - break; - case 219 /* ArrowFunction */: - break; - default: - return false; - } - return typeof cb === "function" ? cb(node) : true; -} -function isNamedEvaluationSource(node) { - switch (node.kind) { - case 303 /* PropertyAssignment */: - return !isProtoSetter(node.name); - case 304 /* ShorthandPropertyAssignment */: - return !!node.objectAssignmentInitializer; - case 260 /* VariableDeclaration */: - return isIdentifier(node.name) && !!node.initializer; - case 169 /* Parameter */: - return isIdentifier(node.name) && !!node.initializer && !node.dotDotDotToken; - case 208 /* BindingElement */: - return isIdentifier(node.name) && !!node.initializer && !node.dotDotDotToken; - case 172 /* PropertyDeclaration */: - return !!node.initializer; - case 226 /* BinaryExpression */: - switch (node.operatorToken.kind) { - case 64 /* EqualsToken */: - case 77 /* AmpersandAmpersandEqualsToken */: - case 76 /* BarBarEqualsToken */: - case 78 /* QuestionQuestionEqualsToken */: - return isIdentifier(node.left); - } - break; - case 277 /* ExportAssignment */: - return true; - } - return false; -} -function isNamedEvaluation(node, cb) { - if (!isNamedEvaluationSource(node)) return false; - switch (node.kind) { - case 303 /* PropertyAssignment */: - return isAnonymousFunctionDefinition(node.initializer, cb); - case 304 /* ShorthandPropertyAssignment */: - return isAnonymousFunctionDefinition(node.objectAssignmentInitializer, cb); - case 260 /* VariableDeclaration */: - case 169 /* Parameter */: - case 208 /* BindingElement */: - case 172 /* PropertyDeclaration */: - return isAnonymousFunctionDefinition(node.initializer, cb); - case 226 /* BinaryExpression */: - return isAnonymousFunctionDefinition(node.right, cb); - case 277 /* ExportAssignment */: - return isAnonymousFunctionDefinition(node.expression, cb); - } -} -function isPushOrUnshiftIdentifier(node) { - return node.escapedText === "push" || node.escapedText === "unshift"; -} -function isPartOfParameterDeclaration(node) { - const root = getRootDeclaration(node); - return root.kind === 169 /* Parameter */; -} -function getRootDeclaration(node) { - while (node.kind === 208 /* BindingElement */) { - node = node.parent.parent; - } - return node; -} -function nodeStartsNewLexicalEnvironment(node) { - const kind = node.kind; - return kind === 176 /* Constructor */ || kind === 218 /* FunctionExpression */ || kind === 262 /* FunctionDeclaration */ || kind === 219 /* ArrowFunction */ || kind === 174 /* MethodDeclaration */ || kind === 177 /* GetAccessor */ || kind === 178 /* SetAccessor */ || kind === 267 /* ModuleDeclaration */ || kind === 307 /* SourceFile */; -} -function nodeIsSynthesized(range) { - return positionIsSynthesized(range.pos) || positionIsSynthesized(range.end); -} -function getExpressionAssociativity(expression) { - const operator = getOperator(expression); - const hasArguments = expression.kind === 214 /* NewExpression */ && expression.arguments !== void 0; - return getOperatorAssociativity(expression.kind, operator, hasArguments); -} -function getOperatorAssociativity(kind, operator, hasArguments) { - switch (kind) { - case 214 /* NewExpression */: - return hasArguments ? 0 /* Left */ : 1 /* Right */; - case 224 /* PrefixUnaryExpression */: - case 221 /* TypeOfExpression */: - case 222 /* VoidExpression */: - case 220 /* DeleteExpression */: - case 223 /* AwaitExpression */: - case 227 /* ConditionalExpression */: - case 229 /* YieldExpression */: - return 1 /* Right */; - case 226 /* BinaryExpression */: - switch (operator) { - case 43 /* AsteriskAsteriskToken */: - case 64 /* EqualsToken */: - case 65 /* PlusEqualsToken */: - case 66 /* MinusEqualsToken */: - case 68 /* AsteriskAsteriskEqualsToken */: - case 67 /* AsteriskEqualsToken */: - case 69 /* SlashEqualsToken */: - case 70 /* PercentEqualsToken */: - case 71 /* LessThanLessThanEqualsToken */: - case 72 /* GreaterThanGreaterThanEqualsToken */: - case 73 /* GreaterThanGreaterThanGreaterThanEqualsToken */: - case 74 /* AmpersandEqualsToken */: - case 79 /* CaretEqualsToken */: - case 75 /* BarEqualsToken */: - case 76 /* BarBarEqualsToken */: - case 77 /* AmpersandAmpersandEqualsToken */: - case 78 /* QuestionQuestionEqualsToken */: - return 1 /* Right */; - } - } - return 0 /* Left */; -} -function getExpressionPrecedence(expression) { - const operator = getOperator(expression); - const hasArguments = expression.kind === 214 /* NewExpression */ && expression.arguments !== void 0; - return getOperatorPrecedence(expression.kind, operator, hasArguments); -} -function getOperator(expression) { - if (expression.kind === 226 /* BinaryExpression */) { - return expression.operatorToken.kind; - } else if (expression.kind === 224 /* PrefixUnaryExpression */ || expression.kind === 225 /* PostfixUnaryExpression */) { - return expression.operator; - } else { - return expression.kind; - } -} -function getOperatorPrecedence(nodeKind, operatorKind, hasArguments) { - switch (nodeKind) { - case 355 /* CommaListExpression */: - return 0 /* Comma */; - case 230 /* SpreadElement */: - return 1 /* Spread */; - case 229 /* YieldExpression */: - return 2 /* Yield */; - case 227 /* ConditionalExpression */: - return 4 /* Conditional */; - case 226 /* BinaryExpression */: - switch (operatorKind) { - case 28 /* CommaToken */: - return 0 /* Comma */; - case 64 /* EqualsToken */: - case 65 /* PlusEqualsToken */: - case 66 /* MinusEqualsToken */: - case 68 /* AsteriskAsteriskEqualsToken */: - case 67 /* AsteriskEqualsToken */: - case 69 /* SlashEqualsToken */: - case 70 /* PercentEqualsToken */: - case 71 /* LessThanLessThanEqualsToken */: - case 72 /* GreaterThanGreaterThanEqualsToken */: - case 73 /* GreaterThanGreaterThanGreaterThanEqualsToken */: - case 74 /* AmpersandEqualsToken */: - case 79 /* CaretEqualsToken */: - case 75 /* BarEqualsToken */: - case 76 /* BarBarEqualsToken */: - case 77 /* AmpersandAmpersandEqualsToken */: - case 78 /* QuestionQuestionEqualsToken */: - return 3 /* Assignment */; - default: - return getBinaryOperatorPrecedence(operatorKind); - } - case 216 /* TypeAssertionExpression */: - case 235 /* NonNullExpression */: - case 224 /* PrefixUnaryExpression */: - case 221 /* TypeOfExpression */: - case 222 /* VoidExpression */: - case 220 /* DeleteExpression */: - case 223 /* AwaitExpression */: - return 16 /* Unary */; - case 225 /* PostfixUnaryExpression */: - return 17 /* Update */; - case 213 /* CallExpression */: - return 18 /* LeftHandSide */; - case 214 /* NewExpression */: - return hasArguments ? 19 /* Member */ : 18 /* LeftHandSide */; - case 215 /* TaggedTemplateExpression */: - case 211 /* PropertyAccessExpression */: - case 212 /* ElementAccessExpression */: - case 236 /* MetaProperty */: - return 19 /* Member */; - case 234 /* AsExpression */: - case 238 /* SatisfiesExpression */: - return 11 /* Relational */; - case 110 /* ThisKeyword */: - case 108 /* SuperKeyword */: - case 80 /* Identifier */: - case 81 /* PrivateIdentifier */: - case 106 /* NullKeyword */: - case 112 /* TrueKeyword */: - case 97 /* FalseKeyword */: - case 9 /* NumericLiteral */: - case 10 /* BigIntLiteral */: - case 11 /* StringLiteral */: - case 209 /* ArrayLiteralExpression */: - case 210 /* ObjectLiteralExpression */: - case 218 /* FunctionExpression */: - case 219 /* ArrowFunction */: - case 231 /* ClassExpression */: - case 14 /* RegularExpressionLiteral */: - case 15 /* NoSubstitutionTemplateLiteral */: - case 228 /* TemplateExpression */: - case 217 /* ParenthesizedExpression */: - case 232 /* OmittedExpression */: - case 284 /* JsxElement */: - case 285 /* JsxSelfClosingElement */: - case 288 /* JsxFragment */: - return 20 /* Primary */; - default: - return -1 /* Invalid */; - } -} -function getBinaryOperatorPrecedence(kind) { - switch (kind) { - case 61 /* QuestionQuestionToken */: - return 4 /* Coalesce */; - case 57 /* BarBarToken */: - return 5 /* LogicalOR */; - case 56 /* AmpersandAmpersandToken */: - return 6 /* LogicalAND */; - case 52 /* BarToken */: - return 7 /* BitwiseOR */; - case 53 /* CaretToken */: - return 8 /* BitwiseXOR */; - case 51 /* AmpersandToken */: - return 9 /* BitwiseAND */; - case 35 /* EqualsEqualsToken */: - case 36 /* ExclamationEqualsToken */: - case 37 /* EqualsEqualsEqualsToken */: - case 38 /* ExclamationEqualsEqualsToken */: - return 10 /* Equality */; - case 30 /* LessThanToken */: - case 32 /* GreaterThanToken */: - case 33 /* LessThanEqualsToken */: - case 34 /* GreaterThanEqualsToken */: - case 104 /* InstanceOfKeyword */: - case 103 /* InKeyword */: - case 130 /* AsKeyword */: - case 152 /* SatisfiesKeyword */: - return 11 /* Relational */; - case 48 /* LessThanLessThanToken */: - case 49 /* GreaterThanGreaterThanToken */: - case 50 /* GreaterThanGreaterThanGreaterThanToken */: - return 12 /* Shift */; - case 40 /* PlusToken */: - case 41 /* MinusToken */: - return 13 /* Additive */; - case 42 /* AsteriskToken */: - case 44 /* SlashToken */: - case 45 /* PercentToken */: - return 14 /* Multiplicative */; - case 43 /* AsteriskAsteriskToken */: - return 15 /* Exponentiation */; - } - return -1; -} -function getSemanticJsxChildren(children) { - return filter(children, (i) => { - switch (i.kind) { - case 294 /* JsxExpression */: - return !!i.expression; - case 12 /* JsxText */: - return !i.containsOnlyTriviaWhiteSpaces; - default: - return true; - } - }); -} -function createDiagnosticCollection() { - let nonFileDiagnostics = []; - const filesWithDiagnostics = []; - const fileDiagnostics = /* @__PURE__ */ new Map(); - let hasReadNonFileDiagnostics = false; - return { - add, - lookup, - getGlobalDiagnostics, - getDiagnostics - }; - function lookup(diagnostic) { - let diagnostics; - if (diagnostic.file) { - diagnostics = fileDiagnostics.get(diagnostic.file.fileName); - } else { - diagnostics = nonFileDiagnostics; - } - if (!diagnostics) { - return void 0; - } - const result = binarySearch(diagnostics, diagnostic, identity, compareDiagnosticsSkipRelatedInformation); - if (result >= 0) { - return diagnostics[result]; - } - if (~result > 0 && diagnosticsEqualityComparer(diagnostic, diagnostics[~result - 1])) { - return diagnostics[~result - 1]; - } - return void 0; - } - function add(diagnostic) { - let diagnostics; - if (diagnostic.file) { - diagnostics = fileDiagnostics.get(diagnostic.file.fileName); - if (!diagnostics) { - diagnostics = []; - fileDiagnostics.set(diagnostic.file.fileName, diagnostics); - insertSorted(filesWithDiagnostics, diagnostic.file.fileName, compareStringsCaseSensitive); - } - } else { - if (hasReadNonFileDiagnostics) { - hasReadNonFileDiagnostics = false; - nonFileDiagnostics = nonFileDiagnostics.slice(); - } - diagnostics = nonFileDiagnostics; - } - insertSorted(diagnostics, diagnostic, compareDiagnosticsSkipRelatedInformation, diagnosticsEqualityComparer); - } - function getGlobalDiagnostics() { - hasReadNonFileDiagnostics = true; - return nonFileDiagnostics; - } - function getDiagnostics(fileName) { - if (fileName) { - return fileDiagnostics.get(fileName) || []; - } - const fileDiags = flatMapToMutable(filesWithDiagnostics, (f) => fileDiagnostics.get(f)); - if (!nonFileDiagnostics.length) { - return fileDiags; - } - fileDiags.unshift(...nonFileDiagnostics); - return fileDiags; - } -} -var templateSubstitutionRegExp = /\$\{/g; -function escapeTemplateSubstitution(str) { - return str.replace(templateSubstitutionRegExp, "\\${"); -} -function containsInvalidEscapeFlag(node) { - return !!((node.templateFlags || 0) & 2048 /* ContainsInvalidEscape */); -} -function hasInvalidEscape(template) { - return template && !!(isNoSubstitutionTemplateLiteral(template) ? containsInvalidEscapeFlag(template) : containsInvalidEscapeFlag(template.head) || some(template.templateSpans, (span) => containsInvalidEscapeFlag(span.literal))); -} -var doubleQuoteEscapedCharsRegExp = /[\\"\u0000-\u001f\u2028\u2029\u0085]/g; -var singleQuoteEscapedCharsRegExp = /[\\'\u0000-\u001f\u2028\u2029\u0085]/g; -var backtickQuoteEscapedCharsRegExp = /\r\n|[\\`\u0000-\u001f\u2028\u2029\u0085]/g; -var escapedCharsMap = new Map(Object.entries({ - " ": "\\t", - "\v": "\\v", - "\f": "\\f", - "\b": "\\b", - "\r": "\\r", - "\n": "\\n", - "\\": "\\\\", - '"': '\\"', - "'": "\\'", - "`": "\\`", - "\u2028": "\\u2028", - // lineSeparator - "\u2029": "\\u2029", - // paragraphSeparator - "\x85": "\\u0085", - // nextLine - "\r\n": "\\r\\n" - // special case for CRLFs in backticks -})); -function encodeUtf16EscapeSequence(charCode) { - const hexCharCode = charCode.toString(16).toUpperCase(); - const paddedHexCode = ("0000" + hexCharCode).slice(-4); - return "\\u" + paddedHexCode; -} -function getReplacement(c, offset, input) { - if (c.charCodeAt(0) === 0 /* nullCharacter */) { - const lookAhead = input.charCodeAt(offset + c.length); - if (lookAhead >= 48 /* _0 */ && lookAhead <= 57 /* _9 */) { - return "\\x00"; - } - return "\\0"; - } - return escapedCharsMap.get(c) || encodeUtf16EscapeSequence(c.charCodeAt(0)); -} -function escapeString(s, quoteChar) { - const escapedCharsRegExp = quoteChar === 96 /* backtick */ ? backtickQuoteEscapedCharsRegExp : quoteChar === 39 /* singleQuote */ ? singleQuoteEscapedCharsRegExp : doubleQuoteEscapedCharsRegExp; - return s.replace(escapedCharsRegExp, getReplacement); -} -var nonAsciiCharacters = /[^\u0000-\u007F]/g; -function escapeNonAsciiString(s, quoteChar) { - s = escapeString(s, quoteChar); - return nonAsciiCharacters.test(s) ? s.replace(nonAsciiCharacters, (c) => encodeUtf16EscapeSequence(c.charCodeAt(0))) : s; -} -var jsxDoubleQuoteEscapedCharsRegExp = /["\u0000-\u001f\u2028\u2029\u0085]/g; -var jsxSingleQuoteEscapedCharsRegExp = /['\u0000-\u001f\u2028\u2029\u0085]/g; -var jsxEscapedCharsMap = new Map(Object.entries({ - '"': """, - "'": "'" -})); -function encodeJsxCharacterEntity(charCode) { - const hexCharCode = charCode.toString(16).toUpperCase(); - return "&#x" + hexCharCode + ";"; -} -function getJsxAttributeStringReplacement(c) { - if (c.charCodeAt(0) === 0 /* nullCharacter */) { - return "�"; - } - return jsxEscapedCharsMap.get(c) || encodeJsxCharacterEntity(c.charCodeAt(0)); -} -function escapeJsxAttributeString(s, quoteChar) { - const escapedCharsRegExp = quoteChar === 39 /* singleQuote */ ? jsxSingleQuoteEscapedCharsRegExp : jsxDoubleQuoteEscapedCharsRegExp; - return s.replace(escapedCharsRegExp, getJsxAttributeStringReplacement); -} -function stripQuotes(name) { - const length2 = name.length; - if (length2 >= 2 && name.charCodeAt(0) === name.charCodeAt(length2 - 1) && isQuoteOrBacktick(name.charCodeAt(0))) { - return name.substring(1, length2 - 1); - } - return name; -} -function isQuoteOrBacktick(charCode) { - return charCode === 39 /* singleQuote */ || charCode === 34 /* doubleQuote */ || charCode === 96 /* backtick */; -} -function isIntrinsicJsxName(name) { - const ch = name.charCodeAt(0); - return ch >= 97 /* a */ && ch <= 122 /* z */ || name.includes("-"); -} -var indentStrings = ["", " "]; -function getIndentString(level) { - const singleLevel = indentStrings[1]; - for (let current = indentStrings.length; current <= level; current++) { - indentStrings.push(indentStrings[current - 1] + singleLevel); - } - return indentStrings[level]; -} -function getIndentSize() { - return indentStrings[1].length; -} -function createTextWriter(newLine) { - var output; - var indent2; - var lineStart; - var lineCount; - var linePos; - var hasTrailingComment = false; - function updateLineCountAndPosFor(s) { - const lineStartsOfS = computeLineStarts(s); - if (lineStartsOfS.length > 1) { - lineCount = lineCount + lineStartsOfS.length - 1; - linePos = output.length - s.length + last(lineStartsOfS); - lineStart = linePos - output.length === 0; - } else { - lineStart = false; - } - } - function writeText(s) { - if (s && s.length) { - if (lineStart) { - s = getIndentString(indent2) + s; - lineStart = false; - } - output += s; - updateLineCountAndPosFor(s); - } - } - function write(s) { - if (s) hasTrailingComment = false; - writeText(s); - } - function writeComment(s) { - if (s) hasTrailingComment = true; - writeText(s); - } - function reset() { - output = ""; - indent2 = 0; - lineStart = true; - lineCount = 0; - linePos = 0; - hasTrailingComment = false; - } - function rawWrite(s) { - if (s !== void 0) { - output += s; - updateLineCountAndPosFor(s); - hasTrailingComment = false; - } - } - function writeLiteral(s) { - if (s && s.length) { - write(s); - } - } - function writeLine(force) { - if (!lineStart || force) { - output += newLine; - lineCount++; - linePos = output.length; - lineStart = true; - hasTrailingComment = false; - } - } - reset(); - return { - write, - rawWrite, - writeLiteral, - writeLine, - increaseIndent: () => { - indent2++; - }, - decreaseIndent: () => { - indent2--; - }, - getIndent: () => indent2, - getTextPos: () => output.length, - getLine: () => lineCount, - getColumn: () => lineStart ? indent2 * getIndentSize() : output.length - linePos, - getText: () => output, - isAtStartOfLine: () => lineStart, - hasTrailingComment: () => hasTrailingComment, - hasTrailingWhitespace: () => !!output.length && isWhiteSpaceLike(output.charCodeAt(output.length - 1)), - clear: reset, - writeKeyword: write, - writeOperator: write, - writeParameter: write, - writeProperty: write, - writePunctuation: write, - writeSpace: write, - writeStringLiteral: write, - writeSymbol: (s, _) => write(s), - writeTrailingSemicolon: write, - writeComment - }; -} -function getTrailingSemicolonDeferringWriter(writer) { - let pendingTrailingSemicolon = false; - function commitPendingTrailingSemicolon() { - if (pendingTrailingSemicolon) { - writer.writeTrailingSemicolon(";"); - pendingTrailingSemicolon = false; - } - } - return { - ...writer, - writeTrailingSemicolon() { - pendingTrailingSemicolon = true; - }, - writeLiteral(s) { - commitPendingTrailingSemicolon(); - writer.writeLiteral(s); - }, - writeStringLiteral(s) { - commitPendingTrailingSemicolon(); - writer.writeStringLiteral(s); - }, - writeSymbol(s, sym) { - commitPendingTrailingSemicolon(); - writer.writeSymbol(s, sym); - }, - writePunctuation(s) { - commitPendingTrailingSemicolon(); - writer.writePunctuation(s); - }, - writeKeyword(s) { - commitPendingTrailingSemicolon(); - writer.writeKeyword(s); - }, - writeOperator(s) { - commitPendingTrailingSemicolon(); - writer.writeOperator(s); - }, - writeParameter(s) { - commitPendingTrailingSemicolon(); - writer.writeParameter(s); - }, - writeSpace(s) { - commitPendingTrailingSemicolon(); - writer.writeSpace(s); - }, - writeProperty(s) { - commitPendingTrailingSemicolon(); - writer.writeProperty(s); - }, - writeComment(s) { - commitPendingTrailingSemicolon(); - writer.writeComment(s); - }, - writeLine() { - commitPendingTrailingSemicolon(); - writer.writeLine(); - }, - increaseIndent() { - commitPendingTrailingSemicolon(); - writer.increaseIndent(); - }, - decreaseIndent() { - commitPendingTrailingSemicolon(); - writer.decreaseIndent(); - } - }; -} -function hostUsesCaseSensitiveFileNames(host) { - return host.useCaseSensitiveFileNames ? host.useCaseSensitiveFileNames() : false; -} -function hostGetCanonicalFileName(host) { - return createGetCanonicalFileName(hostUsesCaseSensitiveFileNames(host)); -} -function getResolvedExternalModuleName(host, file, referenceFile) { - return file.moduleName || getExternalModuleNameFromPath(host, file.fileName, referenceFile && referenceFile.fileName); -} -function getCanonicalAbsolutePath(host, path) { - return host.getCanonicalFileName(getNormalizedAbsolutePath(path, host.getCurrentDirectory())); -} -function getExternalModuleNameFromDeclaration(host, resolver, declaration) { - const file = resolver.getExternalModuleFileFromDeclaration(declaration); - if (!file || file.isDeclarationFile) { - return void 0; - } - const specifier = getExternalModuleName(declaration); - if (specifier && isStringLiteralLike(specifier) && !pathIsRelative(specifier.text) && !getCanonicalAbsolutePath(host, file.path).includes(getCanonicalAbsolutePath(host, ensureTrailingDirectorySeparator(host.getCommonSourceDirectory())))) { - return void 0; - } - return getResolvedExternalModuleName(host, file); -} -function getExternalModuleNameFromPath(host, fileName, referencePath) { - const getCanonicalFileName = (f) => host.getCanonicalFileName(f); - const dir = toPath(referencePath ? getDirectoryPath(referencePath) : host.getCommonSourceDirectory(), host.getCurrentDirectory(), getCanonicalFileName); - const filePath = getNormalizedAbsolutePath(fileName, host.getCurrentDirectory()); - const relativePath = getRelativePathToDirectoryOrUrl( - dir, - filePath, - dir, - getCanonicalFileName, - /*isAbsolutePathAnUrl*/ - false - ); - const extensionless = removeFileExtension(relativePath); - return referencePath ? ensurePathIsNonModuleName(extensionless) : extensionless; -} -function getOwnEmitOutputFilePath(fileName, host, extension) { - const compilerOptions = host.getCompilerOptions(); - let emitOutputFilePathWithoutExtension; - if (compilerOptions.outDir) { - emitOutputFilePathWithoutExtension = removeFileExtension(getSourceFilePathInNewDir(fileName, host, compilerOptions.outDir)); - } else { - emitOutputFilePathWithoutExtension = removeFileExtension(fileName); - } - return emitOutputFilePathWithoutExtension + extension; -} -function getDeclarationEmitOutputFilePath(fileName, host) { - return getDeclarationEmitOutputFilePathWorker(fileName, host.getCompilerOptions(), host); -} -function getDeclarationEmitOutputFilePathWorker(fileName, options, host) { - const outputDir = options.declarationDir || options.outDir; - const path = outputDir ? getSourceFilePathInNewDirWorker(fileName, outputDir, host.getCurrentDirectory(), host.getCommonSourceDirectory(), (f) => host.getCanonicalFileName(f)) : fileName; - const declarationExtension = getDeclarationEmitExtensionForPath(path); - return removeFileExtension(path) + declarationExtension; -} -function getDeclarationEmitExtensionForPath(path) { - return fileExtensionIsOneOf(path, [".mjs" /* Mjs */, ".mts" /* Mts */]) ? ".d.mts" /* Dmts */ : fileExtensionIsOneOf(path, [".cjs" /* Cjs */, ".cts" /* Cts */]) ? ".d.cts" /* Dcts */ : fileExtensionIsOneOf(path, [".json" /* Json */]) ? `.d.json.ts` : ( - // Drive-by redefinition of json declaration file output name so if it's ever enabled, it behaves well - ".d.ts" /* Dts */ - ); -} -function getPossibleOriginalInputExtensionForExtension(path) { - return fileExtensionIsOneOf(path, [".d.mts" /* Dmts */, ".mjs" /* Mjs */, ".mts" /* Mts */]) ? [".mts" /* Mts */, ".mjs" /* Mjs */] : fileExtensionIsOneOf(path, [".d.cts" /* Dcts */, ".cjs" /* Cjs */, ".cts" /* Cts */]) ? [".cts" /* Cts */, ".cjs" /* Cjs */] : fileExtensionIsOneOf(path, [`.d.json.ts`]) ? [".json" /* Json */] : [".tsx" /* Tsx */, ".ts" /* Ts */, ".jsx" /* Jsx */, ".js" /* Js */]; -} -function getPathsBasePath(options, host) { - var _a; - if (!options.paths) return void 0; - return options.baseUrl ?? Debug.checkDefined(options.pathsBasePath || ((_a = host.getCurrentDirectory) == null ? void 0 : _a.call(host)), "Encountered 'paths' without a 'baseUrl', config file, or host 'getCurrentDirectory'."); -} -function getSourceFilesToEmit(host, targetSourceFile, forceDtsEmit) { - const options = host.getCompilerOptions(); - if (options.outFile) { - const moduleKind = getEmitModuleKind(options); - const moduleEmitEnabled = options.emitDeclarationOnly || moduleKind === 2 /* AMD */ || moduleKind === 4 /* System */; - return filter( - host.getSourceFiles(), - (sourceFile) => (moduleEmitEnabled || !isExternalModule(sourceFile)) && sourceFileMayBeEmitted(sourceFile, host, forceDtsEmit) - ); - } else { - const sourceFiles = targetSourceFile === void 0 ? host.getSourceFiles() : [targetSourceFile]; - return filter( - sourceFiles, - (sourceFile) => sourceFileMayBeEmitted(sourceFile, host, forceDtsEmit) - ); - } -} -function sourceFileMayBeEmitted(sourceFile, host, forceDtsEmit) { - const options = host.getCompilerOptions(); - if (options.noEmitForJsFiles && isSourceFileJS(sourceFile)) return false; - if (sourceFile.isDeclarationFile) return false; - if (host.isSourceFileFromExternalLibrary(sourceFile)) return false; - if (forceDtsEmit) return true; - if (host.isSourceOfProjectReferenceRedirect(sourceFile.fileName)) return false; - if (!isJsonSourceFile(sourceFile)) return true; - if (host.getResolvedProjectReferenceToRedirect(sourceFile.fileName)) return false; - if (options.outFile) return true; - if (!options.outDir) return false; - if (options.rootDir || options.composite && options.configFilePath) { - const commonDir = getNormalizedAbsolutePath(getCommonSourceDirectory(options, () => [], host.getCurrentDirectory(), host.getCanonicalFileName), host.getCurrentDirectory()); - const outputPath = getSourceFilePathInNewDirWorker(sourceFile.fileName, options.outDir, host.getCurrentDirectory(), commonDir, host.getCanonicalFileName); - if (comparePaths(sourceFile.fileName, outputPath, host.getCurrentDirectory(), !host.useCaseSensitiveFileNames()) === 0 /* EqualTo */) return false; - } - return true; -} -function getSourceFilePathInNewDir(fileName, host, newDirPath) { - return getSourceFilePathInNewDirWorker(fileName, newDirPath, host.getCurrentDirectory(), host.getCommonSourceDirectory(), (f) => host.getCanonicalFileName(f)); -} -function getSourceFilePathInNewDirWorker(fileName, newDirPath, currentDirectory, commonSourceDirectory, getCanonicalFileName) { - let sourceFilePath = getNormalizedAbsolutePath(fileName, currentDirectory); - const isSourceFileInCommonSourceDirectory = getCanonicalFileName(sourceFilePath).indexOf(getCanonicalFileName(commonSourceDirectory)) === 0; - sourceFilePath = isSourceFileInCommonSourceDirectory ? sourceFilePath.substring(commonSourceDirectory.length) : sourceFilePath; - return combinePaths(newDirPath, sourceFilePath); -} -function writeFile(host, diagnostics, fileName, text, writeByteOrderMark, sourceFiles, data) { - host.writeFile( - fileName, - text, - writeByteOrderMark, - (hostErrorMessage) => { - diagnostics.add(createCompilerDiagnostic(Diagnostics.Could_not_write_file_0_Colon_1, fileName, hostErrorMessage)); - }, - sourceFiles, - data - ); -} -function ensureDirectoriesExist(directoryPath, createDirectory, directoryExists) { - if (directoryPath.length > getRootLength(directoryPath) && !directoryExists(directoryPath)) { - const parentDirectory = getDirectoryPath(directoryPath); - ensureDirectoriesExist(parentDirectory, createDirectory, directoryExists); - createDirectory(directoryPath); - } -} -function writeFileEnsuringDirectories(path, data, writeByteOrderMark, writeFile2, createDirectory, directoryExists) { - try { - writeFile2(path, data, writeByteOrderMark); - } catch { - ensureDirectoriesExist(getDirectoryPath(normalizePath(path)), createDirectory, directoryExists); - writeFile2(path, data, writeByteOrderMark); - } -} -function getLineOfLocalPositionFromLineMap(lineMap, pos) { - return computeLineOfPosition(lineMap, pos); -} -function getFirstConstructorWithBody(node) { - return find(node.members, (member) => isConstructorDeclaration(member) && nodeIsPresent(member.body)); -} -function getSetAccessorValueParameter(accessor) { - if (accessor && accessor.parameters.length > 0) { - const hasThis = accessor.parameters.length === 2 && parameterIsThisKeyword(accessor.parameters[0]); - return accessor.parameters[hasThis ? 1 : 0]; - } -} -function getSetAccessorTypeAnnotationNode(accessor) { - const parameter = getSetAccessorValueParameter(accessor); - return parameter && parameter.type; -} -function getThisParameter(signature) { - if (signature.parameters.length && !isJSDocSignature(signature)) { - const thisParameter = signature.parameters[0]; - if (parameterIsThisKeyword(thisParameter)) { - return thisParameter; - } - } -} -function parameterIsThisKeyword(parameter) { - return isThisIdentifier(parameter.name); -} -function isThisIdentifier(node) { - return !!node && node.kind === 80 /* Identifier */ && identifierIsThisKeyword(node); -} -function isInTypeQuery(node) { - return !!findAncestor( - node, - (n) => n.kind === 186 /* TypeQuery */ ? true : n.kind === 80 /* Identifier */ || n.kind === 166 /* QualifiedName */ ? false : "quit" - ); -} -function isThisInTypeQuery(node) { - if (!isThisIdentifier(node)) { - return false; - } - while (isQualifiedName(node.parent) && node.parent.left === node) { - node = node.parent; - } - return node.parent.kind === 186 /* TypeQuery */; -} -function identifierIsThisKeyword(id) { - return id.escapedText === "this"; -} -function getAllAccessorDeclarations(declarations, accessor) { - let firstAccessor; - let secondAccessor; - let getAccessor; - let setAccessor; - if (hasDynamicName(accessor)) { - firstAccessor = accessor; - if (accessor.kind === 177 /* GetAccessor */) { - getAccessor = accessor; - } else if (accessor.kind === 178 /* SetAccessor */) { - setAccessor = accessor; - } else { - Debug.fail("Accessor has wrong kind"); - } - } else { - forEach(declarations, (member) => { - if (isAccessor(member) && isStatic(member) === isStatic(accessor)) { - const memberName = getPropertyNameForPropertyNameNode(member.name); - const accessorName = getPropertyNameForPropertyNameNode(accessor.name); - if (memberName === accessorName) { - if (!firstAccessor) { - firstAccessor = member; - } else if (!secondAccessor) { - secondAccessor = member; - } - if (member.kind === 177 /* GetAccessor */ && !getAccessor) { - getAccessor = member; - } - if (member.kind === 178 /* SetAccessor */ && !setAccessor) { - setAccessor = member; - } - } - } - }); - } - return { - firstAccessor, - secondAccessor, - getAccessor, - setAccessor - }; -} -function getEffectiveTypeAnnotationNode(node) { - if (!isInJSFile(node) && isFunctionDeclaration(node)) return void 0; - if (isTypeAliasDeclaration(node)) return void 0; - const type = node.type; - if (type || !isInJSFile(node)) return type; - return isJSDocPropertyLikeTag(node) ? node.typeExpression && node.typeExpression.type : getJSDocType(node); -} -function getEffectiveReturnTypeNode(node) { - return isJSDocSignature(node) ? node.type && node.type.typeExpression && node.type.typeExpression.type : node.type || (isInJSFile(node) ? getJSDocReturnType(node) : void 0); -} -function getJSDocTypeParameterDeclarations(node) { - return flatMap(getJSDocTags(node), (tag) => isNonTypeAliasTemplate(tag) ? tag.typeParameters : void 0); -} -function isNonTypeAliasTemplate(tag) { - return isJSDocTemplateTag(tag) && !(tag.parent.kind === 320 /* JSDoc */ && (tag.parent.tags.some(isJSDocTypeAlias) || tag.parent.tags.some(isJSDocOverloadTag))); -} -function getEffectiveSetAccessorTypeAnnotationNode(node) { - const parameter = getSetAccessorValueParameter(node); - return parameter && getEffectiveTypeAnnotationNode(parameter); -} -function emitNewLineBeforeLeadingComments(lineMap, writer, node, leadingComments) { - emitNewLineBeforeLeadingCommentsOfPosition(lineMap, writer, node.pos, leadingComments); -} -function emitNewLineBeforeLeadingCommentsOfPosition(lineMap, writer, pos, leadingComments) { - if (leadingComments && leadingComments.length && pos !== leadingComments[0].pos && getLineOfLocalPositionFromLineMap(lineMap, pos) !== getLineOfLocalPositionFromLineMap(lineMap, leadingComments[0].pos)) { - writer.writeLine(); - } -} -function emitNewLineBeforeLeadingCommentOfPosition(lineMap, writer, pos, commentPos) { - if (pos !== commentPos && getLineOfLocalPositionFromLineMap(lineMap, pos) !== getLineOfLocalPositionFromLineMap(lineMap, commentPos)) { - writer.writeLine(); - } -} -function emitComments(text, lineMap, writer, comments, leadingSeparator, trailingSeparator, newLine, writeComment) { - if (comments && comments.length > 0) { - if (leadingSeparator) { - writer.writeSpace(" "); - } - let emitInterveningSeparator = false; - for (const comment of comments) { - if (emitInterveningSeparator) { - writer.writeSpace(" "); - emitInterveningSeparator = false; - } - writeComment(text, lineMap, writer, comment.pos, comment.end, newLine); - if (comment.hasTrailingNewLine) { - writer.writeLine(); - } else { - emitInterveningSeparator = true; - } - } - if (emitInterveningSeparator && trailingSeparator) { - writer.writeSpace(" "); - } - } -} -function emitDetachedComments(text, lineMap, writer, writeComment, node, newLine, removeComments) { - let leadingComments; - let currentDetachedCommentInfo; - if (removeComments) { - if (node.pos === 0) { - leadingComments = filter(getLeadingCommentRanges(text, node.pos), isPinnedCommentLocal); - } - } else { - leadingComments = getLeadingCommentRanges(text, node.pos); - } - if (leadingComments) { - const detachedComments = []; - let lastComment; - for (const comment of leadingComments) { - if (lastComment) { - const lastCommentLine = getLineOfLocalPositionFromLineMap(lineMap, lastComment.end); - const commentLine = getLineOfLocalPositionFromLineMap(lineMap, comment.pos); - if (commentLine >= lastCommentLine + 2) { - break; - } - } - detachedComments.push(comment); - lastComment = comment; - } - if (detachedComments.length) { - const lastCommentLine = getLineOfLocalPositionFromLineMap(lineMap, last(detachedComments).end); - const nodeLine = getLineOfLocalPositionFromLineMap(lineMap, skipTrivia(text, node.pos)); - if (nodeLine >= lastCommentLine + 2) { - emitNewLineBeforeLeadingComments(lineMap, writer, node, leadingComments); - emitComments( - text, - lineMap, - writer, - detachedComments, - /*leadingSeparator*/ - false, - /*trailingSeparator*/ - true, - newLine, - writeComment - ); - currentDetachedCommentInfo = { nodePos: node.pos, detachedCommentEndPos: last(detachedComments).end }; - } - } - } - return currentDetachedCommentInfo; - function isPinnedCommentLocal(comment) { - return isPinnedComment(text, comment.pos); - } -} -function writeCommentRange(text, lineMap, writer, commentPos, commentEnd, newLine) { - if (text.charCodeAt(commentPos + 1) === 42 /* asterisk */) { - const firstCommentLineAndCharacter = computeLineAndCharacterOfPosition(lineMap, commentPos); - const lineCount = lineMap.length; - let firstCommentLineIndent; - for (let pos = commentPos, currentLine = firstCommentLineAndCharacter.line; pos < commentEnd; currentLine++) { - const nextLineStart = currentLine + 1 === lineCount ? text.length + 1 : lineMap[currentLine + 1]; - if (pos !== commentPos) { - if (firstCommentLineIndent === void 0) { - firstCommentLineIndent = calculateIndent(text, lineMap[firstCommentLineAndCharacter.line], commentPos); - } - const currentWriterIndentSpacing = writer.getIndent() * getIndentSize(); - const spacesToEmit = currentWriterIndentSpacing - firstCommentLineIndent + calculateIndent(text, pos, nextLineStart); - if (spacesToEmit > 0) { - let numberOfSingleSpacesToEmit = spacesToEmit % getIndentSize(); - const indentSizeSpaceString = getIndentString((spacesToEmit - numberOfSingleSpacesToEmit) / getIndentSize()); - writer.rawWrite(indentSizeSpaceString); - while (numberOfSingleSpacesToEmit) { - writer.rawWrite(" "); - numberOfSingleSpacesToEmit--; - } - } else { - writer.rawWrite(""); - } - } - writeTrimmedCurrentLine(text, commentEnd, writer, newLine, pos, nextLineStart); - pos = nextLineStart; - } - } else { - writer.writeComment(text.substring(commentPos, commentEnd)); - } -} -function writeTrimmedCurrentLine(text, commentEnd, writer, newLine, pos, nextLineStart) { - const end = Math.min(commentEnd, nextLineStart - 1); - const currentLineText = text.substring(pos, end).trim(); - if (currentLineText) { - writer.writeComment(currentLineText); - if (end !== commentEnd) { - writer.writeLine(); - } - } else { - writer.rawWrite(newLine); - } -} -function calculateIndent(text, pos, end) { - let currentLineIndent = 0; - for (; pos < end && isWhiteSpaceSingleLine(text.charCodeAt(pos)); pos++) { - if (text.charCodeAt(pos) === 9 /* tab */) { - currentLineIndent += getIndentSize() - currentLineIndent % getIndentSize(); - } else { - currentLineIndent++; - } - } - return currentLineIndent; -} -function hasEffectiveModifiers(node) { - return getEffectiveModifierFlags(node) !== 0 /* None */; -} -function hasSyntacticModifiers(node) { - return getSyntacticModifierFlags(node) !== 0 /* None */; -} -function hasEffectiveModifier(node, flags) { - return !!getSelectedEffectiveModifierFlags(node, flags); -} -function hasSyntacticModifier(node, flags) { - return !!getSelectedSyntacticModifierFlags(node, flags); -} -function isStatic(node) { - return isClassElement(node) && hasStaticModifier(node) || isClassStaticBlockDeclaration(node); -} -function hasStaticModifier(node) { - return hasSyntacticModifier(node, 256 /* Static */); -} -function hasOverrideModifier(node) { - return hasEffectiveModifier(node, 16 /* Override */); -} -function hasAbstractModifier(node) { - return hasSyntacticModifier(node, 64 /* Abstract */); -} -function hasAmbientModifier(node) { - return hasSyntacticModifier(node, 128 /* Ambient */); -} -function hasAccessorModifier(node) { - return hasSyntacticModifier(node, 512 /* Accessor */); -} -function hasEffectiveReadonlyModifier(node) { - return hasEffectiveModifier(node, 8 /* Readonly */); -} -function hasDecorators(node) { - return hasSyntacticModifier(node, 32768 /* Decorator */); -} -function getSelectedEffectiveModifierFlags(node, flags) { - return getEffectiveModifierFlags(node) & flags; -} -function getSelectedSyntacticModifierFlags(node, flags) { - return getSyntacticModifierFlags(node) & flags; -} -function getModifierFlagsWorker(node, includeJSDoc, alwaysIncludeJSDoc) { - if (node.kind >= 0 /* FirstToken */ && node.kind <= 165 /* LastToken */) { - return 0 /* None */; - } - if (!(node.modifierFlagsCache & 536870912 /* HasComputedFlags */)) { - node.modifierFlagsCache = getSyntacticModifierFlagsNoCache(node) | 536870912 /* HasComputedFlags */; - } - if (alwaysIncludeJSDoc || includeJSDoc && isInJSFile(node)) { - if (!(node.modifierFlagsCache & 268435456 /* HasComputedJSDocModifiers */) && node.parent) { - node.modifierFlagsCache |= getRawJSDocModifierFlagsNoCache(node) | 268435456 /* HasComputedJSDocModifiers */; - } - return selectEffectiveModifierFlags(node.modifierFlagsCache); - } - return selectSyntacticModifierFlags(node.modifierFlagsCache); -} -function getEffectiveModifierFlags(node) { - return getModifierFlagsWorker( - node, - /*includeJSDoc*/ - true - ); -} -function getSyntacticModifierFlags(node) { - return getModifierFlagsWorker( - node, - /*includeJSDoc*/ - false - ); -} -function getRawJSDocModifierFlagsNoCache(node) { - let flags = 0 /* None */; - if (!!node.parent && !isParameter(node)) { - if (isInJSFile(node)) { - if (getJSDocPublicTagNoCache(node)) flags |= 8388608 /* JSDocPublic */; - if (getJSDocPrivateTagNoCache(node)) flags |= 16777216 /* JSDocPrivate */; - if (getJSDocProtectedTagNoCache(node)) flags |= 33554432 /* JSDocProtected */; - if (getJSDocReadonlyTagNoCache(node)) flags |= 67108864 /* JSDocReadonly */; - if (getJSDocOverrideTagNoCache(node)) flags |= 134217728 /* JSDocOverride */; - } - if (getJSDocDeprecatedTagNoCache(node)) flags |= 65536 /* Deprecated */; - } - return flags; -} -function selectSyntacticModifierFlags(flags) { - return flags & 65535 /* SyntacticModifiers */; -} -function selectEffectiveModifierFlags(flags) { - return flags & 131071 /* NonCacheOnlyModifiers */ | (flags & 260046848 /* JSDocCacheOnlyModifiers */) >>> 23; -} -function getJSDocModifierFlagsNoCache(node) { - return selectEffectiveModifierFlags(getRawJSDocModifierFlagsNoCache(node)); -} -function getEffectiveModifierFlagsNoCache(node) { - return getSyntacticModifierFlagsNoCache(node) | getJSDocModifierFlagsNoCache(node); -} -function getSyntacticModifierFlagsNoCache(node) { - let flags = canHaveModifiers(node) ? modifiersToFlags(node.modifiers) : 0 /* None */; - if (node.flags & 8 /* NestedNamespace */ || node.kind === 80 /* Identifier */ && node.flags & 4096 /* IdentifierIsInJSDocNamespace */) { - flags |= 32 /* Export */; - } - return flags; -} -function modifiersToFlags(modifiers) { - let flags = 0 /* None */; - if (modifiers) { - for (const modifier of modifiers) { - flags |= modifierToFlag(modifier.kind); - } - } - return flags; -} -function modifierToFlag(token) { - switch (token) { - case 126 /* StaticKeyword */: - return 256 /* Static */; - case 125 /* PublicKeyword */: - return 1 /* Public */; - case 124 /* ProtectedKeyword */: - return 4 /* Protected */; - case 123 /* PrivateKeyword */: - return 2 /* Private */; - case 128 /* AbstractKeyword */: - return 64 /* Abstract */; - case 129 /* AccessorKeyword */: - return 512 /* Accessor */; - case 95 /* ExportKeyword */: - return 32 /* Export */; - case 138 /* DeclareKeyword */: - return 128 /* Ambient */; - case 87 /* ConstKeyword */: - return 4096 /* Const */; - case 90 /* DefaultKeyword */: - return 2048 /* Default */; - case 134 /* AsyncKeyword */: - return 1024 /* Async */; - case 148 /* ReadonlyKeyword */: - return 8 /* Readonly */; - case 164 /* OverrideKeyword */: - return 16 /* Override */; - case 103 /* InKeyword */: - return 8192 /* In */; - case 147 /* OutKeyword */: - return 16384 /* Out */; - case 170 /* Decorator */: - return 32768 /* Decorator */; - } - return 0 /* None */; -} -function isBinaryLogicalOperator(token) { - return token === 57 /* BarBarToken */ || token === 56 /* AmpersandAmpersandToken */; -} -function isLogicalOperator(token) { - return isBinaryLogicalOperator(token) || token === 54 /* ExclamationToken */; -} -function isLogicalOrCoalescingAssignmentOperator(token) { - return token === 76 /* BarBarEqualsToken */ || token === 77 /* AmpersandAmpersandEqualsToken */ || token === 78 /* QuestionQuestionEqualsToken */; -} -function isLogicalOrCoalescingAssignmentExpression(expr) { - return isBinaryExpression(expr) && isLogicalOrCoalescingAssignmentOperator(expr.operatorToken.kind); -} -function isLogicalOrCoalescingBinaryOperator(token) { - return isBinaryLogicalOperator(token) || token === 61 /* QuestionQuestionToken */; -} -function isLogicalOrCoalescingBinaryExpression(expr) { - return isBinaryExpression(expr) && isLogicalOrCoalescingBinaryOperator(expr.operatorToken.kind); -} -function isAssignmentOperator(token) { - return token >= 64 /* FirstAssignment */ && token <= 79 /* LastAssignment */; -} -function tryGetClassExtendingExpressionWithTypeArguments(node) { - const cls = tryGetClassImplementingOrExtendingExpressionWithTypeArguments(node); - return cls && !cls.isImplements ? cls.class : void 0; -} -function tryGetClassImplementingOrExtendingExpressionWithTypeArguments(node) { - if (isExpressionWithTypeArguments(node)) { - if (isHeritageClause(node.parent) && isClassLike(node.parent.parent)) { - return { class: node.parent.parent, isImplements: node.parent.token === 119 /* ImplementsKeyword */ }; - } - if (isJSDocAugmentsTag(node.parent)) { - const host = getEffectiveJSDocHost(node.parent); - if (host && isClassLike(host)) { - return { class: host, isImplements: false }; - } - } - } - return void 0; -} -function isAssignmentExpression(node, excludeCompoundAssignment) { - return isBinaryExpression(node) && (excludeCompoundAssignment ? node.operatorToken.kind === 64 /* EqualsToken */ : isAssignmentOperator(node.operatorToken.kind)) && isLeftHandSideExpression(node.left); -} -function isDestructuringAssignment(node) { - if (isAssignmentExpression( - node, - /*excludeCompoundAssignment*/ - true - )) { - const kind = node.left.kind; - return kind === 210 /* ObjectLiteralExpression */ || kind === 209 /* ArrayLiteralExpression */; - } - return false; -} -function isExpressionWithTypeArgumentsInClassExtendsClause(node) { - return tryGetClassExtendingExpressionWithTypeArguments(node) !== void 0; -} -function isEntityNameExpression(node) { - return node.kind === 80 /* Identifier */ || isPropertyAccessEntityNameExpression(node); -} -function getFirstIdentifier(node) { - switch (node.kind) { - case 80 /* Identifier */: - return node; - case 166 /* QualifiedName */: - do { - node = node.left; - } while (node.kind !== 80 /* Identifier */); - return node; - case 211 /* PropertyAccessExpression */: - do { - node = node.expression; - } while (node.kind !== 80 /* Identifier */); - return node; - } -} -function isDottedName(node) { - return node.kind === 80 /* Identifier */ || node.kind === 110 /* ThisKeyword */ || node.kind === 108 /* SuperKeyword */ || node.kind === 236 /* MetaProperty */ || node.kind === 211 /* PropertyAccessExpression */ && isDottedName(node.expression) || node.kind === 217 /* ParenthesizedExpression */ && isDottedName(node.expression); -} -function isPropertyAccessEntityNameExpression(node) { - return isPropertyAccessExpression(node) && isIdentifier(node.name) && isEntityNameExpression(node.expression); -} -function tryGetPropertyAccessOrIdentifierToString(expr) { - if (isPropertyAccessExpression(expr)) { - const baseStr = tryGetPropertyAccessOrIdentifierToString(expr.expression); - if (baseStr !== void 0) { - return baseStr + "." + entityNameToString(expr.name); - } - } else if (isElementAccessExpression(expr)) { - const baseStr = tryGetPropertyAccessOrIdentifierToString(expr.expression); - if (baseStr !== void 0 && isPropertyName(expr.argumentExpression)) { - return baseStr + "." + getPropertyNameForPropertyNameNode(expr.argumentExpression); - } - } else if (isIdentifier(expr)) { - return unescapeLeadingUnderscores(expr.escapedText); - } else if (isJsxNamespacedName(expr)) { - return getTextOfJsxNamespacedName(expr); - } - return void 0; -} -function isPrototypeAccess(node) { - return isBindableStaticAccessExpression(node) && getElementOrPropertyAccessName(node) === "prototype"; -} -function isRightSideOfQualifiedNameOrPropertyAccess(node) { - return node.parent.kind === 166 /* QualifiedName */ && node.parent.right === node || node.parent.kind === 211 /* PropertyAccessExpression */ && node.parent.name === node || node.parent.kind === 236 /* MetaProperty */ && node.parent.name === node; -} -function isRightSideOfAccessExpression(node) { - return !!node.parent && (isPropertyAccessExpression(node.parent) && node.parent.name === node || isElementAccessExpression(node.parent) && node.parent.argumentExpression === node); -} -function isRightSideOfQualifiedNameOrPropertyAccessOrJSDocMemberName(node) { - return isQualifiedName(node.parent) && node.parent.right === node || isPropertyAccessExpression(node.parent) && node.parent.name === node || isJSDocMemberName(node.parent) && node.parent.right === node; -} -function isInstanceOfExpression(node) { - return isBinaryExpression(node) && node.operatorToken.kind === 104 /* InstanceOfKeyword */; -} -function isRightSideOfInstanceofExpression(node) { - return isInstanceOfExpression(node.parent) && node === node.parent.right; -} -function isEmptyObjectLiteral(expression) { - return expression.kind === 210 /* ObjectLiteralExpression */ && expression.properties.length === 0; -} -function isEmptyArrayLiteral(expression) { - return expression.kind === 209 /* ArrayLiteralExpression */ && expression.elements.length === 0; -} -function getLocalSymbolForExportDefault(symbol) { - if (!isExportDefaultSymbol(symbol) || !symbol.declarations) return void 0; - for (const decl of symbol.declarations) { - if (decl.localSymbol) return decl.localSymbol; - } - return void 0; -} -function isExportDefaultSymbol(symbol) { - return symbol && length(symbol.declarations) > 0 && hasSyntacticModifier(symbol.declarations[0], 2048 /* Default */); -} -function tryExtractTSExtension(fileName) { - return find(supportedTSExtensionsForExtractExtension, (extension) => fileExtensionIs(fileName, extension)); -} -function getExpandedCharCodes(input) { - const output = []; - const length2 = input.length; - for (let i = 0; i < length2; i++) { - const charCode = input.charCodeAt(i); - if (charCode < 128) { - output.push(charCode); - } else if (charCode < 2048) { - output.push(charCode >> 6 | 192); - output.push(charCode & 63 | 128); - } else if (charCode < 65536) { - output.push(charCode >> 12 | 224); - output.push(charCode >> 6 & 63 | 128); - output.push(charCode & 63 | 128); - } else if (charCode < 131072) { - output.push(charCode >> 18 | 240); - output.push(charCode >> 12 & 63 | 128); - output.push(charCode >> 6 & 63 | 128); - output.push(charCode & 63 | 128); - } else { - Debug.assert(false, "Unexpected code point"); - } - } - return output; -} -var base64Digits = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="; -function convertToBase64(input) { - let result = ""; - const charCodes = getExpandedCharCodes(input); - let i = 0; - const length2 = charCodes.length; - let byte1, byte2, byte3, byte4; - while (i < length2) { - byte1 = charCodes[i] >> 2; - byte2 = (charCodes[i] & 3) << 4 | charCodes[i + 1] >> 4; - byte3 = (charCodes[i + 1] & 15) << 2 | charCodes[i + 2] >> 6; - byte4 = charCodes[i + 2] & 63; - if (i + 1 >= length2) { - byte3 = byte4 = 64; - } else if (i + 2 >= length2) { - byte4 = 64; - } - result += base64Digits.charAt(byte1) + base64Digits.charAt(byte2) + base64Digits.charAt(byte3) + base64Digits.charAt(byte4); - i += 3; - } - return result; -} -function base64encode(host, input) { - if (host && host.base64encode) { - return host.base64encode(input); - } - return convertToBase64(input); -} -function readJsonOrUndefined(path, hostOrText) { - const jsonText = isString(hostOrText) ? hostOrText : hostOrText.readFile(path); - if (!jsonText) return void 0; - const result = parseConfigFileTextToJson(path, jsonText); - return !result.error ? result.config : void 0; -} -function readJson(path, host) { - return readJsonOrUndefined(path, host) || {}; -} -function tryParseJson(text) { - try { - return JSON.parse(text); - } catch { - return void 0; - } -} -function directoryProbablyExists(directoryName, host) { - return !host.directoryExists || host.directoryExists(directoryName); -} -var carriageReturnLineFeed = "\r\n"; -var lineFeed = "\n"; -function getNewLineCharacter(options) { - switch (options.newLine) { - case 0 /* CarriageReturnLineFeed */: - return carriageReturnLineFeed; - case 1 /* LineFeed */: - case void 0: - return lineFeed; - } -} -function createRange(pos, end = pos) { - Debug.assert(end >= pos || end === -1); - return { pos, end }; -} -function moveRangeEnd(range, end) { - return createRange(range.pos, end); -} -function moveRangePos(range, pos) { - return createRange(pos, range.end); -} -function moveRangePastDecorators(node) { - const lastDecorator = canHaveModifiers(node) ? findLast(node.modifiers, isDecorator) : void 0; - return lastDecorator && !positionIsSynthesized(lastDecorator.end) ? moveRangePos(node, lastDecorator.end) : node; -} -function moveRangePastModifiers(node) { - if (isPropertyDeclaration(node) || isMethodDeclaration(node)) { - return moveRangePos(node, node.name.pos); - } - const lastModifier = canHaveModifiers(node) ? lastOrUndefined(node.modifiers) : void 0; - return lastModifier && !positionIsSynthesized(lastModifier.end) ? moveRangePos(node, lastModifier.end) : moveRangePastDecorators(node); -} -function createTokenRange(pos, token) { - return createRange(pos, pos + tokenToString(token).length); -} -function rangeIsOnSingleLine(range, sourceFile) { - return rangeStartIsOnSameLineAsRangeEnd(range, range, sourceFile); -} -function rangeStartPositionsAreOnSameLine(range1, range2, sourceFile) { - return positionsAreOnSameLine( - getStartPositionOfRange( - range1, - sourceFile, - /*includeComments*/ - false - ), - getStartPositionOfRange( - range2, - sourceFile, - /*includeComments*/ - false - ), - sourceFile - ); -} -function rangeEndPositionsAreOnSameLine(range1, range2, sourceFile) { - return positionsAreOnSameLine(range1.end, range2.end, sourceFile); -} -function rangeStartIsOnSameLineAsRangeEnd(range1, range2, sourceFile) { - return positionsAreOnSameLine(getStartPositionOfRange( - range1, - sourceFile, - /*includeComments*/ - false - ), range2.end, sourceFile); -} -function rangeEndIsOnSameLineAsRangeStart(range1, range2, sourceFile) { - return positionsAreOnSameLine(range1.end, getStartPositionOfRange( - range2, - sourceFile, - /*includeComments*/ - false - ), sourceFile); -} -function getLinesBetweenRangeEndAndRangeStart(range1, range2, sourceFile, includeSecondRangeComments) { - const range2Start = getStartPositionOfRange(range2, sourceFile, includeSecondRangeComments); - return getLinesBetweenPositions(sourceFile, range1.end, range2Start); -} -function positionsAreOnSameLine(pos1, pos2, sourceFile) { - return getLinesBetweenPositions(sourceFile, pos1, pos2) === 0; -} -function getStartPositionOfRange(range, sourceFile, includeComments) { - return positionIsSynthesized(range.pos) ? -1 : skipTrivia( - sourceFile.text, - range.pos, - /*stopAfterLineBreak*/ - false, - includeComments - ); -} -function getLinesBetweenPositionAndPrecedingNonWhitespaceCharacter(pos, stopPos, sourceFile, includeComments) { - const startPos = skipTrivia( - sourceFile.text, - pos, - /*stopAfterLineBreak*/ - false, - includeComments - ); - const prevPos = getPreviousNonWhitespacePosition(startPos, stopPos, sourceFile); - return getLinesBetweenPositions(sourceFile, prevPos ?? stopPos, startPos); -} -function getLinesBetweenPositionAndNextNonWhitespaceCharacter(pos, stopPos, sourceFile, includeComments) { - const nextPos = skipTrivia( - sourceFile.text, - pos, - /*stopAfterLineBreak*/ - false, - includeComments - ); - return getLinesBetweenPositions(sourceFile, pos, Math.min(stopPos, nextPos)); -} -function getPreviousNonWhitespacePosition(pos, stopPos = 0, sourceFile) { - while (pos-- > stopPos) { - if (!isWhiteSpaceLike(sourceFile.text.charCodeAt(pos))) { - return pos; - } - } -} -function isDeclarationNameOfEnumOrNamespace(node) { - const parseNode = getParseTreeNode(node); - if (parseNode) { - switch (parseNode.parent.kind) { - case 266 /* EnumDeclaration */: - case 267 /* ModuleDeclaration */: - return parseNode === parseNode.parent.name; - } - } - return false; -} -function getInitializedVariables(node) { - return filter(node.declarations, isInitializedVariable); -} -function isInitializedVariable(node) { - return isVariableDeclaration(node) && node.initializer !== void 0; -} -function isWatchSet(options) { - return options.watch && hasProperty(options, "watch"); -} -function closeFileWatcher(watcher) { - watcher.close(); -} -function getCheckFlags(symbol) { - return symbol.flags & 33554432 /* Transient */ ? symbol.links.checkFlags : 0; -} -function getDeclarationModifierFlagsFromSymbol(s, isWrite = false) { - if (s.valueDeclaration) { - const declaration = isWrite && s.declarations && find(s.declarations, isSetAccessorDeclaration) || s.flags & 32768 /* GetAccessor */ && find(s.declarations, isGetAccessorDeclaration) || s.valueDeclaration; - const flags = getCombinedModifierFlags(declaration); - return s.parent && s.parent.flags & 32 /* Class */ ? flags : flags & ~7 /* AccessibilityModifier */; - } - if (getCheckFlags(s) & 6 /* Synthetic */) { - const checkFlags = s.links.checkFlags; - const accessModifier = checkFlags & 1024 /* ContainsPrivate */ ? 2 /* Private */ : checkFlags & 256 /* ContainsPublic */ ? 1 /* Public */ : 4 /* Protected */; - const staticModifier = checkFlags & 2048 /* ContainsStatic */ ? 256 /* Static */ : 0; - return accessModifier | staticModifier; - } - if (s.flags & 4194304 /* Prototype */) { - return 1 /* Public */ | 256 /* Static */; - } - return 0; -} -function skipAlias(symbol, checker) { - return symbol.flags & 2097152 /* Alias */ ? checker.getAliasedSymbol(symbol) : symbol; -} -function getCombinedLocalAndExportSymbolFlags(symbol) { - return symbol.exportSymbol ? symbol.exportSymbol.flags | symbol.flags : symbol.flags; -} -function isWriteOnlyAccess(node) { - return accessKind(node) === 1 /* Write */; -} -function isWriteAccess(node) { - return accessKind(node) !== 0 /* Read */; -} -function accessKind(node) { - const { parent } = node; - switch (parent == null ? void 0 : parent.kind) { - case 217 /* ParenthesizedExpression */: - return accessKind(parent); - case 225 /* PostfixUnaryExpression */: - case 224 /* PrefixUnaryExpression */: - const { operator } = parent; - return operator === 46 /* PlusPlusToken */ || operator === 47 /* MinusMinusToken */ ? 2 /* ReadWrite */ : 0 /* Read */; - case 226 /* BinaryExpression */: - const { left, operatorToken } = parent; - return left === node && isAssignmentOperator(operatorToken.kind) ? operatorToken.kind === 64 /* EqualsToken */ ? 1 /* Write */ : 2 /* ReadWrite */ : 0 /* Read */; - case 211 /* PropertyAccessExpression */: - return parent.name !== node ? 0 /* Read */ : accessKind(parent); - case 303 /* PropertyAssignment */: { - const parentAccess = accessKind(parent.parent); - return node === parent.name ? reverseAccessKind(parentAccess) : parentAccess; - } - case 304 /* ShorthandPropertyAssignment */: - return node === parent.objectAssignmentInitializer ? 0 /* Read */ : accessKind(parent.parent); - case 209 /* ArrayLiteralExpression */: - return accessKind(parent); - default: - return 0 /* Read */; - } -} -function reverseAccessKind(a) { - switch (a) { - case 0 /* Read */: - return 1 /* Write */; - case 1 /* Write */: - return 0 /* Read */; - case 2 /* ReadWrite */: - return 2 /* ReadWrite */; - default: - return Debug.assertNever(a); - } -} -function compareDataObjects(dst, src) { - if (!dst || !src || Object.keys(dst).length !== Object.keys(src).length) { - return false; - } - for (const e in dst) { - if (typeof dst[e] === "object") { - if (!compareDataObjects(dst[e], src[e])) { - return false; - } - } else if (typeof dst[e] !== "function") { - if (dst[e] !== src[e]) { - return false; - } - } - } - return true; -} -function clearMap(map2, onDeleteValue) { - map2.forEach(onDeleteValue); - map2.clear(); -} -function mutateMapSkippingNewValues(map2, newMap, options) { - const { onDeleteValue, onExistingValue } = options; - map2.forEach((existingValue, key) => { - var _a; - if (!(newMap == null ? void 0 : newMap.has(key))) { - map2.delete(key); - onDeleteValue(existingValue, key); - } else if (onExistingValue) { - onExistingValue(existingValue, (_a = newMap.get) == null ? void 0 : _a.call(newMap, key), key); - } - }); -} -function mutateMap(map2, newMap, options) { - mutateMapSkippingNewValues(map2, newMap, options); - const { createNewValue } = options; - newMap == null ? void 0 : newMap.forEach((valueInNewMap, key) => { - if (!map2.has(key)) { - map2.set(key, createNewValue(key, valueInNewMap)); - } - }); -} -function getClassLikeDeclarationOfSymbol(symbol) { - var _a; - return (_a = symbol.declarations) == null ? void 0 : _a.find(isClassLike); -} -function getObjectFlags(type) { - return type.flags & 3899393 /* ObjectFlagsType */ ? type.objectFlags : 0; -} -function isUMDExportSymbol(symbol) { - return !!symbol && !!symbol.declarations && !!symbol.declarations[0] && isNamespaceExportDeclaration(symbol.declarations[0]); -} -function getLastChild(node) { - let lastChild; - forEachChild(node, (child) => { - if (nodeIsPresent(child)) lastChild = child; - }, (children) => { - for (let i = children.length - 1; i >= 0; i--) { - if (nodeIsPresent(children[i])) { - lastChild = children[i]; - break; - } - } - }); - return lastChild; -} -function isTypeNodeKind(kind) { - return kind >= 182 /* FirstTypeNode */ && kind <= 205 /* LastTypeNode */ || kind === 133 /* AnyKeyword */ || kind === 159 /* UnknownKeyword */ || kind === 150 /* NumberKeyword */ || kind === 163 /* BigIntKeyword */ || kind === 151 /* ObjectKeyword */ || kind === 136 /* BooleanKeyword */ || kind === 154 /* StringKeyword */ || kind === 155 /* SymbolKeyword */ || kind === 116 /* VoidKeyword */ || kind === 157 /* UndefinedKeyword */ || kind === 146 /* NeverKeyword */ || kind === 141 /* IntrinsicKeyword */ || kind === 233 /* ExpressionWithTypeArguments */ || kind === 312 /* JSDocAllType */ || kind === 313 /* JSDocUnknownType */ || kind === 314 /* JSDocNullableType */ || kind === 315 /* JSDocNonNullableType */ || kind === 316 /* JSDocOptionalType */ || kind === 317 /* JSDocFunctionType */ || kind === 318 /* JSDocVariadicType */; -} -function isAccessExpression(node) { - return node.kind === 211 /* PropertyAccessExpression */ || node.kind === 212 /* ElementAccessExpression */; -} -function getLeftmostAccessExpression(expr) { - while (isAccessExpression(expr)) { - expr = expr.expression; - } - return expr; -} -function getLeftmostExpression(node, stopAtCallExpressions) { - while (true) { - switch (node.kind) { - case 225 /* PostfixUnaryExpression */: - node = node.operand; - continue; - case 226 /* BinaryExpression */: - node = node.left; - continue; - case 227 /* ConditionalExpression */: - node = node.condition; - continue; - case 215 /* TaggedTemplateExpression */: - node = node.tag; - continue; - case 213 /* CallExpression */: - if (stopAtCallExpressions) { - return node; - } - case 234 /* AsExpression */: - case 212 /* ElementAccessExpression */: - case 211 /* PropertyAccessExpression */: - case 235 /* NonNullExpression */: - case 354 /* PartiallyEmittedExpression */: - case 238 /* SatisfiesExpression */: - node = node.expression; - continue; - } - return node; - } -} -function Symbol4(flags, name) { - this.flags = flags; - this.escapedName = name; - 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.lastAssignmentPos = void 0; - this.links = void 0; -} -function Type3(checker, flags) { - this.flags = flags; - if (Debug.isDebugging || tracing) { - this.checker = checker; - } -} -function Signature2(checker, flags) { - this.flags = flags; - if (Debug.isDebugging) { - this.checker = checker; - } -} -function Node4(kind, pos, end) { - this.pos = pos; - this.end = end; - this.kind = kind; - this.id = 0; - this.flags = 0 /* None */; - this.modifierFlagsCache = 0 /* None */; - this.transformFlags = 0 /* None */; - this.parent = void 0; - this.original = void 0; - this.emitNode = void 0; -} -function Token(kind, pos, end) { - this.pos = pos; - this.end = end; - this.kind = kind; - this.id = 0; - this.flags = 0 /* None */; - this.transformFlags = 0 /* None */; - this.parent = void 0; - this.emitNode = void 0; -} -function Identifier2(kind, pos, end) { - this.pos = pos; - this.end = end; - this.kind = kind; - this.id = 0; - this.flags = 0 /* None */; - this.transformFlags = 0 /* None */; - this.parent = void 0; - this.original = void 0; - this.emitNode = void 0; -} -function SourceMapSource(fileName, text, skipTrivia2) { - this.fileName = fileName; - this.text = text; - this.skipTrivia = skipTrivia2 || ((pos) => pos); -} -var objectAllocator = { - getNodeConstructor: () => Node4, - getTokenConstructor: () => Token, - getIdentifierConstructor: () => Identifier2, - getPrivateIdentifierConstructor: () => Node4, - getSourceFileConstructor: () => Node4, - getSymbolConstructor: () => Symbol4, - getTypeConstructor: () => Type3, - getSignatureConstructor: () => Signature2, - getSourceMapSourceConstructor: () => SourceMapSource -}; -function formatStringFromArgs(text, args) { - return text.replace(/\{(\d+)\}/g, (_match, index) => "" + Debug.checkDefined(args[+index])); -} -var localizedDiagnosticMessages; -function setLocalizedDiagnosticMessages(messages) { - localizedDiagnosticMessages = messages; -} -function getLocaleSpecificMessage(message) { - return localizedDiagnosticMessages && localizedDiagnosticMessages[message.key] || message.message; -} -function createDetachedDiagnostic(fileName, sourceText, start, length2, message, ...args) { - if (start + length2 > sourceText.length) { - length2 = sourceText.length - start; - } - assertDiagnosticLocation(sourceText, start, length2); - let text = getLocaleSpecificMessage(message); - if (some(args)) { - text = formatStringFromArgs(text, args); - } - return { - file: void 0, - start, - length: length2, - messageText: text, - category: message.category, - code: message.code, - reportsUnnecessary: message.reportsUnnecessary, - fileName - }; -} -function isDiagnosticWithDetachedLocation(diagnostic) { - return diagnostic.file === void 0 && diagnostic.start !== void 0 && diagnostic.length !== void 0 && typeof diagnostic.fileName === "string"; -} -function attachFileToDiagnostic(diagnostic, file) { - const fileName = file.fileName || ""; - const length2 = file.text.length; - Debug.assertEqual(diagnostic.fileName, fileName); - Debug.assertLessThanOrEqual(diagnostic.start, length2); - Debug.assertLessThanOrEqual(diagnostic.start + diagnostic.length, length2); - const diagnosticWithLocation = { - file, - start: diagnostic.start, - length: diagnostic.length, - messageText: diagnostic.messageText, - category: diagnostic.category, - code: diagnostic.code, - reportsUnnecessary: diagnostic.reportsUnnecessary - }; - if (diagnostic.relatedInformation) { - diagnosticWithLocation.relatedInformation = []; - for (const related of diagnostic.relatedInformation) { - if (isDiagnosticWithDetachedLocation(related) && related.fileName === fileName) { - Debug.assertLessThanOrEqual(related.start, length2); - Debug.assertLessThanOrEqual(related.start + related.length, length2); - diagnosticWithLocation.relatedInformation.push(attachFileToDiagnostic(related, file)); - } else { - diagnosticWithLocation.relatedInformation.push(related); - } - } - } - return diagnosticWithLocation; -} -function attachFileToDiagnostics(diagnostics, file) { - const diagnosticsWithLocation = []; - for (const diagnostic of diagnostics) { - diagnosticsWithLocation.push(attachFileToDiagnostic(diagnostic, file)); - } - return diagnosticsWithLocation; -} -function createFileDiagnostic(file, start, length2, message, ...args) { - assertDiagnosticLocation(file.text, start, length2); - let text = getLocaleSpecificMessage(message); - if (some(args)) { - text = formatStringFromArgs(text, args); - } - return { - file, - start, - length: length2, - messageText: text, - category: message.category, - code: message.code, - reportsUnnecessary: message.reportsUnnecessary, - reportsDeprecated: message.reportsDeprecated - }; -} -function formatMessage(message, ...args) { - let text = getLocaleSpecificMessage(message); - if (some(args)) { - text = formatStringFromArgs(text, args); - } - return text; -} -function createCompilerDiagnostic(message, ...args) { - let text = getLocaleSpecificMessage(message); - if (some(args)) { - text = formatStringFromArgs(text, args); - } - return { - file: void 0, - start: void 0, - length: void 0, - messageText: text, - category: message.category, - code: message.code, - reportsUnnecessary: message.reportsUnnecessary, - reportsDeprecated: message.reportsDeprecated - }; -} -function createCompilerDiagnosticFromMessageChain(chain, relatedInformation) { - return { - file: void 0, - start: void 0, - length: void 0, - code: chain.code, - category: chain.category, - messageText: chain.next ? chain : chain.messageText, - relatedInformation - }; -} -function chainDiagnosticMessages(details, message, ...args) { - let text = getLocaleSpecificMessage(message); - if (some(args)) { - text = formatStringFromArgs(text, args); - } - return { - messageText: text, - category: message.category, - code: message.code, - next: details === void 0 || Array.isArray(details) ? details : [details] - }; -} -function concatenateDiagnosticMessageChains(headChain, tailChain) { - let lastChain = headChain; - while (lastChain.next) { - lastChain = lastChain.next[0]; - } - lastChain.next = [tailChain]; -} -function getDiagnosticFilePath(diagnostic) { - return diagnostic.file ? diagnostic.file.path : void 0; -} -function compareDiagnostics(d1, d2) { - return compareDiagnosticsSkipRelatedInformation(d1, d2) || compareRelatedInformation(d1, d2) || 0 /* EqualTo */; -} -function compareDiagnosticsSkipRelatedInformation(d1, d2) { - const code1 = getDiagnosticCode(d1); - const code2 = getDiagnosticCode(d2); - return compareStringsCaseSensitive(getDiagnosticFilePath(d1), getDiagnosticFilePath(d2)) || compareValues(d1.start, d2.start) || compareValues(d1.length, d2.length) || compareValues(code1, code2) || compareMessageText(d1, d2) || 0 /* EqualTo */; -} -function compareRelatedInformation(d1, d2) { - if (!d1.relatedInformation && !d2.relatedInformation) { - return 0 /* EqualTo */; - } - if (d1.relatedInformation && d2.relatedInformation) { - return compareValues(d2.relatedInformation.length, d1.relatedInformation.length) || forEach(d1.relatedInformation, (d1i, index) => { - const d2i = d2.relatedInformation[index]; - return compareDiagnostics(d1i, d2i); - }) || 0 /* EqualTo */; - } - return d1.relatedInformation ? -1 /* LessThan */ : 1 /* GreaterThan */; -} -function compareMessageText(d1, d2) { - let headMsg1 = getDiagnosticMessage(d1); - let headMsg2 = getDiagnosticMessage(d2); - if (typeof headMsg1 !== "string") { - headMsg1 = headMsg1.messageText; - } - if (typeof headMsg2 !== "string") { - headMsg2 = headMsg2.messageText; - } - const chain1 = typeof d1.messageText !== "string" ? d1.messageText.next : void 0; - const chain2 = typeof d2.messageText !== "string" ? d2.messageText.next : void 0; - let res = compareStringsCaseSensitive(headMsg1, headMsg2); - if (res) { - return res; - } - res = compareMessageChain(chain1, chain2); - if (res) { - return res; - } - if (d1.canonicalHead && !d2.canonicalHead) { - return -1 /* LessThan */; - } - if (d2.canonicalHead && !d1.canonicalHead) { - return 1 /* GreaterThan */; - } - return 0 /* EqualTo */; -} -function compareMessageChain(c1, c2) { - if (c1 === void 0 && c2 === void 0) { - return 0 /* EqualTo */; - } - if (c1 === void 0) { - return 1 /* GreaterThan */; - } - if (c2 === void 0) { - return -1 /* LessThan */; - } - return compareMessageChainSize(c1, c2) || compareMessageChainContent(c1, c2); -} -function compareMessageChainSize(c1, c2) { - if (c1 === void 0 && c2 === void 0) { - return 0 /* EqualTo */; - } - if (c1 === void 0) { - return 1 /* GreaterThan */; - } - if (c2 === void 0) { - return -1 /* LessThan */; - } - let res = compareValues(c2.length, c1.length); - if (res) { - return res; - } - for (let i = 0; i < c2.length; i++) { - res = compareMessageChainSize(c1[i].next, c2[i].next); - if (res) { - return res; - } - } - return 0 /* EqualTo */; -} -function compareMessageChainContent(c1, c2) { - let res; - for (let i = 0; i < c2.length; i++) { - res = compareStringsCaseSensitive(c1[i].messageText, c2[i].messageText); - if (res) { - return res; - } - if (c1[i].next === void 0) { - continue; - } - res = compareMessageChainContent(c1[i].next, c2[i].next); - if (res) { - return res; - } - } - return 0 /* EqualTo */; -} -function diagnosticsEqualityComparer(d1, d2) { - const code1 = getDiagnosticCode(d1); - const code2 = getDiagnosticCode(d2); - const msg1 = getDiagnosticMessage(d1); - const msg2 = getDiagnosticMessage(d2); - return compareStringsCaseSensitive(getDiagnosticFilePath(d1), getDiagnosticFilePath(d2)) === 0 /* EqualTo */ && compareValues(d1.start, d2.start) === 0 /* EqualTo */ && compareValues(d1.length, d2.length) === 0 /* EqualTo */ && compareValues(code1, code2) === 0 /* EqualTo */ && messageTextEqualityComparer(msg1, msg2); -} -function getDiagnosticCode(d) { - var _a; - return ((_a = d.canonicalHead) == null ? void 0 : _a.code) || d.code; -} -function getDiagnosticMessage(d) { - var _a; - return ((_a = d.canonicalHead) == null ? void 0 : _a.messageText) || d.messageText; -} -function messageTextEqualityComparer(m1, m2) { - const t1 = typeof m1 === "string" ? m1 : m1.messageText; - const t2 = typeof m2 === "string" ? m2 : m2.messageText; - return compareStringsCaseSensitive(t1, t2) === 0 /* EqualTo */; -} -function getLanguageVariant(scriptKind) { - return scriptKind === 4 /* TSX */ || scriptKind === 2 /* JSX */ || scriptKind === 1 /* JS */ || scriptKind === 6 /* JSON */ ? 1 /* JSX */ : 0 /* Standard */; -} -function walkTreeForJSXTags(node) { - if (!(node.transformFlags & 2 /* ContainsJsx */)) return void 0; - return isJsxOpeningLikeElement(node) || isJsxFragment(node) ? node : forEachChild(node, walkTreeForJSXTags); -} -function isFileModuleFromUsingJSXTag(file) { - return !file.isDeclarationFile ? walkTreeForJSXTags(file) : void 0; -} -function isFileForcedToBeModuleByFormat(file, options) { - return (getImpliedNodeFormatForEmitWorker(file, options) === 99 /* ESNext */ || fileExtensionIsOneOf(file.fileName, [".cjs" /* Cjs */, ".cts" /* Cts */, ".mjs" /* Mjs */, ".mts" /* Mts */])) && !file.isDeclarationFile ? true : void 0; -} -function getSetExternalModuleIndicator(options) { - switch (getEmitModuleDetectionKind(options)) { - case 3 /* Force */: - return (file) => { - file.externalModuleIndicator = isFileProbablyExternalModule(file) || !file.isDeclarationFile || void 0; - }; - case 1 /* Legacy */: - return (file) => { - file.externalModuleIndicator = isFileProbablyExternalModule(file); - }; - case 2 /* Auto */: - const checks = [isFileProbablyExternalModule]; - if (options.jsx === 4 /* ReactJSX */ || options.jsx === 5 /* ReactJSXDev */) { - checks.push(isFileModuleFromUsingJSXTag); - } - checks.push(isFileForcedToBeModuleByFormat); - const combined = or(...checks); - const callback = (file) => void (file.externalModuleIndicator = combined(file, options)); - return callback; - } -} -function importSyntaxAffectsModuleResolution(options) { - const moduleResolution = getEmitModuleResolutionKind(options); - return 3 /* Node16 */ <= moduleResolution && moduleResolution <= 99 /* NodeNext */ || getResolvePackageJsonExports(options) || getResolvePackageJsonImports(options); -} -function createComputedCompilerOptions(options) { - return options; -} -var computedOptions = createComputedCompilerOptions({ - target: { - dependencies: ["module"], - computeValue: (compilerOptions) => { - const target = compilerOptions.target === 0 /* ES3 */ ? void 0 : compilerOptions.target; - return target ?? (compilerOptions.module === 100 /* Node16 */ && 9 /* ES2022 */ || compilerOptions.module === 199 /* NodeNext */ && 99 /* ESNext */ || 1 /* ES5 */); - } - }, - module: { - dependencies: ["target"], - computeValue: (compilerOptions) => { - return typeof compilerOptions.module === "number" ? compilerOptions.module : computedOptions.target.computeValue(compilerOptions) >= 2 /* ES2015 */ ? 5 /* ES2015 */ : 1 /* CommonJS */; - } - }, - moduleResolution: { - dependencies: ["module", "target"], - computeValue: (compilerOptions) => { - let moduleResolution = compilerOptions.moduleResolution; - if (moduleResolution === void 0) { - switch (computedOptions.module.computeValue(compilerOptions)) { - case 1 /* CommonJS */: - moduleResolution = 2 /* Node10 */; - break; - case 100 /* Node16 */: - moduleResolution = 3 /* Node16 */; - break; - case 199 /* NodeNext */: - moduleResolution = 99 /* NodeNext */; - break; - case 200 /* Preserve */: - moduleResolution = 100 /* Bundler */; - break; - default: - moduleResolution = 1 /* Classic */; - break; - } - } - return moduleResolution; - } - }, - moduleDetection: { - dependencies: ["module", "target"], - computeValue: (compilerOptions) => { - return compilerOptions.moduleDetection || (computedOptions.module.computeValue(compilerOptions) === 100 /* Node16 */ || computedOptions.module.computeValue(compilerOptions) === 199 /* NodeNext */ ? 3 /* Force */ : 2 /* Auto */); - } - }, - isolatedModules: { - dependencies: ["verbatimModuleSyntax"], - computeValue: (compilerOptions) => { - return !!(compilerOptions.isolatedModules || compilerOptions.verbatimModuleSyntax); - } - }, - esModuleInterop: { - dependencies: ["module", "target"], - computeValue: (compilerOptions) => { - if (compilerOptions.esModuleInterop !== void 0) { - return compilerOptions.esModuleInterop; - } - switch (computedOptions.module.computeValue(compilerOptions)) { - case 100 /* Node16 */: - case 199 /* NodeNext */: - case 200 /* Preserve */: - return true; - } - return false; - } - }, - allowSyntheticDefaultImports: { - dependencies: ["module", "target", "moduleResolution"], - computeValue: (compilerOptions) => { - if (compilerOptions.allowSyntheticDefaultImports !== void 0) { - return compilerOptions.allowSyntheticDefaultImports; - } - return computedOptions.esModuleInterop.computeValue(compilerOptions) || computedOptions.module.computeValue(compilerOptions) === 4 /* System */ || computedOptions.moduleResolution.computeValue(compilerOptions) === 100 /* Bundler */; - } - }, - resolvePackageJsonExports: { - dependencies: ["moduleResolution"], - computeValue: (compilerOptions) => { - const moduleResolution = computedOptions.moduleResolution.computeValue(compilerOptions); - if (!moduleResolutionSupportsPackageJsonExportsAndImports(moduleResolution)) { - return false; - } - if (compilerOptions.resolvePackageJsonExports !== void 0) { - return compilerOptions.resolvePackageJsonExports; - } - switch (moduleResolution) { - case 3 /* Node16 */: - case 99 /* NodeNext */: - case 100 /* Bundler */: - return true; - } - return false; - } - }, - resolvePackageJsonImports: { - dependencies: ["moduleResolution", "resolvePackageJsonExports"], - computeValue: (compilerOptions) => { - const moduleResolution = computedOptions.moduleResolution.computeValue(compilerOptions); - if (!moduleResolutionSupportsPackageJsonExportsAndImports(moduleResolution)) { - return false; - } - if (compilerOptions.resolvePackageJsonExports !== void 0) { - return compilerOptions.resolvePackageJsonExports; - } - switch (moduleResolution) { - case 3 /* Node16 */: - case 99 /* NodeNext */: - case 100 /* Bundler */: - return true; - } - return false; - } - }, - resolveJsonModule: { - dependencies: ["moduleResolution", "module", "target"], - computeValue: (compilerOptions) => { - if (compilerOptions.resolveJsonModule !== void 0) { - return compilerOptions.resolveJsonModule; - } - return computedOptions.moduleResolution.computeValue(compilerOptions) === 100 /* Bundler */; - } - }, - declaration: { - dependencies: ["composite"], - computeValue: (compilerOptions) => { - return !!(compilerOptions.declaration || compilerOptions.composite); - } - }, - preserveConstEnums: { - dependencies: ["isolatedModules", "verbatimModuleSyntax"], - computeValue: (compilerOptions) => { - return !!(compilerOptions.preserveConstEnums || computedOptions.isolatedModules.computeValue(compilerOptions)); - } - }, - incremental: { - dependencies: ["composite"], - computeValue: (compilerOptions) => { - return !!(compilerOptions.incremental || compilerOptions.composite); - } - }, - declarationMap: { - dependencies: ["declaration", "composite"], - computeValue: (compilerOptions) => { - return !!(compilerOptions.declarationMap && computedOptions.declaration.computeValue(compilerOptions)); - } - }, - allowJs: { - dependencies: ["checkJs"], - computeValue: (compilerOptions) => { - return compilerOptions.allowJs === void 0 ? !!compilerOptions.checkJs : compilerOptions.allowJs; - } - }, - useDefineForClassFields: { - dependencies: ["target", "module"], - computeValue: (compilerOptions) => { - return compilerOptions.useDefineForClassFields === void 0 ? computedOptions.target.computeValue(compilerOptions) >= 9 /* ES2022 */ : compilerOptions.useDefineForClassFields; - } - }, - noImplicitAny: { - dependencies: ["strict"], - computeValue: (compilerOptions) => { - return getStrictOptionValue(compilerOptions, "noImplicitAny"); - } - }, - noImplicitThis: { - dependencies: ["strict"], - computeValue: (compilerOptions) => { - return getStrictOptionValue(compilerOptions, "noImplicitThis"); - } - }, - strictNullChecks: { - dependencies: ["strict"], - computeValue: (compilerOptions) => { - return getStrictOptionValue(compilerOptions, "strictNullChecks"); - } - }, - strictFunctionTypes: { - dependencies: ["strict"], - computeValue: (compilerOptions) => { - return getStrictOptionValue(compilerOptions, "strictFunctionTypes"); - } - }, - strictBindCallApply: { - dependencies: ["strict"], - computeValue: (compilerOptions) => { - return getStrictOptionValue(compilerOptions, "strictBindCallApply"); - } - }, - strictPropertyInitialization: { - dependencies: ["strict"], - computeValue: (compilerOptions) => { - return getStrictOptionValue(compilerOptions, "strictPropertyInitialization"); - } - }, - strictBuiltinIteratorReturn: { - dependencies: ["strict"], - computeValue: (compilerOptions) => { - return getStrictOptionValue(compilerOptions, "strictBuiltinIteratorReturn"); - } - }, - alwaysStrict: { - dependencies: ["strict"], - computeValue: (compilerOptions) => { - return getStrictOptionValue(compilerOptions, "alwaysStrict"); - } - }, - useUnknownInCatchVariables: { - dependencies: ["strict"], - computeValue: (compilerOptions) => { - return getStrictOptionValue(compilerOptions, "useUnknownInCatchVariables"); - } - } -}); -var getEmitScriptTarget = computedOptions.target.computeValue; -var getEmitModuleKind = computedOptions.module.computeValue; -var getEmitModuleResolutionKind = computedOptions.moduleResolution.computeValue; -var getEmitModuleDetectionKind = computedOptions.moduleDetection.computeValue; -var getIsolatedModules = computedOptions.isolatedModules.computeValue; -var getESModuleInterop = computedOptions.esModuleInterop.computeValue; -var getAllowSyntheticDefaultImports = computedOptions.allowSyntheticDefaultImports.computeValue; -var getResolvePackageJsonExports = computedOptions.resolvePackageJsonExports.computeValue; -var getResolvePackageJsonImports = computedOptions.resolvePackageJsonImports.computeValue; -var getResolveJsonModule = computedOptions.resolveJsonModule.computeValue; -var getEmitDeclarations = computedOptions.declaration.computeValue; -var shouldPreserveConstEnums = computedOptions.preserveConstEnums.computeValue; -var isIncrementalCompilation = computedOptions.incremental.computeValue; -var getAreDeclarationMapsEnabled = computedOptions.declarationMap.computeValue; -var getAllowJSCompilerOption = computedOptions.allowJs.computeValue; -var getUseDefineForClassFields = computedOptions.useDefineForClassFields.computeValue; -function emitModuleKindIsNonNodeESM(moduleKind) { - return moduleKind >= 5 /* ES2015 */ && moduleKind <= 99 /* ESNext */; -} -function hasJsonModuleEmitEnabled(options) { - switch (getEmitModuleKind(options)) { - case 0 /* None */: - case 4 /* System */: - case 3 /* UMD */: - return false; - } - return true; -} -function unreachableCodeIsError(options) { - return options.allowUnreachableCode === false; -} -function unusedLabelIsError(options) { - return options.allowUnusedLabels === false; -} -function moduleResolutionSupportsPackageJsonExportsAndImports(moduleResolution) { - return moduleResolution >= 3 /* Node16 */ && moduleResolution <= 99 /* NodeNext */ || moduleResolution === 100 /* Bundler */; -} -function getStrictOptionValue(compilerOptions, flag) { - return compilerOptions[flag] === void 0 ? !!compilerOptions.strict : !!compilerOptions[flag]; -} -function getNameOfScriptTarget(scriptTarget) { - return forEachEntry(targetOptionDeclaration.type, (value, key) => value === scriptTarget ? key : void 0); -} -function getEmitStandardClassFields(compilerOptions) { - return compilerOptions.useDefineForClassFields !== false && getEmitScriptTarget(compilerOptions) >= 9 /* ES2022 */; -} -function compilerOptionsAffectSemanticDiagnostics(newOptions, oldOptions) { - return optionsHaveChanges(oldOptions, newOptions, semanticDiagnosticsOptionDeclarations); -} -function compilerOptionsAffectEmit(newOptions, oldOptions) { - return optionsHaveChanges(oldOptions, newOptions, affectsEmitOptionDeclarations); -} -function compilerOptionsAffectDeclarationPath(newOptions, oldOptions) { - return optionsHaveChanges(oldOptions, newOptions, affectsDeclarationPathOptionDeclarations); -} -function getCompilerOptionValue(options, option) { - return option.strictFlag ? getStrictOptionValue(options, option.name) : option.allowJsFlag ? getAllowJSCompilerOption(options) : options[option.name]; -} -function getJSXTransformEnabled(options) { - const jsx = options.jsx; - return jsx === 2 /* React */ || jsx === 4 /* ReactJSX */ || jsx === 5 /* ReactJSXDev */; -} -function getJSXImplicitImportBase(compilerOptions, file) { - const jsxImportSourcePragmas = file == null ? void 0 : file.pragmas.get("jsximportsource"); - const jsxImportSourcePragma = isArray(jsxImportSourcePragmas) ? jsxImportSourcePragmas[jsxImportSourcePragmas.length - 1] : jsxImportSourcePragmas; - const jsxRuntimePragmas = file == null ? void 0 : file.pragmas.get("jsxruntime"); - const jsxRuntimePragma = isArray(jsxRuntimePragmas) ? jsxRuntimePragmas[jsxRuntimePragmas.length - 1] : jsxRuntimePragmas; - if ((jsxRuntimePragma == null ? void 0 : jsxRuntimePragma.arguments.factory) === "classic") { - return void 0; - } - return compilerOptions.jsx === 4 /* ReactJSX */ || compilerOptions.jsx === 5 /* ReactJSXDev */ || compilerOptions.jsxImportSource || jsxImportSourcePragma || (jsxRuntimePragma == null ? void 0 : jsxRuntimePragma.arguments.factory) === "automatic" ? (jsxImportSourcePragma == null ? void 0 : jsxImportSourcePragma.arguments.factory) || compilerOptions.jsxImportSource || "react" : void 0; -} -function getJSXRuntimeImport(base, options) { - return base ? `${base}/${options.jsx === 5 /* ReactJSXDev */ ? "jsx-dev-runtime" : "jsx-runtime"}` : void 0; -} -function hasZeroOrOneAsteriskCharacter(str) { - let seenAsterisk = false; - for (let i = 0; i < str.length; i++) { - if (str.charCodeAt(i) === 42 /* asterisk */) { - if (!seenAsterisk) { - seenAsterisk = true; - } else { - return false; - } - } - } - return true; -} -function createSymlinkCache(cwd, getCanonicalFileName) { - let symlinkedDirectories; - let symlinkedDirectoriesByRealpath; - let symlinkedFiles; - let hasProcessedResolutions = false; - return { - getSymlinkedFiles: () => symlinkedFiles, - getSymlinkedDirectories: () => symlinkedDirectories, - getSymlinkedDirectoriesByRealpath: () => symlinkedDirectoriesByRealpath, - setSymlinkedFile: (path, real) => (symlinkedFiles || (symlinkedFiles = /* @__PURE__ */ new Map())).set(path, real), - setSymlinkedDirectory: (symlink, real) => { - let symlinkPath = toPath(symlink, cwd, getCanonicalFileName); - if (!containsIgnoredPath(symlinkPath)) { - symlinkPath = ensureTrailingDirectorySeparator(symlinkPath); - if (real !== false && !(symlinkedDirectories == null ? void 0 : symlinkedDirectories.has(symlinkPath))) { - (symlinkedDirectoriesByRealpath || (symlinkedDirectoriesByRealpath = createMultiMap())).add(real.realPath, symlink); - } - (symlinkedDirectories || (symlinkedDirectories = /* @__PURE__ */ new Map())).set(symlinkPath, real); - } - }, - setSymlinksFromResolutions(forEachResolvedModule, forEachResolvedTypeReferenceDirective, typeReferenceDirectives) { - Debug.assert(!hasProcessedResolutions); - hasProcessedResolutions = true; - forEachResolvedModule((resolution) => processResolution(this, resolution.resolvedModule)); - forEachResolvedTypeReferenceDirective((resolution) => processResolution(this, resolution.resolvedTypeReferenceDirective)); - typeReferenceDirectives.forEach((resolution) => processResolution(this, resolution.resolvedTypeReferenceDirective)); - }, - hasProcessedResolutions: () => hasProcessedResolutions, - setSymlinksFromResolution(resolution) { - processResolution(this, resolution); - }, - hasAnySymlinks - }; - function hasAnySymlinks() { - return !!(symlinkedFiles == null ? void 0 : symlinkedFiles.size) || !!symlinkedDirectories && !!forEachEntry(symlinkedDirectories, (value) => !!value); - } - function processResolution(cache, resolution) { - if (!resolution || !resolution.originalPath || !resolution.resolvedFileName) return; - const { resolvedFileName, originalPath } = resolution; - cache.setSymlinkedFile(toPath(originalPath, cwd, getCanonicalFileName), resolvedFileName); - const [commonResolved, commonOriginal] = guessDirectorySymlink(resolvedFileName, originalPath, cwd, getCanonicalFileName) || emptyArray; - if (commonResolved && commonOriginal) { - cache.setSymlinkedDirectory( - commonOriginal, - { - real: ensureTrailingDirectorySeparator(commonResolved), - realPath: ensureTrailingDirectorySeparator(toPath(commonResolved, cwd, getCanonicalFileName)) - } - ); - } - } -} -function guessDirectorySymlink(a, b, cwd, getCanonicalFileName) { - const aParts = getPathComponents(getNormalizedAbsolutePath(a, cwd)); - const bParts = getPathComponents(getNormalizedAbsolutePath(b, cwd)); - let isDirectory = false; - while (aParts.length >= 2 && bParts.length >= 2 && !isNodeModulesOrScopedPackageDirectory(aParts[aParts.length - 2], getCanonicalFileName) && !isNodeModulesOrScopedPackageDirectory(bParts[bParts.length - 2], getCanonicalFileName) && getCanonicalFileName(aParts[aParts.length - 1]) === getCanonicalFileName(bParts[bParts.length - 1])) { - aParts.pop(); - bParts.pop(); - isDirectory = true; - } - return isDirectory ? [getPathFromPathComponents(aParts), getPathFromPathComponents(bParts)] : void 0; -} -function isNodeModulesOrScopedPackageDirectory(s, getCanonicalFileName) { - return s !== void 0 && (getCanonicalFileName(s) === "node_modules" || startsWith(s, "@")); -} -var reservedCharacterPattern = /[^\w\s/]/g; -var wildcardCharCodes = [42 /* asterisk */, 63 /* question */]; -var commonPackageFolders = ["node_modules", "bower_components", "jspm_packages"]; -var implicitExcludePathRegexPattern = `(?!(${commonPackageFolders.join("|")})(/|$))`; -var filesMatcher = { - /** - * Matches any single directory segment unless it is the last segment and a .min.js file - * Breakdown: - * [^./] # matches everything up to the first . character (excluding directory separators) - * (\\.(?!min\\.js$))? # matches . characters but not if they are part of the .min.js file extension - */ - singleAsteriskRegexFragment: "([^./]|(\\.(?!min\\.js$))?)*", - /** - * Regex for the ** wildcard. Matches any number of subdirectories. When used for including - * files or directories, does not match subdirectories that start with a . character - */ - doubleAsteriskRegexFragment: `(/${implicitExcludePathRegexPattern}[^/.][^/]*)*?`, - replaceWildcardCharacter: (match) => replaceWildcardCharacter(match, filesMatcher.singleAsteriskRegexFragment) -}; -var directoriesMatcher = { - singleAsteriskRegexFragment: "[^/]*", - /** - * Regex for the ** wildcard. Matches any number of subdirectories. When used for including - * files or directories, does not match subdirectories that start with a . character - */ - doubleAsteriskRegexFragment: `(/${implicitExcludePathRegexPattern}[^/.][^/]*)*?`, - replaceWildcardCharacter: (match) => replaceWildcardCharacter(match, directoriesMatcher.singleAsteriskRegexFragment) -}; -var excludeMatcher = { - singleAsteriskRegexFragment: "[^/]*", - doubleAsteriskRegexFragment: "(/.+?)?", - replaceWildcardCharacter: (match) => replaceWildcardCharacter(match, excludeMatcher.singleAsteriskRegexFragment) -}; -var wildcardMatchers = { - files: filesMatcher, - directories: directoriesMatcher, - exclude: excludeMatcher -}; -function getRegularExpressionForWildcard(specs, basePath, usage) { - const patterns = getRegularExpressionsForWildcards(specs, basePath, usage); - if (!patterns || !patterns.length) { - return void 0; - } - const pattern = patterns.map((pattern2) => `(${pattern2})`).join("|"); - const terminator = usage === "exclude" ? "($|/)" : "$"; - return `^(${pattern})${terminator}`; -} -function getRegularExpressionsForWildcards(specs, basePath, usage) { - if (specs === void 0 || specs.length === 0) { - return void 0; - } - return flatMap(specs, (spec) => spec && getSubPatternFromSpec(spec, basePath, usage, wildcardMatchers[usage])); -} -function isImplicitGlob(lastPathComponent) { - return !/[.*?]/.test(lastPathComponent); -} -function getPatternFromSpec(spec, basePath, usage) { - const pattern = spec && getSubPatternFromSpec(spec, basePath, usage, wildcardMatchers[usage]); - return pattern && `^(${pattern})${usage === "exclude" ? "($|/)" : "$"}`; -} -function getSubPatternFromSpec(spec, basePath, usage, { singleAsteriskRegexFragment, doubleAsteriskRegexFragment, replaceWildcardCharacter: replaceWildcardCharacter2 } = wildcardMatchers[usage]) { - let subpattern = ""; - let hasWrittenComponent = false; - const components = getNormalizedPathComponents(spec, basePath); - const lastComponent = last(components); - if (usage !== "exclude" && lastComponent === "**") { - return void 0; - } - components[0] = removeTrailingDirectorySeparator(components[0]); - if (isImplicitGlob(lastComponent)) { - components.push("**", "*"); - } - let optionalCount = 0; - for (let component of components) { - if (component === "**") { - subpattern += doubleAsteriskRegexFragment; - } else { - if (usage === "directories") { - subpattern += "("; - optionalCount++; - } - if (hasWrittenComponent) { - subpattern += directorySeparator; - } - if (usage !== "exclude") { - let componentPattern = ""; - if (component.charCodeAt(0) === 42 /* asterisk */) { - componentPattern += "([^./]" + singleAsteriskRegexFragment + ")?"; - component = component.substr(1); - } else if (component.charCodeAt(0) === 63 /* question */) { - componentPattern += "[^./]"; - component = component.substr(1); - } - componentPattern += component.replace(reservedCharacterPattern, replaceWildcardCharacter2); - if (componentPattern !== component) { - subpattern += implicitExcludePathRegexPattern; - } - subpattern += componentPattern; - } else { - subpattern += component.replace(reservedCharacterPattern, replaceWildcardCharacter2); - } - } - hasWrittenComponent = true; - } - while (optionalCount > 0) { - subpattern += ")?"; - optionalCount--; - } - return subpattern; -} -function replaceWildcardCharacter(match, singleAsteriskRegexFragment) { - return match === "*" ? singleAsteriskRegexFragment : match === "?" ? "[^/]" : "\\" + match; -} -function getFileMatcherPatterns(path, excludes, includes, useCaseSensitiveFileNames2, currentDirectory) { - path = normalizePath(path); - currentDirectory = normalizePath(currentDirectory); - const absolutePath = combinePaths(currentDirectory, path); - return { - includeFilePatterns: map(getRegularExpressionsForWildcards(includes, absolutePath, "files"), (pattern) => `^${pattern}$`), - includeFilePattern: getRegularExpressionForWildcard(includes, absolutePath, "files"), - includeDirectoryPattern: getRegularExpressionForWildcard(includes, absolutePath, "directories"), - excludePattern: getRegularExpressionForWildcard(excludes, absolutePath, "exclude"), - basePaths: getBasePaths(path, includes, useCaseSensitiveFileNames2) - }; -} -function getRegexFromPattern(pattern, useCaseSensitiveFileNames2) { - return new RegExp(pattern, useCaseSensitiveFileNames2 ? "" : "i"); -} -function matchFiles(path, extensions, excludes, includes, useCaseSensitiveFileNames2, currentDirectory, depth, getFileSystemEntries, realpath) { - path = normalizePath(path); - currentDirectory = normalizePath(currentDirectory); - const patterns = getFileMatcherPatterns(path, excludes, includes, useCaseSensitiveFileNames2, currentDirectory); - const includeFileRegexes = patterns.includeFilePatterns && patterns.includeFilePatterns.map((pattern) => getRegexFromPattern(pattern, useCaseSensitiveFileNames2)); - const includeDirectoryRegex = patterns.includeDirectoryPattern && getRegexFromPattern(patterns.includeDirectoryPattern, useCaseSensitiveFileNames2); - const excludeRegex = patterns.excludePattern && getRegexFromPattern(patterns.excludePattern, useCaseSensitiveFileNames2); - const results = includeFileRegexes ? includeFileRegexes.map(() => []) : [[]]; - const visited = /* @__PURE__ */ new Map(); - const toCanonical = createGetCanonicalFileName(useCaseSensitiveFileNames2); - for (const basePath of patterns.basePaths) { - visitDirectory(basePath, combinePaths(currentDirectory, basePath), depth); - } - return flatten(results); - function visitDirectory(path2, absolutePath, depth2) { - const canonicalPath = toCanonical(realpath(absolutePath)); - if (visited.has(canonicalPath)) return; - visited.set(canonicalPath, true); - const { files, directories } = getFileSystemEntries(path2); - for (const current of toSorted(files, compareStringsCaseSensitive)) { - const name = combinePaths(path2, current); - const absoluteName = combinePaths(absolutePath, current); - if (extensions && !fileExtensionIsOneOf(name, extensions)) continue; - if (excludeRegex && excludeRegex.test(absoluteName)) continue; - if (!includeFileRegexes) { - results[0].push(name); - } else { - const includeIndex = findIndex(includeFileRegexes, (re) => re.test(absoluteName)); - if (includeIndex !== -1) { - results[includeIndex].push(name); - } - } - } - if (depth2 !== void 0) { - depth2--; - if (depth2 === 0) { - return; - } - } - for (const current of toSorted(directories, compareStringsCaseSensitive)) { - const name = combinePaths(path2, current); - const absoluteName = combinePaths(absolutePath, current); - if ((!includeDirectoryRegex || includeDirectoryRegex.test(absoluteName)) && (!excludeRegex || !excludeRegex.test(absoluteName))) { - visitDirectory(name, absoluteName, depth2); - } - } - } -} -function getBasePaths(path, includes, useCaseSensitiveFileNames2) { - const basePaths = [path]; - if (includes) { - const includeBasePaths = []; - for (const include of includes) { - const absolute = isRootedDiskPath(include) ? include : normalizePath(combinePaths(path, include)); - includeBasePaths.push(getIncludeBasePath(absolute)); - } - includeBasePaths.sort(getStringComparer(!useCaseSensitiveFileNames2)); - for (const includeBasePath of includeBasePaths) { - if (every(basePaths, (basePath) => !containsPath(basePath, includeBasePath, path, !useCaseSensitiveFileNames2))) { - basePaths.push(includeBasePath); - } - } - } - return basePaths; -} -function getIncludeBasePath(absolute) { - const wildcardOffset = indexOfAnyCharCode(absolute, wildcardCharCodes); - if (wildcardOffset < 0) { - return !hasExtension(absolute) ? absolute : removeTrailingDirectorySeparator(getDirectoryPath(absolute)); - } - return absolute.substring(0, absolute.lastIndexOf(directorySeparator, wildcardOffset)); -} -function ensureScriptKind(fileName, scriptKind) { - return scriptKind || getScriptKindFromFileName(fileName) || 3 /* TS */; -} -function getScriptKindFromFileName(fileName) { - const ext = fileName.substr(fileName.lastIndexOf(".")); - switch (ext.toLowerCase()) { - case ".js" /* Js */: - case ".cjs" /* Cjs */: - case ".mjs" /* Mjs */: - return 1 /* JS */; - case ".jsx" /* Jsx */: - return 2 /* JSX */; - case ".ts" /* Ts */: - case ".cts" /* Cts */: - case ".mts" /* Mts */: - return 3 /* TS */; - case ".tsx" /* Tsx */: - return 4 /* TSX */; - case ".json" /* Json */: - return 6 /* JSON */; - default: - return 0 /* Unknown */; - } -} -var supportedTSExtensions = [[".ts" /* Ts */, ".tsx" /* Tsx */, ".d.ts" /* Dts */], [".cts" /* Cts */, ".d.cts" /* Dcts */], [".mts" /* Mts */, ".d.mts" /* Dmts */]]; -var supportedTSExtensionsFlat = flatten(supportedTSExtensions); -var supportedTSExtensionsWithJson = [...supportedTSExtensions, [".json" /* Json */]]; -var supportedTSExtensionsForExtractExtension = [".d.ts" /* Dts */, ".d.cts" /* Dcts */, ".d.mts" /* Dmts */, ".cts" /* Cts */, ".mts" /* Mts */, ".ts" /* Ts */, ".tsx" /* Tsx */]; -var supportedJSExtensions = [[".js" /* Js */, ".jsx" /* Jsx */], [".mjs" /* Mjs */], [".cjs" /* Cjs */]]; -var supportedJSExtensionsFlat = flatten(supportedJSExtensions); -var allSupportedExtensions = [[".ts" /* Ts */, ".tsx" /* Tsx */, ".d.ts" /* Dts */, ".js" /* Js */, ".jsx" /* Jsx */], [".cts" /* Cts */, ".d.cts" /* Dcts */, ".cjs" /* Cjs */], [".mts" /* Mts */, ".d.mts" /* Dmts */, ".mjs" /* Mjs */]]; -var allSupportedExtensionsWithJson = [...allSupportedExtensions, [".json" /* Json */]]; -var supportedDeclarationExtensions = [".d.ts" /* Dts */, ".d.cts" /* Dcts */, ".d.mts" /* Dmts */]; -var supportedTSImplementationExtensions = [".ts" /* Ts */, ".cts" /* Cts */, ".mts" /* Mts */, ".tsx" /* Tsx */]; -var extensionsNotSupportingExtensionlessResolution = [".mts" /* Mts */, ".d.mts" /* Dmts */, ".mjs" /* Mjs */, ".cts" /* Cts */, ".d.cts" /* Dcts */, ".cjs" /* Cjs */]; -function getSupportedExtensions(options, extraFileExtensions) { - const needJsExtensions = options && getAllowJSCompilerOption(options); - if (!extraFileExtensions || extraFileExtensions.length === 0) { - return needJsExtensions ? allSupportedExtensions : supportedTSExtensions; - } - const builtins = needJsExtensions ? allSupportedExtensions : supportedTSExtensions; - const flatBuiltins = flatten(builtins); - const extensions = [ - ...builtins, - ...mapDefined(extraFileExtensions, (x) => x.scriptKind === 7 /* Deferred */ || needJsExtensions && isJSLike(x.scriptKind) && !flatBuiltins.includes(x.extension) ? [x.extension] : void 0) - ]; - return extensions; -} -function getSupportedExtensionsWithJsonIfResolveJsonModule(options, supportedExtensions) { - if (!options || !getResolveJsonModule(options)) return supportedExtensions; - if (supportedExtensions === allSupportedExtensions) return allSupportedExtensionsWithJson; - if (supportedExtensions === supportedTSExtensions) return supportedTSExtensionsWithJson; - return [...supportedExtensions, [".json" /* Json */]]; -} -function isJSLike(scriptKind) { - return scriptKind === 1 /* JS */ || scriptKind === 2 /* JSX */; -} -function hasJSFileExtension(fileName) { - return some(supportedJSExtensionsFlat, (extension) => fileExtensionIs(fileName, extension)); -} -function hasTSFileExtension(fileName) { - return some(supportedTSExtensionsFlat, (extension) => fileExtensionIs(fileName, extension)); -} -function hasImplementationTSFileExtension(fileName) { - return some(supportedTSImplementationExtensions, (extension) => fileExtensionIs(fileName, extension)) && !isDeclarationFileName(fileName); -} -function usesExtensionsOnImports({ imports }, hasExtension2 = or(hasJSFileExtension, hasTSFileExtension)) { - return firstDefined(imports, ({ text }) => pathIsRelative(text) && !fileExtensionIsOneOf(text, extensionsNotSupportingExtensionlessResolution) ? hasExtension2(text) : void 0) || false; -} -function getModuleSpecifierEndingPreference(preference, resolutionMode, compilerOptions, sourceFile) { - const moduleResolution = getEmitModuleResolutionKind(compilerOptions); - const moduleResolutionIsNodeNext = 3 /* Node16 */ <= moduleResolution && moduleResolution <= 99 /* NodeNext */; - if (preference === "js" || resolutionMode === 99 /* ESNext */ && moduleResolutionIsNodeNext) { - if (!shouldAllowImportingTsExtension(compilerOptions)) { - return 2 /* JsExtension */; - } - return inferPreference() !== 2 /* JsExtension */ ? 3 /* TsExtension */ : 2 /* JsExtension */; - } - if (preference === "minimal") { - return 0 /* Minimal */; - } - if (preference === "index") { - return 1 /* Index */; - } - if (!shouldAllowImportingTsExtension(compilerOptions)) { - return sourceFile && usesExtensionsOnImports(sourceFile) ? 2 /* JsExtension */ : 0 /* Minimal */; - } - return inferPreference(); - function inferPreference() { - let usesJsExtensions = false; - const specifiers = (sourceFile == null ? void 0 : sourceFile.imports.length) ? sourceFile.imports : sourceFile && isSourceFileJS(sourceFile) ? getRequiresAtTopOfFile(sourceFile).map((r) => r.arguments[0]) : emptyArray; - for (const specifier of specifiers) { - if (pathIsRelative(specifier.text)) { - if (moduleResolutionIsNodeNext && resolutionMode === 1 /* CommonJS */ && getModeForUsageLocation(sourceFile, specifier, compilerOptions) === 99 /* ESNext */) { - continue; - } - if (fileExtensionIsOneOf(specifier.text, extensionsNotSupportingExtensionlessResolution)) { - continue; - } - if (hasTSFileExtension(specifier.text)) { - return 3 /* TsExtension */; - } - if (hasJSFileExtension(specifier.text)) { - usesJsExtensions = true; - } - } - } - return usesJsExtensions ? 2 /* JsExtension */ : 0 /* Minimal */; - } -} -function getRequiresAtTopOfFile(sourceFile) { - let nonRequireStatementCount = 0; - let requires; - for (const statement of sourceFile.statements) { - if (nonRequireStatementCount > 3) { - break; - } - if (isRequireVariableStatement(statement)) { - requires = concatenate(requires, statement.declarationList.declarations.map((d) => d.initializer)); - } else if (isExpressionStatement(statement) && isRequireCall( - statement.expression, - /*requireStringLiteralLikeArgument*/ - true - )) { - requires = append(requires, statement.expression); - } else { - nonRequireStatementCount++; - } - } - return requires || emptyArray; -} -function isSupportedSourceFileName(fileName, compilerOptions, extraFileExtensions) { - if (!fileName) return false; - const supportedExtensions = getSupportedExtensions(compilerOptions, extraFileExtensions); - for (const extension of flatten(getSupportedExtensionsWithJsonIfResolveJsonModule(compilerOptions, supportedExtensions))) { - if (fileExtensionIs(fileName, extension)) { - return true; - } - } - return false; -} -function numberOfDirectorySeparators(str) { - const match = str.match(/\//g); - return match ? match.length : 0; -} -function compareNumberOfDirectorySeparators(path1, path2) { - return compareValues( - numberOfDirectorySeparators(path1), - numberOfDirectorySeparators(path2) - ); -} -var extensionsToRemove = [".d.ts" /* Dts */, ".d.mts" /* Dmts */, ".d.cts" /* Dcts */, ".mjs" /* Mjs */, ".mts" /* Mts */, ".cjs" /* Cjs */, ".cts" /* Cts */, ".ts" /* Ts */, ".js" /* Js */, ".tsx" /* Tsx */, ".jsx" /* Jsx */, ".json" /* Json */]; -function removeFileExtension(path) { - for (const ext of extensionsToRemove) { - const extensionless = tryRemoveExtension(path, ext); - if (extensionless !== void 0) { - return extensionless; - } - } - return path; -} -function tryRemoveExtension(path, extension) { - return fileExtensionIs(path, extension) ? removeExtension(path, extension) : void 0; -} -function removeExtension(path, extension) { - return path.substring(0, path.length - extension.length); -} -function changeExtension(path, newExtension) { - return changeAnyExtension( - path, - newExtension, - extensionsToRemove, - /*ignoreCase*/ - false - ); -} -function tryParsePattern(pattern) { - const indexOfStar = pattern.indexOf("*"); - if (indexOfStar === -1) { - return pattern; - } - return pattern.indexOf("*", indexOfStar + 1) !== -1 ? void 0 : { - prefix: pattern.substr(0, indexOfStar), - suffix: pattern.substr(indexOfStar + 1) - }; -} -function tryParsePatterns(paths) { - return mapDefined(getOwnKeys(paths), (path) => tryParsePattern(path)); -} -function positionIsSynthesized(pos) { - return !(pos >= 0); -} -function extensionIsTS(ext) { - return ext === ".ts" /* Ts */ || ext === ".tsx" /* Tsx */ || ext === ".d.ts" /* Dts */ || ext === ".cts" /* Cts */ || ext === ".mts" /* Mts */ || ext === ".d.mts" /* Dmts */ || ext === ".d.cts" /* Dcts */ || startsWith(ext, ".d.") && endsWith(ext, ".ts"); -} -function resolutionExtensionIsTSOrJson(ext) { - return extensionIsTS(ext) || ext === ".json" /* Json */; -} -function extensionFromPath(path) { - const ext = tryGetExtensionFromPath2(path); - return ext !== void 0 ? ext : Debug.fail(`File ${path} has unknown extension.`); -} -function tryGetExtensionFromPath2(path) { - return find(extensionsToRemove, (e) => fileExtensionIs(path, e)); -} -function isCheckJsEnabledForFile(sourceFile, compilerOptions) { - return sourceFile.checkJsDirective ? sourceFile.checkJsDirective.enabled : compilerOptions.checkJs; -} -var emptyFileSystemEntries = { - files: emptyArray, - directories: emptyArray -}; -function matchPatternOrExact(patternOrStrings, candidate) { - const patterns = []; - for (const patternOrString of patternOrStrings) { - if (patternOrString === candidate) { - return candidate; - } - if (!isString(patternOrString)) { - patterns.push(patternOrString); - } - } - return findBestPatternMatch(patterns, (_) => _, candidate); -} -function sliceAfter(arr, value) { - const index = arr.indexOf(value); - Debug.assert(index !== -1); - return arr.slice(index); -} -function addRelatedInfo(diagnostic, ...relatedInformation) { - if (!relatedInformation.length) { - return diagnostic; - } - if (!diagnostic.relatedInformation) { - diagnostic.relatedInformation = []; - } - Debug.assert(diagnostic.relatedInformation !== emptyArray, "Diagnostic had empty array singleton for related info, but is still being constructed!"); - diagnostic.relatedInformation.push(...relatedInformation); - return diagnostic; -} -function minAndMax(arr, getValue) { - Debug.assert(arr.length !== 0); - let min2 = getValue(arr[0]); - let max = min2; - for (let i = 1; i < arr.length; i++) { - const value = getValue(arr[i]); - if (value < min2) { - min2 = value; - } else if (value > max) { - max = value; - } - } - return { min: min2, max }; -} -function rangeOfNode(node) { - return { pos: getTokenPosOfNode(node), end: node.end }; -} -function rangeOfTypeParameters(sourceFile, typeParameters) { - const pos = typeParameters.pos - 1; - const end = Math.min(sourceFile.text.length, skipTrivia(sourceFile.text, typeParameters.end) + 1); - return { pos, end }; -} -function skipTypeChecking(sourceFile, options, host) { - return skipTypeCheckingWorker( - sourceFile, - options, - host, - /*ignoreNoCheck*/ - false - ); -} -function skipTypeCheckingIgnoringNoCheck(sourceFile, options, host) { - return skipTypeCheckingWorker( - sourceFile, - options, - host, - /*ignoreNoCheck*/ - true - ); -} -function skipTypeCheckingWorker(sourceFile, options, host, ignoreNoCheck) { - return options.skipLibCheck && sourceFile.isDeclarationFile || options.skipDefaultLibCheck && sourceFile.hasNoDefaultLib || !ignoreNoCheck && options.noCheck || host.isSourceOfProjectReferenceRedirect(sourceFile.fileName) || !canIncludeBindAndCheckDiagnostics(sourceFile, options); -} -function canIncludeBindAndCheckDiagnostics(sourceFile, options) { - if (!!sourceFile.checkJsDirective && sourceFile.checkJsDirective.enabled === false) return false; - if (sourceFile.scriptKind === 3 /* TS */ || sourceFile.scriptKind === 4 /* TSX */ || sourceFile.scriptKind === 5 /* External */) return true; - const isJs = sourceFile.scriptKind === 1 /* JS */ || sourceFile.scriptKind === 2 /* JSX */; - const isCheckJs = isJs && isCheckJsEnabledForFile(sourceFile, options); - const isPlainJs = isPlainJsFile(sourceFile, options.checkJs); - return isPlainJs || isCheckJs || sourceFile.scriptKind === 7 /* Deferred */; -} -function isJsonEqual(a, b) { - return a === b || typeof a === "object" && a !== null && typeof b === "object" && b !== null && equalOwnProperties(a, b, isJsonEqual); -} -function parsePseudoBigInt(stringValue) { - let log2Base; - switch (stringValue.charCodeAt(1)) { - case 98 /* b */: - case 66 /* B */: - log2Base = 1; - break; - case 111 /* o */: - case 79 /* O */: - log2Base = 3; - break; - case 120 /* x */: - case 88 /* X */: - log2Base = 4; - break; - default: - const nIndex = stringValue.length - 1; - let nonZeroStart = 0; - while (stringValue.charCodeAt(nonZeroStart) === 48 /* _0 */) { - nonZeroStart++; - } - return stringValue.slice(nonZeroStart, nIndex) || "0"; - } - const startIndex = 2, endIndex = stringValue.length - 1; - const bitsNeeded = (endIndex - startIndex) * log2Base; - const segments = new Uint16Array((bitsNeeded >>> 4) + (bitsNeeded & 15 ? 1 : 0)); - for (let i = endIndex - 1, bitOffset = 0; i >= startIndex; i--, bitOffset += log2Base) { - const segment = bitOffset >>> 4; - const digitChar = stringValue.charCodeAt(i); - const digit = digitChar <= 57 /* _9 */ ? digitChar - 48 /* _0 */ : 10 + digitChar - (digitChar <= 70 /* F */ ? 65 /* A */ : 97 /* a */); - const shiftedDigit = digit << (bitOffset & 15); - segments[segment] |= shiftedDigit; - const residual = shiftedDigit >>> 16; - if (residual) segments[segment + 1] |= residual; - } - let base10Value = ""; - let firstNonzeroSegment = segments.length - 1; - let segmentsRemaining = true; - while (segmentsRemaining) { - let mod10 = 0; - segmentsRemaining = false; - for (let segment = firstNonzeroSegment; segment >= 0; segment--) { - const newSegment = mod10 << 16 | segments[segment]; - const segmentValue = newSegment / 10 | 0; - segments[segment] = segmentValue; - mod10 = newSegment - segmentValue * 10; - if (segmentValue && !segmentsRemaining) { - firstNonzeroSegment = segment; - segmentsRemaining = true; - } - } - base10Value = mod10 + base10Value; - } - return base10Value; -} -function pseudoBigIntToString({ negative, base10Value }) { - return (negative && base10Value !== "0" ? "-" : "") + base10Value; -} -function parseValidBigInt(text) { - const negative = text.startsWith("-"); - const base10Value = parsePseudoBigInt(`${negative ? text.slice(1) : text}n`); - return { negative, base10Value }; -} -function isValidBigIntString(s, roundTripOnly) { - if (s === "") return false; - const scanner = createScanner( - 99 /* ESNext */, - /*skipTrivia*/ - false - ); - let success = true; - scanner.setOnError(() => success = false); - scanner.setText(s + "n"); - let result = scanner.scan(); - const negative = result === 41 /* MinusToken */; - if (negative) { - result = scanner.scan(); - } - const flags = scanner.getTokenFlags(); - return success && result === 10 /* BigIntLiteral */ && scanner.getTokenEnd() === s.length + 1 && !(flags & 512 /* ContainsSeparator */) && (!roundTripOnly || s === pseudoBigIntToString({ negative, base10Value: parsePseudoBigInt(scanner.getTokenValue()) })); -} -function isValidTypeOnlyAliasUseSite(useSite) { - return !!(useSite.flags & 33554432 /* Ambient */) || isPartOfTypeQuery(useSite) || isIdentifierInNonEmittingHeritageClause(useSite) || isPartOfPossiblyValidTypeOrAbstractComputedPropertyName(useSite) || !(isExpressionNode(useSite) || isShorthandPropertyNameUseSite(useSite)); -} -function isShorthandPropertyNameUseSite(useSite) { - return isIdentifier(useSite) && isShorthandPropertyAssignment(useSite.parent) && useSite.parent.name === useSite; -} -function isPartOfPossiblyValidTypeOrAbstractComputedPropertyName(node) { - while (node.kind === 80 /* Identifier */ || node.kind === 211 /* PropertyAccessExpression */) { - node = node.parent; - } - if (node.kind !== 167 /* ComputedPropertyName */) { - return false; - } - if (hasSyntacticModifier(node.parent, 64 /* Abstract */)) { - return true; - } - const containerKind = node.parent.parent.kind; - return containerKind === 264 /* InterfaceDeclaration */ || containerKind === 187 /* TypeLiteral */; -} -function isIdentifierInNonEmittingHeritageClause(node) { - if (node.kind !== 80 /* Identifier */) return false; - const heritageClause = findAncestor(node.parent, (parent) => { - switch (parent.kind) { - case 298 /* HeritageClause */: - return true; - case 211 /* PropertyAccessExpression */: - case 233 /* ExpressionWithTypeArguments */: - return false; - default: - return "quit"; - } - }); - return (heritageClause == null ? void 0 : heritageClause.token) === 119 /* ImplementsKeyword */ || (heritageClause == null ? void 0 : heritageClause.parent.kind) === 264 /* InterfaceDeclaration */; -} -function isIdentifierTypeReference(node) { - return isTypeReferenceNode(node) && isIdentifier(node.typeName); -} -function arrayIsHomogeneous(array, comparer = equateValues) { - if (array.length < 2) return true; - const first2 = array[0]; - for (let i = 1, length2 = array.length; i < length2; i++) { - const target = array[i]; - if (!comparer(first2, target)) return false; - } - return true; -} -function setTextRangePos(range, pos) { - range.pos = pos; - return range; -} -function setTextRangeEnd(range, end) { - range.end = end; - return range; -} -function setTextRangePosEnd(range, pos, end) { - return setTextRangeEnd(setTextRangePos(range, pos), end); -} -function setTextRangePosWidth(range, pos, width) { - return setTextRangePosEnd(range, pos, pos + width); -} -function setNodeFlags(node, newFlags) { - if (node) { - node.flags = newFlags; - } - return node; -} -function setParent(child, parent) { - if (child && parent) { - child.parent = parent; - } - return child; -} -function setParentRecursive(rootNode, incremental) { - if (!rootNode) return rootNode; - forEachChildRecursively(rootNode, isJSDocNode(rootNode) ? bindParentToChildIgnoringJSDoc : bindParentToChild); - return rootNode; - function bindParentToChildIgnoringJSDoc(child, parent) { - if (incremental && child.parent === parent) { - return "skip"; - } - setParent(child, parent); - } - function bindJSDoc(child) { - if (hasJSDocNodes(child)) { - for (const doc of child.jsDoc) { - bindParentToChildIgnoringJSDoc(doc, child); - forEachChildRecursively(doc, bindParentToChildIgnoringJSDoc); - } - } - } - function bindParentToChild(child, parent) { - return bindParentToChildIgnoringJSDoc(child, parent) || bindJSDoc(child); - } -} -function isPackedElement(node) { - return !isOmittedExpression(node); -} -function isPackedArrayLiteral(node) { - return isArrayLiteralExpression(node) && every(node.elements, isPackedElement); -} -function expressionResultIsUnused(node) { - Debug.assertIsDefined(node.parent); - while (true) { - const parent = node.parent; - if (isParenthesizedExpression(parent)) { - node = parent; - continue; - } - if (isExpressionStatement(parent) || isVoidExpression(parent) || isForStatement(parent) && (parent.initializer === node || parent.incrementor === node)) { - return true; - } - if (isCommaListExpression(parent)) { - if (node !== last(parent.elements)) return true; - node = parent; - continue; - } - if (isBinaryExpression(parent) && parent.operatorToken.kind === 28 /* CommaToken */) { - if (node === parent.left) return true; - node = parent; - continue; - } - return false; - } -} -function containsIgnoredPath(path) { - return some(ignoredPaths, (p) => path.includes(p)); -} -function getContainingNodeArray(node) { - if (!node.parent) return void 0; - switch (node.kind) { - case 168 /* TypeParameter */: - const { parent: parent2 } = node; - return parent2.kind === 195 /* InferType */ ? void 0 : parent2.typeParameters; - case 169 /* Parameter */: - return node.parent.parameters; - case 204 /* TemplateLiteralTypeSpan */: - return node.parent.templateSpans; - case 239 /* TemplateSpan */: - return node.parent.templateSpans; - case 170 /* Decorator */: { - const { parent: parent3 } = node; - return canHaveDecorators(parent3) ? parent3.modifiers : void 0; - } - case 298 /* HeritageClause */: - return node.parent.heritageClauses; - } - const { parent } = node; - if (isJSDocTag(node)) { - return isJSDocTypeLiteral(node.parent) ? void 0 : node.parent.tags; - } - switch (parent.kind) { - case 187 /* TypeLiteral */: - case 264 /* InterfaceDeclaration */: - return isTypeElement(node) ? parent.members : void 0; - case 192 /* UnionType */: - case 193 /* IntersectionType */: - return parent.types; - case 189 /* TupleType */: - case 209 /* ArrayLiteralExpression */: - case 355 /* CommaListExpression */: - case 275 /* NamedImports */: - case 279 /* NamedExports */: - return parent.elements; - case 210 /* ObjectLiteralExpression */: - case 292 /* JsxAttributes */: - return parent.properties; - case 213 /* CallExpression */: - case 214 /* NewExpression */: - return isTypeNode(node) ? parent.typeArguments : parent.expression === node ? void 0 : parent.arguments; - case 284 /* JsxElement */: - case 288 /* JsxFragment */: - return isJsxChild(node) ? parent.children : void 0; - case 286 /* JsxOpeningElement */: - case 285 /* JsxSelfClosingElement */: - return isTypeNode(node) ? parent.typeArguments : void 0; - case 241 /* Block */: - case 296 /* CaseClause */: - case 297 /* DefaultClause */: - case 268 /* ModuleBlock */: - return parent.statements; - case 269 /* CaseBlock */: - return parent.clauses; - case 263 /* ClassDeclaration */: - case 231 /* ClassExpression */: - return isClassElement(node) ? parent.members : void 0; - case 266 /* EnumDeclaration */: - return isEnumMember(node) ? parent.members : void 0; - case 307 /* SourceFile */: - return parent.statements; - } -} -function hasContextSensitiveParameters(node) { - if (!node.typeParameters) { - if (some(node.parameters, (p) => !getEffectiveTypeAnnotationNode(p))) { - return true; - } - if (node.kind !== 219 /* ArrowFunction */) { - const parameter = firstOrUndefined(node.parameters); - if (!(parameter && parameterIsThisKeyword(parameter))) { - return true; - } - } - } - return false; -} -function isInfinityOrNaNString(name) { - return name === "Infinity" || name === "-Infinity" || name === "NaN"; -} -function isCatchClauseVariableDeclaration(node) { - return node.kind === 260 /* VariableDeclaration */ && node.parent.kind === 299 /* CatchClause */; -} -function isFunctionExpressionOrArrowFunction(node) { - return node.kind === 218 /* FunctionExpression */ || node.kind === 219 /* ArrowFunction */; -} -function isNumericLiteralName(name) { - return (+name).toString() === name; -} -function createPropertyNameNodeForIdentifierOrLiteral(name, target, singleQuote, stringNamed, isMethod) { - const isMethodNamedNew = isMethod && name === "new"; - return !isMethodNamedNew && isIdentifierText(name, target) ? factory.createIdentifier(name) : !stringNamed && !isMethodNamedNew && isNumericLiteralName(name) && +name >= 0 ? factory.createNumericLiteral(+name) : factory.createStringLiteral(name, !!singleQuote); -} -function isThisTypeParameter(type) { - return !!(type.flags & 262144 /* TypeParameter */ && type.isThisType); -} -function getNodeModulePathParts(fullPath) { - let topLevelNodeModulesIndex = 0; - let topLevelPackageNameIndex = 0; - let packageRootIndex = 0; - let fileNameIndex = 0; - let States; - ((States2) => { - States2[States2["BeforeNodeModules"] = 0] = "BeforeNodeModules"; - States2[States2["NodeModules"] = 1] = "NodeModules"; - States2[States2["Scope"] = 2] = "Scope"; - States2[States2["PackageContent"] = 3] = "PackageContent"; - })(States || (States = {})); - let partStart = 0; - let partEnd = 0; - let state = 0 /* BeforeNodeModules */; - while (partEnd >= 0) { - partStart = partEnd; - partEnd = fullPath.indexOf("/", partStart + 1); - switch (state) { - case 0 /* BeforeNodeModules */: - if (fullPath.indexOf(nodeModulesPathPart, partStart) === partStart) { - topLevelNodeModulesIndex = partStart; - topLevelPackageNameIndex = partEnd; - state = 1 /* NodeModules */; - } - break; - case 1 /* NodeModules */: - case 2 /* Scope */: - if (state === 1 /* NodeModules */ && fullPath.charAt(partStart + 1) === "@") { - state = 2 /* Scope */; - } else { - packageRootIndex = partEnd; - state = 3 /* PackageContent */; - } - break; - case 3 /* PackageContent */: - if (fullPath.indexOf(nodeModulesPathPart, partStart) === partStart) { - state = 1 /* NodeModules */; - } else { - state = 3 /* PackageContent */; - } - break; - } - } - fileNameIndex = partStart; - return state > 1 /* NodeModules */ ? { topLevelNodeModulesIndex, topLevelPackageNameIndex, packageRootIndex, fileNameIndex } : void 0; -} -function isTypeDeclaration(node) { - switch (node.kind) { - case 168 /* TypeParameter */: - case 263 /* ClassDeclaration */: - case 264 /* InterfaceDeclaration */: - case 265 /* TypeAliasDeclaration */: - case 266 /* EnumDeclaration */: - case 346 /* JSDocTypedefTag */: - case 338 /* JSDocCallbackTag */: - case 340 /* JSDocEnumTag */: - return true; - case 273 /* ImportClause */: - return node.isTypeOnly; - case 276 /* ImportSpecifier */: - case 281 /* ExportSpecifier */: - return node.parent.parent.isTypeOnly; - default: - return false; - } -} -function canHaveExportModifier(node) { - return isEnumDeclaration(node) || isVariableStatement(node) || isFunctionDeclaration(node) || isClassDeclaration(node) || isInterfaceDeclaration(node) || isTypeDeclaration(node) || isModuleDeclaration(node) && !isExternalModuleAugmentation(node) && !isGlobalScopeAugmentation(node); -} -function isOptionalJSDocPropertyLikeTag(node) { - if (!isJSDocPropertyLikeTag(node)) { - return false; - } - const { isBracketed, typeExpression } = node; - return isBracketed || !!typeExpression && typeExpression.type.kind === 316 /* JSDocOptionalType */; -} -function canUsePropertyAccess(name, languageVersion) { - if (name.length === 0) { - return false; - } - const firstChar = name.charCodeAt(0); - return firstChar === 35 /* hash */ ? name.length > 1 && isIdentifierStart(name.charCodeAt(1), languageVersion) : isIdentifierStart(firstChar, languageVersion); -} -function isJSDocOptionalParameter(node) { - return isInJSFile(node) && // node.type should only be a JSDocOptionalType when node is a parameter of a JSDocFunctionType - (node.type && node.type.kind === 316 /* JSDocOptionalType */ || getJSDocParameterTags(node).some(isOptionalJSDocPropertyLikeTag)); -} -function isOptionalDeclaration(declaration) { - switch (declaration.kind) { - case 172 /* PropertyDeclaration */: - case 171 /* PropertySignature */: - return !!declaration.questionToken; - case 169 /* Parameter */: - return !!declaration.questionToken || isJSDocOptionalParameter(declaration); - case 348 /* JSDocPropertyTag */: - case 341 /* JSDocParameterTag */: - return isOptionalJSDocPropertyLikeTag(declaration); - default: - return false; - } -} -function isNonNullAccess(node) { - const kind = node.kind; - return (kind === 211 /* PropertyAccessExpression */ || kind === 212 /* ElementAccessExpression */) && isNonNullExpression(node.expression); -} -function isJSDocSatisfiesExpression(node) { - return isInJSFile(node) && isParenthesizedExpression(node) && hasJSDocNodes(node) && !!getJSDocSatisfiesTag(node); -} -function getJSDocSatisfiesExpressionType(node) { - return Debug.checkDefined(tryGetJSDocSatisfiesTypeNode(node)); -} -function tryGetJSDocSatisfiesTypeNode(node) { - const tag = getJSDocSatisfiesTag(node); - return tag && tag.typeExpression && tag.typeExpression.type; -} -function getEscapedTextOfJsxAttributeName(node) { - return isIdentifier(node) ? node.escapedText : getEscapedTextOfJsxNamespacedName(node); -} -function getTextOfJsxAttributeName(node) { - return isIdentifier(node) ? idText(node) : getTextOfJsxNamespacedName(node); -} -function isJsxAttributeName(node) { - const kind = node.kind; - return kind === 80 /* Identifier */ || kind === 295 /* JsxNamespacedName */; -} -function getEscapedTextOfJsxNamespacedName(node) { - return `${node.namespace.escapedText}:${idText(node.name)}`; -} -function getTextOfJsxNamespacedName(node) { - return `${idText(node.namespace)}:${idText(node.name)}`; -} -function intrinsicTagNameToString(node) { - return isIdentifier(node) ? idText(node) : getTextOfJsxNamespacedName(node); -} -function isTypeUsableAsPropertyName(type) { - return !!(type.flags & 8576 /* StringOrNumberLiteralOrUnique */); -} -function getPropertyNameFromType(type) { - if (type.flags & 8192 /* UniqueESSymbol */) { - return type.escapedName; - } - if (type.flags & (128 /* StringLiteral */ | 256 /* NumberLiteral */)) { - return escapeLeadingUnderscores("" + type.value); - } - return Debug.fail(); -} -function isExpandoPropertyDeclaration(declaration) { - return !!declaration && (isPropertyAccessExpression(declaration) || isElementAccessExpression(declaration) || isBinaryExpression(declaration)); -} -function hasResolutionModeOverride(node) { - if (node === void 0) { - return false; - } - return !!getResolutionModeOverride(node.attributes); -} -var stringReplace = String.prototype.replace; -function replaceFirstStar(s, replacement) { - return stringReplace.call(s, "*", replacement); -} -function getNameFromImportAttribute(node) { - return isIdentifier(node.name) ? node.name.escapedText : escapeLeadingUnderscores(node.name.text); -} -function evaluatorResult(value, isSyntacticallyString = false, resolvedOtherFiles = false, hasExternalReferences = false) { - return { value, isSyntacticallyString, resolvedOtherFiles, hasExternalReferences }; -} -function createEvaluator({ evaluateElementAccessExpression, evaluateEntityNameExpression }) { - function evaluate(expr, location) { - let isSyntacticallyString = false; - let resolvedOtherFiles = false; - let hasExternalReferences = false; - expr = skipParentheses(expr); - switch (expr.kind) { - case 224 /* PrefixUnaryExpression */: - const result = evaluate(expr.operand, location); - resolvedOtherFiles = result.resolvedOtherFiles; - hasExternalReferences = result.hasExternalReferences; - if (typeof result.value === "number") { - switch (expr.operator) { - case 40 /* PlusToken */: - return evaluatorResult(result.value, isSyntacticallyString, resolvedOtherFiles, hasExternalReferences); - case 41 /* MinusToken */: - return evaluatorResult(-result.value, isSyntacticallyString, resolvedOtherFiles, hasExternalReferences); - case 55 /* TildeToken */: - return evaluatorResult(~result.value, isSyntacticallyString, resolvedOtherFiles, hasExternalReferences); - } - } - break; - case 226 /* BinaryExpression */: { - const left = evaluate(expr.left, location); - const right = evaluate(expr.right, location); - isSyntacticallyString = (left.isSyntacticallyString || right.isSyntacticallyString) && expr.operatorToken.kind === 40 /* PlusToken */; - resolvedOtherFiles = left.resolvedOtherFiles || right.resolvedOtherFiles; - hasExternalReferences = left.hasExternalReferences || right.hasExternalReferences; - if (typeof left.value === "number" && typeof right.value === "number") { - switch (expr.operatorToken.kind) { - case 52 /* BarToken */: - return evaluatorResult(left.value | right.value, isSyntacticallyString, resolvedOtherFiles, hasExternalReferences); - case 51 /* AmpersandToken */: - return evaluatorResult(left.value & right.value, isSyntacticallyString, resolvedOtherFiles, hasExternalReferences); - case 49 /* GreaterThanGreaterThanToken */: - return evaluatorResult(left.value >> right.value, isSyntacticallyString, resolvedOtherFiles, hasExternalReferences); - case 50 /* GreaterThanGreaterThanGreaterThanToken */: - return evaluatorResult(left.value >>> right.value, isSyntacticallyString, resolvedOtherFiles, hasExternalReferences); - case 48 /* LessThanLessThanToken */: - return evaluatorResult(left.value << right.value, isSyntacticallyString, resolvedOtherFiles, hasExternalReferences); - case 53 /* CaretToken */: - return evaluatorResult(left.value ^ right.value, isSyntacticallyString, resolvedOtherFiles, hasExternalReferences); - case 42 /* AsteriskToken */: - return evaluatorResult(left.value * right.value, isSyntacticallyString, resolvedOtherFiles, hasExternalReferences); - case 44 /* SlashToken */: - return evaluatorResult(left.value / right.value, isSyntacticallyString, resolvedOtherFiles, hasExternalReferences); - case 40 /* PlusToken */: - return evaluatorResult(left.value + right.value, isSyntacticallyString, resolvedOtherFiles, hasExternalReferences); - case 41 /* MinusToken */: - return evaluatorResult(left.value - right.value, isSyntacticallyString, resolvedOtherFiles, hasExternalReferences); - case 45 /* PercentToken */: - return evaluatorResult(left.value % right.value, isSyntacticallyString, resolvedOtherFiles, hasExternalReferences); - case 43 /* AsteriskAsteriskToken */: - return evaluatorResult(left.value ** right.value, isSyntacticallyString, resolvedOtherFiles, hasExternalReferences); - } - } else if ((typeof left.value === "string" || typeof left.value === "number") && (typeof right.value === "string" || typeof right.value === "number") && expr.operatorToken.kind === 40 /* PlusToken */) { - return evaluatorResult( - "" + left.value + right.value, - isSyntacticallyString, - resolvedOtherFiles, - hasExternalReferences - ); - } - break; - } - case 11 /* StringLiteral */: - case 15 /* NoSubstitutionTemplateLiteral */: - return evaluatorResult( - expr.text, - /*isSyntacticallyString*/ - true - ); - case 228 /* TemplateExpression */: - return evaluateTemplateExpression(expr, location); - case 9 /* NumericLiteral */: - return evaluatorResult(+expr.text); - case 80 /* Identifier */: - return evaluateEntityNameExpression(expr, location); - case 211 /* PropertyAccessExpression */: - if (isEntityNameExpression(expr)) { - return evaluateEntityNameExpression(expr, location); - } - break; - case 212 /* ElementAccessExpression */: - return evaluateElementAccessExpression(expr, location); - } - return evaluatorResult( - /*value*/ - void 0, - isSyntacticallyString, - resolvedOtherFiles, - hasExternalReferences - ); - } - function evaluateTemplateExpression(expr, location) { - let result = expr.head.text; - let resolvedOtherFiles = false; - let hasExternalReferences = false; - for (const span of expr.templateSpans) { - const spanResult = evaluate(span.expression, location); - if (spanResult.value === void 0) { - return evaluatorResult( - /*value*/ - void 0, - /*isSyntacticallyString*/ - true - ); - } - result += spanResult.value; - result += span.literal.text; - resolvedOtherFiles || (resolvedOtherFiles = spanResult.resolvedOtherFiles); - hasExternalReferences || (hasExternalReferences = spanResult.hasExternalReferences); - } - return evaluatorResult( - result, - /*isSyntacticallyString*/ - true, - resolvedOtherFiles, - hasExternalReferences - ); - } - return evaluate; -} -function isConstAssertion(location) { - return isAssertionExpression(location) && isConstTypeReference(location.type) || isJSDocTypeTag(location) && isConstTypeReference(location.typeExpression); -} -function findConstructorDeclaration(node) { - const members = node.members; - for (const member of members) { - if (member.kind === 176 /* Constructor */ && nodeIsPresent(member.body)) { - return member; - } - } -} -function createNameResolver({ - compilerOptions, - requireSymbol, - argumentsSymbol, - error, - getSymbolOfDeclaration, - globals, - lookup, - setRequiresScopeChangeCache = returnUndefined, - getRequiresScopeChangeCache = returnUndefined, - onPropertyWithInvalidInitializer = returnFalse, - onFailedToResolveSymbol = returnUndefined, - onSuccessfullyResolvedSymbol = returnUndefined -}) { - var isolatedModulesLikeFlagName = compilerOptions.verbatimModuleSyntax ? "verbatimModuleSyntax" : "isolatedModules"; - var emitStandardClassFields = getEmitStandardClassFields(compilerOptions); - var emptySymbols = createSymbolTable(); - return resolveNameHelper; - function resolveNameHelper(location, nameArg, meaning, nameNotFoundMessage, isUse, excludeGlobals) { - var _a, _b, _c; - const originalLocation = location; - let result; - let lastLocation; - let lastSelfReferenceLocation; - let propertyWithInvalidInitializer; - let associatedDeclarationForContainingInitializerOrBindingName; - let withinDeferredContext = false; - let grandparent; - const name = isString(nameArg) ? nameArg : nameArg.escapedText; - loop: - while (location) { - if (name === "const" && isConstAssertion(location)) { - return void 0; - } - if (isModuleOrEnumDeclaration(location) && lastLocation && location.name === lastLocation) { - lastLocation = location; - location = location.parent; - } - if (canHaveLocals(location) && location.locals && !isGlobalSourceFile(location)) { - if (result = lookup(location.locals, name, meaning)) { - let useResult = true; - if (isFunctionLike(location) && lastLocation && lastLocation !== location.body) { - if (meaning & result.flags & 788968 /* Type */ && lastLocation.kind !== 320 /* JSDoc */) { - useResult = result.flags & 262144 /* TypeParameter */ ? !!(lastLocation.flags & 16 /* Synthesized */) || // Synthetic fake scopes are added for signatures so type parameters are accessible from them - lastLocation === location.type || lastLocation.kind === 169 /* Parameter */ || lastLocation.kind === 341 /* JSDocParameterTag */ || lastLocation.kind === 342 /* JSDocReturnTag */ || lastLocation.kind === 168 /* TypeParameter */ : false; - } - if (meaning & result.flags & 3 /* Variable */) { - if (useOuterVariableScopeInParameter(result, location, lastLocation)) { - useResult = false; - } else if (result.flags & 1 /* FunctionScopedVariable */) { - useResult = lastLocation.kind === 169 /* Parameter */ || !!(lastLocation.flags & 16 /* Synthesized */) || // Synthetic fake scopes are added for signatures so parameters are accessible from them - lastLocation === location.type && !!findAncestor(result.valueDeclaration, isParameter); - } - } - } else if (location.kind === 194 /* ConditionalType */) { - useResult = lastLocation === location.trueType; - } - if (useResult) { - break loop; - } else { - result = void 0; - } - } - } - withinDeferredContext = withinDeferredContext || getIsDeferredContext(location, lastLocation); - switch (location.kind) { - case 307 /* SourceFile */: - if (!isExternalOrCommonJsModule(location)) break; - case 267 /* ModuleDeclaration */: - const moduleExports = ((_a = getSymbolOfDeclaration(location)) == null ? void 0 : _a.exports) || emptySymbols; - if (location.kind === 307 /* SourceFile */ || isModuleDeclaration(location) && location.flags & 33554432 /* Ambient */ && !isGlobalScopeAugmentation(location)) { - if (result = moduleExports.get("default" /* Default */)) { - const localSymbol = getLocalSymbolForExportDefault(result); - if (localSymbol && result.flags & meaning && localSymbol.escapedName === name) { - break loop; - } - result = void 0; - } - const moduleExport = moduleExports.get(name); - if (moduleExport && moduleExport.flags === 2097152 /* Alias */ && (getDeclarationOfKind(moduleExport, 281 /* ExportSpecifier */) || getDeclarationOfKind(moduleExport, 280 /* NamespaceExport */))) { - break; - } - } - if (name !== "default" /* Default */ && (result = lookup(moduleExports, name, meaning & 2623475 /* ModuleMember */))) { - if (isSourceFile(location) && location.commonJsModuleIndicator && !((_b = result.declarations) == null ? void 0 : _b.some(isJSDocTypeAlias))) { - result = void 0; - } else { - break loop; - } - } - break; - case 266 /* EnumDeclaration */: - if (result = lookup(((_c = getSymbolOfDeclaration(location)) == null ? void 0 : _c.exports) || emptySymbols, name, meaning & 8 /* EnumMember */)) { - if (nameNotFoundMessage && getIsolatedModules(compilerOptions) && !(location.flags & 33554432 /* Ambient */) && getSourceFileOfNode(location) !== getSourceFileOfNode(result.valueDeclaration)) { - error( - originalLocation, - Diagnostics.Cannot_access_0_from_another_file_without_qualification_when_1_is_enabled_Use_2_instead, - unescapeLeadingUnderscores(name), - isolatedModulesLikeFlagName, - `${unescapeLeadingUnderscores(getSymbolOfDeclaration(location).escapedName)}.${unescapeLeadingUnderscores(name)}` - ); - } - break loop; - } - break; - case 172 /* PropertyDeclaration */: - if (!isStatic(location)) { - const ctor = findConstructorDeclaration(location.parent); - if (ctor && ctor.locals) { - if (lookup(ctor.locals, name, meaning & 111551 /* Value */)) { - Debug.assertNode(location, isPropertyDeclaration); - propertyWithInvalidInitializer = location; - } - } - } - break; - case 263 /* ClassDeclaration */: - case 231 /* ClassExpression */: - case 264 /* InterfaceDeclaration */: - if (result = lookup(getSymbolOfDeclaration(location).members || emptySymbols, name, meaning & 788968 /* Type */)) { - if (!isTypeParameterSymbolDeclaredInContainer(result, location)) { - result = void 0; - break; - } - if (lastLocation && isStatic(lastLocation)) { - if (nameNotFoundMessage) { - error(originalLocation, Diagnostics.Static_members_cannot_reference_class_type_parameters); - } - return void 0; - } - break loop; - } - if (isClassExpression(location) && meaning & 32 /* Class */) { - const className = location.name; - if (className && name === className.escapedText) { - result = location.symbol; - break loop; - } - } - break; - case 233 /* ExpressionWithTypeArguments */: - if (lastLocation === location.expression && location.parent.token === 96 /* ExtendsKeyword */) { - const container = location.parent.parent; - if (isClassLike(container) && (result = lookup(getSymbolOfDeclaration(container).members, name, meaning & 788968 /* Type */))) { - if (nameNotFoundMessage) { - error(originalLocation, Diagnostics.Base_class_expressions_cannot_reference_class_type_parameters); - } - return void 0; - } - } - break; - case 167 /* ComputedPropertyName */: - grandparent = location.parent.parent; - if (isClassLike(grandparent) || grandparent.kind === 264 /* InterfaceDeclaration */) { - if (result = lookup(getSymbolOfDeclaration(grandparent).members, name, meaning & 788968 /* Type */)) { - if (nameNotFoundMessage) { - error(originalLocation, Diagnostics.A_computed_property_name_cannot_reference_a_type_parameter_from_its_containing_type); - } - return void 0; - } - } - break; - case 219 /* ArrowFunction */: - if (getEmitScriptTarget(compilerOptions) >= 2 /* ES2015 */) { - break; - } - case 174 /* MethodDeclaration */: - case 176 /* Constructor */: - case 177 /* GetAccessor */: - case 178 /* SetAccessor */: - case 262 /* FunctionDeclaration */: - if (meaning & 3 /* Variable */ && name === "arguments") { - result = argumentsSymbol; - break loop; - } - break; - case 218 /* FunctionExpression */: - if (meaning & 3 /* Variable */ && name === "arguments") { - result = argumentsSymbol; - break loop; - } - if (meaning & 16 /* Function */) { - const functionName = location.name; - if (functionName && name === functionName.escapedText) { - result = location.symbol; - break loop; - } - } - break; - case 170 /* Decorator */: - if (location.parent && location.parent.kind === 169 /* Parameter */) { - location = location.parent; - } - if (location.parent && (isClassElement(location.parent) || location.parent.kind === 263 /* ClassDeclaration */)) { - location = location.parent; - } - break; - case 346 /* JSDocTypedefTag */: - case 338 /* JSDocCallbackTag */: - case 340 /* JSDocEnumTag */: - case 351 /* JSDocImportTag */: - const root = getJSDocRoot(location); - if (root) { - location = root.parent; - } - break; - case 169 /* Parameter */: - if (lastLocation && (lastLocation === location.initializer || lastLocation === location.name && isBindingPattern(lastLocation))) { - if (!associatedDeclarationForContainingInitializerOrBindingName) { - associatedDeclarationForContainingInitializerOrBindingName = location; - } - } - break; - case 208 /* BindingElement */: - if (lastLocation && (lastLocation === location.initializer || lastLocation === location.name && isBindingPattern(lastLocation))) { - if (isPartOfParameterDeclaration(location) && !associatedDeclarationForContainingInitializerOrBindingName) { - associatedDeclarationForContainingInitializerOrBindingName = location; - } - } - break; - case 195 /* InferType */: - if (meaning & 262144 /* TypeParameter */) { - const parameterName = location.typeParameter.name; - if (parameterName && name === parameterName.escapedText) { - result = location.typeParameter.symbol; - break loop; - } - } - break; - case 281 /* ExportSpecifier */: - if (lastLocation && lastLocation === location.propertyName && location.parent.parent.moduleSpecifier) { - location = location.parent.parent.parent; - } - break; - } - if (isSelfReferenceLocation(location, lastLocation)) { - lastSelfReferenceLocation = location; - } - lastLocation = location; - location = isJSDocTemplateTag(location) ? getEffectiveContainerForJSDocTemplateTag(location) || location.parent : isJSDocParameterTag(location) || isJSDocReturnTag(location) ? getHostSignatureFromJSDoc(location) || location.parent : location.parent; - } - if (isUse && result && (!lastSelfReferenceLocation || result !== lastSelfReferenceLocation.symbol)) { - result.isReferenced |= meaning; - } - if (!result) { - if (lastLocation) { - Debug.assertNode(lastLocation, isSourceFile); - if (lastLocation.commonJsModuleIndicator && name === "exports" && meaning & lastLocation.symbol.flags) { - return lastLocation.symbol; - } - } - if (!excludeGlobals) { - result = lookup(globals, name, meaning); - } - } - if (!result) { - if (originalLocation && isInJSFile(originalLocation) && originalLocation.parent) { - if (isRequireCall( - originalLocation.parent, - /*requireStringLiteralLikeArgument*/ - false - )) { - return requireSymbol; - } - } - } - if (nameNotFoundMessage) { - if (propertyWithInvalidInitializer && onPropertyWithInvalidInitializer(originalLocation, name, propertyWithInvalidInitializer, result)) { - return void 0; - } - if (!result) { - onFailedToResolveSymbol(originalLocation, nameArg, meaning, nameNotFoundMessage); - } else { - onSuccessfullyResolvedSymbol(originalLocation, result, meaning, lastLocation, associatedDeclarationForContainingInitializerOrBindingName, withinDeferredContext); - } - } - return result; - } - function useOuterVariableScopeInParameter(result, location, lastLocation) { - const target = getEmitScriptTarget(compilerOptions); - const functionLocation = location; - if (isParameter(lastLocation) && functionLocation.body && result.valueDeclaration && result.valueDeclaration.pos >= functionLocation.body.pos && result.valueDeclaration.end <= functionLocation.body.end) { - if (target >= 2 /* ES2015 */) { - let declarationRequiresScopeChange = getRequiresScopeChangeCache(functionLocation); - if (declarationRequiresScopeChange === void 0) { - declarationRequiresScopeChange = forEach(functionLocation.parameters, requiresScopeChange) || false; - setRequiresScopeChangeCache(functionLocation, declarationRequiresScopeChange); - } - return !declarationRequiresScopeChange; - } - } - return false; - function requiresScopeChange(node) { - return requiresScopeChangeWorker(node.name) || !!node.initializer && requiresScopeChangeWorker(node.initializer); - } - function requiresScopeChangeWorker(node) { - switch (node.kind) { - case 219 /* ArrowFunction */: - case 218 /* FunctionExpression */: - case 262 /* FunctionDeclaration */: - case 176 /* Constructor */: - return false; - case 174 /* MethodDeclaration */: - case 177 /* GetAccessor */: - case 178 /* SetAccessor */: - case 303 /* PropertyAssignment */: - return requiresScopeChangeWorker(node.name); - case 172 /* PropertyDeclaration */: - if (hasStaticModifier(node)) { - return !emitStandardClassFields; - } - return requiresScopeChangeWorker(node.name); - default: - if (isNullishCoalesce(node) || isOptionalChain(node)) { - return target < 7 /* ES2020 */; - } - if (isBindingElement(node) && node.dotDotDotToken && isObjectBindingPattern(node.parent)) { - return target < 4 /* ES2017 */; - } - if (isTypeNode(node)) return false; - return forEachChild(node, requiresScopeChangeWorker) || false; - } - } - } - function getIsDeferredContext(location, lastLocation) { - if (location.kind !== 219 /* ArrowFunction */ && location.kind !== 218 /* FunctionExpression */) { - return isTypeQueryNode(location) || (isFunctionLikeDeclaration(location) || location.kind === 172 /* PropertyDeclaration */ && !isStatic(location)) && (!lastLocation || lastLocation !== location.name); - } - if (lastLocation && lastLocation === location.name) { - return false; - } - if (location.asteriskToken || hasSyntacticModifier(location, 1024 /* Async */)) { - return true; - } - return !getImmediatelyInvokedFunctionExpression(location); - } - function isSelfReferenceLocation(node, lastLocation) { - switch (node.kind) { - case 169 /* Parameter */: - return !!lastLocation && lastLocation === node.name; - case 262 /* FunctionDeclaration */: - case 263 /* ClassDeclaration */: - case 264 /* InterfaceDeclaration */: - case 266 /* EnumDeclaration */: - case 265 /* TypeAliasDeclaration */: - case 267 /* ModuleDeclaration */: - return true; - default: - return false; - } - } - function isTypeParameterSymbolDeclaredInContainer(symbol, container) { - if (symbol.declarations) { - for (const decl of symbol.declarations) { - if (decl.kind === 168 /* TypeParameter */) { - const parent = isJSDocTemplateTag(decl.parent) ? getJSDocHost(decl.parent) : decl.parent; - if (parent === container) { - return !(isJSDocTemplateTag(decl.parent) && find(decl.parent.parent.tags, isJSDocTypeAlias)); - } - } - } - } - return false; - } -} -function isPrimitiveLiteralValue(node, includeBigInt = true) { - Debug.type(node); - switch (node.kind) { - case 112 /* TrueKeyword */: - case 97 /* FalseKeyword */: - case 9 /* NumericLiteral */: - case 11 /* StringLiteral */: - case 15 /* NoSubstitutionTemplateLiteral */: - return true; - case 10 /* BigIntLiteral */: - return includeBigInt; - case 224 /* PrefixUnaryExpression */: - if (node.operator === 41 /* MinusToken */) { - return isNumericLiteral(node.operand) || includeBigInt && isBigIntLiteral(node.operand); - } - if (node.operator === 40 /* PlusToken */) { - return isNumericLiteral(node.operand); - } - return false; - default: - assertType(node); - return false; - } -} -function unwrapParenthesizedExpression(o) { - while (o.kind === 217 /* ParenthesizedExpression */) { - o = o.expression; - } - return o; -} -function hasInferredType(node) { - Debug.type(node); - switch (node.kind) { - case 169 /* Parameter */: - case 171 /* PropertySignature */: - case 172 /* PropertyDeclaration */: - case 208 /* BindingElement */: - case 211 /* PropertyAccessExpression */: - case 212 /* ElementAccessExpression */: - case 226 /* BinaryExpression */: - case 260 /* VariableDeclaration */: - case 277 /* ExportAssignment */: - case 303 /* PropertyAssignment */: - return true; - default: - assertType(node); - return false; - } -} -function isSideEffectImport(node) { - const ancestor = findAncestor(node, isImportDeclaration); - return !!ancestor && !ancestor.importClause; -} - -// src/compiler/factory/baseNodeFactory.ts -function createBaseNodeFactory() { - let NodeConstructor2; - let TokenConstructor2; - let IdentifierConstructor2; - let PrivateIdentifierConstructor2; - let SourceFileConstructor2; - return { - createBaseSourceFileNode, - createBaseIdentifierNode, - createBasePrivateIdentifierNode, - createBaseTokenNode, - createBaseNode - }; - function createBaseSourceFileNode(kind) { - return new (SourceFileConstructor2 || (SourceFileConstructor2 = objectAllocator.getSourceFileConstructor()))( - kind, - /*pos*/ - -1, - /*end*/ - -1 - ); - } - function createBaseIdentifierNode(kind) { - return new (IdentifierConstructor2 || (IdentifierConstructor2 = objectAllocator.getIdentifierConstructor()))( - kind, - /*pos*/ - -1, - /*end*/ - -1 - ); - } - function createBasePrivateIdentifierNode(kind) { - return new (PrivateIdentifierConstructor2 || (PrivateIdentifierConstructor2 = objectAllocator.getPrivateIdentifierConstructor()))( - kind, - /*pos*/ - -1, - /*end*/ - -1 - ); - } - function createBaseTokenNode(kind) { - return new (TokenConstructor2 || (TokenConstructor2 = objectAllocator.getTokenConstructor()))( - kind, - /*pos*/ - -1, - /*end*/ - -1 - ); - } - function createBaseNode(kind) { - return new (NodeConstructor2 || (NodeConstructor2 = objectAllocator.getNodeConstructor()))( - kind, - /*pos*/ - -1, - /*end*/ - -1 - ); - } -} - -// src/compiler/factory/parenthesizerRules.ts -function createParenthesizerRules(factory2) { - let binaryLeftOperandParenthesizerCache; - let binaryRightOperandParenthesizerCache; - return { - getParenthesizeLeftSideOfBinaryForOperator, - getParenthesizeRightSideOfBinaryForOperator, - parenthesizeLeftSideOfBinary, - parenthesizeRightSideOfBinary, - parenthesizeExpressionOfComputedPropertyName, - parenthesizeConditionOfConditionalExpression, - parenthesizeBranchOfConditionalExpression, - parenthesizeExpressionOfExportDefault, - parenthesizeExpressionOfNew, - parenthesizeLeftSideOfAccess, - parenthesizeOperandOfPostfixUnary, - parenthesizeOperandOfPrefixUnary, - parenthesizeExpressionsOfCommaDelimitedList, - parenthesizeExpressionForDisallowedComma, - parenthesizeExpressionOfExpressionStatement, - parenthesizeConciseBodyOfArrowFunction, - parenthesizeCheckTypeOfConditionalType, - parenthesizeExtendsTypeOfConditionalType, - parenthesizeConstituentTypesOfUnionType, - parenthesizeConstituentTypeOfUnionType, - parenthesizeConstituentTypesOfIntersectionType, - parenthesizeConstituentTypeOfIntersectionType, - parenthesizeOperandOfTypeOperator, - parenthesizeOperandOfReadonlyTypeOperator, - parenthesizeNonArrayTypeOfPostfixType, - parenthesizeElementTypesOfTupleType, - parenthesizeElementTypeOfTupleType, - parenthesizeTypeOfOptionalType, - parenthesizeTypeArguments, - parenthesizeLeadingTypeArgument - }; - function getParenthesizeLeftSideOfBinaryForOperator(operatorKind) { - binaryLeftOperandParenthesizerCache || (binaryLeftOperandParenthesizerCache = /* @__PURE__ */ new Map()); - let parenthesizerRule = binaryLeftOperandParenthesizerCache.get(operatorKind); - if (!parenthesizerRule) { - parenthesizerRule = (node) => parenthesizeLeftSideOfBinary(operatorKind, node); - binaryLeftOperandParenthesizerCache.set(operatorKind, parenthesizerRule); - } - return parenthesizerRule; - } - function getParenthesizeRightSideOfBinaryForOperator(operatorKind) { - binaryRightOperandParenthesizerCache || (binaryRightOperandParenthesizerCache = /* @__PURE__ */ new Map()); - let parenthesizerRule = binaryRightOperandParenthesizerCache.get(operatorKind); - if (!parenthesizerRule) { - parenthesizerRule = (node) => parenthesizeRightSideOfBinary( - operatorKind, - /*leftSide*/ - void 0, - node - ); - binaryRightOperandParenthesizerCache.set(operatorKind, parenthesizerRule); - } - return parenthesizerRule; - } - function binaryOperandNeedsParentheses(binaryOperator, operand, isLeftSideOfBinary, leftOperand) { - const binaryOperatorPrecedence = getOperatorPrecedence(226 /* BinaryExpression */, binaryOperator); - const binaryOperatorAssociativity = getOperatorAssociativity(226 /* BinaryExpression */, binaryOperator); - const emittedOperand = skipPartiallyEmittedExpressions(operand); - if (!isLeftSideOfBinary && operand.kind === 219 /* ArrowFunction */ && binaryOperatorPrecedence > 3 /* Assignment */) { - return true; - } - const operandPrecedence = getExpressionPrecedence(emittedOperand); - switch (compareValues(operandPrecedence, binaryOperatorPrecedence)) { - case -1 /* LessThan */: - if (!isLeftSideOfBinary && binaryOperatorAssociativity === 1 /* Right */ && operand.kind === 229 /* YieldExpression */) { - return false; - } - return true; - case 1 /* GreaterThan */: - return false; - case 0 /* EqualTo */: - if (isLeftSideOfBinary) { - return binaryOperatorAssociativity === 1 /* Right */; - } else { - if (isBinaryExpression(emittedOperand) && emittedOperand.operatorToken.kind === binaryOperator) { - if (operatorHasAssociativeProperty(binaryOperator)) { - return false; - } - if (binaryOperator === 40 /* PlusToken */) { - const leftKind = leftOperand ? getLiteralKindOfBinaryPlusOperand(leftOperand) : 0 /* Unknown */; - if (isLiteralKind(leftKind) && leftKind === getLiteralKindOfBinaryPlusOperand(emittedOperand)) { - return false; - } - } - } - const operandAssociativity = getExpressionAssociativity(emittedOperand); - return operandAssociativity === 0 /* Left */; - } - } - } - function operatorHasAssociativeProperty(binaryOperator) { - return binaryOperator === 42 /* AsteriskToken */ || binaryOperator === 52 /* BarToken */ || binaryOperator === 51 /* AmpersandToken */ || binaryOperator === 53 /* CaretToken */ || binaryOperator === 28 /* CommaToken */; - } - function getLiteralKindOfBinaryPlusOperand(node) { - node = skipPartiallyEmittedExpressions(node); - if (isLiteralKind(node.kind)) { - return node.kind; - } - if (node.kind === 226 /* BinaryExpression */ && node.operatorToken.kind === 40 /* PlusToken */) { - if (node.cachedLiteralKind !== void 0) { - return node.cachedLiteralKind; - } - const leftKind = getLiteralKindOfBinaryPlusOperand(node.left); - const literalKind = isLiteralKind(leftKind) && leftKind === getLiteralKindOfBinaryPlusOperand(node.right) ? leftKind : 0 /* Unknown */; - node.cachedLiteralKind = literalKind; - return literalKind; - } - return 0 /* Unknown */; - } - function parenthesizeBinaryOperand(binaryOperator, operand, isLeftSideOfBinary, leftOperand) { - const skipped = skipPartiallyEmittedExpressions(operand); - if (skipped.kind === 217 /* ParenthesizedExpression */) { - return operand; - } - return binaryOperandNeedsParentheses(binaryOperator, operand, isLeftSideOfBinary, leftOperand) ? factory2.createParenthesizedExpression(operand) : operand; - } - function parenthesizeLeftSideOfBinary(binaryOperator, leftSide) { - return parenthesizeBinaryOperand( - binaryOperator, - leftSide, - /*isLeftSideOfBinary*/ - true - ); - } - function parenthesizeRightSideOfBinary(binaryOperator, leftSide, rightSide) { - return parenthesizeBinaryOperand( - binaryOperator, - rightSide, - /*isLeftSideOfBinary*/ - false, - leftSide - ); - } - function parenthesizeExpressionOfComputedPropertyName(expression) { - return isCommaSequence(expression) ? factory2.createParenthesizedExpression(expression) : expression; - } - function parenthesizeConditionOfConditionalExpression(condition) { - const conditionalPrecedence = getOperatorPrecedence(227 /* ConditionalExpression */, 58 /* QuestionToken */); - const emittedCondition = skipPartiallyEmittedExpressions(condition); - const conditionPrecedence = getExpressionPrecedence(emittedCondition); - if (compareValues(conditionPrecedence, conditionalPrecedence) !== 1 /* GreaterThan */) { - return factory2.createParenthesizedExpression(condition); - } - return condition; - } - function parenthesizeBranchOfConditionalExpression(branch) { - const emittedExpression = skipPartiallyEmittedExpressions(branch); - return isCommaSequence(emittedExpression) ? factory2.createParenthesizedExpression(branch) : branch; - } - function parenthesizeExpressionOfExportDefault(expression) { - const check = skipPartiallyEmittedExpressions(expression); - let needsParens = isCommaSequence(check); - if (!needsParens) { - switch (getLeftmostExpression( - check, - /*stopAtCallExpressions*/ - false - ).kind) { - case 231 /* ClassExpression */: - case 218 /* FunctionExpression */: - needsParens = true; - } - } - return needsParens ? factory2.createParenthesizedExpression(expression) : expression; - } - function parenthesizeExpressionOfNew(expression) { - const leftmostExpr = getLeftmostExpression( - expression, - /*stopAtCallExpressions*/ - true - ); - switch (leftmostExpr.kind) { - case 213 /* CallExpression */: - return factory2.createParenthesizedExpression(expression); - case 214 /* NewExpression */: - return !leftmostExpr.arguments ? factory2.createParenthesizedExpression(expression) : expression; - } - return parenthesizeLeftSideOfAccess(expression); - } - function parenthesizeLeftSideOfAccess(expression, optionalChain) { - const emittedExpression = skipPartiallyEmittedExpressions(expression); - if (isLeftHandSideExpression(emittedExpression) && (emittedExpression.kind !== 214 /* NewExpression */ || emittedExpression.arguments) && (optionalChain || !isOptionalChain(emittedExpression))) { - return expression; - } - return setTextRange(factory2.createParenthesizedExpression(expression), expression); - } - function parenthesizeOperandOfPostfixUnary(operand) { - return isLeftHandSideExpression(operand) ? operand : setTextRange(factory2.createParenthesizedExpression(operand), operand); - } - function parenthesizeOperandOfPrefixUnary(operand) { - return isUnaryExpression(operand) ? operand : setTextRange(factory2.createParenthesizedExpression(operand), operand); - } - function parenthesizeExpressionsOfCommaDelimitedList(elements) { - const result = sameMap(elements, parenthesizeExpressionForDisallowedComma); - return setTextRange(factory2.createNodeArray(result, elements.hasTrailingComma), elements); - } - function parenthesizeExpressionForDisallowedComma(expression) { - const emittedExpression = skipPartiallyEmittedExpressions(expression); - const expressionPrecedence = getExpressionPrecedence(emittedExpression); - const commaPrecedence = getOperatorPrecedence(226 /* BinaryExpression */, 28 /* CommaToken */); - return expressionPrecedence > commaPrecedence ? expression : setTextRange(factory2.createParenthesizedExpression(expression), expression); - } - function parenthesizeExpressionOfExpressionStatement(expression) { - const emittedExpression = skipPartiallyEmittedExpressions(expression); - if (isCallExpression(emittedExpression)) { - const callee = emittedExpression.expression; - const kind = skipPartiallyEmittedExpressions(callee).kind; - if (kind === 218 /* FunctionExpression */ || kind === 219 /* ArrowFunction */) { - const updated = factory2.updateCallExpression( - emittedExpression, - setTextRange(factory2.createParenthesizedExpression(callee), callee), - emittedExpression.typeArguments, - emittedExpression.arguments - ); - return factory2.restoreOuterExpressions(expression, updated, 8 /* PartiallyEmittedExpressions */); - } - } - const leftmostExpressionKind = getLeftmostExpression( - emittedExpression, - /*stopAtCallExpressions*/ - false - ).kind; - if (leftmostExpressionKind === 210 /* ObjectLiteralExpression */ || leftmostExpressionKind === 218 /* FunctionExpression */) { - return setTextRange(factory2.createParenthesizedExpression(expression), expression); - } - return expression; - } - function parenthesizeConciseBodyOfArrowFunction(body) { - if (!isBlock(body) && (isCommaSequence(body) || getLeftmostExpression( - body, - /*stopAtCallExpressions*/ - false - ).kind === 210 /* ObjectLiteralExpression */)) { - return setTextRange(factory2.createParenthesizedExpression(body), body); - } - return body; - } - function parenthesizeCheckTypeOfConditionalType(checkType) { - switch (checkType.kind) { - case 184 /* FunctionType */: - case 185 /* ConstructorType */: - case 194 /* ConditionalType */: - return factory2.createParenthesizedType(checkType); - } - return checkType; - } - function parenthesizeExtendsTypeOfConditionalType(extendsType) { - switch (extendsType.kind) { - case 194 /* ConditionalType */: - return factory2.createParenthesizedType(extendsType); - } - return extendsType; - } - function parenthesizeConstituentTypeOfUnionType(type) { - switch (type.kind) { - case 192 /* UnionType */: - case 193 /* IntersectionType */: - return factory2.createParenthesizedType(type); - } - return parenthesizeCheckTypeOfConditionalType(type); - } - function parenthesizeConstituentTypesOfUnionType(members) { - return factory2.createNodeArray(sameMap(members, parenthesizeConstituentTypeOfUnionType)); - } - function parenthesizeConstituentTypeOfIntersectionType(type) { - switch (type.kind) { - case 192 /* UnionType */: - case 193 /* IntersectionType */: - return factory2.createParenthesizedType(type); - } - return parenthesizeConstituentTypeOfUnionType(type); - } - function parenthesizeConstituentTypesOfIntersectionType(members) { - return factory2.createNodeArray(sameMap(members, parenthesizeConstituentTypeOfIntersectionType)); - } - function parenthesizeOperandOfTypeOperator(type) { - switch (type.kind) { - case 193 /* IntersectionType */: - return factory2.createParenthesizedType(type); - } - return parenthesizeConstituentTypeOfIntersectionType(type); - } - function parenthesizeOperandOfReadonlyTypeOperator(type) { - switch (type.kind) { - case 198 /* TypeOperator */: - return factory2.createParenthesizedType(type); - } - return parenthesizeOperandOfTypeOperator(type); - } - function parenthesizeNonArrayTypeOfPostfixType(type) { - switch (type.kind) { - case 195 /* InferType */: - case 198 /* TypeOperator */: - case 186 /* TypeQuery */: - return factory2.createParenthesizedType(type); - } - return parenthesizeOperandOfTypeOperator(type); - } - function parenthesizeElementTypesOfTupleType(types) { - return factory2.createNodeArray(sameMap(types, parenthesizeElementTypeOfTupleType)); - } - function parenthesizeElementTypeOfTupleType(type) { - if (hasJSDocPostfixQuestion(type)) return factory2.createParenthesizedType(type); - return type; - } - function hasJSDocPostfixQuestion(type) { - if (isJSDocNullableType(type)) return type.postfix; - if (isNamedTupleMember(type)) return hasJSDocPostfixQuestion(type.type); - if (isFunctionTypeNode(type) || isConstructorTypeNode(type) || isTypeOperatorNode(type)) return hasJSDocPostfixQuestion(type.type); - if (isConditionalTypeNode(type)) return hasJSDocPostfixQuestion(type.falseType); - if (isUnionTypeNode(type)) return hasJSDocPostfixQuestion(last(type.types)); - if (isIntersectionTypeNode(type)) return hasJSDocPostfixQuestion(last(type.types)); - if (isInferTypeNode(type)) return !!type.typeParameter.constraint && hasJSDocPostfixQuestion(type.typeParameter.constraint); - return false; - } - function parenthesizeTypeOfOptionalType(type) { - if (hasJSDocPostfixQuestion(type)) return factory2.createParenthesizedType(type); - return parenthesizeNonArrayTypeOfPostfixType(type); - } - function parenthesizeLeadingTypeArgument(node) { - return isFunctionOrConstructorTypeNode(node) && node.typeParameters ? factory2.createParenthesizedType(node) : node; - } - function parenthesizeOrdinalTypeArgument(node, i) { - return i === 0 ? parenthesizeLeadingTypeArgument(node) : node; - } - function parenthesizeTypeArguments(typeArguments) { - if (some(typeArguments)) { - return factory2.createNodeArray(sameMap(typeArguments, parenthesizeOrdinalTypeArgument)); - } - } -} -var nullParenthesizerRules = { - getParenthesizeLeftSideOfBinaryForOperator: (_) => identity, - getParenthesizeRightSideOfBinaryForOperator: (_) => identity, - parenthesizeLeftSideOfBinary: (_binaryOperator, leftSide) => leftSide, - parenthesizeRightSideOfBinary: (_binaryOperator, _leftSide, rightSide) => rightSide, - parenthesizeExpressionOfComputedPropertyName: identity, - parenthesizeConditionOfConditionalExpression: identity, - parenthesizeBranchOfConditionalExpression: identity, - parenthesizeExpressionOfExportDefault: identity, - parenthesizeExpressionOfNew: (expression) => cast(expression, isLeftHandSideExpression), - parenthesizeLeftSideOfAccess: (expression) => cast(expression, isLeftHandSideExpression), - parenthesizeOperandOfPostfixUnary: (operand) => cast(operand, isLeftHandSideExpression), - parenthesizeOperandOfPrefixUnary: (operand) => cast(operand, isUnaryExpression), - parenthesizeExpressionsOfCommaDelimitedList: (nodes) => cast(nodes, isNodeArray), - parenthesizeExpressionForDisallowedComma: identity, - parenthesizeExpressionOfExpressionStatement: identity, - parenthesizeConciseBodyOfArrowFunction: identity, - parenthesizeCheckTypeOfConditionalType: identity, - parenthesizeExtendsTypeOfConditionalType: identity, - parenthesizeConstituentTypesOfUnionType: (nodes) => cast(nodes, isNodeArray), - parenthesizeConstituentTypeOfUnionType: identity, - parenthesizeConstituentTypesOfIntersectionType: (nodes) => cast(nodes, isNodeArray), - parenthesizeConstituentTypeOfIntersectionType: identity, - parenthesizeOperandOfTypeOperator: identity, - parenthesizeOperandOfReadonlyTypeOperator: identity, - parenthesizeNonArrayTypeOfPostfixType: identity, - parenthesizeElementTypesOfTupleType: (nodes) => cast(nodes, isNodeArray), - parenthesizeElementTypeOfTupleType: identity, - parenthesizeTypeOfOptionalType: identity, - parenthesizeTypeArguments: (nodes) => nodes && cast(nodes, isNodeArray), - parenthesizeLeadingTypeArgument: identity -}; - -// src/compiler/factory/nodeConverters.ts -function createNodeConverters(factory2) { - return { - convertToFunctionBlock, - convertToFunctionExpression, - convertToClassExpression, - convertToArrayAssignmentElement, - convertToObjectAssignmentElement, - convertToAssignmentPattern, - convertToObjectAssignmentPattern, - convertToArrayAssignmentPattern, - convertToAssignmentElementTarget - }; - function convertToFunctionBlock(node, multiLine) { - if (isBlock(node)) return node; - const returnStatement = factory2.createReturnStatement(node); - setTextRange(returnStatement, node); - const body = factory2.createBlock([returnStatement], multiLine); - setTextRange(body, node); - return body; - } - function convertToFunctionExpression(node) { - var _a; - if (!node.body) return Debug.fail(`Cannot convert a FunctionDeclaration without a body`); - const updated = factory2.createFunctionExpression( - (_a = getModifiers(node)) == null ? void 0 : _a.filter((modifier) => !isExportModifier(modifier) && !isDefaultModifier(modifier)), - node.asteriskToken, - node.name, - node.typeParameters, - node.parameters, - node.type, - node.body - ); - setOriginalNode(updated, node); - setTextRange(updated, node); - if (getStartsOnNewLine(node)) { - setStartsOnNewLine( - updated, - /*newLine*/ - true - ); - } - return updated; - } - function convertToClassExpression(node) { - var _a; - const updated = factory2.createClassExpression( - (_a = node.modifiers) == null ? void 0 : _a.filter((modifier) => !isExportModifier(modifier) && !isDefaultModifier(modifier)), - node.name, - node.typeParameters, - node.heritageClauses, - node.members - ); - setOriginalNode(updated, node); - setTextRange(updated, node); - if (getStartsOnNewLine(node)) { - setStartsOnNewLine( - updated, - /*newLine*/ - true - ); - } - return updated; - } - function convertToArrayAssignmentElement(element) { - if (isBindingElement(element)) { - if (element.dotDotDotToken) { - Debug.assertNode(element.name, isIdentifier); - return setOriginalNode(setTextRange(factory2.createSpreadElement(element.name), element), element); - } - const expression = convertToAssignmentElementTarget(element.name); - return element.initializer ? setOriginalNode( - setTextRange( - factory2.createAssignment(expression, element.initializer), - element - ), - element - ) : expression; - } - return cast(element, isExpression); - } - function convertToObjectAssignmentElement(element) { - if (isBindingElement(element)) { - if (element.dotDotDotToken) { - Debug.assertNode(element.name, isIdentifier); - return setOriginalNode(setTextRange(factory2.createSpreadAssignment(element.name), element), element); - } - if (element.propertyName) { - const expression = convertToAssignmentElementTarget(element.name); - return setOriginalNode(setTextRange(factory2.createPropertyAssignment(element.propertyName, element.initializer ? factory2.createAssignment(expression, element.initializer) : expression), element), element); - } - Debug.assertNode(element.name, isIdentifier); - return setOriginalNode(setTextRange(factory2.createShorthandPropertyAssignment(element.name, element.initializer), element), element); - } - return cast(element, isObjectLiteralElementLike); - } - function convertToAssignmentPattern(node) { - switch (node.kind) { - case 207 /* ArrayBindingPattern */: - case 209 /* ArrayLiteralExpression */: - return convertToArrayAssignmentPattern(node); - case 206 /* ObjectBindingPattern */: - case 210 /* ObjectLiteralExpression */: - return convertToObjectAssignmentPattern(node); - } - } - function convertToObjectAssignmentPattern(node) { - if (isObjectBindingPattern(node)) { - return setOriginalNode( - setTextRange( - factory2.createObjectLiteralExpression(map(node.elements, convertToObjectAssignmentElement)), - node - ), - node - ); - } - return cast(node, isObjectLiteralExpression); - } - function convertToArrayAssignmentPattern(node) { - if (isArrayBindingPattern(node)) { - return setOriginalNode( - setTextRange( - factory2.createArrayLiteralExpression(map(node.elements, convertToArrayAssignmentElement)), - node - ), - node - ); - } - return cast(node, isArrayLiteralExpression); - } - function convertToAssignmentElementTarget(node) { - if (isBindingPattern(node)) { - return convertToAssignmentPattern(node); - } - return cast(node, isExpression); - } -} -var nullNodeConverters = { - convertToFunctionBlock: notImplemented, - convertToFunctionExpression: notImplemented, - convertToClassExpression: notImplemented, - convertToArrayAssignmentElement: notImplemented, - convertToObjectAssignmentElement: notImplemented, - convertToAssignmentPattern: notImplemented, - convertToObjectAssignmentPattern: notImplemented, - convertToArrayAssignmentPattern: notImplemented, - convertToAssignmentElementTarget: notImplemented -}; - -// src/compiler/factory/nodeFactory.ts -var nextAutoGenerateId = 0; -var nodeFactoryPatchers = []; -function createNodeFactory(flags, baseFactory2) { - const setOriginal = flags & 8 /* NoOriginalNode */ ? identity : setOriginalNode; - const parenthesizerRules = memoize(() => flags & 1 /* NoParenthesizerRules */ ? nullParenthesizerRules : createParenthesizerRules(factory2)); - const converters = memoize(() => flags & 2 /* NoNodeConverters */ ? nullNodeConverters : createNodeConverters(factory2)); - const getBinaryCreateFunction = memoizeOne((operator) => (left, right) => createBinaryExpression(left, operator, right)); - const getPrefixUnaryCreateFunction = memoizeOne((operator) => (operand) => createPrefixUnaryExpression(operator, operand)); - const getPostfixUnaryCreateFunction = memoizeOne((operator) => (operand) => createPostfixUnaryExpression(operand, operator)); - const getJSDocPrimaryTypeCreateFunction = memoizeOne((kind) => () => createJSDocPrimaryTypeWorker(kind)); - const getJSDocUnaryTypeCreateFunction = memoizeOne((kind) => (type) => createJSDocUnaryTypeWorker(kind, type)); - const getJSDocUnaryTypeUpdateFunction = memoizeOne((kind) => (node, type) => updateJSDocUnaryTypeWorker(kind, node, type)); - const getJSDocPrePostfixUnaryTypeCreateFunction = memoizeOne((kind) => (type, postfix) => createJSDocPrePostfixUnaryTypeWorker(kind, type, postfix)); - const getJSDocPrePostfixUnaryTypeUpdateFunction = memoizeOne((kind) => (node, type) => updateJSDocPrePostfixUnaryTypeWorker(kind, node, type)); - const getJSDocSimpleTagCreateFunction = memoizeOne((kind) => (tagName, comment) => createJSDocSimpleTagWorker(kind, tagName, comment)); - const getJSDocSimpleTagUpdateFunction = memoizeOne((kind) => (node, tagName, comment) => updateJSDocSimpleTagWorker(kind, node, tagName, comment)); - const getJSDocTypeLikeTagCreateFunction = memoizeOne((kind) => (tagName, typeExpression, comment) => createJSDocTypeLikeTagWorker(kind, tagName, typeExpression, comment)); - const getJSDocTypeLikeTagUpdateFunction = memoizeOne((kind) => (node, tagName, typeExpression, comment) => updateJSDocTypeLikeTagWorker(kind, node, tagName, typeExpression, comment)); - const factory2 = { - get parenthesizer() { - return parenthesizerRules(); - }, - get converters() { - return converters(); - }, - baseFactory: baseFactory2, - flags, - createNodeArray, - createNumericLiteral, - createBigIntLiteral, - createStringLiteral, - createStringLiteralFromNode, - createRegularExpressionLiteral, - createLiteralLikeNode, - createIdentifier, - createTempVariable, - createLoopVariable, - createUniqueName, - getGeneratedNameForNode, - createPrivateIdentifier, - createUniquePrivateName, - getGeneratedPrivateNameForNode, - createToken, - createSuper, - createThis, - createNull, - createTrue, - createFalse, - createModifier, - createModifiersFromModifierFlags, - createQualifiedName, - updateQualifiedName, - createComputedPropertyName, - updateComputedPropertyName, - createTypeParameterDeclaration, - updateTypeParameterDeclaration, - createParameterDeclaration, - updateParameterDeclaration, - createDecorator, - updateDecorator, - createPropertySignature, - updatePropertySignature, - createPropertyDeclaration, - updatePropertyDeclaration, - createMethodSignature, - updateMethodSignature, - createMethodDeclaration, - updateMethodDeclaration, - createConstructorDeclaration, - updateConstructorDeclaration, - createGetAccessorDeclaration, - updateGetAccessorDeclaration, - createSetAccessorDeclaration, - updateSetAccessorDeclaration, - createCallSignature, - updateCallSignature, - createConstructSignature, - updateConstructSignature, - createIndexSignature, - updateIndexSignature, - createClassStaticBlockDeclaration, - updateClassStaticBlockDeclaration, - createTemplateLiteralTypeSpan, - updateTemplateLiteralTypeSpan, - createKeywordTypeNode, - createTypePredicateNode, - updateTypePredicateNode, - createTypeReferenceNode, - updateTypeReferenceNode, - createFunctionTypeNode, - updateFunctionTypeNode, - createConstructorTypeNode, - updateConstructorTypeNode, - createTypeQueryNode, - updateTypeQueryNode, - createTypeLiteralNode, - updateTypeLiteralNode, - createArrayTypeNode, - updateArrayTypeNode, - createTupleTypeNode, - updateTupleTypeNode, - createNamedTupleMember, - updateNamedTupleMember, - createOptionalTypeNode, - updateOptionalTypeNode, - createRestTypeNode, - updateRestTypeNode, - createUnionTypeNode, - updateUnionTypeNode, - createIntersectionTypeNode, - updateIntersectionTypeNode, - createConditionalTypeNode, - updateConditionalTypeNode, - createInferTypeNode, - updateInferTypeNode, - createImportTypeNode, - updateImportTypeNode, - createParenthesizedType, - updateParenthesizedType, - createThisTypeNode, - createTypeOperatorNode, - updateTypeOperatorNode, - createIndexedAccessTypeNode, - updateIndexedAccessTypeNode, - createMappedTypeNode, - updateMappedTypeNode, - createLiteralTypeNode, - updateLiteralTypeNode, - createTemplateLiteralType, - updateTemplateLiteralType, - createObjectBindingPattern, - updateObjectBindingPattern, - createArrayBindingPattern, - updateArrayBindingPattern, - createBindingElement, - updateBindingElement, - createArrayLiteralExpression, - updateArrayLiteralExpression, - createObjectLiteralExpression, - updateObjectLiteralExpression, - createPropertyAccessExpression: flags & 4 /* NoIndentationOnFreshPropertyAccess */ ? (expression, name) => setEmitFlags(createPropertyAccessExpression(expression, name), 262144 /* NoIndentation */) : createPropertyAccessExpression, - updatePropertyAccessExpression, - createPropertyAccessChain: flags & 4 /* NoIndentationOnFreshPropertyAccess */ ? (expression, questionDotToken, name) => setEmitFlags(createPropertyAccessChain(expression, questionDotToken, name), 262144 /* NoIndentation */) : createPropertyAccessChain, - updatePropertyAccessChain, - createElementAccessExpression, - updateElementAccessExpression, - createElementAccessChain, - updateElementAccessChain, - createCallExpression, - updateCallExpression, - createCallChain, - updateCallChain, - createNewExpression, - updateNewExpression, - createTaggedTemplateExpression, - updateTaggedTemplateExpression, - createTypeAssertion, - updateTypeAssertion, - createParenthesizedExpression, - updateParenthesizedExpression, - createFunctionExpression, - updateFunctionExpression, - createArrowFunction, - updateArrowFunction, - createDeleteExpression, - updateDeleteExpression, - createTypeOfExpression, - updateTypeOfExpression, - createVoidExpression, - updateVoidExpression, - createAwaitExpression, - updateAwaitExpression, - createPrefixUnaryExpression, - updatePrefixUnaryExpression, - createPostfixUnaryExpression, - updatePostfixUnaryExpression, - createBinaryExpression, - updateBinaryExpression, - createConditionalExpression, - updateConditionalExpression, - createTemplateExpression, - updateTemplateExpression, - createTemplateHead, - createTemplateMiddle, - createTemplateTail, - createNoSubstitutionTemplateLiteral, - createTemplateLiteralLikeNode, - createYieldExpression, - updateYieldExpression, - createSpreadElement, - updateSpreadElement, - createClassExpression, - updateClassExpression, - createOmittedExpression, - createExpressionWithTypeArguments, - updateExpressionWithTypeArguments, - createAsExpression, - updateAsExpression, - createNonNullExpression, - updateNonNullExpression, - createSatisfiesExpression, - updateSatisfiesExpression, - createNonNullChain, - updateNonNullChain, - createMetaProperty, - updateMetaProperty, - createTemplateSpan, - updateTemplateSpan, - createSemicolonClassElement, - createBlock, - updateBlock, - createVariableStatement, - updateVariableStatement, - createEmptyStatement, - createExpressionStatement, - updateExpressionStatement, - createIfStatement, - updateIfStatement, - createDoStatement, - updateDoStatement, - createWhileStatement, - updateWhileStatement, - createForStatement, - updateForStatement, - createForInStatement, - updateForInStatement, - createForOfStatement, - updateForOfStatement, - createContinueStatement, - updateContinueStatement, - createBreakStatement, - updateBreakStatement, - createReturnStatement, - updateReturnStatement, - createWithStatement, - updateWithStatement, - createSwitchStatement, - updateSwitchStatement, - createLabeledStatement, - updateLabeledStatement, - createThrowStatement, - updateThrowStatement, - createTryStatement, - updateTryStatement, - createDebuggerStatement, - createVariableDeclaration, - updateVariableDeclaration, - createVariableDeclarationList, - updateVariableDeclarationList, - createFunctionDeclaration, - updateFunctionDeclaration, - createClassDeclaration, - updateClassDeclaration, - createInterfaceDeclaration, - updateInterfaceDeclaration, - createTypeAliasDeclaration, - updateTypeAliasDeclaration, - createEnumDeclaration, - updateEnumDeclaration, - createModuleDeclaration, - updateModuleDeclaration, - createModuleBlock, - updateModuleBlock, - createCaseBlock, - updateCaseBlock, - createNamespaceExportDeclaration, - updateNamespaceExportDeclaration, - createImportEqualsDeclaration, - updateImportEqualsDeclaration, - createImportDeclaration, - updateImportDeclaration, - createImportClause, - updateImportClause, - createAssertClause, - updateAssertClause, - createAssertEntry, - updateAssertEntry, - createImportTypeAssertionContainer, - updateImportTypeAssertionContainer, - createImportAttributes, - updateImportAttributes, - createImportAttribute, - updateImportAttribute, - createNamespaceImport, - updateNamespaceImport, - createNamespaceExport, - updateNamespaceExport, - createNamedImports, - updateNamedImports, - createImportSpecifier, - updateImportSpecifier, - createExportAssignment, - updateExportAssignment, - createExportDeclaration, - updateExportDeclaration, - createNamedExports, - updateNamedExports, - createExportSpecifier, - updateExportSpecifier, - createMissingDeclaration, - createExternalModuleReference, - updateExternalModuleReference, - // lazily load factory members for JSDoc types with similar structure - get createJSDocAllType() { - return getJSDocPrimaryTypeCreateFunction(312 /* JSDocAllType */); - }, - get createJSDocUnknownType() { - return getJSDocPrimaryTypeCreateFunction(313 /* JSDocUnknownType */); - }, - get createJSDocNonNullableType() { - return getJSDocPrePostfixUnaryTypeCreateFunction(315 /* JSDocNonNullableType */); - }, - get updateJSDocNonNullableType() { - return getJSDocPrePostfixUnaryTypeUpdateFunction(315 /* JSDocNonNullableType */); - }, - get createJSDocNullableType() { - return getJSDocPrePostfixUnaryTypeCreateFunction(314 /* JSDocNullableType */); - }, - get updateJSDocNullableType() { - return getJSDocPrePostfixUnaryTypeUpdateFunction(314 /* JSDocNullableType */); - }, - get createJSDocOptionalType() { - return getJSDocUnaryTypeCreateFunction(316 /* JSDocOptionalType */); - }, - get updateJSDocOptionalType() { - return getJSDocUnaryTypeUpdateFunction(316 /* JSDocOptionalType */); - }, - get createJSDocVariadicType() { - return getJSDocUnaryTypeCreateFunction(318 /* JSDocVariadicType */); - }, - get updateJSDocVariadicType() { - return getJSDocUnaryTypeUpdateFunction(318 /* JSDocVariadicType */); - }, - get createJSDocNamepathType() { - return getJSDocUnaryTypeCreateFunction(319 /* JSDocNamepathType */); - }, - get updateJSDocNamepathType() { - return getJSDocUnaryTypeUpdateFunction(319 /* JSDocNamepathType */); - }, - createJSDocFunctionType, - updateJSDocFunctionType, - createJSDocTypeLiteral, - updateJSDocTypeLiteral, - createJSDocTypeExpression, - updateJSDocTypeExpression, - createJSDocSignature, - updateJSDocSignature, - createJSDocTemplateTag, - updateJSDocTemplateTag, - createJSDocTypedefTag, - updateJSDocTypedefTag, - createJSDocParameterTag, - updateJSDocParameterTag, - createJSDocPropertyTag, - updateJSDocPropertyTag, - createJSDocCallbackTag, - updateJSDocCallbackTag, - createJSDocOverloadTag, - updateJSDocOverloadTag, - createJSDocAugmentsTag, - updateJSDocAugmentsTag, - createJSDocImplementsTag, - updateJSDocImplementsTag, - createJSDocSeeTag, - updateJSDocSeeTag, - createJSDocImportTag, - updateJSDocImportTag, - createJSDocNameReference, - updateJSDocNameReference, - createJSDocMemberName, - updateJSDocMemberName, - createJSDocLink, - updateJSDocLink, - createJSDocLinkCode, - updateJSDocLinkCode, - createJSDocLinkPlain, - updateJSDocLinkPlain, - // lazily load factory members for JSDoc tags with similar structure - get createJSDocTypeTag() { - return getJSDocTypeLikeTagCreateFunction(344 /* JSDocTypeTag */); - }, - get updateJSDocTypeTag() { - return getJSDocTypeLikeTagUpdateFunction(344 /* JSDocTypeTag */); - }, - get createJSDocReturnTag() { - return getJSDocTypeLikeTagCreateFunction(342 /* JSDocReturnTag */); - }, - get updateJSDocReturnTag() { - return getJSDocTypeLikeTagUpdateFunction(342 /* JSDocReturnTag */); - }, - get createJSDocThisTag() { - return getJSDocTypeLikeTagCreateFunction(343 /* JSDocThisTag */); - }, - get updateJSDocThisTag() { - return getJSDocTypeLikeTagUpdateFunction(343 /* JSDocThisTag */); - }, - get createJSDocAuthorTag() { - return getJSDocSimpleTagCreateFunction(330 /* JSDocAuthorTag */); - }, - get updateJSDocAuthorTag() { - return getJSDocSimpleTagUpdateFunction(330 /* JSDocAuthorTag */); - }, - get createJSDocClassTag() { - return getJSDocSimpleTagCreateFunction(332 /* JSDocClassTag */); - }, - get updateJSDocClassTag() { - return getJSDocSimpleTagUpdateFunction(332 /* JSDocClassTag */); - }, - get createJSDocPublicTag() { - return getJSDocSimpleTagCreateFunction(333 /* JSDocPublicTag */); - }, - get updateJSDocPublicTag() { - return getJSDocSimpleTagUpdateFunction(333 /* JSDocPublicTag */); - }, - get createJSDocPrivateTag() { - return getJSDocSimpleTagCreateFunction(334 /* JSDocPrivateTag */); - }, - get updateJSDocPrivateTag() { - return getJSDocSimpleTagUpdateFunction(334 /* JSDocPrivateTag */); - }, - get createJSDocProtectedTag() { - return getJSDocSimpleTagCreateFunction(335 /* JSDocProtectedTag */); - }, - get updateJSDocProtectedTag() { - return getJSDocSimpleTagUpdateFunction(335 /* JSDocProtectedTag */); - }, - get createJSDocReadonlyTag() { - return getJSDocSimpleTagCreateFunction(336 /* JSDocReadonlyTag */); - }, - get updateJSDocReadonlyTag() { - return getJSDocSimpleTagUpdateFunction(336 /* JSDocReadonlyTag */); - }, - get createJSDocOverrideTag() { - return getJSDocSimpleTagCreateFunction(337 /* JSDocOverrideTag */); - }, - get updateJSDocOverrideTag() { - return getJSDocSimpleTagUpdateFunction(337 /* JSDocOverrideTag */); - }, - get createJSDocDeprecatedTag() { - return getJSDocSimpleTagCreateFunction(331 /* JSDocDeprecatedTag */); - }, - get updateJSDocDeprecatedTag() { - return getJSDocSimpleTagUpdateFunction(331 /* JSDocDeprecatedTag */); - }, - get createJSDocThrowsTag() { - return getJSDocTypeLikeTagCreateFunction(349 /* JSDocThrowsTag */); - }, - get updateJSDocThrowsTag() { - return getJSDocTypeLikeTagUpdateFunction(349 /* JSDocThrowsTag */); - }, - get createJSDocSatisfiesTag() { - return getJSDocTypeLikeTagCreateFunction(350 /* JSDocSatisfiesTag */); - }, - get updateJSDocSatisfiesTag() { - return getJSDocTypeLikeTagUpdateFunction(350 /* JSDocSatisfiesTag */); - }, - createJSDocEnumTag, - updateJSDocEnumTag, - createJSDocUnknownTag, - updateJSDocUnknownTag, - createJSDocText, - updateJSDocText, - createJSDocComment, - updateJSDocComment, - createJsxElement, - updateJsxElement, - createJsxSelfClosingElement, - updateJsxSelfClosingElement, - createJsxOpeningElement, - updateJsxOpeningElement, - createJsxClosingElement, - updateJsxClosingElement, - createJsxFragment, - createJsxText, - updateJsxText, - createJsxOpeningFragment, - createJsxJsxClosingFragment, - updateJsxFragment, - createJsxAttribute, - updateJsxAttribute, - createJsxAttributes, - updateJsxAttributes, - createJsxSpreadAttribute, - updateJsxSpreadAttribute, - createJsxExpression, - updateJsxExpression, - createJsxNamespacedName, - updateJsxNamespacedName, - createCaseClause, - updateCaseClause, - createDefaultClause, - updateDefaultClause, - createHeritageClause, - updateHeritageClause, - createCatchClause, - updateCatchClause, - createPropertyAssignment, - updatePropertyAssignment, - createShorthandPropertyAssignment, - updateShorthandPropertyAssignment, - createSpreadAssignment, - updateSpreadAssignment, - createEnumMember, - updateEnumMember, - createSourceFile: createSourceFile2, - updateSourceFile, - createRedirectedSourceFile, - createBundle, - updateBundle, - createSyntheticExpression, - createSyntaxList, - createNotEmittedStatement, - createPartiallyEmittedExpression, - updatePartiallyEmittedExpression, - createCommaListExpression, - updateCommaListExpression, - createSyntheticReferenceExpression, - updateSyntheticReferenceExpression, - cloneNode, - // Lazily load factory methods for common operator factories and utilities - get createComma() { - return getBinaryCreateFunction(28 /* CommaToken */); - }, - get createAssignment() { - return getBinaryCreateFunction(64 /* EqualsToken */); - }, - get createLogicalOr() { - return getBinaryCreateFunction(57 /* BarBarToken */); - }, - get createLogicalAnd() { - return getBinaryCreateFunction(56 /* AmpersandAmpersandToken */); - }, - get createBitwiseOr() { - return getBinaryCreateFunction(52 /* BarToken */); - }, - get createBitwiseXor() { - return getBinaryCreateFunction(53 /* CaretToken */); - }, - get createBitwiseAnd() { - return getBinaryCreateFunction(51 /* AmpersandToken */); - }, - get createStrictEquality() { - return getBinaryCreateFunction(37 /* EqualsEqualsEqualsToken */); - }, - get createStrictInequality() { - return getBinaryCreateFunction(38 /* ExclamationEqualsEqualsToken */); - }, - get createEquality() { - return getBinaryCreateFunction(35 /* EqualsEqualsToken */); - }, - get createInequality() { - return getBinaryCreateFunction(36 /* ExclamationEqualsToken */); - }, - get createLessThan() { - return getBinaryCreateFunction(30 /* LessThanToken */); - }, - get createLessThanEquals() { - return getBinaryCreateFunction(33 /* LessThanEqualsToken */); - }, - get createGreaterThan() { - return getBinaryCreateFunction(32 /* GreaterThanToken */); - }, - get createGreaterThanEquals() { - return getBinaryCreateFunction(34 /* GreaterThanEqualsToken */); - }, - get createLeftShift() { - return getBinaryCreateFunction(48 /* LessThanLessThanToken */); - }, - get createRightShift() { - return getBinaryCreateFunction(49 /* GreaterThanGreaterThanToken */); - }, - get createUnsignedRightShift() { - return getBinaryCreateFunction(50 /* GreaterThanGreaterThanGreaterThanToken */); - }, - get createAdd() { - return getBinaryCreateFunction(40 /* PlusToken */); - }, - get createSubtract() { - return getBinaryCreateFunction(41 /* MinusToken */); - }, - get createMultiply() { - return getBinaryCreateFunction(42 /* AsteriskToken */); - }, - get createDivide() { - return getBinaryCreateFunction(44 /* SlashToken */); - }, - get createModulo() { - return getBinaryCreateFunction(45 /* PercentToken */); - }, - get createExponent() { - return getBinaryCreateFunction(43 /* AsteriskAsteriskToken */); - }, - get createPrefixPlus() { - return getPrefixUnaryCreateFunction(40 /* PlusToken */); - }, - get createPrefixMinus() { - return getPrefixUnaryCreateFunction(41 /* MinusToken */); - }, - get createPrefixIncrement() { - return getPrefixUnaryCreateFunction(46 /* PlusPlusToken */); - }, - get createPrefixDecrement() { - return getPrefixUnaryCreateFunction(47 /* MinusMinusToken */); - }, - get createBitwiseNot() { - return getPrefixUnaryCreateFunction(55 /* TildeToken */); - }, - get createLogicalNot() { - return getPrefixUnaryCreateFunction(54 /* ExclamationToken */); - }, - get createPostfixIncrement() { - return getPostfixUnaryCreateFunction(46 /* PlusPlusToken */); - }, - get createPostfixDecrement() { - return getPostfixUnaryCreateFunction(47 /* MinusMinusToken */); - }, - // Compound nodes - createImmediatelyInvokedFunctionExpression, - createImmediatelyInvokedArrowFunction, - createVoidZero, - createExportDefault, - createExternalModuleExport, - createTypeCheck, - createIsNotTypeCheck, - createMethodCall, - createGlobalMethodCall, - createFunctionBindCall, - createFunctionCallCall, - createFunctionApplyCall, - createArraySliceCall, - createArrayConcatCall, - createObjectDefinePropertyCall, - createObjectGetOwnPropertyDescriptorCall, - createReflectGetCall, - createReflectSetCall, - createPropertyDescriptor, - createCallBinding, - createAssignmentTargetWrapper, - // Utilities - inlineExpressions, - getInternalName, - getLocalName, - getExportName, - getDeclarationName, - getNamespaceMemberName, - getExternalModuleOrNamespaceExportName, - restoreOuterExpressions, - restoreEnclosingLabel, - createUseStrictPrologue, - copyPrologue, - copyStandardPrologue, - copyCustomPrologue, - ensureUseStrict, - liftToBlock, - mergeLexicalEnvironment, - replaceModifiers, - replaceDecoratorsAndModifiers, - replacePropertyName - }; - forEach(nodeFactoryPatchers, (fn) => fn(factory2)); - return factory2; - function createNodeArray(elements, hasTrailingComma) { - if (elements === void 0 || elements === emptyArray) { - elements = []; - } else if (isNodeArray(elements)) { - if (hasTrailingComma === void 0 || elements.hasTrailingComma === hasTrailingComma) { - if (elements.transformFlags === void 0) { - aggregateChildrenFlags(elements); - } - Debug.attachNodeArrayDebugInfo(elements); - return elements; - } - const array2 = elements.slice(); - array2.pos = elements.pos; - array2.end = elements.end; - array2.hasTrailingComma = hasTrailingComma; - array2.transformFlags = elements.transformFlags; - Debug.attachNodeArrayDebugInfo(array2); - return array2; - } - const length2 = elements.length; - const array = length2 >= 1 && length2 <= 4 ? elements.slice() : elements; - array.pos = -1; - array.end = -1; - array.hasTrailingComma = !!hasTrailingComma; - array.transformFlags = 0 /* None */; - aggregateChildrenFlags(array); - Debug.attachNodeArrayDebugInfo(array); - return array; - } - function createBaseNode(kind) { - return baseFactory2.createBaseNode(kind); - } - function createBaseDeclaration(kind) { - const node = createBaseNode(kind); - node.symbol = void 0; - node.localSymbol = void 0; - return node; - } - function finishUpdateBaseSignatureDeclaration(updated, original) { - if (updated !== original) { - updated.typeArguments = original.typeArguments; - } - return update(updated, original); - } - function createNumericLiteral(value, numericLiteralFlags = 0 /* None */) { - const text = typeof value === "number" ? value + "" : value; - Debug.assert(text.charCodeAt(0) !== 45 /* minus */, "Negative numbers should be created in combination with createPrefixUnaryExpression"); - const node = createBaseDeclaration(9 /* NumericLiteral */); - node.text = text; - node.numericLiteralFlags = numericLiteralFlags; - if (numericLiteralFlags & 384 /* BinaryOrOctalSpecifier */) node.transformFlags |= 1024 /* ContainsES2015 */; - return node; - } - function createBigIntLiteral(value) { - const node = createBaseToken(10 /* BigIntLiteral */); - node.text = typeof value === "string" ? value : pseudoBigIntToString(value) + "n"; - node.transformFlags |= 32 /* ContainsES2020 */; - return node; - } - function createBaseStringLiteral(text, isSingleQuote) { - const node = createBaseDeclaration(11 /* StringLiteral */); - node.text = text; - node.singleQuote = isSingleQuote; - return node; - } - function createStringLiteral(text, isSingleQuote, hasExtendedUnicodeEscape) { - const node = createBaseStringLiteral(text, isSingleQuote); - node.hasExtendedUnicodeEscape = hasExtendedUnicodeEscape; - if (hasExtendedUnicodeEscape) node.transformFlags |= 1024 /* ContainsES2015 */; - return node; - } - function createStringLiteralFromNode(sourceNode) { - const node = createBaseStringLiteral( - getTextOfIdentifierOrLiteral(sourceNode), - /*isSingleQuote*/ - void 0 - ); - node.textSourceNode = sourceNode; - return node; - } - function createRegularExpressionLiteral(text) { - const node = createBaseToken(14 /* RegularExpressionLiteral */); - node.text = text; - return node; - } - function createLiteralLikeNode(kind, text) { - switch (kind) { - case 9 /* NumericLiteral */: - return createNumericLiteral( - text, - /*numericLiteralFlags*/ - 0 - ); - case 10 /* BigIntLiteral */: - return createBigIntLiteral(text); - case 11 /* StringLiteral */: - return createStringLiteral( - text, - /*isSingleQuote*/ - void 0 - ); - case 12 /* JsxText */: - return createJsxText( - text, - /*containsOnlyTriviaWhiteSpaces*/ - false - ); - case 13 /* JsxTextAllWhiteSpaces */: - return createJsxText( - text, - /*containsOnlyTriviaWhiteSpaces*/ - true - ); - case 14 /* RegularExpressionLiteral */: - return createRegularExpressionLiteral(text); - case 15 /* NoSubstitutionTemplateLiteral */: - return createTemplateLiteralLikeNode( - kind, - text, - /*rawText*/ - void 0, - /*templateFlags*/ - 0 - ); - } - } - function createBaseIdentifier(escapedText) { - const node = baseFactory2.createBaseIdentifierNode(80 /* Identifier */); - node.escapedText = escapedText; - node.jsDoc = void 0; - node.flowNode = void 0; - node.symbol = void 0; - return node; - } - function createBaseGeneratedIdentifier(text, autoGenerateFlags, prefix, suffix) { - const node = createBaseIdentifier(escapeLeadingUnderscores(text)); - setIdentifierAutoGenerate(node, { - flags: autoGenerateFlags, - id: nextAutoGenerateId, - prefix, - suffix - }); - nextAutoGenerateId++; - return node; - } - function createIdentifier(text, originalKeywordKind, hasExtendedUnicodeEscape) { - if (originalKeywordKind === void 0 && text) { - originalKeywordKind = stringToToken(text); - } - if (originalKeywordKind === 80 /* Identifier */) { - originalKeywordKind = void 0; - } - const node = createBaseIdentifier(escapeLeadingUnderscores(text)); - if (hasExtendedUnicodeEscape) node.flags |= 256 /* IdentifierHasExtendedUnicodeEscape */; - if (node.escapedText === "await") { - node.transformFlags |= 67108864 /* ContainsPossibleTopLevelAwait */; - } - if (node.flags & 256 /* IdentifierHasExtendedUnicodeEscape */) { - node.transformFlags |= 1024 /* ContainsES2015 */; - } - return node; - } - function createTempVariable(recordTempVariable, reservedInNestedScopes, prefix, suffix) { - let flags2 = 1 /* Auto */; - if (reservedInNestedScopes) flags2 |= 8 /* ReservedInNestedScopes */; - const name = createBaseGeneratedIdentifier("", flags2, prefix, suffix); - if (recordTempVariable) { - recordTempVariable(name); - } - return name; - } - function createLoopVariable(reservedInNestedScopes) { - let flags2 = 2 /* Loop */; - if (reservedInNestedScopes) flags2 |= 8 /* ReservedInNestedScopes */; - return createBaseGeneratedIdentifier( - "", - flags2, - /*prefix*/ - void 0, - /*suffix*/ - void 0 - ); - } - function createUniqueName(text, flags2 = 0 /* None */, prefix, suffix) { - Debug.assert(!(flags2 & 7 /* KindMask */), "Argument out of range: flags"); - Debug.assert((flags2 & (16 /* Optimistic */ | 32 /* FileLevel */)) !== 32 /* FileLevel */, "GeneratedIdentifierFlags.FileLevel cannot be set without also setting GeneratedIdentifierFlags.Optimistic"); - return createBaseGeneratedIdentifier(text, 3 /* Unique */ | flags2, prefix, suffix); - } - function getGeneratedNameForNode(node, flags2 = 0, prefix, suffix) { - Debug.assert(!(flags2 & 7 /* KindMask */), "Argument out of range: flags"); - const text = !node ? "" : isMemberName(node) ? formatGeneratedName( - /*privateName*/ - false, - prefix, - node, - suffix, - idText - ) : `generated@${getNodeId(node)}`; - if (prefix || suffix) flags2 |= 16 /* Optimistic */; - const name = createBaseGeneratedIdentifier(text, 4 /* Node */ | flags2, prefix, suffix); - name.original = node; - return name; - } - function createBasePrivateIdentifier(escapedText) { - const node = baseFactory2.createBasePrivateIdentifierNode(81 /* PrivateIdentifier */); - node.escapedText = escapedText; - node.transformFlags |= 16777216 /* ContainsClassFields */; - return node; - } - function createPrivateIdentifier(text) { - if (!startsWith(text, "#")) Debug.fail("First character of private identifier must be #: " + text); - return createBasePrivateIdentifier(escapeLeadingUnderscores(text)); - } - function createBaseGeneratedPrivateIdentifier(text, autoGenerateFlags, prefix, suffix) { - const node = createBasePrivateIdentifier(escapeLeadingUnderscores(text)); - setIdentifierAutoGenerate(node, { - flags: autoGenerateFlags, - id: nextAutoGenerateId, - prefix, - suffix - }); - nextAutoGenerateId++; - return node; - } - function createUniquePrivateName(text, prefix, suffix) { - if (text && !startsWith(text, "#")) Debug.fail("First character of private identifier must be #: " + text); - const autoGenerateFlags = 8 /* ReservedInNestedScopes */ | (text ? 3 /* Unique */ : 1 /* Auto */); - return createBaseGeneratedPrivateIdentifier(text ?? "", autoGenerateFlags, prefix, suffix); - } - function getGeneratedPrivateNameForNode(node, prefix, suffix) { - const text = isMemberName(node) ? formatGeneratedName( - /*privateName*/ - true, - prefix, - node, - suffix, - idText - ) : `#generated@${getNodeId(node)}`; - const flags2 = prefix || suffix ? 16 /* Optimistic */ : 0 /* None */; - const name = createBaseGeneratedPrivateIdentifier(text, 4 /* Node */ | flags2, prefix, suffix); - name.original = node; - return name; - } - function createBaseToken(kind) { - return baseFactory2.createBaseTokenNode(kind); - } - function createToken(token) { - Debug.assert(token >= 0 /* FirstToken */ && token <= 165 /* LastToken */, "Invalid token"); - Debug.assert(token <= 15 /* FirstTemplateToken */ || token >= 18 /* LastTemplateToken */, "Invalid token. Use 'createTemplateLiteralLikeNode' to create template literals."); - Debug.assert(token <= 9 /* FirstLiteralToken */ || token >= 15 /* LastLiteralToken */, "Invalid token. Use 'createLiteralLikeNode' to create literals."); - Debug.assert(token !== 80 /* Identifier */, "Invalid token. Use 'createIdentifier' to create identifiers"); - const node = createBaseToken(token); - let transformFlags = 0 /* None */; - switch (token) { - case 134 /* AsyncKeyword */: - transformFlags = 256 /* ContainsES2017 */ | 128 /* ContainsES2018 */; - break; - case 160 /* UsingKeyword */: - transformFlags = 4 /* ContainsESNext */; - break; - case 125 /* PublicKeyword */: - case 123 /* PrivateKeyword */: - case 124 /* ProtectedKeyword */: - case 148 /* ReadonlyKeyword */: - case 128 /* AbstractKeyword */: - case 138 /* DeclareKeyword */: - case 87 /* ConstKeyword */: - case 133 /* AnyKeyword */: - case 150 /* NumberKeyword */: - case 163 /* BigIntKeyword */: - case 146 /* NeverKeyword */: - case 151 /* ObjectKeyword */: - case 103 /* InKeyword */: - case 147 /* OutKeyword */: - case 164 /* OverrideKeyword */: - case 154 /* StringKeyword */: - case 136 /* BooleanKeyword */: - case 155 /* SymbolKeyword */: - case 116 /* VoidKeyword */: - case 159 /* UnknownKeyword */: - case 157 /* UndefinedKeyword */: - transformFlags = 1 /* ContainsTypeScript */; - break; - case 108 /* SuperKeyword */: - transformFlags = 1024 /* ContainsES2015 */ | 134217728 /* ContainsLexicalSuper */; - node.flowNode = void 0; - break; - case 126 /* StaticKeyword */: - transformFlags = 1024 /* ContainsES2015 */; - break; - case 129 /* AccessorKeyword */: - transformFlags = 16777216 /* ContainsClassFields */; - break; - case 110 /* ThisKeyword */: - transformFlags = 16384 /* ContainsLexicalThis */; - node.flowNode = void 0; - break; - } - if (transformFlags) { - node.transformFlags |= transformFlags; - } - return node; - } - function createSuper() { - return createToken(108 /* SuperKeyword */); - } - function createThis() { - return createToken(110 /* ThisKeyword */); - } - function createNull() { - return createToken(106 /* NullKeyword */); - } - function createTrue() { - return createToken(112 /* TrueKeyword */); - } - function createFalse() { - return createToken(97 /* FalseKeyword */); - } - function createModifier(kind) { - return createToken(kind); - } - function createModifiersFromModifierFlags(flags2) { - const result = []; - if (flags2 & 32 /* Export */) result.push(createModifier(95 /* ExportKeyword */)); - if (flags2 & 128 /* Ambient */) result.push(createModifier(138 /* DeclareKeyword */)); - if (flags2 & 2048 /* Default */) result.push(createModifier(90 /* DefaultKeyword */)); - if (flags2 & 4096 /* Const */) result.push(createModifier(87 /* ConstKeyword */)); - if (flags2 & 1 /* Public */) result.push(createModifier(125 /* PublicKeyword */)); - if (flags2 & 2 /* Private */) result.push(createModifier(123 /* PrivateKeyword */)); - if (flags2 & 4 /* Protected */) result.push(createModifier(124 /* ProtectedKeyword */)); - if (flags2 & 64 /* Abstract */) result.push(createModifier(128 /* AbstractKeyword */)); - if (flags2 & 256 /* Static */) result.push(createModifier(126 /* StaticKeyword */)); - if (flags2 & 16 /* Override */) result.push(createModifier(164 /* OverrideKeyword */)); - if (flags2 & 8 /* Readonly */) result.push(createModifier(148 /* ReadonlyKeyword */)); - if (flags2 & 512 /* Accessor */) result.push(createModifier(129 /* AccessorKeyword */)); - if (flags2 & 1024 /* Async */) result.push(createModifier(134 /* AsyncKeyword */)); - if (flags2 & 8192 /* In */) result.push(createModifier(103 /* InKeyword */)); - if (flags2 & 16384 /* Out */) result.push(createModifier(147 /* OutKeyword */)); - return result.length ? result : void 0; - } - function createQualifiedName(left, right) { - const node = createBaseNode(166 /* QualifiedName */); - node.left = left; - node.right = asName(right); - node.transformFlags |= propagateChildFlags(node.left) | propagateIdentifierNameFlags(node.right); - node.flowNode = void 0; - return node; - } - function updateQualifiedName(node, left, right) { - return node.left !== left || node.right !== right ? update(createQualifiedName(left, right), node) : node; - } - function createComputedPropertyName(expression) { - const node = createBaseNode(167 /* ComputedPropertyName */); - node.expression = parenthesizerRules().parenthesizeExpressionOfComputedPropertyName(expression); - node.transformFlags |= propagateChildFlags(node.expression) | 1024 /* ContainsES2015 */ | 131072 /* ContainsComputedPropertyName */; - return node; - } - function updateComputedPropertyName(node, expression) { - return node.expression !== expression ? update(createComputedPropertyName(expression), node) : node; - } - function createTypeParameterDeclaration(modifiers, name, constraint, defaultType) { - const node = createBaseDeclaration(168 /* TypeParameter */); - node.modifiers = asNodeArray(modifiers); - node.name = asName(name); - node.constraint = constraint; - node.default = defaultType; - node.transformFlags = 1 /* ContainsTypeScript */; - node.expression = void 0; - node.jsDoc = void 0; - return node; - } - function updateTypeParameterDeclaration(node, modifiers, name, constraint, defaultType) { - return node.modifiers !== modifiers || node.name !== name || node.constraint !== constraint || node.default !== defaultType ? update(createTypeParameterDeclaration(modifiers, name, constraint, defaultType), node) : node; - } - function createParameterDeclaration(modifiers, dotDotDotToken, name, questionToken, type, initializer) { - const node = createBaseDeclaration(169 /* Parameter */); - node.modifiers = asNodeArray(modifiers); - node.dotDotDotToken = dotDotDotToken; - node.name = asName(name); - node.questionToken = questionToken; - node.type = type; - node.initializer = asInitializer(initializer); - if (isThisIdentifier(node.name)) { - node.transformFlags = 1 /* ContainsTypeScript */; - } else { - node.transformFlags = propagateChildrenFlags(node.modifiers) | propagateChildFlags(node.dotDotDotToken) | propagateNameFlags(node.name) | propagateChildFlags(node.questionToken) | propagateChildFlags(node.initializer) | (node.questionToken ?? node.type ? 1 /* ContainsTypeScript */ : 0 /* None */) | (node.dotDotDotToken ?? node.initializer ? 1024 /* ContainsES2015 */ : 0 /* None */) | (modifiersToFlags(node.modifiers) & 31 /* ParameterPropertyModifier */ ? 8192 /* ContainsTypeScriptClassSyntax */ : 0 /* None */); - } - node.jsDoc = void 0; - return node; - } - function updateParameterDeclaration(node, modifiers, dotDotDotToken, name, questionToken, type, initializer) { - return node.modifiers !== modifiers || node.dotDotDotToken !== dotDotDotToken || node.name !== name || node.questionToken !== questionToken || node.type !== type || node.initializer !== initializer ? update(createParameterDeclaration(modifiers, dotDotDotToken, name, questionToken, type, initializer), node) : node; - } - function createDecorator(expression) { - const node = createBaseNode(170 /* Decorator */); - node.expression = parenthesizerRules().parenthesizeLeftSideOfAccess( - expression, - /*optionalChain*/ - false - ); - node.transformFlags |= propagateChildFlags(node.expression) | 1 /* ContainsTypeScript */ | 8192 /* ContainsTypeScriptClassSyntax */ | 33554432 /* ContainsDecorators */; - return node; - } - function updateDecorator(node, expression) { - return node.expression !== expression ? update(createDecorator(expression), node) : node; - } - function createPropertySignature(modifiers, name, questionToken, type) { - const node = createBaseDeclaration(171 /* PropertySignature */); - node.modifiers = asNodeArray(modifiers); - node.name = asName(name); - node.type = type; - node.questionToken = questionToken; - node.transformFlags = 1 /* ContainsTypeScript */; - node.initializer = void 0; - node.jsDoc = void 0; - return node; - } - function updatePropertySignature(node, modifiers, name, questionToken, type) { - return node.modifiers !== modifiers || node.name !== name || node.questionToken !== questionToken || node.type !== type ? finishUpdatePropertySignature(createPropertySignature(modifiers, name, questionToken, type), node) : node; - } - function finishUpdatePropertySignature(updated, original) { - if (updated !== original) { - updated.initializer = original.initializer; - } - return update(updated, original); - } - function createPropertyDeclaration(modifiers, name, questionOrExclamationToken, type, initializer) { - const node = createBaseDeclaration(172 /* PropertyDeclaration */); - node.modifiers = asNodeArray(modifiers); - node.name = asName(name); - node.questionToken = questionOrExclamationToken && isQuestionToken(questionOrExclamationToken) ? questionOrExclamationToken : void 0; - node.exclamationToken = questionOrExclamationToken && isExclamationToken(questionOrExclamationToken) ? questionOrExclamationToken : void 0; - node.type = type; - node.initializer = asInitializer(initializer); - const isAmbient = node.flags & 33554432 /* Ambient */ || modifiersToFlags(node.modifiers) & 128 /* Ambient */; - node.transformFlags = propagateChildrenFlags(node.modifiers) | propagateNameFlags(node.name) | propagateChildFlags(node.initializer) | (isAmbient || node.questionToken || node.exclamationToken || node.type ? 1 /* ContainsTypeScript */ : 0 /* None */) | (isComputedPropertyName(node.name) || modifiersToFlags(node.modifiers) & 256 /* Static */ && node.initializer ? 8192 /* ContainsTypeScriptClassSyntax */ : 0 /* None */) | 16777216 /* ContainsClassFields */; - node.jsDoc = void 0; - return node; - } - function updatePropertyDeclaration(node, modifiers, name, questionOrExclamationToken, type, initializer) { - return node.modifiers !== modifiers || node.name !== name || node.questionToken !== (questionOrExclamationToken !== void 0 && isQuestionToken(questionOrExclamationToken) ? questionOrExclamationToken : void 0) || node.exclamationToken !== (questionOrExclamationToken !== void 0 && isExclamationToken(questionOrExclamationToken) ? questionOrExclamationToken : void 0) || node.type !== type || node.initializer !== initializer ? update(createPropertyDeclaration(modifiers, name, questionOrExclamationToken, type, initializer), node) : node; - } - function createMethodSignature(modifiers, name, questionToken, typeParameters, parameters, type) { - const node = createBaseDeclaration(173 /* MethodSignature */); - node.modifiers = asNodeArray(modifiers); - node.name = asName(name); - node.questionToken = questionToken; - node.typeParameters = asNodeArray(typeParameters); - node.parameters = asNodeArray(parameters); - node.type = type; - node.transformFlags = 1 /* ContainsTypeScript */; - node.jsDoc = void 0; - node.locals = void 0; - node.nextContainer = void 0; - node.typeArguments = void 0; - return node; - } - function updateMethodSignature(node, modifiers, name, questionToken, typeParameters, parameters, type) { - return node.modifiers !== modifiers || node.name !== name || node.questionToken !== questionToken || node.typeParameters !== typeParameters || node.parameters !== parameters || node.type !== type ? finishUpdateBaseSignatureDeclaration(createMethodSignature(modifiers, name, questionToken, typeParameters, parameters, type), node) : node; - } - function createMethodDeclaration(modifiers, asteriskToken, name, questionToken, typeParameters, parameters, type, body) { - const node = createBaseDeclaration(174 /* MethodDeclaration */); - node.modifiers = asNodeArray(modifiers); - node.asteriskToken = asteriskToken; - node.name = asName(name); - node.questionToken = questionToken; - node.exclamationToken = void 0; - node.typeParameters = asNodeArray(typeParameters); - node.parameters = createNodeArray(parameters); - node.type = type; - node.body = body; - if (!node.body) { - node.transformFlags = 1 /* ContainsTypeScript */; - } else { - const isAsync = modifiersToFlags(node.modifiers) & 1024 /* Async */; - const isGenerator = !!node.asteriskToken; - const isAsyncGenerator = isAsync && isGenerator; - node.transformFlags = propagateChildrenFlags(node.modifiers) | propagateChildFlags(node.asteriskToken) | propagateNameFlags(node.name) | propagateChildFlags(node.questionToken) | propagateChildrenFlags(node.typeParameters) | propagateChildrenFlags(node.parameters) | propagateChildFlags(node.type) | propagateChildFlags(node.body) & ~67108864 /* ContainsPossibleTopLevelAwait */ | (isAsyncGenerator ? 128 /* ContainsES2018 */ : isAsync ? 256 /* ContainsES2017 */ : isGenerator ? 2048 /* ContainsGenerator */ : 0 /* None */) | (node.questionToken || node.typeParameters || node.type ? 1 /* ContainsTypeScript */ : 0 /* None */) | 1024 /* ContainsES2015 */; - } - node.typeArguments = void 0; - node.jsDoc = void 0; - node.locals = void 0; - node.nextContainer = void 0; - node.flowNode = void 0; - node.endFlowNode = void 0; - node.returnFlowNode = void 0; - return node; - } - function updateMethodDeclaration(node, modifiers, asteriskToken, name, questionToken, typeParameters, parameters, type, body) { - return node.modifiers !== modifiers || node.asteriskToken !== asteriskToken || node.name !== name || node.questionToken !== questionToken || node.typeParameters !== typeParameters || node.parameters !== parameters || node.type !== type || node.body !== body ? finishUpdateMethodDeclaration(createMethodDeclaration(modifiers, asteriskToken, name, questionToken, typeParameters, parameters, type, body), node) : node; - } - function finishUpdateMethodDeclaration(updated, original) { - if (updated !== original) { - updated.exclamationToken = original.exclamationToken; - } - return update(updated, original); - } - function createClassStaticBlockDeclaration(body) { - const node = createBaseDeclaration(175 /* ClassStaticBlockDeclaration */); - node.body = body; - node.transformFlags = propagateChildFlags(body) | 16777216 /* ContainsClassFields */; - node.modifiers = void 0; - node.jsDoc = void 0; - node.locals = void 0; - node.nextContainer = void 0; - node.endFlowNode = void 0; - node.returnFlowNode = void 0; - return node; - } - function updateClassStaticBlockDeclaration(node, body) { - return node.body !== body ? finishUpdateClassStaticBlockDeclaration(createClassStaticBlockDeclaration(body), node) : node; - } - function finishUpdateClassStaticBlockDeclaration(updated, original) { - if (updated !== original) { - updated.modifiers = original.modifiers; - } - return update(updated, original); - } - function createConstructorDeclaration(modifiers, parameters, body) { - const node = createBaseDeclaration(176 /* Constructor */); - node.modifiers = asNodeArray(modifiers); - node.parameters = createNodeArray(parameters); - node.body = body; - if (!node.body) { - node.transformFlags = 1 /* ContainsTypeScript */; - } else { - node.transformFlags = propagateChildrenFlags(node.modifiers) | propagateChildrenFlags(node.parameters) | propagateChildFlags(node.body) & ~67108864 /* ContainsPossibleTopLevelAwait */ | 1024 /* ContainsES2015 */; - } - node.typeParameters = void 0; - node.type = void 0; - node.typeArguments = void 0; - node.jsDoc = void 0; - node.locals = void 0; - node.nextContainer = void 0; - node.endFlowNode = void 0; - node.returnFlowNode = void 0; - return node; - } - function updateConstructorDeclaration(node, modifiers, parameters, body) { - return node.modifiers !== modifiers || node.parameters !== parameters || node.body !== body ? finishUpdateConstructorDeclaration(createConstructorDeclaration(modifiers, parameters, body), node) : node; - } - function finishUpdateConstructorDeclaration(updated, original) { - if (updated !== original) { - updated.typeParameters = original.typeParameters; - updated.type = original.type; - } - return finishUpdateBaseSignatureDeclaration(updated, original); - } - function createGetAccessorDeclaration(modifiers, name, parameters, type, body) { - const node = createBaseDeclaration(177 /* GetAccessor */); - node.modifiers = asNodeArray(modifiers); - node.name = asName(name); - node.parameters = createNodeArray(parameters); - node.type = type; - node.body = body; - if (!node.body) { - node.transformFlags = 1 /* ContainsTypeScript */; - } else { - node.transformFlags = propagateChildrenFlags(node.modifiers) | propagateNameFlags(node.name) | propagateChildrenFlags(node.parameters) | propagateChildFlags(node.type) | propagateChildFlags(node.body) & ~67108864 /* ContainsPossibleTopLevelAwait */ | (node.type ? 1 /* ContainsTypeScript */ : 0 /* None */); - } - node.typeArguments = void 0; - node.typeParameters = void 0; - node.jsDoc = void 0; - node.locals = void 0; - node.nextContainer = void 0; - node.flowNode = void 0; - node.endFlowNode = void 0; - node.returnFlowNode = void 0; - return node; - } - function updateGetAccessorDeclaration(node, modifiers, name, parameters, type, body) { - return node.modifiers !== modifiers || node.name !== name || node.parameters !== parameters || node.type !== type || node.body !== body ? finishUpdateGetAccessorDeclaration(createGetAccessorDeclaration(modifiers, name, parameters, type, body), node) : node; - } - function finishUpdateGetAccessorDeclaration(updated, original) { - if (updated !== original) { - updated.typeParameters = original.typeParameters; - } - return finishUpdateBaseSignatureDeclaration(updated, original); - } - function createSetAccessorDeclaration(modifiers, name, parameters, body) { - const node = createBaseDeclaration(178 /* SetAccessor */); - node.modifiers = asNodeArray(modifiers); - node.name = asName(name); - node.parameters = createNodeArray(parameters); - node.body = body; - if (!node.body) { - node.transformFlags = 1 /* ContainsTypeScript */; - } else { - node.transformFlags = propagateChildrenFlags(node.modifiers) | propagateNameFlags(node.name) | propagateChildrenFlags(node.parameters) | propagateChildFlags(node.body) & ~67108864 /* ContainsPossibleTopLevelAwait */ | (node.type ? 1 /* ContainsTypeScript */ : 0 /* None */); - } - node.typeArguments = void 0; - node.typeParameters = void 0; - node.type = void 0; - node.jsDoc = void 0; - node.locals = void 0; - node.nextContainer = void 0; - node.flowNode = void 0; - node.endFlowNode = void 0; - node.returnFlowNode = void 0; - return node; - } - function updateSetAccessorDeclaration(node, modifiers, name, parameters, body) { - return node.modifiers !== modifiers || node.name !== name || node.parameters !== parameters || node.body !== body ? finishUpdateSetAccessorDeclaration(createSetAccessorDeclaration(modifiers, name, parameters, body), node) : node; - } - function finishUpdateSetAccessorDeclaration(updated, original) { - if (updated !== original) { - updated.typeParameters = original.typeParameters; - updated.type = original.type; - } - return finishUpdateBaseSignatureDeclaration(updated, original); - } - function createCallSignature(typeParameters, parameters, type) { - const node = createBaseDeclaration(179 /* CallSignature */); - node.typeParameters = asNodeArray(typeParameters); - node.parameters = asNodeArray(parameters); - node.type = type; - node.transformFlags = 1 /* ContainsTypeScript */; - node.jsDoc = void 0; - node.locals = void 0; - node.nextContainer = void 0; - node.typeArguments = void 0; - return node; - } - function updateCallSignature(node, typeParameters, parameters, type) { - return node.typeParameters !== typeParameters || node.parameters !== parameters || node.type !== type ? finishUpdateBaseSignatureDeclaration(createCallSignature(typeParameters, parameters, type), node) : node; - } - function createConstructSignature(typeParameters, parameters, type) { - const node = createBaseDeclaration(180 /* ConstructSignature */); - node.typeParameters = asNodeArray(typeParameters); - node.parameters = asNodeArray(parameters); - node.type = type; - node.transformFlags = 1 /* ContainsTypeScript */; - node.jsDoc = void 0; - node.locals = void 0; - node.nextContainer = void 0; - node.typeArguments = void 0; - return node; - } - function updateConstructSignature(node, typeParameters, parameters, type) { - return node.typeParameters !== typeParameters || node.parameters !== parameters || node.type !== type ? finishUpdateBaseSignatureDeclaration(createConstructSignature(typeParameters, parameters, type), node) : node; - } - function createIndexSignature(modifiers, parameters, type) { - const node = createBaseDeclaration(181 /* IndexSignature */); - node.modifiers = asNodeArray(modifiers); - node.parameters = asNodeArray(parameters); - node.type = type; - node.transformFlags = 1 /* ContainsTypeScript */; - node.jsDoc = void 0; - node.locals = void 0; - node.nextContainer = void 0; - node.typeArguments = void 0; - return node; - } - function updateIndexSignature(node, modifiers, parameters, type) { - return node.parameters !== parameters || node.type !== type || node.modifiers !== modifiers ? finishUpdateBaseSignatureDeclaration(createIndexSignature(modifiers, parameters, type), node) : node; - } - function createTemplateLiteralTypeSpan(type, literal) { - const node = createBaseNode(204 /* TemplateLiteralTypeSpan */); - node.type = type; - node.literal = literal; - node.transformFlags = 1 /* ContainsTypeScript */; - return node; - } - function updateTemplateLiteralTypeSpan(node, type, literal) { - return node.type !== type || node.literal !== literal ? update(createTemplateLiteralTypeSpan(type, literal), node) : node; - } - function createKeywordTypeNode(kind) { - return createToken(kind); - } - function createTypePredicateNode(assertsModifier, parameterName, type) { - const node = createBaseNode(182 /* TypePredicate */); - node.assertsModifier = assertsModifier; - node.parameterName = asName(parameterName); - node.type = type; - node.transformFlags = 1 /* ContainsTypeScript */; - return node; - } - function updateTypePredicateNode(node, assertsModifier, parameterName, type) { - return node.assertsModifier !== assertsModifier || node.parameterName !== parameterName || node.type !== type ? update(createTypePredicateNode(assertsModifier, parameterName, type), node) : node; - } - function createTypeReferenceNode(typeName, typeArguments) { - const node = createBaseNode(183 /* TypeReference */); - node.typeName = asName(typeName); - node.typeArguments = typeArguments && parenthesizerRules().parenthesizeTypeArguments(createNodeArray(typeArguments)); - node.transformFlags = 1 /* ContainsTypeScript */; - return node; - } - function updateTypeReferenceNode(node, typeName, typeArguments) { - return node.typeName !== typeName || node.typeArguments !== typeArguments ? update(createTypeReferenceNode(typeName, typeArguments), node) : node; - } - function createFunctionTypeNode(typeParameters, parameters, type) { - const node = createBaseDeclaration(184 /* FunctionType */); - node.typeParameters = asNodeArray(typeParameters); - node.parameters = asNodeArray(parameters); - node.type = type; - node.transformFlags = 1 /* ContainsTypeScript */; - node.modifiers = void 0; - node.jsDoc = void 0; - node.locals = void 0; - node.nextContainer = void 0; - node.typeArguments = void 0; - return node; - } - function updateFunctionTypeNode(node, typeParameters, parameters, type) { - return node.typeParameters !== typeParameters || node.parameters !== parameters || node.type !== type ? finishUpdateFunctionTypeNode(createFunctionTypeNode(typeParameters, parameters, type), node) : node; - } - function finishUpdateFunctionTypeNode(updated, original) { - if (updated !== original) { - updated.modifiers = original.modifiers; - } - return finishUpdateBaseSignatureDeclaration(updated, original); - } - function createConstructorTypeNode(...args) { - return args.length === 4 ? createConstructorTypeNode1(...args) : args.length === 3 ? createConstructorTypeNode2(...args) : Debug.fail("Incorrect number of arguments specified."); - } - function createConstructorTypeNode1(modifiers, typeParameters, parameters, type) { - const node = createBaseDeclaration(185 /* ConstructorType */); - node.modifiers = asNodeArray(modifiers); - node.typeParameters = asNodeArray(typeParameters); - node.parameters = asNodeArray(parameters); - node.type = type; - node.transformFlags = 1 /* ContainsTypeScript */; - node.jsDoc = void 0; - node.locals = void 0; - node.nextContainer = void 0; - node.typeArguments = void 0; - return node; - } - function createConstructorTypeNode2(typeParameters, parameters, type) { - return createConstructorTypeNode1( - /*modifiers*/ - void 0, - typeParameters, - parameters, - type - ); - } - function updateConstructorTypeNode(...args) { - return args.length === 5 ? updateConstructorTypeNode1(...args) : args.length === 4 ? updateConstructorTypeNode2(...args) : Debug.fail("Incorrect number of arguments specified."); - } - function updateConstructorTypeNode1(node, modifiers, typeParameters, parameters, type) { - return node.modifiers !== modifiers || node.typeParameters !== typeParameters || node.parameters !== parameters || node.type !== type ? finishUpdateBaseSignatureDeclaration(createConstructorTypeNode(modifiers, typeParameters, parameters, type), node) : node; - } - function updateConstructorTypeNode2(node, typeParameters, parameters, type) { - return updateConstructorTypeNode1(node, node.modifiers, typeParameters, parameters, type); - } - function createTypeQueryNode(exprName, typeArguments) { - const node = createBaseNode(186 /* TypeQuery */); - node.exprName = exprName; - node.typeArguments = typeArguments && parenthesizerRules().parenthesizeTypeArguments(typeArguments); - node.transformFlags = 1 /* ContainsTypeScript */; - return node; - } - function updateTypeQueryNode(node, exprName, typeArguments) { - return node.exprName !== exprName || node.typeArguments !== typeArguments ? update(createTypeQueryNode(exprName, typeArguments), node) : node; - } - function createTypeLiteralNode(members) { - const node = createBaseDeclaration(187 /* TypeLiteral */); - node.members = createNodeArray(members); - node.transformFlags = 1 /* ContainsTypeScript */; - return node; - } - function updateTypeLiteralNode(node, members) { - return node.members !== members ? update(createTypeLiteralNode(members), node) : node; - } - function createArrayTypeNode(elementType) { - const node = createBaseNode(188 /* ArrayType */); - node.elementType = parenthesizerRules().parenthesizeNonArrayTypeOfPostfixType(elementType); - node.transformFlags = 1 /* ContainsTypeScript */; - return node; - } - function updateArrayTypeNode(node, elementType) { - return node.elementType !== elementType ? update(createArrayTypeNode(elementType), node) : node; - } - function createTupleTypeNode(elements) { - const node = createBaseNode(189 /* TupleType */); - node.elements = createNodeArray(parenthesizerRules().parenthesizeElementTypesOfTupleType(elements)); - node.transformFlags = 1 /* ContainsTypeScript */; - return node; - } - function updateTupleTypeNode(node, elements) { - return node.elements !== elements ? update(createTupleTypeNode(elements), node) : node; - } - function createNamedTupleMember(dotDotDotToken, name, questionToken, type) { - const node = createBaseDeclaration(202 /* NamedTupleMember */); - node.dotDotDotToken = dotDotDotToken; - node.name = name; - node.questionToken = questionToken; - node.type = type; - node.transformFlags = 1 /* ContainsTypeScript */; - node.jsDoc = void 0; - return node; - } - function updateNamedTupleMember(node, dotDotDotToken, name, questionToken, type) { - return node.dotDotDotToken !== dotDotDotToken || node.name !== name || node.questionToken !== questionToken || node.type !== type ? update(createNamedTupleMember(dotDotDotToken, name, questionToken, type), node) : node; - } - function createOptionalTypeNode(type) { - const node = createBaseNode(190 /* OptionalType */); - node.type = parenthesizerRules().parenthesizeTypeOfOptionalType(type); - node.transformFlags = 1 /* ContainsTypeScript */; - return node; - } - function updateOptionalTypeNode(node, type) { - return node.type !== type ? update(createOptionalTypeNode(type), node) : node; - } - function createRestTypeNode(type) { - const node = createBaseNode(191 /* RestType */); - node.type = type; - node.transformFlags = 1 /* ContainsTypeScript */; - return node; - } - function updateRestTypeNode(node, type) { - return node.type !== type ? update(createRestTypeNode(type), node) : node; - } - function createUnionOrIntersectionTypeNode(kind, types, parenthesize) { - const node = createBaseNode(kind); - node.types = factory2.createNodeArray(parenthesize(types)); - node.transformFlags = 1 /* ContainsTypeScript */; - return node; - } - function updateUnionOrIntersectionTypeNode(node, types, parenthesize) { - return node.types !== types ? update(createUnionOrIntersectionTypeNode(node.kind, types, parenthesize), node) : node; - } - function createUnionTypeNode(types) { - return createUnionOrIntersectionTypeNode(192 /* UnionType */, types, parenthesizerRules().parenthesizeConstituentTypesOfUnionType); - } - function updateUnionTypeNode(node, types) { - return updateUnionOrIntersectionTypeNode(node, types, parenthesizerRules().parenthesizeConstituentTypesOfUnionType); - } - function createIntersectionTypeNode(types) { - return createUnionOrIntersectionTypeNode(193 /* IntersectionType */, types, parenthesizerRules().parenthesizeConstituentTypesOfIntersectionType); - } - function updateIntersectionTypeNode(node, types) { - return updateUnionOrIntersectionTypeNode(node, types, parenthesizerRules().parenthesizeConstituentTypesOfIntersectionType); - } - function createConditionalTypeNode(checkType, extendsType, trueType, falseType) { - const node = createBaseNode(194 /* ConditionalType */); - node.checkType = parenthesizerRules().parenthesizeCheckTypeOfConditionalType(checkType); - node.extendsType = parenthesizerRules().parenthesizeExtendsTypeOfConditionalType(extendsType); - node.trueType = trueType; - node.falseType = falseType; - node.transformFlags = 1 /* ContainsTypeScript */; - node.locals = void 0; - node.nextContainer = void 0; - return node; - } - function updateConditionalTypeNode(node, checkType, extendsType, trueType, falseType) { - return node.checkType !== checkType || node.extendsType !== extendsType || node.trueType !== trueType || node.falseType !== falseType ? update(createConditionalTypeNode(checkType, extendsType, trueType, falseType), node) : node; - } - function createInferTypeNode(typeParameter) { - const node = createBaseNode(195 /* InferType */); - node.typeParameter = typeParameter; - node.transformFlags = 1 /* ContainsTypeScript */; - return node; - } - function updateInferTypeNode(node, typeParameter) { - return node.typeParameter !== typeParameter ? update(createInferTypeNode(typeParameter), node) : node; - } - function createTemplateLiteralType(head, templateSpans) { - const node = createBaseNode(203 /* TemplateLiteralType */); - node.head = head; - node.templateSpans = createNodeArray(templateSpans); - node.transformFlags = 1 /* ContainsTypeScript */; - return node; - } - function updateTemplateLiteralType(node, head, templateSpans) { - return node.head !== head || node.templateSpans !== templateSpans ? update(createTemplateLiteralType(head, templateSpans), node) : node; - } - function createImportTypeNode(argument, attributes, qualifier, typeArguments, isTypeOf = false) { - const node = createBaseNode(205 /* ImportType */); - node.argument = argument; - node.attributes = attributes; - if (node.assertions && node.assertions.assertClause && node.attributes) { - node.assertions.assertClause = node.attributes; - } - node.qualifier = qualifier; - node.typeArguments = typeArguments && parenthesizerRules().parenthesizeTypeArguments(typeArguments); - node.isTypeOf = isTypeOf; - node.transformFlags = 1 /* ContainsTypeScript */; - return node; - } - function updateImportTypeNode(node, argument, attributes, qualifier, typeArguments, isTypeOf = node.isTypeOf) { - return node.argument !== argument || node.attributes !== attributes || node.qualifier !== qualifier || node.typeArguments !== typeArguments || node.isTypeOf !== isTypeOf ? update(createImportTypeNode(argument, attributes, qualifier, typeArguments, isTypeOf), node) : node; - } - function createParenthesizedType(type) { - const node = createBaseNode(196 /* ParenthesizedType */); - node.type = type; - node.transformFlags = 1 /* ContainsTypeScript */; - return node; - } - function updateParenthesizedType(node, type) { - return node.type !== type ? update(createParenthesizedType(type), node) : node; - } - function createThisTypeNode() { - const node = createBaseNode(197 /* ThisType */); - node.transformFlags = 1 /* ContainsTypeScript */; - return node; - } - function createTypeOperatorNode(operator, type) { - const node = createBaseNode(198 /* TypeOperator */); - node.operator = operator; - node.type = operator === 148 /* ReadonlyKeyword */ ? parenthesizerRules().parenthesizeOperandOfReadonlyTypeOperator(type) : parenthesizerRules().parenthesizeOperandOfTypeOperator(type); - node.transformFlags = 1 /* ContainsTypeScript */; - return node; - } - function updateTypeOperatorNode(node, type) { - return node.type !== type ? update(createTypeOperatorNode(node.operator, type), node) : node; - } - function createIndexedAccessTypeNode(objectType, indexType) { - const node = createBaseNode(199 /* IndexedAccessType */); - node.objectType = parenthesizerRules().parenthesizeNonArrayTypeOfPostfixType(objectType); - node.indexType = indexType; - node.transformFlags = 1 /* ContainsTypeScript */; - return node; - } - function updateIndexedAccessTypeNode(node, objectType, indexType) { - return node.objectType !== objectType || node.indexType !== indexType ? update(createIndexedAccessTypeNode(objectType, indexType), node) : node; - } - function createMappedTypeNode(readonlyToken, typeParameter, nameType, questionToken, type, members) { - const node = createBaseDeclaration(200 /* MappedType */); - node.readonlyToken = readonlyToken; - node.typeParameter = typeParameter; - node.nameType = nameType; - node.questionToken = questionToken; - node.type = type; - node.members = members && createNodeArray(members); - node.transformFlags = 1 /* ContainsTypeScript */; - node.locals = void 0; - node.nextContainer = void 0; - return node; - } - function updateMappedTypeNode(node, readonlyToken, typeParameter, nameType, questionToken, type, members) { - return node.readonlyToken !== readonlyToken || node.typeParameter !== typeParameter || node.nameType !== nameType || node.questionToken !== questionToken || node.type !== type || node.members !== members ? update(createMappedTypeNode(readonlyToken, typeParameter, nameType, questionToken, type, members), node) : node; - } - function createLiteralTypeNode(literal) { - const node = createBaseNode(201 /* LiteralType */); - node.literal = literal; - node.transformFlags = 1 /* ContainsTypeScript */; - return node; - } - function updateLiteralTypeNode(node, literal) { - return node.literal !== literal ? update(createLiteralTypeNode(literal), node) : node; - } - function createObjectBindingPattern(elements) { - const node = createBaseNode(206 /* ObjectBindingPattern */); - node.elements = createNodeArray(elements); - node.transformFlags |= propagateChildrenFlags(node.elements) | 1024 /* ContainsES2015 */ | 524288 /* ContainsBindingPattern */; - if (node.transformFlags & 32768 /* ContainsRestOrSpread */) { - node.transformFlags |= 128 /* ContainsES2018 */ | 65536 /* ContainsObjectRestOrSpread */; - } - return node; - } - function updateObjectBindingPattern(node, elements) { - return node.elements !== elements ? update(createObjectBindingPattern(elements), node) : node; - } - function createArrayBindingPattern(elements) { - const node = createBaseNode(207 /* ArrayBindingPattern */); - node.elements = createNodeArray(elements); - node.transformFlags |= propagateChildrenFlags(node.elements) | 1024 /* ContainsES2015 */ | 524288 /* ContainsBindingPattern */; - return node; - } - function updateArrayBindingPattern(node, elements) { - return node.elements !== elements ? update(createArrayBindingPattern(elements), node) : node; - } - function createBindingElement(dotDotDotToken, propertyName, name, initializer) { - const node = createBaseDeclaration(208 /* BindingElement */); - node.dotDotDotToken = dotDotDotToken; - node.propertyName = asName(propertyName); - node.name = asName(name); - node.initializer = asInitializer(initializer); - node.transformFlags |= propagateChildFlags(node.dotDotDotToken) | propagateNameFlags(node.propertyName) | propagateNameFlags(node.name) | propagateChildFlags(node.initializer) | (node.dotDotDotToken ? 32768 /* ContainsRestOrSpread */ : 0 /* None */) | 1024 /* ContainsES2015 */; - node.flowNode = void 0; - return node; - } - function updateBindingElement(node, dotDotDotToken, propertyName, name, initializer) { - return node.propertyName !== propertyName || node.dotDotDotToken !== dotDotDotToken || node.name !== name || node.initializer !== initializer ? update(createBindingElement(dotDotDotToken, propertyName, name, initializer), node) : node; - } - function createArrayLiteralExpression(elements, multiLine) { - const node = createBaseNode(209 /* ArrayLiteralExpression */); - const lastElement = elements && lastOrUndefined(elements); - const elementsArray = createNodeArray(elements, lastElement && isOmittedExpression(lastElement) ? true : void 0); - node.elements = parenthesizerRules().parenthesizeExpressionsOfCommaDelimitedList(elementsArray); - node.multiLine = multiLine; - node.transformFlags |= propagateChildrenFlags(node.elements); - return node; - } - function updateArrayLiteralExpression(node, elements) { - return node.elements !== elements ? update(createArrayLiteralExpression(elements, node.multiLine), node) : node; - } - function createObjectLiteralExpression(properties, multiLine) { - const node = createBaseDeclaration(210 /* ObjectLiteralExpression */); - node.properties = createNodeArray(properties); - node.multiLine = multiLine; - node.transformFlags |= propagateChildrenFlags(node.properties); - node.jsDoc = void 0; - return node; - } - function updateObjectLiteralExpression(node, properties) { - return node.properties !== properties ? update(createObjectLiteralExpression(properties, node.multiLine), node) : node; - } - function createBasePropertyAccessExpression(expression, questionDotToken, name) { - const node = createBaseDeclaration(211 /* PropertyAccessExpression */); - node.expression = expression; - node.questionDotToken = questionDotToken; - node.name = name; - node.transformFlags = propagateChildFlags(node.expression) | propagateChildFlags(node.questionDotToken) | (isIdentifier(node.name) ? propagateIdentifierNameFlags(node.name) : propagateChildFlags(node.name) | 536870912 /* ContainsPrivateIdentifierInExpression */); - node.jsDoc = void 0; - node.flowNode = void 0; - return node; - } - function createPropertyAccessExpression(expression, name) { - const node = createBasePropertyAccessExpression( - parenthesizerRules().parenthesizeLeftSideOfAccess( - expression, - /*optionalChain*/ - false - ), - /*questionDotToken*/ - void 0, - asName(name) - ); - if (isSuperKeyword(expression)) { - node.transformFlags |= 256 /* ContainsES2017 */ | 128 /* ContainsES2018 */; - } - return node; - } - function updatePropertyAccessExpression(node, expression, name) { - if (isPropertyAccessChain(node)) { - return updatePropertyAccessChain(node, expression, node.questionDotToken, cast(name, isIdentifier)); - } - return node.expression !== expression || node.name !== name ? update(createPropertyAccessExpression(expression, name), node) : node; - } - function createPropertyAccessChain(expression, questionDotToken, name) { - const node = createBasePropertyAccessExpression( - parenthesizerRules().parenthesizeLeftSideOfAccess( - expression, - /*optionalChain*/ - true - ), - questionDotToken, - asName(name) - ); - node.flags |= 64 /* OptionalChain */; - node.transformFlags |= 32 /* ContainsES2020 */; - return node; - } - function updatePropertyAccessChain(node, expression, questionDotToken, name) { - Debug.assert(!!(node.flags & 64 /* OptionalChain */), "Cannot update a PropertyAccessExpression using updatePropertyAccessChain. Use updatePropertyAccess instead."); - return node.expression !== expression || node.questionDotToken !== questionDotToken || node.name !== name ? update(createPropertyAccessChain(expression, questionDotToken, name), node) : node; - } - function createBaseElementAccessExpression(expression, questionDotToken, argumentExpression) { - const node = createBaseDeclaration(212 /* ElementAccessExpression */); - node.expression = expression; - node.questionDotToken = questionDotToken; - node.argumentExpression = argumentExpression; - node.transformFlags |= propagateChildFlags(node.expression) | propagateChildFlags(node.questionDotToken) | propagateChildFlags(node.argumentExpression); - node.jsDoc = void 0; - node.flowNode = void 0; - return node; - } - function createElementAccessExpression(expression, index) { - const node = createBaseElementAccessExpression( - parenthesizerRules().parenthesizeLeftSideOfAccess( - expression, - /*optionalChain*/ - false - ), - /*questionDotToken*/ - void 0, - asExpression(index) - ); - if (isSuperKeyword(expression)) { - node.transformFlags |= 256 /* ContainsES2017 */ | 128 /* ContainsES2018 */; - } - return node; - } - function updateElementAccessExpression(node, expression, argumentExpression) { - if (isElementAccessChain(node)) { - return updateElementAccessChain(node, expression, node.questionDotToken, argumentExpression); - } - return node.expression !== expression || node.argumentExpression !== argumentExpression ? update(createElementAccessExpression(expression, argumentExpression), node) : node; - } - function createElementAccessChain(expression, questionDotToken, index) { - const node = createBaseElementAccessExpression( - parenthesizerRules().parenthesizeLeftSideOfAccess( - expression, - /*optionalChain*/ - true - ), - questionDotToken, - asExpression(index) - ); - node.flags |= 64 /* OptionalChain */; - node.transformFlags |= 32 /* ContainsES2020 */; - return node; - } - function updateElementAccessChain(node, expression, questionDotToken, argumentExpression) { - Debug.assert(!!(node.flags & 64 /* OptionalChain */), "Cannot update a ElementAccessExpression using updateElementAccessChain. Use updateElementAccess instead."); - return node.expression !== expression || node.questionDotToken !== questionDotToken || node.argumentExpression !== argumentExpression ? update(createElementAccessChain(expression, questionDotToken, argumentExpression), node) : node; - } - function createBaseCallExpression(expression, questionDotToken, typeArguments, argumentsArray) { - const node = createBaseDeclaration(213 /* CallExpression */); - node.expression = expression; - node.questionDotToken = questionDotToken; - node.typeArguments = typeArguments; - node.arguments = argumentsArray; - node.transformFlags |= propagateChildFlags(node.expression) | propagateChildFlags(node.questionDotToken) | propagateChildrenFlags(node.typeArguments) | propagateChildrenFlags(node.arguments); - if (node.typeArguments) { - node.transformFlags |= 1 /* ContainsTypeScript */; - } - if (isSuperProperty(node.expression)) { - node.transformFlags |= 16384 /* ContainsLexicalThis */; - } - return node; - } - function createCallExpression(expression, typeArguments, argumentsArray) { - const node = createBaseCallExpression( - parenthesizerRules().parenthesizeLeftSideOfAccess( - expression, - /*optionalChain*/ - false - ), - /*questionDotToken*/ - void 0, - asNodeArray(typeArguments), - parenthesizerRules().parenthesizeExpressionsOfCommaDelimitedList(createNodeArray(argumentsArray)) - ); - if (isImportKeyword(node.expression)) { - node.transformFlags |= 8388608 /* ContainsDynamicImport */; - } - return node; - } - function updateCallExpression(node, expression, typeArguments, argumentsArray) { - if (isCallChain(node)) { - return updateCallChain(node, expression, node.questionDotToken, typeArguments, argumentsArray); - } - return node.expression !== expression || node.typeArguments !== typeArguments || node.arguments !== argumentsArray ? update(createCallExpression(expression, typeArguments, argumentsArray), node) : node; - } - function createCallChain(expression, questionDotToken, typeArguments, argumentsArray) { - const node = createBaseCallExpression( - parenthesizerRules().parenthesizeLeftSideOfAccess( - expression, - /*optionalChain*/ - true - ), - questionDotToken, - asNodeArray(typeArguments), - parenthesizerRules().parenthesizeExpressionsOfCommaDelimitedList(createNodeArray(argumentsArray)) - ); - node.flags |= 64 /* OptionalChain */; - node.transformFlags |= 32 /* ContainsES2020 */; - return node; - } - function updateCallChain(node, expression, questionDotToken, typeArguments, argumentsArray) { - Debug.assert(!!(node.flags & 64 /* OptionalChain */), "Cannot update a CallExpression using updateCallChain. Use updateCall instead."); - return node.expression !== expression || node.questionDotToken !== questionDotToken || node.typeArguments !== typeArguments || node.arguments !== argumentsArray ? update(createCallChain(expression, questionDotToken, typeArguments, argumentsArray), node) : node; - } - function createNewExpression(expression, typeArguments, argumentsArray) { - const node = createBaseDeclaration(214 /* NewExpression */); - node.expression = parenthesizerRules().parenthesizeExpressionOfNew(expression); - node.typeArguments = asNodeArray(typeArguments); - node.arguments = argumentsArray ? parenthesizerRules().parenthesizeExpressionsOfCommaDelimitedList(argumentsArray) : void 0; - node.transformFlags |= propagateChildFlags(node.expression) | propagateChildrenFlags(node.typeArguments) | propagateChildrenFlags(node.arguments) | 32 /* ContainsES2020 */; - if (node.typeArguments) { - node.transformFlags |= 1 /* ContainsTypeScript */; - } - return node; - } - function updateNewExpression(node, expression, typeArguments, argumentsArray) { - return node.expression !== expression || node.typeArguments !== typeArguments || node.arguments !== argumentsArray ? update(createNewExpression(expression, typeArguments, argumentsArray), node) : node; - } - function createTaggedTemplateExpression(tag, typeArguments, template) { - const node = createBaseNode(215 /* TaggedTemplateExpression */); - node.tag = parenthesizerRules().parenthesizeLeftSideOfAccess( - tag, - /*optionalChain*/ - false - ); - node.typeArguments = asNodeArray(typeArguments); - node.template = template; - node.transformFlags |= propagateChildFlags(node.tag) | propagateChildrenFlags(node.typeArguments) | propagateChildFlags(node.template) | 1024 /* ContainsES2015 */; - if (node.typeArguments) { - node.transformFlags |= 1 /* ContainsTypeScript */; - } - if (hasInvalidEscape(node.template)) { - node.transformFlags |= 128 /* ContainsES2018 */; - } - return node; - } - function updateTaggedTemplateExpression(node, tag, typeArguments, template) { - return node.tag !== tag || node.typeArguments !== typeArguments || node.template !== template ? update(createTaggedTemplateExpression(tag, typeArguments, template), node) : node; - } - function createTypeAssertion(type, expression) { - const node = createBaseNode(216 /* TypeAssertionExpression */); - node.expression = parenthesizerRules().parenthesizeOperandOfPrefixUnary(expression); - node.type = type; - node.transformFlags |= propagateChildFlags(node.expression) | propagateChildFlags(node.type) | 1 /* ContainsTypeScript */; - return node; - } - function updateTypeAssertion(node, type, expression) { - return node.type !== type || node.expression !== expression ? update(createTypeAssertion(type, expression), node) : node; - } - function createParenthesizedExpression(expression) { - const node = createBaseNode(217 /* ParenthesizedExpression */); - node.expression = expression; - node.transformFlags = propagateChildFlags(node.expression); - node.jsDoc = void 0; - return node; - } - function updateParenthesizedExpression(node, expression) { - return node.expression !== expression ? update(createParenthesizedExpression(expression), node) : node; - } - function createFunctionExpression(modifiers, asteriskToken, name, typeParameters, parameters, type, body) { - const node = createBaseDeclaration(218 /* FunctionExpression */); - node.modifiers = asNodeArray(modifiers); - node.asteriskToken = asteriskToken; - node.name = asName(name); - node.typeParameters = asNodeArray(typeParameters); - node.parameters = createNodeArray(parameters); - node.type = type; - node.body = body; - const isAsync = modifiersToFlags(node.modifiers) & 1024 /* Async */; - const isGenerator = !!node.asteriskToken; - const isAsyncGenerator = isAsync && isGenerator; - node.transformFlags = propagateChildrenFlags(node.modifiers) | propagateChildFlags(node.asteriskToken) | propagateNameFlags(node.name) | propagateChildrenFlags(node.typeParameters) | propagateChildrenFlags(node.parameters) | propagateChildFlags(node.type) | propagateChildFlags(node.body) & ~67108864 /* ContainsPossibleTopLevelAwait */ | (isAsyncGenerator ? 128 /* ContainsES2018 */ : isAsync ? 256 /* ContainsES2017 */ : isGenerator ? 2048 /* ContainsGenerator */ : 0 /* None */) | (node.typeParameters || node.type ? 1 /* ContainsTypeScript */ : 0 /* None */) | 4194304 /* ContainsHoistedDeclarationOrCompletion */; - node.typeArguments = void 0; - node.jsDoc = void 0; - node.locals = void 0; - node.nextContainer = void 0; - node.flowNode = void 0; - node.endFlowNode = void 0; - node.returnFlowNode = void 0; - return node; - } - function updateFunctionExpression(node, modifiers, asteriskToken, name, typeParameters, parameters, type, body) { - return node.name !== name || node.modifiers !== modifiers || node.asteriskToken !== asteriskToken || node.typeParameters !== typeParameters || node.parameters !== parameters || node.type !== type || node.body !== body ? finishUpdateBaseSignatureDeclaration(createFunctionExpression(modifiers, asteriskToken, name, typeParameters, parameters, type, body), node) : node; - } - function createArrowFunction(modifiers, typeParameters, parameters, type, equalsGreaterThanToken, body) { - const node = createBaseDeclaration(219 /* ArrowFunction */); - node.modifiers = asNodeArray(modifiers); - node.typeParameters = asNodeArray(typeParameters); - node.parameters = createNodeArray(parameters); - node.type = type; - node.equalsGreaterThanToken = equalsGreaterThanToken ?? createToken(39 /* EqualsGreaterThanToken */); - node.body = parenthesizerRules().parenthesizeConciseBodyOfArrowFunction(body); - const isAsync = modifiersToFlags(node.modifiers) & 1024 /* Async */; - node.transformFlags = propagateChildrenFlags(node.modifiers) | propagateChildrenFlags(node.typeParameters) | propagateChildrenFlags(node.parameters) | propagateChildFlags(node.type) | propagateChildFlags(node.equalsGreaterThanToken) | propagateChildFlags(node.body) & ~67108864 /* ContainsPossibleTopLevelAwait */ | (node.typeParameters || node.type ? 1 /* ContainsTypeScript */ : 0 /* None */) | (isAsync ? 256 /* ContainsES2017 */ | 16384 /* ContainsLexicalThis */ : 0 /* None */) | 1024 /* ContainsES2015 */; - node.typeArguments = void 0; - node.jsDoc = void 0; - node.locals = void 0; - node.nextContainer = void 0; - node.flowNode = void 0; - node.endFlowNode = void 0; - node.returnFlowNode = void 0; - return node; - } - function updateArrowFunction(node, modifiers, typeParameters, parameters, type, equalsGreaterThanToken, body) { - return node.modifiers !== modifiers || node.typeParameters !== typeParameters || node.parameters !== parameters || node.type !== type || node.equalsGreaterThanToken !== equalsGreaterThanToken || node.body !== body ? finishUpdateBaseSignatureDeclaration(createArrowFunction(modifiers, typeParameters, parameters, type, equalsGreaterThanToken, body), node) : node; - } - function createDeleteExpression(expression) { - const node = createBaseNode(220 /* DeleteExpression */); - node.expression = parenthesizerRules().parenthesizeOperandOfPrefixUnary(expression); - node.transformFlags |= propagateChildFlags(node.expression); - return node; - } - function updateDeleteExpression(node, expression) { - return node.expression !== expression ? update(createDeleteExpression(expression), node) : node; - } - function createTypeOfExpression(expression) { - const node = createBaseNode(221 /* TypeOfExpression */); - node.expression = parenthesizerRules().parenthesizeOperandOfPrefixUnary(expression); - node.transformFlags |= propagateChildFlags(node.expression); - return node; - } - function updateTypeOfExpression(node, expression) { - return node.expression !== expression ? update(createTypeOfExpression(expression), node) : node; - } - function createVoidExpression(expression) { - const node = createBaseNode(222 /* VoidExpression */); - node.expression = parenthesizerRules().parenthesizeOperandOfPrefixUnary(expression); - node.transformFlags |= propagateChildFlags(node.expression); - return node; - } - function updateVoidExpression(node, expression) { - return node.expression !== expression ? update(createVoidExpression(expression), node) : node; - } - function createAwaitExpression(expression) { - const node = createBaseNode(223 /* AwaitExpression */); - node.expression = parenthesizerRules().parenthesizeOperandOfPrefixUnary(expression); - node.transformFlags |= propagateChildFlags(node.expression) | 256 /* ContainsES2017 */ | 128 /* ContainsES2018 */ | 2097152 /* ContainsAwait */; - return node; - } - function updateAwaitExpression(node, expression) { - return node.expression !== expression ? update(createAwaitExpression(expression), node) : node; - } - function createPrefixUnaryExpression(operator, operand) { - const node = createBaseNode(224 /* PrefixUnaryExpression */); - node.operator = operator; - node.operand = parenthesizerRules().parenthesizeOperandOfPrefixUnary(operand); - node.transformFlags |= propagateChildFlags(node.operand); - if ((operator === 46 /* PlusPlusToken */ || operator === 47 /* MinusMinusToken */) && isIdentifier(node.operand) && !isGeneratedIdentifier(node.operand) && !isLocalName(node.operand)) { - node.transformFlags |= 268435456 /* ContainsUpdateExpressionForIdentifier */; - } - return node; - } - function updatePrefixUnaryExpression(node, operand) { - return node.operand !== operand ? update(createPrefixUnaryExpression(node.operator, operand), node) : node; - } - function createPostfixUnaryExpression(operand, operator) { - const node = createBaseNode(225 /* PostfixUnaryExpression */); - node.operator = operator; - node.operand = parenthesizerRules().parenthesizeOperandOfPostfixUnary(operand); - node.transformFlags |= propagateChildFlags(node.operand); - if (isIdentifier(node.operand) && !isGeneratedIdentifier(node.operand) && !isLocalName(node.operand)) { - node.transformFlags |= 268435456 /* ContainsUpdateExpressionForIdentifier */; - } - return node; - } - function updatePostfixUnaryExpression(node, operand) { - return node.operand !== operand ? update(createPostfixUnaryExpression(operand, node.operator), node) : node; - } - function createBinaryExpression(left, operator, right) { - const node = createBaseDeclaration(226 /* BinaryExpression */); - const operatorToken = asToken(operator); - const operatorKind = operatorToken.kind; - node.left = parenthesizerRules().parenthesizeLeftSideOfBinary(operatorKind, left); - node.operatorToken = operatorToken; - node.right = parenthesizerRules().parenthesizeRightSideOfBinary(operatorKind, node.left, right); - node.transformFlags |= propagateChildFlags(node.left) | propagateChildFlags(node.operatorToken) | propagateChildFlags(node.right); - if (operatorKind === 61 /* QuestionQuestionToken */) { - node.transformFlags |= 32 /* ContainsES2020 */; - } else if (operatorKind === 64 /* EqualsToken */) { - if (isObjectLiteralExpression(node.left)) { - node.transformFlags |= 1024 /* ContainsES2015 */ | 128 /* ContainsES2018 */ | 4096 /* ContainsDestructuringAssignment */ | propagateAssignmentPatternFlags(node.left); - } else if (isArrayLiteralExpression(node.left)) { - node.transformFlags |= 1024 /* ContainsES2015 */ | 4096 /* ContainsDestructuringAssignment */ | propagateAssignmentPatternFlags(node.left); - } - } else if (operatorKind === 43 /* AsteriskAsteriskToken */ || operatorKind === 68 /* AsteriskAsteriskEqualsToken */) { - node.transformFlags |= 512 /* ContainsES2016 */; - } else if (isLogicalOrCoalescingAssignmentOperator(operatorKind)) { - node.transformFlags |= 16 /* ContainsES2021 */; - } - if (operatorKind === 103 /* InKeyword */ && isPrivateIdentifier(node.left)) { - node.transformFlags |= 536870912 /* ContainsPrivateIdentifierInExpression */; - } - node.jsDoc = void 0; - return node; - } - function propagateAssignmentPatternFlags(node) { - return containsObjectRestOrSpread(node) ? 65536 /* ContainsObjectRestOrSpread */ : 0 /* None */; - } - function updateBinaryExpression(node, left, operator, right) { - return node.left !== left || node.operatorToken !== operator || node.right !== right ? update(createBinaryExpression(left, operator, right), node) : node; - } - function createConditionalExpression(condition, questionToken, whenTrue, colonToken, whenFalse) { - const node = createBaseNode(227 /* ConditionalExpression */); - node.condition = parenthesizerRules().parenthesizeConditionOfConditionalExpression(condition); - node.questionToken = questionToken ?? createToken(58 /* QuestionToken */); - node.whenTrue = parenthesizerRules().parenthesizeBranchOfConditionalExpression(whenTrue); - node.colonToken = colonToken ?? createToken(59 /* ColonToken */); - node.whenFalse = parenthesizerRules().parenthesizeBranchOfConditionalExpression(whenFalse); - node.transformFlags |= propagateChildFlags(node.condition) | propagateChildFlags(node.questionToken) | propagateChildFlags(node.whenTrue) | propagateChildFlags(node.colonToken) | propagateChildFlags(node.whenFalse); - return node; - } - function updateConditionalExpression(node, condition, questionToken, whenTrue, colonToken, whenFalse) { - return node.condition !== condition || node.questionToken !== questionToken || node.whenTrue !== whenTrue || node.colonToken !== colonToken || node.whenFalse !== whenFalse ? update(createConditionalExpression(condition, questionToken, whenTrue, colonToken, whenFalse), node) : node; - } - function createTemplateExpression(head, templateSpans) { - const node = createBaseNode(228 /* TemplateExpression */); - node.head = head; - node.templateSpans = createNodeArray(templateSpans); - node.transformFlags |= propagateChildFlags(node.head) | propagateChildrenFlags(node.templateSpans) | 1024 /* ContainsES2015 */; - return node; - } - function updateTemplateExpression(node, head, templateSpans) { - return node.head !== head || node.templateSpans !== templateSpans ? update(createTemplateExpression(head, templateSpans), node) : node; - } - function checkTemplateLiteralLikeNode(kind, text, rawText, templateFlags = 0 /* None */) { - Debug.assert(!(templateFlags & ~7176 /* TemplateLiteralLikeFlags */), "Unsupported template flags."); - let cooked = void 0; - if (rawText !== void 0 && rawText !== text) { - cooked = getCookedText(kind, rawText); - if (typeof cooked === "object") { - return Debug.fail("Invalid raw text"); - } - } - if (text === void 0) { - if (cooked === void 0) { - return Debug.fail("Arguments 'text' and 'rawText' may not both be undefined."); - } - text = cooked; - } else if (cooked !== void 0) { - Debug.assert(text === cooked, "Expected argument 'text' to be the normalized (i.e. 'cooked') version of argument 'rawText'."); - } - return text; - } - function getTransformFlagsOfTemplateLiteralLike(templateFlags) { - let transformFlags = 1024 /* ContainsES2015 */; - if (templateFlags) { - transformFlags |= 128 /* ContainsES2018 */; - } - return transformFlags; - } - function createTemplateLiteralLikeToken(kind, text, rawText, templateFlags) { - const node = createBaseToken(kind); - node.text = text; - node.rawText = rawText; - node.templateFlags = templateFlags & 7176 /* TemplateLiteralLikeFlags */; - node.transformFlags = getTransformFlagsOfTemplateLiteralLike(node.templateFlags); - return node; - } - function createTemplateLiteralLikeDeclaration(kind, text, rawText, templateFlags) { - const node = createBaseDeclaration(kind); - node.text = text; - node.rawText = rawText; - node.templateFlags = templateFlags & 7176 /* TemplateLiteralLikeFlags */; - node.transformFlags = getTransformFlagsOfTemplateLiteralLike(node.templateFlags); - return node; - } - function createTemplateLiteralLikeNode(kind, text, rawText, templateFlags) { - if (kind === 15 /* NoSubstitutionTemplateLiteral */) { - return createTemplateLiteralLikeDeclaration(kind, text, rawText, templateFlags); - } - return createTemplateLiteralLikeToken(kind, text, rawText, templateFlags); - } - function createTemplateHead(text, rawText, templateFlags) { - text = checkTemplateLiteralLikeNode(16 /* TemplateHead */, text, rawText, templateFlags); - return createTemplateLiteralLikeNode(16 /* TemplateHead */, text, rawText, templateFlags); - } - function createTemplateMiddle(text, rawText, templateFlags) { - text = checkTemplateLiteralLikeNode(16 /* TemplateHead */, text, rawText, templateFlags); - return createTemplateLiteralLikeNode(17 /* TemplateMiddle */, text, rawText, templateFlags); - } - function createTemplateTail(text, rawText, templateFlags) { - text = checkTemplateLiteralLikeNode(16 /* TemplateHead */, text, rawText, templateFlags); - return createTemplateLiteralLikeNode(18 /* TemplateTail */, text, rawText, templateFlags); - } - function createNoSubstitutionTemplateLiteral(text, rawText, templateFlags) { - text = checkTemplateLiteralLikeNode(16 /* TemplateHead */, text, rawText, templateFlags); - return createTemplateLiteralLikeDeclaration(15 /* NoSubstitutionTemplateLiteral */, text, rawText, templateFlags); - } - function createYieldExpression(asteriskToken, expression) { - Debug.assert(!asteriskToken || !!expression, "A `YieldExpression` with an asteriskToken must have an expression."); - const node = createBaseNode(229 /* YieldExpression */); - node.expression = expression && parenthesizerRules().parenthesizeExpressionForDisallowedComma(expression); - node.asteriskToken = asteriskToken; - node.transformFlags |= propagateChildFlags(node.expression) | propagateChildFlags(node.asteriskToken) | 1024 /* ContainsES2015 */ | 128 /* ContainsES2018 */ | 1048576 /* ContainsYield */; - return node; - } - function updateYieldExpression(node, asteriskToken, expression) { - return node.expression !== expression || node.asteriskToken !== asteriskToken ? update(createYieldExpression(asteriskToken, expression), node) : node; - } - function createSpreadElement(expression) { - const node = createBaseNode(230 /* SpreadElement */); - node.expression = parenthesizerRules().parenthesizeExpressionForDisallowedComma(expression); - node.transformFlags |= propagateChildFlags(node.expression) | 1024 /* ContainsES2015 */ | 32768 /* ContainsRestOrSpread */; - return node; - } - function updateSpreadElement(node, expression) { - return node.expression !== expression ? update(createSpreadElement(expression), node) : node; - } - function createClassExpression(modifiers, name, typeParameters, heritageClauses, members) { - const node = createBaseDeclaration(231 /* ClassExpression */); - node.modifiers = asNodeArray(modifiers); - node.name = asName(name); - node.typeParameters = asNodeArray(typeParameters); - node.heritageClauses = asNodeArray(heritageClauses); - node.members = createNodeArray(members); - node.transformFlags |= propagateChildrenFlags(node.modifiers) | propagateNameFlags(node.name) | propagateChildrenFlags(node.typeParameters) | propagateChildrenFlags(node.heritageClauses) | propagateChildrenFlags(node.members) | (node.typeParameters ? 1 /* ContainsTypeScript */ : 0 /* None */) | 1024 /* ContainsES2015 */; - node.jsDoc = void 0; - return node; - } - function updateClassExpression(node, modifiers, name, typeParameters, heritageClauses, members) { - return node.modifiers !== modifiers || node.name !== name || node.typeParameters !== typeParameters || node.heritageClauses !== heritageClauses || node.members !== members ? update(createClassExpression(modifiers, name, typeParameters, heritageClauses, members), node) : node; - } - function createOmittedExpression() { - return createBaseNode(232 /* OmittedExpression */); - } - function createExpressionWithTypeArguments(expression, typeArguments) { - const node = createBaseNode(233 /* ExpressionWithTypeArguments */); - node.expression = parenthesizerRules().parenthesizeLeftSideOfAccess( - expression, - /*optionalChain*/ - false - ); - node.typeArguments = typeArguments && parenthesizerRules().parenthesizeTypeArguments(typeArguments); - node.transformFlags |= propagateChildFlags(node.expression) | propagateChildrenFlags(node.typeArguments) | 1024 /* ContainsES2015 */; - return node; - } - function updateExpressionWithTypeArguments(node, expression, typeArguments) { - return node.expression !== expression || node.typeArguments !== typeArguments ? update(createExpressionWithTypeArguments(expression, typeArguments), node) : node; - } - function createAsExpression(expression, type) { - const node = createBaseNode(234 /* AsExpression */); - node.expression = expression; - node.type = type; - node.transformFlags |= propagateChildFlags(node.expression) | propagateChildFlags(node.type) | 1 /* ContainsTypeScript */; - return node; - } - function updateAsExpression(node, expression, type) { - return node.expression !== expression || node.type !== type ? update(createAsExpression(expression, type), node) : node; - } - function createNonNullExpression(expression) { - const node = createBaseNode(235 /* NonNullExpression */); - node.expression = parenthesizerRules().parenthesizeLeftSideOfAccess( - expression, - /*optionalChain*/ - false - ); - node.transformFlags |= propagateChildFlags(node.expression) | 1 /* ContainsTypeScript */; - return node; - } - function updateNonNullExpression(node, expression) { - if (isNonNullChain(node)) { - return updateNonNullChain(node, expression); - } - return node.expression !== expression ? update(createNonNullExpression(expression), node) : node; - } - function createSatisfiesExpression(expression, type) { - const node = createBaseNode(238 /* SatisfiesExpression */); - node.expression = expression; - node.type = type; - node.transformFlags |= propagateChildFlags(node.expression) | propagateChildFlags(node.type) | 1 /* ContainsTypeScript */; - return node; - } - function updateSatisfiesExpression(node, expression, type) { - return node.expression !== expression || node.type !== type ? update(createSatisfiesExpression(expression, type), node) : node; - } - function createNonNullChain(expression) { - const node = createBaseNode(235 /* NonNullExpression */); - node.flags |= 64 /* OptionalChain */; - node.expression = parenthesizerRules().parenthesizeLeftSideOfAccess( - expression, - /*optionalChain*/ - true - ); - node.transformFlags |= propagateChildFlags(node.expression) | 1 /* ContainsTypeScript */; - return node; - } - function updateNonNullChain(node, expression) { - Debug.assert(!!(node.flags & 64 /* OptionalChain */), "Cannot update a NonNullExpression using updateNonNullChain. Use updateNonNullExpression instead."); - return node.expression !== expression ? update(createNonNullChain(expression), node) : node; - } - function createMetaProperty(keywordToken, name) { - const node = createBaseNode(236 /* MetaProperty */); - node.keywordToken = keywordToken; - node.name = name; - node.transformFlags |= propagateChildFlags(node.name); - switch (keywordToken) { - case 105 /* NewKeyword */: - node.transformFlags |= 1024 /* ContainsES2015 */; - break; - case 102 /* ImportKeyword */: - node.transformFlags |= 32 /* ContainsES2020 */; - break; - default: - return Debug.assertNever(keywordToken); - } - node.flowNode = void 0; - return node; - } - function updateMetaProperty(node, name) { - return node.name !== name ? update(createMetaProperty(node.keywordToken, name), node) : node; - } - function createTemplateSpan(expression, literal) { - const node = createBaseNode(239 /* TemplateSpan */); - node.expression = expression; - node.literal = literal; - node.transformFlags |= propagateChildFlags(node.expression) | propagateChildFlags(node.literal) | 1024 /* ContainsES2015 */; - return node; - } - function updateTemplateSpan(node, expression, literal) { - return node.expression !== expression || node.literal !== literal ? update(createTemplateSpan(expression, literal), node) : node; - } - function createSemicolonClassElement() { - const node = createBaseNode(240 /* SemicolonClassElement */); - node.transformFlags |= 1024 /* ContainsES2015 */; - return node; - } - function createBlock(statements, multiLine) { - const node = createBaseNode(241 /* Block */); - node.statements = createNodeArray(statements); - node.multiLine = multiLine; - node.transformFlags |= propagateChildrenFlags(node.statements); - node.jsDoc = void 0; - node.locals = void 0; - node.nextContainer = void 0; - return node; - } - function updateBlock(node, statements) { - return node.statements !== statements ? update(createBlock(statements, node.multiLine), node) : node; - } - function createVariableStatement(modifiers, declarationList) { - const node = createBaseNode(243 /* VariableStatement */); - node.modifiers = asNodeArray(modifiers); - node.declarationList = isArray(declarationList) ? createVariableDeclarationList(declarationList) : declarationList; - node.transformFlags |= propagateChildrenFlags(node.modifiers) | propagateChildFlags(node.declarationList); - if (modifiersToFlags(node.modifiers) & 128 /* Ambient */) { - node.transformFlags = 1 /* ContainsTypeScript */; - } - node.jsDoc = void 0; - node.flowNode = void 0; - return node; - } - function updateVariableStatement(node, modifiers, declarationList) { - return node.modifiers !== modifiers || node.declarationList !== declarationList ? update(createVariableStatement(modifiers, declarationList), node) : node; - } - function createEmptyStatement() { - const node = createBaseNode(242 /* EmptyStatement */); - node.jsDoc = void 0; - return node; - } - function createExpressionStatement(expression) { - const node = createBaseNode(244 /* ExpressionStatement */); - node.expression = parenthesizerRules().parenthesizeExpressionOfExpressionStatement(expression); - node.transformFlags |= propagateChildFlags(node.expression); - node.jsDoc = void 0; - node.flowNode = void 0; - return node; - } - function updateExpressionStatement(node, expression) { - return node.expression !== expression ? update(createExpressionStatement(expression), node) : node; - } - function createIfStatement(expression, thenStatement, elseStatement) { - const node = createBaseNode(245 /* IfStatement */); - node.expression = expression; - node.thenStatement = asEmbeddedStatement(thenStatement); - node.elseStatement = asEmbeddedStatement(elseStatement); - node.transformFlags |= propagateChildFlags(node.expression) | propagateChildFlags(node.thenStatement) | propagateChildFlags(node.elseStatement); - node.jsDoc = void 0; - node.flowNode = void 0; - return node; - } - function updateIfStatement(node, expression, thenStatement, elseStatement) { - return node.expression !== expression || node.thenStatement !== thenStatement || node.elseStatement !== elseStatement ? update(createIfStatement(expression, thenStatement, elseStatement), node) : node; - } - function createDoStatement(statement, expression) { - const node = createBaseNode(246 /* DoStatement */); - node.statement = asEmbeddedStatement(statement); - node.expression = expression; - node.transformFlags |= propagateChildFlags(node.statement) | propagateChildFlags(node.expression); - node.jsDoc = void 0; - node.flowNode = void 0; - return node; - } - function updateDoStatement(node, statement, expression) { - return node.statement !== statement || node.expression !== expression ? update(createDoStatement(statement, expression), node) : node; - } - function createWhileStatement(expression, statement) { - const node = createBaseNode(247 /* WhileStatement */); - node.expression = expression; - node.statement = asEmbeddedStatement(statement); - node.transformFlags |= propagateChildFlags(node.expression) | propagateChildFlags(node.statement); - node.jsDoc = void 0; - node.flowNode = void 0; - return node; - } - function updateWhileStatement(node, expression, statement) { - return node.expression !== expression || node.statement !== statement ? update(createWhileStatement(expression, statement), node) : node; - } - function createForStatement(initializer, condition, incrementor, statement) { - const node = createBaseNode(248 /* ForStatement */); - node.initializer = initializer; - node.condition = condition; - node.incrementor = incrementor; - node.statement = asEmbeddedStatement(statement); - node.transformFlags |= propagateChildFlags(node.initializer) | propagateChildFlags(node.condition) | propagateChildFlags(node.incrementor) | propagateChildFlags(node.statement); - node.jsDoc = void 0; - node.locals = void 0; - node.nextContainer = void 0; - node.flowNode = void 0; - return node; - } - function updateForStatement(node, initializer, condition, incrementor, statement) { - return node.initializer !== initializer || node.condition !== condition || node.incrementor !== incrementor || node.statement !== statement ? update(createForStatement(initializer, condition, incrementor, statement), node) : node; - } - function createForInStatement(initializer, expression, statement) { - const node = createBaseNode(249 /* ForInStatement */); - node.initializer = initializer; - node.expression = expression; - node.statement = asEmbeddedStatement(statement); - node.transformFlags |= propagateChildFlags(node.initializer) | propagateChildFlags(node.expression) | propagateChildFlags(node.statement); - node.jsDoc = void 0; - node.locals = void 0; - node.nextContainer = void 0; - node.flowNode = void 0; - return node; - } - function updateForInStatement(node, initializer, expression, statement) { - return node.initializer !== initializer || node.expression !== expression || node.statement !== statement ? update(createForInStatement(initializer, expression, statement), node) : node; - } - function createForOfStatement(awaitModifier, initializer, expression, statement) { - const node = createBaseNode(250 /* ForOfStatement */); - node.awaitModifier = awaitModifier; - node.initializer = initializer; - node.expression = parenthesizerRules().parenthesizeExpressionForDisallowedComma(expression); - node.statement = asEmbeddedStatement(statement); - node.transformFlags |= propagateChildFlags(node.awaitModifier) | propagateChildFlags(node.initializer) | propagateChildFlags(node.expression) | propagateChildFlags(node.statement) | 1024 /* ContainsES2015 */; - if (awaitModifier) node.transformFlags |= 128 /* ContainsES2018 */; - node.jsDoc = void 0; - node.locals = void 0; - node.nextContainer = void 0; - node.flowNode = void 0; - return node; - } - function updateForOfStatement(node, awaitModifier, initializer, expression, statement) { - return node.awaitModifier !== awaitModifier || node.initializer !== initializer || node.expression !== expression || node.statement !== statement ? update(createForOfStatement(awaitModifier, initializer, expression, statement), node) : node; - } - function createContinueStatement(label) { - const node = createBaseNode(251 /* ContinueStatement */); - node.label = asName(label); - node.transformFlags |= propagateChildFlags(node.label) | 4194304 /* ContainsHoistedDeclarationOrCompletion */; - node.jsDoc = void 0; - node.flowNode = void 0; - return node; - } - function updateContinueStatement(node, label) { - return node.label !== label ? update(createContinueStatement(label), node) : node; - } - function createBreakStatement(label) { - const node = createBaseNode(252 /* BreakStatement */); - node.label = asName(label); - node.transformFlags |= propagateChildFlags(node.label) | 4194304 /* ContainsHoistedDeclarationOrCompletion */; - node.jsDoc = void 0; - node.flowNode = void 0; - return node; - } - function updateBreakStatement(node, label) { - return node.label !== label ? update(createBreakStatement(label), node) : node; - } - function createReturnStatement(expression) { - const node = createBaseNode(253 /* ReturnStatement */); - node.expression = expression; - node.transformFlags |= propagateChildFlags(node.expression) | 128 /* ContainsES2018 */ | 4194304 /* ContainsHoistedDeclarationOrCompletion */; - node.jsDoc = void 0; - node.flowNode = void 0; - return node; - } - function updateReturnStatement(node, expression) { - return node.expression !== expression ? update(createReturnStatement(expression), node) : node; - } - function createWithStatement(expression, statement) { - const node = createBaseNode(254 /* WithStatement */); - node.expression = expression; - node.statement = asEmbeddedStatement(statement); - node.transformFlags |= propagateChildFlags(node.expression) | propagateChildFlags(node.statement); - node.jsDoc = void 0; - node.flowNode = void 0; - return node; - } - function updateWithStatement(node, expression, statement) { - return node.expression !== expression || node.statement !== statement ? update(createWithStatement(expression, statement), node) : node; - } - function createSwitchStatement(expression, caseBlock) { - const node = createBaseNode(255 /* SwitchStatement */); - node.expression = parenthesizerRules().parenthesizeExpressionForDisallowedComma(expression); - node.caseBlock = caseBlock; - node.transformFlags |= propagateChildFlags(node.expression) | propagateChildFlags(node.caseBlock); - node.jsDoc = void 0; - node.flowNode = void 0; - node.possiblyExhaustive = false; - return node; - } - function updateSwitchStatement(node, expression, caseBlock) { - return node.expression !== expression || node.caseBlock !== caseBlock ? update(createSwitchStatement(expression, caseBlock), node) : node; - } - function createLabeledStatement(label, statement) { - const node = createBaseNode(256 /* LabeledStatement */); - node.label = asName(label); - node.statement = asEmbeddedStatement(statement); - node.transformFlags |= propagateChildFlags(node.label) | propagateChildFlags(node.statement); - node.jsDoc = void 0; - node.flowNode = void 0; - return node; - } - function updateLabeledStatement(node, label, statement) { - return node.label !== label || node.statement !== statement ? update(createLabeledStatement(label, statement), node) : node; - } - function createThrowStatement(expression) { - const node = createBaseNode(257 /* ThrowStatement */); - node.expression = expression; - node.transformFlags |= propagateChildFlags(node.expression); - node.jsDoc = void 0; - node.flowNode = void 0; - return node; - } - function updateThrowStatement(node, expression) { - return node.expression !== expression ? update(createThrowStatement(expression), node) : node; - } - function createTryStatement(tryBlock, catchClause, finallyBlock) { - const node = createBaseNode(258 /* TryStatement */); - node.tryBlock = tryBlock; - node.catchClause = catchClause; - node.finallyBlock = finallyBlock; - node.transformFlags |= propagateChildFlags(node.tryBlock) | propagateChildFlags(node.catchClause) | propagateChildFlags(node.finallyBlock); - node.jsDoc = void 0; - node.flowNode = void 0; - return node; - } - function updateTryStatement(node, tryBlock, catchClause, finallyBlock) { - return node.tryBlock !== tryBlock || node.catchClause !== catchClause || node.finallyBlock !== finallyBlock ? update(createTryStatement(tryBlock, catchClause, finallyBlock), node) : node; - } - function createDebuggerStatement() { - const node = createBaseNode(259 /* DebuggerStatement */); - node.jsDoc = void 0; - node.flowNode = void 0; - return node; - } - function createVariableDeclaration(name, exclamationToken, type, initializer) { - const node = createBaseDeclaration(260 /* VariableDeclaration */); - node.name = asName(name); - node.exclamationToken = exclamationToken; - node.type = type; - node.initializer = asInitializer(initializer); - node.transformFlags |= propagateNameFlags(node.name) | propagateChildFlags(node.initializer) | (node.exclamationToken ?? node.type ? 1 /* ContainsTypeScript */ : 0 /* None */); - node.jsDoc = void 0; - return node; - } - function updateVariableDeclaration(node, name, exclamationToken, type, initializer) { - return node.name !== name || node.type !== type || node.exclamationToken !== exclamationToken || node.initializer !== initializer ? update(createVariableDeclaration(name, exclamationToken, type, initializer), node) : node; - } - function createVariableDeclarationList(declarations, flags2 = 0 /* None */) { - const node = createBaseNode(261 /* VariableDeclarationList */); - node.flags |= flags2 & 7 /* BlockScoped */; - node.declarations = createNodeArray(declarations); - node.transformFlags |= propagateChildrenFlags(node.declarations) | 4194304 /* ContainsHoistedDeclarationOrCompletion */; - if (flags2 & 7 /* BlockScoped */) { - node.transformFlags |= 1024 /* ContainsES2015 */ | 262144 /* ContainsBlockScopedBinding */; - } - if (flags2 & 4 /* Using */) { - node.transformFlags |= 4 /* ContainsESNext */; - } - return node; - } - function updateVariableDeclarationList(node, declarations) { - return node.declarations !== declarations ? update(createVariableDeclarationList(declarations, node.flags), node) : node; - } - function createFunctionDeclaration(modifiers, asteriskToken, name, typeParameters, parameters, type, body) { - const node = createBaseDeclaration(262 /* FunctionDeclaration */); - node.modifiers = asNodeArray(modifiers); - node.asteriskToken = asteriskToken; - node.name = asName(name); - node.typeParameters = asNodeArray(typeParameters); - node.parameters = createNodeArray(parameters); - node.type = type; - node.body = body; - if (!node.body || modifiersToFlags(node.modifiers) & 128 /* Ambient */) { - node.transformFlags = 1 /* ContainsTypeScript */; - } else { - const isAsync = modifiersToFlags(node.modifiers) & 1024 /* Async */; - const isGenerator = !!node.asteriskToken; - const isAsyncGenerator = isAsync && isGenerator; - node.transformFlags = propagateChildrenFlags(node.modifiers) | propagateChildFlags(node.asteriskToken) | propagateNameFlags(node.name) | propagateChildrenFlags(node.typeParameters) | propagateChildrenFlags(node.parameters) | propagateChildFlags(node.type) | propagateChildFlags(node.body) & ~67108864 /* ContainsPossibleTopLevelAwait */ | (isAsyncGenerator ? 128 /* ContainsES2018 */ : isAsync ? 256 /* ContainsES2017 */ : isGenerator ? 2048 /* ContainsGenerator */ : 0 /* None */) | (node.typeParameters || node.type ? 1 /* ContainsTypeScript */ : 0 /* None */) | 4194304 /* ContainsHoistedDeclarationOrCompletion */; - } - node.typeArguments = void 0; - node.jsDoc = void 0; - node.locals = void 0; - node.nextContainer = void 0; - node.endFlowNode = void 0; - node.returnFlowNode = void 0; - return node; - } - function updateFunctionDeclaration(node, modifiers, asteriskToken, name, typeParameters, parameters, type, body) { - return node.modifiers !== modifiers || node.asteriskToken !== asteriskToken || node.name !== name || node.typeParameters !== typeParameters || node.parameters !== parameters || node.type !== type || node.body !== body ? finishUpdateFunctionDeclaration(createFunctionDeclaration(modifiers, asteriskToken, name, typeParameters, parameters, type, body), node) : node; - } - function finishUpdateFunctionDeclaration(updated, original) { - if (updated !== original) { - if (updated.modifiers === original.modifiers) { - updated.modifiers = original.modifiers; - } - } - return finishUpdateBaseSignatureDeclaration(updated, original); - } - function createClassDeclaration(modifiers, name, typeParameters, heritageClauses, members) { - const node = createBaseDeclaration(263 /* ClassDeclaration */); - node.modifiers = asNodeArray(modifiers); - node.name = asName(name); - node.typeParameters = asNodeArray(typeParameters); - node.heritageClauses = asNodeArray(heritageClauses); - node.members = createNodeArray(members); - if (modifiersToFlags(node.modifiers) & 128 /* Ambient */) { - node.transformFlags = 1 /* ContainsTypeScript */; - } else { - node.transformFlags |= propagateChildrenFlags(node.modifiers) | propagateNameFlags(node.name) | propagateChildrenFlags(node.typeParameters) | propagateChildrenFlags(node.heritageClauses) | propagateChildrenFlags(node.members) | (node.typeParameters ? 1 /* ContainsTypeScript */ : 0 /* None */) | 1024 /* ContainsES2015 */; - if (node.transformFlags & 8192 /* ContainsTypeScriptClassSyntax */) { - node.transformFlags |= 1 /* ContainsTypeScript */; - } - } - node.jsDoc = void 0; - return node; - } - function updateClassDeclaration(node, modifiers, name, typeParameters, heritageClauses, members) { - return node.modifiers !== modifiers || node.name !== name || node.typeParameters !== typeParameters || node.heritageClauses !== heritageClauses || node.members !== members ? update(createClassDeclaration(modifiers, name, typeParameters, heritageClauses, members), node) : node; - } - function createInterfaceDeclaration(modifiers, name, typeParameters, heritageClauses, members) { - const node = createBaseDeclaration(264 /* InterfaceDeclaration */); - node.modifiers = asNodeArray(modifiers); - node.name = asName(name); - node.typeParameters = asNodeArray(typeParameters); - node.heritageClauses = asNodeArray(heritageClauses); - node.members = createNodeArray(members); - node.transformFlags = 1 /* ContainsTypeScript */; - node.jsDoc = void 0; - return node; - } - function updateInterfaceDeclaration(node, modifiers, name, typeParameters, heritageClauses, members) { - return node.modifiers !== modifiers || node.name !== name || node.typeParameters !== typeParameters || node.heritageClauses !== heritageClauses || node.members !== members ? update(createInterfaceDeclaration(modifiers, name, typeParameters, heritageClauses, members), node) : node; - } - function createTypeAliasDeclaration(modifiers, name, typeParameters, type) { - const node = createBaseDeclaration(265 /* TypeAliasDeclaration */); - node.modifiers = asNodeArray(modifiers); - node.name = asName(name); - node.typeParameters = asNodeArray(typeParameters); - node.type = type; - node.transformFlags = 1 /* ContainsTypeScript */; - node.jsDoc = void 0; - node.locals = void 0; - node.nextContainer = void 0; - return node; - } - function updateTypeAliasDeclaration(node, modifiers, name, typeParameters, type) { - return node.modifiers !== modifiers || node.name !== name || node.typeParameters !== typeParameters || node.type !== type ? update(createTypeAliasDeclaration(modifiers, name, typeParameters, type), node) : node; - } - function createEnumDeclaration(modifiers, name, members) { - const node = createBaseDeclaration(266 /* EnumDeclaration */); - node.modifiers = asNodeArray(modifiers); - node.name = asName(name); - node.members = createNodeArray(members); - node.transformFlags |= propagateChildrenFlags(node.modifiers) | propagateChildFlags(node.name) | propagateChildrenFlags(node.members) | 1 /* ContainsTypeScript */; - node.transformFlags &= ~67108864 /* ContainsPossibleTopLevelAwait */; - node.jsDoc = void 0; - return node; - } - function updateEnumDeclaration(node, modifiers, name, members) { - return node.modifiers !== modifiers || node.name !== name || node.members !== members ? update(createEnumDeclaration(modifiers, name, members), node) : node; - } - function createModuleDeclaration(modifiers, name, body, flags2 = 0 /* None */) { - const node = createBaseDeclaration(267 /* ModuleDeclaration */); - node.modifiers = asNodeArray(modifiers); - node.flags |= flags2 & (32 /* Namespace */ | 8 /* NestedNamespace */ | 2048 /* GlobalAugmentation */); - node.name = name; - node.body = body; - if (modifiersToFlags(node.modifiers) & 128 /* Ambient */) { - node.transformFlags = 1 /* ContainsTypeScript */; - } else { - node.transformFlags |= propagateChildrenFlags(node.modifiers) | propagateChildFlags(node.name) | propagateChildFlags(node.body) | 1 /* ContainsTypeScript */; - } - node.transformFlags &= ~67108864 /* ContainsPossibleTopLevelAwait */; - node.jsDoc = void 0; - node.locals = void 0; - node.nextContainer = void 0; - return node; - } - function updateModuleDeclaration(node, modifiers, name, body) { - return node.modifiers !== modifiers || node.name !== name || node.body !== body ? update(createModuleDeclaration(modifiers, name, body, node.flags), node) : node; - } - function createModuleBlock(statements) { - const node = createBaseNode(268 /* ModuleBlock */); - node.statements = createNodeArray(statements); - node.transformFlags |= propagateChildrenFlags(node.statements); - node.jsDoc = void 0; - return node; - } - function updateModuleBlock(node, statements) { - return node.statements !== statements ? update(createModuleBlock(statements), node) : node; - } - function createCaseBlock(clauses) { - const node = createBaseNode(269 /* CaseBlock */); - node.clauses = createNodeArray(clauses); - node.transformFlags |= propagateChildrenFlags(node.clauses); - node.locals = void 0; - node.nextContainer = void 0; - return node; - } - function updateCaseBlock(node, clauses) { - return node.clauses !== clauses ? update(createCaseBlock(clauses), node) : node; - } - function createNamespaceExportDeclaration(name) { - const node = createBaseDeclaration(270 /* NamespaceExportDeclaration */); - node.name = asName(name); - node.transformFlags |= propagateIdentifierNameFlags(node.name) | 1 /* ContainsTypeScript */; - node.modifiers = void 0; - node.jsDoc = void 0; - return node; - } - function updateNamespaceExportDeclaration(node, name) { - return node.name !== name ? finishUpdateNamespaceExportDeclaration(createNamespaceExportDeclaration(name), node) : node; - } - function finishUpdateNamespaceExportDeclaration(updated, original) { - if (updated !== original) { - updated.modifiers = original.modifiers; - } - return update(updated, original); - } - function createImportEqualsDeclaration(modifiers, isTypeOnly, name, moduleReference) { - const node = createBaseDeclaration(271 /* ImportEqualsDeclaration */); - node.modifiers = asNodeArray(modifiers); - node.name = asName(name); - node.isTypeOnly = isTypeOnly; - node.moduleReference = moduleReference; - node.transformFlags |= propagateChildrenFlags(node.modifiers) | propagateIdentifierNameFlags(node.name) | propagateChildFlags(node.moduleReference); - if (!isExternalModuleReference(node.moduleReference)) { - node.transformFlags |= 1 /* ContainsTypeScript */; - } - node.transformFlags &= ~67108864 /* ContainsPossibleTopLevelAwait */; - node.jsDoc = void 0; - return node; - } - function updateImportEqualsDeclaration(node, modifiers, isTypeOnly, name, moduleReference) { - return node.modifiers !== modifiers || node.isTypeOnly !== isTypeOnly || node.name !== name || node.moduleReference !== moduleReference ? update(createImportEqualsDeclaration(modifiers, isTypeOnly, name, moduleReference), node) : node; - } - function createImportDeclaration(modifiers, importClause, moduleSpecifier, attributes) { - const node = createBaseNode(272 /* ImportDeclaration */); - node.modifiers = asNodeArray(modifiers); - node.importClause = importClause; - node.moduleSpecifier = moduleSpecifier; - node.attributes = node.assertClause = attributes; - node.transformFlags |= propagateChildFlags(node.importClause) | propagateChildFlags(node.moduleSpecifier); - node.transformFlags &= ~67108864 /* ContainsPossibleTopLevelAwait */; - node.jsDoc = void 0; - return node; - } - function updateImportDeclaration(node, modifiers, importClause, moduleSpecifier, attributes) { - return node.modifiers !== modifiers || node.importClause !== importClause || node.moduleSpecifier !== moduleSpecifier || node.attributes !== attributes ? update(createImportDeclaration(modifiers, importClause, moduleSpecifier, attributes), node) : node; - } - function createImportClause(isTypeOnly, name, namedBindings) { - const node = createBaseDeclaration(273 /* ImportClause */); - node.isTypeOnly = isTypeOnly; - node.name = name; - node.namedBindings = namedBindings; - node.transformFlags |= propagateChildFlags(node.name) | propagateChildFlags(node.namedBindings); - if (isTypeOnly) { - node.transformFlags |= 1 /* ContainsTypeScript */; - } - node.transformFlags &= ~67108864 /* ContainsPossibleTopLevelAwait */; - return node; - } - function updateImportClause(node, isTypeOnly, name, namedBindings) { - return node.isTypeOnly !== isTypeOnly || node.name !== name || node.namedBindings !== namedBindings ? update(createImportClause(isTypeOnly, name, namedBindings), node) : node; - } - function createAssertClause(elements, multiLine) { - const node = createBaseNode(300 /* AssertClause */); - node.elements = createNodeArray(elements); - node.multiLine = multiLine; - node.token = 132 /* AssertKeyword */; - node.transformFlags |= 4 /* ContainsESNext */; - return node; - } - function updateAssertClause(node, elements, multiLine) { - return node.elements !== elements || node.multiLine !== multiLine ? update(createAssertClause(elements, multiLine), node) : node; - } - function createAssertEntry(name, value) { - const node = createBaseNode(301 /* AssertEntry */); - node.name = name; - node.value = value; - node.transformFlags |= 4 /* ContainsESNext */; - return node; - } - function updateAssertEntry(node, name, value) { - return node.name !== name || node.value !== value ? update(createAssertEntry(name, value), node) : node; - } - function createImportTypeAssertionContainer(clause, multiLine) { - const node = createBaseNode(302 /* ImportTypeAssertionContainer */); - node.assertClause = clause; - node.multiLine = multiLine; - return node; - } - function updateImportTypeAssertionContainer(node, clause, multiLine) { - return node.assertClause !== clause || node.multiLine !== multiLine ? update(createImportTypeAssertionContainer(clause, multiLine), node) : node; - } - function createImportAttributes(elements, multiLine, token) { - const node = createBaseNode(300 /* ImportAttributes */); - node.token = token ?? 118 /* WithKeyword */; - node.elements = createNodeArray(elements); - node.multiLine = multiLine; - node.transformFlags |= 4 /* ContainsESNext */; - return node; - } - function updateImportAttributes(node, elements, multiLine) { - return node.elements !== elements || node.multiLine !== multiLine ? update(createImportAttributes(elements, multiLine, node.token), node) : node; - } - function createImportAttribute(name, value) { - const node = createBaseNode(301 /* ImportAttribute */); - node.name = name; - node.value = value; - node.transformFlags |= 4 /* ContainsESNext */; - return node; - } - function updateImportAttribute(node, name, value) { - return node.name !== name || node.value !== value ? update(createImportAttribute(name, value), node) : node; - } - function createNamespaceImport(name) { - const node = createBaseDeclaration(274 /* NamespaceImport */); - node.name = name; - node.transformFlags |= propagateChildFlags(node.name); - node.transformFlags &= ~67108864 /* ContainsPossibleTopLevelAwait */; - return node; - } - function updateNamespaceImport(node, name) { - return node.name !== name ? update(createNamespaceImport(name), node) : node; - } - function createNamespaceExport(name) { - const node = createBaseDeclaration(280 /* NamespaceExport */); - node.name = name; - node.transformFlags |= propagateChildFlags(node.name) | 32 /* ContainsES2020 */; - node.transformFlags &= ~67108864 /* ContainsPossibleTopLevelAwait */; - return node; - } - function updateNamespaceExport(node, name) { - return node.name !== name ? update(createNamespaceExport(name), node) : node; - } - function createNamedImports(elements) { - const node = createBaseNode(275 /* NamedImports */); - node.elements = createNodeArray(elements); - node.transformFlags |= propagateChildrenFlags(node.elements); - node.transformFlags &= ~67108864 /* ContainsPossibleTopLevelAwait */; - return node; - } - function updateNamedImports(node, elements) { - return node.elements !== elements ? update(createNamedImports(elements), node) : node; - } - function createImportSpecifier(isTypeOnly, propertyName, name) { - const node = createBaseDeclaration(276 /* ImportSpecifier */); - node.isTypeOnly = isTypeOnly; - node.propertyName = propertyName; - node.name = name; - node.transformFlags |= propagateChildFlags(node.propertyName) | propagateChildFlags(node.name); - node.transformFlags &= ~67108864 /* ContainsPossibleTopLevelAwait */; - return node; - } - function updateImportSpecifier(node, isTypeOnly, propertyName, name) { - return node.isTypeOnly !== isTypeOnly || node.propertyName !== propertyName || node.name !== name ? update(createImportSpecifier(isTypeOnly, propertyName, name), node) : node; - } - function createExportAssignment(modifiers, isExportEquals, expression) { - const node = createBaseDeclaration(277 /* ExportAssignment */); - node.modifiers = asNodeArray(modifiers); - node.isExportEquals = isExportEquals; - node.expression = isExportEquals ? parenthesizerRules().parenthesizeRightSideOfBinary( - 64 /* EqualsToken */, - /*leftSide*/ - void 0, - expression - ) : parenthesizerRules().parenthesizeExpressionOfExportDefault(expression); - node.transformFlags |= propagateChildrenFlags(node.modifiers) | propagateChildFlags(node.expression); - node.transformFlags &= ~67108864 /* ContainsPossibleTopLevelAwait */; - node.jsDoc = void 0; - return node; - } - function updateExportAssignment(node, modifiers, expression) { - return node.modifiers !== modifiers || node.expression !== expression ? update(createExportAssignment(modifiers, node.isExportEquals, expression), node) : node; - } - function createExportDeclaration(modifiers, isTypeOnly, exportClause, moduleSpecifier, attributes) { - const node = createBaseDeclaration(278 /* ExportDeclaration */); - node.modifiers = asNodeArray(modifiers); - node.isTypeOnly = isTypeOnly; - node.exportClause = exportClause; - node.moduleSpecifier = moduleSpecifier; - node.attributes = node.assertClause = attributes; - node.transformFlags |= propagateChildrenFlags(node.modifiers) | propagateChildFlags(node.exportClause) | propagateChildFlags(node.moduleSpecifier); - node.transformFlags &= ~67108864 /* ContainsPossibleTopLevelAwait */; - node.jsDoc = void 0; - return node; - } - function updateExportDeclaration(node, modifiers, isTypeOnly, exportClause, moduleSpecifier, attributes) { - return node.modifiers !== modifiers || node.isTypeOnly !== isTypeOnly || node.exportClause !== exportClause || node.moduleSpecifier !== moduleSpecifier || node.attributes !== attributes ? finishUpdateExportDeclaration(createExportDeclaration(modifiers, isTypeOnly, exportClause, moduleSpecifier, attributes), node) : node; - } - function finishUpdateExportDeclaration(updated, original) { - if (updated !== original) { - if (updated.modifiers === original.modifiers) { - updated.modifiers = original.modifiers; - } - } - return update(updated, original); - } - function createNamedExports(elements) { - const node = createBaseNode(279 /* NamedExports */); - node.elements = createNodeArray(elements); - node.transformFlags |= propagateChildrenFlags(node.elements); - node.transformFlags &= ~67108864 /* ContainsPossibleTopLevelAwait */; - return node; - } - function updateNamedExports(node, elements) { - return node.elements !== elements ? update(createNamedExports(elements), node) : node; - } - function createExportSpecifier(isTypeOnly, propertyName, name) { - const node = createBaseNode(281 /* ExportSpecifier */); - node.isTypeOnly = isTypeOnly; - node.propertyName = asName(propertyName); - node.name = asName(name); - node.transformFlags |= propagateChildFlags(node.propertyName) | propagateChildFlags(node.name); - node.transformFlags &= ~67108864 /* ContainsPossibleTopLevelAwait */; - node.jsDoc = void 0; - return node; - } - function updateExportSpecifier(node, isTypeOnly, propertyName, name) { - return node.isTypeOnly !== isTypeOnly || node.propertyName !== propertyName || node.name !== name ? update(createExportSpecifier(isTypeOnly, propertyName, name), node) : node; - } - function createMissingDeclaration() { - const node = createBaseDeclaration(282 /* MissingDeclaration */); - node.jsDoc = void 0; - return node; - } - function createExternalModuleReference(expression) { - const node = createBaseNode(283 /* ExternalModuleReference */); - node.expression = expression; - node.transformFlags |= propagateChildFlags(node.expression); - node.transformFlags &= ~67108864 /* ContainsPossibleTopLevelAwait */; - return node; - } - function updateExternalModuleReference(node, expression) { - return node.expression !== expression ? update(createExternalModuleReference(expression), node) : node; - } - function createJSDocPrimaryTypeWorker(kind) { - return createBaseNode(kind); - } - function createJSDocPrePostfixUnaryTypeWorker(kind, type, postfix = false) { - const node = createJSDocUnaryTypeWorker( - kind, - postfix ? type && parenthesizerRules().parenthesizeNonArrayTypeOfPostfixType(type) : type - ); - node.postfix = postfix; - return node; - } - function createJSDocUnaryTypeWorker(kind, type) { - const node = createBaseNode(kind); - node.type = type; - return node; - } - function updateJSDocPrePostfixUnaryTypeWorker(kind, node, type) { - return node.type !== type ? update(createJSDocPrePostfixUnaryTypeWorker(kind, type, node.postfix), node) : node; - } - function updateJSDocUnaryTypeWorker(kind, node, type) { - return node.type !== type ? update(createJSDocUnaryTypeWorker(kind, type), node) : node; - } - function createJSDocFunctionType(parameters, type) { - const node = createBaseDeclaration(317 /* JSDocFunctionType */); - node.parameters = asNodeArray(parameters); - node.type = type; - node.transformFlags = propagateChildrenFlags(node.parameters) | (node.type ? 1 /* ContainsTypeScript */ : 0 /* None */); - node.jsDoc = void 0; - node.locals = void 0; - node.nextContainer = void 0; - node.typeArguments = void 0; - return node; - } - function updateJSDocFunctionType(node, parameters, type) { - return node.parameters !== parameters || node.type !== type ? update(createJSDocFunctionType(parameters, type), node) : node; - } - function createJSDocTypeLiteral(propertyTags, isArrayType = false) { - const node = createBaseDeclaration(322 /* JSDocTypeLiteral */); - node.jsDocPropertyTags = asNodeArray(propertyTags); - node.isArrayType = isArrayType; - return node; - } - function updateJSDocTypeLiteral(node, propertyTags, isArrayType) { - return node.jsDocPropertyTags !== propertyTags || node.isArrayType !== isArrayType ? update(createJSDocTypeLiteral(propertyTags, isArrayType), node) : node; - } - function createJSDocTypeExpression(type) { - const node = createBaseNode(309 /* JSDocTypeExpression */); - node.type = type; - return node; - } - function updateJSDocTypeExpression(node, type) { - return node.type !== type ? update(createJSDocTypeExpression(type), node) : node; - } - function createJSDocSignature(typeParameters, parameters, type) { - const node = createBaseDeclaration(323 /* JSDocSignature */); - node.typeParameters = asNodeArray(typeParameters); - node.parameters = createNodeArray(parameters); - node.type = type; - node.jsDoc = void 0; - node.locals = void 0; - node.nextContainer = void 0; - return node; - } - function updateJSDocSignature(node, typeParameters, parameters, type) { - return node.typeParameters !== typeParameters || node.parameters !== parameters || node.type !== type ? update(createJSDocSignature(typeParameters, parameters, type), node) : node; - } - function getDefaultTagName(node) { - const defaultTagName = getDefaultTagNameForKind(node.kind); - return node.tagName.escapedText === escapeLeadingUnderscores(defaultTagName) ? node.tagName : createIdentifier(defaultTagName); - } - function createBaseJSDocTag(kind, tagName, comment) { - const node = createBaseNode(kind); - node.tagName = tagName; - node.comment = comment; - return node; - } - function createBaseJSDocTagDeclaration(kind, tagName, comment) { - const node = createBaseDeclaration(kind); - node.tagName = tagName; - node.comment = comment; - return node; - } - function createJSDocTemplateTag(tagName, constraint, typeParameters, comment) { - const node = createBaseJSDocTag(345 /* JSDocTemplateTag */, tagName ?? createIdentifier("template"), comment); - node.constraint = constraint; - node.typeParameters = createNodeArray(typeParameters); - return node; - } - function updateJSDocTemplateTag(node, tagName = getDefaultTagName(node), constraint, typeParameters, comment) { - return node.tagName !== tagName || node.constraint !== constraint || node.typeParameters !== typeParameters || node.comment !== comment ? update(createJSDocTemplateTag(tagName, constraint, typeParameters, comment), node) : node; - } - function createJSDocTypedefTag(tagName, typeExpression, fullName, comment) { - const node = createBaseJSDocTagDeclaration(346 /* JSDocTypedefTag */, tagName ?? createIdentifier("typedef"), comment); - node.typeExpression = typeExpression; - node.fullName = fullName; - node.name = getJSDocTypeAliasName(fullName); - node.locals = void 0; - node.nextContainer = void 0; - return node; - } - function updateJSDocTypedefTag(node, tagName = getDefaultTagName(node), typeExpression, fullName, comment) { - return node.tagName !== tagName || node.typeExpression !== typeExpression || node.fullName !== fullName || node.comment !== comment ? update(createJSDocTypedefTag(tagName, typeExpression, fullName, comment), node) : node; - } - function createJSDocParameterTag(tagName, name, isBracketed, typeExpression, isNameFirst, comment) { - const node = createBaseJSDocTagDeclaration(341 /* JSDocParameterTag */, tagName ?? createIdentifier("param"), comment); - node.typeExpression = typeExpression; - node.name = name; - node.isNameFirst = !!isNameFirst; - node.isBracketed = isBracketed; - return node; - } - function updateJSDocParameterTag(node, tagName = getDefaultTagName(node), name, isBracketed, typeExpression, isNameFirst, comment) { - return node.tagName !== tagName || node.name !== name || node.isBracketed !== isBracketed || node.typeExpression !== typeExpression || node.isNameFirst !== isNameFirst || node.comment !== comment ? update(createJSDocParameterTag(tagName, name, isBracketed, typeExpression, isNameFirst, comment), node) : node; - } - function createJSDocPropertyTag(tagName, name, isBracketed, typeExpression, isNameFirst, comment) { - const node = createBaseJSDocTagDeclaration(348 /* JSDocPropertyTag */, tagName ?? createIdentifier("prop"), comment); - node.typeExpression = typeExpression; - node.name = name; - node.isNameFirst = !!isNameFirst; - node.isBracketed = isBracketed; - return node; - } - function updateJSDocPropertyTag(node, tagName = getDefaultTagName(node), name, isBracketed, typeExpression, isNameFirst, comment) { - return node.tagName !== tagName || node.name !== name || node.isBracketed !== isBracketed || node.typeExpression !== typeExpression || node.isNameFirst !== isNameFirst || node.comment !== comment ? update(createJSDocPropertyTag(tagName, name, isBracketed, typeExpression, isNameFirst, comment), node) : node; - } - function createJSDocCallbackTag(tagName, typeExpression, fullName, comment) { - const node = createBaseJSDocTagDeclaration(338 /* JSDocCallbackTag */, tagName ?? createIdentifier("callback"), comment); - node.typeExpression = typeExpression; - node.fullName = fullName; - node.name = getJSDocTypeAliasName(fullName); - node.locals = void 0; - node.nextContainer = void 0; - return node; - } - function updateJSDocCallbackTag(node, tagName = getDefaultTagName(node), typeExpression, fullName, comment) { - return node.tagName !== tagName || node.typeExpression !== typeExpression || node.fullName !== fullName || node.comment !== comment ? update(createJSDocCallbackTag(tagName, typeExpression, fullName, comment), node) : node; - } - function createJSDocOverloadTag(tagName, typeExpression, comment) { - const node = createBaseJSDocTag(339 /* JSDocOverloadTag */, tagName ?? createIdentifier("overload"), comment); - node.typeExpression = typeExpression; - return node; - } - function updateJSDocOverloadTag(node, tagName = getDefaultTagName(node), typeExpression, comment) { - return node.tagName !== tagName || node.typeExpression !== typeExpression || node.comment !== comment ? update(createJSDocOverloadTag(tagName, typeExpression, comment), node) : node; - } - function createJSDocAugmentsTag(tagName, className, comment) { - const node = createBaseJSDocTag(328 /* JSDocAugmentsTag */, tagName ?? createIdentifier("augments"), comment); - node.class = className; - return node; - } - function updateJSDocAugmentsTag(node, tagName = getDefaultTagName(node), className, comment) { - return node.tagName !== tagName || node.class !== className || node.comment !== comment ? update(createJSDocAugmentsTag(tagName, className, comment), node) : node; - } - function createJSDocImplementsTag(tagName, className, comment) { - const node = createBaseJSDocTag(329 /* JSDocImplementsTag */, tagName ?? createIdentifier("implements"), comment); - node.class = className; - return node; - } - function createJSDocSeeTag(tagName, name, comment) { - const node = createBaseJSDocTag(347 /* JSDocSeeTag */, tagName ?? createIdentifier("see"), comment); - node.name = name; - return node; - } - function updateJSDocSeeTag(node, tagName, name, comment) { - return node.tagName !== tagName || node.name !== name || node.comment !== comment ? update(createJSDocSeeTag(tagName, name, comment), node) : node; - } - function createJSDocNameReference(name) { - const node = createBaseNode(310 /* JSDocNameReference */); - node.name = name; - return node; - } - function updateJSDocNameReference(node, name) { - return node.name !== name ? update(createJSDocNameReference(name), node) : node; - } - function createJSDocMemberName(left, right) { - const node = createBaseNode(311 /* JSDocMemberName */); - node.left = left; - node.right = right; - node.transformFlags |= propagateChildFlags(node.left) | propagateChildFlags(node.right); - return node; - } - function updateJSDocMemberName(node, left, right) { - return node.left !== left || node.right !== right ? update(createJSDocMemberName(left, right), node) : node; - } - function createJSDocLink(name, text) { - const node = createBaseNode(324 /* JSDocLink */); - node.name = name; - node.text = text; - return node; - } - function updateJSDocLink(node, name, text) { - return node.name !== name ? update(createJSDocLink(name, text), node) : node; - } - function createJSDocLinkCode(name, text) { - const node = createBaseNode(325 /* JSDocLinkCode */); - node.name = name; - node.text = text; - return node; - } - function updateJSDocLinkCode(node, name, text) { - return node.name !== name ? update(createJSDocLinkCode(name, text), node) : node; - } - function createJSDocLinkPlain(name, text) { - const node = createBaseNode(326 /* JSDocLinkPlain */); - node.name = name; - node.text = text; - return node; - } - function updateJSDocLinkPlain(node, name, text) { - return node.name !== name ? update(createJSDocLinkPlain(name, text), node) : node; - } - function updateJSDocImplementsTag(node, tagName = getDefaultTagName(node), className, comment) { - return node.tagName !== tagName || node.class !== className || node.comment !== comment ? update(createJSDocImplementsTag(tagName, className, comment), node) : node; - } - function createJSDocSimpleTagWorker(kind, tagName, comment) { - const node = createBaseJSDocTag(kind, tagName ?? createIdentifier(getDefaultTagNameForKind(kind)), comment); - return node; - } - function updateJSDocSimpleTagWorker(kind, node, tagName = getDefaultTagName(node), comment) { - return node.tagName !== tagName || node.comment !== comment ? update(createJSDocSimpleTagWorker(kind, tagName, comment), node) : node; - } - function createJSDocTypeLikeTagWorker(kind, tagName, typeExpression, comment) { - const node = createBaseJSDocTag(kind, tagName ?? createIdentifier(getDefaultTagNameForKind(kind)), comment); - node.typeExpression = typeExpression; - return node; - } - function updateJSDocTypeLikeTagWorker(kind, node, tagName = getDefaultTagName(node), typeExpression, comment) { - return node.tagName !== tagName || node.typeExpression !== typeExpression || node.comment !== comment ? update(createJSDocTypeLikeTagWorker(kind, tagName, typeExpression, comment), node) : node; - } - function createJSDocUnknownTag(tagName, comment) { - const node = createBaseJSDocTag(327 /* JSDocTag */, tagName, comment); - return node; - } - function updateJSDocUnknownTag(node, tagName, comment) { - return node.tagName !== tagName || node.comment !== comment ? update(createJSDocUnknownTag(tagName, comment), node) : node; - } - function createJSDocEnumTag(tagName, typeExpression, comment) { - const node = createBaseJSDocTagDeclaration(340 /* JSDocEnumTag */, tagName ?? createIdentifier(getDefaultTagNameForKind(340 /* JSDocEnumTag */)), comment); - node.typeExpression = typeExpression; - node.locals = void 0; - node.nextContainer = void 0; - return node; - } - function updateJSDocEnumTag(node, tagName = getDefaultTagName(node), typeExpression, comment) { - return node.tagName !== tagName || node.typeExpression !== typeExpression || node.comment !== comment ? update(createJSDocEnumTag(tagName, typeExpression, comment), node) : node; - } - function createJSDocImportTag(tagName, importClause, moduleSpecifier, attributes, comment) { - const node = createBaseJSDocTag(351 /* JSDocImportTag */, tagName ?? createIdentifier("import"), comment); - node.importClause = importClause; - node.moduleSpecifier = moduleSpecifier; - node.attributes = attributes; - node.comment = comment; - return node; - } - function updateJSDocImportTag(node, tagName, importClause, moduleSpecifier, attributes, comment) { - return node.tagName !== tagName || node.comment !== comment || node.importClause !== importClause || node.moduleSpecifier !== moduleSpecifier || node.attributes !== attributes ? update(createJSDocImportTag(tagName, importClause, moduleSpecifier, attributes, comment), node) : node; - } - function createJSDocText(text) { - const node = createBaseNode(321 /* JSDocText */); - node.text = text; - return node; - } - function updateJSDocText(node, text) { - return node.text !== text ? update(createJSDocText(text), node) : node; - } - function createJSDocComment(comment, tags) { - const node = createBaseNode(320 /* JSDoc */); - node.comment = comment; - node.tags = asNodeArray(tags); - return node; - } - function updateJSDocComment(node, comment, tags) { - return node.comment !== comment || node.tags !== tags ? update(createJSDocComment(comment, tags), node) : node; - } - function createJsxElement(openingElement, children, closingElement) { - const node = createBaseNode(284 /* JsxElement */); - node.openingElement = openingElement; - node.children = createNodeArray(children); - node.closingElement = closingElement; - node.transformFlags |= propagateChildFlags(node.openingElement) | propagateChildrenFlags(node.children) | propagateChildFlags(node.closingElement) | 2 /* ContainsJsx */; - return node; - } - function updateJsxElement(node, openingElement, children, closingElement) { - return node.openingElement !== openingElement || node.children !== children || node.closingElement !== closingElement ? update(createJsxElement(openingElement, children, closingElement), node) : node; - } - function createJsxSelfClosingElement(tagName, typeArguments, attributes) { - const node = createBaseNode(285 /* JsxSelfClosingElement */); - node.tagName = tagName; - node.typeArguments = asNodeArray(typeArguments); - node.attributes = attributes; - node.transformFlags |= propagateChildFlags(node.tagName) | propagateChildrenFlags(node.typeArguments) | propagateChildFlags(node.attributes) | 2 /* ContainsJsx */; - if (node.typeArguments) { - node.transformFlags |= 1 /* ContainsTypeScript */; - } - return node; - } - function updateJsxSelfClosingElement(node, tagName, typeArguments, attributes) { - return node.tagName !== tagName || node.typeArguments !== typeArguments || node.attributes !== attributes ? update(createJsxSelfClosingElement(tagName, typeArguments, attributes), node) : node; - } - function createJsxOpeningElement(tagName, typeArguments, attributes) { - const node = createBaseNode(286 /* JsxOpeningElement */); - node.tagName = tagName; - node.typeArguments = asNodeArray(typeArguments); - node.attributes = attributes; - node.transformFlags |= propagateChildFlags(node.tagName) | propagateChildrenFlags(node.typeArguments) | propagateChildFlags(node.attributes) | 2 /* ContainsJsx */; - if (typeArguments) { - node.transformFlags |= 1 /* ContainsTypeScript */; - } - return node; - } - function updateJsxOpeningElement(node, tagName, typeArguments, attributes) { - return node.tagName !== tagName || node.typeArguments !== typeArguments || node.attributes !== attributes ? update(createJsxOpeningElement(tagName, typeArguments, attributes), node) : node; - } - function createJsxClosingElement(tagName) { - const node = createBaseNode(287 /* JsxClosingElement */); - node.tagName = tagName; - node.transformFlags |= propagateChildFlags(node.tagName) | 2 /* ContainsJsx */; - return node; - } - function updateJsxClosingElement(node, tagName) { - return node.tagName !== tagName ? update(createJsxClosingElement(tagName), node) : node; - } - function createJsxFragment(openingFragment, children, closingFragment) { - const node = createBaseNode(288 /* JsxFragment */); - node.openingFragment = openingFragment; - node.children = createNodeArray(children); - node.closingFragment = closingFragment; - node.transformFlags |= propagateChildFlags(node.openingFragment) | propagateChildrenFlags(node.children) | propagateChildFlags(node.closingFragment) | 2 /* ContainsJsx */; - return node; - } - function updateJsxFragment(node, openingFragment, children, closingFragment) { - return node.openingFragment !== openingFragment || node.children !== children || node.closingFragment !== closingFragment ? update(createJsxFragment(openingFragment, children, closingFragment), node) : node; - } - function createJsxText(text, containsOnlyTriviaWhiteSpaces) { - const node = createBaseNode(12 /* JsxText */); - node.text = text; - node.containsOnlyTriviaWhiteSpaces = !!containsOnlyTriviaWhiteSpaces; - node.transformFlags |= 2 /* ContainsJsx */; - return node; - } - function updateJsxText(node, text, containsOnlyTriviaWhiteSpaces) { - return node.text !== text || node.containsOnlyTriviaWhiteSpaces !== containsOnlyTriviaWhiteSpaces ? update(createJsxText(text, containsOnlyTriviaWhiteSpaces), node) : node; - } - function createJsxOpeningFragment() { - const node = createBaseNode(289 /* JsxOpeningFragment */); - node.transformFlags |= 2 /* ContainsJsx */; - return node; - } - function createJsxJsxClosingFragment() { - const node = createBaseNode(290 /* JsxClosingFragment */); - node.transformFlags |= 2 /* ContainsJsx */; - return node; - } - function createJsxAttribute(name, initializer) { - const node = createBaseDeclaration(291 /* JsxAttribute */); - node.name = name; - node.initializer = initializer; - node.transformFlags |= propagateChildFlags(node.name) | propagateChildFlags(node.initializer) | 2 /* ContainsJsx */; - return node; - } - function updateJsxAttribute(node, name, initializer) { - return node.name !== name || node.initializer !== initializer ? update(createJsxAttribute(name, initializer), node) : node; - } - function createJsxAttributes(properties) { - const node = createBaseDeclaration(292 /* JsxAttributes */); - node.properties = createNodeArray(properties); - node.transformFlags |= propagateChildrenFlags(node.properties) | 2 /* ContainsJsx */; - return node; - } - function updateJsxAttributes(node, properties) { - return node.properties !== properties ? update(createJsxAttributes(properties), node) : node; - } - function createJsxSpreadAttribute(expression) { - const node = createBaseNode(293 /* JsxSpreadAttribute */); - node.expression = expression; - node.transformFlags |= propagateChildFlags(node.expression) | 2 /* ContainsJsx */; - return node; - } - function updateJsxSpreadAttribute(node, expression) { - return node.expression !== expression ? update(createJsxSpreadAttribute(expression), node) : node; - } - function createJsxExpression(dotDotDotToken, expression) { - const node = createBaseNode(294 /* JsxExpression */); - node.dotDotDotToken = dotDotDotToken; - node.expression = expression; - node.transformFlags |= propagateChildFlags(node.dotDotDotToken) | propagateChildFlags(node.expression) | 2 /* ContainsJsx */; - return node; - } - function updateJsxExpression(node, expression) { - return node.expression !== expression ? update(createJsxExpression(node.dotDotDotToken, expression), node) : node; - } - function createJsxNamespacedName(namespace, name) { - const node = createBaseNode(295 /* JsxNamespacedName */); - node.namespace = namespace; - node.name = name; - node.transformFlags |= propagateChildFlags(node.namespace) | propagateChildFlags(node.name) | 2 /* ContainsJsx */; - return node; - } - function updateJsxNamespacedName(node, namespace, name) { - return node.namespace !== namespace || node.name !== name ? update(createJsxNamespacedName(namespace, name), node) : node; - } - function createCaseClause(expression, statements) { - const node = createBaseNode(296 /* CaseClause */); - node.expression = parenthesizerRules().parenthesizeExpressionForDisallowedComma(expression); - node.statements = createNodeArray(statements); - node.transformFlags |= propagateChildFlags(node.expression) | propagateChildrenFlags(node.statements); - node.jsDoc = void 0; - return node; - } - function updateCaseClause(node, expression, statements) { - return node.expression !== expression || node.statements !== statements ? update(createCaseClause(expression, statements), node) : node; - } - function createDefaultClause(statements) { - const node = createBaseNode(297 /* DefaultClause */); - node.statements = createNodeArray(statements); - node.transformFlags = propagateChildrenFlags(node.statements); - return node; - } - function updateDefaultClause(node, statements) { - return node.statements !== statements ? update(createDefaultClause(statements), node) : node; - } - function createHeritageClause(token, types) { - const node = createBaseNode(298 /* HeritageClause */); - node.token = token; - node.types = createNodeArray(types); - node.transformFlags |= propagateChildrenFlags(node.types); - switch (token) { - case 96 /* ExtendsKeyword */: - node.transformFlags |= 1024 /* ContainsES2015 */; - break; - case 119 /* ImplementsKeyword */: - node.transformFlags |= 1 /* ContainsTypeScript */; - break; - default: - return Debug.assertNever(token); - } - return node; - } - function updateHeritageClause(node, types) { - return node.types !== types ? update(createHeritageClause(node.token, types), node) : node; - } - function createCatchClause(variableDeclaration, block) { - const node = createBaseNode(299 /* CatchClause */); - node.variableDeclaration = asVariableDeclaration(variableDeclaration); - node.block = block; - node.transformFlags |= propagateChildFlags(node.variableDeclaration) | propagateChildFlags(node.block) | (!variableDeclaration ? 64 /* ContainsES2019 */ : 0 /* None */); - node.locals = void 0; - node.nextContainer = void 0; - return node; - } - function updateCatchClause(node, variableDeclaration, block) { - return node.variableDeclaration !== variableDeclaration || node.block !== block ? update(createCatchClause(variableDeclaration, block), node) : node; - } - function createPropertyAssignment(name, initializer) { - const node = createBaseDeclaration(303 /* PropertyAssignment */); - node.name = asName(name); - node.initializer = parenthesizerRules().parenthesizeExpressionForDisallowedComma(initializer); - node.transformFlags |= propagateNameFlags(node.name) | propagateChildFlags(node.initializer); - node.modifiers = void 0; - node.questionToken = void 0; - node.exclamationToken = void 0; - node.jsDoc = void 0; - return node; - } - function updatePropertyAssignment(node, name, initializer) { - return node.name !== name || node.initializer !== initializer ? finishUpdatePropertyAssignment(createPropertyAssignment(name, initializer), node) : node; - } - function finishUpdatePropertyAssignment(updated, original) { - if (updated !== original) { - updated.modifiers = original.modifiers; - updated.questionToken = original.questionToken; - updated.exclamationToken = original.exclamationToken; - } - return update(updated, original); - } - function createShorthandPropertyAssignment(name, objectAssignmentInitializer) { - const node = createBaseDeclaration(304 /* ShorthandPropertyAssignment */); - node.name = asName(name); - node.objectAssignmentInitializer = objectAssignmentInitializer && parenthesizerRules().parenthesizeExpressionForDisallowedComma(objectAssignmentInitializer); - node.transformFlags |= propagateIdentifierNameFlags(node.name) | propagateChildFlags(node.objectAssignmentInitializer) | 1024 /* ContainsES2015 */; - node.equalsToken = void 0; - node.modifiers = void 0; - node.questionToken = void 0; - node.exclamationToken = void 0; - node.jsDoc = void 0; - return node; - } - function updateShorthandPropertyAssignment(node, name, objectAssignmentInitializer) { - return node.name !== name || node.objectAssignmentInitializer !== objectAssignmentInitializer ? finishUpdateShorthandPropertyAssignment(createShorthandPropertyAssignment(name, objectAssignmentInitializer), node) : node; - } - function finishUpdateShorthandPropertyAssignment(updated, original) { - if (updated !== original) { - updated.modifiers = original.modifiers; - updated.questionToken = original.questionToken; - updated.exclamationToken = original.exclamationToken; - updated.equalsToken = original.equalsToken; - } - return update(updated, original); - } - function createSpreadAssignment(expression) { - const node = createBaseDeclaration(305 /* SpreadAssignment */); - node.expression = parenthesizerRules().parenthesizeExpressionForDisallowedComma(expression); - node.transformFlags |= propagateChildFlags(node.expression) | 128 /* ContainsES2018 */ | 65536 /* ContainsObjectRestOrSpread */; - node.jsDoc = void 0; - return node; - } - function updateSpreadAssignment(node, expression) { - return node.expression !== expression ? update(createSpreadAssignment(expression), node) : node; - } - function createEnumMember(name, initializer) { - const node = createBaseDeclaration(306 /* EnumMember */); - node.name = asName(name); - node.initializer = initializer && parenthesizerRules().parenthesizeExpressionForDisallowedComma(initializer); - node.transformFlags |= propagateChildFlags(node.name) | propagateChildFlags(node.initializer) | 1 /* ContainsTypeScript */; - node.jsDoc = void 0; - return node; - } - function updateEnumMember(node, name, initializer) { - return node.name !== name || node.initializer !== initializer ? update(createEnumMember(name, initializer), node) : node; - } - function createSourceFile2(statements, endOfFileToken, flags2) { - const node = baseFactory2.createBaseSourceFileNode(307 /* SourceFile */); - node.statements = createNodeArray(statements); - node.endOfFileToken = endOfFileToken; - node.flags |= flags2; - node.text = ""; - node.fileName = ""; - node.path = ""; - node.resolvedPath = ""; - node.originalFileName = ""; - node.languageVersion = 1 /* ES5 */; - node.languageVariant = 0; - node.scriptKind = 0; - node.isDeclarationFile = false; - node.hasNoDefaultLib = false; - node.transformFlags |= propagateChildrenFlags(node.statements) | propagateChildFlags(node.endOfFileToken); - node.locals = void 0; - node.nextContainer = void 0; - node.endFlowNode = void 0; - node.nodeCount = 0; - node.identifierCount = 0; - node.symbolCount = 0; - node.parseDiagnostics = void 0; - node.bindDiagnostics = void 0; - node.bindSuggestionDiagnostics = void 0; - node.lineMap = void 0; - node.externalModuleIndicator = void 0; - node.setExternalModuleIndicator = void 0; - node.pragmas = void 0; - node.checkJsDirective = void 0; - node.referencedFiles = void 0; - node.typeReferenceDirectives = void 0; - node.libReferenceDirectives = void 0; - node.amdDependencies = void 0; - node.commentDirectives = void 0; - node.identifiers = void 0; - node.packageJsonLocations = void 0; - node.packageJsonScope = void 0; - node.imports = void 0; - node.moduleAugmentations = void 0; - node.ambientModuleNames = void 0; - node.classifiableNames = void 0; - node.impliedNodeFormat = void 0; - return node; - } - function createRedirectedSourceFile(redirectInfo) { - const node = Object.create(redirectInfo.redirectTarget); - Object.defineProperties(node, { - id: { - get() { - return this.redirectInfo.redirectTarget.id; - }, - set(value) { - this.redirectInfo.redirectTarget.id = value; - } - }, - symbol: { - get() { - return this.redirectInfo.redirectTarget.symbol; - }, - set(value) { - this.redirectInfo.redirectTarget.symbol = value; - } - } - }); - node.redirectInfo = redirectInfo; - return node; - } - function cloneRedirectedSourceFile(source) { - const node = createRedirectedSourceFile(source.redirectInfo); - node.flags |= source.flags & ~16 /* Synthesized */; - node.fileName = source.fileName; - node.path = source.path; - node.resolvedPath = source.resolvedPath; - node.originalFileName = source.originalFileName; - node.packageJsonLocations = source.packageJsonLocations; - node.packageJsonScope = source.packageJsonScope; - node.emitNode = void 0; - return node; - } - function cloneSourceFileWorker(source) { - const node = baseFactory2.createBaseSourceFileNode(307 /* SourceFile */); - node.flags |= source.flags & ~16 /* Synthesized */; - for (const p in source) { - if (hasProperty(node, p) || !hasProperty(source, p)) { - continue; - } - if (p === "emitNode") { - node.emitNode = void 0; - continue; - } - node[p] = source[p]; - } - return node; - } - function cloneSourceFile(source) { - const node = source.redirectInfo ? cloneRedirectedSourceFile(source) : cloneSourceFileWorker(source); - setOriginal(node, source); - return node; - } - function cloneSourceFileWithChanges(source, statements, isDeclarationFile, referencedFiles, typeReferences, hasNoDefaultLib, libReferences) { - const node = cloneSourceFile(source); - node.statements = createNodeArray(statements); - node.isDeclarationFile = isDeclarationFile; - node.referencedFiles = referencedFiles; - node.typeReferenceDirectives = typeReferences; - node.hasNoDefaultLib = hasNoDefaultLib; - node.libReferenceDirectives = libReferences; - node.transformFlags = propagateChildrenFlags(node.statements) | propagateChildFlags(node.endOfFileToken); - return node; - } - function updateSourceFile(node, statements, isDeclarationFile = node.isDeclarationFile, referencedFiles = node.referencedFiles, typeReferenceDirectives = node.typeReferenceDirectives, hasNoDefaultLib = node.hasNoDefaultLib, libReferenceDirectives = node.libReferenceDirectives) { - return node.statements !== statements || node.isDeclarationFile !== isDeclarationFile || node.referencedFiles !== referencedFiles || node.typeReferenceDirectives !== typeReferenceDirectives || node.hasNoDefaultLib !== hasNoDefaultLib || node.libReferenceDirectives !== libReferenceDirectives ? update(cloneSourceFileWithChanges(node, statements, isDeclarationFile, referencedFiles, typeReferenceDirectives, hasNoDefaultLib, libReferenceDirectives), node) : node; - } - function createBundle(sourceFiles) { - const node = createBaseNode(308 /* Bundle */); - node.sourceFiles = sourceFiles; - node.syntheticFileReferences = void 0; - node.syntheticTypeReferences = void 0; - node.syntheticLibReferences = void 0; - node.hasNoDefaultLib = void 0; - return node; - } - function updateBundle(node, sourceFiles) { - return node.sourceFiles !== sourceFiles ? update(createBundle(sourceFiles), node) : node; - } - function createSyntheticExpression(type, isSpread = false, tupleNameSource) { - const node = createBaseNode(237 /* SyntheticExpression */); - node.type = type; - node.isSpread = isSpread; - node.tupleNameSource = tupleNameSource; - return node; - } - function createSyntaxList(children) { - const node = createBaseNode(352 /* SyntaxList */); - node._children = children; - return node; - } - function createNotEmittedStatement(original) { - const node = createBaseNode(353 /* NotEmittedStatement */); - node.original = original; - setTextRange(node, original); - return node; - } - function createPartiallyEmittedExpression(expression, original) { - const node = createBaseNode(354 /* PartiallyEmittedExpression */); - node.expression = expression; - node.original = original; - node.transformFlags |= propagateChildFlags(node.expression) | 1 /* ContainsTypeScript */; - setTextRange(node, original); - return node; - } - function updatePartiallyEmittedExpression(node, expression) { - return node.expression !== expression ? update(createPartiallyEmittedExpression(expression, node.original), node) : node; - } - function flattenCommaElements(node) { - if (nodeIsSynthesized(node) && !isParseTreeNode(node) && !node.original && !node.emitNode && !node.id) { - if (isCommaListExpression(node)) { - return node.elements; - } - if (isBinaryExpression(node) && isCommaToken(node.operatorToken)) { - return [node.left, node.right]; - } - } - return node; - } - function createCommaListExpression(elements) { - const node = createBaseNode(355 /* CommaListExpression */); - node.elements = createNodeArray(sameFlatMap(elements, flattenCommaElements)); - node.transformFlags |= propagateChildrenFlags(node.elements); - return node; - } - function updateCommaListExpression(node, elements) { - return node.elements !== elements ? update(createCommaListExpression(elements), node) : node; - } - function createSyntheticReferenceExpression(expression, thisArg) { - const node = createBaseNode(356 /* SyntheticReferenceExpression */); - node.expression = expression; - node.thisArg = thisArg; - node.transformFlags |= propagateChildFlags(node.expression) | propagateChildFlags(node.thisArg); - return node; - } - function updateSyntheticReferenceExpression(node, expression, thisArg) { - return node.expression !== expression || node.thisArg !== thisArg ? update(createSyntheticReferenceExpression(expression, thisArg), node) : node; - } - function cloneGeneratedIdentifier(node) { - const clone = createBaseIdentifier(node.escapedText); - clone.flags |= node.flags & ~16 /* Synthesized */; - clone.transformFlags = node.transformFlags; - setOriginal(clone, node); - setIdentifierAutoGenerate(clone, { ...node.emitNode.autoGenerate }); - return clone; - } - function cloneIdentifier(node) { - const clone = createBaseIdentifier(node.escapedText); - clone.flags |= node.flags & ~16 /* Synthesized */; - clone.jsDoc = node.jsDoc; - clone.flowNode = node.flowNode; - clone.symbol = node.symbol; - clone.transformFlags = node.transformFlags; - setOriginal(clone, node); - const typeArguments = getIdentifierTypeArguments(node); - if (typeArguments) setIdentifierTypeArguments(clone, typeArguments); - return clone; - } - function cloneGeneratedPrivateIdentifier(node) { - const clone = createBasePrivateIdentifier(node.escapedText); - clone.flags |= node.flags & ~16 /* Synthesized */; - clone.transformFlags = node.transformFlags; - setOriginal(clone, node); - setIdentifierAutoGenerate(clone, { ...node.emitNode.autoGenerate }); - return clone; - } - function clonePrivateIdentifier(node) { - const clone = createBasePrivateIdentifier(node.escapedText); - clone.flags |= node.flags & ~16 /* Synthesized */; - clone.transformFlags = node.transformFlags; - setOriginal(clone, node); - return clone; - } - function cloneNode(node) { - if (node === void 0) { - return node; - } - if (isSourceFile(node)) { - return cloneSourceFile(node); - } - if (isGeneratedIdentifier(node)) { - return cloneGeneratedIdentifier(node); - } - if (isIdentifier(node)) { - return cloneIdentifier(node); - } - if (isGeneratedPrivateIdentifier(node)) { - return cloneGeneratedPrivateIdentifier(node); - } - if (isPrivateIdentifier(node)) { - return clonePrivateIdentifier(node); - } - const clone = !isNodeKind(node.kind) ? baseFactory2.createBaseTokenNode(node.kind) : baseFactory2.createBaseNode(node.kind); - clone.flags |= node.flags & ~16 /* Synthesized */; - clone.transformFlags = node.transformFlags; - setOriginal(clone, node); - for (const key in node) { - if (hasProperty(clone, key) || !hasProperty(node, key)) { - continue; - } - clone[key] = node[key]; - } - return clone; - } - function createImmediatelyInvokedFunctionExpression(statements, param, paramValue) { - return createCallExpression( - createFunctionExpression( - /*modifiers*/ - void 0, - /*asteriskToken*/ - void 0, - /*name*/ - void 0, - /*typeParameters*/ - void 0, - /*parameters*/ - param ? [param] : [], - /*type*/ - void 0, - createBlock( - statements, - /*multiLine*/ - true - ) - ), - /*typeArguments*/ - void 0, - /*argumentsArray*/ - paramValue ? [paramValue] : [] - ); - } - function createImmediatelyInvokedArrowFunction(statements, param, paramValue) { - return createCallExpression( - createArrowFunction( - /*modifiers*/ - void 0, - /*typeParameters*/ - void 0, - /*parameters*/ - param ? [param] : [], - /*type*/ - void 0, - /*equalsGreaterThanToken*/ - void 0, - createBlock( - statements, - /*multiLine*/ - true - ) - ), - /*typeArguments*/ - void 0, - /*argumentsArray*/ - paramValue ? [paramValue] : [] - ); - } - function createVoidZero() { - return createVoidExpression(createNumericLiteral("0")); - } - function createExportDefault(expression) { - return createExportAssignment( - /*modifiers*/ - void 0, - /*isExportEquals*/ - false, - expression - ); - } - function createExternalModuleExport(exportName) { - return createExportDeclaration( - /*modifiers*/ - void 0, - /*isTypeOnly*/ - false, - createNamedExports([ - createExportSpecifier( - /*isTypeOnly*/ - false, - /*propertyName*/ - void 0, - exportName - ) - ]) - ); - } - function createTypeCheck(value, tag) { - return tag === "null" ? factory2.createStrictEquality(value, createNull()) : tag === "undefined" ? factory2.createStrictEquality(value, createVoidZero()) : factory2.createStrictEquality(createTypeOfExpression(value), createStringLiteral(tag)); - } - function createIsNotTypeCheck(value, tag) { - return tag === "null" ? factory2.createStrictInequality(value, createNull()) : tag === "undefined" ? factory2.createStrictInequality(value, createVoidZero()) : factory2.createStrictInequality(createTypeOfExpression(value), createStringLiteral(tag)); - } - function createMethodCall(object, methodName, argumentsList) { - if (isCallChain(object)) { - return createCallChain( - createPropertyAccessChain( - object, - /*questionDotToken*/ - void 0, - methodName - ), - /*questionDotToken*/ - void 0, - /*typeArguments*/ - void 0, - argumentsList - ); - } - return createCallExpression( - createPropertyAccessExpression(object, methodName), - /*typeArguments*/ - void 0, - argumentsList - ); - } - function createFunctionBindCall(target, thisArg, argumentsList) { - return createMethodCall(target, "bind", [thisArg, ...argumentsList]); - } - function createFunctionCallCall(target, thisArg, argumentsList) { - return createMethodCall(target, "call", [thisArg, ...argumentsList]); - } - function createFunctionApplyCall(target, thisArg, argumentsExpression) { - return createMethodCall(target, "apply", [thisArg, argumentsExpression]); - } - function createGlobalMethodCall(globalObjectName, methodName, argumentsList) { - return createMethodCall(createIdentifier(globalObjectName), methodName, argumentsList); - } - function createArraySliceCall(array, start) { - return createMethodCall(array, "slice", start === void 0 ? [] : [asExpression(start)]); - } - function createArrayConcatCall(array, argumentsList) { - return createMethodCall(array, "concat", argumentsList); - } - function createObjectDefinePropertyCall(target, propertyName, attributes) { - return createGlobalMethodCall("Object", "defineProperty", [target, asExpression(propertyName), attributes]); - } - function createObjectGetOwnPropertyDescriptorCall(target, propertyName) { - return createGlobalMethodCall("Object", "getOwnPropertyDescriptor", [target, asExpression(propertyName)]); - } - function createReflectGetCall(target, propertyKey, receiver) { - return createGlobalMethodCall("Reflect", "get", receiver ? [target, propertyKey, receiver] : [target, propertyKey]); - } - function createReflectSetCall(target, propertyKey, value, receiver) { - return createGlobalMethodCall("Reflect", "set", receiver ? [target, propertyKey, value, receiver] : [target, propertyKey, value]); - } - function tryAddPropertyAssignment(properties, propertyName, expression) { - if (expression) { - properties.push(createPropertyAssignment(propertyName, expression)); - return true; - } - return false; - } - function createPropertyDescriptor(attributes, singleLine) { - const properties = []; - tryAddPropertyAssignment(properties, "enumerable", asExpression(attributes.enumerable)); - tryAddPropertyAssignment(properties, "configurable", asExpression(attributes.configurable)); - let isData = tryAddPropertyAssignment(properties, "writable", asExpression(attributes.writable)); - isData = tryAddPropertyAssignment(properties, "value", attributes.value) || isData; - let isAccessor2 = tryAddPropertyAssignment(properties, "get", attributes.get); - isAccessor2 = tryAddPropertyAssignment(properties, "set", attributes.set) || isAccessor2; - Debug.assert(!(isData && isAccessor2), "A PropertyDescriptor may not be both an accessor descriptor and a data descriptor."); - return createObjectLiteralExpression(properties, !singleLine); - } - function updateOuterExpression(outerExpression, expression) { - switch (outerExpression.kind) { - case 217 /* ParenthesizedExpression */: - return updateParenthesizedExpression(outerExpression, expression); - case 216 /* TypeAssertionExpression */: - return updateTypeAssertion(outerExpression, outerExpression.type, expression); - case 234 /* AsExpression */: - return updateAsExpression(outerExpression, expression, outerExpression.type); - case 238 /* SatisfiesExpression */: - return updateSatisfiesExpression(outerExpression, expression, outerExpression.type); - case 235 /* NonNullExpression */: - return updateNonNullExpression(outerExpression, expression); - case 233 /* ExpressionWithTypeArguments */: - return updateExpressionWithTypeArguments(outerExpression, expression, outerExpression.typeArguments); - case 354 /* PartiallyEmittedExpression */: - return updatePartiallyEmittedExpression(outerExpression, expression); - } - } - function isIgnorableParen(node) { - return isParenthesizedExpression(node) && nodeIsSynthesized(node) && nodeIsSynthesized(getSourceMapRange(node)) && nodeIsSynthesized(getCommentRange(node)) && !some(getSyntheticLeadingComments(node)) && !some(getSyntheticTrailingComments(node)); - } - function restoreOuterExpressions(outerExpression, innerExpression, kinds = 31 /* All */) { - if (outerExpression && isOuterExpression(outerExpression, kinds) && !isIgnorableParen(outerExpression)) { - return updateOuterExpression( - outerExpression, - restoreOuterExpressions(outerExpression.expression, innerExpression) - ); - } - return innerExpression; - } - function restoreEnclosingLabel(node, outermostLabeledStatement, afterRestoreLabelCallback) { - if (!outermostLabeledStatement) { - return node; - } - const updated = updateLabeledStatement( - outermostLabeledStatement, - outermostLabeledStatement.label, - isLabeledStatement(outermostLabeledStatement.statement) ? restoreEnclosingLabel(node, outermostLabeledStatement.statement) : node - ); - if (afterRestoreLabelCallback) { - afterRestoreLabelCallback(outermostLabeledStatement); - } - return updated; - } - function shouldBeCapturedInTempVariable(node, cacheIdentifiers) { - const target = skipParentheses(node); - switch (target.kind) { - case 80 /* Identifier */: - return cacheIdentifiers; - case 110 /* ThisKeyword */: - case 9 /* NumericLiteral */: - case 10 /* BigIntLiteral */: - case 11 /* StringLiteral */: - return false; - case 209 /* ArrayLiteralExpression */: - const elements = target.elements; - if (elements.length === 0) { - return false; - } - return true; - case 210 /* ObjectLiteralExpression */: - return target.properties.length > 0; - default: - return true; - } - } - function createCallBinding(expression, recordTempVariable, languageVersion, cacheIdentifiers = false) { - const callee = skipOuterExpressions(expression, 31 /* All */); - let thisArg; - let target; - if (isSuperProperty(callee)) { - thisArg = createThis(); - target = callee; - } else if (isSuperKeyword(callee)) { - thisArg = createThis(); - target = languageVersion !== void 0 && languageVersion < 2 /* ES2015 */ ? setTextRange(createIdentifier("_super"), callee) : callee; - } else if (getEmitFlags(callee) & 8192 /* HelperName */) { - thisArg = createVoidZero(); - target = parenthesizerRules().parenthesizeLeftSideOfAccess( - callee, - /*optionalChain*/ - false - ); - } else if (isPropertyAccessExpression(callee)) { - if (shouldBeCapturedInTempVariable(callee.expression, cacheIdentifiers)) { - thisArg = createTempVariable(recordTempVariable); - target = createPropertyAccessExpression( - setTextRange( - factory2.createAssignment( - thisArg, - callee.expression - ), - callee.expression - ), - callee.name - ); - setTextRange(target, callee); - } else { - thisArg = callee.expression; - target = callee; - } - } else if (isElementAccessExpression(callee)) { - if (shouldBeCapturedInTempVariable(callee.expression, cacheIdentifiers)) { - thisArg = createTempVariable(recordTempVariable); - target = createElementAccessExpression( - setTextRange( - factory2.createAssignment( - thisArg, - callee.expression - ), - callee.expression - ), - callee.argumentExpression - ); - setTextRange(target, callee); - } else { - thisArg = callee.expression; - target = callee; - } - } else { - thisArg = createVoidZero(); - target = parenthesizerRules().parenthesizeLeftSideOfAccess( - expression, - /*optionalChain*/ - false - ); - } - return { target, thisArg }; - } - function createAssignmentTargetWrapper(paramName, expression) { - return createPropertyAccessExpression( - // Explicit parens required because of v8 regression (https://bugs.chromium.org/p/v8/issues/detail?id=9560) - createParenthesizedExpression( - createObjectLiteralExpression([ - createSetAccessorDeclaration( - /*modifiers*/ - void 0, - "value", - [createParameterDeclaration( - /*modifiers*/ - void 0, - /*dotDotDotToken*/ - void 0, - paramName, - /*questionToken*/ - void 0, - /*type*/ - void 0, - /*initializer*/ - void 0 - )], - createBlock([ - createExpressionStatement(expression) - ]) - ) - ]) - ), - "value" - ); - } - function inlineExpressions(expressions) { - return expressions.length > 10 ? createCommaListExpression(expressions) : reduceLeft(expressions, factory2.createComma); - } - function getName(node, allowComments, allowSourceMaps, emitFlags = 0, ignoreAssignedName) { - const nodeName = ignoreAssignedName ? node && getNonAssignedNameOfDeclaration(node) : getNameOfDeclaration(node); - if (nodeName && isIdentifier(nodeName) && !isGeneratedIdentifier(nodeName)) { - const name = setParent(setTextRange(cloneNode(nodeName), nodeName), nodeName.parent); - emitFlags |= getEmitFlags(nodeName); - if (!allowSourceMaps) emitFlags |= 96 /* NoSourceMap */; - if (!allowComments) emitFlags |= 3072 /* NoComments */; - if (emitFlags) setEmitFlags(name, emitFlags); - return name; - } - return getGeneratedNameForNode(node); - } - function getInternalName(node, allowComments, allowSourceMaps) { - return getName(node, allowComments, allowSourceMaps, 32768 /* LocalName */ | 65536 /* InternalName */); - } - function getLocalName(node, allowComments, allowSourceMaps, ignoreAssignedName) { - return getName(node, allowComments, allowSourceMaps, 32768 /* LocalName */, ignoreAssignedName); - } - function getExportName(node, allowComments, allowSourceMaps) { - return getName(node, allowComments, allowSourceMaps, 16384 /* ExportName */); - } - function getDeclarationName(node, allowComments, allowSourceMaps) { - return getName(node, allowComments, allowSourceMaps); - } - function getNamespaceMemberName(ns, name, allowComments, allowSourceMaps) { - const qualifiedName = createPropertyAccessExpression(ns, nodeIsSynthesized(name) ? name : cloneNode(name)); - setTextRange(qualifiedName, name); - let emitFlags = 0; - if (!allowSourceMaps) emitFlags |= 96 /* NoSourceMap */; - if (!allowComments) emitFlags |= 3072 /* NoComments */; - if (emitFlags) setEmitFlags(qualifiedName, emitFlags); - return qualifiedName; - } - function getExternalModuleOrNamespaceExportName(ns, node, allowComments, allowSourceMaps) { - if (ns && hasSyntacticModifier(node, 32 /* Export */)) { - return getNamespaceMemberName(ns, getName(node), allowComments, allowSourceMaps); - } - return getExportName(node, allowComments, allowSourceMaps); - } - function copyPrologue(source, target, ensureUseStrict2, visitor) { - const offset = copyStandardPrologue(source, target, 0, ensureUseStrict2); - return copyCustomPrologue(source, target, offset, visitor); - } - function isUseStrictPrologue2(node) { - return isStringLiteral(node.expression) && node.expression.text === "use strict"; - } - function createUseStrictPrologue() { - return startOnNewLine(createExpressionStatement(createStringLiteral("use strict"))); - } - function copyStandardPrologue(source, target, statementOffset = 0, ensureUseStrict2) { - Debug.assert(target.length === 0, "Prologue directives should be at the first statement in the target statements array"); - let foundUseStrict = false; - const numStatements = source.length; - while (statementOffset < numStatements) { - const statement = source[statementOffset]; - if (isPrologueDirective(statement)) { - if (isUseStrictPrologue2(statement)) { - foundUseStrict = true; - } - target.push(statement); - } else { - break; - } - statementOffset++; - } - if (ensureUseStrict2 && !foundUseStrict) { - target.push(createUseStrictPrologue()); - } - return statementOffset; - } - function copyCustomPrologue(source, target, statementOffset, visitor, filter2 = returnTrue) { - const numStatements = source.length; - while (statementOffset !== void 0 && statementOffset < numStatements) { - const statement = source[statementOffset]; - if (getEmitFlags(statement) & 2097152 /* CustomPrologue */ && filter2(statement)) { - append(target, visitor ? visitNode(statement, visitor, isStatement) : statement); - } else { - break; - } - statementOffset++; - } - return statementOffset; - } - function ensureUseStrict(statements) { - const foundUseStrict = findUseStrictPrologue(statements); - if (!foundUseStrict) { - return setTextRange(createNodeArray([createUseStrictPrologue(), ...statements]), statements); - } - return statements; - } - function liftToBlock(nodes) { - Debug.assert(every(nodes, isStatementOrBlock), "Cannot lift nodes to a Block."); - return singleOrUndefined(nodes) || createBlock(nodes); - } - function findSpanEnd(array, test, start) { - let i = start; - while (i < array.length && test(array[i])) { - i++; - } - return i; - } - function mergeLexicalEnvironment(statements, declarations) { - if (!some(declarations)) { - return statements; - } - const leftStandardPrologueEnd = findSpanEnd(statements, isPrologueDirective, 0); - const leftHoistedFunctionsEnd = findSpanEnd(statements, isHoistedFunction, leftStandardPrologueEnd); - const leftHoistedVariablesEnd = findSpanEnd(statements, isHoistedVariableStatement, leftHoistedFunctionsEnd); - const rightStandardPrologueEnd = findSpanEnd(declarations, isPrologueDirective, 0); - const rightHoistedFunctionsEnd = findSpanEnd(declarations, isHoistedFunction, rightStandardPrologueEnd); - const rightHoistedVariablesEnd = findSpanEnd(declarations, isHoistedVariableStatement, rightHoistedFunctionsEnd); - const rightCustomPrologueEnd = findSpanEnd(declarations, isCustomPrologue, rightHoistedVariablesEnd); - Debug.assert(rightCustomPrologueEnd === declarations.length, "Expected declarations to be valid standard or custom prologues"); - const left = isNodeArray(statements) ? statements.slice() : statements; - if (rightCustomPrologueEnd > rightHoistedVariablesEnd) { - left.splice(leftHoistedVariablesEnd, 0, ...declarations.slice(rightHoistedVariablesEnd, rightCustomPrologueEnd)); - } - if (rightHoistedVariablesEnd > rightHoistedFunctionsEnd) { - left.splice(leftHoistedFunctionsEnd, 0, ...declarations.slice(rightHoistedFunctionsEnd, rightHoistedVariablesEnd)); - } - if (rightHoistedFunctionsEnd > rightStandardPrologueEnd) { - left.splice(leftStandardPrologueEnd, 0, ...declarations.slice(rightStandardPrologueEnd, rightHoistedFunctionsEnd)); - } - if (rightStandardPrologueEnd > 0) { - if (leftStandardPrologueEnd === 0) { - left.splice(0, 0, ...declarations.slice(0, rightStandardPrologueEnd)); - } else { - const leftPrologues = /* @__PURE__ */ new Map(); - for (let i = 0; i < leftStandardPrologueEnd; i++) { - const leftPrologue = statements[i]; - leftPrologues.set(leftPrologue.expression.text, true); - } - for (let i = rightStandardPrologueEnd - 1; i >= 0; i--) { - const rightPrologue = declarations[i]; - if (!leftPrologues.has(rightPrologue.expression.text)) { - left.unshift(rightPrologue); - } - } - } - } - if (isNodeArray(statements)) { - return setTextRange(createNodeArray(left, statements.hasTrailingComma), statements); - } - return statements; - } - function replaceModifiers(node, modifiers) { - let modifierArray; - if (typeof modifiers === "number") { - modifierArray = createModifiersFromModifierFlags(modifiers); - } else { - modifierArray = modifiers; - } - return isTypeParameterDeclaration(node) ? updateTypeParameterDeclaration(node, modifierArray, node.name, node.constraint, node.default) : isParameter(node) ? updateParameterDeclaration(node, modifierArray, node.dotDotDotToken, node.name, node.questionToken, node.type, node.initializer) : isConstructorTypeNode(node) ? updateConstructorTypeNode1(node, modifierArray, node.typeParameters, node.parameters, node.type) : isPropertySignature(node) ? updatePropertySignature(node, modifierArray, node.name, node.questionToken, node.type) : isPropertyDeclaration(node) ? updatePropertyDeclaration(node, modifierArray, node.name, node.questionToken ?? node.exclamationToken, node.type, node.initializer) : isMethodSignature(node) ? updateMethodSignature(node, modifierArray, node.name, node.questionToken, node.typeParameters, node.parameters, node.type) : isMethodDeclaration(node) ? updateMethodDeclaration(node, modifierArray, node.asteriskToken, node.name, node.questionToken, node.typeParameters, node.parameters, node.type, node.body) : isConstructorDeclaration(node) ? updateConstructorDeclaration(node, modifierArray, node.parameters, node.body) : isGetAccessorDeclaration(node) ? updateGetAccessorDeclaration(node, modifierArray, node.name, node.parameters, node.type, node.body) : isSetAccessorDeclaration(node) ? updateSetAccessorDeclaration(node, modifierArray, node.name, node.parameters, node.body) : isIndexSignatureDeclaration(node) ? updateIndexSignature(node, modifierArray, node.parameters, node.type) : isFunctionExpression(node) ? updateFunctionExpression(node, modifierArray, node.asteriskToken, node.name, node.typeParameters, node.parameters, node.type, node.body) : isArrowFunction(node) ? updateArrowFunction(node, modifierArray, node.typeParameters, node.parameters, node.type, node.equalsGreaterThanToken, node.body) : isClassExpression(node) ? updateClassExpression(node, modifierArray, node.name, node.typeParameters, node.heritageClauses, node.members) : isVariableStatement(node) ? updateVariableStatement(node, modifierArray, node.declarationList) : isFunctionDeclaration(node) ? updateFunctionDeclaration(node, modifierArray, node.asteriskToken, node.name, node.typeParameters, node.parameters, node.type, node.body) : isClassDeclaration(node) ? updateClassDeclaration(node, modifierArray, node.name, node.typeParameters, node.heritageClauses, node.members) : isInterfaceDeclaration(node) ? updateInterfaceDeclaration(node, modifierArray, node.name, node.typeParameters, node.heritageClauses, node.members) : isTypeAliasDeclaration(node) ? updateTypeAliasDeclaration(node, modifierArray, node.name, node.typeParameters, node.type) : isEnumDeclaration(node) ? updateEnumDeclaration(node, modifierArray, node.name, node.members) : isModuleDeclaration(node) ? updateModuleDeclaration(node, modifierArray, node.name, node.body) : isImportEqualsDeclaration(node) ? updateImportEqualsDeclaration(node, modifierArray, node.isTypeOnly, node.name, node.moduleReference) : isImportDeclaration(node) ? updateImportDeclaration(node, modifierArray, node.importClause, node.moduleSpecifier, node.attributes) : isExportAssignment(node) ? updateExportAssignment(node, modifierArray, node.expression) : isExportDeclaration(node) ? updateExportDeclaration(node, modifierArray, node.isTypeOnly, node.exportClause, node.moduleSpecifier, node.attributes) : Debug.assertNever(node); - } - function replaceDecoratorsAndModifiers(node, modifierArray) { - return isParameter(node) ? updateParameterDeclaration(node, modifierArray, node.dotDotDotToken, node.name, node.questionToken, node.type, node.initializer) : isPropertyDeclaration(node) ? updatePropertyDeclaration(node, modifierArray, node.name, node.questionToken ?? node.exclamationToken, node.type, node.initializer) : isMethodDeclaration(node) ? updateMethodDeclaration(node, modifierArray, node.asteriskToken, node.name, node.questionToken, node.typeParameters, node.parameters, node.type, node.body) : isGetAccessorDeclaration(node) ? updateGetAccessorDeclaration(node, modifierArray, node.name, node.parameters, node.type, node.body) : isSetAccessorDeclaration(node) ? updateSetAccessorDeclaration(node, modifierArray, node.name, node.parameters, node.body) : isClassExpression(node) ? updateClassExpression(node, modifierArray, node.name, node.typeParameters, node.heritageClauses, node.members) : isClassDeclaration(node) ? updateClassDeclaration(node, modifierArray, node.name, node.typeParameters, node.heritageClauses, node.members) : Debug.assertNever(node); - } - function replacePropertyName(node, name) { - switch (node.kind) { - case 177 /* GetAccessor */: - return updateGetAccessorDeclaration(node, node.modifiers, name, node.parameters, node.type, node.body); - case 178 /* SetAccessor */: - return updateSetAccessorDeclaration(node, node.modifiers, name, node.parameters, node.body); - case 174 /* MethodDeclaration */: - return updateMethodDeclaration(node, node.modifiers, node.asteriskToken, name, node.questionToken, node.typeParameters, node.parameters, node.type, node.body); - case 173 /* MethodSignature */: - return updateMethodSignature(node, node.modifiers, name, node.questionToken, node.typeParameters, node.parameters, node.type); - case 172 /* PropertyDeclaration */: - return updatePropertyDeclaration(node, node.modifiers, name, node.questionToken ?? node.exclamationToken, node.type, node.initializer); - case 171 /* PropertySignature */: - return updatePropertySignature(node, node.modifiers, name, node.questionToken, node.type); - case 303 /* PropertyAssignment */: - return updatePropertyAssignment(node, name, node.initializer); - } - } - function asNodeArray(array) { - return array ? createNodeArray(array) : void 0; - } - function asName(name) { - return typeof name === "string" ? createIdentifier(name) : name; - } - function asExpression(value) { - return typeof value === "string" ? createStringLiteral(value) : typeof value === "number" ? createNumericLiteral(value) : typeof value === "boolean" ? value ? createTrue() : createFalse() : value; - } - function asInitializer(node) { - return node && parenthesizerRules().parenthesizeExpressionForDisallowedComma(node); - } - function asToken(value) { - return typeof value === "number" ? createToken(value) : value; - } - function asEmbeddedStatement(statement) { - return statement && isNotEmittedStatement(statement) ? setTextRange(setOriginal(createEmptyStatement(), statement), statement) : statement; - } - function asVariableDeclaration(variableDeclaration) { - if (typeof variableDeclaration === "string" || variableDeclaration && !isVariableDeclaration(variableDeclaration)) { - return createVariableDeclaration( - variableDeclaration, - /*exclamationToken*/ - void 0, - /*type*/ - void 0, - /*initializer*/ - void 0 - ); - } - return variableDeclaration; - } - function update(updated, original) { - if (updated !== original) { - setOriginal(updated, original); - setTextRange(updated, original); - } - return updated; - } -} -function getDefaultTagNameForKind(kind) { - switch (kind) { - case 344 /* JSDocTypeTag */: - return "type"; - case 342 /* JSDocReturnTag */: - return "returns"; - case 343 /* JSDocThisTag */: - return "this"; - case 340 /* JSDocEnumTag */: - return "enum"; - case 330 /* JSDocAuthorTag */: - return "author"; - case 332 /* JSDocClassTag */: - return "class"; - case 333 /* JSDocPublicTag */: - return "public"; - case 334 /* JSDocPrivateTag */: - return "private"; - case 335 /* JSDocProtectedTag */: - return "protected"; - case 336 /* JSDocReadonlyTag */: - return "readonly"; - case 337 /* JSDocOverrideTag */: - return "override"; - case 345 /* JSDocTemplateTag */: - return "template"; - case 346 /* JSDocTypedefTag */: - return "typedef"; - case 341 /* JSDocParameterTag */: - return "param"; - case 348 /* JSDocPropertyTag */: - return "prop"; - case 338 /* JSDocCallbackTag */: - return "callback"; - case 339 /* JSDocOverloadTag */: - return "overload"; - case 328 /* JSDocAugmentsTag */: - return "augments"; - case 329 /* JSDocImplementsTag */: - return "implements"; - case 351 /* JSDocImportTag */: - return "import"; - default: - return Debug.fail(`Unsupported kind: ${Debug.formatSyntaxKind(kind)}`); - } -} -var rawTextScanner; -var invalidValueSentinel = {}; -function getCookedText(kind, rawText) { - if (!rawTextScanner) { - rawTextScanner = createScanner( - 99 /* Latest */, - /*skipTrivia*/ - false, - 0 /* Standard */ - ); - } - switch (kind) { - case 15 /* NoSubstitutionTemplateLiteral */: - rawTextScanner.setText("`" + rawText + "`"); - break; - case 16 /* TemplateHead */: - rawTextScanner.setText("`" + rawText + "${"); - break; - case 17 /* TemplateMiddle */: - rawTextScanner.setText("}" + rawText + "${"); - break; - case 18 /* TemplateTail */: - rawTextScanner.setText("}" + rawText + "`"); - break; - } - let token = rawTextScanner.scan(); - if (token === 20 /* CloseBraceToken */) { - token = rawTextScanner.reScanTemplateToken( - /*isTaggedTemplate*/ - false - ); - } - if (rawTextScanner.isUnterminated()) { - rawTextScanner.setText(void 0); - return invalidValueSentinel; - } - let tokenValue; - switch (token) { - case 15 /* NoSubstitutionTemplateLiteral */: - case 16 /* TemplateHead */: - case 17 /* TemplateMiddle */: - case 18 /* TemplateTail */: - tokenValue = rawTextScanner.getTokenValue(); - break; - } - if (tokenValue === void 0 || rawTextScanner.scan() !== 1 /* EndOfFileToken */) { - rawTextScanner.setText(void 0); - return invalidValueSentinel; - } - rawTextScanner.setText(void 0); - return tokenValue; -} -function propagateNameFlags(node) { - return node && isIdentifier(node) ? propagateIdentifierNameFlags(node) : propagateChildFlags(node); -} -function propagateIdentifierNameFlags(node) { - return propagateChildFlags(node) & ~67108864 /* ContainsPossibleTopLevelAwait */; -} -function propagatePropertyNameFlagsOfChild(node, transformFlags) { - return transformFlags | node.transformFlags & 134234112 /* PropertyNamePropagatingFlags */; -} -function propagateChildFlags(child) { - if (!child) return 0 /* None */; - const childFlags = child.transformFlags & ~getTransformFlagsSubtreeExclusions(child.kind); - return isNamedDeclaration(child) && isPropertyName(child.name) ? propagatePropertyNameFlagsOfChild(child.name, childFlags) : childFlags; -} -function propagateChildrenFlags(children) { - return children ? children.transformFlags : 0 /* None */; -} -function aggregateChildrenFlags(children) { - let subtreeFlags = 0 /* None */; - for (const child of children) { - subtreeFlags |= propagateChildFlags(child); - } - children.transformFlags = subtreeFlags; -} -function getTransformFlagsSubtreeExclusions(kind) { - if (kind >= 182 /* FirstTypeNode */ && kind <= 205 /* LastTypeNode */) { - return -2 /* TypeExcludes */; - } - switch (kind) { - case 213 /* CallExpression */: - case 214 /* NewExpression */: - case 209 /* ArrayLiteralExpression */: - return -2147450880 /* ArrayLiteralOrCallOrNewExcludes */; - case 267 /* ModuleDeclaration */: - return -1941676032 /* ModuleExcludes */; - case 169 /* Parameter */: - return -2147483648 /* ParameterExcludes */; - case 219 /* ArrowFunction */: - return -2072174592 /* ArrowFunctionExcludes */; - case 218 /* FunctionExpression */: - case 262 /* FunctionDeclaration */: - return -1937940480 /* FunctionExcludes */; - case 261 /* VariableDeclarationList */: - return -2146893824 /* VariableDeclarationListExcludes */; - case 263 /* ClassDeclaration */: - case 231 /* ClassExpression */: - return -2147344384 /* ClassExcludes */; - case 176 /* Constructor */: - return -1937948672 /* ConstructorExcludes */; - case 172 /* PropertyDeclaration */: - return -2013249536 /* PropertyExcludes */; - case 174 /* MethodDeclaration */: - case 177 /* GetAccessor */: - case 178 /* SetAccessor */: - return -2005057536 /* MethodOrAccessorExcludes */; - case 133 /* AnyKeyword */: - case 150 /* NumberKeyword */: - case 163 /* BigIntKeyword */: - case 146 /* NeverKeyword */: - case 154 /* StringKeyword */: - case 151 /* ObjectKeyword */: - case 136 /* BooleanKeyword */: - case 155 /* SymbolKeyword */: - case 116 /* VoidKeyword */: - case 168 /* TypeParameter */: - case 171 /* PropertySignature */: - case 173 /* MethodSignature */: - case 179 /* CallSignature */: - case 180 /* ConstructSignature */: - case 181 /* IndexSignature */: - case 264 /* InterfaceDeclaration */: - case 265 /* TypeAliasDeclaration */: - return -2 /* TypeExcludes */; - case 210 /* ObjectLiteralExpression */: - return -2147278848 /* ObjectLiteralExcludes */; - case 299 /* CatchClause */: - return -2147418112 /* CatchClauseExcludes */; - case 206 /* ObjectBindingPattern */: - case 207 /* ArrayBindingPattern */: - return -2147450880 /* BindingPatternExcludes */; - case 216 /* TypeAssertionExpression */: - case 238 /* SatisfiesExpression */: - case 234 /* AsExpression */: - case 354 /* PartiallyEmittedExpression */: - case 217 /* ParenthesizedExpression */: - case 108 /* SuperKeyword */: - return -2147483648 /* OuterExpressionExcludes */; - case 211 /* PropertyAccessExpression */: - case 212 /* ElementAccessExpression */: - return -2147483648 /* PropertyAccessExcludes */; - default: - return -2147483648 /* NodeExcludes */; - } -} -var baseFactory = createBaseNodeFactory(); -function makeSynthetic(node) { - node.flags |= 16 /* Synthesized */; - return node; -} -var syntheticFactory = { - createBaseSourceFileNode: (kind) => makeSynthetic(baseFactory.createBaseSourceFileNode(kind)), - createBaseIdentifierNode: (kind) => makeSynthetic(baseFactory.createBaseIdentifierNode(kind)), - createBasePrivateIdentifierNode: (kind) => makeSynthetic(baseFactory.createBasePrivateIdentifierNode(kind)), - createBaseTokenNode: (kind) => makeSynthetic(baseFactory.createBaseTokenNode(kind)), - createBaseNode: (kind) => makeSynthetic(baseFactory.createBaseNode(kind)) -}; -var factory = createNodeFactory(4 /* NoIndentationOnFreshPropertyAccess */, syntheticFactory); -function setOriginalNode(node, original) { - if (node.original !== original) { - node.original = original; - if (original) { - const emitNode = original.emitNode; - if (emitNode) node.emitNode = mergeEmitNode(emitNode, node.emitNode); - } - } - return node; -} -function mergeEmitNode(sourceEmitNode, destEmitNode) { - const { - flags, - internalFlags, - leadingComments, - trailingComments, - commentRange, - sourceMapRange, - tokenSourceMapRanges, - constantValue, - helpers, - startsOnNewLine, - snippetElement, - classThis, - assignedName - } = sourceEmitNode; - if (!destEmitNode) destEmitNode = {}; - if (flags) { - destEmitNode.flags = flags; - } - if (internalFlags) { - destEmitNode.internalFlags = internalFlags & ~8 /* Immutable */; - } - if (leadingComments) { - destEmitNode.leadingComments = addRange(leadingComments.slice(), destEmitNode.leadingComments); - } - if (trailingComments) { - destEmitNode.trailingComments = addRange(trailingComments.slice(), destEmitNode.trailingComments); - } - if (commentRange) { - destEmitNode.commentRange = commentRange; - } - if (sourceMapRange) { - destEmitNode.sourceMapRange = sourceMapRange; - } - if (tokenSourceMapRanges) { - destEmitNode.tokenSourceMapRanges = mergeTokenSourceMapRanges(tokenSourceMapRanges, destEmitNode.tokenSourceMapRanges); - } - if (constantValue !== void 0) { - destEmitNode.constantValue = constantValue; - } - if (helpers) { - for (const helper of helpers) { - destEmitNode.helpers = appendIfUnique(destEmitNode.helpers, helper); - } - } - if (startsOnNewLine !== void 0) { - destEmitNode.startsOnNewLine = startsOnNewLine; - } - if (snippetElement !== void 0) { - destEmitNode.snippetElement = snippetElement; - } - if (classThis) { - destEmitNode.classThis = classThis; - } - if (assignedName) { - destEmitNode.assignedName = assignedName; - } - return destEmitNode; -} -function mergeTokenSourceMapRanges(sourceRanges, destRanges) { - if (!destRanges) destRanges = []; - for (const key in sourceRanges) { - destRanges[key] = sourceRanges[key]; - } - return destRanges; -} - -// src/compiler/factory/emitNode.ts -function getOrCreateEmitNode(node) { - if (!node.emitNode) { - if (isParseTreeNode(node)) { - if (node.kind === 307 /* SourceFile */) { - return node.emitNode = { annotatedNodes: [node] }; - } - const sourceFile = getSourceFileOfNode(getParseTreeNode(getSourceFileOfNode(node))) ?? Debug.fail("Could not determine parsed source file."); - getOrCreateEmitNode(sourceFile).annotatedNodes.push(node); - } - node.emitNode = {}; - } else { - Debug.assert(!(node.emitNode.internalFlags & 8 /* Immutable */), "Invalid attempt to mutate an immutable node."); - } - return node.emitNode; -} -function disposeEmitNodes(sourceFile) { - var _a, _b; - const annotatedNodes = (_b = (_a = getSourceFileOfNode(getParseTreeNode(sourceFile))) == null ? void 0 : _a.emitNode) == null ? void 0 : _b.annotatedNodes; - if (annotatedNodes) { - for (const node of annotatedNodes) { - node.emitNode = void 0; - } - } -} -function removeAllComments(node) { - const emitNode = getOrCreateEmitNode(node); - emitNode.flags |= 3072 /* NoComments */; - emitNode.leadingComments = void 0; - emitNode.trailingComments = void 0; - return node; -} -function setEmitFlags(node, emitFlags) { - getOrCreateEmitNode(node).flags = emitFlags; - return node; -} -function addEmitFlags(node, emitFlags) { - const emitNode = getOrCreateEmitNode(node); - emitNode.flags = emitNode.flags | emitFlags; - return node; -} -function setInternalEmitFlags(node, emitFlags) { - getOrCreateEmitNode(node).internalFlags = emitFlags; - return node; -} -function addInternalEmitFlags(node, emitFlags) { - const emitNode = getOrCreateEmitNode(node); - emitNode.internalFlags = emitNode.internalFlags | emitFlags; - return node; -} -function getSourceMapRange(node) { - var _a; - return ((_a = node.emitNode) == null ? void 0 : _a.sourceMapRange) ?? node; -} -function setSourceMapRange(node, range) { - getOrCreateEmitNode(node).sourceMapRange = range; - return node; -} -function setTokenSourceMapRange(node, token, range) { - const emitNode = getOrCreateEmitNode(node); - const tokenSourceMapRanges = emitNode.tokenSourceMapRanges ?? (emitNode.tokenSourceMapRanges = []); - tokenSourceMapRanges[token] = range; - return node; -} -function getStartsOnNewLine(node) { - var _a; - return (_a = node.emitNode) == null ? void 0 : _a.startsOnNewLine; -} -function setStartsOnNewLine(node, newLine) { - getOrCreateEmitNode(node).startsOnNewLine = newLine; - return node; -} -function getCommentRange(node) { - var _a; - return ((_a = node.emitNode) == null ? void 0 : _a.commentRange) ?? node; -} -function setCommentRange(node, range) { - getOrCreateEmitNode(node).commentRange = range; - return node; -} -function getSyntheticLeadingComments(node) { - var _a; - return (_a = node.emitNode) == null ? void 0 : _a.leadingComments; -} -function setSyntheticLeadingComments(node, comments) { - getOrCreateEmitNode(node).leadingComments = comments; - return node; -} -function addSyntheticLeadingComment(node, kind, text, hasTrailingNewLine) { - return setSyntheticLeadingComments(node, append(getSyntheticLeadingComments(node), { kind, pos: -1, end: -1, hasTrailingNewLine, text })); -} -function getSyntheticTrailingComments(node) { - var _a; - return (_a = node.emitNode) == null ? void 0 : _a.trailingComments; -} -function setSyntheticTrailingComments(node, comments) { - getOrCreateEmitNode(node).trailingComments = comments; - return node; -} -function addSyntheticTrailingComment(node, kind, text, hasTrailingNewLine) { - return setSyntheticTrailingComments(node, append(getSyntheticTrailingComments(node), { kind, pos: -1, end: -1, hasTrailingNewLine, text })); -} -function moveSyntheticComments(node, original) { - setSyntheticLeadingComments(node, getSyntheticLeadingComments(original)); - setSyntheticTrailingComments(node, getSyntheticTrailingComments(original)); - const emit = getOrCreateEmitNode(original); - emit.leadingComments = void 0; - emit.trailingComments = void 0; - return node; -} -function getConstantValue(node) { - var _a; - return (_a = node.emitNode) == null ? void 0 : _a.constantValue; -} -function setConstantValue(node, value) { - const emitNode = getOrCreateEmitNode(node); - emitNode.constantValue = value; - return node; -} -function addEmitHelper(node, helper) { - const emitNode = getOrCreateEmitNode(node); - emitNode.helpers = append(emitNode.helpers, helper); - return node; -} -function addEmitHelpers(node, helpers) { - if (some(helpers)) { - const emitNode = getOrCreateEmitNode(node); - for (const helper of helpers) { - emitNode.helpers = appendIfUnique(emitNode.helpers, helper); - } - } - return node; -} -function getEmitHelpers(node) { - var _a; - return (_a = node.emitNode) == null ? void 0 : _a.helpers; -} -function moveEmitHelpers(source, target, predicate) { - const sourceEmitNode = source.emitNode; - const sourceEmitHelpers = sourceEmitNode && sourceEmitNode.helpers; - if (!some(sourceEmitHelpers)) return; - const targetEmitNode = getOrCreateEmitNode(target); - let helpersRemoved = 0; - for (let i = 0; i < sourceEmitHelpers.length; i++) { - const helper = sourceEmitHelpers[i]; - if (predicate(helper)) { - helpersRemoved++; - targetEmitNode.helpers = appendIfUnique(targetEmitNode.helpers, helper); - } else if (helpersRemoved > 0) { - sourceEmitHelpers[i - helpersRemoved] = helper; - } - } - if (helpersRemoved > 0) { - sourceEmitHelpers.length -= helpersRemoved; - } -} -function getSnippetElement(node) { - var _a; - return (_a = node.emitNode) == null ? void 0 : _a.snippetElement; -} -function setTypeNode(node, type) { - const emitNode = getOrCreateEmitNode(node); - emitNode.typeNode = type; - return node; -} -function getTypeNode(node) { - var _a; - return (_a = node.emitNode) == null ? void 0 : _a.typeNode; -} -function setIdentifierTypeArguments(node, typeArguments) { - getOrCreateEmitNode(node).identifierTypeArguments = typeArguments; - return node; -} -function getIdentifierTypeArguments(node) { - var _a; - return (_a = node.emitNode) == null ? void 0 : _a.identifierTypeArguments; -} -function setIdentifierAutoGenerate(node, autoGenerate) { - getOrCreateEmitNode(node).autoGenerate = autoGenerate; - return node; -} -function setIdentifierGeneratedImportReference(node, value) { - getOrCreateEmitNode(node).generatedImportReference = value; - return node; -} -function getIdentifierGeneratedImportReference(node) { - var _a; - return (_a = node.emitNode) == null ? void 0 : _a.generatedImportReference; -} - -// src/compiler/factory/emitHelpers.ts -function createEmitHelperFactory(context) { - const factory2 = context.factory; - const immutableTrue = memoize(() => setInternalEmitFlags(factory2.createTrue(), 8 /* Immutable */)); - const immutableFalse = memoize(() => setInternalEmitFlags(factory2.createFalse(), 8 /* Immutable */)); - return { - getUnscopedHelperName, - // TypeScript Helpers - createDecorateHelper, - createMetadataHelper, - createParamHelper, - // ES Decorators Helpers - createESDecorateHelper, - createRunInitializersHelper, - // ES2018 Helpers - createAssignHelper, - createAwaitHelper, - createAsyncGeneratorHelper, - createAsyncDelegatorHelper, - createAsyncValuesHelper, - // ES2018 Destructuring Helpers - createRestHelper, - // ES2017 Helpers - createAwaiterHelper, - // ES2015 Helpers - createExtendsHelper, - createTemplateObjectHelper, - createSpreadArrayHelper, - createPropKeyHelper, - createSetFunctionNameHelper, - // ES2015 Destructuring Helpers - createValuesHelper, - createReadHelper, - // ES2015 Generator Helpers - createGeneratorHelper, - // ES Module Helpers - createImportStarHelper, - createImportStarCallbackHelper, - createImportDefaultHelper, - createExportStarHelper, - // Class Fields Helpers - createClassPrivateFieldGetHelper, - createClassPrivateFieldSetHelper, - createClassPrivateFieldInHelper, - // 'using' helpers - createAddDisposableResourceHelper, - createDisposeResourcesHelper - }; - function getUnscopedHelperName(name) { - return setEmitFlags(factory2.createIdentifier(name), 8192 /* HelperName */ | 4 /* AdviseOnEmitNode */); - } - function createDecorateHelper(decoratorExpressions, target, memberName, descriptor) { - context.requestEmitHelper(decorateHelper); - const argumentsArray = []; - argumentsArray.push(factory2.createArrayLiteralExpression( - decoratorExpressions, - /*multiLine*/ - true - )); - argumentsArray.push(target); - if (memberName) { - argumentsArray.push(memberName); - if (descriptor) { - argumentsArray.push(descriptor); - } - } - return factory2.createCallExpression( - getUnscopedHelperName("__decorate"), - /*typeArguments*/ - void 0, - argumentsArray - ); - } - function createMetadataHelper(metadataKey, metadataValue) { - context.requestEmitHelper(metadataHelper); - return factory2.createCallExpression( - getUnscopedHelperName("__metadata"), - /*typeArguments*/ - void 0, - [ - factory2.createStringLiteral(metadataKey), - metadataValue - ] - ); - } - function createParamHelper(expression, parameterOffset, location) { - context.requestEmitHelper(paramHelper); - return setTextRange( - factory2.createCallExpression( - getUnscopedHelperName("__param"), - /*typeArguments*/ - void 0, - [ - factory2.createNumericLiteral(parameterOffset + ""), - expression - ] - ), - location - ); - } - function createESDecorateClassContextObject(contextIn) { - const properties = [ - factory2.createPropertyAssignment(factory2.createIdentifier("kind"), factory2.createStringLiteral("class")), - factory2.createPropertyAssignment(factory2.createIdentifier("name"), contextIn.name), - factory2.createPropertyAssignment(factory2.createIdentifier("metadata"), contextIn.metadata) - ]; - return factory2.createObjectLiteralExpression(properties); - } - function createESDecorateClassElementAccessGetMethod(elementName) { - const accessor = elementName.computed ? factory2.createElementAccessExpression(factory2.createIdentifier("obj"), elementName.name) : factory2.createPropertyAccessExpression(factory2.createIdentifier("obj"), elementName.name); - return factory2.createPropertyAssignment( - "get", - factory2.createArrowFunction( - /*modifiers*/ - void 0, - /*typeParameters*/ - void 0, - [factory2.createParameterDeclaration( - /*modifiers*/ - void 0, - /*dotDotDotToken*/ - void 0, - factory2.createIdentifier("obj") - )], - /*type*/ - void 0, - /*equalsGreaterThanToken*/ - void 0, - accessor - ) - ); - } - function createESDecorateClassElementAccessSetMethod(elementName) { - const accessor = elementName.computed ? factory2.createElementAccessExpression(factory2.createIdentifier("obj"), elementName.name) : factory2.createPropertyAccessExpression(factory2.createIdentifier("obj"), elementName.name); - return factory2.createPropertyAssignment( - "set", - factory2.createArrowFunction( - /*modifiers*/ - void 0, - /*typeParameters*/ - void 0, - [ - factory2.createParameterDeclaration( - /*modifiers*/ - void 0, - /*dotDotDotToken*/ - void 0, - factory2.createIdentifier("obj") - ), - factory2.createParameterDeclaration( - /*modifiers*/ - void 0, - /*dotDotDotToken*/ - void 0, - factory2.createIdentifier("value") - ) - ], - /*type*/ - void 0, - /*equalsGreaterThanToken*/ - void 0, - factory2.createBlock([ - factory2.createExpressionStatement( - factory2.createAssignment( - accessor, - factory2.createIdentifier("value") - ) - ) - ]) - ) - ); - } - function createESDecorateClassElementAccessHasMethod(elementName) { - const propertyName = elementName.computed ? elementName.name : isIdentifier(elementName.name) ? factory2.createStringLiteralFromNode(elementName.name) : elementName.name; - return factory2.createPropertyAssignment( - "has", - factory2.createArrowFunction( - /*modifiers*/ - void 0, - /*typeParameters*/ - void 0, - [factory2.createParameterDeclaration( - /*modifiers*/ - void 0, - /*dotDotDotToken*/ - void 0, - factory2.createIdentifier("obj") - )], - /*type*/ - void 0, - /*equalsGreaterThanToken*/ - void 0, - factory2.createBinaryExpression( - propertyName, - 103 /* InKeyword */, - factory2.createIdentifier("obj") - ) - ) - ); - } - function createESDecorateClassElementAccessObject(name, access) { - const properties = []; - properties.push(createESDecorateClassElementAccessHasMethod(name)); - if (access.get) properties.push(createESDecorateClassElementAccessGetMethod(name)); - if (access.set) properties.push(createESDecorateClassElementAccessSetMethod(name)); - return factory2.createObjectLiteralExpression(properties); - } - function createESDecorateClassElementContextObject(contextIn) { - const properties = [ - factory2.createPropertyAssignment(factory2.createIdentifier("kind"), factory2.createStringLiteral(contextIn.kind)), - factory2.createPropertyAssignment(factory2.createIdentifier("name"), contextIn.name.computed ? contextIn.name.name : factory2.createStringLiteralFromNode(contextIn.name.name)), - factory2.createPropertyAssignment(factory2.createIdentifier("static"), contextIn.static ? factory2.createTrue() : factory2.createFalse()), - factory2.createPropertyAssignment(factory2.createIdentifier("private"), contextIn.private ? factory2.createTrue() : factory2.createFalse()), - factory2.createPropertyAssignment(factory2.createIdentifier("access"), createESDecorateClassElementAccessObject(contextIn.name, contextIn.access)), - factory2.createPropertyAssignment(factory2.createIdentifier("metadata"), contextIn.metadata) - ]; - return factory2.createObjectLiteralExpression(properties); - } - function createESDecorateContextObject(contextIn) { - return contextIn.kind === "class" ? createESDecorateClassContextObject(contextIn) : createESDecorateClassElementContextObject(contextIn); - } - function createESDecorateHelper(ctor, descriptorIn, decorators, contextIn, initializers, extraInitializers) { - context.requestEmitHelper(esDecorateHelper); - return factory2.createCallExpression( - getUnscopedHelperName("__esDecorate"), - /*typeArguments*/ - void 0, - [ - ctor ?? factory2.createNull(), - descriptorIn ?? factory2.createNull(), - decorators, - createESDecorateContextObject(contextIn), - initializers, - extraInitializers - ] - ); - } - function createRunInitializersHelper(thisArg, initializers, value) { - context.requestEmitHelper(runInitializersHelper); - return factory2.createCallExpression( - getUnscopedHelperName("__runInitializers"), - /*typeArguments*/ - void 0, - value ? [thisArg, initializers, value] : [thisArg, initializers] - ); - } - function createAssignHelper(attributesSegments) { - if (getEmitScriptTarget(context.getCompilerOptions()) >= 2 /* ES2015 */) { - return factory2.createCallExpression( - factory2.createPropertyAccessExpression(factory2.createIdentifier("Object"), "assign"), - /*typeArguments*/ - void 0, - attributesSegments - ); - } - context.requestEmitHelper(assignHelper); - return factory2.createCallExpression( - getUnscopedHelperName("__assign"), - /*typeArguments*/ - void 0, - attributesSegments - ); - } - function createAwaitHelper(expression) { - context.requestEmitHelper(awaitHelper); - return factory2.createCallExpression( - getUnscopedHelperName("__await"), - /*typeArguments*/ - void 0, - [expression] - ); - } - function createAsyncGeneratorHelper(generatorFunc, hasLexicalThis) { - context.requestEmitHelper(awaitHelper); - context.requestEmitHelper(asyncGeneratorHelper); - (generatorFunc.emitNode || (generatorFunc.emitNode = {})).flags |= 524288 /* AsyncFunctionBody */ | 1048576 /* ReuseTempVariableScope */; - return factory2.createCallExpression( - getUnscopedHelperName("__asyncGenerator"), - /*typeArguments*/ - void 0, - [ - hasLexicalThis ? factory2.createThis() : factory2.createVoidZero(), - factory2.createIdentifier("arguments"), - generatorFunc - ] - ); - } - function createAsyncDelegatorHelper(expression) { - context.requestEmitHelper(awaitHelper); - context.requestEmitHelper(asyncDelegator); - return factory2.createCallExpression( - getUnscopedHelperName("__asyncDelegator"), - /*typeArguments*/ - void 0, - [expression] - ); - } - function createAsyncValuesHelper(expression) { - context.requestEmitHelper(asyncValues); - return factory2.createCallExpression( - getUnscopedHelperName("__asyncValues"), - /*typeArguments*/ - void 0, - [expression] - ); - } - function createRestHelper(value, elements, computedTempVariables, location) { - context.requestEmitHelper(restHelper); - const propertyNames = []; - let computedTempVariableOffset = 0; - for (let i = 0; i < elements.length - 1; i++) { - const propertyName = getPropertyNameOfBindingOrAssignmentElement(elements[i]); - if (propertyName) { - if (isComputedPropertyName(propertyName)) { - Debug.assertIsDefined(computedTempVariables, "Encountered computed property name but 'computedTempVariables' argument was not provided."); - const temp = computedTempVariables[computedTempVariableOffset]; - computedTempVariableOffset++; - propertyNames.push( - factory2.createConditionalExpression( - factory2.createTypeCheck(temp, "symbol"), - /*questionToken*/ - void 0, - temp, - /*colonToken*/ - void 0, - factory2.createAdd(temp, factory2.createStringLiteral("")) - ) - ); - } else { - propertyNames.push(factory2.createStringLiteralFromNode(propertyName)); - } - } - } - return factory2.createCallExpression( - getUnscopedHelperName("__rest"), - /*typeArguments*/ - void 0, - [ - value, - setTextRange( - factory2.createArrayLiteralExpression(propertyNames), - location - ) - ] - ); - } - function createAwaiterHelper(hasLexicalThis, argumentsExpression, promiseConstructor, parameters, body) { - context.requestEmitHelper(awaiterHelper); - const generatorFunc = factory2.createFunctionExpression( - /*modifiers*/ - void 0, - factory2.createToken(42 /* AsteriskToken */), - /*name*/ - void 0, - /*typeParameters*/ - void 0, - parameters ?? [], - /*type*/ - void 0, - body - ); - (generatorFunc.emitNode || (generatorFunc.emitNode = {})).flags |= 524288 /* AsyncFunctionBody */ | 1048576 /* ReuseTempVariableScope */; - return factory2.createCallExpression( - getUnscopedHelperName("__awaiter"), - /*typeArguments*/ - void 0, - [ - hasLexicalThis ? factory2.createThis() : factory2.createVoidZero(), - argumentsExpression ?? factory2.createVoidZero(), - promiseConstructor ? createExpressionFromEntityName(factory2, promiseConstructor) : factory2.createVoidZero(), - generatorFunc - ] - ); - } - function createExtendsHelper(name) { - context.requestEmitHelper(extendsHelper); - return factory2.createCallExpression( - getUnscopedHelperName("__extends"), - /*typeArguments*/ - void 0, - [name, factory2.createUniqueName("_super", 16 /* Optimistic */ | 32 /* FileLevel */)] - ); - } - function createTemplateObjectHelper(cooked, raw) { - context.requestEmitHelper(templateObjectHelper); - return factory2.createCallExpression( - getUnscopedHelperName("__makeTemplateObject"), - /*typeArguments*/ - void 0, - [cooked, raw] - ); - } - function createSpreadArrayHelper(to, from, packFrom) { - context.requestEmitHelper(spreadArrayHelper); - return factory2.createCallExpression( - getUnscopedHelperName("__spreadArray"), - /*typeArguments*/ - void 0, - [to, from, packFrom ? immutableTrue() : immutableFalse()] - ); - } - function createPropKeyHelper(expr) { - context.requestEmitHelper(propKeyHelper); - return factory2.createCallExpression( - getUnscopedHelperName("__propKey"), - /*typeArguments*/ - void 0, - [expr] - ); - } - function createSetFunctionNameHelper(f, name, prefix) { - context.requestEmitHelper(setFunctionNameHelper); - return context.factory.createCallExpression( - getUnscopedHelperName("__setFunctionName"), - /*typeArguments*/ - void 0, - prefix ? [f, name, context.factory.createStringLiteral(prefix)] : [f, name] - ); - } - function createValuesHelper(expression) { - context.requestEmitHelper(valuesHelper); - return factory2.createCallExpression( - getUnscopedHelperName("__values"), - /*typeArguments*/ - void 0, - [expression] - ); - } - function createReadHelper(iteratorRecord, count) { - context.requestEmitHelper(readHelper); - return factory2.createCallExpression( - getUnscopedHelperName("__read"), - /*typeArguments*/ - void 0, - count !== void 0 ? [iteratorRecord, factory2.createNumericLiteral(count + "")] : [iteratorRecord] - ); - } - function createGeneratorHelper(body) { - context.requestEmitHelper(generatorHelper); - return factory2.createCallExpression( - getUnscopedHelperName("__generator"), - /*typeArguments*/ - void 0, - [factory2.createThis(), body] - ); - } - function createImportStarHelper(expression) { - context.requestEmitHelper(importStarHelper); - return factory2.createCallExpression( - getUnscopedHelperName("__importStar"), - /*typeArguments*/ - void 0, - [expression] - ); - } - function createImportStarCallbackHelper() { - context.requestEmitHelper(importStarHelper); - return getUnscopedHelperName("__importStar"); - } - function createImportDefaultHelper(expression) { - context.requestEmitHelper(importDefaultHelper); - return factory2.createCallExpression( - getUnscopedHelperName("__importDefault"), - /*typeArguments*/ - void 0, - [expression] - ); - } - function createExportStarHelper(moduleExpression, exportsExpression = factory2.createIdentifier("exports")) { - context.requestEmitHelper(exportStarHelper); - context.requestEmitHelper(createBindingHelper); - return factory2.createCallExpression( - getUnscopedHelperName("__exportStar"), - /*typeArguments*/ - void 0, - [moduleExpression, exportsExpression] - ); - } - function createClassPrivateFieldGetHelper(receiver, state, kind, f) { - context.requestEmitHelper(classPrivateFieldGetHelper); - let args; - if (!f) { - args = [receiver, state, factory2.createStringLiteral(kind)]; - } else { - args = [receiver, state, factory2.createStringLiteral(kind), f]; - } - return factory2.createCallExpression( - getUnscopedHelperName("__classPrivateFieldGet"), - /*typeArguments*/ - void 0, - args - ); - } - function createClassPrivateFieldSetHelper(receiver, state, value, kind, f) { - context.requestEmitHelper(classPrivateFieldSetHelper); - let args; - if (!f) { - args = [receiver, state, value, factory2.createStringLiteral(kind)]; - } else { - args = [receiver, state, value, factory2.createStringLiteral(kind), f]; - } - return factory2.createCallExpression( - getUnscopedHelperName("__classPrivateFieldSet"), - /*typeArguments*/ - void 0, - args - ); - } - function createClassPrivateFieldInHelper(state, receiver) { - context.requestEmitHelper(classPrivateFieldInHelper); - return factory2.createCallExpression( - getUnscopedHelperName("__classPrivateFieldIn"), - /*typeArguments*/ - void 0, - [state, receiver] - ); - } - function createAddDisposableResourceHelper(envBinding, value, async) { - context.requestEmitHelper(addDisposableResourceHelper); - return factory2.createCallExpression( - getUnscopedHelperName("__addDisposableResource"), - /*typeArguments*/ - void 0, - [envBinding, value, async ? factory2.createTrue() : factory2.createFalse()] - ); - } - function createDisposeResourcesHelper(envBinding) { - context.requestEmitHelper(disposeResourcesHelper); - return factory2.createCallExpression( - getUnscopedHelperName("__disposeResources"), - /*typeArguments*/ - void 0, - [envBinding] - ); - } -} -function compareEmitHelpers(x, y) { - if (x === y) return 0 /* EqualTo */; - if (x.priority === y.priority) return 0 /* EqualTo */; - if (x.priority === void 0) return 1 /* GreaterThan */; - if (y.priority === void 0) return -1 /* LessThan */; - return compareValues(x.priority, y.priority); -} -function helperString(input, ...args) { - return (uniqueName) => { - let result = ""; - for (let i = 0; i < args.length; i++) { - result += input[i]; - result += uniqueName(args[i]); - } - result += input[input.length - 1]; - return result; - }; -} -var decorateHelper = { - name: "typescript:decorate", - importName: "__decorate", - scoped: false, - priority: 2, - text: ` - var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { - var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; - if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); - 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; - return c > 3 && r && Object.defineProperty(target, key, r), r; - };` -}; -var metadataHelper = { - name: "typescript:metadata", - importName: "__metadata", - scoped: false, - priority: 3, - text: ` - var __metadata = (this && this.__metadata) || function (k, v) { - if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); - };` -}; -var paramHelper = { - name: "typescript:param", - importName: "__param", - scoped: false, - priority: 4, - text: ` - var __param = (this && this.__param) || function (paramIndex, decorator) { - return function (target, key) { decorator(target, key, paramIndex); } - };` -}; -var esDecorateHelper = { - name: "typescript:esDecorate", - importName: "__esDecorate", - scoped: false, - priority: 2, - text: ` - var __esDecorate = (this && this.__esDecorate) || function (ctor, descriptorIn, decorators, contextIn, initializers, extraInitializers) { - function accept(f) { if (f !== void 0 && typeof f !== "function") throw new TypeError("Function expected"); return f; } - var kind = contextIn.kind, key = kind === "getter" ? "get" : kind === "setter" ? "set" : "value"; - var target = !descriptorIn && ctor ? contextIn["static"] ? ctor : ctor.prototype : null; - var descriptor = descriptorIn || (target ? Object.getOwnPropertyDescriptor(target, contextIn.name) : {}); - var _, done = false; - for (var i = decorators.length - 1; i >= 0; i--) { - var context = {}; - for (var p in contextIn) context[p] = p === "access" ? {} : contextIn[p]; - for (var p in contextIn.access) context.access[p] = contextIn.access[p]; - context.addInitializer = function (f) { if (done) throw new TypeError("Cannot add initializers after decoration has completed"); extraInitializers.push(accept(f || null)); }; - var result = (0, decorators[i])(kind === "accessor" ? { get: descriptor.get, set: descriptor.set } : descriptor[key], context); - if (kind === "accessor") { - if (result === void 0) continue; - if (result === null || typeof result !== "object") throw new TypeError("Object expected"); - if (_ = accept(result.get)) descriptor.get = _; - if (_ = accept(result.set)) descriptor.set = _; - if (_ = accept(result.init)) initializers.unshift(_); - } - else if (_ = accept(result)) { - if (kind === "field") initializers.unshift(_); - else descriptor[key] = _; - } - } - if (target) Object.defineProperty(target, contextIn.name, descriptor); - done = true; - };` -}; -var runInitializersHelper = { - name: "typescript:runInitializers", - importName: "__runInitializers", - scoped: false, - priority: 2, - text: ` - var __runInitializers = (this && this.__runInitializers) || function (thisArg, initializers, value) { - var useValue = arguments.length > 2; - for (var i = 0; i < initializers.length; i++) { - value = useValue ? initializers[i].call(thisArg, value) : initializers[i].call(thisArg); - } - return useValue ? value : void 0; - };` -}; -var assignHelper = { - name: "typescript:assign", - importName: "__assign", - scoped: false, - priority: 1, - text: ` - var __assign = (this && this.__assign) || function () { - __assign = Object.assign || function(t) { - for (var s, i = 1, n = arguments.length; i < n; i++) { - s = arguments[i]; - for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) - t[p] = s[p]; - } - return t; - }; - return __assign.apply(this, arguments); - };` -}; -var awaitHelper = { - name: "typescript:await", - importName: "__await", - scoped: false, - text: ` - var __await = (this && this.__await) || function (v) { return this instanceof __await ? (this.v = v, this) : new __await(v); }` -}; -var asyncGeneratorHelper = { - name: "typescript:asyncGenerator", - importName: "__asyncGenerator", - scoped: false, - dependencies: [awaitHelper], - text: ` - var __asyncGenerator = (this && this.__asyncGenerator) || function (thisArg, _arguments, generator) { - if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined."); - var g = generator.apply(thisArg, _arguments || []), i, q = []; - return i = Object.create((typeof AsyncIterator === "function" ? AsyncIterator : Object).prototype), verb("next"), verb("throw"), verb("return", awaitReturn), i[Symbol.asyncIterator] = function () { return this; }, i; - function awaitReturn(f) { return function (v) { return Promise.resolve(v).then(f, reject); }; } - function verb(n, f) { if (g[n]) { i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; if (f) i[n] = f(i[n]); } } - function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } } - function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); } - function fulfill(value) { resume("next", value); } - function reject(value) { resume("throw", value); } - function settle(f, v) { if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]); } - };` -}; -var asyncDelegator = { - name: "typescript:asyncDelegator", - importName: "__asyncDelegator", - scoped: false, - dependencies: [awaitHelper], - text: ` - var __asyncDelegator = (this && this.__asyncDelegator) || function (o) { - var i, p; - return i = {}, verb("next"), verb("throw", function (e) { throw e; }), verb("return"), i[Symbol.iterator] = function () { return this; }, i; - function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: false } : f ? f(v) : v; } : f; } - };` -}; -var asyncValues = { - name: "typescript:asyncValues", - importName: "__asyncValues", - scoped: false, - text: ` - var __asyncValues = (this && this.__asyncValues) || function (o) { - if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined."); - var m = o[Symbol.asyncIterator], i; - 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); - 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); }); }; } - function settle(resolve, reject, d, v) { Promise.resolve(v).then(function(v) { resolve({ value: v, done: d }); }, reject); } - };` -}; -var restHelper = { - name: "typescript:rest", - importName: "__rest", - scoped: false, - text: ` - var __rest = (this && this.__rest) || function (s, e) { - var t = {}; - for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) - t[p] = s[p]; - if (s != null && typeof Object.getOwnPropertySymbols === "function") - for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) { - if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) - t[p[i]] = s[p[i]]; - } - return t; - };` -}; -var awaiterHelper = { - name: "typescript:awaiter", - importName: "__awaiter", - scoped: false, - priority: 5, - text: ` - var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) { - function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); } - return new (P || (P = Promise))(function (resolve, reject) { - function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } } - function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } } - function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); } - step((generator = generator.apply(thisArg, _arguments || [])).next()); - }); - };` -}; -var extendsHelper = { - name: "typescript:extends", - importName: "__extends", - scoped: false, - priority: 0, - text: ` - var __extends = (this && this.__extends) || (function () { - var extendStatics = function (d, b) { - extendStatics = Object.setPrototypeOf || - ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) || - function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; }; - return extendStatics(d, b); - }; - - return function (d, b) { - if (typeof b !== "function" && b !== null) - throw new TypeError("Class extends value " + String(b) + " is not a constructor or null"); - extendStatics(d, b); - function __() { this.constructor = d; } - d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); - }; - })();` -}; -var templateObjectHelper = { - name: "typescript:makeTemplateObject", - importName: "__makeTemplateObject", - scoped: false, - priority: 0, - text: ` - var __makeTemplateObject = (this && this.__makeTemplateObject) || function (cooked, raw) { - if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; } - return cooked; - };` -}; -var readHelper = { - name: "typescript:read", - importName: "__read", - scoped: false, - text: ` - var __read = (this && this.__read) || function (o, n) { - var m = typeof Symbol === "function" && o[Symbol.iterator]; - if (!m) return o; - var i = m.call(o), r, ar = [], e; - try { - while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value); - } - catch (error) { e = { error: error }; } - finally { - try { - if (r && !r.done && (m = i["return"])) m.call(i); - } - finally { if (e) throw e.error; } - } - return ar; - };` -}; -var spreadArrayHelper = { - name: "typescript:spreadArray", - importName: "__spreadArray", - scoped: false, - text: ` - var __spreadArray = (this && this.__spreadArray) || function (to, from, pack) { - if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) { - if (ar || !(i in from)) { - if (!ar) ar = Array.prototype.slice.call(from, 0, i); - ar[i] = from[i]; - } - } - return to.concat(ar || Array.prototype.slice.call(from)); - };` -}; -var propKeyHelper = { - name: "typescript:propKey", - importName: "__propKey", - scoped: false, - text: ` - var __propKey = (this && this.__propKey) || function (x) { - return typeof x === "symbol" ? x : "".concat(x); - };` -}; -var setFunctionNameHelper = { - name: "typescript:setFunctionName", - importName: "__setFunctionName", - scoped: false, - text: ` - var __setFunctionName = (this && this.__setFunctionName) || function (f, name, prefix) { - if (typeof name === "symbol") name = name.description ? "[".concat(name.description, "]") : ""; - return Object.defineProperty(f, "name", { configurable: true, value: prefix ? "".concat(prefix, " ", name) : name }); - };` -}; -var valuesHelper = { - name: "typescript:values", - importName: "__values", - scoped: false, - text: ` - var __values = (this && this.__values) || function(o) { - var s = typeof Symbol === "function" && Symbol.iterator, m = s && o[s], i = 0; - if (m) return m.call(o); - if (o && typeof o.length === "number") return { - next: function () { - if (o && i >= o.length) o = void 0; - return { value: o && o[i++], done: !o }; - } - }; - throw new TypeError(s ? "Object is not iterable." : "Symbol.iterator is not defined."); - };` -}; -var generatorHelper = { - name: "typescript:generator", - importName: "__generator", - scoped: false, - priority: 6, - text: ` - var __generator = (this && this.__generator) || function (thisArg, body) { - var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype); - return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g; - function verb(n) { return function (v) { return step([n, v]); }; } - function step(op) { - if (f) throw new TypeError("Generator is already executing."); - while (g && (g = 0, op[0] && (_ = 0)), _) try { - 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; - if (y = 0, t) op = [op[0] & 2, t.value]; - switch (op[0]) { - case 0: case 1: t = op; break; - case 4: _.label++; return { value: op[1], done: false }; - case 5: _.label++; y = op[1]; op = [0]; continue; - case 7: op = _.ops.pop(); _.trys.pop(); continue; - default: - if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; } - if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; } - if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; } - if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; } - if (t[2]) _.ops.pop(); - _.trys.pop(); continue; - } - op = body.call(thisArg, _); - } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; } - if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true }; - } - };` -}; -var createBindingHelper = { - name: "typescript:commonjscreatebinding", - importName: "__createBinding", - scoped: false, - priority: 1, - text: ` - var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - var desc = Object.getOwnPropertyDescriptor(m, k); - if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { - desc = { enumerable: true, get: function() { return m[k]; } }; - } - Object.defineProperty(o, k2, desc); - }) : (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - o[k2] = m[k]; - }));` -}; -var setModuleDefaultHelper = { - name: "typescript:commonjscreatevalue", - importName: "__setModuleDefault", - scoped: false, - priority: 1, - text: ` - var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { - Object.defineProperty(o, "default", { enumerable: true, value: v }); - }) : function(o, v) { - o["default"] = v; - });` -}; -var importStarHelper = { - name: "typescript:commonjsimportstar", - importName: "__importStar", - scoped: false, - dependencies: [createBindingHelper, setModuleDefaultHelper], - priority: 2, - text: ` - var __importStar = (this && this.__importStar) || function (mod) { - if (mod && mod.__esModule) return mod; - var result = {}; - if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k); - __setModuleDefault(result, mod); - return result; - };` -}; -var importDefaultHelper = { - name: "typescript:commonjsimportdefault", - importName: "__importDefault", - scoped: false, - text: ` - var __importDefault = (this && this.__importDefault) || function (mod) { - return (mod && mod.__esModule) ? mod : { "default": mod }; - };` -}; -var exportStarHelper = { - name: "typescript:export-star", - importName: "__exportStar", - scoped: false, - dependencies: [createBindingHelper], - priority: 2, - text: ` - var __exportStar = (this && this.__exportStar) || function(m, exports) { - for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p); - };` -}; -var classPrivateFieldGetHelper = { - name: "typescript:classPrivateFieldGet", - importName: "__classPrivateFieldGet", - scoped: false, - text: ` - var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (receiver, state, kind, f) { - if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a getter"); - 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"); - return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver); - };` -}; -var classPrivateFieldSetHelper = { - name: "typescript:classPrivateFieldSet", - importName: "__classPrivateFieldSet", - scoped: false, - text: ` - var __classPrivateFieldSet = (this && this.__classPrivateFieldSet) || function (receiver, state, value, kind, f) { - if (kind === "m") throw new TypeError("Private method is not writable"); - if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a setter"); - 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"); - return (kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value; - };` -}; -var classPrivateFieldInHelper = { - name: "typescript:classPrivateFieldIn", - importName: "__classPrivateFieldIn", - scoped: false, - text: ` - var __classPrivateFieldIn = (this && this.__classPrivateFieldIn) || function(state, receiver) { - if (receiver === null || (typeof receiver !== "object" && typeof receiver !== "function")) throw new TypeError("Cannot use 'in' operator on non-object"); - return typeof state === "function" ? receiver === state : state.has(receiver); - };` -}; -var addDisposableResourceHelper = { - name: "typescript:addDisposableResource", - importName: "__addDisposableResource", - scoped: false, - text: ` - var __addDisposableResource = (this && this.__addDisposableResource) || function (env, value, async) { - if (value !== null && value !== void 0) { - if (typeof value !== "object" && typeof value !== "function") throw new TypeError("Object expected."); - var dispose, inner; - if (async) { - if (!Symbol.asyncDispose) throw new TypeError("Symbol.asyncDispose is not defined."); - dispose = value[Symbol.asyncDispose]; - } - if (dispose === void 0) { - if (!Symbol.dispose) throw new TypeError("Symbol.dispose is not defined."); - dispose = value[Symbol.dispose]; - if (async) inner = dispose; - } - if (typeof dispose !== "function") throw new TypeError("Object not disposable."); - if (inner) dispose = function() { try { inner.call(this); } catch (e) { return Promise.reject(e); } }; - env.stack.push({ value: value, dispose: dispose, async: async }); - } - else if (async) { - env.stack.push({ async: true }); - } - return value; - };` -}; -var disposeResourcesHelper = { - name: "typescript:disposeResources", - importName: "__disposeResources", - scoped: false, - text: ` - var __disposeResources = (this && this.__disposeResources) || (function (SuppressedError) { - return function (env) { - function fail(e) { - env.error = env.hasError ? new SuppressedError(e, env.error, "An error was suppressed during disposal.") : e; - env.hasError = true; - } - var r, s = 0; - function next() { - while (r = env.stack.pop()) { - try { - if (!r.async && s === 1) return s = 0, env.stack.push(r), Promise.resolve().then(next); - if (r.dispose) { - var result = r.dispose.call(r.value); - if (r.async) return s |= 2, Promise.resolve(result).then(next, function(e) { fail(e); return next(); }); - } - else s |= 1; - } - catch (e) { - fail(e); - } - } - if (s === 1) return env.hasError ? Promise.reject(env.error) : Promise.resolve(); - if (env.hasError) throw env.error; - } - return next(); - }; - })(typeof SuppressedError === "function" ? SuppressedError : function (error, suppressed, message) { - var e = new Error(message); - return e.name = "SuppressedError", e.error = error, e.suppressed = suppressed, e; - });` -}; -var asyncSuperHelper = { - name: "typescript:async-super", - scoped: true, - text: helperString` - const ${"_superIndex"} = name => super[name];` -}; -var advancedAsyncSuperHelper = { - name: "typescript:advanced-async-super", - scoped: true, - text: helperString` - const ${"_superIndex"} = (function (geti, seti) { - const cache = Object.create(null); - return name => cache[name] || (cache[name] = { get value() { return geti(name); }, set value(v) { seti(name, v); } }); - })(name => super[name], (name, value) => super[name] = value);` -}; -function isCallToHelper(firstSegment, helperName) { - return isCallExpression(firstSegment) && isIdentifier(firstSegment.expression) && (getEmitFlags(firstSegment.expression) & 8192 /* HelperName */) !== 0 && firstSegment.expression.escapedText === helperName; -} - -// src/compiler/factory/nodeTests.ts -function isNumericLiteral(node) { - return node.kind === 9 /* NumericLiteral */; -} -function isBigIntLiteral(node) { - return node.kind === 10 /* BigIntLiteral */; -} -function isStringLiteral(node) { - return node.kind === 11 /* StringLiteral */; -} -function isJsxText(node) { - return node.kind === 12 /* JsxText */; -} -function isNoSubstitutionTemplateLiteral(node) { - return node.kind === 15 /* NoSubstitutionTemplateLiteral */; -} -function isTemplateHead(node) { - return node.kind === 16 /* TemplateHead */; -} -function isDotDotDotToken(node) { - return node.kind === 26 /* DotDotDotToken */; -} -function isCommaToken(node) { - return node.kind === 28 /* CommaToken */; -} -function isPlusToken(node) { - return node.kind === 40 /* PlusToken */; -} -function isMinusToken(node) { - return node.kind === 41 /* MinusToken */; -} -function isAsteriskToken(node) { - return node.kind === 42 /* AsteriskToken */; -} -function isExclamationToken(node) { - return node.kind === 54 /* ExclamationToken */; -} -function isQuestionToken(node) { - return node.kind === 58 /* QuestionToken */; -} -function isColonToken(node) { - return node.kind === 59 /* ColonToken */; -} -function isQuestionDotToken(node) { - return node.kind === 29 /* QuestionDotToken */; -} -function isEqualsGreaterThanToken(node) { - return node.kind === 39 /* EqualsGreaterThanToken */; -} -function isIdentifier(node) { - return node.kind === 80 /* Identifier */; -} -function isPrivateIdentifier(node) { - return node.kind === 81 /* PrivateIdentifier */; -} -function isExportModifier(node) { - return node.kind === 95 /* ExportKeyword */; -} -function isDefaultModifier(node) { - return node.kind === 90 /* DefaultKeyword */; -} -function isAsyncModifier(node) { - return node.kind === 134 /* AsyncKeyword */; -} -function isAssertsKeyword(node) { - return node.kind === 131 /* AssertsKeyword */; -} -function isAwaitKeyword(node) { - return node.kind === 135 /* AwaitKeyword */; -} -function isReadonlyKeyword(node) { - return node.kind === 148 /* ReadonlyKeyword */; -} -function isStaticModifier(node) { - return node.kind === 126 /* StaticKeyword */; -} -function isAccessorModifier(node) { - return node.kind === 129 /* AccessorKeyword */; -} -function isSuperKeyword(node) { - return node.kind === 108 /* SuperKeyword */; -} -function isImportKeyword(node) { - return node.kind === 102 /* ImportKeyword */; -} -function isQualifiedName(node) { - return node.kind === 166 /* QualifiedName */; -} -function isComputedPropertyName(node) { - return node.kind === 167 /* ComputedPropertyName */; -} -function isTypeParameterDeclaration(node) { - return node.kind === 168 /* TypeParameter */; -} -function isParameter(node) { - return node.kind === 169 /* Parameter */; -} -function isDecorator(node) { - return node.kind === 170 /* Decorator */; -} -function isPropertySignature(node) { - return node.kind === 171 /* PropertySignature */; -} -function isPropertyDeclaration(node) { - return node.kind === 172 /* PropertyDeclaration */; -} -function isMethodSignature(node) { - return node.kind === 173 /* MethodSignature */; -} -function isMethodDeclaration(node) { - return node.kind === 174 /* MethodDeclaration */; -} -function isClassStaticBlockDeclaration(node) { - return node.kind === 175 /* ClassStaticBlockDeclaration */; -} -function isConstructorDeclaration(node) { - return node.kind === 176 /* Constructor */; -} -function isGetAccessorDeclaration(node) { - return node.kind === 177 /* GetAccessor */; -} -function isSetAccessorDeclaration(node) { - return node.kind === 178 /* SetAccessor */; -} -function isCallSignatureDeclaration(node) { - return node.kind === 179 /* CallSignature */; -} -function isConstructSignatureDeclaration(node) { - return node.kind === 180 /* ConstructSignature */; -} -function isIndexSignatureDeclaration(node) { - return node.kind === 181 /* IndexSignature */; -} -function isTypePredicateNode(node) { - return node.kind === 182 /* TypePredicate */; -} -function isTypeReferenceNode(node) { - return node.kind === 183 /* TypeReference */; -} -function isFunctionTypeNode(node) { - return node.kind === 184 /* FunctionType */; -} -function isConstructorTypeNode(node) { - return node.kind === 185 /* ConstructorType */; -} -function isTypeQueryNode(node) { - return node.kind === 186 /* TypeQuery */; -} -function isTypeLiteralNode(node) { - return node.kind === 187 /* TypeLiteral */; -} -function isArrayTypeNode(node) { - return node.kind === 188 /* ArrayType */; -} -function isTupleTypeNode(node) { - return node.kind === 189 /* TupleType */; -} -function isNamedTupleMember(node) { - return node.kind === 202 /* NamedTupleMember */; -} -function isOptionalTypeNode(node) { - return node.kind === 190 /* OptionalType */; -} -function isRestTypeNode(node) { - return node.kind === 191 /* RestType */; -} -function isUnionTypeNode(node) { - return node.kind === 192 /* UnionType */; -} -function isIntersectionTypeNode(node) { - return node.kind === 193 /* IntersectionType */; -} -function isConditionalTypeNode(node) { - return node.kind === 194 /* ConditionalType */; -} -function isInferTypeNode(node) { - return node.kind === 195 /* InferType */; -} -function isParenthesizedTypeNode(node) { - return node.kind === 196 /* ParenthesizedType */; -} -function isThisTypeNode(node) { - return node.kind === 197 /* ThisType */; -} -function isTypeOperatorNode(node) { - return node.kind === 198 /* TypeOperator */; -} -function isIndexedAccessTypeNode(node) { - return node.kind === 199 /* IndexedAccessType */; -} -function isMappedTypeNode(node) { - return node.kind === 200 /* MappedType */; -} -function isLiteralTypeNode(node) { - return node.kind === 201 /* LiteralType */; -} -function isImportTypeNode(node) { - return node.kind === 205 /* ImportType */; -} -function isTemplateLiteralTypeSpan(node) { - return node.kind === 204 /* TemplateLiteralTypeSpan */; -} -function isObjectBindingPattern(node) { - return node.kind === 206 /* ObjectBindingPattern */; -} -function isArrayBindingPattern(node) { - return node.kind === 207 /* ArrayBindingPattern */; -} -function isBindingElement(node) { - return node.kind === 208 /* BindingElement */; -} -function isArrayLiteralExpression(node) { - return node.kind === 209 /* ArrayLiteralExpression */; -} -function isObjectLiteralExpression(node) { - return node.kind === 210 /* ObjectLiteralExpression */; -} -function isPropertyAccessExpression(node) { - return node.kind === 211 /* PropertyAccessExpression */; -} -function isElementAccessExpression(node) { - return node.kind === 212 /* ElementAccessExpression */; -} -function isCallExpression(node) { - return node.kind === 213 /* CallExpression */; -} -function isNewExpression(node) { - return node.kind === 214 /* NewExpression */; -} -function isTaggedTemplateExpression(node) { - return node.kind === 215 /* TaggedTemplateExpression */; -} -function isTypeAssertionExpression(node) { - return node.kind === 216 /* TypeAssertionExpression */; -} -function isParenthesizedExpression(node) { - return node.kind === 217 /* ParenthesizedExpression */; -} -function isFunctionExpression(node) { - return node.kind === 218 /* FunctionExpression */; -} -function isArrowFunction(node) { - return node.kind === 219 /* ArrowFunction */; -} -function isTypeOfExpression(node) { - return node.kind === 221 /* TypeOfExpression */; -} -function isVoidExpression(node) { - return node.kind === 222 /* VoidExpression */; -} -function isAwaitExpression(node) { - return node.kind === 223 /* AwaitExpression */; -} -function isPrefixUnaryExpression(node) { - return node.kind === 224 /* PrefixUnaryExpression */; -} -function isPostfixUnaryExpression(node) { - return node.kind === 225 /* PostfixUnaryExpression */; -} -function isBinaryExpression(node) { - return node.kind === 226 /* BinaryExpression */; -} -function isConditionalExpression(node) { - return node.kind === 227 /* ConditionalExpression */; -} -function isSpreadElement(node) { - return node.kind === 230 /* SpreadElement */; -} -function isClassExpression(node) { - return node.kind === 231 /* ClassExpression */; -} -function isOmittedExpression(node) { - return node.kind === 232 /* OmittedExpression */; -} -function isExpressionWithTypeArguments(node) { - return node.kind === 233 /* ExpressionWithTypeArguments */; -} -function isAsExpression(node) { - return node.kind === 234 /* AsExpression */; -} -function isSatisfiesExpression(node) { - return node.kind === 238 /* SatisfiesExpression */; -} -function isNonNullExpression(node) { - return node.kind === 235 /* NonNullExpression */; -} -function isMetaProperty(node) { - return node.kind === 236 /* MetaProperty */; -} -function isPartiallyEmittedExpression(node) { - return node.kind === 354 /* PartiallyEmittedExpression */; -} -function isCommaListExpression(node) { - return node.kind === 355 /* CommaListExpression */; -} -function isTemplateSpan(node) { - return node.kind === 239 /* TemplateSpan */; -} -function isSemicolonClassElement(node) { - return node.kind === 240 /* SemicolonClassElement */; -} -function isBlock(node) { - return node.kind === 241 /* Block */; -} -function isVariableStatement(node) { - return node.kind === 243 /* VariableStatement */; -} -function isEmptyStatement(node) { - return node.kind === 242 /* EmptyStatement */; -} -function isExpressionStatement(node) { - return node.kind === 244 /* ExpressionStatement */; -} -function isIfStatement(node) { - return node.kind === 245 /* IfStatement */; -} -function isForStatement(node) { - return node.kind === 248 /* ForStatement */; -} -function isForInStatement(node) { - return node.kind === 249 /* ForInStatement */; -} -function isForOfStatement(node) { - return node.kind === 250 /* ForOfStatement */; -} -function isReturnStatement(node) { - return node.kind === 253 /* ReturnStatement */; -} -function isWithStatement(node) { - return node.kind === 254 /* WithStatement */; -} -function isSwitchStatement(node) { - return node.kind === 255 /* SwitchStatement */; -} -function isLabeledStatement(node) { - return node.kind === 256 /* LabeledStatement */; -} -function isTryStatement(node) { - return node.kind === 258 /* TryStatement */; -} -function isVariableDeclaration(node) { - return node.kind === 260 /* VariableDeclaration */; -} -function isVariableDeclarationList(node) { - return node.kind === 261 /* VariableDeclarationList */; -} -function isFunctionDeclaration(node) { - return node.kind === 262 /* FunctionDeclaration */; -} -function isClassDeclaration(node) { - return node.kind === 263 /* ClassDeclaration */; -} -function isInterfaceDeclaration(node) { - return node.kind === 264 /* InterfaceDeclaration */; -} -function isTypeAliasDeclaration(node) { - return node.kind === 265 /* TypeAliasDeclaration */; -} -function isEnumDeclaration(node) { - return node.kind === 266 /* EnumDeclaration */; -} -function isModuleDeclaration(node) { - return node.kind === 267 /* ModuleDeclaration */; -} -function isModuleBlock(node) { - return node.kind === 268 /* ModuleBlock */; -} -function isCaseBlock(node) { - return node.kind === 269 /* CaseBlock */; -} -function isNamespaceExportDeclaration(node) { - return node.kind === 270 /* NamespaceExportDeclaration */; -} -function isImportEqualsDeclaration(node) { - return node.kind === 271 /* ImportEqualsDeclaration */; -} -function isImportDeclaration(node) { - return node.kind === 272 /* ImportDeclaration */; -} -function isImportClause(node) { - return node.kind === 273 /* ImportClause */; -} -function isAssertClause(node) { - return node.kind === 300 /* AssertClause */; -} -function isImportAttributes(node) { - return node.kind === 300 /* ImportAttributes */; -} -function isImportAttribute(node) { - return node.kind === 301 /* ImportAttribute */; -} -function isNamespaceImport(node) { - return node.kind === 274 /* NamespaceImport */; -} -function isNamespaceExport(node) { - return node.kind === 280 /* NamespaceExport */; -} -function isNamedImports(node) { - return node.kind === 275 /* NamedImports */; -} -function isImportSpecifier(node) { - return node.kind === 276 /* ImportSpecifier */; -} -function isExportAssignment(node) { - return node.kind === 277 /* ExportAssignment */; -} -function isExportDeclaration(node) { - return node.kind === 278 /* ExportDeclaration */; -} -function isNamedExports(node) { - return node.kind === 279 /* NamedExports */; -} -function isExportSpecifier(node) { - return node.kind === 281 /* ExportSpecifier */; -} -function isModuleExportName(node) { - return node.kind === 80 /* Identifier */ || node.kind === 11 /* StringLiteral */; -} -function isNotEmittedStatement(node) { - return node.kind === 353 /* NotEmittedStatement */; -} -function isSyntheticReference(node) { - return node.kind === 356 /* SyntheticReferenceExpression */; -} -function isExternalModuleReference(node) { - return node.kind === 283 /* ExternalModuleReference */; -} -function isJsxElement(node) { - return node.kind === 284 /* JsxElement */; -} -function isJsxSelfClosingElement(node) { - return node.kind === 285 /* JsxSelfClosingElement */; -} -function isJsxOpeningElement(node) { - return node.kind === 286 /* JsxOpeningElement */; -} -function isJsxClosingElement(node) { - return node.kind === 287 /* JsxClosingElement */; -} -function isJsxFragment(node) { - return node.kind === 288 /* JsxFragment */; -} -function isJsxOpeningFragment(node) { - return node.kind === 289 /* JsxOpeningFragment */; -} -function isJsxClosingFragment(node) { - return node.kind === 290 /* JsxClosingFragment */; -} -function isJsxAttribute(node) { - return node.kind === 291 /* JsxAttribute */; -} -function isJsxAttributes(node) { - return node.kind === 292 /* JsxAttributes */; -} -function isJsxSpreadAttribute(node) { - return node.kind === 293 /* JsxSpreadAttribute */; -} -function isJsxNamespacedName(node) { - return node.kind === 295 /* JsxNamespacedName */; -} -function isCaseClause(node) { - return node.kind === 296 /* CaseClause */; -} -function isDefaultClause(node) { - return node.kind === 297 /* DefaultClause */; -} -function isHeritageClause(node) { - return node.kind === 298 /* HeritageClause */; -} -function isCatchClause(node) { - return node.kind === 299 /* CatchClause */; -} -function isPropertyAssignment(node) { - return node.kind === 303 /* PropertyAssignment */; -} -function isShorthandPropertyAssignment(node) { - return node.kind === 304 /* ShorthandPropertyAssignment */; -} -function isSpreadAssignment(node) { - return node.kind === 305 /* SpreadAssignment */; -} -function isEnumMember(node) { - return node.kind === 306 /* EnumMember */; -} -function isSourceFile(node) { - return node.kind === 307 /* SourceFile */; -} -function isBundle(node) { - return node.kind === 308 /* Bundle */; -} -function isJSDocTypeExpression(node) { - return node.kind === 309 /* JSDocTypeExpression */; -} -function isJSDocNameReference(node) { - return node.kind === 310 /* JSDocNameReference */; -} -function isJSDocMemberName(node) { - return node.kind === 311 /* JSDocMemberName */; -} -function isJSDocAllType(node) { - return node.kind === 312 /* JSDocAllType */; -} -function isJSDocUnknownType(node) { - return node.kind === 313 /* JSDocUnknownType */; -} -function isJSDocNullableType(node) { - return node.kind === 314 /* JSDocNullableType */; -} -function isJSDocNonNullableType(node) { - return node.kind === 315 /* JSDocNonNullableType */; -} -function isJSDocOptionalType(node) { - return node.kind === 316 /* JSDocOptionalType */; -} -function isJSDocFunctionType(node) { - return node.kind === 317 /* JSDocFunctionType */; -} -function isJSDocVariadicType(node) { - return node.kind === 318 /* JSDocVariadicType */; -} -function isJSDoc(node) { - return node.kind === 320 /* JSDoc */; -} -function isJSDocTypeLiteral(node) { - return node.kind === 322 /* JSDocTypeLiteral */; -} -function isJSDocSignature(node) { - return node.kind === 323 /* JSDocSignature */; -} -function isJSDocAugmentsTag(node) { - return node.kind === 328 /* JSDocAugmentsTag */; -} -function isJSDocClassTag(node) { - return node.kind === 332 /* JSDocClassTag */; -} -function isJSDocCallbackTag(node) { - return node.kind === 338 /* JSDocCallbackTag */; -} -function isJSDocPublicTag(node) { - return node.kind === 333 /* JSDocPublicTag */; -} -function isJSDocPrivateTag(node) { - return node.kind === 334 /* JSDocPrivateTag */; -} -function isJSDocProtectedTag(node) { - return node.kind === 335 /* JSDocProtectedTag */; -} -function isJSDocReadonlyTag(node) { - return node.kind === 336 /* JSDocReadonlyTag */; -} -function isJSDocOverrideTag(node) { - return node.kind === 337 /* JSDocOverrideTag */; -} -function isJSDocOverloadTag(node) { - return node.kind === 339 /* JSDocOverloadTag */; -} -function isJSDocDeprecatedTag(node) { - return node.kind === 331 /* JSDocDeprecatedTag */; -} -function isJSDocEnumTag(node) { - return node.kind === 340 /* JSDocEnumTag */; -} -function isJSDocParameterTag(node) { - return node.kind === 341 /* JSDocParameterTag */; -} -function isJSDocReturnTag(node) { - return node.kind === 342 /* JSDocReturnTag */; -} -function isJSDocThisTag(node) { - return node.kind === 343 /* JSDocThisTag */; -} -function isJSDocTypeTag(node) { - return node.kind === 344 /* JSDocTypeTag */; -} -function isJSDocTemplateTag(node) { - return node.kind === 345 /* JSDocTemplateTag */; -} -function isJSDocTypedefTag(node) { - return node.kind === 346 /* JSDocTypedefTag */; -} -function isJSDocPropertyTag(node) { - return node.kind === 348 /* JSDocPropertyTag */; -} -function isJSDocImplementsTag(node) { - return node.kind === 329 /* JSDocImplementsTag */; -} -function isJSDocSatisfiesTag(node) { - return node.kind === 350 /* JSDocSatisfiesTag */; -} -function isJSDocImportTag(node) { - return node.kind === 351 /* JSDocImportTag */; -} - -// src/compiler/factory/nodeChildren.ts -var sourceFileToNodeChildren = /* @__PURE__ */ new WeakMap(); -function getNodeChildren(node, sourceFile) { - var _a; - const kind = node.kind; - if (!isNodeKind(kind)) { - return emptyArray; - } - if (kind === 352 /* SyntaxList */) { - return node._children; - } - return (_a = sourceFileToNodeChildren.get(sourceFile)) == null ? void 0 : _a.get(node); -} -function unsetNodeChildren(node, origSourceFile) { - var _a; - if (node.kind === 352 /* SyntaxList */) { - Debug.fail("Did not expect to unset the children of a SyntaxList."); - } - (_a = sourceFileToNodeChildren.get(origSourceFile)) == null ? void 0 : _a.delete(node); -} -function transferSourceFileChildren(sourceFile, targetSourceFile) { - const map2 = sourceFileToNodeChildren.get(sourceFile); - if (map2 !== void 0) { - sourceFileToNodeChildren.delete(sourceFile); - sourceFileToNodeChildren.set(targetSourceFile, map2); - } -} - -// src/compiler/factory/utilities.ts -function createEmptyExports(factory2) { - return factory2.createExportDeclaration( - /*modifiers*/ - void 0, - /*isTypeOnly*/ - false, - factory2.createNamedExports([]), - /*moduleSpecifier*/ - void 0 - ); -} -function createMemberAccessForPropertyName(factory2, target, memberName, location) { - if (isComputedPropertyName(memberName)) { - return setTextRange(factory2.createElementAccessExpression(target, memberName.expression), location); - } else { - const expression = setTextRange( - isMemberName(memberName) ? factory2.createPropertyAccessExpression(target, memberName) : factory2.createElementAccessExpression(target, memberName), - memberName - ); - addEmitFlags(expression, 128 /* NoNestedSourceMaps */); - return expression; - } -} -function createReactNamespace(reactNamespace, parent) { - const react = parseNodeFactory.createIdentifier(reactNamespace || "React"); - setParent(react, getParseTreeNode(parent)); - return react; -} -function createJsxFactoryExpressionFromEntityName(factory2, jsxFactory, parent) { - if (isQualifiedName(jsxFactory)) { - const left = createJsxFactoryExpressionFromEntityName(factory2, jsxFactory.left, parent); - const right = factory2.createIdentifier(idText(jsxFactory.right)); - right.escapedText = jsxFactory.right.escapedText; - return factory2.createPropertyAccessExpression(left, right); - } else { - return createReactNamespace(idText(jsxFactory), parent); - } -} -function createJsxFactoryExpression(factory2, jsxFactoryEntity, reactNamespace, parent) { - return jsxFactoryEntity ? createJsxFactoryExpressionFromEntityName(factory2, jsxFactoryEntity, parent) : factory2.createPropertyAccessExpression( - createReactNamespace(reactNamespace, parent), - "createElement" - ); -} -function createJsxFragmentFactoryExpression(factory2, jsxFragmentFactoryEntity, reactNamespace, parent) { - return jsxFragmentFactoryEntity ? createJsxFactoryExpressionFromEntityName(factory2, jsxFragmentFactoryEntity, parent) : factory2.createPropertyAccessExpression( - createReactNamespace(reactNamespace, parent), - "Fragment" - ); -} -function createExpressionForJsxElement(factory2, callee, tagName, props, children, location) { - const argumentsList = [tagName]; - if (props) { - argumentsList.push(props); - } - if (children && children.length > 0) { - if (!props) { - argumentsList.push(factory2.createNull()); - } - if (children.length > 1) { - for (const child of children) { - startOnNewLine(child); - argumentsList.push(child); - } - } else { - argumentsList.push(children[0]); - } - } - return setTextRange( - factory2.createCallExpression( - callee, - /*typeArguments*/ - void 0, - argumentsList - ), - location - ); -} -function createExpressionForJsxFragment(factory2, jsxFactoryEntity, jsxFragmentFactoryEntity, reactNamespace, children, parentElement, location) { - const tagName = createJsxFragmentFactoryExpression(factory2, jsxFragmentFactoryEntity, reactNamespace, parentElement); - const argumentsList = [tagName, factory2.createNull()]; - if (children && children.length > 0) { - if (children.length > 1) { - for (const child of children) { - startOnNewLine(child); - argumentsList.push(child); - } - } else { - argumentsList.push(children[0]); - } - } - return setTextRange( - factory2.createCallExpression( - createJsxFactoryExpression(factory2, jsxFactoryEntity, reactNamespace, parentElement), - /*typeArguments*/ - void 0, - argumentsList - ), - location - ); -} -function createForOfBindingStatement(factory2, node, boundValue) { - if (isVariableDeclarationList(node)) { - const firstDeclaration = first(node.declarations); - const updatedDeclaration = factory2.updateVariableDeclaration( - firstDeclaration, - firstDeclaration.name, - /*exclamationToken*/ - void 0, - /*type*/ - void 0, - boundValue - ); - return setTextRange( - factory2.createVariableStatement( - /*modifiers*/ - void 0, - factory2.updateVariableDeclarationList(node, [updatedDeclaration]) - ), - /*location*/ - node - ); - } else { - const updatedExpression = setTextRange( - factory2.createAssignment(node, boundValue), - /*location*/ - node - ); - return setTextRange( - factory2.createExpressionStatement(updatedExpression), - /*location*/ - node - ); - } -} -function createExpressionFromEntityName(factory2, node) { - if (isQualifiedName(node)) { - const left = createExpressionFromEntityName(factory2, node.left); - const right = setParent(setTextRange(factory2.cloneNode(node.right), node.right), node.right.parent); - return setTextRange(factory2.createPropertyAccessExpression(left, right), node); - } else { - return setParent(setTextRange(factory2.cloneNode(node), node), node.parent); - } -} -function createExpressionForPropertyName(factory2, memberName) { - if (isIdentifier(memberName)) { - return factory2.createStringLiteralFromNode(memberName); - } else if (isComputedPropertyName(memberName)) { - return setParent(setTextRange(factory2.cloneNode(memberName.expression), memberName.expression), memberName.expression.parent); - } else { - return setParent(setTextRange(factory2.cloneNode(memberName), memberName), memberName.parent); - } -} -function createExpressionForAccessorDeclaration(factory2, properties, property, receiver, multiLine) { - const { firstAccessor, getAccessor, setAccessor } = getAllAccessorDeclarations(properties, property); - if (property === firstAccessor) { - return setTextRange( - factory2.createObjectDefinePropertyCall( - receiver, - createExpressionForPropertyName(factory2, property.name), - factory2.createPropertyDescriptor({ - enumerable: factory2.createFalse(), - configurable: true, - get: getAccessor && setTextRange( - setOriginalNode( - factory2.createFunctionExpression( - getModifiers(getAccessor), - /*asteriskToken*/ - void 0, - /*name*/ - void 0, - /*typeParameters*/ - void 0, - getAccessor.parameters, - /*type*/ - void 0, - getAccessor.body - // TODO: GH#18217 - ), - getAccessor - ), - getAccessor - ), - set: setAccessor && setTextRange( - setOriginalNode( - factory2.createFunctionExpression( - getModifiers(setAccessor), - /*asteriskToken*/ - void 0, - /*name*/ - void 0, - /*typeParameters*/ - void 0, - setAccessor.parameters, - /*type*/ - void 0, - setAccessor.body - // TODO: GH#18217 - ), - setAccessor - ), - setAccessor - ) - }, !multiLine) - ), - firstAccessor - ); - } - return void 0; -} -function createExpressionForPropertyAssignment(factory2, property, receiver) { - return setOriginalNode( - setTextRange( - factory2.createAssignment( - createMemberAccessForPropertyName( - factory2, - receiver, - property.name, - /*location*/ - property.name - ), - property.initializer - ), - property - ), - property - ); -} -function createExpressionForShorthandPropertyAssignment(factory2, property, receiver) { - return setOriginalNode( - setTextRange( - factory2.createAssignment( - createMemberAccessForPropertyName( - factory2, - receiver, - property.name, - /*location*/ - property.name - ), - factory2.cloneNode(property.name) - ), - /*location*/ - property - ), - /*original*/ - property - ); -} -function createExpressionForMethodDeclaration(factory2, method, receiver) { - return setOriginalNode( - setTextRange( - factory2.createAssignment( - createMemberAccessForPropertyName( - factory2, - receiver, - method.name, - /*location*/ - method.name - ), - setOriginalNode( - setTextRange( - factory2.createFunctionExpression( - getModifiers(method), - method.asteriskToken, - /*name*/ - void 0, - /*typeParameters*/ - void 0, - method.parameters, - /*type*/ - void 0, - method.body - // TODO: GH#18217 - ), - /*location*/ - method - ), - /*original*/ - method - ) - ), - /*location*/ - method - ), - /*original*/ - method - ); -} -function createExpressionForObjectLiteralElementLike(factory2, node, property, receiver) { - if (property.name && isPrivateIdentifier(property.name)) { - Debug.failBadSyntaxKind(property.name, "Private identifiers are not allowed in object literals."); - } - switch (property.kind) { - case 177 /* GetAccessor */: - case 178 /* SetAccessor */: - return createExpressionForAccessorDeclaration(factory2, node.properties, property, receiver, !!node.multiLine); - case 303 /* PropertyAssignment */: - return createExpressionForPropertyAssignment(factory2, property, receiver); - case 304 /* ShorthandPropertyAssignment */: - return createExpressionForShorthandPropertyAssignment(factory2, property, receiver); - case 174 /* MethodDeclaration */: - return createExpressionForMethodDeclaration(factory2, property, receiver); - } -} -function expandPreOrPostfixIncrementOrDecrementExpression(factory2, node, expression, recordTempVariable, resultVariable) { - const operator = node.operator; - Debug.assert(operator === 46 /* PlusPlusToken */ || operator === 47 /* MinusMinusToken */, "Expected 'node' to be a pre- or post-increment or pre- or post-decrement expression"); - const temp = factory2.createTempVariable(recordTempVariable); - expression = factory2.createAssignment(temp, expression); - setTextRange(expression, node.operand); - let operation = isPrefixUnaryExpression(node) ? factory2.createPrefixUnaryExpression(operator, temp) : factory2.createPostfixUnaryExpression(temp, operator); - setTextRange(operation, node); - if (resultVariable) { - operation = factory2.createAssignment(resultVariable, operation); - setTextRange(operation, node); - } - expression = factory2.createComma(expression, operation); - setTextRange(expression, node); - if (isPostfixUnaryExpression(node)) { - expression = factory2.createComma(expression, temp); - setTextRange(expression, node); - } - return expression; -} -function isInternalName(node) { - return (getEmitFlags(node) & 65536 /* InternalName */) !== 0; -} -function isLocalName(node) { - return (getEmitFlags(node) & 32768 /* LocalName */) !== 0; -} -function isExportName(node) { - return (getEmitFlags(node) & 16384 /* ExportName */) !== 0; -} -function isUseStrictPrologue(node) { - return isStringLiteral(node.expression) && node.expression.text === "use strict"; -} -function findUseStrictPrologue(statements) { - for (const statement of statements) { - if (isPrologueDirective(statement)) { - if (isUseStrictPrologue(statement)) { - return statement; - } - } else { - break; - } - } - return void 0; -} -function startsWithUseStrict(statements) { - const firstStatement = firstOrUndefined(statements); - return firstStatement !== void 0 && isPrologueDirective(firstStatement) && isUseStrictPrologue(firstStatement); -} -function isCommaExpression(node) { - return node.kind === 226 /* BinaryExpression */ && node.operatorToken.kind === 28 /* CommaToken */; -} -function isCommaSequence(node) { - return isCommaExpression(node) || isCommaListExpression(node); -} -function isJSDocTypeAssertion(node) { - return isParenthesizedExpression(node) && isInJSFile(node) && !!getJSDocTypeTag(node); -} -function getJSDocTypeAssertionType(node) { - const type = getJSDocType(node); - Debug.assertIsDefined(type); - return type; -} -function isOuterExpression(node, kinds = 31 /* All */) { - switch (node.kind) { - case 217 /* ParenthesizedExpression */: - if (kinds & -2147483648 /* ExcludeJSDocTypeAssertion */ && isJSDocTypeAssertion(node)) { - return false; - } - return (kinds & 1 /* Parentheses */) !== 0; - case 216 /* TypeAssertionExpression */: - case 234 /* AsExpression */: - case 238 /* SatisfiesExpression */: - return (kinds & 2 /* TypeAssertions */) !== 0; - case 233 /* ExpressionWithTypeArguments */: - return (kinds & 16 /* ExpressionsWithTypeArguments */) !== 0; - case 235 /* NonNullExpression */: - return (kinds & 4 /* NonNullAssertions */) !== 0; - case 354 /* PartiallyEmittedExpression */: - return (kinds & 8 /* PartiallyEmittedExpressions */) !== 0; - } - return false; -} -function skipOuterExpressions(node, kinds = 31 /* All */) { - while (isOuterExpression(node, kinds)) { - node = node.expression; - } - return node; -} -function walkUpOuterExpressions(node, kinds = 31 /* All */) { - let parent = node.parent; - while (isOuterExpression(parent, kinds)) { - parent = parent.parent; - Debug.assert(parent); - } - return parent; -} -function startOnNewLine(node) { - return setStartsOnNewLine( - node, - /*newLine*/ - true - ); -} -function getExternalHelpersModuleName(node) { - const parseNode = getOriginalNode(node, isSourceFile); - const emitNode = parseNode && parseNode.emitNode; - return emitNode && emitNode.externalHelpersModuleName; -} -function hasRecordedExternalHelpers(sourceFile) { - const parseNode = getOriginalNode(sourceFile, isSourceFile); - const emitNode = parseNode && parseNode.emitNode; - return !!emitNode && (!!emitNode.externalHelpersModuleName || !!emitNode.externalHelpers); -} -function createExternalHelpersImportDeclarationIfNeeded(nodeFactory, helperFactory, sourceFile, compilerOptions, hasExportStarsToExportValues, hasImportStar, hasImportDefault) { - if (compilerOptions.importHelpers && isEffectiveExternalModule(sourceFile, compilerOptions)) { - let namedBindings; - const moduleKind = getEmitModuleKind(compilerOptions); - if (moduleKind >= 5 /* ES2015 */ && moduleKind <= 99 /* ESNext */ || getImpliedNodeFormatForEmitWorker(sourceFile, compilerOptions) === 99 /* ESNext */) { - const helpers = getEmitHelpers(sourceFile); - if (helpers) { - const helperNames = []; - for (const helper of helpers) { - if (!helper.scoped) { - const importName = helper.importName; - if (importName) { - pushIfUnique(helperNames, importName); - } - } - } - if (some(helperNames)) { - helperNames.sort(compareStringsCaseSensitive); - namedBindings = nodeFactory.createNamedImports( - map(helperNames, (name) => isFileLevelUniqueName(sourceFile, name) ? nodeFactory.createImportSpecifier( - /*isTypeOnly*/ - false, - /*propertyName*/ - void 0, - nodeFactory.createIdentifier(name) - ) : nodeFactory.createImportSpecifier( - /*isTypeOnly*/ - false, - nodeFactory.createIdentifier(name), - helperFactory.getUnscopedHelperName(name) - )) - ); - const parseNode = getOriginalNode(sourceFile, isSourceFile); - const emitNode = getOrCreateEmitNode(parseNode); - emitNode.externalHelpers = true; - } - } - } else { - const externalHelpersModuleName = getOrCreateExternalHelpersModuleNameIfNeeded(nodeFactory, sourceFile, compilerOptions, hasExportStarsToExportValues, hasImportStar || hasImportDefault); - if (externalHelpersModuleName) { - namedBindings = nodeFactory.createNamespaceImport(externalHelpersModuleName); - } - } - if (namedBindings) { - const externalHelpersImportDeclaration = nodeFactory.createImportDeclaration( - /*modifiers*/ - void 0, - nodeFactory.createImportClause( - /*isTypeOnly*/ - false, - /*name*/ - void 0, - namedBindings - ), - nodeFactory.createStringLiteral(externalHelpersModuleNameText), - /*attributes*/ - void 0 - ); - addInternalEmitFlags(externalHelpersImportDeclaration, 2 /* NeverApplyImportHelper */); - return externalHelpersImportDeclaration; - } - } -} -function getOrCreateExternalHelpersModuleNameIfNeeded(factory2, node, compilerOptions, hasExportStarsToExportValues, hasImportStarOrImportDefault) { - if (compilerOptions.importHelpers && isEffectiveExternalModule(node, compilerOptions)) { - const externalHelpersModuleName = getExternalHelpersModuleName(node); - if (externalHelpersModuleName) { - return externalHelpersModuleName; - } - let create = (hasExportStarsToExportValues || getESModuleInterop(compilerOptions) && hasImportStarOrImportDefault) && getEmitModuleFormatOfFileWorker(node, compilerOptions) < 4 /* System */; - if (!create) { - const helpers = getEmitHelpers(node); - if (helpers) { - for (const helper of helpers) { - if (!helper.scoped) { - create = true; - break; - } - } - } - } - if (create) { - const parseNode = getOriginalNode(node, isSourceFile); - const emitNode = getOrCreateEmitNode(parseNode); - return emitNode.externalHelpersModuleName || (emitNode.externalHelpersModuleName = factory2.createUniqueName(externalHelpersModuleNameText)); - } - } -} -function getLocalNameForExternalImport(factory2, node, sourceFile) { - const namespaceDeclaration = getNamespaceDeclarationNode(node); - if (namespaceDeclaration && !isDefaultImport(node) && !isExportNamespaceAsDefaultDeclaration(node)) { - const name = namespaceDeclaration.name; - if (name.kind === 11 /* StringLiteral */) { - return factory2.getGeneratedNameForNode(node); - } - return isGeneratedIdentifier(name) ? name : factory2.createIdentifier(getSourceTextOfNodeFromSourceFile(sourceFile, name) || idText(name)); - } - if (node.kind === 272 /* ImportDeclaration */ && node.importClause) { - return factory2.getGeneratedNameForNode(node); - } - if (node.kind === 278 /* ExportDeclaration */ && node.moduleSpecifier) { - return factory2.getGeneratedNameForNode(node); - } - return void 0; -} -function getExternalModuleNameLiteral(factory2, importNode, sourceFile, host, resolver, compilerOptions) { - const moduleName = getExternalModuleName(importNode); - if (moduleName && isStringLiteral(moduleName)) { - return tryGetModuleNameFromDeclaration(importNode, host, factory2, resolver, compilerOptions) || tryRenameExternalModule(factory2, moduleName, sourceFile) || factory2.cloneNode(moduleName); - } - return void 0; -} -function tryRenameExternalModule(factory2, moduleName, sourceFile) { - const rename = sourceFile.renamedDependencies && sourceFile.renamedDependencies.get(moduleName.text); - return rename ? factory2.createStringLiteral(rename) : void 0; -} -function tryGetModuleNameFromFile(factory2, file, host, options) { - if (!file) { - return void 0; - } - if (file.moduleName) { - return factory2.createStringLiteral(file.moduleName); - } - if (!file.isDeclarationFile && options.outFile) { - return factory2.createStringLiteral(getExternalModuleNameFromPath(host, file.fileName)); - } - return void 0; -} -function tryGetModuleNameFromDeclaration(declaration, host, factory2, resolver, compilerOptions) { - return tryGetModuleNameFromFile(factory2, resolver.getExternalModuleFileFromDeclaration(declaration), host, compilerOptions); -} -function getInitializerOfBindingOrAssignmentElement(bindingElement) { - if (isDeclarationBindingElement(bindingElement)) { - return bindingElement.initializer; - } - if (isPropertyAssignment(bindingElement)) { - const initializer = bindingElement.initializer; - return isAssignmentExpression( - initializer, - /*excludeCompoundAssignment*/ - true - ) ? initializer.right : void 0; - } - if (isShorthandPropertyAssignment(bindingElement)) { - return bindingElement.objectAssignmentInitializer; - } - if (isAssignmentExpression( - bindingElement, - /*excludeCompoundAssignment*/ - true - )) { - return bindingElement.right; - } - if (isSpreadElement(bindingElement)) { - return getInitializerOfBindingOrAssignmentElement(bindingElement.expression); - } -} -function getTargetOfBindingOrAssignmentElement(bindingElement) { - if (isDeclarationBindingElement(bindingElement)) { - return bindingElement.name; - } - if (isObjectLiteralElementLike(bindingElement)) { - switch (bindingElement.kind) { - case 303 /* PropertyAssignment */: - return getTargetOfBindingOrAssignmentElement(bindingElement.initializer); - case 304 /* ShorthandPropertyAssignment */: - return bindingElement.name; - case 305 /* SpreadAssignment */: - return getTargetOfBindingOrAssignmentElement(bindingElement.expression); - } - return void 0; - } - if (isAssignmentExpression( - bindingElement, - /*excludeCompoundAssignment*/ - true - )) { - return getTargetOfBindingOrAssignmentElement(bindingElement.left); - } - if (isSpreadElement(bindingElement)) { - return getTargetOfBindingOrAssignmentElement(bindingElement.expression); - } - return bindingElement; -} -function getRestIndicatorOfBindingOrAssignmentElement(bindingElement) { - switch (bindingElement.kind) { - case 169 /* Parameter */: - case 208 /* BindingElement */: - return bindingElement.dotDotDotToken; - case 230 /* SpreadElement */: - case 305 /* SpreadAssignment */: - return bindingElement; - } - return void 0; -} -function getPropertyNameOfBindingOrAssignmentElement(bindingElement) { - const propertyName = tryGetPropertyNameOfBindingOrAssignmentElement(bindingElement); - Debug.assert(!!propertyName || isSpreadAssignment(bindingElement), "Invalid property name for binding element."); - return propertyName; -} -function tryGetPropertyNameOfBindingOrAssignmentElement(bindingElement) { - switch (bindingElement.kind) { - case 208 /* BindingElement */: - if (bindingElement.propertyName) { - const propertyName = bindingElement.propertyName; - if (isPrivateIdentifier(propertyName)) { - return Debug.failBadSyntaxKind(propertyName); - } - return isComputedPropertyName(propertyName) && isStringOrNumericLiteral(propertyName.expression) ? propertyName.expression : propertyName; - } - break; - case 303 /* PropertyAssignment */: - if (bindingElement.name) { - const propertyName = bindingElement.name; - if (isPrivateIdentifier(propertyName)) { - return Debug.failBadSyntaxKind(propertyName); - } - return isComputedPropertyName(propertyName) && isStringOrNumericLiteral(propertyName.expression) ? propertyName.expression : propertyName; - } - break; - case 305 /* SpreadAssignment */: - if (bindingElement.name && isPrivateIdentifier(bindingElement.name)) { - return Debug.failBadSyntaxKind(bindingElement.name); - } - return bindingElement.name; - } - const target = getTargetOfBindingOrAssignmentElement(bindingElement); - if (target && isPropertyName(target)) { - return target; - } -} -function isStringOrNumericLiteral(node) { - const kind = node.kind; - return kind === 11 /* StringLiteral */ || kind === 9 /* NumericLiteral */; -} -function getElementsOfBindingOrAssignmentPattern(name) { - switch (name.kind) { - case 206 /* ObjectBindingPattern */: - case 207 /* ArrayBindingPattern */: - case 209 /* ArrayLiteralExpression */: - return name.elements; - case 210 /* ObjectLiteralExpression */: - return name.properties; - } -} -function getJSDocTypeAliasName(fullName) { - if (fullName) { - let rightNode = fullName; - while (true) { - if (isIdentifier(rightNode) || !rightNode.body) { - return isIdentifier(rightNode) ? rightNode : rightNode.name; - } - rightNode = rightNode.body; - } - } -} -function canHaveIllegalTypeParameters(node) { - const kind = node.kind; - return kind === 176 /* Constructor */ || kind === 177 /* GetAccessor */ || kind === 178 /* SetAccessor */; -} -function canHaveIllegalDecorators(node) { - const kind = node.kind; - return kind === 303 /* PropertyAssignment */ || kind === 304 /* ShorthandPropertyAssignment */ || kind === 262 /* FunctionDeclaration */ || kind === 176 /* Constructor */ || kind === 181 /* IndexSignature */ || kind === 175 /* ClassStaticBlockDeclaration */ || kind === 282 /* MissingDeclaration */ || kind === 243 /* VariableStatement */ || kind === 264 /* InterfaceDeclaration */ || kind === 265 /* TypeAliasDeclaration */ || kind === 266 /* EnumDeclaration */ || kind === 267 /* ModuleDeclaration */ || kind === 271 /* ImportEqualsDeclaration */ || kind === 272 /* ImportDeclaration */ || kind === 270 /* NamespaceExportDeclaration */ || kind === 278 /* ExportDeclaration */ || kind === 277 /* ExportAssignment */; -} -function canHaveIllegalModifiers(node) { - const kind = node.kind; - return kind === 175 /* ClassStaticBlockDeclaration */ || kind === 303 /* PropertyAssignment */ || kind === 304 /* ShorthandPropertyAssignment */ || kind === 282 /* MissingDeclaration */ || kind === 270 /* NamespaceExportDeclaration */; -} -function isQuestionOrExclamationToken(node) { - return isQuestionToken(node) || isExclamationToken(node); -} -function isIdentifierOrThisTypeNode(node) { - return isIdentifier(node) || isThisTypeNode(node); -} -function isReadonlyKeywordOrPlusOrMinusToken(node) { - return isReadonlyKeyword(node) || isPlusToken(node) || isMinusToken(node); -} -function isQuestionOrPlusOrMinusToken(node) { - return isQuestionToken(node) || isPlusToken(node) || isMinusToken(node); -} -function isModuleName(node) { - return isIdentifier(node) || isStringLiteral(node); -} -function isExponentiationOperator(kind) { - return kind === 43 /* AsteriskAsteriskToken */; -} -function isMultiplicativeOperator(kind) { - return kind === 42 /* AsteriskToken */ || kind === 44 /* SlashToken */ || kind === 45 /* PercentToken */; -} -function isMultiplicativeOperatorOrHigher(kind) { - return isExponentiationOperator(kind) || isMultiplicativeOperator(kind); -} -function isAdditiveOperator(kind) { - return kind === 40 /* PlusToken */ || kind === 41 /* MinusToken */; -} -function isAdditiveOperatorOrHigher(kind) { - return isAdditiveOperator(kind) || isMultiplicativeOperatorOrHigher(kind); -} -function isShiftOperator(kind) { - return kind === 48 /* LessThanLessThanToken */ || kind === 49 /* GreaterThanGreaterThanToken */ || kind === 50 /* GreaterThanGreaterThanGreaterThanToken */; -} -function isShiftOperatorOrHigher(kind) { - return isShiftOperator(kind) || isAdditiveOperatorOrHigher(kind); -} -function isRelationalOperator(kind) { - return kind === 30 /* LessThanToken */ || kind === 33 /* LessThanEqualsToken */ || kind === 32 /* GreaterThanToken */ || kind === 34 /* GreaterThanEqualsToken */ || kind === 104 /* InstanceOfKeyword */ || kind === 103 /* InKeyword */; -} -function isRelationalOperatorOrHigher(kind) { - return isRelationalOperator(kind) || isShiftOperatorOrHigher(kind); -} -function isEqualityOperator(kind) { - return kind === 35 /* EqualsEqualsToken */ || kind === 37 /* EqualsEqualsEqualsToken */ || kind === 36 /* ExclamationEqualsToken */ || kind === 38 /* ExclamationEqualsEqualsToken */; -} -function isEqualityOperatorOrHigher(kind) { - return isEqualityOperator(kind) || isRelationalOperatorOrHigher(kind); -} -function isBitwiseOperator(kind) { - return kind === 51 /* AmpersandToken */ || kind === 52 /* BarToken */ || kind === 53 /* CaretToken */; -} -function isBitwiseOperatorOrHigher(kind) { - return isBitwiseOperator(kind) || isEqualityOperatorOrHigher(kind); -} -function isLogicalOperator2(kind) { - return kind === 56 /* AmpersandAmpersandToken */ || kind === 57 /* BarBarToken */; -} -function isLogicalOperatorOrHigher(kind) { - return isLogicalOperator2(kind) || isBitwiseOperatorOrHigher(kind); -} -function isAssignmentOperatorOrHigher(kind) { - return kind === 61 /* QuestionQuestionToken */ || isLogicalOperatorOrHigher(kind) || isAssignmentOperator(kind); -} -function isBinaryOperator(kind) { - return isAssignmentOperatorOrHigher(kind) || kind === 28 /* CommaToken */; -} -function isBinaryOperatorToken(node) { - return isBinaryOperator(node.kind); -} -var BinaryExpressionState; -((BinaryExpressionState2) => { - function enter(machine, stackIndex, stateStack, nodeStack, userStateStack, _resultHolder, outerState) { - const prevUserState = stackIndex > 0 ? userStateStack[stackIndex - 1] : void 0; - Debug.assertEqual(stateStack[stackIndex], enter); - userStateStack[stackIndex] = machine.onEnter(nodeStack[stackIndex], prevUserState, outerState); - stateStack[stackIndex] = nextState(machine, enter); - return stackIndex; - } - BinaryExpressionState2.enter = enter; - function left(machine, stackIndex, stateStack, nodeStack, userStateStack, _resultHolder, _outerState) { - Debug.assertEqual(stateStack[stackIndex], left); - Debug.assertIsDefined(machine.onLeft); - stateStack[stackIndex] = nextState(machine, left); - const nextNode = machine.onLeft(nodeStack[stackIndex].left, userStateStack[stackIndex], nodeStack[stackIndex]); - if (nextNode) { - checkCircularity(stackIndex, nodeStack, nextNode); - return pushStack(stackIndex, stateStack, nodeStack, userStateStack, nextNode); - } - return stackIndex; - } - BinaryExpressionState2.left = left; - function operator(machine, stackIndex, stateStack, nodeStack, userStateStack, _resultHolder, _outerState) { - Debug.assertEqual(stateStack[stackIndex], operator); - Debug.assertIsDefined(machine.onOperator); - stateStack[stackIndex] = nextState(machine, operator); - machine.onOperator(nodeStack[stackIndex].operatorToken, userStateStack[stackIndex], nodeStack[stackIndex]); - return stackIndex; - } - BinaryExpressionState2.operator = operator; - function right(machine, stackIndex, stateStack, nodeStack, userStateStack, _resultHolder, _outerState) { - Debug.assertEqual(stateStack[stackIndex], right); - Debug.assertIsDefined(machine.onRight); - stateStack[stackIndex] = nextState(machine, right); - const nextNode = machine.onRight(nodeStack[stackIndex].right, userStateStack[stackIndex], nodeStack[stackIndex]); - if (nextNode) { - checkCircularity(stackIndex, nodeStack, nextNode); - return pushStack(stackIndex, stateStack, nodeStack, userStateStack, nextNode); - } - return stackIndex; - } - BinaryExpressionState2.right = right; - function exit(machine, stackIndex, stateStack, nodeStack, userStateStack, resultHolder, _outerState) { - Debug.assertEqual(stateStack[stackIndex], exit); - stateStack[stackIndex] = nextState(machine, exit); - const result = machine.onExit(nodeStack[stackIndex], userStateStack[stackIndex]); - if (stackIndex > 0) { - stackIndex--; - if (machine.foldState) { - const side = stateStack[stackIndex] === exit ? "right" : "left"; - userStateStack[stackIndex] = machine.foldState(userStateStack[stackIndex], result, side); - } - } else { - resultHolder.value = result; - } - return stackIndex; - } - BinaryExpressionState2.exit = exit; - function done(_machine, stackIndex, stateStack, _nodeStack, _userStateStack, _resultHolder, _outerState) { - Debug.assertEqual(stateStack[stackIndex], done); - return stackIndex; - } - BinaryExpressionState2.done = done; - function nextState(machine, currentState) { - switch (currentState) { - case enter: - if (machine.onLeft) return left; - case left: - if (machine.onOperator) return operator; - case operator: - if (machine.onRight) return right; - case right: - return exit; - case exit: - return done; - case done: - return done; - default: - Debug.fail("Invalid state"); - } - } - BinaryExpressionState2.nextState = nextState; - function pushStack(stackIndex, stateStack, nodeStack, userStateStack, node) { - stackIndex++; - stateStack[stackIndex] = enter; - nodeStack[stackIndex] = node; - userStateStack[stackIndex] = void 0; - return stackIndex; - } - function checkCircularity(stackIndex, nodeStack, node) { - if (Debug.shouldAssert(2 /* Aggressive */)) { - while (stackIndex >= 0) { - Debug.assert(nodeStack[stackIndex] !== node, "Circular traversal detected."); - stackIndex--; - } - } - } -})(BinaryExpressionState || (BinaryExpressionState = {})); -var BinaryExpressionStateMachine = class { - constructor(onEnter, onLeft, onOperator, onRight, onExit, foldState) { - this.onEnter = onEnter; - this.onLeft = onLeft; - this.onOperator = onOperator; - this.onRight = onRight; - this.onExit = onExit; - this.foldState = foldState; - } -}; -function createBinaryExpressionTrampoline(onEnter, onLeft, onOperator, onRight, onExit, foldState) { - const machine = new BinaryExpressionStateMachine(onEnter, onLeft, onOperator, onRight, onExit, foldState); - return trampoline; - function trampoline(node, outerState) { - const resultHolder = { value: void 0 }; - const stateStack = [BinaryExpressionState.enter]; - const nodeStack = [node]; - const userStateStack = [void 0]; - let stackIndex = 0; - while (stateStack[stackIndex] !== BinaryExpressionState.done) { - stackIndex = stateStack[stackIndex](machine, stackIndex, stateStack, nodeStack, userStateStack, resultHolder, outerState); - } - Debug.assertEqual(stackIndex, 0); - return resultHolder.value; - } -} -function isExportOrDefaultKeywordKind(kind) { - return kind === 95 /* ExportKeyword */ || kind === 90 /* DefaultKeyword */; -} -function isExportOrDefaultModifier(node) { - const kind = node.kind; - return isExportOrDefaultKeywordKind(kind); -} -function elideNodes(factory2, nodes) { - if (nodes === void 0) return void 0; - if (nodes.length === 0) return nodes; - return setTextRange(factory2.createNodeArray([], nodes.hasTrailingComma), nodes); -} -function getNodeForGeneratedName(name) { - var _a; - const autoGenerate = name.emitNode.autoGenerate; - if (autoGenerate.flags & 4 /* Node */) { - const autoGenerateId = autoGenerate.id; - let node = name; - let original = node.original; - while (original) { - node = original; - const autoGenerate2 = (_a = node.emitNode) == null ? void 0 : _a.autoGenerate; - if (isMemberName(node) && (autoGenerate2 === void 0 || !!(autoGenerate2.flags & 4 /* Node */) && autoGenerate2.id !== autoGenerateId)) { - break; - } - original = node.original; - } - return node; - } - return name; -} -function formatGeneratedNamePart(part, generateName) { - return typeof part === "object" ? formatGeneratedName( - /*privateName*/ - false, - part.prefix, - part.node, - part.suffix, - generateName - ) : typeof part === "string" ? part.length > 0 && part.charCodeAt(0) === 35 /* hash */ ? part.slice(1) : part : ""; -} -function formatIdentifier(name, generateName) { - return typeof name === "string" ? name : formatIdentifierWorker(name, Debug.checkDefined(generateName)); -} -function formatIdentifierWorker(node, generateName) { - return isGeneratedPrivateIdentifier(node) ? generateName(node).slice(1) : isGeneratedIdentifier(node) ? generateName(node) : isPrivateIdentifier(node) ? node.escapedText.slice(1) : idText(node); -} -function formatGeneratedName(privateName, prefix, baseName, suffix, generateName) { - prefix = formatGeneratedNamePart(prefix, generateName); - suffix = formatGeneratedNamePart(suffix, generateName); - baseName = formatIdentifier(baseName, generateName); - return `${privateName ? "#" : ""}${prefix}${baseName}${suffix}`; -} -function createAccessorPropertyBackingField(factory2, node, modifiers, initializer) { - return factory2.updatePropertyDeclaration( - node, - modifiers, - factory2.getGeneratedPrivateNameForNode( - node.name, - /*prefix*/ - void 0, - "_accessor_storage" - ), - /*questionOrExclamationToken*/ - void 0, - /*type*/ - void 0, - initializer - ); -} -function createAccessorPropertyGetRedirector(factory2, node, modifiers, name, receiver = factory2.createThis()) { - return factory2.createGetAccessorDeclaration( - modifiers, - name, - [], - /*type*/ - void 0, - factory2.createBlock([ - factory2.createReturnStatement( - factory2.createPropertyAccessExpression( - receiver, - factory2.getGeneratedPrivateNameForNode( - node.name, - /*prefix*/ - void 0, - "_accessor_storage" - ) - ) - ) - ]) - ); -} -function createAccessorPropertySetRedirector(factory2, node, modifiers, name, receiver = factory2.createThis()) { - return factory2.createSetAccessorDeclaration( - modifiers, - name, - [factory2.createParameterDeclaration( - /*modifiers*/ - void 0, - /*dotDotDotToken*/ - void 0, - "value" - )], - factory2.createBlock([ - factory2.createExpressionStatement( - factory2.createAssignment( - factory2.createPropertyAccessExpression( - receiver, - factory2.getGeneratedPrivateNameForNode( - node.name, - /*prefix*/ - void 0, - "_accessor_storage" - ) - ), - factory2.createIdentifier("value") - ) - ) - ]) - ); -} -function findComputedPropertyNameCacheAssignment(name) { - let node = name.expression; - while (true) { - node = skipOuterExpressions(node); - if (isCommaListExpression(node)) { - node = last(node.elements); - continue; - } - if (isCommaExpression(node)) { - node = node.right; - continue; - } - if (isAssignmentExpression( - node, - /*excludeCompoundAssignment*/ - true - ) && isGeneratedIdentifier(node.left)) { - return node; - } - break; - } -} -function isSyntheticParenthesizedExpression(node) { - return isParenthesizedExpression(node) && nodeIsSynthesized(node) && !node.emitNode; -} -function flattenCommaListWorker(node, expressions) { - if (isSyntheticParenthesizedExpression(node)) { - flattenCommaListWorker(node.expression, expressions); - } else if (isCommaExpression(node)) { - flattenCommaListWorker(node.left, expressions); - flattenCommaListWorker(node.right, expressions); - } else if (isCommaListExpression(node)) { - for (const child of node.elements) { - flattenCommaListWorker(child, expressions); - } - } else { - expressions.push(node); - } -} -function flattenCommaList(node) { - const expressions = []; - flattenCommaListWorker(node, expressions); - return expressions; -} -function containsObjectRestOrSpread(node) { - if (node.transformFlags & 65536 /* ContainsObjectRestOrSpread */) return true; - if (node.transformFlags & 128 /* ContainsES2018 */) { - for (const element of getElementsOfBindingOrAssignmentPattern(node)) { - const target = getTargetOfBindingOrAssignmentElement(element); - if (target && isAssignmentPattern(target)) { - if (target.transformFlags & 65536 /* ContainsObjectRestOrSpread */) { - return true; - } - if (target.transformFlags & 128 /* ContainsES2018 */) { - if (containsObjectRestOrSpread(target)) return true; - } - } - } - } - return false; -} - -// src/compiler/factory/utilitiesPublic.ts -function setTextRange(range, location) { - return location ? setTextRangePosEnd(range, location.pos, location.end) : range; -} -function canHaveModifiers(node) { - const kind = node.kind; - return kind === 168 /* TypeParameter */ || kind === 169 /* Parameter */ || kind === 171 /* PropertySignature */ || kind === 172 /* PropertyDeclaration */ || kind === 173 /* MethodSignature */ || kind === 174 /* MethodDeclaration */ || kind === 176 /* Constructor */ || kind === 177 /* GetAccessor */ || kind === 178 /* SetAccessor */ || kind === 181 /* IndexSignature */ || kind === 185 /* ConstructorType */ || kind === 218 /* FunctionExpression */ || kind === 219 /* ArrowFunction */ || kind === 231 /* ClassExpression */ || kind === 243 /* VariableStatement */ || kind === 262 /* FunctionDeclaration */ || kind === 263 /* ClassDeclaration */ || kind === 264 /* InterfaceDeclaration */ || kind === 265 /* TypeAliasDeclaration */ || kind === 266 /* EnumDeclaration */ || kind === 267 /* ModuleDeclaration */ || kind === 271 /* ImportEqualsDeclaration */ || kind === 272 /* ImportDeclaration */ || kind === 277 /* ExportAssignment */ || kind === 278 /* ExportDeclaration */; -} -function canHaveDecorators(node) { - const kind = node.kind; - return kind === 169 /* Parameter */ || kind === 172 /* PropertyDeclaration */ || kind === 174 /* MethodDeclaration */ || kind === 177 /* GetAccessor */ || kind === 178 /* SetAccessor */ || kind === 231 /* ClassExpression */ || kind === 263 /* ClassDeclaration */; -} - -// src/compiler/parser.ts -var NodeConstructor; -var TokenConstructor; -var IdentifierConstructor; -var PrivateIdentifierConstructor; -var SourceFileConstructor; -var parseBaseNodeFactory = { - createBaseSourceFileNode: (kind) => new (SourceFileConstructor || (SourceFileConstructor = objectAllocator.getSourceFileConstructor()))(kind, -1, -1), - createBaseIdentifierNode: (kind) => new (IdentifierConstructor || (IdentifierConstructor = objectAllocator.getIdentifierConstructor()))(kind, -1, -1), - createBasePrivateIdentifierNode: (kind) => new (PrivateIdentifierConstructor || (PrivateIdentifierConstructor = objectAllocator.getPrivateIdentifierConstructor()))(kind, -1, -1), - createBaseTokenNode: (kind) => new (TokenConstructor || (TokenConstructor = objectAllocator.getTokenConstructor()))(kind, -1, -1), - createBaseNode: (kind) => new (NodeConstructor || (NodeConstructor = objectAllocator.getNodeConstructor()))(kind, -1, -1) -}; -var parseNodeFactory = createNodeFactory(1 /* NoParenthesizerRules */, parseBaseNodeFactory); -function visitNode2(cbNode, node) { - return node && cbNode(node); -} -function visitNodes(cbNode, cbNodes, nodes) { - if (nodes) { - if (cbNodes) { - return cbNodes(nodes); - } - for (const node of nodes) { - const result = cbNode(node); - if (result) { - return result; - } - } - } -} -function isJSDocLikeText(text, start) { - return text.charCodeAt(start + 1) === 42 /* asterisk */ && text.charCodeAt(start + 2) === 42 /* asterisk */ && text.charCodeAt(start + 3) !== 47 /* slash */; -} -function isFileProbablyExternalModule(sourceFile) { - return forEach(sourceFile.statements, isAnExternalModuleIndicatorNode) || getImportMetaIfNecessary(sourceFile); -} -function isAnExternalModuleIndicatorNode(node) { - return canHaveModifiers(node) && hasModifierOfKind(node, 95 /* ExportKeyword */) || isImportEqualsDeclaration(node) && isExternalModuleReference(node.moduleReference) || isImportDeclaration(node) || isExportAssignment(node) || isExportDeclaration(node) ? node : void 0; -} -function getImportMetaIfNecessary(sourceFile) { - return sourceFile.flags & 8388608 /* PossiblyContainsImportMeta */ ? walkTreeForImportMeta(sourceFile) : void 0; -} -function walkTreeForImportMeta(node) { - return isImportMeta2(node) ? node : forEachChild(node, walkTreeForImportMeta); -} -function hasModifierOfKind(node, kind) { - return some(node.modifiers, (m) => m.kind === kind); -} -function isImportMeta2(node) { - return isMetaProperty(node) && node.keywordToken === 102 /* ImportKeyword */ && node.name.escapedText === "meta"; -} -var forEachChildTable = { - [166 /* QualifiedName */]: function forEachChildInQualifiedName(node, cbNode, _cbNodes) { - return visitNode2(cbNode, node.left) || visitNode2(cbNode, node.right); - }, - [168 /* TypeParameter */]: function forEachChildInTypeParameter(node, cbNode, cbNodes) { - return visitNodes(cbNode, cbNodes, node.modifiers) || visitNode2(cbNode, node.name) || visitNode2(cbNode, node.constraint) || visitNode2(cbNode, node.default) || visitNode2(cbNode, node.expression); - }, - [304 /* ShorthandPropertyAssignment */]: function forEachChildInShorthandPropertyAssignment(node, cbNode, cbNodes) { - return visitNodes(cbNode, cbNodes, node.modifiers) || visitNode2(cbNode, node.name) || visitNode2(cbNode, node.questionToken) || visitNode2(cbNode, node.exclamationToken) || visitNode2(cbNode, node.equalsToken) || visitNode2(cbNode, node.objectAssignmentInitializer); - }, - [305 /* SpreadAssignment */]: function forEachChildInSpreadAssignment(node, cbNode, _cbNodes) { - return visitNode2(cbNode, node.expression); - }, - [169 /* Parameter */]: function forEachChildInParameter(node, cbNode, cbNodes) { - return visitNodes(cbNode, cbNodes, node.modifiers) || visitNode2(cbNode, node.dotDotDotToken) || visitNode2(cbNode, node.name) || visitNode2(cbNode, node.questionToken) || visitNode2(cbNode, node.type) || visitNode2(cbNode, node.initializer); - }, - [172 /* PropertyDeclaration */]: function forEachChildInPropertyDeclaration(node, cbNode, cbNodes) { - return visitNodes(cbNode, cbNodes, node.modifiers) || visitNode2(cbNode, node.name) || visitNode2(cbNode, node.questionToken) || visitNode2(cbNode, node.exclamationToken) || visitNode2(cbNode, node.type) || visitNode2(cbNode, node.initializer); - }, - [171 /* PropertySignature */]: function forEachChildInPropertySignature(node, cbNode, cbNodes) { - return visitNodes(cbNode, cbNodes, node.modifiers) || visitNode2(cbNode, node.name) || visitNode2(cbNode, node.questionToken) || visitNode2(cbNode, node.type) || visitNode2(cbNode, node.initializer); - }, - [303 /* PropertyAssignment */]: function forEachChildInPropertyAssignment(node, cbNode, cbNodes) { - return visitNodes(cbNode, cbNodes, node.modifiers) || visitNode2(cbNode, node.name) || visitNode2(cbNode, node.questionToken) || visitNode2(cbNode, node.exclamationToken) || visitNode2(cbNode, node.initializer); - }, - [260 /* VariableDeclaration */]: function forEachChildInVariableDeclaration(node, cbNode, _cbNodes) { - return visitNode2(cbNode, node.name) || visitNode2(cbNode, node.exclamationToken) || visitNode2(cbNode, node.type) || visitNode2(cbNode, node.initializer); - }, - [208 /* BindingElement */]: function forEachChildInBindingElement(node, cbNode, _cbNodes) { - return visitNode2(cbNode, node.dotDotDotToken) || visitNode2(cbNode, node.propertyName) || visitNode2(cbNode, node.name) || visitNode2(cbNode, node.initializer); - }, - [181 /* IndexSignature */]: function forEachChildInIndexSignature(node, cbNode, cbNodes) { - return visitNodes(cbNode, cbNodes, node.modifiers) || visitNodes(cbNode, cbNodes, node.typeParameters) || visitNodes(cbNode, cbNodes, node.parameters) || visitNode2(cbNode, node.type); - }, - [185 /* ConstructorType */]: function forEachChildInConstructorType(node, cbNode, cbNodes) { - return visitNodes(cbNode, cbNodes, node.modifiers) || visitNodes(cbNode, cbNodes, node.typeParameters) || visitNodes(cbNode, cbNodes, node.parameters) || visitNode2(cbNode, node.type); - }, - [184 /* FunctionType */]: function forEachChildInFunctionType(node, cbNode, cbNodes) { - return visitNodes(cbNode, cbNodes, node.modifiers) || visitNodes(cbNode, cbNodes, node.typeParameters) || visitNodes(cbNode, cbNodes, node.parameters) || visitNode2(cbNode, node.type); - }, - [179 /* CallSignature */]: forEachChildInCallOrConstructSignature, - [180 /* ConstructSignature */]: forEachChildInCallOrConstructSignature, - [174 /* MethodDeclaration */]: function forEachChildInMethodDeclaration(node, cbNode, cbNodes) { - return visitNodes(cbNode, cbNodes, node.modifiers) || visitNode2(cbNode, node.asteriskToken) || visitNode2(cbNode, node.name) || visitNode2(cbNode, node.questionToken) || visitNode2(cbNode, node.exclamationToken) || visitNodes(cbNode, cbNodes, node.typeParameters) || visitNodes(cbNode, cbNodes, node.parameters) || visitNode2(cbNode, node.type) || visitNode2(cbNode, node.body); - }, - [173 /* MethodSignature */]: function forEachChildInMethodSignature(node, cbNode, cbNodes) { - return visitNodes(cbNode, cbNodes, node.modifiers) || visitNode2(cbNode, node.name) || visitNode2(cbNode, node.questionToken) || visitNodes(cbNode, cbNodes, node.typeParameters) || visitNodes(cbNode, cbNodes, node.parameters) || visitNode2(cbNode, node.type); - }, - [176 /* Constructor */]: function forEachChildInConstructor(node, cbNode, cbNodes) { - return visitNodes(cbNode, cbNodes, node.modifiers) || visitNode2(cbNode, node.name) || visitNodes(cbNode, cbNodes, node.typeParameters) || visitNodes(cbNode, cbNodes, node.parameters) || visitNode2(cbNode, node.type) || visitNode2(cbNode, node.body); - }, - [177 /* GetAccessor */]: function forEachChildInGetAccessor(node, cbNode, cbNodes) { - return visitNodes(cbNode, cbNodes, node.modifiers) || visitNode2(cbNode, node.name) || visitNodes(cbNode, cbNodes, node.typeParameters) || visitNodes(cbNode, cbNodes, node.parameters) || visitNode2(cbNode, node.type) || visitNode2(cbNode, node.body); - }, - [178 /* SetAccessor */]: function forEachChildInSetAccessor(node, cbNode, cbNodes) { - return visitNodes(cbNode, cbNodes, node.modifiers) || visitNode2(cbNode, node.name) || visitNodes(cbNode, cbNodes, node.typeParameters) || visitNodes(cbNode, cbNodes, node.parameters) || visitNode2(cbNode, node.type) || visitNode2(cbNode, node.body); - }, - [262 /* FunctionDeclaration */]: function forEachChildInFunctionDeclaration(node, cbNode, cbNodes) { - return visitNodes(cbNode, cbNodes, node.modifiers) || visitNode2(cbNode, node.asteriskToken) || visitNode2(cbNode, node.name) || visitNodes(cbNode, cbNodes, node.typeParameters) || visitNodes(cbNode, cbNodes, node.parameters) || visitNode2(cbNode, node.type) || visitNode2(cbNode, node.body); - }, - [218 /* FunctionExpression */]: function forEachChildInFunctionExpression(node, cbNode, cbNodes) { - return visitNodes(cbNode, cbNodes, node.modifiers) || visitNode2(cbNode, node.asteriskToken) || visitNode2(cbNode, node.name) || visitNodes(cbNode, cbNodes, node.typeParameters) || visitNodes(cbNode, cbNodes, node.parameters) || visitNode2(cbNode, node.type) || visitNode2(cbNode, node.body); - }, - [219 /* ArrowFunction */]: function forEachChildInArrowFunction(node, cbNode, cbNodes) { - return visitNodes(cbNode, cbNodes, node.modifiers) || visitNodes(cbNode, cbNodes, node.typeParameters) || visitNodes(cbNode, cbNodes, node.parameters) || visitNode2(cbNode, node.type) || visitNode2(cbNode, node.equalsGreaterThanToken) || visitNode2(cbNode, node.body); - }, - [175 /* ClassStaticBlockDeclaration */]: function forEachChildInClassStaticBlockDeclaration(node, cbNode, cbNodes) { - return visitNodes(cbNode, cbNodes, node.modifiers) || visitNode2(cbNode, node.body); - }, - [183 /* TypeReference */]: function forEachChildInTypeReference(node, cbNode, cbNodes) { - return visitNode2(cbNode, node.typeName) || visitNodes(cbNode, cbNodes, node.typeArguments); - }, - [182 /* TypePredicate */]: function forEachChildInTypePredicate(node, cbNode, _cbNodes) { - return visitNode2(cbNode, node.assertsModifier) || visitNode2(cbNode, node.parameterName) || visitNode2(cbNode, node.type); - }, - [186 /* TypeQuery */]: function forEachChildInTypeQuery(node, cbNode, cbNodes) { - return visitNode2(cbNode, node.exprName) || visitNodes(cbNode, cbNodes, node.typeArguments); - }, - [187 /* TypeLiteral */]: function forEachChildInTypeLiteral(node, cbNode, cbNodes) { - return visitNodes(cbNode, cbNodes, node.members); - }, - [188 /* ArrayType */]: function forEachChildInArrayType(node, cbNode, _cbNodes) { - return visitNode2(cbNode, node.elementType); - }, - [189 /* TupleType */]: function forEachChildInTupleType(node, cbNode, cbNodes) { - return visitNodes(cbNode, cbNodes, node.elements); - }, - [192 /* UnionType */]: forEachChildInUnionOrIntersectionType, - [193 /* IntersectionType */]: forEachChildInUnionOrIntersectionType, - [194 /* ConditionalType */]: function forEachChildInConditionalType(node, cbNode, _cbNodes) { - return visitNode2(cbNode, node.checkType) || visitNode2(cbNode, node.extendsType) || visitNode2(cbNode, node.trueType) || visitNode2(cbNode, node.falseType); - }, - [195 /* InferType */]: function forEachChildInInferType(node, cbNode, _cbNodes) { - return visitNode2(cbNode, node.typeParameter); - }, - [205 /* ImportType */]: function forEachChildInImportType(node, cbNode, cbNodes) { - return visitNode2(cbNode, node.argument) || visitNode2(cbNode, node.attributes) || visitNode2(cbNode, node.qualifier) || visitNodes(cbNode, cbNodes, node.typeArguments); - }, - [302 /* ImportTypeAssertionContainer */]: function forEachChildInImportTypeAssertionContainer(node, cbNode, _cbNodes) { - return visitNode2(cbNode, node.assertClause); - }, - [196 /* ParenthesizedType */]: forEachChildInParenthesizedTypeOrTypeOperator, - [198 /* TypeOperator */]: forEachChildInParenthesizedTypeOrTypeOperator, - [199 /* IndexedAccessType */]: function forEachChildInIndexedAccessType(node, cbNode, _cbNodes) { - return visitNode2(cbNode, node.objectType) || visitNode2(cbNode, node.indexType); - }, - [200 /* MappedType */]: function forEachChildInMappedType(node, cbNode, cbNodes) { - return visitNode2(cbNode, node.readonlyToken) || visitNode2(cbNode, node.typeParameter) || visitNode2(cbNode, node.nameType) || visitNode2(cbNode, node.questionToken) || visitNode2(cbNode, node.type) || visitNodes(cbNode, cbNodes, node.members); - }, - [201 /* LiteralType */]: function forEachChildInLiteralType(node, cbNode, _cbNodes) { - return visitNode2(cbNode, node.literal); - }, - [202 /* NamedTupleMember */]: function forEachChildInNamedTupleMember(node, cbNode, _cbNodes) { - return visitNode2(cbNode, node.dotDotDotToken) || visitNode2(cbNode, node.name) || visitNode2(cbNode, node.questionToken) || visitNode2(cbNode, node.type); - }, - [206 /* ObjectBindingPattern */]: forEachChildInObjectOrArrayBindingPattern, - [207 /* ArrayBindingPattern */]: forEachChildInObjectOrArrayBindingPattern, - [209 /* ArrayLiteralExpression */]: function forEachChildInArrayLiteralExpression(node, cbNode, cbNodes) { - return visitNodes(cbNode, cbNodes, node.elements); - }, - [210 /* ObjectLiteralExpression */]: function forEachChildInObjectLiteralExpression(node, cbNode, cbNodes) { - return visitNodes(cbNode, cbNodes, node.properties); - }, - [211 /* PropertyAccessExpression */]: function forEachChildInPropertyAccessExpression(node, cbNode, _cbNodes) { - return visitNode2(cbNode, node.expression) || visitNode2(cbNode, node.questionDotToken) || visitNode2(cbNode, node.name); - }, - [212 /* ElementAccessExpression */]: function forEachChildInElementAccessExpression(node, cbNode, _cbNodes) { - return visitNode2(cbNode, node.expression) || visitNode2(cbNode, node.questionDotToken) || visitNode2(cbNode, node.argumentExpression); - }, - [213 /* CallExpression */]: forEachChildInCallOrNewExpression, - [214 /* NewExpression */]: forEachChildInCallOrNewExpression, - [215 /* TaggedTemplateExpression */]: function forEachChildInTaggedTemplateExpression(node, cbNode, cbNodes) { - return visitNode2(cbNode, node.tag) || visitNode2(cbNode, node.questionDotToken) || visitNodes(cbNode, cbNodes, node.typeArguments) || visitNode2(cbNode, node.template); - }, - [216 /* TypeAssertionExpression */]: function forEachChildInTypeAssertionExpression(node, cbNode, _cbNodes) { - return visitNode2(cbNode, node.type) || visitNode2(cbNode, node.expression); - }, - [217 /* ParenthesizedExpression */]: function forEachChildInParenthesizedExpression(node, cbNode, _cbNodes) { - return visitNode2(cbNode, node.expression); - }, - [220 /* DeleteExpression */]: function forEachChildInDeleteExpression(node, cbNode, _cbNodes) { - return visitNode2(cbNode, node.expression); - }, - [221 /* TypeOfExpression */]: function forEachChildInTypeOfExpression(node, cbNode, _cbNodes) { - return visitNode2(cbNode, node.expression); - }, - [222 /* VoidExpression */]: function forEachChildInVoidExpression(node, cbNode, _cbNodes) { - return visitNode2(cbNode, node.expression); - }, - [224 /* PrefixUnaryExpression */]: function forEachChildInPrefixUnaryExpression(node, cbNode, _cbNodes) { - return visitNode2(cbNode, node.operand); - }, - [229 /* YieldExpression */]: function forEachChildInYieldExpression(node, cbNode, _cbNodes) { - return visitNode2(cbNode, node.asteriskToken) || visitNode2(cbNode, node.expression); - }, - [223 /* AwaitExpression */]: function forEachChildInAwaitExpression(node, cbNode, _cbNodes) { - return visitNode2(cbNode, node.expression); - }, - [225 /* PostfixUnaryExpression */]: function forEachChildInPostfixUnaryExpression(node, cbNode, _cbNodes) { - return visitNode2(cbNode, node.operand); - }, - [226 /* BinaryExpression */]: function forEachChildInBinaryExpression(node, cbNode, _cbNodes) { - return visitNode2(cbNode, node.left) || visitNode2(cbNode, node.operatorToken) || visitNode2(cbNode, node.right); - }, - [234 /* AsExpression */]: function forEachChildInAsExpression(node, cbNode, _cbNodes) { - return visitNode2(cbNode, node.expression) || visitNode2(cbNode, node.type); - }, - [235 /* NonNullExpression */]: function forEachChildInNonNullExpression(node, cbNode, _cbNodes) { - return visitNode2(cbNode, node.expression); - }, - [238 /* SatisfiesExpression */]: function forEachChildInSatisfiesExpression(node, cbNode, _cbNodes) { - return visitNode2(cbNode, node.expression) || visitNode2(cbNode, node.type); - }, - [236 /* MetaProperty */]: function forEachChildInMetaProperty(node, cbNode, _cbNodes) { - return visitNode2(cbNode, node.name); - }, - [227 /* ConditionalExpression */]: function forEachChildInConditionalExpression(node, cbNode, _cbNodes) { - return visitNode2(cbNode, node.condition) || visitNode2(cbNode, node.questionToken) || visitNode2(cbNode, node.whenTrue) || visitNode2(cbNode, node.colonToken) || visitNode2(cbNode, node.whenFalse); - }, - [230 /* SpreadElement */]: function forEachChildInSpreadElement(node, cbNode, _cbNodes) { - return visitNode2(cbNode, node.expression); - }, - [241 /* Block */]: forEachChildInBlock, - [268 /* ModuleBlock */]: forEachChildInBlock, - [307 /* SourceFile */]: function forEachChildInSourceFile(node, cbNode, cbNodes) { - return visitNodes(cbNode, cbNodes, node.statements) || visitNode2(cbNode, node.endOfFileToken); - }, - [243 /* VariableStatement */]: function forEachChildInVariableStatement(node, cbNode, cbNodes) { - return visitNodes(cbNode, cbNodes, node.modifiers) || visitNode2(cbNode, node.declarationList); - }, - [261 /* VariableDeclarationList */]: function forEachChildInVariableDeclarationList(node, cbNode, cbNodes) { - return visitNodes(cbNode, cbNodes, node.declarations); - }, - [244 /* ExpressionStatement */]: function forEachChildInExpressionStatement(node, cbNode, _cbNodes) { - return visitNode2(cbNode, node.expression); - }, - [245 /* IfStatement */]: function forEachChildInIfStatement(node, cbNode, _cbNodes) { - return visitNode2(cbNode, node.expression) || visitNode2(cbNode, node.thenStatement) || visitNode2(cbNode, node.elseStatement); - }, - [246 /* DoStatement */]: function forEachChildInDoStatement(node, cbNode, _cbNodes) { - return visitNode2(cbNode, node.statement) || visitNode2(cbNode, node.expression); - }, - [247 /* WhileStatement */]: function forEachChildInWhileStatement(node, cbNode, _cbNodes) { - return visitNode2(cbNode, node.expression) || visitNode2(cbNode, node.statement); - }, - [248 /* ForStatement */]: function forEachChildInForStatement(node, cbNode, _cbNodes) { - return visitNode2(cbNode, node.initializer) || visitNode2(cbNode, node.condition) || visitNode2(cbNode, node.incrementor) || visitNode2(cbNode, node.statement); - }, - [249 /* ForInStatement */]: function forEachChildInForInStatement(node, cbNode, _cbNodes) { - return visitNode2(cbNode, node.initializer) || visitNode2(cbNode, node.expression) || visitNode2(cbNode, node.statement); - }, - [250 /* ForOfStatement */]: function forEachChildInForOfStatement(node, cbNode, _cbNodes) { - return visitNode2(cbNode, node.awaitModifier) || visitNode2(cbNode, node.initializer) || visitNode2(cbNode, node.expression) || visitNode2(cbNode, node.statement); - }, - [251 /* ContinueStatement */]: forEachChildInContinueOrBreakStatement, - [252 /* BreakStatement */]: forEachChildInContinueOrBreakStatement, - [253 /* ReturnStatement */]: function forEachChildInReturnStatement(node, cbNode, _cbNodes) { - return visitNode2(cbNode, node.expression); - }, - [254 /* WithStatement */]: function forEachChildInWithStatement(node, cbNode, _cbNodes) { - return visitNode2(cbNode, node.expression) || visitNode2(cbNode, node.statement); - }, - [255 /* SwitchStatement */]: function forEachChildInSwitchStatement(node, cbNode, _cbNodes) { - return visitNode2(cbNode, node.expression) || visitNode2(cbNode, node.caseBlock); - }, - [269 /* CaseBlock */]: function forEachChildInCaseBlock(node, cbNode, cbNodes) { - return visitNodes(cbNode, cbNodes, node.clauses); - }, - [296 /* CaseClause */]: function forEachChildInCaseClause(node, cbNode, cbNodes) { - return visitNode2(cbNode, node.expression) || visitNodes(cbNode, cbNodes, node.statements); - }, - [297 /* DefaultClause */]: function forEachChildInDefaultClause(node, cbNode, cbNodes) { - return visitNodes(cbNode, cbNodes, node.statements); - }, - [256 /* LabeledStatement */]: function forEachChildInLabeledStatement(node, cbNode, _cbNodes) { - return visitNode2(cbNode, node.label) || visitNode2(cbNode, node.statement); - }, - [257 /* ThrowStatement */]: function forEachChildInThrowStatement(node, cbNode, _cbNodes) { - return visitNode2(cbNode, node.expression); - }, - [258 /* TryStatement */]: function forEachChildInTryStatement(node, cbNode, _cbNodes) { - return visitNode2(cbNode, node.tryBlock) || visitNode2(cbNode, node.catchClause) || visitNode2(cbNode, node.finallyBlock); - }, - [299 /* CatchClause */]: function forEachChildInCatchClause(node, cbNode, _cbNodes) { - return visitNode2(cbNode, node.variableDeclaration) || visitNode2(cbNode, node.block); - }, - [170 /* Decorator */]: function forEachChildInDecorator(node, cbNode, _cbNodes) { - return visitNode2(cbNode, node.expression); - }, - [263 /* ClassDeclaration */]: forEachChildInClassDeclarationOrExpression, - [231 /* ClassExpression */]: forEachChildInClassDeclarationOrExpression, - [264 /* InterfaceDeclaration */]: function forEachChildInInterfaceDeclaration(node, cbNode, cbNodes) { - return visitNodes(cbNode, cbNodes, node.modifiers) || visitNode2(cbNode, node.name) || visitNodes(cbNode, cbNodes, node.typeParameters) || visitNodes(cbNode, cbNodes, node.heritageClauses) || visitNodes(cbNode, cbNodes, node.members); - }, - [265 /* TypeAliasDeclaration */]: function forEachChildInTypeAliasDeclaration(node, cbNode, cbNodes) { - return visitNodes(cbNode, cbNodes, node.modifiers) || visitNode2(cbNode, node.name) || visitNodes(cbNode, cbNodes, node.typeParameters) || visitNode2(cbNode, node.type); - }, - [266 /* EnumDeclaration */]: function forEachChildInEnumDeclaration(node, cbNode, cbNodes) { - return visitNodes(cbNode, cbNodes, node.modifiers) || visitNode2(cbNode, node.name) || visitNodes(cbNode, cbNodes, node.members); - }, - [306 /* EnumMember */]: function forEachChildInEnumMember(node, cbNode, _cbNodes) { - return visitNode2(cbNode, node.name) || visitNode2(cbNode, node.initializer); - }, - [267 /* ModuleDeclaration */]: function forEachChildInModuleDeclaration(node, cbNode, cbNodes) { - return visitNodes(cbNode, cbNodes, node.modifiers) || visitNode2(cbNode, node.name) || visitNode2(cbNode, node.body); - }, - [271 /* ImportEqualsDeclaration */]: function forEachChildInImportEqualsDeclaration(node, cbNode, cbNodes) { - return visitNodes(cbNode, cbNodes, node.modifiers) || visitNode2(cbNode, node.name) || visitNode2(cbNode, node.moduleReference); - }, - [272 /* ImportDeclaration */]: function forEachChildInImportDeclaration(node, cbNode, cbNodes) { - return visitNodes(cbNode, cbNodes, node.modifiers) || visitNode2(cbNode, node.importClause) || visitNode2(cbNode, node.moduleSpecifier) || visitNode2(cbNode, node.attributes); - }, - [273 /* ImportClause */]: function forEachChildInImportClause(node, cbNode, _cbNodes) { - return visitNode2(cbNode, node.name) || visitNode2(cbNode, node.namedBindings); - }, - [300 /* ImportAttributes */]: function forEachChildInImportAttributes(node, cbNode, cbNodes) { - return visitNodes(cbNode, cbNodes, node.elements); - }, - [301 /* ImportAttribute */]: function forEachChildInImportAttribute(node, cbNode, _cbNodes) { - return visitNode2(cbNode, node.name) || visitNode2(cbNode, node.value); - }, - [270 /* NamespaceExportDeclaration */]: function forEachChildInNamespaceExportDeclaration(node, cbNode, cbNodes) { - return visitNodes(cbNode, cbNodes, node.modifiers) || visitNode2(cbNode, node.name); - }, - [274 /* NamespaceImport */]: function forEachChildInNamespaceImport(node, cbNode, _cbNodes) { - return visitNode2(cbNode, node.name); - }, - [280 /* NamespaceExport */]: function forEachChildInNamespaceExport(node, cbNode, _cbNodes) { - return visitNode2(cbNode, node.name); - }, - [275 /* NamedImports */]: forEachChildInNamedImportsOrExports, - [279 /* NamedExports */]: forEachChildInNamedImportsOrExports, - [278 /* ExportDeclaration */]: function forEachChildInExportDeclaration(node, cbNode, cbNodes) { - return visitNodes(cbNode, cbNodes, node.modifiers) || visitNode2(cbNode, node.exportClause) || visitNode2(cbNode, node.moduleSpecifier) || visitNode2(cbNode, node.attributes); - }, - [276 /* ImportSpecifier */]: forEachChildInImportOrExportSpecifier, - [281 /* ExportSpecifier */]: forEachChildInImportOrExportSpecifier, - [277 /* ExportAssignment */]: function forEachChildInExportAssignment(node, cbNode, cbNodes) { - return visitNodes(cbNode, cbNodes, node.modifiers) || visitNode2(cbNode, node.expression); - }, - [228 /* TemplateExpression */]: function forEachChildInTemplateExpression(node, cbNode, cbNodes) { - return visitNode2(cbNode, node.head) || visitNodes(cbNode, cbNodes, node.templateSpans); - }, - [239 /* TemplateSpan */]: function forEachChildInTemplateSpan(node, cbNode, _cbNodes) { - return visitNode2(cbNode, node.expression) || visitNode2(cbNode, node.literal); - }, - [203 /* TemplateLiteralType */]: function forEachChildInTemplateLiteralType(node, cbNode, cbNodes) { - return visitNode2(cbNode, node.head) || visitNodes(cbNode, cbNodes, node.templateSpans); - }, - [204 /* TemplateLiteralTypeSpan */]: function forEachChildInTemplateLiteralTypeSpan(node, cbNode, _cbNodes) { - return visitNode2(cbNode, node.type) || visitNode2(cbNode, node.literal); - }, - [167 /* ComputedPropertyName */]: function forEachChildInComputedPropertyName(node, cbNode, _cbNodes) { - return visitNode2(cbNode, node.expression); - }, - [298 /* HeritageClause */]: function forEachChildInHeritageClause(node, cbNode, cbNodes) { - return visitNodes(cbNode, cbNodes, node.types); - }, - [233 /* ExpressionWithTypeArguments */]: function forEachChildInExpressionWithTypeArguments(node, cbNode, cbNodes) { - return visitNode2(cbNode, node.expression) || visitNodes(cbNode, cbNodes, node.typeArguments); - }, - [283 /* ExternalModuleReference */]: function forEachChildInExternalModuleReference(node, cbNode, _cbNodes) { - return visitNode2(cbNode, node.expression); - }, - [282 /* MissingDeclaration */]: function forEachChildInMissingDeclaration(node, cbNode, cbNodes) { - return visitNodes(cbNode, cbNodes, node.modifiers); - }, - [355 /* CommaListExpression */]: function forEachChildInCommaListExpression(node, cbNode, cbNodes) { - return visitNodes(cbNode, cbNodes, node.elements); - }, - [284 /* JsxElement */]: function forEachChildInJsxElement(node, cbNode, cbNodes) { - return visitNode2(cbNode, node.openingElement) || visitNodes(cbNode, cbNodes, node.children) || visitNode2(cbNode, node.closingElement); - }, - [288 /* JsxFragment */]: function forEachChildInJsxFragment(node, cbNode, cbNodes) { - return visitNode2(cbNode, node.openingFragment) || visitNodes(cbNode, cbNodes, node.children) || visitNode2(cbNode, node.closingFragment); - }, - [285 /* JsxSelfClosingElement */]: forEachChildInJsxOpeningOrSelfClosingElement, - [286 /* JsxOpeningElement */]: forEachChildInJsxOpeningOrSelfClosingElement, - [292 /* JsxAttributes */]: function forEachChildInJsxAttributes(node, cbNode, cbNodes) { - return visitNodes(cbNode, cbNodes, node.properties); - }, - [291 /* JsxAttribute */]: function forEachChildInJsxAttribute(node, cbNode, _cbNodes) { - return visitNode2(cbNode, node.name) || visitNode2(cbNode, node.initializer); - }, - [293 /* JsxSpreadAttribute */]: function forEachChildInJsxSpreadAttribute(node, cbNode, _cbNodes) { - return visitNode2(cbNode, node.expression); - }, - [294 /* JsxExpression */]: function forEachChildInJsxExpression(node, cbNode, _cbNodes) { - return visitNode2(cbNode, node.dotDotDotToken) || visitNode2(cbNode, node.expression); - }, - [287 /* JsxClosingElement */]: function forEachChildInJsxClosingElement(node, cbNode, _cbNodes) { - return visitNode2(cbNode, node.tagName); - }, - [295 /* JsxNamespacedName */]: function forEachChildInJsxNamespacedName(node, cbNode, _cbNodes) { - return visitNode2(cbNode, node.namespace) || visitNode2(cbNode, node.name); - }, - [190 /* OptionalType */]: forEachChildInOptionalRestOrJSDocParameterModifier, - [191 /* RestType */]: forEachChildInOptionalRestOrJSDocParameterModifier, - [309 /* JSDocTypeExpression */]: forEachChildInOptionalRestOrJSDocParameterModifier, - [315 /* JSDocNonNullableType */]: forEachChildInOptionalRestOrJSDocParameterModifier, - [314 /* JSDocNullableType */]: forEachChildInOptionalRestOrJSDocParameterModifier, - [316 /* JSDocOptionalType */]: forEachChildInOptionalRestOrJSDocParameterModifier, - [318 /* JSDocVariadicType */]: forEachChildInOptionalRestOrJSDocParameterModifier, - [317 /* JSDocFunctionType */]: function forEachChildInJSDocFunctionType(node, cbNode, cbNodes) { - return visitNodes(cbNode, cbNodes, node.parameters) || visitNode2(cbNode, node.type); - }, - [320 /* JSDoc */]: function forEachChildInJSDoc(node, cbNode, cbNodes) { - return (typeof node.comment === "string" ? void 0 : visitNodes(cbNode, cbNodes, node.comment)) || visitNodes(cbNode, cbNodes, node.tags); - }, - [347 /* JSDocSeeTag */]: function forEachChildInJSDocSeeTag(node, cbNode, cbNodes) { - return visitNode2(cbNode, node.tagName) || visitNode2(cbNode, node.name) || (typeof node.comment === "string" ? void 0 : visitNodes(cbNode, cbNodes, node.comment)); - }, - [310 /* JSDocNameReference */]: function forEachChildInJSDocNameReference(node, cbNode, _cbNodes) { - return visitNode2(cbNode, node.name); - }, - [311 /* JSDocMemberName */]: function forEachChildInJSDocMemberName(node, cbNode, _cbNodes) { - return visitNode2(cbNode, node.left) || visitNode2(cbNode, node.right); - }, - [341 /* JSDocParameterTag */]: forEachChildInJSDocParameterOrPropertyTag, - [348 /* JSDocPropertyTag */]: forEachChildInJSDocParameterOrPropertyTag, - [330 /* JSDocAuthorTag */]: function forEachChildInJSDocAuthorTag(node, cbNode, cbNodes) { - return visitNode2(cbNode, node.tagName) || (typeof node.comment === "string" ? void 0 : visitNodes(cbNode, cbNodes, node.comment)); - }, - [329 /* JSDocImplementsTag */]: function forEachChildInJSDocImplementsTag(node, cbNode, cbNodes) { - return visitNode2(cbNode, node.tagName) || visitNode2(cbNode, node.class) || (typeof node.comment === "string" ? void 0 : visitNodes(cbNode, cbNodes, node.comment)); - }, - [328 /* JSDocAugmentsTag */]: function forEachChildInJSDocAugmentsTag(node, cbNode, cbNodes) { - return visitNode2(cbNode, node.tagName) || visitNode2(cbNode, node.class) || (typeof node.comment === "string" ? void 0 : visitNodes(cbNode, cbNodes, node.comment)); - }, - [345 /* JSDocTemplateTag */]: function forEachChildInJSDocTemplateTag(node, cbNode, cbNodes) { - return visitNode2(cbNode, node.tagName) || visitNode2(cbNode, node.constraint) || visitNodes(cbNode, cbNodes, node.typeParameters) || (typeof node.comment === "string" ? void 0 : visitNodes(cbNode, cbNodes, node.comment)); - }, - [346 /* JSDocTypedefTag */]: function forEachChildInJSDocTypedefTag(node, cbNode, cbNodes) { - return visitNode2(cbNode, node.tagName) || (node.typeExpression && node.typeExpression.kind === 309 /* JSDocTypeExpression */ ? visitNode2(cbNode, node.typeExpression) || visitNode2(cbNode, node.fullName) || (typeof node.comment === "string" ? void 0 : visitNodes(cbNode, cbNodes, node.comment)) : visitNode2(cbNode, node.fullName) || visitNode2(cbNode, node.typeExpression) || (typeof node.comment === "string" ? void 0 : visitNodes(cbNode, cbNodes, node.comment))); - }, - [338 /* JSDocCallbackTag */]: function forEachChildInJSDocCallbackTag(node, cbNode, cbNodes) { - return visitNode2(cbNode, node.tagName) || visitNode2(cbNode, node.fullName) || visitNode2(cbNode, node.typeExpression) || (typeof node.comment === "string" ? void 0 : visitNodes(cbNode, cbNodes, node.comment)); - }, - [342 /* JSDocReturnTag */]: forEachChildInJSDocTypeLikeTag, - [344 /* JSDocTypeTag */]: forEachChildInJSDocTypeLikeTag, - [343 /* JSDocThisTag */]: forEachChildInJSDocTypeLikeTag, - [340 /* JSDocEnumTag */]: forEachChildInJSDocTypeLikeTag, - [350 /* JSDocSatisfiesTag */]: forEachChildInJSDocTypeLikeTag, - [349 /* JSDocThrowsTag */]: forEachChildInJSDocTypeLikeTag, - [339 /* JSDocOverloadTag */]: forEachChildInJSDocTypeLikeTag, - [323 /* JSDocSignature */]: function forEachChildInJSDocSignature(node, cbNode, _cbNodes) { - return forEach(node.typeParameters, cbNode) || forEach(node.parameters, cbNode) || visitNode2(cbNode, node.type); - }, - [324 /* JSDocLink */]: forEachChildInJSDocLinkCodeOrPlain, - [325 /* JSDocLinkCode */]: forEachChildInJSDocLinkCodeOrPlain, - [326 /* JSDocLinkPlain */]: forEachChildInJSDocLinkCodeOrPlain, - [322 /* JSDocTypeLiteral */]: function forEachChildInJSDocTypeLiteral(node, cbNode, _cbNodes) { - return forEach(node.jsDocPropertyTags, cbNode); - }, - [327 /* JSDocTag */]: forEachChildInJSDocTag, - [332 /* JSDocClassTag */]: forEachChildInJSDocTag, - [333 /* JSDocPublicTag */]: forEachChildInJSDocTag, - [334 /* JSDocPrivateTag */]: forEachChildInJSDocTag, - [335 /* JSDocProtectedTag */]: forEachChildInJSDocTag, - [336 /* JSDocReadonlyTag */]: forEachChildInJSDocTag, - [331 /* JSDocDeprecatedTag */]: forEachChildInJSDocTag, - [337 /* JSDocOverrideTag */]: forEachChildInJSDocTag, - [351 /* JSDocImportTag */]: forEachChildInJSDocImportTag, - [354 /* PartiallyEmittedExpression */]: forEachChildInPartiallyEmittedExpression -}; -function forEachChildInCallOrConstructSignature(node, cbNode, cbNodes) { - return visitNodes(cbNode, cbNodes, node.typeParameters) || visitNodes(cbNode, cbNodes, node.parameters) || visitNode2(cbNode, node.type); -} -function forEachChildInUnionOrIntersectionType(node, cbNode, cbNodes) { - return visitNodes(cbNode, cbNodes, node.types); -} -function forEachChildInParenthesizedTypeOrTypeOperator(node, cbNode, _cbNodes) { - return visitNode2(cbNode, node.type); -} -function forEachChildInObjectOrArrayBindingPattern(node, cbNode, cbNodes) { - return visitNodes(cbNode, cbNodes, node.elements); -} -function forEachChildInCallOrNewExpression(node, cbNode, cbNodes) { - return visitNode2(cbNode, node.expression) || // TODO: should we separate these branches out? - visitNode2(cbNode, node.questionDotToken) || visitNodes(cbNode, cbNodes, node.typeArguments) || visitNodes(cbNode, cbNodes, node.arguments); -} -function forEachChildInBlock(node, cbNode, cbNodes) { - return visitNodes(cbNode, cbNodes, node.statements); -} -function forEachChildInContinueOrBreakStatement(node, cbNode, _cbNodes) { - return visitNode2(cbNode, node.label); -} -function forEachChildInClassDeclarationOrExpression(node, cbNode, cbNodes) { - return visitNodes(cbNode, cbNodes, node.modifiers) || visitNode2(cbNode, node.name) || visitNodes(cbNode, cbNodes, node.typeParameters) || visitNodes(cbNode, cbNodes, node.heritageClauses) || visitNodes(cbNode, cbNodes, node.members); -} -function forEachChildInNamedImportsOrExports(node, cbNode, cbNodes) { - return visitNodes(cbNode, cbNodes, node.elements); -} -function forEachChildInImportOrExportSpecifier(node, cbNode, _cbNodes) { - return visitNode2(cbNode, node.propertyName) || visitNode2(cbNode, node.name); -} -function forEachChildInJsxOpeningOrSelfClosingElement(node, cbNode, cbNodes) { - return visitNode2(cbNode, node.tagName) || visitNodes(cbNode, cbNodes, node.typeArguments) || visitNode2(cbNode, node.attributes); -} -function forEachChildInOptionalRestOrJSDocParameterModifier(node, cbNode, _cbNodes) { - return visitNode2(cbNode, node.type); -} -function forEachChildInJSDocParameterOrPropertyTag(node, cbNode, cbNodes) { - return visitNode2(cbNode, node.tagName) || (node.isNameFirst ? visitNode2(cbNode, node.name) || visitNode2(cbNode, node.typeExpression) : visitNode2(cbNode, node.typeExpression) || visitNode2(cbNode, node.name)) || (typeof node.comment === "string" ? void 0 : visitNodes(cbNode, cbNodes, node.comment)); -} -function forEachChildInJSDocTypeLikeTag(node, cbNode, cbNodes) { - return visitNode2(cbNode, node.tagName) || visitNode2(cbNode, node.typeExpression) || (typeof node.comment === "string" ? void 0 : visitNodes(cbNode, cbNodes, node.comment)); -} -function forEachChildInJSDocLinkCodeOrPlain(node, cbNode, _cbNodes) { - return visitNode2(cbNode, node.name); -} -function forEachChildInJSDocTag(node, cbNode, cbNodes) { - return visitNode2(cbNode, node.tagName) || (typeof node.comment === "string" ? void 0 : visitNodes(cbNode, cbNodes, node.comment)); -} -function forEachChildInJSDocImportTag(node, cbNode, cbNodes) { - return visitNode2(cbNode, node.tagName) || visitNode2(cbNode, node.importClause) || visitNode2(cbNode, node.moduleSpecifier) || visitNode2(cbNode, node.attributes) || (typeof node.comment === "string" ? void 0 : visitNodes(cbNode, cbNodes, node.comment)); -} -function forEachChildInPartiallyEmittedExpression(node, cbNode, _cbNodes) { - return visitNode2(cbNode, node.expression); -} -function forEachChild(node, cbNode, cbNodes) { - if (node === void 0 || node.kind <= 165 /* LastToken */) { - return; - } - const fn = forEachChildTable[node.kind]; - return fn === void 0 ? void 0 : fn(node, cbNode, cbNodes); -} -function forEachChildRecursively(rootNode, cbNode, cbNodes) { - const queue = gatherPossibleChildren(rootNode); - const parents = []; - while (parents.length < queue.length) { - parents.push(rootNode); - } - while (queue.length !== 0) { - const current = queue.pop(); - const parent = parents.pop(); - if (isArray(current)) { - if (cbNodes) { - const res = cbNodes(current, parent); - if (res) { - if (res === "skip") continue; - return res; - } - } - for (let i = current.length - 1; i >= 0; --i) { - queue.push(current[i]); - parents.push(parent); - } - } else { - const res = cbNode(current, parent); - if (res) { - if (res === "skip") continue; - return res; - } - if (current.kind >= 166 /* FirstNode */) { - for (const child of gatherPossibleChildren(current)) { - queue.push(child); - parents.push(current); - } - } - } - } -} -function gatherPossibleChildren(node) { - const children = []; - forEachChild(node, addWorkItem, addWorkItem); - return children; - function addWorkItem(n) { - children.unshift(n); - } -} -function setExternalModuleIndicator(sourceFile) { - sourceFile.externalModuleIndicator = isFileProbablyExternalModule(sourceFile); -} -function createSourceFile(fileName, sourceText, languageVersionOrOptions, setParentNodes = false, scriptKind) { - var _a, _b; - (_a = tracing) == null ? void 0 : _a.push( - tracing.Phase.Parse, - "createSourceFile", - { path: fileName }, - /*separateBeginAndEnd*/ - true - ); - mark("beforeParse"); - let result; - const { - languageVersion, - setExternalModuleIndicator: overrideSetExternalModuleIndicator, - impliedNodeFormat: format, - jsDocParsingMode - } = typeof languageVersionOrOptions === "object" ? languageVersionOrOptions : { languageVersion: languageVersionOrOptions }; - if (languageVersion === 100 /* JSON */) { - result = Parser.parseSourceFile( - fileName, - sourceText, - languageVersion, - /*syntaxCursor*/ - void 0, - setParentNodes, - 6 /* JSON */, - noop, - jsDocParsingMode - ); - } else { - const setIndicator = format === void 0 ? overrideSetExternalModuleIndicator : (file) => { - file.impliedNodeFormat = format; - return (overrideSetExternalModuleIndicator || setExternalModuleIndicator)(file); - }; - result = Parser.parseSourceFile( - fileName, - sourceText, - languageVersion, - /*syntaxCursor*/ - void 0, - setParentNodes, - scriptKind, - setIndicator, - jsDocParsingMode - ); - } - mark("afterParse"); - measure("Parse", "beforeParse", "afterParse"); - (_b = tracing) == null ? void 0 : _b.pop(); - return result; -} -function parseIsolatedEntityName(text, languageVersion) { - return Parser.parseIsolatedEntityName(text, languageVersion); -} -function parseJsonText(fileName, sourceText) { - return Parser.parseJsonText(fileName, sourceText); -} -function isExternalModule(file) { - return file.externalModuleIndicator !== void 0; -} -var Parser; -((Parser2) => { - var scanner = createScanner( - 99 /* Latest */, - /*skipTrivia*/ - true - ); - var disallowInAndDecoratorContext = 8192 /* DisallowInContext */ | 32768 /* DecoratorContext */; - var NodeConstructor2; - var TokenConstructor2; - var IdentifierConstructor2; - var PrivateIdentifierConstructor2; - var SourceFileConstructor2; - function countNode(node) { - nodeCount++; - return node; - } - var baseNodeFactory = { - createBaseSourceFileNode: (kind) => countNode(new SourceFileConstructor2( - kind, - /*pos*/ - 0, - /*end*/ - 0 - )), - createBaseIdentifierNode: (kind) => countNode(new IdentifierConstructor2( - kind, - /*pos*/ - 0, - /*end*/ - 0 - )), - createBasePrivateIdentifierNode: (kind) => countNode(new PrivateIdentifierConstructor2( - kind, - /*pos*/ - 0, - /*end*/ - 0 - )), - createBaseTokenNode: (kind) => countNode(new TokenConstructor2( - kind, - /*pos*/ - 0, - /*end*/ - 0 - )), - createBaseNode: (kind) => countNode(new NodeConstructor2( - kind, - /*pos*/ - 0, - /*end*/ - 0 - )) - }; - var factory2 = createNodeFactory(1 /* NoParenthesizerRules */ | 2 /* NoNodeConverters */ | 8 /* NoOriginalNode */, baseNodeFactory); - var { - createNodeArray: factoryCreateNodeArray, - createNumericLiteral: factoryCreateNumericLiteral, - createStringLiteral: factoryCreateStringLiteral, - createLiteralLikeNode: factoryCreateLiteralLikeNode, - createIdentifier: factoryCreateIdentifier, - createPrivateIdentifier: factoryCreatePrivateIdentifier, - createToken: factoryCreateToken, - createArrayLiteralExpression: factoryCreateArrayLiteralExpression, - createObjectLiteralExpression: factoryCreateObjectLiteralExpression, - createPropertyAccessExpression: factoryCreatePropertyAccessExpression, - createPropertyAccessChain: factoryCreatePropertyAccessChain, - createElementAccessExpression: factoryCreateElementAccessExpression, - createElementAccessChain: factoryCreateElementAccessChain, - createCallExpression: factoryCreateCallExpression, - createCallChain: factoryCreateCallChain, - createNewExpression: factoryCreateNewExpression, - createParenthesizedExpression: factoryCreateParenthesizedExpression, - createBlock: factoryCreateBlock, - createVariableStatement: factoryCreateVariableStatement, - createExpressionStatement: factoryCreateExpressionStatement, - createIfStatement: factoryCreateIfStatement, - createWhileStatement: factoryCreateWhileStatement, - createForStatement: factoryCreateForStatement, - createForOfStatement: factoryCreateForOfStatement, - createVariableDeclaration: factoryCreateVariableDeclaration, - createVariableDeclarationList: factoryCreateVariableDeclarationList - } = factory2; - var fileName; - var sourceFlags; - var sourceText; - var languageVersion; - var scriptKind; - var languageVariant; - var parseDiagnostics; - var jsDocDiagnostics; - var syntaxCursor; - var currentToken; - var nodeCount; - var identifiers; - var identifierCount; - var parsingContext; - var notParenthesizedArrow; - var contextFlags; - var topLevel = true; - var parseErrorBeforeNextFinishedNode = false; - function parseSourceFile(fileName2, sourceText2, languageVersion2, syntaxCursor2, setParentNodes = false, scriptKind2, setExternalModuleIndicatorOverride, jsDocParsingMode = 0 /* ParseAll */) { - var _a; - scriptKind2 = ensureScriptKind(fileName2, scriptKind2); - if (scriptKind2 === 6 /* JSON */) { - const result2 = parseJsonText2(fileName2, sourceText2, languageVersion2, syntaxCursor2, setParentNodes); - convertToJson( - result2, - (_a = result2.statements[0]) == null ? void 0 : _a.expression, - result2.parseDiagnostics, - /*returnValue*/ - false, - /*jsonConversionNotifier*/ - void 0 - ); - result2.referencedFiles = emptyArray; - result2.typeReferenceDirectives = emptyArray; - result2.libReferenceDirectives = emptyArray; - result2.amdDependencies = emptyArray; - result2.hasNoDefaultLib = false; - result2.pragmas = emptyMap; - return result2; - } - initializeState(fileName2, sourceText2, languageVersion2, syntaxCursor2, scriptKind2, jsDocParsingMode); - const result = parseSourceFileWorker(languageVersion2, setParentNodes, scriptKind2, setExternalModuleIndicatorOverride || setExternalModuleIndicator, jsDocParsingMode); - clearState(); - return result; - } - Parser2.parseSourceFile = parseSourceFile; - function parseIsolatedEntityName2(content, languageVersion2) { - initializeState( - "", - content, - languageVersion2, - /*syntaxCursor*/ - void 0, - 1 /* JS */, - 0 /* ParseAll */ - ); - nextToken(); - const entityName = parseEntityName( - /*allowReservedWords*/ - true - ); - const isValid = token() === 1 /* EndOfFileToken */ && !parseDiagnostics.length; - clearState(); - return isValid ? entityName : void 0; - } - Parser2.parseIsolatedEntityName = parseIsolatedEntityName2; - function parseJsonText2(fileName2, sourceText2, languageVersion2 = 2 /* ES2015 */, syntaxCursor2, setParentNodes = false) { - initializeState(fileName2, sourceText2, languageVersion2, syntaxCursor2, 6 /* JSON */, 0 /* ParseAll */); - sourceFlags = contextFlags; - nextToken(); - const pos = getNodePos(); - let statements, endOfFileToken; - if (token() === 1 /* EndOfFileToken */) { - statements = createNodeArray([], pos, pos); - endOfFileToken = parseTokenNode(); - } else { - let expressions; - while (token() !== 1 /* EndOfFileToken */) { - let expression2; - switch (token()) { - case 23 /* OpenBracketToken */: - expression2 = parseArrayLiteralExpression(); - break; - case 112 /* TrueKeyword */: - case 97 /* FalseKeyword */: - case 106 /* NullKeyword */: - expression2 = parseTokenNode(); - break; - case 41 /* MinusToken */: - if (lookAhead(() => nextToken() === 9 /* NumericLiteral */ && nextToken() !== 59 /* ColonToken */)) { - expression2 = parsePrefixUnaryExpression(); - } else { - expression2 = parseObjectLiteralExpression(); - } - break; - case 9 /* NumericLiteral */: - case 11 /* StringLiteral */: - if (lookAhead(() => nextToken() !== 59 /* ColonToken */)) { - expression2 = parseLiteralNode(); - break; - } - default: - expression2 = parseObjectLiteralExpression(); - break; - } - if (expressions && isArray(expressions)) { - expressions.push(expression2); - } else if (expressions) { - expressions = [expressions, expression2]; - } else { - expressions = expression2; - if (token() !== 1 /* EndOfFileToken */) { - parseErrorAtCurrentToken(Diagnostics.Unexpected_token); - } - } - } - const expression = isArray(expressions) ? finishNode(factoryCreateArrayLiteralExpression(expressions), pos) : Debug.checkDefined(expressions); - const statement = factoryCreateExpressionStatement(expression); - finishNode(statement, pos); - statements = createNodeArray([statement], pos); - endOfFileToken = parseExpectedToken(1 /* EndOfFileToken */, Diagnostics.Unexpected_token); - } - const sourceFile = createSourceFile2( - fileName2, - 2 /* ES2015 */, - 6 /* JSON */, - /*isDeclarationFile*/ - false, - statements, - endOfFileToken, - sourceFlags, - noop - ); - if (setParentNodes) { - fixupParentReferences(sourceFile); - } - sourceFile.nodeCount = nodeCount; - sourceFile.identifierCount = identifierCount; - sourceFile.identifiers = identifiers; - sourceFile.parseDiagnostics = attachFileToDiagnostics(parseDiagnostics, sourceFile); - if (jsDocDiagnostics) { - sourceFile.jsDocDiagnostics = attachFileToDiagnostics(jsDocDiagnostics, sourceFile); - } - const result = sourceFile; - clearState(); - return result; - } - Parser2.parseJsonText = parseJsonText2; - function initializeState(_fileName, _sourceText, _languageVersion, _syntaxCursor, _scriptKind, _jsDocParsingMode) { - NodeConstructor2 = objectAllocator.getNodeConstructor(); - TokenConstructor2 = objectAllocator.getTokenConstructor(); - IdentifierConstructor2 = objectAllocator.getIdentifierConstructor(); - PrivateIdentifierConstructor2 = objectAllocator.getPrivateIdentifierConstructor(); - SourceFileConstructor2 = objectAllocator.getSourceFileConstructor(); - fileName = normalizePath(_fileName); - sourceText = _sourceText; - languageVersion = _languageVersion; - syntaxCursor = _syntaxCursor; - scriptKind = _scriptKind; - languageVariant = getLanguageVariant(_scriptKind); - parseDiagnostics = []; - parsingContext = 0; - identifiers = /* @__PURE__ */ new Map(); - identifierCount = 0; - nodeCount = 0; - sourceFlags = 0; - topLevel = true; - switch (scriptKind) { - case 1 /* JS */: - case 2 /* JSX */: - contextFlags = 524288 /* JavaScriptFile */; - break; - case 6 /* JSON */: - contextFlags = 524288 /* JavaScriptFile */ | 134217728 /* JsonFile */; - break; - default: - contextFlags = 0 /* None */; - break; - } - parseErrorBeforeNextFinishedNode = false; - scanner.setText(sourceText); - scanner.setOnError(scanError); - scanner.setScriptTarget(languageVersion); - scanner.setLanguageVariant(languageVariant); - scanner.setScriptKind(scriptKind); - scanner.setJSDocParsingMode(_jsDocParsingMode); - } - function clearState() { - scanner.clearCommentDirectives(); - scanner.setText(""); - scanner.setOnError(void 0); - scanner.setScriptKind(0 /* Unknown */); - scanner.setJSDocParsingMode(0 /* ParseAll */); - sourceText = void 0; - languageVersion = void 0; - syntaxCursor = void 0; - scriptKind = void 0; - languageVariant = void 0; - sourceFlags = 0; - parseDiagnostics = void 0; - jsDocDiagnostics = void 0; - parsingContext = 0; - identifiers = void 0; - notParenthesizedArrow = void 0; - topLevel = true; - } - function parseSourceFileWorker(languageVersion2, setParentNodes, scriptKind2, setExternalModuleIndicator2, jsDocParsingMode) { - const isDeclarationFile = isDeclarationFileName(fileName); - if (isDeclarationFile) { - contextFlags |= 33554432 /* Ambient */; - } - sourceFlags = contextFlags; - nextToken(); - const statements = parseList(0 /* SourceElements */, parseStatement); - Debug.assert(token() === 1 /* EndOfFileToken */); - const endHasJSDoc = hasPrecedingJSDocComment(); - const endOfFileToken = withJSDoc(parseTokenNode(), endHasJSDoc); - const sourceFile = createSourceFile2(fileName, languageVersion2, scriptKind2, isDeclarationFile, statements, endOfFileToken, sourceFlags, setExternalModuleIndicator2); - processCommentPragmas(sourceFile, sourceText); - processPragmasIntoFields(sourceFile, reportPragmaDiagnostic); - sourceFile.commentDirectives = scanner.getCommentDirectives(); - sourceFile.nodeCount = nodeCount; - sourceFile.identifierCount = identifierCount; - sourceFile.identifiers = identifiers; - sourceFile.parseDiagnostics = attachFileToDiagnostics(parseDiagnostics, sourceFile); - sourceFile.jsDocParsingMode = jsDocParsingMode; - if (jsDocDiagnostics) { - sourceFile.jsDocDiagnostics = attachFileToDiagnostics(jsDocDiagnostics, sourceFile); - } - if (setParentNodes) { - fixupParentReferences(sourceFile); - } - return sourceFile; - function reportPragmaDiagnostic(pos, end, diagnostic) { - parseDiagnostics.push(createDetachedDiagnostic(fileName, sourceText, pos, end, diagnostic)); - } - } - let hasDeprecatedTag = false; - function withJSDoc(node, hasJSDoc) { - if (!hasJSDoc) { - return node; - } - Debug.assert(!node.jsDoc); - const jsDoc = mapDefined(getJSDocCommentRanges(node, sourceText), (comment) => JSDocParser.parseJSDocComment(node, comment.pos, comment.end - comment.pos)); - if (jsDoc.length) node.jsDoc = jsDoc; - if (hasDeprecatedTag) { - hasDeprecatedTag = false; - node.flags |= 536870912 /* Deprecated */; - } - return node; - } - function reparseTopLevelAwait(sourceFile) { - const savedSyntaxCursor = syntaxCursor; - const baseSyntaxCursor = IncrementalParser.createSyntaxCursor(sourceFile); - syntaxCursor = { currentNode: currentNode2 }; - const statements = []; - const savedParseDiagnostics = parseDiagnostics; - parseDiagnostics = []; - let pos = 0; - let start = findNextStatementWithAwait(sourceFile.statements, 0); - while (start !== -1) { - const prevStatement = sourceFile.statements[pos]; - const nextStatement = sourceFile.statements[start]; - addRange(statements, sourceFile.statements, pos, start); - pos = findNextStatementWithoutAwait(sourceFile.statements, start); - const diagnosticStart = findIndex(savedParseDiagnostics, (diagnostic) => diagnostic.start >= prevStatement.pos); - const diagnosticEnd = diagnosticStart >= 0 ? findIndex(savedParseDiagnostics, (diagnostic) => diagnostic.start >= nextStatement.pos, diagnosticStart) : -1; - if (diagnosticStart >= 0) { - addRange(parseDiagnostics, savedParseDiagnostics, diagnosticStart, diagnosticEnd >= 0 ? diagnosticEnd : void 0); - } - speculationHelper(() => { - const savedContextFlags = contextFlags; - contextFlags |= 65536 /* AwaitContext */; - scanner.resetTokenState(nextStatement.pos); - nextToken(); - while (token() !== 1 /* EndOfFileToken */) { - const startPos = scanner.getTokenFullStart(); - const statement = parseListElement(0 /* SourceElements */, parseStatement); - statements.push(statement); - if (startPos === scanner.getTokenFullStart()) { - nextToken(); - } - if (pos >= 0) { - const nonAwaitStatement = sourceFile.statements[pos]; - if (statement.end === nonAwaitStatement.pos) { - break; - } - if (statement.end > nonAwaitStatement.pos) { - pos = findNextStatementWithoutAwait(sourceFile.statements, pos + 1); - } - } - } - contextFlags = savedContextFlags; - }, 2 /* Reparse */); - start = pos >= 0 ? findNextStatementWithAwait(sourceFile.statements, pos) : -1; - } - if (pos >= 0) { - const prevStatement = sourceFile.statements[pos]; - addRange(statements, sourceFile.statements, pos); - const diagnosticStart = findIndex(savedParseDiagnostics, (diagnostic) => diagnostic.start >= prevStatement.pos); - if (diagnosticStart >= 0) { - addRange(parseDiagnostics, savedParseDiagnostics, diagnosticStart); - } - } - syntaxCursor = savedSyntaxCursor; - return factory2.updateSourceFile(sourceFile, setTextRange(factoryCreateNodeArray(statements), sourceFile.statements)); - function containsPossibleTopLevelAwait(node) { - return !(node.flags & 65536 /* AwaitContext */) && !!(node.transformFlags & 67108864 /* ContainsPossibleTopLevelAwait */); - } - function findNextStatementWithAwait(statements2, start2) { - for (let i = start2; i < statements2.length; i++) { - if (containsPossibleTopLevelAwait(statements2[i])) { - return i; - } - } - return -1; - } - function findNextStatementWithoutAwait(statements2, start2) { - for (let i = start2; i < statements2.length; i++) { - if (!containsPossibleTopLevelAwait(statements2[i])) { - return i; - } - } - return -1; - } - function currentNode2(position) { - const node = baseSyntaxCursor.currentNode(position); - if (topLevel && node && containsPossibleTopLevelAwait(node)) { - markAsIntersectingIncrementalChange(node); - } - return node; - } - } - function fixupParentReferences(rootNode) { - setParentRecursive( - rootNode, - /*incremental*/ - true - ); - } - Parser2.fixupParentReferences = fixupParentReferences; - function createSourceFile2(fileName2, languageVersion2, scriptKind2, isDeclarationFile, statements, endOfFileToken, flags, setExternalModuleIndicator2) { - let sourceFile = factory2.createSourceFile(statements, endOfFileToken, flags); - setTextRangePosWidth(sourceFile, 0, sourceText.length); - setFields(sourceFile); - if (!isDeclarationFile && isExternalModule(sourceFile) && sourceFile.transformFlags & 67108864 /* ContainsPossibleTopLevelAwait */) { - const oldSourceFile = sourceFile; - sourceFile = reparseTopLevelAwait(sourceFile); - if (oldSourceFile !== sourceFile) setFields(sourceFile); - } - return sourceFile; - function setFields(sourceFile2) { - sourceFile2.text = sourceText; - sourceFile2.bindDiagnostics = []; - sourceFile2.bindSuggestionDiagnostics = void 0; - sourceFile2.languageVersion = languageVersion2; - sourceFile2.fileName = fileName2; - sourceFile2.languageVariant = getLanguageVariant(scriptKind2); - sourceFile2.isDeclarationFile = isDeclarationFile; - sourceFile2.scriptKind = scriptKind2; - setExternalModuleIndicator2(sourceFile2); - sourceFile2.setExternalModuleIndicator = setExternalModuleIndicator2; - } - } - function setContextFlag(val, flag) { - if (val) { - contextFlags |= flag; - } else { - contextFlags &= ~flag; - } - } - function setDisallowInContext(val) { - setContextFlag(val, 8192 /* DisallowInContext */); - } - function setYieldContext(val) { - setContextFlag(val, 16384 /* YieldContext */); - } - function setDecoratorContext(val) { - setContextFlag(val, 32768 /* DecoratorContext */); - } - function setAwaitContext(val) { - setContextFlag(val, 65536 /* AwaitContext */); - } - function doOutsideOfContext(context, func) { - const contextFlagsToClear = context & contextFlags; - if (contextFlagsToClear) { - setContextFlag( - /*val*/ - false, - contextFlagsToClear - ); - const result = func(); - setContextFlag( - /*val*/ - true, - contextFlagsToClear - ); - return result; - } - return func(); - } - function doInsideOfContext(context, func) { - const contextFlagsToSet = context & ~contextFlags; - if (contextFlagsToSet) { - setContextFlag( - /*val*/ - true, - contextFlagsToSet - ); - const result = func(); - setContextFlag( - /*val*/ - false, - contextFlagsToSet - ); - return result; - } - return func(); - } - function allowInAnd(func) { - return doOutsideOfContext(8192 /* DisallowInContext */, func); - } - function disallowInAnd(func) { - return doInsideOfContext(8192 /* DisallowInContext */, func); - } - function allowConditionalTypesAnd(func) { - return doOutsideOfContext(131072 /* DisallowConditionalTypesContext */, func); - } - function disallowConditionalTypesAnd(func) { - return doInsideOfContext(131072 /* DisallowConditionalTypesContext */, func); - } - function doInYieldContext(func) { - return doInsideOfContext(16384 /* YieldContext */, func); - } - function doInDecoratorContext(func) { - return doInsideOfContext(32768 /* DecoratorContext */, func); - } - function doInAwaitContext(func) { - return doInsideOfContext(65536 /* AwaitContext */, func); - } - function doOutsideOfAwaitContext(func) { - return doOutsideOfContext(65536 /* AwaitContext */, func); - } - function doInYieldAndAwaitContext(func) { - return doInsideOfContext(16384 /* YieldContext */ | 65536 /* AwaitContext */, func); - } - function doOutsideOfYieldAndAwaitContext(func) { - return doOutsideOfContext(16384 /* YieldContext */ | 65536 /* AwaitContext */, func); - } - function inContext(flags) { - return (contextFlags & flags) !== 0; - } - function inYieldContext() { - return inContext(16384 /* YieldContext */); - } - function inDisallowInContext() { - return inContext(8192 /* DisallowInContext */); - } - function inDisallowConditionalTypesContext() { - return inContext(131072 /* DisallowConditionalTypesContext */); - } - function inDecoratorContext() { - return inContext(32768 /* DecoratorContext */); - } - function inAwaitContext() { - return inContext(65536 /* AwaitContext */); - } - function parseErrorAtCurrentToken(message, ...args) { - return parseErrorAt(scanner.getTokenStart(), scanner.getTokenEnd(), message, ...args); - } - function parseErrorAtPosition(start, length2, message, ...args) { - const lastError = lastOrUndefined(parseDiagnostics); - let result; - if (!lastError || start !== lastError.start) { - result = createDetachedDiagnostic(fileName, sourceText, start, length2, message, ...args); - parseDiagnostics.push(result); - } - parseErrorBeforeNextFinishedNode = true; - return result; - } - function parseErrorAt(start, end, message, ...args) { - return parseErrorAtPosition(start, end - start, message, ...args); - } - function parseErrorAtRange(range, message, ...args) { - parseErrorAt(range.pos, range.end, message, ...args); - } - function scanError(message, length2, arg0) { - parseErrorAtPosition(scanner.getTokenEnd(), length2, message, arg0); - } - function getNodePos() { - return scanner.getTokenFullStart(); - } - function hasPrecedingJSDocComment() { - return scanner.hasPrecedingJSDocComment(); - } - function token() { - return currentToken; - } - function nextTokenWithoutCheck() { - return currentToken = scanner.scan(); - } - function nextTokenAnd(func) { - nextToken(); - return func(); - } - function nextToken() { - if (isKeyword(currentToken) && (scanner.hasUnicodeEscape() || scanner.hasExtendedUnicodeEscape())) { - parseErrorAt(scanner.getTokenStart(), scanner.getTokenEnd(), Diagnostics.Keywords_cannot_contain_escape_characters); - } - return nextTokenWithoutCheck(); - } - function nextTokenJSDoc() { - return currentToken = scanner.scanJsDocToken(); - } - function nextJSDocCommentTextToken(inBackticks) { - return currentToken = scanner.scanJSDocCommentTextToken(inBackticks); - } - function reScanGreaterToken() { - return currentToken = scanner.reScanGreaterToken(); - } - function reScanSlashToken() { - return currentToken = scanner.reScanSlashToken(); - } - function reScanTemplateToken(isTaggedTemplate) { - return currentToken = scanner.reScanTemplateToken(isTaggedTemplate); - } - function reScanLessThanToken() { - return currentToken = scanner.reScanLessThanToken(); - } - function reScanHashToken() { - return currentToken = scanner.reScanHashToken(); - } - function scanJsxIdentifier() { - return currentToken = scanner.scanJsxIdentifier(); - } - function scanJsxText() { - return currentToken = scanner.scanJsxToken(); - } - function scanJsxAttributeValue() { - return currentToken = scanner.scanJsxAttributeValue(); - } - function speculationHelper(callback, speculationKind) { - const saveToken = currentToken; - const saveParseDiagnosticsLength = parseDiagnostics.length; - const saveParseErrorBeforeNextFinishedNode = parseErrorBeforeNextFinishedNode; - const saveContextFlags = contextFlags; - const result = speculationKind !== 0 /* TryParse */ ? scanner.lookAhead(callback) : scanner.tryScan(callback); - Debug.assert(saveContextFlags === contextFlags); - if (!result || speculationKind !== 0 /* TryParse */) { - currentToken = saveToken; - if (speculationKind !== 2 /* Reparse */) { - parseDiagnostics.length = saveParseDiagnosticsLength; - } - parseErrorBeforeNextFinishedNode = saveParseErrorBeforeNextFinishedNode; - } - return result; - } - function lookAhead(callback) { - return speculationHelper(callback, 1 /* Lookahead */); - } - function tryParse(callback) { - return speculationHelper(callback, 0 /* TryParse */); - } - function isBindingIdentifier() { - if (token() === 80 /* Identifier */) { - return true; - } - return token() > 118 /* LastReservedWord */; - } - function isIdentifier2() { - if (token() === 80 /* Identifier */) { - return true; - } - if (token() === 127 /* YieldKeyword */ && inYieldContext()) { - return false; - } - if (token() === 135 /* AwaitKeyword */ && inAwaitContext()) { - return false; - } - return token() > 118 /* LastReservedWord */; - } - function parseExpected(kind, diagnosticMessage, shouldAdvance = true) { - if (token() === kind) { - if (shouldAdvance) { - nextToken(); - } - return true; - } - if (diagnosticMessage) { - parseErrorAtCurrentToken(diagnosticMessage); - } else { - parseErrorAtCurrentToken(Diagnostics._0_expected, tokenToString(kind)); - } - return false; - } - const viableKeywordSuggestions = Object.keys(textToKeywordObj).filter((keyword) => keyword.length > 2); - function parseErrorForMissingSemicolonAfter(node) { - if (isTaggedTemplateExpression(node)) { - parseErrorAt(skipTrivia(sourceText, node.template.pos), node.template.end, Diagnostics.Module_declaration_names_may_only_use_or_quoted_strings); - return; - } - const expressionText = isIdentifier(node) ? idText(node) : void 0; - if (!expressionText || !isIdentifierText(expressionText, languageVersion)) { - parseErrorAtCurrentToken(Diagnostics._0_expected, tokenToString(27 /* SemicolonToken */)); - return; - } - const pos = skipTrivia(sourceText, node.pos); - switch (expressionText) { - case "const": - case "let": - case "var": - parseErrorAt(pos, node.end, Diagnostics.Variable_declaration_not_allowed_at_this_location); - return; - case "declare": - return; - case "interface": - parseErrorForInvalidName(Diagnostics.Interface_name_cannot_be_0, Diagnostics.Interface_must_be_given_a_name, 19 /* OpenBraceToken */); - return; - case "is": - parseErrorAt(pos, scanner.getTokenStart(), Diagnostics.A_type_predicate_is_only_allowed_in_return_type_position_for_functions_and_methods); - return; - case "module": - case "namespace": - parseErrorForInvalidName(Diagnostics.Namespace_name_cannot_be_0, Diagnostics.Namespace_must_be_given_a_name, 19 /* OpenBraceToken */); - return; - case "type": - parseErrorForInvalidName(Diagnostics.Type_alias_name_cannot_be_0, Diagnostics.Type_alias_must_be_given_a_name, 64 /* EqualsToken */); - return; - } - const suggestion = getSpellingSuggestion(expressionText, viableKeywordSuggestions, identity) ?? getSpaceSuggestion(expressionText); - if (suggestion) { - parseErrorAt(pos, node.end, Diagnostics.Unknown_keyword_or_identifier_Did_you_mean_0, suggestion); - return; - } - if (token() === 0 /* Unknown */) { - return; - } - parseErrorAt(pos, node.end, Diagnostics.Unexpected_keyword_or_identifier); - } - function parseErrorForInvalidName(nameDiagnostic, blankDiagnostic, tokenIfBlankName) { - if (token() === tokenIfBlankName) { - parseErrorAtCurrentToken(blankDiagnostic); - } else { - parseErrorAtCurrentToken(nameDiagnostic, scanner.getTokenValue()); - } - } - function getSpaceSuggestion(expressionText) { - for (const keyword of viableKeywordSuggestions) { - if (expressionText.length > keyword.length + 2 && startsWith(expressionText, keyword)) { - return `${keyword} ${expressionText.slice(keyword.length)}`; - } - } - return void 0; - } - function parseSemicolonAfterPropertyName(name, type, initializer) { - if (token() === 60 /* AtToken */ && !scanner.hasPrecedingLineBreak()) { - parseErrorAtCurrentToken(Diagnostics.Decorators_must_precede_the_name_and_all_keywords_of_property_declarations); - return; - } - if (token() === 21 /* OpenParenToken */) { - parseErrorAtCurrentToken(Diagnostics.Cannot_start_a_function_call_in_a_type_annotation); - nextToken(); - return; - } - if (type && !canParseSemicolon()) { - if (initializer) { - parseErrorAtCurrentToken(Diagnostics._0_expected, tokenToString(27 /* SemicolonToken */)); - } else { - parseErrorAtCurrentToken(Diagnostics.Expected_for_property_initializer); - } - return; - } - if (tryParseSemicolon()) { - return; - } - if (initializer) { - parseErrorAtCurrentToken(Diagnostics._0_expected, tokenToString(27 /* SemicolonToken */)); - return; - } - parseErrorForMissingSemicolonAfter(name); - } - function parseExpectedJSDoc(kind) { - if (token() === kind) { - nextTokenJSDoc(); - return true; - } - Debug.assert(isKeywordOrPunctuation(kind)); - parseErrorAtCurrentToken(Diagnostics._0_expected, tokenToString(kind)); - return false; - } - function parseExpectedMatchingBrackets(openKind, closeKind, openParsed, openPosition) { - if (token() === closeKind) { - nextToken(); - return; - } - const lastError = parseErrorAtCurrentToken(Diagnostics._0_expected, tokenToString(closeKind)); - if (!openParsed) { - return; - } - if (lastError) { - addRelatedInfo( - lastError, - createDetachedDiagnostic(fileName, sourceText, openPosition, 1, Diagnostics.The_parser_expected_to_find_a_1_to_match_the_0_token_here, tokenToString(openKind), tokenToString(closeKind)) - ); - } - } - function parseOptional(t) { - if (token() === t) { - nextToken(); - return true; - } - return false; - } - function parseOptionalToken(t) { - if (token() === t) { - return parseTokenNode(); - } - return void 0; - } - function parseOptionalTokenJSDoc(t) { - if (token() === t) { - return parseTokenNodeJSDoc(); - } - return void 0; - } - function parseExpectedToken(t, diagnosticMessage, arg0) { - return parseOptionalToken(t) || createMissingNode( - t, - /*reportAtCurrentPosition*/ - false, - diagnosticMessage || Diagnostics._0_expected, - arg0 || tokenToString(t) - ); - } - function parseExpectedTokenJSDoc(t) { - const optional = parseOptionalTokenJSDoc(t); - if (optional) return optional; - Debug.assert(isKeywordOrPunctuation(t)); - return createMissingNode( - t, - /*reportAtCurrentPosition*/ - false, - Diagnostics._0_expected, - tokenToString(t) - ); - } - function parseTokenNode() { - const pos = getNodePos(); - const kind = token(); - nextToken(); - return finishNode(factoryCreateToken(kind), pos); - } - function parseTokenNodeJSDoc() { - const pos = getNodePos(); - const kind = token(); - nextTokenJSDoc(); - return finishNode(factoryCreateToken(kind), pos); - } - function canParseSemicolon() { - if (token() === 27 /* SemicolonToken */) { - return true; - } - return token() === 20 /* CloseBraceToken */ || token() === 1 /* EndOfFileToken */ || scanner.hasPrecedingLineBreak(); - } - function tryParseSemicolon() { - if (!canParseSemicolon()) { - return false; - } - if (token() === 27 /* SemicolonToken */) { - nextToken(); - } - return true; - } - function parseSemicolon() { - return tryParseSemicolon() || parseExpected(27 /* SemicolonToken */); - } - function createNodeArray(elements, pos, end, hasTrailingComma) { - const array = factoryCreateNodeArray(elements, hasTrailingComma); - setTextRangePosEnd(array, pos, end ?? scanner.getTokenFullStart()); - return array; - } - function finishNode(node, pos, end) { - setTextRangePosEnd(node, pos, end ?? scanner.getTokenFullStart()); - if (contextFlags) { - node.flags |= contextFlags; - } - if (parseErrorBeforeNextFinishedNode) { - parseErrorBeforeNextFinishedNode = false; - node.flags |= 262144 /* ThisNodeHasError */; - } - return node; - } - function createMissingNode(kind, reportAtCurrentPosition, diagnosticMessage, ...args) { - if (reportAtCurrentPosition) { - parseErrorAtPosition(scanner.getTokenFullStart(), 0, diagnosticMessage, ...args); - } else if (diagnosticMessage) { - parseErrorAtCurrentToken(diagnosticMessage, ...args); - } - const pos = getNodePos(); - const result = kind === 80 /* Identifier */ ? factoryCreateIdentifier( - "", - /*originalKeywordKind*/ - void 0 - ) : isTemplateLiteralKind(kind) ? factory2.createTemplateLiteralLikeNode( - kind, - "", - "", - /*templateFlags*/ - void 0 - ) : kind === 9 /* NumericLiteral */ ? factoryCreateNumericLiteral( - "", - /*numericLiteralFlags*/ - void 0 - ) : kind === 11 /* StringLiteral */ ? factoryCreateStringLiteral( - "", - /*isSingleQuote*/ - void 0 - ) : kind === 282 /* MissingDeclaration */ ? factory2.createMissingDeclaration() : factoryCreateToken(kind); - return finishNode(result, pos); - } - function internIdentifier(text) { - let identifier = identifiers.get(text); - if (identifier === void 0) { - identifiers.set(text, identifier = text); - } - return identifier; - } - function createIdentifier(isIdentifier3, diagnosticMessage, privateIdentifierDiagnosticMessage) { - if (isIdentifier3) { - identifierCount++; - const pos = scanner.hasPrecedingJSDocLeadingAsterisks() ? scanner.getTokenStart() : getNodePos(); - const originalKeywordKind = token(); - const text = internIdentifier(scanner.getTokenValue()); - const hasExtendedUnicodeEscape = scanner.hasExtendedUnicodeEscape(); - nextTokenWithoutCheck(); - return finishNode(factoryCreateIdentifier(text, originalKeywordKind, hasExtendedUnicodeEscape), pos); - } - if (token() === 81 /* PrivateIdentifier */) { - parseErrorAtCurrentToken(privateIdentifierDiagnosticMessage || Diagnostics.Private_identifiers_are_not_allowed_outside_class_bodies); - return createIdentifier( - /*isIdentifier*/ - true - ); - } - if (token() === 0 /* Unknown */ && scanner.tryScan(() => scanner.reScanInvalidIdentifier() === 80 /* Identifier */)) { - return createIdentifier( - /*isIdentifier*/ - true - ); - } - identifierCount++; - const reportAtCurrentPosition = token() === 1 /* EndOfFileToken */; - const isReservedWord = scanner.isReservedWord(); - const msgArg = scanner.getTokenText(); - const defaultMessage = isReservedWord ? Diagnostics.Identifier_expected_0_is_a_reserved_word_that_cannot_be_used_here : Diagnostics.Identifier_expected; - return createMissingNode(80 /* Identifier */, reportAtCurrentPosition, diagnosticMessage || defaultMessage, msgArg); - } - function parseBindingIdentifier(privateIdentifierDiagnosticMessage) { - return createIdentifier( - isBindingIdentifier(), - /*diagnosticMessage*/ - void 0, - privateIdentifierDiagnosticMessage - ); - } - function parseIdentifier(diagnosticMessage, privateIdentifierDiagnosticMessage) { - return createIdentifier(isIdentifier2(), diagnosticMessage, privateIdentifierDiagnosticMessage); - } - function parseIdentifierName(diagnosticMessage) { - return createIdentifier(tokenIsIdentifierOrKeyword(token()), diagnosticMessage); - } - function parseIdentifierNameErrorOnUnicodeEscapeSequence() { - if (scanner.hasUnicodeEscape() || scanner.hasExtendedUnicodeEscape()) { - parseErrorAtCurrentToken(Diagnostics.Unicode_escape_sequence_cannot_appear_here); - } - return createIdentifier(tokenIsIdentifierOrKeyword(token())); - } - function isLiteralPropertyName() { - return tokenIsIdentifierOrKeyword(token()) || token() === 11 /* StringLiteral */ || token() === 9 /* NumericLiteral */ || token() === 10 /* BigIntLiteral */; - } - function isImportAttributeName2() { - return tokenIsIdentifierOrKeyword(token()) || token() === 11 /* StringLiteral */; - } - function parsePropertyNameWorker(allowComputedPropertyNames) { - if (token() === 11 /* StringLiteral */ || token() === 9 /* NumericLiteral */ || token() === 10 /* BigIntLiteral */) { - const node = parseLiteralNode(); - node.text = internIdentifier(node.text); - return node; - } - if (allowComputedPropertyNames && token() === 23 /* OpenBracketToken */) { - return parseComputedPropertyName(); - } - if (token() === 81 /* PrivateIdentifier */) { - return parsePrivateIdentifier(); - } - return parseIdentifierName(); - } - function parsePropertyName() { - return parsePropertyNameWorker( - /*allowComputedPropertyNames*/ - true - ); - } - function parseComputedPropertyName() { - const pos = getNodePos(); - parseExpected(23 /* OpenBracketToken */); - const expression = allowInAnd(parseExpression); - parseExpected(24 /* CloseBracketToken */); - return finishNode(factory2.createComputedPropertyName(expression), pos); - } - function parsePrivateIdentifier() { - const pos = getNodePos(); - const node = factoryCreatePrivateIdentifier(internIdentifier(scanner.getTokenValue())); - nextToken(); - return finishNode(node, pos); - } - function parseContextualModifier(t) { - return token() === t && tryParse(nextTokenCanFollowModifier); - } - function nextTokenIsOnSameLineAndCanFollowModifier() { - nextToken(); - if (scanner.hasPrecedingLineBreak()) { - return false; - } - return canFollowModifier(); - } - function nextTokenCanFollowModifier() { - switch (token()) { - case 87 /* ConstKeyword */: - return nextToken() === 94 /* EnumKeyword */; - case 95 /* ExportKeyword */: - nextToken(); - if (token() === 90 /* DefaultKeyword */) { - return lookAhead(nextTokenCanFollowDefaultKeyword); - } - if (token() === 156 /* TypeKeyword */) { - return lookAhead(nextTokenCanFollowExportModifier); - } - return canFollowExportModifier(); - case 90 /* DefaultKeyword */: - return nextTokenCanFollowDefaultKeyword(); - case 126 /* StaticKeyword */: - case 139 /* GetKeyword */: - case 153 /* SetKeyword */: - nextToken(); - return canFollowModifier(); - default: - return nextTokenIsOnSameLineAndCanFollowModifier(); - } - } - function canFollowExportModifier() { - return token() === 60 /* AtToken */ || token() !== 42 /* AsteriskToken */ && token() !== 130 /* AsKeyword */ && token() !== 19 /* OpenBraceToken */ && canFollowModifier(); - } - function nextTokenCanFollowExportModifier() { - nextToken(); - return canFollowExportModifier(); - } - function parseAnyContextualModifier() { - return isModifierKind(token()) && tryParse(nextTokenCanFollowModifier); - } - function canFollowModifier() { - return token() === 23 /* OpenBracketToken */ || token() === 19 /* OpenBraceToken */ || token() === 42 /* AsteriskToken */ || token() === 26 /* DotDotDotToken */ || isLiteralPropertyName(); - } - function nextTokenCanFollowDefaultKeyword() { - nextToken(); - return token() === 86 /* ClassKeyword */ || token() === 100 /* FunctionKeyword */ || token() === 120 /* InterfaceKeyword */ || token() === 60 /* AtToken */ || token() === 128 /* AbstractKeyword */ && lookAhead(nextTokenIsClassKeywordOnSameLine) || token() === 134 /* AsyncKeyword */ && lookAhead(nextTokenIsFunctionKeywordOnSameLine); - } - function isListElement(parsingContext2, inErrorRecovery) { - const node = currentNode(parsingContext2); - if (node) { - return true; - } - switch (parsingContext2) { - case 0 /* SourceElements */: - case 1 /* BlockStatements */: - case 3 /* SwitchClauseStatements */: - return !(token() === 27 /* SemicolonToken */ && inErrorRecovery) && isStartOfStatement(); - case 2 /* SwitchClauses */: - return token() === 84 /* CaseKeyword */ || token() === 90 /* DefaultKeyword */; - case 4 /* TypeMembers */: - return lookAhead(isTypeMemberStart); - case 5 /* ClassMembers */: - return lookAhead(isClassMemberStart) || token() === 27 /* SemicolonToken */ && !inErrorRecovery; - case 6 /* EnumMembers */: - return token() === 23 /* OpenBracketToken */ || isLiteralPropertyName(); - case 12 /* ObjectLiteralMembers */: - switch (token()) { - case 23 /* OpenBracketToken */: - case 42 /* AsteriskToken */: - case 26 /* DotDotDotToken */: - case 25 /* DotToken */: - return true; - default: - return isLiteralPropertyName(); - } - case 18 /* RestProperties */: - return isLiteralPropertyName(); - case 9 /* ObjectBindingElements */: - return token() === 23 /* OpenBracketToken */ || token() === 26 /* DotDotDotToken */ || isLiteralPropertyName(); - case 24 /* ImportAttributes */: - return isImportAttributeName2(); - case 7 /* HeritageClauseElement */: - if (token() === 19 /* OpenBraceToken */) { - return lookAhead(isValidHeritageClauseObjectLiteral); - } - if (!inErrorRecovery) { - return isStartOfLeftHandSideExpression() && !isHeritageClauseExtendsOrImplementsKeyword(); - } else { - return isIdentifier2() && !isHeritageClauseExtendsOrImplementsKeyword(); - } - case 8 /* VariableDeclarations */: - return isBindingIdentifierOrPrivateIdentifierOrPattern(); - case 10 /* ArrayBindingElements */: - return token() === 28 /* CommaToken */ || token() === 26 /* DotDotDotToken */ || isBindingIdentifierOrPrivateIdentifierOrPattern(); - case 19 /* TypeParameters */: - return token() === 103 /* InKeyword */ || token() === 87 /* ConstKeyword */ || isIdentifier2(); - case 15 /* ArrayLiteralMembers */: - switch (token()) { - case 28 /* CommaToken */: - case 25 /* DotToken */: - return true; - } - case 11 /* ArgumentExpressions */: - return token() === 26 /* DotDotDotToken */ || isStartOfExpression(); - case 16 /* Parameters */: - return isStartOfParameter( - /*isJSDocParameter*/ - false - ); - case 17 /* JSDocParameters */: - return isStartOfParameter( - /*isJSDocParameter*/ - true - ); - case 20 /* TypeArguments */: - case 21 /* TupleElementTypes */: - return token() === 28 /* CommaToken */ || isStartOfType(); - case 22 /* HeritageClauses */: - return isHeritageClause2(); - case 23 /* ImportOrExportSpecifiers */: - if (token() === 161 /* FromKeyword */ && lookAhead(nextTokenIsStringLiteral)) { - return false; - } - if (token() === 11 /* StringLiteral */) { - return true; - } - return tokenIsIdentifierOrKeyword(token()); - case 13 /* JsxAttributes */: - return tokenIsIdentifierOrKeyword(token()) || token() === 19 /* OpenBraceToken */; - case 14 /* JsxChildren */: - return true; - case 25 /* JSDocComment */: - return true; - case 26 /* Count */: - return Debug.fail("ParsingContext.Count used as a context"); - default: - Debug.assertNever(parsingContext2, "Non-exhaustive case in 'isListElement'."); - } - } - function isValidHeritageClauseObjectLiteral() { - Debug.assert(token() === 19 /* OpenBraceToken */); - if (nextToken() === 20 /* CloseBraceToken */) { - const next = nextToken(); - return next === 28 /* CommaToken */ || next === 19 /* OpenBraceToken */ || next === 96 /* ExtendsKeyword */ || next === 119 /* ImplementsKeyword */; - } - return true; - } - function nextTokenIsIdentifier() { - nextToken(); - return isIdentifier2(); - } - function nextTokenIsIdentifierOrKeyword() { - nextToken(); - return tokenIsIdentifierOrKeyword(token()); - } - function nextTokenIsIdentifierOrKeywordOrGreaterThan() { - nextToken(); - return tokenIsIdentifierOrKeywordOrGreaterThan(token()); - } - function isHeritageClauseExtendsOrImplementsKeyword() { - if (token() === 119 /* ImplementsKeyword */ || token() === 96 /* ExtendsKeyword */) { - return lookAhead(nextTokenIsStartOfExpression); - } - return false; - } - function nextTokenIsStartOfExpression() { - nextToken(); - return isStartOfExpression(); - } - function nextTokenIsStartOfType() { - nextToken(); - return isStartOfType(); - } - function isListTerminator(kind) { - if (token() === 1 /* EndOfFileToken */) { - return true; - } - switch (kind) { - case 1 /* BlockStatements */: - case 2 /* SwitchClauses */: - case 4 /* TypeMembers */: - case 5 /* ClassMembers */: - case 6 /* EnumMembers */: - case 12 /* ObjectLiteralMembers */: - case 9 /* ObjectBindingElements */: - case 23 /* ImportOrExportSpecifiers */: - case 24 /* ImportAttributes */: - return token() === 20 /* CloseBraceToken */; - case 3 /* SwitchClauseStatements */: - return token() === 20 /* CloseBraceToken */ || token() === 84 /* CaseKeyword */ || token() === 90 /* DefaultKeyword */; - case 7 /* HeritageClauseElement */: - return token() === 19 /* OpenBraceToken */ || token() === 96 /* ExtendsKeyword */ || token() === 119 /* ImplementsKeyword */; - case 8 /* VariableDeclarations */: - return isVariableDeclaratorListTerminator(); - case 19 /* TypeParameters */: - return token() === 32 /* GreaterThanToken */ || token() === 21 /* OpenParenToken */ || token() === 19 /* OpenBraceToken */ || token() === 96 /* ExtendsKeyword */ || token() === 119 /* ImplementsKeyword */; - case 11 /* ArgumentExpressions */: - return token() === 22 /* CloseParenToken */ || token() === 27 /* SemicolonToken */; - case 15 /* ArrayLiteralMembers */: - case 21 /* TupleElementTypes */: - case 10 /* ArrayBindingElements */: - return token() === 24 /* CloseBracketToken */; - case 17 /* JSDocParameters */: - case 16 /* Parameters */: - case 18 /* RestProperties */: - return token() === 22 /* CloseParenToken */ || token() === 24 /* CloseBracketToken */; - case 20 /* TypeArguments */: - return token() !== 28 /* CommaToken */; - case 22 /* HeritageClauses */: - return token() === 19 /* OpenBraceToken */ || token() === 20 /* CloseBraceToken */; - case 13 /* JsxAttributes */: - return token() === 32 /* GreaterThanToken */ || token() === 44 /* SlashToken */; - case 14 /* JsxChildren */: - return token() === 30 /* LessThanToken */ && lookAhead(nextTokenIsSlash); - default: - return false; - } - } - function isVariableDeclaratorListTerminator() { - if (canParseSemicolon()) { - return true; - } - if (isInOrOfKeyword(token())) { - return true; - } - if (token() === 39 /* EqualsGreaterThanToken */) { - return true; - } - return false; - } - function isInSomeParsingContext() { - Debug.assert(parsingContext, "Missing parsing context"); - for (let kind = 0; kind < 26 /* Count */; kind++) { - if (parsingContext & 1 << kind) { - if (isListElement( - kind, - /*inErrorRecovery*/ - true - ) || isListTerminator(kind)) { - return true; - } - } - } - return false; - } - function parseList(kind, parseElement) { - const saveParsingContext = parsingContext; - parsingContext |= 1 << kind; - const list = []; - const listPos = getNodePos(); - while (!isListTerminator(kind)) { - if (isListElement( - kind, - /*inErrorRecovery*/ - false - )) { - list.push(parseListElement(kind, parseElement)); - continue; - } - if (abortParsingListOrMoveToNextToken(kind)) { - break; - } - } - parsingContext = saveParsingContext; - return createNodeArray(list, listPos); - } - function parseListElement(parsingContext2, parseElement) { - const node = currentNode(parsingContext2); - if (node) { - return consumeNode(node); - } - return parseElement(); - } - function currentNode(parsingContext2, pos) { - var _a; - if (!syntaxCursor || !isReusableParsingContext(parsingContext2) || parseErrorBeforeNextFinishedNode) { - return void 0; - } - const node = syntaxCursor.currentNode(pos ?? scanner.getTokenFullStart()); - if (nodeIsMissing(node) || intersectsIncrementalChange(node) || containsParseError(node)) { - return void 0; - } - const nodeContextFlags = node.flags & 101441536 /* ContextFlags */; - if (nodeContextFlags !== contextFlags) { - return void 0; - } - if (!canReuseNode(node, parsingContext2)) { - return void 0; - } - if (canHaveJSDoc(node) && ((_a = node.jsDoc) == null ? void 0 : _a.jsDocCache)) { - node.jsDoc.jsDocCache = void 0; - } - return node; - } - function consumeNode(node) { - scanner.resetTokenState(node.end); - nextToken(); - return node; - } - function isReusableParsingContext(parsingContext2) { - switch (parsingContext2) { - case 5 /* ClassMembers */: - case 2 /* SwitchClauses */: - case 0 /* SourceElements */: - case 1 /* BlockStatements */: - case 3 /* SwitchClauseStatements */: - case 6 /* EnumMembers */: - case 4 /* TypeMembers */: - case 8 /* VariableDeclarations */: - case 17 /* JSDocParameters */: - case 16 /* Parameters */: - return true; - } - return false; - } - function canReuseNode(node, parsingContext2) { - switch (parsingContext2) { - case 5 /* ClassMembers */: - return isReusableClassMember(node); - case 2 /* SwitchClauses */: - return isReusableSwitchClause(node); - case 0 /* SourceElements */: - case 1 /* BlockStatements */: - case 3 /* SwitchClauseStatements */: - return isReusableStatement(node); - case 6 /* EnumMembers */: - return isReusableEnumMember(node); - case 4 /* TypeMembers */: - return isReusableTypeMember(node); - case 8 /* VariableDeclarations */: - return isReusableVariableDeclaration(node); - case 17 /* JSDocParameters */: - case 16 /* Parameters */: - return isReusableParameter(node); - } - return false; - } - function isReusableClassMember(node) { - if (node) { - switch (node.kind) { - case 176 /* Constructor */: - case 181 /* IndexSignature */: - case 177 /* GetAccessor */: - case 178 /* SetAccessor */: - case 172 /* PropertyDeclaration */: - case 240 /* SemicolonClassElement */: - return true; - case 174 /* MethodDeclaration */: - const methodDeclaration = node; - const nameIsConstructor = methodDeclaration.name.kind === 80 /* Identifier */ && methodDeclaration.name.escapedText === "constructor"; - return !nameIsConstructor; - } - } - return false; - } - function isReusableSwitchClause(node) { - if (node) { - switch (node.kind) { - case 296 /* CaseClause */: - case 297 /* DefaultClause */: - return true; - } - } - return false; - } - function isReusableStatement(node) { - if (node) { - switch (node.kind) { - case 262 /* FunctionDeclaration */: - case 243 /* VariableStatement */: - case 241 /* Block */: - case 245 /* IfStatement */: - case 244 /* ExpressionStatement */: - case 257 /* ThrowStatement */: - case 253 /* ReturnStatement */: - case 255 /* SwitchStatement */: - case 252 /* BreakStatement */: - case 251 /* ContinueStatement */: - case 249 /* ForInStatement */: - case 250 /* ForOfStatement */: - case 248 /* ForStatement */: - case 247 /* WhileStatement */: - case 254 /* WithStatement */: - case 242 /* EmptyStatement */: - case 258 /* TryStatement */: - case 256 /* LabeledStatement */: - case 246 /* DoStatement */: - case 259 /* DebuggerStatement */: - case 272 /* ImportDeclaration */: - case 271 /* ImportEqualsDeclaration */: - case 278 /* ExportDeclaration */: - case 277 /* ExportAssignment */: - case 267 /* ModuleDeclaration */: - case 263 /* ClassDeclaration */: - case 264 /* InterfaceDeclaration */: - case 266 /* EnumDeclaration */: - case 265 /* TypeAliasDeclaration */: - return true; - } - } - return false; - } - function isReusableEnumMember(node) { - return node.kind === 306 /* EnumMember */; - } - function isReusableTypeMember(node) { - if (node) { - switch (node.kind) { - case 180 /* ConstructSignature */: - case 173 /* MethodSignature */: - case 181 /* IndexSignature */: - case 171 /* PropertySignature */: - case 179 /* CallSignature */: - return true; - } - } - return false; - } - function isReusableVariableDeclaration(node) { - if (node.kind !== 260 /* VariableDeclaration */) { - return false; - } - const variableDeclarator = node; - return variableDeclarator.initializer === void 0; - } - function isReusableParameter(node) { - if (node.kind !== 169 /* Parameter */) { - return false; - } - const parameter = node; - return parameter.initializer === void 0; - } - function abortParsingListOrMoveToNextToken(kind) { - parsingContextErrors(kind); - if (isInSomeParsingContext()) { - return true; - } - nextToken(); - return false; - } - function parsingContextErrors(context) { - switch (context) { - case 0 /* SourceElements */: - return token() === 90 /* DefaultKeyword */ ? parseErrorAtCurrentToken(Diagnostics._0_expected, tokenToString(95 /* ExportKeyword */)) : parseErrorAtCurrentToken(Diagnostics.Declaration_or_statement_expected); - case 1 /* BlockStatements */: - return parseErrorAtCurrentToken(Diagnostics.Declaration_or_statement_expected); - case 2 /* SwitchClauses */: - return parseErrorAtCurrentToken(Diagnostics.case_or_default_expected); - case 3 /* SwitchClauseStatements */: - return parseErrorAtCurrentToken(Diagnostics.Statement_expected); - case 18 /* RestProperties */: - case 4 /* TypeMembers */: - return parseErrorAtCurrentToken(Diagnostics.Property_or_signature_expected); - case 5 /* ClassMembers */: - return parseErrorAtCurrentToken(Diagnostics.Unexpected_token_A_constructor_method_accessor_or_property_was_expected); - case 6 /* EnumMembers */: - return parseErrorAtCurrentToken(Diagnostics.Enum_member_expected); - case 7 /* HeritageClauseElement */: - return parseErrorAtCurrentToken(Diagnostics.Expression_expected); - case 8 /* VariableDeclarations */: - return isKeyword(token()) ? parseErrorAtCurrentToken(Diagnostics._0_is_not_allowed_as_a_variable_declaration_name, tokenToString(token())) : parseErrorAtCurrentToken(Diagnostics.Variable_declaration_expected); - case 9 /* ObjectBindingElements */: - return parseErrorAtCurrentToken(Diagnostics.Property_destructuring_pattern_expected); - case 10 /* ArrayBindingElements */: - return parseErrorAtCurrentToken(Diagnostics.Array_element_destructuring_pattern_expected); - case 11 /* ArgumentExpressions */: - return parseErrorAtCurrentToken(Diagnostics.Argument_expression_expected); - case 12 /* ObjectLiteralMembers */: - return parseErrorAtCurrentToken(Diagnostics.Property_assignment_expected); - case 15 /* ArrayLiteralMembers */: - return parseErrorAtCurrentToken(Diagnostics.Expression_or_comma_expected); - case 17 /* JSDocParameters */: - return parseErrorAtCurrentToken(Diagnostics.Parameter_declaration_expected); - case 16 /* Parameters */: - return isKeyword(token()) ? parseErrorAtCurrentToken(Diagnostics._0_is_not_allowed_as_a_parameter_name, tokenToString(token())) : parseErrorAtCurrentToken(Diagnostics.Parameter_declaration_expected); - case 19 /* TypeParameters */: - return parseErrorAtCurrentToken(Diagnostics.Type_parameter_declaration_expected); - case 20 /* TypeArguments */: - return parseErrorAtCurrentToken(Diagnostics.Type_argument_expected); - case 21 /* TupleElementTypes */: - return parseErrorAtCurrentToken(Diagnostics.Type_expected); - case 22 /* HeritageClauses */: - return parseErrorAtCurrentToken(Diagnostics.Unexpected_token_expected); - case 23 /* ImportOrExportSpecifiers */: - if (token() === 161 /* FromKeyword */) { - return parseErrorAtCurrentToken(Diagnostics._0_expected, "}"); - } - return parseErrorAtCurrentToken(Diagnostics.Identifier_expected); - case 13 /* JsxAttributes */: - return parseErrorAtCurrentToken(Diagnostics.Identifier_expected); - case 14 /* JsxChildren */: - return parseErrorAtCurrentToken(Diagnostics.Identifier_expected); - case 24 /* ImportAttributes */: - return parseErrorAtCurrentToken(Diagnostics.Identifier_or_string_literal_expected); - case 25 /* JSDocComment */: - return parseErrorAtCurrentToken(Diagnostics.Identifier_expected); - case 26 /* Count */: - return Debug.fail("ParsingContext.Count used as a context"); - default: - Debug.assertNever(context); - } - } - function parseDelimitedList(kind, parseElement, considerSemicolonAsDelimiter) { - const saveParsingContext = parsingContext; - parsingContext |= 1 << kind; - const list = []; - const listPos = getNodePos(); - let commaStart = -1; - while (true) { - if (isListElement( - kind, - /*inErrorRecovery*/ - false - )) { - const startPos = scanner.getTokenFullStart(); - const result = parseListElement(kind, parseElement); - if (!result) { - parsingContext = saveParsingContext; - return void 0; - } - list.push(result); - commaStart = scanner.getTokenStart(); - if (parseOptional(28 /* CommaToken */)) { - continue; - } - commaStart = -1; - if (isListTerminator(kind)) { - break; - } - parseExpected(28 /* CommaToken */, getExpectedCommaDiagnostic(kind)); - if (considerSemicolonAsDelimiter && token() === 27 /* SemicolonToken */ && !scanner.hasPrecedingLineBreak()) { - nextToken(); - } - if (startPos === scanner.getTokenFullStart()) { - nextToken(); - } - continue; - } - if (isListTerminator(kind)) { - break; - } - if (abortParsingListOrMoveToNextToken(kind)) { - break; - } - } - parsingContext = saveParsingContext; - return createNodeArray( - list, - listPos, - /*end*/ - void 0, - commaStart >= 0 - ); - } - function getExpectedCommaDiagnostic(kind) { - return kind === 6 /* EnumMembers */ ? Diagnostics.An_enum_member_name_must_be_followed_by_a_or : void 0; - } - function createMissingList() { - const list = createNodeArray([], getNodePos()); - list.isMissingList = true; - return list; - } - function isMissingList(arr) { - return !!arr.isMissingList; - } - function parseBracketedList(kind, parseElement, open, close) { - if (parseExpected(open)) { - const result = parseDelimitedList(kind, parseElement); - parseExpected(close); - return result; - } - return createMissingList(); - } - function parseEntityName(allowReservedWords, diagnosticMessage) { - const pos = getNodePos(); - let entity = allowReservedWords ? parseIdentifierName(diagnosticMessage) : parseIdentifier(diagnosticMessage); - while (parseOptional(25 /* DotToken */)) { - if (token() === 30 /* LessThanToken */) { - break; - } - entity = finishNode( - factory2.createQualifiedName( - entity, - parseRightSideOfDot( - allowReservedWords, - /*allowPrivateIdentifiers*/ - false, - /*allowUnicodeEscapeSequenceInIdentifierName*/ - true - ) - ), - pos - ); - } - return entity; - } - function createQualifiedName(entity, name) { - return finishNode(factory2.createQualifiedName(entity, name), entity.pos); - } - function parseRightSideOfDot(allowIdentifierNames, allowPrivateIdentifiers, allowUnicodeEscapeSequenceInIdentifierName) { - if (scanner.hasPrecedingLineBreak() && tokenIsIdentifierOrKeyword(token())) { - const matchesPattern = lookAhead(nextTokenIsIdentifierOrKeywordOnSameLine); - if (matchesPattern) { - return createMissingNode( - 80 /* Identifier */, - /*reportAtCurrentPosition*/ - true, - Diagnostics.Identifier_expected - ); - } - } - if (token() === 81 /* PrivateIdentifier */) { - const node = parsePrivateIdentifier(); - return allowPrivateIdentifiers ? node : createMissingNode( - 80 /* Identifier */, - /*reportAtCurrentPosition*/ - true, - Diagnostics.Identifier_expected - ); - } - if (allowIdentifierNames) { - return allowUnicodeEscapeSequenceInIdentifierName ? parseIdentifierName() : parseIdentifierNameErrorOnUnicodeEscapeSequence(); - } - return parseIdentifier(); - } - function parseTemplateSpans(isTaggedTemplate) { - const pos = getNodePos(); - const list = []; - let node; - do { - node = parseTemplateSpan(isTaggedTemplate); - list.push(node); - } while (node.literal.kind === 17 /* TemplateMiddle */); - return createNodeArray(list, pos); - } - function parseTemplateExpression(isTaggedTemplate) { - const pos = getNodePos(); - return finishNode( - factory2.createTemplateExpression( - parseTemplateHead(isTaggedTemplate), - parseTemplateSpans(isTaggedTemplate) - ), - pos - ); - } - function parseTemplateType() { - const pos = getNodePos(); - return finishNode( - factory2.createTemplateLiteralType( - parseTemplateHead( - /*isTaggedTemplate*/ - false - ), - parseTemplateTypeSpans() - ), - pos - ); - } - function parseTemplateTypeSpans() { - const pos = getNodePos(); - const list = []; - let node; - do { - node = parseTemplateTypeSpan(); - list.push(node); - } while (node.literal.kind === 17 /* TemplateMiddle */); - return createNodeArray(list, pos); - } - function parseTemplateTypeSpan() { - const pos = getNodePos(); - return finishNode( - factory2.createTemplateLiteralTypeSpan( - parseType(), - parseLiteralOfTemplateSpan( - /*isTaggedTemplate*/ - false - ) - ), - pos - ); - } - function parseLiteralOfTemplateSpan(isTaggedTemplate) { - if (token() === 20 /* CloseBraceToken */) { - reScanTemplateToken(isTaggedTemplate); - return parseTemplateMiddleOrTemplateTail(); - } else { - return parseExpectedToken(18 /* TemplateTail */, Diagnostics._0_expected, tokenToString(20 /* CloseBraceToken */)); - } - } - function parseTemplateSpan(isTaggedTemplate) { - const pos = getNodePos(); - return finishNode( - factory2.createTemplateSpan( - allowInAnd(parseExpression), - parseLiteralOfTemplateSpan(isTaggedTemplate) - ), - pos - ); - } - function parseLiteralNode() { - return parseLiteralLikeNode(token()); - } - function parseTemplateHead(isTaggedTemplate) { - if (!isTaggedTemplate && scanner.getTokenFlags() & 26656 /* IsInvalid */) { - reScanTemplateToken( - /*isTaggedTemplate*/ - false - ); - } - const fragment = parseLiteralLikeNode(token()); - Debug.assert(fragment.kind === 16 /* TemplateHead */, "Template head has wrong token kind"); - return fragment; - } - function parseTemplateMiddleOrTemplateTail() { - const fragment = parseLiteralLikeNode(token()); - Debug.assert(fragment.kind === 17 /* TemplateMiddle */ || fragment.kind === 18 /* TemplateTail */, "Template fragment has wrong token kind"); - return fragment; - } - function getTemplateLiteralRawText(kind) { - const isLast = kind === 15 /* NoSubstitutionTemplateLiteral */ || kind === 18 /* TemplateTail */; - const tokenText = scanner.getTokenText(); - return tokenText.substring(1, tokenText.length - (scanner.isUnterminated() ? 0 : isLast ? 1 : 2)); - } - function parseLiteralLikeNode(kind) { - const pos = getNodePos(); - const node = isTemplateLiteralKind(kind) ? factory2.createTemplateLiteralLikeNode(kind, scanner.getTokenValue(), getTemplateLiteralRawText(kind), scanner.getTokenFlags() & 7176 /* TemplateLiteralLikeFlags */) : ( - // Note that theoretically the following condition would hold true literals like 009, - // which is not octal. But because of how the scanner separates the tokens, we would - // never get a token like this. Instead, we would get 00 and 9 as two separate tokens. - // We also do not need to check for negatives because any prefix operator would be part of a - // parent unary expression. - kind === 9 /* NumericLiteral */ ? factoryCreateNumericLiteral(scanner.getTokenValue(), scanner.getNumericLiteralFlags()) : kind === 11 /* StringLiteral */ ? factoryCreateStringLiteral( - scanner.getTokenValue(), - /*isSingleQuote*/ - void 0, - scanner.hasExtendedUnicodeEscape() - ) : isLiteralKind(kind) ? factoryCreateLiteralLikeNode(kind, scanner.getTokenValue()) : Debug.fail() - ); - if (scanner.hasExtendedUnicodeEscape()) { - node.hasExtendedUnicodeEscape = true; - } - if (scanner.isUnterminated()) { - node.isUnterminated = true; - } - nextToken(); - return finishNode(node, pos); - } - function parseEntityNameOfTypeReference() { - return parseEntityName( - /*allowReservedWords*/ - true, - Diagnostics.Type_expected - ); - } - function parseTypeArgumentsOfTypeReference() { - if (!scanner.hasPrecedingLineBreak() && reScanLessThanToken() === 30 /* LessThanToken */) { - return parseBracketedList(20 /* TypeArguments */, parseType, 30 /* LessThanToken */, 32 /* GreaterThanToken */); - } - } - function parseTypeReference() { - const pos = getNodePos(); - return finishNode( - factory2.createTypeReferenceNode( - parseEntityNameOfTypeReference(), - parseTypeArgumentsOfTypeReference() - ), - pos - ); - } - function typeHasArrowFunctionBlockingParseError(node) { - switch (node.kind) { - case 183 /* TypeReference */: - return nodeIsMissing(node.typeName); - case 184 /* FunctionType */: - case 185 /* ConstructorType */: { - const { parameters, type } = node; - return isMissingList(parameters) || typeHasArrowFunctionBlockingParseError(type); - } - case 196 /* ParenthesizedType */: - return typeHasArrowFunctionBlockingParseError(node.type); - default: - return false; - } - } - function parseThisTypePredicate(lhs) { - nextToken(); - return finishNode(factory2.createTypePredicateNode( - /*assertsModifier*/ - void 0, - lhs, - parseType() - ), lhs.pos); - } - function parseThisTypeNode() { - const pos = getNodePos(); - nextToken(); - return finishNode(factory2.createThisTypeNode(), pos); - } - function parseJSDocAllType() { - const pos = getNodePos(); - nextToken(); - return finishNode(factory2.createJSDocAllType(), pos); - } - function parseJSDocNonNullableType() { - const pos = getNodePos(); - nextToken(); - return finishNode(factory2.createJSDocNonNullableType( - parseNonArrayType(), - /*postfix*/ - false - ), pos); - } - function parseJSDocUnknownOrNullableType() { - const pos = getNodePos(); - nextToken(); - if (token() === 28 /* CommaToken */ || token() === 20 /* CloseBraceToken */ || token() === 22 /* CloseParenToken */ || token() === 32 /* GreaterThanToken */ || token() === 64 /* EqualsToken */ || token() === 52 /* BarToken */) { - return finishNode(factory2.createJSDocUnknownType(), pos); - } else { - return finishNode(factory2.createJSDocNullableType( - parseType(), - /*postfix*/ - false - ), pos); - } - } - function parseJSDocFunctionType() { - const pos = getNodePos(); - const hasJSDoc = hasPrecedingJSDocComment(); - if (tryParse(nextTokenIsOpenParen)) { - const parameters = parseParameters(4 /* Type */ | 32 /* JSDoc */); - const type = parseReturnType( - 59 /* ColonToken */, - /*isType*/ - false - ); - return withJSDoc(finishNode(factory2.createJSDocFunctionType(parameters, type), pos), hasJSDoc); - } - return finishNode(factory2.createTypeReferenceNode( - parseIdentifierName(), - /*typeArguments*/ - void 0 - ), pos); - } - function parseJSDocParameter() { - const pos = getNodePos(); - let name; - if (token() === 110 /* ThisKeyword */ || token() === 105 /* NewKeyword */) { - name = parseIdentifierName(); - parseExpected(59 /* ColonToken */); - } - return finishNode( - factory2.createParameterDeclaration( - /*modifiers*/ - void 0, - /*dotDotDotToken*/ - void 0, - // TODO(rbuckton): JSDoc parameters don't have names (except `this`/`new`), should we manufacture an empty identifier? - name, - /*questionToken*/ - void 0, - parseJSDocType(), - /*initializer*/ - void 0 - ), - pos - ); - } - function parseJSDocType() { - scanner.setSkipJsDocLeadingAsterisks(true); - const pos = getNodePos(); - if (parseOptional(144 /* ModuleKeyword */)) { - const moduleTag = factory2.createJSDocNamepathType( - /*type*/ - void 0 - ); - terminate: - while (true) { - switch (token()) { - case 20 /* CloseBraceToken */: - case 1 /* EndOfFileToken */: - case 28 /* CommaToken */: - case 5 /* WhitespaceTrivia */: - break terminate; - default: - nextTokenJSDoc(); - } - } - scanner.setSkipJsDocLeadingAsterisks(false); - return finishNode(moduleTag, pos); - } - const hasDotDotDot = parseOptional(26 /* DotDotDotToken */); - let type = parseTypeOrTypePredicate(); - scanner.setSkipJsDocLeadingAsterisks(false); - if (hasDotDotDot) { - type = finishNode(factory2.createJSDocVariadicType(type), pos); - } - if (token() === 64 /* EqualsToken */) { - nextToken(); - return finishNode(factory2.createJSDocOptionalType(type), pos); - } - return type; - } - function parseTypeQuery() { - const pos = getNodePos(); - parseExpected(114 /* TypeOfKeyword */); - const entityName = parseEntityName( - /*allowReservedWords*/ - true - ); - const typeArguments = !scanner.hasPrecedingLineBreak() ? tryParseTypeArguments() : void 0; - return finishNode(factory2.createTypeQueryNode(entityName, typeArguments), pos); - } - function parseTypeParameter() { - const pos = getNodePos(); - const modifiers = parseModifiers( - /*allowDecorators*/ - false, - /*permitConstAsModifier*/ - true - ); - const name = parseIdentifier(); - let constraint; - let expression; - if (parseOptional(96 /* ExtendsKeyword */)) { - if (isStartOfType() || !isStartOfExpression()) { - constraint = parseType(); - } else { - expression = parseUnaryExpressionOrHigher(); - } - } - const defaultType = parseOptional(64 /* EqualsToken */) ? parseType() : void 0; - const node = factory2.createTypeParameterDeclaration(modifiers, name, constraint, defaultType); - node.expression = expression; - return finishNode(node, pos); - } - function parseTypeParameters() { - if (token() === 30 /* LessThanToken */) { - return parseBracketedList(19 /* TypeParameters */, parseTypeParameter, 30 /* LessThanToken */, 32 /* GreaterThanToken */); - } - } - function isStartOfParameter(isJSDocParameter) { - return token() === 26 /* DotDotDotToken */ || isBindingIdentifierOrPrivateIdentifierOrPattern() || isModifierKind(token()) || token() === 60 /* AtToken */ || isStartOfType( - /*inStartOfParameter*/ - !isJSDocParameter - ); - } - function parseNameOfParameter(modifiers) { - const name = parseIdentifierOrPattern(Diagnostics.Private_identifiers_cannot_be_used_as_parameters); - if (getFullWidth(name) === 0 && !some(modifiers) && isModifierKind(token())) { - nextToken(); - } - return name; - } - function isParameterNameStart() { - return isBindingIdentifier() || token() === 23 /* OpenBracketToken */ || token() === 19 /* OpenBraceToken */; - } - function parseParameter(inOuterAwaitContext) { - return parseParameterWorker(inOuterAwaitContext); - } - function parseParameterForSpeculation(inOuterAwaitContext) { - return parseParameterWorker( - inOuterAwaitContext, - /*allowAmbiguity*/ - false - ); - } - function parseParameterWorker(inOuterAwaitContext, allowAmbiguity = true) { - const pos = getNodePos(); - const hasJSDoc = hasPrecedingJSDocComment(); - const modifiers = inOuterAwaitContext ? doInAwaitContext(() => parseModifiers( - /*allowDecorators*/ - true - )) : doOutsideOfAwaitContext(() => parseModifiers( - /*allowDecorators*/ - true - )); - if (token() === 110 /* ThisKeyword */) { - const node2 = factory2.createParameterDeclaration( - modifiers, - /*dotDotDotToken*/ - void 0, - createIdentifier( - /*isIdentifier*/ - true - ), - /*questionToken*/ - void 0, - parseTypeAnnotation(), - /*initializer*/ - void 0 - ); - const modifier = firstOrUndefined(modifiers); - if (modifier) { - parseErrorAtRange(modifier, Diagnostics.Neither_decorators_nor_modifiers_may_be_applied_to_this_parameters); - } - return withJSDoc(finishNode(node2, pos), hasJSDoc); - } - const savedTopLevel = topLevel; - topLevel = false; - const dotDotDotToken = parseOptionalToken(26 /* DotDotDotToken */); - if (!allowAmbiguity && !isParameterNameStart()) { - return void 0; - } - const node = withJSDoc( - finishNode( - factory2.createParameterDeclaration( - modifiers, - dotDotDotToken, - parseNameOfParameter(modifiers), - parseOptionalToken(58 /* QuestionToken */), - parseTypeAnnotation(), - parseInitializer() - ), - pos - ), - hasJSDoc - ); - topLevel = savedTopLevel; - return node; - } - function parseReturnType(returnToken, isType) { - if (shouldParseReturnType(returnToken, isType)) { - return allowConditionalTypesAnd(parseTypeOrTypePredicate); - } - } - function shouldParseReturnType(returnToken, isType) { - if (returnToken === 39 /* EqualsGreaterThanToken */) { - parseExpected(returnToken); - return true; - } else if (parseOptional(59 /* ColonToken */)) { - return true; - } else if (isType && token() === 39 /* EqualsGreaterThanToken */) { - parseErrorAtCurrentToken(Diagnostics._0_expected, tokenToString(59 /* ColonToken */)); - nextToken(); - return true; - } - return false; - } - function parseParametersWorker(flags, allowAmbiguity) { - const savedYieldContext = inYieldContext(); - const savedAwaitContext = inAwaitContext(); - setYieldContext(!!(flags & 1 /* Yield */)); - setAwaitContext(!!(flags & 2 /* Await */)); - const parameters = flags & 32 /* JSDoc */ ? parseDelimitedList(17 /* JSDocParameters */, parseJSDocParameter) : parseDelimitedList(16 /* Parameters */, () => allowAmbiguity ? parseParameter(savedAwaitContext) : parseParameterForSpeculation(savedAwaitContext)); - setYieldContext(savedYieldContext); - setAwaitContext(savedAwaitContext); - return parameters; - } - function parseParameters(flags) { - if (!parseExpected(21 /* OpenParenToken */)) { - return createMissingList(); - } - const parameters = parseParametersWorker( - flags, - /*allowAmbiguity*/ - true - ); - parseExpected(22 /* CloseParenToken */); - return parameters; - } - function parseTypeMemberSemicolon() { - if (parseOptional(28 /* CommaToken */)) { - return; - } - parseSemicolon(); - } - function parseSignatureMember(kind) { - const pos = getNodePos(); - const hasJSDoc = hasPrecedingJSDocComment(); - if (kind === 180 /* ConstructSignature */) { - parseExpected(105 /* NewKeyword */); - } - const typeParameters = parseTypeParameters(); - const parameters = parseParameters(4 /* Type */); - const type = parseReturnType( - 59 /* ColonToken */, - /*isType*/ - true - ); - parseTypeMemberSemicolon(); - const node = kind === 179 /* CallSignature */ ? factory2.createCallSignature(typeParameters, parameters, type) : factory2.createConstructSignature(typeParameters, parameters, type); - return withJSDoc(finishNode(node, pos), hasJSDoc); - } - function isIndexSignature() { - return token() === 23 /* OpenBracketToken */ && lookAhead(isUnambiguouslyIndexSignature); - } - function isUnambiguouslyIndexSignature() { - nextToken(); - if (token() === 26 /* DotDotDotToken */ || token() === 24 /* CloseBracketToken */) { - return true; - } - if (isModifierKind(token())) { - nextToken(); - if (isIdentifier2()) { - return true; - } - } else if (!isIdentifier2()) { - return false; - } else { - nextToken(); - } - if (token() === 59 /* ColonToken */ || token() === 28 /* CommaToken */) { - return true; - } - if (token() !== 58 /* QuestionToken */) { - return false; - } - nextToken(); - return token() === 59 /* ColonToken */ || token() === 28 /* CommaToken */ || token() === 24 /* CloseBracketToken */; - } - function parseIndexSignatureDeclaration(pos, hasJSDoc, modifiers) { - const parameters = parseBracketedList(16 /* Parameters */, () => parseParameter( - /*inOuterAwaitContext*/ - false - ), 23 /* OpenBracketToken */, 24 /* CloseBracketToken */); - const type = parseTypeAnnotation(); - parseTypeMemberSemicolon(); - const node = factory2.createIndexSignature(modifiers, parameters, type); - return withJSDoc(finishNode(node, pos), hasJSDoc); - } - function parsePropertyOrMethodSignature(pos, hasJSDoc, modifiers) { - const name = parsePropertyName(); - const questionToken = parseOptionalToken(58 /* QuestionToken */); - let node; - if (token() === 21 /* OpenParenToken */ || token() === 30 /* LessThanToken */) { - const typeParameters = parseTypeParameters(); - const parameters = parseParameters(4 /* Type */); - const type = parseReturnType( - 59 /* ColonToken */, - /*isType*/ - true - ); - node = factory2.createMethodSignature(modifiers, name, questionToken, typeParameters, parameters, type); - } else { - const type = parseTypeAnnotation(); - node = factory2.createPropertySignature(modifiers, name, questionToken, type); - if (token() === 64 /* EqualsToken */) node.initializer = parseInitializer(); - } - parseTypeMemberSemicolon(); - return withJSDoc(finishNode(node, pos), hasJSDoc); - } - function isTypeMemberStart() { - if (token() === 21 /* OpenParenToken */ || token() === 30 /* LessThanToken */ || token() === 139 /* GetKeyword */ || token() === 153 /* SetKeyword */) { - return true; - } - let idToken = false; - while (isModifierKind(token())) { - idToken = true; - nextToken(); - } - if (token() === 23 /* OpenBracketToken */) { - return true; - } - if (isLiteralPropertyName()) { - idToken = true; - nextToken(); - } - if (idToken) { - return token() === 21 /* OpenParenToken */ || token() === 30 /* LessThanToken */ || token() === 58 /* QuestionToken */ || token() === 59 /* ColonToken */ || token() === 28 /* CommaToken */ || canParseSemicolon(); - } - return false; - } - function parseTypeMember() { - if (token() === 21 /* OpenParenToken */ || token() === 30 /* LessThanToken */) { - return parseSignatureMember(179 /* CallSignature */); - } - if (token() === 105 /* NewKeyword */ && lookAhead(nextTokenIsOpenParenOrLessThan)) { - return parseSignatureMember(180 /* ConstructSignature */); - } - const pos = getNodePos(); - const hasJSDoc = hasPrecedingJSDocComment(); - const modifiers = parseModifiers( - /*allowDecorators*/ - false - ); - if (parseContextualModifier(139 /* GetKeyword */)) { - return parseAccessorDeclaration(pos, hasJSDoc, modifiers, 177 /* GetAccessor */, 4 /* Type */); - } - if (parseContextualModifier(153 /* SetKeyword */)) { - return parseAccessorDeclaration(pos, hasJSDoc, modifiers, 178 /* SetAccessor */, 4 /* Type */); - } - if (isIndexSignature()) { - return parseIndexSignatureDeclaration(pos, hasJSDoc, modifiers); - } - return parsePropertyOrMethodSignature(pos, hasJSDoc, modifiers); - } - function nextTokenIsOpenParenOrLessThan() { - nextToken(); - return token() === 21 /* OpenParenToken */ || token() === 30 /* LessThanToken */; - } - function nextTokenIsDot() { - return nextToken() === 25 /* DotToken */; - } - function nextTokenIsOpenParenOrLessThanOrDot() { - switch (nextToken()) { - case 21 /* OpenParenToken */: - case 30 /* LessThanToken */: - case 25 /* DotToken */: - return true; - } - return false; - } - function parseTypeLiteral() { - const pos = getNodePos(); - return finishNode(factory2.createTypeLiteralNode(parseObjectTypeMembers()), pos); - } - function parseObjectTypeMembers() { - let members; - if (parseExpected(19 /* OpenBraceToken */)) { - members = parseList(4 /* TypeMembers */, parseTypeMember); - parseExpected(20 /* CloseBraceToken */); - } else { - members = createMissingList(); - } - return members; - } - function isStartOfMappedType() { - nextToken(); - if (token() === 40 /* PlusToken */ || token() === 41 /* MinusToken */) { - return nextToken() === 148 /* ReadonlyKeyword */; - } - if (token() === 148 /* ReadonlyKeyword */) { - nextToken(); - } - return token() === 23 /* OpenBracketToken */ && nextTokenIsIdentifier() && nextToken() === 103 /* InKeyword */; - } - function parseMappedTypeParameter() { - const pos = getNodePos(); - const name = parseIdentifierName(); - parseExpected(103 /* InKeyword */); - const type = parseType(); - return finishNode(factory2.createTypeParameterDeclaration( - /*modifiers*/ - void 0, - name, - type, - /*defaultType*/ - void 0 - ), pos); - } - function parseMappedType() { - const pos = getNodePos(); - parseExpected(19 /* OpenBraceToken */); - let readonlyToken; - if (token() === 148 /* ReadonlyKeyword */ || token() === 40 /* PlusToken */ || token() === 41 /* MinusToken */) { - readonlyToken = parseTokenNode(); - if (readonlyToken.kind !== 148 /* ReadonlyKeyword */) { - parseExpected(148 /* ReadonlyKeyword */); - } - } - parseExpected(23 /* OpenBracketToken */); - const typeParameter = parseMappedTypeParameter(); - const nameType = parseOptional(130 /* AsKeyword */) ? parseType() : void 0; - parseExpected(24 /* CloseBracketToken */); - let questionToken; - if (token() === 58 /* QuestionToken */ || token() === 40 /* PlusToken */ || token() === 41 /* MinusToken */) { - questionToken = parseTokenNode(); - if (questionToken.kind !== 58 /* QuestionToken */) { - parseExpected(58 /* QuestionToken */); - } - } - const type = parseTypeAnnotation(); - parseSemicolon(); - const members = parseList(4 /* TypeMembers */, parseTypeMember); - parseExpected(20 /* CloseBraceToken */); - return finishNode(factory2.createMappedTypeNode(readonlyToken, typeParameter, nameType, questionToken, type, members), pos); - } - function parseTupleElementType() { - const pos = getNodePos(); - if (parseOptional(26 /* DotDotDotToken */)) { - return finishNode(factory2.createRestTypeNode(parseType()), pos); - } - const type = parseType(); - if (isJSDocNullableType(type) && type.pos === type.type.pos) { - const node = factory2.createOptionalTypeNode(type.type); - setTextRange(node, type); - node.flags = type.flags; - return node; - } - return type; - } - function isNextTokenColonOrQuestionColon() { - return nextToken() === 59 /* ColonToken */ || token() === 58 /* QuestionToken */ && nextToken() === 59 /* ColonToken */; - } - function isTupleElementName() { - if (token() === 26 /* DotDotDotToken */) { - return tokenIsIdentifierOrKeyword(nextToken()) && isNextTokenColonOrQuestionColon(); - } - return tokenIsIdentifierOrKeyword(token()) && isNextTokenColonOrQuestionColon(); - } - function parseTupleElementNameOrTupleElementType() { - if (lookAhead(isTupleElementName)) { - const pos = getNodePos(); - const hasJSDoc = hasPrecedingJSDocComment(); - const dotDotDotToken = parseOptionalToken(26 /* DotDotDotToken */); - const name = parseIdentifierName(); - const questionToken = parseOptionalToken(58 /* QuestionToken */); - parseExpected(59 /* ColonToken */); - const type = parseTupleElementType(); - const node = factory2.createNamedTupleMember(dotDotDotToken, name, questionToken, type); - return withJSDoc(finishNode(node, pos), hasJSDoc); - } - return parseTupleElementType(); - } - function parseTupleType() { - const pos = getNodePos(); - return finishNode( - factory2.createTupleTypeNode( - parseBracketedList(21 /* TupleElementTypes */, parseTupleElementNameOrTupleElementType, 23 /* OpenBracketToken */, 24 /* CloseBracketToken */) - ), - pos - ); - } - function parseParenthesizedType() { - const pos = getNodePos(); - parseExpected(21 /* OpenParenToken */); - const type = parseType(); - parseExpected(22 /* CloseParenToken */); - return finishNode(factory2.createParenthesizedType(type), pos); - } - function parseModifiersForConstructorType() { - let modifiers; - if (token() === 128 /* AbstractKeyword */) { - const pos = getNodePos(); - nextToken(); - const modifier = finishNode(factoryCreateToken(128 /* AbstractKeyword */), pos); - modifiers = createNodeArray([modifier], pos); - } - return modifiers; - } - function parseFunctionOrConstructorType() { - const pos = getNodePos(); - const hasJSDoc = hasPrecedingJSDocComment(); - const modifiers = parseModifiersForConstructorType(); - const isConstructorType = parseOptional(105 /* NewKeyword */); - Debug.assert(!modifiers || isConstructorType, "Per isStartOfFunctionOrConstructorType, a function type cannot have modifiers."); - const typeParameters = parseTypeParameters(); - const parameters = parseParameters(4 /* Type */); - const type = parseReturnType( - 39 /* EqualsGreaterThanToken */, - /*isType*/ - false - ); - const node = isConstructorType ? factory2.createConstructorTypeNode(modifiers, typeParameters, parameters, type) : factory2.createFunctionTypeNode(typeParameters, parameters, type); - return withJSDoc(finishNode(node, pos), hasJSDoc); - } - function parseKeywordAndNoDot() { - const node = parseTokenNode(); - return token() === 25 /* DotToken */ ? void 0 : node; - } - function parseLiteralTypeNode(negative) { - const pos = getNodePos(); - if (negative) { - nextToken(); - } - let expression = token() === 112 /* TrueKeyword */ || token() === 97 /* FalseKeyword */ || token() === 106 /* NullKeyword */ ? parseTokenNode() : parseLiteralLikeNode(token()); - if (negative) { - expression = finishNode(factory2.createPrefixUnaryExpression(41 /* MinusToken */, expression), pos); - } - return finishNode(factory2.createLiteralTypeNode(expression), pos); - } - function isStartOfTypeOfImportType() { - nextToken(); - return token() === 102 /* ImportKeyword */; - } - function parseImportType() { - sourceFlags |= 4194304 /* PossiblyContainsDynamicImport */; - const pos = getNodePos(); - const isTypeOf = parseOptional(114 /* TypeOfKeyword */); - parseExpected(102 /* ImportKeyword */); - parseExpected(21 /* OpenParenToken */); - const type = parseType(); - let attributes; - if (parseOptional(28 /* CommaToken */)) { - const openBracePosition = scanner.getTokenStart(); - parseExpected(19 /* OpenBraceToken */); - const currentToken2 = token(); - if (currentToken2 === 118 /* WithKeyword */ || currentToken2 === 132 /* AssertKeyword */) { - nextToken(); - } else { - parseErrorAtCurrentToken(Diagnostics._0_expected, tokenToString(118 /* WithKeyword */)); - } - parseExpected(59 /* ColonToken */); - attributes = parseImportAttributes( - currentToken2, - /*skipKeyword*/ - true - ); - if (!parseExpected(20 /* CloseBraceToken */)) { - const lastError = lastOrUndefined(parseDiagnostics); - if (lastError && lastError.code === Diagnostics._0_expected.code) { - addRelatedInfo( - lastError, - createDetachedDiagnostic(fileName, sourceText, openBracePosition, 1, Diagnostics.The_parser_expected_to_find_a_1_to_match_the_0_token_here, "{", "}") - ); - } - } - } - parseExpected(22 /* CloseParenToken */); - const qualifier = parseOptional(25 /* DotToken */) ? parseEntityNameOfTypeReference() : void 0; - const typeArguments = parseTypeArgumentsOfTypeReference(); - return finishNode(factory2.createImportTypeNode(type, attributes, qualifier, typeArguments, isTypeOf), pos); - } - function nextTokenIsNumericOrBigIntLiteral() { - nextToken(); - return token() === 9 /* NumericLiteral */ || token() === 10 /* BigIntLiteral */; - } - function parseNonArrayType() { - switch (token()) { - case 133 /* AnyKeyword */: - case 159 /* UnknownKeyword */: - case 154 /* StringKeyword */: - case 150 /* NumberKeyword */: - case 163 /* BigIntKeyword */: - case 155 /* SymbolKeyword */: - case 136 /* BooleanKeyword */: - case 157 /* UndefinedKeyword */: - case 146 /* NeverKeyword */: - case 151 /* ObjectKeyword */: - return tryParse(parseKeywordAndNoDot) || parseTypeReference(); - case 67 /* AsteriskEqualsToken */: - scanner.reScanAsteriskEqualsToken(); - case 42 /* AsteriskToken */: - return parseJSDocAllType(); - case 61 /* QuestionQuestionToken */: - scanner.reScanQuestionToken(); - case 58 /* QuestionToken */: - return parseJSDocUnknownOrNullableType(); - case 100 /* FunctionKeyword */: - return parseJSDocFunctionType(); - case 54 /* ExclamationToken */: - return parseJSDocNonNullableType(); - case 15 /* NoSubstitutionTemplateLiteral */: - case 11 /* StringLiteral */: - case 9 /* NumericLiteral */: - case 10 /* BigIntLiteral */: - case 112 /* TrueKeyword */: - case 97 /* FalseKeyword */: - case 106 /* NullKeyword */: - return parseLiteralTypeNode(); - case 41 /* MinusToken */: - return lookAhead(nextTokenIsNumericOrBigIntLiteral) ? parseLiteralTypeNode( - /*negative*/ - true - ) : parseTypeReference(); - case 116 /* VoidKeyword */: - return parseTokenNode(); - case 110 /* ThisKeyword */: { - const thisKeyword = parseThisTypeNode(); - if (token() === 142 /* IsKeyword */ && !scanner.hasPrecedingLineBreak()) { - return parseThisTypePredicate(thisKeyword); - } else { - return thisKeyword; - } - } - case 114 /* TypeOfKeyword */: - return lookAhead(isStartOfTypeOfImportType) ? parseImportType() : parseTypeQuery(); - case 19 /* OpenBraceToken */: - return lookAhead(isStartOfMappedType) ? parseMappedType() : parseTypeLiteral(); - case 23 /* OpenBracketToken */: - return parseTupleType(); - case 21 /* OpenParenToken */: - return parseParenthesizedType(); - case 102 /* ImportKeyword */: - return parseImportType(); - case 131 /* AssertsKeyword */: - return lookAhead(nextTokenIsIdentifierOrKeywordOnSameLine) ? parseAssertsTypePredicate() : parseTypeReference(); - case 16 /* TemplateHead */: - return parseTemplateType(); - default: - return parseTypeReference(); - } - } - function isStartOfType(inStartOfParameter) { - switch (token()) { - case 133 /* AnyKeyword */: - case 159 /* UnknownKeyword */: - case 154 /* StringKeyword */: - case 150 /* NumberKeyword */: - case 163 /* BigIntKeyword */: - case 136 /* BooleanKeyword */: - case 148 /* ReadonlyKeyword */: - case 155 /* SymbolKeyword */: - case 158 /* UniqueKeyword */: - case 116 /* VoidKeyword */: - case 157 /* UndefinedKeyword */: - case 106 /* NullKeyword */: - case 110 /* ThisKeyword */: - case 114 /* TypeOfKeyword */: - case 146 /* NeverKeyword */: - case 19 /* OpenBraceToken */: - case 23 /* OpenBracketToken */: - case 30 /* LessThanToken */: - case 52 /* BarToken */: - case 51 /* AmpersandToken */: - case 105 /* NewKeyword */: - case 11 /* StringLiteral */: - case 9 /* NumericLiteral */: - case 10 /* BigIntLiteral */: - case 112 /* TrueKeyword */: - case 97 /* FalseKeyword */: - case 151 /* ObjectKeyword */: - case 42 /* AsteriskToken */: - case 58 /* QuestionToken */: - case 54 /* ExclamationToken */: - case 26 /* DotDotDotToken */: - case 140 /* InferKeyword */: - case 102 /* ImportKeyword */: - case 131 /* AssertsKeyword */: - case 15 /* NoSubstitutionTemplateLiteral */: - case 16 /* TemplateHead */: - return true; - case 100 /* FunctionKeyword */: - return !inStartOfParameter; - case 41 /* MinusToken */: - return !inStartOfParameter && lookAhead(nextTokenIsNumericOrBigIntLiteral); - case 21 /* OpenParenToken */: - return !inStartOfParameter && lookAhead(isStartOfParenthesizedOrFunctionType); - default: - return isIdentifier2(); - } - } - function isStartOfParenthesizedOrFunctionType() { - nextToken(); - return token() === 22 /* CloseParenToken */ || isStartOfParameter( - /*isJSDocParameter*/ - false - ) || isStartOfType(); - } - function parsePostfixTypeOrHigher() { - const pos = getNodePos(); - let type = parseNonArrayType(); - while (!scanner.hasPrecedingLineBreak()) { - switch (token()) { - case 54 /* ExclamationToken */: - nextToken(); - type = finishNode(factory2.createJSDocNonNullableType( - type, - /*postfix*/ - true - ), pos); - break; - case 58 /* QuestionToken */: - if (lookAhead(nextTokenIsStartOfType)) { - return type; - } - nextToken(); - type = finishNode(factory2.createJSDocNullableType( - type, - /*postfix*/ - true - ), pos); - break; - case 23 /* OpenBracketToken */: - parseExpected(23 /* OpenBracketToken */); - if (isStartOfType()) { - const indexType = parseType(); - parseExpected(24 /* CloseBracketToken */); - type = finishNode(factory2.createIndexedAccessTypeNode(type, indexType), pos); - } else { - parseExpected(24 /* CloseBracketToken */); - type = finishNode(factory2.createArrayTypeNode(type), pos); - } - break; - default: - return type; - } - } - return type; - } - function parseTypeOperator(operator) { - const pos = getNodePos(); - parseExpected(operator); - return finishNode(factory2.createTypeOperatorNode(operator, parseTypeOperatorOrHigher()), pos); - } - function tryParseConstraintOfInferType() { - if (parseOptional(96 /* ExtendsKeyword */)) { - const constraint = disallowConditionalTypesAnd(parseType); - if (inDisallowConditionalTypesContext() || token() !== 58 /* QuestionToken */) { - return constraint; - } - } - } - function parseTypeParameterOfInferType() { - const pos = getNodePos(); - const name = parseIdentifier(); - const constraint = tryParse(tryParseConstraintOfInferType); - const node = factory2.createTypeParameterDeclaration( - /*modifiers*/ - void 0, - name, - constraint - ); - return finishNode(node, pos); - } - function parseInferType() { - const pos = getNodePos(); - parseExpected(140 /* InferKeyword */); - return finishNode(factory2.createInferTypeNode(parseTypeParameterOfInferType()), pos); - } - function parseTypeOperatorOrHigher() { - const operator = token(); - switch (operator) { - case 143 /* KeyOfKeyword */: - case 158 /* UniqueKeyword */: - case 148 /* ReadonlyKeyword */: - return parseTypeOperator(operator); - case 140 /* InferKeyword */: - return parseInferType(); - } - return allowConditionalTypesAnd(parsePostfixTypeOrHigher); - } - function parseFunctionOrConstructorTypeToError(isInUnionType) { - if (isStartOfFunctionTypeOrConstructorType()) { - const type = parseFunctionOrConstructorType(); - let diagnostic; - if (isFunctionTypeNode(type)) { - diagnostic = isInUnionType ? Diagnostics.Function_type_notation_must_be_parenthesized_when_used_in_a_union_type : Diagnostics.Function_type_notation_must_be_parenthesized_when_used_in_an_intersection_type; - } else { - diagnostic = isInUnionType ? Diagnostics.Constructor_type_notation_must_be_parenthesized_when_used_in_a_union_type : Diagnostics.Constructor_type_notation_must_be_parenthesized_when_used_in_an_intersection_type; - } - parseErrorAtRange(type, diagnostic); - return type; - } - return void 0; - } - function parseUnionOrIntersectionType(operator, parseConstituentType, createTypeNode) { - const pos = getNodePos(); - const isUnionType = operator === 52 /* BarToken */; - const hasLeadingOperator = parseOptional(operator); - let type = hasLeadingOperator && parseFunctionOrConstructorTypeToError(isUnionType) || parseConstituentType(); - if (token() === operator || hasLeadingOperator) { - const types = [type]; - while (parseOptional(operator)) { - types.push(parseFunctionOrConstructorTypeToError(isUnionType) || parseConstituentType()); - } - type = finishNode(createTypeNode(createNodeArray(types, pos)), pos); - } - return type; - } - function parseIntersectionTypeOrHigher() { - return parseUnionOrIntersectionType(51 /* AmpersandToken */, parseTypeOperatorOrHigher, factory2.createIntersectionTypeNode); - } - function parseUnionTypeOrHigher() { - return parseUnionOrIntersectionType(52 /* BarToken */, parseIntersectionTypeOrHigher, factory2.createUnionTypeNode); - } - function nextTokenIsNewKeyword() { - nextToken(); - return token() === 105 /* NewKeyword */; - } - function isStartOfFunctionTypeOrConstructorType() { - if (token() === 30 /* LessThanToken */) { - return true; - } - if (token() === 21 /* OpenParenToken */ && lookAhead(isUnambiguouslyStartOfFunctionType)) { - return true; - } - return token() === 105 /* NewKeyword */ || token() === 128 /* AbstractKeyword */ && lookAhead(nextTokenIsNewKeyword); - } - function skipParameterStart() { - if (isModifierKind(token())) { - parseModifiers( - /*allowDecorators*/ - false - ); - } - if (isIdentifier2() || token() === 110 /* ThisKeyword */) { - nextToken(); - return true; - } - if (token() === 23 /* OpenBracketToken */ || token() === 19 /* OpenBraceToken */) { - const previousErrorCount = parseDiagnostics.length; - parseIdentifierOrPattern(); - return previousErrorCount === parseDiagnostics.length; - } - return false; - } - function isUnambiguouslyStartOfFunctionType() { - nextToken(); - if (token() === 22 /* CloseParenToken */ || token() === 26 /* DotDotDotToken */) { - return true; - } - if (skipParameterStart()) { - if (token() === 59 /* ColonToken */ || token() === 28 /* CommaToken */ || token() === 58 /* QuestionToken */ || token() === 64 /* EqualsToken */) { - return true; - } - if (token() === 22 /* CloseParenToken */) { - nextToken(); - if (token() === 39 /* EqualsGreaterThanToken */) { - return true; - } - } - } - return false; - } - function parseTypeOrTypePredicate() { - const pos = getNodePos(); - const typePredicateVariable = isIdentifier2() && tryParse(parseTypePredicatePrefix); - const type = parseType(); - if (typePredicateVariable) { - return finishNode(factory2.createTypePredicateNode( - /*assertsModifier*/ - void 0, - typePredicateVariable, - type - ), pos); - } else { - return type; - } - } - function parseTypePredicatePrefix() { - const id = parseIdentifier(); - if (token() === 142 /* IsKeyword */ && !scanner.hasPrecedingLineBreak()) { - nextToken(); - return id; - } - } - function parseAssertsTypePredicate() { - const pos = getNodePos(); - const assertsModifier = parseExpectedToken(131 /* AssertsKeyword */); - const parameterName = token() === 110 /* ThisKeyword */ ? parseThisTypeNode() : parseIdentifier(); - const type = parseOptional(142 /* IsKeyword */) ? parseType() : void 0; - return finishNode(factory2.createTypePredicateNode(assertsModifier, parameterName, type), pos); - } - function parseType() { - if (contextFlags & 81920 /* TypeExcludesFlags */) { - return doOutsideOfContext(81920 /* TypeExcludesFlags */, parseType); - } - if (isStartOfFunctionTypeOrConstructorType()) { - return parseFunctionOrConstructorType(); - } - const pos = getNodePos(); - const type = parseUnionTypeOrHigher(); - if (!inDisallowConditionalTypesContext() && !scanner.hasPrecedingLineBreak() && parseOptional(96 /* ExtendsKeyword */)) { - const extendsType = disallowConditionalTypesAnd(parseType); - parseExpected(58 /* QuestionToken */); - const trueType = allowConditionalTypesAnd(parseType); - parseExpected(59 /* ColonToken */); - const falseType = allowConditionalTypesAnd(parseType); - return finishNode(factory2.createConditionalTypeNode(type, extendsType, trueType, falseType), pos); - } - return type; - } - function parseTypeAnnotation() { - return parseOptional(59 /* ColonToken */) ? parseType() : void 0; - } - function isStartOfLeftHandSideExpression() { - switch (token()) { - case 110 /* ThisKeyword */: - case 108 /* SuperKeyword */: - case 106 /* NullKeyword */: - case 112 /* TrueKeyword */: - case 97 /* FalseKeyword */: - case 9 /* NumericLiteral */: - case 10 /* BigIntLiteral */: - case 11 /* StringLiteral */: - case 15 /* NoSubstitutionTemplateLiteral */: - case 16 /* TemplateHead */: - case 21 /* OpenParenToken */: - case 23 /* OpenBracketToken */: - case 19 /* OpenBraceToken */: - case 100 /* FunctionKeyword */: - case 86 /* ClassKeyword */: - case 105 /* NewKeyword */: - case 44 /* SlashToken */: - case 69 /* SlashEqualsToken */: - case 80 /* Identifier */: - return true; - case 102 /* ImportKeyword */: - return lookAhead(nextTokenIsOpenParenOrLessThanOrDot); - default: - return isIdentifier2(); - } - } - function isStartOfExpression() { - if (isStartOfLeftHandSideExpression()) { - return true; - } - switch (token()) { - case 40 /* PlusToken */: - case 41 /* MinusToken */: - case 55 /* TildeToken */: - case 54 /* ExclamationToken */: - case 91 /* DeleteKeyword */: - case 114 /* TypeOfKeyword */: - case 116 /* VoidKeyword */: - case 46 /* PlusPlusToken */: - case 47 /* MinusMinusToken */: - case 30 /* LessThanToken */: - case 135 /* AwaitKeyword */: - case 127 /* YieldKeyword */: - case 81 /* PrivateIdentifier */: - case 60 /* AtToken */: - return true; - default: - if (isBinaryOperator2()) { - return true; - } - return isIdentifier2(); - } - } - function isStartOfExpressionStatement() { - return token() !== 19 /* OpenBraceToken */ && token() !== 100 /* FunctionKeyword */ && token() !== 86 /* ClassKeyword */ && token() !== 60 /* AtToken */ && isStartOfExpression(); - } - function parseExpression() { - const saveDecoratorContext = inDecoratorContext(); - if (saveDecoratorContext) { - setDecoratorContext( - /*val*/ - false - ); - } - const pos = getNodePos(); - let expr = parseAssignmentExpressionOrHigher( - /*allowReturnTypeInArrowFunction*/ - true - ); - let operatorToken; - while (operatorToken = parseOptionalToken(28 /* CommaToken */)) { - expr = makeBinaryExpression(expr, operatorToken, parseAssignmentExpressionOrHigher( - /*allowReturnTypeInArrowFunction*/ - true - ), pos); - } - if (saveDecoratorContext) { - setDecoratorContext( - /*val*/ - true - ); - } - return expr; - } - function parseInitializer() { - return parseOptional(64 /* EqualsToken */) ? parseAssignmentExpressionOrHigher( - /*allowReturnTypeInArrowFunction*/ - true - ) : void 0; - } - function parseAssignmentExpressionOrHigher(allowReturnTypeInArrowFunction) { - if (isYieldExpression()) { - return parseYieldExpression(); - } - const arrowExpression = tryParseParenthesizedArrowFunctionExpression(allowReturnTypeInArrowFunction) || tryParseAsyncSimpleArrowFunctionExpression(allowReturnTypeInArrowFunction); - if (arrowExpression) { - return arrowExpression; - } - const pos = getNodePos(); - const hasJSDoc = hasPrecedingJSDocComment(); - const expr = parseBinaryExpressionOrHigher(0 /* Lowest */); - if (expr.kind === 80 /* Identifier */ && token() === 39 /* EqualsGreaterThanToken */) { - return parseSimpleArrowFunctionExpression( - pos, - expr, - allowReturnTypeInArrowFunction, - hasJSDoc, - /*asyncModifier*/ - void 0 - ); - } - if (isLeftHandSideExpression(expr) && isAssignmentOperator(reScanGreaterToken())) { - return makeBinaryExpression(expr, parseTokenNode(), parseAssignmentExpressionOrHigher(allowReturnTypeInArrowFunction), pos); - } - return parseConditionalExpressionRest(expr, pos, allowReturnTypeInArrowFunction); - } - function isYieldExpression() { - if (token() === 127 /* YieldKeyword */) { - if (inYieldContext()) { - return true; - } - return lookAhead(nextTokenIsIdentifierOrKeywordOrLiteralOnSameLine); - } - return false; - } - function nextTokenIsIdentifierOnSameLine() { - nextToken(); - return !scanner.hasPrecedingLineBreak() && isIdentifier2(); - } - function parseYieldExpression() { - const pos = getNodePos(); - nextToken(); - if (!scanner.hasPrecedingLineBreak() && (token() === 42 /* AsteriskToken */ || isStartOfExpression())) { - return finishNode( - factory2.createYieldExpression( - parseOptionalToken(42 /* AsteriskToken */), - parseAssignmentExpressionOrHigher( - /*allowReturnTypeInArrowFunction*/ - true - ) - ), - pos - ); - } else { - return finishNode(factory2.createYieldExpression( - /*asteriskToken*/ - void 0, - /*expression*/ - void 0 - ), pos); - } - } - function parseSimpleArrowFunctionExpression(pos, identifier, allowReturnTypeInArrowFunction, hasJSDoc, asyncModifier) { - Debug.assert(token() === 39 /* EqualsGreaterThanToken */, "parseSimpleArrowFunctionExpression should only have been called if we had a =>"); - const parameter = factory2.createParameterDeclaration( - /*modifiers*/ - void 0, - /*dotDotDotToken*/ - void 0, - identifier, - /*questionToken*/ - void 0, - /*type*/ - void 0, - /*initializer*/ - void 0 - ); - finishNode(parameter, identifier.pos); - const parameters = createNodeArray([parameter], parameter.pos, parameter.end); - const equalsGreaterThanToken = parseExpectedToken(39 /* EqualsGreaterThanToken */); - const body = parseArrowFunctionExpressionBody( - /*isAsync*/ - !!asyncModifier, - allowReturnTypeInArrowFunction - ); - const node = factory2.createArrowFunction( - asyncModifier, - /*typeParameters*/ - void 0, - parameters, - /*type*/ - void 0, - equalsGreaterThanToken, - body - ); - return withJSDoc(finishNode(node, pos), hasJSDoc); - } - function tryParseParenthesizedArrowFunctionExpression(allowReturnTypeInArrowFunction) { - const triState = isParenthesizedArrowFunctionExpression(); - if (triState === 0 /* False */) { - return void 0; - } - return triState === 1 /* True */ ? parseParenthesizedArrowFunctionExpression( - /*allowAmbiguity*/ - true, - /*allowReturnTypeInArrowFunction*/ - true - ) : tryParse(() => parsePossibleParenthesizedArrowFunctionExpression(allowReturnTypeInArrowFunction)); - } - function isParenthesizedArrowFunctionExpression() { - if (token() === 21 /* OpenParenToken */ || token() === 30 /* LessThanToken */ || token() === 134 /* AsyncKeyword */) { - return lookAhead(isParenthesizedArrowFunctionExpressionWorker); - } - if (token() === 39 /* EqualsGreaterThanToken */) { - return 1 /* True */; - } - return 0 /* False */; - } - function isParenthesizedArrowFunctionExpressionWorker() { - if (token() === 134 /* AsyncKeyword */) { - nextToken(); - if (scanner.hasPrecedingLineBreak()) { - return 0 /* False */; - } - if (token() !== 21 /* OpenParenToken */ && token() !== 30 /* LessThanToken */) { - return 0 /* False */; - } - } - const first2 = token(); - const second = nextToken(); - if (first2 === 21 /* OpenParenToken */) { - if (second === 22 /* CloseParenToken */) { - const third = nextToken(); - switch (third) { - case 39 /* EqualsGreaterThanToken */: - case 59 /* ColonToken */: - case 19 /* OpenBraceToken */: - return 1 /* True */; - default: - return 0 /* False */; - } - } - if (second === 23 /* OpenBracketToken */ || second === 19 /* OpenBraceToken */) { - return 2 /* Unknown */; - } - if (second === 26 /* DotDotDotToken */) { - return 1 /* True */; - } - if (isModifierKind(second) && second !== 134 /* AsyncKeyword */ && lookAhead(nextTokenIsIdentifier)) { - if (nextToken() === 130 /* AsKeyword */) { - return 0 /* False */; - } - return 1 /* True */; - } - if (!isIdentifier2() && second !== 110 /* ThisKeyword */) { - return 0 /* False */; - } - switch (nextToken()) { - case 59 /* ColonToken */: - return 1 /* True */; - case 58 /* QuestionToken */: - nextToken(); - if (token() === 59 /* ColonToken */ || token() === 28 /* CommaToken */ || token() === 64 /* EqualsToken */ || token() === 22 /* CloseParenToken */) { - return 1 /* True */; - } - return 0 /* False */; - case 28 /* CommaToken */: - case 64 /* EqualsToken */: - case 22 /* CloseParenToken */: - return 2 /* Unknown */; - } - return 0 /* False */; - } else { - Debug.assert(first2 === 30 /* LessThanToken */); - if (!isIdentifier2() && token() !== 87 /* ConstKeyword */) { - return 0 /* False */; - } - if (languageVariant === 1 /* JSX */) { - const isArrowFunctionInJsx = lookAhead(() => { - parseOptional(87 /* ConstKeyword */); - const third = nextToken(); - if (third === 96 /* ExtendsKeyword */) { - const fourth = nextToken(); - switch (fourth) { - case 64 /* EqualsToken */: - case 32 /* GreaterThanToken */: - case 44 /* SlashToken */: - return false; - default: - return true; - } - } else if (third === 28 /* CommaToken */ || third === 64 /* EqualsToken */) { - return true; - } - return false; - }); - if (isArrowFunctionInJsx) { - return 1 /* True */; - } - return 0 /* False */; - } - return 2 /* Unknown */; - } - } - function parsePossibleParenthesizedArrowFunctionExpression(allowReturnTypeInArrowFunction) { - const tokenPos = scanner.getTokenStart(); - if (notParenthesizedArrow == null ? void 0 : notParenthesizedArrow.has(tokenPos)) { - return void 0; - } - const result = parseParenthesizedArrowFunctionExpression( - /*allowAmbiguity*/ - false, - allowReturnTypeInArrowFunction - ); - if (!result) { - (notParenthesizedArrow || (notParenthesizedArrow = /* @__PURE__ */ new Set())).add(tokenPos); - } - return result; - } - function tryParseAsyncSimpleArrowFunctionExpression(allowReturnTypeInArrowFunction) { - if (token() === 134 /* AsyncKeyword */) { - if (lookAhead(isUnParenthesizedAsyncArrowFunctionWorker) === 1 /* True */) { - const pos = getNodePos(); - const hasJSDoc = hasPrecedingJSDocComment(); - const asyncModifier = parseModifiersForArrowFunction(); - const expr = parseBinaryExpressionOrHigher(0 /* Lowest */); - return parseSimpleArrowFunctionExpression(pos, expr, allowReturnTypeInArrowFunction, hasJSDoc, asyncModifier); - } - } - return void 0; - } - function isUnParenthesizedAsyncArrowFunctionWorker() { - if (token() === 134 /* AsyncKeyword */) { - nextToken(); - if (scanner.hasPrecedingLineBreak() || token() === 39 /* EqualsGreaterThanToken */) { - return 0 /* False */; - } - const expr = parseBinaryExpressionOrHigher(0 /* Lowest */); - if (!scanner.hasPrecedingLineBreak() && expr.kind === 80 /* Identifier */ && token() === 39 /* EqualsGreaterThanToken */) { - return 1 /* True */; - } - } - return 0 /* False */; - } - function parseParenthesizedArrowFunctionExpression(allowAmbiguity, allowReturnTypeInArrowFunction) { - const pos = getNodePos(); - const hasJSDoc = hasPrecedingJSDocComment(); - const modifiers = parseModifiersForArrowFunction(); - const isAsync = some(modifiers, isAsyncModifier) ? 2 /* Await */ : 0 /* None */; - const typeParameters = parseTypeParameters(); - let parameters; - if (!parseExpected(21 /* OpenParenToken */)) { - if (!allowAmbiguity) { - return void 0; - } - parameters = createMissingList(); - } else { - if (!allowAmbiguity) { - const maybeParameters = parseParametersWorker(isAsync, allowAmbiguity); - if (!maybeParameters) { - return void 0; - } - parameters = maybeParameters; - } else { - parameters = parseParametersWorker(isAsync, allowAmbiguity); - } - if (!parseExpected(22 /* CloseParenToken */) && !allowAmbiguity) { - return void 0; - } - } - const hasReturnColon = token() === 59 /* ColonToken */; - const type = parseReturnType( - 59 /* ColonToken */, - /*isType*/ - false - ); - if (type && !allowAmbiguity && typeHasArrowFunctionBlockingParseError(type)) { - return void 0; - } - let unwrappedType = type; - while ((unwrappedType == null ? void 0 : unwrappedType.kind) === 196 /* ParenthesizedType */) { - unwrappedType = unwrappedType.type; - } - const hasJSDocFunctionType = unwrappedType && isJSDocFunctionType(unwrappedType); - if (!allowAmbiguity && token() !== 39 /* EqualsGreaterThanToken */ && (hasJSDocFunctionType || token() !== 19 /* OpenBraceToken */)) { - return void 0; - } - const lastToken = token(); - const equalsGreaterThanToken = parseExpectedToken(39 /* EqualsGreaterThanToken */); - const body = lastToken === 39 /* EqualsGreaterThanToken */ || lastToken === 19 /* OpenBraceToken */ ? parseArrowFunctionExpressionBody(some(modifiers, isAsyncModifier), allowReturnTypeInArrowFunction) : parseIdentifier(); - if (!allowReturnTypeInArrowFunction && hasReturnColon) { - if (token() !== 59 /* ColonToken */) { - return void 0; - } - } - const node = factory2.createArrowFunction(modifiers, typeParameters, parameters, type, equalsGreaterThanToken, body); - return withJSDoc(finishNode(node, pos), hasJSDoc); - } - function parseArrowFunctionExpressionBody(isAsync, allowReturnTypeInArrowFunction) { - if (token() === 19 /* OpenBraceToken */) { - return parseFunctionBlock(isAsync ? 2 /* Await */ : 0 /* None */); - } - if (token() !== 27 /* SemicolonToken */ && token() !== 100 /* FunctionKeyword */ && token() !== 86 /* ClassKeyword */ && isStartOfStatement() && !isStartOfExpressionStatement()) { - return parseFunctionBlock(16 /* IgnoreMissingOpenBrace */ | (isAsync ? 2 /* Await */ : 0 /* None */)); - } - const savedTopLevel = topLevel; - topLevel = false; - const node = isAsync ? doInAwaitContext(() => parseAssignmentExpressionOrHigher(allowReturnTypeInArrowFunction)) : doOutsideOfAwaitContext(() => parseAssignmentExpressionOrHigher(allowReturnTypeInArrowFunction)); - topLevel = savedTopLevel; - return node; - } - function parseConditionalExpressionRest(leftOperand, pos, allowReturnTypeInArrowFunction) { - const questionToken = parseOptionalToken(58 /* QuestionToken */); - if (!questionToken) { - return leftOperand; - } - let colonToken; - return finishNode( - factory2.createConditionalExpression( - leftOperand, - questionToken, - doOutsideOfContext(disallowInAndDecoratorContext, () => parseAssignmentExpressionOrHigher( - /*allowReturnTypeInArrowFunction*/ - false - )), - colonToken = parseExpectedToken(59 /* ColonToken */), - nodeIsPresent(colonToken) ? parseAssignmentExpressionOrHigher(allowReturnTypeInArrowFunction) : createMissingNode( - 80 /* Identifier */, - /*reportAtCurrentPosition*/ - false, - Diagnostics._0_expected, - tokenToString(59 /* ColonToken */) - ) - ), - pos - ); - } - function parseBinaryExpressionOrHigher(precedence) { - const pos = getNodePos(); - const leftOperand = parseUnaryExpressionOrHigher(); - return parseBinaryExpressionRest(precedence, leftOperand, pos); - } - function isInOrOfKeyword(t) { - return t === 103 /* InKeyword */ || t === 165 /* OfKeyword */; - } - function parseBinaryExpressionRest(precedence, leftOperand, pos) { - while (true) { - reScanGreaterToken(); - const newPrecedence = getBinaryOperatorPrecedence(token()); - const consumeCurrentOperator = token() === 43 /* AsteriskAsteriskToken */ ? newPrecedence >= precedence : newPrecedence > precedence; - if (!consumeCurrentOperator) { - break; - } - if (token() === 103 /* InKeyword */ && inDisallowInContext()) { - break; - } - if (token() === 130 /* AsKeyword */ || token() === 152 /* SatisfiesKeyword */) { - if (scanner.hasPrecedingLineBreak()) { - break; - } else { - const keywordKind = token(); - nextToken(); - leftOperand = keywordKind === 152 /* SatisfiesKeyword */ ? makeSatisfiesExpression(leftOperand, parseType()) : makeAsExpression(leftOperand, parseType()); - } - } else { - leftOperand = makeBinaryExpression(leftOperand, parseTokenNode(), parseBinaryExpressionOrHigher(newPrecedence), pos); - } - } - return leftOperand; - } - function isBinaryOperator2() { - if (inDisallowInContext() && token() === 103 /* InKeyword */) { - return false; - } - return getBinaryOperatorPrecedence(token()) > 0; - } - function makeSatisfiesExpression(left, right) { - return finishNode(factory2.createSatisfiesExpression(left, right), left.pos); - } - function makeBinaryExpression(left, operatorToken, right, pos) { - return finishNode(factory2.createBinaryExpression(left, operatorToken, right), pos); - } - function makeAsExpression(left, right) { - return finishNode(factory2.createAsExpression(left, right), left.pos); - } - function parsePrefixUnaryExpression() { - const pos = getNodePos(); - return finishNode(factory2.createPrefixUnaryExpression(token(), nextTokenAnd(parseSimpleUnaryExpression)), pos); - } - function parseDeleteExpression() { - const pos = getNodePos(); - return finishNode(factory2.createDeleteExpression(nextTokenAnd(parseSimpleUnaryExpression)), pos); - } - function parseTypeOfExpression() { - const pos = getNodePos(); - return finishNode(factory2.createTypeOfExpression(nextTokenAnd(parseSimpleUnaryExpression)), pos); - } - function parseVoidExpression() { - const pos = getNodePos(); - return finishNode(factory2.createVoidExpression(nextTokenAnd(parseSimpleUnaryExpression)), pos); - } - function isAwaitExpression2() { - if (token() === 135 /* AwaitKeyword */) { - if (inAwaitContext()) { - return true; - } - return lookAhead(nextTokenIsIdentifierOrKeywordOrLiteralOnSameLine); - } - return false; - } - function parseAwaitExpression() { - const pos = getNodePos(); - return finishNode(factory2.createAwaitExpression(nextTokenAnd(parseSimpleUnaryExpression)), pos); - } - function parseUnaryExpressionOrHigher() { - if (isUpdateExpression()) { - const pos = getNodePos(); - const updateExpression = parseUpdateExpression(); - return token() === 43 /* AsteriskAsteriskToken */ ? parseBinaryExpressionRest(getBinaryOperatorPrecedence(token()), updateExpression, pos) : updateExpression; - } - const unaryOperator = token(); - const simpleUnaryExpression = parseSimpleUnaryExpression(); - if (token() === 43 /* AsteriskAsteriskToken */) { - const pos = skipTrivia(sourceText, simpleUnaryExpression.pos); - const { end } = simpleUnaryExpression; - if (simpleUnaryExpression.kind === 216 /* TypeAssertionExpression */) { - parseErrorAt(pos, end, Diagnostics.A_type_assertion_expression_is_not_allowed_in_the_left_hand_side_of_an_exponentiation_expression_Consider_enclosing_the_expression_in_parentheses); - } else { - Debug.assert(isKeywordOrPunctuation(unaryOperator)); - parseErrorAt(pos, end, Diagnostics.An_unary_expression_with_the_0_operator_is_not_allowed_in_the_left_hand_side_of_an_exponentiation_expression_Consider_enclosing_the_expression_in_parentheses, tokenToString(unaryOperator)); - } - } - return simpleUnaryExpression; - } - function parseSimpleUnaryExpression() { - switch (token()) { - case 40 /* PlusToken */: - case 41 /* MinusToken */: - case 55 /* TildeToken */: - case 54 /* ExclamationToken */: - return parsePrefixUnaryExpression(); - case 91 /* DeleteKeyword */: - return parseDeleteExpression(); - case 114 /* TypeOfKeyword */: - return parseTypeOfExpression(); - case 116 /* VoidKeyword */: - return parseVoidExpression(); - case 30 /* LessThanToken */: - if (languageVariant === 1 /* JSX */) { - return parseJsxElementOrSelfClosingElementOrFragment( - /*inExpressionContext*/ - true, - /*topInvalidNodePosition*/ - void 0, - /*openingTag*/ - void 0, - /*mustBeUnary*/ - true - ); - } - return parseTypeAssertion(); - case 135 /* AwaitKeyword */: - if (isAwaitExpression2()) { - return parseAwaitExpression(); - } - default: - return parseUpdateExpression(); - } - } - function isUpdateExpression() { - switch (token()) { - case 40 /* PlusToken */: - case 41 /* MinusToken */: - case 55 /* TildeToken */: - case 54 /* ExclamationToken */: - case 91 /* DeleteKeyword */: - case 114 /* TypeOfKeyword */: - case 116 /* VoidKeyword */: - case 135 /* AwaitKeyword */: - return false; - case 30 /* LessThanToken */: - if (languageVariant !== 1 /* JSX */) { - return false; - } - default: - return true; - } - } - function parseUpdateExpression() { - if (token() === 46 /* PlusPlusToken */ || token() === 47 /* MinusMinusToken */) { - const pos = getNodePos(); - return finishNode(factory2.createPrefixUnaryExpression(token(), nextTokenAnd(parseLeftHandSideExpressionOrHigher)), pos); - } else if (languageVariant === 1 /* JSX */ && token() === 30 /* LessThanToken */ && lookAhead(nextTokenIsIdentifierOrKeywordOrGreaterThan)) { - return parseJsxElementOrSelfClosingElementOrFragment( - /*inExpressionContext*/ - true - ); - } - const expression = parseLeftHandSideExpressionOrHigher(); - Debug.assert(isLeftHandSideExpression(expression)); - if ((token() === 46 /* PlusPlusToken */ || token() === 47 /* MinusMinusToken */) && !scanner.hasPrecedingLineBreak()) { - const operator = token(); - nextToken(); - return finishNode(factory2.createPostfixUnaryExpression(expression, operator), expression.pos); - } - return expression; - } - function parseLeftHandSideExpressionOrHigher() { - const pos = getNodePos(); - let expression; - if (token() === 102 /* ImportKeyword */) { - if (lookAhead(nextTokenIsOpenParenOrLessThan)) { - sourceFlags |= 4194304 /* PossiblyContainsDynamicImport */; - expression = parseTokenNode(); - } else if (lookAhead(nextTokenIsDot)) { - nextToken(); - nextToken(); - expression = finishNode(factory2.createMetaProperty(102 /* ImportKeyword */, parseIdentifierName()), pos); - sourceFlags |= 8388608 /* PossiblyContainsImportMeta */; - } else { - expression = parseMemberExpressionOrHigher(); - } - } else { - expression = token() === 108 /* SuperKeyword */ ? parseSuperExpression() : parseMemberExpressionOrHigher(); - } - return parseCallExpressionRest(pos, expression); - } - function parseMemberExpressionOrHigher() { - const pos = getNodePos(); - const expression = parsePrimaryExpression(); - return parseMemberExpressionRest( - pos, - expression, - /*allowOptionalChain*/ - true - ); - } - function parseSuperExpression() { - const pos = getNodePos(); - let expression = parseTokenNode(); - if (token() === 30 /* LessThanToken */) { - const startPos = getNodePos(); - const typeArguments = tryParse(parseTypeArgumentsInExpression); - if (typeArguments !== void 0) { - parseErrorAt(startPos, getNodePos(), Diagnostics.super_may_not_use_type_arguments); - if (!isTemplateStartOfTaggedTemplate()) { - expression = factory2.createExpressionWithTypeArguments(expression, typeArguments); - } - } - } - if (token() === 21 /* OpenParenToken */ || token() === 25 /* DotToken */ || token() === 23 /* OpenBracketToken */) { - return expression; - } - parseExpectedToken(25 /* DotToken */, Diagnostics.super_must_be_followed_by_an_argument_list_or_member_access); - return finishNode(factoryCreatePropertyAccessExpression(expression, parseRightSideOfDot( - /*allowIdentifierNames*/ - true, - /*allowPrivateIdentifiers*/ - true, - /*allowUnicodeEscapeSequenceInIdentifierName*/ - true - )), pos); - } - function parseJsxElementOrSelfClosingElementOrFragment(inExpressionContext, topInvalidNodePosition, openingTag, mustBeUnary = false) { - const pos = getNodePos(); - const opening = parseJsxOpeningOrSelfClosingElementOrOpeningFragment(inExpressionContext); - let result; - if (opening.kind === 286 /* JsxOpeningElement */) { - let children = parseJsxChildren(opening); - let closingElement; - const lastChild = children[children.length - 1]; - if ((lastChild == null ? void 0 : lastChild.kind) === 284 /* JsxElement */ && !tagNamesAreEquivalent(lastChild.openingElement.tagName, lastChild.closingElement.tagName) && tagNamesAreEquivalent(opening.tagName, lastChild.closingElement.tagName)) { - const end = lastChild.children.end; - const newLast = finishNode( - factory2.createJsxElement( - lastChild.openingElement, - lastChild.children, - finishNode(factory2.createJsxClosingElement(finishNode(factoryCreateIdentifier(""), end, end)), end, end) - ), - lastChild.openingElement.pos, - end - ); - children = createNodeArray([...children.slice(0, children.length - 1), newLast], children.pos, end); - closingElement = lastChild.closingElement; - } else { - closingElement = parseJsxClosingElement(opening, inExpressionContext); - if (!tagNamesAreEquivalent(opening.tagName, closingElement.tagName)) { - if (openingTag && isJsxOpeningElement(openingTag) && tagNamesAreEquivalent(closingElement.tagName, openingTag.tagName)) { - parseErrorAtRange(opening.tagName, Diagnostics.JSX_element_0_has_no_corresponding_closing_tag, getTextOfNodeFromSourceText(sourceText, opening.tagName)); - } else { - parseErrorAtRange(closingElement.tagName, Diagnostics.Expected_corresponding_JSX_closing_tag_for_0, getTextOfNodeFromSourceText(sourceText, opening.tagName)); - } - } - } - result = finishNode(factory2.createJsxElement(opening, children, closingElement), pos); - } else if (opening.kind === 289 /* JsxOpeningFragment */) { - result = finishNode(factory2.createJsxFragment(opening, parseJsxChildren(opening), parseJsxClosingFragment(inExpressionContext)), pos); - } else { - Debug.assert(opening.kind === 285 /* JsxSelfClosingElement */); - result = opening; - } - if (!mustBeUnary && inExpressionContext && token() === 30 /* LessThanToken */) { - const topBadPos = typeof topInvalidNodePosition === "undefined" ? result.pos : topInvalidNodePosition; - const invalidElement = tryParse(() => parseJsxElementOrSelfClosingElementOrFragment( - /*inExpressionContext*/ - true, - topBadPos - )); - if (invalidElement) { - const operatorToken = createMissingNode( - 28 /* CommaToken */, - /*reportAtCurrentPosition*/ - false - ); - setTextRangePosWidth(operatorToken, invalidElement.pos, 0); - parseErrorAt(skipTrivia(sourceText, topBadPos), invalidElement.end, Diagnostics.JSX_expressions_must_have_one_parent_element); - return finishNode(factory2.createBinaryExpression(result, operatorToken, invalidElement), pos); - } - } - return result; - } - function parseJsxText() { - const pos = getNodePos(); - const node = factory2.createJsxText(scanner.getTokenValue(), currentToken === 13 /* JsxTextAllWhiteSpaces */); - currentToken = scanner.scanJsxToken(); - return finishNode(node, pos); - } - function parseJsxChild(openingTag, token2) { - switch (token2) { - case 1 /* EndOfFileToken */: - if (isJsxOpeningFragment(openingTag)) { - parseErrorAtRange(openingTag, Diagnostics.JSX_fragment_has_no_corresponding_closing_tag); - } else { - const tag = openingTag.tagName; - const start = Math.min(skipTrivia(sourceText, tag.pos), tag.end); - parseErrorAt(start, tag.end, Diagnostics.JSX_element_0_has_no_corresponding_closing_tag, getTextOfNodeFromSourceText(sourceText, openingTag.tagName)); - } - return void 0; - case 31 /* LessThanSlashToken */: - case 7 /* ConflictMarkerTrivia */: - return void 0; - case 12 /* JsxText */: - case 13 /* JsxTextAllWhiteSpaces */: - return parseJsxText(); - case 19 /* OpenBraceToken */: - return parseJsxExpression( - /*inExpressionContext*/ - false - ); - case 30 /* LessThanToken */: - return parseJsxElementOrSelfClosingElementOrFragment( - /*inExpressionContext*/ - false, - /*topInvalidNodePosition*/ - void 0, - openingTag - ); - default: - return Debug.assertNever(token2); - } - } - function parseJsxChildren(openingTag) { - const list = []; - const listPos = getNodePos(); - const saveParsingContext = parsingContext; - parsingContext |= 1 << 14 /* JsxChildren */; - while (true) { - const child = parseJsxChild(openingTag, currentToken = scanner.reScanJsxToken()); - if (!child) break; - list.push(child); - if (isJsxOpeningElement(openingTag) && (child == null ? void 0 : child.kind) === 284 /* JsxElement */ && !tagNamesAreEquivalent(child.openingElement.tagName, child.closingElement.tagName) && tagNamesAreEquivalent(openingTag.tagName, child.closingElement.tagName)) { - break; - } - } - parsingContext = saveParsingContext; - return createNodeArray(list, listPos); - } - function parseJsxAttributes() { - const pos = getNodePos(); - return finishNode(factory2.createJsxAttributes(parseList(13 /* JsxAttributes */, parseJsxAttribute)), pos); - } - function parseJsxOpeningOrSelfClosingElementOrOpeningFragment(inExpressionContext) { - const pos = getNodePos(); - parseExpected(30 /* LessThanToken */); - if (token() === 32 /* GreaterThanToken */) { - scanJsxText(); - return finishNode(factory2.createJsxOpeningFragment(), pos); - } - const tagName = parseJsxElementName(); - const typeArguments = (contextFlags & 524288 /* JavaScriptFile */) === 0 ? tryParseTypeArguments() : void 0; - const attributes = parseJsxAttributes(); - let node; - if (token() === 32 /* GreaterThanToken */) { - scanJsxText(); - node = factory2.createJsxOpeningElement(tagName, typeArguments, attributes); - } else { - parseExpected(44 /* SlashToken */); - if (parseExpected( - 32 /* GreaterThanToken */, - /*diagnosticMessage*/ - void 0, - /*shouldAdvance*/ - false - )) { - if (inExpressionContext) { - nextToken(); - } else { - scanJsxText(); - } - } - node = factory2.createJsxSelfClosingElement(tagName, typeArguments, attributes); - } - return finishNode(node, pos); - } - function parseJsxElementName() { - const pos = getNodePos(); - const initialExpression = parseJsxTagName(); - if (isJsxNamespacedName(initialExpression)) { - return initialExpression; - } - let expression = initialExpression; - while (parseOptional(25 /* DotToken */)) { - expression = finishNode(factoryCreatePropertyAccessExpression(expression, parseRightSideOfDot( - /*allowIdentifierNames*/ - true, - /*allowPrivateIdentifiers*/ - false, - /*allowUnicodeEscapeSequenceInIdentifierName*/ - false - )), pos); - } - return expression; - } - function parseJsxTagName() { - const pos = getNodePos(); - scanJsxIdentifier(); - const isThis = token() === 110 /* ThisKeyword */; - const tagName = parseIdentifierNameErrorOnUnicodeEscapeSequence(); - if (parseOptional(59 /* ColonToken */)) { - scanJsxIdentifier(); - return finishNode(factory2.createJsxNamespacedName(tagName, parseIdentifierNameErrorOnUnicodeEscapeSequence()), pos); - } - return isThis ? finishNode(factory2.createToken(110 /* ThisKeyword */), pos) : tagName; - } - function parseJsxExpression(inExpressionContext) { - const pos = getNodePos(); - if (!parseExpected(19 /* OpenBraceToken */)) { - return void 0; - } - let dotDotDotToken; - let expression; - if (token() !== 20 /* CloseBraceToken */) { - if (!inExpressionContext) { - dotDotDotToken = parseOptionalToken(26 /* DotDotDotToken */); - } - expression = parseExpression(); - } - if (inExpressionContext) { - parseExpected(20 /* CloseBraceToken */); - } else { - if (parseExpected( - 20 /* CloseBraceToken */, - /*diagnosticMessage*/ - void 0, - /*shouldAdvance*/ - false - )) { - scanJsxText(); - } - } - return finishNode(factory2.createJsxExpression(dotDotDotToken, expression), pos); - } - function parseJsxAttribute() { - if (token() === 19 /* OpenBraceToken */) { - return parseJsxSpreadAttribute(); - } - const pos = getNodePos(); - return finishNode(factory2.createJsxAttribute(parseJsxAttributeName(), parseJsxAttributeValue()), pos); - } - function parseJsxAttributeValue() { - if (token() === 64 /* EqualsToken */) { - if (scanJsxAttributeValue() === 11 /* StringLiteral */) { - return parseLiteralNode(); - } - if (token() === 19 /* OpenBraceToken */) { - return parseJsxExpression( - /*inExpressionContext*/ - true - ); - } - if (token() === 30 /* LessThanToken */) { - return parseJsxElementOrSelfClosingElementOrFragment( - /*inExpressionContext*/ - true - ); - } - parseErrorAtCurrentToken(Diagnostics.or_JSX_element_expected); - } - return void 0; - } - function parseJsxAttributeName() { - const pos = getNodePos(); - scanJsxIdentifier(); - const attrName = parseIdentifierNameErrorOnUnicodeEscapeSequence(); - if (parseOptional(59 /* ColonToken */)) { - scanJsxIdentifier(); - return finishNode(factory2.createJsxNamespacedName(attrName, parseIdentifierNameErrorOnUnicodeEscapeSequence()), pos); - } - return attrName; - } - function parseJsxSpreadAttribute() { - const pos = getNodePos(); - parseExpected(19 /* OpenBraceToken */); - parseExpected(26 /* DotDotDotToken */); - const expression = parseExpression(); - parseExpected(20 /* CloseBraceToken */); - return finishNode(factory2.createJsxSpreadAttribute(expression), pos); - } - function parseJsxClosingElement(open, inExpressionContext) { - const pos = getNodePos(); - parseExpected(31 /* LessThanSlashToken */); - const tagName = parseJsxElementName(); - if (parseExpected( - 32 /* GreaterThanToken */, - /*diagnosticMessage*/ - void 0, - /*shouldAdvance*/ - false - )) { - if (inExpressionContext || !tagNamesAreEquivalent(open.tagName, tagName)) { - nextToken(); - } else { - scanJsxText(); - } - } - return finishNode(factory2.createJsxClosingElement(tagName), pos); - } - function parseJsxClosingFragment(inExpressionContext) { - const pos = getNodePos(); - parseExpected(31 /* LessThanSlashToken */); - if (parseExpected( - 32 /* GreaterThanToken */, - Diagnostics.Expected_corresponding_closing_tag_for_JSX_fragment, - /*shouldAdvance*/ - false - )) { - if (inExpressionContext) { - nextToken(); - } else { - scanJsxText(); - } - } - return finishNode(factory2.createJsxJsxClosingFragment(), pos); - } - function parseTypeAssertion() { - Debug.assert(languageVariant !== 1 /* JSX */, "Type assertions should never be parsed in JSX; they should be parsed as comparisons or JSX elements/fragments."); - const pos = getNodePos(); - parseExpected(30 /* LessThanToken */); - const type = parseType(); - parseExpected(32 /* GreaterThanToken */); - const expression = parseSimpleUnaryExpression(); - return finishNode(factory2.createTypeAssertion(type, expression), pos); - } - function nextTokenIsIdentifierOrKeywordOrOpenBracketOrTemplate() { - nextToken(); - return tokenIsIdentifierOrKeyword(token()) || token() === 23 /* OpenBracketToken */ || isTemplateStartOfTaggedTemplate(); - } - function isStartOfOptionalPropertyOrElementAccessChain() { - return token() === 29 /* QuestionDotToken */ && lookAhead(nextTokenIsIdentifierOrKeywordOrOpenBracketOrTemplate); - } - function tryReparseOptionalChain(node) { - if (node.flags & 64 /* OptionalChain */) { - return true; - } - if (isNonNullExpression(node)) { - let expr = node.expression; - while (isNonNullExpression(expr) && !(expr.flags & 64 /* OptionalChain */)) { - expr = expr.expression; - } - if (expr.flags & 64 /* OptionalChain */) { - while (isNonNullExpression(node)) { - node.flags |= 64 /* OptionalChain */; - node = node.expression; - } - return true; - } - } - return false; - } - function parsePropertyAccessExpressionRest(pos, expression, questionDotToken) { - const name = parseRightSideOfDot( - /*allowIdentifierNames*/ - true, - /*allowPrivateIdentifiers*/ - true, - /*allowUnicodeEscapeSequenceInIdentifierName*/ - true - ); - const isOptionalChain2 = questionDotToken || tryReparseOptionalChain(expression); - const propertyAccess = isOptionalChain2 ? factoryCreatePropertyAccessChain(expression, questionDotToken, name) : factoryCreatePropertyAccessExpression(expression, name); - if (isOptionalChain2 && isPrivateIdentifier(propertyAccess.name)) { - parseErrorAtRange(propertyAccess.name, Diagnostics.An_optional_chain_cannot_contain_private_identifiers); - } - if (isExpressionWithTypeArguments(expression) && expression.typeArguments) { - const pos2 = expression.typeArguments.pos - 1; - const end = skipTrivia(sourceText, expression.typeArguments.end) + 1; - parseErrorAt(pos2, end, Diagnostics.An_instantiation_expression_cannot_be_followed_by_a_property_access); - } - return finishNode(propertyAccess, pos); - } - function parseElementAccessExpressionRest(pos, expression, questionDotToken) { - let argumentExpression; - if (token() === 24 /* CloseBracketToken */) { - argumentExpression = createMissingNode( - 80 /* Identifier */, - /*reportAtCurrentPosition*/ - true, - Diagnostics.An_element_access_expression_should_take_an_argument - ); - } else { - const argument = allowInAnd(parseExpression); - if (isStringOrNumericLiteralLike(argument)) { - argument.text = internIdentifier(argument.text); - } - argumentExpression = argument; - } - parseExpected(24 /* CloseBracketToken */); - const indexedAccess = questionDotToken || tryReparseOptionalChain(expression) ? factoryCreateElementAccessChain(expression, questionDotToken, argumentExpression) : factoryCreateElementAccessExpression(expression, argumentExpression); - return finishNode(indexedAccess, pos); - } - function parseMemberExpressionRest(pos, expression, allowOptionalChain) { - while (true) { - let questionDotToken; - let isPropertyAccess = false; - if (allowOptionalChain && isStartOfOptionalPropertyOrElementAccessChain()) { - questionDotToken = parseExpectedToken(29 /* QuestionDotToken */); - isPropertyAccess = tokenIsIdentifierOrKeyword(token()); - } else { - isPropertyAccess = parseOptional(25 /* DotToken */); - } - if (isPropertyAccess) { - expression = parsePropertyAccessExpressionRest(pos, expression, questionDotToken); - continue; - } - if ((questionDotToken || !inDecoratorContext()) && parseOptional(23 /* OpenBracketToken */)) { - expression = parseElementAccessExpressionRest(pos, expression, questionDotToken); - continue; - } - if (isTemplateStartOfTaggedTemplate()) { - expression = !questionDotToken && expression.kind === 233 /* ExpressionWithTypeArguments */ ? parseTaggedTemplateRest(pos, expression.expression, questionDotToken, expression.typeArguments) : parseTaggedTemplateRest( - pos, - expression, - questionDotToken, - /*typeArguments*/ - void 0 - ); - continue; - } - if (!questionDotToken) { - if (token() === 54 /* ExclamationToken */ && !scanner.hasPrecedingLineBreak()) { - nextToken(); - expression = finishNode(factory2.createNonNullExpression(expression), pos); - continue; - } - const typeArguments = tryParse(parseTypeArgumentsInExpression); - if (typeArguments) { - expression = finishNode(factory2.createExpressionWithTypeArguments(expression, typeArguments), pos); - continue; - } - } - return expression; - } - } - function isTemplateStartOfTaggedTemplate() { - return token() === 15 /* NoSubstitutionTemplateLiteral */ || token() === 16 /* TemplateHead */; - } - function parseTaggedTemplateRest(pos, tag, questionDotToken, typeArguments) { - const tagExpression = factory2.createTaggedTemplateExpression( - tag, - typeArguments, - token() === 15 /* NoSubstitutionTemplateLiteral */ ? (reScanTemplateToken( - /*isTaggedTemplate*/ - true - ), parseLiteralNode()) : parseTemplateExpression( - /*isTaggedTemplate*/ - true - ) - ); - if (questionDotToken || tag.flags & 64 /* OptionalChain */) { - tagExpression.flags |= 64 /* OptionalChain */; - } - tagExpression.questionDotToken = questionDotToken; - return finishNode(tagExpression, pos); - } - function parseCallExpressionRest(pos, expression) { - while (true) { - expression = parseMemberExpressionRest( - pos, - expression, - /*allowOptionalChain*/ - true - ); - let typeArguments; - const questionDotToken = parseOptionalToken(29 /* QuestionDotToken */); - if (questionDotToken) { - typeArguments = tryParse(parseTypeArgumentsInExpression); - if (isTemplateStartOfTaggedTemplate()) { - expression = parseTaggedTemplateRest(pos, expression, questionDotToken, typeArguments); - continue; - } - } - if (typeArguments || token() === 21 /* OpenParenToken */) { - if (!questionDotToken && expression.kind === 233 /* ExpressionWithTypeArguments */) { - typeArguments = expression.typeArguments; - expression = expression.expression; - } - const argumentList = parseArgumentList(); - const callExpr = questionDotToken || tryReparseOptionalChain(expression) ? factoryCreateCallChain(expression, questionDotToken, typeArguments, argumentList) : factoryCreateCallExpression(expression, typeArguments, argumentList); - expression = finishNode(callExpr, pos); - continue; - } - if (questionDotToken) { - const name = createMissingNode( - 80 /* Identifier */, - /*reportAtCurrentPosition*/ - false, - Diagnostics.Identifier_expected - ); - expression = finishNode(factoryCreatePropertyAccessChain(expression, questionDotToken, name), pos); - } - break; - } - return expression; - } - function parseArgumentList() { - parseExpected(21 /* OpenParenToken */); - const result = parseDelimitedList(11 /* ArgumentExpressions */, parseArgumentExpression); - parseExpected(22 /* CloseParenToken */); - return result; - } - function parseTypeArgumentsInExpression() { - if ((contextFlags & 524288 /* JavaScriptFile */) !== 0) { - return void 0; - } - if (reScanLessThanToken() !== 30 /* LessThanToken */) { - return void 0; - } - nextToken(); - const typeArguments = parseDelimitedList(20 /* TypeArguments */, parseType); - if (reScanGreaterToken() !== 32 /* GreaterThanToken */) { - return void 0; - } - nextToken(); - return typeArguments && canFollowTypeArgumentsInExpression() ? typeArguments : void 0; - } - function canFollowTypeArgumentsInExpression() { - switch (token()) { - case 21 /* OpenParenToken */: - case 15 /* NoSubstitutionTemplateLiteral */: - case 16 /* TemplateHead */: - return true; - case 30 /* LessThanToken */: - case 32 /* GreaterThanToken */: - case 40 /* PlusToken */: - case 41 /* MinusToken */: - return false; - } - return scanner.hasPrecedingLineBreak() || isBinaryOperator2() || !isStartOfExpression(); - } - function parsePrimaryExpression() { - switch (token()) { - case 15 /* NoSubstitutionTemplateLiteral */: - if (scanner.getTokenFlags() & 26656 /* IsInvalid */) { - reScanTemplateToken( - /*isTaggedTemplate*/ - false - ); - } - case 9 /* NumericLiteral */: - case 10 /* BigIntLiteral */: - case 11 /* StringLiteral */: - return parseLiteralNode(); - case 110 /* ThisKeyword */: - case 108 /* SuperKeyword */: - case 106 /* NullKeyword */: - case 112 /* TrueKeyword */: - case 97 /* FalseKeyword */: - return parseTokenNode(); - case 21 /* OpenParenToken */: - return parseParenthesizedExpression(); - case 23 /* OpenBracketToken */: - return parseArrayLiteralExpression(); - case 19 /* OpenBraceToken */: - return parseObjectLiteralExpression(); - case 134 /* AsyncKeyword */: - if (!lookAhead(nextTokenIsFunctionKeywordOnSameLine)) { - break; - } - return parseFunctionExpression(); - case 60 /* AtToken */: - return parseDecoratedExpression(); - case 86 /* ClassKeyword */: - return parseClassExpression(); - case 100 /* FunctionKeyword */: - return parseFunctionExpression(); - case 105 /* NewKeyword */: - return parseNewExpressionOrNewDotTarget(); - case 44 /* SlashToken */: - case 69 /* SlashEqualsToken */: - if (reScanSlashToken() === 14 /* RegularExpressionLiteral */) { - return parseLiteralNode(); - } - break; - case 16 /* TemplateHead */: - return parseTemplateExpression( - /*isTaggedTemplate*/ - false - ); - case 81 /* PrivateIdentifier */: - return parsePrivateIdentifier(); - } - return parseIdentifier(Diagnostics.Expression_expected); - } - function parseParenthesizedExpression() { - const pos = getNodePos(); - const hasJSDoc = hasPrecedingJSDocComment(); - parseExpected(21 /* OpenParenToken */); - const expression = allowInAnd(parseExpression); - parseExpected(22 /* CloseParenToken */); - return withJSDoc(finishNode(factoryCreateParenthesizedExpression(expression), pos), hasJSDoc); - } - function parseSpreadElement() { - const pos = getNodePos(); - parseExpected(26 /* DotDotDotToken */); - const expression = parseAssignmentExpressionOrHigher( - /*allowReturnTypeInArrowFunction*/ - true - ); - return finishNode(factory2.createSpreadElement(expression), pos); - } - function parseArgumentOrArrayLiteralElement() { - return token() === 26 /* DotDotDotToken */ ? parseSpreadElement() : token() === 28 /* CommaToken */ ? finishNode(factory2.createOmittedExpression(), getNodePos()) : parseAssignmentExpressionOrHigher( - /*allowReturnTypeInArrowFunction*/ - true - ); - } - function parseArgumentExpression() { - return doOutsideOfContext(disallowInAndDecoratorContext, parseArgumentOrArrayLiteralElement); - } - function parseArrayLiteralExpression() { - const pos = getNodePos(); - const openBracketPosition = scanner.getTokenStart(); - const openBracketParsed = parseExpected(23 /* OpenBracketToken */); - const multiLine = scanner.hasPrecedingLineBreak(); - const elements = parseDelimitedList(15 /* ArrayLiteralMembers */, parseArgumentOrArrayLiteralElement); - parseExpectedMatchingBrackets(23 /* OpenBracketToken */, 24 /* CloseBracketToken */, openBracketParsed, openBracketPosition); - return finishNode(factoryCreateArrayLiteralExpression(elements, multiLine), pos); - } - function parseObjectLiteralElement() { - const pos = getNodePos(); - const hasJSDoc = hasPrecedingJSDocComment(); - if (parseOptionalToken(26 /* DotDotDotToken */)) { - const expression = parseAssignmentExpressionOrHigher( - /*allowReturnTypeInArrowFunction*/ - true - ); - return withJSDoc(finishNode(factory2.createSpreadAssignment(expression), pos), hasJSDoc); - } - const modifiers = parseModifiers( - /*allowDecorators*/ - true - ); - if (parseContextualModifier(139 /* GetKeyword */)) { - return parseAccessorDeclaration(pos, hasJSDoc, modifiers, 177 /* GetAccessor */, 0 /* None */); - } - if (parseContextualModifier(153 /* SetKeyword */)) { - return parseAccessorDeclaration(pos, hasJSDoc, modifiers, 178 /* SetAccessor */, 0 /* None */); - } - const asteriskToken = parseOptionalToken(42 /* AsteriskToken */); - const tokenIsIdentifier = isIdentifier2(); - const name = parsePropertyName(); - const questionToken = parseOptionalToken(58 /* QuestionToken */); - const exclamationToken = parseOptionalToken(54 /* ExclamationToken */); - if (asteriskToken || token() === 21 /* OpenParenToken */ || token() === 30 /* LessThanToken */) { - return parseMethodDeclaration(pos, hasJSDoc, modifiers, asteriskToken, name, questionToken, exclamationToken); - } - let node; - const isShorthandPropertyAssignment2 = tokenIsIdentifier && token() !== 59 /* ColonToken */; - if (isShorthandPropertyAssignment2) { - const equalsToken = parseOptionalToken(64 /* EqualsToken */); - const objectAssignmentInitializer = equalsToken ? allowInAnd(() => parseAssignmentExpressionOrHigher( - /*allowReturnTypeInArrowFunction*/ - true - )) : void 0; - node = factory2.createShorthandPropertyAssignment(name, objectAssignmentInitializer); - node.equalsToken = equalsToken; - } else { - parseExpected(59 /* ColonToken */); - const initializer = allowInAnd(() => parseAssignmentExpressionOrHigher( - /*allowReturnTypeInArrowFunction*/ - true - )); - node = factory2.createPropertyAssignment(name, initializer); - } - node.modifiers = modifiers; - node.questionToken = questionToken; - node.exclamationToken = exclamationToken; - return withJSDoc(finishNode(node, pos), hasJSDoc); - } - function parseObjectLiteralExpression() { - const pos = getNodePos(); - const openBracePosition = scanner.getTokenStart(); - const openBraceParsed = parseExpected(19 /* OpenBraceToken */); - const multiLine = scanner.hasPrecedingLineBreak(); - const properties = parseDelimitedList( - 12 /* ObjectLiteralMembers */, - parseObjectLiteralElement, - /*considerSemicolonAsDelimiter*/ - true - ); - parseExpectedMatchingBrackets(19 /* OpenBraceToken */, 20 /* CloseBraceToken */, openBraceParsed, openBracePosition); - return finishNode(factoryCreateObjectLiteralExpression(properties, multiLine), pos); - } - function parseFunctionExpression() { - const savedDecoratorContext = inDecoratorContext(); - setDecoratorContext( - /*val*/ - false - ); - const pos = getNodePos(); - const hasJSDoc = hasPrecedingJSDocComment(); - const modifiers = parseModifiers( - /*allowDecorators*/ - false - ); - parseExpected(100 /* FunctionKeyword */); - const asteriskToken = parseOptionalToken(42 /* AsteriskToken */); - const isGenerator = asteriskToken ? 1 /* Yield */ : 0 /* None */; - const isAsync = some(modifiers, isAsyncModifier) ? 2 /* Await */ : 0 /* None */; - const name = isGenerator && isAsync ? doInYieldAndAwaitContext(parseOptionalBindingIdentifier) : isGenerator ? doInYieldContext(parseOptionalBindingIdentifier) : isAsync ? doInAwaitContext(parseOptionalBindingIdentifier) : parseOptionalBindingIdentifier(); - const typeParameters = parseTypeParameters(); - const parameters = parseParameters(isGenerator | isAsync); - const type = parseReturnType( - 59 /* ColonToken */, - /*isType*/ - false - ); - const body = parseFunctionBlock(isGenerator | isAsync); - setDecoratorContext(savedDecoratorContext); - const node = factory2.createFunctionExpression(modifiers, asteriskToken, name, typeParameters, parameters, type, body); - return withJSDoc(finishNode(node, pos), hasJSDoc); - } - function parseOptionalBindingIdentifier() { - return isBindingIdentifier() ? parseBindingIdentifier() : void 0; - } - function parseNewExpressionOrNewDotTarget() { - const pos = getNodePos(); - parseExpected(105 /* NewKeyword */); - if (parseOptional(25 /* DotToken */)) { - const name = parseIdentifierName(); - return finishNode(factory2.createMetaProperty(105 /* NewKeyword */, name), pos); - } - const expressionPos = getNodePos(); - let expression = parseMemberExpressionRest( - expressionPos, - parsePrimaryExpression(), - /*allowOptionalChain*/ - false - ); - let typeArguments; - if (expression.kind === 233 /* ExpressionWithTypeArguments */) { - typeArguments = expression.typeArguments; - expression = expression.expression; - } - if (token() === 29 /* QuestionDotToken */) { - parseErrorAtCurrentToken(Diagnostics.Invalid_optional_chain_from_new_expression_Did_you_mean_to_call_0, getTextOfNodeFromSourceText(sourceText, expression)); - } - const argumentList = token() === 21 /* OpenParenToken */ ? parseArgumentList() : void 0; - return finishNode(factoryCreateNewExpression(expression, typeArguments, argumentList), pos); - } - function parseBlock(ignoreMissingOpenBrace, diagnosticMessage) { - const pos = getNodePos(); - const hasJSDoc = hasPrecedingJSDocComment(); - const openBracePosition = scanner.getTokenStart(); - const openBraceParsed = parseExpected(19 /* OpenBraceToken */, diagnosticMessage); - if (openBraceParsed || ignoreMissingOpenBrace) { - const multiLine = scanner.hasPrecedingLineBreak(); - const statements = parseList(1 /* BlockStatements */, parseStatement); - parseExpectedMatchingBrackets(19 /* OpenBraceToken */, 20 /* CloseBraceToken */, openBraceParsed, openBracePosition); - const result = withJSDoc(finishNode(factoryCreateBlock(statements, multiLine), pos), hasJSDoc); - if (token() === 64 /* EqualsToken */) { - parseErrorAtCurrentToken(Diagnostics.Declaration_or_statement_expected_This_follows_a_block_of_statements_so_if_you_intended_to_write_a_destructuring_assignment_you_might_need_to_wrap_the_whole_assignment_in_parentheses); - nextToken(); - } - return result; - } else { - const statements = createMissingList(); - return withJSDoc(finishNode(factoryCreateBlock( - statements, - /*multiLine*/ - void 0 - ), pos), hasJSDoc); - } - } - function parseFunctionBlock(flags, diagnosticMessage) { - const savedYieldContext = inYieldContext(); - setYieldContext(!!(flags & 1 /* Yield */)); - const savedAwaitContext = inAwaitContext(); - setAwaitContext(!!(flags & 2 /* Await */)); - const savedTopLevel = topLevel; - topLevel = false; - const saveDecoratorContext = inDecoratorContext(); - if (saveDecoratorContext) { - setDecoratorContext( - /*val*/ - false - ); - } - const block = parseBlock(!!(flags & 16 /* IgnoreMissingOpenBrace */), diagnosticMessage); - if (saveDecoratorContext) { - setDecoratorContext( - /*val*/ - true - ); - } - topLevel = savedTopLevel; - setYieldContext(savedYieldContext); - setAwaitContext(savedAwaitContext); - return block; - } - function parseEmptyStatement() { - const pos = getNodePos(); - const hasJSDoc = hasPrecedingJSDocComment(); - parseExpected(27 /* SemicolonToken */); - return withJSDoc(finishNode(factory2.createEmptyStatement(), pos), hasJSDoc); - } - function parseIfStatement() { - const pos = getNodePos(); - const hasJSDoc = hasPrecedingJSDocComment(); - parseExpected(101 /* IfKeyword */); - const openParenPosition = scanner.getTokenStart(); - const openParenParsed = parseExpected(21 /* OpenParenToken */); - const expression = allowInAnd(parseExpression); - parseExpectedMatchingBrackets(21 /* OpenParenToken */, 22 /* CloseParenToken */, openParenParsed, openParenPosition); - const thenStatement = parseStatement(); - const elseStatement = parseOptional(93 /* ElseKeyword */) ? parseStatement() : void 0; - return withJSDoc(finishNode(factoryCreateIfStatement(expression, thenStatement, elseStatement), pos), hasJSDoc); - } - function parseDoStatement() { - const pos = getNodePos(); - const hasJSDoc = hasPrecedingJSDocComment(); - parseExpected(92 /* DoKeyword */); - const statement = parseStatement(); - parseExpected(117 /* WhileKeyword */); - const openParenPosition = scanner.getTokenStart(); - const openParenParsed = parseExpected(21 /* OpenParenToken */); - const expression = allowInAnd(parseExpression); - parseExpectedMatchingBrackets(21 /* OpenParenToken */, 22 /* CloseParenToken */, openParenParsed, openParenPosition); - parseOptional(27 /* SemicolonToken */); - return withJSDoc(finishNode(factory2.createDoStatement(statement, expression), pos), hasJSDoc); - } - function parseWhileStatement() { - const pos = getNodePos(); - const hasJSDoc = hasPrecedingJSDocComment(); - parseExpected(117 /* WhileKeyword */); - const openParenPosition = scanner.getTokenStart(); - const openParenParsed = parseExpected(21 /* OpenParenToken */); - const expression = allowInAnd(parseExpression); - parseExpectedMatchingBrackets(21 /* OpenParenToken */, 22 /* CloseParenToken */, openParenParsed, openParenPosition); - const statement = parseStatement(); - return withJSDoc(finishNode(factoryCreateWhileStatement(expression, statement), pos), hasJSDoc); - } - function parseForOrForInOrForOfStatement() { - const pos = getNodePos(); - const hasJSDoc = hasPrecedingJSDocComment(); - parseExpected(99 /* ForKeyword */); - const awaitToken = parseOptionalToken(135 /* AwaitKeyword */); - parseExpected(21 /* OpenParenToken */); - let initializer; - if (token() !== 27 /* SemicolonToken */) { - if (token() === 115 /* VarKeyword */ || token() === 121 /* LetKeyword */ || token() === 87 /* ConstKeyword */ || token() === 160 /* UsingKeyword */ && lookAhead(nextTokenIsBindingIdentifierOrStartOfDestructuringOnSameLineDisallowOf) || // this one is meant to allow of - token() === 135 /* AwaitKeyword */ && lookAhead(nextTokenIsUsingKeywordThenBindingIdentifierOrStartOfObjectDestructuringOnSameLine)) { - initializer = parseVariableDeclarationList( - /*inForStatementInitializer*/ - true - ); - } else { - initializer = disallowInAnd(parseExpression); - } - } - let node; - if (awaitToken ? parseExpected(165 /* OfKeyword */) : parseOptional(165 /* OfKeyword */)) { - const expression = allowInAnd(() => parseAssignmentExpressionOrHigher( - /*allowReturnTypeInArrowFunction*/ - true - )); - parseExpected(22 /* CloseParenToken */); - node = factoryCreateForOfStatement(awaitToken, initializer, expression, parseStatement()); - } else if (parseOptional(103 /* InKeyword */)) { - const expression = allowInAnd(parseExpression); - parseExpected(22 /* CloseParenToken */); - node = factory2.createForInStatement(initializer, expression, parseStatement()); - } else { - parseExpected(27 /* SemicolonToken */); - const condition = token() !== 27 /* SemicolonToken */ && token() !== 22 /* CloseParenToken */ ? allowInAnd(parseExpression) : void 0; - parseExpected(27 /* SemicolonToken */); - const incrementor = token() !== 22 /* CloseParenToken */ ? allowInAnd(parseExpression) : void 0; - parseExpected(22 /* CloseParenToken */); - node = factoryCreateForStatement(initializer, condition, incrementor, parseStatement()); - } - return withJSDoc(finishNode(node, pos), hasJSDoc); - } - function parseBreakOrContinueStatement(kind) { - const pos = getNodePos(); - const hasJSDoc = hasPrecedingJSDocComment(); - parseExpected(kind === 252 /* BreakStatement */ ? 83 /* BreakKeyword */ : 88 /* ContinueKeyword */); - const label = canParseSemicolon() ? void 0 : parseIdentifier(); - parseSemicolon(); - const node = kind === 252 /* BreakStatement */ ? factory2.createBreakStatement(label) : factory2.createContinueStatement(label); - return withJSDoc(finishNode(node, pos), hasJSDoc); - } - function parseReturnStatement() { - const pos = getNodePos(); - const hasJSDoc = hasPrecedingJSDocComment(); - parseExpected(107 /* ReturnKeyword */); - const expression = canParseSemicolon() ? void 0 : allowInAnd(parseExpression); - parseSemicolon(); - return withJSDoc(finishNode(factory2.createReturnStatement(expression), pos), hasJSDoc); - } - function parseWithStatement() { - const pos = getNodePos(); - const hasJSDoc = hasPrecedingJSDocComment(); - parseExpected(118 /* WithKeyword */); - const openParenPosition = scanner.getTokenStart(); - const openParenParsed = parseExpected(21 /* OpenParenToken */); - const expression = allowInAnd(parseExpression); - parseExpectedMatchingBrackets(21 /* OpenParenToken */, 22 /* CloseParenToken */, openParenParsed, openParenPosition); - const statement = doInsideOfContext(67108864 /* InWithStatement */, parseStatement); - return withJSDoc(finishNode(factory2.createWithStatement(expression, statement), pos), hasJSDoc); - } - function parseCaseClause() { - const pos = getNodePos(); - const hasJSDoc = hasPrecedingJSDocComment(); - parseExpected(84 /* CaseKeyword */); - const expression = allowInAnd(parseExpression); - parseExpected(59 /* ColonToken */); - const statements = parseList(3 /* SwitchClauseStatements */, parseStatement); - return withJSDoc(finishNode(factory2.createCaseClause(expression, statements), pos), hasJSDoc); - } - function parseDefaultClause() { - const pos = getNodePos(); - parseExpected(90 /* DefaultKeyword */); - parseExpected(59 /* ColonToken */); - const statements = parseList(3 /* SwitchClauseStatements */, parseStatement); - return finishNode(factory2.createDefaultClause(statements), pos); - } - function parseCaseOrDefaultClause() { - return token() === 84 /* CaseKeyword */ ? parseCaseClause() : parseDefaultClause(); - } - function parseCaseBlock() { - const pos = getNodePos(); - parseExpected(19 /* OpenBraceToken */); - const clauses = parseList(2 /* SwitchClauses */, parseCaseOrDefaultClause); - parseExpected(20 /* CloseBraceToken */); - return finishNode(factory2.createCaseBlock(clauses), pos); - } - function parseSwitchStatement() { - const pos = getNodePos(); - const hasJSDoc = hasPrecedingJSDocComment(); - parseExpected(109 /* SwitchKeyword */); - parseExpected(21 /* OpenParenToken */); - const expression = allowInAnd(parseExpression); - parseExpected(22 /* CloseParenToken */); - const caseBlock = parseCaseBlock(); - return withJSDoc(finishNode(factory2.createSwitchStatement(expression, caseBlock), pos), hasJSDoc); - } - function parseThrowStatement() { - const pos = getNodePos(); - const hasJSDoc = hasPrecedingJSDocComment(); - parseExpected(111 /* ThrowKeyword */); - let expression = scanner.hasPrecedingLineBreak() ? void 0 : allowInAnd(parseExpression); - if (expression === void 0) { - identifierCount++; - expression = finishNode(factoryCreateIdentifier(""), getNodePos()); - } - if (!tryParseSemicolon()) { - parseErrorForMissingSemicolonAfter(expression); - } - return withJSDoc(finishNode(factory2.createThrowStatement(expression), pos), hasJSDoc); - } - function parseTryStatement() { - const pos = getNodePos(); - const hasJSDoc = hasPrecedingJSDocComment(); - parseExpected(113 /* TryKeyword */); - const tryBlock = parseBlock( - /*ignoreMissingOpenBrace*/ - false - ); - const catchClause = token() === 85 /* CatchKeyword */ ? parseCatchClause() : void 0; - let finallyBlock; - if (!catchClause || token() === 98 /* FinallyKeyword */) { - parseExpected(98 /* FinallyKeyword */, Diagnostics.catch_or_finally_expected); - finallyBlock = parseBlock( - /*ignoreMissingOpenBrace*/ - false - ); - } - return withJSDoc(finishNode(factory2.createTryStatement(tryBlock, catchClause, finallyBlock), pos), hasJSDoc); - } - function parseCatchClause() { - const pos = getNodePos(); - parseExpected(85 /* CatchKeyword */); - let variableDeclaration; - if (parseOptional(21 /* OpenParenToken */)) { - variableDeclaration = parseVariableDeclaration(); - parseExpected(22 /* CloseParenToken */); - } else { - variableDeclaration = void 0; - } - const block = parseBlock( - /*ignoreMissingOpenBrace*/ - false - ); - return finishNode(factory2.createCatchClause(variableDeclaration, block), pos); - } - function parseDebuggerStatement() { - const pos = getNodePos(); - const hasJSDoc = hasPrecedingJSDocComment(); - parseExpected(89 /* DebuggerKeyword */); - parseSemicolon(); - return withJSDoc(finishNode(factory2.createDebuggerStatement(), pos), hasJSDoc); - } - function parseExpressionOrLabeledStatement() { - const pos = getNodePos(); - let hasJSDoc = hasPrecedingJSDocComment(); - let node; - const hasParen = token() === 21 /* OpenParenToken */; - const expression = allowInAnd(parseExpression); - if (isIdentifier(expression) && parseOptional(59 /* ColonToken */)) { - node = factory2.createLabeledStatement(expression, parseStatement()); - } else { - if (!tryParseSemicolon()) { - parseErrorForMissingSemicolonAfter(expression); - } - node = factoryCreateExpressionStatement(expression); - if (hasParen) { - hasJSDoc = false; - } - } - return withJSDoc(finishNode(node, pos), hasJSDoc); - } - function nextTokenIsIdentifierOrKeywordOnSameLine() { - nextToken(); - return tokenIsIdentifierOrKeyword(token()) && !scanner.hasPrecedingLineBreak(); - } - function nextTokenIsClassKeywordOnSameLine() { - nextToken(); - return token() === 86 /* ClassKeyword */ && !scanner.hasPrecedingLineBreak(); - } - function nextTokenIsFunctionKeywordOnSameLine() { - nextToken(); - return token() === 100 /* FunctionKeyword */ && !scanner.hasPrecedingLineBreak(); - } - function nextTokenIsIdentifierOrKeywordOrLiteralOnSameLine() { - nextToken(); - return (tokenIsIdentifierOrKeyword(token()) || token() === 9 /* NumericLiteral */ || token() === 10 /* BigIntLiteral */ || token() === 11 /* StringLiteral */) && !scanner.hasPrecedingLineBreak(); - } - function isDeclaration2() { - while (true) { - switch (token()) { - case 115 /* VarKeyword */: - case 121 /* LetKeyword */: - case 87 /* ConstKeyword */: - case 100 /* FunctionKeyword */: - case 86 /* ClassKeyword */: - case 94 /* EnumKeyword */: - return true; - case 160 /* UsingKeyword */: - return isUsingDeclaration(); - case 135 /* AwaitKeyword */: - return isAwaitUsingDeclaration(); - case 120 /* InterfaceKeyword */: - case 156 /* TypeKeyword */: - return nextTokenIsIdentifierOnSameLine(); - case 144 /* ModuleKeyword */: - case 145 /* NamespaceKeyword */: - return nextTokenIsIdentifierOrStringLiteralOnSameLine(); - case 128 /* AbstractKeyword */: - case 129 /* AccessorKeyword */: - case 134 /* AsyncKeyword */: - case 138 /* DeclareKeyword */: - case 123 /* PrivateKeyword */: - case 124 /* ProtectedKeyword */: - case 125 /* PublicKeyword */: - case 148 /* ReadonlyKeyword */: - const previousToken = token(); - nextToken(); - if (scanner.hasPrecedingLineBreak()) { - return false; - } - if (previousToken === 138 /* DeclareKeyword */ && token() === 156 /* TypeKeyword */) { - return true; - } - continue; - case 162 /* GlobalKeyword */: - nextToken(); - return token() === 19 /* OpenBraceToken */ || token() === 80 /* Identifier */ || token() === 95 /* ExportKeyword */; - case 102 /* ImportKeyword */: - nextToken(); - return token() === 11 /* StringLiteral */ || token() === 42 /* AsteriskToken */ || token() === 19 /* OpenBraceToken */ || tokenIsIdentifierOrKeyword(token()); - case 95 /* ExportKeyword */: - let currentToken2 = nextToken(); - if (currentToken2 === 156 /* TypeKeyword */) { - currentToken2 = lookAhead(nextToken); - } - if (currentToken2 === 64 /* EqualsToken */ || currentToken2 === 42 /* AsteriskToken */ || currentToken2 === 19 /* OpenBraceToken */ || currentToken2 === 90 /* DefaultKeyword */ || currentToken2 === 130 /* AsKeyword */ || currentToken2 === 60 /* AtToken */) { - return true; - } - continue; - case 126 /* StaticKeyword */: - nextToken(); - continue; - default: - return false; - } - } - } - function isStartOfDeclaration() { - return lookAhead(isDeclaration2); - } - function isStartOfStatement() { - switch (token()) { - case 60 /* AtToken */: - case 27 /* SemicolonToken */: - case 19 /* OpenBraceToken */: - case 115 /* VarKeyword */: - case 121 /* LetKeyword */: - case 160 /* UsingKeyword */: - case 100 /* FunctionKeyword */: - case 86 /* ClassKeyword */: - case 94 /* EnumKeyword */: - case 101 /* IfKeyword */: - case 92 /* DoKeyword */: - case 117 /* WhileKeyword */: - case 99 /* ForKeyword */: - case 88 /* ContinueKeyword */: - case 83 /* BreakKeyword */: - case 107 /* ReturnKeyword */: - case 118 /* WithKeyword */: - case 109 /* SwitchKeyword */: - case 111 /* ThrowKeyword */: - case 113 /* TryKeyword */: - case 89 /* DebuggerKeyword */: - case 85 /* CatchKeyword */: - case 98 /* FinallyKeyword */: - return true; - case 102 /* ImportKeyword */: - return isStartOfDeclaration() || lookAhead(nextTokenIsOpenParenOrLessThanOrDot); - case 87 /* ConstKeyword */: - case 95 /* ExportKeyword */: - return isStartOfDeclaration(); - case 134 /* AsyncKeyword */: - case 138 /* DeclareKeyword */: - case 120 /* InterfaceKeyword */: - case 144 /* ModuleKeyword */: - case 145 /* NamespaceKeyword */: - case 156 /* TypeKeyword */: - case 162 /* GlobalKeyword */: - return true; - case 129 /* AccessorKeyword */: - case 125 /* PublicKeyword */: - case 123 /* PrivateKeyword */: - case 124 /* ProtectedKeyword */: - case 126 /* StaticKeyword */: - case 148 /* ReadonlyKeyword */: - return isStartOfDeclaration() || !lookAhead(nextTokenIsIdentifierOrKeywordOnSameLine); - default: - return isStartOfExpression(); - } - } - function nextTokenIsBindingIdentifierOrStartOfDestructuring() { - nextToken(); - return isBindingIdentifier() || token() === 19 /* OpenBraceToken */ || token() === 23 /* OpenBracketToken */; - } - function isLetDeclaration() { - return lookAhead(nextTokenIsBindingIdentifierOrStartOfDestructuring); - } - function nextTokenIsBindingIdentifierOrStartOfDestructuringOnSameLineDisallowOf() { - return nextTokenIsBindingIdentifierOrStartOfDestructuringOnSameLine( - /*disallowOf*/ - true - ); - } - function nextTokenIsBindingIdentifierOrStartOfDestructuringOnSameLine(disallowOf) { - nextToken(); - if (disallowOf && token() === 165 /* OfKeyword */) return false; - return (isBindingIdentifier() || token() === 19 /* OpenBraceToken */) && !scanner.hasPrecedingLineBreak(); - } - function isUsingDeclaration() { - return lookAhead(nextTokenIsBindingIdentifierOrStartOfDestructuringOnSameLine); - } - function nextTokenIsUsingKeywordThenBindingIdentifierOrStartOfObjectDestructuringOnSameLine(disallowOf) { - if (nextToken() === 160 /* UsingKeyword */) { - return nextTokenIsBindingIdentifierOrStartOfDestructuringOnSameLine(disallowOf); - } - return false; - } - function isAwaitUsingDeclaration() { - return lookAhead(nextTokenIsUsingKeywordThenBindingIdentifierOrStartOfObjectDestructuringOnSameLine); - } - function parseStatement() { - switch (token()) { - case 27 /* SemicolonToken */: - return parseEmptyStatement(); - case 19 /* OpenBraceToken */: - return parseBlock( - /*ignoreMissingOpenBrace*/ - false - ); - case 115 /* VarKeyword */: - return parseVariableStatement( - getNodePos(), - hasPrecedingJSDocComment(), - /*modifiers*/ - void 0 - ); - case 121 /* LetKeyword */: - if (isLetDeclaration()) { - return parseVariableStatement( - getNodePos(), - hasPrecedingJSDocComment(), - /*modifiers*/ - void 0 - ); - } - break; - case 135 /* AwaitKeyword */: - if (isAwaitUsingDeclaration()) { - return parseVariableStatement( - getNodePos(), - hasPrecedingJSDocComment(), - /*modifiers*/ - void 0 - ); - } - break; - case 160 /* UsingKeyword */: - if (isUsingDeclaration()) { - return parseVariableStatement( - getNodePos(), - hasPrecedingJSDocComment(), - /*modifiers*/ - void 0 - ); - } - break; - case 100 /* FunctionKeyword */: - return parseFunctionDeclaration( - getNodePos(), - hasPrecedingJSDocComment(), - /*modifiers*/ - void 0 - ); - case 86 /* ClassKeyword */: - return parseClassDeclaration( - getNodePos(), - hasPrecedingJSDocComment(), - /*modifiers*/ - void 0 - ); - case 101 /* IfKeyword */: - return parseIfStatement(); - case 92 /* DoKeyword */: - return parseDoStatement(); - case 117 /* WhileKeyword */: - return parseWhileStatement(); - case 99 /* ForKeyword */: - return parseForOrForInOrForOfStatement(); - case 88 /* ContinueKeyword */: - return parseBreakOrContinueStatement(251 /* ContinueStatement */); - case 83 /* BreakKeyword */: - return parseBreakOrContinueStatement(252 /* BreakStatement */); - case 107 /* ReturnKeyword */: - return parseReturnStatement(); - case 118 /* WithKeyword */: - return parseWithStatement(); - case 109 /* SwitchKeyword */: - return parseSwitchStatement(); - case 111 /* ThrowKeyword */: - return parseThrowStatement(); - case 113 /* TryKeyword */: - case 85 /* CatchKeyword */: - case 98 /* FinallyKeyword */: - return parseTryStatement(); - case 89 /* DebuggerKeyword */: - return parseDebuggerStatement(); - case 60 /* AtToken */: - return parseDeclaration(); - case 134 /* AsyncKeyword */: - case 120 /* InterfaceKeyword */: - case 156 /* TypeKeyword */: - case 144 /* ModuleKeyword */: - case 145 /* NamespaceKeyword */: - case 138 /* DeclareKeyword */: - case 87 /* ConstKeyword */: - case 94 /* EnumKeyword */: - case 95 /* ExportKeyword */: - case 102 /* ImportKeyword */: - case 123 /* PrivateKeyword */: - case 124 /* ProtectedKeyword */: - case 125 /* PublicKeyword */: - case 128 /* AbstractKeyword */: - case 129 /* AccessorKeyword */: - case 126 /* StaticKeyword */: - case 148 /* ReadonlyKeyword */: - case 162 /* GlobalKeyword */: - if (isStartOfDeclaration()) { - return parseDeclaration(); - } - break; - } - return parseExpressionOrLabeledStatement(); - } - function isDeclareModifier(modifier) { - return modifier.kind === 138 /* DeclareKeyword */; - } - function parseDeclaration() { - const pos = getNodePos(); - const hasJSDoc = hasPrecedingJSDocComment(); - const modifiers = parseModifiers( - /*allowDecorators*/ - true - ); - const isAmbient = some(modifiers, isDeclareModifier); - if (isAmbient) { - const node = tryReuseAmbientDeclaration(pos); - if (node) { - return node; - } - for (const m of modifiers) { - m.flags |= 33554432 /* Ambient */; - } - return doInsideOfContext(33554432 /* Ambient */, () => parseDeclarationWorker(pos, hasJSDoc, modifiers)); - } else { - return parseDeclarationWorker(pos, hasJSDoc, modifiers); - } - } - function tryReuseAmbientDeclaration(pos) { - return doInsideOfContext(33554432 /* Ambient */, () => { - const node = currentNode(parsingContext, pos); - if (node) { - return consumeNode(node); - } - }); - } - function parseDeclarationWorker(pos, hasJSDoc, modifiersIn) { - switch (token()) { - case 115 /* VarKeyword */: - case 121 /* LetKeyword */: - case 87 /* ConstKeyword */: - case 160 /* UsingKeyword */: - case 135 /* AwaitKeyword */: - return parseVariableStatement(pos, hasJSDoc, modifiersIn); - case 100 /* FunctionKeyword */: - return parseFunctionDeclaration(pos, hasJSDoc, modifiersIn); - case 86 /* ClassKeyword */: - return parseClassDeclaration(pos, hasJSDoc, modifiersIn); - case 120 /* InterfaceKeyword */: - return parseInterfaceDeclaration(pos, hasJSDoc, modifiersIn); - case 156 /* TypeKeyword */: - return parseTypeAliasDeclaration(pos, hasJSDoc, modifiersIn); - case 94 /* EnumKeyword */: - return parseEnumDeclaration(pos, hasJSDoc, modifiersIn); - case 162 /* GlobalKeyword */: - case 144 /* ModuleKeyword */: - case 145 /* NamespaceKeyword */: - return parseModuleDeclaration(pos, hasJSDoc, modifiersIn); - case 102 /* ImportKeyword */: - return parseImportDeclarationOrImportEqualsDeclaration(pos, hasJSDoc, modifiersIn); - case 95 /* ExportKeyword */: - nextToken(); - switch (token()) { - case 90 /* DefaultKeyword */: - case 64 /* EqualsToken */: - return parseExportAssignment(pos, hasJSDoc, modifiersIn); - case 130 /* AsKeyword */: - return parseNamespaceExportDeclaration(pos, hasJSDoc, modifiersIn); - default: - return parseExportDeclaration(pos, hasJSDoc, modifiersIn); - } - default: - if (modifiersIn) { - const missing = createMissingNode( - 282 /* MissingDeclaration */, - /*reportAtCurrentPosition*/ - true, - Diagnostics.Declaration_expected - ); - setTextRangePos(missing, pos); - missing.modifiers = modifiersIn; - return missing; - } - return void 0; - } - } - function nextTokenIsStringLiteral() { - return nextToken() === 11 /* StringLiteral */; - } - function nextTokenIsFromKeywordOrEqualsToken() { - nextToken(); - return token() === 161 /* FromKeyword */ || token() === 64 /* EqualsToken */; - } - function nextTokenIsIdentifierOrStringLiteralOnSameLine() { - nextToken(); - return !scanner.hasPrecedingLineBreak() && (isIdentifier2() || token() === 11 /* StringLiteral */); - } - function parseFunctionBlockOrSemicolon(flags, diagnosticMessage) { - if (token() !== 19 /* OpenBraceToken */) { - if (flags & 4 /* Type */) { - parseTypeMemberSemicolon(); - return; - } - if (canParseSemicolon()) { - parseSemicolon(); - return; - } - } - return parseFunctionBlock(flags, diagnosticMessage); - } - function parseArrayBindingElement() { - const pos = getNodePos(); - if (token() === 28 /* CommaToken */) { - return finishNode(factory2.createOmittedExpression(), pos); - } - const dotDotDotToken = parseOptionalToken(26 /* DotDotDotToken */); - const name = parseIdentifierOrPattern(); - const initializer = parseInitializer(); - return finishNode(factory2.createBindingElement( - dotDotDotToken, - /*propertyName*/ - void 0, - name, - initializer - ), pos); - } - function parseObjectBindingElement() { - const pos = getNodePos(); - const dotDotDotToken = parseOptionalToken(26 /* DotDotDotToken */); - const tokenIsIdentifier = isBindingIdentifier(); - let propertyName = parsePropertyName(); - let name; - if (tokenIsIdentifier && token() !== 59 /* ColonToken */) { - name = propertyName; - propertyName = void 0; - } else { - parseExpected(59 /* ColonToken */); - name = parseIdentifierOrPattern(); - } - const initializer = parseInitializer(); - return finishNode(factory2.createBindingElement(dotDotDotToken, propertyName, name, initializer), pos); - } - function parseObjectBindingPattern() { - const pos = getNodePos(); - parseExpected(19 /* OpenBraceToken */); - const elements = allowInAnd(() => parseDelimitedList(9 /* ObjectBindingElements */, parseObjectBindingElement)); - parseExpected(20 /* CloseBraceToken */); - return finishNode(factory2.createObjectBindingPattern(elements), pos); - } - function parseArrayBindingPattern() { - const pos = getNodePos(); - parseExpected(23 /* OpenBracketToken */); - const elements = allowInAnd(() => parseDelimitedList(10 /* ArrayBindingElements */, parseArrayBindingElement)); - parseExpected(24 /* CloseBracketToken */); - return finishNode(factory2.createArrayBindingPattern(elements), pos); - } - function isBindingIdentifierOrPrivateIdentifierOrPattern() { - return token() === 19 /* OpenBraceToken */ || token() === 23 /* OpenBracketToken */ || token() === 81 /* PrivateIdentifier */ || isBindingIdentifier(); - } - function parseIdentifierOrPattern(privateIdentifierDiagnosticMessage) { - if (token() === 23 /* OpenBracketToken */) { - return parseArrayBindingPattern(); - } - if (token() === 19 /* OpenBraceToken */) { - return parseObjectBindingPattern(); - } - return parseBindingIdentifier(privateIdentifierDiagnosticMessage); - } - function parseVariableDeclarationAllowExclamation() { - return parseVariableDeclaration( - /*allowExclamation*/ - true - ); - } - function parseVariableDeclaration(allowExclamation) { - const pos = getNodePos(); - const hasJSDoc = hasPrecedingJSDocComment(); - const name = parseIdentifierOrPattern(Diagnostics.Private_identifiers_are_not_allowed_in_variable_declarations); - let exclamationToken; - if (allowExclamation && name.kind === 80 /* Identifier */ && token() === 54 /* ExclamationToken */ && !scanner.hasPrecedingLineBreak()) { - exclamationToken = parseTokenNode(); - } - const type = parseTypeAnnotation(); - const initializer = isInOrOfKeyword(token()) ? void 0 : parseInitializer(); - const node = factoryCreateVariableDeclaration(name, exclamationToken, type, initializer); - return withJSDoc(finishNode(node, pos), hasJSDoc); - } - function parseVariableDeclarationList(inForStatementInitializer) { - const pos = getNodePos(); - let flags = 0; - switch (token()) { - case 115 /* VarKeyword */: - break; - case 121 /* LetKeyword */: - flags |= 1 /* Let */; - break; - case 87 /* ConstKeyword */: - flags |= 2 /* Const */; - break; - case 160 /* UsingKeyword */: - flags |= 4 /* Using */; - break; - case 135 /* AwaitKeyword */: - Debug.assert(isAwaitUsingDeclaration()); - flags |= 6 /* AwaitUsing */; - nextToken(); - break; - default: - Debug.fail(); - } - nextToken(); - let declarations; - if (token() === 165 /* OfKeyword */ && lookAhead(canFollowContextualOfKeyword)) { - declarations = createMissingList(); - } else { - const savedDisallowIn = inDisallowInContext(); - setDisallowInContext(inForStatementInitializer); - declarations = parseDelimitedList( - 8 /* VariableDeclarations */, - inForStatementInitializer ? parseVariableDeclaration : parseVariableDeclarationAllowExclamation - ); - setDisallowInContext(savedDisallowIn); - } - return finishNode(factoryCreateVariableDeclarationList(declarations, flags), pos); - } - function canFollowContextualOfKeyword() { - return nextTokenIsIdentifier() && nextToken() === 22 /* CloseParenToken */; - } - function parseVariableStatement(pos, hasJSDoc, modifiers) { - const declarationList = parseVariableDeclarationList( - /*inForStatementInitializer*/ - false - ); - parseSemicolon(); - const node = factoryCreateVariableStatement(modifiers, declarationList); - return withJSDoc(finishNode(node, pos), hasJSDoc); - } - function parseFunctionDeclaration(pos, hasJSDoc, modifiers) { - const savedAwaitContext = inAwaitContext(); - const modifierFlags = modifiersToFlags(modifiers); - parseExpected(100 /* FunctionKeyword */); - const asteriskToken = parseOptionalToken(42 /* AsteriskToken */); - const name = modifierFlags & 2048 /* Default */ ? parseOptionalBindingIdentifier() : parseBindingIdentifier(); - const isGenerator = asteriskToken ? 1 /* Yield */ : 0 /* None */; - const isAsync = modifierFlags & 1024 /* Async */ ? 2 /* Await */ : 0 /* None */; - const typeParameters = parseTypeParameters(); - if (modifierFlags & 32 /* Export */) setAwaitContext( - /*value*/ - true - ); - const parameters = parseParameters(isGenerator | isAsync); - const type = parseReturnType( - 59 /* ColonToken */, - /*isType*/ - false - ); - const body = parseFunctionBlockOrSemicolon(isGenerator | isAsync, Diagnostics.or_expected); - setAwaitContext(savedAwaitContext); - const node = factory2.createFunctionDeclaration(modifiers, asteriskToken, name, typeParameters, parameters, type, body); - return withJSDoc(finishNode(node, pos), hasJSDoc); - } - function parseConstructorName() { - if (token() === 137 /* ConstructorKeyword */) { - return parseExpected(137 /* ConstructorKeyword */); - } - if (token() === 11 /* StringLiteral */ && lookAhead(nextToken) === 21 /* OpenParenToken */) { - return tryParse(() => { - const literalNode = parseLiteralNode(); - return literalNode.text === "constructor" ? literalNode : void 0; - }); - } - } - function tryParseConstructorDeclaration(pos, hasJSDoc, modifiers) { - return tryParse(() => { - if (parseConstructorName()) { - const typeParameters = parseTypeParameters(); - const parameters = parseParameters(0 /* None */); - const type = parseReturnType( - 59 /* ColonToken */, - /*isType*/ - false - ); - const body = parseFunctionBlockOrSemicolon(0 /* None */, Diagnostics.or_expected); - const node = factory2.createConstructorDeclaration(modifiers, parameters, body); - node.typeParameters = typeParameters; - node.type = type; - return withJSDoc(finishNode(node, pos), hasJSDoc); - } - }); - } - function parseMethodDeclaration(pos, hasJSDoc, modifiers, asteriskToken, name, questionToken, exclamationToken, diagnosticMessage) { - const isGenerator = asteriskToken ? 1 /* Yield */ : 0 /* None */; - const isAsync = some(modifiers, isAsyncModifier) ? 2 /* Await */ : 0 /* None */; - const typeParameters = parseTypeParameters(); - const parameters = parseParameters(isGenerator | isAsync); - const type = parseReturnType( - 59 /* ColonToken */, - /*isType*/ - false - ); - const body = parseFunctionBlockOrSemicolon(isGenerator | isAsync, diagnosticMessage); - const node = factory2.createMethodDeclaration( - modifiers, - asteriskToken, - name, - questionToken, - typeParameters, - parameters, - type, - body - ); - node.exclamationToken = exclamationToken; - return withJSDoc(finishNode(node, pos), hasJSDoc); - } - function parsePropertyDeclaration(pos, hasJSDoc, modifiers, name, questionToken) { - const exclamationToken = !questionToken && !scanner.hasPrecedingLineBreak() ? parseOptionalToken(54 /* ExclamationToken */) : void 0; - const type = parseTypeAnnotation(); - const initializer = doOutsideOfContext(16384 /* YieldContext */ | 65536 /* AwaitContext */ | 8192 /* DisallowInContext */, parseInitializer); - parseSemicolonAfterPropertyName(name, type, initializer); - const node = factory2.createPropertyDeclaration( - modifiers, - name, - questionToken || exclamationToken, - type, - initializer - ); - return withJSDoc(finishNode(node, pos), hasJSDoc); - } - function parsePropertyOrMethodDeclaration(pos, hasJSDoc, modifiers) { - const asteriskToken = parseOptionalToken(42 /* AsteriskToken */); - const name = parsePropertyName(); - const questionToken = parseOptionalToken(58 /* QuestionToken */); - if (asteriskToken || token() === 21 /* OpenParenToken */ || token() === 30 /* LessThanToken */) { - return parseMethodDeclaration( - pos, - hasJSDoc, - modifiers, - asteriskToken, - name, - questionToken, - /*exclamationToken*/ - void 0, - Diagnostics.or_expected - ); - } - return parsePropertyDeclaration(pos, hasJSDoc, modifiers, name, questionToken); - } - function parseAccessorDeclaration(pos, hasJSDoc, modifiers, kind, flags) { - const name = parsePropertyName(); - const typeParameters = parseTypeParameters(); - const parameters = parseParameters(0 /* None */); - const type = parseReturnType( - 59 /* ColonToken */, - /*isType*/ - false - ); - const body = parseFunctionBlockOrSemicolon(flags); - const node = kind === 177 /* GetAccessor */ ? factory2.createGetAccessorDeclaration(modifiers, name, parameters, type, body) : factory2.createSetAccessorDeclaration(modifiers, name, parameters, body); - node.typeParameters = typeParameters; - if (isSetAccessorDeclaration(node)) node.type = type; - return withJSDoc(finishNode(node, pos), hasJSDoc); - } - function isClassMemberStart() { - let idToken; - if (token() === 60 /* AtToken */) { - return true; - } - while (isModifierKind(token())) { - idToken = token(); - if (isClassMemberModifier(idToken)) { - return true; - } - nextToken(); - } - if (token() === 42 /* AsteriskToken */) { - return true; - } - if (isLiteralPropertyName()) { - idToken = token(); - nextToken(); - } - if (token() === 23 /* OpenBracketToken */) { - return true; - } - if (idToken !== void 0) { - if (!isKeyword(idToken) || idToken === 153 /* SetKeyword */ || idToken === 139 /* GetKeyword */) { - return true; - } - switch (token()) { - case 21 /* OpenParenToken */: - case 30 /* LessThanToken */: - case 54 /* ExclamationToken */: - case 59 /* ColonToken */: - case 64 /* EqualsToken */: - case 58 /* QuestionToken */: - return true; - default: - return canParseSemicolon(); - } - } - return false; - } - function parseClassStaticBlockDeclaration(pos, hasJSDoc, modifiers) { - parseExpectedToken(126 /* StaticKeyword */); - const body = parseClassStaticBlockBody(); - const node = withJSDoc(finishNode(factory2.createClassStaticBlockDeclaration(body), pos), hasJSDoc); - node.modifiers = modifiers; - return node; - } - function parseClassStaticBlockBody() { - const savedYieldContext = inYieldContext(); - const savedAwaitContext = inAwaitContext(); - setYieldContext(false); - setAwaitContext(true); - const body = parseBlock( - /*ignoreMissingOpenBrace*/ - false - ); - setYieldContext(savedYieldContext); - setAwaitContext(savedAwaitContext); - return body; - } - function parseDecoratorExpression() { - if (inAwaitContext() && token() === 135 /* AwaitKeyword */) { - const pos = getNodePos(); - const awaitExpression = parseIdentifier(Diagnostics.Expression_expected); - nextToken(); - const memberExpression = parseMemberExpressionRest( - pos, - awaitExpression, - /*allowOptionalChain*/ - true - ); - return parseCallExpressionRest(pos, memberExpression); - } - return parseLeftHandSideExpressionOrHigher(); - } - function tryParseDecorator() { - const pos = getNodePos(); - if (!parseOptional(60 /* AtToken */)) { - return void 0; - } - const expression = doInDecoratorContext(parseDecoratorExpression); - return finishNode(factory2.createDecorator(expression), pos); - } - function tryParseModifier(hasSeenStaticModifier, permitConstAsModifier, stopOnStartOfClassStaticBlock) { - const pos = getNodePos(); - const kind = token(); - if (token() === 87 /* ConstKeyword */ && permitConstAsModifier) { - if (!tryParse(nextTokenIsOnSameLineAndCanFollowModifier)) { - return void 0; - } - } else if (stopOnStartOfClassStaticBlock && token() === 126 /* StaticKeyword */ && lookAhead(nextTokenIsOpenBrace)) { - return void 0; - } else if (hasSeenStaticModifier && token() === 126 /* StaticKeyword */) { - return void 0; - } else { - if (!parseAnyContextualModifier()) { - return void 0; - } - } - return finishNode(factoryCreateToken(kind), pos); - } - function parseModifiers(allowDecorators, permitConstAsModifier, stopOnStartOfClassStaticBlock) { - const pos = getNodePos(); - let list; - let decorator, modifier, hasSeenStaticModifier = false, hasLeadingModifier = false, hasTrailingDecorator = false; - if (allowDecorators && token() === 60 /* AtToken */) { - while (decorator = tryParseDecorator()) { - list = append(list, decorator); - } - } - while (modifier = tryParseModifier(hasSeenStaticModifier, permitConstAsModifier, stopOnStartOfClassStaticBlock)) { - if (modifier.kind === 126 /* StaticKeyword */) hasSeenStaticModifier = true; - list = append(list, modifier); - hasLeadingModifier = true; - } - if (hasLeadingModifier && allowDecorators && token() === 60 /* AtToken */) { - while (decorator = tryParseDecorator()) { - list = append(list, decorator); - hasTrailingDecorator = true; - } - } - if (hasTrailingDecorator) { - while (modifier = tryParseModifier(hasSeenStaticModifier, permitConstAsModifier, stopOnStartOfClassStaticBlock)) { - if (modifier.kind === 126 /* StaticKeyword */) hasSeenStaticModifier = true; - list = append(list, modifier); - } - } - return list && createNodeArray(list, pos); - } - function parseModifiersForArrowFunction() { - let modifiers; - if (token() === 134 /* AsyncKeyword */) { - const pos = getNodePos(); - nextToken(); - const modifier = finishNode(factoryCreateToken(134 /* AsyncKeyword */), pos); - modifiers = createNodeArray([modifier], pos); - } - return modifiers; - } - function parseClassElement() { - const pos = getNodePos(); - const hasJSDoc = hasPrecedingJSDocComment(); - if (token() === 27 /* SemicolonToken */) { - nextToken(); - return withJSDoc(finishNode(factory2.createSemicolonClassElement(), pos), hasJSDoc); - } - const modifiers = parseModifiers( - /*allowDecorators*/ - true, - /*permitConstAsModifier*/ - true, - /*stopOnStartOfClassStaticBlock*/ - true - ); - if (token() === 126 /* StaticKeyword */ && lookAhead(nextTokenIsOpenBrace)) { - return parseClassStaticBlockDeclaration(pos, hasJSDoc, modifiers); - } - if (parseContextualModifier(139 /* GetKeyword */)) { - return parseAccessorDeclaration(pos, hasJSDoc, modifiers, 177 /* GetAccessor */, 0 /* None */); - } - if (parseContextualModifier(153 /* SetKeyword */)) { - return parseAccessorDeclaration(pos, hasJSDoc, modifiers, 178 /* SetAccessor */, 0 /* None */); - } - if (token() === 137 /* ConstructorKeyword */ || token() === 11 /* StringLiteral */) { - const constructorDeclaration = tryParseConstructorDeclaration(pos, hasJSDoc, modifiers); - if (constructorDeclaration) { - return constructorDeclaration; - } - } - if (isIndexSignature()) { - return parseIndexSignatureDeclaration(pos, hasJSDoc, modifiers); - } - if (tokenIsIdentifierOrKeyword(token()) || token() === 11 /* StringLiteral */ || token() === 9 /* NumericLiteral */ || token() === 10 /* BigIntLiteral */ || token() === 42 /* AsteriskToken */ || token() === 23 /* OpenBracketToken */) { - const isAmbient = some(modifiers, isDeclareModifier); - if (isAmbient) { - for (const m of modifiers) { - m.flags |= 33554432 /* Ambient */; - } - return doInsideOfContext(33554432 /* Ambient */, () => parsePropertyOrMethodDeclaration(pos, hasJSDoc, modifiers)); - } else { - return parsePropertyOrMethodDeclaration(pos, hasJSDoc, modifiers); - } - } - if (modifiers) { - const name = createMissingNode( - 80 /* Identifier */, - /*reportAtCurrentPosition*/ - true, - Diagnostics.Declaration_expected - ); - return parsePropertyDeclaration( - pos, - hasJSDoc, - modifiers, - name, - /*questionToken*/ - void 0 - ); - } - return Debug.fail("Should not have attempted to parse class member declaration."); - } - function parseDecoratedExpression() { - const pos = getNodePos(); - const hasJSDoc = hasPrecedingJSDocComment(); - const modifiers = parseModifiers( - /*allowDecorators*/ - true - ); - if (token() === 86 /* ClassKeyword */) { - return parseClassDeclarationOrExpression(pos, hasJSDoc, modifiers, 231 /* ClassExpression */); - } - const missing = createMissingNode( - 282 /* MissingDeclaration */, - /*reportAtCurrentPosition*/ - true, - Diagnostics.Expression_expected - ); - setTextRangePos(missing, pos); - missing.modifiers = modifiers; - return missing; - } - function parseClassExpression() { - return parseClassDeclarationOrExpression( - getNodePos(), - hasPrecedingJSDocComment(), - /*modifiers*/ - void 0, - 231 /* ClassExpression */ - ); - } - function parseClassDeclaration(pos, hasJSDoc, modifiers) { - return parseClassDeclarationOrExpression(pos, hasJSDoc, modifiers, 263 /* ClassDeclaration */); - } - function parseClassDeclarationOrExpression(pos, hasJSDoc, modifiers, kind) { - const savedAwaitContext = inAwaitContext(); - parseExpected(86 /* ClassKeyword */); - const name = parseNameOfClassDeclarationOrExpression(); - const typeParameters = parseTypeParameters(); - if (some(modifiers, isExportModifier)) setAwaitContext( - /*value*/ - true - ); - const heritageClauses = parseHeritageClauses(); - let members; - if (parseExpected(19 /* OpenBraceToken */)) { - members = parseClassMembers(); - parseExpected(20 /* CloseBraceToken */); - } else { - members = createMissingList(); - } - setAwaitContext(savedAwaitContext); - const node = kind === 263 /* ClassDeclaration */ ? factory2.createClassDeclaration(modifiers, name, typeParameters, heritageClauses, members) : factory2.createClassExpression(modifiers, name, typeParameters, heritageClauses, members); - return withJSDoc(finishNode(node, pos), hasJSDoc); - } - function parseNameOfClassDeclarationOrExpression() { - return isBindingIdentifier() && !isImplementsClause() ? createIdentifier(isBindingIdentifier()) : void 0; - } - function isImplementsClause() { - return token() === 119 /* ImplementsKeyword */ && lookAhead(nextTokenIsIdentifierOrKeyword); - } - function parseHeritageClauses() { - if (isHeritageClause2()) { - return parseList(22 /* HeritageClauses */, parseHeritageClause); - } - return void 0; - } - function parseHeritageClause() { - const pos = getNodePos(); - const tok = token(); - Debug.assert(tok === 96 /* ExtendsKeyword */ || tok === 119 /* ImplementsKeyword */); - nextToken(); - const types = parseDelimitedList(7 /* HeritageClauseElement */, parseExpressionWithTypeArguments); - return finishNode(factory2.createHeritageClause(tok, types), pos); - } - function parseExpressionWithTypeArguments() { - const pos = getNodePos(); - const expression = parseLeftHandSideExpressionOrHigher(); - if (expression.kind === 233 /* ExpressionWithTypeArguments */) { - return expression; - } - const typeArguments = tryParseTypeArguments(); - return finishNode(factory2.createExpressionWithTypeArguments(expression, typeArguments), pos); - } - function tryParseTypeArguments() { - return token() === 30 /* LessThanToken */ ? parseBracketedList(20 /* TypeArguments */, parseType, 30 /* LessThanToken */, 32 /* GreaterThanToken */) : void 0; - } - function isHeritageClause2() { - return token() === 96 /* ExtendsKeyword */ || token() === 119 /* ImplementsKeyword */; - } - function parseClassMembers() { - return parseList(5 /* ClassMembers */, parseClassElement); - } - function parseInterfaceDeclaration(pos, hasJSDoc, modifiers) { - parseExpected(120 /* InterfaceKeyword */); - const name = parseIdentifier(); - const typeParameters = parseTypeParameters(); - const heritageClauses = parseHeritageClauses(); - const members = parseObjectTypeMembers(); - const node = factory2.createInterfaceDeclaration(modifiers, name, typeParameters, heritageClauses, members); - return withJSDoc(finishNode(node, pos), hasJSDoc); - } - function parseTypeAliasDeclaration(pos, hasJSDoc, modifiers) { - parseExpected(156 /* TypeKeyword */); - if (scanner.hasPrecedingLineBreak()) { - parseErrorAtCurrentToken(Diagnostics.Line_break_not_permitted_here); - } - const name = parseIdentifier(); - const typeParameters = parseTypeParameters(); - parseExpected(64 /* EqualsToken */); - const type = token() === 141 /* IntrinsicKeyword */ && tryParse(parseKeywordAndNoDot) || parseType(); - parseSemicolon(); - const node = factory2.createTypeAliasDeclaration(modifiers, name, typeParameters, type); - return withJSDoc(finishNode(node, pos), hasJSDoc); - } - function parseEnumMember() { - const pos = getNodePos(); - const hasJSDoc = hasPrecedingJSDocComment(); - const name = parsePropertyName(); - const initializer = allowInAnd(parseInitializer); - return withJSDoc(finishNode(factory2.createEnumMember(name, initializer), pos), hasJSDoc); - } - function parseEnumDeclaration(pos, hasJSDoc, modifiers) { - parseExpected(94 /* EnumKeyword */); - const name = parseIdentifier(); - let members; - if (parseExpected(19 /* OpenBraceToken */)) { - members = doOutsideOfYieldAndAwaitContext(() => parseDelimitedList(6 /* EnumMembers */, parseEnumMember)); - parseExpected(20 /* CloseBraceToken */); - } else { - members = createMissingList(); - } - const node = factory2.createEnumDeclaration(modifiers, name, members); - return withJSDoc(finishNode(node, pos), hasJSDoc); - } - function parseModuleBlock() { - const pos = getNodePos(); - let statements; - if (parseExpected(19 /* OpenBraceToken */)) { - statements = parseList(1 /* BlockStatements */, parseStatement); - parseExpected(20 /* CloseBraceToken */); - } else { - statements = createMissingList(); - } - return finishNode(factory2.createModuleBlock(statements), pos); - } - function parseModuleOrNamespaceDeclaration(pos, hasJSDoc, modifiers, flags) { - const namespaceFlag = flags & 32 /* Namespace */; - const name = flags & 8 /* NestedNamespace */ ? parseIdentifierName() : parseIdentifier(); - const body = parseOptional(25 /* DotToken */) ? parseModuleOrNamespaceDeclaration( - getNodePos(), - /*hasJSDoc*/ - false, - /*modifiers*/ - void 0, - 8 /* NestedNamespace */ | namespaceFlag - ) : parseModuleBlock(); - const node = factory2.createModuleDeclaration(modifiers, name, body, flags); - return withJSDoc(finishNode(node, pos), hasJSDoc); - } - function parseAmbientExternalModuleDeclaration(pos, hasJSDoc, modifiersIn) { - let flags = 0; - let name; - if (token() === 162 /* GlobalKeyword */) { - name = parseIdentifier(); - flags |= 2048 /* GlobalAugmentation */; - } else { - name = parseLiteralNode(); - name.text = internIdentifier(name.text); - } - let body; - if (token() === 19 /* OpenBraceToken */) { - body = parseModuleBlock(); - } else { - parseSemicolon(); - } - const node = factory2.createModuleDeclaration(modifiersIn, name, body, flags); - return withJSDoc(finishNode(node, pos), hasJSDoc); - } - function parseModuleDeclaration(pos, hasJSDoc, modifiersIn) { - let flags = 0; - if (token() === 162 /* GlobalKeyword */) { - return parseAmbientExternalModuleDeclaration(pos, hasJSDoc, modifiersIn); - } else if (parseOptional(145 /* NamespaceKeyword */)) { - flags |= 32 /* Namespace */; - } else { - parseExpected(144 /* ModuleKeyword */); - if (token() === 11 /* StringLiteral */) { - return parseAmbientExternalModuleDeclaration(pos, hasJSDoc, modifiersIn); - } - } - return parseModuleOrNamespaceDeclaration(pos, hasJSDoc, modifiersIn, flags); - } - function isExternalModuleReference2() { - return token() === 149 /* RequireKeyword */ && lookAhead(nextTokenIsOpenParen); - } - function nextTokenIsOpenParen() { - return nextToken() === 21 /* OpenParenToken */; - } - function nextTokenIsOpenBrace() { - return nextToken() === 19 /* OpenBraceToken */; - } - function nextTokenIsSlash() { - return nextToken() === 44 /* SlashToken */; - } - function parseNamespaceExportDeclaration(pos, hasJSDoc, modifiers) { - parseExpected(130 /* AsKeyword */); - parseExpected(145 /* NamespaceKeyword */); - const name = parseIdentifier(); - parseSemicolon(); - const node = factory2.createNamespaceExportDeclaration(name); - node.modifiers = modifiers; - return withJSDoc(finishNode(node, pos), hasJSDoc); - } - function parseImportDeclarationOrImportEqualsDeclaration(pos, hasJSDoc, modifiers) { - parseExpected(102 /* ImportKeyword */); - const afterImportPos = scanner.getTokenFullStart(); - let identifier; - if (isIdentifier2()) { - identifier = parseIdentifier(); - } - let isTypeOnly = false; - if ((identifier == null ? void 0 : identifier.escapedText) === "type" && (token() !== 161 /* FromKeyword */ || isIdentifier2() && lookAhead(nextTokenIsFromKeywordOrEqualsToken)) && (isIdentifier2() || tokenAfterImportDefinitelyProducesImportDeclaration())) { - isTypeOnly = true; - identifier = isIdentifier2() ? parseIdentifier() : void 0; - } - if (identifier && !tokenAfterImportedIdentifierDefinitelyProducesImportDeclaration()) { - return parseImportEqualsDeclaration(pos, hasJSDoc, modifiers, identifier, isTypeOnly); - } - const importClause = tryParseImportClause(identifier, afterImportPos, isTypeOnly); - const moduleSpecifier = parseModuleSpecifier(); - const attributes = tryParseImportAttributes(); - parseSemicolon(); - const node = factory2.createImportDeclaration(modifiers, importClause, moduleSpecifier, attributes); - return withJSDoc(finishNode(node, pos), hasJSDoc); - } - function tryParseImportClause(identifier, pos, isTypeOnly, skipJsDocLeadingAsterisks = false) { - let importClause; - if (identifier || // import id - token() === 42 /* AsteriskToken */ || // import * - token() === 19 /* OpenBraceToken */) { - importClause = parseImportClause(identifier, pos, isTypeOnly, skipJsDocLeadingAsterisks); - parseExpected(161 /* FromKeyword */); - } - return importClause; - } - function tryParseImportAttributes() { - const currentToken2 = token(); - if ((currentToken2 === 118 /* WithKeyword */ || currentToken2 === 132 /* AssertKeyword */) && !scanner.hasPrecedingLineBreak()) { - return parseImportAttributes(currentToken2); - } - } - function parseImportAttribute() { - const pos = getNodePos(); - const name = tokenIsIdentifierOrKeyword(token()) ? parseIdentifierName() : parseLiteralLikeNode(11 /* StringLiteral */); - parseExpected(59 /* ColonToken */); - const value = parseAssignmentExpressionOrHigher( - /*allowReturnTypeInArrowFunction*/ - true - ); - return finishNode(factory2.createImportAttribute(name, value), pos); - } - function parseImportAttributes(token2, skipKeyword) { - const pos = getNodePos(); - if (!skipKeyword) { - parseExpected(token2); - } - const openBracePosition = scanner.getTokenStart(); - if (parseExpected(19 /* OpenBraceToken */)) { - const multiLine = scanner.hasPrecedingLineBreak(); - const elements = parseDelimitedList( - 24 /* ImportAttributes */, - parseImportAttribute, - /*considerSemicolonAsDelimiter*/ - true - ); - if (!parseExpected(20 /* CloseBraceToken */)) { - const lastError = lastOrUndefined(parseDiagnostics); - if (lastError && lastError.code === Diagnostics._0_expected.code) { - addRelatedInfo( - lastError, - createDetachedDiagnostic(fileName, sourceText, openBracePosition, 1, Diagnostics.The_parser_expected_to_find_a_1_to_match_the_0_token_here, "{", "}") - ); - } - } - return finishNode(factory2.createImportAttributes(elements, multiLine, token2), pos); - } else { - const elements = createNodeArray( - [], - getNodePos(), - /*end*/ - void 0, - /*hasTrailingComma*/ - false - ); - return finishNode(factory2.createImportAttributes( - elements, - /*multiLine*/ - false, - token2 - ), pos); - } - } - function tokenAfterImportDefinitelyProducesImportDeclaration() { - return token() === 42 /* AsteriskToken */ || token() === 19 /* OpenBraceToken */; - } - function tokenAfterImportedIdentifierDefinitelyProducesImportDeclaration() { - return token() === 28 /* CommaToken */ || token() === 161 /* FromKeyword */; - } - function parseImportEqualsDeclaration(pos, hasJSDoc, modifiers, identifier, isTypeOnly) { - parseExpected(64 /* EqualsToken */); - const moduleReference = parseModuleReference(); - parseSemicolon(); - const node = factory2.createImportEqualsDeclaration(modifiers, isTypeOnly, identifier, moduleReference); - const finished = withJSDoc(finishNode(node, pos), hasJSDoc); - return finished; - } - function parseImportClause(identifier, pos, isTypeOnly, skipJsDocLeadingAsterisks) { - let namedBindings; - if (!identifier || parseOptional(28 /* CommaToken */)) { - if (skipJsDocLeadingAsterisks) scanner.setSkipJsDocLeadingAsterisks(true); - namedBindings = token() === 42 /* AsteriskToken */ ? parseNamespaceImport() : parseNamedImportsOrExports(275 /* NamedImports */); - if (skipJsDocLeadingAsterisks) scanner.setSkipJsDocLeadingAsterisks(false); - } - return finishNode(factory2.createImportClause(isTypeOnly, identifier, namedBindings), pos); - } - function parseModuleReference() { - return isExternalModuleReference2() ? parseExternalModuleReference() : parseEntityName( - /*allowReservedWords*/ - false - ); - } - function parseExternalModuleReference() { - const pos = getNodePos(); - parseExpected(149 /* RequireKeyword */); - parseExpected(21 /* OpenParenToken */); - const expression = parseModuleSpecifier(); - parseExpected(22 /* CloseParenToken */); - return finishNode(factory2.createExternalModuleReference(expression), pos); - } - function parseModuleSpecifier() { - if (token() === 11 /* StringLiteral */) { - const result = parseLiteralNode(); - result.text = internIdentifier(result.text); - return result; - } else { - return parseExpression(); - } - } - function parseNamespaceImport() { - const pos = getNodePos(); - parseExpected(42 /* AsteriskToken */); - parseExpected(130 /* AsKeyword */); - const name = parseIdentifier(); - return finishNode(factory2.createNamespaceImport(name), pos); - } - function canParseModuleExportName() { - return tokenIsIdentifierOrKeyword(token()) || token() === 11 /* StringLiteral */; - } - function parseModuleExportName(parseName) { - return token() === 11 /* StringLiteral */ ? parseLiteralNode() : parseName(); - } - function parseNamedImportsOrExports(kind) { - const pos = getNodePos(); - const node = kind === 275 /* NamedImports */ ? factory2.createNamedImports(parseBracketedList(23 /* ImportOrExportSpecifiers */, parseImportSpecifier, 19 /* OpenBraceToken */, 20 /* CloseBraceToken */)) : factory2.createNamedExports(parseBracketedList(23 /* ImportOrExportSpecifiers */, parseExportSpecifier, 19 /* OpenBraceToken */, 20 /* CloseBraceToken */)); - return finishNode(node, pos); - } - function parseExportSpecifier() { - const hasJSDoc = hasPrecedingJSDocComment(); - return withJSDoc(parseImportOrExportSpecifier(281 /* ExportSpecifier */), hasJSDoc); - } - function parseImportSpecifier() { - return parseImportOrExportSpecifier(276 /* ImportSpecifier */); - } - function parseImportOrExportSpecifier(kind) { - const pos = getNodePos(); - let checkIdentifierIsKeyword = isKeyword(token()) && !isIdentifier2(); - let checkIdentifierStart = scanner.getTokenStart(); - let checkIdentifierEnd = scanner.getTokenEnd(); - let isTypeOnly = false; - let propertyName; - let canParseAsKeyword = true; - let name = parseModuleExportName(parseIdentifierName); - if (name.kind === 80 /* Identifier */ && name.escapedText === "type") { - if (token() === 130 /* AsKeyword */) { - const firstAs = parseIdentifierName(); - if (token() === 130 /* AsKeyword */) { - const secondAs = parseIdentifierName(); - if (canParseModuleExportName()) { - isTypeOnly = true; - propertyName = firstAs; - name = parseModuleExportName(parseNameWithKeywordCheck); - canParseAsKeyword = false; - } else { - propertyName = name; - name = secondAs; - canParseAsKeyword = false; - } - } else if (canParseModuleExportName()) { - propertyName = name; - canParseAsKeyword = false; - name = parseModuleExportName(parseNameWithKeywordCheck); - } else { - isTypeOnly = true; - name = firstAs; - } - } else if (canParseModuleExportName()) { - isTypeOnly = true; - name = parseModuleExportName(parseNameWithKeywordCheck); - } - } - if (canParseAsKeyword && token() === 130 /* AsKeyword */) { - propertyName = name; - parseExpected(130 /* AsKeyword */); - name = parseModuleExportName(parseNameWithKeywordCheck); - } - if (kind === 276 /* ImportSpecifier */) { - if (name.kind !== 80 /* Identifier */) { - parseErrorAt(skipTrivia(sourceText, name.pos), name.end, Diagnostics.Identifier_expected); - name = setTextRangePosEnd(createMissingNode( - 80 /* Identifier */, - /*reportAtCurrentPosition*/ - false - ), name.pos, name.pos); - } else if (checkIdentifierIsKeyword) { - parseErrorAt(checkIdentifierStart, checkIdentifierEnd, Diagnostics.Identifier_expected); - } - } - const node = kind === 276 /* ImportSpecifier */ ? factory2.createImportSpecifier(isTypeOnly, propertyName, name) : factory2.createExportSpecifier(isTypeOnly, propertyName, name); - return finishNode(node, pos); - function parseNameWithKeywordCheck() { - checkIdentifierIsKeyword = isKeyword(token()) && !isIdentifier2(); - checkIdentifierStart = scanner.getTokenStart(); - checkIdentifierEnd = scanner.getTokenEnd(); - return parseIdentifierName(); - } - } - function parseNamespaceExport(pos) { - return finishNode(factory2.createNamespaceExport(parseModuleExportName(parseIdentifierName)), pos); - } - function parseExportDeclaration(pos, hasJSDoc, modifiers) { - const savedAwaitContext = inAwaitContext(); - setAwaitContext( - /*value*/ - true - ); - let exportClause; - let moduleSpecifier; - let attributes; - const isTypeOnly = parseOptional(156 /* TypeKeyword */); - const namespaceExportPos = getNodePos(); - if (parseOptional(42 /* AsteriskToken */)) { - if (parseOptional(130 /* AsKeyword */)) { - exportClause = parseNamespaceExport(namespaceExportPos); - } - parseExpected(161 /* FromKeyword */); - moduleSpecifier = parseModuleSpecifier(); - } else { - exportClause = parseNamedImportsOrExports(279 /* NamedExports */); - if (token() === 161 /* FromKeyword */ || token() === 11 /* StringLiteral */ && !scanner.hasPrecedingLineBreak()) { - parseExpected(161 /* FromKeyword */); - moduleSpecifier = parseModuleSpecifier(); - } - } - const currentToken2 = token(); - if (moduleSpecifier && (currentToken2 === 118 /* WithKeyword */ || currentToken2 === 132 /* AssertKeyword */) && !scanner.hasPrecedingLineBreak()) { - attributes = parseImportAttributes(currentToken2); - } - parseSemicolon(); - setAwaitContext(savedAwaitContext); - const node = factory2.createExportDeclaration(modifiers, isTypeOnly, exportClause, moduleSpecifier, attributes); - return withJSDoc(finishNode(node, pos), hasJSDoc); - } - function parseExportAssignment(pos, hasJSDoc, modifiers) { - const savedAwaitContext = inAwaitContext(); - setAwaitContext( - /*value*/ - true - ); - let isExportEquals; - if (parseOptional(64 /* EqualsToken */)) { - isExportEquals = true; - } else { - parseExpected(90 /* DefaultKeyword */); - } - const expression = parseAssignmentExpressionOrHigher( - /*allowReturnTypeInArrowFunction*/ - true - ); - parseSemicolon(); - setAwaitContext(savedAwaitContext); - const node = factory2.createExportAssignment(modifiers, isExportEquals, expression); - return withJSDoc(finishNode(node, pos), hasJSDoc); - } - let ParsingContext; - ((ParsingContext2) => { - ParsingContext2[ParsingContext2["SourceElements"] = 0] = "SourceElements"; - ParsingContext2[ParsingContext2["BlockStatements"] = 1] = "BlockStatements"; - ParsingContext2[ParsingContext2["SwitchClauses"] = 2] = "SwitchClauses"; - ParsingContext2[ParsingContext2["SwitchClauseStatements"] = 3] = "SwitchClauseStatements"; - ParsingContext2[ParsingContext2["TypeMembers"] = 4] = "TypeMembers"; - ParsingContext2[ParsingContext2["ClassMembers"] = 5] = "ClassMembers"; - ParsingContext2[ParsingContext2["EnumMembers"] = 6] = "EnumMembers"; - ParsingContext2[ParsingContext2["HeritageClauseElement"] = 7] = "HeritageClauseElement"; - ParsingContext2[ParsingContext2["VariableDeclarations"] = 8] = "VariableDeclarations"; - ParsingContext2[ParsingContext2["ObjectBindingElements"] = 9] = "ObjectBindingElements"; - ParsingContext2[ParsingContext2["ArrayBindingElements"] = 10] = "ArrayBindingElements"; - ParsingContext2[ParsingContext2["ArgumentExpressions"] = 11] = "ArgumentExpressions"; - ParsingContext2[ParsingContext2["ObjectLiteralMembers"] = 12] = "ObjectLiteralMembers"; - ParsingContext2[ParsingContext2["JsxAttributes"] = 13] = "JsxAttributes"; - ParsingContext2[ParsingContext2["JsxChildren"] = 14] = "JsxChildren"; - ParsingContext2[ParsingContext2["ArrayLiteralMembers"] = 15] = "ArrayLiteralMembers"; - ParsingContext2[ParsingContext2["Parameters"] = 16] = "Parameters"; - ParsingContext2[ParsingContext2["JSDocParameters"] = 17] = "JSDocParameters"; - ParsingContext2[ParsingContext2["RestProperties"] = 18] = "RestProperties"; - ParsingContext2[ParsingContext2["TypeParameters"] = 19] = "TypeParameters"; - ParsingContext2[ParsingContext2["TypeArguments"] = 20] = "TypeArguments"; - ParsingContext2[ParsingContext2["TupleElementTypes"] = 21] = "TupleElementTypes"; - ParsingContext2[ParsingContext2["HeritageClauses"] = 22] = "HeritageClauses"; - ParsingContext2[ParsingContext2["ImportOrExportSpecifiers"] = 23] = "ImportOrExportSpecifiers"; - ParsingContext2[ParsingContext2["ImportAttributes"] = 24] = "ImportAttributes"; - ParsingContext2[ParsingContext2["JSDocComment"] = 25] = "JSDocComment"; - ParsingContext2[ParsingContext2["Count"] = 26] = "Count"; - })(ParsingContext || (ParsingContext = {})); - let Tristate; - ((Tristate2) => { - Tristate2[Tristate2["False"] = 0] = "False"; - Tristate2[Tristate2["True"] = 1] = "True"; - Tristate2[Tristate2["Unknown"] = 2] = "Unknown"; - })(Tristate || (Tristate = {})); - let JSDocParser; - ((JSDocParser2) => { - function parseJSDocTypeExpressionForTests(content, start, length2) { - initializeState( - "file.js", - content, - 99 /* Latest */, - /*syntaxCursor*/ - void 0, - 1 /* JS */, - 0 /* ParseAll */ - ); - scanner.setText(content, start, length2); - currentToken = scanner.scan(); - const jsDocTypeExpression = parseJSDocTypeExpression(); - const sourceFile = createSourceFile2( - "file.js", - 99 /* Latest */, - 1 /* JS */, - /*isDeclarationFile*/ - false, - [], - factoryCreateToken(1 /* EndOfFileToken */), - 0 /* None */, - noop - ); - const diagnostics = attachFileToDiagnostics(parseDiagnostics, sourceFile); - if (jsDocDiagnostics) { - sourceFile.jsDocDiagnostics = attachFileToDiagnostics(jsDocDiagnostics, sourceFile); - } - clearState(); - return jsDocTypeExpression ? { jsDocTypeExpression, diagnostics } : void 0; - } - JSDocParser2.parseJSDocTypeExpressionForTests = parseJSDocTypeExpressionForTests; - function parseJSDocTypeExpression(mayOmitBraces) { - const pos = getNodePos(); - const hasBrace = (mayOmitBraces ? parseOptional : parseExpected)(19 /* OpenBraceToken */); - const type = doInsideOfContext(16777216 /* JSDoc */, parseJSDocType); - if (!mayOmitBraces || hasBrace) { - parseExpectedJSDoc(20 /* CloseBraceToken */); - } - const result = factory2.createJSDocTypeExpression(type); - fixupParentReferences(result); - return finishNode(result, pos); - } - JSDocParser2.parseJSDocTypeExpression = parseJSDocTypeExpression; - function parseJSDocNameReference() { - const pos = getNodePos(); - const hasBrace = parseOptional(19 /* OpenBraceToken */); - const p2 = getNodePos(); - let entityName = parseEntityName( - /*allowReservedWords*/ - false - ); - while (token() === 81 /* PrivateIdentifier */) { - reScanHashToken(); - nextTokenJSDoc(); - entityName = finishNode(factory2.createJSDocMemberName(entityName, parseIdentifier()), p2); - } - if (hasBrace) { - parseExpectedJSDoc(20 /* CloseBraceToken */); - } - const result = factory2.createJSDocNameReference(entityName); - fixupParentReferences(result); - return finishNode(result, pos); - } - JSDocParser2.parseJSDocNameReference = parseJSDocNameReference; - function parseIsolatedJSDocComment(content, start, length2) { - initializeState( - "", - content, - 99 /* Latest */, - /*syntaxCursor*/ - void 0, - 1 /* JS */, - 0 /* ParseAll */ - ); - const jsDoc = doInsideOfContext(16777216 /* JSDoc */, () => parseJSDocCommentWorker(start, length2)); - const sourceFile = { languageVariant: 0 /* Standard */, text: content }; - const diagnostics = attachFileToDiagnostics(parseDiagnostics, sourceFile); - clearState(); - return jsDoc ? { jsDoc, diagnostics } : void 0; - } - JSDocParser2.parseIsolatedJSDocComment = parseIsolatedJSDocComment; - function parseJSDocComment(parent, start, length2) { - const saveToken = currentToken; - const saveParseDiagnosticsLength = parseDiagnostics.length; - const saveParseErrorBeforeNextFinishedNode = parseErrorBeforeNextFinishedNode; - const comment = doInsideOfContext(16777216 /* JSDoc */, () => parseJSDocCommentWorker(start, length2)); - setParent(comment, parent); - if (contextFlags & 524288 /* JavaScriptFile */) { - if (!jsDocDiagnostics) { - jsDocDiagnostics = []; - } - addRange(jsDocDiagnostics, parseDiagnostics, saveParseDiagnosticsLength); - } - currentToken = saveToken; - parseDiagnostics.length = saveParseDiagnosticsLength; - parseErrorBeforeNextFinishedNode = saveParseErrorBeforeNextFinishedNode; - return comment; - } - JSDocParser2.parseJSDocComment = parseJSDocComment; - let JSDocState; - ((JSDocState2) => { - JSDocState2[JSDocState2["BeginningOfLine"] = 0] = "BeginningOfLine"; - JSDocState2[JSDocState2["SawAsterisk"] = 1] = "SawAsterisk"; - JSDocState2[JSDocState2["SavingComments"] = 2] = "SavingComments"; - JSDocState2[JSDocState2["SavingBackticks"] = 3] = "SavingBackticks"; - })(JSDocState || (JSDocState = {})); - let PropertyLikeParse; - ((PropertyLikeParse2) => { - PropertyLikeParse2[PropertyLikeParse2["Property"] = 1] = "Property"; - PropertyLikeParse2[PropertyLikeParse2["Parameter"] = 2] = "Parameter"; - PropertyLikeParse2[PropertyLikeParse2["CallbackParameter"] = 4] = "CallbackParameter"; - })(PropertyLikeParse || (PropertyLikeParse = {})); - function parseJSDocCommentWorker(start = 0, length2) { - const content = sourceText; - const end = length2 === void 0 ? content.length : start + length2; - length2 = end - start; - Debug.assert(start >= 0); - Debug.assert(start <= end); - Debug.assert(end <= content.length); - if (!isJSDocLikeText(content, start)) { - return void 0; - } - let tags; - let tagsPos; - let tagsEnd; - let linkEnd; - let commentsPos; - let comments = []; - const parts = []; - const saveParsingContext = parsingContext; - parsingContext |= 1 << 25 /* JSDocComment */; - const result = scanner.scanRange(start + 3, length2 - 5, doJSDocScan); - parsingContext = saveParsingContext; - return result; - function doJSDocScan() { - let state = 1 /* SawAsterisk */; - let margin; - let indent2 = start - (content.lastIndexOf("\n", start) + 1) + 4; - function pushComment(text) { - if (!margin) { - margin = indent2; - } - comments.push(text); - indent2 += text.length; - } - nextTokenJSDoc(); - while (parseOptionalJsdoc(5 /* WhitespaceTrivia */)) ; - if (parseOptionalJsdoc(4 /* NewLineTrivia */)) { - state = 0 /* BeginningOfLine */; - indent2 = 0; - } - loop: - while (true) { - switch (token()) { - case 60 /* AtToken */: - removeTrailingWhitespace(comments); - if (!commentsPos) commentsPos = getNodePos(); - addTag(parseTag(indent2)); - state = 0 /* BeginningOfLine */; - margin = void 0; - break; - case 4 /* NewLineTrivia */: - comments.push(scanner.getTokenText()); - state = 0 /* BeginningOfLine */; - indent2 = 0; - break; - case 42 /* AsteriskToken */: - const asterisk = scanner.getTokenText(); - if (state === 1 /* SawAsterisk */) { - state = 2 /* SavingComments */; - pushComment(asterisk); - } else { - Debug.assert(state === 0 /* BeginningOfLine */); - state = 1 /* SawAsterisk */; - indent2 += asterisk.length; - } - break; - case 5 /* WhitespaceTrivia */: - Debug.assert(state !== 2 /* SavingComments */, "whitespace shouldn't come from the scanner while saving top-level comment text"); - const whitespace = scanner.getTokenText(); - if (margin !== void 0 && indent2 + whitespace.length > margin) { - comments.push(whitespace.slice(margin - indent2)); - } - indent2 += whitespace.length; - break; - case 1 /* EndOfFileToken */: - break loop; - case 82 /* JSDocCommentTextToken */: - state = 2 /* SavingComments */; - pushComment(scanner.getTokenValue()); - break; - case 19 /* OpenBraceToken */: - state = 2 /* SavingComments */; - const commentEnd = scanner.getTokenFullStart(); - const linkStart = scanner.getTokenEnd() - 1; - const link = parseJSDocLink(linkStart); - if (link) { - if (!linkEnd) { - removeLeadingNewlines(comments); - } - parts.push(finishNode(factory2.createJSDocText(comments.join("")), linkEnd ?? start, commentEnd)); - parts.push(link); - comments = []; - linkEnd = scanner.getTokenEnd(); - break; - } - default: - state = 2 /* SavingComments */; - pushComment(scanner.getTokenText()); - break; - } - if (state === 2 /* SavingComments */) { - nextJSDocCommentTextToken( - /*inBackticks*/ - false - ); - } else { - nextTokenJSDoc(); - } - } - const trimmedComments = comments.join("").trimEnd(); - if (parts.length && trimmedComments.length) { - parts.push(finishNode(factory2.createJSDocText(trimmedComments), linkEnd ?? start, commentsPos)); - } - if (parts.length && tags) Debug.assertIsDefined(commentsPos, "having parsed tags implies that the end of the comment span should be set"); - const tagsArray = tags && createNodeArray(tags, tagsPos, tagsEnd); - return finishNode(factory2.createJSDocComment(parts.length ? createNodeArray(parts, start, commentsPos) : trimmedComments.length ? trimmedComments : void 0, tagsArray), start, end); - } - function removeLeadingNewlines(comments2) { - while (comments2.length && (comments2[0] === "\n" || comments2[0] === "\r")) { - comments2.shift(); - } - } - function removeTrailingWhitespace(comments2) { - while (comments2.length) { - const trimmed = comments2[comments2.length - 1].trimEnd(); - if (trimmed === "") { - comments2.pop(); - } else if (trimmed.length < comments2[comments2.length - 1].length) { - comments2[comments2.length - 1] = trimmed; - break; - } else { - break; - } - } - } - function isNextNonwhitespaceTokenEndOfFile() { - while (true) { - nextTokenJSDoc(); - if (token() === 1 /* EndOfFileToken */) { - return true; - } - if (!(token() === 5 /* WhitespaceTrivia */ || token() === 4 /* NewLineTrivia */)) { - return false; - } - } - } - function skipWhitespace() { - if (token() === 5 /* WhitespaceTrivia */ || token() === 4 /* NewLineTrivia */) { - if (lookAhead(isNextNonwhitespaceTokenEndOfFile)) { - return; - } - } - while (token() === 5 /* WhitespaceTrivia */ || token() === 4 /* NewLineTrivia */) { - nextTokenJSDoc(); - } - } - function skipWhitespaceOrAsterisk() { - if (token() === 5 /* WhitespaceTrivia */ || token() === 4 /* NewLineTrivia */) { - if (lookAhead(isNextNonwhitespaceTokenEndOfFile)) { - return ""; - } - } - let precedingLineBreak = scanner.hasPrecedingLineBreak(); - let seenLineBreak = false; - let indentText = ""; - while (precedingLineBreak && token() === 42 /* AsteriskToken */ || token() === 5 /* WhitespaceTrivia */ || token() === 4 /* NewLineTrivia */) { - indentText += scanner.getTokenText(); - if (token() === 4 /* NewLineTrivia */) { - precedingLineBreak = true; - seenLineBreak = true; - indentText = ""; - } else if (token() === 42 /* AsteriskToken */) { - precedingLineBreak = false; - } - nextTokenJSDoc(); - } - return seenLineBreak ? indentText : ""; - } - function parseTag(margin) { - Debug.assert(token() === 60 /* AtToken */); - const start2 = scanner.getTokenStart(); - nextTokenJSDoc(); - const tagName = parseJSDocIdentifierName( - /*message*/ - void 0 - ); - const indentText = skipWhitespaceOrAsterisk(); - let tag; - switch (tagName.escapedText) { - case "author": - tag = parseAuthorTag(start2, tagName, margin, indentText); - break; - case "implements": - tag = parseImplementsTag(start2, tagName, margin, indentText); - break; - case "augments": - case "extends": - tag = parseAugmentsTag(start2, tagName, margin, indentText); - break; - case "class": - case "constructor": - tag = parseSimpleTag(start2, factory2.createJSDocClassTag, tagName, margin, indentText); - break; - case "public": - tag = parseSimpleTag(start2, factory2.createJSDocPublicTag, tagName, margin, indentText); - break; - case "private": - tag = parseSimpleTag(start2, factory2.createJSDocPrivateTag, tagName, margin, indentText); - break; - case "protected": - tag = parseSimpleTag(start2, factory2.createJSDocProtectedTag, tagName, margin, indentText); - break; - case "readonly": - tag = parseSimpleTag(start2, factory2.createJSDocReadonlyTag, tagName, margin, indentText); - break; - case "override": - tag = parseSimpleTag(start2, factory2.createJSDocOverrideTag, tagName, margin, indentText); - break; - case "deprecated": - hasDeprecatedTag = true; - tag = parseSimpleTag(start2, factory2.createJSDocDeprecatedTag, tagName, margin, indentText); - break; - case "this": - tag = parseThisTag(start2, tagName, margin, indentText); - break; - case "enum": - tag = parseEnumTag(start2, tagName, margin, indentText); - break; - case "arg": - case "argument": - case "param": - return parseParameterOrPropertyTag(start2, tagName, 2 /* Parameter */, margin); - case "return": - case "returns": - tag = parseReturnTag(start2, tagName, margin, indentText); - break; - case "template": - tag = parseTemplateTag(start2, tagName, margin, indentText); - break; - case "type": - tag = parseTypeTag(start2, tagName, margin, indentText); - break; - case "typedef": - tag = parseTypedefTag(start2, tagName, margin, indentText); - break; - case "callback": - tag = parseCallbackTag(start2, tagName, margin, indentText); - break; - case "overload": - tag = parseOverloadTag(start2, tagName, margin, indentText); - break; - case "satisfies": - tag = parseSatisfiesTag(start2, tagName, margin, indentText); - break; - case "see": - tag = parseSeeTag(start2, tagName, margin, indentText); - break; - case "exception": - case "throws": - tag = parseThrowsTag(start2, tagName, margin, indentText); - break; - case "import": - tag = parseImportTag(start2, tagName, margin, indentText); - break; - default: - tag = parseUnknownTag(start2, tagName, margin, indentText); - break; - } - return tag; - } - function parseTrailingTagComments(pos, end2, margin, indentText) { - if (!indentText) { - margin += end2 - pos; - } - return parseTagComments(margin, indentText.slice(margin)); - } - function parseTagComments(indent2, initialMargin) { - const commentsPos2 = getNodePos(); - let comments2 = []; - const parts2 = []; - let linkEnd2; - let state = 0 /* BeginningOfLine */; - let margin; - function pushComment(text) { - if (!margin) { - margin = indent2; - } - comments2.push(text); - indent2 += text.length; - } - if (initialMargin !== void 0) { - if (initialMargin !== "") { - pushComment(initialMargin); - } - state = 1 /* SawAsterisk */; - } - let tok = token(); - loop: - while (true) { - switch (tok) { - case 4 /* NewLineTrivia */: - state = 0 /* BeginningOfLine */; - comments2.push(scanner.getTokenText()); - indent2 = 0; - break; - case 60 /* AtToken */: - scanner.resetTokenState(scanner.getTokenEnd() - 1); - break loop; - case 1 /* EndOfFileToken */: - break loop; - case 5 /* WhitespaceTrivia */: - Debug.assert(state !== 2 /* SavingComments */ && state !== 3 /* SavingBackticks */, "whitespace shouldn't come from the scanner while saving comment text"); - const whitespace = scanner.getTokenText(); - if (margin !== void 0 && indent2 + whitespace.length > margin) { - comments2.push(whitespace.slice(margin - indent2)); - state = 2 /* SavingComments */; - } - indent2 += whitespace.length; - break; - case 19 /* OpenBraceToken */: - state = 2 /* SavingComments */; - const commentEnd = scanner.getTokenFullStart(); - const linkStart = scanner.getTokenEnd() - 1; - const link = parseJSDocLink(linkStart); - if (link) { - parts2.push(finishNode(factory2.createJSDocText(comments2.join("")), linkEnd2 ?? commentsPos2, commentEnd)); - parts2.push(link); - comments2 = []; - linkEnd2 = scanner.getTokenEnd(); - } else { - pushComment(scanner.getTokenText()); - } - break; - case 62 /* BacktickToken */: - if (state === 3 /* SavingBackticks */) { - state = 2 /* SavingComments */; - } else { - state = 3 /* SavingBackticks */; - } - pushComment(scanner.getTokenText()); - break; - case 82 /* JSDocCommentTextToken */: - if (state !== 3 /* SavingBackticks */) { - state = 2 /* SavingComments */; - } - pushComment(scanner.getTokenValue()); - break; - case 42 /* AsteriskToken */: - if (state === 0 /* BeginningOfLine */) { - state = 1 /* SawAsterisk */; - indent2 += 1; - break; - } - default: - if (state !== 3 /* SavingBackticks */) { - state = 2 /* SavingComments */; - } - pushComment(scanner.getTokenText()); - break; - } - if (state === 2 /* SavingComments */ || state === 3 /* SavingBackticks */) { - tok = nextJSDocCommentTextToken(state === 3 /* SavingBackticks */); - } else { - tok = nextTokenJSDoc(); - } - } - removeLeadingNewlines(comments2); - const trimmedComments = comments2.join("").trimEnd(); - if (parts2.length) { - if (trimmedComments.length) { - parts2.push(finishNode(factory2.createJSDocText(trimmedComments), linkEnd2 ?? commentsPos2)); - } - return createNodeArray(parts2, commentsPos2, scanner.getTokenEnd()); - } else if (trimmedComments.length) { - return trimmedComments; - } - } - function parseJSDocLink(start2) { - const linkType = tryParse(parseJSDocLinkPrefix); - if (!linkType) { - return void 0; - } - nextTokenJSDoc(); - skipWhitespace(); - const name = parseJSDocLinkName(); - const text = []; - while (token() !== 20 /* CloseBraceToken */ && token() !== 4 /* NewLineTrivia */ && token() !== 1 /* EndOfFileToken */) { - text.push(scanner.getTokenText()); - nextTokenJSDoc(); - } - const create = linkType === "link" ? factory2.createJSDocLink : linkType === "linkcode" ? factory2.createJSDocLinkCode : factory2.createJSDocLinkPlain; - return finishNode(create(name, text.join("")), start2, scanner.getTokenEnd()); - } - function parseJSDocLinkName() { - if (tokenIsIdentifierOrKeyword(token())) { - const pos = getNodePos(); - let name = parseIdentifierName(); - while (parseOptional(25 /* DotToken */)) { - name = finishNode(factory2.createQualifiedName(name, token() === 81 /* PrivateIdentifier */ ? createMissingNode( - 80 /* Identifier */, - /*reportAtCurrentPosition*/ - false - ) : parseIdentifierName()), pos); - } - while (token() === 81 /* PrivateIdentifier */) { - reScanHashToken(); - nextTokenJSDoc(); - name = finishNode(factory2.createJSDocMemberName(name, parseIdentifier()), pos); - } - return name; - } - return void 0; - } - function parseJSDocLinkPrefix() { - skipWhitespaceOrAsterisk(); - if (token() === 19 /* OpenBraceToken */ && nextTokenJSDoc() === 60 /* AtToken */ && tokenIsIdentifierOrKeyword(nextTokenJSDoc())) { - const kind = scanner.getTokenValue(); - if (isJSDocLinkTag(kind)) return kind; - } - } - function isJSDocLinkTag(kind) { - return kind === "link" || kind === "linkcode" || kind === "linkplain"; - } - function parseUnknownTag(start2, tagName, indent2, indentText) { - return finishNode(factory2.createJSDocUnknownTag(tagName, parseTrailingTagComments(start2, getNodePos(), indent2, indentText)), start2); - } - function addTag(tag) { - if (!tag) { - return; - } - if (!tags) { - tags = [tag]; - tagsPos = tag.pos; - } else { - tags.push(tag); - } - tagsEnd = tag.end; - } - function tryParseTypeExpression() { - skipWhitespaceOrAsterisk(); - return token() === 19 /* OpenBraceToken */ ? parseJSDocTypeExpression() : void 0; - } - function parseBracketNameInPropertyAndParamTag() { - const isBracketed = parseOptionalJsdoc(23 /* OpenBracketToken */); - if (isBracketed) { - skipWhitespace(); - } - const isBackquoted = parseOptionalJsdoc(62 /* BacktickToken */); - const name = parseJSDocEntityName(); - if (isBackquoted) { - parseExpectedTokenJSDoc(62 /* BacktickToken */); - } - if (isBracketed) { - skipWhitespace(); - if (parseOptionalToken(64 /* EqualsToken */)) { - parseExpression(); - } - parseExpected(24 /* CloseBracketToken */); - } - return { name, isBracketed }; - } - function isObjectOrObjectArrayTypeReference(node) { - switch (node.kind) { - case 151 /* ObjectKeyword */: - return true; - case 188 /* ArrayType */: - return isObjectOrObjectArrayTypeReference(node.elementType); - default: - return isTypeReferenceNode(node) && isIdentifier(node.typeName) && node.typeName.escapedText === "Object" && !node.typeArguments; - } - } - function parseParameterOrPropertyTag(start2, tagName, target, indent2) { - let typeExpression = tryParseTypeExpression(); - let isNameFirst = !typeExpression; - skipWhitespaceOrAsterisk(); - const { name, isBracketed } = parseBracketNameInPropertyAndParamTag(); - const indentText = skipWhitespaceOrAsterisk(); - if (isNameFirst && !lookAhead(parseJSDocLinkPrefix)) { - typeExpression = tryParseTypeExpression(); - } - const comment = parseTrailingTagComments(start2, getNodePos(), indent2, indentText); - const nestedTypeLiteral = parseNestedTypeLiteral(typeExpression, name, target, indent2); - if (nestedTypeLiteral) { - typeExpression = nestedTypeLiteral; - isNameFirst = true; - } - const result2 = target === 1 /* Property */ ? factory2.createJSDocPropertyTag(tagName, name, isBracketed, typeExpression, isNameFirst, comment) : factory2.createJSDocParameterTag(tagName, name, isBracketed, typeExpression, isNameFirst, comment); - return finishNode(result2, start2); - } - function parseNestedTypeLiteral(typeExpression, name, target, indent2) { - if (typeExpression && isObjectOrObjectArrayTypeReference(typeExpression.type)) { - const pos = getNodePos(); - let child; - let children; - while (child = tryParse(() => parseChildParameterOrPropertyTag(target, indent2, name))) { - if (child.kind === 341 /* JSDocParameterTag */ || child.kind === 348 /* JSDocPropertyTag */) { - children = append(children, child); - } else if (child.kind === 345 /* JSDocTemplateTag */) { - parseErrorAtRange(child.tagName, Diagnostics.A_JSDoc_template_tag_may_not_follow_a_typedef_callback_or_overload_tag); - } - } - if (children) { - const literal = finishNode(factory2.createJSDocTypeLiteral(children, typeExpression.type.kind === 188 /* ArrayType */), pos); - return finishNode(factory2.createJSDocTypeExpression(literal), pos); - } - } - } - function parseReturnTag(start2, tagName, indent2, indentText) { - if (some(tags, isJSDocReturnTag)) { - parseErrorAt(tagName.pos, scanner.getTokenStart(), Diagnostics._0_tag_already_specified, unescapeLeadingUnderscores(tagName.escapedText)); - } - const typeExpression = tryParseTypeExpression(); - return finishNode(factory2.createJSDocReturnTag(tagName, typeExpression, parseTrailingTagComments(start2, getNodePos(), indent2, indentText)), start2); - } - function parseTypeTag(start2, tagName, indent2, indentText) { - if (some(tags, isJSDocTypeTag)) { - parseErrorAt(tagName.pos, scanner.getTokenStart(), Diagnostics._0_tag_already_specified, unescapeLeadingUnderscores(tagName.escapedText)); - } - const typeExpression = parseJSDocTypeExpression( - /*mayOmitBraces*/ - true - ); - const comments2 = indent2 !== void 0 && indentText !== void 0 ? parseTrailingTagComments(start2, getNodePos(), indent2, indentText) : void 0; - return finishNode(factory2.createJSDocTypeTag(tagName, typeExpression, comments2), start2); - } - function parseSeeTag(start2, tagName, indent2, indentText) { - const isMarkdownOrJSDocLink = token() === 23 /* OpenBracketToken */ || lookAhead(() => nextTokenJSDoc() === 60 /* AtToken */ && tokenIsIdentifierOrKeyword(nextTokenJSDoc()) && isJSDocLinkTag(scanner.getTokenValue())); - const nameExpression = isMarkdownOrJSDocLink ? void 0 : parseJSDocNameReference(); - const comments2 = indent2 !== void 0 && indentText !== void 0 ? parseTrailingTagComments(start2, getNodePos(), indent2, indentText) : void 0; - return finishNode(factory2.createJSDocSeeTag(tagName, nameExpression, comments2), start2); - } - function parseThrowsTag(start2, tagName, indent2, indentText) { - const typeExpression = tryParseTypeExpression(); - const comment = parseTrailingTagComments(start2, getNodePos(), indent2, indentText); - return finishNode(factory2.createJSDocThrowsTag(tagName, typeExpression, comment), start2); - } - function parseAuthorTag(start2, tagName, indent2, indentText) { - const commentStart = getNodePos(); - const textOnly = parseAuthorNameAndEmail(); - let commentEnd = scanner.getTokenFullStart(); - const comments2 = parseTrailingTagComments(start2, commentEnd, indent2, indentText); - if (!comments2) { - commentEnd = scanner.getTokenFullStart(); - } - const allParts = typeof comments2 !== "string" ? createNodeArray(concatenate([finishNode(textOnly, commentStart, commentEnd)], comments2), commentStart) : textOnly.text + comments2; - return finishNode(factory2.createJSDocAuthorTag(tagName, allParts), start2); - } - function parseAuthorNameAndEmail() { - const comments2 = []; - let inEmail = false; - let token2 = scanner.getToken(); - while (token2 !== 1 /* EndOfFileToken */ && token2 !== 4 /* NewLineTrivia */) { - if (token2 === 30 /* LessThanToken */) { - inEmail = true; - } else if (token2 === 60 /* AtToken */ && !inEmail) { - break; - } else if (token2 === 32 /* GreaterThanToken */ && inEmail) { - comments2.push(scanner.getTokenText()); - scanner.resetTokenState(scanner.getTokenEnd()); - break; - } - comments2.push(scanner.getTokenText()); - token2 = nextTokenJSDoc(); - } - return factory2.createJSDocText(comments2.join("")); - } - function parseImplementsTag(start2, tagName, margin, indentText) { - const className = parseExpressionWithTypeArgumentsForAugments(); - return finishNode(factory2.createJSDocImplementsTag(tagName, className, parseTrailingTagComments(start2, getNodePos(), margin, indentText)), start2); - } - function parseAugmentsTag(start2, tagName, margin, indentText) { - const className = parseExpressionWithTypeArgumentsForAugments(); - return finishNode(factory2.createJSDocAugmentsTag(tagName, className, parseTrailingTagComments(start2, getNodePos(), margin, indentText)), start2); - } - function parseSatisfiesTag(start2, tagName, margin, indentText) { - const typeExpression = parseJSDocTypeExpression( - /*mayOmitBraces*/ - false - ); - const comments2 = margin !== void 0 && indentText !== void 0 ? parseTrailingTagComments(start2, getNodePos(), margin, indentText) : void 0; - return finishNode(factory2.createJSDocSatisfiesTag(tagName, typeExpression, comments2), start2); - } - function parseImportTag(start2, tagName, margin, indentText) { - const afterImportTagPos = scanner.getTokenFullStart(); - let identifier; - if (isIdentifier2()) { - identifier = parseIdentifier(); - } - const importClause = tryParseImportClause( - identifier, - afterImportTagPos, - /*isTypeOnly*/ - true, - /*skipJsDocLeadingAsterisks*/ - true - ); - const moduleSpecifier = parseModuleSpecifier(); - const attributes = tryParseImportAttributes(); - const comments2 = margin !== void 0 && indentText !== void 0 ? parseTrailingTagComments(start2, getNodePos(), margin, indentText) : void 0; - return finishNode(factory2.createJSDocImportTag(tagName, importClause, moduleSpecifier, attributes, comments2), start2); - } - function parseExpressionWithTypeArgumentsForAugments() { - const usedBrace = parseOptional(19 /* OpenBraceToken */); - const pos = getNodePos(); - const expression = parsePropertyAccessEntityNameExpression(); - scanner.setSkipJsDocLeadingAsterisks(true); - const typeArguments = tryParseTypeArguments(); - scanner.setSkipJsDocLeadingAsterisks(false); - const node = factory2.createExpressionWithTypeArguments(expression, typeArguments); - const res = finishNode(node, pos); - if (usedBrace) { - parseExpected(20 /* CloseBraceToken */); - } - return res; - } - function parsePropertyAccessEntityNameExpression() { - const pos = getNodePos(); - let node = parseJSDocIdentifierName(); - while (parseOptional(25 /* DotToken */)) { - const name = parseJSDocIdentifierName(); - node = finishNode(factoryCreatePropertyAccessExpression(node, name), pos); - } - return node; - } - function parseSimpleTag(start2, createTag, tagName, margin, indentText) { - return finishNode(createTag(tagName, parseTrailingTagComments(start2, getNodePos(), margin, indentText)), start2); - } - function parseThisTag(start2, tagName, margin, indentText) { - const typeExpression = parseJSDocTypeExpression( - /*mayOmitBraces*/ - true - ); - skipWhitespace(); - return finishNode(factory2.createJSDocThisTag(tagName, typeExpression, parseTrailingTagComments(start2, getNodePos(), margin, indentText)), start2); - } - function parseEnumTag(start2, tagName, margin, indentText) { - const typeExpression = parseJSDocTypeExpression( - /*mayOmitBraces*/ - true - ); - skipWhitespace(); - return finishNode(factory2.createJSDocEnumTag(tagName, typeExpression, parseTrailingTagComments(start2, getNodePos(), margin, indentText)), start2); - } - function parseTypedefTag(start2, tagName, indent2, indentText) { - let typeExpression = tryParseTypeExpression(); - skipWhitespaceOrAsterisk(); - const fullName = parseJSDocTypeNameWithNamespace(); - skipWhitespace(); - let comment = parseTagComments(indent2); - let end2; - if (!typeExpression || isObjectOrObjectArrayTypeReference(typeExpression.type)) { - let child; - let childTypeTag; - let jsDocPropertyTags; - let hasChildren = false; - while (child = tryParse(() => parseChildPropertyTag(indent2))) { - if (child.kind === 345 /* JSDocTemplateTag */) { - break; - } - hasChildren = true; - if (child.kind === 344 /* JSDocTypeTag */) { - if (childTypeTag) { - const lastError = parseErrorAtCurrentToken(Diagnostics.A_JSDoc_typedef_comment_may_not_contain_multiple_type_tags); - if (lastError) { - addRelatedInfo(lastError, createDetachedDiagnostic(fileName, sourceText, 0, 0, Diagnostics.The_tag_was_first_specified_here)); - } - break; - } else { - childTypeTag = child; - } - } else { - jsDocPropertyTags = append(jsDocPropertyTags, child); - } - } - if (hasChildren) { - const isArrayType = typeExpression && typeExpression.type.kind === 188 /* ArrayType */; - const jsdocTypeLiteral = factory2.createJSDocTypeLiteral(jsDocPropertyTags, isArrayType); - typeExpression = childTypeTag && childTypeTag.typeExpression && !isObjectOrObjectArrayTypeReference(childTypeTag.typeExpression.type) ? childTypeTag.typeExpression : finishNode(jsdocTypeLiteral, start2); - end2 = typeExpression.end; - } - } - end2 = end2 || comment !== void 0 ? getNodePos() : (fullName ?? typeExpression ?? tagName).end; - if (!comment) { - comment = parseTrailingTagComments(start2, end2, indent2, indentText); - } - const typedefTag = factory2.createJSDocTypedefTag(tagName, typeExpression, fullName, comment); - return finishNode(typedefTag, start2, end2); - } - function parseJSDocTypeNameWithNamespace(nested) { - const start2 = scanner.getTokenStart(); - if (!tokenIsIdentifierOrKeyword(token())) { - return void 0; - } - const typeNameOrNamespaceName = parseJSDocIdentifierName(); - if (parseOptional(25 /* DotToken */)) { - const body = parseJSDocTypeNameWithNamespace( - /*nested*/ - true - ); - const jsDocNamespaceNode = factory2.createModuleDeclaration( - /*modifiers*/ - void 0, - typeNameOrNamespaceName, - body, - nested ? 8 /* NestedNamespace */ : void 0 - ); - return finishNode(jsDocNamespaceNode, start2); - } - if (nested) { - typeNameOrNamespaceName.flags |= 4096 /* IdentifierIsInJSDocNamespace */; - } - return typeNameOrNamespaceName; - } - function parseCallbackTagParameters(indent2) { - const pos = getNodePos(); - let child; - let parameters; - while (child = tryParse(() => parseChildParameterOrPropertyTag(4 /* CallbackParameter */, indent2))) { - if (child.kind === 345 /* JSDocTemplateTag */) { - parseErrorAtRange(child.tagName, Diagnostics.A_JSDoc_template_tag_may_not_follow_a_typedef_callback_or_overload_tag); - break; - } - parameters = append(parameters, child); - } - return createNodeArray(parameters || [], pos); - } - function parseJSDocSignature(start2, indent2) { - const parameters = parseCallbackTagParameters(indent2); - const returnTag = tryParse(() => { - if (parseOptionalJsdoc(60 /* AtToken */)) { - const tag = parseTag(indent2); - if (tag && tag.kind === 342 /* JSDocReturnTag */) { - return tag; - } - } - }); - return finishNode(factory2.createJSDocSignature( - /*typeParameters*/ - void 0, - parameters, - returnTag - ), start2); - } - function parseCallbackTag(start2, tagName, indent2, indentText) { - const fullName = parseJSDocTypeNameWithNamespace(); - skipWhitespace(); - let comment = parseTagComments(indent2); - const typeExpression = parseJSDocSignature(start2, indent2); - if (!comment) { - comment = parseTrailingTagComments(start2, getNodePos(), indent2, indentText); - } - const end2 = comment !== void 0 ? getNodePos() : typeExpression.end; - return finishNode(factory2.createJSDocCallbackTag(tagName, typeExpression, fullName, comment), start2, end2); - } - function parseOverloadTag(start2, tagName, indent2, indentText) { - skipWhitespace(); - let comment = parseTagComments(indent2); - const typeExpression = parseJSDocSignature(start2, indent2); - if (!comment) { - comment = parseTrailingTagComments(start2, getNodePos(), indent2, indentText); - } - const end2 = comment !== void 0 ? getNodePos() : typeExpression.end; - return finishNode(factory2.createJSDocOverloadTag(tagName, typeExpression, comment), start2, end2); - } - function escapedTextsEqual(a, b) { - while (!isIdentifier(a) || !isIdentifier(b)) { - if (!isIdentifier(a) && !isIdentifier(b) && a.right.escapedText === b.right.escapedText) { - a = a.left; - b = b.left; - } else { - return false; - } - } - return a.escapedText === b.escapedText; - } - function parseChildPropertyTag(indent2) { - return parseChildParameterOrPropertyTag(1 /* Property */, indent2); - } - function parseChildParameterOrPropertyTag(target, indent2, name) { - let canParseTag = true; - let seenAsterisk = false; - while (true) { - switch (nextTokenJSDoc()) { - case 60 /* AtToken */: - if (canParseTag) { - const child = tryParseChildTag(target, indent2); - if (child && (child.kind === 341 /* JSDocParameterTag */ || child.kind === 348 /* JSDocPropertyTag */) && name && (isIdentifier(child.name) || !escapedTextsEqual(name, child.name.left))) { - return false; - } - return child; - } - seenAsterisk = false; - break; - case 4 /* NewLineTrivia */: - canParseTag = true; - seenAsterisk = false; - break; - case 42 /* AsteriskToken */: - if (seenAsterisk) { - canParseTag = false; - } - seenAsterisk = true; - break; - case 80 /* Identifier */: - canParseTag = false; - break; - case 1 /* EndOfFileToken */: - return false; - } - } - } - function tryParseChildTag(target, indent2) { - Debug.assert(token() === 60 /* AtToken */); - const start2 = scanner.getTokenFullStart(); - nextTokenJSDoc(); - const tagName = parseJSDocIdentifierName(); - const indentText = skipWhitespaceOrAsterisk(); - let t; - switch (tagName.escapedText) { - case "type": - return target === 1 /* Property */ && parseTypeTag(start2, tagName); - case "prop": - case "property": - t = 1 /* Property */; - break; - case "arg": - case "argument": - case "param": - t = 2 /* Parameter */ | 4 /* CallbackParameter */; - break; - case "template": - return parseTemplateTag(start2, tagName, indent2, indentText); - case "this": - return parseThisTag(start2, tagName, indent2, indentText); - default: - return false; - } - if (!(target & t)) { - return false; - } - return parseParameterOrPropertyTag(start2, tagName, target, indent2); - } - function parseTemplateTagTypeParameter() { - const typeParameterPos = getNodePos(); - const isBracketed = parseOptionalJsdoc(23 /* OpenBracketToken */); - if (isBracketed) { - skipWhitespace(); - } - const modifiers = parseModifiers( - /*allowDecorators*/ - false, - /*permitConstAsModifier*/ - true - ); - const name = parseJSDocIdentifierName(Diagnostics.Unexpected_token_A_type_parameter_name_was_expected_without_curly_braces); - let defaultType; - if (isBracketed) { - skipWhitespace(); - parseExpected(64 /* EqualsToken */); - defaultType = doInsideOfContext(16777216 /* JSDoc */, parseJSDocType); - parseExpected(24 /* CloseBracketToken */); - } - if (nodeIsMissing(name)) { - return void 0; - } - return finishNode(factory2.createTypeParameterDeclaration( - modifiers, - name, - /*constraint*/ - void 0, - defaultType - ), typeParameterPos); - } - function parseTemplateTagTypeParameters() { - const pos = getNodePos(); - const typeParameters = []; - do { - skipWhitespace(); - const node = parseTemplateTagTypeParameter(); - if (node !== void 0) { - typeParameters.push(node); - } - skipWhitespaceOrAsterisk(); - } while (parseOptionalJsdoc(28 /* CommaToken */)); - return createNodeArray(typeParameters, pos); - } - function parseTemplateTag(start2, tagName, indent2, indentText) { - const constraint = token() === 19 /* OpenBraceToken */ ? parseJSDocTypeExpression() : void 0; - const typeParameters = parseTemplateTagTypeParameters(); - return finishNode(factory2.createJSDocTemplateTag(tagName, constraint, typeParameters, parseTrailingTagComments(start2, getNodePos(), indent2, indentText)), start2); - } - function parseOptionalJsdoc(t) { - if (token() === t) { - nextTokenJSDoc(); - return true; - } - return false; - } - function parseJSDocEntityName() { - let entity = parseJSDocIdentifierName(); - if (parseOptional(23 /* OpenBracketToken */)) { - parseExpected(24 /* CloseBracketToken */); - } - while (parseOptional(25 /* DotToken */)) { - const name = parseJSDocIdentifierName(); - if (parseOptional(23 /* OpenBracketToken */)) { - parseExpected(24 /* CloseBracketToken */); - } - entity = createQualifiedName(entity, name); - } - return entity; - } - function parseJSDocIdentifierName(message) { - if (!tokenIsIdentifierOrKeyword(token())) { - return createMissingNode( - 80 /* Identifier */, - /*reportAtCurrentPosition*/ - !message, - message || Diagnostics.Identifier_expected - ); - } - identifierCount++; - const start2 = scanner.getTokenStart(); - const end2 = scanner.getTokenEnd(); - const originalKeywordKind = token(); - const text = internIdentifier(scanner.getTokenValue()); - const result2 = finishNode(factoryCreateIdentifier(text, originalKeywordKind), start2, end2); - nextTokenJSDoc(); - return result2; - } - } - })(JSDocParser = Parser2.JSDocParser || (Parser2.JSDocParser = {})); -})(Parser || (Parser = {})); -var incrementallyParsedFiles = /* @__PURE__ */ new WeakSet(); -function markAsIncrementallyParsed(sourceFile) { - if (incrementallyParsedFiles.has(sourceFile)) { - Debug.fail("Source file has already been incrementally parsed"); - } - incrementallyParsedFiles.add(sourceFile); -} -var intersectingChangeSet = /* @__PURE__ */ new WeakSet(); -function intersectsIncrementalChange(node) { - return intersectingChangeSet.has(node); -} -function markAsIntersectingIncrementalChange(node) { - intersectingChangeSet.add(node); -} -var IncrementalParser; -((IncrementalParser2) => { - function updateSourceFile(sourceFile, newText, textChangeRange, aggressiveChecks) { - aggressiveChecks = aggressiveChecks || Debug.shouldAssert(2 /* Aggressive */); - checkChangeRange(sourceFile, newText, textChangeRange, aggressiveChecks); - if (textChangeRangeIsUnchanged(textChangeRange)) { - return sourceFile; - } - if (sourceFile.statements.length === 0) { - return Parser.parseSourceFile( - sourceFile.fileName, - newText, - sourceFile.languageVersion, - /*syntaxCursor*/ - void 0, - /*setParentNodes*/ - true, - sourceFile.scriptKind, - sourceFile.setExternalModuleIndicator, - sourceFile.jsDocParsingMode - ); - } - markAsIncrementallyParsed(sourceFile); - Parser.fixupParentReferences(sourceFile); - const oldText = sourceFile.text; - const syntaxCursor = createSyntaxCursor(sourceFile); - const changeRange = extendToAffectedRange(sourceFile, textChangeRange); - checkChangeRange(sourceFile, newText, changeRange, aggressiveChecks); - Debug.assert(changeRange.span.start <= textChangeRange.span.start); - Debug.assert(textSpanEnd(changeRange.span) === textSpanEnd(textChangeRange.span)); - Debug.assert(textSpanEnd(textChangeRangeNewSpan(changeRange)) === textSpanEnd(textChangeRangeNewSpan(textChangeRange))); - const delta = textChangeRangeNewSpan(changeRange).length - changeRange.span.length; - updateTokenPositionsAndMarkElements(sourceFile, changeRange.span.start, textSpanEnd(changeRange.span), textSpanEnd(textChangeRangeNewSpan(changeRange)), delta, oldText, newText, aggressiveChecks); - const result = Parser.parseSourceFile( - sourceFile.fileName, - newText, - sourceFile.languageVersion, - syntaxCursor, - /*setParentNodes*/ - true, - sourceFile.scriptKind, - sourceFile.setExternalModuleIndicator, - sourceFile.jsDocParsingMode - ); - result.commentDirectives = getNewCommentDirectives( - sourceFile.commentDirectives, - result.commentDirectives, - changeRange.span.start, - textSpanEnd(changeRange.span), - delta, - oldText, - newText, - aggressiveChecks - ); - result.impliedNodeFormat = sourceFile.impliedNodeFormat; - transferSourceFileChildren(sourceFile, result); - return result; - } - IncrementalParser2.updateSourceFile = updateSourceFile; - function getNewCommentDirectives(oldDirectives, newDirectives, changeStart, changeRangeOldEnd, delta, oldText, newText, aggressiveChecks) { - if (!oldDirectives) return newDirectives; - let commentDirectives; - let addedNewlyScannedDirectives = false; - for (const directive of oldDirectives) { - const { range, type } = directive; - if (range.end < changeStart) { - commentDirectives = append(commentDirectives, directive); - } else if (range.pos > changeRangeOldEnd) { - addNewlyScannedDirectives(); - const updatedDirective = { - range: { pos: range.pos + delta, end: range.end + delta }, - type - }; - commentDirectives = append(commentDirectives, updatedDirective); - if (aggressiveChecks) { - Debug.assert(oldText.substring(range.pos, range.end) === newText.substring(updatedDirective.range.pos, updatedDirective.range.end)); - } - } - } - addNewlyScannedDirectives(); - return commentDirectives; - function addNewlyScannedDirectives() { - if (addedNewlyScannedDirectives) return; - addedNewlyScannedDirectives = true; - if (!commentDirectives) { - commentDirectives = newDirectives; - } else if (newDirectives) { - commentDirectives.push(...newDirectives); - } - } - } - function moveElementEntirelyPastChangeRange(element, origSourceFile, isArray2, delta, oldText, newText, aggressiveChecks) { - if (isArray2) { - visitArray2(element); - } else { - visitNode3(element); - } - return; - function visitNode3(node) { - let text = ""; - if (aggressiveChecks && shouldCheckNode(node)) { - text = oldText.substring(node.pos, node.end); - } - unsetNodeChildren(node, origSourceFile); - setTextRangePosEnd(node, node.pos + delta, node.end + delta); - if (aggressiveChecks && shouldCheckNode(node)) { - Debug.assert(text === newText.substring(node.pos, node.end)); - } - forEachChild(node, visitNode3, visitArray2); - if (hasJSDocNodes(node)) { - for (const jsDocComment of node.jsDoc) { - visitNode3(jsDocComment); - } - } - checkNodePositions(node, aggressiveChecks); - } - function visitArray2(array) { - setTextRangePosEnd(array, array.pos + delta, array.end + delta); - for (const node of array) { - visitNode3(node); - } - } - } - function shouldCheckNode(node) { - switch (node.kind) { - case 11 /* StringLiteral */: - case 9 /* NumericLiteral */: - case 80 /* Identifier */: - return true; - } - return false; - } - function adjustIntersectingElement(element, changeStart, changeRangeOldEnd, changeRangeNewEnd, delta) { - Debug.assert(element.end >= changeStart, "Adjusting an element that was entirely before the change range"); - Debug.assert(element.pos <= changeRangeOldEnd, "Adjusting an element that was entirely after the change range"); - Debug.assert(element.pos <= element.end); - const pos = Math.min(element.pos, changeRangeNewEnd); - const end = element.end >= changeRangeOldEnd ? ( - // Element ends after the change range. Always adjust the end pos. - element.end + delta - ) : ( - // Element ends in the change range. The element will keep its position if - // possible. Or Move backward to the new-end if it's in the 'Y' range. - Math.min(element.end, changeRangeNewEnd) - ); - Debug.assert(pos <= end); - if (element.parent) { - const parent = element.parent; - Debug.assertGreaterThanOrEqual(pos, parent.pos); - Debug.assertLessThanOrEqual(end, parent.end); - } - setTextRangePosEnd(element, pos, end); - } - function checkNodePositions(node, aggressiveChecks) { - if (aggressiveChecks) { - let pos = node.pos; - const visitNode3 = (child) => { - Debug.assert(child.pos >= pos); - pos = child.end; - }; - if (hasJSDocNodes(node)) { - for (const jsDocComment of node.jsDoc) { - visitNode3(jsDocComment); - } - } - forEachChild(node, visitNode3); - Debug.assert(pos <= node.end); - } - } - function updateTokenPositionsAndMarkElements(sourceFile, changeStart, changeRangeOldEnd, changeRangeNewEnd, delta, oldText, newText, aggressiveChecks) { - visitNode3(sourceFile); - return; - function visitNode3(child) { - Debug.assert(child.pos <= child.end); - if (child.pos > changeRangeOldEnd) { - moveElementEntirelyPastChangeRange( - child, - sourceFile, - /*isArray*/ - false, - delta, - oldText, - newText, - aggressiveChecks - ); - return; - } - const fullEnd = child.end; - if (fullEnd >= changeStart) { - markAsIntersectingIncrementalChange(child); - unsetNodeChildren(child, sourceFile); - adjustIntersectingElement(child, changeStart, changeRangeOldEnd, changeRangeNewEnd, delta); - forEachChild(child, visitNode3, visitArray2); - if (hasJSDocNodes(child)) { - for (const jsDocComment of child.jsDoc) { - visitNode3(jsDocComment); - } - } - checkNodePositions(child, aggressiveChecks); - return; - } - Debug.assert(fullEnd < changeStart); - } - function visitArray2(array) { - Debug.assert(array.pos <= array.end); - if (array.pos > changeRangeOldEnd) { - moveElementEntirelyPastChangeRange( - array, - sourceFile, - /*isArray*/ - true, - delta, - oldText, - newText, - aggressiveChecks - ); - return; - } - const fullEnd = array.end; - if (fullEnd >= changeStart) { - markAsIntersectingIncrementalChange(array); - adjustIntersectingElement(array, changeStart, changeRangeOldEnd, changeRangeNewEnd, delta); - for (const node of array) { - visitNode3(node); - } - return; - } - Debug.assert(fullEnd < changeStart); - } - } - function extendToAffectedRange(sourceFile, changeRange) { - const maxLookahead = 1; - let start = changeRange.span.start; - for (let i = 0; start > 0 && i <= maxLookahead; i++) { - const nearestNode = findNearestNodeStartingBeforeOrAtPosition(sourceFile, start); - Debug.assert(nearestNode.pos <= start); - const position = nearestNode.pos; - start = Math.max(0, position - 1); - } - const finalSpan = createTextSpanFromBounds(start, textSpanEnd(changeRange.span)); - const finalLength = changeRange.newLength + (changeRange.span.start - start); - return createTextChangeRange(finalSpan, finalLength); - } - function findNearestNodeStartingBeforeOrAtPosition(sourceFile, position) { - let bestResult = sourceFile; - let lastNodeEntirelyBeforePosition; - forEachChild(sourceFile, visit); - if (lastNodeEntirelyBeforePosition) { - const lastChildOfLastEntireNodeBeforePosition = getLastDescendant(lastNodeEntirelyBeforePosition); - if (lastChildOfLastEntireNodeBeforePosition.pos > bestResult.pos) { - bestResult = lastChildOfLastEntireNodeBeforePosition; - } - } - return bestResult; - function getLastDescendant(node) { - while (true) { - const lastChild = getLastChild(node); - if (lastChild) { - node = lastChild; - } else { - return node; - } - } - } - function visit(child) { - if (nodeIsMissing(child)) { - return; - } - if (child.pos <= position) { - if (child.pos >= bestResult.pos) { - bestResult = child; - } - if (position < child.end) { - forEachChild(child, visit); - return true; - } else { - Debug.assert(child.end <= position); - lastNodeEntirelyBeforePosition = child; - } - } else { - Debug.assert(child.pos > position); - return true; - } - } - } - function checkChangeRange(sourceFile, newText, textChangeRange, aggressiveChecks) { - const oldText = sourceFile.text; - if (textChangeRange) { - Debug.assert(oldText.length - textChangeRange.span.length + textChangeRange.newLength === newText.length); - if (aggressiveChecks || Debug.shouldAssert(3 /* VeryAggressive */)) { - const oldTextPrefix = oldText.substr(0, textChangeRange.span.start); - const newTextPrefix = newText.substr(0, textChangeRange.span.start); - Debug.assert(oldTextPrefix === newTextPrefix); - const oldTextSuffix = oldText.substring(textSpanEnd(textChangeRange.span), oldText.length); - const newTextSuffix = newText.substring(textSpanEnd(textChangeRangeNewSpan(textChangeRange)), newText.length); - Debug.assert(oldTextSuffix === newTextSuffix); - } - } - } - function createSyntaxCursor(sourceFile) { - let currentArray = sourceFile.statements; - let currentArrayIndex = 0; - Debug.assert(currentArrayIndex < currentArray.length); - let current = currentArray[currentArrayIndex]; - let lastQueriedPosition = -1 /* Value */; - return { - currentNode(position) { - if (position !== lastQueriedPosition) { - if (current && current.end === position && currentArrayIndex < currentArray.length - 1) { - currentArrayIndex++; - current = currentArray[currentArrayIndex]; - } - if (!current || current.pos !== position) { - findHighestListElementThatStartsAtPosition(position); - } - } - lastQueriedPosition = position; - Debug.assert(!current || current.pos === position); - return current; - } - }; - function findHighestListElementThatStartsAtPosition(position) { - currentArray = void 0; - currentArrayIndex = -1 /* Value */; - current = void 0; - forEachChild(sourceFile, visitNode3, visitArray2); - return; - function visitNode3(node) { - if (position >= node.pos && position < node.end) { - forEachChild(node, visitNode3, visitArray2); - return true; - } - return false; - } - function visitArray2(array) { - if (position >= array.pos && position < array.end) { - for (let i = 0; i < array.length; i++) { - const child = array[i]; - if (child) { - if (child.pos === position) { - currentArray = array; - currentArrayIndex = i; - current = child; - return true; - } else { - if (child.pos < position && position < child.end) { - forEachChild(child, visitNode3, visitArray2); - return true; - } - } - } - } - } - return false; - } - } - } - IncrementalParser2.createSyntaxCursor = createSyntaxCursor; - let InvalidPosition; - ((InvalidPosition2) => { - InvalidPosition2[InvalidPosition2["Value"] = -1] = "Value"; - })(InvalidPosition || (InvalidPosition = {})); -})(IncrementalParser || (IncrementalParser = {})); -function isDeclarationFileName(fileName) { - return getDeclarationFileExtension(fileName) !== void 0; -} -function getDeclarationFileExtension(fileName) { - const standardExtension = getAnyExtensionFromPath( - fileName, - supportedDeclarationExtensions, - /*ignoreCase*/ - false - ); - if (standardExtension) { - return standardExtension; - } - if (fileExtensionIs(fileName, ".ts" /* Ts */)) { - const index = getBaseFileName(fileName).lastIndexOf(".d."); - if (index >= 0) { - return fileName.substring(index); - } - } - return void 0; -} -function parseResolutionMode(mode, pos, end, reportDiagnostic) { - if (!mode) { - return void 0; - } - if (mode === "import") { - return 99 /* ESNext */; - } - if (mode === "require") { - return 1 /* CommonJS */; - } - reportDiagnostic(pos, end - pos, Diagnostics.resolution_mode_should_be_either_require_or_import); - return void 0; -} -function processCommentPragmas(context, sourceText) { - const pragmas = []; - for (const range of getLeadingCommentRanges(sourceText, 0) || emptyArray) { - const comment = sourceText.substring(range.pos, range.end); - extractPragmas(pragmas, range, comment); - } - context.pragmas = /* @__PURE__ */ new Map(); - for (const pragma of pragmas) { - if (context.pragmas.has(pragma.name)) { - const currentValue = context.pragmas.get(pragma.name); - if (currentValue instanceof Array) { - currentValue.push(pragma.args); - } else { - context.pragmas.set(pragma.name, [currentValue, pragma.args]); - } - continue; - } - context.pragmas.set(pragma.name, pragma.args); - } -} -function processPragmasIntoFields(context, reportDiagnostic) { - context.checkJsDirective = void 0; - context.referencedFiles = []; - context.typeReferenceDirectives = []; - context.libReferenceDirectives = []; - context.amdDependencies = []; - context.hasNoDefaultLib = false; - context.pragmas.forEach((entryOrList, key) => { - switch (key) { - case "reference": { - const referencedFiles = context.referencedFiles; - const typeReferenceDirectives = context.typeReferenceDirectives; - const libReferenceDirectives = context.libReferenceDirectives; - forEach(toArray(entryOrList), (arg) => { - const { types, lib, path, ["resolution-mode"]: res, preserve: _preserve } = arg.arguments; - const preserve = _preserve === "true" ? true : void 0; - if (arg.arguments["no-default-lib"] === "true") { - context.hasNoDefaultLib = true; - } else if (types) { - const parsed = parseResolutionMode(res, types.pos, types.end, reportDiagnostic); - typeReferenceDirectives.push({ pos: types.pos, end: types.end, fileName: types.value, ...parsed ? { resolutionMode: parsed } : {}, ...preserve ? { preserve } : {} }); - } else if (lib) { - libReferenceDirectives.push({ pos: lib.pos, end: lib.end, fileName: lib.value, ...preserve ? { preserve } : {} }); - } else if (path) { - referencedFiles.push({ pos: path.pos, end: path.end, fileName: path.value, ...preserve ? { preserve } : {} }); - } else { - reportDiagnostic(arg.range.pos, arg.range.end - arg.range.pos, Diagnostics.Invalid_reference_directive_syntax); - } - }); - break; - } - case "amd-dependency": { - context.amdDependencies = map( - toArray(entryOrList), - (x) => ({ name: x.arguments.name, path: x.arguments.path }) - ); - break; - } - case "amd-module": { - if (entryOrList instanceof Array) { - for (const entry of entryOrList) { - if (context.moduleName) { - reportDiagnostic(entry.range.pos, entry.range.end - entry.range.pos, Diagnostics.An_AMD_module_cannot_have_multiple_name_assignments); - } - context.moduleName = entry.arguments.name; - } - } else { - context.moduleName = entryOrList.arguments.name; - } - break; - } - case "ts-nocheck": - case "ts-check": { - forEach(toArray(entryOrList), (entry) => { - if (!context.checkJsDirective || entry.range.pos > context.checkJsDirective.pos) { - context.checkJsDirective = { - enabled: key === "ts-check", - end: entry.range.end, - pos: entry.range.pos - }; - } - }); - break; - } - case "jsx": - case "jsxfrag": - case "jsximportsource": - case "jsxruntime": - return; - default: - Debug.fail("Unhandled pragma kind"); - } - }); -} -var namedArgRegExCache = /* @__PURE__ */ new Map(); -function getNamedArgRegEx(name) { - if (namedArgRegExCache.has(name)) { - return namedArgRegExCache.get(name); - } - const result = new RegExp(`(\\s${name}\\s*=\\s*)(?:(?:'([^']*)')|(?:"([^"]*)"))`, "im"); - namedArgRegExCache.set(name, result); - return result; -} -var tripleSlashXMLCommentStartRegEx = /^\/\/\/\s*<(\S+)\s.*?\/>/m; -var singleLinePragmaRegEx = /^\/\/\/?\s*@([^\s:]+)((?:[^\S\r\n]|:).*)?$/m; -function extractPragmas(pragmas, range, text) { - const tripleSlash = range.kind === 2 /* SingleLineCommentTrivia */ && tripleSlashXMLCommentStartRegEx.exec(text); - if (tripleSlash) { - const name = tripleSlash[1].toLowerCase(); - const pragma = commentPragmas[name]; - if (!pragma || !(pragma.kind & 1 /* TripleSlashXML */)) { - return; - } - if (pragma.args) { - const argument = {}; - for (const arg of pragma.args) { - const matcher = getNamedArgRegEx(arg.name); - const matchResult = matcher.exec(text); - if (!matchResult && !arg.optional) { - return; - } else if (matchResult) { - const value = matchResult[2] || matchResult[3]; - if (arg.captureSpan) { - const startPos = range.pos + matchResult.index + matchResult[1].length + 1; - argument[arg.name] = { - value, - pos: startPos, - end: startPos + value.length - }; - } else { - argument[arg.name] = value; - } - } - } - pragmas.push({ name, args: { arguments: argument, range } }); - } else { - pragmas.push({ name, args: { arguments: {}, range } }); - } - return; - } - const singleLine = range.kind === 2 /* SingleLineCommentTrivia */ && singleLinePragmaRegEx.exec(text); - if (singleLine) { - return addPragmaForMatch(pragmas, range, 2 /* SingleLine */, singleLine); - } - if (range.kind === 3 /* MultiLineCommentTrivia */) { - const multiLinePragmaRegEx = /@(\S+)(\s+(?:\S.*)?)?$/gm; - let multiLineMatch; - while (multiLineMatch = multiLinePragmaRegEx.exec(text)) { - addPragmaForMatch(pragmas, range, 4 /* MultiLine */, multiLineMatch); - } - } -} -function addPragmaForMatch(pragmas, range, kind, match) { - if (!match) return; - const name = match[1].toLowerCase(); - const pragma = commentPragmas[name]; - if (!pragma || !(pragma.kind & kind)) { - return; - } - const args = match[2]; - const argument = getNamedPragmaArguments(pragma, args); - if (argument === "fail") return; - pragmas.push({ name, args: { arguments: argument, range } }); - return; -} -function getNamedPragmaArguments(pragma, text) { - if (!text) return {}; - if (!pragma.args) return {}; - const args = text.trim().split(/\s+/); - const argMap = {}; - for (let i = 0; i < pragma.args.length; i++) { - const argument = pragma.args[i]; - if (!args[i] && !argument.optional) { - return "fail"; - } - if (argument.captureSpan) { - return Debug.fail("Capture spans not yet implemented for non-xml pragmas"); - } - argMap[argument.name] = args[i]; - } - return argMap; -} -function tagNamesAreEquivalent(lhs, rhs) { - if (lhs.kind !== rhs.kind) { - return false; - } - if (lhs.kind === 80 /* Identifier */) { - return lhs.escapedText === rhs.escapedText; - } - if (lhs.kind === 110 /* ThisKeyword */) { - return true; - } - if (lhs.kind === 295 /* JsxNamespacedName */) { - return lhs.namespace.escapedText === rhs.namespace.escapedText && lhs.name.escapedText === rhs.name.escapedText; - } - return lhs.name.escapedText === rhs.name.escapedText && tagNamesAreEquivalent(lhs.expression, rhs.expression); -} - -// src/compiler/commandLineParser.ts -var compileOnSaveCommandLineOption = { - name: "compileOnSave", - type: "boolean", - defaultValueDescription: false -}; -var jsxOptionMap = new Map(Object.entries({ - "preserve": 1 /* Preserve */, - "react-native": 3 /* ReactNative */, - "react": 2 /* React */, - "react-jsx": 4 /* ReactJSX */, - "react-jsxdev": 5 /* ReactJSXDev */ -})); -var inverseJsxOptionMap = new Map(mapIterator(jsxOptionMap.entries(), ([key, value]) => ["" + value, key])); -var libEntries = [ - // JavaScript only - ["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"], - ["es2022", "lib.es2022.d.ts"], - ["es2023", "lib.es2023.d.ts"], - ["esnext", "lib.esnext.d.ts"], - // Host only - ["dom", "lib.dom.d.ts"], - ["dom.iterable", "lib.dom.iterable.d.ts"], - ["dom.asynciterable", "lib.dom.asynciterable.d.ts"], - ["webworker", "lib.webworker.d.ts"], - ["webworker.importscripts", "lib.webworker.importscripts.d.ts"], - ["webworker.iterable", "lib.webworker.iterable.d.ts"], - ["webworker.asynciterable", "lib.webworker.asynciterable.d.ts"], - ["scripthost", "lib.scripthost.d.ts"], - // ES2015 Or ESNext By-feature options - ["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"], - ["es2016.intl", "lib.es2016.intl.d.ts"], - ["es2017.date", "lib.es2017.date.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"], - ["es2019.intl", "lib.es2019.intl.d.ts"], - ["es2020.bigint", "lib.es2020.bigint.d.ts"], - ["es2020.date", "lib.es2020.date.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"], - ["es2020.number", "lib.es2020.number.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"], - ["es2022.array", "lib.es2022.array.d.ts"], - ["es2022.error", "lib.es2022.error.d.ts"], - ["es2022.intl", "lib.es2022.intl.d.ts"], - ["es2022.object", "lib.es2022.object.d.ts"], - ["es2022.sharedmemory", "lib.es2022.sharedmemory.d.ts"], - ["es2022.string", "lib.es2022.string.d.ts"], - ["es2022.regexp", "lib.es2022.regexp.d.ts"], - ["es2023.array", "lib.es2023.array.d.ts"], - ["es2023.collection", "lib.es2023.collection.d.ts"], - ["es2023.intl", "lib.es2023.intl.d.ts"], - ["esnext.array", "lib.es2023.array.d.ts"], - ["esnext.collection", "lib.esnext.collection.d.ts"], - ["esnext.symbol", "lib.es2019.symbol.d.ts"], - ["esnext.asynciterable", "lib.es2018.asynciterable.d.ts"], - ["esnext.intl", "lib.esnext.intl.d.ts"], - ["esnext.disposable", "lib.esnext.disposable.d.ts"], - ["esnext.bigint", "lib.es2020.bigint.d.ts"], - ["esnext.string", "lib.es2022.string.d.ts"], - ["esnext.promise", "lib.esnext.promise.d.ts"], - ["esnext.weakref", "lib.es2021.weakref.d.ts"], - ["esnext.decorators", "lib.esnext.decorators.d.ts"], - ["esnext.object", "lib.esnext.object.d.ts"], - ["esnext.array", "lib.esnext.array.d.ts"], - ["esnext.regexp", "lib.esnext.regexp.d.ts"], - ["esnext.string", "lib.esnext.string.d.ts"], - ["esnext.iterator", "lib.esnext.iterator.d.ts"], - ["decorators", "lib.decorators.d.ts"], - ["decorators.legacy", "lib.decorators.legacy.d.ts"] -]; -var libs = libEntries.map((entry) => entry[0]); -var libMap = new Map(libEntries); -var optionsForWatch = [ - { - name: "watchFile", - type: new Map(Object.entries({ - fixedpollinginterval: 0 /* FixedPollingInterval */, - prioritypollinginterval: 1 /* PriorityPollingInterval */, - dynamicprioritypolling: 2 /* DynamicPriorityPolling */, - fixedchunksizepolling: 3 /* FixedChunkSizePolling */, - usefsevents: 4 /* UseFsEvents */, - usefseventsonparentdirectory: 5 /* UseFsEventsOnParentDirectory */ - })), - category: Diagnostics.Watch_and_Build_Modes, - description: Diagnostics.Specify_how_the_TypeScript_watch_mode_works, - defaultValueDescription: 4 /* UseFsEvents */ - }, - { - name: "watchDirectory", - type: new Map(Object.entries({ - usefsevents: 0 /* UseFsEvents */, - fixedpollinginterval: 1 /* FixedPollingInterval */, - dynamicprioritypolling: 2 /* DynamicPriorityPolling */, - fixedchunksizepolling: 3 /* FixedChunkSizePolling */ - })), - category: Diagnostics.Watch_and_Build_Modes, - description: Diagnostics.Specify_how_directories_are_watched_on_systems_that_lack_recursive_file_watching_functionality, - defaultValueDescription: 0 /* UseFsEvents */ - }, - { - name: "fallbackPolling", - type: new Map(Object.entries({ - fixedinterval: 0 /* FixedInterval */, - priorityinterval: 1 /* PriorityInterval */, - dynamicpriority: 2 /* DynamicPriority */, - fixedchunksize: 3 /* FixedChunkSize */ - })), - category: Diagnostics.Watch_and_Build_Modes, - description: Diagnostics.Specify_what_approach_the_watcher_should_use_if_the_system_runs_out_of_native_file_watchers, - defaultValueDescription: 1 /* PriorityInterval */ - }, - { - name: "synchronousWatchDirectory", - type: "boolean", - category: Diagnostics.Watch_and_Build_Modes, - description: 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: true, - extraValidation: specToDiagnostic - }, - allowConfigDirTemplateSubstitution: true, - category: Diagnostics.Watch_and_Build_Modes, - description: Diagnostics.Remove_a_list_of_directories_from_the_watch_process - }, - { - name: "excludeFiles", - type: "list", - element: { - name: "excludeFile", - type: "string", - isFilePath: true, - extraValidation: specToDiagnostic - }, - allowConfigDirTemplateSubstitution: true, - category: Diagnostics.Watch_and_Build_Modes, - description: Diagnostics.Remove_a_list_of_files_from_the_watch_mode_s_processing - } -]; -var commonOptionsWithBuild = [ - { - name: "help", - shortName: "h", - type: "boolean", - showInSimplifiedHelpView: true, - isCommandLineOnly: true, - category: Diagnostics.Command_line_Options, - description: Diagnostics.Print_this_message, - defaultValueDescription: false - }, - { - name: "help", - shortName: "?", - type: "boolean", - isCommandLineOnly: true, - category: Diagnostics.Command_line_Options, - defaultValueDescription: false - }, - { - name: "watch", - shortName: "w", - type: "boolean", - showInSimplifiedHelpView: true, - isCommandLineOnly: true, - category: Diagnostics.Command_line_Options, - description: Diagnostics.Watch_input_files, - defaultValueDescription: false - }, - { - name: "preserveWatchOutput", - type: "boolean", - showInSimplifiedHelpView: false, - category: Diagnostics.Output_Formatting, - description: Diagnostics.Disable_wiping_the_console_in_watch_mode, - defaultValueDescription: false - }, - { - name: "listFiles", - type: "boolean", - category: Diagnostics.Compiler_Diagnostics, - description: Diagnostics.Print_all_of_the_files_read_during_the_compilation, - defaultValueDescription: false - }, - { - name: "explainFiles", - type: "boolean", - category: Diagnostics.Compiler_Diagnostics, - description: Diagnostics.Print_files_read_during_the_compilation_including_why_it_was_included, - defaultValueDescription: false - }, - { - name: "listEmittedFiles", - type: "boolean", - category: Diagnostics.Compiler_Diagnostics, - description: Diagnostics.Print_the_names_of_emitted_files_after_a_compilation, - defaultValueDescription: false - }, - { - name: "pretty", - type: "boolean", - showInSimplifiedHelpView: true, - category: Diagnostics.Output_Formatting, - description: Diagnostics.Enable_color_and_formatting_in_TypeScript_s_output_to_make_compiler_errors_easier_to_read, - defaultValueDescription: true - }, - { - name: "traceResolution", - type: "boolean", - category: Diagnostics.Compiler_Diagnostics, - description: Diagnostics.Log_paths_used_during_the_moduleResolution_process, - defaultValueDescription: false - }, - { - name: "diagnostics", - type: "boolean", - category: Diagnostics.Compiler_Diagnostics, - description: Diagnostics.Output_compiler_performance_information_after_building, - defaultValueDescription: false - }, - { - name: "extendedDiagnostics", - type: "boolean", - category: Diagnostics.Compiler_Diagnostics, - description: Diagnostics.Output_more_detailed_compiler_performance_information_after_building, - defaultValueDescription: false - }, - { - name: "generateCpuProfile", - type: "string", - isFilePath: true, - paramType: Diagnostics.FILE_OR_DIRECTORY, - category: Diagnostics.Compiler_Diagnostics, - description: Diagnostics.Emit_a_v8_CPU_profile_of_the_compiler_run_for_debugging, - defaultValueDescription: "profile.cpuprofile" - }, - { - name: "generateTrace", - type: "string", - isFilePath: true, - paramType: Diagnostics.DIRECTORY, - category: Diagnostics.Compiler_Diagnostics, - description: Diagnostics.Generates_an_event_trace_and_a_list_of_types - }, - { - name: "incremental", - shortName: "i", - type: "boolean", - category: Diagnostics.Projects, - description: Diagnostics.Save_tsbuildinfo_files_to_allow_for_incremental_compilation_of_projects, - transpileOptionValue: void 0, - defaultValueDescription: Diagnostics.false_unless_composite_is_set - }, - { - name: "declaration", - shortName: "d", - type: "boolean", - // Not setting affectsEmit because we calculate this flag might not affect full emit - affectsBuildInfo: true, - showInSimplifiedHelpView: true, - category: Diagnostics.Emit, - transpileOptionValue: void 0, - description: Diagnostics.Generate_d_ts_files_from_TypeScript_and_JavaScript_files_in_your_project, - defaultValueDescription: Diagnostics.false_unless_composite_is_set - }, - { - name: "declarationMap", - type: "boolean", - // Not setting affectsEmit because we calculate this flag might not affect full emit - affectsBuildInfo: true, - showInSimplifiedHelpView: true, - category: Diagnostics.Emit, - defaultValueDescription: false, - description: Diagnostics.Create_sourcemaps_for_d_ts_files - }, - { - name: "emitDeclarationOnly", - type: "boolean", - // Not setting affectsEmit because we calculate this flag might not affect full emit - affectsBuildInfo: true, - showInSimplifiedHelpView: true, - category: Diagnostics.Emit, - description: Diagnostics.Only_output_d_ts_files_and_not_JavaScript_files, - transpileOptionValue: void 0, - defaultValueDescription: false - }, - { - name: "sourceMap", - type: "boolean", - // Not setting affectsEmit because we calculate this flag might not affect full emit - affectsBuildInfo: true, - showInSimplifiedHelpView: true, - category: Diagnostics.Emit, - defaultValueDescription: false, - description: Diagnostics.Create_source_map_files_for_emitted_JavaScript_files - }, - { - name: "inlineSourceMap", - type: "boolean", - // Not setting affectsEmit because we calculate this flag might not affect full emit - affectsBuildInfo: true, - category: Diagnostics.Emit, - description: Diagnostics.Include_sourcemap_files_inside_the_emitted_JavaScript, - defaultValueDescription: false - }, - { - name: "noCheck", - type: "boolean", - showInSimplifiedHelpView: false, - category: Diagnostics.Compiler_Diagnostics, - description: Diagnostics.Disable_full_type_checking_only_critical_parse_and_emit_errors_will_be_reported, - transpileOptionValue: true, - defaultValueDescription: false - // Not setting affectsSemanticDiagnostics or affectsBuildInfo because we dont want all diagnostics to go away, its handled in builder - }, - { - name: "noEmit", - type: "boolean", - showInSimplifiedHelpView: true, - category: Diagnostics.Emit, - description: Diagnostics.Disable_emitting_files_from_a_compilation, - transpileOptionValue: void 0, - defaultValueDescription: false - }, - { - name: "assumeChangesOnlyAffectDirectDependencies", - type: "boolean", - affectsSemanticDiagnostics: true, - affectsEmit: true, - affectsBuildInfo: true, - category: Diagnostics.Watch_and_Build_Modes, - description: Diagnostics.Have_recompiles_in_projects_that_use_incremental_and_watch_mode_assume_that_changes_within_a_file_will_only_affect_files_directly_depending_on_it, - defaultValueDescription: false - }, - { - name: "locale", - type: "string", - category: Diagnostics.Command_line_Options, - isCommandLineOnly: true, - description: Diagnostics.Set_the_language_of_the_messaging_from_TypeScript_This_does_not_affect_emit, - defaultValueDescription: Diagnostics.Platform_specific - } -]; -var targetOptionDeclaration = { - name: "target", - shortName: "t", - type: new Map(Object.entries({ - es3: 0 /* ES3 */, - es5: 1 /* ES5 */, - es6: 2 /* ES2015 */, - es2015: 2 /* ES2015 */, - es2016: 3 /* ES2016 */, - es2017: 4 /* ES2017 */, - es2018: 5 /* ES2018 */, - es2019: 6 /* ES2019 */, - es2020: 7 /* ES2020 */, - es2021: 8 /* ES2021 */, - es2022: 9 /* ES2022 */, - es2023: 10 /* ES2023 */, - esnext: 99 /* ESNext */ - })), - affectsSourceFile: true, - affectsModuleResolution: true, - affectsEmit: true, - affectsBuildInfo: true, - deprecatedKeys: /* @__PURE__ */ new Set(["es3"]), - paramType: Diagnostics.VERSION, - showInSimplifiedHelpView: true, - category: Diagnostics.Language_and_Environment, - description: Diagnostics.Set_the_JavaScript_language_version_for_emitted_JavaScript_and_include_compatible_library_declarations, - defaultValueDescription: 1 /* ES5 */ -}; -var moduleOptionDeclaration = { - name: "module", - shortName: "m", - type: new Map(Object.entries({ - none: 0 /* None */, - commonjs: 1 /* CommonJS */, - amd: 2 /* AMD */, - system: 4 /* System */, - umd: 3 /* UMD */, - es6: 5 /* ES2015 */, - es2015: 5 /* ES2015 */, - es2020: 6 /* ES2020 */, - es2022: 7 /* ES2022 */, - esnext: 99 /* ESNext */, - node16: 100 /* Node16 */, - nodenext: 199 /* NodeNext */, - preserve: 200 /* Preserve */ - })), - affectsSourceFile: true, - affectsModuleResolution: true, - affectsEmit: true, - affectsBuildInfo: true, - paramType: Diagnostics.KIND, - showInSimplifiedHelpView: true, - category: Diagnostics.Modules, - description: Diagnostics.Specify_what_module_code_is_generated, - defaultValueDescription: void 0 -}; -var commandOptionsWithoutBuild = [ - // CommandLine only options - { - name: "all", - type: "boolean", - showInSimplifiedHelpView: true, - category: Diagnostics.Command_line_Options, - description: Diagnostics.Show_all_compiler_options, - defaultValueDescription: false - }, - { - name: "version", - shortName: "v", - type: "boolean", - showInSimplifiedHelpView: true, - category: Diagnostics.Command_line_Options, - description: Diagnostics.Print_the_compiler_s_version, - defaultValueDescription: false - }, - { - name: "init", - type: "boolean", - showInSimplifiedHelpView: true, - category: Diagnostics.Command_line_Options, - description: Diagnostics.Initializes_a_TypeScript_project_and_creates_a_tsconfig_json_file, - defaultValueDescription: false - }, - { - name: "project", - shortName: "p", - type: "string", - isFilePath: true, - showInSimplifiedHelpView: true, - category: Diagnostics.Command_line_Options, - paramType: Diagnostics.FILE_OR_DIRECTORY, - description: 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: true, - category: Diagnostics.Command_line_Options, - description: Diagnostics.Build_one_or_more_projects_and_their_dependencies_if_out_of_date, - defaultValueDescription: false - }, - { - name: "showConfig", - type: "boolean", - showInSimplifiedHelpView: true, - category: Diagnostics.Command_line_Options, - isCommandLineOnly: true, - description: Diagnostics.Print_the_final_configuration_instead_of_building, - defaultValueDescription: false - }, - { - name: "listFilesOnly", - type: "boolean", - category: Diagnostics.Command_line_Options, - isCommandLineOnly: true, - description: Diagnostics.Print_names_of_files_that_are_part_of_the_compilation_and_then_stop_processing, - defaultValueDescription: false - }, - // Basic - targetOptionDeclaration, - moduleOptionDeclaration, - { - name: "lib", - type: "list", - element: { - name: "lib", - type: libMap, - defaultValueDescription: void 0 - }, - affectsProgramStructure: true, - showInSimplifiedHelpView: true, - category: Diagnostics.Language_and_Environment, - description: Diagnostics.Specify_a_set_of_bundled_library_declaration_files_that_describe_the_target_runtime_environment, - transpileOptionValue: void 0 - }, - { - name: "allowJs", - type: "boolean", - allowJsFlag: true, - affectsBuildInfo: true, - showInSimplifiedHelpView: true, - category: Diagnostics.JavaScript_Support, - description: 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", - affectsModuleResolution: true, - affectsSemanticDiagnostics: true, - affectsBuildInfo: true, - showInSimplifiedHelpView: true, - category: Diagnostics.JavaScript_Support, - description: Diagnostics.Enable_error_reporting_in_type_checked_JavaScript_files, - defaultValueDescription: false - }, - { - name: "jsx", - type: jsxOptionMap, - affectsSourceFile: true, - affectsEmit: true, - affectsBuildInfo: true, - affectsModuleResolution: true, - // The checker emits an error when it sees JSX but this option is not set in compilerOptions. - // This is effectively a semantic error, so mark this option as affecting semantic diagnostics - // so we know to refresh errors when this option is changed. - affectsSemanticDiagnostics: true, - paramType: Diagnostics.KIND, - showInSimplifiedHelpView: true, - category: Diagnostics.Language_and_Environment, - description: Diagnostics.Specify_what_JSX_code_is_generated, - defaultValueDescription: void 0 - }, - { - name: "outFile", - type: "string", - affectsEmit: true, - affectsBuildInfo: true, - affectsDeclarationPath: true, - isFilePath: true, - paramType: Diagnostics.FILE, - showInSimplifiedHelpView: true, - category: Diagnostics.Emit, - description: Diagnostics.Specify_a_file_that_bundles_all_outputs_into_one_JavaScript_file_If_declaration_is_true_also_designates_a_file_that_bundles_all_d_ts_output, - transpileOptionValue: void 0 - }, - { - name: "outDir", - type: "string", - affectsEmit: true, - affectsBuildInfo: true, - affectsDeclarationPath: true, - isFilePath: true, - paramType: Diagnostics.DIRECTORY, - showInSimplifiedHelpView: true, - category: Diagnostics.Emit, - description: Diagnostics.Specify_an_output_folder_for_all_emitted_files - }, - { - name: "rootDir", - type: "string", - affectsEmit: true, - affectsBuildInfo: true, - affectsDeclarationPath: true, - isFilePath: true, - paramType: Diagnostics.LOCATION, - category: Diagnostics.Modules, - description: Diagnostics.Specify_the_root_folder_within_your_source_files, - defaultValueDescription: Diagnostics.Computed_from_the_list_of_input_files - }, - { - name: "composite", - type: "boolean", - // Not setting affectsEmit because we calculate this flag might not affect full emit - affectsBuildInfo: true, - isTSConfigOnly: true, - category: Diagnostics.Projects, - transpileOptionValue: void 0, - defaultValueDescription: false, - description: Diagnostics.Enable_constraints_that_allow_a_TypeScript_project_to_be_used_with_project_references - }, - { - name: "tsBuildInfoFile", - type: "string", - affectsEmit: true, - affectsBuildInfo: true, - isFilePath: true, - paramType: Diagnostics.FILE, - category: Diagnostics.Projects, - transpileOptionValue: void 0, - defaultValueDescription: ".tsbuildinfo", - description: Diagnostics.Specify_the_path_to_tsbuildinfo_incremental_compilation_file - }, - { - name: "removeComments", - type: "boolean", - affectsEmit: true, - affectsBuildInfo: true, - showInSimplifiedHelpView: true, - category: Diagnostics.Emit, - defaultValueDescription: false, - description: Diagnostics.Disable_emitting_comments - }, - { - name: "importHelpers", - type: "boolean", - affectsEmit: true, - affectsBuildInfo: true, - affectsSourceFile: true, - category: Diagnostics.Emit, - description: Diagnostics.Allow_importing_helper_functions_from_tslib_once_per_project_instead_of_including_them_per_file, - defaultValueDescription: false - }, - { - name: "importsNotUsedAsValues", - type: new Map(Object.entries({ - remove: 0 /* Remove */, - preserve: 1 /* Preserve */, - error: 2 /* Error */ - })), - affectsEmit: true, - affectsSemanticDiagnostics: true, - affectsBuildInfo: true, - category: Diagnostics.Backwards_Compatibility, - description: Diagnostics.Specify_emit_Slashchecking_behavior_for_imports_that_are_only_used_for_types, - defaultValueDescription: 0 /* Remove */ - }, - { - name: "downlevelIteration", - type: "boolean", - affectsEmit: true, - affectsBuildInfo: true, - category: Diagnostics.Emit, - description: Diagnostics.Emit_more_compliant_but_verbose_and_less_performant_JavaScript_for_iteration, - defaultValueDescription: false - }, - { - name: "isolatedModules", - type: "boolean", - category: Diagnostics.Interop_Constraints, - description: Diagnostics.Ensure_that_each_file_can_be_safely_transpiled_without_relying_on_other_imports, - transpileOptionValue: true, - defaultValueDescription: false - }, - { - name: "verbatimModuleSyntax", - type: "boolean", - affectsEmit: true, - affectsSemanticDiagnostics: true, - affectsBuildInfo: true, - category: Diagnostics.Interop_Constraints, - description: Diagnostics.Do_not_transform_or_elide_any_imports_or_exports_not_marked_as_type_only_ensuring_they_are_written_in_the_output_file_s_format_based_on_the_module_setting, - defaultValueDescription: false - }, - { - name: "isolatedDeclarations", - type: "boolean", - category: Diagnostics.Interop_Constraints, - description: Diagnostics.Require_sufficient_annotation_on_exports_so_other_tools_can_trivially_generate_declaration_files, - defaultValueDescription: false, - affectsBuildInfo: true, - affectsSemanticDiagnostics: true - }, - // Strict Type Checks - { - name: "strict", - type: "boolean", - // Though this affects semantic diagnostics, affectsSemanticDiagnostics is not set here - // The value of each strictFlag depends on own strictFlag value or this and never accessed directly. - // But we need to store `strict` in builf info, even though it won't be examined directly, so that the - // flags it controls (e.g. `strictNullChecks`) will be retrieved correctly - affectsBuildInfo: true, - showInSimplifiedHelpView: true, - category: Diagnostics.Type_Checking, - description: Diagnostics.Enable_all_strict_type_checking_options, - defaultValueDescription: false - }, - { - name: "noImplicitAny", - type: "boolean", - affectsSemanticDiagnostics: true, - affectsBuildInfo: true, - strictFlag: true, - category: Diagnostics.Type_Checking, - description: Diagnostics.Enable_error_reporting_for_expressions_and_declarations_with_an_implied_any_type, - defaultValueDescription: Diagnostics.false_unless_strict_is_set - }, - { - name: "strictNullChecks", - type: "boolean", - affectsSemanticDiagnostics: true, - affectsBuildInfo: true, - strictFlag: true, - category: Diagnostics.Type_Checking, - description: Diagnostics.When_type_checking_take_into_account_null_and_undefined, - defaultValueDescription: Diagnostics.false_unless_strict_is_set - }, - { - name: "strictFunctionTypes", - type: "boolean", - affectsSemanticDiagnostics: true, - affectsBuildInfo: true, - strictFlag: true, - category: Diagnostics.Type_Checking, - description: Diagnostics.When_assigning_functions_check_to_ensure_parameters_and_the_return_values_are_subtype_compatible, - defaultValueDescription: Diagnostics.false_unless_strict_is_set - }, - { - name: "strictBindCallApply", - type: "boolean", - affectsSemanticDiagnostics: true, - affectsBuildInfo: true, - strictFlag: true, - category: Diagnostics.Type_Checking, - description: Diagnostics.Check_that_the_arguments_for_bind_call_and_apply_methods_match_the_original_function, - defaultValueDescription: Diagnostics.false_unless_strict_is_set - }, - { - name: "strictPropertyInitialization", - type: "boolean", - affectsSemanticDiagnostics: true, - affectsBuildInfo: true, - strictFlag: true, - category: Diagnostics.Type_Checking, - description: Diagnostics.Check_for_class_properties_that_are_declared_but_not_set_in_the_constructor, - defaultValueDescription: Diagnostics.false_unless_strict_is_set - }, - { - name: "strictBuiltinIteratorReturn", - type: "boolean", - affectsSemanticDiagnostics: true, - affectsBuildInfo: true, - strictFlag: true, - category: Diagnostics.Type_Checking, - description: Diagnostics.Built_in_iterators_are_instantiated_with_a_TReturn_type_of_undefined_instead_of_any, - defaultValueDescription: Diagnostics.false_unless_strict_is_set - }, - { - name: "noImplicitThis", - type: "boolean", - affectsSemanticDiagnostics: true, - affectsBuildInfo: true, - strictFlag: true, - category: Diagnostics.Type_Checking, - description: Diagnostics.Enable_error_reporting_when_this_is_given_the_type_any, - defaultValueDescription: Diagnostics.false_unless_strict_is_set - }, - { - name: "useUnknownInCatchVariables", - type: "boolean", - affectsSemanticDiagnostics: true, - affectsBuildInfo: true, - strictFlag: true, - category: Diagnostics.Type_Checking, - description: Diagnostics.Default_catch_clause_variables_as_unknown_instead_of_any, - defaultValueDescription: Diagnostics.false_unless_strict_is_set - }, - { - name: "alwaysStrict", - type: "boolean", - affectsSourceFile: true, - affectsEmit: true, - affectsBuildInfo: true, - strictFlag: true, - category: Diagnostics.Type_Checking, - description: Diagnostics.Ensure_use_strict_is_always_emitted, - defaultValueDescription: Diagnostics.false_unless_strict_is_set - }, - // Additional Checks - { - name: "noUnusedLocals", - type: "boolean", - affectsSemanticDiagnostics: true, - affectsBuildInfo: true, - category: Diagnostics.Type_Checking, - description: Diagnostics.Enable_error_reporting_when_local_variables_aren_t_read, - defaultValueDescription: false - }, - { - name: "noUnusedParameters", - type: "boolean", - affectsSemanticDiagnostics: true, - affectsBuildInfo: true, - category: Diagnostics.Type_Checking, - description: Diagnostics.Raise_an_error_when_a_function_parameter_isn_t_read, - defaultValueDescription: false - }, - { - name: "exactOptionalPropertyTypes", - type: "boolean", - affectsSemanticDiagnostics: true, - affectsBuildInfo: true, - category: Diagnostics.Type_Checking, - description: Diagnostics.Interpret_optional_property_types_as_written_rather_than_adding_undefined, - defaultValueDescription: false - }, - { - name: "noImplicitReturns", - type: "boolean", - affectsSemanticDiagnostics: true, - affectsBuildInfo: true, - category: Diagnostics.Type_Checking, - description: Diagnostics.Enable_error_reporting_for_codepaths_that_do_not_explicitly_return_in_a_function, - defaultValueDescription: false - }, - { - name: "noFallthroughCasesInSwitch", - type: "boolean", - affectsBindDiagnostics: true, - affectsSemanticDiagnostics: true, - affectsBuildInfo: true, - category: Diagnostics.Type_Checking, - description: Diagnostics.Enable_error_reporting_for_fallthrough_cases_in_switch_statements, - defaultValueDescription: false - }, - { - name: "noUncheckedIndexedAccess", - type: "boolean", - affectsSemanticDiagnostics: true, - affectsBuildInfo: true, - category: Diagnostics.Type_Checking, - description: Diagnostics.Add_undefined_to_a_type_when_accessed_using_an_index, - defaultValueDescription: false - }, - { - name: "noImplicitOverride", - type: "boolean", - affectsSemanticDiagnostics: true, - affectsBuildInfo: true, - category: Diagnostics.Type_Checking, - description: Diagnostics.Ensure_overriding_members_in_derived_classes_are_marked_with_an_override_modifier, - defaultValueDescription: false - }, - { - name: "noPropertyAccessFromIndexSignature", - type: "boolean", - affectsSemanticDiagnostics: true, - affectsBuildInfo: true, - showInSimplifiedHelpView: false, - category: Diagnostics.Type_Checking, - description: Diagnostics.Enforces_using_indexed_accessors_for_keys_declared_using_an_indexed_type, - defaultValueDescription: false - }, - // Module Resolution - { - name: "moduleResolution", - type: new Map(Object.entries({ - // N.B. The first entry specifies the value shown in `tsc --init` - node10: 2 /* Node10 */, - node: 2 /* Node10 */, - classic: 1 /* Classic */, - node16: 3 /* Node16 */, - nodenext: 99 /* NodeNext */, - bundler: 100 /* Bundler */ - })), - deprecatedKeys: /* @__PURE__ */ new Set(["node"]), - affectsSourceFile: true, - affectsModuleResolution: true, - paramType: Diagnostics.STRATEGY, - category: Diagnostics.Modules, - description: Diagnostics.Specify_how_TypeScript_looks_up_a_file_from_a_given_module_specifier, - defaultValueDescription: Diagnostics.module_AMD_or_UMD_or_System_or_ES6_then_Classic_Otherwise_Node - }, - { - name: "baseUrl", - type: "string", - affectsModuleResolution: true, - isFilePath: true, - category: Diagnostics.Modules, - description: Diagnostics.Specify_the_base_directory_to_resolve_non_relative_module_names - }, - { - // this option can only be specified in tsconfig.json - // use type = object to copy the value as-is - name: "paths", - type: "object", - affectsModuleResolution: true, - allowConfigDirTemplateSubstitution: true, - isTSConfigOnly: true, - category: Diagnostics.Modules, - description: Diagnostics.Specify_a_set_of_entries_that_re_map_imports_to_additional_lookup_locations, - transpileOptionValue: void 0 - }, - { - // this option can only be specified in tsconfig.json - // use type = object to copy the value as-is - name: "rootDirs", - type: "list", - isTSConfigOnly: true, - element: { - name: "rootDirs", - type: "string", - isFilePath: true - }, - affectsModuleResolution: true, - allowConfigDirTemplateSubstitution: true, - category: Diagnostics.Modules, - description: Diagnostics.Allow_multiple_folders_to_be_treated_as_one_when_resolving_modules, - transpileOptionValue: void 0, - defaultValueDescription: Diagnostics.Computed_from_the_list_of_input_files - }, - { - name: "typeRoots", - type: "list", - element: { - name: "typeRoots", - type: "string", - isFilePath: true - }, - affectsModuleResolution: true, - allowConfigDirTemplateSubstitution: true, - category: Diagnostics.Modules, - description: Diagnostics.Specify_multiple_folders_that_act_like_Slashnode_modules_Slash_types - }, - { - name: "types", - type: "list", - element: { - name: "types", - type: "string" - }, - affectsProgramStructure: true, - showInSimplifiedHelpView: true, - category: Diagnostics.Modules, - description: Diagnostics.Specify_type_package_names_to_be_included_without_being_referenced_in_a_source_file, - transpileOptionValue: void 0 - }, - { - name: "allowSyntheticDefaultImports", - type: "boolean", - affectsSemanticDiagnostics: true, - affectsBuildInfo: true, - category: Diagnostics.Interop_Constraints, - description: Diagnostics.Allow_import_x_from_y_when_a_module_doesn_t_have_a_default_export, - defaultValueDescription: Diagnostics.module_system_or_esModuleInterop - }, - { - name: "esModuleInterop", - type: "boolean", - affectsSemanticDiagnostics: true, - affectsEmit: true, - affectsBuildInfo: true, - showInSimplifiedHelpView: true, - category: Diagnostics.Interop_Constraints, - description: Diagnostics.Emit_additional_JavaScript_to_ease_support_for_importing_CommonJS_modules_This_enables_allowSyntheticDefaultImports_for_type_compatibility, - defaultValueDescription: false - }, - { - name: "preserveSymlinks", - type: "boolean", - category: Diagnostics.Interop_Constraints, - description: Diagnostics.Disable_resolving_symlinks_to_their_realpath_This_correlates_to_the_same_flag_in_node, - defaultValueDescription: false - }, - { - name: "allowUmdGlobalAccess", - type: "boolean", - affectsSemanticDiagnostics: true, - affectsBuildInfo: true, - category: Diagnostics.Modules, - description: Diagnostics.Allow_accessing_UMD_globals_from_modules, - defaultValueDescription: false - }, - { - name: "moduleSuffixes", - type: "list", - element: { - name: "suffix", - type: "string" - }, - listPreserveFalsyValues: true, - affectsModuleResolution: true, - category: Diagnostics.Modules, - description: Diagnostics.List_of_file_name_suffixes_to_search_when_resolving_a_module - }, - { - name: "allowImportingTsExtensions", - type: "boolean", - affectsSemanticDiagnostics: true, - affectsBuildInfo: true, - category: Diagnostics.Modules, - description: Diagnostics.Allow_imports_to_include_TypeScript_file_extensions_Requires_moduleResolution_bundler_and_either_noEmit_or_emitDeclarationOnly_to_be_set, - defaultValueDescription: false, - transpileOptionValue: void 0 - }, - { - name: "resolvePackageJsonExports", - type: "boolean", - affectsModuleResolution: true, - category: Diagnostics.Modules, - description: Diagnostics.Use_the_package_json_exports_field_when_resolving_package_imports, - defaultValueDescription: Diagnostics.true_when_moduleResolution_is_node16_nodenext_or_bundler_otherwise_false - }, - { - name: "resolvePackageJsonImports", - type: "boolean", - affectsModuleResolution: true, - category: Diagnostics.Modules, - description: Diagnostics.Use_the_package_json_imports_field_when_resolving_imports, - defaultValueDescription: Diagnostics.true_when_moduleResolution_is_node16_nodenext_or_bundler_otherwise_false - }, - { - name: "customConditions", - type: "list", - element: { - name: "condition", - type: "string" - }, - affectsModuleResolution: true, - category: Diagnostics.Modules, - description: Diagnostics.Conditions_to_set_in_addition_to_the_resolver_specific_defaults_when_resolving_imports - }, - { - name: "noUncheckedSideEffectImports", - type: "boolean", - affectsSemanticDiagnostics: true, - affectsBuildInfo: true, - category: Diagnostics.Modules, - description: Diagnostics.Check_side_effect_imports, - defaultValueDescription: false - }, - // Source Maps - { - name: "sourceRoot", - type: "string", - affectsEmit: true, - affectsBuildInfo: true, - paramType: Diagnostics.LOCATION, - category: Diagnostics.Emit, - description: Diagnostics.Specify_the_root_path_for_debuggers_to_find_the_reference_source_code - }, - { - name: "mapRoot", - type: "string", - affectsEmit: true, - affectsBuildInfo: true, - paramType: Diagnostics.LOCATION, - category: Diagnostics.Emit, - description: Diagnostics.Specify_the_location_where_debugger_should_locate_map_files_instead_of_generated_locations - }, - { - name: "inlineSources", - type: "boolean", - affectsEmit: true, - affectsBuildInfo: true, - category: Diagnostics.Emit, - description: Diagnostics.Include_source_code_in_the_sourcemaps_inside_the_emitted_JavaScript, - defaultValueDescription: false - }, - // Experimental - { - name: "experimentalDecorators", - type: "boolean", - affectsEmit: true, - affectsSemanticDiagnostics: true, - affectsBuildInfo: true, - category: Diagnostics.Language_and_Environment, - description: Diagnostics.Enable_experimental_support_for_legacy_experimental_decorators, - defaultValueDescription: false - }, - { - name: "emitDecoratorMetadata", - type: "boolean", - affectsSemanticDiagnostics: true, - affectsEmit: true, - affectsBuildInfo: true, - category: Diagnostics.Language_and_Environment, - description: Diagnostics.Emit_design_type_metadata_for_decorated_declarations_in_source_files, - defaultValueDescription: false - }, - // Advanced - { - name: "jsxFactory", - type: "string", - category: Diagnostics.Language_and_Environment, - description: 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: Diagnostics.Language_and_Environment, - description: Diagnostics.Specify_the_JSX_Fragment_reference_used_for_fragments_when_targeting_React_JSX_emit_e_g_React_Fragment_or_Fragment, - defaultValueDescription: "React.Fragment" - }, - { - name: "jsxImportSource", - type: "string", - affectsSemanticDiagnostics: true, - affectsEmit: true, - affectsBuildInfo: true, - affectsModuleResolution: true, - affectsSourceFile: true, - category: Diagnostics.Language_and_Environment, - description: 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: true, - category: Diagnostics.Modules, - description: Diagnostics.Enable_importing_json_files, - defaultValueDescription: false - }, - { - name: "allowArbitraryExtensions", - type: "boolean", - affectsProgramStructure: true, - category: Diagnostics.Modules, - description: Diagnostics.Enable_importing_files_with_any_extension_provided_a_declaration_file_is_present, - defaultValueDescription: false - }, - { - name: "out", - type: "string", - affectsEmit: true, - affectsBuildInfo: true, - affectsDeclarationPath: true, - isFilePath: false, - // This is intentionally broken to support compatibility with existing tsconfig files - // for correct behaviour, please use outFile - category: Diagnostics.Backwards_Compatibility, - paramType: Diagnostics.FILE, - transpileOptionValue: void 0, - description: Diagnostics.Deprecated_setting_Use_outFile_instead - }, - { - name: "reactNamespace", - type: "string", - affectsEmit: true, - affectsBuildInfo: true, - category: Diagnostics.Language_and_Environment, - description: Diagnostics.Specify_the_object_invoked_for_createElement_This_only_applies_when_targeting_react_JSX_emit, - defaultValueDescription: "`React`" - }, - { - name: "skipDefaultLibCheck", - type: "boolean", - // We need to store these to determine whether `lib` files need to be rechecked - affectsBuildInfo: true, - category: Diagnostics.Completeness, - description: Diagnostics.Skip_type_checking_d_ts_files_that_are_included_with_TypeScript, - defaultValueDescription: false - }, - { - name: "charset", - type: "string", - category: Diagnostics.Backwards_Compatibility, - description: Diagnostics.No_longer_supported_In_early_versions_manually_set_the_text_encoding_for_reading_files, - defaultValueDescription: "utf8" - }, - { - name: "emitBOM", - type: "boolean", - affectsEmit: true, - affectsBuildInfo: true, - category: Diagnostics.Emit, - description: Diagnostics.Emit_a_UTF_8_Byte_Order_Mark_BOM_in_the_beginning_of_output_files, - defaultValueDescription: false - }, - { - name: "newLine", - type: new Map(Object.entries({ - crlf: 0 /* CarriageReturnLineFeed */, - lf: 1 /* LineFeed */ - })), - affectsEmit: true, - affectsBuildInfo: true, - paramType: Diagnostics.NEWLINE, - category: Diagnostics.Emit, - description: Diagnostics.Set_the_newline_character_for_emitting_files, - defaultValueDescription: "lf" - }, - { - name: "noErrorTruncation", - type: "boolean", - affectsSemanticDiagnostics: true, - affectsBuildInfo: true, - category: Diagnostics.Output_Formatting, - description: Diagnostics.Disable_truncating_types_in_error_messages, - defaultValueDescription: false - }, - { - name: "noLib", - type: "boolean", - category: Diagnostics.Language_and_Environment, - affectsProgramStructure: true, - description: Diagnostics.Disable_including_any_library_files_including_the_default_lib_d_ts, - // We are not returning a sourceFile for lib file when asked by the program, - // so pass --noLib to avoid reporting a file not found error. - transpileOptionValue: true, - defaultValueDescription: false - }, - { - name: "noResolve", - type: "boolean", - affectsModuleResolution: true, - category: Diagnostics.Modules, - description: Diagnostics.Disallow_import_s_require_s_or_reference_s_from_expanding_the_number_of_files_TypeScript_should_add_to_a_project, - // We are not doing a full typecheck, we are not resolving the whole context, - // so pass --noResolve to avoid reporting missing file errors. - transpileOptionValue: true, - defaultValueDescription: false - }, - { - name: "stripInternal", - type: "boolean", - affectsEmit: true, - affectsBuildInfo: true, - category: Diagnostics.Emit, - description: Diagnostics.Disable_emitting_declarations_that_have_internal_in_their_JSDoc_comments, - defaultValueDescription: false - }, - { - name: "disableSizeLimit", - type: "boolean", - affectsProgramStructure: true, - category: Diagnostics.Editor_Support, - description: 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: true, - category: Diagnostics.Projects, - description: Diagnostics.Disable_preferring_source_files_instead_of_declaration_files_when_referencing_composite_projects, - defaultValueDescription: false - }, - { - name: "disableSolutionSearching", - type: "boolean", - isTSConfigOnly: true, - category: Diagnostics.Projects, - description: Diagnostics.Opt_a_project_out_of_multi_project_reference_checking_when_editing, - defaultValueDescription: false - }, - { - name: "disableReferencedProjectLoad", - type: "boolean", - isTSConfigOnly: true, - category: Diagnostics.Projects, - description: Diagnostics.Reduce_the_number_of_projects_loaded_automatically_by_TypeScript, - defaultValueDescription: false - }, - { - name: "noImplicitUseStrict", - type: "boolean", - affectsSemanticDiagnostics: true, - affectsBuildInfo: true, - category: Diagnostics.Backwards_Compatibility, - description: Diagnostics.Disable_adding_use_strict_directives_in_emitted_JavaScript_files, - defaultValueDescription: false - }, - { - name: "noEmitHelpers", - type: "boolean", - affectsEmit: true, - affectsBuildInfo: true, - category: Diagnostics.Emit, - description: Diagnostics.Disable_generating_custom_helper_functions_like_extends_in_compiled_output, - defaultValueDescription: false - }, - { - name: "noEmitOnError", - type: "boolean", - affectsEmit: true, - affectsBuildInfo: true, - category: Diagnostics.Emit, - transpileOptionValue: void 0, - description: Diagnostics.Disable_emitting_files_if_any_type_checking_errors_are_reported, - defaultValueDescription: false - }, - { - name: "preserveConstEnums", - type: "boolean", - affectsEmit: true, - affectsBuildInfo: true, - category: Diagnostics.Emit, - description: Diagnostics.Disable_erasing_const_enum_declarations_in_generated_code, - defaultValueDescription: false - }, - { - name: "declarationDir", - type: "string", - affectsEmit: true, - affectsBuildInfo: true, - affectsDeclarationPath: true, - isFilePath: true, - paramType: Diagnostics.DIRECTORY, - category: Diagnostics.Emit, - transpileOptionValue: void 0, - description: Diagnostics.Specify_the_output_directory_for_generated_declaration_files - }, - { - name: "skipLibCheck", - type: "boolean", - // We need to store these to determine whether `lib` files need to be rechecked - affectsBuildInfo: true, - category: Diagnostics.Completeness, - description: Diagnostics.Skip_type_checking_all_d_ts_files, - defaultValueDescription: false - }, - { - name: "allowUnusedLabels", - type: "boolean", - affectsBindDiagnostics: true, - affectsSemanticDiagnostics: true, - affectsBuildInfo: true, - category: Diagnostics.Type_Checking, - description: Diagnostics.Disable_error_reporting_for_unused_labels, - defaultValueDescription: void 0 - }, - { - name: "allowUnreachableCode", - type: "boolean", - affectsBindDiagnostics: true, - affectsSemanticDiagnostics: true, - affectsBuildInfo: true, - category: Diagnostics.Type_Checking, - description: Diagnostics.Disable_error_reporting_for_unreachable_code, - defaultValueDescription: void 0 - }, - { - name: "suppressExcessPropertyErrors", - type: "boolean", - affectsSemanticDiagnostics: true, - affectsBuildInfo: true, - category: Diagnostics.Backwards_Compatibility, - description: Diagnostics.Disable_reporting_of_excess_property_errors_during_the_creation_of_object_literals, - defaultValueDescription: false - }, - { - name: "suppressImplicitAnyIndexErrors", - type: "boolean", - affectsSemanticDiagnostics: true, - affectsBuildInfo: true, - category: Diagnostics.Backwards_Compatibility, - description: Diagnostics.Suppress_noImplicitAny_errors_when_indexing_objects_that_lack_index_signatures, - defaultValueDescription: false - }, - { - name: "forceConsistentCasingInFileNames", - type: "boolean", - affectsModuleResolution: true, - category: Diagnostics.Interop_Constraints, - description: Diagnostics.Ensure_that_casing_is_correct_in_imports, - defaultValueDescription: true - }, - { - name: "maxNodeModuleJsDepth", - type: "number", - affectsModuleResolution: true, - category: Diagnostics.JavaScript_Support, - description: 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: true, - affectsBuildInfo: true, - category: Diagnostics.Backwards_Compatibility, - description: Diagnostics.Disable_strict_checking_of_generic_signatures_in_function_types, - defaultValueDescription: false - }, - { - name: "useDefineForClassFields", - type: "boolean", - affectsSemanticDiagnostics: true, - affectsEmit: true, - affectsBuildInfo: true, - category: Diagnostics.Language_and_Environment, - description: Diagnostics.Emit_ECMAScript_standard_compliant_class_fields, - defaultValueDescription: Diagnostics.true_for_ES2022_and_above_including_ESNext - }, - { - name: "preserveValueImports", - type: "boolean", - affectsEmit: true, - affectsBuildInfo: true, - category: Diagnostics.Backwards_Compatibility, - description: Diagnostics.Preserve_unused_imported_values_in_the_JavaScript_output_that_would_otherwise_be_removed, - defaultValueDescription: false - }, - { - name: "keyofStringsOnly", - type: "boolean", - category: Diagnostics.Backwards_Compatibility, - description: Diagnostics.Make_keyof_only_return_strings_instead_of_string_numbers_or_symbols_Legacy_option, - defaultValueDescription: false - }, - { - // A list of plugins to load in the language service - name: "plugins", - type: "list", - isTSConfigOnly: true, - element: { - name: "plugin", - type: "object" - }, - description: Diagnostics.Specify_a_list_of_language_service_plugins_to_include, - category: Diagnostics.Editor_Support - }, - { - name: "moduleDetection", - type: new Map(Object.entries({ - auto: 2 /* Auto */, - legacy: 1 /* Legacy */, - force: 3 /* Force */ - })), - affectsSourceFile: true, - affectsModuleResolution: true, - description: Diagnostics.Control_what_method_is_used_to_detect_module_format_JS_files, - category: Diagnostics.Language_and_Environment, - defaultValueDescription: Diagnostics.auto_Colon_Treat_files_with_imports_exports_import_meta_jsx_with_jsx_Colon_react_jsx_or_esm_format_with_module_Colon_node16_as_modules - }, - { - name: "ignoreDeprecations", - type: "string", - defaultValueDescription: void 0 - } -]; -var optionDeclarations = [ - ...commonOptionsWithBuild, - ...commandOptionsWithoutBuild -]; -var semanticDiagnosticsOptionDeclarations = optionDeclarations.filter((option) => !!option.affectsSemanticDiagnostics); -var affectsEmitOptionDeclarations = optionDeclarations.filter((option) => !!option.affectsEmit); -var affectsDeclarationPathOptionDeclarations = optionDeclarations.filter((option) => !!option.affectsDeclarationPath); -var moduleResolutionOptionDeclarations = optionDeclarations.filter((option) => !!option.affectsModuleResolution); -var sourceFileAffectingCompilerOptions = optionDeclarations.filter((option) => !!option.affectsSourceFile || !!option.affectsBindDiagnostics); -var optionsAffectingProgramStructure = optionDeclarations.filter((option) => !!option.affectsProgramStructure); -var transpileOptionValueCompilerOptions = optionDeclarations.filter((option) => hasProperty(option, "transpileOptionValue")); -var configDirTemplateSubstitutionOptions = optionDeclarations.filter( - (option) => option.allowConfigDirTemplateSubstitution || !option.isCommandLineOnly && option.isFilePath -); -var configDirTemplateSubstitutionWatchOptions = optionsForWatch.filter( - (option) => option.allowConfigDirTemplateSubstitution || !option.isCommandLineOnly && option.isFilePath -); -var commandLineOptionOfCustomType = optionDeclarations.filter(isCommandLineOptionOfCustomType); -function isCommandLineOptionOfCustomType(option) { - return !isString(option.type); -} -var optionsForBuild = [ - { - name: "verbose", - shortName: "v", - category: Diagnostics.Command_line_Options, - description: Diagnostics.Enable_verbose_logging, - type: "boolean", - defaultValueDescription: false - }, - { - name: "dry", - shortName: "d", - category: Diagnostics.Command_line_Options, - description: Diagnostics.Show_what_would_be_built_or_deleted_if_specified_with_clean, - type: "boolean", - defaultValueDescription: false - }, - { - name: "force", - shortName: "f", - category: Diagnostics.Command_line_Options, - description: Diagnostics.Build_all_projects_including_those_that_appear_to_be_up_to_date, - type: "boolean", - defaultValueDescription: false - }, - { - name: "clean", - category: Diagnostics.Command_line_Options, - description: Diagnostics.Delete_the_outputs_of_all_projects, - type: "boolean", - defaultValueDescription: false - }, - { - name: "stopBuildOnErrors", - category: Diagnostics.Command_line_Options, - description: Diagnostics.Skip_building_downstream_projects_on_error_in_upstream_project, - type: "boolean", - defaultValueDescription: false - } -]; -var buildOpts = [ - ...commonOptionsWithBuild, - ...optionsForBuild -]; -var typeAcquisitionDeclarations = [ - { - 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 createOptionNameMap(optionDeclarations2) { - const optionsNameMap = /* @__PURE__ */ new Map(); - const shortOptionNames = /* @__PURE__ */ new Map(); - forEach(optionDeclarations2, (option) => { - optionsNameMap.set(option.name.toLowerCase(), option); - if (option.shortName) { - shortOptionNames.set(option.shortName, option.name); - } - }); - return { optionsNameMap, shortOptionNames }; -} -var optionsNameMapCache; -function getOptionsNameMap() { - return optionsNameMapCache || (optionsNameMapCache = createOptionNameMap(optionDeclarations)); -} -var compilerOptionsAlternateMode = { - diagnostic: Diagnostics.Compiler_option_0_may_only_be_used_with_build, - getOptionsNameMap: getBuildOptionsNameMap -}; -var defaultInitCompilerOptions = { - module: 1 /* CommonJS */, - target: 3 /* ES2016 */, - strict: true, - esModuleInterop: true, - forceConsistentCasingInFileNames: true, - skipLibCheck: true -}; -function createDiagnosticForInvalidCustomType(opt, createDiagnostic) { - const namesOfType = arrayFrom(opt.type.keys()); - const stringNames = (opt.deprecatedKeys ? namesOfType.filter((k) => !opt.deprecatedKeys.has(k)) : namesOfType).map((key) => `'${key}'`).join(", "); - return createDiagnostic(Diagnostics.Argument_for_0_option_must_be_Colon_1, `--${opt.name}`, stringNames); -} -function parseCustomTypeOption(opt, value, errors) { - return convertJsonOptionOfCustomType(opt, (value ?? "").trim(), errors); -} -function parseListTypeOption(opt, value = "", errors) { - value = value.trim(); - if (startsWith(value, "-")) { - return void 0; - } - if (opt.type === "listOrElement" && !value.includes(",")) { - return validateJsonOptionValue(opt, value, errors); - } - if (value === "") { - return []; - } - const values = value.split(","); - switch (opt.element.type) { - case "number": - return mapDefined(values, (v) => validateJsonOptionValue(opt.element, parseInt(v), errors)); - case "string": - return mapDefined(values, (v) => validateJsonOptionValue(opt.element, v || "", errors)); - case "boolean": - case "object": - return Debug.fail(`List of ${opt.element.type} is not yet supported.`); - default: - return mapDefined(values, (v) => parseCustomTypeOption(opt.element, v, errors)); - } -} -function getOptionName(option) { - return option.name; -} -function createUnknownOptionError(unknownOption, diagnostics, unknownOptionErrorText, node, sourceFile) { - var _a; - if ((_a = diagnostics.alternateMode) == null ? void 0 : _a.getOptionsNameMap().optionsNameMap.has(unknownOption.toLowerCase())) { - return createDiagnosticForNodeInSourceFileOrCompilerDiagnostic(sourceFile, node, diagnostics.alternateMode.diagnostic, unknownOption); - } - const possibleOption = getSpellingSuggestion(unknownOption, diagnostics.optionDeclarations, getOptionName); - return possibleOption ? createDiagnosticForNodeInSourceFileOrCompilerDiagnostic(sourceFile, node, diagnostics.unknownDidYouMeanDiagnostic, unknownOptionErrorText || unknownOption, possibleOption.name) : createDiagnosticForNodeInSourceFileOrCompilerDiagnostic(sourceFile, node, diagnostics.unknownOptionDiagnostic, unknownOptionErrorText || unknownOption); -} -function parseCommandLineWorker(diagnostics, commandLine, readFile) { - const options = {}; - let watchOptions; - const fileNames = []; - const errors = []; - parseStrings(commandLine); - return { - options, - watchOptions, - fileNames, - errors - }; - function parseStrings(args) { - let i = 0; - while (i < args.length) { - const s = args[i]; - i++; - if (s.charCodeAt(0) === 64 /* at */) { - parseResponseFile(s.slice(1)); - } else if (s.charCodeAt(0) === 45 /* minus */) { - const inputOptionName = s.slice(s.charCodeAt(1) === 45 /* minus */ ? 2 : 1); - const opt = getOptionDeclarationFromName( - diagnostics.getOptionsNameMap, - inputOptionName, - /*allowShort*/ - true - ); - if (opt) { - i = parseOptionValue(args, i, diagnostics, opt, options, errors); - } else { - const watchOpt = getOptionDeclarationFromName( - watchOptionsDidYouMeanDiagnostics.getOptionsNameMap, - inputOptionName, - /*allowShort*/ - true - ); - if (watchOpt) { - i = parseOptionValue(args, i, watchOptionsDidYouMeanDiagnostics, watchOpt, watchOptions || (watchOptions = {}), errors); - } else { - errors.push(createUnknownOptionError(inputOptionName, diagnostics, s)); - } - } - } else { - fileNames.push(s); - } - } - } - function parseResponseFile(fileName) { - const text = tryReadFile(fileName, readFile || ((fileName2) => sys.readFile(fileName2))); - if (!isString(text)) { - errors.push(text); - return; - } - const args = []; - let pos = 0; - while (true) { - while (pos < text.length && text.charCodeAt(pos) <= 32 /* space */) pos++; - if (pos >= text.length) break; - const start = pos; - if (text.charCodeAt(start) === 34 /* doubleQuote */) { - pos++; - while (pos < text.length && text.charCodeAt(pos) !== 34 /* doubleQuote */) pos++; - if (pos < text.length) { - args.push(text.substring(start + 1, pos)); - pos++; - } else { - errors.push(createCompilerDiagnostic(Diagnostics.Unterminated_quoted_string_in_response_file_0, fileName)); - } - } else { - while (text.charCodeAt(pos) > 32 /* space */) pos++; - args.push(text.substring(start, pos)); - } - } - parseStrings(args); - } -} -function parseOptionValue(args, i, diagnostics, opt, options, errors) { - if (opt.isTSConfigOnly) { - const optValue = args[i]; - if (optValue === "null") { - options[opt.name] = void 0; - i++; - } else if (opt.type === "boolean") { - if (optValue === "false") { - options[opt.name] = validateJsonOptionValue( - opt, - /*value*/ - false, - errors - ); - i++; - } else { - if (optValue === "true") i++; - errors.push(createCompilerDiagnostic(Diagnostics.Option_0_can_only_be_specified_in_tsconfig_json_file_or_set_to_false_or_null_on_command_line, opt.name)); - } - } else { - errors.push(createCompilerDiagnostic(Diagnostics.Option_0_can_only_be_specified_in_tsconfig_json_file_or_set_to_null_on_command_line, opt.name)); - if (optValue && !startsWith(optValue, "-")) i++; - } - } else { - if (!args[i] && opt.type !== "boolean") { - errors.push(createCompilerDiagnostic(diagnostics.optionTypeMismatchDiagnostic, opt.name, getCompilerOptionValueTypeString(opt))); - } - if (args[i] !== "null") { - switch (opt.type) { - case "number": - options[opt.name] = validateJsonOptionValue(opt, parseInt(args[i]), errors); - i++; - break; - case "boolean": - const optValue = args[i]; - options[opt.name] = validateJsonOptionValue(opt, optValue !== "false", errors); - if (optValue === "false" || optValue === "true") { - i++; - } - break; - case "string": - options[opt.name] = validateJsonOptionValue(opt, args[i] || "", errors); - i++; - break; - case "list": - const result = parseListTypeOption(opt, args[i], errors); - options[opt.name] = result || []; - if (result) { - i++; - } - break; - case "listOrElement": - Debug.fail("listOrElement not supported here"); - break; - default: - options[opt.name] = parseCustomTypeOption(opt, args[i], errors); - i++; - break; - } - } else { - options[opt.name] = void 0; - i++; - } - } - return i; -} -var compilerOptionsDidYouMeanDiagnostics = { - alternateMode: compilerOptionsAlternateMode, - getOptionsNameMap, - optionDeclarations, - unknownOptionDiagnostic: Diagnostics.Unknown_compiler_option_0, - unknownDidYouMeanDiagnostic: Diagnostics.Unknown_compiler_option_0_Did_you_mean_1, - optionTypeMismatchDiagnostic: Diagnostics.Compiler_option_0_expects_an_argument -}; -function parseCommandLine(commandLine, readFile) { - return parseCommandLineWorker(compilerOptionsDidYouMeanDiagnostics, commandLine, readFile); -} -function getOptionDeclarationFromName(getOptionNameMap, optionName, allowShort = false) { - optionName = optionName.toLowerCase(); - const { optionsNameMap, shortOptionNames } = getOptionNameMap(); - if (allowShort) { - const short = shortOptionNames.get(optionName); - if (short !== void 0) { - optionName = short; - } - } - return optionsNameMap.get(optionName); -} -var buildOptionsNameMapCache; -function getBuildOptionsNameMap() { - return buildOptionsNameMapCache || (buildOptionsNameMapCache = createOptionNameMap(buildOpts)); -} -var buildOptionsAlternateMode = { - diagnostic: Diagnostics.Compiler_option_0_may_not_be_used_with_build, - getOptionsNameMap -}; -var buildOptionsDidYouMeanDiagnostics = { - alternateMode: buildOptionsAlternateMode, - getOptionsNameMap: getBuildOptionsNameMap, - optionDeclarations: buildOpts, - unknownOptionDiagnostic: Diagnostics.Unknown_build_option_0, - unknownDidYouMeanDiagnostic: Diagnostics.Unknown_build_option_0_Did_you_mean_1, - optionTypeMismatchDiagnostic: Diagnostics.Build_option_0_requires_a_value_of_type_1 -}; -function parseBuildCommand(args) { - const { options, watchOptions, fileNames: projects, errors } = parseCommandLineWorker( - buildOptionsDidYouMeanDiagnostics, - args - ); - const buildOptions = options; - if (projects.length === 0) { - projects.push("."); - } - if (buildOptions.clean && buildOptions.force) { - errors.push(createCompilerDiagnostic(Diagnostics.Options_0_and_1_cannot_be_combined, "clean", "force")); - } - if (buildOptions.clean && buildOptions.verbose) { - errors.push(createCompilerDiagnostic(Diagnostics.Options_0_and_1_cannot_be_combined, "clean", "verbose")); - } - if (buildOptions.clean && buildOptions.watch) { - errors.push(createCompilerDiagnostic(Diagnostics.Options_0_and_1_cannot_be_combined, "clean", "watch")); - } - if (buildOptions.watch && buildOptions.dry) { - errors.push(createCompilerDiagnostic(Diagnostics.Options_0_and_1_cannot_be_combined, "watch", "dry")); - } - return { buildOptions, watchOptions, projects, errors }; -} -function getDiagnosticText(message, ...args) { - return cast(createCompilerDiagnostic(message, ...args).messageText, isString); -} -function getParsedCommandLineOfConfigFile(configFileName, optionsToExtend, host, extendedConfigCache, watchOptionsToExtend, extraFileExtensions) { - const configFileText = tryReadFile(configFileName, (fileName) => host.readFile(fileName)); - if (!isString(configFileText)) { - host.onUnRecoverableConfigFileDiagnostic(configFileText); - return void 0; - } - const result = parseJsonText(configFileName, configFileText); - const cwd = host.getCurrentDirectory(); - result.path = toPath(configFileName, cwd, createGetCanonicalFileName(host.useCaseSensitiveFileNames)); - result.resolvedPath = result.path; - result.originalFileName = result.fileName; - return parseJsonSourceFileConfigFileContent( - result, - host, - getNormalizedAbsolutePath(getDirectoryPath(configFileName), cwd), - optionsToExtend, - getNormalizedAbsolutePath(configFileName, cwd), - /*resolutionStack*/ - void 0, - extraFileExtensions, - extendedConfigCache, - watchOptionsToExtend - ); -} -function parseConfigFileTextToJson(fileName, jsonText) { - const jsonSourceFile = parseJsonText(fileName, jsonText); - return { - config: convertConfigFileToObject( - jsonSourceFile, - jsonSourceFile.parseDiagnostics, - /*jsonConversionNotifier*/ - void 0 - ), - error: jsonSourceFile.parseDiagnostics.length ? jsonSourceFile.parseDiagnostics[0] : void 0 - }; -} -function readJsonConfigFile(fileName, readFile) { - const textOrDiagnostic = tryReadFile(fileName, readFile); - return isString(textOrDiagnostic) ? parseJsonText(fileName, textOrDiagnostic) : { fileName, parseDiagnostics: [textOrDiagnostic] }; -} -function tryReadFile(fileName, readFile) { - let text; - try { - text = readFile(fileName); - } catch (e) { - return createCompilerDiagnostic(Diagnostics.Cannot_read_file_0_Colon_1, fileName, e.message); - } - return text === void 0 ? createCompilerDiagnostic(Diagnostics.Cannot_read_file_0, fileName) : text; -} -function commandLineOptionsToMap(options) { - return arrayToMap(options, getOptionName); -} -var typeAcquisitionDidYouMeanDiagnostics = { - optionDeclarations: typeAcquisitionDeclarations, - unknownOptionDiagnostic: Diagnostics.Unknown_type_acquisition_option_0, - unknownDidYouMeanDiagnostic: Diagnostics.Unknown_type_acquisition_option_0_Did_you_mean_1 -}; -var watchOptionsNameMapCache; -function getWatchOptionsNameMap() { - return watchOptionsNameMapCache || (watchOptionsNameMapCache = createOptionNameMap(optionsForWatch)); -} -var watchOptionsDidYouMeanDiagnostics = { - getOptionsNameMap: getWatchOptionsNameMap, - optionDeclarations: optionsForWatch, - unknownOptionDiagnostic: Diagnostics.Unknown_watch_option_0, - unknownDidYouMeanDiagnostic: Diagnostics.Unknown_watch_option_0_Did_you_mean_1, - optionTypeMismatchDiagnostic: Diagnostics.Watch_option_0_requires_a_value_of_type_1 -}; -var commandLineCompilerOptionsMapCache; -function getCommandLineCompilerOptionsMap() { - return commandLineCompilerOptionsMapCache || (commandLineCompilerOptionsMapCache = commandLineOptionsToMap(optionDeclarations)); -} -var commandLineWatchOptionsMapCache; -function getCommandLineWatchOptionsMap() { - return commandLineWatchOptionsMapCache || (commandLineWatchOptionsMapCache = commandLineOptionsToMap(optionsForWatch)); -} -var commandLineTypeAcquisitionMapCache; -function getCommandLineTypeAcquisitionMap() { - return commandLineTypeAcquisitionMapCache || (commandLineTypeAcquisitionMapCache = commandLineOptionsToMap(typeAcquisitionDeclarations)); -} -var extendsOptionDeclaration = { - name: "extends", - type: "listOrElement", - element: { - name: "extends", - type: "string" - }, - category: Diagnostics.File_Management, - disallowNullOrUndefined: true -}; -var compilerOptionsDeclaration = { - name: "compilerOptions", - type: "object", - elementOptions: getCommandLineCompilerOptionsMap(), - extraKeyDiagnostics: compilerOptionsDidYouMeanDiagnostics -}; -var watchOptionsDeclaration = { - name: "watchOptions", - type: "object", - elementOptions: getCommandLineWatchOptionsMap(), - extraKeyDiagnostics: watchOptionsDidYouMeanDiagnostics -}; -var typeAcquisitionDeclaration = { - name: "typeAcquisition", - type: "object", - elementOptions: getCommandLineTypeAcquisitionMap(), - extraKeyDiagnostics: typeAcquisitionDidYouMeanDiagnostics -}; -var _tsconfigRootOptions; -function getTsconfigRootOptionsMap() { - if (_tsconfigRootOptions === void 0) { - _tsconfigRootOptions = { - name: void 0, - // should never be needed since this is root - type: "object", - elementOptions: commandLineOptionsToMap([ - compilerOptionsDeclaration, - watchOptionsDeclaration, - typeAcquisitionDeclaration, - extendsOptionDeclaration, - { - name: "references", - type: "list", - element: { - name: "references", - type: "object" - }, - category: Diagnostics.Projects - }, - { - name: "files", - type: "list", - element: { - name: "files", - type: "string" - }, - category: Diagnostics.File_Management - }, - { - name: "include", - type: "list", - element: { - name: "include", - type: "string" - }, - category: Diagnostics.File_Management, - defaultValueDescription: Diagnostics.if_files_is_specified_otherwise_Asterisk_Asterisk_Slash_Asterisk - }, - { - name: "exclude", - type: "list", - element: { - name: "exclude", - type: "string" - }, - category: Diagnostics.File_Management, - defaultValueDescription: Diagnostics.node_modules_bower_components_jspm_packages_plus_the_value_of_outDir_if_one_is_specified - }, - compileOnSaveCommandLineOption - ]) - }; - } - return _tsconfigRootOptions; -} -function convertConfigFileToObject(sourceFile, errors, jsonConversionNotifier) { - var _a; - const rootExpression = (_a = sourceFile.statements[0]) == null ? void 0 : _a.expression; - if (rootExpression && rootExpression.kind !== 210 /* ObjectLiteralExpression */) { - errors.push(createDiagnosticForNodeInSourceFile( - sourceFile, - rootExpression, - Diagnostics.The_root_value_of_a_0_file_must_be_an_object, - getBaseFileName(sourceFile.fileName) === "jsconfig.json" ? "jsconfig.json" : "tsconfig.json" - )); - if (isArrayLiteralExpression(rootExpression)) { - const firstObject = find(rootExpression.elements, isObjectLiteralExpression); - if (firstObject) { - return convertToJson( - sourceFile, - firstObject, - errors, - /*returnValue*/ - true, - jsonConversionNotifier - ); - } - } - return {}; - } - return convertToJson( - sourceFile, - rootExpression, - errors, - /*returnValue*/ - true, - jsonConversionNotifier - ); -} -function convertToObject(sourceFile, errors) { - var _a; - return convertToJson( - sourceFile, - (_a = sourceFile.statements[0]) == null ? void 0 : _a.expression, - errors, - /*returnValue*/ - true, - /*jsonConversionNotifier*/ - void 0 - ); -} -function convertToJson(sourceFile, rootExpression, errors, returnValue, jsonConversionNotifier) { - if (!rootExpression) { - return returnValue ? {} : void 0; - } - return convertPropertyValueToJson(rootExpression, jsonConversionNotifier == null ? void 0 : jsonConversionNotifier.rootOptions); - function convertObjectLiteralExpressionToJson(node, objectOption) { - var _a; - const result = returnValue ? {} : void 0; - for (const element of node.properties) { - if (element.kind !== 303 /* PropertyAssignment */) { - errors.push(createDiagnosticForNodeInSourceFile(sourceFile, element, Diagnostics.Property_assignment_expected)); - continue; - } - if (element.questionToken) { - errors.push(createDiagnosticForNodeInSourceFile(sourceFile, element.questionToken, Diagnostics.The_0_modifier_can_only_be_used_in_TypeScript_files, "?")); - } - if (!isDoubleQuotedString(element.name)) { - errors.push(createDiagnosticForNodeInSourceFile(sourceFile, element.name, Diagnostics.String_literal_with_double_quotes_expected)); - } - const textOfKey = isComputedNonLiteralName(element.name) ? void 0 : getTextOfPropertyName(element.name); - const keyText = textOfKey && unescapeLeadingUnderscores(textOfKey); - const option = keyText ? (_a = objectOption == null ? void 0 : objectOption.elementOptions) == null ? void 0 : _a.get(keyText) : void 0; - const value = convertPropertyValueToJson(element.initializer, option); - if (typeof keyText !== "undefined") { - if (returnValue) { - result[keyText] = value; - } - jsonConversionNotifier == null ? void 0 : jsonConversionNotifier.onPropertySet(keyText, value, element, objectOption, option); - } - } - return result; - } - function convertArrayLiteralExpressionToJson(elements, elementOption) { - if (!returnValue) { - elements.forEach((element) => convertPropertyValueToJson(element, elementOption)); - return void 0; - } - return filter(elements.map((element) => convertPropertyValueToJson(element, elementOption)), (v) => v !== void 0); - } - function convertPropertyValueToJson(valueExpression, option) { - switch (valueExpression.kind) { - case 112 /* TrueKeyword */: - return true; - case 97 /* FalseKeyword */: - return false; - case 106 /* NullKeyword */: - return null; - case 11 /* StringLiteral */: - if (!isDoubleQuotedString(valueExpression)) { - errors.push(createDiagnosticForNodeInSourceFile(sourceFile, valueExpression, Diagnostics.String_literal_with_double_quotes_expected)); - } - return valueExpression.text; - case 9 /* NumericLiteral */: - return Number(valueExpression.text); - case 224 /* PrefixUnaryExpression */: - if (valueExpression.operator !== 41 /* MinusToken */ || valueExpression.operand.kind !== 9 /* NumericLiteral */) { - break; - } - return -Number(valueExpression.operand.text); - case 210 /* ObjectLiteralExpression */: - const objectLiteralExpression = valueExpression; - return convertObjectLiteralExpressionToJson(objectLiteralExpression, option); - case 209 /* ArrayLiteralExpression */: - return convertArrayLiteralExpressionToJson( - valueExpression.elements, - option && option.element - ); - } - if (option) { - errors.push(createDiagnosticForNodeInSourceFile(sourceFile, valueExpression, Diagnostics.Compiler_option_0_requires_a_value_of_type_1, option.name, getCompilerOptionValueTypeString(option))); - } else { - errors.push(createDiagnosticForNodeInSourceFile(sourceFile, valueExpression, Diagnostics.Property_value_can_only_be_string_literal_numeric_literal_true_false_null_object_literal_or_array_literal)); - } - return void 0; - } - function isDoubleQuotedString(node) { - return isStringLiteral(node) && isStringDoubleQuoted(node, sourceFile); - } -} -function getCompilerOptionValueTypeString(option) { - return option.type === "listOrElement" ? `${getCompilerOptionValueTypeString(option.element)} or Array` : option.type === "list" ? "Array" : isString(option.type) ? option.type : "string"; -} -function isCompilerOptionsValue(option, value) { - if (option) { - if (isNullOrUndefined(value)) return !option.disallowNullOrUndefined; - if (option.type === "list") { - return isArray(value); - } - if (option.type === "listOrElement") { - return isArray(value) || isCompilerOptionsValue(option.element, value); - } - const expectedType = isString(option.type) ? option.type : "string"; - return typeof value === expectedType; - } - return false; -} -function convertToTSConfig(configParseResult, configFileName, host) { - var _a, _b, _c; - const getCanonicalFileName = createGetCanonicalFileName(host.useCaseSensitiveFileNames); - const files = map( - filter( - configParseResult.fileNames, - !((_b = (_a = configParseResult.options.configFile) == null ? void 0 : _a.configFileSpecs) == null ? void 0 : _b.validatedIncludeSpecs) ? returnTrue : matchesSpecs( - configFileName, - configParseResult.options.configFile.configFileSpecs.validatedIncludeSpecs, - configParseResult.options.configFile.configFileSpecs.validatedExcludeSpecs, - host - ) - ), - (f) => getRelativePathFromFile(getNormalizedAbsolutePath(configFileName, host.getCurrentDirectory()), getNormalizedAbsolutePath(f, host.getCurrentDirectory()), getCanonicalFileName) - ); - const pathOptions = { configFilePath: getNormalizedAbsolutePath(configFileName, host.getCurrentDirectory()), useCaseSensitiveFileNames: host.useCaseSensitiveFileNames }; - const optionMap = serializeCompilerOptions(configParseResult.options, pathOptions); - const watchOptionMap = configParseResult.watchOptions && serializeWatchOptions(configParseResult.watchOptions); - const config = { - compilerOptions: { - ...optionMapToObject(optionMap), - 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: watchOptionMap && optionMapToObject(watchOptionMap), - references: map(configParseResult.projectReferences, (r) => ({ ...r, path: r.originalPath ? r.originalPath : "", originalPath: void 0 })), - files: length(files) ? files : void 0, - ...((_c = configParseResult.options.configFile) == null ? void 0 : _c.configFileSpecs) ? { - include: filterSameAsDefaultInclude(configParseResult.options.configFile.configFileSpecs.validatedIncludeSpecs), - exclude: configParseResult.options.configFile.configFileSpecs.validatedExcludeSpecs - } : {}, - compileOnSave: !!configParseResult.compileOnSave ? true : void 0 - }; - const providedKeys = new Set(optionMap.keys()); - const impliedCompilerOptions = {}; - for (const option in computedOptions) { - if (!providedKeys.has(option) && some(computedOptions[option].dependencies, (dep) => providedKeys.has(dep))) { - const implied = computedOptions[option].computeValue(configParseResult.options); - const defaultValue = computedOptions[option].computeValue({}); - if (implied !== defaultValue) { - impliedCompilerOptions[option] = computedOptions[option].computeValue(configParseResult.options); - } - } - } - assign(config.compilerOptions, optionMapToObject(serializeCompilerOptions(impliedCompilerOptions, pathOptions))); - return config; -} -function optionMapToObject(optionMap) { - return Object.fromEntries(optionMap); -} -function filterSameAsDefaultInclude(specs) { - if (!length(specs)) return void 0; - if (length(specs) !== 1) return specs; - if (specs[0] === defaultIncludeSpec) return void 0; - return specs; -} -function matchesSpecs(path, includeSpecs, excludeSpecs, host) { - if (!includeSpecs) return returnTrue; - const patterns = getFileMatcherPatterns(path, excludeSpecs, includeSpecs, host.useCaseSensitiveFileNames, host.getCurrentDirectory()); - const excludeRe = patterns.excludePattern && getRegexFromPattern(patterns.excludePattern, host.useCaseSensitiveFileNames); - const includeRe = patterns.includeFilePattern && getRegexFromPattern(patterns.includeFilePattern, host.useCaseSensitiveFileNames); - if (includeRe) { - if (excludeRe) { - return (path2) => !(includeRe.test(path2) && !excludeRe.test(path2)); - } - return (path2) => !includeRe.test(path2); - } - if (excludeRe) { - return (path2) => excludeRe.test(path2); - } - return returnTrue; -} -function getCustomTypeMapOfCommandLineOption(optionDefinition) { - switch (optionDefinition.type) { - case "string": - case "number": - case "boolean": - case "object": - return void 0; - case "list": - case "listOrElement": - return getCustomTypeMapOfCommandLineOption(optionDefinition.element); - default: - return optionDefinition.type; - } -} -function getNameOfCompilerOptionValue(value, customTypeMap) { - return forEachEntry(customTypeMap, (mapValue, key) => { - if (mapValue === value) { - return key; - } - }); -} -function serializeCompilerOptions(options, pathOptions) { - return serializeOptionBaseObject(options, getOptionsNameMap(), pathOptions); -} -function serializeWatchOptions(options) { - return serializeOptionBaseObject(options, getWatchOptionsNameMap()); -} -function serializeOptionBaseObject(options, { optionsNameMap }, pathOptions) { - const result = /* @__PURE__ */ new Map(); - const getCanonicalFileName = pathOptions && createGetCanonicalFileName(pathOptions.useCaseSensitiveFileNames); - for (const name in options) { - if (hasProperty(options, name)) { - if (optionsNameMap.has(name) && (optionsNameMap.get(name).category === Diagnostics.Command_line_Options || optionsNameMap.get(name).category === Diagnostics.Output_Formatting)) { - continue; - } - const value = options[name]; - const optionDefinition = optionsNameMap.get(name.toLowerCase()); - if (optionDefinition) { - Debug.assert(optionDefinition.type !== "listOrElement"); - const customTypeMap = getCustomTypeMapOfCommandLineOption(optionDefinition); - if (!customTypeMap) { - if (pathOptions && optionDefinition.isFilePath) { - result.set(name, getRelativePathFromFile(pathOptions.configFilePath, getNormalizedAbsolutePath(value, getDirectoryPath(pathOptions.configFilePath)), getCanonicalFileName)); - } else if (pathOptions && optionDefinition.type === "list" && optionDefinition.element.isFilePath) { - result.set(name, value.map((v) => getRelativePathFromFile(pathOptions.configFilePath, getNormalizedAbsolutePath(v, getDirectoryPath(pathOptions.configFilePath)), getCanonicalFileName))); - } else { - result.set(name, value); - } - } else { - if (optionDefinition.type === "list") { - result.set(name, value.map((element) => getNameOfCompilerOptionValue(element, customTypeMap))); - } else { - result.set(name, getNameOfCompilerOptionValue(value, customTypeMap)); - } - } - } - } - } - return result; -} -function getCompilerOptionsDiffValue(options, newLine) { - const compilerOptionsMap = getSerializedCompilerOption(options); - return getOverwrittenDefaultOptions(); - function makePadding(paddingLength) { - return Array(paddingLength + 1).join(" "); - } - function getOverwrittenDefaultOptions() { - const result = []; - const tab = makePadding(2); - commandOptionsWithoutBuild.forEach((cmd) => { - if (!compilerOptionsMap.has(cmd.name)) { - return; - } - const newValue = compilerOptionsMap.get(cmd.name); - const defaultValue = getDefaultValueForOption(cmd); - if (newValue !== defaultValue) { - result.push(`${tab}${cmd.name}: ${newValue}`); - } else if (hasProperty(defaultInitCompilerOptions, cmd.name)) { - result.push(`${tab}${cmd.name}: ${defaultValue}`); - } - }); - return result.join(newLine) + newLine; - } -} -function getSerializedCompilerOption(options) { - const compilerOptions = extend(options, defaultInitCompilerOptions); - return serializeCompilerOptions(compilerOptions); -} -function generateTSConfig(options, fileNames, newLine) { - const compilerOptionsMap = getSerializedCompilerOption(options); - return writeConfigurations(); - function makePadding(paddingLength) { - return Array(paddingLength + 1).join(" "); - } - function isAllowedOptionForOutput({ category, name, isCommandLineOnly }) { - const categoriesToSkip = [Diagnostics.Command_line_Options, Diagnostics.Editor_Support, Diagnostics.Compiler_Diagnostics, Diagnostics.Backwards_Compatibility, Diagnostics.Watch_and_Build_Modes, Diagnostics.Output_Formatting]; - return !isCommandLineOnly && category !== void 0 && (!categoriesToSkip.includes(category) || compilerOptionsMap.has(name)); - } - function writeConfigurations() { - const categorizedOptions = /* @__PURE__ */ new Map(); - categorizedOptions.set(Diagnostics.Projects, []); - categorizedOptions.set(Diagnostics.Language_and_Environment, []); - categorizedOptions.set(Diagnostics.Modules, []); - categorizedOptions.set(Diagnostics.JavaScript_Support, []); - categorizedOptions.set(Diagnostics.Emit, []); - categorizedOptions.set(Diagnostics.Interop_Constraints, []); - categorizedOptions.set(Diagnostics.Type_Checking, []); - categorizedOptions.set(Diagnostics.Completeness, []); - for (const option of optionDeclarations) { - if (isAllowedOptionForOutput(option)) { - let listForCategory = categorizedOptions.get(option.category); - if (!listForCategory) categorizedOptions.set(option.category, listForCategory = []); - listForCategory.push(option); - } - } - let marginLength = 0; - let seenKnownKeys = 0; - const entries = []; - categorizedOptions.forEach((options2, category) => { - if (entries.length !== 0) { - entries.push({ value: "" }); - } - entries.push({ value: `/* ${getLocaleSpecificMessage(category)} */` }); - for (const option of options2) { - let optionName; - if (compilerOptionsMap.has(option.name)) { - optionName = `"${option.name}": ${JSON.stringify(compilerOptionsMap.get(option.name))}${(seenKnownKeys += 1) === compilerOptionsMap.size ? "" : ","}`; - } else { - optionName = `// "${option.name}": ${JSON.stringify(getDefaultValueForOption(option))},`; - } - entries.push({ - value: optionName, - description: `/* ${option.description && getLocaleSpecificMessage(option.description) || option.name} */` - }); - marginLength = Math.max(optionName.length, marginLength); - } - }); - const tab = makePadding(2); - const result = []; - result.push(`{`); - result.push(`${tab}"compilerOptions": {`); - result.push(`${tab}${tab}/* ${getLocaleSpecificMessage(Diagnostics.Visit_https_Colon_Slash_Slashaka_ms_Slashtsconfig_to_read_more_about_this_file)} */`); - result.push(""); - for (const entry of entries) { - const { value, description = "" } = entry; - result.push(value && `${tab}${tab}${value}${description && makePadding(marginLength - value.length + 2) + description}`); - } - if (fileNames.length) { - result.push(`${tab}},`); - result.push(`${tab}"files": [`); - for (let i = 0; i < fileNames.length; i++) { - result.push(`${tab}${tab}${JSON.stringify(fileNames[i])}${i === fileNames.length - 1 ? "" : ","}`); - } - result.push(`${tab}]`); - } else { - result.push(`${tab}}`); - } - result.push(`}`); - return result.join(newLine) + newLine; - } -} -function convertToOptionsWithAbsolutePaths(options, toAbsolutePath) { - const result = {}; - const optionsNameMap = getOptionsNameMap().optionsNameMap; - for (const name in options) { - if (hasProperty(options, name)) { - result[name] = convertToOptionValueWithAbsolutePaths( - optionsNameMap.get(name.toLowerCase()), - options[name], - toAbsolutePath - ); - } - } - if (result.configFilePath) { - result.configFilePath = toAbsolutePath(result.configFilePath); - } - return result; -} -function convertToOptionValueWithAbsolutePaths(option, value, toAbsolutePath) { - if (option && !isNullOrUndefined(value)) { - if (option.type === "list") { - const values = value; - if (option.element.isFilePath && values.length) { - return values.map(toAbsolutePath); - } - } else if (option.isFilePath) { - return toAbsolutePath(value); - } - Debug.assert(option.type !== "listOrElement"); - } - return value; -} -function parseJsonSourceFileConfigFileContent(sourceFile, host, basePath, existingOptions, configFileName, resolutionStack, extraFileExtensions, extendedConfigCache, existingWatchOptions) { - var _a, _b; - (_a = tracing) == null ? void 0 : _a.push(tracing.Phase.Parse, "parseJsonSourceFileConfigFileContent", { path: sourceFile.fileName }); - const result = parseJsonConfigFileContentWorker( - /*json*/ - void 0, - sourceFile, - host, - basePath, - existingOptions, - existingWatchOptions, - configFileName, - resolutionStack, - extraFileExtensions, - extendedConfigCache - ); - (_b = tracing) == null ? void 0 : _b.pop(); - return result; -} -function setConfigFileInOptions(options, configFile) { - if (configFile) { - Object.defineProperty(options, "configFile", { enumerable: false, writable: false, value: configFile }); - } -} -function isNullOrUndefined(x) { - return x === void 0 || x === null; -} -function directoryOfCombinedPath(fileName, basePath) { - return getDirectoryPath(getNormalizedAbsolutePath(fileName, basePath)); -} -var defaultIncludeSpec = "**/*"; -function parseJsonConfigFileContentWorker(json, sourceFile, host, basePath, existingOptions = {}, existingWatchOptions, configFileName, resolutionStack = [], extraFileExtensions = [], extendedConfigCache) { - Debug.assert(json === void 0 && sourceFile !== void 0 || json !== void 0 && sourceFile === void 0); - const errors = []; - const parsedConfig = parseConfig(json, sourceFile, host, basePath, configFileName, resolutionStack, errors, extendedConfigCache); - const { raw } = parsedConfig; - const options = handleOptionConfigDirTemplateSubstitution( - extend(existingOptions, parsedConfig.options || {}), - configDirTemplateSubstitutionOptions, - basePath - ); - const watchOptions = handleWatchOptionsConfigDirTemplateSubstitution( - existingWatchOptions && parsedConfig.watchOptions ? extend(existingWatchOptions, parsedConfig.watchOptions) : parsedConfig.watchOptions || existingWatchOptions, - basePath - ); - options.configFilePath = configFileName && normalizeSlashes(configFileName); - const basePathForFileNames = normalizePath(configFileName ? directoryOfCombinedPath(configFileName, basePath) : basePath); - const configFileSpecs = getConfigFileSpecs(); - if (sourceFile) sourceFile.configFileSpecs = configFileSpecs; - setConfigFileInOptions(options, sourceFile); - return { - options, - watchOptions, - fileNames: getFileNames(basePathForFileNames), - projectReferences: getProjectReferences(basePathForFileNames), - typeAcquisition: parsedConfig.typeAcquisition || getDefaultTypeAcquisition(), - raw, - errors, - // Wildcard directories (provided as part of a wildcard path) are stored in a - // file map that marks whether it was a regular wildcard match (with a `*` or `?` token), - // or a recursive directory. This information is used by filesystem watchers to monitor for - // new entries in these paths. - wildcardDirectories: getWildcardDirectories(configFileSpecs, basePathForFileNames, host.useCaseSensitiveFileNames), - compileOnSave: !!raw.compileOnSave - }; - function getConfigFileSpecs() { - const referencesOfRaw = getPropFromRaw("references", (element) => typeof element === "object", "object"); - const filesSpecs = toPropValue(getSpecsFromRaw("files")); - if (filesSpecs) { - const hasZeroOrNoReferences = referencesOfRaw === "no-prop" || isArray(referencesOfRaw) && referencesOfRaw.length === 0; - const hasExtends = hasProperty(raw, "extends"); - if (filesSpecs.length === 0 && hasZeroOrNoReferences && !hasExtends) { - if (sourceFile) { - const fileName = configFileName || "tsconfig.json"; - const diagnosticMessage = Diagnostics.The_files_list_in_config_file_0_is_empty; - const nodeValue = forEachTsConfigPropArray(sourceFile, "files", (property) => property.initializer); - const error = createDiagnosticForNodeInSourceFileOrCompilerDiagnostic(sourceFile, nodeValue, diagnosticMessage, fileName); - errors.push(error); - } else { - createCompilerDiagnosticOnlyIfJson(Diagnostics.The_files_list_in_config_file_0_is_empty, configFileName || "tsconfig.json"); - } - } - } - let includeSpecs = toPropValue(getSpecsFromRaw("include")); - const excludeOfRaw = getSpecsFromRaw("exclude"); - let isDefaultIncludeSpec = false; - let excludeSpecs = toPropValue(excludeOfRaw); - if (excludeOfRaw === "no-prop") { - const outDir = options.outDir; - const declarationDir = options.declarationDir; - if (outDir || declarationDir) { - excludeSpecs = filter([outDir, declarationDir], (d) => !!d); - } - } - if (filesSpecs === void 0 && includeSpecs === void 0) { - includeSpecs = [defaultIncludeSpec]; - isDefaultIncludeSpec = true; - } - let validatedIncludeSpecsBeforeSubstitution, validatedExcludeSpecsBeforeSubstitution; - let validatedIncludeSpecs, validatedExcludeSpecs; - if (includeSpecs) { - validatedIncludeSpecsBeforeSubstitution = validateSpecs( - includeSpecs, - errors, - /*disallowTrailingRecursion*/ - true, - sourceFile, - "include" - ); - validatedIncludeSpecs = getSubstitutedStringArrayWithConfigDirTemplate( - validatedIncludeSpecsBeforeSubstitution, - basePathForFileNames - ) || validatedIncludeSpecsBeforeSubstitution; - } - if (excludeSpecs) { - validatedExcludeSpecsBeforeSubstitution = validateSpecs( - excludeSpecs, - errors, - /*disallowTrailingRecursion*/ - false, - sourceFile, - "exclude" - ); - validatedExcludeSpecs = getSubstitutedStringArrayWithConfigDirTemplate( - validatedExcludeSpecsBeforeSubstitution, - basePathForFileNames - ) || validatedExcludeSpecsBeforeSubstitution; - } - const validatedFilesSpecBeforeSubstitution = filter(filesSpecs, isString); - const validatedFilesSpec = getSubstitutedStringArrayWithConfigDirTemplate( - validatedFilesSpecBeforeSubstitution, - basePathForFileNames - ) || validatedFilesSpecBeforeSubstitution; - return { - filesSpecs, - includeSpecs, - excludeSpecs, - validatedFilesSpec, - validatedIncludeSpecs, - validatedExcludeSpecs, - validatedFilesSpecBeforeSubstitution, - validatedIncludeSpecsBeforeSubstitution, - validatedExcludeSpecsBeforeSubstitution, - pathPatterns: void 0, - // Initialized on first use - isDefaultIncludeSpec - }; - } - function getFileNames(basePath2) { - const fileNames = getFileNamesFromConfigSpecs(configFileSpecs, basePath2, options, host, extraFileExtensions); - if (shouldReportNoInputFiles(fileNames, canJsonReportNoInputFiles(raw), resolutionStack)) { - errors.push(getErrorForNoInputFiles(configFileSpecs, configFileName)); - } - return fileNames; - } - function getProjectReferences(basePath2) { - let projectReferences; - const referencesOfRaw = getPropFromRaw("references", (element) => typeof element === "object", "object"); - if (isArray(referencesOfRaw)) { - for (const ref of referencesOfRaw) { - if (typeof ref.path !== "string") { - createCompilerDiagnosticOnlyIfJson(Diagnostics.Compiler_option_0_requires_a_value_of_type_1, "reference.path", "string"); - } else { - (projectReferences || (projectReferences = [])).push({ - path: getNormalizedAbsolutePath(ref.path, basePath2), - originalPath: ref.path, - prepend: ref.prepend, - circular: ref.circular - }); - } - } - } - return projectReferences; - } - function toPropValue(specResult) { - return isArray(specResult) ? specResult : void 0; - } - function getSpecsFromRaw(prop) { - return getPropFromRaw(prop, isString, "string"); - } - function getPropFromRaw(prop, validateElement, elementTypeName) { - if (hasProperty(raw, prop) && !isNullOrUndefined(raw[prop])) { - if (isArray(raw[prop])) { - const result = raw[prop]; - if (!sourceFile && !every(result, validateElement)) { - errors.push(createCompilerDiagnostic(Diagnostics.Compiler_option_0_requires_a_value_of_type_1, prop, elementTypeName)); - } - return result; - } else { - createCompilerDiagnosticOnlyIfJson(Diagnostics.Compiler_option_0_requires_a_value_of_type_1, prop, "Array"); - return "not-array"; - } - } - return "no-prop"; - } - function createCompilerDiagnosticOnlyIfJson(message, ...args) { - if (!sourceFile) { - errors.push(createCompilerDiagnostic(message, ...args)); - } - } -} -function handleWatchOptionsConfigDirTemplateSubstitution(watchOptions, basePath) { - return handleOptionConfigDirTemplateSubstitution(watchOptions, configDirTemplateSubstitutionWatchOptions, basePath); -} -function handleOptionConfigDirTemplateSubstitution(options, optionDeclarations2, basePath) { - if (!options) return options; - let result; - for (const option of optionDeclarations2) { - if (options[option.name] !== void 0) { - const value = options[option.name]; - switch (option.type) { - case "string": - Debug.assert(option.isFilePath); - if (startsWithConfigDirTemplate(value)) { - setOptionValue(option, getSubstitutedPathWithConfigDirTemplate(value, basePath)); - } - break; - case "list": - Debug.assert(option.element.isFilePath); - const listResult = getSubstitutedStringArrayWithConfigDirTemplate(value, basePath); - if (listResult) setOptionValue(option, listResult); - break; - case "object": - Debug.assert(option.name === "paths"); - const objectResult = getSubstitutedMapLikeOfStringArrayWithConfigDirTemplate(value, basePath); - if (objectResult) setOptionValue(option, objectResult); - break; - default: - Debug.fail("option type not supported"); - } - } - } - return result || options; - function setOptionValue(option, value) { - (result ?? (result = assign({}, options)))[option.name] = value; - } -} -var configDirTemplate = `\${configDir}`; -function startsWithConfigDirTemplate(value) { - return isString(value) && startsWith( - value, - configDirTemplate, - /*ignoreCase*/ - true - ); -} -function getSubstitutedPathWithConfigDirTemplate(value, basePath) { - return getNormalizedAbsolutePath(value.replace(configDirTemplate, "./"), basePath); -} -function getSubstitutedStringArrayWithConfigDirTemplate(list, basePath) { - if (!list) return list; - let result; - list.forEach((element, index) => { - if (!startsWithConfigDirTemplate(element)) return; - (result ?? (result = list.slice()))[index] = getSubstitutedPathWithConfigDirTemplate(element, basePath); - }); - return result; -} -function getSubstitutedMapLikeOfStringArrayWithConfigDirTemplate(mapLike, basePath) { - let result; - const ownKeys = getOwnKeys(mapLike); - ownKeys.forEach((key) => { - if (!isArray(mapLike[key])) return; - const subStitution = getSubstitutedStringArrayWithConfigDirTemplate(mapLike[key], basePath); - if (!subStitution) return; - (result ?? (result = assign({}, mapLike)))[key] = subStitution; - }); - return result; -} -function isErrorNoInputFiles(error) { - return error.code === Diagnostics.No_inputs_were_found_in_config_file_0_Specified_include_paths_were_1_and_exclude_paths_were_2.code; -} -function getErrorForNoInputFiles({ includeSpecs, excludeSpecs }, configFileName) { - return createCompilerDiagnostic( - Diagnostics.No_inputs_were_found_in_config_file_0_Specified_include_paths_were_1_and_exclude_paths_were_2, - configFileName || "tsconfig.json", - JSON.stringify(includeSpecs || []), - JSON.stringify(excludeSpecs || []) - ); -} -function shouldReportNoInputFiles(fileNames, canJsonReportNoInutFiles, resolutionStack) { - return fileNames.length === 0 && canJsonReportNoInutFiles && (!resolutionStack || resolutionStack.length === 0); -} -function canJsonReportNoInputFiles(raw) { - return !hasProperty(raw, "files") && !hasProperty(raw, "references"); -} -function updateErrorForNoInputFiles(fileNames, configFileName, configFileSpecs, configParseDiagnostics, canJsonReportNoInutFiles) { - const existingErrors = configParseDiagnostics.length; - if (shouldReportNoInputFiles(fileNames, canJsonReportNoInutFiles)) { - configParseDiagnostics.push(getErrorForNoInputFiles(configFileSpecs, configFileName)); - } else { - filterMutate(configParseDiagnostics, (error) => !isErrorNoInputFiles(error)); - } - return existingErrors !== configParseDiagnostics.length; -} -function isSuccessfulParsedTsconfig(value) { - return !!value.options; -} -function parseConfig(json, sourceFile, host, basePath, configFileName, resolutionStack, errors, extendedConfigCache) { - var _a; - basePath = normalizeSlashes(basePath); - const resolvedPath = getNormalizedAbsolutePath(configFileName || "", basePath); - if (resolutionStack.includes(resolvedPath)) { - errors.push(createCompilerDiagnostic(Diagnostics.Circularity_detected_while_resolving_configuration_Colon_0, [...resolutionStack, resolvedPath].join(" -> "))); - return { raw: json || convertToObject(sourceFile, errors) }; - } - const ownConfig = json ? parseOwnConfigOfJson(json, host, basePath, configFileName, errors) : parseOwnConfigOfJsonSourceFile(sourceFile, host, basePath, configFileName, errors); - if ((_a = ownConfig.options) == null ? void 0 : _a.paths) { - ownConfig.options.pathsBasePath = basePath; - } - if (ownConfig.extendedConfigPath) { - resolutionStack = resolutionStack.concat([resolvedPath]); - const result = { options: {} }; - if (isString(ownConfig.extendedConfigPath)) { - applyExtendedConfig(result, ownConfig.extendedConfigPath); - } else { - ownConfig.extendedConfigPath.forEach((extendedConfigPath) => applyExtendedConfig(result, extendedConfigPath)); - } - if (result.include) ownConfig.raw.include = result.include; - if (result.exclude) ownConfig.raw.exclude = result.exclude; - if (result.files) ownConfig.raw.files = result.files; - if (ownConfig.raw.compileOnSave === void 0 && result.compileOnSave) ownConfig.raw.compileOnSave = result.compileOnSave; - if (sourceFile && result.extendedSourceFiles) sourceFile.extendedSourceFiles = arrayFrom(result.extendedSourceFiles.keys()); - ownConfig.options = assign(result.options, ownConfig.options); - ownConfig.watchOptions = ownConfig.watchOptions && result.watchOptions ? assign(result.watchOptions, ownConfig.watchOptions) : ownConfig.watchOptions || result.watchOptions; - } - return ownConfig; - function applyExtendedConfig(result, extendedConfigPath) { - const extendedConfig = getExtendedConfig(sourceFile, extendedConfigPath, host, resolutionStack, errors, extendedConfigCache, result); - if (extendedConfig && isSuccessfulParsedTsconfig(extendedConfig)) { - const extendsRaw = extendedConfig.raw; - let relativeDifference; - const setPropertyInResultIfNotUndefined = (propertyName) => { - if (ownConfig.raw[propertyName]) return; - if (extendsRaw[propertyName]) { - result[propertyName] = map(extendsRaw[propertyName], (path) => startsWithConfigDirTemplate(path) || isRootedDiskPath(path) ? path : combinePaths( - relativeDifference || (relativeDifference = convertToRelativePath(getDirectoryPath(extendedConfigPath), basePath, createGetCanonicalFileName(host.useCaseSensitiveFileNames))), - path - )); - } - }; - setPropertyInResultIfNotUndefined("include"); - setPropertyInResultIfNotUndefined("exclude"); - setPropertyInResultIfNotUndefined("files"); - if (extendsRaw.compileOnSave !== void 0) { - result.compileOnSave = extendsRaw.compileOnSave; - } - assign(result.options, extendedConfig.options); - result.watchOptions = result.watchOptions && extendedConfig.watchOptions ? assign({}, result.watchOptions, extendedConfig.watchOptions) : result.watchOptions || extendedConfig.watchOptions; - } - } -} -function parseOwnConfigOfJson(json, host, basePath, configFileName, errors) { - if (hasProperty(json, "excludes")) { - errors.push(createCompilerDiagnostic(Diagnostics.Unknown_option_excludes_Did_you_mean_exclude)); - } - const options = convertCompilerOptionsFromJsonWorker(json.compilerOptions, basePath, errors, configFileName); - const typeAcquisition = convertTypeAcquisitionFromJsonWorker(json.typeAcquisition, basePath, errors, configFileName); - const watchOptions = convertWatchOptionsFromJsonWorker(json.watchOptions, basePath, errors); - json.compileOnSave = convertCompileOnSaveOptionFromJson(json, basePath, errors); - const extendedConfigPath = json.extends || json.extends === "" ? getExtendsConfigPathOrArray(json.extends, host, basePath, configFileName, errors) : void 0; - return { raw: json, options, watchOptions, typeAcquisition, extendedConfigPath }; -} -function getExtendsConfigPathOrArray(value, host, basePath, configFileName, errors, propertyAssignment, valueExpression, sourceFile) { - let extendedConfigPath; - const newBase = configFileName ? directoryOfCombinedPath(configFileName, basePath) : basePath; - if (isString(value)) { - extendedConfigPath = getExtendsConfigPath( - value, - host, - newBase, - errors, - valueExpression, - sourceFile - ); - } else if (isArray(value)) { - extendedConfigPath = []; - for (let index = 0; index < value.length; index++) { - const fileName = value[index]; - if (isString(fileName)) { - extendedConfigPath = append( - extendedConfigPath, - getExtendsConfigPath( - fileName, - host, - newBase, - errors, - valueExpression == null ? void 0 : valueExpression.elements[index], - sourceFile - ) - ); - } else { - convertJsonOption(extendsOptionDeclaration.element, value, basePath, errors, propertyAssignment, valueExpression == null ? void 0 : valueExpression.elements[index], sourceFile); - } - } - } else { - convertJsonOption(extendsOptionDeclaration, value, basePath, errors, propertyAssignment, valueExpression, sourceFile); - } - return extendedConfigPath; -} -function parseOwnConfigOfJsonSourceFile(sourceFile, host, basePath, configFileName, errors) { - const options = getDefaultCompilerOptions(configFileName); - let typeAcquisition; - let watchOptions; - let extendedConfigPath; - let rootCompilerOptions; - const rootOptions = getTsconfigRootOptionsMap(); - const json = convertConfigFileToObject( - sourceFile, - errors, - { rootOptions, onPropertySet } - ); - if (!typeAcquisition) { - typeAcquisition = getDefaultTypeAcquisition(configFileName); - } - if (rootCompilerOptions && json && json.compilerOptions === void 0) { - errors.push(createDiagnosticForNodeInSourceFile(sourceFile, rootCompilerOptions[0], Diagnostics._0_should_be_set_inside_the_compilerOptions_object_of_the_config_json_file, getTextOfPropertyName(rootCompilerOptions[0]))); - } - return { raw: json, options, watchOptions, typeAcquisition, extendedConfigPath }; - function onPropertySet(keyText, value, propertyAssignment, parentOption, option) { - if (option && option !== extendsOptionDeclaration) value = convertJsonOption(option, value, basePath, errors, propertyAssignment, propertyAssignment.initializer, sourceFile); - if (parentOption == null ? void 0 : parentOption.name) { - if (option) { - let currentOption; - if (parentOption === compilerOptionsDeclaration) currentOption = options; - else if (parentOption === watchOptionsDeclaration) currentOption = watchOptions ?? (watchOptions = {}); - else if (parentOption === typeAcquisitionDeclaration) currentOption = typeAcquisition ?? (typeAcquisition = getDefaultTypeAcquisition(configFileName)); - else Debug.fail("Unknown option"); - currentOption[option.name] = value; - } else if (keyText && (parentOption == null ? void 0 : parentOption.extraKeyDiagnostics)) { - if (parentOption.elementOptions) { - errors.push(createUnknownOptionError( - keyText, - parentOption.extraKeyDiagnostics, - /*unknownOptionErrorText*/ - void 0, - propertyAssignment.name, - sourceFile - )); - } else { - errors.push(createDiagnosticForNodeInSourceFile(sourceFile, propertyAssignment.name, parentOption.extraKeyDiagnostics.unknownOptionDiagnostic, keyText)); - } - } - } else if (parentOption === rootOptions) { - if (option === extendsOptionDeclaration) { - extendedConfigPath = getExtendsConfigPathOrArray(value, host, basePath, configFileName, errors, propertyAssignment, propertyAssignment.initializer, sourceFile); - } else if (!option) { - if (keyText === "excludes") { - errors.push(createDiagnosticForNodeInSourceFile(sourceFile, propertyAssignment.name, Diagnostics.Unknown_option_excludes_Did_you_mean_exclude)); - } - if (find(commandOptionsWithoutBuild, (opt) => opt.name === keyText)) { - rootCompilerOptions = append(rootCompilerOptions, propertyAssignment.name); - } - } - } - } -} -function getExtendsConfigPath(extendedConfig, host, basePath, errors, valueExpression, sourceFile) { - extendedConfig = normalizeSlashes(extendedConfig); - if (isRootedDiskPath(extendedConfig) || startsWith(extendedConfig, "./") || startsWith(extendedConfig, "../")) { - let extendedConfigPath = getNormalizedAbsolutePath(extendedConfig, basePath); - if (!host.fileExists(extendedConfigPath) && !endsWith(extendedConfigPath, ".json" /* Json */)) { - extendedConfigPath = `${extendedConfigPath}.json`; - if (!host.fileExists(extendedConfigPath)) { - errors.push(createDiagnosticForNodeInSourceFileOrCompilerDiagnostic(sourceFile, valueExpression, Diagnostics.File_0_not_found, extendedConfig)); - return void 0; - } - } - return extendedConfigPath; - } - const resolved = nodeNextJsonConfigResolver(extendedConfig, combinePaths(basePath, "tsconfig.json"), host); - if (resolved.resolvedModule) { - return resolved.resolvedModule.resolvedFileName; - } - if (extendedConfig === "") { - errors.push(createDiagnosticForNodeInSourceFileOrCompilerDiagnostic(sourceFile, valueExpression, Diagnostics.Compiler_option_0_cannot_be_given_an_empty_string, "extends")); - } else { - errors.push(createDiagnosticForNodeInSourceFileOrCompilerDiagnostic(sourceFile, valueExpression, Diagnostics.File_0_not_found, extendedConfig)); - } - return void 0; -} -function getExtendedConfig(sourceFile, extendedConfigPath, host, resolutionStack, errors, extendedConfigCache, result) { - const path = host.useCaseSensitiveFileNames ? extendedConfigPath : toFileNameLowerCase(extendedConfigPath); - let value; - let extendedResult; - let extendedConfig; - if (extendedConfigCache && (value = extendedConfigCache.get(path))) { - ({ extendedResult, extendedConfig } = value); - } else { - extendedResult = readJsonConfigFile(extendedConfigPath, (path2) => host.readFile(path2)); - if (!extendedResult.parseDiagnostics.length) { - extendedConfig = parseConfig( - /*json*/ - void 0, - extendedResult, - host, - getDirectoryPath(extendedConfigPath), - getBaseFileName(extendedConfigPath), - resolutionStack, - errors, - extendedConfigCache - ); - } - if (extendedConfigCache) { - extendedConfigCache.set(path, { extendedResult, extendedConfig }); - } - } - if (sourceFile) { - (result.extendedSourceFiles ?? (result.extendedSourceFiles = /* @__PURE__ */ new Set())).add(extendedResult.fileName); - if (extendedResult.extendedSourceFiles) { - for (const extenedSourceFile of extendedResult.extendedSourceFiles) { - result.extendedSourceFiles.add(extenedSourceFile); - } - } - } - if (extendedResult.parseDiagnostics.length) { - errors.push(...extendedResult.parseDiagnostics); - return void 0; - } - return extendedConfig; -} -function convertCompileOnSaveOptionFromJson(jsonOption, basePath, errors) { - if (!hasProperty(jsonOption, compileOnSaveCommandLineOption.name)) { - return false; - } - const result = convertJsonOption(compileOnSaveCommandLineOption, jsonOption.compileOnSave, basePath, errors); - return typeof result === "boolean" && result; -} -function getDefaultCompilerOptions(configFileName) { - const options = configFileName && getBaseFileName(configFileName) === "jsconfig.json" ? { allowJs: true, maxNodeModuleJsDepth: 2, allowSyntheticDefaultImports: true, skipLibCheck: true, noEmit: true } : {}; - return options; -} -function convertCompilerOptionsFromJsonWorker(jsonOptions, basePath, errors, configFileName) { - const options = getDefaultCompilerOptions(configFileName); - convertOptionsFromJson(getCommandLineCompilerOptionsMap(), jsonOptions, basePath, options, compilerOptionsDidYouMeanDiagnostics, errors); - if (configFileName) { - options.configFilePath = normalizeSlashes(configFileName); - } - return options; -} -function getDefaultTypeAcquisition(configFileName) { - return { enable: !!configFileName && getBaseFileName(configFileName) === "jsconfig.json", include: [], exclude: [] }; -} -function convertTypeAcquisitionFromJsonWorker(jsonOptions, basePath, errors, configFileName) { - const options = getDefaultTypeAcquisition(configFileName); - convertOptionsFromJson(getCommandLineTypeAcquisitionMap(), jsonOptions, basePath, options, typeAcquisitionDidYouMeanDiagnostics, errors); - return options; -} -function convertWatchOptionsFromJsonWorker(jsonOptions, basePath, errors) { - return convertOptionsFromJson( - getCommandLineWatchOptionsMap(), - jsonOptions, - basePath, - /*defaultOptions*/ - void 0, - watchOptionsDidYouMeanDiagnostics, - errors - ); -} -function convertOptionsFromJson(optionsNameMap, jsonOptions, basePath, defaultOptions, diagnostics, errors) { - if (!jsonOptions) { - return; - } - for (const id in jsonOptions) { - const opt = optionsNameMap.get(id); - if (opt) { - (defaultOptions || (defaultOptions = {}))[opt.name] = convertJsonOption(opt, jsonOptions[id], basePath, errors); - } else { - errors.push(createUnknownOptionError(id, diagnostics)); - } - } - return defaultOptions; -} -function createDiagnosticForNodeInSourceFileOrCompilerDiagnostic(sourceFile, node, message, ...args) { - return sourceFile && node ? createDiagnosticForNodeInSourceFile(sourceFile, node, message, ...args) : createCompilerDiagnostic(message, ...args); -} -function convertJsonOption(opt, value, basePath, errors, propertyAssignment, valueExpression, sourceFile) { - if (opt.isCommandLineOnly) { - errors.push(createDiagnosticForNodeInSourceFileOrCompilerDiagnostic(sourceFile, propertyAssignment == null ? void 0 : propertyAssignment.name, Diagnostics.Option_0_can_only_be_specified_on_command_line, opt.name)); - return void 0; - } - if (isCompilerOptionsValue(opt, value)) { - const optType = opt.type; - if (optType === "list" && isArray(value)) { - return convertJsonOptionOfListType(opt, value, basePath, errors, propertyAssignment, valueExpression, sourceFile); - } else if (optType === "listOrElement") { - return isArray(value) ? convertJsonOptionOfListType(opt, value, basePath, errors, propertyAssignment, valueExpression, sourceFile) : convertJsonOption(opt.element, value, basePath, errors, propertyAssignment, valueExpression, sourceFile); - } else if (!isString(opt.type)) { - return convertJsonOptionOfCustomType(opt, value, errors, valueExpression, sourceFile); - } - const validatedValue = validateJsonOptionValue(opt, value, errors, valueExpression, sourceFile); - return isNullOrUndefined(validatedValue) ? validatedValue : normalizeNonListOptionValue(opt, basePath, validatedValue); - } else { - errors.push(createDiagnosticForNodeInSourceFileOrCompilerDiagnostic(sourceFile, valueExpression, Diagnostics.Compiler_option_0_requires_a_value_of_type_1, opt.name, getCompilerOptionValueTypeString(opt))); - } -} -function normalizeNonListOptionValue(option, basePath, value) { - if (option.isFilePath) { - value = normalizeSlashes(value); - value = !startsWithConfigDirTemplate(value) ? getNormalizedAbsolutePath(value, basePath) : value; - if (value === "") { - value = "."; - } - } - return value; -} -function validateJsonOptionValue(opt, value, errors, valueExpression, sourceFile) { - var _a; - if (isNullOrUndefined(value)) return void 0; - const d = (_a = opt.extraValidation) == null ? void 0 : _a.call(opt, value); - if (!d) return value; - errors.push(createDiagnosticForNodeInSourceFileOrCompilerDiagnostic(sourceFile, valueExpression, ...d)); - return void 0; -} -function convertJsonOptionOfCustomType(opt, value, errors, valueExpression, sourceFile) { - if (isNullOrUndefined(value)) return void 0; - const key = value.toLowerCase(); - const val = opt.type.get(key); - if (val !== void 0) { - return validateJsonOptionValue(opt, val, errors, valueExpression, sourceFile); - } else { - errors.push(createDiagnosticForInvalidCustomType(opt, (message, ...args) => createDiagnosticForNodeInSourceFileOrCompilerDiagnostic(sourceFile, valueExpression, message, ...args))); - } -} -function convertJsonOptionOfListType(option, values, basePath, errors, propertyAssignment, valueExpression, sourceFile) { - return filter(map(values, (v, index) => convertJsonOption(option.element, v, basePath, errors, propertyAssignment, valueExpression == null ? void 0 : valueExpression.elements[index], sourceFile)), (v) => option.listPreserveFalsyValues ? true : !!v); -} -var invalidTrailingRecursionPattern = /(?:^|\/)\*\*\/?$/; -var wildcardDirectoryPattern = /^[^*?]*(?=\/[^/]*[*?])/; -function getFileNamesFromConfigSpecs(configFileSpecs, basePath, options, host, extraFileExtensions = emptyArray) { - basePath = normalizePath(basePath); - const keyMapper = createGetCanonicalFileName(host.useCaseSensitiveFileNames); - const literalFileMap = /* @__PURE__ */ new Map(); - const wildcardFileMap = /* @__PURE__ */ new Map(); - const wildCardJsonFileMap = /* @__PURE__ */ new Map(); - const { validatedFilesSpec, validatedIncludeSpecs, validatedExcludeSpecs } = configFileSpecs; - const supportedExtensions = getSupportedExtensions(options, extraFileExtensions); - const supportedExtensionsWithJsonIfResolveJsonModule = getSupportedExtensionsWithJsonIfResolveJsonModule(options, supportedExtensions); - if (validatedFilesSpec) { - for (const fileName of validatedFilesSpec) { - const file = getNormalizedAbsolutePath(fileName, basePath); - literalFileMap.set(keyMapper(file), file); - } - } - let jsonOnlyIncludeRegexes; - if (validatedIncludeSpecs && validatedIncludeSpecs.length > 0) { - for (const file of host.readDirectory( - basePath, - flatten(supportedExtensionsWithJsonIfResolveJsonModule), - validatedExcludeSpecs, - validatedIncludeSpecs, - /*depth*/ - void 0 - )) { - if (fileExtensionIs(file, ".json" /* Json */)) { - if (!jsonOnlyIncludeRegexes) { - const includes = validatedIncludeSpecs.filter((s) => endsWith(s, ".json" /* Json */)); - const includeFilePatterns = map(getRegularExpressionsForWildcards(includes, basePath, "files"), (pattern) => `^${pattern}$`); - jsonOnlyIncludeRegexes = includeFilePatterns ? includeFilePatterns.map((pattern) => getRegexFromPattern(pattern, host.useCaseSensitiveFileNames)) : emptyArray; - } - const includeIndex = findIndex(jsonOnlyIncludeRegexes, (re) => re.test(file)); - if (includeIndex !== -1) { - const key2 = keyMapper(file); - if (!literalFileMap.has(key2) && !wildCardJsonFileMap.has(key2)) { - wildCardJsonFileMap.set(key2, file); - } - } - continue; - } - if (hasFileWithHigherPriorityExtension(file, literalFileMap, wildcardFileMap, supportedExtensions, keyMapper)) { - continue; - } - removeWildcardFilesWithLowerPriorityExtension(file, wildcardFileMap, supportedExtensions, keyMapper); - const key = keyMapper(file); - if (!literalFileMap.has(key) && !wildcardFileMap.has(key)) { - wildcardFileMap.set(key, file); - } - } - } - const literalFiles = arrayFrom(literalFileMap.values()); - const wildcardFiles = arrayFrom(wildcardFileMap.values()); - return literalFiles.concat(wildcardFiles, arrayFrom(wildCardJsonFileMap.values())); -} -function isExcludedFile(pathToCheck, spec, basePath, useCaseSensitiveFileNames2, currentDirectory) { - const { validatedFilesSpec, validatedIncludeSpecs, validatedExcludeSpecs } = spec; - if (!length(validatedIncludeSpecs) || !length(validatedExcludeSpecs)) return false; - basePath = normalizePath(basePath); - const keyMapper = createGetCanonicalFileName(useCaseSensitiveFileNames2); - if (validatedFilesSpec) { - for (const fileName of validatedFilesSpec) { - if (keyMapper(getNormalizedAbsolutePath(fileName, basePath)) === pathToCheck) return false; - } - } - return matchesExcludeWorker(pathToCheck, validatedExcludeSpecs, useCaseSensitiveFileNames2, currentDirectory, basePath); -} -function invalidDotDotAfterRecursiveWildcard(s) { - const wildcardIndex = startsWith(s, "**/") ? 0 : s.indexOf("/**/"); - if (wildcardIndex === -1) { - return false; - } - const lastDotIndex = endsWith(s, "/..") ? s.length : s.lastIndexOf("/../"); - return lastDotIndex > wildcardIndex; -} -function matchesExclude(pathToCheck, excludeSpecs, useCaseSensitiveFileNames2, currentDirectory) { - return matchesExcludeWorker( - pathToCheck, - filter(excludeSpecs, (spec) => !invalidDotDotAfterRecursiveWildcard(spec)), - useCaseSensitiveFileNames2, - currentDirectory - ); -} -function matchesExcludeWorker(pathToCheck, excludeSpecs, useCaseSensitiveFileNames2, currentDirectory, basePath) { - const excludePattern = getRegularExpressionForWildcard(excludeSpecs, combinePaths(normalizePath(currentDirectory), basePath), "exclude"); - const excludeRegex = excludePattern && getRegexFromPattern(excludePattern, useCaseSensitiveFileNames2); - if (!excludeRegex) return false; - if (excludeRegex.test(pathToCheck)) return true; - return !hasExtension(pathToCheck) && excludeRegex.test(ensureTrailingDirectorySeparator(pathToCheck)); -} -function validateSpecs(specs, errors, disallowTrailingRecursion, jsonSourceFile, specKey) { - return specs.filter((spec) => { - if (!isString(spec)) return false; - const diag2 = specToDiagnostic(spec, disallowTrailingRecursion); - if (diag2 !== void 0) { - errors.push(createDiagnostic(...diag2)); - } - return diag2 === void 0; - }); - function createDiagnostic(message, spec) { - const element = getTsConfigPropArrayElementValue(jsonSourceFile, specKey, spec); - return createDiagnosticForNodeInSourceFileOrCompilerDiagnostic(jsonSourceFile, element, message, spec); - } -} -function specToDiagnostic(spec, disallowTrailingRecursion) { - Debug.assert(typeof spec === "string"); - if (disallowTrailingRecursion && invalidTrailingRecursionPattern.test(spec)) { - return [Diagnostics.File_specification_cannot_end_in_a_recursive_directory_wildcard_Asterisk_Asterisk_Colon_0, spec]; - } else if (invalidDotDotAfterRecursiveWildcard(spec)) { - return [Diagnostics.File_specification_cannot_contain_a_parent_directory_that_appears_after_a_recursive_directory_wildcard_Asterisk_Asterisk_Colon_0, spec]; - } -} -function getWildcardDirectories({ validatedIncludeSpecs: include, validatedExcludeSpecs: exclude }, basePath, useCaseSensitiveFileNames2) { - const rawExcludeRegex = getRegularExpressionForWildcard(exclude, basePath, "exclude"); - const excludeRegex = rawExcludeRegex && new RegExp(rawExcludeRegex, useCaseSensitiveFileNames2 ? "" : "i"); - const wildcardDirectories = {}; - const wildCardKeyToPath = /* @__PURE__ */ new Map(); - if (include !== void 0) { - const recursiveKeys = []; - for (const file of include) { - const spec = normalizePath(combinePaths(basePath, file)); - if (excludeRegex && excludeRegex.test(spec)) { - continue; - } - const match = getWildcardDirectoryFromSpec(spec, useCaseSensitiveFileNames2); - if (match) { - const { key, path, flags } = match; - const existingPath = wildCardKeyToPath.get(key); - const existingFlags = existingPath !== void 0 ? wildcardDirectories[existingPath] : void 0; - if (existingFlags === void 0 || existingFlags < flags) { - wildcardDirectories[existingPath !== void 0 ? existingPath : path] = flags; - if (existingPath === void 0) wildCardKeyToPath.set(key, path); - if (flags === 1 /* Recursive */) { - recursiveKeys.push(key); - } - } - } - } - for (const path in wildcardDirectories) { - if (hasProperty(wildcardDirectories, path)) { - for (const recursiveKey of recursiveKeys) { - const key = toCanonicalKey(path, useCaseSensitiveFileNames2); - if (key !== recursiveKey && containsPath(recursiveKey, key, basePath, !useCaseSensitiveFileNames2)) { - delete wildcardDirectories[path]; - } - } - } - } - } - return wildcardDirectories; -} -function toCanonicalKey(path, useCaseSensitiveFileNames2) { - return useCaseSensitiveFileNames2 ? path : toFileNameLowerCase(path); -} -function getWildcardDirectoryFromSpec(spec, useCaseSensitiveFileNames2) { - const match = wildcardDirectoryPattern.exec(spec); - if (match) { - const questionWildcardIndex = spec.indexOf("?"); - const starWildcardIndex = spec.indexOf("*"); - const lastDirectorySeperatorIndex = spec.lastIndexOf(directorySeparator); - return { - key: toCanonicalKey(match[0], useCaseSensitiveFileNames2), - path: match[0], - flags: questionWildcardIndex !== -1 && questionWildcardIndex < lastDirectorySeperatorIndex || starWildcardIndex !== -1 && starWildcardIndex < lastDirectorySeperatorIndex ? 1 /* Recursive */ : 0 /* None */ - }; - } - if (isImplicitGlob(spec.substring(spec.lastIndexOf(directorySeparator) + 1))) { - const path = removeTrailingDirectorySeparator(spec); - return { - key: toCanonicalKey(path, useCaseSensitiveFileNames2), - path, - flags: 1 /* Recursive */ - }; - } - return void 0; -} -function hasFileWithHigherPriorityExtension(file, literalFiles, wildcardFiles, extensions, keyMapper) { - const extensionGroup = forEach(extensions, (group2) => fileExtensionIsOneOf(file, group2) ? group2 : void 0); - if (!extensionGroup) { - return false; - } - for (const ext of extensionGroup) { - if (fileExtensionIs(file, ext) && (ext !== ".ts" /* Ts */ || !fileExtensionIs(file, ".d.ts" /* Dts */))) { - return false; - } - const higherPriorityPath = keyMapper(changeExtension(file, ext)); - if (literalFiles.has(higherPriorityPath) || wildcardFiles.has(higherPriorityPath)) { - if (ext === ".d.ts" /* Dts */ && (fileExtensionIs(file, ".js" /* Js */) || fileExtensionIs(file, ".jsx" /* Jsx */))) { - continue; - } - return true; - } - } - return false; -} -function removeWildcardFilesWithLowerPriorityExtension(file, wildcardFiles, extensions, keyMapper) { - const extensionGroup = forEach(extensions, (group2) => fileExtensionIsOneOf(file, group2) ? group2 : void 0); - if (!extensionGroup) { - return; - } - for (let i = extensionGroup.length - 1; i >= 0; i--) { - const ext = extensionGroup[i]; - if (fileExtensionIs(file, ext)) { - return; - } - const lowerPriorityPath = keyMapper(changeExtension(file, ext)); - wildcardFiles.delete(lowerPriorityPath); - } -} -function getDefaultValueForOption(option) { - switch (option.type) { - case "number": - return 1; - case "boolean": - return true; - case "string": - const defaultValue = option.defaultValueDescription; - return option.isFilePath ? `./${defaultValue && typeof defaultValue === "string" ? defaultValue : ""}` : ""; - case "list": - return []; - case "listOrElement": - return getDefaultValueForOption(option.element); - case "object": - return {}; - default: - const value = firstOrUndefinedIterator(option.type.keys()); - if (value !== void 0) return value; - return Debug.fail("Expected 'option.type' to have entries."); - } -} - -// src/compiler/moduleNameResolver.ts -function trace(host, message, ...args) { - host.trace(formatMessage(message, ...args)); -} -function isTraceEnabled(compilerOptions, host) { - return !!compilerOptions.traceResolution && host.trace !== void 0; -} -function withPackageId(packageInfo, r, state) { - let packageId; - if (r && packageInfo) { - const packageJsonContent = packageInfo.contents.packageJsonContent; - if (typeof packageJsonContent.name === "string" && typeof packageJsonContent.version === "string") { - packageId = { - name: packageJsonContent.name, - subModuleName: r.path.slice(packageInfo.packageDirectory.length + directorySeparator.length), - version: packageJsonContent.version, - peerDependencies: getPeerDependenciesOfPackageJsonInfo(packageInfo, state) - }; - } - } - return r && { path: r.path, extension: r.ext, packageId, resolvedUsingTsExtension: r.resolvedUsingTsExtension }; -} -function noPackageId(r) { - return withPackageId( - /*packageInfo*/ - void 0, - r, - /*state*/ - void 0 - ); -} -function removeIgnoredPackageId(r) { - if (r) { - Debug.assert(r.packageId === void 0); - return { path: r.path, ext: r.extension, resolvedUsingTsExtension: r.resolvedUsingTsExtension }; - } -} -function formatExtensions(extensions) { - const result = []; - if (extensions & 1 /* TypeScript */) result.push("TypeScript"); - if (extensions & 2 /* JavaScript */) result.push("JavaScript"); - if (extensions & 4 /* Declaration */) result.push("Declaration"); - if (extensions & 8 /* Json */) result.push("JSON"); - return result.join(", "); -} -function resolvedTypeScriptOnly(resolved) { - if (!resolved) { - return void 0; - } - Debug.assert(extensionIsTS(resolved.extension)); - return { fileName: resolved.path, packageId: resolved.packageId }; -} -function createResolvedModuleWithFailedLookupLocationsHandlingSymlink(moduleName, resolved, isExternalLibraryImport, failedLookupLocations, affectingLocations, diagnostics, state, cache, alternateResult) { - if (!state.resultFromCache && !state.compilerOptions.preserveSymlinks && resolved && isExternalLibraryImport && !resolved.originalPath && !isExternalModuleNameRelative(moduleName)) { - const { resolvedFileName, originalPath } = getOriginalAndResolvedFileName(resolved.path, state.host, state.traceEnabled); - if (originalPath) resolved = { ...resolved, path: resolvedFileName, originalPath }; - } - return createResolvedModuleWithFailedLookupLocations( - resolved, - isExternalLibraryImport, - failedLookupLocations, - affectingLocations, - diagnostics, - state.resultFromCache, - cache, - alternateResult - ); -} -function createResolvedModuleWithFailedLookupLocations(resolved, isExternalLibraryImport, failedLookupLocations, affectingLocations, diagnostics, resultFromCache, cache, alternateResult) { - if (resultFromCache) { - if (!(cache == null ? void 0 : cache.isReadonly)) { - resultFromCache.failedLookupLocations = updateResolutionField(resultFromCache.failedLookupLocations, failedLookupLocations); - resultFromCache.affectingLocations = updateResolutionField(resultFromCache.affectingLocations, affectingLocations); - resultFromCache.resolutionDiagnostics = updateResolutionField(resultFromCache.resolutionDiagnostics, diagnostics); - return resultFromCache; - } else { - return { - ...resultFromCache, - failedLookupLocations: initializeResolutionFieldForReadonlyCache(resultFromCache.failedLookupLocations, failedLookupLocations), - affectingLocations: initializeResolutionFieldForReadonlyCache(resultFromCache.affectingLocations, affectingLocations), - resolutionDiagnostics: initializeResolutionFieldForReadonlyCache(resultFromCache.resolutionDiagnostics, diagnostics) - }; - } - } - return { - resolvedModule: resolved && { - resolvedFileName: resolved.path, - originalPath: resolved.originalPath === true ? void 0 : resolved.originalPath, - extension: resolved.extension, - isExternalLibraryImport, - packageId: resolved.packageId, - resolvedUsingTsExtension: !!resolved.resolvedUsingTsExtension - }, - failedLookupLocations: initializeResolutionField(failedLookupLocations), - affectingLocations: initializeResolutionField(affectingLocations), - resolutionDiagnostics: initializeResolutionField(diagnostics), - alternateResult - }; -} -function initializeResolutionField(value) { - return value.length ? value : void 0; -} -function updateResolutionField(to, value) { - if (!(value == null ? void 0 : value.length)) return to; - if (!(to == null ? void 0 : to.length)) return value; - to.push(...value); - return to; -} -function initializeResolutionFieldForReadonlyCache(fromCache, value) { - if (!(fromCache == null ? void 0 : fromCache.length)) return initializeResolutionField(value); - if (!value.length) return fromCache.slice(); - return [...fromCache, ...value]; -} -function readPackageJsonField(jsonContent, fieldName, typeOfTag, state) { - if (!hasProperty(jsonContent, fieldName)) { - if (state.traceEnabled) { - trace(state.host, Diagnostics.package_json_does_not_have_a_0_field, fieldName); - } - return; - } - const value = jsonContent[fieldName]; - if (typeof value !== typeOfTag || value === null) { - if (state.traceEnabled) { - trace(state.host, Diagnostics.Expected_type_of_0_field_in_package_json_to_be_1_got_2, fieldName, typeOfTag, value === null ? "null" : typeof value); - } - return; - } - return value; -} -function readPackageJsonPathField(jsonContent, fieldName, baseDirectory, state) { - const fileName = readPackageJsonField(jsonContent, fieldName, "string", state); - if (fileName === void 0) { - return; - } - if (!fileName) { - if (state.traceEnabled) { - trace(state.host, Diagnostics.package_json_had_a_falsy_0_field, fieldName); - } - return; - } - const path = normalizePath(combinePaths(baseDirectory, fileName)); - if (state.traceEnabled) { - trace(state.host, Diagnostics.package_json_has_0_field_1_that_references_2, fieldName, fileName, path); - } - return path; -} -function readPackageJsonTypesFields(jsonContent, baseDirectory, state) { - return readPackageJsonPathField(jsonContent, "typings", baseDirectory, state) || readPackageJsonPathField(jsonContent, "types", baseDirectory, state); -} -function readPackageJsonTSConfigField(jsonContent, baseDirectory, state) { - return readPackageJsonPathField(jsonContent, "tsconfig", baseDirectory, state); -} -function readPackageJsonMainField(jsonContent, baseDirectory, state) { - return readPackageJsonPathField(jsonContent, "main", baseDirectory, state); -} -function readPackageJsonTypesVersionsField(jsonContent, state) { - const typesVersions = readPackageJsonField(jsonContent, "typesVersions", "object", state); - if (typesVersions === void 0) return; - if (state.traceEnabled) { - trace(state.host, Diagnostics.package_json_has_a_typesVersions_field_with_version_specific_path_mappings); - } - return typesVersions; -} -function readPackageJsonTypesVersionPaths(jsonContent, state) { - const typesVersions = readPackageJsonTypesVersionsField(jsonContent, state); - if (typesVersions === void 0) return; - if (state.traceEnabled) { - for (const key in typesVersions) { - if (hasProperty(typesVersions, key) && !VersionRange.tryParse(key)) { - trace(state.host, Diagnostics.package_json_has_a_typesVersions_entry_0_that_is_not_a_valid_semver_range, key); - } - } - } - const result = getPackageJsonTypesVersionsPaths(typesVersions); - if (!result) { - if (state.traceEnabled) { - trace(state.host, Diagnostics.package_json_does_not_have_a_typesVersions_entry_that_matches_version_0, versionMajorMinor); - } - return; - } - const { version: bestVersionKey, paths: bestVersionPaths } = result; - if (typeof bestVersionPaths !== "object") { - if (state.traceEnabled) { - trace(state.host, Diagnostics.Expected_type_of_0_field_in_package_json_to_be_1_got_2, `typesVersions['${bestVersionKey}']`, "object", typeof bestVersionPaths); - } - return; - } - return result; -} -var typeScriptVersion; -function getPackageJsonTypesVersionsPaths(typesVersions) { - if (!typeScriptVersion) typeScriptVersion = new Version(version); - for (const key in typesVersions) { - if (!hasProperty(typesVersions, key)) continue; - const keyRange = VersionRange.tryParse(key); - if (keyRange === void 0) { - continue; - } - if (keyRange.test(typeScriptVersion)) { - return { version: key, paths: typesVersions[key] }; - } - } -} -function getEffectiveTypeRoots(options, host) { - if (options.typeRoots) { - return options.typeRoots; - } - let currentDirectory; - if (options.configFilePath) { - currentDirectory = getDirectoryPath(options.configFilePath); - } else if (host.getCurrentDirectory) { - currentDirectory = host.getCurrentDirectory(); - } - if (currentDirectory !== void 0) { - return getDefaultTypeRoots(currentDirectory); - } -} -function getDefaultTypeRoots(currentDirectory) { - let typeRoots; - forEachAncestorDirectory(normalizePath(currentDirectory), (directory) => { - const atTypes = combinePaths(directory, nodeModulesAtTypes); - (typeRoots ?? (typeRoots = [])).push(atTypes); - }); - return typeRoots; -} -var nodeModulesAtTypes = combinePaths("node_modules", "@types"); -function arePathsEqual(path1, path2, host) { - const useCaseSensitiveFileNames2 = typeof host.useCaseSensitiveFileNames === "function" ? host.useCaseSensitiveFileNames() : host.useCaseSensitiveFileNames; - return comparePaths(path1, path2, !useCaseSensitiveFileNames2) === 0 /* EqualTo */; -} -function getOriginalAndResolvedFileName(fileName, host, traceEnabled) { - const resolvedFileName = realPath(fileName, host, traceEnabled); - const pathsAreEqual = arePathsEqual(fileName, resolvedFileName, host); - return { - // If the fileName and realpath are differing only in casing prefer fileName so that we can issue correct errors for casing under forceConsistentCasingInFileNames - resolvedFileName: pathsAreEqual ? fileName : resolvedFileName, - originalPath: pathsAreEqual ? void 0 : fileName - }; -} -function getCandidateFromTypeRoot(typeRoot, typeReferenceDirectiveName, moduleResolutionState) { - const nameForLookup = endsWith(typeRoot, "/node_modules/@types") || endsWith(typeRoot, "/node_modules/@types/") ? mangleScopedPackageNameWithTrace(typeReferenceDirectiveName, moduleResolutionState) : typeReferenceDirectiveName; - return combinePaths(typeRoot, nameForLookup); -} -function resolveTypeReferenceDirective(typeReferenceDirectiveName, containingFile, options, host, redirectedReference, cache, resolutionMode) { - Debug.assert(typeof typeReferenceDirectiveName === "string", "Non-string value passed to `ts.resolveTypeReferenceDirective`, likely by a wrapping package working with an outdated `resolveTypeReferenceDirectives` signature. This is probably not a problem in TS itself."); - const traceEnabled = isTraceEnabled(options, host); - if (redirectedReference) { - options = redirectedReference.commandLine.options; - } - const containingDirectory = containingFile ? getDirectoryPath(containingFile) : void 0; - let result = containingDirectory ? cache == null ? void 0 : cache.getFromDirectoryCache(typeReferenceDirectiveName, resolutionMode, containingDirectory, redirectedReference) : void 0; - if (!result && containingDirectory && !isExternalModuleNameRelative(typeReferenceDirectiveName)) { - result = cache == null ? void 0 : cache.getFromNonRelativeNameCache(typeReferenceDirectiveName, resolutionMode, containingDirectory, redirectedReference); - } - if (result) { - if (traceEnabled) { - trace(host, Diagnostics.Resolving_type_reference_directive_0_containing_file_1, typeReferenceDirectiveName, containingFile); - if (redirectedReference) trace(host, Diagnostics.Using_compiler_options_of_project_reference_redirect_0, redirectedReference.sourceFile.fileName); - trace(host, Diagnostics.Resolution_for_type_reference_directive_0_was_found_in_cache_from_location_1, typeReferenceDirectiveName, containingDirectory); - traceResult(result); - } - return result; - } - const typeRoots = getEffectiveTypeRoots(options, host); - if (traceEnabled) { - if (containingFile === void 0) { - if (typeRoots === void 0) { - trace(host, Diagnostics.Resolving_type_reference_directive_0_containing_file_not_set_root_directory_not_set, typeReferenceDirectiveName); - } else { - trace(host, Diagnostics.Resolving_type_reference_directive_0_containing_file_not_set_root_directory_1, typeReferenceDirectiveName, typeRoots); - } - } else { - if (typeRoots === void 0) { - trace(host, Diagnostics.Resolving_type_reference_directive_0_containing_file_1_root_directory_not_set, typeReferenceDirectiveName, containingFile); - } else { - trace(host, Diagnostics.Resolving_type_reference_directive_0_containing_file_1_root_directory_2, typeReferenceDirectiveName, containingFile, typeRoots); - } - } - if (redirectedReference) { - trace(host, Diagnostics.Using_compiler_options_of_project_reference_redirect_0, redirectedReference.sourceFile.fileName); - } - } - const failedLookupLocations = []; - const affectingLocations = []; - let features = getNodeResolutionFeatures(options); - if (resolutionMode !== void 0) { - features |= 30 /* AllFeatures */; - } - const moduleResolution = getEmitModuleResolutionKind(options); - if (resolutionMode === 99 /* ESNext */ && (3 /* Node16 */ <= moduleResolution && moduleResolution <= 99 /* NodeNext */)) { - features |= 32 /* EsmMode */; - } - const conditions = features & 8 /* Exports */ ? getConditions(options, resolutionMode) : []; - const diagnostics = []; - const moduleResolutionState = { - compilerOptions: options, - host, - traceEnabled, - failedLookupLocations, - affectingLocations, - packageJsonInfoCache: cache, - features, - conditions, - requestContainingDirectory: containingDirectory, - reportDiagnostic: (diag2) => void diagnostics.push(diag2), - isConfigLookup: false, - candidateIsFromPackageJsonField: false, - resolvedPackageDirectory: false - }; - let resolved = primaryLookup(); - let primary = true; - if (!resolved) { - resolved = secondaryLookup(); - primary = false; - } - let resolvedTypeReferenceDirective; - if (resolved) { - const { fileName, packageId } = resolved; - let resolvedFileName = fileName, originalPath; - if (!options.preserveSymlinks) ({ resolvedFileName, originalPath } = getOriginalAndResolvedFileName(fileName, host, traceEnabled)); - resolvedTypeReferenceDirective = { - primary, - resolvedFileName, - originalPath, - packageId, - isExternalLibraryImport: pathContainsNodeModules(fileName) - }; - } - result = { - resolvedTypeReferenceDirective, - failedLookupLocations: initializeResolutionField(failedLookupLocations), - affectingLocations: initializeResolutionField(affectingLocations), - resolutionDiagnostics: initializeResolutionField(diagnostics) - }; - if (containingDirectory && cache && !cache.isReadonly) { - cache.getOrCreateCacheForDirectory(containingDirectory, redirectedReference).set( - typeReferenceDirectiveName, - /*mode*/ - resolutionMode, - result - ); - if (!isExternalModuleNameRelative(typeReferenceDirectiveName)) { - cache.getOrCreateCacheForNonRelativeName(typeReferenceDirectiveName, resolutionMode, redirectedReference).set(containingDirectory, result); - } - } - if (traceEnabled) traceResult(result); - return result; - function traceResult(result2) { - var _a; - if (!((_a = result2.resolvedTypeReferenceDirective) == null ? void 0 : _a.resolvedFileName)) { - trace(host, Diagnostics.Type_reference_directive_0_was_not_resolved, typeReferenceDirectiveName); - } else if (result2.resolvedTypeReferenceDirective.packageId) { - trace(host, Diagnostics.Type_reference_directive_0_was_successfully_resolved_to_1_with_Package_ID_2_primary_Colon_3, typeReferenceDirectiveName, result2.resolvedTypeReferenceDirective.resolvedFileName, packageIdToString(result2.resolvedTypeReferenceDirective.packageId), result2.resolvedTypeReferenceDirective.primary); - } else { - trace(host, Diagnostics.Type_reference_directive_0_was_successfully_resolved_to_1_primary_Colon_2, typeReferenceDirectiveName, result2.resolvedTypeReferenceDirective.resolvedFileName, result2.resolvedTypeReferenceDirective.primary); - } - } - function primaryLookup() { - if (typeRoots && typeRoots.length) { - if (traceEnabled) { - trace(host, Diagnostics.Resolving_with_primary_search_path_0, typeRoots.join(", ")); - } - return firstDefined(typeRoots, (typeRoot) => { - const candidate = getCandidateFromTypeRoot(typeRoot, typeReferenceDirectiveName, moduleResolutionState); - const directoryExists = directoryProbablyExists(typeRoot, host); - if (!directoryExists && traceEnabled) { - trace(host, Diagnostics.Directory_0_does_not_exist_skipping_all_lookups_in_it, typeRoot); - } - if (options.typeRoots) { - const resolvedFromFile = loadModuleFromFile(4 /* Declaration */, candidate, !directoryExists, moduleResolutionState); - if (resolvedFromFile) { - const packageDirectory = parseNodeModuleFromPath(resolvedFromFile.path); - const packageInfo = packageDirectory ? getPackageJsonInfo( - packageDirectory, - /*onlyRecordFailures*/ - false, - moduleResolutionState - ) : void 0; - return resolvedTypeScriptOnly(withPackageId(packageInfo, resolvedFromFile, moduleResolutionState)); - } - } - return resolvedTypeScriptOnly( - loadNodeModuleFromDirectory(4 /* Declaration */, candidate, !directoryExists, moduleResolutionState) - ); - }); - } else { - if (traceEnabled) { - trace(host, Diagnostics.Root_directory_cannot_be_determined_skipping_primary_search_paths); - } - } - } - function secondaryLookup() { - const initialLocationForSecondaryLookup = containingFile && getDirectoryPath(containingFile); - if (initialLocationForSecondaryLookup !== void 0) { - let result2; - if (!options.typeRoots || !endsWith(containingFile, inferredTypesContainingFile)) { - if (traceEnabled) { - trace(host, Diagnostics.Looking_up_in_node_modules_folder_initial_location_0, initialLocationForSecondaryLookup); - } - if (!isExternalModuleNameRelative(typeReferenceDirectiveName)) { - const searchResult = loadModuleFromNearestNodeModulesDirectory( - 4 /* Declaration */, - typeReferenceDirectiveName, - initialLocationForSecondaryLookup, - moduleResolutionState, - /*cache*/ - void 0, - /*redirectedReference*/ - void 0 - ); - result2 = searchResult && searchResult.value; - } else { - const { path: candidate } = normalizePathForCJSResolution(initialLocationForSecondaryLookup, typeReferenceDirectiveName); - result2 = nodeLoadModuleByRelativeName( - 4 /* Declaration */, - candidate, - /*onlyRecordFailures*/ - false, - moduleResolutionState, - /*considerPackageJson*/ - true - ); - } - } else if (traceEnabled) { - trace(host, Diagnostics.Resolving_type_reference_directive_for_program_that_specifies_custom_typeRoots_skipping_lookup_in_node_modules_folder); - } - return resolvedTypeScriptOnly(result2); - } else { - if (traceEnabled) { - trace(host, Diagnostics.Containing_file_is_not_specified_and_root_directory_cannot_be_determined_skipping_lookup_in_node_modules_folder); - } - } - } -} -function getNodeResolutionFeatures(options) { - let features = 0 /* None */; - switch (getEmitModuleResolutionKind(options)) { - case 3 /* Node16 */: - features = 30 /* Node16Default */; - break; - case 99 /* NodeNext */: - features = 30 /* NodeNextDefault */; - break; - case 100 /* Bundler */: - features = 30 /* BundlerDefault */; - break; - } - if (options.resolvePackageJsonExports) { - features |= 8 /* Exports */; - } else if (options.resolvePackageJsonExports === false) { - features &= ~8 /* Exports */; - } - if (options.resolvePackageJsonImports) { - features |= 2 /* Imports */; - } else if (options.resolvePackageJsonImports === false) { - features &= ~2 /* Imports */; - } - return features; -} -function getConditions(options, resolutionMode) { - const moduleResolution = getEmitModuleResolutionKind(options); - if (resolutionMode === void 0) { - if (moduleResolution === 100 /* Bundler */) { - resolutionMode = 99 /* ESNext */; - } else if (moduleResolution === 2 /* Node10 */) { - return []; - } - } - const conditions = resolutionMode === 99 /* ESNext */ ? ["import"] : ["require"]; - if (!options.noDtsResolution) { - conditions.push("types"); - } - if (moduleResolution !== 100 /* Bundler */) { - conditions.push("node"); - } - return concatenate(conditions, options.customConditions); -} -function getAutomaticTypeDirectiveNames(options, host) { - if (options.types) { - return options.types; - } - const result = []; - if (host.directoryExists && host.getDirectories) { - const typeRoots = getEffectiveTypeRoots(options, host); - if (typeRoots) { - for (const root of typeRoots) { - if (host.directoryExists(root)) { - for (const typeDirectivePath of host.getDirectories(root)) { - const normalized = normalizePath(typeDirectivePath); - const packageJsonPath = combinePaths(root, normalized, "package.json"); - const isNotNeededPackage = host.fileExists(packageJsonPath) && readJson(packageJsonPath, host).typings === null; - if (!isNotNeededPackage) { - const baseFileName = getBaseFileName(normalized); - if (baseFileName.charCodeAt(0) !== 46 /* dot */) { - result.push(baseFileName); - } - } - } - } - } - } - } - return result; -} -function isPackageJsonInfo(entry) { - return !!(entry == null ? void 0 : entry.contents); -} -function isMissingPackageJsonInfo(entry) { - return !!entry && !entry.contents; -} -function compilerOptionValueToString(value) { - var _a; - if (value === null || typeof value !== "object") { - return "" + value; - } - if (isArray(value)) { - return `[${(_a = value.map((e) => compilerOptionValueToString(e))) == null ? void 0 : _a.join(",")}]`; - } - let str = "{"; - for (const key in value) { - if (hasProperty(value, key)) { - str += `${key}: ${compilerOptionValueToString(value[key])}`; - } - } - return str + "}"; -} -function getKeyForCompilerOptions(options, affectingOptionDeclarations) { - return affectingOptionDeclarations.map((option) => compilerOptionValueToString(getCompilerOptionValue(options, option))).join("|") + `|${options.pathsBasePath}`; -} -function createCacheWithRedirects(ownOptions, optionsToRedirectsKey) { - const redirectsMap = /* @__PURE__ */ new Map(); - const redirectsKeyToMap = /* @__PURE__ */ new Map(); - let ownMap = /* @__PURE__ */ new Map(); - if (ownOptions) redirectsMap.set(ownOptions, ownMap); - return { - getMapOfCacheRedirects, - getOrCreateMapOfCacheRedirects, - update, - clear: clear2, - getOwnMap: () => ownMap - }; - function getMapOfCacheRedirects(redirectedReference) { - return redirectedReference ? getOrCreateMap( - redirectedReference.commandLine.options, - /*create*/ - false - ) : ownMap; - } - function getOrCreateMapOfCacheRedirects(redirectedReference) { - return redirectedReference ? getOrCreateMap( - redirectedReference.commandLine.options, - /*create*/ - true - ) : ownMap; - } - function update(newOptions) { - if (ownOptions !== newOptions) { - if (ownOptions) ownMap = getOrCreateMap( - newOptions, - /*create*/ - true - ); - else redirectsMap.set(newOptions, ownMap); - ownOptions = newOptions; - } - } - function getOrCreateMap(redirectOptions, create) { - let result = redirectsMap.get(redirectOptions); - if (result) return result; - const key = getRedirectsCacheKey(redirectOptions); - result = redirectsKeyToMap.get(key); - if (!result) { - if (ownOptions) { - const ownKey = getRedirectsCacheKey(ownOptions); - if (ownKey === key) result = ownMap; - else if (!redirectsKeyToMap.has(ownKey)) redirectsKeyToMap.set(ownKey, ownMap); - } - if (create) result ?? (result = /* @__PURE__ */ new Map()); - if (result) redirectsKeyToMap.set(key, result); - } - if (result) redirectsMap.set(redirectOptions, result); - return result; - } - function clear2() { - const ownKey = ownOptions && optionsToRedirectsKey.get(ownOptions); - ownMap.clear(); - redirectsMap.clear(); - optionsToRedirectsKey.clear(); - redirectsKeyToMap.clear(); - if (ownOptions) { - if (ownKey) optionsToRedirectsKey.set(ownOptions, ownKey); - redirectsMap.set(ownOptions, ownMap); - } - } - function getRedirectsCacheKey(options) { - let result = optionsToRedirectsKey.get(options); - if (!result) { - optionsToRedirectsKey.set(options, result = getKeyForCompilerOptions(options, moduleResolutionOptionDeclarations)); - } - return result; - } -} -function createPackageJsonInfoCache(currentDirectory, getCanonicalFileName) { - let cache; - return { getPackageJsonInfo: getPackageJsonInfo2, setPackageJsonInfo, clear: clear2, getInternalMap }; - function getPackageJsonInfo2(packageJsonPath) { - return cache == null ? void 0 : cache.get(toPath(packageJsonPath, currentDirectory, getCanonicalFileName)); - } - function setPackageJsonInfo(packageJsonPath, info) { - (cache || (cache = /* @__PURE__ */ new Map())).set(toPath(packageJsonPath, currentDirectory, getCanonicalFileName), info); - } - function clear2() { - cache = void 0; - } - function getInternalMap() { - return cache; - } -} -function getOrCreateCache(cacheWithRedirects, redirectedReference, key, create) { - const cache = cacheWithRedirects.getOrCreateMapOfCacheRedirects(redirectedReference); - let result = cache.get(key); - if (!result) { - result = create(); - cache.set(key, result); - } - return result; -} -function createPerDirectoryResolutionCache(currentDirectory, getCanonicalFileName, options, optionsToRedirectsKey) { - const directoryToModuleNameMap = createCacheWithRedirects(options, optionsToRedirectsKey); - return { - getFromDirectoryCache, - getOrCreateCacheForDirectory, - clear: clear2, - update, - directoryToModuleNameMap - }; - function clear2() { - directoryToModuleNameMap.clear(); - } - function update(options2) { - directoryToModuleNameMap.update(options2); - } - function getOrCreateCacheForDirectory(directoryName, redirectedReference) { - const path = toPath(directoryName, currentDirectory, getCanonicalFileName); - return getOrCreateCache(directoryToModuleNameMap, redirectedReference, path, () => createModeAwareCache()); - } - function getFromDirectoryCache(name, mode, directoryName, redirectedReference) { - var _a, _b; - const path = toPath(directoryName, currentDirectory, getCanonicalFileName); - return (_b = (_a = directoryToModuleNameMap.getMapOfCacheRedirects(redirectedReference)) == null ? void 0 : _a.get(path)) == null ? void 0 : _b.get(name, mode); - } -} -function createModeAwareCacheKey(specifier, mode) { - return mode === void 0 ? specifier : `${mode}|${specifier}`; -} -function createModeAwareCache() { - const underlying = /* @__PURE__ */ new Map(); - const memoizedReverseKeys = /* @__PURE__ */ new Map(); - const cache = { - get(specifier, mode) { - return underlying.get(getUnderlyingCacheKey(specifier, mode)); - }, - set(specifier, mode, value) { - underlying.set(getUnderlyingCacheKey(specifier, mode), value); - return cache; - }, - delete(specifier, mode) { - underlying.delete(getUnderlyingCacheKey(specifier, mode)); - return cache; - }, - has(specifier, mode) { - return underlying.has(getUnderlyingCacheKey(specifier, mode)); - }, - forEach(cb) { - return underlying.forEach((elem, key) => { - const [specifier, mode] = memoizedReverseKeys.get(key); - return cb(elem, specifier, mode); - }); - }, - size() { - return underlying.size; - } - }; - return cache; - function getUnderlyingCacheKey(specifier, mode) { - const result = createModeAwareCacheKey(specifier, mode); - memoizedReverseKeys.set(result, [specifier, mode]); - return result; - } -} -function getOriginalOrResolvedModuleFileName(result) { - return result.resolvedModule && (result.resolvedModule.originalPath || result.resolvedModule.resolvedFileName); -} -function getOriginalOrResolvedTypeReferenceFileName(result) { - return result.resolvedTypeReferenceDirective && (result.resolvedTypeReferenceDirective.originalPath || result.resolvedTypeReferenceDirective.resolvedFileName); -} -function createNonRelativeNameResolutionCache(currentDirectory, getCanonicalFileName, options, getResolvedFileName, optionsToRedirectsKey) { - const moduleNameToDirectoryMap = createCacheWithRedirects(options, optionsToRedirectsKey); - return { - getFromNonRelativeNameCache, - getOrCreateCacheForNonRelativeName, - clear: clear2, - update - }; - function clear2() { - moduleNameToDirectoryMap.clear(); - } - function update(options2) { - moduleNameToDirectoryMap.update(options2); - } - function getFromNonRelativeNameCache(nonRelativeModuleName, mode, directoryName, redirectedReference) { - var _a, _b; - Debug.assert(!isExternalModuleNameRelative(nonRelativeModuleName)); - return (_b = (_a = moduleNameToDirectoryMap.getMapOfCacheRedirects(redirectedReference)) == null ? void 0 : _a.get(createModeAwareCacheKey(nonRelativeModuleName, mode))) == null ? void 0 : _b.get(directoryName); - } - function getOrCreateCacheForNonRelativeName(nonRelativeModuleName, mode, redirectedReference) { - Debug.assert(!isExternalModuleNameRelative(nonRelativeModuleName)); - return getOrCreateCache(moduleNameToDirectoryMap, redirectedReference, createModeAwareCacheKey(nonRelativeModuleName, mode), createPerModuleNameCache); - } - function createPerModuleNameCache() { - const directoryPathMap = /* @__PURE__ */ new Map(); - return { get, set }; - function get(directory) { - return directoryPathMap.get(toPath(directory, currentDirectory, getCanonicalFileName)); - } - function set(directory, result) { - const path = toPath(directory, currentDirectory, getCanonicalFileName); - if (directoryPathMap.has(path)) { - return; - } - directoryPathMap.set(path, result); - const resolvedFileName = getResolvedFileName(result); - const commonPrefix = resolvedFileName && getCommonPrefix(path, resolvedFileName); - let current = path; - while (current !== commonPrefix) { - const parent = getDirectoryPath(current); - if (parent === current || directoryPathMap.has(parent)) { - break; - } - directoryPathMap.set(parent, result); - current = parent; - } - } - function getCommonPrefix(directory, resolution) { - const resolutionDirectory = toPath(getDirectoryPath(resolution), currentDirectory, getCanonicalFileName); - let i = 0; - const limit = Math.min(directory.length, resolutionDirectory.length); - while (i < limit && directory.charCodeAt(i) === resolutionDirectory.charCodeAt(i)) { - i++; - } - if (i === directory.length && (resolutionDirectory.length === i || resolutionDirectory[i] === directorySeparator)) { - return directory; - } - const rootLength = getRootLength(directory); - if (i < rootLength) { - return void 0; - } - const sep = directory.lastIndexOf(directorySeparator, i - 1); - if (sep === -1) { - return void 0; - } - return directory.substr(0, Math.max(sep, rootLength)); - } - } -} -function createModuleOrTypeReferenceResolutionCache(currentDirectory, getCanonicalFileName, options, packageJsonInfoCache, getResolvedFileName, optionsToRedirectsKey) { - optionsToRedirectsKey ?? (optionsToRedirectsKey = /* @__PURE__ */ new Map()); - const perDirectoryResolutionCache = createPerDirectoryResolutionCache( - currentDirectory, - getCanonicalFileName, - options, - optionsToRedirectsKey - ); - const nonRelativeNameResolutionCache = createNonRelativeNameResolutionCache( - currentDirectory, - getCanonicalFileName, - options, - getResolvedFileName, - optionsToRedirectsKey - ); - packageJsonInfoCache ?? (packageJsonInfoCache = createPackageJsonInfoCache(currentDirectory, getCanonicalFileName)); - return { - ...packageJsonInfoCache, - ...perDirectoryResolutionCache, - ...nonRelativeNameResolutionCache, - clear: clear2, - update, - getPackageJsonInfoCache: () => packageJsonInfoCache, - clearAllExceptPackageJsonInfoCache, - optionsToRedirectsKey - }; - function clear2() { - clearAllExceptPackageJsonInfoCache(); - packageJsonInfoCache.clear(); - } - function clearAllExceptPackageJsonInfoCache() { - perDirectoryResolutionCache.clear(); - nonRelativeNameResolutionCache.clear(); - } - function update(options2) { - perDirectoryResolutionCache.update(options2); - nonRelativeNameResolutionCache.update(options2); - } -} -function createModuleResolutionCache(currentDirectory, getCanonicalFileName, options, packageJsonInfoCache, optionsToRedirectsKey) { - const result = createModuleOrTypeReferenceResolutionCache( - currentDirectory, - getCanonicalFileName, - options, - packageJsonInfoCache, - getOriginalOrResolvedModuleFileName, - optionsToRedirectsKey - ); - result.getOrCreateCacheForModuleName = (nonRelativeName, mode, redirectedReference) => result.getOrCreateCacheForNonRelativeName(nonRelativeName, mode, redirectedReference); - return result; -} -function createTypeReferenceDirectiveResolutionCache(currentDirectory, getCanonicalFileName, options, packageJsonInfoCache, optionsToRedirectsKey) { - return createModuleOrTypeReferenceResolutionCache( - currentDirectory, - getCanonicalFileName, - options, - packageJsonInfoCache, - getOriginalOrResolvedTypeReferenceFileName, - optionsToRedirectsKey - ); -} -function getOptionsForLibraryResolution(options) { - return { moduleResolution: 2 /* Node10 */, traceResolution: options.traceResolution }; -} -function resolveLibrary(libraryName, resolveFrom, compilerOptions, host, cache) { - return resolveModuleName(libraryName, resolveFrom, getOptionsForLibraryResolution(compilerOptions), host, cache); -} -function resolveModuleName(moduleName, containingFile, compilerOptions, host, cache, redirectedReference, resolutionMode) { - const traceEnabled = isTraceEnabled(compilerOptions, host); - if (redirectedReference) { - compilerOptions = redirectedReference.commandLine.options; - } - if (traceEnabled) { - trace(host, Diagnostics.Resolving_module_0_from_1, moduleName, containingFile); - if (redirectedReference) { - trace(host, Diagnostics.Using_compiler_options_of_project_reference_redirect_0, redirectedReference.sourceFile.fileName); - } - } - const containingDirectory = getDirectoryPath(containingFile); - let result = cache == null ? void 0 : cache.getFromDirectoryCache(moduleName, resolutionMode, containingDirectory, redirectedReference); - if (result) { - if (traceEnabled) { - trace(host, Diagnostics.Resolution_for_module_0_was_found_in_cache_from_location_1, moduleName, containingDirectory); - } - } else { - let moduleResolution = compilerOptions.moduleResolution; - if (moduleResolution === void 0) { - moduleResolution = getEmitModuleResolutionKind(compilerOptions); - if (traceEnabled) { - trace(host, Diagnostics.Module_resolution_kind_is_not_specified_using_0, ModuleResolutionKind[moduleResolution]); - } - } else { - if (traceEnabled) { - trace(host, Diagnostics.Explicitly_specified_module_resolution_kind_Colon_0, ModuleResolutionKind[moduleResolution]); - } - } - switch (moduleResolution) { - case 3 /* Node16 */: - result = node16ModuleNameResolver(moduleName, containingFile, compilerOptions, host, cache, redirectedReference, resolutionMode); - break; - case 99 /* NodeNext */: - result = nodeNextModuleNameResolver(moduleName, containingFile, compilerOptions, host, cache, redirectedReference, resolutionMode); - break; - case 2 /* Node10 */: - result = nodeModuleNameResolver(moduleName, containingFile, compilerOptions, host, cache, redirectedReference, resolutionMode ? getConditions(compilerOptions, resolutionMode) : void 0); - break; - case 1 /* Classic */: - result = classicNameResolver(moduleName, containingFile, compilerOptions, host, cache, redirectedReference); - break; - case 100 /* Bundler */: - result = bundlerModuleNameResolver(moduleName, containingFile, compilerOptions, host, cache, redirectedReference, resolutionMode ? getConditions(compilerOptions, resolutionMode) : void 0); - break; - default: - return Debug.fail(`Unexpected moduleResolution: ${moduleResolution}`); - } - if (cache && !cache.isReadonly) { - cache.getOrCreateCacheForDirectory(containingDirectory, redirectedReference).set(moduleName, resolutionMode, result); - if (!isExternalModuleNameRelative(moduleName)) { - cache.getOrCreateCacheForNonRelativeName(moduleName, resolutionMode, redirectedReference).set(containingDirectory, result); - } - } - } - if (traceEnabled) { - if (result.resolvedModule) { - if (result.resolvedModule.packageId) { - trace(host, Diagnostics.Module_name_0_was_successfully_resolved_to_1_with_Package_ID_2, moduleName, result.resolvedModule.resolvedFileName, packageIdToString(result.resolvedModule.packageId)); - } else { - trace(host, Diagnostics.Module_name_0_was_successfully_resolved_to_1, moduleName, result.resolvedModule.resolvedFileName); - } - } else { - trace(host, Diagnostics.Module_name_0_was_not_resolved, moduleName); - } - } - return result; -} -function tryLoadModuleUsingOptionalResolutionSettings(extensions, moduleName, containingDirectory, loader, state) { - const resolved = tryLoadModuleUsingPathsIfEligible(extensions, moduleName, loader, state); - if (resolved) return resolved.value; - if (!isExternalModuleNameRelative(moduleName)) { - return tryLoadModuleUsingBaseUrl(extensions, moduleName, loader, state); - } else { - return tryLoadModuleUsingRootDirs(extensions, moduleName, containingDirectory, loader, state); - } -} -function tryLoadModuleUsingPathsIfEligible(extensions, moduleName, loader, state) { - var _a; - const { baseUrl, paths, configFile } = state.compilerOptions; - if (paths && !pathIsRelative(moduleName)) { - if (state.traceEnabled) { - if (baseUrl) { - trace(state.host, Diagnostics.baseUrl_option_is_set_to_0_using_this_value_to_resolve_non_relative_module_name_1, baseUrl, moduleName); - } - trace(state.host, Diagnostics.paths_option_is_specified_looking_for_a_pattern_to_match_module_name_0, moduleName); - } - const baseDirectory = getPathsBasePath(state.compilerOptions, state.host); - const pathPatterns = (configFile == null ? void 0 : configFile.configFileSpecs) ? (_a = configFile.configFileSpecs).pathPatterns || (_a.pathPatterns = tryParsePatterns(paths)) : void 0; - return tryLoadModuleUsingPaths( - extensions, - moduleName, - baseDirectory, - paths, - pathPatterns, - loader, - /*onlyRecordFailures*/ - false, - state - ); - } -} -function tryLoadModuleUsingRootDirs(extensions, moduleName, containingDirectory, loader, state) { - if (!state.compilerOptions.rootDirs) { - return void 0; - } - if (state.traceEnabled) { - trace(state.host, Diagnostics.rootDirs_option_is_set_using_it_to_resolve_relative_module_name_0, moduleName); - } - const candidate = normalizePath(combinePaths(containingDirectory, moduleName)); - let matchedRootDir; - let matchedNormalizedPrefix; - for (const rootDir of state.compilerOptions.rootDirs) { - let normalizedRoot = normalizePath(rootDir); - if (!endsWith(normalizedRoot, directorySeparator)) { - normalizedRoot += directorySeparator; - } - const isLongestMatchingPrefix = startsWith(candidate, normalizedRoot) && (matchedNormalizedPrefix === void 0 || matchedNormalizedPrefix.length < normalizedRoot.length); - if (state.traceEnabled) { - trace(state.host, Diagnostics.Checking_if_0_is_the_longest_matching_prefix_for_1_2, normalizedRoot, candidate, isLongestMatchingPrefix); - } - if (isLongestMatchingPrefix) { - matchedNormalizedPrefix = normalizedRoot; - matchedRootDir = rootDir; - } - } - if (matchedNormalizedPrefix) { - if (state.traceEnabled) { - trace(state.host, Diagnostics.Longest_matching_prefix_for_0_is_1, candidate, matchedNormalizedPrefix); - } - const suffix = candidate.substr(matchedNormalizedPrefix.length); - if (state.traceEnabled) { - trace(state.host, Diagnostics.Loading_0_from_the_root_dir_1_candidate_location_2, suffix, matchedNormalizedPrefix, candidate); - } - const resolvedFileName = loader(extensions, candidate, !directoryProbablyExists(containingDirectory, state.host), state); - if (resolvedFileName) { - return resolvedFileName; - } - if (state.traceEnabled) { - trace(state.host, Diagnostics.Trying_other_entries_in_rootDirs); - } - for (const rootDir of state.compilerOptions.rootDirs) { - if (rootDir === matchedRootDir) { - continue; - } - const candidate2 = combinePaths(normalizePath(rootDir), suffix); - if (state.traceEnabled) { - trace(state.host, Diagnostics.Loading_0_from_the_root_dir_1_candidate_location_2, suffix, rootDir, candidate2); - } - const baseDirectory = getDirectoryPath(candidate2); - const resolvedFileName2 = loader(extensions, candidate2, !directoryProbablyExists(baseDirectory, state.host), state); - if (resolvedFileName2) { - return resolvedFileName2; - } - } - if (state.traceEnabled) { - trace(state.host, Diagnostics.Module_resolution_using_rootDirs_has_failed); - } - } - return void 0; -} -function tryLoadModuleUsingBaseUrl(extensions, moduleName, loader, state) { - const { baseUrl } = state.compilerOptions; - if (!baseUrl) { - return void 0; - } - if (state.traceEnabled) { - trace(state.host, Diagnostics.baseUrl_option_is_set_to_0_using_this_value_to_resolve_non_relative_module_name_1, baseUrl, moduleName); - } - const candidate = normalizePath(combinePaths(baseUrl, moduleName)); - if (state.traceEnabled) { - trace(state.host, Diagnostics.Resolving_module_name_0_relative_to_base_url_1_2, moduleName, baseUrl, candidate); - } - return loader(extensions, candidate, !directoryProbablyExists(getDirectoryPath(candidate), state.host), state); -} -function resolveJSModule(moduleName, initialDir, host) { - const { resolvedModule, failedLookupLocations } = tryResolveJSModuleWorker(moduleName, initialDir, host); - if (!resolvedModule) { - throw new Error(`Could not resolve JS module '${moduleName}' starting at '${initialDir}'. Looked in: ${failedLookupLocations == null ? void 0 : failedLookupLocations.join(", ")}`); - } - return resolvedModule.resolvedFileName; -} -function node16ModuleNameResolver(moduleName, containingFile, compilerOptions, host, cache, redirectedReference, resolutionMode) { - return nodeNextModuleNameResolverWorker( - 30 /* Node16Default */, - moduleName, - containingFile, - compilerOptions, - host, - cache, - redirectedReference, - resolutionMode - ); -} -function nodeNextModuleNameResolver(moduleName, containingFile, compilerOptions, host, cache, redirectedReference, resolutionMode) { - return nodeNextModuleNameResolverWorker( - 30 /* NodeNextDefault */, - moduleName, - containingFile, - compilerOptions, - host, - cache, - redirectedReference, - resolutionMode - ); -} -function nodeNextModuleNameResolverWorker(features, moduleName, containingFile, compilerOptions, host, cache, redirectedReference, resolutionMode, conditions) { - const containingDirectory = getDirectoryPath(containingFile); - const esmMode = resolutionMode === 99 /* ESNext */ ? 32 /* EsmMode */ : 0; - let extensions = compilerOptions.noDtsResolution ? 3 /* ImplementationFiles */ : 1 /* TypeScript */ | 2 /* JavaScript */ | 4 /* Declaration */; - if (getResolveJsonModule(compilerOptions)) { - extensions |= 8 /* Json */; - } - return nodeModuleNameResolverWorker( - features | esmMode, - moduleName, - containingDirectory, - compilerOptions, - host, - cache, - extensions, - /*isConfigLookup*/ - false, - redirectedReference, - conditions - ); -} -function tryResolveJSModuleWorker(moduleName, initialDir, host) { - return nodeModuleNameResolverWorker( - 0 /* None */, - moduleName, - initialDir, - { moduleResolution: 2 /* Node10 */, allowJs: true }, - host, - /*cache*/ - void 0, - 2 /* JavaScript */, - /*isConfigLookup*/ - false, - /*redirectedReference*/ - void 0, - /*conditions*/ - void 0 - ); -} -function bundlerModuleNameResolver(moduleName, containingFile, compilerOptions, host, cache, redirectedReference, conditions) { - const containingDirectory = getDirectoryPath(containingFile); - let extensions = compilerOptions.noDtsResolution ? 3 /* ImplementationFiles */ : 1 /* TypeScript */ | 2 /* JavaScript */ | 4 /* Declaration */; - if (getResolveJsonModule(compilerOptions)) { - extensions |= 8 /* Json */; - } - return nodeModuleNameResolverWorker( - getNodeResolutionFeatures(compilerOptions), - moduleName, - containingDirectory, - compilerOptions, - host, - cache, - extensions, - /*isConfigLookup*/ - false, - redirectedReference, - conditions - ); -} -function nodeModuleNameResolver(moduleName, containingFile, compilerOptions, host, cache, redirectedReference, conditions, isConfigLookup) { - let extensions; - if (isConfigLookup) { - extensions = 8 /* Json */; - } else if (compilerOptions.noDtsResolution) { - extensions = 3 /* ImplementationFiles */; - if (getResolveJsonModule(compilerOptions)) extensions |= 8 /* Json */; - } else { - extensions = getResolveJsonModule(compilerOptions) ? 1 /* TypeScript */ | 2 /* JavaScript */ | 4 /* Declaration */ | 8 /* Json */ : 1 /* TypeScript */ | 2 /* JavaScript */ | 4 /* Declaration */; - } - return nodeModuleNameResolverWorker(conditions ? 30 /* AllFeatures */ : 0 /* None */, moduleName, getDirectoryPath(containingFile), compilerOptions, host, cache, extensions, !!isConfigLookup, redirectedReference, conditions); -} -function nodeNextJsonConfigResolver(moduleName, containingFile, host) { - return nodeModuleNameResolverWorker( - 30 /* NodeNextDefault */, - moduleName, - getDirectoryPath(containingFile), - { moduleResolution: 99 /* NodeNext */ }, - host, - /*cache*/ - void 0, - 8 /* Json */, - /*isConfigLookup*/ - true, - /*redirectedReference*/ - void 0, - /*conditions*/ - void 0 - ); -} -function nodeModuleNameResolverWorker(features, moduleName, containingDirectory, compilerOptions, host, cache, extensions, isConfigLookup, redirectedReference, conditions) { - var _a, _b, _c, _d, _e; - const traceEnabled = isTraceEnabled(compilerOptions, host); - const failedLookupLocations = []; - const affectingLocations = []; - const moduleResolution = getEmitModuleResolutionKind(compilerOptions); - conditions ?? (conditions = getConditions( - compilerOptions, - moduleResolution === 100 /* Bundler */ || moduleResolution === 2 /* Node10 */ ? void 0 : features & 32 /* EsmMode */ ? 99 /* ESNext */ : 1 /* CommonJS */ - )); - const diagnostics = []; - const state = { - compilerOptions, - host, - traceEnabled, - failedLookupLocations, - affectingLocations, - packageJsonInfoCache: cache, - features, - conditions: conditions ?? emptyArray, - requestContainingDirectory: containingDirectory, - reportDiagnostic: (diag2) => void diagnostics.push(diag2), - isConfigLookup, - candidateIsFromPackageJsonField: false, - resolvedPackageDirectory: false - }; - if (traceEnabled && moduleResolutionSupportsPackageJsonExportsAndImports(moduleResolution)) { - trace(host, Diagnostics.Resolving_in_0_mode_with_conditions_1, features & 32 /* EsmMode */ ? "ESM" : "CJS", state.conditions.map((c) => `'${c}'`).join(", ")); - } - let result; - if (moduleResolution === 2 /* Node10 */) { - const priorityExtensions = extensions & (1 /* TypeScript */ | 4 /* Declaration */); - const secondaryExtensions = extensions & ~(1 /* TypeScript */ | 4 /* Declaration */); - result = priorityExtensions && tryResolve(priorityExtensions, state) || secondaryExtensions && tryResolve(secondaryExtensions, state) || void 0; - } else { - result = tryResolve(extensions, state); - } - let alternateResult; - if (state.resolvedPackageDirectory && !isConfigLookup && !isExternalModuleNameRelative(moduleName)) { - const wantedTypesButGotJs = (result == null ? void 0 : result.value) && extensions & (1 /* TypeScript */ | 4 /* Declaration */) && !extensionIsOk(1 /* TypeScript */ | 4 /* Declaration */, result.value.resolved.extension); - if (((_a = result == null ? void 0 : result.value) == null ? void 0 : _a.isExternalLibraryImport) && wantedTypesButGotJs && features & 8 /* Exports */ && (conditions == null ? void 0 : conditions.includes("import"))) { - traceIfEnabled(state, Diagnostics.Resolution_of_non_relative_name_failed_trying_with_modern_Node_resolution_features_disabled_to_see_if_npm_library_needs_configuration_update); - const diagnosticState = { - ...state, - features: state.features & ~8 /* Exports */, - reportDiagnostic: noop - }; - const diagnosticResult = tryResolve(extensions & (1 /* TypeScript */ | 4 /* Declaration */), diagnosticState); - if ((_b = diagnosticResult == null ? void 0 : diagnosticResult.value) == null ? void 0 : _b.isExternalLibraryImport) { - alternateResult = diagnosticResult.value.resolved.path; - } - } else if ((!(result == null ? void 0 : result.value) || wantedTypesButGotJs) && moduleResolution === 2 /* Node10 */) { - traceIfEnabled(state, Diagnostics.Resolution_of_non_relative_name_failed_trying_with_moduleResolution_bundler_to_see_if_project_may_need_configuration_update); - const diagnosticsCompilerOptions = { ...state.compilerOptions, moduleResolution: 100 /* Bundler */ }; - const diagnosticState = { - ...state, - compilerOptions: diagnosticsCompilerOptions, - features: 30 /* BundlerDefault */, - conditions: getConditions(diagnosticsCompilerOptions), - reportDiagnostic: noop - }; - const diagnosticResult = tryResolve(extensions & (1 /* TypeScript */ | 4 /* Declaration */), diagnosticState); - if ((_c = diagnosticResult == null ? void 0 : diagnosticResult.value) == null ? void 0 : _c.isExternalLibraryImport) { - alternateResult = diagnosticResult.value.resolved.path; - } - } - } - return createResolvedModuleWithFailedLookupLocationsHandlingSymlink( - moduleName, - (_d = result == null ? void 0 : result.value) == null ? void 0 : _d.resolved, - (_e = result == null ? void 0 : result.value) == null ? void 0 : _e.isExternalLibraryImport, - failedLookupLocations, - affectingLocations, - diagnostics, - state, - cache, - alternateResult - ); - function tryResolve(extensions2, state2) { - const loader = (extensions3, candidate, onlyRecordFailures, state3) => nodeLoadModuleByRelativeName( - extensions3, - candidate, - onlyRecordFailures, - state3, - /*considerPackageJson*/ - true - ); - const resolved = tryLoadModuleUsingOptionalResolutionSettings(extensions2, moduleName, containingDirectory, loader, state2); - if (resolved) { - return toSearchResult({ resolved, isExternalLibraryImport: pathContainsNodeModules(resolved.path) }); - } - if (!isExternalModuleNameRelative(moduleName)) { - let resolved2; - if (features & 2 /* Imports */ && startsWith(moduleName, "#")) { - resolved2 = loadModuleFromImports(extensions2, moduleName, containingDirectory, state2, cache, redirectedReference); - } - if (!resolved2 && features & 4 /* SelfName */) { - resolved2 = loadModuleFromSelfNameReference(extensions2, moduleName, containingDirectory, state2, cache, redirectedReference); - } - if (!resolved2) { - if (moduleName.includes(":")) { - if (traceEnabled) { - trace(host, Diagnostics.Skipping_module_0_that_looks_like_an_absolute_URI_target_file_types_Colon_1, moduleName, formatExtensions(extensions2)); - } - return void 0; - } - if (traceEnabled) { - trace(host, Diagnostics.Loading_module_0_from_node_modules_folder_target_file_types_Colon_1, moduleName, formatExtensions(extensions2)); - } - resolved2 = loadModuleFromNearestNodeModulesDirectory(extensions2, moduleName, containingDirectory, state2, cache, redirectedReference); - } - if (extensions2 & 4 /* Declaration */) { - resolved2 ?? (resolved2 = resolveFromTypeRoot(moduleName, state2)); - } - return resolved2 && { value: resolved2.value && { resolved: resolved2.value, isExternalLibraryImport: true } }; - } else { - const { path: candidate, parts } = normalizePathForCJSResolution(containingDirectory, moduleName); - const resolved2 = nodeLoadModuleByRelativeName( - extensions2, - candidate, - /*onlyRecordFailures*/ - false, - state2, - /*considerPackageJson*/ - true - ); - return resolved2 && toSearchResult({ resolved: resolved2, isExternalLibraryImport: contains(parts, "node_modules") }); - } - } -} -function normalizePathForCJSResolution(containingDirectory, moduleName) { - const combined = combinePaths(containingDirectory, moduleName); - const parts = getPathComponents(combined); - const lastPart = lastOrUndefined(parts); - const path = lastPart === "." || lastPart === ".." ? ensureTrailingDirectorySeparator(normalizePath(combined)) : normalizePath(combined); - return { path, parts }; -} -function realPath(path, host, traceEnabled) { - if (!host.realpath) { - return path; - } - const real = normalizePath(host.realpath(path)); - if (traceEnabled) { - trace(host, Diagnostics.Resolving_real_path_for_0_result_1, path, real); - } - return real; -} -function nodeLoadModuleByRelativeName(extensions, candidate, onlyRecordFailures, state, considerPackageJson) { - if (state.traceEnabled) { - trace(state.host, Diagnostics.Loading_module_as_file_Slash_folder_candidate_module_location_0_target_file_types_Colon_1, candidate, formatExtensions(extensions)); - } - if (!hasTrailingDirectorySeparator(candidate)) { - if (!onlyRecordFailures) { - const parentOfCandidate = getDirectoryPath(candidate); - if (!directoryProbablyExists(parentOfCandidate, state.host)) { - if (state.traceEnabled) { - trace(state.host, Diagnostics.Directory_0_does_not_exist_skipping_all_lookups_in_it, parentOfCandidate); - } - onlyRecordFailures = true; - } - } - const resolvedFromFile = loadModuleFromFile(extensions, candidate, onlyRecordFailures, state); - if (resolvedFromFile) { - const packageDirectory = considerPackageJson ? parseNodeModuleFromPath(resolvedFromFile.path) : void 0; - const packageInfo = packageDirectory ? getPackageJsonInfo( - packageDirectory, - /*onlyRecordFailures*/ - false, - state - ) : void 0; - return withPackageId(packageInfo, resolvedFromFile, state); - } - } - if (!onlyRecordFailures) { - const candidateExists = directoryProbablyExists(candidate, state.host); - if (!candidateExists) { - if (state.traceEnabled) { - trace(state.host, Diagnostics.Directory_0_does_not_exist_skipping_all_lookups_in_it, candidate); - } - onlyRecordFailures = true; - } - } - if (!(state.features & 32 /* EsmMode */)) { - return loadNodeModuleFromDirectory(extensions, candidate, onlyRecordFailures, state, considerPackageJson); - } - return void 0; -} -var nodeModulesPathPart = "/node_modules/"; -function pathContainsNodeModules(path) { - return path.includes(nodeModulesPathPart); -} -function parseNodeModuleFromPath(resolved, isFolder) { - const path = normalizePath(resolved); - const idx = path.lastIndexOf(nodeModulesPathPart); - if (idx === -1) { - return void 0; - } - const indexAfterNodeModules = idx + nodeModulesPathPart.length; - let indexAfterPackageName = moveToNextDirectorySeparatorIfAvailable(path, indexAfterNodeModules, isFolder); - if (path.charCodeAt(indexAfterNodeModules) === 64 /* at */) { - indexAfterPackageName = moveToNextDirectorySeparatorIfAvailable(path, indexAfterPackageName, isFolder); - } - return path.slice(0, indexAfterPackageName); -} -function moveToNextDirectorySeparatorIfAvailable(path, prevSeparatorIndex, isFolder) { - const nextSeparatorIndex = path.indexOf(directorySeparator, prevSeparatorIndex + 1); - return nextSeparatorIndex === -1 ? isFolder ? path.length : prevSeparatorIndex : nextSeparatorIndex; -} -function loadModuleFromFileNoPackageId(extensions, candidate, onlyRecordFailures, state) { - return noPackageId(loadModuleFromFile(extensions, candidate, onlyRecordFailures, state)); -} -function loadModuleFromFile(extensions, candidate, onlyRecordFailures, state) { - const resolvedByReplacingExtension = loadModuleFromFileNoImplicitExtensions(extensions, candidate, onlyRecordFailures, state); - if (resolvedByReplacingExtension) { - return resolvedByReplacingExtension; - } - if (!(state.features & 32 /* EsmMode */)) { - const resolvedByAddingExtension = tryAddingExtensions(candidate, extensions, "", onlyRecordFailures, state); - if (resolvedByAddingExtension) { - return resolvedByAddingExtension; - } - } -} -function loadModuleFromFileNoImplicitExtensions(extensions, candidate, onlyRecordFailures, state) { - const filename = getBaseFileName(candidate); - if (!filename.includes(".")) { - return void 0; - } - let extensionless = removeFileExtension(candidate); - if (extensionless === candidate) { - extensionless = candidate.substring(0, candidate.lastIndexOf(".")); - } - const extension = candidate.substring(extensionless.length); - if (state.traceEnabled) { - trace(state.host, Diagnostics.File_name_0_has_a_1_extension_stripping_it, candidate, extension); - } - return tryAddingExtensions(extensionless, extensions, extension, onlyRecordFailures, state); -} -function loadFileNameFromPackageJsonField(extensions, candidate, onlyRecordFailures, state) { - if (extensions & 1 /* TypeScript */ && fileExtensionIsOneOf(candidate, supportedTSImplementationExtensions) || extensions & 4 /* Declaration */ && fileExtensionIsOneOf(candidate, supportedDeclarationExtensions)) { - const result = tryFile(candidate, onlyRecordFailures, state); - return result !== void 0 ? { path: candidate, ext: tryExtractTSExtension(candidate), resolvedUsingTsExtension: void 0 } : void 0; - } - if (state.isConfigLookup && extensions === 8 /* Json */ && fileExtensionIs(candidate, ".json" /* Json */)) { - const result = tryFile(candidate, onlyRecordFailures, state); - return result !== void 0 ? { path: candidate, ext: ".json" /* Json */, resolvedUsingTsExtension: void 0 } : void 0; - } - return loadModuleFromFileNoImplicitExtensions(extensions, candidate, onlyRecordFailures, state); -} -function tryAddingExtensions(candidate, extensions, originalExtension, onlyRecordFailures, state) { - if (!onlyRecordFailures) { - const directory = getDirectoryPath(candidate); - if (directory) { - onlyRecordFailures = !directoryProbablyExists(directory, state.host); - } - } - switch (originalExtension) { - case ".mjs" /* Mjs */: - case ".mts" /* Mts */: - case ".d.mts" /* Dmts */: - return extensions & 1 /* TypeScript */ && tryExtension(".mts" /* Mts */, originalExtension === ".mts" /* Mts */ || originalExtension === ".d.mts" /* Dmts */) || extensions & 4 /* Declaration */ && tryExtension(".d.mts" /* Dmts */, originalExtension === ".mts" /* Mts */ || originalExtension === ".d.mts" /* Dmts */) || extensions & 2 /* JavaScript */ && tryExtension(".mjs" /* Mjs */) || void 0; - case ".cjs" /* Cjs */: - case ".cts" /* Cts */: - case ".d.cts" /* Dcts */: - return extensions & 1 /* TypeScript */ && tryExtension(".cts" /* Cts */, originalExtension === ".cts" /* Cts */ || originalExtension === ".d.cts" /* Dcts */) || extensions & 4 /* Declaration */ && tryExtension(".d.cts" /* Dcts */, originalExtension === ".cts" /* Cts */ || originalExtension === ".d.cts" /* Dcts */) || extensions & 2 /* JavaScript */ && tryExtension(".cjs" /* Cjs */) || void 0; - case ".json" /* Json */: - return extensions & 4 /* Declaration */ && tryExtension(".d.json.ts") || extensions & 8 /* Json */ && tryExtension(".json" /* Json */) || void 0; - case ".tsx" /* Tsx */: - case ".jsx" /* Jsx */: - return extensions & 1 /* TypeScript */ && (tryExtension(".tsx" /* Tsx */, originalExtension === ".tsx" /* Tsx */) || tryExtension(".ts" /* Ts */, originalExtension === ".tsx" /* Tsx */)) || extensions & 4 /* Declaration */ && tryExtension(".d.ts" /* Dts */, originalExtension === ".tsx" /* Tsx */) || extensions & 2 /* JavaScript */ && (tryExtension(".jsx" /* Jsx */) || tryExtension(".js" /* Js */)) || void 0; - case ".ts" /* Ts */: - case ".d.ts" /* Dts */: - case ".js" /* Js */: - case "": - return extensions & 1 /* TypeScript */ && (tryExtension(".ts" /* Ts */, originalExtension === ".ts" /* Ts */ || originalExtension === ".d.ts" /* Dts */) || tryExtension(".tsx" /* Tsx */, originalExtension === ".ts" /* Ts */ || originalExtension === ".d.ts" /* Dts */)) || extensions & 4 /* Declaration */ && tryExtension(".d.ts" /* Dts */, originalExtension === ".ts" /* Ts */ || originalExtension === ".d.ts" /* Dts */) || extensions & 2 /* JavaScript */ && (tryExtension(".js" /* Js */) || tryExtension(".jsx" /* Jsx */)) || state.isConfigLookup && tryExtension(".json" /* Json */) || void 0; - default: - return extensions & 4 /* Declaration */ && !isDeclarationFileName(candidate + originalExtension) && tryExtension(`.d${originalExtension}.ts`) || void 0; - } - function tryExtension(ext, resolvedUsingTsExtension) { - const path = tryFile(candidate + ext, onlyRecordFailures, state); - return path === void 0 ? void 0 : { path, ext, resolvedUsingTsExtension: !state.candidateIsFromPackageJsonField && resolvedUsingTsExtension }; - } -} -function tryFile(fileName, onlyRecordFailures, state) { - var _a; - if (!((_a = state.compilerOptions.moduleSuffixes) == null ? void 0 : _a.length)) { - return tryFileLookup(fileName, onlyRecordFailures, state); - } - const ext = tryGetExtensionFromPath2(fileName) ?? ""; - const fileNameNoExtension = ext ? removeExtension(fileName, ext) : fileName; - return forEach(state.compilerOptions.moduleSuffixes, (suffix) => tryFileLookup(fileNameNoExtension + suffix + ext, onlyRecordFailures, state)); -} -function tryFileLookup(fileName, onlyRecordFailures, state) { - var _a; - if (!onlyRecordFailures) { - if (state.host.fileExists(fileName)) { - if (state.traceEnabled) { - trace(state.host, Diagnostics.File_0_exists_use_it_as_a_name_resolution_result, fileName); - } - return fileName; - } else { - if (state.traceEnabled) { - trace(state.host, Diagnostics.File_0_does_not_exist, fileName); - } - } - } - (_a = state.failedLookupLocations) == null ? void 0 : _a.push(fileName); - return void 0; -} -function loadNodeModuleFromDirectory(extensions, candidate, onlyRecordFailures, state, considerPackageJson = true) { - const packageInfo = considerPackageJson ? getPackageJsonInfo(candidate, onlyRecordFailures, state) : void 0; - const packageJsonContent = packageInfo && packageInfo.contents.packageJsonContent; - const versionPaths = packageInfo && getVersionPathsOfPackageJsonInfo(packageInfo, state); - return withPackageId(packageInfo, loadNodeModuleFromDirectoryWorker(extensions, candidate, onlyRecordFailures, state, packageJsonContent, versionPaths), state); -} -function getTemporaryModuleResolutionState(packageJsonInfoCache, host, options) { - return { - host, - compilerOptions: options, - traceEnabled: isTraceEnabled(options, host), - failedLookupLocations: void 0, - affectingLocations: void 0, - packageJsonInfoCache, - features: 0 /* None */, - conditions: emptyArray, - requestContainingDirectory: void 0, - reportDiagnostic: noop, - isConfigLookup: false, - candidateIsFromPackageJsonField: false, - resolvedPackageDirectory: false - }; -} -function getPackageScopeForPath(directory, state) { - return forEachAncestorDirectory( - directory, - (dir) => getPackageJsonInfo( - dir, - /*onlyRecordFailures*/ - false, - state - ) - ); -} -function getVersionPathsOfPackageJsonInfo(packageJsonInfo, state) { - if (packageJsonInfo.contents.versionPaths === void 0) { - packageJsonInfo.contents.versionPaths = readPackageJsonTypesVersionPaths(packageJsonInfo.contents.packageJsonContent, state) || false; - } - return packageJsonInfo.contents.versionPaths || void 0; -} -function getPeerDependenciesOfPackageJsonInfo(packageJsonInfo, state) { - if (packageJsonInfo.contents.peerDependencies === void 0) { - packageJsonInfo.contents.peerDependencies = readPackageJsonPeerDependencies(packageJsonInfo, state) || false; - } - return packageJsonInfo.contents.peerDependencies || void 0; -} -function readPackageJsonPeerDependencies(packageJsonInfo, state) { - const peerDependencies = readPackageJsonField(packageJsonInfo.contents.packageJsonContent, "peerDependencies", "object", state); - if (peerDependencies === void 0) return void 0; - if (state.traceEnabled) trace(state.host, Diagnostics.package_json_has_a_peerDependencies_field); - const packageDirectory = realPath(packageJsonInfo.packageDirectory, state.host, state.traceEnabled); - const nodeModules = packageDirectory.substring(0, packageDirectory.lastIndexOf("node_modules") + "node_modules".length) + directorySeparator; - let result = ""; - for (const key in peerDependencies) { - if (hasProperty(peerDependencies, key)) { - const peerPackageJson = getPackageJsonInfo( - nodeModules + key, - /*onlyRecordFailures*/ - false, - state - ); - if (peerPackageJson) { - const version2 = peerPackageJson.contents.packageJsonContent.version; - result += `+${key}@${version2}`; - if (state.traceEnabled) trace(state.host, Diagnostics.Found_peerDependency_0_with_1_version, key, version2); - } else { - if (state.traceEnabled) trace(state.host, Diagnostics.Failed_to_find_peerDependency_0, key); - } - } - } - return result; -} -function getPackageJsonInfo(packageDirectory, onlyRecordFailures, state) { - var _a, _b, _c, _d, _e, _f; - const { host, traceEnabled } = state; - const packageJsonPath = combinePaths(packageDirectory, "package.json"); - if (onlyRecordFailures) { - (_a = state.failedLookupLocations) == null ? void 0 : _a.push(packageJsonPath); - return void 0; - } - const existing = (_b = state.packageJsonInfoCache) == null ? void 0 : _b.getPackageJsonInfo(packageJsonPath); - if (existing !== void 0) { - if (isPackageJsonInfo(existing)) { - if (traceEnabled) trace(host, Diagnostics.File_0_exists_according_to_earlier_cached_lookups, packageJsonPath); - (_c = state.affectingLocations) == null ? void 0 : _c.push(packageJsonPath); - return existing.packageDirectory === packageDirectory ? existing : { packageDirectory, contents: existing.contents }; - } else { - if (existing.directoryExists && traceEnabled) trace(host, Diagnostics.File_0_does_not_exist_according_to_earlier_cached_lookups, packageJsonPath); - (_d = state.failedLookupLocations) == null ? void 0 : _d.push(packageJsonPath); - return void 0; - } - } - const directoryExists = directoryProbablyExists(packageDirectory, host); - if (directoryExists && host.fileExists(packageJsonPath)) { - const packageJsonContent = readJson(packageJsonPath, host); - if (traceEnabled) { - trace(host, Diagnostics.Found_package_json_at_0, packageJsonPath); - } - const result = { packageDirectory, contents: { packageJsonContent, versionPaths: void 0, resolvedEntrypoints: void 0, peerDependencies: void 0 } }; - if (state.packageJsonInfoCache && !state.packageJsonInfoCache.isReadonly) state.packageJsonInfoCache.setPackageJsonInfo(packageJsonPath, result); - (_e = state.affectingLocations) == null ? void 0 : _e.push(packageJsonPath); - return result; - } else { - if (directoryExists && traceEnabled) { - trace(host, Diagnostics.File_0_does_not_exist, packageJsonPath); - } - if (state.packageJsonInfoCache && !state.packageJsonInfoCache.isReadonly) state.packageJsonInfoCache.setPackageJsonInfo(packageJsonPath, { packageDirectory, directoryExists }); - (_f = state.failedLookupLocations) == null ? void 0 : _f.push(packageJsonPath); - } -} -function loadNodeModuleFromDirectoryWorker(extensions, candidate, onlyRecordFailures, state, jsonContent, versionPaths) { - let packageFile; - if (jsonContent) { - if (state.isConfigLookup) { - packageFile = readPackageJsonTSConfigField(jsonContent, candidate, state); - } else { - packageFile = extensions & 4 /* Declaration */ && readPackageJsonTypesFields(jsonContent, candidate, state) || extensions & (3 /* ImplementationFiles */ | 4 /* Declaration */) && readPackageJsonMainField(jsonContent, candidate, state) || void 0; - } - } - const loader = (extensions2, candidate2, onlyRecordFailures2, state2) => { - const fromFile = loadFileNameFromPackageJsonField(extensions2, candidate2, onlyRecordFailures2, state2); - if (fromFile) { - return noPackageId(fromFile); - } - const expandedExtensions = extensions2 === 4 /* Declaration */ ? 1 /* TypeScript */ | 4 /* Declaration */ : extensions2; - const features = state2.features; - const candidateIsFromPackageJsonField = state2.candidateIsFromPackageJsonField; - state2.candidateIsFromPackageJsonField = true; - if ((jsonContent == null ? void 0 : jsonContent.type) !== "module") { - state2.features &= ~32 /* EsmMode */; - } - const result = nodeLoadModuleByRelativeName( - expandedExtensions, - candidate2, - onlyRecordFailures2, - state2, - /*considerPackageJson*/ - false - ); - state2.features = features; - state2.candidateIsFromPackageJsonField = candidateIsFromPackageJsonField; - return result; - }; - const onlyRecordFailuresForPackageFile = packageFile ? !directoryProbablyExists(getDirectoryPath(packageFile), state.host) : void 0; - const onlyRecordFailuresForIndex = onlyRecordFailures || !directoryProbablyExists(candidate, state.host); - const indexPath = combinePaths(candidate, state.isConfigLookup ? "tsconfig" : "index"); - if (versionPaths && (!packageFile || containsPath(candidate, packageFile))) { - const moduleName = getRelativePathFromDirectory( - candidate, - packageFile || indexPath, - /*ignoreCase*/ - false - ); - if (state.traceEnabled) { - trace(state.host, Diagnostics.package_json_has_a_typesVersions_entry_0_that_matches_compiler_version_1_looking_for_a_pattern_to_match_module_name_2, versionPaths.version, version, moduleName); - } - const result = tryLoadModuleUsingPaths( - extensions, - moduleName, - candidate, - versionPaths.paths, - /*pathPatterns*/ - void 0, - loader, - onlyRecordFailuresForPackageFile || onlyRecordFailuresForIndex, - state - ); - if (result) { - return removeIgnoredPackageId(result.value); - } - } - const packageFileResult = packageFile && removeIgnoredPackageId(loader(extensions, packageFile, onlyRecordFailuresForPackageFile, state)); - if (packageFileResult) return packageFileResult; - if (!(state.features & 32 /* EsmMode */)) { - return loadModuleFromFile(extensions, indexPath, onlyRecordFailuresForIndex, state); - } -} -function extensionIsOk(extensions, extension) { - return extensions & 2 /* JavaScript */ && (extension === ".js" /* Js */ || extension === ".jsx" /* Jsx */ || extension === ".mjs" /* Mjs */ || extension === ".cjs" /* Cjs */) || extensions & 1 /* TypeScript */ && (extension === ".ts" /* Ts */ || extension === ".tsx" /* Tsx */ || extension === ".mts" /* Mts */ || extension === ".cts" /* Cts */) || extensions & 4 /* Declaration */ && (extension === ".d.ts" /* Dts */ || extension === ".d.mts" /* Dmts */ || extension === ".d.cts" /* Dcts */) || extensions & 8 /* Json */ && extension === ".json" /* Json */ || false; -} -function parsePackageName(moduleName) { - let idx = moduleName.indexOf(directorySeparator); - if (moduleName[0] === "@") { - idx = moduleName.indexOf(directorySeparator, idx + 1); - } - return idx === -1 ? { packageName: moduleName, rest: "" } : { packageName: moduleName.slice(0, idx), rest: moduleName.slice(idx + 1) }; -} -function allKeysStartWithDot(obj) { - return every(getOwnKeys(obj), (k) => startsWith(k, ".")); -} -function noKeyStartsWithDot(obj) { - return !some(getOwnKeys(obj), (k) => startsWith(k, ".")); -} -function loadModuleFromSelfNameReference(extensions, moduleName, directory, state, cache, redirectedReference) { - var _a, _b; - const directoryPath = getNormalizedAbsolutePath(directory, (_b = (_a = state.host).getCurrentDirectory) == null ? void 0 : _b.call(_a)); - const scope = getPackageScopeForPath(directoryPath, state); - if (!scope || !scope.contents.packageJsonContent.exports) { - return void 0; - } - if (typeof scope.contents.packageJsonContent.name !== "string") { - return void 0; - } - const parts = getPathComponents(moduleName); - const nameParts = getPathComponents(scope.contents.packageJsonContent.name); - if (!every(nameParts, (p, i) => parts[i] === p)) { - return void 0; - } - const trailingParts = parts.slice(nameParts.length); - const subpath = !length(trailingParts) ? "." : `.${directorySeparator}${trailingParts.join(directorySeparator)}`; - if (getAllowJSCompilerOption(state.compilerOptions) && !pathContainsNodeModules(directory)) { - return loadModuleFromExports(scope, extensions, subpath, state, cache, redirectedReference); - } - const priorityExtensions = extensions & (1 /* TypeScript */ | 4 /* Declaration */); - const secondaryExtensions = extensions & ~(1 /* TypeScript */ | 4 /* Declaration */); - return loadModuleFromExports(scope, priorityExtensions, subpath, state, cache, redirectedReference) || loadModuleFromExports(scope, secondaryExtensions, subpath, state, cache, redirectedReference); -} -function loadModuleFromExports(scope, extensions, subpath, state, cache, redirectedReference) { - if (!scope.contents.packageJsonContent.exports) { - return void 0; - } - if (subpath === ".") { - let mainExport; - if (typeof scope.contents.packageJsonContent.exports === "string" || Array.isArray(scope.contents.packageJsonContent.exports) || typeof scope.contents.packageJsonContent.exports === "object" && noKeyStartsWithDot(scope.contents.packageJsonContent.exports)) { - mainExport = scope.contents.packageJsonContent.exports; - } else if (hasProperty(scope.contents.packageJsonContent.exports, ".")) { - mainExport = scope.contents.packageJsonContent.exports["."]; - } - if (mainExport) { - const loadModuleFromTargetImportOrExport = getLoadModuleFromTargetImportOrExport( - extensions, - state, - cache, - redirectedReference, - subpath, - scope, - /*isImports*/ - false - ); - return loadModuleFromTargetImportOrExport( - mainExport, - "", - /*pattern*/ - false, - "." - ); - } - } else if (allKeysStartWithDot(scope.contents.packageJsonContent.exports)) { - if (typeof scope.contents.packageJsonContent.exports !== "object") { - if (state.traceEnabled) { - trace(state.host, Diagnostics.Export_specifier_0_does_not_exist_in_package_json_scope_at_path_1, subpath, scope.packageDirectory); - } - return toSearchResult( - /*value*/ - void 0 - ); - } - const result = loadModuleFromImportsOrExports( - extensions, - state, - cache, - redirectedReference, - subpath, - scope.contents.packageJsonContent.exports, - scope, - /*isImports*/ - false - ); - if (result) { - return result; - } - } - if (state.traceEnabled) { - trace(state.host, Diagnostics.Export_specifier_0_does_not_exist_in_package_json_scope_at_path_1, subpath, scope.packageDirectory); - } - return toSearchResult( - /*value*/ - void 0 - ); -} -function loadModuleFromImports(extensions, moduleName, directory, state, cache, redirectedReference) { - var _a, _b; - if (moduleName === "#" || startsWith(moduleName, "#/")) { - if (state.traceEnabled) { - trace(state.host, Diagnostics.Invalid_import_specifier_0_has_no_possible_resolutions, moduleName); - } - return toSearchResult( - /*value*/ - void 0 - ); - } - const directoryPath = getNormalizedAbsolutePath(directory, (_b = (_a = state.host).getCurrentDirectory) == null ? void 0 : _b.call(_a)); - const scope = getPackageScopeForPath(directoryPath, state); - if (!scope) { - if (state.traceEnabled) { - trace(state.host, Diagnostics.Directory_0_has_no_containing_package_json_scope_Imports_will_not_resolve, directoryPath); - } - return toSearchResult( - /*value*/ - void 0 - ); - } - if (!scope.contents.packageJsonContent.imports) { - if (state.traceEnabled) { - trace(state.host, Diagnostics.package_json_scope_0_has_no_imports_defined, scope.packageDirectory); - } - return toSearchResult( - /*value*/ - void 0 - ); - } - const result = loadModuleFromImportsOrExports( - extensions, - state, - cache, - redirectedReference, - moduleName, - scope.contents.packageJsonContent.imports, - scope, - /*isImports*/ - true - ); - if (result) { - return result; - } - if (state.traceEnabled) { - trace(state.host, Diagnostics.Import_specifier_0_does_not_exist_in_package_json_scope_at_path_1, moduleName, scope.packageDirectory); - } - return toSearchResult( - /*value*/ - void 0 - ); -} -function comparePatternKeys(a, b) { - const aPatternIndex = a.indexOf("*"); - const bPatternIndex = b.indexOf("*"); - const baseLenA = aPatternIndex === -1 ? a.length : aPatternIndex + 1; - const baseLenB = bPatternIndex === -1 ? b.length : bPatternIndex + 1; - if (baseLenA > baseLenB) return -1; - if (baseLenB > baseLenA) return 1; - if (aPatternIndex === -1) return 1; - if (bPatternIndex === -1) return -1; - if (a.length > b.length) return -1; - if (b.length > a.length) return 1; - return 0; -} -function loadModuleFromImportsOrExports(extensions, state, cache, redirectedReference, moduleName, lookupTable, scope, isImports) { - const loadModuleFromTargetImportOrExport = getLoadModuleFromTargetImportOrExport(extensions, state, cache, redirectedReference, moduleName, scope, isImports); - if (!endsWith(moduleName, directorySeparator) && !moduleName.includes("*") && hasProperty(lookupTable, moduleName)) { - const target = lookupTable[moduleName]; - return loadModuleFromTargetImportOrExport( - target, - /*subpath*/ - "", - /*pattern*/ - false, - moduleName - ); - } - const expandingKeys = toSorted(filter(getOwnKeys(lookupTable), (k) => hasOneAsterisk(k) || endsWith(k, "/")), comparePatternKeys); - for (const potentialTarget of expandingKeys) { - if (state.features & 16 /* ExportsPatternTrailers */ && matchesPatternWithTrailer(potentialTarget, moduleName)) { - const target = lookupTable[potentialTarget]; - const starPos = potentialTarget.indexOf("*"); - const subpath = moduleName.substring(potentialTarget.substring(0, starPos).length, moduleName.length - (potentialTarget.length - 1 - starPos)); - return loadModuleFromTargetImportOrExport( - target, - subpath, - /*pattern*/ - true, - potentialTarget - ); - } else if (endsWith(potentialTarget, "*") && startsWith(moduleName, potentialTarget.substring(0, potentialTarget.length - 1))) { - const target = lookupTable[potentialTarget]; - const subpath = moduleName.substring(potentialTarget.length - 1); - return loadModuleFromTargetImportOrExport( - target, - subpath, - /*pattern*/ - true, - potentialTarget - ); - } else if (startsWith(moduleName, potentialTarget)) { - const target = lookupTable[potentialTarget]; - const subpath = moduleName.substring(potentialTarget.length); - return loadModuleFromTargetImportOrExport( - target, - subpath, - /*pattern*/ - false, - potentialTarget - ); - } - } - function matchesPatternWithTrailer(target, name) { - if (endsWith(target, "*")) return false; - const starPos = target.indexOf("*"); - if (starPos === -1) return false; - return startsWith(name, target.substring(0, starPos)) && endsWith(name, target.substring(starPos + 1)); - } -} -function hasOneAsterisk(patternKey) { - const firstStar = patternKey.indexOf("*"); - return firstStar !== -1 && firstStar === patternKey.lastIndexOf("*"); -} -function getLoadModuleFromTargetImportOrExport(extensions, state, cache, redirectedReference, moduleName, scope, isImports) { - return loadModuleFromTargetImportOrExport; - function loadModuleFromTargetImportOrExport(target, subpath, pattern, key) { - if (typeof target === "string") { - if (!pattern && subpath.length > 0 && !endsWith(target, "/")) { - if (state.traceEnabled) { - trace(state.host, Diagnostics.package_json_scope_0_has_invalid_type_for_target_of_specifier_1, scope.packageDirectory, moduleName); - } - return toSearchResult( - /*value*/ - void 0 - ); - } - if (!startsWith(target, "./")) { - if (isImports && !startsWith(target, "../") && !startsWith(target, "/") && !isRootedDiskPath(target)) { - const combinedLookup = pattern ? target.replace(/\*/g, subpath) : target + subpath; - traceIfEnabled(state, Diagnostics.Using_0_subpath_1_with_target_2, "imports", key, combinedLookup); - traceIfEnabled(state, Diagnostics.Resolving_module_0_from_1, combinedLookup, scope.packageDirectory + "/"); - const result = nodeModuleNameResolverWorker( - state.features, - combinedLookup, - scope.packageDirectory + "/", - state.compilerOptions, - state.host, - cache, - extensions, - /*isConfigLookup*/ - false, - redirectedReference, - state.conditions - ); - return toSearchResult( - result.resolvedModule ? { - path: result.resolvedModule.resolvedFileName, - extension: result.resolvedModule.extension, - packageId: result.resolvedModule.packageId, - originalPath: result.resolvedModule.originalPath, - resolvedUsingTsExtension: result.resolvedModule.resolvedUsingTsExtension - } : void 0 - ); - } - if (state.traceEnabled) { - trace(state.host, Diagnostics.package_json_scope_0_has_invalid_type_for_target_of_specifier_1, scope.packageDirectory, moduleName); - } - return toSearchResult( - /*value*/ - void 0 - ); - } - const parts = pathIsRelative(target) ? getPathComponents(target).slice(1) : getPathComponents(target); - const partsAfterFirst = parts.slice(1); - if (partsAfterFirst.includes("..") || partsAfterFirst.includes(".") || partsAfterFirst.includes("node_modules")) { - if (state.traceEnabled) { - trace(state.host, Diagnostics.package_json_scope_0_has_invalid_type_for_target_of_specifier_1, scope.packageDirectory, moduleName); - } - return toSearchResult( - /*value*/ - void 0 - ); - } - const resolvedTarget = combinePaths(scope.packageDirectory, target); - const subpathParts = getPathComponents(subpath); - if (subpathParts.includes("..") || subpathParts.includes(".") || subpathParts.includes("node_modules")) { - if (state.traceEnabled) { - trace(state.host, Diagnostics.package_json_scope_0_has_invalid_type_for_target_of_specifier_1, scope.packageDirectory, moduleName); - } - return toSearchResult( - /*value*/ - void 0 - ); - } - if (state.traceEnabled) { - trace(state.host, Diagnostics.Using_0_subpath_1_with_target_2, isImports ? "imports" : "exports", key, pattern ? target.replace(/\*/g, subpath) : target + subpath); - } - const finalPath = toAbsolutePath(pattern ? resolvedTarget.replace(/\*/g, subpath) : resolvedTarget + subpath); - const inputLink = tryLoadInputFileForPath(finalPath, subpath, combinePaths(scope.packageDirectory, "package.json"), isImports); - if (inputLink) return inputLink; - return toSearchResult(withPackageId(scope, loadFileNameFromPackageJsonField( - extensions, - finalPath, - /*onlyRecordFailures*/ - false, - state - ), state)); - } else if (typeof target === "object" && target !== null) { - if (!Array.isArray(target)) { - traceIfEnabled(state, Diagnostics.Entering_conditional_exports); - for (const condition of getOwnKeys(target)) { - if (condition === "default" || state.conditions.includes(condition) || isApplicableVersionedTypesKey(state.conditions, condition)) { - traceIfEnabled(state, Diagnostics.Matched_0_condition_1, isImports ? "imports" : "exports", condition); - const subTarget = target[condition]; - const result = loadModuleFromTargetImportOrExport(subTarget, subpath, pattern, key); - if (result) { - traceIfEnabled(state, Diagnostics.Resolved_under_condition_0, condition); - traceIfEnabled(state, Diagnostics.Exiting_conditional_exports); - return result; - } else { - traceIfEnabled(state, Diagnostics.Failed_to_resolve_under_condition_0, condition); - } - } else { - traceIfEnabled(state, Diagnostics.Saw_non_matching_condition_0, condition); - } - } - traceIfEnabled(state, Diagnostics.Exiting_conditional_exports); - return void 0; - } else { - if (!length(target)) { - if (state.traceEnabled) { - trace(state.host, Diagnostics.package_json_scope_0_has_invalid_type_for_target_of_specifier_1, scope.packageDirectory, moduleName); - } - return toSearchResult( - /*value*/ - void 0 - ); - } - for (const elem of target) { - const result = loadModuleFromTargetImportOrExport(elem, subpath, pattern, key); - if (result) { - return result; - } - } - } - } else if (target === null) { - if (state.traceEnabled) { - trace(state.host, Diagnostics.package_json_scope_0_explicitly_maps_specifier_1_to_null, scope.packageDirectory, moduleName); - } - return toSearchResult( - /*value*/ - void 0 - ); - } - if (state.traceEnabled) { - trace(state.host, Diagnostics.package_json_scope_0_has_invalid_type_for_target_of_specifier_1, scope.packageDirectory, moduleName); - } - return toSearchResult( - /*value*/ - void 0 - ); - function toAbsolutePath(path) { - var _a, _b; - if (path === void 0) return path; - return getNormalizedAbsolutePath(path, (_b = (_a = state.host).getCurrentDirectory) == null ? void 0 : _b.call(_a)); - } - function combineDirectoryPath(root, dir) { - return ensureTrailingDirectorySeparator(combinePaths(root, dir)); - } - function tryLoadInputFileForPath(finalPath, entry, packagePath, isImports2) { - var _a, _b, _c, _d; - if (!state.isConfigLookup && (state.compilerOptions.declarationDir || state.compilerOptions.outDir) && !finalPath.includes("/node_modules/") && (state.compilerOptions.configFile ? containsPath(scope.packageDirectory, toAbsolutePath(state.compilerOptions.configFile.fileName), !useCaseSensitiveFileNames(state)) : true)) { - const getCanonicalFileName = hostGetCanonicalFileName({ useCaseSensitiveFileNames: () => useCaseSensitiveFileNames(state) }); - const commonSourceDirGuesses = []; - if (state.compilerOptions.rootDir || state.compilerOptions.composite && state.compilerOptions.configFilePath) { - const commonDir = toAbsolutePath(getCommonSourceDirectory(state.compilerOptions, () => [], ((_b = (_a = state.host).getCurrentDirectory) == null ? void 0 : _b.call(_a)) || "", getCanonicalFileName)); - commonSourceDirGuesses.push(commonDir); - } else if (state.requestContainingDirectory) { - const requestingFile = toAbsolutePath(combinePaths(state.requestContainingDirectory, "index.ts")); - const commonDir = toAbsolutePath(getCommonSourceDirectory(state.compilerOptions, () => [requestingFile, toAbsolutePath(packagePath)], ((_d = (_c = state.host).getCurrentDirectory) == null ? void 0 : _d.call(_c)) || "", getCanonicalFileName)); - commonSourceDirGuesses.push(commonDir); - let fragment = ensureTrailingDirectorySeparator(commonDir); - while (fragment && fragment.length > 1) { - const parts = getPathComponents(fragment); - parts.pop(); - const commonDir2 = getPathFromPathComponents(parts); - commonSourceDirGuesses.unshift(commonDir2); - fragment = ensureTrailingDirectorySeparator(commonDir2); - } - } - if (commonSourceDirGuesses.length > 1) { - state.reportDiagnostic(createCompilerDiagnostic( - isImports2 ? Diagnostics.The_project_root_is_ambiguous_but_is_required_to_resolve_import_map_entry_0_in_file_1_Supply_the_rootDir_compiler_option_to_disambiguate : Diagnostics.The_project_root_is_ambiguous_but_is_required_to_resolve_export_map_entry_0_in_file_1_Supply_the_rootDir_compiler_option_to_disambiguate, - entry === "" ? "." : entry, - // replace empty string with `.` - the reverse of the operation done when entries are built - so main entrypoint errors don't look weird - packagePath - )); - } - for (const commonSourceDirGuess of commonSourceDirGuesses) { - const candidateDirectories = getOutputDirectoriesForBaseDirectory(commonSourceDirGuess); - for (const candidateDir of candidateDirectories) { - if (containsPath(candidateDir, finalPath, !useCaseSensitiveFileNames(state))) { - const pathFragment = finalPath.slice(candidateDir.length + 1); - const possibleInputBase = combinePaths(commonSourceDirGuess, pathFragment); - const jsAndDtsExtensions = [".mjs" /* Mjs */, ".cjs" /* Cjs */, ".js" /* Js */, ".json" /* Json */, ".d.mts" /* Dmts */, ".d.cts" /* Dcts */, ".d.ts" /* Dts */]; - for (const ext of jsAndDtsExtensions) { - if (fileExtensionIs(possibleInputBase, ext)) { - const inputExts = getPossibleOriginalInputExtensionForExtension(possibleInputBase); - for (const possibleExt of inputExts) { - if (!extensionIsOk(extensions, possibleExt)) continue; - const possibleInputWithInputExtension = changeAnyExtension(possibleInputBase, possibleExt, ext, !useCaseSensitiveFileNames(state)); - if (state.host.fileExists(possibleInputWithInputExtension)) { - return toSearchResult(withPackageId(scope, loadFileNameFromPackageJsonField( - extensions, - possibleInputWithInputExtension, - /*onlyRecordFailures*/ - false, - state - ), state)); - } - } - } - } - } - } - } - } - return void 0; - function getOutputDirectoriesForBaseDirectory(commonSourceDirGuess) { - var _a2, _b2; - const currentDir = state.compilerOptions.configFile ? ((_b2 = (_a2 = state.host).getCurrentDirectory) == null ? void 0 : _b2.call(_a2)) || "" : commonSourceDirGuess; - const candidateDirectories = []; - if (state.compilerOptions.declarationDir) { - candidateDirectories.push(toAbsolutePath(combineDirectoryPath(currentDir, state.compilerOptions.declarationDir))); - } - if (state.compilerOptions.outDir && state.compilerOptions.outDir !== state.compilerOptions.declarationDir) { - candidateDirectories.push(toAbsolutePath(combineDirectoryPath(currentDir, state.compilerOptions.outDir))); - } - return candidateDirectories; - } - } - } -} -function isApplicableVersionedTypesKey(conditions, key) { - if (!conditions.includes("types")) return false; - if (!startsWith(key, "types@")) return false; - const range = VersionRange.tryParse(key.substring("types@".length)); - if (!range) return false; - return range.test(version); -} -function loadModuleFromNearestNodeModulesDirectory(extensions, moduleName, directory, state, cache, redirectedReference) { - return loadModuleFromNearestNodeModulesDirectoryWorker( - extensions, - moduleName, - directory, - state, - /*typesScopeOnly*/ - false, - cache, - redirectedReference - ); -} -function loadModuleFromNearestNodeModulesDirectoryTypesScope(moduleName, directory, state) { - return loadModuleFromNearestNodeModulesDirectoryWorker( - 4 /* Declaration */, - moduleName, - directory, - state, - /*typesScopeOnly*/ - true, - /*cache*/ - void 0, - /*redirectedReference*/ - void 0 - ); -} -function loadModuleFromNearestNodeModulesDirectoryWorker(extensions, moduleName, directory, state, typesScopeOnly, cache, redirectedReference) { - const mode = state.features === 0 ? void 0 : state.features & 32 /* EsmMode */ ? 99 /* ESNext */ : 1 /* CommonJS */; - const priorityExtensions = extensions & (1 /* TypeScript */ | 4 /* Declaration */); - const secondaryExtensions = extensions & ~(1 /* TypeScript */ | 4 /* Declaration */); - if (priorityExtensions) { - traceIfEnabled(state, Diagnostics.Searching_all_ancestor_node_modules_directories_for_preferred_extensions_Colon_0, formatExtensions(priorityExtensions)); - const result = lookup(priorityExtensions); - if (result) return result; - } - if (secondaryExtensions && !typesScopeOnly) { - traceIfEnabled(state, Diagnostics.Searching_all_ancestor_node_modules_directories_for_fallback_extensions_Colon_0, formatExtensions(secondaryExtensions)); - return lookup(secondaryExtensions); - } - function lookup(extensions2) { - return forEachAncestorDirectory(normalizeSlashes(directory), (ancestorDirectory) => { - if (getBaseFileName(ancestorDirectory) !== "node_modules") { - const resolutionFromCache = tryFindNonRelativeModuleNameInCache(cache, moduleName, mode, ancestorDirectory, redirectedReference, state); - if (resolutionFromCache) { - return resolutionFromCache; - } - return toSearchResult(loadModuleFromImmediateNodeModulesDirectory(extensions2, moduleName, ancestorDirectory, state, typesScopeOnly, cache, redirectedReference)); - } - }); - } -} -function loadModuleFromImmediateNodeModulesDirectory(extensions, moduleName, directory, state, typesScopeOnly, cache, redirectedReference) { - const nodeModulesFolder = combinePaths(directory, "node_modules"); - const nodeModulesFolderExists = directoryProbablyExists(nodeModulesFolder, state.host); - if (!nodeModulesFolderExists && state.traceEnabled) { - trace(state.host, Diagnostics.Directory_0_does_not_exist_skipping_all_lookups_in_it, nodeModulesFolder); - } - if (!typesScopeOnly) { - const packageResult = loadModuleFromSpecificNodeModulesDirectory(extensions, moduleName, nodeModulesFolder, nodeModulesFolderExists, state, cache, redirectedReference); - if (packageResult) { - return packageResult; - } - } - if (extensions & 4 /* Declaration */) { - const nodeModulesAtTypes2 = combinePaths(nodeModulesFolder, "@types"); - let nodeModulesAtTypesExists = nodeModulesFolderExists; - if (nodeModulesFolderExists && !directoryProbablyExists(nodeModulesAtTypes2, state.host)) { - if (state.traceEnabled) { - trace(state.host, Diagnostics.Directory_0_does_not_exist_skipping_all_lookups_in_it, nodeModulesAtTypes2); - } - nodeModulesAtTypesExists = false; - } - return loadModuleFromSpecificNodeModulesDirectory(4 /* Declaration */, mangleScopedPackageNameWithTrace(moduleName, state), nodeModulesAtTypes2, nodeModulesAtTypesExists, state, cache, redirectedReference); - } -} -function loadModuleFromSpecificNodeModulesDirectory(extensions, moduleName, nodeModulesDirectory, nodeModulesDirectoryExists, state, cache, redirectedReference) { - var _a, _b; - const candidate = normalizePath(combinePaths(nodeModulesDirectory, moduleName)); - const { packageName, rest } = parsePackageName(moduleName); - const packageDirectory = combinePaths(nodeModulesDirectory, packageName); - let rootPackageInfo; - let packageInfo = getPackageJsonInfo(candidate, !nodeModulesDirectoryExists, state); - if (rest !== "" && packageInfo && (!(state.features & 8 /* Exports */) || !hasProperty(((_a = rootPackageInfo = getPackageJsonInfo(packageDirectory, !nodeModulesDirectoryExists, state)) == null ? void 0 : _a.contents.packageJsonContent) ?? emptyArray, "exports"))) { - const fromFile = loadModuleFromFile(extensions, candidate, !nodeModulesDirectoryExists, state); - if (fromFile) { - return noPackageId(fromFile); - } - const fromDirectory = loadNodeModuleFromDirectoryWorker( - extensions, - candidate, - !nodeModulesDirectoryExists, - state, - packageInfo.contents.packageJsonContent, - getVersionPathsOfPackageJsonInfo(packageInfo, state) - ); - return withPackageId(packageInfo, fromDirectory, state); - } - const loader = (extensions2, candidate2, onlyRecordFailures, state2) => { - let pathAndExtension = (rest || !(state2.features & 32 /* EsmMode */)) && loadModuleFromFile(extensions2, candidate2, onlyRecordFailures, state2) || loadNodeModuleFromDirectoryWorker( - extensions2, - candidate2, - onlyRecordFailures, - state2, - packageInfo && packageInfo.contents.packageJsonContent, - packageInfo && getVersionPathsOfPackageJsonInfo(packageInfo, state2) - ); - if (!pathAndExtension && packageInfo && (packageInfo.contents.packageJsonContent.exports === void 0 || packageInfo.contents.packageJsonContent.exports === null) && state2.features & 32 /* EsmMode */) { - pathAndExtension = loadModuleFromFile(extensions2, combinePaths(candidate2, "index.js"), onlyRecordFailures, state2); - } - return withPackageId(packageInfo, pathAndExtension, state2); - }; - if (rest !== "") { - packageInfo = rootPackageInfo ?? getPackageJsonInfo(packageDirectory, !nodeModulesDirectoryExists, state); - } - if (packageInfo) { - state.resolvedPackageDirectory = true; - } - if (packageInfo && packageInfo.contents.packageJsonContent.exports && state.features & 8 /* Exports */) { - return (_b = loadModuleFromExports(packageInfo, extensions, combinePaths(".", rest), state, cache, redirectedReference)) == null ? void 0 : _b.value; - } - const versionPaths = rest !== "" && packageInfo ? getVersionPathsOfPackageJsonInfo(packageInfo, state) : void 0; - if (versionPaths) { - if (state.traceEnabled) { - trace(state.host, Diagnostics.package_json_has_a_typesVersions_entry_0_that_matches_compiler_version_1_looking_for_a_pattern_to_match_module_name_2, versionPaths.version, version, rest); - } - const packageDirectoryExists = nodeModulesDirectoryExists && directoryProbablyExists(packageDirectory, state.host); - const fromPaths = tryLoadModuleUsingPaths( - extensions, - rest, - packageDirectory, - versionPaths.paths, - /*pathPatterns*/ - void 0, - loader, - !packageDirectoryExists, - state - ); - if (fromPaths) { - return fromPaths.value; - } - } - return loader(extensions, candidate, !nodeModulesDirectoryExists, state); -} -function tryLoadModuleUsingPaths(extensions, moduleName, baseDirectory, paths, pathPatterns, loader, onlyRecordFailures, state) { - pathPatterns || (pathPatterns = tryParsePatterns(paths)); - const matchedPattern = matchPatternOrExact(pathPatterns, moduleName); - if (matchedPattern) { - const matchedStar = isString(matchedPattern) ? void 0 : matchedText(matchedPattern, moduleName); - const matchedPatternText = isString(matchedPattern) ? matchedPattern : patternText(matchedPattern); - if (state.traceEnabled) { - trace(state.host, Diagnostics.Module_name_0_matched_pattern_1, moduleName, matchedPatternText); - } - const resolved = forEach(paths[matchedPatternText], (subst) => { - const path = matchedStar ? replaceFirstStar(subst, matchedStar) : subst; - const candidate = normalizePath(combinePaths(baseDirectory, path)); - if (state.traceEnabled) { - trace(state.host, Diagnostics.Trying_substitution_0_candidate_module_location_Colon_1, subst, path); - } - const extension = tryGetExtensionFromPath2(subst); - if (extension !== void 0) { - const path2 = tryFile(candidate, onlyRecordFailures, state); - if (path2 !== void 0) { - return noPackageId({ path: path2, ext: extension, resolvedUsingTsExtension: void 0 }); - } - } - return loader(extensions, candidate, onlyRecordFailures || !directoryProbablyExists(getDirectoryPath(candidate), state.host), state); - }); - return { value: resolved }; - } -} -var mangledScopedPackageSeparator = "__"; -function mangleScopedPackageNameWithTrace(packageName, state) { - const mangled = mangleScopedPackageName(packageName); - if (state.traceEnabled && mangled !== packageName) { - trace(state.host, Diagnostics.Scoped_package_detected_looking_in_0, mangled); - } - return mangled; -} -function getTypesPackageName(packageName) { - return `@types/${mangleScopedPackageName(packageName)}`; -} -function mangleScopedPackageName(packageName) { - if (startsWith(packageName, "@")) { - const replaceSlash = packageName.replace(directorySeparator, mangledScopedPackageSeparator); - if (replaceSlash !== packageName) { - return replaceSlash.slice(1); - } - } - return packageName; -} -function getPackageNameFromTypesPackageName(mangledName) { - const withoutAtTypePrefix = removePrefix(mangledName, "@types/"); - if (withoutAtTypePrefix !== mangledName) { - return unmangleScopedPackageName(withoutAtTypePrefix); - } - return mangledName; -} -function unmangleScopedPackageName(typesPackageName) { - return typesPackageName.includes(mangledScopedPackageSeparator) ? "@" + typesPackageName.replace(mangledScopedPackageSeparator, directorySeparator) : typesPackageName; -} -function tryFindNonRelativeModuleNameInCache(cache, moduleName, mode, containingDirectory, redirectedReference, state) { - const result = cache && cache.getFromNonRelativeNameCache(moduleName, mode, containingDirectory, redirectedReference); - if (result) { - if (state.traceEnabled) { - trace(state.host, Diagnostics.Resolution_for_module_0_was_found_in_cache_from_location_1, moduleName, containingDirectory); - } - state.resultFromCache = result; - return { - value: result.resolvedModule && { - path: result.resolvedModule.resolvedFileName, - originalPath: result.resolvedModule.originalPath || true, - extension: result.resolvedModule.extension, - packageId: result.resolvedModule.packageId, - resolvedUsingTsExtension: result.resolvedModule.resolvedUsingTsExtension - } - }; - } -} -function classicNameResolver(moduleName, containingFile, compilerOptions, host, cache, redirectedReference) { - const traceEnabled = isTraceEnabled(compilerOptions, host); - const failedLookupLocations = []; - const affectingLocations = []; - const containingDirectory = getDirectoryPath(containingFile); - const diagnostics = []; - const state = { - compilerOptions, - host, - traceEnabled, - failedLookupLocations, - affectingLocations, - packageJsonInfoCache: cache, - features: 0 /* None */, - conditions: [], - requestContainingDirectory: containingDirectory, - reportDiagnostic: (diag2) => void diagnostics.push(diag2), - isConfigLookup: false, - candidateIsFromPackageJsonField: false, - resolvedPackageDirectory: false - }; - const resolved = tryResolve(1 /* TypeScript */ | 4 /* Declaration */) || tryResolve(2 /* JavaScript */ | (compilerOptions.resolveJsonModule ? 8 /* Json */ : 0)); - return createResolvedModuleWithFailedLookupLocationsHandlingSymlink( - moduleName, - resolved && resolved.value, - (resolved == null ? void 0 : resolved.value) && pathContainsNodeModules(resolved.value.path), - failedLookupLocations, - affectingLocations, - diagnostics, - state, - cache - ); - function tryResolve(extensions) { - const resolvedUsingSettings = tryLoadModuleUsingOptionalResolutionSettings(extensions, moduleName, containingDirectory, loadModuleFromFileNoPackageId, state); - if (resolvedUsingSettings) { - return { value: resolvedUsingSettings }; - } - if (!isExternalModuleNameRelative(moduleName)) { - const resolved2 = forEachAncestorDirectory(containingDirectory, (directory) => { - const resolutionFromCache = tryFindNonRelativeModuleNameInCache( - cache, - moduleName, - /*mode*/ - void 0, - directory, - redirectedReference, - state - ); - if (resolutionFromCache) { - return resolutionFromCache; - } - const searchName = normalizePath(combinePaths(directory, moduleName)); - return toSearchResult(loadModuleFromFileNoPackageId( - extensions, - searchName, - /*onlyRecordFailures*/ - false, - state - )); - }); - if (resolved2) return resolved2; - if (extensions & (1 /* TypeScript */ | 4 /* Declaration */)) { - let resolved3 = loadModuleFromNearestNodeModulesDirectoryTypesScope(moduleName, containingDirectory, state); - if (extensions & 4 /* Declaration */) resolved3 ?? (resolved3 = resolveFromTypeRoot(moduleName, state)); - return resolved3; - } - } else { - const candidate = normalizePath(combinePaths(containingDirectory, moduleName)); - return toSearchResult(loadModuleFromFileNoPackageId( - extensions, - candidate, - /*onlyRecordFailures*/ - false, - state - )); - } - } -} -function resolveFromTypeRoot(moduleName, state) { - if (!state.compilerOptions.typeRoots) return; - for (const typeRoot of state.compilerOptions.typeRoots) { - const candidate = getCandidateFromTypeRoot(typeRoot, moduleName, state); - const directoryExists = directoryProbablyExists(typeRoot, state.host); - if (!directoryExists && state.traceEnabled) { - trace(state.host, Diagnostics.Directory_0_does_not_exist_skipping_all_lookups_in_it, typeRoot); - } - const resolvedFromFile = loadModuleFromFile(4 /* Declaration */, candidate, !directoryExists, state); - if (resolvedFromFile) { - const packageDirectory = parseNodeModuleFromPath(resolvedFromFile.path); - const packageInfo = packageDirectory ? getPackageJsonInfo( - packageDirectory, - /*onlyRecordFailures*/ - false, - state - ) : void 0; - return toSearchResult(withPackageId(packageInfo, resolvedFromFile, state)); - } - const resolved = loadNodeModuleFromDirectory(4 /* Declaration */, candidate, !directoryExists, state); - if (resolved) return toSearchResult(resolved); - } -} -function shouldAllowImportingTsExtension(compilerOptions, fromFileName) { - return !!compilerOptions.allowImportingTsExtensions || fromFileName && isDeclarationFileName(fromFileName); -} -function loadModuleFromGlobalCache(moduleName, projectName, compilerOptions, host, globalCache, packageJsonInfoCache) { - const traceEnabled = isTraceEnabled(compilerOptions, host); - if (traceEnabled) { - trace(host, Diagnostics.Auto_discovery_for_typings_is_enabled_in_project_0_Running_extra_resolution_pass_for_module_1_using_cache_location_2, projectName, moduleName, globalCache); - } - const failedLookupLocations = []; - const affectingLocations = []; - const diagnostics = []; - const state = { - compilerOptions, - host, - traceEnabled, - failedLookupLocations, - affectingLocations, - packageJsonInfoCache, - features: 0 /* None */, - conditions: [], - requestContainingDirectory: void 0, - reportDiagnostic: (diag2) => void diagnostics.push(diag2), - isConfigLookup: false, - candidateIsFromPackageJsonField: false, - resolvedPackageDirectory: false - }; - const resolved = loadModuleFromImmediateNodeModulesDirectory( - 4 /* Declaration */, - moduleName, - globalCache, - state, - /*typesScopeOnly*/ - false, - /*cache*/ - void 0, - /*redirectedReference*/ - void 0 - ); - return createResolvedModuleWithFailedLookupLocations( - resolved, - /*isExternalLibraryImport*/ - true, - failedLookupLocations, - affectingLocations, - diagnostics, - state.resultFromCache, - /*cache*/ - void 0 - ); -} -function toSearchResult(value) { - return value !== void 0 ? { value } : void 0; -} -function traceIfEnabled(state, diagnostic, ...args) { - if (state.traceEnabled) { - trace(state.host, diagnostic, ...args); - } -} -function useCaseSensitiveFileNames(state) { - return !state.host.useCaseSensitiveFileNames ? true : typeof state.host.useCaseSensitiveFileNames === "boolean" ? state.host.useCaseSensitiveFileNames : state.host.useCaseSensitiveFileNames(); -} - -// src/compiler/binder.ts -function getModuleInstanceState(node, visited) { - if (node.body && !node.body.parent) { - setParent(node.body, node); - setParentRecursive( - node.body, - /*incremental*/ - false - ); - } - return node.body ? getModuleInstanceStateCached(node.body, visited) : 1 /* Instantiated */; -} -function getModuleInstanceStateCached(node, visited = /* @__PURE__ */ new Map()) { - const nodeId = getNodeId(node); - if (visited.has(nodeId)) { - return visited.get(nodeId) || 0 /* NonInstantiated */; - } - visited.set(nodeId, void 0); - const result = getModuleInstanceStateWorker(node, visited); - visited.set(nodeId, result); - return result; -} -function getModuleInstanceStateWorker(node, visited) { - switch (node.kind) { - case 264 /* InterfaceDeclaration */: - case 265 /* TypeAliasDeclaration */: - return 0 /* NonInstantiated */; - case 266 /* EnumDeclaration */: - if (isEnumConst(node)) { - return 2 /* ConstEnumOnly */; - } - break; - case 272 /* ImportDeclaration */: - case 271 /* ImportEqualsDeclaration */: - if (!hasSyntacticModifier(node, 32 /* Export */)) { - return 0 /* NonInstantiated */; - } - break; - case 278 /* ExportDeclaration */: - const exportDeclaration = node; - if (!exportDeclaration.moduleSpecifier && exportDeclaration.exportClause && exportDeclaration.exportClause.kind === 279 /* NamedExports */) { - let state = 0 /* NonInstantiated */; - for (const specifier of exportDeclaration.exportClause.elements) { - const specifierState = getModuleInstanceStateForAliasTarget(specifier, visited); - if (specifierState > state) { - state = specifierState; - } - if (state === 1 /* Instantiated */) { - return state; - } - } - return state; - } - break; - case 268 /* ModuleBlock */: { - let state = 0 /* NonInstantiated */; - forEachChild(node, (n) => { - const childState = getModuleInstanceStateCached(n, visited); - switch (childState) { - case 0 /* NonInstantiated */: - return; - case 2 /* ConstEnumOnly */: - state = 2 /* ConstEnumOnly */; - return; - case 1 /* Instantiated */: - state = 1 /* Instantiated */; - return true; - default: - Debug.assertNever(childState); - } - }); - return state; - } - case 267 /* ModuleDeclaration */: - return getModuleInstanceState(node, visited); - case 80 /* Identifier */: - if (node.flags & 4096 /* IdentifierIsInJSDocNamespace */) { - return 0 /* NonInstantiated */; - } - } - return 1 /* Instantiated */; -} -function getModuleInstanceStateForAliasTarget(specifier, visited) { - const name = specifier.propertyName || specifier.name; - if (name.kind !== 80 /* Identifier */) { - return 1 /* Instantiated */; - } - let p = specifier.parent; - while (p) { - if (isBlock(p) || isModuleBlock(p) || isSourceFile(p)) { - const statements = p.statements; - let found; - for (const statement of statements) { - if (nodeHasName(statement, name)) { - if (!statement.parent) { - setParent(statement, p); - setParentRecursive( - statement, - /*incremental*/ - false - ); - } - const state = getModuleInstanceStateCached(statement, visited); - if (found === void 0 || state > found) { - found = state; - } - if (found === 1 /* Instantiated */) { - return found; - } - if (statement.kind === 271 /* ImportEqualsDeclaration */) { - found = 1 /* Instantiated */; - } - } - } - if (found !== void 0) { - return found; - } - } - p = p.parent; - } - return 1 /* Instantiated */; -} -function createFlowNode(flags, node, antecedent) { - return Debug.attachFlowNodeDebugInfo({ flags, id: 0, node, antecedent }); -} -var binder = /* @__PURE__ */ createBinder(); -function bindSourceFile(file, options) { - mark("beforeBind"); - binder(file, options); - mark("afterBind"); - measure("Bind", "beforeBind", "afterBind"); -} -function createBinder() { - var file; - var options; - var languageVersion; - var parent; - var container; - var thisParentContainer; - var blockScopeContainer; - var lastContainer; - var delayedTypeAliases; - var seenThisKeyword; - var jsDocImports; - var currentFlow; - var currentBreakTarget; - var currentContinueTarget; - var currentReturnTarget; - var currentTrueTarget; - var currentFalseTarget; - var currentExceptionTarget; - var preSwitchCaseFlow; - var activeLabelList; - var hasExplicitReturn; - var hasFlowEffects; - var emitFlags; - var inStrictMode; - var inAssignmentPattern = false; - var symbolCount = 0; - var Symbol12; - var classifiableNames; - var unreachableFlow = createFlowNode( - 1 /* Unreachable */, - /*node*/ - void 0, - /*antecedent*/ - void 0 - ); - var reportedUnreachableFlow = createFlowNode( - 1 /* Unreachable */, - /*node*/ - void 0, - /*antecedent*/ - void 0 - ); - var bindBinaryExpressionFlow = createBindBinaryExpressionFlow(); - return bindSourceFile2; - function createDiagnosticForNode2(node, message, ...args) { - return createDiagnosticForNodeInSourceFile(getSourceFileOfNode(node) || file, node, message, ...args); - } - function bindSourceFile2(f, opts) { - var _a, _b; - file = f; - options = opts; - languageVersion = getEmitScriptTarget(options); - inStrictMode = bindInStrictMode(file, opts); - classifiableNames = /* @__PURE__ */ new Set(); - symbolCount = 0; - Symbol12 = objectAllocator.getSymbolConstructor(); - Debug.attachFlowNodeDebugInfo(unreachableFlow); - Debug.attachFlowNodeDebugInfo(reportedUnreachableFlow); - if (!file.locals) { - (_a = tracing) == null ? void 0 : _a.push( - tracing.Phase.Bind, - "bindSourceFile", - { path: file.path }, - /*separateBeginAndEnd*/ - true - ); - bind(file); - (_b = tracing) == null ? void 0 : _b.pop(); - file.symbolCount = symbolCount; - file.classifiableNames = classifiableNames; - delayedBindJSDocTypedefTag(); - bindJSDocImports(); - } - file = void 0; - options = void 0; - languageVersion = void 0; - parent = void 0; - container = void 0; - thisParentContainer = void 0; - blockScopeContainer = void 0; - lastContainer = void 0; - delayedTypeAliases = void 0; - jsDocImports = void 0; - seenThisKeyword = false; - currentFlow = void 0; - currentBreakTarget = void 0; - currentContinueTarget = void 0; - currentReturnTarget = void 0; - currentTrueTarget = void 0; - currentFalseTarget = void 0; - currentExceptionTarget = void 0; - activeLabelList = void 0; - hasExplicitReturn = false; - hasFlowEffects = false; - inAssignmentPattern = false; - emitFlags = 0 /* None */; - } - function bindInStrictMode(file2, opts) { - if (getStrictOptionValue(opts, "alwaysStrict") && !file2.isDeclarationFile) { - return true; - } else { - return !!file2.externalModuleIndicator; - } - } - function createSymbol(flags, name) { - symbolCount++; - return new Symbol12(flags, name); - } - function addDeclarationToSymbol(symbol, node, symbolFlags) { - symbol.flags |= symbolFlags; - node.symbol = symbol; - symbol.declarations = appendIfUnique(symbol.declarations, node); - if (symbolFlags & (32 /* Class */ | 384 /* Enum */ | 1536 /* Module */ | 3 /* Variable */) && !symbol.exports) { - symbol.exports = createSymbolTable(); - } - if (symbolFlags & (32 /* Class */ | 64 /* Interface */ | 2048 /* TypeLiteral */ | 4096 /* ObjectLiteral */) && !symbol.members) { - symbol.members = createSymbolTable(); - } - if (symbol.constEnumOnlyModule && symbol.flags & (16 /* Function */ | 32 /* Class */ | 256 /* RegularEnum */)) { - symbol.constEnumOnlyModule = false; - } - if (symbolFlags & 111551 /* Value */) { - setValueDeclaration(symbol, node); - } - } - function getDeclarationName(node) { - if (node.kind === 277 /* ExportAssignment */) { - return node.isExportEquals ? "export=" /* ExportEquals */ : "default" /* Default */; - } - const name = getNameOfDeclaration(node); - if (name) { - if (isAmbientModule(node)) { - const moduleName = getTextOfIdentifierOrLiteral(name); - return isGlobalScopeAugmentation(node) ? "__global" : `"${moduleName}"`; - } - if (name.kind === 167 /* ComputedPropertyName */) { - const nameExpression = name.expression; - if (isStringOrNumericLiteralLike(nameExpression)) { - return escapeLeadingUnderscores(nameExpression.text); - } - if (isSignedNumericLiteral(nameExpression)) { - return tokenToString(nameExpression.operator) + nameExpression.operand.text; - } else { - Debug.fail("Only computed properties with literal names have declaration names"); - } - } - if (isPrivateIdentifier(name)) { - const containingClass = getContainingClass(node); - if (!containingClass) { - return void 0; - } - const containingClassSymbol = containingClass.symbol; - return getSymbolNameForPrivateIdentifier(containingClassSymbol, name.escapedText); - } - if (isJsxNamespacedName(name)) { - return getEscapedTextOfJsxNamespacedName(name); - } - return isPropertyNameLiteral(name) ? getEscapedTextOfIdentifierOrLiteral(name) : void 0; - } - switch (node.kind) { - case 176 /* Constructor */: - return "__constructor" /* Constructor */; - case 184 /* FunctionType */: - case 179 /* CallSignature */: - case 323 /* JSDocSignature */: - return "__call" /* Call */; - case 185 /* ConstructorType */: - case 180 /* ConstructSignature */: - return "__new" /* New */; - case 181 /* IndexSignature */: - return "__index" /* Index */; - case 278 /* ExportDeclaration */: - return "__export" /* ExportStar */; - case 307 /* SourceFile */: - return "export=" /* ExportEquals */; - case 226 /* BinaryExpression */: - if (getAssignmentDeclarationKind(node) === 2 /* ModuleExports */) { - return "export=" /* ExportEquals */; - } - Debug.fail("Unknown binary declaration kind"); - break; - case 317 /* JSDocFunctionType */: - return isJSDocConstructSignature(node) ? "__new" /* New */ : "__call" /* Call */; - case 169 /* Parameter */: - Debug.assert(node.parent.kind === 317 /* JSDocFunctionType */, "Impossible parameter parent kind", () => `parent is: ${Debug.formatSyntaxKind(node.parent.kind)}, expected JSDocFunctionType`); - const functionType = node.parent; - const index = functionType.parameters.indexOf(node); - return "arg" + index; - } - } - function getDisplayName(node) { - return isNamedDeclaration(node) ? declarationNameToString(node.name) : unescapeLeadingUnderscores(Debug.checkDefined(getDeclarationName(node))); - } - function declareSymbol(symbolTable, parent2, node, includes, excludes, isReplaceableByMethod, isComputedName) { - Debug.assert(isComputedName || !hasDynamicName(node)); - const isDefaultExport = hasSyntacticModifier(node, 2048 /* Default */) || isExportSpecifier(node) && moduleExportNameIsDefault(node.name); - const name = isComputedName ? "__computed" /* Computed */ : isDefaultExport && parent2 ? "default" /* Default */ : getDeclarationName(node); - let symbol; - if (name === void 0) { - symbol = createSymbol(0 /* None */, "__missing" /* Missing */); - } else { - symbol = symbolTable.get(name); - if (includes & 2885600 /* Classifiable */) { - classifiableNames.add(name); - } - if (!symbol) { - symbolTable.set(name, symbol = createSymbol(0 /* None */, name)); - if (isReplaceableByMethod) symbol.isReplaceableByMethod = true; - } else if (isReplaceableByMethod && !symbol.isReplaceableByMethod) { - return symbol; - } else if (symbol.flags & excludes) { - if (symbol.isReplaceableByMethod) { - symbolTable.set(name, symbol = createSymbol(0 /* None */, name)); - } else if (!(includes & 3 /* Variable */ && symbol.flags & 67108864 /* Assignment */)) { - if (isNamedDeclaration(node)) { - setParent(node.name, node); - } - let message = symbol.flags & 2 /* BlockScopedVariable */ ? Diagnostics.Cannot_redeclare_block_scoped_variable_0 : Diagnostics.Duplicate_identifier_0; - let messageNeedsName = true; - if (symbol.flags & 384 /* Enum */ || includes & 384 /* Enum */) { - message = Diagnostics.Enum_declarations_can_only_merge_with_namespace_or_other_enum_declarations; - messageNeedsName = false; - } - let multipleDefaultExports = false; - if (length(symbol.declarations)) { - if (isDefaultExport) { - message = Diagnostics.A_module_cannot_have_multiple_default_exports; - messageNeedsName = false; - multipleDefaultExports = true; - } else { - if (symbol.declarations && symbol.declarations.length && (node.kind === 277 /* ExportAssignment */ && !node.isExportEquals)) { - message = Diagnostics.A_module_cannot_have_multiple_default_exports; - messageNeedsName = false; - multipleDefaultExports = true; - } - } - } - const relatedInformation = []; - if (isTypeAliasDeclaration(node) && nodeIsMissing(node.type) && hasSyntacticModifier(node, 32 /* Export */) && symbol.flags & (2097152 /* Alias */ | 788968 /* Type */ | 1920 /* Namespace */)) { - relatedInformation.push(createDiagnosticForNode2(node, Diagnostics.Did_you_mean_0, `export type { ${unescapeLeadingUnderscores(node.name.escapedText)} }`)); - } - const declarationName = getNameOfDeclaration(node) || node; - forEach(symbol.declarations, (declaration, index) => { - const decl = getNameOfDeclaration(declaration) || declaration; - const diag3 = messageNeedsName ? createDiagnosticForNode2(decl, message, getDisplayName(declaration)) : createDiagnosticForNode2(decl, message); - file.bindDiagnostics.push( - multipleDefaultExports ? addRelatedInfo(diag3, createDiagnosticForNode2(declarationName, index === 0 ? Diagnostics.Another_export_default_is_here : Diagnostics.and_here)) : diag3 - ); - if (multipleDefaultExports) { - relatedInformation.push(createDiagnosticForNode2(decl, Diagnostics.The_first_export_default_is_here)); - } - }); - const diag2 = messageNeedsName ? createDiagnosticForNode2(declarationName, message, getDisplayName(node)) : createDiagnosticForNode2(declarationName, message); - file.bindDiagnostics.push(addRelatedInfo(diag2, ...relatedInformation)); - symbol = createSymbol(0 /* None */, name); - } - } - } - addDeclarationToSymbol(symbol, node, includes); - if (symbol.parent) { - Debug.assert(symbol.parent === parent2, "Existing symbol parent should match new one"); - } else { - symbol.parent = parent2; - } - return symbol; - } - function declareModuleMember(node, symbolFlags, symbolExcludes) { - const hasExportModifier = !!(getCombinedModifierFlags(node) & 32 /* Export */) || jsdocTreatAsExported(node); - if (symbolFlags & 2097152 /* Alias */) { - if (node.kind === 281 /* ExportSpecifier */ || node.kind === 271 /* ImportEqualsDeclaration */ && hasExportModifier) { - return declareSymbol(container.symbol.exports, container.symbol, node, symbolFlags, symbolExcludes); - } else { - Debug.assertNode(container, canHaveLocals); - return declareSymbol( - container.locals, - /*parent*/ - void 0, - node, - symbolFlags, - symbolExcludes - ); - } - } else { - if (isJSDocTypeAlias(node)) Debug.assert(isInJSFile(node)); - if (!isAmbientModule(node) && (hasExportModifier || container.flags & 128 /* ExportContext */)) { - if (!canHaveLocals(container) || !container.locals || hasSyntacticModifier(node, 2048 /* Default */) && !getDeclarationName(node)) { - return declareSymbol(container.symbol.exports, container.symbol, node, symbolFlags, symbolExcludes); - } - const exportKind = symbolFlags & 111551 /* Value */ ? 1048576 /* ExportValue */ : 0; - const local = declareSymbol( - container.locals, - /*parent*/ - void 0, - node, - exportKind, - symbolExcludes - ); - local.exportSymbol = declareSymbol(container.symbol.exports, container.symbol, node, symbolFlags, symbolExcludes); - node.localSymbol = local; - return local; - } else { - Debug.assertNode(container, canHaveLocals); - return declareSymbol( - container.locals, - /*parent*/ - void 0, - node, - symbolFlags, - symbolExcludes - ); - } - } - } - function jsdocTreatAsExported(node) { - if (node.parent && isModuleDeclaration(node)) { - node = node.parent; - } - if (!isJSDocTypeAlias(node)) return false; - if (!isJSDocEnumTag(node) && !!node.fullName) return true; - const declName = getNameOfDeclaration(node); - if (!declName) return false; - if (isPropertyAccessEntityNameExpression(declName.parent) && isTopLevelNamespaceAssignment(declName.parent)) return true; - if (isDeclaration(declName.parent) && getCombinedModifierFlags(declName.parent) & 32 /* Export */) return true; - return false; - } - function bindContainer(node, containerFlags) { - const saveContainer = container; - const saveThisParentContainer = thisParentContainer; - const savedBlockScopeContainer = blockScopeContainer; - if (containerFlags & 1 /* IsContainer */) { - if (node.kind !== 219 /* ArrowFunction */) { - thisParentContainer = container; - } - container = blockScopeContainer = node; - if (containerFlags & 32 /* HasLocals */) { - container.locals = createSymbolTable(); - addToContainerChain(container); - } - } else if (containerFlags & 2 /* IsBlockScopedContainer */) { - blockScopeContainer = node; - if (containerFlags & 32 /* HasLocals */) { - blockScopeContainer.locals = void 0; - } - } - if (containerFlags & 4 /* IsControlFlowContainer */) { - const saveCurrentFlow = currentFlow; - const saveBreakTarget = currentBreakTarget; - const saveContinueTarget = currentContinueTarget; - const saveReturnTarget = currentReturnTarget; - const saveExceptionTarget = currentExceptionTarget; - const saveActiveLabelList = activeLabelList; - const saveHasExplicitReturn = hasExplicitReturn; - const isImmediatelyInvoked = containerFlags & 16 /* IsFunctionExpression */ && !hasSyntacticModifier(node, 1024 /* Async */) && !node.asteriskToken && !!getImmediatelyInvokedFunctionExpression(node) || node.kind === 175 /* ClassStaticBlockDeclaration */; - if (!isImmediatelyInvoked) { - currentFlow = createFlowNode( - 2 /* Start */, - /*node*/ - void 0, - /*antecedent*/ - void 0 - ); - if (containerFlags & (16 /* IsFunctionExpression */ | 128 /* IsObjectLiteralOrClassExpressionMethodOrAccessor */)) { - currentFlow.node = node; - } - } - currentReturnTarget = isImmediatelyInvoked || node.kind === 176 /* Constructor */ || isInJSFile(node) && (node.kind === 262 /* FunctionDeclaration */ || node.kind === 218 /* FunctionExpression */) ? createBranchLabel() : void 0; - currentExceptionTarget = void 0; - currentBreakTarget = void 0; - currentContinueTarget = void 0; - activeLabelList = void 0; - hasExplicitReturn = false; - bindChildren(node); - node.flags &= ~5632 /* ReachabilityAndEmitFlags */; - if (!(currentFlow.flags & 1 /* Unreachable */) && containerFlags & 8 /* IsFunctionLike */ && nodeIsPresent(node.body)) { - node.flags |= 512 /* HasImplicitReturn */; - if (hasExplicitReturn) node.flags |= 1024 /* HasExplicitReturn */; - node.endFlowNode = currentFlow; - } - if (node.kind === 307 /* SourceFile */) { - node.flags |= emitFlags; - node.endFlowNode = currentFlow; - } - if (currentReturnTarget) { - addAntecedent(currentReturnTarget, currentFlow); - currentFlow = finishFlowLabel(currentReturnTarget); - if (node.kind === 176 /* Constructor */ || node.kind === 175 /* ClassStaticBlockDeclaration */ || isInJSFile(node) && (node.kind === 262 /* FunctionDeclaration */ || node.kind === 218 /* FunctionExpression */)) { - node.returnFlowNode = currentFlow; - } - } - if (!isImmediatelyInvoked) { - currentFlow = saveCurrentFlow; - } - currentBreakTarget = saveBreakTarget; - currentContinueTarget = saveContinueTarget; - currentReturnTarget = saveReturnTarget; - currentExceptionTarget = saveExceptionTarget; - activeLabelList = saveActiveLabelList; - hasExplicitReturn = saveHasExplicitReturn; - } else if (containerFlags & 64 /* IsInterface */) { - seenThisKeyword = false; - bindChildren(node); - Debug.assertNotNode(node, isIdentifier); - node.flags = seenThisKeyword ? node.flags | 256 /* ContainsThis */ : node.flags & ~256 /* ContainsThis */; - } else { - bindChildren(node); - } - container = saveContainer; - thisParentContainer = saveThisParentContainer; - blockScopeContainer = savedBlockScopeContainer; - } - function bindEachFunctionsFirst(nodes) { - bindEach(nodes, (n) => n.kind === 262 /* FunctionDeclaration */ ? bind(n) : void 0); - bindEach(nodes, (n) => n.kind !== 262 /* FunctionDeclaration */ ? bind(n) : void 0); - } - function bindEach(nodes, bindFunction = bind) { - if (nodes === void 0) { - return; - } - forEach(nodes, bindFunction); - } - function bindEachChild(node) { - forEachChild(node, bind, bindEach); - } - function bindChildren(node) { - const saveInAssignmentPattern = inAssignmentPattern; - inAssignmentPattern = false; - if (checkUnreachable(node)) { - bindEachChild(node); - bindJSDoc(node); - inAssignmentPattern = saveInAssignmentPattern; - return; - } - if (node.kind >= 243 /* FirstStatement */ && node.kind <= 259 /* LastStatement */ && (!options.allowUnreachableCode || node.kind === 253 /* ReturnStatement */)) { - node.flowNode = currentFlow; - } - switch (node.kind) { - case 247 /* WhileStatement */: - bindWhileStatement(node); - break; - case 246 /* DoStatement */: - bindDoStatement(node); - break; - case 248 /* ForStatement */: - bindForStatement(node); - break; - case 249 /* ForInStatement */: - case 250 /* ForOfStatement */: - bindForInOrForOfStatement(node); - break; - case 245 /* IfStatement */: - bindIfStatement(node); - break; - case 253 /* ReturnStatement */: - case 257 /* ThrowStatement */: - bindReturnOrThrow(node); - break; - case 252 /* BreakStatement */: - case 251 /* ContinueStatement */: - bindBreakOrContinueStatement(node); - break; - case 258 /* TryStatement */: - bindTryStatement(node); - break; - case 255 /* SwitchStatement */: - bindSwitchStatement(node); - break; - case 269 /* CaseBlock */: - bindCaseBlock(node); - break; - case 296 /* CaseClause */: - bindCaseClause(node); - break; - case 244 /* ExpressionStatement */: - bindExpressionStatement(node); - break; - case 256 /* LabeledStatement */: - bindLabeledStatement(node); - break; - case 224 /* PrefixUnaryExpression */: - bindPrefixUnaryExpressionFlow(node); - break; - case 225 /* PostfixUnaryExpression */: - bindPostfixUnaryExpressionFlow(node); - break; - case 226 /* BinaryExpression */: - if (isDestructuringAssignment(node)) { - inAssignmentPattern = saveInAssignmentPattern; - bindDestructuringAssignmentFlow(node); - return; - } - bindBinaryExpressionFlow(node); - break; - case 220 /* DeleteExpression */: - bindDeleteExpressionFlow(node); - break; - case 227 /* ConditionalExpression */: - bindConditionalExpressionFlow(node); - break; - case 260 /* VariableDeclaration */: - bindVariableDeclarationFlow(node); - break; - case 211 /* PropertyAccessExpression */: - case 212 /* ElementAccessExpression */: - bindAccessExpressionFlow(node); - break; - case 213 /* CallExpression */: - bindCallExpressionFlow(node); - break; - case 235 /* NonNullExpression */: - bindNonNullExpressionFlow(node); - break; - case 346 /* JSDocTypedefTag */: - case 338 /* JSDocCallbackTag */: - case 340 /* JSDocEnumTag */: - bindJSDocTypeAlias(node); - break; - case 351 /* JSDocImportTag */: - bindJSDocImportTag(node); - break; - case 307 /* SourceFile */: { - bindEachFunctionsFirst(node.statements); - bind(node.endOfFileToken); - break; - } - case 241 /* Block */: - case 268 /* ModuleBlock */: - bindEachFunctionsFirst(node.statements); - break; - case 208 /* BindingElement */: - bindBindingElementFlow(node); - break; - case 169 /* Parameter */: - bindParameterFlow(node); - break; - case 210 /* ObjectLiteralExpression */: - case 209 /* ArrayLiteralExpression */: - case 303 /* PropertyAssignment */: - case 230 /* SpreadElement */: - inAssignmentPattern = saveInAssignmentPattern; - default: - bindEachChild(node); - break; - } - bindJSDoc(node); - inAssignmentPattern = saveInAssignmentPattern; - } - function isNarrowingExpression(expr) { - switch (expr.kind) { - case 80 /* Identifier */: - case 110 /* ThisKeyword */: - return true; - case 211 /* PropertyAccessExpression */: - case 212 /* ElementAccessExpression */: - return containsNarrowableReference(expr); - case 213 /* CallExpression */: - return hasNarrowableArgument(expr); - case 217 /* ParenthesizedExpression */: - if (isJSDocTypeAssertion(expr)) { - return false; - } - case 235 /* NonNullExpression */: - return isNarrowingExpression(expr.expression); - case 226 /* BinaryExpression */: - return isNarrowingBinaryExpression(expr); - case 224 /* PrefixUnaryExpression */: - return expr.operator === 54 /* ExclamationToken */ && isNarrowingExpression(expr.operand); - case 221 /* TypeOfExpression */: - return isNarrowingExpression(expr.expression); - } - return false; - } - function isNarrowableReference(expr) { - switch (expr.kind) { - case 80 /* Identifier */: - case 110 /* ThisKeyword */: - case 108 /* SuperKeyword */: - case 236 /* MetaProperty */: - return true; - case 211 /* PropertyAccessExpression */: - case 217 /* ParenthesizedExpression */: - case 235 /* NonNullExpression */: - return isNarrowableReference(expr.expression); - case 212 /* ElementAccessExpression */: - return (isStringOrNumericLiteralLike(expr.argumentExpression) || isEntityNameExpression(expr.argumentExpression)) && isNarrowableReference(expr.expression); - case 226 /* BinaryExpression */: - return expr.operatorToken.kind === 28 /* CommaToken */ && isNarrowableReference(expr.right) || isAssignmentOperator(expr.operatorToken.kind) && isLeftHandSideExpression(expr.left); - } - return false; - } - function containsNarrowableReference(expr) { - return isNarrowableReference(expr) || isOptionalChain(expr) && containsNarrowableReference(expr.expression); - } - function hasNarrowableArgument(expr) { - if (expr.arguments) { - for (const argument of expr.arguments) { - if (containsNarrowableReference(argument)) { - return true; - } - } - } - if (expr.expression.kind === 211 /* PropertyAccessExpression */ && containsNarrowableReference(expr.expression.expression)) { - return true; - } - return false; - } - function isNarrowingTypeofOperands(expr1, expr2) { - return isTypeOfExpression(expr1) && isNarrowableOperand(expr1.expression) && isStringLiteralLike(expr2); - } - function isNarrowingBinaryExpression(expr) { - switch (expr.operatorToken.kind) { - case 64 /* EqualsToken */: - case 76 /* BarBarEqualsToken */: - case 77 /* AmpersandAmpersandEqualsToken */: - case 78 /* QuestionQuestionEqualsToken */: - return containsNarrowableReference(expr.left); - case 35 /* EqualsEqualsToken */: - case 36 /* ExclamationEqualsToken */: - case 37 /* EqualsEqualsEqualsToken */: - case 38 /* ExclamationEqualsEqualsToken */: - return isNarrowableOperand(expr.left) || isNarrowableOperand(expr.right) || isNarrowingTypeofOperands(expr.right, expr.left) || isNarrowingTypeofOperands(expr.left, expr.right) || (isBooleanLiteral(expr.right) && isNarrowingExpression(expr.left) || isBooleanLiteral(expr.left) && isNarrowingExpression(expr.right)); - case 104 /* InstanceOfKeyword */: - return isNarrowableOperand(expr.left); - case 103 /* InKeyword */: - return isNarrowingExpression(expr.right); - case 28 /* CommaToken */: - return isNarrowingExpression(expr.right); - } - return false; - } - function isNarrowableOperand(expr) { - switch (expr.kind) { - case 217 /* ParenthesizedExpression */: - return isNarrowableOperand(expr.expression); - case 226 /* BinaryExpression */: - switch (expr.operatorToken.kind) { - case 64 /* EqualsToken */: - return isNarrowableOperand(expr.left); - case 28 /* CommaToken */: - return isNarrowableOperand(expr.right); - } - } - return containsNarrowableReference(expr); - } - function createBranchLabel() { - return createFlowNode( - 4 /* BranchLabel */, - /*node*/ - void 0, - /*antecedent*/ - void 0 - ); - } - function createLoopLabel() { - return createFlowNode( - 8 /* LoopLabel */, - /*node*/ - void 0, - /*antecedent*/ - void 0 - ); - } - function createReduceLabel(target, antecedents, antecedent) { - return createFlowNode(1024 /* ReduceLabel */, { target, antecedents }, antecedent); - } - function setFlowNodeReferenced(flow) { - flow.flags |= flow.flags & 2048 /* Referenced */ ? 4096 /* Shared */ : 2048 /* Referenced */; - } - function addAntecedent(label, antecedent) { - if (!(antecedent.flags & 1 /* Unreachable */) && !contains(label.antecedent, antecedent)) { - (label.antecedent || (label.antecedent = [])).push(antecedent); - setFlowNodeReferenced(antecedent); - } - } - function createFlowCondition(flags, antecedent, expression) { - if (antecedent.flags & 1 /* Unreachable */) { - return antecedent; - } - if (!expression) { - return flags & 32 /* TrueCondition */ ? antecedent : unreachableFlow; - } - if ((expression.kind === 112 /* TrueKeyword */ && flags & 64 /* FalseCondition */ || expression.kind === 97 /* FalseKeyword */ && flags & 32 /* TrueCondition */) && !isExpressionOfOptionalChainRoot(expression) && !isNullishCoalesce(expression.parent)) { - return unreachableFlow; - } - if (!isNarrowingExpression(expression)) { - return antecedent; - } - setFlowNodeReferenced(antecedent); - return createFlowNode(flags, expression, antecedent); - } - function createFlowSwitchClause(antecedent, switchStatement, clauseStart, clauseEnd) { - setFlowNodeReferenced(antecedent); - return createFlowNode(128 /* SwitchClause */, { switchStatement, clauseStart, clauseEnd }, antecedent); - } - function createFlowMutation(flags, antecedent, node) { - setFlowNodeReferenced(antecedent); - hasFlowEffects = true; - const result = createFlowNode(flags, node, antecedent); - if (currentExceptionTarget) { - addAntecedent(currentExceptionTarget, result); - } - return result; - } - function createFlowCall(antecedent, node) { - setFlowNodeReferenced(antecedent); - hasFlowEffects = true; - return createFlowNode(512 /* Call */, node, antecedent); - } - function finishFlowLabel(flow) { - const antecedents = flow.antecedent; - if (!antecedents) { - return unreachableFlow; - } - if (antecedents.length === 1) { - return antecedents[0]; - } - return flow; - } - function isStatementCondition(node) { - const parent2 = node.parent; - switch (parent2.kind) { - case 245 /* IfStatement */: - case 247 /* WhileStatement */: - case 246 /* DoStatement */: - return parent2.expression === node; - case 248 /* ForStatement */: - case 227 /* ConditionalExpression */: - return parent2.condition === node; - } - return false; - } - function isLogicalExpression(node) { - while (true) { - if (node.kind === 217 /* ParenthesizedExpression */) { - node = node.expression; - } else if (node.kind === 224 /* PrefixUnaryExpression */ && node.operator === 54 /* ExclamationToken */) { - node = node.operand; - } else { - return isLogicalOrCoalescingBinaryExpression(node); - } - } - } - function isLogicalAssignmentExpression(node) { - return isLogicalOrCoalescingAssignmentExpression(skipParentheses(node)); - } - function isTopLevelLogicalExpression(node) { - while (isParenthesizedExpression(node.parent) || isPrefixUnaryExpression(node.parent) && node.parent.operator === 54 /* ExclamationToken */) { - node = node.parent; - } - return !isStatementCondition(node) && !isLogicalExpression(node.parent) && !(isOptionalChain(node.parent) && node.parent.expression === node); - } - function doWithConditionalBranches(action, value, trueTarget, falseTarget) { - const savedTrueTarget = currentTrueTarget; - const savedFalseTarget = currentFalseTarget; - currentTrueTarget = trueTarget; - currentFalseTarget = falseTarget; - action(value); - currentTrueTarget = savedTrueTarget; - currentFalseTarget = savedFalseTarget; - } - function bindCondition(node, trueTarget, falseTarget) { - doWithConditionalBranches(bind, node, trueTarget, falseTarget); - if (!node || !isLogicalAssignmentExpression(node) && !isLogicalExpression(node) && !(isOptionalChain(node) && isOutermostOptionalChain(node))) { - addAntecedent(trueTarget, createFlowCondition(32 /* TrueCondition */, currentFlow, node)); - addAntecedent(falseTarget, createFlowCondition(64 /* FalseCondition */, currentFlow, node)); - } - } - function bindIterativeStatement(node, breakTarget, continueTarget) { - const saveBreakTarget = currentBreakTarget; - const saveContinueTarget = currentContinueTarget; - currentBreakTarget = breakTarget; - currentContinueTarget = continueTarget; - bind(node); - currentBreakTarget = saveBreakTarget; - currentContinueTarget = saveContinueTarget; - } - function setContinueTarget(node, target) { - let label = activeLabelList; - while (label && node.parent.kind === 256 /* LabeledStatement */) { - label.continueTarget = target; - label = label.next; - node = node.parent; - } - return target; - } - function bindWhileStatement(node) { - const preWhileLabel = setContinueTarget(node, createLoopLabel()); - const preBodyLabel = createBranchLabel(); - const postWhileLabel = createBranchLabel(); - addAntecedent(preWhileLabel, currentFlow); - currentFlow = preWhileLabel; - bindCondition(node.expression, preBodyLabel, postWhileLabel); - currentFlow = finishFlowLabel(preBodyLabel); - bindIterativeStatement(node.statement, postWhileLabel, preWhileLabel); - addAntecedent(preWhileLabel, currentFlow); - currentFlow = finishFlowLabel(postWhileLabel); - } - function bindDoStatement(node) { - const preDoLabel = createLoopLabel(); - const preConditionLabel = setContinueTarget(node, createBranchLabel()); - const postDoLabel = createBranchLabel(); - addAntecedent(preDoLabel, currentFlow); - currentFlow = preDoLabel; - bindIterativeStatement(node.statement, postDoLabel, preConditionLabel); - addAntecedent(preConditionLabel, currentFlow); - currentFlow = finishFlowLabel(preConditionLabel); - bindCondition(node.expression, preDoLabel, postDoLabel); - currentFlow = finishFlowLabel(postDoLabel); - } - function bindForStatement(node) { - const preLoopLabel = setContinueTarget(node, createLoopLabel()); - const preBodyLabel = createBranchLabel(); - const postLoopLabel = createBranchLabel(); - bind(node.initializer); - addAntecedent(preLoopLabel, currentFlow); - currentFlow = preLoopLabel; - bindCondition(node.condition, preBodyLabel, postLoopLabel); - currentFlow = finishFlowLabel(preBodyLabel); - bindIterativeStatement(node.statement, postLoopLabel, preLoopLabel); - bind(node.incrementor); - addAntecedent(preLoopLabel, currentFlow); - currentFlow = finishFlowLabel(postLoopLabel); - } - function bindForInOrForOfStatement(node) { - const preLoopLabel = setContinueTarget(node, createLoopLabel()); - const postLoopLabel = createBranchLabel(); - bind(node.expression); - addAntecedent(preLoopLabel, currentFlow); - currentFlow = preLoopLabel; - if (node.kind === 250 /* ForOfStatement */) { - bind(node.awaitModifier); - } - addAntecedent(postLoopLabel, currentFlow); - bind(node.initializer); - if (node.initializer.kind !== 261 /* VariableDeclarationList */) { - bindAssignmentTargetFlow(node.initializer); - } - bindIterativeStatement(node.statement, postLoopLabel, preLoopLabel); - addAntecedent(preLoopLabel, currentFlow); - currentFlow = finishFlowLabel(postLoopLabel); - } - function bindIfStatement(node) { - const thenLabel = createBranchLabel(); - const elseLabel = createBranchLabel(); - const postIfLabel = createBranchLabel(); - bindCondition(node.expression, thenLabel, elseLabel); - currentFlow = finishFlowLabel(thenLabel); - bind(node.thenStatement); - addAntecedent(postIfLabel, currentFlow); - currentFlow = finishFlowLabel(elseLabel); - bind(node.elseStatement); - addAntecedent(postIfLabel, currentFlow); - currentFlow = finishFlowLabel(postIfLabel); - } - function bindReturnOrThrow(node) { - bind(node.expression); - if (node.kind === 253 /* ReturnStatement */) { - hasExplicitReturn = true; - if (currentReturnTarget) { - addAntecedent(currentReturnTarget, currentFlow); - } - } - currentFlow = unreachableFlow; - hasFlowEffects = true; - } - function findActiveLabel(name) { - for (let label = activeLabelList; label; label = label.next) { - if (label.name === name) { - return label; - } - } - return void 0; - } - function bindBreakOrContinueFlow(node, breakTarget, continueTarget) { - const flowLabel = node.kind === 252 /* BreakStatement */ ? breakTarget : continueTarget; - if (flowLabel) { - addAntecedent(flowLabel, currentFlow); - currentFlow = unreachableFlow; - hasFlowEffects = true; - } - } - function bindBreakOrContinueStatement(node) { - bind(node.label); - if (node.label) { - const activeLabel = findActiveLabel(node.label.escapedText); - if (activeLabel) { - activeLabel.referenced = true; - bindBreakOrContinueFlow(node, activeLabel.breakTarget, activeLabel.continueTarget); - } - } else { - bindBreakOrContinueFlow(node, currentBreakTarget, currentContinueTarget); - } - } - function bindTryStatement(node) { - const saveReturnTarget = currentReturnTarget; - const saveExceptionTarget = currentExceptionTarget; - const normalExitLabel = createBranchLabel(); - const returnLabel = createBranchLabel(); - let exceptionLabel = createBranchLabel(); - if (node.finallyBlock) { - currentReturnTarget = returnLabel; - } - addAntecedent(exceptionLabel, currentFlow); - currentExceptionTarget = exceptionLabel; - bind(node.tryBlock); - addAntecedent(normalExitLabel, currentFlow); - if (node.catchClause) { - currentFlow = finishFlowLabel(exceptionLabel); - exceptionLabel = createBranchLabel(); - addAntecedent(exceptionLabel, currentFlow); - currentExceptionTarget = exceptionLabel; - bind(node.catchClause); - addAntecedent(normalExitLabel, currentFlow); - } - currentReturnTarget = saveReturnTarget; - currentExceptionTarget = saveExceptionTarget; - if (node.finallyBlock) { - const finallyLabel = createBranchLabel(); - finallyLabel.antecedent = concatenate(concatenate(normalExitLabel.antecedent, exceptionLabel.antecedent), returnLabel.antecedent); - currentFlow = finallyLabel; - bind(node.finallyBlock); - if (currentFlow.flags & 1 /* Unreachable */) { - currentFlow = unreachableFlow; - } else { - if (currentReturnTarget && returnLabel.antecedent) { - addAntecedent(currentReturnTarget, createReduceLabel(finallyLabel, returnLabel.antecedent, currentFlow)); - } - if (currentExceptionTarget && exceptionLabel.antecedent) { - addAntecedent(currentExceptionTarget, createReduceLabel(finallyLabel, exceptionLabel.antecedent, currentFlow)); - } - currentFlow = normalExitLabel.antecedent ? createReduceLabel(finallyLabel, normalExitLabel.antecedent, currentFlow) : unreachableFlow; - } - } else { - currentFlow = finishFlowLabel(normalExitLabel); - } - } - function bindSwitchStatement(node) { - const postSwitchLabel = createBranchLabel(); - bind(node.expression); - const saveBreakTarget = currentBreakTarget; - const savePreSwitchCaseFlow = preSwitchCaseFlow; - currentBreakTarget = postSwitchLabel; - preSwitchCaseFlow = currentFlow; - bind(node.caseBlock); - addAntecedent(postSwitchLabel, currentFlow); - const hasDefault = forEach(node.caseBlock.clauses, (c) => c.kind === 297 /* DefaultClause */); - node.possiblyExhaustive = !hasDefault && !postSwitchLabel.antecedent; - if (!hasDefault) { - addAntecedent(postSwitchLabel, createFlowSwitchClause(preSwitchCaseFlow, node, 0, 0)); - } - currentBreakTarget = saveBreakTarget; - preSwitchCaseFlow = savePreSwitchCaseFlow; - currentFlow = finishFlowLabel(postSwitchLabel); - } - function bindCaseBlock(node) { - const clauses = node.clauses; - const isNarrowingSwitch = node.parent.expression.kind === 112 /* TrueKeyword */ || isNarrowingExpression(node.parent.expression); - let fallthroughFlow = unreachableFlow; - for (let i = 0; i < clauses.length; i++) { - const clauseStart = i; - while (!clauses[i].statements.length && i + 1 < clauses.length) { - if (fallthroughFlow === unreachableFlow) { - currentFlow = preSwitchCaseFlow; - } - bind(clauses[i]); - i++; - } - const preCaseLabel = createBranchLabel(); - addAntecedent(preCaseLabel, isNarrowingSwitch ? createFlowSwitchClause(preSwitchCaseFlow, node.parent, clauseStart, i + 1) : preSwitchCaseFlow); - addAntecedent(preCaseLabel, fallthroughFlow); - currentFlow = finishFlowLabel(preCaseLabel); - const clause = clauses[i]; - bind(clause); - fallthroughFlow = currentFlow; - if (!(currentFlow.flags & 1 /* Unreachable */) && i !== clauses.length - 1 && options.noFallthroughCasesInSwitch) { - clause.fallthroughFlowNode = currentFlow; - } - } - } - function bindCaseClause(node) { - const saveCurrentFlow = currentFlow; - currentFlow = preSwitchCaseFlow; - bind(node.expression); - currentFlow = saveCurrentFlow; - bindEach(node.statements); - } - function bindExpressionStatement(node) { - bind(node.expression); - maybeBindExpressionFlowIfCall(node.expression); - } - function maybeBindExpressionFlowIfCall(node) { - if (node.kind === 213 /* CallExpression */) { - const call = node; - if (call.expression.kind !== 108 /* SuperKeyword */ && isDottedName(call.expression)) { - currentFlow = createFlowCall(currentFlow, call); - } - } - } - function bindLabeledStatement(node) { - const postStatementLabel = createBranchLabel(); - activeLabelList = { - next: activeLabelList, - name: node.label.escapedText, - breakTarget: postStatementLabel, - continueTarget: void 0, - referenced: false - }; - bind(node.label); - bind(node.statement); - if (!activeLabelList.referenced && !options.allowUnusedLabels) { - errorOrSuggestionOnNode(unusedLabelIsError(options), node.label, Diagnostics.Unused_label); - } - activeLabelList = activeLabelList.next; - addAntecedent(postStatementLabel, currentFlow); - currentFlow = finishFlowLabel(postStatementLabel); - } - function bindDestructuringTargetFlow(node) { - if (node.kind === 226 /* BinaryExpression */ && node.operatorToken.kind === 64 /* EqualsToken */) { - bindAssignmentTargetFlow(node.left); - } else { - bindAssignmentTargetFlow(node); - } - } - function bindAssignmentTargetFlow(node) { - if (isNarrowableReference(node)) { - currentFlow = createFlowMutation(16 /* Assignment */, currentFlow, node); - } else if (node.kind === 209 /* ArrayLiteralExpression */) { - for (const e of node.elements) { - if (e.kind === 230 /* SpreadElement */) { - bindAssignmentTargetFlow(e.expression); - } else { - bindDestructuringTargetFlow(e); - } - } - } else if (node.kind === 210 /* ObjectLiteralExpression */) { - for (const p of node.properties) { - if (p.kind === 303 /* PropertyAssignment */) { - bindDestructuringTargetFlow(p.initializer); - } else if (p.kind === 304 /* ShorthandPropertyAssignment */) { - bindAssignmentTargetFlow(p.name); - } else if (p.kind === 305 /* SpreadAssignment */) { - bindAssignmentTargetFlow(p.expression); - } - } - } - } - function bindLogicalLikeExpression(node, trueTarget, falseTarget) { - const preRightLabel = createBranchLabel(); - if (node.operatorToken.kind === 56 /* AmpersandAmpersandToken */ || node.operatorToken.kind === 77 /* AmpersandAmpersandEqualsToken */) { - bindCondition(node.left, preRightLabel, falseTarget); - } else { - bindCondition(node.left, trueTarget, preRightLabel); - } - currentFlow = finishFlowLabel(preRightLabel); - bind(node.operatorToken); - if (isLogicalOrCoalescingAssignmentOperator(node.operatorToken.kind)) { - doWithConditionalBranches(bind, node.right, trueTarget, falseTarget); - bindAssignmentTargetFlow(node.left); - addAntecedent(trueTarget, createFlowCondition(32 /* TrueCondition */, currentFlow, node)); - addAntecedent(falseTarget, createFlowCondition(64 /* FalseCondition */, currentFlow, node)); - } else { - bindCondition(node.right, trueTarget, falseTarget); - } - } - function bindPrefixUnaryExpressionFlow(node) { - if (node.operator === 54 /* ExclamationToken */) { - const saveTrueTarget = currentTrueTarget; - currentTrueTarget = currentFalseTarget; - currentFalseTarget = saveTrueTarget; - bindEachChild(node); - currentFalseTarget = currentTrueTarget; - currentTrueTarget = saveTrueTarget; - } else { - bindEachChild(node); - if (node.operator === 46 /* PlusPlusToken */ || node.operator === 47 /* MinusMinusToken */) { - bindAssignmentTargetFlow(node.operand); - } - } - } - function bindPostfixUnaryExpressionFlow(node) { - bindEachChild(node); - if (node.operator === 46 /* PlusPlusToken */ || node.operator === 47 /* MinusMinusToken */) { - bindAssignmentTargetFlow(node.operand); - } - } - function bindDestructuringAssignmentFlow(node) { - if (inAssignmentPattern) { - inAssignmentPattern = false; - bind(node.operatorToken); - bind(node.right); - inAssignmentPattern = true; - bind(node.left); - } else { - inAssignmentPattern = true; - bind(node.left); - inAssignmentPattern = false; - bind(node.operatorToken); - bind(node.right); - } - bindAssignmentTargetFlow(node.left); - } - function createBindBinaryExpressionFlow() { - return createBinaryExpressionTrampoline( - onEnter, - onLeft, - onOperator, - onRight, - onExit, - /*foldState*/ - void 0 - ); - function onEnter(node, state) { - if (state) { - state.stackIndex++; - setParent(node, parent); - const saveInStrictMode = inStrictMode; - bindWorker(node); - const saveParent = parent; - parent = node; - state.skip = false; - state.inStrictModeStack[state.stackIndex] = saveInStrictMode; - state.parentStack[state.stackIndex] = saveParent; - } else { - state = { - stackIndex: 0, - skip: false, - inStrictModeStack: [void 0], - parentStack: [void 0] - }; - } - const operator = node.operatorToken.kind; - if (isLogicalOrCoalescingBinaryOperator(operator) || isLogicalOrCoalescingAssignmentOperator(operator)) { - if (isTopLevelLogicalExpression(node)) { - const postExpressionLabel = createBranchLabel(); - const saveCurrentFlow = currentFlow; - const saveHasFlowEffects = hasFlowEffects; - hasFlowEffects = false; - bindLogicalLikeExpression(node, postExpressionLabel, postExpressionLabel); - currentFlow = hasFlowEffects ? finishFlowLabel(postExpressionLabel) : saveCurrentFlow; - hasFlowEffects || (hasFlowEffects = saveHasFlowEffects); - } else { - bindLogicalLikeExpression(node, currentTrueTarget, currentFalseTarget); - } - state.skip = true; - } - return state; - } - function onLeft(left, state, node) { - if (!state.skip) { - const maybeBound = maybeBind2(left); - if (node.operatorToken.kind === 28 /* CommaToken */) { - maybeBindExpressionFlowIfCall(left); - } - return maybeBound; - } - } - function onOperator(operatorToken, state, _node) { - if (!state.skip) { - bind(operatorToken); - } - } - function onRight(right, state, node) { - if (!state.skip) { - const maybeBound = maybeBind2(right); - if (node.operatorToken.kind === 28 /* CommaToken */) { - maybeBindExpressionFlowIfCall(right); - } - return maybeBound; - } - } - function onExit(node, state) { - if (!state.skip) { - const operator = node.operatorToken.kind; - if (isAssignmentOperator(operator) && !isAssignmentTarget(node)) { - bindAssignmentTargetFlow(node.left); - if (operator === 64 /* EqualsToken */ && node.left.kind === 212 /* ElementAccessExpression */) { - const elementAccess = node.left; - if (isNarrowableOperand(elementAccess.expression)) { - currentFlow = createFlowMutation(256 /* ArrayMutation */, currentFlow, node); - } - } - } - } - const savedInStrictMode = state.inStrictModeStack[state.stackIndex]; - const savedParent = state.parentStack[state.stackIndex]; - if (savedInStrictMode !== void 0) { - inStrictMode = savedInStrictMode; - } - if (savedParent !== void 0) { - parent = savedParent; - } - state.skip = false; - state.stackIndex--; - } - function maybeBind2(node) { - if (node && isBinaryExpression(node) && !isDestructuringAssignment(node)) { - return node; - } - bind(node); - } - } - function bindDeleteExpressionFlow(node) { - bindEachChild(node); - if (node.expression.kind === 211 /* PropertyAccessExpression */) { - bindAssignmentTargetFlow(node.expression); - } - } - function bindConditionalExpressionFlow(node) { - const trueLabel = createBranchLabel(); - const falseLabel = createBranchLabel(); - const postExpressionLabel = createBranchLabel(); - const saveCurrentFlow = currentFlow; - const saveHasFlowEffects = hasFlowEffects; - hasFlowEffects = false; - bindCondition(node.condition, trueLabel, falseLabel); - currentFlow = finishFlowLabel(trueLabel); - bind(node.questionToken); - bind(node.whenTrue); - addAntecedent(postExpressionLabel, currentFlow); - currentFlow = finishFlowLabel(falseLabel); - bind(node.colonToken); - bind(node.whenFalse); - addAntecedent(postExpressionLabel, currentFlow); - currentFlow = hasFlowEffects ? finishFlowLabel(postExpressionLabel) : saveCurrentFlow; - hasFlowEffects || (hasFlowEffects = saveHasFlowEffects); - } - function bindInitializedVariableFlow(node) { - const name = !isOmittedExpression(node) ? node.name : void 0; - if (isBindingPattern(name)) { - for (const child of name.elements) { - bindInitializedVariableFlow(child); - } - } else { - currentFlow = createFlowMutation(16 /* Assignment */, currentFlow, node); - } - } - function bindVariableDeclarationFlow(node) { - bindEachChild(node); - if (node.initializer || isForInOrOfStatement(node.parent.parent)) { - bindInitializedVariableFlow(node); - } - } - function bindBindingElementFlow(node) { - bind(node.dotDotDotToken); - bind(node.propertyName); - bindInitializer(node.initializer); - bind(node.name); - } - function bindParameterFlow(node) { - bindEach(node.modifiers); - bind(node.dotDotDotToken); - bind(node.questionToken); - bind(node.type); - bindInitializer(node.initializer); - bind(node.name); - } - function bindInitializer(node) { - if (!node) { - return; - } - const entryFlow = currentFlow; - bind(node); - if (entryFlow === unreachableFlow || entryFlow === currentFlow) { - return; - } - const exitFlow = createBranchLabel(); - addAntecedent(exitFlow, entryFlow); - addAntecedent(exitFlow, currentFlow); - currentFlow = finishFlowLabel(exitFlow); - } - function bindJSDocTypeAlias(node) { - bind(node.tagName); - if (node.kind !== 340 /* JSDocEnumTag */ && node.fullName) { - setParent(node.fullName, node); - setParentRecursive( - node.fullName, - /*incremental*/ - false - ); - } - if (typeof node.comment !== "string") { - bindEach(node.comment); - } - } - function bindJSDocClassTag(node) { - bindEachChild(node); - const host = getHostSignatureFromJSDoc(node); - if (host && host.kind !== 174 /* MethodDeclaration */) { - addDeclarationToSymbol(host.symbol, host, 32 /* Class */); - } - } - function bindJSDocImportTag(node) { - bind(node.tagName); - bind(node.moduleSpecifier); - bind(node.attributes); - if (typeof node.comment !== "string") { - bindEach(node.comment); - } - } - function bindOptionalExpression(node, trueTarget, falseTarget) { - doWithConditionalBranches(bind, node, trueTarget, falseTarget); - if (!isOptionalChain(node) || isOutermostOptionalChain(node)) { - addAntecedent(trueTarget, createFlowCondition(32 /* TrueCondition */, currentFlow, node)); - addAntecedent(falseTarget, createFlowCondition(64 /* FalseCondition */, currentFlow, node)); - } - } - function bindOptionalChainRest(node) { - switch (node.kind) { - case 211 /* PropertyAccessExpression */: - bind(node.questionDotToken); - bind(node.name); - break; - case 212 /* ElementAccessExpression */: - bind(node.questionDotToken); - bind(node.argumentExpression); - break; - case 213 /* CallExpression */: - bind(node.questionDotToken); - bindEach(node.typeArguments); - bindEach(node.arguments); - break; - } - } - function bindOptionalChain(node, trueTarget, falseTarget) { - const preChainLabel = isOptionalChainRoot(node) ? createBranchLabel() : void 0; - bindOptionalExpression(node.expression, preChainLabel || trueTarget, falseTarget); - if (preChainLabel) { - currentFlow = finishFlowLabel(preChainLabel); - } - doWithConditionalBranches(bindOptionalChainRest, node, trueTarget, falseTarget); - if (isOutermostOptionalChain(node)) { - addAntecedent(trueTarget, createFlowCondition(32 /* TrueCondition */, currentFlow, node)); - addAntecedent(falseTarget, createFlowCondition(64 /* FalseCondition */, currentFlow, node)); - } - } - function bindOptionalChainFlow(node) { - if (isTopLevelLogicalExpression(node)) { - const postExpressionLabel = createBranchLabel(); - const saveCurrentFlow = currentFlow; - const saveHasFlowEffects = hasFlowEffects; - bindOptionalChain(node, postExpressionLabel, postExpressionLabel); - currentFlow = hasFlowEffects ? finishFlowLabel(postExpressionLabel) : saveCurrentFlow; - hasFlowEffects || (hasFlowEffects = saveHasFlowEffects); - } else { - bindOptionalChain(node, currentTrueTarget, currentFalseTarget); - } - } - function bindNonNullExpressionFlow(node) { - if (isOptionalChain(node)) { - bindOptionalChainFlow(node); - } else { - bindEachChild(node); - } - } - function bindAccessExpressionFlow(node) { - if (isOptionalChain(node)) { - bindOptionalChainFlow(node); - } else { - bindEachChild(node); - } - } - function bindCallExpressionFlow(node) { - if (isOptionalChain(node)) { - bindOptionalChainFlow(node); - } else { - const expr = skipParentheses(node.expression); - if (expr.kind === 218 /* FunctionExpression */ || expr.kind === 219 /* ArrowFunction */) { - bindEach(node.typeArguments); - bindEach(node.arguments); - bind(node.expression); - } else { - bindEachChild(node); - if (node.expression.kind === 108 /* SuperKeyword */) { - currentFlow = createFlowCall(currentFlow, node); - } - } - } - if (node.expression.kind === 211 /* PropertyAccessExpression */) { - const propertyAccess = node.expression; - if (isIdentifier(propertyAccess.name) && isNarrowableOperand(propertyAccess.expression) && isPushOrUnshiftIdentifier(propertyAccess.name)) { - currentFlow = createFlowMutation(256 /* ArrayMutation */, currentFlow, node); - } - } - } - function addToContainerChain(next) { - if (lastContainer) { - lastContainer.nextContainer = next; - } - lastContainer = next; - } - function declareSymbolAndAddToSymbolTable(node, symbolFlags, symbolExcludes) { - switch (container.kind) { - case 267 /* ModuleDeclaration */: - return declareModuleMember(node, symbolFlags, symbolExcludes); - case 307 /* SourceFile */: - return declareSourceFileMember(node, symbolFlags, symbolExcludes); - case 231 /* ClassExpression */: - case 263 /* ClassDeclaration */: - return declareClassMember(node, symbolFlags, symbolExcludes); - case 266 /* EnumDeclaration */: - return declareSymbol(container.symbol.exports, container.symbol, node, symbolFlags, symbolExcludes); - case 187 /* TypeLiteral */: - case 322 /* JSDocTypeLiteral */: - case 210 /* ObjectLiteralExpression */: - case 264 /* InterfaceDeclaration */: - case 292 /* JsxAttributes */: - return declareSymbol(container.symbol.members, container.symbol, node, symbolFlags, symbolExcludes); - case 184 /* FunctionType */: - case 185 /* ConstructorType */: - case 179 /* CallSignature */: - case 180 /* ConstructSignature */: - case 323 /* JSDocSignature */: - case 181 /* IndexSignature */: - case 174 /* MethodDeclaration */: - case 173 /* MethodSignature */: - case 176 /* Constructor */: - case 177 /* GetAccessor */: - case 178 /* SetAccessor */: - case 262 /* FunctionDeclaration */: - case 218 /* FunctionExpression */: - case 219 /* ArrowFunction */: - case 317 /* JSDocFunctionType */: - case 175 /* ClassStaticBlockDeclaration */: - case 265 /* TypeAliasDeclaration */: - case 200 /* MappedType */: - if (container.locals) Debug.assertNode(container, canHaveLocals); - return declareSymbol( - container.locals, - /*parent*/ - void 0, - node, - symbolFlags, - symbolExcludes - ); - } - } - function declareClassMember(node, symbolFlags, symbolExcludes) { - return isStatic(node) ? declareSymbol(container.symbol.exports, container.symbol, node, symbolFlags, symbolExcludes) : declareSymbol(container.symbol.members, container.symbol, node, symbolFlags, symbolExcludes); - } - function declareSourceFileMember(node, symbolFlags, symbolExcludes) { - return isExternalModule(file) ? declareModuleMember(node, symbolFlags, symbolExcludes) : declareSymbol( - file.locals, - /*parent*/ - void 0, - node, - symbolFlags, - symbolExcludes - ); - } - function hasExportDeclarations(node) { - const body = isSourceFile(node) ? node : tryCast(node.body, isModuleBlock); - return !!body && body.statements.some((s) => isExportDeclaration(s) || isExportAssignment(s)); - } - function setExportContextFlag(node) { - if (node.flags & 33554432 /* Ambient */ && !hasExportDeclarations(node)) { - node.flags |= 128 /* ExportContext */; - } else { - node.flags &= ~128 /* ExportContext */; - } - } - function bindModuleDeclaration(node) { - setExportContextFlag(node); - if (isAmbientModule(node)) { - if (hasSyntacticModifier(node, 32 /* Export */)) { - errorOnFirstToken(node, Diagnostics.export_modifier_cannot_be_applied_to_ambient_modules_and_module_augmentations_since_they_are_always_visible); - } - if (isModuleAugmentationExternal(node)) { - declareModuleSymbol(node); - } else { - let pattern; - if (node.name.kind === 11 /* StringLiteral */) { - const { text } = node.name; - pattern = tryParsePattern(text); - if (pattern === void 0) { - errorOnFirstToken(node.name, Diagnostics.Pattern_0_can_have_at_most_one_Asterisk_character, text); - } - } - const symbol = declareSymbolAndAddToSymbolTable(node, 512 /* ValueModule */, 110735 /* ValueModuleExcludes */); - file.patternAmbientModules = append(file.patternAmbientModules, pattern && !isString(pattern) ? { pattern, symbol } : void 0); - } - } else { - const state = declareModuleSymbol(node); - if (state !== 0 /* NonInstantiated */) { - const { symbol } = node; - symbol.constEnumOnlyModule = !(symbol.flags & (16 /* Function */ | 32 /* Class */ | 256 /* RegularEnum */)) && state === 2 /* ConstEnumOnly */ && symbol.constEnumOnlyModule !== false; - } - } - } - function declareModuleSymbol(node) { - const state = getModuleInstanceState(node); - const instantiated = state !== 0 /* NonInstantiated */; - declareSymbolAndAddToSymbolTable( - node, - instantiated ? 512 /* ValueModule */ : 1024 /* NamespaceModule */, - instantiated ? 110735 /* ValueModuleExcludes */ : 0 /* NamespaceModuleExcludes */ - ); - return state; - } - function bindFunctionOrConstructorType(node) { - const symbol = createSymbol(131072 /* Signature */, getDeclarationName(node)); - addDeclarationToSymbol(symbol, node, 131072 /* Signature */); - const typeLiteralSymbol = createSymbol(2048 /* TypeLiteral */, "__type" /* Type */); - addDeclarationToSymbol(typeLiteralSymbol, node, 2048 /* TypeLiteral */); - typeLiteralSymbol.members = createSymbolTable(); - typeLiteralSymbol.members.set(symbol.escapedName, symbol); - } - function bindObjectLiteralExpression(node) { - return bindAnonymousDeclaration(node, 4096 /* ObjectLiteral */, "__object" /* Object */); - } - function bindJsxAttributes(node) { - return bindAnonymousDeclaration(node, 4096 /* ObjectLiteral */, "__jsxAttributes" /* JSXAttributes */); - } - function bindJsxAttribute(node, symbolFlags, symbolExcludes) { - return declareSymbolAndAddToSymbolTable(node, symbolFlags, symbolExcludes); - } - function bindAnonymousDeclaration(node, symbolFlags, name) { - const symbol = createSymbol(symbolFlags, name); - if (symbolFlags & (8 /* EnumMember */ | 106500 /* ClassMember */)) { - symbol.parent = container.symbol; - } - addDeclarationToSymbol(symbol, node, symbolFlags); - return symbol; - } - function bindBlockScopedDeclaration(node, symbolFlags, symbolExcludes) { - switch (blockScopeContainer.kind) { - case 267 /* ModuleDeclaration */: - declareModuleMember(node, symbolFlags, symbolExcludes); - break; - case 307 /* SourceFile */: - if (isExternalOrCommonJsModule(container)) { - declareModuleMember(node, symbolFlags, symbolExcludes); - break; - } - default: - Debug.assertNode(blockScopeContainer, canHaveLocals); - if (!blockScopeContainer.locals) { - blockScopeContainer.locals = createSymbolTable(); - addToContainerChain(blockScopeContainer); - } - declareSymbol( - blockScopeContainer.locals, - /*parent*/ - void 0, - node, - symbolFlags, - symbolExcludes - ); - } - } - function delayedBindJSDocTypedefTag() { - if (!delayedTypeAliases) { - return; - } - const saveContainer = container; - const saveLastContainer = lastContainer; - const saveBlockScopeContainer = blockScopeContainer; - const saveParent = parent; - const saveCurrentFlow = currentFlow; - for (const typeAlias of delayedTypeAliases) { - const host = typeAlias.parent.parent; - container = getEnclosingContainer(host) || file; - blockScopeContainer = getEnclosingBlockScopeContainer(host) || file; - currentFlow = createFlowNode( - 2 /* Start */, - /*node*/ - void 0, - /*antecedent*/ - void 0 - ); - parent = typeAlias; - bind(typeAlias.typeExpression); - const declName = getNameOfDeclaration(typeAlias); - if ((isJSDocEnumTag(typeAlias) || !typeAlias.fullName) && declName && isPropertyAccessEntityNameExpression(declName.parent)) { - const isTopLevel = isTopLevelNamespaceAssignment(declName.parent); - if (isTopLevel) { - bindPotentiallyMissingNamespaces( - file.symbol, - declName.parent, - isTopLevel, - !!findAncestor(declName, (d) => isPropertyAccessExpression(d) && d.name.escapedText === "prototype"), - /*containerIsClass*/ - false - ); - const oldContainer = container; - switch (getAssignmentDeclarationPropertyAccessKind(declName.parent)) { - case 1 /* ExportsProperty */: - case 2 /* ModuleExports */: - if (!isExternalOrCommonJsModule(file)) { - container = void 0; - } else { - container = file; - } - break; - case 4 /* ThisProperty */: - container = declName.parent.expression; - break; - case 3 /* PrototypeProperty */: - container = declName.parent.expression.name; - break; - case 5 /* Property */: - container = isExportsOrModuleExportsOrAlias(file, declName.parent.expression) ? file : isPropertyAccessExpression(declName.parent.expression) ? declName.parent.expression.name : declName.parent.expression; - break; - case 0 /* None */: - return Debug.fail("Shouldn't have detected typedef or enum on non-assignment declaration"); - } - if (container) { - declareModuleMember(typeAlias, 524288 /* TypeAlias */, 788968 /* TypeAliasExcludes */); - } - container = oldContainer; - } - } else if (isJSDocEnumTag(typeAlias) || !typeAlias.fullName || typeAlias.fullName.kind === 80 /* Identifier */) { - parent = typeAlias.parent; - bindBlockScopedDeclaration(typeAlias, 524288 /* TypeAlias */, 788968 /* TypeAliasExcludes */); - } else { - bind(typeAlias.fullName); - } - } - container = saveContainer; - lastContainer = saveLastContainer; - blockScopeContainer = saveBlockScopeContainer; - parent = saveParent; - currentFlow = saveCurrentFlow; - } - function bindJSDocImports() { - if (jsDocImports === void 0) { - return; - } - const saveContainer = container; - const saveLastContainer = lastContainer; - const saveBlockScopeContainer = blockScopeContainer; - const saveParent = parent; - const saveCurrentFlow = currentFlow; - for (const jsDocImportTag of jsDocImports) { - const host = getJSDocHost(jsDocImportTag); - const enclosingContainer = host ? getEnclosingContainer(host) : void 0; - const enclosingBlockScopeContainer = host ? getEnclosingBlockScopeContainer(host) : void 0; - container = enclosingContainer || file; - blockScopeContainer = enclosingBlockScopeContainer || file; - currentFlow = createFlowNode( - 2 /* Start */, - /*node*/ - void 0, - /*antecedent*/ - void 0 - ); - parent = jsDocImportTag; - bind(jsDocImportTag.importClause); - } - container = saveContainer; - lastContainer = saveLastContainer; - blockScopeContainer = saveBlockScopeContainer; - parent = saveParent; - currentFlow = saveCurrentFlow; - } - function checkContextualIdentifier(node) { - if (!file.parseDiagnostics.length && !(node.flags & 33554432 /* Ambient */) && !(node.flags & 16777216 /* JSDoc */) && !isIdentifierName(node)) { - const originalKeywordKind = identifierToKeywordKind(node); - if (originalKeywordKind === void 0) { - return; - } - if (inStrictMode && originalKeywordKind >= 119 /* FirstFutureReservedWord */ && originalKeywordKind <= 127 /* LastFutureReservedWord */) { - file.bindDiagnostics.push(createDiagnosticForNode2(node, getStrictModeIdentifierMessage(node), declarationNameToString(node))); - } else if (originalKeywordKind === 135 /* AwaitKeyword */) { - if (isExternalModule(file) && isInTopLevelContext(node)) { - file.bindDiagnostics.push(createDiagnosticForNode2(node, Diagnostics.Identifier_expected_0_is_a_reserved_word_at_the_top_level_of_a_module, declarationNameToString(node))); - } else if (node.flags & 65536 /* AwaitContext */) { - file.bindDiagnostics.push(createDiagnosticForNode2(node, Diagnostics.Identifier_expected_0_is_a_reserved_word_that_cannot_be_used_here, declarationNameToString(node))); - } - } else if (originalKeywordKind === 127 /* YieldKeyword */ && node.flags & 16384 /* YieldContext */) { - file.bindDiagnostics.push(createDiagnosticForNode2(node, Diagnostics.Identifier_expected_0_is_a_reserved_word_that_cannot_be_used_here, declarationNameToString(node))); - } - } - } - function getStrictModeIdentifierMessage(node) { - if (getContainingClass(node)) { - return Diagnostics.Identifier_expected_0_is_a_reserved_word_in_strict_mode_Class_definitions_are_automatically_in_strict_mode; - } - if (file.externalModuleIndicator) { - return Diagnostics.Identifier_expected_0_is_a_reserved_word_in_strict_mode_Modules_are_automatically_in_strict_mode; - } - return Diagnostics.Identifier_expected_0_is_a_reserved_word_in_strict_mode; - } - function checkPrivateIdentifier(node) { - if (node.escapedText === "#constructor") { - if (!file.parseDiagnostics.length) { - file.bindDiagnostics.push(createDiagnosticForNode2(node, Diagnostics.constructor_is_a_reserved_word, declarationNameToString(node))); - } - } - } - function checkStrictModeBinaryExpression(node) { - if (inStrictMode && isLeftHandSideExpression(node.left) && isAssignmentOperator(node.operatorToken.kind)) { - checkStrictModeEvalOrArguments(node, node.left); - } - } - function checkStrictModeCatchClause(node) { - if (inStrictMode && node.variableDeclaration) { - checkStrictModeEvalOrArguments(node, node.variableDeclaration.name); - } - } - function checkStrictModeDeleteExpression(node) { - if (inStrictMode && node.expression.kind === 80 /* Identifier */) { - const span = getErrorSpanForNode(file, node.expression); - file.bindDiagnostics.push(createFileDiagnostic(file, span.start, span.length, Diagnostics.delete_cannot_be_called_on_an_identifier_in_strict_mode)); - } - } - function isEvalOrArgumentsIdentifier(node) { - return isIdentifier(node) && (node.escapedText === "eval" || node.escapedText === "arguments"); - } - function checkStrictModeEvalOrArguments(contextNode, name) { - if (name && name.kind === 80 /* Identifier */) { - const identifier = name; - if (isEvalOrArgumentsIdentifier(identifier)) { - const span = getErrorSpanForNode(file, name); - file.bindDiagnostics.push(createFileDiagnostic(file, span.start, span.length, getStrictModeEvalOrArgumentsMessage(contextNode), idText(identifier))); - } - } - } - function getStrictModeEvalOrArgumentsMessage(node) { - if (getContainingClass(node)) { - return Diagnostics.Code_contained_in_a_class_is_evaluated_in_JavaScript_s_strict_mode_which_does_not_allow_this_use_of_0_For_more_information_see_https_Colon_Slash_Slashdeveloper_mozilla_org_Slashen_US_Slashdocs_SlashWeb_SlashJavaScript_SlashReference_SlashStrict_mode; - } - if (file.externalModuleIndicator) { - return Diagnostics.Invalid_use_of_0_Modules_are_automatically_in_strict_mode; - } - return Diagnostics.Invalid_use_of_0_in_strict_mode; - } - function checkStrictModeFunctionName(node) { - if (inStrictMode && !(node.flags & 33554432 /* Ambient */)) { - checkStrictModeEvalOrArguments(node, node.name); - } - } - function getStrictModeBlockScopeFunctionDeclarationMessage(node) { - if (getContainingClass(node)) { - return Diagnostics.Function_declarations_are_not_allowed_inside_blocks_in_strict_mode_when_targeting_ES5_Class_definitions_are_automatically_in_strict_mode; - } - if (file.externalModuleIndicator) { - return Diagnostics.Function_declarations_are_not_allowed_inside_blocks_in_strict_mode_when_targeting_ES5_Modules_are_automatically_in_strict_mode; - } - return Diagnostics.Function_declarations_are_not_allowed_inside_blocks_in_strict_mode_when_targeting_ES5; - } - function checkStrictModeFunctionDeclaration(node) { - if (languageVersion < 2 /* ES2015 */) { - if (blockScopeContainer.kind !== 307 /* SourceFile */ && blockScopeContainer.kind !== 267 /* ModuleDeclaration */ && !isFunctionLikeOrClassStaticBlockDeclaration(blockScopeContainer)) { - const errorSpan = getErrorSpanForNode(file, node); - file.bindDiagnostics.push(createFileDiagnostic(file, errorSpan.start, errorSpan.length, getStrictModeBlockScopeFunctionDeclarationMessage(node))); - } - } - } - function checkStrictModePostfixUnaryExpression(node) { - if (inStrictMode) { - checkStrictModeEvalOrArguments(node, node.operand); - } - } - function checkStrictModePrefixUnaryExpression(node) { - if (inStrictMode) { - if (node.operator === 46 /* PlusPlusToken */ || node.operator === 47 /* MinusMinusToken */) { - checkStrictModeEvalOrArguments(node, node.operand); - } - } - } - function checkStrictModeWithStatement(node) { - if (inStrictMode) { - errorOnFirstToken(node, Diagnostics.with_statements_are_not_allowed_in_strict_mode); - } - } - function checkStrictModeLabeledStatement(node) { - if (inStrictMode && getEmitScriptTarget(options) >= 2 /* ES2015 */) { - if (isDeclarationStatement(node.statement) || isVariableStatement(node.statement)) { - errorOnFirstToken(node.label, Diagnostics.A_label_is_not_allowed_here); - } - } - } - function errorOnFirstToken(node, message, ...args) { - const span = getSpanOfTokenAtPosition(file, node.pos); - file.bindDiagnostics.push(createFileDiagnostic(file, span.start, span.length, message, ...args)); - } - function errorOrSuggestionOnNode(isError, node, message) { - errorOrSuggestionOnRange(isError, node, node, message); - } - function errorOrSuggestionOnRange(isError, startNode, endNode, message) { - addErrorOrSuggestionDiagnostic(isError, { pos: getTokenPosOfNode(startNode, file), end: endNode.end }, message); - } - function addErrorOrSuggestionDiagnostic(isError, range, message) { - const diag2 = createFileDiagnostic(file, range.pos, range.end - range.pos, message); - if (isError) { - file.bindDiagnostics.push(diag2); - } else { - file.bindSuggestionDiagnostics = append(file.bindSuggestionDiagnostics, { ...diag2, category: 2 /* Suggestion */ }); - } - } - function bind(node) { - if (!node) { - return; - } - setParent(node, parent); - if (tracing) node.tracingPath = file.path; - const saveInStrictMode = inStrictMode; - bindWorker(node); - if (node.kind > 165 /* LastToken */) { - const saveParent = parent; - parent = node; - const containerFlags = getContainerFlags(node); - if (containerFlags === 0 /* None */) { - bindChildren(node); - } else { - bindContainer(node, containerFlags); - } - parent = saveParent; - } else { - const saveParent = parent; - if (node.kind === 1 /* EndOfFileToken */) parent = node; - bindJSDoc(node); - parent = saveParent; - } - inStrictMode = saveInStrictMode; - } - function bindJSDoc(node) { - if (hasJSDocNodes(node)) { - if (isInJSFile(node)) { - for (const j of node.jsDoc) { - bind(j); - } - } else { - for (const j of node.jsDoc) { - setParent(j, node); - setParentRecursive( - j, - /*incremental*/ - false - ); - } - } - } - } - function updateStrictModeStatementList(statements) { - if (!inStrictMode) { - for (const statement of statements) { - if (!isPrologueDirective(statement)) { - return; - } - if (isUseStrictPrologueDirective(statement)) { - inStrictMode = true; - return; - } - } - } - } - function isUseStrictPrologueDirective(node) { - const nodeText = getSourceTextOfNodeFromSourceFile(file, node.expression); - return nodeText === '"use strict"' || nodeText === "'use strict'"; - } - function bindWorker(node) { - switch (node.kind) { - case 80 /* Identifier */: - if (node.flags & 4096 /* IdentifierIsInJSDocNamespace */) { - let parentNode = node.parent; - while (parentNode && !isJSDocTypeAlias(parentNode)) { - parentNode = parentNode.parent; - } - bindBlockScopedDeclaration(parentNode, 524288 /* TypeAlias */, 788968 /* TypeAliasExcludes */); - break; - } - case 110 /* ThisKeyword */: - if (currentFlow && (isExpression(node) || parent.kind === 304 /* ShorthandPropertyAssignment */)) { - node.flowNode = currentFlow; - } - return checkContextualIdentifier(node); - case 166 /* QualifiedName */: - if (currentFlow && isPartOfTypeQuery(node)) { - node.flowNode = currentFlow; - } - break; - case 236 /* MetaProperty */: - case 108 /* SuperKeyword */: - node.flowNode = currentFlow; - break; - case 81 /* PrivateIdentifier */: - return checkPrivateIdentifier(node); - case 211 /* PropertyAccessExpression */: - case 212 /* ElementAccessExpression */: - const expr = node; - if (currentFlow && isNarrowableReference(expr)) { - expr.flowNode = currentFlow; - } - if (isSpecialPropertyDeclaration(expr)) { - bindSpecialPropertyDeclaration(expr); - } - if (isInJSFile(expr) && file.commonJsModuleIndicator && isModuleExportsAccessExpression(expr) && !lookupSymbolForName(blockScopeContainer, "module")) { - declareSymbol( - file.locals, - /*parent*/ - void 0, - expr.expression, - 1 /* FunctionScopedVariable */ | 134217728 /* ModuleExports */, - 111550 /* FunctionScopedVariableExcludes */ - ); - } - break; - case 226 /* BinaryExpression */: - const specialKind = getAssignmentDeclarationKind(node); - switch (specialKind) { - case 1 /* ExportsProperty */: - bindExportsPropertyAssignment(node); - break; - case 2 /* ModuleExports */: - bindModuleExportsAssignment(node); - break; - case 3 /* PrototypeProperty */: - bindPrototypePropertyAssignment(node.left, node); - break; - case 6 /* Prototype */: - bindPrototypeAssignment(node); - break; - case 4 /* ThisProperty */: - bindThisPropertyAssignment(node); - break; - case 5 /* Property */: - const expression = node.left.expression; - if (isInJSFile(node) && isIdentifier(expression)) { - const symbol = lookupSymbolForName(blockScopeContainer, expression.escapedText); - if (isThisInitializedDeclaration(symbol == null ? void 0 : symbol.valueDeclaration)) { - bindThisPropertyAssignment(node); - break; - } - } - bindSpecialPropertyAssignment(node); - break; - case 0 /* None */: - break; - default: - Debug.fail("Unknown binary expression special property assignment kind"); - } - return checkStrictModeBinaryExpression(node); - case 299 /* CatchClause */: - return checkStrictModeCatchClause(node); - case 220 /* DeleteExpression */: - return checkStrictModeDeleteExpression(node); - case 225 /* PostfixUnaryExpression */: - return checkStrictModePostfixUnaryExpression(node); - case 224 /* PrefixUnaryExpression */: - return checkStrictModePrefixUnaryExpression(node); - case 254 /* WithStatement */: - return checkStrictModeWithStatement(node); - case 256 /* LabeledStatement */: - return checkStrictModeLabeledStatement(node); - case 197 /* ThisType */: - seenThisKeyword = true; - return; - case 182 /* TypePredicate */: - break; - case 168 /* TypeParameter */: - return bindTypeParameter(node); - case 169 /* Parameter */: - return bindParameter(node); - case 260 /* VariableDeclaration */: - return bindVariableDeclarationOrBindingElement(node); - case 208 /* BindingElement */: - node.flowNode = currentFlow; - return bindVariableDeclarationOrBindingElement(node); - case 172 /* PropertyDeclaration */: - case 171 /* PropertySignature */: - return bindPropertyWorker(node); - case 303 /* PropertyAssignment */: - case 304 /* ShorthandPropertyAssignment */: - return bindPropertyOrMethodOrAccessor(node, 4 /* Property */, 0 /* PropertyExcludes */); - case 306 /* EnumMember */: - return bindPropertyOrMethodOrAccessor(node, 8 /* EnumMember */, 900095 /* EnumMemberExcludes */); - case 179 /* CallSignature */: - case 180 /* ConstructSignature */: - case 181 /* IndexSignature */: - return declareSymbolAndAddToSymbolTable(node, 131072 /* Signature */, 0 /* None */); - case 174 /* MethodDeclaration */: - case 173 /* MethodSignature */: - return bindPropertyOrMethodOrAccessor(node, 8192 /* Method */ | (node.questionToken ? 16777216 /* Optional */ : 0 /* None */), isObjectLiteralMethod(node) ? 0 /* PropertyExcludes */ : 103359 /* MethodExcludes */); - case 262 /* FunctionDeclaration */: - return bindFunctionDeclaration(node); - case 176 /* Constructor */: - return declareSymbolAndAddToSymbolTable( - node, - 16384 /* Constructor */, - /*symbolExcludes:*/ - 0 /* None */ - ); - case 177 /* GetAccessor */: - return bindPropertyOrMethodOrAccessor(node, 32768 /* GetAccessor */, 46015 /* GetAccessorExcludes */); - case 178 /* SetAccessor */: - return bindPropertyOrMethodOrAccessor(node, 65536 /* SetAccessor */, 78783 /* SetAccessorExcludes */); - case 184 /* FunctionType */: - case 317 /* JSDocFunctionType */: - case 323 /* JSDocSignature */: - case 185 /* ConstructorType */: - return bindFunctionOrConstructorType(node); - case 187 /* TypeLiteral */: - case 322 /* JSDocTypeLiteral */: - case 200 /* MappedType */: - return bindAnonymousTypeWorker(node); - case 332 /* JSDocClassTag */: - return bindJSDocClassTag(node); - case 210 /* ObjectLiteralExpression */: - return bindObjectLiteralExpression(node); - case 218 /* FunctionExpression */: - case 219 /* ArrowFunction */: - return bindFunctionExpression(node); - case 213 /* CallExpression */: - const assignmentKind = getAssignmentDeclarationKind(node); - switch (assignmentKind) { - case 7 /* ObjectDefinePropertyValue */: - return bindObjectDefinePropertyAssignment(node); - case 8 /* ObjectDefinePropertyExports */: - return bindObjectDefinePropertyExport(node); - case 9 /* ObjectDefinePrototypeProperty */: - return bindObjectDefinePrototypeProperty(node); - case 0 /* None */: - break; - default: - return Debug.fail("Unknown call expression assignment declaration kind"); - } - if (isInJSFile(node)) { - bindCallExpression(node); - } - break; - case 231 /* ClassExpression */: - case 263 /* ClassDeclaration */: - inStrictMode = true; - return bindClassLikeDeclaration(node); - case 264 /* InterfaceDeclaration */: - return bindBlockScopedDeclaration(node, 64 /* Interface */, 788872 /* InterfaceExcludes */); - case 265 /* TypeAliasDeclaration */: - return bindBlockScopedDeclaration(node, 524288 /* TypeAlias */, 788968 /* TypeAliasExcludes */); - case 266 /* EnumDeclaration */: - return bindEnumDeclaration(node); - case 267 /* ModuleDeclaration */: - return bindModuleDeclaration(node); - case 292 /* JsxAttributes */: - return bindJsxAttributes(node); - case 291 /* JsxAttribute */: - return bindJsxAttribute(node, 4 /* Property */, 0 /* PropertyExcludes */); - case 271 /* ImportEqualsDeclaration */: - case 274 /* NamespaceImport */: - case 276 /* ImportSpecifier */: - case 281 /* ExportSpecifier */: - return declareSymbolAndAddToSymbolTable(node, 2097152 /* Alias */, 2097152 /* AliasExcludes */); - case 270 /* NamespaceExportDeclaration */: - return bindNamespaceExportDeclaration(node); - case 273 /* ImportClause */: - return bindImportClause(node); - case 278 /* ExportDeclaration */: - return bindExportDeclaration(node); - case 277 /* ExportAssignment */: - return bindExportAssignment(node); - case 307 /* SourceFile */: - updateStrictModeStatementList(node.statements); - return bindSourceFileIfExternalModule(); - case 241 /* Block */: - if (!isFunctionLikeOrClassStaticBlockDeclaration(node.parent)) { - return; - } - case 268 /* ModuleBlock */: - return updateStrictModeStatementList(node.statements); - case 341 /* JSDocParameterTag */: - if (node.parent.kind === 323 /* JSDocSignature */) { - return bindParameter(node); - } - if (node.parent.kind !== 322 /* JSDocTypeLiteral */) { - break; - } - case 348 /* JSDocPropertyTag */: - const propTag = node; - const flags = propTag.isBracketed || propTag.typeExpression && propTag.typeExpression.type.kind === 316 /* JSDocOptionalType */ ? 4 /* Property */ | 16777216 /* Optional */ : 4 /* Property */; - return declareSymbolAndAddToSymbolTable(propTag, flags, 0 /* PropertyExcludes */); - case 346 /* JSDocTypedefTag */: - case 338 /* JSDocCallbackTag */: - case 340 /* JSDocEnumTag */: - return (delayedTypeAliases || (delayedTypeAliases = [])).push(node); - case 339 /* JSDocOverloadTag */: - return bind(node.typeExpression); - case 351 /* JSDocImportTag */: - return (jsDocImports || (jsDocImports = [])).push(node); - } - } - function bindPropertyWorker(node) { - const isAutoAccessor = isAutoAccessorPropertyDeclaration(node); - const includes = isAutoAccessor ? 98304 /* Accessor */ : 4 /* Property */; - const excludes = isAutoAccessor ? 13247 /* AccessorExcludes */ : 0 /* PropertyExcludes */; - return bindPropertyOrMethodOrAccessor(node, includes | (node.questionToken ? 16777216 /* Optional */ : 0 /* None */), excludes); - } - function bindAnonymousTypeWorker(node) { - return bindAnonymousDeclaration(node, 2048 /* TypeLiteral */, "__type" /* Type */); - } - function bindSourceFileIfExternalModule() { - setExportContextFlag(file); - if (isExternalModule(file)) { - bindSourceFileAsExternalModule(); - } else if (isJsonSourceFile(file)) { - bindSourceFileAsExternalModule(); - const originalSymbol = file.symbol; - declareSymbol(file.symbol.exports, file.symbol, file, 4 /* Property */, -1 /* All */); - file.symbol = originalSymbol; - } - } - function bindSourceFileAsExternalModule() { - bindAnonymousDeclaration(file, 512 /* ValueModule */, `"${removeFileExtension(file.fileName)}"`); - } - function bindExportAssignment(node) { - if (!container.symbol || !container.symbol.exports) { - bindAnonymousDeclaration(node, 111551 /* Value */, getDeclarationName(node)); - } else { - const flags = exportAssignmentIsAlias(node) ? 2097152 /* Alias */ : 4 /* Property */; - const symbol = declareSymbol(container.symbol.exports, container.symbol, node, flags, -1 /* All */); - if (node.isExportEquals) { - setValueDeclaration(symbol, node); - } - } - } - function bindNamespaceExportDeclaration(node) { - if (some(node.modifiers)) { - file.bindDiagnostics.push(createDiagnosticForNode2(node, Diagnostics.Modifiers_cannot_appear_here)); - } - const diag2 = !isSourceFile(node.parent) ? Diagnostics.Global_module_exports_may_only_appear_at_top_level : !isExternalModule(node.parent) ? Diagnostics.Global_module_exports_may_only_appear_in_module_files : !node.parent.isDeclarationFile ? Diagnostics.Global_module_exports_may_only_appear_in_declaration_files : void 0; - if (diag2) { - file.bindDiagnostics.push(createDiagnosticForNode2(node, diag2)); - } else { - file.symbol.globalExports = file.symbol.globalExports || createSymbolTable(); - declareSymbol(file.symbol.globalExports, file.symbol, node, 2097152 /* Alias */, 2097152 /* AliasExcludes */); - } - } - function bindExportDeclaration(node) { - if (!container.symbol || !container.symbol.exports) { - bindAnonymousDeclaration(node, 8388608 /* ExportStar */, getDeclarationName(node)); - } else if (!node.exportClause) { - declareSymbol(container.symbol.exports, container.symbol, node, 8388608 /* ExportStar */, 0 /* None */); - } else if (isNamespaceExport(node.exportClause)) { - setParent(node.exportClause, node); - declareSymbol(container.symbol.exports, container.symbol, node.exportClause, 2097152 /* Alias */, 2097152 /* AliasExcludes */); - } - } - function bindImportClause(node) { - if (node.name) { - declareSymbolAndAddToSymbolTable(node, 2097152 /* Alias */, 2097152 /* AliasExcludes */); - } - } - function setCommonJsModuleIndicator(node) { - if (file.externalModuleIndicator && file.externalModuleIndicator !== true) { - return false; - } - if (!file.commonJsModuleIndicator) { - file.commonJsModuleIndicator = node; - if (!file.externalModuleIndicator) { - bindSourceFileAsExternalModule(); - } - } - return true; - } - function bindObjectDefinePropertyExport(node) { - if (!setCommonJsModuleIndicator(node)) { - return; - } - const symbol = forEachIdentifierInEntityName( - node.arguments[0], - /*parent*/ - void 0, - (id, symbol2) => { - if (symbol2) { - addDeclarationToSymbol(symbol2, id, 1536 /* Module */ | 67108864 /* Assignment */); - } - return symbol2; - } - ); - if (symbol) { - const flags = 4 /* Property */ | 1048576 /* ExportValue */; - declareSymbol(symbol.exports, symbol, node, flags, 0 /* None */); - } - } - function bindExportsPropertyAssignment(node) { - if (!setCommonJsModuleIndicator(node)) { - return; - } - const symbol = forEachIdentifierInEntityName( - node.left.expression, - /*parent*/ - void 0, - (id, symbol2) => { - if (symbol2) { - addDeclarationToSymbol(symbol2, id, 1536 /* Module */ | 67108864 /* Assignment */); - } - return symbol2; - } - ); - if (symbol) { - const isAlias = isAliasableExpression(node.right) && (isExportsIdentifier(node.left.expression) || isModuleExportsAccessExpression(node.left.expression)); - const flags = isAlias ? 2097152 /* Alias */ : 4 /* Property */ | 1048576 /* ExportValue */; - setParent(node.left, node); - declareSymbol(symbol.exports, symbol, node.left, flags, 0 /* None */); - } - } - function bindModuleExportsAssignment(node) { - if (!setCommonJsModuleIndicator(node)) { - return; - } - const assignedExpression = getRightMostAssignedExpression(node.right); - if (isEmptyObjectLiteral(assignedExpression) || container === file && isExportsOrModuleExportsOrAlias(file, assignedExpression)) { - return; - } - if (isObjectLiteralExpression(assignedExpression) && every(assignedExpression.properties, isShorthandPropertyAssignment)) { - forEach(assignedExpression.properties, bindExportAssignedObjectMemberAlias); - return; - } - const flags = exportAssignmentIsAlias(node) ? 2097152 /* Alias */ : 4 /* Property */ | 1048576 /* ExportValue */ | 512 /* ValueModule */; - const symbol = declareSymbol(file.symbol.exports, file.symbol, node, flags | 67108864 /* Assignment */, 0 /* None */); - setValueDeclaration(symbol, node); - } - function bindExportAssignedObjectMemberAlias(node) { - declareSymbol(file.symbol.exports, file.symbol, node, 2097152 /* Alias */ | 67108864 /* Assignment */, 0 /* None */); - } - function bindThisPropertyAssignment(node) { - Debug.assert(isInJSFile(node)); - const hasPrivateIdentifier = isBinaryExpression(node) && isPropertyAccessExpression(node.left) && isPrivateIdentifier(node.left.name) || isPropertyAccessExpression(node) && isPrivateIdentifier(node.name); - if (hasPrivateIdentifier) { - return; - } - const thisContainer = getThisContainer( - node, - /*includeArrowFunctions*/ - false, - /*includeClassComputedPropertyName*/ - false - ); - switch (thisContainer.kind) { - case 262 /* FunctionDeclaration */: - case 218 /* FunctionExpression */: - let constructorSymbol = thisContainer.symbol; - if (isBinaryExpression(thisContainer.parent) && thisContainer.parent.operatorToken.kind === 64 /* EqualsToken */) { - const l = thisContainer.parent.left; - if (isBindableStaticAccessExpression(l) && isPrototypeAccess(l.expression)) { - constructorSymbol = lookupSymbolForPropertyAccess(l.expression.expression, thisParentContainer); - } - } - if (constructorSymbol && constructorSymbol.valueDeclaration) { - constructorSymbol.members = constructorSymbol.members || createSymbolTable(); - if (hasDynamicName(node)) { - bindDynamicallyNamedThisPropertyAssignment(node, constructorSymbol, constructorSymbol.members); - } else { - declareSymbol(constructorSymbol.members, constructorSymbol, node, 4 /* Property */ | 67108864 /* Assignment */, 0 /* PropertyExcludes */ & ~4 /* Property */); - } - addDeclarationToSymbol(constructorSymbol, constructorSymbol.valueDeclaration, 32 /* Class */); - } - break; - case 176 /* Constructor */: - case 172 /* PropertyDeclaration */: - case 174 /* MethodDeclaration */: - case 177 /* GetAccessor */: - case 178 /* SetAccessor */: - case 175 /* ClassStaticBlockDeclaration */: - const containingClass = thisContainer.parent; - const symbolTable = isStatic(thisContainer) ? containingClass.symbol.exports : containingClass.symbol.members; - if (hasDynamicName(node)) { - bindDynamicallyNamedThisPropertyAssignment(node, containingClass.symbol, symbolTable); - } else { - declareSymbol( - symbolTable, - containingClass.symbol, - node, - 4 /* Property */ | 67108864 /* Assignment */, - 0 /* None */, - /*isReplaceableByMethod*/ - true - ); - } - break; - case 307 /* SourceFile */: - if (hasDynamicName(node)) { - break; - } else if (thisContainer.commonJsModuleIndicator) { - declareSymbol(thisContainer.symbol.exports, thisContainer.symbol, node, 4 /* Property */ | 1048576 /* ExportValue */, 0 /* None */); - } else { - declareSymbolAndAddToSymbolTable(node, 1 /* FunctionScopedVariable */, 111550 /* FunctionScopedVariableExcludes */); - } - break; - case 267 /* ModuleDeclaration */: - break; - default: - Debug.failBadSyntaxKind(thisContainer); - } - } - function bindDynamicallyNamedThisPropertyAssignment(node, symbol, symbolTable) { - declareSymbol( - symbolTable, - symbol, - node, - 4 /* Property */, - 0 /* None */, - /*isReplaceableByMethod*/ - true, - /*isComputedName*/ - true - ); - addLateBoundAssignmentDeclarationToSymbol(node, symbol); - } - function addLateBoundAssignmentDeclarationToSymbol(node, symbol) { - if (symbol) { - (symbol.assignmentDeclarationMembers || (symbol.assignmentDeclarationMembers = /* @__PURE__ */ new Map())).set(getNodeId(node), node); - } - } - function bindSpecialPropertyDeclaration(node) { - if (node.expression.kind === 110 /* ThisKeyword */) { - bindThisPropertyAssignment(node); - } else if (isBindableStaticAccessExpression(node) && node.parent.parent.kind === 307 /* SourceFile */) { - if (isPrototypeAccess(node.expression)) { - bindPrototypePropertyAssignment(node, node.parent); - } else { - bindStaticPropertyAssignment(node); - } - } - } - function bindPrototypeAssignment(node) { - setParent(node.left, node); - setParent(node.right, node); - bindPropertyAssignment( - node.left.expression, - node.left, - /*isPrototypeProperty*/ - false, - /*containerIsClass*/ - true - ); - } - function bindObjectDefinePrototypeProperty(node) { - const namespaceSymbol = lookupSymbolForPropertyAccess(node.arguments[0].expression); - if (namespaceSymbol && namespaceSymbol.valueDeclaration) { - addDeclarationToSymbol(namespaceSymbol, namespaceSymbol.valueDeclaration, 32 /* Class */); - } - bindPotentiallyNewExpandoMemberToNamespace( - node, - namespaceSymbol, - /*isPrototypeProperty*/ - true - ); - } - function bindPrototypePropertyAssignment(lhs, parent2) { - const classPrototype = lhs.expression; - const constructorFunction = classPrototype.expression; - setParent(constructorFunction, classPrototype); - setParent(classPrototype, lhs); - setParent(lhs, parent2); - bindPropertyAssignment( - constructorFunction, - lhs, - /*isPrototypeProperty*/ - true, - /*containerIsClass*/ - true - ); - } - function bindObjectDefinePropertyAssignment(node) { - let namespaceSymbol = lookupSymbolForPropertyAccess(node.arguments[0]); - const isToplevel = node.parent.parent.kind === 307 /* SourceFile */; - namespaceSymbol = bindPotentiallyMissingNamespaces( - namespaceSymbol, - node.arguments[0], - isToplevel, - /*isPrototypeProperty*/ - false, - /*containerIsClass*/ - false - ); - bindPotentiallyNewExpandoMemberToNamespace( - node, - namespaceSymbol, - /*isPrototypeProperty*/ - false - ); - } - function bindSpecialPropertyAssignment(node) { - var _a; - const parentSymbol = lookupSymbolForPropertyAccess(node.left.expression, blockScopeContainer) || lookupSymbolForPropertyAccess(node.left.expression, container); - if (!isInJSFile(node) && !isFunctionSymbol(parentSymbol)) { - return; - } - const rootExpr = getLeftmostAccessExpression(node.left); - if (isIdentifier(rootExpr) && ((_a = lookupSymbolForName(container, rootExpr.escapedText)) == null ? void 0 : _a.flags) & 2097152 /* Alias */) { - return; - } - setParent(node.left, node); - setParent(node.right, node); - if (isIdentifier(node.left.expression) && container === file && isExportsOrModuleExportsOrAlias(file, node.left.expression)) { - bindExportsPropertyAssignment(node); - } else if (hasDynamicName(node)) { - bindAnonymousDeclaration(node, 4 /* Property */ | 67108864 /* Assignment */, "__computed" /* Computed */); - const sym = bindPotentiallyMissingNamespaces( - parentSymbol, - node.left.expression, - isTopLevelNamespaceAssignment(node.left), - /*isPrototypeProperty*/ - false, - /*containerIsClass*/ - false - ); - addLateBoundAssignmentDeclarationToSymbol(node, sym); - } else { - bindStaticPropertyAssignment(cast(node.left, isBindableStaticNameExpression)); - } - } - function bindStaticPropertyAssignment(node) { - Debug.assert(!isIdentifier(node)); - setParent(node.expression, node); - bindPropertyAssignment( - node.expression, - node, - /*isPrototypeProperty*/ - false, - /*containerIsClass*/ - false - ); - } - function bindPotentiallyMissingNamespaces(namespaceSymbol, entityName, isToplevel, isPrototypeProperty, containerIsClass) { - if ((namespaceSymbol == null ? void 0 : namespaceSymbol.flags) & 2097152 /* Alias */) { - return namespaceSymbol; - } - if (isToplevel && !isPrototypeProperty) { - const flags = 1536 /* Module */ | 67108864 /* Assignment */; - const excludeFlags = 110735 /* ValueModuleExcludes */ & ~67108864 /* Assignment */; - namespaceSymbol = forEachIdentifierInEntityName(entityName, namespaceSymbol, (id, symbol, parent2) => { - if (symbol) { - addDeclarationToSymbol(symbol, id, flags); - return symbol; - } else { - const table = parent2 ? parent2.exports : file.jsGlobalAugmentations || (file.jsGlobalAugmentations = createSymbolTable()); - return declareSymbol(table, parent2, id, flags, excludeFlags); - } - }); - } - if (containerIsClass && namespaceSymbol && namespaceSymbol.valueDeclaration) { - addDeclarationToSymbol(namespaceSymbol, namespaceSymbol.valueDeclaration, 32 /* Class */); - } - return namespaceSymbol; - } - function bindPotentiallyNewExpandoMemberToNamespace(declaration, namespaceSymbol, isPrototypeProperty) { - if (!namespaceSymbol || !isExpandoSymbol(namespaceSymbol)) { - return; - } - const symbolTable = isPrototypeProperty ? namespaceSymbol.members || (namespaceSymbol.members = createSymbolTable()) : namespaceSymbol.exports || (namespaceSymbol.exports = createSymbolTable()); - let includes = 0 /* None */; - let excludes = 0 /* None */; - if (isFunctionLikeDeclaration(getAssignedExpandoInitializer(declaration))) { - includes = 8192 /* Method */; - excludes = 103359 /* MethodExcludes */; - } else if (isCallExpression(declaration) && isBindableObjectDefinePropertyCall(declaration)) { - if (some(declaration.arguments[2].properties, (p) => { - const id = getNameOfDeclaration(p); - return !!id && isIdentifier(id) && idText(id) === "set"; - })) { - includes |= 65536 /* SetAccessor */ | 4 /* Property */; - excludes |= 78783 /* SetAccessorExcludes */; - } - if (some(declaration.arguments[2].properties, (p) => { - const id = getNameOfDeclaration(p); - return !!id && isIdentifier(id) && idText(id) === "get"; - })) { - includes |= 32768 /* GetAccessor */ | 4 /* Property */; - excludes |= 46015 /* GetAccessorExcludes */; - } - } - if (includes === 0 /* None */) { - includes = 4 /* Property */; - excludes = 0 /* PropertyExcludes */; - } - declareSymbol(symbolTable, namespaceSymbol, declaration, includes | 67108864 /* Assignment */, excludes & ~67108864 /* Assignment */); - } - function isTopLevelNamespaceAssignment(propertyAccess) { - return isBinaryExpression(propertyAccess.parent) ? getParentOfBinaryExpression(propertyAccess.parent).parent.kind === 307 /* SourceFile */ : propertyAccess.parent.parent.kind === 307 /* SourceFile */; - } - function bindPropertyAssignment(name, propertyAccess, isPrototypeProperty, containerIsClass) { - let namespaceSymbol = lookupSymbolForPropertyAccess(name, blockScopeContainer) || lookupSymbolForPropertyAccess(name, container); - const isToplevel = isTopLevelNamespaceAssignment(propertyAccess); - namespaceSymbol = bindPotentiallyMissingNamespaces(namespaceSymbol, propertyAccess.expression, isToplevel, isPrototypeProperty, containerIsClass); - bindPotentiallyNewExpandoMemberToNamespace(propertyAccess, namespaceSymbol, isPrototypeProperty); - } - function isExpandoSymbol(symbol) { - if (symbol.flags & (16 /* Function */ | 32 /* Class */ | 1024 /* NamespaceModule */)) { - return true; - } - const node = symbol.valueDeclaration; - if (node && isCallExpression(node)) { - return !!getAssignedExpandoInitializer(node); - } - let init = !node ? void 0 : isVariableDeclaration(node) ? node.initializer : isBinaryExpression(node) ? node.right : isPropertyAccessExpression(node) && isBinaryExpression(node.parent) ? node.parent.right : void 0; - init = init && getRightMostAssignedExpression(init); - if (init) { - const isPrototypeAssignment = isPrototypeAccess(isVariableDeclaration(node) ? node.name : isBinaryExpression(node) ? node.left : node); - return !!getExpandoInitializer(isBinaryExpression(init) && (init.operatorToken.kind === 57 /* BarBarToken */ || init.operatorToken.kind === 61 /* QuestionQuestionToken */) ? init.right : init, isPrototypeAssignment); - } - return false; - } - function getParentOfBinaryExpression(expr) { - while (isBinaryExpression(expr.parent)) { - expr = expr.parent; - } - return expr.parent; - } - function lookupSymbolForPropertyAccess(node, lookupContainer = container) { - if (isIdentifier(node)) { - return lookupSymbolForName(lookupContainer, node.escapedText); - } else { - const symbol = lookupSymbolForPropertyAccess(node.expression); - return symbol && symbol.exports && symbol.exports.get(getElementOrPropertyAccessName(node)); - } - } - function forEachIdentifierInEntityName(e, parent2, action) { - if (isExportsOrModuleExportsOrAlias(file, e)) { - return file.symbol; - } else if (isIdentifier(e)) { - return action(e, lookupSymbolForPropertyAccess(e), parent2); - } else { - const s = forEachIdentifierInEntityName(e.expression, parent2, action); - const name = getNameOrArgument(e); - if (isPrivateIdentifier(name)) { - Debug.fail("unexpected PrivateIdentifier"); - } - return action(name, s && s.exports && s.exports.get(getElementOrPropertyAccessName(e)), s); - } - } - function bindCallExpression(node) { - if (!file.commonJsModuleIndicator && isRequireCall( - node, - /*requireStringLiteralLikeArgument*/ - false - )) { - setCommonJsModuleIndicator(node); - } - } - function bindClassLikeDeclaration(node) { - if (node.kind === 263 /* ClassDeclaration */) { - bindBlockScopedDeclaration(node, 32 /* Class */, 899503 /* ClassExcludes */); - } else { - const bindingName = node.name ? node.name.escapedText : "__class" /* Class */; - bindAnonymousDeclaration(node, 32 /* Class */, bindingName); - if (node.name) { - classifiableNames.add(node.name.escapedText); - } - } - const { symbol } = node; - const prototypeSymbol = createSymbol(4 /* Property */ | 4194304 /* Prototype */, "prototype"); - const symbolExport = symbol.exports.get(prototypeSymbol.escapedName); - if (symbolExport) { - if (node.name) { - setParent(node.name, node); - } - file.bindDiagnostics.push(createDiagnosticForNode2(symbolExport.declarations[0], Diagnostics.Duplicate_identifier_0, symbolName(prototypeSymbol))); - } - symbol.exports.set(prototypeSymbol.escapedName, prototypeSymbol); - prototypeSymbol.parent = symbol; - } - function bindEnumDeclaration(node) { - return isEnumConst(node) ? bindBlockScopedDeclaration(node, 128 /* ConstEnum */, 899967 /* ConstEnumExcludes */) : bindBlockScopedDeclaration(node, 256 /* RegularEnum */, 899327 /* RegularEnumExcludes */); - } - function bindVariableDeclarationOrBindingElement(node) { - if (inStrictMode) { - checkStrictModeEvalOrArguments(node, node.name); - } - if (!isBindingPattern(node.name)) { - const possibleVariableDecl = node.kind === 260 /* VariableDeclaration */ ? node : node.parent.parent; - if (isInJSFile(node) && isVariableDeclarationInitializedToBareOrAccessedRequire(possibleVariableDecl) && !getJSDocTypeTag(node) && !(getCombinedModifierFlags(node) & 32 /* Export */)) { - declareSymbolAndAddToSymbolTable(node, 2097152 /* Alias */, 2097152 /* AliasExcludes */); - } else if (isBlockOrCatchScoped(node)) { - bindBlockScopedDeclaration(node, 2 /* BlockScopedVariable */, 111551 /* BlockScopedVariableExcludes */); - } else if (isPartOfParameterDeclaration(node)) { - declareSymbolAndAddToSymbolTable(node, 1 /* FunctionScopedVariable */, 111551 /* ParameterExcludes */); - } else { - declareSymbolAndAddToSymbolTable(node, 1 /* FunctionScopedVariable */, 111550 /* FunctionScopedVariableExcludes */); - } - } - } - function bindParameter(node) { - if (node.kind === 341 /* JSDocParameterTag */ && container.kind !== 323 /* JSDocSignature */) { - return; - } - if (inStrictMode && !(node.flags & 33554432 /* Ambient */)) { - checkStrictModeEvalOrArguments(node, node.name); - } - if (isBindingPattern(node.name)) { - bindAnonymousDeclaration(node, 1 /* FunctionScopedVariable */, "__" + node.parent.parameters.indexOf(node)); - } else { - declareSymbolAndAddToSymbolTable(node, 1 /* FunctionScopedVariable */, 111551 /* ParameterExcludes */); - } - if (isParameterPropertyDeclaration(node, node.parent)) { - const classDeclaration = node.parent.parent; - declareSymbol(classDeclaration.symbol.members, classDeclaration.symbol, node, 4 /* Property */ | (node.questionToken ? 16777216 /* Optional */ : 0 /* None */), 0 /* PropertyExcludes */); - } - } - function bindFunctionDeclaration(node) { - if (!file.isDeclarationFile && !(node.flags & 33554432 /* Ambient */)) { - if (isAsyncFunction(node)) { - emitFlags |= 4096 /* HasAsyncFunctions */; - } - } - checkStrictModeFunctionName(node); - if (inStrictMode) { - checkStrictModeFunctionDeclaration(node); - bindBlockScopedDeclaration(node, 16 /* Function */, 110991 /* FunctionExcludes */); - } else { - declareSymbolAndAddToSymbolTable(node, 16 /* Function */, 110991 /* FunctionExcludes */); - } - } - function bindFunctionExpression(node) { - if (!file.isDeclarationFile && !(node.flags & 33554432 /* Ambient */)) { - if (isAsyncFunction(node)) { - emitFlags |= 4096 /* HasAsyncFunctions */; - } - } - if (currentFlow) { - node.flowNode = currentFlow; - } - checkStrictModeFunctionName(node); - const bindingName = node.name ? node.name.escapedText : "__function" /* Function */; - return bindAnonymousDeclaration(node, 16 /* Function */, bindingName); - } - function bindPropertyOrMethodOrAccessor(node, symbolFlags, symbolExcludes) { - if (!file.isDeclarationFile && !(node.flags & 33554432 /* Ambient */) && isAsyncFunction(node)) { - emitFlags |= 4096 /* HasAsyncFunctions */; - } - if (currentFlow && isObjectLiteralOrClassExpressionMethodOrAccessor(node)) { - node.flowNode = currentFlow; - } - return hasDynamicName(node) ? bindAnonymousDeclaration(node, symbolFlags, "__computed" /* Computed */) : declareSymbolAndAddToSymbolTable(node, symbolFlags, symbolExcludes); - } - function getInferTypeContainer(node) { - const extendsType = findAncestor(node, (n) => n.parent && isConditionalTypeNode(n.parent) && n.parent.extendsType === n); - return extendsType && extendsType.parent; - } - function bindTypeParameter(node) { - if (isJSDocTemplateTag(node.parent)) { - const container2 = getEffectiveContainerForJSDocTemplateTag(node.parent); - if (container2) { - Debug.assertNode(container2, canHaveLocals); - container2.locals ?? (container2.locals = createSymbolTable()); - declareSymbol( - container2.locals, - /*parent*/ - void 0, - node, - 262144 /* TypeParameter */, - 526824 /* TypeParameterExcludes */ - ); - } else { - declareSymbolAndAddToSymbolTable(node, 262144 /* TypeParameter */, 526824 /* TypeParameterExcludes */); - } - } else if (node.parent.kind === 195 /* InferType */) { - const container2 = getInferTypeContainer(node.parent); - if (container2) { - Debug.assertNode(container2, canHaveLocals); - container2.locals ?? (container2.locals = createSymbolTable()); - declareSymbol( - container2.locals, - /*parent*/ - void 0, - node, - 262144 /* TypeParameter */, - 526824 /* TypeParameterExcludes */ - ); - } else { - bindAnonymousDeclaration(node, 262144 /* TypeParameter */, getDeclarationName(node)); - } - } else { - declareSymbolAndAddToSymbolTable(node, 262144 /* TypeParameter */, 526824 /* TypeParameterExcludes */); - } - } - function shouldReportErrorOnModuleDeclaration(node) { - const instanceState = getModuleInstanceState(node); - return instanceState === 1 /* Instantiated */ || instanceState === 2 /* ConstEnumOnly */ && shouldPreserveConstEnums(options); - } - function checkUnreachable(node) { - if (!(currentFlow.flags & 1 /* Unreachable */)) { - return false; - } - if (currentFlow === unreachableFlow) { - const reportError = ( - // report error on all statements except empty ones - isStatementButNotDeclaration(node) && node.kind !== 242 /* EmptyStatement */ || // report error on class declarations - node.kind === 263 /* ClassDeclaration */ || // report errors on enums with preserved emit - isEnumDeclarationWithPreservedEmit(node, options) || // report error on instantiated modules - node.kind === 267 /* ModuleDeclaration */ && shouldReportErrorOnModuleDeclaration(node) - ); - if (reportError) { - currentFlow = reportedUnreachableFlow; - if (!options.allowUnreachableCode) { - const isError = unreachableCodeIsError(options) && !(node.flags & 33554432 /* Ambient */) && (!isVariableStatement(node) || !!(getCombinedNodeFlags(node.declarationList) & 7 /* BlockScoped */) || node.declarationList.declarations.some((d) => !!d.initializer)); - eachUnreachableRange(node, options, (start, end) => errorOrSuggestionOnRange(isError, start, end, Diagnostics.Unreachable_code_detected)); - } - } - } - return true; - } -} -function isEnumDeclarationWithPreservedEmit(node, options) { - return node.kind === 266 /* EnumDeclaration */ && (!isEnumConst(node) || shouldPreserveConstEnums(options)); -} -function eachUnreachableRange(node, options, cb) { - if (isStatement(node) && isExecutableStatement(node) && isBlock(node.parent)) { - const { statements } = node.parent; - const slice = sliceAfter(statements, node); - getRangesWhere(slice, isExecutableStatement, (start, afterEnd) => cb(slice[start], slice[afterEnd - 1])); - } else { - cb(node, node); - } - function isExecutableStatement(s) { - return !isFunctionDeclaration(s) && !isPurelyTypeDeclaration(s) && // `var x;` may declare a variable used above - !(isVariableStatement(s) && !(getCombinedNodeFlags(s) & 7 /* BlockScoped */) && s.declarationList.declarations.some((d) => !d.initializer)); - } - function isPurelyTypeDeclaration(s) { - switch (s.kind) { - case 264 /* InterfaceDeclaration */: - case 265 /* TypeAliasDeclaration */: - return true; - case 267 /* ModuleDeclaration */: - return getModuleInstanceState(s) !== 1 /* Instantiated */; - case 266 /* EnumDeclaration */: - return !isEnumDeclarationWithPreservedEmit(s, options); - default: - return false; - } - } -} -function isExportsOrModuleExportsOrAlias(sourceFile, node) { - let i = 0; - const q = createQueue(); - q.enqueue(node); - while (!q.isEmpty() && i < 100) { - i++; - node = q.dequeue(); - if (isExportsIdentifier(node) || isModuleExportsAccessExpression(node)) { - return true; - } else if (isIdentifier(node)) { - const symbol = lookupSymbolForName(sourceFile, node.escapedText); - if (!!symbol && !!symbol.valueDeclaration && isVariableDeclaration(symbol.valueDeclaration) && !!symbol.valueDeclaration.initializer) { - const init = symbol.valueDeclaration.initializer; - q.enqueue(init); - if (isAssignmentExpression( - init, - /*excludeCompoundAssignment*/ - true - )) { - q.enqueue(init.left); - q.enqueue(init.right); - } - } - } - } - return false; -} -function getContainerFlags(node) { - switch (node.kind) { - case 231 /* ClassExpression */: - case 263 /* ClassDeclaration */: - case 266 /* EnumDeclaration */: - case 210 /* ObjectLiteralExpression */: - case 187 /* TypeLiteral */: - case 322 /* JSDocTypeLiteral */: - case 292 /* JsxAttributes */: - return 1 /* IsContainer */; - case 264 /* InterfaceDeclaration */: - return 1 /* IsContainer */ | 64 /* IsInterface */; - case 267 /* ModuleDeclaration */: - case 265 /* TypeAliasDeclaration */: - case 200 /* MappedType */: - case 181 /* IndexSignature */: - return 1 /* IsContainer */ | 32 /* HasLocals */; - case 307 /* SourceFile */: - return 1 /* IsContainer */ | 4 /* IsControlFlowContainer */ | 32 /* HasLocals */; - case 177 /* GetAccessor */: - case 178 /* SetAccessor */: - case 174 /* MethodDeclaration */: - if (isObjectLiteralOrClassExpressionMethodOrAccessor(node)) { - return 1 /* IsContainer */ | 4 /* IsControlFlowContainer */ | 32 /* HasLocals */ | 8 /* IsFunctionLike */ | 128 /* IsObjectLiteralOrClassExpressionMethodOrAccessor */; - } - case 176 /* Constructor */: - case 262 /* FunctionDeclaration */: - case 173 /* MethodSignature */: - case 179 /* CallSignature */: - case 323 /* JSDocSignature */: - case 317 /* JSDocFunctionType */: - case 184 /* FunctionType */: - case 180 /* ConstructSignature */: - case 185 /* ConstructorType */: - case 175 /* ClassStaticBlockDeclaration */: - return 1 /* IsContainer */ | 4 /* IsControlFlowContainer */ | 32 /* HasLocals */ | 8 /* IsFunctionLike */; - case 218 /* FunctionExpression */: - case 219 /* ArrowFunction */: - return 1 /* IsContainer */ | 4 /* IsControlFlowContainer */ | 32 /* HasLocals */ | 8 /* IsFunctionLike */ | 16 /* IsFunctionExpression */; - case 268 /* ModuleBlock */: - return 4 /* IsControlFlowContainer */; - case 172 /* PropertyDeclaration */: - return node.initializer ? 4 /* IsControlFlowContainer */ : 0; - case 299 /* CatchClause */: - case 248 /* ForStatement */: - case 249 /* ForInStatement */: - case 250 /* ForOfStatement */: - case 269 /* CaseBlock */: - return 2 /* IsBlockScopedContainer */ | 32 /* HasLocals */; - case 241 /* Block */: - return isFunctionLike(node.parent) || isClassStaticBlockDeclaration(node.parent) ? 0 /* None */ : 2 /* IsBlockScopedContainer */ | 32 /* HasLocals */; - } - return 0 /* None */; -} -function lookupSymbolForName(container, name) { - var _a, _b, _c, _d; - const local = (_b = (_a = tryCast(container, canHaveLocals)) == null ? void 0 : _a.locals) == null ? void 0 : _b.get(name); - if (local) { - return local.exportSymbol ?? local; - } - if (isSourceFile(container) && container.jsGlobalAugmentations && container.jsGlobalAugmentations.has(name)) { - return container.jsGlobalAugmentations.get(name); - } - if (canHaveSymbol(container)) { - return (_d = (_c = container.symbol) == null ? void 0 : _c.exports) == null ? void 0 : _d.get(name); - } -} - -// src/compiler/symbolWalker.ts -function createGetSymbolWalker(getRestTypeOfSignature, getTypePredicateOfSignature, getReturnTypeOfSignature, getBaseTypes, resolveStructuredTypeMembers, getTypeOfSymbol, getResolvedSymbol, getConstraintOfTypeParameter, getFirstIdentifier2, getTypeArguments) { - return getSymbolWalker; - function getSymbolWalker(accept = () => true) { - const visitedTypes = []; - const visitedSymbols = []; - return { - walkType: (type) => { - try { - visitType(type); - return { visitedTypes: getOwnValues(visitedTypes), visitedSymbols: getOwnValues(visitedSymbols) }; - } finally { - clear(visitedTypes); - clear(visitedSymbols); - } - }, - walkSymbol: (symbol) => { - try { - visitSymbol(symbol); - return { visitedTypes: getOwnValues(visitedTypes), visitedSymbols: getOwnValues(visitedSymbols) }; - } finally { - clear(visitedTypes); - clear(visitedSymbols); - } - } - }; - function visitType(type) { - if (!type) { - return; - } - if (visitedTypes[type.id]) { - return; - } - visitedTypes[type.id] = type; - const shouldBail = visitSymbol(type.symbol); - if (shouldBail) return; - if (type.flags & 524288 /* Object */) { - const objectType = type; - const objectFlags = objectType.objectFlags; - if (objectFlags & 4 /* Reference */) { - visitTypeReference(type); - } - if (objectFlags & 32 /* Mapped */) { - visitMappedType(type); - } - if (objectFlags & (1 /* Class */ | 2 /* Interface */)) { - visitInterfaceType(type); - } - if (objectFlags & (8 /* Tuple */ | 16 /* Anonymous */)) { - visitObjectType(objectType); - } - } - if (type.flags & 262144 /* TypeParameter */) { - visitTypeParameter(type); - } - if (type.flags & 3145728 /* UnionOrIntersection */) { - visitUnionOrIntersectionType(type); - } - if (type.flags & 4194304 /* Index */) { - visitIndexType(type); - } - if (type.flags & 8388608 /* IndexedAccess */) { - visitIndexedAccessType(type); - } - } - function visitTypeReference(type) { - visitType(type.target); - forEach(getTypeArguments(type), visitType); - } - function visitTypeParameter(type) { - visitType(getConstraintOfTypeParameter(type)); - } - function visitUnionOrIntersectionType(type) { - forEach(type.types, visitType); - } - function visitIndexType(type) { - visitType(type.type); - } - function visitIndexedAccessType(type) { - visitType(type.objectType); - visitType(type.indexType); - visitType(type.constraint); - } - function visitMappedType(type) { - visitType(type.typeParameter); - visitType(type.constraintType); - visitType(type.templateType); - visitType(type.modifiersType); - } - function visitSignature(signature) { - const typePredicate = getTypePredicateOfSignature(signature); - if (typePredicate) { - visitType(typePredicate.type); - } - forEach(signature.typeParameters, visitType); - for (const parameter of signature.parameters) { - visitSymbol(parameter); - } - visitType(getRestTypeOfSignature(signature)); - visitType(getReturnTypeOfSignature(signature)); - } - function visitInterfaceType(interfaceT) { - visitObjectType(interfaceT); - forEach(interfaceT.typeParameters, visitType); - forEach(getBaseTypes(interfaceT), visitType); - visitType(interfaceT.thisType); - } - function visitObjectType(type) { - const resolved = resolveStructuredTypeMembers(type); - for (const info of resolved.indexInfos) { - visitType(info.keyType); - visitType(info.type); - } - for (const signature of resolved.callSignatures) { - visitSignature(signature); - } - for (const signature of resolved.constructSignatures) { - visitSignature(signature); - } - for (const p of resolved.properties) { - visitSymbol(p); - } - } - function visitSymbol(symbol) { - if (!symbol) { - return false; - } - const symbolId = getSymbolId(symbol); - if (visitedSymbols[symbolId]) { - return false; - } - visitedSymbols[symbolId] = symbol; - if (!accept(symbol)) { - return true; - } - const t = getTypeOfSymbol(symbol); - visitType(t); - if (symbol.exports) { - symbol.exports.forEach(visitSymbol); - } - forEach(symbol.declarations, (d) => { - if (d.type && d.type.kind === 186 /* TypeQuery */) { - const query = d.type; - const entity = getResolvedSymbol(getFirstIdentifier2(query.exprName)); - visitSymbol(entity); - } - }); - return false; - } - } -} - -// src/compiler/moduleSpecifiers.ts -var stringToRegex = memoizeOne((pattern) => { - try { - let slash = pattern.indexOf("/"); - if (slash !== 0) { - return new RegExp(pattern); - } - const lastSlash = pattern.lastIndexOf("/"); - if (slash === lastSlash) { - return new RegExp(pattern); - } - while ((slash = pattern.indexOf("/", slash + 1)) !== lastSlash) { - if (pattern[slash - 1] !== "\\") { - return new RegExp(pattern); - } - } - const flags = pattern.substring(lastSlash + 1).replace(/[^iu]/g, ""); - pattern = pattern.substring(1, lastSlash); - return new RegExp(pattern, flags); - } catch { - return void 0; - } -}); -function getModuleSpecifierPreferences({ importModuleSpecifierPreference, importModuleSpecifierEnding, autoImportSpecifierExcludeRegexes }, host, compilerOptions, importingSourceFile, oldImportSpecifier) { - const filePreferredEnding = getPreferredEnding(); - return { - excludeRegexes: autoImportSpecifierExcludeRegexes, - relativePreference: oldImportSpecifier !== void 0 ? isExternalModuleNameRelative(oldImportSpecifier) ? 0 /* Relative */ : 1 /* NonRelative */ : importModuleSpecifierPreference === "relative" ? 0 /* Relative */ : importModuleSpecifierPreference === "non-relative" ? 1 /* NonRelative */ : importModuleSpecifierPreference === "project-relative" ? 3 /* ExternalNonRelative */ : 2 /* Shortest */, - getAllowedEndingsInPreferredOrder: (syntaxImpliedNodeFormat) => { - const impliedNodeFormat = getDefaultResolutionModeForFile(importingSourceFile, host, compilerOptions); - const preferredEnding = syntaxImpliedNodeFormat !== impliedNodeFormat ? getPreferredEnding(syntaxImpliedNodeFormat) : filePreferredEnding; - const moduleResolution = getEmitModuleResolutionKind(compilerOptions); - if ((syntaxImpliedNodeFormat ?? impliedNodeFormat) === 99 /* ESNext */ && 3 /* Node16 */ <= moduleResolution && moduleResolution <= 99 /* NodeNext */) { - if (shouldAllowImportingTsExtension(compilerOptions, importingSourceFile.fileName)) { - return [3 /* TsExtension */, 2 /* JsExtension */]; - } - return [2 /* JsExtension */]; - } - if (getEmitModuleResolutionKind(compilerOptions) === 1 /* Classic */) { - return preferredEnding === 2 /* JsExtension */ ? [2 /* JsExtension */, 1 /* Index */] : [1 /* Index */, 2 /* JsExtension */]; - } - const allowImportingTsExtension = shouldAllowImportingTsExtension(compilerOptions, importingSourceFile.fileName); - switch (preferredEnding) { - case 2 /* JsExtension */: - return allowImportingTsExtension ? [2 /* JsExtension */, 3 /* TsExtension */, 0 /* Minimal */, 1 /* Index */] : [2 /* JsExtension */, 0 /* Minimal */, 1 /* Index */]; - case 3 /* TsExtension */: - return [3 /* TsExtension */, 0 /* Minimal */, 2 /* JsExtension */, 1 /* Index */]; - case 1 /* Index */: - return allowImportingTsExtension ? [1 /* Index */, 0 /* Minimal */, 3 /* TsExtension */, 2 /* JsExtension */] : [1 /* Index */, 0 /* Minimal */, 2 /* JsExtension */]; - case 0 /* Minimal */: - return allowImportingTsExtension ? [0 /* Minimal */, 1 /* Index */, 3 /* TsExtension */, 2 /* JsExtension */] : [0 /* Minimal */, 1 /* Index */, 2 /* JsExtension */]; - default: - Debug.assertNever(preferredEnding); - } - } - }; - function getPreferredEnding(resolutionMode) { - if (oldImportSpecifier !== void 0) { - if (hasJSFileExtension(oldImportSpecifier)) return 2 /* JsExtension */; - if (endsWith(oldImportSpecifier, "/index")) return 1 /* Index */; - } - return getModuleSpecifierEndingPreference( - importModuleSpecifierEnding, - resolutionMode ?? getDefaultResolutionModeForFile(importingSourceFile, host, compilerOptions), - compilerOptions, - isFullSourceFile(importingSourceFile) ? importingSourceFile : void 0 - ); - } -} -function tryGetModuleSpecifiersFromCacheWorker(moduleSymbol, importingSourceFile, host, userPreferences, options = {}) { - var _a; - const moduleSourceFile = getSourceFileOfModule(moduleSymbol); - if (!moduleSourceFile) { - return emptyArray; - } - const cache = (_a = host.getModuleSpecifierCache) == null ? void 0 : _a.call(host); - const cached = cache == null ? void 0 : cache.get(importingSourceFile.path, moduleSourceFile.path, userPreferences, options); - return [cached == null ? void 0 : cached.kind, cached == null ? void 0 : cached.moduleSpecifiers, moduleSourceFile, cached == null ? void 0 : cached.modulePaths, cache]; -} -function getModuleSpecifiers(moduleSymbol, checker, compilerOptions, importingSourceFile, host, userPreferences, options = {}) { - return getModuleSpecifiersWithCacheInfo( - moduleSymbol, - checker, - compilerOptions, - importingSourceFile, - host, - userPreferences, - options, - /*forAutoImport*/ - false - ).moduleSpecifiers; -} -function getModuleSpecifiersWithCacheInfo(moduleSymbol, checker, compilerOptions, importingSourceFile, host, userPreferences, options = {}, forAutoImport) { - let computedWithoutCache = false; - const ambient = tryGetModuleNameFromAmbientModule(moduleSymbol, checker); - if (ambient) { - return { - kind: "ambient", - moduleSpecifiers: !(forAutoImport && isExcludedByRegex(ambient, userPreferences.autoImportSpecifierExcludeRegexes)) ? [ambient] : emptyArray, - computedWithoutCache - }; - } - let [kind, specifiers, moduleSourceFile, modulePaths, cache] = tryGetModuleSpecifiersFromCacheWorker( - moduleSymbol, - importingSourceFile, - host, - userPreferences, - options - ); - if (specifiers) return { kind, moduleSpecifiers: specifiers, computedWithoutCache }; - if (!moduleSourceFile) return { kind: void 0, moduleSpecifiers: emptyArray, computedWithoutCache }; - computedWithoutCache = true; - modulePaths || (modulePaths = getAllModulePathsWorker(getInfo(importingSourceFile.fileName, host), moduleSourceFile.originalFileName, host, compilerOptions, options)); - const result = computeModuleSpecifiers( - modulePaths, - compilerOptions, - importingSourceFile, - host, - userPreferences, - options, - forAutoImport - ); - cache == null ? void 0 : cache.set(importingSourceFile.path, moduleSourceFile.path, userPreferences, options, result.kind, modulePaths, result.moduleSpecifiers); - return result; -} -function computeModuleSpecifiers(modulePaths, compilerOptions, importingSourceFile, host, userPreferences, options = {}, forAutoImport) { - const info = getInfo(importingSourceFile.fileName, host); - const preferences = getModuleSpecifierPreferences(userPreferences, host, compilerOptions, importingSourceFile); - const existingSpecifier = isFullSourceFile(importingSourceFile) && forEach(modulePaths, (modulePath) => forEach( - host.getFileIncludeReasons().get(toPath(modulePath.path, host.getCurrentDirectory(), info.getCanonicalFileName)), - (reason) => { - if (reason.kind !== 3 /* Import */ || reason.file !== importingSourceFile.path) return void 0; - const existingMode = host.getModeForResolutionAtIndex(importingSourceFile, reason.index); - const targetMode = options.overrideImportMode ?? host.getDefaultResolutionModeForFile(importingSourceFile); - if (existingMode !== targetMode && existingMode !== void 0 && targetMode !== void 0) { - return void 0; - } - const specifier = getModuleNameStringLiteralAt(importingSourceFile, reason.index).text; - return preferences.relativePreference !== 1 /* NonRelative */ || !pathIsRelative(specifier) ? specifier : void 0; - } - )); - if (existingSpecifier) { - return { kind: void 0, moduleSpecifiers: [existingSpecifier], computedWithoutCache: true }; - } - const importedFileIsInNodeModules = some(modulePaths, (p) => p.isInNodeModules); - let nodeModulesSpecifiers; - let pathsSpecifiers; - let redirectPathsSpecifiers; - let relativeSpecifiers; - for (const modulePath of modulePaths) { - const specifier = modulePath.isInNodeModules ? tryGetModuleNameAsNodeModule( - modulePath, - info, - importingSourceFile, - host, - compilerOptions, - userPreferences, - /*packageNameOnly*/ - void 0, - options.overrideImportMode - ) : void 0; - if (specifier && !(forAutoImport && isExcludedByRegex(specifier, preferences.excludeRegexes))) { - nodeModulesSpecifiers = append(nodeModulesSpecifiers, specifier); - if (modulePath.isRedirect) { - return { kind: "node_modules", moduleSpecifiers: nodeModulesSpecifiers, computedWithoutCache: true }; - } - } - if (!specifier) { - const local = getLocalModuleSpecifier( - modulePath.path, - info, - compilerOptions, - host, - options.overrideImportMode || importingSourceFile.impliedNodeFormat, - preferences, - /*pathsOnly*/ - modulePath.isRedirect - ); - if (!local || forAutoImport && isExcludedByRegex(local, preferences.excludeRegexes)) { - continue; - } - if (modulePath.isRedirect) { - redirectPathsSpecifiers = append(redirectPathsSpecifiers, local); - } else if (pathIsBareSpecifier(local)) { - if (pathContainsNodeModules(local)) { - relativeSpecifiers = append(relativeSpecifiers, local); - } else { - pathsSpecifiers = append(pathsSpecifiers, local); - } - } else if (forAutoImport || !importedFileIsInNodeModules || modulePath.isInNodeModules) { - relativeSpecifiers = append(relativeSpecifiers, local); - } - } - } - return (pathsSpecifiers == null ? void 0 : pathsSpecifiers.length) ? { kind: "paths", moduleSpecifiers: pathsSpecifiers, computedWithoutCache: true } : (redirectPathsSpecifiers == null ? void 0 : redirectPathsSpecifiers.length) ? { kind: "redirect", moduleSpecifiers: redirectPathsSpecifiers, computedWithoutCache: true } : (nodeModulesSpecifiers == null ? void 0 : nodeModulesSpecifiers.length) ? { kind: "node_modules", moduleSpecifiers: nodeModulesSpecifiers, computedWithoutCache: true } : { kind: "relative", moduleSpecifiers: relativeSpecifiers ?? emptyArray, computedWithoutCache: true }; -} -function isExcludedByRegex(moduleSpecifier, excludeRegexes) { - return some(excludeRegexes, (pattern) => { - var _a; - return !!((_a = stringToRegex(pattern)) == null ? void 0 : _a.test(moduleSpecifier)); - }); -} -function getInfo(importingSourceFileName, host) { - importingSourceFileName = getNormalizedAbsolutePath(importingSourceFileName, host.getCurrentDirectory()); - const getCanonicalFileName = createGetCanonicalFileName(host.useCaseSensitiveFileNames ? host.useCaseSensitiveFileNames() : true); - const sourceDirectory = getDirectoryPath(importingSourceFileName); - return { - getCanonicalFileName, - importingSourceFileName, - sourceDirectory, - canonicalSourceDirectory: getCanonicalFileName(sourceDirectory) - }; -} -function getLocalModuleSpecifier(moduleFileName, info, compilerOptions, host, importMode, { getAllowedEndingsInPreferredOrder: getAllowedEndingsInPrefererredOrder, relativePreference, excludeRegexes }, pathsOnly) { - const { baseUrl, paths, rootDirs } = compilerOptions; - if (pathsOnly && !paths) { - return void 0; - } - const { sourceDirectory, canonicalSourceDirectory, getCanonicalFileName } = info; - const allowedEndings = getAllowedEndingsInPrefererredOrder(importMode); - const relativePath = rootDirs && tryGetModuleNameFromRootDirs(rootDirs, moduleFileName, sourceDirectory, getCanonicalFileName, allowedEndings, compilerOptions) || processEnding(ensurePathIsNonModuleName(getRelativePathFromDirectory(sourceDirectory, moduleFileName, getCanonicalFileName)), allowedEndings, compilerOptions); - if (!baseUrl && !paths && !getResolvePackageJsonImports(compilerOptions) || relativePreference === 0 /* Relative */) { - return pathsOnly ? void 0 : relativePath; - } - const baseDirectory = getNormalizedAbsolutePath(getPathsBasePath(compilerOptions, host) || baseUrl, host.getCurrentDirectory()); - const relativeToBaseUrl = getRelativePathIfInSameVolume(moduleFileName, baseDirectory, getCanonicalFileName); - if (!relativeToBaseUrl) { - return pathsOnly ? void 0 : relativePath; - } - const fromPackageJsonImports = pathsOnly ? void 0 : tryGetModuleNameFromPackageJsonImports( - moduleFileName, - sourceDirectory, - compilerOptions, - host, - importMode, - prefersTsExtension(allowedEndings) - ); - const fromPaths = pathsOnly || fromPackageJsonImports === void 0 ? paths && tryGetModuleNameFromPaths(relativeToBaseUrl, paths, allowedEndings, host, compilerOptions) : void 0; - if (pathsOnly) { - return fromPaths; - } - const maybeNonRelative = fromPackageJsonImports ?? (fromPaths === void 0 && baseUrl !== void 0 ? processEnding(relativeToBaseUrl, allowedEndings, compilerOptions) : fromPaths); - if (!maybeNonRelative) { - return relativePath; - } - const relativeIsExcluded = isExcludedByRegex(relativePath, excludeRegexes); - const nonRelativeIsExcluded = isExcludedByRegex(maybeNonRelative, excludeRegexes); - if (!relativeIsExcluded && nonRelativeIsExcluded) { - return relativePath; - } - if (relativeIsExcluded && !nonRelativeIsExcluded) { - return maybeNonRelative; - } - if (relativePreference === 1 /* NonRelative */ && !pathIsRelative(maybeNonRelative)) { - return maybeNonRelative; - } - if (relativePreference === 3 /* ExternalNonRelative */ && !pathIsRelative(maybeNonRelative)) { - const projectDirectory = compilerOptions.configFilePath ? toPath(getDirectoryPath(compilerOptions.configFilePath), host.getCurrentDirectory(), info.getCanonicalFileName) : info.getCanonicalFileName(host.getCurrentDirectory()); - const modulePath = toPath(moduleFileName, projectDirectory, getCanonicalFileName); - const sourceIsInternal = startsWith(canonicalSourceDirectory, projectDirectory); - const targetIsInternal = startsWith(modulePath, projectDirectory); - if (sourceIsInternal && !targetIsInternal || !sourceIsInternal && targetIsInternal) { - return maybeNonRelative; - } - const nearestTargetPackageJson = getNearestAncestorDirectoryWithPackageJson(host, getDirectoryPath(modulePath)); - const nearestSourcePackageJson = getNearestAncestorDirectoryWithPackageJson(host, sourceDirectory); - const ignoreCase = !hostUsesCaseSensitiveFileNames(host); - if (!packageJsonPathsAreEqual(nearestTargetPackageJson, nearestSourcePackageJson, ignoreCase)) { - return maybeNonRelative; - } - return relativePath; - } - return isPathRelativeToParent(maybeNonRelative) || countPathComponents(relativePath) < countPathComponents(maybeNonRelative) ? relativePath : maybeNonRelative; -} -function packageJsonPathsAreEqual(a, b, ignoreCase) { - if (a === b) return true; - if (a === void 0 || b === void 0) return false; - return comparePaths(a, b, ignoreCase) === 0 /* EqualTo */; -} -function countPathComponents(path) { - let count = 0; - for (let i = startsWith(path, "./") ? 2 : 0; i < path.length; i++) { - if (path.charCodeAt(i) === 47 /* slash */) count++; - } - return count; -} -function comparePathsByRedirectAndNumberOfDirectorySeparators(a, b) { - return compareBooleans(b.isRedirect, a.isRedirect) || compareNumberOfDirectorySeparators(a.path, b.path); -} -function getNearestAncestorDirectoryWithPackageJson(host, fileName) { - if (host.getNearestAncestorDirectoryWithPackageJson) { - return host.getNearestAncestorDirectoryWithPackageJson(fileName); - } - return forEachAncestorDirectory(fileName, (directory) => { - return host.fileExists(combinePaths(directory, "package.json")) ? directory : void 0; - }); -} -function forEachFileNameOfModule(importingFileName, importedFileName, host, preferSymlinks, cb) { - var _a; - const getCanonicalFileName = hostGetCanonicalFileName(host); - const cwd = host.getCurrentDirectory(); - const referenceRedirect = host.isSourceOfProjectReferenceRedirect(importedFileName) ? host.getProjectReferenceRedirect(importedFileName) : void 0; - const importedPath = toPath(importedFileName, cwd, getCanonicalFileName); - const redirects = host.redirectTargetsMap.get(importedPath) || emptyArray; - const importedFileNames = [...referenceRedirect ? [referenceRedirect] : emptyArray, importedFileName, ...redirects]; - const targets = importedFileNames.map((f) => getNormalizedAbsolutePath(f, cwd)); - let shouldFilterIgnoredPaths = !every(targets, containsIgnoredPath); - if (!preferSymlinks) { - const result2 = forEach(targets, (p) => !(shouldFilterIgnoredPaths && containsIgnoredPath(p)) && cb(p, referenceRedirect === p)); - if (result2) return result2; - } - const symlinkedDirectories = (_a = host.getSymlinkCache) == null ? void 0 : _a.call(host).getSymlinkedDirectoriesByRealpath(); - const fullImportedFileName = getNormalizedAbsolutePath(importedFileName, cwd); - const result = symlinkedDirectories && forEachAncestorDirectory(getDirectoryPath(fullImportedFileName), (realPathDirectory) => { - const symlinkDirectories = symlinkedDirectories.get(ensureTrailingDirectorySeparator(toPath(realPathDirectory, cwd, getCanonicalFileName))); - if (!symlinkDirectories) return void 0; - if (startsWithDirectory(importingFileName, realPathDirectory, getCanonicalFileName)) { - return false; - } - return forEach(targets, (target) => { - if (!startsWithDirectory(target, realPathDirectory, getCanonicalFileName)) { - return; - } - const relative = getRelativePathFromDirectory(realPathDirectory, target, getCanonicalFileName); - for (const symlinkDirectory of symlinkDirectories) { - const option = resolvePath(symlinkDirectory, relative); - const result2 = cb(option, target === referenceRedirect); - shouldFilterIgnoredPaths = true; - if (result2) return result2; - } - }); - }); - return result || (preferSymlinks ? forEach(targets, (p) => shouldFilterIgnoredPaths && containsIgnoredPath(p) ? void 0 : cb(p, p === referenceRedirect)) : void 0); -} -var runtimeDependencyFields = ["dependencies", "peerDependencies", "optionalDependencies"]; -function getAllRuntimeDependencies(packageJson) { - let result; - for (const field of runtimeDependencyFields) { - const deps = packageJson[field]; - if (deps && typeof deps === "object") { - result = concatenate(result, getOwnKeys(deps)); - } - } - return result; -} -function getAllModulePathsWorker(info, importedFileName, host, compilerOptions, options) { - var _a, _b; - const cache = (_a = host.getModuleResolutionCache) == null ? void 0 : _a.call(host); - const links = (_b = host.getSymlinkCache) == null ? void 0 : _b.call(host); - if (cache && links && host.readFile && !pathContainsNodeModules(info.importingSourceFileName)) { - Debug.type(host); - const state = getTemporaryModuleResolutionState(cache.getPackageJsonInfoCache(), host, {}); - const packageJson = getPackageScopeForPath(getDirectoryPath(info.importingSourceFileName), state); - if (packageJson) { - const toResolve = getAllRuntimeDependencies(packageJson.contents.packageJsonContent); - for (const depName of toResolve || emptyArray) { - const resolved = resolveModuleName( - depName, - combinePaths(packageJson.packageDirectory, "package.json"), - compilerOptions, - host, - cache, - /*redirectedReference*/ - void 0, - options.overrideImportMode - ); - links.setSymlinksFromResolution(resolved.resolvedModule); - } - } - } - const allFileNames = /* @__PURE__ */ new Map(); - let importedFileFromNodeModules = false; - forEachFileNameOfModule( - info.importingSourceFileName, - importedFileName, - host, - /*preferSymlinks*/ - true, - (path, isRedirect) => { - const isInNodeModules = pathContainsNodeModules(path); - allFileNames.set(path, { path: info.getCanonicalFileName(path), isRedirect, isInNodeModules }); - importedFileFromNodeModules = importedFileFromNodeModules || isInNodeModules; - } - ); - const sortedPaths = []; - for (let directory = info.canonicalSourceDirectory; allFileNames.size !== 0; ) { - const directoryStart = ensureTrailingDirectorySeparator(directory); - let pathsInDirectory; - allFileNames.forEach(({ path, isRedirect, isInNodeModules }, fileName) => { - if (startsWith(path, directoryStart)) { - (pathsInDirectory || (pathsInDirectory = [])).push({ path: fileName, isRedirect, isInNodeModules }); - allFileNames.delete(fileName); - } - }); - if (pathsInDirectory) { - if (pathsInDirectory.length > 1) { - pathsInDirectory.sort(comparePathsByRedirectAndNumberOfDirectorySeparators); - } - sortedPaths.push(...pathsInDirectory); - } - const newDirectory = getDirectoryPath(directory); - if (newDirectory === directory) break; - directory = newDirectory; - } - if (allFileNames.size) { - const remainingPaths = arrayFrom( - allFileNames.entries(), - ([fileName, { isRedirect, isInNodeModules }]) => ({ path: fileName, isRedirect, isInNodeModules }) - ); - if (remainingPaths.length > 1) remainingPaths.sort(comparePathsByRedirectAndNumberOfDirectorySeparators); - sortedPaths.push(...remainingPaths); - } - return sortedPaths; -} -function tryGetModuleNameFromAmbientModule(moduleSymbol, checker) { - var _a; - const decl = (_a = moduleSymbol.declarations) == null ? void 0 : _a.find( - (d) => isNonGlobalAmbientModule(d) && (!isExternalModuleAugmentation(d) || !isExternalModuleNameRelative(getTextOfIdentifierOrLiteral(d.name))) - ); - if (decl) { - return decl.name.text; - } - const ambientModuleDeclareCandidates = mapDefined(moduleSymbol.declarations, (d) => { - var _a2, _b, _c, _d; - if (!isModuleDeclaration(d)) return; - const topNamespace = getTopNamespace(d); - if (!(((_a2 = topNamespace == null ? void 0 : topNamespace.parent) == null ? void 0 : _a2.parent) && isModuleBlock(topNamespace.parent) && isAmbientModule(topNamespace.parent.parent) && isSourceFile(topNamespace.parent.parent.parent))) return; - const exportAssignment = (_d = (_c = (_b = topNamespace.parent.parent.symbol.exports) == null ? void 0 : _b.get("export=")) == null ? void 0 : _c.valueDeclaration) == null ? void 0 : _d.expression; - if (!exportAssignment) return; - const exportSymbol = checker.getSymbolAtLocation(exportAssignment); - if (!exportSymbol) return; - const originalExportSymbol = (exportSymbol == null ? void 0 : exportSymbol.flags) & 2097152 /* Alias */ ? checker.getAliasedSymbol(exportSymbol) : exportSymbol; - if (originalExportSymbol === d.symbol) return topNamespace.parent.parent; - function getTopNamespace(namespaceDeclaration) { - while (namespaceDeclaration.flags & 8 /* NestedNamespace */) { - namespaceDeclaration = namespaceDeclaration.parent; - } - return namespaceDeclaration; - } - }); - const ambientModuleDeclare = ambientModuleDeclareCandidates[0]; - if (ambientModuleDeclare) { - return ambientModuleDeclare.name.text; - } -} -function tryGetModuleNameFromPaths(relativeToBaseUrl, paths, allowedEndings, host, compilerOptions) { - for (const key in paths) { - for (const patternText2 of paths[key]) { - const pattern = normalizePath(patternText2); - const indexOfStar = pattern.indexOf("*"); - const candidates = allowedEndings.map((ending) => ({ - ending, - value: processEnding(relativeToBaseUrl, [ending], compilerOptions) - })); - if (tryGetExtensionFromPath2(pattern)) { - candidates.push({ ending: void 0, value: relativeToBaseUrl }); - } - if (indexOfStar !== -1) { - const prefix = pattern.substring(0, indexOfStar); - const suffix = pattern.substring(indexOfStar + 1); - for (const { ending, value } of candidates) { - if (value.length >= prefix.length + suffix.length && startsWith(value, prefix) && endsWith(value, suffix) && validateEnding({ ending, value })) { - const matchedStar = value.substring(prefix.length, value.length - suffix.length); - if (!pathIsRelative(matchedStar)) { - return replaceFirstStar(key, matchedStar); - } - } - } - } else if (some(candidates, (c) => c.ending !== 0 /* Minimal */ && pattern === c.value) || some(candidates, (c) => c.ending === 0 /* Minimal */ && pattern === c.value && validateEnding(c))) { - return key; - } - } - } - function validateEnding({ ending, value }) { - return ending !== 0 /* Minimal */ || value === processEnding(relativeToBaseUrl, [ending], compilerOptions, host); - } -} -function tryGetModuleNameFromExportsOrImports(options, host, targetFilePath, packageDirectory, packageName, exports2, conditions, mode, isImports, preferTsExtension) { - if (typeof exports2 === "string") { - const ignoreCase = !hostUsesCaseSensitiveFileNames(host); - const getCommonSourceDirectory2 = () => host.getCommonSourceDirectory(); - const outputFile = isImports && getOutputJSFileNameWorker(targetFilePath, options, ignoreCase, getCommonSourceDirectory2); - const declarationFile = isImports && getOutputDeclarationFileNameWorker(targetFilePath, options, ignoreCase, getCommonSourceDirectory2); - const pathOrPattern = getNormalizedAbsolutePath( - combinePaths(packageDirectory, exports2), - /*currentDirectory*/ - void 0 - ); - const extensionSwappedTarget = hasTSFileExtension(targetFilePath) ? removeFileExtension(targetFilePath) + tryGetJSExtensionForFile(targetFilePath, options) : void 0; - const canTryTsExtension = preferTsExtension && hasImplementationTSFileExtension(targetFilePath); - switch (mode) { - case 0 /* Exact */: - if (extensionSwappedTarget && comparePaths(extensionSwappedTarget, pathOrPattern, ignoreCase) === 0 /* EqualTo */ || comparePaths(targetFilePath, pathOrPattern, ignoreCase) === 0 /* EqualTo */ || outputFile && comparePaths(outputFile, pathOrPattern, ignoreCase) === 0 /* EqualTo */ || declarationFile && comparePaths(declarationFile, pathOrPattern, ignoreCase) === 0 /* EqualTo */) { - return { moduleFileToTry: packageName }; - } - break; - case 1 /* Directory */: - if (canTryTsExtension && containsPath(targetFilePath, pathOrPattern, ignoreCase)) { - const fragment = getRelativePathFromDirectory( - pathOrPattern, - targetFilePath, - /*ignoreCase*/ - false - ); - return { moduleFileToTry: getNormalizedAbsolutePath( - combinePaths(combinePaths(packageName, exports2), fragment), - /*currentDirectory*/ - void 0 - ) }; - } - if (extensionSwappedTarget && containsPath(pathOrPattern, extensionSwappedTarget, ignoreCase)) { - const fragment = getRelativePathFromDirectory( - pathOrPattern, - extensionSwappedTarget, - /*ignoreCase*/ - false - ); - return { moduleFileToTry: getNormalizedAbsolutePath( - combinePaths(combinePaths(packageName, exports2), fragment), - /*currentDirectory*/ - void 0 - ) }; - } - if (!canTryTsExtension && containsPath(pathOrPattern, targetFilePath, ignoreCase)) { - const fragment = getRelativePathFromDirectory( - pathOrPattern, - targetFilePath, - /*ignoreCase*/ - false - ); - return { moduleFileToTry: getNormalizedAbsolutePath( - combinePaths(combinePaths(packageName, exports2), fragment), - /*currentDirectory*/ - void 0 - ) }; - } - if (outputFile && containsPath(pathOrPattern, outputFile, ignoreCase)) { - const fragment = getRelativePathFromDirectory( - pathOrPattern, - outputFile, - /*ignoreCase*/ - false - ); - return { moduleFileToTry: combinePaths(packageName, fragment) }; - } - if (declarationFile && containsPath(pathOrPattern, declarationFile, ignoreCase)) { - const fragment = changeFullExtension(getRelativePathFromDirectory( - pathOrPattern, - declarationFile, - /*ignoreCase*/ - false - ), getJSExtensionForFile(declarationFile, options)); - return { moduleFileToTry: combinePaths(packageName, fragment) }; - } - break; - case 2 /* Pattern */: - const starPos = pathOrPattern.indexOf("*"); - const leadingSlice = pathOrPattern.slice(0, starPos); - const trailingSlice = pathOrPattern.slice(starPos + 1); - if (canTryTsExtension && startsWith(targetFilePath, leadingSlice, ignoreCase) && endsWith(targetFilePath, trailingSlice, ignoreCase)) { - const starReplacement = targetFilePath.slice(leadingSlice.length, targetFilePath.length - trailingSlice.length); - return { moduleFileToTry: replaceFirstStar(packageName, starReplacement) }; - } - if (extensionSwappedTarget && startsWith(extensionSwappedTarget, leadingSlice, ignoreCase) && endsWith(extensionSwappedTarget, trailingSlice, ignoreCase)) { - const starReplacement = extensionSwappedTarget.slice(leadingSlice.length, extensionSwappedTarget.length - trailingSlice.length); - return { moduleFileToTry: replaceFirstStar(packageName, starReplacement) }; - } - if (!canTryTsExtension && startsWith(targetFilePath, leadingSlice, ignoreCase) && endsWith(targetFilePath, trailingSlice, ignoreCase)) { - const starReplacement = targetFilePath.slice(leadingSlice.length, targetFilePath.length - trailingSlice.length); - return { moduleFileToTry: replaceFirstStar(packageName, starReplacement) }; - } - if (outputFile && startsWith(outputFile, leadingSlice, ignoreCase) && endsWith(outputFile, trailingSlice, ignoreCase)) { - const starReplacement = outputFile.slice(leadingSlice.length, outputFile.length - trailingSlice.length); - return { moduleFileToTry: replaceFirstStar(packageName, starReplacement) }; - } - if (declarationFile && startsWith(declarationFile, leadingSlice, ignoreCase) && endsWith(declarationFile, trailingSlice, ignoreCase)) { - const starReplacement = declarationFile.slice(leadingSlice.length, declarationFile.length - trailingSlice.length); - const substituted = replaceFirstStar(packageName, starReplacement); - const jsExtension = tryGetJSExtensionForFile(declarationFile, options); - return jsExtension ? { moduleFileToTry: changeFullExtension(substituted, jsExtension) } : void 0; - } - break; - } - } else if (Array.isArray(exports2)) { - return forEach(exports2, (e) => tryGetModuleNameFromExportsOrImports(options, host, targetFilePath, packageDirectory, packageName, e, conditions, mode, isImports, preferTsExtension)); - } else if (typeof exports2 === "object" && exports2 !== null) { - for (const key of getOwnKeys(exports2)) { - if (key === "default" || conditions.indexOf(key) >= 0 || isApplicableVersionedTypesKey(conditions, key)) { - const subTarget = exports2[key]; - const result = tryGetModuleNameFromExportsOrImports(options, host, targetFilePath, packageDirectory, packageName, subTarget, conditions, mode, isImports, preferTsExtension); - if (result) { - return result; - } - } - } - } - return void 0; -} -function tryGetModuleNameFromExports(options, host, targetFilePath, packageDirectory, packageName, exports2, conditions) { - if (typeof exports2 === "object" && exports2 !== null && !Array.isArray(exports2) && allKeysStartWithDot(exports2)) { - return forEach(getOwnKeys(exports2), (k) => { - const subPackageName = getNormalizedAbsolutePath( - combinePaths(packageName, k), - /*currentDirectory*/ - void 0 - ); - const mode = endsWith(k, "/") ? 1 /* Directory */ : k.includes("*") ? 2 /* Pattern */ : 0 /* Exact */; - return tryGetModuleNameFromExportsOrImports( - options, - host, - targetFilePath, - packageDirectory, - subPackageName, - exports2[k], - conditions, - mode, - /*isImports*/ - false, - /*preferTsExtension*/ - false - ); - }); - } - return tryGetModuleNameFromExportsOrImports( - options, - host, - targetFilePath, - packageDirectory, - packageName, - exports2, - conditions, - 0 /* Exact */, - /*isImports*/ - false, - /*preferTsExtension*/ - false - ); -} -function tryGetModuleNameFromPackageJsonImports(moduleFileName, sourceDirectory, options, host, importMode, preferTsExtension) { - var _a, _b, _c; - if (!host.readFile || !getResolvePackageJsonImports(options)) { - return void 0; - } - const ancestorDirectoryWithPackageJson = getNearestAncestorDirectoryWithPackageJson(host, sourceDirectory); - if (!ancestorDirectoryWithPackageJson) { - return void 0; - } - const packageJsonPath = combinePaths(ancestorDirectoryWithPackageJson, "package.json"); - const cachedPackageJson = (_b = (_a = host.getPackageJsonInfoCache) == null ? void 0 : _a.call(host)) == null ? void 0 : _b.getPackageJsonInfo(packageJsonPath); - if (isMissingPackageJsonInfo(cachedPackageJson) || !host.fileExists(packageJsonPath)) { - return void 0; - } - const packageJsonContent = (cachedPackageJson == null ? void 0 : cachedPackageJson.contents.packageJsonContent) || tryParseJson(host.readFile(packageJsonPath)); - const imports = packageJsonContent == null ? void 0 : packageJsonContent.imports; - if (!imports) { - return void 0; - } - const conditions = getConditions(options, importMode); - return (_c = forEach(getOwnKeys(imports), (k) => { - if (!startsWith(k, "#") || k === "#" || startsWith(k, "#/")) return void 0; - const mode = endsWith(k, "/") ? 1 /* Directory */ : k.includes("*") ? 2 /* Pattern */ : 0 /* Exact */; - return tryGetModuleNameFromExportsOrImports( - options, - host, - moduleFileName, - ancestorDirectoryWithPackageJson, - k, - imports[k], - conditions, - mode, - /*isImports*/ - true, - preferTsExtension - ); - })) == null ? void 0 : _c.moduleFileToTry; -} -function tryGetModuleNameFromRootDirs(rootDirs, moduleFileName, sourceDirectory, getCanonicalFileName, allowedEndings, compilerOptions) { - const normalizedTargetPaths = getPathsRelativeToRootDirs(moduleFileName, rootDirs, getCanonicalFileName); - if (normalizedTargetPaths === void 0) { - return void 0; - } - const normalizedSourcePaths = getPathsRelativeToRootDirs(sourceDirectory, rootDirs, getCanonicalFileName); - const relativePaths = flatMap(normalizedSourcePaths, (sourcePath) => { - return map(normalizedTargetPaths, (targetPath) => ensurePathIsNonModuleName(getRelativePathFromDirectory(sourcePath, targetPath, getCanonicalFileName))); - }); - const shortest = min(relativePaths, compareNumberOfDirectorySeparators); - if (!shortest) { - return void 0; - } - return processEnding(shortest, allowedEndings, compilerOptions); -} -function tryGetModuleNameAsNodeModule({ path, isRedirect }, { getCanonicalFileName, canonicalSourceDirectory }, importingSourceFile, host, options, userPreferences, packageNameOnly, overrideMode) { - if (!host.fileExists || !host.readFile) { - return void 0; - } - const parts = getNodeModulePathParts(path); - if (!parts) { - return void 0; - } - const preferences = getModuleSpecifierPreferences(userPreferences, host, options, importingSourceFile); - const allowedEndings = preferences.getAllowedEndingsInPreferredOrder(); - let moduleSpecifier = path; - let isPackageRootPath = false; - if (!packageNameOnly) { - let packageRootIndex = parts.packageRootIndex; - let moduleFileName; - while (true) { - const { moduleFileToTry, packageRootPath, blockedByExports, verbatimFromExports } = tryDirectoryWithPackageJson(packageRootIndex); - if (getEmitModuleResolutionKind(options) !== 1 /* Classic */) { - if (blockedByExports) { - return void 0; - } - if (verbatimFromExports) { - return moduleFileToTry; - } - } - if (packageRootPath) { - moduleSpecifier = packageRootPath; - isPackageRootPath = true; - break; - } - if (!moduleFileName) moduleFileName = moduleFileToTry; - packageRootIndex = path.indexOf(directorySeparator, packageRootIndex + 1); - if (packageRootIndex === -1) { - moduleSpecifier = processEnding(moduleFileName, allowedEndings, options, host); - break; - } - } - } - if (isRedirect && !isPackageRootPath) { - return void 0; - } - const globalTypingsCacheLocation = host.getGlobalTypingsCacheLocation && host.getGlobalTypingsCacheLocation(); - const pathToTopLevelNodeModules = getCanonicalFileName(moduleSpecifier.substring(0, parts.topLevelNodeModulesIndex)); - if (!(startsWith(canonicalSourceDirectory, pathToTopLevelNodeModules) || globalTypingsCacheLocation && startsWith(getCanonicalFileName(globalTypingsCacheLocation), pathToTopLevelNodeModules))) { - return void 0; - } - const nodeModulesDirectoryName = moduleSpecifier.substring(parts.topLevelPackageNameIndex + 1); - const packageName = getPackageNameFromTypesPackageName(nodeModulesDirectoryName); - return getEmitModuleResolutionKind(options) === 1 /* Classic */ && packageName === nodeModulesDirectoryName ? void 0 : packageName; - function tryDirectoryWithPackageJson(packageRootIndex) { - var _a, _b; - const packageRootPath = path.substring(0, packageRootIndex); - const packageJsonPath = combinePaths(packageRootPath, "package.json"); - let moduleFileToTry = path; - let maybeBlockedByTypesVersions = false; - const cachedPackageJson = (_b = (_a = host.getPackageJsonInfoCache) == null ? void 0 : _a.call(host)) == null ? void 0 : _b.getPackageJsonInfo(packageJsonPath); - if (isPackageJsonInfo(cachedPackageJson) || cachedPackageJson === void 0 && host.fileExists(packageJsonPath)) { - const packageJsonContent = (cachedPackageJson == null ? void 0 : cachedPackageJson.contents.packageJsonContent) || tryParseJson(host.readFile(packageJsonPath)); - const importMode = overrideMode || getDefaultResolutionModeForFile(importingSourceFile, host, options); - if (getResolvePackageJsonExports(options)) { - const nodeModulesDirectoryName2 = packageRootPath.substring(parts.topLevelPackageNameIndex + 1); - const packageName2 = getPackageNameFromTypesPackageName(nodeModulesDirectoryName2); - const conditions = getConditions(options, importMode); - const fromExports = (packageJsonContent == null ? void 0 : packageJsonContent.exports) ? tryGetModuleNameFromExports( - options, - host, - path, - packageRootPath, - packageName2, - packageJsonContent.exports, - conditions - ) : void 0; - if (fromExports) { - return { ...fromExports, verbatimFromExports: true }; - } - if (packageJsonContent == null ? void 0 : packageJsonContent.exports) { - return { moduleFileToTry: path, blockedByExports: true }; - } - } - const versionPaths = (packageJsonContent == null ? void 0 : packageJsonContent.typesVersions) ? getPackageJsonTypesVersionsPaths(packageJsonContent.typesVersions) : void 0; - if (versionPaths) { - const subModuleName = path.slice(packageRootPath.length + 1); - const fromPaths = tryGetModuleNameFromPaths( - subModuleName, - versionPaths.paths, - allowedEndings, - host, - options - ); - if (fromPaths === void 0) { - maybeBlockedByTypesVersions = true; - } else { - moduleFileToTry = combinePaths(packageRootPath, fromPaths); - } - } - const mainFileRelative = (packageJsonContent == null ? void 0 : packageJsonContent.typings) || (packageJsonContent == null ? void 0 : packageJsonContent.types) || (packageJsonContent == null ? void 0 : packageJsonContent.main) || "index.js"; - if (isString(mainFileRelative) && !(maybeBlockedByTypesVersions && matchPatternOrExact(tryParsePatterns(versionPaths.paths), mainFileRelative))) { - const mainExportFile = toPath(mainFileRelative, packageRootPath, getCanonicalFileName); - const canonicalModuleFileToTry = getCanonicalFileName(moduleFileToTry); - if (removeFileExtension(mainExportFile) === removeFileExtension(canonicalModuleFileToTry)) { - return { packageRootPath, moduleFileToTry }; - } else if ((packageJsonContent == null ? void 0 : packageJsonContent.type) !== "module" && !fileExtensionIsOneOf(canonicalModuleFileToTry, extensionsNotSupportingExtensionlessResolution) && startsWith(canonicalModuleFileToTry, mainExportFile) && getDirectoryPath(canonicalModuleFileToTry) === removeTrailingDirectorySeparator(mainExportFile) && removeFileExtension(getBaseFileName(canonicalModuleFileToTry)) === "index") { - return { packageRootPath, moduleFileToTry }; - } - } - } else { - const fileName = getCanonicalFileName(moduleFileToTry.substring(parts.packageRootIndex + 1)); - if (fileName === "index.d.ts" || fileName === "index.js" || fileName === "index.ts" || fileName === "index.tsx") { - return { moduleFileToTry, packageRootPath }; - } - } - return { moduleFileToTry }; - } -} -function tryGetAnyFileFromPath(host, path) { - if (!host.fileExists) return; - const extensions = flatten(getSupportedExtensions({ allowJs: true }, [{ extension: "node", isMixedContent: false }, { extension: "json", isMixedContent: false, scriptKind: 6 /* JSON */ }])); - for (const e of extensions) { - const fullPath = path + e; - if (host.fileExists(fullPath)) { - return fullPath; - } - } -} -function getPathsRelativeToRootDirs(path, rootDirs, getCanonicalFileName) { - return mapDefined(rootDirs, (rootDir) => { - const relativePath = getRelativePathIfInSameVolume(path, rootDir, getCanonicalFileName); - return relativePath !== void 0 && isPathRelativeToParent(relativePath) ? void 0 : relativePath; - }); -} -function processEnding(fileName, allowedEndings, options, host) { - if (fileExtensionIsOneOf(fileName, [".json" /* Json */, ".mjs" /* Mjs */, ".cjs" /* Cjs */])) { - return fileName; - } - const noExtension = removeFileExtension(fileName); - if (fileName === noExtension) { - return fileName; - } - const jsPriority = allowedEndings.indexOf(2 /* JsExtension */); - const tsPriority = allowedEndings.indexOf(3 /* TsExtension */); - if (fileExtensionIsOneOf(fileName, [".mts" /* Mts */, ".cts" /* Cts */]) && tsPriority !== -1 && tsPriority < jsPriority) { - return fileName; - } else if (fileExtensionIsOneOf(fileName, [".d.mts" /* Dmts */, ".mts" /* Mts */, ".d.cts" /* Dcts */, ".cts" /* Cts */])) { - return noExtension + getJSExtensionForFile(fileName, options); - } else if (!fileExtensionIsOneOf(fileName, [".d.ts" /* Dts */]) && fileExtensionIsOneOf(fileName, [".ts" /* Ts */]) && fileName.includes(".d.")) { - return tryGetRealFileNameForNonJsDeclarationFileName(fileName); - } - switch (allowedEndings[0]) { - case 0 /* Minimal */: - const withoutIndex = removeSuffix(noExtension, "/index"); - if (host && withoutIndex !== noExtension && tryGetAnyFileFromPath(host, withoutIndex)) { - return noExtension; - } - return withoutIndex; - case 1 /* Index */: - return noExtension; - case 2 /* JsExtension */: - return noExtension + getJSExtensionForFile(fileName, options); - case 3 /* TsExtension */: - if (isDeclarationFileName(fileName)) { - const extensionlessPriority = allowedEndings.findIndex((e) => e === 0 /* Minimal */ || e === 1 /* Index */); - return extensionlessPriority !== -1 && extensionlessPriority < jsPriority ? noExtension : noExtension + getJSExtensionForFile(fileName, options); - } - return fileName; - default: - return Debug.assertNever(allowedEndings[0]); - } -} -function tryGetRealFileNameForNonJsDeclarationFileName(fileName) { - const baseName = getBaseFileName(fileName); - if (!endsWith(fileName, ".ts" /* Ts */) || !baseName.includes(".d.") || fileExtensionIsOneOf(baseName, [".d.ts" /* Dts */])) return void 0; - const noExtension = removeExtension(fileName, ".ts" /* Ts */); - const ext = noExtension.substring(noExtension.lastIndexOf(".")); - return noExtension.substring(0, noExtension.indexOf(".d.")) + ext; -} -function getJSExtensionForFile(fileName, options) { - return tryGetJSExtensionForFile(fileName, options) ?? Debug.fail(`Extension ${extensionFromPath(fileName)} is unsupported:: FileName:: ${fileName}`); -} -function tryGetJSExtensionForFile(fileName, options) { - const ext = tryGetExtensionFromPath2(fileName); - switch (ext) { - case ".ts" /* Ts */: - case ".d.ts" /* Dts */: - return ".js" /* Js */; - case ".tsx" /* Tsx */: - return options.jsx === 1 /* Preserve */ ? ".jsx" /* Jsx */ : ".js" /* Js */; - case ".js" /* Js */: - case ".jsx" /* Jsx */: - case ".json" /* Json */: - return ext; - case ".d.mts" /* Dmts */: - case ".mts" /* Mts */: - case ".mjs" /* Mjs */: - return ".mjs" /* Mjs */; - case ".d.cts" /* Dcts */: - case ".cts" /* Cts */: - case ".cjs" /* Cjs */: - return ".cjs" /* Cjs */; - default: - return void 0; - } -} -function getRelativePathIfInSameVolume(path, directoryPath, getCanonicalFileName) { - const relativePath = getRelativePathToDirectoryOrUrl( - directoryPath, - path, - directoryPath, - getCanonicalFileName, - /*isAbsolutePathAnUrl*/ - false - ); - return isRootedDiskPath(relativePath) ? void 0 : relativePath; -} -function isPathRelativeToParent(path) { - return startsWith(path, ".."); -} -function getDefaultResolutionModeForFile(file, host, compilerOptions) { - return isFullSourceFile(file) ? host.getDefaultResolutionModeForFile(file) : getDefaultResolutionModeForFileWorker(file, compilerOptions); -} -function prefersTsExtension(allowedEndings) { - const tsPriority = allowedEndings.indexOf(3 /* TsExtension */); - return tsPriority > -1 && tsPriority < allowedEndings.indexOf(2 /* JsExtension */); -} - -// src/compiler/checker.ts -var ambientModuleSymbolRegex = /^".+"$/; -var anon = "(anonymous)"; -var nextSymbolId = 1; -var nextNodeId = 1; -var nextMergeId = 1; -var nextFlowId = 1; -var TypeFacts = /* @__PURE__ */ ((TypeFacts3) => { - TypeFacts3[TypeFacts3["None"] = 0] = "None"; - TypeFacts3[TypeFacts3["TypeofEQString"] = 1] = "TypeofEQString"; - TypeFacts3[TypeFacts3["TypeofEQNumber"] = 2] = "TypeofEQNumber"; - TypeFacts3[TypeFacts3["TypeofEQBigInt"] = 4] = "TypeofEQBigInt"; - TypeFacts3[TypeFacts3["TypeofEQBoolean"] = 8] = "TypeofEQBoolean"; - TypeFacts3[TypeFacts3["TypeofEQSymbol"] = 16] = "TypeofEQSymbol"; - TypeFacts3[TypeFacts3["TypeofEQObject"] = 32] = "TypeofEQObject"; - TypeFacts3[TypeFacts3["TypeofEQFunction"] = 64] = "TypeofEQFunction"; - TypeFacts3[TypeFacts3["TypeofEQHostObject"] = 128] = "TypeofEQHostObject"; - TypeFacts3[TypeFacts3["TypeofNEString"] = 256] = "TypeofNEString"; - TypeFacts3[TypeFacts3["TypeofNENumber"] = 512] = "TypeofNENumber"; - TypeFacts3[TypeFacts3["TypeofNEBigInt"] = 1024] = "TypeofNEBigInt"; - TypeFacts3[TypeFacts3["TypeofNEBoolean"] = 2048] = "TypeofNEBoolean"; - TypeFacts3[TypeFacts3["TypeofNESymbol"] = 4096] = "TypeofNESymbol"; - TypeFacts3[TypeFacts3["TypeofNEObject"] = 8192] = "TypeofNEObject"; - TypeFacts3[TypeFacts3["TypeofNEFunction"] = 16384] = "TypeofNEFunction"; - TypeFacts3[TypeFacts3["TypeofNEHostObject"] = 32768] = "TypeofNEHostObject"; - TypeFacts3[TypeFacts3["EQUndefined"] = 65536] = "EQUndefined"; - TypeFacts3[TypeFacts3["EQNull"] = 131072] = "EQNull"; - TypeFacts3[TypeFacts3["EQUndefinedOrNull"] = 262144] = "EQUndefinedOrNull"; - TypeFacts3[TypeFacts3["NEUndefined"] = 524288] = "NEUndefined"; - TypeFacts3[TypeFacts3["NENull"] = 1048576] = "NENull"; - TypeFacts3[TypeFacts3["NEUndefinedOrNull"] = 2097152] = "NEUndefinedOrNull"; - TypeFacts3[TypeFacts3["Truthy"] = 4194304] = "Truthy"; - TypeFacts3[TypeFacts3["Falsy"] = 8388608] = "Falsy"; - TypeFacts3[TypeFacts3["IsUndefined"] = 16777216] = "IsUndefined"; - TypeFacts3[TypeFacts3["IsNull"] = 33554432] = "IsNull"; - TypeFacts3[TypeFacts3["IsUndefinedOrNull"] = 50331648] = "IsUndefinedOrNull"; - TypeFacts3[TypeFacts3["All"] = 134217727] = "All"; - TypeFacts3[TypeFacts3["BaseStringStrictFacts"] = 3735041] = "BaseStringStrictFacts"; - TypeFacts3[TypeFacts3["BaseStringFacts"] = 12582401] = "BaseStringFacts"; - TypeFacts3[TypeFacts3["StringStrictFacts"] = 16317953] = "StringStrictFacts"; - TypeFacts3[TypeFacts3["StringFacts"] = 16776705] = "StringFacts"; - TypeFacts3[TypeFacts3["EmptyStringStrictFacts"] = 12123649] = "EmptyStringStrictFacts"; - TypeFacts3[TypeFacts3["EmptyStringFacts"] = 12582401 /* BaseStringFacts */] = "EmptyStringFacts"; - TypeFacts3[TypeFacts3["NonEmptyStringStrictFacts"] = 7929345] = "NonEmptyStringStrictFacts"; - TypeFacts3[TypeFacts3["NonEmptyStringFacts"] = 16776705] = "NonEmptyStringFacts"; - TypeFacts3[TypeFacts3["BaseNumberStrictFacts"] = 3734786] = "BaseNumberStrictFacts"; - TypeFacts3[TypeFacts3["BaseNumberFacts"] = 12582146] = "BaseNumberFacts"; - TypeFacts3[TypeFacts3["NumberStrictFacts"] = 16317698] = "NumberStrictFacts"; - TypeFacts3[TypeFacts3["NumberFacts"] = 16776450] = "NumberFacts"; - TypeFacts3[TypeFacts3["ZeroNumberStrictFacts"] = 12123394] = "ZeroNumberStrictFacts"; - TypeFacts3[TypeFacts3["ZeroNumberFacts"] = 12582146 /* BaseNumberFacts */] = "ZeroNumberFacts"; - TypeFacts3[TypeFacts3["NonZeroNumberStrictFacts"] = 7929090] = "NonZeroNumberStrictFacts"; - TypeFacts3[TypeFacts3["NonZeroNumberFacts"] = 16776450] = "NonZeroNumberFacts"; - TypeFacts3[TypeFacts3["BaseBigIntStrictFacts"] = 3734276] = "BaseBigIntStrictFacts"; - TypeFacts3[TypeFacts3["BaseBigIntFacts"] = 12581636] = "BaseBigIntFacts"; - TypeFacts3[TypeFacts3["BigIntStrictFacts"] = 16317188] = "BigIntStrictFacts"; - TypeFacts3[TypeFacts3["BigIntFacts"] = 16775940] = "BigIntFacts"; - TypeFacts3[TypeFacts3["ZeroBigIntStrictFacts"] = 12122884] = "ZeroBigIntStrictFacts"; - TypeFacts3[TypeFacts3["ZeroBigIntFacts"] = 12581636 /* BaseBigIntFacts */] = "ZeroBigIntFacts"; - TypeFacts3[TypeFacts3["NonZeroBigIntStrictFacts"] = 7928580] = "NonZeroBigIntStrictFacts"; - TypeFacts3[TypeFacts3["NonZeroBigIntFacts"] = 16775940] = "NonZeroBigIntFacts"; - TypeFacts3[TypeFacts3["BaseBooleanStrictFacts"] = 3733256] = "BaseBooleanStrictFacts"; - TypeFacts3[TypeFacts3["BaseBooleanFacts"] = 12580616] = "BaseBooleanFacts"; - TypeFacts3[TypeFacts3["BooleanStrictFacts"] = 16316168] = "BooleanStrictFacts"; - TypeFacts3[TypeFacts3["BooleanFacts"] = 16774920] = "BooleanFacts"; - TypeFacts3[TypeFacts3["FalseStrictFacts"] = 12121864] = "FalseStrictFacts"; - TypeFacts3[TypeFacts3["FalseFacts"] = 12580616 /* BaseBooleanFacts */] = "FalseFacts"; - TypeFacts3[TypeFacts3["TrueStrictFacts"] = 7927560] = "TrueStrictFacts"; - TypeFacts3[TypeFacts3["TrueFacts"] = 16774920] = "TrueFacts"; - TypeFacts3[TypeFacts3["SymbolStrictFacts"] = 7925520] = "SymbolStrictFacts"; - TypeFacts3[TypeFacts3["SymbolFacts"] = 16772880] = "SymbolFacts"; - TypeFacts3[TypeFacts3["ObjectStrictFacts"] = 7888800] = "ObjectStrictFacts"; - TypeFacts3[TypeFacts3["ObjectFacts"] = 16736160] = "ObjectFacts"; - TypeFacts3[TypeFacts3["FunctionStrictFacts"] = 7880640] = "FunctionStrictFacts"; - TypeFacts3[TypeFacts3["FunctionFacts"] = 16728e3] = "FunctionFacts"; - TypeFacts3[TypeFacts3["VoidFacts"] = 9830144] = "VoidFacts"; - TypeFacts3[TypeFacts3["UndefinedFacts"] = 26607360] = "UndefinedFacts"; - TypeFacts3[TypeFacts3["NullFacts"] = 42917664] = "NullFacts"; - TypeFacts3[TypeFacts3["EmptyObjectStrictFacts"] = 83427327] = "EmptyObjectStrictFacts"; - TypeFacts3[TypeFacts3["EmptyObjectFacts"] = 83886079] = "EmptyObjectFacts"; - TypeFacts3[TypeFacts3["UnknownFacts"] = 83886079] = "UnknownFacts"; - TypeFacts3[TypeFacts3["AllTypeofNE"] = 556800] = "AllTypeofNE"; - TypeFacts3[TypeFacts3["OrFactsMask"] = 8256] = "OrFactsMask"; - TypeFacts3[TypeFacts3["AndFactsMask"] = 134209471] = "AndFactsMask"; - return TypeFacts3; -})(TypeFacts || {}); -var typeofNEFacts = new Map(Object.entries({ - string: 256 /* TypeofNEString */, - number: 512 /* TypeofNENumber */, - bigint: 1024 /* TypeofNEBigInt */, - boolean: 2048 /* TypeofNEBoolean */, - symbol: 4096 /* TypeofNESymbol */, - undefined: 524288 /* NEUndefined */, - object: 8192 /* TypeofNEObject */, - function: 16384 /* TypeofNEFunction */ -})); -var CheckMode = /* @__PURE__ */ ((CheckMode3) => { - CheckMode3[CheckMode3["Normal"] = 0] = "Normal"; - CheckMode3[CheckMode3["Contextual"] = 1] = "Contextual"; - CheckMode3[CheckMode3["Inferential"] = 2] = "Inferential"; - CheckMode3[CheckMode3["SkipContextSensitive"] = 4] = "SkipContextSensitive"; - CheckMode3[CheckMode3["SkipGenericFunctions"] = 8] = "SkipGenericFunctions"; - CheckMode3[CheckMode3["IsForSignatureHelp"] = 16] = "IsForSignatureHelp"; - CheckMode3[CheckMode3["RestBindingElement"] = 32] = "RestBindingElement"; - CheckMode3[CheckMode3["TypeOnly"] = 64] = "TypeOnly"; - return CheckMode3; -})(CheckMode || {}); -var SignatureCheckMode = /* @__PURE__ */ ((SignatureCheckMode3) => { - SignatureCheckMode3[SignatureCheckMode3["None"] = 0] = "None"; - SignatureCheckMode3[SignatureCheckMode3["BivariantCallback"] = 1] = "BivariantCallback"; - SignatureCheckMode3[SignatureCheckMode3["StrictCallback"] = 2] = "StrictCallback"; - SignatureCheckMode3[SignatureCheckMode3["IgnoreReturnTypes"] = 4] = "IgnoreReturnTypes"; - SignatureCheckMode3[SignatureCheckMode3["StrictArity"] = 8] = "StrictArity"; - SignatureCheckMode3[SignatureCheckMode3["StrictTopSignature"] = 16] = "StrictTopSignature"; - SignatureCheckMode3[SignatureCheckMode3["Callback"] = 3] = "Callback"; - return SignatureCheckMode3; -})(SignatureCheckMode || {}); -var isNotOverloadAndNotAccessor = and(isNotOverload, isNotAccessor); -var intrinsicTypeKinds = new Map(Object.entries({ - Uppercase: 0 /* Uppercase */, - Lowercase: 1 /* Lowercase */, - Capitalize: 2 /* Capitalize */, - Uncapitalize: 3 /* Uncapitalize */, - NoInfer: 4 /* NoInfer */ -})); -var SymbolLinks = class { -}; -function NodeLinks() { - this.flags = 0 /* None */; -} -function getNodeId(node) { - if (!node.id) { - node.id = nextNodeId; - nextNodeId++; - } - return node.id; -} -function getSymbolId(symbol) { - if (!symbol.id) { - symbol.id = nextSymbolId; - nextSymbolId++; - } - return symbol.id; -} -function isInstantiatedModule(node, preserveConstEnums) { - const moduleState = getModuleInstanceState(node); - return moduleState === 1 /* Instantiated */ || preserveConstEnums && moduleState === 2 /* ConstEnumOnly */; -} -function createTypeChecker(host) { - var deferredDiagnosticsCallbacks = []; - var addLazyDiagnostic = (arg) => { - deferredDiagnosticsCallbacks.push(arg); - }; - var cancellationToken; - var scanner; - var Symbol12 = objectAllocator.getSymbolConstructor(); - var Type7 = objectAllocator.getTypeConstructor(); - var Signature5 = objectAllocator.getSignatureConstructor(); - var typeCount = 0; - var symbolCount = 0; - var totalInstantiationCount = 0; - var instantiationCount = 0; - var instantiationDepth = 0; - var inlineLevel = 0; - var currentNode; - var varianceTypeParameter; - var isInferencePartiallyBlocked = false; - var emptySymbols = createSymbolTable(); - var arrayVariances = [1 /* Covariant */]; - var compilerOptions = host.getCompilerOptions(); - var languageVersion = getEmitScriptTarget(compilerOptions); - var moduleKind = getEmitModuleKind(compilerOptions); - var legacyDecorators = !!compilerOptions.experimentalDecorators; - var useDefineForClassFields = getUseDefineForClassFields(compilerOptions); - var emitStandardClassFields = getEmitStandardClassFields(compilerOptions); - var allowSyntheticDefaultImports = getAllowSyntheticDefaultImports(compilerOptions); - var strictNullChecks = getStrictOptionValue(compilerOptions, "strictNullChecks"); - var strictFunctionTypes = getStrictOptionValue(compilerOptions, "strictFunctionTypes"); - var strictBindCallApply = getStrictOptionValue(compilerOptions, "strictBindCallApply"); - var strictPropertyInitialization = getStrictOptionValue(compilerOptions, "strictPropertyInitialization"); - var strictBuiltinIteratorReturn = getStrictOptionValue(compilerOptions, "strictBuiltinIteratorReturn"); - var noImplicitAny = getStrictOptionValue(compilerOptions, "noImplicitAny"); - var noImplicitThis = getStrictOptionValue(compilerOptions, "noImplicitThis"); - var useUnknownInCatchVariables = getStrictOptionValue(compilerOptions, "useUnknownInCatchVariables"); - var exactOptionalPropertyTypes = compilerOptions.exactOptionalPropertyTypes; - var noUncheckedSideEffectImports = !!compilerOptions.noUncheckedSideEffectImports; - var checkBinaryExpression = createCheckBinaryExpression(); - var emitResolver = createResolver(); - var nodeBuilder = createNodeBuilder(); - var syntacticNodeBuilder = createSyntacticTypeNodeBuilder(compilerOptions, { - isEntityNameVisible, - isExpandoFunctionDeclaration, - getAllAccessorDeclarations: getAllAccessorDeclarationsForDeclaration, - requiresAddingImplicitUndefined, - isUndefinedIdentifierExpression(node) { - Debug.assert(isExpressionNode(node)); - return getSymbolAtLocation(node) === undefinedSymbol; - }, - isDefinitelyReferenceToGlobalSymbolObject - }); - var evaluate = createEvaluator({ - evaluateElementAccessExpression, - evaluateEntityNameExpression - }); - var globals = createSymbolTable(); - var undefinedSymbol = createSymbol(4 /* Property */, "undefined"); - undefinedSymbol.declarations = []; - var globalThisSymbol = createSymbol(1536 /* Module */, "globalThis", 8 /* Readonly */); - globalThisSymbol.exports = globals; - globalThisSymbol.declarations = []; - globals.set(globalThisSymbol.escapedName, globalThisSymbol); - var argumentsSymbol = createSymbol(4 /* Property */, "arguments"); - var requireSymbol = createSymbol(4 /* Property */, "require"); - var isolatedModulesLikeFlagName = compilerOptions.verbatimModuleSyntax ? "verbatimModuleSyntax" : "isolatedModules"; - var canCollectSymbolAliasAccessabilityData = !compilerOptions.verbatimModuleSyntax; - var apparentArgumentCount; - var lastGetCombinedNodeFlagsNode; - var lastGetCombinedNodeFlagsResult = 0 /* None */; - var lastGetCombinedModifierFlagsNode; - var lastGetCombinedModifierFlagsResult = 0 /* None */; - var resolveName = createNameResolver({ - compilerOptions, - requireSymbol, - argumentsSymbol, - globals, - getSymbolOfDeclaration, - error, - getRequiresScopeChangeCache, - setRequiresScopeChangeCache, - lookup: getSymbol, - onPropertyWithInvalidInitializer: checkAndReportErrorForInvalidInitializer, - onFailedToResolveSymbol, - onSuccessfullyResolvedSymbol - }); - var resolveNameForSymbolSuggestion = createNameResolver({ - compilerOptions, - requireSymbol, - argumentsSymbol, - globals, - getSymbolOfDeclaration, - error, - getRequiresScopeChangeCache, - setRequiresScopeChangeCache, - lookup: getSuggestionForSymbolNameLookup - }); - const checker = { - getNodeCount: () => reduceLeft(host.getSourceFiles(), (n, s) => n + s.nodeCount, 0), - getIdentifierCount: () => reduceLeft(host.getSourceFiles(), (n, s) => n + s.identifierCount, 0), - getSymbolCount: () => reduceLeft(host.getSourceFiles(), (n, s) => n + s.symbolCount, symbolCount), - getTypeCount: () => typeCount, - getInstantiationCount: () => totalInstantiationCount, - getRelationCacheSizes: () => ({ - assignable: assignableRelation.size, - identity: identityRelation.size, - subtype: subtypeRelation.size, - strictSubtype: strictSubtypeRelation.size - }), - isUndefinedSymbol: (symbol) => symbol === undefinedSymbol, - isArgumentsSymbol: (symbol) => symbol === argumentsSymbol, - isUnknownSymbol: (symbol) => symbol === unknownSymbol, - getMergedSymbol, - symbolIsValue, - getDiagnostics, - getGlobalDiagnostics, - getRecursionIdentity, - getUnmatchedProperties, - getTypeOfSymbolAtLocation: (symbol, locationIn) => { - const location = getParseTreeNode(locationIn); - return location ? getTypeOfSymbolAtLocation(symbol, location) : errorType; - }, - getTypeOfSymbol, - getSymbolsOfParameterPropertyDeclaration: (parameterIn, parameterName) => { - const parameter = getParseTreeNode(parameterIn, isParameter); - if (parameter === void 0) return Debug.fail("Cannot get symbols of a synthetic parameter that cannot be resolved to a parse-tree node."); - Debug.assert(isParameterPropertyDeclaration(parameter, parameter.parent)); - return getSymbolsOfParameterPropertyDeclaration(parameter, escapeLeadingUnderscores(parameterName)); - }, - getDeclaredTypeOfSymbol, - getPropertiesOfType, - getPropertyOfType: (type, name) => getPropertyOfType(type, escapeLeadingUnderscores(name)), - getPrivateIdentifierPropertyOfType: (leftType, name, location) => { - const node = getParseTreeNode(location); - if (!node) { - return void 0; - } - const propName = escapeLeadingUnderscores(name); - const lexicallyScopedIdentifier = lookupSymbolForPrivateIdentifierDeclaration(propName, node); - return lexicallyScopedIdentifier ? getPrivateIdentifierPropertyOfType(leftType, lexicallyScopedIdentifier) : void 0; - }, - getTypeOfPropertyOfType: (type, name) => getTypeOfPropertyOfType(type, escapeLeadingUnderscores(name)), - getIndexInfoOfType: (type, kind) => getIndexInfoOfType(type, kind === 0 /* String */ ? stringType : numberType), - getIndexInfosOfType, - getIndexInfosOfIndexSymbol, - getSignaturesOfType, - getIndexTypeOfType: (type, kind) => getIndexTypeOfType(type, kind === 0 /* String */ ? stringType : numberType), - getIndexType: (type) => getIndexType(type), - getBaseTypes, - getBaseTypeOfLiteralType, - getWidenedType, - getWidenedLiteralType, - getTypeFromTypeNode: (nodeIn) => { - const node = getParseTreeNode(nodeIn, isTypeNode); - return node ? getTypeFromTypeNode(node) : errorType; - }, - getParameterType: getTypeAtPosition, - getParameterIdentifierInfoAtPosition, - getPromisedTypeOfPromise, - getAwaitedType: (type) => getAwaitedType(type), - getReturnTypeOfSignature, - isNullableType, - getNullableType, - getNonNullableType, - getNonOptionalType: removeOptionalTypeMarker, - getTypeArguments, - typeToTypeNode: nodeBuilder.typeToTypeNode, - typePredicateToTypePredicateNode: nodeBuilder.typePredicateToTypePredicateNode, - indexInfoToIndexSignatureDeclaration: nodeBuilder.indexInfoToIndexSignatureDeclaration, - signatureToSignatureDeclaration: nodeBuilder.signatureToSignatureDeclaration, - symbolToEntityName: nodeBuilder.symbolToEntityName, - symbolToExpression: nodeBuilder.symbolToExpression, - symbolToNode: nodeBuilder.symbolToNode, - symbolToTypeParameterDeclarations: nodeBuilder.symbolToTypeParameterDeclarations, - symbolToParameterDeclaration: nodeBuilder.symbolToParameterDeclaration, - typeParameterToDeclaration: nodeBuilder.typeParameterToDeclaration, - getSymbolsInScope: (locationIn, meaning) => { - const location = getParseTreeNode(locationIn); - return location ? getSymbolsInScope(location, meaning) : []; - }, - getSymbolAtLocation: (nodeIn) => { - const node = getParseTreeNode(nodeIn); - return node ? getSymbolAtLocation( - node, - /*ignoreErrors*/ - true - ) : void 0; - }, - getIndexInfosAtLocation: (nodeIn) => { - const node = getParseTreeNode(nodeIn); - return node ? getIndexInfosAtLocation(node) : void 0; - }, - getShorthandAssignmentValueSymbol: (nodeIn) => { - const node = getParseTreeNode(nodeIn); - return node ? getShorthandAssignmentValueSymbol(node) : void 0; - }, - getExportSpecifierLocalTargetSymbol: (nodeIn) => { - const node = getParseTreeNode(nodeIn, isExportSpecifier); - return node ? getExportSpecifierLocalTargetSymbol(node) : void 0; - }, - getExportSymbolOfSymbol(symbol) { - return getMergedSymbol(symbol.exportSymbol || symbol); - }, - getTypeAtLocation: (nodeIn) => { - const node = getParseTreeNode(nodeIn); - return node ? getTypeOfNode(node) : errorType; - }, - getTypeOfAssignmentPattern: (nodeIn) => { - const node = getParseTreeNode(nodeIn, isAssignmentPattern); - return node && getTypeOfAssignmentPattern(node) || errorType; - }, - getPropertySymbolOfDestructuringAssignment: (locationIn) => { - const location = getParseTreeNode(locationIn, isIdentifier); - return location ? getPropertySymbolOfDestructuringAssignment(location) : void 0; - }, - signatureToString: (signature, enclosingDeclaration, flags, kind) => { - return signatureToString(signature, getParseTreeNode(enclosingDeclaration), flags, kind); - }, - typeToString: (type, enclosingDeclaration, flags) => { - return typeToString(type, getParseTreeNode(enclosingDeclaration), flags); - }, - symbolToString: (symbol, enclosingDeclaration, meaning, flags) => { - return symbolToString(symbol, getParseTreeNode(enclosingDeclaration), meaning, flags); - }, - typePredicateToString: (predicate, enclosingDeclaration, flags) => { - return typePredicateToString(predicate, getParseTreeNode(enclosingDeclaration), flags); - }, - writeSignature: (signature, enclosingDeclaration, flags, kind, writer) => { - return signatureToString(signature, getParseTreeNode(enclosingDeclaration), flags, kind, writer); - }, - writeType: (type, enclosingDeclaration, flags, writer) => { - return typeToString(type, getParseTreeNode(enclosingDeclaration), flags, writer); - }, - writeSymbol: (symbol, enclosingDeclaration, meaning, flags, writer) => { - return symbolToString(symbol, getParseTreeNode(enclosingDeclaration), meaning, flags, writer); - }, - writeTypePredicate: (predicate, enclosingDeclaration, flags, writer) => { - return typePredicateToString(predicate, getParseTreeNode(enclosingDeclaration), flags, writer); - }, - getAugmentedPropertiesOfType, - getRootSymbols, - getSymbolOfExpando, - getContextualType: (nodeIn, contextFlags) => { - const node = getParseTreeNode(nodeIn, isExpression); - if (!node) { - return void 0; - } - if (contextFlags & 4 /* Completions */) { - return runWithInferenceBlockedFromSourceNode(node, () => getContextualType(node, contextFlags)); - } - return getContextualType(node, contextFlags); - }, - getContextualTypeForObjectLiteralElement: (nodeIn) => { - const node = getParseTreeNode(nodeIn, isObjectLiteralElementLike); - return node ? getContextualTypeForObjectLiteralElement( - node, - /*contextFlags*/ - void 0 - ) : void 0; - }, - getContextualTypeForArgumentAtIndex: (nodeIn, argIndex) => { - const node = getParseTreeNode(nodeIn, isCallLikeExpression); - return node && getContextualTypeForArgumentAtIndex(node, argIndex); - }, - getContextualTypeForJsxAttribute: (nodeIn) => { - const node = getParseTreeNode(nodeIn, isJsxAttributeLike); - return node && getContextualTypeForJsxAttribute( - node, - /*contextFlags*/ - void 0 - ); - }, - isContextSensitive, - getTypeOfPropertyOfContextualType, - getFullyQualifiedName, - getResolvedSignature: (node, candidatesOutArray, argumentCount) => getResolvedSignatureWorker(node, candidatesOutArray, argumentCount, 0 /* Normal */), - getCandidateSignaturesForStringLiteralCompletions, - getResolvedSignatureForSignatureHelp: (node, candidatesOutArray, argumentCount) => runWithoutResolvedSignatureCaching(node, () => getResolvedSignatureWorker(node, candidatesOutArray, argumentCount, 16 /* IsForSignatureHelp */)), - getExpandedParameters, - hasEffectiveRestParameter, - containsArgumentsReference, - getConstantValue: (nodeIn) => { - const node = getParseTreeNode(nodeIn, canHaveConstantValue); - return node ? getConstantValue2(node) : void 0; - }, - isValidPropertyAccess: (nodeIn, propertyName) => { - const node = getParseTreeNode(nodeIn, isPropertyAccessOrQualifiedNameOrImportTypeNode); - return !!node && isValidPropertyAccess(node, escapeLeadingUnderscores(propertyName)); - }, - isValidPropertyAccessForCompletions: (nodeIn, type, property) => { - const node = getParseTreeNode(nodeIn, isPropertyAccessExpression); - return !!node && isValidPropertyAccessForCompletions(node, type, property); - }, - getSignatureFromDeclaration: (declarationIn) => { - const declaration = getParseTreeNode(declarationIn, isFunctionLike); - return declaration ? getSignatureFromDeclaration(declaration) : void 0; - }, - isImplementationOfOverload: (nodeIn) => { - const node = getParseTreeNode(nodeIn, isFunctionLike); - return node ? isImplementationOfOverload(node) : void 0; - }, - getImmediateAliasedSymbol, - getAliasedSymbol: resolveAlias, - getEmitResolver, - requiresAddingImplicitUndefined, - getExportsOfModule: getExportsOfModuleAsArray, - getExportsAndPropertiesOfModule, - forEachExportAndPropertyOfModule, - getSymbolWalker: createGetSymbolWalker( - getRestTypeOfSignature, - getTypePredicateOfSignature, - getReturnTypeOfSignature, - getBaseTypes, - resolveStructuredTypeMembers, - getTypeOfSymbol, - getResolvedSymbol, - getConstraintOfTypeParameter, - getFirstIdentifier, - getTypeArguments - ), - getAmbientModules, - getJsxIntrinsicTagNamesAt, - isOptionalParameter: (nodeIn) => { - const node = getParseTreeNode(nodeIn, isParameter); - return node ? isOptionalParameter(node) : false; - }, - tryGetMemberInModuleExports: (name, symbol) => tryGetMemberInModuleExports(escapeLeadingUnderscores(name), symbol), - tryGetMemberInModuleExportsAndProperties: (name, symbol) => tryGetMemberInModuleExportsAndProperties(escapeLeadingUnderscores(name), symbol), - tryFindAmbientModule: (moduleName) => tryFindAmbientModule( - moduleName, - /*withAugmentations*/ - true - ), - getApparentType, - getUnionType, - isTypeAssignableTo, - createAnonymousType, - createSignature, - createSymbol, - createIndexInfo, - getAnyType: () => anyType, - getStringType: () => stringType, - getStringLiteralType, - getNumberType: () => numberType, - getNumberLiteralType, - getBigIntType: () => bigintType, - getBigIntLiteralType, - createPromiseType, - createArrayType, - getElementTypeOfArrayType, - getBooleanType: () => booleanType, - getFalseType: (fresh) => fresh ? falseType : regularFalseType, - getTrueType: (fresh) => fresh ? trueType : regularTrueType, - getVoidType: () => voidType, - getUndefinedType: () => undefinedType, - getNullType: () => nullType, - getESSymbolType: () => esSymbolType, - getNeverType: () => neverType, - getOptionalType: () => optionalType, - getPromiseType: () => getGlobalPromiseType( - /*reportErrors*/ - false - ), - getPromiseLikeType: () => getGlobalPromiseLikeType( - /*reportErrors*/ - false - ), - getAnyAsyncIterableType: () => { - const type = getGlobalAsyncIterableType( - /*reportErrors*/ - false - ); - if (type === emptyGenericType) return void 0; - return createTypeReference(type, [anyType, anyType, anyType]); - }, - isSymbolAccessible, - isArrayType, - isTupleType, - isArrayLikeType, - isEmptyAnonymousObjectType, - isTypeInvalidDueToUnionDiscriminant, - getExactOptionalProperties, - getAllPossiblePropertiesOfTypes, - getSuggestedSymbolForNonexistentProperty, - getSuggestedSymbolForNonexistentJSXAttribute, - getSuggestedSymbolForNonexistentSymbol: (location, name, meaning) => getSuggestedSymbolForNonexistentSymbol(location, escapeLeadingUnderscores(name), meaning), - getSuggestedSymbolForNonexistentModule, - getSuggestedSymbolForNonexistentClassMember, - getBaseConstraintOfType, - getDefaultFromTypeParameter: (type) => type && type.flags & 262144 /* TypeParameter */ ? getDefaultFromTypeParameter(type) : void 0, - resolveName(name, location, meaning, excludeGlobals) { - return resolveName( - location, - escapeLeadingUnderscores(name), - meaning, - /*nameNotFoundMessage*/ - void 0, - /*isUse*/ - false, - excludeGlobals - ); - }, - getJsxNamespace: (n) => unescapeLeadingUnderscores(getJsxNamespace(n)), - getJsxFragmentFactory: (n) => { - const jsxFragmentFactory = getJsxFragmentFactoryEntity(n); - return jsxFragmentFactory && unescapeLeadingUnderscores(getFirstIdentifier(jsxFragmentFactory).escapedText); - }, - getAccessibleSymbolChain, - getTypePredicateOfSignature, - resolveExternalModuleName: (moduleSpecifierIn) => { - const moduleSpecifier = getParseTreeNode(moduleSpecifierIn, isExpression); - return moduleSpecifier && resolveExternalModuleName( - moduleSpecifier, - moduleSpecifier, - /*ignoreErrors*/ - true - ); - }, - resolveExternalModuleSymbol, - tryGetThisTypeAt: (nodeIn, includeGlobalThis, container) => { - const node = getParseTreeNode(nodeIn); - return node && tryGetThisTypeAt(node, includeGlobalThis, container); - }, - getTypeArgumentConstraint: (nodeIn) => { - const node = getParseTreeNode(nodeIn, isTypeNode); - return node && getTypeArgumentConstraint(node); - }, - getSuggestionDiagnostics: (fileIn, ct) => { - const file = getParseTreeNode(fileIn, isSourceFile) || Debug.fail("Could not determine parsed source file."); - if (skipTypeChecking(file, compilerOptions, host)) { - return emptyArray; - } - let diagnostics2; - try { - cancellationToken = ct; - checkSourceFileWithEagerDiagnostics(file); - Debug.assert(!!(getNodeLinks(file).flags & 1 /* TypeChecked */)); - diagnostics2 = addRange(diagnostics2, suggestionDiagnostics.getDiagnostics(file.fileName)); - checkUnusedIdentifiers(getPotentiallyUnusedIdentifiers(file), (containingNode, kind, diag2) => { - if (!containsParseError(containingNode) && !unusedIsError(kind, !!(containingNode.flags & 33554432 /* Ambient */))) { - (diagnostics2 || (diagnostics2 = [])).push({ ...diag2, category: 2 /* Suggestion */ }); - } - }); - return diagnostics2 || emptyArray; - } finally { - cancellationToken = void 0; - } - }, - runWithCancellationToken: (token, callback) => { - try { - cancellationToken = token; - return callback(checker); - } finally { - cancellationToken = void 0; - } - }, - getLocalTypeParametersOfClassOrInterfaceOrTypeAlias, - isDeclarationVisible, - isPropertyAccessible, - getTypeOnlyAliasDeclaration, - getMemberOverrideModifierStatus, - isTypeParameterPossiblyReferenced, - typeHasCallOrConstructSignatures, - getSymbolFlags - }; - function getCandidateSignaturesForStringLiteralCompletions(call, editingArgument) { - const candidatesSet = /* @__PURE__ */ new Set(); - const candidates = []; - runWithInferenceBlockedFromSourceNode(editingArgument, () => getResolvedSignatureWorker( - call, - candidates, - /*argumentCount*/ - void 0, - 0 /* Normal */ - )); - for (const candidate of candidates) { - candidatesSet.add(candidate); - } - candidates.length = 0; - runWithoutResolvedSignatureCaching(editingArgument, () => getResolvedSignatureWorker( - call, - candidates, - /*argumentCount*/ - void 0, - 0 /* Normal */ - )); - for (const candidate of candidates) { - candidatesSet.add(candidate); - } - return arrayFrom(candidatesSet); - } - function runWithoutResolvedSignatureCaching(node, fn) { - node = findAncestor(node, isCallLikeOrFunctionLikeExpression); - if (node) { - const cachedResolvedSignatures = []; - const cachedTypes2 = []; - while (node) { - const nodeLinks2 = getNodeLinks(node); - cachedResolvedSignatures.push([nodeLinks2, nodeLinks2.resolvedSignature]); - nodeLinks2.resolvedSignature = void 0; - if (isFunctionExpressionOrArrowFunction(node)) { - const symbolLinks2 = getSymbolLinks(getSymbolOfDeclaration(node)); - const type = symbolLinks2.type; - cachedTypes2.push([symbolLinks2, type]); - symbolLinks2.type = void 0; - } - node = findAncestor(node.parent, isCallLikeOrFunctionLikeExpression); - } - const result = fn(); - for (const [nodeLinks2, resolvedSignature] of cachedResolvedSignatures) { - nodeLinks2.resolvedSignature = resolvedSignature; - } - for (const [symbolLinks2, type] of cachedTypes2) { - symbolLinks2.type = type; - } - return result; - } - return fn(); - } - function runWithInferenceBlockedFromSourceNode(node, fn) { - const containingCall = findAncestor(node, isCallLikeExpression); - if (containingCall) { - let toMarkSkip = node; - do { - getNodeLinks(toMarkSkip).skipDirectInference = true; - toMarkSkip = toMarkSkip.parent; - } while (toMarkSkip && toMarkSkip !== containingCall); - } - isInferencePartiallyBlocked = true; - const result = runWithoutResolvedSignatureCaching(node, fn); - isInferencePartiallyBlocked = false; - if (containingCall) { - let toMarkSkip = node; - do { - getNodeLinks(toMarkSkip).skipDirectInference = void 0; - toMarkSkip = toMarkSkip.parent; - } while (toMarkSkip && toMarkSkip !== containingCall); - } - return result; - } - function getResolvedSignatureWorker(nodeIn, candidatesOutArray, argumentCount, checkMode) { - const node = getParseTreeNode(nodeIn, isCallLikeExpression); - apparentArgumentCount = argumentCount; - const res = !node ? void 0 : getResolvedSignature(node, candidatesOutArray, checkMode); - apparentArgumentCount = void 0; - return res; - } - var tupleTypes = /* @__PURE__ */ new Map(); - var unionTypes = /* @__PURE__ */ new Map(); - var unionOfUnionTypes = /* @__PURE__ */ new Map(); - var intersectionTypes = /* @__PURE__ */ new Map(); - var stringLiteralTypes = /* @__PURE__ */ new Map(); - var numberLiteralTypes = /* @__PURE__ */ new Map(); - var bigIntLiteralTypes = /* @__PURE__ */ new Map(); - var enumLiteralTypes = /* @__PURE__ */ new Map(); - var indexedAccessTypes = /* @__PURE__ */ new Map(); - var templateLiteralTypes = /* @__PURE__ */ new Map(); - var stringMappingTypes = /* @__PURE__ */ new Map(); - var substitutionTypes = /* @__PURE__ */ new Map(); - var subtypeReductionCache = /* @__PURE__ */ new Map(); - var decoratorContextOverrideTypeCache = /* @__PURE__ */ new Map(); - var cachedTypes = /* @__PURE__ */ new Map(); - var evolvingArrayTypes = []; - var undefinedProperties = /* @__PURE__ */ new Map(); - var markerTypes = /* @__PURE__ */ new Set(); - var unknownSymbol = createSymbol(4 /* Property */, "unknown"); - var resolvingSymbol = createSymbol(0, "__resolving__" /* Resolving */); - var unresolvedSymbols = /* @__PURE__ */ new Map(); - var errorTypes = /* @__PURE__ */ new Map(); - var seenIntrinsicNames = /* @__PURE__ */ new Set(); - var anyType = createIntrinsicType(1 /* Any */, "any"); - var autoType = createIntrinsicType(1 /* Any */, "any", 262144 /* NonInferrableType */, "auto"); - var wildcardType = createIntrinsicType( - 1 /* Any */, - "any", - /*objectFlags*/ - void 0, - "wildcard" - ); - var blockedStringType = createIntrinsicType( - 1 /* Any */, - "any", - /*objectFlags*/ - void 0, - "blocked string" - ); - var errorType = createIntrinsicType(1 /* Any */, "error"); - var unresolvedType = createIntrinsicType(1 /* Any */, "unresolved"); - var nonInferrableAnyType = createIntrinsicType(1 /* Any */, "any", 65536 /* ContainsWideningType */, "non-inferrable"); - var intrinsicMarkerType = createIntrinsicType(1 /* Any */, "intrinsic"); - var unknownType = createIntrinsicType(2 /* Unknown */, "unknown"); - var undefinedType = createIntrinsicType(32768 /* Undefined */, "undefined"); - var undefinedWideningType = strictNullChecks ? undefinedType : createIntrinsicType(32768 /* Undefined */, "undefined", 65536 /* ContainsWideningType */, "widening"); - var missingType = createIntrinsicType( - 32768 /* Undefined */, - "undefined", - /*objectFlags*/ - void 0, - "missing" - ); - var undefinedOrMissingType = exactOptionalPropertyTypes ? missingType : undefinedType; - var optionalType = createIntrinsicType( - 32768 /* Undefined */, - "undefined", - /*objectFlags*/ - void 0, - "optional" - ); - var nullType = createIntrinsicType(65536 /* Null */, "null"); - var nullWideningType = strictNullChecks ? nullType : createIntrinsicType(65536 /* Null */, "null", 65536 /* ContainsWideningType */, "widening"); - var stringType = createIntrinsicType(4 /* String */, "string"); - var numberType = createIntrinsicType(8 /* Number */, "number"); - var bigintType = createIntrinsicType(64 /* BigInt */, "bigint"); - var falseType = createIntrinsicType( - 512 /* BooleanLiteral */, - "false", - /*objectFlags*/ - void 0, - "fresh" - ); - var regularFalseType = createIntrinsicType(512 /* BooleanLiteral */, "false"); - var trueType = createIntrinsicType( - 512 /* BooleanLiteral */, - "true", - /*objectFlags*/ - void 0, - "fresh" - ); - var regularTrueType = createIntrinsicType(512 /* BooleanLiteral */, "true"); - trueType.regularType = regularTrueType; - trueType.freshType = trueType; - regularTrueType.regularType = regularTrueType; - regularTrueType.freshType = trueType; - falseType.regularType = regularFalseType; - falseType.freshType = falseType; - regularFalseType.regularType = regularFalseType; - regularFalseType.freshType = falseType; - var booleanType = getUnionType([regularFalseType, regularTrueType]); - var esSymbolType = createIntrinsicType(4096 /* ESSymbol */, "symbol"); - var voidType = createIntrinsicType(16384 /* Void */, "void"); - var neverType = createIntrinsicType(131072 /* Never */, "never"); - var silentNeverType = createIntrinsicType(131072 /* Never */, "never", 262144 /* NonInferrableType */, "silent"); - var implicitNeverType = createIntrinsicType( - 131072 /* Never */, - "never", - /*objectFlags*/ - void 0, - "implicit" - ); - var unreachableNeverType = createIntrinsicType( - 131072 /* Never */, - "never", - /*objectFlags*/ - void 0, - "unreachable" - ); - var nonPrimitiveType = createIntrinsicType(67108864 /* NonPrimitive */, "object"); - var stringOrNumberType = getUnionType([stringType, numberType]); - var stringNumberSymbolType = getUnionType([stringType, numberType, esSymbolType]); - var numberOrBigIntType = getUnionType([numberType, bigintType]); - var templateConstraintType = getUnionType([stringType, numberType, booleanType, bigintType, nullType, undefinedType]); - var numericStringType = getTemplateLiteralType(["", ""], [numberType]); - var restrictiveMapper = makeFunctionTypeMapper((t) => t.flags & 262144 /* TypeParameter */ ? getRestrictiveTypeParameter(t) : t, () => "(restrictive mapper)"); - var permissiveMapper = makeFunctionTypeMapper((t) => t.flags & 262144 /* TypeParameter */ ? wildcardType : t, () => "(permissive mapper)"); - var uniqueLiteralType = createIntrinsicType( - 131072 /* Never */, - "never", - /*objectFlags*/ - void 0, - "unique literal" - ); - var uniqueLiteralMapper = makeFunctionTypeMapper((t) => t.flags & 262144 /* TypeParameter */ ? uniqueLiteralType : t, () => "(unique literal mapper)"); - var outofbandVarianceMarkerHandler; - var reportUnreliableMapper = makeFunctionTypeMapper((t) => { - if (outofbandVarianceMarkerHandler && (t === markerSuperType || t === markerSubType || t === markerOtherType)) { - outofbandVarianceMarkerHandler( - /*onlyUnreliable*/ - true - ); - } - return t; - }, () => "(unmeasurable reporter)"); - var reportUnmeasurableMapper = makeFunctionTypeMapper((t) => { - if (outofbandVarianceMarkerHandler && (t === markerSuperType || t === markerSubType || t === markerOtherType)) { - outofbandVarianceMarkerHandler( - /*onlyUnreliable*/ - false - ); - } - return t; - }, () => "(unreliable reporter)"); - var emptyObjectType = createAnonymousType( - /*symbol*/ - void 0, - emptySymbols, - emptyArray, - emptyArray, - emptyArray - ); - var emptyJsxObjectType = createAnonymousType( - /*symbol*/ - void 0, - emptySymbols, - emptyArray, - emptyArray, - emptyArray - ); - emptyJsxObjectType.objectFlags |= 2048 /* JsxAttributes */; - var emptyTypeLiteralSymbol = createSymbol(2048 /* TypeLiteral */, "__type" /* Type */); - emptyTypeLiteralSymbol.members = createSymbolTable(); - var emptyTypeLiteralType = createAnonymousType(emptyTypeLiteralSymbol, emptySymbols, emptyArray, emptyArray, emptyArray); - var unknownEmptyObjectType = createAnonymousType( - /*symbol*/ - void 0, - emptySymbols, - emptyArray, - emptyArray, - emptyArray - ); - var unknownUnionType = strictNullChecks ? getUnionType([undefinedType, nullType, unknownEmptyObjectType]) : unknownType; - var emptyGenericType = createAnonymousType( - /*symbol*/ - void 0, - emptySymbols, - emptyArray, - emptyArray, - emptyArray - ); - emptyGenericType.instantiations = /* @__PURE__ */ new Map(); - var anyFunctionType = createAnonymousType( - /*symbol*/ - void 0, - emptySymbols, - emptyArray, - emptyArray, - emptyArray - ); - anyFunctionType.objectFlags |= 262144 /* NonInferrableType */; - var noConstraintType = createAnonymousType( - /*symbol*/ - void 0, - emptySymbols, - emptyArray, - emptyArray, - emptyArray - ); - var circularConstraintType = createAnonymousType( - /*symbol*/ - void 0, - emptySymbols, - emptyArray, - emptyArray, - emptyArray - ); - var resolvingDefaultType = createAnonymousType( - /*symbol*/ - void 0, - emptySymbols, - emptyArray, - emptyArray, - emptyArray - ); - var markerSuperType = createTypeParameter(); - var markerSubType = createTypeParameter(); - markerSubType.constraint = markerSuperType; - var markerOtherType = createTypeParameter(); - var markerSuperTypeForCheck = createTypeParameter(); - var markerSubTypeForCheck = createTypeParameter(); - markerSubTypeForCheck.constraint = markerSuperTypeForCheck; - var noTypePredicate = createTypePredicate(1 /* Identifier */, "<>", 0, anyType); - var anySignature = createSignature( - /*declaration*/ - void 0, - /*typeParameters*/ - void 0, - /*thisParameter*/ - void 0, - emptyArray, - anyType, - /*resolvedTypePredicate*/ - void 0, - 0, - 0 /* None */ - ); - var unknownSignature = createSignature( - /*declaration*/ - void 0, - /*typeParameters*/ - void 0, - /*thisParameter*/ - void 0, - emptyArray, - errorType, - /*resolvedTypePredicate*/ - void 0, - 0, - 0 /* None */ - ); - var resolvingSignature = createSignature( - /*declaration*/ - void 0, - /*typeParameters*/ - void 0, - /*thisParameter*/ - void 0, - emptyArray, - anyType, - /*resolvedTypePredicate*/ - void 0, - 0, - 0 /* None */ - ); - var silentNeverSignature = createSignature( - /*declaration*/ - void 0, - /*typeParameters*/ - void 0, - /*thisParameter*/ - void 0, - emptyArray, - silentNeverType, - /*resolvedTypePredicate*/ - void 0, - 0, - 0 /* None */ - ); - var enumNumberIndexInfo = createIndexInfo( - numberType, - stringType, - /*isReadonly*/ - true - ); - var iterationTypesCache = /* @__PURE__ */ new Map(); - var noIterationTypes = { - get yieldType() { - return Debug.fail("Not supported"); - }, - get returnType() { - return Debug.fail("Not supported"); - }, - get nextType() { - return Debug.fail("Not supported"); - } - }; - var anyIterationTypes = createIterationTypes(anyType, anyType, anyType); - var asyncIterationTypesResolver = { - iterableCacheKey: "iterationTypesOfAsyncIterable", - iteratorCacheKey: "iterationTypesOfAsyncIterator", - iteratorSymbolName: "asyncIterator", - getGlobalIteratorType: getGlobalAsyncIteratorType, - getGlobalIterableType: getGlobalAsyncIterableType, - getGlobalIterableIteratorType: getGlobalAsyncIterableIteratorType, - getGlobalIteratorObjectType: getGlobalAsyncIteratorObjectType, - getGlobalGeneratorType: getGlobalAsyncGeneratorType, - getGlobalBuiltinIteratorTypes: getGlobalBuiltinAsyncIteratorTypes, - resolveIterationType: (type, errorNode) => getAwaitedType(type, errorNode, Diagnostics.Type_of_await_operand_must_either_be_a_valid_promise_or_must_not_contain_a_callable_then_member), - mustHaveANextMethodDiagnostic: Diagnostics.An_async_iterator_must_have_a_next_method, - mustBeAMethodDiagnostic: Diagnostics.The_0_property_of_an_async_iterator_must_be_a_method, - mustHaveAValueDiagnostic: Diagnostics.The_type_returned_by_the_0_method_of_an_async_iterator_must_be_a_promise_for_a_type_with_a_value_property - }; - var syncIterationTypesResolver = { - iterableCacheKey: "iterationTypesOfIterable", - iteratorCacheKey: "iterationTypesOfIterator", - iteratorSymbolName: "iterator", - getGlobalIteratorType, - getGlobalIterableType, - getGlobalIterableIteratorType, - getGlobalIteratorObjectType, - getGlobalGeneratorType, - getGlobalBuiltinIteratorTypes, - resolveIterationType: (type, _errorNode) => type, - mustHaveANextMethodDiagnostic: Diagnostics.An_iterator_must_have_a_next_method, - mustBeAMethodDiagnostic: Diagnostics.The_0_property_of_an_iterator_must_be_a_method, - mustHaveAValueDiagnostic: Diagnostics.The_type_returned_by_the_0_method_of_an_iterator_must_have_a_value_property - }; - var amalgamatedDuplicates; - var reverseMappedCache = /* @__PURE__ */ new Map(); - var reverseHomomorphicMappedCache = /* @__PURE__ */ new Map(); - var ambientModulesCache; - var patternAmbientModules; - var patternAmbientModuleAugmentations; - var globalObjectType; - var globalFunctionType; - var globalCallableFunctionType; - var globalNewableFunctionType; - var globalArrayType; - var globalReadonlyArrayType; - var globalStringType; - var globalNumberType; - var globalBooleanType; - var globalRegExpType; - var globalThisType; - var anyArrayType; - var autoArrayType; - var anyReadonlyArrayType; - var deferredGlobalNonNullableTypeAlias; - var deferredGlobalESSymbolConstructorSymbol; - var deferredGlobalESSymbolConstructorTypeSymbol; - var deferredGlobalESSymbolType; - var deferredGlobalTypedPropertyDescriptorType; - var deferredGlobalPromiseType; - var deferredGlobalPromiseLikeType; - var deferredGlobalPromiseConstructorSymbol; - var deferredGlobalPromiseConstructorLikeType; - var deferredGlobalIterableType; - var deferredGlobalIteratorType; - var deferredGlobalIterableIteratorType; - var deferredGlobalIteratorObjectType; - var deferredGlobalGeneratorType; - var deferredGlobalIteratorYieldResultType; - var deferredGlobalIteratorReturnResultType; - var deferredGlobalAsyncIterableType; - var deferredGlobalAsyncIteratorType; - var deferredGlobalAsyncIterableIteratorType; - var deferredGlobalBuiltinIteratorTypes; - var deferredGlobalBuiltinAsyncIteratorTypes; - var deferredGlobalAsyncIteratorObjectType; - var deferredGlobalAsyncGeneratorType; - var deferredGlobalTemplateStringsArrayType; - var deferredGlobalImportMetaType; - var deferredGlobalImportMetaExpressionType; - var deferredGlobalImportCallOptionsType; - var deferredGlobalImportAttributesType; - var deferredGlobalDisposableType; - var deferredGlobalAsyncDisposableType; - var deferredGlobalExtractSymbol; - var deferredGlobalOmitSymbol; - var deferredGlobalAwaitedSymbol; - var deferredGlobalBigIntType; - var deferredGlobalNaNSymbol; - var deferredGlobalRecordSymbol; - var deferredGlobalClassDecoratorContextType; - var deferredGlobalClassMethodDecoratorContextType; - var deferredGlobalClassGetterDecoratorContextType; - var deferredGlobalClassSetterDecoratorContextType; - var deferredGlobalClassAccessorDecoratorContextType; - var deferredGlobalClassAccessorDecoratorTargetType; - var deferredGlobalClassAccessorDecoratorResultType; - var deferredGlobalClassFieldDecoratorContextType; - var allPotentiallyUnusedIdentifiers = /* @__PURE__ */ new Map(); - var flowLoopStart = 0; - var flowLoopCount = 0; - var sharedFlowCount = 0; - var flowAnalysisDisabled = false; - var flowInvocationCount = 0; - var lastFlowNode; - var lastFlowNodeReachable; - var flowTypeCache; - var contextualTypeNodes = []; - var contextualTypes = []; - var contextualIsCache = []; - var contextualTypeCount = 0; - var contextualBindingPatterns = []; - var inferenceContextNodes = []; - var inferenceContexts = []; - var inferenceContextCount = 0; - var emptyStringType = getStringLiteralType(""); - var zeroType = getNumberLiteralType(0); - var zeroBigIntType = getBigIntLiteralType({ negative: false, base10Value: "0" }); - var resolutionTargets = []; - var resolutionResults = []; - var resolutionPropertyNames = []; - var resolutionStart = 0; - var inVarianceComputation = false; - var suggestionCount = 0; - var maximumSuggestionCount = 10; - var mergedSymbols = []; - var symbolLinks = []; - var nodeLinks = []; - var flowLoopCaches = []; - var flowLoopNodes = []; - var flowLoopKeys = []; - var flowLoopTypes = []; - var sharedFlowNodes = []; - var sharedFlowTypes = []; - var flowNodeReachable = []; - var flowNodePostSuper = []; - var potentialThisCollisions = []; - var potentialNewTargetCollisions = []; - var potentialWeakMapSetCollisions = []; - var potentialReflectCollisions = []; - var potentialUnusedRenamedBindingElementsInTypes = []; - var awaitedTypeStack = []; - var reverseMappedSourceStack = []; - var reverseMappedTargetStack = []; - var reverseExpandingFlags = 0 /* None */; - var diagnostics = createDiagnosticCollection(); - var suggestionDiagnostics = createDiagnosticCollection(); - var typeofType = createTypeofType(); - var _jsxNamespace; - var _jsxFactoryEntity; - var subtypeRelation = /* @__PURE__ */ new Map(); - var strictSubtypeRelation = /* @__PURE__ */ new Map(); - var assignableRelation = /* @__PURE__ */ new Map(); - var comparableRelation = /* @__PURE__ */ new Map(); - var identityRelation = /* @__PURE__ */ new Map(); - var enumRelation = /* @__PURE__ */ new Map(); - var suggestedExtensions = [ - [".mts", ".mjs"], - [".ts", ".js"], - [".cts", ".cjs"], - [".mjs", ".mjs"], - [".js", ".js"], - [".cjs", ".cjs"], - [".tsx", compilerOptions.jsx === 1 /* Preserve */ ? ".jsx" : ".js"], - [".jsx", ".jsx"], - [".json", ".json"] - ]; - initializeTypeChecker(); - return checker; - function isDefinitelyReferenceToGlobalSymbolObject(node) { - if (!isPropertyAccessExpression(node)) return false; - if (!isIdentifier(node.name)) return false; - if (!isPropertyAccessExpression(node.expression) && !isIdentifier(node.expression)) return false; - if (isIdentifier(node.expression)) { - return idText(node.expression) === "Symbol" && getResolvedSymbol(node.expression) === (getGlobalSymbol( - "Symbol", - 111551 /* Value */ | 1048576 /* ExportValue */, - /*diagnostic*/ - void 0 - ) || unknownSymbol); - } - if (!isIdentifier(node.expression.expression)) return false; - return idText(node.expression.name) === "Symbol" && idText(node.expression.expression) === "globalThis" && getResolvedSymbol(node.expression.expression) === globalThisSymbol; - } - function getCachedType(key) { - return key ? cachedTypes.get(key) : void 0; - } - function setCachedType(key, type) { - if (key) cachedTypes.set(key, type); - return type; - } - function getJsxNamespace(location) { - if (location) { - const file = getSourceFileOfNode(location); - if (file) { - if (isJsxOpeningFragment(location)) { - if (file.localJsxFragmentNamespace) { - return file.localJsxFragmentNamespace; - } - const jsxFragmentPragma = file.pragmas.get("jsxfrag"); - if (jsxFragmentPragma) { - const chosenPragma = isArray(jsxFragmentPragma) ? jsxFragmentPragma[0] : jsxFragmentPragma; - file.localJsxFragmentFactory = parseIsolatedEntityName(chosenPragma.arguments.factory, languageVersion); - visitNode(file.localJsxFragmentFactory, markAsSynthetic, isEntityName); - if (file.localJsxFragmentFactory) { - return file.localJsxFragmentNamespace = getFirstIdentifier(file.localJsxFragmentFactory).escapedText; - } - } - const entity = getJsxFragmentFactoryEntity(location); - if (entity) { - file.localJsxFragmentFactory = entity; - return file.localJsxFragmentNamespace = getFirstIdentifier(entity).escapedText; - } - } else { - const localJsxNamespace = getLocalJsxNamespace(file); - if (localJsxNamespace) { - return file.localJsxNamespace = localJsxNamespace; - } - } - } - } - if (!_jsxNamespace) { - _jsxNamespace = "React"; - if (compilerOptions.jsxFactory) { - _jsxFactoryEntity = parseIsolatedEntityName(compilerOptions.jsxFactory, languageVersion); - visitNode(_jsxFactoryEntity, markAsSynthetic); - if (_jsxFactoryEntity) { - _jsxNamespace = getFirstIdentifier(_jsxFactoryEntity).escapedText; - } - } else if (compilerOptions.reactNamespace) { - _jsxNamespace = escapeLeadingUnderscores(compilerOptions.reactNamespace); - } - } - if (!_jsxFactoryEntity) { - _jsxFactoryEntity = factory.createQualifiedName(factory.createIdentifier(unescapeLeadingUnderscores(_jsxNamespace)), "createElement"); - } - return _jsxNamespace; - } - function getLocalJsxNamespace(file) { - if (file.localJsxNamespace) { - return file.localJsxNamespace; - } - const jsxPragma = file.pragmas.get("jsx"); - if (jsxPragma) { - const chosenPragma = isArray(jsxPragma) ? jsxPragma[0] : jsxPragma; - file.localJsxFactory = parseIsolatedEntityName(chosenPragma.arguments.factory, languageVersion); - visitNode(file.localJsxFactory, markAsSynthetic, isEntityName); - if (file.localJsxFactory) { - return file.localJsxNamespace = getFirstIdentifier(file.localJsxFactory).escapedText; - } - } - } - function markAsSynthetic(node) { - setTextRangePosEnd(node, -1, -1); - return visitEachChild( - node, - markAsSynthetic, - /*context*/ - void 0 - ); - } - function getEmitResolver(sourceFile, cancellationToken2, skipDiagnostics) { - if (!skipDiagnostics) getDiagnostics(sourceFile, cancellationToken2); - return emitResolver; - } - function lookupOrIssueError(location, message, ...args) { - const diagnostic = location ? createDiagnosticForNode(location, message, ...args) : createCompilerDiagnostic(message, ...args); - const existing = diagnostics.lookup(diagnostic); - if (existing) { - return existing; - } else { - diagnostics.add(diagnostic); - return diagnostic; - } - } - function errorSkippedOn(key, location, message, ...args) { - const diagnostic = error(location, message, ...args); - diagnostic.skippedOn = key; - return diagnostic; - } - function createError(location, message, ...args) { - return location ? createDiagnosticForNode(location, message, ...args) : createCompilerDiagnostic(message, ...args); - } - function error(location, message, ...args) { - const diagnostic = createError(location, message, ...args); - diagnostics.add(diagnostic); - return diagnostic; - } - function addErrorOrSuggestion(isError, diagnostic) { - if (isError) { - diagnostics.add(diagnostic); - } else { - suggestionDiagnostics.add({ ...diagnostic, category: 2 /* Suggestion */ }); - } - } - function errorOrSuggestion(isError, location, message, ...args) { - if (location.pos < 0 || location.end < 0) { - if (!isError) { - return; - } - const file = getSourceFileOfNode(location); - addErrorOrSuggestion(isError, "message" in message ? createFileDiagnostic(file, 0, 0, message, ...args) : createDiagnosticForFileFromMessageChain(file, message)); - return; - } - addErrorOrSuggestion(isError, "message" in message ? createDiagnosticForNode(location, message, ...args) : createDiagnosticForNodeFromMessageChain(getSourceFileOfNode(location), location, message)); - } - function errorAndMaybeSuggestAwait(location, maybeMissingAwait, message, ...args) { - const diagnostic = error(location, message, ...args); - if (maybeMissingAwait) { - const related = createDiagnosticForNode(location, Diagnostics.Did_you_forget_to_use_await); - addRelatedInfo(diagnostic, related); - } - return diagnostic; - } - function addDeprecatedSuggestionWorker(declarations, diagnostic) { - const deprecatedTag = Array.isArray(declarations) ? forEach(declarations, getJSDocDeprecatedTag) : getJSDocDeprecatedTag(declarations); - if (deprecatedTag) { - addRelatedInfo( - diagnostic, - createDiagnosticForNode(deprecatedTag, Diagnostics.The_declaration_was_marked_as_deprecated_here) - ); - } - suggestionDiagnostics.add(diagnostic); - return diagnostic; - } - function isDeprecatedSymbol(symbol) { - const parentSymbol = getParentOfSymbol(symbol); - if (parentSymbol && length(symbol.declarations) > 1) { - return parentSymbol.flags & 64 /* Interface */ ? some(symbol.declarations, isDeprecatedDeclaration) : every(symbol.declarations, isDeprecatedDeclaration); - } - return !!symbol.valueDeclaration && isDeprecatedDeclaration(symbol.valueDeclaration) || length(symbol.declarations) && every(symbol.declarations, isDeprecatedDeclaration); - } - function isDeprecatedDeclaration(declaration) { - return !!(getCombinedNodeFlagsCached(declaration) & 536870912 /* Deprecated */); - } - function addDeprecatedSuggestion(location, declarations, deprecatedEntity) { - const diagnostic = createDiagnosticForNode(location, Diagnostics._0_is_deprecated, deprecatedEntity); - return addDeprecatedSuggestionWorker(declarations, diagnostic); - } - function addDeprecatedSuggestionWithSignature(location, declaration, deprecatedEntity, signatureString) { - const diagnostic = deprecatedEntity ? createDiagnosticForNode(location, Diagnostics.The_signature_0_of_1_is_deprecated, signatureString, deprecatedEntity) : createDiagnosticForNode(location, Diagnostics._0_is_deprecated, signatureString); - return addDeprecatedSuggestionWorker(declaration, diagnostic); - } - function createSymbol(flags, name, checkFlags) { - symbolCount++; - const symbol = new Symbol12(flags | 33554432 /* Transient */, name); - symbol.links = new SymbolLinks(); - symbol.links.checkFlags = checkFlags || 0 /* None */; - return symbol; - } - function createParameter(name, type) { - const symbol = createSymbol(1 /* FunctionScopedVariable */, name); - symbol.links.type = type; - return symbol; - } - function createProperty(name, type) { - const symbol = createSymbol(4 /* Property */, name); - symbol.links.type = type; - return symbol; - } - function getExcludedSymbolFlags(flags) { - let result = 0; - if (flags & 2 /* BlockScopedVariable */) result |= 111551 /* BlockScopedVariableExcludes */; - if (flags & 1 /* FunctionScopedVariable */) result |= 111550 /* FunctionScopedVariableExcludes */; - if (flags & 4 /* Property */) result |= 0 /* PropertyExcludes */; - if (flags & 8 /* EnumMember */) result |= 900095 /* EnumMemberExcludes */; - if (flags & 16 /* Function */) result |= 110991 /* FunctionExcludes */; - if (flags & 32 /* Class */) result |= 899503 /* ClassExcludes */; - if (flags & 64 /* Interface */) result |= 788872 /* InterfaceExcludes */; - if (flags & 256 /* RegularEnum */) result |= 899327 /* RegularEnumExcludes */; - if (flags & 128 /* ConstEnum */) result |= 899967 /* ConstEnumExcludes */; - if (flags & 512 /* ValueModule */) result |= 110735 /* ValueModuleExcludes */; - if (flags & 8192 /* Method */) result |= 103359 /* MethodExcludes */; - if (flags & 32768 /* GetAccessor */) result |= 46015 /* GetAccessorExcludes */; - if (flags & 65536 /* SetAccessor */) result |= 78783 /* SetAccessorExcludes */; - if (flags & 262144 /* TypeParameter */) result |= 526824 /* TypeParameterExcludes */; - if (flags & 524288 /* TypeAlias */) result |= 788968 /* TypeAliasExcludes */; - if (flags & 2097152 /* Alias */) result |= 2097152 /* AliasExcludes */; - return result; - } - function recordMergedSymbol(target, source) { - if (!source.mergeId) { - source.mergeId = nextMergeId; - nextMergeId++; - } - mergedSymbols[source.mergeId] = target; - } - function cloneSymbol(symbol) { - const result = createSymbol(symbol.flags, symbol.escapedName); - result.declarations = symbol.declarations ? symbol.declarations.slice() : []; - result.parent = symbol.parent; - if (symbol.valueDeclaration) result.valueDeclaration = symbol.valueDeclaration; - if (symbol.constEnumOnlyModule) result.constEnumOnlyModule = true; - if (symbol.members) result.members = new Map(symbol.members); - if (symbol.exports) result.exports = new Map(symbol.exports); - recordMergedSymbol(result, symbol); - return result; - } - function mergeSymbol(target, source, unidirectional = false) { - if (!(target.flags & getExcludedSymbolFlags(source.flags)) || (source.flags | target.flags) & 67108864 /* Assignment */) { - if (source === target) { - return target; - } - if (!(target.flags & 33554432 /* Transient */)) { - const resolvedTarget = resolveSymbol(target); - if (resolvedTarget === unknownSymbol) { - return source; - } - if (!(resolvedTarget.flags & getExcludedSymbolFlags(source.flags)) || (source.flags | resolvedTarget.flags) & 67108864 /* Assignment */) { - target = cloneSymbol(resolvedTarget); - } else { - reportMergeSymbolError(target, source); - return source; - } - } - if (source.flags & 512 /* ValueModule */ && target.flags & 512 /* ValueModule */ && target.constEnumOnlyModule && !source.constEnumOnlyModule) { - target.constEnumOnlyModule = false; - } - target.flags |= source.flags; - if (source.valueDeclaration) { - setValueDeclaration(target, source.valueDeclaration); - } - addRange(target.declarations, source.declarations); - if (source.members) { - if (!target.members) target.members = createSymbolTable(); - mergeSymbolTable(target.members, source.members, unidirectional); - } - if (source.exports) { - if (!target.exports) target.exports = createSymbolTable(); - mergeSymbolTable(target.exports, source.exports, unidirectional, target); - } - if (!unidirectional) { - recordMergedSymbol(target, source); - } - } else if (target.flags & 1024 /* NamespaceModule */) { - if (target !== globalThisSymbol) { - error( - source.declarations && getNameOfDeclaration(source.declarations[0]), - Diagnostics.Cannot_augment_module_0_with_value_exports_because_it_resolves_to_a_non_module_entity, - symbolToString(target) - ); - } - } else { - reportMergeSymbolError(target, source); - } - return target; - function reportMergeSymbolError(target2, source2) { - const isEitherEnum = !!(target2.flags & 384 /* Enum */ || source2.flags & 384 /* Enum */); - const isEitherBlockScoped = !!(target2.flags & 2 /* BlockScopedVariable */ || source2.flags & 2 /* BlockScopedVariable */); - const message = isEitherEnum ? Diagnostics.Enum_declarations_can_only_merge_with_namespace_or_other_enum_declarations : isEitherBlockScoped ? Diagnostics.Cannot_redeclare_block_scoped_variable_0 : Diagnostics.Duplicate_identifier_0; - const sourceSymbolFile = source2.declarations && getSourceFileOfNode(source2.declarations[0]); - const targetSymbolFile = target2.declarations && getSourceFileOfNode(target2.declarations[0]); - const isSourcePlainJs = isPlainJsFile(sourceSymbolFile, compilerOptions.checkJs); - const isTargetPlainJs = isPlainJsFile(targetSymbolFile, compilerOptions.checkJs); - const symbolName2 = symbolToString(source2); - if (sourceSymbolFile && targetSymbolFile && amalgamatedDuplicates && !isEitherEnum && sourceSymbolFile !== targetSymbolFile) { - const firstFile = comparePaths(sourceSymbolFile.path, targetSymbolFile.path) === -1 /* LessThan */ ? sourceSymbolFile : targetSymbolFile; - const secondFile = firstFile === sourceSymbolFile ? targetSymbolFile : sourceSymbolFile; - const filesDuplicates = getOrUpdate(amalgamatedDuplicates, `${firstFile.path}|${secondFile.path}`, () => ({ firstFile, secondFile, conflictingSymbols: /* @__PURE__ */ new Map() })); - const conflictingSymbolInfo = getOrUpdate(filesDuplicates.conflictingSymbols, symbolName2, () => ({ isBlockScoped: isEitherBlockScoped, firstFileLocations: [], secondFileLocations: [] })); - if (!isSourcePlainJs) addDuplicateLocations(conflictingSymbolInfo.firstFileLocations, source2); - if (!isTargetPlainJs) addDuplicateLocations(conflictingSymbolInfo.secondFileLocations, target2); - } else { - if (!isSourcePlainJs) addDuplicateDeclarationErrorsForSymbols(source2, message, symbolName2, target2); - if (!isTargetPlainJs) addDuplicateDeclarationErrorsForSymbols(target2, message, symbolName2, source2); - } - } - function addDuplicateLocations(locs, symbol) { - if (symbol.declarations) { - for (const decl of symbol.declarations) { - pushIfUnique(locs, decl); - } - } - } - } - function addDuplicateDeclarationErrorsForSymbols(target, message, symbolName2, source) { - forEach(target.declarations, (node) => { - addDuplicateDeclarationError(node, message, symbolName2, source.declarations); - }); - } - function addDuplicateDeclarationError(node, message, symbolName2, relatedNodes) { - const errorNode = (getExpandoInitializer( - node, - /*isPrototypeAssignment*/ - false - ) ? getNameOfExpando(node) : getNameOfDeclaration(node)) || node; - const err = lookupOrIssueError(errorNode, message, symbolName2); - for (const relatedNode of relatedNodes || emptyArray) { - const adjustedNode = (getExpandoInitializer( - relatedNode, - /*isPrototypeAssignment*/ - false - ) ? getNameOfExpando(relatedNode) : getNameOfDeclaration(relatedNode)) || relatedNode; - if (adjustedNode === errorNode) continue; - err.relatedInformation = err.relatedInformation || []; - const leadingMessage = createDiagnosticForNode(adjustedNode, Diagnostics._0_was_also_declared_here, symbolName2); - const followOnMessage = createDiagnosticForNode(adjustedNode, Diagnostics.and_here); - if (length(err.relatedInformation) >= 5 || some(err.relatedInformation, (r) => compareDiagnostics(r, followOnMessage) === 0 /* EqualTo */ || compareDiagnostics(r, leadingMessage) === 0 /* EqualTo */)) continue; - addRelatedInfo(err, !length(err.relatedInformation) ? leadingMessage : followOnMessage); - } - } - function combineSymbolTables(first2, second) { - if (!(first2 == null ? void 0 : first2.size)) return second; - if (!(second == null ? void 0 : second.size)) return first2; - const combined = createSymbolTable(); - mergeSymbolTable(combined, first2); - mergeSymbolTable(combined, second); - return combined; - } - function mergeSymbolTable(target, source, unidirectional = false, mergedParent) { - source.forEach((sourceSymbol, id) => { - const targetSymbol = target.get(id); - const merged = targetSymbol ? mergeSymbol(targetSymbol, sourceSymbol, unidirectional) : getMergedSymbol(sourceSymbol); - if (mergedParent && targetSymbol) { - merged.parent = mergedParent; - } - target.set(id, merged); - }); - } - function mergeModuleAugmentation(moduleName) { - var _a, _b, _c; - const moduleAugmentation = moduleName.parent; - if (((_a = moduleAugmentation.symbol.declarations) == null ? void 0 : _a[0]) !== moduleAugmentation) { - Debug.assert(moduleAugmentation.symbol.declarations.length > 1); - return; - } - if (isGlobalScopeAugmentation(moduleAugmentation)) { - mergeSymbolTable(globals, moduleAugmentation.symbol.exports); - } else { - const moduleNotFoundError = !(moduleName.parent.parent.flags & 33554432 /* Ambient */) ? Diagnostics.Invalid_module_name_in_augmentation_module_0_cannot_be_found : void 0; - let mainModule = resolveExternalModuleNameWorker( - moduleName, - moduleName, - moduleNotFoundError, - /*ignoreErrors*/ - false, - /*isForAugmentation*/ - true - ); - if (!mainModule) { - return; - } - mainModule = resolveExternalModuleSymbol(mainModule); - if (mainModule.flags & 1920 /* Namespace */) { - if (some(patternAmbientModules, (module2) => mainModule === module2.symbol)) { - const merged = mergeSymbol( - moduleAugmentation.symbol, - mainModule, - /*unidirectional*/ - true - ); - if (!patternAmbientModuleAugmentations) { - patternAmbientModuleAugmentations = /* @__PURE__ */ new Map(); - } - patternAmbientModuleAugmentations.set(moduleName.text, merged); - } else { - if (((_b = mainModule.exports) == null ? void 0 : _b.get("__export" /* ExportStar */)) && ((_c = moduleAugmentation.symbol.exports) == null ? void 0 : _c.size)) { - const resolvedExports = getResolvedMembersOrExportsOfSymbol(mainModule, "resolvedExports" /* resolvedExports */); - for (const [key, value] of arrayFrom(moduleAugmentation.symbol.exports.entries())) { - if (resolvedExports.has(key) && !mainModule.exports.has(key)) { - mergeSymbol(resolvedExports.get(key), value); - } - } - } - mergeSymbol(mainModule, moduleAugmentation.symbol); - } - } else { - error(moduleName, Diagnostics.Cannot_augment_module_0_because_it_resolves_to_a_non_module_entity, moduleName.text); - } - } - } - function addUndefinedToGlobalsOrErrorOnRedeclaration() { - const name = undefinedSymbol.escapedName; - const targetSymbol = globals.get(name); - if (targetSymbol) { - forEach(targetSymbol.declarations, (declaration) => { - if (!isTypeDeclaration(declaration)) { - diagnostics.add(createDiagnosticForNode(declaration, Diagnostics.Declaration_name_conflicts_with_built_in_global_identifier_0, unescapeLeadingUnderscores(name))); - } - }); - } else { - globals.set(name, undefinedSymbol); - } - } - function getSymbolLinks(symbol) { - if (symbol.flags & 33554432 /* Transient */) return symbol.links; - const id = getSymbolId(symbol); - return symbolLinks[id] ?? (symbolLinks[id] = new SymbolLinks()); - } - function getNodeLinks(node) { - const nodeId = getNodeId(node); - return nodeLinks[nodeId] || (nodeLinks[nodeId] = new NodeLinks()); - } - function getSymbol(symbols, name, meaning) { - if (meaning) { - const symbol = getMergedSymbol(symbols.get(name)); - if (symbol) { - if (symbol.flags & meaning) { - return symbol; - } - if (symbol.flags & 2097152 /* Alias */) { - const targetFlags = getSymbolFlags(symbol); - if (targetFlags & meaning) { - return symbol; - } - } - } - } - } - function getSymbolsOfParameterPropertyDeclaration(parameter, parameterName) { - const constructorDeclaration = parameter.parent; - const classDeclaration = parameter.parent.parent; - const parameterSymbol = getSymbol(constructorDeclaration.locals, parameterName, 111551 /* Value */); - const propertySymbol = getSymbol(getMembersOfSymbol(classDeclaration.symbol), parameterName, 111551 /* Value */); - if (parameterSymbol && propertySymbol) { - return [parameterSymbol, propertySymbol]; - } - return Debug.fail("There should exist two symbols, one as property declaration and one as parameter declaration"); - } - function isBlockScopedNameDeclaredBeforeUse(declaration, usage) { - const declarationFile = getSourceFileOfNode(declaration); - const useFile = getSourceFileOfNode(usage); - const declContainer = getEnclosingBlockScopeContainer(declaration); - if (declarationFile !== useFile) { - if (moduleKind && (declarationFile.externalModuleIndicator || useFile.externalModuleIndicator) || !compilerOptions.outFile || isInTypeQuery(usage) || declaration.flags & 33554432 /* Ambient */) { - return true; - } - if (isUsedInFunctionOrInstanceProperty(usage, declaration)) { - return true; - } - const sourceFiles = host.getSourceFiles(); - return sourceFiles.indexOf(declarationFile) <= sourceFiles.indexOf(useFile); - } - if (!!(usage.flags & 16777216 /* JSDoc */) || isInTypeQuery(usage) || isInAmbientOrTypeNode(usage)) { - return true; - } - if (declaration.pos <= usage.pos && !(isPropertyDeclaration(declaration) && isThisProperty(usage.parent) && !declaration.initializer && !declaration.exclamationToken)) { - if (declaration.kind === 208 /* BindingElement */) { - const errorBindingElement = getAncestor(usage, 208 /* BindingElement */); - if (errorBindingElement) { - return findAncestor(errorBindingElement, isBindingElement) !== findAncestor(declaration, isBindingElement) || declaration.pos < errorBindingElement.pos; - } - return isBlockScopedNameDeclaredBeforeUse(getAncestor(declaration, 260 /* VariableDeclaration */), usage); - } else if (declaration.kind === 260 /* VariableDeclaration */) { - return !isImmediatelyUsedInInitializerOfBlockScopedVariable(declaration, usage); - } else if (isClassLike(declaration)) { - const container = findAncestor(usage, (n) => n === declaration ? "quit" : isComputedPropertyName(n) ? n.parent.parent === declaration : !legacyDecorators && isDecorator(n) && (n.parent === declaration || isMethodDeclaration(n.parent) && n.parent.parent === declaration || isGetOrSetAccessorDeclaration(n.parent) && n.parent.parent === declaration || isPropertyDeclaration(n.parent) && n.parent.parent === declaration || isParameter(n.parent) && n.parent.parent.parent === declaration)); - if (!container) { - return true; - } - if (!legacyDecorators && isDecorator(container)) { - return !!findAncestor(usage, (n) => n === container ? "quit" : isFunctionLike(n) && !getImmediatelyInvokedFunctionExpression(n)); - } - return false; - } else if (isPropertyDeclaration(declaration)) { - return !isPropertyImmediatelyReferencedWithinDeclaration( - declaration, - usage, - /*stopAtAnyPropertyDeclaration*/ - false - ); - } else if (isParameterPropertyDeclaration(declaration, declaration.parent)) { - return !(emitStandardClassFields && getContainingClass(declaration) === getContainingClass(usage) && isUsedInFunctionOrInstanceProperty(usage, declaration)); - } - return true; - } - if (usage.parent.kind === 281 /* ExportSpecifier */ || usage.parent.kind === 277 /* ExportAssignment */ && usage.parent.isExportEquals) { - return true; - } - if (usage.kind === 277 /* ExportAssignment */ && usage.isExportEquals) { - return true; - } - if (isUsedInFunctionOrInstanceProperty(usage, declaration)) { - if (emitStandardClassFields && getContainingClass(declaration) && (isPropertyDeclaration(declaration) || isParameterPropertyDeclaration(declaration, declaration.parent))) { - return !isPropertyImmediatelyReferencedWithinDeclaration( - declaration, - usage, - /*stopAtAnyPropertyDeclaration*/ - true - ); - } else { - return true; - } - } - return false; - function isImmediatelyUsedInInitializerOfBlockScopedVariable(declaration2, usage2) { - switch (declaration2.parent.parent.kind) { - case 243 /* VariableStatement */: - case 248 /* ForStatement */: - case 250 /* ForOfStatement */: - if (isSameScopeDescendentOf(usage2, declaration2, declContainer)) { - return true; - } - break; - } - const grandparent = declaration2.parent.parent; - return isForInOrOfStatement(grandparent) && isSameScopeDescendentOf(usage2, grandparent.expression, declContainer); - } - function isUsedInFunctionOrInstanceProperty(usage2, declaration2) { - return !!findAncestor(usage2, (current) => { - if (current === declContainer) { - return "quit"; - } - if (isFunctionLike(current)) { - return true; - } - if (isClassStaticBlockDeclaration(current)) { - return declaration2.pos < usage2.pos; - } - const propertyDeclaration = tryCast(current.parent, isPropertyDeclaration); - if (propertyDeclaration) { - const initializerOfProperty = propertyDeclaration.initializer === current; - if (initializerOfProperty) { - if (isStatic(current.parent)) { - if (declaration2.kind === 174 /* MethodDeclaration */) { - return true; - } - if (isPropertyDeclaration(declaration2) && getContainingClass(usage2) === getContainingClass(declaration2)) { - const propName = declaration2.name; - if (isIdentifier(propName) || isPrivateIdentifier(propName)) { - const type = getTypeOfSymbol(getSymbolOfDeclaration(declaration2)); - const staticBlocks = filter(declaration2.parent.members, isClassStaticBlockDeclaration); - if (isPropertyInitializedInStaticBlocks(propName, type, staticBlocks, declaration2.parent.pos, current.pos)) { - return true; - } - } - } - } else { - const isDeclarationInstanceProperty = declaration2.kind === 172 /* PropertyDeclaration */ && !isStatic(declaration2); - if (!isDeclarationInstanceProperty || getContainingClass(usage2) !== getContainingClass(declaration2)) { - return true; - } - } - } - } - return false; - }); - } - function isPropertyImmediatelyReferencedWithinDeclaration(declaration2, usage2, stopAtAnyPropertyDeclaration) { - if (usage2.end > declaration2.end) { - return false; - } - const ancestorChangingReferenceScope = findAncestor(usage2, (node) => { - if (node === declaration2) { - return "quit"; - } - switch (node.kind) { - case 219 /* ArrowFunction */: - return true; - case 172 /* PropertyDeclaration */: - return stopAtAnyPropertyDeclaration && (isPropertyDeclaration(declaration2) && node.parent === declaration2.parent || isParameterPropertyDeclaration(declaration2, declaration2.parent) && node.parent === declaration2.parent.parent) ? "quit" : true; - case 241 /* Block */: - switch (node.parent.kind) { - case 177 /* GetAccessor */: - case 174 /* MethodDeclaration */: - case 178 /* SetAccessor */: - return true; - default: - return false; - } - default: - return false; - } - }); - return ancestorChangingReferenceScope === void 0; - } - } - function getRequiresScopeChangeCache(node) { - return getNodeLinks(node).declarationRequiresScopeChange; - } - function setRequiresScopeChangeCache(node, value) { - getNodeLinks(node).declarationRequiresScopeChange = value; - } - function checkAndReportErrorForInvalidInitializer(errorLocation, name, propertyWithInvalidInitializer, result) { - if (!emitStandardClassFields) { - if (errorLocation && !result && checkAndReportErrorForMissingPrefix(errorLocation, name, name)) { - return true; - } - error( - errorLocation, - errorLocation && propertyWithInvalidInitializer.type && textRangeContainsPositionInclusive(propertyWithInvalidInitializer.type, errorLocation.pos) ? Diagnostics.Type_of_instance_member_variable_0_cannot_reference_identifier_1_declared_in_the_constructor : Diagnostics.Initializer_of_instance_member_variable_0_cannot_reference_identifier_1_declared_in_the_constructor, - declarationNameToString(propertyWithInvalidInitializer.name), - diagnosticName(name) - ); - return true; - } - return false; - } - function onFailedToResolveSymbol(errorLocation, nameArg, meaning, nameNotFoundMessage) { - const name = isString(nameArg) ? nameArg : nameArg.escapedText; - addLazyDiagnostic(() => { - if (!errorLocation || errorLocation.parent.kind !== 324 /* JSDocLink */ && !checkAndReportErrorForMissingPrefix(errorLocation, name, nameArg) && !checkAndReportErrorForExtendingInterface(errorLocation) && !checkAndReportErrorForUsingTypeAsNamespace(errorLocation, name, meaning) && !checkAndReportErrorForExportingPrimitiveType(errorLocation, name) && !checkAndReportErrorForUsingNamespaceAsTypeOrValue(errorLocation, name, meaning) && !checkAndReportErrorForUsingTypeAsValue(errorLocation, name, meaning) && !checkAndReportErrorForUsingValueAsType(errorLocation, name, meaning)) { - let suggestion; - let suggestedLib; - if (nameArg) { - suggestedLib = getSuggestedLibForNonExistentName(nameArg); - if (suggestedLib) { - error(errorLocation, nameNotFoundMessage, diagnosticName(nameArg), suggestedLib); - } - } - if (!suggestedLib && suggestionCount < maximumSuggestionCount) { - suggestion = getSuggestedSymbolForNonexistentSymbol(errorLocation, name, meaning); - const isGlobalScopeAugmentationDeclaration = (suggestion == null ? void 0 : suggestion.valueDeclaration) && isAmbientModule(suggestion.valueDeclaration) && isGlobalScopeAugmentation(suggestion.valueDeclaration); - if (isGlobalScopeAugmentationDeclaration) { - suggestion = void 0; - } - if (suggestion) { - const suggestionName = symbolToString(suggestion); - const isUncheckedJS = isUncheckedJSSuggestion( - errorLocation, - suggestion, - /*excludeClasses*/ - false - ); - const message = meaning === 1920 /* Namespace */ || nameArg && typeof nameArg !== "string" && nodeIsSynthesized(nameArg) ? Diagnostics.Cannot_find_namespace_0_Did_you_mean_1 : isUncheckedJS ? Diagnostics.Could_not_find_name_0_Did_you_mean_1 : Diagnostics.Cannot_find_name_0_Did_you_mean_1; - const diagnostic = createError(errorLocation, message, diagnosticName(nameArg), suggestionName); - diagnostic.canonicalHead = getCanonicalDiagnostic(nameNotFoundMessage, diagnosticName(nameArg)); - addErrorOrSuggestion(!isUncheckedJS, diagnostic); - if (suggestion.valueDeclaration) { - addRelatedInfo( - diagnostic, - createDiagnosticForNode(suggestion.valueDeclaration, Diagnostics._0_is_declared_here, suggestionName) - ); - } - } - } - if (!suggestion && !suggestedLib && nameArg) { - error(errorLocation, nameNotFoundMessage, diagnosticName(nameArg)); - } - suggestionCount++; - } - }); - } - function onSuccessfullyResolvedSymbol(errorLocation, result, meaning, lastLocation, associatedDeclarationForContainingInitializerOrBindingName, withinDeferredContext) { - addLazyDiagnostic(() => { - var _a; - const name = result.escapedName; - const isInExternalModule = lastLocation && isSourceFile(lastLocation) && isExternalOrCommonJsModule(lastLocation); - if (errorLocation && (meaning & 2 /* BlockScopedVariable */ || (meaning & 32 /* Class */ || meaning & 384 /* Enum */) && (meaning & 111551 /* Value */) === 111551 /* Value */)) { - const exportOrLocalSymbol = getExportSymbolOfValueSymbolIfExported(result); - if (exportOrLocalSymbol.flags & 2 /* BlockScopedVariable */ || exportOrLocalSymbol.flags & 32 /* Class */ || exportOrLocalSymbol.flags & 384 /* Enum */) { - checkResolvedBlockScopedVariable(exportOrLocalSymbol, errorLocation); - } - } - if (isInExternalModule && (meaning & 111551 /* Value */) === 111551 /* Value */ && !(errorLocation.flags & 16777216 /* JSDoc */)) { - const merged = getMergedSymbol(result); - if (length(merged.declarations) && every(merged.declarations, (d) => isNamespaceExportDeclaration(d) || isSourceFile(d) && !!d.symbol.globalExports)) { - errorOrSuggestion(!compilerOptions.allowUmdGlobalAccess, errorLocation, Diagnostics._0_refers_to_a_UMD_global_but_the_current_file_is_a_module_Consider_adding_an_import_instead, unescapeLeadingUnderscores(name)); - } - } - if (associatedDeclarationForContainingInitializerOrBindingName && !withinDeferredContext && (meaning & 111551 /* Value */) === 111551 /* Value */) { - const candidate = getMergedSymbol(getLateBoundSymbol(result)); - const root = getRootDeclaration(associatedDeclarationForContainingInitializerOrBindingName); - if (candidate === getSymbolOfDeclaration(associatedDeclarationForContainingInitializerOrBindingName)) { - error(errorLocation, Diagnostics.Parameter_0_cannot_reference_itself, declarationNameToString(associatedDeclarationForContainingInitializerOrBindingName.name)); - } else if (candidate.valueDeclaration && candidate.valueDeclaration.pos > associatedDeclarationForContainingInitializerOrBindingName.pos && root.parent.locals && getSymbol(root.parent.locals, candidate.escapedName, meaning) === candidate) { - error(errorLocation, Diagnostics.Parameter_0_cannot_reference_identifier_1_declared_after_it, declarationNameToString(associatedDeclarationForContainingInitializerOrBindingName.name), declarationNameToString(errorLocation)); - } - } - if (errorLocation && meaning & 111551 /* Value */ && result.flags & 2097152 /* Alias */ && !(result.flags & 111551 /* Value */) && !isValidTypeOnlyAliasUseSite(errorLocation)) { - const typeOnlyDeclaration = getTypeOnlyAliasDeclaration(result, 111551 /* Value */); - if (typeOnlyDeclaration) { - const message = typeOnlyDeclaration.kind === 281 /* ExportSpecifier */ || typeOnlyDeclaration.kind === 278 /* ExportDeclaration */ || typeOnlyDeclaration.kind === 280 /* NamespaceExport */ ? Diagnostics._0_cannot_be_used_as_a_value_because_it_was_exported_using_export_type : Diagnostics._0_cannot_be_used_as_a_value_because_it_was_imported_using_import_type; - const unescapedName = unescapeLeadingUnderscores(name); - addTypeOnlyDeclarationRelatedInfo( - error(errorLocation, message, unescapedName), - typeOnlyDeclaration, - unescapedName - ); - } - } - if (compilerOptions.isolatedModules && result && isInExternalModule && (meaning & 111551 /* Value */) === 111551 /* Value */) { - const isGlobal = getSymbol(globals, name, meaning) === result; - const nonValueSymbol = isGlobal && isSourceFile(lastLocation) && lastLocation.locals && getSymbol(lastLocation.locals, name, ~111551 /* Value */); - if (nonValueSymbol) { - const importDecl = (_a = nonValueSymbol.declarations) == null ? void 0 : _a.find((d) => d.kind === 276 /* ImportSpecifier */ || d.kind === 273 /* ImportClause */ || d.kind === 274 /* NamespaceImport */ || d.kind === 271 /* ImportEqualsDeclaration */); - if (importDecl && !isTypeOnlyImportDeclaration(importDecl)) { - error(importDecl, Diagnostics.Import_0_conflicts_with_global_value_used_in_this_file_so_must_be_declared_with_a_type_only_import_when_isolatedModules_is_enabled, unescapeLeadingUnderscores(name)); - } - } - } - }); - } - function addTypeOnlyDeclarationRelatedInfo(diagnostic, typeOnlyDeclaration, unescapedName) { - if (!typeOnlyDeclaration) return diagnostic; - return addRelatedInfo( - diagnostic, - createDiagnosticForNode( - typeOnlyDeclaration, - typeOnlyDeclaration.kind === 281 /* ExportSpecifier */ || typeOnlyDeclaration.kind === 278 /* ExportDeclaration */ || typeOnlyDeclaration.kind === 280 /* NamespaceExport */ ? Diagnostics._0_was_exported_here : Diagnostics._0_was_imported_here, - unescapedName - ) - ); - } - function diagnosticName(nameArg) { - return isString(nameArg) ? unescapeLeadingUnderscores(nameArg) : declarationNameToString(nameArg); - } - function checkAndReportErrorForMissingPrefix(errorLocation, name, nameArg) { - if (!isIdentifier(errorLocation) || errorLocation.escapedText !== name || isTypeReferenceIdentifier(errorLocation) || isInTypeQuery(errorLocation)) { - return false; - } - const container = getThisContainer( - errorLocation, - /*includeArrowFunctions*/ - false, - /*includeClassComputedPropertyName*/ - false - ); - let location = container; - while (location) { - if (isClassLike(location.parent)) { - const classSymbol = getSymbolOfDeclaration(location.parent); - if (!classSymbol) { - break; - } - const constructorType = getTypeOfSymbol(classSymbol); - if (getPropertyOfType(constructorType, name)) { - error(errorLocation, Diagnostics.Cannot_find_name_0_Did_you_mean_the_static_member_1_0, diagnosticName(nameArg), symbolToString(classSymbol)); - return true; - } - if (location === container && !isStatic(location)) { - const instanceType = getDeclaredTypeOfSymbol(classSymbol).thisType; - if (getPropertyOfType(instanceType, name)) { - error(errorLocation, Diagnostics.Cannot_find_name_0_Did_you_mean_the_instance_member_this_0, diagnosticName(nameArg)); - return true; - } - } - } - location = location.parent; - } - return false; - } - function checkAndReportErrorForExtendingInterface(errorLocation) { - const expression = getEntityNameForExtendingInterface(errorLocation); - if (expression && resolveEntityName( - expression, - 64 /* Interface */, - /*ignoreErrors*/ - true - )) { - error(errorLocation, Diagnostics.Cannot_extend_an_interface_0_Did_you_mean_implements, getTextOfNode(expression)); - return true; - } - return false; - } - function getEntityNameForExtendingInterface(node) { - switch (node.kind) { - case 80 /* Identifier */: - case 211 /* PropertyAccessExpression */: - return node.parent ? getEntityNameForExtendingInterface(node.parent) : void 0; - case 233 /* ExpressionWithTypeArguments */: - if (isEntityNameExpression(node.expression)) { - return node.expression; - } - default: - return void 0; - } - } - function checkAndReportErrorForUsingTypeAsNamespace(errorLocation, name, meaning) { - const namespaceMeaning = 1920 /* Namespace */ | (isInJSFile(errorLocation) ? 111551 /* Value */ : 0); - if (meaning === namespaceMeaning) { - const symbol = resolveSymbol(resolveName( - errorLocation, - name, - 788968 /* Type */ & ~namespaceMeaning, - /*nameNotFoundMessage*/ - void 0, - /*isUse*/ - false - )); - const parent = errorLocation.parent; - if (symbol) { - if (isQualifiedName(parent)) { - Debug.assert(parent.left === errorLocation, "Should only be resolving left side of qualified name as a namespace"); - const propName = parent.right.escapedText; - const propType = getPropertyOfType(getDeclaredTypeOfSymbol(symbol), propName); - if (propType) { - error( - parent, - 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, - unescapeLeadingUnderscores(name), - unescapeLeadingUnderscores(propName) - ); - return true; - } - } - error(errorLocation, Diagnostics._0_only_refers_to_a_type_but_is_being_used_as_a_namespace_here, unescapeLeadingUnderscores(name)); - return true; - } - } - return false; - } - function checkAndReportErrorForUsingValueAsType(errorLocation, name, meaning) { - if (meaning & (788968 /* Type */ & ~1920 /* Namespace */)) { - const symbol = resolveSymbol(resolveName( - errorLocation, - name, - ~788968 /* Type */ & 111551 /* Value */, - /*nameNotFoundMessage*/ - void 0, - /*isUse*/ - false - )); - if (symbol && !(symbol.flags & 1920 /* Namespace */)) { - error(errorLocation, Diagnostics._0_refers_to_a_value_but_is_being_used_as_a_type_here_Did_you_mean_typeof_0, unescapeLeadingUnderscores(name)); - return true; - } - } - return false; - } - function isPrimitiveTypeName(name) { - return name === "any" || name === "string" || name === "number" || name === "boolean" || name === "never" || name === "unknown"; - } - function checkAndReportErrorForExportingPrimitiveType(errorLocation, name) { - if (isPrimitiveTypeName(name) && errorLocation.parent.kind === 281 /* ExportSpecifier */) { - error(errorLocation, Diagnostics.Cannot_export_0_Only_local_declarations_can_be_exported_from_a_module, name); - return true; - } - return false; - } - function checkAndReportErrorForUsingTypeAsValue(errorLocation, name, meaning) { - if (meaning & 111551 /* Value */) { - if (isPrimitiveTypeName(name)) { - const grandparent = errorLocation.parent.parent; - if (grandparent && grandparent.parent && isHeritageClause(grandparent)) { - const heritageKind = grandparent.token; - const containerKind = grandparent.parent.kind; - if (containerKind === 264 /* InterfaceDeclaration */ && heritageKind === 96 /* ExtendsKeyword */) { - error(errorLocation, Diagnostics.An_interface_cannot_extend_a_primitive_type_like_0_It_can_only_extend_other_named_object_types, unescapeLeadingUnderscores(name)); - } else if (containerKind === 263 /* ClassDeclaration */ && heritageKind === 96 /* ExtendsKeyword */) { - error(errorLocation, Diagnostics.A_class_cannot_extend_a_primitive_type_like_0_Classes_can_only_extend_constructable_values, unescapeLeadingUnderscores(name)); - } else if (containerKind === 263 /* ClassDeclaration */ && heritageKind === 119 /* ImplementsKeyword */) { - error(errorLocation, Diagnostics.A_class_cannot_implement_a_primitive_type_like_0_It_can_only_implement_other_named_object_types, unescapeLeadingUnderscores(name)); - } - } else { - error(errorLocation, Diagnostics._0_only_refers_to_a_type_but_is_being_used_as_a_value_here, unescapeLeadingUnderscores(name)); - } - return true; - } - const symbol = resolveSymbol(resolveName( - errorLocation, - name, - 788968 /* Type */ & ~111551 /* Value */, - /*nameNotFoundMessage*/ - void 0, - /*isUse*/ - false - )); - const allFlags = symbol && getSymbolFlags(symbol); - if (symbol && allFlags !== void 0 && !(allFlags & 111551 /* Value */)) { - const rawName = unescapeLeadingUnderscores(name); - if (isES2015OrLaterConstructorName(name)) { - error(errorLocation, Diagnostics._0_only_refers_to_a_type_but_is_being_used_as_a_value_here_Do_you_need_to_change_your_target_library_Try_changing_the_lib_compiler_option_to_es2015_or_later, rawName); - } else if (maybeMappedType(errorLocation, symbol)) { - error(errorLocation, Diagnostics._0_only_refers_to_a_type_but_is_being_used_as_a_value_here_Did_you_mean_to_use_1_in_0, rawName, rawName === "K" ? "P" : "K"); - } else { - error(errorLocation, Diagnostics._0_only_refers_to_a_type_but_is_being_used_as_a_value_here, rawName); - } - return true; - } - } - return false; - } - function maybeMappedType(node, symbol) { - const container = findAncestor(node.parent, (n) => isComputedPropertyName(n) || isPropertySignature(n) ? false : isTypeLiteralNode(n) || "quit"); - if (container && container.members.length === 1) { - const type = getDeclaredTypeOfSymbol(symbol); - return !!(type.flags & 1048576 /* Union */) && allTypesAssignableToKind( - type, - 384 /* StringOrNumberLiteral */, - /*strict*/ - true - ); - } - return false; - } - function isES2015OrLaterConstructorName(n) { - switch (n) { - case "Promise": - case "Symbol": - case "Map": - case "WeakMap": - case "Set": - case "WeakSet": - return true; - } - return false; - } - function checkAndReportErrorForUsingNamespaceAsTypeOrValue(errorLocation, name, meaning) { - if (meaning & (111551 /* Value */ & ~788968 /* Type */)) { - const symbol = resolveSymbol(resolveName( - errorLocation, - name, - 1024 /* NamespaceModule */, - /*nameNotFoundMessage*/ - void 0, - /*isUse*/ - false - )); - if (symbol) { - error( - errorLocation, - Diagnostics.Cannot_use_namespace_0_as_a_value, - unescapeLeadingUnderscores(name) - ); - return true; - } - } else if (meaning & (788968 /* Type */ & ~111551 /* Value */)) { - const symbol = resolveSymbol(resolveName( - errorLocation, - name, - 1536 /* Module */, - /*nameNotFoundMessage*/ - void 0, - /*isUse*/ - false - )); - if (symbol) { - error(errorLocation, Diagnostics.Cannot_use_namespace_0_as_a_type, unescapeLeadingUnderscores(name)); - return true; - } - } - return false; - } - function checkResolvedBlockScopedVariable(result, errorLocation) { - var _a; - Debug.assert(!!(result.flags & 2 /* BlockScopedVariable */ || result.flags & 32 /* Class */ || result.flags & 384 /* Enum */)); - if (result.flags & (16 /* Function */ | 1 /* FunctionScopedVariable */ | 67108864 /* Assignment */) && result.flags & 32 /* Class */) { - return; - } - const declaration = (_a = result.declarations) == null ? void 0 : _a.find( - (d) => isBlockOrCatchScoped(d) || isClassLike(d) || d.kind === 266 /* EnumDeclaration */ - ); - if (declaration === void 0) return Debug.fail("checkResolvedBlockScopedVariable could not find block-scoped declaration"); - if (!(declaration.flags & 33554432 /* Ambient */) && !isBlockScopedNameDeclaredBeforeUse(declaration, errorLocation)) { - let diagnosticMessage; - const declarationName = declarationNameToString(getNameOfDeclaration(declaration)); - if (result.flags & 2 /* BlockScopedVariable */) { - diagnosticMessage = error(errorLocation, Diagnostics.Block_scoped_variable_0_used_before_its_declaration, declarationName); - } else if (result.flags & 32 /* Class */) { - diagnosticMessage = error(errorLocation, Diagnostics.Class_0_used_before_its_declaration, declarationName); - } else if (result.flags & 256 /* RegularEnum */) { - diagnosticMessage = error(errorLocation, Diagnostics.Enum_0_used_before_its_declaration, declarationName); - } else { - Debug.assert(!!(result.flags & 128 /* ConstEnum */)); - if (getIsolatedModules(compilerOptions)) { - diagnosticMessage = error(errorLocation, Diagnostics.Enum_0_used_before_its_declaration, declarationName); - } - } - if (diagnosticMessage) { - addRelatedInfo(diagnosticMessage, createDiagnosticForNode(declaration, Diagnostics._0_is_declared_here, declarationName)); - } - } - } - function isSameScopeDescendentOf(initial, parent, stopAt) { - return !!parent && !!findAncestor(initial, (n) => n === parent || (n === stopAt || isFunctionLike(n) && (!getImmediatelyInvokedFunctionExpression(n) || getFunctionFlags(n) & 3 /* AsyncGenerator */) ? "quit" : false)); - } - function getAnyImportSyntax(node) { - switch (node.kind) { - case 271 /* ImportEqualsDeclaration */: - return node; - case 273 /* ImportClause */: - return node.parent; - case 274 /* NamespaceImport */: - return node.parent.parent; - case 276 /* ImportSpecifier */: - return node.parent.parent.parent; - default: - return void 0; - } - } - function getDeclarationOfAliasSymbol(symbol) { - return symbol.declarations && findLast(symbol.declarations, isAliasSymbolDeclaration); - } - function isAliasSymbolDeclaration(node) { - return node.kind === 271 /* ImportEqualsDeclaration */ || node.kind === 270 /* NamespaceExportDeclaration */ || node.kind === 273 /* ImportClause */ && !!node.name || node.kind === 274 /* NamespaceImport */ || node.kind === 280 /* NamespaceExport */ || node.kind === 276 /* ImportSpecifier */ || node.kind === 281 /* ExportSpecifier */ || node.kind === 277 /* ExportAssignment */ && exportAssignmentIsAlias(node) || isBinaryExpression(node) && getAssignmentDeclarationKind(node) === 2 /* ModuleExports */ && exportAssignmentIsAlias(node) || isAccessExpression(node) && isBinaryExpression(node.parent) && node.parent.left === node && node.parent.operatorToken.kind === 64 /* EqualsToken */ && isAliasableOrJsExpression(node.parent.right) || node.kind === 304 /* ShorthandPropertyAssignment */ || node.kind === 303 /* PropertyAssignment */ && isAliasableOrJsExpression(node.initializer) || node.kind === 260 /* VariableDeclaration */ && isVariableDeclarationInitializedToBareOrAccessedRequire(node) || node.kind === 208 /* BindingElement */ && isVariableDeclarationInitializedToBareOrAccessedRequire(node.parent.parent); - } - function isAliasableOrJsExpression(e) { - return isAliasableExpression(e) || isFunctionExpression(e) && isJSConstructor(e); - } - function getTargetOfImportEqualsDeclaration(node, dontResolveAlias) { - const commonJSPropertyAccess = getCommonJSPropertyAccess(node); - if (commonJSPropertyAccess) { - const name = getLeftmostAccessExpression(commonJSPropertyAccess.expression).arguments[0]; - return isIdentifier(commonJSPropertyAccess.name) ? resolveSymbol(getPropertyOfType(resolveExternalModuleTypeByLiteral(name), commonJSPropertyAccess.name.escapedText)) : void 0; - } - if (isVariableDeclaration(node) || node.moduleReference.kind === 283 /* ExternalModuleReference */) { - const immediate = resolveExternalModuleName( - node, - getExternalModuleRequireArgument(node) || getExternalModuleImportEqualsDeclarationExpression(node) - ); - const resolved2 = resolveExternalModuleSymbol(immediate); - markSymbolOfAliasDeclarationIfTypeOnly( - node, - immediate, - resolved2, - /*overwriteEmpty*/ - false - ); - return resolved2; - } - const resolved = getSymbolOfPartOfRightHandSideOfImportEquals(node.moduleReference, dontResolveAlias); - checkAndReportErrorForResolvingImportAliasToTypeOnlySymbol(node, resolved); - return resolved; - } - function checkAndReportErrorForResolvingImportAliasToTypeOnlySymbol(node, resolved) { - if (markSymbolOfAliasDeclarationIfTypeOnly( - node, - /*immediateTarget*/ - void 0, - resolved, - /*overwriteEmpty*/ - false - ) && !node.isTypeOnly) { - const typeOnlyDeclaration = getTypeOnlyAliasDeclaration(getSymbolOfDeclaration(node)); - const isExport = typeOnlyDeclaration.kind === 281 /* ExportSpecifier */ || typeOnlyDeclaration.kind === 278 /* ExportDeclaration */; - const message = isExport ? Diagnostics.An_import_alias_cannot_reference_a_declaration_that_was_exported_using_export_type : Diagnostics.An_import_alias_cannot_reference_a_declaration_that_was_imported_using_import_type; - const relatedMessage = isExport ? Diagnostics._0_was_exported_here : Diagnostics._0_was_imported_here; - const name = typeOnlyDeclaration.kind === 278 /* ExportDeclaration */ ? "*" : moduleExportNameTextUnescaped(typeOnlyDeclaration.name); - addRelatedInfo(error(node.moduleReference, message), createDiagnosticForNode(typeOnlyDeclaration, relatedMessage, name)); - } - } - function resolveExportByName(moduleSymbol, name, sourceNode, dontResolveAlias) { - const exportValue = moduleSymbol.exports.get("export=" /* ExportEquals */); - const exportSymbol = exportValue ? getPropertyOfType( - getTypeOfSymbol(exportValue), - name, - /*skipObjectFunctionPropertyAugment*/ - true - ) : moduleSymbol.exports.get(name); - const resolved = resolveSymbol(exportSymbol, dontResolveAlias); - markSymbolOfAliasDeclarationIfTypeOnly( - sourceNode, - exportSymbol, - resolved, - /*overwriteEmpty*/ - false - ); - return resolved; - } - function isSyntacticDefault(node) { - return isExportAssignment(node) && !node.isExportEquals || hasSyntacticModifier(node, 2048 /* Default */) || isExportSpecifier(node) || isNamespaceExport(node); - } - function getEmitSyntaxForModuleSpecifierExpression(usage) { - return isStringLiteralLike(usage) ? host.getEmitSyntaxForUsageLocation(getSourceFileOfNode(usage), usage) : void 0; - } - function isESMFormatImportImportingCommonjsFormatFile(usageMode, targetMode) { - return usageMode === 99 /* ESNext */ && targetMode === 1 /* CommonJS */; - } - function isOnlyImportableAsDefault(usage) { - if (100 /* Node16 */ <= moduleKind && moduleKind <= 199 /* NodeNext */) { - const usageMode = getEmitSyntaxForModuleSpecifierExpression(usage); - return usageMode === 99 /* ESNext */ && endsWith(usage.text, ".json" /* Json */); - } - return false; - } - function canHaveSyntheticDefault(file, moduleSymbol, dontResolveAlias, usage) { - const usageMode = file && getEmitSyntaxForModuleSpecifierExpression(usage); - if (file && usageMode !== void 0) { - const targetMode = host.getImpliedNodeFormatForEmit(file); - if (usageMode === 99 /* ESNext */ && targetMode === 1 /* CommonJS */ && 100 /* Node16 */ <= moduleKind && moduleKind <= 199 /* NodeNext */) { - return true; - } - if (usageMode === 99 /* ESNext */ && targetMode === 99 /* ESNext */) { - return false; - } - } - if (!allowSyntheticDefaultImports) { - return false; - } - if (!file || file.isDeclarationFile) { - const defaultExportSymbol = resolveExportByName( - moduleSymbol, - "default" /* Default */, - /*sourceNode*/ - void 0, - /*dontResolveAlias*/ - true - ); - if (defaultExportSymbol && some(defaultExportSymbol.declarations, isSyntacticDefault)) { - return false; - } - if (resolveExportByName( - moduleSymbol, - escapeLeadingUnderscores("__esModule"), - /*sourceNode*/ - void 0, - dontResolveAlias - )) { - return false; - } - return true; - } - if (!isSourceFileJS(file)) { - return hasExportAssignmentSymbol(moduleSymbol); - } - return typeof file.externalModuleIndicator !== "object" && !resolveExportByName( - moduleSymbol, - escapeLeadingUnderscores("__esModule"), - /*sourceNode*/ - void 0, - dontResolveAlias - ); - } - function getTargetOfImportClause(node, dontResolveAlias) { - const moduleSymbol = resolveExternalModuleName(node, node.parent.moduleSpecifier); - if (moduleSymbol) { - return getTargetofModuleDefault(moduleSymbol, node, dontResolveAlias); - } - } - function getTargetofModuleDefault(moduleSymbol, node, dontResolveAlias) { - var _a; - let exportDefaultSymbol; - if (isShorthandAmbientModuleSymbol(moduleSymbol)) { - exportDefaultSymbol = moduleSymbol; - } else { - exportDefaultSymbol = resolveExportByName(moduleSymbol, "default" /* Default */, node, dontResolveAlias); - } - const file = (_a = moduleSymbol.declarations) == null ? void 0 : _a.find(isSourceFile); - const specifier = getModuleSpecifierForImportOrExport(node); - if (!specifier) { - return exportDefaultSymbol; - } - const hasDefaultOnly = isOnlyImportableAsDefault(specifier); - const hasSyntheticDefault = canHaveSyntheticDefault(file, moduleSymbol, dontResolveAlias, specifier); - if (!exportDefaultSymbol && !hasSyntheticDefault && !hasDefaultOnly) { - if (hasExportAssignmentSymbol(moduleSymbol) && !allowSyntheticDefaultImports) { - const compilerOptionName = moduleKind >= 5 /* ES2015 */ ? "allowSyntheticDefaultImports" : "esModuleInterop"; - const exportEqualsSymbol = moduleSymbol.exports.get("export=" /* ExportEquals */); - const exportAssignment = exportEqualsSymbol.valueDeclaration; - const err = error(node.name, Diagnostics.Module_0_can_only_be_default_imported_using_the_1_flag, symbolToString(moduleSymbol), compilerOptionName); - if (exportAssignment) { - addRelatedInfo( - err, - createDiagnosticForNode( - exportAssignment, - Diagnostics.This_module_is_declared_with_export_and_can_only_be_used_with_a_default_import_when_using_the_0_flag, - compilerOptionName - ) - ); - } - } else if (isImportClause(node)) { - reportNonDefaultExport(moduleSymbol, node); - } else { - errorNoModuleMemberSymbol(moduleSymbol, moduleSymbol, node, isImportOrExportSpecifier(node) && node.propertyName || node.name); - } - } else if (hasSyntheticDefault || hasDefaultOnly) { - const resolved = resolveExternalModuleSymbol(moduleSymbol, dontResolveAlias) || resolveSymbol(moduleSymbol, dontResolveAlias); - markSymbolOfAliasDeclarationIfTypeOnly( - node, - moduleSymbol, - resolved, - /*overwriteEmpty*/ - false - ); - return resolved; - } - markSymbolOfAliasDeclarationIfTypeOnly( - node, - exportDefaultSymbol, - /*finalTarget*/ - void 0, - /*overwriteEmpty*/ - false - ); - return exportDefaultSymbol; - } - function getModuleSpecifierForImportOrExport(node) { - switch (node.kind) { - case 273 /* ImportClause */: - return node.parent.moduleSpecifier; - case 271 /* ImportEqualsDeclaration */: - return isExternalModuleReference(node.moduleReference) ? node.moduleReference.expression : void 0; - case 274 /* NamespaceImport */: - return node.parent.parent.moduleSpecifier; - case 276 /* ImportSpecifier */: - return node.parent.parent.parent.moduleSpecifier; - case 281 /* ExportSpecifier */: - return node.parent.parent.moduleSpecifier; - default: - return Debug.assertNever(node); - } - } - function reportNonDefaultExport(moduleSymbol, node) { - var _a, _b, _c; - if ((_a = moduleSymbol.exports) == null ? void 0 : _a.has(node.symbol.escapedName)) { - error( - node.name, - Diagnostics.Module_0_has_no_default_export_Did_you_mean_to_use_import_1_from_0_instead, - symbolToString(moduleSymbol), - symbolToString(node.symbol) - ); - } else { - const diagnostic = error(node.name, Diagnostics.Module_0_has_no_default_export, symbolToString(moduleSymbol)); - const exportStar = (_b = moduleSymbol.exports) == null ? void 0 : _b.get("__export" /* ExportStar */); - if (exportStar) { - const defaultExport = (_c = exportStar.declarations) == null ? void 0 : _c.find( - (decl) => { - var _a2, _b2; - return !!(isExportDeclaration(decl) && decl.moduleSpecifier && ((_b2 = (_a2 = resolveExternalModuleName(decl, decl.moduleSpecifier)) == null ? void 0 : _a2.exports) == null ? void 0 : _b2.has("default" /* Default */))); - } - ); - if (defaultExport) { - addRelatedInfo(diagnostic, createDiagnosticForNode(defaultExport, Diagnostics.export_Asterisk_does_not_re_export_a_default)); - } - } - } - } - function getTargetOfNamespaceImport(node, dontResolveAlias) { - const moduleSpecifier = node.parent.parent.moduleSpecifier; - const immediate = resolveExternalModuleName(node, moduleSpecifier); - const resolved = resolveESModuleSymbol( - immediate, - moduleSpecifier, - dontResolveAlias, - /*suppressInteropError*/ - false - ); - markSymbolOfAliasDeclarationIfTypeOnly( - node, - immediate, - resolved, - /*overwriteEmpty*/ - false - ); - return resolved; - } - function getTargetOfNamespaceExport(node, dontResolveAlias) { - const moduleSpecifier = node.parent.moduleSpecifier; - const immediate = moduleSpecifier && resolveExternalModuleName(node, moduleSpecifier); - const resolved = moduleSpecifier && resolveESModuleSymbol( - immediate, - moduleSpecifier, - dontResolveAlias, - /*suppressInteropError*/ - false - ); - markSymbolOfAliasDeclarationIfTypeOnly( - node, - immediate, - resolved, - /*overwriteEmpty*/ - false - ); - return resolved; - } - function combineValueAndTypeSymbols(valueSymbol, typeSymbol) { - if (valueSymbol === unknownSymbol && typeSymbol === unknownSymbol) { - return unknownSymbol; - } - if (valueSymbol.flags & (788968 /* Type */ | 1920 /* Namespace */)) { - return valueSymbol; - } - const result = createSymbol(valueSymbol.flags | typeSymbol.flags, valueSymbol.escapedName); - Debug.assert(valueSymbol.declarations || typeSymbol.declarations); - result.declarations = deduplicate(concatenate(valueSymbol.declarations, typeSymbol.declarations), equateValues); - result.parent = valueSymbol.parent || typeSymbol.parent; - if (valueSymbol.valueDeclaration) result.valueDeclaration = valueSymbol.valueDeclaration; - if (typeSymbol.members) result.members = new Map(typeSymbol.members); - if (valueSymbol.exports) result.exports = new Map(valueSymbol.exports); - return result; - } - function getExportOfModule(symbol, nameText, specifier, dontResolveAlias) { - var _a; - if (symbol.flags & 1536 /* Module */) { - const exportSymbol = getExportsOfSymbol(symbol).get(nameText); - const resolved = resolveSymbol(exportSymbol, dontResolveAlias); - const exportStarDeclaration = (_a = getSymbolLinks(symbol).typeOnlyExportStarMap) == null ? void 0 : _a.get(nameText); - markSymbolOfAliasDeclarationIfTypeOnly( - specifier, - exportSymbol, - resolved, - /*overwriteEmpty*/ - false, - exportStarDeclaration, - nameText - ); - return resolved; - } - } - function getPropertyOfVariable(symbol, name) { - if (symbol.flags & 3 /* Variable */) { - const typeAnnotation = symbol.valueDeclaration.type; - if (typeAnnotation) { - return resolveSymbol(getPropertyOfType(getTypeFromTypeNode(typeAnnotation), name)); - } - } - } - function getExternalModuleMember(node, specifier, dontResolveAlias = false) { - var _a; - const moduleSpecifier = getExternalModuleRequireArgument(node) || node.moduleSpecifier; - const moduleSymbol = resolveExternalModuleName(node, moduleSpecifier); - const name = !isPropertyAccessExpression(specifier) && specifier.propertyName || specifier.name; - if (!isIdentifier(name) && name.kind !== 11 /* StringLiteral */) { - return void 0; - } - const nameText = moduleExportNameTextEscaped(name); - const suppressInteropError = nameText === "default" /* Default */ && allowSyntheticDefaultImports; - const targetSymbol = resolveESModuleSymbol( - moduleSymbol, - moduleSpecifier, - /*dontResolveAlias*/ - false, - suppressInteropError - ); - if (targetSymbol) { - if (nameText || name.kind === 11 /* StringLiteral */) { - if (isShorthandAmbientModuleSymbol(moduleSymbol)) { - return moduleSymbol; - } - let symbolFromVariable; - if (moduleSymbol && moduleSymbol.exports && moduleSymbol.exports.get("export=" /* ExportEquals */)) { - symbolFromVariable = getPropertyOfType( - getTypeOfSymbol(targetSymbol), - nameText, - /*skipObjectFunctionPropertyAugment*/ - true - ); - } else { - symbolFromVariable = getPropertyOfVariable(targetSymbol, nameText); - } - symbolFromVariable = resolveSymbol(symbolFromVariable, dontResolveAlias); - let symbolFromModule = getExportOfModule(targetSymbol, nameText, specifier, dontResolveAlias); - if (symbolFromModule === void 0 && nameText === "default" /* Default */) { - const file = (_a = moduleSymbol.declarations) == null ? void 0 : _a.find(isSourceFile); - if (isOnlyImportableAsDefault(moduleSpecifier) || canHaveSyntheticDefault(file, moduleSymbol, dontResolveAlias, moduleSpecifier)) { - symbolFromModule = resolveExternalModuleSymbol(moduleSymbol, dontResolveAlias) || resolveSymbol(moduleSymbol, dontResolveAlias); - } - } - const symbol = symbolFromModule && symbolFromVariable && symbolFromModule !== symbolFromVariable ? combineValueAndTypeSymbols(symbolFromVariable, symbolFromModule) : symbolFromModule || symbolFromVariable; - if (!symbol) { - errorNoModuleMemberSymbol(moduleSymbol, targetSymbol, node, name); - } - return symbol; - } - } - } - function errorNoModuleMemberSymbol(moduleSymbol, targetSymbol, node, name) { - var _a; - const moduleName = getFullyQualifiedName(moduleSymbol, node); - const declarationName = declarationNameToString(name); - const suggestion = isIdentifier(name) ? getSuggestedSymbolForNonexistentModule(name, targetSymbol) : void 0; - if (suggestion !== void 0) { - const suggestionName = symbolToString(suggestion); - const diagnostic = error(name, Diagnostics._0_has_no_exported_member_named_1_Did_you_mean_2, moduleName, declarationName, suggestionName); - if (suggestion.valueDeclaration) { - addRelatedInfo(diagnostic, createDiagnosticForNode(suggestion.valueDeclaration, Diagnostics._0_is_declared_here, suggestionName)); - } - } else { - if ((_a = moduleSymbol.exports) == null ? void 0 : _a.has("default" /* Default */)) { - error( - name, - Diagnostics.Module_0_has_no_exported_member_1_Did_you_mean_to_use_import_1_from_0_instead, - moduleName, - declarationName - ); - } else { - reportNonExportedMember(node, name, declarationName, moduleSymbol, moduleName); - } - } - } - function reportNonExportedMember(node, name, declarationName, moduleSymbol, moduleName) { - var _a, _b; - const localSymbol = (_b = (_a = tryCast(moduleSymbol.valueDeclaration, canHaveLocals)) == null ? void 0 : _a.locals) == null ? void 0 : _b.get(moduleExportNameTextEscaped(name)); - const exports2 = moduleSymbol.exports; - if (localSymbol) { - const exportedEqualsSymbol = exports2 == null ? void 0 : exports2.get("export=" /* ExportEquals */); - if (exportedEqualsSymbol) { - getSymbolIfSameReference(exportedEqualsSymbol, localSymbol) ? reportInvalidImportEqualsExportMember(node, name, declarationName, moduleName) : error(name, Diagnostics.Module_0_has_no_exported_member_1, moduleName, declarationName); - } else { - const exportedSymbol = exports2 ? find(symbolsToArray(exports2), (symbol) => !!getSymbolIfSameReference(symbol, localSymbol)) : void 0; - const diagnostic = exportedSymbol ? error(name, Diagnostics.Module_0_declares_1_locally_but_it_is_exported_as_2, moduleName, declarationName, symbolToString(exportedSymbol)) : error(name, Diagnostics.Module_0_declares_1_locally_but_it_is_not_exported, moduleName, declarationName); - if (localSymbol.declarations) { - addRelatedInfo(diagnostic, ...map(localSymbol.declarations, (decl, index) => createDiagnosticForNode(decl, index === 0 ? Diagnostics._0_is_declared_here : Diagnostics.and_here, declarationName))); - } - } - } else { - error(name, Diagnostics.Module_0_has_no_exported_member_1, moduleName, declarationName); - } - } - function reportInvalidImportEqualsExportMember(node, name, declarationName, moduleName) { - if (moduleKind >= 5 /* ES2015 */) { - const message = getESModuleInterop(compilerOptions) ? Diagnostics._0_can_only_be_imported_by_using_a_default_import : Diagnostics._0_can_only_be_imported_by_turning_on_the_esModuleInterop_flag_and_using_a_default_import; - error(name, message, declarationName); - } else { - if (isInJSFile(node)) { - const message = getESModuleInterop(compilerOptions) ? Diagnostics._0_can_only_be_imported_by_using_a_require_call_or_by_using_a_default_import : Diagnostics._0_can_only_be_imported_by_using_a_require_call_or_by_turning_on_the_esModuleInterop_flag_and_using_a_default_import; - error(name, message, declarationName); - } else { - const message = getESModuleInterop(compilerOptions) ? Diagnostics._0_can_only_be_imported_by_using_import_1_require_2_or_a_default_import : Diagnostics._0_can_only_be_imported_by_using_import_1_require_2_or_by_turning_on_the_esModuleInterop_flag_and_using_a_default_import; - error(name, message, declarationName, declarationName, moduleName); - } - } - } - function getTargetOfImportSpecifier(node, dontResolveAlias) { - if (isImportSpecifier(node) && moduleExportNameIsDefault(node.propertyName || node.name)) { - const specifier = getModuleSpecifierForImportOrExport(node); - const moduleSymbol = specifier && resolveExternalModuleName(node, specifier); - if (moduleSymbol) { - return getTargetofModuleDefault(moduleSymbol, node, dontResolveAlias); - } - } - const root = isBindingElement(node) ? getRootDeclaration(node) : node.parent.parent.parent; - const commonJSPropertyAccess = getCommonJSPropertyAccess(root); - const resolved = getExternalModuleMember(root, commonJSPropertyAccess || node, dontResolveAlias); - const name = node.propertyName || node.name; - if (commonJSPropertyAccess && resolved && isIdentifier(name)) { - return resolveSymbol(getPropertyOfType(getTypeOfSymbol(resolved), name.escapedText), dontResolveAlias); - } - markSymbolOfAliasDeclarationIfTypeOnly( - node, - /*immediateTarget*/ - void 0, - resolved, - /*overwriteEmpty*/ - false - ); - return resolved; - } - function getCommonJSPropertyAccess(node) { - if (isVariableDeclaration(node) && node.initializer && isPropertyAccessExpression(node.initializer)) { - return node.initializer; - } - } - function getTargetOfNamespaceExportDeclaration(node, dontResolveAlias) { - if (canHaveSymbol(node.parent)) { - const resolved = resolveExternalModuleSymbol(node.parent.symbol, dontResolveAlias); - markSymbolOfAliasDeclarationIfTypeOnly( - node, - /*immediateTarget*/ - void 0, - resolved, - /*overwriteEmpty*/ - false - ); - return resolved; - } - } - function getTargetOfExportSpecifier(node, meaning, dontResolveAlias) { - const name = node.propertyName || node.name; - if (moduleExportNameIsDefault(name)) { - const specifier = getModuleSpecifierForImportOrExport(node); - const moduleSymbol = specifier && resolveExternalModuleName(node, specifier); - if (moduleSymbol) { - return getTargetofModuleDefault(moduleSymbol, node, !!dontResolveAlias); - } - } - const resolved = node.parent.parent.moduleSpecifier ? getExternalModuleMember(node.parent.parent, node, dontResolveAlias) : name.kind === 11 /* StringLiteral */ ? void 0 : ( - // Skip for invalid syntax like this: export { "x" } - resolveEntityName( - name, - meaning, - /*ignoreErrors*/ - false, - dontResolveAlias - ) - ); - markSymbolOfAliasDeclarationIfTypeOnly( - node, - /*immediateTarget*/ - void 0, - resolved, - /*overwriteEmpty*/ - false - ); - return resolved; - } - function getTargetOfExportAssignment(node, dontResolveAlias) { - const expression = isExportAssignment(node) ? node.expression : node.right; - const resolved = getTargetOfAliasLikeExpression(expression, dontResolveAlias); - markSymbolOfAliasDeclarationIfTypeOnly( - node, - /*immediateTarget*/ - void 0, - resolved, - /*overwriteEmpty*/ - false - ); - return resolved; - } - function getTargetOfAliasLikeExpression(expression, dontResolveAlias) { - if (isClassExpression(expression)) { - return checkExpressionCached(expression).symbol; - } - if (!isEntityName(expression) && !isEntityNameExpression(expression)) { - return void 0; - } - const aliasLike = resolveEntityName( - expression, - 111551 /* Value */ | 788968 /* Type */ | 1920 /* Namespace */, - /*ignoreErrors*/ - true, - dontResolveAlias - ); - if (aliasLike) { - return aliasLike; - } - checkExpressionCached(expression); - return getNodeLinks(expression).resolvedSymbol; - } - function getTargetOfAccessExpression(node, dontRecursivelyResolve) { - if (!(isBinaryExpression(node.parent) && node.parent.left === node && node.parent.operatorToken.kind === 64 /* EqualsToken */)) { - return void 0; - } - return getTargetOfAliasLikeExpression(node.parent.right, dontRecursivelyResolve); - } - function getTargetOfAliasDeclaration(node, dontRecursivelyResolve = false) { - switch (node.kind) { - case 271 /* ImportEqualsDeclaration */: - case 260 /* VariableDeclaration */: - return getTargetOfImportEqualsDeclaration(node, dontRecursivelyResolve); - case 273 /* ImportClause */: - return getTargetOfImportClause(node, dontRecursivelyResolve); - case 274 /* NamespaceImport */: - return getTargetOfNamespaceImport(node, dontRecursivelyResolve); - case 280 /* NamespaceExport */: - return getTargetOfNamespaceExport(node, dontRecursivelyResolve); - case 276 /* ImportSpecifier */: - case 208 /* BindingElement */: - return getTargetOfImportSpecifier(node, dontRecursivelyResolve); - case 281 /* ExportSpecifier */: - return getTargetOfExportSpecifier(node, 111551 /* Value */ | 788968 /* Type */ | 1920 /* Namespace */, dontRecursivelyResolve); - case 277 /* ExportAssignment */: - case 226 /* BinaryExpression */: - return getTargetOfExportAssignment(node, dontRecursivelyResolve); - case 270 /* NamespaceExportDeclaration */: - return getTargetOfNamespaceExportDeclaration(node, dontRecursivelyResolve); - case 304 /* ShorthandPropertyAssignment */: - return resolveEntityName( - node.name, - 111551 /* Value */ | 788968 /* Type */ | 1920 /* Namespace */, - /*ignoreErrors*/ - true, - dontRecursivelyResolve - ); - case 303 /* PropertyAssignment */: - return getTargetOfAliasLikeExpression(node.initializer, dontRecursivelyResolve); - case 212 /* ElementAccessExpression */: - case 211 /* PropertyAccessExpression */: - return getTargetOfAccessExpression(node, dontRecursivelyResolve); - default: - return Debug.fail(); - } - } - function isNonLocalAlias(symbol, excludes = 111551 /* Value */ | 788968 /* Type */ | 1920 /* Namespace */) { - if (!symbol) return false; - return (symbol.flags & (2097152 /* Alias */ | excludes)) === 2097152 /* Alias */ || !!(symbol.flags & 2097152 /* Alias */ && symbol.flags & 67108864 /* Assignment */); - } - function resolveSymbol(symbol, dontResolveAlias) { - return !dontResolveAlias && isNonLocalAlias(symbol) ? resolveAlias(symbol) : symbol; - } - function resolveAlias(symbol) { - Debug.assert((symbol.flags & 2097152 /* Alias */) !== 0, "Should only get Alias here."); - const links = getSymbolLinks(symbol); - if (!links.aliasTarget) { - links.aliasTarget = resolvingSymbol; - const node = getDeclarationOfAliasSymbol(symbol); - if (!node) return Debug.fail(); - const target = getTargetOfAliasDeclaration(node); - if (links.aliasTarget === resolvingSymbol) { - links.aliasTarget = target || unknownSymbol; - } else { - error(node, Diagnostics.Circular_definition_of_import_alias_0, symbolToString(symbol)); - } - } else if (links.aliasTarget === resolvingSymbol) { - links.aliasTarget = unknownSymbol; - } - return links.aliasTarget; - } - function tryResolveAlias(symbol) { - const links = getSymbolLinks(symbol); - if (links.aliasTarget !== resolvingSymbol) { - return resolveAlias(symbol); - } - return void 0; - } - function getSymbolFlags(symbol, excludeTypeOnlyMeanings, excludeLocalMeanings) { - const typeOnlyDeclaration = excludeTypeOnlyMeanings && getTypeOnlyAliasDeclaration(symbol); - const typeOnlyDeclarationIsExportStar = typeOnlyDeclaration && isExportDeclaration(typeOnlyDeclaration); - const typeOnlyResolution = typeOnlyDeclaration && (typeOnlyDeclarationIsExportStar ? resolveExternalModuleName( - typeOnlyDeclaration.moduleSpecifier, - typeOnlyDeclaration.moduleSpecifier, - /*ignoreErrors*/ - true - ) : resolveAlias(typeOnlyDeclaration.symbol)); - const typeOnlyExportStarTargets = typeOnlyDeclarationIsExportStar && typeOnlyResolution ? getExportsOfModule(typeOnlyResolution) : void 0; - let flags = excludeLocalMeanings ? 0 /* None */ : symbol.flags; - let seenSymbols; - while (symbol.flags & 2097152 /* Alias */) { - const target = getExportSymbolOfValueSymbolIfExported(resolveAlias(symbol)); - if (!typeOnlyDeclarationIsExportStar && target === typeOnlyResolution || (typeOnlyExportStarTargets == null ? void 0 : typeOnlyExportStarTargets.get(target.escapedName)) === target) { - break; - } - if (target === unknownSymbol) { - return -1 /* All */; - } - if (target === symbol || (seenSymbols == null ? void 0 : seenSymbols.has(target))) { - break; - } - if (target.flags & 2097152 /* Alias */) { - if (seenSymbols) { - seenSymbols.add(target); - } else { - seenSymbols = /* @__PURE__ */ new Set([symbol, target]); - } - } - flags |= target.flags; - symbol = target; - } - return flags; - } - function markSymbolOfAliasDeclarationIfTypeOnly(aliasDeclaration, immediateTarget, finalTarget, overwriteEmpty, exportStarDeclaration, exportStarName) { - if (!aliasDeclaration || isPropertyAccessExpression(aliasDeclaration)) return false; - const sourceSymbol = getSymbolOfDeclaration(aliasDeclaration); - if (isTypeOnlyImportOrExportDeclaration(aliasDeclaration)) { - const links2 = getSymbolLinks(sourceSymbol); - links2.typeOnlyDeclaration = aliasDeclaration; - return true; - } - if (exportStarDeclaration) { - const links2 = getSymbolLinks(sourceSymbol); - links2.typeOnlyDeclaration = exportStarDeclaration; - if (sourceSymbol.escapedName !== exportStarName) { - links2.typeOnlyExportStarName = exportStarName; - } - return true; - } - const links = getSymbolLinks(sourceSymbol); - return markSymbolOfAliasDeclarationIfTypeOnlyWorker(links, immediateTarget, overwriteEmpty) || markSymbolOfAliasDeclarationIfTypeOnlyWorker(links, finalTarget, overwriteEmpty); - } - function markSymbolOfAliasDeclarationIfTypeOnlyWorker(aliasDeclarationLinks, target, overwriteEmpty) { - var _a; - if (target && (aliasDeclarationLinks.typeOnlyDeclaration === void 0 || overwriteEmpty && aliasDeclarationLinks.typeOnlyDeclaration === false)) { - const exportSymbol = ((_a = target.exports) == null ? void 0 : _a.get("export=" /* ExportEquals */)) ?? target; - const typeOnly = exportSymbol.declarations && find(exportSymbol.declarations, isTypeOnlyImportOrExportDeclaration); - aliasDeclarationLinks.typeOnlyDeclaration = typeOnly ?? getSymbolLinks(exportSymbol).typeOnlyDeclaration ?? false; - } - return !!aliasDeclarationLinks.typeOnlyDeclaration; - } - function getTypeOnlyAliasDeclaration(symbol, include) { - var _a; - if (!(symbol.flags & 2097152 /* Alias */)) { - return void 0; - } - const links = getSymbolLinks(symbol); - if (links.typeOnlyDeclaration === void 0) { - links.typeOnlyDeclaration = false; - const resolved = resolveSymbol(symbol); - markSymbolOfAliasDeclarationIfTypeOnly( - (_a = symbol.declarations) == null ? void 0 : _a[0], - getDeclarationOfAliasSymbol(symbol) && getImmediateAliasedSymbol(symbol), - resolved, - /*overwriteEmpty*/ - true - ); - } - if (include === void 0) { - return links.typeOnlyDeclaration || void 0; - } - if (links.typeOnlyDeclaration) { - const resolved = links.typeOnlyDeclaration.kind === 278 /* ExportDeclaration */ ? resolveSymbol(getExportsOfModule(links.typeOnlyDeclaration.symbol.parent).get(links.typeOnlyExportStarName || symbol.escapedName)) : resolveAlias(links.typeOnlyDeclaration.symbol); - return getSymbolFlags(resolved) & include ? links.typeOnlyDeclaration : void 0; - } - return void 0; - } - function getSymbolOfPartOfRightHandSideOfImportEquals(entityName, dontResolveAlias) { - if (entityName.kind === 80 /* Identifier */ && isRightSideOfQualifiedNameOrPropertyAccess(entityName)) { - entityName = entityName.parent; - } - if (entityName.kind === 80 /* Identifier */ || entityName.parent.kind === 166 /* QualifiedName */) { - return resolveEntityName( - entityName, - 1920 /* Namespace */, - /*ignoreErrors*/ - false, - dontResolveAlias - ); - } else { - Debug.assert(entityName.parent.kind === 271 /* ImportEqualsDeclaration */); - return resolveEntityName( - entityName, - 111551 /* Value */ | 788968 /* Type */ | 1920 /* Namespace */, - /*ignoreErrors*/ - false, - dontResolveAlias - ); - } - } - function getFullyQualifiedName(symbol, containingLocation) { - return symbol.parent ? getFullyQualifiedName(symbol.parent, containingLocation) + "." + symbolToString(symbol) : symbolToString( - symbol, - containingLocation, - /*meaning*/ - void 0, - 32 /* DoNotIncludeSymbolChain */ | 4 /* AllowAnyNodeKind */ - ); - } - function getContainingQualifiedNameNode(node) { - while (isQualifiedName(node.parent)) { - node = node.parent; - } - return node; - } - function tryGetQualifiedNameAsValue(node) { - let left = getFirstIdentifier(node); - let symbol = resolveName( - left, - left, - 111551 /* Value */, - /*nameNotFoundMessage*/ - void 0, - /*isUse*/ - true - ); - if (!symbol) { - return void 0; - } - while (isQualifiedName(left.parent)) { - const type = getTypeOfSymbol(symbol); - symbol = getPropertyOfType(type, left.parent.right.escapedText); - if (!symbol) { - return void 0; - } - left = left.parent; - } - return symbol; - } - function resolveEntityName(name, meaning, ignoreErrors, dontResolveAlias, location) { - if (nodeIsMissing(name)) { - return void 0; - } - const namespaceMeaning = 1920 /* Namespace */ | (isInJSFile(name) ? meaning & 111551 /* Value */ : 0); - let symbol; - if (name.kind === 80 /* Identifier */) { - const message = meaning === namespaceMeaning || nodeIsSynthesized(name) ? Diagnostics.Cannot_find_namespace_0 : getCannotFindNameDiagnosticForName(getFirstIdentifier(name)); - const symbolFromJSPrototype = isInJSFile(name) && !nodeIsSynthesized(name) ? resolveEntityNameFromAssignmentDeclaration(name, meaning) : void 0; - symbol = getMergedSymbol(resolveName( - location || name, - name, - meaning, - ignoreErrors || symbolFromJSPrototype ? void 0 : message, - /*isUse*/ - true, - /*excludeGlobals*/ - false - )); - if (!symbol) { - return getMergedSymbol(symbolFromJSPrototype); - } - } else if (name.kind === 166 /* QualifiedName */ || name.kind === 211 /* PropertyAccessExpression */) { - const left = name.kind === 166 /* QualifiedName */ ? name.left : name.expression; - const right = name.kind === 166 /* QualifiedName */ ? name.right : name.name; - let namespace = resolveEntityName( - left, - namespaceMeaning, - ignoreErrors, - /*dontResolveAlias*/ - false, - location - ); - if (!namespace || nodeIsMissing(right)) { - return void 0; - } else if (namespace === unknownSymbol) { - return namespace; - } - if (namespace.valueDeclaration && isInJSFile(namespace.valueDeclaration) && getEmitModuleResolutionKind(compilerOptions) !== 100 /* Bundler */ && isVariableDeclaration(namespace.valueDeclaration) && namespace.valueDeclaration.initializer && isCommonJsRequire(namespace.valueDeclaration.initializer)) { - const moduleName = namespace.valueDeclaration.initializer.arguments[0]; - const moduleSym = resolveExternalModuleName(moduleName, moduleName); - if (moduleSym) { - const resolvedModuleSymbol = resolveExternalModuleSymbol(moduleSym); - if (resolvedModuleSymbol) { - namespace = resolvedModuleSymbol; - } - } - } - symbol = getMergedSymbol(getSymbol(getExportsOfSymbol(namespace), right.escapedText, meaning)); - if (!symbol && namespace.flags & 2097152 /* Alias */) { - symbol = getMergedSymbol(getSymbol(getExportsOfSymbol(resolveAlias(namespace)), right.escapedText, meaning)); - } - if (!symbol) { - if (!ignoreErrors) { - const namespaceName = getFullyQualifiedName(namespace); - const declarationName = declarationNameToString(right); - const suggestionForNonexistentModule = getSuggestedSymbolForNonexistentModule(right, namespace); - if (suggestionForNonexistentModule) { - error(right, Diagnostics._0_has_no_exported_member_named_1_Did_you_mean_2, namespaceName, declarationName, symbolToString(suggestionForNonexistentModule)); - return void 0; - } - const containingQualifiedName = isQualifiedName(name) && getContainingQualifiedNameNode(name); - const canSuggestTypeof = globalObjectType && meaning & 788968 /* Type */ && containingQualifiedName && !isTypeOfExpression(containingQualifiedName.parent) && tryGetQualifiedNameAsValue(containingQualifiedName); - if (canSuggestTypeof) { - error( - containingQualifiedName, - Diagnostics._0_refers_to_a_value_but_is_being_used_as_a_type_here_Did_you_mean_typeof_0, - entityNameToString(containingQualifiedName) - ); - return void 0; - } - if (meaning & 1920 /* Namespace */ && isQualifiedName(name.parent)) { - const exportedTypeSymbol = getMergedSymbol(getSymbol(getExportsOfSymbol(namespace), right.escapedText, 788968 /* Type */)); - if (exportedTypeSymbol) { - error( - name.parent.right, - 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, - symbolToString(exportedTypeSymbol), - unescapeLeadingUnderscores(name.parent.right.escapedText) - ); - return void 0; - } - } - error(right, Diagnostics.Namespace_0_has_no_exported_member_1, namespaceName, declarationName); - } - return void 0; - } - } else { - Debug.assertNever(name, "Unknown entity name kind."); - } - if (!nodeIsSynthesized(name) && isEntityName(name) && (symbol.flags & 2097152 /* Alias */ || name.parent.kind === 277 /* ExportAssignment */)) { - markSymbolOfAliasDeclarationIfTypeOnly( - getAliasDeclarationFromName(name), - symbol, - /*finalTarget*/ - void 0, - /*overwriteEmpty*/ - true - ); - } - return symbol.flags & meaning || dontResolveAlias ? symbol : resolveAlias(symbol); - } - function resolveEntityNameFromAssignmentDeclaration(name, meaning) { - if (isJSDocTypeReference(name.parent)) { - const secondaryLocation = getAssignmentDeclarationLocation(name.parent); - if (secondaryLocation) { - return resolveName( - secondaryLocation, - name, - meaning, - /*nameNotFoundMessage*/ - void 0, - /*isUse*/ - true - ); - } - } - } - function getAssignmentDeclarationLocation(node) { - const typeAlias = findAncestor(node, (node2) => !(isJSDocNode(node2) || node2.flags & 16777216 /* JSDoc */) ? "quit" : isJSDocTypeAlias(node2)); - if (typeAlias) { - return; - } - const host2 = getJSDocHost(node); - if (host2 && isExpressionStatement(host2) && isPrototypePropertyAssignment(host2.expression)) { - const symbol = getSymbolOfDeclaration(host2.expression.left); - if (symbol) { - return getDeclarationOfJSPrototypeContainer(symbol); - } - } - if (host2 && isFunctionExpression(host2) && isPrototypePropertyAssignment(host2.parent) && isExpressionStatement(host2.parent.parent)) { - const symbol = getSymbolOfDeclaration(host2.parent.left); - if (symbol) { - return getDeclarationOfJSPrototypeContainer(symbol); - } - } - if (host2 && (isObjectLiteralMethod(host2) || isPropertyAssignment(host2)) && isBinaryExpression(host2.parent.parent) && getAssignmentDeclarationKind(host2.parent.parent) === 6 /* Prototype */) { - const symbol = getSymbolOfDeclaration(host2.parent.parent.left); - if (symbol) { - return getDeclarationOfJSPrototypeContainer(symbol); - } - } - const sig = getEffectiveJSDocHost(node); - if (sig && isFunctionLike(sig)) { - const symbol = getSymbolOfDeclaration(sig); - return symbol && symbol.valueDeclaration; - } - } - function getDeclarationOfJSPrototypeContainer(symbol) { - const decl = symbol.parent.valueDeclaration; - if (!decl) { - return void 0; - } - const initializer = isAssignmentDeclaration(decl) ? getAssignedExpandoInitializer(decl) : hasOnlyExpressionInitializer(decl) ? getDeclaredExpandoInitializer(decl) : void 0; - return initializer || decl; - } - function getExpandoSymbol(symbol) { - const decl = symbol.valueDeclaration; - if (!decl || !isInJSFile(decl) || symbol.flags & 524288 /* TypeAlias */ || getExpandoInitializer( - decl, - /*isPrototypeAssignment*/ - false - )) { - return void 0; - } - const init = isVariableDeclaration(decl) ? getDeclaredExpandoInitializer(decl) : getAssignedExpandoInitializer(decl); - if (init) { - const initSymbol = getSymbolOfNode(init); - if (initSymbol) { - return mergeJSSymbols(initSymbol, symbol); - } - } - } - function resolveExternalModuleName(location, moduleReferenceExpression, ignoreErrors) { - const isClassic = getEmitModuleResolutionKind(compilerOptions) === 1 /* Classic */; - const errorMessage = isClassic ? Diagnostics.Cannot_find_module_0_Did_you_mean_to_set_the_moduleResolution_option_to_nodenext_or_to_add_aliases_to_the_paths_option : Diagnostics.Cannot_find_module_0_or_its_corresponding_type_declarations; - return resolveExternalModuleNameWorker(location, moduleReferenceExpression, ignoreErrors ? void 0 : errorMessage, ignoreErrors); - } - function resolveExternalModuleNameWorker(location, moduleReferenceExpression, moduleNotFoundError, ignoreErrors = false, isForAugmentation = false) { - return isStringLiteralLike(moduleReferenceExpression) ? resolveExternalModule(location, moduleReferenceExpression.text, moduleNotFoundError, !ignoreErrors ? moduleReferenceExpression : void 0, isForAugmentation) : void 0; - } - function resolveExternalModule(location, moduleReference, moduleNotFoundError, errorNode, isForAugmentation = false) { - var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k; - if (errorNode && startsWith(moduleReference, "@types/")) { - const diag2 = Diagnostics.Cannot_import_type_declaration_files_Consider_importing_0_instead_of_1; - const withoutAtTypePrefix = removePrefix(moduleReference, "@types/"); - error(errorNode, diag2, withoutAtTypePrefix, moduleReference); - } - const ambientModule = tryFindAmbientModule( - moduleReference, - /*withAugmentations*/ - true - ); - if (ambientModule) { - return ambientModule; - } - const currentSourceFile = getSourceFileOfNode(location); - const contextSpecifier = isStringLiteralLike(location) ? location : ((_a = isModuleDeclaration(location) ? location : location.parent && isModuleDeclaration(location.parent) && location.parent.name === location ? location.parent : void 0) == null ? void 0 : _a.name) || ((_b = isLiteralImportTypeNode(location) ? location : void 0) == null ? void 0 : _b.argument.literal) || (isInJSFile(location) && isJSDocImportTag(location) ? location.moduleSpecifier : void 0) || (isVariableDeclaration(location) && location.initializer && isRequireCall( - location.initializer, - /*requireStringLiteralLikeArgument*/ - true - ) ? location.initializer.arguments[0] : void 0) || ((_c = findAncestor(location, isImportCall)) == null ? void 0 : _c.arguments[0]) || ((_d = findAncestor(location, isImportDeclaration)) == null ? void 0 : _d.moduleSpecifier) || ((_e = findAncestor(location, isExternalModuleImportEqualsDeclaration)) == null ? void 0 : _e.moduleReference.expression) || ((_f = findAncestor(location, isExportDeclaration)) == null ? void 0 : _f.moduleSpecifier); - const mode = contextSpecifier && isStringLiteralLike(contextSpecifier) ? host.getModeForUsageLocation(currentSourceFile, contextSpecifier) : host.getDefaultResolutionModeForFile(currentSourceFile); - const moduleResolutionKind = getEmitModuleResolutionKind(compilerOptions); - const resolvedModule = (_g = host.getResolvedModule(currentSourceFile, moduleReference, mode)) == null ? void 0 : _g.resolvedModule; - const resolutionDiagnostic = errorNode && resolvedModule && getResolutionDiagnostic(compilerOptions, resolvedModule, currentSourceFile); - const sourceFile = resolvedModule && (!resolutionDiagnostic || resolutionDiagnostic === Diagnostics.Module_0_was_resolved_to_1_but_jsx_is_not_set) && host.getSourceFile(resolvedModule.resolvedFileName); - if (sourceFile) { - if (resolutionDiagnostic) { - error(errorNode, resolutionDiagnostic, moduleReference, resolvedModule.resolvedFileName); - } - if (resolvedModule.resolvedUsingTsExtension && isDeclarationFileName(moduleReference)) { - const importOrExport = ((_h = findAncestor(location, isImportDeclaration)) == null ? void 0 : _h.importClause) || findAncestor(location, or(isImportEqualsDeclaration, isExportDeclaration)); - if (errorNode && importOrExport && !importOrExport.isTypeOnly || findAncestor(location, isImportCall)) { - error( - errorNode, - Diagnostics.A_declaration_file_cannot_be_imported_without_import_type_Did_you_mean_to_import_an_implementation_file_0_instead, - getSuggestedImportSource(Debug.checkDefined(tryExtractTSExtension(moduleReference))) - ); - } - } else if (resolvedModule.resolvedUsingTsExtension && !shouldAllowImportingTsExtension(compilerOptions, currentSourceFile.fileName)) { - const importOrExport = ((_i = findAncestor(location, isImportDeclaration)) == null ? void 0 : _i.importClause) || findAncestor(location, or(isImportEqualsDeclaration, isExportDeclaration)); - if (errorNode && !((importOrExport == null ? void 0 : importOrExport.isTypeOnly) || findAncestor(location, isImportTypeNode))) { - const tsExtension = Debug.checkDefined(tryExtractTSExtension(moduleReference)); - error(errorNode, Diagnostics.An_import_path_can_only_end_with_a_0_extension_when_allowImportingTsExtensions_is_enabled, tsExtension); - } - } - if (sourceFile.symbol) { - if (errorNode && resolvedModule.isExternalLibraryImport && !resolutionExtensionIsTSOrJson(resolvedModule.extension)) { - errorOnImplicitAnyModule( - /*isError*/ - false, - errorNode, - currentSourceFile, - mode, - resolvedModule, - moduleReference - ); - } - if (errorNode && (moduleResolutionKind === 3 /* Node16 */ || moduleResolutionKind === 99 /* NodeNext */)) { - const isSyncImport = currentSourceFile.impliedNodeFormat === 1 /* CommonJS */ && !findAncestor(location, isImportCall) || !!findAncestor(location, isImportEqualsDeclaration); - const overrideHost = findAncestor(location, (l) => isImportTypeNode(l) || isExportDeclaration(l) || isImportDeclaration(l) || isJSDocImportTag(l)); - if (isSyncImport && sourceFile.impliedNodeFormat === 99 /* ESNext */ && !hasResolutionModeOverride(overrideHost)) { - if (findAncestor(location, isImportEqualsDeclaration)) { - error(errorNode, Diagnostics.Module_0_cannot_be_imported_using_this_construct_The_specifier_only_resolves_to_an_ES_module_which_cannot_be_imported_with_require_Use_an_ECMAScript_import_instead, moduleReference); - } else { - let diagnosticDetails; - const ext = tryGetExtensionFromPath2(currentSourceFile.fileName); - if (ext === ".ts" /* Ts */ || ext === ".js" /* Js */ || ext === ".tsx" /* Tsx */ || ext === ".jsx" /* Jsx */) { - diagnosticDetails = createModeMismatchDetails(currentSourceFile); - } - diagnostics.add(createDiagnosticForNodeFromMessageChain( - getSourceFileOfNode(errorNode), - errorNode, - chainDiagnosticMessages( - diagnosticDetails, - Diagnostics.The_current_file_is_a_CommonJS_module_whose_imports_will_produce_require_calls_however_the_referenced_file_is_an_ECMAScript_module_and_cannot_be_imported_with_require_Consider_writing_a_dynamic_import_0_call_instead, - moduleReference - ) - )); - } - } - } - return getMergedSymbol(sourceFile.symbol); - } - if (errorNode && moduleNotFoundError && !isSideEffectImport(errorNode)) { - error(errorNode, Diagnostics.File_0_is_not_a_module, sourceFile.fileName); - } - return void 0; - } - if (patternAmbientModules) { - const pattern = findBestPatternMatch(patternAmbientModules, (_) => _.pattern, moduleReference); - if (pattern) { - const augmentation = patternAmbientModuleAugmentations && patternAmbientModuleAugmentations.get(moduleReference); - if (augmentation) { - return getMergedSymbol(augmentation); - } - return getMergedSymbol(pattern.symbol); - } - } - if (!errorNode) { - return void 0; - } - if (resolvedModule && !resolutionExtensionIsTSOrJson(resolvedModule.extension) && resolutionDiagnostic === void 0 || resolutionDiagnostic === Diagnostics.Could_not_find_a_declaration_file_for_module_0_1_implicitly_has_an_any_type) { - if (isForAugmentation) { - const diag2 = Diagnostics.Invalid_module_name_in_augmentation_Module_0_resolves_to_an_untyped_module_at_1_which_cannot_be_augmented; - error(errorNode, diag2, moduleReference, resolvedModule.resolvedFileName); - } else { - errorOnImplicitAnyModule( - /*isError*/ - noImplicitAny && !!moduleNotFoundError, - errorNode, - currentSourceFile, - mode, - resolvedModule, - moduleReference - ); - } - return void 0; - } - if (moduleNotFoundError) { - if (resolvedModule) { - const redirect = host.getProjectReferenceRedirect(resolvedModule.resolvedFileName); - if (redirect) { - error(errorNode, Diagnostics.Output_file_0_has_not_been_built_from_source_file_1, redirect, resolvedModule.resolvedFileName); - return void 0; - } - } - if (resolutionDiagnostic) { - error(errorNode, resolutionDiagnostic, moduleReference, resolvedModule.resolvedFileName); - } else { - const isExtensionlessRelativePathImport = pathIsRelative(moduleReference) && !hasExtension(moduleReference); - const resolutionIsNode16OrNext = moduleResolutionKind === 3 /* Node16 */ || moduleResolutionKind === 99 /* NodeNext */; - if (!getResolveJsonModule(compilerOptions) && fileExtensionIs(moduleReference, ".json" /* Json */) && moduleResolutionKind !== 1 /* Classic */ && hasJsonModuleEmitEnabled(compilerOptions)) { - error(errorNode, Diagnostics.Cannot_find_module_0_Consider_using_resolveJsonModule_to_import_module_with_json_extension, moduleReference); - } else if (mode === 99 /* ESNext */ && resolutionIsNode16OrNext && isExtensionlessRelativePathImport) { - const absoluteRef = getNormalizedAbsolutePath(moduleReference, getDirectoryPath(currentSourceFile.path)); - const suggestedExt = (_j = suggestedExtensions.find(([actualExt, _importExt]) => host.fileExists(absoluteRef + actualExt))) == null ? void 0 : _j[1]; - if (suggestedExt) { - error(errorNode, Diagnostics.Relative_import_paths_need_explicit_file_extensions_in_ECMAScript_imports_when_moduleResolution_is_node16_or_nodenext_Did_you_mean_0, moduleReference + suggestedExt); - } else { - error(errorNode, Diagnostics.Relative_import_paths_need_explicit_file_extensions_in_ECMAScript_imports_when_moduleResolution_is_node16_or_nodenext_Consider_adding_an_extension_to_the_import_path); - } - } else { - if ((_k = host.getResolvedModule(currentSourceFile, moduleReference, mode)) == null ? void 0 : _k.alternateResult) { - const errorInfo = createModuleNotFoundChain(currentSourceFile, host, moduleReference, mode, moduleReference); - errorOrSuggestion( - /*isError*/ - true, - errorNode, - chainDiagnosticMessages(errorInfo, moduleNotFoundError, moduleReference) - ); - } else { - error(errorNode, moduleNotFoundError, moduleReference); - } - } - } - } - return void 0; - function getSuggestedImportSource(tsExtension) { - const importSourceWithoutExtension = removeExtension(moduleReference, tsExtension); - if (emitModuleKindIsNonNodeESM(moduleKind) || mode === 99 /* ESNext */) { - const preferTs = isDeclarationFileName(moduleReference) && shouldAllowImportingTsExtension(compilerOptions); - const ext = tsExtension === ".mts" /* Mts */ || tsExtension === ".d.mts" /* Dmts */ ? preferTs ? ".mts" : ".mjs" : tsExtension === ".cts" /* Cts */ || tsExtension === ".d.mts" /* Dmts */ ? preferTs ? ".cts" : ".cjs" : preferTs ? ".ts" : ".js"; - return importSourceWithoutExtension + ext; - } - return importSourceWithoutExtension; - } - } - function errorOnImplicitAnyModule(isError, errorNode, sourceFile, mode, { packageId, resolvedFileName }, moduleReference) { - if (isSideEffectImport(errorNode)) { - return; - } - let errorInfo; - if (!isExternalModuleNameRelative(moduleReference) && packageId) { - errorInfo = createModuleNotFoundChain(sourceFile, host, moduleReference, mode, packageId.name); - } - errorOrSuggestion( - isError, - errorNode, - chainDiagnosticMessages( - errorInfo, - Diagnostics.Could_not_find_a_declaration_file_for_module_0_1_implicitly_has_an_any_type, - moduleReference, - resolvedFileName - ) - ); - } - function resolveExternalModuleSymbol(moduleSymbol, dontResolveAlias) { - if (moduleSymbol == null ? void 0 : moduleSymbol.exports) { - const exportEquals = resolveSymbol(moduleSymbol.exports.get("export=" /* ExportEquals */), dontResolveAlias); - const exported = getCommonJsExportEquals(getMergedSymbol(exportEquals), getMergedSymbol(moduleSymbol)); - return getMergedSymbol(exported) || moduleSymbol; - } - return void 0; - } - function getCommonJsExportEquals(exported, moduleSymbol) { - if (!exported || exported === unknownSymbol || exported === moduleSymbol || moduleSymbol.exports.size === 1 || exported.flags & 2097152 /* Alias */) { - return exported; - } - const links = getSymbolLinks(exported); - if (links.cjsExportMerged) { - return links.cjsExportMerged; - } - const merged = exported.flags & 33554432 /* Transient */ ? exported : cloneSymbol(exported); - merged.flags = merged.flags | 512 /* ValueModule */; - if (merged.exports === void 0) { - merged.exports = createSymbolTable(); - } - moduleSymbol.exports.forEach((s, name) => { - if (name === "export=" /* ExportEquals */) return; - merged.exports.set(name, merged.exports.has(name) ? mergeSymbol(merged.exports.get(name), s) : s); - }); - if (merged === exported) { - getSymbolLinks(merged).resolvedExports = void 0; - getSymbolLinks(merged).resolvedMembers = void 0; - } - getSymbolLinks(merged).cjsExportMerged = merged; - return links.cjsExportMerged = merged; - } - function resolveESModuleSymbol(moduleSymbol, referencingLocation, dontResolveAlias, suppressInteropError) { - var _a; - const symbol = resolveExternalModuleSymbol(moduleSymbol, dontResolveAlias); - if (!dontResolveAlias && symbol) { - if (!suppressInteropError && !(symbol.flags & (1536 /* Module */ | 3 /* Variable */)) && !getDeclarationOfKind(symbol, 307 /* SourceFile */)) { - const compilerOptionName = moduleKind >= 5 /* ES2015 */ ? "allowSyntheticDefaultImports" : "esModuleInterop"; - error(referencingLocation, Diagnostics.This_module_can_only_be_referenced_with_ECMAScript_imports_Slashexports_by_turning_on_the_0_flag_and_referencing_its_default_export, compilerOptionName); - return symbol; - } - const referenceParent = referencingLocation.parent; - if (isImportDeclaration(referenceParent) && getNamespaceDeclarationNode(referenceParent) || isImportCall(referenceParent)) { - const reference = isImportCall(referenceParent) ? referenceParent.arguments[0] : referenceParent.moduleSpecifier; - const type = getTypeOfSymbol(symbol); - const defaultOnlyType = getTypeWithSyntheticDefaultOnly(type, symbol, moduleSymbol, reference); - if (defaultOnlyType) { - return cloneTypeAsModuleType(symbol, defaultOnlyType, referenceParent); - } - const targetFile = (_a = moduleSymbol == null ? void 0 : moduleSymbol.declarations) == null ? void 0 : _a.find(isSourceFile); - const isEsmCjsRef = targetFile && isESMFormatImportImportingCommonjsFormatFile(getEmitSyntaxForModuleSpecifierExpression(reference), host.getImpliedNodeFormatForEmit(targetFile)); - if (getESModuleInterop(compilerOptions) || isEsmCjsRef) { - let sigs = getSignaturesOfStructuredType(type, 0 /* Call */); - if (!sigs || !sigs.length) { - sigs = getSignaturesOfStructuredType(type, 1 /* Construct */); - } - if (sigs && sigs.length || getPropertyOfType( - type, - "default" /* Default */, - /*skipObjectFunctionPropertyAugment*/ - true - ) || isEsmCjsRef) { - const moduleType = type.flags & 3670016 /* StructuredType */ ? getTypeWithSyntheticDefaultImportType(type, symbol, moduleSymbol, reference) : createDefaultPropertyWrapperForModule(symbol, symbol.parent); - return cloneTypeAsModuleType(symbol, moduleType, referenceParent); - } - } - } - } - return symbol; - } - function cloneTypeAsModuleType(symbol, moduleType, referenceParent) { - const result = createSymbol(symbol.flags, symbol.escapedName); - result.declarations = symbol.declarations ? symbol.declarations.slice() : []; - result.parent = symbol.parent; - result.links.target = symbol; - result.links.originatingImport = referenceParent; - if (symbol.valueDeclaration) result.valueDeclaration = symbol.valueDeclaration; - if (symbol.constEnumOnlyModule) result.constEnumOnlyModule = true; - if (symbol.members) result.members = new Map(symbol.members); - if (symbol.exports) result.exports = new Map(symbol.exports); - const resolvedModuleType = resolveStructuredTypeMembers(moduleType); - result.links.type = createAnonymousType(result, resolvedModuleType.members, emptyArray, emptyArray, resolvedModuleType.indexInfos); - return result; - } - function hasExportAssignmentSymbol(moduleSymbol) { - return moduleSymbol.exports.get("export=" /* ExportEquals */) !== void 0; - } - function getExportsOfModuleAsArray(moduleSymbol) { - return symbolsToArray(getExportsOfModule(moduleSymbol)); - } - function getExportsAndPropertiesOfModule(moduleSymbol) { - const exports2 = getExportsOfModuleAsArray(moduleSymbol); - const exportEquals = resolveExternalModuleSymbol(moduleSymbol); - if (exportEquals !== moduleSymbol) { - const type = getTypeOfSymbol(exportEquals); - if (shouldTreatPropertiesOfExternalModuleAsExports(type)) { - addRange(exports2, getPropertiesOfType(type)); - } - } - return exports2; - } - function forEachExportAndPropertyOfModule(moduleSymbol, cb) { - const exports2 = getExportsOfModule(moduleSymbol); - exports2.forEach((symbol, key) => { - if (!isReservedMemberName(key)) { - cb(symbol, key); - } - }); - const exportEquals = resolveExternalModuleSymbol(moduleSymbol); - if (exportEquals !== moduleSymbol) { - const type = getTypeOfSymbol(exportEquals); - if (shouldTreatPropertiesOfExternalModuleAsExports(type)) { - forEachPropertyOfType(type, (symbol, escapedName) => { - cb(symbol, escapedName); - }); - } - } - } - function tryGetMemberInModuleExports(memberName, moduleSymbol) { - const symbolTable = getExportsOfModule(moduleSymbol); - if (symbolTable) { - return symbolTable.get(memberName); - } - } - function tryGetMemberInModuleExportsAndProperties(memberName, moduleSymbol) { - const symbol = tryGetMemberInModuleExports(memberName, moduleSymbol); - if (symbol) { - return symbol; - } - const exportEquals = resolveExternalModuleSymbol(moduleSymbol); - if (exportEquals === moduleSymbol) { - return void 0; - } - const type = getTypeOfSymbol(exportEquals); - return shouldTreatPropertiesOfExternalModuleAsExports(type) ? getPropertyOfType(type, memberName) : void 0; - } - function shouldTreatPropertiesOfExternalModuleAsExports(resolvedExternalModuleType) { - return !(resolvedExternalModuleType.flags & 402784252 /* Primitive */ || getObjectFlags(resolvedExternalModuleType) & 1 /* Class */ || // `isArrayOrTupleLikeType` is too expensive to use in this auto-imports hot path - isArrayType(resolvedExternalModuleType) || isTupleType(resolvedExternalModuleType)); - } - function getExportsOfSymbol(symbol) { - return symbol.flags & 6256 /* LateBindingContainer */ ? getResolvedMembersOrExportsOfSymbol(symbol, "resolvedExports" /* resolvedExports */) : symbol.flags & 1536 /* Module */ ? getExportsOfModule(symbol) : symbol.exports || emptySymbols; - } - function getExportsOfModule(moduleSymbol) { - const links = getSymbolLinks(moduleSymbol); - if (!links.resolvedExports) { - const { exports: exports2, typeOnlyExportStarMap } = getExportsOfModuleWorker(moduleSymbol); - links.resolvedExports = exports2; - links.typeOnlyExportStarMap = typeOnlyExportStarMap; - } - return links.resolvedExports; - } - function extendExportSymbols(target, source, lookupTable, exportNode) { - if (!source) return; - source.forEach((sourceSymbol, id) => { - if (id === "default" /* Default */) return; - const targetSymbol = target.get(id); - if (!targetSymbol) { - target.set(id, sourceSymbol); - if (lookupTable && exportNode) { - lookupTable.set(id, { - specifierText: getTextOfNode(exportNode.moduleSpecifier) - }); - } - } else if (lookupTable && exportNode && targetSymbol && resolveSymbol(targetSymbol) !== resolveSymbol(sourceSymbol)) { - const collisionTracker = lookupTable.get(id); - if (!collisionTracker.exportsWithDuplicate) { - collisionTracker.exportsWithDuplicate = [exportNode]; - } else { - collisionTracker.exportsWithDuplicate.push(exportNode); - } - } - }); - } - function getExportsOfModuleWorker(moduleSymbol) { - const visitedSymbols = []; - let typeOnlyExportStarMap; - const nonTypeOnlyNames = /* @__PURE__ */ new Set(); - moduleSymbol = resolveExternalModuleSymbol(moduleSymbol); - const exports2 = visit(moduleSymbol) || emptySymbols; - if (typeOnlyExportStarMap) { - nonTypeOnlyNames.forEach((name) => typeOnlyExportStarMap.delete(name)); - } - return { - exports: exports2, - typeOnlyExportStarMap - }; - function visit(symbol, exportStar, isTypeOnly) { - if (!isTypeOnly && (symbol == null ? void 0 : symbol.exports)) { - symbol.exports.forEach((_, name) => nonTypeOnlyNames.add(name)); - } - if (!(symbol && symbol.exports && pushIfUnique(visitedSymbols, symbol))) { - return; - } - const symbols = new Map(symbol.exports); - const exportStars = symbol.exports.get("__export" /* ExportStar */); - if (exportStars) { - const nestedSymbols = createSymbolTable(); - const lookupTable = /* @__PURE__ */ new Map(); - if (exportStars.declarations) { - for (const node of exportStars.declarations) { - const resolvedModule = resolveExternalModuleName(node, node.moduleSpecifier); - const exportedSymbols = visit(resolvedModule, node, isTypeOnly || node.isTypeOnly); - extendExportSymbols( - nestedSymbols, - exportedSymbols, - lookupTable, - node - ); - } - } - lookupTable.forEach(({ exportsWithDuplicate }, id) => { - if (id === "export=" || !(exportsWithDuplicate && exportsWithDuplicate.length) || symbols.has(id)) { - return; - } - for (const node of exportsWithDuplicate) { - diagnostics.add(createDiagnosticForNode( - node, - Diagnostics.Module_0_has_already_exported_a_member_named_1_Consider_explicitly_re_exporting_to_resolve_the_ambiguity, - lookupTable.get(id).specifierText, - unescapeLeadingUnderscores(id) - )); - } - }); - extendExportSymbols(symbols, nestedSymbols); - } - if (exportStar == null ? void 0 : exportStar.isTypeOnly) { - typeOnlyExportStarMap ?? (typeOnlyExportStarMap = /* @__PURE__ */ new Map()); - symbols.forEach( - (_, escapedName) => typeOnlyExportStarMap.set( - escapedName, - exportStar - ) - ); - } - return symbols; - } - } - function getMergedSymbol(symbol) { - let merged; - return symbol && symbol.mergeId && (merged = mergedSymbols[symbol.mergeId]) ? merged : symbol; - } - function getSymbolOfDeclaration(node) { - return getMergedSymbol(node.symbol && getLateBoundSymbol(node.symbol)); - } - function getSymbolOfNode(node) { - return canHaveSymbol(node) ? getSymbolOfDeclaration(node) : void 0; - } - function getParentOfSymbol(symbol) { - return getMergedSymbol(symbol.parent && getLateBoundSymbol(symbol.parent)); - } - function getFunctionExpressionParentSymbolOrSymbol(symbol) { - var _a, _b; - return ((_a = symbol.valueDeclaration) == null ? void 0 : _a.kind) === 219 /* ArrowFunction */ || ((_b = symbol.valueDeclaration) == null ? void 0 : _b.kind) === 218 /* FunctionExpression */ ? getSymbolOfNode(symbol.valueDeclaration.parent) || symbol : symbol; - } - function getAlternativeContainingModules(symbol, enclosingDeclaration) { - const containingFile = getSourceFileOfNode(enclosingDeclaration); - const id = getNodeId(containingFile); - const links = getSymbolLinks(symbol); - let results; - if (links.extendedContainersByFile && (results = links.extendedContainersByFile.get(id))) { - return results; - } - if (containingFile && containingFile.imports) { - for (const importRef of containingFile.imports) { - if (nodeIsSynthesized(importRef)) continue; - const resolvedModule = resolveExternalModuleName( - enclosingDeclaration, - importRef, - /*ignoreErrors*/ - true - ); - if (!resolvedModule) continue; - const ref = getAliasForSymbolInContainer(resolvedModule, symbol); - if (!ref) continue; - results = append(results, resolvedModule); - } - if (length(results)) { - (links.extendedContainersByFile || (links.extendedContainersByFile = /* @__PURE__ */ new Map())).set(id, results); - return results; - } - } - if (links.extendedContainers) { - return links.extendedContainers; - } - const otherFiles = host.getSourceFiles(); - for (const file of otherFiles) { - if (!isExternalModule(file)) continue; - const sym = getSymbolOfDeclaration(file); - const ref = getAliasForSymbolInContainer(sym, symbol); - if (!ref) continue; - results = append(results, sym); - } - return links.extendedContainers = results || emptyArray; - } - function getContainersOfSymbol(symbol, enclosingDeclaration, meaning) { - const container = getParentOfSymbol(symbol); - if (container && !(symbol.flags & 262144 /* TypeParameter */)) { - return getWithAlternativeContainers(container); - } - const candidates = mapDefined(symbol.declarations, (d) => { - if (!isAmbientModule(d) && d.parent) { - if (hasNonGlobalAugmentationExternalModuleSymbol(d.parent)) { - return getSymbolOfDeclaration(d.parent); - } - if (isModuleBlock(d.parent) && d.parent.parent && resolveExternalModuleSymbol(getSymbolOfDeclaration(d.parent.parent)) === symbol) { - return getSymbolOfDeclaration(d.parent.parent); - } - } - if (isClassExpression(d) && isBinaryExpression(d.parent) && d.parent.operatorToken.kind === 64 /* EqualsToken */ && isAccessExpression(d.parent.left) && isEntityNameExpression(d.parent.left.expression)) { - if (isModuleExportsAccessExpression(d.parent.left) || isExportsIdentifier(d.parent.left.expression)) { - return getSymbolOfDeclaration(getSourceFileOfNode(d)); - } - checkExpressionCached(d.parent.left.expression); - return getNodeLinks(d.parent.left.expression).resolvedSymbol; - } - }); - if (!length(candidates)) { - return void 0; - } - const containers = mapDefined(candidates, (candidate) => getAliasForSymbolInContainer(candidate, symbol) ? candidate : void 0); - let bestContainers = []; - let alternativeContainers = []; - for (const container2 of containers) { - const [bestMatch, ...rest] = getWithAlternativeContainers(container2); - bestContainers = append(bestContainers, bestMatch); - alternativeContainers = addRange(alternativeContainers, rest); - } - return concatenate(bestContainers, alternativeContainers); - function getWithAlternativeContainers(container2) { - const additionalContainers = mapDefined(container2.declarations, fileSymbolIfFileSymbolExportEqualsContainer); - const reexportContainers = enclosingDeclaration && getAlternativeContainingModules(symbol, enclosingDeclaration); - const objectLiteralContainer = getVariableDeclarationOfObjectLiteral(container2, meaning); - if (enclosingDeclaration && container2.flags & getQualifiedLeftMeaning(meaning) && getAccessibleSymbolChain( - container2, - enclosingDeclaration, - 1920 /* Namespace */, - /*useOnlyExternalAliasing*/ - false - )) { - return append(concatenate(concatenate([container2], additionalContainers), reexportContainers), objectLiteralContainer); - } - const firstVariableMatch = !(container2.flags & getQualifiedLeftMeaning(meaning)) && container2.flags & 788968 /* Type */ && getDeclaredTypeOfSymbol(container2).flags & 524288 /* Object */ && meaning === 111551 /* Value */ ? forEachSymbolTableInScope(enclosingDeclaration, (t) => { - return forEachEntry(t, (s) => { - if (s.flags & getQualifiedLeftMeaning(meaning) && getTypeOfSymbol(s) === getDeclaredTypeOfSymbol(container2)) { - return s; - } - }); - }) : void 0; - let res = firstVariableMatch ? [firstVariableMatch, ...additionalContainers, container2] : [...additionalContainers, container2]; - res = append(res, objectLiteralContainer); - res = addRange(res, reexportContainers); - return res; - } - function fileSymbolIfFileSymbolExportEqualsContainer(d) { - return container && getFileSymbolIfFileSymbolExportEqualsContainer(d, container); - } - } - function getVariableDeclarationOfObjectLiteral(symbol, meaning) { - const firstDecl = !!length(symbol.declarations) && first(symbol.declarations); - if (meaning & 111551 /* Value */ && firstDecl && firstDecl.parent && isVariableDeclaration(firstDecl.parent)) { - if (isObjectLiteralExpression(firstDecl) && firstDecl === firstDecl.parent.initializer || isTypeLiteralNode(firstDecl) && firstDecl === firstDecl.parent.type) { - return getSymbolOfDeclaration(firstDecl.parent); - } - } - } - function getFileSymbolIfFileSymbolExportEqualsContainer(d, container) { - const fileSymbol = getExternalModuleContainer(d); - const exported = fileSymbol && fileSymbol.exports && fileSymbol.exports.get("export=" /* ExportEquals */); - return exported && getSymbolIfSameReference(exported, container) ? fileSymbol : void 0; - } - function getAliasForSymbolInContainer(container, symbol) { - if (container === getParentOfSymbol(symbol)) { - return symbol; - } - const exportEquals = container.exports && container.exports.get("export=" /* ExportEquals */); - if (exportEquals && getSymbolIfSameReference(exportEquals, symbol)) { - return container; - } - const exports2 = getExportsOfSymbol(container); - const quick = exports2.get(symbol.escapedName); - if (quick && getSymbolIfSameReference(quick, symbol)) { - return quick; - } - return forEachEntry(exports2, (exported) => { - if (getSymbolIfSameReference(exported, symbol)) { - return exported; - } - }); - } - function getSymbolIfSameReference(s1, s2) { - if (getMergedSymbol(resolveSymbol(getMergedSymbol(s1))) === getMergedSymbol(resolveSymbol(getMergedSymbol(s2)))) { - return s1; - } - } - function getExportSymbolOfValueSymbolIfExported(symbol) { - return getMergedSymbol(symbol && (symbol.flags & 1048576 /* ExportValue */) !== 0 && symbol.exportSymbol || symbol); - } - function symbolIsValue(symbol, includeTypeOnlyMembers) { - return !!(symbol.flags & 111551 /* Value */ || symbol.flags & 2097152 /* Alias */ && getSymbolFlags(symbol, !includeTypeOnlyMembers) & 111551 /* Value */); - } - function createType(flags) { - var _a; - const result = new Type7(checker, flags); - typeCount++; - result.id = typeCount; - (_a = tracing) == null ? void 0 : _a.recordType(result); - return result; - } - function createTypeWithSymbol(flags, symbol) { - const result = createType(flags); - result.symbol = symbol; - return result; - } - function createOriginType(flags) { - return new Type7(checker, flags); - } - function createIntrinsicType(kind, intrinsicName, objectFlags = 0 /* None */, debugIntrinsicName) { - checkIntrinsicName(intrinsicName, debugIntrinsicName); - const type = createType(kind); - type.intrinsicName = intrinsicName; - type.debugIntrinsicName = debugIntrinsicName; - type.objectFlags = objectFlags | 524288 /* CouldContainTypeVariablesComputed */ | 2097152 /* IsGenericTypeComputed */ | 33554432 /* IsUnknownLikeUnionComputed */ | 16777216 /* IsNeverIntersectionComputed */; - return type; - } - function checkIntrinsicName(name, debug) { - const key = `${name},${debug ?? ""}`; - if (seenIntrinsicNames.has(key)) { - Debug.fail(`Duplicate intrinsic type name ${name}${debug ? ` (${debug})` : ""}; you may need to pass a name to createIntrinsicType.`); - } - seenIntrinsicNames.add(key); - } - function createObjectType(objectFlags, symbol) { - const type = createTypeWithSymbol(524288 /* Object */, symbol); - type.objectFlags = objectFlags; - type.members = void 0; - type.properties = void 0; - type.callSignatures = void 0; - type.constructSignatures = void 0; - type.indexInfos = void 0; - return type; - } - function createTypeofType() { - return getUnionType(arrayFrom(typeofNEFacts.keys(), getStringLiteralType)); - } - function createTypeParameter(symbol) { - return createTypeWithSymbol(262144 /* TypeParameter */, symbol); - } - function isReservedMemberName(name) { - return name.charCodeAt(0) === 95 /* _ */ && name.charCodeAt(1) === 95 /* _ */ && name.charCodeAt(2) !== 95 /* _ */ && name.charCodeAt(2) !== 64 /* at */ && name.charCodeAt(2) !== 35 /* hash */; - } - function getNamedMembers(members) { - let result; - members.forEach((symbol, id) => { - if (isNamedMember(symbol, id)) { - (result || (result = [])).push(symbol); - } - }); - return result || emptyArray; - } - function isNamedMember(member, escapedName) { - return !isReservedMemberName(escapedName) && symbolIsValue(member); - } - function getNamedOrIndexSignatureMembers(members) { - const result = getNamedMembers(members); - const index = getIndexSymbolFromSymbolTable(members); - return index ? concatenate(result, [index]) : result; - } - function setStructuredTypeMembers(type, members, callSignatures, constructSignatures, indexInfos) { - const resolved = type; - resolved.members = members; - resolved.properties = emptyArray; - resolved.callSignatures = callSignatures; - resolved.constructSignatures = constructSignatures; - resolved.indexInfos = indexInfos; - if (members !== emptySymbols) resolved.properties = getNamedMembers(members); - return resolved; - } - function createAnonymousType(symbol, members, callSignatures, constructSignatures, indexInfos) { - return setStructuredTypeMembers(createObjectType(16 /* Anonymous */, symbol), members, callSignatures, constructSignatures, indexInfos); - } - function getResolvedTypeWithoutAbstractConstructSignatures(type) { - if (type.constructSignatures.length === 0) return type; - if (type.objectTypeWithoutAbstractConstructSignatures) return type.objectTypeWithoutAbstractConstructSignatures; - const constructSignatures = filter(type.constructSignatures, (signature) => !(signature.flags & 4 /* Abstract */)); - if (type.constructSignatures === constructSignatures) return type; - const typeCopy = createAnonymousType( - type.symbol, - type.members, - type.callSignatures, - some(constructSignatures) ? constructSignatures : emptyArray, - type.indexInfos - ); - type.objectTypeWithoutAbstractConstructSignatures = typeCopy; - typeCopy.objectTypeWithoutAbstractConstructSignatures = typeCopy; - return typeCopy; - } - function forEachSymbolTableInScope(enclosingDeclaration, callback) { - let result; - for (let location = enclosingDeclaration; location; location = location.parent) { - if (canHaveLocals(location) && location.locals && !isGlobalSourceFile(location)) { - if (result = callback( - location.locals, - /*ignoreQualification*/ - void 0, - /*isLocalNameLookup*/ - true, - location - )) { - return result; - } - } - switch (location.kind) { - case 307 /* SourceFile */: - if (!isExternalOrCommonJsModule(location)) { - break; - } - case 267 /* ModuleDeclaration */: - const sym = getSymbolOfDeclaration(location); - if (result = callback( - (sym == null ? void 0 : sym.exports) || emptySymbols, - /*ignoreQualification*/ - void 0, - /*isLocalNameLookup*/ - true, - location - )) { - return result; - } - break; - case 263 /* ClassDeclaration */: - case 231 /* ClassExpression */: - case 264 /* InterfaceDeclaration */: - let table; - (getSymbolOfDeclaration(location).members || emptySymbols).forEach((memberSymbol, key) => { - if (memberSymbol.flags & (788968 /* Type */ & ~67108864 /* Assignment */)) { - (table || (table = createSymbolTable())).set(key, memberSymbol); - } - }); - if (table && (result = callback( - table, - /*ignoreQualification*/ - void 0, - /*isLocalNameLookup*/ - false, - location - ))) { - return result; - } - break; - } - } - return callback( - globals, - /*ignoreQualification*/ - void 0, - /*isLocalNameLookup*/ - true - ); - } - function getQualifiedLeftMeaning(rightMeaning) { - return rightMeaning === 111551 /* Value */ ? 111551 /* Value */ : 1920 /* Namespace */; - } - function getAccessibleSymbolChain(symbol, enclosingDeclaration, meaning, useOnlyExternalAliasing, visitedSymbolTablesMap = /* @__PURE__ */ new Map()) { - if (!(symbol && !isPropertyOrMethodDeclarationSymbol(symbol))) { - return void 0; - } - const links = getSymbolLinks(symbol); - const cache = links.accessibleChainCache || (links.accessibleChainCache = /* @__PURE__ */ new Map()); - const firstRelevantLocation = forEachSymbolTableInScope(enclosingDeclaration, (_, __, ___, node) => node); - const key = `${useOnlyExternalAliasing ? 0 : 1}|${firstRelevantLocation && getNodeId(firstRelevantLocation)}|${meaning}`; - if (cache.has(key)) { - return cache.get(key); - } - const id = getSymbolId(symbol); - let visitedSymbolTables = visitedSymbolTablesMap.get(id); - if (!visitedSymbolTables) { - visitedSymbolTablesMap.set(id, visitedSymbolTables = []); - } - const result = forEachSymbolTableInScope(enclosingDeclaration, getAccessibleSymbolChainFromSymbolTable); - cache.set(key, result); - return result; - function getAccessibleSymbolChainFromSymbolTable(symbols, ignoreQualification, isLocalNameLookup) { - if (!pushIfUnique(visitedSymbolTables, symbols)) { - return void 0; - } - const result2 = trySymbolTable(symbols, ignoreQualification, isLocalNameLookup); - visitedSymbolTables.pop(); - return result2; - } - function canQualifySymbol(symbolFromSymbolTable, meaning2) { - return !needsQualification(symbolFromSymbolTable, enclosingDeclaration, meaning2) || // If symbol needs qualification, make sure that parent is accessible, if it is then this symbol is accessible too - !!getAccessibleSymbolChain(symbolFromSymbolTable.parent, enclosingDeclaration, getQualifiedLeftMeaning(meaning2), useOnlyExternalAliasing, visitedSymbolTablesMap); - } - function isAccessible(symbolFromSymbolTable, resolvedAliasSymbol, ignoreQualification) { - return (symbol === (resolvedAliasSymbol || symbolFromSymbolTable) || getMergedSymbol(symbol) === getMergedSymbol(resolvedAliasSymbol || symbolFromSymbolTable)) && // if the symbolFromSymbolTable is not external module (it could be if it was determined as ambient external module and would be in globals table) - // and if symbolFromSymbolTable or alias resolution matches the symbol, - // check the symbol can be qualified, it is only then this symbol is accessible - !some(symbolFromSymbolTable.declarations, hasNonGlobalAugmentationExternalModuleSymbol) && (ignoreQualification || canQualifySymbol(getMergedSymbol(symbolFromSymbolTable), meaning)); - } - function trySymbolTable(symbols, ignoreQualification, isLocalNameLookup) { - if (isAccessible( - symbols.get(symbol.escapedName), - /*resolvedAliasSymbol*/ - void 0, - ignoreQualification - )) { - return [symbol]; - } - const result2 = forEachEntry(symbols, (symbolFromSymbolTable) => { - if (symbolFromSymbolTable.flags & 2097152 /* Alias */ && symbolFromSymbolTable.escapedName !== "export=" /* ExportEquals */ && symbolFromSymbolTable.escapedName !== "default" /* Default */ && !(isUMDExportSymbol(symbolFromSymbolTable) && enclosingDeclaration && isExternalModule(getSourceFileOfNode(enclosingDeclaration))) && (!useOnlyExternalAliasing || some(symbolFromSymbolTable.declarations, isExternalModuleImportEqualsDeclaration)) && (isLocalNameLookup ? !some(symbolFromSymbolTable.declarations, isNamespaceReexportDeclaration) : true) && (ignoreQualification || !getDeclarationOfKind(symbolFromSymbolTable, 281 /* ExportSpecifier */))) { - const resolvedImportedSymbol = resolveAlias(symbolFromSymbolTable); - const candidate = getCandidateListForSymbol(symbolFromSymbolTable, resolvedImportedSymbol, ignoreQualification); - if (candidate) { - return candidate; - } - } - if (symbolFromSymbolTable.escapedName === symbol.escapedName && symbolFromSymbolTable.exportSymbol) { - if (isAccessible( - getMergedSymbol(symbolFromSymbolTable.exportSymbol), - /*resolvedAliasSymbol*/ - void 0, - ignoreQualification - )) { - return [symbol]; - } - } - }); - return result2 || (symbols === globals ? getCandidateListForSymbol(globalThisSymbol, globalThisSymbol, ignoreQualification) : void 0); - } - function getCandidateListForSymbol(symbolFromSymbolTable, resolvedImportedSymbol, ignoreQualification) { - if (isAccessible(symbolFromSymbolTable, resolvedImportedSymbol, ignoreQualification)) { - return [symbolFromSymbolTable]; - } - const candidateTable = getExportsOfSymbol(resolvedImportedSymbol); - const accessibleSymbolsFromExports = candidateTable && getAccessibleSymbolChainFromSymbolTable( - candidateTable, - /*ignoreQualification*/ - true - ); - if (accessibleSymbolsFromExports && canQualifySymbol(symbolFromSymbolTable, getQualifiedLeftMeaning(meaning))) { - return [symbolFromSymbolTable].concat(accessibleSymbolsFromExports); - } - } - } - function needsQualification(symbol, enclosingDeclaration, meaning) { - let qualify = false; - forEachSymbolTableInScope(enclosingDeclaration, (symbolTable) => { - let symbolFromSymbolTable = getMergedSymbol(symbolTable.get(symbol.escapedName)); - if (!symbolFromSymbolTable) { - return false; - } - if (symbolFromSymbolTable === symbol) { - return true; - } - const shouldResolveAlias = symbolFromSymbolTable.flags & 2097152 /* Alias */ && !getDeclarationOfKind(symbolFromSymbolTable, 281 /* ExportSpecifier */); - symbolFromSymbolTable = shouldResolveAlias ? resolveAlias(symbolFromSymbolTable) : symbolFromSymbolTable; - const flags = shouldResolveAlias ? getSymbolFlags(symbolFromSymbolTable) : symbolFromSymbolTable.flags; - if (flags & meaning) { - qualify = true; - return true; - } - return false; - }); - return qualify; - } - function isPropertyOrMethodDeclarationSymbol(symbol) { - if (symbol.declarations && symbol.declarations.length) { - for (const declaration of symbol.declarations) { - switch (declaration.kind) { - case 172 /* PropertyDeclaration */: - case 174 /* MethodDeclaration */: - case 177 /* GetAccessor */: - case 178 /* SetAccessor */: - continue; - default: - return false; - } - } - return true; - } - return false; - } - function isTypeSymbolAccessible(typeSymbol, enclosingDeclaration) { - const access = isSymbolAccessibleWorker( - typeSymbol, - enclosingDeclaration, - 788968 /* Type */, - /*shouldComputeAliasesToMakeVisible*/ - false, - /*allowModules*/ - true - ); - return access.accessibility === 0 /* Accessible */; - } - function isValueSymbolAccessible(typeSymbol, enclosingDeclaration) { - const access = isSymbolAccessibleWorker( - typeSymbol, - enclosingDeclaration, - 111551 /* Value */, - /*shouldComputeAliasesToMakeVisible*/ - false, - /*allowModules*/ - true - ); - return access.accessibility === 0 /* Accessible */; - } - function isSymbolAccessibleByFlags(typeSymbol, enclosingDeclaration, flags) { - const access = isSymbolAccessibleWorker( - typeSymbol, - enclosingDeclaration, - flags, - /*shouldComputeAliasesToMakeVisible*/ - false, - /*allowModules*/ - false - ); - return access.accessibility === 0 /* Accessible */; - } - function isAnySymbolAccessible(symbols, enclosingDeclaration, initialSymbol, meaning, shouldComputeAliasesToMakeVisible, allowModules) { - if (!length(symbols)) return; - let hadAccessibleChain; - let earlyModuleBail = false; - for (const symbol of symbols) { - const accessibleSymbolChain = getAccessibleSymbolChain( - symbol, - enclosingDeclaration, - meaning, - /*useOnlyExternalAliasing*/ - false - ); - if (accessibleSymbolChain) { - hadAccessibleChain = symbol; - const hasAccessibleDeclarations = hasVisibleDeclarations(accessibleSymbolChain[0], shouldComputeAliasesToMakeVisible); - if (hasAccessibleDeclarations) { - return hasAccessibleDeclarations; - } - } - if (allowModules) { - if (some(symbol.declarations, hasNonGlobalAugmentationExternalModuleSymbol)) { - if (shouldComputeAliasesToMakeVisible) { - earlyModuleBail = true; - continue; - } - return { - accessibility: 0 /* Accessible */ - }; - } - } - const containers = getContainersOfSymbol(symbol, enclosingDeclaration, meaning); - const parentResult = isAnySymbolAccessible(containers, enclosingDeclaration, initialSymbol, initialSymbol === symbol ? getQualifiedLeftMeaning(meaning) : meaning, shouldComputeAliasesToMakeVisible, allowModules); - if (parentResult) { - return parentResult; - } - } - if (earlyModuleBail) { - return { - accessibility: 0 /* Accessible */ - }; - } - if (hadAccessibleChain) { - return { - accessibility: 1 /* NotAccessible */, - errorSymbolName: symbolToString(initialSymbol, enclosingDeclaration, meaning), - errorModuleName: hadAccessibleChain !== initialSymbol ? symbolToString(hadAccessibleChain, enclosingDeclaration, 1920 /* Namespace */) : void 0 - }; - } - } - function isSymbolAccessible(symbol, enclosingDeclaration, meaning, shouldComputeAliasesToMakeVisible) { - return isSymbolAccessibleWorker( - symbol, - enclosingDeclaration, - meaning, - shouldComputeAliasesToMakeVisible, - /*allowModules*/ - true - ); - } - function isSymbolAccessibleWorker(symbol, enclosingDeclaration, meaning, shouldComputeAliasesToMakeVisible, allowModules) { - if (symbol && enclosingDeclaration) { - const result = isAnySymbolAccessible([symbol], enclosingDeclaration, symbol, meaning, shouldComputeAliasesToMakeVisible, allowModules); - if (result) { - return result; - } - const symbolExternalModule = forEach(symbol.declarations, getExternalModuleContainer); - if (symbolExternalModule) { - const enclosingExternalModule = getExternalModuleContainer(enclosingDeclaration); - if (symbolExternalModule !== enclosingExternalModule) { - return { - accessibility: 2 /* CannotBeNamed */, - errorSymbolName: symbolToString(symbol, enclosingDeclaration, meaning), - errorModuleName: symbolToString(symbolExternalModule), - errorNode: isInJSFile(enclosingDeclaration) ? enclosingDeclaration : void 0 - }; - } - } - return { - accessibility: 1 /* NotAccessible */, - errorSymbolName: symbolToString(symbol, enclosingDeclaration, meaning) - }; - } - return { accessibility: 0 /* Accessible */ }; - } - function getExternalModuleContainer(declaration) { - const node = findAncestor(declaration, hasExternalModuleSymbol); - return node && getSymbolOfDeclaration(node); - } - function hasExternalModuleSymbol(declaration) { - return isAmbientModule(declaration) || declaration.kind === 307 /* SourceFile */ && isExternalOrCommonJsModule(declaration); - } - function hasNonGlobalAugmentationExternalModuleSymbol(declaration) { - return isModuleWithStringLiteralName(declaration) || declaration.kind === 307 /* SourceFile */ && isExternalOrCommonJsModule(declaration); - } - function hasVisibleDeclarations(symbol, shouldComputeAliasToMakeVisible) { - let aliasesToMakeVisible; - if (!every(filter(symbol.declarations, (d) => d.kind !== 80 /* Identifier */), getIsDeclarationVisible)) { - return void 0; - } - return { accessibility: 0 /* Accessible */, aliasesToMakeVisible }; - function getIsDeclarationVisible(declaration) { - var _a, _b; - if (!isDeclarationVisible(declaration)) { - const anyImportSyntax = getAnyImportSyntax(declaration); - if (anyImportSyntax && !hasSyntacticModifier(anyImportSyntax, 32 /* Export */) && // import clause without export - isDeclarationVisible(anyImportSyntax.parent)) { - return addVisibleAlias(declaration, anyImportSyntax); - } else if (isVariableDeclaration(declaration) && isVariableStatement(declaration.parent.parent) && !hasSyntacticModifier(declaration.parent.parent, 32 /* Export */) && // unexported variable statement - isDeclarationVisible(declaration.parent.parent.parent)) { - return addVisibleAlias(declaration, declaration.parent.parent); - } else if (isLateVisibilityPaintedStatement(declaration) && !hasSyntacticModifier(declaration, 32 /* Export */) && isDeclarationVisible(declaration.parent)) { - return addVisibleAlias(declaration, declaration); - } else if (isBindingElement(declaration)) { - if (symbol.flags & 2097152 /* Alias */ && isInJSFile(declaration) && ((_a = declaration.parent) == null ? void 0 : _a.parent) && isVariableDeclaration(declaration.parent.parent) && ((_b = declaration.parent.parent.parent) == null ? void 0 : _b.parent) && isVariableStatement(declaration.parent.parent.parent.parent) && !hasSyntacticModifier(declaration.parent.parent.parent.parent, 32 /* Export */) && declaration.parent.parent.parent.parent.parent && isDeclarationVisible(declaration.parent.parent.parent.parent.parent)) { - return addVisibleAlias(declaration, declaration.parent.parent.parent.parent); - } else if (symbol.flags & 2 /* BlockScopedVariable */) { - const variableStatement = findAncestor(declaration, isVariableStatement); - if (hasSyntacticModifier(variableStatement, 32 /* Export */)) { - return true; - } - if (!isDeclarationVisible(variableStatement.parent)) { - return false; - } - return addVisibleAlias(declaration, variableStatement); - } - } - return false; - } - return true; - } - function addVisibleAlias(declaration, aliasingStatement) { - if (shouldComputeAliasToMakeVisible) { - getNodeLinks(declaration).isVisible = true; - aliasesToMakeVisible = appendIfUnique(aliasesToMakeVisible, aliasingStatement); - } - return true; - } - } - function getMeaningOfEntityNameReference(entityName) { - let meaning; - if (entityName.parent.kind === 186 /* TypeQuery */ || entityName.parent.kind === 233 /* ExpressionWithTypeArguments */ && !isPartOfTypeNode(entityName.parent) || entityName.parent.kind === 167 /* ComputedPropertyName */ || entityName.parent.kind === 182 /* TypePredicate */ && entityName.parent.parameterName === entityName) { - meaning = 111551 /* Value */ | 1048576 /* ExportValue */; - } else if (entityName.kind === 166 /* QualifiedName */ || entityName.kind === 211 /* PropertyAccessExpression */ || entityName.parent.kind === 271 /* ImportEqualsDeclaration */ || entityName.parent.kind === 166 /* QualifiedName */ && entityName.parent.left === entityName || entityName.parent.kind === 211 /* PropertyAccessExpression */ && entityName.parent.expression === entityName || entityName.parent.kind === 212 /* ElementAccessExpression */ && entityName.parent.expression === entityName) { - meaning = 1920 /* Namespace */; - } else { - meaning = 788968 /* Type */; - } - return meaning; - } - function isEntityNameVisible(entityName, enclosingDeclaration, shouldComputeAliasToMakeVisible = true) { - const meaning = getMeaningOfEntityNameReference(entityName); - const firstIdentifier = getFirstIdentifier(entityName); - const symbol = resolveName( - enclosingDeclaration, - firstIdentifier.escapedText, - meaning, - /*nameNotFoundMessage*/ - void 0, - /*isUse*/ - false - ); - if (symbol && symbol.flags & 262144 /* TypeParameter */ && meaning & 788968 /* Type */) { - return { accessibility: 0 /* Accessible */ }; - } - if (!symbol && isThisIdentifier(firstIdentifier) && isSymbolAccessible( - getSymbolOfDeclaration(getThisContainer( - firstIdentifier, - /*includeArrowFunctions*/ - false, - /*includeClassComputedPropertyName*/ - false - )), - firstIdentifier, - meaning, - /*shouldComputeAliasesToMakeVisible*/ - false - ).accessibility === 0 /* Accessible */) { - return { accessibility: 0 /* Accessible */ }; - } - if (!symbol) { - return { - accessibility: 3 /* NotResolved */, - errorSymbolName: getTextOfNode(firstIdentifier), - errorNode: firstIdentifier - }; - } - return hasVisibleDeclarations(symbol, shouldComputeAliasToMakeVisible) || { - accessibility: 1 /* NotAccessible */, - errorSymbolName: getTextOfNode(firstIdentifier), - errorNode: firstIdentifier - }; - } - function symbolToString(symbol, enclosingDeclaration, meaning, flags = 4 /* AllowAnyNodeKind */, writer) { - let nodeFlags = 70221824 /* IgnoreErrors */; - let internalNodeFlags = 0 /* None */; - if (flags & 2 /* UseOnlyExternalAliasing */) { - nodeFlags |= 128 /* UseOnlyExternalAliasing */; - } - if (flags & 1 /* WriteTypeParametersOrArguments */) { - nodeFlags |= 512 /* WriteTypeParametersInQualifiedName */; - } - if (flags & 8 /* UseAliasDefinedOutsideCurrentScope */) { - nodeFlags |= 16384 /* UseAliasDefinedOutsideCurrentScope */; - } - if (flags & 32 /* DoNotIncludeSymbolChain */) { - internalNodeFlags |= 4 /* DoNotIncludeSymbolChain */; - } - if (flags & 16 /* WriteComputedProps */) { - internalNodeFlags |= 1 /* WriteComputedProps */; - } - const builder = flags & 4 /* AllowAnyNodeKind */ ? nodeBuilder.symbolToNode : nodeBuilder.symbolToEntityName; - return writer ? symbolToStringWorker(writer).getText() : usingSingleLineStringWriter(symbolToStringWorker); - function symbolToStringWorker(writer2) { - const entity = builder(symbol, meaning, enclosingDeclaration, nodeFlags, internalNodeFlags); - const printer = (enclosingDeclaration == null ? void 0 : enclosingDeclaration.kind) === 307 /* SourceFile */ ? createPrinterWithRemoveCommentsNeverAsciiEscape() : createPrinterWithRemoveComments(); - const sourceFile = enclosingDeclaration && getSourceFileOfNode(enclosingDeclaration); - printer.writeNode( - 4 /* Unspecified */, - entity, - /*sourceFile*/ - sourceFile, - writer2 - ); - return writer2; - } - } - function signatureToString(signature, enclosingDeclaration, flags = 0 /* None */, kind, writer) { - return writer ? signatureToStringWorker(writer).getText() : usingSingleLineStringWriter(signatureToStringWorker); - function signatureToStringWorker(writer2) { - let sigOutput; - if (flags & 262144 /* WriteArrowStyleSignature */) { - sigOutput = kind === 1 /* Construct */ ? 185 /* ConstructorType */ : 184 /* FunctionType */; - } else { - sigOutput = kind === 1 /* Construct */ ? 180 /* ConstructSignature */ : 179 /* CallSignature */; - } - const sig = nodeBuilder.signatureToSignatureDeclaration(signature, sigOutput, enclosingDeclaration, toNodeBuilderFlags(flags) | 70221824 /* IgnoreErrors */ | 512 /* WriteTypeParametersInQualifiedName */); - const printer = createPrinterWithRemoveCommentsOmitTrailingSemicolon(); - const sourceFile = enclosingDeclaration && getSourceFileOfNode(enclosingDeclaration); - printer.writeNode( - 4 /* Unspecified */, - sig, - /*sourceFile*/ - sourceFile, - getTrailingSemicolonDeferringWriter(writer2) - ); - return writer2; - } - } - function typeToString(type, enclosingDeclaration, flags = 1048576 /* AllowUniqueESSymbolType */ | 16384 /* UseAliasDefinedOutsideCurrentScope */, writer = createTextWriter("")) { - const noTruncation = compilerOptions.noErrorTruncation || flags & 1 /* NoTruncation */; - const typeNode = nodeBuilder.typeToTypeNode( - type, - enclosingDeclaration, - toNodeBuilderFlags(flags) | 70221824 /* IgnoreErrors */ | (noTruncation ? 1 /* NoTruncation */ : 0 /* None */), - /*internalFlags*/ - void 0 - ); - if (typeNode === void 0) return Debug.fail("should always get typenode"); - const printer = type !== unresolvedType ? createPrinterWithRemoveComments() : createPrinterWithDefaults(); - const sourceFile = enclosingDeclaration && getSourceFileOfNode(enclosingDeclaration); - printer.writeNode( - 4 /* Unspecified */, - typeNode, - /*sourceFile*/ - sourceFile, - writer - ); - const result = writer.getText(); - const maxLength = noTruncation ? noTruncationMaximumTruncationLength * 2 : defaultMaximumTruncationLength * 2; - if (maxLength && result && result.length >= maxLength) { - return result.substr(0, maxLength - "...".length) + "..."; - } - return result; - } - function getTypeNamesForErrorDisplay(left, right) { - let leftStr = symbolValueDeclarationIsContextSensitive(left.symbol) ? typeToString(left, left.symbol.valueDeclaration) : typeToString(left); - let rightStr = symbolValueDeclarationIsContextSensitive(right.symbol) ? typeToString(right, right.symbol.valueDeclaration) : typeToString(right); - if (leftStr === rightStr) { - leftStr = getTypeNameForErrorDisplay(left); - rightStr = getTypeNameForErrorDisplay(right); - } - return [leftStr, rightStr]; - } - function getTypeNameForErrorDisplay(type) { - return typeToString( - type, - /*enclosingDeclaration*/ - void 0, - 64 /* UseFullyQualifiedType */ - ); - } - function symbolValueDeclarationIsContextSensitive(symbol) { - return symbol && !!symbol.valueDeclaration && isExpression(symbol.valueDeclaration) && !isContextSensitive(symbol.valueDeclaration); - } - function toNodeBuilderFlags(flags = 0 /* None */) { - return flags & 848330095 /* NodeBuilderFlagsMask */; - } - function isClassInstanceSide(type) { - return !!type.symbol && !!(type.symbol.flags & 32 /* Class */) && (type === getDeclaredTypeOfClassOrInterface(type.symbol) || !!(type.flags & 524288 /* Object */) && !!(getObjectFlags(type) & 16777216 /* IsClassInstanceClone */)); - } - function getTypeFromTypeNodeWithoutContext(node) { - return getTypeFromTypeNode(node); - } - function createNodeBuilder() { - return { - typeToTypeNode: (type, enclosingDeclaration, flags, internalFlags, tracker) => withContext(enclosingDeclaration, flags, internalFlags, tracker, (context) => typeToTypeNodeHelper(type, context)), - typePredicateToTypePredicateNode: (typePredicate, enclosingDeclaration, flags, internalFlags, tracker) => withContext(enclosingDeclaration, flags, internalFlags, tracker, (context) => typePredicateToTypePredicateNodeHelper(typePredicate, context)), - expressionOrTypeToTypeNode: (expr, type, addUndefined, enclosingDeclaration, flags, internalFlags, tracker) => withContext(enclosingDeclaration, flags, internalFlags, tracker, (context) => expressionOrTypeToTypeNode(context, expr, type, addUndefined)), - serializeTypeForDeclaration: (declaration, type, symbol, enclosingDeclaration, flags, internalFlags, tracker) => withContext(enclosingDeclaration, flags, internalFlags, tracker, (context) => serializeTypeForDeclaration(context, declaration, type, symbol)), - serializeReturnTypeForSignature: (signature, enclosingDeclaration, flags, internalFlags, tracker) => withContext(enclosingDeclaration, flags, internalFlags, tracker, (context) => serializeReturnTypeForSignature(context, signature)), - indexInfoToIndexSignatureDeclaration: (indexInfo, enclosingDeclaration, flags, internalFlags, tracker) => withContext(enclosingDeclaration, flags, internalFlags, tracker, (context) => indexInfoToIndexSignatureDeclarationHelper( - indexInfo, - context, - /*typeNode*/ - void 0 - )), - signatureToSignatureDeclaration: (signature, kind, enclosingDeclaration, flags, internalFlags, tracker) => withContext(enclosingDeclaration, flags, internalFlags, tracker, (context) => signatureToSignatureDeclarationHelper(signature, kind, context)), - symbolToEntityName: (symbol, meaning, enclosingDeclaration, flags, internalFlags, tracker) => withContext(enclosingDeclaration, flags, internalFlags, tracker, (context) => symbolToName( - symbol, - context, - meaning, - /*expectsIdentifier*/ - false - )), - symbolToExpression: (symbol, meaning, enclosingDeclaration, flags, internalFlags, tracker) => withContext(enclosingDeclaration, flags, internalFlags, tracker, (context) => symbolToExpression(symbol, context, meaning)), - symbolToTypeParameterDeclarations: (symbol, enclosingDeclaration, flags, internalFlags, tracker) => withContext(enclosingDeclaration, flags, internalFlags, tracker, (context) => typeParametersToTypeParameterDeclarations(symbol, context)), - symbolToParameterDeclaration: (symbol, enclosingDeclaration, flags, internalFlags, tracker) => withContext(enclosingDeclaration, flags, internalFlags, tracker, (context) => symbolToParameterDeclaration(symbol, context)), - typeParameterToDeclaration: (parameter, enclosingDeclaration, flags, internalFlags, tracker) => withContext(enclosingDeclaration, flags, internalFlags, tracker, (context) => typeParameterToDeclaration(parameter, context)), - symbolTableToDeclarationStatements: (symbolTable, enclosingDeclaration, flags, internalFlags, tracker) => withContext(enclosingDeclaration, flags, internalFlags, tracker, (context) => symbolTableToDeclarationStatements(symbolTable, context)), - symbolToNode: (symbol, meaning, enclosingDeclaration, flags, internalFlags, tracker) => withContext(enclosingDeclaration, flags, internalFlags, tracker, (context) => symbolToNode(symbol, context, meaning)) - }; - function getTypeFromTypeNode2(context, node, noMappedTypes) { - const type = getTypeFromTypeNodeWithoutContext(node); - if (!context.mapper) return type; - const mappedType = instantiateType(type, context.mapper); - return noMappedTypes && mappedType !== type ? void 0 : mappedType; - } - function setTextRange2(context, range, location) { - if (!nodeIsSynthesized(range) || !(range.flags & 16 /* Synthesized */) || !context.enclosingFile || context.enclosingFile !== getSourceFileOfNode(getOriginalNode(range))) { - range = factory.cloneNode(range); - } - if (range === location) return range; - if (!location) { - return range; - } - let original = range.original; - while (original && original !== location) { - original = original.original; - } - if (!original) { - setOriginalNode(range, location); - } - if (context.enclosingFile && context.enclosingFile === getSourceFileOfNode(getOriginalNode(location))) { - return setTextRange(range, location); - } - return range; - } - function expressionOrTypeToTypeNode(context, expr, type, addUndefined) { - const restoreFlags = saveRestoreFlags(context); - if (expr && !(context.internalFlags & 2 /* NoSyntacticPrinter */)) { - syntacticNodeBuilder.serializeTypeOfExpression(expr, context, addUndefined); - } - context.internalFlags |= 2 /* NoSyntacticPrinter */; - const result = expressionOrTypeToTypeNodeHelper(context, expr, type, addUndefined); - restoreFlags(); - return result; - } - function expressionOrTypeToTypeNodeHelper(context, expr, type, addUndefined) { - if (expr) { - const typeNode = isAssertionExpression(expr) ? expr.type : isJSDocTypeAssertion(expr) ? getJSDocTypeAssertionType(expr) : void 0; - if (typeNode && !isConstTypeReference(typeNode)) { - const result = tryReuseExistingTypeNode(context, typeNode, type, expr.parent, addUndefined); - if (result) { - return result; - } - } - } - if (addUndefined) { - type = getOptionalType(type); - } - return typeToTypeNodeHelper(type, context); - } - function tryReuseExistingTypeNode(context, typeNode, type, host2, addUndefined) { - const originalType = type; - if (addUndefined) { - type = getOptionalType(type, !isParameter(host2)); - } - const clone = tryReuseExistingNonParameterTypeNode(context, typeNode, type, host2); - if (clone) { - if (addUndefined && containsNonMissingUndefinedType(type) && !someType(getTypeFromTypeNode2(context, typeNode), (t) => !!(t.flags & 32768 /* Undefined */))) { - return factory.createUnionTypeNode([clone, factory.createKeywordTypeNode(157 /* UndefinedKeyword */)]); - } - return clone; - } - if (addUndefined && originalType !== type) { - const cloneMissingUndefined = tryReuseExistingNonParameterTypeNode(context, typeNode, originalType, host2); - if (cloneMissingUndefined) { - return factory.createUnionTypeNode([cloneMissingUndefined, factory.createKeywordTypeNode(157 /* UndefinedKeyword */)]); - } - } - return void 0; - } - function tryReuseExistingNonParameterTypeNode(context, existing, type, host2 = context.enclosingDeclaration, annotationType = getTypeFromTypeNode2( - context, - existing, - /*noMappedTypes*/ - true - )) { - if (annotationType && typeNodeIsEquivalentToType(host2, type, annotationType) && existingTypeNodeIsNotReferenceOrIsReferenceWithCompatibleTypeArgumentCount(existing, type)) { - const result = tryReuseExistingTypeNodeHelper(context, existing); - if (result) { - return result; - } - } - return void 0; - } - function symbolToNode(symbol, context, meaning) { - if (context.internalFlags & 1 /* WriteComputedProps */) { - if (symbol.valueDeclaration) { - const name = getNameOfDeclaration(symbol.valueDeclaration); - if (name && isComputedPropertyName(name)) return name; - } - const nameType = getSymbolLinks(symbol).nameType; - if (nameType && nameType.flags & (1024 /* EnumLiteral */ | 8192 /* UniqueESSymbol */)) { - context.enclosingDeclaration = nameType.symbol.valueDeclaration; - return factory.createComputedPropertyName(symbolToExpression(nameType.symbol, context, meaning)); - } - } - return symbolToExpression(symbol, context, meaning); - } - function withContext(enclosingDeclaration, flags, internalFlags, tracker, cb) { - const moduleResolverHost = (tracker == null ? void 0 : tracker.trackSymbol) ? tracker.moduleResolverHost : (internalFlags || 0 /* None */) & 4 /* DoNotIncludeSymbolChain */ ? createBasicNodeBuilderModuleSpecifierResolutionHost(host) : void 0; - const context = { - enclosingDeclaration, - enclosingFile: enclosingDeclaration && getSourceFileOfNode(enclosingDeclaration), - flags: flags || 0 /* None */, - internalFlags: internalFlags || 0 /* None */, - tracker: void 0, - encounteredError: false, - reportedDiagnostic: false, - visitedTypes: void 0, - symbolDepth: void 0, - inferTypeParameters: void 0, - approximateLength: 0, - trackedSymbols: void 0, - bundled: !!compilerOptions.outFile && !!enclosingDeclaration && isExternalOrCommonJsModule(getSourceFileOfNode(enclosingDeclaration)), - truncating: false, - usedSymbolNames: void 0, - remappedSymbolNames: void 0, - remappedSymbolReferences: void 0, - reverseMappedStack: void 0, - mustCreateTypeParameterSymbolList: true, - typeParameterSymbolList: void 0, - mustCreateTypeParametersNamesLookups: true, - typeParameterNames: void 0, - typeParameterNamesByText: void 0, - typeParameterNamesByTextNextNameCount: void 0, - mapper: void 0 - }; - context.tracker = new SymbolTrackerImpl(context, tracker, moduleResolverHost); - const resultingNode = cb(context); - if (context.truncating && context.flags & 1 /* NoTruncation */) { - context.tracker.reportTruncationError(); - } - return context.encounteredError ? void 0 : resultingNode; - } - function saveRestoreFlags(context) { - const flags = context.flags; - const internalFlags = context.internalFlags; - return restore; - function restore() { - context.flags = flags; - context.internalFlags = internalFlags; - } - } - function checkTruncationLength(context) { - if (context.truncating) return context.truncating; - return context.truncating = context.approximateLength > (context.flags & 1 /* NoTruncation */ ? noTruncationMaximumTruncationLength : defaultMaximumTruncationLength); - } - function typeToTypeNodeHelper(type, context) { - const restoreFlags = saveRestoreFlags(context); - const typeNode = typeToTypeNodeWorker(type, context); - restoreFlags(); - return typeNode; - } - function typeToTypeNodeWorker(type, context) { - var _a, _b; - if (cancellationToken && cancellationToken.throwIfCancellationRequested) { - cancellationToken.throwIfCancellationRequested(); - } - const inTypeAlias = context.flags & 8388608 /* InTypeAlias */; - context.flags &= ~8388608 /* InTypeAlias */; - if (!type) { - if (!(context.flags & 262144 /* AllowEmptyUnionOrIntersection */)) { - context.encounteredError = true; - return void 0; - } - context.approximateLength += 3; - return factory.createKeywordTypeNode(133 /* AnyKeyword */); - } - if (!(context.flags & 536870912 /* NoTypeReduction */)) { - type = getReducedType(type); - } - if (type.flags & 1 /* Any */) { - if (type.aliasSymbol) { - return factory.createTypeReferenceNode(symbolToEntityNameNode(type.aliasSymbol), mapToTypeNodes(type.aliasTypeArguments, context)); - } - if (type === unresolvedType) { - return addSyntheticLeadingComment(factory.createKeywordTypeNode(133 /* AnyKeyword */), 3 /* MultiLineCommentTrivia */, "unresolved"); - } - context.approximateLength += 3; - return factory.createKeywordTypeNode(type === intrinsicMarkerType ? 141 /* IntrinsicKeyword */ : 133 /* AnyKeyword */); - } - if (type.flags & 2 /* Unknown */) { - return factory.createKeywordTypeNode(159 /* UnknownKeyword */); - } - if (type.flags & 4 /* String */) { - context.approximateLength += 6; - return factory.createKeywordTypeNode(154 /* StringKeyword */); - } - if (type.flags & 8 /* Number */) { - context.approximateLength += 6; - return factory.createKeywordTypeNode(150 /* NumberKeyword */); - } - if (type.flags & 64 /* BigInt */) { - context.approximateLength += 6; - return factory.createKeywordTypeNode(163 /* BigIntKeyword */); - } - if (type.flags & 16 /* Boolean */ && !type.aliasSymbol) { - context.approximateLength += 7; - return factory.createKeywordTypeNode(136 /* BooleanKeyword */); - } - if (type.flags & 1056 /* EnumLike */) { - if (type.symbol.flags & 8 /* EnumMember */) { - const parentSymbol = getParentOfSymbol(type.symbol); - const parentName = symbolToTypeNode(parentSymbol, context, 788968 /* Type */); - if (getDeclaredTypeOfSymbol(parentSymbol) === type) { - return parentName; - } - const memberName = symbolName(type.symbol); - if (isIdentifierText(memberName, 1 /* ES5 */)) { - return appendReferenceToType( - parentName, - factory.createTypeReferenceNode( - memberName, - /*typeArguments*/ - void 0 - ) - ); - } - if (isImportTypeNode(parentName)) { - parentName.isTypeOf = true; - return factory.createIndexedAccessTypeNode(parentName, factory.createLiteralTypeNode(factory.createStringLiteral(memberName))); - } else if (isTypeReferenceNode(parentName)) { - return factory.createIndexedAccessTypeNode(factory.createTypeQueryNode(parentName.typeName), factory.createLiteralTypeNode(factory.createStringLiteral(memberName))); - } else { - return Debug.fail("Unhandled type node kind returned from `symbolToTypeNode`."); - } - } - return symbolToTypeNode(type.symbol, context, 788968 /* Type */); - } - if (type.flags & 128 /* StringLiteral */) { - context.approximateLength += type.value.length + 2; - return factory.createLiteralTypeNode(setEmitFlags(factory.createStringLiteral(type.value, !!(context.flags & 268435456 /* UseSingleQuotesForStringLiteralType */)), 16777216 /* NoAsciiEscaping */)); - } - if (type.flags & 256 /* NumberLiteral */) { - const value = type.value; - context.approximateLength += ("" + value).length; - return factory.createLiteralTypeNode(value < 0 ? factory.createPrefixUnaryExpression(41 /* MinusToken */, factory.createNumericLiteral(-value)) : factory.createNumericLiteral(value)); - } - if (type.flags & 2048 /* BigIntLiteral */) { - context.approximateLength += pseudoBigIntToString(type.value).length + 1; - return factory.createLiteralTypeNode(factory.createBigIntLiteral(type.value)); - } - if (type.flags & 512 /* BooleanLiteral */) { - context.approximateLength += type.intrinsicName.length; - return factory.createLiteralTypeNode(type.intrinsicName === "true" ? factory.createTrue() : factory.createFalse()); - } - if (type.flags & 8192 /* UniqueESSymbol */) { - if (!(context.flags & 1048576 /* AllowUniqueESSymbolType */)) { - if (isValueSymbolAccessible(type.symbol, context.enclosingDeclaration)) { - context.approximateLength += 6; - return symbolToTypeNode(type.symbol, context, 111551 /* Value */); - } - if (context.tracker.reportInaccessibleUniqueSymbolError) { - context.tracker.reportInaccessibleUniqueSymbolError(); - } - } - context.approximateLength += 13; - return factory.createTypeOperatorNode(158 /* UniqueKeyword */, factory.createKeywordTypeNode(155 /* SymbolKeyword */)); - } - if (type.flags & 16384 /* Void */) { - context.approximateLength += 4; - return factory.createKeywordTypeNode(116 /* VoidKeyword */); - } - if (type.flags & 32768 /* Undefined */) { - context.approximateLength += 9; - return factory.createKeywordTypeNode(157 /* UndefinedKeyword */); - } - if (type.flags & 65536 /* Null */) { - context.approximateLength += 4; - return factory.createLiteralTypeNode(factory.createNull()); - } - if (type.flags & 131072 /* Never */) { - context.approximateLength += 5; - return factory.createKeywordTypeNode(146 /* NeverKeyword */); - } - if (type.flags & 4096 /* ESSymbol */) { - context.approximateLength += 6; - return factory.createKeywordTypeNode(155 /* SymbolKeyword */); - } - if (type.flags & 67108864 /* NonPrimitive */) { - context.approximateLength += 6; - return factory.createKeywordTypeNode(151 /* ObjectKeyword */); - } - if (isThisTypeParameter(type)) { - if (context.flags & 4194304 /* InObjectTypeLiteral */) { - if (!context.encounteredError && !(context.flags & 32768 /* AllowThisInObjectLiteral */)) { - context.encounteredError = true; - } - (_b = (_a = context.tracker).reportInaccessibleThisError) == null ? void 0 : _b.call(_a); - } - context.approximateLength += 4; - return factory.createThisTypeNode(); - } - if (!inTypeAlias && type.aliasSymbol && (context.flags & 16384 /* UseAliasDefinedOutsideCurrentScope */ || isTypeSymbolAccessible(type.aliasSymbol, context.enclosingDeclaration))) { - const typeArgumentNodes = mapToTypeNodes(type.aliasTypeArguments, context); - if (isReservedMemberName(type.aliasSymbol.escapedName) && !(type.aliasSymbol.flags & 32 /* Class */)) return factory.createTypeReferenceNode(factory.createIdentifier(""), typeArgumentNodes); - if (length(typeArgumentNodes) === 1 && type.aliasSymbol === globalArrayType.symbol) { - return factory.createArrayTypeNode(typeArgumentNodes[0]); - } - return symbolToTypeNode(type.aliasSymbol, context, 788968 /* Type */, typeArgumentNodes); - } - const objectFlags = getObjectFlags(type); - if (objectFlags & 4 /* Reference */) { - Debug.assert(!!(type.flags & 524288 /* Object */)); - return type.node ? visitAndTransformType(type, typeReferenceToTypeNode) : typeReferenceToTypeNode(type); - } - if (type.flags & 262144 /* TypeParameter */ || objectFlags & 3 /* ClassOrInterface */) { - if (type.flags & 262144 /* TypeParameter */ && contains(context.inferTypeParameters, type)) { - context.approximateLength += symbolName(type.symbol).length + 6; - let constraintNode; - const constraint = getConstraintOfTypeParameter(type); - if (constraint) { - const inferredConstraint = getInferredTypeParameterConstraint( - type, - /*omitTypeReferences*/ - true - ); - if (!(inferredConstraint && isTypeIdenticalTo(constraint, inferredConstraint))) { - context.approximateLength += 9; - constraintNode = constraint && typeToTypeNodeHelper(constraint, context); - } - } - return factory.createInferTypeNode(typeParameterToDeclarationWithConstraint(type, context, constraintNode)); - } - if (context.flags & 4 /* GenerateNamesForShadowedTypeParams */ && type.flags & 262144 /* TypeParameter */) { - const name2 = typeParameterToName(type, context); - context.approximateLength += idText(name2).length; - return factory.createTypeReferenceNode( - factory.createIdentifier(idText(name2)), - /*typeArguments*/ - void 0 - ); - } - if (type.symbol) { - return symbolToTypeNode(type.symbol, context, 788968 /* Type */); - } - const name = (type === markerSuperTypeForCheck || type === markerSubTypeForCheck) && varianceTypeParameter && varianceTypeParameter.symbol ? (type === markerSubTypeForCheck ? "sub-" : "super-") + symbolName(varianceTypeParameter.symbol) : "?"; - return factory.createTypeReferenceNode( - factory.createIdentifier(name), - /*typeArguments*/ - void 0 - ); - } - if (type.flags & 1048576 /* Union */ && type.origin) { - type = type.origin; - } - if (type.flags & (1048576 /* Union */ | 2097152 /* Intersection */)) { - const types = type.flags & 1048576 /* Union */ ? formatUnionTypes(type.types) : type.types; - if (length(types) === 1) { - return typeToTypeNodeHelper(types[0], context); - } - const typeNodes = mapToTypeNodes( - types, - context, - /*isBareList*/ - true - ); - if (typeNodes && typeNodes.length > 0) { - return type.flags & 1048576 /* Union */ ? factory.createUnionTypeNode(typeNodes) : factory.createIntersectionTypeNode(typeNodes); - } else { - if (!context.encounteredError && !(context.flags & 262144 /* AllowEmptyUnionOrIntersection */)) { - context.encounteredError = true; - } - return void 0; - } - } - if (objectFlags & (16 /* Anonymous */ | 32 /* Mapped */)) { - Debug.assert(!!(type.flags & 524288 /* Object */)); - return createAnonymousTypeNode(type); - } - if (type.flags & 4194304 /* Index */) { - const indexedType = type.type; - context.approximateLength += 6; - const indexTypeNode = typeToTypeNodeHelper(indexedType, context); - return factory.createTypeOperatorNode(143 /* KeyOfKeyword */, indexTypeNode); - } - if (type.flags & 134217728 /* TemplateLiteral */) { - const texts = type.texts; - const types = type.types; - const templateHead = factory.createTemplateHead(texts[0]); - const templateSpans = factory.createNodeArray( - map(types, (t, i) => factory.createTemplateLiteralTypeSpan( - typeToTypeNodeHelper(t, context), - (i < types.length - 1 ? factory.createTemplateMiddle : factory.createTemplateTail)(texts[i + 1]) - )) - ); - context.approximateLength += 2; - return factory.createTemplateLiteralType(templateHead, templateSpans); - } - if (type.flags & 268435456 /* StringMapping */) { - const typeNode = typeToTypeNodeHelper(type.type, context); - return symbolToTypeNode(type.symbol, context, 788968 /* Type */, [typeNode]); - } - if (type.flags & 8388608 /* IndexedAccess */) { - const objectTypeNode = typeToTypeNodeHelper(type.objectType, context); - const indexTypeNode = typeToTypeNodeHelper(type.indexType, context); - context.approximateLength += 2; - return factory.createIndexedAccessTypeNode(objectTypeNode, indexTypeNode); - } - if (type.flags & 16777216 /* Conditional */) { - return visitAndTransformType(type, (type2) => conditionalTypeToTypeNode(type2)); - } - if (type.flags & 33554432 /* Substitution */) { - const typeNode = typeToTypeNodeHelper(type.baseType, context); - const noInferSymbol = isNoInferType(type) && getGlobalTypeSymbol( - "NoInfer", - /*reportErrors*/ - false - ); - return noInferSymbol ? symbolToTypeNode(noInferSymbol, context, 788968 /* Type */, [typeNode]) : typeNode; - } - return Debug.fail("Should be unreachable."); - function conditionalTypeToTypeNode(type2) { - const checkTypeNode = typeToTypeNodeHelper(type2.checkType, context); - context.approximateLength += 15; - if (context.flags & 4 /* GenerateNamesForShadowedTypeParams */ && type2.root.isDistributive && !(type2.checkType.flags & 262144 /* TypeParameter */)) { - const newParam = createTypeParameter(createSymbol(262144 /* TypeParameter */, "T")); - const name = typeParameterToName(newParam, context); - const newTypeVariable = factory.createTypeReferenceNode(name); - context.approximateLength += 37; - const newMapper = prependTypeMapping(type2.root.checkType, newParam, type2.mapper); - const saveInferTypeParameters2 = context.inferTypeParameters; - context.inferTypeParameters = type2.root.inferTypeParameters; - const extendsTypeNode2 = typeToTypeNodeHelper(instantiateType(type2.root.extendsType, newMapper), context); - context.inferTypeParameters = saveInferTypeParameters2; - const trueTypeNode2 = typeToTypeNodeOrCircularityElision(instantiateType(getTypeFromTypeNode2(context, type2.root.node.trueType), newMapper)); - const falseTypeNode2 = typeToTypeNodeOrCircularityElision(instantiateType(getTypeFromTypeNode2(context, type2.root.node.falseType), newMapper)); - return factory.createConditionalTypeNode( - checkTypeNode, - factory.createInferTypeNode(factory.createTypeParameterDeclaration( - /*modifiers*/ - void 0, - factory.cloneNode(newTypeVariable.typeName) - )), - factory.createConditionalTypeNode( - factory.createTypeReferenceNode(factory.cloneNode(name)), - typeToTypeNodeHelper(type2.checkType, context), - factory.createConditionalTypeNode(newTypeVariable, extendsTypeNode2, trueTypeNode2, falseTypeNode2), - factory.createKeywordTypeNode(146 /* NeverKeyword */) - ), - factory.createKeywordTypeNode(146 /* NeverKeyword */) - ); - } - const saveInferTypeParameters = context.inferTypeParameters; - context.inferTypeParameters = type2.root.inferTypeParameters; - const extendsTypeNode = typeToTypeNodeHelper(type2.extendsType, context); - context.inferTypeParameters = saveInferTypeParameters; - const trueTypeNode = typeToTypeNodeOrCircularityElision(getTrueTypeFromConditionalType(type2)); - const falseTypeNode = typeToTypeNodeOrCircularityElision(getFalseTypeFromConditionalType(type2)); - return factory.createConditionalTypeNode(checkTypeNode, extendsTypeNode, trueTypeNode, falseTypeNode); - } - function typeToTypeNodeOrCircularityElision(type2) { - var _a2, _b2, _c; - if (type2.flags & 1048576 /* Union */) { - if ((_a2 = context.visitedTypes) == null ? void 0 : _a2.has(getTypeId(type2))) { - if (!(context.flags & 131072 /* AllowAnonymousIdentifier */)) { - context.encounteredError = true; - (_c = (_b2 = context.tracker) == null ? void 0 : _b2.reportCyclicStructureError) == null ? void 0 : _c.call(_b2); - } - return createElidedInformationPlaceholder(context); - } - return visitAndTransformType(type2, (type3) => typeToTypeNodeHelper(type3, context)); - } - return typeToTypeNodeHelper(type2, context); - } - function isMappedTypeHomomorphic(type2) { - return !!getHomomorphicTypeVariable(type2); - } - function isHomomorphicMappedTypeWithNonHomomorphicInstantiation(type2) { - return !!type2.target && isMappedTypeHomomorphic(type2.target) && !isMappedTypeHomomorphic(type2); - } - function createMappedTypeNodeFromType(type2) { - var _a2; - Debug.assert(!!(type2.flags & 524288 /* Object */)); - const readonlyToken = type2.declaration.readonlyToken ? factory.createToken(type2.declaration.readonlyToken.kind) : void 0; - const questionToken = type2.declaration.questionToken ? factory.createToken(type2.declaration.questionToken.kind) : void 0; - let appropriateConstraintTypeNode; - let newTypeVariable; - const needsModifierPreservingWrapper = !isMappedTypeWithKeyofConstraintDeclaration(type2) && !(getModifiersTypeFromMappedType(type2).flags & 2 /* Unknown */) && context.flags & 4 /* GenerateNamesForShadowedTypeParams */ && !(getConstraintTypeFromMappedType(type2).flags & 262144 /* TypeParameter */ && ((_a2 = getConstraintOfTypeParameter(getConstraintTypeFromMappedType(type2))) == null ? void 0 : _a2.flags) & 4194304 /* Index */); - if (isMappedTypeWithKeyofConstraintDeclaration(type2)) { - if (isHomomorphicMappedTypeWithNonHomomorphicInstantiation(type2) && context.flags & 4 /* GenerateNamesForShadowedTypeParams */) { - const newParam = createTypeParameter(createSymbol(262144 /* TypeParameter */, "T")); - const name = typeParameterToName(newParam, context); - newTypeVariable = factory.createTypeReferenceNode(name); - } - appropriateConstraintTypeNode = factory.createTypeOperatorNode(143 /* KeyOfKeyword */, newTypeVariable || typeToTypeNodeHelper(getModifiersTypeFromMappedType(type2), context)); - } else if (needsModifierPreservingWrapper) { - const newParam = createTypeParameter(createSymbol(262144 /* TypeParameter */, "T")); - const name = typeParameterToName(newParam, context); - newTypeVariable = factory.createTypeReferenceNode(name); - appropriateConstraintTypeNode = newTypeVariable; - } else { - appropriateConstraintTypeNode = typeToTypeNodeHelper(getConstraintTypeFromMappedType(type2), context); - } - const typeParameterNode = typeParameterToDeclarationWithConstraint(getTypeParameterFromMappedType(type2), context, appropriateConstraintTypeNode); - const nameTypeNode = type2.declaration.nameType ? typeToTypeNodeHelper(getNameTypeFromMappedType(type2), context) : void 0; - const templateTypeNode = typeToTypeNodeHelper(removeMissingType(getTemplateTypeFromMappedType(type2), !!(getMappedTypeModifiers(type2) & 4 /* IncludeOptional */)), context); - const mappedTypeNode = factory.createMappedTypeNode( - readonlyToken, - typeParameterNode, - nameTypeNode, - questionToken, - templateTypeNode, - /*members*/ - void 0 - ); - context.approximateLength += 10; - const result = setEmitFlags(mappedTypeNode, 1 /* SingleLine */); - if (isHomomorphicMappedTypeWithNonHomomorphicInstantiation(type2) && context.flags & 4 /* GenerateNamesForShadowedTypeParams */) { - const originalConstraint = instantiateType(getConstraintOfTypeParameter(getTypeFromTypeNode2(context, type2.declaration.typeParameter.constraint.type)) || unknownType, type2.mapper); - return factory.createConditionalTypeNode( - typeToTypeNodeHelper(getModifiersTypeFromMappedType(type2), context), - factory.createInferTypeNode(factory.createTypeParameterDeclaration( - /*modifiers*/ - void 0, - factory.cloneNode(newTypeVariable.typeName), - originalConstraint.flags & 2 /* Unknown */ ? void 0 : typeToTypeNodeHelper(originalConstraint, context) - )), - result, - factory.createKeywordTypeNode(146 /* NeverKeyword */) - ); - } else if (needsModifierPreservingWrapper) { - return factory.createConditionalTypeNode( - typeToTypeNodeHelper(getConstraintTypeFromMappedType(type2), context), - factory.createInferTypeNode(factory.createTypeParameterDeclaration( - /*modifiers*/ - void 0, - factory.cloneNode(newTypeVariable.typeName), - factory.createTypeOperatorNode(143 /* KeyOfKeyword */, typeToTypeNodeHelper(getModifiersTypeFromMappedType(type2), context)) - )), - result, - factory.createKeywordTypeNode(146 /* NeverKeyword */) - ); - } - return result; - } - function createAnonymousTypeNode(type2) { - var _a2, _b2; - const typeId = type2.id; - const symbol = type2.symbol; - if (symbol) { - const isInstantiationExpressionType = !!(getObjectFlags(type2) & 8388608 /* InstantiationExpressionType */); - if (isInstantiationExpressionType) { - const instantiationExpressionType = type2; - const existing = instantiationExpressionType.node; - if (isTypeQueryNode(existing)) { - const typeNode = tryReuseExistingNonParameterTypeNode(context, existing, type2); - if (typeNode) { - return typeNode; - } - } - if ((_a2 = context.visitedTypes) == null ? void 0 : _a2.has(typeId)) { - return createElidedInformationPlaceholder(context); - } - return visitAndTransformType(type2, createTypeNodeFromObjectType); - } - const isInstanceType = isClassInstanceSide(type2) ? 788968 /* Type */ : 111551 /* Value */; - if (isJSConstructor(symbol.valueDeclaration)) { - return symbolToTypeNode(symbol, context, isInstanceType); - } else if (symbol.flags & 32 /* Class */ && !getBaseTypeVariableOfClass(symbol) && !(symbol.valueDeclaration && isClassLike(symbol.valueDeclaration) && context.flags & 2048 /* WriteClassExpressionAsTypeLiteral */ && (!isClassDeclaration(symbol.valueDeclaration) || isSymbolAccessible( - symbol, - context.enclosingDeclaration, - isInstanceType, - /*shouldComputeAliasesToMakeVisible*/ - false - ).accessibility !== 0 /* Accessible */)) || symbol.flags & (384 /* Enum */ | 512 /* ValueModule */) || shouldWriteTypeOfFunctionSymbol()) { - return symbolToTypeNode(symbol, context, isInstanceType); - } else if ((_b2 = context.visitedTypes) == null ? void 0 : _b2.has(typeId)) { - const typeAlias = getTypeAliasForTypeLiteral(type2); - if (typeAlias) { - return symbolToTypeNode(typeAlias, context, 788968 /* Type */); - } else { - return createElidedInformationPlaceholder(context); - } - } else { - return visitAndTransformType(type2, createTypeNodeFromObjectType); - } - } else { - return createTypeNodeFromObjectType(type2); - } - function shouldWriteTypeOfFunctionSymbol() { - var _a3; - const isStaticMethodSymbol = !!(symbol.flags & 8192 /* Method */) && // typeof static method - some(symbol.declarations, (declaration) => isStatic(declaration)); - const isNonLocalFunctionSymbol = !!(symbol.flags & 16 /* Function */) && (symbol.parent || // is exported function symbol - forEach(symbol.declarations, (declaration) => declaration.parent.kind === 307 /* SourceFile */ || declaration.parent.kind === 268 /* ModuleBlock */)); - if (isStaticMethodSymbol || isNonLocalFunctionSymbol) { - return (!!(context.flags & 4096 /* UseTypeOfFunction */) || ((_a3 = context.visitedTypes) == null ? void 0 : _a3.has(typeId))) && // it is type of the symbol uses itself recursively - (!(context.flags & 8 /* UseStructuralFallback */) || isValueSymbolAccessible(symbol, context.enclosingDeclaration)); - } - } - } - function visitAndTransformType(type2, transform) { - var _a2, _b2, _c; - const typeId = type2.id; - const isConstructorObject = getObjectFlags(type2) & 16 /* Anonymous */ && type2.symbol && type2.symbol.flags & 32 /* Class */; - const id = getObjectFlags(type2) & 4 /* Reference */ && type2.node ? "N" + getNodeId(type2.node) : type2.flags & 16777216 /* Conditional */ ? "N" + getNodeId(type2.root.node) : type2.symbol ? (isConstructorObject ? "+" : "") + getSymbolId(type2.symbol) : void 0; - if (!context.visitedTypes) { - context.visitedTypes = /* @__PURE__ */ new Set(); - } - if (id && !context.symbolDepth) { - context.symbolDepth = /* @__PURE__ */ new Map(); - } - const links = context.enclosingDeclaration && getNodeLinks(context.enclosingDeclaration); - const key = `${getTypeId(type2)}|${context.flags}|${context.internalFlags}`; - if (links) { - links.serializedTypes || (links.serializedTypes = /* @__PURE__ */ new Map()); - } - const cachedResult = (_a2 = links == null ? void 0 : links.serializedTypes) == null ? void 0 : _a2.get(key); - if (cachedResult) { - (_b2 = cachedResult.trackedSymbols) == null ? void 0 : _b2.forEach( - ([symbol, enclosingDeclaration, meaning]) => context.tracker.trackSymbol( - symbol, - enclosingDeclaration, - meaning - ) - ); - if (cachedResult.truncating) { - context.truncating = true; - } - context.approximateLength += cachedResult.addedLength; - return deepCloneOrReuseNode(cachedResult.node); - } - let depth; - if (id) { - depth = context.symbolDepth.get(id) || 0; - if (depth > 10) { - return createElidedInformationPlaceholder(context); - } - context.symbolDepth.set(id, depth + 1); - } - context.visitedTypes.add(typeId); - const prevTrackedSymbols = context.trackedSymbols; - context.trackedSymbols = void 0; - const startLength = context.approximateLength; - const result = transform(type2); - const addedLength = context.approximateLength - startLength; - if (!context.reportedDiagnostic && !context.encounteredError) { - (_c = links == null ? void 0 : links.serializedTypes) == null ? void 0 : _c.set(key, { - node: result, - truncating: context.truncating, - addedLength, - trackedSymbols: context.trackedSymbols - }); - } - context.visitedTypes.delete(typeId); - if (id) { - context.symbolDepth.set(id, depth); - } - context.trackedSymbols = prevTrackedSymbols; - return result; - function deepCloneOrReuseNode(node) { - if (!nodeIsSynthesized(node) && getParseTreeNode(node) === node) { - return node; - } - return setTextRange2(context, factory.cloneNode(visitEachChild( - node, - deepCloneOrReuseNode, - /*context*/ - void 0, - deepCloneOrReuseNodes, - deepCloneOrReuseNode - )), node); - } - function deepCloneOrReuseNodes(nodes, visitor, test, start, count) { - if (nodes && nodes.length === 0) { - return setTextRange(factory.createNodeArray( - /*elements*/ - void 0, - nodes.hasTrailingComma - ), nodes); - } - return visitNodes2(nodes, visitor, test, start, count); - } - } - function createTypeNodeFromObjectType(type2) { - if (isGenericMappedType(type2) || type2.containsError) { - return createMappedTypeNodeFromType(type2); - } - const resolved = resolveStructuredTypeMembers(type2); - if (!resolved.properties.length && !resolved.indexInfos.length) { - if (!resolved.callSignatures.length && !resolved.constructSignatures.length) { - context.approximateLength += 2; - return setEmitFlags(factory.createTypeLiteralNode( - /*members*/ - void 0 - ), 1 /* SingleLine */); - } - if (resolved.callSignatures.length === 1 && !resolved.constructSignatures.length) { - const signature = resolved.callSignatures[0]; - const signatureNode = signatureToSignatureDeclarationHelper(signature, 184 /* FunctionType */, context); - return signatureNode; - } - if (resolved.constructSignatures.length === 1 && !resolved.callSignatures.length) { - const signature = resolved.constructSignatures[0]; - const signatureNode = signatureToSignatureDeclarationHelper(signature, 185 /* ConstructorType */, context); - return signatureNode; - } - } - const abstractSignatures = filter(resolved.constructSignatures, (signature) => !!(signature.flags & 4 /* Abstract */)); - if (some(abstractSignatures)) { - const types = map(abstractSignatures, (s) => getOrCreateTypeFromSignature(s)); - const typeElementCount = resolved.callSignatures.length + (resolved.constructSignatures.length - abstractSignatures.length) + resolved.indexInfos.length + // exclude `prototype` when writing a class expression as a type literal, as per - // the logic in `createTypeNodesFromResolvedType`. - (context.flags & 2048 /* WriteClassExpressionAsTypeLiteral */ ? countWhere(resolved.properties, (p) => !(p.flags & 4194304 /* Prototype */)) : length(resolved.properties)); - if (typeElementCount) { - types.push(getResolvedTypeWithoutAbstractConstructSignatures(resolved)); - } - return typeToTypeNodeHelper(getIntersectionType(types), context); - } - const restoreFlags = saveRestoreFlags(context); - context.flags |= 4194304 /* InObjectTypeLiteral */; - const members = createTypeNodesFromResolvedType(resolved); - restoreFlags(); - const typeLiteralNode = factory.createTypeLiteralNode(members); - context.approximateLength += 2; - setEmitFlags(typeLiteralNode, context.flags & 1024 /* MultilineObjectLiterals */ ? 0 : 1 /* SingleLine */); - return typeLiteralNode; - } - function typeReferenceToTypeNode(type2) { - let typeArguments = getTypeArguments(type2); - if (type2.target === globalArrayType || type2.target === globalReadonlyArrayType) { - if (context.flags & 2 /* WriteArrayAsGenericType */) { - const typeArgumentNode = typeToTypeNodeHelper(typeArguments[0], context); - return factory.createTypeReferenceNode(type2.target === globalArrayType ? "Array" : "ReadonlyArray", [typeArgumentNode]); - } - const elementType = typeToTypeNodeHelper(typeArguments[0], context); - const arrayType = factory.createArrayTypeNode(elementType); - return type2.target === globalArrayType ? arrayType : factory.createTypeOperatorNode(148 /* ReadonlyKeyword */, arrayType); - } else if (type2.target.objectFlags & 8 /* Tuple */) { - typeArguments = sameMap(typeArguments, (t, i) => removeMissingType(t, !!(type2.target.elementFlags[i] & 2 /* Optional */))); - if (typeArguments.length > 0) { - const arity = getTypeReferenceArity(type2); - const tupleConstituentNodes = mapToTypeNodes(typeArguments.slice(0, arity), context); - if (tupleConstituentNodes) { - const { labeledElementDeclarations } = type2.target; - for (let i = 0; i < tupleConstituentNodes.length; i++) { - const flags = type2.target.elementFlags[i]; - const labeledElementDeclaration = labeledElementDeclarations == null ? void 0 : labeledElementDeclarations[i]; - if (labeledElementDeclaration) { - tupleConstituentNodes[i] = factory.createNamedTupleMember( - flags & 12 /* Variable */ ? factory.createToken(26 /* DotDotDotToken */) : void 0, - factory.createIdentifier(unescapeLeadingUnderscores(getTupleElementLabel(labeledElementDeclaration))), - flags & 2 /* Optional */ ? factory.createToken(58 /* QuestionToken */) : void 0, - flags & 4 /* Rest */ ? factory.createArrayTypeNode(tupleConstituentNodes[i]) : tupleConstituentNodes[i] - ); - } else { - tupleConstituentNodes[i] = flags & 12 /* Variable */ ? factory.createRestTypeNode(flags & 4 /* Rest */ ? factory.createArrayTypeNode(tupleConstituentNodes[i]) : tupleConstituentNodes[i]) : flags & 2 /* Optional */ ? factory.createOptionalTypeNode(tupleConstituentNodes[i]) : tupleConstituentNodes[i]; - } - } - const tupleTypeNode = setEmitFlags(factory.createTupleTypeNode(tupleConstituentNodes), 1 /* SingleLine */); - return type2.target.readonly ? factory.createTypeOperatorNode(148 /* ReadonlyKeyword */, tupleTypeNode) : tupleTypeNode; - } - } - if (context.encounteredError || context.flags & 524288 /* AllowEmptyTuple */) { - const tupleTypeNode = setEmitFlags(factory.createTupleTypeNode([]), 1 /* SingleLine */); - return type2.target.readonly ? factory.createTypeOperatorNode(148 /* ReadonlyKeyword */, tupleTypeNode) : tupleTypeNode; - } - context.encounteredError = true; - return void 0; - } else if (context.flags & 2048 /* WriteClassExpressionAsTypeLiteral */ && type2.symbol.valueDeclaration && isClassLike(type2.symbol.valueDeclaration) && !isValueSymbolAccessible(type2.symbol, context.enclosingDeclaration)) { - return createAnonymousTypeNode(type2); - } else { - const outerTypeParameters = type2.target.outerTypeParameters; - let i = 0; - let resultType; - if (outerTypeParameters) { - const length2 = outerTypeParameters.length; - while (i < length2) { - const start = i; - const parent = getParentSymbolOfTypeParameter(outerTypeParameters[i]); - do { - i++; - } while (i < length2 && getParentSymbolOfTypeParameter(outerTypeParameters[i]) === parent); - if (!rangeEquals(outerTypeParameters, typeArguments, start, i)) { - const typeArgumentSlice = mapToTypeNodes(typeArguments.slice(start, i), context); - const restoreFlags2 = saveRestoreFlags(context); - context.flags |= 16 /* ForbidIndexedAccessSymbolReferences */; - const ref = symbolToTypeNode(parent, context, 788968 /* Type */, typeArgumentSlice); - restoreFlags2(); - resultType = !resultType ? ref : appendReferenceToType(resultType, ref); - } - } - } - let typeArgumentNodes; - if (typeArguments.length > 0) { - let typeParameterCount = 0; - if (type2.target.typeParameters) { - typeParameterCount = Math.min(type2.target.typeParameters.length, typeArguments.length); - if (isReferenceToType(type2, getGlobalIterableType( - /*reportErrors*/ - false - )) || isReferenceToType(type2, getGlobalIterableIteratorType( - /*reportErrors*/ - false - )) || isReferenceToType(type2, getGlobalAsyncIterableType( - /*reportErrors*/ - false - )) || isReferenceToType(type2, getGlobalAsyncIterableIteratorType( - /*reportErrors*/ - false - ))) { - if (!type2.node || !isTypeReferenceNode(type2.node) || !type2.node.typeArguments || type2.node.typeArguments.length < typeParameterCount) { - while (typeParameterCount > 0) { - const typeArgument = typeArguments[typeParameterCount - 1]; - const typeParameter = type2.target.typeParameters[typeParameterCount - 1]; - const defaultType = getDefaultFromTypeParameter(typeParameter); - if (!defaultType || !isTypeIdenticalTo(typeArgument, defaultType)) { - break; - } - typeParameterCount--; - } - } - } - } - typeArgumentNodes = mapToTypeNodes(typeArguments.slice(i, typeParameterCount), context); - } - const restoreFlags = saveRestoreFlags(context); - context.flags |= 16 /* ForbidIndexedAccessSymbolReferences */; - const finalRef = symbolToTypeNode(type2.symbol, context, 788968 /* Type */, typeArgumentNodes); - restoreFlags(); - return !resultType ? finalRef : appendReferenceToType(resultType, finalRef); - } - } - function appendReferenceToType(root, ref) { - if (isImportTypeNode(root)) { - let typeArguments = root.typeArguments; - let qualifier = root.qualifier; - if (qualifier) { - if (isIdentifier(qualifier)) { - if (typeArguments !== getIdentifierTypeArguments(qualifier)) { - qualifier = setIdentifierTypeArguments(factory.cloneNode(qualifier), typeArguments); - } - } else { - if (typeArguments !== getIdentifierTypeArguments(qualifier.right)) { - qualifier = factory.updateQualifiedName(qualifier, qualifier.left, setIdentifierTypeArguments(factory.cloneNode(qualifier.right), typeArguments)); - } - } - } - typeArguments = ref.typeArguments; - const ids = getAccessStack(ref); - for (const id of ids) { - qualifier = qualifier ? factory.createQualifiedName(qualifier, id) : id; - } - return factory.updateImportTypeNode( - root, - root.argument, - root.attributes, - qualifier, - typeArguments, - root.isTypeOf - ); - } else { - let typeArguments = root.typeArguments; - let typeName = root.typeName; - if (isIdentifier(typeName)) { - if (typeArguments !== getIdentifierTypeArguments(typeName)) { - typeName = setIdentifierTypeArguments(factory.cloneNode(typeName), typeArguments); - } - } else { - if (typeArguments !== getIdentifierTypeArguments(typeName.right)) { - typeName = factory.updateQualifiedName(typeName, typeName.left, setIdentifierTypeArguments(factory.cloneNode(typeName.right), typeArguments)); - } - } - typeArguments = ref.typeArguments; - const ids = getAccessStack(ref); - for (const id of ids) { - typeName = factory.createQualifiedName(typeName, id); - } - return factory.updateTypeReferenceNode( - root, - typeName, - typeArguments - ); - } - } - function getAccessStack(ref) { - let state = ref.typeName; - const ids = []; - while (!isIdentifier(state)) { - ids.unshift(state.right); - state = state.left; - } - ids.unshift(state); - return ids; - } - function createTypeNodesFromResolvedType(resolvedType) { - if (checkTruncationLength(context)) { - return [factory.createPropertySignature( - /*modifiers*/ - void 0, - "...", - /*questionToken*/ - void 0, - /*type*/ - void 0 - )]; - } - const typeElements = []; - for (const signature of resolvedType.callSignatures) { - typeElements.push(signatureToSignatureDeclarationHelper(signature, 179 /* CallSignature */, context)); - } - for (const signature of resolvedType.constructSignatures) { - if (signature.flags & 4 /* Abstract */) continue; - typeElements.push(signatureToSignatureDeclarationHelper(signature, 180 /* ConstructSignature */, context)); - } - for (const info of resolvedType.indexInfos) { - typeElements.push(indexInfoToIndexSignatureDeclarationHelper(info, context, resolvedType.objectFlags & 1024 /* ReverseMapped */ ? createElidedInformationPlaceholder(context) : void 0)); - } - const properties = resolvedType.properties; - if (!properties) { - return typeElements; - } - let i = 0; - for (const propertySymbol of properties) { - i++; - if (context.flags & 2048 /* WriteClassExpressionAsTypeLiteral */) { - if (propertySymbol.flags & 4194304 /* Prototype */) { - continue; - } - if (getDeclarationModifierFlagsFromSymbol(propertySymbol) & (2 /* Private */ | 4 /* Protected */) && context.tracker.reportPrivateInBaseOfClassExpression) { - context.tracker.reportPrivateInBaseOfClassExpression(unescapeLeadingUnderscores(propertySymbol.escapedName)); - } - } - if (checkTruncationLength(context) && i + 2 < properties.length - 1) { - typeElements.push(factory.createPropertySignature( - /*modifiers*/ - void 0, - `... ${properties.length - i} more ...`, - /*questionToken*/ - void 0, - /*type*/ - void 0 - )); - addPropertyToElementList(properties[properties.length - 1], context, typeElements); - break; - } - addPropertyToElementList(propertySymbol, context, typeElements); - } - return typeElements.length ? typeElements : void 0; - } - } - function createElidedInformationPlaceholder(context) { - context.approximateLength += 3; - if (!(context.flags & 1 /* NoTruncation */)) { - return factory.createTypeReferenceNode( - factory.createIdentifier("..."), - /*typeArguments*/ - void 0 - ); - } - return factory.createKeywordTypeNode(133 /* AnyKeyword */); - } - function shouldUsePlaceholderForProperty(propertySymbol, context) { - var _a; - const depth = 3; - return !!(getCheckFlags(propertySymbol) & 8192 /* ReverseMapped */) && (contains(context.reverseMappedStack, propertySymbol) || ((_a = context.reverseMappedStack) == null ? void 0 : _a[0]) && !(getObjectFlags(last(context.reverseMappedStack).links.propertyType) & 16 /* Anonymous */) || isDeeplyNestedReverseMappedTypeProperty()); - function isDeeplyNestedReverseMappedTypeProperty() { - var _a2; - if ((((_a2 = context.reverseMappedStack) == null ? void 0 : _a2.length) ?? 0) < depth) { - return false; - } - for (let i = 0; i < depth; i++) { - const prop = context.reverseMappedStack[context.reverseMappedStack.length - 1 - i]; - if (prop.links.mappedType.symbol !== propertySymbol.links.mappedType.symbol) { - return false; - } - } - return true; - } - } - function addPropertyToElementList(propertySymbol, context, typeElements) { - var _a; - const propertyIsReverseMapped = !!(getCheckFlags(propertySymbol) & 8192 /* ReverseMapped */); - const propertyType = shouldUsePlaceholderForProperty(propertySymbol, context) ? anyType : getNonMissingTypeOfSymbol(propertySymbol); - const saveEnclosingDeclaration = context.enclosingDeclaration; - context.enclosingDeclaration = void 0; - if (context.tracker.canTrackSymbol && isLateBoundName(propertySymbol.escapedName)) { - if (propertySymbol.declarations) { - const decl = first(propertySymbol.declarations); - if (hasLateBindableName(decl)) { - if (isBinaryExpression(decl)) { - const name = getNameOfDeclaration(decl); - if (name && isElementAccessExpression(name) && isPropertyAccessEntityNameExpression(name.argumentExpression)) { - trackComputedName(name.argumentExpression, saveEnclosingDeclaration, context); - } - } else { - trackComputedName(decl.name.expression, saveEnclosingDeclaration, context); - } - } - } else { - context.tracker.reportNonSerializableProperty(symbolToString(propertySymbol)); - } - } - context.enclosingDeclaration = propertySymbol.valueDeclaration || ((_a = propertySymbol.declarations) == null ? void 0 : _a[0]) || saveEnclosingDeclaration; - const propertyName = getPropertyNameNodeForSymbol(propertySymbol, context); - context.enclosingDeclaration = saveEnclosingDeclaration; - context.approximateLength += symbolName(propertySymbol).length + 1; - if (propertySymbol.flags & 98304 /* Accessor */) { - const writeType = getWriteTypeOfSymbol(propertySymbol); - if (propertyType !== writeType && !isErrorType(propertyType) && !isErrorType(writeType)) { - const getterDeclaration = getDeclarationOfKind(propertySymbol, 177 /* GetAccessor */); - const getterSignature = getSignatureFromDeclaration(getterDeclaration); - typeElements.push( - setCommentRange2( - context, - signatureToSignatureDeclarationHelper(getterSignature, 177 /* GetAccessor */, context, { name: propertyName }), - getterDeclaration - ) - ); - const setterDeclaration = getDeclarationOfKind(propertySymbol, 178 /* SetAccessor */); - const setterSignature = getSignatureFromDeclaration(setterDeclaration); - typeElements.push( - setCommentRange2( - context, - signatureToSignatureDeclarationHelper(setterSignature, 178 /* SetAccessor */, context, { name: propertyName }), - setterDeclaration - ) - ); - return; - } - } - const optionalToken = propertySymbol.flags & 16777216 /* Optional */ ? factory.createToken(58 /* QuestionToken */) : void 0; - if (propertySymbol.flags & (16 /* Function */ | 8192 /* Method */) && !getPropertiesOfObjectType(propertyType).length && !isReadonlySymbol(propertySymbol)) { - const signatures = getSignaturesOfType(filterType(propertyType, (t) => !(t.flags & 32768 /* Undefined */)), 0 /* Call */); - for (const signature of signatures) { - const methodDeclaration = signatureToSignatureDeclarationHelper(signature, 173 /* MethodSignature */, context, { name: propertyName, questionToken: optionalToken }); - typeElements.push(preserveCommentsOn(methodDeclaration)); - } - if (signatures.length || !optionalToken) { - return; - } - } - let propertyTypeNode; - if (shouldUsePlaceholderForProperty(propertySymbol, context)) { - propertyTypeNode = createElidedInformationPlaceholder(context); - } else { - if (propertyIsReverseMapped) { - context.reverseMappedStack || (context.reverseMappedStack = []); - context.reverseMappedStack.push(propertySymbol); - } - propertyTypeNode = propertyType ? serializeTypeForDeclaration( - context, - /*declaration*/ - void 0, - propertyType, - propertySymbol - ) : factory.createKeywordTypeNode(133 /* AnyKeyword */); - if (propertyIsReverseMapped) { - context.reverseMappedStack.pop(); - } - } - const modifiers = isReadonlySymbol(propertySymbol) ? [factory.createToken(148 /* ReadonlyKeyword */)] : void 0; - if (modifiers) { - context.approximateLength += 9; - } - const propertySignature = factory.createPropertySignature( - modifiers, - propertyName, - optionalToken, - propertyTypeNode - ); - typeElements.push(preserveCommentsOn(propertySignature)); - function preserveCommentsOn(node) { - var _a2; - const jsdocPropertyTag = (_a2 = propertySymbol.declarations) == null ? void 0 : _a2.find((d) => d.kind === 348 /* JSDocPropertyTag */); - if (jsdocPropertyTag) { - const commentText = getTextOfJSDocComment(jsdocPropertyTag.comment); - if (commentText) { - setSyntheticLeadingComments(node, [{ kind: 3 /* MultiLineCommentTrivia */, text: "*\n * " + commentText.replace(/\n/g, "\n * ") + "\n ", pos: -1, end: -1, hasTrailingNewLine: true }]); - } - } else if (propertySymbol.valueDeclaration) { - setCommentRange2(context, node, propertySymbol.valueDeclaration); - } - return node; - } - } - function setCommentRange2(context, node, range) { - if (context.enclosingFile && context.enclosingFile === getSourceFileOfNode(range)) { - return setCommentRange(node, range); - } - return node; - } - function mapToTypeNodes(types, context, isBareList) { - if (some(types)) { - if (checkTruncationLength(context)) { - if (!isBareList) { - return [factory.createTypeReferenceNode( - "...", - /*typeArguments*/ - void 0 - )]; - } else if (types.length > 2) { - return [ - typeToTypeNodeHelper(types[0], context), - factory.createTypeReferenceNode( - `... ${types.length - 2} more ...`, - /*typeArguments*/ - void 0 - ), - typeToTypeNodeHelper(types[types.length - 1], context) - ]; - } - } - const mayHaveNameCollisions = !(context.flags & 64 /* UseFullyQualifiedType */); - const seenNames = mayHaveNameCollisions ? createMultiMap() : void 0; - const result = []; - let i = 0; - for (const type of types) { - i++; - if (checkTruncationLength(context) && i + 2 < types.length - 1) { - result.push(factory.createTypeReferenceNode( - `... ${types.length - i} more ...`, - /*typeArguments*/ - void 0 - )); - const typeNode2 = typeToTypeNodeHelper(types[types.length - 1], context); - if (typeNode2) { - result.push(typeNode2); - } - break; - } - context.approximateLength += 2; - const typeNode = typeToTypeNodeHelper(type, context); - if (typeNode) { - result.push(typeNode); - if (seenNames && isIdentifierTypeReference(typeNode)) { - seenNames.add(typeNode.typeName.escapedText, [type, result.length - 1]); - } - } - } - if (seenNames) { - const restoreFlags = saveRestoreFlags(context); - context.flags |= 64 /* UseFullyQualifiedType */; - seenNames.forEach((types2) => { - if (!arrayIsHomogeneous(types2, ([a], [b]) => typesAreSameReference(a, b))) { - for (const [type, resultIndex] of types2) { - result[resultIndex] = typeToTypeNodeHelper(type, context); - } - } - }); - restoreFlags(); - } - return result; - } - } - function typesAreSameReference(a, b) { - return a === b || !!a.symbol && a.symbol === b.symbol || !!a.aliasSymbol && a.aliasSymbol === b.aliasSymbol; - } - function indexInfoToIndexSignatureDeclarationHelper(indexInfo, context, typeNode) { - const name = getNameFromIndexInfo(indexInfo) || "x"; - const indexerTypeNode = typeToTypeNodeHelper(indexInfo.keyType, context); - const indexingParameter = factory.createParameterDeclaration( - /*modifiers*/ - void 0, - /*dotDotDotToken*/ - void 0, - name, - /*questionToken*/ - void 0, - indexerTypeNode, - /*initializer*/ - void 0 - ); - if (!typeNode) { - typeNode = typeToTypeNodeHelper(indexInfo.type || anyType, context); - } - if (!indexInfo.type && !(context.flags & 2097152 /* AllowEmptyIndexInfoType */)) { - context.encounteredError = true; - } - context.approximateLength += name.length + 4; - return factory.createIndexSignature( - indexInfo.isReadonly ? [factory.createToken(148 /* ReadonlyKeyword */)] : void 0, - [indexingParameter], - typeNode - ); - } - function signatureToSignatureDeclarationHelper(signature, kind, context, options) { - var _a; - let typeParameters; - let typeArguments; - const expandedParams = getExpandedParameters( - signature, - /*skipUnionExpanding*/ - true - )[0]; - const cleanup = enterNewScope(context, signature.declaration, expandedParams, signature.typeParameters, signature.parameters, signature.mapper); - context.approximateLength += 3; - if (context.flags & 32 /* WriteTypeArgumentsOfSignature */ && signature.target && signature.mapper && signature.target.typeParameters) { - typeArguments = signature.target.typeParameters.map((parameter) => typeToTypeNodeHelper(instantiateType(parameter, signature.mapper), context)); - } else { - typeParameters = signature.typeParameters && signature.typeParameters.map((parameter) => typeParameterToDeclaration(parameter, context)); - } - const restoreFlags = saveRestoreFlags(context); - context.flags &= ~256 /* SuppressAnyReturnType */; - const parameters = (some(expandedParams, (p) => p !== expandedParams[expandedParams.length - 1] && !!(getCheckFlags(p) & 32768 /* RestParameter */)) ? signature.parameters : expandedParams).map((parameter) => symbolToParameterDeclaration(parameter, context, kind === 176 /* Constructor */)); - const thisParameter = context.flags & 33554432 /* OmitThisParameter */ ? void 0 : tryGetThisParameterDeclaration(signature, context); - if (thisParameter) { - parameters.unshift(thisParameter); - } - restoreFlags(); - const returnTypeNode = serializeReturnTypeForSignature(context, signature); - let modifiers = options == null ? void 0 : options.modifiers; - if (kind === 185 /* ConstructorType */ && signature.flags & 4 /* Abstract */) { - const flags = modifiersToFlags(modifiers); - modifiers = factory.createModifiersFromModifierFlags(flags | 64 /* Abstract */); - } - const node = kind === 179 /* CallSignature */ ? factory.createCallSignature(typeParameters, parameters, returnTypeNode) : kind === 180 /* ConstructSignature */ ? factory.createConstructSignature(typeParameters, parameters, returnTypeNode) : kind === 173 /* MethodSignature */ ? factory.createMethodSignature(modifiers, (options == null ? void 0 : options.name) ?? factory.createIdentifier(""), options == null ? void 0 : options.questionToken, typeParameters, parameters, returnTypeNode) : kind === 174 /* MethodDeclaration */ ? factory.createMethodDeclaration( - modifiers, - /*asteriskToken*/ - void 0, - (options == null ? void 0 : options.name) ?? factory.createIdentifier(""), - /*questionToken*/ - void 0, - typeParameters, - parameters, - returnTypeNode, - /*body*/ - void 0 - ) : kind === 176 /* Constructor */ ? factory.createConstructorDeclaration( - modifiers, - parameters, - /*body*/ - void 0 - ) : kind === 177 /* GetAccessor */ ? factory.createGetAccessorDeclaration( - modifiers, - (options == null ? void 0 : options.name) ?? factory.createIdentifier(""), - parameters, - returnTypeNode, - /*body*/ - void 0 - ) : kind === 178 /* SetAccessor */ ? factory.createSetAccessorDeclaration( - modifiers, - (options == null ? void 0 : options.name) ?? factory.createIdentifier(""), - parameters, - /*body*/ - void 0 - ) : kind === 181 /* IndexSignature */ ? factory.createIndexSignature(modifiers, parameters, returnTypeNode) : kind === 317 /* JSDocFunctionType */ ? factory.createJSDocFunctionType(parameters, returnTypeNode) : kind === 184 /* FunctionType */ ? factory.createFunctionTypeNode(typeParameters, parameters, returnTypeNode ?? factory.createTypeReferenceNode(factory.createIdentifier(""))) : kind === 185 /* ConstructorType */ ? factory.createConstructorTypeNode(modifiers, typeParameters, parameters, returnTypeNode ?? factory.createTypeReferenceNode(factory.createIdentifier(""))) : kind === 262 /* FunctionDeclaration */ ? factory.createFunctionDeclaration( - modifiers, - /*asteriskToken*/ - void 0, - (options == null ? void 0 : options.name) ? cast(options.name, isIdentifier) : factory.createIdentifier(""), - typeParameters, - parameters, - returnTypeNode, - /*body*/ - void 0 - ) : kind === 218 /* FunctionExpression */ ? factory.createFunctionExpression( - modifiers, - /*asteriskToken*/ - void 0, - (options == null ? void 0 : options.name) ? cast(options.name, isIdentifier) : factory.createIdentifier(""), - typeParameters, - parameters, - returnTypeNode, - factory.createBlock([]) - ) : kind === 219 /* ArrowFunction */ ? factory.createArrowFunction( - modifiers, - typeParameters, - parameters, - returnTypeNode, - /*equalsGreaterThanToken*/ - void 0, - factory.createBlock([]) - ) : Debug.assertNever(kind); - if (typeArguments) { - node.typeArguments = factory.createNodeArray(typeArguments); - } - if (((_a = signature.declaration) == null ? void 0 : _a.kind) === 323 /* JSDocSignature */ && signature.declaration.parent.kind === 339 /* JSDocOverloadTag */) { - const comment = getTextOfNode( - signature.declaration.parent.parent, - /*includeTrivia*/ - true - ).slice(2, -2).split(/\r\n|\n|\r/).map((line) => line.replace(/^\s+/, " ")).join("\n"); - addSyntheticLeadingComment( - node, - 3 /* MultiLineCommentTrivia */, - comment, - /*hasTrailingNewLine*/ - true - ); - } - cleanup == null ? void 0 : cleanup(); - return node; - } - function isNewScopeNode(node) { - return isFunctionLike(node) || isJSDocSignature(node) || isMappedTypeNode(node); - } - function getTypeParametersInScope(node) { - return isFunctionLike(node) || isJSDocSignature(node) ? getSignatureFromDeclaration(node).typeParameters : isConditionalTypeNode(node) ? getInferTypeParameters(node) : [getDeclaredTypeOfTypeParameter(getSymbolOfDeclaration(node.typeParameter))]; - } - function getParametersInScope(node) { - return isFunctionLike(node) || isJSDocSignature(node) ? getSignatureFromDeclaration(node).parameters : void 0; - } - function enterNewScope(context, declaration, expandedParams, typeParameters, originalParameters, mapper) { - const cleanupContext = cloneNodeBuilderContext(context); - let cleanupParams; - let cleanupTypeParams; - const oldEnclosingDecl = context.enclosingDeclaration; - const oldMapper = context.mapper; - if (mapper) { - context.mapper = mapper; - } - if (context.enclosingDeclaration && declaration) { - let pushFakeScope2 = function(kind, addAll) { - Debug.assert(context.enclosingDeclaration); - let existingFakeScope; - if (getNodeLinks(context.enclosingDeclaration).fakeScopeForSignatureDeclaration === kind) { - existingFakeScope = context.enclosingDeclaration; - } else if (context.enclosingDeclaration.parent && getNodeLinks(context.enclosingDeclaration.parent).fakeScopeForSignatureDeclaration === kind) { - existingFakeScope = context.enclosingDeclaration.parent; - } - Debug.assertOptionalNode(existingFakeScope, isBlock); - const locals = (existingFakeScope == null ? void 0 : existingFakeScope.locals) ?? createSymbolTable(); - let newLocals; - let oldLocals; - addAll((name, symbol) => { - if (existingFakeScope) { - const oldSymbol = locals.get(name); - if (!oldSymbol) { - newLocals = append(newLocals, name); - } else { - oldLocals = append(oldLocals, { name, oldSymbol }); - } - } - locals.set(name, symbol); - }); - if (!existingFakeScope) { - const fakeScope = factory.createBlock(emptyArray); - getNodeLinks(fakeScope).fakeScopeForSignatureDeclaration = kind; - fakeScope.locals = locals; - setParent(fakeScope, context.enclosingDeclaration); - context.enclosingDeclaration = fakeScope; - } else { - return function undo() { - forEach(newLocals, (s) => locals.delete(s)); - forEach(oldLocals, (s) => locals.set(s.name, s.oldSymbol)); - }; - } - }; - var pushFakeScope = pushFakeScope2; - cleanupParams = !some(expandedParams) ? void 0 : pushFakeScope2( - "params", - (add) => { - if (!expandedParams) return; - for (let pIndex = 0; pIndex < expandedParams.length; pIndex++) { - const param = expandedParams[pIndex]; - const originalParam = originalParameters == null ? void 0 : originalParameters[pIndex]; - if (originalParameters && originalParam !== param) { - add(param.escapedName, unknownSymbol); - if (originalParam) { - add(originalParam.escapedName, unknownSymbol); - } - } else if (!forEach(param.declarations, (d) => { - if (isParameter(d) && isBindingPattern(d.name)) { - bindPattern(d.name); - return true; - } - return void 0; - function bindPattern(p) { - forEach(p.elements, (e) => { - switch (e.kind) { - case 232 /* OmittedExpression */: - return; - case 208 /* BindingElement */: - return bindElement(e); - default: - return Debug.assertNever(e); - } - }); - } - function bindElement(e) { - if (isBindingPattern(e.name)) { - return bindPattern(e.name); - } - const symbol = getSymbolOfDeclaration(e); - add(symbol.escapedName, symbol); - } - })) { - add(param.escapedName, param); - } - } - } - ); - if (context.flags & 4 /* GenerateNamesForShadowedTypeParams */ && some(typeParameters)) { - cleanupTypeParams = pushFakeScope2( - "typeParams", - (add) => { - for (const typeParam of typeParameters ?? emptyArray) { - const typeParamName = typeParameterToName(typeParam, context).escapedText; - add(typeParamName, typeParam.symbol); - } - } - ); - } - } - return () => { - cleanupParams == null ? void 0 : cleanupParams(); - cleanupTypeParams == null ? void 0 : cleanupTypeParams(); - cleanupContext(); - context.enclosingDeclaration = oldEnclosingDecl; - context.mapper = oldMapper; - }; - } - function tryGetThisParameterDeclaration(signature, context) { - if (signature.thisParameter) { - return symbolToParameterDeclaration(signature.thisParameter, context); - } - if (signature.declaration && isInJSFile(signature.declaration)) { - const thisTag = getJSDocThisTag(signature.declaration); - if (thisTag && thisTag.typeExpression) { - return factory.createParameterDeclaration( - /*modifiers*/ - void 0, - /*dotDotDotToken*/ - void 0, - "this", - /*questionToken*/ - void 0, - typeToTypeNodeHelper(getTypeFromTypeNode2(context, thisTag.typeExpression), context) - ); - } - } - } - function typeParameterToDeclarationWithConstraint(type, context, constraintNode) { - const restoreFlags = saveRestoreFlags(context); - context.flags &= ~512 /* WriteTypeParametersInQualifiedName */; - const modifiers = factory.createModifiersFromModifierFlags(getTypeParameterModifiers(type)); - const name = typeParameterToName(type, context); - const defaultParameter = getDefaultFromTypeParameter(type); - const defaultParameterNode = defaultParameter && typeToTypeNodeHelper(defaultParameter, context); - restoreFlags(); - return factory.createTypeParameterDeclaration(modifiers, name, constraintNode, defaultParameterNode); - } - function typeToTypeNodeHelperWithPossibleReusableTypeNode(type, typeNode, context) { - return typeNode && tryReuseExistingNonParameterTypeNode(context, typeNode, type) || typeToTypeNodeHelper(type, context); - } - function typeParameterToDeclaration(type, context, constraint = getConstraintOfTypeParameter(type)) { - const constraintNode = constraint && typeToTypeNodeHelperWithPossibleReusableTypeNode(constraint, getConstraintDeclaration(type), context); - return typeParameterToDeclarationWithConstraint(type, context, constraintNode); - } - function typePredicateToTypePredicateNodeHelper(typePredicate, context) { - const assertsModifier = typePredicate.kind === 2 /* AssertsThis */ || typePredicate.kind === 3 /* AssertsIdentifier */ ? factory.createToken(131 /* AssertsKeyword */) : void 0; - const parameterName = typePredicate.kind === 1 /* Identifier */ || typePredicate.kind === 3 /* AssertsIdentifier */ ? setEmitFlags(factory.createIdentifier(typePredicate.parameterName), 16777216 /* NoAsciiEscaping */) : factory.createThisTypeNode(); - const typeNode = typePredicate.type && typeToTypeNodeHelper(typePredicate.type, context); - return factory.createTypePredicateNode(assertsModifier, parameterName, typeNode); - } - function getEffectiveParameterDeclaration(parameterSymbol) { - const parameterDeclaration = getDeclarationOfKind(parameterSymbol, 169 /* Parameter */); - if (parameterDeclaration) { - return parameterDeclaration; - } - if (!isTransientSymbol(parameterSymbol)) { - return getDeclarationOfKind(parameterSymbol, 341 /* JSDocParameterTag */); - } - } - function symbolToParameterDeclaration(parameterSymbol, context, preserveModifierFlags) { - const parameterDeclaration = getEffectiveParameterDeclaration(parameterSymbol); - const parameterType = getTypeOfSymbol(parameterSymbol); - const parameterTypeNode = serializeTypeForDeclaration(context, parameterDeclaration, parameterType, parameterSymbol); - const modifiers = !(context.flags & 8192 /* OmitParameterModifiers */) && preserveModifierFlags && parameterDeclaration && canHaveModifiers(parameterDeclaration) ? map(getModifiers(parameterDeclaration), factory.cloneNode) : void 0; - const isRest = parameterDeclaration && isRestParameter(parameterDeclaration) || getCheckFlags(parameterSymbol) & 32768 /* RestParameter */; - const dotDotDotToken = isRest ? factory.createToken(26 /* DotDotDotToken */) : void 0; - const name = parameterToParameterDeclarationName(parameterSymbol, parameterDeclaration, context); - const isOptional = parameterDeclaration && isOptionalParameter(parameterDeclaration) || getCheckFlags(parameterSymbol) & 16384 /* OptionalParameter */; - const questionToken = isOptional ? factory.createToken(58 /* QuestionToken */) : void 0; - const parameterNode = factory.createParameterDeclaration( - modifiers, - dotDotDotToken, - name, - questionToken, - parameterTypeNode, - /*initializer*/ - void 0 - ); - context.approximateLength += symbolName(parameterSymbol).length + 3; - return parameterNode; - } - function parameterToParameterDeclarationName(parameterSymbol, parameterDeclaration, context) { - return parameterDeclaration ? parameterDeclaration.name ? parameterDeclaration.name.kind === 80 /* Identifier */ ? setEmitFlags(factory.cloneNode(parameterDeclaration.name), 16777216 /* NoAsciiEscaping */) : parameterDeclaration.name.kind === 166 /* QualifiedName */ ? setEmitFlags(factory.cloneNode(parameterDeclaration.name.right), 16777216 /* NoAsciiEscaping */) : cloneBindingName(parameterDeclaration.name) : symbolName(parameterSymbol) : symbolName(parameterSymbol); - function cloneBindingName(node) { - return elideInitializerAndSetEmitFlags(node); - function elideInitializerAndSetEmitFlags(node2) { - if (context.tracker.canTrackSymbol && isComputedPropertyName(node2) && isLateBindableName(node2)) { - trackComputedName(node2.expression, context.enclosingDeclaration, context); - } - let visited = visitEachChild( - node2, - elideInitializerAndSetEmitFlags, - /*context*/ - void 0, - /*nodesVisitor*/ - void 0, - elideInitializerAndSetEmitFlags - ); - if (isBindingElement(visited)) { - visited = factory.updateBindingElement( - visited, - visited.dotDotDotToken, - visited.propertyName, - visited.name, - /*initializer*/ - void 0 - ); - } - if (!nodeIsSynthesized(visited)) { - visited = factory.cloneNode(visited); - } - return setEmitFlags(visited, 1 /* SingleLine */ | 16777216 /* NoAsciiEscaping */); - } - } - } - function trackComputedName(accessExpression, enclosingDeclaration, context) { - if (!context.tracker.canTrackSymbol) return; - const firstIdentifier = getFirstIdentifier(accessExpression); - const name = resolveName( - firstIdentifier, - firstIdentifier.escapedText, - 111551 /* Value */ | 1048576 /* ExportValue */, - /*nameNotFoundMessage*/ - void 0, - /*isUse*/ - true - ); - if (name) { - context.tracker.trackSymbol(name, enclosingDeclaration, 111551 /* Value */); - } - } - function lookupSymbolChain(symbol, context, meaning, yieldModuleSymbol) { - context.tracker.trackSymbol(symbol, context.enclosingDeclaration, meaning); - return lookupSymbolChainWorker(symbol, context, meaning, yieldModuleSymbol); - } - function lookupSymbolChainWorker(symbol, context, meaning, yieldModuleSymbol) { - let chain; - const isTypeParameter = symbol.flags & 262144 /* TypeParameter */; - if (!isTypeParameter && (context.enclosingDeclaration || context.flags & 64 /* UseFullyQualifiedType */) && !(context.internalFlags & 4 /* DoNotIncludeSymbolChain */)) { - chain = Debug.checkDefined(getSymbolChain( - symbol, - meaning, - /*endOfChain*/ - true - )); - Debug.assert(chain && chain.length > 0); - } else { - chain = [symbol]; - } - return chain; - function getSymbolChain(symbol2, meaning2, endOfChain) { - let accessibleSymbolChain = getAccessibleSymbolChain(symbol2, context.enclosingDeclaration, meaning2, !!(context.flags & 128 /* UseOnlyExternalAliasing */)); - let parentSpecifiers; - if (!accessibleSymbolChain || needsQualification(accessibleSymbolChain[0], context.enclosingDeclaration, accessibleSymbolChain.length === 1 ? meaning2 : getQualifiedLeftMeaning(meaning2))) { - const parents = getContainersOfSymbol(accessibleSymbolChain ? accessibleSymbolChain[0] : symbol2, context.enclosingDeclaration, meaning2); - if (length(parents)) { - parentSpecifiers = parents.map( - (symbol3) => some(symbol3.declarations, hasNonGlobalAugmentationExternalModuleSymbol) ? getSpecifierForModuleSymbol(symbol3, context) : void 0 - ); - const indices = parents.map((_, i) => i); - indices.sort(sortByBestName); - const sortedParents = indices.map((i) => parents[i]); - for (const parent of sortedParents) { - const parentChain = getSymbolChain( - parent, - getQualifiedLeftMeaning(meaning2), - /*endOfChain*/ - false - ); - if (parentChain) { - if (parent.exports && parent.exports.get("export=" /* ExportEquals */) && getSymbolIfSameReference(parent.exports.get("export=" /* ExportEquals */), symbol2)) { - accessibleSymbolChain = parentChain; - break; - } - accessibleSymbolChain = parentChain.concat(accessibleSymbolChain || [getAliasForSymbolInContainer(parent, symbol2) || symbol2]); - break; - } - } - } - } - if (accessibleSymbolChain) { - return accessibleSymbolChain; - } - if ( - // If this is the last part of outputting the symbol, always output. The cases apply only to parent symbols. - endOfChain || // If a parent symbol is an anonymous type, don't write it. - !(symbol2.flags & (2048 /* TypeLiteral */ | 4096 /* ObjectLiteral */)) - ) { - if (!endOfChain && !yieldModuleSymbol && !!forEach(symbol2.declarations, hasNonGlobalAugmentationExternalModuleSymbol)) { - return; - } - return [symbol2]; - } - function sortByBestName(a, b) { - const specifierA = parentSpecifiers[a]; - const specifierB = parentSpecifiers[b]; - if (specifierA && specifierB) { - const isBRelative = pathIsRelative(specifierB); - if (pathIsRelative(specifierA) === isBRelative) { - return countPathComponents(specifierA) - countPathComponents(specifierB); - } - if (isBRelative) { - return -1; - } - return 1; - } - return 0; - } - } - } - function typeParametersToTypeParameterDeclarations(symbol, context) { - let typeParameterNodes; - const targetSymbol = getTargetSymbol(symbol); - if (targetSymbol.flags & (32 /* Class */ | 64 /* Interface */ | 524288 /* TypeAlias */)) { - typeParameterNodes = factory.createNodeArray(map(getLocalTypeParametersOfClassOrInterfaceOrTypeAlias(symbol), (tp) => typeParameterToDeclaration(tp, context))); - } - return typeParameterNodes; - } - function lookupTypeParameterNodes(chain, index, context) { - var _a; - Debug.assert(chain && 0 <= index && index < chain.length); - const symbol = chain[index]; - const symbolId = getSymbolId(symbol); - if ((_a = context.typeParameterSymbolList) == null ? void 0 : _a.has(symbolId)) { - return void 0; - } - if (context.mustCreateTypeParameterSymbolList) { - context.mustCreateTypeParameterSymbolList = false; - context.typeParameterSymbolList = new Set(context.typeParameterSymbolList); - } - context.typeParameterSymbolList.add(symbolId); - let typeParameterNodes; - if (context.flags & 512 /* WriteTypeParametersInQualifiedName */ && index < chain.length - 1) { - const parentSymbol = symbol; - const nextSymbol = chain[index + 1]; - if (getCheckFlags(nextSymbol) & 1 /* Instantiated */) { - const params = getTypeParametersOfClassOrInterface( - parentSymbol.flags & 2097152 /* Alias */ ? resolveAlias(parentSymbol) : parentSymbol - ); - typeParameterNodes = mapToTypeNodes(map(params, (t) => getMappedType(t, nextSymbol.links.mapper)), context); - } else { - typeParameterNodes = typeParametersToTypeParameterDeclarations(symbol, context); - } - } - return typeParameterNodes; - } - function getTopmostIndexedAccessType(top) { - if (isIndexedAccessTypeNode(top.objectType)) { - return getTopmostIndexedAccessType(top.objectType); - } - return top; - } - function getSpecifierForModuleSymbol(symbol, context, overrideImportMode) { - let file = getDeclarationOfKind(symbol, 307 /* SourceFile */); - if (!file) { - const equivalentFileSymbol = firstDefined(symbol.declarations, (d) => getFileSymbolIfFileSymbolExportEqualsContainer(d, symbol)); - if (equivalentFileSymbol) { - file = getDeclarationOfKind(equivalentFileSymbol, 307 /* SourceFile */); - } - } - if (file && file.moduleName !== void 0) { - return file.moduleName; - } - if (!file) { - if (ambientModuleSymbolRegex.test(symbol.escapedName)) { - return symbol.escapedName.substring(1, symbol.escapedName.length - 1); - } - } - if (!context.enclosingFile || !context.tracker.moduleResolverHost) { - if (ambientModuleSymbolRegex.test(symbol.escapedName)) { - return symbol.escapedName.substring(1, symbol.escapedName.length - 1); - } - return getSourceFileOfNode(getNonAugmentationDeclaration(symbol)).fileName; - } - const enclosingDeclaration = getOriginalNode(context.enclosingDeclaration); - const originalModuleSpecifier = canHaveModuleSpecifier(enclosingDeclaration) ? tryGetModuleSpecifierFromDeclaration(enclosingDeclaration) : void 0; - const contextFile = context.enclosingFile; - const resolutionMode = overrideImportMode || originalModuleSpecifier && host.getModeForUsageLocation(contextFile, originalModuleSpecifier) || contextFile && host.getDefaultResolutionModeForFile(contextFile); - const cacheKey = createModeAwareCacheKey(contextFile.path, resolutionMode); - const links = getSymbolLinks(symbol); - let specifier = links.specifierCache && links.specifierCache.get(cacheKey); - if (!specifier) { - const isBundle2 = !!compilerOptions.outFile; - const { moduleResolverHost } = context.tracker; - const specifierCompilerOptions = isBundle2 ? { ...compilerOptions, baseUrl: moduleResolverHost.getCommonSourceDirectory() } : compilerOptions; - specifier = first(getModuleSpecifiers( - symbol, - checker, - specifierCompilerOptions, - contextFile, - moduleResolverHost, - { - importModuleSpecifierPreference: isBundle2 ? "non-relative" : "project-relative", - importModuleSpecifierEnding: isBundle2 ? "minimal" : resolutionMode === 99 /* ESNext */ ? "js" : void 0 - }, - { overrideImportMode } - )); - links.specifierCache ?? (links.specifierCache = /* @__PURE__ */ new Map()); - links.specifierCache.set(cacheKey, specifier); - } - return specifier; - } - function symbolToEntityNameNode(symbol) { - const identifier = factory.createIdentifier(unescapeLeadingUnderscores(symbol.escapedName)); - return symbol.parent ? factory.createQualifiedName(symbolToEntityNameNode(symbol.parent), identifier) : identifier; - } - function symbolToTypeNode(symbol, context, meaning, overrideTypeArguments) { - const chain = lookupSymbolChain(symbol, context, meaning, !(context.flags & 16384 /* UseAliasDefinedOutsideCurrentScope */)); - const isTypeOf = meaning === 111551 /* Value */; - if (some(chain[0].declarations, hasNonGlobalAugmentationExternalModuleSymbol)) { - const nonRootParts = chain.length > 1 ? createAccessFromSymbolChain(chain, chain.length - 1, 1) : void 0; - const typeParameterNodes = overrideTypeArguments || lookupTypeParameterNodes(chain, 0, context); - const contextFile = getSourceFileOfNode(getOriginalNode(context.enclosingDeclaration)); - const targetFile = getSourceFileOfModule(chain[0]); - let specifier; - let attributes; - if (getEmitModuleResolutionKind(compilerOptions) === 3 /* Node16 */ || getEmitModuleResolutionKind(compilerOptions) === 99 /* NodeNext */) { - if ((targetFile == null ? void 0 : targetFile.impliedNodeFormat) === 99 /* ESNext */ && targetFile.impliedNodeFormat !== (contextFile == null ? void 0 : contextFile.impliedNodeFormat)) { - specifier = getSpecifierForModuleSymbol(chain[0], context, 99 /* ESNext */); - attributes = factory.createImportAttributes( - factory.createNodeArray([ - factory.createImportAttribute( - factory.createStringLiteral("resolution-mode"), - factory.createStringLiteral("import") - ) - ]) - ); - } - } - if (!specifier) { - specifier = getSpecifierForModuleSymbol(chain[0], context); - } - if (!(context.flags & 67108864 /* AllowNodeModulesRelativePaths */) && getEmitModuleResolutionKind(compilerOptions) !== 1 /* Classic */ && specifier.includes("/node_modules/")) { - const oldSpecifier = specifier; - if (getEmitModuleResolutionKind(compilerOptions) === 3 /* Node16 */ || getEmitModuleResolutionKind(compilerOptions) === 99 /* NodeNext */) { - const swappedMode = (contextFile == null ? void 0 : contextFile.impliedNodeFormat) === 99 /* ESNext */ ? 1 /* CommonJS */ : 99 /* ESNext */; - specifier = getSpecifierForModuleSymbol(chain[0], context, swappedMode); - if (specifier.includes("/node_modules/")) { - specifier = oldSpecifier; - } else { - attributes = factory.createImportAttributes( - factory.createNodeArray([ - factory.createImportAttribute( - factory.createStringLiteral("resolution-mode"), - factory.createStringLiteral(swappedMode === 99 /* ESNext */ ? "import" : "require") - ) - ]) - ); - } - } - if (!attributes) { - context.encounteredError = true; - if (context.tracker.reportLikelyUnsafeImportRequiredError) { - context.tracker.reportLikelyUnsafeImportRequiredError(oldSpecifier); - } - } - } - const lit = factory.createLiteralTypeNode(factory.createStringLiteral(specifier)); - context.approximateLength += specifier.length + 10; - if (!nonRootParts || isEntityName(nonRootParts)) { - if (nonRootParts) { - const lastId = isIdentifier(nonRootParts) ? nonRootParts : nonRootParts.right; - setIdentifierTypeArguments( - lastId, - /*typeArguments*/ - void 0 - ); - } - return factory.createImportTypeNode(lit, attributes, nonRootParts, typeParameterNodes, isTypeOf); - } else { - const splitNode = getTopmostIndexedAccessType(nonRootParts); - const qualifier = splitNode.objectType.typeName; - return factory.createIndexedAccessTypeNode(factory.createImportTypeNode(lit, attributes, qualifier, typeParameterNodes, isTypeOf), splitNode.indexType); - } - } - const entityName = createAccessFromSymbolChain(chain, chain.length - 1, 0); - if (isIndexedAccessTypeNode(entityName)) { - return entityName; - } - if (isTypeOf) { - return factory.createTypeQueryNode(entityName); - } else { - const lastId = isIdentifier(entityName) ? entityName : entityName.right; - const lastTypeArgs = getIdentifierTypeArguments(lastId); - setIdentifierTypeArguments( - lastId, - /*typeArguments*/ - void 0 - ); - return factory.createTypeReferenceNode(entityName, lastTypeArgs); - } - function createAccessFromSymbolChain(chain2, index, stopper) { - const typeParameterNodes = index === chain2.length - 1 ? overrideTypeArguments : lookupTypeParameterNodes(chain2, index, context); - const symbol2 = chain2[index]; - const parent = chain2[index - 1]; - let symbolName2; - if (index === 0) { - context.flags |= 16777216 /* InInitialEntityName */; - symbolName2 = getNameOfSymbolAsWritten(symbol2, context); - context.approximateLength += (symbolName2 ? symbolName2.length : 0) + 1; - context.flags ^= 16777216 /* InInitialEntityName */; - } else { - if (parent && getExportsOfSymbol(parent)) { - const exports2 = getExportsOfSymbol(parent); - forEachEntry(exports2, (ex, name) => { - if (getSymbolIfSameReference(ex, symbol2) && !isLateBoundName(name) && name !== "export=" /* ExportEquals */) { - symbolName2 = unescapeLeadingUnderscores(name); - return true; - } - }); - } - } - if (symbolName2 === void 0) { - const name = firstDefined(symbol2.declarations, getNameOfDeclaration); - if (name && isComputedPropertyName(name) && isEntityName(name.expression)) { - const LHS = createAccessFromSymbolChain(chain2, index - 1, stopper); - if (isEntityName(LHS)) { - return factory.createIndexedAccessTypeNode(factory.createParenthesizedType(factory.createTypeQueryNode(LHS)), factory.createTypeQueryNode(name.expression)); - } - return LHS; - } - symbolName2 = getNameOfSymbolAsWritten(symbol2, context); - } - context.approximateLength += symbolName2.length + 1; - if (!(context.flags & 16 /* ForbidIndexedAccessSymbolReferences */) && parent && getMembersOfSymbol(parent) && getMembersOfSymbol(parent).get(symbol2.escapedName) && getSymbolIfSameReference(getMembersOfSymbol(parent).get(symbol2.escapedName), symbol2)) { - const LHS = createAccessFromSymbolChain(chain2, index - 1, stopper); - if (isIndexedAccessTypeNode(LHS)) { - return factory.createIndexedAccessTypeNode(LHS, factory.createLiteralTypeNode(factory.createStringLiteral(symbolName2))); - } else { - return factory.createIndexedAccessTypeNode(factory.createTypeReferenceNode(LHS, typeParameterNodes), factory.createLiteralTypeNode(factory.createStringLiteral(symbolName2))); - } - } - const identifier = setEmitFlags(factory.createIdentifier(symbolName2), 16777216 /* NoAsciiEscaping */); - if (typeParameterNodes) setIdentifierTypeArguments(identifier, factory.createNodeArray(typeParameterNodes)); - identifier.symbol = symbol2; - if (index > stopper) { - const LHS = createAccessFromSymbolChain(chain2, index - 1, stopper); - if (!isEntityName(LHS)) { - return Debug.fail("Impossible construct - an export of an indexed access cannot be reachable"); - } - return factory.createQualifiedName(LHS, identifier); - } - return identifier; - } - } - function typeParameterShadowsOtherTypeParameterInScope(escapedName, context, type) { - const result = resolveName( - context.enclosingDeclaration, - escapedName, - 788968 /* Type */, - /*nameNotFoundMessage*/ - void 0, - /*isUse*/ - false - ); - if (result && result.flags & 262144 /* TypeParameter */) { - return result !== type.symbol; - } - return false; - } - function typeParameterToName(type, context) { - var _a, _b, _c, _d; - if (context.flags & 4 /* GenerateNamesForShadowedTypeParams */ && context.typeParameterNames) { - const cached = context.typeParameterNames.get(getTypeId(type)); - if (cached) { - return cached; - } - } - let result = symbolToName( - type.symbol, - context, - 788968 /* Type */, - /*expectsIdentifier*/ - true - ); - if (!(result.kind & 80 /* Identifier */)) { - return factory.createIdentifier("(Missing type parameter)"); - } - const decl = (_b = (_a = type.symbol) == null ? void 0 : _a.declarations) == null ? void 0 : _b[0]; - if (decl && isTypeParameterDeclaration(decl)) { - result = setTextRange2(context, result, decl.name); - } - if (context.flags & 4 /* GenerateNamesForShadowedTypeParams */) { - const rawtext = result.escapedText; - let i = ((_c = context.typeParameterNamesByTextNextNameCount) == null ? void 0 : _c.get(rawtext)) || 0; - let text = rawtext; - while (((_d = context.typeParameterNamesByText) == null ? void 0 : _d.has(text)) || typeParameterShadowsOtherTypeParameterInScope(text, context, type)) { - i++; - text = `${rawtext}_${i}`; - } - if (text !== rawtext) { - const typeArguments = getIdentifierTypeArguments(result); - result = factory.createIdentifier(text); - setIdentifierTypeArguments(result, typeArguments); - } - if (context.mustCreateTypeParametersNamesLookups) { - context.mustCreateTypeParametersNamesLookups = false; - context.typeParameterNames = new Map(context.typeParameterNames); - context.typeParameterNamesByTextNextNameCount = new Map(context.typeParameterNamesByTextNextNameCount); - context.typeParameterNamesByText = new Set(context.typeParameterNamesByText); - } - context.typeParameterNamesByTextNextNameCount.set(rawtext, i); - context.typeParameterNames.set(getTypeId(type), result); - context.typeParameterNamesByText.add(text); - } - return result; - } - function symbolToName(symbol, context, meaning, expectsIdentifier) { - const chain = lookupSymbolChain(symbol, context, meaning); - if (expectsIdentifier && chain.length !== 1 && !context.encounteredError && !(context.flags & 65536 /* AllowQualifiedNameInPlaceOfIdentifier */)) { - context.encounteredError = true; - } - return createEntityNameFromSymbolChain(chain, chain.length - 1); - function createEntityNameFromSymbolChain(chain2, index) { - const typeParameterNodes = lookupTypeParameterNodes(chain2, index, context); - const symbol2 = chain2[index]; - if (index === 0) { - context.flags |= 16777216 /* InInitialEntityName */; - } - const symbolName2 = getNameOfSymbolAsWritten(symbol2, context); - if (index === 0) { - context.flags ^= 16777216 /* InInitialEntityName */; - } - const identifier = setEmitFlags(factory.createIdentifier(symbolName2), 16777216 /* NoAsciiEscaping */); - if (typeParameterNodes) setIdentifierTypeArguments(identifier, factory.createNodeArray(typeParameterNodes)); - identifier.symbol = symbol2; - return index > 0 ? factory.createQualifiedName(createEntityNameFromSymbolChain(chain2, index - 1), identifier) : identifier; - } - } - function symbolToExpression(symbol, context, meaning) { - const chain = lookupSymbolChain(symbol, context, meaning); - return createExpressionFromSymbolChain(chain, chain.length - 1); - function createExpressionFromSymbolChain(chain2, index) { - const typeParameterNodes = lookupTypeParameterNodes(chain2, index, context); - const symbol2 = chain2[index]; - if (index === 0) { - context.flags |= 16777216 /* InInitialEntityName */; - } - let symbolName2 = getNameOfSymbolAsWritten(symbol2, context); - if (index === 0) { - context.flags ^= 16777216 /* InInitialEntityName */; - } - let firstChar = symbolName2.charCodeAt(0); - if (isSingleOrDoubleQuote(firstChar) && some(symbol2.declarations, hasNonGlobalAugmentationExternalModuleSymbol)) { - return factory.createStringLiteral(getSpecifierForModuleSymbol(symbol2, context)); - } - if (index === 0 || canUsePropertyAccess(symbolName2, languageVersion)) { - const identifier = setEmitFlags(factory.createIdentifier(symbolName2), 16777216 /* NoAsciiEscaping */); - if (typeParameterNodes) setIdentifierTypeArguments(identifier, factory.createNodeArray(typeParameterNodes)); - identifier.symbol = symbol2; - return index > 0 ? factory.createPropertyAccessExpression(createExpressionFromSymbolChain(chain2, index - 1), identifier) : identifier; - } else { - if (firstChar === 91 /* openBracket */) { - symbolName2 = symbolName2.substring(1, symbolName2.length - 1); - firstChar = symbolName2.charCodeAt(0); - } - let expression; - if (isSingleOrDoubleQuote(firstChar) && !(symbol2.flags & 8 /* EnumMember */)) { - expression = factory.createStringLiteral(stripQuotes(symbolName2).replace(/\\./g, (s) => s.substring(1)), firstChar === 39 /* singleQuote */); - } else if ("" + +symbolName2 === symbolName2) { - expression = factory.createNumericLiteral(+symbolName2); - } - if (!expression) { - const identifier = setEmitFlags(factory.createIdentifier(symbolName2), 16777216 /* NoAsciiEscaping */); - if (typeParameterNodes) setIdentifierTypeArguments(identifier, factory.createNodeArray(typeParameterNodes)); - identifier.symbol = symbol2; - expression = identifier; - } - return factory.createElementAccessExpression(createExpressionFromSymbolChain(chain2, index - 1), expression); - } - } - } - function isStringNamed(d) { - const name = getNameOfDeclaration(d); - if (!name) { - return false; - } - if (isComputedPropertyName(name)) { - const type = checkExpression(name.expression); - return !!(type.flags & 402653316 /* StringLike */); - } - if (isElementAccessExpression(name)) { - const type = checkExpression(name.argumentExpression); - return !!(type.flags & 402653316 /* StringLike */); - } - return isStringLiteral(name); - } - function isSingleQuotedStringNamed(d) { - const name = getNameOfDeclaration(d); - return !!(name && isStringLiteral(name) && (name.singleQuote || !nodeIsSynthesized(name) && startsWith(getTextOfNode( - name, - /*includeTrivia*/ - false - ), "'"))); - } - function getPropertyNameNodeForSymbol(symbol, context) { - const stringNamed = !!length(symbol.declarations) && every(symbol.declarations, isStringNamed); - const singleQuote = !!length(symbol.declarations) && every(symbol.declarations, isSingleQuotedStringNamed); - const isMethod = !!(symbol.flags & 8192 /* Method */); - const fromNameType = getPropertyNameNodeForSymbolFromNameType(symbol, context, singleQuote, stringNamed, isMethod); - if (fromNameType) { - return fromNameType; - } - const rawName = unescapeLeadingUnderscores(symbol.escapedName); - return createPropertyNameNodeForIdentifierOrLiteral(rawName, getEmitScriptTarget(compilerOptions), singleQuote, stringNamed, isMethod); - } - function getPropertyNameNodeForSymbolFromNameType(symbol, context, singleQuote, stringNamed, isMethod) { - const nameType = getSymbolLinks(symbol).nameType; - if (nameType) { - if (nameType.flags & 384 /* StringOrNumberLiteral */) { - const name = "" + nameType.value; - if (!isIdentifierText(name, getEmitScriptTarget(compilerOptions)) && (stringNamed || !isNumericLiteralName(name))) { - return factory.createStringLiteral(name, !!singleQuote); - } - if (isNumericLiteralName(name) && startsWith(name, "-")) { - return factory.createComputedPropertyName(factory.createPrefixUnaryExpression(41 /* MinusToken */, factory.createNumericLiteral(-name))); - } - return createPropertyNameNodeForIdentifierOrLiteral(name, getEmitScriptTarget(compilerOptions), singleQuote, stringNamed, isMethod); - } - if (nameType.flags & 8192 /* UniqueESSymbol */) { - return factory.createComputedPropertyName(symbolToExpression(nameType.symbol, context, 111551 /* Value */)); - } - } - } - function cloneNodeBuilderContext(context) { - const oldMustCreateTypeParameterSymbolList = context.mustCreateTypeParameterSymbolList; - const oldMustCreateTypeParametersNamesLookups = context.mustCreateTypeParametersNamesLookups; - context.mustCreateTypeParameterSymbolList = true; - context.mustCreateTypeParametersNamesLookups = true; - const oldTypeParameterNames = context.typeParameterNames; - const oldTypeParameterNamesByText = context.typeParameterNamesByText; - const oldTypeParameterNamesByTextNextNameCount = context.typeParameterNamesByTextNextNameCount; - const oldTypeParameterSymbolList = context.typeParameterSymbolList; - return () => { - context.typeParameterNames = oldTypeParameterNames; - context.typeParameterNamesByText = oldTypeParameterNamesByText; - context.typeParameterNamesByTextNextNameCount = oldTypeParameterNamesByTextNextNameCount; - context.typeParameterSymbolList = oldTypeParameterSymbolList; - context.mustCreateTypeParameterSymbolList = oldMustCreateTypeParameterSymbolList; - context.mustCreateTypeParametersNamesLookups = oldMustCreateTypeParametersNamesLookups; - }; - } - function getDeclarationWithTypeAnnotation(symbol, enclosingDeclaration) { - return symbol.declarations && find(symbol.declarations, (s) => !!getNonlocalEffectiveTypeAnnotationNode(s) && (!enclosingDeclaration || !!findAncestor(s, (n) => n === enclosingDeclaration))); - } - function existingTypeNodeIsNotReferenceOrIsReferenceWithCompatibleTypeArgumentCount(existing, type) { - if (!(getObjectFlags(type) & 4 /* Reference */)) return true; - if (!isTypeReferenceNode(existing)) return true; - void getTypeFromTypeReference(existing); - const symbol = getNodeLinks(existing).resolvedSymbol; - const existingTarget = symbol && getDeclaredTypeOfSymbol(symbol); - if (!existingTarget || existingTarget !== type.target) return true; - return length(existing.typeArguments) >= getMinTypeArgumentCount(type.target.typeParameters); - } - function getEnclosingDeclarationIgnoringFakeScope(enclosingDeclaration) { - while (getNodeLinks(enclosingDeclaration).fakeScopeForSignatureDeclaration) { - enclosingDeclaration = enclosingDeclaration.parent; - } - return enclosingDeclaration; - } - function serializeTypeForDeclaration(context, declaration, type, symbol) { - var _a, _b; - const addUndefinedForParameter = declaration && (isParameter(declaration) || isJSDocParameterTag(declaration)) && requiresAddingImplicitUndefined(declaration, context.enclosingDeclaration); - const enclosingDeclaration = context.enclosingDeclaration; - const restoreFlags = saveRestoreFlags(context); - if (declaration && hasInferredType(declaration) && !(context.internalFlags & 2 /* NoSyntacticPrinter */)) { - syntacticNodeBuilder.serializeTypeOfDeclaration(declaration, context); - } - context.internalFlags |= 2 /* NoSyntacticPrinter */; - if (enclosingDeclaration && (!isErrorType(type) || context.internalFlags & 8 /* AllowUnresolvedNames */)) { - const declWithExistingAnnotation = declaration && getNonlocalEffectiveTypeAnnotationNode(declaration) ? declaration : getDeclarationWithTypeAnnotation(symbol); - if (declWithExistingAnnotation && !isFunctionLikeDeclaration(declWithExistingAnnotation) && !isGetAccessorDeclaration(declWithExistingAnnotation)) { - const existing = getNonlocalEffectiveTypeAnnotationNode(declWithExistingAnnotation); - const addUndefined = addUndefinedForParameter || !!(symbol.flags & 4 /* Property */ && symbol.flags & 16777216 /* Optional */ && isOptionalDeclaration(declWithExistingAnnotation) && ((_a = symbol.links) == null ? void 0 : _a.mappedType) && containsNonMissingUndefinedType(type)); - const result2 = !isTypePredicateNode(existing) && tryReuseExistingTypeNode(context, existing, type, declWithExistingAnnotation, addUndefined); - if (result2) { - restoreFlags(); - return result2; - } - } - } - if (type.flags & 8192 /* UniqueESSymbol */ && type.symbol === symbol && (!context.enclosingDeclaration || some(symbol.declarations, (d) => getSourceFileOfNode(d) === getSourceFileOfNode(context.enclosingDeclaration)))) { - context.flags |= 1048576 /* AllowUniqueESSymbolType */; - } - const decl = declaration ?? symbol.valueDeclaration ?? ((_b = symbol.declarations) == null ? void 0 : _b[0]); - const expr = decl && isDeclarationWithPossibleInnerTypeNodeReuse(decl) ? getPossibleTypeNodeReuseExpression(decl) : void 0; - const result = expressionOrTypeToTypeNode(context, expr, type, addUndefinedForParameter); - restoreFlags(); - return result; - } - function typeNodeIsEquivalentToType(annotatedDeclaration, type, typeFromTypeNode) { - if (typeFromTypeNode === type) { - return true; - } - if (annotatedDeclaration && (isParameter(annotatedDeclaration) || isPropertySignature(annotatedDeclaration) || isPropertyDeclaration(annotatedDeclaration)) && annotatedDeclaration.questionToken) { - return getTypeWithFacts(type, 524288 /* NEUndefined */) === typeFromTypeNode; - } - return false; - } - function serializeReturnTypeForSignature(context, signature) { - const suppressAny = context.flags & 256 /* SuppressAnyReturnType */; - const restoreFlags = saveRestoreFlags(context); - if (suppressAny) context.flags &= ~256 /* SuppressAnyReturnType */; - let returnTypeNode; - const returnType = getReturnTypeOfSignature(signature); - if (returnType && !(suppressAny && isTypeAny(returnType))) { - if (signature.declaration && !(context.internalFlags & 2 /* NoSyntacticPrinter */)) { - syntacticNodeBuilder.serializeReturnTypeForSignature(signature.declaration, context); - } - context.internalFlags |= 2 /* NoSyntacticPrinter */; - returnTypeNode = serializeReturnTypeForSignatureWorker(context, signature); - } else if (!suppressAny) { - returnTypeNode = factory.createKeywordTypeNode(133 /* AnyKeyword */); - } - restoreFlags(); - return returnTypeNode; - } - function serializeReturnTypeForSignatureWorker(context, signature) { - const typePredicate = getTypePredicateOfSignature(signature); - const type = getReturnTypeOfSignature(signature); - if (context.enclosingDeclaration && (!isErrorType(type) || context.internalFlags & 8 /* AllowUnresolvedNames */) && signature.declaration && !nodeIsSynthesized(signature.declaration)) { - const annotation = getNonlocalEffectiveReturnTypeAnnotationNode(signature.declaration); - if (annotation) { - const result = tryReuseExistingTypeNode(context, annotation, type, context.enclosingDeclaration); - if (result) { - return result; - } - } - } - if (typePredicate) { - return typePredicateToTypePredicateNodeHelper(typePredicate, context); - } - const expr = signature.declaration && getPossibleTypeNodeReuseExpression(signature.declaration); - return expressionOrTypeToTypeNode(context, expr, type); - } - function trackExistingEntityName(node, context) { - let introducesError = false; - const leftmost = getFirstIdentifier(node); - if (isInJSFile(node) && (isExportsIdentifier(leftmost) || isModuleExportsAccessExpression(leftmost.parent) || isQualifiedName(leftmost.parent) && isModuleIdentifier(leftmost.parent.left) && isExportsIdentifier(leftmost.parent.right))) { - introducesError = true; - return { introducesError, node }; - } - const meaning = getMeaningOfEntityNameReference(node); - let sym; - if (isThisIdentifier(leftmost)) { - sym = getSymbolOfDeclaration(getThisContainer( - leftmost, - /*includeArrowFunctions*/ - false, - /*includeClassComputedPropertyName*/ - false - )); - if (isSymbolAccessible( - sym, - leftmost, - meaning, - /*shouldComputeAliasesToMakeVisible*/ - false - ).accessibility !== 0 /* Accessible */) { - introducesError = true; - context.tracker.reportInaccessibleThisError(); - } - return { introducesError, node: attachSymbolToLeftmostIdentifier(node) }; - } - sym = resolveEntityName( - leftmost, - meaning, - /*ignoreErrors*/ - true, - /*dontResolveAlias*/ - true - ); - if (context.enclosingDeclaration && !(sym && sym.flags & 262144 /* TypeParameter */)) { - sym = getExportSymbolOfValueSymbolIfExported(sym); - const symAtLocation = resolveEntityName( - leftmost, - meaning, - /*ignoreErrors*/ - true, - /*dontResolveAlias*/ - true, - context.enclosingDeclaration - ); - if ( - // Check for unusable parameters symbols - symAtLocation === unknownSymbol || // If the symbol is not found, but was not found in the original scope either we probably have an error, don't reuse the node - symAtLocation === void 0 && sym !== void 0 || // If the symbol is found both in declaration scope and in current scope then it shoudl point to the same reference - symAtLocation && sym && !getSymbolIfSameReference(getExportSymbolOfValueSymbolIfExported(symAtLocation), sym) - ) { - if (symAtLocation !== unknownSymbol) { - context.tracker.reportInferenceFallback(node); - } - introducesError = true; - return { introducesError, node, sym }; - } else { - sym = symAtLocation; - } - } - if (sym) { - if (sym.flags & 1 /* FunctionScopedVariable */ && sym.valueDeclaration) { - if (isPartOfParameterDeclaration(sym.valueDeclaration) || isJSDocParameterTag(sym.valueDeclaration)) { - return { introducesError, node: attachSymbolToLeftmostIdentifier(node) }; - } - } - if (!(sym.flags & 262144 /* TypeParameter */) && // Type parameters are visible in the current context if they are are resolvable - !isDeclarationName(node) && isSymbolAccessible( - sym, - context.enclosingDeclaration, - meaning, - /*shouldComputeAliasesToMakeVisible*/ - false - ).accessibility !== 0 /* Accessible */) { - context.tracker.reportInferenceFallback(node); - introducesError = true; - } else { - context.tracker.trackSymbol(sym, context.enclosingDeclaration, meaning); - } - return { introducesError, node: attachSymbolToLeftmostIdentifier(node) }; - } - return { introducesError, node }; - function attachSymbolToLeftmostIdentifier(node2) { - if (node2 === leftmost) { - const type = getDeclaredTypeOfSymbol(sym); - const name = sym.flags & 262144 /* TypeParameter */ ? typeParameterToName(type, context) : factory.cloneNode(node2); - name.symbol = sym; - return setTextRange2(context, setEmitFlags(name, 16777216 /* NoAsciiEscaping */), node2); - } - const updated = visitEachChild( - node2, - (c) => attachSymbolToLeftmostIdentifier(c), - /*context*/ - void 0 - ); - if (updated !== node2) { - setTextRange2(context, updated, node2); - } - return updated; - } - } - function serializeTypeName(context, node, isTypeOf, typeArguments) { - const meaning = isTypeOf ? 111551 /* Value */ : 788968 /* Type */; - const symbol = resolveEntityName( - node, - meaning, - /*ignoreErrors*/ - true - ); - if (!symbol) return void 0; - const resolvedSymbol = symbol.flags & 2097152 /* Alias */ ? resolveAlias(symbol) : symbol; - if (isSymbolAccessible( - symbol, - context.enclosingDeclaration, - meaning, - /*shouldComputeAliasesToMakeVisible*/ - false - ).accessibility !== 0 /* Accessible */) return void 0; - return symbolToTypeNode(resolvedSymbol, context, meaning, typeArguments); - } - function canReuseTypeNode(context, existing) { - if (isInJSFile(existing)) { - if (isLiteralImportTypeNode(existing)) { - void getTypeFromImportTypeNode(existing); - const nodeSymbol = getNodeLinks(existing).resolvedSymbol; - return !nodeSymbol || !// The import type resolved using jsdoc fallback logic - (!existing.isTypeOf && !(nodeSymbol.flags & 788968 /* Type */) || // The import type had type arguments autofilled by js fallback logic - !(length(existing.typeArguments) >= getMinTypeArgumentCount(getLocalTypeParametersOfClassOrInterfaceOrTypeAlias(nodeSymbol)))); - } - } - if (isThisTypeNode(existing)) { - if (context.mapper === void 0) return true; - const type = getTypeFromTypeNode2( - context, - existing, - /*noMappedTypes*/ - true - ); - return !!type; - } - if (isTypeReferenceNode(existing)) { - if (isConstTypeReference(existing)) return false; - const type = getTypeFromTypeReference(existing); - const symbol = getNodeLinks(existing).resolvedSymbol; - if (!symbol) return false; - if (symbol.flags & 262144 /* TypeParameter */) { - const type2 = getDeclaredTypeOfSymbol(symbol); - if (context.mapper && getMappedType(type2, context.mapper) !== type2) { - return false; - } - } - if (isInJSDoc(existing)) { - return existingTypeNodeIsNotReferenceOrIsReferenceWithCompatibleTypeArgumentCount(existing, type) && !getIntendedTypeFromJSDocTypeReference(existing) && symbol.flags & 788968 /* Type */; - } - } - if (isTypeOperatorNode(existing) && existing.operator === 158 /* UniqueKeyword */ && existing.type.kind === 155 /* SymbolKeyword */) { - const effectiveEnclosingContext = context.enclosingDeclaration && getEnclosingDeclarationIgnoringFakeScope(context.enclosingDeclaration); - return !!findAncestor(existing, (n) => n === effectiveEnclosingContext); - } - return true; - } - function serializeExistingTypeNode(context, typeNode) { - const type = getTypeFromTypeNode2(context, typeNode); - return typeToTypeNodeHelper(type, context); - } - function tryReuseExistingTypeNodeHelper(context, existing) { - if (cancellationToken && cancellationToken.throwIfCancellationRequested) { - cancellationToken.throwIfCancellationRequested(); - } - let hadError = false; - const { finalizeBoundary, startRecoveryScope } = createRecoveryBoundary(); - const transformed = visitNode(existing, visitExistingNodeTreeSymbols, isTypeNode); - if (!finalizeBoundary()) { - return void 0; - } - context.approximateLength += existing.end - existing.pos; - return transformed; - function visitExistingNodeTreeSymbols(node) { - if (hadError) return node; - const recover = startRecoveryScope(); - const onExitNewScope = isNewScopeNode(node) ? onEnterNewScope(node) : void 0; - const result = visitExistingNodeTreeSymbolsWorker(node); - onExitNewScope == null ? void 0 : onExitNewScope(); - if (hadError) { - if (isTypeNode(node) && !isTypePredicateNode(node)) { - recover(); - return serializeExistingTypeNode(context, node); - } - return node; - } - return result ? setTextRange2(context, result, node) : void 0; - } - function createRecoveryBoundary() { - let trackedSymbols; - let unreportedErrors; - const oldTracker = context.tracker; - const oldTrackedSymbols = context.trackedSymbols; - context.trackedSymbols = void 0; - const oldEncounteredError = context.encounteredError; - context.tracker = new SymbolTrackerImpl(context, { - ...oldTracker.inner, - reportCyclicStructureError() { - markError(() => oldTracker.reportCyclicStructureError()); - }, - reportInaccessibleThisError() { - markError(() => oldTracker.reportInaccessibleThisError()); - }, - reportInaccessibleUniqueSymbolError() { - markError(() => oldTracker.reportInaccessibleUniqueSymbolError()); - }, - reportLikelyUnsafeImportRequiredError(specifier) { - markError(() => oldTracker.reportLikelyUnsafeImportRequiredError(specifier)); - }, - reportNonSerializableProperty(name) { - markError(() => oldTracker.reportNonSerializableProperty(name)); - }, - trackSymbol(sym, decl, meaning) { - (trackedSymbols ?? (trackedSymbols = [])).push([sym, decl, meaning]); - return false; - }, - moduleResolverHost: context.tracker.moduleResolverHost - }, context.tracker.moduleResolverHost); - return { - startRecoveryScope: startRecoveryScope2, - finalizeBoundary: finalizeBoundary2 - }; - function markError(unreportedError) { - hadError = true; - (unreportedErrors ?? (unreportedErrors = [])).push(unreportedError); - } - function startRecoveryScope2() { - const trackedSymbolsTop = (trackedSymbols == null ? void 0 : trackedSymbols.length) ?? 0; - const unreportedErrorsTop = (unreportedErrors == null ? void 0 : unreportedErrors.length) ?? 0; - return () => { - hadError = false; - if (trackedSymbols) { - trackedSymbols.length = trackedSymbolsTop; - } - if (unreportedErrors) { - unreportedErrors.length = unreportedErrorsTop; - } - }; - } - function finalizeBoundary2() { - context.tracker = oldTracker; - context.trackedSymbols = oldTrackedSymbols; - context.encounteredError = oldEncounteredError; - unreportedErrors == null ? void 0 : unreportedErrors.forEach((fn) => fn()); - if (hadError) { - return false; - } - trackedSymbols == null ? void 0 : trackedSymbols.forEach( - ([symbol, enclosingDeclaration, meaning]) => context.tracker.trackSymbol( - symbol, - enclosingDeclaration, - meaning - ) - ); - return true; - } - } - function onEnterNewScope(node) { - return enterNewScope(context, node, getParametersInScope(node), getTypeParametersInScope(node)); - } - function tryVisitSimpleTypeNode(node) { - const innerNode = skipTypeParentheses(node); - switch (innerNode.kind) { - case 183 /* TypeReference */: - return tryVisitTypeReference(innerNode); - case 186 /* TypeQuery */: - return tryVisitTypeQuery(innerNode); - case 199 /* IndexedAccessType */: - return tryVisitIndexedAccess(innerNode); - case 198 /* TypeOperator */: - const typeOperatorNode = innerNode; - if (typeOperatorNode.operator === 143 /* KeyOfKeyword */) { - return tryVisitKeyOf(typeOperatorNode); - } - } - return visitNode(node, visitExistingNodeTreeSymbols, isTypeNode); - } - function tryVisitIndexedAccess(node) { - const resultObjectType = tryVisitSimpleTypeNode(node.objectType); - if (resultObjectType === void 0) { - return void 0; - } - return factory.updateIndexedAccessTypeNode(node, resultObjectType, visitNode(node.indexType, visitExistingNodeTreeSymbols, isTypeNode)); - } - function tryVisitKeyOf(node) { - Debug.assertEqual(node.operator, 143 /* KeyOfKeyword */); - const type = tryVisitSimpleTypeNode(node.type); - if (type === void 0) { - return void 0; - } - return factory.updateTypeOperatorNode(node, type); - } - function tryVisitTypeQuery(node) { - const { introducesError, node: exprName } = trackExistingEntityName(node.exprName, context); - if (!introducesError) { - return factory.updateTypeQueryNode( - node, - exprName, - visitNodes2(node.typeArguments, visitExistingNodeTreeSymbols, isTypeNode) - ); - } - const serializedName = serializeTypeName( - context, - node.exprName, - /*isTypeOf*/ - true - ); - if (serializedName) { - return setTextRange2(context, serializedName, node.exprName); - } - } - function tryVisitTypeReference(node) { - if (canReuseTypeNode(context, node)) { - const { introducesError, node: newName } = trackExistingEntityName(node.typeName, context); - const typeArguments = visitNodes2(node.typeArguments, visitExistingNodeTreeSymbols, isTypeNode); - if (!introducesError) { - const updated = factory.updateTypeReferenceNode( - node, - newName, - typeArguments - ); - return setTextRange2(context, updated, node); - } else { - const serializedName = serializeTypeName( - context, - node.typeName, - /*isTypeOf*/ - false, - typeArguments - ); - if (serializedName) { - return setTextRange2(context, serializedName, node.typeName); - } - } - } - } - function visitExistingNodeTreeSymbolsWorker(node) { - if (isJSDocTypeExpression(node)) { - return visitNode(node.type, visitExistingNodeTreeSymbols, isTypeNode); - } - if (isJSDocAllType(node) || node.kind === 319 /* JSDocNamepathType */) { - return factory.createKeywordTypeNode(133 /* AnyKeyword */); - } - if (isJSDocUnknownType(node)) { - return factory.createKeywordTypeNode(159 /* UnknownKeyword */); - } - if (isJSDocNullableType(node)) { - return factory.createUnionTypeNode([visitNode(node.type, visitExistingNodeTreeSymbols, isTypeNode), factory.createLiteralTypeNode(factory.createNull())]); - } - if (isJSDocOptionalType(node)) { - return factory.createUnionTypeNode([visitNode(node.type, visitExistingNodeTreeSymbols, isTypeNode), factory.createKeywordTypeNode(157 /* UndefinedKeyword */)]); - } - if (isJSDocNonNullableType(node)) { - return visitNode(node.type, visitExistingNodeTreeSymbols); - } - if (isJSDocVariadicType(node)) { - return factory.createArrayTypeNode(visitNode(node.type, visitExistingNodeTreeSymbols, isTypeNode)); - } - if (isJSDocTypeLiteral(node)) { - return factory.createTypeLiteralNode(map(node.jsDocPropertyTags, (t) => { - const name = visitNode(isIdentifier(t.name) ? t.name : t.name.right, visitExistingNodeTreeSymbols, isIdentifier); - const typeViaParent = getTypeOfPropertyOfType(getTypeFromTypeNode2(context, node), name.escapedText); - const overrideTypeNode = typeViaParent && t.typeExpression && getTypeFromTypeNode2(context, t.typeExpression.type) !== typeViaParent ? typeToTypeNodeHelper(typeViaParent, context) : void 0; - return factory.createPropertySignature( - /*modifiers*/ - void 0, - name, - t.isBracketed || t.typeExpression && isJSDocOptionalType(t.typeExpression.type) ? factory.createToken(58 /* QuestionToken */) : void 0, - overrideTypeNode || t.typeExpression && visitNode(t.typeExpression.type, visitExistingNodeTreeSymbols, isTypeNode) || factory.createKeywordTypeNode(133 /* AnyKeyword */) - ); - })); - } - if (isTypeReferenceNode(node) && isIdentifier(node.typeName) && node.typeName.escapedText === "") { - return setOriginalNode(factory.createKeywordTypeNode(133 /* AnyKeyword */), node); - } - if ((isExpressionWithTypeArguments(node) || isTypeReferenceNode(node)) && isJSDocIndexSignature(node)) { - return factory.createTypeLiteralNode([factory.createIndexSignature( - /*modifiers*/ - void 0, - [factory.createParameterDeclaration( - /*modifiers*/ - void 0, - /*dotDotDotToken*/ - void 0, - "x", - /*questionToken*/ - void 0, - visitNode(node.typeArguments[0], visitExistingNodeTreeSymbols, isTypeNode) - )], - visitNode(node.typeArguments[1], visitExistingNodeTreeSymbols, isTypeNode) - )]); - } - if (isJSDocFunctionType(node)) { - if (isJSDocConstructSignature(node)) { - let newTypeNode; - return factory.createConstructorTypeNode( - /*modifiers*/ - void 0, - visitNodes2(node.typeParameters, visitExistingNodeTreeSymbols, isTypeParameterDeclaration), - mapDefined(node.parameters, (p, i) => p.name && isIdentifier(p.name) && p.name.escapedText === "new" ? (newTypeNode = p.type, void 0) : factory.createParameterDeclaration( - /*modifiers*/ - void 0, - getEffectiveDotDotDotForParameter(p), - setTextRange2(context, factory.createIdentifier(getNameForJSDocFunctionParameter(p, i)), p), - factory.cloneNode(p.questionToken), - visitNode(p.type, visitExistingNodeTreeSymbols, isTypeNode), - /*initializer*/ - void 0 - )), - visitNode(newTypeNode || node.type, visitExistingNodeTreeSymbols, isTypeNode) || factory.createKeywordTypeNode(133 /* AnyKeyword */) - ); - } else { - return factory.createFunctionTypeNode( - visitNodes2(node.typeParameters, visitExistingNodeTreeSymbols, isTypeParameterDeclaration), - map(node.parameters, (p, i) => factory.createParameterDeclaration( - /*modifiers*/ - void 0, - getEffectiveDotDotDotForParameter(p), - setTextRange2(context, factory.createIdentifier(getNameForJSDocFunctionParameter(p, i)), p), - factory.cloneNode(p.questionToken), - visitNode(p.type, visitExistingNodeTreeSymbols, isTypeNode), - /*initializer*/ - void 0 - )), - visitNode(node.type, visitExistingNodeTreeSymbols, isTypeNode) || factory.createKeywordTypeNode(133 /* AnyKeyword */) - ); - } - } - if (isThisTypeNode(node)) { - if (canReuseTypeNode(context, node)) { - return node; - } - hadError = true; - return node; - } - if (isTypeParameterDeclaration(node)) { - return factory.updateTypeParameterDeclaration( - node, - visitNodes2(node.modifiers, visitExistingNodeTreeSymbols, isModifier), - setTextRange2(context, typeParameterToName(getDeclaredTypeOfSymbol(getSymbolOfDeclaration(node)), context), node), - visitNode(node.constraint, visitExistingNodeTreeSymbols, isTypeNode), - visitNode(node.default, visitExistingNodeTreeSymbols, isTypeNode) - ); - } - if (isIndexedAccessTypeNode(node)) { - const result = tryVisitIndexedAccess(node); - if (!result) { - hadError = true; - return node; - } - return result; - } - if (isTypeReferenceNode(node)) { - const result = tryVisitTypeReference(node); - if (result) { - return result; - } - hadError = true; - return node; - } - if (isLiteralImportTypeNode(node)) { - const nodeSymbol = getNodeLinks(node).resolvedSymbol; - if (isInJSDoc(node) && nodeSymbol && // The import type resolved using jsdoc fallback logic - (!node.isTypeOf && !(nodeSymbol.flags & 788968 /* Type */) || // The import type had type arguments autofilled by js fallback logic - !(length(node.typeArguments) >= getMinTypeArgumentCount(getLocalTypeParametersOfClassOrInterfaceOrTypeAlias(nodeSymbol))))) { - return setTextRange2(context, typeToTypeNodeHelper(getTypeFromTypeNode2(context, node), context), node); - } - return factory.updateImportTypeNode( - node, - factory.updateLiteralTypeNode(node.argument, rewriteModuleSpecifier(node, node.argument.literal)), - visitNode(node.attributes, visitExistingNodeTreeSymbols, isImportAttributes), - visitNode(node.qualifier, visitExistingNodeTreeSymbols, isEntityName), - visitNodes2(node.typeArguments, visitExistingNodeTreeSymbols, isTypeNode), - node.isTypeOf - ); - } - if (isNamedDeclaration(node) && node.name.kind === 167 /* ComputedPropertyName */ && !isLateBindableName(node.name)) { - if (!hasDynamicName(node)) { - return visitEachChild2(node, visitExistingNodeTreeSymbols); - } - if (!(context.internalFlags & 8 /* AllowUnresolvedNames */ && isEntityNameExpression(node.name.expression) && checkComputedPropertyName(node.name).flags & 1 /* Any */)) { - return void 0; - } - } - if (isFunctionLike(node) && !node.type || isPropertyDeclaration(node) && !node.type && !node.initializer || isPropertySignature(node) && !node.type && !node.initializer || isParameter(node) && !node.type && !node.initializer) { - let visited = visitEachChild2(node, visitExistingNodeTreeSymbols); - if (visited === node) { - visited = setTextRange2(context, factory.cloneNode(node), node); - } - visited.type = factory.createKeywordTypeNode(133 /* AnyKeyword */); - if (isParameter(node)) { - visited.modifiers = void 0; - } - return visited; - } - if (isTypeQueryNode(node)) { - const result = tryVisitTypeQuery(node); - if (!result) { - hadError = true; - return node; - } - return result; - } - if (isComputedPropertyName(node) && isEntityNameExpression(node.expression)) { - const { node: result, introducesError } = trackExistingEntityName(node.expression, context); - if (!introducesError) { - return factory.updateComputedPropertyName(node, result); - } else { - const type = getWidenedType(getRegularTypeOfExpression(node.expression)); - const computedPropertyNameType = typeToTypeNodeHelper(type, context); - let literal; - if (isLiteralTypeNode(computedPropertyNameType)) { - literal = computedPropertyNameType.literal; - } else { - const evaluated = evaluateEntityNameExpression(node.expression); - const literalNode = typeof evaluated.value === "string" ? factory.createStringLiteral( - evaluated.value, - /*isSingleQuote*/ - void 0 - ) : typeof evaluated.value === "number" ? factory.createNumericLiteral( - evaluated.value, - /*numericLiteralFlags*/ - 0 - ) : void 0; - if (!literalNode) { - if (isImportTypeNode(computedPropertyNameType)) { - trackComputedName(node.expression, context.enclosingDeclaration, context); - } - return node; - } - literal = literalNode; - } - if (literal.kind === 11 /* StringLiteral */ && isIdentifierText(literal.text, getEmitScriptTarget(compilerOptions))) { - return factory.createIdentifier(literal.text); - } - if (literal.kind === 9 /* NumericLiteral */ && !literal.text.startsWith("-")) { - return literal; - } - return factory.updateComputedPropertyName(node, literal); - } - } - if (isTypePredicateNode(node)) { - let parameterName; - if (isIdentifier(node.parameterName)) { - const { node: result, introducesError } = trackExistingEntityName(node.parameterName, context); - hadError = hadError || introducesError; - parameterName = result; - } else { - parameterName = factory.cloneNode(node.parameterName); - } - return factory.updateTypePredicateNode(node, factory.cloneNode(node.assertsModifier), parameterName, visitNode(node.type, visitExistingNodeTreeSymbols, isTypeNode)); - } - if (isTupleTypeNode(node) || isTypeLiteralNode(node) || isMappedTypeNode(node)) { - const visited = visitEachChild2(node, visitExistingNodeTreeSymbols); - const clone = setTextRange2(context, visited === node ? factory.cloneNode(node) : visited, node); - const flags = getEmitFlags(clone); - setEmitFlags(clone, flags | (context.flags & 1024 /* MultilineObjectLiterals */ && isTypeLiteralNode(node) ? 0 : 1 /* SingleLine */)); - return clone; - } - if (isStringLiteral(node) && !!(context.flags & 268435456 /* UseSingleQuotesForStringLiteralType */) && !node.singleQuote) { - const clone = factory.cloneNode(node); - clone.singleQuote = true; - return clone; - } - if (isConditionalTypeNode(node)) { - const checkType = visitNode(node.checkType, visitExistingNodeTreeSymbols, isTypeNode); - const disposeScope = onEnterNewScope(node); - const extendType = visitNode(node.extendsType, visitExistingNodeTreeSymbols, isTypeNode); - const trueType2 = visitNode(node.trueType, visitExistingNodeTreeSymbols, isTypeNode); - disposeScope(); - const falseType2 = visitNode(node.falseType, visitExistingNodeTreeSymbols, isTypeNode); - return factory.updateConditionalTypeNode( - node, - checkType, - extendType, - trueType2, - falseType2 - ); - } - if (isTypeOperatorNode(node)) { - if (node.operator === 158 /* UniqueKeyword */ && node.type.kind === 155 /* SymbolKeyword */) { - if (!canReuseTypeNode(context, node)) { - hadError = true; - return node; - } - } else if (node.operator === 143 /* KeyOfKeyword */) { - const result = tryVisitKeyOf(node); - if (!result) { - hadError = true; - return node; - } - return result; - } - } - return visitEachChild2(node, visitExistingNodeTreeSymbols); - function visitEachChild2(node2, visitor) { - const nonlocalNode = !context.enclosingFile || context.enclosingFile !== getSourceFileOfNode(node2); - return visitEachChild( - node2, - visitor, - /*context*/ - void 0, - nonlocalNode ? visitNodesWithoutCopyingPositions : void 0 - ); - } - function visitNodesWithoutCopyingPositions(nodes, visitor, test, start, count) { - let result = visitNodes2(nodes, visitor, test, start, count); - if (result) { - if (result.pos !== -1 || result.end !== -1) { - if (result === nodes) { - result = factory.createNodeArray(nodes.slice(), nodes.hasTrailingComma); - } - setTextRangePosEnd(result, -1, -1); - } - } - return result; - } - function getEffectiveDotDotDotForParameter(p) { - return p.dotDotDotToken || (p.type && isJSDocVariadicType(p.type) ? factory.createToken(26 /* DotDotDotToken */) : void 0); - } - function getNameForJSDocFunctionParameter(p, index) { - return p.name && isIdentifier(p.name) && p.name.escapedText === "this" ? "this" : getEffectiveDotDotDotForParameter(p) ? `args` : `arg${index}`; - } - function rewriteModuleSpecifier(parent, lit) { - if (context.bundled || context.enclosingFile !== getSourceFileOfNode(lit)) { - let name = lit.text; - const nodeSymbol = getNodeLinks(node).resolvedSymbol; - const meaning = parent.isTypeOf ? 111551 /* Value */ : 788968 /* Type */; - const parentSymbol = nodeSymbol && isSymbolAccessible( - nodeSymbol, - context.enclosingDeclaration, - meaning, - /*shouldComputeAliasesToMakeVisible*/ - false - ).accessibility === 0 /* Accessible */ && lookupSymbolChain( - nodeSymbol, - context, - meaning, - /*yieldModuleSymbol*/ - true - )[0]; - if (parentSymbol && isExternalModuleSymbol(parentSymbol)) { - name = getSpecifierForModuleSymbol(parentSymbol, context); - } else { - const targetFile = getExternalModuleFileFromDeclaration(parent); - if (targetFile) { - name = getSpecifierForModuleSymbol(targetFile.symbol, context); - } - } - if (name.includes("/node_modules/")) { - context.encounteredError = true; - if (context.tracker.reportLikelyUnsafeImportRequiredError) { - context.tracker.reportLikelyUnsafeImportRequiredError(name); - } - } - if (name !== lit.text) { - return setOriginalNode(factory.createStringLiteral(name), lit); - } - } - return visitNode(lit, visitExistingNodeTreeSymbols, isStringLiteral); - } - } - } - function symbolTableToDeclarationStatements(symbolTable, context) { - var _a; - const serializePropertySymbolForClass = makeSerializePropertySymbol( - factory.createPropertyDeclaration, - 174 /* MethodDeclaration */, - /*useAccessors*/ - true - ); - const serializePropertySymbolForInterfaceWorker = makeSerializePropertySymbol( - (mods, name, question, type) => factory.createPropertySignature(mods, name, question, type), - 173 /* MethodSignature */, - /*useAccessors*/ - false - ); - const enclosingDeclaration = context.enclosingDeclaration; - let results = []; - const visitedSymbols = /* @__PURE__ */ new Set(); - const deferredPrivatesStack = []; - const oldcontext = context; - context = { - ...oldcontext, - usedSymbolNames: new Set(oldcontext.usedSymbolNames), - remappedSymbolNames: /* @__PURE__ */ new Map(), - remappedSymbolReferences: new Map((_a = oldcontext.remappedSymbolReferences) == null ? void 0 : _a.entries()), - tracker: void 0 - }; - const tracker = { - ...oldcontext.tracker.inner, - trackSymbol: (sym, decl, meaning) => { - var _a2, _b; - if ((_a2 = context.remappedSymbolNames) == null ? void 0 : _a2.has(getSymbolId(sym))) return false; - const accessibleResult = isSymbolAccessible( - sym, - decl, - meaning, - /*shouldComputeAliasesToMakeVisible*/ - false - ); - if (accessibleResult.accessibility === 0 /* Accessible */) { - const chain = lookupSymbolChainWorker(sym, context, meaning); - if (!(sym.flags & 4 /* Property */)) { - const root = chain[0]; - const contextFile = getSourceFileOfNode(oldcontext.enclosingDeclaration); - if (some(root.declarations, (d) => getSourceFileOfNode(d) === contextFile)) { - includePrivateSymbol(root); - } - } - } else if ((_b = oldcontext.tracker.inner) == null ? void 0 : _b.trackSymbol) { - return oldcontext.tracker.inner.trackSymbol(sym, decl, meaning); - } - return false; - } - }; - context.tracker = new SymbolTrackerImpl(context, tracker, oldcontext.tracker.moduleResolverHost); - forEachEntry(symbolTable, (symbol, name) => { - const baseName = unescapeLeadingUnderscores(name); - void getInternalSymbolName(symbol, baseName); - }); - let addingDeclare = !context.bundled; - const exportEquals = symbolTable.get("export=" /* ExportEquals */); - if (exportEquals && symbolTable.size > 1 && exportEquals.flags & (2097152 /* Alias */ | 1536 /* Module */)) { - symbolTable = createSymbolTable(); - symbolTable.set("export=" /* ExportEquals */, exportEquals); - } - visitSymbolTable(symbolTable); - return mergeRedundantStatements(results); - function isIdentifierAndNotUndefined(node) { - return !!node && node.kind === 80 /* Identifier */; - } - function getNamesOfDeclaration(statement) { - if (isVariableStatement(statement)) { - return filter(map(statement.declarationList.declarations, getNameOfDeclaration), isIdentifierAndNotUndefined); - } - return filter([getNameOfDeclaration(statement)], isIdentifierAndNotUndefined); - } - function flattenExportAssignedNamespace(statements) { - const exportAssignment = find(statements, isExportAssignment); - const nsIndex = findIndex(statements, isModuleDeclaration); - let ns = nsIndex !== -1 ? statements[nsIndex] : void 0; - if (ns && exportAssignment && exportAssignment.isExportEquals && isIdentifier(exportAssignment.expression) && isIdentifier(ns.name) && idText(ns.name) === idText(exportAssignment.expression) && ns.body && isModuleBlock(ns.body)) { - const excessExports = filter(statements, (s) => !!(getEffectiveModifierFlags(s) & 32 /* Export */)); - const name = ns.name; - let body = ns.body; - if (length(excessExports)) { - ns = factory.updateModuleDeclaration( - ns, - ns.modifiers, - ns.name, - body = factory.updateModuleBlock( - body, - factory.createNodeArray([ - ...ns.body.statements, - factory.createExportDeclaration( - /*modifiers*/ - void 0, - /*isTypeOnly*/ - false, - factory.createNamedExports(map(flatMap(excessExports, (e) => getNamesOfDeclaration(e)), (id) => factory.createExportSpecifier( - /*isTypeOnly*/ - false, - /*propertyName*/ - void 0, - id - ))), - /*moduleSpecifier*/ - void 0 - ) - ]) - ) - ); - statements = [...statements.slice(0, nsIndex), ns, ...statements.slice(nsIndex + 1)]; - } - if (!find(statements, (s) => s !== ns && nodeHasName(s, name))) { - results = []; - const mixinExportFlag = !some(body.statements, (s) => hasSyntacticModifier(s, 32 /* Export */) || isExportAssignment(s) || isExportDeclaration(s)); - forEach(body.statements, (s) => { - addResult(s, mixinExportFlag ? 32 /* Export */ : 0 /* None */); - }); - statements = [...filter(statements, (s) => s !== ns && s !== exportAssignment), ...results]; - } - } - return statements; - } - function mergeExportDeclarations(statements) { - const exports2 = filter(statements, (d) => isExportDeclaration(d) && !d.moduleSpecifier && !!d.exportClause && isNamedExports(d.exportClause)); - if (length(exports2) > 1) { - const nonExports = filter(statements, (d) => !isExportDeclaration(d) || !!d.moduleSpecifier || !d.exportClause); - statements = [ - ...nonExports, - factory.createExportDeclaration( - /*modifiers*/ - void 0, - /*isTypeOnly*/ - false, - factory.createNamedExports(flatMap(exports2, (e) => cast(e.exportClause, isNamedExports).elements)), - /*moduleSpecifier*/ - void 0 - ) - ]; - } - const reexports = filter(statements, (d) => isExportDeclaration(d) && !!d.moduleSpecifier && !!d.exportClause && isNamedExports(d.exportClause)); - if (length(reexports) > 1) { - const groups = group(reexports, (decl) => isStringLiteral(decl.moduleSpecifier) ? ">" + decl.moduleSpecifier.text : ">"); - if (groups.length !== reexports.length) { - for (const group2 of groups) { - if (group2.length > 1) { - statements = [ - ...filter(statements, (s) => !group2.includes(s)), - factory.createExportDeclaration( - /*modifiers*/ - void 0, - /*isTypeOnly*/ - false, - factory.createNamedExports(flatMap(group2, (e) => cast(e.exportClause, isNamedExports).elements)), - group2[0].moduleSpecifier - ) - ]; - } - } - } - } - return statements; - } - function inlineExportModifiers(statements) { - const index = findIndex(statements, (d) => isExportDeclaration(d) && !d.moduleSpecifier && !d.attributes && !!d.exportClause && isNamedExports(d.exportClause)); - if (index >= 0) { - const exportDecl = statements[index]; - const replacements = mapDefined(exportDecl.exportClause.elements, (e) => { - if (!e.propertyName && e.name.kind !== 11 /* StringLiteral */) { - const name = e.name; - const indices = indicesOf(statements); - const associatedIndices = filter(indices, (i) => nodeHasName(statements[i], name)); - if (length(associatedIndices) && every(associatedIndices, (i) => canHaveExportModifier(statements[i]))) { - for (const index2 of associatedIndices) { - statements[index2] = addExportModifier(statements[index2]); - } - return void 0; - } - } - return e; - }); - if (!length(replacements)) { - orderedRemoveItemAt(statements, index); - } else { - statements[index] = factory.updateExportDeclaration( - exportDecl, - exportDecl.modifiers, - exportDecl.isTypeOnly, - factory.updateNamedExports( - exportDecl.exportClause, - replacements - ), - exportDecl.moduleSpecifier, - exportDecl.attributes - ); - } - } - return statements; - } - function mergeRedundantStatements(statements) { - statements = flattenExportAssignedNamespace(statements); - statements = mergeExportDeclarations(statements); - statements = inlineExportModifiers(statements); - if (enclosingDeclaration && (isSourceFile(enclosingDeclaration) && isExternalOrCommonJsModule(enclosingDeclaration) || isModuleDeclaration(enclosingDeclaration)) && (!some(statements, isExternalModuleIndicator) || !hasScopeMarker(statements) && some(statements, needsScopeMarker))) { - statements.push(createEmptyExports(factory)); - } - return statements; - } - function addExportModifier(node) { - const flags = (getEffectiveModifierFlags(node) | 32 /* Export */) & ~128 /* Ambient */; - return factory.replaceModifiers(node, flags); - } - function removeExportModifier(node) { - const flags = getEffectiveModifierFlags(node) & ~32 /* Export */; - return factory.replaceModifiers(node, flags); - } - function visitSymbolTable(symbolTable2, suppressNewPrivateContext, propertyAsAlias) { - if (!suppressNewPrivateContext) { - deferredPrivatesStack.push(/* @__PURE__ */ new Map()); - } - symbolTable2.forEach((symbol) => { - serializeSymbol( - symbol, - /*isPrivate*/ - false, - !!propertyAsAlias - ); - }); - if (!suppressNewPrivateContext) { - deferredPrivatesStack[deferredPrivatesStack.length - 1].forEach((symbol) => { - serializeSymbol( - symbol, - /*isPrivate*/ - true, - !!propertyAsAlias - ); - }); - deferredPrivatesStack.pop(); - } - } - function serializeSymbol(symbol, isPrivate, propertyAsAlias) { - void getPropertiesOfType(getTypeOfSymbol(symbol)); - const visitedSym = getMergedSymbol(symbol); - if (visitedSymbols.has(getSymbolId(visitedSym))) { - return; - } - visitedSymbols.add(getSymbolId(visitedSym)); - const skipMembershipCheck = !isPrivate; - if (skipMembershipCheck || !!length(symbol.declarations) && some(symbol.declarations, (d) => !!findAncestor(d, (n) => n === enclosingDeclaration))) { - const scopeCleanup = cloneNodeBuilderContext(context); - serializeSymbolWorker(symbol, isPrivate, propertyAsAlias); - scopeCleanup(); - } - } - function serializeSymbolWorker(symbol, isPrivate, propertyAsAlias, escapedSymbolName = symbol.escapedName) { - var _a2, _b, _c, _d, _e, _f; - const symbolName2 = unescapeLeadingUnderscores(escapedSymbolName); - const isDefault = escapedSymbolName === "default" /* Default */; - if (isPrivate && !(context.flags & 131072 /* AllowAnonymousIdentifier */) && isStringANonContextualKeyword(symbolName2) && !isDefault) { - context.encounteredError = true; - return; - } - let needsPostExportDefault = isDefault && !!(symbol.flags & -113 /* ExportDoesNotSupportDefaultModifier */ || symbol.flags & 16 /* Function */ && length(getPropertiesOfType(getTypeOfSymbol(symbol)))) && !(symbol.flags & 2097152 /* Alias */); - let needsExportDeclaration = !needsPostExportDefault && !isPrivate && isStringANonContextualKeyword(symbolName2) && !isDefault; - if (needsPostExportDefault || needsExportDeclaration) { - isPrivate = true; - } - const modifierFlags = (!isPrivate ? 32 /* Export */ : 0) | (isDefault && !needsPostExportDefault ? 2048 /* Default */ : 0); - const isConstMergedWithNS = symbol.flags & 1536 /* Module */ && symbol.flags & (2 /* BlockScopedVariable */ | 1 /* FunctionScopedVariable */ | 4 /* Property */) && escapedSymbolName !== "export=" /* ExportEquals */; - const isConstMergedWithNSPrintableAsSignatureMerge = isConstMergedWithNS && isTypeRepresentableAsFunctionNamespaceMerge(getTypeOfSymbol(symbol), symbol); - if (symbol.flags & (16 /* Function */ | 8192 /* Method */) || isConstMergedWithNSPrintableAsSignatureMerge) { - serializeAsFunctionNamespaceMerge(getTypeOfSymbol(symbol), symbol, getInternalSymbolName(symbol, symbolName2), modifierFlags); - } - if (symbol.flags & 524288 /* TypeAlias */) { - serializeTypeAlias(symbol, symbolName2, modifierFlags); - } - if (symbol.flags & (2 /* BlockScopedVariable */ | 1 /* FunctionScopedVariable */ | 4 /* Property */ | 98304 /* Accessor */) && escapedSymbolName !== "export=" /* ExportEquals */ && !(symbol.flags & 4194304 /* Prototype */) && !(symbol.flags & 32 /* Class */) && !(symbol.flags & 8192 /* Method */) && !isConstMergedWithNSPrintableAsSignatureMerge) { - if (propertyAsAlias) { - const createdExport = serializeMaybeAliasAssignment(symbol); - if (createdExport) { - needsExportDeclaration = false; - needsPostExportDefault = false; - } - } else { - const type = getTypeOfSymbol(symbol); - const localName = getInternalSymbolName(symbol, symbolName2); - if (type.symbol && type.symbol !== symbol && type.symbol.flags & 16 /* Function */ && some(type.symbol.declarations, isFunctionExpressionOrArrowFunction) && (((_a2 = type.symbol.members) == null ? void 0 : _a2.size) || ((_b = type.symbol.exports) == null ? void 0 : _b.size))) { - if (!context.remappedSymbolReferences) { - context.remappedSymbolReferences = /* @__PURE__ */ new Map(); - } - context.remappedSymbolReferences.set(getSymbolId(type.symbol), symbol); - serializeSymbolWorker(type.symbol, isPrivate, propertyAsAlias, escapedSymbolName); - context.remappedSymbolReferences.delete(getSymbolId(type.symbol)); - } else if (!(symbol.flags & 16 /* Function */) && isTypeRepresentableAsFunctionNamespaceMerge(type, symbol)) { - serializeAsFunctionNamespaceMerge(type, symbol, localName, modifierFlags); - } else { - const flags = !(symbol.flags & 2 /* BlockScopedVariable */) ? ((_c = symbol.parent) == null ? void 0 : _c.valueDeclaration) && isSourceFile((_d = symbol.parent) == null ? void 0 : _d.valueDeclaration) ? 2 /* Const */ : void 0 : isConstantVariable(symbol) ? 2 /* Const */ : 1 /* Let */; - const name = needsPostExportDefault || !(symbol.flags & 4 /* Property */) ? localName : getUnusedName(localName, symbol); - let textRange = symbol.declarations && find(symbol.declarations, (d) => isVariableDeclaration(d)); - if (textRange && isVariableDeclarationList(textRange.parent) && textRange.parent.declarations.length === 1) { - textRange = textRange.parent.parent; - } - const propertyAccessRequire = (_e = symbol.declarations) == null ? void 0 : _e.find(isPropertyAccessExpression); - if (propertyAccessRequire && isBinaryExpression(propertyAccessRequire.parent) && isIdentifier(propertyAccessRequire.parent.right) && ((_f = type.symbol) == null ? void 0 : _f.valueDeclaration) && isSourceFile(type.symbol.valueDeclaration)) { - const alias = localName === propertyAccessRequire.parent.right.escapedText ? void 0 : propertyAccessRequire.parent.right; - addResult( - factory.createExportDeclaration( - /*modifiers*/ - void 0, - /*isTypeOnly*/ - false, - factory.createNamedExports([factory.createExportSpecifier( - /*isTypeOnly*/ - false, - alias, - localName - )]) - ), - 0 /* None */ - ); - context.tracker.trackSymbol(type.symbol, context.enclosingDeclaration, 111551 /* Value */); - } else { - const statement = setTextRange2( - context, - factory.createVariableStatement( - /*modifiers*/ - void 0, - factory.createVariableDeclarationList([ - factory.createVariableDeclaration( - name, - /*exclamationToken*/ - void 0, - serializeTypeForDeclaration( - context, - /*declaration*/ - void 0, - type, - symbol - ) - ) - ], flags) - ), - textRange - ); - addResult(statement, name !== localName ? modifierFlags & ~32 /* Export */ : modifierFlags); - if (name !== localName && !isPrivate) { - addResult( - factory.createExportDeclaration( - /*modifiers*/ - void 0, - /*isTypeOnly*/ - false, - factory.createNamedExports([factory.createExportSpecifier( - /*isTypeOnly*/ - false, - name, - localName - )]) - ), - 0 /* None */ - ); - needsExportDeclaration = false; - needsPostExportDefault = false; - } - } - } - } - } - if (symbol.flags & 384 /* Enum */) { - serializeEnum(symbol, symbolName2, modifierFlags); - } - if (symbol.flags & 32 /* Class */) { - if (symbol.flags & 4 /* Property */ && symbol.valueDeclaration && isBinaryExpression(symbol.valueDeclaration.parent) && isClassExpression(symbol.valueDeclaration.parent.right)) { - serializeAsAlias(symbol, getInternalSymbolName(symbol, symbolName2), modifierFlags); - } else { - serializeAsClass(symbol, getInternalSymbolName(symbol, symbolName2), modifierFlags); - } - } - if (symbol.flags & (512 /* ValueModule */ | 1024 /* NamespaceModule */) && (!isConstMergedWithNS || isTypeOnlyNamespace(symbol)) || isConstMergedWithNSPrintableAsSignatureMerge) { - serializeModule(symbol, symbolName2, modifierFlags); - } - if (symbol.flags & 64 /* Interface */ && !(symbol.flags & 32 /* Class */)) { - serializeInterface(symbol, symbolName2, modifierFlags); - } - if (symbol.flags & 2097152 /* Alias */) { - serializeAsAlias(symbol, getInternalSymbolName(symbol, symbolName2), modifierFlags); - } - if (symbol.flags & 4 /* Property */ && symbol.escapedName === "export=" /* ExportEquals */) { - serializeMaybeAliasAssignment(symbol); - } - if (symbol.flags & 8388608 /* ExportStar */) { - if (symbol.declarations) { - for (const node of symbol.declarations) { - const resolvedModule = resolveExternalModuleName(node, node.moduleSpecifier); - if (!resolvedModule) continue; - addResult(factory.createExportDeclaration( - /*modifiers*/ - void 0, - /*isTypeOnly*/ - node.isTypeOnly, - /*exportClause*/ - void 0, - factory.createStringLiteral(getSpecifierForModuleSymbol(resolvedModule, context)) - ), 0 /* None */); - } - } - } - if (needsPostExportDefault) { - addResult(factory.createExportAssignment( - /*modifiers*/ - void 0, - /*isExportEquals*/ - false, - factory.createIdentifier(getInternalSymbolName(symbol, symbolName2)) - ), 0 /* None */); - } else if (needsExportDeclaration) { - addResult( - factory.createExportDeclaration( - /*modifiers*/ - void 0, - /*isTypeOnly*/ - false, - factory.createNamedExports([factory.createExportSpecifier( - /*isTypeOnly*/ - false, - getInternalSymbolName(symbol, symbolName2), - symbolName2 - )]) - ), - 0 /* None */ - ); - } - } - function includePrivateSymbol(symbol) { - if (some(symbol.declarations, isPartOfParameterDeclaration)) return; - Debug.assertIsDefined(deferredPrivatesStack[deferredPrivatesStack.length - 1]); - getUnusedName(unescapeLeadingUnderscores(symbol.escapedName), symbol); - const isExternalImportAlias = !!(symbol.flags & 2097152 /* Alias */) && !some(symbol.declarations, (d) => !!findAncestor(d, isExportDeclaration) || isNamespaceExport(d) || isImportEqualsDeclaration(d) && !isExternalModuleReference(d.moduleReference)); - deferredPrivatesStack[isExternalImportAlias ? 0 : deferredPrivatesStack.length - 1].set(getSymbolId(symbol), symbol); - } - function isExportingScope(enclosingDeclaration2) { - return isSourceFile(enclosingDeclaration2) && (isExternalOrCommonJsModule(enclosingDeclaration2) || isJsonSourceFile(enclosingDeclaration2)) || isAmbientModule(enclosingDeclaration2) && !isGlobalScopeAugmentation(enclosingDeclaration2); - } - function addResult(node, additionalModifierFlags) { - if (canHaveModifiers(node)) { - let newModifierFlags = 0 /* None */; - const enclosingDeclaration2 = context.enclosingDeclaration && (isJSDocTypeAlias(context.enclosingDeclaration) ? getSourceFileOfNode(context.enclosingDeclaration) : context.enclosingDeclaration); - if (additionalModifierFlags & 32 /* Export */ && enclosingDeclaration2 && (isExportingScope(enclosingDeclaration2) || isModuleDeclaration(enclosingDeclaration2)) && canHaveExportModifier(node)) { - newModifierFlags |= 32 /* Export */; - } - if (addingDeclare && !(newModifierFlags & 32 /* Export */) && (!enclosingDeclaration2 || !(enclosingDeclaration2.flags & 33554432 /* Ambient */)) && (isEnumDeclaration(node) || isVariableStatement(node) || isFunctionDeclaration(node) || isClassDeclaration(node) || isModuleDeclaration(node))) { - newModifierFlags |= 128 /* Ambient */; - } - if (additionalModifierFlags & 2048 /* Default */ && (isClassDeclaration(node) || isInterfaceDeclaration(node) || isFunctionDeclaration(node))) { - newModifierFlags |= 2048 /* Default */; - } - if (newModifierFlags) { - node = factory.replaceModifiers(node, newModifierFlags | getEffectiveModifierFlags(node)); - } - } - results.push(node); - } - function serializeTypeAlias(symbol, symbolName2, modifierFlags) { - var _a2; - const aliasType = getDeclaredTypeOfTypeAlias(symbol); - const typeParams = getSymbolLinks(symbol).typeParameters; - const typeParamDecls = map(typeParams, (p) => typeParameterToDeclaration(p, context)); - const jsdocAliasDecl = (_a2 = symbol.declarations) == null ? void 0 : _a2.find(isJSDocTypeAlias); - const commentText = getTextOfJSDocComment(jsdocAliasDecl ? jsdocAliasDecl.comment || jsdocAliasDecl.parent.comment : void 0); - const restoreFlags = saveRestoreFlags(context); - context.flags |= 8388608 /* InTypeAlias */; - const oldEnclosingDecl = context.enclosingDeclaration; - context.enclosingDeclaration = jsdocAliasDecl; - const typeNode = jsdocAliasDecl && jsdocAliasDecl.typeExpression && isJSDocTypeExpression(jsdocAliasDecl.typeExpression) && tryReuseExistingNonParameterTypeNode( - context, - jsdocAliasDecl.typeExpression.type, - aliasType, - /*host*/ - void 0 - ) || typeToTypeNodeHelper(aliasType, context); - addResult( - setSyntheticLeadingComments( - factory.createTypeAliasDeclaration( - /*modifiers*/ - void 0, - getInternalSymbolName(symbol, symbolName2), - typeParamDecls, - typeNode - ), - !commentText ? [] : [{ kind: 3 /* MultiLineCommentTrivia */, text: "*\n * " + commentText.replace(/\n/g, "\n * ") + "\n ", pos: -1, end: -1, hasTrailingNewLine: true }] - ), - modifierFlags - ); - restoreFlags(); - context.enclosingDeclaration = oldEnclosingDecl; - } - function serializeInterface(symbol, symbolName2, modifierFlags) { - const interfaceType = getDeclaredTypeOfClassOrInterface(symbol); - const localParams = getLocalTypeParametersOfClassOrInterfaceOrTypeAlias(symbol); - const typeParamDecls = map(localParams, (p) => typeParameterToDeclaration(p, context)); - const baseTypes = getBaseTypes(interfaceType); - const baseType = length(baseTypes) ? getIntersectionType(baseTypes) : void 0; - const members = flatMap(getPropertiesOfType(interfaceType), (p) => serializePropertySymbolForInterface(p, baseType)); - const callSignatures = serializeSignatures(0 /* Call */, interfaceType, baseType, 179 /* CallSignature */); - const constructSignatures = serializeSignatures(1 /* Construct */, interfaceType, baseType, 180 /* ConstructSignature */); - const indexSignatures = serializeIndexSignatures(interfaceType, baseType); - const heritageClauses = !length(baseTypes) ? void 0 : [factory.createHeritageClause(96 /* ExtendsKeyword */, mapDefined(baseTypes, (b) => trySerializeAsTypeReference(b, 111551 /* Value */)))]; - addResult( - factory.createInterfaceDeclaration( - /*modifiers*/ - void 0, - getInternalSymbolName(symbol, symbolName2), - typeParamDecls, - heritageClauses, - [...indexSignatures, ...constructSignatures, ...callSignatures, ...members] - ), - modifierFlags - ); - } - function getNamespaceMembersForSerialization(symbol) { - let exports2 = arrayFrom(getExportsOfSymbol(symbol).values()); - const merged = getMergedSymbol(symbol); - if (merged !== symbol) { - const membersSet = new Set(exports2); - for (const exported of getExportsOfSymbol(merged).values()) { - if (!(getSymbolFlags(resolveSymbol(exported)) & 111551 /* Value */)) { - membersSet.add(exported); - } - } - exports2 = arrayFrom(membersSet); - } - return filter(exports2, (m) => isNamespaceMember(m) && isIdentifierText(m.escapedName, 99 /* ESNext */)); - } - function isTypeOnlyNamespace(symbol) { - return every(getNamespaceMembersForSerialization(symbol), (m) => !(getSymbolFlags(resolveSymbol(m)) & 111551 /* Value */)); - } - function serializeModule(symbol, symbolName2, modifierFlags) { - const members = getNamespaceMembersForSerialization(symbol); - const locationMap = arrayToMultiMap(members, (m) => m.parent && m.parent === symbol ? "real" : "merged"); - const realMembers = locationMap.get("real") || emptyArray; - const mergedMembers = locationMap.get("merged") || emptyArray; - if (length(realMembers)) { - const localName = getInternalSymbolName(symbol, symbolName2); - serializeAsNamespaceDeclaration(realMembers, localName, modifierFlags, !!(symbol.flags & (16 /* Function */ | 67108864 /* Assignment */))); - } - if (length(mergedMembers)) { - const containingFile = getSourceFileOfNode(context.enclosingDeclaration); - const localName = getInternalSymbolName(symbol, symbolName2); - const nsBody = factory.createModuleBlock([factory.createExportDeclaration( - /*modifiers*/ - void 0, - /*isTypeOnly*/ - false, - factory.createNamedExports(mapDefined(filter(mergedMembers, (n) => n.escapedName !== "export=" /* ExportEquals */), (s) => { - var _a2, _b; - const name = unescapeLeadingUnderscores(s.escapedName); - const localName2 = getInternalSymbolName(s, name); - const aliasDecl = s.declarations && getDeclarationOfAliasSymbol(s); - if (containingFile && (aliasDecl ? containingFile !== getSourceFileOfNode(aliasDecl) : !some(s.declarations, (d) => getSourceFileOfNode(d) === containingFile))) { - (_b = (_a2 = context.tracker) == null ? void 0 : _a2.reportNonlocalAugmentation) == null ? void 0 : _b.call(_a2, containingFile, symbol, s); - return void 0; - } - const target = aliasDecl && getTargetOfAliasDeclaration( - aliasDecl, - /*dontRecursivelyResolve*/ - true - ); - includePrivateSymbol(target || s); - const targetName = target ? getInternalSymbolName(target, unescapeLeadingUnderscores(target.escapedName)) : localName2; - return factory.createExportSpecifier( - /*isTypeOnly*/ - false, - name === targetName ? void 0 : targetName, - name - ); - })) - )]); - addResult( - factory.createModuleDeclaration( - /*modifiers*/ - void 0, - factory.createIdentifier(localName), - nsBody, - 32 /* Namespace */ - ), - 0 /* None */ - ); - } - } - function serializeEnum(symbol, symbolName2, modifierFlags) { - addResult( - factory.createEnumDeclaration( - factory.createModifiersFromModifierFlags(isConstEnumSymbol(symbol) ? 4096 /* Const */ : 0), - getInternalSymbolName(symbol, symbolName2), - map(filter(getPropertiesOfType(getTypeOfSymbol(symbol)), (p) => !!(p.flags & 8 /* EnumMember */)), (p) => { - const initializedValue = p.declarations && p.declarations[0] && isEnumMember(p.declarations[0]) ? getConstantValue2(p.declarations[0]) : void 0; - return factory.createEnumMember( - unescapeLeadingUnderscores(p.escapedName), - initializedValue === void 0 ? void 0 : typeof initializedValue === "string" ? factory.createStringLiteral(initializedValue) : factory.createNumericLiteral(initializedValue) - ); - }) - ), - modifierFlags - ); - } - function serializeAsFunctionNamespaceMerge(type, symbol, localName, modifierFlags) { - const signatures = getSignaturesOfType(type, 0 /* Call */); - for (const sig of signatures) { - const decl = signatureToSignatureDeclarationHelper(sig, 262 /* FunctionDeclaration */, context, { name: factory.createIdentifier(localName) }); - addResult(setTextRange2(context, decl, getSignatureTextRangeLocation(sig)), modifierFlags); - } - if (!(symbol.flags & (512 /* ValueModule */ | 1024 /* NamespaceModule */) && !!symbol.exports && !!symbol.exports.size)) { - const props = filter(getPropertiesOfType(type), isNamespaceMember); - serializeAsNamespaceDeclaration( - props, - localName, - modifierFlags, - /*suppressNewPrivateContext*/ - true - ); - } - } - function getSignatureTextRangeLocation(signature) { - if (signature.declaration && signature.declaration.parent) { - if (isBinaryExpression(signature.declaration.parent) && getAssignmentDeclarationKind(signature.declaration.parent) === 5 /* Property */) { - return signature.declaration.parent; - } - if (isVariableDeclaration(signature.declaration.parent) && signature.declaration.parent.parent) { - return signature.declaration.parent.parent; - } - } - return signature.declaration; - } - function serializeAsNamespaceDeclaration(props, localName, modifierFlags, suppressNewPrivateContext) { - if (length(props)) { - const localVsRemoteMap = arrayToMultiMap(props, (p) => !length(p.declarations) || some(p.declarations, (d) => getSourceFileOfNode(d) === getSourceFileOfNode(context.enclosingDeclaration)) ? "local" : "remote"); - const localProps = localVsRemoteMap.get("local") || emptyArray; - let fakespace = parseNodeFactory.createModuleDeclaration( - /*modifiers*/ - void 0, - factory.createIdentifier(localName), - factory.createModuleBlock([]), - 32 /* Namespace */ - ); - setParent(fakespace, enclosingDeclaration); - fakespace.locals = createSymbolTable(props); - fakespace.symbol = props[0].parent; - const oldResults = results; - results = []; - const oldAddingDeclare = addingDeclare; - addingDeclare = false; - const subcontext = { ...context, enclosingDeclaration: fakespace }; - const oldContext = context; - context = subcontext; - visitSymbolTable( - createSymbolTable(localProps), - suppressNewPrivateContext, - /*propertyAsAlias*/ - true - ); - context = oldContext; - addingDeclare = oldAddingDeclare; - const declarations = results; - results = oldResults; - const defaultReplaced = map(declarations, (d) => isExportAssignment(d) && !d.isExportEquals && isIdentifier(d.expression) ? factory.createExportDeclaration( - /*modifiers*/ - void 0, - /*isTypeOnly*/ - false, - factory.createNamedExports([factory.createExportSpecifier( - /*isTypeOnly*/ - false, - d.expression, - factory.createIdentifier("default" /* Default */) - )]) - ) : d); - const exportModifierStripped = every(defaultReplaced, (d) => hasSyntacticModifier(d, 32 /* Export */)) ? map(defaultReplaced, removeExportModifier) : defaultReplaced; - fakespace = factory.updateModuleDeclaration( - fakespace, - fakespace.modifiers, - fakespace.name, - factory.createModuleBlock(exportModifierStripped) - ); - addResult(fakespace, modifierFlags); - } - } - function isNamespaceMember(p) { - return !!(p.flags & (788968 /* Type */ | 1920 /* Namespace */ | 2097152 /* Alias */)) || !(p.flags & 4194304 /* Prototype */ || p.escapedName === "prototype" || p.valueDeclaration && isStatic(p.valueDeclaration) && isClassLike(p.valueDeclaration.parent)); - } - function sanitizeJSDocImplements(clauses) { - const result = mapDefined(clauses, (e) => { - const oldEnclosing = context.enclosingDeclaration; - context.enclosingDeclaration = e; - let expr = e.expression; - if (isEntityNameExpression(expr)) { - if (isIdentifier(expr) && idText(expr) === "") { - return cleanup( - /*result*/ - void 0 - ); - } - let introducesError; - ({ introducesError, node: expr } = trackExistingEntityName(expr, context)); - if (introducesError) { - return cleanup( - /*result*/ - void 0 - ); - } - } - return cleanup(factory.createExpressionWithTypeArguments( - expr, - map(e.typeArguments, (a) => tryReuseExistingNonParameterTypeNode(context, a, getTypeFromTypeNode2(context, a)) || typeToTypeNodeHelper(getTypeFromTypeNode2(context, a), context)) - )); - function cleanup(result2) { - context.enclosingDeclaration = oldEnclosing; - return result2; - } - }); - if (result.length === clauses.length) { - return result; - } - return void 0; - } - function serializeAsClass(symbol, localName, modifierFlags) { - var _a2, _b; - const originalDecl = (_a2 = symbol.declarations) == null ? void 0 : _a2.find(isClassLike); - const oldEnclosing = context.enclosingDeclaration; - context.enclosingDeclaration = originalDecl || oldEnclosing; - const localParams = getLocalTypeParametersOfClassOrInterfaceOrTypeAlias(symbol); - const typeParamDecls = map(localParams, (p) => typeParameterToDeclaration(p, context)); - const classType = getTypeWithThisArgument(getDeclaredTypeOfClassOrInterface(symbol)); - const baseTypes = getBaseTypes(classType); - const originalImplements = originalDecl && getEffectiveImplementsTypeNodes(originalDecl); - const implementsExpressions = originalImplements && sanitizeJSDocImplements(originalImplements) || mapDefined(getImplementsTypes(classType), serializeImplementedType); - const staticType = getTypeOfSymbol(symbol); - const isClass = !!((_b = staticType.symbol) == null ? void 0 : _b.valueDeclaration) && isClassLike(staticType.symbol.valueDeclaration); - const staticBaseType = isClass ? getBaseConstructorTypeOfClass(staticType) : anyType; - const heritageClauses = [ - ...!length(baseTypes) ? [] : [factory.createHeritageClause(96 /* ExtendsKeyword */, map(baseTypes, (b) => serializeBaseType(b, staticBaseType, localName)))], - ...!length(implementsExpressions) ? [] : [factory.createHeritageClause(119 /* ImplementsKeyword */, implementsExpressions)] - ]; - const symbolProps = getNonInheritedProperties(classType, baseTypes, getPropertiesOfType(classType)); - const publicSymbolProps = filter(symbolProps, (s) => { - const valueDecl = s.valueDeclaration; - return !!valueDecl && !(isNamedDeclaration(valueDecl) && isPrivateIdentifier(valueDecl.name)); - }); - const hasPrivateIdentifier = some(symbolProps, (s) => { - const valueDecl = s.valueDeclaration; - return !!valueDecl && isNamedDeclaration(valueDecl) && isPrivateIdentifier(valueDecl.name); - }); - const privateProperties = hasPrivateIdentifier ? [factory.createPropertyDeclaration( - /*modifiers*/ - void 0, - factory.createPrivateIdentifier("#private"), - /*questionOrExclamationToken*/ - void 0, - /*type*/ - void 0, - /*initializer*/ - void 0 - )] : emptyArray; - const publicProperties = flatMap(publicSymbolProps, (p) => serializePropertySymbolForClass( - p, - /*isStatic*/ - false, - baseTypes[0] - )); - const staticMembers = flatMap( - filter(getPropertiesOfType(staticType), (p) => !(p.flags & 4194304 /* Prototype */) && p.escapedName !== "prototype" && !isNamespaceMember(p)), - (p) => serializePropertySymbolForClass( - p, - /*isStatic*/ - true, - staticBaseType - ) - ); - const isNonConstructableClassLikeInJsFile = !isClass && !!symbol.valueDeclaration && isInJSFile(symbol.valueDeclaration) && !some(getSignaturesOfType(staticType, 1 /* Construct */)); - const constructors = isNonConstructableClassLikeInJsFile ? [factory.createConstructorDeclaration( - factory.createModifiersFromModifierFlags(2 /* Private */), - [], - /*body*/ - void 0 - )] : serializeSignatures(1 /* Construct */, staticType, staticBaseType, 176 /* Constructor */); - const indexSignatures = serializeIndexSignatures(classType, baseTypes[0]); - context.enclosingDeclaration = oldEnclosing; - addResult( - setTextRange2( - context, - factory.createClassDeclaration( - /*modifiers*/ - void 0, - localName, - typeParamDecls, - heritageClauses, - [...indexSignatures, ...staticMembers, ...constructors, ...publicProperties, ...privateProperties] - ), - symbol.declarations && filter(symbol.declarations, (d) => isClassDeclaration(d) || isClassExpression(d))[0] - ), - modifierFlags - ); - } - function getSomeTargetNameFromDeclarations(declarations) { - return firstDefined(declarations, (d) => { - if (isImportSpecifier(d) || isExportSpecifier(d)) { - return moduleExportNameTextUnescaped(d.propertyName || d.name); - } - if (isBinaryExpression(d) || isExportAssignment(d)) { - const expression = isExportAssignment(d) ? d.expression : d.right; - if (isPropertyAccessExpression(expression)) { - return idText(expression.name); - } - } - if (isAliasSymbolDeclaration(d)) { - const name = getNameOfDeclaration(d); - if (name && isIdentifier(name)) { - return idText(name); - } - } - return void 0; - }); - } - function serializeAsAlias(symbol, localName, modifierFlags) { - var _a2, _b, _c, _d, _e; - const node = getDeclarationOfAliasSymbol(symbol); - if (!node) return Debug.fail(); - const target = getMergedSymbol(getTargetOfAliasDeclaration( - node, - /*dontRecursivelyResolve*/ - true - )); - if (!target) { - return; - } - let verbatimTargetName = isShorthandAmbientModuleSymbol(target) && getSomeTargetNameFromDeclarations(symbol.declarations) || unescapeLeadingUnderscores(target.escapedName); - if (verbatimTargetName === "export=" /* ExportEquals */ && allowSyntheticDefaultImports) { - verbatimTargetName = "default" /* Default */; - } - const targetName = getInternalSymbolName(target, verbatimTargetName); - includePrivateSymbol(target); - switch (node.kind) { - case 208 /* BindingElement */: - if (((_b = (_a2 = node.parent) == null ? void 0 : _a2.parent) == null ? void 0 : _b.kind) === 260 /* VariableDeclaration */) { - const specifier2 = getSpecifierForModuleSymbol(target.parent || target, context); - const { propertyName } = node; - addResult( - factory.createImportDeclaration( - /*modifiers*/ - void 0, - factory.createImportClause( - /*isTypeOnly*/ - false, - /*name*/ - void 0, - factory.createNamedImports([factory.createImportSpecifier( - /*isTypeOnly*/ - false, - propertyName && isIdentifier(propertyName) ? factory.createIdentifier(idText(propertyName)) : void 0, - factory.createIdentifier(localName) - )]) - ), - factory.createStringLiteral(specifier2), - /*attributes*/ - void 0 - ), - 0 /* None */ - ); - break; - } - Debug.failBadSyntaxKind(((_c = node.parent) == null ? void 0 : _c.parent) || node, "Unhandled binding element grandparent kind in declaration serialization"); - break; - case 304 /* ShorthandPropertyAssignment */: - if (((_e = (_d = node.parent) == null ? void 0 : _d.parent) == null ? void 0 : _e.kind) === 226 /* BinaryExpression */) { - serializeExportSpecifier( - unescapeLeadingUnderscores(symbol.escapedName), - targetName - ); - } - break; - case 260 /* VariableDeclaration */: - if (isPropertyAccessExpression(node.initializer)) { - const initializer = node.initializer; - const uniqueName = factory.createUniqueName(localName); - const specifier2 = getSpecifierForModuleSymbol(target.parent || target, context); - addResult( - factory.createImportEqualsDeclaration( - /*modifiers*/ - void 0, - /*isTypeOnly*/ - false, - uniqueName, - factory.createExternalModuleReference(factory.createStringLiteral(specifier2)) - ), - 0 /* None */ - ); - addResult( - factory.createImportEqualsDeclaration( - /*modifiers*/ - void 0, - /*isTypeOnly*/ - false, - factory.createIdentifier(localName), - factory.createQualifiedName(uniqueName, initializer.name) - ), - modifierFlags - ); - break; - } - case 271 /* ImportEqualsDeclaration */: - if (target.escapedName === "export=" /* ExportEquals */ && some(target.declarations, (d) => isSourceFile(d) && isJsonSourceFile(d))) { - serializeMaybeAliasAssignment(symbol); - break; - } - const isLocalImport = !(target.flags & 512 /* ValueModule */) && !isVariableDeclaration(node); - addResult( - factory.createImportEqualsDeclaration( - /*modifiers*/ - void 0, - /*isTypeOnly*/ - false, - factory.createIdentifier(localName), - isLocalImport ? symbolToName( - target, - context, - -1 /* All */, - /*expectsIdentifier*/ - false - ) : factory.createExternalModuleReference(factory.createStringLiteral(getSpecifierForModuleSymbol(target, context))) - ), - isLocalImport ? modifierFlags : 0 /* None */ - ); - break; - case 270 /* NamespaceExportDeclaration */: - addResult(factory.createNamespaceExportDeclaration(idText(node.name)), 0 /* None */); - break; - case 273 /* ImportClause */: { - const generatedSpecifier = getSpecifierForModuleSymbol(target.parent || target, context); - const specifier2 = context.bundled ? factory.createStringLiteral(generatedSpecifier) : node.parent.moduleSpecifier; - const attributes = isImportDeclaration(node.parent) ? node.parent.attributes : void 0; - const isTypeOnly = isJSDocImportTag(node.parent); - addResult( - factory.createImportDeclaration( - /*modifiers*/ - void 0, - factory.createImportClause( - isTypeOnly, - factory.createIdentifier(localName), - /*namedBindings*/ - void 0 - ), - specifier2, - attributes - ), - 0 /* None */ - ); - break; - } - case 274 /* NamespaceImport */: { - const generatedSpecifier = getSpecifierForModuleSymbol(target.parent || target, context); - const specifier2 = context.bundled ? factory.createStringLiteral(generatedSpecifier) : node.parent.parent.moduleSpecifier; - const isTypeOnly = isJSDocImportTag(node.parent.parent); - addResult( - factory.createImportDeclaration( - /*modifiers*/ - void 0, - factory.createImportClause( - isTypeOnly, - /*name*/ - void 0, - factory.createNamespaceImport(factory.createIdentifier(localName)) - ), - specifier2, - node.parent.attributes - ), - 0 /* None */ - ); - break; - } - case 280 /* NamespaceExport */: - addResult( - factory.createExportDeclaration( - /*modifiers*/ - void 0, - /*isTypeOnly*/ - false, - factory.createNamespaceExport(factory.createIdentifier(localName)), - factory.createStringLiteral(getSpecifierForModuleSymbol(target, context)) - ), - 0 /* None */ - ); - break; - case 276 /* ImportSpecifier */: { - const generatedSpecifier = getSpecifierForModuleSymbol(target.parent || target, context); - const specifier2 = context.bundled ? factory.createStringLiteral(generatedSpecifier) : node.parent.parent.parent.moduleSpecifier; - const isTypeOnly = isJSDocImportTag(node.parent.parent.parent); - addResult( - factory.createImportDeclaration( - /*modifiers*/ - void 0, - factory.createImportClause( - isTypeOnly, - /*name*/ - void 0, - factory.createNamedImports([ - factory.createImportSpecifier( - /*isTypeOnly*/ - false, - localName !== verbatimTargetName ? factory.createIdentifier(verbatimTargetName) : void 0, - factory.createIdentifier(localName) - ) - ]) - ), - specifier2, - node.parent.parent.parent.attributes - ), - 0 /* None */ - ); - break; - } - case 281 /* ExportSpecifier */: - const specifier = node.parent.parent.moduleSpecifier; - if (specifier) { - const propertyName = node.propertyName; - if (propertyName && moduleExportNameIsDefault(propertyName)) { - verbatimTargetName = "default" /* Default */; - } - } - serializeExportSpecifier( - unescapeLeadingUnderscores(symbol.escapedName), - specifier ? verbatimTargetName : targetName, - specifier && isStringLiteralLike(specifier) ? factory.createStringLiteral(specifier.text) : void 0 - ); - break; - case 277 /* ExportAssignment */: - serializeMaybeAliasAssignment(symbol); - break; - case 226 /* BinaryExpression */: - case 211 /* PropertyAccessExpression */: - case 212 /* ElementAccessExpression */: - if (symbol.escapedName === "default" /* Default */ || symbol.escapedName === "export=" /* ExportEquals */) { - serializeMaybeAliasAssignment(symbol); - } else { - serializeExportSpecifier(localName, targetName); - } - break; - default: - return Debug.failBadSyntaxKind(node, "Unhandled alias declaration kind in symbol serializer!"); - } - } - function serializeExportSpecifier(localName, targetName, specifier) { - addResult( - factory.createExportDeclaration( - /*modifiers*/ - void 0, - /*isTypeOnly*/ - false, - factory.createNamedExports([factory.createExportSpecifier( - /*isTypeOnly*/ - false, - localName !== targetName ? targetName : void 0, - localName - )]), - specifier - ), - 0 /* None */ - ); - } - function serializeMaybeAliasAssignment(symbol) { - var _a2; - if (symbol.flags & 4194304 /* Prototype */) { - return false; - } - const name = unescapeLeadingUnderscores(symbol.escapedName); - const isExportEquals = name === "export=" /* ExportEquals */; - const isDefault = name === "default" /* Default */; - const isExportAssignmentCompatibleSymbolName = isExportEquals || isDefault; - const aliasDecl = symbol.declarations && getDeclarationOfAliasSymbol(symbol); - const target = aliasDecl && getTargetOfAliasDeclaration( - aliasDecl, - /*dontRecursivelyResolve*/ - true - ); - if (target && length(target.declarations) && some(target.declarations, (d) => getSourceFileOfNode(d) === getSourceFileOfNode(enclosingDeclaration))) { - const expr = aliasDecl && (isExportAssignment(aliasDecl) || isBinaryExpression(aliasDecl) ? getExportAssignmentExpression(aliasDecl) : getPropertyAssignmentAliasLikeExpression(aliasDecl)); - const first2 = expr && isEntityNameExpression(expr) ? getFirstNonModuleExportsIdentifier(expr) : void 0; - const referenced = first2 && resolveEntityName( - first2, - -1 /* All */, - /*ignoreErrors*/ - true, - /*dontResolveAlias*/ - true, - enclosingDeclaration - ); - if (referenced || target) { - includePrivateSymbol(referenced || target); - } - const prevDisableTrackSymbol = context.tracker.disableTrackSymbol; - context.tracker.disableTrackSymbol = true; - if (isExportAssignmentCompatibleSymbolName) { - results.push(factory.createExportAssignment( - /*modifiers*/ - void 0, - isExportEquals, - symbolToExpression(target, context, -1 /* All */) - )); - } else { - if (first2 === expr && first2) { - serializeExportSpecifier(name, idText(first2)); - } else if (expr && isClassExpression(expr)) { - serializeExportSpecifier(name, getInternalSymbolName(target, symbolName(target))); - } else { - const varName = getUnusedName(name, symbol); - addResult( - factory.createImportEqualsDeclaration( - /*modifiers*/ - void 0, - /*isTypeOnly*/ - false, - factory.createIdentifier(varName), - symbolToName( - target, - context, - -1 /* All */, - /*expectsIdentifier*/ - false - ) - ), - 0 /* None */ - ); - serializeExportSpecifier(name, varName); - } - } - context.tracker.disableTrackSymbol = prevDisableTrackSymbol; - return true; - } else { - const varName = getUnusedName(name, symbol); - const typeToSerialize = getWidenedType(getTypeOfSymbol(getMergedSymbol(symbol))); - if (isTypeRepresentableAsFunctionNamespaceMerge(typeToSerialize, symbol)) { - serializeAsFunctionNamespaceMerge(typeToSerialize, symbol, varName, isExportAssignmentCompatibleSymbolName ? 0 /* None */ : 32 /* Export */); - } else { - const flags = ((_a2 = context.enclosingDeclaration) == null ? void 0 : _a2.kind) === 267 /* ModuleDeclaration */ && (!(symbol.flags & 98304 /* Accessor */) || symbol.flags & 65536 /* SetAccessor */) ? 1 /* Let */ : 2 /* Const */; - const statement = factory.createVariableStatement( - /*modifiers*/ - void 0, - factory.createVariableDeclarationList([ - factory.createVariableDeclaration( - varName, - /*exclamationToken*/ - void 0, - serializeTypeForDeclaration( - context, - /*declaration*/ - void 0, - typeToSerialize, - symbol - ) - ) - ], flags) - ); - addResult( - statement, - target && target.flags & 4 /* Property */ && target.escapedName === "export=" /* ExportEquals */ ? 128 /* Ambient */ : name === varName ? 32 /* Export */ : 0 /* None */ - ); - } - if (isExportAssignmentCompatibleSymbolName) { - results.push(factory.createExportAssignment( - /*modifiers*/ - void 0, - isExportEquals, - factory.createIdentifier(varName) - )); - return true; - } else if (name !== varName) { - serializeExportSpecifier(name, varName); - return true; - } - return false; - } - } - function isTypeRepresentableAsFunctionNamespaceMerge(typeToSerialize, hostSymbol) { - var _a2; - const ctxSrc = getSourceFileOfNode(context.enclosingDeclaration); - return getObjectFlags(typeToSerialize) & (16 /* Anonymous */ | 32 /* Mapped */) && !some((_a2 = typeToSerialize.symbol) == null ? void 0 : _a2.declarations, isTypeNode) && // If the type comes straight from a type node, we shouldn't try to break it up - !length(getIndexInfosOfType(typeToSerialize)) && !isClassInstanceSide(typeToSerialize) && // While a class instance is potentially representable as a NS, prefer printing a reference to the instance type and serializing the class - !!(length(filter(getPropertiesOfType(typeToSerialize), isNamespaceMember)) || length(getSignaturesOfType(typeToSerialize, 0 /* Call */))) && !length(getSignaturesOfType(typeToSerialize, 1 /* Construct */)) && // TODO: could probably serialize as function + ns + class, now that that's OK - !getDeclarationWithTypeAnnotation(hostSymbol, enclosingDeclaration) && !(typeToSerialize.symbol && some(typeToSerialize.symbol.declarations, (d) => getSourceFileOfNode(d) !== ctxSrc)) && !some(getPropertiesOfType(typeToSerialize), (p) => isLateBoundName(p.escapedName)) && !some(getPropertiesOfType(typeToSerialize), (p) => some(p.declarations, (d) => getSourceFileOfNode(d) !== ctxSrc)) && every(getPropertiesOfType(typeToSerialize), (p) => { - if (!isIdentifierText(symbolName(p), languageVersion)) { - return false; - } - if (!(p.flags & 98304 /* Accessor */)) { - return true; - } - return getNonMissingTypeOfSymbol(p) === getWriteTypeOfSymbol(p); - }); - } - function makeSerializePropertySymbol(createProperty2, methodKind, useAccessors) { - return function serializePropertySymbol(p, isStatic2, baseType) { - var _a2, _b, _c, _d, _e; - const modifierFlags = getDeclarationModifierFlagsFromSymbol(p); - const isPrivate = !!(modifierFlags & 2 /* Private */); - if (isStatic2 && p.flags & (788968 /* Type */ | 1920 /* Namespace */ | 2097152 /* Alias */)) { - return []; - } - if (p.flags & 4194304 /* Prototype */ || p.escapedName === "constructor" || baseType && getPropertyOfType(baseType, p.escapedName) && isReadonlySymbol(getPropertyOfType(baseType, p.escapedName)) === isReadonlySymbol(p) && (p.flags & 16777216 /* Optional */) === (getPropertyOfType(baseType, p.escapedName).flags & 16777216 /* Optional */) && isTypeIdenticalTo(getTypeOfSymbol(p), getTypeOfPropertyOfType(baseType, p.escapedName))) { - return []; - } - const flag = modifierFlags & ~1024 /* Async */ | (isStatic2 ? 256 /* Static */ : 0); - const name = getPropertyNameNodeForSymbol(p, context); - const firstPropertyLikeDecl = (_a2 = p.declarations) == null ? void 0 : _a2.find(or(isPropertyDeclaration, isAccessor, isVariableDeclaration, isPropertySignature, isBinaryExpression, isPropertyAccessExpression)); - if (p.flags & 98304 /* Accessor */ && useAccessors) { - const result = []; - if (p.flags & 65536 /* SetAccessor */) { - const setter = p.declarations && forEach(p.declarations, (d) => { - if (d.kind === 178 /* SetAccessor */) { - return d; - } - if (isCallExpression(d) && isBindableObjectDefinePropertyCall(d)) { - return forEach(d.arguments[2].properties, (propDecl) => { - const id = getNameOfDeclaration(propDecl); - if (!!id && isIdentifier(id) && idText(id) === "set") { - return propDecl; - } - }); - } - }); - Debug.assert(!!setter); - const paramSymbol = isFunctionLikeDeclaration(setter) ? getSignatureFromDeclaration(setter).parameters[0] : void 0; - result.push(setTextRange2( - context, - factory.createSetAccessorDeclaration( - factory.createModifiersFromModifierFlags(flag), - name, - [factory.createParameterDeclaration( - /*modifiers*/ - void 0, - /*dotDotDotToken*/ - void 0, - paramSymbol ? parameterToParameterDeclarationName(paramSymbol, getEffectiveParameterDeclaration(paramSymbol), context) : "value", - /*questionToken*/ - void 0, - isPrivate ? void 0 : serializeTypeForDeclaration( - context, - /*declaration*/ - void 0, - getWriteTypeOfSymbol(p), - p - ) - )], - /*body*/ - void 0 - ), - ((_b = p.declarations) == null ? void 0 : _b.find(isSetAccessor)) || firstPropertyLikeDecl - )); - } - if (p.flags & 32768 /* GetAccessor */) { - const isPrivate2 = modifierFlags & 2 /* Private */; - result.push(setTextRange2( - context, - factory.createGetAccessorDeclaration( - factory.createModifiersFromModifierFlags(flag), - name, - [], - isPrivate2 ? void 0 : serializeTypeForDeclaration( - context, - /*declaration*/ - void 0, - getTypeOfSymbol(p), - p - ), - /*body*/ - void 0 - ), - ((_c = p.declarations) == null ? void 0 : _c.find(isGetAccessor)) || firstPropertyLikeDecl - )); - } - return result; - } else if (p.flags & (4 /* Property */ | 3 /* Variable */ | 98304 /* Accessor */)) { - return setTextRange2( - context, - createProperty2( - factory.createModifiersFromModifierFlags((isReadonlySymbol(p) ? 8 /* Readonly */ : 0) | flag), - name, - p.flags & 16777216 /* Optional */ ? factory.createToken(58 /* QuestionToken */) : void 0, - isPrivate ? void 0 : serializeTypeForDeclaration( - context, - /*declaration*/ - void 0, - getWriteTypeOfSymbol(p), - p - ), - // TODO: https://github.com/microsoft/TypeScript/pull/32372#discussion_r328386357 - // interface members can't have initializers, however class members _can_ - /*initializer*/ - void 0 - ), - ((_d = p.declarations) == null ? void 0 : _d.find(or(isPropertyDeclaration, isVariableDeclaration))) || firstPropertyLikeDecl - ); - } - if (p.flags & (8192 /* Method */ | 16 /* Function */)) { - const type = getTypeOfSymbol(p); - const signatures = getSignaturesOfType(type, 0 /* Call */); - if (flag & 2 /* Private */) { - return setTextRange2( - context, - createProperty2( - factory.createModifiersFromModifierFlags((isReadonlySymbol(p) ? 8 /* Readonly */ : 0) | flag), - name, - p.flags & 16777216 /* Optional */ ? factory.createToken(58 /* QuestionToken */) : void 0, - /*type*/ - void 0, - /*initializer*/ - void 0 - ), - ((_e = p.declarations) == null ? void 0 : _e.find(isFunctionLikeDeclaration)) || signatures[0] && signatures[0].declaration || p.declarations && p.declarations[0] - ); - } - const results2 = []; - for (const sig of signatures) { - const decl = signatureToSignatureDeclarationHelper( - sig, - methodKind, - context, - { - name, - questionToken: p.flags & 16777216 /* Optional */ ? factory.createToken(58 /* QuestionToken */) : void 0, - modifiers: flag ? factory.createModifiersFromModifierFlags(flag) : void 0 - } - ); - const location = sig.declaration && isPrototypePropertyAssignment(sig.declaration.parent) ? sig.declaration.parent : sig.declaration; - results2.push(setTextRange2(context, decl, location)); - } - return results2; - } - return Debug.fail(`Unhandled class member kind! ${p.__debugFlags || p.flags}`); - }; - } - function serializePropertySymbolForInterface(p, baseType) { - return serializePropertySymbolForInterfaceWorker( - p, - /*isStatic*/ - false, - baseType - ); - } - function serializeSignatures(kind, input, baseType, outputKind) { - const signatures = getSignaturesOfType(input, kind); - if (kind === 1 /* Construct */) { - if (!baseType && every(signatures, (s) => length(s.parameters) === 0)) { - return []; - } - if (baseType) { - const baseSigs = getSignaturesOfType(baseType, 1 /* Construct */); - if (!length(baseSigs) && every(signatures, (s) => length(s.parameters) === 0)) { - return []; - } - if (baseSigs.length === signatures.length) { - let failed = false; - for (let i = 0; i < baseSigs.length; i++) { - if (!compareSignaturesIdentical( - signatures[i], - baseSigs[i], - /*partialMatch*/ - false, - /*ignoreThisTypes*/ - false, - /*ignoreReturnTypes*/ - true, - compareTypesIdentical - )) { - failed = true; - break; - } - } - if (!failed) { - return []; - } - } - } - let privateProtected = 0; - for (const s of signatures) { - if (s.declaration) { - privateProtected |= getSelectedEffectiveModifierFlags(s.declaration, 2 /* Private */ | 4 /* Protected */); - } - } - if (privateProtected) { - return [setTextRange2( - context, - factory.createConstructorDeclaration( - factory.createModifiersFromModifierFlags(privateProtected), - /*parameters*/ - [], - /*body*/ - void 0 - ), - signatures[0].declaration - )]; - } - } - const results2 = []; - for (const sig of signatures) { - const decl = signatureToSignatureDeclarationHelper(sig, outputKind, context); - results2.push(setTextRange2(context, decl, sig.declaration)); - } - return results2; - } - function serializeIndexSignatures(input, baseType) { - const results2 = []; - for (const info of getIndexInfosOfType(input)) { - if (baseType) { - const baseInfo = getIndexInfoOfType(baseType, info.keyType); - if (baseInfo) { - if (isTypeIdenticalTo(info.type, baseInfo.type)) { - continue; - } - } - } - results2.push(indexInfoToIndexSignatureDeclarationHelper( - info, - context, - /*typeNode*/ - void 0 - )); - } - return results2; - } - function serializeBaseType(t, staticType, rootName) { - const ref = trySerializeAsTypeReference(t, 111551 /* Value */); - if (ref) { - return ref; - } - const tempName = getUnusedName(`${rootName}_base`); - const statement = factory.createVariableStatement( - /*modifiers*/ - void 0, - factory.createVariableDeclarationList([ - factory.createVariableDeclaration( - tempName, - /*exclamationToken*/ - void 0, - typeToTypeNodeHelper(staticType, context) - ) - ], 2 /* Const */) - ); - addResult(statement, 0 /* None */); - return factory.createExpressionWithTypeArguments( - factory.createIdentifier(tempName), - /*typeArguments*/ - void 0 - ); - } - function trySerializeAsTypeReference(t, flags) { - let typeArgs; - let reference; - if (t.target && isSymbolAccessibleByFlags(t.target.symbol, enclosingDeclaration, flags)) { - typeArgs = map(getTypeArguments(t), (t2) => typeToTypeNodeHelper(t2, context)); - reference = symbolToExpression(t.target.symbol, context, 788968 /* Type */); - } else if (t.symbol && isSymbolAccessibleByFlags(t.symbol, enclosingDeclaration, flags)) { - reference = symbolToExpression(t.symbol, context, 788968 /* Type */); - } - if (reference) { - return factory.createExpressionWithTypeArguments(reference, typeArgs); - } - } - function serializeImplementedType(t) { - const ref = trySerializeAsTypeReference(t, 788968 /* Type */); - if (ref) { - return ref; - } - if (t.symbol) { - return factory.createExpressionWithTypeArguments( - symbolToExpression(t.symbol, context, 788968 /* Type */), - /*typeArguments*/ - void 0 - ); - } - } - function getUnusedName(input, symbol) { - var _a2, _b; - const id = symbol ? getSymbolId(symbol) : void 0; - if (id) { - if (context.remappedSymbolNames.has(id)) { - return context.remappedSymbolNames.get(id); - } - } - if (symbol) { - input = getNameCandidateWorker(symbol, input); - } - let i = 0; - const original = input; - while ((_a2 = context.usedSymbolNames) == null ? void 0 : _a2.has(input)) { - i++; - input = `${original}_${i}`; - } - (_b = context.usedSymbolNames) == null ? void 0 : _b.add(input); - if (id) { - context.remappedSymbolNames.set(id, input); - } - return input; - } - function getNameCandidateWorker(symbol, localName) { - if (localName === "default" /* Default */ || localName === "__class" /* Class */ || localName === "__function" /* Function */) { - const restoreFlags = saveRestoreFlags(context); - context.flags |= 16777216 /* InInitialEntityName */; - const nameCandidate = getNameOfSymbolAsWritten(symbol, context); - restoreFlags(); - localName = nameCandidate.length > 0 && isSingleOrDoubleQuote(nameCandidate.charCodeAt(0)) ? stripQuotes(nameCandidate) : nameCandidate; - } - if (localName === "default" /* Default */) { - localName = "_default"; - } else if (localName === "export=" /* ExportEquals */) { - localName = "_exports"; - } - localName = isIdentifierText(localName, languageVersion) && !isStringANonContextualKeyword(localName) ? localName : "_" + localName.replace(/[^a-z0-9]/gi, "_"); - return localName; - } - function getInternalSymbolName(symbol, localName) { - const id = getSymbolId(symbol); - if (context.remappedSymbolNames.has(id)) { - return context.remappedSymbolNames.get(id); - } - localName = getNameCandidateWorker(symbol, localName); - context.remappedSymbolNames.set(id, localName); - return localName; - } - } - } - function typePredicateToString(typePredicate, enclosingDeclaration, flags = 16384 /* UseAliasDefinedOutsideCurrentScope */, writer) { - return writer ? typePredicateToStringWorker(writer).getText() : usingSingleLineStringWriter(typePredicateToStringWorker); - function typePredicateToStringWorker(writer2) { - const nodeBuilderFlags = toNodeBuilderFlags(flags) | 70221824 /* IgnoreErrors */ | 512 /* WriteTypeParametersInQualifiedName */; - const predicate = nodeBuilder.typePredicateToTypePredicateNode(typePredicate, enclosingDeclaration, nodeBuilderFlags); - const printer = createPrinterWithRemoveComments(); - const sourceFile = enclosingDeclaration && getSourceFileOfNode(enclosingDeclaration); - printer.writeNode( - 4 /* Unspecified */, - predicate, - /*sourceFile*/ - sourceFile, - writer2 - ); - return writer2; - } - } - function formatUnionTypes(types) { - const result = []; - let flags = 0; - for (let i = 0; i < types.length; i++) { - const t = types[i]; - flags |= t.flags; - if (!(t.flags & 98304 /* Nullable */)) { - if (t.flags & (512 /* BooleanLiteral */ | 1056 /* EnumLike */)) { - const baseType = t.flags & 512 /* BooleanLiteral */ ? booleanType : getBaseTypeOfEnumLikeType(t); - if (baseType.flags & 1048576 /* Union */) { - const count = baseType.types.length; - if (i + count <= types.length && getRegularTypeOfLiteralType(types[i + count - 1]) === getRegularTypeOfLiteralType(baseType.types[count - 1])) { - result.push(baseType); - i += count - 1; - continue; - } - } - } - result.push(t); - } - } - if (flags & 65536 /* Null */) result.push(nullType); - if (flags & 32768 /* Undefined */) result.push(undefinedType); - return result || types; - } - function visibilityToString(flags) { - if (flags === 2 /* Private */) { - return "private"; - } - if (flags === 4 /* Protected */) { - return "protected"; - } - return "public"; - } - function getTypeAliasForTypeLiteral(type) { - if (type.symbol && type.symbol.flags & 2048 /* TypeLiteral */ && type.symbol.declarations) { - const node = walkUpParenthesizedTypes(type.symbol.declarations[0].parent); - if (isTypeAliasDeclaration(node)) { - return getSymbolOfDeclaration(node); - } - } - return void 0; - } - function isTopLevelInExternalModuleAugmentation(node) { - return node && node.parent && node.parent.kind === 268 /* ModuleBlock */ && isExternalModuleAugmentation(node.parent.parent); - } - function isDefaultBindingContext(location) { - return location.kind === 307 /* SourceFile */ || isAmbientModule(location); - } - function getNameOfSymbolFromNameType(symbol, context) { - const nameType = getSymbolLinks(symbol).nameType; - if (nameType) { - if (nameType.flags & 384 /* StringOrNumberLiteral */) { - const name = "" + nameType.value; - if (!isIdentifierText(name, getEmitScriptTarget(compilerOptions)) && !isNumericLiteralName(name)) { - return `"${escapeString(name, 34 /* doubleQuote */)}"`; - } - if (isNumericLiteralName(name) && startsWith(name, "-")) { - return `[${name}]`; - } - return name; - } - if (nameType.flags & 8192 /* UniqueESSymbol */) { - return `[${getNameOfSymbolAsWritten(nameType.symbol, context)}]`; - } - } - } - function getNameOfSymbolAsWritten(symbol, context) { - var _a; - if ((_a = context == null ? void 0 : context.remappedSymbolReferences) == null ? void 0 : _a.has(getSymbolId(symbol))) { - symbol = context.remappedSymbolReferences.get(getSymbolId(symbol)); - } - if (context && symbol.escapedName === "default" /* Default */ && !(context.flags & 16384 /* UseAliasDefinedOutsideCurrentScope */) && // If it's not the first part of an entity name, it must print as `default` - (!(context.flags & 16777216 /* InInitialEntityName */) || // if the symbol is synthesized, it will only be referenced externally it must print as `default` - !symbol.declarations || // if not in the same binding context (source file, module declaration), it must print as `default` - context.enclosingDeclaration && findAncestor(symbol.declarations[0], isDefaultBindingContext) !== findAncestor(context.enclosingDeclaration, isDefaultBindingContext))) { - return "default"; - } - if (symbol.declarations && symbol.declarations.length) { - let declaration = firstDefined(symbol.declarations, (d) => getNameOfDeclaration(d) ? d : void 0); - const name2 = declaration && getNameOfDeclaration(declaration); - if (declaration && name2) { - if (isCallExpression(declaration) && isBindableObjectDefinePropertyCall(declaration)) { - return symbolName(symbol); - } - if (isComputedPropertyName(name2) && !(getCheckFlags(symbol) & 4096 /* Late */)) { - const nameType = getSymbolLinks(symbol).nameType; - if (nameType && nameType.flags & 384 /* StringOrNumberLiteral */) { - const result = getNameOfSymbolFromNameType(symbol, context); - if (result !== void 0) { - return result; - } - } - } - return declarationNameToString(name2); - } - if (!declaration) { - declaration = symbol.declarations[0]; - } - if (declaration.parent && declaration.parent.kind === 260 /* VariableDeclaration */) { - return declarationNameToString(declaration.parent.name); - } - switch (declaration.kind) { - case 231 /* ClassExpression */: - case 218 /* FunctionExpression */: - case 219 /* ArrowFunction */: - if (context && !context.encounteredError && !(context.flags & 131072 /* AllowAnonymousIdentifier */)) { - context.encounteredError = true; - } - return declaration.kind === 231 /* ClassExpression */ ? "(Anonymous class)" : "(Anonymous function)"; - } - } - const name = getNameOfSymbolFromNameType(symbol, context); - return name !== void 0 ? name : symbolName(symbol); - } - function isDeclarationVisible(node) { - if (node) { - const links = getNodeLinks(node); - if (links.isVisible === void 0) { - links.isVisible = !!determineIfDeclarationIsVisible(); - } - return links.isVisible; - } - return false; - function determineIfDeclarationIsVisible() { - switch (node.kind) { - case 338 /* JSDocCallbackTag */: - case 346 /* JSDocTypedefTag */: - case 340 /* JSDocEnumTag */: - return !!(node.parent && node.parent.parent && node.parent.parent.parent && isSourceFile(node.parent.parent.parent)); - case 208 /* BindingElement */: - return isDeclarationVisible(node.parent.parent); - case 260 /* VariableDeclaration */: - if (isBindingPattern(node.name) && !node.name.elements.length) { - return false; - } - case 267 /* ModuleDeclaration */: - case 263 /* ClassDeclaration */: - case 264 /* InterfaceDeclaration */: - case 265 /* TypeAliasDeclaration */: - case 262 /* FunctionDeclaration */: - case 266 /* EnumDeclaration */: - case 271 /* ImportEqualsDeclaration */: - if (isExternalModuleAugmentation(node)) { - return true; - } - const parent = getDeclarationContainer(node); - if (!(getCombinedModifierFlagsCached(node) & 32 /* Export */) && !(node.kind !== 271 /* ImportEqualsDeclaration */ && parent.kind !== 307 /* SourceFile */ && parent.flags & 33554432 /* Ambient */)) { - return isGlobalSourceFile(parent); - } - return isDeclarationVisible(parent); - case 172 /* PropertyDeclaration */: - case 171 /* PropertySignature */: - case 177 /* GetAccessor */: - case 178 /* SetAccessor */: - case 174 /* MethodDeclaration */: - case 173 /* MethodSignature */: - if (hasEffectiveModifier(node, 2 /* Private */ | 4 /* Protected */)) { - return false; - } - case 176 /* Constructor */: - case 180 /* ConstructSignature */: - case 179 /* CallSignature */: - case 181 /* IndexSignature */: - case 169 /* Parameter */: - case 268 /* ModuleBlock */: - case 184 /* FunctionType */: - case 185 /* ConstructorType */: - case 187 /* TypeLiteral */: - case 183 /* TypeReference */: - case 188 /* ArrayType */: - case 189 /* TupleType */: - case 192 /* UnionType */: - case 193 /* IntersectionType */: - case 196 /* ParenthesizedType */: - case 202 /* NamedTupleMember */: - return isDeclarationVisible(node.parent); - case 273 /* ImportClause */: - case 274 /* NamespaceImport */: - case 276 /* ImportSpecifier */: - return false; - case 168 /* TypeParameter */: - case 307 /* SourceFile */: - case 270 /* NamespaceExportDeclaration */: - return true; - case 277 /* ExportAssignment */: - return false; - default: - return false; - } - } - } - function collectLinkedAliases(node, setVisibility) { - let exportSymbol; - if (node.kind !== 11 /* StringLiteral */ && node.parent && node.parent.kind === 277 /* ExportAssignment */) { - exportSymbol = resolveName( - node, - node, - 111551 /* Value */ | 788968 /* Type */ | 1920 /* Namespace */ | 2097152 /* Alias */, - /*nameNotFoundMessage*/ - void 0, - /*isUse*/ - false - ); - } else if (node.parent.kind === 281 /* ExportSpecifier */) { - exportSymbol = getTargetOfExportSpecifier(node.parent, 111551 /* Value */ | 788968 /* Type */ | 1920 /* Namespace */ | 2097152 /* Alias */); - } - let result; - let visited; - if (exportSymbol) { - visited = /* @__PURE__ */ new Set(); - visited.add(getSymbolId(exportSymbol)); - buildVisibleNodeList(exportSymbol.declarations); - } - return result; - function buildVisibleNodeList(declarations) { - forEach(declarations, (declaration) => { - const resultNode = getAnyImportSyntax(declaration) || declaration; - if (setVisibility) { - getNodeLinks(declaration).isVisible = true; - } else { - result = result || []; - pushIfUnique(result, resultNode); - } - if (isInternalModuleImportEqualsDeclaration(declaration)) { - const internalModuleReference = declaration.moduleReference; - const firstIdentifier = getFirstIdentifier(internalModuleReference); - const importSymbol = resolveName( - declaration, - firstIdentifier.escapedText, - 111551 /* Value */ | 788968 /* Type */ | 1920 /* Namespace */, - /*nameNotFoundMessage*/ - void 0, - /*isUse*/ - false - ); - if (importSymbol && visited) { - if (tryAddToSet(visited, getSymbolId(importSymbol))) { - buildVisibleNodeList(importSymbol.declarations); - } - } - } - }); - } - } - function pushTypeResolution(target, propertyName) { - const resolutionCycleStartIndex = findResolutionCycleStartIndex(target, propertyName); - if (resolutionCycleStartIndex >= 0) { - const { length: length2 } = resolutionTargets; - for (let i = resolutionCycleStartIndex; i < length2; i++) { - resolutionResults[i] = false; - } - return false; - } - resolutionTargets.push(target); - resolutionResults.push( - /*items*/ - true - ); - resolutionPropertyNames.push(propertyName); - return true; - } - function findResolutionCycleStartIndex(target, propertyName) { - for (let i = resolutionTargets.length - 1; i >= resolutionStart; i--) { - if (resolutionTargetHasProperty(resolutionTargets[i], resolutionPropertyNames[i])) { - return -1; - } - if (resolutionTargets[i] === target && resolutionPropertyNames[i] === propertyName) { - return i; - } - } - return -1; - } - function resolutionTargetHasProperty(target, propertyName) { - switch (propertyName) { - case 0 /* Type */: - return !!getSymbolLinks(target).type; - case 2 /* DeclaredType */: - return !!getSymbolLinks(target).declaredType; - case 1 /* ResolvedBaseConstructorType */: - return !!target.resolvedBaseConstructorType; - case 3 /* ResolvedReturnType */: - return !!target.resolvedReturnType; - case 4 /* ImmediateBaseConstraint */: - return !!target.immediateBaseConstraint; - case 5 /* ResolvedTypeArguments */: - return !!target.resolvedTypeArguments; - case 6 /* ResolvedBaseTypes */: - return !!target.baseTypesResolved; - case 7 /* WriteType */: - return !!getSymbolLinks(target).writeType; - case 8 /* ParameterInitializerContainsUndefined */: - return getNodeLinks(target).parameterInitializerContainsUndefined !== void 0; - } - return Debug.assertNever(propertyName); - } - function popTypeResolution() { - resolutionTargets.pop(); - resolutionPropertyNames.pop(); - return resolutionResults.pop(); - } - function getDeclarationContainer(node) { - return findAncestor(getRootDeclaration(node), (node2) => { - switch (node2.kind) { - case 260 /* VariableDeclaration */: - case 261 /* VariableDeclarationList */: - case 276 /* ImportSpecifier */: - case 275 /* NamedImports */: - case 274 /* NamespaceImport */: - case 273 /* ImportClause */: - return false; - default: - return true; - } - }).parent; - } - function getTypeOfPrototypeProperty(prototype) { - const classType = getDeclaredTypeOfSymbol(getParentOfSymbol(prototype)); - return classType.typeParameters ? createTypeReference(classType, map(classType.typeParameters, (_) => anyType)) : classType; - } - function getTypeOfPropertyOfType(type, name) { - const prop = getPropertyOfType(type, name); - return prop ? getTypeOfSymbol(prop) : void 0; - } - function getTypeOfPropertyOrIndexSignatureOfType(type, name) { - var _a; - let propType; - return getTypeOfPropertyOfType(type, name) || (propType = (_a = getApplicableIndexInfoForName(type, name)) == null ? void 0 : _a.type) && addOptionality( - propType, - /*isProperty*/ - true, - /*isOptional*/ - true - ); - } - function isTypeAny(type) { - return type && (type.flags & 1 /* Any */) !== 0; - } - function isErrorType(type) { - return type === errorType || !!(type.flags & 1 /* Any */ && type.aliasSymbol); - } - function getTypeForBindingElementParent(node, checkMode) { - if (checkMode !== 0 /* Normal */) { - return getTypeForVariableLikeDeclaration( - node, - /*includeOptionality*/ - false, - checkMode - ); - } - const symbol = getSymbolOfDeclaration(node); - return symbol && getSymbolLinks(symbol).type || getTypeForVariableLikeDeclaration( - node, - /*includeOptionality*/ - false, - checkMode - ); - } - function getRestType(source, properties, symbol) { - source = filterType(source, (t) => !(t.flags & 98304 /* Nullable */)); - if (source.flags & 131072 /* Never */) { - return emptyObjectType; - } - if (source.flags & 1048576 /* Union */) { - return mapType(source, (t) => getRestType(t, properties, symbol)); - } - let omitKeyType = getUnionType(map(properties, getLiteralTypeFromPropertyName)); - const spreadableProperties = []; - const unspreadableToRestKeys = []; - for (const prop of getPropertiesOfType(source)) { - const literalTypeFromProperty = getLiteralTypeFromProperty(prop, 8576 /* StringOrNumberLiteralOrUnique */); - if (!isTypeAssignableTo(literalTypeFromProperty, omitKeyType) && !(getDeclarationModifierFlagsFromSymbol(prop) & (2 /* Private */ | 4 /* Protected */)) && isSpreadableProperty(prop)) { - spreadableProperties.push(prop); - } else { - unspreadableToRestKeys.push(literalTypeFromProperty); - } - } - if (isGenericObjectType(source) || isGenericIndexType(omitKeyType)) { - if (unspreadableToRestKeys.length) { - omitKeyType = getUnionType([omitKeyType, ...unspreadableToRestKeys]); - } - if (omitKeyType.flags & 131072 /* Never */) { - return source; - } - const omitTypeAlias = getGlobalOmitSymbol(); - if (!omitTypeAlias) { - return errorType; - } - return getTypeAliasInstantiation(omitTypeAlias, [source, omitKeyType]); - } - const members = createSymbolTable(); - for (const prop of spreadableProperties) { - members.set(prop.escapedName, getSpreadSymbol( - prop, - /*readonly*/ - false - )); - } - const result = createAnonymousType(symbol, members, emptyArray, emptyArray, getIndexInfosOfType(source)); - result.objectFlags |= 4194304 /* ObjectRestType */; - return result; - } - function isGenericTypeWithUndefinedConstraint(type) { - return !!(type.flags & 465829888 /* Instantiable */) && maybeTypeOfKind(getBaseConstraintOfType(type) || unknownType, 32768 /* Undefined */); - } - function getNonUndefinedType(type) { - const typeOrConstraint = someType(type, isGenericTypeWithUndefinedConstraint) ? mapType(type, (t) => t.flags & 465829888 /* Instantiable */ ? getBaseConstraintOrType(t) : t) : type; - return getTypeWithFacts(typeOrConstraint, 524288 /* NEUndefined */); - } - function getFlowTypeOfDestructuring(node, declaredType) { - const reference = getSyntheticElementAccess(node); - return reference ? getFlowTypeOfReference(reference, declaredType) : declaredType; - } - function getSyntheticElementAccess(node) { - const parentAccess = getParentElementAccess(node); - if (parentAccess && canHaveFlowNode(parentAccess) && parentAccess.flowNode) { - const propName = getDestructuringPropertyName(node); - if (propName) { - const literal = setTextRange(parseNodeFactory.createStringLiteral(propName), node); - const lhsExpr = isLeftHandSideExpression(parentAccess) ? parentAccess : parseNodeFactory.createParenthesizedExpression(parentAccess); - const result = setTextRange(parseNodeFactory.createElementAccessExpression(lhsExpr, literal), node); - setParent(literal, result); - setParent(result, node); - if (lhsExpr !== parentAccess) { - setParent(lhsExpr, result); - } - result.flowNode = parentAccess.flowNode; - return result; - } - } - } - function getParentElementAccess(node) { - const ancestor = node.parent.parent; - switch (ancestor.kind) { - case 208 /* BindingElement */: - case 303 /* PropertyAssignment */: - return getSyntheticElementAccess(ancestor); - case 209 /* ArrayLiteralExpression */: - return getSyntheticElementAccess(node.parent); - case 260 /* VariableDeclaration */: - return ancestor.initializer; - case 226 /* BinaryExpression */: - return ancestor.right; - } - } - function getDestructuringPropertyName(node) { - const parent = node.parent; - if (node.kind === 208 /* BindingElement */ && parent.kind === 206 /* ObjectBindingPattern */) { - return getLiteralPropertyNameText(node.propertyName || node.name); - } - if (node.kind === 303 /* PropertyAssignment */ || node.kind === 304 /* ShorthandPropertyAssignment */) { - return getLiteralPropertyNameText(node.name); - } - return "" + parent.elements.indexOf(node); - } - function getLiteralPropertyNameText(name) { - const type = getLiteralTypeFromPropertyName(name); - return type.flags & (128 /* StringLiteral */ | 256 /* NumberLiteral */) ? "" + type.value : void 0; - } - function getTypeForBindingElement(declaration) { - const checkMode = declaration.dotDotDotToken ? 32 /* RestBindingElement */ : 0 /* Normal */; - const parentType = getTypeForBindingElementParent(declaration.parent.parent, checkMode); - return parentType && getBindingElementTypeFromParentType( - declaration, - parentType, - /*noTupleBoundsCheck*/ - false - ); - } - function getBindingElementTypeFromParentType(declaration, parentType, noTupleBoundsCheck) { - if (isTypeAny(parentType)) { - return parentType; - } - const pattern = declaration.parent; - if (strictNullChecks && declaration.flags & 33554432 /* Ambient */ && isPartOfParameterDeclaration(declaration)) { - parentType = getNonNullableType(parentType); - } else if (strictNullChecks && pattern.parent.initializer && !hasTypeFacts(getTypeOfInitializer(pattern.parent.initializer), 65536 /* EQUndefined */)) { - parentType = getTypeWithFacts(parentType, 524288 /* NEUndefined */); - } - const accessFlags = 32 /* ExpressionPosition */ | (noTupleBoundsCheck || hasDefaultValue(declaration) ? 16 /* AllowMissing */ : 0); - let type; - if (pattern.kind === 206 /* ObjectBindingPattern */) { - if (declaration.dotDotDotToken) { - parentType = getReducedType(parentType); - if (parentType.flags & 2 /* Unknown */ || !isValidSpreadType(parentType)) { - error(declaration, Diagnostics.Rest_types_may_only_be_created_from_object_types); - return errorType; - } - const literalMembers = []; - for (const element of pattern.elements) { - if (!element.dotDotDotToken) { - literalMembers.push(element.propertyName || element.name); - } - } - type = getRestType(parentType, literalMembers, declaration.symbol); - } else { - const name = declaration.propertyName || declaration.name; - const indexType = getLiteralTypeFromPropertyName(name); - const declaredType = getIndexedAccessType(parentType, indexType, accessFlags, name); - type = getFlowTypeOfDestructuring(declaration, declaredType); - } - } else { - const elementType = checkIteratedTypeOrElementType(65 /* Destructuring */ | (declaration.dotDotDotToken ? 0 : 128 /* PossiblyOutOfBounds */), parentType, undefinedType, pattern); - const index = pattern.elements.indexOf(declaration); - if (declaration.dotDotDotToken) { - const baseConstraint = mapType(parentType, (t) => t.flags & 58982400 /* InstantiableNonPrimitive */ ? getBaseConstraintOrType(t) : t); - type = everyType(baseConstraint, isTupleType) ? mapType(baseConstraint, (t) => sliceTupleType(t, index)) : createArrayType(elementType); - } else if (isArrayLikeType(parentType)) { - const indexType = getNumberLiteralType(index); - const declaredType = getIndexedAccessTypeOrUndefined(parentType, indexType, accessFlags, declaration.name) || errorType; - type = getFlowTypeOfDestructuring(declaration, declaredType); - } else { - type = elementType; - } - } - if (!declaration.initializer) { - return type; - } - if (getEffectiveTypeAnnotationNode(walkUpBindingElementsAndPatterns(declaration))) { - return strictNullChecks && !hasTypeFacts(checkDeclarationInitializer(declaration, 0 /* Normal */), 16777216 /* IsUndefined */) ? getNonUndefinedType(type) : type; - } - return widenTypeInferredFromInitializer(declaration, getUnionType([getNonUndefinedType(type), checkDeclarationInitializer(declaration, 0 /* Normal */)], 2 /* Subtype */)); - } - function getTypeForDeclarationFromJSDocComment(declaration) { - const jsdocType = getJSDocType(declaration); - if (jsdocType) { - return getTypeFromTypeNode(jsdocType); - } - return void 0; - } - function isNullOrUndefined2(node) { - const expr = skipParentheses( - node, - /*excludeJSDocTypeAssertions*/ - true - ); - return expr.kind === 106 /* NullKeyword */ || expr.kind === 80 /* Identifier */ && getResolvedSymbol(expr) === undefinedSymbol; - } - function isEmptyArrayLiteral2(node) { - const expr = skipParentheses( - node, - /*excludeJSDocTypeAssertions*/ - true - ); - return expr.kind === 209 /* ArrayLiteralExpression */ && expr.elements.length === 0; - } - function addOptionality(type, isProperty = false, isOptional = true) { - return strictNullChecks && isOptional ? getOptionalType(type, isProperty) : type; - } - function getTypeForVariableLikeDeclaration(declaration, includeOptionality, checkMode) { - if (isVariableDeclaration(declaration) && declaration.parent.parent.kind === 249 /* ForInStatement */) { - const indexType = getIndexType(getNonNullableTypeIfNeeded(checkExpression( - declaration.parent.parent.expression, - /*checkMode*/ - checkMode - ))); - return indexType.flags & (262144 /* TypeParameter */ | 4194304 /* Index */) ? getExtractStringType(indexType) : stringType; - } - if (isVariableDeclaration(declaration) && declaration.parent.parent.kind === 250 /* ForOfStatement */) { - const forOfStatement = declaration.parent.parent; - return checkRightHandSideOfForOf(forOfStatement) || anyType; - } - if (isBindingPattern(declaration.parent)) { - return getTypeForBindingElement(declaration); - } - const isProperty = isPropertyDeclaration(declaration) && !hasAccessorModifier(declaration) || isPropertySignature(declaration) || isJSDocPropertyTag(declaration); - const isOptional = includeOptionality && isOptionalDeclaration(declaration); - const declaredType = tryGetTypeFromEffectiveTypeNode(declaration); - if (isCatchClauseVariableDeclarationOrBindingElement(declaration)) { - if (declaredType) { - return isTypeAny(declaredType) || declaredType === unknownType ? declaredType : errorType; - } - return useUnknownInCatchVariables ? unknownType : anyType; - } - if (declaredType) { - return addOptionality(declaredType, isProperty, isOptional); - } - if ((noImplicitAny || isInJSFile(declaration)) && isVariableDeclaration(declaration) && !isBindingPattern(declaration.name) && !(getCombinedModifierFlagsCached(declaration) & 32 /* Export */) && !(declaration.flags & 33554432 /* Ambient */)) { - if (!(getCombinedNodeFlagsCached(declaration) & 6 /* Constant */) && (!declaration.initializer || isNullOrUndefined2(declaration.initializer))) { - return autoType; - } - if (declaration.initializer && isEmptyArrayLiteral2(declaration.initializer)) { - return autoArrayType; - } - } - if (isParameter(declaration)) { - if (!declaration.symbol) { - return; - } - const func = declaration.parent; - if (func.kind === 178 /* SetAccessor */ && hasBindableName(func)) { - const getter = getDeclarationOfKind(getSymbolOfDeclaration(declaration.parent), 177 /* GetAccessor */); - if (getter) { - const getterSignature = getSignatureFromDeclaration(getter); - const thisParameter = getAccessorThisParameter(func); - if (thisParameter && declaration === thisParameter) { - Debug.assert(!thisParameter.type); - return getTypeOfSymbol(getterSignature.thisParameter); - } - return getReturnTypeOfSignature(getterSignature); - } - } - const parameterTypeOfTypeTag = getParameterTypeOfTypeTag(func, declaration); - if (parameterTypeOfTypeTag) return parameterTypeOfTypeTag; - const type = declaration.symbol.escapedName === "this" /* This */ ? getContextualThisParameterType(func) : getContextuallyTypedParameterType(declaration); - if (type) { - return addOptionality( - type, - /*isProperty*/ - false, - isOptional - ); - } - } - if (hasOnlyExpressionInitializer(declaration) && !!declaration.initializer) { - if (isInJSFile(declaration) && !isParameter(declaration)) { - const containerObjectType = getJSContainerObjectType(declaration, getSymbolOfDeclaration(declaration), getDeclaredExpandoInitializer(declaration)); - if (containerObjectType) { - return containerObjectType; - } - } - const type = widenTypeInferredFromInitializer(declaration, checkDeclarationInitializer(declaration, checkMode)); - return addOptionality(type, isProperty, isOptional); - } - if (isPropertyDeclaration(declaration) && (noImplicitAny || isInJSFile(declaration))) { - if (!hasStaticModifier(declaration)) { - const constructor = findConstructorDeclaration(declaration.parent); - const type = constructor ? getFlowTypeInConstructor(declaration.symbol, constructor) : getEffectiveModifierFlags(declaration) & 128 /* Ambient */ ? getTypeOfPropertyInBaseClass(declaration.symbol) : void 0; - return type && addOptionality( - type, - /*isProperty*/ - true, - isOptional - ); - } else { - const staticBlocks = filter(declaration.parent.members, isClassStaticBlockDeclaration); - const type = staticBlocks.length ? getFlowTypeInStaticBlocks(declaration.symbol, staticBlocks) : getEffectiveModifierFlags(declaration) & 128 /* Ambient */ ? getTypeOfPropertyInBaseClass(declaration.symbol) : void 0; - return type && addOptionality( - type, - /*isProperty*/ - true, - isOptional - ); - } - } - if (isJsxAttribute(declaration)) { - return trueType; - } - if (isBindingPattern(declaration.name)) { - return getTypeFromBindingPattern( - declaration.name, - /*includePatternInType*/ - false, - /*reportErrors*/ - true - ); - } - return void 0; - } - function isConstructorDeclaredProperty(symbol) { - if (symbol.valueDeclaration && isBinaryExpression(symbol.valueDeclaration)) { - const links = getSymbolLinks(symbol); - if (links.isConstructorDeclaredProperty === void 0) { - links.isConstructorDeclaredProperty = false; - links.isConstructorDeclaredProperty = !!getDeclaringConstructor(symbol) && every(symbol.declarations, (declaration) => isBinaryExpression(declaration) && isPossiblyAliasedThisProperty(declaration) && (declaration.left.kind !== 212 /* ElementAccessExpression */ || isStringOrNumericLiteralLike(declaration.left.argumentExpression)) && !getAnnotatedTypeForAssignmentDeclaration( - /*declaredType*/ - void 0, - declaration, - symbol, - declaration - )); - } - return links.isConstructorDeclaredProperty; - } - return false; - } - function isAutoTypedProperty(symbol) { - const declaration = symbol.valueDeclaration; - return declaration && isPropertyDeclaration(declaration) && !getEffectiveTypeAnnotationNode(declaration) && !declaration.initializer && (noImplicitAny || isInJSFile(declaration)); - } - function getDeclaringConstructor(symbol) { - if (!symbol.declarations) { - return; - } - for (const declaration of symbol.declarations) { - const container = getThisContainer( - declaration, - /*includeArrowFunctions*/ - false, - /*includeClassComputedPropertyName*/ - false - ); - if (container && (container.kind === 176 /* Constructor */ || isJSConstructor(container))) { - return container; - } - } - } - function getFlowTypeFromCommonJSExport(symbol) { - const file = getSourceFileOfNode(symbol.declarations[0]); - const accessName = unescapeLeadingUnderscores(symbol.escapedName); - const areAllModuleExports = symbol.declarations.every((d) => isInJSFile(d) && isAccessExpression(d) && isModuleExportsAccessExpression(d.expression)); - const reference = areAllModuleExports ? factory.createPropertyAccessExpression(factory.createPropertyAccessExpression(factory.createIdentifier("module"), factory.createIdentifier("exports")), accessName) : factory.createPropertyAccessExpression(factory.createIdentifier("exports"), accessName); - if (areAllModuleExports) { - setParent(reference.expression.expression, reference.expression); - } - setParent(reference.expression, reference); - setParent(reference, file); - reference.flowNode = file.endFlowNode; - return getFlowTypeOfReference(reference, autoType, undefinedType); - } - function getFlowTypeInStaticBlocks(symbol, staticBlocks) { - const accessName = startsWith(symbol.escapedName, "__#") ? factory.createPrivateIdentifier(symbol.escapedName.split("@")[1]) : unescapeLeadingUnderscores(symbol.escapedName); - for (const staticBlock of staticBlocks) { - const reference = factory.createPropertyAccessExpression(factory.createThis(), accessName); - setParent(reference.expression, reference); - setParent(reference, staticBlock); - reference.flowNode = staticBlock.returnFlowNode; - const flowType = getFlowTypeOfProperty(reference, symbol); - if (noImplicitAny && (flowType === autoType || flowType === autoArrayType)) { - error(symbol.valueDeclaration, Diagnostics.Member_0_implicitly_has_an_1_type, symbolToString(symbol), typeToString(flowType)); - } - if (everyType(flowType, isNullableType)) { - continue; - } - return convertAutoToAny(flowType); - } - } - function getFlowTypeInConstructor(symbol, constructor) { - const accessName = startsWith(symbol.escapedName, "__#") ? factory.createPrivateIdentifier(symbol.escapedName.split("@")[1]) : unescapeLeadingUnderscores(symbol.escapedName); - const reference = factory.createPropertyAccessExpression(factory.createThis(), accessName); - setParent(reference.expression, reference); - setParent(reference, constructor); - reference.flowNode = constructor.returnFlowNode; - const flowType = getFlowTypeOfProperty(reference, symbol); - if (noImplicitAny && (flowType === autoType || flowType === autoArrayType)) { - error(symbol.valueDeclaration, Diagnostics.Member_0_implicitly_has_an_1_type, symbolToString(symbol), typeToString(flowType)); - } - return everyType(flowType, isNullableType) ? void 0 : convertAutoToAny(flowType); - } - function getFlowTypeOfProperty(reference, prop) { - const initialType = (prop == null ? void 0 : prop.valueDeclaration) && (!isAutoTypedProperty(prop) || getEffectiveModifierFlags(prop.valueDeclaration) & 128 /* Ambient */) && getTypeOfPropertyInBaseClass(prop) || undefinedType; - return getFlowTypeOfReference(reference, autoType, initialType); - } - function getWidenedTypeForAssignmentDeclaration(symbol, resolvedSymbol) { - const container = getAssignedExpandoInitializer(symbol.valueDeclaration); - if (container) { - const tag = isInJSFile(container) ? getJSDocTypeTag(container) : void 0; - if (tag && tag.typeExpression) { - return getTypeFromTypeNode(tag.typeExpression); - } - const containerObjectType = symbol.valueDeclaration && getJSContainerObjectType(symbol.valueDeclaration, symbol, container); - return containerObjectType || getWidenedLiteralType(checkExpressionCached(container)); - } - let type; - let definedInConstructor = false; - let definedInMethod = false; - if (isConstructorDeclaredProperty(symbol)) { - type = getFlowTypeInConstructor(symbol, getDeclaringConstructor(symbol)); - } - if (!type) { - let types; - if (symbol.declarations) { - let jsdocType; - for (const declaration of symbol.declarations) { - const expression = isBinaryExpression(declaration) || isCallExpression(declaration) ? declaration : isAccessExpression(declaration) ? isBinaryExpression(declaration.parent) ? declaration.parent : declaration : void 0; - if (!expression) { - continue; - } - const kind = isAccessExpression(expression) ? getAssignmentDeclarationPropertyAccessKind(expression) : getAssignmentDeclarationKind(expression); - if (kind === 4 /* ThisProperty */ || isBinaryExpression(expression) && isPossiblyAliasedThisProperty(expression, kind)) { - if (isDeclarationInConstructor(expression)) { - definedInConstructor = true; - } else { - definedInMethod = true; - } - } - if (!isCallExpression(expression)) { - jsdocType = getAnnotatedTypeForAssignmentDeclaration(jsdocType, expression, symbol, declaration); - } - if (!jsdocType) { - (types || (types = [])).push(isBinaryExpression(expression) || isCallExpression(expression) ? getInitializerTypeFromAssignmentDeclaration(symbol, resolvedSymbol, expression, kind) : neverType); - } - } - type = jsdocType; - } - if (!type) { - if (!length(types)) { - return errorType; - } - let constructorTypes = definedInConstructor && symbol.declarations ? getConstructorDefinedThisAssignmentTypes(types, symbol.declarations) : void 0; - if (definedInMethod) { - const propType = getTypeOfPropertyInBaseClass(symbol); - if (propType) { - (constructorTypes || (constructorTypes = [])).push(propType); - definedInConstructor = true; - } - } - const sourceTypes = some(constructorTypes, (t) => !!(t.flags & ~98304 /* Nullable */)) ? constructorTypes : types; - type = getUnionType(sourceTypes); - } - } - const widened = getWidenedType(addOptionality( - type, - /*isProperty*/ - false, - definedInMethod && !definedInConstructor - )); - if (symbol.valueDeclaration && isInJSFile(symbol.valueDeclaration) && filterType(widened, (t) => !!(t.flags & ~98304 /* Nullable */)) === neverType) { - reportImplicitAny(symbol.valueDeclaration, anyType); - return anyType; - } - return widened; - } - function getJSContainerObjectType(decl, symbol, init) { - var _a, _b; - if (!isInJSFile(decl) || !init || !isObjectLiteralExpression(init) || init.properties.length) { - return void 0; - } - const exports2 = createSymbolTable(); - while (isBinaryExpression(decl) || isPropertyAccessExpression(decl)) { - const s2 = getSymbolOfNode(decl); - if ((_a = s2 == null ? void 0 : s2.exports) == null ? void 0 : _a.size) { - mergeSymbolTable(exports2, s2.exports); - } - decl = isBinaryExpression(decl) ? decl.parent : decl.parent.parent; - } - const s = getSymbolOfNode(decl); - if ((_b = s == null ? void 0 : s.exports) == null ? void 0 : _b.size) { - mergeSymbolTable(exports2, s.exports); - } - const type = createAnonymousType(symbol, exports2, emptyArray, emptyArray, emptyArray); - type.objectFlags |= 4096 /* JSLiteral */; - return type; - } - function getAnnotatedTypeForAssignmentDeclaration(declaredType, expression, symbol, declaration) { - var _a; - const typeNode = getEffectiveTypeAnnotationNode(expression.parent); - if (typeNode) { - const type = getWidenedType(getTypeFromTypeNode(typeNode)); - if (!declaredType) { - return type; - } else if (!isErrorType(declaredType) && !isErrorType(type) && !isTypeIdenticalTo(declaredType, type)) { - errorNextVariableOrPropertyDeclarationMustHaveSameType( - /*firstDeclaration*/ - void 0, - declaredType, - declaration, - type - ); - } - } - if ((_a = symbol.parent) == null ? void 0 : _a.valueDeclaration) { - const possiblyAnnotatedSymbol = getFunctionExpressionParentSymbolOrSymbol(symbol.parent); - if (possiblyAnnotatedSymbol.valueDeclaration) { - const typeNode2 = getEffectiveTypeAnnotationNode(possiblyAnnotatedSymbol.valueDeclaration); - if (typeNode2) { - const annotationSymbol = getPropertyOfType(getTypeFromTypeNode(typeNode2), symbol.escapedName); - if (annotationSymbol) { - return getNonMissingTypeOfSymbol(annotationSymbol); - } - } - } - } - return declaredType; - } - function getInitializerTypeFromAssignmentDeclaration(symbol, resolvedSymbol, expression, kind) { - if (isCallExpression(expression)) { - if (resolvedSymbol) { - return getTypeOfSymbol(resolvedSymbol); - } - const objectLitType = checkExpressionCached(expression.arguments[2]); - const valueType = getTypeOfPropertyOfType(objectLitType, "value"); - if (valueType) { - return valueType; - } - const getFunc = getTypeOfPropertyOfType(objectLitType, "get"); - if (getFunc) { - const getSig = getSingleCallSignature(getFunc); - if (getSig) { - return getReturnTypeOfSignature(getSig); - } - } - const setFunc = getTypeOfPropertyOfType(objectLitType, "set"); - if (setFunc) { - const setSig = getSingleCallSignature(setFunc); - if (setSig) { - return getTypeOfFirstParameterOfSignature(setSig); - } - } - return anyType; - } - if (containsSameNamedThisProperty(expression.left, expression.right)) { - return anyType; - } - const isDirectExport = kind === 1 /* ExportsProperty */ && (isPropertyAccessExpression(expression.left) || isElementAccessExpression(expression.left)) && (isModuleExportsAccessExpression(expression.left.expression) || isIdentifier(expression.left.expression) && isExportsIdentifier(expression.left.expression)); - const type = resolvedSymbol ? getTypeOfSymbol(resolvedSymbol) : isDirectExport ? getRegularTypeOfLiteralType(checkExpressionCached(expression.right)) : getWidenedLiteralType(checkExpressionCached(expression.right)); - if (type.flags & 524288 /* Object */ && kind === 2 /* ModuleExports */ && symbol.escapedName === "export=" /* ExportEquals */) { - const exportedType = resolveStructuredTypeMembers(type); - const members = createSymbolTable(); - copyEntries(exportedType.members, members); - const initialSize = members.size; - if (resolvedSymbol && !resolvedSymbol.exports) { - resolvedSymbol.exports = createSymbolTable(); - } - (resolvedSymbol || symbol).exports.forEach((s, name) => { - var _a; - const exportedMember = members.get(name); - if (exportedMember && exportedMember !== s && !(s.flags & 2097152 /* Alias */)) { - if (s.flags & 111551 /* Value */ && exportedMember.flags & 111551 /* Value */) { - if (s.valueDeclaration && exportedMember.valueDeclaration && getSourceFileOfNode(s.valueDeclaration) !== getSourceFileOfNode(exportedMember.valueDeclaration)) { - const unescapedName = unescapeLeadingUnderscores(s.escapedName); - const exportedMemberName = ((_a = tryCast(exportedMember.valueDeclaration, isNamedDeclaration)) == null ? void 0 : _a.name) || exportedMember.valueDeclaration; - addRelatedInfo( - error(s.valueDeclaration, Diagnostics.Duplicate_identifier_0, unescapedName), - createDiagnosticForNode(exportedMemberName, Diagnostics._0_was_also_declared_here, unescapedName) - ); - addRelatedInfo( - error(exportedMemberName, Diagnostics.Duplicate_identifier_0, unescapedName), - createDiagnosticForNode(s.valueDeclaration, Diagnostics._0_was_also_declared_here, unescapedName) - ); - } - const union = createSymbol(s.flags | exportedMember.flags, name); - union.links.type = getUnionType([getTypeOfSymbol(s), getTypeOfSymbol(exportedMember)]); - union.valueDeclaration = exportedMember.valueDeclaration; - union.declarations = concatenate(exportedMember.declarations, s.declarations); - members.set(name, union); - } else { - members.set(name, mergeSymbol(s, exportedMember)); - } - } else { - members.set(name, s); - } - }); - const result = createAnonymousType( - initialSize !== members.size ? void 0 : exportedType.symbol, - // Only set the type's symbol if it looks to be the same as the original type - members, - exportedType.callSignatures, - exportedType.constructSignatures, - exportedType.indexInfos - ); - if (initialSize === members.size) { - if (type.aliasSymbol) { - result.aliasSymbol = type.aliasSymbol; - result.aliasTypeArguments = type.aliasTypeArguments; - } - if (getObjectFlags(type) & 4 /* Reference */) { - result.aliasSymbol = type.symbol; - const args = getTypeArguments(type); - result.aliasTypeArguments = length(args) ? args : void 0; - } - } - result.objectFlags |= getPropagatingFlagsOfTypes([type]) | getObjectFlags(type) & (4096 /* JSLiteral */ | 16384 /* ArrayLiteral */ | 128 /* ObjectLiteral */); - if (result.symbol && result.symbol.flags & 32 /* Class */ && type === getDeclaredTypeOfClassOrInterface(result.symbol)) { - result.objectFlags |= 16777216 /* IsClassInstanceClone */; - } - return result; - } - if (isEmptyArrayLiteralType(type)) { - reportImplicitAny(expression, anyArrayType); - return anyArrayType; - } - return type; - } - function containsSameNamedThisProperty(thisProperty, expression) { - return isPropertyAccessExpression(thisProperty) && thisProperty.expression.kind === 110 /* ThisKeyword */ && forEachChildRecursively(expression, (n) => isMatchingReference(thisProperty, n)); - } - function isDeclarationInConstructor(expression) { - const thisContainer = getThisContainer( - expression, - /*includeArrowFunctions*/ - false, - /*includeClassComputedPropertyName*/ - false - ); - return thisContainer.kind === 176 /* Constructor */ || thisContainer.kind === 262 /* FunctionDeclaration */ || thisContainer.kind === 218 /* FunctionExpression */ && !isPrototypePropertyAssignment(thisContainer.parent); - } - function getConstructorDefinedThisAssignmentTypes(types, declarations) { - Debug.assert(types.length === declarations.length); - return types.filter((_, i) => { - const declaration = declarations[i]; - const expression = isBinaryExpression(declaration) ? declaration : isBinaryExpression(declaration.parent) ? declaration.parent : void 0; - return expression && isDeclarationInConstructor(expression); - }); - } - function getTypeFromBindingElement(element, includePatternInType, reportErrors2) { - if (element.initializer) { - const contextualType = isBindingPattern(element.name) ? getTypeFromBindingPattern( - element.name, - /*includePatternInType*/ - true, - /*reportErrors*/ - false - ) : unknownType; - return addOptionality(getWidenedLiteralTypeForInitializer(element, checkDeclarationInitializer(element, 0 /* Normal */, contextualType))); - } - if (isBindingPattern(element.name)) { - return getTypeFromBindingPattern(element.name, includePatternInType, reportErrors2); - } - if (reportErrors2 && !declarationBelongsToPrivateAmbientMember(element)) { - reportImplicitAny(element, anyType); - } - return includePatternInType ? nonInferrableAnyType : anyType; - } - function getTypeFromObjectBindingPattern(pattern, includePatternInType, reportErrors2) { - const members = createSymbolTable(); - let stringIndexInfo; - let objectFlags = 128 /* ObjectLiteral */ | 131072 /* ContainsObjectOrArrayLiteral */; - forEach(pattern.elements, (e) => { - const name = e.propertyName || e.name; - if (e.dotDotDotToken) { - stringIndexInfo = createIndexInfo( - stringType, - anyType, - /*isReadonly*/ - false - ); - return; - } - const exprType = getLiteralTypeFromPropertyName(name); - if (!isTypeUsableAsPropertyName(exprType)) { - objectFlags |= 512 /* ObjectLiteralPatternWithComputedProperties */; - return; - } - const text = getPropertyNameFromType(exprType); - const flags = 4 /* Property */ | (e.initializer ? 16777216 /* Optional */ : 0); - const symbol = createSymbol(flags, text); - symbol.links.type = getTypeFromBindingElement(e, includePatternInType, reportErrors2); - symbol.links.bindingElement = e; - members.set(symbol.escapedName, symbol); - }); - const result = createAnonymousType( - /*symbol*/ - void 0, - members, - emptyArray, - emptyArray, - stringIndexInfo ? [stringIndexInfo] : emptyArray - ); - result.objectFlags |= objectFlags; - if (includePatternInType) { - result.pattern = pattern; - result.objectFlags |= 131072 /* ContainsObjectOrArrayLiteral */; - } - return result; - } - function getTypeFromArrayBindingPattern(pattern, includePatternInType, reportErrors2) { - const elements = pattern.elements; - const lastElement = lastOrUndefined(elements); - const restElement = lastElement && lastElement.kind === 208 /* BindingElement */ && lastElement.dotDotDotToken ? lastElement : void 0; - if (elements.length === 0 || elements.length === 1 && restElement) { - return languageVersion >= 2 /* ES2015 */ ? createIterableType(anyType) : anyArrayType; - } - const elementTypes = map(elements, (e) => isOmittedExpression(e) ? anyType : getTypeFromBindingElement(e, includePatternInType, reportErrors2)); - const minLength = findLastIndex(elements, (e) => !(e === restElement || isOmittedExpression(e) || hasDefaultValue(e)), elements.length - 1) + 1; - const elementFlags = map(elements, (e, i) => e === restElement ? 4 /* Rest */ : i >= minLength ? 2 /* Optional */ : 1 /* Required */); - let result = createTupleType(elementTypes, elementFlags); - if (includePatternInType) { - result = cloneTypeReference(result); - result.pattern = pattern; - result.objectFlags |= 131072 /* ContainsObjectOrArrayLiteral */; - } - return result; - } - function getTypeFromBindingPattern(pattern, includePatternInType = false, reportErrors2 = false) { - if (includePatternInType) contextualBindingPatterns.push(pattern); - const result = pattern.kind === 206 /* ObjectBindingPattern */ ? getTypeFromObjectBindingPattern(pattern, includePatternInType, reportErrors2) : getTypeFromArrayBindingPattern(pattern, includePatternInType, reportErrors2); - if (includePatternInType) contextualBindingPatterns.pop(); - return result; - } - function getWidenedTypeForVariableLikeDeclaration(declaration, reportErrors2) { - return widenTypeForVariableLikeDeclaration(getTypeForVariableLikeDeclaration( - declaration, - /*includeOptionality*/ - true, - 0 /* Normal */ - ), declaration, reportErrors2); - } - function getTypeFromImportAttributes(node) { - const links = getNodeLinks(node); - if (!links.resolvedType) { - const symbol = createSymbol(4096 /* ObjectLiteral */, "__importAttributes" /* ImportAttributes */); - const members = createSymbolTable(); - forEach(node.elements, (attr) => { - const member = createSymbol(4 /* Property */, getNameFromImportAttribute(attr)); - member.parent = symbol; - member.links.type = checkImportAttribute(attr); - member.links.target = member; - members.set(member.escapedName, member); - }); - const type = createAnonymousType(symbol, members, emptyArray, emptyArray, emptyArray); - type.objectFlags |= 128 /* ObjectLiteral */ | 262144 /* NonInferrableType */; - links.resolvedType = type; - } - return links.resolvedType; - } - function isGlobalSymbolConstructor(node) { - const symbol = getSymbolOfNode(node); - const globalSymbol = getGlobalESSymbolConstructorTypeSymbol( - /*reportErrors*/ - false - ); - return globalSymbol && symbol && symbol === globalSymbol; - } - function widenTypeForVariableLikeDeclaration(type, declaration, reportErrors2) { - if (type) { - if (type.flags & 4096 /* ESSymbol */ && isGlobalSymbolConstructor(declaration.parent)) { - type = getESSymbolLikeTypeForNode(declaration); - } - if (reportErrors2) { - reportErrorsFromWidening(declaration, type); - } - if (type.flags & 8192 /* UniqueESSymbol */ && (isBindingElement(declaration) || !declaration.type) && type.symbol !== getSymbolOfDeclaration(declaration)) { - type = esSymbolType; - } - return getWidenedType(type); - } - type = isParameter(declaration) && declaration.dotDotDotToken ? anyArrayType : anyType; - if (reportErrors2) { - if (!declarationBelongsToPrivateAmbientMember(declaration)) { - reportImplicitAny(declaration, type); - } - } - return type; - } - function declarationBelongsToPrivateAmbientMember(declaration) { - const root = getRootDeclaration(declaration); - const memberDeclaration = root.kind === 169 /* Parameter */ ? root.parent : root; - return isPrivateWithinAmbient(memberDeclaration); - } - function tryGetTypeFromEffectiveTypeNode(node) { - const typeNode = getEffectiveTypeAnnotationNode(node); - if (typeNode) { - return getTypeFromTypeNode(typeNode); - } - } - function isParameterOfContextSensitiveSignature(symbol) { - let decl = symbol.valueDeclaration; - if (!decl) { - return false; - } - if (isBindingElement(decl)) { - decl = walkUpBindingElementsAndPatterns(decl); - } - if (isParameter(decl)) { - return isContextSensitiveFunctionOrObjectLiteralMethod(decl.parent); - } - return false; - } - function getTypeOfVariableOrParameterOrProperty(symbol) { - const links = getSymbolLinks(symbol); - if (!links.type) { - const type = getTypeOfVariableOrParameterOrPropertyWorker(symbol); - if (!links.type && !isParameterOfContextSensitiveSignature(symbol)) { - links.type = type; - } - return type; - } - return links.type; - } - function getTypeOfVariableOrParameterOrPropertyWorker(symbol) { - if (symbol.flags & 4194304 /* Prototype */) { - return getTypeOfPrototypeProperty(symbol); - } - if (symbol === requireSymbol) { - return anyType; - } - if (symbol.flags & 134217728 /* ModuleExports */ && symbol.valueDeclaration) { - const fileSymbol = getSymbolOfDeclaration(getSourceFileOfNode(symbol.valueDeclaration)); - const result = createSymbol(fileSymbol.flags, "exports"); - result.declarations = fileSymbol.declarations ? fileSymbol.declarations.slice() : []; - result.parent = symbol; - result.links.target = fileSymbol; - if (fileSymbol.valueDeclaration) result.valueDeclaration = fileSymbol.valueDeclaration; - if (fileSymbol.members) result.members = new Map(fileSymbol.members); - if (fileSymbol.exports) result.exports = new Map(fileSymbol.exports); - const members = createSymbolTable(); - members.set("exports", result); - return createAnonymousType(symbol, members, emptyArray, emptyArray, emptyArray); - } - Debug.assertIsDefined(symbol.valueDeclaration); - const declaration = symbol.valueDeclaration; - if (isSourceFile(declaration) && isJsonSourceFile(declaration)) { - if (!declaration.statements.length) { - return emptyObjectType; - } - return getWidenedType(getWidenedLiteralType(checkExpression(declaration.statements[0].expression))); - } - if (isAccessor(declaration)) { - return getTypeOfAccessors(symbol); - } - if (!pushTypeResolution(symbol, 0 /* Type */)) { - if (symbol.flags & 512 /* ValueModule */ && !(symbol.flags & 67108864 /* Assignment */)) { - return getTypeOfFuncClassEnumModule(symbol); - } - return reportCircularityError(symbol); - } - let type; - if (declaration.kind === 277 /* ExportAssignment */) { - type = widenTypeForVariableLikeDeclaration(tryGetTypeFromEffectiveTypeNode(declaration) || checkExpressionCached(declaration.expression), declaration); - } else if (isBinaryExpression(declaration) || isInJSFile(declaration) && (isCallExpression(declaration) || (isPropertyAccessExpression(declaration) || isBindableStaticElementAccessExpression(declaration)) && isBinaryExpression(declaration.parent))) { - type = getWidenedTypeForAssignmentDeclaration(symbol); - } else if (isPropertyAccessExpression(declaration) || isElementAccessExpression(declaration) || isIdentifier(declaration) || isStringLiteralLike(declaration) || isNumericLiteral(declaration) || isClassDeclaration(declaration) || isFunctionDeclaration(declaration) || isMethodDeclaration(declaration) && !isObjectLiteralMethod(declaration) || isMethodSignature(declaration) || isSourceFile(declaration)) { - if (symbol.flags & (16 /* Function */ | 8192 /* Method */ | 32 /* Class */ | 384 /* Enum */ | 512 /* ValueModule */)) { - return getTypeOfFuncClassEnumModule(symbol); - } - type = isBinaryExpression(declaration.parent) ? getWidenedTypeForAssignmentDeclaration(symbol) : tryGetTypeFromEffectiveTypeNode(declaration) || anyType; - } else if (isPropertyAssignment(declaration)) { - type = tryGetTypeFromEffectiveTypeNode(declaration) || checkPropertyAssignment(declaration); - } else if (isJsxAttribute(declaration)) { - type = tryGetTypeFromEffectiveTypeNode(declaration) || checkJsxAttribute(declaration); - } else if (isShorthandPropertyAssignment(declaration)) { - type = tryGetTypeFromEffectiveTypeNode(declaration) || checkExpressionForMutableLocation(declaration.name, 0 /* Normal */); - } else if (isObjectLiteralMethod(declaration)) { - type = tryGetTypeFromEffectiveTypeNode(declaration) || checkObjectLiteralMethod(declaration, 0 /* Normal */); - } else if (isParameter(declaration) || isPropertyDeclaration(declaration) || isPropertySignature(declaration) || isVariableDeclaration(declaration) || isBindingElement(declaration) || isJSDocPropertyLikeTag(declaration)) { - type = getWidenedTypeForVariableLikeDeclaration( - declaration, - /*reportErrors*/ - true - ); - } else if (isEnumDeclaration(declaration)) { - type = getTypeOfFuncClassEnumModule(symbol); - } else if (isEnumMember(declaration)) { - type = getTypeOfEnumMember(symbol); - } else { - return Debug.fail("Unhandled declaration kind! " + Debug.formatSyntaxKind(declaration.kind) + " for " + Debug.formatSymbol(symbol)); - } - if (!popTypeResolution()) { - if (symbol.flags & 512 /* ValueModule */ && !(symbol.flags & 67108864 /* Assignment */)) { - return getTypeOfFuncClassEnumModule(symbol); - } - return reportCircularityError(symbol); - } - return type; - } - function getAnnotatedAccessorTypeNode(accessor) { - if (accessor) { - switch (accessor.kind) { - case 177 /* GetAccessor */: - const getterTypeAnnotation = getEffectiveReturnTypeNode(accessor); - return getterTypeAnnotation; - case 178 /* SetAccessor */: - const setterTypeAnnotation = getEffectiveSetAccessorTypeAnnotationNode(accessor); - return setterTypeAnnotation; - case 172 /* PropertyDeclaration */: - Debug.assert(hasAccessorModifier(accessor)); - const accessorTypeAnnotation = getEffectiveTypeAnnotationNode(accessor); - return accessorTypeAnnotation; - } - } - return void 0; - } - function getAnnotatedAccessorType(accessor) { - const node = getAnnotatedAccessorTypeNode(accessor); - return node && getTypeFromTypeNode(node); - } - function getAnnotatedAccessorThisParameter(accessor) { - const parameter = getAccessorThisParameter(accessor); - return parameter && parameter.symbol; - } - function getThisTypeOfDeclaration(declaration) { - return getThisTypeOfSignature(getSignatureFromDeclaration(declaration)); - } - function getTypeOfAccessors(symbol) { - const links = getSymbolLinks(symbol); - if (!links.type) { - if (!pushTypeResolution(symbol, 0 /* Type */)) { - return errorType; - } - const getter = getDeclarationOfKind(symbol, 177 /* GetAccessor */); - const setter = getDeclarationOfKind(symbol, 178 /* SetAccessor */); - const accessor = tryCast(getDeclarationOfKind(symbol, 172 /* PropertyDeclaration */), isAutoAccessorPropertyDeclaration); - let type = getter && isInJSFile(getter) && getTypeForDeclarationFromJSDocComment(getter) || getAnnotatedAccessorType(getter) || getAnnotatedAccessorType(setter) || getAnnotatedAccessorType(accessor) || getter && getter.body && getReturnTypeFromBody(getter) || accessor && accessor.initializer && getWidenedTypeForVariableLikeDeclaration( - accessor, - /*reportErrors*/ - true - ); - if (!type) { - if (setter && !isPrivateWithinAmbient(setter)) { - errorOrSuggestion(noImplicitAny, setter, Diagnostics.Property_0_implicitly_has_type_any_because_its_set_accessor_lacks_a_parameter_type_annotation, symbolToString(symbol)); - } else if (getter && !isPrivateWithinAmbient(getter)) { - errorOrSuggestion(noImplicitAny, getter, Diagnostics.Property_0_implicitly_has_type_any_because_its_get_accessor_lacks_a_return_type_annotation, symbolToString(symbol)); - } else if (accessor && !isPrivateWithinAmbient(accessor)) { - errorOrSuggestion(noImplicitAny, accessor, Diagnostics.Member_0_implicitly_has_an_1_type, symbolToString(symbol), "any"); - } - type = anyType; - } - if (!popTypeResolution()) { - if (getAnnotatedAccessorTypeNode(getter)) { - error(getter, Diagnostics._0_is_referenced_directly_or_indirectly_in_its_own_type_annotation, symbolToString(symbol)); - } else if (getAnnotatedAccessorTypeNode(setter)) { - error(setter, Diagnostics._0_is_referenced_directly_or_indirectly_in_its_own_type_annotation, symbolToString(symbol)); - } else if (getAnnotatedAccessorTypeNode(accessor)) { - error(setter, Diagnostics._0_is_referenced_directly_or_indirectly_in_its_own_type_annotation, symbolToString(symbol)); - } else if (getter && noImplicitAny) { - error(getter, Diagnostics._0_implicitly_has_return_type_any_because_it_does_not_have_a_return_type_annotation_and_is_referenced_directly_or_indirectly_in_one_of_its_return_expressions, symbolToString(symbol)); - } - type = anyType; - } - links.type ?? (links.type = type); - } - return links.type; - } - function getWriteTypeOfAccessors(symbol) { - const links = getSymbolLinks(symbol); - if (!links.writeType) { - if (!pushTypeResolution(symbol, 7 /* WriteType */)) { - return errorType; - } - const setter = getDeclarationOfKind(symbol, 178 /* SetAccessor */) ?? tryCast(getDeclarationOfKind(symbol, 172 /* PropertyDeclaration */), isAutoAccessorPropertyDeclaration); - let writeType = getAnnotatedAccessorType(setter); - if (!popTypeResolution()) { - if (getAnnotatedAccessorTypeNode(setter)) { - error(setter, Diagnostics._0_is_referenced_directly_or_indirectly_in_its_own_type_annotation, symbolToString(symbol)); - } - writeType = anyType; - } - links.writeType ?? (links.writeType = writeType || getTypeOfAccessors(symbol)); - } - return links.writeType; - } - function getBaseTypeVariableOfClass(symbol) { - const baseConstructorType = getBaseConstructorTypeOfClass(getDeclaredTypeOfClassOrInterface(symbol)); - return baseConstructorType.flags & 8650752 /* TypeVariable */ ? baseConstructorType : baseConstructorType.flags & 2097152 /* Intersection */ ? find(baseConstructorType.types, (t) => !!(t.flags & 8650752 /* TypeVariable */)) : void 0; - } - function getTypeOfFuncClassEnumModule(symbol) { - let links = getSymbolLinks(symbol); - const originalLinks = links; - if (!links.type) { - const expando = symbol.valueDeclaration && getSymbolOfExpando( - symbol.valueDeclaration, - /*allowDeclaration*/ - false - ); - if (expando) { - const merged = mergeJSSymbols(symbol, expando); - if (merged) { - symbol = merged; - links = merged.links; - } - } - originalLinks.type = links.type = getTypeOfFuncClassEnumModuleWorker(symbol); - } - return links.type; - } - function getTypeOfFuncClassEnumModuleWorker(symbol) { - const declaration = symbol.valueDeclaration; - if (symbol.flags & 1536 /* Module */ && isShorthandAmbientModuleSymbol(symbol)) { - return anyType; - } else if (declaration && (declaration.kind === 226 /* BinaryExpression */ || isAccessExpression(declaration) && declaration.parent.kind === 226 /* BinaryExpression */)) { - return getWidenedTypeForAssignmentDeclaration(symbol); - } else if (symbol.flags & 512 /* ValueModule */ && declaration && isSourceFile(declaration) && declaration.commonJsModuleIndicator) { - const resolvedModule = resolveExternalModuleSymbol(symbol); - if (resolvedModule !== symbol) { - if (!pushTypeResolution(symbol, 0 /* Type */)) { - return errorType; - } - const exportEquals = getMergedSymbol(symbol.exports.get("export=" /* ExportEquals */)); - const type2 = getWidenedTypeForAssignmentDeclaration(exportEquals, exportEquals === resolvedModule ? void 0 : resolvedModule); - if (!popTypeResolution()) { - return reportCircularityError(symbol); - } - return type2; - } - } - const type = createObjectType(16 /* Anonymous */, symbol); - if (symbol.flags & 32 /* Class */) { - const baseTypeVariable = getBaseTypeVariableOfClass(symbol); - return baseTypeVariable ? getIntersectionType([type, baseTypeVariable]) : type; - } else { - return strictNullChecks && symbol.flags & 16777216 /* Optional */ ? getOptionalType( - type, - /*isProperty*/ - true - ) : type; - } - } - function getTypeOfEnumMember(symbol) { - const links = getSymbolLinks(symbol); - return links.type || (links.type = getDeclaredTypeOfEnumMember(symbol)); - } - function getTypeOfAlias(symbol) { - const links = getSymbolLinks(symbol); - if (!links.type) { - if (!pushTypeResolution(symbol, 0 /* Type */)) { - return errorType; - } - const targetSymbol = resolveAlias(symbol); - const exportSymbol = symbol.declarations && getTargetOfAliasDeclaration( - getDeclarationOfAliasSymbol(symbol), - /*dontRecursivelyResolve*/ - true - ); - const declaredType = firstDefined(exportSymbol == null ? void 0 : exportSymbol.declarations, (d) => isExportAssignment(d) ? tryGetTypeFromEffectiveTypeNode(d) : void 0); - links.type ?? (links.type = (exportSymbol == null ? void 0 : exportSymbol.declarations) && isDuplicatedCommonJSExport(exportSymbol.declarations) && symbol.declarations.length ? getFlowTypeFromCommonJSExport(exportSymbol) : isDuplicatedCommonJSExport(symbol.declarations) ? autoType : declaredType ? declaredType : getSymbolFlags(targetSymbol) & 111551 /* Value */ ? getTypeOfSymbol(targetSymbol) : errorType); - if (!popTypeResolution()) { - reportCircularityError(exportSymbol ?? symbol); - return links.type ?? (links.type = errorType); - } - } - return links.type; - } - function getTypeOfInstantiatedSymbol(symbol) { - const links = getSymbolLinks(symbol); - return links.type || (links.type = instantiateType(getTypeOfSymbol(links.target), links.mapper)); - } - function getWriteTypeOfInstantiatedSymbol(symbol) { - const links = getSymbolLinks(symbol); - return links.writeType || (links.writeType = instantiateType(getWriteTypeOfSymbol(links.target), links.mapper)); - } - function reportCircularityError(symbol) { - const declaration = symbol.valueDeclaration; - if (declaration) { - if (getEffectiveTypeAnnotationNode(declaration)) { - error(symbol.valueDeclaration, Diagnostics._0_is_referenced_directly_or_indirectly_in_its_own_type_annotation, symbolToString(symbol)); - return errorType; - } - if (noImplicitAny && (declaration.kind !== 169 /* Parameter */ || declaration.initializer)) { - error(symbol.valueDeclaration, Diagnostics._0_implicitly_has_type_any_because_it_does_not_have_a_type_annotation_and_is_referenced_directly_or_indirectly_in_its_own_initializer, symbolToString(symbol)); - } - } else if (symbol.flags & 2097152 /* Alias */) { - const node = getDeclarationOfAliasSymbol(symbol); - if (node) { - error(node, Diagnostics.Circular_definition_of_import_alias_0, symbolToString(symbol)); - } - } - return anyType; - } - function getTypeOfSymbolWithDeferredType(symbol) { - const links = getSymbolLinks(symbol); - if (!links.type) { - Debug.assertIsDefined(links.deferralParent); - Debug.assertIsDefined(links.deferralConstituents); - links.type = links.deferralParent.flags & 1048576 /* Union */ ? getUnionType(links.deferralConstituents) : getIntersectionType(links.deferralConstituents); - } - return links.type; - } - function getWriteTypeOfSymbolWithDeferredType(symbol) { - const links = getSymbolLinks(symbol); - if (!links.writeType && links.deferralWriteConstituents) { - Debug.assertIsDefined(links.deferralParent); - Debug.assertIsDefined(links.deferralConstituents); - links.writeType = links.deferralParent.flags & 1048576 /* Union */ ? getUnionType(links.deferralWriteConstituents) : getIntersectionType(links.deferralWriteConstituents); - } - return links.writeType; - } - function getWriteTypeOfSymbol(symbol) { - const checkFlags = getCheckFlags(symbol); - if (symbol.flags & 4 /* Property */) { - return checkFlags & 2 /* SyntheticProperty */ ? checkFlags & 65536 /* DeferredType */ ? getWriteTypeOfSymbolWithDeferredType(symbol) || getTypeOfSymbolWithDeferredType(symbol) : ( - // NOTE: cast to TransientSymbol should be safe because only TransientSymbols can have CheckFlags.SyntheticProperty - symbol.links.writeType || symbol.links.type - ) : removeMissingType(getTypeOfSymbol(symbol), !!(symbol.flags & 16777216 /* Optional */)); - } - if (symbol.flags & 98304 /* Accessor */) { - return checkFlags & 1 /* Instantiated */ ? getWriteTypeOfInstantiatedSymbol(symbol) : getWriteTypeOfAccessors(symbol); - } - return getTypeOfSymbol(symbol); - } - function getTypeOfSymbol(symbol) { - const checkFlags = getCheckFlags(symbol); - if (checkFlags & 65536 /* DeferredType */) { - return getTypeOfSymbolWithDeferredType(symbol); - } - if (checkFlags & 1 /* Instantiated */) { - return getTypeOfInstantiatedSymbol(symbol); - } - if (checkFlags & 262144 /* Mapped */) { - return getTypeOfMappedSymbol(symbol); - } - if (checkFlags & 8192 /* ReverseMapped */) { - return getTypeOfReverseMappedSymbol(symbol); - } - if (symbol.flags & (3 /* Variable */ | 4 /* Property */)) { - return getTypeOfVariableOrParameterOrProperty(symbol); - } - if (symbol.flags & (16 /* Function */ | 8192 /* Method */ | 32 /* Class */ | 384 /* Enum */ | 512 /* ValueModule */)) { - return getTypeOfFuncClassEnumModule(symbol); - } - if (symbol.flags & 8 /* EnumMember */) { - return getTypeOfEnumMember(symbol); - } - if (symbol.flags & 98304 /* Accessor */) { - return getTypeOfAccessors(symbol); - } - if (symbol.flags & 2097152 /* Alias */) { - return getTypeOfAlias(symbol); - } - return errorType; - } - function getNonMissingTypeOfSymbol(symbol) { - return removeMissingType(getTypeOfSymbol(symbol), !!(symbol.flags & 16777216 /* Optional */)); - } - function isReferenceToSomeType(type, targets) { - if (type === void 0 || (getObjectFlags(type) & 4 /* Reference */) === 0) { - return false; - } - for (const target of targets) { - if (type.target === target) { - return true; - } - } - return false; - } - function isReferenceToType(type, target) { - return type !== void 0 && target !== void 0 && (getObjectFlags(type) & 4 /* Reference */) !== 0 && type.target === target; - } - function getTargetType(type) { - return getObjectFlags(type) & 4 /* Reference */ ? type.target : type; - } - function hasBaseType(type, checkBase) { - return check(type); - function check(type2) { - if (getObjectFlags(type2) & (3 /* ClassOrInterface */ | 4 /* Reference */)) { - const target = getTargetType(type2); - return target === checkBase || some(getBaseTypes(target), check); - } else if (type2.flags & 2097152 /* Intersection */) { - return some(type2.types, check); - } - return false; - } - } - function appendTypeParameters(typeParameters, declarations) { - for (const declaration of declarations) { - typeParameters = appendIfUnique(typeParameters, getDeclaredTypeOfTypeParameter(getSymbolOfDeclaration(declaration))); - } - return typeParameters; - } - function getOuterTypeParameters(node, includeThisTypes) { - while (true) { - node = node.parent; - if (node && isBinaryExpression(node)) { - const assignmentKind = getAssignmentDeclarationKind(node); - if (assignmentKind === 6 /* Prototype */ || assignmentKind === 3 /* PrototypeProperty */) { - const symbol = getSymbolOfDeclaration(node.left); - if (symbol && symbol.parent && !findAncestor(symbol.parent.valueDeclaration, (d) => node === d)) { - node = symbol.parent.valueDeclaration; - } - } - } - if (!node) { - return void 0; - } - const kind = node.kind; - switch (kind) { - case 263 /* ClassDeclaration */: - case 231 /* ClassExpression */: - case 264 /* InterfaceDeclaration */: - case 179 /* CallSignature */: - case 180 /* ConstructSignature */: - case 173 /* MethodSignature */: - case 184 /* FunctionType */: - case 185 /* ConstructorType */: - case 317 /* JSDocFunctionType */: - case 262 /* FunctionDeclaration */: - case 174 /* MethodDeclaration */: - case 218 /* FunctionExpression */: - case 219 /* ArrowFunction */: - case 265 /* TypeAliasDeclaration */: - case 345 /* JSDocTemplateTag */: - case 346 /* JSDocTypedefTag */: - case 340 /* JSDocEnumTag */: - case 338 /* JSDocCallbackTag */: - case 200 /* MappedType */: - case 194 /* ConditionalType */: { - const outerTypeParameters = getOuterTypeParameters(node, includeThisTypes); - if ((kind === 218 /* FunctionExpression */ || kind === 219 /* ArrowFunction */ || isObjectLiteralMethod(node)) && isContextSensitive(node)) { - const signature = firstOrUndefined(getSignaturesOfType(getTypeOfSymbol(getSymbolOfDeclaration(node)), 0 /* Call */)); - if (signature && signature.typeParameters) { - return [...outerTypeParameters || emptyArray, ...signature.typeParameters]; - } - } - if (kind === 200 /* MappedType */) { - return append(outerTypeParameters, getDeclaredTypeOfTypeParameter(getSymbolOfDeclaration(node.typeParameter))); - } else if (kind === 194 /* ConditionalType */) { - return concatenate(outerTypeParameters, getInferTypeParameters(node)); - } - const outerAndOwnTypeParameters = appendTypeParameters(outerTypeParameters, getEffectiveTypeParameterDeclarations(node)); - const thisType = includeThisTypes && (kind === 263 /* ClassDeclaration */ || kind === 231 /* ClassExpression */ || kind === 264 /* InterfaceDeclaration */ || isJSConstructor(node)) && getDeclaredTypeOfClassOrInterface(getSymbolOfDeclaration(node)).thisType; - return thisType ? append(outerAndOwnTypeParameters, thisType) : outerAndOwnTypeParameters; - } - case 341 /* JSDocParameterTag */: - const paramSymbol = getParameterSymbolFromJSDoc(node); - if (paramSymbol) { - node = paramSymbol.valueDeclaration; - } - break; - case 320 /* JSDoc */: { - const outerTypeParameters = getOuterTypeParameters(node, includeThisTypes); - return node.tags ? appendTypeParameters(outerTypeParameters, flatMap(node.tags, (t) => isJSDocTemplateTag(t) ? t.typeParameters : void 0)) : outerTypeParameters; - } - } - } - } - function getOuterTypeParametersOfClassOrInterface(symbol) { - var _a; - const declaration = symbol.flags & 32 /* Class */ || symbol.flags & 16 /* Function */ ? symbol.valueDeclaration : (_a = symbol.declarations) == null ? void 0 : _a.find((decl) => { - if (decl.kind === 264 /* InterfaceDeclaration */) { - return true; - } - if (decl.kind !== 260 /* VariableDeclaration */) { - return false; - } - const initializer = decl.initializer; - return !!initializer && (initializer.kind === 218 /* FunctionExpression */ || initializer.kind === 219 /* ArrowFunction */); - }); - Debug.assert(!!declaration, "Class was missing valueDeclaration -OR- non-class had no interface declarations"); - return getOuterTypeParameters(declaration); - } - function getLocalTypeParametersOfClassOrInterfaceOrTypeAlias(symbol) { - if (!symbol.declarations) { - return; - } - let result; - for (const node of symbol.declarations) { - if (node.kind === 264 /* InterfaceDeclaration */ || node.kind === 263 /* ClassDeclaration */ || node.kind === 231 /* ClassExpression */ || isJSConstructor(node) || isTypeAlias(node)) { - const declaration = node; - result = appendTypeParameters(result, getEffectiveTypeParameterDeclarations(declaration)); - } - } - return result; - } - function getTypeParametersOfClassOrInterface(symbol) { - return concatenate(getOuterTypeParametersOfClassOrInterface(symbol), getLocalTypeParametersOfClassOrInterfaceOrTypeAlias(symbol)); - } - function isMixinConstructorType(type) { - const signatures = getSignaturesOfType(type, 1 /* Construct */); - if (signatures.length === 1) { - const s = signatures[0]; - if (!s.typeParameters && s.parameters.length === 1 && signatureHasRestParameter(s)) { - const paramType = getTypeOfParameter(s.parameters[0]); - return isTypeAny(paramType) || getElementTypeOfArrayType(paramType) === anyType; - } - } - return false; - } - function isConstructorType(type) { - if (getSignaturesOfType(type, 1 /* Construct */).length > 0) { - return true; - } - if (type.flags & 8650752 /* TypeVariable */) { - const constraint = getBaseConstraintOfType(type); - return !!constraint && isMixinConstructorType(constraint); - } - return false; - } - function getBaseTypeNodeOfClass(type) { - const decl = getClassLikeDeclarationOfSymbol(type.symbol); - return decl && getEffectiveBaseTypeNode(decl); - } - function getConstructorsForTypeArguments(type, typeArgumentNodes, location) { - const typeArgCount = length(typeArgumentNodes); - const isJavascript = isInJSFile(location); - return filter(getSignaturesOfType(type, 1 /* Construct */), (sig) => (isJavascript || typeArgCount >= getMinTypeArgumentCount(sig.typeParameters)) && typeArgCount <= length(sig.typeParameters)); - } - function getInstantiatedConstructorsForTypeArguments(type, typeArgumentNodes, location) { - const signatures = getConstructorsForTypeArguments(type, typeArgumentNodes, location); - const typeArguments = map(typeArgumentNodes, getTypeFromTypeNode); - return sameMap(signatures, (sig) => some(sig.typeParameters) ? getSignatureInstantiation(sig, typeArguments, isInJSFile(location)) : sig); - } - function getBaseConstructorTypeOfClass(type) { - if (!type.resolvedBaseConstructorType) { - const decl = getClassLikeDeclarationOfSymbol(type.symbol); - const extended = decl && getEffectiveBaseTypeNode(decl); - const baseTypeNode = getBaseTypeNodeOfClass(type); - if (!baseTypeNode) { - return type.resolvedBaseConstructorType = undefinedType; - } - if (!pushTypeResolution(type, 1 /* ResolvedBaseConstructorType */)) { - return errorType; - } - const baseConstructorType = checkExpression(baseTypeNode.expression); - if (extended && baseTypeNode !== extended) { - Debug.assert(!extended.typeArguments); - checkExpression(extended.expression); - } - if (baseConstructorType.flags & (524288 /* Object */ | 2097152 /* Intersection */)) { - resolveStructuredTypeMembers(baseConstructorType); - } - if (!popTypeResolution()) { - error(type.symbol.valueDeclaration, Diagnostics._0_is_referenced_directly_or_indirectly_in_its_own_base_expression, symbolToString(type.symbol)); - return type.resolvedBaseConstructorType ?? (type.resolvedBaseConstructorType = errorType); - } - if (!(baseConstructorType.flags & 1 /* Any */) && baseConstructorType !== nullWideningType && !isConstructorType(baseConstructorType)) { - const err = error(baseTypeNode.expression, Diagnostics.Type_0_is_not_a_constructor_function_type, typeToString(baseConstructorType)); - if (baseConstructorType.flags & 262144 /* TypeParameter */) { - const constraint = getConstraintFromTypeParameter(baseConstructorType); - let ctorReturn = unknownType; - if (constraint) { - const ctorSig = getSignaturesOfType(constraint, 1 /* Construct */); - if (ctorSig[0]) { - ctorReturn = getReturnTypeOfSignature(ctorSig[0]); - } - } - if (baseConstructorType.symbol.declarations) { - addRelatedInfo(err, createDiagnosticForNode(baseConstructorType.symbol.declarations[0], Diagnostics.Did_you_mean_for_0_to_be_constrained_to_type_new_args_Colon_any_1, symbolToString(baseConstructorType.symbol), typeToString(ctorReturn))); - } - } - return type.resolvedBaseConstructorType ?? (type.resolvedBaseConstructorType = errorType); - } - type.resolvedBaseConstructorType ?? (type.resolvedBaseConstructorType = baseConstructorType); - } - return type.resolvedBaseConstructorType; - } - function getImplementsTypes(type) { - let resolvedImplementsTypes = emptyArray; - if (type.symbol.declarations) { - for (const declaration of type.symbol.declarations) { - const implementsTypeNodes = getEffectiveImplementsTypeNodes(declaration); - if (!implementsTypeNodes) continue; - for (const node of implementsTypeNodes) { - const implementsType = getTypeFromTypeNode(node); - if (!isErrorType(implementsType)) { - if (resolvedImplementsTypes === emptyArray) { - resolvedImplementsTypes = [implementsType]; - } else { - resolvedImplementsTypes.push(implementsType); - } - } - } - } - } - return resolvedImplementsTypes; - } - function reportCircularBaseType(node, type) { - error(node, Diagnostics.Type_0_recursively_references_itself_as_a_base_type, typeToString( - type, - /*enclosingDeclaration*/ - void 0, - 2 /* WriteArrayAsGenericType */ - )); - } - function getBaseTypes(type) { - if (!type.baseTypesResolved) { - if (pushTypeResolution(type, 6 /* ResolvedBaseTypes */)) { - if (type.objectFlags & 8 /* Tuple */) { - type.resolvedBaseTypes = [getTupleBaseType(type)]; - } else if (type.symbol.flags & (32 /* Class */ | 64 /* Interface */)) { - if (type.symbol.flags & 32 /* Class */) { - resolveBaseTypesOfClass(type); - } - if (type.symbol.flags & 64 /* Interface */) { - resolveBaseTypesOfInterface(type); - } - } else { - Debug.fail("type must be class or interface"); - } - if (!popTypeResolution() && type.symbol.declarations) { - for (const declaration of type.symbol.declarations) { - if (declaration.kind === 263 /* ClassDeclaration */ || declaration.kind === 264 /* InterfaceDeclaration */) { - reportCircularBaseType(declaration, type); - } - } - } - } - type.baseTypesResolved = true; - } - return type.resolvedBaseTypes; - } - function getTupleBaseType(type) { - const elementTypes = sameMap(type.typeParameters, (t, i) => type.elementFlags[i] & 8 /* Variadic */ ? getIndexedAccessType(t, numberType) : t); - return createArrayType(getUnionType(elementTypes || emptyArray), type.readonly); - } - function resolveBaseTypesOfClass(type) { - type.resolvedBaseTypes = resolvingEmptyArray; - const baseConstructorType = getApparentType(getBaseConstructorTypeOfClass(type)); - if (!(baseConstructorType.flags & (524288 /* Object */ | 2097152 /* Intersection */ | 1 /* Any */))) { - return type.resolvedBaseTypes = emptyArray; - } - const baseTypeNode = getBaseTypeNodeOfClass(type); - let baseType; - const originalBaseType = baseConstructorType.symbol ? getDeclaredTypeOfSymbol(baseConstructorType.symbol) : void 0; - if (baseConstructorType.symbol && baseConstructorType.symbol.flags & 32 /* Class */ && areAllOuterTypeParametersApplied(originalBaseType)) { - baseType = getTypeFromClassOrInterfaceReference(baseTypeNode, baseConstructorType.symbol); - } else if (baseConstructorType.flags & 1 /* Any */) { - baseType = baseConstructorType; - } else { - const constructors = getInstantiatedConstructorsForTypeArguments(baseConstructorType, baseTypeNode.typeArguments, baseTypeNode); - if (!constructors.length) { - error(baseTypeNode.expression, Diagnostics.No_base_constructor_has_the_specified_number_of_type_arguments); - return type.resolvedBaseTypes = emptyArray; - } - baseType = getReturnTypeOfSignature(constructors[0]); - } - if (isErrorType(baseType)) { - return type.resolvedBaseTypes = emptyArray; - } - const reducedBaseType = getReducedType(baseType); - if (!isValidBaseType(reducedBaseType)) { - const elaboration = elaborateNeverIntersection( - /*errorInfo*/ - void 0, - baseType - ); - const diagnostic = chainDiagnosticMessages(elaboration, Diagnostics.Base_constructor_return_type_0_is_not_an_object_type_or_intersection_of_object_types_with_statically_known_members, typeToString(reducedBaseType)); - diagnostics.add(createDiagnosticForNodeFromMessageChain(getSourceFileOfNode(baseTypeNode.expression), baseTypeNode.expression, diagnostic)); - return type.resolvedBaseTypes = emptyArray; - } - if (type === reducedBaseType || hasBaseType(reducedBaseType, type)) { - error(type.symbol.valueDeclaration, Diagnostics.Type_0_recursively_references_itself_as_a_base_type, typeToString( - type, - /*enclosingDeclaration*/ - void 0, - 2 /* WriteArrayAsGenericType */ - )); - return type.resolvedBaseTypes = emptyArray; - } - if (type.resolvedBaseTypes === resolvingEmptyArray) { - type.members = void 0; - } - return type.resolvedBaseTypes = [reducedBaseType]; - } - function areAllOuterTypeParametersApplied(type) { - const outerTypeParameters = type.outerTypeParameters; - if (outerTypeParameters) { - const last2 = outerTypeParameters.length - 1; - const typeArguments = getTypeArguments(type); - return outerTypeParameters[last2].symbol !== typeArguments[last2].symbol; - } - return true; - } - function isValidBaseType(type) { - if (type.flags & 262144 /* TypeParameter */) { - const constraint = getBaseConstraintOfType(type); - if (constraint) { - return isValidBaseType(constraint); - } - } - return !!(type.flags & (524288 /* Object */ | 67108864 /* NonPrimitive */ | 1 /* Any */) && !isGenericMappedType(type) || type.flags & 2097152 /* Intersection */ && every(type.types, isValidBaseType)); - } - function resolveBaseTypesOfInterface(type) { - type.resolvedBaseTypes = type.resolvedBaseTypes || emptyArray; - if (type.symbol.declarations) { - for (const declaration of type.symbol.declarations) { - if (declaration.kind === 264 /* InterfaceDeclaration */ && getInterfaceBaseTypeNodes(declaration)) { - for (const node of getInterfaceBaseTypeNodes(declaration)) { - const baseType = getReducedType(getTypeFromTypeNode(node)); - if (!isErrorType(baseType)) { - if (isValidBaseType(baseType)) { - if (type !== baseType && !hasBaseType(baseType, type)) { - if (type.resolvedBaseTypes === emptyArray) { - type.resolvedBaseTypes = [baseType]; - } else { - type.resolvedBaseTypes.push(baseType); - } - } else { - reportCircularBaseType(declaration, type); - } - } else { - error(node, Diagnostics.An_interface_can_only_extend_an_object_type_or_intersection_of_object_types_with_statically_known_members); - } - } - } - } - } - } - } - function isThislessInterface(symbol) { - if (!symbol.declarations) { - return true; - } - for (const declaration of symbol.declarations) { - if (declaration.kind === 264 /* InterfaceDeclaration */) { - if (declaration.flags & 256 /* ContainsThis */) { - return false; - } - const baseTypeNodes = getInterfaceBaseTypeNodes(declaration); - if (baseTypeNodes) { - for (const node of baseTypeNodes) { - if (isEntityNameExpression(node.expression)) { - const baseSymbol = resolveEntityName( - node.expression, - 788968 /* Type */, - /*ignoreErrors*/ - true - ); - if (!baseSymbol || !(baseSymbol.flags & 64 /* Interface */) || getDeclaredTypeOfClassOrInterface(baseSymbol).thisType) { - return false; - } - } - } - } - } - } - return true; - } - function getDeclaredTypeOfClassOrInterface(symbol) { - let links = getSymbolLinks(symbol); - const originalLinks = links; - if (!links.declaredType) { - const kind = symbol.flags & 32 /* Class */ ? 1 /* Class */ : 2 /* Interface */; - const merged = mergeJSSymbols(symbol, symbol.valueDeclaration && getAssignedClassSymbol(symbol.valueDeclaration)); - if (merged) { - symbol = merged; - links = merged.links; - } - const type = originalLinks.declaredType = links.declaredType = createObjectType(kind, symbol); - const outerTypeParameters = getOuterTypeParametersOfClassOrInterface(symbol); - const localTypeParameters = getLocalTypeParametersOfClassOrInterfaceOrTypeAlias(symbol); - if (outerTypeParameters || localTypeParameters || kind === 1 /* Class */ || !isThislessInterface(symbol)) { - type.objectFlags |= 4 /* Reference */; - type.typeParameters = concatenate(outerTypeParameters, localTypeParameters); - type.outerTypeParameters = outerTypeParameters; - type.localTypeParameters = localTypeParameters; - type.instantiations = /* @__PURE__ */ new Map(); - type.instantiations.set(getTypeListId(type.typeParameters), type); - type.target = type; - type.resolvedTypeArguments = type.typeParameters; - type.thisType = createTypeParameter(symbol); - type.thisType.isThisType = true; - type.thisType.constraint = type; - } - } - return links.declaredType; - } - function getDeclaredTypeOfTypeAlias(symbol) { - var _a; - const links = getSymbolLinks(symbol); - if (!links.declaredType) { - if (!pushTypeResolution(symbol, 2 /* DeclaredType */)) { - return errorType; - } - const declaration = Debug.checkDefined((_a = symbol.declarations) == null ? void 0 : _a.find(isTypeAlias), "Type alias symbol with no valid declaration found"); - const typeNode = isJSDocTypeAlias(declaration) ? declaration.typeExpression : declaration.type; - let type = typeNode ? getTypeFromTypeNode(typeNode) : errorType; - if (popTypeResolution()) { - const typeParameters = getLocalTypeParametersOfClassOrInterfaceOrTypeAlias(symbol); - if (typeParameters) { - links.typeParameters = typeParameters; - links.instantiations = /* @__PURE__ */ new Map(); - links.instantiations.set(getTypeListId(typeParameters), type); - } - if (type === intrinsicMarkerType && symbol.escapedName === "BuiltinIteratorReturn") { - type = getBuiltinIteratorReturnType(); - } - } else { - type = errorType; - if (declaration.kind === 340 /* JSDocEnumTag */) { - error(declaration.typeExpression.type, Diagnostics.Type_alias_0_circularly_references_itself, symbolToString(symbol)); - } else { - error(isNamedDeclaration(declaration) ? declaration.name || declaration : declaration, Diagnostics.Type_alias_0_circularly_references_itself, symbolToString(symbol)); - } - } - links.declaredType ?? (links.declaredType = type); - } - return links.declaredType; - } - function getBaseTypeOfEnumLikeType(type) { - return type.flags & 1056 /* EnumLike */ && type.symbol.flags & 8 /* EnumMember */ ? getDeclaredTypeOfSymbol(getParentOfSymbol(type.symbol)) : type; - } - function getDeclaredTypeOfEnum(symbol) { - const links = getSymbolLinks(symbol); - if (!links.declaredType) { - const memberTypeList = []; - if (symbol.declarations) { - for (const declaration of symbol.declarations) { - if (declaration.kind === 266 /* EnumDeclaration */) { - for (const member of declaration.members) { - if (hasBindableName(member)) { - const memberSymbol = getSymbolOfDeclaration(member); - const value = getEnumMemberValue(member).value; - const memberType = getFreshTypeOfLiteralType( - value !== void 0 ? getEnumLiteralType(value, getSymbolId(symbol), memberSymbol) : createComputedEnumType(memberSymbol) - ); - getSymbolLinks(memberSymbol).declaredType = memberType; - memberTypeList.push(getRegularTypeOfLiteralType(memberType)); - } - } - } - } - } - const enumType = memberTypeList.length ? getUnionType( - memberTypeList, - 1 /* Literal */, - symbol, - /*aliasTypeArguments*/ - void 0 - ) : createComputedEnumType(symbol); - if (enumType.flags & 1048576 /* Union */) { - enumType.flags |= 1024 /* EnumLiteral */; - enumType.symbol = symbol; - } - links.declaredType = enumType; - } - return links.declaredType; - } - function createComputedEnumType(symbol) { - const regularType = createTypeWithSymbol(32 /* Enum */, symbol); - const freshType = createTypeWithSymbol(32 /* Enum */, symbol); - regularType.regularType = regularType; - regularType.freshType = freshType; - freshType.regularType = regularType; - freshType.freshType = freshType; - return regularType; - } - function getDeclaredTypeOfEnumMember(symbol) { - const links = getSymbolLinks(symbol); - if (!links.declaredType) { - const enumType = getDeclaredTypeOfEnum(getParentOfSymbol(symbol)); - if (!links.declaredType) { - links.declaredType = enumType; - } - } - return links.declaredType; - } - function getDeclaredTypeOfTypeParameter(symbol) { - const links = getSymbolLinks(symbol); - return links.declaredType || (links.declaredType = createTypeParameter(symbol)); - } - function getDeclaredTypeOfAlias(symbol) { - const links = getSymbolLinks(symbol); - return links.declaredType || (links.declaredType = getDeclaredTypeOfSymbol(resolveAlias(symbol))); - } - function getDeclaredTypeOfSymbol(symbol) { - return tryGetDeclaredTypeOfSymbol(symbol) || errorType; - } - function tryGetDeclaredTypeOfSymbol(symbol) { - if (symbol.flags & (32 /* Class */ | 64 /* Interface */)) { - return getDeclaredTypeOfClassOrInterface(symbol); - } - if (symbol.flags & 524288 /* TypeAlias */) { - return getDeclaredTypeOfTypeAlias(symbol); - } - if (symbol.flags & 262144 /* TypeParameter */) { - return getDeclaredTypeOfTypeParameter(symbol); - } - if (symbol.flags & 384 /* Enum */) { - return getDeclaredTypeOfEnum(symbol); - } - if (symbol.flags & 8 /* EnumMember */) { - return getDeclaredTypeOfEnumMember(symbol); - } - if (symbol.flags & 2097152 /* Alias */) { - return getDeclaredTypeOfAlias(symbol); - } - return void 0; - } - function isThislessType(node) { - switch (node.kind) { - case 133 /* AnyKeyword */: - case 159 /* UnknownKeyword */: - case 154 /* StringKeyword */: - case 150 /* NumberKeyword */: - case 163 /* BigIntKeyword */: - case 136 /* BooleanKeyword */: - case 155 /* SymbolKeyword */: - case 151 /* ObjectKeyword */: - case 116 /* VoidKeyword */: - case 157 /* UndefinedKeyword */: - case 146 /* NeverKeyword */: - case 201 /* LiteralType */: - return true; - case 188 /* ArrayType */: - return isThislessType(node.elementType); - case 183 /* TypeReference */: - return !node.typeArguments || node.typeArguments.every(isThislessType); - } - return false; - } - function isThislessTypeParameter(node) { - const constraint = getEffectiveConstraintOfTypeParameter(node); - return !constraint || isThislessType(constraint); - } - function isThislessVariableLikeDeclaration(node) { - const typeNode = getEffectiveTypeAnnotationNode(node); - return typeNode ? isThislessType(typeNode) : !hasInitializer(node); - } - function isThislessFunctionLikeDeclaration(node) { - const returnType = getEffectiveReturnTypeNode(node); - const typeParameters = getEffectiveTypeParameterDeclarations(node); - return (node.kind === 176 /* Constructor */ || !!returnType && isThislessType(returnType)) && node.parameters.every(isThislessVariableLikeDeclaration) && typeParameters.every(isThislessTypeParameter); - } - function isThisless(symbol) { - if (symbol.declarations && symbol.declarations.length === 1) { - const declaration = symbol.declarations[0]; - if (declaration) { - switch (declaration.kind) { - case 172 /* PropertyDeclaration */: - case 171 /* PropertySignature */: - return isThislessVariableLikeDeclaration(declaration); - case 174 /* MethodDeclaration */: - case 173 /* MethodSignature */: - case 176 /* Constructor */: - case 177 /* GetAccessor */: - case 178 /* SetAccessor */: - return isThislessFunctionLikeDeclaration(declaration); - } - } - } - return false; - } - function createInstantiatedSymbolTable(symbols, mapper, mappingThisOnly) { - const result = createSymbolTable(); - for (const symbol of symbols) { - result.set(symbol.escapedName, mappingThisOnly && isThisless(symbol) ? symbol : instantiateSymbol(symbol, mapper)); - } - return result; - } - function addInheritedMembers(symbols, baseSymbols) { - for (const base of baseSymbols) { - if (isStaticPrivateIdentifierProperty(base)) { - continue; - } - const derived = symbols.get(base.escapedName); - if (!derived || derived.valueDeclaration && isBinaryExpression(derived.valueDeclaration) && !isConstructorDeclaredProperty(derived) && !getContainingClassStaticBlock(derived.valueDeclaration)) { - symbols.set(base.escapedName, base); - symbols.set(base.escapedName, base); - } - } - } - function isStaticPrivateIdentifierProperty(s) { - return !!s.valueDeclaration && isPrivateIdentifierClassElementDeclaration(s.valueDeclaration) && isStatic(s.valueDeclaration); - } - function resolveDeclaredMembers(type) { - if (!type.declaredProperties) { - const symbol = type.symbol; - const members = getMembersOfSymbol(symbol); - type.declaredProperties = getNamedMembers(members); - type.declaredCallSignatures = emptyArray; - type.declaredConstructSignatures = emptyArray; - type.declaredIndexInfos = emptyArray; - type.declaredCallSignatures = getSignaturesOfSymbol(members.get("__call" /* Call */)); - type.declaredConstructSignatures = getSignaturesOfSymbol(members.get("__new" /* New */)); - type.declaredIndexInfos = getIndexInfosOfSymbol(symbol); - } - return type; - } - function isLateBindableName(node) { - if (!isComputedPropertyName(node) && !isElementAccessExpression(node)) { - return false; - } - const expr = isComputedPropertyName(node) ? node.expression : node.argumentExpression; - return isEntityNameExpression(expr) && isTypeUsableAsPropertyName(isComputedPropertyName(node) ? checkComputedPropertyName(node) : checkExpressionCached(expr)); - } - function isLateBoundName(name) { - return name.charCodeAt(0) === 95 /* _ */ && name.charCodeAt(1) === 95 /* _ */ && name.charCodeAt(2) === 64 /* at */; - } - function hasLateBindableName(node) { - const name = getNameOfDeclaration(node); - return !!name && isLateBindableName(name); - } - function hasBindableName(node) { - return !hasDynamicName(node) || hasLateBindableName(node); - } - function isNonBindableDynamicName(node) { - return isDynamicName(node) && !isLateBindableName(node); - } - function addDeclarationToLateBoundSymbol(symbol, member, symbolFlags) { - Debug.assert(!!(getCheckFlags(symbol) & 4096 /* Late */), "Expected a late-bound symbol."); - symbol.flags |= symbolFlags; - getSymbolLinks(member.symbol).lateSymbol = symbol; - if (!symbol.declarations) { - symbol.declarations = [member]; - } else if (!member.symbol.isReplaceableByMethod) { - symbol.declarations.push(member); - } - if (symbolFlags & 111551 /* Value */) { - if (!symbol.valueDeclaration || symbol.valueDeclaration.kind !== member.kind) { - symbol.valueDeclaration = member; - } - } - } - function lateBindMember(parent, earlySymbols, lateSymbols, decl) { - Debug.assert(!!decl.symbol, "The member is expected to have a symbol."); - const links = getNodeLinks(decl); - if (!links.resolvedSymbol) { - links.resolvedSymbol = decl.symbol; - const declName = isBinaryExpression(decl) ? decl.left : decl.name; - const type = isElementAccessExpression(declName) ? checkExpressionCached(declName.argumentExpression) : checkComputedPropertyName(declName); - if (isTypeUsableAsPropertyName(type)) { - const memberName = getPropertyNameFromType(type); - const symbolFlags = decl.symbol.flags; - let lateSymbol = lateSymbols.get(memberName); - if (!lateSymbol) lateSymbols.set(memberName, lateSymbol = createSymbol(0 /* None */, memberName, 4096 /* Late */)); - const earlySymbol = earlySymbols && earlySymbols.get(memberName); - if (!(parent.flags & 32 /* Class */) && lateSymbol.flags & getExcludedSymbolFlags(symbolFlags)) { - const declarations = earlySymbol ? concatenate(earlySymbol.declarations, lateSymbol.declarations) : lateSymbol.declarations; - const name = !(type.flags & 8192 /* UniqueESSymbol */) && unescapeLeadingUnderscores(memberName) || declarationNameToString(declName); - forEach(declarations, (declaration) => error(getNameOfDeclaration(declaration) || declaration, Diagnostics.Property_0_was_also_declared_here, name)); - error(declName || decl, Diagnostics.Duplicate_property_0, name); - lateSymbol = createSymbol(0 /* None */, memberName, 4096 /* Late */); - } - lateSymbol.links.nameType = type; - addDeclarationToLateBoundSymbol(lateSymbol, decl, symbolFlags); - if (lateSymbol.parent) { - Debug.assert(lateSymbol.parent === parent, "Existing symbol parent should match new one"); - } else { - lateSymbol.parent = parent; - } - return links.resolvedSymbol = lateSymbol; - } - } - return links.resolvedSymbol; - } - function getResolvedMembersOrExportsOfSymbol(symbol, resolutionKind) { - const links = getSymbolLinks(symbol); - if (!links[resolutionKind]) { - const isStatic2 = resolutionKind === "resolvedExports" /* resolvedExports */; - const earlySymbols = !isStatic2 ? symbol.members : symbol.flags & 1536 /* Module */ ? getExportsOfModuleWorker(symbol).exports : symbol.exports; - links[resolutionKind] = earlySymbols || emptySymbols; - const lateSymbols = createSymbolTable(); - for (const decl of symbol.declarations || emptyArray) { - const members = getMembersOfDeclaration(decl); - if (members) { - for (const member of members) { - if (isStatic2 === hasStaticModifier(member)) { - if (hasLateBindableName(member)) { - lateBindMember(symbol, earlySymbols, lateSymbols, member); - } - } - } - } - } - const assignments = getFunctionExpressionParentSymbolOrSymbol(symbol).assignmentDeclarationMembers; - if (assignments) { - const decls = arrayFrom(assignments.values()); - for (const member of decls) { - const assignmentKind = getAssignmentDeclarationKind(member); - const isInstanceMember = assignmentKind === 3 /* PrototypeProperty */ || isBinaryExpression(member) && isPossiblyAliasedThisProperty(member, assignmentKind) || assignmentKind === 9 /* ObjectDefinePrototypeProperty */ || assignmentKind === 6 /* Prototype */; - if (isStatic2 === !isInstanceMember) { - if (hasLateBindableName(member)) { - lateBindMember(symbol, earlySymbols, lateSymbols, member); - } - } - } - } - let resolved = combineSymbolTables(earlySymbols, lateSymbols); - if (symbol.flags & 33554432 /* Transient */ && links.cjsExportMerged && symbol.declarations) { - for (const decl of symbol.declarations) { - const original = getSymbolLinks(decl.symbol)[resolutionKind]; - if (!resolved) { - resolved = original; - continue; - } - if (!original) continue; - original.forEach((s, name) => { - const existing = resolved.get(name); - if (!existing) resolved.set(name, s); - else if (existing === s) return; - else resolved.set(name, mergeSymbol(existing, s)); - }); - } - } - links[resolutionKind] = resolved || emptySymbols; - } - return links[resolutionKind]; - } - function getMembersOfSymbol(symbol) { - return symbol.flags & 6256 /* LateBindingContainer */ ? getResolvedMembersOrExportsOfSymbol(symbol, "resolvedMembers" /* resolvedMembers */) : symbol.members || emptySymbols; - } - function getLateBoundSymbol(symbol) { - if (symbol.flags & 106500 /* ClassMember */ && symbol.escapedName === "__computed" /* Computed */) { - const links = getSymbolLinks(symbol); - if (!links.lateSymbol && some(symbol.declarations, hasLateBindableName)) { - const parent = getMergedSymbol(symbol.parent); - if (some(symbol.declarations, hasStaticModifier)) { - getExportsOfSymbol(parent); - } else { - getMembersOfSymbol(parent); - } - } - return links.lateSymbol || (links.lateSymbol = symbol); - } - return symbol; - } - function getTypeWithThisArgument(type, thisArgument, needApparentType) { - if (getObjectFlags(type) & 4 /* Reference */) { - const target = type.target; - const typeArguments = getTypeArguments(type); - return length(target.typeParameters) === length(typeArguments) ? createTypeReference(target, concatenate(typeArguments, [thisArgument || target.thisType])) : type; - } else if (type.flags & 2097152 /* Intersection */) { - const types = sameMap(type.types, (t) => getTypeWithThisArgument(t, thisArgument, needApparentType)); - return types !== type.types ? getIntersectionType(types) : type; - } - return needApparentType ? getApparentType(type) : type; - } - function resolveObjectTypeMembers(type, source, typeParameters, typeArguments) { - let mapper; - let members; - let callSignatures; - let constructSignatures; - let indexInfos; - if (rangeEquals(typeParameters, typeArguments, 0, typeParameters.length)) { - members = source.symbol ? getMembersOfSymbol(source.symbol) : createSymbolTable(source.declaredProperties); - callSignatures = source.declaredCallSignatures; - constructSignatures = source.declaredConstructSignatures; - indexInfos = source.declaredIndexInfos; - } else { - mapper = createTypeMapper(typeParameters, typeArguments); - members = createInstantiatedSymbolTable( - source.declaredProperties, - mapper, - /*mappingThisOnly*/ - typeParameters.length === 1 - ); - callSignatures = instantiateSignatures(source.declaredCallSignatures, mapper); - constructSignatures = instantiateSignatures(source.declaredConstructSignatures, mapper); - indexInfos = instantiateIndexInfos(source.declaredIndexInfos, mapper); - } - const baseTypes = getBaseTypes(source); - if (baseTypes.length) { - if (source.symbol && members === getMembersOfSymbol(source.symbol)) { - const symbolTable = createSymbolTable(source.declaredProperties); - const sourceIndex = getIndexSymbol(source.symbol); - if (sourceIndex) { - symbolTable.set("__index" /* Index */, sourceIndex); - } - members = symbolTable; - } - setStructuredTypeMembers(type, members, callSignatures, constructSignatures, indexInfos); - const thisArgument = lastOrUndefined(typeArguments); - for (const baseType of baseTypes) { - const instantiatedBaseType = thisArgument ? getTypeWithThisArgument(instantiateType(baseType, mapper), thisArgument) : baseType; - addInheritedMembers(members, getPropertiesOfType(instantiatedBaseType)); - callSignatures = concatenate(callSignatures, getSignaturesOfType(instantiatedBaseType, 0 /* Call */)); - constructSignatures = concatenate(constructSignatures, getSignaturesOfType(instantiatedBaseType, 1 /* Construct */)); - const inheritedIndexInfos = instantiatedBaseType !== anyType ? getIndexInfosOfType(instantiatedBaseType) : [createIndexInfo( - stringType, - anyType, - /*isReadonly*/ - false - )]; - indexInfos = concatenate(indexInfos, filter(inheritedIndexInfos, (info) => !findIndexInfo(indexInfos, info.keyType))); - } - } - setStructuredTypeMembers(type, members, callSignatures, constructSignatures, indexInfos); - } - function resolveClassOrInterfaceMembers(type) { - resolveObjectTypeMembers(type, resolveDeclaredMembers(type), emptyArray, emptyArray); - } - function resolveTypeReferenceMembers(type) { - const source = resolveDeclaredMembers(type.target); - const typeParameters = concatenate(source.typeParameters, [source.thisType]); - const typeArguments = getTypeArguments(type); - const paddedTypeArguments = typeArguments.length === typeParameters.length ? typeArguments : concatenate(typeArguments, [type]); - resolveObjectTypeMembers(type, source, typeParameters, paddedTypeArguments); - } - function createSignature(declaration, typeParameters, thisParameter, parameters, resolvedReturnType, resolvedTypePredicate, minArgumentCount, flags) { - const sig = new Signature5(checker, flags); - sig.declaration = declaration; - sig.typeParameters = typeParameters; - sig.parameters = parameters; - sig.thisParameter = thisParameter; - sig.resolvedReturnType = resolvedReturnType; - sig.resolvedTypePredicate = resolvedTypePredicate; - sig.minArgumentCount = minArgumentCount; - sig.resolvedMinArgumentCount = void 0; - sig.target = void 0; - sig.mapper = void 0; - sig.compositeSignatures = void 0; - sig.compositeKind = void 0; - return sig; - } - function cloneSignature(sig) { - const result = createSignature( - sig.declaration, - sig.typeParameters, - sig.thisParameter, - sig.parameters, - /*resolvedReturnType*/ - void 0, - /*resolvedTypePredicate*/ - void 0, - sig.minArgumentCount, - sig.flags & 167 /* PropagatingFlags */ - ); - result.target = sig.target; - result.mapper = sig.mapper; - result.compositeSignatures = sig.compositeSignatures; - result.compositeKind = sig.compositeKind; - return result; - } - function createUnionSignature(signature, unionSignatures) { - const result = cloneSignature(signature); - result.compositeSignatures = unionSignatures; - result.compositeKind = 1048576 /* Union */; - result.target = void 0; - result.mapper = void 0; - return result; - } - function getOptionalCallSignature(signature, callChainFlags) { - if ((signature.flags & 24 /* CallChainFlags */) === callChainFlags) { - return signature; - } - if (!signature.optionalCallSignatureCache) { - signature.optionalCallSignatureCache = {}; - } - const key = callChainFlags === 8 /* IsInnerCallChain */ ? "inner" : "outer"; - return signature.optionalCallSignatureCache[key] || (signature.optionalCallSignatureCache[key] = createOptionalCallSignature(signature, callChainFlags)); - } - function createOptionalCallSignature(signature, callChainFlags) { - Debug.assert(callChainFlags === 8 /* IsInnerCallChain */ || callChainFlags === 16 /* IsOuterCallChain */, "An optional call signature can either be for an inner call chain or an outer call chain, but not both."); - const result = cloneSignature(signature); - result.flags |= callChainFlags; - return result; - } - function getExpandedParameters(sig, skipUnionExpanding) { - if (signatureHasRestParameter(sig)) { - const restIndex = sig.parameters.length - 1; - const restSymbol = sig.parameters[restIndex]; - const restType = getTypeOfSymbol(restSymbol); - if (isTupleType(restType)) { - return [expandSignatureParametersWithTupleMembers(restType, restIndex, restSymbol)]; - } else if (!skipUnionExpanding && restType.flags & 1048576 /* Union */ && every(restType.types, isTupleType)) { - return map(restType.types, (t) => expandSignatureParametersWithTupleMembers(t, restIndex, restSymbol)); - } - } - return [sig.parameters]; - function expandSignatureParametersWithTupleMembers(restType, restIndex, restSymbol) { - const elementTypes = getTypeArguments(restType); - const associatedNames = getUniqAssociatedNamesFromTupleType(restType, restSymbol); - const restParams = map(elementTypes, (t, i) => { - const name = associatedNames && associatedNames[i] ? associatedNames[i] : getParameterNameAtPosition(sig, restIndex + i, restType); - const flags = restType.target.elementFlags[i]; - const checkFlags = flags & 12 /* Variable */ ? 32768 /* RestParameter */ : flags & 2 /* Optional */ ? 16384 /* OptionalParameter */ : 0; - const symbol = createSymbol(1 /* FunctionScopedVariable */, name, checkFlags); - symbol.links.type = flags & 4 /* Rest */ ? createArrayType(t) : t; - return symbol; - }); - return concatenate(sig.parameters.slice(0, restIndex), restParams); - } - function getUniqAssociatedNamesFromTupleType(type, restSymbol) { - const names = map(type.target.labeledElementDeclarations, (labeledElement, i) => getTupleElementLabel(labeledElement, i, type.target.elementFlags[i], restSymbol)); - if (names) { - const duplicates = []; - const uniqueNames = /* @__PURE__ */ new Set(); - for (let i = 0; i < names.length; i++) { - const name = names[i]; - if (!tryAddToSet(uniqueNames, name)) { - duplicates.push(i); - } - } - const counters = /* @__PURE__ */ new Map(); - for (const i of duplicates) { - let counter = counters.get(names[i]) ?? 1; - let name; - while (!tryAddToSet(uniqueNames, name = `${names[i]}_${counter}`)) { - counter++; - } - names[i] = name; - counters.set(names[i], counter + 1); - } - } - return names; - } - } - function getDefaultConstructSignatures(classType) { - const baseConstructorType = getBaseConstructorTypeOfClass(classType); - const baseSignatures = getSignaturesOfType(baseConstructorType, 1 /* Construct */); - const declaration = getClassLikeDeclarationOfSymbol(classType.symbol); - const isAbstract = !!declaration && hasSyntacticModifier(declaration, 64 /* Abstract */); - if (baseSignatures.length === 0) { - return [createSignature( - /*declaration*/ - void 0, - classType.localTypeParameters, - /*thisParameter*/ - void 0, - emptyArray, - classType, - /*resolvedTypePredicate*/ - void 0, - 0, - isAbstract ? 4 /* Abstract */ : 0 /* None */ - )]; - } - const baseTypeNode = getBaseTypeNodeOfClass(classType); - const isJavaScript = isInJSFile(baseTypeNode); - const typeArguments = typeArgumentsFromTypeReferenceNode(baseTypeNode); - const typeArgCount = length(typeArguments); - const result = []; - for (const baseSig of baseSignatures) { - const minTypeArgumentCount = getMinTypeArgumentCount(baseSig.typeParameters); - const typeParamCount = length(baseSig.typeParameters); - if (isJavaScript || typeArgCount >= minTypeArgumentCount && typeArgCount <= typeParamCount) { - const sig = typeParamCount ? createSignatureInstantiation(baseSig, fillMissingTypeArguments(typeArguments, baseSig.typeParameters, minTypeArgumentCount, isJavaScript)) : cloneSignature(baseSig); - sig.typeParameters = classType.localTypeParameters; - sig.resolvedReturnType = classType; - sig.flags = isAbstract ? sig.flags | 4 /* Abstract */ : sig.flags & ~4 /* Abstract */; - result.push(sig); - } - } - return result; - } - function findMatchingSignature(signatureList, signature, partialMatch, ignoreThisTypes, ignoreReturnTypes) { - for (const s of signatureList) { - if (compareSignaturesIdentical(s, signature, partialMatch, ignoreThisTypes, ignoreReturnTypes, partialMatch ? compareTypesSubtypeOf : compareTypesIdentical)) { - return s; - } - } - } - function findMatchingSignatures(signatureLists, signature, listIndex) { - if (signature.typeParameters) { - if (listIndex > 0) { - return void 0; - } - for (let i = 1; i < signatureLists.length; i++) { - if (!findMatchingSignature( - signatureLists[i], - signature, - /*partialMatch*/ - false, - /*ignoreThisTypes*/ - false, - /*ignoreReturnTypes*/ - false - )) { - return void 0; - } - } - return [signature]; - } - let result; - for (let i = 0; i < signatureLists.length; i++) { - const match = i === listIndex ? signature : findMatchingSignature( - signatureLists[i], - signature, - /*partialMatch*/ - false, - /*ignoreThisTypes*/ - false, - /*ignoreReturnTypes*/ - true - ) || findMatchingSignature( - signatureLists[i], - signature, - /*partialMatch*/ - true, - /*ignoreThisTypes*/ - false, - /*ignoreReturnTypes*/ - true - ); - if (!match) { - return void 0; - } - result = appendIfUnique(result, match); - } - return result; - } - function getUnionSignatures(signatureLists) { - let result; - let indexWithLengthOverOne; - for (let i = 0; i < signatureLists.length; i++) { - if (signatureLists[i].length === 0) return emptyArray; - if (signatureLists[i].length > 1) { - indexWithLengthOverOne = indexWithLengthOverOne === void 0 ? i : -1; - } - for (const signature of signatureLists[i]) { - if (!result || !findMatchingSignature( - result, - signature, - /*partialMatch*/ - false, - /*ignoreThisTypes*/ - false, - /*ignoreReturnTypes*/ - true - )) { - const unionSignatures = findMatchingSignatures(signatureLists, signature, i); - if (unionSignatures) { - let s = signature; - if (unionSignatures.length > 1) { - let thisParameter = signature.thisParameter; - const firstThisParameterOfUnionSignatures = forEach(unionSignatures, (sig) => sig.thisParameter); - if (firstThisParameterOfUnionSignatures) { - const thisType = getIntersectionType(mapDefined(unionSignatures, (sig) => sig.thisParameter && getTypeOfSymbol(sig.thisParameter))); - thisParameter = createSymbolWithType(firstThisParameterOfUnionSignatures, thisType); - } - s = createUnionSignature(signature, unionSignatures); - s.thisParameter = thisParameter; - } - (result || (result = [])).push(s); - } - } - } - } - if (!length(result) && indexWithLengthOverOne !== -1) { - const masterList = signatureLists[indexWithLengthOverOne !== void 0 ? indexWithLengthOverOne : 0]; - let results = masterList.slice(); - for (const signatures of signatureLists) { - if (signatures !== masterList) { - const signature = signatures[0]; - Debug.assert(!!signature, "getUnionSignatures bails early on empty signature lists and should not have empty lists on second pass"); - results = !!signature.typeParameters && some(results, (s) => !!s.typeParameters && !compareTypeParametersIdentical(signature.typeParameters, s.typeParameters)) ? void 0 : map(results, (sig) => combineSignaturesOfUnionMembers(sig, signature)); - if (!results) { - break; - } - } - } - result = results; - } - return result || emptyArray; - } - function compareTypeParametersIdentical(sourceParams, targetParams) { - if (length(sourceParams) !== length(targetParams)) { - return false; - } - if (!sourceParams || !targetParams) { - return true; - } - const mapper = createTypeMapper(targetParams, sourceParams); - for (let i = 0; i < sourceParams.length; i++) { - const source = sourceParams[i]; - const target = targetParams[i]; - if (source === target) continue; - if (!isTypeIdenticalTo(getConstraintFromTypeParameter(source) || unknownType, instantiateType(getConstraintFromTypeParameter(target) || unknownType, mapper))) return false; - } - return true; - } - function combineUnionThisParam(left, right, mapper) { - if (!left || !right) { - return left || right; - } - const thisType = getIntersectionType([getTypeOfSymbol(left), instantiateType(getTypeOfSymbol(right), mapper)]); - return createSymbolWithType(left, thisType); - } - function combineUnionParameters(left, right, mapper) { - const leftCount = getParameterCount(left); - const rightCount = getParameterCount(right); - const longest = leftCount >= rightCount ? left : right; - const shorter = longest === left ? right : left; - const longestCount = longest === left ? leftCount : rightCount; - const eitherHasEffectiveRest = hasEffectiveRestParameter(left) || hasEffectiveRestParameter(right); - const needsExtraRestElement = eitherHasEffectiveRest && !hasEffectiveRestParameter(longest); - const params = new Array(longestCount + (needsExtraRestElement ? 1 : 0)); - for (let i = 0; i < longestCount; i++) { - let longestParamType = tryGetTypeAtPosition(longest, i); - if (longest === right) { - longestParamType = instantiateType(longestParamType, mapper); - } - let shorterParamType = tryGetTypeAtPosition(shorter, i) || unknownType; - if (shorter === right) { - shorterParamType = instantiateType(shorterParamType, mapper); - } - const unionParamType = getIntersectionType([longestParamType, shorterParamType]); - const isRestParam = eitherHasEffectiveRest && !needsExtraRestElement && i === longestCount - 1; - const isOptional = i >= getMinArgumentCount(longest) && i >= getMinArgumentCount(shorter); - const leftName = i >= leftCount ? void 0 : getParameterNameAtPosition(left, i); - const rightName = i >= rightCount ? void 0 : getParameterNameAtPosition(right, i); - const paramName = leftName === rightName ? leftName : !leftName ? rightName : !rightName ? leftName : void 0; - const paramSymbol = createSymbol( - 1 /* FunctionScopedVariable */ | (isOptional && !isRestParam ? 16777216 /* Optional */ : 0), - paramName || `arg${i}`, - isRestParam ? 32768 /* RestParameter */ : isOptional ? 16384 /* OptionalParameter */ : 0 - ); - paramSymbol.links.type = isRestParam ? createArrayType(unionParamType) : unionParamType; - params[i] = paramSymbol; - } - if (needsExtraRestElement) { - const restParamSymbol = createSymbol(1 /* FunctionScopedVariable */, "args", 32768 /* RestParameter */); - restParamSymbol.links.type = createArrayType(getTypeAtPosition(shorter, longestCount)); - if (shorter === right) { - restParamSymbol.links.type = instantiateType(restParamSymbol.links.type, mapper); - } - params[longestCount] = restParamSymbol; - } - return params; - } - function combineSignaturesOfUnionMembers(left, right) { - const typeParams = left.typeParameters || right.typeParameters; - let paramMapper; - if (left.typeParameters && right.typeParameters) { - paramMapper = createTypeMapper(right.typeParameters, left.typeParameters); - } - const declaration = left.declaration; - const params = combineUnionParameters(left, right, paramMapper); - const thisParam = combineUnionThisParam(left.thisParameter, right.thisParameter, paramMapper); - const minArgCount = Math.max(left.minArgumentCount, right.minArgumentCount); - const result = createSignature( - declaration, - typeParams, - thisParam, - params, - /*resolvedReturnType*/ - void 0, - /*resolvedTypePredicate*/ - void 0, - minArgCount, - (left.flags | right.flags) & 167 /* PropagatingFlags */ - ); - result.compositeKind = 1048576 /* Union */; - result.compositeSignatures = concatenate(left.compositeKind !== 2097152 /* Intersection */ && left.compositeSignatures || [left], [right]); - if (paramMapper) { - result.mapper = left.compositeKind !== 2097152 /* Intersection */ && left.mapper && left.compositeSignatures ? combineTypeMappers(left.mapper, paramMapper) : paramMapper; - } else if (left.compositeKind !== 2097152 /* Intersection */ && left.mapper && left.compositeSignatures) { - result.mapper = left.mapper; - } - return result; - } - function getUnionIndexInfos(types) { - const sourceInfos = getIndexInfosOfType(types[0]); - if (sourceInfos) { - const result = []; - for (const info of sourceInfos) { - const indexType = info.keyType; - if (every(types, (t) => !!getIndexInfoOfType(t, indexType))) { - result.push(createIndexInfo(indexType, getUnionType(map(types, (t) => getIndexTypeOfType(t, indexType))), some(types, (t) => getIndexInfoOfType(t, indexType).isReadonly))); - } - } - return result; - } - return emptyArray; - } - function resolveUnionTypeMembers(type) { - const callSignatures = getUnionSignatures(map(type.types, (t) => t === globalFunctionType ? [unknownSignature] : getSignaturesOfType(t, 0 /* Call */))); - const constructSignatures = getUnionSignatures(map(type.types, (t) => getSignaturesOfType(t, 1 /* Construct */))); - const indexInfos = getUnionIndexInfos(type.types); - setStructuredTypeMembers(type, emptySymbols, callSignatures, constructSignatures, indexInfos); - } - function intersectTypes(type1, type2) { - return !type1 ? type2 : !type2 ? type1 : getIntersectionType([type1, type2]); - } - function findMixins(types) { - const constructorTypeCount = countWhere(types, (t) => getSignaturesOfType(t, 1 /* Construct */).length > 0); - const mixinFlags = map(types, isMixinConstructorType); - if (constructorTypeCount > 0 && constructorTypeCount === countWhere(mixinFlags, (b) => b)) { - const firstMixinIndex = mixinFlags.indexOf( - /*searchElement*/ - true - ); - mixinFlags[firstMixinIndex] = false; - } - return mixinFlags; - } - function includeMixinType(type, types, mixinFlags, index) { - const mixedTypes = []; - for (let i = 0; i < types.length; i++) { - if (i === index) { - mixedTypes.push(type); - } else if (mixinFlags[i]) { - mixedTypes.push(getReturnTypeOfSignature(getSignaturesOfType(types[i], 1 /* Construct */)[0])); - } - } - return getIntersectionType(mixedTypes); - } - function resolveIntersectionTypeMembers(type) { - let callSignatures; - let constructSignatures; - let indexInfos; - const types = type.types; - const mixinFlags = findMixins(types); - const mixinCount = countWhere(mixinFlags, (b) => b); - for (let i = 0; i < types.length; i++) { - const t = type.types[i]; - if (!mixinFlags[i]) { - let signatures = getSignaturesOfType(t, 1 /* Construct */); - if (signatures.length && mixinCount > 0) { - signatures = map(signatures, (s) => { - const clone = cloneSignature(s); - clone.resolvedReturnType = includeMixinType(getReturnTypeOfSignature(s), types, mixinFlags, i); - return clone; - }); - } - constructSignatures = appendSignatures(constructSignatures, signatures); - } - callSignatures = appendSignatures(callSignatures, getSignaturesOfType(t, 0 /* Call */)); - indexInfos = reduceLeft(getIndexInfosOfType(t), (infos, newInfo) => appendIndexInfo( - infos, - newInfo, - /*union*/ - false - ), indexInfos); - } - setStructuredTypeMembers(type, emptySymbols, callSignatures || emptyArray, constructSignatures || emptyArray, indexInfos || emptyArray); - } - function appendSignatures(signatures, newSignatures) { - for (const sig of newSignatures) { - if (!signatures || every(signatures, (s) => !compareSignaturesIdentical( - s, - sig, - /*partialMatch*/ - false, - /*ignoreThisTypes*/ - false, - /*ignoreReturnTypes*/ - false, - compareTypesIdentical - ))) { - signatures = append(signatures, sig); - } - } - return signatures; - } - function appendIndexInfo(indexInfos, newInfo, union) { - if (indexInfos) { - for (let i = 0; i < indexInfos.length; i++) { - const info = indexInfos[i]; - if (info.keyType === newInfo.keyType) { - indexInfos[i] = createIndexInfo(info.keyType, union ? getUnionType([info.type, newInfo.type]) : getIntersectionType([info.type, newInfo.type]), union ? info.isReadonly || newInfo.isReadonly : info.isReadonly && newInfo.isReadonly); - return indexInfos; - } - } - } - return append(indexInfos, newInfo); - } - function resolveAnonymousTypeMembers(type) { - if (type.target) { - setStructuredTypeMembers(type, emptySymbols, emptyArray, emptyArray, emptyArray); - const members2 = createInstantiatedSymbolTable( - getPropertiesOfObjectType(type.target), - type.mapper, - /*mappingThisOnly*/ - false - ); - const callSignatures = instantiateSignatures(getSignaturesOfType(type.target, 0 /* Call */), type.mapper); - const constructSignatures = instantiateSignatures(getSignaturesOfType(type.target, 1 /* Construct */), type.mapper); - const indexInfos2 = instantiateIndexInfos(getIndexInfosOfType(type.target), type.mapper); - setStructuredTypeMembers(type, members2, callSignatures, constructSignatures, indexInfos2); - return; - } - const symbol = getMergedSymbol(type.symbol); - if (symbol.flags & 2048 /* TypeLiteral */) { - setStructuredTypeMembers(type, emptySymbols, emptyArray, emptyArray, emptyArray); - const members2 = getMembersOfSymbol(symbol); - const callSignatures = getSignaturesOfSymbol(members2.get("__call" /* Call */)); - const constructSignatures = getSignaturesOfSymbol(members2.get("__new" /* New */)); - const indexInfos2 = getIndexInfosOfSymbol(symbol); - setStructuredTypeMembers(type, members2, callSignatures, constructSignatures, indexInfos2); - return; - } - let members = getExportsOfSymbol(symbol); - let indexInfos; - if (symbol === globalThisSymbol) { - const varsOnly = /* @__PURE__ */ new Map(); - members.forEach((p) => { - var _a; - if (!(p.flags & 418 /* BlockScoped */) && !(p.flags & 512 /* ValueModule */ && ((_a = p.declarations) == null ? void 0 : _a.length) && every(p.declarations, isAmbientModule))) { - varsOnly.set(p.escapedName, p); - } - }); - members = varsOnly; - } - let baseConstructorIndexInfo; - setStructuredTypeMembers(type, members, emptyArray, emptyArray, emptyArray); - if (symbol.flags & 32 /* Class */) { - const classType = getDeclaredTypeOfClassOrInterface(symbol); - const baseConstructorType = getBaseConstructorTypeOfClass(classType); - if (baseConstructorType.flags & (524288 /* Object */ | 2097152 /* Intersection */ | 8650752 /* TypeVariable */)) { - members = createSymbolTable(getNamedOrIndexSignatureMembers(members)); - addInheritedMembers(members, getPropertiesOfType(baseConstructorType)); - } else if (baseConstructorType === anyType) { - baseConstructorIndexInfo = createIndexInfo( - stringType, - anyType, - /*isReadonly*/ - false - ); - } - } - const indexSymbol = getIndexSymbolFromSymbolTable(members); - if (indexSymbol) { - indexInfos = getIndexInfosOfIndexSymbol(indexSymbol); - } else { - if (baseConstructorIndexInfo) { - indexInfos = append(indexInfos, baseConstructorIndexInfo); - } - if (symbol.flags & 384 /* Enum */ && (getDeclaredTypeOfSymbol(symbol).flags & 32 /* Enum */ || some(type.properties, (prop) => !!(getTypeOfSymbol(prop).flags & 296 /* NumberLike */)))) { - indexInfos = append(indexInfos, enumNumberIndexInfo); - } - } - setStructuredTypeMembers(type, members, emptyArray, emptyArray, indexInfos || emptyArray); - if (symbol.flags & (16 /* Function */ | 8192 /* Method */)) { - type.callSignatures = getSignaturesOfSymbol(symbol); - } - if (symbol.flags & 32 /* Class */) { - const classType = getDeclaredTypeOfClassOrInterface(symbol); - let constructSignatures = symbol.members ? getSignaturesOfSymbol(symbol.members.get("__constructor" /* Constructor */)) : emptyArray; - if (symbol.flags & 16 /* Function */) { - constructSignatures = addRange( - constructSignatures.slice(), - mapDefined( - type.callSignatures, - (sig) => isJSConstructor(sig.declaration) ? createSignature( - sig.declaration, - sig.typeParameters, - sig.thisParameter, - sig.parameters, - classType, - /*resolvedTypePredicate*/ - void 0, - sig.minArgumentCount, - sig.flags & 167 /* PropagatingFlags */ - ) : void 0 - ) - ); - } - if (!constructSignatures.length) { - constructSignatures = getDefaultConstructSignatures(classType); - } - type.constructSignatures = constructSignatures; - } - } - function replaceIndexedAccess(instantiable, type, replacement) { - return instantiateType(instantiable, createTypeMapper([type.indexType, type.objectType], [getNumberLiteralType(0), createTupleType([replacement])])); - } - function getLimitedConstraint(type) { - const constraint = getConstraintTypeFromMappedType(type.mappedType); - if (!(constraint.flags & 1048576 /* Union */ || constraint.flags & 2097152 /* Intersection */)) { - return; - } - const origin = constraint.flags & 1048576 /* Union */ ? constraint.origin : constraint; - if (!origin || !(origin.flags & 2097152 /* Intersection */)) { - return; - } - const limitedConstraint = getIntersectionType(origin.types.filter((t) => t !== type.constraintType)); - return limitedConstraint !== neverType ? limitedConstraint : void 0; - } - function resolveReverseMappedTypeMembers(type) { - const indexInfo = getIndexInfoOfType(type.source, stringType); - const modifiers = getMappedTypeModifiers(type.mappedType); - const readonlyMask = modifiers & 1 /* IncludeReadonly */ ? false : true; - const optionalMask = modifiers & 4 /* IncludeOptional */ ? 0 : 16777216 /* Optional */; - const indexInfos = indexInfo ? [createIndexInfo(stringType, inferReverseMappedType(indexInfo.type, type.mappedType, type.constraintType) || unknownType, readonlyMask && indexInfo.isReadonly)] : emptyArray; - const members = createSymbolTable(); - const limitedConstraint = getLimitedConstraint(type); - for (const prop of getPropertiesOfType(type.source)) { - if (limitedConstraint) { - const propertyNameType = getLiteralTypeFromProperty(prop, 8576 /* StringOrNumberLiteralOrUnique */); - if (!isTypeAssignableTo(propertyNameType, limitedConstraint)) { - continue; - } - } - const checkFlags = 8192 /* ReverseMapped */ | (readonlyMask && isReadonlySymbol(prop) ? 8 /* Readonly */ : 0); - const inferredProp = createSymbol(4 /* Property */ | prop.flags & optionalMask, prop.escapedName, checkFlags); - inferredProp.declarations = prop.declarations; - inferredProp.links.nameType = getSymbolLinks(prop).nameType; - inferredProp.links.propertyType = getTypeOfSymbol(prop); - if (type.constraintType.type.flags & 8388608 /* IndexedAccess */ && type.constraintType.type.objectType.flags & 262144 /* TypeParameter */ && type.constraintType.type.indexType.flags & 262144 /* TypeParameter */) { - const newTypeParam = type.constraintType.type.objectType; - const newMappedType = replaceIndexedAccess(type.mappedType, type.constraintType.type, newTypeParam); - inferredProp.links.mappedType = newMappedType; - inferredProp.links.constraintType = getIndexType(newTypeParam); - } else { - inferredProp.links.mappedType = type.mappedType; - inferredProp.links.constraintType = type.constraintType; - } - members.set(prop.escapedName, inferredProp); - } - setStructuredTypeMembers(type, members, emptyArray, emptyArray, indexInfos); - } - function getLowerBoundOfKeyType(type) { - if (type.flags & 4194304 /* Index */) { - const t = getApparentType(type.type); - return isGenericTupleType(t) ? getKnownKeysOfTupleType(t) : getIndexType(t); - } - if (type.flags & 16777216 /* Conditional */) { - if (type.root.isDistributive) { - const checkType = type.checkType; - const constraint = getLowerBoundOfKeyType(checkType); - if (constraint !== checkType) { - return getConditionalTypeInstantiation( - type, - prependTypeMapping(type.root.checkType, constraint, type.mapper), - /*forConstraint*/ - false - ); - } - } - return type; - } - if (type.flags & 1048576 /* Union */) { - return mapType( - type, - getLowerBoundOfKeyType, - /*noReductions*/ - true - ); - } - if (type.flags & 2097152 /* Intersection */) { - const types = type.types; - if (types.length === 2 && !!(types[0].flags & (4 /* String */ | 8 /* Number */ | 64 /* BigInt */)) && types[1] === emptyTypeLiteralType) { - return type; - } - return getIntersectionType(sameMap(type.types, getLowerBoundOfKeyType)); - } - return type; - } - function getIsLateCheckFlag(s) { - return getCheckFlags(s) & 4096 /* Late */; - } - function forEachMappedTypePropertyKeyTypeAndIndexSignatureKeyType(type, include, stringsOnly, cb) { - for (const prop of getPropertiesOfType(type)) { - cb(getLiteralTypeFromProperty(prop, include)); - } - if (type.flags & 1 /* Any */) { - cb(stringType); - } else { - for (const info of getIndexInfosOfType(type)) { - if (!stringsOnly || info.keyType.flags & (4 /* String */ | 134217728 /* TemplateLiteral */)) { - cb(info.keyType); - } - } - } - } - function resolveMappedTypeMembers(type) { - const members = createSymbolTable(); - let indexInfos; - setStructuredTypeMembers(type, emptySymbols, emptyArray, emptyArray, emptyArray); - const typeParameter = getTypeParameterFromMappedType(type); - const constraintType = getConstraintTypeFromMappedType(type); - const mappedType = type.target || type; - const nameType = getNameTypeFromMappedType(mappedType); - const shouldLinkPropDeclarations = getMappedTypeNameTypeKind(mappedType) !== 2 /* Remapping */; - const templateType = getTemplateTypeFromMappedType(mappedType); - const modifiersType = getApparentType(getModifiersTypeFromMappedType(type)); - const templateModifiers = getMappedTypeModifiers(type); - const include = 8576 /* StringOrNumberLiteralOrUnique */; - if (isMappedTypeWithKeyofConstraintDeclaration(type)) { - forEachMappedTypePropertyKeyTypeAndIndexSignatureKeyType( - modifiersType, - include, - /*stringsOnly*/ - false, - addMemberForKeyType - ); - } else { - forEachType(getLowerBoundOfKeyType(constraintType), addMemberForKeyType); - } - setStructuredTypeMembers(type, members, emptyArray, emptyArray, indexInfos || emptyArray); - function addMemberForKeyType(keyType) { - const propNameType = nameType ? instantiateType(nameType, appendTypeMapping(type.mapper, typeParameter, keyType)) : keyType; - forEachType(propNameType, (t) => addMemberForKeyTypeWorker(keyType, t)); - } - function addMemberForKeyTypeWorker(keyType, propNameType) { - if (isTypeUsableAsPropertyName(propNameType)) { - const propName = getPropertyNameFromType(propNameType); - const existingProp = members.get(propName); - if (existingProp) { - existingProp.links.nameType = getUnionType([existingProp.links.nameType, propNameType]); - existingProp.links.keyType = getUnionType([existingProp.links.keyType, keyType]); - } else { - const modifiersProp = isTypeUsableAsPropertyName(keyType) ? getPropertyOfType(modifiersType, getPropertyNameFromType(keyType)) : void 0; - const isOptional = !!(templateModifiers & 4 /* IncludeOptional */ || !(templateModifiers & 8 /* ExcludeOptional */) && modifiersProp && modifiersProp.flags & 16777216 /* Optional */); - const isReadonly = !!(templateModifiers & 1 /* IncludeReadonly */ || !(templateModifiers & 2 /* ExcludeReadonly */) && modifiersProp && isReadonlySymbol(modifiersProp)); - const stripOptional = strictNullChecks && !isOptional && modifiersProp && modifiersProp.flags & 16777216 /* Optional */; - const lateFlag = modifiersProp ? getIsLateCheckFlag(modifiersProp) : 0; - const prop = createSymbol(4 /* Property */ | (isOptional ? 16777216 /* Optional */ : 0), propName, lateFlag | 262144 /* Mapped */ | (isReadonly ? 8 /* Readonly */ : 0) | (stripOptional ? 524288 /* StripOptional */ : 0)); - prop.links.mappedType = type; - prop.links.nameType = propNameType; - prop.links.keyType = keyType; - if (modifiersProp) { - prop.links.syntheticOrigin = modifiersProp; - prop.declarations = shouldLinkPropDeclarations ? modifiersProp.declarations : void 0; - } - members.set(propName, prop); - } - } else if (isValidIndexKeyType(propNameType) || propNameType.flags & (1 /* Any */ | 32 /* Enum */)) { - const indexKeyType = propNameType.flags & (1 /* Any */ | 4 /* String */) ? stringType : propNameType.flags & (8 /* Number */ | 32 /* Enum */) ? numberType : propNameType; - const propType = instantiateType(templateType, appendTypeMapping(type.mapper, typeParameter, keyType)); - const modifiersIndexInfo = getApplicableIndexInfo(modifiersType, propNameType); - const isReadonly = !!(templateModifiers & 1 /* IncludeReadonly */ || !(templateModifiers & 2 /* ExcludeReadonly */) && (modifiersIndexInfo == null ? void 0 : modifiersIndexInfo.isReadonly)); - const indexInfo = createIndexInfo(indexKeyType, propType, isReadonly); - indexInfos = appendIndexInfo( - indexInfos, - indexInfo, - /*union*/ - true - ); - } - } - } - function getTypeOfMappedSymbol(symbol) { - var _a; - if (!symbol.links.type) { - const mappedType = symbol.links.mappedType; - if (!pushTypeResolution(symbol, 0 /* Type */)) { - mappedType.containsError = true; - return errorType; - } - const templateType = getTemplateTypeFromMappedType(mappedType.target || mappedType); - const mapper = appendTypeMapping(mappedType.mapper, getTypeParameterFromMappedType(mappedType), symbol.links.keyType); - const propType = instantiateType(templateType, mapper); - let type = strictNullChecks && symbol.flags & 16777216 /* Optional */ && !maybeTypeOfKind(propType, 32768 /* Undefined */ | 16384 /* Void */) ? getOptionalType( - propType, - /*isProperty*/ - true - ) : symbol.links.checkFlags & 524288 /* StripOptional */ ? removeMissingOrUndefinedType(propType) : propType; - if (!popTypeResolution()) { - error(currentNode, Diagnostics.Type_of_property_0_circularly_references_itself_in_mapped_type_1, symbolToString(symbol), typeToString(mappedType)); - type = errorType; - } - (_a = symbol.links).type ?? (_a.type = type); - } - return symbol.links.type; - } - function getTypeParameterFromMappedType(type) { - return type.typeParameter || (type.typeParameter = getDeclaredTypeOfTypeParameter(getSymbolOfDeclaration(type.declaration.typeParameter))); - } - function getConstraintTypeFromMappedType(type) { - return type.constraintType || (type.constraintType = getConstraintOfTypeParameter(getTypeParameterFromMappedType(type)) || errorType); - } - function getNameTypeFromMappedType(type) { - return type.declaration.nameType ? type.nameType || (type.nameType = instantiateType(getTypeFromTypeNode(type.declaration.nameType), type.mapper)) : void 0; - } - function getTemplateTypeFromMappedType(type) { - return type.templateType || (type.templateType = type.declaration.type ? instantiateType(addOptionality( - getTypeFromTypeNode(type.declaration.type), - /*isProperty*/ - true, - !!(getMappedTypeModifiers(type) & 4 /* IncludeOptional */) - ), type.mapper) : errorType); - } - function getConstraintDeclarationForMappedType(type) { - return getEffectiveConstraintOfTypeParameter(type.declaration.typeParameter); - } - function isMappedTypeWithKeyofConstraintDeclaration(type) { - const constraintDeclaration = getConstraintDeclarationForMappedType(type); - return constraintDeclaration.kind === 198 /* TypeOperator */ && constraintDeclaration.operator === 143 /* KeyOfKeyword */; - } - function getModifiersTypeFromMappedType(type) { - if (!type.modifiersType) { - if (isMappedTypeWithKeyofConstraintDeclaration(type)) { - type.modifiersType = instantiateType(getTypeFromTypeNode(getConstraintDeclarationForMappedType(type).type), type.mapper); - } else { - const declaredType = getTypeFromMappedTypeNode(type.declaration); - const constraint = getConstraintTypeFromMappedType(declaredType); - const extendedConstraint = constraint && constraint.flags & 262144 /* TypeParameter */ ? getConstraintOfTypeParameter(constraint) : constraint; - type.modifiersType = extendedConstraint && extendedConstraint.flags & 4194304 /* Index */ ? instantiateType(extendedConstraint.type, type.mapper) : unknownType; - } - } - return type.modifiersType; - } - function getMappedTypeModifiers(type) { - const declaration = type.declaration; - return (declaration.readonlyToken ? declaration.readonlyToken.kind === 41 /* MinusToken */ ? 2 /* ExcludeReadonly */ : 1 /* IncludeReadonly */ : 0) | (declaration.questionToken ? declaration.questionToken.kind === 41 /* MinusToken */ ? 8 /* ExcludeOptional */ : 4 /* IncludeOptional */ : 0); - } - function getMappedTypeOptionality(type) { - const modifiers = getMappedTypeModifiers(type); - return modifiers & 8 /* ExcludeOptional */ ? -1 : modifiers & 4 /* IncludeOptional */ ? 1 : 0; - } - function getCombinedMappedTypeOptionality(type) { - if (getObjectFlags(type) & 32 /* Mapped */) { - return getMappedTypeOptionality(type) || getCombinedMappedTypeOptionality(getModifiersTypeFromMappedType(type)); - } - if (type.flags & 2097152 /* Intersection */) { - const optionality = getCombinedMappedTypeOptionality(type.types[0]); - return every(type.types, (t, i) => i === 0 || getCombinedMappedTypeOptionality(t) === optionality) ? optionality : 0; - } - return 0; - } - function isPartialMappedType(type) { - return !!(getObjectFlags(type) & 32 /* Mapped */ && getMappedTypeModifiers(type) & 4 /* IncludeOptional */); - } - function isGenericMappedType(type) { - if (getObjectFlags(type) & 32 /* Mapped */) { - const constraint = getConstraintTypeFromMappedType(type); - if (isGenericIndexType(constraint)) { - return true; - } - const nameType = getNameTypeFromMappedType(type); - if (nameType && isGenericIndexType(instantiateType(nameType, makeUnaryTypeMapper(getTypeParameterFromMappedType(type), constraint)))) { - return true; - } - } - return false; - } - function getMappedTypeNameTypeKind(type) { - const nameType = getNameTypeFromMappedType(type); - if (!nameType) { - return 0 /* None */; - } - return isTypeAssignableTo(nameType, getTypeParameterFromMappedType(type)) ? 1 /* Filtering */ : 2 /* Remapping */; - } - function resolveStructuredTypeMembers(type) { - if (!type.members) { - if (type.flags & 524288 /* Object */) { - if (type.objectFlags & 4 /* Reference */) { - resolveTypeReferenceMembers(type); - } else if (type.objectFlags & 3 /* ClassOrInterface */) { - resolveClassOrInterfaceMembers(type); - } else if (type.objectFlags & 1024 /* ReverseMapped */) { - resolveReverseMappedTypeMembers(type); - } else if (type.objectFlags & 16 /* Anonymous */) { - resolveAnonymousTypeMembers(type); - } else if (type.objectFlags & 32 /* Mapped */) { - resolveMappedTypeMembers(type); - } else { - Debug.fail("Unhandled object type " + Debug.formatObjectFlags(type.objectFlags)); - } - } else if (type.flags & 1048576 /* Union */) { - resolveUnionTypeMembers(type); - } else if (type.flags & 2097152 /* Intersection */) { - resolveIntersectionTypeMembers(type); - } else { - Debug.fail("Unhandled type " + Debug.formatTypeFlags(type.flags)); - } - } - return type; - } - function getPropertiesOfObjectType(type) { - if (type.flags & 524288 /* Object */) { - return resolveStructuredTypeMembers(type).properties; - } - return emptyArray; - } - function getPropertyOfObjectType(type, name) { - if (type.flags & 524288 /* Object */) { - const resolved = resolveStructuredTypeMembers(type); - const symbol = resolved.members.get(name); - if (symbol && symbolIsValue(symbol)) { - return symbol; - } - } - } - function getPropertiesOfUnionOrIntersectionType(type) { - if (!type.resolvedProperties) { - const members = createSymbolTable(); - for (const current of type.types) { - for (const prop of getPropertiesOfType(current)) { - if (!members.has(prop.escapedName)) { - const combinedProp = getPropertyOfUnionOrIntersectionType( - type, - prop.escapedName, - /*skipObjectFunctionPropertyAugment*/ - !!(type.flags & 2097152 /* Intersection */) - ); - if (combinedProp) { - members.set(prop.escapedName, combinedProp); - } - } - } - if (type.flags & 1048576 /* Union */ && getIndexInfosOfType(current).length === 0) { - break; - } - } - type.resolvedProperties = getNamedMembers(members); - } - return type.resolvedProperties; - } - function getPropertiesOfType(type) { - type = getReducedApparentType(type); - return type.flags & 3145728 /* UnionOrIntersection */ ? getPropertiesOfUnionOrIntersectionType(type) : getPropertiesOfObjectType(type); - } - function forEachPropertyOfType(type, action) { - type = getReducedApparentType(type); - if (type.flags & 3670016 /* StructuredType */) { - resolveStructuredTypeMembers(type).members.forEach((symbol, escapedName) => { - if (isNamedMember(symbol, escapedName)) { - action(symbol, escapedName); - } - }); - } - } - function isTypeInvalidDueToUnionDiscriminant(contextualType, obj) { - const list = obj.properties; - return list.some((property) => { - const nameType = property.name && (isJsxNamespacedName(property.name) ? getStringLiteralType(getTextOfJsxAttributeName(property.name)) : getLiteralTypeFromPropertyName(property.name)); - const name = nameType && isTypeUsableAsPropertyName(nameType) ? getPropertyNameFromType(nameType) : void 0; - const expected = name === void 0 ? void 0 : getTypeOfPropertyOfType(contextualType, name); - return !!expected && isLiteralType(expected) && !isTypeAssignableTo(getTypeOfNode(property), expected); - }); - } - function getAllPossiblePropertiesOfTypes(types) { - const unionType = getUnionType(types); - if (!(unionType.flags & 1048576 /* Union */)) { - return getAugmentedPropertiesOfType(unionType); - } - const props = createSymbolTable(); - for (const memberType of types) { - for (const { escapedName } of getAugmentedPropertiesOfType(memberType)) { - if (!props.has(escapedName)) { - const prop = createUnionOrIntersectionProperty(unionType, escapedName); - if (prop) props.set(escapedName, prop); - } - } - } - return arrayFrom(props.values()); - } - function getConstraintOfType(type) { - return type.flags & 262144 /* TypeParameter */ ? getConstraintOfTypeParameter(type) : type.flags & 8388608 /* IndexedAccess */ ? getConstraintOfIndexedAccess(type) : type.flags & 16777216 /* Conditional */ ? getConstraintOfConditionalType(type) : getBaseConstraintOfType(type); - } - function getConstraintOfTypeParameter(typeParameter) { - return hasNonCircularBaseConstraint(typeParameter) ? getConstraintFromTypeParameter(typeParameter) : void 0; - } - function isConstMappedType(type, depth) { - const typeVariable = getHomomorphicTypeVariable(type); - return !!typeVariable && isConstTypeVariable(typeVariable, depth); - } - function isConstTypeVariable(type, depth = 0) { - var _a; - return depth < 5 && !!(type && (type.flags & 262144 /* TypeParameter */ && some((_a = type.symbol) == null ? void 0 : _a.declarations, (d) => hasSyntacticModifier(d, 4096 /* Const */)) || type.flags & 3145728 /* UnionOrIntersection */ && some(type.types, (t) => isConstTypeVariable(t, depth)) || type.flags & 8388608 /* IndexedAccess */ && isConstTypeVariable(type.objectType, depth + 1) || type.flags & 16777216 /* Conditional */ && isConstTypeVariable(getConstraintOfConditionalType(type), depth + 1) || type.flags & 33554432 /* Substitution */ && isConstTypeVariable(type.baseType, depth) || getObjectFlags(type) & 32 /* Mapped */ && isConstMappedType(type, depth) || isGenericTupleType(type) && findIndex(getElementTypes(type), (t, i) => !!(type.target.elementFlags[i] & 8 /* Variadic */) && isConstTypeVariable(t, depth)) >= 0)); - } - function getConstraintOfIndexedAccess(type) { - return hasNonCircularBaseConstraint(type) ? getConstraintFromIndexedAccess(type) : void 0; - } - function getSimplifiedTypeOrConstraint(type) { - const simplified = getSimplifiedType( - type, - /*writing*/ - false - ); - return simplified !== type ? simplified : getConstraintOfType(type); - } - function getConstraintFromIndexedAccess(type) { - if (isMappedTypeGenericIndexedAccess(type)) { - return substituteIndexedMappedType(type.objectType, type.indexType); - } - const indexConstraint = getSimplifiedTypeOrConstraint(type.indexType); - if (indexConstraint && indexConstraint !== type.indexType) { - const indexedAccess = getIndexedAccessTypeOrUndefined(type.objectType, indexConstraint, type.accessFlags); - if (indexedAccess) { - return indexedAccess; - } - } - const objectConstraint = getSimplifiedTypeOrConstraint(type.objectType); - if (objectConstraint && objectConstraint !== type.objectType) { - return getIndexedAccessTypeOrUndefined(objectConstraint, type.indexType, type.accessFlags); - } - return void 0; - } - function getDefaultConstraintOfConditionalType(type) { - if (!type.resolvedDefaultConstraint) { - const trueConstraint = getInferredTrueTypeFromConditionalType(type); - const falseConstraint = getFalseTypeFromConditionalType(type); - type.resolvedDefaultConstraint = isTypeAny(trueConstraint) ? falseConstraint : isTypeAny(falseConstraint) ? trueConstraint : getUnionType([trueConstraint, falseConstraint]); - } - return type.resolvedDefaultConstraint; - } - function getConstraintOfDistributiveConditionalType(type) { - if (type.resolvedConstraintOfDistributive !== void 0) { - return type.resolvedConstraintOfDistributive || void 0; - } - if (type.root.isDistributive && type.restrictiveInstantiation !== type) { - const simplified = getSimplifiedType( - type.checkType, - /*writing*/ - false - ); - const constraint = simplified === type.checkType ? getConstraintOfType(simplified) : simplified; - if (constraint && constraint !== type.checkType) { - const instantiated = getConditionalTypeInstantiation( - type, - prependTypeMapping(type.root.checkType, constraint, type.mapper), - /*forConstraint*/ - true - ); - if (!(instantiated.flags & 131072 /* Never */)) { - type.resolvedConstraintOfDistributive = instantiated; - return instantiated; - } - } - } - type.resolvedConstraintOfDistributive = false; - return void 0; - } - function getConstraintFromConditionalType(type) { - return getConstraintOfDistributiveConditionalType(type) || getDefaultConstraintOfConditionalType(type); - } - function getConstraintOfConditionalType(type) { - return hasNonCircularBaseConstraint(type) ? getConstraintFromConditionalType(type) : void 0; - } - function getEffectiveConstraintOfIntersection(types, targetIsUnion) { - let constraints; - let hasDisjointDomainType = false; - for (const t of types) { - if (t.flags & 465829888 /* Instantiable */) { - let constraint = getConstraintOfType(t); - while (constraint && constraint.flags & (262144 /* TypeParameter */ | 4194304 /* Index */ | 16777216 /* Conditional */)) { - constraint = getConstraintOfType(constraint); - } - if (constraint) { - constraints = append(constraints, constraint); - if (targetIsUnion) { - constraints = append(constraints, t); - } - } - } else if (t.flags & 469892092 /* DisjointDomains */ || isEmptyAnonymousObjectType(t)) { - hasDisjointDomainType = true; - } - } - if (constraints && (targetIsUnion || hasDisjointDomainType)) { - if (hasDisjointDomainType) { - for (const t of types) { - if (t.flags & 469892092 /* DisjointDomains */ || isEmptyAnonymousObjectType(t)) { - constraints = append(constraints, t); - } - } - } - return getNormalizedType( - getIntersectionType(constraints, 2 /* NoConstraintReduction */), - /*writing*/ - false - ); - } - return void 0; - } - function getBaseConstraintOfType(type) { - if (type.flags & (58982400 /* InstantiableNonPrimitive */ | 3145728 /* UnionOrIntersection */ | 134217728 /* TemplateLiteral */ | 268435456 /* StringMapping */) || isGenericTupleType(type)) { - const constraint = getResolvedBaseConstraint(type); - return constraint !== noConstraintType && constraint !== circularConstraintType ? constraint : void 0; - } - return type.flags & 4194304 /* Index */ ? stringNumberSymbolType : void 0; - } - function getBaseConstraintOrType(type) { - return getBaseConstraintOfType(type) || type; - } - function hasNonCircularBaseConstraint(type) { - return getResolvedBaseConstraint(type) !== circularConstraintType; - } - function getResolvedBaseConstraint(type) { - if (type.resolvedBaseConstraint) { - return type.resolvedBaseConstraint; - } - const stack = []; - return type.resolvedBaseConstraint = getImmediateBaseConstraint(type); - function getImmediateBaseConstraint(t) { - if (!t.immediateBaseConstraint) { - if (!pushTypeResolution(t, 4 /* ImmediateBaseConstraint */)) { - return circularConstraintType; - } - let result; - const identity2 = getRecursionIdentity(t); - if (stack.length < 10 || stack.length < 50 && !contains(stack, identity2)) { - stack.push(identity2); - result = computeBaseConstraint(getSimplifiedType( - t, - /*writing*/ - false - )); - stack.pop(); - } - if (!popTypeResolution()) { - if (t.flags & 262144 /* TypeParameter */) { - const errorNode = getConstraintDeclaration(t); - if (errorNode) { - const diagnostic = error(errorNode, Diagnostics.Type_parameter_0_has_a_circular_constraint, typeToString(t)); - if (currentNode && !isNodeDescendantOf(errorNode, currentNode) && !isNodeDescendantOf(currentNode, errorNode)) { - addRelatedInfo(diagnostic, createDiagnosticForNode(currentNode, Diagnostics.Circularity_originates_in_type_at_this_location)); - } - } - } - result = circularConstraintType; - } - t.immediateBaseConstraint ?? (t.immediateBaseConstraint = result || noConstraintType); - } - return t.immediateBaseConstraint; - } - function getBaseConstraint(t) { - const c = getImmediateBaseConstraint(t); - return c !== noConstraintType && c !== circularConstraintType ? c : void 0; - } - function computeBaseConstraint(t) { - if (t.flags & 262144 /* TypeParameter */) { - const constraint = getConstraintFromTypeParameter(t); - return t.isThisType || !constraint ? constraint : getBaseConstraint(constraint); - } - if (t.flags & 3145728 /* UnionOrIntersection */) { - const types = t.types; - const baseTypes = []; - let different = false; - for (const type2 of types) { - const baseType = getBaseConstraint(type2); - if (baseType) { - if (baseType !== type2) { - different = true; - } - baseTypes.push(baseType); - } else { - different = true; - } - } - if (!different) { - return t; - } - return t.flags & 1048576 /* Union */ && baseTypes.length === types.length ? getUnionType(baseTypes) : t.flags & 2097152 /* Intersection */ && baseTypes.length ? getIntersectionType(baseTypes) : void 0; - } - if (t.flags & 4194304 /* Index */) { - return stringNumberSymbolType; - } - if (t.flags & 134217728 /* TemplateLiteral */) { - const types = t.types; - const constraints = mapDefined(types, getBaseConstraint); - return constraints.length === types.length ? getTemplateLiteralType(t.texts, constraints) : stringType; - } - if (t.flags & 268435456 /* StringMapping */) { - const constraint = getBaseConstraint(t.type); - return constraint && constraint !== t.type ? getStringMappingType(t.symbol, constraint) : stringType; - } - if (t.flags & 8388608 /* IndexedAccess */) { - if (isMappedTypeGenericIndexedAccess(t)) { - return getBaseConstraint(substituteIndexedMappedType(t.objectType, t.indexType)); - } - const baseObjectType = getBaseConstraint(t.objectType); - const baseIndexType = getBaseConstraint(t.indexType); - const baseIndexedAccess = baseObjectType && baseIndexType && getIndexedAccessTypeOrUndefined(baseObjectType, baseIndexType, t.accessFlags); - return baseIndexedAccess && getBaseConstraint(baseIndexedAccess); - } - if (t.flags & 16777216 /* Conditional */) { - const constraint = getConstraintFromConditionalType(t); - return constraint && getBaseConstraint(constraint); - } - if (t.flags & 33554432 /* Substitution */) { - return getBaseConstraint(getSubstitutionIntersection(t)); - } - if (isGenericTupleType(t)) { - const newElements = map(getElementTypes(t), (v, i) => { - const constraint = v.flags & 262144 /* TypeParameter */ && t.target.elementFlags[i] & 8 /* Variadic */ && getBaseConstraint(v) || v; - return constraint !== v && everyType(constraint, (c) => isArrayOrTupleType(c) && !isGenericTupleType(c)) ? constraint : v; - }); - return createTupleType(newElements, t.target.elementFlags, t.target.readonly, t.target.labeledElementDeclarations); - } - return t; - } - } - function getApparentTypeOfIntersectionType(type, thisArgument) { - if (type === thisArgument) { - return type.resolvedApparentType || (type.resolvedApparentType = getTypeWithThisArgument( - type, - thisArgument, - /*needApparentType*/ - true - )); - } - const key = `I${getTypeId(type)},${getTypeId(thisArgument)}`; - return getCachedType(key) ?? setCachedType(key, getTypeWithThisArgument( - type, - thisArgument, - /*needApparentType*/ - true - )); - } - function getResolvedTypeParameterDefault(typeParameter) { - if (!typeParameter.default) { - if (typeParameter.target) { - const targetDefault = getResolvedTypeParameterDefault(typeParameter.target); - typeParameter.default = targetDefault ? instantiateType(targetDefault, typeParameter.mapper) : noConstraintType; - } else { - typeParameter.default = resolvingDefaultType; - const defaultDeclaration = typeParameter.symbol && forEach(typeParameter.symbol.declarations, (decl) => isTypeParameterDeclaration(decl) && decl.default); - const defaultType = defaultDeclaration ? getTypeFromTypeNode(defaultDeclaration) : noConstraintType; - if (typeParameter.default === resolvingDefaultType) { - typeParameter.default = defaultType; - } - } - } else if (typeParameter.default === resolvingDefaultType) { - typeParameter.default = circularConstraintType; - } - return typeParameter.default; - } - function getDefaultFromTypeParameter(typeParameter) { - const defaultType = getResolvedTypeParameterDefault(typeParameter); - return defaultType !== noConstraintType && defaultType !== circularConstraintType ? defaultType : void 0; - } - function hasNonCircularTypeParameterDefault(typeParameter) { - return getResolvedTypeParameterDefault(typeParameter) !== circularConstraintType; - } - function hasTypeParameterDefault(typeParameter) { - return !!(typeParameter.symbol && forEach(typeParameter.symbol.declarations, (decl) => isTypeParameterDeclaration(decl) && decl.default)); - } - function getApparentTypeOfMappedType(type) { - return type.resolvedApparentType || (type.resolvedApparentType = getResolvedApparentTypeOfMappedType(type)); - } - function getResolvedApparentTypeOfMappedType(type) { - const target = type.target ?? type; - const typeVariable = getHomomorphicTypeVariable(target); - if (typeVariable && !target.declaration.nameType) { - const modifiersType = getModifiersTypeFromMappedType(type); - const baseConstraint = isGenericMappedType(modifiersType) ? getApparentTypeOfMappedType(modifiersType) : getBaseConstraintOfType(modifiersType); - if (baseConstraint && everyType(baseConstraint, (t) => isArrayOrTupleType(t) || isArrayOrTupleOrIntersection(t))) { - return instantiateType(target, prependTypeMapping(typeVariable, baseConstraint, type.mapper)); - } - } - return type; - } - function isArrayOrTupleOrIntersection(type) { - return !!(type.flags & 2097152 /* Intersection */) && every(type.types, isArrayOrTupleType); - } - function isMappedTypeGenericIndexedAccess(type) { - let objectType; - return !!(type.flags & 8388608 /* IndexedAccess */ && getObjectFlags(objectType = type.objectType) & 32 /* Mapped */ && !isGenericMappedType(objectType) && isGenericIndexType(type.indexType) && !(getMappedTypeModifiers(objectType) & 8 /* ExcludeOptional */) && !objectType.declaration.nameType); - } - function getApparentType(type) { - const t = type.flags & 465829888 /* Instantiable */ ? getBaseConstraintOfType(type) || unknownType : type; - const objectFlags = getObjectFlags(t); - return objectFlags & 32 /* Mapped */ ? getApparentTypeOfMappedType(t) : objectFlags & 4 /* Reference */ && t !== type ? getTypeWithThisArgument(t, type) : t.flags & 2097152 /* Intersection */ ? getApparentTypeOfIntersectionType(t, type) : t.flags & 402653316 /* StringLike */ ? globalStringType : t.flags & 296 /* NumberLike */ ? globalNumberType : t.flags & 2112 /* BigIntLike */ ? getGlobalBigIntType() : t.flags & 528 /* BooleanLike */ ? globalBooleanType : t.flags & 12288 /* ESSymbolLike */ ? getGlobalESSymbolType() : t.flags & 67108864 /* NonPrimitive */ ? emptyObjectType : t.flags & 4194304 /* Index */ ? stringNumberSymbolType : t.flags & 2 /* Unknown */ && !strictNullChecks ? emptyObjectType : t; - } - function getReducedApparentType(type) { - return getReducedType(getApparentType(getReducedType(type))); - } - function createUnionOrIntersectionProperty(containingType, name, skipObjectFunctionPropertyAugment) { - var _a, _b, _c; - let singleProp; - let propSet; - let indexTypes; - const isUnion = containingType.flags & 1048576 /* Union */; - let optionalFlag; - let syntheticFlag = 4 /* SyntheticMethod */; - let checkFlags = isUnion ? 0 : 8 /* Readonly */; - let mergedInstantiations = false; - for (const current of containingType.types) { - const type = getApparentType(current); - if (!(isErrorType(type) || type.flags & 131072 /* Never */)) { - const prop = getPropertyOfType(type, name, skipObjectFunctionPropertyAugment); - const modifiers = prop ? getDeclarationModifierFlagsFromSymbol(prop) : 0; - if (prop) { - if (prop.flags & 106500 /* ClassMember */) { - optionalFlag ?? (optionalFlag = isUnion ? 0 /* None */ : 16777216 /* Optional */); - if (isUnion) { - optionalFlag |= prop.flags & 16777216 /* Optional */; - } else { - optionalFlag &= prop.flags; - } - } - if (!singleProp) { - singleProp = prop; - } else if (prop !== singleProp) { - const isInstantiation = (getTargetSymbol(prop) || prop) === (getTargetSymbol(singleProp) || singleProp); - if (isInstantiation && compareProperties(singleProp, prop, (a, b) => a === b ? -1 /* True */ : 0 /* False */) === -1 /* True */) { - mergedInstantiations = !!singleProp.parent && !!length(getLocalTypeParametersOfClassOrInterfaceOrTypeAlias(singleProp.parent)); - } else { - if (!propSet) { - propSet = /* @__PURE__ */ new Map(); - propSet.set(getSymbolId(singleProp), singleProp); - } - const id = getSymbolId(prop); - if (!propSet.has(id)) { - propSet.set(id, prop); - } - } - } - if (isUnion && isReadonlySymbol(prop)) { - checkFlags |= 8 /* Readonly */; - } else if (!isUnion && !isReadonlySymbol(prop)) { - checkFlags &= ~8 /* Readonly */; - } - checkFlags |= (!(modifiers & 6 /* NonPublicAccessibilityModifier */) ? 256 /* ContainsPublic */ : 0) | (modifiers & 4 /* Protected */ ? 512 /* ContainsProtected */ : 0) | (modifiers & 2 /* Private */ ? 1024 /* ContainsPrivate */ : 0) | (modifiers & 256 /* Static */ ? 2048 /* ContainsStatic */ : 0); - if (!isPrototypeProperty(prop)) { - syntheticFlag = 2 /* SyntheticProperty */; - } - } else if (isUnion) { - const indexInfo = !isLateBoundName(name) && getApplicableIndexInfoForName(type, name); - if (indexInfo) { - checkFlags |= 32 /* WritePartial */ | (indexInfo.isReadonly ? 8 /* Readonly */ : 0); - indexTypes = append(indexTypes, isTupleType(type) ? getRestTypeOfTupleType(type) || undefinedType : indexInfo.type); - } else if (isObjectLiteralType(type) && !(getObjectFlags(type) & 2097152 /* ContainsSpread */)) { - checkFlags |= 32 /* WritePartial */; - indexTypes = append(indexTypes, undefinedType); - } else { - checkFlags |= 16 /* ReadPartial */; - } - } - } - } - if (!singleProp || isUnion && (propSet || checkFlags & 48 /* Partial */) && checkFlags & (1024 /* ContainsPrivate */ | 512 /* ContainsProtected */) && !(propSet && getCommonDeclarationsOfSymbols(propSet.values()))) { - return void 0; - } - if (!propSet && !(checkFlags & 16 /* ReadPartial */) && !indexTypes) { - if (mergedInstantiations) { - const links = (_a = tryCast(singleProp, isTransientSymbol)) == null ? void 0 : _a.links; - const clone = createSymbolWithType(singleProp, links == null ? void 0 : links.type); - clone.parent = (_c = (_b = singleProp.valueDeclaration) == null ? void 0 : _b.symbol) == null ? void 0 : _c.parent; - clone.links.containingType = containingType; - clone.links.mapper = links == null ? void 0 : links.mapper; - clone.links.writeType = getWriteTypeOfSymbol(singleProp); - return clone; - } else { - return singleProp; - } - } - const props = propSet ? arrayFrom(propSet.values()) : [singleProp]; - let declarations; - let firstType; - let nameType; - const propTypes = []; - let writeTypes; - let firstValueDeclaration; - let hasNonUniformValueDeclaration = false; - for (const prop of props) { - if (!firstValueDeclaration) { - firstValueDeclaration = prop.valueDeclaration; - } else if (prop.valueDeclaration && prop.valueDeclaration !== firstValueDeclaration) { - hasNonUniformValueDeclaration = true; - } - declarations = addRange(declarations, prop.declarations); - const type = getTypeOfSymbol(prop); - if (!firstType) { - firstType = type; - nameType = getSymbolLinks(prop).nameType; - } - const writeType = getWriteTypeOfSymbol(prop); - if (writeTypes || writeType !== type) { - writeTypes = append(!writeTypes ? propTypes.slice() : writeTypes, writeType); - } - if (type !== firstType) { - checkFlags |= 64 /* HasNonUniformType */; - } - if (isLiteralType(type) || isPatternLiteralType(type)) { - checkFlags |= 128 /* HasLiteralType */; - } - if (type.flags & 131072 /* Never */ && type !== uniqueLiteralType) { - checkFlags |= 131072 /* HasNeverType */; - } - propTypes.push(type); - } - addRange(propTypes, indexTypes); - const result = createSymbol(4 /* Property */ | (optionalFlag ?? 0), name, syntheticFlag | checkFlags); - result.links.containingType = containingType; - if (!hasNonUniformValueDeclaration && firstValueDeclaration) { - result.valueDeclaration = firstValueDeclaration; - if (firstValueDeclaration.symbol.parent) { - result.parent = firstValueDeclaration.symbol.parent; - } - } - result.declarations = declarations; - result.links.nameType = nameType; - if (propTypes.length > 2) { - result.links.checkFlags |= 65536 /* DeferredType */; - result.links.deferralParent = containingType; - result.links.deferralConstituents = propTypes; - result.links.deferralWriteConstituents = writeTypes; - } else { - result.links.type = isUnion ? getUnionType(propTypes) : getIntersectionType(propTypes); - if (writeTypes) { - result.links.writeType = isUnion ? getUnionType(writeTypes) : getIntersectionType(writeTypes); - } - } - return result; - } - function getUnionOrIntersectionProperty(type, name, skipObjectFunctionPropertyAugment) { - var _a, _b, _c; - let property = skipObjectFunctionPropertyAugment ? (_a = type.propertyCacheWithoutObjectFunctionPropertyAugment) == null ? void 0 : _a.get(name) : (_b = type.propertyCache) == null ? void 0 : _b.get(name); - if (!property) { - property = createUnionOrIntersectionProperty(type, name, skipObjectFunctionPropertyAugment); - if (property) { - const properties = skipObjectFunctionPropertyAugment ? type.propertyCacheWithoutObjectFunctionPropertyAugment || (type.propertyCacheWithoutObjectFunctionPropertyAugment = createSymbolTable()) : type.propertyCache || (type.propertyCache = createSymbolTable()); - properties.set(name, property); - if (skipObjectFunctionPropertyAugment && !(getCheckFlags(property) & 48 /* Partial */) && !((_c = type.propertyCache) == null ? void 0 : _c.get(name))) { - const properties2 = type.propertyCache || (type.propertyCache = createSymbolTable()); - properties2.set(name, property); - } - } - } - return property; - } - function getCommonDeclarationsOfSymbols(symbols) { - let commonDeclarations; - for (const symbol of symbols) { - if (!symbol.declarations) { - return void 0; - } - if (!commonDeclarations) { - commonDeclarations = new Set(symbol.declarations); - continue; - } - commonDeclarations.forEach((declaration) => { - if (!contains(symbol.declarations, declaration)) { - commonDeclarations.delete(declaration); - } - }); - if (commonDeclarations.size === 0) { - return void 0; - } - } - return commonDeclarations; - } - function getPropertyOfUnionOrIntersectionType(type, name, skipObjectFunctionPropertyAugment) { - const property = getUnionOrIntersectionProperty(type, name, skipObjectFunctionPropertyAugment); - return property && !(getCheckFlags(property) & 16 /* ReadPartial */) ? property : void 0; - } - function getReducedType(type) { - if (type.flags & 1048576 /* Union */ && type.objectFlags & 16777216 /* ContainsIntersections */) { - return type.resolvedReducedType || (type.resolvedReducedType = getReducedUnionType(type)); - } else if (type.flags & 2097152 /* Intersection */) { - if (!(type.objectFlags & 16777216 /* IsNeverIntersectionComputed */)) { - type.objectFlags |= 16777216 /* IsNeverIntersectionComputed */ | (some(getPropertiesOfUnionOrIntersectionType(type), isNeverReducedProperty) ? 33554432 /* IsNeverIntersection */ : 0); - } - return type.objectFlags & 33554432 /* IsNeverIntersection */ ? neverType : type; - } - return type; - } - function getReducedUnionType(unionType) { - const reducedTypes = sameMap(unionType.types, getReducedType); - if (reducedTypes === unionType.types) { - return unionType; - } - const reduced = getUnionType(reducedTypes); - if (reduced.flags & 1048576 /* Union */) { - reduced.resolvedReducedType = reduced; - } - return reduced; - } - function isNeverReducedProperty(prop) { - return isDiscriminantWithNeverType(prop) || isConflictingPrivateProperty(prop); - } - function isDiscriminantWithNeverType(prop) { - return !(prop.flags & 16777216 /* Optional */) && (getCheckFlags(prop) & (192 /* Discriminant */ | 131072 /* HasNeverType */)) === 192 /* Discriminant */ && !!(getTypeOfSymbol(prop).flags & 131072 /* Never */); - } - function isConflictingPrivateProperty(prop) { - return !prop.valueDeclaration && !!(getCheckFlags(prop) & 1024 /* ContainsPrivate */); - } - function isGenericReducibleType(type) { - return !!(type.flags & 1048576 /* Union */ && type.objectFlags & 16777216 /* ContainsIntersections */ && some(type.types, isGenericReducibleType) || type.flags & 2097152 /* Intersection */ && isReducibleIntersection(type)); - } - function isReducibleIntersection(type) { - const uniqueFilled = type.uniqueLiteralFilledInstantiation || (type.uniqueLiteralFilledInstantiation = instantiateType(type, uniqueLiteralMapper)); - return getReducedType(uniqueFilled) !== uniqueFilled; - } - function elaborateNeverIntersection(errorInfo, type) { - if (type.flags & 2097152 /* Intersection */ && getObjectFlags(type) & 33554432 /* IsNeverIntersection */) { - const neverProp = find(getPropertiesOfUnionOrIntersectionType(type), isDiscriminantWithNeverType); - if (neverProp) { - return chainDiagnosticMessages(errorInfo, Diagnostics.The_intersection_0_was_reduced_to_never_because_property_1_has_conflicting_types_in_some_constituents, typeToString( - type, - /*enclosingDeclaration*/ - void 0, - 536870912 /* NoTypeReduction */ - ), symbolToString(neverProp)); - } - const privateProp = find(getPropertiesOfUnionOrIntersectionType(type), isConflictingPrivateProperty); - if (privateProp) { - return chainDiagnosticMessages(errorInfo, Diagnostics.The_intersection_0_was_reduced_to_never_because_property_1_exists_in_multiple_constituents_and_is_private_in_some, typeToString( - type, - /*enclosingDeclaration*/ - void 0, - 536870912 /* NoTypeReduction */ - ), symbolToString(privateProp)); - } - } - return errorInfo; - } - function getPropertyOfType(type, name, skipObjectFunctionPropertyAugment, includeTypeOnlyMembers) { - var _a, _b; - type = getReducedApparentType(type); - if (type.flags & 524288 /* Object */) { - const resolved = resolveStructuredTypeMembers(type); - const symbol = resolved.members.get(name); - if (symbol && !includeTypeOnlyMembers && ((_a = type.symbol) == null ? void 0 : _a.flags) & 512 /* ValueModule */ && ((_b = getSymbolLinks(type.symbol).typeOnlyExportStarMap) == null ? void 0 : _b.has(name))) { - return void 0; - } - if (symbol && symbolIsValue(symbol, includeTypeOnlyMembers)) { - return symbol; - } - if (skipObjectFunctionPropertyAugment) return void 0; - const functionType = resolved === anyFunctionType ? globalFunctionType : resolved.callSignatures.length ? globalCallableFunctionType : resolved.constructSignatures.length ? globalNewableFunctionType : void 0; - if (functionType) { - const symbol2 = getPropertyOfObjectType(functionType, name); - if (symbol2) { - return symbol2; - } - } - return getPropertyOfObjectType(globalObjectType, name); - } - if (type.flags & 2097152 /* Intersection */) { - const prop = getPropertyOfUnionOrIntersectionType( - type, - name, - /*skipObjectFunctionPropertyAugment*/ - true - ); - if (prop) { - return prop; - } - if (!skipObjectFunctionPropertyAugment) { - return getPropertyOfUnionOrIntersectionType(type, name, skipObjectFunctionPropertyAugment); - } - return void 0; - } - if (type.flags & 1048576 /* Union */) { - return getPropertyOfUnionOrIntersectionType(type, name, skipObjectFunctionPropertyAugment); - } - return void 0; - } - function getSignaturesOfStructuredType(type, kind) { - if (type.flags & 3670016 /* StructuredType */) { - const resolved = resolveStructuredTypeMembers(type); - return kind === 0 /* Call */ ? resolved.callSignatures : resolved.constructSignatures; - } - return emptyArray; - } - function getSignaturesOfType(type, kind) { - const result = getSignaturesOfStructuredType(getReducedApparentType(type), kind); - if (kind === 0 /* Call */ && !length(result) && type.flags & 1048576 /* Union */) { - if (type.arrayFallbackSignatures) { - return type.arrayFallbackSignatures; - } - let memberName; - if (everyType(type, (t) => { - var _a; - return !!((_a = t.symbol) == null ? void 0 : _a.parent) && isArrayOrTupleSymbol(t.symbol.parent) && (!memberName ? (memberName = t.symbol.escapedName, true) : memberName === t.symbol.escapedName); - })) { - const arrayArg = mapType(type, (t) => getMappedType((isReadonlyArraySymbol(t.symbol.parent) ? globalReadonlyArrayType : globalArrayType).typeParameters[0], t.mapper)); - const arrayType = createArrayType(arrayArg, someType(type, (t) => isReadonlyArraySymbol(t.symbol.parent))); - return type.arrayFallbackSignatures = getSignaturesOfType(getTypeOfPropertyOfType(arrayType, memberName), kind); - } - type.arrayFallbackSignatures = result; - } - return result; - } - function isArrayOrTupleSymbol(symbol) { - if (!symbol || !globalArrayType.symbol || !globalReadonlyArrayType.symbol) { - return false; - } - return !!getSymbolIfSameReference(symbol, globalArrayType.symbol) || !!getSymbolIfSameReference(symbol, globalReadonlyArrayType.symbol); - } - function isReadonlyArraySymbol(symbol) { - if (!symbol || !globalReadonlyArrayType.symbol) { - return false; - } - return !!getSymbolIfSameReference(symbol, globalReadonlyArrayType.symbol); - } - function findIndexInfo(indexInfos, keyType) { - return find(indexInfos, (info) => info.keyType === keyType); - } - function findApplicableIndexInfo(indexInfos, keyType) { - let stringIndexInfo; - let applicableInfo; - let applicableInfos; - for (const info of indexInfos) { - if (info.keyType === stringType) { - stringIndexInfo = info; - } else if (isApplicableIndexType(keyType, info.keyType)) { - if (!applicableInfo) { - applicableInfo = info; - } else { - (applicableInfos || (applicableInfos = [applicableInfo])).push(info); - } - } - } - return applicableInfos ? createIndexInfo(unknownType, getIntersectionType(map(applicableInfos, (info) => info.type)), reduceLeft( - applicableInfos, - (isReadonly, info) => isReadonly && info.isReadonly, - /*initial*/ - true - )) : applicableInfo ? applicableInfo : stringIndexInfo && isApplicableIndexType(keyType, stringType) ? stringIndexInfo : void 0; - } - function isApplicableIndexType(source, target) { - return isTypeAssignableTo(source, target) || target === stringType && isTypeAssignableTo(source, numberType) || target === numberType && (source === numericStringType || !!(source.flags & 128 /* StringLiteral */) && isNumericLiteralName(source.value)); - } - function getIndexInfosOfStructuredType(type) { - if (type.flags & 3670016 /* StructuredType */) { - const resolved = resolveStructuredTypeMembers(type); - return resolved.indexInfos; - } - return emptyArray; - } - function getIndexInfosOfType(type) { - return getIndexInfosOfStructuredType(getReducedApparentType(type)); - } - function getIndexInfoOfType(type, keyType) { - return findIndexInfo(getIndexInfosOfType(type), keyType); - } - function getIndexTypeOfType(type, keyType) { - var _a; - return (_a = getIndexInfoOfType(type, keyType)) == null ? void 0 : _a.type; - } - function getApplicableIndexInfos(type, keyType) { - return getIndexInfosOfType(type).filter((info) => isApplicableIndexType(keyType, info.keyType)); - } - function getApplicableIndexInfo(type, keyType) { - return findApplicableIndexInfo(getIndexInfosOfType(type), keyType); - } - function getApplicableIndexInfoForName(type, name) { - return getApplicableIndexInfo(type, isLateBoundName(name) ? esSymbolType : getStringLiteralType(unescapeLeadingUnderscores(name))); - } - function getTypeParametersFromDeclaration(declaration) { - var _a; - let result; - for (const node of getEffectiveTypeParameterDeclarations(declaration)) { - result = appendIfUnique(result, getDeclaredTypeOfTypeParameter(node.symbol)); - } - return (result == null ? void 0 : result.length) ? result : isFunctionDeclaration(declaration) ? (_a = getSignatureOfTypeTag(declaration)) == null ? void 0 : _a.typeParameters : void 0; - } - function symbolsToArray(symbols) { - const result = []; - symbols.forEach((symbol, id) => { - if (!isReservedMemberName(id)) { - result.push(symbol); - } - }); - return result; - } - function tryFindAmbientModule(moduleName, withAugmentations) { - if (isExternalModuleNameRelative(moduleName)) { - return void 0; - } - const symbol = getSymbol(globals, '"' + moduleName + '"', 512 /* ValueModule */); - return symbol && withAugmentations ? getMergedSymbol(symbol) : symbol; - } - function hasEffectiveQuestionToken(node) { - return hasQuestionToken(node) || isOptionalJSDocPropertyLikeTag(node) || isParameter(node) && isJSDocOptionalParameter(node); - } - function isOptionalParameter(node) { - if (hasEffectiveQuestionToken(node)) { - return true; - } - if (!isParameter(node)) { - return false; - } - if (node.initializer) { - const signature = getSignatureFromDeclaration(node.parent); - const parameterIndex = node.parent.parameters.indexOf(node); - Debug.assert(parameterIndex >= 0); - return parameterIndex >= getMinArgumentCount(signature, 1 /* StrongArityForUntypedJS */ | 2 /* VoidIsNonOptional */); - } - const iife = getImmediatelyInvokedFunctionExpression(node.parent); - if (iife) { - return !node.type && !node.dotDotDotToken && node.parent.parameters.indexOf(node) >= getEffectiveCallArguments(iife).length; - } - return false; - } - function isOptionalPropertyDeclaration(node) { - return isPropertyDeclaration(node) && !hasAccessorModifier(node) && node.questionToken; - } - function createTypePredicate(kind, parameterName, parameterIndex, type) { - return { kind, parameterName, parameterIndex, type }; - } - function getMinTypeArgumentCount(typeParameters) { - let minTypeArgumentCount = 0; - if (typeParameters) { - for (let i = 0; i < typeParameters.length; i++) { - if (!hasTypeParameterDefault(typeParameters[i])) { - minTypeArgumentCount = i + 1; - } - } - } - return minTypeArgumentCount; - } - function fillMissingTypeArguments(typeArguments, typeParameters, minTypeArgumentCount, isJavaScriptImplicitAny) { - const numTypeParameters = length(typeParameters); - if (!numTypeParameters) { - return []; - } - const numTypeArguments = length(typeArguments); - if (isJavaScriptImplicitAny || numTypeArguments >= minTypeArgumentCount && numTypeArguments <= numTypeParameters) { - const result = typeArguments ? typeArguments.slice() : []; - for (let i = numTypeArguments; i < numTypeParameters; i++) { - result[i] = errorType; - } - const baseDefaultType = getDefaultTypeArgumentType(isJavaScriptImplicitAny); - for (let i = numTypeArguments; i < numTypeParameters; i++) { - let defaultType = getDefaultFromTypeParameter(typeParameters[i]); - if (isJavaScriptImplicitAny && defaultType && (isTypeIdenticalTo(defaultType, unknownType) || isTypeIdenticalTo(defaultType, emptyObjectType))) { - defaultType = anyType; - } - result[i] = defaultType ? instantiateType(defaultType, createTypeMapper(typeParameters, result)) : baseDefaultType; - } - result.length = typeParameters.length; - return result; - } - return typeArguments && typeArguments.slice(); - } - function getSignatureFromDeclaration(declaration) { - const links = getNodeLinks(declaration); - if (!links.resolvedSignature) { - const parameters = []; - let flags = 0 /* None */; - let minArgumentCount = 0; - let thisParameter; - let thisTag = isInJSFile(declaration) ? getJSDocThisTag(declaration) : void 0; - let hasThisParameter = false; - const iife = getImmediatelyInvokedFunctionExpression(declaration); - const isJSConstructSignature = isJSDocConstructSignature(declaration); - const isUntypedSignatureInJSFile = !iife && isInJSFile(declaration) && isValueSignatureDeclaration(declaration) && !hasJSDocParameterTags(declaration) && !getJSDocType(declaration); - if (isUntypedSignatureInJSFile) { - flags |= 32 /* IsUntypedSignatureInJSFile */; - } - for (let i = isJSConstructSignature ? 1 : 0; i < declaration.parameters.length; i++) { - const param = declaration.parameters[i]; - if (isInJSFile(param) && isJSDocThisTag(param)) { - thisTag = param; - continue; - } - let paramSymbol = param.symbol; - const type = isJSDocParameterTag(param) ? param.typeExpression && param.typeExpression.type : param.type; - if (paramSymbol && !!(paramSymbol.flags & 4 /* Property */) && !isBindingPattern(param.name)) { - const resolvedSymbol = resolveName( - param, - paramSymbol.escapedName, - 111551 /* Value */, - /*nameNotFoundMessage*/ - void 0, - /*isUse*/ - false - ); - paramSymbol = resolvedSymbol; - } - if (i === 0 && paramSymbol.escapedName === "this" /* This */) { - hasThisParameter = true; - thisParameter = param.symbol; - } else { - parameters.push(paramSymbol); - } - if (type && type.kind === 201 /* LiteralType */) { - flags |= 2 /* HasLiteralTypes */; - } - const isOptionalParameter2 = hasEffectiveQuestionToken(param) || isParameter(param) && param.initializer || isRestParameter(param) || iife && parameters.length > iife.arguments.length && !type; - if (!isOptionalParameter2) { - minArgumentCount = parameters.length; - } - } - if ((declaration.kind === 177 /* GetAccessor */ || declaration.kind === 178 /* SetAccessor */) && hasBindableName(declaration) && (!hasThisParameter || !thisParameter)) { - const otherKind = declaration.kind === 177 /* GetAccessor */ ? 178 /* SetAccessor */ : 177 /* GetAccessor */; - const other = getDeclarationOfKind(getSymbolOfDeclaration(declaration), otherKind); - if (other) { - thisParameter = getAnnotatedAccessorThisParameter(other); - } - } - if (thisTag && thisTag.typeExpression) { - thisParameter = createSymbolWithType(createSymbol(1 /* FunctionScopedVariable */, "this" /* This */), getTypeFromTypeNode(thisTag.typeExpression)); - } - const hostDeclaration = isJSDocSignature(declaration) ? getEffectiveJSDocHost(declaration) : declaration; - const classType = hostDeclaration && isConstructorDeclaration(hostDeclaration) ? getDeclaredTypeOfClassOrInterface(getMergedSymbol(hostDeclaration.parent.symbol)) : void 0; - const typeParameters = classType ? classType.localTypeParameters : getTypeParametersFromDeclaration(declaration); - if (hasRestParameter(declaration) || isInJSFile(declaration) && maybeAddJsSyntheticRestParameter(declaration, parameters)) { - flags |= 1 /* HasRestParameter */; - } - if (isConstructorTypeNode(declaration) && hasSyntacticModifier(declaration, 64 /* Abstract */) || isConstructorDeclaration(declaration) && hasSyntacticModifier(declaration.parent, 64 /* Abstract */)) { - flags |= 4 /* Abstract */; - } - links.resolvedSignature = createSignature( - declaration, - typeParameters, - thisParameter, - parameters, - /*resolvedReturnType*/ - void 0, - /*resolvedTypePredicate*/ - void 0, - minArgumentCount, - flags - ); - } - return links.resolvedSignature; - } - function maybeAddJsSyntheticRestParameter(declaration, parameters) { - if (isJSDocSignature(declaration) || !containsArgumentsReference(declaration)) { - return false; - } - const lastParam = lastOrUndefined(declaration.parameters); - const lastParamTags = lastParam ? getJSDocParameterTags(lastParam) : getJSDocTags(declaration).filter(isJSDocParameterTag); - const lastParamVariadicType = firstDefined(lastParamTags, (p) => p.typeExpression && isJSDocVariadicType(p.typeExpression.type) ? p.typeExpression.type : void 0); - const syntheticArgsSymbol = createSymbol(3 /* Variable */, "args", 32768 /* RestParameter */); - if (lastParamVariadicType) { - syntheticArgsSymbol.links.type = createArrayType(getTypeFromTypeNode(lastParamVariadicType.type)); - } else { - syntheticArgsSymbol.links.checkFlags |= 65536 /* DeferredType */; - syntheticArgsSymbol.links.deferralParent = neverType; - syntheticArgsSymbol.links.deferralConstituents = [anyArrayType]; - syntheticArgsSymbol.links.deferralWriteConstituents = [anyArrayType]; - } - if (lastParamVariadicType) { - parameters.pop(); - } - parameters.push(syntheticArgsSymbol); - return true; - } - function getSignatureOfTypeTag(node) { - if (!(isInJSFile(node) && isFunctionLikeDeclaration(node))) return void 0; - const typeTag = getJSDocTypeTag(node); - return (typeTag == null ? void 0 : typeTag.typeExpression) && getSingleCallSignature(getTypeFromTypeNode(typeTag.typeExpression)); - } - function getParameterTypeOfTypeTag(func, parameter) { - const signature = getSignatureOfTypeTag(func); - if (!signature) return void 0; - const pos = func.parameters.indexOf(parameter); - return parameter.dotDotDotToken ? getRestTypeAtPosition(signature, pos) : getTypeAtPosition(signature, pos); - } - function getReturnTypeOfTypeTag(node) { - const signature = getSignatureOfTypeTag(node); - return signature && getReturnTypeOfSignature(signature); - } - function containsArgumentsReference(declaration) { - const links = getNodeLinks(declaration); - if (links.containsArgumentsReference === void 0) { - if (links.flags & 512 /* CaptureArguments */) { - links.containsArgumentsReference = true; - } else { - links.containsArgumentsReference = traverse(declaration.body); - } - } - return links.containsArgumentsReference; - function traverse(node) { - if (!node) return false; - switch (node.kind) { - case 80 /* Identifier */: - return node.escapedText === argumentsSymbol.escapedName && getReferencedValueSymbol(node) === argumentsSymbol; - case 172 /* PropertyDeclaration */: - case 174 /* MethodDeclaration */: - case 177 /* GetAccessor */: - case 178 /* SetAccessor */: - return node.name.kind === 167 /* ComputedPropertyName */ && traverse(node.name); - case 211 /* PropertyAccessExpression */: - case 212 /* ElementAccessExpression */: - return traverse(node.expression); - case 303 /* PropertyAssignment */: - return traverse(node.initializer); - default: - return !nodeStartsNewLexicalEnvironment(node) && !isPartOfTypeNode(node) && !!forEachChild(node, traverse); - } - } - } - function getSignaturesOfSymbol(symbol) { - if (!symbol || !symbol.declarations) return emptyArray; - const result = []; - for (let i = 0; i < symbol.declarations.length; i++) { - const decl = symbol.declarations[i]; - if (!isFunctionLike(decl)) continue; - if (i > 0 && decl.body) { - const previous = symbol.declarations[i - 1]; - if (decl.parent === previous.parent && decl.kind === previous.kind && decl.pos === previous.end) { - continue; - } - } - if (isInJSFile(decl) && decl.jsDoc) { - const tags = getJSDocOverloadTags(decl); - if (length(tags)) { - for (const tag of tags) { - const jsDocSignature = tag.typeExpression; - if (jsDocSignature.type === void 0 && !isConstructorDeclaration(decl)) { - reportImplicitAny(jsDocSignature, anyType); - } - result.push(getSignatureFromDeclaration(jsDocSignature)); - } - continue; - } - } - result.push( - !isFunctionExpressionOrArrowFunction(decl) && !isObjectLiteralMethod(decl) && getSignatureOfTypeTag(decl) || getSignatureFromDeclaration(decl) - ); - } - return result; - } - function resolveExternalModuleTypeByLiteral(name) { - const moduleSym = resolveExternalModuleName(name, name); - if (moduleSym) { - const resolvedModuleSymbol = resolveExternalModuleSymbol(moduleSym); - if (resolvedModuleSymbol) { - return getTypeOfSymbol(resolvedModuleSymbol); - } - } - return anyType; - } - function getThisTypeOfSignature(signature) { - if (signature.thisParameter) { - return getTypeOfSymbol(signature.thisParameter); - } - } - function getTypePredicateOfSignature(signature) { - if (!signature.resolvedTypePredicate) { - if (signature.target) { - const targetTypePredicate = getTypePredicateOfSignature(signature.target); - signature.resolvedTypePredicate = targetTypePredicate ? instantiateTypePredicate(targetTypePredicate, signature.mapper) : noTypePredicate; - } else if (signature.compositeSignatures) { - signature.resolvedTypePredicate = getUnionOrIntersectionTypePredicate(signature.compositeSignatures, signature.compositeKind) || noTypePredicate; - } else { - const type = signature.declaration && getEffectiveReturnTypeNode(signature.declaration); - let jsdocPredicate; - if (!type) { - const jsdocSignature = getSignatureOfTypeTag(signature.declaration); - if (jsdocSignature && signature !== jsdocSignature) { - jsdocPredicate = getTypePredicateOfSignature(jsdocSignature); - } - } - if (type || jsdocPredicate) { - signature.resolvedTypePredicate = type && isTypePredicateNode(type) ? createTypePredicateFromTypePredicateNode(type, signature) : jsdocPredicate || noTypePredicate; - } else if (signature.declaration && isFunctionLikeDeclaration(signature.declaration) && (!signature.resolvedReturnType || signature.resolvedReturnType.flags & 16 /* Boolean */) && getParameterCount(signature) > 0) { - const { declaration } = signature; - signature.resolvedTypePredicate = noTypePredicate; - signature.resolvedTypePredicate = getTypePredicateFromBody(declaration) || noTypePredicate; - } else { - signature.resolvedTypePredicate = noTypePredicate; - } - } - Debug.assert(!!signature.resolvedTypePredicate); - } - return signature.resolvedTypePredicate === noTypePredicate ? void 0 : signature.resolvedTypePredicate; - } - function createTypePredicateFromTypePredicateNode(node, signature) { - const parameterName = node.parameterName; - const type = node.type && getTypeFromTypeNode(node.type); - return parameterName.kind === 197 /* ThisType */ ? createTypePredicate( - node.assertsModifier ? 2 /* AssertsThis */ : 0 /* This */, - /*parameterName*/ - void 0, - /*parameterIndex*/ - void 0, - type - ) : createTypePredicate(node.assertsModifier ? 3 /* AssertsIdentifier */ : 1 /* Identifier */, parameterName.escapedText, findIndex(signature.parameters, (p) => p.escapedName === parameterName.escapedText), type); - } - function getUnionOrIntersectionType(types, kind, unionReduction) { - return kind !== 2097152 /* Intersection */ ? getUnionType(types, unionReduction) : getIntersectionType(types); - } - function getReturnTypeOfSignature(signature) { - if (!signature.resolvedReturnType) { - if (!pushTypeResolution(signature, 3 /* ResolvedReturnType */)) { - return errorType; - } - let type = signature.target ? instantiateType(getReturnTypeOfSignature(signature.target), signature.mapper) : signature.compositeSignatures ? instantiateType(getUnionOrIntersectionType(map(signature.compositeSignatures, getReturnTypeOfSignature), signature.compositeKind, 2 /* Subtype */), signature.mapper) : getReturnTypeFromAnnotation(signature.declaration) || (nodeIsMissing(signature.declaration.body) ? anyType : getReturnTypeFromBody(signature.declaration)); - if (signature.flags & 8 /* IsInnerCallChain */) { - type = addOptionalTypeMarker(type); - } else if (signature.flags & 16 /* IsOuterCallChain */) { - type = getOptionalType(type); - } - if (!popTypeResolution()) { - if (signature.declaration) { - const typeNode = getEffectiveReturnTypeNode(signature.declaration); - if (typeNode) { - error(typeNode, Diagnostics.Return_type_annotation_circularly_references_itself); - } else if (noImplicitAny) { - const declaration = signature.declaration; - const name = getNameOfDeclaration(declaration); - if (name) { - error(name, Diagnostics._0_implicitly_has_return_type_any_because_it_does_not_have_a_return_type_annotation_and_is_referenced_directly_or_indirectly_in_one_of_its_return_expressions, declarationNameToString(name)); - } else { - error(declaration, Diagnostics.Function_implicitly_has_return_type_any_because_it_does_not_have_a_return_type_annotation_and_is_referenced_directly_or_indirectly_in_one_of_its_return_expressions); - } - } - } - type = anyType; - } - signature.resolvedReturnType ?? (signature.resolvedReturnType = type); - } - return signature.resolvedReturnType; - } - function getReturnTypeFromAnnotation(declaration) { - if (declaration.kind === 176 /* Constructor */) { - return getDeclaredTypeOfClassOrInterface(getMergedSymbol(declaration.parent.symbol)); - } - const typeNode = getEffectiveReturnTypeNode(declaration); - if (isJSDocSignature(declaration)) { - const root = getJSDocRoot(declaration); - if (root && isConstructorDeclaration(root.parent) && !typeNode) { - return getDeclaredTypeOfClassOrInterface(getMergedSymbol(root.parent.parent.symbol)); - } - } - if (isJSDocConstructSignature(declaration)) { - return getTypeFromTypeNode(declaration.parameters[0].type); - } - if (typeNode) { - return getTypeFromTypeNode(typeNode); - } - if (declaration.kind === 177 /* GetAccessor */ && hasBindableName(declaration)) { - const jsDocType = isInJSFile(declaration) && getTypeForDeclarationFromJSDocComment(declaration); - if (jsDocType) { - return jsDocType; - } - const setter = getDeclarationOfKind(getSymbolOfDeclaration(declaration), 178 /* SetAccessor */); - const setterType = getAnnotatedAccessorType(setter); - if (setterType) { - return setterType; - } - } - return getReturnTypeOfTypeTag(declaration); - } - function isResolvingReturnTypeOfSignature(signature) { - return signature.compositeSignatures && some(signature.compositeSignatures, isResolvingReturnTypeOfSignature) || !signature.resolvedReturnType && findResolutionCycleStartIndex(signature, 3 /* ResolvedReturnType */) >= 0; - } - function getRestTypeOfSignature(signature) { - return tryGetRestTypeOfSignature(signature) || anyType; - } - function tryGetRestTypeOfSignature(signature) { - if (signatureHasRestParameter(signature)) { - const sigRestType = getTypeOfSymbol(signature.parameters[signature.parameters.length - 1]); - const restType = isTupleType(sigRestType) ? getRestTypeOfTupleType(sigRestType) : sigRestType; - return restType && getIndexTypeOfType(restType, numberType); - } - return void 0; - } - function getSignatureInstantiation(signature, typeArguments, isJavascript, inferredTypeParameters) { - const instantiatedSignature = getSignatureInstantiationWithoutFillingInTypeArguments(signature, fillMissingTypeArguments(typeArguments, signature.typeParameters, getMinTypeArgumentCount(signature.typeParameters), isJavascript)); - if (inferredTypeParameters) { - const returnSignature = getSingleCallOrConstructSignature(getReturnTypeOfSignature(instantiatedSignature)); - if (returnSignature) { - const newReturnSignature = cloneSignature(returnSignature); - newReturnSignature.typeParameters = inferredTypeParameters; - const newInstantiatedSignature = cloneSignature(instantiatedSignature); - newInstantiatedSignature.resolvedReturnType = getOrCreateTypeFromSignature(newReturnSignature); - return newInstantiatedSignature; - } - } - return instantiatedSignature; - } - function getSignatureInstantiationWithoutFillingInTypeArguments(signature, typeArguments) { - const instantiations = signature.instantiations || (signature.instantiations = /* @__PURE__ */ new Map()); - const id = getTypeListId(typeArguments); - let instantiation = instantiations.get(id); - if (!instantiation) { - instantiations.set(id, instantiation = createSignatureInstantiation(signature, typeArguments)); - } - return instantiation; - } - function createSignatureInstantiation(signature, typeArguments) { - return instantiateSignature( - signature, - createSignatureTypeMapper(signature, typeArguments), - /*eraseTypeParameters*/ - true - ); - } - function getTypeParametersForMapper(signature) { - return sameMap(signature.typeParameters, (tp) => tp.mapper ? instantiateType(tp, tp.mapper) : tp); - } - function createSignatureTypeMapper(signature, typeArguments) { - return createTypeMapper(getTypeParametersForMapper(signature), typeArguments); - } - function getErasedSignature(signature) { - return signature.typeParameters ? signature.erasedSignatureCache || (signature.erasedSignatureCache = createErasedSignature(signature)) : signature; - } - function createErasedSignature(signature) { - return instantiateSignature( - signature, - createTypeEraser(signature.typeParameters), - /*eraseTypeParameters*/ - true - ); - } - function getCanonicalSignature(signature) { - return signature.typeParameters ? signature.canonicalSignatureCache || (signature.canonicalSignatureCache = createCanonicalSignature(signature)) : signature; - } - function createCanonicalSignature(signature) { - return getSignatureInstantiation( - signature, - map(signature.typeParameters, (tp) => tp.target && !getConstraintOfTypeParameter(tp.target) ? tp.target : tp), - isInJSFile(signature.declaration) - ); - } - function getImplementationSignature(signature) { - return signature.typeParameters ? signature.implementationSignatureCache || (signature.implementationSignatureCache = createImplementationSignature(signature)) : signature; - } - function createImplementationSignature(signature) { - return signature.typeParameters ? instantiateSignature(signature, createTypeMapper([], [])) : signature; - } - function getBaseSignature(signature) { - const typeParameters = signature.typeParameters; - if (typeParameters) { - if (signature.baseSignatureCache) { - return signature.baseSignatureCache; - } - const typeEraser = createTypeEraser(typeParameters); - const baseConstraintMapper = createTypeMapper(typeParameters, map(typeParameters, (tp) => getConstraintOfTypeParameter(tp) || unknownType)); - let baseConstraints = map(typeParameters, (tp) => instantiateType(tp, baseConstraintMapper) || unknownType); - for (let i = 0; i < typeParameters.length - 1; i++) { - baseConstraints = instantiateTypes(baseConstraints, baseConstraintMapper); - } - baseConstraints = instantiateTypes(baseConstraints, typeEraser); - return signature.baseSignatureCache = instantiateSignature( - signature, - createTypeMapper(typeParameters, baseConstraints), - /*eraseTypeParameters*/ - true - ); - } - return signature; - } - function getOrCreateTypeFromSignature(signature, outerTypeParameters) { - var _a; - if (!signature.isolatedSignatureType) { - const kind = (_a = signature.declaration) == null ? void 0 : _a.kind; - const isConstructor = kind === void 0 || kind === 176 /* Constructor */ || kind === 180 /* ConstructSignature */ || kind === 185 /* ConstructorType */; - const type = createObjectType(16 /* Anonymous */ | 134217728 /* SingleSignatureType */, createSymbol(16 /* Function */, "__function" /* Function */)); - if (signature.declaration && !nodeIsSynthesized(signature.declaration)) { - type.symbol.declarations = [signature.declaration]; - type.symbol.valueDeclaration = signature.declaration; - } - outerTypeParameters || (outerTypeParameters = signature.declaration && getOuterTypeParameters( - signature.declaration, - /*includeThisTypes*/ - true - )); - type.outerTypeParameters = outerTypeParameters; - type.members = emptySymbols; - type.properties = emptyArray; - type.callSignatures = !isConstructor ? [signature] : emptyArray; - type.constructSignatures = isConstructor ? [signature] : emptyArray; - type.indexInfos = emptyArray; - signature.isolatedSignatureType = type; - } - return signature.isolatedSignatureType; - } - function getIndexSymbol(symbol) { - return symbol.members ? getIndexSymbolFromSymbolTable(symbol.members) : void 0; - } - function getIndexSymbolFromSymbolTable(symbolTable) { - return symbolTable.get("__index" /* Index */); - } - function createIndexInfo(keyType, type, isReadonly, declaration) { - return { keyType, type, isReadonly, declaration }; - } - function getIndexInfosOfSymbol(symbol) { - const indexSymbol = getIndexSymbol(symbol); - return indexSymbol ? getIndexInfosOfIndexSymbol(indexSymbol) : emptyArray; - } - function getIndexInfosOfIndexSymbol(indexSymbol) { - if (indexSymbol.declarations) { - const indexInfos = []; - for (const declaration of indexSymbol.declarations) { - if (declaration.parameters.length === 1) { - const parameter = declaration.parameters[0]; - if (parameter.type) { - forEachType(getTypeFromTypeNode(parameter.type), (keyType) => { - if (isValidIndexKeyType(keyType) && !findIndexInfo(indexInfos, keyType)) { - indexInfos.push(createIndexInfo(keyType, declaration.type ? getTypeFromTypeNode(declaration.type) : anyType, hasEffectiveModifier(declaration, 8 /* Readonly */), declaration)); - } - }); - } - } - } - return indexInfos; - } - return emptyArray; - } - function isValidIndexKeyType(type) { - return !!(type.flags & (4 /* String */ | 8 /* Number */ | 4096 /* ESSymbol */)) || isPatternLiteralType(type) || !!(type.flags & 2097152 /* Intersection */) && !isGenericType(type) && some(type.types, isValidIndexKeyType); - } - function getConstraintDeclaration(type) { - return mapDefined(filter(type.symbol && type.symbol.declarations, isTypeParameterDeclaration), getEffectiveConstraintOfTypeParameter)[0]; - } - function getInferredTypeParameterConstraint(typeParameter, omitTypeReferences) { - var _a; - let inferences; - if ((_a = typeParameter.symbol) == null ? void 0 : _a.declarations) { - for (const declaration of typeParameter.symbol.declarations) { - if (declaration.parent.kind === 195 /* InferType */) { - const [childTypeParameter = declaration.parent, grandParent] = walkUpParenthesizedTypesAndGetParentAndChild(declaration.parent.parent); - if (grandParent.kind === 183 /* TypeReference */ && !omitTypeReferences) { - const typeReference = grandParent; - const typeParameters = getTypeParametersForTypeReferenceOrImport(typeReference); - if (typeParameters) { - const index = typeReference.typeArguments.indexOf(childTypeParameter); - if (index < typeParameters.length) { - const declaredConstraint = getConstraintOfTypeParameter(typeParameters[index]); - if (declaredConstraint) { - const mapper = makeDeferredTypeMapper( - typeParameters, - typeParameters.map((_, index2) => () => { - return getEffectiveTypeArgumentAtIndex(typeReference, typeParameters, index2); - }) - ); - const constraint = instantiateType(declaredConstraint, mapper); - if (constraint !== typeParameter) { - inferences = append(inferences, constraint); - } - } - } - } - } else if (grandParent.kind === 169 /* Parameter */ && grandParent.dotDotDotToken || grandParent.kind === 191 /* RestType */ || grandParent.kind === 202 /* NamedTupleMember */ && grandParent.dotDotDotToken) { - inferences = append(inferences, createArrayType(unknownType)); - } else if (grandParent.kind === 204 /* TemplateLiteralTypeSpan */) { - inferences = append(inferences, stringType); - } else if (grandParent.kind === 168 /* TypeParameter */ && grandParent.parent.kind === 200 /* MappedType */) { - inferences = append(inferences, stringNumberSymbolType); - } else if (grandParent.kind === 200 /* MappedType */ && grandParent.type && skipParentheses(grandParent.type) === declaration.parent && grandParent.parent.kind === 194 /* ConditionalType */ && grandParent.parent.extendsType === grandParent && grandParent.parent.checkType.kind === 200 /* MappedType */ && grandParent.parent.checkType.type) { - const checkMappedType2 = grandParent.parent.checkType; - const nodeType = getTypeFromTypeNode(checkMappedType2.type); - inferences = append(inferences, instantiateType(nodeType, makeUnaryTypeMapper(getDeclaredTypeOfTypeParameter(getSymbolOfDeclaration(checkMappedType2.typeParameter)), checkMappedType2.typeParameter.constraint ? getTypeFromTypeNode(checkMappedType2.typeParameter.constraint) : stringNumberSymbolType))); - } - } - } - } - return inferences && getIntersectionType(inferences); - } - function getConstraintFromTypeParameter(typeParameter) { - if (!typeParameter.constraint) { - if (typeParameter.target) { - const targetConstraint = getConstraintOfTypeParameter(typeParameter.target); - typeParameter.constraint = targetConstraint ? instantiateType(targetConstraint, typeParameter.mapper) : noConstraintType; - } else { - const constraintDeclaration = getConstraintDeclaration(typeParameter); - if (!constraintDeclaration) { - typeParameter.constraint = getInferredTypeParameterConstraint(typeParameter) || noConstraintType; - } else { - let type = getTypeFromTypeNode(constraintDeclaration); - if (type.flags & 1 /* Any */ && !isErrorType(type)) { - type = constraintDeclaration.parent.parent.kind === 200 /* MappedType */ ? stringNumberSymbolType : unknownType; - } - typeParameter.constraint = type; - } - } - } - return typeParameter.constraint === noConstraintType ? void 0 : typeParameter.constraint; - } - function getParentSymbolOfTypeParameter(typeParameter) { - const tp = getDeclarationOfKind(typeParameter.symbol, 168 /* TypeParameter */); - const host2 = isJSDocTemplateTag(tp.parent) ? getEffectiveContainerForJSDocTemplateTag(tp.parent) : tp.parent; - return host2 && getSymbolOfNode(host2); - } - function getTypeListId(types) { - let result = ""; - if (types) { - const length2 = types.length; - let i = 0; - while (i < length2) { - const startId = types[i].id; - let count = 1; - while (i + count < length2 && types[i + count].id === startId + count) { - count++; - } - if (result.length) { - result += ","; - } - result += startId; - if (count > 1) { - result += ":" + count; - } - i += count; - } - } - return result; - } - function getAliasId(aliasSymbol, aliasTypeArguments) { - return aliasSymbol ? `@${getSymbolId(aliasSymbol)}` + (aliasTypeArguments ? `:${getTypeListId(aliasTypeArguments)}` : "") : ""; - } - function getPropagatingFlagsOfTypes(types, excludeKinds) { - let result = 0; - for (const type of types) { - if (excludeKinds === void 0 || !(type.flags & excludeKinds)) { - result |= getObjectFlags(type); - } - } - return result & 458752 /* PropagatingFlags */; - } - function tryCreateTypeReference(target, typeArguments) { - if (some(typeArguments) && target === emptyGenericType) { - return unknownType; - } - return createTypeReference(target, typeArguments); - } - function createTypeReference(target, typeArguments) { - const id = getTypeListId(typeArguments); - let type = target.instantiations.get(id); - if (!type) { - type = createObjectType(4 /* Reference */, target.symbol); - target.instantiations.set(id, type); - type.objectFlags |= typeArguments ? getPropagatingFlagsOfTypes(typeArguments) : 0; - type.target = target; - type.resolvedTypeArguments = typeArguments; - } - return type; - } - function cloneTypeReference(source) { - const type = createTypeWithSymbol(source.flags, source.symbol); - type.objectFlags = source.objectFlags; - type.target = source.target; - type.resolvedTypeArguments = source.resolvedTypeArguments; - return type; - } - function createDeferredTypeReference(target, node, mapper, aliasSymbol, aliasTypeArguments) { - if (!aliasSymbol) { - aliasSymbol = getAliasSymbolForTypeNode(node); - const localAliasTypeArguments = getTypeArgumentsForAliasSymbol(aliasSymbol); - aliasTypeArguments = mapper ? instantiateTypes(localAliasTypeArguments, mapper) : localAliasTypeArguments; - } - const type = createObjectType(4 /* Reference */, target.symbol); - type.target = target; - type.node = node; - type.mapper = mapper; - type.aliasSymbol = aliasSymbol; - type.aliasTypeArguments = aliasTypeArguments; - return type; - } - function getTypeArguments(type) { - var _a, _b; - if (!type.resolvedTypeArguments) { - if (!pushTypeResolution(type, 5 /* ResolvedTypeArguments */)) { - return concatenate(type.target.outerTypeParameters, (_a = type.target.localTypeParameters) == null ? void 0 : _a.map(() => errorType)) || emptyArray; - } - const node = type.node; - const typeArguments = !node ? emptyArray : node.kind === 183 /* TypeReference */ ? concatenate(type.target.outerTypeParameters, getEffectiveTypeArguments(node, type.target.localTypeParameters)) : node.kind === 188 /* ArrayType */ ? [getTypeFromTypeNode(node.elementType)] : map(node.elements, getTypeFromTypeNode); - if (popTypeResolution()) { - type.resolvedTypeArguments ?? (type.resolvedTypeArguments = type.mapper ? instantiateTypes(typeArguments, type.mapper) : typeArguments); - } else { - type.resolvedTypeArguments ?? (type.resolvedTypeArguments = concatenate(type.target.outerTypeParameters, ((_b = type.target.localTypeParameters) == null ? void 0 : _b.map(() => errorType)) || emptyArray)); - error( - type.node || currentNode, - type.target.symbol ? Diagnostics.Type_arguments_for_0_circularly_reference_themselves : Diagnostics.Tuple_type_arguments_circularly_reference_themselves, - type.target.symbol && symbolToString(type.target.symbol) - ); - } - } - return type.resolvedTypeArguments; - } - function getTypeReferenceArity(type) { - return length(type.target.typeParameters); - } - function getTypeFromClassOrInterfaceReference(node, symbol) { - const type = getDeclaredTypeOfSymbol(getMergedSymbol(symbol)); - const typeParameters = type.localTypeParameters; - if (typeParameters) { - const numTypeArguments = length(node.typeArguments); - const minTypeArgumentCount = getMinTypeArgumentCount(typeParameters); - const isJs = isInJSFile(node); - const isJsImplicitAny = !noImplicitAny && isJs; - if (!isJsImplicitAny && (numTypeArguments < minTypeArgumentCount || numTypeArguments > typeParameters.length)) { - const missingAugmentsTag = isJs && isExpressionWithTypeArguments(node) && !isJSDocAugmentsTag(node.parent); - const diag2 = minTypeArgumentCount === typeParameters.length ? missingAugmentsTag ? Diagnostics.Expected_0_type_arguments_provide_these_with_an_extends_tag : Diagnostics.Generic_type_0_requires_1_type_argument_s : missingAugmentsTag ? Diagnostics.Expected_0_1_type_arguments_provide_these_with_an_extends_tag : Diagnostics.Generic_type_0_requires_between_1_and_2_type_arguments; - const typeStr = typeToString( - type, - /*enclosingDeclaration*/ - void 0, - 2 /* WriteArrayAsGenericType */ - ); - error(node, diag2, typeStr, minTypeArgumentCount, typeParameters.length); - if (!isJs) { - return errorType; - } - } - if (node.kind === 183 /* TypeReference */ && isDeferredTypeReferenceNode(node, length(node.typeArguments) !== typeParameters.length)) { - return createDeferredTypeReference( - type, - node, - /*mapper*/ - void 0 - ); - } - const typeArguments = concatenate(type.outerTypeParameters, fillMissingTypeArguments(typeArgumentsFromTypeReferenceNode(node), typeParameters, minTypeArgumentCount, isJs)); - return createTypeReference(type, typeArguments); - } - return checkNoTypeArguments(node, symbol) ? type : errorType; - } - function getTypeAliasInstantiation(symbol, typeArguments, aliasSymbol, aliasTypeArguments) { - const type = getDeclaredTypeOfSymbol(symbol); - if (type === intrinsicMarkerType) { - const typeKind = intrinsicTypeKinds.get(symbol.escapedName); - if (typeKind !== void 0 && typeArguments && typeArguments.length === 1) { - return typeKind === 4 /* NoInfer */ ? getNoInferType(typeArguments[0]) : getStringMappingType(symbol, typeArguments[0]); - } - } - const links = getSymbolLinks(symbol); - const typeParameters = links.typeParameters; - const id = getTypeListId(typeArguments) + getAliasId(aliasSymbol, aliasTypeArguments); - let instantiation = links.instantiations.get(id); - if (!instantiation) { - links.instantiations.set(id, instantiation = instantiateTypeWithAlias(type, createTypeMapper(typeParameters, fillMissingTypeArguments(typeArguments, typeParameters, getMinTypeArgumentCount(typeParameters), isInJSFile(symbol.valueDeclaration))), aliasSymbol, aliasTypeArguments)); - } - return instantiation; - } - function getTypeFromTypeAliasReference(node, symbol) { - if (getCheckFlags(symbol) & 1048576 /* Unresolved */) { - const typeArguments = typeArgumentsFromTypeReferenceNode(node); - const id = getAliasId(symbol, typeArguments); - let errorType2 = errorTypes.get(id); - if (!errorType2) { - errorType2 = createIntrinsicType( - 1 /* Any */, - "error", - /*objectFlags*/ - void 0, - `alias ${id}` - ); - errorType2.aliasSymbol = symbol; - errorType2.aliasTypeArguments = typeArguments; - errorTypes.set(id, errorType2); - } - return errorType2; - } - const type = getDeclaredTypeOfSymbol(symbol); - const typeParameters = getSymbolLinks(symbol).typeParameters; - if (typeParameters) { - const numTypeArguments = length(node.typeArguments); - const minTypeArgumentCount = getMinTypeArgumentCount(typeParameters); - if (numTypeArguments < minTypeArgumentCount || numTypeArguments > typeParameters.length) { - error( - node, - minTypeArgumentCount === typeParameters.length ? Diagnostics.Generic_type_0_requires_1_type_argument_s : Diagnostics.Generic_type_0_requires_between_1_and_2_type_arguments, - symbolToString(symbol), - minTypeArgumentCount, - typeParameters.length - ); - return errorType; - } - const aliasSymbol = getAliasSymbolForTypeNode(node); - let newAliasSymbol = aliasSymbol && (isLocalTypeAlias(symbol) || !isLocalTypeAlias(aliasSymbol)) ? aliasSymbol : void 0; - let aliasTypeArguments; - if (newAliasSymbol) { - aliasTypeArguments = getTypeArgumentsForAliasSymbol(newAliasSymbol); - } else if (isTypeReferenceType(node)) { - const aliasSymbol2 = resolveTypeReferenceName( - node, - 2097152 /* Alias */, - /*ignoreErrors*/ - true - ); - if (aliasSymbol2 && aliasSymbol2 !== unknownSymbol) { - const resolved = resolveAlias(aliasSymbol2); - if (resolved && resolved.flags & 524288 /* TypeAlias */) { - newAliasSymbol = resolved; - aliasTypeArguments = typeArgumentsFromTypeReferenceNode(node) || (typeParameters ? [] : void 0); - } - } - } - return getTypeAliasInstantiation(symbol, typeArgumentsFromTypeReferenceNode(node), newAliasSymbol, aliasTypeArguments); - } - return checkNoTypeArguments(node, symbol) ? type : errorType; - } - function isLocalTypeAlias(symbol) { - var _a; - const declaration = (_a = symbol.declarations) == null ? void 0 : _a.find(isTypeAlias); - return !!(declaration && getContainingFunction(declaration)); - } - function getTypeReferenceName(node) { - switch (node.kind) { - case 183 /* TypeReference */: - return node.typeName; - case 233 /* ExpressionWithTypeArguments */: - const expr = node.expression; - if (isEntityNameExpression(expr)) { - return expr; - } - } - return void 0; - } - function getSymbolPath(symbol) { - return symbol.parent ? `${getSymbolPath(symbol.parent)}.${symbol.escapedName}` : symbol.escapedName; - } - function getUnresolvedSymbolForEntityName(name) { - const identifier = name.kind === 166 /* QualifiedName */ ? name.right : name.kind === 211 /* PropertyAccessExpression */ ? name.name : name; - const text = identifier.escapedText; - if (text) { - const parentSymbol = name.kind === 166 /* QualifiedName */ ? getUnresolvedSymbolForEntityName(name.left) : name.kind === 211 /* PropertyAccessExpression */ ? getUnresolvedSymbolForEntityName(name.expression) : void 0; - const path = parentSymbol ? `${getSymbolPath(parentSymbol)}.${text}` : text; - let result = unresolvedSymbols.get(path); - if (!result) { - unresolvedSymbols.set(path, result = createSymbol(524288 /* TypeAlias */, text, 1048576 /* Unresolved */)); - result.parent = parentSymbol; - result.links.declaredType = unresolvedType; - } - return result; - } - return unknownSymbol; - } - function resolveTypeReferenceName(typeReference, meaning, ignoreErrors) { - const name = getTypeReferenceName(typeReference); - if (!name) { - return unknownSymbol; - } - const symbol = resolveEntityName(name, meaning, ignoreErrors); - return symbol && symbol !== unknownSymbol ? symbol : ignoreErrors ? unknownSymbol : getUnresolvedSymbolForEntityName(name); - } - function getTypeReferenceType(node, symbol) { - if (symbol === unknownSymbol) { - return errorType; - } - symbol = getExpandoSymbol(symbol) || symbol; - if (symbol.flags & (32 /* Class */ | 64 /* Interface */)) { - return getTypeFromClassOrInterfaceReference(node, symbol); - } - if (symbol.flags & 524288 /* TypeAlias */) { - return getTypeFromTypeAliasReference(node, symbol); - } - const res = tryGetDeclaredTypeOfSymbol(symbol); - if (res) { - return checkNoTypeArguments(node, symbol) ? getRegularTypeOfLiteralType(res) : errorType; - } - if (symbol.flags & 111551 /* Value */ && isJSDocTypeReference(node)) { - const jsdocType = getTypeFromJSDocValueReference(node, symbol); - if (jsdocType) { - return jsdocType; - } else { - resolveTypeReferenceName(node, 788968 /* Type */); - return getTypeOfSymbol(symbol); - } - } - return errorType; - } - function getTypeFromJSDocValueReference(node, symbol) { - const links = getNodeLinks(node); - if (!links.resolvedJSDocType) { - const valueType = getTypeOfSymbol(symbol); - let typeType = valueType; - if (symbol.valueDeclaration) { - const isImportTypeWithQualifier = node.kind === 205 /* ImportType */ && node.qualifier; - if (valueType.symbol && valueType.symbol !== symbol && isImportTypeWithQualifier) { - typeType = getTypeReferenceType(node, valueType.symbol); - } - } - links.resolvedJSDocType = typeType; - } - return links.resolvedJSDocType; - } - function getNoInferType(type) { - return isNoInferTargetType(type) ? getOrCreateSubstitutionType(type, unknownType) : type; - } - function isNoInferTargetType(type) { - return !!(type.flags & 3145728 /* UnionOrIntersection */ && some(type.types, isNoInferTargetType) || type.flags & 33554432 /* Substitution */ && !isNoInferType(type) && isNoInferTargetType(type.baseType) || type.flags & 524288 /* Object */ && !isEmptyAnonymousObjectType(type) || type.flags & (465829888 /* Instantiable */ & ~33554432 /* Substitution */) && !isPatternLiteralType(type)); - } - function isNoInferType(type) { - return !!(type.flags & 33554432 /* Substitution */ && type.constraint.flags & 2 /* Unknown */); - } - function getSubstitutionType(baseType, constraint) { - return constraint.flags & 3 /* AnyOrUnknown */ || constraint === baseType || baseType.flags & 1 /* Any */ ? baseType : getOrCreateSubstitutionType(baseType, constraint); - } - function getOrCreateSubstitutionType(baseType, constraint) { - const id = `${getTypeId(baseType)}>${getTypeId(constraint)}`; - const cached = substitutionTypes.get(id); - if (cached) { - return cached; - } - const result = createType(33554432 /* Substitution */); - result.baseType = baseType; - result.constraint = constraint; - substitutionTypes.set(id, result); - return result; - } - function getSubstitutionIntersection(substitutionType) { - return isNoInferType(substitutionType) ? substitutionType.baseType : getIntersectionType([substitutionType.constraint, substitutionType.baseType]); - } - function isUnaryTupleTypeNode(node) { - return node.kind === 189 /* TupleType */ && node.elements.length === 1; - } - function getImpliedConstraint(type, checkNode, extendsNode) { - return isUnaryTupleTypeNode(checkNode) && isUnaryTupleTypeNode(extendsNode) ? getImpliedConstraint(type, checkNode.elements[0], extendsNode.elements[0]) : getActualTypeVariable(getTypeFromTypeNode(checkNode)) === getActualTypeVariable(type) ? getTypeFromTypeNode(extendsNode) : void 0; - } - function getConditionalFlowTypeOfType(type, node) { - let constraints; - let covariant = true; - while (node && !isStatement(node) && node.kind !== 320 /* JSDoc */) { - const parent = node.parent; - if (parent.kind === 169 /* Parameter */) { - covariant = !covariant; - } - if ((covariant || type.flags & 8650752 /* TypeVariable */) && parent.kind === 194 /* ConditionalType */ && node === parent.trueType) { - const constraint = getImpliedConstraint(type, parent.checkType, parent.extendsType); - if (constraint) { - constraints = append(constraints, constraint); - } - } else if (type.flags & 262144 /* TypeParameter */ && parent.kind === 200 /* MappedType */ && !parent.nameType && node === parent.type) { - const mappedType = getTypeFromTypeNode(parent); - if (getTypeParameterFromMappedType(mappedType) === getActualTypeVariable(type)) { - const typeParameter = getHomomorphicTypeVariable(mappedType); - if (typeParameter) { - const constraint = getConstraintOfTypeParameter(typeParameter); - if (constraint && everyType(constraint, isArrayOrTupleType)) { - constraints = append(constraints, getUnionType([numberType, numericStringType])); - } - } - } - } - node = parent; - } - return constraints ? getSubstitutionType(type, getIntersectionType(constraints)) : type; - } - function isJSDocTypeReference(node) { - return !!(node.flags & 16777216 /* JSDoc */) && (node.kind === 183 /* TypeReference */ || node.kind === 205 /* ImportType */); - } - function checkNoTypeArguments(node, symbol) { - if (node.typeArguments) { - error(node, Diagnostics.Type_0_is_not_generic, symbol ? symbolToString(symbol) : node.typeName ? declarationNameToString(node.typeName) : anon); - return false; - } - return true; - } - function getIntendedTypeFromJSDocTypeReference(node) { - if (isIdentifier(node.typeName)) { - const typeArgs = node.typeArguments; - switch (node.typeName.escapedText) { - case "String": - checkNoTypeArguments(node); - return stringType; - case "Number": - checkNoTypeArguments(node); - return numberType; - case "Boolean": - checkNoTypeArguments(node); - return booleanType; - case "Void": - checkNoTypeArguments(node); - return voidType; - case "Undefined": - checkNoTypeArguments(node); - return undefinedType; - case "Null": - checkNoTypeArguments(node); - return nullType; - case "Function": - case "function": - checkNoTypeArguments(node); - return globalFunctionType; - case "array": - return (!typeArgs || !typeArgs.length) && !noImplicitAny ? anyArrayType : void 0; - case "promise": - return (!typeArgs || !typeArgs.length) && !noImplicitAny ? createPromiseType(anyType) : void 0; - case "Object": - if (typeArgs && typeArgs.length === 2) { - if (isJSDocIndexSignature(node)) { - const indexed = getTypeFromTypeNode(typeArgs[0]); - const target = getTypeFromTypeNode(typeArgs[1]); - const indexInfo = indexed === stringType || indexed === numberType ? [createIndexInfo( - indexed, - target, - /*isReadonly*/ - false - )] : emptyArray; - return createAnonymousType( - /*symbol*/ - void 0, - emptySymbols, - emptyArray, - emptyArray, - indexInfo - ); - } - return anyType; - } - checkNoTypeArguments(node); - return !noImplicitAny ? anyType : void 0; - } - } - } - function getTypeFromJSDocNullableTypeNode(node) { - const type = getTypeFromTypeNode(node.type); - return strictNullChecks ? getNullableType(type, 65536 /* Null */) : type; - } - function getTypeFromTypeReference(node) { - const links = getNodeLinks(node); - if (!links.resolvedType) { - if (isConstTypeReference(node) && isAssertionExpression(node.parent)) { - links.resolvedSymbol = unknownSymbol; - return links.resolvedType = checkExpressionCached(node.parent.expression); - } - let symbol; - let type; - const meaning = 788968 /* Type */; - if (isJSDocTypeReference(node)) { - type = getIntendedTypeFromJSDocTypeReference(node); - if (!type) { - symbol = resolveTypeReferenceName( - node, - meaning, - /*ignoreErrors*/ - true - ); - if (symbol === unknownSymbol) { - symbol = resolveTypeReferenceName(node, meaning | 111551 /* Value */); - } else { - resolveTypeReferenceName(node, meaning); - } - type = getTypeReferenceType(node, symbol); - } - } - if (!type) { - symbol = resolveTypeReferenceName(node, meaning); - type = getTypeReferenceType(node, symbol); - } - links.resolvedSymbol = symbol; - links.resolvedType = type; - } - return links.resolvedType; - } - function typeArgumentsFromTypeReferenceNode(node) { - return map(node.typeArguments, getTypeFromTypeNode); - } - function getTypeFromTypeQueryNode(node) { - const links = getNodeLinks(node); - if (!links.resolvedType) { - const type = checkExpressionWithTypeArguments(node); - links.resolvedType = getRegularTypeOfLiteralType(getWidenedType(type)); - } - return links.resolvedType; - } - function getTypeOfGlobalSymbol(symbol, arity) { - function getTypeDeclaration(symbol2) { - const declarations = symbol2.declarations; - if (declarations) { - for (const declaration of declarations) { - switch (declaration.kind) { - case 263 /* ClassDeclaration */: - case 264 /* InterfaceDeclaration */: - case 266 /* EnumDeclaration */: - return declaration; - } - } - } - } - if (!symbol) { - return arity ? emptyGenericType : emptyObjectType; - } - const type = getDeclaredTypeOfSymbol(symbol); - if (!(type.flags & 524288 /* Object */)) { - error(getTypeDeclaration(symbol), Diagnostics.Global_type_0_must_be_a_class_or_interface_type, symbolName(symbol)); - return arity ? emptyGenericType : emptyObjectType; - } - if (length(type.typeParameters) !== arity) { - error(getTypeDeclaration(symbol), Diagnostics.Global_type_0_must_have_1_type_parameter_s, symbolName(symbol), arity); - return arity ? emptyGenericType : emptyObjectType; - } - return type; - } - function getGlobalValueSymbol(name, reportErrors2) { - return getGlobalSymbol(name, 111551 /* Value */, reportErrors2 ? Diagnostics.Cannot_find_global_value_0 : void 0); - } - function getGlobalTypeSymbol(name, reportErrors2) { - return getGlobalSymbol(name, 788968 /* Type */, reportErrors2 ? Diagnostics.Cannot_find_global_type_0 : void 0); - } - function getGlobalTypeAliasSymbol(name, arity, reportErrors2) { - const symbol = getGlobalSymbol(name, 788968 /* Type */, reportErrors2 ? Diagnostics.Cannot_find_global_type_0 : void 0); - if (symbol) { - getDeclaredTypeOfSymbol(symbol); - if (length(getSymbolLinks(symbol).typeParameters) !== arity) { - const decl = symbol.declarations && find(symbol.declarations, isTypeAliasDeclaration); - error(decl, Diagnostics.Global_type_0_must_have_1_type_parameter_s, symbolName(symbol), arity); - return void 0; - } - } - return symbol; - } - function getGlobalSymbol(name, meaning, diagnostic) { - return resolveName( - /*location*/ - void 0, - name, - meaning, - diagnostic, - /*isUse*/ - false, - /*excludeGlobals*/ - false - ); - } - function getGlobalType(name, arity, reportErrors2) { - const symbol = getGlobalTypeSymbol(name, reportErrors2); - return symbol || reportErrors2 ? getTypeOfGlobalSymbol(symbol, arity) : void 0; - } - function getGlobalBuiltinTypes(typeNames, arity) { - let types; - for (const typeName of typeNames) { - types = append(types, getGlobalType( - typeName, - arity, - /*reportErrors*/ - false - )); - } - return types ?? emptyArray; - } - function getGlobalTypedPropertyDescriptorType() { - return deferredGlobalTypedPropertyDescriptorType || (deferredGlobalTypedPropertyDescriptorType = getGlobalType( - "TypedPropertyDescriptor", - /*arity*/ - 1, - /*reportErrors*/ - true - ) || emptyGenericType); - } - function getGlobalTemplateStringsArrayType() { - return deferredGlobalTemplateStringsArrayType || (deferredGlobalTemplateStringsArrayType = getGlobalType( - "TemplateStringsArray", - /*arity*/ - 0, - /*reportErrors*/ - true - ) || emptyObjectType); - } - function getGlobalImportMetaType() { - return deferredGlobalImportMetaType || (deferredGlobalImportMetaType = getGlobalType( - "ImportMeta", - /*arity*/ - 0, - /*reportErrors*/ - true - ) || emptyObjectType); - } - function getGlobalImportMetaExpressionType() { - if (!deferredGlobalImportMetaExpressionType) { - const symbol = createSymbol(0 /* None */, "ImportMetaExpression"); - const importMetaType = getGlobalImportMetaType(); - const metaPropertySymbol = createSymbol(4 /* Property */, "meta", 8 /* Readonly */); - metaPropertySymbol.parent = symbol; - metaPropertySymbol.links.type = importMetaType; - const members = createSymbolTable([metaPropertySymbol]); - symbol.members = members; - deferredGlobalImportMetaExpressionType = createAnonymousType(symbol, members, emptyArray, emptyArray, emptyArray); - } - return deferredGlobalImportMetaExpressionType; - } - function getGlobalImportCallOptionsType(reportErrors2) { - return deferredGlobalImportCallOptionsType || (deferredGlobalImportCallOptionsType = getGlobalType( - "ImportCallOptions", - /*arity*/ - 0, - reportErrors2 - )) || emptyObjectType; - } - function getGlobalImportAttributesType(reportErrors2) { - return deferredGlobalImportAttributesType || (deferredGlobalImportAttributesType = getGlobalType( - "ImportAttributes", - /*arity*/ - 0, - reportErrors2 - )) || emptyObjectType; - } - function getGlobalESSymbolConstructorSymbol(reportErrors2) { - return deferredGlobalESSymbolConstructorSymbol || (deferredGlobalESSymbolConstructorSymbol = getGlobalValueSymbol("Symbol", reportErrors2)); - } - function getGlobalESSymbolConstructorTypeSymbol(reportErrors2) { - return deferredGlobalESSymbolConstructorTypeSymbol || (deferredGlobalESSymbolConstructorTypeSymbol = getGlobalTypeSymbol("SymbolConstructor", reportErrors2)); - } - function getGlobalESSymbolType() { - return deferredGlobalESSymbolType || (deferredGlobalESSymbolType = getGlobalType( - "Symbol", - /*arity*/ - 0, - /*reportErrors*/ - false - )) || emptyObjectType; - } - function getGlobalPromiseType(reportErrors2) { - return deferredGlobalPromiseType || (deferredGlobalPromiseType = getGlobalType( - "Promise", - /*arity*/ - 1, - reportErrors2 - )) || emptyGenericType; - } - function getGlobalPromiseLikeType(reportErrors2) { - return deferredGlobalPromiseLikeType || (deferredGlobalPromiseLikeType = getGlobalType( - "PromiseLike", - /*arity*/ - 1, - reportErrors2 - )) || emptyGenericType; - } - function getGlobalPromiseConstructorSymbol(reportErrors2) { - return deferredGlobalPromiseConstructorSymbol || (deferredGlobalPromiseConstructorSymbol = getGlobalValueSymbol("Promise", reportErrors2)); - } - function getGlobalPromiseConstructorLikeType(reportErrors2) { - return deferredGlobalPromiseConstructorLikeType || (deferredGlobalPromiseConstructorLikeType = getGlobalType( - "PromiseConstructorLike", - /*arity*/ - 0, - reportErrors2 - )) || emptyObjectType; - } - function getGlobalAsyncIterableType(reportErrors2) { - return deferredGlobalAsyncIterableType || (deferredGlobalAsyncIterableType = getGlobalType( - "AsyncIterable", - /*arity*/ - 3, - reportErrors2 - )) || emptyGenericType; - } - function getGlobalAsyncIteratorType(reportErrors2) { - return deferredGlobalAsyncIteratorType || (deferredGlobalAsyncIteratorType = getGlobalType( - "AsyncIterator", - /*arity*/ - 3, - reportErrors2 - )) || emptyGenericType; - } - function getGlobalAsyncIterableIteratorType(reportErrors2) { - return deferredGlobalAsyncIterableIteratorType || (deferredGlobalAsyncIterableIteratorType = getGlobalType( - "AsyncIterableIterator", - /*arity*/ - 3, - reportErrors2 - )) || emptyGenericType; - } - function getGlobalBuiltinAsyncIteratorTypes() { - return deferredGlobalBuiltinAsyncIteratorTypes ?? (deferredGlobalBuiltinAsyncIteratorTypes = getGlobalBuiltinTypes(["ReadableStreamAsyncIterator"], 1)); - } - function getGlobalAsyncIteratorObjectType(reportErrors2) { - return deferredGlobalAsyncIteratorObjectType || (deferredGlobalAsyncIteratorObjectType = getGlobalType( - "AsyncIteratorObject", - /*arity*/ - 3, - reportErrors2 - )) || emptyGenericType; - } - function getGlobalAsyncGeneratorType(reportErrors2) { - return deferredGlobalAsyncGeneratorType || (deferredGlobalAsyncGeneratorType = getGlobalType( - "AsyncGenerator", - /*arity*/ - 3, - reportErrors2 - )) || emptyGenericType; - } - function getGlobalIterableType(reportErrors2) { - return deferredGlobalIterableType || (deferredGlobalIterableType = getGlobalType( - "Iterable", - /*arity*/ - 3, - reportErrors2 - )) || emptyGenericType; - } - function getGlobalIteratorType(reportErrors2) { - return deferredGlobalIteratorType || (deferredGlobalIteratorType = getGlobalType( - "Iterator", - /*arity*/ - 3, - reportErrors2 - )) || emptyGenericType; - } - function getGlobalIterableIteratorType(reportErrors2) { - return deferredGlobalIterableIteratorType || (deferredGlobalIterableIteratorType = getGlobalType( - "IterableIterator", - /*arity*/ - 3, - reportErrors2 - )) || emptyGenericType; - } - function getBuiltinIteratorReturnType() { - return strictBuiltinIteratorReturn ? undefinedType : anyType; - } - function getGlobalBuiltinIteratorTypes() { - return deferredGlobalBuiltinIteratorTypes ?? (deferredGlobalBuiltinIteratorTypes = getGlobalBuiltinTypes(["ArrayIterator", "MapIterator", "SetIterator", "StringIterator"], 1)); - } - function getGlobalIteratorObjectType(reportErrors2) { - return deferredGlobalIteratorObjectType || (deferredGlobalIteratorObjectType = getGlobalType( - "IteratorObject", - /*arity*/ - 3, - reportErrors2 - )) || emptyGenericType; - } - function getGlobalGeneratorType(reportErrors2) { - return deferredGlobalGeneratorType || (deferredGlobalGeneratorType = getGlobalType( - "Generator", - /*arity*/ - 3, - reportErrors2 - )) || emptyGenericType; - } - function getGlobalIteratorYieldResultType(reportErrors2) { - return deferredGlobalIteratorYieldResultType || (deferredGlobalIteratorYieldResultType = getGlobalType( - "IteratorYieldResult", - /*arity*/ - 1, - reportErrors2 - )) || emptyGenericType; - } - function getGlobalIteratorReturnResultType(reportErrors2) { - return deferredGlobalIteratorReturnResultType || (deferredGlobalIteratorReturnResultType = getGlobalType( - "IteratorReturnResult", - /*arity*/ - 1, - reportErrors2 - )) || emptyGenericType; - } - function getGlobalDisposableType(reportErrors2) { - return deferredGlobalDisposableType || (deferredGlobalDisposableType = getGlobalType( - "Disposable", - /*arity*/ - 0, - reportErrors2 - )) || emptyObjectType; - } - function getGlobalAsyncDisposableType(reportErrors2) { - return deferredGlobalAsyncDisposableType || (deferredGlobalAsyncDisposableType = getGlobalType( - "AsyncDisposable", - /*arity*/ - 0, - reportErrors2 - )) || emptyObjectType; - } - function getGlobalTypeOrUndefined(name, arity = 0) { - const symbol = getGlobalSymbol( - name, - 788968 /* Type */, - /*diagnostic*/ - void 0 - ); - return symbol && getTypeOfGlobalSymbol(symbol, arity); - } - function getGlobalExtractSymbol() { - deferredGlobalExtractSymbol || (deferredGlobalExtractSymbol = getGlobalTypeAliasSymbol( - "Extract", - /*arity*/ - 2, - /*reportErrors*/ - true - ) || unknownSymbol); - return deferredGlobalExtractSymbol === unknownSymbol ? void 0 : deferredGlobalExtractSymbol; - } - function getGlobalOmitSymbol() { - deferredGlobalOmitSymbol || (deferredGlobalOmitSymbol = getGlobalTypeAliasSymbol( - "Omit", - /*arity*/ - 2, - /*reportErrors*/ - true - ) || unknownSymbol); - return deferredGlobalOmitSymbol === unknownSymbol ? void 0 : deferredGlobalOmitSymbol; - } - function getGlobalAwaitedSymbol(reportErrors2) { - deferredGlobalAwaitedSymbol || (deferredGlobalAwaitedSymbol = getGlobalTypeAliasSymbol( - "Awaited", - /*arity*/ - 1, - reportErrors2 - ) || (reportErrors2 ? unknownSymbol : void 0)); - return deferredGlobalAwaitedSymbol === unknownSymbol ? void 0 : deferredGlobalAwaitedSymbol; - } - function getGlobalBigIntType() { - return deferredGlobalBigIntType || (deferredGlobalBigIntType = getGlobalType( - "BigInt", - /*arity*/ - 0, - /*reportErrors*/ - false - )) || emptyObjectType; - } - function getGlobalClassDecoratorContextType(reportErrors2) { - return deferredGlobalClassDecoratorContextType ?? (deferredGlobalClassDecoratorContextType = getGlobalType( - "ClassDecoratorContext", - /*arity*/ - 1, - reportErrors2 - )) ?? emptyGenericType; - } - function getGlobalClassMethodDecoratorContextType(reportErrors2) { - return deferredGlobalClassMethodDecoratorContextType ?? (deferredGlobalClassMethodDecoratorContextType = getGlobalType( - "ClassMethodDecoratorContext", - /*arity*/ - 2, - reportErrors2 - )) ?? emptyGenericType; - } - function getGlobalClassGetterDecoratorContextType(reportErrors2) { - return deferredGlobalClassGetterDecoratorContextType ?? (deferredGlobalClassGetterDecoratorContextType = getGlobalType( - "ClassGetterDecoratorContext", - /*arity*/ - 2, - reportErrors2 - )) ?? emptyGenericType; - } - function getGlobalClassSetterDecoratorContextType(reportErrors2) { - return deferredGlobalClassSetterDecoratorContextType ?? (deferredGlobalClassSetterDecoratorContextType = getGlobalType( - "ClassSetterDecoratorContext", - /*arity*/ - 2, - reportErrors2 - )) ?? emptyGenericType; - } - function getGlobalClassAccessorDecoratorContextType(reportErrors2) { - return deferredGlobalClassAccessorDecoratorContextType ?? (deferredGlobalClassAccessorDecoratorContextType = getGlobalType( - "ClassAccessorDecoratorContext", - /*arity*/ - 2, - reportErrors2 - )) ?? emptyGenericType; - } - function getGlobalClassAccessorDecoratorTargetType(reportErrors2) { - return deferredGlobalClassAccessorDecoratorTargetType ?? (deferredGlobalClassAccessorDecoratorTargetType = getGlobalType( - "ClassAccessorDecoratorTarget", - /*arity*/ - 2, - reportErrors2 - )) ?? emptyGenericType; - } - function getGlobalClassAccessorDecoratorResultType(reportErrors2) { - return deferredGlobalClassAccessorDecoratorResultType ?? (deferredGlobalClassAccessorDecoratorResultType = getGlobalType( - "ClassAccessorDecoratorResult", - /*arity*/ - 2, - reportErrors2 - )) ?? emptyGenericType; - } - function getGlobalClassFieldDecoratorContextType(reportErrors2) { - return deferredGlobalClassFieldDecoratorContextType ?? (deferredGlobalClassFieldDecoratorContextType = getGlobalType( - "ClassFieldDecoratorContext", - /*arity*/ - 2, - reportErrors2 - )) ?? emptyGenericType; - } - function getGlobalNaNSymbol() { - return deferredGlobalNaNSymbol || (deferredGlobalNaNSymbol = getGlobalValueSymbol( - "NaN", - /*reportErrors*/ - false - )); - } - function getGlobalRecordSymbol() { - deferredGlobalRecordSymbol || (deferredGlobalRecordSymbol = getGlobalTypeAliasSymbol( - "Record", - /*arity*/ - 2, - /*reportErrors*/ - true - ) || unknownSymbol); - return deferredGlobalRecordSymbol === unknownSymbol ? void 0 : deferredGlobalRecordSymbol; - } - function createTypeFromGenericGlobalType(genericGlobalType, typeArguments) { - return genericGlobalType !== emptyGenericType ? createTypeReference(genericGlobalType, typeArguments) : emptyObjectType; - } - function createTypedPropertyDescriptorType(propertyType) { - return createTypeFromGenericGlobalType(getGlobalTypedPropertyDescriptorType(), [propertyType]); - } - function createIterableType(iteratedType) { - return createTypeFromGenericGlobalType(getGlobalIterableType( - /*reportErrors*/ - true - ), [iteratedType, voidType, undefinedType]); - } - function createArrayType(elementType, readonly) { - return createTypeFromGenericGlobalType(readonly ? globalReadonlyArrayType : globalArrayType, [elementType]); - } - function getTupleElementFlags(node) { - switch (node.kind) { - case 190 /* OptionalType */: - return 2 /* Optional */; - case 191 /* RestType */: - return getRestTypeElementFlags(node); - case 202 /* NamedTupleMember */: - return node.questionToken ? 2 /* Optional */ : node.dotDotDotToken ? getRestTypeElementFlags(node) : 1 /* Required */; - default: - return 1 /* Required */; - } - } - function getRestTypeElementFlags(node) { - return getArrayElementTypeNode(node.type) ? 4 /* Rest */ : 8 /* Variadic */; - } - function getArrayOrTupleTargetType(node) { - const readonly = isReadonlyTypeOperator(node.parent); - const elementType = getArrayElementTypeNode(node); - if (elementType) { - return readonly ? globalReadonlyArrayType : globalArrayType; - } - const elementFlags = map(node.elements, getTupleElementFlags); - return getTupleTargetType(elementFlags, readonly, map(node.elements, memberIfLabeledElementDeclaration)); - } - function memberIfLabeledElementDeclaration(member) { - return isNamedTupleMember(member) || isParameter(member) ? member : void 0; - } - function isDeferredTypeReferenceNode(node, hasDefaultTypeArguments) { - return !!getAliasSymbolForTypeNode(node) || isResolvedByTypeAlias(node) && (node.kind === 188 /* ArrayType */ ? mayResolveTypeAlias(node.elementType) : node.kind === 189 /* TupleType */ ? some(node.elements, mayResolveTypeAlias) : hasDefaultTypeArguments || some(node.typeArguments, mayResolveTypeAlias)); - } - function isResolvedByTypeAlias(node) { - const parent = node.parent; - switch (parent.kind) { - case 196 /* ParenthesizedType */: - case 202 /* NamedTupleMember */: - case 183 /* TypeReference */: - case 192 /* UnionType */: - case 193 /* IntersectionType */: - case 199 /* IndexedAccessType */: - case 194 /* ConditionalType */: - case 198 /* TypeOperator */: - case 188 /* ArrayType */: - case 189 /* TupleType */: - return isResolvedByTypeAlias(parent); - case 265 /* TypeAliasDeclaration */: - return true; - } - return false; - } - function mayResolveTypeAlias(node) { - switch (node.kind) { - case 183 /* TypeReference */: - return isJSDocTypeReference(node) || !!(resolveTypeReferenceName(node, 788968 /* Type */).flags & 524288 /* TypeAlias */); - case 186 /* TypeQuery */: - return true; - case 198 /* TypeOperator */: - return node.operator !== 158 /* UniqueKeyword */ && mayResolveTypeAlias(node.type); - case 196 /* ParenthesizedType */: - case 190 /* OptionalType */: - case 202 /* NamedTupleMember */: - case 316 /* JSDocOptionalType */: - case 314 /* JSDocNullableType */: - case 315 /* JSDocNonNullableType */: - case 309 /* JSDocTypeExpression */: - return mayResolveTypeAlias(node.type); - case 191 /* RestType */: - return node.type.kind !== 188 /* ArrayType */ || mayResolveTypeAlias(node.type.elementType); - case 192 /* UnionType */: - case 193 /* IntersectionType */: - return some(node.types, mayResolveTypeAlias); - case 199 /* IndexedAccessType */: - return mayResolveTypeAlias(node.objectType) || mayResolveTypeAlias(node.indexType); - case 194 /* ConditionalType */: - return mayResolveTypeAlias(node.checkType) || mayResolveTypeAlias(node.extendsType) || mayResolveTypeAlias(node.trueType) || mayResolveTypeAlias(node.falseType); - } - return false; - } - function getTypeFromArrayOrTupleTypeNode(node) { - const links = getNodeLinks(node); - if (!links.resolvedType) { - const target = getArrayOrTupleTargetType(node); - if (target === emptyGenericType) { - links.resolvedType = emptyObjectType; - } else if (!(node.kind === 189 /* TupleType */ && some(node.elements, (e) => !!(getTupleElementFlags(e) & 8 /* Variadic */))) && isDeferredTypeReferenceNode(node)) { - links.resolvedType = node.kind === 189 /* TupleType */ && node.elements.length === 0 ? target : createDeferredTypeReference( - target, - node, - /*mapper*/ - void 0 - ); - } else { - const elementTypes = node.kind === 188 /* ArrayType */ ? [getTypeFromTypeNode(node.elementType)] : map(node.elements, getTypeFromTypeNode); - links.resolvedType = createNormalizedTypeReference(target, elementTypes); - } - } - return links.resolvedType; - } - function isReadonlyTypeOperator(node) { - return isTypeOperatorNode(node) && node.operator === 148 /* ReadonlyKeyword */; - } - function createTupleType(elementTypes, elementFlags, readonly = false, namedMemberDeclarations = []) { - const tupleTarget = getTupleTargetType(elementFlags || map(elementTypes, (_) => 1 /* Required */), readonly, namedMemberDeclarations); - return tupleTarget === emptyGenericType ? emptyObjectType : elementTypes.length ? createNormalizedTypeReference(tupleTarget, elementTypes) : tupleTarget; - } - function getTupleTargetType(elementFlags, readonly, namedMemberDeclarations) { - if (elementFlags.length === 1 && elementFlags[0] & 4 /* Rest */) { - return readonly ? globalReadonlyArrayType : globalArrayType; - } - const key = map(elementFlags, (f) => f & 1 /* Required */ ? "#" : f & 2 /* Optional */ ? "?" : f & 4 /* Rest */ ? "." : "*").join() + (readonly ? "R" : "") + (some(namedMemberDeclarations, (node) => !!node) ? "," + map(namedMemberDeclarations, (node) => node ? getNodeId(node) : "_").join(",") : ""); - let type = tupleTypes.get(key); - if (!type) { - tupleTypes.set(key, type = createTupleTargetType(elementFlags, readonly, namedMemberDeclarations)); - } - return type; - } - function createTupleTargetType(elementFlags, readonly, namedMemberDeclarations) { - const arity = elementFlags.length; - const minLength = countWhere(elementFlags, (f) => !!(f & (1 /* Required */ | 8 /* Variadic */))); - let typeParameters; - const properties = []; - let combinedFlags = 0; - if (arity) { - typeParameters = new Array(arity); - for (let i = 0; i < arity; i++) { - const typeParameter = typeParameters[i] = createTypeParameter(); - const flags = elementFlags[i]; - combinedFlags |= flags; - if (!(combinedFlags & 12 /* Variable */)) { - const property = createSymbol(4 /* Property */ | (flags & 2 /* Optional */ ? 16777216 /* Optional */ : 0), "" + i, readonly ? 8 /* Readonly */ : 0); - property.links.tupleLabelDeclaration = namedMemberDeclarations == null ? void 0 : namedMemberDeclarations[i]; - property.links.type = typeParameter; - properties.push(property); - } - } - } - const fixedLength = properties.length; - const lengthSymbol = createSymbol(4 /* Property */, "length", readonly ? 8 /* Readonly */ : 0); - if (combinedFlags & 12 /* Variable */) { - lengthSymbol.links.type = numberType; - } else { - const literalTypes = []; - for (let i = minLength; i <= arity; i++) literalTypes.push(getNumberLiteralType(i)); - lengthSymbol.links.type = getUnionType(literalTypes); - } - properties.push(lengthSymbol); - const type = createObjectType(8 /* Tuple */ | 4 /* Reference */); - type.typeParameters = typeParameters; - type.outerTypeParameters = void 0; - type.localTypeParameters = typeParameters; - type.instantiations = /* @__PURE__ */ new Map(); - type.instantiations.set(getTypeListId(type.typeParameters), type); - type.target = type; - type.resolvedTypeArguments = type.typeParameters; - type.thisType = createTypeParameter(); - type.thisType.isThisType = true; - type.thisType.constraint = type; - type.declaredProperties = properties; - type.declaredCallSignatures = emptyArray; - type.declaredConstructSignatures = emptyArray; - type.declaredIndexInfos = emptyArray; - type.elementFlags = elementFlags; - type.minLength = minLength; - type.fixedLength = fixedLength; - type.hasRestElement = !!(combinedFlags & 12 /* Variable */); - type.combinedFlags = combinedFlags; - type.readonly = readonly; - type.labeledElementDeclarations = namedMemberDeclarations; - return type; - } - function createNormalizedTypeReference(target, typeArguments) { - return target.objectFlags & 8 /* Tuple */ ? createNormalizedTupleType(target, typeArguments) : createTypeReference(target, typeArguments); - } - function createNormalizedTupleType(target, elementTypes) { - var _a, _b, _c, _d; - if (!(target.combinedFlags & 14 /* NonRequired */)) { - return createTypeReference(target, elementTypes); - } - if (target.combinedFlags & 8 /* Variadic */) { - const unionIndex = findIndex(elementTypes, (t, i) => !!(target.elementFlags[i] & 8 /* Variadic */ && t.flags & (131072 /* Never */ | 1048576 /* Union */))); - if (unionIndex >= 0) { - return checkCrossProductUnion(map(elementTypes, (t, i) => target.elementFlags[i] & 8 /* Variadic */ ? t : unknownType)) ? mapType(elementTypes[unionIndex], (t) => createNormalizedTupleType(target, replaceElement(elementTypes, unionIndex, t))) : errorType; - } - } - const expandedTypes = []; - const expandedFlags = []; - const expandedDeclarations = []; - let lastRequiredIndex = -1; - let firstRestIndex = -1; - let lastOptionalOrRestIndex = -1; - for (let i = 0; i < elementTypes.length; i++) { - const type = elementTypes[i]; - const flags = target.elementFlags[i]; - if (flags & 8 /* Variadic */) { - if (type.flags & 1 /* Any */) { - addElement(type, 4 /* Rest */, (_a = target.labeledElementDeclarations) == null ? void 0 : _a[i]); - } else if (type.flags & 58982400 /* InstantiableNonPrimitive */ || isGenericMappedType(type)) { - addElement(type, 8 /* Variadic */, (_b = target.labeledElementDeclarations) == null ? void 0 : _b[i]); - } else if (isTupleType(type)) { - const elements = getElementTypes(type); - if (elements.length + expandedTypes.length >= 1e4) { - error( - currentNode, - isPartOfTypeNode(currentNode) ? Diagnostics.Type_produces_a_tuple_type_that_is_too_large_to_represent : Diagnostics.Expression_produces_a_tuple_type_that_is_too_large_to_represent - ); - return errorType; - } - forEach(elements, (t, n) => { - var _a2; - return addElement(t, type.target.elementFlags[n], (_a2 = type.target.labeledElementDeclarations) == null ? void 0 : _a2[n]); - }); - } else { - addElement(isArrayLikeType(type) && getIndexTypeOfType(type, numberType) || errorType, 4 /* Rest */, (_c = target.labeledElementDeclarations) == null ? void 0 : _c[i]); - } - } else { - addElement(type, flags, (_d = target.labeledElementDeclarations) == null ? void 0 : _d[i]); - } - } - for (let i = 0; i < lastRequiredIndex; i++) { - if (expandedFlags[i] & 2 /* Optional */) expandedFlags[i] = 1 /* Required */; - } - if (firstRestIndex >= 0 && firstRestIndex < lastOptionalOrRestIndex) { - expandedTypes[firstRestIndex] = getUnionType(sameMap(expandedTypes.slice(firstRestIndex, lastOptionalOrRestIndex + 1), (t, i) => expandedFlags[firstRestIndex + i] & 8 /* Variadic */ ? getIndexedAccessType(t, numberType) : t)); - expandedTypes.splice(firstRestIndex + 1, lastOptionalOrRestIndex - firstRestIndex); - expandedFlags.splice(firstRestIndex + 1, lastOptionalOrRestIndex - firstRestIndex); - expandedDeclarations.splice(firstRestIndex + 1, lastOptionalOrRestIndex - firstRestIndex); - } - const tupleTarget = getTupleTargetType(expandedFlags, target.readonly, expandedDeclarations); - return tupleTarget === emptyGenericType ? emptyObjectType : expandedFlags.length ? createTypeReference(tupleTarget, expandedTypes) : tupleTarget; - function addElement(type, flags, declaration) { - if (flags & 1 /* Required */) { - lastRequiredIndex = expandedFlags.length; - } - if (flags & 4 /* Rest */ && firstRestIndex < 0) { - firstRestIndex = expandedFlags.length; - } - if (flags & (2 /* Optional */ | 4 /* Rest */)) { - lastOptionalOrRestIndex = expandedFlags.length; - } - expandedTypes.push(flags & 2 /* Optional */ ? addOptionality( - type, - /*isProperty*/ - true - ) : type); - expandedFlags.push(flags); - expandedDeclarations.push(declaration); - } - } - function sliceTupleType(type, index, endSkipCount = 0) { - const target = type.target; - const endIndex = getTypeReferenceArity(type) - endSkipCount; - return index > target.fixedLength ? getRestArrayTypeOfTupleType(type) || createTupleType(emptyArray) : createTupleType( - getTypeArguments(type).slice(index, endIndex), - target.elementFlags.slice(index, endIndex), - /*readonly*/ - false, - target.labeledElementDeclarations && target.labeledElementDeclarations.slice(index, endIndex) - ); - } - function getKnownKeysOfTupleType(type) { - return getUnionType(append(arrayOf(type.target.fixedLength, (i) => getStringLiteralType("" + i)), getIndexType(type.target.readonly ? globalReadonlyArrayType : globalArrayType))); - } - function getStartElementCount(type, flags) { - const index = findIndex(type.elementFlags, (f) => !(f & flags)); - return index >= 0 ? index : type.elementFlags.length; - } - function getEndElementCount(type, flags) { - return type.elementFlags.length - findLastIndex(type.elementFlags, (f) => !(f & flags)) - 1; - } - function getTotalFixedElementCount(type) { - return type.fixedLength + getEndElementCount(type, 3 /* Fixed */); - } - function getElementTypes(type) { - const typeArguments = getTypeArguments(type); - const arity = getTypeReferenceArity(type); - return typeArguments.length === arity ? typeArguments : typeArguments.slice(0, arity); - } - function getTypeFromOptionalTypeNode(node) { - return addOptionality( - getTypeFromTypeNode(node.type), - /*isProperty*/ - true - ); - } - function getTypeId(type) { - return type.id; - } - function containsType(types, type) { - return binarySearch(types, type, getTypeId, compareValues) >= 0; - } - function insertType(types, type) { - const index = binarySearch(types, type, getTypeId, compareValues); - if (index < 0) { - types.splice(~index, 0, type); - return true; - } - return false; - } - function addTypeToUnion(typeSet, includes, type) { - const flags = type.flags; - if (!(flags & 131072 /* Never */)) { - includes |= flags & 473694207 /* IncludesMask */; - if (flags & 465829888 /* Instantiable */) includes |= 33554432 /* IncludesInstantiable */; - if (flags & 2097152 /* Intersection */ && getObjectFlags(type) & 67108864 /* IsConstrainedTypeVariable */) includes |= 536870912 /* IncludesConstrainedTypeVariable */; - if (type === wildcardType) includes |= 8388608 /* IncludesWildcard */; - if (isErrorType(type)) includes |= 1073741824 /* IncludesError */; - if (!strictNullChecks && flags & 98304 /* Nullable */) { - if (!(getObjectFlags(type) & 65536 /* ContainsWideningType */)) includes |= 4194304 /* IncludesNonWideningType */; - } else { - const len = typeSet.length; - const index = len && type.id > typeSet[len - 1].id ? ~len : binarySearch(typeSet, type, getTypeId, compareValues); - if (index < 0) { - typeSet.splice(~index, 0, type); - } - } - } - return includes; - } - function addTypesToUnion(typeSet, includes, types) { - let lastType; - for (const type of types) { - if (type !== lastType) { - includes = type.flags & 1048576 /* Union */ ? addTypesToUnion(typeSet, includes | (isNamedUnionType(type) ? 1048576 /* Union */ : 0), type.types) : addTypeToUnion(typeSet, includes, type); - lastType = type; - } - } - return includes; - } - function removeSubtypes(types, hasObjectTypes) { - var _a; - if (types.length < 2) { - return types; - } - const id = getTypeListId(types); - const match = subtypeReductionCache.get(id); - if (match) { - return match; - } - const hasEmptyObject = hasObjectTypes && some(types, (t) => !!(t.flags & 524288 /* Object */) && !isGenericMappedType(t) && isEmptyResolvedType(resolveStructuredTypeMembers(t))); - const len = types.length; - let i = len; - let count = 0; - while (i > 0) { - i--; - const source = types[i]; - if (hasEmptyObject || source.flags & 469499904 /* StructuredOrInstantiable */) { - if (source.flags & 262144 /* TypeParameter */ && getBaseConstraintOrType(source).flags & 1048576 /* Union */) { - if (isTypeRelatedTo(source, getUnionType(map(types, (t) => t === source ? neverType : t)), strictSubtypeRelation)) { - orderedRemoveItemAt(types, i); - } - continue; - } - const keyProperty = source.flags & (524288 /* Object */ | 2097152 /* Intersection */ | 58982400 /* InstantiableNonPrimitive */) ? find(getPropertiesOfType(source), (p) => isUnitType(getTypeOfSymbol(p))) : void 0; - const keyPropertyType = keyProperty && getRegularTypeOfLiteralType(getTypeOfSymbol(keyProperty)); - for (const target of types) { - if (source !== target) { - if (count === 1e5) { - const estimatedCount = count / (len - i) * len; - if (estimatedCount > 1e6) { - (_a = tracing) == null ? void 0 : _a.instant(tracing.Phase.CheckTypes, "removeSubtypes_DepthLimit", { typeIds: types.map((t) => t.id) }); - error(currentNode, Diagnostics.Expression_produces_a_union_type_that_is_too_complex_to_represent); - return void 0; - } - } - count++; - if (keyProperty && target.flags & (524288 /* Object */ | 2097152 /* Intersection */ | 58982400 /* InstantiableNonPrimitive */)) { - const t = getTypeOfPropertyOfType(target, keyProperty.escapedName); - if (t && isUnitType(t) && getRegularTypeOfLiteralType(t) !== keyPropertyType) { - continue; - } - } - if (isTypeRelatedTo(source, target, strictSubtypeRelation) && (!(getObjectFlags(getTargetType(source)) & 1 /* Class */) || !(getObjectFlags(getTargetType(target)) & 1 /* Class */) || isTypeDerivedFrom(source, target))) { - orderedRemoveItemAt(types, i); - break; - } - } - } - } - } - subtypeReductionCache.set(id, types); - return types; - } - function removeRedundantLiteralTypes(types, includes, reduceVoidUndefined) { - let i = types.length; - while (i > 0) { - i--; - const t = types[i]; - const flags = t.flags; - const remove = flags & (128 /* StringLiteral */ | 134217728 /* TemplateLiteral */ | 268435456 /* StringMapping */) && includes & 4 /* String */ || flags & 256 /* NumberLiteral */ && includes & 8 /* Number */ || flags & 2048 /* BigIntLiteral */ && includes & 64 /* BigInt */ || flags & 8192 /* UniqueESSymbol */ && includes & 4096 /* ESSymbol */ || reduceVoidUndefined && flags & 32768 /* Undefined */ && includes & 16384 /* Void */ || isFreshLiteralType(t) && containsType(types, t.regularType); - if (remove) { - orderedRemoveItemAt(types, i); - } - } - } - function removeStringLiteralsMatchedByTemplateLiterals(types) { - const templates = filter(types, isPatternLiteralType); - if (templates.length) { - let i = types.length; - while (i > 0) { - i--; - const t = types[i]; - if (t.flags & 128 /* StringLiteral */ && some(templates, (template) => isTypeMatchedByTemplateLiteralOrStringMapping(t, template))) { - orderedRemoveItemAt(types, i); - } - } - } - } - function isTypeMatchedByTemplateLiteralOrStringMapping(type, template) { - return template.flags & 134217728 /* TemplateLiteral */ ? isTypeMatchedByTemplateLiteralType(type, template) : isMemberOfStringMapping(type, template); - } - function removeConstrainedTypeVariables(types) { - const typeVariables = []; - for (const type of types) { - if (type.flags & 2097152 /* Intersection */ && getObjectFlags(type) & 67108864 /* IsConstrainedTypeVariable */) { - const index = type.types[0].flags & 8650752 /* TypeVariable */ ? 0 : 1; - pushIfUnique(typeVariables, type.types[index]); - } - } - for (const typeVariable of typeVariables) { - const primitives = []; - for (const type of types) { - if (type.flags & 2097152 /* Intersection */ && getObjectFlags(type) & 67108864 /* IsConstrainedTypeVariable */) { - const index = type.types[0].flags & 8650752 /* TypeVariable */ ? 0 : 1; - if (type.types[index] === typeVariable) { - insertType(primitives, type.types[1 - index]); - } - } - } - const constraint = getBaseConstraintOfType(typeVariable); - if (everyType(constraint, (t) => containsType(primitives, t))) { - let i = types.length; - while (i > 0) { - i--; - const type = types[i]; - if (type.flags & 2097152 /* Intersection */ && getObjectFlags(type) & 67108864 /* IsConstrainedTypeVariable */) { - const index = type.types[0].flags & 8650752 /* TypeVariable */ ? 0 : 1; - if (type.types[index] === typeVariable && containsType(primitives, type.types[1 - index])) { - orderedRemoveItemAt(types, i); - } - } - } - insertType(types, typeVariable); - } - } - } - function isNamedUnionType(type) { - return !!(type.flags & 1048576 /* Union */ && (type.aliasSymbol || type.origin)); - } - function addNamedUnions(namedUnions, types) { - for (const t of types) { - if (t.flags & 1048576 /* Union */) { - const origin = t.origin; - if (t.aliasSymbol || origin && !(origin.flags & 1048576 /* Union */)) { - pushIfUnique(namedUnions, t); - } else if (origin && origin.flags & 1048576 /* Union */) { - addNamedUnions(namedUnions, origin.types); - } - } - } - } - function createOriginUnionOrIntersectionType(flags, types) { - const result = createOriginType(flags); - result.types = types; - return result; - } - function getUnionType(types, unionReduction = 1 /* Literal */, aliasSymbol, aliasTypeArguments, origin) { - if (types.length === 0) { - return neverType; - } - if (types.length === 1) { - return types[0]; - } - if (types.length === 2 && !origin && (types[0].flags & 1048576 /* Union */ || types[1].flags & 1048576 /* Union */)) { - const infix = unionReduction === 0 /* None */ ? "N" : unionReduction === 2 /* Subtype */ ? "S" : "L"; - const index = types[0].id < types[1].id ? 0 : 1; - const id = types[index].id + infix + types[1 - index].id + getAliasId(aliasSymbol, aliasTypeArguments); - let type = unionOfUnionTypes.get(id); - if (!type) { - type = getUnionTypeWorker( - types, - unionReduction, - aliasSymbol, - aliasTypeArguments, - /*origin*/ - void 0 - ); - unionOfUnionTypes.set(id, type); - } - return type; - } - return getUnionTypeWorker(types, unionReduction, aliasSymbol, aliasTypeArguments, origin); - } - function getUnionTypeWorker(types, unionReduction, aliasSymbol, aliasTypeArguments, origin) { - let typeSet = []; - const includes = addTypesToUnion(typeSet, 0, types); - if (unionReduction !== 0 /* None */) { - if (includes & 3 /* AnyOrUnknown */) { - return includes & 1 /* Any */ ? includes & 8388608 /* IncludesWildcard */ ? wildcardType : includes & 1073741824 /* IncludesError */ ? errorType : anyType : unknownType; - } - if (includes & 32768 /* Undefined */) { - if (typeSet.length >= 2 && typeSet[0] === undefinedType && typeSet[1] === missingType) { - orderedRemoveItemAt(typeSet, 1); - } - } - if (includes & (32 /* Enum */ | 2944 /* Literal */ | 8192 /* UniqueESSymbol */ | 134217728 /* TemplateLiteral */ | 268435456 /* StringMapping */) || includes & 16384 /* Void */ && includes & 32768 /* Undefined */) { - removeRedundantLiteralTypes(typeSet, includes, !!(unionReduction & 2 /* Subtype */)); - } - if (includes & 128 /* StringLiteral */ && includes & (134217728 /* TemplateLiteral */ | 268435456 /* StringMapping */)) { - removeStringLiteralsMatchedByTemplateLiterals(typeSet); - } - if (includes & 536870912 /* IncludesConstrainedTypeVariable */) { - removeConstrainedTypeVariables(typeSet); - } - if (unionReduction === 2 /* Subtype */) { - typeSet = removeSubtypes(typeSet, !!(includes & 524288 /* Object */)); - if (!typeSet) { - return errorType; - } - } - if (typeSet.length === 0) { - return includes & 65536 /* Null */ ? includes & 4194304 /* IncludesNonWideningType */ ? nullType : nullWideningType : includes & 32768 /* Undefined */ ? includes & 4194304 /* IncludesNonWideningType */ ? undefinedType : undefinedWideningType : neverType; - } - } - if (!origin && includes & 1048576 /* Union */) { - const namedUnions = []; - addNamedUnions(namedUnions, types); - const reducedTypes = []; - for (const t of typeSet) { - if (!some(namedUnions, (union) => containsType(union.types, t))) { - reducedTypes.push(t); - } - } - if (!aliasSymbol && namedUnions.length === 1 && reducedTypes.length === 0) { - return namedUnions[0]; - } - const namedTypesCount = reduceLeft(namedUnions, (sum, union) => sum + union.types.length, 0); - if (namedTypesCount + reducedTypes.length === typeSet.length) { - for (const t of namedUnions) { - insertType(reducedTypes, t); - } - origin = createOriginUnionOrIntersectionType(1048576 /* Union */, reducedTypes); - } - } - const objectFlags = (includes & 36323331 /* NotPrimitiveUnion */ ? 0 : 32768 /* PrimitiveUnion */) | (includes & 2097152 /* Intersection */ ? 16777216 /* ContainsIntersections */ : 0); - return getUnionTypeFromSortedList(typeSet, objectFlags, aliasSymbol, aliasTypeArguments, origin); - } - function getUnionOrIntersectionTypePredicate(signatures, kind) { - let last2; - const types = []; - for (const sig of signatures) { - const pred = getTypePredicateOfSignature(sig); - if (pred) { - if (pred.kind !== 0 /* This */ && pred.kind !== 1 /* Identifier */ || last2 && !typePredicateKindsMatch(last2, pred)) { - return void 0; - } - last2 = pred; - types.push(pred.type); - } else { - const returnType = kind !== 2097152 /* Intersection */ ? getReturnTypeOfSignature(sig) : void 0; - if (returnType !== falseType && returnType !== regularFalseType) { - return void 0; - } - } - } - if (!last2) { - return void 0; - } - const compositeType = getUnionOrIntersectionType(types, kind); - return createTypePredicate(last2.kind, last2.parameterName, last2.parameterIndex, compositeType); - } - function typePredicateKindsMatch(a, b) { - return a.kind === b.kind && a.parameterIndex === b.parameterIndex; - } - function getUnionTypeFromSortedList(types, precomputedObjectFlags, aliasSymbol, aliasTypeArguments, origin) { - if (types.length === 0) { - return neverType; - } - if (types.length === 1) { - return types[0]; - } - const typeKey = !origin ? getTypeListId(types) : origin.flags & 1048576 /* Union */ ? `|${getTypeListId(origin.types)}` : origin.flags & 2097152 /* Intersection */ ? `&${getTypeListId(origin.types)}` : `#${origin.type.id}|${getTypeListId(types)}`; - const id = typeKey + getAliasId(aliasSymbol, aliasTypeArguments); - let type = unionTypes.get(id); - if (!type) { - type = createType(1048576 /* Union */); - type.objectFlags = precomputedObjectFlags | getPropagatingFlagsOfTypes( - types, - /*excludeKinds*/ - 98304 /* Nullable */ - ); - type.types = types; - type.origin = origin; - type.aliasSymbol = aliasSymbol; - type.aliasTypeArguments = aliasTypeArguments; - if (types.length === 2 && types[0].flags & 512 /* BooleanLiteral */ && types[1].flags & 512 /* BooleanLiteral */) { - type.flags |= 16 /* Boolean */; - type.intrinsicName = "boolean"; - } - unionTypes.set(id, type); - } - return type; - } - function getTypeFromUnionTypeNode(node) { - const links = getNodeLinks(node); - if (!links.resolvedType) { - const aliasSymbol = getAliasSymbolForTypeNode(node); - links.resolvedType = getUnionType(map(node.types, getTypeFromTypeNode), 1 /* Literal */, aliasSymbol, getTypeArgumentsForAliasSymbol(aliasSymbol)); - } - return links.resolvedType; - } - function addTypeToIntersection(typeSet, includes, type) { - const flags = type.flags; - if (flags & 2097152 /* Intersection */) { - return addTypesToIntersection(typeSet, includes, type.types); - } - if (isEmptyAnonymousObjectType(type)) { - if (!(includes & 16777216 /* IncludesEmptyObject */)) { - includes |= 16777216 /* IncludesEmptyObject */; - typeSet.set(type.id.toString(), type); - } - } else { - if (flags & 3 /* AnyOrUnknown */) { - if (type === wildcardType) includes |= 8388608 /* IncludesWildcard */; - if (isErrorType(type)) includes |= 1073741824 /* IncludesError */; - } else if (strictNullChecks || !(flags & 98304 /* Nullable */)) { - if (type === missingType) { - includes |= 262144 /* IncludesMissingType */; - type = undefinedType; - } - if (!typeSet.has(type.id.toString())) { - if (type.flags & 109472 /* Unit */ && includes & 109472 /* Unit */) { - includes |= 67108864 /* NonPrimitive */; - } - typeSet.set(type.id.toString(), type); - } - } - includes |= flags & 473694207 /* IncludesMask */; - } - return includes; - } - function addTypesToIntersection(typeSet, includes, types) { - for (const type of types) { - includes = addTypeToIntersection(typeSet, includes, getRegularTypeOfLiteralType(type)); - } - return includes; - } - function removeRedundantSupertypes(types, includes) { - let i = types.length; - while (i > 0) { - i--; - const t = types[i]; - const remove = t.flags & 4 /* String */ && includes & (128 /* StringLiteral */ | 134217728 /* TemplateLiteral */ | 268435456 /* StringMapping */) || t.flags & 8 /* Number */ && includes & 256 /* NumberLiteral */ || t.flags & 64 /* BigInt */ && includes & 2048 /* BigIntLiteral */ || t.flags & 4096 /* ESSymbol */ && includes & 8192 /* UniqueESSymbol */ || t.flags & 16384 /* Void */ && includes & 32768 /* Undefined */ || isEmptyAnonymousObjectType(t) && includes & 470302716 /* DefinitelyNonNullable */; - if (remove) { - orderedRemoveItemAt(types, i); - } - } - } - function eachUnionContains(unionTypes2, type) { - for (const u of unionTypes2) { - if (!containsType(u.types, type)) { - if (type === missingType) { - return containsType(u.types, undefinedType); - } - if (type === undefinedType) { - return containsType(u.types, missingType); - } - const primitive = type.flags & 128 /* StringLiteral */ ? stringType : type.flags & (32 /* Enum */ | 256 /* NumberLiteral */) ? numberType : type.flags & 2048 /* BigIntLiteral */ ? bigintType : type.flags & 8192 /* UniqueESSymbol */ ? esSymbolType : void 0; - if (!primitive || !containsType(u.types, primitive)) { - return false; - } - } - } - return true; - } - function extractRedundantTemplateLiterals(types) { - let i = types.length; - const literals = filter(types, (t) => !!(t.flags & 128 /* StringLiteral */)); - while (i > 0) { - i--; - const t = types[i]; - if (!(t.flags & (134217728 /* TemplateLiteral */ | 268435456 /* StringMapping */))) continue; - for (const t2 of literals) { - if (isTypeSubtypeOf(t2, t)) { - orderedRemoveItemAt(types, i); - break; - } else if (isPatternLiteralType(t)) { - return true; - } - } - } - return false; - } - function removeFromEach(types, flag) { - for (let i = 0; i < types.length; i++) { - types[i] = filterType(types[i], (t) => !(t.flags & flag)); - } - } - function intersectUnionsOfPrimitiveTypes(types) { - let unionTypes2; - const index = findIndex(types, (t) => !!(getObjectFlags(t) & 32768 /* PrimitiveUnion */)); - if (index < 0) { - return false; - } - let i = index + 1; - while (i < types.length) { - const t = types[i]; - if (getObjectFlags(t) & 32768 /* PrimitiveUnion */) { - (unionTypes2 || (unionTypes2 = [types[index]])).push(t); - orderedRemoveItemAt(types, i); - } else { - i++; - } - } - if (!unionTypes2) { - return false; - } - const checked = []; - const result = []; - for (const u of unionTypes2) { - for (const t of u.types) { - if (insertType(checked, t)) { - if (eachUnionContains(unionTypes2, t)) { - if (t === undefinedType && result.length && result[0] === missingType) { - continue; - } - if (t === missingType && result.length && result[0] === undefinedType) { - result[0] = missingType; - continue; - } - insertType(result, t); - } - } - } - } - types[index] = getUnionTypeFromSortedList(result, 32768 /* PrimitiveUnion */); - return true; - } - function createIntersectionType(types, objectFlags, aliasSymbol, aliasTypeArguments) { - const result = createType(2097152 /* Intersection */); - result.objectFlags = objectFlags | getPropagatingFlagsOfTypes( - types, - /*excludeKinds*/ - 98304 /* Nullable */ - ); - result.types = types; - result.aliasSymbol = aliasSymbol; - result.aliasTypeArguments = aliasTypeArguments; - return result; - } - function getIntersectionType(types, flags = 0 /* None */, aliasSymbol, aliasTypeArguments) { - const typeMembershipMap = /* @__PURE__ */ new Map(); - const includes = addTypesToIntersection(typeMembershipMap, 0, types); - const typeSet = arrayFrom(typeMembershipMap.values()); - let objectFlags = 0 /* None */; - if (includes & 131072 /* Never */) { - return contains(typeSet, silentNeverType) ? silentNeverType : neverType; - } - if (strictNullChecks && includes & 98304 /* Nullable */ && includes & (524288 /* Object */ | 67108864 /* NonPrimitive */ | 16777216 /* IncludesEmptyObject */) || includes & 67108864 /* NonPrimitive */ && includes & (469892092 /* DisjointDomains */ & ~67108864 /* NonPrimitive */) || includes & 402653316 /* StringLike */ && includes & (469892092 /* DisjointDomains */ & ~402653316 /* StringLike */) || includes & 296 /* NumberLike */ && includes & (469892092 /* DisjointDomains */ & ~296 /* NumberLike */) || includes & 2112 /* BigIntLike */ && includes & (469892092 /* DisjointDomains */ & ~2112 /* BigIntLike */) || includes & 12288 /* ESSymbolLike */ && includes & (469892092 /* DisjointDomains */ & ~12288 /* ESSymbolLike */) || includes & 49152 /* VoidLike */ && includes & (469892092 /* DisjointDomains */ & ~49152 /* VoidLike */)) { - return neverType; - } - if (includes & (134217728 /* TemplateLiteral */ | 268435456 /* StringMapping */) && includes & 128 /* StringLiteral */ && extractRedundantTemplateLiterals(typeSet)) { - return neverType; - } - if (includes & 1 /* Any */) { - return includes & 8388608 /* IncludesWildcard */ ? wildcardType : includes & 1073741824 /* IncludesError */ ? errorType : anyType; - } - if (!strictNullChecks && includes & 98304 /* Nullable */) { - return includes & 16777216 /* IncludesEmptyObject */ ? neverType : includes & 32768 /* Undefined */ ? undefinedType : nullType; - } - if (includes & 4 /* String */ && includes & (128 /* StringLiteral */ | 134217728 /* TemplateLiteral */ | 268435456 /* StringMapping */) || includes & 8 /* Number */ && includes & 256 /* NumberLiteral */ || includes & 64 /* BigInt */ && includes & 2048 /* BigIntLiteral */ || includes & 4096 /* ESSymbol */ && includes & 8192 /* UniqueESSymbol */ || includes & 16384 /* Void */ && includes & 32768 /* Undefined */ || includes & 16777216 /* IncludesEmptyObject */ && includes & 470302716 /* DefinitelyNonNullable */) { - if (!(flags & 1 /* NoSupertypeReduction */)) removeRedundantSupertypes(typeSet, includes); - } - if (includes & 262144 /* IncludesMissingType */) { - typeSet[typeSet.indexOf(undefinedType)] = missingType; - } - if (typeSet.length === 0) { - return unknownType; - } - if (typeSet.length === 1) { - return typeSet[0]; - } - if (typeSet.length === 2 && !(flags & 2 /* NoConstraintReduction */)) { - const typeVarIndex = typeSet[0].flags & 8650752 /* TypeVariable */ ? 0 : 1; - const typeVariable = typeSet[typeVarIndex]; - const primitiveType = typeSet[1 - typeVarIndex]; - if (typeVariable.flags & 8650752 /* TypeVariable */ && (primitiveType.flags & (402784252 /* Primitive */ | 67108864 /* NonPrimitive */) && !isGenericStringLikeType(primitiveType) || includes & 16777216 /* IncludesEmptyObject */)) { - const constraint = getBaseConstraintOfType(typeVariable); - if (constraint && everyType(constraint, (t) => !!(t.flags & (402784252 /* Primitive */ | 67108864 /* NonPrimitive */)) || isEmptyAnonymousObjectType(t))) { - if (isTypeStrictSubtypeOf(constraint, primitiveType)) { - return typeVariable; - } - if (!(constraint.flags & 1048576 /* Union */ && someType(constraint, (c) => isTypeStrictSubtypeOf(c, primitiveType)))) { - if (!isTypeStrictSubtypeOf(primitiveType, constraint)) { - return neverType; - } - } - objectFlags = 67108864 /* IsConstrainedTypeVariable */; - } - } - } - const id = getTypeListId(typeSet) + (flags & 2 /* NoConstraintReduction */ ? "*" : getAliasId(aliasSymbol, aliasTypeArguments)); - let result = intersectionTypes.get(id); - if (!result) { - if (includes & 1048576 /* Union */) { - if (intersectUnionsOfPrimitiveTypes(typeSet)) { - result = getIntersectionType(typeSet, flags, aliasSymbol, aliasTypeArguments); - } else if (every(typeSet, (t) => !!(t.flags & 1048576 /* Union */ && t.types[0].flags & 32768 /* Undefined */))) { - const containedUndefinedType = some(typeSet, containsMissingType) ? missingType : undefinedType; - removeFromEach(typeSet, 32768 /* Undefined */); - result = getUnionType([getIntersectionType(typeSet, flags), containedUndefinedType], 1 /* Literal */, aliasSymbol, aliasTypeArguments); - } else if (every(typeSet, (t) => !!(t.flags & 1048576 /* Union */ && (t.types[0].flags & 65536 /* Null */ || t.types[1].flags & 65536 /* Null */)))) { - removeFromEach(typeSet, 65536 /* Null */); - result = getUnionType([getIntersectionType(typeSet, flags), nullType], 1 /* Literal */, aliasSymbol, aliasTypeArguments); - } else if (typeSet.length >= 3 && types.length > 2) { - const middle = Math.floor(typeSet.length / 2); - result = getIntersectionType([getIntersectionType(typeSet.slice(0, middle), flags), getIntersectionType(typeSet.slice(middle), flags)], flags, aliasSymbol, aliasTypeArguments); - } else { - if (!checkCrossProductUnion(typeSet)) { - return errorType; - } - const constituents = getCrossProductIntersections(typeSet, flags); - const origin = some(constituents, (t) => !!(t.flags & 2097152 /* Intersection */)) && getConstituentCountOfTypes(constituents) > getConstituentCountOfTypes(typeSet) ? createOriginUnionOrIntersectionType(2097152 /* Intersection */, typeSet) : void 0; - result = getUnionType(constituents, 1 /* Literal */, aliasSymbol, aliasTypeArguments, origin); - } - } else { - result = createIntersectionType(typeSet, objectFlags, aliasSymbol, aliasTypeArguments); - } - intersectionTypes.set(id, result); - } - return result; - } - function getCrossProductUnionSize(types) { - return reduceLeft(types, (n, t) => t.flags & 1048576 /* Union */ ? n * t.types.length : t.flags & 131072 /* Never */ ? 0 : n, 1); - } - function checkCrossProductUnion(types) { - var _a; - const size = getCrossProductUnionSize(types); - if (size >= 1e5) { - (_a = tracing) == null ? void 0 : _a.instant(tracing.Phase.CheckTypes, "checkCrossProductUnion_DepthLimit", { typeIds: types.map((t) => t.id), size }); - error(currentNode, Diagnostics.Expression_produces_a_union_type_that_is_too_complex_to_represent); - return false; - } - return true; - } - function getCrossProductIntersections(types, flags) { - const count = getCrossProductUnionSize(types); - const intersections = []; - for (let i = 0; i < count; i++) { - const constituents = types.slice(); - let n = i; - for (let j = types.length - 1; j >= 0; j--) { - if (types[j].flags & 1048576 /* Union */) { - const sourceTypes = types[j].types; - const length2 = sourceTypes.length; - constituents[j] = sourceTypes[n % length2]; - n = Math.floor(n / length2); - } - } - const t = getIntersectionType(constituents, flags); - if (!(t.flags & 131072 /* Never */)) intersections.push(t); - } - return intersections; - } - function getConstituentCount(type) { - return !(type.flags & 3145728 /* UnionOrIntersection */) || type.aliasSymbol ? 1 : type.flags & 1048576 /* Union */ && type.origin ? getConstituentCount(type.origin) : getConstituentCountOfTypes(type.types); - } - function getConstituentCountOfTypes(types) { - return reduceLeft(types, (n, t) => n + getConstituentCount(t), 0); - } - function getTypeFromIntersectionTypeNode(node) { - const links = getNodeLinks(node); - if (!links.resolvedType) { - const aliasSymbol = getAliasSymbolForTypeNode(node); - const types = map(node.types, getTypeFromTypeNode); - const emptyIndex = types.length === 2 ? types.indexOf(emptyTypeLiteralType) : -1; - const t = emptyIndex >= 0 ? types[1 - emptyIndex] : unknownType; - const noSupertypeReduction = !!(t.flags & (4 /* String */ | 8 /* Number */ | 64 /* BigInt */) || t.flags & 134217728 /* TemplateLiteral */ && isPatternLiteralType(t)); - links.resolvedType = getIntersectionType(types, noSupertypeReduction ? 1 /* NoSupertypeReduction */ : 0, aliasSymbol, getTypeArgumentsForAliasSymbol(aliasSymbol)); - } - return links.resolvedType; - } - function createIndexType(type, indexFlags) { - const result = createType(4194304 /* Index */); - result.type = type; - result.indexFlags = indexFlags; - return result; - } - function createOriginIndexType(type) { - const result = createOriginType(4194304 /* Index */); - result.type = type; - return result; - } - function getIndexTypeForGenericType(type, indexFlags) { - return indexFlags & 1 /* StringsOnly */ ? type.resolvedStringIndexType || (type.resolvedStringIndexType = createIndexType(type, 1 /* StringsOnly */)) : type.resolvedIndexType || (type.resolvedIndexType = createIndexType(type, 0 /* None */)); - } - function getIndexTypeForMappedType(type, indexFlags) { - const typeParameter = getTypeParameterFromMappedType(type); - const constraintType = getConstraintTypeFromMappedType(type); - const nameType = getNameTypeFromMappedType(type.target || type); - if (!nameType && !(indexFlags & 2 /* NoIndexSignatures */)) { - return constraintType; - } - const keyTypes = []; - if (isGenericIndexType(constraintType)) { - if (isMappedTypeWithKeyofConstraintDeclaration(type)) { - return getIndexTypeForGenericType(type, indexFlags); - } - forEachType(constraintType, addMemberForKeyType); - } else if (isMappedTypeWithKeyofConstraintDeclaration(type)) { - const modifiersType = getApparentType(getModifiersTypeFromMappedType(type)); - forEachMappedTypePropertyKeyTypeAndIndexSignatureKeyType(modifiersType, 8576 /* StringOrNumberLiteralOrUnique */, !!(indexFlags & 1 /* StringsOnly */), addMemberForKeyType); - } else { - forEachType(getLowerBoundOfKeyType(constraintType), addMemberForKeyType); - } - const result = indexFlags & 2 /* NoIndexSignatures */ ? filterType(getUnionType(keyTypes), (t) => !(t.flags & (1 /* Any */ | 4 /* String */))) : getUnionType(keyTypes); - if (result.flags & 1048576 /* Union */ && constraintType.flags & 1048576 /* Union */ && getTypeListId(result.types) === getTypeListId(constraintType.types)) { - return constraintType; - } - return result; - function addMemberForKeyType(keyType) { - const propNameType = nameType ? instantiateType(nameType, appendTypeMapping(type.mapper, typeParameter, keyType)) : keyType; - keyTypes.push(propNameType === stringType ? stringOrNumberType : propNameType); - } - } - function hasDistributiveNameType(mappedType) { - const typeVariable = getTypeParameterFromMappedType(mappedType); - return isDistributive(getNameTypeFromMappedType(mappedType) || typeVariable); - function isDistributive(type) { - return type.flags & (3 /* AnyOrUnknown */ | 402784252 /* Primitive */ | 131072 /* Never */ | 262144 /* TypeParameter */ | 524288 /* Object */ | 67108864 /* NonPrimitive */) ? true : type.flags & 16777216 /* Conditional */ ? type.root.isDistributive && type.checkType === typeVariable : type.flags & (3145728 /* UnionOrIntersection */ | 134217728 /* TemplateLiteral */) ? every(type.types, isDistributive) : type.flags & 8388608 /* IndexedAccess */ ? isDistributive(type.objectType) && isDistributive(type.indexType) : type.flags & 33554432 /* Substitution */ ? isDistributive(type.baseType) && isDistributive(type.constraint) : type.flags & 268435456 /* StringMapping */ ? isDistributive(type.type) : false; - } - } - function getLiteralTypeFromPropertyName(name) { - if (isPrivateIdentifier(name)) { - return neverType; - } - if (isNumericLiteral(name)) { - return getRegularTypeOfLiteralType(checkExpression(name)); - } - if (isComputedPropertyName(name)) { - return getRegularTypeOfLiteralType(checkComputedPropertyName(name)); - } - const propertyName = getPropertyNameForPropertyNameNode(name); - if (propertyName !== void 0) { - return getStringLiteralType(unescapeLeadingUnderscores(propertyName)); - } - if (isExpression(name)) { - return getRegularTypeOfLiteralType(checkExpression(name)); - } - return neverType; - } - function getLiteralTypeFromProperty(prop, include, includeNonPublic) { - if (includeNonPublic || !(getDeclarationModifierFlagsFromSymbol(prop) & 6 /* NonPublicAccessibilityModifier */)) { - let type = getSymbolLinks(getLateBoundSymbol(prop)).nameType; - if (!type) { - const name = getNameOfDeclaration(prop.valueDeclaration); - type = prop.escapedName === "default" /* Default */ ? getStringLiteralType("default") : name && getLiteralTypeFromPropertyName(name) || (!isKnownSymbol(prop) ? getStringLiteralType(symbolName(prop)) : void 0); - } - if (type && type.flags & include) { - return type; - } - } - return neverType; - } - function isKeyTypeIncluded(keyType, include) { - return !!(keyType.flags & include || keyType.flags & 2097152 /* Intersection */ && some(keyType.types, (t) => isKeyTypeIncluded(t, include))); - } - function getLiteralTypeFromProperties(type, include, includeOrigin) { - const origin = includeOrigin && (getObjectFlags(type) & (3 /* ClassOrInterface */ | 4 /* Reference */) || type.aliasSymbol) ? createOriginIndexType(type) : void 0; - const propertyTypes = map(getPropertiesOfType(type), (prop) => getLiteralTypeFromProperty(prop, include)); - const indexKeyTypes = map(getIndexInfosOfType(type), (info) => info !== enumNumberIndexInfo && isKeyTypeIncluded(info.keyType, include) ? info.keyType === stringType && include & 8 /* Number */ ? stringOrNumberType : info.keyType : neverType); - return getUnionType( - concatenate(propertyTypes, indexKeyTypes), - 1 /* Literal */, - /*aliasSymbol*/ - void 0, - /*aliasTypeArguments*/ - void 0, - origin - ); - } - function shouldDeferIndexType(type, indexFlags = 0 /* None */) { - return !!(type.flags & 58982400 /* InstantiableNonPrimitive */ || isGenericTupleType(type) || isGenericMappedType(type) && (!hasDistributiveNameType(type) || getMappedTypeNameTypeKind(type) === 2 /* Remapping */) || type.flags & 1048576 /* Union */ && !(indexFlags & 4 /* NoReducibleCheck */) && isGenericReducibleType(type) || type.flags & 2097152 /* Intersection */ && maybeTypeOfKind(type, 465829888 /* Instantiable */) && some(type.types, isEmptyAnonymousObjectType)); - } - function getIndexType(type, indexFlags = 0 /* None */) { - type = getReducedType(type); - return isNoInferType(type) ? getNoInferType(getIndexType(type.baseType, indexFlags)) : shouldDeferIndexType(type, indexFlags) ? getIndexTypeForGenericType(type, indexFlags) : type.flags & 1048576 /* Union */ ? getIntersectionType(map(type.types, (t) => getIndexType(t, indexFlags))) : type.flags & 2097152 /* Intersection */ ? getUnionType(map(type.types, (t) => getIndexType(t, indexFlags))) : getObjectFlags(type) & 32 /* Mapped */ ? getIndexTypeForMappedType(type, indexFlags) : type === wildcardType ? wildcardType : type.flags & 2 /* Unknown */ ? neverType : type.flags & (1 /* Any */ | 131072 /* Never */) ? stringNumberSymbolType : getLiteralTypeFromProperties(type, (indexFlags & 2 /* NoIndexSignatures */ ? 128 /* StringLiteral */ : 402653316 /* StringLike */) | (indexFlags & 1 /* StringsOnly */ ? 0 : 296 /* NumberLike */ | 12288 /* ESSymbolLike */), indexFlags === 0 /* None */); - } - function getExtractStringType(type) { - const extractTypeAlias = getGlobalExtractSymbol(); - return extractTypeAlias ? getTypeAliasInstantiation(extractTypeAlias, [type, stringType]) : stringType; - } - function getIndexTypeOrString(type) { - const indexType = getExtractStringType(getIndexType(type)); - return indexType.flags & 131072 /* Never */ ? stringType : indexType; - } - function getTypeFromTypeOperatorNode(node) { - const links = getNodeLinks(node); - if (!links.resolvedType) { - switch (node.operator) { - case 143 /* KeyOfKeyword */: - links.resolvedType = getIndexType(getTypeFromTypeNode(node.type)); - break; - case 158 /* UniqueKeyword */: - links.resolvedType = node.type.kind === 155 /* SymbolKeyword */ ? getESSymbolLikeTypeForNode(walkUpParenthesizedTypes(node.parent)) : errorType; - break; - case 148 /* ReadonlyKeyword */: - links.resolvedType = getTypeFromTypeNode(node.type); - break; - default: - Debug.assertNever(node.operator); - } - } - return links.resolvedType; - } - function getTypeFromTemplateTypeNode(node) { - const links = getNodeLinks(node); - if (!links.resolvedType) { - links.resolvedType = getTemplateLiteralType( - [node.head.text, ...map(node.templateSpans, (span) => span.literal.text)], - map(node.templateSpans, (span) => getTypeFromTypeNode(span.type)) - ); - } - return links.resolvedType; - } - function getTemplateLiteralType(texts, types) { - const unionIndex = findIndex(types, (t) => !!(t.flags & (131072 /* Never */ | 1048576 /* Union */))); - if (unionIndex >= 0) { - return checkCrossProductUnion(types) ? mapType(types[unionIndex], (t) => getTemplateLiteralType(texts, replaceElement(types, unionIndex, t))) : errorType; - } - if (contains(types, wildcardType)) { - return wildcardType; - } - const newTypes = []; - const newTexts = []; - let text = texts[0]; - if (!addSpans(texts, types)) { - return stringType; - } - if (newTypes.length === 0) { - return getStringLiteralType(text); - } - newTexts.push(text); - if (every(newTexts, (t) => t === "")) { - if (every(newTypes, (t) => !!(t.flags & 4 /* String */))) { - return stringType; - } - if (newTypes.length === 1 && isPatternLiteralType(newTypes[0])) { - return newTypes[0]; - } - } - const id = `${getTypeListId(newTypes)}|${map(newTexts, (t) => t.length).join(",")}|${newTexts.join("")}`; - let type = templateLiteralTypes.get(id); - if (!type) { - templateLiteralTypes.set(id, type = createTemplateLiteralType(newTexts, newTypes)); - } - return type; - function addSpans(texts2, types2) { - for (let i = 0; i < types2.length; i++) { - const t = types2[i]; - if (t.flags & (2944 /* Literal */ | 65536 /* Null */ | 32768 /* Undefined */)) { - text += getTemplateStringForType(t) || ""; - text += texts2[i + 1]; - } else if (t.flags & 134217728 /* TemplateLiteral */) { - text += t.texts[0]; - if (!addSpans(t.texts, t.types)) return false; - text += texts2[i + 1]; - } else if (isGenericIndexType(t) || isPatternLiteralPlaceholderType(t)) { - newTypes.push(t); - newTexts.push(text); - text = texts2[i + 1]; - } else { - return false; - } - } - return true; - } - } - function getTemplateStringForType(type) { - return type.flags & 128 /* StringLiteral */ ? type.value : type.flags & 256 /* NumberLiteral */ ? "" + type.value : type.flags & 2048 /* BigIntLiteral */ ? pseudoBigIntToString(type.value) : type.flags & (512 /* BooleanLiteral */ | 98304 /* Nullable */) ? type.intrinsicName : void 0; - } - function createTemplateLiteralType(texts, types) { - const type = createType(134217728 /* TemplateLiteral */); - type.texts = texts; - type.types = types; - return type; - } - function getStringMappingType(symbol, type) { - return type.flags & (1048576 /* Union */ | 131072 /* Never */) ? mapType(type, (t) => getStringMappingType(symbol, t)) : type.flags & 128 /* StringLiteral */ ? getStringLiteralType(applyStringMapping(symbol, type.value)) : type.flags & 134217728 /* TemplateLiteral */ ? getTemplateLiteralType(...applyTemplateStringMapping(symbol, type.texts, type.types)) : ( - // Mapping> === Mapping - type.flags & 268435456 /* StringMapping */ && symbol === type.symbol ? type : type.flags & (1 /* Any */ | 4 /* String */ | 268435456 /* StringMapping */) || isGenericIndexType(type) ? getStringMappingTypeForGenericType(symbol, type) : ( - // This handles Mapping<`${number}`> and Mapping<`${bigint}`> - isPatternLiteralPlaceholderType(type) ? getStringMappingTypeForGenericType(symbol, getTemplateLiteralType(["", ""], [type])) : type - ) - ); - } - function applyStringMapping(symbol, str) { - switch (intrinsicTypeKinds.get(symbol.escapedName)) { - case 0 /* Uppercase */: - return str.toUpperCase(); - case 1 /* Lowercase */: - return str.toLowerCase(); - case 2 /* Capitalize */: - return str.charAt(0).toUpperCase() + str.slice(1); - case 3 /* Uncapitalize */: - return str.charAt(0).toLowerCase() + str.slice(1); - } - return str; - } - function applyTemplateStringMapping(symbol, texts, types) { - switch (intrinsicTypeKinds.get(symbol.escapedName)) { - case 0 /* Uppercase */: - return [texts.map((t) => t.toUpperCase()), types.map((t) => getStringMappingType(symbol, t))]; - case 1 /* Lowercase */: - return [texts.map((t) => t.toLowerCase()), types.map((t) => getStringMappingType(symbol, t))]; - case 2 /* Capitalize */: - return [texts[0] === "" ? texts : [texts[0].charAt(0).toUpperCase() + texts[0].slice(1), ...texts.slice(1)], texts[0] === "" ? [getStringMappingType(symbol, types[0]), ...types.slice(1)] : types]; - case 3 /* Uncapitalize */: - return [texts[0] === "" ? texts : [texts[0].charAt(0).toLowerCase() + texts[0].slice(1), ...texts.slice(1)], texts[0] === "" ? [getStringMappingType(symbol, types[0]), ...types.slice(1)] : types]; - } - return [texts, types]; - } - function getStringMappingTypeForGenericType(symbol, type) { - const id = `${getSymbolId(symbol)},${getTypeId(type)}`; - let result = stringMappingTypes.get(id); - if (!result) { - stringMappingTypes.set(id, result = createStringMappingType(symbol, type)); - } - return result; - } - function createStringMappingType(symbol, type) { - const result = createTypeWithSymbol(268435456 /* StringMapping */, symbol); - result.type = type; - return result; - } - function createIndexedAccessType(objectType, indexType, accessFlags, aliasSymbol, aliasTypeArguments) { - const type = createType(8388608 /* IndexedAccess */); - type.objectType = objectType; - type.indexType = indexType; - type.accessFlags = accessFlags; - type.aliasSymbol = aliasSymbol; - type.aliasTypeArguments = aliasTypeArguments; - return type; - } - function isJSLiteralType(type) { - if (noImplicitAny) { - return false; - } - if (getObjectFlags(type) & 4096 /* JSLiteral */) { - return true; - } - if (type.flags & 1048576 /* Union */) { - return every(type.types, isJSLiteralType); - } - if (type.flags & 2097152 /* Intersection */) { - return some(type.types, isJSLiteralType); - } - if (type.flags & 465829888 /* Instantiable */) { - const constraint = getResolvedBaseConstraint(type); - return constraint !== type && isJSLiteralType(constraint); - } - return false; - } - function getPropertyNameFromIndex(indexType, accessNode) { - return isTypeUsableAsPropertyName(indexType) ? getPropertyNameFromType(indexType) : accessNode && isPropertyName(accessNode) ? ( - // late bound names are handled in the first branch, so here we only need to handle normal names - getPropertyNameForPropertyNameNode(accessNode) - ) : void 0; - } - function isUncalledFunctionReference(node, symbol) { - if (symbol.flags & (16 /* Function */ | 8192 /* Method */)) { - const parent = findAncestor(node.parent, (n) => !isAccessExpression(n)) || node.parent; - if (isCallLikeExpression(parent)) { - return isCallOrNewExpression(parent) && isIdentifier(node) && hasMatchingArgument(parent, node); - } - return every(symbol.declarations, (d) => !isFunctionLike(d) || isDeprecatedDeclaration(d)); - } - return true; - } - function getPropertyTypeForIndexType(originalObjectType, objectType, indexType, fullIndexType, accessNode, accessFlags) { - const accessExpression = accessNode && accessNode.kind === 212 /* ElementAccessExpression */ ? accessNode : void 0; - const propName = accessNode && isPrivateIdentifier(accessNode) ? void 0 : getPropertyNameFromIndex(indexType, accessNode); - if (propName !== void 0) { - if (accessFlags & 256 /* Contextual */) { - return getTypeOfPropertyOfContextualType(objectType, propName) || anyType; - } - const prop = getPropertyOfType(objectType, propName); - if (prop) { - if (accessFlags & 64 /* ReportDeprecated */ && accessNode && prop.declarations && isDeprecatedSymbol(prop) && isUncalledFunctionReference(accessNode, prop)) { - const deprecatedNode = (accessExpression == null ? void 0 : accessExpression.argumentExpression) ?? (isIndexedAccessTypeNode(accessNode) ? accessNode.indexType : accessNode); - addDeprecatedSuggestion(deprecatedNode, prop.declarations, propName); - } - if (accessExpression) { - markPropertyAsReferenced(prop, accessExpression, isSelfTypeAccess(accessExpression.expression, objectType.symbol)); - if (isAssignmentToReadonlyEntity(accessExpression, prop, getAssignmentTargetKind(accessExpression))) { - error(accessExpression.argumentExpression, Diagnostics.Cannot_assign_to_0_because_it_is_a_read_only_property, symbolToString(prop)); - return void 0; - } - if (accessFlags & 8 /* CacheSymbol */) { - getNodeLinks(accessNode).resolvedSymbol = prop; - } - if (isThisPropertyAccessInConstructor(accessExpression, prop)) { - return autoType; - } - } - const propType = accessFlags & 4 /* Writing */ ? getWriteTypeOfSymbol(prop) : getTypeOfSymbol(prop); - return accessExpression && getAssignmentTargetKind(accessExpression) !== 1 /* Definite */ ? getFlowTypeOfReference(accessExpression, propType) : accessNode && isIndexedAccessTypeNode(accessNode) && containsMissingType(propType) ? getUnionType([propType, undefinedType]) : propType; - } - if (everyType(objectType, isTupleType) && isNumericLiteralName(propName)) { - const index = +propName; - if (accessNode && everyType(objectType, (t) => !(t.target.combinedFlags & 12 /* Variable */)) && !(accessFlags & 16 /* AllowMissing */)) { - const indexNode = getIndexNodeForAccessExpression(accessNode); - if (isTupleType(objectType)) { - if (index < 0) { - error(indexNode, Diagnostics.A_tuple_type_cannot_be_indexed_with_a_negative_value); - return undefinedType; - } - error(indexNode, Diagnostics.Tuple_type_0_of_length_1_has_no_element_at_index_2, typeToString(objectType), getTypeReferenceArity(objectType), unescapeLeadingUnderscores(propName)); - } else { - error(indexNode, Diagnostics.Property_0_does_not_exist_on_type_1, unescapeLeadingUnderscores(propName), typeToString(objectType)); - } - } - if (index >= 0) { - errorIfWritingToReadonlyIndex(getIndexInfoOfType(objectType, numberType)); - return getTupleElementTypeOutOfStartCount(objectType, index, accessFlags & 1 /* IncludeUndefined */ ? missingType : void 0); - } - } - } - if (!(indexType.flags & 98304 /* Nullable */) && isTypeAssignableToKind(indexType, 402653316 /* StringLike */ | 296 /* NumberLike */ | 12288 /* ESSymbolLike */)) { - if (objectType.flags & (1 /* Any */ | 131072 /* Never */)) { - return objectType; - } - const indexInfo = getApplicableIndexInfo(objectType, indexType) || getIndexInfoOfType(objectType, stringType); - if (indexInfo) { - if (accessFlags & 2 /* NoIndexSignatures */ && indexInfo.keyType !== numberType) { - if (accessExpression) { - if (accessFlags & 4 /* Writing */) { - error(accessExpression, Diagnostics.Type_0_is_generic_and_can_only_be_indexed_for_reading, typeToString(originalObjectType)); - } else { - error(accessExpression, Diagnostics.Type_0_cannot_be_used_to_index_type_1, typeToString(indexType), typeToString(originalObjectType)); - } - } - return void 0; - } - if (accessNode && indexInfo.keyType === stringType && !isTypeAssignableToKind(indexType, 4 /* String */ | 8 /* Number */)) { - const indexNode = getIndexNodeForAccessExpression(accessNode); - error(indexNode, Diagnostics.Type_0_cannot_be_used_as_an_index_type, typeToString(indexType)); - return accessFlags & 1 /* IncludeUndefined */ ? getUnionType([indexInfo.type, missingType]) : indexInfo.type; - } - errorIfWritingToReadonlyIndex(indexInfo); - if (accessFlags & 1 /* IncludeUndefined */ && !(objectType.symbol && objectType.symbol.flags & (256 /* RegularEnum */ | 128 /* ConstEnum */) && (indexType.symbol && indexType.flags & 1024 /* EnumLiteral */ && getParentOfSymbol(indexType.symbol) === objectType.symbol))) { - return getUnionType([indexInfo.type, missingType]); - } - return indexInfo.type; - } - if (indexType.flags & 131072 /* Never */) { - return neverType; - } - if (isJSLiteralType(objectType)) { - return anyType; - } - if (accessExpression && !isConstEnumObjectType(objectType)) { - if (isObjectLiteralType(objectType)) { - if (noImplicitAny && indexType.flags & (128 /* StringLiteral */ | 256 /* NumberLiteral */)) { - diagnostics.add(createDiagnosticForNode(accessExpression, Diagnostics.Property_0_does_not_exist_on_type_1, indexType.value, typeToString(objectType))); - return undefinedType; - } else if (indexType.flags & (8 /* Number */ | 4 /* String */)) { - const types = map(objectType.properties, (property) => { - return getTypeOfSymbol(property); - }); - return getUnionType(append(types, undefinedType)); - } - } - if (objectType.symbol === globalThisSymbol && propName !== void 0 && globalThisSymbol.exports.has(propName) && globalThisSymbol.exports.get(propName).flags & 418 /* BlockScoped */) { - error(accessExpression, Diagnostics.Property_0_does_not_exist_on_type_1, unescapeLeadingUnderscores(propName), typeToString(objectType)); - } else if (noImplicitAny && !(accessFlags & 128 /* SuppressNoImplicitAnyError */)) { - if (propName !== void 0 && typeHasStaticProperty(propName, objectType)) { - const typeName = typeToString(objectType); - error(accessExpression, Diagnostics.Property_0_does_not_exist_on_type_1_Did_you_mean_to_access_the_static_member_2_instead, propName, typeName, typeName + "[" + getTextOfNode(accessExpression.argumentExpression) + "]"); - } else if (getIndexTypeOfType(objectType, numberType)) { - error(accessExpression.argumentExpression, Diagnostics.Element_implicitly_has_an_any_type_because_index_expression_is_not_of_type_number); - } else { - let suggestion; - if (propName !== void 0 && (suggestion = getSuggestionForNonexistentProperty(propName, objectType))) { - if (suggestion !== void 0) { - error(accessExpression.argumentExpression, Diagnostics.Property_0_does_not_exist_on_type_1_Did_you_mean_2, propName, typeToString(objectType), suggestion); - } - } else { - const suggestion2 = getSuggestionForNonexistentIndexSignature(objectType, accessExpression, indexType); - if (suggestion2 !== void 0) { - error(accessExpression, Diagnostics.Element_implicitly_has_an_any_type_because_type_0_has_no_index_signature_Did_you_mean_to_call_1, typeToString(objectType), suggestion2); - } else { - let errorInfo; - if (indexType.flags & 1024 /* EnumLiteral */) { - errorInfo = chainDiagnosticMessages( - /*details*/ - void 0, - Diagnostics.Property_0_does_not_exist_on_type_1, - "[" + typeToString(indexType) + "]", - typeToString(objectType) - ); - } else if (indexType.flags & 8192 /* UniqueESSymbol */) { - const symbolName2 = getFullyQualifiedName(indexType.symbol, accessExpression); - errorInfo = chainDiagnosticMessages( - /*details*/ - void 0, - Diagnostics.Property_0_does_not_exist_on_type_1, - "[" + symbolName2 + "]", - typeToString(objectType) - ); - } else if (indexType.flags & 128 /* StringLiteral */) { - errorInfo = chainDiagnosticMessages( - /*details*/ - void 0, - Diagnostics.Property_0_does_not_exist_on_type_1, - indexType.value, - typeToString(objectType) - ); - } else if (indexType.flags & 256 /* NumberLiteral */) { - errorInfo = chainDiagnosticMessages( - /*details*/ - void 0, - Diagnostics.Property_0_does_not_exist_on_type_1, - indexType.value, - typeToString(objectType) - ); - } else if (indexType.flags & (8 /* Number */ | 4 /* String */)) { - errorInfo = chainDiagnosticMessages( - /*details*/ - void 0, - Diagnostics.No_index_signature_with_a_parameter_of_type_0_was_found_on_type_1, - typeToString(indexType), - typeToString(objectType) - ); - } - errorInfo = chainDiagnosticMessages( - errorInfo, - Diagnostics.Element_implicitly_has_an_any_type_because_expression_of_type_0_can_t_be_used_to_index_type_1, - typeToString(fullIndexType), - typeToString(objectType) - ); - diagnostics.add(createDiagnosticForNodeFromMessageChain(getSourceFileOfNode(accessExpression), accessExpression, errorInfo)); - } - } - } - } - return void 0; - } - } - if (accessFlags & 16 /* AllowMissing */ && isObjectLiteralType(objectType)) { - return undefinedType; - } - if (isJSLiteralType(objectType)) { - return anyType; - } - if (accessNode) { - const indexNode = getIndexNodeForAccessExpression(accessNode); - if (indexNode.kind !== 10 /* BigIntLiteral */ && indexType.flags & (128 /* StringLiteral */ | 256 /* NumberLiteral */)) { - error(indexNode, Diagnostics.Property_0_does_not_exist_on_type_1, "" + indexType.value, typeToString(objectType)); - } else if (indexType.flags & (4 /* String */ | 8 /* Number */)) { - error(indexNode, Diagnostics.Type_0_has_no_matching_index_signature_for_type_1, typeToString(objectType), typeToString(indexType)); - } else { - const typeString = indexNode.kind === 10 /* BigIntLiteral */ ? "bigint" : typeToString(indexType); - error(indexNode, Diagnostics.Type_0_cannot_be_used_as_an_index_type, typeString); - } - } - if (isTypeAny(indexType)) { - return indexType; - } - return void 0; - function errorIfWritingToReadonlyIndex(indexInfo) { - if (indexInfo && indexInfo.isReadonly && accessExpression && (isAssignmentTarget(accessExpression) || isDeleteTarget(accessExpression))) { - error(accessExpression, Diagnostics.Index_signature_in_type_0_only_permits_reading, typeToString(objectType)); - } - } - } - function getIndexNodeForAccessExpression(accessNode) { - return accessNode.kind === 212 /* ElementAccessExpression */ ? accessNode.argumentExpression : accessNode.kind === 199 /* IndexedAccessType */ ? accessNode.indexType : accessNode.kind === 167 /* ComputedPropertyName */ ? accessNode.expression : accessNode; - } - function isPatternLiteralPlaceholderType(type) { - if (type.flags & 2097152 /* Intersection */) { - let seenPlaceholder = false; - for (const t of type.types) { - if (t.flags & (2944 /* Literal */ | 98304 /* Nullable */) || isPatternLiteralPlaceholderType(t)) { - seenPlaceholder = true; - } else if (!(t.flags & 524288 /* Object */)) { - return false; - } - } - return seenPlaceholder; - } - return !!(type.flags & (1 /* Any */ | 4 /* String */ | 8 /* Number */ | 64 /* BigInt */)) || isPatternLiteralType(type); - } - function isPatternLiteralType(type) { - return !!(type.flags & 134217728 /* TemplateLiteral */) && every(type.types, isPatternLiteralPlaceholderType) || !!(type.flags & 268435456 /* StringMapping */) && isPatternLiteralPlaceholderType(type.type); - } - function isGenericStringLikeType(type) { - return !!(type.flags & (134217728 /* TemplateLiteral */ | 268435456 /* StringMapping */)) && !isPatternLiteralType(type); - } - function isGenericType(type) { - return !!getGenericObjectFlags(type); - } - function isGenericObjectType(type) { - return !!(getGenericObjectFlags(type) & 4194304 /* IsGenericObjectType */); - } - function isGenericIndexType(type) { - return !!(getGenericObjectFlags(type) & 8388608 /* IsGenericIndexType */); - } - function getGenericObjectFlags(type) { - if (type.flags & 3145728 /* UnionOrIntersection */) { - if (!(type.objectFlags & 2097152 /* IsGenericTypeComputed */)) { - type.objectFlags |= 2097152 /* IsGenericTypeComputed */ | reduceLeft(type.types, (flags, t) => flags | getGenericObjectFlags(t), 0); - } - return type.objectFlags & 12582912 /* IsGenericType */; - } - if (type.flags & 33554432 /* Substitution */) { - if (!(type.objectFlags & 2097152 /* IsGenericTypeComputed */)) { - type.objectFlags |= 2097152 /* IsGenericTypeComputed */ | getGenericObjectFlags(type.baseType) | getGenericObjectFlags(type.constraint); - } - return type.objectFlags & 12582912 /* IsGenericType */; - } - return (type.flags & 58982400 /* InstantiableNonPrimitive */ || isGenericMappedType(type) || isGenericTupleType(type) ? 4194304 /* IsGenericObjectType */ : 0) | (type.flags & (58982400 /* InstantiableNonPrimitive */ | 4194304 /* Index */) || isGenericStringLikeType(type) ? 8388608 /* IsGenericIndexType */ : 0); - } - function getSimplifiedType(type, writing) { - return type.flags & 8388608 /* IndexedAccess */ ? getSimplifiedIndexedAccessType(type, writing) : type.flags & 16777216 /* Conditional */ ? getSimplifiedConditionalType(type, writing) : type; - } - function distributeIndexOverObjectType(objectType, indexType, writing) { - if (objectType.flags & 1048576 /* Union */ || objectType.flags & 2097152 /* Intersection */ && !shouldDeferIndexType(objectType)) { - const types = map(objectType.types, (t) => getSimplifiedType(getIndexedAccessType(t, indexType), writing)); - return objectType.flags & 2097152 /* Intersection */ || writing ? getIntersectionType(types) : getUnionType(types); - } - } - function distributeObjectOverIndexType(objectType, indexType, writing) { - if (indexType.flags & 1048576 /* Union */) { - const types = map(indexType.types, (t) => getSimplifiedType(getIndexedAccessType(objectType, t), writing)); - return writing ? getIntersectionType(types) : getUnionType(types); - } - } - function getSimplifiedIndexedAccessType(type, writing) { - const cache = writing ? "simplifiedForWriting" : "simplifiedForReading"; - if (type[cache]) { - return type[cache] === circularConstraintType ? type : type[cache]; - } - type[cache] = circularConstraintType; - const objectType = getSimplifiedType(type.objectType, writing); - const indexType = getSimplifiedType(type.indexType, writing); - const distributedOverIndex = distributeObjectOverIndexType(objectType, indexType, writing); - if (distributedOverIndex) { - return type[cache] = distributedOverIndex; - } - if (!(indexType.flags & 465829888 /* Instantiable */)) { - const distributedOverObject = distributeIndexOverObjectType(objectType, indexType, writing); - if (distributedOverObject) { - return type[cache] = distributedOverObject; - } - } - if (isGenericTupleType(objectType) && indexType.flags & 296 /* NumberLike */) { - const elementType = getElementTypeOfSliceOfTupleType( - objectType, - indexType.flags & 8 /* Number */ ? 0 : objectType.target.fixedLength, - /*endSkipCount*/ - 0, - writing - ); - if (elementType) { - return type[cache] = elementType; - } - } - if (isGenericMappedType(objectType)) { - if (getMappedTypeNameTypeKind(objectType) !== 2 /* Remapping */) { - return type[cache] = mapType(substituteIndexedMappedType(objectType, type.indexType), (t) => getSimplifiedType(t, writing)); - } - } - return type[cache] = type; - } - function getSimplifiedConditionalType(type, writing) { - const checkType = type.checkType; - const extendsType = type.extendsType; - const trueType2 = getTrueTypeFromConditionalType(type); - const falseType2 = getFalseTypeFromConditionalType(type); - if (falseType2.flags & 131072 /* Never */ && getActualTypeVariable(trueType2) === getActualTypeVariable(checkType)) { - if (checkType.flags & 1 /* Any */ || isTypeAssignableTo(getRestrictiveInstantiation(checkType), getRestrictiveInstantiation(extendsType))) { - return getSimplifiedType(trueType2, writing); - } else if (isIntersectionEmpty(checkType, extendsType)) { - return neverType; - } - } else if (trueType2.flags & 131072 /* Never */ && getActualTypeVariable(falseType2) === getActualTypeVariable(checkType)) { - if (!(checkType.flags & 1 /* Any */) && isTypeAssignableTo(getRestrictiveInstantiation(checkType), getRestrictiveInstantiation(extendsType))) { - return neverType; - } else if (checkType.flags & 1 /* Any */ || isIntersectionEmpty(checkType, extendsType)) { - return getSimplifiedType(falseType2, writing); - } - } - return type; - } - function isIntersectionEmpty(type1, type2) { - return !!(getUnionType([intersectTypes(type1, type2), neverType]).flags & 131072 /* Never */); - } - function substituteIndexedMappedType(objectType, index) { - const mapper = createTypeMapper([getTypeParameterFromMappedType(objectType)], [index]); - const templateMapper = combineTypeMappers(objectType.mapper, mapper); - const instantiatedTemplateType = instantiateType(getTemplateTypeFromMappedType(objectType.target || objectType), templateMapper); - const isOptional = getMappedTypeOptionality(objectType) > 0 || (isGenericType(objectType) ? getCombinedMappedTypeOptionality(getModifiersTypeFromMappedType(objectType)) > 0 : couldAccessOptionalProperty(objectType, index)); - return addOptionality( - instantiatedTemplateType, - /*isProperty*/ - true, - isOptional - ); - } - function couldAccessOptionalProperty(objectType, indexType) { - const indexConstraint = getBaseConstraintOfType(indexType); - return !!indexConstraint && some(getPropertiesOfType(objectType), (p) => !!(p.flags & 16777216 /* Optional */) && isTypeAssignableTo(getLiteralTypeFromProperty(p, 8576 /* StringOrNumberLiteralOrUnique */), indexConstraint)); - } - function getIndexedAccessType(objectType, indexType, accessFlags = 0 /* None */, accessNode, aliasSymbol, aliasTypeArguments) { - return getIndexedAccessTypeOrUndefined(objectType, indexType, accessFlags, accessNode, aliasSymbol, aliasTypeArguments) || (accessNode ? errorType : unknownType); - } - function indexTypeLessThan(indexType, limit) { - return everyType(indexType, (t) => { - if (t.flags & 384 /* StringOrNumberLiteral */) { - const propName = getPropertyNameFromType(t); - if (isNumericLiteralName(propName)) { - const index = +propName; - return index >= 0 && index < limit; - } - } - return false; - }); - } - function getIndexedAccessTypeOrUndefined(objectType, indexType, accessFlags = 0 /* None */, accessNode, aliasSymbol, aliasTypeArguments) { - if (objectType === wildcardType || indexType === wildcardType) { - return wildcardType; - } - objectType = getReducedType(objectType); - if (isStringIndexSignatureOnlyType(objectType) && !(indexType.flags & 98304 /* Nullable */) && isTypeAssignableToKind(indexType, 4 /* String */ | 8 /* Number */)) { - indexType = stringType; - } - if (compilerOptions.noUncheckedIndexedAccess && accessFlags & 32 /* ExpressionPosition */) accessFlags |= 1 /* IncludeUndefined */; - if (isGenericIndexType(indexType) || (accessNode && accessNode.kind !== 199 /* IndexedAccessType */ ? isGenericTupleType(objectType) && !indexTypeLessThan(indexType, getTotalFixedElementCount(objectType.target)) : isGenericObjectType(objectType) && !(isTupleType(objectType) && indexTypeLessThan(indexType, getTotalFixedElementCount(objectType.target))) || isGenericReducibleType(objectType))) { - if (objectType.flags & 3 /* AnyOrUnknown */) { - return objectType; - } - const persistentAccessFlags = accessFlags & 1 /* Persistent */; - const id = objectType.id + "," + indexType.id + "," + persistentAccessFlags + getAliasId(aliasSymbol, aliasTypeArguments); - let type = indexedAccessTypes.get(id); - if (!type) { - indexedAccessTypes.set(id, type = createIndexedAccessType(objectType, indexType, persistentAccessFlags, aliasSymbol, aliasTypeArguments)); - } - return type; - } - const apparentObjectType = getReducedApparentType(objectType); - if (indexType.flags & 1048576 /* Union */ && !(indexType.flags & 16 /* Boolean */)) { - const propTypes = []; - let wasMissingProp = false; - for (const t of indexType.types) { - const propType = getPropertyTypeForIndexType(objectType, apparentObjectType, t, indexType, accessNode, accessFlags | (wasMissingProp ? 128 /* SuppressNoImplicitAnyError */ : 0)); - if (propType) { - propTypes.push(propType); - } else if (!accessNode) { - return void 0; - } else { - wasMissingProp = true; - } - } - if (wasMissingProp) { - return void 0; - } - return accessFlags & 4 /* Writing */ ? getIntersectionType(propTypes, 0 /* None */, aliasSymbol, aliasTypeArguments) : getUnionType(propTypes, 1 /* Literal */, aliasSymbol, aliasTypeArguments); - } - return getPropertyTypeForIndexType(objectType, apparentObjectType, indexType, indexType, accessNode, accessFlags | 8 /* CacheSymbol */ | 64 /* ReportDeprecated */); - } - function getTypeFromIndexedAccessTypeNode(node) { - const links = getNodeLinks(node); - if (!links.resolvedType) { - const objectType = getTypeFromTypeNode(node.objectType); - const indexType = getTypeFromTypeNode(node.indexType); - const potentialAlias = getAliasSymbolForTypeNode(node); - links.resolvedType = getIndexedAccessType(objectType, indexType, 0 /* None */, node, potentialAlias, getTypeArgumentsForAliasSymbol(potentialAlias)); - } - return links.resolvedType; - } - function getTypeFromMappedTypeNode(node) { - const links = getNodeLinks(node); - if (!links.resolvedType) { - const type = createObjectType(32 /* Mapped */, node.symbol); - type.declaration = node; - type.aliasSymbol = getAliasSymbolForTypeNode(node); - type.aliasTypeArguments = getTypeArgumentsForAliasSymbol(type.aliasSymbol); - links.resolvedType = type; - getConstraintTypeFromMappedType(type); - } - return links.resolvedType; - } - function getActualTypeVariable(type) { - if (type.flags & 33554432 /* Substitution */) { - return getActualTypeVariable(type.baseType); - } - if (type.flags & 8388608 /* IndexedAccess */ && (type.objectType.flags & 33554432 /* Substitution */ || type.indexType.flags & 33554432 /* Substitution */)) { - return getIndexedAccessType(getActualTypeVariable(type.objectType), getActualTypeVariable(type.indexType)); - } - return type; - } - function isSimpleTupleType(node) { - return isTupleTypeNode(node) && length(node.elements) > 0 && !some(node.elements, (e) => isOptionalTypeNode(e) || isRestTypeNode(e) || isNamedTupleMember(e) && !!(e.questionToken || e.dotDotDotToken)); - } - function isDeferredType(type, checkTuples) { - return isGenericType(type) || checkTuples && isTupleType(type) && some(getElementTypes(type), isGenericType); - } - function getConditionalType(root, mapper, forConstraint, aliasSymbol, aliasTypeArguments) { - let result; - let extraTypes; - let tailCount = 0; - while (true) { - if (tailCount === 1e3) { - error(currentNode, Diagnostics.Type_instantiation_is_excessively_deep_and_possibly_infinite); - return errorType; - } - const checkType = instantiateType(getActualTypeVariable(root.checkType), mapper); - const extendsType = instantiateType(root.extendsType, mapper); - if (checkType === errorType || extendsType === errorType) { - return errorType; - } - if (checkType === wildcardType || extendsType === wildcardType) { - return wildcardType; - } - const checkTypeNode = skipTypeParentheses(root.node.checkType); - const extendsTypeNode = skipTypeParentheses(root.node.extendsType); - const checkTuples = isSimpleTupleType(checkTypeNode) && isSimpleTupleType(extendsTypeNode) && length(checkTypeNode.elements) === length(extendsTypeNode.elements); - const checkTypeDeferred = isDeferredType(checkType, checkTuples); - let combinedMapper; - if (root.inferTypeParameters) { - const context = createInferenceContext( - root.inferTypeParameters, - /*signature*/ - void 0, - 0 /* None */ - ); - if (mapper) { - context.nonFixingMapper = combineTypeMappers(context.nonFixingMapper, mapper); - } - if (!checkTypeDeferred) { - inferTypes(context.inferences, checkType, extendsType, 512 /* NoConstraints */ | 1024 /* AlwaysStrict */); - } - combinedMapper = mapper ? combineTypeMappers(context.mapper, mapper) : context.mapper; - } - const inferredExtendsType = combinedMapper ? instantiateType(root.extendsType, combinedMapper) : extendsType; - if (!checkTypeDeferred && !isDeferredType(inferredExtendsType, checkTuples)) { - if (!(inferredExtendsType.flags & 3 /* AnyOrUnknown */) && (checkType.flags & 1 /* Any */ || !isTypeAssignableTo(getPermissiveInstantiation(checkType), getPermissiveInstantiation(inferredExtendsType)))) { - if (checkType.flags & 1 /* Any */ || forConstraint && !(inferredExtendsType.flags & 131072 /* Never */) && someType(getPermissiveInstantiation(inferredExtendsType), (t) => isTypeAssignableTo(t, getPermissiveInstantiation(checkType)))) { - (extraTypes || (extraTypes = [])).push(instantiateType(getTypeFromTypeNode(root.node.trueType), combinedMapper || mapper)); - } - const falseType2 = getTypeFromTypeNode(root.node.falseType); - if (falseType2.flags & 16777216 /* Conditional */) { - const newRoot = falseType2.root; - if (newRoot.node.parent === root.node && (!newRoot.isDistributive || newRoot.checkType === root.checkType)) { - root = newRoot; - continue; - } - if (canTailRecurse(falseType2, mapper)) { - continue; - } - } - result = instantiateType(falseType2, mapper); - break; - } - if (inferredExtendsType.flags & 3 /* AnyOrUnknown */ || isTypeAssignableTo(getRestrictiveInstantiation(checkType), getRestrictiveInstantiation(inferredExtendsType))) { - const trueType2 = getTypeFromTypeNode(root.node.trueType); - const trueMapper = combinedMapper || mapper; - if (canTailRecurse(trueType2, trueMapper)) { - continue; - } - result = instantiateType(trueType2, trueMapper); - break; - } - } - result = createType(16777216 /* Conditional */); - result.root = root; - result.checkType = instantiateType(root.checkType, mapper); - result.extendsType = instantiateType(root.extendsType, mapper); - result.mapper = mapper; - result.combinedMapper = combinedMapper; - result.aliasSymbol = aliasSymbol || root.aliasSymbol; - result.aliasTypeArguments = aliasSymbol ? aliasTypeArguments : instantiateTypes(root.aliasTypeArguments, mapper); - break; - } - return extraTypes ? getUnionType(append(extraTypes, result)) : result; - function canTailRecurse(newType, newMapper) { - if (newType.flags & 16777216 /* Conditional */ && newMapper) { - const newRoot = newType.root; - if (newRoot.outerTypeParameters) { - const typeParamMapper = combineTypeMappers(newType.mapper, newMapper); - const typeArguments = map(newRoot.outerTypeParameters, (t) => getMappedType(t, typeParamMapper)); - const newRootMapper = createTypeMapper(newRoot.outerTypeParameters, typeArguments); - const newCheckType = newRoot.isDistributive ? getMappedType(newRoot.checkType, newRootMapper) : void 0; - if (!newCheckType || newCheckType === newRoot.checkType || !(newCheckType.flags & (1048576 /* Union */ | 131072 /* Never */))) { - root = newRoot; - mapper = newRootMapper; - aliasSymbol = void 0; - aliasTypeArguments = void 0; - if (newRoot.aliasSymbol) { - tailCount++; - } - return true; - } - } - } - return false; - } - } - function getTrueTypeFromConditionalType(type) { - return type.resolvedTrueType || (type.resolvedTrueType = instantiateType(getTypeFromTypeNode(type.root.node.trueType), type.mapper)); - } - function getFalseTypeFromConditionalType(type) { - return type.resolvedFalseType || (type.resolvedFalseType = instantiateType(getTypeFromTypeNode(type.root.node.falseType), type.mapper)); - } - function getInferredTrueTypeFromConditionalType(type) { - return type.resolvedInferredTrueType || (type.resolvedInferredTrueType = type.combinedMapper ? instantiateType(getTypeFromTypeNode(type.root.node.trueType), type.combinedMapper) : getTrueTypeFromConditionalType(type)); - } - function getInferTypeParameters(node) { - let result; - if (node.locals) { - node.locals.forEach((symbol) => { - if (symbol.flags & 262144 /* TypeParameter */) { - result = append(result, getDeclaredTypeOfSymbol(symbol)); - } - }); - } - return result; - } - function isDistributionDependent(root) { - return root.isDistributive && (isTypeParameterPossiblyReferenced(root.checkType, root.node.trueType) || isTypeParameterPossiblyReferenced(root.checkType, root.node.falseType)); - } - function getTypeFromConditionalTypeNode(node) { - const links = getNodeLinks(node); - if (!links.resolvedType) { - const checkType = getTypeFromTypeNode(node.checkType); - const aliasSymbol = getAliasSymbolForTypeNode(node); - const aliasTypeArguments = getTypeArgumentsForAliasSymbol(aliasSymbol); - const allOuterTypeParameters = getOuterTypeParameters( - node, - /*includeThisTypes*/ - true - ); - const outerTypeParameters = aliasTypeArguments ? allOuterTypeParameters : filter(allOuterTypeParameters, (tp) => isTypeParameterPossiblyReferenced(tp, node)); - const root = { - node, - checkType, - extendsType: getTypeFromTypeNode(node.extendsType), - isDistributive: !!(checkType.flags & 262144 /* TypeParameter */), - inferTypeParameters: getInferTypeParameters(node), - outerTypeParameters, - instantiations: void 0, - aliasSymbol, - aliasTypeArguments - }; - links.resolvedType = getConditionalType( - root, - /*mapper*/ - void 0, - /*forConstraint*/ - false - ); - if (outerTypeParameters) { - root.instantiations = /* @__PURE__ */ new Map(); - root.instantiations.set(getTypeListId(outerTypeParameters), links.resolvedType); - } - } - return links.resolvedType; - } - function getTypeFromInferTypeNode(node) { - const links = getNodeLinks(node); - if (!links.resolvedType) { - links.resolvedType = getDeclaredTypeOfTypeParameter(getSymbolOfDeclaration(node.typeParameter)); - } - return links.resolvedType; - } - function getIdentifierChain(node) { - if (isIdentifier(node)) { - return [node]; - } else { - return append(getIdentifierChain(node.left), node.right); - } - } - function getTypeFromImportTypeNode(node) { - var _a; - const links = getNodeLinks(node); - if (!links.resolvedType) { - if (!isLiteralImportTypeNode(node)) { - error(node.argument, Diagnostics.String_literal_expected); - links.resolvedSymbol = unknownSymbol; - return links.resolvedType = errorType; - } - const targetMeaning = node.isTypeOf ? 111551 /* Value */ : node.flags & 16777216 /* JSDoc */ ? 111551 /* Value */ | 788968 /* Type */ : 788968 /* Type */; - const innerModuleSymbol = resolveExternalModuleName(node, node.argument.literal); - if (!innerModuleSymbol) { - links.resolvedSymbol = unknownSymbol; - return links.resolvedType = errorType; - } - const isExportEquals = !!((_a = innerModuleSymbol.exports) == null ? void 0 : _a.get("export=" /* ExportEquals */)); - const moduleSymbol = resolveExternalModuleSymbol( - innerModuleSymbol, - /*dontResolveAlias*/ - false - ); - if (!nodeIsMissing(node.qualifier)) { - const nameStack = getIdentifierChain(node.qualifier); - let currentNamespace = moduleSymbol; - let current; - while (current = nameStack.shift()) { - const meaning = nameStack.length ? 1920 /* Namespace */ : targetMeaning; - const mergedResolvedSymbol = getMergedSymbol(resolveSymbol(currentNamespace)); - const symbolFromVariable = node.isTypeOf || isInJSFile(node) && isExportEquals ? getPropertyOfType( - getTypeOfSymbol(mergedResolvedSymbol), - current.escapedText, - /*skipObjectFunctionPropertyAugment*/ - false, - /*includeTypeOnlyMembers*/ - true - ) : void 0; - const symbolFromModule = node.isTypeOf ? void 0 : getSymbol(getExportsOfSymbol(mergedResolvedSymbol), current.escapedText, meaning); - const next = symbolFromModule ?? symbolFromVariable; - if (!next) { - error(current, Diagnostics.Namespace_0_has_no_exported_member_1, getFullyQualifiedName(currentNamespace), declarationNameToString(current)); - return links.resolvedType = errorType; - } - getNodeLinks(current).resolvedSymbol = next; - getNodeLinks(current.parent).resolvedSymbol = next; - currentNamespace = next; - } - links.resolvedType = resolveImportSymbolType(node, links, currentNamespace, targetMeaning); - } else { - if (moduleSymbol.flags & targetMeaning) { - links.resolvedType = resolveImportSymbolType(node, links, moduleSymbol, targetMeaning); - } else { - const errorMessage = targetMeaning === 111551 /* Value */ ? Diagnostics.Module_0_does_not_refer_to_a_value_but_is_used_as_a_value_here : Diagnostics.Module_0_does_not_refer_to_a_type_but_is_used_as_a_type_here_Did_you_mean_typeof_import_0; - error(node, errorMessage, node.argument.literal.text); - links.resolvedSymbol = unknownSymbol; - links.resolvedType = errorType; - } - } - } - return links.resolvedType; - } - function resolveImportSymbolType(node, links, symbol, meaning) { - const resolvedSymbol = resolveSymbol(symbol); - links.resolvedSymbol = resolvedSymbol; - if (meaning === 111551 /* Value */) { - return getInstantiationExpressionType(getTypeOfSymbol(symbol), node); - } else { - return getTypeReferenceType(node, resolvedSymbol); - } - } - function getTypeFromTypeLiteralOrFunctionOrConstructorTypeNode(node) { - const links = getNodeLinks(node); - if (!links.resolvedType) { - const aliasSymbol = getAliasSymbolForTypeNode(node); - if (getMembersOfSymbol(node.symbol).size === 0 && !aliasSymbol) { - links.resolvedType = emptyTypeLiteralType; - } else { - let type = createObjectType(16 /* Anonymous */, node.symbol); - type.aliasSymbol = aliasSymbol; - type.aliasTypeArguments = getTypeArgumentsForAliasSymbol(aliasSymbol); - if (isJSDocTypeLiteral(node) && node.isArrayType) { - type = createArrayType(type); - } - links.resolvedType = type; - } - } - return links.resolvedType; - } - function getAliasSymbolForTypeNode(node) { - let host2 = node.parent; - while (isParenthesizedTypeNode(host2) || isJSDocTypeExpression(host2) || isTypeOperatorNode(host2) && host2.operator === 148 /* ReadonlyKeyword */) { - host2 = host2.parent; - } - return isTypeAlias(host2) ? getSymbolOfDeclaration(host2) : void 0; - } - function getTypeArgumentsForAliasSymbol(symbol) { - return symbol ? getLocalTypeParametersOfClassOrInterfaceOrTypeAlias(symbol) : void 0; - } - function isNonGenericObjectType(type) { - return !!(type.flags & 524288 /* Object */) && !isGenericMappedType(type); - } - function isEmptyObjectTypeOrSpreadsIntoEmptyObject(type) { - return isEmptyObjectType(type) || !!(type.flags & (65536 /* Null */ | 32768 /* Undefined */ | 528 /* BooleanLike */ | 296 /* NumberLike */ | 2112 /* BigIntLike */ | 402653316 /* StringLike */ | 1056 /* EnumLike */ | 67108864 /* NonPrimitive */ | 4194304 /* Index */)); - } - function tryMergeUnionOfObjectTypeAndEmptyObject(type, readonly) { - if (!(type.flags & 1048576 /* Union */)) { - return type; - } - if (every(type.types, isEmptyObjectTypeOrSpreadsIntoEmptyObject)) { - return find(type.types, isEmptyObjectType) || emptyObjectType; - } - const firstType = find(type.types, (t) => !isEmptyObjectTypeOrSpreadsIntoEmptyObject(t)); - if (!firstType) { - return type; - } - const secondType = find(type.types, (t) => t !== firstType && !isEmptyObjectTypeOrSpreadsIntoEmptyObject(t)); - if (secondType) { - return type; - } - return getAnonymousPartialType(firstType); - function getAnonymousPartialType(type2) { - const members = createSymbolTable(); - for (const prop of getPropertiesOfType(type2)) { - if (getDeclarationModifierFlagsFromSymbol(prop) & (2 /* Private */ | 4 /* Protected */)) { - } else if (isSpreadableProperty(prop)) { - const isSetonlyAccessor = prop.flags & 65536 /* SetAccessor */ && !(prop.flags & 32768 /* GetAccessor */); - const flags = 4 /* Property */ | 16777216 /* Optional */; - const result = createSymbol(flags, prop.escapedName, getIsLateCheckFlag(prop) | (readonly ? 8 /* Readonly */ : 0)); - result.links.type = isSetonlyAccessor ? undefinedType : addOptionality( - getTypeOfSymbol(prop), - /*isProperty*/ - true - ); - result.declarations = prop.declarations; - result.links.nameType = getSymbolLinks(prop).nameType; - result.links.syntheticOrigin = prop; - members.set(prop.escapedName, result); - } - } - const spread = createAnonymousType(type2.symbol, members, emptyArray, emptyArray, getIndexInfosOfType(type2)); - spread.objectFlags |= 128 /* ObjectLiteral */ | 131072 /* ContainsObjectOrArrayLiteral */; - return spread; - } - } - function getSpreadType(left, right, symbol, objectFlags, readonly) { - if (left.flags & 1 /* Any */ || right.flags & 1 /* Any */) { - return anyType; - } - if (left.flags & 2 /* Unknown */ || right.flags & 2 /* Unknown */) { - return unknownType; - } - if (left.flags & 131072 /* Never */) { - return right; - } - if (right.flags & 131072 /* Never */) { - return left; - } - left = tryMergeUnionOfObjectTypeAndEmptyObject(left, readonly); - if (left.flags & 1048576 /* Union */) { - return checkCrossProductUnion([left, right]) ? mapType(left, (t) => getSpreadType(t, right, symbol, objectFlags, readonly)) : errorType; - } - right = tryMergeUnionOfObjectTypeAndEmptyObject(right, readonly); - if (right.flags & 1048576 /* Union */) { - return checkCrossProductUnion([left, right]) ? mapType(right, (t) => getSpreadType(left, t, symbol, objectFlags, readonly)) : errorType; - } - if (right.flags & (528 /* BooleanLike */ | 296 /* NumberLike */ | 2112 /* BigIntLike */ | 402653316 /* StringLike */ | 1056 /* EnumLike */ | 67108864 /* NonPrimitive */ | 4194304 /* Index */)) { - return left; - } - if (isGenericObjectType(left) || isGenericObjectType(right)) { - if (isEmptyObjectType(left)) { - return right; - } - if (left.flags & 2097152 /* Intersection */) { - const types = left.types; - const lastLeft = types[types.length - 1]; - if (isNonGenericObjectType(lastLeft) && isNonGenericObjectType(right)) { - return getIntersectionType(concatenate(types.slice(0, types.length - 1), [getSpreadType(lastLeft, right, symbol, objectFlags, readonly)])); - } - } - return getIntersectionType([left, right]); - } - const members = createSymbolTable(); - const skippedPrivateMembers = /* @__PURE__ */ new Set(); - const indexInfos = left === emptyObjectType ? getIndexInfosOfType(right) : getUnionIndexInfos([left, right]); - for (const rightProp of getPropertiesOfType(right)) { - if (getDeclarationModifierFlagsFromSymbol(rightProp) & (2 /* Private */ | 4 /* Protected */)) { - skippedPrivateMembers.add(rightProp.escapedName); - } else if (isSpreadableProperty(rightProp)) { - members.set(rightProp.escapedName, getSpreadSymbol(rightProp, readonly)); - } - } - for (const leftProp of getPropertiesOfType(left)) { - if (skippedPrivateMembers.has(leftProp.escapedName) || !isSpreadableProperty(leftProp)) { - continue; - } - if (members.has(leftProp.escapedName)) { - const rightProp = members.get(leftProp.escapedName); - const rightType = getTypeOfSymbol(rightProp); - if (rightProp.flags & 16777216 /* Optional */) { - const declarations = concatenate(leftProp.declarations, rightProp.declarations); - const flags = 4 /* Property */ | leftProp.flags & 16777216 /* Optional */; - const result = createSymbol(flags, leftProp.escapedName); - const leftType = getTypeOfSymbol(leftProp); - const leftTypeWithoutUndefined = removeMissingOrUndefinedType(leftType); - const rightTypeWithoutUndefined = removeMissingOrUndefinedType(rightType); - result.links.type = leftTypeWithoutUndefined === rightTypeWithoutUndefined ? leftType : getUnionType([leftType, rightTypeWithoutUndefined], 2 /* Subtype */); - result.links.leftSpread = leftProp; - result.links.rightSpread = rightProp; - result.declarations = declarations; - result.links.nameType = getSymbolLinks(leftProp).nameType; - members.set(leftProp.escapedName, result); - } - } else { - members.set(leftProp.escapedName, getSpreadSymbol(leftProp, readonly)); - } - } - const spread = createAnonymousType(symbol, members, emptyArray, emptyArray, sameMap(indexInfos, (info) => getIndexInfoWithReadonly(info, readonly))); - spread.objectFlags |= 128 /* ObjectLiteral */ | 131072 /* ContainsObjectOrArrayLiteral */ | 2097152 /* ContainsSpread */ | objectFlags; - return spread; - } - function isSpreadableProperty(prop) { - var _a; - return !some(prop.declarations, isPrivateIdentifierClassElementDeclaration) && (!(prop.flags & (8192 /* Method */ | 32768 /* GetAccessor */ | 65536 /* SetAccessor */)) || !((_a = prop.declarations) == null ? void 0 : _a.some((decl) => isClassLike(decl.parent)))); - } - function getSpreadSymbol(prop, readonly) { - const isSetonlyAccessor = prop.flags & 65536 /* SetAccessor */ && !(prop.flags & 32768 /* GetAccessor */); - if (!isSetonlyAccessor && readonly === isReadonlySymbol(prop)) { - return prop; - } - const flags = 4 /* Property */ | prop.flags & 16777216 /* Optional */; - const result = createSymbol(flags, prop.escapedName, getIsLateCheckFlag(prop) | (readonly ? 8 /* Readonly */ : 0)); - result.links.type = isSetonlyAccessor ? undefinedType : getTypeOfSymbol(prop); - result.declarations = prop.declarations; - result.links.nameType = getSymbolLinks(prop).nameType; - result.links.syntheticOrigin = prop; - return result; - } - function getIndexInfoWithReadonly(info, readonly) { - return info.isReadonly !== readonly ? createIndexInfo(info.keyType, info.type, readonly, info.declaration) : info; - } - function createLiteralType(flags, value, symbol, regularType) { - const type = createTypeWithSymbol(flags, symbol); - type.value = value; - type.regularType = regularType || type; - return type; - } - function getFreshTypeOfLiteralType(type) { - if (type.flags & 2976 /* Freshable */) { - if (!type.freshType) { - const freshType = createLiteralType(type.flags, type.value, type.symbol, type); - freshType.freshType = freshType; - type.freshType = freshType; - } - return type.freshType; - } - return type; - } - function getRegularTypeOfLiteralType(type) { - return type.flags & 2976 /* Freshable */ ? type.regularType : type.flags & 1048576 /* Union */ ? type.regularType || (type.regularType = mapType(type, getRegularTypeOfLiteralType)) : type; - } - function isFreshLiteralType(type) { - return !!(type.flags & 2976 /* Freshable */) && type.freshType === type; - } - function getStringLiteralType(value) { - let type; - return stringLiteralTypes.get(value) || (stringLiteralTypes.set(value, type = createLiteralType(128 /* StringLiteral */, value)), type); - } - function getNumberLiteralType(value) { - let type; - return numberLiteralTypes.get(value) || (numberLiteralTypes.set(value, type = createLiteralType(256 /* NumberLiteral */, value)), type); - } - function getBigIntLiteralType(value) { - let type; - const key = pseudoBigIntToString(value); - return bigIntLiteralTypes.get(key) || (bigIntLiteralTypes.set(key, type = createLiteralType(2048 /* BigIntLiteral */, value)), type); - } - function getEnumLiteralType(value, enumId, symbol) { - let type; - const key = `${enumId}${typeof value === "string" ? "@" : "#"}${value}`; - const flags = 1024 /* EnumLiteral */ | (typeof value === "string" ? 128 /* StringLiteral */ : 256 /* NumberLiteral */); - return enumLiteralTypes.get(key) || (enumLiteralTypes.set(key, type = createLiteralType(flags, value, symbol)), type); - } - function getTypeFromLiteralTypeNode(node) { - if (node.literal.kind === 106 /* NullKeyword */) { - return nullType; - } - const links = getNodeLinks(node); - if (!links.resolvedType) { - links.resolvedType = getRegularTypeOfLiteralType(checkExpression(node.literal)); - } - return links.resolvedType; - } - function createUniqueESSymbolType(symbol) { - const type = createTypeWithSymbol(8192 /* UniqueESSymbol */, symbol); - type.escapedName = `__@${type.symbol.escapedName}@${getSymbolId(type.symbol)}`; - return type; - } - function getESSymbolLikeTypeForNode(node) { - if (isInJSFile(node) && isJSDocTypeExpression(node)) { - const host2 = getJSDocHost(node); - if (host2) { - node = getSingleVariableOfVariableStatement(host2) || host2; - } - } - if (isValidESSymbolDeclaration(node)) { - const symbol = isCommonJsExportPropertyAssignment(node) ? getSymbolOfNode(node.left) : getSymbolOfNode(node); - if (symbol) { - const links = getSymbolLinks(symbol); - return links.uniqueESSymbolType || (links.uniqueESSymbolType = createUniqueESSymbolType(symbol)); - } - } - return esSymbolType; - } - function getThisType(node) { - const container = getThisContainer( - node, - /*includeArrowFunctions*/ - false, - /*includeClassComputedPropertyName*/ - false - ); - const parent = container && container.parent; - if (parent && (isClassLike(parent) || parent.kind === 264 /* InterfaceDeclaration */)) { - if (!isStatic(container) && (!isConstructorDeclaration(container) || isNodeDescendantOf(node, container.body))) { - return getDeclaredTypeOfClassOrInterface(getSymbolOfDeclaration(parent)).thisType; - } - } - if (parent && isObjectLiteralExpression(parent) && isBinaryExpression(parent.parent) && getAssignmentDeclarationKind(parent.parent) === 6 /* Prototype */) { - return getDeclaredTypeOfClassOrInterface(getSymbolOfNode(parent.parent.left).parent).thisType; - } - const host2 = node.flags & 16777216 /* JSDoc */ ? getHostSignatureFromJSDoc(node) : void 0; - if (host2 && isFunctionExpression(host2) && isBinaryExpression(host2.parent) && getAssignmentDeclarationKind(host2.parent) === 3 /* PrototypeProperty */) { - return getDeclaredTypeOfClassOrInterface(getSymbolOfNode(host2.parent.left).parent).thisType; - } - if (isJSConstructor(container) && isNodeDescendantOf(node, container.body)) { - return getDeclaredTypeOfClassOrInterface(getSymbolOfDeclaration(container)).thisType; - } - error(node, Diagnostics.A_this_type_is_available_only_in_a_non_static_member_of_a_class_or_interface); - return errorType; - } - function getTypeFromThisTypeNode(node) { - const links = getNodeLinks(node); - if (!links.resolvedType) { - links.resolvedType = getThisType(node); - } - return links.resolvedType; - } - function getTypeFromRestTypeNode(node) { - return getTypeFromTypeNode(getArrayElementTypeNode(node.type) || node.type); - } - function getArrayElementTypeNode(node) { - switch (node.kind) { - case 196 /* ParenthesizedType */: - return getArrayElementTypeNode(node.type); - case 189 /* TupleType */: - if (node.elements.length === 1) { - node = node.elements[0]; - if (node.kind === 191 /* RestType */ || node.kind === 202 /* NamedTupleMember */ && node.dotDotDotToken) { - return getArrayElementTypeNode(node.type); - } - } - break; - case 188 /* ArrayType */: - return node.elementType; - } - return void 0; - } - function getTypeFromNamedTupleTypeNode(node) { - const links = getNodeLinks(node); - return links.resolvedType || (links.resolvedType = node.dotDotDotToken ? getTypeFromRestTypeNode(node) : addOptionality( - getTypeFromTypeNode(node.type), - /*isProperty*/ - true, - !!node.questionToken - )); - } - function getTypeFromTypeNode(node) { - return getConditionalFlowTypeOfType(getTypeFromTypeNodeWorker(node), node); - } - function getTypeFromTypeNodeWorker(node) { - switch (node.kind) { - case 133 /* AnyKeyword */: - case 312 /* JSDocAllType */: - case 313 /* JSDocUnknownType */: - return anyType; - case 159 /* UnknownKeyword */: - return unknownType; - case 154 /* StringKeyword */: - return stringType; - case 150 /* NumberKeyword */: - return numberType; - case 163 /* BigIntKeyword */: - return bigintType; - case 136 /* BooleanKeyword */: - return booleanType; - case 155 /* SymbolKeyword */: - return esSymbolType; - case 116 /* VoidKeyword */: - return voidType; - case 157 /* UndefinedKeyword */: - return undefinedType; - case 106 /* NullKeyword */: - return nullType; - case 146 /* NeverKeyword */: - return neverType; - case 151 /* ObjectKeyword */: - return node.flags & 524288 /* JavaScriptFile */ && !noImplicitAny ? anyType : nonPrimitiveType; - case 141 /* IntrinsicKeyword */: - return intrinsicMarkerType; - case 197 /* ThisType */: - case 110 /* ThisKeyword */: - return getTypeFromThisTypeNode(node); - case 201 /* LiteralType */: - return getTypeFromLiteralTypeNode(node); - case 183 /* TypeReference */: - return getTypeFromTypeReference(node); - case 182 /* TypePredicate */: - return node.assertsModifier ? voidType : booleanType; - case 233 /* ExpressionWithTypeArguments */: - return getTypeFromTypeReference(node); - case 186 /* TypeQuery */: - return getTypeFromTypeQueryNode(node); - case 188 /* ArrayType */: - case 189 /* TupleType */: - return getTypeFromArrayOrTupleTypeNode(node); - case 190 /* OptionalType */: - return getTypeFromOptionalTypeNode(node); - case 192 /* UnionType */: - return getTypeFromUnionTypeNode(node); - case 193 /* IntersectionType */: - return getTypeFromIntersectionTypeNode(node); - case 314 /* JSDocNullableType */: - return getTypeFromJSDocNullableTypeNode(node); - case 316 /* JSDocOptionalType */: - return addOptionality(getTypeFromTypeNode(node.type)); - case 202 /* NamedTupleMember */: - return getTypeFromNamedTupleTypeNode(node); - case 196 /* ParenthesizedType */: - case 315 /* JSDocNonNullableType */: - case 309 /* JSDocTypeExpression */: - return getTypeFromTypeNode(node.type); - case 191 /* RestType */: - return getTypeFromRestTypeNode(node); - case 318 /* JSDocVariadicType */: - return getTypeFromJSDocVariadicType(node); - case 184 /* FunctionType */: - case 185 /* ConstructorType */: - case 187 /* TypeLiteral */: - case 322 /* JSDocTypeLiteral */: - case 317 /* JSDocFunctionType */: - case 323 /* JSDocSignature */: - return getTypeFromTypeLiteralOrFunctionOrConstructorTypeNode(node); - case 198 /* TypeOperator */: - return getTypeFromTypeOperatorNode(node); - case 199 /* IndexedAccessType */: - return getTypeFromIndexedAccessTypeNode(node); - case 200 /* MappedType */: - return getTypeFromMappedTypeNode(node); - case 194 /* ConditionalType */: - return getTypeFromConditionalTypeNode(node); - case 195 /* InferType */: - return getTypeFromInferTypeNode(node); - case 203 /* TemplateLiteralType */: - return getTypeFromTemplateTypeNode(node); - case 205 /* ImportType */: - return getTypeFromImportTypeNode(node); - case 80 /* Identifier */: - case 166 /* QualifiedName */: - case 211 /* PropertyAccessExpression */: - const symbol = getSymbolAtLocation(node); - return symbol ? getDeclaredTypeOfSymbol(symbol) : errorType; - default: - return errorType; - } - } - function instantiateList(items, mapper, instantiator) { - if (items && items.length) { - for (let i = 0; i < items.length; i++) { - const item = items[i]; - const mapped = instantiator(item, mapper); - if (item !== mapped) { - const result = i === 0 ? [] : items.slice(0, i); - result.push(mapped); - for (i++; i < items.length; i++) { - result.push(instantiator(items[i], mapper)); - } - return result; - } - } - } - return items; - } - function instantiateTypes(types, mapper) { - return instantiateList(types, mapper, instantiateType); - } - function instantiateSignatures(signatures, mapper) { - return instantiateList(signatures, mapper, instantiateSignature); - } - function instantiateIndexInfos(indexInfos, mapper) { - return instantiateList(indexInfos, mapper, instantiateIndexInfo); - } - function createTypeMapper(sources, targets) { - return sources.length === 1 ? makeUnaryTypeMapper(sources[0], targets ? targets[0] : anyType) : makeArrayTypeMapper(sources, targets); - } - function getMappedType(type, mapper) { - switch (mapper.kind) { - case 0 /* Simple */: - return type === mapper.source ? mapper.target : type; - case 1 /* Array */: { - const sources = mapper.sources; - const targets = mapper.targets; - for (let i = 0; i < sources.length; i++) { - if (type === sources[i]) { - return targets ? targets[i] : anyType; - } - } - return type; - } - case 2 /* Deferred */: { - const sources = mapper.sources; - const targets = mapper.targets; - for (let i = 0; i < sources.length; i++) { - if (type === sources[i]) { - return targets[i](); - } - } - return type; - } - case 3 /* Function */: - return mapper.func(type); - case 4 /* Composite */: - case 5 /* Merged */: - const t1 = getMappedType(type, mapper.mapper1); - return t1 !== type && mapper.kind === 4 /* Composite */ ? instantiateType(t1, mapper.mapper2) : getMappedType(t1, mapper.mapper2); - } - } - function makeUnaryTypeMapper(source, target) { - return Debug.attachDebugPrototypeIfDebug({ kind: 0 /* Simple */, source, target }); - } - function makeArrayTypeMapper(sources, targets) { - return Debug.attachDebugPrototypeIfDebug({ kind: 1 /* Array */, sources, targets }); - } - function makeFunctionTypeMapper(func, debugInfo) { - return Debug.attachDebugPrototypeIfDebug({ kind: 3 /* Function */, func, debugInfo: Debug.isDebugging ? debugInfo : void 0 }); - } - function makeDeferredTypeMapper(sources, targets) { - return Debug.attachDebugPrototypeIfDebug({ kind: 2 /* Deferred */, sources, targets }); - } - function makeCompositeTypeMapper(kind, mapper1, mapper2) { - return Debug.attachDebugPrototypeIfDebug({ kind, mapper1, mapper2 }); - } - function createTypeEraser(sources) { - return createTypeMapper( - sources, - /*targets*/ - void 0 - ); - } - function createBackreferenceMapper(context, index) { - const forwardInferences = context.inferences.slice(index); - return createTypeMapper(map(forwardInferences, (i) => i.typeParameter), map(forwardInferences, () => unknownType)); - } - function combineTypeMappers(mapper1, mapper2) { - return mapper1 ? makeCompositeTypeMapper(4 /* Composite */, mapper1, mapper2) : mapper2; - } - function mergeTypeMappers(mapper1, mapper2) { - return mapper1 ? makeCompositeTypeMapper(5 /* Merged */, mapper1, mapper2) : mapper2; - } - function prependTypeMapping(source, target, mapper) { - return !mapper ? makeUnaryTypeMapper(source, target) : makeCompositeTypeMapper(5 /* Merged */, makeUnaryTypeMapper(source, target), mapper); - } - function appendTypeMapping(mapper, source, target) { - return !mapper ? makeUnaryTypeMapper(source, target) : makeCompositeTypeMapper(5 /* Merged */, mapper, makeUnaryTypeMapper(source, target)); - } - function getRestrictiveTypeParameter(tp) { - return !tp.constraint && !getConstraintDeclaration(tp) || tp.constraint === noConstraintType ? tp : tp.restrictiveInstantiation || (tp.restrictiveInstantiation = createTypeParameter(tp.symbol), tp.restrictiveInstantiation.constraint = noConstraintType, tp.restrictiveInstantiation); - } - function cloneTypeParameter(typeParameter) { - const result = createTypeParameter(typeParameter.symbol); - result.target = typeParameter; - return result; - } - function instantiateTypePredicate(predicate, mapper) { - return createTypePredicate(predicate.kind, predicate.parameterName, predicate.parameterIndex, instantiateType(predicate.type, mapper)); - } - function instantiateSignature(signature, mapper, eraseTypeParameters) { - let freshTypeParameters; - if (signature.typeParameters && !eraseTypeParameters) { - freshTypeParameters = map(signature.typeParameters, cloneTypeParameter); - mapper = combineTypeMappers(createTypeMapper(signature.typeParameters, freshTypeParameters), mapper); - for (const tp of freshTypeParameters) { - tp.mapper = mapper; - } - } - const result = createSignature( - signature.declaration, - freshTypeParameters, - signature.thisParameter && instantiateSymbol(signature.thisParameter, mapper), - instantiateList(signature.parameters, mapper, instantiateSymbol), - /*resolvedReturnType*/ - void 0, - /*resolvedTypePredicate*/ - void 0, - signature.minArgumentCount, - signature.flags & 167 /* PropagatingFlags */ - ); - result.target = signature; - result.mapper = mapper; - return result; - } - function instantiateSymbol(symbol, mapper) { - const links = getSymbolLinks(symbol); - if (links.type && !couldContainTypeVariables(links.type)) { - if (!(symbol.flags & 65536 /* SetAccessor */)) { - return symbol; - } - if (links.writeType && !couldContainTypeVariables(links.writeType)) { - return symbol; - } - } - if (getCheckFlags(symbol) & 1 /* Instantiated */) { - symbol = links.target; - mapper = combineTypeMappers(links.mapper, mapper); - } - const result = createSymbol(symbol.flags, symbol.escapedName, 1 /* Instantiated */ | getCheckFlags(symbol) & (8 /* Readonly */ | 4096 /* Late */ | 16384 /* OptionalParameter */ | 32768 /* RestParameter */)); - result.declarations = symbol.declarations; - result.parent = symbol.parent; - result.links.target = symbol; - result.links.mapper = mapper; - if (symbol.valueDeclaration) { - result.valueDeclaration = symbol.valueDeclaration; - } - if (links.nameType) { - result.links.nameType = links.nameType; - } - return result; - } - function getObjectTypeInstantiation(type, mapper, aliasSymbol, aliasTypeArguments) { - const declaration = type.objectFlags & 4 /* Reference */ ? type.node : type.objectFlags & 8388608 /* InstantiationExpressionType */ ? type.node : type.symbol.declarations[0]; - const links = getNodeLinks(declaration); - const target = type.objectFlags & 4 /* Reference */ ? links.resolvedType : type.objectFlags & 64 /* Instantiated */ ? type.target : type; - let typeParameters = type.objectFlags & 134217728 /* SingleSignatureType */ ? type.outerTypeParameters : links.outerTypeParameters; - if (!typeParameters) { - let outerTypeParameters = getOuterTypeParameters( - declaration, - /*includeThisTypes*/ - true - ); - if (isJSConstructor(declaration)) { - const templateTagParameters = getTypeParametersFromDeclaration(declaration); - outerTypeParameters = addRange(outerTypeParameters, templateTagParameters); - } - typeParameters = outerTypeParameters || emptyArray; - const allDeclarations = type.objectFlags & (4 /* Reference */ | 8388608 /* InstantiationExpressionType */) ? [declaration] : type.symbol.declarations; - typeParameters = (target.objectFlags & (4 /* Reference */ | 8388608 /* InstantiationExpressionType */) || target.symbol.flags & 8192 /* Method */ || target.symbol.flags & 2048 /* TypeLiteral */) && !target.aliasTypeArguments ? filter(typeParameters, (tp) => some(allDeclarations, (d) => isTypeParameterPossiblyReferenced(tp, d))) : typeParameters; - links.outerTypeParameters = typeParameters; - } - if (typeParameters.length) { - const combinedMapper = combineTypeMappers(type.mapper, mapper); - const typeArguments = map(typeParameters, (t) => getMappedType(t, combinedMapper)); - const newAliasSymbol = aliasSymbol || type.aliasSymbol; - const newAliasTypeArguments = aliasSymbol ? aliasTypeArguments : instantiateTypes(type.aliasTypeArguments, mapper); - const id = (type.objectFlags & 134217728 /* SingleSignatureType */ ? "S" : "") + getTypeListId(typeArguments) + getAliasId(newAliasSymbol, newAliasTypeArguments); - if (!target.instantiations) { - target.instantiations = /* @__PURE__ */ new Map(); - target.instantiations.set(getTypeListId(typeParameters) + getAliasId(target.aliasSymbol, target.aliasTypeArguments), target); - } - let result = target.instantiations.get(id); - if (!result) { - if (type.objectFlags & 134217728 /* SingleSignatureType */) { - result = instantiateAnonymousType(type, mapper); - target.instantiations.set(id, result); - return result; - } - const newMapper = createTypeMapper(typeParameters, typeArguments); - result = target.objectFlags & 4 /* Reference */ ? createDeferredTypeReference(type.target, type.node, newMapper, newAliasSymbol, newAliasTypeArguments) : target.objectFlags & 32 /* Mapped */ ? instantiateMappedType(target, newMapper, newAliasSymbol, newAliasTypeArguments) : instantiateAnonymousType(target, newMapper, newAliasSymbol, newAliasTypeArguments); - target.instantiations.set(id, result); - const resultObjectFlags = getObjectFlags(result); - if (result.flags & 3899393 /* ObjectFlagsType */ && !(resultObjectFlags & 524288 /* CouldContainTypeVariablesComputed */)) { - const resultCouldContainTypeVariables = some(typeArguments, couldContainTypeVariables); - if (!(getObjectFlags(result) & 524288 /* CouldContainTypeVariablesComputed */)) { - if (resultObjectFlags & (32 /* Mapped */ | 16 /* Anonymous */ | 4 /* Reference */)) { - result.objectFlags |= 524288 /* CouldContainTypeVariablesComputed */ | (resultCouldContainTypeVariables ? 1048576 /* CouldContainTypeVariables */ : 0); - } else { - result.objectFlags |= !resultCouldContainTypeVariables ? 524288 /* CouldContainTypeVariablesComputed */ : 0; - } - } - } - } - return result; - } - return type; - } - function maybeTypeParameterReference(node) { - return !(node.parent.kind === 183 /* TypeReference */ && node.parent.typeArguments && node === node.parent.typeName || node.parent.kind === 205 /* ImportType */ && node.parent.typeArguments && node === node.parent.qualifier); - } - function isTypeParameterPossiblyReferenced(tp, node) { - if (tp.symbol && tp.symbol.declarations && tp.symbol.declarations.length === 1) { - const container = tp.symbol.declarations[0].parent; - for (let n = node; n !== container; n = n.parent) { - if (!n || n.kind === 241 /* Block */ || n.kind === 194 /* ConditionalType */ && forEachChild(n.extendsType, containsReference)) { - return true; - } - } - return containsReference(node); - } - return true; - function containsReference(node2) { - switch (node2.kind) { - case 197 /* ThisType */: - return !!tp.isThisType; - case 80 /* Identifier */: - return !tp.isThisType && isPartOfTypeNode(node2) && maybeTypeParameterReference(node2) && getTypeFromTypeNodeWorker(node2) === tp; - case 186 /* TypeQuery */: - const entityName = node2.exprName; - const firstIdentifier = getFirstIdentifier(entityName); - if (!isThisIdentifier(firstIdentifier)) { - const firstIdentifierSymbol = getResolvedSymbol(firstIdentifier); - const tpDeclaration = tp.symbol.declarations[0]; - const tpScope = tpDeclaration.kind === 168 /* TypeParameter */ ? tpDeclaration.parent : ( - // Type parameter is a regular type parameter, e.g. foo - tp.isThisType ? tpDeclaration : ( - // Type parameter is the this type, and its declaration is the class declaration. - void 0 - ) - ); - if (firstIdentifierSymbol.declarations && tpScope) { - return some(firstIdentifierSymbol.declarations, (idDecl) => isNodeDescendantOf(idDecl, tpScope)) || some(node2.typeArguments, containsReference); - } - } - return true; - case 174 /* MethodDeclaration */: - case 173 /* MethodSignature */: - return !node2.type && !!node2.body || some(node2.typeParameters, containsReference) || some(node2.parameters, containsReference) || !!node2.type && containsReference(node2.type); - } - return !!forEachChild(node2, containsReference); - } - } - function getHomomorphicTypeVariable(type) { - const constraintType = getConstraintTypeFromMappedType(type); - if (constraintType.flags & 4194304 /* Index */) { - const typeVariable = getActualTypeVariable(constraintType.type); - if (typeVariable.flags & 262144 /* TypeParameter */) { - return typeVariable; - } - } - return void 0; - } - function instantiateMappedType(type, mapper, aliasSymbol, aliasTypeArguments) { - const typeVariable = getHomomorphicTypeVariable(type); - if (typeVariable) { - const mappedTypeVariable = instantiateType(typeVariable, mapper); - if (typeVariable !== mappedTypeVariable) { - return mapTypeWithAlias(getReducedType(mappedTypeVariable), instantiateConstituent, aliasSymbol, aliasTypeArguments); - } - } - return instantiateType(getConstraintTypeFromMappedType(type), mapper) === wildcardType ? wildcardType : instantiateAnonymousType(type, mapper, aliasSymbol, aliasTypeArguments); - function instantiateConstituent(t) { - if (t.flags & (3 /* AnyOrUnknown */ | 58982400 /* InstantiableNonPrimitive */ | 524288 /* Object */ | 2097152 /* Intersection */) && t !== wildcardType && !isErrorType(t)) { - if (!type.declaration.nameType) { - let constraint; - if (isArrayType(t) || t.flags & 1 /* Any */ && findResolutionCycleStartIndex(typeVariable, 4 /* ImmediateBaseConstraint */) < 0 && (constraint = getConstraintOfTypeParameter(typeVariable)) && everyType(constraint, isArrayOrTupleType)) { - return instantiateMappedArrayType(t, type, prependTypeMapping(typeVariable, t, mapper)); - } - if (isTupleType(t)) { - return instantiateMappedTupleType(t, type, typeVariable, mapper); - } - if (isArrayOrTupleOrIntersection(t)) { - return getIntersectionType(map(t.types, instantiateConstituent)); - } - } - return instantiateAnonymousType(type, prependTypeMapping(typeVariable, t, mapper)); - } - return t; - } - } - function getModifiedReadonlyState(state, modifiers) { - return modifiers & 1 /* IncludeReadonly */ ? true : modifiers & 2 /* ExcludeReadonly */ ? false : state; - } - function instantiateMappedTupleType(tupleType, mappedType, typeVariable, mapper) { - const elementFlags = tupleType.target.elementFlags; - const fixedLength = tupleType.target.fixedLength; - const fixedMapper = fixedLength ? prependTypeMapping(typeVariable, tupleType, mapper) : mapper; - const newElementTypes = map(getElementTypes(tupleType), (type, i) => { - const flags = elementFlags[i]; - return i < fixedLength ? instantiateMappedTypeTemplate(mappedType, getStringLiteralType("" + i), !!(flags & 2 /* Optional */), fixedMapper) : flags & 8 /* Variadic */ ? instantiateType(mappedType, prependTypeMapping(typeVariable, type, mapper)) : getElementTypeOfArrayType(instantiateType(mappedType, prependTypeMapping(typeVariable, createArrayType(type), mapper))) ?? unknownType; - }); - const modifiers = getMappedTypeModifiers(mappedType); - const newElementFlags = modifiers & 4 /* IncludeOptional */ ? map(elementFlags, (f) => f & 1 /* Required */ ? 2 /* Optional */ : f) : modifiers & 8 /* ExcludeOptional */ ? map(elementFlags, (f) => f & 2 /* Optional */ ? 1 /* Required */ : f) : elementFlags; - const newReadonly = getModifiedReadonlyState(tupleType.target.readonly, getMappedTypeModifiers(mappedType)); - return contains(newElementTypes, errorType) ? errorType : createTupleType(newElementTypes, newElementFlags, newReadonly, tupleType.target.labeledElementDeclarations); - } - function instantiateMappedArrayType(arrayType, mappedType, mapper) { - const elementType = instantiateMappedTypeTemplate( - mappedType, - numberType, - /*isOptional*/ - true, - mapper - ); - return isErrorType(elementType) ? errorType : createArrayType(elementType, getModifiedReadonlyState(isReadonlyArrayType(arrayType), getMappedTypeModifiers(mappedType))); - } - function instantiateMappedTypeTemplate(type, key, isOptional, mapper) { - const templateMapper = appendTypeMapping(mapper, getTypeParameterFromMappedType(type), key); - const propType = instantiateType(getTemplateTypeFromMappedType(type.target || type), templateMapper); - const modifiers = getMappedTypeModifiers(type); - return strictNullChecks && modifiers & 4 /* IncludeOptional */ && !maybeTypeOfKind(propType, 32768 /* Undefined */ | 16384 /* Void */) ? getOptionalType( - propType, - /*isProperty*/ - true - ) : strictNullChecks && modifiers & 8 /* ExcludeOptional */ && isOptional ? getTypeWithFacts(propType, 524288 /* NEUndefined */) : propType; - } - function instantiateAnonymousType(type, mapper, aliasSymbol, aliasTypeArguments) { - Debug.assert(type.symbol, "anonymous type must have symbol to be instantiated"); - const result = createObjectType(type.objectFlags & ~(524288 /* CouldContainTypeVariablesComputed */ | 1048576 /* CouldContainTypeVariables */) | 64 /* Instantiated */, type.symbol); - if (type.objectFlags & 32 /* Mapped */) { - result.declaration = type.declaration; - const origTypeParameter = getTypeParameterFromMappedType(type); - const freshTypeParameter = cloneTypeParameter(origTypeParameter); - result.typeParameter = freshTypeParameter; - mapper = combineTypeMappers(makeUnaryTypeMapper(origTypeParameter, freshTypeParameter), mapper); - freshTypeParameter.mapper = mapper; - } - if (type.objectFlags & 8388608 /* InstantiationExpressionType */) { - result.node = type.node; - } - if (type.objectFlags & 134217728 /* SingleSignatureType */) { - result.outerTypeParameters = type.outerTypeParameters; - } - result.target = type; - result.mapper = mapper; - result.aliasSymbol = aliasSymbol || type.aliasSymbol; - result.aliasTypeArguments = aliasSymbol ? aliasTypeArguments : instantiateTypes(type.aliasTypeArguments, mapper); - result.objectFlags |= result.aliasTypeArguments ? getPropagatingFlagsOfTypes(result.aliasTypeArguments) : 0; - return result; - } - function getConditionalTypeInstantiation(type, mapper, forConstraint, aliasSymbol, aliasTypeArguments) { - const root = type.root; - if (root.outerTypeParameters) { - const typeArguments = map(root.outerTypeParameters, (t) => getMappedType(t, mapper)); - const id = (forConstraint ? "C" : "") + getTypeListId(typeArguments) + getAliasId(aliasSymbol, aliasTypeArguments); - let result = root.instantiations.get(id); - if (!result) { - const newMapper = createTypeMapper(root.outerTypeParameters, typeArguments); - const checkType = root.checkType; - const distributionType = root.isDistributive ? getReducedType(getMappedType(checkType, newMapper)) : void 0; - result = distributionType && checkType !== distributionType && distributionType.flags & (1048576 /* Union */ | 131072 /* Never */) ? mapTypeWithAlias(distributionType, (t) => getConditionalType(root, prependTypeMapping(checkType, t, newMapper), forConstraint), aliasSymbol, aliasTypeArguments) : getConditionalType(root, newMapper, forConstraint, aliasSymbol, aliasTypeArguments); - root.instantiations.set(id, result); - } - return result; - } - return type; - } - function instantiateType(type, mapper) { - return type && mapper ? instantiateTypeWithAlias( - type, - mapper, - /*aliasSymbol*/ - void 0, - /*aliasTypeArguments*/ - void 0 - ) : type; - } - function instantiateTypeWithAlias(type, mapper, aliasSymbol, aliasTypeArguments) { - var _a; - if (!couldContainTypeVariables(type)) { - return type; - } - if (instantiationDepth === 100 || instantiationCount >= 5e6) { - (_a = tracing) == null ? void 0 : _a.instant(tracing.Phase.CheckTypes, "instantiateType_DepthLimit", { typeId: type.id, instantiationDepth, instantiationCount }); - error(currentNode, Diagnostics.Type_instantiation_is_excessively_deep_and_possibly_infinite); - return errorType; - } - totalInstantiationCount++; - instantiationCount++; - instantiationDepth++; - const result = instantiateTypeWorker(type, mapper, aliasSymbol, aliasTypeArguments); - instantiationDepth--; - return result; - } - function instantiateTypeWorker(type, mapper, aliasSymbol, aliasTypeArguments) { - const flags = type.flags; - if (flags & 262144 /* TypeParameter */) { - return getMappedType(type, mapper); - } - if (flags & 524288 /* Object */) { - const objectFlags = type.objectFlags; - if (objectFlags & (4 /* Reference */ | 16 /* Anonymous */ | 32 /* Mapped */)) { - if (objectFlags & 4 /* Reference */ && !type.node) { - const resolvedTypeArguments = type.resolvedTypeArguments; - const newTypeArguments = instantiateTypes(resolvedTypeArguments, mapper); - return newTypeArguments !== resolvedTypeArguments ? createNormalizedTypeReference(type.target, newTypeArguments) : type; - } - if (objectFlags & 1024 /* ReverseMapped */) { - return instantiateReverseMappedType(type, mapper); - } - return getObjectTypeInstantiation(type, mapper, aliasSymbol, aliasTypeArguments); - } - return type; - } - if (flags & 3145728 /* UnionOrIntersection */) { - const origin = type.flags & 1048576 /* Union */ ? type.origin : void 0; - const types = origin && origin.flags & 3145728 /* UnionOrIntersection */ ? origin.types : type.types; - const newTypes = instantiateTypes(types, mapper); - if (newTypes === types && aliasSymbol === type.aliasSymbol) { - return type; - } - const newAliasSymbol = aliasSymbol || type.aliasSymbol; - const newAliasTypeArguments = aliasSymbol ? aliasTypeArguments : instantiateTypes(type.aliasTypeArguments, mapper); - return flags & 2097152 /* Intersection */ || origin && origin.flags & 2097152 /* Intersection */ ? getIntersectionType(newTypes, 0 /* None */, newAliasSymbol, newAliasTypeArguments) : getUnionType(newTypes, 1 /* Literal */, newAliasSymbol, newAliasTypeArguments); - } - if (flags & 4194304 /* Index */) { - return getIndexType(instantiateType(type.type, mapper)); - } - if (flags & 134217728 /* TemplateLiteral */) { - return getTemplateLiteralType(type.texts, instantiateTypes(type.types, mapper)); - } - if (flags & 268435456 /* StringMapping */) { - return getStringMappingType(type.symbol, instantiateType(type.type, mapper)); - } - if (flags & 8388608 /* IndexedAccess */) { - const newAliasSymbol = aliasSymbol || type.aliasSymbol; - const newAliasTypeArguments = aliasSymbol ? aliasTypeArguments : instantiateTypes(type.aliasTypeArguments, mapper); - return getIndexedAccessType( - instantiateType(type.objectType, mapper), - instantiateType(type.indexType, mapper), - type.accessFlags, - /*accessNode*/ - void 0, - newAliasSymbol, - newAliasTypeArguments - ); - } - if (flags & 16777216 /* Conditional */) { - return getConditionalTypeInstantiation( - type, - combineTypeMappers(type.mapper, mapper), - /*forConstraint*/ - false, - aliasSymbol, - aliasTypeArguments - ); - } - if (flags & 33554432 /* Substitution */) { - const newBaseType = instantiateType(type.baseType, mapper); - if (isNoInferType(type)) { - return getNoInferType(newBaseType); - } - const newConstraint = instantiateType(type.constraint, mapper); - if (newBaseType.flags & 8650752 /* TypeVariable */ && isGenericType(newConstraint)) { - return getSubstitutionType(newBaseType, newConstraint); - } - if (newConstraint.flags & 3 /* AnyOrUnknown */ || isTypeAssignableTo(getRestrictiveInstantiation(newBaseType), getRestrictiveInstantiation(newConstraint))) { - return newBaseType; - } - return newBaseType.flags & 8650752 /* TypeVariable */ ? getSubstitutionType(newBaseType, newConstraint) : getIntersectionType([newConstraint, newBaseType]); - } - return type; - } - function instantiateReverseMappedType(type, mapper) { - const innerMappedType = instantiateType(type.mappedType, mapper); - if (!(getObjectFlags(innerMappedType) & 32 /* Mapped */)) { - return type; - } - const innerIndexType = instantiateType(type.constraintType, mapper); - if (!(innerIndexType.flags & 4194304 /* Index */)) { - return type; - } - const instantiated = inferTypeForHomomorphicMappedType( - instantiateType(type.source, mapper), - innerMappedType, - innerIndexType - ); - if (instantiated) { - return instantiated; - } - return type; - } - function getPermissiveInstantiation(type) { - return type.flags & (402784252 /* Primitive */ | 3 /* AnyOrUnknown */ | 131072 /* Never */) ? type : type.permissiveInstantiation || (type.permissiveInstantiation = instantiateType(type, permissiveMapper)); - } - function getRestrictiveInstantiation(type) { - if (type.flags & (402784252 /* Primitive */ | 3 /* AnyOrUnknown */ | 131072 /* Never */)) { - return type; - } - if (type.restrictiveInstantiation) { - return type.restrictiveInstantiation; - } - type.restrictiveInstantiation = instantiateType(type, restrictiveMapper); - type.restrictiveInstantiation.restrictiveInstantiation = type.restrictiveInstantiation; - return type.restrictiveInstantiation; - } - function instantiateIndexInfo(info, mapper) { - return createIndexInfo(info.keyType, instantiateType(info.type, mapper), info.isReadonly, info.declaration); - } - function isContextSensitive(node) { - Debug.assert(node.kind !== 174 /* MethodDeclaration */ || isObjectLiteralMethod(node)); - switch (node.kind) { - case 218 /* FunctionExpression */: - case 219 /* ArrowFunction */: - case 174 /* MethodDeclaration */: - case 262 /* FunctionDeclaration */: - return isContextSensitiveFunctionLikeDeclaration(node); - case 210 /* ObjectLiteralExpression */: - return some(node.properties, isContextSensitive); - case 209 /* ArrayLiteralExpression */: - return some(node.elements, isContextSensitive); - case 227 /* ConditionalExpression */: - return isContextSensitive(node.whenTrue) || isContextSensitive(node.whenFalse); - case 226 /* BinaryExpression */: - return (node.operatorToken.kind === 57 /* BarBarToken */ || node.operatorToken.kind === 61 /* QuestionQuestionToken */) && (isContextSensitive(node.left) || isContextSensitive(node.right)); - case 303 /* PropertyAssignment */: - return isContextSensitive(node.initializer); - case 217 /* ParenthesizedExpression */: - return isContextSensitive(node.expression); - case 292 /* JsxAttributes */: - return some(node.properties, isContextSensitive) || isJsxOpeningElement(node.parent) && some(node.parent.parent.children, isContextSensitive); - case 291 /* JsxAttribute */: { - const { initializer } = node; - return !!initializer && isContextSensitive(initializer); - } - case 294 /* JsxExpression */: { - const { expression } = node; - return !!expression && isContextSensitive(expression); - } - } - return false; - } - function isContextSensitiveFunctionLikeDeclaration(node) { - return hasContextSensitiveParameters(node) || hasContextSensitiveReturnExpression(node); - } - function hasContextSensitiveReturnExpression(node) { - if (node.typeParameters || getEffectiveReturnTypeNode(node) || !node.body) { - return false; - } - if (node.body.kind !== 241 /* Block */) { - return isContextSensitive(node.body); - } - return !!forEachReturnStatement(node.body, (statement) => !!statement.expression && isContextSensitive(statement.expression)); - } - function isContextSensitiveFunctionOrObjectLiteralMethod(func) { - return (isFunctionExpressionOrArrowFunction(func) || isObjectLiteralMethod(func)) && isContextSensitiveFunctionLikeDeclaration(func); - } - function getTypeWithoutSignatures(type) { - if (type.flags & 524288 /* Object */) { - const resolved = resolveStructuredTypeMembers(type); - if (resolved.constructSignatures.length || resolved.callSignatures.length) { - const result = createObjectType(16 /* Anonymous */, type.symbol); - result.members = resolved.members; - result.properties = resolved.properties; - result.callSignatures = emptyArray; - result.constructSignatures = emptyArray; - result.indexInfos = emptyArray; - return result; - } - } else if (type.flags & 2097152 /* Intersection */) { - return getIntersectionType(map(type.types, getTypeWithoutSignatures)); - } - return type; - } - function isTypeIdenticalTo(source, target) { - return isTypeRelatedTo(source, target, identityRelation); - } - function compareTypesIdentical(source, target) { - return isTypeRelatedTo(source, target, identityRelation) ? -1 /* True */ : 0 /* False */; - } - function compareTypesAssignable(source, target) { - return isTypeRelatedTo(source, target, assignableRelation) ? -1 /* True */ : 0 /* False */; - } - function compareTypesSubtypeOf(source, target) { - return isTypeRelatedTo(source, target, subtypeRelation) ? -1 /* True */ : 0 /* False */; - } - function isTypeSubtypeOf(source, target) { - return isTypeRelatedTo(source, target, subtypeRelation); - } - function isTypeStrictSubtypeOf(source, target) { - return isTypeRelatedTo(source, target, strictSubtypeRelation); - } - function isTypeAssignableTo(source, target) { - return isTypeRelatedTo(source, target, assignableRelation); - } - function isTypeDerivedFrom(source, target) { - return source.flags & 1048576 /* Union */ ? every(source.types, (t) => isTypeDerivedFrom(t, target)) : target.flags & 1048576 /* Union */ ? some(target.types, (t) => isTypeDerivedFrom(source, t)) : source.flags & 2097152 /* Intersection */ ? some(source.types, (t) => isTypeDerivedFrom(t, target)) : source.flags & 58982400 /* InstantiableNonPrimitive */ ? isTypeDerivedFrom(getBaseConstraintOfType(source) || unknownType, target) : isEmptyAnonymousObjectType(target) ? !!(source.flags & (524288 /* Object */ | 67108864 /* NonPrimitive */)) : target === globalObjectType ? !!(source.flags & (524288 /* Object */ | 67108864 /* NonPrimitive */)) && !isEmptyAnonymousObjectType(source) : target === globalFunctionType ? !!(source.flags & 524288 /* Object */) && isFunctionObjectType(source) : hasBaseType(source, getTargetType(target)) || isArrayType(target) && !isReadonlyArrayType(target) && isTypeDerivedFrom(source, globalReadonlyArrayType); - } - function isTypeComparableTo(source, target) { - return isTypeRelatedTo(source, target, comparableRelation); - } - function areTypesComparable(type1, type2) { - return isTypeComparableTo(type1, type2) || isTypeComparableTo(type2, type1); - } - function checkTypeAssignableTo(source, target, errorNode, headMessage, containingMessageChain, errorOutputObject) { - return checkTypeRelatedTo(source, target, assignableRelation, errorNode, headMessage, containingMessageChain, errorOutputObject); - } - function checkTypeAssignableToAndOptionallyElaborate(source, target, errorNode, expr, headMessage, containingMessageChain) { - return checkTypeRelatedToAndOptionallyElaborate( - source, - target, - assignableRelation, - errorNode, - expr, - headMessage, - containingMessageChain, - /*errorOutputContainer*/ - void 0 - ); - } - function checkTypeRelatedToAndOptionallyElaborate(source, target, relation, errorNode, expr, headMessage, containingMessageChain, errorOutputContainer) { - if (isTypeRelatedTo(source, target, relation)) return true; - if (!errorNode || !elaborateError(expr, source, target, relation, headMessage, containingMessageChain, errorOutputContainer)) { - return checkTypeRelatedTo(source, target, relation, errorNode, headMessage, containingMessageChain, errorOutputContainer); - } - return false; - } - function isOrHasGenericConditional(type) { - return !!(type.flags & 16777216 /* Conditional */ || type.flags & 2097152 /* Intersection */ && some(type.types, isOrHasGenericConditional)); - } - function elaborateError(node, source, target, relation, headMessage, containingMessageChain, errorOutputContainer) { - if (!node || isOrHasGenericConditional(target)) return false; - if (!checkTypeRelatedTo( - source, - target, - relation, - /*errorNode*/ - void 0 - ) && elaborateDidYouMeanToCallOrConstruct(node, source, target, relation, headMessage, containingMessageChain, errorOutputContainer)) { - return true; - } - switch (node.kind) { - case 234 /* AsExpression */: - if (!isConstAssertion(node)) { - break; - } - case 294 /* JsxExpression */: - case 217 /* ParenthesizedExpression */: - return elaborateError(node.expression, source, target, relation, headMessage, containingMessageChain, errorOutputContainer); - case 226 /* BinaryExpression */: - switch (node.operatorToken.kind) { - case 64 /* EqualsToken */: - case 28 /* CommaToken */: - return elaborateError(node.right, source, target, relation, headMessage, containingMessageChain, errorOutputContainer); - } - break; - case 210 /* ObjectLiteralExpression */: - return elaborateObjectLiteral(node, source, target, relation, containingMessageChain, errorOutputContainer); - case 209 /* ArrayLiteralExpression */: - return elaborateArrayLiteral(node, source, target, relation, containingMessageChain, errorOutputContainer); - case 292 /* JsxAttributes */: - return elaborateJsxComponents(node, source, target, relation, containingMessageChain, errorOutputContainer); - case 219 /* ArrowFunction */: - return elaborateArrowFunction(node, source, target, relation, containingMessageChain, errorOutputContainer); - } - return false; - } - function elaborateDidYouMeanToCallOrConstruct(node, source, target, relation, headMessage, containingMessageChain, errorOutputContainer) { - const callSignatures = getSignaturesOfType(source, 0 /* Call */); - const constructSignatures = getSignaturesOfType(source, 1 /* Construct */); - for (const signatures of [constructSignatures, callSignatures]) { - if (some(signatures, (s) => { - const returnType = getReturnTypeOfSignature(s); - return !(returnType.flags & (1 /* Any */ | 131072 /* Never */)) && checkTypeRelatedTo( - returnType, - target, - relation, - /*errorNode*/ - void 0 - ); - })) { - const resultObj = errorOutputContainer || {}; - checkTypeAssignableTo(source, target, node, headMessage, containingMessageChain, resultObj); - const diagnostic = resultObj.errors[resultObj.errors.length - 1]; - addRelatedInfo( - diagnostic, - createDiagnosticForNode( - node, - signatures === constructSignatures ? Diagnostics.Did_you_mean_to_use_new_with_this_expression : Diagnostics.Did_you_mean_to_call_this_expression - ) - ); - return true; - } - } - return false; - } - function elaborateArrowFunction(node, source, target, relation, containingMessageChain, errorOutputContainer) { - if (isBlock(node.body)) { - return false; - } - if (some(node.parameters, hasType)) { - return false; - } - const sourceSig = getSingleCallSignature(source); - if (!sourceSig) { - return false; - } - const targetSignatures = getSignaturesOfType(target, 0 /* Call */); - if (!length(targetSignatures)) { - return false; - } - const returnExpression = node.body; - const sourceReturn = getReturnTypeOfSignature(sourceSig); - const targetReturn = getUnionType(map(targetSignatures, getReturnTypeOfSignature)); - if (!checkTypeRelatedTo( - sourceReturn, - targetReturn, - relation, - /*errorNode*/ - void 0 - )) { - const elaborated = returnExpression && elaborateError( - returnExpression, - sourceReturn, - targetReturn, - relation, - /*headMessage*/ - void 0, - containingMessageChain, - errorOutputContainer - ); - if (elaborated) { - return elaborated; - } - const resultObj = errorOutputContainer || {}; - checkTypeRelatedTo( - sourceReturn, - targetReturn, - relation, - returnExpression, - /*headMessage*/ - void 0, - containingMessageChain, - resultObj - ); - if (resultObj.errors) { - if (target.symbol && length(target.symbol.declarations)) { - addRelatedInfo( - resultObj.errors[resultObj.errors.length - 1], - createDiagnosticForNode( - target.symbol.declarations[0], - Diagnostics.The_expected_type_comes_from_the_return_type_of_this_signature - ) - ); - } - if ((getFunctionFlags(node) & 2 /* Async */) === 0 && !getTypeOfPropertyOfType(sourceReturn, "then") && checkTypeRelatedTo( - createPromiseType(sourceReturn), - targetReturn, - relation, - /*errorNode*/ - void 0 - )) { - addRelatedInfo( - resultObj.errors[resultObj.errors.length - 1], - createDiagnosticForNode( - node, - Diagnostics.Did_you_mean_to_mark_this_function_as_async - ) - ); - } - return true; - } - } - return false; - } - function getBestMatchIndexedAccessTypeOrUndefined(source, target, nameType) { - const idx = getIndexedAccessTypeOrUndefined(target, nameType); - if (idx) { - return idx; - } - if (target.flags & 1048576 /* Union */) { - const best = getBestMatchingType(source, target); - if (best) { - return getIndexedAccessTypeOrUndefined(best, nameType); - } - } - } - function checkExpressionForMutableLocationWithContextualType(next, sourcePropType) { - pushContextualType( - next, - sourcePropType, - /*isCache*/ - false - ); - const result = checkExpressionForMutableLocation(next, 1 /* Contextual */); - popContextualType(); - return result; - } - function elaborateElementwise(iterator, source, target, relation, containingMessageChain, errorOutputContainer) { - let reportedError = false; - for (const value of iterator) { - const { errorNode: prop, innerExpression: next, nameType, errorMessage } = value; - let targetPropType = getBestMatchIndexedAccessTypeOrUndefined(source, target, nameType); - if (!targetPropType || targetPropType.flags & 8388608 /* IndexedAccess */) continue; - let sourcePropType = getIndexedAccessTypeOrUndefined(source, nameType); - if (!sourcePropType) continue; - const propName = getPropertyNameFromIndex( - nameType, - /*accessNode*/ - void 0 - ); - if (!checkTypeRelatedTo( - sourcePropType, - targetPropType, - relation, - /*errorNode*/ - void 0 - )) { - const elaborated = next && elaborateError( - next, - sourcePropType, - targetPropType, - relation, - /*headMessage*/ - void 0, - containingMessageChain, - errorOutputContainer - ); - reportedError = true; - if (!elaborated) { - const resultObj = errorOutputContainer || {}; - const specificSource = next ? checkExpressionForMutableLocationWithContextualType(next, sourcePropType) : sourcePropType; - if (exactOptionalPropertyTypes && isExactOptionalPropertyMismatch(specificSource, targetPropType)) { - const diag2 = createDiagnosticForNode(prop, Diagnostics.Type_0_is_not_assignable_to_type_1_with_exactOptionalPropertyTypes_Colon_true_Consider_adding_undefined_to_the_type_of_the_target, typeToString(specificSource), typeToString(targetPropType)); - diagnostics.add(diag2); - resultObj.errors = [diag2]; - } else { - const targetIsOptional = !!(propName && (getPropertyOfType(target, propName) || unknownSymbol).flags & 16777216 /* Optional */); - const sourceIsOptional = !!(propName && (getPropertyOfType(source, propName) || unknownSymbol).flags & 16777216 /* Optional */); - targetPropType = removeMissingType(targetPropType, targetIsOptional); - sourcePropType = removeMissingType(sourcePropType, targetIsOptional && sourceIsOptional); - const result = checkTypeRelatedTo(specificSource, targetPropType, relation, prop, errorMessage, containingMessageChain, resultObj); - if (result && specificSource !== sourcePropType) { - checkTypeRelatedTo(sourcePropType, targetPropType, relation, prop, errorMessage, containingMessageChain, resultObj); - } - } - if (resultObj.errors) { - const reportedDiag = resultObj.errors[resultObj.errors.length - 1]; - const propertyName = isTypeUsableAsPropertyName(nameType) ? getPropertyNameFromType(nameType) : void 0; - const targetProp = propertyName !== void 0 ? getPropertyOfType(target, propertyName) : void 0; - let issuedElaboration = false; - if (!targetProp) { - const indexInfo = getApplicableIndexInfo(target, nameType); - if (indexInfo && indexInfo.declaration && !getSourceFileOfNode(indexInfo.declaration).hasNoDefaultLib) { - issuedElaboration = true; - addRelatedInfo(reportedDiag, createDiagnosticForNode(indexInfo.declaration, Diagnostics.The_expected_type_comes_from_this_index_signature)); - } - } - if (!issuedElaboration && (targetProp && length(targetProp.declarations) || target.symbol && length(target.symbol.declarations))) { - const targetNode = targetProp && length(targetProp.declarations) ? targetProp.declarations[0] : target.symbol.declarations[0]; - if (!getSourceFileOfNode(targetNode).hasNoDefaultLib) { - addRelatedInfo( - reportedDiag, - createDiagnosticForNode( - targetNode, - Diagnostics.The_expected_type_comes_from_property_0_which_is_declared_here_on_type_1, - propertyName && !(nameType.flags & 8192 /* UniqueESSymbol */) ? unescapeLeadingUnderscores(propertyName) : typeToString(nameType), - typeToString(target) - ) - ); - } - } - } - } - } - } - return reportedError; - } - function elaborateIterableOrArrayLikeTargetElementwise(iterator, source, target, relation, containingMessageChain, errorOutputContainer) { - const tupleOrArrayLikeTargetParts = filterType(target, isArrayOrTupleLikeType); - const nonTupleOrArrayLikeTargetParts = filterType(target, (t) => !isArrayOrTupleLikeType(t)); - const iterationType = nonTupleOrArrayLikeTargetParts !== neverType ? getIterationTypeOfIterable( - 13 /* ForOf */, - 0 /* Yield */, - nonTupleOrArrayLikeTargetParts, - /*errorNode*/ - void 0 - ) : void 0; - let reportedError = false; - for (let status = iterator.next(); !status.done; status = iterator.next()) { - const { errorNode: prop, innerExpression: next, nameType, errorMessage } = status.value; - let targetPropType = iterationType; - const targetIndexedPropType = tupleOrArrayLikeTargetParts !== neverType ? getBestMatchIndexedAccessTypeOrUndefined(source, tupleOrArrayLikeTargetParts, nameType) : void 0; - if (targetIndexedPropType && !(targetIndexedPropType.flags & 8388608 /* IndexedAccess */)) { - targetPropType = iterationType ? getUnionType([iterationType, targetIndexedPropType]) : targetIndexedPropType; - } - if (!targetPropType) continue; - let sourcePropType = getIndexedAccessTypeOrUndefined(source, nameType); - if (!sourcePropType) continue; - const propName = getPropertyNameFromIndex( - nameType, - /*accessNode*/ - void 0 - ); - if (!checkTypeRelatedTo( - sourcePropType, - targetPropType, - relation, - /*errorNode*/ - void 0 - )) { - const elaborated = next && elaborateError( - next, - sourcePropType, - targetPropType, - relation, - /*headMessage*/ - void 0, - containingMessageChain, - errorOutputContainer - ); - reportedError = true; - if (!elaborated) { - const resultObj = errorOutputContainer || {}; - const specificSource = next ? checkExpressionForMutableLocationWithContextualType(next, sourcePropType) : sourcePropType; - if (exactOptionalPropertyTypes && isExactOptionalPropertyMismatch(specificSource, targetPropType)) { - const diag2 = createDiagnosticForNode(prop, Diagnostics.Type_0_is_not_assignable_to_type_1_with_exactOptionalPropertyTypes_Colon_true_Consider_adding_undefined_to_the_type_of_the_target, typeToString(specificSource), typeToString(targetPropType)); - diagnostics.add(diag2); - resultObj.errors = [diag2]; - } else { - const targetIsOptional = !!(propName && (getPropertyOfType(tupleOrArrayLikeTargetParts, propName) || unknownSymbol).flags & 16777216 /* Optional */); - const sourceIsOptional = !!(propName && (getPropertyOfType(source, propName) || unknownSymbol).flags & 16777216 /* Optional */); - targetPropType = removeMissingType(targetPropType, targetIsOptional); - sourcePropType = removeMissingType(sourcePropType, targetIsOptional && sourceIsOptional); - const result = checkTypeRelatedTo(specificSource, targetPropType, relation, prop, errorMessage, containingMessageChain, resultObj); - if (result && specificSource !== sourcePropType) { - checkTypeRelatedTo(sourcePropType, targetPropType, relation, prop, errorMessage, containingMessageChain, resultObj); - } - } - } - } - } - return reportedError; - } - function* generateJsxAttributes(node) { - if (!length(node.properties)) return; - for (const prop of node.properties) { - if (isJsxSpreadAttribute(prop) || isHyphenatedJsxName(getTextOfJsxAttributeName(prop.name))) continue; - yield { errorNode: prop.name, innerExpression: prop.initializer, nameType: getStringLiteralType(getTextOfJsxAttributeName(prop.name)) }; - } - } - function* generateJsxChildren(node, getInvalidTextDiagnostic) { - if (!length(node.children)) return; - let memberOffset = 0; - for (let i = 0; i < node.children.length; i++) { - const child = node.children[i]; - const nameType = getNumberLiteralType(i - memberOffset); - const elem = getElaborationElementForJsxChild(child, nameType, getInvalidTextDiagnostic); - if (elem) { - yield elem; - } else { - memberOffset++; - } - } - } - function getElaborationElementForJsxChild(child, nameType, getInvalidTextDiagnostic) { - switch (child.kind) { - case 294 /* JsxExpression */: - return { errorNode: child, innerExpression: child.expression, nameType }; - case 12 /* JsxText */: - if (child.containsOnlyTriviaWhiteSpaces) { - break; - } - return { errorNode: child, innerExpression: void 0, nameType, errorMessage: getInvalidTextDiagnostic() }; - case 284 /* JsxElement */: - case 285 /* JsxSelfClosingElement */: - case 288 /* JsxFragment */: - return { errorNode: child, innerExpression: child, nameType }; - default: - return Debug.assertNever(child, "Found invalid jsx child"); - } - } - function elaborateJsxComponents(node, source, target, relation, containingMessageChain, errorOutputContainer) { - let result = elaborateElementwise(generateJsxAttributes(node), source, target, relation, containingMessageChain, errorOutputContainer); - let invalidTextDiagnostic; - if (isJsxOpeningElement(node.parent) && isJsxElement(node.parent.parent)) { - const containingElement = node.parent.parent; - const childPropName = getJsxElementChildrenPropertyName(getJsxNamespaceAt(node)); - const childrenPropName = childPropName === void 0 ? "children" : unescapeLeadingUnderscores(childPropName); - const childrenNameType = getStringLiteralType(childrenPropName); - const childrenTargetType = getIndexedAccessType(target, childrenNameType); - const validChildren = getSemanticJsxChildren(containingElement.children); - if (!length(validChildren)) { - return result; - } - const moreThanOneRealChildren = length(validChildren) > 1; - let arrayLikeTargetParts; - let nonArrayLikeTargetParts; - const iterableType = getGlobalIterableType( - /*reportErrors*/ - false - ); - if (iterableType !== emptyGenericType) { - const anyIterable = createIterableType(anyType); - arrayLikeTargetParts = filterType(childrenTargetType, (t) => isTypeAssignableTo(t, anyIterable)); - nonArrayLikeTargetParts = filterType(childrenTargetType, (t) => !isTypeAssignableTo(t, anyIterable)); - } else { - arrayLikeTargetParts = filterType(childrenTargetType, isArrayOrTupleLikeType); - nonArrayLikeTargetParts = filterType(childrenTargetType, (t) => !isArrayOrTupleLikeType(t)); - } - if (moreThanOneRealChildren) { - if (arrayLikeTargetParts !== neverType) { - const realSource = createTupleType(checkJsxChildren(containingElement, 0 /* Normal */)); - const children = generateJsxChildren(containingElement, getInvalidTextualChildDiagnostic); - result = elaborateIterableOrArrayLikeTargetElementwise(children, realSource, arrayLikeTargetParts, relation, containingMessageChain, errorOutputContainer) || result; - } else if (!isTypeRelatedTo(getIndexedAccessType(source, childrenNameType), childrenTargetType, relation)) { - result = true; - const diag2 = error( - containingElement.openingElement.tagName, - Diagnostics.This_JSX_tag_s_0_prop_expects_a_single_child_of_type_1_but_multiple_children_were_provided, - childrenPropName, - typeToString(childrenTargetType) - ); - if (errorOutputContainer && errorOutputContainer.skipLogging) { - (errorOutputContainer.errors || (errorOutputContainer.errors = [])).push(diag2); - } - } - } else { - if (nonArrayLikeTargetParts !== neverType) { - const child = validChildren[0]; - const elem = getElaborationElementForJsxChild(child, childrenNameType, getInvalidTextualChildDiagnostic); - if (elem) { - result = elaborateElementwise( - function* () { - yield elem; - }(), - source, - target, - relation, - containingMessageChain, - errorOutputContainer - ) || result; - } - } else if (!isTypeRelatedTo(getIndexedAccessType(source, childrenNameType), childrenTargetType, relation)) { - result = true; - const diag2 = error( - containingElement.openingElement.tagName, - Diagnostics.This_JSX_tag_s_0_prop_expects_type_1_which_requires_multiple_children_but_only_a_single_child_was_provided, - childrenPropName, - typeToString(childrenTargetType) - ); - if (errorOutputContainer && errorOutputContainer.skipLogging) { - (errorOutputContainer.errors || (errorOutputContainer.errors = [])).push(diag2); - } - } - } - } - return result; - function getInvalidTextualChildDiagnostic() { - if (!invalidTextDiagnostic) { - const tagNameText = getTextOfNode(node.parent.tagName); - const childPropName = getJsxElementChildrenPropertyName(getJsxNamespaceAt(node)); - const childrenPropName = childPropName === void 0 ? "children" : unescapeLeadingUnderscores(childPropName); - const childrenTargetType = getIndexedAccessType(target, getStringLiteralType(childrenPropName)); - const diagnostic = Diagnostics._0_components_don_t_accept_text_as_child_elements_Text_in_JSX_has_the_type_string_but_the_expected_type_of_1_is_2; - invalidTextDiagnostic = { ...diagnostic, key: "!!ALREADY FORMATTED!!", message: formatMessage(diagnostic, tagNameText, childrenPropName, typeToString(childrenTargetType)) }; - } - return invalidTextDiagnostic; - } - } - function* generateLimitedTupleElements(node, target) { - const len = length(node.elements); - if (!len) return; - for (let i = 0; i < len; i++) { - if (isTupleLikeType(target) && !getPropertyOfType(target, "" + i)) continue; - const elem = node.elements[i]; - if (isOmittedExpression(elem)) continue; - const nameType = getNumberLiteralType(i); - const checkNode = getEffectiveCheckNode(elem); - yield { errorNode: checkNode, innerExpression: checkNode, nameType }; - } - } - function elaborateArrayLiteral(node, source, target, relation, containingMessageChain, errorOutputContainer) { - if (target.flags & (402784252 /* Primitive */ | 131072 /* Never */)) return false; - if (isTupleLikeType(source)) { - return elaborateElementwise(generateLimitedTupleElements(node, target), source, target, relation, containingMessageChain, errorOutputContainer); - } - pushContextualType( - node, - target, - /*isCache*/ - false - ); - const tupleizedType = checkArrayLiteral( - node, - 1 /* Contextual */, - /*forceTuple*/ - true - ); - popContextualType(); - if (isTupleLikeType(tupleizedType)) { - return elaborateElementwise(generateLimitedTupleElements(node, target), tupleizedType, target, relation, containingMessageChain, errorOutputContainer); - } - return false; - } - function* generateObjectLiteralElements(node) { - if (!length(node.properties)) return; - for (const prop of node.properties) { - if (isSpreadAssignment(prop)) continue; - const type = getLiteralTypeFromProperty(getSymbolOfDeclaration(prop), 8576 /* StringOrNumberLiteralOrUnique */); - if (!type || type.flags & 131072 /* Never */) { - continue; - } - switch (prop.kind) { - case 178 /* SetAccessor */: - case 177 /* GetAccessor */: - case 174 /* MethodDeclaration */: - case 304 /* ShorthandPropertyAssignment */: - yield { errorNode: prop.name, innerExpression: void 0, nameType: type }; - break; - case 303 /* PropertyAssignment */: - yield { errorNode: prop.name, innerExpression: prop.initializer, nameType: type, errorMessage: isComputedNonLiteralName(prop.name) ? Diagnostics.Type_of_computed_property_s_value_is_0_which_is_not_assignable_to_type_1 : void 0 }; - break; - default: - Debug.assertNever(prop); - } - } - } - function elaborateObjectLiteral(node, source, target, relation, containingMessageChain, errorOutputContainer) { - if (target.flags & (402784252 /* Primitive */ | 131072 /* Never */)) return false; - return elaborateElementwise(generateObjectLiteralElements(node), source, target, relation, containingMessageChain, errorOutputContainer); - } - function checkTypeComparableTo(source, target, errorNode, headMessage, containingMessageChain) { - return checkTypeRelatedTo(source, target, comparableRelation, errorNode, headMessage, containingMessageChain); - } - function isSignatureAssignableTo(source, target, ignoreReturnTypes) { - return compareSignaturesRelated( - source, - target, - ignoreReturnTypes ? 4 /* IgnoreReturnTypes */ : 0 /* None */, - /*reportErrors*/ - false, - /*errorReporter*/ - void 0, - /*incompatibleErrorReporter*/ - void 0, - compareTypesAssignable, - /*reportUnreliableMarkers*/ - void 0 - ) !== 0 /* False */; - } - function isTopSignature(s) { - if (!s.typeParameters && (!s.thisParameter || isTypeAny(getTypeOfParameter(s.thisParameter))) && s.parameters.length === 1 && signatureHasRestParameter(s)) { - const paramType = getTypeOfParameter(s.parameters[0]); - const restType = isArrayType(paramType) ? getTypeArguments(paramType)[0] : paramType; - return !!(restType.flags & (1 /* Any */ | 131072 /* Never */) && getReturnTypeOfSignature(s).flags & 3 /* AnyOrUnknown */); - } - return false; - } - function compareSignaturesRelated(source, target, checkMode, reportErrors2, errorReporter, incompatibleErrorReporter, compareTypes, reportUnreliableMarkers) { - if (source === target) { - return -1 /* True */; - } - if (!(checkMode & 16 /* StrictTopSignature */ && isTopSignature(source)) && isTopSignature(target)) { - return -1 /* True */; - } - if (checkMode & 16 /* StrictTopSignature */ && isTopSignature(source) && !isTopSignature(target)) { - return 0 /* False */; - } - const targetCount = getParameterCount(target); - const sourceHasMoreParameters = !hasEffectiveRestParameter(target) && (checkMode & 8 /* StrictArity */ ? hasEffectiveRestParameter(source) || getParameterCount(source) > targetCount : getMinArgumentCount(source) > targetCount); - if (sourceHasMoreParameters) { - if (reportErrors2 && !(checkMode & 8 /* StrictArity */)) { - errorReporter(Diagnostics.Target_signature_provides_too_few_arguments_Expected_0_or_more_but_got_1, getMinArgumentCount(source), targetCount); - } - return 0 /* False */; - } - if (source.typeParameters && source.typeParameters !== target.typeParameters) { - target = getCanonicalSignature(target); - source = instantiateSignatureInContextOf( - source, - target, - /*inferenceContext*/ - void 0, - compareTypes - ); - } - const sourceCount = getParameterCount(source); - const sourceRestType = getNonArrayRestType(source); - const targetRestType = getNonArrayRestType(target); - if (sourceRestType || targetRestType) { - void instantiateType(sourceRestType || targetRestType, reportUnreliableMarkers); - } - const kind = target.declaration ? target.declaration.kind : 0 /* Unknown */; - const strictVariance = !(checkMode & 3 /* Callback */) && strictFunctionTypes && kind !== 174 /* MethodDeclaration */ && kind !== 173 /* MethodSignature */ && kind !== 176 /* Constructor */; - let result = -1 /* True */; - const sourceThisType = getThisTypeOfSignature(source); - if (sourceThisType && sourceThisType !== voidType) { - const targetThisType = getThisTypeOfSignature(target); - if (targetThisType) { - const related = !strictVariance && compareTypes( - sourceThisType, - targetThisType, - /*reportErrors*/ - false - ) || compareTypes(targetThisType, sourceThisType, reportErrors2); - if (!related) { - if (reportErrors2) { - errorReporter(Diagnostics.The_this_types_of_each_signature_are_incompatible); - } - return 0 /* False */; - } - result &= related; - } - } - const paramCount = sourceRestType || targetRestType ? Math.min(sourceCount, targetCount) : Math.max(sourceCount, targetCount); - const restIndex = sourceRestType || targetRestType ? paramCount - 1 : -1; - for (let i = 0; i < paramCount; i++) { - const sourceType = i === restIndex ? getRestOrAnyTypeAtPosition(source, i) : tryGetTypeAtPosition(source, i); - const targetType = i === restIndex ? getRestOrAnyTypeAtPosition(target, i) : tryGetTypeAtPosition(target, i); - if (sourceType && targetType && (sourceType !== targetType || checkMode & 8 /* StrictArity */)) { - const sourceSig = checkMode & 3 /* Callback */ || isInstantiatedGenericParameter(source, i) ? void 0 : getSingleCallSignature(getNonNullableType(sourceType)); - const targetSig = checkMode & 3 /* Callback */ || isInstantiatedGenericParameter(target, i) ? void 0 : getSingleCallSignature(getNonNullableType(targetType)); - const callbacks = sourceSig && targetSig && !getTypePredicateOfSignature(sourceSig) && !getTypePredicateOfSignature(targetSig) && getTypeFacts(sourceType, 50331648 /* IsUndefinedOrNull */) === getTypeFacts(targetType, 50331648 /* IsUndefinedOrNull */); - let related = callbacks ? compareSignaturesRelated(targetSig, sourceSig, checkMode & 8 /* StrictArity */ | (strictVariance ? 2 /* StrictCallback */ : 1 /* BivariantCallback */), reportErrors2, errorReporter, incompatibleErrorReporter, compareTypes, reportUnreliableMarkers) : !(checkMode & 3 /* Callback */) && !strictVariance && compareTypes( - sourceType, - targetType, - /*reportErrors*/ - false - ) || compareTypes(targetType, sourceType, reportErrors2); - if (related && checkMode & 8 /* StrictArity */ && i >= getMinArgumentCount(source) && i < getMinArgumentCount(target) && compareTypes( - sourceType, - targetType, - /*reportErrors*/ - false - )) { - related = 0 /* False */; - } - if (!related) { - if (reportErrors2) { - errorReporter(Diagnostics.Types_of_parameters_0_and_1_are_incompatible, unescapeLeadingUnderscores(getParameterNameAtPosition(source, i)), unescapeLeadingUnderscores(getParameterNameAtPosition(target, i))); - } - return 0 /* False */; - } - result &= related; - } - } - if (!(checkMode & 4 /* IgnoreReturnTypes */)) { - const targetReturnType = isResolvingReturnTypeOfSignature(target) ? anyType : target.declaration && isJSConstructor(target.declaration) ? getDeclaredTypeOfClassOrInterface(getMergedSymbol(target.declaration.symbol)) : getReturnTypeOfSignature(target); - if (targetReturnType === voidType || targetReturnType === anyType) { - return result; - } - const sourceReturnType = isResolvingReturnTypeOfSignature(source) ? anyType : source.declaration && isJSConstructor(source.declaration) ? getDeclaredTypeOfClassOrInterface(getMergedSymbol(source.declaration.symbol)) : getReturnTypeOfSignature(source); - const targetTypePredicate = getTypePredicateOfSignature(target); - if (targetTypePredicate) { - const sourceTypePredicate = getTypePredicateOfSignature(source); - if (sourceTypePredicate) { - result &= compareTypePredicateRelatedTo(sourceTypePredicate, targetTypePredicate, reportErrors2, errorReporter, compareTypes); - } else if (isIdentifierTypePredicate(targetTypePredicate) || isThisTypePredicate(targetTypePredicate)) { - if (reportErrors2) { - errorReporter(Diagnostics.Signature_0_must_be_a_type_predicate, signatureToString(source)); - } - return 0 /* False */; - } - } else { - result &= checkMode & 1 /* BivariantCallback */ && compareTypes( - targetReturnType, - sourceReturnType, - /*reportErrors*/ - false - ) || compareTypes(sourceReturnType, targetReturnType, reportErrors2); - if (!result && reportErrors2 && incompatibleErrorReporter) { - incompatibleErrorReporter(sourceReturnType, targetReturnType); - } - } - } - return result; - } - function compareTypePredicateRelatedTo(source, target, reportErrors2, errorReporter, compareTypes) { - if (source.kind !== target.kind) { - if (reportErrors2) { - errorReporter(Diagnostics.A_this_based_type_guard_is_not_compatible_with_a_parameter_based_type_guard); - errorReporter(Diagnostics.Type_predicate_0_is_not_assignable_to_1, typePredicateToString(source), typePredicateToString(target)); - } - return 0 /* False */; - } - if (source.kind === 1 /* Identifier */ || source.kind === 3 /* AssertsIdentifier */) { - if (source.parameterIndex !== target.parameterIndex) { - if (reportErrors2) { - errorReporter(Diagnostics.Parameter_0_is_not_in_the_same_position_as_parameter_1, source.parameterName, target.parameterName); - errorReporter(Diagnostics.Type_predicate_0_is_not_assignable_to_1, typePredicateToString(source), typePredicateToString(target)); - } - return 0 /* False */; - } - } - const related = source.type === target.type ? -1 /* True */ : source.type && target.type ? compareTypes(source.type, target.type, reportErrors2) : 0 /* False */; - if (related === 0 /* False */ && reportErrors2) { - errorReporter(Diagnostics.Type_predicate_0_is_not_assignable_to_1, typePredicateToString(source), typePredicateToString(target)); - } - return related; - } - function isImplementationCompatibleWithOverload(implementation, overload) { - const erasedSource = getErasedSignature(implementation); - const erasedTarget = getErasedSignature(overload); - const sourceReturnType = getReturnTypeOfSignature(erasedSource); - const targetReturnType = getReturnTypeOfSignature(erasedTarget); - if (targetReturnType === voidType || isTypeRelatedTo(targetReturnType, sourceReturnType, assignableRelation) || isTypeRelatedTo(sourceReturnType, targetReturnType, assignableRelation)) { - return isSignatureAssignableTo( - erasedSource, - erasedTarget, - /*ignoreReturnTypes*/ - true - ); - } - return false; - } - function isEmptyResolvedType(t) { - return t !== anyFunctionType && t.properties.length === 0 && t.callSignatures.length === 0 && t.constructSignatures.length === 0 && t.indexInfos.length === 0; - } - function isEmptyObjectType(type) { - return type.flags & 524288 /* Object */ ? !isGenericMappedType(type) && isEmptyResolvedType(resolveStructuredTypeMembers(type)) : type.flags & 67108864 /* NonPrimitive */ ? true : type.flags & 1048576 /* Union */ ? some(type.types, isEmptyObjectType) : type.flags & 2097152 /* Intersection */ ? every(type.types, isEmptyObjectType) : false; - } - function isEmptyAnonymousObjectType(type) { - return !!(getObjectFlags(type) & 16 /* Anonymous */ && (type.members && isEmptyResolvedType(type) || type.symbol && type.symbol.flags & 2048 /* TypeLiteral */ && getMembersOfSymbol(type.symbol).size === 0)); - } - function isUnknownLikeUnionType(type) { - if (strictNullChecks && type.flags & 1048576 /* Union */) { - if (!(type.objectFlags & 33554432 /* IsUnknownLikeUnionComputed */)) { - const types = type.types; - type.objectFlags |= 33554432 /* IsUnknownLikeUnionComputed */ | (types.length >= 3 && types[0].flags & 32768 /* Undefined */ && types[1].flags & 65536 /* Null */ && some(types, isEmptyAnonymousObjectType) ? 67108864 /* IsUnknownLikeUnion */ : 0); - } - return !!(type.objectFlags & 67108864 /* IsUnknownLikeUnion */); - } - return false; - } - function containsUndefinedType(type) { - return !!((type.flags & 1048576 /* Union */ ? type.types[0] : type).flags & 32768 /* Undefined */); - } - function containsNonMissingUndefinedType(type) { - const candidate = type.flags & 1048576 /* Union */ ? type.types[0] : type; - return !!(candidate.flags & 32768 /* Undefined */) && candidate !== missingType; - } - function isStringIndexSignatureOnlyType(type) { - return type.flags & 524288 /* Object */ && !isGenericMappedType(type) && getPropertiesOfType(type).length === 0 && getIndexInfosOfType(type).length === 1 && !!getIndexInfoOfType(type, stringType) || type.flags & 3145728 /* UnionOrIntersection */ && every(type.types, isStringIndexSignatureOnlyType) || false; - } - function isEnumTypeRelatedTo(source, target, errorReporter) { - const sourceSymbol = source.flags & 8 /* EnumMember */ ? getParentOfSymbol(source) : source; - const targetSymbol = target.flags & 8 /* EnumMember */ ? getParentOfSymbol(target) : target; - if (sourceSymbol === targetSymbol) { - return true; - } - if (sourceSymbol.escapedName !== targetSymbol.escapedName || !(sourceSymbol.flags & 256 /* RegularEnum */) || !(targetSymbol.flags & 256 /* RegularEnum */)) { - return false; - } - const id = getSymbolId(sourceSymbol) + "," + getSymbolId(targetSymbol); - const entry = enumRelation.get(id); - if (entry !== void 0 && !(entry & 2 /* Failed */ && errorReporter)) { - return !!(entry & 1 /* Succeeded */); - } - const targetEnumType = getTypeOfSymbol(targetSymbol); - for (const sourceProperty of getPropertiesOfType(getTypeOfSymbol(sourceSymbol))) { - if (sourceProperty.flags & 8 /* EnumMember */) { - const targetProperty = getPropertyOfType(targetEnumType, sourceProperty.escapedName); - if (!targetProperty || !(targetProperty.flags & 8 /* EnumMember */)) { - if (errorReporter) { - errorReporter(Diagnostics.Property_0_is_missing_in_type_1, symbolName(sourceProperty), typeToString( - getDeclaredTypeOfSymbol(targetSymbol), - /*enclosingDeclaration*/ - void 0, - 64 /* UseFullyQualifiedType */ - )); - } - enumRelation.set(id, 2 /* Failed */); - return false; - } - const sourceValue = getEnumMemberValue(getDeclarationOfKind(sourceProperty, 306 /* EnumMember */)).value; - const targetValue = getEnumMemberValue(getDeclarationOfKind(targetProperty, 306 /* EnumMember */)).value; - if (sourceValue !== targetValue) { - const sourceIsString = typeof sourceValue === "string"; - const targetIsString = typeof targetValue === "string"; - if (sourceValue !== void 0 && targetValue !== void 0) { - if (errorReporter) { - const escapedSource = sourceIsString ? `"${escapeString(sourceValue)}"` : sourceValue; - const escapedTarget = targetIsString ? `"${escapeString(targetValue)}"` : targetValue; - errorReporter(Diagnostics.Each_declaration_of_0_1_differs_in_its_value_where_2_was_expected_but_3_was_given, symbolName(targetSymbol), symbolName(targetProperty), escapedTarget, escapedSource); - } - enumRelation.set(id, 2 /* Failed */); - return false; - } - if (sourceIsString || targetIsString) { - if (errorReporter) { - const knownStringValue = sourceValue ?? targetValue; - Debug.assert(typeof knownStringValue === "string"); - const escapedValue = `"${escapeString(knownStringValue)}"`; - errorReporter(Diagnostics.One_value_of_0_1_is_the_string_2_and_the_other_is_assumed_to_be_an_unknown_numeric_value, symbolName(targetSymbol), symbolName(targetProperty), escapedValue); - } - enumRelation.set(id, 2 /* Failed */); - return false; - } - } - } - } - enumRelation.set(id, 1 /* Succeeded */); - return true; - } - function isSimpleTypeRelatedTo(source, target, relation, errorReporter) { - const s = source.flags; - const t = target.flags; - if (t & 1 /* Any */ || s & 131072 /* Never */ || source === wildcardType) return true; - if (t & 2 /* Unknown */ && !(relation === strictSubtypeRelation && s & 1 /* Any */)) return true; - if (t & 131072 /* Never */) return false; - if (s & 402653316 /* StringLike */ && t & 4 /* String */) return true; - if (s & 128 /* StringLiteral */ && s & 1024 /* EnumLiteral */ && t & 128 /* StringLiteral */ && !(t & 1024 /* EnumLiteral */) && source.value === target.value) return true; - if (s & 296 /* NumberLike */ && t & 8 /* Number */) return true; - if (s & 256 /* NumberLiteral */ && s & 1024 /* EnumLiteral */ && t & 256 /* NumberLiteral */ && !(t & 1024 /* EnumLiteral */) && source.value === target.value) return true; - if (s & 2112 /* BigIntLike */ && t & 64 /* BigInt */) return true; - if (s & 528 /* BooleanLike */ && t & 16 /* Boolean */) return true; - if (s & 12288 /* ESSymbolLike */ && t & 4096 /* ESSymbol */) return true; - if (s & 32 /* Enum */ && t & 32 /* Enum */ && source.symbol.escapedName === target.symbol.escapedName && isEnumTypeRelatedTo(source.symbol, target.symbol, errorReporter)) return true; - if (s & 1024 /* EnumLiteral */ && t & 1024 /* EnumLiteral */) { - if (s & 1048576 /* Union */ && t & 1048576 /* Union */ && isEnumTypeRelatedTo(source.symbol, target.symbol, errorReporter)) return true; - if (s & 2944 /* Literal */ && t & 2944 /* Literal */ && source.value === target.value && isEnumTypeRelatedTo(source.symbol, target.symbol, errorReporter)) return true; - } - if (s & 32768 /* Undefined */ && (!strictNullChecks && !(t & 3145728 /* UnionOrIntersection */) || t & (32768 /* Undefined */ | 16384 /* Void */))) return true; - if (s & 65536 /* Null */ && (!strictNullChecks && !(t & 3145728 /* UnionOrIntersection */) || t & 65536 /* Null */)) return true; - if (s & 524288 /* Object */ && t & 67108864 /* NonPrimitive */ && !(relation === strictSubtypeRelation && isEmptyAnonymousObjectType(source) && !(getObjectFlags(source) & 8192 /* FreshLiteral */))) return true; - if (relation === assignableRelation || relation === comparableRelation) { - if (s & 1 /* Any */) return true; - if (s & 8 /* Number */ && (t & 32 /* Enum */ || t & 256 /* NumberLiteral */ && t & 1024 /* EnumLiteral */)) return true; - if (s & 256 /* NumberLiteral */ && !(s & 1024 /* EnumLiteral */) && (t & 32 /* Enum */ || t & 256 /* NumberLiteral */ && t & 1024 /* EnumLiteral */ && source.value === target.value)) return true; - if (isUnknownLikeUnionType(target)) return true; - } - return false; - } - function isTypeRelatedTo(source, target, relation) { - if (isFreshLiteralType(source)) { - source = source.regularType; - } - if (isFreshLiteralType(target)) { - target = target.regularType; - } - if (source === target) { - return true; - } - if (relation !== identityRelation) { - if (relation === comparableRelation && !(target.flags & 131072 /* Never */) && isSimpleTypeRelatedTo(target, source, relation) || isSimpleTypeRelatedTo(source, target, relation)) { - return true; - } - } else if (!((source.flags | target.flags) & (3145728 /* UnionOrIntersection */ | 8388608 /* IndexedAccess */ | 16777216 /* Conditional */ | 33554432 /* Substitution */))) { - if (source.flags !== target.flags) return false; - if (source.flags & 67358815 /* Singleton */) return true; - } - if (source.flags & 524288 /* Object */ && target.flags & 524288 /* Object */) { - const related = relation.get(getRelationKey( - source, - target, - 0 /* None */, - relation, - /*ignoreConstraints*/ - false - )); - if (related !== void 0) { - return !!(related & 1 /* Succeeded */); - } - } - if (source.flags & 469499904 /* StructuredOrInstantiable */ || target.flags & 469499904 /* StructuredOrInstantiable */) { - return checkTypeRelatedTo( - source, - target, - relation, - /*errorNode*/ - void 0 - ); - } - return false; - } - function isIgnoredJsxProperty(source, sourceProp) { - return getObjectFlags(source) & 2048 /* JsxAttributes */ && isHyphenatedJsxName(sourceProp.escapedName); - } - function getNormalizedType(type, writing) { - while (true) { - const t = isFreshLiteralType(type) ? type.regularType : isGenericTupleType(type) ? getNormalizedTupleType(type, writing) : getObjectFlags(type) & 4 /* Reference */ ? type.node ? createTypeReference(type.target, getTypeArguments(type)) : getSingleBaseForNonAugmentingSubtype(type) || type : type.flags & 3145728 /* UnionOrIntersection */ ? getNormalizedUnionOrIntersectionType(type, writing) : type.flags & 33554432 /* Substitution */ ? writing ? type.baseType : getSubstitutionIntersection(type) : type.flags & 25165824 /* Simplifiable */ ? getSimplifiedType(type, writing) : type; - if (t === type) return t; - type = t; - } - } - function getNormalizedUnionOrIntersectionType(type, writing) { - const reduced = getReducedType(type); - if (reduced !== type) { - return reduced; - } - if (type.flags & 2097152 /* Intersection */ && shouldNormalizeIntersection(type)) { - const normalizedTypes = sameMap(type.types, (t) => getNormalizedType(t, writing)); - if (normalizedTypes !== type.types) { - return getIntersectionType(normalizedTypes); - } - } - return type; - } - function shouldNormalizeIntersection(type) { - let hasInstantiable = false; - let hasNullableOrEmpty = false; - for (const t of type.types) { - hasInstantiable || (hasInstantiable = !!(t.flags & 465829888 /* Instantiable */)); - hasNullableOrEmpty || (hasNullableOrEmpty = !!(t.flags & 98304 /* Nullable */) || isEmptyAnonymousObjectType(t)); - if (hasInstantiable && hasNullableOrEmpty) return true; - } - return false; - } - function getNormalizedTupleType(type, writing) { - const elements = getElementTypes(type); - const normalizedElements = sameMap(elements, (t) => t.flags & 25165824 /* Simplifiable */ ? getSimplifiedType(t, writing) : t); - return elements !== normalizedElements ? createNormalizedTupleType(type.target, normalizedElements) : type; - } - function checkTypeRelatedTo(source, target, relation, errorNode, headMessage, containingMessageChain, errorOutputContainer) { - var _a; - let errorInfo; - let relatedInfo; - let maybeKeys; - let maybeKeysSet; - let sourceStack; - let targetStack; - let maybeCount = 0; - let sourceDepth = 0; - let targetDepth = 0; - let expandingFlags = 0 /* None */; - let overflow = false; - let overrideNextErrorInfo = 0; - let skipParentCounter = 0; - let lastSkippedInfo; - let incompatibleStack; - let relationCount = 16e6 - relation.size >> 3; - Debug.assert(relation !== identityRelation || !errorNode, "no error reporting in identity checking"); - const result = isRelatedTo( - source, - target, - 3 /* Both */, - /*reportErrors*/ - !!errorNode, - headMessage - ); - if (incompatibleStack) { - reportIncompatibleStack(); - } - if (overflow) { - const id = getRelationKey( - source, - target, - /*intersectionState*/ - 0 /* None */, - relation, - /*ignoreConstraints*/ - false - ); - relation.set(id, 2 /* Failed */ | (relationCount <= 0 ? 32 /* ComplexityOverflow */ : 64 /* StackDepthOverflow */)); - (_a = tracing) == null ? void 0 : _a.instant(tracing.Phase.CheckTypes, "checkTypeRelatedTo_DepthLimit", { sourceId: source.id, targetId: target.id, depth: sourceDepth, targetDepth }); - const message = relationCount <= 0 ? Diagnostics.Excessive_complexity_comparing_types_0_and_1 : Diagnostics.Excessive_stack_depth_comparing_types_0_and_1; - const diag2 = error(errorNode || currentNode, message, typeToString(source), typeToString(target)); - if (errorOutputContainer) { - (errorOutputContainer.errors || (errorOutputContainer.errors = [])).push(diag2); - } - } else if (errorInfo) { - if (containingMessageChain) { - const chain = containingMessageChain(); - if (chain) { - concatenateDiagnosticMessageChains(chain, errorInfo); - errorInfo = chain; - } - } - let relatedInformation; - if (headMessage && errorNode && !result && source.symbol) { - const links = getSymbolLinks(source.symbol); - if (links.originatingImport && !isImportCall(links.originatingImport)) { - const helpfulRetry = checkTypeRelatedTo( - getTypeOfSymbol(links.target), - target, - relation, - /*errorNode*/ - void 0 - ); - if (helpfulRetry) { - const diag3 = createDiagnosticForNode(links.originatingImport, Diagnostics.Type_originates_at_this_import_A_namespace_style_import_cannot_be_called_or_constructed_and_will_cause_a_failure_at_runtime_Consider_using_a_default_import_or_import_require_here_instead); - relatedInformation = append(relatedInformation, diag3); - } - } - } - const diag2 = createDiagnosticForNodeFromMessageChain(getSourceFileOfNode(errorNode), errorNode, errorInfo, relatedInformation); - if (relatedInfo) { - addRelatedInfo(diag2, ...relatedInfo); - } - if (errorOutputContainer) { - (errorOutputContainer.errors || (errorOutputContainer.errors = [])).push(diag2); - } - if (!errorOutputContainer || !errorOutputContainer.skipLogging) { - diagnostics.add(diag2); - } - } - if (errorNode && errorOutputContainer && errorOutputContainer.skipLogging && result === 0 /* False */) { - Debug.assert(!!errorOutputContainer.errors, "missed opportunity to interact with error."); - } - return result !== 0 /* False */; - function resetErrorInfo(saved) { - errorInfo = saved.errorInfo; - lastSkippedInfo = saved.lastSkippedInfo; - incompatibleStack = saved.incompatibleStack; - overrideNextErrorInfo = saved.overrideNextErrorInfo; - skipParentCounter = saved.skipParentCounter; - relatedInfo = saved.relatedInfo; - } - function captureErrorCalculationState() { - return { - errorInfo, - lastSkippedInfo, - incompatibleStack: incompatibleStack == null ? void 0 : incompatibleStack.slice(), - overrideNextErrorInfo, - skipParentCounter, - relatedInfo: relatedInfo == null ? void 0 : relatedInfo.slice() - }; - } - function reportIncompatibleError(message, ...args) { - overrideNextErrorInfo++; - lastSkippedInfo = void 0; - (incompatibleStack || (incompatibleStack = [])).push([message, ...args]); - } - function reportIncompatibleStack() { - const stack = incompatibleStack || []; - incompatibleStack = void 0; - const info = lastSkippedInfo; - lastSkippedInfo = void 0; - if (stack.length === 1) { - reportError(...stack[0]); - if (info) { - reportRelationError( - /*message*/ - void 0, - ...info - ); - } - return; - } - let path = ""; - const secondaryRootErrors = []; - while (stack.length) { - const [msg, ...args] = stack.pop(); - switch (msg.code) { - case Diagnostics.Types_of_property_0_are_incompatible.code: { - if (path.indexOf("new ") === 0) { - path = `(${path})`; - } - const str = "" + args[0]; - if (path.length === 0) { - path = `${str}`; - } else if (isIdentifierText(str, getEmitScriptTarget(compilerOptions))) { - path = `${path}.${str}`; - } else if (str[0] === "[" && str[str.length - 1] === "]") { - path = `${path}${str}`; - } else { - path = `${path}[${str}]`; - } - break; - } - case Diagnostics.Call_signature_return_types_0_and_1_are_incompatible.code: - case Diagnostics.Construct_signature_return_types_0_and_1_are_incompatible.code: - case Diagnostics.Call_signatures_with_no_arguments_have_incompatible_return_types_0_and_1.code: - case Diagnostics.Construct_signatures_with_no_arguments_have_incompatible_return_types_0_and_1.code: { - if (path.length === 0) { - let mappedMsg = msg; - if (msg.code === Diagnostics.Call_signatures_with_no_arguments_have_incompatible_return_types_0_and_1.code) { - mappedMsg = Diagnostics.Call_signature_return_types_0_and_1_are_incompatible; - } else if (msg.code === Diagnostics.Construct_signatures_with_no_arguments_have_incompatible_return_types_0_and_1.code) { - mappedMsg = Diagnostics.Construct_signature_return_types_0_and_1_are_incompatible; - } - secondaryRootErrors.unshift([mappedMsg, args[0], args[1]]); - } else { - const prefix = msg.code === Diagnostics.Construct_signature_return_types_0_and_1_are_incompatible.code || msg.code === Diagnostics.Construct_signatures_with_no_arguments_have_incompatible_return_types_0_and_1.code ? "new " : ""; - const params = msg.code === Diagnostics.Call_signatures_with_no_arguments_have_incompatible_return_types_0_and_1.code || msg.code === Diagnostics.Construct_signatures_with_no_arguments_have_incompatible_return_types_0_and_1.code ? "" : "..."; - path = `${prefix}${path}(${params})`; - } - break; - } - case Diagnostics.Type_at_position_0_in_source_is_not_compatible_with_type_at_position_1_in_target.code: { - secondaryRootErrors.unshift([Diagnostics.Type_at_position_0_in_source_is_not_compatible_with_type_at_position_1_in_target, args[0], args[1]]); - break; - } - case Diagnostics.Type_at_positions_0_through_1_in_source_is_not_compatible_with_type_at_position_2_in_target.code: { - secondaryRootErrors.unshift([Diagnostics.Type_at_positions_0_through_1_in_source_is_not_compatible_with_type_at_position_2_in_target, args[0], args[1], args[2]]); - break; - } - default: - return Debug.fail(`Unhandled Diagnostic: ${msg.code}`); - } - } - if (path) { - reportError( - path[path.length - 1] === ")" ? Diagnostics.The_types_returned_by_0_are_incompatible_between_these_types : Diagnostics.The_types_of_0_are_incompatible_between_these_types, - path - ); - } else { - secondaryRootErrors.shift(); - } - for (const [msg, ...args] of secondaryRootErrors) { - const originalValue = msg.elidedInCompatabilityPyramid; - msg.elidedInCompatabilityPyramid = false; - reportError(msg, ...args); - msg.elidedInCompatabilityPyramid = originalValue; - } - if (info) { - reportRelationError( - /*message*/ - void 0, - ...info - ); - } - } - function reportError(message, ...args) { - Debug.assert(!!errorNode); - if (incompatibleStack) reportIncompatibleStack(); - if (message.elidedInCompatabilityPyramid) return; - if (skipParentCounter === 0) { - errorInfo = chainDiagnosticMessages(errorInfo, message, ...args); - } else { - skipParentCounter--; - } - } - function reportParentSkippedError(message, ...args) { - reportError(message, ...args); - skipParentCounter++; - } - function associateRelatedInfo(info) { - Debug.assert(!!errorInfo); - if (!relatedInfo) { - relatedInfo = [info]; - } else { - relatedInfo.push(info); - } - } - function reportRelationError(message, source2, target2) { - if (incompatibleStack) reportIncompatibleStack(); - const [sourceType, targetType] = getTypeNamesForErrorDisplay(source2, target2); - let generalizedSource = source2; - let generalizedSourceType = sourceType; - if (isLiteralType(source2) && !typeCouldHaveTopLevelSingletonTypes(target2)) { - generalizedSource = getBaseTypeOfLiteralType(source2); - Debug.assert(!isTypeAssignableTo(generalizedSource, target2), "generalized source shouldn't be assignable"); - generalizedSourceType = getTypeNameForErrorDisplay(generalizedSource); - } - const targetFlags = target2.flags & 8388608 /* IndexedAccess */ && !(source2.flags & 8388608 /* IndexedAccess */) ? target2.objectType.flags : target2.flags; - if (targetFlags & 262144 /* TypeParameter */ && target2 !== markerSuperTypeForCheck && target2 !== markerSubTypeForCheck) { - const constraint = getBaseConstraintOfType(target2); - let needsOriginalSource; - if (constraint && (isTypeAssignableTo(generalizedSource, constraint) || (needsOriginalSource = isTypeAssignableTo(source2, constraint)))) { - reportError( - Diagnostics._0_is_assignable_to_the_constraint_of_type_1_but_1_could_be_instantiated_with_a_different_subtype_of_constraint_2, - needsOriginalSource ? sourceType : generalizedSourceType, - targetType, - typeToString(constraint) - ); - } else { - errorInfo = void 0; - reportError( - Diagnostics._0_could_be_instantiated_with_an_arbitrary_type_which_could_be_unrelated_to_1, - targetType, - generalizedSourceType - ); - } - } - if (!message) { - if (relation === comparableRelation) { - message = Diagnostics.Type_0_is_not_comparable_to_type_1; - } else if (sourceType === targetType) { - message = Diagnostics.Type_0_is_not_assignable_to_type_1_Two_different_types_with_this_name_exist_but_they_are_unrelated; - } else if (exactOptionalPropertyTypes && getExactOptionalUnassignableProperties(source2, target2).length) { - message = Diagnostics.Type_0_is_not_assignable_to_type_1_with_exactOptionalPropertyTypes_Colon_true_Consider_adding_undefined_to_the_types_of_the_target_s_properties; - } else { - if (source2.flags & 128 /* StringLiteral */ && target2.flags & 1048576 /* Union */) { - const suggestedType = getSuggestedTypeForNonexistentStringLiteralType(source2, target2); - if (suggestedType) { - reportError(Diagnostics.Type_0_is_not_assignable_to_type_1_Did_you_mean_2, generalizedSourceType, targetType, typeToString(suggestedType)); - return; - } - } - message = Diagnostics.Type_0_is_not_assignable_to_type_1; - } - } else if (message === Diagnostics.Argument_of_type_0_is_not_assignable_to_parameter_of_type_1 && exactOptionalPropertyTypes && getExactOptionalUnassignableProperties(source2, target2).length) { - message = Diagnostics.Argument_of_type_0_is_not_assignable_to_parameter_of_type_1_with_exactOptionalPropertyTypes_Colon_true_Consider_adding_undefined_to_the_types_of_the_target_s_properties; - } - reportError(message, generalizedSourceType, targetType); - } - function tryElaborateErrorsForPrimitivesAndObjects(source2, target2) { - const sourceType = symbolValueDeclarationIsContextSensitive(source2.symbol) ? typeToString(source2, source2.symbol.valueDeclaration) : typeToString(source2); - const targetType = symbolValueDeclarationIsContextSensitive(target2.symbol) ? typeToString(target2, target2.symbol.valueDeclaration) : typeToString(target2); - if (globalStringType === source2 && stringType === target2 || globalNumberType === source2 && numberType === target2 || globalBooleanType === source2 && booleanType === target2 || getGlobalESSymbolType() === source2 && esSymbolType === target2) { - reportError(Diagnostics._0_is_a_primitive_but_1_is_a_wrapper_object_Prefer_using_0_when_possible, targetType, sourceType); - } - } - function tryElaborateArrayLikeErrors(source2, target2, reportErrors2) { - if (isTupleType(source2)) { - if (source2.target.readonly && isMutableArrayOrTuple(target2)) { - if (reportErrors2) { - reportError(Diagnostics.The_type_0_is_readonly_and_cannot_be_assigned_to_the_mutable_type_1, typeToString(source2), typeToString(target2)); - } - return false; - } - return isArrayOrTupleType(target2); - } - if (isReadonlyArrayType(source2) && isMutableArrayOrTuple(target2)) { - if (reportErrors2) { - reportError(Diagnostics.The_type_0_is_readonly_and_cannot_be_assigned_to_the_mutable_type_1, typeToString(source2), typeToString(target2)); - } - return false; - } - if (isTupleType(target2)) { - return isArrayType(source2); - } - return true; - } - function isRelatedToWorker(source2, target2, reportErrors2) { - return isRelatedTo(source2, target2, 3 /* Both */, reportErrors2); - } - function isRelatedTo(originalSource, originalTarget, recursionFlags = 3 /* Both */, reportErrors2 = false, headMessage2, intersectionState = 0 /* None */) { - if (originalSource === originalTarget) return -1 /* True */; - if (originalSource.flags & 524288 /* Object */ && originalTarget.flags & 402784252 /* Primitive */) { - if (relation === comparableRelation && !(originalTarget.flags & 131072 /* Never */) && isSimpleTypeRelatedTo(originalTarget, originalSource, relation) || isSimpleTypeRelatedTo(originalSource, originalTarget, relation, reportErrors2 ? reportError : void 0)) { - return -1 /* True */; - } - if (reportErrors2) { - reportErrorResults(originalSource, originalTarget, originalSource, originalTarget, headMessage2); - } - return 0 /* False */; - } - const source2 = getNormalizedType( - originalSource, - /*writing*/ - false - ); - let target2 = getNormalizedType( - originalTarget, - /*writing*/ - true - ); - if (source2 === target2) return -1 /* True */; - if (relation === identityRelation) { - if (source2.flags !== target2.flags) return 0 /* False */; - if (source2.flags & 67358815 /* Singleton */) return -1 /* True */; - traceUnionsOrIntersectionsTooLarge(source2, target2); - return recursiveTypeRelatedTo( - source2, - target2, - /*reportErrors*/ - false, - 0 /* None */, - recursionFlags - ); - } - if (source2.flags & 262144 /* TypeParameter */ && getConstraintOfType(source2) === target2) { - return -1 /* True */; - } - if (source2.flags & 470302716 /* DefinitelyNonNullable */ && target2.flags & 1048576 /* Union */) { - const types = target2.types; - const candidate = types.length === 2 && types[0].flags & 98304 /* Nullable */ ? types[1] : types.length === 3 && types[0].flags & 98304 /* Nullable */ && types[1].flags & 98304 /* Nullable */ ? types[2] : void 0; - if (candidate && !(candidate.flags & 98304 /* Nullable */)) { - target2 = getNormalizedType( - candidate, - /*writing*/ - true - ); - if (source2 === target2) return -1 /* True */; - } - } - if (relation === comparableRelation && !(target2.flags & 131072 /* Never */) && isSimpleTypeRelatedTo(target2, source2, relation) || isSimpleTypeRelatedTo(source2, target2, relation, reportErrors2 ? reportError : void 0)) return -1 /* True */; - if (source2.flags & 469499904 /* StructuredOrInstantiable */ || target2.flags & 469499904 /* StructuredOrInstantiable */) { - const isPerformingExcessPropertyChecks = !(intersectionState & 2 /* Target */) && (isObjectLiteralType(source2) && getObjectFlags(source2) & 8192 /* FreshLiteral */); - if (isPerformingExcessPropertyChecks) { - if (hasExcessProperties(source2, target2, reportErrors2)) { - if (reportErrors2) { - reportRelationError(headMessage2, source2, originalTarget.aliasSymbol ? originalTarget : target2); - } - return 0 /* False */; - } - } - const isPerformingCommonPropertyChecks = (relation !== comparableRelation || isUnitType(source2)) && !(intersectionState & 2 /* Target */) && source2.flags & (402784252 /* Primitive */ | 524288 /* Object */ | 2097152 /* Intersection */) && source2 !== globalObjectType && target2.flags & (524288 /* Object */ | 2097152 /* Intersection */) && isWeakType(target2) && (getPropertiesOfType(source2).length > 0 || typeHasCallOrConstructSignatures(source2)); - const isComparingJsxAttributes = !!(getObjectFlags(source2) & 2048 /* JsxAttributes */); - if (isPerformingCommonPropertyChecks && !hasCommonProperties(source2, target2, isComparingJsxAttributes)) { - if (reportErrors2) { - const sourceString = typeToString(originalSource.aliasSymbol ? originalSource : source2); - const targetString = typeToString(originalTarget.aliasSymbol ? originalTarget : target2); - const calls = getSignaturesOfType(source2, 0 /* Call */); - const constructs = getSignaturesOfType(source2, 1 /* Construct */); - if (calls.length > 0 && isRelatedTo( - getReturnTypeOfSignature(calls[0]), - target2, - 1 /* Source */, - /*reportErrors*/ - false - ) || constructs.length > 0 && isRelatedTo( - getReturnTypeOfSignature(constructs[0]), - target2, - 1 /* Source */, - /*reportErrors*/ - false - )) { - reportError(Diagnostics.Value_of_type_0_has_no_properties_in_common_with_type_1_Did_you_mean_to_call_it, sourceString, targetString); - } else { - reportError(Diagnostics.Type_0_has_no_properties_in_common_with_type_1, sourceString, targetString); - } - } - return 0 /* False */; - } - traceUnionsOrIntersectionsTooLarge(source2, target2); - const skipCaching = source2.flags & 1048576 /* Union */ && source2.types.length < 4 && !(target2.flags & 1048576 /* Union */) || target2.flags & 1048576 /* Union */ && target2.types.length < 4 && !(source2.flags & 469499904 /* StructuredOrInstantiable */); - const result2 = skipCaching ? unionOrIntersectionRelatedTo(source2, target2, reportErrors2, intersectionState) : recursiveTypeRelatedTo(source2, target2, reportErrors2, intersectionState, recursionFlags); - if (result2) { - return result2; - } - } - if (reportErrors2) { - reportErrorResults(originalSource, originalTarget, source2, target2, headMessage2); - } - return 0 /* False */; - } - function reportErrorResults(originalSource, originalTarget, source2, target2, headMessage2) { - var _a2, _b; - const sourceHasBase = !!getSingleBaseForNonAugmentingSubtype(originalSource); - const targetHasBase = !!getSingleBaseForNonAugmentingSubtype(originalTarget); - source2 = originalSource.aliasSymbol || sourceHasBase ? originalSource : source2; - target2 = originalTarget.aliasSymbol || targetHasBase ? originalTarget : target2; - let maybeSuppress = overrideNextErrorInfo > 0; - if (maybeSuppress) { - overrideNextErrorInfo--; - } - if (source2.flags & 524288 /* Object */ && target2.flags & 524288 /* Object */) { - const currentError = errorInfo; - tryElaborateArrayLikeErrors( - source2, - target2, - /*reportErrors*/ - true - ); - if (errorInfo !== currentError) { - maybeSuppress = !!errorInfo; - } - } - if (source2.flags & 524288 /* Object */ && target2.flags & 402784252 /* Primitive */) { - tryElaborateErrorsForPrimitivesAndObjects(source2, target2); - } else if (source2.symbol && source2.flags & 524288 /* Object */ && globalObjectType === source2) { - reportError(Diagnostics.The_Object_type_is_assignable_to_very_few_other_types_Did_you_mean_to_use_the_any_type_instead); - } else if (getObjectFlags(source2) & 2048 /* JsxAttributes */ && target2.flags & 2097152 /* Intersection */) { - const targetTypes = target2.types; - const intrinsicAttributes = getJsxType(JsxNames.IntrinsicAttributes, errorNode); - const intrinsicClassAttributes = getJsxType(JsxNames.IntrinsicClassAttributes, errorNode); - if (!isErrorType(intrinsicAttributes) && !isErrorType(intrinsicClassAttributes) && (contains(targetTypes, intrinsicAttributes) || contains(targetTypes, intrinsicClassAttributes))) { - return; - } - } else { - errorInfo = elaborateNeverIntersection(errorInfo, originalTarget); - } - if (!headMessage2 && maybeSuppress) { - const savedErrorState = captureErrorCalculationState(); - reportRelationError(headMessage2, source2, target2); - let canonical; - if (errorInfo && errorInfo !== savedErrorState.errorInfo) { - canonical = { code: errorInfo.code, messageText: errorInfo.messageText }; - } - resetErrorInfo(savedErrorState); - if (canonical && errorInfo) { - errorInfo.canonicalHead = canonical; - } - lastSkippedInfo = [source2, target2]; - return; - } - reportRelationError(headMessage2, source2, target2); - if (source2.flags & 262144 /* TypeParameter */ && ((_b = (_a2 = source2.symbol) == null ? void 0 : _a2.declarations) == null ? void 0 : _b[0]) && !getConstraintOfType(source2)) { - const syntheticParam = cloneTypeParameter(source2); - syntheticParam.constraint = instantiateType(target2, makeUnaryTypeMapper(source2, syntheticParam)); - if (hasNonCircularBaseConstraint(syntheticParam)) { - const targetConstraintString = typeToString(target2, source2.symbol.declarations[0]); - associateRelatedInfo(createDiagnosticForNode(source2.symbol.declarations[0], Diagnostics.This_type_parameter_might_need_an_extends_0_constraint, targetConstraintString)); - } - } - } - function traceUnionsOrIntersectionsTooLarge(source2, target2) { - if (!tracing) { - return; - } - if (source2.flags & 3145728 /* UnionOrIntersection */ && target2.flags & 3145728 /* UnionOrIntersection */) { - const sourceUnionOrIntersection = source2; - const targetUnionOrIntersection = target2; - if (sourceUnionOrIntersection.objectFlags & targetUnionOrIntersection.objectFlags & 32768 /* PrimitiveUnion */) { - return; - } - const sourceSize = sourceUnionOrIntersection.types.length; - const targetSize = targetUnionOrIntersection.types.length; - if (sourceSize * targetSize > 1e6) { - tracing.instant(tracing.Phase.CheckTypes, "traceUnionsOrIntersectionsTooLarge_DepthLimit", { - sourceId: source2.id, - sourceSize, - targetId: target2.id, - targetSize, - pos: errorNode == null ? void 0 : errorNode.pos, - end: errorNode == null ? void 0 : errorNode.end - }); - } - } - } - function getTypeOfPropertyInTypes(types, name) { - const appendPropType = (propTypes, type) => { - var _a2; - type = getApparentType(type); - const prop = type.flags & 3145728 /* UnionOrIntersection */ ? getPropertyOfUnionOrIntersectionType(type, name) : getPropertyOfObjectType(type, name); - const propType = prop && getTypeOfSymbol(prop) || ((_a2 = getApplicableIndexInfoForName(type, name)) == null ? void 0 : _a2.type) || undefinedType; - return append(propTypes, propType); - }; - return getUnionType(reduceLeft( - types, - appendPropType, - /*initial*/ - void 0 - ) || emptyArray); - } - function hasExcessProperties(source2, target2, reportErrors2) { - var _a2; - if (!isExcessPropertyCheckTarget(target2) || !noImplicitAny && getObjectFlags(target2) & 4096 /* JSLiteral */) { - return false; - } - const isComparingJsxAttributes = !!(getObjectFlags(source2) & 2048 /* JsxAttributes */); - if ((relation === assignableRelation || relation === comparableRelation) && (isTypeSubsetOf(globalObjectType, target2) || !isComparingJsxAttributes && isEmptyObjectType(target2))) { - return false; - } - let reducedTarget = target2; - let checkTypes; - if (target2.flags & 1048576 /* Union */) { - reducedTarget = findMatchingDiscriminantType(source2, target2, isRelatedTo) || filterPrimitivesIfContainsNonPrimitive(target2); - checkTypes = reducedTarget.flags & 1048576 /* Union */ ? reducedTarget.types : [reducedTarget]; - } - for (const prop of getPropertiesOfType(source2)) { - if (shouldCheckAsExcessProperty(prop, source2.symbol) && !isIgnoredJsxProperty(source2, prop)) { - if (!isKnownProperty(reducedTarget, prop.escapedName, isComparingJsxAttributes)) { - if (reportErrors2) { - const errorTarget = filterType(reducedTarget, isExcessPropertyCheckTarget); - if (!errorNode) return Debug.fail(); - if (isJsxAttributes(errorNode) || isJsxOpeningLikeElement(errorNode) || isJsxOpeningLikeElement(errorNode.parent)) { - if (prop.valueDeclaration && isJsxAttribute(prop.valueDeclaration) && getSourceFileOfNode(errorNode) === getSourceFileOfNode(prop.valueDeclaration.name)) { - errorNode = prop.valueDeclaration.name; - } - const propName = symbolToString(prop); - const suggestionSymbol = getSuggestedSymbolForNonexistentJSXAttribute(propName, errorTarget); - const suggestion = suggestionSymbol ? symbolToString(suggestionSymbol) : void 0; - if (suggestion) { - reportError(Diagnostics.Property_0_does_not_exist_on_type_1_Did_you_mean_2, propName, typeToString(errorTarget), suggestion); - } else { - reportError(Diagnostics.Property_0_does_not_exist_on_type_1, propName, typeToString(errorTarget)); - } - } else { - const objectLiteralDeclaration = ((_a2 = source2.symbol) == null ? void 0 : _a2.declarations) && firstOrUndefined(source2.symbol.declarations); - let suggestion; - if (prop.valueDeclaration && findAncestor(prop.valueDeclaration, (d) => d === objectLiteralDeclaration) && getSourceFileOfNode(objectLiteralDeclaration) === getSourceFileOfNode(errorNode)) { - const propDeclaration = prop.valueDeclaration; - Debug.assertNode(propDeclaration, isObjectLiteralElementLike); - const name = propDeclaration.name; - errorNode = name; - if (isIdentifier(name)) { - suggestion = getSuggestionForNonexistentProperty(name, errorTarget); - } - } - if (suggestion !== void 0) { - reportParentSkippedError(Diagnostics.Object_literal_may_only_specify_known_properties_but_0_does_not_exist_in_type_1_Did_you_mean_to_write_2, symbolToString(prop), typeToString(errorTarget), suggestion); - } else { - reportParentSkippedError(Diagnostics.Object_literal_may_only_specify_known_properties_and_0_does_not_exist_in_type_1, symbolToString(prop), typeToString(errorTarget)); - } - } - } - return true; - } - if (checkTypes && !isRelatedTo(getTypeOfSymbol(prop), getTypeOfPropertyInTypes(checkTypes, prop.escapedName), 3 /* Both */, reportErrors2)) { - if (reportErrors2) { - reportIncompatibleError(Diagnostics.Types_of_property_0_are_incompatible, symbolToString(prop)); - } - return true; - } - } - } - return false; - } - function shouldCheckAsExcessProperty(prop, container) { - return prop.valueDeclaration && container.valueDeclaration && prop.valueDeclaration.parent === container.valueDeclaration; - } - function unionOrIntersectionRelatedTo(source2, target2, reportErrors2, intersectionState) { - if (source2.flags & 1048576 /* Union */) { - if (target2.flags & 1048576 /* Union */) { - const sourceOrigin = source2.origin; - if (sourceOrigin && sourceOrigin.flags & 2097152 /* Intersection */ && target2.aliasSymbol && contains(sourceOrigin.types, target2)) { - return -1 /* True */; - } - const targetOrigin = target2.origin; - if (targetOrigin && targetOrigin.flags & 1048576 /* Union */ && source2.aliasSymbol && contains(targetOrigin.types, source2)) { - return -1 /* True */; - } - } - return relation === comparableRelation ? someTypeRelatedToType(source2, target2, reportErrors2 && !(source2.flags & 402784252 /* Primitive */), intersectionState) : eachTypeRelatedToType(source2, target2, reportErrors2 && !(source2.flags & 402784252 /* Primitive */), intersectionState); - } - if (target2.flags & 1048576 /* Union */) { - return typeRelatedToSomeType(getRegularTypeOfObjectLiteral(source2), target2, reportErrors2 && !(source2.flags & 402784252 /* Primitive */) && !(target2.flags & 402784252 /* Primitive */), intersectionState); - } - if (target2.flags & 2097152 /* Intersection */) { - return typeRelatedToEachType(source2, target2, reportErrors2, 2 /* Target */); - } - if (relation === comparableRelation && target2.flags & 402784252 /* Primitive */) { - const constraints = sameMap(source2.types, (t) => t.flags & 465829888 /* Instantiable */ ? getBaseConstraintOfType(t) || unknownType : t); - if (constraints !== source2.types) { - source2 = getIntersectionType(constraints); - if (source2.flags & 131072 /* Never */) { - return 0 /* False */; - } - if (!(source2.flags & 2097152 /* Intersection */)) { - return isRelatedTo( - source2, - target2, - 1 /* Source */, - /*reportErrors*/ - false - ) || isRelatedTo( - target2, - source2, - 1 /* Source */, - /*reportErrors*/ - false - ); - } - } - } - return someTypeRelatedToType( - source2, - target2, - /*reportErrors*/ - false, - 1 /* Source */ - ); - } - function eachTypeRelatedToSomeType(source2, target2) { - let result2 = -1 /* True */; - const sourceTypes = source2.types; - for (const sourceType of sourceTypes) { - const related = typeRelatedToSomeType( - sourceType, - target2, - /*reportErrors*/ - false, - 0 /* None */ - ); - if (!related) { - return 0 /* False */; - } - result2 &= related; - } - return result2; - } - function typeRelatedToSomeType(source2, target2, reportErrors2, intersectionState) { - const targetTypes = target2.types; - if (target2.flags & 1048576 /* Union */) { - if (containsType(targetTypes, source2)) { - return -1 /* True */; - } - if (relation !== comparableRelation && getObjectFlags(target2) & 32768 /* PrimitiveUnion */ && !(source2.flags & 1024 /* EnumLiteral */) && (source2.flags & (128 /* StringLiteral */ | 512 /* BooleanLiteral */ | 2048 /* BigIntLiteral */) || (relation === subtypeRelation || relation === strictSubtypeRelation) && source2.flags & 256 /* NumberLiteral */)) { - const alternateForm = source2 === source2.regularType ? source2.freshType : source2.regularType; - const primitive = source2.flags & 128 /* StringLiteral */ ? stringType : source2.flags & 256 /* NumberLiteral */ ? numberType : source2.flags & 2048 /* BigIntLiteral */ ? bigintType : void 0; - return primitive && containsType(targetTypes, primitive) || alternateForm && containsType(targetTypes, alternateForm) ? -1 /* True */ : 0 /* False */; - } - const match = getMatchingUnionConstituentForType(target2, source2); - if (match) { - const related = isRelatedTo( - source2, - match, - 2 /* Target */, - /*reportErrors*/ - false, - /*headMessage*/ - void 0, - intersectionState - ); - if (related) { - return related; - } - } - } - for (const type of targetTypes) { - const related = isRelatedTo( - source2, - type, - 2 /* Target */, - /*reportErrors*/ - false, - /*headMessage*/ - void 0, - intersectionState - ); - if (related) { - return related; - } - } - if (reportErrors2) { - const bestMatchingType = getBestMatchingType(source2, target2, isRelatedTo); - if (bestMatchingType) { - isRelatedTo( - source2, - bestMatchingType, - 2 /* Target */, - /*reportErrors*/ - true, - /*headMessage*/ - void 0, - intersectionState - ); - } - } - return 0 /* False */; - } - function typeRelatedToEachType(source2, target2, reportErrors2, intersectionState) { - let result2 = -1 /* True */; - const targetTypes = target2.types; - for (const targetType of targetTypes) { - const related = isRelatedTo( - source2, - targetType, - 2 /* Target */, - reportErrors2, - /*headMessage*/ - void 0, - intersectionState - ); - if (!related) { - return 0 /* False */; - } - result2 &= related; - } - return result2; - } - function someTypeRelatedToType(source2, target2, reportErrors2, intersectionState) { - const sourceTypes = source2.types; - if (source2.flags & 1048576 /* Union */ && containsType(sourceTypes, target2)) { - return -1 /* True */; - } - const len = sourceTypes.length; - for (let i = 0; i < len; i++) { - const related = isRelatedTo( - sourceTypes[i], - target2, - 1 /* Source */, - reportErrors2 && i === len - 1, - /*headMessage*/ - void 0, - intersectionState - ); - if (related) { - return related; - } - } - return 0 /* False */; - } - function getUndefinedStrippedTargetIfNeeded(source2, target2) { - if (source2.flags & 1048576 /* Union */ && target2.flags & 1048576 /* Union */ && !(source2.types[0].flags & 32768 /* Undefined */) && target2.types[0].flags & 32768 /* Undefined */) { - return extractTypesOfKind(target2, ~32768 /* Undefined */); - } - return target2; - } - function eachTypeRelatedToType(source2, target2, reportErrors2, intersectionState) { - let result2 = -1 /* True */; - const sourceTypes = source2.types; - const undefinedStrippedTarget = getUndefinedStrippedTargetIfNeeded(source2, target2); - for (let i = 0; i < sourceTypes.length; i++) { - const sourceType = sourceTypes[i]; - if (undefinedStrippedTarget.flags & 1048576 /* Union */ && sourceTypes.length >= undefinedStrippedTarget.types.length && sourceTypes.length % undefinedStrippedTarget.types.length === 0) { - const related2 = isRelatedTo( - sourceType, - undefinedStrippedTarget.types[i % undefinedStrippedTarget.types.length], - 3 /* Both */, - /*reportErrors*/ - false, - /*headMessage*/ - void 0, - intersectionState - ); - if (related2) { - result2 &= related2; - continue; - } - } - const related = isRelatedTo( - sourceType, - target2, - 1 /* Source */, - reportErrors2, - /*headMessage*/ - void 0, - intersectionState - ); - if (!related) { - return 0 /* False */; - } - result2 &= related; - } - return result2; - } - function typeArgumentsRelatedTo(sources = emptyArray, targets = emptyArray, variances = emptyArray, reportErrors2, intersectionState) { - if (sources.length !== targets.length && relation === identityRelation) { - return 0 /* False */; - } - const length2 = sources.length <= targets.length ? sources.length : targets.length; - let result2 = -1 /* True */; - for (let i = 0; i < length2; i++) { - const varianceFlags = i < variances.length ? variances[i] : 1 /* Covariant */; - const variance = varianceFlags & 7 /* VarianceMask */; - if (variance !== 4 /* Independent */) { - const s = sources[i]; - const t = targets[i]; - let related = -1 /* True */; - if (varianceFlags & 8 /* Unmeasurable */) { - related = relation === identityRelation ? isRelatedTo( - s, - t, - 3 /* Both */, - /*reportErrors*/ - false - ) : compareTypesIdentical(s, t); - } else if (variance === 1 /* Covariant */) { - related = isRelatedTo( - s, - t, - 3 /* Both */, - reportErrors2, - /*headMessage*/ - void 0, - intersectionState - ); - } else if (variance === 2 /* Contravariant */) { - related = isRelatedTo( - t, - s, - 3 /* Both */, - reportErrors2, - /*headMessage*/ - void 0, - intersectionState - ); - } else if (variance === 3 /* Bivariant */) { - related = isRelatedTo( - t, - s, - 3 /* Both */, - /*reportErrors*/ - false - ); - if (!related) { - related = isRelatedTo( - s, - t, - 3 /* Both */, - reportErrors2, - /*headMessage*/ - void 0, - intersectionState - ); - } - } else { - related = isRelatedTo( - s, - t, - 3 /* Both */, - reportErrors2, - /*headMessage*/ - void 0, - intersectionState - ); - if (related) { - related &= isRelatedTo( - t, - s, - 3 /* Both */, - reportErrors2, - /*headMessage*/ - void 0, - intersectionState - ); - } - } - if (!related) { - return 0 /* False */; - } - result2 &= related; - } - } - return result2; - } - function recursiveTypeRelatedTo(source2, target2, reportErrors2, intersectionState, recursionFlags) { - var _a2, _b, _c; - if (overflow) { - return 0 /* False */; - } - const id = getRelationKey( - source2, - target2, - intersectionState, - relation, - /*ignoreConstraints*/ - false - ); - const entry = relation.get(id); - if (entry !== void 0) { - if (reportErrors2 && entry & 2 /* Failed */ && !(entry & 96 /* Overflow */)) { - } else { - if (outofbandVarianceMarkerHandler) { - const saved = entry & 24 /* ReportsMask */; - if (saved & 8 /* ReportsUnmeasurable */) { - instantiateType(source2, reportUnmeasurableMapper); - } - if (saved & 16 /* ReportsUnreliable */) { - instantiateType(source2, reportUnreliableMapper); - } - } - if (reportErrors2 && entry & 96 /* Overflow */) { - const message = entry & 32 /* ComplexityOverflow */ ? Diagnostics.Excessive_complexity_comparing_types_0_and_1 : Diagnostics.Excessive_stack_depth_comparing_types_0_and_1; - reportError(message, typeToString(source2), typeToString(target2)); - overrideNextErrorInfo++; - } - return entry & 1 /* Succeeded */ ? -1 /* True */ : 0 /* False */; - } - } - if (relationCount <= 0) { - overflow = true; - return 0 /* False */; - } - if (!maybeKeys) { - maybeKeys = []; - maybeKeysSet = /* @__PURE__ */ new Set(); - sourceStack = []; - targetStack = []; - } else { - if (maybeKeysSet.has(id)) { - return 3 /* Maybe */; - } - const broadestEquivalentId = id.startsWith("*") ? getRelationKey( - source2, - target2, - intersectionState, - relation, - /*ignoreConstraints*/ - true - ) : void 0; - if (broadestEquivalentId && maybeKeysSet.has(broadestEquivalentId)) { - return 3 /* Maybe */; - } - if (sourceDepth === 100 || targetDepth === 100) { - overflow = true; - return 0 /* False */; - } - } - const maybeStart = maybeCount; - maybeKeys[maybeCount] = id; - maybeKeysSet.add(id); - maybeCount++; - const saveExpandingFlags = expandingFlags; - if (recursionFlags & 1 /* Source */) { - sourceStack[sourceDepth] = source2; - sourceDepth++; - if (!(expandingFlags & 1 /* Source */) && isDeeplyNestedType(source2, sourceStack, sourceDepth)) expandingFlags |= 1 /* Source */; - } - if (recursionFlags & 2 /* Target */) { - targetStack[targetDepth] = target2; - targetDepth++; - if (!(expandingFlags & 2 /* Target */) && isDeeplyNestedType(target2, targetStack, targetDepth)) expandingFlags |= 2 /* Target */; - } - let originalHandler; - let propagatingVarianceFlags = 0; - if (outofbandVarianceMarkerHandler) { - originalHandler = outofbandVarianceMarkerHandler; - outofbandVarianceMarkerHandler = (onlyUnreliable) => { - propagatingVarianceFlags |= onlyUnreliable ? 16 /* ReportsUnreliable */ : 8 /* ReportsUnmeasurable */; - return originalHandler(onlyUnreliable); - }; - } - let result2; - if (expandingFlags === 3 /* Both */) { - (_a2 = tracing) == null ? void 0 : _a2.instant(tracing.Phase.CheckTypes, "recursiveTypeRelatedTo_DepthLimit", { - sourceId: source2.id, - sourceIdStack: sourceStack.map((t) => t.id), - targetId: target2.id, - targetIdStack: targetStack.map((t) => t.id), - depth: sourceDepth, - targetDepth - }); - result2 = 3 /* Maybe */; - } else { - (_b = tracing) == null ? void 0 : _b.push(tracing.Phase.CheckTypes, "structuredTypeRelatedTo", { sourceId: source2.id, targetId: target2.id }); - result2 = structuredTypeRelatedTo(source2, target2, reportErrors2, intersectionState); - (_c = tracing) == null ? void 0 : _c.pop(); - } - if (outofbandVarianceMarkerHandler) { - outofbandVarianceMarkerHandler = originalHandler; - } - if (recursionFlags & 1 /* Source */) { - sourceDepth--; - } - if (recursionFlags & 2 /* Target */) { - targetDepth--; - } - expandingFlags = saveExpandingFlags; - if (result2) { - if (result2 === -1 /* True */ || sourceDepth === 0 && targetDepth === 0) { - if (result2 === -1 /* True */ || result2 === 3 /* Maybe */) { - resetMaybeStack( - /*markAllAsSucceeded*/ - true - ); - } else { - resetMaybeStack( - /*markAllAsSucceeded*/ - false - ); - } - } - } else { - relation.set(id, 2 /* Failed */ | propagatingVarianceFlags); - relationCount--; - resetMaybeStack( - /*markAllAsSucceeded*/ - false - ); - } - return result2; - function resetMaybeStack(markAllAsSucceeded) { - for (let i = maybeStart; i < maybeCount; i++) { - maybeKeysSet.delete(maybeKeys[i]); - if (markAllAsSucceeded) { - relation.set(maybeKeys[i], 1 /* Succeeded */ | propagatingVarianceFlags); - relationCount--; - } - } - maybeCount = maybeStart; - } - } - function structuredTypeRelatedTo(source2, target2, reportErrors2, intersectionState) { - const saveErrorInfo = captureErrorCalculationState(); - let result2 = structuredTypeRelatedToWorker(source2, target2, reportErrors2, intersectionState, saveErrorInfo); - if (relation !== identityRelation) { - if (!result2 && (source2.flags & 2097152 /* Intersection */ || source2.flags & 262144 /* TypeParameter */ && target2.flags & 1048576 /* Union */)) { - const constraint = getEffectiveConstraintOfIntersection(source2.flags & 2097152 /* Intersection */ ? source2.types : [source2], !!(target2.flags & 1048576 /* Union */)); - if (constraint && everyType(constraint, (c) => c !== source2)) { - result2 = isRelatedTo( - constraint, - target2, - 1 /* Source */, - /*reportErrors*/ - false, - /*headMessage*/ - void 0, - intersectionState - ); - } - } - if (result2 && !(intersectionState & 2 /* Target */) && target2.flags & 2097152 /* Intersection */ && !isGenericObjectType(target2) && source2.flags & (524288 /* Object */ | 2097152 /* Intersection */)) { - result2 &= propertiesRelatedTo( - source2, - target2, - reportErrors2, - /*excludedProperties*/ - void 0, - /*optionalsOnly*/ - false, - 0 /* None */ - ); - if (result2 && isObjectLiteralType(source2) && getObjectFlags(source2) & 8192 /* FreshLiteral */) { - result2 &= indexSignaturesRelatedTo( - source2, - target2, - /*sourceIsPrimitive*/ - false, - reportErrors2, - 0 /* None */ - ); - } - } else if (result2 && isNonGenericObjectType(target2) && !isArrayOrTupleType(target2) && source2.flags & 2097152 /* Intersection */ && getApparentType(source2).flags & 3670016 /* StructuredType */ && !some(source2.types, (t) => t === target2 || !!(getObjectFlags(t) & 262144 /* NonInferrableType */))) { - result2 &= propertiesRelatedTo( - source2, - target2, - reportErrors2, - /*excludedProperties*/ - void 0, - /*optionalsOnly*/ - true, - intersectionState - ); - } - } - if (result2) { - resetErrorInfo(saveErrorInfo); - } - return result2; - } - function getApparentMappedTypeKeys(nameType, targetType) { - const modifiersType = getApparentType(getModifiersTypeFromMappedType(targetType)); - const mappedKeys = []; - forEachMappedTypePropertyKeyTypeAndIndexSignatureKeyType( - modifiersType, - 8576 /* StringOrNumberLiteralOrUnique */, - /*stringsOnly*/ - false, - (t) => void mappedKeys.push(instantiateType(nameType, appendTypeMapping(targetType.mapper, getTypeParameterFromMappedType(targetType), t))) - ); - return getUnionType(mappedKeys); - } - function structuredTypeRelatedToWorker(source2, target2, reportErrors2, intersectionState, saveErrorInfo) { - let result2; - let originalErrorInfo; - let varianceCheckFailed = false; - let sourceFlags = source2.flags; - const targetFlags = target2.flags; - if (relation === identityRelation) { - if (sourceFlags & 3145728 /* UnionOrIntersection */) { - let result3 = eachTypeRelatedToSomeType(source2, target2); - if (result3) { - result3 &= eachTypeRelatedToSomeType(target2, source2); - } - return result3; - } - if (sourceFlags & 4194304 /* Index */) { - return isRelatedTo( - source2.type, - target2.type, - 3 /* Both */, - /*reportErrors*/ - false - ); - } - if (sourceFlags & 8388608 /* IndexedAccess */) { - if (result2 = isRelatedTo( - source2.objectType, - target2.objectType, - 3 /* Both */, - /*reportErrors*/ - false - )) { - if (result2 &= isRelatedTo( - source2.indexType, - target2.indexType, - 3 /* Both */, - /*reportErrors*/ - false - )) { - return result2; - } - } - } - if (sourceFlags & 16777216 /* Conditional */) { - if (source2.root.isDistributive === target2.root.isDistributive) { - if (result2 = isRelatedTo( - source2.checkType, - target2.checkType, - 3 /* Both */, - /*reportErrors*/ - false - )) { - if (result2 &= isRelatedTo( - source2.extendsType, - target2.extendsType, - 3 /* Both */, - /*reportErrors*/ - false - )) { - if (result2 &= isRelatedTo( - getTrueTypeFromConditionalType(source2), - getTrueTypeFromConditionalType(target2), - 3 /* Both */, - /*reportErrors*/ - false - )) { - if (result2 &= isRelatedTo( - getFalseTypeFromConditionalType(source2), - getFalseTypeFromConditionalType(target2), - 3 /* Both */, - /*reportErrors*/ - false - )) { - return result2; - } - } - } - } - } - } - if (sourceFlags & 33554432 /* Substitution */) { - if (result2 = isRelatedTo( - source2.baseType, - target2.baseType, - 3 /* Both */, - /*reportErrors*/ - false - )) { - if (result2 &= isRelatedTo( - source2.constraint, - target2.constraint, - 3 /* Both */, - /*reportErrors*/ - false - )) { - return result2; - } - } - } - if (!(sourceFlags & 524288 /* Object */)) { - return 0 /* False */; - } - } else if (sourceFlags & 3145728 /* UnionOrIntersection */ || targetFlags & 3145728 /* UnionOrIntersection */) { - if (result2 = unionOrIntersectionRelatedTo(source2, target2, reportErrors2, intersectionState)) { - return result2; - } - if (!(sourceFlags & 465829888 /* Instantiable */ || sourceFlags & 524288 /* Object */ && targetFlags & 1048576 /* Union */ || sourceFlags & 2097152 /* Intersection */ && targetFlags & (524288 /* Object */ | 1048576 /* Union */ | 465829888 /* Instantiable */))) { - return 0 /* False */; - } - } - if (sourceFlags & (524288 /* Object */ | 16777216 /* Conditional */) && source2.aliasSymbol && source2.aliasTypeArguments && source2.aliasSymbol === target2.aliasSymbol && !(isMarkerType(source2) || isMarkerType(target2))) { - const variances = getAliasVariances(source2.aliasSymbol); - if (variances === emptyArray) { - return 1 /* Unknown */; - } - const params = getSymbolLinks(source2.aliasSymbol).typeParameters; - const minParams = getMinTypeArgumentCount(params); - const sourceTypes = fillMissingTypeArguments(source2.aliasTypeArguments, params, minParams, isInJSFile(source2.aliasSymbol.valueDeclaration)); - const targetTypes = fillMissingTypeArguments(target2.aliasTypeArguments, params, minParams, isInJSFile(source2.aliasSymbol.valueDeclaration)); - const varianceResult = relateVariances(sourceTypes, targetTypes, variances, intersectionState); - if (varianceResult !== void 0) { - return varianceResult; - } - } - if (isSingleElementGenericTupleType(source2) && !source2.target.readonly && (result2 = isRelatedTo(getTypeArguments(source2)[0], target2, 1 /* Source */)) || isSingleElementGenericTupleType(target2) && (target2.target.readonly || isMutableArrayOrTuple(getBaseConstraintOfType(source2) || source2)) && (result2 = isRelatedTo(source2, getTypeArguments(target2)[0], 2 /* Target */))) { - return result2; - } - if (targetFlags & 262144 /* TypeParameter */) { - if (getObjectFlags(source2) & 32 /* Mapped */ && !source2.declaration.nameType && isRelatedTo(getIndexType(target2), getConstraintTypeFromMappedType(source2), 3 /* Both */)) { - if (!(getMappedTypeModifiers(source2) & 4 /* IncludeOptional */)) { - const templateType = getTemplateTypeFromMappedType(source2); - const indexedAccessType = getIndexedAccessType(target2, getTypeParameterFromMappedType(source2)); - if (result2 = isRelatedTo(templateType, indexedAccessType, 3 /* Both */, reportErrors2)) { - return result2; - } - } - } - if (relation === comparableRelation && sourceFlags & 262144 /* TypeParameter */) { - let constraint = getConstraintOfTypeParameter(source2); - if (constraint) { - while (constraint && someType(constraint, (c) => !!(c.flags & 262144 /* TypeParameter */))) { - if (result2 = isRelatedTo( - constraint, - target2, - 1 /* Source */, - /*reportErrors*/ - false - )) { - return result2; - } - constraint = getConstraintOfTypeParameter(constraint); - } - } - return 0 /* False */; - } - } else if (targetFlags & 4194304 /* Index */) { - const targetType = target2.type; - if (sourceFlags & 4194304 /* Index */) { - if (result2 = isRelatedTo( - targetType, - source2.type, - 3 /* Both */, - /*reportErrors*/ - false - )) { - return result2; - } - } - if (isTupleType(targetType)) { - if (result2 = isRelatedTo(source2, getKnownKeysOfTupleType(targetType), 2 /* Target */, reportErrors2)) { - return result2; - } - } else { - const constraint = getSimplifiedTypeOrConstraint(targetType); - if (constraint) { - if (isRelatedTo(source2, getIndexType(constraint, target2.indexFlags | 4 /* NoReducibleCheck */), 2 /* Target */, reportErrors2) === -1 /* True */) { - return -1 /* True */; - } - } else if (isGenericMappedType(targetType)) { - const nameType = getNameTypeFromMappedType(targetType); - const constraintType = getConstraintTypeFromMappedType(targetType); - let targetKeys; - if (nameType && isMappedTypeWithKeyofConstraintDeclaration(targetType)) { - const mappedKeys = getApparentMappedTypeKeys(nameType, targetType); - targetKeys = getUnionType([mappedKeys, nameType]); - } else { - targetKeys = nameType || constraintType; - } - if (isRelatedTo(source2, targetKeys, 2 /* Target */, reportErrors2) === -1 /* True */) { - return -1 /* True */; - } - } - } - } else if (targetFlags & 8388608 /* IndexedAccess */) { - if (sourceFlags & 8388608 /* IndexedAccess */) { - if (result2 = isRelatedTo(source2.objectType, target2.objectType, 3 /* Both */, reportErrors2)) { - result2 &= isRelatedTo(source2.indexType, target2.indexType, 3 /* Both */, reportErrors2); - } - if (result2) { - return result2; - } - if (reportErrors2) { - originalErrorInfo = errorInfo; - } - } - if (relation === assignableRelation || relation === comparableRelation) { - const objectType = target2.objectType; - const indexType = target2.indexType; - const baseObjectType = getBaseConstraintOfType(objectType) || objectType; - const baseIndexType = getBaseConstraintOfType(indexType) || indexType; - if (!isGenericObjectType(baseObjectType) && !isGenericIndexType(baseIndexType)) { - const accessFlags = 4 /* Writing */ | (baseObjectType !== objectType ? 2 /* NoIndexSignatures */ : 0); - const constraint = getIndexedAccessTypeOrUndefined(baseObjectType, baseIndexType, accessFlags); - if (constraint) { - if (reportErrors2 && originalErrorInfo) { - resetErrorInfo(saveErrorInfo); - } - if (result2 = isRelatedTo( - source2, - constraint, - 2 /* Target */, - reportErrors2, - /*headMessage*/ - void 0, - intersectionState - )) { - return result2; - } - if (reportErrors2 && originalErrorInfo && errorInfo) { - errorInfo = countMessageChainBreadth([originalErrorInfo]) <= countMessageChainBreadth([errorInfo]) ? originalErrorInfo : errorInfo; - } - } - } - } - if (reportErrors2) { - originalErrorInfo = void 0; - } - } else if (isGenericMappedType(target2) && relation !== identityRelation) { - const keysRemapped = !!target2.declaration.nameType; - const templateType = getTemplateTypeFromMappedType(target2); - const modifiers = getMappedTypeModifiers(target2); - if (!(modifiers & 8 /* ExcludeOptional */)) { - if (!keysRemapped && templateType.flags & 8388608 /* IndexedAccess */ && templateType.objectType === source2 && templateType.indexType === getTypeParameterFromMappedType(target2)) { - return -1 /* True */; - } - if (!isGenericMappedType(source2)) { - const targetKeys = keysRemapped ? getNameTypeFromMappedType(target2) : getConstraintTypeFromMappedType(target2); - const sourceKeys = getIndexType(source2, 2 /* NoIndexSignatures */); - const includeOptional = modifiers & 4 /* IncludeOptional */; - const filteredByApplicability = includeOptional ? intersectTypes(targetKeys, sourceKeys) : void 0; - if (includeOptional ? !(filteredByApplicability.flags & 131072 /* Never */) : isRelatedTo(targetKeys, sourceKeys, 3 /* Both */)) { - const templateType2 = getTemplateTypeFromMappedType(target2); - const typeParameter = getTypeParameterFromMappedType(target2); - const nonNullComponent = extractTypesOfKind(templateType2, ~98304 /* Nullable */); - if (!keysRemapped && nonNullComponent.flags & 8388608 /* IndexedAccess */ && nonNullComponent.indexType === typeParameter) { - if (result2 = isRelatedTo(source2, nonNullComponent.objectType, 2 /* Target */, reportErrors2)) { - return result2; - } - } else { - const indexingType = keysRemapped ? filteredByApplicability || targetKeys : filteredByApplicability ? getIntersectionType([filteredByApplicability, typeParameter]) : typeParameter; - const indexedAccessType = getIndexedAccessType(source2, indexingType); - if (result2 = isRelatedTo(indexedAccessType, templateType2, 3 /* Both */, reportErrors2)) { - return result2; - } - } - } - originalErrorInfo = errorInfo; - resetErrorInfo(saveErrorInfo); - } - } - } else if (targetFlags & 16777216 /* Conditional */) { - if (isDeeplyNestedType(target2, targetStack, targetDepth, 10)) { - return 3 /* Maybe */; - } - const c = target2; - if (!c.root.inferTypeParameters && !isDistributionDependent(c.root) && !(source2.flags & 16777216 /* Conditional */ && source2.root === c.root)) { - const skipTrue = !isTypeAssignableTo(getPermissiveInstantiation(c.checkType), getPermissiveInstantiation(c.extendsType)); - const skipFalse = !skipTrue && isTypeAssignableTo(getRestrictiveInstantiation(c.checkType), getRestrictiveInstantiation(c.extendsType)); - if (result2 = skipTrue ? -1 /* True */ : isRelatedTo( - source2, - getTrueTypeFromConditionalType(c), - 2 /* Target */, - /*reportErrors*/ - false, - /*headMessage*/ - void 0, - intersectionState - )) { - result2 &= skipFalse ? -1 /* True */ : isRelatedTo( - source2, - getFalseTypeFromConditionalType(c), - 2 /* Target */, - /*reportErrors*/ - false, - /*headMessage*/ - void 0, - intersectionState - ); - if (result2) { - return result2; - } - } - } - } else if (targetFlags & 134217728 /* TemplateLiteral */) { - if (sourceFlags & 134217728 /* TemplateLiteral */) { - if (relation === comparableRelation) { - return templateLiteralTypesDefinitelyUnrelated(source2, target2) ? 0 /* False */ : -1 /* True */; - } - instantiateType(source2, reportUnreliableMapper); - } - if (isTypeMatchedByTemplateLiteralType(source2, target2)) { - return -1 /* True */; - } - } else if (target2.flags & 268435456 /* StringMapping */) { - if (!(source2.flags & 268435456 /* StringMapping */)) { - if (isMemberOfStringMapping(source2, target2)) { - return -1 /* True */; - } - } - } - if (sourceFlags & 8650752 /* TypeVariable */) { - if (!(sourceFlags & 8388608 /* IndexedAccess */ && targetFlags & 8388608 /* IndexedAccess */)) { - const constraint = getConstraintOfType(source2) || unknownType; - if (result2 = isRelatedTo( - constraint, - target2, - 1 /* Source */, - /*reportErrors*/ - false, - /*headMessage*/ - void 0, - intersectionState - )) { - return result2; - } else if (result2 = isRelatedTo( - getTypeWithThisArgument(constraint, source2), - target2, - 1 /* Source */, - reportErrors2 && constraint !== unknownType && !(targetFlags & sourceFlags & 262144 /* TypeParameter */), - /*headMessage*/ - void 0, - intersectionState - )) { - return result2; - } - if (isMappedTypeGenericIndexedAccess(source2)) { - const indexConstraint = getConstraintOfType(source2.indexType); - if (indexConstraint) { - if (result2 = isRelatedTo(getIndexedAccessType(source2.objectType, indexConstraint), target2, 1 /* Source */, reportErrors2)) { - return result2; - } - } - } - } - } else if (sourceFlags & 4194304 /* Index */) { - const isDeferredMappedIndex = shouldDeferIndexType(source2.type, source2.indexFlags) && getObjectFlags(source2.type) & 32 /* Mapped */; - if (result2 = isRelatedTo(stringNumberSymbolType, target2, 1 /* Source */, reportErrors2 && !isDeferredMappedIndex)) { - return result2; - } - if (isDeferredMappedIndex) { - const mappedType = source2.type; - const nameType = getNameTypeFromMappedType(mappedType); - const sourceMappedKeys = nameType && isMappedTypeWithKeyofConstraintDeclaration(mappedType) ? getApparentMappedTypeKeys(nameType, mappedType) : nameType || getConstraintTypeFromMappedType(mappedType); - if (result2 = isRelatedTo(sourceMappedKeys, target2, 1 /* Source */, reportErrors2)) { - return result2; - } - } - } else if (sourceFlags & 134217728 /* TemplateLiteral */ && !(targetFlags & 524288 /* Object */)) { - if (!(targetFlags & 134217728 /* TemplateLiteral */)) { - const constraint = getBaseConstraintOfType(source2); - if (constraint && constraint !== source2 && (result2 = isRelatedTo(constraint, target2, 1 /* Source */, reportErrors2))) { - return result2; - } - } - } else if (sourceFlags & 268435456 /* StringMapping */) { - if (targetFlags & 268435456 /* StringMapping */) { - if (source2.symbol !== target2.symbol) { - return 0 /* False */; - } - if (result2 = isRelatedTo(source2.type, target2.type, 3 /* Both */, reportErrors2)) { - return result2; - } - } else { - const constraint = getBaseConstraintOfType(source2); - if (constraint && (result2 = isRelatedTo(constraint, target2, 1 /* Source */, reportErrors2))) { - return result2; - } - } - } else if (sourceFlags & 16777216 /* Conditional */) { - if (isDeeplyNestedType(source2, sourceStack, sourceDepth, 10)) { - return 3 /* Maybe */; - } - if (targetFlags & 16777216 /* Conditional */) { - const sourceParams = source2.root.inferTypeParameters; - let sourceExtends = source2.extendsType; - let mapper; - if (sourceParams) { - const ctx = createInferenceContext( - sourceParams, - /*signature*/ - void 0, - 0 /* None */, - isRelatedToWorker - ); - inferTypes(ctx.inferences, target2.extendsType, sourceExtends, 512 /* NoConstraints */ | 1024 /* AlwaysStrict */); - sourceExtends = instantiateType(sourceExtends, ctx.mapper); - mapper = ctx.mapper; - } - if (isTypeIdenticalTo(sourceExtends, target2.extendsType) && (isRelatedTo(source2.checkType, target2.checkType, 3 /* Both */) || isRelatedTo(target2.checkType, source2.checkType, 3 /* Both */))) { - if (result2 = isRelatedTo(instantiateType(getTrueTypeFromConditionalType(source2), mapper), getTrueTypeFromConditionalType(target2), 3 /* Both */, reportErrors2)) { - result2 &= isRelatedTo(getFalseTypeFromConditionalType(source2), getFalseTypeFromConditionalType(target2), 3 /* Both */, reportErrors2); - } - if (result2) { - return result2; - } - } - } - const defaultConstraint = getDefaultConstraintOfConditionalType(source2); - if (defaultConstraint) { - if (result2 = isRelatedTo(defaultConstraint, target2, 1 /* Source */, reportErrors2)) { - return result2; - } - } - const distributiveConstraint = !(targetFlags & 16777216 /* Conditional */) && hasNonCircularBaseConstraint(source2) ? getConstraintOfDistributiveConditionalType(source2) : void 0; - if (distributiveConstraint) { - resetErrorInfo(saveErrorInfo); - if (result2 = isRelatedTo(distributiveConstraint, target2, 1 /* Source */, reportErrors2)) { - return result2; - } - } - } else { - if (relation !== subtypeRelation && relation !== strictSubtypeRelation && isPartialMappedType(target2) && isEmptyObjectType(source2)) { - return -1 /* True */; - } - if (isGenericMappedType(target2)) { - if (isGenericMappedType(source2)) { - if (result2 = mappedTypeRelatedTo(source2, target2, reportErrors2)) { - return result2; - } - } - return 0 /* False */; - } - const sourceIsPrimitive = !!(sourceFlags & 402784252 /* Primitive */); - if (relation !== identityRelation) { - source2 = getApparentType(source2); - sourceFlags = source2.flags; - } else if (isGenericMappedType(source2)) { - return 0 /* False */; - } - if (getObjectFlags(source2) & 4 /* Reference */ && getObjectFlags(target2) & 4 /* Reference */ && source2.target === target2.target && !isTupleType(source2) && !(isMarkerType(source2) || isMarkerType(target2))) { - if (isEmptyArrayLiteralType(source2)) { - return -1 /* True */; - } - const variances = getVariances(source2.target); - if (variances === emptyArray) { - return 1 /* Unknown */; - } - const varianceResult = relateVariances(getTypeArguments(source2), getTypeArguments(target2), variances, intersectionState); - if (varianceResult !== void 0) { - return varianceResult; - } - } else if (isReadonlyArrayType(target2) ? everyType(source2, isArrayOrTupleType) : isArrayType(target2) && everyType(source2, (t) => isTupleType(t) && !t.target.readonly)) { - if (relation !== identityRelation) { - return isRelatedTo(getIndexTypeOfType(source2, numberType) || anyType, getIndexTypeOfType(target2, numberType) || anyType, 3 /* Both */, reportErrors2); - } else { - return 0 /* False */; - } - } else if (isGenericTupleType(source2) && isTupleType(target2) && !isGenericTupleType(target2)) { - const constraint = getBaseConstraintOrType(source2); - if (constraint !== source2) { - return isRelatedTo(constraint, target2, 1 /* Source */, reportErrors2); - } - } else if ((relation === subtypeRelation || relation === strictSubtypeRelation) && isEmptyObjectType(target2) && getObjectFlags(target2) & 8192 /* FreshLiteral */ && !isEmptyObjectType(source2)) { - return 0 /* False */; - } - if (sourceFlags & (524288 /* Object */ | 2097152 /* Intersection */) && targetFlags & 524288 /* Object */) { - const reportStructuralErrors = reportErrors2 && errorInfo === saveErrorInfo.errorInfo && !sourceIsPrimitive; - result2 = propertiesRelatedTo( - source2, - target2, - reportStructuralErrors, - /*excludedProperties*/ - void 0, - /*optionalsOnly*/ - false, - intersectionState - ); - if (result2) { - result2 &= signaturesRelatedTo(source2, target2, 0 /* Call */, reportStructuralErrors, intersectionState); - if (result2) { - result2 &= signaturesRelatedTo(source2, target2, 1 /* Construct */, reportStructuralErrors, intersectionState); - if (result2) { - result2 &= indexSignaturesRelatedTo(source2, target2, sourceIsPrimitive, reportStructuralErrors, intersectionState); - } - } - } - if (varianceCheckFailed && result2) { - errorInfo = originalErrorInfo || errorInfo || saveErrorInfo.errorInfo; - } else if (result2) { - return result2; - } - } - if (sourceFlags & (524288 /* Object */ | 2097152 /* Intersection */) && targetFlags & 1048576 /* Union */) { - const objectOnlyTarget = extractTypesOfKind(target2, 524288 /* Object */ | 2097152 /* Intersection */ | 33554432 /* Substitution */); - if (objectOnlyTarget.flags & 1048576 /* Union */) { - const result3 = typeRelatedToDiscriminatedType(source2, objectOnlyTarget); - if (result3) { - return result3; - } - } - } - } - return 0 /* False */; - function countMessageChainBreadth(info) { - if (!info) return 0; - return reduceLeft(info, (value, chain) => value + 1 + countMessageChainBreadth(chain.next), 0); - } - function relateVariances(sourceTypeArguments, targetTypeArguments, variances, intersectionState2) { - if (result2 = typeArgumentsRelatedTo(sourceTypeArguments, targetTypeArguments, variances, reportErrors2, intersectionState2)) { - return result2; - } - if (some(variances, (v) => !!(v & 24 /* AllowsStructuralFallback */))) { - originalErrorInfo = void 0; - resetErrorInfo(saveErrorInfo); - return void 0; - } - const allowStructuralFallback = targetTypeArguments && hasCovariantVoidArgument(targetTypeArguments, variances); - varianceCheckFailed = !allowStructuralFallback; - if (variances !== emptyArray && !allowStructuralFallback) { - if (varianceCheckFailed && !(reportErrors2 && some(variances, (v) => (v & 7 /* VarianceMask */) === 0 /* Invariant */))) { - return 0 /* False */; - } - originalErrorInfo = errorInfo; - resetErrorInfo(saveErrorInfo); - } - } - } - function mappedTypeRelatedTo(source2, target2, reportErrors2) { - const modifiersRelated = relation === comparableRelation || (relation === identityRelation ? getMappedTypeModifiers(source2) === getMappedTypeModifiers(target2) : getCombinedMappedTypeOptionality(source2) <= getCombinedMappedTypeOptionality(target2)); - if (modifiersRelated) { - let result2; - const targetConstraint = getConstraintTypeFromMappedType(target2); - const sourceConstraint = instantiateType(getConstraintTypeFromMappedType(source2), getCombinedMappedTypeOptionality(source2) < 0 ? reportUnmeasurableMapper : reportUnreliableMapper); - if (result2 = isRelatedTo(targetConstraint, sourceConstraint, 3 /* Both */, reportErrors2)) { - const mapper = createTypeMapper([getTypeParameterFromMappedType(source2)], [getTypeParameterFromMappedType(target2)]); - if (instantiateType(getNameTypeFromMappedType(source2), mapper) === instantiateType(getNameTypeFromMappedType(target2), mapper)) { - return result2 & isRelatedTo(instantiateType(getTemplateTypeFromMappedType(source2), mapper), getTemplateTypeFromMappedType(target2), 3 /* Both */, reportErrors2); - } - } - } - return 0 /* False */; - } - function typeRelatedToDiscriminatedType(source2, target2) { - var _a2; - const sourceProperties = getPropertiesOfType(source2); - const sourcePropertiesFiltered = findDiscriminantProperties(sourceProperties, target2); - if (!sourcePropertiesFiltered) return 0 /* False */; - let numCombinations = 1; - for (const sourceProperty of sourcePropertiesFiltered) { - numCombinations *= countTypes(getNonMissingTypeOfSymbol(sourceProperty)); - if (numCombinations > 25) { - (_a2 = tracing) == null ? void 0 : _a2.instant(tracing.Phase.CheckTypes, "typeRelatedToDiscriminatedType_DepthLimit", { sourceId: source2.id, targetId: target2.id, numCombinations }); - return 0 /* False */; - } - } - const sourceDiscriminantTypes = new Array(sourcePropertiesFiltered.length); - const excludedProperties = /* @__PURE__ */ new Set(); - for (let i = 0; i < sourcePropertiesFiltered.length; i++) { - const sourceProperty = sourcePropertiesFiltered[i]; - const sourcePropertyType = getNonMissingTypeOfSymbol(sourceProperty); - sourceDiscriminantTypes[i] = sourcePropertyType.flags & 1048576 /* Union */ ? sourcePropertyType.types : [sourcePropertyType]; - excludedProperties.add(sourceProperty.escapedName); - } - const discriminantCombinations = cartesianProduct(sourceDiscriminantTypes); - const matchingTypes = []; - for (const combination of discriminantCombinations) { - let hasMatch = false; - outer: - for (const type of target2.types) { - for (let i = 0; i < sourcePropertiesFiltered.length; i++) { - const sourceProperty = sourcePropertiesFiltered[i]; - const targetProperty = getPropertyOfType(type, sourceProperty.escapedName); - if (!targetProperty) continue outer; - if (sourceProperty === targetProperty) continue; - const related = propertyRelatedTo( - source2, - target2, - sourceProperty, - targetProperty, - (_) => combination[i], - /*reportErrors*/ - false, - 0 /* None */, - /*skipOptional*/ - strictNullChecks || relation === comparableRelation - ); - if (!related) { - continue outer; - } - } - pushIfUnique(matchingTypes, type, equateValues); - hasMatch = true; - } - if (!hasMatch) { - return 0 /* False */; - } - } - let result2 = -1 /* True */; - for (const type of matchingTypes) { - result2 &= propertiesRelatedTo( - source2, - type, - /*reportErrors*/ - false, - excludedProperties, - /*optionalsOnly*/ - false, - 0 /* None */ - ); - if (result2) { - result2 &= signaturesRelatedTo( - source2, - type, - 0 /* Call */, - /*reportErrors*/ - false, - 0 /* None */ - ); - if (result2) { - result2 &= signaturesRelatedTo( - source2, - type, - 1 /* Construct */, - /*reportErrors*/ - false, - 0 /* None */ - ); - if (result2 && !(isTupleType(source2) && isTupleType(type))) { - result2 &= indexSignaturesRelatedTo( - source2, - type, - /*sourceIsPrimitive*/ - false, - /*reportErrors*/ - false, - 0 /* None */ - ); - } - } - } - if (!result2) { - return result2; - } - } - return result2; - } - function excludeProperties(properties, excludedProperties) { - if (!excludedProperties || properties.length === 0) return properties; - let result2; - for (let i = 0; i < properties.length; i++) { - if (!excludedProperties.has(properties[i].escapedName)) { - if (result2) { - result2.push(properties[i]); - } - } else if (!result2) { - result2 = properties.slice(0, i); - } - } - return result2 || properties; - } - function isPropertySymbolTypeRelated(sourceProp, targetProp, getTypeOfSourceProperty, reportErrors2, intersectionState) { - const targetIsOptional = strictNullChecks && !!(getCheckFlags(targetProp) & 48 /* Partial */); - const effectiveTarget = addOptionality( - getNonMissingTypeOfSymbol(targetProp), - /*isProperty*/ - false, - targetIsOptional - ); - const effectiveSource = getTypeOfSourceProperty(sourceProp); - return isRelatedTo( - effectiveSource, - effectiveTarget, - 3 /* Both */, - reportErrors2, - /*headMessage*/ - void 0, - intersectionState - ); - } - function propertyRelatedTo(source2, target2, sourceProp, targetProp, getTypeOfSourceProperty, reportErrors2, intersectionState, skipOptional) { - const sourcePropFlags = getDeclarationModifierFlagsFromSymbol(sourceProp); - const targetPropFlags = getDeclarationModifierFlagsFromSymbol(targetProp); - if (sourcePropFlags & 2 /* Private */ || targetPropFlags & 2 /* Private */) { - if (sourceProp.valueDeclaration !== targetProp.valueDeclaration) { - if (reportErrors2) { - if (sourcePropFlags & 2 /* Private */ && targetPropFlags & 2 /* Private */) { - reportError(Diagnostics.Types_have_separate_declarations_of_a_private_property_0, symbolToString(targetProp)); - } else { - reportError(Diagnostics.Property_0_is_private_in_type_1_but_not_in_type_2, symbolToString(targetProp), typeToString(sourcePropFlags & 2 /* Private */ ? source2 : target2), typeToString(sourcePropFlags & 2 /* Private */ ? target2 : source2)); - } - } - return 0 /* False */; - } - } else if (targetPropFlags & 4 /* Protected */) { - if (!isValidOverrideOf(sourceProp, targetProp)) { - if (reportErrors2) { - reportError(Diagnostics.Property_0_is_protected_but_type_1_is_not_a_class_derived_from_2, symbolToString(targetProp), typeToString(getDeclaringClass(sourceProp) || source2), typeToString(getDeclaringClass(targetProp) || target2)); - } - return 0 /* False */; - } - } else if (sourcePropFlags & 4 /* Protected */) { - if (reportErrors2) { - reportError(Diagnostics.Property_0_is_protected_in_type_1_but_public_in_type_2, symbolToString(targetProp), typeToString(source2), typeToString(target2)); - } - return 0 /* False */; - } - if (relation === strictSubtypeRelation && isReadonlySymbol(sourceProp) && !isReadonlySymbol(targetProp)) { - return 0 /* False */; - } - const related = isPropertySymbolTypeRelated(sourceProp, targetProp, getTypeOfSourceProperty, reportErrors2, intersectionState); - if (!related) { - if (reportErrors2) { - reportIncompatibleError(Diagnostics.Types_of_property_0_are_incompatible, symbolToString(targetProp)); - } - return 0 /* False */; - } - if (!skipOptional && sourceProp.flags & 16777216 /* Optional */ && targetProp.flags & 106500 /* ClassMember */ && !(targetProp.flags & 16777216 /* Optional */)) { - if (reportErrors2) { - reportError(Diagnostics.Property_0_is_optional_in_type_1_but_required_in_type_2, symbolToString(targetProp), typeToString(source2), typeToString(target2)); - } - return 0 /* False */; - } - return related; - } - function reportUnmatchedProperty(source2, target2, unmatchedProperty, requireOptionalProperties) { - let shouldSkipElaboration = false; - if (unmatchedProperty.valueDeclaration && isNamedDeclaration(unmatchedProperty.valueDeclaration) && isPrivateIdentifier(unmatchedProperty.valueDeclaration.name) && source2.symbol && source2.symbol.flags & 32 /* Class */) { - const privateIdentifierDescription = unmatchedProperty.valueDeclaration.name.escapedText; - const symbolTableKey = getSymbolNameForPrivateIdentifier(source2.symbol, privateIdentifierDescription); - if (symbolTableKey && getPropertyOfType(source2, symbolTableKey)) { - const sourceName = factory.getDeclarationName(source2.symbol.valueDeclaration); - const targetName = factory.getDeclarationName(target2.symbol.valueDeclaration); - reportError( - Diagnostics.Property_0_in_type_1_refers_to_a_different_member_that_cannot_be_accessed_from_within_type_2, - diagnosticName(privateIdentifierDescription), - diagnosticName(sourceName.escapedText === "" ? anon : sourceName), - diagnosticName(targetName.escapedText === "" ? anon : targetName) - ); - return; - } - } - const props = arrayFrom(getUnmatchedProperties( - source2, - target2, - requireOptionalProperties, - /*matchDiscriminantProperties*/ - false - )); - if (!headMessage || headMessage.code !== Diagnostics.Class_0_incorrectly_implements_interface_1.code && headMessage.code !== Diagnostics.Class_0_incorrectly_implements_class_1_Did_you_mean_to_extend_1_and_inherit_its_members_as_a_subclass.code) { - shouldSkipElaboration = true; - } - if (props.length === 1) { - const propName = symbolToString( - unmatchedProperty, - /*enclosingDeclaration*/ - void 0, - 0 /* None */, - 4 /* AllowAnyNodeKind */ | 16 /* WriteComputedProps */ - ); - reportError(Diagnostics.Property_0_is_missing_in_type_1_but_required_in_type_2, propName, ...getTypeNamesForErrorDisplay(source2, target2)); - if (length(unmatchedProperty.declarations)) { - associateRelatedInfo(createDiagnosticForNode(unmatchedProperty.declarations[0], Diagnostics._0_is_declared_here, propName)); - } - if (shouldSkipElaboration && errorInfo) { - overrideNextErrorInfo++; - } - } else if (tryElaborateArrayLikeErrors( - source2, - target2, - /*reportErrors*/ - false - )) { - if (props.length > 5) { - reportError(Diagnostics.Type_0_is_missing_the_following_properties_from_type_1_Colon_2_and_3_more, typeToString(source2), typeToString(target2), map(props.slice(0, 4), (p) => symbolToString(p)).join(", "), props.length - 4); - } else { - reportError(Diagnostics.Type_0_is_missing_the_following_properties_from_type_1_Colon_2, typeToString(source2), typeToString(target2), map(props, (p) => symbolToString(p)).join(", ")); - } - if (shouldSkipElaboration && errorInfo) { - overrideNextErrorInfo++; - } - } - } - function propertiesRelatedTo(source2, target2, reportErrors2, excludedProperties, optionalsOnly, intersectionState) { - if (relation === identityRelation) { - return propertiesIdenticalTo(source2, target2, excludedProperties); - } - let result2 = -1 /* True */; - if (isTupleType(target2)) { - if (isArrayOrTupleType(source2)) { - if (!target2.target.readonly && (isReadonlyArrayType(source2) || isTupleType(source2) && source2.target.readonly)) { - return 0 /* False */; - } - const sourceArity = getTypeReferenceArity(source2); - const targetArity = getTypeReferenceArity(target2); - const sourceRestFlag = isTupleType(source2) ? source2.target.combinedFlags & 4 /* Rest */ : 4 /* Rest */; - const targetHasRestElement = !!(target2.target.combinedFlags & 12 /* Variable */); - const sourceMinLength = isTupleType(source2) ? source2.target.minLength : 0; - const targetMinLength = target2.target.minLength; - if (!sourceRestFlag && sourceArity < targetMinLength) { - if (reportErrors2) { - reportError(Diagnostics.Source_has_0_element_s_but_target_requires_1, sourceArity, targetMinLength); - } - return 0 /* False */; - } - if (!targetHasRestElement && targetArity < sourceMinLength) { - if (reportErrors2) { - reportError(Diagnostics.Source_has_0_element_s_but_target_allows_only_1, sourceMinLength, targetArity); - } - return 0 /* False */; - } - if (!targetHasRestElement && (sourceRestFlag || targetArity < sourceArity)) { - if (reportErrors2) { - if (sourceMinLength < targetMinLength) { - reportError(Diagnostics.Target_requires_0_element_s_but_source_may_have_fewer, targetMinLength); - } else { - reportError(Diagnostics.Target_allows_only_0_element_s_but_source_may_have_more, targetArity); - } - } - return 0 /* False */; - } - const sourceTypeArguments = getTypeArguments(source2); - const targetTypeArguments = getTypeArguments(target2); - const targetStartCount = getStartElementCount(target2.target, 11 /* NonRest */); - const targetEndCount = getEndElementCount(target2.target, 11 /* NonRest */); - let canExcludeDiscriminants = !!excludedProperties; - for (let sourcePosition = 0; sourcePosition < sourceArity; sourcePosition++) { - const sourceFlags = isTupleType(source2) ? source2.target.elementFlags[sourcePosition] : 4 /* Rest */; - const sourcePositionFromEnd = sourceArity - 1 - sourcePosition; - const targetPosition = targetHasRestElement && sourcePosition >= targetStartCount ? targetArity - 1 - Math.min(sourcePositionFromEnd, targetEndCount) : sourcePosition; - const targetFlags = target2.target.elementFlags[targetPosition]; - if (targetFlags & 8 /* Variadic */ && !(sourceFlags & 8 /* Variadic */)) { - if (reportErrors2) { - reportError(Diagnostics.Source_provides_no_match_for_variadic_element_at_position_0_in_target, targetPosition); - } - return 0 /* False */; - } - if (sourceFlags & 8 /* Variadic */ && !(targetFlags & 12 /* Variable */)) { - if (reportErrors2) { - reportError(Diagnostics.Variadic_element_at_position_0_in_source_does_not_match_element_at_position_1_in_target, sourcePosition, targetPosition); - } - return 0 /* False */; - } - if (targetFlags & 1 /* Required */ && !(sourceFlags & 1 /* Required */)) { - if (reportErrors2) { - reportError(Diagnostics.Source_provides_no_match_for_required_element_at_position_0_in_target, targetPosition); - } - return 0 /* False */; - } - if (canExcludeDiscriminants) { - if (sourceFlags & 12 /* Variable */ || targetFlags & 12 /* Variable */) { - canExcludeDiscriminants = false; - } - if (canExcludeDiscriminants && (excludedProperties == null ? void 0 : excludedProperties.has("" + sourcePosition))) { - continue; - } - } - const sourceType = removeMissingType(sourceTypeArguments[sourcePosition], !!(sourceFlags & targetFlags & 2 /* Optional */)); - const targetType = targetTypeArguments[targetPosition]; - const targetCheckType = sourceFlags & 8 /* Variadic */ && targetFlags & 4 /* Rest */ ? createArrayType(targetType) : removeMissingType(targetType, !!(targetFlags & 2 /* Optional */)); - const related = isRelatedTo( - sourceType, - targetCheckType, - 3 /* Both */, - reportErrors2, - /*headMessage*/ - void 0, - intersectionState - ); - if (!related) { - if (reportErrors2 && (targetArity > 1 || sourceArity > 1)) { - if (targetHasRestElement && sourcePosition >= targetStartCount && sourcePositionFromEnd >= targetEndCount && targetStartCount !== sourceArity - targetEndCount - 1) { - reportIncompatibleError(Diagnostics.Type_at_positions_0_through_1_in_source_is_not_compatible_with_type_at_position_2_in_target, targetStartCount, sourceArity - targetEndCount - 1, targetPosition); - } else { - reportIncompatibleError(Diagnostics.Type_at_position_0_in_source_is_not_compatible_with_type_at_position_1_in_target, sourcePosition, targetPosition); - } - } - return 0 /* False */; - } - result2 &= related; - } - return result2; - } - if (target2.target.combinedFlags & 12 /* Variable */) { - return 0 /* False */; - } - } - const requireOptionalProperties = (relation === subtypeRelation || relation === strictSubtypeRelation) && !isObjectLiteralType(source2) && !isEmptyArrayLiteralType(source2) && !isTupleType(source2); - const unmatchedProperty = getUnmatchedProperty( - source2, - target2, - requireOptionalProperties, - /*matchDiscriminantProperties*/ - false - ); - if (unmatchedProperty) { - if (reportErrors2 && shouldReportUnmatchedPropertyError(source2, target2)) { - reportUnmatchedProperty(source2, target2, unmatchedProperty, requireOptionalProperties); - } - return 0 /* False */; - } - if (isObjectLiteralType(target2)) { - for (const sourceProp of excludeProperties(getPropertiesOfType(source2), excludedProperties)) { - if (!getPropertyOfObjectType(target2, sourceProp.escapedName)) { - const sourceType = getTypeOfSymbol(sourceProp); - if (!(sourceType.flags & 32768 /* Undefined */)) { - if (reportErrors2) { - reportError(Diagnostics.Property_0_does_not_exist_on_type_1, symbolToString(sourceProp), typeToString(target2)); - } - return 0 /* False */; - } - } - } - } - const properties = getPropertiesOfType(target2); - const numericNamesOnly = isTupleType(source2) && isTupleType(target2); - for (const targetProp of excludeProperties(properties, excludedProperties)) { - const name = targetProp.escapedName; - if (!(targetProp.flags & 4194304 /* Prototype */) && (!numericNamesOnly || isNumericLiteralName(name) || name === "length") && (!optionalsOnly || targetProp.flags & 16777216 /* Optional */)) { - const sourceProp = getPropertyOfType(source2, name); - if (sourceProp && sourceProp !== targetProp) { - const related = propertyRelatedTo(source2, target2, sourceProp, targetProp, getNonMissingTypeOfSymbol, reportErrors2, intersectionState, relation === comparableRelation); - if (!related) { - return 0 /* False */; - } - result2 &= related; - } - } - } - return result2; - } - function propertiesIdenticalTo(source2, target2, excludedProperties) { - if (!(source2.flags & 524288 /* Object */ && target2.flags & 524288 /* Object */)) { - return 0 /* False */; - } - const sourceProperties = excludeProperties(getPropertiesOfObjectType(source2), excludedProperties); - const targetProperties = excludeProperties(getPropertiesOfObjectType(target2), excludedProperties); - if (sourceProperties.length !== targetProperties.length) { - return 0 /* False */; - } - let result2 = -1 /* True */; - for (const sourceProp of sourceProperties) { - const targetProp = getPropertyOfObjectType(target2, sourceProp.escapedName); - if (!targetProp) { - return 0 /* False */; - } - const related = compareProperties(sourceProp, targetProp, isRelatedTo); - if (!related) { - return 0 /* False */; - } - result2 &= related; - } - return result2; - } - function signaturesRelatedTo(source2, target2, kind, reportErrors2, intersectionState) { - var _a2, _b; - if (relation === identityRelation) { - return signaturesIdenticalTo(source2, target2, kind); - } - if (target2 === anyFunctionType || source2 === anyFunctionType) { - return -1 /* True */; - } - const sourceIsJSConstructor = source2.symbol && isJSConstructor(source2.symbol.valueDeclaration); - const targetIsJSConstructor = target2.symbol && isJSConstructor(target2.symbol.valueDeclaration); - const sourceSignatures = getSignaturesOfType( - source2, - sourceIsJSConstructor && kind === 1 /* Construct */ ? 0 /* Call */ : kind - ); - const targetSignatures = getSignaturesOfType( - target2, - targetIsJSConstructor && kind === 1 /* Construct */ ? 0 /* Call */ : kind - ); - if (kind === 1 /* Construct */ && sourceSignatures.length && targetSignatures.length) { - const sourceIsAbstract = !!(sourceSignatures[0].flags & 4 /* Abstract */); - const targetIsAbstract = !!(targetSignatures[0].flags & 4 /* Abstract */); - if (sourceIsAbstract && !targetIsAbstract) { - if (reportErrors2) { - reportError(Diagnostics.Cannot_assign_an_abstract_constructor_type_to_a_non_abstract_constructor_type); - } - return 0 /* False */; - } - if (!constructorVisibilitiesAreCompatible(sourceSignatures[0], targetSignatures[0], reportErrors2)) { - return 0 /* False */; - } - } - let result2 = -1 /* True */; - const incompatibleReporter = kind === 1 /* Construct */ ? reportIncompatibleConstructSignatureReturn : reportIncompatibleCallSignatureReturn; - const sourceObjectFlags = getObjectFlags(source2); - const targetObjectFlags = getObjectFlags(target2); - if (sourceObjectFlags & 64 /* Instantiated */ && targetObjectFlags & 64 /* Instantiated */ && source2.symbol === target2.symbol || sourceObjectFlags & 4 /* Reference */ && targetObjectFlags & 4 /* Reference */ && source2.target === target2.target) { - Debug.assertEqual(sourceSignatures.length, targetSignatures.length); - for (let i = 0; i < targetSignatures.length; i++) { - const related = signatureRelatedTo( - sourceSignatures[i], - targetSignatures[i], - /*erase*/ - true, - reportErrors2, - intersectionState, - incompatibleReporter(sourceSignatures[i], targetSignatures[i]) - ); - if (!related) { - return 0 /* False */; - } - result2 &= related; - } - } else if (sourceSignatures.length === 1 && targetSignatures.length === 1) { - const eraseGenerics = relation === comparableRelation; - const sourceSignature = first(sourceSignatures); - const targetSignature = first(targetSignatures); - result2 = signatureRelatedTo(sourceSignature, targetSignature, eraseGenerics, reportErrors2, intersectionState, incompatibleReporter(sourceSignature, targetSignature)); - if (!result2 && reportErrors2 && kind === 1 /* Construct */ && sourceObjectFlags & targetObjectFlags && (((_a2 = targetSignature.declaration) == null ? void 0 : _a2.kind) === 176 /* Constructor */ || ((_b = sourceSignature.declaration) == null ? void 0 : _b.kind) === 176 /* Constructor */)) { - const constructSignatureToString = (signature) => signatureToString( - signature, - /*enclosingDeclaration*/ - void 0, - 262144 /* WriteArrowStyleSignature */, - kind - ); - reportError(Diagnostics.Type_0_is_not_assignable_to_type_1, constructSignatureToString(sourceSignature), constructSignatureToString(targetSignature)); - reportError(Diagnostics.Types_of_construct_signatures_are_incompatible); - return result2; - } - } else { - outer: - for (const t of targetSignatures) { - const saveErrorInfo = captureErrorCalculationState(); - let shouldElaborateErrors = reportErrors2; - for (const s of sourceSignatures) { - const related = signatureRelatedTo( - s, - t, - /*erase*/ - true, - shouldElaborateErrors, - intersectionState, - incompatibleReporter(s, t) - ); - if (related) { - result2 &= related; - resetErrorInfo(saveErrorInfo); - continue outer; - } - shouldElaborateErrors = false; - } - if (shouldElaborateErrors) { - reportError(Diagnostics.Type_0_provides_no_match_for_the_signature_1, typeToString(source2), signatureToString( - t, - /*enclosingDeclaration*/ - void 0, - /*flags*/ - void 0, - kind - )); - } - return 0 /* False */; - } - } - return result2; - } - function shouldReportUnmatchedPropertyError(source2, target2) { - const typeCallSignatures = getSignaturesOfStructuredType(source2, 0 /* Call */); - const typeConstructSignatures = getSignaturesOfStructuredType(source2, 1 /* Construct */); - const typeProperties = getPropertiesOfObjectType(source2); - if ((typeCallSignatures.length || typeConstructSignatures.length) && !typeProperties.length) { - if (getSignaturesOfType(target2, 0 /* Call */).length && typeCallSignatures.length || getSignaturesOfType(target2, 1 /* Construct */).length && typeConstructSignatures.length) { - return true; - } - return false; - } - return true; - } - function reportIncompatibleCallSignatureReturn(siga, sigb) { - if (siga.parameters.length === 0 && sigb.parameters.length === 0) { - return (source2, target2) => reportIncompatibleError(Diagnostics.Call_signatures_with_no_arguments_have_incompatible_return_types_0_and_1, typeToString(source2), typeToString(target2)); - } - return (source2, target2) => reportIncompatibleError(Diagnostics.Call_signature_return_types_0_and_1_are_incompatible, typeToString(source2), typeToString(target2)); - } - function reportIncompatibleConstructSignatureReturn(siga, sigb) { - if (siga.parameters.length === 0 && sigb.parameters.length === 0) { - return (source2, target2) => reportIncompatibleError(Diagnostics.Construct_signatures_with_no_arguments_have_incompatible_return_types_0_and_1, typeToString(source2), typeToString(target2)); - } - return (source2, target2) => reportIncompatibleError(Diagnostics.Construct_signature_return_types_0_and_1_are_incompatible, typeToString(source2), typeToString(target2)); - } - function signatureRelatedTo(source2, target2, erase, reportErrors2, intersectionState, incompatibleReporter) { - const checkMode = relation === subtypeRelation ? 16 /* StrictTopSignature */ : relation === strictSubtypeRelation ? 16 /* StrictTopSignature */ | 8 /* StrictArity */ : 0 /* None */; - return compareSignaturesRelated(erase ? getErasedSignature(source2) : source2, erase ? getErasedSignature(target2) : target2, checkMode, reportErrors2, reportError, incompatibleReporter, isRelatedToWorker2, reportUnreliableMapper); - function isRelatedToWorker2(source3, target3, reportErrors3) { - return isRelatedTo( - source3, - target3, - 3 /* Both */, - reportErrors3, - /*headMessage*/ - void 0, - intersectionState - ); - } - } - function signaturesIdenticalTo(source2, target2, kind) { - const sourceSignatures = getSignaturesOfType(source2, kind); - const targetSignatures = getSignaturesOfType(target2, kind); - if (sourceSignatures.length !== targetSignatures.length) { - return 0 /* False */; - } - let result2 = -1 /* True */; - for (let i = 0; i < sourceSignatures.length; i++) { - const related = compareSignaturesIdentical( - sourceSignatures[i], - targetSignatures[i], - /*partialMatch*/ - false, - /*ignoreThisTypes*/ - false, - /*ignoreReturnTypes*/ - false, - isRelatedTo - ); - if (!related) { - return 0 /* False */; - } - result2 &= related; - } - return result2; - } - function membersRelatedToIndexInfo(source2, targetInfo, reportErrors2, intersectionState) { - let result2 = -1 /* True */; - const keyType = targetInfo.keyType; - const props = source2.flags & 2097152 /* Intersection */ ? getPropertiesOfUnionOrIntersectionType(source2) : getPropertiesOfObjectType(source2); - for (const prop of props) { - if (isIgnoredJsxProperty(source2, prop)) { - continue; - } - if (isApplicableIndexType(getLiteralTypeFromProperty(prop, 8576 /* StringOrNumberLiteralOrUnique */), keyType)) { - const propType = getNonMissingTypeOfSymbol(prop); - const type = exactOptionalPropertyTypes || propType.flags & 32768 /* Undefined */ || keyType === numberType || !(prop.flags & 16777216 /* Optional */) ? propType : getTypeWithFacts(propType, 524288 /* NEUndefined */); - const related = isRelatedTo( - type, - targetInfo.type, - 3 /* Both */, - reportErrors2, - /*headMessage*/ - void 0, - intersectionState - ); - if (!related) { - if (reportErrors2) { - reportError(Diagnostics.Property_0_is_incompatible_with_index_signature, symbolToString(prop)); - } - return 0 /* False */; - } - result2 &= related; - } - } - for (const info of getIndexInfosOfType(source2)) { - if (isApplicableIndexType(info.keyType, keyType)) { - const related = indexInfoRelatedTo(info, targetInfo, reportErrors2, intersectionState); - if (!related) { - return 0 /* False */; - } - result2 &= related; - } - } - return result2; - } - function indexInfoRelatedTo(sourceInfo, targetInfo, reportErrors2, intersectionState) { - const related = isRelatedTo( - sourceInfo.type, - targetInfo.type, - 3 /* Both */, - reportErrors2, - /*headMessage*/ - void 0, - intersectionState - ); - if (!related && reportErrors2) { - if (sourceInfo.keyType === targetInfo.keyType) { - reportError(Diagnostics._0_index_signatures_are_incompatible, typeToString(sourceInfo.keyType)); - } else { - reportError(Diagnostics._0_and_1_index_signatures_are_incompatible, typeToString(sourceInfo.keyType), typeToString(targetInfo.keyType)); - } - } - return related; - } - function indexSignaturesRelatedTo(source2, target2, sourceIsPrimitive, reportErrors2, intersectionState) { - if (relation === identityRelation) { - return indexSignaturesIdenticalTo(source2, target2); - } - const indexInfos = getIndexInfosOfType(target2); - const targetHasStringIndex = some(indexInfos, (info) => info.keyType === stringType); - let result2 = -1 /* True */; - for (const targetInfo of indexInfos) { - const related = relation !== strictSubtypeRelation && !sourceIsPrimitive && targetHasStringIndex && targetInfo.type.flags & 1 /* Any */ ? -1 /* True */ : isGenericMappedType(source2) && targetHasStringIndex ? isRelatedTo(getTemplateTypeFromMappedType(source2), targetInfo.type, 3 /* Both */, reportErrors2) : typeRelatedToIndexInfo(source2, targetInfo, reportErrors2, intersectionState); - if (!related) { - return 0 /* False */; - } - result2 &= related; - } - return result2; - } - function typeRelatedToIndexInfo(source2, targetInfo, reportErrors2, intersectionState) { - const sourceInfo = getApplicableIndexInfo(source2, targetInfo.keyType); - if (sourceInfo) { - return indexInfoRelatedTo(sourceInfo, targetInfo, reportErrors2, intersectionState); - } - if (!(intersectionState & 1 /* Source */) && (relation !== strictSubtypeRelation || getObjectFlags(source2) & 8192 /* FreshLiteral */) && isObjectTypeWithInferableIndex(source2)) { - return membersRelatedToIndexInfo(source2, targetInfo, reportErrors2, intersectionState); - } - if (reportErrors2) { - reportError(Diagnostics.Index_signature_for_type_0_is_missing_in_type_1, typeToString(targetInfo.keyType), typeToString(source2)); - } - return 0 /* False */; - } - function indexSignaturesIdenticalTo(source2, target2) { - const sourceInfos = getIndexInfosOfType(source2); - const targetInfos = getIndexInfosOfType(target2); - if (sourceInfos.length !== targetInfos.length) { - return 0 /* False */; - } - for (const targetInfo of targetInfos) { - const sourceInfo = getIndexInfoOfType(source2, targetInfo.keyType); - if (!(sourceInfo && isRelatedTo(sourceInfo.type, targetInfo.type, 3 /* Both */) && sourceInfo.isReadonly === targetInfo.isReadonly)) { - return 0 /* False */; - } - } - return -1 /* True */; - } - function constructorVisibilitiesAreCompatible(sourceSignature, targetSignature, reportErrors2) { - if (!sourceSignature.declaration || !targetSignature.declaration) { - return true; - } - const sourceAccessibility = getSelectedEffectiveModifierFlags(sourceSignature.declaration, 6 /* NonPublicAccessibilityModifier */); - const targetAccessibility = getSelectedEffectiveModifierFlags(targetSignature.declaration, 6 /* NonPublicAccessibilityModifier */); - if (targetAccessibility === 2 /* Private */) { - return true; - } - if (targetAccessibility === 4 /* Protected */ && sourceAccessibility !== 2 /* Private */) { - return true; - } - if (targetAccessibility !== 4 /* Protected */ && !sourceAccessibility) { - return true; - } - if (reportErrors2) { - reportError(Diagnostics.Cannot_assign_a_0_constructor_type_to_a_1_constructor_type, visibilityToString(sourceAccessibility), visibilityToString(targetAccessibility)); - } - return false; - } - } - function typeCouldHaveTopLevelSingletonTypes(type) { - if (type.flags & 16 /* Boolean */) { - return false; - } - if (type.flags & 3145728 /* UnionOrIntersection */) { - return !!forEach(type.types, typeCouldHaveTopLevelSingletonTypes); - } - if (type.flags & 465829888 /* Instantiable */) { - const constraint = getConstraintOfType(type); - if (constraint && constraint !== type) { - return typeCouldHaveTopLevelSingletonTypes(constraint); - } - } - return isUnitType(type) || !!(type.flags & 134217728 /* TemplateLiteral */) || !!(type.flags & 268435456 /* StringMapping */); - } - function getExactOptionalUnassignableProperties(source, target) { - if (isTupleType(source) && isTupleType(target)) return emptyArray; - return getPropertiesOfType(target).filter((targetProp) => isExactOptionalPropertyMismatch(getTypeOfPropertyOfType(source, targetProp.escapedName), getTypeOfSymbol(targetProp))); - } - function isExactOptionalPropertyMismatch(source, target) { - return !!source && !!target && maybeTypeOfKind(source, 32768 /* Undefined */) && !!containsMissingType(target); - } - function getExactOptionalProperties(type) { - return getPropertiesOfType(type).filter((targetProp) => containsMissingType(getTypeOfSymbol(targetProp))); - } - function getBestMatchingType(source, target, isRelatedTo = compareTypesAssignable) { - return findMatchingDiscriminantType(source, target, isRelatedTo) || findMatchingTypeReferenceOrTypeAliasReference(source, target) || findBestTypeForObjectLiteral(source, target) || findBestTypeForInvokable(source, target) || findMostOverlappyType(source, target); - } - function discriminateTypeByDiscriminableItems(target, discriminators, related) { - const types = target.types; - const include = types.map((t) => t.flags & 402784252 /* Primitive */ ? 0 /* False */ : -1 /* True */); - for (const [getDiscriminatingType, propertyName] of discriminators) { - let matched = false; - for (let i = 0; i < types.length; i++) { - if (include[i]) { - const targetType = getTypeOfPropertyOrIndexSignatureOfType(types[i], propertyName); - if (targetType && someType(getDiscriminatingType(), (t) => !!related(t, targetType))) { - matched = true; - } else { - include[i] = 3 /* Maybe */; - } - } - } - for (let i = 0; i < types.length; i++) { - if (include[i] === 3 /* Maybe */) { - include[i] = matched ? 0 /* False */ : -1 /* True */; - } - } - } - const filtered = contains(include, 0 /* False */) ? getUnionType(types.filter((_, i) => include[i]), 0 /* None */) : target; - return filtered.flags & 131072 /* Never */ ? target : filtered; - } - function isWeakType(type) { - if (type.flags & 524288 /* Object */) { - const resolved = resolveStructuredTypeMembers(type); - return resolved.callSignatures.length === 0 && resolved.constructSignatures.length === 0 && resolved.indexInfos.length === 0 && resolved.properties.length > 0 && every(resolved.properties, (p) => !!(p.flags & 16777216 /* Optional */)); - } - if (type.flags & 33554432 /* Substitution */) { - return isWeakType(type.baseType); - } - if (type.flags & 2097152 /* Intersection */) { - return every(type.types, isWeakType); - } - return false; - } - function hasCommonProperties(source, target, isComparingJsxAttributes) { - for (const prop of getPropertiesOfType(source)) { - if (isKnownProperty(target, prop.escapedName, isComparingJsxAttributes)) { - return true; - } - } - return false; - } - function getVariances(type) { - return type === globalArrayType || type === globalReadonlyArrayType || type.objectFlags & 8 /* Tuple */ ? arrayVariances : getVariancesWorker(type.symbol, type.typeParameters); - } - function getAliasVariances(symbol) { - return getVariancesWorker(symbol, getSymbolLinks(symbol).typeParameters); - } - function getVariancesWorker(symbol, typeParameters = emptyArray) { - var _a, _b; - const links = getSymbolLinks(symbol); - if (!links.variances) { - (_a = tracing) == null ? void 0 : _a.push(tracing.Phase.CheckTypes, "getVariancesWorker", { arity: typeParameters.length, id: getTypeId(getDeclaredTypeOfSymbol(symbol)) }); - const oldVarianceComputation = inVarianceComputation; - const saveResolutionStart = resolutionStart; - if (!inVarianceComputation) { - inVarianceComputation = true; - resolutionStart = resolutionTargets.length; - } - links.variances = emptyArray; - const variances = []; - for (const tp of typeParameters) { - const modifiers = getTypeParameterModifiers(tp); - let variance = modifiers & 16384 /* Out */ ? modifiers & 8192 /* In */ ? 0 /* Invariant */ : 1 /* Covariant */ : modifiers & 8192 /* In */ ? 2 /* Contravariant */ : void 0; - if (variance === void 0) { - let unmeasurable = false; - let unreliable = false; - const oldHandler = outofbandVarianceMarkerHandler; - outofbandVarianceMarkerHandler = (onlyUnreliable) => onlyUnreliable ? unreliable = true : unmeasurable = true; - const typeWithSuper = createMarkerType(symbol, tp, markerSuperType); - const typeWithSub = createMarkerType(symbol, tp, markerSubType); - variance = (isTypeAssignableTo(typeWithSub, typeWithSuper) ? 1 /* Covariant */ : 0) | (isTypeAssignableTo(typeWithSuper, typeWithSub) ? 2 /* Contravariant */ : 0); - if (variance === 3 /* Bivariant */ && isTypeAssignableTo(createMarkerType(symbol, tp, markerOtherType), typeWithSuper)) { - variance = 4 /* Independent */; - } - outofbandVarianceMarkerHandler = oldHandler; - if (unmeasurable || unreliable) { - if (unmeasurable) { - variance |= 8 /* Unmeasurable */; - } - if (unreliable) { - variance |= 16 /* Unreliable */; - } - } - } - variances.push(variance); - } - if (!oldVarianceComputation) { - inVarianceComputation = false; - resolutionStart = saveResolutionStart; - } - links.variances = variances; - (_b = tracing) == null ? void 0 : _b.pop({ variances: variances.map(Debug.formatVariance) }); - } - return links.variances; - } - function createMarkerType(symbol, source, target) { - const mapper = makeUnaryTypeMapper(source, target); - const type = getDeclaredTypeOfSymbol(symbol); - if (isErrorType(type)) { - return type; - } - const result = symbol.flags & 524288 /* TypeAlias */ ? getTypeAliasInstantiation(symbol, instantiateTypes(getSymbolLinks(symbol).typeParameters, mapper)) : createTypeReference(type, instantiateTypes(type.typeParameters, mapper)); - markerTypes.add(getTypeId(result)); - return result; - } - function isMarkerType(type) { - return markerTypes.has(getTypeId(type)); - } - function getTypeParameterModifiers(tp) { - var _a; - return reduceLeft((_a = tp.symbol) == null ? void 0 : _a.declarations, (modifiers, d) => modifiers | getEffectiveModifierFlags(d), 0 /* None */) & (8192 /* In */ | 16384 /* Out */ | 4096 /* Const */); - } - function hasCovariantVoidArgument(typeArguments, variances) { - for (let i = 0; i < variances.length; i++) { - if ((variances[i] & 7 /* VarianceMask */) === 1 /* Covariant */ && typeArguments[i].flags & 16384 /* Void */) { - return true; - } - } - return false; - } - function isUnconstrainedTypeParameter(type) { - return type.flags & 262144 /* TypeParameter */ && !getConstraintOfTypeParameter(type); - } - function isNonDeferredTypeReference(type) { - return !!(getObjectFlags(type) & 4 /* Reference */) && !type.node; - } - function isTypeReferenceWithGenericArguments(type) { - return isNonDeferredTypeReference(type) && some(getTypeArguments(type), (t) => !!(t.flags & 262144 /* TypeParameter */) || isTypeReferenceWithGenericArguments(t)); - } - function getGenericTypeReferenceRelationKey(source, target, postFix, ignoreConstraints) { - const typeParameters = []; - let constraintMarker = ""; - const sourceId = getTypeReferenceId(source, 0); - const targetId = getTypeReferenceId(target, 0); - return `${constraintMarker}${sourceId},${targetId}${postFix}`; - function getTypeReferenceId(type, depth = 0) { - let result = "" + type.target.id; - for (const t of getTypeArguments(type)) { - if (t.flags & 262144 /* TypeParameter */) { - if (ignoreConstraints || isUnconstrainedTypeParameter(t)) { - let index = typeParameters.indexOf(t); - if (index < 0) { - index = typeParameters.length; - typeParameters.push(t); - } - result += "=" + index; - continue; - } - constraintMarker = "*"; - } else if (depth < 4 && isTypeReferenceWithGenericArguments(t)) { - result += "<" + getTypeReferenceId(t, depth + 1) + ">"; - continue; - } - result += "-" + t.id; - } - return result; - } - } - function getRelationKey(source, target, intersectionState, relation, ignoreConstraints) { - if (relation === identityRelation && source.id > target.id) { - const temp = source; - source = target; - target = temp; - } - const postFix = intersectionState ? ":" + intersectionState : ""; - return isTypeReferenceWithGenericArguments(source) && isTypeReferenceWithGenericArguments(target) ? getGenericTypeReferenceRelationKey(source, target, postFix, ignoreConstraints) : `${source.id},${target.id}${postFix}`; - } - function forEachProperty(prop, callback) { - if (getCheckFlags(prop) & 6 /* Synthetic */) { - for (const t of prop.links.containingType.types) { - const p = getPropertyOfType(t, prop.escapedName); - const result = p && forEachProperty(p, callback); - if (result) { - return result; - } - } - return void 0; - } - return callback(prop); - } - function getDeclaringClass(prop) { - return prop.parent && prop.parent.flags & 32 /* Class */ ? getDeclaredTypeOfSymbol(getParentOfSymbol(prop)) : void 0; - } - function getTypeOfPropertyInBaseClass(property) { - const classType = getDeclaringClass(property); - const baseClassType = classType && getBaseTypes(classType)[0]; - return baseClassType && getTypeOfPropertyOfType(baseClassType, property.escapedName); - } - function isPropertyInClassDerivedFrom(prop, baseClass) { - return forEachProperty(prop, (sp) => { - const sourceClass = getDeclaringClass(sp); - return sourceClass ? hasBaseType(sourceClass, baseClass) : false; - }); - } - function isValidOverrideOf(sourceProp, targetProp) { - return !forEachProperty(targetProp, (tp) => getDeclarationModifierFlagsFromSymbol(tp) & 4 /* Protected */ ? !isPropertyInClassDerivedFrom(sourceProp, getDeclaringClass(tp)) : false); - } - function isClassDerivedFromDeclaringClasses(checkClass, prop, writing) { - return forEachProperty(prop, (p) => getDeclarationModifierFlagsFromSymbol(p, writing) & 4 /* Protected */ ? !hasBaseType(checkClass, getDeclaringClass(p)) : false) ? void 0 : checkClass; - } - function isDeeplyNestedType(type, stack, depth, maxDepth = 3) { - if (depth >= maxDepth) { - if ((getObjectFlags(type) & 96 /* InstantiatedMapped */) === 96 /* InstantiatedMapped */) { - type = getMappedTargetWithSymbol(type); - } - if (type.flags & 2097152 /* Intersection */) { - return some(type.types, (t) => isDeeplyNestedType(t, stack, depth, maxDepth)); - } - const identity2 = getRecursionIdentity(type); - let count = 0; - let lastTypeId = 0; - for (let i = 0; i < depth; i++) { - const t = stack[i]; - if (hasMatchingRecursionIdentity(t, identity2)) { - if (t.id >= lastTypeId) { - count++; - if (count >= maxDepth) { - return true; - } - } - lastTypeId = t.id; - } - } - } - return false; - } - function getMappedTargetWithSymbol(type) { - let target; - while ((getObjectFlags(type) & 96 /* InstantiatedMapped */) === 96 /* InstantiatedMapped */ && (target = getModifiersTypeFromMappedType(type)) && (target.symbol || target.flags & 2097152 /* Intersection */ && some(target.types, (t) => !!t.symbol))) { - type = target; - } - return type; - } - function hasMatchingRecursionIdentity(type, identity2) { - if ((getObjectFlags(type) & 96 /* InstantiatedMapped */) === 96 /* InstantiatedMapped */) { - type = getMappedTargetWithSymbol(type); - } - if (type.flags & 2097152 /* Intersection */) { - return some(type.types, (t) => hasMatchingRecursionIdentity(t, identity2)); - } - return getRecursionIdentity(type) === identity2; - } - function getRecursionIdentity(type) { - if (type.flags & 524288 /* Object */ && !isObjectOrArrayLiteralType(type)) { - if (getObjectFlags(type) & 4 /* Reference */ && type.node) { - return type.node; - } - if (type.symbol && !(getObjectFlags(type) & 16 /* Anonymous */ && type.symbol.flags & 32 /* Class */)) { - return type.symbol; - } - if (isTupleType(type)) { - return type.target; - } - } - if (type.flags & 262144 /* TypeParameter */) { - return type.symbol; - } - if (type.flags & 8388608 /* IndexedAccess */) { - do { - type = type.objectType; - } while (type.flags & 8388608 /* IndexedAccess */); - return type; - } - if (type.flags & 16777216 /* Conditional */) { - return type.root; - } - return type; - } - function isPropertyIdenticalTo(sourceProp, targetProp) { - return compareProperties(sourceProp, targetProp, compareTypesIdentical) !== 0 /* False */; - } - function compareProperties(sourceProp, targetProp, compareTypes) { - if (sourceProp === targetProp) { - return -1 /* True */; - } - const sourcePropAccessibility = getDeclarationModifierFlagsFromSymbol(sourceProp) & 6 /* NonPublicAccessibilityModifier */; - const targetPropAccessibility = getDeclarationModifierFlagsFromSymbol(targetProp) & 6 /* NonPublicAccessibilityModifier */; - if (sourcePropAccessibility !== targetPropAccessibility) { - return 0 /* False */; - } - if (sourcePropAccessibility) { - if (getTargetSymbol(sourceProp) !== getTargetSymbol(targetProp)) { - return 0 /* False */; - } - } else { - if ((sourceProp.flags & 16777216 /* Optional */) !== (targetProp.flags & 16777216 /* Optional */)) { - return 0 /* False */; - } - } - if (isReadonlySymbol(sourceProp) !== isReadonlySymbol(targetProp)) { - return 0 /* False */; - } - return compareTypes(getTypeOfSymbol(sourceProp), getTypeOfSymbol(targetProp)); - } - function isMatchingSignature(source, target, partialMatch) { - const sourceParameterCount = getParameterCount(source); - const targetParameterCount = getParameterCount(target); - const sourceMinArgumentCount = getMinArgumentCount(source); - const targetMinArgumentCount = getMinArgumentCount(target); - const sourceHasRestParameter = hasEffectiveRestParameter(source); - const targetHasRestParameter = hasEffectiveRestParameter(target); - if (sourceParameterCount === targetParameterCount && sourceMinArgumentCount === targetMinArgumentCount && sourceHasRestParameter === targetHasRestParameter) { - return true; - } - if (partialMatch && sourceMinArgumentCount <= targetMinArgumentCount) { - return true; - } - return false; - } - function compareSignaturesIdentical(source, target, partialMatch, ignoreThisTypes, ignoreReturnTypes, compareTypes) { - if (source === target) { - return -1 /* True */; - } - if (!isMatchingSignature(source, target, partialMatch)) { - return 0 /* False */; - } - if (length(source.typeParameters) !== length(target.typeParameters)) { - return 0 /* False */; - } - if (target.typeParameters) { - const mapper = createTypeMapper(source.typeParameters, target.typeParameters); - for (let i = 0; i < target.typeParameters.length; i++) { - const s = source.typeParameters[i]; - const t = target.typeParameters[i]; - if (!(s === t || compareTypes(instantiateType(getConstraintFromTypeParameter(s), mapper) || unknownType, getConstraintFromTypeParameter(t) || unknownType) && compareTypes(instantiateType(getDefaultFromTypeParameter(s), mapper) || unknownType, getDefaultFromTypeParameter(t) || unknownType))) { - return 0 /* False */; - } - } - source = instantiateSignature( - source, - mapper, - /*eraseTypeParameters*/ - true - ); - } - let result = -1 /* True */; - if (!ignoreThisTypes) { - const sourceThisType = getThisTypeOfSignature(source); - if (sourceThisType) { - const targetThisType = getThisTypeOfSignature(target); - if (targetThisType) { - const related = compareTypes(sourceThisType, targetThisType); - if (!related) { - return 0 /* False */; - } - result &= related; - } - } - } - const targetLen = getParameterCount(target); - for (let i = 0; i < targetLen; i++) { - const s = getTypeAtPosition(source, i); - const t = getTypeAtPosition(target, i); - const related = compareTypes(t, s); - if (!related) { - return 0 /* False */; - } - result &= related; - } - if (!ignoreReturnTypes) { - const sourceTypePredicate = getTypePredicateOfSignature(source); - const targetTypePredicate = getTypePredicateOfSignature(target); - result &= sourceTypePredicate || targetTypePredicate ? compareTypePredicatesIdentical(sourceTypePredicate, targetTypePredicate, compareTypes) : compareTypes(getReturnTypeOfSignature(source), getReturnTypeOfSignature(target)); - } - return result; - } - function compareTypePredicatesIdentical(source, target, compareTypes) { - return !(source && target && typePredicateKindsMatch(source, target)) ? 0 /* False */ : source.type === target.type ? -1 /* True */ : source.type && target.type ? compareTypes(source.type, target.type) : 0 /* False */; - } - function literalTypesWithSameBaseType(types) { - let commonBaseType; - for (const t of types) { - if (!(t.flags & 131072 /* Never */)) { - const baseType = getBaseTypeOfLiteralType(t); - commonBaseType ?? (commonBaseType = baseType); - if (baseType === t || baseType !== commonBaseType) { - return false; - } - } - } - return true; - } - function getCombinedTypeFlags(types) { - return reduceLeft(types, (flags, t) => flags | (t.flags & 1048576 /* Union */ ? getCombinedTypeFlags(t.types) : t.flags), 0); - } - function getCommonSupertype(types) { - if (types.length === 1) { - return types[0]; - } - const primaryTypes = strictNullChecks ? sameMap(types, (t) => filterType(t, (u) => !(u.flags & 98304 /* Nullable */))) : types; - const superTypeOrUnion = literalTypesWithSameBaseType(primaryTypes) ? getUnionType(primaryTypes) : reduceLeft(primaryTypes, (s, t) => isTypeSubtypeOf(s, t) ? t : s); - return primaryTypes === types ? superTypeOrUnion : getNullableType(superTypeOrUnion, getCombinedTypeFlags(types) & 98304 /* Nullable */); - } - function getCommonSubtype(types) { - return reduceLeft(types, (s, t) => isTypeSubtypeOf(t, s) ? t : s); - } - function isArrayType(type) { - return !!(getObjectFlags(type) & 4 /* Reference */) && (type.target === globalArrayType || type.target === globalReadonlyArrayType); - } - function isReadonlyArrayType(type) { - return !!(getObjectFlags(type) & 4 /* Reference */) && type.target === globalReadonlyArrayType; - } - function isArrayOrTupleType(type) { - return isArrayType(type) || isTupleType(type); - } - function isMutableArrayOrTuple(type) { - return isArrayType(type) && !isReadonlyArrayType(type) || isTupleType(type) && !type.target.readonly; - } - function getElementTypeOfArrayType(type) { - return isArrayType(type) ? getTypeArguments(type)[0] : void 0; - } - function isArrayLikeType(type) { - return isArrayType(type) || !(type.flags & 98304 /* Nullable */) && isTypeAssignableTo(type, anyReadonlyArrayType); - } - function isMutableArrayLikeType(type) { - return isMutableArrayOrTuple(type) || !(type.flags & (1 /* Any */ | 98304 /* Nullable */)) && isTypeAssignableTo(type, anyArrayType); - } - function getSingleBaseForNonAugmentingSubtype(type) { - if (!(getObjectFlags(type) & 4 /* Reference */) || !(getObjectFlags(type.target) & 3 /* ClassOrInterface */)) { - return void 0; - } - if (getObjectFlags(type) & 33554432 /* IdenticalBaseTypeCalculated */) { - return getObjectFlags(type) & 67108864 /* IdenticalBaseTypeExists */ ? type.cachedEquivalentBaseType : void 0; - } - type.objectFlags |= 33554432 /* IdenticalBaseTypeCalculated */; - const target = type.target; - if (getObjectFlags(target) & 1 /* Class */) { - const baseTypeNode = getBaseTypeNodeOfClass(target); - if (baseTypeNode && baseTypeNode.expression.kind !== 80 /* Identifier */ && baseTypeNode.expression.kind !== 211 /* PropertyAccessExpression */) { - return void 0; - } - } - const bases = getBaseTypes(target); - if (bases.length !== 1) { - return void 0; - } - if (getMembersOfSymbol(type.symbol).size) { - return void 0; - } - let instantiatedBase = !length(target.typeParameters) ? bases[0] : instantiateType(bases[0], createTypeMapper(target.typeParameters, getTypeArguments(type).slice(0, target.typeParameters.length))); - if (length(getTypeArguments(type)) > length(target.typeParameters)) { - instantiatedBase = getTypeWithThisArgument(instantiatedBase, last(getTypeArguments(type))); - } - type.objectFlags |= 67108864 /* IdenticalBaseTypeExists */; - return type.cachedEquivalentBaseType = instantiatedBase; - } - function isEmptyLiteralType(type) { - return strictNullChecks ? type === implicitNeverType : type === undefinedWideningType; - } - function isEmptyArrayLiteralType(type) { - const elementType = getElementTypeOfArrayType(type); - return !!elementType && isEmptyLiteralType(elementType); - } - function isTupleLikeType(type) { - let lengthType; - return isTupleType(type) || !!getPropertyOfType(type, "0") || isArrayLikeType(type) && !!(lengthType = getTypeOfPropertyOfType(type, "length")) && everyType(lengthType, (t) => !!(t.flags & 256 /* NumberLiteral */)); - } - function isArrayOrTupleLikeType(type) { - return isArrayLikeType(type) || isTupleLikeType(type); - } - function getTupleElementType(type, index) { - const propType = getTypeOfPropertyOfType(type, "" + index); - if (propType) { - return propType; - } - if (everyType(type, isTupleType)) { - return getTupleElementTypeOutOfStartCount(type, index, compilerOptions.noUncheckedIndexedAccess ? undefinedType : void 0); - } - return void 0; - } - function isNeitherUnitTypeNorNever(type) { - return !(type.flags & (109472 /* Unit */ | 131072 /* Never */)); - } - function isUnitType(type) { - return !!(type.flags & 109472 /* Unit */); - } - function isUnitLikeType(type) { - const t = getBaseConstraintOrType(type); - return t.flags & 2097152 /* Intersection */ ? some(t.types, isUnitType) : isUnitType(t); - } - function extractUnitType(type) { - return type.flags & 2097152 /* Intersection */ ? find(type.types, isUnitType) || type : type; - } - function isLiteralType(type) { - return type.flags & 16 /* Boolean */ ? true : type.flags & 1048576 /* Union */ ? type.flags & 1024 /* EnumLiteral */ ? true : every(type.types, isUnitType) : isUnitType(type); - } - function getBaseTypeOfLiteralType(type) { - return type.flags & 1056 /* EnumLike */ ? getBaseTypeOfEnumLikeType(type) : type.flags & (128 /* StringLiteral */ | 134217728 /* TemplateLiteral */ | 268435456 /* StringMapping */) ? stringType : type.flags & 256 /* NumberLiteral */ ? numberType : type.flags & 2048 /* BigIntLiteral */ ? bigintType : type.flags & 512 /* BooleanLiteral */ ? booleanType : type.flags & 1048576 /* Union */ ? getBaseTypeOfLiteralTypeUnion(type) : type; - } - function getBaseTypeOfLiteralTypeUnion(type) { - const key = `B${getTypeId(type)}`; - return getCachedType(key) ?? setCachedType(key, mapType(type, getBaseTypeOfLiteralType)); - } - function getBaseTypeOfLiteralTypeForComparison(type) { - return type.flags & (128 /* StringLiteral */ | 134217728 /* TemplateLiteral */ | 268435456 /* StringMapping */) ? stringType : type.flags & (256 /* NumberLiteral */ | 32 /* Enum */) ? numberType : type.flags & 2048 /* BigIntLiteral */ ? bigintType : type.flags & 512 /* BooleanLiteral */ ? booleanType : type.flags & 1048576 /* Union */ ? mapType(type, getBaseTypeOfLiteralTypeForComparison) : type; - } - function getWidenedLiteralType(type) { - return type.flags & 1056 /* EnumLike */ && isFreshLiteralType(type) ? getBaseTypeOfEnumLikeType(type) : type.flags & 128 /* StringLiteral */ && isFreshLiteralType(type) ? stringType : type.flags & 256 /* NumberLiteral */ && isFreshLiteralType(type) ? numberType : type.flags & 2048 /* BigIntLiteral */ && isFreshLiteralType(type) ? bigintType : type.flags & 512 /* BooleanLiteral */ && isFreshLiteralType(type) ? booleanType : type.flags & 1048576 /* Union */ ? mapType(type, getWidenedLiteralType) : type; - } - function getWidenedUniqueESSymbolType(type) { - return type.flags & 8192 /* UniqueESSymbol */ ? esSymbolType : type.flags & 1048576 /* Union */ ? mapType(type, getWidenedUniqueESSymbolType) : type; - } - function getWidenedLiteralLikeTypeForContextualType(type, contextualType) { - if (!isLiteralOfContextualType(type, contextualType)) { - type = getWidenedUniqueESSymbolType(getWidenedLiteralType(type)); - } - return getRegularTypeOfLiteralType(type); - } - function getWidenedLiteralLikeTypeForContextualReturnTypeIfNeeded(type, contextualSignatureReturnType, isAsync) { - if (type && isUnitType(type)) { - const contextualType = !contextualSignatureReturnType ? void 0 : isAsync ? getPromisedTypeOfPromise(contextualSignatureReturnType) : contextualSignatureReturnType; - type = getWidenedLiteralLikeTypeForContextualType(type, contextualType); - } - return type; - } - function getWidenedLiteralLikeTypeForContextualIterationTypeIfNeeded(type, contextualSignatureReturnType, kind, isAsyncGenerator) { - if (type && isUnitType(type)) { - const contextualType = !contextualSignatureReturnType ? void 0 : getIterationTypeOfGeneratorFunctionReturnType(kind, contextualSignatureReturnType, isAsyncGenerator); - type = getWidenedLiteralLikeTypeForContextualType(type, contextualType); - } - return type; - } - function isTupleType(type) { - return !!(getObjectFlags(type) & 4 /* Reference */ && type.target.objectFlags & 8 /* Tuple */); - } - function isGenericTupleType(type) { - return isTupleType(type) && !!(type.target.combinedFlags & 8 /* Variadic */); - } - function isSingleElementGenericTupleType(type) { - return isGenericTupleType(type) && type.target.elementFlags.length === 1; - } - function getRestTypeOfTupleType(type) { - return getElementTypeOfSliceOfTupleType(type, type.target.fixedLength); - } - function getTupleElementTypeOutOfStartCount(type, index, undefinedOrMissingType2) { - return mapType(type, (t) => { - const tupleType = t; - const restType = getRestTypeOfTupleType(tupleType); - if (!restType) { - return undefinedType; - } - if (undefinedOrMissingType2 && index >= getTotalFixedElementCount(tupleType.target)) { - return getUnionType([restType, undefinedOrMissingType2]); - } - return restType; - }); - } - function getRestArrayTypeOfTupleType(type) { - const restType = getRestTypeOfTupleType(type); - return restType && createArrayType(restType); - } - function getElementTypeOfSliceOfTupleType(type, index, endSkipCount = 0, writing = false, noReductions = false) { - const length2 = getTypeReferenceArity(type) - endSkipCount; - if (index < length2) { - const typeArguments = getTypeArguments(type); - const elementTypes = []; - for (let i = index; i < length2; i++) { - const t = typeArguments[i]; - elementTypes.push(type.target.elementFlags[i] & 8 /* Variadic */ ? getIndexedAccessType(t, numberType) : t); - } - return writing ? getIntersectionType(elementTypes) : getUnionType(elementTypes, noReductions ? 0 /* None */ : 1 /* Literal */); - } - return void 0; - } - function isTupleTypeStructureMatching(t1, t2) { - return getTypeReferenceArity(t1) === getTypeReferenceArity(t2) && every(t1.target.elementFlags, (f, i) => (f & 12 /* Variable */) === (t2.target.elementFlags[i] & 12 /* Variable */)); - } - function isZeroBigInt({ value }) { - return value.base10Value === "0"; - } - function removeDefinitelyFalsyTypes(type) { - return filterType(type, (t) => hasTypeFacts(t, 4194304 /* Truthy */)); - } - function extractDefinitelyFalsyTypes(type) { - return mapType(type, getDefinitelyFalsyPartOfType); - } - function getDefinitelyFalsyPartOfType(type) { - return type.flags & 4 /* String */ ? emptyStringType : type.flags & 8 /* Number */ ? zeroType : type.flags & 64 /* BigInt */ ? zeroBigIntType : type === regularFalseType || type === falseType || type.flags & (16384 /* Void */ | 32768 /* Undefined */ | 65536 /* Null */ | 3 /* AnyOrUnknown */) || type.flags & 128 /* StringLiteral */ && type.value === "" || type.flags & 256 /* NumberLiteral */ && type.value === 0 || type.flags & 2048 /* BigIntLiteral */ && isZeroBigInt(type) ? type : neverType; - } - function getNullableType(type, flags) { - const missing = flags & ~type.flags & (32768 /* Undefined */ | 65536 /* Null */); - return missing === 0 ? type : missing === 32768 /* Undefined */ ? getUnionType([type, undefinedType]) : missing === 65536 /* Null */ ? getUnionType([type, nullType]) : getUnionType([type, undefinedType, nullType]); - } - function getOptionalType(type, isProperty = false) { - Debug.assert(strictNullChecks); - const missingOrUndefined = isProperty ? undefinedOrMissingType : undefinedType; - return type === missingOrUndefined || type.flags & 1048576 /* Union */ && type.types[0] === missingOrUndefined ? type : getUnionType([type, missingOrUndefined]); - } - function getGlobalNonNullableTypeInstantiation(type) { - if (!deferredGlobalNonNullableTypeAlias) { - deferredGlobalNonNullableTypeAlias = getGlobalSymbol( - "NonNullable", - 524288 /* TypeAlias */, - /*diagnostic*/ - void 0 - ) || unknownSymbol; - } - return deferredGlobalNonNullableTypeAlias !== unknownSymbol ? getTypeAliasInstantiation(deferredGlobalNonNullableTypeAlias, [type]) : getIntersectionType([type, emptyObjectType]); - } - function getNonNullableType(type) { - return strictNullChecks ? getAdjustedTypeWithFacts(type, 2097152 /* NEUndefinedOrNull */) : type; - } - function addOptionalTypeMarker(type) { - return strictNullChecks ? getUnionType([type, optionalType]) : type; - } - function removeOptionalTypeMarker(type) { - return strictNullChecks ? removeType(type, optionalType) : type; - } - function propagateOptionalTypeMarker(type, node, wasOptional) { - return wasOptional ? isOutermostOptionalChain(node) ? getOptionalType(type) : addOptionalTypeMarker(type) : type; - } - function getOptionalExpressionType(exprType, expression) { - return isExpressionOfOptionalChainRoot(expression) ? getNonNullableType(exprType) : isOptionalChain(expression) ? removeOptionalTypeMarker(exprType) : exprType; - } - function removeMissingType(type, isOptional) { - return exactOptionalPropertyTypes && isOptional ? removeType(type, missingType) : type; - } - function containsMissingType(type) { - return type === missingType || !!(type.flags & 1048576 /* Union */) && type.types[0] === missingType; - } - function removeMissingOrUndefinedType(type) { - return exactOptionalPropertyTypes ? removeType(type, missingType) : getTypeWithFacts(type, 524288 /* NEUndefined */); - } - function isCoercibleUnderDoubleEquals(source, target) { - return (source.flags & (8 /* Number */ | 4 /* String */ | 512 /* BooleanLiteral */)) !== 0 && (target.flags & (8 /* Number */ | 4 /* String */ | 16 /* Boolean */)) !== 0; - } - function isObjectTypeWithInferableIndex(type) { - const objectFlags = getObjectFlags(type); - return type.flags & 2097152 /* Intersection */ ? every(type.types, isObjectTypeWithInferableIndex) : !!(type.symbol && (type.symbol.flags & (4096 /* ObjectLiteral */ | 2048 /* TypeLiteral */ | 384 /* Enum */ | 512 /* ValueModule */)) !== 0 && !(type.symbol.flags & 32 /* Class */) && !typeHasCallOrConstructSignatures(type)) || !!(objectFlags & 4194304 /* ObjectRestType */) || !!(objectFlags & 1024 /* ReverseMapped */ && isObjectTypeWithInferableIndex(type.source)); - } - function createSymbolWithType(source, type) { - const symbol = createSymbol(source.flags, source.escapedName, getCheckFlags(source) & 8 /* Readonly */); - symbol.declarations = source.declarations; - symbol.parent = source.parent; - symbol.links.type = type; - symbol.links.target = source; - if (source.valueDeclaration) { - symbol.valueDeclaration = source.valueDeclaration; - } - const nameType = getSymbolLinks(source).nameType; - if (nameType) { - symbol.links.nameType = nameType; - } - return symbol; - } - function transformTypeOfMembers(type, f) { - const members = createSymbolTable(); - for (const property of getPropertiesOfObjectType(type)) { - const original = getTypeOfSymbol(property); - const updated = f(original); - members.set(property.escapedName, updated === original ? property : createSymbolWithType(property, updated)); - } - return members; - } - function getRegularTypeOfObjectLiteral(type) { - if (!(isObjectLiteralType(type) && getObjectFlags(type) & 8192 /* FreshLiteral */)) { - return type; - } - const regularType = type.regularType; - if (regularType) { - return regularType; - } - const resolved = type; - const members = transformTypeOfMembers(type, getRegularTypeOfObjectLiteral); - const regularNew = createAnonymousType(resolved.symbol, members, resolved.callSignatures, resolved.constructSignatures, resolved.indexInfos); - regularNew.flags = resolved.flags; - regularNew.objectFlags |= resolved.objectFlags & ~8192 /* FreshLiteral */; - type.regularType = regularNew; - return regularNew; - } - function createWideningContext(parent, propertyName, siblings) { - return { parent, propertyName, siblings, resolvedProperties: void 0 }; - } - function getSiblingsOfContext(context) { - if (!context.siblings) { - const siblings = []; - for (const type of getSiblingsOfContext(context.parent)) { - if (isObjectLiteralType(type)) { - const prop = getPropertyOfObjectType(type, context.propertyName); - if (prop) { - forEachType(getTypeOfSymbol(prop), (t) => { - siblings.push(t); - }); - } - } - } - context.siblings = siblings; - } - return context.siblings; - } - function getPropertiesOfContext(context) { - if (!context.resolvedProperties) { - const names = /* @__PURE__ */ new Map(); - for (const t of getSiblingsOfContext(context)) { - if (isObjectLiteralType(t) && !(getObjectFlags(t) & 2097152 /* ContainsSpread */)) { - for (const prop of getPropertiesOfType(t)) { - names.set(prop.escapedName, prop); - } - } - } - context.resolvedProperties = arrayFrom(names.values()); - } - return context.resolvedProperties; - } - function getWidenedProperty(prop, context) { - if (!(prop.flags & 4 /* Property */)) { - return prop; - } - const original = getTypeOfSymbol(prop); - const propContext = context && createWideningContext( - context, - prop.escapedName, - /*siblings*/ - void 0 - ); - const widened = getWidenedTypeWithContext(original, propContext); - return widened === original ? prop : createSymbolWithType(prop, widened); - } - function getUndefinedProperty(prop) { - const cached = undefinedProperties.get(prop.escapedName); - if (cached) { - return cached; - } - const result = createSymbolWithType(prop, undefinedOrMissingType); - result.flags |= 16777216 /* Optional */; - undefinedProperties.set(prop.escapedName, result); - return result; - } - function getWidenedTypeOfObjectLiteral(type, context) { - const members = createSymbolTable(); - for (const prop of getPropertiesOfObjectType(type)) { - members.set(prop.escapedName, getWidenedProperty(prop, context)); - } - if (context) { - for (const prop of getPropertiesOfContext(context)) { - if (!members.has(prop.escapedName)) { - members.set(prop.escapedName, getUndefinedProperty(prop)); - } - } - } - const result = createAnonymousType(type.symbol, members, emptyArray, emptyArray, sameMap(getIndexInfosOfType(type), (info) => createIndexInfo(info.keyType, getWidenedType(info.type), info.isReadonly))); - result.objectFlags |= getObjectFlags(type) & (4096 /* JSLiteral */ | 262144 /* NonInferrableType */); - return result; - } - function getWidenedType(type) { - return getWidenedTypeWithContext( - type, - /*context*/ - void 0 - ); - } - function getWidenedTypeWithContext(type, context) { - if (getObjectFlags(type) & 196608 /* RequiresWidening */) { - if (context === void 0 && type.widened) { - return type.widened; - } - let result; - if (type.flags & (1 /* Any */ | 98304 /* Nullable */)) { - result = anyType; - } else if (isObjectLiteralType(type)) { - result = getWidenedTypeOfObjectLiteral(type, context); - } else if (type.flags & 1048576 /* Union */) { - const unionContext = context || createWideningContext( - /*parent*/ - void 0, - /*propertyName*/ - void 0, - type.types - ); - const widenedTypes = sameMap(type.types, (t) => t.flags & 98304 /* Nullable */ ? t : getWidenedTypeWithContext(t, unionContext)); - result = getUnionType(widenedTypes, some(widenedTypes, isEmptyObjectType) ? 2 /* Subtype */ : 1 /* Literal */); - } else if (type.flags & 2097152 /* Intersection */) { - result = getIntersectionType(sameMap(type.types, getWidenedType)); - } else if (isArrayOrTupleType(type)) { - result = createTypeReference(type.target, sameMap(getTypeArguments(type), getWidenedType)); - } - if (result && context === void 0) { - type.widened = result; - } - return result || type; - } - return type; - } - function reportWideningErrorsInType(type) { - var _a; - let errorReported = false; - if (getObjectFlags(type) & 65536 /* ContainsWideningType */) { - if (type.flags & 1048576 /* Union */) { - if (some(type.types, isEmptyObjectType)) { - errorReported = true; - } else { - for (const t of type.types) { - errorReported || (errorReported = reportWideningErrorsInType(t)); - } - } - } else if (isArrayOrTupleType(type)) { - for (const t of getTypeArguments(type)) { - errorReported || (errorReported = reportWideningErrorsInType(t)); - } - } else if (isObjectLiteralType(type)) { - for (const p of getPropertiesOfObjectType(type)) { - const t = getTypeOfSymbol(p); - if (getObjectFlags(t) & 65536 /* ContainsWideningType */) { - errorReported = reportWideningErrorsInType(t); - if (!errorReported) { - const valueDeclaration = (_a = p.declarations) == null ? void 0 : _a.find((d) => { - var _a2; - return ((_a2 = d.symbol.valueDeclaration) == null ? void 0 : _a2.parent) === type.symbol.valueDeclaration; - }); - if (valueDeclaration) { - error(valueDeclaration, Diagnostics.Object_literal_s_property_0_implicitly_has_an_1_type, symbolToString(p), typeToString(getWidenedType(t))); - errorReported = true; - } - } - } - } - } - } - return errorReported; - } - function reportImplicitAny(declaration, type, wideningKind) { - const typeAsString = typeToString(getWidenedType(type)); - if (isInJSFile(declaration) && !isCheckJsEnabledForFile(getSourceFileOfNode(declaration), compilerOptions)) { - return; - } - let diagnostic; - switch (declaration.kind) { - case 226 /* BinaryExpression */: - case 172 /* PropertyDeclaration */: - case 171 /* PropertySignature */: - diagnostic = noImplicitAny ? Diagnostics.Member_0_implicitly_has_an_1_type : Diagnostics.Member_0_implicitly_has_an_1_type_but_a_better_type_may_be_inferred_from_usage; - break; - case 169 /* Parameter */: - const param = declaration; - if (isIdentifier(param.name)) { - const originalKeywordKind = identifierToKeywordKind(param.name); - if ((isCallSignatureDeclaration(param.parent) || isMethodSignature(param.parent) || isFunctionTypeNode(param.parent)) && param.parent.parameters.includes(param) && (resolveName( - param, - param.name.escapedText, - 788968 /* Type */, - /*nameNotFoundMessage*/ - void 0, - /*isUse*/ - true - ) || originalKeywordKind && isTypeNodeKind(originalKeywordKind))) { - const newName = "arg" + param.parent.parameters.indexOf(param); - const typeName = declarationNameToString(param.name) + (param.dotDotDotToken ? "[]" : ""); - errorOrSuggestion(noImplicitAny, declaration, Diagnostics.Parameter_has_a_name_but_no_type_Did_you_mean_0_Colon_1, newName, typeName); - return; - } - } - diagnostic = declaration.dotDotDotToken ? noImplicitAny ? Diagnostics.Rest_parameter_0_implicitly_has_an_any_type : Diagnostics.Rest_parameter_0_implicitly_has_an_any_type_but_a_better_type_may_be_inferred_from_usage : noImplicitAny ? Diagnostics.Parameter_0_implicitly_has_an_1_type : Diagnostics.Parameter_0_implicitly_has_an_1_type_but_a_better_type_may_be_inferred_from_usage; - break; - case 208 /* BindingElement */: - diagnostic = Diagnostics.Binding_element_0_implicitly_has_an_1_type; - if (!noImplicitAny) { - return; - } - break; - case 317 /* JSDocFunctionType */: - error(declaration, Diagnostics.Function_type_which_lacks_return_type_annotation_implicitly_has_an_0_return_type, typeAsString); - return; - case 323 /* JSDocSignature */: - if (noImplicitAny && isJSDocOverloadTag(declaration.parent)) { - error(declaration.parent.tagName, Diagnostics.This_overload_implicitly_returns_the_type_0_because_it_lacks_a_return_type_annotation, typeAsString); - } - return; - case 262 /* FunctionDeclaration */: - case 174 /* MethodDeclaration */: - case 173 /* MethodSignature */: - case 177 /* GetAccessor */: - case 178 /* SetAccessor */: - case 218 /* FunctionExpression */: - case 219 /* ArrowFunction */: - if (noImplicitAny && !declaration.name) { - if (wideningKind === 3 /* GeneratorYield */) { - error(declaration, Diagnostics.Generator_implicitly_has_yield_type_0_because_it_does_not_yield_any_values_Consider_supplying_a_return_type_annotation, typeAsString); - } else { - error(declaration, Diagnostics.Function_expression_which_lacks_return_type_annotation_implicitly_has_an_0_return_type, typeAsString); - } - return; - } - diagnostic = !noImplicitAny ? Diagnostics._0_implicitly_has_an_1_return_type_but_a_better_type_may_be_inferred_from_usage : wideningKind === 3 /* GeneratorYield */ ? Diagnostics._0_which_lacks_return_type_annotation_implicitly_has_an_1_yield_type : Diagnostics._0_which_lacks_return_type_annotation_implicitly_has_an_1_return_type; - break; - case 200 /* MappedType */: - if (noImplicitAny) { - error(declaration, Diagnostics.Mapped_object_type_implicitly_has_an_any_template_type); - } - return; - default: - diagnostic = noImplicitAny ? Diagnostics.Variable_0_implicitly_has_an_1_type : Diagnostics.Variable_0_implicitly_has_an_1_type_but_a_better_type_may_be_inferred_from_usage; - } - errorOrSuggestion(noImplicitAny, declaration, diagnostic, declarationNameToString(getNameOfDeclaration(declaration)), typeAsString); - } - function reportErrorsFromWidening(declaration, type, wideningKind) { - addLazyDiagnostic(() => { - if (noImplicitAny && getObjectFlags(type) & 65536 /* ContainsWideningType */ && (!wideningKind || !getContextualSignatureForFunctionLikeDeclaration(declaration))) { - if (!reportWideningErrorsInType(type)) { - reportImplicitAny(declaration, type, wideningKind); - } - } - }); - } - function applyToParameterTypes(source, target, callback) { - const sourceCount = getParameterCount(source); - const targetCount = getParameterCount(target); - const sourceRestType = getEffectiveRestType(source); - const targetRestType = getEffectiveRestType(target); - const targetNonRestCount = targetRestType ? targetCount - 1 : targetCount; - const paramCount = sourceRestType ? targetNonRestCount : Math.min(sourceCount, targetNonRestCount); - const sourceThisType = getThisTypeOfSignature(source); - if (sourceThisType) { - const targetThisType = getThisTypeOfSignature(target); - if (targetThisType) { - callback(sourceThisType, targetThisType); - } - } - for (let i = 0; i < paramCount; i++) { - callback(getTypeAtPosition(source, i), getTypeAtPosition(target, i)); - } - if (targetRestType) { - callback(getRestTypeAtPosition( - source, - paramCount, - /*readonly*/ - isConstTypeVariable(targetRestType) && !someType(targetRestType, isMutableArrayLikeType) - ), targetRestType); - } - } - function applyToReturnTypes(source, target, callback) { - const targetTypePredicate = getTypePredicateOfSignature(target); - if (targetTypePredicate) { - const sourceTypePredicate = getTypePredicateOfSignature(source); - if (sourceTypePredicate && typePredicateKindsMatch(sourceTypePredicate, targetTypePredicate) && sourceTypePredicate.type && targetTypePredicate.type) { - callback(sourceTypePredicate.type, targetTypePredicate.type); - return; - } - } - const targetReturnType = getReturnTypeOfSignature(target); - if (couldContainTypeVariables(targetReturnType)) { - callback(getReturnTypeOfSignature(source), targetReturnType); - } - } - function createInferenceContext(typeParameters, signature, flags, compareTypes) { - return createInferenceContextWorker(typeParameters.map(createInferenceInfo), signature, flags, compareTypes || compareTypesAssignable); - } - function cloneInferenceContext(context, extraFlags = 0) { - return context && createInferenceContextWorker(map(context.inferences, cloneInferenceInfo), context.signature, context.flags | extraFlags, context.compareTypes); - } - function createInferenceContextWorker(inferences, signature, flags, compareTypes) { - const context = { - inferences, - signature, - flags, - compareTypes, - mapper: reportUnmeasurableMapper, - // initialize to a noop mapper so the context object is available, but the underlying object shape is right upon construction - nonFixingMapper: reportUnmeasurableMapper - }; - context.mapper = makeFixingMapperForContext(context); - context.nonFixingMapper = makeNonFixingMapperForContext(context); - return context; - } - function makeFixingMapperForContext(context) { - return makeDeferredTypeMapper( - map(context.inferences, (i) => i.typeParameter), - map(context.inferences, (inference, i) => () => { - if (!inference.isFixed) { - inferFromIntraExpressionSites(context); - clearCachedInferences(context.inferences); - inference.isFixed = true; - } - return getInferredType(context, i); - }) - ); - } - function makeNonFixingMapperForContext(context) { - return makeDeferredTypeMapper( - map(context.inferences, (i) => i.typeParameter), - map(context.inferences, (_, i) => () => { - return getInferredType(context, i); - }) - ); - } - function clearCachedInferences(inferences) { - for (const inference of inferences) { - if (!inference.isFixed) { - inference.inferredType = void 0; - } - } - } - function addIntraExpressionInferenceSite(context, node, type) { - (context.intraExpressionInferenceSites ?? (context.intraExpressionInferenceSites = [])).push({ node, type }); - } - function inferFromIntraExpressionSites(context) { - if (context.intraExpressionInferenceSites) { - for (const { node, type } of context.intraExpressionInferenceSites) { - const contextualType = node.kind === 174 /* MethodDeclaration */ ? getContextualTypeForObjectLiteralMethod(node, 2 /* NoConstraints */) : getContextualType(node, 2 /* NoConstraints */); - if (contextualType) { - inferTypes(context.inferences, type, contextualType); - } - } - context.intraExpressionInferenceSites = void 0; - } - } - function createInferenceInfo(typeParameter) { - return { - typeParameter, - candidates: void 0, - contraCandidates: void 0, - inferredType: void 0, - priority: void 0, - topLevel: true, - isFixed: false, - impliedArity: void 0 - }; - } - function cloneInferenceInfo(inference) { - return { - typeParameter: inference.typeParameter, - candidates: inference.candidates && inference.candidates.slice(), - contraCandidates: inference.contraCandidates && inference.contraCandidates.slice(), - inferredType: inference.inferredType, - priority: inference.priority, - topLevel: inference.topLevel, - isFixed: inference.isFixed, - impliedArity: inference.impliedArity - }; - } - function cloneInferredPartOfContext(context) { - const inferences = filter(context.inferences, hasInferenceCandidates); - return inferences.length ? createInferenceContextWorker(map(inferences, cloneInferenceInfo), context.signature, context.flags, context.compareTypes) : void 0; - } - function getMapperFromContext(context) { - return context && context.mapper; - } - function couldContainTypeVariables(type) { - const objectFlags = getObjectFlags(type); - if (objectFlags & 524288 /* CouldContainTypeVariablesComputed */) { - return !!(objectFlags & 1048576 /* CouldContainTypeVariables */); - } - const result = !!(type.flags & 465829888 /* Instantiable */ || type.flags & 524288 /* Object */ && !isNonGenericTopLevelType(type) && (objectFlags & 4 /* Reference */ && (type.node || some(getTypeArguments(type), couldContainTypeVariables)) || objectFlags & 134217728 /* SingleSignatureType */ && !!length(type.outerTypeParameters) || objectFlags & 16 /* Anonymous */ && type.symbol && type.symbol.flags & (16 /* Function */ | 8192 /* Method */ | 32 /* Class */ | 2048 /* TypeLiteral */ | 4096 /* ObjectLiteral */) && type.symbol.declarations || objectFlags & (32 /* Mapped */ | 1024 /* ReverseMapped */ | 4194304 /* ObjectRestType */ | 8388608 /* InstantiationExpressionType */)) || type.flags & 3145728 /* UnionOrIntersection */ && !(type.flags & 1024 /* EnumLiteral */) && !isNonGenericTopLevelType(type) && some(type.types, couldContainTypeVariables)); - if (type.flags & 3899393 /* ObjectFlagsType */) { - type.objectFlags |= 524288 /* CouldContainTypeVariablesComputed */ | (result ? 1048576 /* CouldContainTypeVariables */ : 0); - } - return result; - } - function isNonGenericTopLevelType(type) { - if (type.aliasSymbol && !type.aliasTypeArguments) { - const declaration = getDeclarationOfKind(type.aliasSymbol, 265 /* TypeAliasDeclaration */); - return !!(declaration && findAncestor(declaration.parent, (n) => n.kind === 307 /* SourceFile */ ? true : n.kind === 267 /* ModuleDeclaration */ ? false : "quit")); - } - return false; - } - function isTypeParameterAtTopLevel(type, tp, depth = 0) { - return !!(type === tp || type.flags & 3145728 /* UnionOrIntersection */ && some(type.types, (t) => isTypeParameterAtTopLevel(t, tp, depth)) || depth < 3 && type.flags & 16777216 /* Conditional */ && (isTypeParameterAtTopLevel(getTrueTypeFromConditionalType(type), tp, depth + 1) || isTypeParameterAtTopLevel(getFalseTypeFromConditionalType(type), tp, depth + 1))); - } - function isTypeParameterAtTopLevelInReturnType(signature, typeParameter) { - const typePredicate = getTypePredicateOfSignature(signature); - return typePredicate ? !!typePredicate.type && isTypeParameterAtTopLevel(typePredicate.type, typeParameter) : isTypeParameterAtTopLevel(getReturnTypeOfSignature(signature), typeParameter); - } - function createEmptyObjectTypeFromStringLiteral(type) { - const members = createSymbolTable(); - forEachType(type, (t) => { - if (!(t.flags & 128 /* StringLiteral */)) { - return; - } - const name = escapeLeadingUnderscores(t.value); - const literalProp = createSymbol(4 /* Property */, name); - literalProp.links.type = anyType; - if (t.symbol) { - literalProp.declarations = t.symbol.declarations; - literalProp.valueDeclaration = t.symbol.valueDeclaration; - } - members.set(name, literalProp); - }); - const indexInfos = type.flags & 4 /* String */ ? [createIndexInfo( - stringType, - emptyObjectType, - /*isReadonly*/ - false - )] : emptyArray; - return createAnonymousType( - /*symbol*/ - void 0, - members, - emptyArray, - emptyArray, - indexInfos - ); - } - function inferTypeForHomomorphicMappedType(source, target, constraint) { - const cacheKey = source.id + "," + target.id + "," + constraint.id; - if (reverseHomomorphicMappedCache.has(cacheKey)) { - return reverseHomomorphicMappedCache.get(cacheKey); - } - const type = createReverseMappedType(source, target, constraint); - reverseHomomorphicMappedCache.set(cacheKey, type); - return type; - } - function isPartiallyInferableType(type) { - return !(getObjectFlags(type) & 262144 /* NonInferrableType */) || isObjectLiteralType(type) && some(getPropertiesOfType(type), (prop) => isPartiallyInferableType(getTypeOfSymbol(prop))) || isTupleType(type) && some(getElementTypes(type), isPartiallyInferableType); - } - function createReverseMappedType(source, target, constraint) { - if (!(getIndexInfoOfType(source, stringType) || getPropertiesOfType(source).length !== 0 && isPartiallyInferableType(source))) { - return void 0; - } - if (isArrayType(source)) { - const elementType = inferReverseMappedType(getTypeArguments(source)[0], target, constraint); - if (!elementType) { - return void 0; - } - return createArrayType(elementType, isReadonlyArrayType(source)); - } - if (isTupleType(source)) { - const elementTypes = map(getElementTypes(source), (t) => inferReverseMappedType(t, target, constraint)); - if (!every(elementTypes, (t) => !!t)) { - return void 0; - } - const elementFlags = getMappedTypeModifiers(target) & 4 /* IncludeOptional */ ? sameMap(source.target.elementFlags, (f) => f & 2 /* Optional */ ? 1 /* Required */ : f) : source.target.elementFlags; - return createTupleType(elementTypes, elementFlags, source.target.readonly, source.target.labeledElementDeclarations); - } - const reversed = createObjectType( - 1024 /* ReverseMapped */ | 16 /* Anonymous */, - /*symbol*/ - void 0 - ); - reversed.source = source; - reversed.mappedType = target; - reversed.constraintType = constraint; - return reversed; - } - function getTypeOfReverseMappedSymbol(symbol) { - const links = getSymbolLinks(symbol); - if (!links.type) { - links.type = inferReverseMappedType(symbol.links.propertyType, symbol.links.mappedType, symbol.links.constraintType) || unknownType; - } - return links.type; - } - function inferReverseMappedTypeWorker(sourceType, target, constraint) { - const typeParameter = getIndexedAccessType(constraint.type, getTypeParameterFromMappedType(target)); - const templateType = getTemplateTypeFromMappedType(target); - const inference = createInferenceInfo(typeParameter); - inferTypes([inference], sourceType, templateType); - return getTypeFromInference(inference) || unknownType; - } - function inferReverseMappedType(source, target, constraint) { - const cacheKey = source.id + "," + target.id + "," + constraint.id; - if (reverseMappedCache.has(cacheKey)) { - return reverseMappedCache.get(cacheKey) || unknownType; - } - reverseMappedSourceStack.push(source); - reverseMappedTargetStack.push(target); - const saveExpandingFlags = reverseExpandingFlags; - if (isDeeplyNestedType(source, reverseMappedSourceStack, reverseMappedSourceStack.length, 2)) reverseExpandingFlags |= 1 /* Source */; - if (isDeeplyNestedType(target, reverseMappedTargetStack, reverseMappedTargetStack.length, 2)) reverseExpandingFlags |= 2 /* Target */; - let type; - if (reverseExpandingFlags !== 3 /* Both */) { - type = inferReverseMappedTypeWorker(source, target, constraint); - } - reverseMappedSourceStack.pop(); - reverseMappedTargetStack.pop(); - reverseExpandingFlags = saveExpandingFlags; - reverseMappedCache.set(cacheKey, type); - return type; - } - function* getUnmatchedProperties(source, target, requireOptionalProperties, matchDiscriminantProperties) { - const properties = getPropertiesOfType(target); - for (const targetProp of properties) { - if (isStaticPrivateIdentifierProperty(targetProp)) { - continue; - } - if (requireOptionalProperties || !(targetProp.flags & 16777216 /* Optional */ || getCheckFlags(targetProp) & 48 /* Partial */)) { - const sourceProp = getPropertyOfType(source, targetProp.escapedName); - if (!sourceProp) { - yield targetProp; - } else if (matchDiscriminantProperties) { - const targetType = getTypeOfSymbol(targetProp); - if (targetType.flags & 109472 /* Unit */) { - const sourceType = getTypeOfSymbol(sourceProp); - if (!(sourceType.flags & 1 /* Any */ || getRegularTypeOfLiteralType(sourceType) === getRegularTypeOfLiteralType(targetType))) { - yield targetProp; - } - } - } - } - } - } - function getUnmatchedProperty(source, target, requireOptionalProperties, matchDiscriminantProperties) { - return firstOrUndefinedIterator(getUnmatchedProperties(source, target, requireOptionalProperties, matchDiscriminantProperties)); - } - function tupleTypesDefinitelyUnrelated(source, target) { - return !(target.target.combinedFlags & 8 /* Variadic */) && target.target.minLength > source.target.minLength || !(target.target.combinedFlags & 12 /* Variable */) && (!!(source.target.combinedFlags & 12 /* Variable */) || target.target.fixedLength < source.target.fixedLength); - } - function typesDefinitelyUnrelated(source, target) { - return isTupleType(source) && isTupleType(target) ? tupleTypesDefinitelyUnrelated(source, target) : !!getUnmatchedProperty( - source, - target, - /*requireOptionalProperties*/ - false, - /*matchDiscriminantProperties*/ - true - ) && !!getUnmatchedProperty( - target, - source, - /*requireOptionalProperties*/ - false, - /*matchDiscriminantProperties*/ - false - ); - } - function getTypeFromInference(inference) { - return inference.candidates ? getUnionType(inference.candidates, 2 /* Subtype */) : inference.contraCandidates ? getIntersectionType(inference.contraCandidates) : void 0; - } - function hasSkipDirectInferenceFlag(node) { - return !!getNodeLinks(node).skipDirectInference; - } - function isFromInferenceBlockedSource(type) { - return !!(type.symbol && some(type.symbol.declarations, hasSkipDirectInferenceFlag)); - } - function templateLiteralTypesDefinitelyUnrelated(source, target) { - const sourceStart = source.texts[0]; - const targetStart = target.texts[0]; - const sourceEnd = source.texts[source.texts.length - 1]; - const targetEnd = target.texts[target.texts.length - 1]; - const startLen = Math.min(sourceStart.length, targetStart.length); - const endLen = Math.min(sourceEnd.length, targetEnd.length); - return sourceStart.slice(0, startLen) !== targetStart.slice(0, startLen) || sourceEnd.slice(sourceEnd.length - endLen) !== targetEnd.slice(targetEnd.length - endLen); - } - function isValidNumberString(s, roundTripOnly) { - if (s === "") return false; - const n = +s; - return isFinite(n) && (!roundTripOnly || "" + n === s); - } - function parseBigIntLiteralType(text) { - return getBigIntLiteralType(parseValidBigInt(text)); - } - function isMemberOfStringMapping(source, target) { - if (target.flags & 1 /* Any */) { - return true; - } - if (target.flags & (4 /* String */ | 134217728 /* TemplateLiteral */)) { - return isTypeAssignableTo(source, target); - } - if (target.flags & 268435456 /* StringMapping */) { - const mappingStack = []; - while (target.flags & 268435456 /* StringMapping */) { - mappingStack.unshift(target.symbol); - target = target.type; - } - const mappedSource = reduceLeft(mappingStack, (memo, value) => getStringMappingType(value, memo), source); - return mappedSource === source && isMemberOfStringMapping(source, target); - } - return false; - } - function isValidTypeForTemplateLiteralPlaceholder(source, target) { - if (target.flags & 2097152 /* Intersection */) { - return every(target.types, (t) => t === emptyTypeLiteralType || isValidTypeForTemplateLiteralPlaceholder(source, t)); - } - if (target.flags & 4 /* String */ || isTypeAssignableTo(source, target)) { - return true; - } - if (source.flags & 128 /* StringLiteral */) { - const value = source.value; - return !!(target.flags & 8 /* Number */ && isValidNumberString( - value, - /*roundTripOnly*/ - false - ) || target.flags & 64 /* BigInt */ && isValidBigIntString( - value, - /*roundTripOnly*/ - false - ) || target.flags & (512 /* BooleanLiteral */ | 98304 /* Nullable */) && value === target.intrinsicName || target.flags & 268435456 /* StringMapping */ && isMemberOfStringMapping(getStringLiteralType(value), target) || target.flags & 134217728 /* TemplateLiteral */ && isTypeMatchedByTemplateLiteralType(source, target)); - } - if (source.flags & 134217728 /* TemplateLiteral */) { - const texts = source.texts; - return texts.length === 2 && texts[0] === "" && texts[1] === "" && isTypeAssignableTo(source.types[0], target); - } - return false; - } - function inferTypesFromTemplateLiteralType(source, target) { - return source.flags & 128 /* StringLiteral */ ? inferFromLiteralPartsToTemplateLiteral([source.value], emptyArray, target) : source.flags & 134217728 /* TemplateLiteral */ ? arrayIsEqualTo(source.texts, target.texts) ? map(source.types, (s, i) => { - return isTypeAssignableTo(getBaseConstraintOrType(s), getBaseConstraintOrType(target.types[i])) ? s : getStringLikeTypeForType(s); - }) : inferFromLiteralPartsToTemplateLiteral(source.texts, source.types, target) : void 0; - } - function isTypeMatchedByTemplateLiteralType(source, target) { - const inferences = inferTypesFromTemplateLiteralType(source, target); - return !!inferences && every(inferences, (r, i) => isValidTypeForTemplateLiteralPlaceholder(r, target.types[i])); - } - function getStringLikeTypeForType(type) { - return type.flags & (1 /* Any */ | 402653316 /* StringLike */) ? type : getTemplateLiteralType(["", ""], [type]); - } - function inferFromLiteralPartsToTemplateLiteral(sourceTexts, sourceTypes, target) { - const lastSourceIndex = sourceTexts.length - 1; - const sourceStartText = sourceTexts[0]; - const sourceEndText = sourceTexts[lastSourceIndex]; - const targetTexts = target.texts; - const lastTargetIndex = targetTexts.length - 1; - const targetStartText = targetTexts[0]; - const targetEndText = targetTexts[lastTargetIndex]; - if (lastSourceIndex === 0 && sourceStartText.length < targetStartText.length + targetEndText.length || !sourceStartText.startsWith(targetStartText) || !sourceEndText.endsWith(targetEndText)) return void 0; - const remainingEndText = sourceEndText.slice(0, sourceEndText.length - targetEndText.length); - const matches = []; - let seg = 0; - let pos = targetStartText.length; - for (let i = 1; i < lastTargetIndex; i++) { - const delim = targetTexts[i]; - if (delim.length > 0) { - let s = seg; - let p = pos; - while (true) { - p = getSourceText(s).indexOf(delim, p); - if (p >= 0) break; - s++; - if (s === sourceTexts.length) return void 0; - p = 0; - } - addMatch(s, p); - pos += delim.length; - } else if (pos < getSourceText(seg).length) { - addMatch(seg, pos + 1); - } else if (seg < lastSourceIndex) { - addMatch(seg + 1, 0); - } else { - return void 0; - } - } - addMatch(lastSourceIndex, getSourceText(lastSourceIndex).length); - return matches; - function getSourceText(index) { - return index < lastSourceIndex ? sourceTexts[index] : remainingEndText; - } - function addMatch(s, p) { - const matchType = s === seg ? getStringLiteralType(getSourceText(s).slice(pos, p)) : getTemplateLiteralType( - [sourceTexts[seg].slice(pos), ...sourceTexts.slice(seg + 1, s), getSourceText(s).slice(0, p)], - sourceTypes.slice(seg, s) - ); - matches.push(matchType); - seg = s; - pos = p; - } - } - function isTupleOfSelf(typeParameter, type) { - return isTupleType(type) && getTupleElementType(type, 0) === getIndexedAccessType(typeParameter, getNumberLiteralType(0)) && !getTypeOfPropertyOfType(type, "1"); - } - function inferTypes(inferences, originalSource, originalTarget, priority = 0 /* None */, contravariant = false) { - let bivariant = false; - let propagationType; - let inferencePriority = 2048 /* MaxValue */; - let visited; - let sourceStack; - let targetStack; - let expandingFlags = 0 /* None */; - inferFromTypes(originalSource, originalTarget); - function inferFromTypes(source, target) { - if (!couldContainTypeVariables(target) || isNoInferType(target)) { - return; - } - if (source === wildcardType || source === blockedStringType) { - const savePropagationType = propagationType; - propagationType = source; - inferFromTypes(target, target); - propagationType = savePropagationType; - return; - } - if (source.aliasSymbol && source.aliasSymbol === target.aliasSymbol) { - if (source.aliasTypeArguments) { - const params = getSymbolLinks(source.aliasSymbol).typeParameters; - const minParams = getMinTypeArgumentCount(params); - const sourceTypes = fillMissingTypeArguments(source.aliasTypeArguments, params, minParams, isInJSFile(source.aliasSymbol.valueDeclaration)); - const targetTypes = fillMissingTypeArguments(target.aliasTypeArguments, params, minParams, isInJSFile(source.aliasSymbol.valueDeclaration)); - inferFromTypeArguments(sourceTypes, targetTypes, getAliasVariances(source.aliasSymbol)); - } - return; - } - if (source === target && source.flags & 3145728 /* UnionOrIntersection */) { - for (const t of source.types) { - inferFromTypes(t, t); - } - return; - } - if (target.flags & 1048576 /* Union */) { - const [tempSources, tempTargets] = inferFromMatchingTypes(source.flags & 1048576 /* Union */ ? source.types : [source], target.types, isTypeOrBaseIdenticalTo); - const [sources, targets] = inferFromMatchingTypes(tempSources, tempTargets, isTypeCloselyMatchedBy); - if (targets.length === 0) { - return; - } - target = getUnionType(targets); - if (sources.length === 0) { - inferWithPriority(source, target, 1 /* NakedTypeVariable */); - return; - } - source = getUnionType(sources); - } else if (target.flags & 2097152 /* Intersection */ && !every(target.types, isNonGenericObjectType)) { - if (!(source.flags & 1048576 /* Union */)) { - const [sources, targets] = inferFromMatchingTypes(source.flags & 2097152 /* Intersection */ ? source.types : [source], target.types, isTypeIdenticalTo); - if (sources.length === 0 || targets.length === 0) { - return; - } - source = getIntersectionType(sources); - target = getIntersectionType(targets); - } - } - if (target.flags & (8388608 /* IndexedAccess */ | 33554432 /* Substitution */)) { - if (isNoInferType(target)) { - return; - } - target = getActualTypeVariable(target); - } - if (target.flags & 8650752 /* TypeVariable */) { - if (isFromInferenceBlockedSource(source)) { - return; - } - const inference = getInferenceInfoForType(target); - if (inference) { - if (getObjectFlags(source) & 262144 /* NonInferrableType */ || source === nonInferrableAnyType) { - return; - } - if (!inference.isFixed) { - const candidate = propagationType || source; - if (candidate === blockedStringType) { - return; - } - if (inference.priority === void 0 || priority < inference.priority) { - inference.candidates = void 0; - inference.contraCandidates = void 0; - inference.topLevel = true; - inference.priority = priority; - } - if (priority === inference.priority) { - if (isTupleOfSelf(inference.typeParameter, candidate)) { - return; - } - if (contravariant && !bivariant) { - if (!contains(inference.contraCandidates, candidate)) { - inference.contraCandidates = append(inference.contraCandidates, candidate); - clearCachedInferences(inferences); - } - } else if (!contains(inference.candidates, candidate)) { - inference.candidates = append(inference.candidates, candidate); - clearCachedInferences(inferences); - } - } - if (!(priority & 128 /* ReturnType */) && target.flags & 262144 /* TypeParameter */ && inference.topLevel && !isTypeParameterAtTopLevel(originalTarget, target)) { - inference.topLevel = false; - clearCachedInferences(inferences); - } - } - inferencePriority = Math.min(inferencePriority, priority); - return; - } - const simplified = getSimplifiedType( - target, - /*writing*/ - false - ); - if (simplified !== target) { - inferFromTypes(source, simplified); - } else if (target.flags & 8388608 /* IndexedAccess */) { - const indexType = getSimplifiedType( - target.indexType, - /*writing*/ - false - ); - if (indexType.flags & 465829888 /* Instantiable */) { - const simplified2 = distributeIndexOverObjectType( - getSimplifiedType( - target.objectType, - /*writing*/ - false - ), - indexType, - /*writing*/ - false - ); - if (simplified2 && simplified2 !== target) { - inferFromTypes(source, simplified2); - } - } - } - } - if (getObjectFlags(source) & 4 /* Reference */ && getObjectFlags(target) & 4 /* Reference */ && (source.target === target.target || isArrayType(source) && isArrayType(target)) && !(source.node && target.node)) { - inferFromTypeArguments(getTypeArguments(source), getTypeArguments(target), getVariances(source.target)); - } else if (source.flags & 4194304 /* Index */ && target.flags & 4194304 /* Index */) { - inferFromContravariantTypes(source.type, target.type); - } else if ((isLiteralType(source) || source.flags & 4 /* String */) && target.flags & 4194304 /* Index */) { - const empty = createEmptyObjectTypeFromStringLiteral(source); - inferFromContravariantTypesWithPriority(empty, target.type, 256 /* LiteralKeyof */); - } else if (source.flags & 8388608 /* IndexedAccess */ && target.flags & 8388608 /* IndexedAccess */) { - inferFromTypes(source.objectType, target.objectType); - inferFromTypes(source.indexType, target.indexType); - } else if (source.flags & 268435456 /* StringMapping */ && target.flags & 268435456 /* StringMapping */) { - if (source.symbol === target.symbol) { - inferFromTypes(source.type, target.type); - } - } else if (source.flags & 33554432 /* Substitution */) { - inferFromTypes(source.baseType, target); - inferWithPriority(getSubstitutionIntersection(source), target, 4 /* SubstituteSource */); - } else if (target.flags & 16777216 /* Conditional */) { - invokeOnce(source, target, inferToConditionalType); - } else if (target.flags & 3145728 /* UnionOrIntersection */) { - inferToMultipleTypes(source, target.types, target.flags); - } else if (source.flags & 1048576 /* Union */) { - const sourceTypes = source.types; - for (const sourceType of sourceTypes) { - inferFromTypes(sourceType, target); - } - } else if (target.flags & 134217728 /* TemplateLiteral */) { - inferToTemplateLiteralType(source, target); - } else { - source = getReducedType(source); - if (isGenericMappedType(source) && isGenericMappedType(target)) { - invokeOnce(source, target, inferFromGenericMappedTypes); - } - if (!(priority & 512 /* NoConstraints */ && source.flags & (2097152 /* Intersection */ | 465829888 /* Instantiable */))) { - const apparentSource = getApparentType(source); - if (apparentSource !== source && !(apparentSource.flags & (524288 /* Object */ | 2097152 /* Intersection */))) { - return inferFromTypes(apparentSource, target); - } - source = apparentSource; - } - if (source.flags & (524288 /* Object */ | 2097152 /* Intersection */)) { - invokeOnce(source, target, inferFromObjectTypes); - } - } - } - function inferWithPriority(source, target, newPriority) { - const savePriority = priority; - priority |= newPriority; - inferFromTypes(source, target); - priority = savePriority; - } - function inferFromContravariantTypesWithPriority(source, target, newPriority) { - const savePriority = priority; - priority |= newPriority; - inferFromContravariantTypes(source, target); - priority = savePriority; - } - function inferToMultipleTypesWithPriority(source, targets, targetFlags, newPriority) { - const savePriority = priority; - priority |= newPriority; - inferToMultipleTypes(source, targets, targetFlags); - priority = savePriority; - } - function invokeOnce(source, target, action) { - const key = source.id + "," + target.id; - const status = visited && visited.get(key); - if (status !== void 0) { - inferencePriority = Math.min(inferencePriority, status); - return; - } - (visited || (visited = /* @__PURE__ */ new Map())).set(key, -1 /* Circularity */); - const saveInferencePriority = inferencePriority; - inferencePriority = 2048 /* MaxValue */; - const saveExpandingFlags = expandingFlags; - (sourceStack ?? (sourceStack = [])).push(source); - (targetStack ?? (targetStack = [])).push(target); - if (isDeeplyNestedType(source, sourceStack, sourceStack.length, 2)) expandingFlags |= 1 /* Source */; - if (isDeeplyNestedType(target, targetStack, targetStack.length, 2)) expandingFlags |= 2 /* Target */; - if (expandingFlags !== 3 /* Both */) { - action(source, target); - } else { - inferencePriority = -1 /* Circularity */; - } - targetStack.pop(); - sourceStack.pop(); - expandingFlags = saveExpandingFlags; - visited.set(key, inferencePriority); - inferencePriority = Math.min(inferencePriority, saveInferencePriority); - } - function inferFromMatchingTypes(sources, targets, matches) { - let matchedSources; - let matchedTargets; - for (const t of targets) { - for (const s of sources) { - if (matches(s, t)) { - inferFromTypes(s, t); - matchedSources = appendIfUnique(matchedSources, s); - matchedTargets = appendIfUnique(matchedTargets, t); - } - } - } - return [ - matchedSources ? filter(sources, (t) => !contains(matchedSources, t)) : sources, - matchedTargets ? filter(targets, (t) => !contains(matchedTargets, t)) : targets - ]; - } - function inferFromTypeArguments(sourceTypes, targetTypes, variances) { - const count = sourceTypes.length < targetTypes.length ? sourceTypes.length : targetTypes.length; - for (let i = 0; i < count; i++) { - if (i < variances.length && (variances[i] & 7 /* VarianceMask */) === 2 /* Contravariant */) { - inferFromContravariantTypes(sourceTypes[i], targetTypes[i]); - } else { - inferFromTypes(sourceTypes[i], targetTypes[i]); - } - } - } - function inferFromContravariantTypes(source, target) { - contravariant = !contravariant; - inferFromTypes(source, target); - contravariant = !contravariant; - } - function inferFromContravariantTypesIfStrictFunctionTypes(source, target) { - if (strictFunctionTypes || priority & 1024 /* AlwaysStrict */) { - inferFromContravariantTypes(source, target); - } else { - inferFromTypes(source, target); - } - } - function getInferenceInfoForType(type) { - if (type.flags & 8650752 /* TypeVariable */) { - for (const inference of inferences) { - if (type === inference.typeParameter) { - return inference; - } - } - } - return void 0; - } - function getSingleTypeVariableFromIntersectionTypes(types) { - let typeVariable; - for (const type of types) { - const t = type.flags & 2097152 /* Intersection */ && find(type.types, (t2) => !!getInferenceInfoForType(t2)); - if (!t || typeVariable && t !== typeVariable) { - return void 0; - } - typeVariable = t; - } - return typeVariable; - } - function inferToMultipleTypes(source, targets, targetFlags) { - let typeVariableCount = 0; - if (targetFlags & 1048576 /* Union */) { - let nakedTypeVariable; - const sources = source.flags & 1048576 /* Union */ ? source.types : [source]; - const matched = new Array(sources.length); - let inferenceCircularity = false; - for (const t of targets) { - if (getInferenceInfoForType(t)) { - nakedTypeVariable = t; - typeVariableCount++; - } else { - for (let i = 0; i < sources.length; i++) { - const saveInferencePriority = inferencePriority; - inferencePriority = 2048 /* MaxValue */; - inferFromTypes(sources[i], t); - if (inferencePriority === priority) matched[i] = true; - inferenceCircularity = inferenceCircularity || inferencePriority === -1 /* Circularity */; - inferencePriority = Math.min(inferencePriority, saveInferencePriority); - } - } - } - if (typeVariableCount === 0) { - const intersectionTypeVariable = getSingleTypeVariableFromIntersectionTypes(targets); - if (intersectionTypeVariable) { - inferWithPriority(source, intersectionTypeVariable, 1 /* NakedTypeVariable */); - } - return; - } - if (typeVariableCount === 1 && !inferenceCircularity) { - const unmatched = flatMap(sources, (s, i) => matched[i] ? void 0 : s); - if (unmatched.length) { - inferFromTypes(getUnionType(unmatched), nakedTypeVariable); - return; - } - } - } else { - for (const t of targets) { - if (getInferenceInfoForType(t)) { - typeVariableCount++; - } else { - inferFromTypes(source, t); - } - } - } - if (targetFlags & 2097152 /* Intersection */ ? typeVariableCount === 1 : typeVariableCount > 0) { - for (const t of targets) { - if (getInferenceInfoForType(t)) { - inferWithPriority(source, t, 1 /* NakedTypeVariable */); - } - } - } - } - function inferToMappedType(source, target, constraintType) { - if (constraintType.flags & 1048576 /* Union */ || constraintType.flags & 2097152 /* Intersection */) { - let result = false; - for (const type of constraintType.types) { - result = inferToMappedType(source, target, type) || result; - } - return result; - } - if (constraintType.flags & 4194304 /* Index */) { - const inference = getInferenceInfoForType(constraintType.type); - if (inference && !inference.isFixed && !isFromInferenceBlockedSource(source)) { - const inferredType = inferTypeForHomomorphicMappedType(source, target, constraintType); - if (inferredType) { - inferWithPriority( - inferredType, - inference.typeParameter, - getObjectFlags(source) & 262144 /* NonInferrableType */ ? 16 /* PartialHomomorphicMappedType */ : 8 /* HomomorphicMappedType */ - ); - } - } - return true; - } - if (constraintType.flags & 262144 /* TypeParameter */) { - inferWithPriority(getIndexType( - source, - /*indexFlags*/ - !!source.pattern ? 2 /* NoIndexSignatures */ : 0 /* None */ - ), constraintType, 32 /* MappedTypeConstraint */); - const extendedConstraint = getConstraintOfType(constraintType); - if (extendedConstraint && inferToMappedType(source, target, extendedConstraint)) { - return true; - } - const propTypes = map(getPropertiesOfType(source), getTypeOfSymbol); - const indexTypes = map(getIndexInfosOfType(source), (info) => info !== enumNumberIndexInfo ? info.type : neverType); - inferFromTypes(getUnionType(concatenate(propTypes, indexTypes)), getTemplateTypeFromMappedType(target)); - return true; - } - return false; - } - function inferToConditionalType(source, target) { - if (source.flags & 16777216 /* Conditional */) { - inferFromTypes(source.checkType, target.checkType); - inferFromTypes(source.extendsType, target.extendsType); - inferFromTypes(getTrueTypeFromConditionalType(source), getTrueTypeFromConditionalType(target)); - inferFromTypes(getFalseTypeFromConditionalType(source), getFalseTypeFromConditionalType(target)); - } else { - const targetTypes = [getTrueTypeFromConditionalType(target), getFalseTypeFromConditionalType(target)]; - inferToMultipleTypesWithPriority(source, targetTypes, target.flags, contravariant ? 64 /* ContravariantConditional */ : 0); - } - } - function inferToTemplateLiteralType(source, target) { - const matches = inferTypesFromTemplateLiteralType(source, target); - const types = target.types; - if (matches || every(target.texts, (s) => s.length === 0)) { - for (let i = 0; i < types.length; i++) { - const source2 = matches ? matches[i] : neverType; - const target2 = types[i]; - if (source2.flags & 128 /* StringLiteral */ && target2.flags & 8650752 /* TypeVariable */) { - const inferenceContext = getInferenceInfoForType(target2); - const constraint = inferenceContext ? getBaseConstraintOfType(inferenceContext.typeParameter) : void 0; - if (constraint && !isTypeAny(constraint)) { - const constraintTypes = constraint.flags & 1048576 /* Union */ ? constraint.types : [constraint]; - let allTypeFlags = reduceLeft(constraintTypes, (flags, t) => flags | t.flags, 0); - if (!(allTypeFlags & 4 /* String */)) { - const str = source2.value; - if (allTypeFlags & 296 /* NumberLike */ && !isValidNumberString( - str, - /*roundTripOnly*/ - true - )) { - allTypeFlags &= ~296 /* NumberLike */; - } - if (allTypeFlags & 2112 /* BigIntLike */ && !isValidBigIntString( - str, - /*roundTripOnly*/ - true - )) { - allTypeFlags &= ~2112 /* BigIntLike */; - } - const matchingType = reduceLeft(constraintTypes, (left, right) => !(right.flags & allTypeFlags) ? left : left.flags & 4 /* String */ ? left : right.flags & 4 /* String */ ? source2 : left.flags & 134217728 /* TemplateLiteral */ ? left : right.flags & 134217728 /* TemplateLiteral */ && isTypeMatchedByTemplateLiteralType(source2, right) ? source2 : left.flags & 268435456 /* StringMapping */ ? left : right.flags & 268435456 /* StringMapping */ && str === applyStringMapping(right.symbol, str) ? source2 : left.flags & 128 /* StringLiteral */ ? left : right.flags & 128 /* StringLiteral */ && right.value === str ? right : left.flags & 8 /* Number */ ? left : right.flags & 8 /* Number */ ? getNumberLiteralType(+str) : left.flags & 32 /* Enum */ ? left : right.flags & 32 /* Enum */ ? getNumberLiteralType(+str) : left.flags & 256 /* NumberLiteral */ ? left : right.flags & 256 /* NumberLiteral */ && right.value === +str ? right : left.flags & 64 /* BigInt */ ? left : right.flags & 64 /* BigInt */ ? parseBigIntLiteralType(str) : left.flags & 2048 /* BigIntLiteral */ ? left : right.flags & 2048 /* BigIntLiteral */ && pseudoBigIntToString(right.value) === str ? right : left.flags & 16 /* Boolean */ ? left : right.flags & 16 /* Boolean */ ? str === "true" ? trueType : str === "false" ? falseType : booleanType : left.flags & 512 /* BooleanLiteral */ ? left : right.flags & 512 /* BooleanLiteral */ && right.intrinsicName === str ? right : left.flags & 32768 /* Undefined */ ? left : right.flags & 32768 /* Undefined */ && right.intrinsicName === str ? right : left.flags & 65536 /* Null */ ? left : right.flags & 65536 /* Null */ && right.intrinsicName === str ? right : left, neverType); - if (!(matchingType.flags & 131072 /* Never */)) { - inferFromTypes(matchingType, target2); - continue; - } - } - } - } - inferFromTypes(source2, target2); - } - } - } - function inferFromGenericMappedTypes(source, target) { - inferFromTypes(getConstraintTypeFromMappedType(source), getConstraintTypeFromMappedType(target)); - inferFromTypes(getTemplateTypeFromMappedType(source), getTemplateTypeFromMappedType(target)); - const sourceNameType = getNameTypeFromMappedType(source); - const targetNameType = getNameTypeFromMappedType(target); - if (sourceNameType && targetNameType) inferFromTypes(sourceNameType, targetNameType); - } - function inferFromObjectTypes(source, target) { - var _a, _b; - if (getObjectFlags(source) & 4 /* Reference */ && getObjectFlags(target) & 4 /* Reference */ && (source.target === target.target || isArrayType(source) && isArrayType(target))) { - inferFromTypeArguments(getTypeArguments(source), getTypeArguments(target), getVariances(source.target)); - return; - } - if (isGenericMappedType(source) && isGenericMappedType(target)) { - inferFromGenericMappedTypes(source, target); - } - if (getObjectFlags(target) & 32 /* Mapped */ && !target.declaration.nameType) { - const constraintType = getConstraintTypeFromMappedType(target); - if (inferToMappedType(source, target, constraintType)) { - return; - } - } - if (!typesDefinitelyUnrelated(source, target)) { - if (isArrayOrTupleType(source)) { - if (isTupleType(target)) { - const sourceArity = getTypeReferenceArity(source); - const targetArity = getTypeReferenceArity(target); - const elementTypes = getTypeArguments(target); - const elementFlags = target.target.elementFlags; - if (isTupleType(source) && isTupleTypeStructureMatching(source, target)) { - for (let i = 0; i < targetArity; i++) { - inferFromTypes(getTypeArguments(source)[i], elementTypes[i]); - } - return; - } - const startLength = isTupleType(source) ? Math.min(source.target.fixedLength, target.target.fixedLength) : 0; - const endLength = Math.min(isTupleType(source) ? getEndElementCount(source.target, 3 /* Fixed */) : 0, target.target.combinedFlags & 12 /* Variable */ ? getEndElementCount(target.target, 3 /* Fixed */) : 0); - for (let i = 0; i < startLength; i++) { - inferFromTypes(getTypeArguments(source)[i], elementTypes[i]); - } - if (!isTupleType(source) || sourceArity - startLength - endLength === 1 && source.target.elementFlags[startLength] & 4 /* Rest */) { - const restType = getTypeArguments(source)[startLength]; - for (let i = startLength; i < targetArity - endLength; i++) { - inferFromTypes(elementFlags[i] & 8 /* Variadic */ ? createArrayType(restType) : restType, elementTypes[i]); - } - } else { - const middleLength = targetArity - startLength - endLength; - if (middleLength === 2) { - if (elementFlags[startLength] & elementFlags[startLength + 1] & 8 /* Variadic */) { - const targetInfo = getInferenceInfoForType(elementTypes[startLength]); - if (targetInfo && targetInfo.impliedArity !== void 0) { - inferFromTypes(sliceTupleType(source, startLength, endLength + sourceArity - targetInfo.impliedArity), elementTypes[startLength]); - inferFromTypes(sliceTupleType(source, startLength + targetInfo.impliedArity, endLength), elementTypes[startLength + 1]); - } - } else if (elementFlags[startLength] & 8 /* Variadic */ && elementFlags[startLength + 1] & 4 /* Rest */) { - const param = (_a = getInferenceInfoForType(elementTypes[startLength])) == null ? void 0 : _a.typeParameter; - const constraint = param && getBaseConstraintOfType(param); - if (constraint && isTupleType(constraint) && !(constraint.target.combinedFlags & 12 /* Variable */)) { - const impliedArity = constraint.target.fixedLength; - inferFromTypes(sliceTupleType(source, startLength, sourceArity - (startLength + impliedArity)), elementTypes[startLength]); - inferFromTypes(getElementTypeOfSliceOfTupleType(source, startLength + impliedArity, endLength), elementTypes[startLength + 1]); - } - } else if (elementFlags[startLength] & 4 /* Rest */ && elementFlags[startLength + 1] & 8 /* Variadic */) { - const param = (_b = getInferenceInfoForType(elementTypes[startLength + 1])) == null ? void 0 : _b.typeParameter; - const constraint = param && getBaseConstraintOfType(param); - if (constraint && isTupleType(constraint) && !(constraint.target.combinedFlags & 12 /* Variable */)) { - const impliedArity = constraint.target.fixedLength; - const endIndex = sourceArity - getEndElementCount(target.target, 3 /* Fixed */); - const startIndex = endIndex - impliedArity; - const trailingSlice = createTupleType( - getTypeArguments(source).slice(startIndex, endIndex), - source.target.elementFlags.slice(startIndex, endIndex), - /*readonly*/ - false, - source.target.labeledElementDeclarations && source.target.labeledElementDeclarations.slice(startIndex, endIndex) - ); - inferFromTypes(getElementTypeOfSliceOfTupleType(source, startLength, endLength + impliedArity), elementTypes[startLength]); - inferFromTypes(trailingSlice, elementTypes[startLength + 1]); - } - } - } else if (middleLength === 1 && elementFlags[startLength] & 8 /* Variadic */) { - const endsInOptional = target.target.elementFlags[targetArity - 1] & 2 /* Optional */; - const sourceSlice = sliceTupleType(source, startLength, endLength); - inferWithPriority(sourceSlice, elementTypes[startLength], endsInOptional ? 2 /* SpeculativeTuple */ : 0); - } else if (middleLength === 1 && elementFlags[startLength] & 4 /* Rest */) { - const restType = getElementTypeOfSliceOfTupleType(source, startLength, endLength); - if (restType) { - inferFromTypes(restType, elementTypes[startLength]); - } - } - } - for (let i = 0; i < endLength; i++) { - inferFromTypes(getTypeArguments(source)[sourceArity - i - 1], elementTypes[targetArity - i - 1]); - } - return; - } - if (isArrayType(target)) { - inferFromIndexTypes(source, target); - return; - } - } - inferFromProperties(source, target); - inferFromSignatures(source, target, 0 /* Call */); - inferFromSignatures(source, target, 1 /* Construct */); - inferFromIndexTypes(source, target); - } - } - function inferFromProperties(source, target) { - const properties = getPropertiesOfObjectType(target); - for (const targetProp of properties) { - const sourceProp = getPropertyOfType(source, targetProp.escapedName); - if (sourceProp && !some(sourceProp.declarations, hasSkipDirectInferenceFlag)) { - inferFromTypes( - removeMissingType(getTypeOfSymbol(sourceProp), !!(sourceProp.flags & 16777216 /* Optional */)), - removeMissingType(getTypeOfSymbol(targetProp), !!(targetProp.flags & 16777216 /* Optional */)) - ); - } - } - } - function inferFromSignatures(source, target, kind) { - const sourceSignatures = getSignaturesOfType(source, kind); - const sourceLen = sourceSignatures.length; - if (sourceLen > 0) { - const targetSignatures = getSignaturesOfType(target, kind); - const targetLen = targetSignatures.length; - for (let i = 0; i < targetLen; i++) { - const sourceIndex = Math.max(sourceLen - targetLen + i, 0); - inferFromSignature(getBaseSignature(sourceSignatures[sourceIndex]), getErasedSignature(targetSignatures[i])); - } - } - } - function inferFromSignature(source, target) { - if (!(source.flags & 64 /* IsNonInferrable */)) { - const saveBivariant = bivariant; - const kind = target.declaration ? target.declaration.kind : 0 /* Unknown */; - bivariant = bivariant || kind === 174 /* MethodDeclaration */ || kind === 173 /* MethodSignature */ || kind === 176 /* Constructor */; - applyToParameterTypes(source, target, inferFromContravariantTypesIfStrictFunctionTypes); - bivariant = saveBivariant; - } - applyToReturnTypes(source, target, inferFromTypes); - } - function inferFromIndexTypes(source, target) { - const priority2 = getObjectFlags(source) & getObjectFlags(target) & 32 /* Mapped */ ? 8 /* HomomorphicMappedType */ : 0; - const indexInfos = getIndexInfosOfType(target); - if (isObjectTypeWithInferableIndex(source)) { - for (const targetInfo of indexInfos) { - const propTypes = []; - for (const prop of getPropertiesOfType(source)) { - if (isApplicableIndexType(getLiteralTypeFromProperty(prop, 8576 /* StringOrNumberLiteralOrUnique */), targetInfo.keyType)) { - const propType = getTypeOfSymbol(prop); - propTypes.push(prop.flags & 16777216 /* Optional */ ? removeMissingOrUndefinedType(propType) : propType); - } - } - for (const info of getIndexInfosOfType(source)) { - if (isApplicableIndexType(info.keyType, targetInfo.keyType)) { - propTypes.push(info.type); - } - } - if (propTypes.length) { - inferWithPriority(getUnionType(propTypes), targetInfo.type, priority2); - } - } - } - for (const targetInfo of indexInfos) { - const sourceInfo = getApplicableIndexInfo(source, targetInfo.keyType); - if (sourceInfo) { - inferWithPriority(sourceInfo.type, targetInfo.type, priority2); - } - } - } - } - function isTypeOrBaseIdenticalTo(s, t) { - return t === missingType ? s === t : isTypeIdenticalTo(s, t) || !!(t.flags & 4 /* String */ && s.flags & 128 /* StringLiteral */ || t.flags & 8 /* Number */ && s.flags & 256 /* NumberLiteral */); - } - function isTypeCloselyMatchedBy(s, t) { - return !!(s.flags & 524288 /* Object */ && t.flags & 524288 /* Object */ && s.symbol && s.symbol === t.symbol || s.aliasSymbol && s.aliasTypeArguments && s.aliasSymbol === t.aliasSymbol); - } - function hasPrimitiveConstraint(type) { - const constraint = getConstraintOfTypeParameter(type); - return !!constraint && maybeTypeOfKind(constraint.flags & 16777216 /* Conditional */ ? getDefaultConstraintOfConditionalType(constraint) : constraint, 402784252 /* Primitive */ | 4194304 /* Index */ | 134217728 /* TemplateLiteral */ | 268435456 /* StringMapping */); - } - function isObjectLiteralType(type) { - return !!(getObjectFlags(type) & 128 /* ObjectLiteral */); - } - function isObjectOrArrayLiteralType(type) { - return !!(getObjectFlags(type) & (128 /* ObjectLiteral */ | 16384 /* ArrayLiteral */)); - } - function unionObjectAndArrayLiteralCandidates(candidates) { - if (candidates.length > 1) { - const objectLiterals = filter(candidates, isObjectOrArrayLiteralType); - if (objectLiterals.length) { - const literalsType = getUnionType(objectLiterals, 2 /* Subtype */); - return concatenate(filter(candidates, (t) => !isObjectOrArrayLiteralType(t)), [literalsType]); - } - } - return candidates; - } - function getContravariantInference(inference) { - return inference.priority & 416 /* PriorityImpliesCombination */ ? getIntersectionType(inference.contraCandidates) : getCommonSubtype(inference.contraCandidates); - } - function getCovariantInference(inference, signature) { - const candidates = unionObjectAndArrayLiteralCandidates(inference.candidates); - const primitiveConstraint = hasPrimitiveConstraint(inference.typeParameter) || isConstTypeVariable(inference.typeParameter); - const widenLiteralTypes = !primitiveConstraint && inference.topLevel && (inference.isFixed || !isTypeParameterAtTopLevelInReturnType(signature, inference.typeParameter)); - const baseCandidates = primitiveConstraint ? sameMap(candidates, getRegularTypeOfLiteralType) : widenLiteralTypes ? sameMap(candidates, getWidenedLiteralType) : candidates; - const unwidenedType = inference.priority & 416 /* PriorityImpliesCombination */ ? getUnionType(baseCandidates, 2 /* Subtype */) : getCommonSupertype(baseCandidates); - return getWidenedType(unwidenedType); - } - function getInferredType(context, index) { - const inference = context.inferences[index]; - if (!inference.inferredType) { - let inferredType; - let fallbackType; - if (context.signature) { - const inferredCovariantType = inference.candidates ? getCovariantInference(inference, context.signature) : void 0; - const inferredContravariantType = inference.contraCandidates ? getContravariantInference(inference) : void 0; - if (inferredCovariantType || inferredContravariantType) { - const preferCovariantType = inferredCovariantType && (!inferredContravariantType || !(inferredCovariantType.flags & (131072 /* Never */ | 1 /* Any */)) && some(inference.contraCandidates, (t) => isTypeAssignableTo(inferredCovariantType, t)) && every(context.inferences, (other) => other !== inference && getConstraintOfTypeParameter(other.typeParameter) !== inference.typeParameter || every(other.candidates, (t) => isTypeAssignableTo(t, inferredCovariantType)))); - inferredType = preferCovariantType ? inferredCovariantType : inferredContravariantType; - fallbackType = preferCovariantType ? inferredContravariantType : inferredCovariantType; - } else if (context.flags & 1 /* NoDefault */) { - inferredType = silentNeverType; - } else { - const defaultType = getDefaultFromTypeParameter(inference.typeParameter); - if (defaultType) { - inferredType = instantiateType(defaultType, mergeTypeMappers(createBackreferenceMapper(context, index), context.nonFixingMapper)); - } - } - } else { - inferredType = getTypeFromInference(inference); - } - inference.inferredType = inferredType || getDefaultTypeArgumentType(!!(context.flags & 2 /* AnyDefault */)); - const constraint = getConstraintOfTypeParameter(inference.typeParameter); - if (constraint) { - const instantiatedConstraint = instantiateType(constraint, context.nonFixingMapper); - if (!inferredType || !context.compareTypes(inferredType, getTypeWithThisArgument(instantiatedConstraint, inferredType))) { - inference.inferredType = fallbackType && context.compareTypes(fallbackType, getTypeWithThisArgument(instantiatedConstraint, fallbackType)) ? fallbackType : instantiatedConstraint; - } - } - } - return inference.inferredType; - } - function getDefaultTypeArgumentType(isInJavaScriptFile) { - return isInJavaScriptFile ? anyType : unknownType; - } - function getInferredTypes(context) { - const result = []; - for (let i = 0; i < context.inferences.length; i++) { - result.push(getInferredType(context, i)); - } - return result; - } - function getCannotFindNameDiagnosticForName(node) { - switch (node.escapedText) { - case "document": - case "console": - return Diagnostics.Cannot_find_name_0_Do_you_need_to_change_your_target_library_Try_changing_the_lib_compiler_option_to_include_dom; - case "$": - return compilerOptions.types ? Diagnostics.Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_jQuery_Try_npm_i_save_dev_types_Slashjquery_and_then_add_jquery_to_the_types_field_in_your_tsconfig : Diagnostics.Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_jQuery_Try_npm_i_save_dev_types_Slashjquery; - case "describe": - case "suite": - case "it": - case "test": - return compilerOptions.types ? Diagnostics.Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_a_test_runner_Try_npm_i_save_dev_types_Slashjest_or_npm_i_save_dev_types_Slashmocha_and_then_add_jest_or_mocha_to_the_types_field_in_your_tsconfig : Diagnostics.Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_a_test_runner_Try_npm_i_save_dev_types_Slashjest_or_npm_i_save_dev_types_Slashmocha; - case "process": - case "require": - case "Buffer": - case "module": - return compilerOptions.types ? Diagnostics.Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_node_Try_npm_i_save_dev_types_Slashnode_and_then_add_node_to_the_types_field_in_your_tsconfig : Diagnostics.Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_node_Try_npm_i_save_dev_types_Slashnode; - case "Bun": - return compilerOptions.types ? Diagnostics.Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_Bun_Try_npm_i_save_dev_types_Slashbun_and_then_add_bun_to_the_types_field_in_your_tsconfig : Diagnostics.Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_Bun_Try_npm_i_save_dev_types_Slashbun; - 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 Diagnostics.Cannot_find_name_0_Do_you_need_to_change_your_target_library_Try_changing_the_lib_compiler_option_to_1_or_later; - case "await": - if (isCallExpression(node.parent)) { - return Diagnostics.Cannot_find_name_0_Did_you_mean_to_write_this_in_an_async_function; - } - default: - if (node.parent.kind === 304 /* ShorthandPropertyAssignment */) { - return Diagnostics.No_value_exists_in_scope_for_the_shorthand_property_0_Either_declare_one_or_provide_an_initializer; - } else { - return Diagnostics.Cannot_find_name_0; - } - } - } - function getResolvedSymbol(node) { - const links = getNodeLinks(node); - if (!links.resolvedSymbol) { - links.resolvedSymbol = !nodeIsMissing(node) && resolveName( - node, - node, - 111551 /* Value */ | 1048576 /* ExportValue */, - getCannotFindNameDiagnosticForName(node), - !isWriteOnlyAccess(node), - /*excludeGlobals*/ - false - ) || unknownSymbol; - } - return links.resolvedSymbol; - } - function isInAmbientOrTypeNode(node) { - return !!(node.flags & 33554432 /* Ambient */ || findAncestor(node, (n) => isInterfaceDeclaration(n) || isTypeAliasDeclaration(n) || isTypeLiteralNode(n))); - } - function getFlowCacheKey(node, declaredType, initialType, flowContainer) { - switch (node.kind) { - case 80 /* Identifier */: - if (!isThisInTypeQuery(node)) { - const symbol = getResolvedSymbol(node); - return symbol !== unknownSymbol ? `${flowContainer ? getNodeId(flowContainer) : "-1"}|${getTypeId(declaredType)}|${getTypeId(initialType)}|${getSymbolId(symbol)}` : void 0; - } - case 110 /* ThisKeyword */: - return `0|${flowContainer ? getNodeId(flowContainer) : "-1"}|${getTypeId(declaredType)}|${getTypeId(initialType)}`; - case 235 /* NonNullExpression */: - case 217 /* ParenthesizedExpression */: - return getFlowCacheKey(node.expression, declaredType, initialType, flowContainer); - case 166 /* QualifiedName */: - const left = getFlowCacheKey(node.left, declaredType, initialType, flowContainer); - return left && `${left}.${node.right.escapedText}`; - case 211 /* PropertyAccessExpression */: - case 212 /* ElementAccessExpression */: - const propName = getAccessedPropertyName(node); - if (propName !== void 0) { - const key = getFlowCacheKey(node.expression, declaredType, initialType, flowContainer); - return key && `${key}.${propName}`; - } - if (isElementAccessExpression(node) && isIdentifier(node.argumentExpression)) { - const symbol = getResolvedSymbol(node.argumentExpression); - if (isConstantVariable(symbol) || isParameterOrMutableLocalVariable(symbol) && !isSymbolAssigned(symbol)) { - const key = getFlowCacheKey(node.expression, declaredType, initialType, flowContainer); - return key && `${key}.@${getSymbolId(symbol)}`; - } - } - break; - case 206 /* ObjectBindingPattern */: - case 207 /* ArrayBindingPattern */: - case 262 /* FunctionDeclaration */: - case 218 /* FunctionExpression */: - case 219 /* ArrowFunction */: - case 174 /* MethodDeclaration */: - return `${getNodeId(node)}#${getTypeId(declaredType)}`; - } - return void 0; - } - function isMatchingReference(source, target) { - switch (target.kind) { - case 217 /* ParenthesizedExpression */: - case 235 /* NonNullExpression */: - return isMatchingReference(source, target.expression); - case 226 /* BinaryExpression */: - return isAssignmentExpression(target) && isMatchingReference(source, target.left) || isBinaryExpression(target) && target.operatorToken.kind === 28 /* CommaToken */ && isMatchingReference(source, target.right); - } - switch (source.kind) { - case 236 /* MetaProperty */: - return target.kind === 236 /* MetaProperty */ && source.keywordToken === target.keywordToken && source.name.escapedText === target.name.escapedText; - case 80 /* Identifier */: - case 81 /* PrivateIdentifier */: - return isThisInTypeQuery(source) ? target.kind === 110 /* ThisKeyword */ : target.kind === 80 /* Identifier */ && getResolvedSymbol(source) === getResolvedSymbol(target) || (isVariableDeclaration(target) || isBindingElement(target)) && getExportSymbolOfValueSymbolIfExported(getResolvedSymbol(source)) === getSymbolOfDeclaration(target); - case 110 /* ThisKeyword */: - return target.kind === 110 /* ThisKeyword */; - case 108 /* SuperKeyword */: - return target.kind === 108 /* SuperKeyword */; - case 235 /* NonNullExpression */: - case 217 /* ParenthesizedExpression */: - return isMatchingReference(source.expression, target); - case 211 /* PropertyAccessExpression */: - case 212 /* ElementAccessExpression */: - const sourcePropertyName = getAccessedPropertyName(source); - if (sourcePropertyName !== void 0) { - const targetPropertyName = isAccessExpression(target) ? getAccessedPropertyName(target) : void 0; - if (targetPropertyName !== void 0) { - return targetPropertyName === sourcePropertyName && isMatchingReference(source.expression, target.expression); - } - } - if (isElementAccessExpression(source) && isElementAccessExpression(target) && isIdentifier(source.argumentExpression) && isIdentifier(target.argumentExpression)) { - const symbol = getResolvedSymbol(source.argumentExpression); - if (symbol === getResolvedSymbol(target.argumentExpression) && (isConstantVariable(symbol) || isParameterOrMutableLocalVariable(symbol) && !isSymbolAssigned(symbol))) { - return isMatchingReference(source.expression, target.expression); - } - } - break; - case 166 /* QualifiedName */: - return isAccessExpression(target) && source.right.escapedText === getAccessedPropertyName(target) && isMatchingReference(source.left, target.expression); - case 226 /* BinaryExpression */: - return isBinaryExpression(source) && source.operatorToken.kind === 28 /* CommaToken */ && isMatchingReference(source.right, target); - } - return false; - } - function getAccessedPropertyName(access) { - if (isPropertyAccessExpression(access)) { - return access.name.escapedText; - } - if (isElementAccessExpression(access)) { - return tryGetElementAccessExpressionName(access); - } - if (isBindingElement(access)) { - const name = getDestructuringPropertyName(access); - return name ? escapeLeadingUnderscores(name) : void 0; - } - if (isParameter(access)) { - return "" + access.parent.parameters.indexOf(access); - } - return void 0; - } - function tryGetNameFromType(type) { - return type.flags & 8192 /* UniqueESSymbol */ ? type.escapedName : type.flags & 384 /* StringOrNumberLiteral */ ? escapeLeadingUnderscores("" + type.value) : void 0; - } - function tryGetElementAccessExpressionName(node) { - return isStringOrNumericLiteralLike(node.argumentExpression) ? escapeLeadingUnderscores(node.argumentExpression.text) : isEntityNameExpression(node.argumentExpression) ? tryGetNameFromEntityNameExpression(node.argumentExpression) : void 0; - } - function tryGetNameFromEntityNameExpression(node) { - const symbol = resolveEntityName( - node, - 111551 /* Value */, - /*ignoreErrors*/ - true - ); - if (!symbol || !(isConstantVariable(symbol) || symbol.flags & 8 /* EnumMember */)) return void 0; - const declaration = symbol.valueDeclaration; - if (declaration === void 0) return void 0; - const type = tryGetTypeFromEffectiveTypeNode(declaration); - if (type) { - const name = tryGetNameFromType(type); - if (name !== void 0) { - return name; - } - } - if (hasOnlyExpressionInitializer(declaration) && isBlockScopedNameDeclaredBeforeUse(declaration, node)) { - const initializer = getEffectiveInitializer(declaration); - if (initializer) { - const initializerType = isBindingPattern(declaration.parent) ? getTypeForBindingElement(declaration) : getTypeOfExpression(initializer); - return initializerType && tryGetNameFromType(initializerType); - } - if (isEnumMember(declaration)) { - return getTextOfPropertyName(declaration.name); - } - } - return void 0; - } - function containsMatchingReference(source, target) { - while (isAccessExpression(source)) { - source = source.expression; - if (isMatchingReference(source, target)) { - return true; - } - } - return false; - } - function optionalChainContainsReference(source, target) { - while (isOptionalChain(source)) { - source = source.expression; - if (isMatchingReference(source, target)) { - return true; - } - } - return false; - } - function isDiscriminantProperty(type, name) { - if (type && type.flags & 1048576 /* Union */) { - const prop = getUnionOrIntersectionProperty(type, name); - if (prop && getCheckFlags(prop) & 2 /* SyntheticProperty */) { - if (prop.links.isDiscriminantProperty === void 0) { - prop.links.isDiscriminantProperty = (prop.links.checkFlags & 192 /* Discriminant */) === 192 /* Discriminant */ && !isGenericType(getTypeOfSymbol(prop)); - } - return !!prop.links.isDiscriminantProperty; - } - } - return false; - } - function findDiscriminantProperties(sourceProperties, target) { - let result; - for (const sourceProperty of sourceProperties) { - if (isDiscriminantProperty(target, sourceProperty.escapedName)) { - if (result) { - result.push(sourceProperty); - continue; - } - result = [sourceProperty]; - } - } - return result; - } - function mapTypesByKeyProperty(types, name) { - const map2 = /* @__PURE__ */ new Map(); - let count = 0; - for (const type of types) { - if (type.flags & (524288 /* Object */ | 2097152 /* Intersection */ | 58982400 /* InstantiableNonPrimitive */)) { - const discriminant = getTypeOfPropertyOfType(type, name); - if (discriminant) { - if (!isLiteralType(discriminant)) { - return void 0; - } - let duplicate = false; - forEachType(discriminant, (t) => { - const id = getTypeId(getRegularTypeOfLiteralType(t)); - const existing = map2.get(id); - if (!existing) { - map2.set(id, type); - } else if (existing !== unknownType) { - map2.set(id, unknownType); - duplicate = true; - } - }); - if (!duplicate) count++; - } - } - } - return count >= 10 && count * 2 >= types.length ? map2 : void 0; - } - function getKeyPropertyName(unionType) { - const types = unionType.types; - if (types.length < 10 || getObjectFlags(unionType) & 32768 /* PrimitiveUnion */ || countWhere(types, (t) => !!(t.flags & (524288 /* Object */ | 58982400 /* InstantiableNonPrimitive */))) < 10) { - return void 0; - } - if (unionType.keyPropertyName === void 0) { - const keyPropertyName = forEach(types, (t) => t.flags & (524288 /* Object */ | 58982400 /* InstantiableNonPrimitive */) ? forEach(getPropertiesOfType(t), (p) => isUnitType(getTypeOfSymbol(p)) ? p.escapedName : void 0) : void 0); - const mapByKeyProperty = keyPropertyName && mapTypesByKeyProperty(types, keyPropertyName); - unionType.keyPropertyName = mapByKeyProperty ? keyPropertyName : ""; - unionType.constituentMap = mapByKeyProperty; - } - return unionType.keyPropertyName.length ? unionType.keyPropertyName : void 0; - } - function getConstituentTypeForKeyType(unionType, keyType) { - var _a; - const result = (_a = unionType.constituentMap) == null ? void 0 : _a.get(getTypeId(getRegularTypeOfLiteralType(keyType))); - return result !== unknownType ? result : void 0; - } - function getMatchingUnionConstituentForType(unionType, type) { - const keyPropertyName = getKeyPropertyName(unionType); - const propType = keyPropertyName && getTypeOfPropertyOfType(type, keyPropertyName); - return propType && getConstituentTypeForKeyType(unionType, propType); - } - function getMatchingUnionConstituentForObjectLiteral(unionType, node) { - const keyPropertyName = getKeyPropertyName(unionType); - const propNode = keyPropertyName && find(node.properties, (p) => p.symbol && p.kind === 303 /* PropertyAssignment */ && p.symbol.escapedName === keyPropertyName && isPossiblyDiscriminantValue(p.initializer)); - const propType = propNode && getContextFreeTypeOfExpression(propNode.initializer); - return propType && getConstituentTypeForKeyType(unionType, propType); - } - function isOrContainsMatchingReference(source, target) { - return isMatchingReference(source, target) || containsMatchingReference(source, target); - } - function hasMatchingArgument(expression, reference) { - if (expression.arguments) { - for (const argument of expression.arguments) { - if (isOrContainsMatchingReference(reference, argument) || optionalChainContainsReference(argument, reference)) { - return true; - } - } - } - if (expression.expression.kind === 211 /* PropertyAccessExpression */ && isOrContainsMatchingReference(reference, expression.expression.expression)) { - return true; - } - return false; - } - function getFlowNodeId(flow) { - if (flow.id <= 0) { - flow.id = nextFlowId; - nextFlowId++; - } - return flow.id; - } - function typeMaybeAssignableTo(source, target) { - if (!(source.flags & 1048576 /* Union */)) { - return isTypeAssignableTo(source, target); - } - for (const t of source.types) { - if (isTypeAssignableTo(t, target)) { - return true; - } - } - return false; - } - function getAssignmentReducedType(declaredType, assignedType) { - if (declaredType === assignedType) { - return declaredType; - } - if (assignedType.flags & 131072 /* Never */) { - return assignedType; - } - const key = `A${getTypeId(declaredType)},${getTypeId(assignedType)}`; - return getCachedType(key) ?? setCachedType(key, getAssignmentReducedTypeWorker(declaredType, assignedType)); - } - function getAssignmentReducedTypeWorker(declaredType, assignedType) { - const filteredType = filterType(declaredType, (t) => typeMaybeAssignableTo(assignedType, t)); - const reducedType = assignedType.flags & 512 /* BooleanLiteral */ && isFreshLiteralType(assignedType) ? mapType(filteredType, getFreshTypeOfLiteralType) : filteredType; - return isTypeAssignableTo(assignedType, reducedType) ? reducedType : declaredType; - } - function isFunctionObjectType(type) { - if (getObjectFlags(type) & 256 /* EvolvingArray */) { - return false; - } - const resolved = resolveStructuredTypeMembers(type); - return !!(resolved.callSignatures.length || resolved.constructSignatures.length || resolved.members.get("bind") && isTypeSubtypeOf(type, globalFunctionType)); - } - function getTypeFacts(type, mask) { - return getTypeFactsWorker(type, mask) & mask; - } - function hasTypeFacts(type, mask) { - return getTypeFacts(type, mask) !== 0; - } - function getTypeFactsWorker(type, callerOnlyNeeds) { - if (type.flags & (2097152 /* Intersection */ | 465829888 /* Instantiable */)) { - type = getBaseConstraintOfType(type) || unknownType; - } - const flags = type.flags; - if (flags & (4 /* String */ | 268435456 /* StringMapping */)) { - return strictNullChecks ? 16317953 /* StringStrictFacts */ : 16776705 /* StringFacts */; - } - if (flags & (128 /* StringLiteral */ | 134217728 /* TemplateLiteral */)) { - const isEmpty = flags & 128 /* StringLiteral */ && type.value === ""; - return strictNullChecks ? isEmpty ? 12123649 /* EmptyStringStrictFacts */ : 7929345 /* NonEmptyStringStrictFacts */ : isEmpty ? 12582401 /* EmptyStringFacts */ : 16776705 /* NonEmptyStringFacts */; - } - if (flags & (8 /* Number */ | 32 /* Enum */)) { - return strictNullChecks ? 16317698 /* NumberStrictFacts */ : 16776450 /* NumberFacts */; - } - if (flags & 256 /* NumberLiteral */) { - const isZero = type.value === 0; - return strictNullChecks ? isZero ? 12123394 /* ZeroNumberStrictFacts */ : 7929090 /* NonZeroNumberStrictFacts */ : isZero ? 12582146 /* ZeroNumberFacts */ : 16776450 /* NonZeroNumberFacts */; - } - if (flags & 64 /* BigInt */) { - return strictNullChecks ? 16317188 /* BigIntStrictFacts */ : 16775940 /* BigIntFacts */; - } - if (flags & 2048 /* BigIntLiteral */) { - const isZero = isZeroBigInt(type); - return strictNullChecks ? isZero ? 12122884 /* ZeroBigIntStrictFacts */ : 7928580 /* NonZeroBigIntStrictFacts */ : isZero ? 12581636 /* ZeroBigIntFacts */ : 16775940 /* NonZeroBigIntFacts */; - } - if (flags & 16 /* Boolean */) { - return strictNullChecks ? 16316168 /* BooleanStrictFacts */ : 16774920 /* BooleanFacts */; - } - if (flags & 528 /* BooleanLike */) { - return strictNullChecks ? type === falseType || type === regularFalseType ? 12121864 /* FalseStrictFacts */ : 7927560 /* TrueStrictFacts */ : type === falseType || type === regularFalseType ? 12580616 /* FalseFacts */ : 16774920 /* TrueFacts */; - } - if (flags & 524288 /* Object */) { - const possibleFacts = strictNullChecks ? 83427327 /* EmptyObjectStrictFacts */ | 7880640 /* FunctionStrictFacts */ | 7888800 /* ObjectStrictFacts */ : 83886079 /* EmptyObjectFacts */ | 16728e3 /* FunctionFacts */ | 16736160 /* ObjectFacts */; - if ((callerOnlyNeeds & possibleFacts) === 0) { - return 0; - } - return getObjectFlags(type) & 16 /* Anonymous */ && isEmptyObjectType(type) ? strictNullChecks ? 83427327 /* EmptyObjectStrictFacts */ : 83886079 /* EmptyObjectFacts */ : isFunctionObjectType(type) ? strictNullChecks ? 7880640 /* FunctionStrictFacts */ : 16728e3 /* FunctionFacts */ : strictNullChecks ? 7888800 /* ObjectStrictFacts */ : 16736160 /* ObjectFacts */; - } - if (flags & 16384 /* Void */) { - return 9830144 /* VoidFacts */; - } - if (flags & 32768 /* Undefined */) { - return 26607360 /* UndefinedFacts */; - } - if (flags & 65536 /* Null */) { - return 42917664 /* NullFacts */; - } - if (flags & 12288 /* ESSymbolLike */) { - return strictNullChecks ? 7925520 /* SymbolStrictFacts */ : 16772880 /* SymbolFacts */; - } - if (flags & 67108864 /* NonPrimitive */) { - return strictNullChecks ? 7888800 /* ObjectStrictFacts */ : 16736160 /* ObjectFacts */; - } - if (flags & 131072 /* Never */) { - return 0 /* None */; - } - if (flags & 1048576 /* Union */) { - return reduceLeft(type.types, (facts, t) => facts | getTypeFactsWorker(t, callerOnlyNeeds), 0 /* None */); - } - if (flags & 2097152 /* Intersection */) { - return getIntersectionTypeFacts(type, callerOnlyNeeds); - } - return 83886079 /* UnknownFacts */; - } - function getIntersectionTypeFacts(type, callerOnlyNeeds) { - const ignoreObjects = maybeTypeOfKind(type, 402784252 /* Primitive */); - let oredFacts = 0 /* None */; - let andedFacts = 134217727 /* All */; - for (const t of type.types) { - if (!(ignoreObjects && t.flags & 524288 /* Object */)) { - const f = getTypeFactsWorker(t, callerOnlyNeeds); - oredFacts |= f; - andedFacts &= f; - } - } - return oredFacts & 8256 /* OrFactsMask */ | andedFacts & 134209471 /* AndFactsMask */; - } - function getTypeWithFacts(type, include) { - return filterType(type, (t) => hasTypeFacts(t, include)); - } - function getAdjustedTypeWithFacts(type, facts) { - const reduced = recombineUnknownType(getTypeWithFacts(strictNullChecks && type.flags & 2 /* Unknown */ ? unknownUnionType : type, facts)); - if (strictNullChecks) { - switch (facts) { - case 524288 /* NEUndefined */: - return removeNullableByIntersection(reduced, 65536 /* EQUndefined */, 131072 /* EQNull */, 33554432 /* IsNull */, nullType); - case 1048576 /* NENull */: - return removeNullableByIntersection(reduced, 131072 /* EQNull */, 65536 /* EQUndefined */, 16777216 /* IsUndefined */, undefinedType); - case 2097152 /* NEUndefinedOrNull */: - case 4194304 /* Truthy */: - return mapType(reduced, (t) => hasTypeFacts(t, 262144 /* EQUndefinedOrNull */) ? getGlobalNonNullableTypeInstantiation(t) : t); - } - } - return reduced; - } - function removeNullableByIntersection(type, targetFacts, otherFacts, otherIncludesFacts, otherType) { - const facts = getTypeFacts(type, 65536 /* EQUndefined */ | 131072 /* EQNull */ | 16777216 /* IsUndefined */ | 33554432 /* IsNull */); - if (!(facts & targetFacts)) { - return type; - } - const emptyAndOtherUnion = getUnionType([emptyObjectType, otherType]); - return mapType(type, (t) => hasTypeFacts(t, targetFacts) ? getIntersectionType([t, !(facts & otherIncludesFacts) && hasTypeFacts(t, otherFacts) ? emptyAndOtherUnion : emptyObjectType]) : t); - } - function recombineUnknownType(type) { - return type === unknownUnionType ? unknownType : type; - } - function getTypeWithDefault(type, defaultExpression) { - return defaultExpression ? getUnionType([getNonUndefinedType(type), getTypeOfExpression(defaultExpression)]) : type; - } - function getTypeOfDestructuredProperty(type, name) { - var _a; - const nameType = getLiteralTypeFromPropertyName(name); - if (!isTypeUsableAsPropertyName(nameType)) return errorType; - const text = getPropertyNameFromType(nameType); - return getTypeOfPropertyOfType(type, text) || includeUndefinedInIndexSignature((_a = getApplicableIndexInfoForName(type, text)) == null ? void 0 : _a.type) || errorType; - } - function getTypeOfDestructuredArrayElement(type, index) { - return everyType(type, isTupleLikeType) && getTupleElementType(type, index) || includeUndefinedInIndexSignature(checkIteratedTypeOrElementType( - 65 /* Destructuring */, - type, - undefinedType, - /*errorNode*/ - void 0 - )) || errorType; - } - function includeUndefinedInIndexSignature(type) { - if (!type) return type; - return compilerOptions.noUncheckedIndexedAccess ? getUnionType([type, missingType]) : type; - } - function getTypeOfDestructuredSpreadExpression(type) { - return createArrayType(checkIteratedTypeOrElementType( - 65 /* Destructuring */, - type, - undefinedType, - /*errorNode*/ - void 0 - ) || errorType); - } - function getAssignedTypeOfBinaryExpression(node) { - const isDestructuringDefaultAssignment = node.parent.kind === 209 /* ArrayLiteralExpression */ && isDestructuringAssignmentTarget(node.parent) || node.parent.kind === 303 /* PropertyAssignment */ && isDestructuringAssignmentTarget(node.parent.parent); - return isDestructuringDefaultAssignment ? getTypeWithDefault(getAssignedType(node), node.right) : getTypeOfExpression(node.right); - } - function isDestructuringAssignmentTarget(parent) { - return parent.parent.kind === 226 /* BinaryExpression */ && parent.parent.left === parent || parent.parent.kind === 250 /* ForOfStatement */ && parent.parent.initializer === parent; - } - function getAssignedTypeOfArrayLiteralElement(node, element) { - return getTypeOfDestructuredArrayElement(getAssignedType(node), node.elements.indexOf(element)); - } - function getAssignedTypeOfSpreadExpression(node) { - return getTypeOfDestructuredSpreadExpression(getAssignedType(node.parent)); - } - function getAssignedTypeOfPropertyAssignment(node) { - return getTypeOfDestructuredProperty(getAssignedType(node.parent), node.name); - } - function getAssignedTypeOfShorthandPropertyAssignment(node) { - return getTypeWithDefault(getAssignedTypeOfPropertyAssignment(node), node.objectAssignmentInitializer); - } - function getAssignedType(node) { - const { parent } = node; - switch (parent.kind) { - case 249 /* ForInStatement */: - return stringType; - case 250 /* ForOfStatement */: - return checkRightHandSideOfForOf(parent) || errorType; - case 226 /* BinaryExpression */: - return getAssignedTypeOfBinaryExpression(parent); - case 220 /* DeleteExpression */: - return undefinedType; - case 209 /* ArrayLiteralExpression */: - return getAssignedTypeOfArrayLiteralElement(parent, node); - case 230 /* SpreadElement */: - return getAssignedTypeOfSpreadExpression(parent); - case 303 /* PropertyAssignment */: - return getAssignedTypeOfPropertyAssignment(parent); - case 304 /* ShorthandPropertyAssignment */: - return getAssignedTypeOfShorthandPropertyAssignment(parent); - } - return errorType; - } - function getInitialTypeOfBindingElement(node) { - const pattern = node.parent; - const parentType = getInitialType(pattern.parent); - const type = pattern.kind === 206 /* ObjectBindingPattern */ ? getTypeOfDestructuredProperty(parentType, node.propertyName || node.name) : !node.dotDotDotToken ? getTypeOfDestructuredArrayElement(parentType, pattern.elements.indexOf(node)) : getTypeOfDestructuredSpreadExpression(parentType); - return getTypeWithDefault(type, node.initializer); - } - function getTypeOfInitializer(node) { - const links = getNodeLinks(node); - return links.resolvedType || getTypeOfExpression(node); - } - function getInitialTypeOfVariableDeclaration(node) { - if (node.initializer) { - return getTypeOfInitializer(node.initializer); - } - if (node.parent.parent.kind === 249 /* ForInStatement */) { - return stringType; - } - if (node.parent.parent.kind === 250 /* ForOfStatement */) { - return checkRightHandSideOfForOf(node.parent.parent) || errorType; - } - return errorType; - } - function getInitialType(node) { - return node.kind === 260 /* VariableDeclaration */ ? getInitialTypeOfVariableDeclaration(node) : getInitialTypeOfBindingElement(node); - } - function isEmptyArrayAssignment(node) { - return node.kind === 260 /* VariableDeclaration */ && node.initializer && isEmptyArrayLiteral2(node.initializer) || node.kind !== 208 /* BindingElement */ && node.parent.kind === 226 /* BinaryExpression */ && isEmptyArrayLiteral2(node.parent.right); - } - function getReferenceCandidate(node) { - switch (node.kind) { - case 217 /* ParenthesizedExpression */: - return getReferenceCandidate(node.expression); - case 226 /* BinaryExpression */: - switch (node.operatorToken.kind) { - case 64 /* EqualsToken */: - case 76 /* BarBarEqualsToken */: - case 77 /* AmpersandAmpersandEqualsToken */: - case 78 /* QuestionQuestionEqualsToken */: - return getReferenceCandidate(node.left); - case 28 /* CommaToken */: - return getReferenceCandidate(node.right); - } - } - return node; - } - function getReferenceRoot(node) { - const { parent } = node; - return parent.kind === 217 /* ParenthesizedExpression */ || parent.kind === 226 /* BinaryExpression */ && parent.operatorToken.kind === 64 /* EqualsToken */ && parent.left === node || parent.kind === 226 /* BinaryExpression */ && parent.operatorToken.kind === 28 /* CommaToken */ && parent.right === node ? getReferenceRoot(parent) : node; - } - function getTypeOfSwitchClause(clause) { - if (clause.kind === 296 /* CaseClause */) { - return getRegularTypeOfLiteralType(getTypeOfExpression(clause.expression)); - } - return neverType; - } - function getSwitchClauseTypes(switchStatement) { - const links = getNodeLinks(switchStatement); - if (!links.switchTypes) { - links.switchTypes = []; - for (const clause of switchStatement.caseBlock.clauses) { - links.switchTypes.push(getTypeOfSwitchClause(clause)); - } - } - return links.switchTypes; - } - function getSwitchClauseTypeOfWitnesses(switchStatement) { - if (some(switchStatement.caseBlock.clauses, (clause) => clause.kind === 296 /* CaseClause */ && !isStringLiteralLike(clause.expression))) { - return void 0; - } - const witnesses = []; - for (const clause of switchStatement.caseBlock.clauses) { - const text = clause.kind === 296 /* CaseClause */ ? clause.expression.text : void 0; - witnesses.push(text && !contains(witnesses, text) ? text : void 0); - } - return witnesses; - } - function eachTypeContainedIn(source, types) { - return source.flags & 1048576 /* Union */ ? !forEach(source.types, (t) => !contains(types, t)) : contains(types, source); - } - function isTypeSubsetOf(source, target) { - return !!(source === target || source.flags & 131072 /* Never */ || target.flags & 1048576 /* Union */ && isTypeSubsetOfUnion(source, target)); - } - function isTypeSubsetOfUnion(source, target) { - if (source.flags & 1048576 /* Union */) { - for (const t of source.types) { - if (!containsType(target.types, t)) { - return false; - } - } - return true; - } - if (source.flags & 1056 /* EnumLike */ && getBaseTypeOfEnumLikeType(source) === target) { - return true; - } - return containsType(target.types, source); - } - function forEachType(type, f) { - return type.flags & 1048576 /* Union */ ? forEach(type.types, f) : f(type); - } - function someType(type, f) { - return type.flags & 1048576 /* Union */ ? some(type.types, f) : f(type); - } - function everyType(type, f) { - return type.flags & 1048576 /* Union */ ? every(type.types, f) : f(type); - } - function everyContainedType(type, f) { - return type.flags & 3145728 /* UnionOrIntersection */ ? every(type.types, f) : f(type); - } - function filterType(type, f) { - if (type.flags & 1048576 /* Union */) { - const types = type.types; - const filtered = filter(types, f); - if (filtered === types) { - return type; - } - const origin = type.origin; - let newOrigin; - if (origin && origin.flags & 1048576 /* Union */) { - const originTypes = origin.types; - const originFiltered = filter(originTypes, (t) => !!(t.flags & 1048576 /* Union */) || f(t)); - if (originTypes.length - originFiltered.length === types.length - filtered.length) { - if (originFiltered.length === 1) { - return originFiltered[0]; - } - newOrigin = createOriginUnionOrIntersectionType(1048576 /* Union */, originFiltered); - } - } - return getUnionTypeFromSortedList( - filtered, - type.objectFlags & (32768 /* PrimitiveUnion */ | 16777216 /* ContainsIntersections */), - /*aliasSymbol*/ - void 0, - /*aliasTypeArguments*/ - void 0, - newOrigin - ); - } - return type.flags & 131072 /* Never */ || f(type) ? type : neverType; - } - function removeType(type, targetType) { - return filterType(type, (t) => t !== targetType); - } - function countTypes(type) { - return type.flags & 1048576 /* Union */ ? type.types.length : 1; - } - function mapType(type, mapper, noReductions) { - if (type.flags & 131072 /* Never */) { - return type; - } - if (!(type.flags & 1048576 /* Union */)) { - return mapper(type); - } - const origin = type.origin; - const types = origin && origin.flags & 1048576 /* Union */ ? origin.types : type.types; - let mappedTypes; - let changed = false; - for (const t of types) { - const mapped = t.flags & 1048576 /* Union */ ? mapType(t, mapper, noReductions) : mapper(t); - changed || (changed = t !== mapped); - if (mapped) { - if (!mappedTypes) { - mappedTypes = [mapped]; - } else { - mappedTypes.push(mapped); - } - } - } - return changed ? mappedTypes && getUnionType(mappedTypes, noReductions ? 0 /* None */ : 1 /* Literal */) : type; - } - function mapTypeWithAlias(type, mapper, aliasSymbol, aliasTypeArguments) { - return type.flags & 1048576 /* Union */ && aliasSymbol ? getUnionType(map(type.types, mapper), 1 /* Literal */, aliasSymbol, aliasTypeArguments) : mapType(type, mapper); - } - function extractTypesOfKind(type, kind) { - return filterType(type, (t) => (t.flags & kind) !== 0); - } - function replacePrimitivesWithLiterals(typeWithPrimitives, typeWithLiterals) { - if (maybeTypeOfKind(typeWithPrimitives, 4 /* String */ | 134217728 /* TemplateLiteral */ | 8 /* Number */ | 64 /* BigInt */) && maybeTypeOfKind(typeWithLiterals, 128 /* StringLiteral */ | 134217728 /* TemplateLiteral */ | 268435456 /* StringMapping */ | 256 /* NumberLiteral */ | 2048 /* BigIntLiteral */)) { - return mapType(typeWithPrimitives, (t) => t.flags & 4 /* String */ ? extractTypesOfKind(typeWithLiterals, 4 /* String */ | 128 /* StringLiteral */ | 134217728 /* TemplateLiteral */ | 268435456 /* StringMapping */) : isPatternLiteralType(t) && !maybeTypeOfKind(typeWithLiterals, 4 /* String */ | 134217728 /* TemplateLiteral */ | 268435456 /* StringMapping */) ? extractTypesOfKind(typeWithLiterals, 128 /* StringLiteral */) : t.flags & 8 /* Number */ ? extractTypesOfKind(typeWithLiterals, 8 /* Number */ | 256 /* NumberLiteral */) : t.flags & 64 /* BigInt */ ? extractTypesOfKind(typeWithLiterals, 64 /* BigInt */ | 2048 /* BigIntLiteral */) : t); - } - return typeWithPrimitives; - } - function isIncomplete(flowType) { - return flowType.flags === 0; - } - function getTypeFromFlowType(flowType) { - return flowType.flags === 0 ? flowType.type : flowType; - } - function createFlowType(type, incomplete) { - return incomplete ? { flags: 0, type: type.flags & 131072 /* Never */ ? silentNeverType : type } : type; - } - function createEvolvingArrayType(elementType) { - const result = createObjectType(256 /* EvolvingArray */); - result.elementType = elementType; - return result; - } - function getEvolvingArrayType(elementType) { - return evolvingArrayTypes[elementType.id] || (evolvingArrayTypes[elementType.id] = createEvolvingArrayType(elementType)); - } - function addEvolvingArrayElementType(evolvingArrayType, node) { - const elementType = getRegularTypeOfObjectLiteral(getBaseTypeOfLiteralType(getContextFreeTypeOfExpression(node))); - return isTypeSubsetOf(elementType, evolvingArrayType.elementType) ? evolvingArrayType : getEvolvingArrayType(getUnionType([evolvingArrayType.elementType, elementType])); - } - function createFinalArrayType(elementType) { - return elementType.flags & 131072 /* Never */ ? autoArrayType : createArrayType( - elementType.flags & 1048576 /* Union */ ? getUnionType(elementType.types, 2 /* Subtype */) : elementType - ); - } - function getFinalArrayType(evolvingArrayType) { - return evolvingArrayType.finalArrayType || (evolvingArrayType.finalArrayType = createFinalArrayType(evolvingArrayType.elementType)); - } - function finalizeEvolvingArrayType(type) { - return getObjectFlags(type) & 256 /* EvolvingArray */ ? getFinalArrayType(type) : type; - } - function getElementTypeOfEvolvingArrayType(type) { - return getObjectFlags(type) & 256 /* EvolvingArray */ ? type.elementType : neverType; - } - function isEvolvingArrayTypeList(types) { - let hasEvolvingArrayType = false; - for (const t of types) { - if (!(t.flags & 131072 /* Never */)) { - if (!(getObjectFlags(t) & 256 /* EvolvingArray */)) { - return false; - } - hasEvolvingArrayType = true; - } - } - return hasEvolvingArrayType; - } - function isEvolvingArrayOperationTarget(node) { - const root = getReferenceRoot(node); - const parent = root.parent; - const isLengthPushOrUnshift = isPropertyAccessExpression(parent) && (parent.name.escapedText === "length" || parent.parent.kind === 213 /* CallExpression */ && isIdentifier(parent.name) && isPushOrUnshiftIdentifier(parent.name)); - const isElementAssignment = parent.kind === 212 /* ElementAccessExpression */ && parent.expression === root && parent.parent.kind === 226 /* BinaryExpression */ && parent.parent.operatorToken.kind === 64 /* EqualsToken */ && parent.parent.left === parent && !isAssignmentTarget(parent.parent) && isTypeAssignableToKind(getTypeOfExpression(parent.argumentExpression), 296 /* NumberLike */); - return isLengthPushOrUnshift || isElementAssignment; - } - function isDeclarationWithExplicitTypeAnnotation(node) { - return (isVariableDeclaration(node) || isPropertyDeclaration(node) || isPropertySignature(node) || isParameter(node)) && !!(getEffectiveTypeAnnotationNode(node) || isInJSFile(node) && hasInitializer(node) && node.initializer && isFunctionExpressionOrArrowFunction(node.initializer) && getEffectiveReturnTypeNode(node.initializer)); - } - function getExplicitTypeOfSymbol(symbol, diagnostic) { - symbol = resolveSymbol(symbol); - if (symbol.flags & (16 /* Function */ | 8192 /* Method */ | 32 /* Class */ | 512 /* ValueModule */)) { - return getTypeOfSymbol(symbol); - } - if (symbol.flags & (3 /* Variable */ | 4 /* Property */)) { - if (getCheckFlags(symbol) & 262144 /* Mapped */) { - const origin = symbol.links.syntheticOrigin; - if (origin && getExplicitTypeOfSymbol(origin)) { - return getTypeOfSymbol(symbol); - } - } - const declaration = symbol.valueDeclaration; - if (declaration) { - if (isDeclarationWithExplicitTypeAnnotation(declaration)) { - return getTypeOfSymbol(symbol); - } - if (isVariableDeclaration(declaration) && declaration.parent.parent.kind === 250 /* ForOfStatement */) { - const statement = declaration.parent.parent; - const expressionType = getTypeOfDottedName( - statement.expression, - /*diagnostic*/ - void 0 - ); - if (expressionType) { - const use = statement.awaitModifier ? 15 /* ForAwaitOf */ : 13 /* ForOf */; - return checkIteratedTypeOrElementType( - use, - expressionType, - undefinedType, - /*errorNode*/ - void 0 - ); - } - } - if (diagnostic) { - addRelatedInfo(diagnostic, createDiagnosticForNode(declaration, Diagnostics._0_needs_an_explicit_type_annotation, symbolToString(symbol))); - } - } - } - } - function getTypeOfDottedName(node, diagnostic) { - if (!(node.flags & 67108864 /* InWithStatement */)) { - switch (node.kind) { - case 80 /* Identifier */: - const symbol = getExportSymbolOfValueSymbolIfExported(getResolvedSymbol(node)); - return getExplicitTypeOfSymbol(symbol, diagnostic); - case 110 /* ThisKeyword */: - return getExplicitThisType(node); - case 108 /* SuperKeyword */: - return checkSuperExpression(node); - case 211 /* PropertyAccessExpression */: { - const type = getTypeOfDottedName(node.expression, diagnostic); - if (type) { - const name = node.name; - let prop; - if (isPrivateIdentifier(name)) { - if (!type.symbol) { - return void 0; - } - prop = getPropertyOfType(type, getSymbolNameForPrivateIdentifier(type.symbol, name.escapedText)); - } else { - prop = getPropertyOfType(type, name.escapedText); - } - return prop && getExplicitTypeOfSymbol(prop, diagnostic); - } - return void 0; - } - case 217 /* ParenthesizedExpression */: - return getTypeOfDottedName(node.expression, diagnostic); - } - } - } - function getEffectsSignature(node) { - const links = getNodeLinks(node); - let signature = links.effectsSignature; - if (signature === void 0) { - let funcType; - if (isBinaryExpression(node)) { - const rightType = checkNonNullExpression(node.right); - funcType = getSymbolHasInstanceMethodOfObjectType(rightType); - } else if (node.parent.kind === 244 /* ExpressionStatement */) { - funcType = getTypeOfDottedName( - node.expression, - /*diagnostic*/ - void 0 - ); - } else if (node.expression.kind !== 108 /* SuperKeyword */) { - if (isOptionalChain(node)) { - funcType = checkNonNullType( - getOptionalExpressionType(checkExpression(node.expression), node.expression), - node.expression - ); - } else { - funcType = checkNonNullExpression(node.expression); - } - } - const signatures = getSignaturesOfType(funcType && getApparentType(funcType) || unknownType, 0 /* Call */); - const candidate = signatures.length === 1 && !signatures[0].typeParameters ? signatures[0] : some(signatures, hasTypePredicateOrNeverReturnType) ? getResolvedSignature(node) : void 0; - signature = links.effectsSignature = candidate && hasTypePredicateOrNeverReturnType(candidate) ? candidate : unknownSignature; - } - return signature === unknownSignature ? void 0 : signature; - } - function hasTypePredicateOrNeverReturnType(signature) { - return !!(getTypePredicateOfSignature(signature) || signature.declaration && (getReturnTypeFromAnnotation(signature.declaration) || unknownType).flags & 131072 /* Never */); - } - function getTypePredicateArgument(predicate, callExpression) { - if (predicate.kind === 1 /* Identifier */ || predicate.kind === 3 /* AssertsIdentifier */) { - return callExpression.arguments[predicate.parameterIndex]; - } - const invokedExpression = skipParentheses(callExpression.expression); - return isAccessExpression(invokedExpression) ? skipParentheses(invokedExpression.expression) : void 0; - } - function reportFlowControlError(node) { - const block = findAncestor(node, isFunctionOrModuleBlock); - const sourceFile = getSourceFileOfNode(node); - const span = getSpanOfTokenAtPosition(sourceFile, block.statements.pos); - diagnostics.add(createFileDiagnostic(sourceFile, span.start, span.length, Diagnostics.The_containing_function_or_module_body_is_too_large_for_control_flow_analysis)); - } - function isReachableFlowNode(flow) { - const result = isReachableFlowNodeWorker( - flow, - /*noCacheCheck*/ - false - ); - lastFlowNode = flow; - lastFlowNodeReachable = result; - return result; - } - function isFalseExpression(expr) { - const node = skipParentheses( - expr, - /*excludeJSDocTypeAssertions*/ - true - ); - return node.kind === 97 /* FalseKeyword */ || node.kind === 226 /* BinaryExpression */ && (node.operatorToken.kind === 56 /* AmpersandAmpersandToken */ && (isFalseExpression(node.left) || isFalseExpression(node.right)) || node.operatorToken.kind === 57 /* BarBarToken */ && isFalseExpression(node.left) && isFalseExpression(node.right)); - } - function isReachableFlowNodeWorker(flow, noCacheCheck) { - while (true) { - if (flow === lastFlowNode) { - return lastFlowNodeReachable; - } - const flags = flow.flags; - if (flags & 4096 /* Shared */) { - if (!noCacheCheck) { - const id = getFlowNodeId(flow); - const reachable = flowNodeReachable[id]; - return reachable !== void 0 ? reachable : flowNodeReachable[id] = isReachableFlowNodeWorker( - flow, - /*noCacheCheck*/ - true - ); - } - noCacheCheck = false; - } - if (flags & (16 /* Assignment */ | 96 /* Condition */ | 256 /* ArrayMutation */)) { - flow = flow.antecedent; - } else if (flags & 512 /* Call */) { - const signature = getEffectsSignature(flow.node); - if (signature) { - const predicate = getTypePredicateOfSignature(signature); - if (predicate && predicate.kind === 3 /* AssertsIdentifier */ && !predicate.type) { - const predicateArgument = flow.node.arguments[predicate.parameterIndex]; - if (predicateArgument && isFalseExpression(predicateArgument)) { - return false; - } - } - if (getReturnTypeOfSignature(signature).flags & 131072 /* Never */) { - return false; - } - } - flow = flow.antecedent; - } else if (flags & 4 /* BranchLabel */) { - return some(flow.antecedent, (f) => isReachableFlowNodeWorker( - f, - /*noCacheCheck*/ - false - )); - } else if (flags & 8 /* LoopLabel */) { - const antecedents = flow.antecedent; - if (antecedents === void 0 || antecedents.length === 0) { - return false; - } - flow = antecedents[0]; - } else if (flags & 128 /* SwitchClause */) { - const data = flow.node; - if (data.clauseStart === data.clauseEnd && isExhaustiveSwitchStatement(data.switchStatement)) { - return false; - } - flow = flow.antecedent; - } else if (flags & 1024 /* ReduceLabel */) { - lastFlowNode = void 0; - const target = flow.node.target; - const saveAntecedents = target.antecedent; - target.antecedent = flow.node.antecedents; - const result = isReachableFlowNodeWorker( - flow.antecedent, - /*noCacheCheck*/ - false - ); - target.antecedent = saveAntecedents; - return result; - } else { - return !(flags & 1 /* Unreachable */); - } - } - } - function isPostSuperFlowNode(flow, noCacheCheck) { - while (true) { - const flags = flow.flags; - if (flags & 4096 /* Shared */) { - if (!noCacheCheck) { - const id = getFlowNodeId(flow); - const postSuper = flowNodePostSuper[id]; - return postSuper !== void 0 ? postSuper : flowNodePostSuper[id] = isPostSuperFlowNode( - flow, - /*noCacheCheck*/ - true - ); - } - noCacheCheck = false; - } - if (flags & (16 /* Assignment */ | 96 /* Condition */ | 256 /* ArrayMutation */ | 128 /* SwitchClause */)) { - flow = flow.antecedent; - } else if (flags & 512 /* Call */) { - if (flow.node.expression.kind === 108 /* SuperKeyword */) { - return true; - } - flow = flow.antecedent; - } else if (flags & 4 /* BranchLabel */) { - return every(flow.antecedent, (f) => isPostSuperFlowNode( - f, - /*noCacheCheck*/ - false - )); - } else if (flags & 8 /* LoopLabel */) { - flow = flow.antecedent[0]; - } else if (flags & 1024 /* ReduceLabel */) { - const target = flow.node.target; - const saveAntecedents = target.antecedent; - target.antecedent = flow.node.antecedents; - const result = isPostSuperFlowNode( - flow.antecedent, - /*noCacheCheck*/ - false - ); - target.antecedent = saveAntecedents; - return result; - } else { - return !!(flags & 1 /* Unreachable */); - } - } - } - function isConstantReference(node) { - switch (node.kind) { - case 110 /* ThisKeyword */: - return true; - case 80 /* Identifier */: - if (!isThisInTypeQuery(node)) { - const symbol = getResolvedSymbol(node); - return isConstantVariable(symbol) || isParameterOrMutableLocalVariable(symbol) && !isSymbolAssigned(symbol) || !!symbol.valueDeclaration && isFunctionExpression(symbol.valueDeclaration); - } - break; - case 211 /* PropertyAccessExpression */: - case 212 /* ElementAccessExpression */: - return isConstantReference(node.expression) && isReadonlySymbol(getNodeLinks(node).resolvedSymbol || unknownSymbol); - case 206 /* ObjectBindingPattern */: - case 207 /* ArrayBindingPattern */: - const rootDeclaration = getRootDeclaration(node.parent); - return isParameter(rootDeclaration) || isCatchClauseVariableDeclaration(rootDeclaration) ? !isSomeSymbolAssigned(rootDeclaration) : isVariableDeclaration(rootDeclaration) && isVarConstLike2(rootDeclaration); - } - return false; - } - function getFlowTypeOfReference(reference, declaredType, initialType = declaredType, flowContainer, flowNode = ((_a) => (_a = tryCast(reference, canHaveFlowNode)) == null ? void 0 : _a.flowNode)()) { - let key; - let isKeySet = false; - let flowDepth = 0; - if (flowAnalysisDisabled) { - return errorType; - } - if (!flowNode) { - return declaredType; - } - flowInvocationCount++; - const sharedFlowStart = sharedFlowCount; - const evolvedType = getTypeFromFlowType(getTypeAtFlowNode(flowNode)); - sharedFlowCount = sharedFlowStart; - const resultType = getObjectFlags(evolvedType) & 256 /* EvolvingArray */ && isEvolvingArrayOperationTarget(reference) ? autoArrayType : finalizeEvolvingArrayType(evolvedType); - if (resultType === unreachableNeverType || reference.parent && reference.parent.kind === 235 /* NonNullExpression */ && !(resultType.flags & 131072 /* Never */) && getTypeWithFacts(resultType, 2097152 /* NEUndefinedOrNull */).flags & 131072 /* Never */) { - return declaredType; - } - return resultType; - function getOrSetCacheKey() { - if (isKeySet) { - return key; - } - isKeySet = true; - return key = getFlowCacheKey(reference, declaredType, initialType, flowContainer); - } - function getTypeAtFlowNode(flow) { - var _a2; - if (flowDepth === 2e3) { - (_a2 = tracing) == null ? void 0 : _a2.instant(tracing.Phase.CheckTypes, "getTypeAtFlowNode_DepthLimit", { flowId: flow.id }); - flowAnalysisDisabled = true; - reportFlowControlError(reference); - return errorType; - } - flowDepth++; - let sharedFlow; - while (true) { - const flags = flow.flags; - if (flags & 4096 /* Shared */) { - for (let i = sharedFlowStart; i < sharedFlowCount; i++) { - if (sharedFlowNodes[i] === flow) { - flowDepth--; - return sharedFlowTypes[i]; - } - } - sharedFlow = flow; - } - let type; - if (flags & 16 /* Assignment */) { - type = getTypeAtFlowAssignment(flow); - if (!type) { - flow = flow.antecedent; - continue; - } - } else if (flags & 512 /* Call */) { - type = getTypeAtFlowCall(flow); - if (!type) { - flow = flow.antecedent; - continue; - } - } else if (flags & 96 /* Condition */) { - type = getTypeAtFlowCondition(flow); - } else if (flags & 128 /* SwitchClause */) { - type = getTypeAtSwitchClause(flow); - } else if (flags & 12 /* Label */) { - if (flow.antecedent.length === 1) { - flow = flow.antecedent[0]; - continue; - } - type = flags & 4 /* BranchLabel */ ? getTypeAtFlowBranchLabel(flow) : getTypeAtFlowLoopLabel(flow); - } else if (flags & 256 /* ArrayMutation */) { - type = getTypeAtFlowArrayMutation(flow); - if (!type) { - flow = flow.antecedent; - continue; - } - } else if (flags & 1024 /* ReduceLabel */) { - const target = flow.node.target; - const saveAntecedents = target.antecedent; - target.antecedent = flow.node.antecedents; - type = getTypeAtFlowNode(flow.antecedent); - target.antecedent = saveAntecedents; - } else if (flags & 2 /* Start */) { - const container = flow.node; - if (container && container !== flowContainer && reference.kind !== 211 /* PropertyAccessExpression */ && reference.kind !== 212 /* ElementAccessExpression */ && !(reference.kind === 110 /* ThisKeyword */ && container.kind !== 219 /* ArrowFunction */)) { - flow = container.flowNode; - continue; - } - type = initialType; - } else { - type = convertAutoToAny(declaredType); - } - if (sharedFlow) { - sharedFlowNodes[sharedFlowCount] = sharedFlow; - sharedFlowTypes[sharedFlowCount] = type; - sharedFlowCount++; - } - flowDepth--; - return type; - } - } - function getInitialOrAssignedType(flow) { - const node = flow.node; - return getNarrowableTypeForReference( - node.kind === 260 /* VariableDeclaration */ || node.kind === 208 /* BindingElement */ ? getInitialType(node) : getAssignedType(node), - reference - ); - } - function getTypeAtFlowAssignment(flow) { - const node = flow.node; - if (isMatchingReference(reference, node)) { - if (!isReachableFlowNode(flow)) { - return unreachableNeverType; - } - if (getAssignmentTargetKind(node) === 2 /* Compound */) { - const flowType = getTypeAtFlowNode(flow.antecedent); - return createFlowType(getBaseTypeOfLiteralType(getTypeFromFlowType(flowType)), isIncomplete(flowType)); - } - if (declaredType === autoType || declaredType === autoArrayType) { - if (isEmptyArrayAssignment(node)) { - return getEvolvingArrayType(neverType); - } - const assignedType = getWidenedLiteralType(getInitialOrAssignedType(flow)); - return isTypeAssignableTo(assignedType, declaredType) ? assignedType : anyArrayType; - } - const t = isInCompoundLikeAssignment(node) ? getBaseTypeOfLiteralType(declaredType) : declaredType; - if (t.flags & 1048576 /* Union */) { - return getAssignmentReducedType(t, getInitialOrAssignedType(flow)); - } - return t; - } - if (containsMatchingReference(reference, node)) { - if (!isReachableFlowNode(flow)) { - return unreachableNeverType; - } - if (isVariableDeclaration(node) && (isInJSFile(node) || isVarConstLike2(node))) { - const init = getDeclaredExpandoInitializer(node); - if (init && (init.kind === 218 /* FunctionExpression */ || init.kind === 219 /* ArrowFunction */)) { - return getTypeAtFlowNode(flow.antecedent); - } - } - return declaredType; - } - if (isVariableDeclaration(node) && node.parent.parent.kind === 249 /* ForInStatement */ && (isMatchingReference(reference, node.parent.parent.expression) || optionalChainContainsReference(node.parent.parent.expression, reference))) { - return getNonNullableTypeIfNeeded(finalizeEvolvingArrayType(getTypeFromFlowType(getTypeAtFlowNode(flow.antecedent)))); - } - return void 0; - } - function narrowTypeByAssertion(type, expr) { - const node = skipParentheses( - expr, - /*excludeJSDocTypeAssertions*/ - true - ); - if (node.kind === 97 /* FalseKeyword */) { - return unreachableNeverType; - } - if (node.kind === 226 /* BinaryExpression */) { - if (node.operatorToken.kind === 56 /* AmpersandAmpersandToken */) { - return narrowTypeByAssertion(narrowTypeByAssertion(type, node.left), node.right); - } - if (node.operatorToken.kind === 57 /* BarBarToken */) { - return getUnionType([narrowTypeByAssertion(type, node.left), narrowTypeByAssertion(type, node.right)]); - } - } - return narrowType( - type, - node, - /*assumeTrue*/ - true - ); - } - function getTypeAtFlowCall(flow) { - const signature = getEffectsSignature(flow.node); - if (signature) { - const predicate = getTypePredicateOfSignature(signature); - if (predicate && (predicate.kind === 2 /* AssertsThis */ || predicate.kind === 3 /* AssertsIdentifier */)) { - const flowType = getTypeAtFlowNode(flow.antecedent); - const type = finalizeEvolvingArrayType(getTypeFromFlowType(flowType)); - const narrowedType = predicate.type ? narrowTypeByTypePredicate( - type, - predicate, - flow.node, - /*assumeTrue*/ - true - ) : predicate.kind === 3 /* AssertsIdentifier */ && predicate.parameterIndex >= 0 && predicate.parameterIndex < flow.node.arguments.length ? narrowTypeByAssertion(type, flow.node.arguments[predicate.parameterIndex]) : type; - return narrowedType === type ? flowType : createFlowType(narrowedType, isIncomplete(flowType)); - } - if (getReturnTypeOfSignature(signature).flags & 131072 /* Never */) { - return unreachableNeverType; - } - } - return void 0; - } - function getTypeAtFlowArrayMutation(flow) { - if (declaredType === autoType || declaredType === autoArrayType) { - const node = flow.node; - const expr = node.kind === 213 /* CallExpression */ ? node.expression.expression : node.left.expression; - if (isMatchingReference(reference, getReferenceCandidate(expr))) { - const flowType = getTypeAtFlowNode(flow.antecedent); - const type = getTypeFromFlowType(flowType); - if (getObjectFlags(type) & 256 /* EvolvingArray */) { - let evolvedType2 = type; - if (node.kind === 213 /* CallExpression */) { - for (const arg of node.arguments) { - evolvedType2 = addEvolvingArrayElementType(evolvedType2, arg); - } - } else { - const indexType = getContextFreeTypeOfExpression(node.left.argumentExpression); - if (isTypeAssignableToKind(indexType, 296 /* NumberLike */)) { - evolvedType2 = addEvolvingArrayElementType(evolvedType2, node.right); - } - } - return evolvedType2 === type ? flowType : createFlowType(evolvedType2, isIncomplete(flowType)); - } - return flowType; - } - } - return void 0; - } - function getTypeAtFlowCondition(flow) { - const flowType = getTypeAtFlowNode(flow.antecedent); - const type = getTypeFromFlowType(flowType); - if (type.flags & 131072 /* Never */) { - return flowType; - } - const assumeTrue = (flow.flags & 32 /* TrueCondition */) !== 0; - const nonEvolvingType = finalizeEvolvingArrayType(type); - const narrowedType = narrowType(nonEvolvingType, flow.node, assumeTrue); - if (narrowedType === nonEvolvingType) { - return flowType; - } - return createFlowType(narrowedType, isIncomplete(flowType)); - } - function getTypeAtSwitchClause(flow) { - const expr = skipParentheses(flow.node.switchStatement.expression); - const flowType = getTypeAtFlowNode(flow.antecedent); - let type = getTypeFromFlowType(flowType); - if (isMatchingReference(reference, expr)) { - type = narrowTypeBySwitchOnDiscriminant(type, flow.node); - } else if (expr.kind === 221 /* TypeOfExpression */ && isMatchingReference(reference, expr.expression)) { - type = narrowTypeBySwitchOnTypeOf(type, flow.node); - } else if (expr.kind === 112 /* TrueKeyword */) { - type = narrowTypeBySwitchOnTrue(type, flow.node); - } else { - if (strictNullChecks) { - if (optionalChainContainsReference(expr, reference)) { - type = narrowTypeBySwitchOptionalChainContainment(type, flow.node, (t) => !(t.flags & (32768 /* Undefined */ | 131072 /* Never */))); - } else if (expr.kind === 221 /* TypeOfExpression */ && optionalChainContainsReference(expr.expression, reference)) { - type = narrowTypeBySwitchOptionalChainContainment(type, flow.node, (t) => !(t.flags & 131072 /* Never */ || t.flags & 128 /* StringLiteral */ && t.value === "undefined")); - } - } - const access = getDiscriminantPropertyAccess(expr, type); - if (access) { - type = narrowTypeBySwitchOnDiscriminantProperty(type, access, flow.node); - } - } - return createFlowType(type, isIncomplete(flowType)); - } - function getTypeAtFlowBranchLabel(flow) { - const antecedentTypes = []; - let subtypeReduction = false; - let seenIncomplete = false; - let bypassFlow; - for (const antecedent of flow.antecedent) { - if (!bypassFlow && antecedent.flags & 128 /* SwitchClause */ && antecedent.node.clauseStart === antecedent.node.clauseEnd) { - bypassFlow = antecedent; - continue; - } - const flowType = getTypeAtFlowNode(antecedent); - const type = getTypeFromFlowType(flowType); - if (type === declaredType && declaredType === initialType) { - return type; - } - pushIfUnique(antecedentTypes, type); - if (!isTypeSubsetOf(type, initialType)) { - subtypeReduction = true; - } - if (isIncomplete(flowType)) { - seenIncomplete = true; - } - } - if (bypassFlow) { - const flowType = getTypeAtFlowNode(bypassFlow); - const type = getTypeFromFlowType(flowType); - if (!(type.flags & 131072 /* Never */) && !contains(antecedentTypes, type) && !isExhaustiveSwitchStatement(bypassFlow.node.switchStatement)) { - if (type === declaredType && declaredType === initialType) { - return type; - } - antecedentTypes.push(type); - if (!isTypeSubsetOf(type, initialType)) { - subtypeReduction = true; - } - if (isIncomplete(flowType)) { - seenIncomplete = true; - } - } - } - return createFlowType(getUnionOrEvolvingArrayType(antecedentTypes, subtypeReduction ? 2 /* Subtype */ : 1 /* Literal */), seenIncomplete); - } - function getTypeAtFlowLoopLabel(flow) { - const id = getFlowNodeId(flow); - const cache = flowLoopCaches[id] || (flowLoopCaches[id] = /* @__PURE__ */ new Map()); - const key2 = getOrSetCacheKey(); - if (!key2) { - return declaredType; - } - const cached = cache.get(key2); - if (cached) { - return cached; - } - for (let i = flowLoopStart; i < flowLoopCount; i++) { - if (flowLoopNodes[i] === flow && flowLoopKeys[i] === key2 && flowLoopTypes[i].length) { - return createFlowType( - getUnionOrEvolvingArrayType(flowLoopTypes[i], 1 /* Literal */), - /*incomplete*/ - true - ); - } - } - const antecedentTypes = []; - let subtypeReduction = false; - let firstAntecedentType; - for (const antecedent of flow.antecedent) { - let flowType; - if (!firstAntecedentType) { - flowType = firstAntecedentType = getTypeAtFlowNode(antecedent); - } else { - flowLoopNodes[flowLoopCount] = flow; - flowLoopKeys[flowLoopCount] = key2; - flowLoopTypes[flowLoopCount] = antecedentTypes; - flowLoopCount++; - const saveFlowTypeCache = flowTypeCache; - flowTypeCache = void 0; - flowType = getTypeAtFlowNode(antecedent); - flowTypeCache = saveFlowTypeCache; - flowLoopCount--; - const cached2 = cache.get(key2); - if (cached2) { - return cached2; - } - } - const type = getTypeFromFlowType(flowType); - pushIfUnique(antecedentTypes, type); - if (!isTypeSubsetOf(type, initialType)) { - subtypeReduction = true; - } - if (type === declaredType) { - break; - } - } - const result = getUnionOrEvolvingArrayType(antecedentTypes, subtypeReduction ? 2 /* Subtype */ : 1 /* Literal */); - if (isIncomplete(firstAntecedentType)) { - return createFlowType( - result, - /*incomplete*/ - true - ); - } - cache.set(key2, result); - return result; - } - function getUnionOrEvolvingArrayType(types, subtypeReduction) { - if (isEvolvingArrayTypeList(types)) { - return getEvolvingArrayType(getUnionType(map(types, getElementTypeOfEvolvingArrayType))); - } - const result = recombineUnknownType(getUnionType(sameMap(types, finalizeEvolvingArrayType), subtypeReduction)); - if (result !== declaredType && result.flags & declaredType.flags & 1048576 /* Union */ && arrayIsEqualTo(result.types, declaredType.types)) { - return declaredType; - } - return result; - } - function getCandidateDiscriminantPropertyAccess(expr) { - if (isBindingPattern(reference) || isFunctionExpressionOrArrowFunction(reference) || isObjectLiteralMethod(reference)) { - if (isIdentifier(expr)) { - const symbol = getResolvedSymbol(expr); - const declaration = symbol.valueDeclaration; - if (declaration && (isBindingElement(declaration) || isParameter(declaration)) && reference === declaration.parent && !declaration.initializer && !declaration.dotDotDotToken) { - return declaration; - } - } - } else if (isAccessExpression(expr)) { - if (isMatchingReference(reference, expr.expression)) { - return expr; - } - } else if (isIdentifier(expr)) { - const symbol = getResolvedSymbol(expr); - if (isConstantVariable(symbol)) { - const declaration = symbol.valueDeclaration; - if (isVariableDeclaration(declaration) && !declaration.type && declaration.initializer && isAccessExpression(declaration.initializer) && isMatchingReference(reference, declaration.initializer.expression)) { - return declaration.initializer; - } - if (isBindingElement(declaration) && !declaration.initializer) { - const parent = declaration.parent.parent; - if (isVariableDeclaration(parent) && !parent.type && parent.initializer && (isIdentifier(parent.initializer) || isAccessExpression(parent.initializer)) && isMatchingReference(reference, parent.initializer)) { - return declaration; - } - } - } - } - return void 0; - } - function getDiscriminantPropertyAccess(expr, computedType) { - if (declaredType.flags & 1048576 /* Union */ || computedType.flags & 1048576 /* Union */) { - const access = getCandidateDiscriminantPropertyAccess(expr); - if (access) { - const name = getAccessedPropertyName(access); - if (name) { - const type = declaredType.flags & 1048576 /* Union */ && isTypeSubsetOf(computedType, declaredType) ? declaredType : computedType; - if (isDiscriminantProperty(type, name)) { - return access; - } - } - } - } - return void 0; - } - function narrowTypeByDiscriminant(type, access, narrowType2) { - const propName = getAccessedPropertyName(access); - if (propName === void 0) { - return type; - } - const optionalChain = isOptionalChain(access); - const removeNullable = strictNullChecks && (optionalChain || isNonNullAccess(access)) && maybeTypeOfKind(type, 98304 /* Nullable */); - let propType = getTypeOfPropertyOfType(removeNullable ? getTypeWithFacts(type, 2097152 /* NEUndefinedOrNull */) : type, propName); - if (!propType) { - return type; - } - propType = removeNullable && optionalChain ? getOptionalType(propType) : propType; - const narrowedPropType = narrowType2(propType); - return filterType(type, (t) => { - const discriminantType = getTypeOfPropertyOrIndexSignatureOfType(t, propName) || unknownType; - return !(discriminantType.flags & 131072 /* Never */) && !(narrowedPropType.flags & 131072 /* Never */) && areTypesComparable(narrowedPropType, discriminantType); - }); - } - function narrowTypeByDiscriminantProperty(type, access, operator, value, assumeTrue) { - if ((operator === 37 /* EqualsEqualsEqualsToken */ || operator === 38 /* ExclamationEqualsEqualsToken */) && type.flags & 1048576 /* Union */) { - const keyPropertyName = getKeyPropertyName(type); - if (keyPropertyName && keyPropertyName === getAccessedPropertyName(access)) { - const candidate = getConstituentTypeForKeyType(type, getTypeOfExpression(value)); - if (candidate) { - return operator === (assumeTrue ? 37 /* EqualsEqualsEqualsToken */ : 38 /* ExclamationEqualsEqualsToken */) ? candidate : isUnitType(getTypeOfPropertyOfType(candidate, keyPropertyName) || unknownType) ? removeType(type, candidate) : type; - } - } - } - return narrowTypeByDiscriminant(type, access, (t) => narrowTypeByEquality(t, operator, value, assumeTrue)); - } - function narrowTypeBySwitchOnDiscriminantProperty(type, access, data) { - if (data.clauseStart < data.clauseEnd && type.flags & 1048576 /* Union */ && getKeyPropertyName(type) === getAccessedPropertyName(access)) { - const clauseTypes = getSwitchClauseTypes(data.switchStatement).slice(data.clauseStart, data.clauseEnd); - const candidate = getUnionType(map(clauseTypes, (t) => getConstituentTypeForKeyType(type, t) || unknownType)); - if (candidate !== unknownType) { - return candidate; - } - } - return narrowTypeByDiscriminant(type, access, (t) => narrowTypeBySwitchOnDiscriminant(t, data)); - } - function narrowTypeByTruthiness(type, expr, assumeTrue) { - if (isMatchingReference(reference, expr)) { - return getAdjustedTypeWithFacts(type, assumeTrue ? 4194304 /* Truthy */ : 8388608 /* Falsy */); - } - if (strictNullChecks && assumeTrue && optionalChainContainsReference(expr, reference)) { - type = getAdjustedTypeWithFacts(type, 2097152 /* NEUndefinedOrNull */); - } - const access = getDiscriminantPropertyAccess(expr, type); - if (access) { - return narrowTypeByDiscriminant(type, access, (t) => getTypeWithFacts(t, assumeTrue ? 4194304 /* Truthy */ : 8388608 /* Falsy */)); - } - return type; - } - function isTypePresencePossible(type, propName, assumeTrue) { - const prop = getPropertyOfType(type, propName); - return prop ? !!(prop.flags & 16777216 /* Optional */ || getCheckFlags(prop) & 48 /* Partial */) || assumeTrue : !!getApplicableIndexInfoForName(type, propName) || !assumeTrue; - } - function narrowTypeByInKeyword(type, nameType, assumeTrue) { - const name = getPropertyNameFromType(nameType); - const isKnownProperty2 = someType(type, (t) => isTypePresencePossible( - t, - name, - /*assumeTrue*/ - true - )); - if (isKnownProperty2) { - return filterType(type, (t) => isTypePresencePossible(t, name, assumeTrue)); - } - if (assumeTrue) { - const recordSymbol = getGlobalRecordSymbol(); - if (recordSymbol) { - return getIntersectionType([type, getTypeAliasInstantiation(recordSymbol, [nameType, unknownType])]); - } - } - return type; - } - function narrowTypeByBooleanComparison(type, expr, bool, operator, assumeTrue) { - assumeTrue = assumeTrue !== (bool.kind === 112 /* TrueKeyword */) !== (operator !== 38 /* ExclamationEqualsEqualsToken */ && operator !== 36 /* ExclamationEqualsToken */); - return narrowType(type, expr, assumeTrue); - } - function narrowTypeByBinaryExpression(type, expr, assumeTrue) { - switch (expr.operatorToken.kind) { - case 64 /* EqualsToken */: - case 76 /* BarBarEqualsToken */: - case 77 /* AmpersandAmpersandEqualsToken */: - case 78 /* QuestionQuestionEqualsToken */: - return narrowTypeByTruthiness(narrowType(type, expr.right, assumeTrue), expr.left, assumeTrue); - case 35 /* EqualsEqualsToken */: - case 36 /* ExclamationEqualsToken */: - case 37 /* EqualsEqualsEqualsToken */: - case 38 /* ExclamationEqualsEqualsToken */: - const operator = expr.operatorToken.kind; - const left = getReferenceCandidate(expr.left); - const right = getReferenceCandidate(expr.right); - if (left.kind === 221 /* TypeOfExpression */ && isStringLiteralLike(right)) { - return narrowTypeByTypeof(type, left, operator, right, assumeTrue); - } - if (right.kind === 221 /* TypeOfExpression */ && isStringLiteralLike(left)) { - return narrowTypeByTypeof(type, right, operator, left, assumeTrue); - } - if (isMatchingReference(reference, left)) { - return narrowTypeByEquality(type, operator, right, assumeTrue); - } - if (isMatchingReference(reference, right)) { - return narrowTypeByEquality(type, operator, left, assumeTrue); - } - if (strictNullChecks) { - if (optionalChainContainsReference(left, reference)) { - type = narrowTypeByOptionalChainContainment(type, operator, right, assumeTrue); - } else if (optionalChainContainsReference(right, reference)) { - type = narrowTypeByOptionalChainContainment(type, operator, left, assumeTrue); - } - } - const leftAccess = getDiscriminantPropertyAccess(left, type); - if (leftAccess) { - return narrowTypeByDiscriminantProperty(type, leftAccess, operator, right, assumeTrue); - } - const rightAccess = getDiscriminantPropertyAccess(right, type); - if (rightAccess) { - return narrowTypeByDiscriminantProperty(type, rightAccess, operator, left, assumeTrue); - } - if (isMatchingConstructorReference(left)) { - return narrowTypeByConstructor(type, operator, right, assumeTrue); - } - if (isMatchingConstructorReference(right)) { - return narrowTypeByConstructor(type, operator, left, assumeTrue); - } - if (isBooleanLiteral(right) && !isAccessExpression(left)) { - return narrowTypeByBooleanComparison(type, left, right, operator, assumeTrue); - } - if (isBooleanLiteral(left) && !isAccessExpression(right)) { - return narrowTypeByBooleanComparison(type, right, left, operator, assumeTrue); - } - break; - case 104 /* InstanceOfKeyword */: - return narrowTypeByInstanceof(type, expr, assumeTrue); - case 103 /* InKeyword */: - if (isPrivateIdentifier(expr.left)) { - return narrowTypeByPrivateIdentifierInInExpression(type, expr, assumeTrue); - } - const target = getReferenceCandidate(expr.right); - if (containsMissingType(type) && isAccessExpression(reference) && isMatchingReference(reference.expression, target)) { - const leftType = getTypeOfExpression(expr.left); - if (isTypeUsableAsPropertyName(leftType) && getAccessedPropertyName(reference) === getPropertyNameFromType(leftType)) { - return getTypeWithFacts(type, assumeTrue ? 524288 /* NEUndefined */ : 65536 /* EQUndefined */); - } - } - if (isMatchingReference(reference, target)) { - const leftType = getTypeOfExpression(expr.left); - if (isTypeUsableAsPropertyName(leftType)) { - return narrowTypeByInKeyword(type, leftType, assumeTrue); - } - } - break; - case 28 /* CommaToken */: - return narrowType(type, expr.right, assumeTrue); - case 56 /* AmpersandAmpersandToken */: - return assumeTrue ? narrowType( - narrowType( - type, - expr.left, - /*assumeTrue*/ - true - ), - expr.right, - /*assumeTrue*/ - true - ) : getUnionType([narrowType( - type, - expr.left, - /*assumeTrue*/ - false - ), narrowType( - type, - expr.right, - /*assumeTrue*/ - false - )]); - case 57 /* BarBarToken */: - return assumeTrue ? getUnionType([narrowType( - type, - expr.left, - /*assumeTrue*/ - true - ), narrowType( - type, - expr.right, - /*assumeTrue*/ - true - )]) : narrowType( - narrowType( - type, - expr.left, - /*assumeTrue*/ - false - ), - expr.right, - /*assumeTrue*/ - false - ); - } - return type; - } - function narrowTypeByPrivateIdentifierInInExpression(type, expr, assumeTrue) { - const target = getReferenceCandidate(expr.right); - if (!isMatchingReference(reference, target)) { - return type; - } - Debug.assertNode(expr.left, isPrivateIdentifier); - const symbol = getSymbolForPrivateIdentifierExpression(expr.left); - if (symbol === void 0) { - return type; - } - const classSymbol = symbol.parent; - const targetType = hasStaticModifier(Debug.checkDefined(symbol.valueDeclaration, "should always have a declaration")) ? getTypeOfSymbol(classSymbol) : getDeclaredTypeOfSymbol(classSymbol); - return getNarrowedType( - type, - targetType, - assumeTrue, - /*checkDerived*/ - true - ); - } - function narrowTypeByOptionalChainContainment(type, operator, value, assumeTrue) { - const equalsOperator = operator === 35 /* EqualsEqualsToken */ || operator === 37 /* EqualsEqualsEqualsToken */; - const nullableFlags = operator === 35 /* EqualsEqualsToken */ || operator === 36 /* ExclamationEqualsToken */ ? 98304 /* Nullable */ : 32768 /* Undefined */; - const valueType = getTypeOfExpression(value); - const removeNullable = equalsOperator !== assumeTrue && everyType(valueType, (t) => !!(t.flags & nullableFlags)) || equalsOperator === assumeTrue && everyType(valueType, (t) => !(t.flags & (3 /* AnyOrUnknown */ | nullableFlags))); - return removeNullable ? getAdjustedTypeWithFacts(type, 2097152 /* NEUndefinedOrNull */) : type; - } - function narrowTypeByEquality(type, operator, value, assumeTrue) { - if (type.flags & 1 /* Any */) { - return type; - } - if (operator === 36 /* ExclamationEqualsToken */ || operator === 38 /* ExclamationEqualsEqualsToken */) { - assumeTrue = !assumeTrue; - } - const valueType = getTypeOfExpression(value); - const doubleEquals = operator === 35 /* EqualsEqualsToken */ || operator === 36 /* ExclamationEqualsToken */; - if (valueType.flags & 98304 /* Nullable */) { - if (!strictNullChecks) { - return type; - } - const facts = doubleEquals ? assumeTrue ? 262144 /* EQUndefinedOrNull */ : 2097152 /* NEUndefinedOrNull */ : valueType.flags & 65536 /* Null */ ? assumeTrue ? 131072 /* EQNull */ : 1048576 /* NENull */ : assumeTrue ? 65536 /* EQUndefined */ : 524288 /* NEUndefined */; - return getAdjustedTypeWithFacts(type, facts); - } - if (assumeTrue) { - if (!doubleEquals && (type.flags & 2 /* Unknown */ || someType(type, isEmptyAnonymousObjectType))) { - if (valueType.flags & (402784252 /* Primitive */ | 67108864 /* NonPrimitive */) || isEmptyAnonymousObjectType(valueType)) { - return valueType; - } - if (valueType.flags & 524288 /* Object */) { - return nonPrimitiveType; - } - } - const filteredType = filterType(type, (t) => areTypesComparable(t, valueType) || doubleEquals && isCoercibleUnderDoubleEquals(t, valueType)); - return replacePrimitivesWithLiterals(filteredType, valueType); - } - if (isUnitType(valueType)) { - return filterType(type, (t) => !(isUnitLikeType(t) && areTypesComparable(t, valueType))); - } - return type; - } - function narrowTypeByTypeof(type, typeOfExpr, operator, literal, assumeTrue) { - if (operator === 36 /* ExclamationEqualsToken */ || operator === 38 /* ExclamationEqualsEqualsToken */) { - assumeTrue = !assumeTrue; - } - const target = getReferenceCandidate(typeOfExpr.expression); - if (!isMatchingReference(reference, target)) { - if (strictNullChecks && optionalChainContainsReference(target, reference) && assumeTrue === (literal.text !== "undefined")) { - type = getAdjustedTypeWithFacts(type, 2097152 /* NEUndefinedOrNull */); - } - const propertyAccess = getDiscriminantPropertyAccess(target, type); - if (propertyAccess) { - return narrowTypeByDiscriminant(type, propertyAccess, (t) => narrowTypeByLiteralExpression(t, literal, assumeTrue)); - } - return type; - } - return narrowTypeByLiteralExpression(type, literal, assumeTrue); - } - function narrowTypeByLiteralExpression(type, literal, assumeTrue) { - return assumeTrue ? narrowTypeByTypeName(type, literal.text) : getAdjustedTypeWithFacts(type, typeofNEFacts.get(literal.text) || 32768 /* TypeofNEHostObject */); - } - function narrowTypeBySwitchOptionalChainContainment(type, { switchStatement, clauseStart, clauseEnd }, clauseCheck) { - const everyClauseChecks = clauseStart !== clauseEnd && every(getSwitchClauseTypes(switchStatement).slice(clauseStart, clauseEnd), clauseCheck); - return everyClauseChecks ? getTypeWithFacts(type, 2097152 /* NEUndefinedOrNull */) : type; - } - function narrowTypeBySwitchOnDiscriminant(type, { switchStatement, clauseStart, clauseEnd }) { - const switchTypes = getSwitchClauseTypes(switchStatement); - if (!switchTypes.length) { - return type; - } - const clauseTypes = switchTypes.slice(clauseStart, clauseEnd); - const hasDefaultClause = clauseStart === clauseEnd || contains(clauseTypes, neverType); - if (type.flags & 2 /* Unknown */ && !hasDefaultClause) { - let groundClauseTypes; - for (let i = 0; i < clauseTypes.length; i += 1) { - const t = clauseTypes[i]; - if (t.flags & (402784252 /* Primitive */ | 67108864 /* NonPrimitive */)) { - if (groundClauseTypes !== void 0) { - groundClauseTypes.push(t); - } - } else if (t.flags & 524288 /* Object */) { - if (groundClauseTypes === void 0) { - groundClauseTypes = clauseTypes.slice(0, i); - } - groundClauseTypes.push(nonPrimitiveType); - } else { - return type; - } - } - return getUnionType(groundClauseTypes === void 0 ? clauseTypes : groundClauseTypes); - } - const discriminantType = getUnionType(clauseTypes); - const caseType = discriminantType.flags & 131072 /* Never */ ? neverType : replacePrimitivesWithLiterals(filterType(type, (t) => areTypesComparable(discriminantType, t)), discriminantType); - if (!hasDefaultClause) { - return caseType; - } - const defaultType = filterType(type, (t) => !(isUnitLikeType(t) && contains(switchTypes, t.flags & 32768 /* Undefined */ ? undefinedType : getRegularTypeOfLiteralType(extractUnitType(t))))); - return caseType.flags & 131072 /* Never */ ? defaultType : getUnionType([caseType, defaultType]); - } - function narrowTypeByTypeName(type, typeName) { - switch (typeName) { - case "string": - return narrowTypeByTypeFacts(type, stringType, 1 /* TypeofEQString */); - case "number": - return narrowTypeByTypeFacts(type, numberType, 2 /* TypeofEQNumber */); - case "bigint": - return narrowTypeByTypeFacts(type, bigintType, 4 /* TypeofEQBigInt */); - case "boolean": - return narrowTypeByTypeFacts(type, booleanType, 8 /* TypeofEQBoolean */); - case "symbol": - return narrowTypeByTypeFacts(type, esSymbolType, 16 /* TypeofEQSymbol */); - case "object": - return type.flags & 1 /* Any */ ? type : getUnionType([narrowTypeByTypeFacts(type, nonPrimitiveType, 32 /* TypeofEQObject */), narrowTypeByTypeFacts(type, nullType, 131072 /* EQNull */)]); - case "function": - return type.flags & 1 /* Any */ ? type : narrowTypeByTypeFacts(type, globalFunctionType, 64 /* TypeofEQFunction */); - case "undefined": - return narrowTypeByTypeFacts(type, undefinedType, 65536 /* EQUndefined */); - } - return narrowTypeByTypeFacts(type, nonPrimitiveType, 128 /* TypeofEQHostObject */); - } - function narrowTypeByTypeFacts(type, impliedType, facts) { - return mapType(type, (t) => ( - // We first check if a constituent is a subtype of the implied type. If so, we either keep or eliminate - // the constituent based on its type facts. We use the strict subtype relation because it treats `object` - // as a subtype of `{}`, and we need the type facts check because function types are subtypes of `object`, - // but are classified as "function" according to `typeof`. - isTypeRelatedTo(t, impliedType, strictSubtypeRelation) ? hasTypeFacts(t, facts) ? t : neverType : ( - // We next check if the consituent is a supertype of the implied type. If so, we substitute the implied - // type. This handles top types like `unknown` and `{}`, and supertypes like `{ toString(): string }`. - isTypeSubtypeOf(impliedType, t) ? impliedType : ( - // Neither the constituent nor the implied type is a subtype of the other, however their domains may still - // overlap. For example, an unconstrained type parameter and type `string`. If the type facts indicate - // possible overlap, we form an intersection. Otherwise, we eliminate the constituent. - hasTypeFacts(t, facts) ? getIntersectionType([t, impliedType]) : neverType - ) - ) - )); - } - function narrowTypeBySwitchOnTypeOf(type, { switchStatement, clauseStart, clauseEnd }) { - const witnesses = getSwitchClauseTypeOfWitnesses(switchStatement); - if (!witnesses) { - return type; - } - const defaultIndex = findIndex(switchStatement.caseBlock.clauses, (clause) => clause.kind === 297 /* DefaultClause */); - const hasDefaultClause = clauseStart === clauseEnd || defaultIndex >= clauseStart && defaultIndex < clauseEnd; - if (hasDefaultClause) { - const notEqualFacts = getNotEqualFactsFromTypeofSwitch(clauseStart, clauseEnd, witnesses); - return filterType(type, (t) => getTypeFacts(t, notEqualFacts) === notEqualFacts); - } - const clauseWitnesses = witnesses.slice(clauseStart, clauseEnd); - return getUnionType(map(clauseWitnesses, (text) => text ? narrowTypeByTypeName(type, text) : neverType)); - } - function narrowTypeBySwitchOnTrue(type, { switchStatement, clauseStart, clauseEnd }) { - const defaultIndex = findIndex(switchStatement.caseBlock.clauses, (clause) => clause.kind === 297 /* DefaultClause */); - const hasDefaultClause = clauseStart === clauseEnd || defaultIndex >= clauseStart && defaultIndex < clauseEnd; - for (let i = 0; i < clauseStart; i++) { - const clause = switchStatement.caseBlock.clauses[i]; - if (clause.kind === 296 /* CaseClause */) { - type = narrowType( - type, - clause.expression, - /*assumeTrue*/ - false - ); - } - } - if (hasDefaultClause) { - for (let i = clauseEnd; i < switchStatement.caseBlock.clauses.length; i++) { - const clause = switchStatement.caseBlock.clauses[i]; - if (clause.kind === 296 /* CaseClause */) { - type = narrowType( - type, - clause.expression, - /*assumeTrue*/ - false - ); - } - } - return type; - } - const clauses = switchStatement.caseBlock.clauses.slice(clauseStart, clauseEnd); - return getUnionType(map(clauses, (clause) => clause.kind === 296 /* CaseClause */ ? narrowType( - type, - clause.expression, - /*assumeTrue*/ - true - ) : neverType)); - } - function isMatchingConstructorReference(expr) { - return (isPropertyAccessExpression(expr) && idText(expr.name) === "constructor" || isElementAccessExpression(expr) && isStringLiteralLike(expr.argumentExpression) && expr.argumentExpression.text === "constructor") && isMatchingReference(reference, expr.expression); - } - function narrowTypeByConstructor(type, operator, identifier, assumeTrue) { - if (assumeTrue ? operator !== 35 /* EqualsEqualsToken */ && operator !== 37 /* EqualsEqualsEqualsToken */ : operator !== 36 /* ExclamationEqualsToken */ && operator !== 38 /* ExclamationEqualsEqualsToken */) { - return type; - } - const identifierType = getTypeOfExpression(identifier); - if (!isFunctionType(identifierType) && !isConstructorType(identifierType)) { - return type; - } - const prototypeProperty = getPropertyOfType(identifierType, "prototype"); - if (!prototypeProperty) { - return type; - } - const prototypeType = getTypeOfSymbol(prototypeProperty); - const candidate = !isTypeAny(prototypeType) ? prototypeType : void 0; - if (!candidate || candidate === globalObjectType || candidate === globalFunctionType) { - return type; - } - if (isTypeAny(type)) { - return candidate; - } - return filterType(type, (t) => isConstructedBy(t, candidate)); - function isConstructedBy(source, target) { - if (source.flags & 524288 /* Object */ && getObjectFlags(source) & 1 /* Class */ || target.flags & 524288 /* Object */ && getObjectFlags(target) & 1 /* Class */) { - return source.symbol === target.symbol; - } - return isTypeSubtypeOf(source, target); - } - } - function narrowTypeByInstanceof(type, expr, assumeTrue) { - const left = getReferenceCandidate(expr.left); - if (!isMatchingReference(reference, left)) { - if (assumeTrue && strictNullChecks && optionalChainContainsReference(left, reference)) { - return getAdjustedTypeWithFacts(type, 2097152 /* NEUndefinedOrNull */); - } - return type; - } - const right = expr.right; - const rightType = getTypeOfExpression(right); - if (!isTypeDerivedFrom(rightType, globalObjectType)) { - return type; - } - const signature = getEffectsSignature(expr); - const predicate = signature && getTypePredicateOfSignature(signature); - if (predicate && predicate.kind === 1 /* Identifier */ && predicate.parameterIndex === 0) { - return getNarrowedType( - type, - predicate.type, - assumeTrue, - /*checkDerived*/ - true - ); - } - if (!isTypeDerivedFrom(rightType, globalFunctionType)) { - return type; - } - const instanceType = mapType(rightType, getInstanceType); - if (isTypeAny(type) && (instanceType === globalObjectType || instanceType === globalFunctionType) || !assumeTrue && !(instanceType.flags & 524288 /* Object */ && !isEmptyAnonymousObjectType(instanceType))) { - return type; - } - return getNarrowedType( - type, - instanceType, - assumeTrue, - /*checkDerived*/ - true - ); - } - function getInstanceType(constructorType) { - const prototypePropertyType = getTypeOfPropertyOfType(constructorType, "prototype"); - if (prototypePropertyType && !isTypeAny(prototypePropertyType)) { - return prototypePropertyType; - } - const constructSignatures = getSignaturesOfType(constructorType, 1 /* Construct */); - if (constructSignatures.length) { - return getUnionType(map(constructSignatures, (signature) => getReturnTypeOfSignature(getErasedSignature(signature)))); - } - return emptyObjectType; - } - function getNarrowedType(type, candidate, assumeTrue, checkDerived) { - const key2 = type.flags & 1048576 /* Union */ ? `N${getTypeId(type)},${getTypeId(candidate)},${(assumeTrue ? 1 : 0) | (checkDerived ? 2 : 0)}` : void 0; - return getCachedType(key2) ?? setCachedType(key2, getNarrowedTypeWorker(type, candidate, assumeTrue, checkDerived)); - } - function getNarrowedTypeWorker(type, candidate, assumeTrue, checkDerived) { - if (!assumeTrue) { - if (type === candidate) { - return neverType; - } - if (checkDerived) { - return filterType(type, (t) => !isTypeDerivedFrom(t, candidate)); - } - const trueType2 = getNarrowedType( - type, - candidate, - /*assumeTrue*/ - true, - /*checkDerived*/ - false - ); - return filterType(type, (t) => !isTypeSubsetOf(t, trueType2)); - } - if (type.flags & 3 /* AnyOrUnknown */) { - return candidate; - } - if (type === candidate) { - return candidate; - } - const isRelated = checkDerived ? isTypeDerivedFrom : isTypeSubtypeOf; - const keyPropertyName = type.flags & 1048576 /* Union */ ? getKeyPropertyName(type) : void 0; - const narrowedType = mapType(candidate, (c) => { - const discriminant = keyPropertyName && getTypeOfPropertyOfType(c, keyPropertyName); - const matching = discriminant && getConstituentTypeForKeyType(type, discriminant); - const directlyRelated = mapType( - matching || type, - checkDerived ? (t) => isTypeDerivedFrom(t, c) ? t : isTypeDerivedFrom(c, t) ? c : neverType : (t) => isTypeStrictSubtypeOf(t, c) ? t : isTypeStrictSubtypeOf(c, t) ? c : isTypeSubtypeOf(t, c) ? t : isTypeSubtypeOf(c, t) ? c : neverType - ); - return directlyRelated.flags & 131072 /* Never */ ? mapType(type, (t) => maybeTypeOfKind(t, 465829888 /* Instantiable */) && isRelated(c, getBaseConstraintOfType(t) || unknownType) ? getIntersectionType([t, c]) : neverType) : directlyRelated; - }); - return !(narrowedType.flags & 131072 /* Never */) ? narrowedType : isTypeSubtypeOf(candidate, type) ? candidate : isTypeAssignableTo(type, candidate) ? type : isTypeAssignableTo(candidate, type) ? candidate : getIntersectionType([type, candidate]); - } - function narrowTypeByCallExpression(type, callExpression, assumeTrue) { - if (hasMatchingArgument(callExpression, reference)) { - const signature = assumeTrue || !isCallChain(callExpression) ? getEffectsSignature(callExpression) : void 0; - const predicate = signature && getTypePredicateOfSignature(signature); - if (predicate && (predicate.kind === 0 /* This */ || predicate.kind === 1 /* Identifier */)) { - return narrowTypeByTypePredicate(type, predicate, callExpression, assumeTrue); - } - } - if (containsMissingType(type) && isAccessExpression(reference) && isPropertyAccessExpression(callExpression.expression)) { - const callAccess = callExpression.expression; - if (isMatchingReference(reference.expression, getReferenceCandidate(callAccess.expression)) && isIdentifier(callAccess.name) && callAccess.name.escapedText === "hasOwnProperty" && callExpression.arguments.length === 1) { - const argument = callExpression.arguments[0]; - if (isStringLiteralLike(argument) && getAccessedPropertyName(reference) === escapeLeadingUnderscores(argument.text)) { - return getTypeWithFacts(type, assumeTrue ? 524288 /* NEUndefined */ : 65536 /* EQUndefined */); - } - } - } - return type; - } - function narrowTypeByTypePredicate(type, predicate, callExpression, assumeTrue) { - if (predicate.type && !(isTypeAny(type) && (predicate.type === globalObjectType || predicate.type === globalFunctionType))) { - const predicateArgument = getTypePredicateArgument(predicate, callExpression); - if (predicateArgument) { - if (isMatchingReference(reference, predicateArgument)) { - return getNarrowedType( - type, - predicate.type, - assumeTrue, - /*checkDerived*/ - false - ); - } - if (strictNullChecks && optionalChainContainsReference(predicateArgument, reference) && (assumeTrue && !hasTypeFacts(predicate.type, 65536 /* EQUndefined */) || !assumeTrue && everyType(predicate.type, isNullableType))) { - type = getAdjustedTypeWithFacts(type, 2097152 /* NEUndefinedOrNull */); - } - const access = getDiscriminantPropertyAccess(predicateArgument, type); - if (access) { - return narrowTypeByDiscriminant(type, access, (t) => getNarrowedType( - t, - predicate.type, - assumeTrue, - /*checkDerived*/ - false - )); - } - } - } - return type; - } - function narrowType(type, expr, assumeTrue) { - if (isExpressionOfOptionalChainRoot(expr) || isBinaryExpression(expr.parent) && (expr.parent.operatorToken.kind === 61 /* QuestionQuestionToken */ || expr.parent.operatorToken.kind === 78 /* QuestionQuestionEqualsToken */) && expr.parent.left === expr) { - return narrowTypeByOptionality(type, expr, assumeTrue); - } - switch (expr.kind) { - case 80 /* Identifier */: - if (!isMatchingReference(reference, expr) && inlineLevel < 5) { - const symbol = getResolvedSymbol(expr); - if (isConstantVariable(symbol)) { - const declaration = symbol.valueDeclaration; - if (declaration && isVariableDeclaration(declaration) && !declaration.type && declaration.initializer && isConstantReference(reference)) { - inlineLevel++; - const result = narrowType(type, declaration.initializer, assumeTrue); - inlineLevel--; - return result; - } - } - } - case 110 /* ThisKeyword */: - case 108 /* SuperKeyword */: - case 211 /* PropertyAccessExpression */: - case 212 /* ElementAccessExpression */: - return narrowTypeByTruthiness(type, expr, assumeTrue); - case 213 /* CallExpression */: - return narrowTypeByCallExpression(type, expr, assumeTrue); - case 217 /* ParenthesizedExpression */: - case 235 /* NonNullExpression */: - return narrowType(type, expr.expression, assumeTrue); - case 226 /* BinaryExpression */: - return narrowTypeByBinaryExpression(type, expr, assumeTrue); - case 224 /* PrefixUnaryExpression */: - if (expr.operator === 54 /* ExclamationToken */) { - return narrowType(type, expr.operand, !assumeTrue); - } - break; - } - return type; - } - function narrowTypeByOptionality(type, expr, assumePresent) { - if (isMatchingReference(reference, expr)) { - return getAdjustedTypeWithFacts(type, assumePresent ? 2097152 /* NEUndefinedOrNull */ : 262144 /* EQUndefinedOrNull */); - } - const access = getDiscriminantPropertyAccess(expr, type); - if (access) { - return narrowTypeByDiscriminant(type, access, (t) => getTypeWithFacts(t, assumePresent ? 2097152 /* NEUndefinedOrNull */ : 262144 /* EQUndefinedOrNull */)); - } - return type; - } - } - function getTypeOfSymbolAtLocation(symbol, location) { - symbol = getExportSymbolOfValueSymbolIfExported(symbol); - if (location.kind === 80 /* Identifier */ || location.kind === 81 /* PrivateIdentifier */) { - if (isRightSideOfQualifiedNameOrPropertyAccess(location)) { - location = location.parent; - } - if (isExpressionNode(location) && (!isAssignmentTarget(location) || isWriteAccess(location))) { - const type = removeOptionalTypeMarker( - isWriteAccess(location) && location.kind === 211 /* PropertyAccessExpression */ ? checkPropertyAccessExpression( - location, - /*checkMode*/ - void 0, - /*writeOnly*/ - true - ) : getTypeOfExpression(location) - ); - if (getExportSymbolOfValueSymbolIfExported(getNodeLinks(location).resolvedSymbol) === symbol) { - return type; - } - } - } - if (isDeclarationName(location) && isSetAccessor(location.parent) && getAnnotatedAccessorTypeNode(location.parent)) { - return getWriteTypeOfAccessors(location.parent.symbol); - } - return isRightSideOfAccessExpression(location) && isWriteAccess(location.parent) ? getWriteTypeOfSymbol(symbol) : getNonMissingTypeOfSymbol(symbol); - } - function getControlFlowContainer(node) { - return findAncestor(node.parent, (node2) => isFunctionLike(node2) && !getImmediatelyInvokedFunctionExpression(node2) || node2.kind === 268 /* ModuleBlock */ || node2.kind === 307 /* SourceFile */ || node2.kind === 172 /* PropertyDeclaration */); - } - function isSymbolAssigned(symbol) { - return !isPastLastAssignment( - symbol, - /*location*/ - void 0 - ); - } - function isPastLastAssignment(symbol, location) { - const parent = findAncestor(symbol.valueDeclaration, isFunctionOrSourceFile); - if (!parent) { - return false; - } - const links = getNodeLinks(parent); - if (!(links.flags & 131072 /* AssignmentsMarked */)) { - links.flags |= 131072 /* AssignmentsMarked */; - if (!hasParentWithAssignmentsMarked(parent)) { - markNodeAssignments(parent); - } - } - return !symbol.lastAssignmentPos || location && symbol.lastAssignmentPos < location.pos; - } - function isSomeSymbolAssigned(rootDeclaration) { - Debug.assert(isVariableDeclaration(rootDeclaration) || isParameter(rootDeclaration)); - return isSomeSymbolAssignedWorker(rootDeclaration.name); - } - function isSomeSymbolAssignedWorker(node) { - if (node.kind === 80 /* Identifier */) { - return isSymbolAssigned(getSymbolOfDeclaration(node.parent)); - } - return some(node.elements, (e) => e.kind !== 232 /* OmittedExpression */ && isSomeSymbolAssignedWorker(e.name)); - } - function hasParentWithAssignmentsMarked(node) { - return !!findAncestor(node.parent, (node2) => isFunctionOrSourceFile(node2) && !!(getNodeLinks(node2).flags & 131072 /* AssignmentsMarked */)); - } - function isFunctionOrSourceFile(node) { - return isFunctionLikeDeclaration(node) || isSourceFile(node); - } - function markNodeAssignments(node) { - switch (node.kind) { - case 80 /* Identifier */: - if (isAssignmentTarget(node)) { - const symbol = getResolvedSymbol(node); - if (isParameterOrMutableLocalVariable(symbol) && symbol.lastAssignmentPos !== Number.MAX_VALUE) { - const referencingFunction = findAncestor(node, isFunctionOrSourceFile); - const declaringFunction = findAncestor(symbol.valueDeclaration, isFunctionOrSourceFile); - symbol.lastAssignmentPos = referencingFunction === declaringFunction ? extendAssignmentPosition(node, symbol.valueDeclaration) : Number.MAX_VALUE; - } - } - return; - case 281 /* ExportSpecifier */: - const exportDeclaration = node.parent.parent; - const name = node.propertyName || node.name; - if (!node.isTypeOnly && !exportDeclaration.isTypeOnly && !exportDeclaration.moduleSpecifier && name.kind !== 11 /* StringLiteral */) { - const symbol = resolveEntityName( - name, - 111551 /* Value */, - /*ignoreErrors*/ - true, - /*dontResolveAlias*/ - true - ); - if (symbol && isParameterOrMutableLocalVariable(symbol)) { - symbol.lastAssignmentPos = Number.MAX_VALUE; - } - } - return; - case 264 /* InterfaceDeclaration */: - case 265 /* TypeAliasDeclaration */: - case 266 /* EnumDeclaration */: - return; - } - if (isTypeNode(node)) { - return; - } - forEachChild(node, markNodeAssignments); - } - function extendAssignmentPosition(node, declaration) { - let pos = node.pos; - while (node && node.pos > declaration.pos) { - switch (node.kind) { - case 243 /* VariableStatement */: - case 244 /* ExpressionStatement */: - case 245 /* IfStatement */: - case 246 /* DoStatement */: - case 247 /* WhileStatement */: - case 248 /* ForStatement */: - case 249 /* ForInStatement */: - case 250 /* ForOfStatement */: - case 254 /* WithStatement */: - case 255 /* SwitchStatement */: - case 258 /* TryStatement */: - case 263 /* ClassDeclaration */: - pos = node.end; - } - node = node.parent; - } - return pos; - } - function isConstantVariable(symbol) { - return symbol.flags & 3 /* Variable */ && (getDeclarationNodeFlagsFromSymbol(symbol) & 6 /* Constant */) !== 0; - } - function isParameterOrMutableLocalVariable(symbol) { - const declaration = symbol.valueDeclaration && getRootDeclaration(symbol.valueDeclaration); - return !!declaration && (isParameter(declaration) || isVariableDeclaration(declaration) && (isCatchClause(declaration.parent) || isMutableLocalVariableDeclaration(declaration))); - } - function isMutableLocalVariableDeclaration(declaration) { - return !!(declaration.parent.flags & 1 /* Let */) && !(getCombinedModifierFlags(declaration) & 32 /* Export */ || declaration.parent.parent.kind === 243 /* VariableStatement */ && isGlobalSourceFile(declaration.parent.parent.parent)); - } - function parameterInitializerContainsUndefined(declaration) { - const links = getNodeLinks(declaration); - if (links.parameterInitializerContainsUndefined === void 0) { - if (!pushTypeResolution(declaration, 8 /* ParameterInitializerContainsUndefined */)) { - reportCircularityError(declaration.symbol); - return true; - } - const containsUndefined = !!hasTypeFacts(checkDeclarationInitializer(declaration, 0 /* Normal */), 16777216 /* IsUndefined */); - if (!popTypeResolution()) { - reportCircularityError(declaration.symbol); - return true; - } - links.parameterInitializerContainsUndefined ?? (links.parameterInitializerContainsUndefined = containsUndefined); - } - return links.parameterInitializerContainsUndefined; - } - function removeOptionalityFromDeclaredType(declaredType, declaration) { - const removeUndefined = strictNullChecks && declaration.kind === 169 /* Parameter */ && declaration.initializer && hasTypeFacts(declaredType, 16777216 /* IsUndefined */) && !parameterInitializerContainsUndefined(declaration); - return removeUndefined ? getTypeWithFacts(declaredType, 524288 /* NEUndefined */) : declaredType; - } - function isConstraintPosition(type, node) { - const parent = node.parent; - return parent.kind === 211 /* PropertyAccessExpression */ || parent.kind === 166 /* QualifiedName */ || parent.kind === 213 /* CallExpression */ && parent.expression === node || parent.kind === 214 /* NewExpression */ && parent.expression === node || parent.kind === 212 /* ElementAccessExpression */ && parent.expression === node && !(someType(type, isGenericTypeWithoutNullableConstraint) && isGenericIndexType(getTypeOfExpression(parent.argumentExpression))); - } - function isGenericTypeWithUnionConstraint(type) { - return type.flags & 2097152 /* Intersection */ ? some(type.types, isGenericTypeWithUnionConstraint) : !!(type.flags & 465829888 /* Instantiable */ && getBaseConstraintOrType(type).flags & (98304 /* Nullable */ | 1048576 /* Union */)); - } - function isGenericTypeWithoutNullableConstraint(type) { - return type.flags & 2097152 /* Intersection */ ? some(type.types, isGenericTypeWithoutNullableConstraint) : !!(type.flags & 465829888 /* Instantiable */ && !maybeTypeOfKind(getBaseConstraintOrType(type), 98304 /* Nullable */)); - } - function hasContextualTypeWithNoGenericTypes(node, checkMode) { - const contextualType = (isIdentifier(node) || isPropertyAccessExpression(node) || isElementAccessExpression(node)) && !((isJsxOpeningElement(node.parent) || isJsxSelfClosingElement(node.parent)) && node.parent.tagName === node) && (checkMode && checkMode & 32 /* RestBindingElement */ ? getContextualType(node, 8 /* SkipBindingPatterns */) : getContextualType( - node, - /*contextFlags*/ - void 0 - )); - return contextualType && !isGenericType(contextualType); - } - function getNarrowableTypeForReference(type, reference, checkMode) { - if (isNoInferType(type)) { - type = type.baseType; - } - const substituteConstraints = !(checkMode && checkMode & 2 /* Inferential */) && someType(type, isGenericTypeWithUnionConstraint) && (isConstraintPosition(type, reference) || hasContextualTypeWithNoGenericTypes(reference, checkMode)); - return substituteConstraints ? mapType(type, getBaseConstraintOrType) : type; - } - function isExportOrExportExpression(location) { - return !!findAncestor(location, (n) => { - const parent = n.parent; - if (parent === void 0) { - return "quit"; - } - if (isExportAssignment(parent)) { - return parent.expression === n && isEntityNameExpression(n); - } - if (isExportSpecifier(parent)) { - return parent.name === n || parent.propertyName === n; - } - return false; - }); - } - function markLinkedReferences(location, hint, propSymbol, parentType) { - if (!canCollectSymbolAliasAccessabilityData) { - return; - } - if (location.flags & 33554432 /* Ambient */ && !isPropertySignature(location) && !isPropertyDeclaration(location)) { - return; - } - switch (hint) { - case 1 /* Identifier */: - return markIdentifierAliasReferenced(location); - case 2 /* Property */: - return markPropertyAliasReferenced(location, propSymbol, parentType); - case 3 /* ExportAssignment */: - return markExportAssignmentAliasReferenced(location); - case 4 /* Jsx */: - return markJsxAliasReferenced(location); - case 5 /* AsyncFunction */: - return markAsyncFunctionAliasReferenced(location); - case 6 /* ExportImportEquals */: - return markImportEqualsAliasReferenced(location); - case 7 /* ExportSpecifier */: - return markExportSpecifierAliasReferenced(location); - case 8 /* Decorator */: - return markDecoratorAliasReferenced(location); - case 0 /* Unspecified */: { - if (isIdentifier(location) && (isExpressionNode(location) || isShorthandPropertyAssignment(location.parent) || isImportEqualsDeclaration(location.parent) && location.parent.moduleReference === location) && shouldMarkIdentifierAliasReferenced(location)) { - if (isPropertyAccessOrQualifiedName(location.parent)) { - const left = isPropertyAccessExpression(location.parent) ? location.parent.expression : location.parent.left; - if (left !== location) return; - } - markIdentifierAliasReferenced(location); - return; - } - if (isPropertyAccessOrQualifiedName(location)) { - let topProp = location; - while (isPropertyAccessOrQualifiedName(topProp)) { - if (isPartOfTypeNode(topProp)) return; - topProp = topProp.parent; - } - return markPropertyAliasReferenced(location); - } - if (isExportAssignment(location)) { - return markExportAssignmentAliasReferenced(location); - } - if (isJsxOpeningLikeElement(location) || isJsxOpeningFragment(location)) { - return markJsxAliasReferenced(location); - } - if (isImportEqualsDeclaration(location)) { - if (isInternalModuleImportEqualsDeclaration(location) || checkExternalImportOrExportDeclaration(location)) { - return markImportEqualsAliasReferenced(location); - } - return; - } - if (isExportSpecifier(location)) { - return markExportSpecifierAliasReferenced(location); - } - if (isFunctionLikeDeclaration(location) || isMethodSignature(location)) { - markAsyncFunctionAliasReferenced(location); - } - if (!compilerOptions.emitDecoratorMetadata) { - return; - } - if (!canHaveDecorators(location) || !hasDecorators(location) || !location.modifiers || !nodeCanBeDecorated(legacyDecorators, location, location.parent, location.parent.parent)) { - return; - } - return markDecoratorAliasReferenced(location); - } - default: - Debug.assertNever(hint, `Unhandled reference hint: ${hint}`); - } - } - function markIdentifierAliasReferenced(location) { - const symbol = getResolvedSymbol(location); - if (symbol && symbol !== argumentsSymbol && symbol !== unknownSymbol && !isThisInTypeQuery(location)) { - markAliasReferenced(symbol, location); - } - } - function markPropertyAliasReferenced(location, propSymbol, parentType) { - const left = isPropertyAccessExpression(location) ? location.expression : location.left; - if (isThisIdentifier(left) || !isIdentifier(left)) { - return; - } - const parentSymbol = getResolvedSymbol(left); - if (!parentSymbol || parentSymbol === unknownSymbol) { - return; - } - if (getIsolatedModules(compilerOptions) || shouldPreserveConstEnums(compilerOptions) && isExportOrExportExpression(location)) { - markAliasReferenced(parentSymbol, location); - return; - } - const leftType = parentType || checkExpressionCached(left); - if (isTypeAny(leftType) || leftType === silentNeverType) { - markAliasReferenced(parentSymbol, location); - return; - } - let prop = propSymbol; - if (!prop && !parentType) { - const right = isPropertyAccessExpression(location) ? location.name : location.right; - const lexicallyScopedSymbol = isPrivateIdentifier(right) && lookupSymbolForPrivateIdentifierDeclaration(right.escapedText, right); - const assignmentKind = getAssignmentTargetKind(location); - const apparentType = getApparentType(assignmentKind !== 0 /* None */ || isMethodAccessForCall(location) ? getWidenedType(leftType) : leftType); - prop = isPrivateIdentifier(right) ? lexicallyScopedSymbol && getPrivateIdentifierPropertyOfType(apparentType, lexicallyScopedSymbol) || void 0 : getPropertyOfType(apparentType, right.escapedText); - } - if (!(prop && (isConstEnumOrConstEnumOnlyModule(prop) || prop.flags & 8 /* EnumMember */ && location.parent.kind === 306 /* EnumMember */))) { - markAliasReferenced(parentSymbol, location); - } - return; - } - function markExportAssignmentAliasReferenced(location) { - if (isIdentifier(location.expression)) { - const id = location.expression; - const sym = getExportSymbolOfValueSymbolIfExported(resolveEntityName( - id, - -1 /* All */, - /*ignoreErrors*/ - true, - /*dontResolveAlias*/ - true, - location - )); - if (sym) { - markAliasReferenced(sym, id); - } - } - } - function markJsxAliasReferenced(node) { - if (!getJsxNamespaceContainerForImplicitImport(node)) { - const jsxFactoryRefErr = diagnostics && compilerOptions.jsx === 2 /* React */ ? Diagnostics.Cannot_find_name_0 : void 0; - const jsxFactoryNamespace = getJsxNamespace(node); - const jsxFactoryLocation = isJsxOpeningLikeElement(node) ? node.tagName : node; - let jsxFactorySym; - if (!(isJsxOpeningFragment(node) && jsxFactoryNamespace === "null")) { - jsxFactorySym = resolveName( - jsxFactoryLocation, - jsxFactoryNamespace, - 111551 /* Value */, - jsxFactoryRefErr, - /*isUse*/ - true - ); - } - if (jsxFactorySym) { - jsxFactorySym.isReferenced = -1 /* All */; - if (canCollectSymbolAliasAccessabilityData && jsxFactorySym.flags & 2097152 /* Alias */ && !getTypeOnlyAliasDeclaration(jsxFactorySym)) { - markAliasSymbolAsReferenced(jsxFactorySym); - } - } - if (isJsxOpeningFragment(node)) { - const file = getSourceFileOfNode(node); - const localJsxNamespace = getLocalJsxNamespace(file); - if (localJsxNamespace) { - resolveName( - jsxFactoryLocation, - localJsxNamespace, - 111551 /* Value */, - jsxFactoryRefErr, - /*isUse*/ - true - ); - } - } - } - return; - } - function markAsyncFunctionAliasReferenced(location) { - if (languageVersion < 2 /* ES2015 */) { - if (getFunctionFlags(location) & 2 /* Async */) { - const returnTypeNode = getEffectiveReturnTypeNode(location); - markTypeNodeAsReferenced(returnTypeNode); - } - } - } - function markImportEqualsAliasReferenced(location) { - if (hasSyntacticModifier(location, 32 /* Export */)) { - markExportAsReferenced(location); - } - } - function markExportSpecifierAliasReferenced(location) { - if (!location.parent.parent.moduleSpecifier && !location.isTypeOnly && !location.parent.parent.isTypeOnly) { - const exportedName = location.propertyName || location.name; - if (exportedName.kind === 11 /* StringLiteral */) { - return; - } - const symbol = resolveName( - exportedName, - exportedName.escapedText, - 111551 /* Value */ | 788968 /* Type */ | 1920 /* Namespace */ | 2097152 /* Alias */, - /*nameNotFoundMessage*/ - void 0, - /*isUse*/ - true - ); - if (symbol && (symbol === undefinedSymbol || symbol === globalThisSymbol || symbol.declarations && isGlobalSourceFile(getDeclarationContainer(symbol.declarations[0])))) { - } else { - const target = symbol && (symbol.flags & 2097152 /* Alias */ ? resolveAlias(symbol) : symbol); - if (!target || getSymbolFlags(target) & 111551 /* Value */) { - markExportAsReferenced(location); - markIdentifierAliasReferenced(exportedName); - } - } - return; - } - } - function markDecoratorAliasReferenced(node) { - if (compilerOptions.emitDecoratorMetadata) { - const firstDecorator = find(node.modifiers, isDecorator); - if (!firstDecorator) { - return; - } - checkExternalEmitHelpers(firstDecorator, 16 /* Metadata */); - switch (node.kind) { - case 263 /* ClassDeclaration */: - const constructor = getFirstConstructorWithBody(node); - if (constructor) { - for (const parameter of constructor.parameters) { - markDecoratorMedataDataTypeNodeAsReferenced(getParameterTypeNodeForDecoratorCheck(parameter)); - } - } - break; - case 177 /* GetAccessor */: - case 178 /* SetAccessor */: - const otherKind = node.kind === 177 /* GetAccessor */ ? 178 /* SetAccessor */ : 177 /* GetAccessor */; - const otherAccessor = getDeclarationOfKind(getSymbolOfDeclaration(node), otherKind); - markDecoratorMedataDataTypeNodeAsReferenced(getAnnotatedAccessorTypeNode(node) || otherAccessor && getAnnotatedAccessorTypeNode(otherAccessor)); - break; - case 174 /* MethodDeclaration */: - for (const parameter of node.parameters) { - markDecoratorMedataDataTypeNodeAsReferenced(getParameterTypeNodeForDecoratorCheck(parameter)); - } - markDecoratorMedataDataTypeNodeAsReferenced(getEffectiveReturnTypeNode(node)); - break; - case 172 /* PropertyDeclaration */: - markDecoratorMedataDataTypeNodeAsReferenced(getEffectiveTypeAnnotationNode(node)); - break; - case 169 /* Parameter */: - markDecoratorMedataDataTypeNodeAsReferenced(getParameterTypeNodeForDecoratorCheck(node)); - const containingSignature = node.parent; - for (const parameter of containingSignature.parameters) { - markDecoratorMedataDataTypeNodeAsReferenced(getParameterTypeNodeForDecoratorCheck(parameter)); - } - markDecoratorMedataDataTypeNodeAsReferenced(getEffectiveReturnTypeNode(containingSignature)); - break; - } - } - } - function markAliasReferenced(symbol, location) { - if (!canCollectSymbolAliasAccessabilityData) { - return; - } - if (isNonLocalAlias( - symbol, - /*excludes*/ - 111551 /* Value */ - ) && !isInTypeQuery(location)) { - const target = resolveAlias(symbol); - if (getSymbolFlags( - symbol, - /*excludeTypeOnlyMeanings*/ - true - ) & (111551 /* Value */ | 1048576 /* ExportValue */)) { - if (getIsolatedModules(compilerOptions) || shouldPreserveConstEnums(compilerOptions) && isExportOrExportExpression(location) || !isConstEnumOrConstEnumOnlyModule(getExportSymbolOfValueSymbolIfExported(target))) { - markAliasSymbolAsReferenced(symbol); - } - } - } - } - function markAliasSymbolAsReferenced(symbol) { - Debug.assert(canCollectSymbolAliasAccessabilityData); - const links = getSymbolLinks(symbol); - if (!links.referenced) { - links.referenced = true; - const node = getDeclarationOfAliasSymbol(symbol); - if (!node) return Debug.fail(); - if (isInternalModuleImportEqualsDeclaration(node)) { - if (getSymbolFlags(resolveSymbol(symbol)) & 111551 /* Value */) { - const left = getFirstIdentifier(node.moduleReference); - markIdentifierAliasReferenced(left); - } - } - } - } - function markExportAsReferenced(node) { - const symbol = getSymbolOfDeclaration(node); - const target = resolveAlias(symbol); - if (target) { - const markAlias = target === unknownSymbol || getSymbolFlags( - symbol, - /*excludeTypeOnlyMeanings*/ - true - ) & 111551 /* Value */ && !isConstEnumOrConstEnumOnlyModule(target); - if (markAlias) { - markAliasSymbolAsReferenced(symbol); - } - } - } - function markEntityNameOrEntityExpressionAsReference(typeName, forDecoratorMetadata) { - if (!typeName) return; - const rootName = getFirstIdentifier(typeName); - const meaning = (typeName.kind === 80 /* Identifier */ ? 788968 /* Type */ : 1920 /* Namespace */) | 2097152 /* Alias */; - const rootSymbol = resolveName( - rootName, - rootName.escapedText, - meaning, - /*nameNotFoundMessage*/ - void 0, - /*isUse*/ - true - ); - if (rootSymbol && rootSymbol.flags & 2097152 /* Alias */) { - if (canCollectSymbolAliasAccessabilityData && symbolIsValue(rootSymbol) && !isConstEnumOrConstEnumOnlyModule(resolveAlias(rootSymbol)) && !getTypeOnlyAliasDeclaration(rootSymbol)) { - markAliasSymbolAsReferenced(rootSymbol); - } else if (forDecoratorMetadata && getIsolatedModules(compilerOptions) && getEmitModuleKind(compilerOptions) >= 5 /* ES2015 */ && !symbolIsValue(rootSymbol) && !some(rootSymbol.declarations, isTypeOnlyImportOrExportDeclaration)) { - const diag2 = error(typeName, Diagnostics.A_type_referenced_in_a_decorated_signature_must_be_imported_with_import_type_or_a_namespace_import_when_isolatedModules_and_emitDecoratorMetadata_are_enabled); - const aliasDeclaration = find(rootSymbol.declarations || emptyArray, isAliasSymbolDeclaration); - if (aliasDeclaration) { - addRelatedInfo(diag2, createDiagnosticForNode(aliasDeclaration, Diagnostics._0_was_imported_here, idText(rootName))); - } - } - } - } - function markTypeNodeAsReferenced(node) { - markEntityNameOrEntityExpressionAsReference( - node && getEntityNameFromTypeNode(node), - /*forDecoratorMetadata*/ - false - ); - } - function markDecoratorMedataDataTypeNodeAsReferenced(node) { - const entityName = getEntityNameForDecoratorMetadata(node); - if (entityName && isEntityName(entityName)) { - markEntityNameOrEntityExpressionAsReference( - entityName, - /*forDecoratorMetadata*/ - true - ); - } - } - function getNarrowedTypeOfSymbol(symbol, location) { - var _a; - const type = getTypeOfSymbol(symbol); - const declaration = symbol.valueDeclaration; - if (declaration) { - if (isBindingElement(declaration) && !declaration.initializer && !declaration.dotDotDotToken && declaration.parent.elements.length >= 2) { - const parent = declaration.parent.parent; - const rootDeclaration = getRootDeclaration(parent); - if (rootDeclaration.kind === 260 /* VariableDeclaration */ && getCombinedNodeFlagsCached(rootDeclaration) & 6 /* Constant */ || rootDeclaration.kind === 169 /* Parameter */) { - const links = getNodeLinks(parent); - if (!(links.flags & 4194304 /* InCheckIdentifier */)) { - links.flags |= 4194304 /* InCheckIdentifier */; - const parentType = getTypeForBindingElementParent(parent, 0 /* Normal */); - const parentTypeConstraint = parentType && mapType(parentType, getBaseConstraintOrType); - links.flags &= ~4194304 /* InCheckIdentifier */; - if (parentTypeConstraint && parentTypeConstraint.flags & 1048576 /* Union */ && !(rootDeclaration.kind === 169 /* Parameter */ && isSomeSymbolAssigned(rootDeclaration))) { - const pattern = declaration.parent; - const narrowedType = getFlowTypeOfReference( - pattern, - parentTypeConstraint, - parentTypeConstraint, - /*flowContainer*/ - void 0, - location.flowNode - ); - if (narrowedType.flags & 131072 /* Never */) { - return neverType; - } - return getBindingElementTypeFromParentType( - declaration, - narrowedType, - /*noTupleBoundsCheck*/ - true - ); - } - } - } - } - if (isParameter(declaration) && !declaration.type && !declaration.initializer && !declaration.dotDotDotToken) { - const func = declaration.parent; - if (func.parameters.length >= 2 && isContextSensitiveFunctionOrObjectLiteralMethod(func)) { - const contextualSignature = getContextualSignature(func); - if (contextualSignature && contextualSignature.parameters.length === 1 && signatureHasRestParameter(contextualSignature)) { - const restType = getReducedApparentType(instantiateType(getTypeOfSymbol(contextualSignature.parameters[0]), (_a = getInferenceContext(func)) == null ? void 0 : _a.nonFixingMapper)); - if (restType.flags & 1048576 /* Union */ && everyType(restType, isTupleType) && !some(func.parameters, isSomeSymbolAssigned)) { - const narrowedType = getFlowTypeOfReference( - func, - restType, - restType, - /*flowContainer*/ - void 0, - location.flowNode - ); - const index = func.parameters.indexOf(declaration) - (getThisParameter(func) ? 1 : 0); - return getIndexedAccessType(narrowedType, getNumberLiteralType(index)); - } - } - } - } - } - return type; - } - function checkIdentifierCalculateNodeCheckFlags(node, symbol) { - if (isThisInTypeQuery(node)) return; - if (symbol === argumentsSymbol) { - if (isInPropertyInitializerOrClassStaticBlock(node)) { - error(node, Diagnostics.arguments_cannot_be_referenced_in_property_initializers); - return; - } - let container = getContainingFunction(node); - if (container) { - if (languageVersion < 2 /* ES2015 */) { - if (container.kind === 219 /* ArrowFunction */) { - error(node, Diagnostics.The_arguments_object_cannot_be_referenced_in_an_arrow_function_in_ES5_Consider_using_a_standard_function_expression); - } else if (hasSyntacticModifier(container, 1024 /* Async */)) { - error(node, Diagnostics.The_arguments_object_cannot_be_referenced_in_an_async_function_or_method_in_ES5_Consider_using_a_standard_function_or_method); - } - } - getNodeLinks(container).flags |= 512 /* CaptureArguments */; - while (container && isArrowFunction(container)) { - container = getContainingFunction(container); - if (container) { - getNodeLinks(container).flags |= 512 /* CaptureArguments */; - } - } - } - return; - } - const localOrExportSymbol = getExportSymbolOfValueSymbolIfExported(symbol); - const targetSymbol = resolveAliasWithDeprecationCheck(localOrExportSymbol, node); - if (isDeprecatedSymbol(targetSymbol) && isUncalledFunctionReference(node, targetSymbol) && targetSymbol.declarations) { - addDeprecatedSuggestion(node, targetSymbol.declarations, node.escapedText); - } - const declaration = localOrExportSymbol.valueDeclaration; - if (declaration && localOrExportSymbol.flags & 32 /* Class */) { - if (isClassLike(declaration) && declaration.name !== node) { - let container = getThisContainer( - node, - /*includeArrowFunctions*/ - false, - /*includeClassComputedPropertyName*/ - false - ); - while (container.kind !== 307 /* SourceFile */ && container.parent !== declaration) { - container = getThisContainer( - container, - /*includeArrowFunctions*/ - false, - /*includeClassComputedPropertyName*/ - false - ); - } - if (container.kind !== 307 /* SourceFile */) { - getNodeLinks(declaration).flags |= 262144 /* ContainsConstructorReference */; - getNodeLinks(container).flags |= 262144 /* ContainsConstructorReference */; - getNodeLinks(node).flags |= 536870912 /* ConstructorReference */; - } - } - } - checkNestedBlockScopedBinding(node, symbol); - } - function checkIdentifier(node, checkMode) { - if (isThisInTypeQuery(node)) { - return checkThisExpression(node); - } - const symbol = getResolvedSymbol(node); - if (symbol === unknownSymbol) { - return errorType; - } - checkIdentifierCalculateNodeCheckFlags(node, symbol); - if (symbol === argumentsSymbol) { - if (isInPropertyInitializerOrClassStaticBlock(node)) { - return errorType; - } - return getTypeOfSymbol(symbol); - } - if (shouldMarkIdentifierAliasReferenced(node)) { - markLinkedReferences(node, 1 /* Identifier */); - } - const localOrExportSymbol = getExportSymbolOfValueSymbolIfExported(symbol); - let declaration = localOrExportSymbol.valueDeclaration; - if (declaration && declaration.kind === 208 /* BindingElement */ && contains(contextualBindingPatterns, declaration.parent) && findAncestor(node, (parent) => parent === declaration.parent)) { - return nonInferrableAnyType; - } - let type = getNarrowedTypeOfSymbol(localOrExportSymbol, node); - const assignmentKind = getAssignmentTargetKind(node); - if (assignmentKind) { - if (!(localOrExportSymbol.flags & 3 /* Variable */) && !(isInJSFile(node) && localOrExportSymbol.flags & 512 /* ValueModule */)) { - const assignmentError = localOrExportSymbol.flags & 384 /* Enum */ ? Diagnostics.Cannot_assign_to_0_because_it_is_an_enum : localOrExportSymbol.flags & 32 /* Class */ ? Diagnostics.Cannot_assign_to_0_because_it_is_a_class : localOrExportSymbol.flags & 1536 /* Module */ ? Diagnostics.Cannot_assign_to_0_because_it_is_a_namespace : localOrExportSymbol.flags & 16 /* Function */ ? Diagnostics.Cannot_assign_to_0_because_it_is_a_function : localOrExportSymbol.flags & 2097152 /* Alias */ ? Diagnostics.Cannot_assign_to_0_because_it_is_an_import : Diagnostics.Cannot_assign_to_0_because_it_is_not_a_variable; - error(node, assignmentError, symbolToString(symbol)); - return errorType; - } - if (isReadonlySymbol(localOrExportSymbol)) { - if (localOrExportSymbol.flags & 3 /* Variable */) { - error(node, Diagnostics.Cannot_assign_to_0_because_it_is_a_constant, symbolToString(symbol)); - } else { - error(node, Diagnostics.Cannot_assign_to_0_because_it_is_a_read_only_property, symbolToString(symbol)); - } - return errorType; - } - } - const isAlias = localOrExportSymbol.flags & 2097152 /* Alias */; - if (localOrExportSymbol.flags & 3 /* Variable */) { - if (assignmentKind === 1 /* Definite */) { - return isInCompoundLikeAssignment(node) ? getBaseTypeOfLiteralType(type) : type; - } - } else if (isAlias) { - declaration = getDeclarationOfAliasSymbol(symbol); - } else { - return type; - } - if (!declaration) { - return type; - } - type = getNarrowableTypeForReference(type, node, checkMode); - const isParameter2 = getRootDeclaration(declaration).kind === 169 /* Parameter */; - const declarationContainer = getControlFlowContainer(declaration); - let flowContainer = getControlFlowContainer(node); - const isOuterVariable = flowContainer !== declarationContainer; - const isSpreadDestructuringAssignmentTarget = node.parent && node.parent.parent && isSpreadAssignment(node.parent) && isDestructuringAssignmentTarget(node.parent.parent); - const isModuleExports = symbol.flags & 134217728 /* ModuleExports */; - const typeIsAutomatic = type === autoType || type === autoArrayType; - const isAutomaticTypeInNonNull = typeIsAutomatic && node.parent.kind === 235 /* NonNullExpression */; - while (flowContainer !== declarationContainer && (flowContainer.kind === 218 /* FunctionExpression */ || flowContainer.kind === 219 /* ArrowFunction */ || isObjectLiteralOrClassExpressionMethodOrAccessor(flowContainer)) && (isConstantVariable(localOrExportSymbol) && type !== autoArrayType || isParameterOrMutableLocalVariable(localOrExportSymbol) && isPastLastAssignment(localOrExportSymbol, node))) { - flowContainer = getControlFlowContainer(flowContainer); - } - const assumeInitialized = isParameter2 || isAlias || isOuterVariable || isSpreadDestructuringAssignmentTarget || isModuleExports || isSameScopedBindingElement(node, declaration) || type !== autoType && type !== autoArrayType && (!strictNullChecks || (type.flags & (3 /* AnyOrUnknown */ | 16384 /* Void */)) !== 0 || isInTypeQuery(node) || isInAmbientOrTypeNode(node) || node.parent.kind === 281 /* ExportSpecifier */) || node.parent.kind === 235 /* NonNullExpression */ || declaration.kind === 260 /* VariableDeclaration */ && declaration.exclamationToken || declaration.flags & 33554432 /* Ambient */; - const initialType = isAutomaticTypeInNonNull ? undefinedType : assumeInitialized ? isParameter2 ? removeOptionalityFromDeclaredType(type, declaration) : type : typeIsAutomatic ? undefinedType : getOptionalType(type); - const flowType = isAutomaticTypeInNonNull ? getNonNullableType(getFlowTypeOfReference(node, type, initialType, flowContainer)) : getFlowTypeOfReference(node, type, initialType, flowContainer); - if (!isEvolvingArrayOperationTarget(node) && (type === autoType || type === autoArrayType)) { - if (flowType === autoType || flowType === autoArrayType) { - if (noImplicitAny) { - error(getNameOfDeclaration(declaration), Diagnostics.Variable_0_implicitly_has_type_1_in_some_locations_where_its_type_cannot_be_determined, symbolToString(symbol), typeToString(flowType)); - error(node, Diagnostics.Variable_0_implicitly_has_an_1_type, symbolToString(symbol), typeToString(flowType)); - } - return convertAutoToAny(flowType); - } - } else if (!assumeInitialized && !containsUndefinedType(type) && containsUndefinedType(flowType)) { - error(node, Diagnostics.Variable_0_is_used_before_being_assigned, symbolToString(symbol)); - return type; - } - return assignmentKind ? getBaseTypeOfLiteralType(flowType) : flowType; - } - function isSameScopedBindingElement(node, declaration) { - if (isBindingElement(declaration)) { - const bindingElement = findAncestor(node, isBindingElement); - return bindingElement && getRootDeclaration(bindingElement) === getRootDeclaration(declaration); - } - } - function shouldMarkIdentifierAliasReferenced(node) { - var _a; - const parent = node.parent; - if (parent) { - if (isPropertyAccessExpression(parent) && parent.expression === node) { - return false; - } - if (isExportSpecifier(parent) && parent.isTypeOnly) { - return false; - } - const greatGrandparent = (_a = parent.parent) == null ? void 0 : _a.parent; - if (greatGrandparent && isExportDeclaration(greatGrandparent) && greatGrandparent.isTypeOnly) { - return false; - } - } - return true; - } - function isInsideFunctionOrInstancePropertyInitializer(node, threshold) { - return !!findAncestor(node, (n) => n === threshold ? "quit" : isFunctionLike(n) || n.parent && isPropertyDeclaration(n.parent) && !hasStaticModifier(n.parent) && n.parent.initializer === n); - } - function getPartOfForStatementContainingNode(node, container) { - return findAncestor(node, (n) => n === container ? "quit" : n === container.initializer || n === container.condition || n === container.incrementor || n === container.statement); - } - function getEnclosingIterationStatement(node) { - return findAncestor(node, (n) => !n || nodeStartsNewLexicalEnvironment(n) ? "quit" : isIterationStatement( - n, - /*lookInLabeledStatements*/ - false - )); - } - function checkNestedBlockScopedBinding(node, symbol) { - if (languageVersion >= 2 /* ES2015 */ || (symbol.flags & (2 /* BlockScopedVariable */ | 32 /* Class */)) === 0 || !symbol.valueDeclaration || isSourceFile(symbol.valueDeclaration) || symbol.valueDeclaration.parent.kind === 299 /* CatchClause */) { - return; - } - const container = getEnclosingBlockScopeContainer(symbol.valueDeclaration); - const isCaptured = isInsideFunctionOrInstancePropertyInitializer(node, container); - const enclosingIterationStatement = getEnclosingIterationStatement(container); - if (enclosingIterationStatement) { - if (isCaptured) { - let capturesBlockScopeBindingInLoopBody = true; - if (isForStatement(container)) { - const varDeclList = getAncestor(symbol.valueDeclaration, 261 /* VariableDeclarationList */); - if (varDeclList && varDeclList.parent === container) { - const part = getPartOfForStatementContainingNode(node.parent, container); - if (part) { - const links = getNodeLinks(part); - links.flags |= 8192 /* ContainsCapturedBlockScopeBinding */; - const capturedBindings = links.capturedBlockScopeBindings || (links.capturedBlockScopeBindings = []); - pushIfUnique(capturedBindings, symbol); - if (part === container.initializer) { - capturesBlockScopeBindingInLoopBody = false; - } - } - } - } - if (capturesBlockScopeBindingInLoopBody) { - getNodeLinks(enclosingIterationStatement).flags |= 4096 /* LoopWithCapturedBlockScopedBinding */; - } - } - if (isForStatement(container)) { - const varDeclList = getAncestor(symbol.valueDeclaration, 261 /* VariableDeclarationList */); - if (varDeclList && varDeclList.parent === container && isAssignedInBodyOfForStatement(node, container)) { - getNodeLinks(symbol.valueDeclaration).flags |= 65536 /* NeedsLoopOutParameter */; - } - } - getNodeLinks(symbol.valueDeclaration).flags |= 32768 /* BlockScopedBindingInLoop */; - } - if (isCaptured) { - getNodeLinks(symbol.valueDeclaration).flags |= 16384 /* CapturedBlockScopedBinding */; - } - } - function isBindingCapturedByNode(node, decl) { - const links = getNodeLinks(node); - return !!links && contains(links.capturedBlockScopeBindings, getSymbolOfDeclaration(decl)); - } - function isAssignedInBodyOfForStatement(node, container) { - let current = node; - while (current.parent.kind === 217 /* ParenthesizedExpression */) { - current = current.parent; - } - let isAssigned = false; - if (isAssignmentTarget(current)) { - isAssigned = true; - } else if (current.parent.kind === 224 /* PrefixUnaryExpression */ || current.parent.kind === 225 /* PostfixUnaryExpression */) { - const expr = current.parent; - isAssigned = expr.operator === 46 /* PlusPlusToken */ || expr.operator === 47 /* MinusMinusToken */; - } - if (!isAssigned) { - return false; - } - return !!findAncestor(current, (n) => n === container ? "quit" : n === container.statement); - } - function captureLexicalThis(node, container) { - getNodeLinks(node).flags |= 2 /* LexicalThis */; - if (container.kind === 172 /* PropertyDeclaration */ || container.kind === 176 /* Constructor */) { - const classNode = container.parent; - getNodeLinks(classNode).flags |= 4 /* CaptureThis */; - } else { - getNodeLinks(container).flags |= 4 /* CaptureThis */; - } - } - function findFirstSuperCall(node) { - return isSuperCall(node) ? node : isFunctionLike(node) ? void 0 : forEachChild(node, findFirstSuperCall); - } - function classDeclarationExtendsNull(classDecl) { - const classSymbol = getSymbolOfDeclaration(classDecl); - const classInstanceType = getDeclaredTypeOfSymbol(classSymbol); - const baseConstructorType = getBaseConstructorTypeOfClass(classInstanceType); - return baseConstructorType === nullWideningType; - } - function checkThisBeforeSuper(node, container, diagnosticMessage) { - const containingClassDecl = container.parent; - const baseTypeNode = getClassExtendsHeritageElement(containingClassDecl); - if (baseTypeNode && !classDeclarationExtendsNull(containingClassDecl)) { - if (canHaveFlowNode(node) && node.flowNode && !isPostSuperFlowNode( - node.flowNode, - /*noCacheCheck*/ - false - )) { - error(node, diagnosticMessage); - } - } - } - function checkThisInStaticClassFieldInitializerInDecoratedClass(thisExpression, container) { - if (isPropertyDeclaration(container) && hasStaticModifier(container) && legacyDecorators && container.initializer && textRangeContainsPositionInclusive(container.initializer, thisExpression.pos) && hasDecorators(container.parent)) { - error(thisExpression, Diagnostics.Cannot_use_this_in_a_static_property_initializer_of_a_decorated_class); - } - } - function checkThisExpression(node) { - const isNodeInTypeQuery = isInTypeQuery(node); - let container = getThisContainer( - node, - /*includeArrowFunctions*/ - true, - /*includeClassComputedPropertyName*/ - true - ); - let capturedByArrowFunction = false; - let thisInComputedPropertyName = false; - if (container.kind === 176 /* Constructor */) { - checkThisBeforeSuper(node, container, Diagnostics.super_must_be_called_before_accessing_this_in_the_constructor_of_a_derived_class); - } - while (true) { - if (container.kind === 219 /* ArrowFunction */) { - container = getThisContainer( - container, - /*includeArrowFunctions*/ - false, - !thisInComputedPropertyName - ); - capturedByArrowFunction = true; - } - if (container.kind === 167 /* ComputedPropertyName */) { - container = getThisContainer( - container, - !capturedByArrowFunction, - /*includeClassComputedPropertyName*/ - false - ); - thisInComputedPropertyName = true; - continue; - } - break; - } - checkThisInStaticClassFieldInitializerInDecoratedClass(node, container); - if (thisInComputedPropertyName) { - error(node, Diagnostics.this_cannot_be_referenced_in_a_computed_property_name); - } else { - switch (container.kind) { - case 267 /* ModuleDeclaration */: - error(node, Diagnostics.this_cannot_be_referenced_in_a_module_or_namespace_body); - break; - case 266 /* EnumDeclaration */: - error(node, Diagnostics.this_cannot_be_referenced_in_current_location); - break; - } - } - if (!isNodeInTypeQuery && capturedByArrowFunction && languageVersion < 2 /* ES2015 */) { - captureLexicalThis(node, container); - } - const type = tryGetThisTypeAt( - node, - /*includeGlobalThis*/ - true, - container - ); - if (noImplicitThis) { - const globalThisType2 = getTypeOfSymbol(globalThisSymbol); - if (type === globalThisType2 && capturedByArrowFunction) { - error(node, Diagnostics.The_containing_arrow_function_captures_the_global_value_of_this); - } else if (!type) { - const diag2 = error(node, Diagnostics.this_implicitly_has_type_any_because_it_does_not_have_a_type_annotation); - if (!isSourceFile(container)) { - const outsideThis = tryGetThisTypeAt(container); - if (outsideThis && outsideThis !== globalThisType2) { - addRelatedInfo(diag2, createDiagnosticForNode(container, Diagnostics.An_outer_value_of_this_is_shadowed_by_this_container)); - } - } - } - } - return type || anyType; - } - function tryGetThisTypeAt(node, includeGlobalThis = true, container = getThisContainer( - node, - /*includeArrowFunctions*/ - false, - /*includeClassComputedPropertyName*/ - false - )) { - const isInJS = isInJSFile(node); - if (isFunctionLike(container) && (!isInParameterInitializerBeforeContainingFunction(node) || getThisParameter(container))) { - let thisType = getThisTypeOfDeclaration(container) || isInJS && getTypeForThisExpressionFromJSDoc(container); - if (!thisType) { - const className = getClassNameFromPrototypeMethod(container); - if (isInJS && className) { - const classSymbol = checkExpression(className).symbol; - if (classSymbol && classSymbol.members && classSymbol.flags & 16 /* Function */) { - thisType = getDeclaredTypeOfSymbol(classSymbol).thisType; - } - } else if (isJSConstructor(container)) { - thisType = getDeclaredTypeOfSymbol(getMergedSymbol(container.symbol)).thisType; - } - thisType || (thisType = getContextualThisParameterType(container)); - } - if (thisType) { - return getFlowTypeOfReference(node, thisType); - } - } - if (isClassLike(container.parent)) { - const symbol = getSymbolOfDeclaration(container.parent); - const type = isStatic(container) ? getTypeOfSymbol(symbol) : getDeclaredTypeOfSymbol(symbol).thisType; - return getFlowTypeOfReference(node, type); - } - if (isSourceFile(container)) { - if (container.commonJsModuleIndicator) { - const fileSymbol = getSymbolOfDeclaration(container); - return fileSymbol && getTypeOfSymbol(fileSymbol); - } else if (container.externalModuleIndicator) { - return undefinedType; - } else if (includeGlobalThis) { - return getTypeOfSymbol(globalThisSymbol); - } - } - } - function getExplicitThisType(node) { - const container = getThisContainer( - node, - /*includeArrowFunctions*/ - false, - /*includeClassComputedPropertyName*/ - false - ); - if (isFunctionLike(container)) { - const signature = getSignatureFromDeclaration(container); - if (signature.thisParameter) { - return getExplicitTypeOfSymbol(signature.thisParameter); - } - } - if (isClassLike(container.parent)) { - const symbol = getSymbolOfDeclaration(container.parent); - return isStatic(container) ? getTypeOfSymbol(symbol) : getDeclaredTypeOfSymbol(symbol).thisType; - } - } - function getClassNameFromPrototypeMethod(container) { - if (container.kind === 218 /* FunctionExpression */ && isBinaryExpression(container.parent) && getAssignmentDeclarationKind(container.parent) === 3 /* PrototypeProperty */) { - return container.parent.left.expression.expression; - } else if (container.kind === 174 /* MethodDeclaration */ && container.parent.kind === 210 /* ObjectLiteralExpression */ && isBinaryExpression(container.parent.parent) && getAssignmentDeclarationKind(container.parent.parent) === 6 /* Prototype */) { - return container.parent.parent.left.expression; - } else if (container.kind === 218 /* FunctionExpression */ && container.parent.kind === 303 /* PropertyAssignment */ && container.parent.parent.kind === 210 /* ObjectLiteralExpression */ && isBinaryExpression(container.parent.parent.parent) && getAssignmentDeclarationKind(container.parent.parent.parent) === 6 /* Prototype */) { - return container.parent.parent.parent.left.expression; - } else if (container.kind === 218 /* FunctionExpression */ && isPropertyAssignment(container.parent) && isIdentifier(container.parent.name) && (container.parent.name.escapedText === "value" || container.parent.name.escapedText === "get" || container.parent.name.escapedText === "set") && isObjectLiteralExpression(container.parent.parent) && isCallExpression(container.parent.parent.parent) && container.parent.parent.parent.arguments[2] === container.parent.parent && getAssignmentDeclarationKind(container.parent.parent.parent) === 9 /* ObjectDefinePrototypeProperty */) { - return container.parent.parent.parent.arguments[0].expression; - } else if (isMethodDeclaration(container) && isIdentifier(container.name) && (container.name.escapedText === "value" || container.name.escapedText === "get" || container.name.escapedText === "set") && isObjectLiteralExpression(container.parent) && isCallExpression(container.parent.parent) && container.parent.parent.arguments[2] === container.parent && getAssignmentDeclarationKind(container.parent.parent) === 9 /* ObjectDefinePrototypeProperty */) { - return container.parent.parent.arguments[0].expression; - } - } - function getTypeForThisExpressionFromJSDoc(node) { - const thisTag = getJSDocThisTag(node); - if (thisTag && thisTag.typeExpression) { - return getTypeFromTypeNode(thisTag.typeExpression); - } - const signature = getSignatureOfTypeTag(node); - if (signature) { - return getThisTypeOfSignature(signature); - } - } - function isInConstructorArgumentInitializer(node, constructorDecl) { - return !!findAncestor(node, (n) => isFunctionLikeDeclaration(n) ? "quit" : n.kind === 169 /* Parameter */ && n.parent === constructorDecl); - } - function checkSuperExpression(node) { - const isCallExpression2 = node.parent.kind === 213 /* CallExpression */ && node.parent.expression === node; - const immediateContainer = getSuperContainer( - node, - /*stopOnFunctions*/ - true - ); - let container = immediateContainer; - let needToCaptureLexicalThis = false; - let inAsyncFunction = false; - if (!isCallExpression2) { - while (container && container.kind === 219 /* ArrowFunction */) { - if (hasSyntacticModifier(container, 1024 /* Async */)) inAsyncFunction = true; - container = getSuperContainer( - container, - /*stopOnFunctions*/ - true - ); - needToCaptureLexicalThis = languageVersion < 2 /* ES2015 */; - } - if (container && hasSyntacticModifier(container, 1024 /* Async */)) inAsyncFunction = true; - } - let nodeCheckFlag = 0; - if (!container || !isLegalUsageOfSuperExpression(container)) { - const current = findAncestor(node, (n) => n === container ? "quit" : n.kind === 167 /* ComputedPropertyName */); - if (current && current.kind === 167 /* ComputedPropertyName */) { - error(node, Diagnostics.super_cannot_be_referenced_in_a_computed_property_name); - } else if (isCallExpression2) { - error(node, Diagnostics.Super_calls_are_not_permitted_outside_constructors_or_in_nested_functions_inside_constructors); - } else if (!container || !container.parent || !(isClassLike(container.parent) || container.parent.kind === 210 /* ObjectLiteralExpression */)) { - error(node, Diagnostics.super_can_only_be_referenced_in_members_of_derived_classes_or_object_literal_expressions); - } else { - error(node, Diagnostics.super_property_access_is_permitted_only_in_a_constructor_member_function_or_member_accessor_of_a_derived_class); - } - return errorType; - } - if (!isCallExpression2 && immediateContainer.kind === 176 /* Constructor */) { - checkThisBeforeSuper(node, container, Diagnostics.super_must_be_called_before_accessing_a_property_of_super_in_the_constructor_of_a_derived_class); - } - if (isStatic(container) || isCallExpression2) { - nodeCheckFlag = 32 /* SuperStatic */; - if (!isCallExpression2 && languageVersion >= 2 /* ES2015 */ && languageVersion <= 8 /* ES2021 */ && (isPropertyDeclaration(container) || isClassStaticBlockDeclaration(container))) { - forEachEnclosingBlockScopeContainer(node.parent, (current) => { - if (!isSourceFile(current) || isExternalOrCommonJsModule(current)) { - getNodeLinks(current).flags |= 2097152 /* ContainsSuperPropertyInStaticInitializer */; - } - }); - } - } else { - nodeCheckFlag = 16 /* SuperInstance */; - } - getNodeLinks(node).flags |= nodeCheckFlag; - if (container.kind === 174 /* MethodDeclaration */ && inAsyncFunction) { - if (isSuperProperty(node.parent) && isAssignmentTarget(node.parent)) { - getNodeLinks(container).flags |= 256 /* MethodWithSuperPropertyAssignmentInAsync */; - } else { - getNodeLinks(container).flags |= 128 /* MethodWithSuperPropertyAccessInAsync */; - } - } - if (needToCaptureLexicalThis) { - captureLexicalThis(node.parent, container); - } - if (container.parent.kind === 210 /* ObjectLiteralExpression */) { - if (languageVersion < 2 /* ES2015 */) { - error(node, Diagnostics.super_is_only_allowed_in_members_of_object_literal_expressions_when_option_target_is_ES2015_or_higher); - return errorType; - } else { - return anyType; - } - } - const classLikeDeclaration = container.parent; - if (!getClassExtendsHeritageElement(classLikeDeclaration)) { - error(node, Diagnostics.super_can_only_be_referenced_in_a_derived_class); - return errorType; - } - if (classDeclarationExtendsNull(classLikeDeclaration)) { - return isCallExpression2 ? errorType : nullWideningType; - } - const classType = getDeclaredTypeOfSymbol(getSymbolOfDeclaration(classLikeDeclaration)); - const baseClassType = classType && getBaseTypes(classType)[0]; - if (!baseClassType) { - return errorType; - } - if (container.kind === 176 /* Constructor */ && isInConstructorArgumentInitializer(node, container)) { - error(node, Diagnostics.super_cannot_be_referenced_in_constructor_arguments); - return errorType; - } - return nodeCheckFlag === 32 /* SuperStatic */ ? getBaseConstructorTypeOfClass(classType) : getTypeWithThisArgument(baseClassType, classType.thisType); - function isLegalUsageOfSuperExpression(container2) { - if (isCallExpression2) { - return container2.kind === 176 /* Constructor */; - } else { - if (isClassLike(container2.parent) || container2.parent.kind === 210 /* ObjectLiteralExpression */) { - if (isStatic(container2)) { - return container2.kind === 174 /* MethodDeclaration */ || container2.kind === 173 /* MethodSignature */ || container2.kind === 177 /* GetAccessor */ || container2.kind === 178 /* SetAccessor */ || container2.kind === 172 /* PropertyDeclaration */ || container2.kind === 175 /* ClassStaticBlockDeclaration */; - } else { - return container2.kind === 174 /* MethodDeclaration */ || container2.kind === 173 /* MethodSignature */ || container2.kind === 177 /* GetAccessor */ || container2.kind === 178 /* SetAccessor */ || container2.kind === 172 /* PropertyDeclaration */ || container2.kind === 171 /* PropertySignature */ || container2.kind === 176 /* Constructor */; - } - } - } - return false; - } - } - function getContainingObjectLiteral(func) { - return (func.kind === 174 /* MethodDeclaration */ || func.kind === 177 /* GetAccessor */ || func.kind === 178 /* SetAccessor */) && func.parent.kind === 210 /* ObjectLiteralExpression */ ? func.parent : func.kind === 218 /* FunctionExpression */ && func.parent.kind === 303 /* PropertyAssignment */ ? func.parent.parent : void 0; - } - function getThisTypeArgument(type) { - return getObjectFlags(type) & 4 /* Reference */ && type.target === globalThisType ? getTypeArguments(type)[0] : void 0; - } - function getThisTypeFromContextualType(type) { - return mapType(type, (t) => { - return t.flags & 2097152 /* Intersection */ ? forEach(t.types, getThisTypeArgument) : getThisTypeArgument(t); - }); - } - function getThisTypeOfObjectLiteralFromContextualType(containingLiteral, contextualType) { - let literal = containingLiteral; - let type = contextualType; - while (type) { - const thisType = getThisTypeFromContextualType(type); - if (thisType) { - return thisType; - } - if (literal.parent.kind !== 303 /* PropertyAssignment */) { - break; - } - literal = literal.parent.parent; - type = getApparentTypeOfContextualType( - literal, - /*contextFlags*/ - void 0 - ); - } - } - function getContextualThisParameterType(func) { - if (func.kind === 219 /* ArrowFunction */) { - return void 0; - } - if (isContextSensitiveFunctionOrObjectLiteralMethod(func)) { - const contextualSignature = getContextualSignature(func); - if (contextualSignature) { - const thisParameter = contextualSignature.thisParameter; - if (thisParameter) { - return getTypeOfSymbol(thisParameter); - } - } - } - const inJs = isInJSFile(func); - if (noImplicitThis || inJs) { - const containingLiteral = getContainingObjectLiteral(func); - if (containingLiteral) { - const contextualType = getApparentTypeOfContextualType( - containingLiteral, - /*contextFlags*/ - void 0 - ); - const thisType = getThisTypeOfObjectLiteralFromContextualType(containingLiteral, contextualType); - if (thisType) { - return instantiateType(thisType, getMapperFromContext(getInferenceContext(containingLiteral))); - } - return getWidenedType(contextualType ? getNonNullableType(contextualType) : checkExpressionCached(containingLiteral)); - } - const parent = walkUpParenthesizedExpressions(func.parent); - if (isAssignmentExpression(parent)) { - const target = parent.left; - if (isAccessExpression(target)) { - const { expression } = target; - if (inJs && isIdentifier(expression)) { - const sourceFile = getSourceFileOfNode(parent); - if (sourceFile.commonJsModuleIndicator && getResolvedSymbol(expression) === sourceFile.symbol) { - return void 0; - } - } - return getWidenedType(checkExpressionCached(expression)); - } - } - } - return void 0; - } - function getContextuallyTypedParameterType(parameter) { - const func = parameter.parent; - if (!isContextSensitiveFunctionOrObjectLiteralMethod(func)) { - return void 0; - } - const iife = getImmediatelyInvokedFunctionExpression(func); - if (iife && iife.arguments) { - const args = getEffectiveCallArguments(iife); - const indexOfParameter = func.parameters.indexOf(parameter); - if (parameter.dotDotDotToken) { - return getSpreadArgumentType( - args, - indexOfParameter, - args.length, - anyType, - /*context*/ - void 0, - 0 /* Normal */ - ); - } - const links = getNodeLinks(iife); - const cached = links.resolvedSignature; - links.resolvedSignature = anySignature; - const type = indexOfParameter < args.length ? getWidenedLiteralType(checkExpression(args[indexOfParameter])) : parameter.initializer ? void 0 : undefinedWideningType; - links.resolvedSignature = cached; - return type; - } - const contextualSignature = getContextualSignature(func); - if (contextualSignature) { - const index = func.parameters.indexOf(parameter) - (getThisParameter(func) ? 1 : 0); - return parameter.dotDotDotToken && lastOrUndefined(func.parameters) === parameter ? getRestTypeAtPosition(contextualSignature, index) : tryGetTypeAtPosition(contextualSignature, index); - } - } - function getContextualTypeForVariableLikeDeclaration(declaration, contextFlags) { - const typeNode = getEffectiveTypeAnnotationNode(declaration) || (isInJSFile(declaration) ? tryGetJSDocSatisfiesTypeNode(declaration) : void 0); - if (typeNode) { - return getTypeFromTypeNode(typeNode); - } - switch (declaration.kind) { - case 169 /* Parameter */: - return getContextuallyTypedParameterType(declaration); - case 208 /* BindingElement */: - return getContextualTypeForBindingElement(declaration, contextFlags); - case 172 /* PropertyDeclaration */: - if (isStatic(declaration)) { - return getContextualTypeForStaticPropertyDeclaration(declaration, contextFlags); - } - } - } - function getContextualTypeForBindingElement(declaration, contextFlags) { - const parent = declaration.parent.parent; - const name = declaration.propertyName || declaration.name; - const parentType = getContextualTypeForVariableLikeDeclaration(parent, contextFlags) || parent.kind !== 208 /* BindingElement */ && parent.initializer && checkDeclarationInitializer(parent, declaration.dotDotDotToken ? 32 /* RestBindingElement */ : 0 /* Normal */); - if (!parentType || isBindingPattern(name) || isComputedNonLiteralName(name)) return void 0; - if (parent.name.kind === 207 /* ArrayBindingPattern */) { - const index = indexOfNode(declaration.parent.elements, declaration); - if (index < 0) return void 0; - return getContextualTypeForElementExpression(parentType, index); - } - const nameType = getLiteralTypeFromPropertyName(name); - if (isTypeUsableAsPropertyName(nameType)) { - const text = getPropertyNameFromType(nameType); - return getTypeOfPropertyOfType(parentType, text); - } - } - function getContextualTypeForStaticPropertyDeclaration(declaration, contextFlags) { - const parentType = isExpression(declaration.parent) && getContextualType(declaration.parent, contextFlags); - if (!parentType) return void 0; - return getTypeOfPropertyOfContextualType(parentType, getSymbolOfDeclaration(declaration).escapedName); - } - function getContextualTypeForInitializerExpression(node, contextFlags) { - const declaration = node.parent; - if (hasInitializer(declaration) && node === declaration.initializer) { - const result = getContextualTypeForVariableLikeDeclaration(declaration, contextFlags); - if (result) { - return result; - } - if (!(contextFlags & 8 /* SkipBindingPatterns */) && isBindingPattern(declaration.name) && declaration.name.elements.length > 0) { - return getTypeFromBindingPattern( - declaration.name, - /*includePatternInType*/ - true, - /*reportErrors*/ - false - ); - } - } - return void 0; - } - function getContextualTypeForReturnExpression(node, contextFlags) { - const func = getContainingFunction(node); - if (func) { - let contextualReturnType = getContextualReturnType(func, contextFlags); - if (contextualReturnType) { - const functionFlags = getFunctionFlags(func); - if (functionFlags & 1 /* Generator */) { - const isAsyncGenerator = (functionFlags & 2 /* Async */) !== 0; - if (contextualReturnType.flags & 1048576 /* Union */) { - contextualReturnType = filterType(contextualReturnType, (type) => !!getIterationTypeOfGeneratorFunctionReturnType(1 /* Return */, type, isAsyncGenerator)); - } - const iterationReturnType = getIterationTypeOfGeneratorFunctionReturnType(1 /* Return */, contextualReturnType, (functionFlags & 2 /* Async */) !== 0); - if (!iterationReturnType) { - return void 0; - } - contextualReturnType = iterationReturnType; - } - if (functionFlags & 2 /* Async */) { - const contextualAwaitedType = mapType(contextualReturnType, getAwaitedTypeNoAlias); - return contextualAwaitedType && getUnionType([contextualAwaitedType, createPromiseLikeType(contextualAwaitedType)]); - } - return contextualReturnType; - } - } - return void 0; - } - function getContextualTypeForAwaitOperand(node, contextFlags) { - const contextualType = getContextualType(node, contextFlags); - if (contextualType) { - const contextualAwaitedType = getAwaitedTypeNoAlias(contextualType); - return contextualAwaitedType && getUnionType([contextualAwaitedType, createPromiseLikeType(contextualAwaitedType)]); - } - return void 0; - } - function getContextualTypeForYieldOperand(node, contextFlags) { - const func = getContainingFunction(node); - if (func) { - const functionFlags = getFunctionFlags(func); - let contextualReturnType = getContextualReturnType(func, contextFlags); - if (contextualReturnType) { - const isAsyncGenerator = (functionFlags & 2 /* Async */) !== 0; - if (!node.asteriskToken && contextualReturnType.flags & 1048576 /* Union */) { - contextualReturnType = filterType(contextualReturnType, (type) => !!getIterationTypeOfGeneratorFunctionReturnType(1 /* Return */, type, isAsyncGenerator)); - } - if (node.asteriskToken) { - const iterationTypes = getIterationTypesOfGeneratorFunctionReturnType(contextualReturnType, isAsyncGenerator); - const yieldType = (iterationTypes == null ? void 0 : iterationTypes.yieldType) ?? silentNeverType; - const returnType = getContextualType(node, contextFlags) ?? silentNeverType; - const nextType = (iterationTypes == null ? void 0 : iterationTypes.nextType) ?? unknownType; - const generatorType = createGeneratorType( - yieldType, - returnType, - nextType, - /*isAsyncGenerator*/ - false - ); - if (isAsyncGenerator) { - const asyncGeneratorType = createGeneratorType( - yieldType, - returnType, - nextType, - /*isAsyncGenerator*/ - true - ); - return getUnionType([generatorType, asyncGeneratorType]); - } - return generatorType; - } - return getIterationTypeOfGeneratorFunctionReturnType(0 /* Yield */, contextualReturnType, isAsyncGenerator); - } - } - return void 0; - } - function isInParameterInitializerBeforeContainingFunction(node) { - let inBindingInitializer = false; - while (node.parent && !isFunctionLike(node.parent)) { - if (isParameter(node.parent) && (inBindingInitializer || node.parent.initializer === node)) { - return true; - } - if (isBindingElement(node.parent) && node.parent.initializer === node) { - inBindingInitializer = true; - } - node = node.parent; - } - return false; - } - function getContextualIterationType(kind, functionDecl) { - const isAsync = !!(getFunctionFlags(functionDecl) & 2 /* Async */); - const contextualReturnType = getContextualReturnType( - functionDecl, - /*contextFlags*/ - void 0 - ); - if (contextualReturnType) { - return getIterationTypeOfGeneratorFunctionReturnType(kind, contextualReturnType, isAsync) || void 0; - } - return void 0; - } - function getContextualReturnType(functionDecl, contextFlags) { - const returnType = getReturnTypeFromAnnotation(functionDecl); - if (returnType) { - return returnType; - } - const signature = getContextualSignatureForFunctionLikeDeclaration(functionDecl); - if (signature && !isResolvingReturnTypeOfSignature(signature)) { - const returnType2 = getReturnTypeOfSignature(signature); - const functionFlags = getFunctionFlags(functionDecl); - if (functionFlags & 1 /* Generator */) { - return filterType(returnType2, (t) => { - return !!(t.flags & (3 /* AnyOrUnknown */ | 16384 /* Void */ | 58982400 /* InstantiableNonPrimitive */)) || checkGeneratorInstantiationAssignabilityToReturnType( - t, - functionFlags, - /*errorNode*/ - void 0 - ); - }); - } - if (functionFlags & 2 /* Async */) { - return filterType(returnType2, (t) => { - return !!(t.flags & (3 /* AnyOrUnknown */ | 16384 /* Void */ | 58982400 /* InstantiableNonPrimitive */)) || !!getAwaitedTypeOfPromise(t); - }); - } - return returnType2; - } - const iife = getImmediatelyInvokedFunctionExpression(functionDecl); - if (iife) { - return getContextualType(iife, contextFlags); - } - return void 0; - } - function getContextualTypeForArgument(callTarget, arg) { - const args = getEffectiveCallArguments(callTarget); - const argIndex = args.indexOf(arg); - return argIndex === -1 ? void 0 : getContextualTypeForArgumentAtIndex(callTarget, argIndex); - } - function getContextualTypeForArgumentAtIndex(callTarget, argIndex) { - if (isImportCall(callTarget)) { - return argIndex === 0 ? stringType : argIndex === 1 ? getGlobalImportCallOptionsType( - /*reportErrors*/ - false - ) : anyType; - } - const signature = getNodeLinks(callTarget).resolvedSignature === resolvingSignature ? resolvingSignature : getResolvedSignature(callTarget); - if (isJsxOpeningLikeElement(callTarget) && argIndex === 0) { - return getEffectiveFirstArgumentForJsxSignature(signature, callTarget); - } - const restIndex = signature.parameters.length - 1; - return signatureHasRestParameter(signature) && argIndex >= restIndex ? getIndexedAccessType(getTypeOfSymbol(signature.parameters[restIndex]), getNumberLiteralType(argIndex - restIndex), 256 /* Contextual */) : getTypeAtPosition(signature, argIndex); - } - function getContextualTypeForDecorator(decorator) { - const signature = getDecoratorCallSignature(decorator); - return signature ? getOrCreateTypeFromSignature(signature) : void 0; - } - function getContextualTypeForSubstitutionExpression(template, substitutionExpression) { - if (template.parent.kind === 215 /* TaggedTemplateExpression */) { - return getContextualTypeForArgument(template.parent, substitutionExpression); - } - return void 0; - } - function getContextualTypeForBinaryOperand(node, contextFlags) { - const binaryExpression = node.parent; - const { left, operatorToken, right } = binaryExpression; - switch (operatorToken.kind) { - case 64 /* EqualsToken */: - case 77 /* AmpersandAmpersandEqualsToken */: - case 76 /* BarBarEqualsToken */: - case 78 /* QuestionQuestionEqualsToken */: - return node === right ? getContextualTypeForAssignmentDeclaration(binaryExpression) : void 0; - case 57 /* BarBarToken */: - case 61 /* QuestionQuestionToken */: - const type = getContextualType(binaryExpression, contextFlags); - return node === right && (type && type.pattern || !type && !isDefaultedExpandoInitializer(binaryExpression)) ? getTypeOfExpression(left) : type; - case 56 /* AmpersandAmpersandToken */: - case 28 /* CommaToken */: - return node === right ? getContextualType(binaryExpression, contextFlags) : void 0; - default: - return void 0; - } - } - function getSymbolForExpression(e) { - if (canHaveSymbol(e) && e.symbol) { - return e.symbol; - } - if (isIdentifier(e)) { - return getResolvedSymbol(e); - } - if (isPropertyAccessExpression(e)) { - const lhsType = getTypeOfExpression(e.expression); - return isPrivateIdentifier(e.name) ? tryGetPrivateIdentifierPropertyOfType(lhsType, e.name) : getPropertyOfType(lhsType, e.name.escapedText); - } - if (isElementAccessExpression(e)) { - const propType = checkExpressionCached(e.argumentExpression); - if (!isTypeUsableAsPropertyName(propType)) { - return void 0; - } - const lhsType = getTypeOfExpression(e.expression); - return getPropertyOfType(lhsType, getPropertyNameFromType(propType)); - } - return void 0; - function tryGetPrivateIdentifierPropertyOfType(type, id) { - const lexicallyScopedSymbol = lookupSymbolForPrivateIdentifierDeclaration(id.escapedText, id); - return lexicallyScopedSymbol && getPrivateIdentifierPropertyOfType(type, lexicallyScopedSymbol); - } - } - function getContextualTypeForAssignmentDeclaration(binaryExpression) { - var _a, _b; - const kind = getAssignmentDeclarationKind(binaryExpression); - switch (kind) { - case 0 /* None */: - case 4 /* ThisProperty */: - const lhsSymbol = getSymbolForExpression(binaryExpression.left); - const decl = lhsSymbol && lhsSymbol.valueDeclaration; - if (decl && (isPropertyDeclaration(decl) || isPropertySignature(decl))) { - const overallAnnotation = getEffectiveTypeAnnotationNode(decl); - return overallAnnotation && instantiateType(getTypeFromTypeNode(overallAnnotation), getSymbolLinks(lhsSymbol).mapper) || (isPropertyDeclaration(decl) ? decl.initializer && getTypeOfExpression(binaryExpression.left) : void 0); - } - if (kind === 0 /* None */) { - return getTypeOfExpression(binaryExpression.left); - } - return getContextualTypeForThisPropertyAssignment(binaryExpression); - case 5 /* Property */: - if (isPossiblyAliasedThisProperty(binaryExpression, kind)) { - return getContextualTypeForThisPropertyAssignment(binaryExpression); - } else if (!canHaveSymbol(binaryExpression.left) || !binaryExpression.left.symbol) { - return getTypeOfExpression(binaryExpression.left); - } else { - const decl2 = binaryExpression.left.symbol.valueDeclaration; - if (!decl2) { - return void 0; - } - const lhs = cast(binaryExpression.left, isAccessExpression); - const overallAnnotation = getEffectiveTypeAnnotationNode(decl2); - if (overallAnnotation) { - return getTypeFromTypeNode(overallAnnotation); - } else if (isIdentifier(lhs.expression)) { - const id = lhs.expression; - const parentSymbol = resolveName( - id, - id.escapedText, - 111551 /* Value */, - /*nameNotFoundMessage*/ - void 0, - /*isUse*/ - true - ); - if (parentSymbol) { - const annotated2 = parentSymbol.valueDeclaration && getEffectiveTypeAnnotationNode(parentSymbol.valueDeclaration); - if (annotated2) { - const nameStr = getElementOrPropertyAccessName(lhs); - if (nameStr !== void 0) { - return getTypeOfPropertyOfContextualType(getTypeFromTypeNode(annotated2), nameStr); - } - } - return void 0; - } - } - return isInJSFile(decl2) || decl2 === binaryExpression.left ? void 0 : getTypeOfExpression(binaryExpression.left); - } - case 1 /* ExportsProperty */: - case 6 /* Prototype */: - case 3 /* PrototypeProperty */: - case 2 /* ModuleExports */: - let valueDeclaration; - if (kind !== 2 /* ModuleExports */) { - valueDeclaration = canHaveSymbol(binaryExpression.left) ? (_a = binaryExpression.left.symbol) == null ? void 0 : _a.valueDeclaration : void 0; - } - valueDeclaration || (valueDeclaration = (_b = binaryExpression.symbol) == null ? void 0 : _b.valueDeclaration); - const annotated = valueDeclaration && getEffectiveTypeAnnotationNode(valueDeclaration); - return annotated ? getTypeFromTypeNode(annotated) : void 0; - case 7 /* ObjectDefinePropertyValue */: - case 8 /* ObjectDefinePropertyExports */: - case 9 /* ObjectDefinePrototypeProperty */: - return Debug.fail("Does not apply"); - default: - return Debug.assertNever(kind); - } - } - function isPossiblyAliasedThisProperty(declaration, kind = getAssignmentDeclarationKind(declaration)) { - if (kind === 4 /* ThisProperty */) { - return true; - } - if (!isInJSFile(declaration) || kind !== 5 /* Property */ || !isIdentifier(declaration.left.expression)) { - return false; - } - const name = declaration.left.expression.escapedText; - const symbol = resolveName( - declaration.left, - name, - 111551 /* Value */, - /*nameNotFoundMessage*/ - void 0, - /*isUse*/ - true, - /*excludeGlobals*/ - true - ); - return isThisInitializedDeclaration(symbol == null ? void 0 : symbol.valueDeclaration); - } - function getContextualTypeForThisPropertyAssignment(binaryExpression) { - if (!binaryExpression.symbol) return getTypeOfExpression(binaryExpression.left); - if (binaryExpression.symbol.valueDeclaration) { - const annotated = getEffectiveTypeAnnotationNode(binaryExpression.symbol.valueDeclaration); - if (annotated) { - const type = getTypeFromTypeNode(annotated); - if (type) { - return type; - } - } - } - const thisAccess = cast(binaryExpression.left, isAccessExpression); - if (!isObjectLiteralMethod(getThisContainer( - thisAccess.expression, - /*includeArrowFunctions*/ - false, - /*includeClassComputedPropertyName*/ - false - ))) { - return void 0; - } - const thisType = checkThisExpression(thisAccess.expression); - const nameStr = getElementOrPropertyAccessName(thisAccess); - return nameStr !== void 0 && getTypeOfPropertyOfContextualType(thisType, nameStr) || void 0; - } - function isCircularMappedProperty(symbol) { - return !!(getCheckFlags(symbol) & 262144 /* Mapped */ && !symbol.links.type && findResolutionCycleStartIndex(symbol, 0 /* Type */) >= 0); - } - function getTypeOfPropertyOfContextualType(type, name, nameType) { - return mapType( - type, - (t) => { - var _a; - if (isGenericMappedType(t) && getMappedTypeNameTypeKind(t) !== 2 /* Remapping */) { - const constraint = getConstraintTypeFromMappedType(t); - const constraintOfConstraint = getBaseConstraintOfType(constraint) || constraint; - const propertyNameType = nameType || getStringLiteralType(unescapeLeadingUnderscores(name)); - if (isTypeAssignableTo(propertyNameType, constraintOfConstraint)) { - return substituteIndexedMappedType(t, propertyNameType); - } - } else if (t.flags & 3670016 /* StructuredType */) { - const prop = getPropertyOfType(t, name); - if (prop) { - return isCircularMappedProperty(prop) ? void 0 : removeMissingType(getTypeOfSymbol(prop), !!(prop.flags & 16777216 /* Optional */)); - } - if (isTupleType(t) && isNumericLiteralName(name) && +name >= 0) { - const restType = getElementTypeOfSliceOfTupleType( - t, - t.target.fixedLength, - /*endSkipCount*/ - 0, - /*writing*/ - false, - /*noReductions*/ - true - ); - if (restType) { - return restType; - } - } - return (_a = findApplicableIndexInfo(getIndexInfosOfStructuredType(t), nameType || getStringLiteralType(unescapeLeadingUnderscores(name)))) == null ? void 0 : _a.type; - } - return void 0; - }, - /*noReductions*/ - true - ); - } - function getContextualTypeForObjectLiteralMethod(node, contextFlags) { - Debug.assert(isObjectLiteralMethod(node)); - if (node.flags & 67108864 /* InWithStatement */) { - return void 0; - } - return getContextualTypeForObjectLiteralElement(node, contextFlags); - } - function getContextualTypeForObjectLiteralElement(element, contextFlags) { - const objectLiteral = element.parent; - const propertyAssignmentType = isPropertyAssignment(element) && getContextualTypeForVariableLikeDeclaration(element, contextFlags); - if (propertyAssignmentType) { - return propertyAssignmentType; - } - const type = getApparentTypeOfContextualType(objectLiteral, contextFlags); - if (type) { - if (hasBindableName(element)) { - const symbol = getSymbolOfDeclaration(element); - return getTypeOfPropertyOfContextualType(type, symbol.escapedName, getSymbolLinks(symbol).nameType); - } - if (hasDynamicName(element)) { - const name = getNameOfDeclaration(element); - if (name && isComputedPropertyName(name)) { - const exprType = checkExpression(name.expression); - const propType = isTypeUsableAsPropertyName(exprType) && getTypeOfPropertyOfContextualType(type, getPropertyNameFromType(exprType)); - if (propType) { - return propType; - } - } - } - if (element.name) { - const nameType = getLiteralTypeFromPropertyName(element.name); - return mapType( - type, - (t) => { - var _a; - return (_a = findApplicableIndexInfo(getIndexInfosOfStructuredType(t), nameType)) == null ? void 0 : _a.type; - }, - /*noReductions*/ - true - ); - } - } - return void 0; - } - function getSpreadIndices(elements) { - let first2, last2; - for (let i = 0; i < elements.length; i++) { - if (isSpreadElement(elements[i])) { - first2 ?? (first2 = i); - last2 = i; - } - } - return { first: first2, last: last2 }; - } - function getContextualTypeForElementExpression(type, index, length2, firstSpreadIndex, lastSpreadIndex) { - return type && mapType( - type, - (t) => { - if (isTupleType(t)) { - if ((firstSpreadIndex === void 0 || index < firstSpreadIndex) && index < t.target.fixedLength) { - return removeMissingType(getTypeArguments(t)[index], !!(t.target.elementFlags[index] && 2 /* Optional */)); - } - const offset = length2 !== void 0 && (lastSpreadIndex === void 0 || index > lastSpreadIndex) ? length2 - index : 0; - const fixedEndLength = offset > 0 && t.target.combinedFlags & 12 /* Variable */ ? getEndElementCount(t.target, 3 /* Fixed */) : 0; - if (offset > 0 && offset <= fixedEndLength) { - return getTypeArguments(t)[getTypeReferenceArity(t) - offset]; - } - return getElementTypeOfSliceOfTupleType( - t, - firstSpreadIndex === void 0 ? t.target.fixedLength : Math.min(t.target.fixedLength, firstSpreadIndex), - length2 === void 0 || lastSpreadIndex === void 0 ? fixedEndLength : Math.min(fixedEndLength, length2 - lastSpreadIndex), - /*writing*/ - false, - /*noReductions*/ - true - ); - } - return (!firstSpreadIndex || index < firstSpreadIndex) && getTypeOfPropertyOfContextualType(t, "" + index) || getIteratedTypeOrElementType( - 1 /* Element */, - t, - undefinedType, - /*errorNode*/ - void 0, - /*checkAssignability*/ - false - ); - }, - /*noReductions*/ - true - ); - } - function getContextualTypeForConditionalOperand(node, contextFlags) { - const conditional = node.parent; - return node === conditional.whenTrue || node === conditional.whenFalse ? getContextualType(conditional, contextFlags) : void 0; - } - function getContextualTypeForChildJsxExpression(node, child, contextFlags) { - const attributesType = getApparentTypeOfContextualType(node.openingElement.attributes, contextFlags); - const jsxChildrenPropertyName = getJsxElementChildrenPropertyName(getJsxNamespaceAt(node)); - if (!(attributesType && !isTypeAny(attributesType) && jsxChildrenPropertyName && jsxChildrenPropertyName !== "")) { - return void 0; - } - const realChildren = getSemanticJsxChildren(node.children); - const childIndex = realChildren.indexOf(child); - const childFieldType = getTypeOfPropertyOfContextualType(attributesType, jsxChildrenPropertyName); - return childFieldType && (realChildren.length === 1 ? childFieldType : mapType( - childFieldType, - (t) => { - if (isArrayLikeType(t)) { - return getIndexedAccessType(t, getNumberLiteralType(childIndex)); - } else { - return t; - } - }, - /*noReductions*/ - true - )); - } - function getContextualTypeForJsxExpression(node, contextFlags) { - const exprParent = node.parent; - return isJsxAttributeLike(exprParent) ? getContextualType(node, contextFlags) : isJsxElement(exprParent) ? getContextualTypeForChildJsxExpression(exprParent, node, contextFlags) : void 0; - } - function getContextualTypeForJsxAttribute(attribute, contextFlags) { - if (isJsxAttribute(attribute)) { - const attributesType = getApparentTypeOfContextualType(attribute.parent, contextFlags); - if (!attributesType || isTypeAny(attributesType)) { - return void 0; - } - return getTypeOfPropertyOfContextualType(attributesType, getEscapedTextOfJsxAttributeName(attribute.name)); - } else { - return getContextualType(attribute.parent, contextFlags); - } - } - function isPossiblyDiscriminantValue(node) { - switch (node.kind) { - case 11 /* StringLiteral */: - case 9 /* NumericLiteral */: - case 10 /* BigIntLiteral */: - case 15 /* NoSubstitutionTemplateLiteral */: - case 228 /* TemplateExpression */: - case 112 /* TrueKeyword */: - case 97 /* FalseKeyword */: - case 106 /* NullKeyword */: - case 80 /* Identifier */: - case 157 /* UndefinedKeyword */: - return true; - case 211 /* PropertyAccessExpression */: - case 217 /* ParenthesizedExpression */: - return isPossiblyDiscriminantValue(node.expression); - case 294 /* JsxExpression */: - return !node.expression || isPossiblyDiscriminantValue(node.expression); - } - return false; - } - function discriminateContextualTypeByObjectMembers(node, contextualType) { - const key = `D${getNodeId(node)},${getTypeId(contextualType)}`; - return getCachedType(key) ?? setCachedType( - key, - getMatchingUnionConstituentForObjectLiteral(contextualType, node) ?? discriminateTypeByDiscriminableItems( - contextualType, - concatenate( - map( - filter(node.properties, (p) => { - if (!p.symbol) { - return false; - } - if (p.kind === 303 /* PropertyAssignment */) { - return isPossiblyDiscriminantValue(p.initializer) && isDiscriminantProperty(contextualType, p.symbol.escapedName); - } - if (p.kind === 304 /* ShorthandPropertyAssignment */) { - return isDiscriminantProperty(contextualType, p.symbol.escapedName); - } - return false; - }), - (prop) => [() => getContextFreeTypeOfExpression(prop.kind === 303 /* PropertyAssignment */ ? prop.initializer : prop.name), prop.symbol.escapedName] - ), - map( - filter(getPropertiesOfType(contextualType), (s) => { - var _a; - return !!(s.flags & 16777216 /* Optional */) && !!((_a = node == null ? void 0 : node.symbol) == null ? void 0 : _a.members) && !node.symbol.members.has(s.escapedName) && isDiscriminantProperty(contextualType, s.escapedName); - }), - (s) => [() => undefinedType, s.escapedName] - ) - ), - isTypeAssignableTo - ) - ); - } - function discriminateContextualTypeByJSXAttributes(node, contextualType) { - const key = `D${getNodeId(node)},${getTypeId(contextualType)}`; - const cached = getCachedType(key); - if (cached) return cached; - const jsxChildrenPropertyName = getJsxElementChildrenPropertyName(getJsxNamespaceAt(node)); - return setCachedType( - key, - discriminateTypeByDiscriminableItems( - contextualType, - concatenate( - map( - filter(node.properties, (p) => !!p.symbol && p.kind === 291 /* JsxAttribute */ && isDiscriminantProperty(contextualType, p.symbol.escapedName) && (!p.initializer || isPossiblyDiscriminantValue(p.initializer))), - (prop) => [!prop.initializer ? () => trueType : () => getContextFreeTypeOfExpression(prop.initializer), prop.symbol.escapedName] - ), - map( - filter(getPropertiesOfType(contextualType), (s) => { - var _a; - if (!(s.flags & 16777216 /* Optional */) || !((_a = node == null ? void 0 : node.symbol) == null ? void 0 : _a.members)) { - return false; - } - const element = node.parent.parent; - if (s.escapedName === jsxChildrenPropertyName && isJsxElement(element) && getSemanticJsxChildren(element.children).length) { - return false; - } - return !node.symbol.members.has(s.escapedName) && isDiscriminantProperty(contextualType, s.escapedName); - }), - (s) => [() => undefinedType, s.escapedName] - ) - ), - isTypeAssignableTo - ) - ); - } - function getApparentTypeOfContextualType(node, contextFlags) { - const contextualType = isObjectLiteralMethod(node) ? getContextualTypeForObjectLiteralMethod(node, contextFlags) : getContextualType(node, contextFlags); - const instantiatedType = instantiateContextualType(contextualType, node, contextFlags); - if (instantiatedType && !(contextFlags && contextFlags & 2 /* NoConstraints */ && instantiatedType.flags & 8650752 /* TypeVariable */)) { - const apparentType = mapType( - instantiatedType, - // When obtaining apparent type of *contextual* type we don't want to get apparent type of mapped types. - // That would evaluate mapped types with array or tuple type constraints too eagerly - // and thus it would prevent `getTypeOfPropertyOfContextualType` from obtaining per-position contextual type for elements of array literal expressions. - // Apparent type of other mapped types is already the mapped type itself so we can just avoid calling `getApparentType` here for all mapped types. - (t) => getObjectFlags(t) & 32 /* Mapped */ ? t : getApparentType(t), - /*noReductions*/ - true - ); - return apparentType.flags & 1048576 /* Union */ && isObjectLiteralExpression(node) ? discriminateContextualTypeByObjectMembers(node, apparentType) : apparentType.flags & 1048576 /* Union */ && isJsxAttributes(node) ? discriminateContextualTypeByJSXAttributes(node, apparentType) : apparentType; - } - } - function instantiateContextualType(contextualType, node, contextFlags) { - if (contextualType && maybeTypeOfKind(contextualType, 465829888 /* Instantiable */)) { - const inferenceContext = getInferenceContext(node); - if (inferenceContext && contextFlags & 1 /* Signature */ && some(inferenceContext.inferences, hasInferenceCandidatesOrDefault)) { - return instantiateInstantiableTypes(contextualType, inferenceContext.nonFixingMapper); - } - if (inferenceContext == null ? void 0 : inferenceContext.returnMapper) { - const type = instantiateInstantiableTypes(contextualType, inferenceContext.returnMapper); - return type.flags & 1048576 /* Union */ && containsType(type.types, regularFalseType) && containsType(type.types, regularTrueType) ? filterType(type, (t) => t !== regularFalseType && t !== regularTrueType) : type; - } - } - return contextualType; - } - function instantiateInstantiableTypes(type, mapper) { - if (type.flags & 465829888 /* Instantiable */) { - return instantiateType(type, mapper); - } - if (type.flags & 1048576 /* Union */) { - return getUnionType(map(type.types, (t) => instantiateInstantiableTypes(t, mapper)), 0 /* None */); - } - if (type.flags & 2097152 /* Intersection */) { - return getIntersectionType(map(type.types, (t) => instantiateInstantiableTypes(t, mapper))); - } - return type; - } - function getContextualType(node, contextFlags) { - var _a; - if (node.flags & 67108864 /* InWithStatement */) { - return void 0; - } - const index = findContextualNode( - node, - /*includeCaches*/ - !contextFlags - ); - if (index >= 0) { - return contextualTypes[index]; - } - const { parent } = node; - switch (parent.kind) { - case 260 /* VariableDeclaration */: - case 169 /* Parameter */: - case 172 /* PropertyDeclaration */: - case 171 /* PropertySignature */: - case 208 /* BindingElement */: - return getContextualTypeForInitializerExpression(node, contextFlags); - case 219 /* ArrowFunction */: - case 253 /* ReturnStatement */: - return getContextualTypeForReturnExpression(node, contextFlags); - case 229 /* YieldExpression */: - return getContextualTypeForYieldOperand(parent, contextFlags); - case 223 /* AwaitExpression */: - return getContextualTypeForAwaitOperand(parent, contextFlags); - case 213 /* CallExpression */: - case 214 /* NewExpression */: - return getContextualTypeForArgument(parent, node); - case 170 /* Decorator */: - return getContextualTypeForDecorator(parent); - case 216 /* TypeAssertionExpression */: - case 234 /* AsExpression */: - return isConstTypeReference(parent.type) ? getContextualType(parent, contextFlags) : getTypeFromTypeNode(parent.type); - case 226 /* BinaryExpression */: - return getContextualTypeForBinaryOperand(node, contextFlags); - case 303 /* PropertyAssignment */: - case 304 /* ShorthandPropertyAssignment */: - return getContextualTypeForObjectLiteralElement(parent, contextFlags); - case 305 /* SpreadAssignment */: - return getContextualType(parent.parent, contextFlags); - case 209 /* ArrayLiteralExpression */: { - const arrayLiteral = parent; - const type = getApparentTypeOfContextualType(arrayLiteral, contextFlags); - const elementIndex = indexOfNode(arrayLiteral.elements, node); - const spreadIndices = (_a = getNodeLinks(arrayLiteral)).spreadIndices ?? (_a.spreadIndices = getSpreadIndices(arrayLiteral.elements)); - return getContextualTypeForElementExpression(type, elementIndex, arrayLiteral.elements.length, spreadIndices.first, spreadIndices.last); - } - case 227 /* ConditionalExpression */: - return getContextualTypeForConditionalOperand(node, contextFlags); - case 239 /* TemplateSpan */: - Debug.assert(parent.parent.kind === 228 /* TemplateExpression */); - return getContextualTypeForSubstitutionExpression(parent.parent, node); - case 217 /* ParenthesizedExpression */: { - if (isInJSFile(parent)) { - if (isJSDocSatisfiesExpression(parent)) { - return getTypeFromTypeNode(getJSDocSatisfiesExpressionType(parent)); - } - const typeTag = getJSDocTypeTag(parent); - if (typeTag && !isConstTypeReference(typeTag.typeExpression.type)) { - return getTypeFromTypeNode(typeTag.typeExpression.type); - } - } - return getContextualType(parent, contextFlags); - } - case 235 /* NonNullExpression */: - return getContextualType(parent, contextFlags); - case 238 /* SatisfiesExpression */: - return getTypeFromTypeNode(parent.type); - case 277 /* ExportAssignment */: - return tryGetTypeFromEffectiveTypeNode(parent); - case 294 /* JsxExpression */: - return getContextualTypeForJsxExpression(parent, contextFlags); - case 291 /* JsxAttribute */: - case 293 /* JsxSpreadAttribute */: - return getContextualTypeForJsxAttribute(parent, contextFlags); - case 286 /* JsxOpeningElement */: - case 285 /* JsxSelfClosingElement */: - return getContextualJsxElementAttributesType(parent, contextFlags); - case 301 /* ImportAttribute */: - return getContextualImportAttributeType(parent); - } - return void 0; - } - function pushCachedContextualType(node) { - pushContextualType( - node, - getContextualType( - node, - /*contextFlags*/ - void 0 - ), - /*isCache*/ - true - ); - } - function pushContextualType(node, type, isCache) { - contextualTypeNodes[contextualTypeCount] = node; - contextualTypes[contextualTypeCount] = type; - contextualIsCache[contextualTypeCount] = isCache; - contextualTypeCount++; - } - function popContextualType() { - contextualTypeCount--; - } - function findContextualNode(node, includeCaches) { - for (let i = contextualTypeCount - 1; i >= 0; i--) { - if (node === contextualTypeNodes[i] && (includeCaches || !contextualIsCache[i])) { - return i; - } - } - return -1; - } - function pushInferenceContext(node, inferenceContext) { - inferenceContextNodes[inferenceContextCount] = node; - inferenceContexts[inferenceContextCount] = inferenceContext; - inferenceContextCount++; - } - function popInferenceContext() { - inferenceContextCount--; - } - function getInferenceContext(node) { - for (let i = inferenceContextCount - 1; i >= 0; i--) { - if (isNodeDescendantOf(node, inferenceContextNodes[i])) { - return inferenceContexts[i]; - } - } - } - function getContextualImportAttributeType(node) { - return getTypeOfPropertyOfContextualType(getGlobalImportAttributesType( - /*reportErrors*/ - false - ), getNameFromImportAttribute(node)); - } - function getContextualJsxElementAttributesType(node, contextFlags) { - if (isJsxOpeningElement(node) && contextFlags !== 4 /* Completions */) { - const index = findContextualNode( - node.parent, - /*includeCaches*/ - !contextFlags - ); - if (index >= 0) { - return contextualTypes[index]; - } - } - return getContextualTypeForArgumentAtIndex(node, 0); - } - function getEffectiveFirstArgumentForJsxSignature(signature, node) { - return getJsxReferenceKind(node) !== 0 /* Component */ ? getJsxPropsTypeFromCallSignature(signature, node) : getJsxPropsTypeFromClassType(signature, node); - } - function getJsxPropsTypeFromCallSignature(sig, context) { - let propsType = getTypeOfFirstParameterOfSignatureWithFallback(sig, unknownType); - propsType = getJsxManagedAttributesFromLocatedAttributes(context, getJsxNamespaceAt(context), propsType); - const intrinsicAttribs = getJsxType(JsxNames.IntrinsicAttributes, context); - if (!isErrorType(intrinsicAttribs)) { - propsType = intersectTypes(intrinsicAttribs, propsType); - } - return propsType; - } - function getJsxPropsTypeForSignatureFromMember(sig, forcedLookupLocation) { - if (sig.compositeSignatures) { - const results = []; - for (const signature of sig.compositeSignatures) { - const instance = getReturnTypeOfSignature(signature); - if (isTypeAny(instance)) { - return instance; - } - const propType = getTypeOfPropertyOfType(instance, forcedLookupLocation); - if (!propType) { - return; - } - results.push(propType); - } - return getIntersectionType(results); - } - const instanceType = getReturnTypeOfSignature(sig); - return isTypeAny(instanceType) ? instanceType : getTypeOfPropertyOfType(instanceType, forcedLookupLocation); - } - function getStaticTypeOfReferencedJsxConstructor(context) { - if (isJsxIntrinsicTagName(context.tagName)) { - const result = getIntrinsicAttributesTypeFromJsxOpeningLikeElement(context); - const fakeSignature = createSignatureForJSXIntrinsic(context, result); - return getOrCreateTypeFromSignature(fakeSignature); - } - const tagType = checkExpressionCached(context.tagName); - if (tagType.flags & 128 /* StringLiteral */) { - const result = getIntrinsicAttributesTypeFromStringLiteralType(tagType, context); - if (!result) { - return errorType; - } - const fakeSignature = createSignatureForJSXIntrinsic(context, result); - return getOrCreateTypeFromSignature(fakeSignature); - } - return tagType; - } - function getJsxManagedAttributesFromLocatedAttributes(context, ns, attributesType) { - const managedSym = getJsxLibraryManagedAttributes(ns); - if (managedSym) { - const ctorType = getStaticTypeOfReferencedJsxConstructor(context); - const result = instantiateAliasOrInterfaceWithDefaults(managedSym, isInJSFile(context), ctorType, attributesType); - if (result) { - return result; - } - } - return attributesType; - } - function getJsxPropsTypeFromClassType(sig, context) { - const ns = getJsxNamespaceAt(context); - const forcedLookupLocation = getJsxElementPropertiesName(ns); - let attributesType = forcedLookupLocation === void 0 ? getTypeOfFirstParameterOfSignatureWithFallback(sig, unknownType) : forcedLookupLocation === "" ? getReturnTypeOfSignature(sig) : getJsxPropsTypeForSignatureFromMember(sig, forcedLookupLocation); - if (!attributesType) { - if (!!forcedLookupLocation && !!length(context.attributes.properties)) { - error(context, Diagnostics.JSX_element_class_does_not_support_attributes_because_it_does_not_have_a_0_property, unescapeLeadingUnderscores(forcedLookupLocation)); - } - return unknownType; - } - attributesType = getJsxManagedAttributesFromLocatedAttributes(context, ns, attributesType); - if (isTypeAny(attributesType)) { - return attributesType; - } else { - let apparentAttributesType = attributesType; - const intrinsicClassAttribs = getJsxType(JsxNames.IntrinsicClassAttributes, context); - if (!isErrorType(intrinsicClassAttribs)) { - const typeParams = getLocalTypeParametersOfClassOrInterfaceOrTypeAlias(intrinsicClassAttribs.symbol); - const hostClassType = getReturnTypeOfSignature(sig); - let libraryManagedAttributeType; - if (typeParams) { - const inferredArgs = fillMissingTypeArguments([hostClassType], typeParams, getMinTypeArgumentCount(typeParams), isInJSFile(context)); - libraryManagedAttributeType = instantiateType(intrinsicClassAttribs, createTypeMapper(typeParams, inferredArgs)); - } else libraryManagedAttributeType = intrinsicClassAttribs; - apparentAttributesType = intersectTypes(libraryManagedAttributeType, apparentAttributesType); - } - const intrinsicAttribs = getJsxType(JsxNames.IntrinsicAttributes, context); - if (!isErrorType(intrinsicAttribs)) { - apparentAttributesType = intersectTypes(intrinsicAttribs, apparentAttributesType); - } - return apparentAttributesType; - } - } - function getIntersectedSignatures(signatures) { - return getStrictOptionValue(compilerOptions, "noImplicitAny") ? reduceLeft( - signatures, - (left, right) => left === right || !left ? left : compareTypeParametersIdentical(left.typeParameters, right.typeParameters) ? combineSignaturesOfIntersectionMembers(left, right) : void 0 - ) : void 0; - } - function combineIntersectionThisParam(left, right, mapper) { - if (!left || !right) { - return left || right; - } - const thisType = getUnionType([getTypeOfSymbol(left), instantiateType(getTypeOfSymbol(right), mapper)]); - return createSymbolWithType(left, thisType); - } - function combineIntersectionParameters(left, right, mapper) { - const leftCount = getParameterCount(left); - const rightCount = getParameterCount(right); - const longest = leftCount >= rightCount ? left : right; - const shorter = longest === left ? right : left; - const longestCount = longest === left ? leftCount : rightCount; - const eitherHasEffectiveRest = hasEffectiveRestParameter(left) || hasEffectiveRestParameter(right); - const needsExtraRestElement = eitherHasEffectiveRest && !hasEffectiveRestParameter(longest); - const params = new Array(longestCount + (needsExtraRestElement ? 1 : 0)); - for (let i = 0; i < longestCount; i++) { - let longestParamType = tryGetTypeAtPosition(longest, i); - if (longest === right) { - longestParamType = instantiateType(longestParamType, mapper); - } - let shorterParamType = tryGetTypeAtPosition(shorter, i) || unknownType; - if (shorter === right) { - shorterParamType = instantiateType(shorterParamType, mapper); - } - const unionParamType = getUnionType([longestParamType, shorterParamType]); - const isRestParam = eitherHasEffectiveRest && !needsExtraRestElement && i === longestCount - 1; - const isOptional = i >= getMinArgumentCount(longest) && i >= getMinArgumentCount(shorter); - const leftName = i >= leftCount ? void 0 : getParameterNameAtPosition(left, i); - const rightName = i >= rightCount ? void 0 : getParameterNameAtPosition(right, i); - const paramName = leftName === rightName ? leftName : !leftName ? rightName : !rightName ? leftName : void 0; - const paramSymbol = createSymbol( - 1 /* FunctionScopedVariable */ | (isOptional && !isRestParam ? 16777216 /* Optional */ : 0), - paramName || `arg${i}` - ); - paramSymbol.links.type = isRestParam ? createArrayType(unionParamType) : unionParamType; - params[i] = paramSymbol; - } - if (needsExtraRestElement) { - const restParamSymbol = createSymbol(1 /* FunctionScopedVariable */, "args"); - restParamSymbol.links.type = createArrayType(getTypeAtPosition(shorter, longestCount)); - if (shorter === right) { - restParamSymbol.links.type = instantiateType(restParamSymbol.links.type, mapper); - } - params[longestCount] = restParamSymbol; - } - return params; - } - function combineSignaturesOfIntersectionMembers(left, right) { - const typeParams = left.typeParameters || right.typeParameters; - let paramMapper; - if (left.typeParameters && right.typeParameters) { - paramMapper = createTypeMapper(right.typeParameters, left.typeParameters); - } - const declaration = left.declaration; - const params = combineIntersectionParameters(left, right, paramMapper); - const thisParam = combineIntersectionThisParam(left.thisParameter, right.thisParameter, paramMapper); - const minArgCount = Math.max(left.minArgumentCount, right.minArgumentCount); - const result = createSignature( - declaration, - typeParams, - thisParam, - params, - /*resolvedReturnType*/ - void 0, - /*resolvedTypePredicate*/ - void 0, - minArgCount, - (left.flags | right.flags) & 167 /* PropagatingFlags */ - ); - result.compositeKind = 2097152 /* Intersection */; - result.compositeSignatures = concatenate(left.compositeKind === 2097152 /* Intersection */ && left.compositeSignatures || [left], [right]); - if (paramMapper) { - result.mapper = left.compositeKind === 2097152 /* Intersection */ && left.mapper && left.compositeSignatures ? combineTypeMappers(left.mapper, paramMapper) : paramMapper; - } - return result; - } - function getContextualCallSignature(type, node) { - const signatures = getSignaturesOfType(type, 0 /* Call */); - const applicableByArity = filter(signatures, (s) => !isAritySmaller(s, node)); - return applicableByArity.length === 1 ? applicableByArity[0] : getIntersectedSignatures(applicableByArity); - } - function isAritySmaller(signature, target) { - let targetParameterCount = 0; - for (; targetParameterCount < target.parameters.length; targetParameterCount++) { - const param = target.parameters[targetParameterCount]; - if (param.initializer || param.questionToken || param.dotDotDotToken || isJSDocOptionalParameter(param)) { - break; - } - } - if (target.parameters.length && parameterIsThisKeyword(target.parameters[0])) { - targetParameterCount--; - } - return !hasEffectiveRestParameter(signature) && getParameterCount(signature) < targetParameterCount; - } - function getContextualSignatureForFunctionLikeDeclaration(node) { - return isFunctionExpressionOrArrowFunction(node) || isObjectLiteralMethod(node) ? getContextualSignature(node) : void 0; - } - function getContextualSignature(node) { - Debug.assert(node.kind !== 174 /* MethodDeclaration */ || isObjectLiteralMethod(node)); - const typeTagSignature = getSignatureOfTypeTag(node); - if (typeTagSignature) { - return typeTagSignature; - } - const type = getApparentTypeOfContextualType(node, 1 /* Signature */); - if (!type) { - return void 0; - } - if (!(type.flags & 1048576 /* Union */)) { - return getContextualCallSignature(type, node); - } - let signatureList; - const types = type.types; - for (const current of types) { - const signature = getContextualCallSignature(current, node); - if (signature) { - if (!signatureList) { - signatureList = [signature]; - } else if (!compareSignaturesIdentical( - signatureList[0], - signature, - /*partialMatch*/ - false, - /*ignoreThisTypes*/ - true, - /*ignoreReturnTypes*/ - true, - compareTypesIdentical - )) { - return void 0; - } else { - signatureList.push(signature); - } - } - } - if (signatureList) { - return signatureList.length === 1 ? signatureList[0] : createUnionSignature(signatureList[0], signatureList); - } - } - function checkGrammarRegularExpressionLiteral(node) { - const sourceFile = getSourceFileOfNode(node); - if (!hasParseDiagnostics(sourceFile) && !node.isUnterminated) { - let lastError; - scanner ?? (scanner = createScanner( - 99 /* ESNext */, - /*skipTrivia*/ - true - )); - scanner.setScriptTarget(sourceFile.languageVersion); - scanner.setLanguageVariant(sourceFile.languageVariant); - scanner.setOnError((message, length2, arg0) => { - const start = scanner.getTokenEnd(); - if (message.category === 3 /* Message */ && lastError && start === lastError.start && length2 === lastError.length) { - const error2 = createDetachedDiagnostic(sourceFile.fileName, sourceFile.text, start, length2, message, arg0); - addRelatedInfo(lastError, error2); - } else if (!lastError || start !== lastError.start) { - lastError = createFileDiagnostic(sourceFile, start, length2, message, arg0); - diagnostics.add(lastError); - } - }); - scanner.setText(sourceFile.text, node.pos, node.end - node.pos); - try { - scanner.scan(); - Debug.assert(scanner.reScanSlashToken( - /*reportErrors*/ - true - ) === 14 /* RegularExpressionLiteral */, "Expected scanner to rescan RegularExpressionLiteral"); - return !!lastError; - } finally { - scanner.setText(""); - scanner.setOnError( - /*onError*/ - void 0 - ); - } - } - return false; - } - function checkRegularExpressionLiteral(node) { - const nodeLinks2 = getNodeLinks(node); - if (!(nodeLinks2.flags & 1 /* TypeChecked */)) { - nodeLinks2.flags |= 1 /* TypeChecked */; - addLazyDiagnostic(() => checkGrammarRegularExpressionLiteral(node)); - } - return globalRegExpType; - } - function checkSpreadExpression(node, checkMode) { - if (languageVersion < 2 /* SpreadElements */) { - checkExternalEmitHelpers(node, compilerOptions.downlevelIteration ? 1536 /* SpreadIncludes */ : 1024 /* SpreadArray */); - } - const arrayOrIterableType = checkExpression(node.expression, checkMode); - return checkIteratedTypeOrElementType(33 /* Spread */, arrayOrIterableType, undefinedType, node.expression); - } - function checkSyntheticExpression(node) { - return node.isSpread ? getIndexedAccessType(node.type, numberType) : node.type; - } - function hasDefaultValue(node) { - return node.kind === 208 /* BindingElement */ && !!node.initializer || node.kind === 303 /* PropertyAssignment */ && hasDefaultValue(node.initializer) || node.kind === 304 /* ShorthandPropertyAssignment */ && !!node.objectAssignmentInitializer || node.kind === 226 /* BinaryExpression */ && node.operatorToken.kind === 64 /* EqualsToken */; - } - function isSpreadIntoCallOrNew(node) { - const parent = walkUpParenthesizedExpressions(node.parent); - return isSpreadElement(parent) && isCallOrNewExpression(parent.parent); - } - function checkArrayLiteral(node, checkMode, forceTuple) { - const elements = node.elements; - const elementCount = elements.length; - const elementTypes = []; - const elementFlags = []; - pushCachedContextualType(node); - const inDestructuringPattern = isAssignmentTarget(node); - const inConstContext = isConstContext(node); - const contextualType = getApparentTypeOfContextualType( - node, - /*contextFlags*/ - void 0 - ); - const inTupleContext = isSpreadIntoCallOrNew(node) || !!contextualType && someType(contextualType, (t) => isTupleLikeType(t) || isGenericMappedType(t) && !t.nameType && !!getHomomorphicTypeVariable(t.target || t)); - let hasOmittedExpression = false; - for (let i = 0; i < elementCount; i++) { - const e = elements[i]; - if (e.kind === 230 /* SpreadElement */) { - if (languageVersion < 2 /* SpreadElements */) { - checkExternalEmitHelpers(e, compilerOptions.downlevelIteration ? 1536 /* SpreadIncludes */ : 1024 /* SpreadArray */); - } - const spreadType = checkExpression(e.expression, checkMode, forceTuple); - if (isArrayLikeType(spreadType)) { - elementTypes.push(spreadType); - elementFlags.push(8 /* Variadic */); - } else if (inDestructuringPattern) { - const restElementType = getIndexTypeOfType(spreadType, numberType) || getIteratedTypeOrElementType( - 65 /* Destructuring */, - spreadType, - undefinedType, - /*errorNode*/ - void 0, - /*checkAssignability*/ - false - ) || unknownType; - elementTypes.push(restElementType); - elementFlags.push(4 /* Rest */); - } else { - elementTypes.push(checkIteratedTypeOrElementType(33 /* Spread */, spreadType, undefinedType, e.expression)); - elementFlags.push(4 /* Rest */); - } - } else if (exactOptionalPropertyTypes && e.kind === 232 /* OmittedExpression */) { - hasOmittedExpression = true; - elementTypes.push(undefinedOrMissingType); - elementFlags.push(2 /* Optional */); - } else { - const type = checkExpressionForMutableLocation(e, checkMode, forceTuple); - elementTypes.push(addOptionality( - type, - /*isProperty*/ - true, - hasOmittedExpression - )); - elementFlags.push(hasOmittedExpression ? 2 /* Optional */ : 1 /* Required */); - if (inTupleContext && checkMode && checkMode & 2 /* Inferential */ && !(checkMode & 4 /* SkipContextSensitive */) && isContextSensitive(e)) { - const inferenceContext = getInferenceContext(node); - Debug.assert(inferenceContext); - addIntraExpressionInferenceSite(inferenceContext, e, type); - } - } - } - popContextualType(); - if (inDestructuringPattern) { - return createTupleType(elementTypes, elementFlags); - } - if (forceTuple || inConstContext || inTupleContext) { - return createArrayLiteralType(createTupleType( - elementTypes, - elementFlags, - /*readonly*/ - inConstContext && !(contextualType && someType(contextualType, isMutableArrayLikeType)) - )); - } - return createArrayLiteralType(createArrayType( - elementTypes.length ? getUnionType(sameMap(elementTypes, (t, i) => elementFlags[i] & 8 /* Variadic */ ? getIndexedAccessTypeOrUndefined(t, numberType) || anyType : t), 2 /* Subtype */) : strictNullChecks ? implicitNeverType : undefinedWideningType, - inConstContext - )); - } - function createArrayLiteralType(type) { - if (!(getObjectFlags(type) & 4 /* Reference */)) { - return type; - } - let literalType = type.literalType; - if (!literalType) { - literalType = type.literalType = cloneTypeReference(type); - literalType.objectFlags |= 16384 /* ArrayLiteral */ | 131072 /* ContainsObjectOrArrayLiteral */; - } - return literalType; - } - function isNumericName(name) { - switch (name.kind) { - case 167 /* ComputedPropertyName */: - return isNumericComputedName(name); - case 80 /* Identifier */: - return isNumericLiteralName(name.escapedText); - case 9 /* NumericLiteral */: - case 11 /* StringLiteral */: - return isNumericLiteralName(name.text); - default: - return false; - } - } - function isNumericComputedName(name) { - return isTypeAssignableToKind(checkComputedPropertyName(name), 296 /* NumberLike */); - } - function checkComputedPropertyName(node) { - const links = getNodeLinks(node.expression); - if (!links.resolvedType) { - if ((isTypeLiteralNode(node.parent.parent) || isClassLike(node.parent.parent) || isInterfaceDeclaration(node.parent.parent)) && isBinaryExpression(node.expression) && node.expression.operatorToken.kind === 103 /* InKeyword */ && node.parent.kind !== 177 /* GetAccessor */ && node.parent.kind !== 178 /* SetAccessor */) { - return links.resolvedType = errorType; - } - links.resolvedType = checkExpression(node.expression); - if (isPropertyDeclaration(node.parent) && !hasStaticModifier(node.parent) && isClassExpression(node.parent.parent)) { - const container = getEnclosingBlockScopeContainer(node.parent.parent); - const enclosingIterationStatement = getEnclosingIterationStatement(container); - if (enclosingIterationStatement) { - getNodeLinks(enclosingIterationStatement).flags |= 4096 /* LoopWithCapturedBlockScopedBinding */; - getNodeLinks(node).flags |= 32768 /* BlockScopedBindingInLoop */; - getNodeLinks(node.parent.parent).flags |= 32768 /* BlockScopedBindingInLoop */; - } - } - if (links.resolvedType.flags & 98304 /* Nullable */ || !isTypeAssignableToKind(links.resolvedType, 402653316 /* StringLike */ | 296 /* NumberLike */ | 12288 /* ESSymbolLike */) && !isTypeAssignableTo(links.resolvedType, stringNumberSymbolType)) { - error(node, Diagnostics.A_computed_property_name_must_be_of_type_string_number_symbol_or_any); - } - } - return links.resolvedType; - } - function isSymbolWithNumericName(symbol) { - var _a; - const firstDecl = (_a = symbol.declarations) == null ? void 0 : _a[0]; - return isNumericLiteralName(symbol.escapedName) || firstDecl && isNamedDeclaration(firstDecl) && isNumericName(firstDecl.name); - } - function isSymbolWithSymbolName(symbol) { - var _a; - const firstDecl = (_a = symbol.declarations) == null ? void 0 : _a[0]; - return isKnownSymbol(symbol) || firstDecl && isNamedDeclaration(firstDecl) && isComputedPropertyName(firstDecl.name) && isTypeAssignableToKind(checkComputedPropertyName(firstDecl.name), 4096 /* ESSymbol */); - } - function getObjectLiteralIndexInfo(node, offset, properties, keyType) { - const propTypes = []; - for (let i = offset; i < properties.length; i++) { - const prop = properties[i]; - if (keyType === stringType && !isSymbolWithSymbolName(prop) || keyType === numberType && isSymbolWithNumericName(prop) || keyType === esSymbolType && isSymbolWithSymbolName(prop)) { - propTypes.push(getTypeOfSymbol(properties[i])); - } - } - const unionType = propTypes.length ? getUnionType(propTypes, 2 /* Subtype */) : undefinedType; - return createIndexInfo(keyType, unionType, isConstContext(node)); - } - function getImmediateAliasedSymbol(symbol) { - Debug.assert((symbol.flags & 2097152 /* Alias */) !== 0, "Should only get Alias here."); - const links = getSymbolLinks(symbol); - if (!links.immediateTarget) { - const node = getDeclarationOfAliasSymbol(symbol); - if (!node) return Debug.fail(); - links.immediateTarget = getTargetOfAliasDeclaration( - node, - /*dontRecursivelyResolve*/ - true - ); - } - return links.immediateTarget; - } - function checkObjectLiteral(node, checkMode = 0 /* Normal */) { - const inDestructuringPattern = isAssignmentTarget(node); - checkGrammarObjectLiteralExpression(node, inDestructuringPattern); - const allPropertiesTable = strictNullChecks ? createSymbolTable() : void 0; - let propertiesTable = createSymbolTable(); - let propertiesArray = []; - let spread = emptyObjectType; - pushCachedContextualType(node); - const contextualType = getApparentTypeOfContextualType( - node, - /*contextFlags*/ - void 0 - ); - const contextualTypeHasPattern = contextualType && contextualType.pattern && (contextualType.pattern.kind === 206 /* ObjectBindingPattern */ || contextualType.pattern.kind === 210 /* ObjectLiteralExpression */); - const inConstContext = isConstContext(node); - const checkFlags = inConstContext ? 8 /* Readonly */ : 0; - const isInJavascript = isInJSFile(node) && !isInJsonFile(node); - const enumTag = isInJavascript ? getJSDocEnumTag(node) : void 0; - const isJSObjectLiteral = !contextualType && isInJavascript && !enumTag; - let objectFlags = 8192 /* FreshLiteral */; - let patternWithComputedProperties = false; - let hasComputedStringProperty = false; - let hasComputedNumberProperty = false; - let hasComputedSymbolProperty = false; - for (const elem of node.properties) { - if (elem.name && isComputedPropertyName(elem.name)) { - checkComputedPropertyName(elem.name); - } - } - let offset = 0; - for (const memberDecl of node.properties) { - let member = getSymbolOfDeclaration(memberDecl); - const computedNameType = memberDecl.name && memberDecl.name.kind === 167 /* ComputedPropertyName */ ? checkComputedPropertyName(memberDecl.name) : void 0; - if (memberDecl.kind === 303 /* PropertyAssignment */ || memberDecl.kind === 304 /* ShorthandPropertyAssignment */ || isObjectLiteralMethod(memberDecl)) { - let type = memberDecl.kind === 303 /* PropertyAssignment */ ? checkPropertyAssignment(memberDecl, checkMode) : ( - // avoid resolving the left side of the ShorthandPropertyAssignment outside of the destructuring - // for error recovery purposes. For example, if a user wrote `{ a = 100 }` instead of `{ a: 100 }`. - // we don't want to say "could not find 'a'". - memberDecl.kind === 304 /* ShorthandPropertyAssignment */ ? checkExpressionForMutableLocation(!inDestructuringPattern && memberDecl.objectAssignmentInitializer ? memberDecl.objectAssignmentInitializer : memberDecl.name, checkMode) : checkObjectLiteralMethod(memberDecl, checkMode) - ); - if (isInJavascript) { - const jsDocType = getTypeForDeclarationFromJSDocComment(memberDecl); - if (jsDocType) { - checkTypeAssignableTo(type, jsDocType, memberDecl); - type = jsDocType; - } else if (enumTag && enumTag.typeExpression) { - checkTypeAssignableTo(type, getTypeFromTypeNode(enumTag.typeExpression), memberDecl); - } - } - objectFlags |= getObjectFlags(type) & 458752 /* PropagatingFlags */; - const nameType = computedNameType && isTypeUsableAsPropertyName(computedNameType) ? computedNameType : void 0; - const prop = nameType ? createSymbol(4 /* Property */ | member.flags, getPropertyNameFromType(nameType), checkFlags | 4096 /* Late */) : createSymbol(4 /* Property */ | member.flags, member.escapedName, checkFlags); - if (nameType) { - prop.links.nameType = nameType; - } - if (inDestructuringPattern && hasDefaultValue(memberDecl)) { - prop.flags |= 16777216 /* Optional */; - } else if (contextualTypeHasPattern && !(getObjectFlags(contextualType) & 512 /* ObjectLiteralPatternWithComputedProperties */)) { - const impliedProp = getPropertyOfType(contextualType, member.escapedName); - if (impliedProp) { - prop.flags |= impliedProp.flags & 16777216 /* Optional */; - } else if (!getIndexInfoOfType(contextualType, stringType)) { - error(memberDecl.name, Diagnostics.Object_literal_may_only_specify_known_properties_and_0_does_not_exist_in_type_1, symbolToString(member), typeToString(contextualType)); - } - } - prop.declarations = member.declarations; - prop.parent = member.parent; - if (member.valueDeclaration) { - prop.valueDeclaration = member.valueDeclaration; - } - prop.links.type = type; - prop.links.target = member; - member = prop; - allPropertiesTable == null ? void 0 : allPropertiesTable.set(prop.escapedName, prop); - if (contextualType && checkMode & 2 /* Inferential */ && !(checkMode & 4 /* SkipContextSensitive */) && (memberDecl.kind === 303 /* PropertyAssignment */ || memberDecl.kind === 174 /* MethodDeclaration */) && isContextSensitive(memberDecl)) { - const inferenceContext = getInferenceContext(node); - Debug.assert(inferenceContext); - const inferenceNode = memberDecl.kind === 303 /* PropertyAssignment */ ? memberDecl.initializer : memberDecl; - addIntraExpressionInferenceSite(inferenceContext, inferenceNode, type); - } - } else if (memberDecl.kind === 305 /* SpreadAssignment */) { - if (languageVersion < 2 /* ObjectAssign */) { - checkExternalEmitHelpers(memberDecl, 2 /* Assign */); - } - if (propertiesArray.length > 0) { - spread = getSpreadType(spread, createObjectLiteralType(), node.symbol, objectFlags, inConstContext); - propertiesArray = []; - propertiesTable = createSymbolTable(); - hasComputedStringProperty = false; - hasComputedNumberProperty = false; - hasComputedSymbolProperty = false; - } - const type = getReducedType(checkExpression(memberDecl.expression, checkMode & 2 /* Inferential */)); - if (isValidSpreadType(type)) { - const mergedType = tryMergeUnionOfObjectTypeAndEmptyObject(type, inConstContext); - if (allPropertiesTable) { - checkSpreadPropOverrides(mergedType, allPropertiesTable, memberDecl); - } - offset = propertiesArray.length; - if (isErrorType(spread)) { - continue; - } - spread = getSpreadType(spread, mergedType, node.symbol, objectFlags, inConstContext); - } else { - error(memberDecl, Diagnostics.Spread_types_may_only_be_created_from_object_types); - spread = errorType; - } - continue; - } else { - Debug.assert(memberDecl.kind === 177 /* GetAccessor */ || memberDecl.kind === 178 /* SetAccessor */); - checkNodeDeferred(memberDecl); - } - if (computedNameType && !(computedNameType.flags & 8576 /* StringOrNumberLiteralOrUnique */)) { - if (isTypeAssignableTo(computedNameType, stringNumberSymbolType)) { - if (isTypeAssignableTo(computedNameType, numberType)) { - hasComputedNumberProperty = true; - } else if (isTypeAssignableTo(computedNameType, esSymbolType)) { - hasComputedSymbolProperty = true; - } else { - hasComputedStringProperty = true; - } - if (inDestructuringPattern) { - patternWithComputedProperties = true; - } - } - } else { - propertiesTable.set(member.escapedName, member); - } - propertiesArray.push(member); - } - popContextualType(); - if (isErrorType(spread)) { - return errorType; - } - if (spread !== emptyObjectType) { - if (propertiesArray.length > 0) { - spread = getSpreadType(spread, createObjectLiteralType(), node.symbol, objectFlags, inConstContext); - propertiesArray = []; - propertiesTable = createSymbolTable(); - hasComputedStringProperty = false; - hasComputedNumberProperty = false; - } - return mapType(spread, (t) => t === emptyObjectType ? createObjectLiteralType() : t); - } - return createObjectLiteralType(); - function createObjectLiteralType() { - const indexInfos = []; - if (hasComputedStringProperty) indexInfos.push(getObjectLiteralIndexInfo(node, offset, propertiesArray, stringType)); - if (hasComputedNumberProperty) indexInfos.push(getObjectLiteralIndexInfo(node, offset, propertiesArray, numberType)); - if (hasComputedSymbolProperty) indexInfos.push(getObjectLiteralIndexInfo(node, offset, propertiesArray, esSymbolType)); - const result = createAnonymousType(node.symbol, propertiesTable, emptyArray, emptyArray, indexInfos); - result.objectFlags |= objectFlags | 128 /* ObjectLiteral */ | 131072 /* ContainsObjectOrArrayLiteral */; - if (isJSObjectLiteral) { - result.objectFlags |= 4096 /* JSLiteral */; - } - if (patternWithComputedProperties) { - result.objectFlags |= 512 /* ObjectLiteralPatternWithComputedProperties */; - } - if (inDestructuringPattern) { - result.pattern = node; - } - return result; - } - } - function isValidSpreadType(type) { - const t = removeDefinitelyFalsyTypes(mapType(type, getBaseConstraintOrType)); - return !!(t.flags & (1 /* Any */ | 67108864 /* NonPrimitive */ | 524288 /* Object */ | 58982400 /* InstantiableNonPrimitive */) || t.flags & 3145728 /* UnionOrIntersection */ && every(t.types, isValidSpreadType)); - } - function checkJsxSelfClosingElementDeferred(node) { - checkJsxOpeningLikeElementOrOpeningFragment(node); - } - function checkJsxSelfClosingElement(node, _checkMode) { - checkNodeDeferred(node); - return getJsxElementTypeAt(node) || anyType; - } - function checkJsxElementDeferred(node) { - checkJsxOpeningLikeElementOrOpeningFragment(node.openingElement); - if (isJsxIntrinsicTagName(node.closingElement.tagName)) { - getIntrinsicTagSymbol(node.closingElement); - } else { - checkExpression(node.closingElement.tagName); - } - checkJsxChildren(node); - } - function checkJsxElement(node, _checkMode) { - checkNodeDeferred(node); - return getJsxElementTypeAt(node) || anyType; - } - function checkJsxFragment(node) { - checkJsxOpeningLikeElementOrOpeningFragment(node.openingFragment); - const nodeSourceFile = getSourceFileOfNode(node); - if (getJSXTransformEnabled(compilerOptions) && (compilerOptions.jsxFactory || nodeSourceFile.pragmas.has("jsx")) && !compilerOptions.jsxFragmentFactory && !nodeSourceFile.pragmas.has("jsxfrag")) { - error( - node, - compilerOptions.jsxFactory ? Diagnostics.The_jsxFragmentFactory_compiler_option_must_be_provided_to_use_JSX_fragments_with_the_jsxFactory_compiler_option : Diagnostics.An_jsxFrag_pragma_is_required_when_using_an_jsx_pragma_with_JSX_fragments - ); - } - checkJsxChildren(node); - return getJsxElementTypeAt(node) || anyType; - } - function isHyphenatedJsxName(name) { - return name.includes("-"); - } - function isJsxIntrinsicTagName(tagName) { - return isIdentifier(tagName) && isIntrinsicJsxName(tagName.escapedText) || isJsxNamespacedName(tagName); - } - function checkJsxAttribute(node, checkMode) { - return node.initializer ? checkExpressionForMutableLocation(node.initializer, checkMode) : trueType; - } - function createJsxAttributesTypeFromAttributesProperty(openingLikeElement, checkMode = 0 /* Normal */) { - const attributes = openingLikeElement.attributes; - const contextualType = getContextualType(attributes, 0 /* None */); - const allAttributesTable = strictNullChecks ? createSymbolTable() : void 0; - let attributesTable = createSymbolTable(); - let spread = emptyJsxObjectType; - let hasSpreadAnyType = false; - let typeToIntersect; - let explicitlySpecifyChildrenAttribute = false; - let objectFlags = 2048 /* JsxAttributes */; - const jsxChildrenPropertyName = getJsxElementChildrenPropertyName(getJsxNamespaceAt(openingLikeElement)); - for (const attributeDecl of attributes.properties) { - const member = attributeDecl.symbol; - if (isJsxAttribute(attributeDecl)) { - const exprType = checkJsxAttribute(attributeDecl, checkMode); - objectFlags |= getObjectFlags(exprType) & 458752 /* PropagatingFlags */; - const attributeSymbol = createSymbol(4 /* Property */ | member.flags, member.escapedName); - attributeSymbol.declarations = member.declarations; - attributeSymbol.parent = member.parent; - if (member.valueDeclaration) { - attributeSymbol.valueDeclaration = member.valueDeclaration; - } - attributeSymbol.links.type = exprType; - attributeSymbol.links.target = member; - attributesTable.set(attributeSymbol.escapedName, attributeSymbol); - allAttributesTable == null ? void 0 : allAttributesTable.set(attributeSymbol.escapedName, attributeSymbol); - if (getEscapedTextOfJsxAttributeName(attributeDecl.name) === jsxChildrenPropertyName) { - explicitlySpecifyChildrenAttribute = true; - } - if (contextualType) { - const prop = getPropertyOfType(contextualType, member.escapedName); - if (prop && prop.declarations && isDeprecatedSymbol(prop) && isIdentifier(attributeDecl.name)) { - addDeprecatedSuggestion(attributeDecl.name, prop.declarations, attributeDecl.name.escapedText); - } - } - if (contextualType && checkMode & 2 /* Inferential */ && !(checkMode & 4 /* SkipContextSensitive */) && isContextSensitive(attributeDecl)) { - const inferenceContext = getInferenceContext(attributes); - Debug.assert(inferenceContext); - const inferenceNode = attributeDecl.initializer.expression; - addIntraExpressionInferenceSite(inferenceContext, inferenceNode, exprType); - } - } else { - Debug.assert(attributeDecl.kind === 293 /* JsxSpreadAttribute */); - if (attributesTable.size > 0) { - spread = getSpreadType( - spread, - createJsxAttributesType(), - attributes.symbol, - objectFlags, - /*readonly*/ - false - ); - attributesTable = createSymbolTable(); - } - const exprType = getReducedType(checkExpression(attributeDecl.expression, checkMode & 2 /* Inferential */)); - if (isTypeAny(exprType)) { - hasSpreadAnyType = true; - } - if (isValidSpreadType(exprType)) { - spread = getSpreadType( - spread, - exprType, - attributes.symbol, - objectFlags, - /*readonly*/ - false - ); - if (allAttributesTable) { - checkSpreadPropOverrides(exprType, allAttributesTable, attributeDecl); - } - } else { - error(attributeDecl.expression, Diagnostics.Spread_types_may_only_be_created_from_object_types); - typeToIntersect = typeToIntersect ? getIntersectionType([typeToIntersect, exprType]) : exprType; - } - } - } - if (!hasSpreadAnyType) { - if (attributesTable.size > 0) { - spread = getSpreadType( - spread, - createJsxAttributesType(), - attributes.symbol, - objectFlags, - /*readonly*/ - false - ); - } - } - const parent = openingLikeElement.parent.kind === 284 /* JsxElement */ ? openingLikeElement.parent : void 0; - if (parent && parent.openingElement === openingLikeElement && getSemanticJsxChildren(parent.children).length > 0) { - const childrenTypes = checkJsxChildren(parent, checkMode); - if (!hasSpreadAnyType && jsxChildrenPropertyName && jsxChildrenPropertyName !== "") { - if (explicitlySpecifyChildrenAttribute) { - error(attributes, Diagnostics._0_are_specified_twice_The_attribute_named_0_will_be_overwritten, unescapeLeadingUnderscores(jsxChildrenPropertyName)); - } - const contextualType2 = getApparentTypeOfContextualType( - openingLikeElement.attributes, - /*contextFlags*/ - void 0 - ); - const childrenContextualType = contextualType2 && getTypeOfPropertyOfContextualType(contextualType2, jsxChildrenPropertyName); - const childrenPropSymbol = createSymbol(4 /* Property */, jsxChildrenPropertyName); - childrenPropSymbol.links.type = childrenTypes.length === 1 ? childrenTypes[0] : childrenContextualType && someType(childrenContextualType, isTupleLikeType) ? createTupleType(childrenTypes) : createArrayType(getUnionType(childrenTypes)); - childrenPropSymbol.valueDeclaration = factory.createPropertySignature( - /*modifiers*/ - void 0, - unescapeLeadingUnderscores(jsxChildrenPropertyName), - /*questionToken*/ - void 0, - /*type*/ - void 0 - ); - setParent(childrenPropSymbol.valueDeclaration, attributes); - childrenPropSymbol.valueDeclaration.symbol = childrenPropSymbol; - const childPropMap = createSymbolTable(); - childPropMap.set(jsxChildrenPropertyName, childrenPropSymbol); - spread = getSpreadType( - spread, - createAnonymousType(attributes.symbol, childPropMap, emptyArray, emptyArray, emptyArray), - attributes.symbol, - objectFlags, - /*readonly*/ - false - ); - } - } - if (hasSpreadAnyType) { - return anyType; - } - if (typeToIntersect && spread !== emptyJsxObjectType) { - return getIntersectionType([typeToIntersect, spread]); - } - return typeToIntersect || (spread === emptyJsxObjectType ? createJsxAttributesType() : spread); - function createJsxAttributesType() { - objectFlags |= 8192 /* FreshLiteral */; - const result = createAnonymousType(attributes.symbol, attributesTable, emptyArray, emptyArray, emptyArray); - result.objectFlags |= objectFlags | 128 /* ObjectLiteral */ | 131072 /* ContainsObjectOrArrayLiteral */; - return result; - } - } - function checkJsxChildren(node, checkMode) { - const childrenTypes = []; - for (const child of node.children) { - if (child.kind === 12 /* JsxText */) { - if (!child.containsOnlyTriviaWhiteSpaces) { - childrenTypes.push(stringType); - } - } else if (child.kind === 294 /* JsxExpression */ && !child.expression) { - continue; - } else { - childrenTypes.push(checkExpressionForMutableLocation(child, checkMode)); - } - } - return childrenTypes; - } - function checkSpreadPropOverrides(type, props, spread) { - for (const right of getPropertiesOfType(type)) { - if (!(right.flags & 16777216 /* Optional */)) { - const left = props.get(right.escapedName); - if (left) { - const diagnostic = error(left.valueDeclaration, Diagnostics._0_is_specified_more_than_once_so_this_usage_will_be_overwritten, unescapeLeadingUnderscores(left.escapedName)); - addRelatedInfo(diagnostic, createDiagnosticForNode(spread, Diagnostics.This_spread_always_overwrites_this_property)); - } - } - } - } - function checkJsxAttributes(node, checkMode) { - return createJsxAttributesTypeFromAttributesProperty(node.parent, checkMode); - } - function getJsxType(name, location) { - const namespace = getJsxNamespaceAt(location); - const exports2 = namespace && getExportsOfSymbol(namespace); - const typeSymbol = exports2 && getSymbol(exports2, name, 788968 /* Type */); - return typeSymbol ? getDeclaredTypeOfSymbol(typeSymbol) : errorType; - } - function getIntrinsicTagSymbol(node) { - const links = getNodeLinks(node); - if (!links.resolvedSymbol) { - const intrinsicElementsType = getJsxType(JsxNames.IntrinsicElements, node); - if (!isErrorType(intrinsicElementsType)) { - if (!isIdentifier(node.tagName) && !isJsxNamespacedName(node.tagName)) return Debug.fail(); - const propName = isJsxNamespacedName(node.tagName) ? getEscapedTextOfJsxNamespacedName(node.tagName) : node.tagName.escapedText; - const intrinsicProp = getPropertyOfType(intrinsicElementsType, propName); - if (intrinsicProp) { - links.jsxFlags |= 1 /* IntrinsicNamedElement */; - return links.resolvedSymbol = intrinsicProp; - } - const indexSymbol = getApplicableIndexSymbol(intrinsicElementsType, getStringLiteralType(unescapeLeadingUnderscores(propName))); - if (indexSymbol) { - links.jsxFlags |= 2 /* IntrinsicIndexedElement */; - return links.resolvedSymbol = indexSymbol; - } - if (getTypeOfPropertyOrIndexSignatureOfType(intrinsicElementsType, propName)) { - links.jsxFlags |= 2 /* IntrinsicIndexedElement */; - return links.resolvedSymbol = intrinsicElementsType.symbol; - } - error(node, Diagnostics.Property_0_does_not_exist_on_type_1, intrinsicTagNameToString(node.tagName), "JSX." + JsxNames.IntrinsicElements); - return links.resolvedSymbol = unknownSymbol; - } else { - if (noImplicitAny) { - error(node, Diagnostics.JSX_element_implicitly_has_type_any_because_no_interface_JSX_0_exists, unescapeLeadingUnderscores(JsxNames.IntrinsicElements)); - } - return links.resolvedSymbol = unknownSymbol; - } - } - return links.resolvedSymbol; - } - function getJsxNamespaceContainerForImplicitImport(location) { - const file = location && getSourceFileOfNode(location); - const links = file && getNodeLinks(file); - if (links && links.jsxImplicitImportContainer === false) { - return void 0; - } - if (links && links.jsxImplicitImportContainer) { - return links.jsxImplicitImportContainer; - } - const runtimeImportSpecifier = getJSXRuntimeImport(getJSXImplicitImportBase(compilerOptions, file), compilerOptions); - if (!runtimeImportSpecifier) { - return void 0; - } - const isClassic = getEmitModuleResolutionKind(compilerOptions) === 1 /* Classic */; - const errorMessage = isClassic ? Diagnostics.Cannot_find_module_0_Did_you_mean_to_set_the_moduleResolution_option_to_nodenext_or_to_add_aliases_to_the_paths_option : Diagnostics.Cannot_find_module_0_or_its_corresponding_type_declarations; - const specifier = getJSXRuntimeImportSpecifier(file, runtimeImportSpecifier); - const mod = resolveExternalModule(specifier || location, runtimeImportSpecifier, errorMessage, location); - const result = mod && mod !== unknownSymbol ? getMergedSymbol(resolveSymbol(mod)) : void 0; - if (links) { - links.jsxImplicitImportContainer = result || false; - } - return result; - } - function getJsxNamespaceAt(location) { - const links = location && getNodeLinks(location); - if (links && links.jsxNamespace) { - return links.jsxNamespace; - } - if (!links || links.jsxNamespace !== false) { - let resolvedNamespace = getJsxNamespaceContainerForImplicitImport(location); - if (!resolvedNamespace || resolvedNamespace === unknownSymbol) { - const namespaceName = getJsxNamespace(location); - resolvedNamespace = resolveName( - location, - namespaceName, - 1920 /* Namespace */, - /*nameNotFoundMessage*/ - void 0, - /*isUse*/ - false - ); - } - if (resolvedNamespace) { - const candidate = resolveSymbol(getSymbol(getExportsOfSymbol(resolveSymbol(resolvedNamespace)), JsxNames.JSX, 1920 /* Namespace */)); - if (candidate && candidate !== unknownSymbol) { - if (links) { - links.jsxNamespace = candidate; - } - return candidate; - } - } - if (links) { - links.jsxNamespace = false; - } - } - const s = resolveSymbol(getGlobalSymbol( - JsxNames.JSX, - 1920 /* Namespace */, - /*diagnostic*/ - void 0 - )); - if (s === unknownSymbol) { - return void 0; - } - return s; - } - function getNameFromJsxElementAttributesContainer(nameOfAttribPropContainer, jsxNamespace) { - const jsxElementAttribPropInterfaceSym = jsxNamespace && getSymbol(jsxNamespace.exports, nameOfAttribPropContainer, 788968 /* Type */); - const jsxElementAttribPropInterfaceType = jsxElementAttribPropInterfaceSym && getDeclaredTypeOfSymbol(jsxElementAttribPropInterfaceSym); - const propertiesOfJsxElementAttribPropInterface = jsxElementAttribPropInterfaceType && getPropertiesOfType(jsxElementAttribPropInterfaceType); - if (propertiesOfJsxElementAttribPropInterface) { - if (propertiesOfJsxElementAttribPropInterface.length === 0) { - return ""; - } else if (propertiesOfJsxElementAttribPropInterface.length === 1) { - return propertiesOfJsxElementAttribPropInterface[0].escapedName; - } else if (propertiesOfJsxElementAttribPropInterface.length > 1 && jsxElementAttribPropInterfaceSym.declarations) { - error(jsxElementAttribPropInterfaceSym.declarations[0], Diagnostics.The_global_type_JSX_0_may_not_have_more_than_one_property, unescapeLeadingUnderscores(nameOfAttribPropContainer)); - } - } - return void 0; - } - function getJsxLibraryManagedAttributes(jsxNamespace) { - return jsxNamespace && getSymbol(jsxNamespace.exports, JsxNames.LibraryManagedAttributes, 788968 /* Type */); - } - function getJsxElementTypeSymbol(jsxNamespace) { - return jsxNamespace && getSymbol(jsxNamespace.exports, JsxNames.ElementType, 788968 /* Type */); - } - function getJsxElementPropertiesName(jsxNamespace) { - return getNameFromJsxElementAttributesContainer(JsxNames.ElementAttributesPropertyNameContainer, jsxNamespace); - } - function getJsxElementChildrenPropertyName(jsxNamespace) { - return getNameFromJsxElementAttributesContainer(JsxNames.ElementChildrenAttributeNameContainer, jsxNamespace); - } - function getUninstantiatedJsxSignaturesOfType(elementType, caller) { - if (elementType.flags & 4 /* String */) { - return [anySignature]; - } else if (elementType.flags & 128 /* StringLiteral */) { - const intrinsicType = getIntrinsicAttributesTypeFromStringLiteralType(elementType, caller); - if (!intrinsicType) { - error(caller, Diagnostics.Property_0_does_not_exist_on_type_1, elementType.value, "JSX." + JsxNames.IntrinsicElements); - return emptyArray; - } else { - const fakeSignature = createSignatureForJSXIntrinsic(caller, intrinsicType); - return [fakeSignature]; - } - } - const apparentElemType = getApparentType(elementType); - let signatures = getSignaturesOfType(apparentElemType, 1 /* Construct */); - if (signatures.length === 0) { - signatures = getSignaturesOfType(apparentElemType, 0 /* Call */); - } - if (signatures.length === 0 && apparentElemType.flags & 1048576 /* Union */) { - signatures = getUnionSignatures(map(apparentElemType.types, (t) => getUninstantiatedJsxSignaturesOfType(t, caller))); - } - return signatures; - } - function getIntrinsicAttributesTypeFromStringLiteralType(type, location) { - const intrinsicElementsType = getJsxType(JsxNames.IntrinsicElements, location); - if (!isErrorType(intrinsicElementsType)) { - const stringLiteralTypeName = type.value; - const intrinsicProp = getPropertyOfType(intrinsicElementsType, escapeLeadingUnderscores(stringLiteralTypeName)); - if (intrinsicProp) { - return getTypeOfSymbol(intrinsicProp); - } - const indexSignatureType = getIndexTypeOfType(intrinsicElementsType, stringType); - if (indexSignatureType) { - return indexSignatureType; - } - return void 0; - } - return anyType; - } - function checkJsxReturnAssignableToAppropriateBound(refKind, elemInstanceType, openingLikeElement) { - if (refKind === 1 /* Function */) { - const sfcReturnConstraint = getJsxStatelessElementTypeAt(openingLikeElement); - if (sfcReturnConstraint) { - checkTypeRelatedTo(elemInstanceType, sfcReturnConstraint, assignableRelation, openingLikeElement.tagName, Diagnostics.Its_return_type_0_is_not_a_valid_JSX_element, generateInitialErrorChain); - } - } else if (refKind === 0 /* Component */) { - const classConstraint = getJsxElementClassTypeAt(openingLikeElement); - if (classConstraint) { - checkTypeRelatedTo(elemInstanceType, classConstraint, assignableRelation, openingLikeElement.tagName, Diagnostics.Its_instance_type_0_is_not_a_valid_JSX_element, generateInitialErrorChain); - } - } else { - const sfcReturnConstraint = getJsxStatelessElementTypeAt(openingLikeElement); - const classConstraint = getJsxElementClassTypeAt(openingLikeElement); - if (!sfcReturnConstraint || !classConstraint) { - return; - } - const combined = getUnionType([sfcReturnConstraint, classConstraint]); - checkTypeRelatedTo(elemInstanceType, combined, assignableRelation, openingLikeElement.tagName, Diagnostics.Its_element_type_0_is_not_a_valid_JSX_element, generateInitialErrorChain); - } - function generateInitialErrorChain() { - const componentName = getTextOfNode(openingLikeElement.tagName); - return chainDiagnosticMessages( - /*details*/ - void 0, - Diagnostics._0_cannot_be_used_as_a_JSX_component, - componentName - ); - } - } - function getIntrinsicAttributesTypeFromJsxOpeningLikeElement(node) { - var _a; - Debug.assert(isJsxIntrinsicTagName(node.tagName)); - const links = getNodeLinks(node); - if (!links.resolvedJsxElementAttributesType) { - const symbol = getIntrinsicTagSymbol(node); - if (links.jsxFlags & 1 /* IntrinsicNamedElement */) { - return links.resolvedJsxElementAttributesType = getTypeOfSymbol(symbol) || errorType; - } else if (links.jsxFlags & 2 /* IntrinsicIndexedElement */) { - const propName = isJsxNamespacedName(node.tagName) ? getEscapedTextOfJsxNamespacedName(node.tagName) : node.tagName.escapedText; - return links.resolvedJsxElementAttributesType = ((_a = getApplicableIndexInfoForName(getJsxType(JsxNames.IntrinsicElements, node), propName)) == null ? void 0 : _a.type) || errorType; - } else { - return links.resolvedJsxElementAttributesType = errorType; - } - } - return links.resolvedJsxElementAttributesType; - } - function getJsxElementClassTypeAt(location) { - const type = getJsxType(JsxNames.ElementClass, location); - if (isErrorType(type)) return void 0; - return type; - } - function getJsxElementTypeAt(location) { - return getJsxType(JsxNames.Element, location); - } - function getJsxStatelessElementTypeAt(location) { - const jsxElementType = getJsxElementTypeAt(location); - if (jsxElementType) { - return getUnionType([jsxElementType, nullType]); - } - } - function getJsxElementTypeTypeAt(location) { - const ns = getJsxNamespaceAt(location); - if (!ns) return void 0; - const sym = getJsxElementTypeSymbol(ns); - if (!sym) return void 0; - const type = instantiateAliasOrInterfaceWithDefaults(sym, isInJSFile(location)); - if (!type || isErrorType(type)) return void 0; - return type; - } - function instantiateAliasOrInterfaceWithDefaults(managedSym, inJs, ...typeArguments) { - const declaredManagedType = getDeclaredTypeOfSymbol(managedSym); - if (managedSym.flags & 524288 /* TypeAlias */) { - const params = getSymbolLinks(managedSym).typeParameters; - if (length(params) >= typeArguments.length) { - const args = fillMissingTypeArguments(typeArguments, params, typeArguments.length, inJs); - return length(args) === 0 ? declaredManagedType : getTypeAliasInstantiation(managedSym, args); - } - } - if (length(declaredManagedType.typeParameters) >= typeArguments.length) { - const args = fillMissingTypeArguments(typeArguments, declaredManagedType.typeParameters, typeArguments.length, inJs); - return createTypeReference(declaredManagedType, args); - } - return void 0; - } - function getJsxIntrinsicTagNamesAt(location) { - const intrinsics = getJsxType(JsxNames.IntrinsicElements, location); - return intrinsics ? getPropertiesOfType(intrinsics) : emptyArray; - } - function checkJsxPreconditions(errorNode) { - if ((compilerOptions.jsx || 0 /* None */) === 0 /* None */) { - error(errorNode, Diagnostics.Cannot_use_JSX_unless_the_jsx_flag_is_provided); - } - if (getJsxElementTypeAt(errorNode) === void 0) { - if (noImplicitAny) { - error(errorNode, Diagnostics.JSX_element_implicitly_has_type_any_because_the_global_type_JSX_Element_does_not_exist); - } - } - } - function checkJsxOpeningLikeElementOrOpeningFragment(node) { - const isNodeOpeningLikeElement = isJsxOpeningLikeElement(node); - if (isNodeOpeningLikeElement) { - checkGrammarJsxElement(node); - } - checkJsxPreconditions(node); - markJsxAliasReferenced(node); - if (isNodeOpeningLikeElement) { - const jsxOpeningLikeNode = node; - const sig = getResolvedSignature(jsxOpeningLikeNode); - checkDeprecatedSignature(sig, node); - const elementTypeConstraint = getJsxElementTypeTypeAt(jsxOpeningLikeNode); - if (elementTypeConstraint !== void 0) { - const tagName = jsxOpeningLikeNode.tagName; - const tagType = isJsxIntrinsicTagName(tagName) ? getStringLiteralType(intrinsicTagNameToString(tagName)) : checkExpression(tagName); - checkTypeRelatedTo(tagType, elementTypeConstraint, assignableRelation, tagName, Diagnostics.Its_type_0_is_not_a_valid_JSX_element_type, () => { - const componentName = getTextOfNode(tagName); - return chainDiagnosticMessages( - /*details*/ - void 0, - Diagnostics._0_cannot_be_used_as_a_JSX_component, - componentName - ); - }); - } else { - checkJsxReturnAssignableToAppropriateBound(getJsxReferenceKind(jsxOpeningLikeNode), getReturnTypeOfSignature(sig), jsxOpeningLikeNode); - } - } - } - function isKnownProperty(targetType, name, isComparingJsxAttributes) { - if (targetType.flags & 524288 /* Object */) { - if (getPropertyOfObjectType(targetType, name) || getApplicableIndexInfoForName(targetType, name) || isLateBoundName(name) && getIndexInfoOfType(targetType, stringType) || isComparingJsxAttributes && isHyphenatedJsxName(name)) { - return true; - } - } - if (targetType.flags & 33554432 /* Substitution */) { - return isKnownProperty(targetType.baseType, name, isComparingJsxAttributes); - } - if (targetType.flags & 3145728 /* UnionOrIntersection */ && isExcessPropertyCheckTarget(targetType)) { - for (const t of targetType.types) { - if (isKnownProperty(t, name, isComparingJsxAttributes)) { - return true; - } - } - } - return false; - } - function isExcessPropertyCheckTarget(type) { - return !!(type.flags & 524288 /* Object */ && !(getObjectFlags(type) & 512 /* ObjectLiteralPatternWithComputedProperties */) || type.flags & 67108864 /* NonPrimitive */ || type.flags & 33554432 /* Substitution */ && isExcessPropertyCheckTarget(type.baseType) || type.flags & 1048576 /* Union */ && some(type.types, isExcessPropertyCheckTarget) || type.flags & 2097152 /* Intersection */ && every(type.types, isExcessPropertyCheckTarget)); - } - function checkJsxExpression(node, checkMode) { - checkGrammarJsxExpression(node); - if (node.expression) { - const type = checkExpression(node.expression, checkMode); - if (node.dotDotDotToken && type !== anyType && !isArrayType(type)) { - error(node, Diagnostics.JSX_spread_child_must_be_an_array_type); - } - return type; - } else { - return errorType; - } - } - function getDeclarationNodeFlagsFromSymbol(s) { - return s.valueDeclaration ? getCombinedNodeFlagsCached(s.valueDeclaration) : 0; - } - function isPrototypeProperty(symbol) { - if (symbol.flags & 8192 /* Method */ || getCheckFlags(symbol) & 4 /* SyntheticMethod */) { - return true; - } - if (isInJSFile(symbol.valueDeclaration)) { - const parent = symbol.valueDeclaration.parent; - return parent && isBinaryExpression(parent) && getAssignmentDeclarationKind(parent) === 3 /* PrototypeProperty */; - } - } - function checkPropertyAccessibility(node, isSuper, writing, type, prop, reportError = true) { - const errorNode = !reportError ? void 0 : node.kind === 166 /* QualifiedName */ ? node.right : node.kind === 205 /* ImportType */ ? node : node.kind === 208 /* BindingElement */ && node.propertyName ? node.propertyName : node.name; - return checkPropertyAccessibilityAtLocation(node, isSuper, writing, type, prop, errorNode); - } - function checkPropertyAccessibilityAtLocation(location, isSuper, writing, containingType, prop, errorNode) { - var _a; - const flags = getDeclarationModifierFlagsFromSymbol(prop, writing); - if (isSuper) { - if (languageVersion < 2 /* ES2015 */) { - if (symbolHasNonMethodDeclaration(prop)) { - if (errorNode) { - error(errorNode, Diagnostics.Only_public_and_protected_methods_of_the_base_class_are_accessible_via_the_super_keyword); - } - return false; - } - } - if (flags & 64 /* Abstract */) { - if (errorNode) { - error(errorNode, Diagnostics.Abstract_method_0_in_class_1_cannot_be_accessed_via_super_expression, symbolToString(prop), typeToString(getDeclaringClass(prop))); - } - return false; - } - if (!(flags & 256 /* Static */) && ((_a = prop.declarations) == null ? void 0 : _a.some(isClassInstanceProperty))) { - if (errorNode) { - error(errorNode, Diagnostics.Class_field_0_defined_by_the_parent_class_is_not_accessible_in_the_child_class_via_super, symbolToString(prop)); - } - return false; - } - } - if (flags & 64 /* Abstract */ && symbolHasNonMethodDeclaration(prop) && (isThisProperty(location) || isThisInitializedObjectBindingExpression(location) || isObjectBindingPattern(location.parent) && isThisInitializedDeclaration(location.parent.parent))) { - const declaringClassDeclaration = getClassLikeDeclarationOfSymbol(getParentOfSymbol(prop)); - if (declaringClassDeclaration && isNodeUsedDuringClassInitialization(location)) { - if (errorNode) { - error(errorNode, Diagnostics.Abstract_property_0_in_class_1_cannot_be_accessed_in_the_constructor, symbolToString(prop), getTextOfIdentifierOrLiteral(declaringClassDeclaration.name)); - } - return false; - } - } - if (!(flags & 6 /* NonPublicAccessibilityModifier */)) { - return true; - } - if (flags & 2 /* Private */) { - const declaringClassDeclaration = getClassLikeDeclarationOfSymbol(getParentOfSymbol(prop)); - if (!isNodeWithinClass(location, declaringClassDeclaration)) { - if (errorNode) { - error(errorNode, Diagnostics.Property_0_is_private_and_only_accessible_within_class_1, symbolToString(prop), typeToString(getDeclaringClass(prop))); - } - return false; - } - return true; - } - if (isSuper) { - return true; - } - let enclosingClass = forEachEnclosingClass(location, (enclosingDeclaration) => { - const enclosingClass2 = getDeclaredTypeOfSymbol(getSymbolOfDeclaration(enclosingDeclaration)); - return isClassDerivedFromDeclaringClasses(enclosingClass2, prop, writing); - }); - if (!enclosingClass) { - enclosingClass = getEnclosingClassFromThisParameter(location); - enclosingClass = enclosingClass && isClassDerivedFromDeclaringClasses(enclosingClass, prop, writing); - if (flags & 256 /* Static */ || !enclosingClass) { - if (errorNode) { - error(errorNode, Diagnostics.Property_0_is_protected_and_only_accessible_within_class_1_and_its_subclasses, symbolToString(prop), typeToString(getDeclaringClass(prop) || containingType)); - } - return false; - } - } - if (flags & 256 /* Static */) { - return true; - } - if (containingType.flags & 262144 /* TypeParameter */) { - containingType = containingType.isThisType ? getConstraintOfTypeParameter(containingType) : getBaseConstraintOfType(containingType); - } - if (!containingType || !hasBaseType(containingType, enclosingClass)) { - if (errorNode) { - error(errorNode, Diagnostics.Property_0_is_protected_and_only_accessible_through_an_instance_of_class_1_This_is_an_instance_of_class_2, symbolToString(prop), typeToString(enclosingClass), typeToString(containingType)); - } - return false; - } - return true; - } - function getEnclosingClassFromThisParameter(node) { - const thisParameter = getThisParameterFromNodeContext(node); - let thisType = (thisParameter == null ? void 0 : thisParameter.type) && getTypeFromTypeNode(thisParameter.type); - if (thisType) { - if (thisType.flags & 262144 /* TypeParameter */) { - thisType = getConstraintOfTypeParameter(thisType); - } - } else { - const thisContainer = getThisContainer( - node, - /*includeArrowFunctions*/ - false, - /*includeClassComputedPropertyName*/ - false - ); - if (isFunctionLike(thisContainer)) { - thisType = getContextualThisParameterType(thisContainer); - } - } - if (thisType && getObjectFlags(thisType) & (3 /* ClassOrInterface */ | 4 /* Reference */)) { - return getTargetType(thisType); - } - return void 0; - } - function getThisParameterFromNodeContext(node) { - const thisContainer = getThisContainer( - node, - /*includeArrowFunctions*/ - false, - /*includeClassComputedPropertyName*/ - false - ); - return thisContainer && isFunctionLike(thisContainer) ? getThisParameter(thisContainer) : void 0; - } - function symbolHasNonMethodDeclaration(symbol) { - return !!forEachProperty(symbol, (prop) => !(prop.flags & 8192 /* Method */)); - } - function checkNonNullExpression(node) { - return checkNonNullType(checkExpression(node), node); - } - function isNullableType(type) { - return hasTypeFacts(type, 50331648 /* IsUndefinedOrNull */); - } - function getNonNullableTypeIfNeeded(type) { - return isNullableType(type) ? getNonNullableType(type) : type; - } - function reportObjectPossiblyNullOrUndefinedError(node, facts) { - const nodeText = isEntityNameExpression(node) ? entityNameToString(node) : void 0; - if (node.kind === 106 /* NullKeyword */) { - error(node, Diagnostics.The_value_0_cannot_be_used_here, "null"); - return; - } - if (nodeText !== void 0 && nodeText.length < 100) { - if (isIdentifier(node) && nodeText === "undefined") { - error(node, Diagnostics.The_value_0_cannot_be_used_here, "undefined"); - return; - } - error( - node, - facts & 16777216 /* IsUndefined */ ? facts & 33554432 /* IsNull */ ? Diagnostics._0_is_possibly_null_or_undefined : Diagnostics._0_is_possibly_undefined : Diagnostics._0_is_possibly_null, - nodeText - ); - } else { - error( - node, - facts & 16777216 /* IsUndefined */ ? facts & 33554432 /* IsNull */ ? Diagnostics.Object_is_possibly_null_or_undefined : Diagnostics.Object_is_possibly_undefined : Diagnostics.Object_is_possibly_null - ); - } - } - function reportCannotInvokePossiblyNullOrUndefinedError(node, facts) { - error( - node, - facts & 16777216 /* IsUndefined */ ? facts & 33554432 /* IsNull */ ? Diagnostics.Cannot_invoke_an_object_which_is_possibly_null_or_undefined : Diagnostics.Cannot_invoke_an_object_which_is_possibly_undefined : Diagnostics.Cannot_invoke_an_object_which_is_possibly_null - ); - } - function checkNonNullTypeWithReporter(type, node, reportError) { - if (strictNullChecks && type.flags & 2 /* Unknown */) { - if (isEntityNameExpression(node)) { - const nodeText = entityNameToString(node); - if (nodeText.length < 100) { - error(node, Diagnostics._0_is_of_type_unknown, nodeText); - return errorType; - } - } - error(node, Diagnostics.Object_is_of_type_unknown); - return errorType; - } - const facts = getTypeFacts(type, 50331648 /* IsUndefinedOrNull */); - if (facts & 50331648 /* IsUndefinedOrNull */) { - reportError(node, facts); - const t = getNonNullableType(type); - return t.flags & (98304 /* Nullable */ | 131072 /* Never */) ? errorType : t; - } - return type; - } - function checkNonNullType(type, node) { - return checkNonNullTypeWithReporter(type, node, reportObjectPossiblyNullOrUndefinedError); - } - function checkNonNullNonVoidType(type, node) { - const nonNullType = checkNonNullType(type, node); - if (nonNullType.flags & 16384 /* Void */) { - if (isEntityNameExpression(node)) { - const nodeText = entityNameToString(node); - if (isIdentifier(node) && nodeText === "undefined") { - error(node, Diagnostics.The_value_0_cannot_be_used_here, nodeText); - return nonNullType; - } - if (nodeText.length < 100) { - error(node, Diagnostics._0_is_possibly_undefined, nodeText); - return nonNullType; - } - } - error(node, Diagnostics.Object_is_possibly_undefined); - } - return nonNullType; - } - function checkPropertyAccessExpression(node, checkMode, writeOnly) { - return node.flags & 64 /* OptionalChain */ ? checkPropertyAccessChain(node, checkMode) : checkPropertyAccessExpressionOrQualifiedName(node, node.expression, checkNonNullExpression(node.expression), node.name, checkMode, writeOnly); - } - function checkPropertyAccessChain(node, checkMode) { - const leftType = checkExpression(node.expression); - const nonOptionalType = getOptionalExpressionType(leftType, node.expression); - return propagateOptionalTypeMarker(checkPropertyAccessExpressionOrQualifiedName(node, node.expression, checkNonNullType(nonOptionalType, node.expression), node.name, checkMode), node, nonOptionalType !== leftType); - } - function checkQualifiedName(node, checkMode) { - const leftType = isPartOfTypeQuery(node) && isThisIdentifier(node.left) ? checkNonNullType(checkThisExpression(node.left), node.left) : checkNonNullExpression(node.left); - return checkPropertyAccessExpressionOrQualifiedName(node, node.left, leftType, node.right, checkMode); - } - function isMethodAccessForCall(node) { - while (node.parent.kind === 217 /* ParenthesizedExpression */) { - node = node.parent; - } - return isCallOrNewExpression(node.parent) && node.parent.expression === node; - } - function lookupSymbolForPrivateIdentifierDeclaration(propName, location) { - for (let containingClass = getContainingClassExcludingClassDecorators(location); !!containingClass; containingClass = getContainingClass(containingClass)) { - const { symbol } = containingClass; - const name = getSymbolNameForPrivateIdentifier(symbol, propName); - const prop = symbol.members && symbol.members.get(name) || symbol.exports && symbol.exports.get(name); - if (prop) { - return prop; - } - } - } - function checkGrammarPrivateIdentifierExpression(privId) { - if (!getContainingClass(privId)) { - return grammarErrorOnNode(privId, Diagnostics.Private_identifiers_are_not_allowed_outside_class_bodies); - } - if (!isForInStatement(privId.parent)) { - if (!isExpressionNode(privId)) { - return grammarErrorOnNode(privId, Diagnostics.Private_identifiers_are_only_allowed_in_class_bodies_and_may_only_be_used_as_part_of_a_class_member_declaration_property_access_or_on_the_left_hand_side_of_an_in_expression); - } - const isInOperation = isBinaryExpression(privId.parent) && privId.parent.operatorToken.kind === 103 /* InKeyword */; - if (!getSymbolForPrivateIdentifierExpression(privId) && !isInOperation) { - return grammarErrorOnNode(privId, Diagnostics.Cannot_find_name_0, idText(privId)); - } - } - return false; - } - function checkPrivateIdentifierExpression(privId) { - checkGrammarPrivateIdentifierExpression(privId); - const symbol = getSymbolForPrivateIdentifierExpression(privId); - if (symbol) { - markPropertyAsReferenced( - symbol, - /*nodeForCheckWriteOnly*/ - void 0, - /*isSelfTypeAccess*/ - false - ); - } - return anyType; - } - function getSymbolForPrivateIdentifierExpression(privId) { - if (!isExpressionNode(privId)) { - return void 0; - } - const links = getNodeLinks(privId); - if (links.resolvedSymbol === void 0) { - links.resolvedSymbol = lookupSymbolForPrivateIdentifierDeclaration(privId.escapedText, privId); - } - return links.resolvedSymbol; - } - function getPrivateIdentifierPropertyOfType(leftType, lexicallyScopedIdentifier) { - return getPropertyOfType(leftType, lexicallyScopedIdentifier.escapedName); - } - function checkPrivateIdentifierPropertyAccess(leftType, right, lexicallyScopedIdentifier) { - let propertyOnType; - const properties = getPropertiesOfType(leftType); - if (properties) { - forEach(properties, (symbol) => { - const decl = symbol.valueDeclaration; - if (decl && isNamedDeclaration(decl) && isPrivateIdentifier(decl.name) && decl.name.escapedText === right.escapedText) { - propertyOnType = symbol; - return true; - } - }); - } - const diagName = diagnosticName(right); - if (propertyOnType) { - const typeValueDecl = Debug.checkDefined(propertyOnType.valueDeclaration); - const typeClass = Debug.checkDefined(getContainingClass(typeValueDecl)); - if (lexicallyScopedIdentifier == null ? void 0 : lexicallyScopedIdentifier.valueDeclaration) { - const lexicalValueDecl = lexicallyScopedIdentifier.valueDeclaration; - const lexicalClass = getContainingClass(lexicalValueDecl); - Debug.assert(!!lexicalClass); - if (findAncestor(lexicalClass, (n) => typeClass === n)) { - const diagnostic = error( - right, - 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, - diagName, - typeToString(leftType) - ); - addRelatedInfo( - diagnostic, - createDiagnosticForNode( - lexicalValueDecl, - Diagnostics.The_shadowing_declaration_of_0_is_defined_here, - diagName - ), - createDiagnosticForNode( - typeValueDecl, - Diagnostics.The_declaration_of_0_that_you_probably_intended_to_use_is_defined_here, - diagName - ) - ); - return true; - } - } - error( - right, - Diagnostics.Property_0_is_not_accessible_outside_class_1_because_it_has_a_private_identifier, - diagName, - diagnosticName(typeClass.name || anon) - ); - return true; - } - return false; - } - function isThisPropertyAccessInConstructor(node, prop) { - return (isConstructorDeclaredProperty(prop) || isThisProperty(node) && isAutoTypedProperty(prop)) && getThisContainer( - node, - /*includeArrowFunctions*/ - true, - /*includeClassComputedPropertyName*/ - false - ) === getDeclaringConstructor(prop); - } - function checkPropertyAccessExpressionOrQualifiedName(node, left, leftType, right, checkMode, writeOnly) { - const parentSymbol = getNodeLinks(left).resolvedSymbol; - const assignmentKind = getAssignmentTargetKind(node); - const apparentType = getApparentType(assignmentKind !== 0 /* None */ || isMethodAccessForCall(node) ? getWidenedType(leftType) : leftType); - const isAnyLike = isTypeAny(apparentType) || apparentType === silentNeverType; - let prop; - if (isPrivateIdentifier(right)) { - if (languageVersion < 9 /* PrivateNamesAndClassStaticBlocks */ || languageVersion < 99 /* ClassAndClassElementDecorators */ || !useDefineForClassFields) { - if (assignmentKind !== 0 /* None */) { - checkExternalEmitHelpers(node, 1048576 /* ClassPrivateFieldSet */); - } - if (assignmentKind !== 1 /* Definite */) { - checkExternalEmitHelpers(node, 524288 /* ClassPrivateFieldGet */); - } - } - const lexicallyScopedSymbol = lookupSymbolForPrivateIdentifierDeclaration(right.escapedText, right); - if (assignmentKind && lexicallyScopedSymbol && lexicallyScopedSymbol.valueDeclaration && isMethodDeclaration(lexicallyScopedSymbol.valueDeclaration)) { - grammarErrorOnNode(right, Diagnostics.Cannot_assign_to_private_method_0_Private_methods_are_not_writable, idText(right)); - } - if (isAnyLike) { - if (lexicallyScopedSymbol) { - return isErrorType(apparentType) ? errorType : apparentType; - } - if (getContainingClassExcludingClassDecorators(right) === void 0) { - grammarErrorOnNode(right, Diagnostics.Private_identifiers_are_not_allowed_outside_class_bodies); - return anyType; - } - } - prop = lexicallyScopedSymbol && getPrivateIdentifierPropertyOfType(leftType, lexicallyScopedSymbol); - if (prop === void 0) { - if (checkPrivateIdentifierPropertyAccess(leftType, right, lexicallyScopedSymbol)) { - return errorType; - } - const containingClass = getContainingClassExcludingClassDecorators(right); - if (containingClass && isPlainJsFile(getSourceFileOfNode(containingClass), compilerOptions.checkJs)) { - grammarErrorOnNode(right, Diagnostics.Private_field_0_must_be_declared_in_an_enclosing_class, idText(right)); - } - } else { - const isSetonlyAccessor = prop.flags & 65536 /* SetAccessor */ && !(prop.flags & 32768 /* GetAccessor */); - if (isSetonlyAccessor && assignmentKind !== 1 /* Definite */) { - error(node, Diagnostics.Private_accessor_was_defined_without_a_getter); - } - } - } else { - if (isAnyLike) { - if (isIdentifier(left) && parentSymbol) { - markLinkedReferences( - node, - 2 /* Property */, - /*propSymbol*/ - void 0, - leftType - ); - } - return isErrorType(apparentType) ? errorType : apparentType; - } - prop = getPropertyOfType( - apparentType, - right.escapedText, - /*skipObjectFunctionPropertyAugment*/ - isConstEnumObjectType(apparentType), - /*includeTypeOnlyMembers*/ - node.kind === 166 /* QualifiedName */ - ); - } - markLinkedReferences(node, 2 /* Property */, prop, leftType); - let propType; - if (!prop) { - const indexInfo = !isPrivateIdentifier(right) && (assignmentKind === 0 /* None */ || !isGenericObjectType(leftType) || isThisTypeParameter(leftType)) ? getApplicableIndexInfoForName(apparentType, right.escapedText) : void 0; - if (!(indexInfo && indexInfo.type)) { - const isUncheckedJS = isUncheckedJSSuggestion( - node, - leftType.symbol, - /*excludeClasses*/ - true - ); - if (!isUncheckedJS && isJSLiteralType(leftType)) { - return anyType; - } - if (leftType.symbol === globalThisSymbol) { - if (globalThisSymbol.exports.has(right.escapedText) && globalThisSymbol.exports.get(right.escapedText).flags & 418 /* BlockScoped */) { - error(right, Diagnostics.Property_0_does_not_exist_on_type_1, unescapeLeadingUnderscores(right.escapedText), typeToString(leftType)); - } else if (noImplicitAny) { - error(right, Diagnostics.Element_implicitly_has_an_any_type_because_type_0_has_no_index_signature, typeToString(leftType)); - } - return anyType; - } - if (right.escapedText && !checkAndReportErrorForExtendingInterface(node)) { - reportNonexistentProperty(right, isThisTypeParameter(leftType) ? apparentType : leftType, isUncheckedJS); - } - return errorType; - } - if (indexInfo.isReadonly && (isAssignmentTarget(node) || isDeleteTarget(node))) { - error(node, Diagnostics.Index_signature_in_type_0_only_permits_reading, typeToString(apparentType)); - } - propType = indexInfo.type; - if (compilerOptions.noUncheckedIndexedAccess && getAssignmentTargetKind(node) !== 1 /* Definite */) { - propType = getUnionType([propType, missingType]); - } - if (compilerOptions.noPropertyAccessFromIndexSignature && isPropertyAccessExpression(node)) { - error(right, Diagnostics.Property_0_comes_from_an_index_signature_so_it_must_be_accessed_with_0, unescapeLeadingUnderscores(right.escapedText)); - } - if (indexInfo.declaration && isDeprecatedDeclaration(indexInfo.declaration)) { - addDeprecatedSuggestion(right, [indexInfo.declaration], right.escapedText); - } - } else { - const targetPropSymbol = resolveAliasWithDeprecationCheck(prop, right); - if (isDeprecatedSymbol(targetPropSymbol) && isUncalledFunctionReference(node, targetPropSymbol) && targetPropSymbol.declarations) { - addDeprecatedSuggestion(right, targetPropSymbol.declarations, right.escapedText); - } - checkPropertyNotUsedBeforeDeclaration(prop, node, right); - markPropertyAsReferenced(prop, node, isSelfTypeAccess(left, parentSymbol)); - getNodeLinks(node).resolvedSymbol = prop; - checkPropertyAccessibility(node, left.kind === 108 /* SuperKeyword */, isWriteAccess(node), apparentType, prop); - if (isAssignmentToReadonlyEntity(node, prop, assignmentKind)) { - error(right, Diagnostics.Cannot_assign_to_0_because_it_is_a_read_only_property, idText(right)); - return errorType; - } - propType = isThisPropertyAccessInConstructor(node, prop) ? autoType : writeOnly || isWriteOnlyAccess(node) ? getWriteTypeOfSymbol(prop) : getTypeOfSymbol(prop); - } - return getFlowTypeOfAccessExpression(node, prop, propType, right, checkMode); - } - function isUncheckedJSSuggestion(node, suggestion, excludeClasses) { - var _a; - const file = getSourceFileOfNode(node); - if (file) { - if (compilerOptions.checkJs === void 0 && file.checkJsDirective === void 0 && (file.scriptKind === 1 /* JS */ || file.scriptKind === 2 /* JSX */)) { - const declarationFile = forEach(suggestion == null ? void 0 : suggestion.declarations, getSourceFileOfNode); - const suggestionHasNoExtendsOrDecorators = !(suggestion == null ? void 0 : suggestion.valueDeclaration) || !isClassLike(suggestion.valueDeclaration) || ((_a = suggestion.valueDeclaration.heritageClauses) == null ? void 0 : _a.length) || classOrConstructorParameterIsDecorated( - /*useLegacyDecorators*/ - false, - suggestion.valueDeclaration - ); - return !(file !== declarationFile && !!declarationFile && isGlobalSourceFile(declarationFile)) && !(excludeClasses && suggestion && suggestion.flags & 32 /* Class */ && suggestionHasNoExtendsOrDecorators) && !(!!node && excludeClasses && isPropertyAccessExpression(node) && node.expression.kind === 110 /* ThisKeyword */ && suggestionHasNoExtendsOrDecorators); - } - } - return false; - } - function getFlowTypeOfAccessExpression(node, prop, propType, errorNode, checkMode) { - const assignmentKind = getAssignmentTargetKind(node); - if (assignmentKind === 1 /* Definite */) { - return removeMissingType(propType, !!(prop && prop.flags & 16777216 /* Optional */)); - } - if (prop && !(prop.flags & (3 /* Variable */ | 4 /* Property */ | 98304 /* Accessor */)) && !(prop.flags & 8192 /* Method */ && propType.flags & 1048576 /* Union */) && !isDuplicatedCommonJSExport(prop.declarations)) { - return propType; - } - if (propType === autoType) { - return getFlowTypeOfProperty(node, prop); - } - propType = getNarrowableTypeForReference(propType, node, checkMode); - let assumeUninitialized = false; - if (strictNullChecks && strictPropertyInitialization && isAccessExpression(node) && node.expression.kind === 110 /* ThisKeyword */) { - const declaration = prop && prop.valueDeclaration; - if (declaration && isPropertyWithoutInitializer(declaration)) { - if (!isStatic(declaration)) { - const flowContainer = getControlFlowContainer(node); - if (flowContainer.kind === 176 /* Constructor */ && flowContainer.parent === declaration.parent && !(declaration.flags & 33554432 /* Ambient */)) { - assumeUninitialized = true; - } - } - } - } else if (strictNullChecks && prop && prop.valueDeclaration && isPropertyAccessExpression(prop.valueDeclaration) && getAssignmentDeclarationPropertyAccessKind(prop.valueDeclaration) && getControlFlowContainer(node) === getControlFlowContainer(prop.valueDeclaration)) { - assumeUninitialized = true; - } - const flowType = getFlowTypeOfReference(node, propType, assumeUninitialized ? getOptionalType(propType) : propType); - if (assumeUninitialized && !containsUndefinedType(propType) && containsUndefinedType(flowType)) { - error(errorNode, Diagnostics.Property_0_is_used_before_being_assigned, symbolToString(prop)); - return propType; - } - return assignmentKind ? getBaseTypeOfLiteralType(flowType) : flowType; - } - function checkPropertyNotUsedBeforeDeclaration(prop, node, right) { - const { valueDeclaration } = prop; - if (!valueDeclaration || getSourceFileOfNode(node).isDeclarationFile) { - return; - } - let diagnosticMessage; - const declarationName = idText(right); - if (isInPropertyInitializerOrClassStaticBlock(node) && !isOptionalPropertyDeclaration(valueDeclaration) && !(isAccessExpression(node) && isAccessExpression(node.expression)) && !isBlockScopedNameDeclaredBeforeUse(valueDeclaration, right) && !(isMethodDeclaration(valueDeclaration) && getCombinedModifierFlagsCached(valueDeclaration) & 256 /* Static */) && (useDefineForClassFields || !isPropertyDeclaredInAncestorClass(prop))) { - diagnosticMessage = error(right, Diagnostics.Property_0_is_used_before_its_initialization, declarationName); - } else if (valueDeclaration.kind === 263 /* ClassDeclaration */ && node.parent.kind !== 183 /* TypeReference */ && !(valueDeclaration.flags & 33554432 /* Ambient */) && !isBlockScopedNameDeclaredBeforeUse(valueDeclaration, right)) { - diagnosticMessage = error(right, Diagnostics.Class_0_used_before_its_declaration, declarationName); - } - if (diagnosticMessage) { - addRelatedInfo(diagnosticMessage, createDiagnosticForNode(valueDeclaration, Diagnostics._0_is_declared_here, declarationName)); - } - } - function isInPropertyInitializerOrClassStaticBlock(node) { - return !!findAncestor(node, (node2) => { - switch (node2.kind) { - case 172 /* PropertyDeclaration */: - return true; - case 303 /* PropertyAssignment */: - case 174 /* MethodDeclaration */: - case 177 /* GetAccessor */: - case 178 /* SetAccessor */: - case 305 /* SpreadAssignment */: - case 167 /* ComputedPropertyName */: - case 239 /* TemplateSpan */: - case 294 /* JsxExpression */: - case 291 /* JsxAttribute */: - case 292 /* JsxAttributes */: - case 293 /* JsxSpreadAttribute */: - case 286 /* JsxOpeningElement */: - case 233 /* ExpressionWithTypeArguments */: - case 298 /* HeritageClause */: - return false; - case 219 /* ArrowFunction */: - case 244 /* ExpressionStatement */: - return isBlock(node2.parent) && isClassStaticBlockDeclaration(node2.parent.parent) ? true : "quit"; - default: - return isExpressionNode(node2) ? false : "quit"; - } - }); - } - function isPropertyDeclaredInAncestorClass(prop) { - if (!(prop.parent.flags & 32 /* Class */)) { - return false; - } - let classType = getTypeOfSymbol(prop.parent); - while (true) { - classType = classType.symbol && getSuperClass(classType); - if (!classType) { - return false; - } - const superProperty = getPropertyOfType(classType, prop.escapedName); - if (superProperty && superProperty.valueDeclaration) { - return true; - } - } - } - function getSuperClass(classType) { - const x = getBaseTypes(classType); - if (x.length === 0) { - return void 0; - } - return getIntersectionType(x); - } - function reportNonexistentProperty(propNode, containingType, isUncheckedJS) { - let errorInfo; - let relatedInfo; - if (!isPrivateIdentifier(propNode) && containingType.flags & 1048576 /* Union */ && !(containingType.flags & 402784252 /* Primitive */)) { - for (const subtype of containingType.types) { - if (!getPropertyOfType(subtype, propNode.escapedText) && !getApplicableIndexInfoForName(subtype, propNode.escapedText)) { - errorInfo = chainDiagnosticMessages(errorInfo, Diagnostics.Property_0_does_not_exist_on_type_1, declarationNameToString(propNode), typeToString(subtype)); - break; - } - } - } - if (typeHasStaticProperty(propNode.escapedText, containingType)) { - const propName = declarationNameToString(propNode); - const typeName = typeToString(containingType); - errorInfo = chainDiagnosticMessages(errorInfo, Diagnostics.Property_0_does_not_exist_on_type_1_Did_you_mean_to_access_the_static_member_2_instead, propName, typeName, typeName + "." + propName); - } else { - const promisedType = getPromisedTypeOfPromise(containingType); - if (promisedType && getPropertyOfType(promisedType, propNode.escapedText)) { - errorInfo = chainDiagnosticMessages(errorInfo, Diagnostics.Property_0_does_not_exist_on_type_1, declarationNameToString(propNode), typeToString(containingType)); - relatedInfo = createDiagnosticForNode(propNode, Diagnostics.Did_you_forget_to_use_await); - } else { - const missingProperty = declarationNameToString(propNode); - const container = typeToString(containingType); - const libSuggestion = getSuggestedLibForNonExistentProperty(missingProperty, containingType); - if (libSuggestion !== void 0) { - errorInfo = chainDiagnosticMessages(errorInfo, Diagnostics.Property_0_does_not_exist_on_type_1_Do_you_need_to_change_your_target_library_Try_changing_the_lib_compiler_option_to_2_or_later, missingProperty, container, libSuggestion); - } else { - const suggestion = getSuggestedSymbolForNonexistentProperty(propNode, containingType); - if (suggestion !== void 0) { - const suggestedName = symbolName(suggestion); - const message = isUncheckedJS ? Diagnostics.Property_0_may_not_exist_on_type_1_Did_you_mean_2 : Diagnostics.Property_0_does_not_exist_on_type_1_Did_you_mean_2; - errorInfo = chainDiagnosticMessages(errorInfo, message, missingProperty, container, suggestedName); - relatedInfo = suggestion.valueDeclaration && createDiagnosticForNode(suggestion.valueDeclaration, Diagnostics._0_is_declared_here, suggestedName); - } else { - const diagnostic = containerSeemsToBeEmptyDomElement(containingType) ? Diagnostics.Property_0_does_not_exist_on_type_1_Try_changing_the_lib_compiler_option_to_include_dom : Diagnostics.Property_0_does_not_exist_on_type_1; - errorInfo = chainDiagnosticMessages(elaborateNeverIntersection(errorInfo, containingType), diagnostic, missingProperty, container); - } - } - } - } - const resultDiagnostic = createDiagnosticForNodeFromMessageChain(getSourceFileOfNode(propNode), propNode, errorInfo); - if (relatedInfo) { - addRelatedInfo(resultDiagnostic, relatedInfo); - } - addErrorOrSuggestion(!isUncheckedJS || errorInfo.code !== Diagnostics.Property_0_may_not_exist_on_type_1_Did_you_mean_2.code, resultDiagnostic); - } - function containerSeemsToBeEmptyDomElement(containingType) { - return compilerOptions.lib && !compilerOptions.lib.includes("dom") && everyContainedType(containingType, (type) => type.symbol && /^(?:EventTarget|Node|(?:HTML[a-zA-Z]*)?Element)$/.test(unescapeLeadingUnderscores(type.symbol.escapedName))) && isEmptyObjectType(containingType); - } - function typeHasStaticProperty(propName, containingType) { - const prop = containingType.symbol && getPropertyOfType(getTypeOfSymbol(containingType.symbol), propName); - return prop !== void 0 && !!prop.valueDeclaration && isStatic(prop.valueDeclaration); - } - function getSuggestedLibForNonExistentName(name) { - const missingName = diagnosticName(name); - const allFeatures = getScriptTargetFeatures(); - const typeFeatures = allFeatures.get(missingName); - return typeFeatures && firstIterator(typeFeatures.keys()); - } - function getSuggestedLibForNonExistentProperty(missingProperty, containingType) { - const container = getApparentType(containingType).symbol; - if (!container) { - return void 0; - } - const containingTypeName = symbolName(container); - const allFeatures = getScriptTargetFeatures(); - const typeFeatures = allFeatures.get(containingTypeName); - if (typeFeatures) { - for (const [libTarget, featuresOfType] of typeFeatures) { - if (contains(featuresOfType, missingProperty)) { - return libTarget; - } - } - } - } - function getSuggestedSymbolForNonexistentClassMember(name, baseType) { - return getSpellingSuggestionForName(name, getPropertiesOfType(baseType), 106500 /* ClassMember */); - } - function getSuggestedSymbolForNonexistentProperty(name, containingType) { - let props = getPropertiesOfType(containingType); - if (typeof name !== "string") { - const parent = name.parent; - if (isPropertyAccessExpression(parent)) { - props = filter(props, (prop) => isValidPropertyAccessForCompletions(parent, containingType, prop)); - } - name = idText(name); - } - return getSpellingSuggestionForName(name, props, 111551 /* Value */); - } - function getSuggestedSymbolForNonexistentJSXAttribute(name, containingType) { - const strName = isString(name) ? name : idText(name); - const properties = getPropertiesOfType(containingType); - const jsxSpecific = strName === "for" ? find(properties, (x) => symbolName(x) === "htmlFor") : strName === "class" ? find(properties, (x) => symbolName(x) === "className") : void 0; - return jsxSpecific ?? getSpellingSuggestionForName(strName, properties, 111551 /* Value */); - } - function getSuggestionForNonexistentProperty(name, containingType) { - const suggestion = getSuggestedSymbolForNonexistentProperty(name, containingType); - return suggestion && symbolName(suggestion); - } - function getSuggestionForSymbolNameLookup(symbols, name, meaning) { - const symbol = getSymbol(symbols, name, meaning); - if (symbol) return symbol; - let candidates; - if (symbols === globals) { - const primitives = mapDefined( - ["string", "number", "boolean", "object", "bigint", "symbol"], - (s) => symbols.has(s.charAt(0).toUpperCase() + s.slice(1)) ? createSymbol(524288 /* TypeAlias */, s) : void 0 - ); - candidates = primitives.concat(arrayFrom(symbols.values())); - } else { - candidates = arrayFrom(symbols.values()); - } - return getSpellingSuggestionForName(unescapeLeadingUnderscores(name), candidates, meaning); - } - function getSuggestedSymbolForNonexistentSymbol(location, outerName, meaning) { - Debug.assert(outerName !== void 0, "outername should always be defined"); - const result = resolveNameForSymbolSuggestion( - location, - outerName, - meaning, - /*nameNotFoundMessage*/ - void 0, - /*isUse*/ - false, - /*excludeGlobals*/ - false - ); - return result; - } - function getSuggestedSymbolForNonexistentModule(name, targetModule) { - return targetModule.exports && getSpellingSuggestionForName(idText(name), getExportsOfModuleAsArray(targetModule), 2623475 /* ModuleMember */); - } - function getSuggestionForNonexistentIndexSignature(objectType, expr, keyedType) { - function hasProp(name) { - const prop = getPropertyOfObjectType(objectType, name); - if (prop) { - const s = getSingleCallSignature(getTypeOfSymbol(prop)); - return !!s && getMinArgumentCount(s) >= 1 && isTypeAssignableTo(keyedType, getTypeAtPosition(s, 0)); - } - return false; - } - const suggestedMethod = isAssignmentTarget(expr) ? "set" : "get"; - if (!hasProp(suggestedMethod)) { - return void 0; - } - let suggestion = tryGetPropertyAccessOrIdentifierToString(expr.expression); - if (suggestion === void 0) { - suggestion = suggestedMethod; - } else { - suggestion += "." + suggestedMethod; - } - return suggestion; - } - function getSuggestedTypeForNonexistentStringLiteralType(source, target) { - const candidates = target.types.filter((type) => !!(type.flags & 128 /* StringLiteral */)); - return getSpellingSuggestion(source.value, candidates, (type) => type.value); - } - function getSpellingSuggestionForName(name, symbols, meaning) { - return getSpellingSuggestion(name, symbols, getCandidateName); - function getCandidateName(candidate) { - const candidateName = symbolName(candidate); - if (startsWith(candidateName, '"')) { - return void 0; - } - if (candidate.flags & meaning) { - return candidateName; - } - if (candidate.flags & 2097152 /* Alias */) { - const alias = tryResolveAlias(candidate); - if (alias && alias.flags & meaning) { - return candidateName; - } - } - return void 0; - } - } - function markPropertyAsReferenced(prop, nodeForCheckWriteOnly, isSelfTypeAccess2) { - const valueDeclaration = prop && prop.flags & 106500 /* ClassMember */ && prop.valueDeclaration; - if (!valueDeclaration) { - return; - } - const hasPrivateModifier = hasEffectiveModifier(valueDeclaration, 2 /* Private */); - const hasPrivateIdentifier = prop.valueDeclaration && isNamedDeclaration(prop.valueDeclaration) && isPrivateIdentifier(prop.valueDeclaration.name); - if (!hasPrivateModifier && !hasPrivateIdentifier) { - return; - } - if (nodeForCheckWriteOnly && isWriteOnlyAccess(nodeForCheckWriteOnly) && !(prop.flags & 65536 /* SetAccessor */)) { - return; - } - if (isSelfTypeAccess2) { - const containingMethod = findAncestor(nodeForCheckWriteOnly, isFunctionLikeDeclaration); - if (containingMethod && containingMethod.symbol === prop) { - return; - } - } - (getCheckFlags(prop) & 1 /* Instantiated */ ? getSymbolLinks(prop).target : prop).isReferenced = -1 /* All */; - } - function isSelfTypeAccess(name, parent) { - return name.kind === 110 /* ThisKeyword */ || !!parent && isEntityNameExpression(name) && parent === getResolvedSymbol(getFirstIdentifier(name)); - } - function isValidPropertyAccess(node, propertyName) { - switch (node.kind) { - case 211 /* PropertyAccessExpression */: - return isValidPropertyAccessWithType(node, node.expression.kind === 108 /* SuperKeyword */, propertyName, getWidenedType(checkExpression(node.expression))); - case 166 /* QualifiedName */: - return isValidPropertyAccessWithType( - node, - /*isSuper*/ - false, - propertyName, - getWidenedType(checkExpression(node.left)) - ); - case 205 /* ImportType */: - return isValidPropertyAccessWithType( - node, - /*isSuper*/ - false, - propertyName, - getTypeFromTypeNode(node) - ); - } - } - function isValidPropertyAccessForCompletions(node, type, property) { - return isPropertyAccessible( - node, - node.kind === 211 /* PropertyAccessExpression */ && node.expression.kind === 108 /* SuperKeyword */, - /*isWrite*/ - false, - type, - property - ); - } - function isValidPropertyAccessWithType(node, isSuper, propertyName, type) { - if (isTypeAny(type)) { - return true; - } - const prop = getPropertyOfType(type, propertyName); - return !!prop && isPropertyAccessible( - node, - isSuper, - /*isWrite*/ - false, - type, - prop - ); - } - function isPropertyAccessible(node, isSuper, isWrite, containingType, property) { - if (isTypeAny(containingType)) { - return true; - } - if (property.valueDeclaration && isPrivateIdentifierClassElementDeclaration(property.valueDeclaration)) { - const declClass = getContainingClass(property.valueDeclaration); - return !isOptionalChain(node) && !!findAncestor(node, (parent) => parent === declClass); - } - return checkPropertyAccessibilityAtLocation(node, isSuper, isWrite, containingType, property); - } - function getForInVariableSymbol(node) { - const initializer = node.initializer; - if (initializer.kind === 261 /* VariableDeclarationList */) { - const variable = initializer.declarations[0]; - if (variable && !isBindingPattern(variable.name)) { - return getSymbolOfDeclaration(variable); - } - } else if (initializer.kind === 80 /* Identifier */) { - return getResolvedSymbol(initializer); - } - return void 0; - } - function hasNumericPropertyNames(type) { - return getIndexInfosOfType(type).length === 1 && !!getIndexInfoOfType(type, numberType); - } - function isForInVariableForNumericPropertyNames(expr) { - const e = skipParentheses(expr); - if (e.kind === 80 /* Identifier */) { - const symbol = getResolvedSymbol(e); - if (symbol.flags & 3 /* Variable */) { - let child = expr; - let node = expr.parent; - while (node) { - if (node.kind === 249 /* ForInStatement */ && child === node.statement && getForInVariableSymbol(node) === symbol && hasNumericPropertyNames(getTypeOfExpression(node.expression))) { - return true; - } - child = node; - node = node.parent; - } - } - } - return false; - } - function checkIndexedAccess(node, checkMode) { - return node.flags & 64 /* OptionalChain */ ? checkElementAccessChain(node, checkMode) : checkElementAccessExpression(node, checkNonNullExpression(node.expression), checkMode); - } - function checkElementAccessChain(node, checkMode) { - const exprType = checkExpression(node.expression); - const nonOptionalType = getOptionalExpressionType(exprType, node.expression); - return propagateOptionalTypeMarker(checkElementAccessExpression(node, checkNonNullType(nonOptionalType, node.expression), checkMode), node, nonOptionalType !== exprType); - } - function checkElementAccessExpression(node, exprType, checkMode) { - const objectType = getAssignmentTargetKind(node) !== 0 /* None */ || isMethodAccessForCall(node) ? getWidenedType(exprType) : exprType; - const indexExpression = node.argumentExpression; - const indexType = checkExpression(indexExpression); - if (isErrorType(objectType) || objectType === silentNeverType) { - return objectType; - } - if (isConstEnumObjectType(objectType) && !isStringLiteralLike(indexExpression)) { - error(indexExpression, Diagnostics.A_const_enum_member_can_only_be_accessed_using_a_string_literal); - return errorType; - } - const effectiveIndexType = isForInVariableForNumericPropertyNames(indexExpression) ? numberType : indexType; - const assignmentTargetKind = getAssignmentTargetKind(node); - let accessFlags; - if (assignmentTargetKind === 0 /* None */) { - accessFlags = 32 /* ExpressionPosition */; - } else { - accessFlags = 4 /* Writing */ | (isGenericObjectType(objectType) && !isThisTypeParameter(objectType) ? 2 /* NoIndexSignatures */ : 0); - if (assignmentTargetKind === 2 /* Compound */) { - accessFlags |= 32 /* ExpressionPosition */; - } - } - const indexedAccessType = getIndexedAccessTypeOrUndefined(objectType, effectiveIndexType, accessFlags, node) || errorType; - return checkIndexedAccessIndexType(getFlowTypeOfAccessExpression(node, getNodeLinks(node).resolvedSymbol, indexedAccessType, indexExpression, checkMode), node); - } - function callLikeExpressionMayHaveTypeArguments(node) { - return isCallOrNewExpression(node) || isTaggedTemplateExpression(node) || isJsxOpeningLikeElement(node); - } - function resolveUntypedCall(node) { - if (callLikeExpressionMayHaveTypeArguments(node)) { - forEach(node.typeArguments, checkSourceElement); - } - if (node.kind === 215 /* TaggedTemplateExpression */) { - checkExpression(node.template); - } else if (isJsxOpeningLikeElement(node)) { - checkExpression(node.attributes); - } else if (isBinaryExpression(node)) { - checkExpression(node.left); - } else if (isCallOrNewExpression(node)) { - forEach(node.arguments, (argument) => { - checkExpression(argument); - }); - } - return anySignature; - } - function resolveErrorCall(node) { - resolveUntypedCall(node); - return unknownSignature; - } - function reorderCandidates(signatures, result, callChainFlags) { - let lastParent; - let lastSymbol; - let cutoffIndex = 0; - let index; - let specializedIndex = -1; - let spliceIndex; - Debug.assert(!result.length); - for (const signature of signatures) { - const symbol = signature.declaration && getSymbolOfDeclaration(signature.declaration); - const parent = signature.declaration && signature.declaration.parent; - if (!lastSymbol || symbol === lastSymbol) { - if (lastParent && parent === lastParent) { - index = index + 1; - } else { - lastParent = parent; - index = cutoffIndex; - } - } else { - index = cutoffIndex = result.length; - lastParent = parent; - } - lastSymbol = symbol; - if (signatureHasLiteralTypes(signature)) { - specializedIndex++; - spliceIndex = specializedIndex; - cutoffIndex++; - } else { - spliceIndex = index; - } - result.splice(spliceIndex, 0, callChainFlags ? getOptionalCallSignature(signature, callChainFlags) : signature); - } - } - function isSpreadArgument(arg) { - return !!arg && (arg.kind === 230 /* SpreadElement */ || arg.kind === 237 /* SyntheticExpression */ && arg.isSpread); - } - function getSpreadArgumentIndex(args) { - return findIndex(args, isSpreadArgument); - } - function acceptsVoid(t) { - return !!(t.flags & 16384 /* Void */); - } - function acceptsVoidUndefinedUnknownOrAny(t) { - return !!(t.flags & (16384 /* Void */ | 32768 /* Undefined */ | 2 /* Unknown */ | 1 /* Any */)); - } - function hasCorrectArity(node, args, signature, signatureHelpTrailingComma = false) { - let argCount; - let callIsIncomplete = false; - let effectiveParameterCount = getParameterCount(signature); - let effectiveMinimumArguments = getMinArgumentCount(signature); - if (node.kind === 215 /* TaggedTemplateExpression */) { - argCount = args.length; - if (node.template.kind === 228 /* TemplateExpression */) { - const lastSpan = last(node.template.templateSpans); - callIsIncomplete = nodeIsMissing(lastSpan.literal) || !!lastSpan.literal.isUnterminated; - } else { - const templateLiteral = node.template; - Debug.assert(templateLiteral.kind === 15 /* NoSubstitutionTemplateLiteral */); - callIsIncomplete = !!templateLiteral.isUnterminated; - } - } else if (node.kind === 170 /* Decorator */) { - argCount = getDecoratorArgumentCount(node, signature); - } else if (node.kind === 226 /* BinaryExpression */) { - argCount = 1; - } else if (isJsxOpeningLikeElement(node)) { - callIsIncomplete = node.attributes.end === node.end; - if (callIsIncomplete) { - return true; - } - argCount = effectiveMinimumArguments === 0 ? args.length : 1; - effectiveParameterCount = args.length === 0 ? effectiveParameterCount : 1; - effectiveMinimumArguments = Math.min(effectiveMinimumArguments, 1); - } else if (!node.arguments) { - Debug.assert(node.kind === 214 /* NewExpression */); - return getMinArgumentCount(signature) === 0; - } else { - argCount = signatureHelpTrailingComma ? args.length + 1 : args.length; - callIsIncomplete = node.arguments.end === node.end; - const spreadArgIndex = getSpreadArgumentIndex(args); - if (spreadArgIndex >= 0) { - return spreadArgIndex >= getMinArgumentCount(signature) && (hasEffectiveRestParameter(signature) || spreadArgIndex < getParameterCount(signature)); - } - } - if (!hasEffectiveRestParameter(signature) && argCount > effectiveParameterCount) { - return false; - } - if (callIsIncomplete || argCount >= effectiveMinimumArguments) { - return true; - } - for (let i = argCount; i < effectiveMinimumArguments; i++) { - const type = getTypeAtPosition(signature, i); - if (filterType(type, isInJSFile(node) && !strictNullChecks ? acceptsVoidUndefinedUnknownOrAny : acceptsVoid).flags & 131072 /* Never */) { - return false; - } - } - return true; - } - function hasCorrectTypeArgumentArity(signature, typeArguments) { - const numTypeParameters = length(signature.typeParameters); - const minTypeArgumentCount = getMinTypeArgumentCount(signature.typeParameters); - return !some(typeArguments) || typeArguments.length >= minTypeArgumentCount && typeArguments.length <= numTypeParameters; - } - function isInstantiatedGenericParameter(signature, pos) { - let type; - return !!(signature.target && (type = tryGetTypeAtPosition(signature.target, pos)) && isGenericType(type)); - } - function getSingleCallSignature(type) { - return getSingleSignature( - type, - 0 /* Call */, - /*allowMembers*/ - false - ); - } - function getSingleCallOrConstructSignature(type) { - return getSingleSignature( - type, - 0 /* Call */, - /*allowMembers*/ - false - ) || getSingleSignature( - type, - 1 /* Construct */, - /*allowMembers*/ - false - ); - } - function getSingleSignature(type, kind, allowMembers) { - if (type.flags & 524288 /* Object */) { - const resolved = resolveStructuredTypeMembers(type); - if (allowMembers || resolved.properties.length === 0 && resolved.indexInfos.length === 0) { - if (kind === 0 /* Call */ && resolved.callSignatures.length === 1 && resolved.constructSignatures.length === 0) { - return resolved.callSignatures[0]; - } - if (kind === 1 /* Construct */ && resolved.constructSignatures.length === 1 && resolved.callSignatures.length === 0) { - return resolved.constructSignatures[0]; - } - } - } - return void 0; - } - function instantiateSignatureInContextOf(signature, contextualSignature, inferenceContext, compareTypes) { - const context = createInferenceContext(getTypeParametersForMapper(signature), signature, 0 /* None */, compareTypes); - const restType = getEffectiveRestType(contextualSignature); - const mapper = inferenceContext && (restType && restType.flags & 262144 /* TypeParameter */ ? inferenceContext.nonFixingMapper : inferenceContext.mapper); - const sourceSignature = mapper ? instantiateSignature(contextualSignature, mapper) : contextualSignature; - applyToParameterTypes(sourceSignature, signature, (source, target) => { - inferTypes(context.inferences, source, target); - }); - if (!inferenceContext) { - applyToReturnTypes(contextualSignature, signature, (source, target) => { - inferTypes(context.inferences, source, target, 128 /* ReturnType */); - }); - } - return getSignatureInstantiation(signature, getInferredTypes(context), isInJSFile(contextualSignature.declaration)); - } - function inferJsxTypeArguments(node, signature, checkMode, context) { - const paramType = getEffectiveFirstArgumentForJsxSignature(signature, node); - const checkAttrType = checkExpressionWithContextualType(node.attributes, paramType, context, checkMode); - inferTypes(context.inferences, checkAttrType, paramType); - return getInferredTypes(context); - } - function getThisArgumentType(thisArgumentNode) { - if (!thisArgumentNode) { - return voidType; - } - const thisArgumentType = checkExpression(thisArgumentNode); - return isRightSideOfInstanceofExpression(thisArgumentNode) ? thisArgumentType : isOptionalChainRoot(thisArgumentNode.parent) ? getNonNullableType(thisArgumentType) : isOptionalChain(thisArgumentNode.parent) ? removeOptionalTypeMarker(thisArgumentType) : thisArgumentType; - } - function inferTypeArguments(node, signature, args, checkMode, context) { - if (isJsxOpeningLikeElement(node)) { - return inferJsxTypeArguments(node, signature, checkMode, context); - } - if (node.kind !== 170 /* Decorator */ && node.kind !== 226 /* BinaryExpression */) { - const skipBindingPatterns = every(signature.typeParameters, (p) => !!getDefaultFromTypeParameter(p)); - const contextualType = getContextualType(node, skipBindingPatterns ? 8 /* SkipBindingPatterns */ : 0 /* None */); - if (contextualType) { - const inferenceTargetType = getReturnTypeOfSignature(signature); - if (couldContainTypeVariables(inferenceTargetType)) { - const outerContext = getInferenceContext(node); - const isFromBindingPattern = !skipBindingPatterns && getContextualType(node, 8 /* SkipBindingPatterns */) !== contextualType; - if (!isFromBindingPattern) { - const outerMapper = getMapperFromContext(cloneInferenceContext(outerContext, 1 /* NoDefault */)); - const instantiatedType = instantiateType(contextualType, outerMapper); - const contextualSignature = getSingleCallSignature(instantiatedType); - const inferenceSourceType = contextualSignature && contextualSignature.typeParameters ? getOrCreateTypeFromSignature(getSignatureInstantiationWithoutFillingInTypeArguments(contextualSignature, contextualSignature.typeParameters)) : instantiatedType; - inferTypes(context.inferences, inferenceSourceType, inferenceTargetType, 128 /* ReturnType */); - } - const returnContext = createInferenceContext(signature.typeParameters, signature, context.flags); - const returnSourceType = instantiateType(contextualType, outerContext && outerContext.returnMapper); - inferTypes(returnContext.inferences, returnSourceType, inferenceTargetType); - context.returnMapper = some(returnContext.inferences, hasInferenceCandidates) ? getMapperFromContext(cloneInferredPartOfContext(returnContext)) : void 0; - } - } - } - const restType = getNonArrayRestType(signature); - const argCount = restType ? Math.min(getParameterCount(signature) - 1, args.length) : args.length; - if (restType && restType.flags & 262144 /* TypeParameter */) { - const info = find(context.inferences, (info2) => info2.typeParameter === restType); - if (info) { - info.impliedArity = findIndex(args, isSpreadArgument, argCount) < 0 ? args.length - argCount : void 0; - } - } - const thisType = getThisTypeOfSignature(signature); - if (thisType && couldContainTypeVariables(thisType)) { - const thisArgumentNode = getThisArgumentOfCall(node); - inferTypes(context.inferences, getThisArgumentType(thisArgumentNode), thisType); - } - for (let i = 0; i < argCount; i++) { - const arg = args[i]; - if (arg.kind !== 232 /* OmittedExpression */) { - const paramType = getTypeAtPosition(signature, i); - if (couldContainTypeVariables(paramType)) { - const argType = checkExpressionWithContextualType(arg, paramType, context, checkMode); - inferTypes(context.inferences, argType, paramType); - } - } - } - if (restType && couldContainTypeVariables(restType)) { - const spreadType = getSpreadArgumentType(args, argCount, args.length, restType, context, checkMode); - inferTypes(context.inferences, spreadType, restType); - } - return getInferredTypes(context); - } - function getMutableArrayOrTupleType(type) { - return type.flags & 1048576 /* Union */ ? mapType(type, getMutableArrayOrTupleType) : type.flags & 1 /* Any */ || isMutableArrayOrTuple(getBaseConstraintOfType(type) || type) ? type : isTupleType(type) ? createTupleType( - getElementTypes(type), - type.target.elementFlags, - /*readonly*/ - false, - type.target.labeledElementDeclarations - ) : createTupleType([type], [8 /* Variadic */]); - } - function getSpreadArgumentType(args, index, argCount, restType, context, checkMode) { - const inConstContext = isConstTypeVariable(restType); - if (index >= argCount - 1) { - const arg = args[argCount - 1]; - if (isSpreadArgument(arg)) { - const spreadType = arg.kind === 237 /* SyntheticExpression */ ? arg.type : checkExpressionWithContextualType(arg.expression, restType, context, checkMode); - if (isArrayLikeType(spreadType)) { - return getMutableArrayOrTupleType(spreadType); - } - return createArrayType(checkIteratedTypeOrElementType(33 /* Spread */, spreadType, undefinedType, arg.kind === 230 /* SpreadElement */ ? arg.expression : arg), inConstContext); - } - } - const types = []; - const flags = []; - const names = []; - for (let i = index; i < argCount; i++) { - const arg = args[i]; - if (isSpreadArgument(arg)) { - const spreadType = arg.kind === 237 /* SyntheticExpression */ ? arg.type : checkExpression(arg.expression); - if (isArrayLikeType(spreadType)) { - types.push(spreadType); - flags.push(8 /* Variadic */); - } else { - types.push(checkIteratedTypeOrElementType(33 /* Spread */, spreadType, undefinedType, arg.kind === 230 /* SpreadElement */ ? arg.expression : arg)); - flags.push(4 /* Rest */); - } - } else { - const contextualType = isTupleType(restType) ? getContextualTypeForElementExpression(restType, i - index, argCount - index) || unknownType : getIndexedAccessType(restType, getNumberLiteralType(i - index), 256 /* Contextual */); - const argType = checkExpressionWithContextualType(arg, contextualType, context, checkMode); - const hasPrimitiveContextualType = inConstContext || maybeTypeOfKind(contextualType, 402784252 /* Primitive */ | 4194304 /* Index */ | 134217728 /* TemplateLiteral */ | 268435456 /* StringMapping */); - types.push(hasPrimitiveContextualType ? getRegularTypeOfLiteralType(argType) : getWidenedLiteralType(argType)); - flags.push(1 /* Required */); - } - if (arg.kind === 237 /* SyntheticExpression */ && arg.tupleNameSource) { - names.push(arg.tupleNameSource); - } else { - names.push(void 0); - } - } - return createTupleType(types, flags, inConstContext && !someType(restType, isMutableArrayLikeType), names); - } - function checkTypeArguments(signature, typeArgumentNodes, reportErrors2, headMessage) { - const isJavascript = isInJSFile(signature.declaration); - const typeParameters = signature.typeParameters; - const typeArgumentTypes = fillMissingTypeArguments(map(typeArgumentNodes, getTypeFromTypeNode), typeParameters, getMinTypeArgumentCount(typeParameters), isJavascript); - let mapper; - for (let i = 0; i < typeArgumentNodes.length; i++) { - Debug.assert(typeParameters[i] !== void 0, "Should not call checkTypeArguments with too many type arguments"); - const constraint = getConstraintOfTypeParameter(typeParameters[i]); - if (constraint) { - const errorInfo = reportErrors2 && headMessage ? () => chainDiagnosticMessages( - /*details*/ - void 0, - Diagnostics.Type_0_does_not_satisfy_the_constraint_1 - ) : void 0; - const typeArgumentHeadMessage = headMessage || Diagnostics.Type_0_does_not_satisfy_the_constraint_1; - if (!mapper) { - mapper = createTypeMapper(typeParameters, typeArgumentTypes); - } - const typeArgument = typeArgumentTypes[i]; - if (!checkTypeAssignableTo( - typeArgument, - getTypeWithThisArgument(instantiateType(constraint, mapper), typeArgument), - reportErrors2 ? typeArgumentNodes[i] : void 0, - typeArgumentHeadMessage, - errorInfo - )) { - return void 0; - } - } - } - return typeArgumentTypes; - } - function getJsxReferenceKind(node) { - if (isJsxIntrinsicTagName(node.tagName)) { - return 2 /* Mixed */; - } - const tagType = getApparentType(checkExpression(node.tagName)); - if (length(getSignaturesOfType(tagType, 1 /* Construct */))) { - return 0 /* Component */; - } - if (length(getSignaturesOfType(tagType, 0 /* Call */))) { - return 1 /* Function */; - } - return 2 /* Mixed */; - } - function checkApplicableSignatureForJsxOpeningLikeElement(node, signature, relation, checkMode, reportErrors2, containingMessageChain, errorOutputContainer) { - const paramType = getEffectiveFirstArgumentForJsxSignature(signature, node); - const attributesType = checkExpressionWithContextualType( - node.attributes, - paramType, - /*inferenceContext*/ - void 0, - checkMode - ); - const checkAttributesType = checkMode & 4 /* SkipContextSensitive */ ? getRegularTypeOfObjectLiteral(attributesType) : attributesType; - return checkTagNameDoesNotExpectTooManyArguments() && checkTypeRelatedToAndOptionallyElaborate( - checkAttributesType, - paramType, - relation, - reportErrors2 ? node.tagName : void 0, - node.attributes, - /*headMessage*/ - void 0, - containingMessageChain, - errorOutputContainer - ); - function checkTagNameDoesNotExpectTooManyArguments() { - var _a; - if (getJsxNamespaceContainerForImplicitImport(node)) { - return true; - } - const tagType = (isJsxOpeningElement(node) || isJsxSelfClosingElement(node)) && !(isJsxIntrinsicTagName(node.tagName) || isJsxNamespacedName(node.tagName)) ? checkExpression(node.tagName) : void 0; - if (!tagType) { - return true; - } - const tagCallSignatures = getSignaturesOfType(tagType, 0 /* Call */); - if (!length(tagCallSignatures)) { - return true; - } - const factory2 = getJsxFactoryEntity(node); - if (!factory2) { - return true; - } - const factorySymbol = resolveEntityName( - factory2, - 111551 /* Value */, - /*ignoreErrors*/ - true, - /*dontResolveAlias*/ - false, - node - ); - if (!factorySymbol) { - return true; - } - const factoryType = getTypeOfSymbol(factorySymbol); - const callSignatures = getSignaturesOfType(factoryType, 0 /* Call */); - if (!length(callSignatures)) { - return true; - } - let hasFirstParamSignatures = false; - let maxParamCount = 0; - for (const sig of callSignatures) { - const firstparam = getTypeAtPosition(sig, 0); - const signaturesOfParam = getSignaturesOfType(firstparam, 0 /* Call */); - if (!length(signaturesOfParam)) continue; - for (const paramSig of signaturesOfParam) { - hasFirstParamSignatures = true; - if (hasEffectiveRestParameter(paramSig)) { - return true; - } - const paramCount = getParameterCount(paramSig); - if (paramCount > maxParamCount) { - maxParamCount = paramCount; - } - } - } - if (!hasFirstParamSignatures) { - return true; - } - let absoluteMinArgCount = Infinity; - for (const tagSig of tagCallSignatures) { - const tagRequiredArgCount = getMinArgumentCount(tagSig); - if (tagRequiredArgCount < absoluteMinArgCount) { - absoluteMinArgCount = tagRequiredArgCount; - } - } - if (absoluteMinArgCount <= maxParamCount) { - return true; - } - if (reportErrors2) { - const diag2 = createDiagnosticForNode(node.tagName, Diagnostics.Tag_0_expects_at_least_1_arguments_but_the_JSX_factory_2_provides_at_most_3, entityNameToString(node.tagName), absoluteMinArgCount, entityNameToString(factory2), maxParamCount); - const tagNameDeclaration = (_a = getSymbolAtLocation(node.tagName)) == null ? void 0 : _a.valueDeclaration; - if (tagNameDeclaration) { - addRelatedInfo(diag2, createDiagnosticForNode(tagNameDeclaration, Diagnostics._0_is_declared_here, entityNameToString(node.tagName))); - } - if (errorOutputContainer && errorOutputContainer.skipLogging) { - (errorOutputContainer.errors || (errorOutputContainer.errors = [])).push(diag2); - } - if (!errorOutputContainer.skipLogging) { - diagnostics.add(diag2); - } - } - return false; - } - } - function getEffectiveCheckNode(argument) { - argument = skipParentheses(argument); - return isSatisfiesExpression(argument) ? skipParentheses(argument.expression) : argument; - } - function getSignatureApplicabilityError(node, args, signature, relation, checkMode, reportErrors2, containingMessageChain, inferenceContext) { - const errorOutputContainer = { errors: void 0, skipLogging: true }; - if (isJsxOpeningLikeElement(node)) { - if (!checkApplicableSignatureForJsxOpeningLikeElement(node, signature, relation, checkMode, reportErrors2, containingMessageChain, errorOutputContainer)) { - Debug.assert(!reportErrors2 || !!errorOutputContainer.errors, "jsx should have errors when reporting errors"); - return errorOutputContainer.errors || emptyArray; - } - return void 0; - } - const thisType = getThisTypeOfSignature(signature); - if (thisType && thisType !== voidType && !(isNewExpression(node) || isCallExpression(node) && isSuperProperty(node.expression))) { - const thisArgumentNode = getThisArgumentOfCall(node); - const thisArgumentType = getThisArgumentType(thisArgumentNode); - const errorNode = reportErrors2 ? thisArgumentNode || node : void 0; - const headMessage2 = Diagnostics.The_this_context_of_type_0_is_not_assignable_to_method_s_this_of_type_1; - if (!checkTypeRelatedTo(thisArgumentType, thisType, relation, errorNode, headMessage2, containingMessageChain, errorOutputContainer)) { - Debug.assert(!reportErrors2 || !!errorOutputContainer.errors, "this parameter should have errors when reporting errors"); - return errorOutputContainer.errors || emptyArray; - } - } - const headMessage = Diagnostics.Argument_of_type_0_is_not_assignable_to_parameter_of_type_1; - const restType = getNonArrayRestType(signature); - const argCount = restType ? Math.min(getParameterCount(signature) - 1, args.length) : args.length; - for (let i = 0; i < argCount; i++) { - const arg = args[i]; - if (arg.kind !== 232 /* OmittedExpression */) { - const paramType = getTypeAtPosition(signature, i); - const argType = checkExpressionWithContextualType( - arg, - paramType, - /*inferenceContext*/ - void 0, - checkMode - ); - const regularArgType = checkMode & 4 /* SkipContextSensitive */ ? getRegularTypeOfObjectLiteral(argType) : argType; - const checkArgType = inferenceContext ? instantiateType(regularArgType, inferenceContext.nonFixingMapper) : regularArgType; - const effectiveCheckArgumentNode = getEffectiveCheckNode(arg); - if (!checkTypeRelatedToAndOptionallyElaborate(checkArgType, paramType, relation, reportErrors2 ? effectiveCheckArgumentNode : void 0, effectiveCheckArgumentNode, headMessage, containingMessageChain, errorOutputContainer)) { - Debug.assert(!reportErrors2 || !!errorOutputContainer.errors, "parameter should have errors when reporting errors"); - maybeAddMissingAwaitInfo(arg, checkArgType, paramType); - return errorOutputContainer.errors || emptyArray; - } - } - } - if (restType) { - const spreadType = getSpreadArgumentType( - args, - argCount, - args.length, - restType, - /*context*/ - void 0, - checkMode - ); - const restArgCount = args.length - argCount; - const errorNode = !reportErrors2 ? void 0 : restArgCount === 0 ? node : restArgCount === 1 ? getEffectiveCheckNode(args[argCount]) : setTextRangePosEnd(createSyntheticExpression(node, spreadType), args[argCount].pos, args[args.length - 1].end); - if (!checkTypeRelatedTo( - spreadType, - restType, - relation, - errorNode, - headMessage, - /*containingMessageChain*/ - void 0, - errorOutputContainer - )) { - Debug.assert(!reportErrors2 || !!errorOutputContainer.errors, "rest parameter should have errors when reporting errors"); - maybeAddMissingAwaitInfo(errorNode, spreadType, restType); - return errorOutputContainer.errors || emptyArray; - } - } - return void 0; - function maybeAddMissingAwaitInfo(errorNode, source, target) { - if (errorNode && reportErrors2 && errorOutputContainer.errors && errorOutputContainer.errors.length) { - if (getAwaitedTypeOfPromise(target)) { - return; - } - const awaitedTypeOfSource = getAwaitedTypeOfPromise(source); - if (awaitedTypeOfSource && isTypeRelatedTo(awaitedTypeOfSource, target, relation)) { - addRelatedInfo(errorOutputContainer.errors[0], createDiagnosticForNode(errorNode, Diagnostics.Did_you_forget_to_use_await)); - } - } - } - } - function getThisArgumentOfCall(node) { - if (node.kind === 226 /* BinaryExpression */) { - return node.right; - } - const expression = node.kind === 213 /* CallExpression */ ? node.expression : node.kind === 215 /* TaggedTemplateExpression */ ? node.tag : node.kind === 170 /* Decorator */ && !legacyDecorators ? node.expression : void 0; - if (expression) { - const callee = skipOuterExpressions(expression); - if (isAccessExpression(callee)) { - return callee.expression; - } - } - } - function createSyntheticExpression(parent, type, isSpread, tupleNameSource) { - const result = parseNodeFactory.createSyntheticExpression(type, isSpread, tupleNameSource); - setTextRange(result, parent); - setParent(result, parent); - return result; - } - function getEffectiveCallArguments(node) { - if (node.kind === 215 /* TaggedTemplateExpression */) { - const template = node.template; - const args2 = [createSyntheticExpression(template, getGlobalTemplateStringsArrayType())]; - if (template.kind === 228 /* TemplateExpression */) { - forEach(template.templateSpans, (span) => { - args2.push(span.expression); - }); - } - return args2; - } - if (node.kind === 170 /* Decorator */) { - return getEffectiveDecoratorArguments(node); - } - if (node.kind === 226 /* BinaryExpression */) { - return [node.left]; - } - if (isJsxOpeningLikeElement(node)) { - return node.attributes.properties.length > 0 || isJsxOpeningElement(node) && node.parent.children.length > 0 ? [node.attributes] : emptyArray; - } - const args = node.arguments || emptyArray; - const spreadIndex = getSpreadArgumentIndex(args); - if (spreadIndex >= 0) { - const effectiveArgs = args.slice(0, spreadIndex); - for (let i = spreadIndex; i < args.length; i++) { - const arg = args[i]; - const spreadType = arg.kind === 230 /* SpreadElement */ && (flowLoopCount ? checkExpression(arg.expression) : checkExpressionCached(arg.expression)); - if (spreadType && isTupleType(spreadType)) { - forEach(getElementTypes(spreadType), (t, i2) => { - var _a; - const flags = spreadType.target.elementFlags[i2]; - const syntheticArg = createSyntheticExpression(arg, flags & 4 /* Rest */ ? createArrayType(t) : t, !!(flags & 12 /* Variable */), (_a = spreadType.target.labeledElementDeclarations) == null ? void 0 : _a[i2]); - effectiveArgs.push(syntheticArg); - }); - } else { - effectiveArgs.push(arg); - } - } - return effectiveArgs; - } - return args; - } - function getEffectiveDecoratorArguments(node) { - const expr = node.expression; - const signature = getDecoratorCallSignature(node); - if (signature) { - const args = []; - for (const param of signature.parameters) { - const type = getTypeOfSymbol(param); - args.push(createSyntheticExpression(expr, type)); - } - return args; - } - return Debug.fail(); - } - function getDecoratorArgumentCount(node, signature) { - return compilerOptions.experimentalDecorators ? getLegacyDecoratorArgumentCount(node, signature) : ( - // Allow the runtime to oversupply arguments to an ES decorator as long as there's at least one parameter. - Math.min(Math.max(getParameterCount(signature), 1), 2) - ); - } - function getLegacyDecoratorArgumentCount(node, signature) { - switch (node.parent.kind) { - case 263 /* ClassDeclaration */: - case 231 /* ClassExpression */: - return 1; - case 172 /* PropertyDeclaration */: - return hasAccessorModifier(node.parent) ? 3 : 2; - case 174 /* MethodDeclaration */: - case 177 /* GetAccessor */: - case 178 /* SetAccessor */: - return signature.parameters.length <= 2 ? 2 : 3; - case 169 /* Parameter */: - return 3; - default: - return Debug.fail(); - } - } - function getDiagnosticSpanForCallNode(node) { - const sourceFile = getSourceFileOfNode(node); - const { start, length: length2 } = getErrorSpanForNode(sourceFile, isPropertyAccessExpression(node.expression) ? node.expression.name : node.expression); - return { start, length: length2, sourceFile }; - } - function getDiagnosticForCallNode(node, message, ...args) { - if (isCallExpression(node)) { - const { sourceFile, start, length: length2 } = getDiagnosticSpanForCallNode(node); - if ("message" in message) { - return createFileDiagnostic(sourceFile, start, length2, message, ...args); - } - return createDiagnosticForFileFromMessageChain(sourceFile, message); - } else { - if ("message" in message) { - return createDiagnosticForNode(node, message, ...args); - } - return createDiagnosticForNodeFromMessageChain(getSourceFileOfNode(node), node, message); - } - } - function getErrorNodeForCallNode(callLike) { - if (isCallOrNewExpression(callLike)) { - return isPropertyAccessExpression(callLike.expression) ? callLike.expression.name : callLike.expression; - } - if (isTaggedTemplateExpression(callLike)) { - return isPropertyAccessExpression(callLike.tag) ? callLike.tag.name : callLike.tag; - } - if (isJsxOpeningLikeElement(callLike)) { - return callLike.tagName; - } - return callLike; - } - function isPromiseResolveArityError(node) { - if (!isCallExpression(node) || !isIdentifier(node.expression)) return false; - const symbol = resolveName( - node.expression, - node.expression.escapedText, - 111551 /* Value */, - /*nameNotFoundMessage*/ - void 0, - /*isUse*/ - false - ); - const decl = symbol == null ? void 0 : symbol.valueDeclaration; - if (!decl || !isParameter(decl) || !isFunctionExpressionOrArrowFunction(decl.parent) || !isNewExpression(decl.parent.parent) || !isIdentifier(decl.parent.parent.expression)) { - return false; - } - const globalPromiseSymbol = getGlobalPromiseConstructorSymbol( - /*reportErrors*/ - false - ); - if (!globalPromiseSymbol) return false; - const constructorSymbol = getSymbolAtLocation( - decl.parent.parent.expression, - /*ignoreErrors*/ - true - ); - return constructorSymbol === globalPromiseSymbol; - } - function getArgumentArityError(node, signatures, args, headMessage) { - var _a; - const spreadIndex = getSpreadArgumentIndex(args); - if (spreadIndex > -1) { - return createDiagnosticForNode(args[spreadIndex], Diagnostics.A_spread_argument_must_either_have_a_tuple_type_or_be_passed_to_a_rest_parameter); - } - let min2 = Number.POSITIVE_INFINITY; - let max = Number.NEGATIVE_INFINITY; - let maxBelow = Number.NEGATIVE_INFINITY; - let minAbove = Number.POSITIVE_INFINITY; - let closestSignature; - for (const sig of signatures) { - const minParameter = getMinArgumentCount(sig); - const maxParameter = getParameterCount(sig); - if (minParameter < min2) { - min2 = minParameter; - closestSignature = sig; - } - max = Math.max(max, maxParameter); - if (minParameter < args.length && minParameter > maxBelow) maxBelow = minParameter; - if (args.length < maxParameter && maxParameter < minAbove) minAbove = maxParameter; - } - const hasRestParameter2 = some(signatures, hasEffectiveRestParameter); - const parameterRange = hasRestParameter2 ? min2 : min2 < max ? min2 + "-" + max : min2; - const isVoidPromiseError = !hasRestParameter2 && parameterRange === 1 && args.length === 0 && isPromiseResolveArityError(node); - if (isVoidPromiseError && isInJSFile(node)) { - return getDiagnosticForCallNode(node, Diagnostics.Expected_1_argument_but_got_0_new_Promise_needs_a_JSDoc_hint_to_produce_a_resolve_that_can_be_called_without_arguments); - } - const error2 = isDecorator(node) ? hasRestParameter2 ? Diagnostics.The_runtime_will_invoke_the_decorator_with_1_arguments_but_the_decorator_expects_at_least_0 : Diagnostics.The_runtime_will_invoke_the_decorator_with_1_arguments_but_the_decorator_expects_0 : hasRestParameter2 ? Diagnostics.Expected_at_least_0_arguments_but_got_1 : isVoidPromiseError ? Diagnostics.Expected_0_arguments_but_got_1_Did_you_forget_to_include_void_in_your_type_argument_to_Promise : Diagnostics.Expected_0_arguments_but_got_1; - if (min2 < args.length && args.length < max) { - if (headMessage) { - let chain = chainDiagnosticMessages( - /*details*/ - void 0, - Diagnostics.No_overload_expects_0_arguments_but_overloads_do_exist_that_expect_either_1_or_2_arguments, - args.length, - maxBelow, - minAbove - ); - chain = chainDiagnosticMessages(chain, headMessage); - return getDiagnosticForCallNode(node, chain); - } - return getDiagnosticForCallNode(node, Diagnostics.No_overload_expects_0_arguments_but_overloads_do_exist_that_expect_either_1_or_2_arguments, args.length, maxBelow, minAbove); - } else if (args.length < min2) { - let diagnostic; - if (headMessage) { - let chain = chainDiagnosticMessages( - /*details*/ - void 0, - error2, - parameterRange, - args.length - ); - chain = chainDiagnosticMessages(chain, headMessage); - diagnostic = getDiagnosticForCallNode(node, chain); - } else { - diagnostic = getDiagnosticForCallNode(node, error2, parameterRange, args.length); - } - const parameter = (_a = closestSignature == null ? void 0 : closestSignature.declaration) == null ? void 0 : _a.parameters[closestSignature.thisParameter ? args.length + 1 : args.length]; - if (parameter) { - const messageAndArgs = isBindingPattern(parameter.name) ? [Diagnostics.An_argument_matching_this_binding_pattern_was_not_provided] : isRestParameter(parameter) ? [Diagnostics.Arguments_for_the_rest_parameter_0_were_not_provided, idText(getFirstIdentifier(parameter.name))] : [Diagnostics.An_argument_for_0_was_not_provided, !parameter.name ? args.length : idText(getFirstIdentifier(parameter.name))]; - const parameterError = createDiagnosticForNode(parameter, ...messageAndArgs); - return addRelatedInfo(diagnostic, parameterError); - } - return diagnostic; - } else { - const errorSpan = factory.createNodeArray(args.slice(max)); - const pos = first(errorSpan).pos; - let end = last(errorSpan).end; - if (end === pos) { - end++; - } - setTextRangePosEnd(errorSpan, pos, end); - if (headMessage) { - let chain = chainDiagnosticMessages( - /*details*/ - void 0, - error2, - parameterRange, - args.length - ); - chain = chainDiagnosticMessages(chain, headMessage); - return createDiagnosticForNodeArrayFromMessageChain(getSourceFileOfNode(node), errorSpan, chain); - } - return createDiagnosticForNodeArray(getSourceFileOfNode(node), errorSpan, error2, parameterRange, args.length); - } - } - function getTypeArgumentArityError(node, signatures, typeArguments, headMessage) { - const argCount = typeArguments.length; - if (signatures.length === 1) { - const sig = signatures[0]; - const min2 = getMinTypeArgumentCount(sig.typeParameters); - const max = length(sig.typeParameters); - if (headMessage) { - let chain = chainDiagnosticMessages( - /*details*/ - void 0, - Diagnostics.Expected_0_type_arguments_but_got_1, - min2 < max ? min2 + "-" + max : min2, - argCount - ); - chain = chainDiagnosticMessages(chain, headMessage); - return createDiagnosticForNodeArrayFromMessageChain(getSourceFileOfNode(node), typeArguments, chain); - } - return createDiagnosticForNodeArray(getSourceFileOfNode(node), typeArguments, Diagnostics.Expected_0_type_arguments_but_got_1, min2 < max ? min2 + "-" + max : min2, argCount); - } - let belowArgCount = -Infinity; - let aboveArgCount = Infinity; - for (const sig of signatures) { - const min2 = getMinTypeArgumentCount(sig.typeParameters); - const max = length(sig.typeParameters); - if (min2 > argCount) { - aboveArgCount = Math.min(aboveArgCount, min2); - } else if (max < argCount) { - belowArgCount = Math.max(belowArgCount, max); - } - } - if (belowArgCount !== -Infinity && aboveArgCount !== Infinity) { - if (headMessage) { - let chain = chainDiagnosticMessages( - /*details*/ - void 0, - Diagnostics.No_overload_expects_0_type_arguments_but_overloads_do_exist_that_expect_either_1_or_2_type_arguments, - argCount, - belowArgCount, - aboveArgCount - ); - chain = chainDiagnosticMessages(chain, headMessage); - return createDiagnosticForNodeArrayFromMessageChain(getSourceFileOfNode(node), typeArguments, chain); - } - return createDiagnosticForNodeArray(getSourceFileOfNode(node), typeArguments, Diagnostics.No_overload_expects_0_type_arguments_but_overloads_do_exist_that_expect_either_1_or_2_type_arguments, argCount, belowArgCount, aboveArgCount); - } - if (headMessage) { - let chain = chainDiagnosticMessages( - /*details*/ - void 0, - Diagnostics.Expected_0_type_arguments_but_got_1, - belowArgCount === -Infinity ? aboveArgCount : belowArgCount, - argCount - ); - chain = chainDiagnosticMessages(chain, headMessage); - return createDiagnosticForNodeArrayFromMessageChain(getSourceFileOfNode(node), typeArguments, chain); - } - return createDiagnosticForNodeArray(getSourceFileOfNode(node), typeArguments, Diagnostics.Expected_0_type_arguments_but_got_1, belowArgCount === -Infinity ? aboveArgCount : belowArgCount, argCount); - } - function resolveCall(node, signatures, candidatesOutArray, checkMode, callChainFlags, headMessage) { - const isTaggedTemplate = node.kind === 215 /* TaggedTemplateExpression */; - const isDecorator2 = node.kind === 170 /* Decorator */; - const isJsxOpeningOrSelfClosingElement = isJsxOpeningLikeElement(node); - const isInstanceof = node.kind === 226 /* BinaryExpression */; - const reportErrors2 = !isInferencePartiallyBlocked && !candidatesOutArray; - let typeArguments; - if (!isDecorator2 && !isInstanceof && !isSuperCall(node)) { - typeArguments = node.typeArguments; - if (isTaggedTemplate || isJsxOpeningOrSelfClosingElement || node.expression.kind !== 108 /* SuperKeyword */) { - forEach(typeArguments, checkSourceElement); - } - } - const candidates = candidatesOutArray || []; - reorderCandidates(signatures, candidates, callChainFlags); - Debug.assert(candidates.length, "Revert #54442 and add a testcase with whatever triggered this"); - const args = getEffectiveCallArguments(node); - const isSingleNonGenericCandidate = candidates.length === 1 && !candidates[0].typeParameters; - let argCheckMode = !isDecorator2 && !isSingleNonGenericCandidate && some(args, isContextSensitive) ? 4 /* SkipContextSensitive */ : 0 /* Normal */; - let candidatesForArgumentError; - let candidateForArgumentArityError; - let candidateForTypeArgumentError; - let result; - const signatureHelpTrailingComma = !!(checkMode & 16 /* IsForSignatureHelp */) && node.kind === 213 /* CallExpression */ && node.arguments.hasTrailingComma; - if (candidates.length > 1) { - result = chooseOverload(candidates, subtypeRelation, isSingleNonGenericCandidate, signatureHelpTrailingComma); - } - if (!result) { - result = chooseOverload(candidates, assignableRelation, isSingleNonGenericCandidate, signatureHelpTrailingComma); - } - if (result) { - return result; - } - result = getCandidateForOverloadFailure(node, candidates, args, !!candidatesOutArray, checkMode); - getNodeLinks(node).resolvedSignature = result; - if (reportErrors2) { - if (!headMessage && isInstanceof) { - headMessage = Diagnostics.The_left_hand_side_of_an_instanceof_expression_must_be_assignable_to_the_first_argument_of_the_right_hand_side_s_Symbol_hasInstance_method; - } - if (candidatesForArgumentError) { - if (candidatesForArgumentError.length === 1 || candidatesForArgumentError.length > 3) { - const last2 = candidatesForArgumentError[candidatesForArgumentError.length - 1]; - let chain; - if (candidatesForArgumentError.length > 3) { - chain = chainDiagnosticMessages(chain, Diagnostics.The_last_overload_gave_the_following_error); - chain = chainDiagnosticMessages(chain, Diagnostics.No_overload_matches_this_call); - } - if (headMessage) { - chain = chainDiagnosticMessages(chain, headMessage); - } - const diags = getSignatureApplicabilityError( - node, - args, - last2, - assignableRelation, - 0 /* Normal */, - /*reportErrors*/ - true, - () => chain, - /*inferenceContext*/ - void 0 - ); - if (diags) { - for (const d of diags) { - if (last2.declaration && candidatesForArgumentError.length > 3) { - addRelatedInfo(d, createDiagnosticForNode(last2.declaration, Diagnostics.The_last_overload_is_declared_here)); - } - addImplementationSuccessElaboration(last2, d); - diagnostics.add(d); - } - } else { - Debug.fail("No error for last overload signature"); - } - } else { - const allDiagnostics = []; - let max = 0; - let min2 = Number.MAX_VALUE; - let minIndex = 0; - let i = 0; - for (const c of candidatesForArgumentError) { - const chain2 = () => chainDiagnosticMessages( - /*details*/ - void 0, - Diagnostics.Overload_0_of_1_2_gave_the_following_error, - i + 1, - candidates.length, - signatureToString(c) - ); - const diags2 = getSignatureApplicabilityError( - node, - args, - c, - assignableRelation, - 0 /* Normal */, - /*reportErrors*/ - true, - chain2, - /*inferenceContext*/ - void 0 - ); - if (diags2) { - if (diags2.length <= min2) { - min2 = diags2.length; - minIndex = i; - } - max = Math.max(max, diags2.length); - allDiagnostics.push(diags2); - } else { - Debug.fail("No error for 3 or fewer overload signatures"); - } - i++; - } - const diags = max > 1 ? allDiagnostics[minIndex] : flatten(allDiagnostics); - Debug.assert(diags.length > 0, "No errors reported for 3 or fewer overload signatures"); - let chain = chainDiagnosticMessages( - map(diags, createDiagnosticMessageChainFromDiagnostic), - Diagnostics.No_overload_matches_this_call - ); - if (headMessage) { - chain = chainDiagnosticMessages(chain, headMessage); - } - const related = [...flatMap(diags, (d) => d.relatedInformation)]; - let diag2; - if (every(diags, (d) => d.start === diags[0].start && d.length === diags[0].length && d.file === diags[0].file)) { - const { file, start, length: length2 } = diags[0]; - diag2 = { file, start, length: length2, code: chain.code, category: chain.category, messageText: chain, relatedInformation: related }; - } else { - diag2 = createDiagnosticForNodeFromMessageChain(getSourceFileOfNode(node), getErrorNodeForCallNode(node), chain, related); - } - addImplementationSuccessElaboration(candidatesForArgumentError[0], diag2); - diagnostics.add(diag2); - } - } else if (candidateForArgumentArityError) { - diagnostics.add(getArgumentArityError(node, [candidateForArgumentArityError], args, headMessage)); - } else if (candidateForTypeArgumentError) { - checkTypeArguments( - candidateForTypeArgumentError, - node.typeArguments, - /*reportErrors*/ - true, - headMessage - ); - } else { - const signaturesWithCorrectTypeArgumentArity = filter(signatures, (s) => hasCorrectTypeArgumentArity(s, typeArguments)); - if (signaturesWithCorrectTypeArgumentArity.length === 0) { - diagnostics.add(getTypeArgumentArityError(node, signatures, typeArguments, headMessage)); - } else { - diagnostics.add(getArgumentArityError(node, signaturesWithCorrectTypeArgumentArity, args, headMessage)); - } - } - } - return result; - function addImplementationSuccessElaboration(failed, diagnostic) { - var _a, _b; - const oldCandidatesForArgumentError = candidatesForArgumentError; - const oldCandidateForArgumentArityError = candidateForArgumentArityError; - const oldCandidateForTypeArgumentError = candidateForTypeArgumentError; - const failedSignatureDeclarations = ((_b = (_a = failed.declaration) == null ? void 0 : _a.symbol) == null ? void 0 : _b.declarations) || emptyArray; - const isOverload = failedSignatureDeclarations.length > 1; - const implDecl = isOverload ? find(failedSignatureDeclarations, (d) => isFunctionLikeDeclaration(d) && nodeIsPresent(d.body)) : void 0; - if (implDecl) { - const candidate = getSignatureFromDeclaration(implDecl); - const isSingleNonGenericCandidate2 = !candidate.typeParameters; - if (chooseOverload([candidate], assignableRelation, isSingleNonGenericCandidate2)) { - addRelatedInfo(diagnostic, createDiagnosticForNode(implDecl, Diagnostics.The_call_would_have_succeeded_against_this_implementation_but_implementation_signatures_of_overloads_are_not_externally_visible)); - } - } - candidatesForArgumentError = oldCandidatesForArgumentError; - candidateForArgumentArityError = oldCandidateForArgumentArityError; - candidateForTypeArgumentError = oldCandidateForTypeArgumentError; - } - function chooseOverload(candidates2, relation, isSingleNonGenericCandidate2, signatureHelpTrailingComma2 = false) { - var _a, _b; - candidatesForArgumentError = void 0; - candidateForArgumentArityError = void 0; - candidateForTypeArgumentError = void 0; - if (isSingleNonGenericCandidate2) { - const candidate = candidates2[0]; - if (some(typeArguments) || !hasCorrectArity(node, args, candidate, signatureHelpTrailingComma2)) { - return void 0; - } - if (getSignatureApplicabilityError( - node, - args, - candidate, - relation, - 0 /* Normal */, - /*reportErrors*/ - false, - /*containingMessageChain*/ - void 0, - /*inferenceContext*/ - void 0 - )) { - candidatesForArgumentError = [candidate]; - return void 0; - } - return candidate; - } - for (let candidateIndex = 0; candidateIndex < candidates2.length; candidateIndex++) { - let candidate = candidates2[candidateIndex]; - if (!hasCorrectTypeArgumentArity(candidate, typeArguments) || !hasCorrectArity(node, args, candidate, signatureHelpTrailingComma2)) { - continue; - } - let checkCandidate; - let inferenceContext; - if (candidate.typeParameters) { - const paramLocation = (_b = (_a = candidate.typeParameters[0].symbol.declarations) == null ? void 0 : _a[0]) == null ? void 0 : _b.parent; - const candidateParameterContext = paramLocation || (candidate.declaration && isConstructorDeclaration(candidate.declaration) ? candidate.declaration.parent : candidate.declaration); - if (candidateParameterContext && findAncestor(node, (a) => a === candidateParameterContext)) { - candidate = getImplementationSignature(candidate); - } - let typeArgumentTypes; - if (some(typeArguments)) { - typeArgumentTypes = checkTypeArguments( - candidate, - typeArguments, - /*reportErrors*/ - false - ); - if (!typeArgumentTypes) { - candidateForTypeArgumentError = candidate; - continue; - } - } else { - inferenceContext = createInferenceContext( - candidate.typeParameters, - candidate, - /*flags*/ - isInJSFile(node) ? 2 /* AnyDefault */ : 0 /* None */ - ); - typeArgumentTypes = instantiateTypes(inferTypeArguments(node, candidate, args, argCheckMode | 8 /* SkipGenericFunctions */, inferenceContext), inferenceContext.nonFixingMapper); - argCheckMode |= inferenceContext.flags & 4 /* SkippedGenericFunction */ ? 8 /* SkipGenericFunctions */ : 0 /* Normal */; - } - checkCandidate = getSignatureInstantiation(candidate, typeArgumentTypes, isInJSFile(candidate.declaration), inferenceContext && inferenceContext.inferredTypeParameters); - if (getNonArrayRestType(candidate) && !hasCorrectArity(node, args, checkCandidate, signatureHelpTrailingComma2)) { - candidateForArgumentArityError = checkCandidate; - continue; - } - } else { - checkCandidate = candidate; - } - if (getSignatureApplicabilityError( - node, - args, - checkCandidate, - relation, - argCheckMode, - /*reportErrors*/ - false, - /*containingMessageChain*/ - void 0, - inferenceContext - )) { - (candidatesForArgumentError || (candidatesForArgumentError = [])).push(checkCandidate); - continue; - } - if (argCheckMode) { - argCheckMode = 0 /* Normal */; - if (inferenceContext) { - const typeArgumentTypes = instantiateTypes(inferTypeArguments(node, candidate, args, argCheckMode, inferenceContext), inferenceContext.mapper); - checkCandidate = getSignatureInstantiation(candidate, typeArgumentTypes, isInJSFile(candidate.declaration), inferenceContext.inferredTypeParameters); - if (getNonArrayRestType(candidate) && !hasCorrectArity(node, args, checkCandidate, signatureHelpTrailingComma2)) { - candidateForArgumentArityError = checkCandidate; - continue; - } - } - if (getSignatureApplicabilityError( - node, - args, - checkCandidate, - relation, - argCheckMode, - /*reportErrors*/ - false, - /*containingMessageChain*/ - void 0, - inferenceContext - )) { - (candidatesForArgumentError || (candidatesForArgumentError = [])).push(checkCandidate); - continue; - } - } - candidates2[candidateIndex] = checkCandidate; - return checkCandidate; - } - return void 0; - } - } - function getCandidateForOverloadFailure(node, candidates, args, hasCandidatesOutArray, checkMode) { - Debug.assert(candidates.length > 0); - checkNodeDeferred(node); - return hasCandidatesOutArray || candidates.length === 1 || candidates.some((c) => !!c.typeParameters) ? pickLongestCandidateSignature(node, candidates, args, checkMode) : createUnionOfSignaturesForOverloadFailure(candidates); - } - function createUnionOfSignaturesForOverloadFailure(candidates) { - const thisParameters = mapDefined(candidates, (c) => c.thisParameter); - let thisParameter; - if (thisParameters.length) { - thisParameter = createCombinedSymbolFromTypes(thisParameters, thisParameters.map(getTypeOfParameter)); - } - const { min: minArgumentCount, max: maxNonRestParam } = minAndMax(candidates, getNumNonRestParameters); - const parameters = []; - for (let i = 0; i < maxNonRestParam; i++) { - const symbols = mapDefined(candidates, (s) => signatureHasRestParameter(s) ? i < s.parameters.length - 1 ? s.parameters[i] : last(s.parameters) : i < s.parameters.length ? s.parameters[i] : void 0); - Debug.assert(symbols.length !== 0); - parameters.push(createCombinedSymbolFromTypes(symbols, mapDefined(candidates, (candidate) => tryGetTypeAtPosition(candidate, i)))); - } - const restParameterSymbols = mapDefined(candidates, (c) => signatureHasRestParameter(c) ? last(c.parameters) : void 0); - let flags = 128 /* IsSignatureCandidateForOverloadFailure */; - if (restParameterSymbols.length !== 0) { - const type = createArrayType(getUnionType(mapDefined(candidates, tryGetRestTypeOfSignature), 2 /* Subtype */)); - parameters.push(createCombinedSymbolForOverloadFailure(restParameterSymbols, type)); - flags |= 1 /* HasRestParameter */; - } - if (candidates.some(signatureHasLiteralTypes)) { - flags |= 2 /* HasLiteralTypes */; - } - return createSignature( - candidates[0].declaration, - /*typeParameters*/ - void 0, - // Before calling this we tested for `!candidates.some(c => !!c.typeParameters)`. - thisParameter, - parameters, - /*resolvedReturnType*/ - getIntersectionType(candidates.map(getReturnTypeOfSignature)), - /*resolvedTypePredicate*/ - void 0, - minArgumentCount, - flags - ); - } - function getNumNonRestParameters(signature) { - const numParams = signature.parameters.length; - return signatureHasRestParameter(signature) ? numParams - 1 : numParams; - } - function createCombinedSymbolFromTypes(sources, types) { - return createCombinedSymbolForOverloadFailure(sources, getUnionType(types, 2 /* Subtype */)); - } - function createCombinedSymbolForOverloadFailure(sources, type) { - return createSymbolWithType(first(sources), type); - } - function pickLongestCandidateSignature(node, candidates, args, checkMode) { - const bestIndex = getLongestCandidateIndex(candidates, apparentArgumentCount === void 0 ? args.length : apparentArgumentCount); - const candidate = candidates[bestIndex]; - const { typeParameters } = candidate; - if (!typeParameters) { - return candidate; - } - const typeArgumentNodes = callLikeExpressionMayHaveTypeArguments(node) ? node.typeArguments : void 0; - const instantiated = typeArgumentNodes ? createSignatureInstantiation(candidate, getTypeArgumentsFromNodes(typeArgumentNodes, typeParameters, isInJSFile(node))) : inferSignatureInstantiationForOverloadFailure(node, typeParameters, candidate, args, checkMode); - candidates[bestIndex] = instantiated; - return instantiated; - } - function getTypeArgumentsFromNodes(typeArgumentNodes, typeParameters, isJs) { - const typeArguments = typeArgumentNodes.map(getTypeOfNode); - while (typeArguments.length > typeParameters.length) { - typeArguments.pop(); - } - while (typeArguments.length < typeParameters.length) { - typeArguments.push(getDefaultFromTypeParameter(typeParameters[typeArguments.length]) || getConstraintOfTypeParameter(typeParameters[typeArguments.length]) || getDefaultTypeArgumentType(isJs)); - } - return typeArguments; - } - function inferSignatureInstantiationForOverloadFailure(node, typeParameters, candidate, args, checkMode) { - const inferenceContext = createInferenceContext( - typeParameters, - candidate, - /*flags*/ - isInJSFile(node) ? 2 /* AnyDefault */ : 0 /* None */ - ); - const typeArgumentTypes = inferTypeArguments(node, candidate, args, checkMode | 4 /* SkipContextSensitive */ | 8 /* SkipGenericFunctions */, inferenceContext); - return createSignatureInstantiation(candidate, typeArgumentTypes); - } - function getLongestCandidateIndex(candidates, argsCount) { - let maxParamsIndex = -1; - let maxParams = -1; - for (let i = 0; i < candidates.length; i++) { - const candidate = candidates[i]; - const paramCount = getParameterCount(candidate); - if (hasEffectiveRestParameter(candidate) || paramCount >= argsCount) { - return i; - } - if (paramCount > maxParams) { - maxParams = paramCount; - maxParamsIndex = i; - } - } - return maxParamsIndex; - } - function resolveCallExpression(node, candidatesOutArray, checkMode) { - if (node.expression.kind === 108 /* SuperKeyword */) { - const superType = checkSuperExpression(node.expression); - if (isTypeAny(superType)) { - for (const arg of node.arguments) { - checkExpression(arg); - } - return anySignature; - } - if (!isErrorType(superType)) { - const baseTypeNode = getEffectiveBaseTypeNode(getContainingClass(node)); - if (baseTypeNode) { - const baseConstructors = getInstantiatedConstructorsForTypeArguments(superType, baseTypeNode.typeArguments, baseTypeNode); - return resolveCall(node, baseConstructors, candidatesOutArray, checkMode, 0 /* None */); - } - } - return resolveUntypedCall(node); - } - let callChainFlags; - let funcType = checkExpression(node.expression); - if (isCallChain(node)) { - const nonOptionalType = getOptionalExpressionType(funcType, node.expression); - callChainFlags = nonOptionalType === funcType ? 0 /* None */ : isOutermostOptionalChain(node) ? 16 /* IsOuterCallChain */ : 8 /* IsInnerCallChain */; - funcType = nonOptionalType; - } else { - callChainFlags = 0 /* None */; - } - funcType = checkNonNullTypeWithReporter( - funcType, - node.expression, - reportCannotInvokePossiblyNullOrUndefinedError - ); - if (funcType === silentNeverType) { - return silentNeverSignature; - } - const apparentType = getApparentType(funcType); - if (isErrorType(apparentType)) { - return resolveErrorCall(node); - } - const callSignatures = getSignaturesOfType(apparentType, 0 /* Call */); - const numConstructSignatures = getSignaturesOfType(apparentType, 1 /* Construct */).length; - if (isUntypedFunctionCall(funcType, apparentType, callSignatures.length, numConstructSignatures)) { - if (!isErrorType(funcType) && node.typeArguments) { - error(node, Diagnostics.Untyped_function_calls_may_not_accept_type_arguments); - } - return resolveUntypedCall(node); - } - if (!callSignatures.length) { - if (numConstructSignatures) { - error(node, Diagnostics.Value_of_type_0_is_not_callable_Did_you_mean_to_include_new, typeToString(funcType)); - } else { - let relatedInformation; - if (node.arguments.length === 1) { - const text = getSourceFileOfNode(node).text; - if (isLineBreak(text.charCodeAt(skipTrivia( - text, - node.expression.end, - /*stopAfterLineBreak*/ - true - ) - 1))) { - relatedInformation = createDiagnosticForNode(node.expression, Diagnostics.Are_you_missing_a_semicolon); - } - } - invocationError(node.expression, apparentType, 0 /* Call */, relatedInformation); - } - return resolveErrorCall(node); - } - if (checkMode & 8 /* SkipGenericFunctions */ && !node.typeArguments && callSignatures.some(isGenericFunctionReturningFunction)) { - skippedGenericFunction(node, checkMode); - return resolvingSignature; - } - if (callSignatures.some((sig) => isInJSFile(sig.declaration) && !!getJSDocClassTag(sig.declaration))) { - error(node, Diagnostics.Value_of_type_0_is_not_callable_Did_you_mean_to_include_new, typeToString(funcType)); - return resolveErrorCall(node); - } - return resolveCall(node, callSignatures, candidatesOutArray, checkMode, callChainFlags); - } - function isGenericFunctionReturningFunction(signature) { - return !!(signature.typeParameters && isFunctionType(getReturnTypeOfSignature(signature))); - } - function isUntypedFunctionCall(funcType, apparentFuncType, numCallSignatures, numConstructSignatures) { - return isTypeAny(funcType) || isTypeAny(apparentFuncType) && !!(funcType.flags & 262144 /* TypeParameter */) || !numCallSignatures && !numConstructSignatures && !(apparentFuncType.flags & 1048576 /* Union */) && !(getReducedType(apparentFuncType).flags & 131072 /* Never */) && isTypeAssignableTo(funcType, globalFunctionType); - } - function resolveNewExpression(node, candidatesOutArray, checkMode) { - let expressionType = checkNonNullExpression(node.expression); - if (expressionType === silentNeverType) { - return silentNeverSignature; - } - expressionType = getApparentType(expressionType); - if (isErrorType(expressionType)) { - return resolveErrorCall(node); - } - if (isTypeAny(expressionType)) { - if (node.typeArguments) { - error(node, Diagnostics.Untyped_function_calls_may_not_accept_type_arguments); - } - return resolveUntypedCall(node); - } - const constructSignatures = getSignaturesOfType(expressionType, 1 /* Construct */); - if (constructSignatures.length) { - if (!isConstructorAccessible(node, constructSignatures[0])) { - return resolveErrorCall(node); - } - if (someSignature(constructSignatures, (signature) => !!(signature.flags & 4 /* Abstract */))) { - error(node, Diagnostics.Cannot_create_an_instance_of_an_abstract_class); - return resolveErrorCall(node); - } - const valueDecl = expressionType.symbol && getClassLikeDeclarationOfSymbol(expressionType.symbol); - if (valueDecl && hasSyntacticModifier(valueDecl, 64 /* Abstract */)) { - error(node, Diagnostics.Cannot_create_an_instance_of_an_abstract_class); - return resolveErrorCall(node); - } - return resolveCall(node, constructSignatures, candidatesOutArray, checkMode, 0 /* None */); - } - const callSignatures = getSignaturesOfType(expressionType, 0 /* Call */); - if (callSignatures.length) { - const signature = resolveCall(node, callSignatures, candidatesOutArray, checkMode, 0 /* None */); - if (!noImplicitAny) { - if (signature.declaration && !isJSConstructor(signature.declaration) && getReturnTypeOfSignature(signature) !== voidType) { - error(node, Diagnostics.Only_a_void_function_can_be_called_with_the_new_keyword); - } - if (getThisTypeOfSignature(signature) === voidType) { - error(node, Diagnostics.A_function_that_is_called_with_the_new_keyword_cannot_have_a_this_type_that_is_void); - } - } - return signature; - } - invocationError(node.expression, expressionType, 1 /* Construct */); - return resolveErrorCall(node); - } - function someSignature(signatures, f) { - if (isArray(signatures)) { - return some(signatures, (signature) => someSignature(signature, f)); - } - return signatures.compositeKind === 1048576 /* Union */ ? some(signatures.compositeSignatures, f) : f(signatures); - } - function typeHasProtectedAccessibleBase(target, type) { - const baseTypes = getBaseTypes(type); - if (!length(baseTypes)) { - return false; - } - const firstBase = baseTypes[0]; - if (firstBase.flags & 2097152 /* Intersection */) { - const types = firstBase.types; - const mixinFlags = findMixins(types); - let i = 0; - for (const intersectionMember of firstBase.types) { - if (!mixinFlags[i]) { - if (getObjectFlags(intersectionMember) & (1 /* Class */ | 2 /* Interface */)) { - if (intersectionMember.symbol === target) { - return true; - } - if (typeHasProtectedAccessibleBase(target, intersectionMember)) { - return true; - } - } - } - i++; - } - return false; - } - if (firstBase.symbol === target) { - return true; - } - return typeHasProtectedAccessibleBase(target, firstBase); - } - function isConstructorAccessible(node, signature) { - if (!signature || !signature.declaration) { - return true; - } - const declaration = signature.declaration; - const modifiers = getSelectedEffectiveModifierFlags(declaration, 6 /* NonPublicAccessibilityModifier */); - if (!modifiers || declaration.kind !== 176 /* Constructor */) { - return true; - } - const declaringClassDeclaration = getClassLikeDeclarationOfSymbol(declaration.parent.symbol); - const declaringClass = getDeclaredTypeOfSymbol(declaration.parent.symbol); - if (!isNodeWithinClass(node, declaringClassDeclaration)) { - const containingClass = getContainingClass(node); - if (containingClass && modifiers & 4 /* Protected */) { - const containingType = getTypeOfNode(containingClass); - if (typeHasProtectedAccessibleBase(declaration.parent.symbol, containingType)) { - return true; - } - } - if (modifiers & 2 /* Private */) { - error(node, Diagnostics.Constructor_of_class_0_is_private_and_only_accessible_within_the_class_declaration, typeToString(declaringClass)); - } - if (modifiers & 4 /* Protected */) { - error(node, Diagnostics.Constructor_of_class_0_is_protected_and_only_accessible_within_the_class_declaration, typeToString(declaringClass)); - } - return false; - } - return true; - } - function invocationErrorDetails(errorTarget, apparentType, kind) { - let errorInfo; - const isCall = kind === 0 /* Call */; - const awaitedType = getAwaitedType(apparentType); - const maybeMissingAwait = awaitedType && getSignaturesOfType(awaitedType, kind).length > 0; - if (apparentType.flags & 1048576 /* Union */) { - const types = apparentType.types; - let hasSignatures = false; - for (const constituent of types) { - const signatures = getSignaturesOfType(constituent, kind); - if (signatures.length !== 0) { - hasSignatures = true; - if (errorInfo) { - break; - } - } else { - if (!errorInfo) { - errorInfo = chainDiagnosticMessages( - errorInfo, - isCall ? Diagnostics.Type_0_has_no_call_signatures : Diagnostics.Type_0_has_no_construct_signatures, - typeToString(constituent) - ); - errorInfo = chainDiagnosticMessages( - errorInfo, - isCall ? Diagnostics.Not_all_constituents_of_type_0_are_callable : Diagnostics.Not_all_constituents_of_type_0_are_constructable, - typeToString(apparentType) - ); - } - if (hasSignatures) { - break; - } - } - } - if (!hasSignatures) { - errorInfo = chainDiagnosticMessages( - /*details*/ - void 0, - isCall ? Diagnostics.No_constituent_of_type_0_is_callable : Diagnostics.No_constituent_of_type_0_is_constructable, - typeToString(apparentType) - ); - } - if (!errorInfo) { - errorInfo = chainDiagnosticMessages( - errorInfo, - isCall ? Diagnostics.Each_member_of_the_union_type_0_has_signatures_but_none_of_those_signatures_are_compatible_with_each_other : Diagnostics.Each_member_of_the_union_type_0_has_construct_signatures_but_none_of_those_signatures_are_compatible_with_each_other, - typeToString(apparentType) - ); - } - } else { - errorInfo = chainDiagnosticMessages( - errorInfo, - isCall ? Diagnostics.Type_0_has_no_call_signatures : Diagnostics.Type_0_has_no_construct_signatures, - typeToString(apparentType) - ); - } - let headMessage = isCall ? Diagnostics.This_expression_is_not_callable : Diagnostics.This_expression_is_not_constructable; - if (isCallExpression(errorTarget.parent) && errorTarget.parent.arguments.length === 0) { - const { resolvedSymbol } = getNodeLinks(errorTarget); - if (resolvedSymbol && resolvedSymbol.flags & 32768 /* GetAccessor */) { - headMessage = Diagnostics.This_expression_is_not_callable_because_it_is_a_get_accessor_Did_you_mean_to_use_it_without; - } - } - return { - messageChain: chainDiagnosticMessages(errorInfo, headMessage), - relatedMessage: maybeMissingAwait ? Diagnostics.Did_you_forget_to_use_await : void 0 - }; - } - function invocationError(errorTarget, apparentType, kind, relatedInformation) { - const { messageChain, relatedMessage: relatedInfo } = invocationErrorDetails(errorTarget, apparentType, kind); - const diagnostic = createDiagnosticForNodeFromMessageChain(getSourceFileOfNode(errorTarget), errorTarget, messageChain); - if (relatedInfo) { - addRelatedInfo(diagnostic, createDiagnosticForNode(errorTarget, relatedInfo)); - } - if (isCallExpression(errorTarget.parent)) { - const { start, length: length2 } = getDiagnosticSpanForCallNode(errorTarget.parent); - diagnostic.start = start; - diagnostic.length = length2; - } - diagnostics.add(diagnostic); - invocationErrorRecovery(apparentType, kind, relatedInformation ? addRelatedInfo(diagnostic, relatedInformation) : diagnostic); - } - function invocationErrorRecovery(apparentType, kind, diagnostic) { - if (!apparentType.symbol) { - return; - } - const importNode = getSymbolLinks(apparentType.symbol).originatingImport; - if (importNode && !isImportCall(importNode)) { - const sigs = getSignaturesOfType(getTypeOfSymbol(getSymbolLinks(apparentType.symbol).target), kind); - if (!sigs || !sigs.length) return; - addRelatedInfo(diagnostic, createDiagnosticForNode(importNode, Diagnostics.Type_originates_at_this_import_A_namespace_style_import_cannot_be_called_or_constructed_and_will_cause_a_failure_at_runtime_Consider_using_a_default_import_or_import_require_here_instead)); - } - } - function resolveTaggedTemplateExpression(node, candidatesOutArray, checkMode) { - const tagType = checkExpression(node.tag); - const apparentType = getApparentType(tagType); - if (isErrorType(apparentType)) { - return resolveErrorCall(node); - } - const callSignatures = getSignaturesOfType(apparentType, 0 /* Call */); - const numConstructSignatures = getSignaturesOfType(apparentType, 1 /* Construct */).length; - if (isUntypedFunctionCall(tagType, apparentType, callSignatures.length, numConstructSignatures)) { - return resolveUntypedCall(node); - } - if (!callSignatures.length) { - if (isArrayLiteralExpression(node.parent)) { - const diagnostic = createDiagnosticForNode(node.tag, Diagnostics.It_is_likely_that_you_are_missing_a_comma_to_separate_these_two_template_expressions_They_form_a_tagged_template_expression_which_cannot_be_invoked); - diagnostics.add(diagnostic); - return resolveErrorCall(node); - } - invocationError(node.tag, apparentType, 0 /* Call */); - return resolveErrorCall(node); - } - return resolveCall(node, callSignatures, candidatesOutArray, checkMode, 0 /* None */); - } - function getDiagnosticHeadMessageForDecoratorResolution(node) { - switch (node.parent.kind) { - case 263 /* ClassDeclaration */: - case 231 /* ClassExpression */: - return Diagnostics.Unable_to_resolve_signature_of_class_decorator_when_called_as_an_expression; - case 169 /* Parameter */: - return Diagnostics.Unable_to_resolve_signature_of_parameter_decorator_when_called_as_an_expression; - case 172 /* PropertyDeclaration */: - return Diagnostics.Unable_to_resolve_signature_of_property_decorator_when_called_as_an_expression; - case 174 /* MethodDeclaration */: - case 177 /* GetAccessor */: - case 178 /* SetAccessor */: - return Diagnostics.Unable_to_resolve_signature_of_method_decorator_when_called_as_an_expression; - default: - return Debug.fail(); - } - } - function resolveDecorator(node, candidatesOutArray, checkMode) { - const funcType = checkExpression(node.expression); - const apparentType = getApparentType(funcType); - if (isErrorType(apparentType)) { - return resolveErrorCall(node); - } - const callSignatures = getSignaturesOfType(apparentType, 0 /* Call */); - const numConstructSignatures = getSignaturesOfType(apparentType, 1 /* Construct */).length; - if (isUntypedFunctionCall(funcType, apparentType, callSignatures.length, numConstructSignatures)) { - return resolveUntypedCall(node); - } - if (isPotentiallyUncalledDecorator(node, callSignatures) && !isParenthesizedExpression(node.expression)) { - const nodeStr = getTextOfNode( - node.expression, - /*includeTrivia*/ - false - ); - error(node, Diagnostics._0_accepts_too_few_arguments_to_be_used_as_a_decorator_here_Did_you_mean_to_call_it_first_and_write_0, nodeStr); - return resolveErrorCall(node); - } - const headMessage = getDiagnosticHeadMessageForDecoratorResolution(node); - if (!callSignatures.length) { - const errorDetails = invocationErrorDetails(node.expression, apparentType, 0 /* Call */); - const messageChain = chainDiagnosticMessages(errorDetails.messageChain, headMessage); - const diag2 = createDiagnosticForNodeFromMessageChain(getSourceFileOfNode(node.expression), node.expression, messageChain); - if (errorDetails.relatedMessage) { - addRelatedInfo(diag2, createDiagnosticForNode(node.expression, errorDetails.relatedMessage)); - } - diagnostics.add(diag2); - invocationErrorRecovery(apparentType, 0 /* Call */, diag2); - return resolveErrorCall(node); - } - return resolveCall(node, callSignatures, candidatesOutArray, checkMode, 0 /* None */, headMessage); - } - function createSignatureForJSXIntrinsic(node, result) { - const namespace = getJsxNamespaceAt(node); - const exports2 = namespace && getExportsOfSymbol(namespace); - const typeSymbol = exports2 && getSymbol(exports2, JsxNames.Element, 788968 /* Type */); - const returnNode = typeSymbol && nodeBuilder.symbolToEntityName(typeSymbol, 788968 /* Type */, node); - const declaration = factory.createFunctionTypeNode( - /*typeParameters*/ - void 0, - [factory.createParameterDeclaration( - /*modifiers*/ - void 0, - /*dotDotDotToken*/ - void 0, - "props", - /*questionToken*/ - void 0, - nodeBuilder.typeToTypeNode(result, node) - )], - returnNode ? factory.createTypeReferenceNode( - returnNode, - /*typeArguments*/ - void 0 - ) : factory.createKeywordTypeNode(133 /* AnyKeyword */) - ); - const parameterSymbol = createSymbol(1 /* FunctionScopedVariable */, "props"); - parameterSymbol.links.type = result; - return createSignature( - declaration, - /*typeParameters*/ - void 0, - /*thisParameter*/ - void 0, - [parameterSymbol], - typeSymbol ? getDeclaredTypeOfSymbol(typeSymbol) : errorType, - /*resolvedTypePredicate*/ - void 0, - 1, - 0 /* None */ - ); - } - function resolveJsxOpeningLikeElement(node, candidatesOutArray, checkMode) { - if (isJsxIntrinsicTagName(node.tagName)) { - const result = getIntrinsicAttributesTypeFromJsxOpeningLikeElement(node); - const fakeSignature = createSignatureForJSXIntrinsic(node, result); - checkTypeAssignableToAndOptionallyElaborate(checkExpressionWithContextualType( - node.attributes, - getEffectiveFirstArgumentForJsxSignature(fakeSignature, node), - /*inferenceContext*/ - void 0, - 0 /* Normal */ - ), result, node.tagName, node.attributes); - if (length(node.typeArguments)) { - forEach(node.typeArguments, checkSourceElement); - diagnostics.add(createDiagnosticForNodeArray(getSourceFileOfNode(node), node.typeArguments, Diagnostics.Expected_0_type_arguments_but_got_1, 0, length(node.typeArguments))); - } - return fakeSignature; - } - const exprTypes = checkExpression(node.tagName); - const apparentType = getApparentType(exprTypes); - if (isErrorType(apparentType)) { - return resolveErrorCall(node); - } - const signatures = getUninstantiatedJsxSignaturesOfType(exprTypes, node); - if (isUntypedFunctionCall( - exprTypes, - apparentType, - signatures.length, - /*constructSignatures*/ - 0 - )) { - return resolveUntypedCall(node); - } - if (signatures.length === 0) { - error(node.tagName, Diagnostics.JSX_element_type_0_does_not_have_any_construct_or_call_signatures, getTextOfNode(node.tagName)); - return resolveErrorCall(node); - } - return resolveCall(node, signatures, candidatesOutArray, checkMode, 0 /* None */); - } - function resolveInstanceofExpression(node, candidatesOutArray, checkMode) { - const rightType = checkExpression(node.right); - if (!isTypeAny(rightType)) { - const hasInstanceMethodType = getSymbolHasInstanceMethodOfObjectType(rightType); - if (hasInstanceMethodType) { - const apparentType = getApparentType(hasInstanceMethodType); - if (isErrorType(apparentType)) { - return resolveErrorCall(node); - } - const callSignatures = getSignaturesOfType(apparentType, 0 /* Call */); - const constructSignatures = getSignaturesOfType(apparentType, 1 /* Construct */); - if (isUntypedFunctionCall(hasInstanceMethodType, apparentType, callSignatures.length, constructSignatures.length)) { - return resolveUntypedCall(node); - } - if (callSignatures.length) { - return resolveCall(node, callSignatures, candidatesOutArray, checkMode, 0 /* None */); - } - } else if (!(typeHasCallOrConstructSignatures(rightType) || isTypeSubtypeOf(rightType, globalFunctionType))) { - error(node.right, Diagnostics.The_right_hand_side_of_an_instanceof_expression_must_be_either_of_type_any_a_class_function_or_other_type_assignable_to_the_Function_interface_type_or_an_object_type_with_a_Symbol_hasInstance_method); - return resolveErrorCall(node); - } - } - return anySignature; - } - function isPotentiallyUncalledDecorator(decorator, signatures) { - return signatures.length && every(signatures, (signature) => signature.minArgumentCount === 0 && !signatureHasRestParameter(signature) && signature.parameters.length < getDecoratorArgumentCount(decorator, signature)); - } - function resolveSignature(node, candidatesOutArray, checkMode) { - switch (node.kind) { - case 213 /* CallExpression */: - return resolveCallExpression(node, candidatesOutArray, checkMode); - case 214 /* NewExpression */: - return resolveNewExpression(node, candidatesOutArray, checkMode); - case 215 /* TaggedTemplateExpression */: - return resolveTaggedTemplateExpression(node, candidatesOutArray, checkMode); - case 170 /* Decorator */: - return resolveDecorator(node, candidatesOutArray, checkMode); - case 286 /* JsxOpeningElement */: - case 285 /* JsxSelfClosingElement */: - return resolveJsxOpeningLikeElement(node, candidatesOutArray, checkMode); - case 226 /* BinaryExpression */: - return resolveInstanceofExpression(node, candidatesOutArray, checkMode); - } - Debug.assertNever(node, "Branch in 'resolveSignature' should be unreachable."); - } - function getResolvedSignature(node, candidatesOutArray, checkMode) { - const links = getNodeLinks(node); - const cached = links.resolvedSignature; - if (cached && cached !== resolvingSignature && !candidatesOutArray) { - return cached; - } - const saveResolutionStart = resolutionStart; - if (!cached) { - resolutionStart = resolutionTargets.length; - } - links.resolvedSignature = resolvingSignature; - let result = resolveSignature(node, candidatesOutArray, checkMode || 0 /* Normal */); - resolutionStart = saveResolutionStart; - if (result !== resolvingSignature) { - if (links.resolvedSignature !== resolvingSignature) { - result = links.resolvedSignature; - } - links.resolvedSignature = flowLoopStart === flowLoopCount ? result : cached; - } - return result; - } - function isJSConstructor(node) { - var _a; - if (!node || !isInJSFile(node)) { - return false; - } - const func = isFunctionDeclaration(node) || isFunctionExpression(node) ? node : (isVariableDeclaration(node) || isPropertyAssignment(node)) && node.initializer && isFunctionExpression(node.initializer) ? node.initializer : void 0; - if (func) { - if (getJSDocClassTag(node)) return true; - if (isPropertyAssignment(walkUpParenthesizedExpressions(func.parent))) return false; - const symbol = getSymbolOfDeclaration(func); - return !!((_a = symbol == null ? void 0 : symbol.members) == null ? void 0 : _a.size); - } - return false; - } - function mergeJSSymbols(target, source) { - var _a, _b; - if (source) { - const links = getSymbolLinks(source); - if (!links.inferredClassSymbol || !links.inferredClassSymbol.has(getSymbolId(target))) { - const inferred = isTransientSymbol(target) ? target : cloneSymbol(target); - inferred.exports = inferred.exports || createSymbolTable(); - inferred.members = inferred.members || createSymbolTable(); - inferred.flags |= source.flags & 32 /* Class */; - if ((_a = source.exports) == null ? void 0 : _a.size) { - mergeSymbolTable(inferred.exports, source.exports); - } - if ((_b = source.members) == null ? void 0 : _b.size) { - mergeSymbolTable(inferred.members, source.members); - } - (links.inferredClassSymbol || (links.inferredClassSymbol = /* @__PURE__ */ new Map())).set(getSymbolId(inferred), inferred); - return inferred; - } - return links.inferredClassSymbol.get(getSymbolId(target)); - } - } - function getAssignedClassSymbol(decl) { - var _a; - const assignmentSymbol = decl && getSymbolOfExpando( - decl, - /*allowDeclaration*/ - true - ); - const prototype = (_a = assignmentSymbol == null ? void 0 : assignmentSymbol.exports) == null ? void 0 : _a.get("prototype"); - const init = (prototype == null ? void 0 : prototype.valueDeclaration) && getAssignedJSPrototype(prototype.valueDeclaration); - return init ? getSymbolOfDeclaration(init) : void 0; - } - function getSymbolOfExpando(node, allowDeclaration) { - if (!node.parent) { - return void 0; - } - let name; - let decl; - if (isVariableDeclaration(node.parent) && node.parent.initializer === node) { - if (!isInJSFile(node) && !(isVarConstLike2(node.parent) && isFunctionLikeDeclaration(node))) { - return void 0; - } - name = node.parent.name; - decl = node.parent; - } else if (isBinaryExpression(node.parent)) { - const parentNode = node.parent; - const parentNodeOperator = node.parent.operatorToken.kind; - if (parentNodeOperator === 64 /* EqualsToken */ && (allowDeclaration || parentNode.right === node)) { - name = parentNode.left; - decl = name; - } else if (parentNodeOperator === 57 /* BarBarToken */ || parentNodeOperator === 61 /* QuestionQuestionToken */) { - if (isVariableDeclaration(parentNode.parent) && parentNode.parent.initializer === parentNode) { - name = parentNode.parent.name; - decl = parentNode.parent; - } else if (isBinaryExpression(parentNode.parent) && parentNode.parent.operatorToken.kind === 64 /* EqualsToken */ && (allowDeclaration || parentNode.parent.right === parentNode)) { - name = parentNode.parent.left; - decl = name; - } - if (!name || !isBindableStaticNameExpression(name) || !isSameEntityName(name, parentNode.left)) { - return void 0; - } - } - } else if (allowDeclaration && isFunctionDeclaration(node)) { - name = node.name; - decl = node; - } - if (!decl || !name || !allowDeclaration && !getExpandoInitializer(node, isPrototypeAccess(name))) { - return void 0; - } - return getSymbolOfNode(decl); - } - function getAssignedJSPrototype(node) { - if (!node.parent) { - return false; - } - let parent = node.parent; - while (parent && parent.kind === 211 /* PropertyAccessExpression */) { - parent = parent.parent; - } - if (parent && isBinaryExpression(parent) && isPrototypeAccess(parent.left) && parent.operatorToken.kind === 64 /* EqualsToken */) { - const right = getInitializerOfBinaryExpression(parent); - return isObjectLiteralExpression(right) && right; - } - } - function checkCallExpression(node, checkMode) { - var _a, _b, _c; - checkGrammarTypeArguments(node, node.typeArguments); - const signature = getResolvedSignature( - node, - /*candidatesOutArray*/ - void 0, - checkMode - ); - if (signature === resolvingSignature) { - return silentNeverType; - } - checkDeprecatedSignature(signature, node); - if (node.expression.kind === 108 /* SuperKeyword */) { - return voidType; - } - if (node.kind === 214 /* NewExpression */) { - const declaration = signature.declaration; - if (declaration && declaration.kind !== 176 /* Constructor */ && declaration.kind !== 180 /* ConstructSignature */ && declaration.kind !== 185 /* ConstructorType */ && !(isJSDocSignature(declaration) && ((_b = (_a = getJSDocRoot(declaration)) == null ? void 0 : _a.parent) == null ? void 0 : _b.kind) === 176 /* Constructor */) && !isJSDocConstructSignature(declaration) && !isJSConstructor(declaration)) { - if (noImplicitAny) { - error(node, Diagnostics.new_expression_whose_target_lacks_a_construct_signature_implicitly_has_an_any_type); - } - return anyType; - } - } - if (isInJSFile(node) && isCommonJsRequire(node)) { - return resolveExternalModuleTypeByLiteral(node.arguments[0]); - } - const returnType = getReturnTypeOfSignature(signature); - if (returnType.flags & 12288 /* ESSymbolLike */ && isSymbolOrSymbolForCall(node)) { - return getESSymbolLikeTypeForNode(walkUpParenthesizedExpressions(node.parent)); - } - if (node.kind === 213 /* CallExpression */ && !node.questionDotToken && node.parent.kind === 244 /* ExpressionStatement */ && returnType.flags & 16384 /* Void */ && getTypePredicateOfSignature(signature)) { - if (!isDottedName(node.expression)) { - error(node.expression, Diagnostics.Assertions_require_the_call_target_to_be_an_identifier_or_qualified_name); - } else if (!getEffectsSignature(node)) { - const diagnostic = error(node.expression, Diagnostics.Assertions_require_every_name_in_the_call_target_to_be_declared_with_an_explicit_type_annotation); - getTypeOfDottedName(node.expression, diagnostic); - } - } - if (isInJSFile(node)) { - const jsSymbol = getSymbolOfExpando( - node, - /*allowDeclaration*/ - false - ); - if ((_c = jsSymbol == null ? void 0 : jsSymbol.exports) == null ? void 0 : _c.size) { - const jsAssignmentType = createAnonymousType(jsSymbol, jsSymbol.exports, emptyArray, emptyArray, emptyArray); - jsAssignmentType.objectFlags |= 4096 /* JSLiteral */; - return getIntersectionType([returnType, jsAssignmentType]); - } - } - return returnType; - } - function checkDeprecatedSignature(signature, node) { - if (signature.flags & 128 /* IsSignatureCandidateForOverloadFailure */) return; - if (signature.declaration && signature.declaration.flags & 536870912 /* Deprecated */) { - const suggestionNode = getDeprecatedSuggestionNode(node); - const name = tryGetPropertyAccessOrIdentifierToString(getInvokedExpression(node)); - addDeprecatedSuggestionWithSignature(suggestionNode, signature.declaration, name, signatureToString(signature)); - } - } - function getDeprecatedSuggestionNode(node) { - node = skipParentheses(node); - switch (node.kind) { - case 213 /* CallExpression */: - case 170 /* Decorator */: - case 214 /* NewExpression */: - return getDeprecatedSuggestionNode(node.expression); - case 215 /* TaggedTemplateExpression */: - return getDeprecatedSuggestionNode(node.tag); - case 286 /* JsxOpeningElement */: - case 285 /* JsxSelfClosingElement */: - return getDeprecatedSuggestionNode(node.tagName); - case 212 /* ElementAccessExpression */: - return node.argumentExpression; - case 211 /* PropertyAccessExpression */: - return node.name; - case 183 /* TypeReference */: - const typeReference = node; - return isQualifiedName(typeReference.typeName) ? typeReference.typeName.right : typeReference; - default: - return node; - } - } - function isSymbolOrSymbolForCall(node) { - if (!isCallExpression(node)) return false; - let left = node.expression; - if (isPropertyAccessExpression(left) && left.name.escapedText === "for") { - left = left.expression; - } - if (!isIdentifier(left) || left.escapedText !== "Symbol") { - return false; - } - const globalESSymbol = getGlobalESSymbolConstructorSymbol( - /*reportErrors*/ - false - ); - if (!globalESSymbol) { - return false; - } - return globalESSymbol === resolveName( - left, - "Symbol", - 111551 /* Value */, - /*nameNotFoundMessage*/ - void 0, - /*isUse*/ - false - ); - } - function checkImportCallExpression(node) { - checkGrammarImportCallExpression(node); - if (node.arguments.length === 0) { - return createPromiseReturnType(node, anyType); - } - const specifier = node.arguments[0]; - const specifierType = checkExpressionCached(specifier); - const optionsType = node.arguments.length > 1 ? checkExpressionCached(node.arguments[1]) : void 0; - for (let i = 2; i < node.arguments.length; ++i) { - checkExpressionCached(node.arguments[i]); - } - if (specifierType.flags & 32768 /* Undefined */ || specifierType.flags & 65536 /* Null */ || !isTypeAssignableTo(specifierType, stringType)) { - error(specifier, Diagnostics.Dynamic_import_s_specifier_must_be_of_type_string_but_here_has_type_0, typeToString(specifierType)); - } - if (optionsType) { - const importCallOptionsType = getGlobalImportCallOptionsType( - /*reportErrors*/ - true - ); - if (importCallOptionsType !== emptyObjectType) { - checkTypeAssignableTo(optionsType, getNullableType(importCallOptionsType, 32768 /* Undefined */), node.arguments[1]); - } - } - const moduleSymbol = resolveExternalModuleName(node, specifier); - if (moduleSymbol) { - const esModuleSymbol = resolveESModuleSymbol( - moduleSymbol, - specifier, - /*dontResolveAlias*/ - true, - /*suppressInteropError*/ - false - ); - if (esModuleSymbol) { - return createPromiseReturnType( - node, - getTypeWithSyntheticDefaultOnly(getTypeOfSymbol(esModuleSymbol), esModuleSymbol, moduleSymbol, specifier) || getTypeWithSyntheticDefaultImportType(getTypeOfSymbol(esModuleSymbol), esModuleSymbol, moduleSymbol, specifier) - ); - } - } - return createPromiseReturnType(node, anyType); - } - function createDefaultPropertyWrapperForModule(symbol, originalSymbol, anonymousSymbol) { - const memberTable = createSymbolTable(); - const newSymbol = createSymbol(2097152 /* Alias */, "default" /* Default */); - newSymbol.parent = originalSymbol; - newSymbol.links.nameType = getStringLiteralType("default"); - newSymbol.links.aliasTarget = resolveSymbol(symbol); - memberTable.set("default" /* Default */, newSymbol); - return createAnonymousType(anonymousSymbol, memberTable, emptyArray, emptyArray, emptyArray); - } - function getTypeWithSyntheticDefaultOnly(type, symbol, originalSymbol, moduleSpecifier) { - const hasDefaultOnly = isOnlyImportableAsDefault(moduleSpecifier); - if (hasDefaultOnly && type && !isErrorType(type)) { - const synthType = type; - if (!synthType.defaultOnlyType) { - const type2 = createDefaultPropertyWrapperForModule(symbol, originalSymbol); - synthType.defaultOnlyType = type2; - } - return synthType.defaultOnlyType; - } - return void 0; - } - function getTypeWithSyntheticDefaultImportType(type, symbol, originalSymbol, moduleSpecifier) { - var _a; - if (allowSyntheticDefaultImports && type && !isErrorType(type)) { - const synthType = type; - if (!synthType.syntheticType) { - const file = (_a = originalSymbol.declarations) == null ? void 0 : _a.find(isSourceFile); - const hasSyntheticDefault = canHaveSyntheticDefault( - file, - originalSymbol, - /*dontResolveAlias*/ - false, - moduleSpecifier - ); - if (hasSyntheticDefault) { - const anonymousSymbol = createSymbol(2048 /* TypeLiteral */, "__type" /* Type */); - const defaultContainingObject = createDefaultPropertyWrapperForModule(symbol, originalSymbol, anonymousSymbol); - anonymousSymbol.links.type = defaultContainingObject; - synthType.syntheticType = isValidSpreadType(type) ? getSpreadType( - type, - defaultContainingObject, - anonymousSymbol, - /*objectFlags*/ - 0, - /*readonly*/ - false - ) : defaultContainingObject; - } else { - synthType.syntheticType = type; - } - } - return synthType.syntheticType; - } - return type; - } - function isCommonJsRequire(node) { - if (!isRequireCall( - node, - /*requireStringLiteralLikeArgument*/ - true - )) { - return false; - } - if (!isIdentifier(node.expression)) return Debug.fail(); - const resolvedRequire = resolveName( - node.expression, - node.expression.escapedText, - 111551 /* Value */, - /*nameNotFoundMessage*/ - void 0, - /*isUse*/ - true - ); - if (resolvedRequire === requireSymbol) { - return true; - } - if (resolvedRequire.flags & 2097152 /* Alias */) { - return false; - } - const targetDeclarationKind = resolvedRequire.flags & 16 /* Function */ ? 262 /* FunctionDeclaration */ : resolvedRequire.flags & 3 /* Variable */ ? 260 /* VariableDeclaration */ : 0 /* Unknown */; - if (targetDeclarationKind !== 0 /* Unknown */) { - const decl = getDeclarationOfKind(resolvedRequire, targetDeclarationKind); - return !!decl && !!(decl.flags & 33554432 /* Ambient */); - } - return false; - } - function checkTaggedTemplateExpression(node) { - if (!checkGrammarTaggedTemplateChain(node)) checkGrammarTypeArguments(node, node.typeArguments); - if (languageVersion < 2 /* TaggedTemplates */) { - checkExternalEmitHelpers(node, 262144 /* MakeTemplateObject */); - } - const signature = getResolvedSignature(node); - checkDeprecatedSignature(signature, node); - return getReturnTypeOfSignature(signature); - } - function checkAssertion(node, checkMode) { - if (node.kind === 216 /* TypeAssertionExpression */) { - const file = getSourceFileOfNode(node); - if (file && fileExtensionIsOneOf(file.fileName, [".cts" /* Cts */, ".mts" /* Mts */])) { - grammarErrorOnNode(node, Diagnostics.This_syntax_is_reserved_in_files_with_the_mts_or_cts_extension_Use_an_as_expression_instead); - } - } - return checkAssertionWorker(node, checkMode); - } - function isValidConstAssertionArgument(node) { - switch (node.kind) { - case 11 /* StringLiteral */: - case 15 /* NoSubstitutionTemplateLiteral */: - case 9 /* NumericLiteral */: - case 10 /* BigIntLiteral */: - case 112 /* TrueKeyword */: - case 97 /* FalseKeyword */: - case 209 /* ArrayLiteralExpression */: - case 210 /* ObjectLiteralExpression */: - case 228 /* TemplateExpression */: - return true; - case 217 /* ParenthesizedExpression */: - return isValidConstAssertionArgument(node.expression); - case 224 /* PrefixUnaryExpression */: - const op = node.operator; - const arg = node.operand; - return op === 41 /* MinusToken */ && (arg.kind === 9 /* NumericLiteral */ || arg.kind === 10 /* BigIntLiteral */) || op === 40 /* PlusToken */ && arg.kind === 9 /* NumericLiteral */; - case 211 /* PropertyAccessExpression */: - case 212 /* ElementAccessExpression */: - const expr = skipParentheses(node.expression); - const symbol = isEntityNameExpression(expr) ? resolveEntityName( - expr, - 111551 /* Value */, - /*ignoreErrors*/ - true - ) : void 0; - return !!(symbol && symbol.flags & 384 /* Enum */); - } - return false; - } - function checkAssertionWorker(node, checkMode) { - const { type, expression } = getAssertionTypeAndExpression(node); - const exprType = checkExpression(expression, checkMode); - if (isConstTypeReference(type)) { - if (!isValidConstAssertionArgument(expression)) { - error(expression, Diagnostics.A_const_assertions_can_only_be_applied_to_references_to_enum_members_or_string_number_boolean_array_or_object_literals); - } - return getRegularTypeOfLiteralType(exprType); - } - const links = getNodeLinks(node); - links.assertionExpressionType = exprType; - checkSourceElement(type); - checkNodeDeferred(node); - return getTypeFromTypeNode(type); - } - function getAssertionTypeAndExpression(node) { - let type; - let expression; - switch (node.kind) { - case 234 /* AsExpression */: - case 216 /* TypeAssertionExpression */: - type = node.type; - expression = node.expression; - break; - case 217 /* ParenthesizedExpression */: - type = getJSDocTypeAssertionType(node); - expression = node.expression; - break; - } - return { type, expression }; - } - function checkAssertionDeferred(node) { - const { type } = getAssertionTypeAndExpression(node); - const errNode = isParenthesizedExpression(node) ? type : node; - const links = getNodeLinks(node); - Debug.assertIsDefined(links.assertionExpressionType); - const exprType = getRegularTypeOfObjectLiteral(getBaseTypeOfLiteralType(links.assertionExpressionType)); - const targetType = getTypeFromTypeNode(type); - if (!isErrorType(targetType)) { - addLazyDiagnostic(() => { - const widenedType = getWidenedType(exprType); - if (!isTypeComparableTo(targetType, widenedType)) { - checkTypeComparableTo(exprType, targetType, errNode, 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); - } - }); - } - } - function checkNonNullChain(node) { - const leftType = checkExpression(node.expression); - const nonOptionalType = getOptionalExpressionType(leftType, node.expression); - return propagateOptionalTypeMarker(getNonNullableType(nonOptionalType), node, nonOptionalType !== leftType); - } - function checkNonNullAssertion(node) { - return node.flags & 64 /* OptionalChain */ ? checkNonNullChain(node) : getNonNullableType(checkExpression(node.expression)); - } - function checkExpressionWithTypeArguments(node) { - checkGrammarExpressionWithTypeArguments(node); - forEach(node.typeArguments, checkSourceElement); - if (node.kind === 233 /* ExpressionWithTypeArguments */) { - const parent = walkUpParenthesizedExpressions(node.parent); - if (parent.kind === 226 /* BinaryExpression */ && parent.operatorToken.kind === 104 /* InstanceOfKeyword */ && isNodeDescendantOf(node, parent.right)) { - error(node, Diagnostics.The_right_hand_side_of_an_instanceof_expression_must_not_be_an_instantiation_expression); - } - } - const exprType = node.kind === 233 /* ExpressionWithTypeArguments */ ? checkExpression(node.expression) : isThisIdentifier(node.exprName) ? checkThisExpression(node.exprName) : checkExpression(node.exprName); - return getInstantiationExpressionType(exprType, node); - } - function getInstantiationExpressionType(exprType, node) { - const typeArguments = node.typeArguments; - if (exprType === silentNeverType || isErrorType(exprType) || !some(typeArguments)) { - return exprType; - } - let hasSomeApplicableSignature = false; - let nonApplicableType; - const result = getInstantiatedType(exprType); - const errorType2 = hasSomeApplicableSignature ? nonApplicableType : exprType; - if (errorType2) { - diagnostics.add(createDiagnosticForNodeArray(getSourceFileOfNode(node), typeArguments, Diagnostics.Type_0_has_no_signatures_for_which_the_type_argument_list_is_applicable, typeToString(errorType2))); - } - return result; - function getInstantiatedType(type) { - let hasSignatures = false; - let hasApplicableSignature = false; - const result2 = getInstantiatedTypePart(type); - hasSomeApplicableSignature || (hasSomeApplicableSignature = hasApplicableSignature); - if (hasSignatures && !hasApplicableSignature) { - nonApplicableType ?? (nonApplicableType = type); - } - return result2; - function getInstantiatedTypePart(type2) { - if (type2.flags & 524288 /* Object */) { - const resolved = resolveStructuredTypeMembers(type2); - const callSignatures = getInstantiatedSignatures(resolved.callSignatures); - const constructSignatures = getInstantiatedSignatures(resolved.constructSignatures); - hasSignatures || (hasSignatures = resolved.callSignatures.length !== 0 || resolved.constructSignatures.length !== 0); - hasApplicableSignature || (hasApplicableSignature = callSignatures.length !== 0 || constructSignatures.length !== 0); - if (callSignatures !== resolved.callSignatures || constructSignatures !== resolved.constructSignatures) { - const result3 = createAnonymousType(createSymbol(0 /* None */, "__instantiationExpression" /* InstantiationExpression */), resolved.members, callSignatures, constructSignatures, resolved.indexInfos); - result3.objectFlags |= 8388608 /* InstantiationExpressionType */; - result3.node = node; - return result3; - } - } else if (type2.flags & 58982400 /* InstantiableNonPrimitive */) { - const constraint = getBaseConstraintOfType(type2); - if (constraint) { - const instantiated = getInstantiatedTypePart(constraint); - if (instantiated !== constraint) { - return instantiated; - } - } - } else if (type2.flags & 1048576 /* Union */) { - return mapType(type2, getInstantiatedType); - } else if (type2.flags & 2097152 /* Intersection */) { - return getIntersectionType(sameMap(type2.types, getInstantiatedTypePart)); - } - return type2; - } - } - function getInstantiatedSignatures(signatures) { - const applicableSignatures = filter(signatures, (sig) => !!sig.typeParameters && hasCorrectTypeArgumentArity(sig, typeArguments)); - return sameMap(applicableSignatures, (sig) => { - const typeArgumentTypes = checkTypeArguments( - sig, - typeArguments, - /*reportErrors*/ - true - ); - return typeArgumentTypes ? getSignatureInstantiation(sig, typeArgumentTypes, isInJSFile(sig.declaration)) : sig; - }); - } - } - function checkSatisfiesExpression(node) { - checkSourceElement(node.type); - return checkSatisfiesExpressionWorker(node.expression, node.type); - } - function checkSatisfiesExpressionWorker(expression, target, checkMode) { - const exprType = checkExpression(expression, checkMode); - const targetType = getTypeFromTypeNode(target); - if (isErrorType(targetType)) { - return targetType; - } - const errorNode = findAncestor(target.parent, (n) => n.kind === 238 /* SatisfiesExpression */ || n.kind === 350 /* JSDocSatisfiesTag */); - checkTypeAssignableToAndOptionallyElaborate(exprType, targetType, errorNode, expression, Diagnostics.Type_0_does_not_satisfy_the_expected_type_1); - return exprType; - } - function checkMetaProperty(node) { - checkGrammarMetaProperty(node); - if (node.keywordToken === 105 /* NewKeyword */) { - return checkNewTargetMetaProperty(node); - } - if (node.keywordToken === 102 /* ImportKeyword */) { - return checkImportMetaProperty(node); - } - return Debug.assertNever(node.keywordToken); - } - function checkMetaPropertyKeyword(node) { - switch (node.keywordToken) { - case 102 /* ImportKeyword */: - return getGlobalImportMetaExpressionType(); - case 105 /* NewKeyword */: - const type = checkNewTargetMetaProperty(node); - return isErrorType(type) ? errorType : createNewTargetExpressionType(type); - default: - Debug.assertNever(node.keywordToken); - } - } - function checkNewTargetMetaProperty(node) { - const container = getNewTargetContainer(node); - if (!container) { - error(node, Diagnostics.Meta_property_0_is_only_allowed_in_the_body_of_a_function_declaration_function_expression_or_constructor, "new.target"); - return errorType; - } else if (container.kind === 176 /* Constructor */) { - const symbol = getSymbolOfDeclaration(container.parent); - return getTypeOfSymbol(symbol); - } else { - const symbol = getSymbolOfDeclaration(container); - return getTypeOfSymbol(symbol); - } - } - function checkImportMetaProperty(node) { - if (moduleKind === 100 /* Node16 */ || moduleKind === 199 /* NodeNext */) { - if (getSourceFileOfNode(node).impliedNodeFormat !== 99 /* ESNext */) { - error(node, Diagnostics.The_import_meta_meta_property_is_not_allowed_in_files_which_will_build_into_CommonJS_output); - } - } else if (moduleKind < 6 /* ES2020 */ && moduleKind !== 4 /* System */) { - error(node, Diagnostics.The_import_meta_meta_property_is_only_allowed_when_the_module_option_is_es2020_es2022_esnext_system_node16_or_nodenext); - } - const file = getSourceFileOfNode(node); - Debug.assert(!!(file.flags & 8388608 /* PossiblyContainsImportMeta */), "Containing file is missing import meta node flag."); - return node.name.escapedText === "meta" ? getGlobalImportMetaType() : errorType; - } - function getTypeOfParameter(symbol) { - const declaration = symbol.valueDeclaration; - return addOptionality( - getTypeOfSymbol(symbol), - /*isProperty*/ - false, - /*isOptional*/ - !!declaration && (hasInitializer(declaration) || isOptionalDeclaration(declaration)) - ); - } - function getTupleElementLabelFromBindingElement(node, index, elementFlags) { - switch (node.name.kind) { - case 80 /* Identifier */: { - const name = node.name.escapedText; - if (node.dotDotDotToken) { - return elementFlags & 12 /* Variable */ ? name : `${name}_${index}`; - } else { - return elementFlags & 3 /* Fixed */ ? name : `${name}_n`; - } - } - case 207 /* ArrayBindingPattern */: { - if (node.dotDotDotToken) { - const elements = node.name.elements; - const lastElement = tryCast(lastOrUndefined(elements), isBindingElement); - const elementCount = elements.length - ((lastElement == null ? void 0 : lastElement.dotDotDotToken) ? 1 : 0); - if (index < elementCount) { - const element = elements[index]; - if (isBindingElement(element)) { - return getTupleElementLabelFromBindingElement(element, index, elementFlags); - } - } else if (lastElement == null ? void 0 : lastElement.dotDotDotToken) { - return getTupleElementLabelFromBindingElement(lastElement, index - elementCount, elementFlags); - } - } - break; - } - } - return `arg_${index}`; - } - function getTupleElementLabel(d, index = 0, elementFlags = 3 /* Fixed */, restSymbol) { - if (!d) { - const restParameter = tryCast(restSymbol == null ? void 0 : restSymbol.valueDeclaration, isParameter); - return restParameter ? getTupleElementLabelFromBindingElement(restParameter, index, elementFlags) : `${(restSymbol == null ? void 0 : restSymbol.escapedName) ?? "arg"}_${index}`; - } - Debug.assert(isIdentifier(d.name)); - return d.name.escapedText; - } - function getParameterNameAtPosition(signature, pos, overrideRestType) { - var _a; - const paramCount = signature.parameters.length - (signatureHasRestParameter(signature) ? 1 : 0); - if (pos < paramCount) { - return signature.parameters[pos].escapedName; - } - const restParameter = signature.parameters[paramCount] || unknownSymbol; - const restType = overrideRestType || getTypeOfSymbol(restParameter); - if (isTupleType(restType)) { - const tupleType = restType.target; - const index = pos - paramCount; - const associatedName = (_a = tupleType.labeledElementDeclarations) == null ? void 0 : _a[index]; - const elementFlags = tupleType.elementFlags[index]; - return getTupleElementLabel(associatedName, index, elementFlags, restParameter); - } - return restParameter.escapedName; - } - function getParameterIdentifierInfoAtPosition(signature, pos) { - var _a; - if (((_a = signature.declaration) == null ? void 0 : _a.kind) === 317 /* JSDocFunctionType */) { - return void 0; - } - const paramCount = signature.parameters.length - (signatureHasRestParameter(signature) ? 1 : 0); - if (pos < paramCount) { - const param = signature.parameters[pos]; - const paramIdent = getParameterDeclarationIdentifier(param); - return paramIdent ? { - parameter: paramIdent, - parameterName: param.escapedName, - isRestParameter: false - } : void 0; - } - const restParameter = signature.parameters[paramCount] || unknownSymbol; - const restIdent = getParameterDeclarationIdentifier(restParameter); - if (!restIdent) { - return void 0; - } - const restType = getTypeOfSymbol(restParameter); - if (isTupleType(restType)) { - const associatedNames = restType.target.labeledElementDeclarations; - const index = pos - paramCount; - const associatedName = associatedNames == null ? void 0 : associatedNames[index]; - const isRestTupleElement = !!(associatedName == null ? void 0 : associatedName.dotDotDotToken); - if (associatedName) { - Debug.assert(isIdentifier(associatedName.name)); - return { parameter: associatedName.name, parameterName: associatedName.name.escapedText, isRestParameter: isRestTupleElement }; - } - return void 0; - } - if (pos === paramCount) { - return { parameter: restIdent, parameterName: restParameter.escapedName, isRestParameter: true }; - } - return void 0; - } - function getParameterDeclarationIdentifier(symbol) { - return symbol.valueDeclaration && isParameter(symbol.valueDeclaration) && isIdentifier(symbol.valueDeclaration.name) && symbol.valueDeclaration.name; - } - function isValidDeclarationForTupleLabel(d) { - return d.kind === 202 /* NamedTupleMember */ || isParameter(d) && d.name && isIdentifier(d.name); - } - function getNameableDeclarationAtPosition(signature, pos) { - const paramCount = signature.parameters.length - (signatureHasRestParameter(signature) ? 1 : 0); - if (pos < paramCount) { - const decl = signature.parameters[pos].valueDeclaration; - return decl && isValidDeclarationForTupleLabel(decl) ? decl : void 0; - } - const restParameter = signature.parameters[paramCount] || unknownSymbol; - const restType = getTypeOfSymbol(restParameter); - if (isTupleType(restType)) { - const associatedNames = restType.target.labeledElementDeclarations; - const index = pos - paramCount; - return associatedNames && associatedNames[index]; - } - return restParameter.valueDeclaration && isValidDeclarationForTupleLabel(restParameter.valueDeclaration) ? restParameter.valueDeclaration : void 0; - } - function getTypeAtPosition(signature, pos) { - return tryGetTypeAtPosition(signature, pos) || anyType; - } - function tryGetTypeAtPosition(signature, pos) { - const paramCount = signature.parameters.length - (signatureHasRestParameter(signature) ? 1 : 0); - if (pos < paramCount) { - return getTypeOfParameter(signature.parameters[pos]); - } - if (signatureHasRestParameter(signature)) { - const restType = getTypeOfSymbol(signature.parameters[paramCount]); - const index = pos - paramCount; - if (!isTupleType(restType) || restType.target.combinedFlags & 12 /* Variable */ || index < restType.target.fixedLength) { - return getIndexedAccessType(restType, getNumberLiteralType(index)); - } - } - return void 0; - } - function getRestTypeAtPosition(source, pos, readonly) { - const parameterCount = getParameterCount(source); - const minArgumentCount = getMinArgumentCount(source); - const restType = getEffectiveRestType(source); - if (restType && pos >= parameterCount - 1) { - return pos === parameterCount - 1 ? restType : createArrayType(getIndexedAccessType(restType, numberType)); - } - const types = []; - const flags = []; - const names = []; - for (let i = pos; i < parameterCount; i++) { - if (!restType || i < parameterCount - 1) { - types.push(getTypeAtPosition(source, i)); - flags.push(i < minArgumentCount ? 1 /* Required */ : 2 /* Optional */); - } else { - types.push(restType); - flags.push(8 /* Variadic */); - } - names.push(getNameableDeclarationAtPosition(source, i)); - } - return createTupleType(types, flags, readonly, names); - } - function getRestOrAnyTypeAtPosition(source, pos) { - const restType = getRestTypeAtPosition(source, pos); - const elementType = restType && getElementTypeOfArrayType(restType); - return elementType && isTypeAny(elementType) ? anyType : restType; - } - function getParameterCount(signature) { - const length2 = signature.parameters.length; - if (signatureHasRestParameter(signature)) { - const restType = getTypeOfSymbol(signature.parameters[length2 - 1]); - if (isTupleType(restType)) { - return length2 + restType.target.fixedLength - (restType.target.combinedFlags & 12 /* Variable */ ? 0 : 1); - } - } - return length2; - } - function getMinArgumentCount(signature, flags) { - const strongArityForUntypedJS = flags & 1 /* StrongArityForUntypedJS */; - const voidIsNonOptional = flags & 2 /* VoidIsNonOptional */; - if (voidIsNonOptional || signature.resolvedMinArgumentCount === void 0) { - let minArgumentCount; - if (signatureHasRestParameter(signature)) { - const restType = getTypeOfSymbol(signature.parameters[signature.parameters.length - 1]); - if (isTupleType(restType)) { - const firstOptionalIndex = findIndex(restType.target.elementFlags, (f) => !(f & 1 /* Required */)); - const requiredCount = firstOptionalIndex < 0 ? restType.target.fixedLength : firstOptionalIndex; - if (requiredCount > 0) { - minArgumentCount = signature.parameters.length - 1 + requiredCount; - } - } - } - if (minArgumentCount === void 0) { - if (!strongArityForUntypedJS && signature.flags & 32 /* IsUntypedSignatureInJSFile */) { - return 0; - } - minArgumentCount = signature.minArgumentCount; - } - if (voidIsNonOptional) { - return minArgumentCount; - } - for (let i = minArgumentCount - 1; i >= 0; i--) { - const type = getTypeAtPosition(signature, i); - if (filterType(type, acceptsVoid).flags & 131072 /* Never */) { - break; - } - minArgumentCount = i; - } - signature.resolvedMinArgumentCount = minArgumentCount; - } - return signature.resolvedMinArgumentCount; - } - function hasEffectiveRestParameter(signature) { - if (signatureHasRestParameter(signature)) { - const restType = getTypeOfSymbol(signature.parameters[signature.parameters.length - 1]); - return !isTupleType(restType) || !!(restType.target.combinedFlags & 12 /* Variable */); - } - return false; - } - function getEffectiveRestType(signature) { - if (signatureHasRestParameter(signature)) { - const restType = getTypeOfSymbol(signature.parameters[signature.parameters.length - 1]); - if (!isTupleType(restType)) { - return isTypeAny(restType) ? anyArrayType : restType; - } - if (restType.target.combinedFlags & 12 /* Variable */) { - return sliceTupleType(restType, restType.target.fixedLength); - } - } - return void 0; - } - function getNonArrayRestType(signature) { - const restType = getEffectiveRestType(signature); - return restType && !isArrayType(restType) && !isTypeAny(restType) ? restType : void 0; - } - function getTypeOfFirstParameterOfSignature(signature) { - return getTypeOfFirstParameterOfSignatureWithFallback(signature, neverType); - } - function getTypeOfFirstParameterOfSignatureWithFallback(signature, fallbackType) { - return signature.parameters.length > 0 ? getTypeAtPosition(signature, 0) : fallbackType; - } - function inferFromAnnotatedParameters(signature, context, inferenceContext) { - const len = signature.parameters.length - (signatureHasRestParameter(signature) ? 1 : 0); - for (let i = 0; i < len; i++) { - const declaration = signature.parameters[i].valueDeclaration; - const typeNode = getEffectiveTypeAnnotationNode(declaration); - if (typeNode) { - const source = addOptionality( - getTypeFromTypeNode(typeNode), - /*isProperty*/ - false, - isOptionalDeclaration(declaration) - ); - const target = getTypeAtPosition(context, i); - inferTypes(inferenceContext.inferences, source, target); - } - } - } - function assignContextualParameterTypes(signature, context) { - if (context.typeParameters) { - if (!signature.typeParameters) { - signature.typeParameters = context.typeParameters; - } else { - return; - } - } - if (context.thisParameter) { - const parameter = signature.thisParameter; - if (!parameter || parameter.valueDeclaration && !parameter.valueDeclaration.type) { - if (!parameter) { - signature.thisParameter = createSymbolWithType( - context.thisParameter, - /*type*/ - void 0 - ); - } - assignParameterType(signature.thisParameter, getTypeOfSymbol(context.thisParameter)); - } - } - const len = signature.parameters.length - (signatureHasRestParameter(signature) ? 1 : 0); - for (let i = 0; i < len; i++) { - const parameter = signature.parameters[i]; - const declaration = parameter.valueDeclaration; - if (!getEffectiveTypeAnnotationNode(declaration)) { - let type = tryGetTypeAtPosition(context, i); - if (type && declaration.initializer) { - let initializerType = checkDeclarationInitializer(declaration, 0 /* Normal */); - if (!isTypeAssignableTo(initializerType, type) && isTypeAssignableTo(type, initializerType = widenTypeInferredFromInitializer(declaration, initializerType))) { - type = initializerType; - } - } - assignParameterType(parameter, type); - } - } - if (signatureHasRestParameter(signature)) { - const parameter = last(signature.parameters); - if (parameter.valueDeclaration ? !getEffectiveTypeAnnotationNode(parameter.valueDeclaration) : !!(getCheckFlags(parameter) & 65536 /* DeferredType */)) { - const contextualParameterType = getRestTypeAtPosition(context, len); - assignParameterType(parameter, contextualParameterType); - } - } - } - function assignNonContextualParameterTypes(signature) { - if (signature.thisParameter) { - assignParameterType(signature.thisParameter); - } - for (const parameter of signature.parameters) { - assignParameterType(parameter); - } - } - function assignParameterType(parameter, contextualType) { - const links = getSymbolLinks(parameter); - if (!links.type) { - const declaration = parameter.valueDeclaration; - links.type = addOptionality( - contextualType || (declaration ? getWidenedTypeForVariableLikeDeclaration( - declaration, - /*reportErrors*/ - true - ) : getTypeOfSymbol(parameter)), - /*isProperty*/ - false, - /*isOptional*/ - !!declaration && !declaration.initializer && isOptionalDeclaration(declaration) - ); - if (declaration && declaration.name.kind !== 80 /* Identifier */) { - if (links.type === unknownType) { - links.type = getTypeFromBindingPattern(declaration.name); - } - assignBindingElementTypes(declaration.name, links.type); - } - } else if (contextualType) { - Debug.assertEqual(links.type, contextualType, "Parameter symbol already has a cached type which differs from newly assigned type"); - } - } - function assignBindingElementTypes(pattern, parentType) { - for (const element of pattern.elements) { - if (!isOmittedExpression(element)) { - const type = getBindingElementTypeFromParentType( - element, - parentType, - /*noTupleBoundsCheck*/ - false - ); - if (element.name.kind === 80 /* Identifier */) { - getSymbolLinks(getSymbolOfDeclaration(element)).type = type; - } else { - assignBindingElementTypes(element.name, type); - } - } - } - } - function createClassDecoratorContextType(classType) { - return tryCreateTypeReference(getGlobalClassDecoratorContextType( - /*reportErrors*/ - true - ), [classType]); - } - function createClassMethodDecoratorContextType(thisType, valueType) { - return tryCreateTypeReference(getGlobalClassMethodDecoratorContextType( - /*reportErrors*/ - true - ), [thisType, valueType]); - } - function createClassGetterDecoratorContextType(thisType, valueType) { - return tryCreateTypeReference(getGlobalClassGetterDecoratorContextType( - /*reportErrors*/ - true - ), [thisType, valueType]); - } - function createClassSetterDecoratorContextType(thisType, valueType) { - return tryCreateTypeReference(getGlobalClassSetterDecoratorContextType( - /*reportErrors*/ - true - ), [thisType, valueType]); - } - function createClassAccessorDecoratorContextType(thisType, valueType) { - return tryCreateTypeReference(getGlobalClassAccessorDecoratorContextType( - /*reportErrors*/ - true - ), [thisType, valueType]); - } - function createClassFieldDecoratorContextType(thisType, valueType) { - return tryCreateTypeReference(getGlobalClassFieldDecoratorContextType( - /*reportErrors*/ - true - ), [thisType, valueType]); - } - function getClassMemberDecoratorContextOverrideType(nameType, isPrivate, isStatic2) { - const key = `${isPrivate ? "p" : "P"}${isStatic2 ? "s" : "S"}${nameType.id}`; - let overrideType = decoratorContextOverrideTypeCache.get(key); - if (!overrideType) { - const members = createSymbolTable(); - members.set("name", createProperty("name", nameType)); - members.set("private", createProperty("private", isPrivate ? trueType : falseType)); - members.set("static", createProperty("static", isStatic2 ? trueType : falseType)); - overrideType = createAnonymousType( - /*symbol*/ - void 0, - members, - emptyArray, - emptyArray, - emptyArray - ); - decoratorContextOverrideTypeCache.set(key, overrideType); - } - return overrideType; - } - function createClassMemberDecoratorContextTypeForNode(node, thisType, valueType) { - const isStatic2 = hasStaticModifier(node); - const isPrivate = isPrivateIdentifier(node.name); - const nameType = isPrivate ? getStringLiteralType(idText(node.name)) : getLiteralTypeFromPropertyName(node.name); - const contextType = isMethodDeclaration(node) ? createClassMethodDecoratorContextType(thisType, valueType) : isGetAccessorDeclaration(node) ? createClassGetterDecoratorContextType(thisType, valueType) : isSetAccessorDeclaration(node) ? createClassSetterDecoratorContextType(thisType, valueType) : isAutoAccessorPropertyDeclaration(node) ? createClassAccessorDecoratorContextType(thisType, valueType) : isPropertyDeclaration(node) ? createClassFieldDecoratorContextType(thisType, valueType) : Debug.failBadSyntaxKind(node); - const overrideType = getClassMemberDecoratorContextOverrideType(nameType, isPrivate, isStatic2); - return getIntersectionType([contextType, overrideType]); - } - function createClassAccessorDecoratorTargetType(thisType, valueType) { - return tryCreateTypeReference(getGlobalClassAccessorDecoratorTargetType( - /*reportErrors*/ - true - ), [thisType, valueType]); - } - function createClassAccessorDecoratorResultType(thisType, valueType) { - return tryCreateTypeReference(getGlobalClassAccessorDecoratorResultType( - /*reportErrors*/ - true - ), [thisType, valueType]); - } - function createClassFieldDecoratorInitializerMutatorType(thisType, valueType) { - const thisParam = createParameter("this", thisType); - const valueParam = createParameter("value", valueType); - return createFunctionType( - /*typeParameters*/ - void 0, - thisParam, - [valueParam], - valueType, - /*typePredicate*/ - void 0, - 1 - ); - } - function createESDecoratorCallSignature(targetType, contextType, nonOptionalReturnType) { - const targetParam = createParameter("target", targetType); - const contextParam = createParameter("context", contextType); - const returnType = getUnionType([nonOptionalReturnType, voidType]); - return createCallSignature( - /*typeParameters*/ - void 0, - /*thisParameter*/ - void 0, - [targetParam, contextParam], - returnType - ); - } - function getESDecoratorCallSignature(decorator) { - const { parent } = decorator; - const links = getNodeLinks(parent); - if (!links.decoratorSignature) { - links.decoratorSignature = anySignature; - switch (parent.kind) { - case 263 /* ClassDeclaration */: - case 231 /* ClassExpression */: { - const node = parent; - const targetType = getTypeOfSymbol(getSymbolOfDeclaration(node)); - const contextType = createClassDecoratorContextType(targetType); - links.decoratorSignature = createESDecoratorCallSignature(targetType, contextType, targetType); - break; - } - case 174 /* MethodDeclaration */: - case 177 /* GetAccessor */: - case 178 /* SetAccessor */: { - const node = parent; - if (!isClassLike(node.parent)) break; - const valueType = isMethodDeclaration(node) ? getOrCreateTypeFromSignature(getSignatureFromDeclaration(node)) : getTypeOfNode(node); - const thisType = hasStaticModifier(node) ? getTypeOfSymbol(getSymbolOfDeclaration(node.parent)) : getDeclaredTypeOfClassOrInterface(getSymbolOfDeclaration(node.parent)); - const targetType = isGetAccessorDeclaration(node) ? createGetterFunctionType(valueType) : isSetAccessorDeclaration(node) ? createSetterFunctionType(valueType) : valueType; - const contextType = createClassMemberDecoratorContextTypeForNode(node, thisType, valueType); - const returnType = isGetAccessorDeclaration(node) ? createGetterFunctionType(valueType) : isSetAccessorDeclaration(node) ? createSetterFunctionType(valueType) : valueType; - links.decoratorSignature = createESDecoratorCallSignature(targetType, contextType, returnType); - break; - } - case 172 /* PropertyDeclaration */: { - const node = parent; - if (!isClassLike(node.parent)) break; - const valueType = getTypeOfNode(node); - const thisType = hasStaticModifier(node) ? getTypeOfSymbol(getSymbolOfDeclaration(node.parent)) : getDeclaredTypeOfClassOrInterface(getSymbolOfDeclaration(node.parent)); - const targetType = hasAccessorModifier(node) ? createClassAccessorDecoratorTargetType(thisType, valueType) : undefinedType; - const contextType = createClassMemberDecoratorContextTypeForNode(node, thisType, valueType); - const returnType = hasAccessorModifier(node) ? createClassAccessorDecoratorResultType(thisType, valueType) : createClassFieldDecoratorInitializerMutatorType(thisType, valueType); - links.decoratorSignature = createESDecoratorCallSignature(targetType, contextType, returnType); - break; - } - } - } - return links.decoratorSignature === anySignature ? void 0 : links.decoratorSignature; - } - function getLegacyDecoratorCallSignature(decorator) { - const { parent } = decorator; - const links = getNodeLinks(parent); - if (!links.decoratorSignature) { - links.decoratorSignature = anySignature; - switch (parent.kind) { - case 263 /* ClassDeclaration */: - case 231 /* ClassExpression */: { - const node = parent; - const targetType = getTypeOfSymbol(getSymbolOfDeclaration(node)); - const targetParam = createParameter("target", targetType); - links.decoratorSignature = createCallSignature( - /*typeParameters*/ - void 0, - /*thisParameter*/ - void 0, - [targetParam], - getUnionType([targetType, voidType]) - ); - break; - } - case 169 /* Parameter */: { - const node = parent; - if (!isConstructorDeclaration(node.parent) && !(isMethodDeclaration(node.parent) || isSetAccessorDeclaration(node.parent) && isClassLike(node.parent.parent))) { - break; - } - if (getThisParameter(node.parent) === node) { - break; - } - const index = getThisParameter(node.parent) ? node.parent.parameters.indexOf(node) - 1 : node.parent.parameters.indexOf(node); - Debug.assert(index >= 0); - const targetType = isConstructorDeclaration(node.parent) ? getTypeOfSymbol(getSymbolOfDeclaration(node.parent.parent)) : getParentTypeOfClassElement(node.parent); - const keyType = isConstructorDeclaration(node.parent) ? undefinedType : getClassElementPropertyKeyType(node.parent); - const indexType = getNumberLiteralType(index); - const targetParam = createParameter("target", targetType); - const keyParam = createParameter("propertyKey", keyType); - const indexParam = createParameter("parameterIndex", indexType); - links.decoratorSignature = createCallSignature( - /*typeParameters*/ - void 0, - /*thisParameter*/ - void 0, - [targetParam, keyParam, indexParam], - voidType - ); - break; - } - case 174 /* MethodDeclaration */: - case 177 /* GetAccessor */: - case 178 /* SetAccessor */: - case 172 /* PropertyDeclaration */: { - const node = parent; - if (!isClassLike(node.parent)) break; - const targetType = getParentTypeOfClassElement(node); - const targetParam = createParameter("target", targetType); - const keyType = getClassElementPropertyKeyType(node); - const keyParam = createParameter("propertyKey", keyType); - const returnType = isPropertyDeclaration(node) ? voidType : createTypedPropertyDescriptorType(getTypeOfNode(node)); - const hasPropDesc = !isPropertyDeclaration(parent) || hasAccessorModifier(parent); - if (hasPropDesc) { - const descriptorType = createTypedPropertyDescriptorType(getTypeOfNode(node)); - const descriptorParam = createParameter("descriptor", descriptorType); - links.decoratorSignature = createCallSignature( - /*typeParameters*/ - void 0, - /*thisParameter*/ - void 0, - [targetParam, keyParam, descriptorParam], - getUnionType([returnType, voidType]) - ); - } else { - links.decoratorSignature = createCallSignature( - /*typeParameters*/ - void 0, - /*thisParameter*/ - void 0, - [targetParam, keyParam], - getUnionType([returnType, voidType]) - ); - } - break; - } - } - } - return links.decoratorSignature === anySignature ? void 0 : links.decoratorSignature; - } - function getDecoratorCallSignature(decorator) { - return legacyDecorators ? getLegacyDecoratorCallSignature(decorator) : getESDecoratorCallSignature(decorator); - } - function createPromiseType(promisedType) { - const globalPromiseType = getGlobalPromiseType( - /*reportErrors*/ - true - ); - if (globalPromiseType !== emptyGenericType) { - promisedType = getAwaitedTypeNoAlias(unwrapAwaitedType(promisedType)) || unknownType; - return createTypeReference(globalPromiseType, [promisedType]); - } - return unknownType; - } - function createPromiseLikeType(promisedType) { - const globalPromiseLikeType = getGlobalPromiseLikeType( - /*reportErrors*/ - true - ); - if (globalPromiseLikeType !== emptyGenericType) { - promisedType = getAwaitedTypeNoAlias(unwrapAwaitedType(promisedType)) || unknownType; - return createTypeReference(globalPromiseLikeType, [promisedType]); - } - return unknownType; - } - function createPromiseReturnType(func, promisedType) { - const promiseType = createPromiseType(promisedType); - if (promiseType === unknownType) { - error( - func, - isImportCall(func) ? Diagnostics.A_dynamic_import_call_returns_a_Promise_Make_sure_you_have_a_declaration_for_Promise_or_include_ES2015_in_your_lib_option : Diagnostics.An_async_function_or_method_must_return_a_Promise_Make_sure_you_have_a_declaration_for_Promise_or_include_ES2015_in_your_lib_option - ); - return errorType; - } else if (!getGlobalPromiseConstructorSymbol( - /*reportErrors*/ - true - )) { - error( - func, - isImportCall(func) ? Diagnostics.A_dynamic_import_call_in_ES5_requires_the_Promise_constructor_Make_sure_you_have_a_declaration_for_the_Promise_constructor_or_include_ES2015_in_your_lib_option : Diagnostics.An_async_function_or_method_in_ES5_requires_the_Promise_constructor_Make_sure_you_have_a_declaration_for_the_Promise_constructor_or_include_ES2015_in_your_lib_option - ); - } - return promiseType; - } - function createNewTargetExpressionType(targetType) { - const symbol = createSymbol(0 /* None */, "NewTargetExpression"); - const targetPropertySymbol = createSymbol(4 /* Property */, "target", 8 /* Readonly */); - targetPropertySymbol.parent = symbol; - targetPropertySymbol.links.type = targetType; - const members = createSymbolTable([targetPropertySymbol]); - symbol.members = members; - return createAnonymousType(symbol, members, emptyArray, emptyArray, emptyArray); - } - function getReturnTypeFromBody(func, checkMode) { - if (!func.body) { - return errorType; - } - const functionFlags = getFunctionFlags(func); - const isAsync = (functionFlags & 2 /* Async */) !== 0; - const isGenerator = (functionFlags & 1 /* Generator */) !== 0; - let returnType; - let yieldType; - let nextType; - let fallbackReturnType = voidType; - if (func.body.kind !== 241 /* Block */) { - returnType = checkExpressionCached(func.body, checkMode && checkMode & ~8 /* SkipGenericFunctions */); - if (isAsync) { - returnType = unwrapAwaitedType(checkAwaitedType( - returnType, - /*withAlias*/ - false, - /*errorNode*/ - func, - Diagnostics.The_return_type_of_an_async_function_must_either_be_a_valid_promise_or_must_not_contain_a_callable_then_member - )); - } - } else if (isGenerator) { - const returnTypes = checkAndAggregateReturnExpressionTypes(func, checkMode); - if (!returnTypes) { - fallbackReturnType = neverType; - } else if (returnTypes.length > 0) { - returnType = getUnionType(returnTypes, 2 /* Subtype */); - } - const { yieldTypes, nextTypes } = checkAndAggregateYieldOperandTypes(func, checkMode); - yieldType = some(yieldTypes) ? getUnionType(yieldTypes, 2 /* Subtype */) : void 0; - nextType = some(nextTypes) ? getIntersectionType(nextTypes) : void 0; - } else { - const types = checkAndAggregateReturnExpressionTypes(func, checkMode); - if (!types) { - return functionFlags & 2 /* Async */ ? createPromiseReturnType(func, neverType) : neverType; - } - if (types.length === 0) { - const contextualReturnType = getContextualReturnType( - func, - /*contextFlags*/ - void 0 - ); - const returnType2 = contextualReturnType && (unwrapReturnType(contextualReturnType, functionFlags) || voidType).flags & 32768 /* Undefined */ ? undefinedType : voidType; - return functionFlags & 2 /* Async */ ? createPromiseReturnType(func, returnType2) : ( - // Async function - returnType2 - ); - } - returnType = getUnionType(types, 2 /* Subtype */); - } - if (returnType || yieldType || nextType) { - if (yieldType) reportErrorsFromWidening(func, yieldType, 3 /* GeneratorYield */); - if (returnType) reportErrorsFromWidening(func, returnType, 1 /* FunctionReturn */); - if (nextType) reportErrorsFromWidening(func, nextType, 2 /* GeneratorNext */); - if (returnType && isUnitType(returnType) || yieldType && isUnitType(yieldType) || nextType && isUnitType(nextType)) { - const contextualSignature = getContextualSignatureForFunctionLikeDeclaration(func); - const contextualType = !contextualSignature ? void 0 : contextualSignature === getSignatureFromDeclaration(func) ? isGenerator ? void 0 : returnType : instantiateContextualType( - getReturnTypeOfSignature(contextualSignature), - func, - /*contextFlags*/ - void 0 - ); - if (isGenerator) { - yieldType = getWidenedLiteralLikeTypeForContextualIterationTypeIfNeeded(yieldType, contextualType, 0 /* Yield */, isAsync); - returnType = getWidenedLiteralLikeTypeForContextualIterationTypeIfNeeded(returnType, contextualType, 1 /* Return */, isAsync); - nextType = getWidenedLiteralLikeTypeForContextualIterationTypeIfNeeded(nextType, contextualType, 2 /* Next */, isAsync); - } else { - returnType = getWidenedLiteralLikeTypeForContextualReturnTypeIfNeeded(returnType, contextualType, isAsync); - } - } - if (yieldType) yieldType = getWidenedType(yieldType); - if (returnType) returnType = getWidenedType(returnType); - if (nextType) nextType = getWidenedType(nextType); - } - if (isGenerator) { - return createGeneratorType( - yieldType || neverType, - returnType || fallbackReturnType, - nextType || getContextualIterationType(2 /* Next */, func) || unknownType, - isAsync - ); - } else { - return isAsync ? createPromiseType(returnType || fallbackReturnType) : returnType || fallbackReturnType; - } - } - function createGeneratorType(yieldType, returnType, nextType, isAsyncGenerator) { - const resolver = isAsyncGenerator ? asyncIterationTypesResolver : syncIterationTypesResolver; - const globalGeneratorType = resolver.getGlobalGeneratorType( - /*reportErrors*/ - false - ); - yieldType = resolver.resolveIterationType( - yieldType, - /*errorNode*/ - void 0 - ) || unknownType; - returnType = resolver.resolveIterationType( - returnType, - /*errorNode*/ - void 0 - ) || unknownType; - if (globalGeneratorType === emptyGenericType) { - const globalIterableIteratorType = resolver.getGlobalIterableIteratorType( - /*reportErrors*/ - false - ); - if (globalIterableIteratorType !== emptyGenericType) { - return createTypeFromGenericGlobalType(globalIterableIteratorType, [yieldType, returnType, nextType]); - } - resolver.getGlobalIterableIteratorType( - /*reportErrors*/ - true - ); - return emptyObjectType; - } - return createTypeFromGenericGlobalType(globalGeneratorType, [yieldType, returnType, nextType]); - } - function checkAndAggregateYieldOperandTypes(func, checkMode) { - const yieldTypes = []; - const nextTypes = []; - const isAsync = (getFunctionFlags(func) & 2 /* Async */) !== 0; - forEachYieldExpression(func.body, (yieldExpression) => { - const yieldExpressionType = yieldExpression.expression ? checkExpression(yieldExpression.expression, checkMode) : undefinedWideningType; - pushIfUnique(yieldTypes, getYieldedTypeOfYieldExpression(yieldExpression, yieldExpressionType, anyType, isAsync)); - let nextType; - if (yieldExpression.asteriskToken) { - const iterationTypes = getIterationTypesOfIterable( - yieldExpressionType, - isAsync ? 19 /* AsyncYieldStar */ : 17 /* YieldStar */, - yieldExpression.expression - ); - nextType = iterationTypes && iterationTypes.nextType; - } else { - nextType = getContextualType( - yieldExpression, - /*contextFlags*/ - void 0 - ); - } - if (nextType) pushIfUnique(nextTypes, nextType); - }); - return { yieldTypes, nextTypes }; - } - function getYieldedTypeOfYieldExpression(node, expressionType, sentType, isAsync) { - const errorNode = node.expression || node; - const yieldedType = node.asteriskToken ? checkIteratedTypeOrElementType(isAsync ? 19 /* AsyncYieldStar */ : 17 /* YieldStar */, expressionType, sentType, errorNode) : expressionType; - return !isAsync ? yieldedType : getAwaitedType( - yieldedType, - errorNode, - node.asteriskToken ? Diagnostics.Type_of_iterated_elements_of_a_yield_Asterisk_operand_must_either_be_a_valid_promise_or_must_not_contain_a_callable_then_member : Diagnostics.Type_of_yield_operand_in_an_async_generator_must_either_be_a_valid_promise_or_must_not_contain_a_callable_then_member - ); - } - function getNotEqualFactsFromTypeofSwitch(start, end, witnesses) { - let facts = 0 /* None */; - for (let i = 0; i < witnesses.length; i++) { - const witness = i < start || i >= end ? witnesses[i] : void 0; - facts |= witness !== void 0 ? typeofNEFacts.get(witness) || 32768 /* TypeofNEHostObject */ : 0; - } - return facts; - } - function isExhaustiveSwitchStatement(node) { - const links = getNodeLinks(node); - if (links.isExhaustive === void 0) { - links.isExhaustive = 0; - const exhaustive = computeExhaustiveSwitchStatement(node); - if (links.isExhaustive === 0) { - links.isExhaustive = exhaustive; - } - } else if (links.isExhaustive === 0) { - links.isExhaustive = false; - } - return links.isExhaustive; - } - function computeExhaustiveSwitchStatement(node) { - if (node.expression.kind === 221 /* TypeOfExpression */) { - const witnesses = getSwitchClauseTypeOfWitnesses(node); - if (!witnesses) { - return false; - } - const operandConstraint = getBaseConstraintOrType(checkExpressionCached(node.expression.expression)); - const notEqualFacts = getNotEqualFactsFromTypeofSwitch(0, 0, witnesses); - if (operandConstraint.flags & 3 /* AnyOrUnknown */) { - return (556800 /* AllTypeofNE */ & notEqualFacts) === 556800 /* AllTypeofNE */; - } - return !someType(operandConstraint, (t) => getTypeFacts(t, notEqualFacts) === notEqualFacts); - } - const type = checkExpressionCached(node.expression); - if (!isLiteralType(type)) { - return false; - } - const switchTypes = getSwitchClauseTypes(node); - if (!switchTypes.length || some(switchTypes, isNeitherUnitTypeNorNever)) { - return false; - } - return eachTypeContainedIn(mapType(type, getRegularTypeOfLiteralType), switchTypes); - } - function functionHasImplicitReturn(func) { - return func.endFlowNode && isReachableFlowNode(func.endFlowNode); - } - function checkAndAggregateReturnExpressionTypes(func, checkMode) { - const functionFlags = getFunctionFlags(func); - const aggregatedTypes = []; - let hasReturnWithNoExpression = functionHasImplicitReturn(func); - let hasReturnOfTypeNever = false; - forEachReturnStatement(func.body, (returnStatement) => { - let expr = returnStatement.expression; - if (expr) { - expr = skipParentheses( - expr, - /*excludeJSDocTypeAssertions*/ - true - ); - if (functionFlags & 2 /* Async */ && expr.kind === 223 /* AwaitExpression */) { - expr = skipParentheses( - expr.expression, - /*excludeJSDocTypeAssertions*/ - true - ); - } - if (expr.kind === 213 /* CallExpression */ && expr.expression.kind === 80 /* Identifier */ && checkExpressionCached(expr.expression).symbol === getMergedSymbol(func.symbol) && (!isFunctionExpressionOrArrowFunction(func.symbol.valueDeclaration) || isConstantReference(expr.expression))) { - hasReturnOfTypeNever = true; - return; - } - let type = checkExpressionCached(expr, checkMode && checkMode & ~8 /* SkipGenericFunctions */); - if (functionFlags & 2 /* Async */) { - type = unwrapAwaitedType(checkAwaitedType( - type, - /*withAlias*/ - false, - func, - Diagnostics.The_return_type_of_an_async_function_must_either_be_a_valid_promise_or_must_not_contain_a_callable_then_member - )); - } - if (type.flags & 131072 /* Never */) { - hasReturnOfTypeNever = true; - } - pushIfUnique(aggregatedTypes, type); - } else { - hasReturnWithNoExpression = true; - } - }); - if (aggregatedTypes.length === 0 && !hasReturnWithNoExpression && (hasReturnOfTypeNever || mayReturnNever(func))) { - return void 0; - } - if (strictNullChecks && aggregatedTypes.length && hasReturnWithNoExpression && !(isJSConstructor(func) && aggregatedTypes.some((t) => t.symbol === func.symbol))) { - pushIfUnique(aggregatedTypes, undefinedType); - } - return aggregatedTypes; - } - function mayReturnNever(func) { - switch (func.kind) { - case 218 /* FunctionExpression */: - case 219 /* ArrowFunction */: - return true; - case 174 /* MethodDeclaration */: - return func.parent.kind === 210 /* ObjectLiteralExpression */; - default: - return false; - } - } - function getTypePredicateFromBody(func) { - switch (func.kind) { - case 176 /* Constructor */: - case 177 /* GetAccessor */: - case 178 /* SetAccessor */: - return void 0; - } - const functionFlags = getFunctionFlags(func); - if (functionFlags !== 0 /* Normal */) return void 0; - let singleReturn; - if (func.body && func.body.kind !== 241 /* Block */) { - singleReturn = func.body; - } else { - const bailedEarly = forEachReturnStatement(func.body, (returnStatement) => { - if (singleReturn || !returnStatement.expression) return true; - singleReturn = returnStatement.expression; - }); - if (bailedEarly || !singleReturn || functionHasImplicitReturn(func)) return void 0; - } - return checkIfExpressionRefinesAnyParameter(func, singleReturn); - } - function checkIfExpressionRefinesAnyParameter(func, expr) { - expr = skipParentheses( - expr, - /*excludeJSDocTypeAssertions*/ - true - ); - const returnType = checkExpressionCached(expr); - if (!(returnType.flags & 16 /* Boolean */)) return void 0; - return forEach(func.parameters, (param, i) => { - const initType = getTypeOfSymbol(param.symbol); - if (!initType || initType.flags & 16 /* Boolean */ || !isIdentifier(param.name) || isSymbolAssigned(param.symbol) || isRestParameter(param)) { - return; - } - const trueType2 = checkIfExpressionRefinesParameter(func, expr, param, initType); - if (trueType2) { - return createTypePredicate(1 /* Identifier */, unescapeLeadingUnderscores(param.name.escapedText), i, trueType2); - } - }); - } - function checkIfExpressionRefinesParameter(func, expr, param, initType) { - const antecedent = expr.flowNode || expr.parent.kind === 253 /* ReturnStatement */ && expr.parent.flowNode || createFlowNode( - 2 /* Start */, - /*node*/ - void 0, - /*antecedent*/ - void 0 - ); - const trueCondition = createFlowNode(32 /* TrueCondition */, expr, antecedent); - const trueType2 = getFlowTypeOfReference(param.name, initType, initType, func, trueCondition); - if (trueType2 === initType) return void 0; - const falseCondition = createFlowNode(64 /* FalseCondition */, expr, antecedent); - const falseSubtype = getFlowTypeOfReference(param.name, initType, trueType2, func, falseCondition); - return falseSubtype.flags & 131072 /* Never */ ? trueType2 : void 0; - } - function checkAllCodePathsInNonVoidFunctionReturnOrThrow(func, returnType) { - addLazyDiagnostic(checkAllCodePathsInNonVoidFunctionReturnOrThrowDiagnostics); - return; - function checkAllCodePathsInNonVoidFunctionReturnOrThrowDiagnostics() { - const functionFlags = getFunctionFlags(func); - const type = returnType && unwrapReturnType(returnType, functionFlags); - if (type && (maybeTypeOfKind(type, 16384 /* Void */) || type.flags & (1 /* Any */ | 32768 /* Undefined */))) { - return; - } - if (func.kind === 173 /* MethodSignature */ || nodeIsMissing(func.body) || func.body.kind !== 241 /* Block */ || !functionHasImplicitReturn(func)) { - return; - } - const hasExplicitReturn = func.flags & 1024 /* HasExplicitReturn */; - const errorNode = getEffectiveReturnTypeNode(func) || func; - if (type && type.flags & 131072 /* Never */) { - error(errorNode, Diagnostics.A_function_returning_never_cannot_have_a_reachable_end_point); - } else if (type && !hasExplicitReturn) { - error(errorNode, Diagnostics.A_function_whose_declared_type_is_neither_undefined_void_nor_any_must_return_a_value); - } else if (type && strictNullChecks && !isTypeAssignableTo(undefinedType, type)) { - error(errorNode, Diagnostics.Function_lacks_ending_return_statement_and_return_type_does_not_include_undefined); - } else if (compilerOptions.noImplicitReturns) { - if (!type) { - if (!hasExplicitReturn) { - return; - } - const inferredReturnType = getReturnTypeOfSignature(getSignatureFromDeclaration(func)); - if (isUnwrappedReturnTypeUndefinedVoidOrAny(func, inferredReturnType)) { - return; - } - } - error(errorNode, Diagnostics.Not_all_code_paths_return_a_value); - } - } - } - function checkFunctionExpressionOrObjectLiteralMethod(node, checkMode) { - Debug.assert(node.kind !== 174 /* MethodDeclaration */ || isObjectLiteralMethod(node)); - checkNodeDeferred(node); - if (isFunctionExpression(node)) { - checkCollisionsForDeclarationName(node, node.name); - } - if (checkMode && checkMode & 4 /* SkipContextSensitive */ && isContextSensitive(node)) { - if (!getEffectiveReturnTypeNode(node) && !hasContextSensitiveParameters(node)) { - const contextualSignature = getContextualSignature(node); - if (contextualSignature && couldContainTypeVariables(getReturnTypeOfSignature(contextualSignature))) { - const links = getNodeLinks(node); - if (links.contextFreeType) { - return links.contextFreeType; - } - const returnType = getReturnTypeFromBody(node, checkMode); - const returnOnlySignature = createSignature( - /*declaration*/ - void 0, - /*typeParameters*/ - void 0, - /*thisParameter*/ - void 0, - emptyArray, - returnType, - /*resolvedTypePredicate*/ - void 0, - 0, - 64 /* IsNonInferrable */ - ); - const returnOnlyType = createAnonymousType(node.symbol, emptySymbols, [returnOnlySignature], emptyArray, emptyArray); - returnOnlyType.objectFlags |= 262144 /* NonInferrableType */; - return links.contextFreeType = returnOnlyType; - } - } - return anyFunctionType; - } - const hasGrammarError = checkGrammarFunctionLikeDeclaration(node); - if (!hasGrammarError && node.kind === 218 /* FunctionExpression */) { - checkGrammarForGenerator(node); - } - contextuallyCheckFunctionExpressionOrObjectLiteralMethod(node, checkMode); - return getTypeOfSymbol(getSymbolOfDeclaration(node)); - } - function contextuallyCheckFunctionExpressionOrObjectLiteralMethod(node, checkMode) { - const links = getNodeLinks(node); - if (!(links.flags & 64 /* ContextChecked */)) { - const contextualSignature = getContextualSignature(node); - if (!(links.flags & 64 /* ContextChecked */)) { - links.flags |= 64 /* ContextChecked */; - const signature = firstOrUndefined(getSignaturesOfType(getTypeOfSymbol(getSymbolOfDeclaration(node)), 0 /* Call */)); - if (!signature) { - return; - } - if (isContextSensitive(node)) { - if (contextualSignature) { - const inferenceContext = getInferenceContext(node); - let instantiatedContextualSignature; - if (checkMode && checkMode & 2 /* Inferential */) { - inferFromAnnotatedParameters(signature, contextualSignature, inferenceContext); - const restType = getEffectiveRestType(contextualSignature); - if (restType && restType.flags & 262144 /* TypeParameter */) { - instantiatedContextualSignature = instantiateSignature(contextualSignature, inferenceContext.nonFixingMapper); - } - } - instantiatedContextualSignature || (instantiatedContextualSignature = inferenceContext ? instantiateSignature(contextualSignature, inferenceContext.mapper) : contextualSignature); - assignContextualParameterTypes(signature, instantiatedContextualSignature); - } else { - assignNonContextualParameterTypes(signature); - } - } else if (contextualSignature && !node.typeParameters && contextualSignature.parameters.length > node.parameters.length) { - const inferenceContext = getInferenceContext(node); - if (checkMode && checkMode & 2 /* Inferential */) { - inferFromAnnotatedParameters(signature, contextualSignature, inferenceContext); - } - } - if (contextualSignature && !getReturnTypeFromAnnotation(node) && !signature.resolvedReturnType) { - const returnType = getReturnTypeFromBody(node, checkMode); - if (!signature.resolvedReturnType) { - signature.resolvedReturnType = returnType; - } - } - checkSignatureDeclaration(node); - } - } - } - function checkFunctionExpressionOrObjectLiteralMethodDeferred(node) { - Debug.assert(node.kind !== 174 /* MethodDeclaration */ || isObjectLiteralMethod(node)); - const functionFlags = getFunctionFlags(node); - const returnType = getReturnTypeFromAnnotation(node); - checkAllCodePathsInNonVoidFunctionReturnOrThrow(node, returnType); - if (node.body) { - if (!getEffectiveReturnTypeNode(node)) { - getReturnTypeOfSignature(getSignatureFromDeclaration(node)); - } - if (node.body.kind === 241 /* Block */) { - checkSourceElement(node.body); - } else { - const exprType = checkExpression(node.body); - const returnOrPromisedType = returnType && unwrapReturnType(returnType, functionFlags); - if (returnOrPromisedType) { - const effectiveCheckNode = getEffectiveCheckNode(node.body); - if ((functionFlags & 3 /* AsyncGenerator */) === 2 /* Async */) { - const awaitedType = checkAwaitedType( - exprType, - /*withAlias*/ - false, - effectiveCheckNode, - Diagnostics.The_return_type_of_an_async_function_must_either_be_a_valid_promise_or_must_not_contain_a_callable_then_member - ); - checkTypeAssignableToAndOptionallyElaborate(awaitedType, returnOrPromisedType, effectiveCheckNode, effectiveCheckNode); - } else { - checkTypeAssignableToAndOptionallyElaborate(exprType, returnOrPromisedType, effectiveCheckNode, effectiveCheckNode); - } - } - } - } - } - function checkArithmeticOperandType(operand, type, diagnostic, isAwaitValid = false) { - if (!isTypeAssignableTo(type, numberOrBigIntType)) { - const awaitedType = isAwaitValid && getAwaitedTypeOfPromise(type); - errorAndMaybeSuggestAwait( - operand, - !!awaitedType && isTypeAssignableTo(awaitedType, numberOrBigIntType), - diagnostic - ); - return false; - } - return true; - } - function isReadonlyAssignmentDeclaration(d) { - if (!isCallExpression(d)) { - return false; - } - if (!isBindableObjectDefinePropertyCall(d)) { - return false; - } - const objectLitType = checkExpressionCached(d.arguments[2]); - const valueType = getTypeOfPropertyOfType(objectLitType, "value"); - if (valueType) { - const writableProp = getPropertyOfType(objectLitType, "writable"); - const writableType = writableProp && getTypeOfSymbol(writableProp); - if (!writableType || writableType === falseType || writableType === regularFalseType) { - return true; - } - if (writableProp && writableProp.valueDeclaration && isPropertyAssignment(writableProp.valueDeclaration)) { - const initializer = writableProp.valueDeclaration.initializer; - const rawOriginalType = checkExpression(initializer); - if (rawOriginalType === falseType || rawOriginalType === regularFalseType) { - return true; - } - } - return false; - } - const setProp = getPropertyOfType(objectLitType, "set"); - return !setProp; - } - function isReadonlySymbol(symbol) { - return !!(getCheckFlags(symbol) & 8 /* Readonly */ || symbol.flags & 4 /* Property */ && getDeclarationModifierFlagsFromSymbol(symbol) & 8 /* Readonly */ || symbol.flags & 3 /* Variable */ && getDeclarationNodeFlagsFromSymbol(symbol) & 6 /* Constant */ || symbol.flags & 98304 /* Accessor */ && !(symbol.flags & 65536 /* SetAccessor */) || symbol.flags & 8 /* EnumMember */ || some(symbol.declarations, isReadonlyAssignmentDeclaration)); - } - function isAssignmentToReadonlyEntity(expr, symbol, assignmentKind) { - var _a, _b; - if (assignmentKind === 0 /* None */) { - return false; - } - if (isReadonlySymbol(symbol)) { - if (symbol.flags & 4 /* Property */ && isAccessExpression(expr) && expr.expression.kind === 110 /* ThisKeyword */) { - const ctor = getContainingFunction(expr); - if (!(ctor && (ctor.kind === 176 /* Constructor */ || isJSConstructor(ctor)))) { - return true; - } - if (symbol.valueDeclaration) { - const isAssignmentDeclaration2 = isBinaryExpression(symbol.valueDeclaration); - const isLocalPropertyDeclaration = ctor.parent === symbol.valueDeclaration.parent; - const isLocalParameterProperty = ctor === symbol.valueDeclaration.parent; - const isLocalThisPropertyAssignment = isAssignmentDeclaration2 && ((_a = symbol.parent) == null ? void 0 : _a.valueDeclaration) === ctor.parent; - const isLocalThisPropertyAssignmentConstructorFunction = isAssignmentDeclaration2 && ((_b = symbol.parent) == null ? void 0 : _b.valueDeclaration) === ctor; - const isWriteableSymbol = isLocalPropertyDeclaration || isLocalParameterProperty || isLocalThisPropertyAssignment || isLocalThisPropertyAssignmentConstructorFunction; - return !isWriteableSymbol; - } - } - return true; - } - if (isAccessExpression(expr)) { - const node = skipParentheses(expr.expression); - if (node.kind === 80 /* Identifier */) { - const symbol2 = getNodeLinks(node).resolvedSymbol; - if (symbol2.flags & 2097152 /* Alias */) { - const declaration = getDeclarationOfAliasSymbol(symbol2); - return !!declaration && declaration.kind === 274 /* NamespaceImport */; - } - } - } - return false; - } - function checkReferenceExpression(expr, invalidReferenceMessage, invalidOptionalChainMessage) { - const node = skipOuterExpressions(expr, 6 /* Assertions */ | 1 /* Parentheses */); - if (node.kind !== 80 /* Identifier */ && !isAccessExpression(node)) { - error(expr, invalidReferenceMessage); - return false; - } - if (node.flags & 64 /* OptionalChain */) { - error(expr, invalidOptionalChainMessage); - return false; - } - return true; - } - function checkDeleteExpression(node) { - checkExpression(node.expression); - const expr = skipParentheses(node.expression); - if (!isAccessExpression(expr)) { - error(expr, Diagnostics.The_operand_of_a_delete_operator_must_be_a_property_reference); - return booleanType; - } - if (isPropertyAccessExpression(expr) && isPrivateIdentifier(expr.name)) { - error(expr, Diagnostics.The_operand_of_a_delete_operator_cannot_be_a_private_identifier); - } - const links = getNodeLinks(expr); - const symbol = getExportSymbolOfValueSymbolIfExported(links.resolvedSymbol); - if (symbol) { - if (isReadonlySymbol(symbol)) { - error(expr, Diagnostics.The_operand_of_a_delete_operator_cannot_be_a_read_only_property); - } else { - checkDeleteExpressionMustBeOptional(expr, symbol); - } - } - return booleanType; - } - function checkDeleteExpressionMustBeOptional(expr, symbol) { - const type = getTypeOfSymbol(symbol); - if (strictNullChecks && !(type.flags & (3 /* AnyOrUnknown */ | 131072 /* Never */)) && !(exactOptionalPropertyTypes ? symbol.flags & 16777216 /* Optional */ : hasTypeFacts(type, 16777216 /* IsUndefined */))) { - error(expr, Diagnostics.The_operand_of_a_delete_operator_must_be_optional); - } - } - function checkTypeOfExpression(node) { - checkExpression(node.expression); - return typeofType; - } - function checkVoidExpression(node) { - checkNodeDeferred(node); - return undefinedWideningType; - } - function checkAwaitGrammar(node) { - let hasError = false; - const container = getContainingFunctionOrClassStaticBlock(node); - if (container && isClassStaticBlockDeclaration(container)) { - const message = isAwaitExpression(node) ? Diagnostics.await_expression_cannot_be_used_inside_a_class_static_block : Diagnostics.await_using_statements_cannot_be_used_inside_a_class_static_block; - error(node, message); - hasError = true; - } else if (!(node.flags & 65536 /* AwaitContext */)) { - if (isInTopLevelContext(node)) { - const sourceFile = getSourceFileOfNode(node); - if (!hasParseDiagnostics(sourceFile)) { - let span; - if (!isEffectiveExternalModule(sourceFile, compilerOptions)) { - span ?? (span = getSpanOfTokenAtPosition(sourceFile, node.pos)); - const message = isAwaitExpression(node) ? 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 : Diagnostics.await_using_statements_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; - const diagnostic = createFileDiagnostic(sourceFile, span.start, span.length, message); - diagnostics.add(diagnostic); - hasError = true; - } - switch (moduleKind) { - case 100 /* Node16 */: - case 199 /* NodeNext */: - if (sourceFile.impliedNodeFormat === 1 /* CommonJS */) { - span ?? (span = getSpanOfTokenAtPosition(sourceFile, node.pos)); - diagnostics.add( - createFileDiagnostic(sourceFile, span.start, span.length, Diagnostics.The_current_file_is_a_CommonJS_module_and_cannot_use_await_at_the_top_level) - ); - hasError = true; - break; - } - case 7 /* ES2022 */: - case 99 /* ESNext */: - case 200 /* Preserve */: - case 4 /* System */: - if (languageVersion >= 4 /* ES2017 */) { - break; - } - default: - span ?? (span = getSpanOfTokenAtPosition(sourceFile, node.pos)); - const message = isAwaitExpression(node) ? Diagnostics.Top_level_await_expressions_are_only_allowed_when_the_module_option_is_set_to_es2022_esnext_system_node16_nodenext_or_preserve_and_the_target_option_is_set_to_es2017_or_higher : Diagnostics.Top_level_await_using_statements_are_only_allowed_when_the_module_option_is_set_to_es2022_esnext_system_node16_nodenext_or_preserve_and_the_target_option_is_set_to_es2017_or_higher; - diagnostics.add(createFileDiagnostic(sourceFile, span.start, span.length, message)); - hasError = true; - break; - } - } - } else { - const sourceFile = getSourceFileOfNode(node); - if (!hasParseDiagnostics(sourceFile)) { - const span = getSpanOfTokenAtPosition(sourceFile, node.pos); - const message = isAwaitExpression(node) ? Diagnostics.await_expressions_are_only_allowed_within_async_functions_and_at_the_top_levels_of_modules : Diagnostics.await_using_statements_are_only_allowed_within_async_functions_and_at_the_top_levels_of_modules; - const diagnostic = createFileDiagnostic(sourceFile, span.start, span.length, message); - if (container && container.kind !== 176 /* Constructor */ && (getFunctionFlags(container) & 2 /* Async */) === 0) { - const relatedInfo = createDiagnosticForNode(container, Diagnostics.Did_you_mean_to_mark_this_function_as_async); - addRelatedInfo(diagnostic, relatedInfo); - } - diagnostics.add(diagnostic); - hasError = true; - } - } - } - if (isAwaitExpression(node) && isInParameterInitializerBeforeContainingFunction(node)) { - error(node, Diagnostics.await_expressions_cannot_be_used_in_a_parameter_initializer); - hasError = true; - } - return hasError; - } - function checkAwaitExpression(node) { - addLazyDiagnostic(() => checkAwaitGrammar(node)); - const operandType = checkExpression(node.expression); - const awaitedType = checkAwaitedType( - operandType, - /*withAlias*/ - true, - node, - Diagnostics.Type_of_await_operand_must_either_be_a_valid_promise_or_must_not_contain_a_callable_then_member - ); - if (awaitedType === operandType && !isErrorType(awaitedType) && !(operandType.flags & 3 /* AnyOrUnknown */)) { - addErrorOrSuggestion( - /*isError*/ - false, - createDiagnosticForNode(node, Diagnostics.await_has_no_effect_on_the_type_of_this_expression) - ); - } - return awaitedType; - } - function checkPrefixUnaryExpression(node) { - const operandType = checkExpression(node.operand); - if (operandType === silentNeverType) { - return silentNeverType; - } - switch (node.operand.kind) { - case 9 /* NumericLiteral */: - switch (node.operator) { - case 41 /* MinusToken */: - return getFreshTypeOfLiteralType(getNumberLiteralType(-node.operand.text)); - case 40 /* PlusToken */: - return getFreshTypeOfLiteralType(getNumberLiteralType(+node.operand.text)); - } - break; - case 10 /* BigIntLiteral */: - if (node.operator === 41 /* MinusToken */) { - return getFreshTypeOfLiteralType(getBigIntLiteralType({ - negative: true, - base10Value: parsePseudoBigInt(node.operand.text) - })); - } - } - switch (node.operator) { - case 40 /* PlusToken */: - case 41 /* MinusToken */: - case 55 /* TildeToken */: - checkNonNullType(operandType, node.operand); - if (maybeTypeOfKindConsideringBaseConstraint(operandType, 12288 /* ESSymbolLike */)) { - error(node.operand, Diagnostics.The_0_operator_cannot_be_applied_to_type_symbol, tokenToString(node.operator)); - } - if (node.operator === 40 /* PlusToken */) { - if (maybeTypeOfKindConsideringBaseConstraint(operandType, 2112 /* BigIntLike */)) { - error(node.operand, Diagnostics.Operator_0_cannot_be_applied_to_type_1, tokenToString(node.operator), typeToString(getBaseTypeOfLiteralType(operandType))); - } - return numberType; - } - return getUnaryResultType(operandType); - case 54 /* ExclamationToken */: - checkTruthinessOfType(operandType, node.operand); - const facts = getTypeFacts(operandType, 4194304 /* Truthy */ | 8388608 /* Falsy */); - return facts === 4194304 /* Truthy */ ? falseType : facts === 8388608 /* Falsy */ ? trueType : booleanType; - case 46 /* PlusPlusToken */: - case 47 /* MinusMinusToken */: - const ok = checkArithmeticOperandType(node.operand, checkNonNullType(operandType, node.operand), Diagnostics.An_arithmetic_operand_must_be_of_type_any_number_bigint_or_an_enum_type); - if (ok) { - checkReferenceExpression( - node.operand, - Diagnostics.The_operand_of_an_increment_or_decrement_operator_must_be_a_variable_or_a_property_access, - Diagnostics.The_operand_of_an_increment_or_decrement_operator_may_not_be_an_optional_property_access - ); - } - return getUnaryResultType(operandType); - } - return errorType; - } - function checkPostfixUnaryExpression(node) { - const operandType = checkExpression(node.operand); - if (operandType === silentNeverType) { - return silentNeverType; - } - const ok = checkArithmeticOperandType( - node.operand, - checkNonNullType(operandType, node.operand), - Diagnostics.An_arithmetic_operand_must_be_of_type_any_number_bigint_or_an_enum_type - ); - if (ok) { - checkReferenceExpression( - node.operand, - Diagnostics.The_operand_of_an_increment_or_decrement_operator_must_be_a_variable_or_a_property_access, - Diagnostics.The_operand_of_an_increment_or_decrement_operator_may_not_be_an_optional_property_access - ); - } - return getUnaryResultType(operandType); - } - function getUnaryResultType(operandType) { - if (maybeTypeOfKind(operandType, 2112 /* BigIntLike */)) { - return isTypeAssignableToKind(operandType, 3 /* AnyOrUnknown */) || maybeTypeOfKind(operandType, 296 /* NumberLike */) ? numberOrBigIntType : bigintType; - } - return numberType; - } - function maybeTypeOfKindConsideringBaseConstraint(type, kind) { - if (maybeTypeOfKind(type, kind)) { - return true; - } - const baseConstraint = getBaseConstraintOrType(type); - return !!baseConstraint && maybeTypeOfKind(baseConstraint, kind); - } - function maybeTypeOfKind(type, kind) { - if (type.flags & kind) { - return true; - } - if (type.flags & 3145728 /* UnionOrIntersection */) { - const types = type.types; - for (const t of types) { - if (maybeTypeOfKind(t, kind)) { - return true; - } - } - } - return false; - } - function isTypeAssignableToKind(source, kind, strict) { - if (source.flags & kind) { - return true; - } - if (strict && source.flags & (3 /* AnyOrUnknown */ | 16384 /* Void */ | 32768 /* Undefined */ | 65536 /* Null */)) { - return false; - } - return !!(kind & 296 /* NumberLike */) && isTypeAssignableTo(source, numberType) || !!(kind & 2112 /* BigIntLike */) && isTypeAssignableTo(source, bigintType) || !!(kind & 402653316 /* StringLike */) && isTypeAssignableTo(source, stringType) || !!(kind & 528 /* BooleanLike */) && isTypeAssignableTo(source, booleanType) || !!(kind & 16384 /* Void */) && isTypeAssignableTo(source, voidType) || !!(kind & 131072 /* Never */) && isTypeAssignableTo(source, neverType) || !!(kind & 65536 /* Null */) && isTypeAssignableTo(source, nullType) || !!(kind & 32768 /* Undefined */) && isTypeAssignableTo(source, undefinedType) || !!(kind & 4096 /* ESSymbol */) && isTypeAssignableTo(source, esSymbolType) || !!(kind & 67108864 /* NonPrimitive */) && isTypeAssignableTo(source, nonPrimitiveType); - } - function allTypesAssignableToKind(source, kind, strict) { - return source.flags & 1048576 /* Union */ ? every(source.types, (subType) => allTypesAssignableToKind(subType, kind, strict)) : isTypeAssignableToKind(source, kind, strict); - } - function isConstEnumObjectType(type) { - return !!(getObjectFlags(type) & 16 /* Anonymous */) && !!type.symbol && isConstEnumSymbol(type.symbol); - } - function isConstEnumSymbol(symbol) { - return (symbol.flags & 128 /* ConstEnum */) !== 0; - } - function getSymbolHasInstanceMethodOfObjectType(type) { - const hasInstancePropertyName = getPropertyNameForKnownSymbolName("hasInstance"); - if (allTypesAssignableToKind(type, 67108864 /* NonPrimitive */)) { - const hasInstanceProperty = getPropertyOfType(type, hasInstancePropertyName); - if (hasInstanceProperty) { - const hasInstancePropertyType = getTypeOfSymbol(hasInstanceProperty); - if (hasInstancePropertyType && getSignaturesOfType(hasInstancePropertyType, 0 /* Call */).length !== 0) { - return hasInstancePropertyType; - } - } - } - } - function checkInstanceOfExpression(left, right, leftType, rightType, checkMode) { - if (leftType === silentNeverType || rightType === silentNeverType) { - return silentNeverType; - } - if (!isTypeAny(leftType) && allTypesAssignableToKind(leftType, 402784252 /* Primitive */)) { - error(left, Diagnostics.The_left_hand_side_of_an_instanceof_expression_must_be_of_type_any_an_object_type_or_a_type_parameter); - } - Debug.assert(isInstanceOfExpression(left.parent)); - const signature = getResolvedSignature( - left.parent, - /*candidatesOutArray*/ - void 0, - checkMode - ); - if (signature === resolvingSignature) { - return silentNeverType; - } - const returnType = getReturnTypeOfSignature(signature); - checkTypeAssignableTo(returnType, booleanType, right, Diagnostics.An_object_s_Symbol_hasInstance_method_must_return_a_boolean_value_for_it_to_be_used_on_the_right_hand_side_of_an_instanceof_expression); - return booleanType; - } - function hasEmptyObjectIntersection(type) { - return someType(type, (t) => t === unknownEmptyObjectType || !!(t.flags & 2097152 /* Intersection */) && isEmptyAnonymousObjectType(getBaseConstraintOrType(t))); - } - function checkInExpression(left, right, leftType, rightType) { - if (leftType === silentNeverType || rightType === silentNeverType) { - return silentNeverType; - } - if (isPrivateIdentifier(left)) { - if (languageVersion < 9 /* PrivateNamesAndClassStaticBlocks */ || languageVersion < 99 /* ClassAndClassElementDecorators */ || !useDefineForClassFields) { - checkExternalEmitHelpers(left, 2097152 /* ClassPrivateFieldIn */); - } - if (!getNodeLinks(left).resolvedSymbol && getContainingClass(left)) { - const isUncheckedJS = isUncheckedJSSuggestion( - left, - rightType.symbol, - /*excludeClasses*/ - true - ); - reportNonexistentProperty(left, rightType, isUncheckedJS); - } - } else { - checkTypeAssignableTo(checkNonNullType(leftType, left), stringNumberSymbolType, left); - } - if (checkTypeAssignableTo(checkNonNullType(rightType, right), nonPrimitiveType, right)) { - if (hasEmptyObjectIntersection(rightType)) { - error(right, Diagnostics.Type_0_may_represent_a_primitive_value_which_is_not_permitted_as_the_right_operand_of_the_in_operator, typeToString(rightType)); - } - } - return booleanType; - } - function checkObjectLiteralAssignment(node, sourceType, rightIsThis) { - const properties = node.properties; - if (strictNullChecks && properties.length === 0) { - return checkNonNullType(sourceType, node); - } - for (let i = 0; i < properties.length; i++) { - checkObjectLiteralDestructuringPropertyAssignment(node, sourceType, i, properties, rightIsThis); - } - return sourceType; - } - function checkObjectLiteralDestructuringPropertyAssignment(node, objectLiteralType, propertyIndex, allProperties, rightIsThis = false) { - const properties = node.properties; - const property = properties[propertyIndex]; - if (property.kind === 303 /* PropertyAssignment */ || property.kind === 304 /* ShorthandPropertyAssignment */) { - const name = property.name; - const exprType = getLiteralTypeFromPropertyName(name); - if (isTypeUsableAsPropertyName(exprType)) { - const text = getPropertyNameFromType(exprType); - const prop = getPropertyOfType(objectLiteralType, text); - if (prop) { - markPropertyAsReferenced(prop, property, rightIsThis); - checkPropertyAccessibility( - property, - /*isSuper*/ - false, - /*writing*/ - true, - objectLiteralType, - prop - ); - } - } - const elementType = getIndexedAccessType(objectLiteralType, exprType, 32 /* ExpressionPosition */ | (hasDefaultValue(property) ? 16 /* AllowMissing */ : 0), name); - const type = getFlowTypeOfDestructuring(property, elementType); - return checkDestructuringAssignment(property.kind === 304 /* ShorthandPropertyAssignment */ ? property : property.initializer, type); - } else if (property.kind === 305 /* SpreadAssignment */) { - if (propertyIndex < properties.length - 1) { - error(property, Diagnostics.A_rest_element_must_be_last_in_a_destructuring_pattern); - } else { - if (languageVersion < 5 /* ObjectSpreadRest */) { - checkExternalEmitHelpers(property, 4 /* Rest */); - } - const nonRestNames = []; - if (allProperties) { - for (const otherProperty of allProperties) { - if (!isSpreadAssignment(otherProperty)) { - nonRestNames.push(otherProperty.name); - } - } - } - const type = getRestType(objectLiteralType, nonRestNames, objectLiteralType.symbol); - checkGrammarForDisallowedTrailingComma(allProperties, Diagnostics.A_rest_parameter_or_binding_pattern_may_not_have_a_trailing_comma); - return checkDestructuringAssignment(property.expression, type); - } - } else { - error(property, Diagnostics.Property_assignment_expected); - } - } - function checkArrayLiteralAssignment(node, sourceType, checkMode) { - const elements = node.elements; - if (languageVersion < 2 /* DestructuringAssignment */ && compilerOptions.downlevelIteration) { - checkExternalEmitHelpers(node, 512 /* Read */); - } - const possiblyOutOfBoundsType = checkIteratedTypeOrElementType(65 /* Destructuring */ | 128 /* PossiblyOutOfBounds */, sourceType, undefinedType, node) || errorType; - let inBoundsType = compilerOptions.noUncheckedIndexedAccess ? void 0 : possiblyOutOfBoundsType; - for (let i = 0; i < elements.length; i++) { - let type = possiblyOutOfBoundsType; - if (node.elements[i].kind === 230 /* SpreadElement */) { - type = inBoundsType = inBoundsType ?? (checkIteratedTypeOrElementType(65 /* Destructuring */, sourceType, undefinedType, node) || errorType); - } - checkArrayLiteralDestructuringElementAssignment(node, sourceType, i, type, checkMode); - } - return sourceType; - } - function checkArrayLiteralDestructuringElementAssignment(node, sourceType, elementIndex, elementType, checkMode) { - const elements = node.elements; - const element = elements[elementIndex]; - if (element.kind !== 232 /* OmittedExpression */) { - if (element.kind !== 230 /* SpreadElement */) { - const indexType = getNumberLiteralType(elementIndex); - if (isArrayLikeType(sourceType)) { - const accessFlags = 32 /* ExpressionPosition */ | (hasDefaultValue(element) ? 16 /* AllowMissing */ : 0); - const elementType2 = getIndexedAccessTypeOrUndefined(sourceType, indexType, accessFlags, createSyntheticExpression(element, indexType)) || errorType; - const assignedType = hasDefaultValue(element) ? getTypeWithFacts(elementType2, 524288 /* NEUndefined */) : elementType2; - const type = getFlowTypeOfDestructuring(element, assignedType); - return checkDestructuringAssignment(element, type, checkMode); - } - return checkDestructuringAssignment(element, elementType, checkMode); - } - if (elementIndex < elements.length - 1) { - error(element, Diagnostics.A_rest_element_must_be_last_in_a_destructuring_pattern); - } else { - const restExpression = element.expression; - if (restExpression.kind === 226 /* BinaryExpression */ && restExpression.operatorToken.kind === 64 /* EqualsToken */) { - error(restExpression.operatorToken, Diagnostics.A_rest_element_cannot_have_an_initializer); - } else { - checkGrammarForDisallowedTrailingComma(node.elements, Diagnostics.A_rest_parameter_or_binding_pattern_may_not_have_a_trailing_comma); - const type = everyType(sourceType, isTupleType) ? mapType(sourceType, (t) => sliceTupleType(t, elementIndex)) : createArrayType(elementType); - return checkDestructuringAssignment(restExpression, type, checkMode); - } - } - } - return void 0; - } - function checkDestructuringAssignment(exprOrAssignment, sourceType, checkMode, rightIsThis) { - let target; - if (exprOrAssignment.kind === 304 /* ShorthandPropertyAssignment */) { - const prop = exprOrAssignment; - if (prop.objectAssignmentInitializer) { - if (strictNullChecks && !hasTypeFacts(checkExpression(prop.objectAssignmentInitializer), 16777216 /* IsUndefined */)) { - sourceType = getTypeWithFacts(sourceType, 524288 /* NEUndefined */); - } - checkBinaryLikeExpression(prop.name, prop.equalsToken, prop.objectAssignmentInitializer, checkMode); - } - target = exprOrAssignment.name; - } else { - target = exprOrAssignment; - } - if (target.kind === 226 /* BinaryExpression */ && target.operatorToken.kind === 64 /* EqualsToken */) { - checkBinaryExpression(target, checkMode); - target = target.left; - if (strictNullChecks) { - sourceType = getTypeWithFacts(sourceType, 524288 /* NEUndefined */); - } - } - if (target.kind === 210 /* ObjectLiteralExpression */) { - return checkObjectLiteralAssignment(target, sourceType, rightIsThis); - } - if (target.kind === 209 /* ArrayLiteralExpression */) { - return checkArrayLiteralAssignment(target, sourceType, checkMode); - } - return checkReferenceAssignment(target, sourceType, checkMode); - } - function checkReferenceAssignment(target, sourceType, checkMode) { - const targetType = checkExpression(target, checkMode); - const error2 = target.parent.kind === 305 /* SpreadAssignment */ ? Diagnostics.The_target_of_an_object_rest_assignment_must_be_a_variable_or_a_property_access : Diagnostics.The_left_hand_side_of_an_assignment_expression_must_be_a_variable_or_a_property_access; - const optionalError = target.parent.kind === 305 /* SpreadAssignment */ ? Diagnostics.The_target_of_an_object_rest_assignment_may_not_be_an_optional_property_access : Diagnostics.The_left_hand_side_of_an_assignment_expression_may_not_be_an_optional_property_access; - if (checkReferenceExpression(target, error2, optionalError)) { - checkTypeAssignableToAndOptionallyElaborate(sourceType, targetType, target, target); - } - if (isPrivateIdentifierPropertyAccessExpression(target)) { - checkExternalEmitHelpers(target.parent, 1048576 /* ClassPrivateFieldSet */); - } - return sourceType; - } - function isSideEffectFree(node) { - node = skipParentheses(node); - switch (node.kind) { - case 80 /* Identifier */: - case 11 /* StringLiteral */: - case 14 /* RegularExpressionLiteral */: - case 215 /* TaggedTemplateExpression */: - case 228 /* TemplateExpression */: - case 15 /* NoSubstitutionTemplateLiteral */: - case 9 /* NumericLiteral */: - case 10 /* BigIntLiteral */: - case 112 /* TrueKeyword */: - case 97 /* FalseKeyword */: - case 106 /* NullKeyword */: - case 157 /* UndefinedKeyword */: - case 218 /* FunctionExpression */: - case 231 /* ClassExpression */: - case 219 /* ArrowFunction */: - case 209 /* ArrayLiteralExpression */: - case 210 /* ObjectLiteralExpression */: - case 221 /* TypeOfExpression */: - case 235 /* NonNullExpression */: - case 285 /* JsxSelfClosingElement */: - case 284 /* JsxElement */: - return true; - case 227 /* ConditionalExpression */: - return isSideEffectFree(node.whenTrue) && isSideEffectFree(node.whenFalse); - case 226 /* BinaryExpression */: - if (isAssignmentOperator(node.operatorToken.kind)) { - return false; - } - return isSideEffectFree(node.left) && isSideEffectFree(node.right); - case 224 /* PrefixUnaryExpression */: - case 225 /* PostfixUnaryExpression */: - switch (node.operator) { - case 54 /* ExclamationToken */: - case 40 /* PlusToken */: - case 41 /* MinusToken */: - case 55 /* TildeToken */: - return true; - } - return false; - case 222 /* VoidExpression */: - case 216 /* TypeAssertionExpression */: - case 234 /* AsExpression */: - default: - return false; - } - } - function isTypeEqualityComparableTo(source, target) { - return (target.flags & 98304 /* Nullable */) !== 0 || isTypeComparableTo(source, target); - } - function createCheckBinaryExpression() { - const trampoline = createBinaryExpressionTrampoline(onEnter, onLeft, onOperator, onRight, onExit, foldState); - return (node, checkMode) => { - const result = trampoline(node, checkMode); - Debug.assertIsDefined(result); - return result; - }; - function onEnter(node, state, checkMode) { - if (state) { - state.stackIndex++; - state.skip = false; - setLeftType( - state, - /*type*/ - void 0 - ); - setLastResult( - state, - /*type*/ - void 0 - ); - } else { - state = { - checkMode, - skip: false, - stackIndex: 0, - typeStack: [void 0, void 0] - }; - } - if (isInJSFile(node) && getAssignedExpandoInitializer(node)) { - state.skip = true; - setLastResult(state, checkExpression(node.right, checkMode)); - return state; - } - checkNullishCoalesceOperands(node); - const operator = node.operatorToken.kind; - if (operator === 64 /* EqualsToken */ && (node.left.kind === 210 /* ObjectLiteralExpression */ || node.left.kind === 209 /* ArrayLiteralExpression */)) { - state.skip = true; - setLastResult(state, checkDestructuringAssignment(node.left, checkExpression(node.right, checkMode), checkMode, node.right.kind === 110 /* ThisKeyword */)); - return state; - } - return state; - } - function onLeft(left, state, _node) { - if (!state.skip) { - return maybeCheckExpression(state, left); - } - } - function onOperator(operatorToken, state, node) { - if (!state.skip) { - const leftType = getLastResult(state); - Debug.assertIsDefined(leftType); - setLeftType(state, leftType); - setLastResult( - state, - /*type*/ - void 0 - ); - const operator = operatorToken.kind; - if (isLogicalOrCoalescingBinaryOperator(operator)) { - let parent = node.parent; - while (parent.kind === 217 /* ParenthesizedExpression */ || isLogicalOrCoalescingBinaryExpression(parent)) { - parent = parent.parent; - } - if (operator === 56 /* AmpersandAmpersandToken */ || isIfStatement(parent)) { - checkTestingKnownTruthyCallableOrAwaitableOrEnumMemberType(node.left, leftType, isIfStatement(parent) ? parent.thenStatement : void 0); - } - if (isBinaryLogicalOperator(operator)) { - checkTruthinessOfType(leftType, node.left); - } - } - } - } - function onRight(right, state, _node) { - if (!state.skip) { - return maybeCheckExpression(state, right); - } - } - function onExit(node, state) { - let result; - if (state.skip) { - result = getLastResult(state); - } else { - const leftType = getLeftType(state); - Debug.assertIsDefined(leftType); - const rightType = getLastResult(state); - Debug.assertIsDefined(rightType); - result = checkBinaryLikeExpressionWorker(node.left, node.operatorToken, node.right, leftType, rightType, state.checkMode, node); - } - state.skip = false; - setLeftType( - state, - /*type*/ - void 0 - ); - setLastResult( - state, - /*type*/ - void 0 - ); - state.stackIndex--; - return result; - } - function foldState(state, result, _side) { - setLastResult(state, result); - return state; - } - function maybeCheckExpression(state, node) { - if (isBinaryExpression(node)) { - return node; - } - setLastResult(state, checkExpression(node, state.checkMode)); - } - function getLeftType(state) { - return state.typeStack[state.stackIndex]; - } - function setLeftType(state, type) { - state.typeStack[state.stackIndex] = type; - } - function getLastResult(state) { - return state.typeStack[state.stackIndex + 1]; - } - function setLastResult(state, type) { - state.typeStack[state.stackIndex + 1] = type; - } - } - function checkNullishCoalesceOperands(node) { - const { left, operatorToken, right } = node; - if (operatorToken.kind === 61 /* QuestionQuestionToken */) { - if (isBinaryExpression(left) && (left.operatorToken.kind === 57 /* BarBarToken */ || left.operatorToken.kind === 56 /* AmpersandAmpersandToken */)) { - grammarErrorOnNode(left, Diagnostics._0_and_1_operations_cannot_be_mixed_without_parentheses, tokenToString(left.operatorToken.kind), tokenToString(operatorToken.kind)); - } - if (isBinaryExpression(right) && (right.operatorToken.kind === 57 /* BarBarToken */ || right.operatorToken.kind === 56 /* AmpersandAmpersandToken */)) { - grammarErrorOnNode(right, Diagnostics._0_and_1_operations_cannot_be_mixed_without_parentheses, tokenToString(right.operatorToken.kind), tokenToString(operatorToken.kind)); - } - const leftTarget = skipOuterExpressions(left, 31 /* All */); - const nullishSemantics = getSyntacticNullishnessSemantics(leftTarget); - if (nullishSemantics !== 3 /* Sometimes */) { - if (node.parent.kind === 226 /* BinaryExpression */) { - error(leftTarget, Diagnostics.This_binary_expression_is_never_nullish_Are_you_missing_parentheses); - } else { - if (nullishSemantics === 1 /* Always */) { - error(leftTarget, Diagnostics.This_expression_is_always_nullish); - } else { - error(leftTarget, Diagnostics.Right_operand_of_is_unreachable_because_the_left_operand_is_never_nullish); - } - } - } - } - } - function getSyntacticNullishnessSemantics(node) { - node = skipOuterExpressions(node); - switch (node.kind) { - case 223 /* AwaitExpression */: - case 213 /* CallExpression */: - case 212 /* ElementAccessExpression */: - case 214 /* NewExpression */: - case 211 /* PropertyAccessExpression */: - case 229 /* YieldExpression */: - case 110 /* ThisKeyword */: - return 3 /* Sometimes */; - case 226 /* BinaryExpression */: - switch (node.operatorToken.kind) { - case 64 /* EqualsToken */: - case 61 /* QuestionQuestionToken */: - case 78 /* QuestionQuestionEqualsToken */: - case 57 /* BarBarToken */: - case 76 /* BarBarEqualsToken */: - case 56 /* AmpersandAmpersandToken */: - case 77 /* AmpersandAmpersandEqualsToken */: - return 3 /* Sometimes */; - } - return 2 /* Never */; - case 227 /* ConditionalExpression */: - return getSyntacticNullishnessSemantics(node.whenTrue) | getSyntacticNullishnessSemantics(node.whenFalse); - case 106 /* NullKeyword */: - return 1 /* Always */; - case 80 /* Identifier */: - if (getResolvedSymbol(node) === undefinedSymbol) { - return 1 /* Always */; - } - return 3 /* Sometimes */; - } - return 2 /* Never */; - } - function checkBinaryLikeExpression(left, operatorToken, right, checkMode, errorNode) { - const operator = operatorToken.kind; - if (operator === 64 /* EqualsToken */ && (left.kind === 210 /* ObjectLiteralExpression */ || left.kind === 209 /* ArrayLiteralExpression */)) { - return checkDestructuringAssignment(left, checkExpression(right, checkMode), checkMode, right.kind === 110 /* ThisKeyword */); - } - let leftType; - if (isBinaryLogicalOperator(operator)) { - leftType = checkTruthinessExpression(left, checkMode); - } else { - leftType = checkExpression(left, checkMode); - } - const rightType = checkExpression(right, checkMode); - return checkBinaryLikeExpressionWorker(left, operatorToken, right, leftType, rightType, checkMode, errorNode); - } - function checkBinaryLikeExpressionWorker(left, operatorToken, right, leftType, rightType, checkMode, errorNode) { - const operator = operatorToken.kind; - switch (operator) { - case 42 /* AsteriskToken */: - case 43 /* AsteriskAsteriskToken */: - case 67 /* AsteriskEqualsToken */: - case 68 /* AsteriskAsteriskEqualsToken */: - case 44 /* SlashToken */: - case 69 /* SlashEqualsToken */: - case 45 /* PercentToken */: - case 70 /* PercentEqualsToken */: - case 41 /* MinusToken */: - case 66 /* MinusEqualsToken */: - case 48 /* LessThanLessThanToken */: - case 71 /* LessThanLessThanEqualsToken */: - case 49 /* GreaterThanGreaterThanToken */: - case 72 /* GreaterThanGreaterThanEqualsToken */: - case 50 /* GreaterThanGreaterThanGreaterThanToken */: - case 73 /* GreaterThanGreaterThanGreaterThanEqualsToken */: - case 52 /* BarToken */: - case 75 /* BarEqualsToken */: - case 53 /* CaretToken */: - case 79 /* CaretEqualsToken */: - case 51 /* AmpersandToken */: - case 74 /* AmpersandEqualsToken */: - if (leftType === silentNeverType || rightType === silentNeverType) { - return silentNeverType; - } - leftType = checkNonNullType(leftType, left); - rightType = checkNonNullType(rightType, right); - let suggestedOperator; - if (leftType.flags & 528 /* BooleanLike */ && rightType.flags & 528 /* BooleanLike */ && (suggestedOperator = getSuggestedBooleanOperator(operatorToken.kind)) !== void 0) { - error(errorNode || operatorToken, Diagnostics.The_0_operator_is_not_allowed_for_boolean_types_Consider_using_1_instead, tokenToString(operatorToken.kind), tokenToString(suggestedOperator)); - return numberType; - } else { - const leftOk = checkArithmeticOperandType( - left, - leftType, - Diagnostics.The_left_hand_side_of_an_arithmetic_operation_must_be_of_type_any_number_bigint_or_an_enum_type, - /*isAwaitValid*/ - true - ); - const rightOk = checkArithmeticOperandType( - right, - rightType, - Diagnostics.The_right_hand_side_of_an_arithmetic_operation_must_be_of_type_any_number_bigint_or_an_enum_type, - /*isAwaitValid*/ - true - ); - let resultType2; - if (isTypeAssignableToKind(leftType, 3 /* AnyOrUnknown */) && isTypeAssignableToKind(rightType, 3 /* AnyOrUnknown */) || // Or, if neither could be bigint, implicit coercion results in a number result - !(maybeTypeOfKind(leftType, 2112 /* BigIntLike */) || maybeTypeOfKind(rightType, 2112 /* BigIntLike */))) { - resultType2 = numberType; - } else if (bothAreBigIntLike(leftType, rightType)) { - switch (operator) { - case 50 /* GreaterThanGreaterThanGreaterThanToken */: - case 73 /* GreaterThanGreaterThanGreaterThanEqualsToken */: - reportOperatorError(); - break; - case 43 /* AsteriskAsteriskToken */: - case 68 /* AsteriskAsteriskEqualsToken */: - if (languageVersion < 3 /* ES2016 */) { - error(errorNode, Diagnostics.Exponentiation_cannot_be_performed_on_bigint_values_unless_the_target_option_is_set_to_es2016_or_later); - } - } - resultType2 = bigintType; - } else { - reportOperatorError(bothAreBigIntLike); - resultType2 = errorType; - } - if (leftOk && rightOk) { - checkAssignmentOperator(resultType2); - switch (operator) { - case 48 /* LessThanLessThanToken */: - case 71 /* LessThanLessThanEqualsToken */: - case 49 /* GreaterThanGreaterThanToken */: - case 72 /* GreaterThanGreaterThanEqualsToken */: - case 50 /* GreaterThanGreaterThanGreaterThanToken */: - case 73 /* GreaterThanGreaterThanGreaterThanEqualsToken */: - const rhsEval = evaluate(right); - if (typeof rhsEval.value === "number" && Math.abs(rhsEval.value) >= 32) { - errorOrSuggestion( - isEnumMember(walkUpParenthesizedExpressions(right.parent.parent)), - // elevate from suggestion to error within an enum member - errorNode || operatorToken, - Diagnostics.This_operation_can_be_simplified_This_shift_is_identical_to_0_1_2, - getTextOfNode(left), - tokenToString(operator), - rhsEval.value % 32 - ); - } - break; - default: - break; - } - } - return resultType2; - } - case 40 /* PlusToken */: - case 65 /* PlusEqualsToken */: - if (leftType === silentNeverType || rightType === silentNeverType) { - return silentNeverType; - } - if (!isTypeAssignableToKind(leftType, 402653316 /* StringLike */) && !isTypeAssignableToKind(rightType, 402653316 /* StringLike */)) { - leftType = checkNonNullType(leftType, left); - rightType = checkNonNullType(rightType, right); - } - let resultType; - if (isTypeAssignableToKind( - leftType, - 296 /* NumberLike */, - /*strict*/ - true - ) && isTypeAssignableToKind( - rightType, - 296 /* NumberLike */, - /*strict*/ - true - )) { - resultType = numberType; - } else if (isTypeAssignableToKind( - leftType, - 2112 /* BigIntLike */, - /*strict*/ - true - ) && isTypeAssignableToKind( - rightType, - 2112 /* BigIntLike */, - /*strict*/ - true - )) { - resultType = bigintType; - } else if (isTypeAssignableToKind( - leftType, - 402653316 /* StringLike */, - /*strict*/ - true - ) || isTypeAssignableToKind( - rightType, - 402653316 /* StringLike */, - /*strict*/ - true - )) { - resultType = stringType; - } else if (isTypeAny(leftType) || isTypeAny(rightType)) { - resultType = isErrorType(leftType) || isErrorType(rightType) ? errorType : anyType; - } - if (resultType && !checkForDisallowedESSymbolOperand(operator)) { - return resultType; - } - if (!resultType) { - const closeEnoughKind = 296 /* NumberLike */ | 2112 /* BigIntLike */ | 402653316 /* StringLike */ | 3 /* AnyOrUnknown */; - reportOperatorError( - (left2, right2) => isTypeAssignableToKind(left2, closeEnoughKind) && isTypeAssignableToKind(right2, closeEnoughKind) - ); - return anyType; - } - if (operator === 65 /* PlusEqualsToken */) { - checkAssignmentOperator(resultType); - } - return resultType; - case 30 /* LessThanToken */: - case 32 /* GreaterThanToken */: - case 33 /* LessThanEqualsToken */: - case 34 /* GreaterThanEqualsToken */: - if (checkForDisallowedESSymbolOperand(operator)) { - leftType = getBaseTypeOfLiteralTypeForComparison(checkNonNullType(leftType, left)); - rightType = getBaseTypeOfLiteralTypeForComparison(checkNonNullType(rightType, right)); - reportOperatorErrorUnless((left2, right2) => { - if (isTypeAny(left2) || isTypeAny(right2)) { - return true; - } - const leftAssignableToNumber = isTypeAssignableTo(left2, numberOrBigIntType); - const rightAssignableToNumber = isTypeAssignableTo(right2, numberOrBigIntType); - return leftAssignableToNumber && rightAssignableToNumber || !leftAssignableToNumber && !rightAssignableToNumber && areTypesComparable(left2, right2); - }); - } - return booleanType; - case 35 /* EqualsEqualsToken */: - case 36 /* ExclamationEqualsToken */: - case 37 /* EqualsEqualsEqualsToken */: - case 38 /* ExclamationEqualsEqualsToken */: - if (!(checkMode && checkMode & 64 /* TypeOnly */)) { - if ((isLiteralExpressionOfObject(left) || isLiteralExpressionOfObject(right)) && // only report for === and !== in JS, not == or != - (!isInJSFile(left) || (operator === 37 /* EqualsEqualsEqualsToken */ || operator === 38 /* ExclamationEqualsEqualsToken */))) { - const eqType = operator === 35 /* EqualsEqualsToken */ || operator === 37 /* EqualsEqualsEqualsToken */; - error(errorNode, Diagnostics.This_condition_will_always_return_0_since_JavaScript_compares_objects_by_reference_not_value, eqType ? "false" : "true"); - } - checkNaNEquality(errorNode, operator, left, right); - reportOperatorErrorUnless((left2, right2) => isTypeEqualityComparableTo(left2, right2) || isTypeEqualityComparableTo(right2, left2)); - } - return booleanType; - case 104 /* InstanceOfKeyword */: - return checkInstanceOfExpression(left, right, leftType, rightType, checkMode); - case 103 /* InKeyword */: - return checkInExpression(left, right, leftType, rightType); - case 56 /* AmpersandAmpersandToken */: - case 77 /* AmpersandAmpersandEqualsToken */: { - const resultType2 = hasTypeFacts(leftType, 4194304 /* Truthy */) ? getUnionType([extractDefinitelyFalsyTypes(strictNullChecks ? leftType : getBaseTypeOfLiteralType(rightType)), rightType]) : leftType; - if (operator === 77 /* AmpersandAmpersandEqualsToken */) { - checkAssignmentOperator(rightType); - } - return resultType2; - } - case 57 /* BarBarToken */: - case 76 /* BarBarEqualsToken */: { - const resultType2 = hasTypeFacts(leftType, 8388608 /* Falsy */) ? getUnionType([getNonNullableType(removeDefinitelyFalsyTypes(leftType)), rightType], 2 /* Subtype */) : leftType; - if (operator === 76 /* BarBarEqualsToken */) { - checkAssignmentOperator(rightType); - } - return resultType2; - } - case 61 /* QuestionQuestionToken */: - case 78 /* QuestionQuestionEqualsToken */: { - const resultType2 = hasTypeFacts(leftType, 262144 /* EQUndefinedOrNull */) ? getUnionType([getNonNullableType(leftType), rightType], 2 /* Subtype */) : leftType; - if (operator === 78 /* QuestionQuestionEqualsToken */) { - checkAssignmentOperator(rightType); - } - return resultType2; - } - case 64 /* EqualsToken */: - const declKind = isBinaryExpression(left.parent) ? getAssignmentDeclarationKind(left.parent) : 0 /* None */; - checkAssignmentDeclaration(declKind, rightType); - if (isAssignmentDeclaration2(declKind)) { - if (!(rightType.flags & 524288 /* Object */) || declKind !== 2 /* ModuleExports */ && declKind !== 6 /* Prototype */ && !isEmptyObjectType(rightType) && !isFunctionObjectType(rightType) && !(getObjectFlags(rightType) & 1 /* Class */)) { - checkAssignmentOperator(rightType); - } - return leftType; - } else { - checkAssignmentOperator(rightType); - return rightType; - } - case 28 /* CommaToken */: - if (!compilerOptions.allowUnreachableCode && isSideEffectFree(left) && !isIndirectCall(left.parent)) { - const sf = getSourceFileOfNode(left); - const sourceText = sf.text; - const start = skipTrivia(sourceText, left.pos); - const isInDiag2657 = sf.parseDiagnostics.some((diag2) => { - if (diag2.code !== Diagnostics.JSX_expressions_must_have_one_parent_element.code) return false; - return textSpanContainsPosition(diag2, start); - }); - if (!isInDiag2657) error(left, Diagnostics.Left_side_of_comma_operator_is_unused_and_has_no_side_effects); - } - return rightType; - default: - return Debug.fail(); - } - function bothAreBigIntLike(left2, right2) { - return isTypeAssignableToKind(left2, 2112 /* BigIntLike */) && isTypeAssignableToKind(right2, 2112 /* BigIntLike */); - } - function checkAssignmentDeclaration(kind, rightType2) { - if (kind === 2 /* ModuleExports */) { - for (const prop of getPropertiesOfObjectType(rightType2)) { - const propType = getTypeOfSymbol(prop); - if (propType.symbol && propType.symbol.flags & 32 /* Class */) { - const name = prop.escapedName; - const symbol = resolveName( - prop.valueDeclaration, - name, - 788968 /* Type */, - /*nameNotFoundMessage*/ - void 0, - /*isUse*/ - false - ); - if ((symbol == null ? void 0 : symbol.declarations) && symbol.declarations.some(isJSDocTypedefTag)) { - addDuplicateDeclarationErrorsForSymbols(symbol, Diagnostics.Duplicate_identifier_0, unescapeLeadingUnderscores(name), prop); - addDuplicateDeclarationErrorsForSymbols(prop, Diagnostics.Duplicate_identifier_0, unescapeLeadingUnderscores(name), symbol); - } - } - } - } - } - function isIndirectCall(node) { - return node.parent.kind === 217 /* ParenthesizedExpression */ && isNumericLiteral(node.left) && node.left.text === "0" && (isCallExpression(node.parent.parent) && node.parent.parent.expression === node.parent || node.parent.parent.kind === 215 /* TaggedTemplateExpression */) && // special-case for "eval" because it's the only non-access case where an indirect call actually affects behavior. - (isAccessExpression(node.right) || isIdentifier(node.right) && node.right.escapedText === "eval"); - } - function checkForDisallowedESSymbolOperand(operator2) { - const offendingSymbolOperand = maybeTypeOfKindConsideringBaseConstraint(leftType, 12288 /* ESSymbolLike */) ? left : maybeTypeOfKindConsideringBaseConstraint(rightType, 12288 /* ESSymbolLike */) ? right : void 0; - if (offendingSymbolOperand) { - error(offendingSymbolOperand, Diagnostics.The_0_operator_cannot_be_applied_to_type_symbol, tokenToString(operator2)); - return false; - } - return true; - } - function getSuggestedBooleanOperator(operator2) { - switch (operator2) { - case 52 /* BarToken */: - case 75 /* BarEqualsToken */: - return 57 /* BarBarToken */; - case 53 /* CaretToken */: - case 79 /* CaretEqualsToken */: - return 38 /* ExclamationEqualsEqualsToken */; - case 51 /* AmpersandToken */: - case 74 /* AmpersandEqualsToken */: - return 56 /* AmpersandAmpersandToken */; - default: - return void 0; - } - } - function checkAssignmentOperator(valueType) { - if (isAssignmentOperator(operator)) { - addLazyDiagnostic(checkAssignmentOperatorWorker); - } - function checkAssignmentOperatorWorker() { - let assigneeType = leftType; - if (isCompoundAssignment(operatorToken.kind) && left.kind === 211 /* PropertyAccessExpression */) { - assigneeType = checkPropertyAccessExpression( - left, - /*checkMode*/ - void 0, - /*writeOnly*/ - true - ); - } - if (checkReferenceExpression(left, Diagnostics.The_left_hand_side_of_an_assignment_expression_must_be_a_variable_or_a_property_access, Diagnostics.The_left_hand_side_of_an_assignment_expression_may_not_be_an_optional_property_access)) { - let headMessage; - if (exactOptionalPropertyTypes && isPropertyAccessExpression(left) && maybeTypeOfKind(valueType, 32768 /* Undefined */)) { - const target = getTypeOfPropertyOfType(getTypeOfExpression(left.expression), left.name.escapedText); - if (isExactOptionalPropertyMismatch(valueType, target)) { - headMessage = Diagnostics.Type_0_is_not_assignable_to_type_1_with_exactOptionalPropertyTypes_Colon_true_Consider_adding_undefined_to_the_type_of_the_target; - } - } - checkTypeAssignableToAndOptionallyElaborate(valueType, assigneeType, left, right, headMessage); - } - } - } - function isAssignmentDeclaration2(kind) { - var _a; - switch (kind) { - case 2 /* ModuleExports */: - return true; - case 1 /* ExportsProperty */: - case 5 /* Property */: - case 6 /* Prototype */: - case 3 /* PrototypeProperty */: - case 4 /* ThisProperty */: - const symbol = getSymbolOfNode(left); - const init = getAssignedExpandoInitializer(right); - return !!init && isObjectLiteralExpression(init) && !!((_a = symbol == null ? void 0 : symbol.exports) == null ? void 0 : _a.size); - default: - return false; - } - } - function reportOperatorErrorUnless(typesAreCompatible) { - if (!typesAreCompatible(leftType, rightType)) { - reportOperatorError(typesAreCompatible); - return true; - } - return false; - } - function reportOperatorError(isRelated) { - let wouldWorkWithAwait = false; - const errNode = errorNode || operatorToken; - if (isRelated) { - const awaitedLeftType = getAwaitedTypeNoAlias(leftType); - const awaitedRightType = getAwaitedTypeNoAlias(rightType); - wouldWorkWithAwait = !(awaitedLeftType === leftType && awaitedRightType === rightType) && !!(awaitedLeftType && awaitedRightType) && isRelated(awaitedLeftType, awaitedRightType); - } - let effectiveLeft = leftType; - let effectiveRight = rightType; - if (!wouldWorkWithAwait && isRelated) { - [effectiveLeft, effectiveRight] = getBaseTypesIfUnrelated(leftType, rightType, isRelated); - } - const [leftStr, rightStr] = getTypeNamesForErrorDisplay(effectiveLeft, effectiveRight); - if (!tryGiveBetterPrimaryError(errNode, wouldWorkWithAwait, leftStr, rightStr)) { - errorAndMaybeSuggestAwait( - errNode, - wouldWorkWithAwait, - Diagnostics.Operator_0_cannot_be_applied_to_types_1_and_2, - tokenToString(operatorToken.kind), - leftStr, - rightStr - ); - } - } - function tryGiveBetterPrimaryError(errNode, maybeMissingAwait, leftStr, rightStr) { - switch (operatorToken.kind) { - case 37 /* EqualsEqualsEqualsToken */: - case 35 /* EqualsEqualsToken */: - case 38 /* ExclamationEqualsEqualsToken */: - case 36 /* ExclamationEqualsToken */: - return errorAndMaybeSuggestAwait( - errNode, - maybeMissingAwait, - Diagnostics.This_comparison_appears_to_be_unintentional_because_the_types_0_and_1_have_no_overlap, - leftStr, - rightStr - ); - default: - return void 0; - } - } - function checkNaNEquality(errorNode2, operator2, left2, right2) { - const isLeftNaN = isGlobalNaN(skipParentheses(left2)); - const isRightNaN = isGlobalNaN(skipParentheses(right2)); - if (isLeftNaN || isRightNaN) { - const err = error(errorNode2, Diagnostics.This_condition_will_always_return_0, tokenToString(operator2 === 37 /* EqualsEqualsEqualsToken */ || operator2 === 35 /* EqualsEqualsToken */ ? 97 /* FalseKeyword */ : 112 /* TrueKeyword */)); - if (isLeftNaN && isRightNaN) return; - const operatorString = operator2 === 38 /* ExclamationEqualsEqualsToken */ || operator2 === 36 /* ExclamationEqualsToken */ ? tokenToString(54 /* ExclamationToken */) : ""; - const location = isLeftNaN ? right2 : left2; - const expression = skipParentheses(location); - addRelatedInfo(err, createDiagnosticForNode(location, Diagnostics.Did_you_mean_0, `${operatorString}Number.isNaN(${isEntityNameExpression(expression) ? entityNameToString(expression) : "..."})`)); - } - } - function isGlobalNaN(expr) { - if (isIdentifier(expr) && expr.escapedText === "NaN") { - const globalNaNSymbol = getGlobalNaNSymbol(); - return !!globalNaNSymbol && globalNaNSymbol === getResolvedSymbol(expr); - } - return false; - } - } - function getBaseTypesIfUnrelated(leftType, rightType, isRelated) { - let effectiveLeft = leftType; - let effectiveRight = rightType; - const leftBase = getBaseTypeOfLiteralType(leftType); - const rightBase = getBaseTypeOfLiteralType(rightType); - if (!isRelated(leftBase, rightBase)) { - effectiveLeft = leftBase; - effectiveRight = rightBase; - } - return [effectiveLeft, effectiveRight]; - } - function checkYieldExpression(node) { - addLazyDiagnostic(checkYieldExpressionGrammar); - const func = getContainingFunction(node); - if (!func) return anyType; - const functionFlags = getFunctionFlags(func); - if (!(functionFlags & 1 /* Generator */)) { - return anyType; - } - const isAsync = (functionFlags & 2 /* Async */) !== 0; - if (node.asteriskToken) { - if (isAsync && languageVersion < 5 /* AsyncGenerators */) { - checkExternalEmitHelpers(node, 26624 /* AsyncDelegatorIncludes */); - } - if (!isAsync && languageVersion < 2 /* Generators */ && compilerOptions.downlevelIteration) { - checkExternalEmitHelpers(node, 256 /* Values */); - } - } - let returnType = getReturnTypeFromAnnotation(func); - if (returnType && returnType.flags & 1048576 /* Union */) { - returnType = filterType(returnType, (t) => checkGeneratorInstantiationAssignabilityToReturnType( - t, - functionFlags, - /*errorNode*/ - void 0 - )); - } - const iterationTypes = returnType && getIterationTypesOfGeneratorFunctionReturnType(returnType, isAsync); - const signatureYieldType = iterationTypes && iterationTypes.yieldType || anyType; - const signatureNextType = iterationTypes && iterationTypes.nextType || anyType; - const yieldExpressionType = node.expression ? checkExpression(node.expression) : undefinedWideningType; - const yieldedType = getYieldedTypeOfYieldExpression(node, yieldExpressionType, signatureNextType, isAsync); - if (returnType && yieldedType) { - checkTypeAssignableToAndOptionallyElaborate(yieldedType, signatureYieldType, node.expression || node, node.expression); - } - if (node.asteriskToken) { - const use = isAsync ? 19 /* AsyncYieldStar */ : 17 /* YieldStar */; - return getIterationTypeOfIterable(use, 1 /* Return */, yieldExpressionType, node.expression) || anyType; - } else if (returnType) { - return getIterationTypeOfGeneratorFunctionReturnType(2 /* Next */, returnType, isAsync) || anyType; - } - let type = getContextualIterationType(2 /* Next */, func); - if (!type) { - type = anyType; - addLazyDiagnostic(() => { - if (noImplicitAny && !expressionResultIsUnused(node)) { - const contextualType = getContextualType( - node, - /*contextFlags*/ - void 0 - ); - if (!contextualType || isTypeAny(contextualType)) { - error(node, Diagnostics.yield_expression_implicitly_results_in_an_any_type_because_its_containing_generator_lacks_a_return_type_annotation); - } - } - }); - } - return type; - function checkYieldExpressionGrammar() { - if (!(node.flags & 16384 /* YieldContext */)) { - grammarErrorOnFirstToken(node, Diagnostics.A_yield_expression_is_only_allowed_in_a_generator_body); - } - if (isInParameterInitializerBeforeContainingFunction(node)) { - error(node, Diagnostics.yield_expressions_cannot_be_used_in_a_parameter_initializer); - } - } - } - function checkConditionalExpression(node, checkMode) { - const type = checkTruthinessExpression(node.condition, checkMode); - checkTestingKnownTruthyCallableOrAwaitableOrEnumMemberType(node.condition, type, node.whenTrue); - const type1 = checkExpression(node.whenTrue, checkMode); - const type2 = checkExpression(node.whenFalse, checkMode); - return getUnionType([type1, type2], 2 /* Subtype */); - } - function isTemplateLiteralContext(node) { - const parent = node.parent; - return isParenthesizedExpression(parent) && isTemplateLiteralContext(parent) || isElementAccessExpression(parent) && parent.argumentExpression === node; - } - function checkTemplateExpression(node) { - const texts = [node.head.text]; - const types = []; - for (const span of node.templateSpans) { - const type = checkExpression(span.expression); - if (maybeTypeOfKindConsideringBaseConstraint(type, 12288 /* ESSymbolLike */)) { - error(span.expression, Diagnostics.Implicit_conversion_of_a_symbol_to_a_string_will_fail_at_runtime_Consider_wrapping_this_expression_in_String); - } - texts.push(span.literal.text); - types.push(isTypeAssignableTo(type, templateConstraintType) ? type : stringType); - } - const evaluated = node.parent.kind !== 215 /* TaggedTemplateExpression */ && evaluate(node).value; - if (evaluated) { - return getFreshTypeOfLiteralType(getStringLiteralType(evaluated)); - } - if (isConstContext(node) || isTemplateLiteralContext(node) || someType(getContextualType( - node, - /*contextFlags*/ - void 0 - ) || unknownType, isTemplateLiteralContextualType)) { - return getTemplateLiteralType(texts, types); - } - return stringType; - } - function isTemplateLiteralContextualType(type) { - return !!(type.flags & (128 /* StringLiteral */ | 134217728 /* TemplateLiteral */) || type.flags & 58982400 /* InstantiableNonPrimitive */ && maybeTypeOfKind(getBaseConstraintOfType(type) || unknownType, 402653316 /* StringLike */)); - } - function getContextNode(node) { - if (isJsxAttributes(node) && !isJsxSelfClosingElement(node.parent)) { - return node.parent.parent; - } - return node; - } - function checkExpressionWithContextualType(node, contextualType, inferenceContext, checkMode) { - const contextNode = getContextNode(node); - pushContextualType( - contextNode, - contextualType, - /*isCache*/ - false - ); - pushInferenceContext(contextNode, inferenceContext); - const type = checkExpression(node, checkMode | 1 /* Contextual */ | (inferenceContext ? 2 /* Inferential */ : 0)); - if (inferenceContext && inferenceContext.intraExpressionInferenceSites) { - inferenceContext.intraExpressionInferenceSites = void 0; - } - const result = maybeTypeOfKind(type, 2944 /* Literal */) && isLiteralOfContextualType(type, instantiateContextualType( - contextualType, - node, - /*contextFlags*/ - void 0 - )) ? getRegularTypeOfLiteralType(type) : type; - popInferenceContext(); - popContextualType(); - return result; - } - function checkExpressionCached(node, checkMode) { - if (checkMode) { - return checkExpression(node, checkMode); - } - const links = getNodeLinks(node); - if (!links.resolvedType) { - const saveFlowLoopStart = flowLoopStart; - const saveFlowTypeCache = flowTypeCache; - flowLoopStart = flowLoopCount; - flowTypeCache = void 0; - links.resolvedType = checkExpression(node, checkMode); - flowTypeCache = saveFlowTypeCache; - flowLoopStart = saveFlowLoopStart; - } - return links.resolvedType; - } - function isTypeAssertion(node) { - node = skipParentheses( - node, - /*excludeJSDocTypeAssertions*/ - true - ); - return node.kind === 216 /* TypeAssertionExpression */ || node.kind === 234 /* AsExpression */ || isJSDocTypeAssertion(node); - } - function checkDeclarationInitializer(declaration, checkMode, contextualType) { - const initializer = getEffectiveInitializer(declaration); - if (isInJSFile(declaration)) { - const typeNode = tryGetJSDocSatisfiesTypeNode(declaration); - if (typeNode) { - return checkSatisfiesExpressionWorker(initializer, typeNode, checkMode); - } - } - const type = getQuickTypeOfExpression(initializer) || (contextualType ? checkExpressionWithContextualType( - initializer, - contextualType, - /*inferenceContext*/ - void 0, - checkMode || 0 /* Normal */ - ) : checkExpressionCached(initializer, checkMode)); - if (isParameter(isBindingElement(declaration) ? walkUpBindingElementsAndPatterns(declaration) : declaration)) { - if (declaration.name.kind === 206 /* ObjectBindingPattern */ && isObjectLiteralType(type)) { - return padObjectLiteralType(type, declaration.name); - } - if (declaration.name.kind === 207 /* ArrayBindingPattern */ && isTupleType(type)) { - return padTupleType(type, declaration.name); - } - } - return type; - } - function padObjectLiteralType(type, pattern) { - let missingElements; - for (const e of pattern.elements) { - if (e.initializer) { - const name = getPropertyNameFromBindingElement(e); - if (name && !getPropertyOfType(type, name)) { - missingElements = append(missingElements, e); - } - } - } - if (!missingElements) { - return type; - } - const members = createSymbolTable(); - for (const prop of getPropertiesOfObjectType(type)) { - members.set(prop.escapedName, prop); - } - for (const e of missingElements) { - const symbol = createSymbol(4 /* Property */ | 16777216 /* Optional */, getPropertyNameFromBindingElement(e)); - symbol.links.type = getTypeFromBindingElement( - e, - /*includePatternInType*/ - false, - /*reportErrors*/ - false - ); - members.set(symbol.escapedName, symbol); - } - const result = createAnonymousType(type.symbol, members, emptyArray, emptyArray, getIndexInfosOfType(type)); - result.objectFlags = type.objectFlags; - return result; - } - function getPropertyNameFromBindingElement(e) { - const exprType = getLiteralTypeFromPropertyName(e.propertyName || e.name); - return isTypeUsableAsPropertyName(exprType) ? getPropertyNameFromType(exprType) : void 0; - } - function padTupleType(type, pattern) { - if (type.target.combinedFlags & 12 /* Variable */ || getTypeReferenceArity(type) >= pattern.elements.length) { - return type; - } - const patternElements = pattern.elements; - const elementTypes = getElementTypes(type).slice(); - const elementFlags = type.target.elementFlags.slice(); - for (let i = getTypeReferenceArity(type); i < patternElements.length; i++) { - const e = patternElements[i]; - if (i < patternElements.length - 1 || !(e.kind === 208 /* BindingElement */ && e.dotDotDotToken)) { - elementTypes.push(!isOmittedExpression(e) && hasDefaultValue(e) ? getTypeFromBindingElement( - e, - /*includePatternInType*/ - false, - /*reportErrors*/ - false - ) : anyType); - elementFlags.push(2 /* Optional */); - if (!isOmittedExpression(e) && !hasDefaultValue(e)) { - reportImplicitAny(e, anyType); - } - } - } - return createTupleType(elementTypes, elementFlags, type.target.readonly); - } - function widenTypeInferredFromInitializer(declaration, type) { - const widened = getWidenedLiteralTypeForInitializer(declaration, type); - if (isInJSFile(declaration)) { - if (isEmptyLiteralType(widened)) { - reportImplicitAny(declaration, anyType); - return anyType; - } else if (isEmptyArrayLiteralType(widened)) { - reportImplicitAny(declaration, anyArrayType); - return anyArrayType; - } - } - return widened; - } - function getWidenedLiteralTypeForInitializer(declaration, type) { - return getCombinedNodeFlagsCached(declaration) & 6 /* Constant */ || isDeclarationReadonly(declaration) ? type : getWidenedLiteralType(type); - } - function isLiteralOfContextualType(candidateType, contextualType) { - if (contextualType) { - if (contextualType.flags & 3145728 /* UnionOrIntersection */) { - const types = contextualType.types; - return some(types, (t) => isLiteralOfContextualType(candidateType, t)); - } - if (contextualType.flags & 58982400 /* InstantiableNonPrimitive */) { - const constraint = getBaseConstraintOfType(contextualType) || unknownType; - return maybeTypeOfKind(constraint, 4 /* String */) && maybeTypeOfKind(candidateType, 128 /* StringLiteral */) || maybeTypeOfKind(constraint, 8 /* Number */) && maybeTypeOfKind(candidateType, 256 /* NumberLiteral */) || maybeTypeOfKind(constraint, 64 /* BigInt */) && maybeTypeOfKind(candidateType, 2048 /* BigIntLiteral */) || maybeTypeOfKind(constraint, 4096 /* ESSymbol */) && maybeTypeOfKind(candidateType, 8192 /* UniqueESSymbol */) || isLiteralOfContextualType(candidateType, constraint); - } - return !!(contextualType.flags & (128 /* StringLiteral */ | 4194304 /* Index */ | 134217728 /* TemplateLiteral */ | 268435456 /* StringMapping */) && maybeTypeOfKind(candidateType, 128 /* StringLiteral */) || contextualType.flags & 256 /* NumberLiteral */ && maybeTypeOfKind(candidateType, 256 /* NumberLiteral */) || contextualType.flags & 2048 /* BigIntLiteral */ && maybeTypeOfKind(candidateType, 2048 /* BigIntLiteral */) || contextualType.flags & 512 /* BooleanLiteral */ && maybeTypeOfKind(candidateType, 512 /* BooleanLiteral */) || contextualType.flags & 8192 /* UniqueESSymbol */ && maybeTypeOfKind(candidateType, 8192 /* UniqueESSymbol */)); - } - return false; - } - function isConstContext(node) { - const parent = node.parent; - return isAssertionExpression(parent) && isConstTypeReference(parent.type) || isJSDocTypeAssertion(parent) && isConstTypeReference(getJSDocTypeAssertionType(parent)) || isValidConstAssertionArgument(node) && isConstTypeVariable(getContextualType(node, 0 /* None */)) || (isParenthesizedExpression(parent) || isArrayLiteralExpression(parent) || isSpreadElement(parent)) && isConstContext(parent) || (isPropertyAssignment(parent) || isShorthandPropertyAssignment(parent) || isTemplateSpan(parent)) && isConstContext(parent.parent); - } - function checkExpressionForMutableLocation(node, checkMode, forceTuple) { - const type = checkExpression(node, checkMode, forceTuple); - return isConstContext(node) || isCommonJsExportedExpression(node) ? getRegularTypeOfLiteralType(type) : isTypeAssertion(node) ? type : getWidenedLiteralLikeTypeForContextualType(type, instantiateContextualType( - getContextualType( - node, - /*contextFlags*/ - void 0 - ), - node, - /*contextFlags*/ - void 0 - )); - } - function checkPropertyAssignment(node, checkMode) { - if (node.name.kind === 167 /* ComputedPropertyName */) { - checkComputedPropertyName(node.name); - } - return checkExpressionForMutableLocation(node.initializer, checkMode); - } - function checkObjectLiteralMethod(node, checkMode) { - checkGrammarMethod(node); - if (node.name.kind === 167 /* ComputedPropertyName */) { - checkComputedPropertyName(node.name); - } - const uninstantiatedType = checkFunctionExpressionOrObjectLiteralMethod(node, checkMode); - return instantiateTypeWithSingleGenericCallSignature(node, uninstantiatedType, checkMode); - } - function instantiateTypeWithSingleGenericCallSignature(node, type, checkMode) { - if (checkMode && checkMode & (2 /* Inferential */ | 8 /* SkipGenericFunctions */)) { - const callSignature = getSingleSignature( - type, - 0 /* Call */, - /*allowMembers*/ - true - ); - const constructSignature = getSingleSignature( - type, - 1 /* Construct */, - /*allowMembers*/ - true - ); - const signature = callSignature || constructSignature; - if (signature && signature.typeParameters) { - const contextualType = getApparentTypeOfContextualType(node, 2 /* NoConstraints */); - if (contextualType) { - const contextualSignature = getSingleSignature( - getNonNullableType(contextualType), - callSignature ? 0 /* Call */ : 1 /* Construct */, - /*allowMembers*/ - false - ); - if (contextualSignature && !contextualSignature.typeParameters) { - if (checkMode & 8 /* SkipGenericFunctions */) { - skippedGenericFunction(node, checkMode); - return anyFunctionType; - } - const context = getInferenceContext(node); - const returnType = context.signature && getReturnTypeOfSignature(context.signature); - const returnSignature = returnType && getSingleCallOrConstructSignature(returnType); - if (returnSignature && !returnSignature.typeParameters && !every(context.inferences, hasInferenceCandidates)) { - const uniqueTypeParameters = getUniqueTypeParameters(context, signature.typeParameters); - const instantiatedSignature = getSignatureInstantiationWithoutFillingInTypeArguments(signature, uniqueTypeParameters); - const inferences = map(context.inferences, (info) => createInferenceInfo(info.typeParameter)); - applyToParameterTypes(instantiatedSignature, contextualSignature, (source, target) => { - inferTypes( - inferences, - source, - target, - /*priority*/ - 0, - /*contravariant*/ - true - ); - }); - if (some(inferences, hasInferenceCandidates)) { - applyToReturnTypes(instantiatedSignature, contextualSignature, (source, target) => { - inferTypes(inferences, source, target); - }); - if (!hasOverlappingInferences(context.inferences, inferences)) { - mergeInferences(context.inferences, inferences); - context.inferredTypeParameters = concatenate(context.inferredTypeParameters, uniqueTypeParameters); - return getOrCreateTypeFromSignature(instantiatedSignature); - } - } - } - return getOrCreateTypeFromSignature(instantiateSignatureInContextOf(signature, contextualSignature, context), flatMap(inferenceContexts, (c) => c && map(c.inferences, (i) => i.typeParameter)).slice()); - } - } - } - } - return type; - } - function skippedGenericFunction(node, checkMode) { - if (checkMode & 2 /* Inferential */) { - const context = getInferenceContext(node); - context.flags |= 4 /* SkippedGenericFunction */; - } - } - function hasInferenceCandidates(info) { - return !!(info.candidates || info.contraCandidates); - } - function hasInferenceCandidatesOrDefault(info) { - return !!(info.candidates || info.contraCandidates || hasTypeParameterDefault(info.typeParameter)); - } - function hasOverlappingInferences(a, b) { - for (let i = 0; i < a.length; i++) { - if (hasInferenceCandidates(a[i]) && hasInferenceCandidates(b[i])) { - return true; - } - } - return false; - } - function mergeInferences(target, source) { - for (let i = 0; i < target.length; i++) { - if (!hasInferenceCandidates(target[i]) && hasInferenceCandidates(source[i])) { - target[i] = source[i]; - } - } - } - function getUniqueTypeParameters(context, typeParameters) { - const result = []; - let oldTypeParameters; - let newTypeParameters; - for (const tp of typeParameters) { - const name = tp.symbol.escapedName; - if (hasTypeParameterByName(context.inferredTypeParameters, name) || hasTypeParameterByName(result, name)) { - const newName = getUniqueTypeParameterName(concatenate(context.inferredTypeParameters, result), name); - const symbol = createSymbol(262144 /* TypeParameter */, newName); - const newTypeParameter = createTypeParameter(symbol); - newTypeParameter.target = tp; - oldTypeParameters = append(oldTypeParameters, tp); - newTypeParameters = append(newTypeParameters, newTypeParameter); - result.push(newTypeParameter); - } else { - result.push(tp); - } - } - if (newTypeParameters) { - const mapper = createTypeMapper(oldTypeParameters, newTypeParameters); - for (const tp of newTypeParameters) { - tp.mapper = mapper; - } - } - return result; - } - function hasTypeParameterByName(typeParameters, name) { - return some(typeParameters, (tp) => tp.symbol.escapedName === name); - } - function getUniqueTypeParameterName(typeParameters, baseName) { - let len = baseName.length; - while (len > 1 && baseName.charCodeAt(len - 1) >= 48 /* _0 */ && baseName.charCodeAt(len - 1) <= 57 /* _9 */) len--; - const s = baseName.slice(0, len); - for (let index = 1; true; index++) { - const augmentedName = s + index; - if (!hasTypeParameterByName(typeParameters, augmentedName)) { - return augmentedName; - } - } - } - function getReturnTypeOfSingleNonGenericCallSignature(funcType) { - const signature = getSingleCallSignature(funcType); - if (signature && !signature.typeParameters) { - return getReturnTypeOfSignature(signature); - } - } - function getReturnTypeOfSingleNonGenericSignatureOfCallChain(expr) { - const funcType = checkExpression(expr.expression); - const nonOptionalType = getOptionalExpressionType(funcType, expr.expression); - const returnType = getReturnTypeOfSingleNonGenericCallSignature(funcType); - return returnType && propagateOptionalTypeMarker(returnType, expr, nonOptionalType !== funcType); - } - function getTypeOfExpression(node) { - const quickType = getQuickTypeOfExpression(node); - if (quickType) { - return quickType; - } - if (node.flags & 268435456 /* TypeCached */ && flowTypeCache) { - const cachedType = flowTypeCache[getNodeId(node)]; - if (cachedType) { - return cachedType; - } - } - const startInvocationCount = flowInvocationCount; - const type = checkExpression(node, 64 /* TypeOnly */); - if (flowInvocationCount !== startInvocationCount) { - const cache = flowTypeCache || (flowTypeCache = []); - cache[getNodeId(node)] = type; - setNodeFlags(node, node.flags | 268435456 /* TypeCached */); - } - return type; - } - function getQuickTypeOfExpression(node) { - let expr = skipParentheses( - node, - /*excludeJSDocTypeAssertions*/ - true - ); - if (isJSDocTypeAssertion(expr)) { - const type = getJSDocTypeAssertionType(expr); - if (!isConstTypeReference(type)) { - return getTypeFromTypeNode(type); - } - } - expr = skipParentheses(node); - if (isAwaitExpression(expr)) { - const type = getQuickTypeOfExpression(expr.expression); - return type ? getAwaitedType(type) : void 0; - } - if (isCallExpression(expr) && expr.expression.kind !== 108 /* SuperKeyword */ && !isRequireCall( - expr, - /*requireStringLiteralLikeArgument*/ - true - ) && !isSymbolOrSymbolForCall(expr)) { - return isCallChain(expr) ? getReturnTypeOfSingleNonGenericSignatureOfCallChain(expr) : getReturnTypeOfSingleNonGenericCallSignature(checkNonNullExpression(expr.expression)); - } else if (isAssertionExpression(expr) && !isConstTypeReference(expr.type)) { - return getTypeFromTypeNode(expr.type); - } else if (isLiteralExpression(node) || isBooleanLiteral(node)) { - return checkExpression(node); - } - return void 0; - } - function getContextFreeTypeOfExpression(node) { - const links = getNodeLinks(node); - if (links.contextFreeType) { - return links.contextFreeType; - } - pushContextualType( - node, - anyType, - /*isCache*/ - false - ); - const type = links.contextFreeType = checkExpression(node, 4 /* SkipContextSensitive */); - popContextualType(); - return type; - } - function checkExpression(node, checkMode, forceTuple) { - var _a, _b; - (_a = tracing) == null ? void 0 : _a.push(tracing.Phase.Check, "checkExpression", { kind: node.kind, pos: node.pos, end: node.end, path: node.tracingPath }); - const saveCurrentNode = currentNode; - currentNode = node; - instantiationCount = 0; - const uninstantiatedType = checkExpressionWorker(node, checkMode, forceTuple); - const type = instantiateTypeWithSingleGenericCallSignature(node, uninstantiatedType, checkMode); - if (isConstEnumObjectType(type)) { - checkConstEnumAccess(node, type); - } - currentNode = saveCurrentNode; - (_b = tracing) == null ? void 0 : _b.pop(); - return type; - } - function checkConstEnumAccess(node, type) { - const ok = node.parent.kind === 211 /* PropertyAccessExpression */ && node.parent.expression === node || node.parent.kind === 212 /* ElementAccessExpression */ && node.parent.expression === node || ((node.kind === 80 /* Identifier */ || node.kind === 166 /* QualifiedName */) && isInRightSideOfImportOrExportAssignment(node) || node.parent.kind === 186 /* TypeQuery */ && node.parent.exprName === node) || node.parent.kind === 281 /* ExportSpecifier */; - if (!ok) { - error(node, Diagnostics.const_enums_can_only_be_used_in_property_or_index_access_expressions_or_the_right_hand_side_of_an_import_declaration_or_export_assignment_or_type_query); - } - if (compilerOptions.isolatedModules || compilerOptions.verbatimModuleSyntax && ok && !resolveName( - node, - getFirstIdentifier(node), - 2097152 /* Alias */, - /*nameNotFoundMessage*/ - void 0, - /*isUse*/ - false, - /*excludeGlobals*/ - true - )) { - Debug.assert(!!(type.symbol.flags & 128 /* ConstEnum */)); - const constEnumDeclaration = type.symbol.valueDeclaration; - const redirect = host.getRedirectReferenceForResolutionFromSourceOfProject(getSourceFileOfNode(constEnumDeclaration).resolvedPath); - if (constEnumDeclaration.flags & 33554432 /* Ambient */ && !isValidTypeOnlyAliasUseSite(node) && (!redirect || !shouldPreserveConstEnums(redirect.commandLine.options))) { - error(node, Diagnostics.Cannot_access_ambient_const_enums_when_0_is_enabled, isolatedModulesLikeFlagName); - } - } - } - function checkParenthesizedExpression(node, checkMode) { - if (hasJSDocNodes(node)) { - if (isJSDocSatisfiesExpression(node)) { - return checkSatisfiesExpressionWorker(node.expression, getJSDocSatisfiesExpressionType(node), checkMode); - } - if (isJSDocTypeAssertion(node)) { - return checkAssertionWorker(node, checkMode); - } - } - return checkExpression(node.expression, checkMode); - } - function checkExpressionWorker(node, checkMode, forceTuple) { - const kind = node.kind; - if (cancellationToken) { - switch (kind) { - case 231 /* ClassExpression */: - case 218 /* FunctionExpression */: - case 219 /* ArrowFunction */: - cancellationToken.throwIfCancellationRequested(); - } - } - switch (kind) { - case 80 /* Identifier */: - return checkIdentifier(node, checkMode); - case 81 /* PrivateIdentifier */: - return checkPrivateIdentifierExpression(node); - case 110 /* ThisKeyword */: - return checkThisExpression(node); - case 108 /* SuperKeyword */: - return checkSuperExpression(node); - case 106 /* NullKeyword */: - return nullWideningType; - case 15 /* NoSubstitutionTemplateLiteral */: - case 11 /* StringLiteral */: - return hasSkipDirectInferenceFlag(node) ? blockedStringType : getFreshTypeOfLiteralType(getStringLiteralType(node.text)); - case 9 /* NumericLiteral */: - checkGrammarNumericLiteral(node); - return getFreshTypeOfLiteralType(getNumberLiteralType(+node.text)); - case 10 /* BigIntLiteral */: - checkGrammarBigIntLiteral(node); - return getFreshTypeOfLiteralType(getBigIntLiteralType({ - negative: false, - base10Value: parsePseudoBigInt(node.text) - })); - case 112 /* TrueKeyword */: - return trueType; - case 97 /* FalseKeyword */: - return falseType; - case 228 /* TemplateExpression */: - return checkTemplateExpression(node); - case 14 /* RegularExpressionLiteral */: - return checkRegularExpressionLiteral(node); - case 209 /* ArrayLiteralExpression */: - return checkArrayLiteral(node, checkMode, forceTuple); - case 210 /* ObjectLiteralExpression */: - return checkObjectLiteral(node, checkMode); - case 211 /* PropertyAccessExpression */: - return checkPropertyAccessExpression(node, checkMode); - case 166 /* QualifiedName */: - return checkQualifiedName(node, checkMode); - case 212 /* ElementAccessExpression */: - return checkIndexedAccess(node, checkMode); - case 213 /* CallExpression */: - if (node.expression.kind === 102 /* ImportKeyword */) { - return checkImportCallExpression(node); - } - case 214 /* NewExpression */: - return checkCallExpression(node, checkMode); - case 215 /* TaggedTemplateExpression */: - return checkTaggedTemplateExpression(node); - case 217 /* ParenthesizedExpression */: - return checkParenthesizedExpression(node, checkMode); - case 231 /* ClassExpression */: - return checkClassExpression(node); - case 218 /* FunctionExpression */: - case 219 /* ArrowFunction */: - return checkFunctionExpressionOrObjectLiteralMethod(node, checkMode); - case 221 /* TypeOfExpression */: - return checkTypeOfExpression(node); - case 216 /* TypeAssertionExpression */: - case 234 /* AsExpression */: - return checkAssertion(node, checkMode); - case 235 /* NonNullExpression */: - return checkNonNullAssertion(node); - case 233 /* ExpressionWithTypeArguments */: - return checkExpressionWithTypeArguments(node); - case 238 /* SatisfiesExpression */: - return checkSatisfiesExpression(node); - case 236 /* MetaProperty */: - return checkMetaProperty(node); - case 220 /* DeleteExpression */: - return checkDeleteExpression(node); - case 222 /* VoidExpression */: - return checkVoidExpression(node); - case 223 /* AwaitExpression */: - return checkAwaitExpression(node); - case 224 /* PrefixUnaryExpression */: - return checkPrefixUnaryExpression(node); - case 225 /* PostfixUnaryExpression */: - return checkPostfixUnaryExpression(node); - case 226 /* BinaryExpression */: - return checkBinaryExpression(node, checkMode); - case 227 /* ConditionalExpression */: - return checkConditionalExpression(node, checkMode); - case 230 /* SpreadElement */: - return checkSpreadExpression(node, checkMode); - case 232 /* OmittedExpression */: - return undefinedWideningType; - case 229 /* YieldExpression */: - return checkYieldExpression(node); - case 237 /* SyntheticExpression */: - return checkSyntheticExpression(node); - case 294 /* JsxExpression */: - return checkJsxExpression(node, checkMode); - case 284 /* JsxElement */: - return checkJsxElement(node, checkMode); - case 285 /* JsxSelfClosingElement */: - return checkJsxSelfClosingElement(node, checkMode); - case 288 /* JsxFragment */: - return checkJsxFragment(node); - case 292 /* JsxAttributes */: - return checkJsxAttributes(node, checkMode); - case 286 /* JsxOpeningElement */: - Debug.fail("Shouldn't ever directly check a JsxOpeningElement"); - } - return errorType; - } - function checkTypeParameter(node) { - checkGrammarModifiers(node); - if (node.expression) { - grammarErrorOnFirstToken(node.expression, Diagnostics.Type_expected); - } - checkSourceElement(node.constraint); - checkSourceElement(node.default); - const typeParameter = getDeclaredTypeOfTypeParameter(getSymbolOfDeclaration(node)); - getBaseConstraintOfType(typeParameter); - if (!hasNonCircularTypeParameterDefault(typeParameter)) { - error(node.default, Diagnostics.Type_parameter_0_has_a_circular_default, typeToString(typeParameter)); - } - const constraintType = getConstraintOfTypeParameter(typeParameter); - const defaultType = getDefaultFromTypeParameter(typeParameter); - if (constraintType && defaultType) { - checkTypeAssignableTo(defaultType, getTypeWithThisArgument(instantiateType(constraintType, makeUnaryTypeMapper(typeParameter, defaultType)), defaultType), node.default, Diagnostics.Type_0_does_not_satisfy_the_constraint_1); - } - checkNodeDeferred(node); - addLazyDiagnostic(() => checkTypeNameIsReserved(node.name, Diagnostics.Type_parameter_name_cannot_be_0)); - } - function checkTypeParameterDeferred(node) { - var _a, _b; - if (isInterfaceDeclaration(node.parent) || isClassLike(node.parent) || isTypeAliasDeclaration(node.parent)) { - const typeParameter = getDeclaredTypeOfTypeParameter(getSymbolOfDeclaration(node)); - const modifiers = getTypeParameterModifiers(typeParameter) & (8192 /* In */ | 16384 /* Out */); - if (modifiers) { - const symbol = getSymbolOfDeclaration(node.parent); - if (isTypeAliasDeclaration(node.parent) && !(getObjectFlags(getDeclaredTypeOfSymbol(symbol)) & (4 /* Reference */ | 16 /* Anonymous */ | 32 /* Mapped */))) { - error(node, Diagnostics.Variance_annotations_are_only_supported_in_type_aliases_for_object_function_constructor_and_mapped_types); - } else if (modifiers === 8192 /* In */ || modifiers === 16384 /* Out */) { - (_a = tracing) == null ? void 0 : _a.push(tracing.Phase.CheckTypes, "checkTypeParameterDeferred", { parent: getTypeId(getDeclaredTypeOfSymbol(symbol)), id: getTypeId(typeParameter) }); - const source = createMarkerType(symbol, typeParameter, modifiers === 16384 /* Out */ ? markerSubTypeForCheck : markerSuperTypeForCheck); - const target = createMarkerType(symbol, typeParameter, modifiers === 16384 /* Out */ ? markerSuperTypeForCheck : markerSubTypeForCheck); - const saveVarianceTypeParameter = typeParameter; - varianceTypeParameter = typeParameter; - checkTypeAssignableTo(source, target, node, Diagnostics.Type_0_is_not_assignable_to_type_1_as_implied_by_variance_annotation); - varianceTypeParameter = saveVarianceTypeParameter; - (_b = tracing) == null ? void 0 : _b.pop(); - } - } - } - } - function checkParameter(node) { - checkGrammarModifiers(node); - checkVariableLikeDeclaration(node); - const func = getContainingFunction(node); - if (hasSyntacticModifier(node, 31 /* ParameterPropertyModifier */)) { - if (!(func.kind === 176 /* Constructor */ && nodeIsPresent(func.body))) { - error(node, Diagnostics.A_parameter_property_is_only_allowed_in_a_constructor_implementation); - } - if (func.kind === 176 /* Constructor */ && isIdentifier(node.name) && node.name.escapedText === "constructor") { - error(node.name, Diagnostics.constructor_cannot_be_used_as_a_parameter_property_name); - } - } - if (!node.initializer && isOptionalDeclaration(node) && isBindingPattern(node.name) && func.body) { - error(node, Diagnostics.A_binding_pattern_parameter_cannot_be_optional_in_an_implementation_signature); - } - if (node.name && isIdentifier(node.name) && (node.name.escapedText === "this" || node.name.escapedText === "new")) { - if (func.parameters.indexOf(node) !== 0) { - error(node, Diagnostics.A_0_parameter_must_be_the_first_parameter, node.name.escapedText); - } - if (func.kind === 176 /* Constructor */ || func.kind === 180 /* ConstructSignature */ || func.kind === 185 /* ConstructorType */) { - error(node, Diagnostics.A_constructor_cannot_have_a_this_parameter); - } - if (func.kind === 219 /* ArrowFunction */) { - error(node, Diagnostics.An_arrow_function_cannot_have_a_this_parameter); - } - if (func.kind === 177 /* GetAccessor */ || func.kind === 178 /* SetAccessor */) { - error(node, Diagnostics.get_and_set_accessors_cannot_declare_this_parameters); - } - } - if (node.dotDotDotToken && !isBindingPattern(node.name) && !isTypeAssignableTo(getReducedType(getTypeOfSymbol(node.symbol)), anyReadonlyArrayType)) { - error(node, Diagnostics.A_rest_parameter_must_be_of_an_array_type); - } - } - function checkTypePredicate(node) { - const parent = getTypePredicateParent(node); - if (!parent) { - error(node, Diagnostics.A_type_predicate_is_only_allowed_in_return_type_position_for_functions_and_methods); - return; - } - const signature = getSignatureFromDeclaration(parent); - const typePredicate = getTypePredicateOfSignature(signature); - if (!typePredicate) { - return; - } - checkSourceElement(node.type); - const { parameterName } = node; - if (typePredicate.kind !== 0 /* This */ && typePredicate.kind !== 2 /* AssertsThis */) { - if (typePredicate.parameterIndex >= 0) { - if (signatureHasRestParameter(signature) && typePredicate.parameterIndex === signature.parameters.length - 1) { - error(parameterName, Diagnostics.A_type_predicate_cannot_reference_a_rest_parameter); - } else { - if (typePredicate.type) { - const leadingError = () => chainDiagnosticMessages( - /*details*/ - void 0, - Diagnostics.A_type_predicate_s_type_must_be_assignable_to_its_parameter_s_type - ); - checkTypeAssignableTo( - typePredicate.type, - getTypeOfSymbol(signature.parameters[typePredicate.parameterIndex]), - node.type, - /*headMessage*/ - void 0, - leadingError - ); - } - } - } else if (parameterName) { - let hasReportedError = false; - for (const { name } of parent.parameters) { - if (isBindingPattern(name) && checkIfTypePredicateVariableIsDeclaredInBindingPattern(name, parameterName, typePredicate.parameterName)) { - hasReportedError = true; - break; - } - } - if (!hasReportedError) { - error(node.parameterName, Diagnostics.Cannot_find_parameter_0, typePredicate.parameterName); - } - } - } - } - function getTypePredicateParent(node) { - switch (node.parent.kind) { - case 219 /* ArrowFunction */: - case 179 /* CallSignature */: - case 262 /* FunctionDeclaration */: - case 218 /* FunctionExpression */: - case 184 /* FunctionType */: - case 174 /* MethodDeclaration */: - case 173 /* MethodSignature */: - const parent = node.parent; - if (node === parent.type) { - return parent; - } - } - } - function checkIfTypePredicateVariableIsDeclaredInBindingPattern(pattern, predicateVariableNode, predicateVariableName) { - for (const element of pattern.elements) { - if (isOmittedExpression(element)) { - continue; - } - const name = element.name; - if (name.kind === 80 /* Identifier */ && name.escapedText === predicateVariableName) { - error(predicateVariableNode, Diagnostics.A_type_predicate_cannot_reference_element_0_in_a_binding_pattern, predicateVariableName); - return true; - } else if (name.kind === 207 /* ArrayBindingPattern */ || name.kind === 206 /* ObjectBindingPattern */) { - if (checkIfTypePredicateVariableIsDeclaredInBindingPattern( - name, - predicateVariableNode, - predicateVariableName - )) { - return true; - } - } - } - } - function checkSignatureDeclaration(node) { - if (node.kind === 181 /* IndexSignature */) { - checkGrammarIndexSignature(node); - } else if (node.kind === 184 /* FunctionType */ || node.kind === 262 /* FunctionDeclaration */ || node.kind === 185 /* ConstructorType */ || node.kind === 179 /* CallSignature */ || node.kind === 176 /* Constructor */ || node.kind === 180 /* ConstructSignature */) { - checkGrammarFunctionLikeDeclaration(node); - } - const functionFlags = getFunctionFlags(node); - if (!(functionFlags & 4 /* Invalid */)) { - if ((functionFlags & 3 /* AsyncGenerator */) === 3 /* AsyncGenerator */ && languageVersion < 5 /* AsyncGenerators */) { - checkExternalEmitHelpers(node, 6144 /* AsyncGeneratorIncludes */); - } - if ((functionFlags & 3 /* AsyncGenerator */) === 2 /* Async */ && languageVersion < 4 /* AsyncFunctions */) { - checkExternalEmitHelpers(node, 64 /* Awaiter */); - } - if ((functionFlags & 3 /* AsyncGenerator */) !== 0 /* Normal */ && languageVersion < 2 /* Generators */) { - checkExternalEmitHelpers(node, 128 /* Generator */); - } - } - checkTypeParameters(getEffectiveTypeParameterDeclarations(node)); - checkUnmatchedJSDocParameters(node); - forEach(node.parameters, checkParameter); - if (node.type) { - checkSourceElement(node.type); - } - addLazyDiagnostic(checkSignatureDeclarationDiagnostics); - function checkSignatureDeclarationDiagnostics() { - checkCollisionWithArgumentsInGeneratedCode(node); - let returnTypeNode = getEffectiveReturnTypeNode(node); - let returnTypeErrorLocation = returnTypeNode; - if (isInJSFile(node)) { - const typeTag = getJSDocTypeTag(node); - if (typeTag && typeTag.typeExpression && isTypeReferenceNode(typeTag.typeExpression.type)) { - const signature = getSingleCallSignature(getTypeFromTypeNode(typeTag.typeExpression)); - if (signature && signature.declaration) { - returnTypeNode = getEffectiveReturnTypeNode(signature.declaration); - returnTypeErrorLocation = typeTag.typeExpression.type; - } - } - } - if (noImplicitAny && !returnTypeNode) { - switch (node.kind) { - case 180 /* ConstructSignature */: - error(node, Diagnostics.Construct_signature_which_lacks_return_type_annotation_implicitly_has_an_any_return_type); - break; - case 179 /* CallSignature */: - error(node, Diagnostics.Call_signature_which_lacks_return_type_annotation_implicitly_has_an_any_return_type); - break; - } - } - if (returnTypeNode && returnTypeErrorLocation) { - const functionFlags2 = getFunctionFlags(node); - if ((functionFlags2 & (4 /* Invalid */ | 1 /* Generator */)) === 1 /* Generator */) { - const returnType = getTypeFromTypeNode(returnTypeNode); - if (returnType === voidType) { - error(returnTypeErrorLocation, Diagnostics.A_generator_cannot_have_a_void_type_annotation); - } else { - checkGeneratorInstantiationAssignabilityToReturnType(returnType, functionFlags2, returnTypeErrorLocation); - } - } else if ((functionFlags2 & 3 /* AsyncGenerator */) === 2 /* Async */) { - checkAsyncFunctionReturnType(node, returnTypeNode, returnTypeErrorLocation); - } - } - if (node.kind !== 181 /* IndexSignature */ && node.kind !== 317 /* JSDocFunctionType */) { - registerForUnusedIdentifiersCheck(node); - } - } - } - function checkGeneratorInstantiationAssignabilityToReturnType(returnType, functionFlags, errorNode) { - const generatorYieldType = getIterationTypeOfGeneratorFunctionReturnType(0 /* Yield */, returnType, (functionFlags & 2 /* Async */) !== 0) || anyType; - const generatorReturnType = getIterationTypeOfGeneratorFunctionReturnType(1 /* Return */, returnType, (functionFlags & 2 /* Async */) !== 0) || generatorYieldType; - const generatorNextType = getIterationTypeOfGeneratorFunctionReturnType(2 /* Next */, returnType, (functionFlags & 2 /* Async */) !== 0) || unknownType; - const generatorInstantiation = createGeneratorType(generatorYieldType, generatorReturnType, generatorNextType, !!(functionFlags & 2 /* Async */)); - return checkTypeAssignableTo(generatorInstantiation, returnType, errorNode); - } - function checkClassForDuplicateDeclarations(node) { - const instanceNames = /* @__PURE__ */ new Map(); - const staticNames = /* @__PURE__ */ new Map(); - const privateIdentifiers = /* @__PURE__ */ new Map(); - for (const member of node.members) { - if (member.kind === 176 /* Constructor */) { - for (const param of member.parameters) { - if (isParameterPropertyDeclaration(param, member) && !isBindingPattern(param.name)) { - addName(instanceNames, param.name, param.name.escapedText, 3 /* GetOrSetAccessor */); - } - } - } else { - const isStaticMember = isStatic(member); - const name = member.name; - if (!name) { - continue; - } - const isPrivate = isPrivateIdentifier(name); - const privateStaticFlags = isPrivate && isStaticMember ? 16 /* PrivateStatic */ : 0; - const names = isPrivate ? privateIdentifiers : isStaticMember ? staticNames : instanceNames; - const memberName = name && getEffectivePropertyNameForPropertyNameNode(name); - if (memberName) { - switch (member.kind) { - case 177 /* GetAccessor */: - addName(names, name, memberName, 1 /* GetAccessor */ | privateStaticFlags); - break; - case 178 /* SetAccessor */: - addName(names, name, memberName, 2 /* SetAccessor */ | privateStaticFlags); - break; - case 172 /* PropertyDeclaration */: - addName(names, name, memberName, 3 /* GetOrSetAccessor */ | privateStaticFlags); - break; - case 174 /* MethodDeclaration */: - addName(names, name, memberName, 8 /* Method */ | privateStaticFlags); - break; - } - } - } - } - function addName(names, location, name, meaning) { - const prev = names.get(name); - if (prev) { - if ((prev & 16 /* PrivateStatic */) !== (meaning & 16 /* PrivateStatic */)) { - error(location, Diagnostics.Duplicate_identifier_0_Static_and_instance_elements_cannot_share_the_same_private_name, getTextOfNode(location)); - } else { - const prevIsMethod = !!(prev & 8 /* Method */); - const isMethod = !!(meaning & 8 /* Method */); - if (prevIsMethod || isMethod) { - if (prevIsMethod !== isMethod) { - error(location, Diagnostics.Duplicate_identifier_0, getTextOfNode(location)); - } - } else if (prev & meaning & ~16 /* PrivateStatic */) { - error(location, Diagnostics.Duplicate_identifier_0, getTextOfNode(location)); - } else { - names.set(name, prev | meaning); - } - } - } else { - names.set(name, meaning); - } - } - } - function checkClassForStaticPropertyNameConflicts(node) { - for (const member of node.members) { - const memberNameNode = member.name; - const isStaticMember = isStatic(member); - if (isStaticMember && memberNameNode) { - const memberName = getEffectivePropertyNameForPropertyNameNode(memberNameNode); - switch (memberName) { - case "name": - case "length": - case "caller": - case "arguments": - if (useDefineForClassFields) { - break; - } - case "prototype": - const message = Diagnostics.Static_property_0_conflicts_with_built_in_property_Function_0_of_constructor_function_1; - const className = getNameOfSymbolAsWritten(getSymbolOfDeclaration(node)); - error(memberNameNode, message, memberName, className); - break; - } - } - } - } - function checkObjectTypeForDuplicateDeclarations(node) { - const names = /* @__PURE__ */ new Map(); - for (const member of node.members) { - if (member.kind === 171 /* PropertySignature */) { - let memberName; - const name = member.name; - switch (name.kind) { - case 11 /* StringLiteral */: - case 9 /* NumericLiteral */: - memberName = name.text; - break; - case 80 /* Identifier */: - memberName = idText(name); - break; - default: - continue; - } - if (names.get(memberName)) { - error(getNameOfDeclaration(member.symbol.valueDeclaration), Diagnostics.Duplicate_identifier_0, memberName); - error(member.name, Diagnostics.Duplicate_identifier_0, memberName); - } else { - names.set(memberName, true); - } - } - } - } - function checkTypeForDuplicateIndexSignatures(node) { - if (node.kind === 264 /* InterfaceDeclaration */) { - const nodeSymbol = getSymbolOfDeclaration(node); - if (nodeSymbol.declarations && nodeSymbol.declarations.length > 0 && nodeSymbol.declarations[0] !== node) { - return; - } - } - const indexSymbol = getIndexSymbol(getSymbolOfDeclaration(node)); - if (indexSymbol == null ? void 0 : indexSymbol.declarations) { - const indexSignatureMap = /* @__PURE__ */ new Map(); - for (const declaration of indexSymbol.declarations) { - if (declaration.parameters.length === 1 && declaration.parameters[0].type) { - forEachType(getTypeFromTypeNode(declaration.parameters[0].type), (type) => { - const entry = indexSignatureMap.get(getTypeId(type)); - if (entry) { - entry.declarations.push(declaration); - } else { - indexSignatureMap.set(getTypeId(type), { type, declarations: [declaration] }); - } - }); - } - } - indexSignatureMap.forEach((entry) => { - if (entry.declarations.length > 1) { - for (const declaration of entry.declarations) { - error(declaration, Diagnostics.Duplicate_index_signature_for_type_0, typeToString(entry.type)); - } - } - }); - } - } - function checkPropertyDeclaration(node) { - if (!checkGrammarModifiers(node) && !checkGrammarProperty(node)) checkGrammarComputedPropertyName(node.name); - checkVariableLikeDeclaration(node); - setNodeLinksForPrivateIdentifierScope(node); - if (hasSyntacticModifier(node, 64 /* Abstract */) && node.kind === 172 /* PropertyDeclaration */ && node.initializer) { - error(node, Diagnostics.Property_0_cannot_have_an_initializer_because_it_is_marked_abstract, declarationNameToString(node.name)); - } - } - function checkPropertySignature(node) { - if (isPrivateIdentifier(node.name)) { - error(node, Diagnostics.Private_identifiers_are_not_allowed_outside_class_bodies); - } - return checkPropertyDeclaration(node); - } - function checkMethodDeclaration(node) { - if (!checkGrammarMethod(node)) checkGrammarComputedPropertyName(node.name); - if (isMethodDeclaration(node) && node.asteriskToken && isIdentifier(node.name) && idText(node.name) === "constructor") { - error(node.name, Diagnostics.Class_constructor_may_not_be_a_generator); - } - checkFunctionOrMethodDeclaration(node); - if (hasSyntacticModifier(node, 64 /* Abstract */) && node.kind === 174 /* MethodDeclaration */ && node.body) { - error(node, Diagnostics.Method_0_cannot_have_an_implementation_because_it_is_marked_abstract, declarationNameToString(node.name)); - } - if (isPrivateIdentifier(node.name) && !getContainingClass(node)) { - error(node, Diagnostics.Private_identifiers_are_not_allowed_outside_class_bodies); - } - setNodeLinksForPrivateIdentifierScope(node); - } - function setNodeLinksForPrivateIdentifierScope(node) { - if (isPrivateIdentifier(node.name)) { - if (languageVersion < 9 /* PrivateNamesAndClassStaticBlocks */ || languageVersion < 99 /* ClassAndClassElementDecorators */ || !useDefineForClassFields) { - for (let lexicalScope = getEnclosingBlockScopeContainer(node); !!lexicalScope; lexicalScope = getEnclosingBlockScopeContainer(lexicalScope)) { - getNodeLinks(lexicalScope).flags |= 1048576 /* ContainsClassWithPrivateIdentifiers */; - } - if (isClassExpression(node.parent)) { - const enclosingIterationStatement = getEnclosingIterationStatement(node.parent); - if (enclosingIterationStatement) { - getNodeLinks(node.name).flags |= 32768 /* BlockScopedBindingInLoop */; - getNodeLinks(enclosingIterationStatement).flags |= 4096 /* LoopWithCapturedBlockScopedBinding */; - } - } - } - } - } - function checkClassStaticBlockDeclaration(node) { - checkGrammarModifiers(node); - forEachChild(node, checkSourceElement); - } - function checkConstructorDeclaration(node) { - checkSignatureDeclaration(node); - if (!checkGrammarConstructorTypeParameters(node)) checkGrammarConstructorTypeAnnotation(node); - checkSourceElement(node.body); - const symbol = getSymbolOfDeclaration(node); - const firstDeclaration = getDeclarationOfKind(symbol, node.kind); - if (node === firstDeclaration) { - checkFunctionOrConstructorSymbol(symbol); - } - if (nodeIsMissing(node.body)) { - return; - } - addLazyDiagnostic(checkConstructorDeclarationDiagnostics); - return; - function isInstancePropertyWithInitializerOrPrivateIdentifierProperty(n) { - if (isPrivateIdentifierClassElementDeclaration(n)) { - return true; - } - return n.kind === 172 /* PropertyDeclaration */ && !isStatic(n) && !!n.initializer; - } - function checkConstructorDeclarationDiagnostics() { - const containingClassDecl = node.parent; - if (getClassExtendsHeritageElement(containingClassDecl)) { - captureLexicalThis(node.parent, containingClassDecl); - const classExtendsNull = classDeclarationExtendsNull(containingClassDecl); - const superCall = findFirstSuperCall(node.body); - if (superCall) { - if (classExtendsNull) { - error(superCall, Diagnostics.A_constructor_cannot_contain_a_super_call_when_its_class_extends_null); - } - const superCallShouldBeRootLevel = !emitStandardClassFields && (some(node.parent.members, isInstancePropertyWithInitializerOrPrivateIdentifierProperty) || some(node.parameters, (p) => hasSyntacticModifier(p, 31 /* ParameterPropertyModifier */))); - if (superCallShouldBeRootLevel) { - if (!superCallIsRootLevelInConstructor(superCall, node.body)) { - error(superCall, Diagnostics.A_super_call_must_be_a_root_level_statement_within_a_constructor_of_a_derived_class_that_contains_initialized_properties_parameter_properties_or_private_identifiers); - } else { - let superCallStatement; - for (const statement of node.body.statements) { - if (isExpressionStatement(statement) && isSuperCall(skipOuterExpressions(statement.expression))) { - superCallStatement = statement; - break; - } - if (nodeImmediatelyReferencesSuperOrThis(statement)) { - break; - } - } - if (superCallStatement === void 0) { - error(node, Diagnostics.A_super_call_must_be_the_first_statement_in_the_constructor_to_refer_to_super_or_this_when_a_derived_class_contains_initialized_properties_parameter_properties_or_private_identifiers); - } - } - } - } else if (!classExtendsNull) { - error(node, Diagnostics.Constructors_for_derived_classes_must_contain_a_super_call); - } - } - } - } - function superCallIsRootLevelInConstructor(superCall, body) { - const superCallParent = walkUpParenthesizedExpressions(superCall.parent); - return isExpressionStatement(superCallParent) && superCallParent.parent === body; - } - function nodeImmediatelyReferencesSuperOrThis(node) { - if (node.kind === 108 /* SuperKeyword */ || node.kind === 110 /* ThisKeyword */) { - return true; - } - if (isThisContainerOrFunctionBlock(node)) { - return false; - } - return !!forEachChild(node, nodeImmediatelyReferencesSuperOrThis); - } - function checkAccessorDeclaration(node) { - if (isIdentifier(node.name) && idText(node.name) === "constructor" && isClassLike(node.parent)) { - error(node.name, Diagnostics.Class_constructor_may_not_be_an_accessor); - } - addLazyDiagnostic(checkAccessorDeclarationDiagnostics); - checkSourceElement(node.body); - setNodeLinksForPrivateIdentifierScope(node); - function checkAccessorDeclarationDiagnostics() { - if (!checkGrammarFunctionLikeDeclaration(node) && !checkGrammarAccessor(node)) checkGrammarComputedPropertyName(node.name); - checkDecorators(node); - checkSignatureDeclaration(node); - if (node.kind === 177 /* GetAccessor */) { - if (!(node.flags & 33554432 /* Ambient */) && nodeIsPresent(node.body) && node.flags & 512 /* HasImplicitReturn */) { - if (!(node.flags & 1024 /* HasExplicitReturn */)) { - error(node.name, Diagnostics.A_get_accessor_must_return_a_value); - } - } - } - if (node.name.kind === 167 /* ComputedPropertyName */) { - checkComputedPropertyName(node.name); - } - if (hasBindableName(node)) { - const symbol = getSymbolOfDeclaration(node); - const getter = getDeclarationOfKind(symbol, 177 /* GetAccessor */); - const setter = getDeclarationOfKind(symbol, 178 /* SetAccessor */); - if (getter && setter && !(getNodeCheckFlags(getter) & 1 /* TypeChecked */)) { - getNodeLinks(getter).flags |= 1 /* TypeChecked */; - const getterFlags = getEffectiveModifierFlags(getter); - const setterFlags = getEffectiveModifierFlags(setter); - if ((getterFlags & 64 /* Abstract */) !== (setterFlags & 64 /* Abstract */)) { - error(getter.name, Diagnostics.Accessors_must_both_be_abstract_or_non_abstract); - error(setter.name, Diagnostics.Accessors_must_both_be_abstract_or_non_abstract); - } - if (getterFlags & 4 /* Protected */ && !(setterFlags & (4 /* Protected */ | 2 /* Private */)) || getterFlags & 2 /* Private */ && !(setterFlags & 2 /* Private */)) { - error(getter.name, Diagnostics.A_get_accessor_must_be_at_least_as_accessible_as_the_setter); - error(setter.name, Diagnostics.A_get_accessor_must_be_at_least_as_accessible_as_the_setter); - } - } - } - const returnType = getTypeOfAccessors(getSymbolOfDeclaration(node)); - if (node.kind === 177 /* GetAccessor */) { - checkAllCodePathsInNonVoidFunctionReturnOrThrow(node, returnType); - } - } - } - function checkMissingDeclaration(node) { - checkDecorators(node); - } - function getEffectiveTypeArgumentAtIndex(node, typeParameters, index) { - if (node.typeArguments && index < node.typeArguments.length) { - return getTypeFromTypeNode(node.typeArguments[index]); - } - return getEffectiveTypeArguments(node, typeParameters)[index]; - } - function getEffectiveTypeArguments(node, typeParameters) { - return fillMissingTypeArguments(map(node.typeArguments, getTypeFromTypeNode), typeParameters, getMinTypeArgumentCount(typeParameters), isInJSFile(node)); - } - function checkTypeArgumentConstraints(node, typeParameters) { - let typeArguments; - let mapper; - let result = true; - for (let i = 0; i < typeParameters.length; i++) { - const constraint = getConstraintOfTypeParameter(typeParameters[i]); - if (constraint) { - if (!typeArguments) { - typeArguments = getEffectiveTypeArguments(node, typeParameters); - mapper = createTypeMapper(typeParameters, typeArguments); - } - result = result && checkTypeAssignableTo( - typeArguments[i], - instantiateType(constraint, mapper), - node.typeArguments[i], - Diagnostics.Type_0_does_not_satisfy_the_constraint_1 - ); - } - } - return result; - } - function getTypeParametersForTypeAndSymbol(type, symbol) { - if (!isErrorType(type)) { - return symbol.flags & 524288 /* TypeAlias */ && getSymbolLinks(symbol).typeParameters || (getObjectFlags(type) & 4 /* Reference */ ? type.target.localTypeParameters : void 0); - } - return void 0; - } - function getTypeParametersForTypeReferenceOrImport(node) { - const type = getTypeFromTypeNode(node); - if (!isErrorType(type)) { - const symbol = getNodeLinks(node).resolvedSymbol; - if (symbol) { - return getTypeParametersForTypeAndSymbol(type, symbol); - } - } - return void 0; - } - function checkTypeReferenceNode(node) { - checkGrammarTypeArguments(node, node.typeArguments); - if (node.kind === 183 /* TypeReference */ && !isInJSFile(node) && !isInJSDoc(node) && node.typeArguments && node.typeName.end !== node.typeArguments.pos) { - const sourceFile = getSourceFileOfNode(node); - if (scanTokenAtPosition(sourceFile, node.typeName.end) === 25 /* DotToken */) { - grammarErrorAtPos(node, skipTrivia(sourceFile.text, node.typeName.end), 1, Diagnostics.JSDoc_types_can_only_be_used_inside_documentation_comments); - } - } - forEach(node.typeArguments, checkSourceElement); - checkTypeReferenceOrImport(node); - } - function checkTypeReferenceOrImport(node) { - const type = getTypeFromTypeNode(node); - if (!isErrorType(type)) { - if (node.typeArguments) { - addLazyDiagnostic(() => { - const typeParameters = getTypeParametersForTypeReferenceOrImport(node); - if (typeParameters) { - checkTypeArgumentConstraints(node, typeParameters); - } - }); - } - const symbol = getNodeLinks(node).resolvedSymbol; - if (symbol) { - if (some(symbol.declarations, (d) => isTypeDeclaration(d) && !!(d.flags & 536870912 /* Deprecated */))) { - addDeprecatedSuggestion( - getDeprecatedSuggestionNode(node), - symbol.declarations, - symbol.escapedName - ); - } - } - } - } - function getTypeArgumentConstraint(node) { - const typeReferenceNode = tryCast(node.parent, isTypeReferenceType); - if (!typeReferenceNode) return void 0; - const typeParameters = getTypeParametersForTypeReferenceOrImport(typeReferenceNode); - if (!typeParameters) return void 0; - const constraint = getConstraintOfTypeParameter(typeParameters[typeReferenceNode.typeArguments.indexOf(node)]); - return constraint && instantiateType(constraint, createTypeMapper(typeParameters, getEffectiveTypeArguments(typeReferenceNode, typeParameters))); - } - function checkTypeQuery(node) { - getTypeFromTypeQueryNode(node); - } - function checkTypeLiteral(node) { - forEach(node.members, checkSourceElement); - addLazyDiagnostic(checkTypeLiteralDiagnostics); - function checkTypeLiteralDiagnostics() { - const type = getTypeFromTypeLiteralOrFunctionOrConstructorTypeNode(node); - checkIndexConstraints(type, type.symbol); - checkTypeForDuplicateIndexSignatures(node); - checkObjectTypeForDuplicateDeclarations(node); - } - } - function checkArrayType(node) { - checkSourceElement(node.elementType); - } - function checkTupleType(node) { - let seenOptionalElement = false; - let seenRestElement = false; - for (const e of node.elements) { - let flags = getTupleElementFlags(e); - if (flags & 8 /* Variadic */) { - const type = getTypeFromTypeNode(e.type); - if (!isArrayLikeType(type)) { - error(e, Diagnostics.A_rest_element_type_must_be_an_array_type); - break; - } - if (isArrayType(type) || isTupleType(type) && type.target.combinedFlags & 4 /* Rest */) { - flags |= 4 /* Rest */; - } - } - if (flags & 4 /* Rest */) { - if (seenRestElement) { - grammarErrorOnNode(e, Diagnostics.A_rest_element_cannot_follow_another_rest_element); - break; - } - seenRestElement = true; - } else if (flags & 2 /* Optional */) { - if (seenRestElement) { - grammarErrorOnNode(e, Diagnostics.An_optional_element_cannot_follow_a_rest_element); - break; - } - seenOptionalElement = true; - } else if (flags & 1 /* Required */ && seenOptionalElement) { - grammarErrorOnNode(e, Diagnostics.A_required_element_cannot_follow_an_optional_element); - break; - } - } - forEach(node.elements, checkSourceElement); - getTypeFromTypeNode(node); - } - function checkUnionOrIntersectionType(node) { - forEach(node.types, checkSourceElement); - getTypeFromTypeNode(node); - } - function checkIndexedAccessIndexType(type, accessNode) { - if (!(type.flags & 8388608 /* IndexedAccess */)) { - return type; - } - const objectType = type.objectType; - const indexType = type.indexType; - const objectIndexType = isGenericMappedType(objectType) && getMappedTypeNameTypeKind(objectType) === 2 /* Remapping */ ? getIndexTypeForMappedType(objectType, 0 /* None */) : getIndexType(objectType, 0 /* None */); - const hasNumberIndexInfo = !!getIndexInfoOfType(objectType, numberType); - if (everyType(indexType, (t) => isTypeAssignableTo(t, objectIndexType) || hasNumberIndexInfo && isApplicableIndexType(t, numberType))) { - if (accessNode.kind === 212 /* ElementAccessExpression */ && isAssignmentTarget(accessNode) && getObjectFlags(objectType) & 32 /* Mapped */ && getMappedTypeModifiers(objectType) & 1 /* IncludeReadonly */) { - error(accessNode, Diagnostics.Index_signature_in_type_0_only_permits_reading, typeToString(objectType)); - } - return type; - } - if (isGenericObjectType(objectType)) { - const propertyName = getPropertyNameFromIndex(indexType, accessNode); - if (propertyName) { - const propertySymbol = forEachType(getApparentType(objectType), (t) => getPropertyOfType(t, propertyName)); - if (propertySymbol && getDeclarationModifierFlagsFromSymbol(propertySymbol) & 6 /* NonPublicAccessibilityModifier */) { - error(accessNode, Diagnostics.Private_or_protected_member_0_cannot_be_accessed_on_a_type_parameter, unescapeLeadingUnderscores(propertyName)); - return errorType; - } - } - } - error(accessNode, Diagnostics.Type_0_cannot_be_used_to_index_type_1, typeToString(indexType), typeToString(objectType)); - return errorType; - } - function checkIndexedAccessType(node) { - checkSourceElement(node.objectType); - checkSourceElement(node.indexType); - checkIndexedAccessIndexType(getTypeFromIndexedAccessTypeNode(node), node); - } - function checkMappedType(node) { - checkGrammarMappedType(node); - checkSourceElement(node.typeParameter); - checkSourceElement(node.nameType); - checkSourceElement(node.type); - if (!node.type) { - reportImplicitAny(node, anyType); - } - const type = getTypeFromMappedTypeNode(node); - const nameType = getNameTypeFromMappedType(type); - if (nameType) { - checkTypeAssignableTo(nameType, stringNumberSymbolType, node.nameType); - } else { - const constraintType = getConstraintTypeFromMappedType(type); - checkTypeAssignableTo(constraintType, stringNumberSymbolType, getEffectiveConstraintOfTypeParameter(node.typeParameter)); - } - } - function checkGrammarMappedType(node) { - var _a; - if ((_a = node.members) == null ? void 0 : _a.length) { - return grammarErrorOnNode(node.members[0], Diagnostics.A_mapped_type_may_not_declare_properties_or_methods); - } - } - function checkThisType(node) { - getTypeFromThisTypeNode(node); - } - function checkTypeOperator(node) { - checkGrammarTypeOperatorNode(node); - checkSourceElement(node.type); - } - function checkConditionalType(node) { - forEachChild(node, checkSourceElement); - } - function checkInferType(node) { - if (!findAncestor(node, (n) => n.parent && n.parent.kind === 194 /* ConditionalType */ && n.parent.extendsType === n)) { - grammarErrorOnNode(node, Diagnostics.infer_declarations_are_only_permitted_in_the_extends_clause_of_a_conditional_type); - } - checkSourceElement(node.typeParameter); - const symbol = getSymbolOfDeclaration(node.typeParameter); - if (symbol.declarations && symbol.declarations.length > 1) { - const links = getSymbolLinks(symbol); - if (!links.typeParametersChecked) { - links.typeParametersChecked = true; - const typeParameter = getDeclaredTypeOfTypeParameter(symbol); - const declarations = getDeclarationsOfKind(symbol, 168 /* TypeParameter */); - if (!areTypeParametersIdentical(declarations, [typeParameter], (decl) => [decl])) { - const name = symbolToString(symbol); - for (const declaration of declarations) { - error(declaration.name, Diagnostics.All_declarations_of_0_must_have_identical_constraints, name); - } - } - } - } - registerForUnusedIdentifiersCheck(node); - } - function checkTemplateLiteralType(node) { - for (const span of node.templateSpans) { - checkSourceElement(span.type); - const type = getTypeFromTypeNode(span.type); - checkTypeAssignableTo(type, templateConstraintType, span.type); - } - getTypeFromTypeNode(node); - } - function checkImportType(node) { - checkSourceElement(node.argument); - if (node.attributes) { - getResolutionModeOverride(node.attributes, grammarErrorOnNode); - } - checkTypeReferenceOrImport(node); - } - function checkNamedTupleMember(node) { - if (node.dotDotDotToken && node.questionToken) { - grammarErrorOnNode(node, Diagnostics.A_tuple_member_cannot_be_both_optional_and_rest); - } - if (node.type.kind === 190 /* OptionalType */) { - grammarErrorOnNode(node.type, Diagnostics.A_labeled_tuple_element_is_declared_as_optional_with_a_question_mark_after_the_name_and_before_the_colon_rather_than_after_the_type); - } - if (node.type.kind === 191 /* RestType */) { - grammarErrorOnNode(node.type, Diagnostics.A_labeled_tuple_element_is_declared_as_rest_with_a_before_the_name_rather_than_before_the_type); - } - checkSourceElement(node.type); - getTypeFromTypeNode(node); - } - function isPrivateWithinAmbient(node) { - return (hasEffectiveModifier(node, 2 /* Private */) || isPrivateIdentifierClassElementDeclaration(node)) && !!(node.flags & 33554432 /* Ambient */); - } - function getEffectiveDeclarationFlags(n, flagsToCheck) { - let flags = getCombinedModifierFlagsCached(n); - if (n.parent.kind !== 264 /* InterfaceDeclaration */ && n.parent.kind !== 263 /* ClassDeclaration */ && n.parent.kind !== 231 /* ClassExpression */ && n.flags & 33554432 /* Ambient */) { - const container = getEnclosingContainer(n); - if (container && container.flags & 128 /* ExportContext */ && !(flags & 128 /* Ambient */) && !(isModuleBlock(n.parent) && isModuleDeclaration(n.parent.parent) && isGlobalScopeAugmentation(n.parent.parent))) { - flags |= 32 /* Export */; - } - flags |= 128 /* Ambient */; - } - return flags & flagsToCheck; - } - function checkFunctionOrConstructorSymbol(symbol) { - addLazyDiagnostic(() => checkFunctionOrConstructorSymbolWorker(symbol)); - } - function checkFunctionOrConstructorSymbolWorker(symbol) { - function getCanonicalOverload(overloads, implementation) { - const implementationSharesContainerWithFirstOverload = implementation !== void 0 && implementation.parent === overloads[0].parent; - return implementationSharesContainerWithFirstOverload ? implementation : overloads[0]; - } - function checkFlagAgreementBetweenOverloads(overloads, implementation, flagsToCheck2, someOverloadFlags, allOverloadFlags) { - const someButNotAllOverloadFlags = someOverloadFlags ^ allOverloadFlags; - if (someButNotAllOverloadFlags !== 0) { - const canonicalFlags = getEffectiveDeclarationFlags(getCanonicalOverload(overloads, implementation), flagsToCheck2); - group(overloads, (o) => getSourceFileOfNode(o).fileName).forEach((overloadsInFile) => { - const canonicalFlagsForFile = getEffectiveDeclarationFlags(getCanonicalOverload(overloadsInFile, implementation), flagsToCheck2); - for (const o of overloadsInFile) { - const deviation = getEffectiveDeclarationFlags(o, flagsToCheck2) ^ canonicalFlags; - const deviationInFile = getEffectiveDeclarationFlags(o, flagsToCheck2) ^ canonicalFlagsForFile; - if (deviationInFile & 32 /* Export */) { - error(getNameOfDeclaration(o), Diagnostics.Overload_signatures_must_all_be_exported_or_non_exported); - } else if (deviationInFile & 128 /* Ambient */) { - error(getNameOfDeclaration(o), Diagnostics.Overload_signatures_must_all_be_ambient_or_non_ambient); - } else if (deviation & (2 /* Private */ | 4 /* Protected */)) { - error(getNameOfDeclaration(o) || o, Diagnostics.Overload_signatures_must_all_be_public_private_or_protected); - } else if (deviation & 64 /* Abstract */) { - error(getNameOfDeclaration(o), Diagnostics.Overload_signatures_must_all_be_abstract_or_non_abstract); - } - } - }); - } - } - function checkQuestionTokenAgreementBetweenOverloads(overloads, implementation, someHaveQuestionToken2, allHaveQuestionToken2) { - if (someHaveQuestionToken2 !== allHaveQuestionToken2) { - const canonicalHasQuestionToken = hasQuestionToken(getCanonicalOverload(overloads, implementation)); - forEach(overloads, (o) => { - const deviation = hasQuestionToken(o) !== canonicalHasQuestionToken; - if (deviation) { - error(getNameOfDeclaration(o), Diagnostics.Overload_signatures_must_all_be_optional_or_required); - } - }); - } - } - const flagsToCheck = 32 /* Export */ | 128 /* Ambient */ | 2 /* Private */ | 4 /* Protected */ | 64 /* Abstract */; - let someNodeFlags = 0 /* None */; - let allNodeFlags = flagsToCheck; - let someHaveQuestionToken = false; - let allHaveQuestionToken = true; - let hasOverloads = false; - let bodyDeclaration; - let lastSeenNonAmbientDeclaration; - let previousDeclaration; - const declarations = symbol.declarations; - const isConstructor = (symbol.flags & 16384 /* Constructor */) !== 0; - function reportImplementationExpectedError(node) { - if (node.name && nodeIsMissing(node.name)) { - return; - } - let seen = false; - const subsequentNode = forEachChild(node.parent, (c) => { - if (seen) { - return c; - } else { - seen = c === node; - } - }); - if (subsequentNode && subsequentNode.pos === node.end) { - if (subsequentNode.kind === node.kind) { - const errorNode2 = subsequentNode.name || subsequentNode; - const subsequentName = subsequentNode.name; - if (node.name && subsequentName && // both are private identifiers - (isPrivateIdentifier(node.name) && isPrivateIdentifier(subsequentName) && node.name.escapedText === subsequentName.escapedText || // Both are computed property names - isComputedPropertyName(node.name) && isComputedPropertyName(subsequentName) && isTypeIdenticalTo(checkComputedPropertyName(node.name), checkComputedPropertyName(subsequentName)) || // Both are literal property names that are the same. - isPropertyNameLiteral(node.name) && isPropertyNameLiteral(subsequentName) && getEscapedTextOfIdentifierOrLiteral(node.name) === getEscapedTextOfIdentifierOrLiteral(subsequentName))) { - const reportError = (node.kind === 174 /* MethodDeclaration */ || node.kind === 173 /* MethodSignature */) && isStatic(node) !== isStatic(subsequentNode); - if (reportError) { - const diagnostic = isStatic(node) ? Diagnostics.Function_overload_must_be_static : Diagnostics.Function_overload_must_not_be_static; - error(errorNode2, diagnostic); - } - return; - } - if (nodeIsPresent(subsequentNode.body)) { - error(errorNode2, Diagnostics.Function_implementation_name_must_be_0, declarationNameToString(node.name)); - return; - } - } - } - const errorNode = node.name || node; - if (isConstructor) { - error(errorNode, Diagnostics.Constructor_implementation_is_missing); - } else { - if (hasSyntacticModifier(node, 64 /* Abstract */)) { - error(errorNode, Diagnostics.All_declarations_of_an_abstract_method_must_be_consecutive); - } else { - error(errorNode, Diagnostics.Function_implementation_is_missing_or_not_immediately_following_the_declaration); - } - } - } - let duplicateFunctionDeclaration = false; - let multipleConstructorImplementation = false; - let hasNonAmbientClass = false; - const functionDeclarations = []; - if (declarations) { - for (const current of declarations) { - const node = current; - const inAmbientContext = node.flags & 33554432 /* Ambient */; - const inAmbientContextOrInterface = node.parent && (node.parent.kind === 264 /* InterfaceDeclaration */ || node.parent.kind === 187 /* TypeLiteral */) || inAmbientContext; - if (inAmbientContextOrInterface) { - previousDeclaration = void 0; - } - if ((node.kind === 263 /* ClassDeclaration */ || node.kind === 231 /* ClassExpression */) && !inAmbientContext) { - hasNonAmbientClass = true; - } - if (node.kind === 262 /* FunctionDeclaration */ || node.kind === 174 /* MethodDeclaration */ || node.kind === 173 /* MethodSignature */ || node.kind === 176 /* Constructor */) { - functionDeclarations.push(node); - const currentNodeFlags = getEffectiveDeclarationFlags(node, flagsToCheck); - someNodeFlags |= currentNodeFlags; - allNodeFlags &= currentNodeFlags; - someHaveQuestionToken = someHaveQuestionToken || hasQuestionToken(node); - allHaveQuestionToken = allHaveQuestionToken && hasQuestionToken(node); - const bodyIsPresent = nodeIsPresent(node.body); - if (bodyIsPresent && bodyDeclaration) { - if (isConstructor) { - multipleConstructorImplementation = true; - } else { - duplicateFunctionDeclaration = true; - } - } else if ((previousDeclaration == null ? void 0 : previousDeclaration.parent) === node.parent && previousDeclaration.end !== node.pos) { - reportImplementationExpectedError(previousDeclaration); - } - if (bodyIsPresent) { - if (!bodyDeclaration) { - bodyDeclaration = node; - } - } else { - hasOverloads = true; - } - previousDeclaration = node; - if (!inAmbientContextOrInterface) { - lastSeenNonAmbientDeclaration = node; - } - } - if (isInJSFile(current) && isFunctionLike(current) && current.jsDoc) { - hasOverloads = length(getJSDocOverloadTags(current)) > 0; - } - } - } - if (multipleConstructorImplementation) { - forEach(functionDeclarations, (declaration) => { - error(declaration, Diagnostics.Multiple_constructor_implementations_are_not_allowed); - }); - } - if (duplicateFunctionDeclaration) { - forEach(functionDeclarations, (declaration) => { - error(getNameOfDeclaration(declaration) || declaration, Diagnostics.Duplicate_function_implementation); - }); - } - if (hasNonAmbientClass && !isConstructor && symbol.flags & 16 /* Function */ && declarations) { - const relatedDiagnostics = filter(declarations, (d) => d.kind === 263 /* ClassDeclaration */).map((d) => createDiagnosticForNode(d, Diagnostics.Consider_adding_a_declare_modifier_to_this_class)); - forEach(declarations, (declaration) => { - const diagnostic = declaration.kind === 263 /* ClassDeclaration */ ? Diagnostics.Class_declaration_cannot_implement_overload_list_for_0 : declaration.kind === 262 /* FunctionDeclaration */ ? Diagnostics.Function_with_bodies_can_only_merge_with_classes_that_are_ambient : void 0; - if (diagnostic) { - addRelatedInfo( - error(getNameOfDeclaration(declaration) || declaration, diagnostic, symbolName(symbol)), - ...relatedDiagnostics - ); - } - }); - } - if (lastSeenNonAmbientDeclaration && !lastSeenNonAmbientDeclaration.body && !hasSyntacticModifier(lastSeenNonAmbientDeclaration, 64 /* Abstract */) && !lastSeenNonAmbientDeclaration.questionToken) { - reportImplementationExpectedError(lastSeenNonAmbientDeclaration); - } - if (hasOverloads) { - if (declarations) { - checkFlagAgreementBetweenOverloads(declarations, bodyDeclaration, flagsToCheck, someNodeFlags, allNodeFlags); - checkQuestionTokenAgreementBetweenOverloads(declarations, bodyDeclaration, someHaveQuestionToken, allHaveQuestionToken); - } - if (bodyDeclaration) { - const signatures = getSignaturesOfSymbol(symbol); - const bodySignature = getSignatureFromDeclaration(bodyDeclaration); - for (const signature of signatures) { - if (!isImplementationCompatibleWithOverload(bodySignature, signature)) { - const errorNode = signature.declaration && isJSDocSignature(signature.declaration) ? signature.declaration.parent.tagName : signature.declaration; - addRelatedInfo( - error(errorNode, Diagnostics.This_overload_signature_is_not_compatible_with_its_implementation_signature), - createDiagnosticForNode(bodyDeclaration, Diagnostics.The_implementation_signature_is_declared_here) - ); - break; - } - } - } - } - } - function checkExportsOnMergedDeclarations(node) { - addLazyDiagnostic(() => checkExportsOnMergedDeclarationsWorker(node)); - } - function checkExportsOnMergedDeclarationsWorker(node) { - let symbol = node.localSymbol; - if (!symbol) { - symbol = getSymbolOfDeclaration(node); - if (!symbol.exportSymbol) { - return; - } - } - if (getDeclarationOfKind(symbol, node.kind) !== node) { - return; - } - let exportedDeclarationSpaces = 0 /* None */; - let nonExportedDeclarationSpaces = 0 /* None */; - let defaultExportedDeclarationSpaces = 0 /* None */; - for (const d of symbol.declarations) { - const declarationSpaces = getDeclarationSpaces(d); - const effectiveDeclarationFlags = getEffectiveDeclarationFlags(d, 32 /* Export */ | 2048 /* Default */); - if (effectiveDeclarationFlags & 32 /* Export */) { - if (effectiveDeclarationFlags & 2048 /* Default */) { - defaultExportedDeclarationSpaces |= declarationSpaces; - } else { - exportedDeclarationSpaces |= declarationSpaces; - } - } else { - nonExportedDeclarationSpaces |= declarationSpaces; - } - } - const nonDefaultExportedDeclarationSpaces = exportedDeclarationSpaces | nonExportedDeclarationSpaces; - const commonDeclarationSpacesForExportsAndLocals = exportedDeclarationSpaces & nonExportedDeclarationSpaces; - const commonDeclarationSpacesForDefaultAndNonDefault = defaultExportedDeclarationSpaces & nonDefaultExportedDeclarationSpaces; - if (commonDeclarationSpacesForExportsAndLocals || commonDeclarationSpacesForDefaultAndNonDefault) { - for (const d of symbol.declarations) { - const declarationSpaces = getDeclarationSpaces(d); - const name = getNameOfDeclaration(d); - if (declarationSpaces & commonDeclarationSpacesForDefaultAndNonDefault) { - error(name, Diagnostics.Merged_declaration_0_cannot_include_a_default_export_declaration_Consider_adding_a_separate_export_default_0_declaration_instead, declarationNameToString(name)); - } else if (declarationSpaces & commonDeclarationSpacesForExportsAndLocals) { - error(name, Diagnostics.Individual_declarations_in_merged_declaration_0_must_be_all_exported_or_all_local, declarationNameToString(name)); - } - } - } - function getDeclarationSpaces(decl) { - let d = decl; - switch (d.kind) { - case 264 /* InterfaceDeclaration */: - case 265 /* TypeAliasDeclaration */: - case 346 /* JSDocTypedefTag */: - case 338 /* JSDocCallbackTag */: - case 340 /* JSDocEnumTag */: - return 2 /* ExportType */; - case 267 /* ModuleDeclaration */: - return isAmbientModule(d) || getModuleInstanceState(d) !== 0 /* NonInstantiated */ ? 4 /* ExportNamespace */ | 1 /* ExportValue */ : 4 /* ExportNamespace */; - case 263 /* ClassDeclaration */: - case 266 /* EnumDeclaration */: - case 306 /* EnumMember */: - return 2 /* ExportType */ | 1 /* ExportValue */; - case 307 /* SourceFile */: - return 2 /* ExportType */ | 1 /* ExportValue */ | 4 /* ExportNamespace */; - case 277 /* ExportAssignment */: - case 226 /* BinaryExpression */: - const node2 = d; - const expression = isExportAssignment(node2) ? node2.expression : node2.right; - if (!isEntityNameExpression(expression)) { - return 1 /* ExportValue */; - } - d = expression; - case 271 /* ImportEqualsDeclaration */: - case 274 /* NamespaceImport */: - case 273 /* ImportClause */: - let result = 0 /* None */; - const target = resolveAlias(getSymbolOfDeclaration(d)); - forEach(target.declarations, (d2) => { - result |= getDeclarationSpaces(d2); - }); - return result; - case 260 /* VariableDeclaration */: - case 208 /* BindingElement */: - case 262 /* FunctionDeclaration */: - case 276 /* ImportSpecifier */: - case 80 /* Identifier */: - return 1 /* ExportValue */; - case 173 /* MethodSignature */: - case 171 /* PropertySignature */: - return 2 /* ExportType */; - default: - return Debug.failBadSyntaxKind(d); - } - } - } - function getAwaitedTypeOfPromise(type, errorNode, diagnosticMessage, ...args) { - const promisedType = getPromisedTypeOfPromise(type, errorNode); - return promisedType && getAwaitedType(promisedType, errorNode, diagnosticMessage, ...args); - } - function getPromisedTypeOfPromise(type, errorNode, thisTypeForErrorOut) { - if (isTypeAny(type)) { - return void 0; - } - const typeAsPromise = type; - if (typeAsPromise.promisedTypeOfPromise) { - return typeAsPromise.promisedTypeOfPromise; - } - if (isReferenceToType(type, getGlobalPromiseType( - /*reportErrors*/ - false - ))) { - return typeAsPromise.promisedTypeOfPromise = getTypeArguments(type)[0]; - } - if (allTypesAssignableToKind(getBaseConstraintOrType(type), 402784252 /* Primitive */ | 131072 /* Never */)) { - return void 0; - } - const thenFunction = getTypeOfPropertyOfType(type, "then"); - if (isTypeAny(thenFunction)) { - return void 0; - } - const thenSignatures = thenFunction ? getSignaturesOfType(thenFunction, 0 /* Call */) : emptyArray; - if (thenSignatures.length === 0) { - if (errorNode) { - error(errorNode, Diagnostics.A_promise_must_have_a_then_method); - } - return void 0; - } - let thisTypeForError; - let candidates; - for (const thenSignature of thenSignatures) { - const thisType = getThisTypeOfSignature(thenSignature); - if (thisType && thisType !== voidType && !isTypeRelatedTo(type, thisType, subtypeRelation)) { - thisTypeForError = thisType; - } else { - candidates = append(candidates, thenSignature); - } - } - if (!candidates) { - Debug.assertIsDefined(thisTypeForError); - if (thisTypeForErrorOut) { - thisTypeForErrorOut.value = thisTypeForError; - } - if (errorNode) { - error(errorNode, Diagnostics.The_this_context_of_type_0_is_not_assignable_to_method_s_this_of_type_1, typeToString(type), typeToString(thisTypeForError)); - } - return void 0; - } - const onfulfilledParameterType = getTypeWithFacts(getUnionType(map(candidates, getTypeOfFirstParameterOfSignature)), 2097152 /* NEUndefinedOrNull */); - if (isTypeAny(onfulfilledParameterType)) { - return void 0; - } - const onfulfilledParameterSignatures = getSignaturesOfType(onfulfilledParameterType, 0 /* Call */); - if (onfulfilledParameterSignatures.length === 0) { - if (errorNode) { - error(errorNode, Diagnostics.The_first_parameter_of_the_then_method_of_a_promise_must_be_a_callback); - } - return void 0; - } - return typeAsPromise.promisedTypeOfPromise = getUnionType(map(onfulfilledParameterSignatures, getTypeOfFirstParameterOfSignature), 2 /* Subtype */); - } - function checkAwaitedType(type, withAlias, errorNode, diagnosticMessage, ...args) { - const awaitedType = withAlias ? getAwaitedType(type, errorNode, diagnosticMessage, ...args) : getAwaitedTypeNoAlias(type, errorNode, diagnosticMessage, ...args); - return awaitedType || errorType; - } - function isThenableType(type) { - if (allTypesAssignableToKind(getBaseConstraintOrType(type), 402784252 /* Primitive */ | 131072 /* Never */)) { - return false; - } - const thenFunction = getTypeOfPropertyOfType(type, "then"); - return !!thenFunction && getSignaturesOfType(getTypeWithFacts(thenFunction, 2097152 /* NEUndefinedOrNull */), 0 /* Call */).length > 0; - } - function isAwaitedTypeInstantiation(type) { - var _a; - if (type.flags & 16777216 /* Conditional */) { - const awaitedSymbol = getGlobalAwaitedSymbol( - /*reportErrors*/ - false - ); - return !!awaitedSymbol && type.aliasSymbol === awaitedSymbol && ((_a = type.aliasTypeArguments) == null ? void 0 : _a.length) === 1; - } - return false; - } - function unwrapAwaitedType(type) { - return type.flags & 1048576 /* Union */ ? mapType(type, unwrapAwaitedType) : isAwaitedTypeInstantiation(type) ? type.aliasTypeArguments[0] : type; - } - function isAwaitedTypeNeeded(type) { - if (isTypeAny(type) || isAwaitedTypeInstantiation(type)) { - return false; - } - if (isGenericObjectType(type)) { - const baseConstraint = getBaseConstraintOfType(type); - if (baseConstraint ? baseConstraint.flags & 3 /* AnyOrUnknown */ || isEmptyObjectType(baseConstraint) || someType(baseConstraint, isThenableType) : maybeTypeOfKind(type, 8650752 /* TypeVariable */)) { - return true; - } - } - return false; - } - function tryCreateAwaitedType(type) { - const awaitedSymbol = getGlobalAwaitedSymbol( - /*reportErrors*/ - true - ); - if (awaitedSymbol) { - return getTypeAliasInstantiation(awaitedSymbol, [unwrapAwaitedType(type)]); - } - return void 0; - } - function createAwaitedTypeIfNeeded(type) { - if (isAwaitedTypeNeeded(type)) { - return tryCreateAwaitedType(type) ?? type; - } - Debug.assert(isAwaitedTypeInstantiation(type) || getPromisedTypeOfPromise(type) === void 0, "type provided should not be a non-generic 'promise'-like."); - return type; - } - function getAwaitedType(type, errorNode, diagnosticMessage, ...args) { - const awaitedType = getAwaitedTypeNoAlias(type, errorNode, diagnosticMessage, ...args); - return awaitedType && createAwaitedTypeIfNeeded(awaitedType); - } - function getAwaitedTypeNoAlias(type, errorNode, diagnosticMessage, ...args) { - if (isTypeAny(type)) { - return type; - } - if (isAwaitedTypeInstantiation(type)) { - return type; - } - const typeAsAwaitable = type; - if (typeAsAwaitable.awaitedTypeOfType) { - return typeAsAwaitable.awaitedTypeOfType; - } - if (type.flags & 1048576 /* Union */) { - if (awaitedTypeStack.lastIndexOf(type.id) >= 0) { - if (errorNode) { - error(errorNode, Diagnostics.Type_is_referenced_directly_or_indirectly_in_the_fulfillment_callback_of_its_own_then_method); - } - return void 0; - } - const mapper = errorNode ? (constituentType) => getAwaitedTypeNoAlias(constituentType, errorNode, diagnosticMessage, ...args) : getAwaitedTypeNoAlias; - awaitedTypeStack.push(type.id); - const mapped = mapType(type, mapper); - awaitedTypeStack.pop(); - return typeAsAwaitable.awaitedTypeOfType = mapped; - } - if (isAwaitedTypeNeeded(type)) { - return typeAsAwaitable.awaitedTypeOfType = type; - } - const thisTypeForErrorOut = { value: void 0 }; - const promisedType = getPromisedTypeOfPromise( - type, - /*errorNode*/ - void 0, - thisTypeForErrorOut - ); - if (promisedType) { - if (type.id === promisedType.id || awaitedTypeStack.lastIndexOf(promisedType.id) >= 0) { - if (errorNode) { - error(errorNode, Diagnostics.Type_is_referenced_directly_or_indirectly_in_the_fulfillment_callback_of_its_own_then_method); - } - return void 0; - } - awaitedTypeStack.push(type.id); - const awaitedType = getAwaitedTypeNoAlias(promisedType, errorNode, diagnosticMessage, ...args); - awaitedTypeStack.pop(); - if (!awaitedType) { - return void 0; - } - return typeAsAwaitable.awaitedTypeOfType = awaitedType; - } - if (isThenableType(type)) { - if (errorNode) { - Debug.assertIsDefined(diagnosticMessage); - let chain; - if (thisTypeForErrorOut.value) { - chain = chainDiagnosticMessages(chain, Diagnostics.The_this_context_of_type_0_is_not_assignable_to_method_s_this_of_type_1, typeToString(type), typeToString(thisTypeForErrorOut.value)); - } - chain = chainDiagnosticMessages(chain, diagnosticMessage, ...args); - diagnostics.add(createDiagnosticForNodeFromMessageChain(getSourceFileOfNode(errorNode), errorNode, chain)); - } - return void 0; - } - return typeAsAwaitable.awaitedTypeOfType = type; - } - function checkAsyncFunctionReturnType(node, returnTypeNode, returnTypeErrorLocation) { - const returnType = getTypeFromTypeNode(returnTypeNode); - if (languageVersion >= 2 /* ES2015 */) { - if (isErrorType(returnType)) { - return; - } - const globalPromiseType = getGlobalPromiseType( - /*reportErrors*/ - true - ); - if (globalPromiseType !== emptyGenericType && !isReferenceToType(returnType, globalPromiseType)) { - reportErrorForInvalidReturnType(Diagnostics.The_return_type_of_an_async_function_or_method_must_be_the_global_Promise_T_type_Did_you_mean_to_write_Promise_0, returnTypeNode, returnTypeErrorLocation, typeToString(getAwaitedTypeNoAlias(returnType) || voidType)); - return; - } - } else { - markLinkedReferences(node, 5 /* AsyncFunction */); - if (isErrorType(returnType)) { - return; - } - const promiseConstructorName = getEntityNameFromTypeNode(returnTypeNode); - if (promiseConstructorName === void 0) { - reportErrorForInvalidReturnType(Diagnostics.Type_0_is_not_a_valid_async_function_return_type_in_ES5_because_it_does_not_refer_to_a_Promise_compatible_constructor_value, returnTypeNode, returnTypeErrorLocation, typeToString(returnType)); - return; - } - const promiseConstructorSymbol = resolveEntityName( - promiseConstructorName, - 111551 /* Value */, - /*ignoreErrors*/ - true - ); - const promiseConstructorType = promiseConstructorSymbol ? getTypeOfSymbol(promiseConstructorSymbol) : errorType; - if (isErrorType(promiseConstructorType)) { - if (promiseConstructorName.kind === 80 /* Identifier */ && promiseConstructorName.escapedText === "Promise" && getTargetType(returnType) === getGlobalPromiseType( - /*reportErrors*/ - false - )) { - error(returnTypeErrorLocation, Diagnostics.An_async_function_or_method_in_ES5_requires_the_Promise_constructor_Make_sure_you_have_a_declaration_for_the_Promise_constructor_or_include_ES2015_in_your_lib_option); - } else { - reportErrorForInvalidReturnType(Diagnostics.Type_0_is_not_a_valid_async_function_return_type_in_ES5_because_it_does_not_refer_to_a_Promise_compatible_constructor_value, returnTypeNode, returnTypeErrorLocation, entityNameToString(promiseConstructorName)); - } - return; - } - const globalPromiseConstructorLikeType = getGlobalPromiseConstructorLikeType( - /*reportErrors*/ - true - ); - if (globalPromiseConstructorLikeType === emptyObjectType) { - reportErrorForInvalidReturnType(Diagnostics.Type_0_is_not_a_valid_async_function_return_type_in_ES5_because_it_does_not_refer_to_a_Promise_compatible_constructor_value, returnTypeNode, returnTypeErrorLocation, entityNameToString(promiseConstructorName)); - return; - } - const headMessage = Diagnostics.Type_0_is_not_a_valid_async_function_return_type_in_ES5_because_it_does_not_refer_to_a_Promise_compatible_constructor_value; - const errorInfo = () => returnTypeNode === returnTypeErrorLocation ? void 0 : chainDiagnosticMessages( - /*details*/ - void 0, - Diagnostics.The_return_type_of_an_async_function_or_method_must_be_the_global_Promise_T_type - ); - if (!checkTypeAssignableTo(promiseConstructorType, globalPromiseConstructorLikeType, returnTypeErrorLocation, headMessage, errorInfo)) { - return; - } - const rootName = promiseConstructorName && getFirstIdentifier(promiseConstructorName); - const collidingSymbol = getSymbol(node.locals, rootName.escapedText, 111551 /* Value */); - if (collidingSymbol) { - error(collidingSymbol.valueDeclaration, Diagnostics.Duplicate_identifier_0_Compiler_uses_declaration_1_to_support_async_functions, idText(rootName), entityNameToString(promiseConstructorName)); - return; - } - } - checkAwaitedType( - returnType, - /*withAlias*/ - false, - node, - Diagnostics.The_return_type_of_an_async_function_must_either_be_a_valid_promise_or_must_not_contain_a_callable_then_member - ); - function reportErrorForInvalidReturnType(message, returnTypeNode2, returnTypeErrorLocation2, typeName) { - if (returnTypeNode2 === returnTypeErrorLocation2) { - error(returnTypeErrorLocation2, message, typeName); - } else { - const diag2 = error(returnTypeErrorLocation2, Diagnostics.The_return_type_of_an_async_function_or_method_must_be_the_global_Promise_T_type); - addRelatedInfo(diag2, createDiagnosticForNode(returnTypeNode2, message, typeName)); - } - } - } - function checkGrammarDecorator(decorator) { - const sourceFile = getSourceFileOfNode(decorator); - if (!hasParseDiagnostics(sourceFile)) { - let node = decorator.expression; - if (isParenthesizedExpression(node)) { - return false; - } - let canHaveCallExpression = true; - let errorNode; - while (true) { - if (isExpressionWithTypeArguments(node) || isNonNullExpression(node)) { - node = node.expression; - continue; - } - if (isCallExpression(node)) { - if (!canHaveCallExpression) { - errorNode = node; - } - if (node.questionDotToken) { - errorNode = node.questionDotToken; - } - node = node.expression; - canHaveCallExpression = false; - continue; - } - if (isPropertyAccessExpression(node)) { - if (node.questionDotToken) { - errorNode = node.questionDotToken; - } - node = node.expression; - canHaveCallExpression = false; - continue; - } - if (!isIdentifier(node)) { - errorNode = node; - } - break; - } - if (errorNode) { - addRelatedInfo( - error(decorator.expression, Diagnostics.Expression_must_be_enclosed_in_parentheses_to_be_used_as_a_decorator), - createDiagnosticForNode(errorNode, Diagnostics.Invalid_syntax_in_decorator) - ); - return true; - } - } - return false; - } - function checkDecorator(node) { - checkGrammarDecorator(node); - const signature = getResolvedSignature(node); - checkDeprecatedSignature(signature, node); - const returnType = getReturnTypeOfSignature(signature); - if (returnType.flags & 1 /* Any */) { - return; - } - const decoratorSignature = getDecoratorCallSignature(node); - if (!(decoratorSignature == null ? void 0 : decoratorSignature.resolvedReturnType)) return; - let headMessage; - const expectedReturnType = decoratorSignature.resolvedReturnType; - switch (node.parent.kind) { - case 263 /* ClassDeclaration */: - case 231 /* ClassExpression */: - headMessage = Diagnostics.Decorator_function_return_type_0_is_not_assignable_to_type_1; - break; - case 172 /* PropertyDeclaration */: - if (!legacyDecorators) { - headMessage = Diagnostics.Decorator_function_return_type_0_is_not_assignable_to_type_1; - break; - } - case 169 /* Parameter */: - headMessage = Diagnostics.Decorator_function_return_type_is_0_but_is_expected_to_be_void_or_any; - break; - case 174 /* MethodDeclaration */: - case 177 /* GetAccessor */: - case 178 /* SetAccessor */: - headMessage = Diagnostics.Decorator_function_return_type_0_is_not_assignable_to_type_1; - break; - default: - return Debug.failBadSyntaxKind(node.parent); - } - checkTypeAssignableTo(returnType, expectedReturnType, node.expression, headMessage); - } - function createCallSignature(typeParameters, thisParameter, parameters, returnType, typePredicate, minArgumentCount = parameters.length, flags = 0 /* None */) { - const decl = factory.createFunctionTypeNode( - /*typeParameters*/ - void 0, - emptyArray, - factory.createKeywordTypeNode(133 /* AnyKeyword */) - ); - return createSignature(decl, typeParameters, thisParameter, parameters, returnType, typePredicate, minArgumentCount, flags); - } - function createFunctionType(typeParameters, thisParameter, parameters, returnType, typePredicate, minArgumentCount, flags) { - const signature = createCallSignature(typeParameters, thisParameter, parameters, returnType, typePredicate, minArgumentCount, flags); - return getOrCreateTypeFromSignature(signature); - } - function createGetterFunctionType(type) { - return createFunctionType( - /*typeParameters*/ - void 0, - /*thisParameter*/ - void 0, - emptyArray, - type - ); - } - function createSetterFunctionType(type) { - const valueParam = createParameter("value", type); - return createFunctionType( - /*typeParameters*/ - void 0, - /*thisParameter*/ - void 0, - [valueParam], - voidType - ); - } - function getEntityNameForDecoratorMetadata(node) { - if (node) { - switch (node.kind) { - case 193 /* IntersectionType */: - case 192 /* UnionType */: - return getEntityNameForDecoratorMetadataFromTypeList(node.types); - case 194 /* ConditionalType */: - return getEntityNameForDecoratorMetadataFromTypeList([node.trueType, node.falseType]); - case 196 /* ParenthesizedType */: - case 202 /* NamedTupleMember */: - return getEntityNameForDecoratorMetadata(node.type); - case 183 /* TypeReference */: - return node.typeName; - } - } - } - function getEntityNameForDecoratorMetadataFromTypeList(types) { - let commonEntityName; - for (let typeNode of types) { - while (typeNode.kind === 196 /* ParenthesizedType */ || typeNode.kind === 202 /* NamedTupleMember */) { - typeNode = typeNode.type; - } - if (typeNode.kind === 146 /* NeverKeyword */) { - continue; - } - if (!strictNullChecks && (typeNode.kind === 201 /* LiteralType */ && typeNode.literal.kind === 106 /* NullKeyword */ || typeNode.kind === 157 /* UndefinedKeyword */)) { - continue; - } - const individualEntityName = getEntityNameForDecoratorMetadata(typeNode); - if (!individualEntityName) { - return void 0; - } - if (commonEntityName) { - if (!isIdentifier(commonEntityName) || !isIdentifier(individualEntityName) || commonEntityName.escapedText !== individualEntityName.escapedText) { - return void 0; - } - } else { - commonEntityName = individualEntityName; - } - } - return commonEntityName; - } - function getParameterTypeNodeForDecoratorCheck(node) { - const typeNode = getEffectiveTypeAnnotationNode(node); - return isRestParameter(node) ? getRestParameterElementType(typeNode) : typeNode; - } - function checkDecorators(node) { - if (!canHaveDecorators(node) || !hasDecorators(node) || !node.modifiers || !nodeCanBeDecorated(legacyDecorators, node, node.parent, node.parent.parent)) { - return; - } - const firstDecorator = find(node.modifiers, isDecorator); - if (!firstDecorator) { - return; - } - if (legacyDecorators) { - checkExternalEmitHelpers(firstDecorator, 8 /* Decorate */); - if (node.kind === 169 /* Parameter */) { - checkExternalEmitHelpers(firstDecorator, 32 /* Param */); - } - } else if (languageVersion < 99 /* ClassAndClassElementDecorators */) { - checkExternalEmitHelpers(firstDecorator, 8 /* ESDecorateAndRunInitializers */); - if (isClassDeclaration(node)) { - if (!node.name) { - checkExternalEmitHelpers(firstDecorator, 4194304 /* SetFunctionName */); - } else { - const member = getFirstTransformableStaticClassElement(node); - if (member) { - checkExternalEmitHelpers(firstDecorator, 4194304 /* SetFunctionName */); - } - } - } else if (!isClassExpression(node)) { - if (isPrivateIdentifier(node.name) && (isMethodDeclaration(node) || isAccessor(node) || isAutoAccessorPropertyDeclaration(node))) { - checkExternalEmitHelpers(firstDecorator, 4194304 /* SetFunctionName */); - } - if (isComputedPropertyName(node.name)) { - checkExternalEmitHelpers(firstDecorator, 8388608 /* PropKey */); - } - } - } - markLinkedReferences(node, 8 /* Decorator */); - for (const modifier of node.modifiers) { - if (isDecorator(modifier)) { - checkDecorator(modifier); - } - } - } - function checkFunctionDeclaration(node) { - addLazyDiagnostic(checkFunctionDeclarationDiagnostics); - function checkFunctionDeclarationDiagnostics() { - checkFunctionOrMethodDeclaration(node); - checkGrammarForGenerator(node); - checkCollisionsForDeclarationName(node, node.name); - } - } - function checkJSDocTypeAliasTag(node) { - if (!node.typeExpression) { - error(node.name, Diagnostics.JSDoc_typedef_tag_should_either_have_a_type_annotation_or_be_followed_by_property_or_member_tags); - } - if (node.name) { - checkTypeNameIsReserved(node.name, Diagnostics.Type_alias_name_cannot_be_0); - } - checkSourceElement(node.typeExpression); - checkTypeParameters(getEffectiveTypeParameterDeclarations(node)); - } - function checkJSDocTemplateTag(node) { - checkSourceElement(node.constraint); - for (const tp of node.typeParameters) { - checkSourceElement(tp); - } - } - function checkJSDocTypeTag(node) { - checkSourceElement(node.typeExpression); - } - function checkJSDocSatisfiesTag(node) { - checkSourceElement(node.typeExpression); - const host2 = getEffectiveJSDocHost(node); - if (host2) { - const tags = getAllJSDocTags(host2, isJSDocSatisfiesTag); - if (length(tags) > 1) { - for (let i = 1; i < length(tags); i++) { - const tagName = tags[i].tagName; - error(tagName, Diagnostics._0_tag_already_specified, idText(tagName)); - } - } - } - } - function checkJSDocLinkLikeTag(node) { - if (node.name) { - resolveJSDocMemberName( - node.name, - /*ignoreErrors*/ - true - ); - } - } - function checkJSDocParameterTag(node) { - checkSourceElement(node.typeExpression); - } - function checkJSDocPropertyTag(node) { - checkSourceElement(node.typeExpression); - } - function checkJSDocFunctionType(node) { - addLazyDiagnostic(checkJSDocFunctionTypeImplicitAny); - checkSignatureDeclaration(node); - function checkJSDocFunctionTypeImplicitAny() { - if (!node.type && !isJSDocConstructSignature(node)) { - reportImplicitAny(node, anyType); - } - } - } - function checkJSDocThisTag(node) { - const host2 = getEffectiveJSDocHost(node); - if (host2 && isArrowFunction(host2)) { - error(node.tagName, Diagnostics.An_arrow_function_cannot_have_a_this_parameter); - } - } - function checkJSDocImportTag(node) { - checkImportAttributes(node); - } - function checkJSDocImplementsTag(node) { - const classLike = getEffectiveJSDocHost(node); - if (!classLike || !isClassDeclaration(classLike) && !isClassExpression(classLike)) { - error(classLike, Diagnostics.JSDoc_0_is_not_attached_to_a_class, idText(node.tagName)); - } - } - function checkJSDocAugmentsTag(node) { - const classLike = getEffectiveJSDocHost(node); - if (!classLike || !isClassDeclaration(classLike) && !isClassExpression(classLike)) { - error(classLike, Diagnostics.JSDoc_0_is_not_attached_to_a_class, idText(node.tagName)); - return; - } - const augmentsTags = getJSDocTags(classLike).filter(isJSDocAugmentsTag); - Debug.assert(augmentsTags.length > 0); - if (augmentsTags.length > 1) { - error(augmentsTags[1], Diagnostics.Class_declarations_cannot_have_more_than_one_augments_or_extends_tag); - } - const name = getIdentifierFromEntityNameExpression(node.class.expression); - const extend2 = getClassExtendsHeritageElement(classLike); - if (extend2) { - const className = getIdentifierFromEntityNameExpression(extend2.expression); - if (className && name.escapedText !== className.escapedText) { - error(name, Diagnostics.JSDoc_0_1_does_not_match_the_extends_2_clause, idText(node.tagName), idText(name), idText(className)); - } - } - } - function checkJSDocAccessibilityModifiers(node) { - const host2 = getJSDocHost(node); - if (host2 && isPrivateIdentifierClassElementDeclaration(host2)) { - error(node, Diagnostics.An_accessibility_modifier_cannot_be_used_with_a_private_identifier); - } - } - function getIdentifierFromEntityNameExpression(node) { - switch (node.kind) { - case 80 /* Identifier */: - return node; - case 211 /* PropertyAccessExpression */: - return node.name; - default: - return void 0; - } - } - function checkFunctionOrMethodDeclaration(node) { - var _a; - checkDecorators(node); - checkSignatureDeclaration(node); - const functionFlags = getFunctionFlags(node); - if (node.name && node.name.kind === 167 /* ComputedPropertyName */) { - checkComputedPropertyName(node.name); - } - if (hasBindableName(node)) { - const symbol = getSymbolOfDeclaration(node); - const localSymbol = node.localSymbol || symbol; - const firstDeclaration = (_a = localSymbol.declarations) == null ? void 0 : _a.find( - // Get first non javascript function declaration - (declaration) => declaration.kind === node.kind && !(declaration.flags & 524288 /* JavaScriptFile */) - ); - if (node === firstDeclaration) { - checkFunctionOrConstructorSymbol(localSymbol); - } - if (symbol.parent) { - checkFunctionOrConstructorSymbol(symbol); - } - } - const body = node.kind === 173 /* MethodSignature */ ? void 0 : node.body; - checkSourceElement(body); - checkAllCodePathsInNonVoidFunctionReturnOrThrow(node, getReturnTypeFromAnnotation(node)); - addLazyDiagnostic(checkFunctionOrMethodDeclarationDiagnostics); - if (isInJSFile(node)) { - const typeTag = getJSDocTypeTag(node); - if (typeTag && typeTag.typeExpression && !getContextualCallSignature(getTypeFromTypeNode(typeTag.typeExpression), node)) { - error(typeTag.typeExpression.type, Diagnostics.The_type_of_a_function_declaration_must_match_the_function_s_signature); - } - } - function checkFunctionOrMethodDeclarationDiagnostics() { - if (!getEffectiveReturnTypeNode(node)) { - if (nodeIsMissing(body) && !isPrivateWithinAmbient(node)) { - reportImplicitAny(node, anyType); - } - if (functionFlags & 1 /* Generator */ && nodeIsPresent(body)) { - getReturnTypeOfSignature(getSignatureFromDeclaration(node)); - } - } - } - } - function registerForUnusedIdentifiersCheck(node) { - addLazyDiagnostic(registerForUnusedIdentifiersCheckDiagnostics); - function registerForUnusedIdentifiersCheckDiagnostics() { - const sourceFile = getSourceFileOfNode(node); - let potentiallyUnusedIdentifiers = allPotentiallyUnusedIdentifiers.get(sourceFile.path); - if (!potentiallyUnusedIdentifiers) { - potentiallyUnusedIdentifiers = []; - allPotentiallyUnusedIdentifiers.set(sourceFile.path, potentiallyUnusedIdentifiers); - } - potentiallyUnusedIdentifiers.push(node); - } - } - function checkUnusedIdentifiers(potentiallyUnusedIdentifiers, addDiagnostic) { - for (const node of potentiallyUnusedIdentifiers) { - switch (node.kind) { - case 263 /* ClassDeclaration */: - case 231 /* ClassExpression */: - checkUnusedClassMembers(node, addDiagnostic); - checkUnusedTypeParameters(node, addDiagnostic); - break; - case 307 /* SourceFile */: - case 267 /* ModuleDeclaration */: - case 241 /* Block */: - case 269 /* CaseBlock */: - case 248 /* ForStatement */: - case 249 /* ForInStatement */: - case 250 /* ForOfStatement */: - checkUnusedLocalsAndParameters(node, addDiagnostic); - break; - case 176 /* Constructor */: - case 218 /* FunctionExpression */: - case 262 /* FunctionDeclaration */: - case 219 /* ArrowFunction */: - case 174 /* MethodDeclaration */: - case 177 /* GetAccessor */: - case 178 /* SetAccessor */: - if (node.body) { - checkUnusedLocalsAndParameters(node, addDiagnostic); - } - checkUnusedTypeParameters(node, addDiagnostic); - break; - case 173 /* MethodSignature */: - case 179 /* CallSignature */: - case 180 /* ConstructSignature */: - case 184 /* FunctionType */: - case 185 /* ConstructorType */: - case 265 /* TypeAliasDeclaration */: - case 264 /* InterfaceDeclaration */: - checkUnusedTypeParameters(node, addDiagnostic); - break; - case 195 /* InferType */: - checkUnusedInferTypeParameter(node, addDiagnostic); - break; - default: - Debug.assertNever(node, "Node should not have been registered for unused identifiers check"); - } - } - } - function errorUnusedLocal(declaration, name, addDiagnostic) { - const node = getNameOfDeclaration(declaration) || declaration; - const message = isTypeDeclaration(declaration) ? Diagnostics._0_is_declared_but_never_used : Diagnostics._0_is_declared_but_its_value_is_never_read; - addDiagnostic(declaration, 0 /* Local */, createDiagnosticForNode(node, message, name)); - } - function isIdentifierThatStartsWithUnderscore(node) { - return isIdentifier(node) && idText(node).charCodeAt(0) === 95 /* _ */; - } - function checkUnusedClassMembers(node, addDiagnostic) { - for (const member of node.members) { - switch (member.kind) { - case 174 /* MethodDeclaration */: - case 172 /* PropertyDeclaration */: - case 177 /* GetAccessor */: - case 178 /* SetAccessor */: - if (member.kind === 178 /* SetAccessor */ && member.symbol.flags & 32768 /* GetAccessor */) { - break; - } - const symbol = getSymbolOfDeclaration(member); - if (!symbol.isReferenced && (hasEffectiveModifier(member, 2 /* Private */) || isNamedDeclaration(member) && isPrivateIdentifier(member.name)) && !(member.flags & 33554432 /* Ambient */)) { - addDiagnostic(member, 0 /* Local */, createDiagnosticForNode(member.name, Diagnostics._0_is_declared_but_its_value_is_never_read, symbolToString(symbol))); - } - break; - case 176 /* Constructor */: - for (const parameter of member.parameters) { - if (!parameter.symbol.isReferenced && hasSyntacticModifier(parameter, 2 /* Private */)) { - addDiagnostic(parameter, 0 /* Local */, createDiagnosticForNode(parameter.name, Diagnostics.Property_0_is_declared_but_its_value_is_never_read, symbolName(parameter.symbol))); - } - } - break; - case 181 /* IndexSignature */: - case 240 /* SemicolonClassElement */: - case 175 /* ClassStaticBlockDeclaration */: - break; - default: - Debug.fail("Unexpected class member"); - } - } - } - function checkUnusedInferTypeParameter(node, addDiagnostic) { - const { typeParameter } = node; - if (isTypeParameterUnused(typeParameter)) { - addDiagnostic(node, 1 /* Parameter */, createDiagnosticForNode(node, Diagnostics._0_is_declared_but_its_value_is_never_read, idText(typeParameter.name))); - } - } - function checkUnusedTypeParameters(node, addDiagnostic) { - const declarations = getSymbolOfDeclaration(node).declarations; - if (!declarations || last(declarations) !== node) return; - const typeParameters = getEffectiveTypeParameterDeclarations(node); - const seenParentsWithEveryUnused = /* @__PURE__ */ new Set(); - for (const typeParameter of typeParameters) { - if (!isTypeParameterUnused(typeParameter)) continue; - const name = idText(typeParameter.name); - const { parent } = typeParameter; - if (parent.kind !== 195 /* InferType */ && parent.typeParameters.every(isTypeParameterUnused)) { - if (tryAddToSet(seenParentsWithEveryUnused, parent)) { - const sourceFile = getSourceFileOfNode(parent); - const range = isJSDocTemplateTag(parent) ? rangeOfNode(parent) : rangeOfTypeParameters(sourceFile, parent.typeParameters); - const only = parent.typeParameters.length === 1; - const messageAndArg = only ? [Diagnostics._0_is_declared_but_its_value_is_never_read, name] : [Diagnostics.All_type_parameters_are_unused]; - addDiagnostic(typeParameter, 1 /* Parameter */, createFileDiagnostic(sourceFile, range.pos, range.end - range.pos, ...messageAndArg)); - } - } else { - addDiagnostic(typeParameter, 1 /* Parameter */, createDiagnosticForNode(typeParameter, Diagnostics._0_is_declared_but_its_value_is_never_read, name)); - } - } - } - function isTypeParameterUnused(typeParameter) { - return !(getMergedSymbol(typeParameter.symbol).isReferenced & 262144 /* TypeParameter */) && !isIdentifierThatStartsWithUnderscore(typeParameter.name); - } - function addToGroup(map2, key, value, getKey) { - const keyString = String(getKey(key)); - const group2 = map2.get(keyString); - if (group2) { - group2[1].push(value); - } else { - map2.set(keyString, [key, [value]]); - } - } - function tryGetRootParameterDeclaration(node) { - return tryCast(getRootDeclaration(node), isParameter); - } - function isValidUnusedLocalDeclaration(declaration) { - if (isBindingElement(declaration)) { - if (isObjectBindingPattern(declaration.parent)) { - return !!(declaration.propertyName && isIdentifierThatStartsWithUnderscore(declaration.name)); - } - return isIdentifierThatStartsWithUnderscore(declaration.name); - } - return isAmbientModule(declaration) || (isVariableDeclaration(declaration) && isForInOrOfStatement(declaration.parent.parent) || isImportedDeclaration(declaration)) && isIdentifierThatStartsWithUnderscore(declaration.name); - } - function checkUnusedLocalsAndParameters(nodeWithLocals, addDiagnostic) { - const unusedImports = /* @__PURE__ */ new Map(); - const unusedDestructures = /* @__PURE__ */ new Map(); - const unusedVariables = /* @__PURE__ */ new Map(); - nodeWithLocals.locals.forEach((local) => { - if (local.flags & 262144 /* TypeParameter */ ? !(local.flags & 3 /* Variable */ && !(local.isReferenced & 3 /* Variable */)) : local.isReferenced || local.exportSymbol) { - return; - } - if (local.declarations) { - for (const declaration of local.declarations) { - if (isValidUnusedLocalDeclaration(declaration)) { - continue; - } - if (isImportedDeclaration(declaration)) { - addToGroup(unusedImports, importClauseFromImported(declaration), declaration, getNodeId); - } else if (isBindingElement(declaration) && isObjectBindingPattern(declaration.parent)) { - const lastElement = last(declaration.parent.elements); - if (declaration === lastElement || !last(declaration.parent.elements).dotDotDotToken) { - addToGroup(unusedDestructures, declaration.parent, declaration, getNodeId); - } - } else if (isVariableDeclaration(declaration)) { - const blockScopeKind = getCombinedNodeFlagsCached(declaration) & 7 /* BlockScoped */; - const name = getNameOfDeclaration(declaration); - if (blockScopeKind !== 4 /* Using */ && blockScopeKind !== 6 /* AwaitUsing */ || !name || !isIdentifierThatStartsWithUnderscore(name)) { - addToGroup(unusedVariables, declaration.parent, declaration, getNodeId); - } - } else { - const parameter = local.valueDeclaration && tryGetRootParameterDeclaration(local.valueDeclaration); - const name = local.valueDeclaration && getNameOfDeclaration(local.valueDeclaration); - if (parameter && name) { - if (!isParameterPropertyDeclaration(parameter, parameter.parent) && !parameterIsThisKeyword(parameter) && !isIdentifierThatStartsWithUnderscore(name)) { - if (isBindingElement(declaration) && isArrayBindingPattern(declaration.parent)) { - addToGroup(unusedDestructures, declaration.parent, declaration, getNodeId); - } else { - addDiagnostic(parameter, 1 /* Parameter */, createDiagnosticForNode(name, Diagnostics._0_is_declared_but_its_value_is_never_read, symbolName(local))); - } - } - } else { - errorUnusedLocal(declaration, symbolName(local), addDiagnostic); - } - } - } - } - }); - unusedImports.forEach(([importClause, unuseds]) => { - const importDecl = importClause.parent; - const nDeclarations = (importClause.name ? 1 : 0) + (importClause.namedBindings ? importClause.namedBindings.kind === 274 /* NamespaceImport */ ? 1 : importClause.namedBindings.elements.length : 0); - if (nDeclarations === unuseds.length) { - addDiagnostic( - importDecl, - 0 /* Local */, - unuseds.length === 1 ? createDiagnosticForNode(importDecl, Diagnostics._0_is_declared_but_its_value_is_never_read, idText(first(unuseds).name)) : createDiagnosticForNode(importDecl, Diagnostics.All_imports_in_import_declaration_are_unused) - ); - } else { - for (const unused of unuseds) errorUnusedLocal(unused, idText(unused.name), addDiagnostic); - } - }); - unusedDestructures.forEach(([bindingPattern, bindingElements]) => { - const kind = tryGetRootParameterDeclaration(bindingPattern.parent) ? 1 /* Parameter */ : 0 /* Local */; - if (bindingPattern.elements.length === bindingElements.length) { - if (bindingElements.length === 1 && bindingPattern.parent.kind === 260 /* VariableDeclaration */ && bindingPattern.parent.parent.kind === 261 /* VariableDeclarationList */) { - addToGroup(unusedVariables, bindingPattern.parent.parent, bindingPattern.parent, getNodeId); - } else { - addDiagnostic( - bindingPattern, - kind, - bindingElements.length === 1 ? createDiagnosticForNode(bindingPattern, Diagnostics._0_is_declared_but_its_value_is_never_read, bindingNameText(first(bindingElements).name)) : createDiagnosticForNode(bindingPattern, Diagnostics.All_destructured_elements_are_unused) - ); - } - } else { - for (const e of bindingElements) { - addDiagnostic(e, kind, createDiagnosticForNode(e, Diagnostics._0_is_declared_but_its_value_is_never_read, bindingNameText(e.name))); - } - } - }); - unusedVariables.forEach(([declarationList, declarations]) => { - if (declarationList.declarations.length === declarations.length) { - addDiagnostic( - declarationList, - 0 /* Local */, - declarations.length === 1 ? createDiagnosticForNode(first(declarations).name, Diagnostics._0_is_declared_but_its_value_is_never_read, bindingNameText(first(declarations).name)) : createDiagnosticForNode(declarationList.parent.kind === 243 /* VariableStatement */ ? declarationList.parent : declarationList, Diagnostics.All_variables_are_unused) - ); - } else { - for (const decl of declarations) { - addDiagnostic(decl, 0 /* Local */, createDiagnosticForNode(decl, Diagnostics._0_is_declared_but_its_value_is_never_read, bindingNameText(decl.name))); - } - } - }); - } - function checkPotentialUncheckedRenamedBindingElementsInTypes() { - var _a; - for (const node of potentialUnusedRenamedBindingElementsInTypes) { - if (!((_a = getSymbolOfDeclaration(node)) == null ? void 0 : _a.isReferenced)) { - const wrappingDeclaration = walkUpBindingElementsAndPatterns(node); - Debug.assert(isPartOfParameterDeclaration(wrappingDeclaration), "Only parameter declaration should be checked here"); - const diagnostic = createDiagnosticForNode(node.name, Diagnostics._0_is_an_unused_renaming_of_1_Did_you_intend_to_use_it_as_a_type_annotation, declarationNameToString(node.name), declarationNameToString(node.propertyName)); - if (!wrappingDeclaration.type) { - addRelatedInfo( - diagnostic, - createFileDiagnostic(getSourceFileOfNode(wrappingDeclaration), wrappingDeclaration.end, 0, Diagnostics.We_can_only_write_a_type_for_0_by_adding_a_type_for_the_entire_parameter_here, declarationNameToString(node.propertyName)) - ); - } - diagnostics.add(diagnostic); - } - } - } - function bindingNameText(name) { - switch (name.kind) { - case 80 /* Identifier */: - return idText(name); - case 207 /* ArrayBindingPattern */: - case 206 /* ObjectBindingPattern */: - return bindingNameText(cast(first(name.elements), isBindingElement).name); - default: - return Debug.assertNever(name); - } - } - function isImportedDeclaration(node) { - return node.kind === 273 /* ImportClause */ || node.kind === 276 /* ImportSpecifier */ || node.kind === 274 /* NamespaceImport */; - } - function importClauseFromImported(decl) { - return decl.kind === 273 /* ImportClause */ ? decl : decl.kind === 274 /* NamespaceImport */ ? decl.parent : decl.parent.parent; - } - function checkBlock(node) { - if (node.kind === 241 /* Block */) { - checkGrammarStatementInAmbientContext(node); - } - if (isFunctionOrModuleBlock(node)) { - const saveFlowAnalysisDisabled = flowAnalysisDisabled; - forEach(node.statements, checkSourceElement); - flowAnalysisDisabled = saveFlowAnalysisDisabled; - } else { - forEach(node.statements, checkSourceElement); - } - if (node.locals) { - registerForUnusedIdentifiersCheck(node); - } - } - function checkCollisionWithArgumentsInGeneratedCode(node) { - if (languageVersion >= 2 /* ES2015 */ || !hasRestParameter(node) || node.flags & 33554432 /* Ambient */ || nodeIsMissing(node.body)) { - return; - } - forEach(node.parameters, (p) => { - if (p.name && !isBindingPattern(p.name) && p.name.escapedText === argumentsSymbol.escapedName) { - errorSkippedOn("noEmit", p, Diagnostics.Duplicate_identifier_arguments_Compiler_uses_arguments_to_initialize_rest_parameters); - } - }); - } - function needCollisionCheckForIdentifier(node, identifier, name) { - if ((identifier == null ? void 0 : identifier.escapedText) !== name) { - return false; - } - if (node.kind === 172 /* PropertyDeclaration */ || node.kind === 171 /* PropertySignature */ || node.kind === 174 /* MethodDeclaration */ || node.kind === 173 /* MethodSignature */ || node.kind === 177 /* GetAccessor */ || node.kind === 178 /* SetAccessor */ || node.kind === 303 /* PropertyAssignment */) { - return false; - } - if (node.flags & 33554432 /* Ambient */) { - return false; - } - if (isImportClause(node) || isImportEqualsDeclaration(node) || isImportSpecifier(node)) { - if (isTypeOnlyImportOrExportDeclaration(node)) { - return false; - } - } - const root = getRootDeclaration(node); - if (isParameter(root) && nodeIsMissing(root.parent.body)) { - return false; - } - return true; - } - function checkIfThisIsCapturedInEnclosingScope(node) { - findAncestor(node, (current) => { - if (getNodeCheckFlags(current) & 4 /* CaptureThis */) { - const isDeclaration2 = node.kind !== 80 /* Identifier */; - if (isDeclaration2) { - error(getNameOfDeclaration(node), Diagnostics.Duplicate_identifier_this_Compiler_uses_variable_declaration_this_to_capture_this_reference); - } else { - error(node, Diagnostics.Expression_resolves_to_variable_declaration_this_that_compiler_uses_to_capture_this_reference); - } - return true; - } - return false; - }); - } - function checkIfNewTargetIsCapturedInEnclosingScope(node) { - findAncestor(node, (current) => { - if (getNodeCheckFlags(current) & 8 /* CaptureNewTarget */) { - const isDeclaration2 = node.kind !== 80 /* Identifier */; - if (isDeclaration2) { - error(getNameOfDeclaration(node), Diagnostics.Duplicate_identifier_newTarget_Compiler_uses_variable_declaration_newTarget_to_capture_new_target_meta_property_reference); - } else { - error(node, Diagnostics.Expression_resolves_to_variable_declaration_newTarget_that_compiler_uses_to_capture_new_target_meta_property_reference); - } - return true; - } - return false; - }); - } - function checkCollisionWithRequireExportsInGeneratedCode(node, name) { - if (host.getEmitModuleFormatOfFile(getSourceFileOfNode(node)) >= 5 /* ES2015 */) { - return; - } - if (!name || !needCollisionCheckForIdentifier(node, name, "require") && !needCollisionCheckForIdentifier(node, name, "exports")) { - return; - } - if (isModuleDeclaration(node) && getModuleInstanceState(node) !== 1 /* Instantiated */) { - return; - } - const parent = getDeclarationContainer(node); - if (parent.kind === 307 /* SourceFile */ && isExternalOrCommonJsModule(parent)) { - errorSkippedOn("noEmit", name, Diagnostics.Duplicate_identifier_0_Compiler_reserves_name_1_in_top_level_scope_of_a_module, declarationNameToString(name), declarationNameToString(name)); - } - } - function checkCollisionWithGlobalPromiseInGeneratedCode(node, name) { - if (!name || languageVersion >= 4 /* ES2017 */ || !needCollisionCheckForIdentifier(node, name, "Promise")) { - return; - } - if (isModuleDeclaration(node) && getModuleInstanceState(node) !== 1 /* Instantiated */) { - return; - } - const parent = getDeclarationContainer(node); - if (parent.kind === 307 /* SourceFile */ && isExternalOrCommonJsModule(parent) && parent.flags & 4096 /* HasAsyncFunctions */) { - errorSkippedOn("noEmit", name, Diagnostics.Duplicate_identifier_0_Compiler_reserves_name_1_in_top_level_scope_of_a_module_containing_async_functions, declarationNameToString(name), declarationNameToString(name)); - } - } - function recordPotentialCollisionWithWeakMapSetInGeneratedCode(node, name) { - if (languageVersion <= 8 /* ES2021 */ && (needCollisionCheckForIdentifier(node, name, "WeakMap") || needCollisionCheckForIdentifier(node, name, "WeakSet"))) { - potentialWeakMapSetCollisions.push(node); - } - } - function checkWeakMapSetCollision(node) { - const enclosingBlockScope = getEnclosingBlockScopeContainer(node); - if (getNodeCheckFlags(enclosingBlockScope) & 1048576 /* ContainsClassWithPrivateIdentifiers */) { - Debug.assert(isNamedDeclaration(node) && isIdentifier(node.name) && typeof node.name.escapedText === "string", "The target of a WeakMap/WeakSet collision check should be an identifier"); - errorSkippedOn("noEmit", node, Diagnostics.Compiler_reserves_name_0_when_emitting_private_identifier_downlevel, node.name.escapedText); - } - } - function recordPotentialCollisionWithReflectInGeneratedCode(node, name) { - if (name && languageVersion >= 2 /* ES2015 */ && languageVersion <= 8 /* ES2021 */ && needCollisionCheckForIdentifier(node, name, "Reflect")) { - potentialReflectCollisions.push(node); - } - } - function checkReflectCollision(node) { - let hasCollision = false; - if (isClassExpression(node)) { - for (const member of node.members) { - if (getNodeCheckFlags(member) & 2097152 /* ContainsSuperPropertyInStaticInitializer */) { - hasCollision = true; - break; - } - } - } else if (isFunctionExpression(node)) { - if (getNodeCheckFlags(node) & 2097152 /* ContainsSuperPropertyInStaticInitializer */) { - hasCollision = true; - } - } else { - const container = getEnclosingBlockScopeContainer(node); - if (container && getNodeCheckFlags(container) & 2097152 /* ContainsSuperPropertyInStaticInitializer */) { - hasCollision = true; - } - } - if (hasCollision) { - Debug.assert(isNamedDeclaration(node) && isIdentifier(node.name), "The target of a Reflect collision check should be an identifier"); - errorSkippedOn("noEmit", node, Diagnostics.Duplicate_identifier_0_Compiler_reserves_name_1_when_emitting_super_references_in_static_initializers, declarationNameToString(node.name), "Reflect"); - } - } - function checkCollisionsForDeclarationName(node, name) { - if (!name) return; - checkCollisionWithRequireExportsInGeneratedCode(node, name); - checkCollisionWithGlobalPromiseInGeneratedCode(node, name); - recordPotentialCollisionWithWeakMapSetInGeneratedCode(node, name); - recordPotentialCollisionWithReflectInGeneratedCode(node, name); - if (isClassLike(node)) { - checkTypeNameIsReserved(name, Diagnostics.Class_name_cannot_be_0); - if (!(node.flags & 33554432 /* Ambient */)) { - checkClassNameCollisionWithObject(name); - } - } else if (isEnumDeclaration(node)) { - checkTypeNameIsReserved(name, Diagnostics.Enum_name_cannot_be_0); - } - } - function checkVarDeclaredNamesNotShadowed(node) { - if ((getCombinedNodeFlagsCached(node) & 7 /* BlockScoped */) !== 0 || isPartOfParameterDeclaration(node)) { - return; - } - const symbol = getSymbolOfDeclaration(node); - if (symbol.flags & 1 /* FunctionScopedVariable */) { - if (!isIdentifier(node.name)) return Debug.fail(); - const localDeclarationSymbol = resolveName( - node, - node.name.escapedText, - 3 /* Variable */, - /*nameNotFoundMessage*/ - void 0, - /*isUse*/ - false - ); - if (localDeclarationSymbol && localDeclarationSymbol !== symbol && localDeclarationSymbol.flags & 2 /* BlockScopedVariable */) { - if (getDeclarationNodeFlagsFromSymbol(localDeclarationSymbol) & 7 /* BlockScoped */) { - const varDeclList = getAncestor(localDeclarationSymbol.valueDeclaration, 261 /* VariableDeclarationList */); - const container = varDeclList.parent.kind === 243 /* VariableStatement */ && varDeclList.parent.parent ? varDeclList.parent.parent : void 0; - const namesShareScope = container && (container.kind === 241 /* Block */ && isFunctionLike(container.parent) || container.kind === 268 /* ModuleBlock */ || container.kind === 267 /* ModuleDeclaration */ || container.kind === 307 /* SourceFile */); - if (!namesShareScope) { - const name = symbolToString(localDeclarationSymbol); - error(node, Diagnostics.Cannot_initialize_outer_scoped_variable_0_in_the_same_scope_as_block_scoped_declaration_1, name, name); - } - } - } - } - } - function convertAutoToAny(type) { - return type === autoType ? anyType : type === autoArrayType ? anyArrayType : type; - } - function checkVariableLikeDeclaration(node) { - var _a; - checkDecorators(node); - if (!isBindingElement(node)) { - checkSourceElement(node.type); - } - if (!node.name) { - return; - } - if (node.name.kind === 167 /* ComputedPropertyName */) { - checkComputedPropertyName(node.name); - if (hasOnlyExpressionInitializer(node) && node.initializer) { - checkExpressionCached(node.initializer); - } - } - if (isBindingElement(node)) { - if (node.propertyName && isIdentifier(node.name) && isPartOfParameterDeclaration(node) && nodeIsMissing(getContainingFunction(node).body)) { - potentialUnusedRenamedBindingElementsInTypes.push(node); - return; - } - if (isObjectBindingPattern(node.parent) && node.dotDotDotToken && languageVersion < 5 /* ObjectSpreadRest */) { - checkExternalEmitHelpers(node, 4 /* Rest */); - } - if (node.propertyName && node.propertyName.kind === 167 /* ComputedPropertyName */) { - checkComputedPropertyName(node.propertyName); - } - const parent = node.parent.parent; - const parentCheckMode = node.dotDotDotToken ? 32 /* RestBindingElement */ : 0 /* Normal */; - const parentType = getTypeForBindingElementParent(parent, parentCheckMode); - const name = node.propertyName || node.name; - if (parentType && !isBindingPattern(name)) { - const exprType = getLiteralTypeFromPropertyName(name); - if (isTypeUsableAsPropertyName(exprType)) { - const nameText = getPropertyNameFromType(exprType); - const property = getPropertyOfType(parentType, nameText); - if (property) { - markPropertyAsReferenced( - property, - /*nodeForCheckWriteOnly*/ - void 0, - /*isSelfTypeAccess*/ - false - ); - checkPropertyAccessibility( - node, - !!parent.initializer && parent.initializer.kind === 108 /* SuperKeyword */, - /*writing*/ - false, - parentType, - property - ); - } - } - } - } - if (isBindingPattern(node.name)) { - if (node.name.kind === 207 /* ArrayBindingPattern */ && languageVersion < 2 /* BindingPatterns */ && compilerOptions.downlevelIteration) { - checkExternalEmitHelpers(node, 512 /* Read */); - } - forEach(node.name.elements, checkSourceElement); - } - if (node.initializer && isPartOfParameterDeclaration(node) && nodeIsMissing(getContainingFunction(node).body)) { - error(node, Diagnostics.A_parameter_initializer_is_only_allowed_in_a_function_or_constructor_implementation); - return; - } - if (isBindingPattern(node.name)) { - if (isInAmbientOrTypeNode(node)) { - return; - } - const needCheckInitializer = hasOnlyExpressionInitializer(node) && node.initializer && node.parent.parent.kind !== 249 /* ForInStatement */; - const needCheckWidenedType = !some(node.name.elements, not(isOmittedExpression)); - if (needCheckInitializer || needCheckWidenedType) { - const widenedType = getWidenedTypeForVariableLikeDeclaration(node); - if (needCheckInitializer) { - const initializerType = checkExpressionCached(node.initializer); - if (strictNullChecks && needCheckWidenedType) { - checkNonNullNonVoidType(initializerType, node); - } else { - checkTypeAssignableToAndOptionallyElaborate(initializerType, getWidenedTypeForVariableLikeDeclaration(node), node, node.initializer); - } - } - if (needCheckWidenedType) { - if (isArrayBindingPattern(node.name)) { - checkIteratedTypeOrElementType(65 /* Destructuring */, widenedType, undefinedType, node); - } else if (strictNullChecks) { - checkNonNullNonVoidType(widenedType, node); - } - } - } - return; - } - const symbol = getSymbolOfDeclaration(node); - if (symbol.flags & 2097152 /* Alias */ && (isVariableDeclarationInitializedToBareOrAccessedRequire(node) || isBindingElementOfBareOrAccessedRequire(node))) { - checkAliasSymbol(node); - return; - } - if (node.name.kind === 10 /* BigIntLiteral */) { - error(node.name, Diagnostics.A_bigint_literal_cannot_be_used_as_a_property_name); - } - const type = convertAutoToAny(getTypeOfSymbol(symbol)); - if (node === symbol.valueDeclaration) { - const initializer = hasOnlyExpressionInitializer(node) && getEffectiveInitializer(node); - if (initializer) { - const isJSObjectLiteralInitializer = isInJSFile(node) && isObjectLiteralExpression(initializer) && (initializer.properties.length === 0 || isPrototypeAccess(node.name)) && !!((_a = symbol.exports) == null ? void 0 : _a.size); - if (!isJSObjectLiteralInitializer && node.parent.parent.kind !== 249 /* ForInStatement */) { - const initializerType = checkExpressionCached(initializer); - checkTypeAssignableToAndOptionallyElaborate( - initializerType, - type, - node, - initializer, - /*headMessage*/ - void 0 - ); - const blockScopeKind = getCombinedNodeFlagsCached(node) & 7 /* BlockScoped */; - if (blockScopeKind === 6 /* AwaitUsing */) { - const globalAsyncDisposableType = getGlobalAsyncDisposableType( - /*reportErrors*/ - true - ); - const globalDisposableType = getGlobalDisposableType( - /*reportErrors*/ - true - ); - if (globalAsyncDisposableType !== emptyObjectType && globalDisposableType !== emptyObjectType) { - const optionalDisposableType = getUnionType([globalAsyncDisposableType, globalDisposableType, nullType, undefinedType]); - checkTypeAssignableTo(widenTypeForVariableLikeDeclaration(initializerType, node), optionalDisposableType, initializer, Diagnostics.The_initializer_of_an_await_using_declaration_must_be_either_an_object_with_a_Symbol_asyncDispose_or_Symbol_dispose_method_or_be_null_or_undefined); - } - } else if (blockScopeKind === 4 /* Using */) { - const globalDisposableType = getGlobalDisposableType( - /*reportErrors*/ - true - ); - if (globalDisposableType !== emptyObjectType) { - const optionalDisposableType = getUnionType([globalDisposableType, nullType, undefinedType]); - checkTypeAssignableTo(widenTypeForVariableLikeDeclaration(initializerType, node), optionalDisposableType, initializer, Diagnostics.The_initializer_of_a_using_declaration_must_be_either_an_object_with_a_Symbol_dispose_method_or_be_null_or_undefined); - } - } - } - } - if (symbol.declarations && symbol.declarations.length > 1) { - if (some(symbol.declarations, (d) => d !== node && isVariableLike(d) && !areDeclarationFlagsIdentical(d, node))) { - error(node.name, Diagnostics.All_declarations_of_0_must_have_identical_modifiers, declarationNameToString(node.name)); - } - } - } else { - const declarationType = convertAutoToAny(getWidenedTypeForVariableLikeDeclaration(node)); - if (!isErrorType(type) && !isErrorType(declarationType) && !isTypeIdenticalTo(type, declarationType) && !(symbol.flags & 67108864 /* Assignment */)) { - errorNextVariableOrPropertyDeclarationMustHaveSameType(symbol.valueDeclaration, type, node, declarationType); - } - if (hasOnlyExpressionInitializer(node) && node.initializer) { - checkTypeAssignableToAndOptionallyElaborate( - checkExpressionCached(node.initializer), - declarationType, - node, - node.initializer, - /*headMessage*/ - void 0 - ); - } - if (symbol.valueDeclaration && !areDeclarationFlagsIdentical(node, symbol.valueDeclaration)) { - error(node.name, Diagnostics.All_declarations_of_0_must_have_identical_modifiers, declarationNameToString(node.name)); - } - } - if (node.kind !== 172 /* PropertyDeclaration */ && node.kind !== 171 /* PropertySignature */) { - checkExportsOnMergedDeclarations(node); - if (node.kind === 260 /* VariableDeclaration */ || node.kind === 208 /* BindingElement */) { - checkVarDeclaredNamesNotShadowed(node); - } - checkCollisionsForDeclarationName(node, node.name); - } - } - function errorNextVariableOrPropertyDeclarationMustHaveSameType(firstDeclaration, firstType, nextDeclaration, nextType) { - const nextDeclarationName = getNameOfDeclaration(nextDeclaration); - const message = nextDeclaration.kind === 172 /* PropertyDeclaration */ || nextDeclaration.kind === 171 /* PropertySignature */ ? Diagnostics.Subsequent_property_declarations_must_have_the_same_type_Property_0_must_be_of_type_1_but_here_has_type_2 : Diagnostics.Subsequent_variable_declarations_must_have_the_same_type_Variable_0_must_be_of_type_1_but_here_has_type_2; - const declName = declarationNameToString(nextDeclarationName); - const err = error( - nextDeclarationName, - message, - declName, - typeToString(firstType), - typeToString(nextType) - ); - if (firstDeclaration) { - addRelatedInfo(err, createDiagnosticForNode(firstDeclaration, Diagnostics._0_was_also_declared_here, declName)); - } - } - function areDeclarationFlagsIdentical(left, right) { - if (left.kind === 169 /* Parameter */ && right.kind === 260 /* VariableDeclaration */ || left.kind === 260 /* VariableDeclaration */ && right.kind === 169 /* Parameter */) { - return true; - } - if (hasQuestionToken(left) !== hasQuestionToken(right)) { - return false; - } - const interestingFlags = 2 /* Private */ | 4 /* Protected */ | 1024 /* Async */ | 64 /* Abstract */ | 8 /* Readonly */ | 256 /* Static */; - return getSelectedEffectiveModifierFlags(left, interestingFlags) === getSelectedEffectiveModifierFlags(right, interestingFlags); - } - function checkVariableDeclaration(node) { - var _a, _b; - (_a = tracing) == null ? void 0 : _a.push(tracing.Phase.Check, "checkVariableDeclaration", { kind: node.kind, pos: node.pos, end: node.end, path: node.tracingPath }); - checkGrammarVariableDeclaration(node); - checkVariableLikeDeclaration(node); - (_b = tracing) == null ? void 0 : _b.pop(); - } - function checkBindingElement(node) { - checkGrammarBindingElement(node); - return checkVariableLikeDeclaration(node); - } - function checkVariableDeclarationList(node) { - const blockScopeKind = getCombinedNodeFlags(node) & 7 /* BlockScoped */; - if ((blockScopeKind === 4 /* Using */ || blockScopeKind === 6 /* AwaitUsing */) && languageVersion < 99 /* UsingAndAwaitUsing */) { - checkExternalEmitHelpers(node, 16777216 /* AddDisposableResourceAndDisposeResources */); - } - forEach(node.declarations, checkSourceElement); - } - function checkVariableStatement(node) { - if (!checkGrammarModifiers(node) && !checkGrammarVariableDeclarationList(node.declarationList)) checkGrammarForDisallowedBlockScopedVariableStatement(node); - checkVariableDeclarationList(node.declarationList); - } - function checkExpressionStatement(node) { - checkGrammarStatementInAmbientContext(node); - checkExpression(node.expression); - } - function checkIfStatement(node) { - checkGrammarStatementInAmbientContext(node); - const type = checkTruthinessExpression(node.expression); - checkTestingKnownTruthyCallableOrAwaitableOrEnumMemberType(node.expression, type, node.thenStatement); - checkSourceElement(node.thenStatement); - if (node.thenStatement.kind === 242 /* EmptyStatement */) { - error(node.thenStatement, Diagnostics.The_body_of_an_if_statement_cannot_be_the_empty_statement); - } - checkSourceElement(node.elseStatement); - } - function checkTestingKnownTruthyCallableOrAwaitableOrEnumMemberType(condExpr, condType, body) { - if (!strictNullChecks) return; - bothHelper(condExpr, body); - function bothHelper(condExpr2, body2) { - condExpr2 = skipParentheses(condExpr2); - helper(condExpr2, body2); - while (isBinaryExpression(condExpr2) && (condExpr2.operatorToken.kind === 57 /* BarBarToken */ || condExpr2.operatorToken.kind === 61 /* QuestionQuestionToken */)) { - condExpr2 = skipParentheses(condExpr2.left); - helper(condExpr2, body2); - } - } - function helper(condExpr2, body2) { - const location = isLogicalOrCoalescingBinaryExpression(condExpr2) ? skipParentheses(condExpr2.right) : condExpr2; - if (isModuleExportsAccessExpression(location)) { - return; - } - if (isLogicalOrCoalescingBinaryExpression(location)) { - bothHelper(location, body2); - return; - } - const type = location === condExpr2 ? condType : checkExpression(location); - if (type.flags & 1024 /* EnumLiteral */ && isPropertyAccessExpression(location) && (getNodeLinks(location.expression).resolvedSymbol ?? unknownSymbol).flags & 384 /* Enum */) { - error(location, Diagnostics.This_condition_will_always_return_0, !!type.value ? "true" : "false"); - return; - } - const isPropertyExpressionCast = isPropertyAccessExpression(location) && isTypeAssertion(location.expression); - if (!hasTypeFacts(type, 4194304 /* Truthy */) || isPropertyExpressionCast) return; - const callSignatures = getSignaturesOfType(type, 0 /* Call */); - const isPromise = !!getAwaitedTypeOfPromise(type); - if (callSignatures.length === 0 && !isPromise) { - return; - } - const testedNode = isIdentifier(location) ? location : isPropertyAccessExpression(location) ? location.name : void 0; - const testedSymbol = testedNode && getSymbolAtLocation(testedNode); - if (!testedSymbol && !isPromise) { - return; - } - const isUsed = testedSymbol && isBinaryExpression(condExpr2.parent) && isSymbolUsedInBinaryExpressionChain(condExpr2.parent, testedSymbol) || testedSymbol && body2 && isSymbolUsedInConditionBody(condExpr2, body2, testedNode, testedSymbol); - if (!isUsed) { - if (isPromise) { - errorAndMaybeSuggestAwait( - location, - /*maybeMissingAwait*/ - true, - Diagnostics.This_condition_will_always_return_true_since_this_0_is_always_defined, - getTypeNameForErrorDisplay(type) - ); - } else { - error(location, Diagnostics.This_condition_will_always_return_true_since_this_function_is_always_defined_Did_you_mean_to_call_it_instead); - } - } - } - } - function isSymbolUsedInConditionBody(expr, body, testedNode, testedSymbol) { - return !!forEachChild(body, function check(childNode) { - if (isIdentifier(childNode)) { - const childSymbol = getSymbolAtLocation(childNode); - if (childSymbol && childSymbol === testedSymbol) { - if (isIdentifier(expr) || isIdentifier(testedNode) && isBinaryExpression(testedNode.parent)) { - return true; - } - let testedExpression = testedNode.parent; - let childExpression = childNode.parent; - while (testedExpression && childExpression) { - if (isIdentifier(testedExpression) && isIdentifier(childExpression) || testedExpression.kind === 110 /* ThisKeyword */ && childExpression.kind === 110 /* ThisKeyword */) { - return getSymbolAtLocation(testedExpression) === getSymbolAtLocation(childExpression); - } else if (isPropertyAccessExpression(testedExpression) && isPropertyAccessExpression(childExpression)) { - if (getSymbolAtLocation(testedExpression.name) !== getSymbolAtLocation(childExpression.name)) { - return false; - } - childExpression = childExpression.expression; - testedExpression = testedExpression.expression; - } else if (isCallExpression(testedExpression) && isCallExpression(childExpression)) { - childExpression = childExpression.expression; - testedExpression = testedExpression.expression; - } else { - return false; - } - } - } - } - return forEachChild(childNode, check); - }); - } - function isSymbolUsedInBinaryExpressionChain(node, testedSymbol) { - while (isBinaryExpression(node) && node.operatorToken.kind === 56 /* AmpersandAmpersandToken */) { - const isUsed = forEachChild(node.right, function visit(child) { - if (isIdentifier(child)) { - const symbol = getSymbolAtLocation(child); - if (symbol && symbol === testedSymbol) { - return true; - } - } - return forEachChild(child, visit); - }); - if (isUsed) { - return true; - } - node = node.parent; - } - return false; - } - function checkDoStatement(node) { - checkGrammarStatementInAmbientContext(node); - checkSourceElement(node.statement); - checkTruthinessExpression(node.expression); - } - function checkWhileStatement(node) { - checkGrammarStatementInAmbientContext(node); - checkTruthinessExpression(node.expression); - checkSourceElement(node.statement); - } - function checkTruthinessOfType(type, node) { - if (type.flags & 16384 /* Void */) { - error(node, Diagnostics.An_expression_of_type_void_cannot_be_tested_for_truthiness); - } else { - const semantics = getSyntacticTruthySemantics(node); - if (semantics !== 3 /* Sometimes */) { - error( - node, - semantics === 1 /* Always */ ? Diagnostics.This_kind_of_expression_is_always_truthy : Diagnostics.This_kind_of_expression_is_always_falsy - ); - } - } - return type; - } - function getSyntacticTruthySemantics(node) { - node = skipOuterExpressions(node); - switch (node.kind) { - case 9 /* NumericLiteral */: - if (node.text === "0" || node.text === "1") { - return 3 /* Sometimes */; - } - return 1 /* Always */; - case 209 /* ArrayLiteralExpression */: - case 219 /* ArrowFunction */: - case 10 /* BigIntLiteral */: - case 231 /* ClassExpression */: - case 218 /* FunctionExpression */: - case 284 /* JsxElement */: - case 285 /* JsxSelfClosingElement */: - case 210 /* ObjectLiteralExpression */: - case 14 /* RegularExpressionLiteral */: - return 1 /* Always */; - case 222 /* VoidExpression */: - case 106 /* NullKeyword */: - return 2 /* Never */; - case 15 /* NoSubstitutionTemplateLiteral */: - case 11 /* StringLiteral */: - return !!node.text ? 1 /* Always */ : 2 /* Never */; - case 227 /* ConditionalExpression */: - return getSyntacticTruthySemantics(node.whenTrue) | getSyntacticTruthySemantics(node.whenFalse); - case 80 /* Identifier */: - if (getResolvedSymbol(node) === undefinedSymbol) { - return 2 /* Never */; - } - return 3 /* Sometimes */; - } - return 3 /* Sometimes */; - } - function checkTruthinessExpression(node, checkMode) { - return checkTruthinessOfType(checkExpression(node, checkMode), node); - } - function checkForStatement(node) { - if (!checkGrammarStatementInAmbientContext(node)) { - if (node.initializer && node.initializer.kind === 261 /* VariableDeclarationList */) { - checkGrammarVariableDeclarationList(node.initializer); - } - } - if (node.initializer) { - if (node.initializer.kind === 261 /* VariableDeclarationList */) { - checkVariableDeclarationList(node.initializer); - } else { - checkExpression(node.initializer); - } - } - if (node.condition) checkTruthinessExpression(node.condition); - if (node.incrementor) checkExpression(node.incrementor); - checkSourceElement(node.statement); - if (node.locals) { - registerForUnusedIdentifiersCheck(node); - } - } - function checkForOfStatement(node) { - checkGrammarForInOrForOfStatement(node); - const container = getContainingFunctionOrClassStaticBlock(node); - if (node.awaitModifier) { - if (container && isClassStaticBlockDeclaration(container)) { - grammarErrorOnNode(node.awaitModifier, Diagnostics.for_await_loops_cannot_be_used_inside_a_class_static_block); - } else { - const functionFlags = getFunctionFlags(container); - if ((functionFlags & (4 /* Invalid */ | 2 /* Async */)) === 2 /* Async */ && languageVersion < 5 /* ForAwaitOf */) { - checkExternalEmitHelpers(node, 16384 /* ForAwaitOfIncludes */); - } - } - } else if (compilerOptions.downlevelIteration && languageVersion < 2 /* ForOf */) { - checkExternalEmitHelpers(node, 256 /* ForOfIncludes */); - } - if (node.initializer.kind === 261 /* VariableDeclarationList */) { - checkVariableDeclarationList(node.initializer); - } else { - const varExpr = node.initializer; - const iteratedType = checkRightHandSideOfForOf(node); - if (varExpr.kind === 209 /* ArrayLiteralExpression */ || varExpr.kind === 210 /* ObjectLiteralExpression */) { - checkDestructuringAssignment(varExpr, iteratedType || errorType); - } else { - const leftType = checkExpression(varExpr); - checkReferenceExpression( - varExpr, - Diagnostics.The_left_hand_side_of_a_for_of_statement_must_be_a_variable_or_a_property_access, - Diagnostics.The_left_hand_side_of_a_for_of_statement_may_not_be_an_optional_property_access - ); - if (iteratedType) { - checkTypeAssignableToAndOptionallyElaborate(iteratedType, leftType, varExpr, node.expression); - } - } - } - checkSourceElement(node.statement); - if (node.locals) { - registerForUnusedIdentifiersCheck(node); - } - } - function checkForInStatement(node) { - checkGrammarForInOrForOfStatement(node); - const rightType = getNonNullableTypeIfNeeded(checkExpression(node.expression)); - if (node.initializer.kind === 261 /* VariableDeclarationList */) { - const variable = node.initializer.declarations[0]; - if (variable && isBindingPattern(variable.name)) { - error(variable.name, Diagnostics.The_left_hand_side_of_a_for_in_statement_cannot_be_a_destructuring_pattern); - } - checkVariableDeclarationList(node.initializer); - } else { - const varExpr = node.initializer; - const leftType = checkExpression(varExpr); - if (varExpr.kind === 209 /* ArrayLiteralExpression */ || varExpr.kind === 210 /* ObjectLiteralExpression */) { - error(varExpr, Diagnostics.The_left_hand_side_of_a_for_in_statement_cannot_be_a_destructuring_pattern); - } else if (!isTypeAssignableTo(getIndexTypeOrString(rightType), leftType)) { - error(varExpr, Diagnostics.The_left_hand_side_of_a_for_in_statement_must_be_of_type_string_or_any); - } else { - checkReferenceExpression( - varExpr, - Diagnostics.The_left_hand_side_of_a_for_in_statement_must_be_a_variable_or_a_property_access, - Diagnostics.The_left_hand_side_of_a_for_in_statement_may_not_be_an_optional_property_access - ); - } - } - if (rightType === neverType || !isTypeAssignableToKind(rightType, 67108864 /* NonPrimitive */ | 58982400 /* InstantiableNonPrimitive */)) { - error(node.expression, Diagnostics.The_right_hand_side_of_a_for_in_statement_must_be_of_type_any_an_object_type_or_a_type_parameter_but_here_has_type_0, typeToString(rightType)); - } - checkSourceElement(node.statement); - if (node.locals) { - registerForUnusedIdentifiersCheck(node); - } - } - function checkRightHandSideOfForOf(statement) { - const use = statement.awaitModifier ? 15 /* ForAwaitOf */ : 13 /* ForOf */; - return checkIteratedTypeOrElementType(use, checkNonNullExpression(statement.expression), undefinedType, statement.expression); - } - function checkIteratedTypeOrElementType(use, inputType, sentType, errorNode) { - if (isTypeAny(inputType)) { - return inputType; - } - return getIteratedTypeOrElementType( - use, - inputType, - sentType, - errorNode, - /*checkAssignability*/ - true - ) || anyType; - } - function getIteratedTypeOrElementType(use, inputType, sentType, errorNode, checkAssignability) { - const allowAsyncIterables = (use & 2 /* AllowsAsyncIterablesFlag */) !== 0; - if (inputType === neverType) { - if (errorNode) { - reportTypeNotIterableError(errorNode, inputType, allowAsyncIterables); - } - return void 0; - } - const uplevelIteration = languageVersion >= 2 /* ES2015 */; - const downlevelIteration = !uplevelIteration && compilerOptions.downlevelIteration; - const possibleOutOfBounds = compilerOptions.noUncheckedIndexedAccess && !!(use & 128 /* PossiblyOutOfBounds */); - if (uplevelIteration || downlevelIteration || allowAsyncIterables) { - const iterationTypes = getIterationTypesOfIterable(inputType, use, uplevelIteration ? errorNode : void 0); - if (checkAssignability) { - if (iterationTypes) { - const diagnostic = use & 8 /* ForOfFlag */ ? Diagnostics.Cannot_iterate_value_because_the_next_method_of_its_iterator_expects_type_1_but_for_of_will_always_send_0 : use & 32 /* SpreadFlag */ ? Diagnostics.Cannot_iterate_value_because_the_next_method_of_its_iterator_expects_type_1_but_array_spread_will_always_send_0 : use & 64 /* DestructuringFlag */ ? Diagnostics.Cannot_iterate_value_because_the_next_method_of_its_iterator_expects_type_1_but_array_destructuring_will_always_send_0 : use & 16 /* YieldStarFlag */ ? 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; - if (diagnostic) { - checkTypeAssignableTo(sentType, iterationTypes.nextType, errorNode, diagnostic); - } - } - } - if (iterationTypes || uplevelIteration) { - return possibleOutOfBounds ? includeUndefinedInIndexSignature(iterationTypes && iterationTypes.yieldType) : iterationTypes && iterationTypes.yieldType; - } - } - let arrayType = inputType; - let hasStringConstituent = false; - if (use & 4 /* AllowsStringInputFlag */) { - if (arrayType.flags & 1048576 /* Union */) { - const arrayTypes = inputType.types; - const filteredTypes = filter(arrayTypes, (t) => !(t.flags & 402653316 /* StringLike */)); - if (filteredTypes !== arrayTypes) { - arrayType = getUnionType(filteredTypes, 2 /* Subtype */); - } - } else if (arrayType.flags & 402653316 /* StringLike */) { - arrayType = neverType; - } - hasStringConstituent = arrayType !== inputType; - if (hasStringConstituent) { - if (arrayType.flags & 131072 /* Never */) { - return possibleOutOfBounds ? includeUndefinedInIndexSignature(stringType) : stringType; - } - } - } - if (!isArrayLikeType(arrayType)) { - if (errorNode) { - const allowsStrings = !!(use & 4 /* AllowsStringInputFlag */) && !hasStringConstituent; - const [defaultDiagnostic, maybeMissingAwait] = getIterationDiagnosticDetails(allowsStrings, downlevelIteration); - errorAndMaybeSuggestAwait( - errorNode, - maybeMissingAwait && !!getAwaitedTypeOfPromise(arrayType), - defaultDiagnostic, - typeToString(arrayType) - ); - } - return hasStringConstituent ? possibleOutOfBounds ? includeUndefinedInIndexSignature(stringType) : stringType : void 0; - } - const arrayElementType = getIndexTypeOfType(arrayType, numberType); - if (hasStringConstituent && arrayElementType) { - if (arrayElementType.flags & 402653316 /* StringLike */ && !compilerOptions.noUncheckedIndexedAccess) { - return stringType; - } - return getUnionType(possibleOutOfBounds ? [arrayElementType, stringType, undefinedType] : [arrayElementType, stringType], 2 /* Subtype */); - } - return use & 128 /* PossiblyOutOfBounds */ ? includeUndefinedInIndexSignature(arrayElementType) : arrayElementType; - function getIterationDiagnosticDetails(allowsStrings, downlevelIteration2) { - var _a; - if (downlevelIteration2) { - return allowsStrings ? [Diagnostics.Type_0_is_not_an_array_type_or_a_string_type_or_does_not_have_a_Symbol_iterator_method_that_returns_an_iterator, true] : [Diagnostics.Type_0_is_not_an_array_type_or_does_not_have_a_Symbol_iterator_method_that_returns_an_iterator, true]; - } - const yieldType = getIterationTypeOfIterable( - use, - 0 /* Yield */, - inputType, - /*errorNode*/ - void 0 - ); - if (yieldType) { - return [Diagnostics.Type_0_can_only_be_iterated_through_when_using_the_downlevelIteration_flag_or_with_a_target_of_es2015_or_higher, false]; - } - if (isES2015OrLaterIterable((_a = inputType.symbol) == null ? void 0 : _a.escapedName)) { - return [Diagnostics.Type_0_can_only_be_iterated_through_when_using_the_downlevelIteration_flag_or_with_a_target_of_es2015_or_higher, true]; - } - return allowsStrings ? [Diagnostics.Type_0_is_not_an_array_type_or_a_string_type, true] : [Diagnostics.Type_0_is_not_an_array_type, true]; - } - } - function isES2015OrLaterIterable(n) { - switch (n) { - case "Float32Array": - case "Float64Array": - case "Int16Array": - case "Int32Array": - case "Int8Array": - case "NodeList": - case "Uint16Array": - case "Uint32Array": - case "Uint8Array": - case "Uint8ClampedArray": - return true; - } - return false; - } - function getIterationTypeOfIterable(use, typeKind, inputType, errorNode) { - if (isTypeAny(inputType)) { - return void 0; - } - const iterationTypes = getIterationTypesOfIterable(inputType, use, errorNode); - return iterationTypes && iterationTypes[getIterationTypesKeyFromIterationTypeKind(typeKind)]; - } - function createIterationTypes(yieldType = neverType, returnType = neverType, nextType = unknownType) { - if (yieldType.flags & 67359327 /* Intrinsic */ && returnType.flags & (1 /* Any */ | 131072 /* Never */ | 2 /* Unknown */ | 16384 /* Void */ | 32768 /* Undefined */) && nextType.flags & (1 /* Any */ | 131072 /* Never */ | 2 /* Unknown */ | 16384 /* Void */ | 32768 /* Undefined */)) { - const id = getTypeListId([yieldType, returnType, nextType]); - let iterationTypes = iterationTypesCache.get(id); - if (!iterationTypes) { - iterationTypes = { yieldType, returnType, nextType }; - iterationTypesCache.set(id, iterationTypes); - } - return iterationTypes; - } - return { yieldType, returnType, nextType }; - } - function combineIterationTypes(array) { - let yieldTypes; - let returnTypes; - let nextTypes; - for (const iterationTypes of array) { - if (iterationTypes === void 0 || iterationTypes === noIterationTypes) { - continue; - } - if (iterationTypes === anyIterationTypes) { - return anyIterationTypes; - } - yieldTypes = append(yieldTypes, iterationTypes.yieldType); - returnTypes = append(returnTypes, iterationTypes.returnType); - nextTypes = append(nextTypes, iterationTypes.nextType); - } - if (yieldTypes || returnTypes || nextTypes) { - return createIterationTypes( - yieldTypes && getUnionType(yieldTypes), - returnTypes && getUnionType(returnTypes), - nextTypes && getIntersectionType(nextTypes) - ); - } - return noIterationTypes; - } - function getCachedIterationTypes(type, cacheKey) { - return type[cacheKey]; - } - function setCachedIterationTypes(type, cacheKey, cachedTypes2) { - return type[cacheKey] = cachedTypes2; - } - function getIterationTypesOfIterable(type, use, errorNode) { - var _a, _b; - if (isTypeAny(type)) { - return anyIterationTypes; - } - if (!(type.flags & 1048576 /* Union */)) { - const errorOutputContainer = errorNode ? { errors: void 0 } : void 0; - const iterationTypes2 = getIterationTypesOfIterableWorker(type, use, errorNode, errorOutputContainer); - if (iterationTypes2 === noIterationTypes) { - if (errorNode) { - const rootDiag = reportTypeNotIterableError(errorNode, type, !!(use & 2 /* AllowsAsyncIterablesFlag */)); - if (errorOutputContainer == null ? void 0 : errorOutputContainer.errors) { - addRelatedInfo(rootDiag, ...errorOutputContainer.errors); - } - } - return void 0; - } else if ((_a = errorOutputContainer == null ? void 0 : errorOutputContainer.errors) == null ? void 0 : _a.length) { - for (const diag2 of errorOutputContainer.errors) { - diagnostics.add(diag2); - } - } - return iterationTypes2; - } - const cacheKey = use & 2 /* AllowsAsyncIterablesFlag */ ? "iterationTypesOfAsyncIterable" : "iterationTypesOfIterable"; - const cachedTypes2 = getCachedIterationTypes(type, cacheKey); - if (cachedTypes2) return cachedTypes2 === noIterationTypes ? void 0 : cachedTypes2; - let allIterationTypes; - for (const constituent of type.types) { - const errorOutputContainer = errorNode ? { errors: void 0 } : void 0; - const iterationTypes2 = getIterationTypesOfIterableWorker(constituent, use, errorNode, errorOutputContainer); - if (iterationTypes2 === noIterationTypes) { - if (errorNode) { - const rootDiag = reportTypeNotIterableError(errorNode, type, !!(use & 2 /* AllowsAsyncIterablesFlag */)); - if (errorOutputContainer == null ? void 0 : errorOutputContainer.errors) { - addRelatedInfo(rootDiag, ...errorOutputContainer.errors); - } - } - setCachedIterationTypes(type, cacheKey, noIterationTypes); - return void 0; - } else if ((_b = errorOutputContainer == null ? void 0 : errorOutputContainer.errors) == null ? void 0 : _b.length) { - for (const diag2 of errorOutputContainer.errors) { - diagnostics.add(diag2); - } - } - allIterationTypes = append(allIterationTypes, iterationTypes2); - } - const iterationTypes = allIterationTypes ? combineIterationTypes(allIterationTypes) : noIterationTypes; - setCachedIterationTypes(type, cacheKey, iterationTypes); - return iterationTypes === noIterationTypes ? void 0 : iterationTypes; - } - function getAsyncFromSyncIterationTypes(iterationTypes, errorNode) { - if (iterationTypes === noIterationTypes) return noIterationTypes; - if (iterationTypes === anyIterationTypes) return anyIterationTypes; - const { yieldType, returnType, nextType } = iterationTypes; - if (errorNode) { - getGlobalAwaitedSymbol( - /*reportErrors*/ - true - ); - } - return createIterationTypes( - getAwaitedType(yieldType, errorNode) || anyType, - getAwaitedType(returnType, errorNode) || anyType, - nextType - ); - } - function getIterationTypesOfIterableWorker(type, use, errorNode, errorOutputContainer) { - if (isTypeAny(type)) { - return anyIterationTypes; - } - let noCache = false; - if (use & 2 /* AllowsAsyncIterablesFlag */) { - const iterationTypes = getIterationTypesOfIterableCached(type, asyncIterationTypesResolver) || getIterationTypesOfIterableFast(type, asyncIterationTypesResolver); - if (iterationTypes) { - if (iterationTypes === noIterationTypes && errorNode) { - noCache = true; - } else { - return use & 8 /* ForOfFlag */ ? getAsyncFromSyncIterationTypes(iterationTypes, errorNode) : iterationTypes; - } - } - } - if (use & 1 /* AllowsSyncIterablesFlag */) { - let iterationTypes = getIterationTypesOfIterableCached(type, syncIterationTypesResolver) || getIterationTypesOfIterableFast(type, syncIterationTypesResolver); - if (iterationTypes) { - if (iterationTypes === noIterationTypes && errorNode) { - noCache = true; - } else { - if (use & 2 /* AllowsAsyncIterablesFlag */) { - if (iterationTypes !== noIterationTypes) { - iterationTypes = getAsyncFromSyncIterationTypes(iterationTypes, errorNode); - return noCache ? iterationTypes : setCachedIterationTypes(type, "iterationTypesOfAsyncIterable", iterationTypes); - } - } else { - return iterationTypes; - } - } - } - } - if (use & 2 /* AllowsAsyncIterablesFlag */) { - const iterationTypes = getIterationTypesOfIterableSlow(type, asyncIterationTypesResolver, errorNode, errorOutputContainer, noCache); - if (iterationTypes !== noIterationTypes) { - return iterationTypes; - } - } - if (use & 1 /* AllowsSyncIterablesFlag */) { - let iterationTypes = getIterationTypesOfIterableSlow(type, syncIterationTypesResolver, errorNode, errorOutputContainer, noCache); - if (iterationTypes !== noIterationTypes) { - if (use & 2 /* AllowsAsyncIterablesFlag */) { - iterationTypes = getAsyncFromSyncIterationTypes(iterationTypes, errorNode); - return noCache ? iterationTypes : setCachedIterationTypes(type, "iterationTypesOfAsyncIterable", iterationTypes); - } else { - return iterationTypes; - } - } - } - return noIterationTypes; - } - function getIterationTypesOfIterableCached(type, resolver) { - return getCachedIterationTypes(type, resolver.iterableCacheKey); - } - function getIterationTypesOfIterableFast(type, resolver) { - if (isReferenceToType(type, resolver.getGlobalIterableType( - /*reportErrors*/ - false - )) || isReferenceToType(type, resolver.getGlobalIteratorObjectType( - /*reportErrors*/ - false - )) || isReferenceToType(type, resolver.getGlobalIterableIteratorType( - /*reportErrors*/ - false - )) || isReferenceToType(type, resolver.getGlobalGeneratorType( - /*reportErrors*/ - false - ))) { - const [yieldType, returnType, nextType] = getTypeArguments(type); - return setCachedIterationTypes(type, resolver.iterableCacheKey, createIterationTypes(resolver.resolveIterationType( - yieldType, - /*errorNode*/ - void 0 - ) || yieldType, resolver.resolveIterationType( - returnType, - /*errorNode*/ - void 0 - ) || returnType, nextType)); - } - if (isReferenceToSomeType(type, resolver.getGlobalBuiltinIteratorTypes())) { - const [yieldType] = getTypeArguments(type); - const returnType = getBuiltinIteratorReturnType(); - const nextType = unknownType; - return setCachedIterationTypes(type, resolver.iterableCacheKey, createIterationTypes(resolver.resolveIterationType( - yieldType, - /*errorNode*/ - void 0 - ) || yieldType, resolver.resolveIterationType( - returnType, - /*errorNode*/ - void 0 - ) || returnType, nextType)); - } - } - function getPropertyNameForKnownSymbolName(symbolName2) { - const ctorType = getGlobalESSymbolConstructorSymbol( - /*reportErrors*/ - false - ); - const uniqueType = ctorType && getTypeOfPropertyOfType(getTypeOfSymbol(ctorType), escapeLeadingUnderscores(symbolName2)); - return uniqueType && isTypeUsableAsPropertyName(uniqueType) ? getPropertyNameFromType(uniqueType) : `__@${symbolName2}`; - } - function getIterationTypesOfIterableSlow(type, resolver, errorNode, errorOutputContainer, noCache) { - const method = getPropertyOfType(type, getPropertyNameForKnownSymbolName(resolver.iteratorSymbolName)); - const methodType = method && !(method.flags & 16777216 /* Optional */) ? getTypeOfSymbol(method) : void 0; - if (isTypeAny(methodType)) { - return noCache ? anyIterationTypes : setCachedIterationTypes(type, resolver.iterableCacheKey, anyIterationTypes); - } - const signatures = methodType ? getSignaturesOfType(methodType, 0 /* Call */) : void 0; - if (!some(signatures)) { - return noCache ? noIterationTypes : setCachedIterationTypes(type, resolver.iterableCacheKey, noIterationTypes); - } - const iteratorType = getIntersectionType(map(signatures, getReturnTypeOfSignature)); - const iterationTypes = getIterationTypesOfIteratorWorker(iteratorType, resolver, errorNode, errorOutputContainer, noCache) ?? noIterationTypes; - return noCache ? iterationTypes : setCachedIterationTypes(type, resolver.iterableCacheKey, iterationTypes); - } - function reportTypeNotIterableError(errorNode, type, allowAsyncIterables) { - const message = allowAsyncIterables ? Diagnostics.Type_0_must_have_a_Symbol_asyncIterator_method_that_returns_an_async_iterator : Diagnostics.Type_0_must_have_a_Symbol_iterator_method_that_returns_an_iterator; - const suggestAwait = ( - // for (const x of Promise<...>) or [...Promise<...>] - !!getAwaitedTypeOfPromise(type) || !allowAsyncIterables && isForOfStatement(errorNode.parent) && errorNode.parent.expression === errorNode && getGlobalAsyncIterableType( - /*reportErrors*/ - false - ) !== emptyGenericType && isTypeAssignableTo(type, createTypeFromGenericGlobalType(getGlobalAsyncIterableType( - /*reportErrors*/ - false - ), [anyType, anyType, anyType])) - ); - return errorAndMaybeSuggestAwait(errorNode, suggestAwait, message, typeToString(type)); - } - function getIterationTypesOfIterator(type, resolver, errorNode, errorOutputContainer) { - return getIterationTypesOfIteratorWorker( - type, - resolver, - errorNode, - errorOutputContainer, - /*noCache*/ - false - ); - } - function getIterationTypesOfIteratorWorker(type, resolver, errorNode, errorOutputContainer, noCache) { - if (isTypeAny(type)) { - return anyIterationTypes; - } - let iterationTypes = getIterationTypesOfIteratorCached(type, resolver) || getIterationTypesOfIteratorFast(type, resolver); - if (iterationTypes === noIterationTypes && errorNode) { - iterationTypes = void 0; - noCache = true; - } - iterationTypes ?? (iterationTypes = getIterationTypesOfIteratorSlow(type, resolver, errorNode, errorOutputContainer, noCache)); - return iterationTypes === noIterationTypes ? void 0 : iterationTypes; - } - function getIterationTypesOfIteratorCached(type, resolver) { - return getCachedIterationTypes(type, resolver.iteratorCacheKey); - } - function getIterationTypesOfIteratorFast(type, resolver) { - if (isReferenceToType(type, resolver.getGlobalIterableIteratorType( - /*reportErrors*/ - false - )) || isReferenceToType(type, resolver.getGlobalIteratorType( - /*reportErrors*/ - false - )) || isReferenceToType(type, resolver.getGlobalIteratorObjectType( - /*reportErrors*/ - false - )) || isReferenceToType(type, resolver.getGlobalGeneratorType( - /*reportErrors*/ - false - ))) { - const [yieldType, returnType, nextType] = getTypeArguments(type); - return setCachedIterationTypes(type, resolver.iteratorCacheKey, createIterationTypes(yieldType, returnType, nextType)); - } - if (isReferenceToSomeType(type, resolver.getGlobalBuiltinIteratorTypes())) { - const [yieldType] = getTypeArguments(type); - const returnType = getBuiltinIteratorReturnType(); - const nextType = unknownType; - return setCachedIterationTypes(type, resolver.iteratorCacheKey, createIterationTypes(yieldType, returnType, nextType)); - } - } - function isIteratorResult(type, kind) { - const doneType = getTypeOfPropertyOfType(type, "done") || falseType; - return isTypeAssignableTo(kind === 0 /* Yield */ ? falseType : trueType, doneType); - } - function isYieldIteratorResult(type) { - return isIteratorResult(type, 0 /* Yield */); - } - function isReturnIteratorResult(type) { - return isIteratorResult(type, 1 /* Return */); - } - function getIterationTypesOfIteratorResult(type) { - if (isTypeAny(type)) { - return anyIterationTypes; - } - const cachedTypes2 = getCachedIterationTypes(type, "iterationTypesOfIteratorResult"); - if (cachedTypes2) { - return cachedTypes2; - } - if (isReferenceToType(type, getGlobalIteratorYieldResultType( - /*reportErrors*/ - false - ))) { - const yieldType2 = getTypeArguments(type)[0]; - return setCachedIterationTypes(type, "iterationTypesOfIteratorResult", createIterationTypes( - yieldType2, - /*returnType*/ - void 0, - /*nextType*/ - void 0 - )); - } - if (isReferenceToType(type, getGlobalIteratorReturnResultType( - /*reportErrors*/ - false - ))) { - const returnType2 = getTypeArguments(type)[0]; - return setCachedIterationTypes(type, "iterationTypesOfIteratorResult", createIterationTypes( - /*yieldType*/ - void 0, - returnType2, - /*nextType*/ - void 0 - )); - } - const yieldIteratorResult = filterType(type, isYieldIteratorResult); - const yieldType = yieldIteratorResult !== neverType ? getTypeOfPropertyOfType(yieldIteratorResult, "value") : void 0; - const returnIteratorResult = filterType(type, isReturnIteratorResult); - const returnType = returnIteratorResult !== neverType ? getTypeOfPropertyOfType(returnIteratorResult, "value") : void 0; - if (!yieldType && !returnType) { - return setCachedIterationTypes(type, "iterationTypesOfIteratorResult", noIterationTypes); - } - return setCachedIterationTypes(type, "iterationTypesOfIteratorResult", createIterationTypes( - yieldType, - returnType || voidType, - /*nextType*/ - void 0 - )); - } - function getIterationTypesOfMethod(type, resolver, methodName, errorNode, errorOutputContainer) { - var _a, _b, _c, _d; - const method = getPropertyOfType(type, methodName); - if (!method && methodName !== "next") { - return void 0; - } - const methodType = method && !(methodName === "next" && method.flags & 16777216 /* Optional */) ? methodName === "next" ? getTypeOfSymbol(method) : getTypeWithFacts(getTypeOfSymbol(method), 2097152 /* NEUndefinedOrNull */) : void 0; - if (isTypeAny(methodType)) { - return anyIterationTypes; - } - const methodSignatures = methodType ? getSignaturesOfType(methodType, 0 /* Call */) : emptyArray; - if (methodSignatures.length === 0) { - if (errorNode) { - const diagnostic = methodName === "next" ? resolver.mustHaveANextMethodDiagnostic : resolver.mustBeAMethodDiagnostic; - if (errorOutputContainer) { - errorOutputContainer.errors ?? (errorOutputContainer.errors = []); - errorOutputContainer.errors.push(createDiagnosticForNode(errorNode, diagnostic, methodName)); - } else { - error(errorNode, diagnostic, methodName); - } - } - return methodName === "next" ? noIterationTypes : void 0; - } - if ((methodType == null ? void 0 : methodType.symbol) && methodSignatures.length === 1) { - const globalGeneratorType = resolver.getGlobalGeneratorType( - /*reportErrors*/ - false - ); - const globalIteratorType = resolver.getGlobalIteratorType( - /*reportErrors*/ - false - ); - const isGeneratorMethod = ((_b = (_a = globalGeneratorType.symbol) == null ? void 0 : _a.members) == null ? void 0 : _b.get(methodName)) === methodType.symbol; - const isIteratorMethod = !isGeneratorMethod && ((_d = (_c = globalIteratorType.symbol) == null ? void 0 : _c.members) == null ? void 0 : _d.get(methodName)) === methodType.symbol; - if (isGeneratorMethod || isIteratorMethod) { - const globalType = isGeneratorMethod ? globalGeneratorType : globalIteratorType; - const { mapper } = methodType; - return createIterationTypes( - getMappedType(globalType.typeParameters[0], mapper), - getMappedType(globalType.typeParameters[1], mapper), - methodName === "next" ? getMappedType(globalType.typeParameters[2], mapper) : void 0 - ); - } - } - let methodParameterTypes; - let methodReturnTypes; - for (const signature of methodSignatures) { - if (methodName !== "throw" && some(signature.parameters)) { - methodParameterTypes = append(methodParameterTypes, getTypeAtPosition(signature, 0)); - } - methodReturnTypes = append(methodReturnTypes, getReturnTypeOfSignature(signature)); - } - let returnTypes; - let nextType; - if (methodName !== "throw") { - const methodParameterType = methodParameterTypes ? getUnionType(methodParameterTypes) : unknownType; - if (methodName === "next") { - nextType = methodParameterType; - } else if (methodName === "return") { - const resolvedMethodParameterType = resolver.resolveIterationType(methodParameterType, errorNode) || anyType; - returnTypes = append(returnTypes, resolvedMethodParameterType); - } - } - let yieldType; - const methodReturnType = methodReturnTypes ? getIntersectionType(methodReturnTypes) : neverType; - const resolvedMethodReturnType = resolver.resolveIterationType(methodReturnType, errorNode) || anyType; - const iterationTypes = getIterationTypesOfIteratorResult(resolvedMethodReturnType); - if (iterationTypes === noIterationTypes) { - if (errorNode) { - if (errorOutputContainer) { - errorOutputContainer.errors ?? (errorOutputContainer.errors = []); - errorOutputContainer.errors.push(createDiagnosticForNode(errorNode, resolver.mustHaveAValueDiagnostic, methodName)); - } else { - error(errorNode, resolver.mustHaveAValueDiagnostic, methodName); - } - } - yieldType = anyType; - returnTypes = append(returnTypes, anyType); - } else { - yieldType = iterationTypes.yieldType; - returnTypes = append(returnTypes, iterationTypes.returnType); - } - return createIterationTypes(yieldType, getUnionType(returnTypes), nextType); - } - function getIterationTypesOfIteratorSlow(type, resolver, errorNode, errorOutputContainer, noCache) { - const iterationTypes = combineIterationTypes([ - getIterationTypesOfMethod(type, resolver, "next", errorNode, errorOutputContainer), - getIterationTypesOfMethod(type, resolver, "return", errorNode, errorOutputContainer), - getIterationTypesOfMethod(type, resolver, "throw", errorNode, errorOutputContainer) - ]); - return noCache ? iterationTypes : setCachedIterationTypes(type, resolver.iteratorCacheKey, iterationTypes); - } - function getIterationTypeOfGeneratorFunctionReturnType(kind, returnType, isAsyncGenerator) { - if (isTypeAny(returnType)) { - return void 0; - } - const iterationTypes = getIterationTypesOfGeneratorFunctionReturnType(returnType, isAsyncGenerator); - return iterationTypes && iterationTypes[getIterationTypesKeyFromIterationTypeKind(kind)]; - } - function getIterationTypesOfGeneratorFunctionReturnType(type, isAsyncGenerator) { - if (isTypeAny(type)) { - return anyIterationTypes; - } - const use = isAsyncGenerator ? 2 /* AsyncGeneratorReturnType */ : 1 /* GeneratorReturnType */; - const resolver = isAsyncGenerator ? asyncIterationTypesResolver : syncIterationTypesResolver; - return getIterationTypesOfIterable( - type, - use, - /*errorNode*/ - void 0 - ) || getIterationTypesOfIterator( - type, - resolver, - /*errorNode*/ - void 0, - /*errorOutputContainer*/ - void 0 - ); - } - function checkBreakOrContinueStatement(node) { - if (!checkGrammarStatementInAmbientContext(node)) checkGrammarBreakOrContinueStatement(node); - } - function unwrapReturnType(returnType, functionFlags) { - const isGenerator = !!(functionFlags & 1 /* Generator */); - const isAsync = !!(functionFlags & 2 /* Async */); - if (isGenerator) { - const returnIterationType = getIterationTypeOfGeneratorFunctionReturnType(1 /* Return */, returnType, isAsync); - if (!returnIterationType) { - return errorType; - } - return isAsync ? getAwaitedTypeNoAlias(unwrapAwaitedType(returnIterationType)) : returnIterationType; - } - return isAsync ? getAwaitedTypeNoAlias(returnType) || errorType : returnType; - } - function isUnwrappedReturnTypeUndefinedVoidOrAny(func, returnType) { - const type = unwrapReturnType(returnType, getFunctionFlags(func)); - return !!(type && (maybeTypeOfKind(type, 16384 /* Void */) || type.flags & (1 /* Any */ | 32768 /* Undefined */))); - } - function checkReturnStatement(node) { - if (checkGrammarStatementInAmbientContext(node)) { - return; - } - const container = getContainingFunctionOrClassStaticBlock(node); - if (container && isClassStaticBlockDeclaration(container)) { - grammarErrorOnFirstToken(node, Diagnostics.A_return_statement_cannot_be_used_inside_a_class_static_block); - return; - } - if (!container) { - grammarErrorOnFirstToken(node, Diagnostics.A_return_statement_can_only_be_used_within_a_function_body); - return; - } - const signature = getSignatureFromDeclaration(container); - const returnType = getReturnTypeOfSignature(signature); - const functionFlags = getFunctionFlags(container); - if (strictNullChecks || node.expression || returnType.flags & 131072 /* Never */) { - const exprType = node.expression ? checkExpressionCached(node.expression) : undefinedType; - if (container.kind === 178 /* SetAccessor */) { - if (node.expression) { - error(node, Diagnostics.Setters_cannot_return_a_value); - } - } else if (container.kind === 176 /* Constructor */) { - if (node.expression && !checkTypeAssignableToAndOptionallyElaborate(exprType, returnType, node, node.expression)) { - error(node, Diagnostics.Return_type_of_constructor_signature_must_be_assignable_to_the_instance_type_of_the_class); - } - } else if (getReturnTypeFromAnnotation(container)) { - const unwrappedReturnType = unwrapReturnType(returnType, functionFlags) ?? returnType; - const unwrappedExprType = functionFlags & 2 /* Async */ ? checkAwaitedType( - exprType, - /*withAlias*/ - false, - node, - Diagnostics.The_return_type_of_an_async_function_must_either_be_a_valid_promise_or_must_not_contain_a_callable_then_member - ) : exprType; - if (unwrappedReturnType) { - checkTypeAssignableToAndOptionallyElaborate(unwrappedExprType, unwrappedReturnType, node, node.expression); - } - } - } else if (container.kind !== 176 /* Constructor */ && compilerOptions.noImplicitReturns && !isUnwrappedReturnTypeUndefinedVoidOrAny(container, returnType)) { - error(node, Diagnostics.Not_all_code_paths_return_a_value); - } - } - function checkWithStatement(node) { - if (!checkGrammarStatementInAmbientContext(node)) { - if (node.flags & 65536 /* AwaitContext */) { - grammarErrorOnFirstToken(node, Diagnostics.with_statements_are_not_allowed_in_an_async_function_block); - } - } - checkExpression(node.expression); - const sourceFile = getSourceFileOfNode(node); - if (!hasParseDiagnostics(sourceFile)) { - const start = getSpanOfTokenAtPosition(sourceFile, node.pos).start; - const end = node.statement.pos; - grammarErrorAtPos(sourceFile, start, end - start, Diagnostics.The_with_statement_is_not_supported_All_symbols_in_a_with_block_will_have_type_any); - } - } - function checkSwitchStatement(node) { - checkGrammarStatementInAmbientContext(node); - let firstDefaultClause; - let hasDuplicateDefaultClause = false; - const expressionType = checkExpression(node.expression); - forEach(node.caseBlock.clauses, (clause) => { - if (clause.kind === 297 /* DefaultClause */ && !hasDuplicateDefaultClause) { - if (firstDefaultClause === void 0) { - firstDefaultClause = clause; - } else { - grammarErrorOnNode(clause, Diagnostics.A_default_clause_cannot_appear_more_than_once_in_a_switch_statement); - hasDuplicateDefaultClause = true; - } - } - if (clause.kind === 296 /* CaseClause */) { - addLazyDiagnostic(createLazyCaseClauseDiagnostics(clause)); - } - forEach(clause.statements, checkSourceElement); - if (compilerOptions.noFallthroughCasesInSwitch && clause.fallthroughFlowNode && isReachableFlowNode(clause.fallthroughFlowNode)) { - error(clause, Diagnostics.Fallthrough_case_in_switch); - } - function createLazyCaseClauseDiagnostics(clause2) { - return () => { - const caseType = checkExpression(clause2.expression); - if (!isTypeEqualityComparableTo(expressionType, caseType)) { - checkTypeComparableTo( - caseType, - expressionType, - clause2.expression, - /*headMessage*/ - void 0 - ); - } - }; - } - }); - if (node.caseBlock.locals) { - registerForUnusedIdentifiersCheck(node.caseBlock); - } - } - function checkLabeledStatement(node) { - if (!checkGrammarStatementInAmbientContext(node)) { - findAncestor(node.parent, (current) => { - if (isFunctionLike(current)) { - return "quit"; - } - if (current.kind === 256 /* LabeledStatement */ && current.label.escapedText === node.label.escapedText) { - grammarErrorOnNode(node.label, Diagnostics.Duplicate_label_0, getTextOfNode(node.label)); - return true; - } - return false; - }); - } - checkSourceElement(node.statement); - } - function checkThrowStatement(node) { - if (!checkGrammarStatementInAmbientContext(node)) { - if (isIdentifier(node.expression) && !node.expression.escapedText) { - grammarErrorAfterFirstToken(node, Diagnostics.Line_break_not_permitted_here); - } - } - if (node.expression) { - checkExpression(node.expression); - } - } - function checkTryStatement(node) { - checkGrammarStatementInAmbientContext(node); - checkBlock(node.tryBlock); - const catchClause = node.catchClause; - if (catchClause) { - if (catchClause.variableDeclaration) { - const declaration = catchClause.variableDeclaration; - checkVariableLikeDeclaration(declaration); - const typeNode = getEffectiveTypeAnnotationNode(declaration); - if (typeNode) { - const type = getTypeFromTypeNode(typeNode); - if (type && !(type.flags & 3 /* AnyOrUnknown */)) { - grammarErrorOnFirstToken(typeNode, Diagnostics.Catch_clause_variable_type_annotation_must_be_any_or_unknown_if_specified); - } - } else if (declaration.initializer) { - grammarErrorOnFirstToken(declaration.initializer, Diagnostics.Catch_clause_variable_cannot_have_an_initializer); - } else { - const blockLocals = catchClause.block.locals; - if (blockLocals) { - forEachKey(catchClause.locals, (caughtName) => { - const blockLocal = blockLocals.get(caughtName); - if ((blockLocal == null ? void 0 : blockLocal.valueDeclaration) && (blockLocal.flags & 2 /* BlockScopedVariable */) !== 0) { - grammarErrorOnNode(blockLocal.valueDeclaration, Diagnostics.Cannot_redeclare_identifier_0_in_catch_clause, unescapeLeadingUnderscores(caughtName)); - } - }); - } - } - } - checkBlock(catchClause.block); - } - if (node.finallyBlock) { - checkBlock(node.finallyBlock); - } - } - function checkIndexConstraints(type, symbol, isStaticIndex) { - const indexInfos = getIndexInfosOfType(type); - if (indexInfos.length === 0) { - return; - } - for (const prop of getPropertiesOfObjectType(type)) { - if (!(isStaticIndex && prop.flags & 4194304 /* Prototype */)) { - checkIndexConstraintForProperty(type, prop, getLiteralTypeFromProperty( - prop, - 8576 /* StringOrNumberLiteralOrUnique */, - /*includeNonPublic*/ - true - ), getNonMissingTypeOfSymbol(prop)); - } - } - const typeDeclaration = symbol.valueDeclaration; - if (typeDeclaration && isClassLike(typeDeclaration)) { - for (const member of typeDeclaration.members) { - if (!isStatic(member) && !hasBindableName(member)) { - const symbol2 = getSymbolOfDeclaration(member); - checkIndexConstraintForProperty(type, symbol2, getTypeOfExpression(member.name.expression), getNonMissingTypeOfSymbol(symbol2)); - } - } - } - if (indexInfos.length > 1) { - for (const info of indexInfos) { - checkIndexConstraintForIndexSignature(type, info); - } - } - } - function checkIndexConstraintForProperty(type, prop, propNameType, propType) { - const declaration = prop.valueDeclaration; - const name = getNameOfDeclaration(declaration); - if (name && isPrivateIdentifier(name)) { - return; - } - const indexInfos = getApplicableIndexInfos(type, propNameType); - const interfaceDeclaration = getObjectFlags(type) & 2 /* Interface */ ? getDeclarationOfKind(type.symbol, 264 /* InterfaceDeclaration */) : void 0; - const propDeclaration = declaration && declaration.kind === 226 /* BinaryExpression */ || name && name.kind === 167 /* ComputedPropertyName */ ? declaration : void 0; - const localPropDeclaration = getParentOfSymbol(prop) === type.symbol ? declaration : void 0; - for (const info of indexInfos) { - const localIndexDeclaration = info.declaration && getParentOfSymbol(getSymbolOfDeclaration(info.declaration)) === type.symbol ? info.declaration : void 0; - const errorNode = localPropDeclaration || localIndexDeclaration || (interfaceDeclaration && !some(getBaseTypes(type), (base) => !!getPropertyOfObjectType(base, prop.escapedName) && !!getIndexTypeOfType(base, info.keyType)) ? interfaceDeclaration : void 0); - if (errorNode && !isTypeAssignableTo(propType, info.type)) { - const diagnostic = createError(errorNode, Diagnostics.Property_0_of_type_1_is_not_assignable_to_2_index_type_3, symbolToString(prop), typeToString(propType), typeToString(info.keyType), typeToString(info.type)); - if (propDeclaration && errorNode !== propDeclaration) { - addRelatedInfo(diagnostic, createDiagnosticForNode(propDeclaration, Diagnostics._0_is_declared_here, symbolToString(prop))); - } - diagnostics.add(diagnostic); - } - } - } - function checkIndexConstraintForIndexSignature(type, checkInfo) { - const declaration = checkInfo.declaration; - const indexInfos = getApplicableIndexInfos(type, checkInfo.keyType); - const interfaceDeclaration = getObjectFlags(type) & 2 /* Interface */ ? getDeclarationOfKind(type.symbol, 264 /* InterfaceDeclaration */) : void 0; - const localCheckDeclaration = declaration && getParentOfSymbol(getSymbolOfDeclaration(declaration)) === type.symbol ? declaration : void 0; - for (const info of indexInfos) { - if (info === checkInfo) continue; - const localIndexDeclaration = info.declaration && getParentOfSymbol(getSymbolOfDeclaration(info.declaration)) === type.symbol ? info.declaration : void 0; - const errorNode = localCheckDeclaration || localIndexDeclaration || (interfaceDeclaration && !some(getBaseTypes(type), (base) => !!getIndexInfoOfType(base, checkInfo.keyType) && !!getIndexTypeOfType(base, info.keyType)) ? interfaceDeclaration : void 0); - if (errorNode && !isTypeAssignableTo(checkInfo.type, info.type)) { - error(errorNode, Diagnostics._0_index_type_1_is_not_assignable_to_2_index_type_3, typeToString(checkInfo.keyType), typeToString(checkInfo.type), typeToString(info.keyType), typeToString(info.type)); - } - } - } - function checkTypeNameIsReserved(name, message) { - switch (name.escapedText) { - case "any": - case "unknown": - case "never": - case "number": - case "bigint": - case "boolean": - case "string": - case "symbol": - case "void": - case "object": - case "undefined": - error(name, message, name.escapedText); - } - } - function checkClassNameCollisionWithObject(name) { - if (languageVersion >= 1 /* ES5 */ && name.escapedText === "Object" && host.getEmitModuleFormatOfFile(getSourceFileOfNode(name)) < 5 /* ES2015 */) { - error(name, Diagnostics.Class_name_cannot_be_Object_when_targeting_ES5_with_module_0, ModuleKind[moduleKind]); - } - } - function checkUnmatchedJSDocParameters(node) { - const jsdocParameters = filter(getJSDocTags(node), isJSDocParameterTag); - if (!length(jsdocParameters)) return; - const isJs = isInJSFile(node); - const parameters = /* @__PURE__ */ new Set(); - const excludedParameters = /* @__PURE__ */ new Set(); - forEach(node.parameters, ({ name }, index) => { - if (isIdentifier(name)) { - parameters.add(name.escapedText); - } - if (isBindingPattern(name)) { - excludedParameters.add(index); - } - }); - const containsArguments = containsArgumentsReference(node); - if (containsArguments) { - const lastJSDocParamIndex = jsdocParameters.length - 1; - const lastJSDocParam = jsdocParameters[lastJSDocParamIndex]; - if (isJs && lastJSDocParam && isIdentifier(lastJSDocParam.name) && lastJSDocParam.typeExpression && lastJSDocParam.typeExpression.type && !parameters.has(lastJSDocParam.name.escapedText) && !excludedParameters.has(lastJSDocParamIndex) && !isArrayType(getTypeFromTypeNode(lastJSDocParam.typeExpression.type))) { - error(lastJSDocParam.name, Diagnostics.JSDoc_param_tag_has_name_0_but_there_is_no_parameter_with_that_name_It_would_match_arguments_if_it_had_an_array_type, idText(lastJSDocParam.name)); - } - } else { - forEach(jsdocParameters, ({ name, isNameFirst }, index) => { - if (excludedParameters.has(index) || isIdentifier(name) && parameters.has(name.escapedText)) { - return; - } - if (isQualifiedName(name)) { - if (isJs) { - error(name, Diagnostics.Qualified_name_0_is_not_allowed_without_a_leading_param_object_1, entityNameToString(name), entityNameToString(name.left)); - } - } else { - if (!isNameFirst) { - errorOrSuggestion(isJs, name, Diagnostics.JSDoc_param_tag_has_name_0_but_there_is_no_parameter_with_that_name, idText(name)); - } - } - }); - } - } - function checkTypeParameters(typeParameterDeclarations) { - let seenDefault = false; - if (typeParameterDeclarations) { - for (let i = 0; i < typeParameterDeclarations.length; i++) { - const node = typeParameterDeclarations[i]; - checkTypeParameter(node); - addLazyDiagnostic(createCheckTypeParameterDiagnostic(node, i)); - } - } - function createCheckTypeParameterDiagnostic(node, i) { - return () => { - if (node.default) { - seenDefault = true; - checkTypeParametersNotReferenced(node.default, typeParameterDeclarations, i); - } else if (seenDefault) { - error(node, Diagnostics.Required_type_parameters_may_not_follow_optional_type_parameters); - } - for (let j = 0; j < i; j++) { - if (typeParameterDeclarations[j].symbol === node.symbol) { - error(node.name, Diagnostics.Duplicate_identifier_0, declarationNameToString(node.name)); - } - } - }; - } - } - function checkTypeParametersNotReferenced(root, typeParameters, index) { - visit(root); - function visit(node) { - if (node.kind === 183 /* TypeReference */) { - const type = getTypeFromTypeReference(node); - if (type.flags & 262144 /* TypeParameter */) { - for (let i = index; i < typeParameters.length; i++) { - if (type.symbol === getSymbolOfDeclaration(typeParameters[i])) { - error(node, Diagnostics.Type_parameter_defaults_can_only_reference_previously_declared_type_parameters); - } - } - } - } - forEachChild(node, visit); - } - } - function checkTypeParameterListsIdentical(symbol) { - if (symbol.declarations && symbol.declarations.length === 1) { - return; - } - const links = getSymbolLinks(symbol); - if (!links.typeParametersChecked) { - links.typeParametersChecked = true; - const declarations = getClassOrInterfaceDeclarationsOfSymbol(symbol); - if (!declarations || declarations.length <= 1) { - return; - } - const type = getDeclaredTypeOfSymbol(symbol); - if (!areTypeParametersIdentical(declarations, type.localTypeParameters, getEffectiveTypeParameterDeclarations)) { - const name = symbolToString(symbol); - for (const declaration of declarations) { - error(declaration.name, Diagnostics.All_declarations_of_0_must_have_identical_type_parameters, name); - } - } - } - } - function areTypeParametersIdentical(declarations, targetParameters, getTypeParameterDeclarations) { - const maxTypeArgumentCount = length(targetParameters); - const minTypeArgumentCount = getMinTypeArgumentCount(targetParameters); - for (const declaration of declarations) { - const sourceParameters = getTypeParameterDeclarations(declaration); - const numTypeParameters = sourceParameters.length; - if (numTypeParameters < minTypeArgumentCount || numTypeParameters > maxTypeArgumentCount) { - return false; - } - for (let i = 0; i < numTypeParameters; i++) { - const source = sourceParameters[i]; - const target = targetParameters[i]; - if (source.name.escapedText !== target.symbol.escapedName) { - return false; - } - const constraint = getEffectiveConstraintOfTypeParameter(source); - const sourceConstraint = constraint && getTypeFromTypeNode(constraint); - const targetConstraint = getConstraintOfTypeParameter(target); - if (sourceConstraint && targetConstraint && !isTypeIdenticalTo(sourceConstraint, targetConstraint)) { - return false; - } - const sourceDefault = source.default && getTypeFromTypeNode(source.default); - const targetDefault = getDefaultFromTypeParameter(target); - if (sourceDefault && targetDefault && !isTypeIdenticalTo(sourceDefault, targetDefault)) { - return false; - } - } - } - return true; - } - function getFirstTransformableStaticClassElement(node) { - const willTransformStaticElementsOfDecoratedClass = !legacyDecorators && languageVersion < 99 /* ClassAndClassElementDecorators */ && classOrConstructorParameterIsDecorated( - /*useLegacyDecorators*/ - false, - node - ); - const willTransformPrivateElementsOrClassStaticBlocks = languageVersion < 9 /* PrivateNamesAndClassStaticBlocks */ || languageVersion < 99 /* ClassAndClassElementDecorators */; - const willTransformInitializers = !emitStandardClassFields; - if (willTransformStaticElementsOfDecoratedClass || willTransformPrivateElementsOrClassStaticBlocks) { - for (const member of node.members) { - if (willTransformStaticElementsOfDecoratedClass && classElementOrClassElementParameterIsDecorated( - /*useLegacyDecorators*/ - false, - member, - node - )) { - return firstOrUndefined(getDecorators(node)) ?? node; - } else if (willTransformPrivateElementsOrClassStaticBlocks) { - if (isClassStaticBlockDeclaration(member)) { - return member; - } else if (isStatic(member)) { - if (isPrivateIdentifierClassElementDeclaration(member) || willTransformInitializers && isInitializedProperty(member)) { - return member; - } - } - } - } - } - } - function checkClassExpressionExternalHelpers(node) { - if (node.name) return; - const parent = walkUpOuterExpressions(node); - if (!isNamedEvaluationSource(parent)) return; - const willTransformESDecorators = !legacyDecorators && languageVersion < 99 /* ClassAndClassElementDecorators */; - let location; - if (willTransformESDecorators && classOrConstructorParameterIsDecorated( - /*useLegacyDecorators*/ - false, - node - )) { - location = firstOrUndefined(getDecorators(node)) ?? node; - } else { - location = getFirstTransformableStaticClassElement(node); - } - if (location) { - checkExternalEmitHelpers(location, 4194304 /* SetFunctionName */); - if ((isPropertyAssignment(parent) || isPropertyDeclaration(parent) || isBindingElement(parent)) && isComputedPropertyName(parent.name)) { - checkExternalEmitHelpers(location, 8388608 /* PropKey */); - } - } - } - function checkClassExpression(node) { - checkClassLikeDeclaration(node); - checkNodeDeferred(node); - checkClassExpressionExternalHelpers(node); - return getTypeOfSymbol(getSymbolOfDeclaration(node)); - } - function checkClassExpressionDeferred(node) { - forEach(node.members, checkSourceElement); - registerForUnusedIdentifiersCheck(node); - } - function checkClassDeclaration(node) { - const firstDecorator = find(node.modifiers, isDecorator); - if (legacyDecorators && firstDecorator && some(node.members, (p) => hasStaticModifier(p) && isPrivateIdentifierClassElementDeclaration(p))) { - grammarErrorOnNode(firstDecorator, Diagnostics.Class_decorators_can_t_be_used_with_static_private_identifier_Consider_removing_the_experimental_decorator); - } - if (!node.name && !hasSyntacticModifier(node, 2048 /* Default */)) { - grammarErrorOnFirstToken(node, Diagnostics.A_class_declaration_without_the_default_modifier_must_have_a_name); - } - checkClassLikeDeclaration(node); - forEach(node.members, checkSourceElement); - registerForUnusedIdentifiersCheck(node); - } - function checkClassLikeDeclaration(node) { - checkGrammarClassLikeDeclaration(node); - checkDecorators(node); - checkCollisionsForDeclarationName(node, node.name); - checkTypeParameters(getEffectiveTypeParameterDeclarations(node)); - checkExportsOnMergedDeclarations(node); - const symbol = getSymbolOfDeclaration(node); - const type = getDeclaredTypeOfSymbol(symbol); - const typeWithThis = getTypeWithThisArgument(type); - const staticType = getTypeOfSymbol(symbol); - checkTypeParameterListsIdentical(symbol); - checkFunctionOrConstructorSymbol(symbol); - checkClassForDuplicateDeclarations(node); - const nodeInAmbientContext = !!(node.flags & 33554432 /* Ambient */); - if (!nodeInAmbientContext) { - checkClassForStaticPropertyNameConflicts(node); - } - const baseTypeNode = getEffectiveBaseTypeNode(node); - if (baseTypeNode) { - forEach(baseTypeNode.typeArguments, checkSourceElement); - if (languageVersion < 2 /* Classes */) { - checkExternalEmitHelpers(baseTypeNode.parent, 1 /* Extends */); - } - const extendsNode = getClassExtendsHeritageElement(node); - if (extendsNode && extendsNode !== baseTypeNode) { - checkExpression(extendsNode.expression); - } - const baseTypes = getBaseTypes(type); - if (baseTypes.length) { - addLazyDiagnostic(() => { - const baseType = baseTypes[0]; - const baseConstructorType = getBaseConstructorTypeOfClass(type); - const staticBaseType = getApparentType(baseConstructorType); - checkBaseTypeAccessibility(staticBaseType, baseTypeNode); - checkSourceElement(baseTypeNode.expression); - if (some(baseTypeNode.typeArguments)) { - forEach(baseTypeNode.typeArguments, checkSourceElement); - for (const constructor of getConstructorsForTypeArguments(staticBaseType, baseTypeNode.typeArguments, baseTypeNode)) { - if (!checkTypeArgumentConstraints(baseTypeNode, constructor.typeParameters)) { - break; - } - } - } - const baseWithThis = getTypeWithThisArgument(baseType, type.thisType); - if (!checkTypeAssignableTo( - typeWithThis, - baseWithThis, - /*errorNode*/ - void 0 - )) { - issueMemberSpecificError(node, typeWithThis, baseWithThis, Diagnostics.Class_0_incorrectly_extends_base_class_1); - } else { - checkTypeAssignableTo(staticType, getTypeWithoutSignatures(staticBaseType), node.name || node, Diagnostics.Class_static_side_0_incorrectly_extends_base_class_static_side_1); - } - if (baseConstructorType.flags & 8650752 /* TypeVariable */) { - if (!isMixinConstructorType(staticType)) { - error(node.name || node, Diagnostics.A_mixin_class_must_have_a_constructor_with_a_single_rest_parameter_of_type_any); - } else { - const constructSignatures = getSignaturesOfType(baseConstructorType, 1 /* Construct */); - if (constructSignatures.some((signature) => signature.flags & 4 /* Abstract */) && !hasSyntacticModifier(node, 64 /* Abstract */)) { - error(node.name || node, Diagnostics.A_mixin_class_that_extends_from_a_type_variable_containing_an_abstract_construct_signature_must_also_be_declared_abstract); - } - } - } - if (!(staticBaseType.symbol && staticBaseType.symbol.flags & 32 /* Class */) && !(baseConstructorType.flags & 8650752 /* TypeVariable */)) { - const constructors = getInstantiatedConstructorsForTypeArguments(staticBaseType, baseTypeNode.typeArguments, baseTypeNode); - if (forEach(constructors, (sig) => !isJSConstructor(sig.declaration) && !isTypeIdenticalTo(getReturnTypeOfSignature(sig), baseType))) { - error(baseTypeNode.expression, Diagnostics.Base_constructors_must_all_have_the_same_return_type); - } - } - checkKindsOfPropertyMemberOverrides(type, baseType); - }); - } - } - checkMembersForOverrideModifier(node, type, typeWithThis, staticType); - const implementedTypeNodes = getEffectiveImplementsTypeNodes(node); - if (implementedTypeNodes) { - for (const typeRefNode of implementedTypeNodes) { - if (!isEntityNameExpression(typeRefNode.expression) || isOptionalChain(typeRefNode.expression)) { - error(typeRefNode.expression, Diagnostics.A_class_can_only_implement_an_identifier_Slashqualified_name_with_optional_type_arguments); - } - checkTypeReferenceNode(typeRefNode); - addLazyDiagnostic(createImplementsDiagnostics(typeRefNode)); - } - } - addLazyDiagnostic(() => { - checkIndexConstraints(type, symbol); - checkIndexConstraints( - staticType, - symbol, - /*isStaticIndex*/ - true - ); - checkTypeForDuplicateIndexSignatures(node); - checkPropertyInitialization(node); - }); - function createImplementsDiagnostics(typeRefNode) { - return () => { - const t = getReducedType(getTypeFromTypeNode(typeRefNode)); - if (!isErrorType(t)) { - if (isValidBaseType(t)) { - const genericDiag = t.symbol && t.symbol.flags & 32 /* Class */ ? Diagnostics.Class_0_incorrectly_implements_class_1_Did_you_mean_to_extend_1_and_inherit_its_members_as_a_subclass : Diagnostics.Class_0_incorrectly_implements_interface_1; - const baseWithThis = getTypeWithThisArgument(t, type.thisType); - if (!checkTypeAssignableTo( - typeWithThis, - baseWithThis, - /*errorNode*/ - void 0 - )) { - issueMemberSpecificError(node, typeWithThis, baseWithThis, genericDiag); - } - } else { - error(typeRefNode, Diagnostics.A_class_can_only_implement_an_object_type_or_intersection_of_object_types_with_statically_known_members); - } - } - }; - } - } - function checkMembersForOverrideModifier(node, type, typeWithThis, staticType) { - const baseTypeNode = getEffectiveBaseTypeNode(node); - const baseTypes = baseTypeNode && getBaseTypes(type); - const baseWithThis = (baseTypes == null ? void 0 : baseTypes.length) ? getTypeWithThisArgument(first(baseTypes), type.thisType) : void 0; - const baseStaticType = getBaseConstructorTypeOfClass(type); - for (const member of node.members) { - if (hasAmbientModifier(member)) { - continue; - } - if (isConstructorDeclaration(member)) { - forEach(member.parameters, (param) => { - if (isParameterPropertyDeclaration(param, member)) { - checkExistingMemberForOverrideModifier( - node, - staticType, - baseStaticType, - baseWithThis, - type, - typeWithThis, - param, - /*memberIsParameterProperty*/ - true - ); - } - }); - } - checkExistingMemberForOverrideModifier( - node, - staticType, - baseStaticType, - baseWithThis, - type, - typeWithThis, - member, - /*memberIsParameterProperty*/ - false - ); - } - } - function checkExistingMemberForOverrideModifier(node, staticType, baseStaticType, baseWithThis, type, typeWithThis, member, memberIsParameterProperty, reportErrors2 = true) { - const declaredProp = member.name && getSymbolAtLocation(member.name) || getSymbolAtLocation(member); - if (!declaredProp) { - return 0 /* Ok */; - } - return checkMemberForOverrideModifier( - node, - staticType, - baseStaticType, - baseWithThis, - type, - typeWithThis, - hasOverrideModifier(member), - hasAbstractModifier(member), - isStatic(member), - memberIsParameterProperty, - declaredProp, - reportErrors2 ? member : void 0 - ); - } - function checkMemberForOverrideModifier(node, staticType, baseStaticType, baseWithThis, type, typeWithThis, memberHasOverrideModifier, memberHasAbstractModifier, memberIsStatic, memberIsParameterProperty, member, errorNode) { - const isJs = isInJSFile(node); - const nodeInAmbientContext = !!(node.flags & 33554432 /* Ambient */); - if (baseWithThis && (memberHasOverrideModifier || compilerOptions.noImplicitOverride)) { - const thisType = memberIsStatic ? staticType : typeWithThis; - const baseType = memberIsStatic ? baseStaticType : baseWithThis; - const prop = getPropertyOfType(thisType, member.escapedName); - const baseProp = getPropertyOfType(baseType, member.escapedName); - const baseClassName = typeToString(baseWithThis); - if (prop && !baseProp && memberHasOverrideModifier) { - if (errorNode) { - const suggestion = getSuggestedSymbolForNonexistentClassMember(symbolName(member), baseType); - suggestion ? error( - errorNode, - isJs ? Diagnostics.This_member_cannot_have_a_JSDoc_comment_with_an_override_tag_because_it_is_not_declared_in_the_base_class_0_Did_you_mean_1 : Diagnostics.This_member_cannot_have_an_override_modifier_because_it_is_not_declared_in_the_base_class_0_Did_you_mean_1, - baseClassName, - symbolToString(suggestion) - ) : error( - errorNode, - isJs ? Diagnostics.This_member_cannot_have_a_JSDoc_comment_with_an_override_tag_because_it_is_not_declared_in_the_base_class_0 : Diagnostics.This_member_cannot_have_an_override_modifier_because_it_is_not_declared_in_the_base_class_0, - baseClassName - ); - } - return 2 /* HasInvalidOverride */; - } else if (prop && (baseProp == null ? void 0 : baseProp.declarations) && compilerOptions.noImplicitOverride && !nodeInAmbientContext) { - const baseHasAbstract = some(baseProp.declarations, hasAbstractModifier); - if (memberHasOverrideModifier) { - return 0 /* Ok */; - } - if (!baseHasAbstract) { - if (errorNode) { - const diag2 = memberIsParameterProperty ? isJs ? Diagnostics.This_parameter_property_must_have_a_JSDoc_comment_with_an_override_tag_because_it_overrides_a_member_in_the_base_class_0 : Diagnostics.This_parameter_property_must_have_an_override_modifier_because_it_overrides_a_member_in_base_class_0 : isJs ? Diagnostics.This_member_must_have_a_JSDoc_comment_with_an_override_tag_because_it_overrides_a_member_in_the_base_class_0 : Diagnostics.This_member_must_have_an_override_modifier_because_it_overrides_a_member_in_the_base_class_0; - error(errorNode, diag2, baseClassName); - } - return 1 /* NeedsOverride */; - } else if (memberHasAbstractModifier && baseHasAbstract) { - if (errorNode) { - error(errorNode, Diagnostics.This_member_must_have_an_override_modifier_because_it_overrides_an_abstract_method_that_is_declared_in_the_base_class_0, baseClassName); - } - return 1 /* NeedsOverride */; - } - } - } else if (memberHasOverrideModifier) { - if (errorNode) { - const className = typeToString(type); - error( - errorNode, - isJs ? Diagnostics.This_member_cannot_have_a_JSDoc_comment_with_an_override_tag_because_its_containing_class_0_does_not_extend_another_class : Diagnostics.This_member_cannot_have_an_override_modifier_because_its_containing_class_0_does_not_extend_another_class, - className - ); - } - return 2 /* HasInvalidOverride */; - } - return 0 /* Ok */; - } - function issueMemberSpecificError(node, typeWithThis, baseWithThis, broadDiag) { - let issuedMemberError = false; - for (const member of node.members) { - if (isStatic(member)) { - continue; - } - const declaredProp = member.name && getSymbolAtLocation(member.name) || getSymbolAtLocation(member); - if (declaredProp) { - const prop = getPropertyOfType(typeWithThis, declaredProp.escapedName); - const baseProp = getPropertyOfType(baseWithThis, declaredProp.escapedName); - if (prop && baseProp) { - const rootChain = () => chainDiagnosticMessages( - /*details*/ - void 0, - Diagnostics.Property_0_in_type_1_is_not_assignable_to_the_same_property_in_base_type_2, - symbolToString(declaredProp), - typeToString(typeWithThis), - typeToString(baseWithThis) - ); - if (!checkTypeAssignableTo( - getTypeOfSymbol(prop), - getTypeOfSymbol(baseProp), - member.name || member, - /*headMessage*/ - void 0, - rootChain - )) { - issuedMemberError = true; - } - } - } - } - if (!issuedMemberError) { - checkTypeAssignableTo(typeWithThis, baseWithThis, node.name || node, broadDiag); - } - } - function checkBaseTypeAccessibility(type, node) { - const signatures = getSignaturesOfType(type, 1 /* Construct */); - if (signatures.length) { - const declaration = signatures[0].declaration; - if (declaration && hasEffectiveModifier(declaration, 2 /* Private */)) { - const typeClassDeclaration = getClassLikeDeclarationOfSymbol(type.symbol); - if (!isNodeWithinClass(node, typeClassDeclaration)) { - error(node, Diagnostics.Cannot_extend_a_class_0_Class_constructor_is_marked_as_private, getFullyQualifiedName(type.symbol)); - } - } - } - } - function getMemberOverrideModifierStatus(node, member, memberSymbol) { - if (!member.name) { - return 0 /* Ok */; - } - const classSymbol = getSymbolOfDeclaration(node); - const type = getDeclaredTypeOfSymbol(classSymbol); - const typeWithThis = getTypeWithThisArgument(type); - const staticType = getTypeOfSymbol(classSymbol); - const baseTypeNode = getEffectiveBaseTypeNode(node); - const baseTypes = baseTypeNode && getBaseTypes(type); - const baseWithThis = (baseTypes == null ? void 0 : baseTypes.length) ? getTypeWithThisArgument(first(baseTypes), type.thisType) : void 0; - const baseStaticType = getBaseConstructorTypeOfClass(type); - const memberHasOverrideModifier = member.parent ? hasOverrideModifier(member) : hasSyntacticModifier(member, 16 /* Override */); - return checkMemberForOverrideModifier( - node, - staticType, - baseStaticType, - baseWithThis, - type, - typeWithThis, - memberHasOverrideModifier, - hasAbstractModifier(member), - isStatic(member), - /*memberIsParameterProperty*/ - false, - memberSymbol - ); - } - function getTargetSymbol(s) { - return getCheckFlags(s) & 1 /* Instantiated */ ? s.links.target : s; - } - function getClassOrInterfaceDeclarationsOfSymbol(symbol) { - return filter(symbol.declarations, (d) => d.kind === 263 /* ClassDeclaration */ || d.kind === 264 /* InterfaceDeclaration */); - } - function checkKindsOfPropertyMemberOverrides(type, baseType) { - var _a, _b, _c, _d, _e; - const baseProperties = getPropertiesOfType(baseType); - const notImplementedInfo = /* @__PURE__ */ new Map(); - basePropertyCheck: for (const baseProperty of baseProperties) { - const base = getTargetSymbol(baseProperty); - if (base.flags & 4194304 /* Prototype */) { - continue; - } - const baseSymbol = getPropertyOfObjectType(type, base.escapedName); - if (!baseSymbol) { - continue; - } - const derived = getTargetSymbol(baseSymbol); - const baseDeclarationFlags = getDeclarationModifierFlagsFromSymbol(base); - Debug.assert(!!derived, "derived should point to something, even if it is the base class' declaration."); - if (derived === base) { - const derivedClassDecl = getClassLikeDeclarationOfSymbol(type.symbol); - if (baseDeclarationFlags & 64 /* Abstract */ && (!derivedClassDecl || !hasSyntacticModifier(derivedClassDecl, 64 /* Abstract */))) { - for (const otherBaseType of getBaseTypes(type)) { - if (otherBaseType === baseType) continue; - const baseSymbol2 = getPropertyOfObjectType(otherBaseType, base.escapedName); - const derivedElsewhere = baseSymbol2 && getTargetSymbol(baseSymbol2); - if (derivedElsewhere && derivedElsewhere !== base) { - continue basePropertyCheck; - } - } - const baseTypeName = typeToString(baseType); - const typeName = typeToString(type); - const basePropertyName = symbolToString(baseProperty); - const missedProperties = append((_a = notImplementedInfo.get(derivedClassDecl)) == null ? void 0 : _a.missedProperties, basePropertyName); - notImplementedInfo.set(derivedClassDecl, { baseTypeName, typeName, missedProperties }); - } - } else { - const derivedDeclarationFlags = getDeclarationModifierFlagsFromSymbol(derived); - if (baseDeclarationFlags & 2 /* Private */ || derivedDeclarationFlags & 2 /* Private */) { - continue; - } - let errorMessage; - const basePropertyFlags = base.flags & 98308 /* PropertyOrAccessor */; - const derivedPropertyFlags = derived.flags & 98308 /* PropertyOrAccessor */; - if (basePropertyFlags && derivedPropertyFlags) { - if ((getCheckFlags(base) & 6 /* Synthetic */ ? (_b = base.declarations) == null ? void 0 : _b.some((d) => isPropertyAbstractOrInterface(d, baseDeclarationFlags)) : (_c = base.declarations) == null ? void 0 : _c.every((d) => isPropertyAbstractOrInterface(d, baseDeclarationFlags))) || getCheckFlags(base) & 262144 /* Mapped */ || derived.valueDeclaration && isBinaryExpression(derived.valueDeclaration)) { - continue; - } - const overriddenInstanceProperty = basePropertyFlags !== 4 /* Property */ && derivedPropertyFlags === 4 /* Property */; - const overriddenInstanceAccessor = basePropertyFlags === 4 /* Property */ && derivedPropertyFlags !== 4 /* Property */; - if (overriddenInstanceProperty || overriddenInstanceAccessor) { - const errorMessage2 = overriddenInstanceProperty ? Diagnostics._0_is_defined_as_an_accessor_in_class_1_but_is_overridden_here_in_2_as_an_instance_property : Diagnostics._0_is_defined_as_a_property_in_class_1_but_is_overridden_here_in_2_as_an_accessor; - error(getNameOfDeclaration(derived.valueDeclaration) || derived.valueDeclaration, errorMessage2, symbolToString(base), typeToString(baseType), typeToString(type)); - } else if (useDefineForClassFields) { - const uninitialized = (_d = derived.declarations) == null ? void 0 : _d.find((d) => d.kind === 172 /* PropertyDeclaration */ && !d.initializer); - if (uninitialized && !(derived.flags & 33554432 /* Transient */) && !(baseDeclarationFlags & 64 /* Abstract */) && !(derivedDeclarationFlags & 64 /* Abstract */) && !((_e = derived.declarations) == null ? void 0 : _e.some((d) => !!(d.flags & 33554432 /* Ambient */)))) { - const constructor = findConstructorDeclaration(getClassLikeDeclarationOfSymbol(type.symbol)); - const propName = uninitialized.name; - if (uninitialized.exclamationToken || !constructor || !isIdentifier(propName) || !strictNullChecks || !isPropertyInitializedInConstructor(propName, type, constructor)) { - const errorMessage2 = Diagnostics.Property_0_will_overwrite_the_base_property_in_1_If_this_is_intentional_add_an_initializer_Otherwise_add_a_declare_modifier_or_remove_the_redundant_declaration; - error(getNameOfDeclaration(derived.valueDeclaration) || derived.valueDeclaration, errorMessage2, symbolToString(base), typeToString(baseType)); - } - } - } - continue; - } else if (isPrototypeProperty(base)) { - if (isPrototypeProperty(derived) || derived.flags & 4 /* Property */) { - continue; - } else { - Debug.assert(!!(derived.flags & 98304 /* Accessor */)); - errorMessage = Diagnostics.Class_0_defines_instance_member_function_1_but_extended_class_2_defines_it_as_instance_member_accessor; - } - } else if (base.flags & 98304 /* Accessor */) { - errorMessage = Diagnostics.Class_0_defines_instance_member_accessor_1_but_extended_class_2_defines_it_as_instance_member_function; - } else { - errorMessage = Diagnostics.Class_0_defines_instance_member_property_1_but_extended_class_2_defines_it_as_instance_member_function; - } - error(getNameOfDeclaration(derived.valueDeclaration) || derived.valueDeclaration, errorMessage, typeToString(baseType), symbolToString(base), typeToString(type)); - } - } - for (const [errorNode, memberInfo] of notImplementedInfo) { - if (length(memberInfo.missedProperties) === 1) { - if (isClassExpression(errorNode)) { - error(errorNode, Diagnostics.Non_abstract_class_expression_does_not_implement_inherited_abstract_member_0_from_class_1, first(memberInfo.missedProperties), memberInfo.baseTypeName); - } else { - error(errorNode, Diagnostics.Non_abstract_class_0_does_not_implement_inherited_abstract_member_1_from_class_2, memberInfo.typeName, first(memberInfo.missedProperties), memberInfo.baseTypeName); - } - } else if (length(memberInfo.missedProperties) > 5) { - const missedProperties = map(memberInfo.missedProperties.slice(0, 4), (prop) => `'${prop}'`).join(", "); - const remainingMissedProperties = length(memberInfo.missedProperties) - 4; - if (isClassExpression(errorNode)) { - error(errorNode, Diagnostics.Non_abstract_class_expression_is_missing_implementations_for_the_following_members_of_0_Colon_1_and_2_more, memberInfo.baseTypeName, missedProperties, remainingMissedProperties); - } else { - error(errorNode, Diagnostics.Non_abstract_class_0_is_missing_implementations_for_the_following_members_of_1_Colon_2_and_3_more, memberInfo.typeName, memberInfo.baseTypeName, missedProperties, remainingMissedProperties); - } - } else { - const missedProperties = map(memberInfo.missedProperties, (prop) => `'${prop}'`).join(", "); - if (isClassExpression(errorNode)) { - error(errorNode, Diagnostics.Non_abstract_class_expression_is_missing_implementations_for_the_following_members_of_0_Colon_1, memberInfo.baseTypeName, missedProperties); - } else { - error(errorNode, Diagnostics.Non_abstract_class_0_is_missing_implementations_for_the_following_members_of_1_Colon_2, memberInfo.typeName, memberInfo.baseTypeName, missedProperties); - } - } - } - } - function isPropertyAbstractOrInterface(declaration, baseDeclarationFlags) { - return baseDeclarationFlags & 64 /* Abstract */ && (!isPropertyDeclaration(declaration) || !declaration.initializer) || isInterfaceDeclaration(declaration.parent); - } - function getNonInheritedProperties(type, baseTypes, properties) { - if (!length(baseTypes)) { - return properties; - } - const seen = /* @__PURE__ */ new Map(); - forEach(properties, (p) => { - seen.set(p.escapedName, p); - }); - for (const base of baseTypes) { - const properties2 = getPropertiesOfType(getTypeWithThisArgument(base, type.thisType)); - for (const prop of properties2) { - const existing = seen.get(prop.escapedName); - if (existing && prop.parent === existing.parent) { - seen.delete(prop.escapedName); - } - } - } - return arrayFrom(seen.values()); - } - function checkInheritedPropertiesAreIdentical(type, typeNode) { - const baseTypes = getBaseTypes(type); - if (baseTypes.length < 2) { - return true; - } - const seen = /* @__PURE__ */ new Map(); - forEach(resolveDeclaredMembers(type).declaredProperties, (p) => { - seen.set(p.escapedName, { prop: p, containingType: type }); - }); - let ok = true; - for (const base of baseTypes) { - const properties = getPropertiesOfType(getTypeWithThisArgument(base, type.thisType)); - for (const prop of properties) { - const existing = seen.get(prop.escapedName); - if (!existing) { - seen.set(prop.escapedName, { prop, containingType: base }); - } else { - const isInheritedProperty = existing.containingType !== type; - if (isInheritedProperty && !isPropertyIdenticalTo(existing.prop, prop)) { - ok = false; - const typeName1 = typeToString(existing.containingType); - const typeName2 = typeToString(base); - let errorInfo = chainDiagnosticMessages( - /*details*/ - void 0, - Diagnostics.Named_property_0_of_types_1_and_2_are_not_identical, - symbolToString(prop), - typeName1, - typeName2 - ); - errorInfo = chainDiagnosticMessages(errorInfo, Diagnostics.Interface_0_cannot_simultaneously_extend_types_1_and_2, typeToString(type), typeName1, typeName2); - diagnostics.add(createDiagnosticForNodeFromMessageChain(getSourceFileOfNode(typeNode), typeNode, errorInfo)); - } - } - } - } - return ok; - } - function checkPropertyInitialization(node) { - if (!strictNullChecks || !strictPropertyInitialization || node.flags & 33554432 /* Ambient */) { - return; - } - const constructor = findConstructorDeclaration(node); - for (const member of node.members) { - if (getEffectiveModifierFlags(member) & 128 /* Ambient */) { - continue; - } - if (!isStatic(member) && isPropertyWithoutInitializer(member)) { - const propName = member.name; - if (isIdentifier(propName) || isPrivateIdentifier(propName) || isComputedPropertyName(propName)) { - const type = getTypeOfSymbol(getSymbolOfDeclaration(member)); - if (!(type.flags & 3 /* AnyOrUnknown */ || containsUndefinedType(type))) { - if (!constructor || !isPropertyInitializedInConstructor(propName, type, constructor)) { - error(member.name, Diagnostics.Property_0_has_no_initializer_and_is_not_definitely_assigned_in_the_constructor, declarationNameToString(propName)); - } - } - } - } - } - } - function isPropertyWithoutInitializer(node) { - return node.kind === 172 /* PropertyDeclaration */ && !hasAbstractModifier(node) && !node.exclamationToken && !node.initializer; - } - function isPropertyInitializedInStaticBlocks(propName, propType, staticBlocks, startPos, endPos) { - for (const staticBlock of staticBlocks) { - if (staticBlock.pos >= startPos && staticBlock.pos <= endPos) { - const reference = factory.createPropertyAccessExpression(factory.createThis(), propName); - setParent(reference.expression, reference); - setParent(reference, staticBlock); - reference.flowNode = staticBlock.returnFlowNode; - const flowType = getFlowTypeOfReference(reference, propType, getOptionalType(propType)); - if (!containsUndefinedType(flowType)) { - return true; - } - } - } - return false; - } - function isPropertyInitializedInConstructor(propName, propType, constructor) { - const reference = isComputedPropertyName(propName) ? factory.createElementAccessExpression(factory.createThis(), propName.expression) : factory.createPropertyAccessExpression(factory.createThis(), propName); - setParent(reference.expression, reference); - setParent(reference, constructor); - reference.flowNode = constructor.returnFlowNode; - const flowType = getFlowTypeOfReference(reference, propType, getOptionalType(propType)); - return !containsUndefinedType(flowType); - } - function checkInterfaceDeclaration(node) { - if (!checkGrammarModifiers(node)) checkGrammarInterfaceDeclaration(node); - checkTypeParameters(node.typeParameters); - addLazyDiagnostic(() => { - checkTypeNameIsReserved(node.name, Diagnostics.Interface_name_cannot_be_0); - checkExportsOnMergedDeclarations(node); - const symbol = getSymbolOfDeclaration(node); - checkTypeParameterListsIdentical(symbol); - const firstInterfaceDecl = getDeclarationOfKind(symbol, 264 /* InterfaceDeclaration */); - if (node === firstInterfaceDecl) { - const type = getDeclaredTypeOfSymbol(symbol); - const typeWithThis = getTypeWithThisArgument(type); - if (checkInheritedPropertiesAreIdentical(type, node.name)) { - for (const baseType of getBaseTypes(type)) { - checkTypeAssignableTo(typeWithThis, getTypeWithThisArgument(baseType, type.thisType), node.name, Diagnostics.Interface_0_incorrectly_extends_interface_1); - } - checkIndexConstraints(type, symbol); - } - } - checkObjectTypeForDuplicateDeclarations(node); - }); - forEach(getInterfaceBaseTypeNodes(node), (heritageElement) => { - if (!isEntityNameExpression(heritageElement.expression) || isOptionalChain(heritageElement.expression)) { - error(heritageElement.expression, Diagnostics.An_interface_can_only_extend_an_identifier_Slashqualified_name_with_optional_type_arguments); - } - checkTypeReferenceNode(heritageElement); - }); - forEach(node.members, checkSourceElement); - addLazyDiagnostic(() => { - checkTypeForDuplicateIndexSignatures(node); - registerForUnusedIdentifiersCheck(node); - }); - } - function checkTypeAliasDeclaration(node) { - checkGrammarModifiers(node); - checkTypeNameIsReserved(node.name, Diagnostics.Type_alias_name_cannot_be_0); - checkExportsOnMergedDeclarations(node); - checkTypeParameters(node.typeParameters); - if (node.type.kind === 141 /* IntrinsicKeyword */) { - const typeParameterCount = length(node.typeParameters); - const valid = typeParameterCount === 0 ? node.name.escapedText === "BuiltinIteratorReturn" : typeParameterCount === 1 && intrinsicTypeKinds.has(node.name.escapedText); - if (!valid) { - error(node.type, Diagnostics.The_intrinsic_keyword_can_only_be_used_to_declare_compiler_provided_intrinsic_types); - } - } else { - checkSourceElement(node.type); - registerForUnusedIdentifiersCheck(node); - } - } - function computeEnumMemberValues(node) { - const nodeLinks2 = getNodeLinks(node); - if (!(nodeLinks2.flags & 1024 /* EnumValuesComputed */)) { - nodeLinks2.flags |= 1024 /* EnumValuesComputed */; - let autoValue = 0; - let previous; - for (const member of node.members) { - const result = computeEnumMemberValue(member, autoValue, previous); - getNodeLinks(member).enumMemberValue = result; - autoValue = typeof result.value === "number" ? result.value + 1 : void 0; - previous = member; - } - } - } - function computeEnumMemberValue(member, autoValue, previous) { - if (isComputedNonLiteralName(member.name)) { - error(member.name, Diagnostics.Computed_property_names_are_not_allowed_in_enums); - } else { - const text = getTextOfPropertyName(member.name); - if (isNumericLiteralName(text) && !isInfinityOrNaNString(text)) { - error(member.name, Diagnostics.An_enum_member_cannot_have_a_numeric_name); - } - } - if (member.initializer) { - return computeConstantEnumMemberValue(member); - } - if (member.parent.flags & 33554432 /* Ambient */ && !isEnumConst(member.parent)) { - return evaluatorResult( - /*value*/ - void 0 - ); - } - if (autoValue === void 0) { - error(member.name, Diagnostics.Enum_member_must_have_initializer); - return evaluatorResult( - /*value*/ - void 0 - ); - } - if (getIsolatedModules(compilerOptions) && (previous == null ? void 0 : previous.initializer)) { - const prevValue = getEnumMemberValue(previous); - if (!(typeof prevValue.value === "number" && !prevValue.resolvedOtherFiles)) { - error( - member.name, - Diagnostics.Enum_member_following_a_non_literal_numeric_member_must_have_an_initializer_when_isolatedModules_is_enabled - ); - } - } - return evaluatorResult(autoValue); - } - function computeConstantEnumMemberValue(member) { - const isConstEnum = isEnumConst(member.parent); - const initializer = member.initializer; - const result = evaluate(initializer, member); - if (result.value !== void 0) { - if (isConstEnum && typeof result.value === "number" && !isFinite(result.value)) { - error( - initializer, - isNaN(result.value) ? Diagnostics.const_enum_member_initializer_was_evaluated_to_disallowed_value_NaN : Diagnostics.const_enum_member_initializer_was_evaluated_to_a_non_finite_value - ); - } else if (getIsolatedModules(compilerOptions) && typeof result.value === "string" && !result.isSyntacticallyString) { - error( - initializer, - Diagnostics._0_has_a_string_type_but_must_have_syntactically_recognizable_string_syntax_when_isolatedModules_is_enabled, - `${idText(member.parent.name)}.${getTextOfPropertyName(member.name)}` - ); - } - } else if (isConstEnum) { - error(initializer, Diagnostics.const_enum_member_initializers_must_be_constant_expressions); - } else if (member.parent.flags & 33554432 /* Ambient */) { - error(initializer, Diagnostics.In_ambient_enum_declarations_member_initializer_must_be_constant_expression); - } else { - checkTypeAssignableTo(checkExpression(initializer), numberType, initializer, Diagnostics.Type_0_is_not_assignable_to_type_1_as_required_for_computed_enum_member_values); - } - return result; - } - function evaluateEntityNameExpression(expr, location) { - const symbol = resolveEntityName( - expr, - 111551 /* Value */, - /*ignoreErrors*/ - true - ); - if (!symbol) return evaluatorResult( - /*value*/ - void 0 - ); - if (expr.kind === 80 /* Identifier */) { - const identifier = expr; - if (isInfinityOrNaNString(identifier.escapedText) && symbol === getGlobalSymbol( - identifier.escapedText, - 111551 /* Value */, - /*diagnostic*/ - void 0 - )) { - return evaluatorResult( - +identifier.escapedText, - /*isSyntacticallyString*/ - false - ); - } - } - if (symbol.flags & 8 /* EnumMember */) { - return location ? evaluateEnumMember(expr, symbol, location) : getEnumMemberValue(symbol.valueDeclaration); - } - if (isConstantVariable(symbol)) { - const declaration = symbol.valueDeclaration; - if (declaration && isVariableDeclaration(declaration) && !declaration.type && declaration.initializer && (!location || declaration !== location && isBlockScopedNameDeclaredBeforeUse(declaration, location))) { - const result = evaluate(declaration.initializer, declaration); - if (location && getSourceFileOfNode(location) !== getSourceFileOfNode(declaration)) { - return evaluatorResult( - result.value, - /*isSyntacticallyString*/ - false, - /*resolvedOtherFiles*/ - true, - /*hasExternalReferences*/ - true - ); - } - return evaluatorResult( - result.value, - result.isSyntacticallyString, - result.resolvedOtherFiles, - /*hasExternalReferences*/ - true - ); - } - } - return evaluatorResult( - /*value*/ - void 0 - ); - } - function evaluateElementAccessExpression(expr, location) { - const root = expr.expression; - if (isEntityNameExpression(root) && isStringLiteralLike(expr.argumentExpression)) { - const rootSymbol = resolveEntityName( - root, - 111551 /* Value */, - /*ignoreErrors*/ - true - ); - if (rootSymbol && rootSymbol.flags & 384 /* Enum */) { - const name = escapeLeadingUnderscores(expr.argumentExpression.text); - const member = rootSymbol.exports.get(name); - if (member) { - Debug.assert(getSourceFileOfNode(member.valueDeclaration) === getSourceFileOfNode(rootSymbol.valueDeclaration)); - return location ? evaluateEnumMember(expr, member, location) : getEnumMemberValue(member.valueDeclaration); - } - } - } - return evaluatorResult( - /*value*/ - void 0 - ); - } - function evaluateEnumMember(expr, symbol, location) { - const declaration = symbol.valueDeclaration; - if (!declaration || declaration === location) { - error(expr, Diagnostics.Property_0_is_used_before_being_assigned, symbolToString(symbol)); - return evaluatorResult( - /*value*/ - void 0 - ); - } - if (!isBlockScopedNameDeclaredBeforeUse(declaration, location)) { - error(expr, Diagnostics.A_member_initializer_in_a_enum_declaration_cannot_reference_members_declared_after_it_including_members_defined_in_other_enums); - return evaluatorResult( - /*value*/ - 0 - ); - } - const value = getEnumMemberValue(declaration); - if (location.parent !== declaration.parent) { - return evaluatorResult( - value.value, - value.isSyntacticallyString, - value.resolvedOtherFiles, - /*hasExternalReferences*/ - true - ); - } - return value; - } - function checkEnumDeclaration(node) { - addLazyDiagnostic(() => checkEnumDeclarationWorker(node)); - } - function checkEnumDeclarationWorker(node) { - checkGrammarModifiers(node); - checkCollisionsForDeclarationName(node, node.name); - checkExportsOnMergedDeclarations(node); - node.members.forEach(checkEnumMember); - computeEnumMemberValues(node); - const enumSymbol = getSymbolOfDeclaration(node); - const firstDeclaration = getDeclarationOfKind(enumSymbol, node.kind); - if (node === firstDeclaration) { - if (enumSymbol.declarations && enumSymbol.declarations.length > 1) { - const enumIsConst = isEnumConst(node); - forEach(enumSymbol.declarations, (decl) => { - if (isEnumDeclaration(decl) && isEnumConst(decl) !== enumIsConst) { - error(getNameOfDeclaration(decl), Diagnostics.Enum_declarations_must_all_be_const_or_non_const); - } - }); - } - let seenEnumMissingInitialInitializer = false; - forEach(enumSymbol.declarations, (declaration) => { - if (declaration.kind !== 266 /* EnumDeclaration */) { - return false; - } - const enumDeclaration = declaration; - if (!enumDeclaration.members.length) { - return false; - } - const firstEnumMember = enumDeclaration.members[0]; - if (!firstEnumMember.initializer) { - if (seenEnumMissingInitialInitializer) { - error(firstEnumMember.name, Diagnostics.In_an_enum_with_multiple_declarations_only_one_declaration_can_omit_an_initializer_for_its_first_enum_element); - } else { - seenEnumMissingInitialInitializer = true; - } - } - }); - } - } - function checkEnumMember(node) { - if (isPrivateIdentifier(node.name)) { - error(node, Diagnostics.An_enum_member_cannot_be_named_with_a_private_identifier); - } - if (node.initializer) { - checkExpression(node.initializer); - } - } - function getFirstNonAmbientClassOrFunctionDeclaration(symbol) { - const declarations = symbol.declarations; - if (declarations) { - for (const declaration of declarations) { - if ((declaration.kind === 263 /* ClassDeclaration */ || declaration.kind === 262 /* FunctionDeclaration */ && nodeIsPresent(declaration.body)) && !(declaration.flags & 33554432 /* Ambient */)) { - return declaration; - } - } - } - return void 0; - } - function inSameLexicalScope(node1, node2) { - const container1 = getEnclosingBlockScopeContainer(node1); - const container2 = getEnclosingBlockScopeContainer(node2); - if (isGlobalSourceFile(container1)) { - return isGlobalSourceFile(container2); - } else if (isGlobalSourceFile(container2)) { - return false; - } else { - return container1 === container2; - } - } - function checkModuleDeclaration(node) { - if (node.body) { - checkSourceElement(node.body); - if (!isGlobalScopeAugmentation(node)) { - registerForUnusedIdentifiersCheck(node); - } - } - addLazyDiagnostic(checkModuleDeclarationDiagnostics); - function checkModuleDeclarationDiagnostics() { - var _a, _b; - const isGlobalAugmentation = isGlobalScopeAugmentation(node); - const inAmbientContext = node.flags & 33554432 /* Ambient */; - if (isGlobalAugmentation && !inAmbientContext) { - error(node.name, Diagnostics.Augmentations_for_the_global_scope_should_have_declare_modifier_unless_they_appear_in_already_ambient_context); - } - const isAmbientExternalModule = isAmbientModule(node); - const contextErrorMessage = isAmbientExternalModule ? Diagnostics.An_ambient_module_declaration_is_only_allowed_at_the_top_level_in_a_file : Diagnostics.A_namespace_declaration_is_only_allowed_at_the_top_level_of_a_namespace_or_module; - if (checkGrammarModuleElementContext(node, contextErrorMessage)) { - return; - } - if (!checkGrammarModifiers(node)) { - if (!inAmbientContext && node.name.kind === 11 /* StringLiteral */) { - grammarErrorOnNode(node.name, Diagnostics.Only_ambient_modules_can_use_quoted_names); - } - } - if (isIdentifier(node.name)) { - checkCollisionsForDeclarationName(node, node.name); - if (!(node.flags & (32 /* Namespace */ | 2048 /* GlobalAugmentation */))) { - const sourceFile = getSourceFileOfNode(node); - const pos = getNonModifierTokenPosOfNode(node); - const span = getSpanOfTokenAtPosition(sourceFile, pos); - suggestionDiagnostics.add( - createFileDiagnostic(sourceFile, span.start, span.length, Diagnostics.A_namespace_declaration_should_not_be_declared_using_the_module_keyword_Please_use_the_namespace_keyword_instead) - ); - } - } - checkExportsOnMergedDeclarations(node); - const symbol = getSymbolOfDeclaration(node); - if (symbol.flags & 512 /* ValueModule */ && !inAmbientContext && isInstantiatedModule(node, shouldPreserveConstEnums(compilerOptions))) { - if (getIsolatedModules(compilerOptions) && !getSourceFileOfNode(node).externalModuleIndicator) { - error(node.name, Diagnostics.Namespaces_are_not_allowed_in_global_script_files_when_0_is_enabled_If_this_file_is_not_intended_to_be_a_global_script_set_moduleDetection_to_force_or_add_an_empty_export_statement, isolatedModulesLikeFlagName); - } - if (((_a = symbol.declarations) == null ? void 0 : _a.length) > 1) { - const firstNonAmbientClassOrFunc = getFirstNonAmbientClassOrFunctionDeclaration(symbol); - if (firstNonAmbientClassOrFunc) { - if (getSourceFileOfNode(node) !== getSourceFileOfNode(firstNonAmbientClassOrFunc)) { - error(node.name, Diagnostics.A_namespace_declaration_cannot_be_in_a_different_file_from_a_class_or_function_with_which_it_is_merged); - } else if (node.pos < firstNonAmbientClassOrFunc.pos) { - error(node.name, Diagnostics.A_namespace_declaration_cannot_be_located_prior_to_a_class_or_function_with_which_it_is_merged); - } - } - const mergedClass = getDeclarationOfKind(symbol, 263 /* ClassDeclaration */); - if (mergedClass && inSameLexicalScope(node, mergedClass)) { - getNodeLinks(node).flags |= 2048 /* LexicalModuleMergesWithClass */; - } - } - if (compilerOptions.verbatimModuleSyntax && node.parent.kind === 307 /* SourceFile */ && host.getEmitModuleFormatOfFile(node.parent) === 1 /* CommonJS */) { - const exportModifier = (_b = node.modifiers) == null ? void 0 : _b.find((m) => m.kind === 95 /* ExportKeyword */); - if (exportModifier) { - error(exportModifier, Diagnostics.A_top_level_export_modifier_cannot_be_used_on_value_declarations_in_a_CommonJS_module_when_verbatimModuleSyntax_is_enabled); - } - } - } - if (isAmbientExternalModule) { - if (isExternalModuleAugmentation(node)) { - const checkBody = isGlobalAugmentation || getSymbolOfDeclaration(node).flags & 33554432 /* Transient */; - if (checkBody && node.body) { - for (const statement of node.body.statements) { - checkModuleAugmentationElement(statement, isGlobalAugmentation); - } - } - } else if (isGlobalSourceFile(node.parent)) { - if (isGlobalAugmentation) { - error(node.name, Diagnostics.Augmentations_for_the_global_scope_can_only_be_directly_nested_in_external_modules_or_ambient_module_declarations); - } else if (isExternalModuleNameRelative(getTextOfIdentifierOrLiteral(node.name))) { - error(node.name, Diagnostics.Ambient_module_declaration_cannot_specify_relative_module_name); - } - } else { - if (isGlobalAugmentation) { - error(node.name, Diagnostics.Augmentations_for_the_global_scope_can_only_be_directly_nested_in_external_modules_or_ambient_module_declarations); - } else { - error(node.name, Diagnostics.Ambient_modules_cannot_be_nested_in_other_modules_or_namespaces); - } - } - } - } - } - function checkModuleAugmentationElement(node, isGlobalAugmentation) { - switch (node.kind) { - case 243 /* VariableStatement */: - for (const decl of node.declarationList.declarations) { - checkModuleAugmentationElement(decl, isGlobalAugmentation); - } - break; - case 277 /* ExportAssignment */: - case 278 /* ExportDeclaration */: - grammarErrorOnFirstToken(node, Diagnostics.Exports_and_export_assignments_are_not_permitted_in_module_augmentations); - break; - case 271 /* ImportEqualsDeclaration */: - if (isInternalModuleImportEqualsDeclaration(node)) break; - case 272 /* ImportDeclaration */: - grammarErrorOnFirstToken(node, Diagnostics.Imports_are_not_permitted_in_module_augmentations_Consider_moving_them_to_the_enclosing_external_module); - break; - case 208 /* BindingElement */: - case 260 /* VariableDeclaration */: - const name = node.name; - if (isBindingPattern(name)) { - for (const el of name.elements) { - checkModuleAugmentationElement(el, isGlobalAugmentation); - } - break; - } - case 263 /* ClassDeclaration */: - case 266 /* EnumDeclaration */: - case 262 /* FunctionDeclaration */: - case 264 /* InterfaceDeclaration */: - case 267 /* ModuleDeclaration */: - case 265 /* TypeAliasDeclaration */: - if (isGlobalAugmentation) { - return; - } - break; - } - } - function getFirstNonModuleExportsIdentifier(node) { - switch (node.kind) { - case 80 /* Identifier */: - return node; - case 166 /* QualifiedName */: - do { - node = node.left; - } while (node.kind !== 80 /* Identifier */); - return node; - case 211 /* PropertyAccessExpression */: - do { - if (isModuleExportsAccessExpression(node.expression) && !isPrivateIdentifier(node.name)) { - return node.name; - } - node = node.expression; - } while (node.kind !== 80 /* Identifier */); - return node; - } - } - function checkExternalImportOrExportDeclaration(node) { - const moduleName = getExternalModuleName(node); - if (!moduleName || nodeIsMissing(moduleName)) { - return false; - } - if (!isStringLiteral(moduleName)) { - error(moduleName, Diagnostics.String_literal_expected); - return false; - } - const inAmbientExternalModule = node.parent.kind === 268 /* ModuleBlock */ && isAmbientModule(node.parent.parent); - if (node.parent.kind !== 307 /* SourceFile */ && !inAmbientExternalModule) { - error( - moduleName, - node.kind === 278 /* ExportDeclaration */ ? Diagnostics.Export_declarations_are_not_permitted_in_a_namespace : Diagnostics.Import_declarations_in_a_namespace_cannot_reference_a_module - ); - return false; - } - if (inAmbientExternalModule && isExternalModuleNameRelative(moduleName.text)) { - if (!isTopLevelInExternalModuleAugmentation(node)) { - error(node, Diagnostics.Import_or_export_declaration_in_an_ambient_module_declaration_cannot_reference_module_through_relative_module_name); - return false; - } - } - if (!isImportEqualsDeclaration(node) && node.attributes) { - const diagnostic = node.attributes.token === 118 /* WithKeyword */ ? Diagnostics.Import_attribute_values_must_be_string_literal_expressions : Diagnostics.Import_assertion_values_must_be_string_literal_expressions; - let hasError = false; - for (const attr of node.attributes.elements) { - if (!isStringLiteral(attr.value)) { - hasError = true; - error(attr.value, diagnostic); - } - } - return !hasError; - } - return true; - } - function checkModuleExportName(name, allowStringLiteral = true) { - if (name === void 0 || name.kind !== 11 /* StringLiteral */) { - return; - } - if (!allowStringLiteral) { - grammarErrorOnNode(name, Diagnostics.Identifier_expected); - } else if (moduleKind === 5 /* ES2015 */ || moduleKind === 6 /* ES2020 */) { - grammarErrorOnNode(name, Diagnostics.String_literal_import_and_export_names_are_not_supported_when_the_module_flag_is_set_to_es2015_or_es2020); - } - } - function checkAliasSymbol(node) { - var _a, _b, _c, _d; - let symbol = getSymbolOfDeclaration(node); - const target = resolveAlias(symbol); - if (target !== unknownSymbol) { - symbol = getMergedSymbol(symbol.exportSymbol || symbol); - if (isInJSFile(node) && !(target.flags & 111551 /* Value */) && !isTypeOnlyImportOrExportDeclaration(node)) { - const errorNode = isImportOrExportSpecifier(node) ? node.propertyName || node.name : isNamedDeclaration(node) ? node.name : node; - Debug.assert(node.kind !== 280 /* NamespaceExport */); - if (node.kind === 281 /* ExportSpecifier */) { - const diag2 = error(errorNode, Diagnostics.Types_cannot_appear_in_export_declarations_in_JavaScript_files); - const alreadyExportedSymbol = (_b = (_a = getSourceFileOfNode(node).symbol) == null ? void 0 : _a.exports) == null ? void 0 : _b.get(moduleExportNameTextEscaped(node.propertyName || node.name)); - if (alreadyExportedSymbol === target) { - const exportingDeclaration = (_c = alreadyExportedSymbol.declarations) == null ? void 0 : _c.find(isJSDocNode); - if (exportingDeclaration) { - addRelatedInfo( - diag2, - createDiagnosticForNode( - exportingDeclaration, - Diagnostics._0_is_automatically_exported_here, - unescapeLeadingUnderscores(alreadyExportedSymbol.escapedName) - ) - ); - } - } - } else { - Debug.assert(node.kind !== 260 /* VariableDeclaration */); - const importDeclaration = findAncestor(node, or(isImportDeclaration, isImportEqualsDeclaration)); - const moduleSpecifier = (importDeclaration && ((_d = tryGetModuleSpecifierFromDeclaration(importDeclaration)) == null ? void 0 : _d.text)) ?? "..."; - const importedIdentifier = unescapeLeadingUnderscores(isIdentifier(errorNode) ? errorNode.escapedText : symbol.escapedName); - error( - errorNode, - Diagnostics._0_is_a_type_and_cannot_be_imported_in_JavaScript_files_Use_1_in_a_JSDoc_type_annotation, - importedIdentifier, - `import("${moduleSpecifier}").${importedIdentifier}` - ); - } - return; - } - const targetFlags = getSymbolFlags(target); - const excludedMeanings = (symbol.flags & (111551 /* Value */ | 1048576 /* ExportValue */) ? 111551 /* Value */ : 0) | (symbol.flags & 788968 /* Type */ ? 788968 /* Type */ : 0) | (symbol.flags & 1920 /* Namespace */ ? 1920 /* Namespace */ : 0); - if (targetFlags & excludedMeanings) { - const message = node.kind === 281 /* ExportSpecifier */ ? Diagnostics.Export_declaration_conflicts_with_exported_declaration_of_0 : Diagnostics.Import_declaration_conflicts_with_local_declaration_of_0; - error(node, message, symbolToString(symbol)); - } else if (node.kind !== 281 /* ExportSpecifier */) { - const appearsValueyToTranspiler = compilerOptions.isolatedModules && !findAncestor(node, isTypeOnlyImportOrExportDeclaration); - if (appearsValueyToTranspiler && symbol.flags & (111551 /* Value */ | 1048576 /* ExportValue */)) { - error( - node, - Diagnostics.Import_0_conflicts_with_local_value_so_must_be_declared_with_a_type_only_import_when_isolatedModules_is_enabled, - symbolToString(symbol), - isolatedModulesLikeFlagName - ); - } - } - if (getIsolatedModules(compilerOptions) && !isTypeOnlyImportOrExportDeclaration(node) && !(node.flags & 33554432 /* Ambient */)) { - const typeOnlyAlias = getTypeOnlyAliasDeclaration(symbol); - const isType = !(targetFlags & 111551 /* Value */); - if (isType || typeOnlyAlias) { - switch (node.kind) { - case 273 /* ImportClause */: - case 276 /* ImportSpecifier */: - case 271 /* ImportEqualsDeclaration */: { - if (compilerOptions.verbatimModuleSyntax) { - Debug.assertIsDefined(node.name, "An ImportClause with a symbol should have a name"); - const message = compilerOptions.verbatimModuleSyntax && isInternalModuleImportEqualsDeclaration(node) ? Diagnostics.An_import_alias_cannot_resolve_to_a_type_or_type_only_declaration_when_verbatimModuleSyntax_is_enabled : isType ? Diagnostics._0_is_a_type_and_must_be_imported_using_a_type_only_import_when_verbatimModuleSyntax_is_enabled : Diagnostics._0_resolves_to_a_type_only_declaration_and_must_be_imported_using_a_type_only_import_when_verbatimModuleSyntax_is_enabled; - const name = moduleExportNameTextUnescaped(node.kind === 276 /* ImportSpecifier */ ? node.propertyName || node.name : node.name); - addTypeOnlyDeclarationRelatedInfo( - error(node, message, name), - isType ? void 0 : typeOnlyAlias, - name - ); - } - if (isType && node.kind === 271 /* ImportEqualsDeclaration */ && hasEffectiveModifier(node, 32 /* Export */)) { - error(node, Diagnostics.Cannot_use_export_import_on_a_type_or_type_only_namespace_when_0_is_enabled, isolatedModulesLikeFlagName); - } - break; - } - case 281 /* ExportSpecifier */: { - if (compilerOptions.verbatimModuleSyntax || getSourceFileOfNode(typeOnlyAlias) !== getSourceFileOfNode(node)) { - const name = moduleExportNameTextUnescaped(node.propertyName || node.name); - const diagnostic = isType ? error(node, Diagnostics.Re_exporting_a_type_when_0_is_enabled_requires_using_export_type, isolatedModulesLikeFlagName) : error(node, Diagnostics._0_resolves_to_a_type_only_declaration_and_must_be_re_exported_using_a_type_only_re_export_when_1_is_enabled, name, isolatedModulesLikeFlagName); - addTypeOnlyDeclarationRelatedInfo(diagnostic, isType ? void 0 : typeOnlyAlias, name); - break; - } - } - } - } - if (compilerOptions.verbatimModuleSyntax && node.kind !== 271 /* ImportEqualsDeclaration */ && !isInJSFile(node) && host.getEmitModuleFormatOfFile(getSourceFileOfNode(node)) === 1 /* CommonJS */) { - error(node, Diagnostics.ESM_syntax_is_not_allowed_in_a_CommonJS_module_when_verbatimModuleSyntax_is_enabled); - } else if (moduleKind === 200 /* Preserve */ && node.kind !== 271 /* ImportEqualsDeclaration */ && node.kind !== 260 /* VariableDeclaration */ && host.getEmitModuleFormatOfFile(getSourceFileOfNode(node)) === 1 /* CommonJS */) { - error(node, Diagnostics.ESM_syntax_is_not_allowed_in_a_CommonJS_module_when_module_is_set_to_preserve); - } - if (compilerOptions.verbatimModuleSyntax && !isTypeOnlyImportOrExportDeclaration(node) && !(node.flags & 33554432 /* Ambient */) && targetFlags & 128 /* ConstEnum */) { - const constEnumDeclaration = target.valueDeclaration; - const redirect = host.getRedirectReferenceForResolutionFromSourceOfProject(getSourceFileOfNode(constEnumDeclaration).resolvedPath); - if (constEnumDeclaration.flags & 33554432 /* Ambient */ && (!redirect || !shouldPreserveConstEnums(redirect.commandLine.options))) { - error(node, Diagnostics.Cannot_access_ambient_const_enums_when_0_is_enabled, isolatedModulesLikeFlagName); - } - } - } - if (isImportSpecifier(node)) { - const targetSymbol = resolveAliasWithDeprecationCheck(symbol, node); - if (isDeprecatedSymbol(targetSymbol) && targetSymbol.declarations) { - addDeprecatedSuggestion(node, targetSymbol.declarations, targetSymbol.escapedName); - } - } - } - } - function resolveAliasWithDeprecationCheck(symbol, location) { - if (!(symbol.flags & 2097152 /* Alias */) || isDeprecatedSymbol(symbol) || !getDeclarationOfAliasSymbol(symbol)) { - return symbol; - } - const targetSymbol = resolveAlias(symbol); - if (targetSymbol === unknownSymbol) return targetSymbol; - while (symbol.flags & 2097152 /* Alias */) { - const target = getImmediateAliasedSymbol(symbol); - if (target) { - if (target === targetSymbol) break; - if (target.declarations && length(target.declarations)) { - if (isDeprecatedSymbol(target)) { - addDeprecatedSuggestion(location, target.declarations, target.escapedName); - break; - } else { - if (symbol === targetSymbol) break; - symbol = target; - } - } - } else { - break; - } - } - return targetSymbol; - } - function checkImportBinding(node) { - checkCollisionsForDeclarationName(node, node.name); - checkAliasSymbol(node); - if (node.kind === 276 /* ImportSpecifier */) { - checkModuleExportName(node.propertyName); - if (moduleExportNameIsDefault(node.propertyName || node.name) && getESModuleInterop(compilerOptions) && host.getEmitModuleFormatOfFile(getSourceFileOfNode(node)) < 4 /* System */) { - checkExternalEmitHelpers(node, 131072 /* ImportDefault */); - } - } - } - function checkImportAttributes(declaration) { - var _a; - const node = declaration.attributes; - if (node) { - const importAttributesType = getGlobalImportAttributesType( - /*reportErrors*/ - true - ); - if (importAttributesType !== emptyObjectType) { - checkTypeAssignableTo(getTypeFromImportAttributes(node), getNullableType(importAttributesType, 32768 /* Undefined */), node); - } - const validForTypeAttributes = isExclusivelyTypeOnlyImportOrExport(declaration); - const override = getResolutionModeOverride(node, validForTypeAttributes ? grammarErrorOnNode : void 0); - const isImportAttributes2 = declaration.attributes.token === 118 /* WithKeyword */; - if (validForTypeAttributes && override) { - return; - } - const mode = moduleKind === 199 /* NodeNext */ && declaration.moduleSpecifier && getEmitSyntaxForModuleSpecifierExpression(declaration.moduleSpecifier); - if (mode !== 99 /* ESNext */ && moduleKind !== 99 /* ESNext */ && moduleKind !== 200 /* Preserve */) { - const message = isImportAttributes2 ? moduleKind === 199 /* NodeNext */ ? Diagnostics.Import_attributes_are_not_allowed_on_statements_that_compile_to_CommonJS_require_calls : Diagnostics.Import_attributes_are_only_supported_when_the_module_option_is_set_to_esnext_nodenext_or_preserve : moduleKind === 199 /* NodeNext */ ? Diagnostics.Import_assertions_are_not_allowed_on_statements_that_compile_to_CommonJS_require_calls : Diagnostics.Import_assertions_are_only_supported_when_the_module_option_is_set_to_esnext_nodenext_or_preserve; - return grammarErrorOnNode(node, message); - } - const isTypeOnly = isJSDocImportTag(declaration) || (isImportDeclaration(declaration) ? (_a = declaration.importClause) == null ? void 0 : _a.isTypeOnly : declaration.isTypeOnly); - if (isTypeOnly) { - return grammarErrorOnNode(node, isImportAttributes2 ? Diagnostics.Import_attributes_cannot_be_used_with_type_only_imports_or_exports : Diagnostics.Import_assertions_cannot_be_used_with_type_only_imports_or_exports); - } - if (override) { - return grammarErrorOnNode(node, Diagnostics.resolution_mode_can_only_be_set_for_type_only_imports); - } - } - } - function checkImportAttribute(node) { - return getRegularTypeOfLiteralType(checkExpressionCached(node.value)); - } - function checkImportDeclaration(node) { - if (checkGrammarModuleElementContext(node, isInJSFile(node) ? Diagnostics.An_import_declaration_can_only_be_used_at_the_top_level_of_a_module : Diagnostics.An_import_declaration_can_only_be_used_at_the_top_level_of_a_namespace_or_module)) { - return; - } - if (!checkGrammarModifiers(node) && node.modifiers) { - grammarErrorOnFirstToken(node, Diagnostics.An_import_declaration_cannot_have_modifiers); - } - if (checkExternalImportOrExportDeclaration(node)) { - const importClause = node.importClause; - if (importClause && !checkGrammarImportClause(importClause)) { - if (importClause.name) { - checkImportBinding(importClause); - } - if (importClause.namedBindings) { - if (importClause.namedBindings.kind === 274 /* NamespaceImport */) { - checkImportBinding(importClause.namedBindings); - if (host.getEmitModuleFormatOfFile(getSourceFileOfNode(node)) < 4 /* System */ && getESModuleInterop(compilerOptions)) { - checkExternalEmitHelpers(node, 65536 /* ImportStar */); - } - } else { - const moduleExisted = resolveExternalModuleName(node, node.moduleSpecifier); - if (moduleExisted) { - forEach(importClause.namedBindings.elements, checkImportBinding); - } - } - } - } else if (noUncheckedSideEffectImports && !importClause) { - void resolveExternalModuleName(node, node.moduleSpecifier); - } - } - checkImportAttributes(node); - } - function checkImportEqualsDeclaration(node) { - if (checkGrammarModuleElementContext(node, isInJSFile(node) ? Diagnostics.An_import_declaration_can_only_be_used_at_the_top_level_of_a_module : Diagnostics.An_import_declaration_can_only_be_used_at_the_top_level_of_a_namespace_or_module)) { - return; - } - checkGrammarModifiers(node); - if (isInternalModuleImportEqualsDeclaration(node) || checkExternalImportOrExportDeclaration(node)) { - checkImportBinding(node); - markLinkedReferences(node, 6 /* ExportImportEquals */); - if (node.moduleReference.kind !== 283 /* ExternalModuleReference */) { - const target = resolveAlias(getSymbolOfDeclaration(node)); - if (target !== unknownSymbol) { - const targetFlags = getSymbolFlags(target); - if (targetFlags & 111551 /* Value */) { - const moduleName = getFirstIdentifier(node.moduleReference); - if (!(resolveEntityName(moduleName, 111551 /* Value */ | 1920 /* Namespace */).flags & 1920 /* Namespace */)) { - error(moduleName, Diagnostics.Module_0_is_hidden_by_a_local_declaration_with_the_same_name, declarationNameToString(moduleName)); - } - } - if (targetFlags & 788968 /* Type */) { - checkTypeNameIsReserved(node.name, Diagnostics.Import_name_cannot_be_0); - } - } - if (node.isTypeOnly) { - grammarErrorOnNode(node, Diagnostics.An_import_alias_cannot_use_import_type); - } - } else { - if (5 /* ES2015 */ <= moduleKind && moduleKind <= 99 /* ESNext */ && !node.isTypeOnly && !(node.flags & 33554432 /* Ambient */)) { - grammarErrorOnNode(node, Diagnostics.Import_assignment_cannot_be_used_when_targeting_ECMAScript_modules_Consider_using_import_Asterisk_as_ns_from_mod_import_a_from_mod_import_d_from_mod_or_another_module_format_instead); - } - } - } - } - function checkExportDeclaration(node) { - if (checkGrammarModuleElementContext(node, isInJSFile(node) ? Diagnostics.An_export_declaration_can_only_be_used_at_the_top_level_of_a_module : Diagnostics.An_export_declaration_can_only_be_used_at_the_top_level_of_a_namespace_or_module)) { - return; - } - if (!checkGrammarModifiers(node) && hasSyntacticModifiers(node)) { - grammarErrorOnFirstToken(node, Diagnostics.An_export_declaration_cannot_have_modifiers); - } - checkGrammarExportDeclaration(node); - if (!node.moduleSpecifier || checkExternalImportOrExportDeclaration(node)) { - if (node.exportClause && !isNamespaceExport(node.exportClause)) { - forEach(node.exportClause.elements, checkExportSpecifier); - const inAmbientExternalModule = node.parent.kind === 268 /* ModuleBlock */ && isAmbientModule(node.parent.parent); - const inAmbientNamespaceDeclaration = !inAmbientExternalModule && node.parent.kind === 268 /* ModuleBlock */ && !node.moduleSpecifier && node.flags & 33554432 /* Ambient */; - if (node.parent.kind !== 307 /* SourceFile */ && !inAmbientExternalModule && !inAmbientNamespaceDeclaration) { - error(node, Diagnostics.Export_declarations_are_not_permitted_in_a_namespace); - } - } else { - const moduleSymbol = resolveExternalModuleName(node, node.moduleSpecifier); - if (moduleSymbol && hasExportAssignmentSymbol(moduleSymbol)) { - error(node.moduleSpecifier, Diagnostics.Module_0_uses_export_and_cannot_be_used_with_export_Asterisk, symbolToString(moduleSymbol)); - } else if (node.exportClause) { - checkAliasSymbol(node.exportClause); - checkModuleExportName(node.exportClause.name); - } - if (host.getEmitModuleFormatOfFile(getSourceFileOfNode(node)) < 4 /* System */) { - if (node.exportClause) { - if (getESModuleInterop(compilerOptions)) { - checkExternalEmitHelpers(node, 65536 /* ImportStar */); - } - } else { - checkExternalEmitHelpers(node, 32768 /* ExportStar */); - } - } - } - } - checkImportAttributes(node); - } - function checkGrammarExportDeclaration(node) { - var _a; - if (node.isTypeOnly && ((_a = node.exportClause) == null ? void 0 : _a.kind) === 279 /* NamedExports */) { - return checkGrammarNamedImportsOrExports(node.exportClause); - } - return false; - } - function checkGrammarModuleElementContext(node, errorMessage) { - const isInAppropriateContext = node.parent.kind === 307 /* SourceFile */ || node.parent.kind === 268 /* ModuleBlock */ || node.parent.kind === 267 /* ModuleDeclaration */; - if (!isInAppropriateContext) { - grammarErrorOnFirstToken(node, errorMessage); - } - return !isInAppropriateContext; - } - function checkExportSpecifier(node) { - checkAliasSymbol(node); - const hasModuleSpecifier = node.parent.parent.moduleSpecifier !== void 0; - checkModuleExportName(node.propertyName, hasModuleSpecifier); - checkModuleExportName(node.name); - if (getEmitDeclarations(compilerOptions)) { - collectLinkedAliases( - node.propertyName || node.name, - /*setVisibility*/ - true - ); - } - if (!hasModuleSpecifier) { - const exportedName = node.propertyName || node.name; - if (exportedName.kind === 11 /* StringLiteral */) { - return; - } - const symbol = resolveName( - exportedName, - exportedName.escapedText, - 111551 /* Value */ | 788968 /* Type */ | 1920 /* Namespace */ | 2097152 /* Alias */, - /*nameNotFoundMessage*/ - void 0, - /*isUse*/ - true - ); - if (symbol && (symbol === undefinedSymbol || symbol === globalThisSymbol || symbol.declarations && isGlobalSourceFile(getDeclarationContainer(symbol.declarations[0])))) { - error(exportedName, Diagnostics.Cannot_export_0_Only_local_declarations_can_be_exported_from_a_module, idText(exportedName)); - } else { - markLinkedReferences(node, 7 /* ExportSpecifier */); - } - } else { - if (getESModuleInterop(compilerOptions) && host.getEmitModuleFormatOfFile(getSourceFileOfNode(node)) < 4 /* System */ && moduleExportNameIsDefault(node.propertyName || node.name)) { - checkExternalEmitHelpers(node, 131072 /* ImportDefault */); - } - } - } - function checkExportAssignment(node) { - const illegalContextMessage = node.isExportEquals ? Diagnostics.An_export_assignment_must_be_at_the_top_level_of_a_file_or_module_declaration : Diagnostics.A_default_export_must_be_at_the_top_level_of_a_file_or_module_declaration; - if (checkGrammarModuleElementContext(node, illegalContextMessage)) { - return; - } - const container = node.parent.kind === 307 /* SourceFile */ ? node.parent : node.parent.parent; - if (container.kind === 267 /* ModuleDeclaration */ && !isAmbientModule(container)) { - if (node.isExportEquals) { - error(node, Diagnostics.An_export_assignment_cannot_be_used_in_a_namespace); - } else { - error(node, Diagnostics.A_default_export_can_only_be_used_in_an_ECMAScript_style_module); - } - return; - } - if (!checkGrammarModifiers(node) && hasEffectiveModifiers(node)) { - grammarErrorOnFirstToken(node, Diagnostics.An_export_assignment_cannot_have_modifiers); - } - const typeAnnotationNode = getEffectiveTypeAnnotationNode(node); - if (typeAnnotationNode) { - checkTypeAssignableTo(checkExpressionCached(node.expression), getTypeFromTypeNode(typeAnnotationNode), node.expression); - } - const isIllegalExportDefaultInCJS = !node.isExportEquals && !(node.flags & 33554432 /* Ambient */) && compilerOptions.verbatimModuleSyntax && host.getEmitModuleFormatOfFile(getSourceFileOfNode(node)) === 1 /* CommonJS */; - if (node.expression.kind === 80 /* Identifier */) { - const id = node.expression; - const sym = getExportSymbolOfValueSymbolIfExported(resolveEntityName( - id, - -1 /* All */, - /*ignoreErrors*/ - true, - /*dontResolveAlias*/ - true, - node - )); - if (sym) { - markLinkedReferences(node, 3 /* ExportAssignment */); - const typeOnlyDeclaration = getTypeOnlyAliasDeclaration(sym, 111551 /* Value */); - if (getSymbolFlags(sym) & 111551 /* Value */) { - checkExpressionCached(id); - if (!isIllegalExportDefaultInCJS && !(node.flags & 33554432 /* Ambient */) && compilerOptions.verbatimModuleSyntax && typeOnlyDeclaration) { - error( - id, - node.isExportEquals ? Diagnostics.An_export_declaration_must_reference_a_real_value_when_verbatimModuleSyntax_is_enabled_but_0_resolves_to_a_type_only_declaration : Diagnostics.An_export_default_must_reference_a_real_value_when_verbatimModuleSyntax_is_enabled_but_0_resolves_to_a_type_only_declaration, - idText(id) - ); - } - } else if (!isIllegalExportDefaultInCJS && !(node.flags & 33554432 /* Ambient */) && compilerOptions.verbatimModuleSyntax) { - error( - id, - node.isExportEquals ? Diagnostics.An_export_declaration_must_reference_a_value_when_verbatimModuleSyntax_is_enabled_but_0_only_refers_to_a_type : Diagnostics.An_export_default_must_reference_a_value_when_verbatimModuleSyntax_is_enabled_but_0_only_refers_to_a_type, - idText(id) - ); - } - if (!isIllegalExportDefaultInCJS && !(node.flags & 33554432 /* Ambient */) && getIsolatedModules(compilerOptions) && !(sym.flags & 111551 /* Value */)) { - const nonLocalMeanings = getSymbolFlags( - sym, - /*excludeTypeOnlyMeanings*/ - false, - /*excludeLocalMeanings*/ - true - ); - if (sym.flags & 2097152 /* Alias */ && nonLocalMeanings & 788968 /* Type */ && !(nonLocalMeanings & 111551 /* Value */) && (!typeOnlyDeclaration || getSourceFileOfNode(typeOnlyDeclaration) !== getSourceFileOfNode(node))) { - error( - id, - node.isExportEquals ? Diagnostics._0_resolves_to_a_type_and_must_be_marked_type_only_in_this_file_before_re_exporting_when_1_is_enabled_Consider_using_import_type_where_0_is_imported : Diagnostics._0_resolves_to_a_type_and_must_be_marked_type_only_in_this_file_before_re_exporting_when_1_is_enabled_Consider_using_export_type_0_as_default, - idText(id), - isolatedModulesLikeFlagName - ); - } else if (typeOnlyDeclaration && getSourceFileOfNode(typeOnlyDeclaration) !== getSourceFileOfNode(node)) { - addTypeOnlyDeclarationRelatedInfo( - error( - id, - node.isExportEquals ? Diagnostics._0_resolves_to_a_type_only_declaration_and_must_be_marked_type_only_in_this_file_before_re_exporting_when_1_is_enabled_Consider_using_import_type_where_0_is_imported : Diagnostics._0_resolves_to_a_type_only_declaration_and_must_be_marked_type_only_in_this_file_before_re_exporting_when_1_is_enabled_Consider_using_export_type_0_as_default, - idText(id), - isolatedModulesLikeFlagName - ), - typeOnlyDeclaration, - idText(id) - ); - } - } - } else { - checkExpressionCached(id); - } - if (getEmitDeclarations(compilerOptions)) { - collectLinkedAliases( - id, - /*setVisibility*/ - true - ); - } - } else { - checkExpressionCached(node.expression); - } - if (isIllegalExportDefaultInCJS) { - error(node, Diagnostics.ESM_syntax_is_not_allowed_in_a_CommonJS_module_when_verbatimModuleSyntax_is_enabled); - } - checkExternalModuleExports(container); - if (node.flags & 33554432 /* Ambient */ && !isEntityNameExpression(node.expression)) { - grammarErrorOnNode(node.expression, Diagnostics.The_expression_of_an_export_assignment_must_be_an_identifier_or_qualified_name_in_an_ambient_context); - } - if (node.isExportEquals) { - if (moduleKind >= 5 /* ES2015 */ && moduleKind !== 200 /* Preserve */ && (node.flags & 33554432 /* Ambient */ && host.getImpliedNodeFormatForEmit(getSourceFileOfNode(node)) === 99 /* ESNext */ || !(node.flags & 33554432 /* Ambient */) && host.getImpliedNodeFormatForEmit(getSourceFileOfNode(node)) !== 1 /* CommonJS */)) { - grammarErrorOnNode(node, Diagnostics.Export_assignment_cannot_be_used_when_targeting_ECMAScript_modules_Consider_using_export_default_or_another_module_format_instead); - } else if (moduleKind === 4 /* System */ && !(node.flags & 33554432 /* Ambient */)) { - grammarErrorOnNode(node, Diagnostics.Export_assignment_is_not_supported_when_module_flag_is_system); - } - } - } - function hasExportedMembers(moduleSymbol) { - return forEachEntry(moduleSymbol.exports, (_, id) => id !== "export="); - } - function checkExternalModuleExports(node) { - const moduleSymbol = getSymbolOfDeclaration(node); - const links = getSymbolLinks(moduleSymbol); - if (!links.exportsChecked) { - const exportEqualsSymbol = moduleSymbol.exports.get("export="); - if (exportEqualsSymbol && hasExportedMembers(moduleSymbol)) { - const declaration = getDeclarationOfAliasSymbol(exportEqualsSymbol) || exportEqualsSymbol.valueDeclaration; - if (declaration && !isTopLevelInExternalModuleAugmentation(declaration) && !isInJSFile(declaration)) { - error(declaration, Diagnostics.An_export_assignment_cannot_be_used_in_a_module_with_other_exported_elements); - } - } - const exports2 = getExportsOfModule(moduleSymbol); - if (exports2) { - exports2.forEach(({ declarations, flags }, id) => { - if (id === "__export") { - return; - } - if (flags & (1920 /* Namespace */ | 384 /* Enum */)) { - return; - } - const exportedDeclarationsCount = countWhere(declarations, and(isNotOverloadAndNotAccessor, not(isInterfaceDeclaration))); - if (flags & 524288 /* TypeAlias */ && exportedDeclarationsCount <= 2) { - return; - } - if (exportedDeclarationsCount > 1) { - if (!isDuplicatedCommonJSExport(declarations)) { - for (const declaration of declarations) { - if (isNotOverload(declaration)) { - diagnostics.add(createDiagnosticForNode(declaration, Diagnostics.Cannot_redeclare_exported_variable_0, unescapeLeadingUnderscores(id))); - } - } - } - } - }); - } - links.exportsChecked = true; - } - } - function isDuplicatedCommonJSExport(declarations) { - return declarations && declarations.length > 1 && declarations.every((d) => isInJSFile(d) && isAccessExpression(d) && (isExportsIdentifier(d.expression) || isModuleExportsAccessExpression(d.expression))); - } - function checkSourceElement(node) { - if (node) { - const saveCurrentNode = currentNode; - currentNode = node; - instantiationCount = 0; - checkSourceElementWorker(node); - currentNode = saveCurrentNode; - } - } - function checkSourceElementWorker(node) { - if (getNodeCheckFlags(node) & 8388608 /* PartiallyTypeChecked */) { - return; - } - if (canHaveJSDoc(node)) { - forEach(node.jsDoc, ({ comment, tags }) => { - checkJSDocCommentWorker(comment); - forEach(tags, (tag) => { - checkJSDocCommentWorker(tag.comment); - if (isInJSFile(node)) { - checkSourceElement(tag); - } - }); - }); - } - const kind = node.kind; - if (cancellationToken) { - switch (kind) { - case 267 /* ModuleDeclaration */: - case 263 /* ClassDeclaration */: - case 264 /* InterfaceDeclaration */: - case 262 /* FunctionDeclaration */: - cancellationToken.throwIfCancellationRequested(); - } - } - if (kind >= 243 /* FirstStatement */ && kind <= 259 /* LastStatement */ && canHaveFlowNode(node) && node.flowNode && !isReachableFlowNode(node.flowNode)) { - errorOrSuggestion(compilerOptions.allowUnreachableCode === false, node, Diagnostics.Unreachable_code_detected); - } - switch (kind) { - case 168 /* TypeParameter */: - return checkTypeParameter(node); - case 169 /* Parameter */: - return checkParameter(node); - case 172 /* PropertyDeclaration */: - return checkPropertyDeclaration(node); - case 171 /* PropertySignature */: - return checkPropertySignature(node); - case 185 /* ConstructorType */: - case 184 /* FunctionType */: - case 179 /* CallSignature */: - case 180 /* ConstructSignature */: - case 181 /* IndexSignature */: - return checkSignatureDeclaration(node); - case 174 /* MethodDeclaration */: - case 173 /* MethodSignature */: - return checkMethodDeclaration(node); - case 175 /* ClassStaticBlockDeclaration */: - return checkClassStaticBlockDeclaration(node); - case 176 /* Constructor */: - return checkConstructorDeclaration(node); - case 177 /* GetAccessor */: - case 178 /* SetAccessor */: - return checkAccessorDeclaration(node); - case 183 /* TypeReference */: - return checkTypeReferenceNode(node); - case 182 /* TypePredicate */: - return checkTypePredicate(node); - case 186 /* TypeQuery */: - return checkTypeQuery(node); - case 187 /* TypeLiteral */: - return checkTypeLiteral(node); - case 188 /* ArrayType */: - return checkArrayType(node); - case 189 /* TupleType */: - return checkTupleType(node); - case 192 /* UnionType */: - case 193 /* IntersectionType */: - return checkUnionOrIntersectionType(node); - case 196 /* ParenthesizedType */: - case 190 /* OptionalType */: - case 191 /* RestType */: - return checkSourceElement(node.type); - case 197 /* ThisType */: - return checkThisType(node); - case 198 /* TypeOperator */: - return checkTypeOperator(node); - case 194 /* ConditionalType */: - return checkConditionalType(node); - case 195 /* InferType */: - return checkInferType(node); - case 203 /* TemplateLiteralType */: - return checkTemplateLiteralType(node); - case 205 /* ImportType */: - return checkImportType(node); - case 202 /* NamedTupleMember */: - return checkNamedTupleMember(node); - case 328 /* JSDocAugmentsTag */: - return checkJSDocAugmentsTag(node); - case 329 /* JSDocImplementsTag */: - return checkJSDocImplementsTag(node); - case 346 /* JSDocTypedefTag */: - case 338 /* JSDocCallbackTag */: - case 340 /* JSDocEnumTag */: - return checkJSDocTypeAliasTag(node); - case 345 /* JSDocTemplateTag */: - return checkJSDocTemplateTag(node); - case 344 /* JSDocTypeTag */: - return checkJSDocTypeTag(node); - case 324 /* JSDocLink */: - case 325 /* JSDocLinkCode */: - case 326 /* JSDocLinkPlain */: - return checkJSDocLinkLikeTag(node); - case 341 /* JSDocParameterTag */: - return checkJSDocParameterTag(node); - case 348 /* JSDocPropertyTag */: - return checkJSDocPropertyTag(node); - case 317 /* JSDocFunctionType */: - checkJSDocFunctionType(node); - case 315 /* JSDocNonNullableType */: - case 314 /* JSDocNullableType */: - case 312 /* JSDocAllType */: - case 313 /* JSDocUnknownType */: - case 322 /* JSDocTypeLiteral */: - checkJSDocTypeIsInJsFile(node); - forEachChild(node, checkSourceElement); - return; - case 318 /* JSDocVariadicType */: - checkJSDocVariadicType(node); - return; - case 309 /* JSDocTypeExpression */: - return checkSourceElement(node.type); - case 333 /* JSDocPublicTag */: - case 335 /* JSDocProtectedTag */: - case 334 /* JSDocPrivateTag */: - return checkJSDocAccessibilityModifiers(node); - case 350 /* JSDocSatisfiesTag */: - return checkJSDocSatisfiesTag(node); - case 343 /* JSDocThisTag */: - return checkJSDocThisTag(node); - case 351 /* JSDocImportTag */: - return checkJSDocImportTag(node); - case 199 /* IndexedAccessType */: - return checkIndexedAccessType(node); - case 200 /* MappedType */: - return checkMappedType(node); - case 262 /* FunctionDeclaration */: - return checkFunctionDeclaration(node); - case 241 /* Block */: - case 268 /* ModuleBlock */: - return checkBlock(node); - case 243 /* VariableStatement */: - return checkVariableStatement(node); - case 244 /* ExpressionStatement */: - return checkExpressionStatement(node); - case 245 /* IfStatement */: - return checkIfStatement(node); - case 246 /* DoStatement */: - return checkDoStatement(node); - case 247 /* WhileStatement */: - return checkWhileStatement(node); - case 248 /* ForStatement */: - return checkForStatement(node); - case 249 /* ForInStatement */: - return checkForInStatement(node); - case 250 /* ForOfStatement */: - return checkForOfStatement(node); - case 251 /* ContinueStatement */: - case 252 /* BreakStatement */: - return checkBreakOrContinueStatement(node); - case 253 /* ReturnStatement */: - return checkReturnStatement(node); - case 254 /* WithStatement */: - return checkWithStatement(node); - case 255 /* SwitchStatement */: - return checkSwitchStatement(node); - case 256 /* LabeledStatement */: - return checkLabeledStatement(node); - case 257 /* ThrowStatement */: - return checkThrowStatement(node); - case 258 /* TryStatement */: - return checkTryStatement(node); - case 260 /* VariableDeclaration */: - return checkVariableDeclaration(node); - case 208 /* BindingElement */: - return checkBindingElement(node); - case 263 /* ClassDeclaration */: - return checkClassDeclaration(node); - case 264 /* InterfaceDeclaration */: - return checkInterfaceDeclaration(node); - case 265 /* TypeAliasDeclaration */: - return checkTypeAliasDeclaration(node); - case 266 /* EnumDeclaration */: - return checkEnumDeclaration(node); - case 267 /* ModuleDeclaration */: - return checkModuleDeclaration(node); - case 272 /* ImportDeclaration */: - return checkImportDeclaration(node); - case 271 /* ImportEqualsDeclaration */: - return checkImportEqualsDeclaration(node); - case 278 /* ExportDeclaration */: - return checkExportDeclaration(node); - case 277 /* ExportAssignment */: - return checkExportAssignment(node); - case 242 /* EmptyStatement */: - case 259 /* DebuggerStatement */: - checkGrammarStatementInAmbientContext(node); - return; - case 282 /* MissingDeclaration */: - return checkMissingDeclaration(node); - } - } - function checkJSDocCommentWorker(node) { - if (isArray(node)) { - forEach(node, (tag) => { - if (isJSDocLinkLike(tag)) { - checkSourceElement(tag); - } - }); - } - } - function checkJSDocTypeIsInJsFile(node) { - if (!isInJSFile(node)) { - if (isJSDocNonNullableType(node) || isJSDocNullableType(node)) { - const token = tokenToString(isJSDocNonNullableType(node) ? 54 /* ExclamationToken */ : 58 /* QuestionToken */); - const diagnostic = node.postfix ? Diagnostics._0_at_the_end_of_a_type_is_not_valid_TypeScript_syntax_Did_you_mean_to_write_1 : Diagnostics._0_at_the_start_of_a_type_is_not_valid_TypeScript_syntax_Did_you_mean_to_write_1; - const typeNode = node.type; - const type = getTypeFromTypeNode(typeNode); - grammarErrorOnNode( - node, - diagnostic, - token, - typeToString( - isJSDocNullableType(node) && !(type === neverType || type === voidType) ? getUnionType(append([type, undefinedType], node.postfix ? void 0 : nullType)) : type - ) - ); - } else { - grammarErrorOnNode(node, Diagnostics.JSDoc_types_can_only_be_used_inside_documentation_comments); - } - } - } - function checkJSDocVariadicType(node) { - checkJSDocTypeIsInJsFile(node); - checkSourceElement(node.type); - const { parent } = node; - if (isParameter(parent) && isJSDocFunctionType(parent.parent)) { - if (last(parent.parent.parameters) !== parent) { - error(node, Diagnostics.A_rest_parameter_must_be_last_in_a_parameter_list); - } - return; - } - if (!isJSDocTypeExpression(parent)) { - error(node, Diagnostics.JSDoc_may_only_appear_in_the_last_parameter_of_a_signature); - } - const paramTag = node.parent.parent; - if (!isJSDocParameterTag(paramTag)) { - error(node, Diagnostics.JSDoc_may_only_appear_in_the_last_parameter_of_a_signature); - return; - } - const param = getParameterSymbolFromJSDoc(paramTag); - if (!param) { - return; - } - const host2 = getHostSignatureFromJSDoc(paramTag); - if (!host2 || last(host2.parameters).symbol !== param) { - error(node, Diagnostics.A_rest_parameter_must_be_last_in_a_parameter_list); - } - } - function getTypeFromJSDocVariadicType(node) { - const type = getTypeFromTypeNode(node.type); - const { parent } = node; - const paramTag = node.parent.parent; - if (isJSDocTypeExpression(node.parent) && isJSDocParameterTag(paramTag)) { - const host2 = getHostSignatureFromJSDoc(paramTag); - const isCallbackTag = isJSDocCallbackTag(paramTag.parent.parent); - if (host2 || isCallbackTag) { - const lastParamDeclaration = isCallbackTag ? lastOrUndefined(paramTag.parent.parent.typeExpression.parameters) : lastOrUndefined(host2.parameters); - const symbol = getParameterSymbolFromJSDoc(paramTag); - if (!lastParamDeclaration || symbol && lastParamDeclaration.symbol === symbol && isRestParameter(lastParamDeclaration)) { - return createArrayType(type); - } - } - } - if (isParameter(parent) && isJSDocFunctionType(parent.parent)) { - return createArrayType(type); - } - return addOptionality(type); - } - function checkNodeDeferred(node) { - const enclosingFile = getSourceFileOfNode(node); - const links = getNodeLinks(enclosingFile); - if (!(links.flags & 1 /* TypeChecked */)) { - links.deferredNodes || (links.deferredNodes = /* @__PURE__ */ new Set()); - links.deferredNodes.add(node); - } else { - Debug.assert(!links.deferredNodes, "A type-checked file should have no deferred nodes."); - } - } - function checkDeferredNodes(context) { - const links = getNodeLinks(context); - if (links.deferredNodes) { - links.deferredNodes.forEach(checkDeferredNode); - } - links.deferredNodes = void 0; - } - function checkDeferredNode(node) { - var _a, _b; - (_a = tracing) == null ? void 0 : _a.push(tracing.Phase.Check, "checkDeferredNode", { kind: node.kind, pos: node.pos, end: node.end, path: node.tracingPath }); - const saveCurrentNode = currentNode; - currentNode = node; - instantiationCount = 0; - switch (node.kind) { - case 213 /* CallExpression */: - case 214 /* NewExpression */: - case 215 /* TaggedTemplateExpression */: - case 170 /* Decorator */: - case 286 /* JsxOpeningElement */: - resolveUntypedCall(node); - break; - case 218 /* FunctionExpression */: - case 219 /* ArrowFunction */: - case 174 /* MethodDeclaration */: - case 173 /* MethodSignature */: - checkFunctionExpressionOrObjectLiteralMethodDeferred(node); - break; - case 177 /* GetAccessor */: - case 178 /* SetAccessor */: - checkAccessorDeclaration(node); - break; - case 231 /* ClassExpression */: - checkClassExpressionDeferred(node); - break; - case 168 /* TypeParameter */: - checkTypeParameterDeferred(node); - break; - case 285 /* JsxSelfClosingElement */: - checkJsxSelfClosingElementDeferred(node); - break; - case 284 /* JsxElement */: - checkJsxElementDeferred(node); - break; - case 216 /* TypeAssertionExpression */: - case 234 /* AsExpression */: - case 217 /* ParenthesizedExpression */: - checkAssertionDeferred(node); - break; - case 222 /* VoidExpression */: - checkExpression(node.expression); - break; - case 226 /* BinaryExpression */: - if (isInstanceOfExpression(node)) { - resolveUntypedCall(node); - } - break; - } - currentNode = saveCurrentNode; - (_b = tracing) == null ? void 0 : _b.pop(); - } - function checkSourceFile(node, nodesToCheck) { - var _a, _b; - (_a = tracing) == null ? void 0 : _a.push( - tracing.Phase.Check, - nodesToCheck ? "checkSourceFileNodes" : "checkSourceFile", - { path: node.path }, - /*separateBeginAndEnd*/ - true - ); - const beforeMark = nodesToCheck ? "beforeCheckNodes" : "beforeCheck"; - const afterMark = nodesToCheck ? "afterCheckNodes" : "afterCheck"; - mark(beforeMark); - nodesToCheck ? checkSourceFileNodesWorker(node, nodesToCheck) : checkSourceFileWorker(node); - mark(afterMark); - measure("Check", beforeMark, afterMark); - (_b = tracing) == null ? void 0 : _b.pop(); - } - function unusedIsError(kind, isAmbient) { - if (isAmbient) { - return false; - } - switch (kind) { - case 0 /* Local */: - return !!compilerOptions.noUnusedLocals; - case 1 /* Parameter */: - return !!compilerOptions.noUnusedParameters; - default: - return Debug.assertNever(kind); - } - } - function getPotentiallyUnusedIdentifiers(sourceFile) { - return allPotentiallyUnusedIdentifiers.get(sourceFile.path) || emptyArray; - } - function checkSourceFileWorker(node) { - const links = getNodeLinks(node); - if (!(links.flags & 1 /* TypeChecked */)) { - if (skipTypeChecking(node, compilerOptions, host)) { - return; - } - checkGrammarSourceFile(node); - clear(potentialThisCollisions); - clear(potentialNewTargetCollisions); - clear(potentialWeakMapSetCollisions); - clear(potentialReflectCollisions); - clear(potentialUnusedRenamedBindingElementsInTypes); - if (links.flags & 8388608 /* PartiallyTypeChecked */) { - potentialThisCollisions = links.potentialThisCollisions; - potentialNewTargetCollisions = links.potentialNewTargetCollisions; - potentialWeakMapSetCollisions = links.potentialWeakMapSetCollisions; - potentialReflectCollisions = links.potentialReflectCollisions; - potentialUnusedRenamedBindingElementsInTypes = links.potentialUnusedRenamedBindingElementsInTypes; - } - forEach(node.statements, checkSourceElement); - checkSourceElement(node.endOfFileToken); - checkDeferredNodes(node); - if (isExternalOrCommonJsModule(node)) { - registerForUnusedIdentifiersCheck(node); - } - addLazyDiagnostic(() => { - if (!node.isDeclarationFile && (compilerOptions.noUnusedLocals || compilerOptions.noUnusedParameters)) { - checkUnusedIdentifiers(getPotentiallyUnusedIdentifiers(node), (containingNode, kind, diag2) => { - if (!containsParseError(containingNode) && unusedIsError(kind, !!(containingNode.flags & 33554432 /* Ambient */))) { - diagnostics.add(diag2); - } - }); - } - if (!node.isDeclarationFile) { - checkPotentialUncheckedRenamedBindingElementsInTypes(); - } - }); - if (isExternalOrCommonJsModule(node)) { - checkExternalModuleExports(node); - } - if (potentialThisCollisions.length) { - forEach(potentialThisCollisions, checkIfThisIsCapturedInEnclosingScope); - clear(potentialThisCollisions); - } - if (potentialNewTargetCollisions.length) { - forEach(potentialNewTargetCollisions, checkIfNewTargetIsCapturedInEnclosingScope); - clear(potentialNewTargetCollisions); - } - if (potentialWeakMapSetCollisions.length) { - forEach(potentialWeakMapSetCollisions, checkWeakMapSetCollision); - clear(potentialWeakMapSetCollisions); - } - if (potentialReflectCollisions.length) { - forEach(potentialReflectCollisions, checkReflectCollision); - clear(potentialReflectCollisions); - } - links.flags |= 1 /* TypeChecked */; - } - } - function checkSourceFileNodesWorker(file, nodes) { - const links = getNodeLinks(file); - if (!(links.flags & 1 /* TypeChecked */)) { - if (skipTypeChecking(file, compilerOptions, host)) { - return; - } - checkGrammarSourceFile(file); - clear(potentialThisCollisions); - clear(potentialNewTargetCollisions); - clear(potentialWeakMapSetCollisions); - clear(potentialReflectCollisions); - clear(potentialUnusedRenamedBindingElementsInTypes); - forEach(nodes, checkSourceElement); - checkDeferredNodes(file); - (links.potentialThisCollisions || (links.potentialThisCollisions = [])).push(...potentialThisCollisions); - (links.potentialNewTargetCollisions || (links.potentialNewTargetCollisions = [])).push(...potentialNewTargetCollisions); - (links.potentialWeakMapSetCollisions || (links.potentialWeakMapSetCollisions = [])).push(...potentialWeakMapSetCollisions); - (links.potentialReflectCollisions || (links.potentialReflectCollisions = [])).push(...potentialReflectCollisions); - (links.potentialUnusedRenamedBindingElementsInTypes || (links.potentialUnusedRenamedBindingElementsInTypes = [])).push( - ...potentialUnusedRenamedBindingElementsInTypes - ); - links.flags |= 8388608 /* PartiallyTypeChecked */; - for (const node of nodes) { - const nodeLinks2 = getNodeLinks(node); - nodeLinks2.flags |= 8388608 /* PartiallyTypeChecked */; - } - } - } - function getDiagnostics(sourceFile, ct, nodesToCheck) { - try { - cancellationToken = ct; - return getDiagnosticsWorker(sourceFile, nodesToCheck); - } finally { - cancellationToken = void 0; - } - } - function ensurePendingDiagnosticWorkComplete() { - for (const cb of deferredDiagnosticsCallbacks) { - cb(); - } - deferredDiagnosticsCallbacks = []; - } - function checkSourceFileWithEagerDiagnostics(sourceFile, nodesToCheck) { - ensurePendingDiagnosticWorkComplete(); - const oldAddLazyDiagnostics = addLazyDiagnostic; - addLazyDiagnostic = (cb) => cb(); - checkSourceFile(sourceFile, nodesToCheck); - addLazyDiagnostic = oldAddLazyDiagnostics; - } - function getDiagnosticsWorker(sourceFile, nodesToCheck) { - if (sourceFile) { - ensurePendingDiagnosticWorkComplete(); - const previousGlobalDiagnostics = diagnostics.getGlobalDiagnostics(); - const previousGlobalDiagnosticsSize = previousGlobalDiagnostics.length; - checkSourceFileWithEagerDiagnostics(sourceFile, nodesToCheck); - const semanticDiagnostics = diagnostics.getDiagnostics(sourceFile.fileName); - if (nodesToCheck) { - return semanticDiagnostics; - } - const currentGlobalDiagnostics = diagnostics.getGlobalDiagnostics(); - if (currentGlobalDiagnostics !== previousGlobalDiagnostics) { - const deferredGlobalDiagnostics = relativeComplement(previousGlobalDiagnostics, currentGlobalDiagnostics, compareDiagnostics); - return concatenate(deferredGlobalDiagnostics, semanticDiagnostics); - } else if (previousGlobalDiagnosticsSize === 0 && currentGlobalDiagnostics.length > 0) { - return concatenate(currentGlobalDiagnostics, semanticDiagnostics); - } - return semanticDiagnostics; - } - forEach(host.getSourceFiles(), (file) => checkSourceFileWithEagerDiagnostics(file)); - return diagnostics.getDiagnostics(); - } - function getGlobalDiagnostics() { - ensurePendingDiagnosticWorkComplete(); - return diagnostics.getGlobalDiagnostics(); - } - function getSymbolsInScope(location, meaning) { - if (location.flags & 67108864 /* InWithStatement */) { - return []; - } - const symbols = createSymbolTable(); - let isStaticSymbol = false; - populateSymbols(); - symbols.delete("this" /* This */); - return symbolsToArray(symbols); - function populateSymbols() { - while (location) { - if (canHaveLocals(location) && location.locals && !isGlobalSourceFile(location)) { - copySymbols(location.locals, meaning); - } - switch (location.kind) { - case 307 /* SourceFile */: - if (!isExternalModule(location)) break; - case 267 /* ModuleDeclaration */: - copyLocallyVisibleExportSymbols(getSymbolOfDeclaration(location).exports, meaning & 2623475 /* ModuleMember */); - break; - case 266 /* EnumDeclaration */: - copySymbols(getSymbolOfDeclaration(location).exports, meaning & 8 /* EnumMember */); - break; - case 231 /* ClassExpression */: - const className = location.name; - if (className) { - copySymbol(location.symbol, meaning); - } - case 263 /* ClassDeclaration */: - case 264 /* InterfaceDeclaration */: - if (!isStaticSymbol) { - copySymbols(getMembersOfSymbol(getSymbolOfDeclaration(location)), meaning & 788968 /* Type */); - } - break; - case 218 /* FunctionExpression */: - const funcName = location.name; - if (funcName) { - copySymbol(location.symbol, meaning); - } - break; - } - if (introducesArgumentsExoticObject(location)) { - copySymbol(argumentsSymbol, meaning); - } - isStaticSymbol = isStatic(location); - location = location.parent; - } - copySymbols(globals, meaning); - } - function copySymbol(symbol, meaning2) { - if (getCombinedLocalAndExportSymbolFlags(symbol) & meaning2) { - const id = symbol.escapedName; - if (!symbols.has(id)) { - symbols.set(id, symbol); - } - } - } - function copySymbols(source, meaning2) { - if (meaning2) { - source.forEach((symbol) => { - copySymbol(symbol, meaning2); - }); - } - } - function copyLocallyVisibleExportSymbols(source, meaning2) { - if (meaning2) { - source.forEach((symbol) => { - if (!getDeclarationOfKind(symbol, 281 /* ExportSpecifier */) && !getDeclarationOfKind(symbol, 280 /* NamespaceExport */) && symbol.escapedName !== "default" /* Default */) { - copySymbol(symbol, meaning2); - } - }); - } - } - } - function isTypeDeclarationName(name) { - return name.kind === 80 /* Identifier */ && isTypeDeclaration(name.parent) && getNameOfDeclaration(name.parent) === name; - } - function isTypeReferenceIdentifier(node) { - while (node.parent.kind === 166 /* QualifiedName */) { - node = node.parent; - } - return node.parent.kind === 183 /* TypeReference */; - } - function isInNameOfExpressionWithTypeArguments(node) { - while (node.parent.kind === 211 /* PropertyAccessExpression */) { - node = node.parent; - } - return node.parent.kind === 233 /* ExpressionWithTypeArguments */; - } - function forEachEnclosingClass(node, callback) { - let result; - let containingClass = getContainingClass(node); - while (containingClass) { - if (result = callback(containingClass)) break; - containingClass = getContainingClass(containingClass); - } - return result; - } - function isNodeUsedDuringClassInitialization(node) { - return !!findAncestor(node, (element) => { - if (isConstructorDeclaration(element) && nodeIsPresent(element.body) || isPropertyDeclaration(element)) { - return true; - } else if (isClassLike(element) || isFunctionLikeDeclaration(element)) { - return "quit"; - } - return false; - }); - } - function isNodeWithinClass(node, classDeclaration) { - return !!forEachEnclosingClass(node, (n) => n === classDeclaration); - } - function getLeftSideOfImportEqualsOrExportAssignment(nodeOnRightSide) { - while (nodeOnRightSide.parent.kind === 166 /* QualifiedName */) { - nodeOnRightSide = nodeOnRightSide.parent; - } - if (nodeOnRightSide.parent.kind === 271 /* ImportEqualsDeclaration */) { - return nodeOnRightSide.parent.moduleReference === nodeOnRightSide ? nodeOnRightSide.parent : void 0; - } - if (nodeOnRightSide.parent.kind === 277 /* ExportAssignment */) { - return nodeOnRightSide.parent.expression === nodeOnRightSide ? nodeOnRightSide.parent : void 0; - } - return void 0; - } - function isInRightSideOfImportOrExportAssignment(node) { - return getLeftSideOfImportEqualsOrExportAssignment(node) !== void 0; - } - function getSpecialPropertyAssignmentSymbolFromEntityName(entityName) { - const specialPropertyAssignmentKind = getAssignmentDeclarationKind(entityName.parent.parent); - switch (specialPropertyAssignmentKind) { - case 1 /* ExportsProperty */: - case 3 /* PrototypeProperty */: - return getSymbolOfNode(entityName.parent); - case 5 /* Property */: - if (isPropertyAccessExpression(entityName.parent) && getLeftmostAccessExpression(entityName.parent) === entityName) { - return void 0; - } - case 4 /* ThisProperty */: - case 2 /* ModuleExports */: - return getSymbolOfDeclaration(entityName.parent.parent); - } - } - function isImportTypeQualifierPart(node) { - let parent = node.parent; - while (isQualifiedName(parent)) { - node = parent; - parent = parent.parent; - } - if (parent && parent.kind === 205 /* ImportType */ && parent.qualifier === node) { - return parent; - } - return void 0; - } - function isThisPropertyAndThisTyped(node) { - if (node.expression.kind === 110 /* ThisKeyword */) { - const container = getThisContainer( - node, - /*includeArrowFunctions*/ - false, - /*includeClassComputedPropertyName*/ - false - ); - if (isFunctionLike(container)) { - const containingLiteral = getContainingObjectLiteral(container); - if (containingLiteral) { - const contextualType = getApparentTypeOfContextualType( - containingLiteral, - /*contextFlags*/ - void 0 - ); - const type = getThisTypeOfObjectLiteralFromContextualType(containingLiteral, contextualType); - return type && !isTypeAny(type); - } - } - } - } - function getSymbolOfNameOrPropertyAccessExpression(name) { - if (isDeclarationName(name)) { - return getSymbolOfNode(name.parent); - } - if (isInJSFile(name) && name.parent.kind === 211 /* PropertyAccessExpression */ && name.parent === name.parent.parent.left) { - if (!isPrivateIdentifier(name) && !isJSDocMemberName(name) && !isThisPropertyAndThisTyped(name.parent)) { - const specialPropertyAssignmentSymbol = getSpecialPropertyAssignmentSymbolFromEntityName(name); - if (specialPropertyAssignmentSymbol) { - return specialPropertyAssignmentSymbol; - } - } - } - if (name.parent.kind === 277 /* ExportAssignment */ && isEntityNameExpression(name)) { - const success = resolveEntityName( - name, - /*all meanings*/ - 111551 /* Value */ | 788968 /* Type */ | 1920 /* Namespace */ | 2097152 /* Alias */, - /*ignoreErrors*/ - true - ); - if (success && success !== unknownSymbol) { - return success; - } - } else if (isEntityName(name) && isInRightSideOfImportOrExportAssignment(name)) { - const importEqualsDeclaration = getAncestor(name, 271 /* ImportEqualsDeclaration */); - Debug.assert(importEqualsDeclaration !== void 0); - return getSymbolOfPartOfRightHandSideOfImportEquals( - name, - /*dontResolveAlias*/ - true - ); - } - if (isEntityName(name)) { - const possibleImportNode = isImportTypeQualifierPart(name); - if (possibleImportNode) { - getTypeFromTypeNode(possibleImportNode); - const sym = getNodeLinks(name).resolvedSymbol; - return sym === unknownSymbol ? void 0 : sym; - } - } - while (isRightSideOfQualifiedNameOrPropertyAccessOrJSDocMemberName(name)) { - name = name.parent; - } - if (isInNameOfExpressionWithTypeArguments(name)) { - let meaning = 0 /* None */; - if (name.parent.kind === 233 /* ExpressionWithTypeArguments */) { - meaning = isPartOfTypeNode(name) ? 788968 /* Type */ : 111551 /* Value */; - if (isExpressionWithTypeArgumentsInClassExtendsClause(name.parent)) { - meaning |= 111551 /* Value */; - } - } else { - meaning = 1920 /* Namespace */; - } - meaning |= 2097152 /* Alias */; - const entityNameSymbol = isEntityNameExpression(name) ? resolveEntityName( - name, - meaning, - /*ignoreErrors*/ - true - ) : void 0; - if (entityNameSymbol) { - return entityNameSymbol; - } - } - if (name.parent.kind === 341 /* JSDocParameterTag */) { - return getParameterSymbolFromJSDoc(name.parent); - } - if (name.parent.kind === 168 /* TypeParameter */ && name.parent.parent.kind === 345 /* JSDocTemplateTag */) { - Debug.assert(!isInJSFile(name)); - const typeParameter = getTypeParameterFromJsDoc(name.parent); - return typeParameter && typeParameter.symbol; - } - if (isExpressionNode(name)) { - if (nodeIsMissing(name)) { - return void 0; - } - const isJSDoc2 = findAncestor(name, or(isJSDocLinkLike, isJSDocNameReference, isJSDocMemberName)); - const meaning = isJSDoc2 ? 788968 /* Type */ | 1920 /* Namespace */ | 111551 /* Value */ : 111551 /* Value */; - if (name.kind === 80 /* Identifier */) { - if (isJSXTagName(name) && isJsxIntrinsicTagName(name)) { - const symbol = getIntrinsicTagSymbol(name.parent); - return symbol === unknownSymbol ? void 0 : symbol; - } - const result = resolveEntityName( - name, - meaning, - /*ignoreErrors*/ - true, - /*dontResolveAlias*/ - true, - getHostSignatureFromJSDoc(name) - ); - if (!result && isJSDoc2) { - const container = findAncestor(name, or(isClassLike, isInterfaceDeclaration)); - if (container) { - return resolveJSDocMemberName( - name, - /*ignoreErrors*/ - true, - getSymbolOfDeclaration(container) - ); - } - } - if (result && isJSDoc2) { - const container = getJSDocHost(name); - if (container && isEnumMember(container) && container === result.valueDeclaration) { - return resolveEntityName( - name, - meaning, - /*ignoreErrors*/ - true, - /*dontResolveAlias*/ - true, - getSourceFileOfNode(container) - ) || result; - } - } - return result; - } else if (isPrivateIdentifier(name)) { - return getSymbolForPrivateIdentifierExpression(name); - } else if (name.kind === 211 /* PropertyAccessExpression */ || name.kind === 166 /* QualifiedName */) { - const links = getNodeLinks(name); - if (links.resolvedSymbol) { - return links.resolvedSymbol; - } - if (name.kind === 211 /* PropertyAccessExpression */) { - checkPropertyAccessExpression(name, 0 /* Normal */); - if (!links.resolvedSymbol) { - links.resolvedSymbol = getApplicableIndexSymbol(checkExpressionCached(name.expression), getLiteralTypeFromPropertyName(name.name)); - } - } else { - checkQualifiedName(name, 0 /* Normal */); - } - if (!links.resolvedSymbol && isJSDoc2 && isQualifiedName(name)) { - return resolveJSDocMemberName(name); - } - return links.resolvedSymbol; - } else if (isJSDocMemberName(name)) { - return resolveJSDocMemberName(name); - } - } else if (isTypeReferenceIdentifier(name)) { - const meaning = name.parent.kind === 183 /* TypeReference */ ? 788968 /* Type */ : 1920 /* Namespace */; - const symbol = resolveEntityName( - name, - meaning, - /*ignoreErrors*/ - false, - /*dontResolveAlias*/ - true - ); - return symbol && symbol !== unknownSymbol ? symbol : getUnresolvedSymbolForEntityName(name); - } - if (name.parent.kind === 182 /* TypePredicate */) { - return resolveEntityName( - name, - /*meaning*/ - 1 /* FunctionScopedVariable */ - ); - } - return void 0; - } - function getApplicableIndexSymbol(type, keyType) { - const infos = getApplicableIndexInfos(type, keyType); - if (infos.length && type.members) { - const symbol = getIndexSymbolFromSymbolTable(resolveStructuredTypeMembers(type).members); - if (infos === getIndexInfosOfType(type)) { - return symbol; - } else if (symbol) { - const symbolLinks2 = getSymbolLinks(symbol); - const declarationList = mapDefined(infos, (i) => i.declaration); - const nodeListId = map(declarationList, getNodeId).join(","); - if (!symbolLinks2.filteredIndexSymbolCache) { - symbolLinks2.filteredIndexSymbolCache = /* @__PURE__ */ new Map(); - } - if (symbolLinks2.filteredIndexSymbolCache.has(nodeListId)) { - return symbolLinks2.filteredIndexSymbolCache.get(nodeListId); - } else { - const copy = createSymbol(131072 /* Signature */, "__index" /* Index */); - copy.declarations = mapDefined(infos, (i) => i.declaration); - copy.parent = type.aliasSymbol ? type.aliasSymbol : type.symbol ? type.symbol : getSymbolAtLocation(copy.declarations[0].parent); - symbolLinks2.filteredIndexSymbolCache.set(nodeListId, copy); - return copy; - } - } - } - } - function resolveJSDocMemberName(name, ignoreErrors, container) { - if (isEntityName(name)) { - const meaning = 788968 /* Type */ | 1920 /* Namespace */ | 111551 /* Value */; - let symbol = resolveEntityName( - name, - meaning, - ignoreErrors, - /*dontResolveAlias*/ - true, - getHostSignatureFromJSDoc(name) - ); - if (!symbol && isIdentifier(name) && container) { - symbol = getMergedSymbol(getSymbol(getExportsOfSymbol(container), name.escapedText, meaning)); - } - if (symbol) { - return symbol; - } - } - const left = isIdentifier(name) ? container : resolveJSDocMemberName(name.left, ignoreErrors, container); - const right = isIdentifier(name) ? name.escapedText : name.right.escapedText; - if (left) { - const proto = left.flags & 111551 /* Value */ && getPropertyOfType(getTypeOfSymbol(left), "prototype"); - const t = proto ? getTypeOfSymbol(proto) : getDeclaredTypeOfSymbol(left); - return getPropertyOfType(t, right); - } - } - function getSymbolAtLocation(node, ignoreErrors) { - if (isSourceFile(node)) { - return isExternalModule(node) ? getMergedSymbol(node.symbol) : void 0; - } - const { parent } = node; - const grandParent = parent.parent; - if (node.flags & 67108864 /* InWithStatement */) { - return void 0; - } - if (isDeclarationNameOrImportPropertyName(node)) { - const parentSymbol = getSymbolOfDeclaration(parent); - return isImportOrExportSpecifier(node.parent) && node.parent.propertyName === node ? getImmediateAliasedSymbol(parentSymbol) : parentSymbol; - } else if (isLiteralComputedPropertyDeclarationName(node)) { - return getSymbolOfDeclaration(parent.parent); - } - if (node.kind === 80 /* Identifier */) { - if (isInRightSideOfImportOrExportAssignment(node)) { - return getSymbolOfNameOrPropertyAccessExpression(node); - } else if (parent.kind === 208 /* BindingElement */ && grandParent.kind === 206 /* ObjectBindingPattern */ && node === parent.propertyName) { - const typeOfPattern = getTypeOfNode(grandParent); - const propertyDeclaration = getPropertyOfType(typeOfPattern, node.escapedText); - if (propertyDeclaration) { - return propertyDeclaration; - } - } else if (isMetaProperty(parent) && parent.name === node) { - if (parent.keywordToken === 105 /* NewKeyword */ && idText(node) === "target") { - return checkNewTargetMetaProperty(parent).symbol; - } - if (parent.keywordToken === 102 /* ImportKeyword */ && idText(node) === "meta") { - return getGlobalImportMetaExpressionType().members.get("meta"); - } - return void 0; - } - } - switch (node.kind) { - case 80 /* Identifier */: - case 81 /* PrivateIdentifier */: - case 211 /* PropertyAccessExpression */: - case 166 /* QualifiedName */: - if (!isThisInTypeQuery(node)) { - return getSymbolOfNameOrPropertyAccessExpression(node); - } - case 110 /* ThisKeyword */: - const container = getThisContainer( - node, - /*includeArrowFunctions*/ - false, - /*includeClassComputedPropertyName*/ - false - ); - if (isFunctionLike(container)) { - const sig = getSignatureFromDeclaration(container); - if (sig.thisParameter) { - return sig.thisParameter; - } - } - if (isInExpressionContext(node)) { - return checkExpression(node).symbol; - } - case 197 /* ThisType */: - return getTypeFromThisTypeNode(node).symbol; - case 108 /* SuperKeyword */: - return checkExpression(node).symbol; - case 137 /* ConstructorKeyword */: - const constructorDeclaration = node.parent; - if (constructorDeclaration && constructorDeclaration.kind === 176 /* Constructor */) { - return constructorDeclaration.parent.symbol; - } - return void 0; - case 11 /* StringLiteral */: - case 15 /* NoSubstitutionTemplateLiteral */: - if (isExternalModuleImportEqualsDeclaration(node.parent.parent) && getExternalModuleImportEqualsDeclarationExpression(node.parent.parent) === node || (node.parent.kind === 272 /* ImportDeclaration */ || node.parent.kind === 278 /* ExportDeclaration */) && node.parent.moduleSpecifier === node || isInJSFile(node) && isJSDocImportTag(node.parent) && node.parent.moduleSpecifier === node || (isInJSFile(node) && isRequireCall( - node.parent, - /*requireStringLiteralLikeArgument*/ - false - ) || isImportCall(node.parent)) || isLiteralTypeNode(node.parent) && isLiteralImportTypeNode(node.parent.parent) && node.parent.parent.argument === node.parent) { - return resolveExternalModuleName(node, node, ignoreErrors); - } - if (isCallExpression(parent) && isBindableObjectDefinePropertyCall(parent) && parent.arguments[1] === node) { - return getSymbolOfDeclaration(parent); - } - case 9 /* NumericLiteral */: - const objectType = isElementAccessExpression(parent) ? parent.argumentExpression === node ? getTypeOfExpression(parent.expression) : void 0 : isLiteralTypeNode(parent) && isIndexedAccessTypeNode(grandParent) ? getTypeFromTypeNode(grandParent.objectType) : void 0; - return objectType && getPropertyOfType(objectType, escapeLeadingUnderscores(node.text)); - case 90 /* DefaultKeyword */: - case 100 /* FunctionKeyword */: - case 39 /* EqualsGreaterThanToken */: - case 86 /* ClassKeyword */: - return getSymbolOfNode(node.parent); - case 205 /* ImportType */: - return isLiteralImportTypeNode(node) ? getSymbolAtLocation(node.argument.literal, ignoreErrors) : void 0; - case 95 /* ExportKeyword */: - return isExportAssignment(node.parent) ? Debug.checkDefined(node.parent.symbol) : void 0; - case 102 /* ImportKeyword */: - case 105 /* NewKeyword */: - return isMetaProperty(node.parent) ? checkMetaPropertyKeyword(node.parent).symbol : void 0; - case 104 /* InstanceOfKeyword */: - if (isBinaryExpression(node.parent)) { - const type = getTypeOfExpression(node.parent.right); - const hasInstanceMethodType = getSymbolHasInstanceMethodOfObjectType(type); - return (hasInstanceMethodType == null ? void 0 : hasInstanceMethodType.symbol) ?? type.symbol; - } - return void 0; - case 236 /* MetaProperty */: - return checkExpression(node).symbol; - case 295 /* JsxNamespacedName */: - if (isJSXTagName(node) && isJsxIntrinsicTagName(node)) { - const symbol = getIntrinsicTagSymbol(node.parent); - return symbol === unknownSymbol ? void 0 : symbol; - } - default: - return void 0; - } - } - function getIndexInfosAtLocation(node) { - if (isIdentifier(node) && isPropertyAccessExpression(node.parent) && node.parent.name === node) { - const keyType = getLiteralTypeFromPropertyName(node); - const objectType = getTypeOfExpression(node.parent.expression); - const objectTypes = objectType.flags & 1048576 /* Union */ ? objectType.types : [objectType]; - return flatMap(objectTypes, (t) => filter(getIndexInfosOfType(t), (info) => isApplicableIndexType(keyType, info.keyType))); - } - return void 0; - } - function getShorthandAssignmentValueSymbol(location) { - if (location && location.kind === 304 /* ShorthandPropertyAssignment */) { - return resolveEntityName(location.name, 111551 /* Value */ | 2097152 /* Alias */); - } - return void 0; - } - function getExportSpecifierLocalTargetSymbol(node) { - if (isExportSpecifier(node)) { - const name = node.propertyName || node.name; - return node.parent.parent.moduleSpecifier ? getExternalModuleMember(node.parent.parent, node) : name.kind === 11 /* StringLiteral */ ? void 0 : ( - // Skip for invalid syntax like this: export { "x" } - resolveEntityName(name, 111551 /* Value */ | 788968 /* Type */ | 1920 /* Namespace */ | 2097152 /* Alias */) - ); - } else { - return resolveEntityName(node, 111551 /* Value */ | 788968 /* Type */ | 1920 /* Namespace */ | 2097152 /* Alias */); - } - } - function getTypeOfNode(node) { - if (isSourceFile(node) && !isExternalModule(node)) { - return errorType; - } - if (node.flags & 67108864 /* InWithStatement */) { - return errorType; - } - const classDecl = tryGetClassImplementingOrExtendingExpressionWithTypeArguments(node); - const classType = classDecl && getDeclaredTypeOfClassOrInterface(getSymbolOfDeclaration(classDecl.class)); - if (isPartOfTypeNode(node)) { - const typeFromTypeNode = getTypeFromTypeNode(node); - return classType ? getTypeWithThisArgument(typeFromTypeNode, classType.thisType) : typeFromTypeNode; - } - if (isExpressionNode(node)) { - return getRegularTypeOfExpression(node); - } - if (classType && !classDecl.isImplements) { - const baseType = firstOrUndefined(getBaseTypes(classType)); - return baseType ? getTypeWithThisArgument(baseType, classType.thisType) : errorType; - } - if (isTypeDeclaration(node)) { - const symbol = getSymbolOfDeclaration(node); - return getDeclaredTypeOfSymbol(symbol); - } - if (isTypeDeclarationName(node)) { - const symbol = getSymbolAtLocation(node); - return symbol ? getDeclaredTypeOfSymbol(symbol) : errorType; - } - if (isBindingElement(node)) { - return getTypeForVariableLikeDeclaration( - node, - /*includeOptionality*/ - true, - 0 /* Normal */ - ) || errorType; - } - if (isDeclaration(node)) { - const symbol = getSymbolOfDeclaration(node); - return symbol ? getTypeOfSymbol(symbol) : errorType; - } - if (isDeclarationNameOrImportPropertyName(node)) { - const symbol = getSymbolAtLocation(node); - if (symbol) { - return getTypeOfSymbol(symbol); - } - return errorType; - } - if (isBindingPattern(node)) { - return getTypeForVariableLikeDeclaration( - node.parent, - /*includeOptionality*/ - true, - 0 /* Normal */ - ) || errorType; - } - if (isInRightSideOfImportOrExportAssignment(node)) { - const symbol = getSymbolAtLocation(node); - if (symbol) { - const declaredType = getDeclaredTypeOfSymbol(symbol); - return !isErrorType(declaredType) ? declaredType : getTypeOfSymbol(symbol); - } - } - if (isMetaProperty(node.parent) && node.parent.keywordToken === node.kind) { - return checkMetaPropertyKeyword(node.parent); - } - if (isImportAttributes(node)) { - return getGlobalImportAttributesType( - /*reportErrors*/ - false - ); - } - return errorType; - } - function getTypeOfAssignmentPattern(expr) { - Debug.assert(expr.kind === 210 /* ObjectLiteralExpression */ || expr.kind === 209 /* ArrayLiteralExpression */); - if (expr.parent.kind === 250 /* ForOfStatement */) { - const iteratedType = checkRightHandSideOfForOf(expr.parent); - return checkDestructuringAssignment(expr, iteratedType || errorType); - } - if (expr.parent.kind === 226 /* BinaryExpression */) { - const iteratedType = getTypeOfExpression(expr.parent.right); - return checkDestructuringAssignment(expr, iteratedType || errorType); - } - if (expr.parent.kind === 303 /* PropertyAssignment */) { - const node2 = cast(expr.parent.parent, isObjectLiteralExpression); - const typeOfParentObjectLiteral = getTypeOfAssignmentPattern(node2) || errorType; - const propertyIndex = indexOfNode(node2.properties, expr.parent); - return checkObjectLiteralDestructuringPropertyAssignment(node2, typeOfParentObjectLiteral, propertyIndex); - } - const node = cast(expr.parent, isArrayLiteralExpression); - const typeOfArrayLiteral = getTypeOfAssignmentPattern(node) || errorType; - const elementType = checkIteratedTypeOrElementType(65 /* Destructuring */, typeOfArrayLiteral, undefinedType, expr.parent) || errorType; - return checkArrayLiteralDestructuringElementAssignment(node, typeOfArrayLiteral, node.elements.indexOf(expr), elementType); - } - function getPropertySymbolOfDestructuringAssignment(location) { - const typeOfObjectLiteral = getTypeOfAssignmentPattern(cast(location.parent.parent, isAssignmentPattern)); - return typeOfObjectLiteral && getPropertyOfType(typeOfObjectLiteral, location.escapedText); - } - function getRegularTypeOfExpression(expr) { - if (isRightSideOfQualifiedNameOrPropertyAccess(expr)) { - expr = expr.parent; - } - return getRegularTypeOfLiteralType(getTypeOfExpression(expr)); - } - function getParentTypeOfClassElement(node) { - const classSymbol = getSymbolOfNode(node.parent); - return isStatic(node) ? getTypeOfSymbol(classSymbol) : getDeclaredTypeOfSymbol(classSymbol); - } - function getClassElementPropertyKeyType(element) { - const name = element.name; - switch (name.kind) { - case 80 /* Identifier */: - return getStringLiteralType(idText(name)); - case 9 /* NumericLiteral */: - case 11 /* StringLiteral */: - return getStringLiteralType(name.text); - case 167 /* ComputedPropertyName */: - const nameType = checkComputedPropertyName(name); - return isTypeAssignableToKind(nameType, 12288 /* ESSymbolLike */) ? nameType : stringType; - default: - return Debug.fail("Unsupported property name."); - } - } - function getAugmentedPropertiesOfType(type) { - type = getApparentType(type); - const propsByName = createSymbolTable(getPropertiesOfType(type)); - const functionType = getSignaturesOfType(type, 0 /* Call */).length ? globalCallableFunctionType : getSignaturesOfType(type, 1 /* Construct */).length ? globalNewableFunctionType : void 0; - if (functionType) { - forEach(getPropertiesOfType(functionType), (p) => { - if (!propsByName.has(p.escapedName)) { - propsByName.set(p.escapedName, p); - } - }); - } - return getNamedMembers(propsByName); - } - function typeHasCallOrConstructSignatures(type) { - return getSignaturesOfType(type, 0 /* Call */).length !== 0 || getSignaturesOfType(type, 1 /* Construct */).length !== 0; - } - function getRootSymbols(symbol) { - const roots = getImmediateRootSymbols(symbol); - return roots ? flatMap(roots, getRootSymbols) : [symbol]; - } - function getImmediateRootSymbols(symbol) { - if (getCheckFlags(symbol) & 6 /* Synthetic */) { - return mapDefined(getSymbolLinks(symbol).containingType.types, (type) => getPropertyOfType(type, symbol.escapedName)); - } else if (symbol.flags & 33554432 /* Transient */) { - const { links: { leftSpread, rightSpread, syntheticOrigin } } = symbol; - return leftSpread ? [leftSpread, rightSpread] : syntheticOrigin ? [syntheticOrigin] : singleElementArray(tryGetTarget(symbol)); - } - return void 0; - } - function tryGetTarget(symbol) { - let target; - let next = symbol; - while (next = getSymbolLinks(next).target) { - target = next; - } - return target; - } - function isArgumentsLocalBinding(nodeIn) { - if (isGeneratedIdentifier(nodeIn)) return false; - const node = getParseTreeNode(nodeIn, isIdentifier); - if (!node) return false; - const parent = node.parent; - if (!parent) return false; - const isPropertyName2 = (isPropertyAccessExpression(parent) || isPropertyAssignment(parent)) && parent.name === node; - return !isPropertyName2 && getReferencedValueSymbol(node) === argumentsSymbol; - } - function isNameOfModuleOrEnumDeclaration(node) { - return isModuleOrEnumDeclaration(node.parent) && node === node.parent.name; - } - function getReferencedExportContainer(nodeIn, prefixLocals) { - var _a; - const node = getParseTreeNode(nodeIn, isIdentifier); - if (node) { - let symbol = getReferencedValueSymbol( - node, - /*startInDeclarationContainer*/ - isNameOfModuleOrEnumDeclaration(node) - ); - if (symbol) { - if (symbol.flags & 1048576 /* ExportValue */) { - const exportSymbol = getMergedSymbol(symbol.exportSymbol); - if (!prefixLocals && exportSymbol.flags & 944 /* ExportHasLocal */ && !(exportSymbol.flags & 3 /* Variable */)) { - return void 0; - } - symbol = exportSymbol; - } - const parentSymbol = getParentOfSymbol(symbol); - if (parentSymbol) { - if (parentSymbol.flags & 512 /* ValueModule */ && ((_a = parentSymbol.valueDeclaration) == null ? void 0 : _a.kind) === 307 /* SourceFile */) { - const symbolFile = parentSymbol.valueDeclaration; - const referenceFile = getSourceFileOfNode(node); - const symbolIsUmdExport = symbolFile !== referenceFile; - return symbolIsUmdExport ? void 0 : symbolFile; - } - return findAncestor(node.parent, (n) => isModuleOrEnumDeclaration(n) && getSymbolOfDeclaration(n) === parentSymbol); - } - } - } - } - function getReferencedImportDeclaration(nodeIn) { - const specifier = getIdentifierGeneratedImportReference(nodeIn); - if (specifier) { - return specifier; - } - const node = getParseTreeNode(nodeIn, isIdentifier); - if (node) { - const symbol = getReferencedValueOrAliasSymbol(node); - if (isNonLocalAlias( - symbol, - /*excludes*/ - 111551 /* Value */ - ) && !getTypeOnlyAliasDeclaration(symbol, 111551 /* Value */)) { - return getDeclarationOfAliasSymbol(symbol); - } - } - return void 0; - } - function isSymbolOfDestructuredElementOfCatchBinding(symbol) { - return symbol.valueDeclaration && isBindingElement(symbol.valueDeclaration) && walkUpBindingElementsAndPatterns(symbol.valueDeclaration).parent.kind === 299 /* CatchClause */; - } - function isSymbolOfDeclarationWithCollidingName(symbol) { - if (symbol.flags & 418 /* BlockScoped */ && symbol.valueDeclaration && !isSourceFile(symbol.valueDeclaration)) { - const links = getSymbolLinks(symbol); - if (links.isDeclarationWithCollidingName === void 0) { - const container = getEnclosingBlockScopeContainer(symbol.valueDeclaration); - if (isStatementWithLocals(container) || isSymbolOfDestructuredElementOfCatchBinding(symbol)) { - if (resolveName( - container.parent, - symbol.escapedName, - 111551 /* Value */, - /*nameNotFoundMessage*/ - void 0, - /*isUse*/ - false - )) { - links.isDeclarationWithCollidingName = true; - } else if (hasNodeCheckFlag(symbol.valueDeclaration, 16384 /* CapturedBlockScopedBinding */)) { - const isDeclaredInLoop = hasNodeCheckFlag(symbol.valueDeclaration, 32768 /* BlockScopedBindingInLoop */); - const inLoopInitializer = isIterationStatement( - container, - /*lookInLabeledStatements*/ - false - ); - const inLoopBodyBlock = container.kind === 241 /* Block */ && isIterationStatement( - container.parent, - /*lookInLabeledStatements*/ - false - ); - links.isDeclarationWithCollidingName = !isBlockScopedContainerTopLevel(container) && (!isDeclaredInLoop || !inLoopInitializer && !inLoopBodyBlock); - } else { - links.isDeclarationWithCollidingName = false; - } - } - } - return links.isDeclarationWithCollidingName; - } - return false; - } - function getReferencedDeclarationWithCollidingName(nodeIn) { - if (!isGeneratedIdentifier(nodeIn)) { - const node = getParseTreeNode(nodeIn, isIdentifier); - if (node) { - const symbol = getReferencedValueSymbol(node); - if (symbol && isSymbolOfDeclarationWithCollidingName(symbol)) { - return symbol.valueDeclaration; - } - } - } - return void 0; - } - function isDeclarationWithCollidingName(nodeIn) { - const node = getParseTreeNode(nodeIn, isDeclaration); - if (node) { - const symbol = getSymbolOfDeclaration(node); - if (symbol) { - return isSymbolOfDeclarationWithCollidingName(symbol); - } - } - return false; - } - function isValueAliasDeclaration(node) { - Debug.assert(canCollectSymbolAliasAccessabilityData); - switch (node.kind) { - case 271 /* ImportEqualsDeclaration */: - return isAliasResolvedToValue(getSymbolOfDeclaration(node)); - case 273 /* ImportClause */: - case 274 /* NamespaceImport */: - case 276 /* ImportSpecifier */: - case 281 /* ExportSpecifier */: - const symbol = getSymbolOfDeclaration(node); - return !!symbol && isAliasResolvedToValue( - symbol, - /*excludeTypeOnlyValues*/ - true - ); - case 278 /* ExportDeclaration */: - const exportClause = node.exportClause; - return !!exportClause && (isNamespaceExport(exportClause) || some(exportClause.elements, isValueAliasDeclaration)); - case 277 /* ExportAssignment */: - return node.expression && node.expression.kind === 80 /* Identifier */ ? isAliasResolvedToValue( - getSymbolOfDeclaration(node), - /*excludeTypeOnlyValues*/ - true - ) : true; - } - return false; - } - function isTopLevelValueImportEqualsWithEntityName(nodeIn) { - const node = getParseTreeNode(nodeIn, isImportEqualsDeclaration); - if (node === void 0 || node.parent.kind !== 307 /* SourceFile */ || !isInternalModuleImportEqualsDeclaration(node)) { - return false; - } - const isValue = isAliasResolvedToValue(getSymbolOfDeclaration(node)); - return isValue && node.moduleReference && !nodeIsMissing(node.moduleReference); - } - function isAliasResolvedToValue(symbol, excludeTypeOnlyValues) { - if (!symbol) { - return false; - } - const container = getSourceFileOfNode(symbol.valueDeclaration); - const fileSymbol = container && getSymbolOfDeclaration(container); - void resolveExternalModuleSymbol(fileSymbol); - const target = getExportSymbolOfValueSymbolIfExported(resolveAlias(symbol)); - if (target === unknownSymbol) { - return !excludeTypeOnlyValues || !getTypeOnlyAliasDeclaration(symbol); - } - return !!(getSymbolFlags( - symbol, - excludeTypeOnlyValues, - /*excludeLocalMeanings*/ - true - ) & 111551 /* Value */) && (shouldPreserveConstEnums(compilerOptions) || !isConstEnumOrConstEnumOnlyModule(target)); - } - function isConstEnumOrConstEnumOnlyModule(s) { - return isConstEnumSymbol(s) || !!s.constEnumOnlyModule; - } - function isReferencedAliasDeclaration(node, checkChildren) { - Debug.assert(canCollectSymbolAliasAccessabilityData); - if (isAliasSymbolDeclaration(node)) { - const symbol = getSymbolOfDeclaration(node); - const links = symbol && getSymbolLinks(symbol); - if (links == null ? void 0 : links.referenced) { - return true; - } - const target = getSymbolLinks(symbol).aliasTarget; - if (target && getEffectiveModifierFlags(node) & 32 /* Export */ && getSymbolFlags(target) & 111551 /* Value */ && (shouldPreserveConstEnums(compilerOptions) || !isConstEnumOrConstEnumOnlyModule(target))) { - return true; - } - } - if (checkChildren) { - return !!forEachChild(node, (node2) => isReferencedAliasDeclaration(node2, checkChildren)); - } - return false; - } - function isImplementationOfOverload(node) { - if (nodeIsPresent(node.body)) { - if (isGetAccessor(node) || isSetAccessor(node)) return false; - const symbol = getSymbolOfDeclaration(node); - const signaturesOfSymbol = getSignaturesOfSymbol(symbol); - return signaturesOfSymbol.length > 1 || // If there is single signature for the symbol, it is overload if that signature isn't coming from the node - // e.g.: function foo(a: string): string; - // function foo(a: any) { // This is implementation of the overloads - // return a; - // } - signaturesOfSymbol.length === 1 && signaturesOfSymbol[0].declaration !== node; - } - return false; - } - function declaredParameterTypeContainsUndefined(parameter) { - const typeNode = getNonlocalEffectiveTypeAnnotationNode(parameter); - if (!typeNode) return false; - const type = getTypeFromTypeNode(typeNode); - return containsUndefinedType(type); - } - function requiresAddingImplicitUndefined(parameter, enclosingDeclaration) { - return (isRequiredInitializedParameter(parameter, enclosingDeclaration) || isOptionalUninitializedParameterProperty(parameter)) && !declaredParameterTypeContainsUndefined(parameter); - } - function isRequiredInitializedParameter(parameter, enclosingDeclaration) { - if (!strictNullChecks || isOptionalParameter(parameter) || isJSDocParameterTag(parameter) || !parameter.initializer) { - return false; - } - if (hasSyntacticModifier(parameter, 31 /* ParameterPropertyModifier */)) { - return !!enclosingDeclaration && isFunctionLikeDeclaration(enclosingDeclaration); - } - return true; - } - function isOptionalUninitializedParameterProperty(parameter) { - return strictNullChecks && isOptionalParameter(parameter) && (isJSDocParameterTag(parameter) || !parameter.initializer) && hasSyntacticModifier(parameter, 31 /* ParameterPropertyModifier */); - } - function isExpandoFunctionDeclaration(node) { - const declaration = getParseTreeNode(node, (n) => isFunctionDeclaration(n) || isVariableDeclaration(n)); - if (!declaration) { - return false; - } - let symbol; - if (isVariableDeclaration(declaration)) { - if (declaration.type || !isInJSFile(declaration) && !isVarConstLike2(declaration)) { - return false; - } - const initializer = getDeclaredExpandoInitializer(declaration); - if (!initializer || !canHaveSymbol(initializer)) { - return false; - } - symbol = getSymbolOfDeclaration(initializer); - } else { - symbol = getSymbolOfDeclaration(declaration); - } - if (!symbol || !(symbol.flags & 16 /* Function */ | 3 /* Variable */)) { - return false; - } - return !!forEachEntry(getExportsOfSymbol(symbol), (p) => p.flags & 111551 /* Value */ && isExpandoPropertyDeclaration(p.valueDeclaration)); - } - function getPropertiesOfContainerFunction(node) { - const declaration = getParseTreeNode(node, isFunctionDeclaration); - if (!declaration) { - return emptyArray; - } - const symbol = getSymbolOfDeclaration(declaration); - return symbol && getPropertiesOfType(getTypeOfSymbol(symbol)) || emptyArray; - } - function getNodeCheckFlags(node) { - var _a; - const nodeId = node.id || 0; - if (nodeId < 0 || nodeId >= nodeLinks.length) return 0; - return ((_a = nodeLinks[nodeId]) == null ? void 0 : _a.flags) || 0; - } - function hasNodeCheckFlag(node, flag) { - calculateNodeCheckFlagWorker(node, flag); - return !!(getNodeCheckFlags(node) & flag); - } - function calculateNodeCheckFlagWorker(node, flag) { - if (!compilerOptions.noCheck && canIncludeBindAndCheckDiagnostics(getSourceFileOfNode(node), compilerOptions)) { - return; - } - const links = getNodeLinks(node); - if (links.calculatedFlags & flag) { - return; - } - switch (flag) { - case 16 /* SuperInstance */: - case 32 /* SuperStatic */: - return checkSingleSuperExpression(node); - case 128 /* MethodWithSuperPropertyAccessInAsync */: - case 256 /* MethodWithSuperPropertyAssignmentInAsync */: - case 2097152 /* ContainsSuperPropertyInStaticInitializer */: - return checkChildSuperExpressions(node); - case 512 /* CaptureArguments */: - case 8192 /* ContainsCapturedBlockScopeBinding */: - case 65536 /* NeedsLoopOutParameter */: - case 262144 /* ContainsConstructorReference */: - return checkChildIdentifiers(node); - case 536870912 /* ConstructorReference */: - return checkSingleIdentifier(node); - case 4096 /* LoopWithCapturedBlockScopedBinding */: - case 32768 /* BlockScopedBindingInLoop */: - case 16384 /* CapturedBlockScopedBinding */: - return checkContainingBlockScopeBindingUses(node); - default: - return Debug.assertNever(flag, `Unhandled node check flag calculation: ${Debug.formatNodeCheckFlags(flag)}`); - } - function forEachNodeRecursively(root, cb) { - const rootResult = cb(root, root.parent); - if (rootResult === "skip") return void 0; - if (rootResult) return rootResult; - return forEachChildRecursively(root, cb); - } - function checkSuperExpressions(node2) { - const links2 = getNodeLinks(node2); - if (links2.calculatedFlags & flag) return "skip"; - links2.calculatedFlags |= 128 /* MethodWithSuperPropertyAccessInAsync */ | 256 /* MethodWithSuperPropertyAssignmentInAsync */ | 2097152 /* ContainsSuperPropertyInStaticInitializer */; - checkSingleSuperExpression(node2); - return void 0; - } - function checkChildSuperExpressions(node2) { - forEachNodeRecursively(node2, checkSuperExpressions); - } - function checkSingleSuperExpression(node2) { - const nodeLinks2 = getNodeLinks(node2); - nodeLinks2.calculatedFlags |= 16 /* SuperInstance */ | 32 /* SuperStatic */; - if (node2.kind === 108 /* SuperKeyword */) { - checkSuperExpression(node2); - } - } - function checkIdentifiers(node2) { - const links2 = getNodeLinks(node2); - if (links2.calculatedFlags & flag) return "skip"; - links2.calculatedFlags |= 512 /* CaptureArguments */ | 8192 /* ContainsCapturedBlockScopeBinding */ | 65536 /* NeedsLoopOutParameter */ | 262144 /* ContainsConstructorReference */; - checkSingleIdentifier(node2); - return void 0; - } - function checkChildIdentifiers(node2) { - forEachNodeRecursively(node2, checkIdentifiers); - } - function isExpressionNodeOrShorthandPropertyAssignmentName(node2) { - return isExpressionNode(node2) || isShorthandPropertyAssignment(node2.parent) && (node2.parent.objectAssignmentInitializer ?? node2.parent.name) === node2; - } - function checkSingleIdentifier(node2) { - const nodeLinks2 = getNodeLinks(node2); - nodeLinks2.calculatedFlags |= 536870912 /* ConstructorReference */; - if (isIdentifier(node2)) { - nodeLinks2.calculatedFlags |= 32768 /* BlockScopedBindingInLoop */ | 16384 /* CapturedBlockScopedBinding */; - if (isExpressionNodeOrShorthandPropertyAssignmentName(node2) && !(isPropertyAccessExpression(node2.parent) && node2.parent.name === node2)) { - const s = getResolvedSymbol(node2); - if (s && s !== unknownSymbol) { - checkIdentifierCalculateNodeCheckFlags(node2, s); - } - } - } - } - function checkBlockScopeBindings(node2) { - const links2 = getNodeLinks(node2); - if (links2.calculatedFlags & flag) return "skip"; - links2.calculatedFlags |= 4096 /* LoopWithCapturedBlockScopedBinding */ | 32768 /* BlockScopedBindingInLoop */ | 16384 /* CapturedBlockScopedBinding */; - checkSingleBlockScopeBinding(node2); - return void 0; - } - function checkContainingBlockScopeBindingUses(node2) { - const scope = getEnclosingBlockScopeContainer(isDeclarationName(node2) ? node2.parent : node2); - forEachNodeRecursively(scope, checkBlockScopeBindings); - } - function checkSingleBlockScopeBinding(node2) { - checkSingleIdentifier(node2); - if (isComputedPropertyName(node2)) { - checkComputedPropertyName(node2); - } - if (isPrivateIdentifier(node2) && isClassElement(node2.parent)) { - setNodeLinksForPrivateIdentifierScope(node2.parent); - } - } - } - function getEnumMemberValue(node) { - computeEnumMemberValues(node.parent); - return getNodeLinks(node).enumMemberValue ?? evaluatorResult( - /*value*/ - void 0 - ); - } - function canHaveConstantValue(node) { - switch (node.kind) { - case 306 /* EnumMember */: - case 211 /* PropertyAccessExpression */: - case 212 /* ElementAccessExpression */: - return true; - } - return false; - } - function getConstantValue2(node) { - if (node.kind === 306 /* EnumMember */) { - return getEnumMemberValue(node).value; - } - if (!getNodeLinks(node).resolvedSymbol) { - void checkExpressionCached(node); - } - const symbol = getNodeLinks(node).resolvedSymbol || (isEntityNameExpression(node) ? resolveEntityName( - node, - 111551 /* Value */, - /*ignoreErrors*/ - true - ) : void 0); - if (symbol && symbol.flags & 8 /* EnumMember */) { - const member = symbol.valueDeclaration; - if (isEnumConst(member.parent)) { - return getEnumMemberValue(member).value; - } - } - return void 0; - } - function isFunctionType(type) { - return !!(type.flags & 524288 /* Object */) && getSignaturesOfType(type, 0 /* Call */).length > 0; - } - function getTypeReferenceSerializationKind(typeNameIn, location) { - var _a; - const typeName = getParseTreeNode(typeNameIn, isEntityName); - if (!typeName) return 0 /* Unknown */; - if (location) { - location = getParseTreeNode(location); - if (!location) return 0 /* Unknown */; - } - let isTypeOnly = false; - if (isQualifiedName(typeName)) { - const rootValueSymbol = resolveEntityName( - getFirstIdentifier(typeName), - 111551 /* Value */, - /*ignoreErrors*/ - true, - /*dontResolveAlias*/ - true, - location - ); - isTypeOnly = !!((_a = rootValueSymbol == null ? void 0 : rootValueSymbol.declarations) == null ? void 0 : _a.every(isTypeOnlyImportOrExportDeclaration)); - } - const valueSymbol = resolveEntityName( - typeName, - 111551 /* Value */, - /*ignoreErrors*/ - true, - /*dontResolveAlias*/ - true, - location - ); - const resolvedValueSymbol = valueSymbol && valueSymbol.flags & 2097152 /* Alias */ ? resolveAlias(valueSymbol) : valueSymbol; - isTypeOnly || (isTypeOnly = !!(valueSymbol && getTypeOnlyAliasDeclaration(valueSymbol, 111551 /* Value */))); - const typeSymbol = resolveEntityName( - typeName, - 788968 /* Type */, - /*ignoreErrors*/ - true, - /*dontResolveAlias*/ - true, - location - ); - const resolvedTypeSymbol = typeSymbol && typeSymbol.flags & 2097152 /* Alias */ ? resolveAlias(typeSymbol) : typeSymbol; - if (!valueSymbol) { - isTypeOnly || (isTypeOnly = !!(typeSymbol && getTypeOnlyAliasDeclaration(typeSymbol, 788968 /* Type */))); - } - if (resolvedValueSymbol && resolvedValueSymbol === resolvedTypeSymbol) { - const globalPromiseSymbol = getGlobalPromiseConstructorSymbol( - /*reportErrors*/ - false - ); - if (globalPromiseSymbol && resolvedValueSymbol === globalPromiseSymbol) { - return 9 /* Promise */; - } - const constructorType = getTypeOfSymbol(resolvedValueSymbol); - if (constructorType && isConstructorType(constructorType)) { - return isTypeOnly ? 10 /* TypeWithCallSignature */ : 1 /* TypeWithConstructSignatureAndValue */; - } - } - if (!resolvedTypeSymbol) { - return isTypeOnly ? 11 /* ObjectType */ : 0 /* Unknown */; - } - const type = getDeclaredTypeOfSymbol(resolvedTypeSymbol); - if (isErrorType(type)) { - return isTypeOnly ? 11 /* ObjectType */ : 0 /* Unknown */; - } else if (type.flags & 3 /* AnyOrUnknown */) { - return 11 /* ObjectType */; - } else if (isTypeAssignableToKind(type, 16384 /* Void */ | 98304 /* Nullable */ | 131072 /* Never */)) { - return 2 /* VoidNullableOrNeverType */; - } else if (isTypeAssignableToKind(type, 528 /* BooleanLike */)) { - return 6 /* BooleanType */; - } else if (isTypeAssignableToKind(type, 296 /* NumberLike */)) { - return 3 /* NumberLikeType */; - } else if (isTypeAssignableToKind(type, 2112 /* BigIntLike */)) { - return 4 /* BigIntLikeType */; - } else if (isTypeAssignableToKind(type, 402653316 /* StringLike */)) { - return 5 /* StringLikeType */; - } else if (isTupleType(type)) { - return 7 /* ArrayLikeType */; - } else if (isTypeAssignableToKind(type, 12288 /* ESSymbolLike */)) { - return 8 /* ESSymbolType */; - } else if (isFunctionType(type)) { - return 10 /* TypeWithCallSignature */; - } else if (isArrayType(type)) { - return 7 /* ArrayLikeType */; - } else { - return 11 /* ObjectType */; - } - } - function createTypeOfDeclaration(declarationIn, enclosingDeclaration, flags, internalFlags, tracker) { - const declaration = getParseTreeNode(declarationIn, isVariableLikeOrAccessor); - if (!declaration) { - return factory.createToken(133 /* AnyKeyword */); - } - const symbol = getSymbolOfDeclaration(declaration); - const type = symbol && !(symbol.flags & (2048 /* TypeLiteral */ | 131072 /* Signature */)) ? getWidenedLiteralType(getTypeOfSymbol(symbol)) : errorType; - return nodeBuilder.serializeTypeForDeclaration(declaration, type, symbol, enclosingDeclaration, flags | 1024 /* MultilineObjectLiterals */, internalFlags, tracker); - } - function isDeclarationWithPossibleInnerTypeNodeReuse(declaration) { - return isFunctionLike(declaration) || isExportAssignment(declaration) || isVariableLike(declaration); - } - function getAllAccessorDeclarationsForDeclaration(accessor) { - accessor = getParseTreeNode(accessor, isGetOrSetAccessorDeclaration); - const otherKind = accessor.kind === 178 /* SetAccessor */ ? 177 /* GetAccessor */ : 178 /* SetAccessor */; - const otherAccessor = getDeclarationOfKind(getSymbolOfDeclaration(accessor), otherKind); - const firstAccessor = otherAccessor && otherAccessor.pos < accessor.pos ? otherAccessor : accessor; - const secondAccessor = otherAccessor && otherAccessor.pos < accessor.pos ? accessor : otherAccessor; - const setAccessor = accessor.kind === 178 /* SetAccessor */ ? accessor : otherAccessor; - const getAccessor = accessor.kind === 177 /* GetAccessor */ ? accessor : otherAccessor; - return { - firstAccessor, - secondAccessor, - setAccessor, - getAccessor - }; - } - function getPossibleTypeNodeReuseExpression(declaration) { - return isFunctionLike(declaration) && !isSetAccessor(declaration) ? getSingleReturnExpression(declaration) : isExportAssignment(declaration) ? declaration.expression : !!declaration.initializer ? declaration.initializer : isParameter(declaration) && isSetAccessor(declaration.parent) ? getSingleReturnExpression(getAllAccessorDeclarationsForDeclaration(declaration.parent).getAccessor) : void 0; - } - function getSingleReturnExpression(declaration) { - let candidateExpr; - if (declaration && !nodeIsMissing(declaration.body)) { - if (getFunctionFlags(declaration) & 3 /* AsyncGenerator */) return void 0; - const body = declaration.body; - if (body && isBlock(body)) { - forEachReturnStatement(body, (s) => { - if (!candidateExpr) { - candidateExpr = s.expression; - } else { - candidateExpr = void 0; - return true; - } - }); - } else { - candidateExpr = body; - } - } - return candidateExpr; - } - function createReturnTypeOfSignatureDeclaration(signatureDeclarationIn, enclosingDeclaration, flags, internalFlags, tracker) { - const signatureDeclaration = getParseTreeNode(signatureDeclarationIn, isFunctionLike); - if (!signatureDeclaration) { - return factory.createToken(133 /* AnyKeyword */); - } - return nodeBuilder.serializeReturnTypeForSignature(getSignatureFromDeclaration(signatureDeclaration), enclosingDeclaration, flags | 1024 /* MultilineObjectLiterals */, internalFlags, tracker); - } - function createTypeOfExpression(exprIn, enclosingDeclaration, flags, internalFlags, tracker) { - const expr = getParseTreeNode(exprIn, isExpression); - if (!expr) { - return factory.createToken(133 /* AnyKeyword */); - } - const type = getWidenedType(getRegularTypeOfExpression(expr)); - return nodeBuilder.expressionOrTypeToTypeNode( - expr, - type, - /*addUndefined*/ - void 0, - enclosingDeclaration, - flags | 1024 /* MultilineObjectLiterals */, - internalFlags, - tracker - ); - } - function hasGlobalName(name) { - return globals.has(escapeLeadingUnderscores(name)); - } - function getReferencedValueSymbol(reference, startInDeclarationContainer) { - const resolvedSymbol = getNodeLinks(reference).resolvedSymbol; - if (resolvedSymbol) { - return resolvedSymbol; - } - let location = reference; - if (startInDeclarationContainer) { - const parent = reference.parent; - if (isDeclaration(parent) && reference === parent.name) { - location = getDeclarationContainer(parent); - } - } - return resolveName( - location, - reference.escapedText, - 111551 /* Value */ | 1048576 /* ExportValue */ | 2097152 /* Alias */, - /*nameNotFoundMessage*/ - void 0, - /*isUse*/ - true - ); - } - function getReferencedValueOrAliasSymbol(reference) { - const resolvedSymbol = getNodeLinks(reference).resolvedSymbol; - if (resolvedSymbol && resolvedSymbol !== unknownSymbol) { - return resolvedSymbol; - } - return resolveName( - reference, - reference.escapedText, - 111551 /* Value */ | 1048576 /* ExportValue */ | 2097152 /* Alias */, - /*nameNotFoundMessage*/ - void 0, - /*isUse*/ - true, - /*excludeGlobals*/ - void 0 - ); - } - function getReferencedValueDeclaration(referenceIn) { - if (!isGeneratedIdentifier(referenceIn)) { - const reference = getParseTreeNode(referenceIn, isIdentifier); - if (reference) { - const symbol = getReferencedValueSymbol(reference); - if (symbol) { - return getExportSymbolOfValueSymbolIfExported(symbol).valueDeclaration; - } - } - } - return void 0; - } - function getReferencedValueDeclarations(referenceIn) { - if (!isGeneratedIdentifier(referenceIn)) { - const reference = getParseTreeNode(referenceIn, isIdentifier); - if (reference) { - const symbol = getReferencedValueSymbol(reference); - if (symbol) { - return filter(getExportSymbolOfValueSymbolIfExported(symbol).declarations, (declaration) => { - switch (declaration.kind) { - case 260 /* VariableDeclaration */: - case 169 /* Parameter */: - case 208 /* BindingElement */: - case 172 /* PropertyDeclaration */: - case 303 /* PropertyAssignment */: - case 304 /* ShorthandPropertyAssignment */: - case 306 /* EnumMember */: - case 210 /* ObjectLiteralExpression */: - case 262 /* FunctionDeclaration */: - case 218 /* FunctionExpression */: - case 219 /* ArrowFunction */: - case 263 /* ClassDeclaration */: - case 231 /* ClassExpression */: - case 266 /* EnumDeclaration */: - case 174 /* MethodDeclaration */: - case 177 /* GetAccessor */: - case 178 /* SetAccessor */: - case 267 /* ModuleDeclaration */: - return true; - } - return false; - }); - } - } - } - return void 0; - } - function isLiteralConstDeclaration(node) { - if (isDeclarationReadonly(node) || isVariableDeclaration(node) && isVarConstLike2(node)) { - return isFreshLiteralType(getTypeOfSymbol(getSymbolOfDeclaration(node))); - } - return false; - } - function literalTypeToNode(type, enclosing, tracker) { - const enumResult = type.flags & 1056 /* EnumLike */ ? nodeBuilder.symbolToExpression( - type.symbol, - 111551 /* Value */, - enclosing, - /*flags*/ - void 0, - /*internalFlags*/ - void 0, - tracker - ) : type === trueType ? factory.createTrue() : type === falseType && factory.createFalse(); - if (enumResult) return enumResult; - const literalValue = type.value; - return typeof literalValue === "object" ? factory.createBigIntLiteral(literalValue) : typeof literalValue === "string" ? factory.createStringLiteral(literalValue) : literalValue < 0 ? factory.createPrefixUnaryExpression(41 /* MinusToken */, factory.createNumericLiteral(-literalValue)) : factory.createNumericLiteral(literalValue); - } - function createLiteralConstValue(node, tracker) { - const type = getTypeOfSymbol(getSymbolOfDeclaration(node)); - return literalTypeToNode(type, node, tracker); - } - function getJsxFactoryEntity(location) { - return location ? (getJsxNamespace(location), getSourceFileOfNode(location).localJsxFactory || _jsxFactoryEntity) : _jsxFactoryEntity; - } - function getJsxFragmentFactoryEntity(location) { - if (location) { - const file = getSourceFileOfNode(location); - if (file) { - if (file.localJsxFragmentFactory) { - return file.localJsxFragmentFactory; - } - const jsxFragPragmas = file.pragmas.get("jsxfrag"); - const jsxFragPragma = isArray(jsxFragPragmas) ? jsxFragPragmas[0] : jsxFragPragmas; - if (jsxFragPragma) { - file.localJsxFragmentFactory = parseIsolatedEntityName(jsxFragPragma.arguments.factory, languageVersion); - return file.localJsxFragmentFactory; - } - } - } - if (compilerOptions.jsxFragmentFactory) { - return parseIsolatedEntityName(compilerOptions.jsxFragmentFactory, languageVersion); - } - } - function getNonlocalEffectiveTypeAnnotationNode(node) { - const direct = getEffectiveTypeAnnotationNode(node); - if (direct) { - return direct; - } - if (node.kind === 169 /* Parameter */ && node.parent.kind === 178 /* SetAccessor */) { - const other = getAllAccessorDeclarationsForDeclaration(node.parent).getAccessor; - if (other) { - return getEffectiveReturnTypeNode(other); - } - } - return void 0; - } - function getNonlocalEffectiveReturnTypeAnnotationNode(node) { - const direct = getEffectiveReturnTypeNode(node); - if (direct) { - return direct; - } - if (node.kind === 177 /* GetAccessor */) { - const other = getAllAccessorDeclarationsForDeclaration(node).setAccessor; - if (other) { - const param = getSetAccessorValueParameter(other); - if (param) { - return getEffectiveTypeAnnotationNode(param); - } - } - } - return void 0; - } - function createResolver() { - return { - getReferencedExportContainer, - getReferencedImportDeclaration, - getReferencedDeclarationWithCollidingName, - isDeclarationWithCollidingName, - isValueAliasDeclaration: (nodeIn) => { - const node = getParseTreeNode(nodeIn); - return node && canCollectSymbolAliasAccessabilityData ? isValueAliasDeclaration(node) : true; - }, - hasGlobalName, - isReferencedAliasDeclaration: (nodeIn, checkChildren) => { - const node = getParseTreeNode(nodeIn); - return node && canCollectSymbolAliasAccessabilityData ? isReferencedAliasDeclaration(node, checkChildren) : true; - }, - hasNodeCheckFlag: (nodeIn, flag) => { - const node = getParseTreeNode(nodeIn); - if (!node) return false; - return hasNodeCheckFlag(node, flag); - }, - isTopLevelValueImportEqualsWithEntityName, - isDeclarationVisible, - isImplementationOfOverload, - requiresAddingImplicitUndefined, - isExpandoFunctionDeclaration, - getPropertiesOfContainerFunction, - createTypeOfDeclaration, - createReturnTypeOfSignatureDeclaration, - createTypeOfExpression, - createLiteralConstValue, - isSymbolAccessible, - isEntityNameVisible, - getConstantValue: (nodeIn) => { - const node = getParseTreeNode(nodeIn, canHaveConstantValue); - return node ? getConstantValue2(node) : void 0; - }, - getEnumMemberValue: (nodeIn) => { - const node = getParseTreeNode(nodeIn, isEnumMember); - return node ? getEnumMemberValue(node) : void 0; - }, - collectLinkedAliases, - markLinkedReferences: (nodeIn) => { - const node = getParseTreeNode(nodeIn); - return node && markLinkedReferences(node, 0 /* Unspecified */); - }, - getReferencedValueDeclaration, - getReferencedValueDeclarations, - getTypeReferenceSerializationKind, - isOptionalParameter, - isArgumentsLocalBinding, - getExternalModuleFileFromDeclaration: (nodeIn) => { - const node = getParseTreeNode(nodeIn, hasPossibleExternalModuleReference); - return node && getExternalModuleFileFromDeclaration(node); - }, - isLiteralConstDeclaration, - isLateBound: (nodeIn) => { - const node = getParseTreeNode(nodeIn, isDeclaration); - const symbol = node && getSymbolOfDeclaration(node); - return !!(symbol && getCheckFlags(symbol) & 4096 /* Late */); - }, - getJsxFactoryEntity, - getJsxFragmentFactoryEntity, - isBindingCapturedByNode: (node, decl) => { - const parseNode = getParseTreeNode(node); - const parseDecl = getParseTreeNode(decl); - return !!parseNode && !!parseDecl && (isVariableDeclaration(parseDecl) || isBindingElement(parseDecl)) && isBindingCapturedByNode(parseNode, parseDecl); - }, - getDeclarationStatementsForSourceFile: (node, flags, internalFlags, tracker) => { - const n = getParseTreeNode(node); - Debug.assert(n && n.kind === 307 /* SourceFile */, "Non-sourcefile node passed into getDeclarationsForSourceFile"); - const sym = getSymbolOfDeclaration(node); - if (!sym) { - return !node.locals ? [] : nodeBuilder.symbolTableToDeclarationStatements(node.locals, node, flags, internalFlags, tracker); - } - resolveExternalModuleSymbol(sym); - return !sym.exports ? [] : nodeBuilder.symbolTableToDeclarationStatements(sym.exports, node, flags, internalFlags, tracker); - }, - isImportRequiredByAugmentation, - isDefinitelyReferenceToGlobalSymbolObject - }; - function isImportRequiredByAugmentation(node) { - const file = getSourceFileOfNode(node); - if (!file.symbol) return false; - const importTarget = getExternalModuleFileFromDeclaration(node); - if (!importTarget) return false; - if (importTarget === file) return false; - const exports2 = getExportsOfModule(file.symbol); - for (const s of arrayFrom(exports2.values())) { - if (s.mergeId) { - const merged = getMergedSymbol(s); - if (merged.declarations) { - for (const d of merged.declarations) { - const declFile = getSourceFileOfNode(d); - if (declFile === importTarget) { - return true; - } - } - } - } - } - return false; - } - } - function getExternalModuleFileFromDeclaration(declaration) { - const specifier = declaration.kind === 267 /* ModuleDeclaration */ ? tryCast(declaration.name, isStringLiteral) : getExternalModuleName(declaration); - const moduleSymbol = resolveExternalModuleNameWorker( - specifier, - specifier, - /*moduleNotFoundError*/ - void 0 - ); - if (!moduleSymbol) { - return void 0; - } - return getDeclarationOfKind(moduleSymbol, 307 /* SourceFile */); - } - function initializeTypeChecker() { - for (const file of host.getSourceFiles()) { - bindSourceFile(file, compilerOptions); - } - amalgamatedDuplicates = /* @__PURE__ */ new Map(); - let augmentations; - for (const file of host.getSourceFiles()) { - if (file.redirectInfo) { - continue; - } - if (!isExternalOrCommonJsModule(file)) { - const fileGlobalThisSymbol = file.locals.get("globalThis"); - if (fileGlobalThisSymbol == null ? void 0 : fileGlobalThisSymbol.declarations) { - for (const declaration of fileGlobalThisSymbol.declarations) { - diagnostics.add(createDiagnosticForNode(declaration, Diagnostics.Declaration_name_conflicts_with_built_in_global_identifier_0, "globalThis")); - } - } - mergeSymbolTable(globals, file.locals); - } - if (file.jsGlobalAugmentations) { - mergeSymbolTable(globals, file.jsGlobalAugmentations); - } - if (file.patternAmbientModules && file.patternAmbientModules.length) { - patternAmbientModules = concatenate(patternAmbientModules, file.patternAmbientModules); - } - if (file.moduleAugmentations.length) { - (augmentations || (augmentations = [])).push(file.moduleAugmentations); - } - if (file.symbol && file.symbol.globalExports) { - const source = file.symbol.globalExports; - source.forEach((sourceSymbol, id) => { - if (!globals.has(id)) { - globals.set(id, sourceSymbol); - } - }); - } - } - if (augmentations) { - for (const list of augmentations) { - for (const augmentation of list) { - if (!isGlobalScopeAugmentation(augmentation.parent)) continue; - mergeModuleAugmentation(augmentation); - } - } - } - addUndefinedToGlobalsOrErrorOnRedeclaration(); - getSymbolLinks(undefinedSymbol).type = undefinedWideningType; - getSymbolLinks(argumentsSymbol).type = getGlobalType( - "IArguments", - /*arity*/ - 0, - /*reportErrors*/ - true - ); - getSymbolLinks(unknownSymbol).type = errorType; - getSymbolLinks(globalThisSymbol).type = createObjectType(16 /* Anonymous */, globalThisSymbol); - globalArrayType = getGlobalType( - "Array", - /*arity*/ - 1, - /*reportErrors*/ - true - ); - globalObjectType = getGlobalType( - "Object", - /*arity*/ - 0, - /*reportErrors*/ - true - ); - globalFunctionType = getGlobalType( - "Function", - /*arity*/ - 0, - /*reportErrors*/ - true - ); - globalCallableFunctionType = strictBindCallApply && getGlobalType( - "CallableFunction", - /*arity*/ - 0, - /*reportErrors*/ - true - ) || globalFunctionType; - globalNewableFunctionType = strictBindCallApply && getGlobalType( - "NewableFunction", - /*arity*/ - 0, - /*reportErrors*/ - true - ) || globalFunctionType; - globalStringType = getGlobalType( - "String", - /*arity*/ - 0, - /*reportErrors*/ - true - ); - globalNumberType = getGlobalType( - "Number", - /*arity*/ - 0, - /*reportErrors*/ - true - ); - globalBooleanType = getGlobalType( - "Boolean", - /*arity*/ - 0, - /*reportErrors*/ - true - ); - globalRegExpType = getGlobalType( - "RegExp", - /*arity*/ - 0, - /*reportErrors*/ - true - ); - anyArrayType = createArrayType(anyType); - autoArrayType = createArrayType(autoType); - if (autoArrayType === emptyObjectType) { - autoArrayType = createAnonymousType( - /*symbol*/ - void 0, - emptySymbols, - emptyArray, - emptyArray, - emptyArray - ); - } - globalReadonlyArrayType = getGlobalTypeOrUndefined( - "ReadonlyArray", - /*arity*/ - 1 - ) || globalArrayType; - anyReadonlyArrayType = globalReadonlyArrayType ? createTypeFromGenericGlobalType(globalReadonlyArrayType, [anyType]) : anyArrayType; - globalThisType = getGlobalTypeOrUndefined( - "ThisType", - /*arity*/ - 1 - ); - if (augmentations) { - for (const list of augmentations) { - for (const augmentation of list) { - if (isGlobalScopeAugmentation(augmentation.parent)) continue; - mergeModuleAugmentation(augmentation); - } - } - } - amalgamatedDuplicates.forEach(({ firstFile, secondFile, conflictingSymbols }) => { - if (conflictingSymbols.size < 8) { - conflictingSymbols.forEach(({ isBlockScoped, firstFileLocations, secondFileLocations }, symbolName2) => { - const message = isBlockScoped ? Diagnostics.Cannot_redeclare_block_scoped_variable_0 : Diagnostics.Duplicate_identifier_0; - for (const node of firstFileLocations) { - addDuplicateDeclarationError(node, message, symbolName2, secondFileLocations); - } - for (const node of secondFileLocations) { - addDuplicateDeclarationError(node, message, symbolName2, firstFileLocations); - } - }); - } else { - const list = arrayFrom(conflictingSymbols.keys()).join(", "); - diagnostics.add(addRelatedInfo( - createDiagnosticForNode(firstFile, Diagnostics.Definitions_of_the_following_identifiers_conflict_with_those_in_another_file_Colon_0, list), - createDiagnosticForNode(secondFile, Diagnostics.Conflicts_are_in_this_file) - )); - diagnostics.add(addRelatedInfo( - createDiagnosticForNode(secondFile, Diagnostics.Definitions_of_the_following_identifiers_conflict_with_those_in_another_file_Colon_0, list), - createDiagnosticForNode(firstFile, Diagnostics.Conflicts_are_in_this_file) - )); - } - }); - amalgamatedDuplicates = void 0; - } - function checkExternalEmitHelpers(location, helpers) { - if (compilerOptions.importHelpers) { - const sourceFile = getSourceFileOfNode(location); - if (isEffectiveExternalModule(sourceFile, compilerOptions) && !(location.flags & 33554432 /* Ambient */)) { - const helpersModule = resolveHelpersModule(sourceFile, location); - if (helpersModule !== unknownSymbol) { - const links = getSymbolLinks(helpersModule); - links.requestedExternalEmitHelpers ?? (links.requestedExternalEmitHelpers = 0); - if ((links.requestedExternalEmitHelpers & helpers) !== helpers) { - const uncheckedHelpers = helpers & ~links.requestedExternalEmitHelpers; - for (let helper = 1 /* FirstEmitHelper */; helper <= 16777216 /* LastEmitHelper */; helper <<= 1) { - if (uncheckedHelpers & helper) { - for (const name of getHelperNames(helper)) { - const symbol = resolveSymbol(getSymbol(getExportsOfModule(helpersModule), escapeLeadingUnderscores(name), 111551 /* Value */)); - if (!symbol) { - error(location, Diagnostics.This_syntax_requires_an_imported_helper_named_1_which_does_not_exist_in_0_Consider_upgrading_your_version_of_0, externalHelpersModuleNameText, name); - } else if (helper & 524288 /* ClassPrivateFieldGet */) { - if (!some(getSignaturesOfSymbol(symbol), (signature) => getParameterCount(signature) > 3)) { - error(location, Diagnostics.This_syntax_requires_an_imported_helper_named_1_with_2_parameters_which_is_not_compatible_with_the_one_in_0_Consider_upgrading_your_version_of_0, externalHelpersModuleNameText, name, 4); - } - } else if (helper & 1048576 /* ClassPrivateFieldSet */) { - if (!some(getSignaturesOfSymbol(symbol), (signature) => getParameterCount(signature) > 4)) { - error(location, Diagnostics.This_syntax_requires_an_imported_helper_named_1_with_2_parameters_which_is_not_compatible_with_the_one_in_0_Consider_upgrading_your_version_of_0, externalHelpersModuleNameText, name, 5); - } - } else if (helper & 1024 /* SpreadArray */) { - if (!some(getSignaturesOfSymbol(symbol), (signature) => getParameterCount(signature) > 2)) { - error(location, Diagnostics.This_syntax_requires_an_imported_helper_named_1_with_2_parameters_which_is_not_compatible_with_the_one_in_0_Consider_upgrading_your_version_of_0, externalHelpersModuleNameText, name, 3); - } - } - } - } - } - } - links.requestedExternalEmitHelpers |= helpers; - } - } - } - } - function getHelperNames(helper) { - switch (helper) { - case 1 /* Extends */: - return ["__extends"]; - case 2 /* Assign */: - return ["__assign"]; - case 4 /* Rest */: - return ["__rest"]; - case 8 /* Decorate */: - return legacyDecorators ? ["__decorate"] : ["__esDecorate", "__runInitializers"]; - case 16 /* Metadata */: - return ["__metadata"]; - case 32 /* Param */: - return ["__param"]; - case 64 /* Awaiter */: - return ["__awaiter"]; - case 128 /* Generator */: - return ["__generator"]; - case 256 /* Values */: - return ["__values"]; - case 512 /* Read */: - return ["__read"]; - case 1024 /* SpreadArray */: - return ["__spreadArray"]; - case 2048 /* Await */: - return ["__await"]; - case 4096 /* AsyncGenerator */: - return ["__asyncGenerator"]; - case 8192 /* AsyncDelegator */: - return ["__asyncDelegator"]; - case 16384 /* AsyncValues */: - return ["__asyncValues"]; - case 32768 /* ExportStar */: - return ["__exportStar"]; - case 65536 /* ImportStar */: - return ["__importStar"]; - case 131072 /* ImportDefault */: - return ["__importDefault"]; - case 262144 /* MakeTemplateObject */: - return ["__makeTemplateObject"]; - case 524288 /* ClassPrivateFieldGet */: - return ["__classPrivateFieldGet"]; - case 1048576 /* ClassPrivateFieldSet */: - return ["__classPrivateFieldSet"]; - case 2097152 /* ClassPrivateFieldIn */: - return ["__classPrivateFieldIn"]; - case 4194304 /* SetFunctionName */: - return ["__setFunctionName"]; - case 8388608 /* PropKey */: - return ["__propKey"]; - case 16777216 /* AddDisposableResourceAndDisposeResources */: - return ["__addDisposableResource", "__disposeResources"]; - default: - return Debug.fail("Unrecognized helper"); - } - } - function resolveHelpersModule(file, errorNode) { - const links = getNodeLinks(file); - if (!links.externalHelpersModule) { - links.externalHelpersModule = resolveExternalModule(getImportHelpersImportSpecifier(file), externalHelpersModuleNameText, Diagnostics.This_syntax_requires_an_imported_helper_but_module_0_cannot_be_found, errorNode) || unknownSymbol; - } - return links.externalHelpersModule; - } - function checkGrammarModifiers(node) { - var _a; - const quickResult = reportObviousDecoratorErrors(node) || reportObviousModifierErrors(node); - if (quickResult !== void 0) { - return quickResult; - } - if (isParameter(node) && parameterIsThisKeyword(node)) { - return grammarErrorOnFirstToken(node, Diagnostics.Neither_decorators_nor_modifiers_may_be_applied_to_this_parameters); - } - const blockScopeKind = isVariableStatement(node) ? node.declarationList.flags & 7 /* BlockScoped */ : 0 /* None */; - let lastStatic, lastDeclare, lastAsync, lastOverride, firstDecorator; - let flags = 0 /* None */; - let sawExportBeforeDecorators = false; - let hasLeadingDecorators = false; - for (const modifier of node.modifiers) { - if (isDecorator(modifier)) { - if (!nodeCanBeDecorated(legacyDecorators, node, node.parent, node.parent.parent)) { - if (node.kind === 174 /* MethodDeclaration */ && !nodeIsPresent(node.body)) { - return grammarErrorOnFirstToken(node, Diagnostics.A_decorator_can_only_decorate_a_method_implementation_not_an_overload); - } else { - return grammarErrorOnFirstToken(node, Diagnostics.Decorators_are_not_valid_here); - } - } else if (legacyDecorators && (node.kind === 177 /* GetAccessor */ || node.kind === 178 /* SetAccessor */)) { - const accessors = getAllAccessorDeclarationsForDeclaration(node); - if (hasDecorators(accessors.firstAccessor) && node === accessors.secondAccessor) { - return grammarErrorOnFirstToken(node, Diagnostics.Decorators_cannot_be_applied_to_multiple_get_Slashset_accessors_of_the_same_name); - } - } - if (flags & ~(2080 /* ExportDefault */ | 32768 /* Decorator */)) { - return grammarErrorOnNode(modifier, Diagnostics.Decorators_are_not_valid_here); - } - if (hasLeadingDecorators && flags & 98303 /* Modifier */) { - Debug.assertIsDefined(firstDecorator); - const sourceFile = getSourceFileOfNode(modifier); - if (!hasParseDiagnostics(sourceFile)) { - addRelatedInfo( - error(modifier, Diagnostics.Decorators_may_not_appear_after_export_or_export_default_if_they_also_appear_before_export), - createDiagnosticForNode(firstDecorator, Diagnostics.Decorator_used_before_export_here) - ); - return true; - } - return false; - } - flags |= 32768 /* Decorator */; - if (!(flags & 98303 /* Modifier */)) { - hasLeadingDecorators = true; - } else if (flags & 32 /* Export */) { - sawExportBeforeDecorators = true; - } - firstDecorator ?? (firstDecorator = modifier); - } else { - if (modifier.kind !== 148 /* ReadonlyKeyword */) { - if (node.kind === 171 /* PropertySignature */ || node.kind === 173 /* MethodSignature */) { - return grammarErrorOnNode(modifier, Diagnostics._0_modifier_cannot_appear_on_a_type_member, tokenToString(modifier.kind)); - } - if (node.kind === 181 /* IndexSignature */ && (modifier.kind !== 126 /* StaticKeyword */ || !isClassLike(node.parent))) { - return grammarErrorOnNode(modifier, Diagnostics._0_modifier_cannot_appear_on_an_index_signature, tokenToString(modifier.kind)); - } - } - if (modifier.kind !== 103 /* InKeyword */ && modifier.kind !== 147 /* OutKeyword */ && modifier.kind !== 87 /* ConstKeyword */) { - if (node.kind === 168 /* TypeParameter */) { - return grammarErrorOnNode(modifier, Diagnostics._0_modifier_cannot_appear_on_a_type_parameter, tokenToString(modifier.kind)); - } - } - switch (modifier.kind) { - case 87 /* ConstKeyword */: { - if (node.kind !== 266 /* EnumDeclaration */ && node.kind !== 168 /* TypeParameter */) { - return grammarErrorOnNode(node, Diagnostics.A_class_member_cannot_have_the_0_keyword, tokenToString(87 /* ConstKeyword */)); - } - const parent = isJSDocTemplateTag(node.parent) && getEffectiveJSDocHost(node.parent) || node.parent; - if (node.kind === 168 /* TypeParameter */ && !(isFunctionLikeDeclaration(parent) || isClassLike(parent) || isFunctionTypeNode(parent) || isConstructorTypeNode(parent) || isCallSignatureDeclaration(parent) || isConstructSignatureDeclaration(parent) || isMethodSignature(parent))) { - return grammarErrorOnNode(modifier, Diagnostics._0_modifier_can_only_appear_on_a_type_parameter_of_a_function_method_or_class, tokenToString(modifier.kind)); - } - break; - } - case 164 /* OverrideKeyword */: - if (flags & 16 /* Override */) { - return grammarErrorOnNode(modifier, Diagnostics._0_modifier_already_seen, "override"); - } else if (flags & 128 /* Ambient */) { - return grammarErrorOnNode(modifier, Diagnostics._0_modifier_cannot_be_used_with_1_modifier, "override", "declare"); - } else if (flags & 8 /* Readonly */) { - return grammarErrorOnNode(modifier, Diagnostics._0_modifier_must_precede_1_modifier, "override", "readonly"); - } else if (flags & 512 /* Accessor */) { - return grammarErrorOnNode(modifier, Diagnostics._0_modifier_must_precede_1_modifier, "override", "accessor"); - } else if (flags & 1024 /* Async */) { - return grammarErrorOnNode(modifier, Diagnostics._0_modifier_must_precede_1_modifier, "override", "async"); - } - flags |= 16 /* Override */; - lastOverride = modifier; - break; - case 125 /* PublicKeyword */: - case 124 /* ProtectedKeyword */: - case 123 /* PrivateKeyword */: - const text = visibilityToString(modifierToFlag(modifier.kind)); - if (flags & 7 /* AccessibilityModifier */) { - return grammarErrorOnNode(modifier, Diagnostics.Accessibility_modifier_already_seen); - } else if (flags & 16 /* Override */) { - return grammarErrorOnNode(modifier, Diagnostics._0_modifier_must_precede_1_modifier, text, "override"); - } else if (flags & 256 /* Static */) { - return grammarErrorOnNode(modifier, Diagnostics._0_modifier_must_precede_1_modifier, text, "static"); - } else if (flags & 512 /* Accessor */) { - return grammarErrorOnNode(modifier, Diagnostics._0_modifier_must_precede_1_modifier, text, "accessor"); - } else if (flags & 8 /* Readonly */) { - return grammarErrorOnNode(modifier, Diagnostics._0_modifier_must_precede_1_modifier, text, "readonly"); - } else if (flags & 1024 /* Async */) { - return grammarErrorOnNode(modifier, Diagnostics._0_modifier_must_precede_1_modifier, text, "async"); - } else if (node.parent.kind === 268 /* ModuleBlock */ || node.parent.kind === 307 /* SourceFile */) { - return grammarErrorOnNode(modifier, Diagnostics._0_modifier_cannot_appear_on_a_module_or_namespace_element, text); - } else if (flags & 64 /* Abstract */) { - if (modifier.kind === 123 /* PrivateKeyword */) { - return grammarErrorOnNode(modifier, Diagnostics._0_modifier_cannot_be_used_with_1_modifier, text, "abstract"); - } else { - return grammarErrorOnNode(modifier, Diagnostics._0_modifier_must_precede_1_modifier, text, "abstract"); - } - } else if (isPrivateIdentifierClassElementDeclaration(node)) { - return grammarErrorOnNode(modifier, Diagnostics.An_accessibility_modifier_cannot_be_used_with_a_private_identifier); - } - flags |= modifierToFlag(modifier.kind); - break; - case 126 /* StaticKeyword */: - if (flags & 256 /* Static */) { - return grammarErrorOnNode(modifier, Diagnostics._0_modifier_already_seen, "static"); - } else if (flags & 8 /* Readonly */) { - return grammarErrorOnNode(modifier, Diagnostics._0_modifier_must_precede_1_modifier, "static", "readonly"); - } else if (flags & 1024 /* Async */) { - return grammarErrorOnNode(modifier, Diagnostics._0_modifier_must_precede_1_modifier, "static", "async"); - } else if (flags & 512 /* Accessor */) { - return grammarErrorOnNode(modifier, Diagnostics._0_modifier_must_precede_1_modifier, "static", "accessor"); - } else if (node.parent.kind === 268 /* ModuleBlock */ || node.parent.kind === 307 /* SourceFile */) { - return grammarErrorOnNode(modifier, Diagnostics._0_modifier_cannot_appear_on_a_module_or_namespace_element, "static"); - } else if (node.kind === 169 /* Parameter */) { - return grammarErrorOnNode(modifier, Diagnostics._0_modifier_cannot_appear_on_a_parameter, "static"); - } else if (flags & 64 /* Abstract */) { - return grammarErrorOnNode(modifier, Diagnostics._0_modifier_cannot_be_used_with_1_modifier, "static", "abstract"); - } else if (flags & 16 /* Override */) { - return grammarErrorOnNode(modifier, Diagnostics._0_modifier_must_precede_1_modifier, "static", "override"); - } - flags |= 256 /* Static */; - lastStatic = modifier; - break; - case 129 /* AccessorKeyword */: - if (flags & 512 /* Accessor */) { - return grammarErrorOnNode(modifier, Diagnostics._0_modifier_already_seen, "accessor"); - } else if (flags & 8 /* Readonly */) { - return grammarErrorOnNode(modifier, Diagnostics._0_modifier_cannot_be_used_with_1_modifier, "accessor", "readonly"); - } else if (flags & 128 /* Ambient */) { - return grammarErrorOnNode(modifier, Diagnostics._0_modifier_cannot_be_used_with_1_modifier, "accessor", "declare"); - } else if (node.kind !== 172 /* PropertyDeclaration */) { - return grammarErrorOnNode(modifier, Diagnostics.accessor_modifier_can_only_appear_on_a_property_declaration); - } - flags |= 512 /* Accessor */; - break; - case 148 /* ReadonlyKeyword */: - if (flags & 8 /* Readonly */) { - return grammarErrorOnNode(modifier, Diagnostics._0_modifier_already_seen, "readonly"); - } else if (node.kind !== 172 /* PropertyDeclaration */ && node.kind !== 171 /* PropertySignature */ && node.kind !== 181 /* IndexSignature */ && node.kind !== 169 /* Parameter */) { - return grammarErrorOnNode(modifier, Diagnostics.readonly_modifier_can_only_appear_on_a_property_declaration_or_index_signature); - } else if (flags & 512 /* Accessor */) { - return grammarErrorOnNode(modifier, Diagnostics._0_modifier_cannot_be_used_with_1_modifier, "readonly", "accessor"); - } - flags |= 8 /* Readonly */; - break; - case 95 /* ExportKeyword */: - if (compilerOptions.verbatimModuleSyntax && !(node.flags & 33554432 /* Ambient */) && node.kind !== 265 /* TypeAliasDeclaration */ && node.kind !== 264 /* InterfaceDeclaration */ && // ModuleDeclaration needs to be checked that it is uninstantiated later - node.kind !== 267 /* ModuleDeclaration */ && node.parent.kind === 307 /* SourceFile */ && host.getEmitModuleFormatOfFile(getSourceFileOfNode(node)) === 1 /* CommonJS */) { - return grammarErrorOnNode(modifier, Diagnostics.A_top_level_export_modifier_cannot_be_used_on_value_declarations_in_a_CommonJS_module_when_verbatimModuleSyntax_is_enabled); - } - if (flags & 32 /* Export */) { - return grammarErrorOnNode(modifier, Diagnostics._0_modifier_already_seen, "export"); - } else if (flags & 128 /* Ambient */) { - return grammarErrorOnNode(modifier, Diagnostics._0_modifier_must_precede_1_modifier, "export", "declare"); - } else if (flags & 64 /* Abstract */) { - return grammarErrorOnNode(modifier, Diagnostics._0_modifier_must_precede_1_modifier, "export", "abstract"); - } else if (flags & 1024 /* Async */) { - return grammarErrorOnNode(modifier, Diagnostics._0_modifier_must_precede_1_modifier, "export", "async"); - } else if (isClassLike(node.parent)) { - return grammarErrorOnNode(modifier, Diagnostics._0_modifier_cannot_appear_on_class_elements_of_this_kind, "export"); - } else if (node.kind === 169 /* Parameter */) { - return grammarErrorOnNode(modifier, Diagnostics._0_modifier_cannot_appear_on_a_parameter, "export"); - } else if (blockScopeKind === 4 /* Using */) { - return grammarErrorOnNode(modifier, Diagnostics._0_modifier_cannot_appear_on_a_using_declaration, "export"); - } else if (blockScopeKind === 6 /* AwaitUsing */) { - return grammarErrorOnNode(modifier, Diagnostics._0_modifier_cannot_appear_on_an_await_using_declaration, "export"); - } - flags |= 32 /* Export */; - break; - case 90 /* DefaultKeyword */: - const container = node.parent.kind === 307 /* SourceFile */ ? node.parent : node.parent.parent; - if (container.kind === 267 /* ModuleDeclaration */ && !isAmbientModule(container)) { - return grammarErrorOnNode(modifier, Diagnostics.A_default_export_can_only_be_used_in_an_ECMAScript_style_module); - } else if (blockScopeKind === 4 /* Using */) { - return grammarErrorOnNode(modifier, Diagnostics._0_modifier_cannot_appear_on_a_using_declaration, "default"); - } else if (blockScopeKind === 6 /* AwaitUsing */) { - return grammarErrorOnNode(modifier, Diagnostics._0_modifier_cannot_appear_on_an_await_using_declaration, "default"); - } else if (!(flags & 32 /* Export */)) { - return grammarErrorOnNode(modifier, Diagnostics._0_modifier_must_precede_1_modifier, "export", "default"); - } else if (sawExportBeforeDecorators) { - return grammarErrorOnNode(firstDecorator, Diagnostics.Decorators_are_not_valid_here); - } - flags |= 2048 /* Default */; - break; - case 138 /* DeclareKeyword */: - if (flags & 128 /* Ambient */) { - return grammarErrorOnNode(modifier, Diagnostics._0_modifier_already_seen, "declare"); - } else if (flags & 1024 /* Async */) { - return grammarErrorOnNode(modifier, Diagnostics._0_modifier_cannot_be_used_in_an_ambient_context, "async"); - } else if (flags & 16 /* Override */) { - return grammarErrorOnNode(modifier, Diagnostics._0_modifier_cannot_be_used_in_an_ambient_context, "override"); - } else if (isClassLike(node.parent) && !isPropertyDeclaration(node)) { - return grammarErrorOnNode(modifier, Diagnostics._0_modifier_cannot_appear_on_class_elements_of_this_kind, "declare"); - } else if (node.kind === 169 /* Parameter */) { - return grammarErrorOnNode(modifier, Diagnostics._0_modifier_cannot_appear_on_a_parameter, "declare"); - } else if (blockScopeKind === 4 /* Using */) { - return grammarErrorOnNode(modifier, Diagnostics._0_modifier_cannot_appear_on_a_using_declaration, "declare"); - } else if (blockScopeKind === 6 /* AwaitUsing */) { - return grammarErrorOnNode(modifier, Diagnostics._0_modifier_cannot_appear_on_an_await_using_declaration, "declare"); - } else if (node.parent.flags & 33554432 /* Ambient */ && node.parent.kind === 268 /* ModuleBlock */) { - return grammarErrorOnNode(modifier, Diagnostics.A_declare_modifier_cannot_be_used_in_an_already_ambient_context); - } else if (isPrivateIdentifierClassElementDeclaration(node)) { - return grammarErrorOnNode(modifier, Diagnostics._0_modifier_cannot_be_used_with_a_private_identifier, "declare"); - } else if (flags & 512 /* Accessor */) { - return grammarErrorOnNode(modifier, Diagnostics._0_modifier_cannot_be_used_with_1_modifier, "declare", "accessor"); - } - flags |= 128 /* Ambient */; - lastDeclare = modifier; - break; - case 128 /* AbstractKeyword */: - if (flags & 64 /* Abstract */) { - return grammarErrorOnNode(modifier, Diagnostics._0_modifier_already_seen, "abstract"); - } - if (node.kind !== 263 /* ClassDeclaration */ && node.kind !== 185 /* ConstructorType */) { - if (node.kind !== 174 /* MethodDeclaration */ && node.kind !== 172 /* PropertyDeclaration */ && node.kind !== 177 /* GetAccessor */ && node.kind !== 178 /* SetAccessor */) { - return grammarErrorOnNode(modifier, Diagnostics.abstract_modifier_can_only_appear_on_a_class_method_or_property_declaration); - } - if (!(node.parent.kind === 263 /* ClassDeclaration */ && hasSyntacticModifier(node.parent, 64 /* Abstract */))) { - const message = node.kind === 172 /* PropertyDeclaration */ ? Diagnostics.Abstract_properties_can_only_appear_within_an_abstract_class : Diagnostics.Abstract_methods_can_only_appear_within_an_abstract_class; - return grammarErrorOnNode(modifier, message); - } - if (flags & 256 /* Static */) { - return grammarErrorOnNode(modifier, Diagnostics._0_modifier_cannot_be_used_with_1_modifier, "static", "abstract"); - } - if (flags & 2 /* Private */) { - return grammarErrorOnNode(modifier, Diagnostics._0_modifier_cannot_be_used_with_1_modifier, "private", "abstract"); - } - if (flags & 1024 /* Async */ && lastAsync) { - return grammarErrorOnNode(lastAsync, Diagnostics._0_modifier_cannot_be_used_with_1_modifier, "async", "abstract"); - } - if (flags & 16 /* Override */) { - return grammarErrorOnNode(modifier, Diagnostics._0_modifier_must_precede_1_modifier, "abstract", "override"); - } - if (flags & 512 /* Accessor */) { - return grammarErrorOnNode(modifier, Diagnostics._0_modifier_must_precede_1_modifier, "abstract", "accessor"); - } - } - if (isNamedDeclaration(node) && node.name.kind === 81 /* PrivateIdentifier */) { - return grammarErrorOnNode(modifier, Diagnostics._0_modifier_cannot_be_used_with_a_private_identifier, "abstract"); - } - flags |= 64 /* Abstract */; - break; - case 134 /* AsyncKeyword */: - if (flags & 1024 /* Async */) { - return grammarErrorOnNode(modifier, Diagnostics._0_modifier_already_seen, "async"); - } else if (flags & 128 /* Ambient */ || node.parent.flags & 33554432 /* Ambient */) { - return grammarErrorOnNode(modifier, Diagnostics._0_modifier_cannot_be_used_in_an_ambient_context, "async"); - } else if (node.kind === 169 /* Parameter */) { - return grammarErrorOnNode(modifier, Diagnostics._0_modifier_cannot_appear_on_a_parameter, "async"); - } - if (flags & 64 /* Abstract */) { - return grammarErrorOnNode(modifier, Diagnostics._0_modifier_cannot_be_used_with_1_modifier, "async", "abstract"); - } - flags |= 1024 /* Async */; - lastAsync = modifier; - break; - case 103 /* InKeyword */: - case 147 /* OutKeyword */: { - const inOutFlag = modifier.kind === 103 /* InKeyword */ ? 8192 /* In */ : 16384 /* Out */; - const inOutText = modifier.kind === 103 /* InKeyword */ ? "in" : "out"; - const parent = isJSDocTemplateTag(node.parent) && (getEffectiveJSDocHost(node.parent) || find((_a = getJSDocRoot(node.parent)) == null ? void 0 : _a.tags, isJSDocTypedefTag)) || node.parent; - if (node.kind !== 168 /* TypeParameter */ || parent && !(isInterfaceDeclaration(parent) || isClassLike(parent) || isTypeAliasDeclaration(parent) || isJSDocTypedefTag(parent))) { - return grammarErrorOnNode(modifier, Diagnostics._0_modifier_can_only_appear_on_a_type_parameter_of_a_class_interface_or_type_alias, inOutText); - } - if (flags & inOutFlag) { - return grammarErrorOnNode(modifier, Diagnostics._0_modifier_already_seen, inOutText); - } - if (inOutFlag & 8192 /* In */ && flags & 16384 /* Out */) { - return grammarErrorOnNode(modifier, Diagnostics._0_modifier_must_precede_1_modifier, "in", "out"); - } - flags |= inOutFlag; - break; - } - } - } - } - if (node.kind === 176 /* Constructor */) { - if (flags & 256 /* Static */) { - return grammarErrorOnNode(lastStatic, Diagnostics._0_modifier_cannot_appear_on_a_constructor_declaration, "static"); - } - if (flags & 16 /* Override */) { - return grammarErrorOnNode(lastOverride, Diagnostics._0_modifier_cannot_appear_on_a_constructor_declaration, "override"); - } - if (flags & 1024 /* Async */) { - return grammarErrorOnNode(lastAsync, Diagnostics._0_modifier_cannot_appear_on_a_constructor_declaration, "async"); - } - return false; - } else if ((node.kind === 272 /* ImportDeclaration */ || node.kind === 271 /* ImportEqualsDeclaration */) && flags & 128 /* Ambient */) { - return grammarErrorOnNode(lastDeclare, Diagnostics.A_0_modifier_cannot_be_used_with_an_import_declaration, "declare"); - } else if (node.kind === 169 /* Parameter */ && flags & 31 /* ParameterPropertyModifier */ && isBindingPattern(node.name)) { - return grammarErrorOnNode(node, Diagnostics.A_parameter_property_may_not_be_declared_using_a_binding_pattern); - } else if (node.kind === 169 /* Parameter */ && flags & 31 /* ParameterPropertyModifier */ && node.dotDotDotToken) { - return grammarErrorOnNode(node, Diagnostics.A_parameter_property_cannot_be_declared_using_a_rest_parameter); - } - if (flags & 1024 /* Async */) { - return checkGrammarAsyncModifier(node, lastAsync); - } - return false; - } - function reportObviousModifierErrors(node) { - if (!node.modifiers) return false; - const modifier = findFirstIllegalModifier(node); - return modifier && grammarErrorOnFirstToken(modifier, Diagnostics.Modifiers_cannot_appear_here); - } - function findFirstModifierExcept(node, allowedModifier) { - const modifier = find(node.modifiers, isModifier); - return modifier && modifier.kind !== allowedModifier ? modifier : void 0; - } - function findFirstIllegalModifier(node) { - switch (node.kind) { - case 177 /* GetAccessor */: - case 178 /* SetAccessor */: - case 176 /* Constructor */: - case 172 /* PropertyDeclaration */: - case 171 /* PropertySignature */: - case 174 /* MethodDeclaration */: - case 173 /* MethodSignature */: - case 181 /* IndexSignature */: - case 267 /* ModuleDeclaration */: - case 272 /* ImportDeclaration */: - case 271 /* ImportEqualsDeclaration */: - case 278 /* ExportDeclaration */: - case 277 /* ExportAssignment */: - case 218 /* FunctionExpression */: - case 219 /* ArrowFunction */: - case 169 /* Parameter */: - case 168 /* TypeParameter */: - return void 0; - case 175 /* ClassStaticBlockDeclaration */: - case 303 /* PropertyAssignment */: - case 304 /* ShorthandPropertyAssignment */: - case 270 /* NamespaceExportDeclaration */: - case 282 /* MissingDeclaration */: - return find(node.modifiers, isModifier); - default: - if (node.parent.kind === 268 /* ModuleBlock */ || node.parent.kind === 307 /* SourceFile */) { - return void 0; - } - switch (node.kind) { - case 262 /* FunctionDeclaration */: - return findFirstModifierExcept(node, 134 /* AsyncKeyword */); - case 263 /* ClassDeclaration */: - case 185 /* ConstructorType */: - return findFirstModifierExcept(node, 128 /* AbstractKeyword */); - case 231 /* ClassExpression */: - case 264 /* InterfaceDeclaration */: - case 265 /* TypeAliasDeclaration */: - return find(node.modifiers, isModifier); - case 243 /* VariableStatement */: - return node.declarationList.flags & 4 /* Using */ ? findFirstModifierExcept(node, 135 /* AwaitKeyword */) : find(node.modifiers, isModifier); - case 266 /* EnumDeclaration */: - return findFirstModifierExcept(node, 87 /* ConstKeyword */); - default: - Debug.assertNever(node); - } - } - } - function reportObviousDecoratorErrors(node) { - const decorator = findFirstIllegalDecorator(node); - return decorator && grammarErrorOnFirstToken(decorator, Diagnostics.Decorators_are_not_valid_here); - } - function findFirstIllegalDecorator(node) { - return canHaveIllegalDecorators(node) ? find(node.modifiers, isDecorator) : void 0; - } - function checkGrammarAsyncModifier(node, asyncModifier) { - switch (node.kind) { - case 174 /* MethodDeclaration */: - case 262 /* FunctionDeclaration */: - case 218 /* FunctionExpression */: - case 219 /* ArrowFunction */: - return false; - } - return grammarErrorOnNode(asyncModifier, Diagnostics._0_modifier_cannot_be_used_here, "async"); - } - function checkGrammarForDisallowedTrailingComma(list, diag2 = Diagnostics.Trailing_comma_not_allowed) { - if (list && list.hasTrailingComma) { - return grammarErrorAtPos(list[0], list.end - ",".length, ",".length, diag2); - } - return false; - } - function checkGrammarTypeParameterList(typeParameters, file) { - if (typeParameters && typeParameters.length === 0) { - const start = typeParameters.pos - "<".length; - const end = skipTrivia(file.text, typeParameters.end) + ">".length; - return grammarErrorAtPos(file, start, end - start, Diagnostics.Type_parameter_list_cannot_be_empty); - } - return false; - } - function checkGrammarParameterList(parameters) { - let seenOptionalParameter = false; - const parameterCount = parameters.length; - for (let i = 0; i < parameterCount; i++) { - const parameter = parameters[i]; - if (parameter.dotDotDotToken) { - if (i !== parameterCount - 1) { - return grammarErrorOnNode(parameter.dotDotDotToken, Diagnostics.A_rest_parameter_must_be_last_in_a_parameter_list); - } - if (!(parameter.flags & 33554432 /* Ambient */)) { - checkGrammarForDisallowedTrailingComma(parameters, Diagnostics.A_rest_parameter_or_binding_pattern_may_not_have_a_trailing_comma); - } - if (parameter.questionToken) { - return grammarErrorOnNode(parameter.questionToken, Diagnostics.A_rest_parameter_cannot_be_optional); - } - if (parameter.initializer) { - return grammarErrorOnNode(parameter.name, Diagnostics.A_rest_parameter_cannot_have_an_initializer); - } - } else if (hasEffectiveQuestionToken(parameter)) { - seenOptionalParameter = true; - if (parameter.questionToken && parameter.initializer) { - return grammarErrorOnNode(parameter.name, Diagnostics.Parameter_cannot_have_question_mark_and_initializer); - } - } else if (seenOptionalParameter && !parameter.initializer) { - return grammarErrorOnNode(parameter.name, Diagnostics.A_required_parameter_cannot_follow_an_optional_parameter); - } - } - } - function getNonSimpleParameters(parameters) { - return filter(parameters, (parameter) => !!parameter.initializer || isBindingPattern(parameter.name) || isRestParameter(parameter)); - } - function checkGrammarForUseStrictSimpleParameterList(node) { - if (languageVersion >= 3 /* ES2016 */) { - const useStrictDirective = node.body && isBlock(node.body) && findUseStrictPrologue(node.body.statements); - if (useStrictDirective) { - const nonSimpleParameters = getNonSimpleParameters(node.parameters); - if (length(nonSimpleParameters)) { - forEach(nonSimpleParameters, (parameter) => { - addRelatedInfo( - error(parameter, Diagnostics.This_parameter_is_not_allowed_with_use_strict_directive), - createDiagnosticForNode(useStrictDirective, Diagnostics.use_strict_directive_used_here) - ); - }); - const diagnostics2 = nonSimpleParameters.map((parameter, index) => index === 0 ? createDiagnosticForNode(parameter, Diagnostics.Non_simple_parameter_declared_here) : createDiagnosticForNode(parameter, Diagnostics.and_here)); - addRelatedInfo(error(useStrictDirective, Diagnostics.use_strict_directive_cannot_be_used_with_non_simple_parameter_list), ...diagnostics2); - return true; - } - } - } - return false; - } - function checkGrammarFunctionLikeDeclaration(node) { - const file = getSourceFileOfNode(node); - return checkGrammarModifiers(node) || checkGrammarTypeParameterList(node.typeParameters, file) || checkGrammarParameterList(node.parameters) || checkGrammarArrowFunction(node, file) || isFunctionLikeDeclaration(node) && checkGrammarForUseStrictSimpleParameterList(node); - } - function checkGrammarClassLikeDeclaration(node) { - const file = getSourceFileOfNode(node); - return checkGrammarClassDeclarationHeritageClauses(node) || checkGrammarTypeParameterList(node.typeParameters, file); - } - function checkGrammarArrowFunction(node, file) { - if (!isArrowFunction(node)) { - return false; - } - if (node.typeParameters && !(length(node.typeParameters) > 1 || node.typeParameters.hasTrailingComma || node.typeParameters[0].constraint)) { - if (file && fileExtensionIsOneOf(file.fileName, [".mts" /* Mts */, ".cts" /* Cts */])) { - grammarErrorOnNode(node.typeParameters[0], Diagnostics.This_syntax_is_reserved_in_files_with_the_mts_or_cts_extension_Add_a_trailing_comma_or_explicit_constraint); - } - } - const { equalsGreaterThanToken } = node; - const startLine = getLineAndCharacterOfPosition(file, equalsGreaterThanToken.pos).line; - const endLine = getLineAndCharacterOfPosition(file, equalsGreaterThanToken.end).line; - return startLine !== endLine && grammarErrorOnNode(equalsGreaterThanToken, Diagnostics.Line_terminator_not_permitted_before_arrow); - } - function checkGrammarIndexSignatureParameters(node) { - const parameter = node.parameters[0]; - if (node.parameters.length !== 1) { - if (parameter) { - return grammarErrorOnNode(parameter.name, Diagnostics.An_index_signature_must_have_exactly_one_parameter); - } else { - return grammarErrorOnNode(node, Diagnostics.An_index_signature_must_have_exactly_one_parameter); - } - } - checkGrammarForDisallowedTrailingComma(node.parameters, Diagnostics.An_index_signature_cannot_have_a_trailing_comma); - if (parameter.dotDotDotToken) { - return grammarErrorOnNode(parameter.dotDotDotToken, Diagnostics.An_index_signature_cannot_have_a_rest_parameter); - } - if (hasEffectiveModifiers(parameter)) { - return grammarErrorOnNode(parameter.name, Diagnostics.An_index_signature_parameter_cannot_have_an_accessibility_modifier); - } - if (parameter.questionToken) { - return grammarErrorOnNode(parameter.questionToken, Diagnostics.An_index_signature_parameter_cannot_have_a_question_mark); - } - if (parameter.initializer) { - return grammarErrorOnNode(parameter.name, Diagnostics.An_index_signature_parameter_cannot_have_an_initializer); - } - if (!parameter.type) { - return grammarErrorOnNode(parameter.name, Diagnostics.An_index_signature_parameter_must_have_a_type_annotation); - } - const type = getTypeFromTypeNode(parameter.type); - if (someType(type, (t) => !!(t.flags & 8576 /* StringOrNumberLiteralOrUnique */)) || isGenericType(type)) { - return grammarErrorOnNode(parameter.name, Diagnostics.An_index_signature_parameter_type_cannot_be_a_literal_type_or_generic_type_Consider_using_a_mapped_object_type_instead); - } - if (!everyType(type, isValidIndexKeyType)) { - return grammarErrorOnNode(parameter.name, Diagnostics.An_index_signature_parameter_type_must_be_string_number_symbol_or_a_template_literal_type); - } - if (!node.type) { - return grammarErrorOnNode(node, Diagnostics.An_index_signature_must_have_a_type_annotation); - } - return false; - } - function checkGrammarIndexSignature(node) { - return checkGrammarModifiers(node) || checkGrammarIndexSignatureParameters(node); - } - function checkGrammarForAtLeastOneTypeArgument(node, typeArguments) { - if (typeArguments && typeArguments.length === 0) { - const sourceFile = getSourceFileOfNode(node); - const start = typeArguments.pos - "<".length; - const end = skipTrivia(sourceFile.text, typeArguments.end) + ">".length; - return grammarErrorAtPos(sourceFile, start, end - start, Diagnostics.Type_argument_list_cannot_be_empty); - } - return false; - } - function checkGrammarTypeArguments(node, typeArguments) { - return checkGrammarForDisallowedTrailingComma(typeArguments) || checkGrammarForAtLeastOneTypeArgument(node, typeArguments); - } - function checkGrammarTaggedTemplateChain(node) { - if (node.questionDotToken || node.flags & 64 /* OptionalChain */) { - return grammarErrorOnNode(node.template, Diagnostics.Tagged_template_expressions_are_not_permitted_in_an_optional_chain); - } - return false; - } - function checkGrammarHeritageClause(node) { - const types = node.types; - if (checkGrammarForDisallowedTrailingComma(types)) { - return true; - } - if (types && types.length === 0) { - const listType = tokenToString(node.token); - return grammarErrorAtPos(node, types.pos, 0, Diagnostics._0_list_cannot_be_empty, listType); - } - return some(types, checkGrammarExpressionWithTypeArguments); - } - function checkGrammarExpressionWithTypeArguments(node) { - if (isExpressionWithTypeArguments(node) && isImportKeyword(node.expression) && node.typeArguments) { - return grammarErrorOnNode(node, Diagnostics.This_use_of_import_is_invalid_import_calls_can_be_written_but_they_must_have_parentheses_and_cannot_have_type_arguments); - } - return checkGrammarTypeArguments(node, node.typeArguments); - } - function checkGrammarClassDeclarationHeritageClauses(node) { - let seenExtendsClause = false; - let seenImplementsClause = false; - if (!checkGrammarModifiers(node) && node.heritageClauses) { - for (const heritageClause of node.heritageClauses) { - if (heritageClause.token === 96 /* ExtendsKeyword */) { - if (seenExtendsClause) { - return grammarErrorOnFirstToken(heritageClause, Diagnostics.extends_clause_already_seen); - } - if (seenImplementsClause) { - return grammarErrorOnFirstToken(heritageClause, Diagnostics.extends_clause_must_precede_implements_clause); - } - if (heritageClause.types.length > 1) { - return grammarErrorOnFirstToken(heritageClause.types[1], Diagnostics.Classes_can_only_extend_a_single_class); - } - seenExtendsClause = true; - } else { - Debug.assert(heritageClause.token === 119 /* ImplementsKeyword */); - if (seenImplementsClause) { - return grammarErrorOnFirstToken(heritageClause, Diagnostics.implements_clause_already_seen); - } - seenImplementsClause = true; - } - checkGrammarHeritageClause(heritageClause); - } - } - } - function checkGrammarInterfaceDeclaration(node) { - let seenExtendsClause = false; - if (node.heritageClauses) { - for (const heritageClause of node.heritageClauses) { - if (heritageClause.token === 96 /* ExtendsKeyword */) { - if (seenExtendsClause) { - return grammarErrorOnFirstToken(heritageClause, Diagnostics.extends_clause_already_seen); - } - seenExtendsClause = true; - } else { - Debug.assert(heritageClause.token === 119 /* ImplementsKeyword */); - return grammarErrorOnFirstToken(heritageClause, Diagnostics.Interface_declaration_cannot_have_implements_clause); - } - checkGrammarHeritageClause(heritageClause); - } - } - return false; - } - function checkGrammarComputedPropertyName(node) { - if (node.kind !== 167 /* ComputedPropertyName */) { - return false; - } - const computedPropertyName = node; - if (computedPropertyName.expression.kind === 226 /* BinaryExpression */ && computedPropertyName.expression.operatorToken.kind === 28 /* CommaToken */) { - return grammarErrorOnNode(computedPropertyName.expression, Diagnostics.A_comma_expression_is_not_allowed_in_a_computed_property_name); - } - return false; - } - function checkGrammarForGenerator(node) { - if (node.asteriskToken) { - Debug.assert( - node.kind === 262 /* FunctionDeclaration */ || node.kind === 218 /* FunctionExpression */ || node.kind === 174 /* MethodDeclaration */ - ); - if (node.flags & 33554432 /* Ambient */) { - return grammarErrorOnNode(node.asteriskToken, Diagnostics.Generators_are_not_allowed_in_an_ambient_context); - } - if (!node.body) { - return grammarErrorOnNode(node.asteriskToken, Diagnostics.An_overload_signature_cannot_be_declared_as_a_generator); - } - } - } - function checkGrammarForInvalidQuestionMark(questionToken, message) { - return !!questionToken && grammarErrorOnNode(questionToken, message); - } - function checkGrammarForInvalidExclamationToken(exclamationToken, message) { - return !!exclamationToken && grammarErrorOnNode(exclamationToken, message); - } - function checkGrammarObjectLiteralExpression(node, inDestructuring) { - const seen = /* @__PURE__ */ new Map(); - for (const prop of node.properties) { - if (prop.kind === 305 /* SpreadAssignment */) { - if (inDestructuring) { - const expression = skipParentheses(prop.expression); - if (isArrayLiteralExpression(expression) || isObjectLiteralExpression(expression)) { - return grammarErrorOnNode(prop.expression, Diagnostics.A_rest_element_cannot_contain_a_binding_pattern); - } - } - continue; - } - const name = prop.name; - if (name.kind === 167 /* ComputedPropertyName */) { - checkGrammarComputedPropertyName(name); - } - if (prop.kind === 304 /* ShorthandPropertyAssignment */ && !inDestructuring && prop.objectAssignmentInitializer) { - grammarErrorOnNode(prop.equalsToken, Diagnostics.Did_you_mean_to_use_a_Colon_An_can_only_follow_a_property_name_when_the_containing_object_literal_is_part_of_a_destructuring_pattern); - } - if (name.kind === 81 /* PrivateIdentifier */) { - grammarErrorOnNode(name, Diagnostics.Private_identifiers_are_not_allowed_outside_class_bodies); - } - if (canHaveModifiers(prop) && prop.modifiers) { - for (const mod of prop.modifiers) { - if (isModifier(mod) && (mod.kind !== 134 /* AsyncKeyword */ || prop.kind !== 174 /* MethodDeclaration */)) { - grammarErrorOnNode(mod, Diagnostics._0_modifier_cannot_be_used_here, getTextOfNode(mod)); - } - } - } else if (canHaveIllegalModifiers(prop) && prop.modifiers) { - for (const mod of prop.modifiers) { - if (isModifier(mod)) { - grammarErrorOnNode(mod, Diagnostics._0_modifier_cannot_be_used_here, getTextOfNode(mod)); - } - } - } - let currentKind; - switch (prop.kind) { - case 304 /* ShorthandPropertyAssignment */: - case 303 /* PropertyAssignment */: - checkGrammarForInvalidExclamationToken(prop.exclamationToken, Diagnostics.A_definite_assignment_assertion_is_not_permitted_in_this_context); - checkGrammarForInvalidQuestionMark(prop.questionToken, Diagnostics.An_object_member_cannot_be_declared_optional); - if (name.kind === 9 /* NumericLiteral */) { - checkGrammarNumericLiteral(name); - } - if (name.kind === 10 /* BigIntLiteral */) { - addErrorOrSuggestion( - /*isError*/ - true, - createDiagnosticForNode(name, Diagnostics.A_bigint_literal_cannot_be_used_as_a_property_name) - ); - } - currentKind = 4 /* PropertyAssignment */; - break; - case 174 /* MethodDeclaration */: - currentKind = 8 /* Method */; - break; - case 177 /* GetAccessor */: - currentKind = 1 /* GetAccessor */; - break; - case 178 /* SetAccessor */: - currentKind = 2 /* SetAccessor */; - break; - default: - Debug.assertNever(prop, "Unexpected syntax kind:" + prop.kind); - } - if (!inDestructuring) { - const effectiveName = getEffectivePropertyNameForPropertyNameNode(name); - if (effectiveName === void 0) { - continue; - } - const existingKind = seen.get(effectiveName); - if (!existingKind) { - seen.set(effectiveName, currentKind); - } else { - if (currentKind & 8 /* Method */ && existingKind & 8 /* Method */) { - grammarErrorOnNode(name, Diagnostics.Duplicate_identifier_0, getTextOfNode(name)); - } else if (currentKind & 4 /* PropertyAssignment */ && existingKind & 4 /* PropertyAssignment */) { - grammarErrorOnNode(name, Diagnostics.An_object_literal_cannot_have_multiple_properties_with_the_same_name, getTextOfNode(name)); - } else if (currentKind & 3 /* GetOrSetAccessor */ && existingKind & 3 /* GetOrSetAccessor */) { - if (existingKind !== 3 /* GetOrSetAccessor */ && currentKind !== existingKind) { - seen.set(effectiveName, currentKind | existingKind); - } else { - return grammarErrorOnNode(name, Diagnostics.An_object_literal_cannot_have_multiple_get_Slashset_accessors_with_the_same_name); - } - } else { - return grammarErrorOnNode(name, Diagnostics.An_object_literal_cannot_have_property_and_accessor_with_the_same_name); - } - } - } - } - } - function checkGrammarJsxElement(node) { - checkGrammarJsxName(node.tagName); - checkGrammarTypeArguments(node, node.typeArguments); - const seen = /* @__PURE__ */ new Map(); - for (const attr of node.attributes.properties) { - if (attr.kind === 293 /* JsxSpreadAttribute */) { - continue; - } - const { name, initializer } = attr; - const escapedText = getEscapedTextOfJsxAttributeName(name); - if (!seen.get(escapedText)) { - seen.set(escapedText, true); - } else { - return grammarErrorOnNode(name, Diagnostics.JSX_elements_cannot_have_multiple_attributes_with_the_same_name); - } - if (initializer && initializer.kind === 294 /* JsxExpression */ && !initializer.expression) { - return grammarErrorOnNode(initializer, Diagnostics.JSX_attributes_must_only_be_assigned_a_non_empty_expression); - } - } - } - function checkGrammarJsxName(node) { - if (isPropertyAccessExpression(node) && isJsxNamespacedName(node.expression)) { - return grammarErrorOnNode(node.expression, Diagnostics.JSX_property_access_expressions_cannot_include_JSX_namespace_names); - } - if (isJsxNamespacedName(node) && getJSXTransformEnabled(compilerOptions) && !isIntrinsicJsxName(node.namespace.escapedText)) { - return grammarErrorOnNode(node, Diagnostics.React_components_cannot_include_JSX_namespace_names); - } - } - function checkGrammarJsxExpression(node) { - if (node.expression && isCommaSequence(node.expression)) { - return grammarErrorOnNode(node.expression, Diagnostics.JSX_expressions_may_not_use_the_comma_operator_Did_you_mean_to_write_an_array); - } - } - function checkGrammarForInOrForOfStatement(forInOrOfStatement) { - if (checkGrammarStatementInAmbientContext(forInOrOfStatement)) { - return true; - } - if (forInOrOfStatement.kind === 250 /* ForOfStatement */ && forInOrOfStatement.awaitModifier) { - if (!(forInOrOfStatement.flags & 65536 /* AwaitContext */)) { - const sourceFile = getSourceFileOfNode(forInOrOfStatement); - if (isInTopLevelContext(forInOrOfStatement)) { - if (!hasParseDiagnostics(sourceFile)) { - if (!isEffectiveExternalModule(sourceFile, compilerOptions)) { - diagnostics.add(createDiagnosticForNode(forInOrOfStatement.awaitModifier, 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)); - } - switch (moduleKind) { - case 100 /* Node16 */: - case 199 /* NodeNext */: - if (sourceFile.impliedNodeFormat === 1 /* CommonJS */) { - diagnostics.add( - createDiagnosticForNode(forInOrOfStatement.awaitModifier, Diagnostics.The_current_file_is_a_CommonJS_module_and_cannot_use_await_at_the_top_level) - ); - break; - } - case 7 /* ES2022 */: - case 99 /* ESNext */: - case 200 /* Preserve */: - case 4 /* System */: - if (languageVersion >= 4 /* ES2017 */) { - break; - } - default: - diagnostics.add( - createDiagnosticForNode(forInOrOfStatement.awaitModifier, Diagnostics.Top_level_for_await_loops_are_only_allowed_when_the_module_option_is_set_to_es2022_esnext_system_node16_nodenext_or_preserve_and_the_target_option_is_set_to_es2017_or_higher) - ); - break; - } - } - } else { - if (!hasParseDiagnostics(sourceFile)) { - const diagnostic = createDiagnosticForNode(forInOrOfStatement.awaitModifier, Diagnostics.for_await_loops_are_only_allowed_within_async_functions_and_at_the_top_levels_of_modules); - const func = getContainingFunction(forInOrOfStatement); - if (func && func.kind !== 176 /* Constructor */) { - Debug.assert((getFunctionFlags(func) & 2 /* Async */) === 0, "Enclosing function should never be an async function."); - const relatedInfo = createDiagnosticForNode(func, Diagnostics.Did_you_mean_to_mark_this_function_as_async); - addRelatedInfo(diagnostic, relatedInfo); - } - diagnostics.add(diagnostic); - return true; - } - } - } - } - if (isForOfStatement(forInOrOfStatement) && !(forInOrOfStatement.flags & 65536 /* AwaitContext */) && isIdentifier(forInOrOfStatement.initializer) && forInOrOfStatement.initializer.escapedText === "async") { - grammarErrorOnNode(forInOrOfStatement.initializer, Diagnostics.The_left_hand_side_of_a_for_of_statement_may_not_be_async); - return false; - } - if (forInOrOfStatement.initializer.kind === 261 /* VariableDeclarationList */) { - const variableList = forInOrOfStatement.initializer; - if (!checkGrammarVariableDeclarationList(variableList)) { - const declarations = variableList.declarations; - if (!declarations.length) { - return false; - } - if (declarations.length > 1) { - const diagnostic = forInOrOfStatement.kind === 249 /* ForInStatement */ ? Diagnostics.Only_a_single_variable_declaration_is_allowed_in_a_for_in_statement : Diagnostics.Only_a_single_variable_declaration_is_allowed_in_a_for_of_statement; - return grammarErrorOnFirstToken(variableList.declarations[1], diagnostic); - } - const firstDeclaration = declarations[0]; - if (firstDeclaration.initializer) { - const diagnostic = forInOrOfStatement.kind === 249 /* ForInStatement */ ? Diagnostics.The_variable_declaration_of_a_for_in_statement_cannot_have_an_initializer : Diagnostics.The_variable_declaration_of_a_for_of_statement_cannot_have_an_initializer; - return grammarErrorOnNode(firstDeclaration.name, diagnostic); - } - if (firstDeclaration.type) { - const diagnostic = forInOrOfStatement.kind === 249 /* ForInStatement */ ? Diagnostics.The_left_hand_side_of_a_for_in_statement_cannot_use_a_type_annotation : Diagnostics.The_left_hand_side_of_a_for_of_statement_cannot_use_a_type_annotation; - return grammarErrorOnNode(firstDeclaration, diagnostic); - } - } - } - return false; - } - function checkGrammarAccessor(accessor) { - if (!(accessor.flags & 33554432 /* Ambient */) && accessor.parent.kind !== 187 /* TypeLiteral */ && accessor.parent.kind !== 264 /* InterfaceDeclaration */) { - if (languageVersion < 2 /* ES2015 */ && isPrivateIdentifier(accessor.name)) { - return grammarErrorOnNode(accessor.name, Diagnostics.Private_identifiers_are_only_available_when_targeting_ECMAScript_2015_and_higher); - } - if (accessor.body === void 0 && !hasSyntacticModifier(accessor, 64 /* Abstract */)) { - return grammarErrorAtPos(accessor, accessor.end - 1, ";".length, Diagnostics._0_expected, "{"); - } - } - if (accessor.body) { - if (hasSyntacticModifier(accessor, 64 /* Abstract */)) { - return grammarErrorOnNode(accessor, Diagnostics.An_abstract_accessor_cannot_have_an_implementation); - } - if (accessor.parent.kind === 187 /* TypeLiteral */ || accessor.parent.kind === 264 /* InterfaceDeclaration */) { - return grammarErrorOnNode(accessor.body, Diagnostics.An_implementation_cannot_be_declared_in_ambient_contexts); - } - } - if (accessor.typeParameters) { - return grammarErrorOnNode(accessor.name, Diagnostics.An_accessor_cannot_have_type_parameters); - } - if (!doesAccessorHaveCorrectParameterCount(accessor)) { - return grammarErrorOnNode( - accessor.name, - accessor.kind === 177 /* GetAccessor */ ? Diagnostics.A_get_accessor_cannot_have_parameters : Diagnostics.A_set_accessor_must_have_exactly_one_parameter - ); - } - if (accessor.kind === 178 /* SetAccessor */) { - if (accessor.type) { - return grammarErrorOnNode(accessor.name, Diagnostics.A_set_accessor_cannot_have_a_return_type_annotation); - } - const parameter = Debug.checkDefined(getSetAccessorValueParameter(accessor), "Return value does not match parameter count assertion."); - if (parameter.dotDotDotToken) { - return grammarErrorOnNode(parameter.dotDotDotToken, Diagnostics.A_set_accessor_cannot_have_rest_parameter); - } - if (parameter.questionToken) { - return grammarErrorOnNode(parameter.questionToken, Diagnostics.A_set_accessor_cannot_have_an_optional_parameter); - } - if (parameter.initializer) { - return grammarErrorOnNode(accessor.name, Diagnostics.A_set_accessor_parameter_cannot_have_an_initializer); - } - } - return false; - } - function doesAccessorHaveCorrectParameterCount(accessor) { - return getAccessorThisParameter(accessor) || accessor.parameters.length === (accessor.kind === 177 /* GetAccessor */ ? 0 : 1); - } - function getAccessorThisParameter(accessor) { - if (accessor.parameters.length === (accessor.kind === 177 /* GetAccessor */ ? 1 : 2)) { - return getThisParameter(accessor); - } - } - function checkGrammarTypeOperatorNode(node) { - if (node.operator === 158 /* UniqueKeyword */) { - if (node.type.kind !== 155 /* SymbolKeyword */) { - return grammarErrorOnNode(node.type, Diagnostics._0_expected, tokenToString(155 /* SymbolKeyword */)); - } - let parent = walkUpParenthesizedTypes(node.parent); - if (isInJSFile(parent) && isJSDocTypeExpression(parent)) { - const host2 = getJSDocHost(parent); - if (host2) { - parent = getSingleVariableOfVariableStatement(host2) || host2; - } - } - switch (parent.kind) { - case 260 /* VariableDeclaration */: - const decl = parent; - if (decl.name.kind !== 80 /* Identifier */) { - return grammarErrorOnNode(node, Diagnostics.unique_symbol_types_may_not_be_used_on_a_variable_declaration_with_a_binding_name); - } - if (!isVariableDeclarationInVariableStatement(decl)) { - return grammarErrorOnNode(node, Diagnostics.unique_symbol_types_are_only_allowed_on_variables_in_a_variable_statement); - } - if (!(decl.parent.flags & 2 /* Const */)) { - return grammarErrorOnNode(parent.name, Diagnostics.A_variable_whose_type_is_a_unique_symbol_type_must_be_const); - } - break; - case 172 /* PropertyDeclaration */: - if (!isStatic(parent) || !hasEffectiveReadonlyModifier(parent)) { - return grammarErrorOnNode(parent.name, Diagnostics.A_property_of_a_class_whose_type_is_a_unique_symbol_type_must_be_both_static_and_readonly); - } - break; - case 171 /* PropertySignature */: - if (!hasSyntacticModifier(parent, 8 /* Readonly */)) { - return grammarErrorOnNode(parent.name, Diagnostics.A_property_of_an_interface_or_type_literal_whose_type_is_a_unique_symbol_type_must_be_readonly); - } - break; - default: - return grammarErrorOnNode(node, Diagnostics.unique_symbol_types_are_not_allowed_here); - } - } else if (node.operator === 148 /* ReadonlyKeyword */) { - if (node.type.kind !== 188 /* ArrayType */ && node.type.kind !== 189 /* TupleType */) { - return grammarErrorOnFirstToken(node, Diagnostics.readonly_type_modifier_is_only_permitted_on_array_and_tuple_literal_types, tokenToString(155 /* SymbolKeyword */)); - } - } - } - function checkGrammarForInvalidDynamicName(node, message) { - if (isNonBindableDynamicName(node)) { - return grammarErrorOnNode(node, message); - } - } - function checkGrammarMethod(node) { - if (checkGrammarFunctionLikeDeclaration(node)) { - return true; - } - if (node.kind === 174 /* MethodDeclaration */) { - if (node.parent.kind === 210 /* ObjectLiteralExpression */) { - if (node.modifiers && !(node.modifiers.length === 1 && first(node.modifiers).kind === 134 /* AsyncKeyword */)) { - return grammarErrorOnFirstToken(node, Diagnostics.Modifiers_cannot_appear_here); - } else if (checkGrammarForInvalidQuestionMark(node.questionToken, Diagnostics.An_object_member_cannot_be_declared_optional)) { - return true; - } else if (checkGrammarForInvalidExclamationToken(node.exclamationToken, Diagnostics.A_definite_assignment_assertion_is_not_permitted_in_this_context)) { - return true; - } else if (node.body === void 0) { - return grammarErrorAtPos(node, node.end - 1, ";".length, Diagnostics._0_expected, "{"); - } - } - if (checkGrammarForGenerator(node)) { - return true; - } - } - if (isClassLike(node.parent)) { - if (languageVersion < 2 /* ES2015 */ && isPrivateIdentifier(node.name)) { - return grammarErrorOnNode(node.name, Diagnostics.Private_identifiers_are_only_available_when_targeting_ECMAScript_2015_and_higher); - } - if (node.flags & 33554432 /* Ambient */) { - return checkGrammarForInvalidDynamicName(node.name, Diagnostics.A_computed_property_name_in_an_ambient_context_must_refer_to_an_expression_whose_type_is_a_literal_type_or_a_unique_symbol_type); - } else if (node.kind === 174 /* MethodDeclaration */ && !node.body) { - return checkGrammarForInvalidDynamicName(node.name, Diagnostics.A_computed_property_name_in_a_method_overload_must_refer_to_an_expression_whose_type_is_a_literal_type_or_a_unique_symbol_type); - } - } else if (node.parent.kind === 264 /* InterfaceDeclaration */) { - return checkGrammarForInvalidDynamicName(node.name, Diagnostics.A_computed_property_name_in_an_interface_must_refer_to_an_expression_whose_type_is_a_literal_type_or_a_unique_symbol_type); - } else if (node.parent.kind === 187 /* TypeLiteral */) { - return checkGrammarForInvalidDynamicName(node.name, Diagnostics.A_computed_property_name_in_a_type_literal_must_refer_to_an_expression_whose_type_is_a_literal_type_or_a_unique_symbol_type); - } - } - function checkGrammarBreakOrContinueStatement(node) { - let current = node; - while (current) { - if (isFunctionLikeOrClassStaticBlockDeclaration(current)) { - return grammarErrorOnNode(node, Diagnostics.Jump_target_cannot_cross_function_boundary); - } - switch (current.kind) { - case 256 /* LabeledStatement */: - if (node.label && current.label.escapedText === node.label.escapedText) { - const isMisplacedContinueLabel = node.kind === 251 /* ContinueStatement */ && !isIterationStatement( - current.statement, - /*lookInLabeledStatements*/ - true - ); - if (isMisplacedContinueLabel) { - return grammarErrorOnNode(node, Diagnostics.A_continue_statement_can_only_jump_to_a_label_of_an_enclosing_iteration_statement); - } - return false; - } - break; - case 255 /* SwitchStatement */: - if (node.kind === 252 /* BreakStatement */ && !node.label) { - return false; - } - break; - default: - if (isIterationStatement( - current, - /*lookInLabeledStatements*/ - false - ) && !node.label) { - return false; - } - break; - } - current = current.parent; - } - if (node.label) { - const message = node.kind === 252 /* BreakStatement */ ? Diagnostics.A_break_statement_can_only_jump_to_a_label_of_an_enclosing_statement : Diagnostics.A_continue_statement_can_only_jump_to_a_label_of_an_enclosing_iteration_statement; - return grammarErrorOnNode(node, message); - } else { - const message = node.kind === 252 /* BreakStatement */ ? Diagnostics.A_break_statement_can_only_be_used_within_an_enclosing_iteration_or_switch_statement : Diagnostics.A_continue_statement_can_only_be_used_within_an_enclosing_iteration_statement; - return grammarErrorOnNode(node, message); - } - } - function checkGrammarBindingElement(node) { - if (node.dotDotDotToken) { - const elements = node.parent.elements; - if (node !== last(elements)) { - return grammarErrorOnNode(node, Diagnostics.A_rest_element_must_be_last_in_a_destructuring_pattern); - } - checkGrammarForDisallowedTrailingComma(elements, Diagnostics.A_rest_parameter_or_binding_pattern_may_not_have_a_trailing_comma); - if (node.propertyName) { - return grammarErrorOnNode(node.name, Diagnostics.A_rest_element_cannot_have_a_property_name); - } - } - if (node.dotDotDotToken && node.initializer) { - return grammarErrorAtPos(node, node.initializer.pos - 1, 1, Diagnostics.A_rest_element_cannot_have_an_initializer); - } - } - function isStringOrNumberLiteralExpression(expr) { - return isStringOrNumericLiteralLike(expr) || expr.kind === 224 /* PrefixUnaryExpression */ && expr.operator === 41 /* MinusToken */ && expr.operand.kind === 9 /* NumericLiteral */; - } - function isBigIntLiteralExpression(expr) { - return expr.kind === 10 /* BigIntLiteral */ || expr.kind === 224 /* PrefixUnaryExpression */ && expr.operator === 41 /* MinusToken */ && expr.operand.kind === 10 /* BigIntLiteral */; - } - function isSimpleLiteralEnumReference(expr) { - if ((isPropertyAccessExpression(expr) || isElementAccessExpression(expr) && isStringOrNumberLiteralExpression(expr.argumentExpression)) && isEntityNameExpression(expr.expression)) { - return !!(checkExpressionCached(expr).flags & 1056 /* EnumLike */); - } - } - function checkAmbientInitializer(node) { - const initializer = node.initializer; - if (initializer) { - const isInvalidInitializer = !(isStringOrNumberLiteralExpression(initializer) || isSimpleLiteralEnumReference(initializer) || initializer.kind === 112 /* TrueKeyword */ || initializer.kind === 97 /* FalseKeyword */ || isBigIntLiteralExpression(initializer)); - const isConstOrReadonly = isDeclarationReadonly(node) || isVariableDeclaration(node) && isVarConstLike2(node); - if (isConstOrReadonly && !node.type) { - if (isInvalidInitializer) { - return grammarErrorOnNode(initializer, Diagnostics.A_const_initializer_in_an_ambient_context_must_be_a_string_or_numeric_literal_or_literal_enum_reference); - } - } else { - return grammarErrorOnNode(initializer, Diagnostics.Initializers_are_not_allowed_in_ambient_contexts); - } - } - } - function checkGrammarVariableDeclaration(node) { - const nodeFlags = getCombinedNodeFlagsCached(node); - const blockScopeKind = nodeFlags & 7 /* BlockScoped */; - if (isBindingPattern(node.name)) { - switch (blockScopeKind) { - case 6 /* AwaitUsing */: - return grammarErrorOnNode(node, Diagnostics._0_declarations_may_not_have_binding_patterns, "await using"); - case 4 /* Using */: - return grammarErrorOnNode(node, Diagnostics._0_declarations_may_not_have_binding_patterns, "using"); - } - } - if (node.parent.parent.kind !== 249 /* ForInStatement */ && node.parent.parent.kind !== 250 /* ForOfStatement */) { - if (nodeFlags & 33554432 /* Ambient */) { - checkAmbientInitializer(node); - } else if (!node.initializer) { - if (isBindingPattern(node.name) && !isBindingPattern(node.parent)) { - return grammarErrorOnNode(node, Diagnostics.A_destructuring_declaration_must_have_an_initializer); - } - switch (blockScopeKind) { - case 6 /* AwaitUsing */: - return grammarErrorOnNode(node, Diagnostics._0_declarations_must_be_initialized, "await using"); - case 4 /* Using */: - return grammarErrorOnNode(node, Diagnostics._0_declarations_must_be_initialized, "using"); - case 2 /* Const */: - return grammarErrorOnNode(node, Diagnostics._0_declarations_must_be_initialized, "const"); - } - } - } - if (node.exclamationToken && (node.parent.parent.kind !== 243 /* VariableStatement */ || !node.type || node.initializer || nodeFlags & 33554432 /* Ambient */)) { - const message = node.initializer ? Diagnostics.Declarations_with_initializers_cannot_also_have_definite_assignment_assertions : !node.type ? Diagnostics.Declarations_with_definite_assignment_assertions_must_also_have_type_annotations : Diagnostics.A_definite_assignment_assertion_is_not_permitted_in_this_context; - return grammarErrorOnNode(node.exclamationToken, message); - } - if (host.getEmitModuleFormatOfFile(getSourceFileOfNode(node)) < 4 /* System */ && !(node.parent.parent.flags & 33554432 /* Ambient */) && hasSyntacticModifier(node.parent.parent, 32 /* Export */)) { - checkESModuleMarker(node.name); - } - return !!blockScopeKind && checkGrammarNameInLetOrConstDeclarations(node.name); - } - function checkESModuleMarker(name) { - if (name.kind === 80 /* Identifier */) { - if (idText(name) === "__esModule") { - return grammarErrorOnNodeSkippedOn("noEmit", name, Diagnostics.Identifier_expected_esModule_is_reserved_as_an_exported_marker_when_transforming_ECMAScript_modules); - } - } else { - const elements = name.elements; - for (const element of elements) { - if (!isOmittedExpression(element)) { - return checkESModuleMarker(element.name); - } - } - } - return false; - } - function checkGrammarNameInLetOrConstDeclarations(name) { - if (name.kind === 80 /* Identifier */) { - if (name.escapedText === "let") { - return grammarErrorOnNode(name, Diagnostics.let_is_not_allowed_to_be_used_as_a_name_in_let_or_const_declarations); - } - } else { - const elements = name.elements; - for (const element of elements) { - if (!isOmittedExpression(element)) { - checkGrammarNameInLetOrConstDeclarations(element.name); - } - } - } - return false; - } - function checkGrammarVariableDeclarationList(declarationList) { - const declarations = declarationList.declarations; - if (checkGrammarForDisallowedTrailingComma(declarationList.declarations)) { - return true; - } - if (!declarationList.declarations.length) { - return grammarErrorAtPos(declarationList, declarations.pos, declarations.end - declarations.pos, Diagnostics.Variable_declaration_list_cannot_be_empty); - } - const blockScopeFlags = declarationList.flags & 7 /* BlockScoped */; - if ((blockScopeFlags === 4 /* Using */ || blockScopeFlags === 6 /* AwaitUsing */) && isForInStatement(declarationList.parent)) { - return grammarErrorOnNode( - declarationList, - blockScopeFlags === 4 /* Using */ ? Diagnostics.The_left_hand_side_of_a_for_in_statement_cannot_be_a_using_declaration : Diagnostics.The_left_hand_side_of_a_for_in_statement_cannot_be_an_await_using_declaration - ); - } - if (blockScopeFlags === 6 /* AwaitUsing */) { - return checkAwaitGrammar(declarationList); - } - return false; - } - function allowLetAndConstDeclarations(parent) { - switch (parent.kind) { - case 245 /* IfStatement */: - case 246 /* DoStatement */: - case 247 /* WhileStatement */: - case 254 /* WithStatement */: - case 248 /* ForStatement */: - case 249 /* ForInStatement */: - case 250 /* ForOfStatement */: - return false; - case 256 /* LabeledStatement */: - return allowLetAndConstDeclarations(parent.parent); - } - return true; - } - function checkGrammarForDisallowedBlockScopedVariableStatement(node) { - if (!allowLetAndConstDeclarations(node.parent)) { - const blockScopeKind = getCombinedNodeFlagsCached(node.declarationList) & 7 /* BlockScoped */; - if (blockScopeKind) { - const keyword = blockScopeKind === 1 /* Let */ ? "let" : blockScopeKind === 2 /* Const */ ? "const" : blockScopeKind === 4 /* Using */ ? "using" : blockScopeKind === 6 /* AwaitUsing */ ? "await using" : Debug.fail("Unknown BlockScope flag"); - return grammarErrorOnNode(node, Diagnostics._0_declarations_can_only_be_declared_inside_a_block, keyword); - } - } - } - function checkGrammarMetaProperty(node) { - const escapedText = node.name.escapedText; - switch (node.keywordToken) { - case 105 /* NewKeyword */: - if (escapedText !== "target") { - return grammarErrorOnNode(node.name, Diagnostics._0_is_not_a_valid_meta_property_for_keyword_1_Did_you_mean_2, unescapeLeadingUnderscores(node.name.escapedText), tokenToString(node.keywordToken), "target"); - } - break; - case 102 /* ImportKeyword */: - if (escapedText !== "meta") { - return grammarErrorOnNode(node.name, Diagnostics._0_is_not_a_valid_meta_property_for_keyword_1_Did_you_mean_2, unescapeLeadingUnderscores(node.name.escapedText), tokenToString(node.keywordToken), "meta"); - } - break; - } - } - function hasParseDiagnostics(sourceFile) { - return sourceFile.parseDiagnostics.length > 0; - } - function grammarErrorOnFirstToken(node, message, ...args) { - const sourceFile = getSourceFileOfNode(node); - if (!hasParseDiagnostics(sourceFile)) { - const span = getSpanOfTokenAtPosition(sourceFile, node.pos); - diagnostics.add(createFileDiagnostic(sourceFile, span.start, span.length, message, ...args)); - return true; - } - return false; - } - function grammarErrorAtPos(nodeForSourceFile, start, length2, message, ...args) { - const sourceFile = getSourceFileOfNode(nodeForSourceFile); - if (!hasParseDiagnostics(sourceFile)) { - diagnostics.add(createFileDiagnostic(sourceFile, start, length2, message, ...args)); - return true; - } - return false; - } - function grammarErrorOnNodeSkippedOn(key, node, message, ...args) { - const sourceFile = getSourceFileOfNode(node); - if (!hasParseDiagnostics(sourceFile)) { - errorSkippedOn(key, node, message, ...args); - return true; - } - return false; - } - function grammarErrorOnNode(node, message, ...args) { - const sourceFile = getSourceFileOfNode(node); - if (!hasParseDiagnostics(sourceFile)) { - diagnostics.add(createDiagnosticForNode(node, message, ...args)); - return true; - } - return false; - } - function checkGrammarConstructorTypeParameters(node) { - const jsdocTypeParameters = isInJSFile(node) ? getJSDocTypeParameterDeclarations(node) : void 0; - const range = node.typeParameters || jsdocTypeParameters && firstOrUndefined(jsdocTypeParameters); - if (range) { - const pos = range.pos === range.end ? range.pos : skipTrivia(getSourceFileOfNode(node).text, range.pos); - return grammarErrorAtPos(node, pos, range.end - pos, Diagnostics.Type_parameters_cannot_appear_on_a_constructor_declaration); - } - } - function checkGrammarConstructorTypeAnnotation(node) { - const type = node.type || getEffectiveReturnTypeNode(node); - if (type) { - return grammarErrorOnNode(type, Diagnostics.Type_annotation_cannot_appear_on_a_constructor_declaration); - } - } - function checkGrammarProperty(node) { - if (isComputedPropertyName(node.name) && isBinaryExpression(node.name.expression) && node.name.expression.operatorToken.kind === 103 /* InKeyword */) { - return grammarErrorOnNode(node.parent.members[0], Diagnostics.A_mapped_type_may_not_declare_properties_or_methods); - } - if (isClassLike(node.parent)) { - if (isStringLiteral(node.name) && node.name.text === "constructor") { - return grammarErrorOnNode(node.name, Diagnostics.Classes_may_not_have_a_field_named_constructor); - } - if (checkGrammarForInvalidDynamicName(node.name, Diagnostics.A_computed_property_name_in_a_class_property_declaration_must_have_a_simple_literal_type_or_a_unique_symbol_type)) { - return true; - } - if (languageVersion < 2 /* ES2015 */ && isPrivateIdentifier(node.name)) { - return grammarErrorOnNode(node.name, Diagnostics.Private_identifiers_are_only_available_when_targeting_ECMAScript_2015_and_higher); - } - if (languageVersion < 2 /* ES2015 */ && isAutoAccessorPropertyDeclaration(node)) { - return grammarErrorOnNode(node.name, Diagnostics.Properties_with_the_accessor_modifier_are_only_available_when_targeting_ECMAScript_2015_and_higher); - } - if (isAutoAccessorPropertyDeclaration(node) && checkGrammarForInvalidQuestionMark(node.questionToken, Diagnostics.An_accessor_property_cannot_be_declared_optional)) { - return true; - } - } else if (node.parent.kind === 264 /* InterfaceDeclaration */) { - if (checkGrammarForInvalidDynamicName(node.name, Diagnostics.A_computed_property_name_in_an_interface_must_refer_to_an_expression_whose_type_is_a_literal_type_or_a_unique_symbol_type)) { - return true; - } - Debug.assertNode(node, isPropertySignature); - if (node.initializer) { - return grammarErrorOnNode(node.initializer, Diagnostics.An_interface_property_cannot_have_an_initializer); - } - } else if (isTypeLiteralNode(node.parent)) { - if (checkGrammarForInvalidDynamicName(node.name, Diagnostics.A_computed_property_name_in_a_type_literal_must_refer_to_an_expression_whose_type_is_a_literal_type_or_a_unique_symbol_type)) { - return true; - } - Debug.assertNode(node, isPropertySignature); - if (node.initializer) { - return grammarErrorOnNode(node.initializer, Diagnostics.A_type_literal_property_cannot_have_an_initializer); - } - } - if (node.flags & 33554432 /* Ambient */) { - checkAmbientInitializer(node); - } - if (isPropertyDeclaration(node) && node.exclamationToken && (!isClassLike(node.parent) || !node.type || node.initializer || node.flags & 33554432 /* Ambient */ || isStatic(node) || hasAbstractModifier(node))) { - const message = node.initializer ? Diagnostics.Declarations_with_initializers_cannot_also_have_definite_assignment_assertions : !node.type ? Diagnostics.Declarations_with_definite_assignment_assertions_must_also_have_type_annotations : Diagnostics.A_definite_assignment_assertion_is_not_permitted_in_this_context; - return grammarErrorOnNode(node.exclamationToken, message); - } - } - function checkGrammarTopLevelElementForRequiredDeclareModifier(node) { - if (node.kind === 264 /* InterfaceDeclaration */ || node.kind === 265 /* TypeAliasDeclaration */ || node.kind === 272 /* ImportDeclaration */ || node.kind === 271 /* ImportEqualsDeclaration */ || node.kind === 278 /* ExportDeclaration */ || node.kind === 277 /* ExportAssignment */ || node.kind === 270 /* NamespaceExportDeclaration */ || hasSyntacticModifier(node, 128 /* Ambient */ | 32 /* Export */ | 2048 /* Default */)) { - return false; - } - return grammarErrorOnFirstToken(node, Diagnostics.Top_level_declarations_in_d_ts_files_must_start_with_either_a_declare_or_export_modifier); - } - function checkGrammarTopLevelElementsForRequiredDeclareModifier(file) { - for (const decl of file.statements) { - if (isDeclaration(decl) || decl.kind === 243 /* VariableStatement */) { - if (checkGrammarTopLevelElementForRequiredDeclareModifier(decl)) { - return true; - } - } - } - return false; - } - function checkGrammarSourceFile(node) { - return !!(node.flags & 33554432 /* Ambient */) && checkGrammarTopLevelElementsForRequiredDeclareModifier(node); - } - function checkGrammarStatementInAmbientContext(node) { - if (node.flags & 33554432 /* Ambient */) { - const links = getNodeLinks(node); - if (!links.hasReportedStatementInAmbientContext && (isFunctionLike(node.parent) || isAccessor(node.parent))) { - return getNodeLinks(node).hasReportedStatementInAmbientContext = grammarErrorOnFirstToken(node, Diagnostics.An_implementation_cannot_be_declared_in_ambient_contexts); - } - if (node.parent.kind === 241 /* Block */ || node.parent.kind === 268 /* ModuleBlock */ || node.parent.kind === 307 /* SourceFile */) { - const links2 = getNodeLinks(node.parent); - if (!links2.hasReportedStatementInAmbientContext) { - return links2.hasReportedStatementInAmbientContext = grammarErrorOnFirstToken(node, Diagnostics.Statements_are_not_allowed_in_ambient_contexts); - } - } else { - } - } - return false; - } - function checkGrammarNumericLiteral(node) { - const isFractional = getTextOfNode(node).includes("."); - const isScientific = node.numericLiteralFlags & 16 /* Scientific */; - if (isFractional || isScientific) { - return; - } - const value = +node.text; - if (value <= 2 ** 53 - 1) { - return; - } - addErrorOrSuggestion( - /*isError*/ - false, - createDiagnosticForNode(node, Diagnostics.Numeric_literals_with_absolute_values_equal_to_2_53_or_greater_are_too_large_to_be_represented_accurately_as_integers) - ); - } - function checkGrammarBigIntLiteral(node) { - const literalType = isLiteralTypeNode(node.parent) || isPrefixUnaryExpression(node.parent) && isLiteralTypeNode(node.parent.parent); - if (!literalType) { - if (languageVersion < 7 /* ES2020 */) { - if (grammarErrorOnNode(node, Diagnostics.BigInt_literals_are_not_available_when_targeting_lower_than_ES2020)) { - return true; - } - } - } - return false; - } - function grammarErrorAfterFirstToken(node, message, ...args) { - const sourceFile = getSourceFileOfNode(node); - if (!hasParseDiagnostics(sourceFile)) { - const span = getSpanOfTokenAtPosition(sourceFile, node.pos); - diagnostics.add(createFileDiagnostic( - sourceFile, - textSpanEnd(span), - /*length*/ - 0, - message, - ...args - )); - return true; - } - return false; - } - function getAmbientModules() { - if (!ambientModulesCache) { - ambientModulesCache = []; - globals.forEach((global2, sym) => { - if (ambientModuleSymbolRegex.test(sym)) { - ambientModulesCache.push(global2); - } - }); - } - return ambientModulesCache; - } - function checkGrammarImportClause(node) { - var _a; - if (node.isTypeOnly && node.name && node.namedBindings) { - return grammarErrorOnNode(node, Diagnostics.A_type_only_import_can_specify_a_default_import_or_named_bindings_but_not_both); - } - if (node.isTypeOnly && ((_a = node.namedBindings) == null ? void 0 : _a.kind) === 275 /* NamedImports */) { - return checkGrammarNamedImportsOrExports(node.namedBindings); - } - return false; - } - function checkGrammarNamedImportsOrExports(namedBindings) { - return !!forEach(namedBindings.elements, (specifier) => { - if (specifier.isTypeOnly) { - return grammarErrorOnFirstToken( - specifier, - specifier.kind === 276 /* ImportSpecifier */ ? Diagnostics.The_type_modifier_cannot_be_used_on_a_named_import_when_import_type_is_used_on_its_import_statement : Diagnostics.The_type_modifier_cannot_be_used_on_a_named_export_when_export_type_is_used_on_its_export_statement - ); - } - }); - } - function checkGrammarImportCallExpression(node) { - if (compilerOptions.verbatimModuleSyntax && moduleKind === 1 /* CommonJS */) { - return grammarErrorOnNode(node, Diagnostics.ESM_syntax_is_not_allowed_in_a_CommonJS_module_when_verbatimModuleSyntax_is_enabled); - } - if (moduleKind === 5 /* ES2015 */) { - return grammarErrorOnNode(node, Diagnostics.Dynamic_imports_are_only_supported_when_the_module_flag_is_set_to_es2020_es2022_esnext_commonjs_amd_system_umd_node16_or_nodenext); - } - if (node.typeArguments) { - return grammarErrorOnNode(node, Diagnostics.This_use_of_import_is_invalid_import_calls_can_be_written_but_they_must_have_parentheses_and_cannot_have_type_arguments); - } - const nodeArguments = node.arguments; - if (moduleKind !== 99 /* ESNext */ && moduleKind !== 199 /* NodeNext */ && moduleKind !== 100 /* Node16 */ && moduleKind !== 200 /* Preserve */) { - checkGrammarForDisallowedTrailingComma(nodeArguments); - if (nodeArguments.length > 1) { - const importAttributesArgument = nodeArguments[1]; - return grammarErrorOnNode(importAttributesArgument, Diagnostics.Dynamic_imports_only_support_a_second_argument_when_the_module_option_is_set_to_esnext_node16_nodenext_or_preserve); - } - } - if (nodeArguments.length === 0 || nodeArguments.length > 2) { - return grammarErrorOnNode(node, Diagnostics.Dynamic_imports_can_only_accept_a_module_specifier_and_an_optional_set_of_attributes_as_arguments); - } - const spreadElement = find(nodeArguments, isSpreadElement); - if (spreadElement) { - return grammarErrorOnNode(spreadElement, Diagnostics.Argument_of_dynamic_import_cannot_be_spread_element); - } - return false; - } - function findMatchingTypeReferenceOrTypeAliasReference(source, unionTarget) { - const sourceObjectFlags = getObjectFlags(source); - if (sourceObjectFlags & (4 /* Reference */ | 16 /* Anonymous */) && unionTarget.flags & 1048576 /* Union */) { - return find(unionTarget.types, (target) => { - if (target.flags & 524288 /* Object */) { - const overlapObjFlags = sourceObjectFlags & getObjectFlags(target); - if (overlapObjFlags & 4 /* Reference */) { - return source.target === target.target; - } - if (overlapObjFlags & 16 /* Anonymous */) { - return !!source.aliasSymbol && source.aliasSymbol === target.aliasSymbol; - } - } - return false; - }); - } - } - function findBestTypeForObjectLiteral(source, unionTarget) { - if (getObjectFlags(source) & 128 /* ObjectLiteral */ && someType(unionTarget, isArrayLikeType)) { - return find(unionTarget.types, (t) => !isArrayLikeType(t)); - } - } - function findBestTypeForInvokable(source, unionTarget) { - let signatureKind = 0 /* Call */; - const hasSignatures = getSignaturesOfType(source, signatureKind).length > 0 || (signatureKind = 1 /* Construct */, getSignaturesOfType(source, signatureKind).length > 0); - if (hasSignatures) { - return find(unionTarget.types, (t) => getSignaturesOfType(t, signatureKind).length > 0); - } - } - function findMostOverlappyType(source, unionTarget) { - let bestMatch; - if (!(source.flags & (402784252 /* Primitive */ | 406847488 /* InstantiablePrimitive */))) { - let matchingCount = 0; - for (const target of unionTarget.types) { - if (!(target.flags & (402784252 /* Primitive */ | 406847488 /* InstantiablePrimitive */))) { - const overlap = getIntersectionType([getIndexType(source), getIndexType(target)]); - if (overlap.flags & 4194304 /* Index */) { - return target; - } else if (isUnitType(overlap) || overlap.flags & 1048576 /* Union */) { - const len = overlap.flags & 1048576 /* Union */ ? countWhere(overlap.types, isUnitType) : 1; - if (len >= matchingCount) { - bestMatch = target; - matchingCount = len; - } - } - } - } - } - return bestMatch; - } - function filterPrimitivesIfContainsNonPrimitive(type) { - if (maybeTypeOfKind(type, 67108864 /* NonPrimitive */)) { - const result = filterType(type, (t) => !(t.flags & 402784252 /* Primitive */)); - if (!(result.flags & 131072 /* Never */)) { - return result; - } - } - return type; - } - function findMatchingDiscriminantType(source, target, isRelatedTo) { - if (target.flags & 1048576 /* Union */ && source.flags & (2097152 /* Intersection */ | 524288 /* Object */)) { - const match = getMatchingUnionConstituentForType(target, source); - if (match) { - return match; - } - const sourceProperties = getPropertiesOfType(source); - if (sourceProperties) { - const sourcePropertiesFiltered = findDiscriminantProperties(sourceProperties, target); - if (sourcePropertiesFiltered) { - const discriminated = discriminateTypeByDiscriminableItems(target, map(sourcePropertiesFiltered, (p) => [() => getTypeOfSymbol(p), p.escapedName]), isRelatedTo); - if (discriminated !== target) { - return discriminated; - } - } - } - } - return void 0; - } - function getEffectivePropertyNameForPropertyNameNode(node) { - const name = getPropertyNameForPropertyNameNode(node); - return name ? name : isComputedPropertyName(node) ? tryGetNameFromType(getTypeOfExpression(node.expression)) : void 0; - } - function getCombinedModifierFlagsCached(node) { - if (lastGetCombinedModifierFlagsNode === node) { - return lastGetCombinedModifierFlagsResult; - } - lastGetCombinedModifierFlagsNode = node; - lastGetCombinedModifierFlagsResult = getCombinedModifierFlags(node); - return lastGetCombinedModifierFlagsResult; - } - function getCombinedNodeFlagsCached(node) { - if (lastGetCombinedNodeFlagsNode === node) { - return lastGetCombinedNodeFlagsResult; - } - lastGetCombinedNodeFlagsNode = node; - lastGetCombinedNodeFlagsResult = getCombinedNodeFlags(node); - return lastGetCombinedNodeFlagsResult; - } - function isVarConstLike2(node) { - const blockScopeKind = getCombinedNodeFlagsCached(node) & 7 /* BlockScoped */; - return blockScopeKind === 2 /* Const */ || blockScopeKind === 4 /* Using */ || blockScopeKind === 6 /* AwaitUsing */; - } - function getJSXRuntimeImportSpecifier(file, specifierText) { - const jsxImportIndex = compilerOptions.importHelpers ? 1 : 0; - const specifier = file == null ? void 0 : file.imports[jsxImportIndex]; - if (specifier) { - Debug.assert(nodeIsSynthesized(specifier) && specifier.text === specifierText, `Expected sourceFile.imports[${jsxImportIndex}] to be the synthesized JSX runtime import`); - } - return specifier; - } - function getImportHelpersImportSpecifier(file) { - Debug.assert(compilerOptions.importHelpers, "Expected importHelpers to be enabled"); - const specifier = file.imports[0]; - Debug.assert(specifier && nodeIsSynthesized(specifier) && specifier.text === "tslib", `Expected sourceFile.imports[0] to be the synthesized tslib import`); - return specifier; - } -} -function isNotAccessor(declaration) { - return !isAccessor(declaration); -} -function isNotOverload(declaration) { - return declaration.kind !== 262 /* FunctionDeclaration */ && declaration.kind !== 174 /* MethodDeclaration */ || !!declaration.body; -} -function isDeclarationNameOrImportPropertyName(name) { - switch (name.parent.kind) { - case 276 /* ImportSpecifier */: - case 281 /* ExportSpecifier */: - return isIdentifier(name) || name.kind === 11 /* StringLiteral */; - default: - return isDeclarationName(name); - } -} -var JsxNames; -((JsxNames2) => { - JsxNames2.JSX = "JSX"; - JsxNames2.IntrinsicElements = "IntrinsicElements"; - JsxNames2.ElementClass = "ElementClass"; - JsxNames2.ElementAttributesPropertyNameContainer = "ElementAttributesProperty"; - JsxNames2.ElementChildrenAttributeNameContainer = "ElementChildrenAttribute"; - JsxNames2.Element = "Element"; - JsxNames2.ElementType = "ElementType"; - JsxNames2.IntrinsicAttributes = "IntrinsicAttributes"; - JsxNames2.IntrinsicClassAttributes = "IntrinsicClassAttributes"; - JsxNames2.LibraryManagedAttributes = "LibraryManagedAttributes"; -})(JsxNames || (JsxNames = {})); -function getIterationTypesKeyFromIterationTypeKind(typeKind) { - switch (typeKind) { - case 0 /* Yield */: - return "yieldType"; - case 1 /* Return */: - return "returnType"; - case 2 /* Next */: - return "nextType"; - } -} -function signatureHasRestParameter(s) { - return !!(s.flags & 1 /* HasRestParameter */); -} -function signatureHasLiteralTypes(s) { - return !!(s.flags & 2 /* HasLiteralTypes */); -} -function createBasicNodeBuilderModuleSpecifierResolutionHost(host) { - return { - getCommonSourceDirectory: !!host.getCommonSourceDirectory ? () => host.getCommonSourceDirectory() : () => "", - getCurrentDirectory: () => host.getCurrentDirectory(), - getSymlinkCache: maybeBind(host, host.getSymlinkCache), - getPackageJsonInfoCache: () => { - var _a; - return (_a = host.getPackageJsonInfoCache) == null ? void 0 : _a.call(host); - }, - useCaseSensitiveFileNames: maybeBind(host, host.useCaseSensitiveFileNames), - redirectTargetsMap: host.redirectTargetsMap, - getProjectReferenceRedirect: (fileName) => host.getProjectReferenceRedirect(fileName), - isSourceOfProjectReferenceRedirect: (fileName) => host.isSourceOfProjectReferenceRedirect(fileName), - fileExists: (fileName) => host.fileExists(fileName), - getFileIncludeReasons: () => host.getFileIncludeReasons(), - readFile: host.readFile ? (fileName) => host.readFile(fileName) : void 0, - getDefaultResolutionModeForFile: (file) => host.getDefaultResolutionModeForFile(file), - getModeForResolutionAtIndex: (file, index) => host.getModeForResolutionAtIndex(file, index) - }; -} -var SymbolTrackerImpl = class _SymbolTrackerImpl { - constructor(context, tracker, moduleResolverHost) { - this.moduleResolverHost = void 0; - this.inner = void 0; - this.disableTrackSymbol = false; - var _a; - while (tracker instanceof _SymbolTrackerImpl) { - tracker = tracker.inner; - } - this.inner = tracker; - this.moduleResolverHost = moduleResolverHost; - this.context = context; - this.canTrackSymbol = !!((_a = this.inner) == null ? void 0 : _a.trackSymbol); - } - trackSymbol(symbol, enclosingDeclaration, meaning) { - var _a, _b; - if (((_a = this.inner) == null ? void 0 : _a.trackSymbol) && !this.disableTrackSymbol) { - if (this.inner.trackSymbol(symbol, enclosingDeclaration, meaning)) { - this.onDiagnosticReported(); - return true; - } - if (!(symbol.flags & 262144 /* TypeParameter */)) ((_b = this.context).trackedSymbols ?? (_b.trackedSymbols = [])).push([symbol, enclosingDeclaration, meaning]); - } - return false; - } - reportInaccessibleThisError() { - var _a; - if ((_a = this.inner) == null ? void 0 : _a.reportInaccessibleThisError) { - this.onDiagnosticReported(); - this.inner.reportInaccessibleThisError(); - } - } - reportPrivateInBaseOfClassExpression(propertyName) { - var _a; - if ((_a = this.inner) == null ? void 0 : _a.reportPrivateInBaseOfClassExpression) { - this.onDiagnosticReported(); - this.inner.reportPrivateInBaseOfClassExpression(propertyName); - } - } - reportInaccessibleUniqueSymbolError() { - var _a; - if ((_a = this.inner) == null ? void 0 : _a.reportInaccessibleUniqueSymbolError) { - this.onDiagnosticReported(); - this.inner.reportInaccessibleUniqueSymbolError(); - } - } - reportCyclicStructureError() { - var _a; - if ((_a = this.inner) == null ? void 0 : _a.reportCyclicStructureError) { - this.onDiagnosticReported(); - this.inner.reportCyclicStructureError(); - } - } - reportLikelyUnsafeImportRequiredError(specifier) { - var _a; - if ((_a = this.inner) == null ? void 0 : _a.reportLikelyUnsafeImportRequiredError) { - this.onDiagnosticReported(); - this.inner.reportLikelyUnsafeImportRequiredError(specifier); - } - } - reportTruncationError() { - var _a; - if ((_a = this.inner) == null ? void 0 : _a.reportTruncationError) { - this.onDiagnosticReported(); - this.inner.reportTruncationError(); - } - } - reportNonlocalAugmentation(containingFile, parentSymbol, augmentingSymbol) { - var _a; - if ((_a = this.inner) == null ? void 0 : _a.reportNonlocalAugmentation) { - this.onDiagnosticReported(); - this.inner.reportNonlocalAugmentation(containingFile, parentSymbol, augmentingSymbol); - } - } - reportNonSerializableProperty(propertyName) { - var _a; - if ((_a = this.inner) == null ? void 0 : _a.reportNonSerializableProperty) { - this.onDiagnosticReported(); - this.inner.reportNonSerializableProperty(propertyName); - } - } - onDiagnosticReported() { - this.context.reportedDiagnostic = true; - } - reportInferenceFallback(node) { - var _a; - if ((_a = this.inner) == null ? void 0 : _a.reportInferenceFallback) { - this.inner.reportInferenceFallback(node); - } - } -}; - -// src/compiler/visitorPublic.ts -function visitNode(node, visitor, test, lift) { - if (node === void 0) { - return node; - } - const visited = visitor(node); - let visitedNode; - if (visited === void 0) { - return void 0; - } else if (isArray(visited)) { - visitedNode = (lift || extractSingleNode)(visited); - } else { - visitedNode = visited; - } - Debug.assertNode(visitedNode, test); - return visitedNode; -} -function visitNodes2(nodes, visitor, test, start, count) { - if (nodes === void 0) { - return nodes; - } - const length2 = nodes.length; - if (start === void 0 || start < 0) { - start = 0; - } - if (count === void 0 || count > length2 - start) { - count = length2 - start; - } - let hasTrailingComma; - let pos = -1; - let end = -1; - if (start > 0 || count < length2) { - hasTrailingComma = nodes.hasTrailingComma && start + count === length2; - } else { - pos = nodes.pos; - end = nodes.end; - hasTrailingComma = nodes.hasTrailingComma; - } - const updated = visitArrayWorker(nodes, visitor, test, start, count); - if (updated !== nodes) { - const updatedArray = factory.createNodeArray(updated, hasTrailingComma); - setTextRangePosEnd(updatedArray, pos, end); - return updatedArray; - } - return nodes; -} -function visitArray(nodes, visitor, test, start, count) { - if (nodes === void 0) { - return nodes; - } - const length2 = nodes.length; - if (start === void 0 || start < 0) { - start = 0; - } - if (count === void 0 || count > length2 - start) { - count = length2 - start; - } - return visitArrayWorker(nodes, visitor, test, start, count); -} -function visitArrayWorker(nodes, visitor, test, start, count) { - let updated; - const length2 = nodes.length; - if (start > 0 || count < length2) { - updated = []; - } - for (let i = 0; i < count; i++) { - const node = nodes[i + start]; - const visited = node !== void 0 ? visitor ? visitor(node) : node : void 0; - if (updated !== void 0 || visited === void 0 || visited !== node) { - if (updated === void 0) { - updated = nodes.slice(0, i); - Debug.assertEachNode(updated, test); - } - if (visited) { - if (isArray(visited)) { - for (const visitedNode of visited) { - Debug.assertNode(visitedNode, test); - updated.push(visitedNode); - } - } else { - Debug.assertNode(visited, test); - updated.push(visited); - } - } - } - } - if (updated) { - return updated; - } - Debug.assertEachNode(nodes, test); - return nodes; -} -function visitLexicalEnvironment(statements, visitor, context, start, ensureUseStrict, nodesVisitor = visitNodes2) { - context.startLexicalEnvironment(); - statements = nodesVisitor(statements, visitor, isStatement, start); - if (ensureUseStrict) statements = context.factory.ensureUseStrict(statements); - return factory.mergeLexicalEnvironment(statements, context.endLexicalEnvironment()); -} -function visitParameterList(nodes, visitor, context, nodesVisitor = visitNodes2) { - let updated; - context.startLexicalEnvironment(); - if (nodes) { - context.setLexicalEnvironmentFlags(1 /* InParameters */, true); - updated = nodesVisitor(nodes, visitor, isParameter); - if (context.getLexicalEnvironmentFlags() & 2 /* VariablesHoistedInParameters */ && getEmitScriptTarget(context.getCompilerOptions()) >= 2 /* ES2015 */) { - updated = addDefaultValueAssignmentsIfNeeded(updated, context); - } - context.setLexicalEnvironmentFlags(1 /* InParameters */, false); - } - context.suspendLexicalEnvironment(); - return updated; -} -function addDefaultValueAssignmentsIfNeeded(parameters, context) { - let result; - for (let i = 0; i < parameters.length; i++) { - const parameter = parameters[i]; - const updated = addDefaultValueAssignmentIfNeeded(parameter, context); - if (result || updated !== parameter) { - if (!result) result = parameters.slice(0, i); - result[i] = updated; - } - } - if (result) { - return setTextRange(context.factory.createNodeArray(result, parameters.hasTrailingComma), parameters); - } - return parameters; -} -function addDefaultValueAssignmentIfNeeded(parameter, context) { - return parameter.dotDotDotToken ? parameter : isBindingPattern(parameter.name) ? addDefaultValueAssignmentForBindingPattern(parameter, context) : parameter.initializer ? addDefaultValueAssignmentForInitializer(parameter, parameter.name, parameter.initializer, context) : parameter; -} -function addDefaultValueAssignmentForBindingPattern(parameter, context) { - const { factory: factory2 } = context; - context.addInitializationStatement( - factory2.createVariableStatement( - /*modifiers*/ - void 0, - factory2.createVariableDeclarationList([ - factory2.createVariableDeclaration( - parameter.name, - /*exclamationToken*/ - void 0, - parameter.type, - parameter.initializer ? factory2.createConditionalExpression( - factory2.createStrictEquality( - factory2.getGeneratedNameForNode(parameter), - factory2.createVoidZero() - ), - /*questionToken*/ - void 0, - parameter.initializer, - /*colonToken*/ - void 0, - factory2.getGeneratedNameForNode(parameter) - ) : factory2.getGeneratedNameForNode(parameter) - ) - ]) - ) - ); - return factory2.updateParameterDeclaration( - parameter, - parameter.modifiers, - parameter.dotDotDotToken, - factory2.getGeneratedNameForNode(parameter), - parameter.questionToken, - parameter.type, - /*initializer*/ - void 0 - ); -} -function addDefaultValueAssignmentForInitializer(parameter, name, initializer, context) { - const factory2 = context.factory; - context.addInitializationStatement( - factory2.createIfStatement( - factory2.createTypeCheck(factory2.cloneNode(name), "undefined"), - setEmitFlags( - setTextRange( - factory2.createBlock([ - factory2.createExpressionStatement( - setEmitFlags( - setTextRange( - factory2.createAssignment( - setEmitFlags(factory2.cloneNode(name), 96 /* NoSourceMap */), - setEmitFlags(initializer, 96 /* NoSourceMap */ | getEmitFlags(initializer) | 3072 /* NoComments */) - ), - parameter - ), - 3072 /* NoComments */ - ) - ) - ]), - parameter - ), - 1 /* SingleLine */ | 64 /* NoTrailingSourceMap */ | 768 /* NoTokenSourceMaps */ | 3072 /* NoComments */ - ) - ) - ); - return factory2.updateParameterDeclaration( - parameter, - parameter.modifiers, - parameter.dotDotDotToken, - parameter.name, - parameter.questionToken, - parameter.type, - /*initializer*/ - void 0 - ); -} -function visitFunctionBody(node, visitor, context, nodeVisitor = visitNode) { - context.resumeLexicalEnvironment(); - const updated = nodeVisitor(node, visitor, isConciseBody); - const declarations = context.endLexicalEnvironment(); - if (some(declarations)) { - if (!updated) { - return context.factory.createBlock(declarations); - } - const block = context.factory.converters.convertToFunctionBlock(updated); - const statements = factory.mergeLexicalEnvironment(block.statements, declarations); - return context.factory.updateBlock(block, statements); - } - return updated; -} -function visitIterationBody(body, visitor, context, nodeVisitor = visitNode) { - context.startBlockScope(); - const updated = nodeVisitor(body, visitor, isStatement, context.factory.liftToBlock); - Debug.assert(updated); - const declarations = context.endBlockScope(); - if (some(declarations)) { - if (isBlock(updated)) { - declarations.push(...updated.statements); - return context.factory.updateBlock(updated, declarations); - } - declarations.push(updated); - return context.factory.createBlock(declarations); - } - return updated; -} -function visitCommaListElements(elements, visitor, discardVisitor = visitor) { - if (discardVisitor === visitor || elements.length <= 1) { - return visitNodes2(elements, visitor, isExpression); - } - let i = 0; - const length2 = elements.length; - return visitNodes2(elements, (node) => { - const discarded = i < length2 - 1; - i++; - return discarded ? discardVisitor(node) : visitor(node); - }, isExpression); -} -function visitEachChild(node, visitor, context = nullTransformationContext, nodesVisitor = visitNodes2, tokenVisitor, nodeVisitor = visitNode) { - if (node === void 0) { - return void 0; - } - const fn = visitEachChildTable[node.kind]; - return fn === void 0 ? node : fn(node, visitor, context, nodesVisitor, nodeVisitor, tokenVisitor); -} -var visitEachChildTable = { - [166 /* QualifiedName */]: function visitEachChildOfQualifiedName(node, visitor, context, _nodesVisitor, nodeVisitor, _tokenVisitor) { - return context.factory.updateQualifiedName( - node, - Debug.checkDefined(nodeVisitor(node.left, visitor, isEntityName)), - Debug.checkDefined(nodeVisitor(node.right, visitor, isIdentifier)) - ); - }, - [167 /* ComputedPropertyName */]: function visitEachChildOfComputedPropertyName(node, visitor, context, _nodesVisitor, nodeVisitor, _tokenVisitor) { - return context.factory.updateComputedPropertyName( - node, - Debug.checkDefined(nodeVisitor(node.expression, visitor, isExpression)) - ); - }, - // Signature elements - [168 /* TypeParameter */]: function visitEachChildOfTypeParameterDeclaration(node, visitor, context, nodesVisitor, nodeVisitor, _tokenVisitor) { - return context.factory.updateTypeParameterDeclaration( - node, - nodesVisitor(node.modifiers, visitor, isModifier), - Debug.checkDefined(nodeVisitor(node.name, visitor, isIdentifier)), - nodeVisitor(node.constraint, visitor, isTypeNode), - nodeVisitor(node.default, visitor, isTypeNode) - ); - }, - [169 /* Parameter */]: function visitEachChildOfParameterDeclaration(node, visitor, context, nodesVisitor, nodeVisitor, tokenVisitor) { - return context.factory.updateParameterDeclaration( - node, - nodesVisitor(node.modifiers, visitor, isModifierLike), - tokenVisitor ? nodeVisitor(node.dotDotDotToken, tokenVisitor, isDotDotDotToken) : node.dotDotDotToken, - Debug.checkDefined(nodeVisitor(node.name, visitor, isBindingName)), - tokenVisitor ? nodeVisitor(node.questionToken, tokenVisitor, isQuestionToken) : node.questionToken, - nodeVisitor(node.type, visitor, isTypeNode), - nodeVisitor(node.initializer, visitor, isExpression) - ); - }, - [170 /* Decorator */]: function visitEachChildOfDecorator(node, visitor, context, _nodesVisitor, nodeVisitor, _tokenVisitor) { - return context.factory.updateDecorator( - node, - Debug.checkDefined(nodeVisitor(node.expression, visitor, isExpression)) - ); - }, - // Type elements - [171 /* PropertySignature */]: function visitEachChildOfPropertySignature(node, visitor, context, nodesVisitor, nodeVisitor, tokenVisitor) { - return context.factory.updatePropertySignature( - node, - nodesVisitor(node.modifiers, visitor, isModifier), - Debug.checkDefined(nodeVisitor(node.name, visitor, isPropertyName)), - tokenVisitor ? nodeVisitor(node.questionToken, tokenVisitor, isQuestionToken) : node.questionToken, - nodeVisitor(node.type, visitor, isTypeNode) - ); - }, - [172 /* PropertyDeclaration */]: function visitEachChildOfPropertyDeclaration(node, visitor, context, nodesVisitor, nodeVisitor, tokenVisitor) { - return context.factory.updatePropertyDeclaration( - node, - nodesVisitor(node.modifiers, visitor, isModifierLike), - Debug.checkDefined(nodeVisitor(node.name, visitor, isPropertyName)), - // QuestionToken and ExclamationToken are mutually exclusive in PropertyDeclaration - tokenVisitor ? nodeVisitor(node.questionToken ?? node.exclamationToken, tokenVisitor, isQuestionOrExclamationToken) : node.questionToken ?? node.exclamationToken, - nodeVisitor(node.type, visitor, isTypeNode), - nodeVisitor(node.initializer, visitor, isExpression) - ); - }, - [173 /* MethodSignature */]: function visitEachChildOfMethodSignature(node, visitor, context, nodesVisitor, nodeVisitor, tokenVisitor) { - return context.factory.updateMethodSignature( - node, - nodesVisitor(node.modifiers, visitor, isModifier), - Debug.checkDefined(nodeVisitor(node.name, visitor, isPropertyName)), - tokenVisitor ? nodeVisitor(node.questionToken, tokenVisitor, isQuestionToken) : node.questionToken, - nodesVisitor(node.typeParameters, visitor, isTypeParameterDeclaration), - nodesVisitor(node.parameters, visitor, isParameter), - nodeVisitor(node.type, visitor, isTypeNode) - ); - }, - [174 /* MethodDeclaration */]: function visitEachChildOfMethodDeclaration(node, visitor, context, nodesVisitor, nodeVisitor, tokenVisitor) { - return context.factory.updateMethodDeclaration( - node, - nodesVisitor(node.modifiers, visitor, isModifierLike), - tokenVisitor ? nodeVisitor(node.asteriskToken, tokenVisitor, isAsteriskToken) : node.asteriskToken, - Debug.checkDefined(nodeVisitor(node.name, visitor, isPropertyName)), - tokenVisitor ? nodeVisitor(node.questionToken, tokenVisitor, isQuestionToken) : node.questionToken, - nodesVisitor(node.typeParameters, visitor, isTypeParameterDeclaration), - visitParameterList(node.parameters, visitor, context, nodesVisitor), - nodeVisitor(node.type, visitor, isTypeNode), - visitFunctionBody(node.body, visitor, context, nodeVisitor) - ); - }, - [176 /* Constructor */]: function visitEachChildOfConstructorDeclaration(node, visitor, context, nodesVisitor, nodeVisitor, _tokenVisitor) { - return context.factory.updateConstructorDeclaration( - node, - nodesVisitor(node.modifiers, visitor, isModifierLike), - visitParameterList(node.parameters, visitor, context, nodesVisitor), - visitFunctionBody(node.body, visitor, context, nodeVisitor) - ); - }, - [177 /* GetAccessor */]: function visitEachChildOfGetAccessorDeclaration(node, visitor, context, nodesVisitor, nodeVisitor, _tokenVisitor) { - return context.factory.updateGetAccessorDeclaration( - node, - nodesVisitor(node.modifiers, visitor, isModifierLike), - Debug.checkDefined(nodeVisitor(node.name, visitor, isPropertyName)), - visitParameterList(node.parameters, visitor, context, nodesVisitor), - nodeVisitor(node.type, visitor, isTypeNode), - visitFunctionBody(node.body, visitor, context, nodeVisitor) - ); - }, - [178 /* SetAccessor */]: function visitEachChildOfSetAccessorDeclaration(node, visitor, context, nodesVisitor, nodeVisitor, _tokenVisitor) { - return context.factory.updateSetAccessorDeclaration( - node, - nodesVisitor(node.modifiers, visitor, isModifierLike), - Debug.checkDefined(nodeVisitor(node.name, visitor, isPropertyName)), - visitParameterList(node.parameters, visitor, context, nodesVisitor), - visitFunctionBody(node.body, visitor, context, nodeVisitor) - ); - }, - [175 /* ClassStaticBlockDeclaration */]: function visitEachChildOfClassStaticBlockDeclaration(node, visitor, context, _nodesVisitor, nodeVisitor, _tokenVisitor) { - context.startLexicalEnvironment(); - context.suspendLexicalEnvironment(); - return context.factory.updateClassStaticBlockDeclaration( - node, - visitFunctionBody(node.body, visitor, context, nodeVisitor) - ); - }, - [179 /* CallSignature */]: function visitEachChildOfCallSignatureDeclaration(node, visitor, context, nodesVisitor, nodeVisitor, _tokenVisitor) { - return context.factory.updateCallSignature( - node, - nodesVisitor(node.typeParameters, visitor, isTypeParameterDeclaration), - nodesVisitor(node.parameters, visitor, isParameter), - nodeVisitor(node.type, visitor, isTypeNode) - ); - }, - [180 /* ConstructSignature */]: function visitEachChildOfConstructSignatureDeclaration(node, visitor, context, nodesVisitor, nodeVisitor, _tokenVisitor) { - return context.factory.updateConstructSignature( - node, - nodesVisitor(node.typeParameters, visitor, isTypeParameterDeclaration), - nodesVisitor(node.parameters, visitor, isParameter), - nodeVisitor(node.type, visitor, isTypeNode) - ); - }, - [181 /* IndexSignature */]: function visitEachChildOfIndexSignatureDeclaration(node, visitor, context, nodesVisitor, nodeVisitor, _tokenVisitor) { - return context.factory.updateIndexSignature( - node, - nodesVisitor(node.modifiers, visitor, isModifierLike), - nodesVisitor(node.parameters, visitor, isParameter), - Debug.checkDefined(nodeVisitor(node.type, visitor, isTypeNode)) - ); - }, - // Types - [182 /* TypePredicate */]: function visitEachChildOfTypePredicateNode(node, visitor, context, _nodesVisitor, nodeVisitor, _tokenVisitor) { - return context.factory.updateTypePredicateNode( - node, - nodeVisitor(node.assertsModifier, visitor, isAssertsKeyword), - Debug.checkDefined(nodeVisitor(node.parameterName, visitor, isIdentifierOrThisTypeNode)), - nodeVisitor(node.type, visitor, isTypeNode) - ); - }, - [183 /* TypeReference */]: function visitEachChildOfTypeReferenceNode(node, visitor, context, nodesVisitor, nodeVisitor, _tokenVisitor) { - return context.factory.updateTypeReferenceNode( - node, - Debug.checkDefined(nodeVisitor(node.typeName, visitor, isEntityName)), - nodesVisitor(node.typeArguments, visitor, isTypeNode) - ); - }, - [184 /* FunctionType */]: function visitEachChildOfFunctionTypeNode(node, visitor, context, nodesVisitor, nodeVisitor, _tokenVisitor) { - return context.factory.updateFunctionTypeNode( - node, - nodesVisitor(node.typeParameters, visitor, isTypeParameterDeclaration), - nodesVisitor(node.parameters, visitor, isParameter), - Debug.checkDefined(nodeVisitor(node.type, visitor, isTypeNode)) - ); - }, - [185 /* ConstructorType */]: function visitEachChildOfConstructorTypeNode(node, visitor, context, nodesVisitor, nodeVisitor, _tokenVisitor) { - return context.factory.updateConstructorTypeNode( - node, - nodesVisitor(node.modifiers, visitor, isModifier), - nodesVisitor(node.typeParameters, visitor, isTypeParameterDeclaration), - nodesVisitor(node.parameters, visitor, isParameter), - Debug.checkDefined(nodeVisitor(node.type, visitor, isTypeNode)) - ); - }, - [186 /* TypeQuery */]: function visitEachChildOfTypeQueryNode(node, visitor, context, nodesVisitor, nodeVisitor, _tokenVisitor) { - return context.factory.updateTypeQueryNode( - node, - Debug.checkDefined(nodeVisitor(node.exprName, visitor, isEntityName)), - nodesVisitor(node.typeArguments, visitor, isTypeNode) - ); - }, - [187 /* TypeLiteral */]: function visitEachChildOfTypeLiteralNode(node, visitor, context, nodesVisitor, _nodeVisitor, _tokenVisitor) { - return context.factory.updateTypeLiteralNode( - node, - nodesVisitor(node.members, visitor, isTypeElement) - ); - }, - [188 /* ArrayType */]: function visitEachChildOfArrayTypeNode(node, visitor, context, _nodesVisitor, nodeVisitor, _tokenVisitor) { - return context.factory.updateArrayTypeNode( - node, - Debug.checkDefined(nodeVisitor(node.elementType, visitor, isTypeNode)) - ); - }, - [189 /* TupleType */]: function visitEachChildOfTupleTypeNode(node, visitor, context, nodesVisitor, _nodeVisitor, _tokenVisitor) { - return context.factory.updateTupleTypeNode( - node, - nodesVisitor(node.elements, visitor, isTypeNode) - ); - }, - [190 /* OptionalType */]: function visitEachChildOfOptionalTypeNode(node, visitor, context, _nodesVisitor, nodeVisitor, _tokenVisitor) { - return context.factory.updateOptionalTypeNode( - node, - Debug.checkDefined(nodeVisitor(node.type, visitor, isTypeNode)) - ); - }, - [191 /* RestType */]: function visitEachChildOfRestTypeNode(node, visitor, context, _nodesVisitor, nodeVisitor, _tokenVisitor) { - return context.factory.updateRestTypeNode( - node, - Debug.checkDefined(nodeVisitor(node.type, visitor, isTypeNode)) - ); - }, - [192 /* UnionType */]: function visitEachChildOfUnionTypeNode(node, visitor, context, nodesVisitor, _nodeVisitor, _tokenVisitor) { - return context.factory.updateUnionTypeNode( - node, - nodesVisitor(node.types, visitor, isTypeNode) - ); - }, - [193 /* IntersectionType */]: function visitEachChildOfIntersectionTypeNode(node, visitor, context, nodesVisitor, _nodeVisitor, _tokenVisitor) { - return context.factory.updateIntersectionTypeNode( - node, - nodesVisitor(node.types, visitor, isTypeNode) - ); - }, - [194 /* ConditionalType */]: function visitEachChildOfConditionalTypeNode(node, visitor, context, _nodesVisitor, nodeVisitor, _tokenVisitor) { - return context.factory.updateConditionalTypeNode( - node, - Debug.checkDefined(nodeVisitor(node.checkType, visitor, isTypeNode)), - Debug.checkDefined(nodeVisitor(node.extendsType, visitor, isTypeNode)), - Debug.checkDefined(nodeVisitor(node.trueType, visitor, isTypeNode)), - Debug.checkDefined(nodeVisitor(node.falseType, visitor, isTypeNode)) - ); - }, - [195 /* InferType */]: function visitEachChildOfInferTypeNode(node, visitor, context, _nodesVisitor, nodeVisitor, _tokenVisitor) { - return context.factory.updateInferTypeNode( - node, - Debug.checkDefined(nodeVisitor(node.typeParameter, visitor, isTypeParameterDeclaration)) - ); - }, - [205 /* ImportType */]: function visitEachChildOfImportTypeNode(node, visitor, context, nodesVisitor, nodeVisitor, _tokenVisitor) { - return context.factory.updateImportTypeNode( - node, - Debug.checkDefined(nodeVisitor(node.argument, visitor, isTypeNode)), - nodeVisitor(node.attributes, visitor, isImportAttributes), - nodeVisitor(node.qualifier, visitor, isEntityName), - nodesVisitor(node.typeArguments, visitor, isTypeNode), - node.isTypeOf - ); - }, - [302 /* ImportTypeAssertionContainer */]: function visitEachChildOfImportTypeAssertionContainer(node, visitor, context, _nodesVisitor, nodeVisitor, _tokenVisitor) { - return context.factory.updateImportTypeAssertionContainer( - node, - Debug.checkDefined(nodeVisitor(node.assertClause, visitor, isAssertClause)), - node.multiLine - ); - }, - [202 /* NamedTupleMember */]: function visitEachChildOfNamedTupleMember(node, visitor, context, _nodesVisitor, nodeVisitor, tokenVisitor) { - return context.factory.updateNamedTupleMember( - node, - tokenVisitor ? nodeVisitor(node.dotDotDotToken, tokenVisitor, isDotDotDotToken) : node.dotDotDotToken, - Debug.checkDefined(nodeVisitor(node.name, visitor, isIdentifier)), - tokenVisitor ? nodeVisitor(node.questionToken, tokenVisitor, isQuestionToken) : node.questionToken, - Debug.checkDefined(nodeVisitor(node.type, visitor, isTypeNode)) - ); - }, - [196 /* ParenthesizedType */]: function visitEachChildOfParenthesizedType(node, visitor, context, _nodesVisitor, nodeVisitor, _tokenVisitor) { - return context.factory.updateParenthesizedType( - node, - Debug.checkDefined(nodeVisitor(node.type, visitor, isTypeNode)) - ); - }, - [198 /* TypeOperator */]: function visitEachChildOfTypeOperatorNode(node, visitor, context, _nodesVisitor, nodeVisitor, _tokenVisitor) { - return context.factory.updateTypeOperatorNode( - node, - Debug.checkDefined(nodeVisitor(node.type, visitor, isTypeNode)) - ); - }, - [199 /* IndexedAccessType */]: function visitEachChildOfIndexedAccessType(node, visitor, context, _nodesVisitor, nodeVisitor, _tokenVisitor) { - return context.factory.updateIndexedAccessTypeNode( - node, - Debug.checkDefined(nodeVisitor(node.objectType, visitor, isTypeNode)), - Debug.checkDefined(nodeVisitor(node.indexType, visitor, isTypeNode)) - ); - }, - [200 /* MappedType */]: function visitEachChildOfMappedType(node, visitor, context, nodesVisitor, nodeVisitor, tokenVisitor) { - return context.factory.updateMappedTypeNode( - node, - tokenVisitor ? nodeVisitor(node.readonlyToken, tokenVisitor, isReadonlyKeywordOrPlusOrMinusToken) : node.readonlyToken, - Debug.checkDefined(nodeVisitor(node.typeParameter, visitor, isTypeParameterDeclaration)), - nodeVisitor(node.nameType, visitor, isTypeNode), - tokenVisitor ? nodeVisitor(node.questionToken, tokenVisitor, isQuestionOrPlusOrMinusToken) : node.questionToken, - nodeVisitor(node.type, visitor, isTypeNode), - nodesVisitor(node.members, visitor, isTypeElement) - ); - }, - [201 /* LiteralType */]: function visitEachChildOfLiteralTypeNode(node, visitor, context, _nodesVisitor, nodeVisitor, _tokenVisitor) { - return context.factory.updateLiteralTypeNode( - node, - Debug.checkDefined(nodeVisitor(node.literal, visitor, isLiteralTypeLiteral)) - ); - }, - [203 /* TemplateLiteralType */]: function visitEachChildOfTemplateLiteralType(node, visitor, context, nodesVisitor, nodeVisitor, _tokenVisitor) { - return context.factory.updateTemplateLiteralType( - node, - Debug.checkDefined(nodeVisitor(node.head, visitor, isTemplateHead)), - nodesVisitor(node.templateSpans, visitor, isTemplateLiteralTypeSpan) - ); - }, - [204 /* TemplateLiteralTypeSpan */]: function visitEachChildOfTemplateLiteralTypeSpan(node, visitor, context, _nodesVisitor, nodeVisitor, _tokenVisitor) { - return context.factory.updateTemplateLiteralTypeSpan( - node, - Debug.checkDefined(nodeVisitor(node.type, visitor, isTypeNode)), - Debug.checkDefined(nodeVisitor(node.literal, visitor, isTemplateMiddleOrTemplateTail)) - ); - }, - // Binding patterns - [206 /* ObjectBindingPattern */]: function visitEachChildOfObjectBindingPattern(node, visitor, context, nodesVisitor, _nodeVisitor, _tokenVisitor) { - return context.factory.updateObjectBindingPattern( - node, - nodesVisitor(node.elements, visitor, isBindingElement) - ); - }, - [207 /* ArrayBindingPattern */]: function visitEachChildOfArrayBindingPattern(node, visitor, context, nodesVisitor, _nodeVisitor, _tokenVisitor) { - return context.factory.updateArrayBindingPattern( - node, - nodesVisitor(node.elements, visitor, isArrayBindingElement) - ); - }, - [208 /* BindingElement */]: function visitEachChildOfBindingElement(node, visitor, context, _nodesVisitor, nodeVisitor, tokenVisitor) { - return context.factory.updateBindingElement( - node, - tokenVisitor ? nodeVisitor(node.dotDotDotToken, tokenVisitor, isDotDotDotToken) : node.dotDotDotToken, - nodeVisitor(node.propertyName, visitor, isPropertyName), - Debug.checkDefined(nodeVisitor(node.name, visitor, isBindingName)), - nodeVisitor(node.initializer, visitor, isExpression) - ); - }, - // Expression - [209 /* ArrayLiteralExpression */]: function visitEachChildOfArrayLiteralExpression(node, visitor, context, nodesVisitor, _nodeVisitor, _tokenVisitor) { - return context.factory.updateArrayLiteralExpression( - node, - nodesVisitor(node.elements, visitor, isExpression) - ); - }, - [210 /* ObjectLiteralExpression */]: function visitEachChildOfObjectLiteralExpression(node, visitor, context, nodesVisitor, _nodeVisitor, _tokenVisitor) { - return context.factory.updateObjectLiteralExpression( - node, - nodesVisitor(node.properties, visitor, isObjectLiteralElementLike) - ); - }, - [211 /* PropertyAccessExpression */]: function visitEachChildOfPropertyAccessExpression(node, visitor, context, _nodesVisitor, nodeVisitor, tokenVisitor) { - return isPropertyAccessChain(node) ? context.factory.updatePropertyAccessChain( - node, - Debug.checkDefined(nodeVisitor(node.expression, visitor, isExpression)), - tokenVisitor ? nodeVisitor(node.questionDotToken, tokenVisitor, isQuestionDotToken) : node.questionDotToken, - Debug.checkDefined(nodeVisitor(node.name, visitor, isMemberName)) - ) : context.factory.updatePropertyAccessExpression( - node, - Debug.checkDefined(nodeVisitor(node.expression, visitor, isExpression)), - Debug.checkDefined(nodeVisitor(node.name, visitor, isMemberName)) - ); - }, - [212 /* ElementAccessExpression */]: function visitEachChildOfElementAccessExpression(node, visitor, context, _nodesVisitor, nodeVisitor, tokenVisitor) { - return isElementAccessChain(node) ? context.factory.updateElementAccessChain( - node, - Debug.checkDefined(nodeVisitor(node.expression, visitor, isExpression)), - tokenVisitor ? nodeVisitor(node.questionDotToken, tokenVisitor, isQuestionDotToken) : node.questionDotToken, - Debug.checkDefined(nodeVisitor(node.argumentExpression, visitor, isExpression)) - ) : context.factory.updateElementAccessExpression( - node, - Debug.checkDefined(nodeVisitor(node.expression, visitor, isExpression)), - Debug.checkDefined(nodeVisitor(node.argumentExpression, visitor, isExpression)) - ); - }, - [213 /* CallExpression */]: function visitEachChildOfCallExpression(node, visitor, context, nodesVisitor, nodeVisitor, tokenVisitor) { - return isCallChain(node) ? context.factory.updateCallChain( - node, - Debug.checkDefined(nodeVisitor(node.expression, visitor, isExpression)), - tokenVisitor ? nodeVisitor(node.questionDotToken, tokenVisitor, isQuestionDotToken) : node.questionDotToken, - nodesVisitor(node.typeArguments, visitor, isTypeNode), - nodesVisitor(node.arguments, visitor, isExpression) - ) : context.factory.updateCallExpression( - node, - Debug.checkDefined(nodeVisitor(node.expression, visitor, isExpression)), - nodesVisitor(node.typeArguments, visitor, isTypeNode), - nodesVisitor(node.arguments, visitor, isExpression) - ); - }, - [214 /* NewExpression */]: function visitEachChildOfNewExpression(node, visitor, context, nodesVisitor, nodeVisitor, _tokenVisitor) { - return context.factory.updateNewExpression( - node, - Debug.checkDefined(nodeVisitor(node.expression, visitor, isExpression)), - nodesVisitor(node.typeArguments, visitor, isTypeNode), - nodesVisitor(node.arguments, visitor, isExpression) - ); - }, - [215 /* TaggedTemplateExpression */]: function visitEachChildOfTaggedTemplateExpression(node, visitor, context, nodesVisitor, nodeVisitor, _tokenVisitor) { - return context.factory.updateTaggedTemplateExpression( - node, - Debug.checkDefined(nodeVisitor(node.tag, visitor, isExpression)), - nodesVisitor(node.typeArguments, visitor, isTypeNode), - Debug.checkDefined(nodeVisitor(node.template, visitor, isTemplateLiteral)) - ); - }, - [216 /* TypeAssertionExpression */]: function visitEachChildOfTypeAssertionExpression(node, visitor, context, _nodesVisitor, nodeVisitor, _tokenVisitor) { - return context.factory.updateTypeAssertion( - node, - Debug.checkDefined(nodeVisitor(node.type, visitor, isTypeNode)), - Debug.checkDefined(nodeVisitor(node.expression, visitor, isExpression)) - ); - }, - [217 /* ParenthesizedExpression */]: function visitEachChildOfParenthesizedExpression(node, visitor, context, _nodesVisitor, nodeVisitor, _tokenVisitor) { - return context.factory.updateParenthesizedExpression( - node, - Debug.checkDefined(nodeVisitor(node.expression, visitor, isExpression)) - ); - }, - [218 /* FunctionExpression */]: function visitEachChildOfFunctionExpression(node, visitor, context, nodesVisitor, nodeVisitor, tokenVisitor) { - return context.factory.updateFunctionExpression( - node, - nodesVisitor(node.modifiers, visitor, isModifier), - tokenVisitor ? nodeVisitor(node.asteriskToken, tokenVisitor, isAsteriskToken) : node.asteriskToken, - nodeVisitor(node.name, visitor, isIdentifier), - nodesVisitor(node.typeParameters, visitor, isTypeParameterDeclaration), - visitParameterList(node.parameters, visitor, context, nodesVisitor), - nodeVisitor(node.type, visitor, isTypeNode), - visitFunctionBody(node.body, visitor, context, nodeVisitor) - ); - }, - [219 /* ArrowFunction */]: function visitEachChildOfArrowFunction(node, visitor, context, nodesVisitor, nodeVisitor, tokenVisitor) { - return context.factory.updateArrowFunction( - node, - nodesVisitor(node.modifiers, visitor, isModifier), - nodesVisitor(node.typeParameters, visitor, isTypeParameterDeclaration), - visitParameterList(node.parameters, visitor, context, nodesVisitor), - nodeVisitor(node.type, visitor, isTypeNode), - tokenVisitor ? Debug.checkDefined(nodeVisitor(node.equalsGreaterThanToken, tokenVisitor, isEqualsGreaterThanToken)) : node.equalsGreaterThanToken, - visitFunctionBody(node.body, visitor, context, nodeVisitor) - ); - }, - [220 /* DeleteExpression */]: function visitEachChildOfDeleteExpression(node, visitor, context, _nodesVisitor, nodeVisitor, _tokenVisitor) { - return context.factory.updateDeleteExpression( - node, - Debug.checkDefined(nodeVisitor(node.expression, visitor, isExpression)) - ); - }, - [221 /* TypeOfExpression */]: function visitEachChildOfTypeOfExpression(node, visitor, context, _nodesVisitor, nodeVisitor, _tokenVisitor) { - return context.factory.updateTypeOfExpression( - node, - Debug.checkDefined(nodeVisitor(node.expression, visitor, isExpression)) - ); - }, - [222 /* VoidExpression */]: function visitEachChildOfVoidExpression(node, visitor, context, _nodesVisitor, nodeVisitor, _tokenVisitor) { - return context.factory.updateVoidExpression( - node, - Debug.checkDefined(nodeVisitor(node.expression, visitor, isExpression)) - ); - }, - [223 /* AwaitExpression */]: function visitEachChildOfAwaitExpression(node, visitor, context, _nodesVisitor, nodeVisitor, _tokenVisitor) { - return context.factory.updateAwaitExpression( - node, - Debug.checkDefined(nodeVisitor(node.expression, visitor, isExpression)) - ); - }, - [224 /* PrefixUnaryExpression */]: function visitEachChildOfPrefixUnaryExpression(node, visitor, context, _nodesVisitor, nodeVisitor, _tokenVisitor) { - return context.factory.updatePrefixUnaryExpression( - node, - Debug.checkDefined(nodeVisitor(node.operand, visitor, isExpression)) - ); - }, - [225 /* PostfixUnaryExpression */]: function visitEachChildOfPostfixUnaryExpression(node, visitor, context, _nodesVisitor, nodeVisitor, _tokenVisitor) { - return context.factory.updatePostfixUnaryExpression( - node, - Debug.checkDefined(nodeVisitor(node.operand, visitor, isExpression)) - ); - }, - [226 /* BinaryExpression */]: function visitEachChildOfBinaryExpression(node, visitor, context, _nodesVisitor, nodeVisitor, tokenVisitor) { - return context.factory.updateBinaryExpression( - node, - Debug.checkDefined(nodeVisitor(node.left, visitor, isExpression)), - tokenVisitor ? Debug.checkDefined(nodeVisitor(node.operatorToken, tokenVisitor, isBinaryOperatorToken)) : node.operatorToken, - Debug.checkDefined(nodeVisitor(node.right, visitor, isExpression)) - ); - }, - [227 /* ConditionalExpression */]: function visitEachChildOfConditionalExpression(node, visitor, context, _nodesVisitor, nodeVisitor, tokenVisitor) { - return context.factory.updateConditionalExpression( - node, - Debug.checkDefined(nodeVisitor(node.condition, visitor, isExpression)), - tokenVisitor ? Debug.checkDefined(nodeVisitor(node.questionToken, tokenVisitor, isQuestionToken)) : node.questionToken, - Debug.checkDefined(nodeVisitor(node.whenTrue, visitor, isExpression)), - tokenVisitor ? Debug.checkDefined(nodeVisitor(node.colonToken, tokenVisitor, isColonToken)) : node.colonToken, - Debug.checkDefined(nodeVisitor(node.whenFalse, visitor, isExpression)) - ); - }, - [228 /* TemplateExpression */]: function visitEachChildOfTemplateExpression(node, visitor, context, nodesVisitor, nodeVisitor, _tokenVisitor) { - return context.factory.updateTemplateExpression( - node, - Debug.checkDefined(nodeVisitor(node.head, visitor, isTemplateHead)), - nodesVisitor(node.templateSpans, visitor, isTemplateSpan) - ); - }, - [229 /* YieldExpression */]: function visitEachChildOfYieldExpression(node, visitor, context, _nodesVisitor, nodeVisitor, tokenVisitor) { - return context.factory.updateYieldExpression( - node, - tokenVisitor ? nodeVisitor(node.asteriskToken, tokenVisitor, isAsteriskToken) : node.asteriskToken, - nodeVisitor(node.expression, visitor, isExpression) - ); - }, - [230 /* SpreadElement */]: function visitEachChildOfSpreadElement(node, visitor, context, _nodesVisitor, nodeVisitor, _tokenVisitor) { - return context.factory.updateSpreadElement( - node, - Debug.checkDefined(nodeVisitor(node.expression, visitor, isExpression)) - ); - }, - [231 /* ClassExpression */]: function visitEachChildOfClassExpression(node, visitor, context, nodesVisitor, nodeVisitor, _tokenVisitor) { - return context.factory.updateClassExpression( - node, - nodesVisitor(node.modifiers, visitor, isModifierLike), - nodeVisitor(node.name, visitor, isIdentifier), - nodesVisitor(node.typeParameters, visitor, isTypeParameterDeclaration), - nodesVisitor(node.heritageClauses, visitor, isHeritageClause), - nodesVisitor(node.members, visitor, isClassElement) - ); - }, - [233 /* ExpressionWithTypeArguments */]: function visitEachChildOfExpressionWithTypeArguments(node, visitor, context, nodesVisitor, nodeVisitor, _tokenVisitor) { - return context.factory.updateExpressionWithTypeArguments( - node, - Debug.checkDefined(nodeVisitor(node.expression, visitor, isExpression)), - nodesVisitor(node.typeArguments, visitor, isTypeNode) - ); - }, - [234 /* AsExpression */]: function visitEachChildOfAsExpression(node, visitor, context, _nodesVisitor, nodeVisitor, _tokenVisitor) { - return context.factory.updateAsExpression( - node, - Debug.checkDefined(nodeVisitor(node.expression, visitor, isExpression)), - Debug.checkDefined(nodeVisitor(node.type, visitor, isTypeNode)) - ); - }, - [238 /* SatisfiesExpression */]: function visitEachChildOfSatisfiesExpression(node, visitor, context, _nodesVisitor, nodeVisitor, _tokenVisitor) { - return context.factory.updateSatisfiesExpression( - node, - Debug.checkDefined(nodeVisitor(node.expression, visitor, isExpression)), - Debug.checkDefined(nodeVisitor(node.type, visitor, isTypeNode)) - ); - }, - [235 /* NonNullExpression */]: function visitEachChildOfNonNullExpression(node, visitor, context, _nodesVisitor, nodeVisitor, _tokenVisitor) { - return isOptionalChain(node) ? context.factory.updateNonNullChain( - node, - Debug.checkDefined(nodeVisitor(node.expression, visitor, isExpression)) - ) : context.factory.updateNonNullExpression( - node, - Debug.checkDefined(nodeVisitor(node.expression, visitor, isExpression)) - ); - }, - [236 /* MetaProperty */]: function visitEachChildOfMetaProperty(node, visitor, context, _nodesVisitor, nodeVisitor, _tokenVisitor) { - return context.factory.updateMetaProperty( - node, - Debug.checkDefined(nodeVisitor(node.name, visitor, isIdentifier)) - ); - }, - // Misc - [239 /* TemplateSpan */]: function visitEachChildOfTemplateSpan(node, visitor, context, _nodesVisitor, nodeVisitor, _tokenVisitor) { - return context.factory.updateTemplateSpan( - node, - Debug.checkDefined(nodeVisitor(node.expression, visitor, isExpression)), - Debug.checkDefined(nodeVisitor(node.literal, visitor, isTemplateMiddleOrTemplateTail)) - ); - }, - // Element - [241 /* Block */]: function visitEachChildOfBlock(node, visitor, context, nodesVisitor, _nodeVisitor, _tokenVisitor) { - return context.factory.updateBlock( - node, - nodesVisitor(node.statements, visitor, isStatement) - ); - }, - [243 /* VariableStatement */]: function visitEachChildOfVariableStatement(node, visitor, context, nodesVisitor, nodeVisitor, _tokenVisitor) { - return context.factory.updateVariableStatement( - node, - nodesVisitor(node.modifiers, visitor, isModifierLike), - Debug.checkDefined(nodeVisitor(node.declarationList, visitor, isVariableDeclarationList)) - ); - }, - [244 /* ExpressionStatement */]: function visitEachChildOfExpressionStatement(node, visitor, context, _nodesVisitor, nodeVisitor, _tokenVisitor) { - return context.factory.updateExpressionStatement( - node, - Debug.checkDefined(nodeVisitor(node.expression, visitor, isExpression)) - ); - }, - [245 /* IfStatement */]: function visitEachChildOfIfStatement(node, visitor, context, _nodesVisitor, nodeVisitor, _tokenVisitor) { - return context.factory.updateIfStatement( - node, - Debug.checkDefined(nodeVisitor(node.expression, visitor, isExpression)), - Debug.checkDefined(nodeVisitor(node.thenStatement, visitor, isStatement, context.factory.liftToBlock)), - nodeVisitor(node.elseStatement, visitor, isStatement, context.factory.liftToBlock) - ); - }, - [246 /* DoStatement */]: function visitEachChildOfDoStatement(node, visitor, context, _nodesVisitor, nodeVisitor, _tokenVisitor) { - return context.factory.updateDoStatement( - node, - visitIterationBody(node.statement, visitor, context, nodeVisitor), - Debug.checkDefined(nodeVisitor(node.expression, visitor, isExpression)) - ); - }, - [247 /* WhileStatement */]: function visitEachChildOfWhileStatement(node, visitor, context, _nodesVisitor, nodeVisitor, _tokenVisitor) { - return context.factory.updateWhileStatement( - node, - Debug.checkDefined(nodeVisitor(node.expression, visitor, isExpression)), - visitIterationBody(node.statement, visitor, context, nodeVisitor) - ); - }, - [248 /* ForStatement */]: function visitEachChildOfForStatement(node, visitor, context, _nodesVisitor, nodeVisitor, _tokenVisitor) { - return context.factory.updateForStatement( - node, - nodeVisitor(node.initializer, visitor, isForInitializer), - nodeVisitor(node.condition, visitor, isExpression), - nodeVisitor(node.incrementor, visitor, isExpression), - visitIterationBody(node.statement, visitor, context, nodeVisitor) - ); - }, - [249 /* ForInStatement */]: function visitEachChildOfForInStatement(node, visitor, context, _nodesVisitor, nodeVisitor, _tokenVisitor) { - return context.factory.updateForInStatement( - node, - Debug.checkDefined(nodeVisitor(node.initializer, visitor, isForInitializer)), - Debug.checkDefined(nodeVisitor(node.expression, visitor, isExpression)), - visitIterationBody(node.statement, visitor, context, nodeVisitor) - ); - }, - [250 /* ForOfStatement */]: function visitEachChildOfForOfStatement(node, visitor, context, _nodesVisitor, nodeVisitor, tokenVisitor) { - return context.factory.updateForOfStatement( - node, - tokenVisitor ? nodeVisitor(node.awaitModifier, tokenVisitor, isAwaitKeyword) : node.awaitModifier, - Debug.checkDefined(nodeVisitor(node.initializer, visitor, isForInitializer)), - Debug.checkDefined(nodeVisitor(node.expression, visitor, isExpression)), - visitIterationBody(node.statement, visitor, context, nodeVisitor) - ); - }, - [251 /* ContinueStatement */]: function visitEachChildOfContinueStatement(node, visitor, context, _nodesVisitor, nodeVisitor, _tokenVisitor) { - return context.factory.updateContinueStatement( - node, - nodeVisitor(node.label, visitor, isIdentifier) - ); - }, - [252 /* BreakStatement */]: function visitEachChildOfBreakStatement(node, visitor, context, _nodesVisitor, nodeVisitor, _tokenVisitor) { - return context.factory.updateBreakStatement( - node, - nodeVisitor(node.label, visitor, isIdentifier) - ); - }, - [253 /* ReturnStatement */]: function visitEachChildOfReturnStatement(node, visitor, context, _nodesVisitor, nodeVisitor, _tokenVisitor) { - return context.factory.updateReturnStatement( - node, - nodeVisitor(node.expression, visitor, isExpression) - ); - }, - [254 /* WithStatement */]: function visitEachChildOfWithStatement(node, visitor, context, _nodesVisitor, nodeVisitor, _tokenVisitor) { - return context.factory.updateWithStatement( - node, - Debug.checkDefined(nodeVisitor(node.expression, visitor, isExpression)), - Debug.checkDefined(nodeVisitor(node.statement, visitor, isStatement, context.factory.liftToBlock)) - ); - }, - [255 /* SwitchStatement */]: function visitEachChildOfSwitchStatement(node, visitor, context, _nodesVisitor, nodeVisitor, _tokenVisitor) { - return context.factory.updateSwitchStatement( - node, - Debug.checkDefined(nodeVisitor(node.expression, visitor, isExpression)), - Debug.checkDefined(nodeVisitor(node.caseBlock, visitor, isCaseBlock)) - ); - }, - [256 /* LabeledStatement */]: function visitEachChildOfLabeledStatement(node, visitor, context, _nodesVisitor, nodeVisitor, _tokenVisitor) { - return context.factory.updateLabeledStatement( - node, - Debug.checkDefined(nodeVisitor(node.label, visitor, isIdentifier)), - Debug.checkDefined(nodeVisitor(node.statement, visitor, isStatement, context.factory.liftToBlock)) - ); - }, - [257 /* ThrowStatement */]: function visitEachChildOfThrowStatement(node, visitor, context, _nodesVisitor, nodeVisitor, _tokenVisitor) { - return context.factory.updateThrowStatement( - node, - Debug.checkDefined(nodeVisitor(node.expression, visitor, isExpression)) - ); - }, - [258 /* TryStatement */]: function visitEachChildOfTryStatement(node, visitor, context, _nodesVisitor, nodeVisitor, _tokenVisitor) { - return context.factory.updateTryStatement( - node, - Debug.checkDefined(nodeVisitor(node.tryBlock, visitor, isBlock)), - nodeVisitor(node.catchClause, visitor, isCatchClause), - nodeVisitor(node.finallyBlock, visitor, isBlock) - ); - }, - [260 /* VariableDeclaration */]: function visitEachChildOfVariableDeclaration(node, visitor, context, _nodesVisitor, nodeVisitor, tokenVisitor) { - return context.factory.updateVariableDeclaration( - node, - Debug.checkDefined(nodeVisitor(node.name, visitor, isBindingName)), - tokenVisitor ? nodeVisitor(node.exclamationToken, tokenVisitor, isExclamationToken) : node.exclamationToken, - nodeVisitor(node.type, visitor, isTypeNode), - nodeVisitor(node.initializer, visitor, isExpression) - ); - }, - [261 /* VariableDeclarationList */]: function visitEachChildOfVariableDeclarationList(node, visitor, context, nodesVisitor, _nodeVisitor, _tokenVisitor) { - return context.factory.updateVariableDeclarationList( - node, - nodesVisitor(node.declarations, visitor, isVariableDeclaration) - ); - }, - [262 /* FunctionDeclaration */]: function visitEachChildOfFunctionDeclaration(node, visitor, context, nodesVisitor, nodeVisitor, tokenVisitor) { - return context.factory.updateFunctionDeclaration( - node, - nodesVisitor(node.modifiers, visitor, isModifier), - tokenVisitor ? nodeVisitor(node.asteriskToken, tokenVisitor, isAsteriskToken) : node.asteriskToken, - nodeVisitor(node.name, visitor, isIdentifier), - nodesVisitor(node.typeParameters, visitor, isTypeParameterDeclaration), - visitParameterList(node.parameters, visitor, context, nodesVisitor), - nodeVisitor(node.type, visitor, isTypeNode), - visitFunctionBody(node.body, visitor, context, nodeVisitor) - ); - }, - [263 /* ClassDeclaration */]: function visitEachChildOfClassDeclaration(node, visitor, context, nodesVisitor, nodeVisitor, _tokenVisitor) { - return context.factory.updateClassDeclaration( - node, - nodesVisitor(node.modifiers, visitor, isModifierLike), - nodeVisitor(node.name, visitor, isIdentifier), - nodesVisitor(node.typeParameters, visitor, isTypeParameterDeclaration), - nodesVisitor(node.heritageClauses, visitor, isHeritageClause), - nodesVisitor(node.members, visitor, isClassElement) - ); - }, - [264 /* InterfaceDeclaration */]: function visitEachChildOfInterfaceDeclaration(node, visitor, context, nodesVisitor, nodeVisitor, _tokenVisitor) { - return context.factory.updateInterfaceDeclaration( - node, - nodesVisitor(node.modifiers, visitor, isModifierLike), - Debug.checkDefined(nodeVisitor(node.name, visitor, isIdentifier)), - nodesVisitor(node.typeParameters, visitor, isTypeParameterDeclaration), - nodesVisitor(node.heritageClauses, visitor, isHeritageClause), - nodesVisitor(node.members, visitor, isTypeElement) - ); - }, - [265 /* TypeAliasDeclaration */]: function visitEachChildOfTypeAliasDeclaration(node, visitor, context, nodesVisitor, nodeVisitor, _tokenVisitor) { - return context.factory.updateTypeAliasDeclaration( - node, - nodesVisitor(node.modifiers, visitor, isModifierLike), - Debug.checkDefined(nodeVisitor(node.name, visitor, isIdentifier)), - nodesVisitor(node.typeParameters, visitor, isTypeParameterDeclaration), - Debug.checkDefined(nodeVisitor(node.type, visitor, isTypeNode)) - ); - }, - [266 /* EnumDeclaration */]: function visitEachChildOfEnumDeclaration(node, visitor, context, nodesVisitor, nodeVisitor, _tokenVisitor) { - return context.factory.updateEnumDeclaration( - node, - nodesVisitor(node.modifiers, visitor, isModifierLike), - Debug.checkDefined(nodeVisitor(node.name, visitor, isIdentifier)), - nodesVisitor(node.members, visitor, isEnumMember) - ); - }, - [267 /* ModuleDeclaration */]: function visitEachChildOfModuleDeclaration(node, visitor, context, nodesVisitor, nodeVisitor, _tokenVisitor) { - return context.factory.updateModuleDeclaration( - node, - nodesVisitor(node.modifiers, visitor, isModifierLike), - Debug.checkDefined(nodeVisitor(node.name, visitor, isModuleName)), - nodeVisitor(node.body, visitor, isModuleBody) - ); - }, - [268 /* ModuleBlock */]: function visitEachChildOfModuleBlock(node, visitor, context, nodesVisitor, _nodeVisitor, _tokenVisitor) { - return context.factory.updateModuleBlock( - node, - nodesVisitor(node.statements, visitor, isStatement) - ); - }, - [269 /* CaseBlock */]: function visitEachChildOfCaseBlock(node, visitor, context, nodesVisitor, _nodeVisitor, _tokenVisitor) { - return context.factory.updateCaseBlock( - node, - nodesVisitor(node.clauses, visitor, isCaseOrDefaultClause) - ); - }, - [270 /* NamespaceExportDeclaration */]: function visitEachChildOfNamespaceExportDeclaration(node, visitor, context, _nodesVisitor, nodeVisitor, _tokenVisitor) { - return context.factory.updateNamespaceExportDeclaration( - node, - Debug.checkDefined(nodeVisitor(node.name, visitor, isIdentifier)) - ); - }, - [271 /* ImportEqualsDeclaration */]: function visitEachChildOfImportEqualsDeclaration(node, visitor, context, nodesVisitor, nodeVisitor, _tokenVisitor) { - return context.factory.updateImportEqualsDeclaration( - node, - nodesVisitor(node.modifiers, visitor, isModifierLike), - node.isTypeOnly, - Debug.checkDefined(nodeVisitor(node.name, visitor, isIdentifier)), - Debug.checkDefined(nodeVisitor(node.moduleReference, visitor, isModuleReference)) - ); - }, - [272 /* ImportDeclaration */]: function visitEachChildOfImportDeclaration(node, visitor, context, nodesVisitor, nodeVisitor, _tokenVisitor) { - return context.factory.updateImportDeclaration( - node, - nodesVisitor(node.modifiers, visitor, isModifierLike), - nodeVisitor(node.importClause, visitor, isImportClause), - Debug.checkDefined(nodeVisitor(node.moduleSpecifier, visitor, isExpression)), - nodeVisitor(node.attributes, visitor, isImportAttributes) - ); - }, - [300 /* ImportAttributes */]: function visitEachChildOfImportAttributes(node, visitor, context, nodesVisitor, _nodeVisitor, _tokenVisitor) { - return context.factory.updateImportAttributes( - node, - nodesVisitor(node.elements, visitor, isImportAttribute), - node.multiLine - ); - }, - [301 /* ImportAttribute */]: function visitEachChildOfImportAttribute(node, visitor, context, _nodesVisitor, nodeVisitor, _tokenVisitor) { - return context.factory.updateImportAttribute( - node, - Debug.checkDefined(nodeVisitor(node.name, visitor, isImportAttributeName)), - Debug.checkDefined(nodeVisitor(node.value, visitor, isExpression)) - ); - }, - [273 /* ImportClause */]: function visitEachChildOfImportClause(node, visitor, context, _nodesVisitor, nodeVisitor, _tokenVisitor) { - return context.factory.updateImportClause( - node, - node.isTypeOnly, - nodeVisitor(node.name, visitor, isIdentifier), - nodeVisitor(node.namedBindings, visitor, isNamedImportBindings) - ); - }, - [274 /* NamespaceImport */]: function visitEachChildOfNamespaceImport(node, visitor, context, _nodesVisitor, nodeVisitor, _tokenVisitor) { - return context.factory.updateNamespaceImport( - node, - Debug.checkDefined(nodeVisitor(node.name, visitor, isIdentifier)) - ); - }, - [280 /* NamespaceExport */]: function visitEachChildOfNamespaceExport(node, visitor, context, _nodesVisitor, nodeVisitor, _tokenVisitor) { - return context.factory.updateNamespaceExport( - node, - Debug.checkDefined(nodeVisitor(node.name, visitor, isIdentifier)) - ); - }, - [275 /* NamedImports */]: function visitEachChildOfNamedImports(node, visitor, context, nodesVisitor, _nodeVisitor, _tokenVisitor) { - return context.factory.updateNamedImports( - node, - nodesVisitor(node.elements, visitor, isImportSpecifier) - ); - }, - [276 /* ImportSpecifier */]: function visitEachChildOfImportSpecifier(node, visitor, context, _nodesVisitor, nodeVisitor, _tokenVisitor) { - return context.factory.updateImportSpecifier( - node, - node.isTypeOnly, - nodeVisitor(node.propertyName, visitor, isModuleExportName), - Debug.checkDefined(nodeVisitor(node.name, visitor, isIdentifier)) - ); - }, - [277 /* ExportAssignment */]: function visitEachChildOfExportAssignment(node, visitor, context, nodesVisitor, nodeVisitor, _tokenVisitor) { - return context.factory.updateExportAssignment( - node, - nodesVisitor(node.modifiers, visitor, isModifierLike), - Debug.checkDefined(nodeVisitor(node.expression, visitor, isExpression)) - ); - }, - [278 /* ExportDeclaration */]: function visitEachChildOfExportDeclaration(node, visitor, context, nodesVisitor, nodeVisitor, _tokenVisitor) { - return context.factory.updateExportDeclaration( - node, - nodesVisitor(node.modifiers, visitor, isModifierLike), - node.isTypeOnly, - nodeVisitor(node.exportClause, visitor, isNamedExportBindings), - nodeVisitor(node.moduleSpecifier, visitor, isExpression), - nodeVisitor(node.attributes, visitor, isImportAttributes) - ); - }, - [279 /* NamedExports */]: function visitEachChildOfNamedExports(node, visitor, context, nodesVisitor, _nodeVisitor, _tokenVisitor) { - return context.factory.updateNamedExports( - node, - nodesVisitor(node.elements, visitor, isExportSpecifier) - ); - }, - [281 /* ExportSpecifier */]: function visitEachChildOfExportSpecifier(node, visitor, context, _nodesVisitor, nodeVisitor, _tokenVisitor) { - return context.factory.updateExportSpecifier( - node, - node.isTypeOnly, - nodeVisitor(node.propertyName, visitor, isModuleExportName), - Debug.checkDefined(nodeVisitor(node.name, visitor, isModuleExportName)) - ); - }, - // Module references - [283 /* ExternalModuleReference */]: function visitEachChildOfExternalModuleReference(node, visitor, context, _nodesVisitor, nodeVisitor, _tokenVisitor) { - return context.factory.updateExternalModuleReference( - node, - Debug.checkDefined(nodeVisitor(node.expression, visitor, isExpression)) - ); - }, - // JSX - [284 /* JsxElement */]: function visitEachChildOfJsxElement(node, visitor, context, nodesVisitor, nodeVisitor, _tokenVisitor) { - return context.factory.updateJsxElement( - node, - Debug.checkDefined(nodeVisitor(node.openingElement, visitor, isJsxOpeningElement)), - nodesVisitor(node.children, visitor, isJsxChild), - Debug.checkDefined(nodeVisitor(node.closingElement, visitor, isJsxClosingElement)) - ); - }, - [285 /* JsxSelfClosingElement */]: function visitEachChildOfJsxSelfClosingElement(node, visitor, context, nodesVisitor, nodeVisitor, _tokenVisitor) { - return context.factory.updateJsxSelfClosingElement( - node, - Debug.checkDefined(nodeVisitor(node.tagName, visitor, isJsxTagNameExpression)), - nodesVisitor(node.typeArguments, visitor, isTypeNode), - Debug.checkDefined(nodeVisitor(node.attributes, visitor, isJsxAttributes)) - ); - }, - [286 /* JsxOpeningElement */]: function visitEachChildOfJsxOpeningElement(node, visitor, context, nodesVisitor, nodeVisitor, _tokenVisitor) { - return context.factory.updateJsxOpeningElement( - node, - Debug.checkDefined(nodeVisitor(node.tagName, visitor, isJsxTagNameExpression)), - nodesVisitor(node.typeArguments, visitor, isTypeNode), - Debug.checkDefined(nodeVisitor(node.attributes, visitor, isJsxAttributes)) - ); - }, - [287 /* JsxClosingElement */]: function visitEachChildOfJsxClosingElement(node, visitor, context, _nodesVisitor, nodeVisitor, _tokenVisitor) { - return context.factory.updateJsxClosingElement( - node, - Debug.checkDefined(nodeVisitor(node.tagName, visitor, isJsxTagNameExpression)) - ); - }, - [295 /* JsxNamespacedName */]: function forEachChildInJsxNamespacedName2(node, visitor, context, _nodesVisitor, nodeVisitor, _tokenVisitor) { - return context.factory.updateJsxNamespacedName( - node, - Debug.checkDefined(nodeVisitor(node.namespace, visitor, isIdentifier)), - Debug.checkDefined(nodeVisitor(node.name, visitor, isIdentifier)) - ); - }, - [288 /* JsxFragment */]: function visitEachChildOfJsxFragment(node, visitor, context, nodesVisitor, nodeVisitor, _tokenVisitor) { - return context.factory.updateJsxFragment( - node, - Debug.checkDefined(nodeVisitor(node.openingFragment, visitor, isJsxOpeningFragment)), - nodesVisitor(node.children, visitor, isJsxChild), - Debug.checkDefined(nodeVisitor(node.closingFragment, visitor, isJsxClosingFragment)) - ); - }, - [291 /* JsxAttribute */]: function visitEachChildOfJsxAttribute(node, visitor, context, _nodesVisitor, nodeVisitor, _tokenVisitor) { - return context.factory.updateJsxAttribute( - node, - Debug.checkDefined(nodeVisitor(node.name, visitor, isJsxAttributeName)), - nodeVisitor(node.initializer, visitor, isStringLiteralOrJsxExpression) - ); - }, - [292 /* JsxAttributes */]: function visitEachChildOfJsxAttributes(node, visitor, context, nodesVisitor, _nodeVisitor, _tokenVisitor) { - return context.factory.updateJsxAttributes( - node, - nodesVisitor(node.properties, visitor, isJsxAttributeLike) - ); - }, - [293 /* JsxSpreadAttribute */]: function visitEachChildOfJsxSpreadAttribute(node, visitor, context, _nodesVisitor, nodeVisitor, _tokenVisitor) { - return context.factory.updateJsxSpreadAttribute( - node, - Debug.checkDefined(nodeVisitor(node.expression, visitor, isExpression)) - ); - }, - [294 /* JsxExpression */]: function visitEachChildOfJsxExpression(node, visitor, context, _nodesVisitor, nodeVisitor, _tokenVisitor) { - return context.factory.updateJsxExpression( - node, - nodeVisitor(node.expression, visitor, isExpression) - ); - }, - // Clauses - [296 /* CaseClause */]: function visitEachChildOfCaseClause(node, visitor, context, nodesVisitor, nodeVisitor, _tokenVisitor) { - return context.factory.updateCaseClause( - node, - Debug.checkDefined(nodeVisitor(node.expression, visitor, isExpression)), - nodesVisitor(node.statements, visitor, isStatement) - ); - }, - [297 /* DefaultClause */]: function visitEachChildOfDefaultClause(node, visitor, context, nodesVisitor, _nodeVisitor, _tokenVisitor) { - return context.factory.updateDefaultClause( - node, - nodesVisitor(node.statements, visitor, isStatement) - ); - }, - [298 /* HeritageClause */]: function visitEachChildOfHeritageClause(node, visitor, context, nodesVisitor, _nodeVisitor, _tokenVisitor) { - return context.factory.updateHeritageClause( - node, - nodesVisitor(node.types, visitor, isExpressionWithTypeArguments) - ); - }, - [299 /* CatchClause */]: function visitEachChildOfCatchClause(node, visitor, context, _nodesVisitor, nodeVisitor, _tokenVisitor) { - return context.factory.updateCatchClause( - node, - nodeVisitor(node.variableDeclaration, visitor, isVariableDeclaration), - Debug.checkDefined(nodeVisitor(node.block, visitor, isBlock)) - ); - }, - // Property assignments - [303 /* PropertyAssignment */]: function visitEachChildOfPropertyAssignment(node, visitor, context, _nodesVisitor, nodeVisitor, _tokenVisitor) { - return context.factory.updatePropertyAssignment( - node, - Debug.checkDefined(nodeVisitor(node.name, visitor, isPropertyName)), - Debug.checkDefined(nodeVisitor(node.initializer, visitor, isExpression)) - ); - }, - [304 /* ShorthandPropertyAssignment */]: function visitEachChildOfShorthandPropertyAssignment(node, visitor, context, _nodesVisitor, nodeVisitor, _tokenVisitor) { - return context.factory.updateShorthandPropertyAssignment( - node, - Debug.checkDefined(nodeVisitor(node.name, visitor, isIdentifier)), - nodeVisitor(node.objectAssignmentInitializer, visitor, isExpression) - ); - }, - [305 /* SpreadAssignment */]: function visitEachChildOfSpreadAssignment(node, visitor, context, _nodesVisitor, nodeVisitor, _tokenVisitor) { - return context.factory.updateSpreadAssignment( - node, - Debug.checkDefined(nodeVisitor(node.expression, visitor, isExpression)) - ); - }, - // Enum - [306 /* EnumMember */]: function visitEachChildOfEnumMember(node, visitor, context, _nodesVisitor, nodeVisitor, _tokenVisitor) { - return context.factory.updateEnumMember( - node, - Debug.checkDefined(nodeVisitor(node.name, visitor, isPropertyName)), - nodeVisitor(node.initializer, visitor, isExpression) - ); - }, - // Top-level nodes - [307 /* SourceFile */]: function visitEachChildOfSourceFile(node, visitor, context, _nodesVisitor, _nodeVisitor, _tokenVisitor) { - return context.factory.updateSourceFile( - node, - visitLexicalEnvironment(node.statements, visitor, context) - ); - }, - // Transformation nodes - [354 /* PartiallyEmittedExpression */]: function visitEachChildOfPartiallyEmittedExpression(node, visitor, context, _nodesVisitor, nodeVisitor, _tokenVisitor) { - return context.factory.updatePartiallyEmittedExpression( - node, - Debug.checkDefined(nodeVisitor(node.expression, visitor, isExpression)) - ); - }, - [355 /* CommaListExpression */]: function visitEachChildOfCommaListExpression(node, visitor, context, nodesVisitor, _nodeVisitor, _tokenVisitor) { - return context.factory.updateCommaListExpression( - node, - nodesVisitor(node.elements, visitor, isExpression) - ); - } -}; -function extractSingleNode(nodes) { - Debug.assert(nodes.length <= 1, "Too many nodes written to output."); - return singleOrUndefined(nodes); -} - -// src/compiler/sourcemap.ts -function createSourceMapGenerator(host, file, sourceRoot, sourcesDirectoryPath, generatorOptions) { - var { enter, exit } = generatorOptions.extendedDiagnostics ? createTimer("Source Map", "beforeSourcemap", "afterSourcemap") : nullTimer; - var rawSources = []; - var sources = []; - var sourceToSourceIndexMap = /* @__PURE__ */ new Map(); - var sourcesContent; - var names = []; - var nameToNameIndexMap; - var mappingCharCodes = []; - var mappings = ""; - var lastGeneratedLine = 0; - var lastGeneratedCharacter = 0; - var lastSourceIndex = 0; - var lastSourceLine = 0; - var lastSourceCharacter = 0; - var lastNameIndex = 0; - var hasLast = false; - var pendingGeneratedLine = 0; - var pendingGeneratedCharacter = 0; - var pendingSourceIndex = 0; - var pendingSourceLine = 0; - var pendingSourceCharacter = 0; - var pendingNameIndex = 0; - var hasPending = false; - var hasPendingSource = false; - var hasPendingName = false; - return { - getSources: () => rawSources, - addSource, - setSourceContent, - addName, - addMapping, - appendSourceMap, - toJSON, - toString: () => JSON.stringify(toJSON()) - }; - function addSource(fileName) { - enter(); - const source = getRelativePathToDirectoryOrUrl( - sourcesDirectoryPath, - fileName, - host.getCurrentDirectory(), - host.getCanonicalFileName, - /*isAbsolutePathAnUrl*/ - true - ); - let sourceIndex = sourceToSourceIndexMap.get(source); - if (sourceIndex === void 0) { - sourceIndex = sources.length; - sources.push(source); - rawSources.push(fileName); - sourceToSourceIndexMap.set(source, sourceIndex); - } - exit(); - return sourceIndex; - } - function setSourceContent(sourceIndex, content) { - enter(); - if (content !== null) { - if (!sourcesContent) sourcesContent = []; - while (sourcesContent.length < sourceIndex) { - sourcesContent.push(null); - } - sourcesContent[sourceIndex] = content; - } - exit(); - } - function addName(name) { - enter(); - if (!nameToNameIndexMap) nameToNameIndexMap = /* @__PURE__ */ new Map(); - let nameIndex = nameToNameIndexMap.get(name); - if (nameIndex === void 0) { - nameIndex = names.length; - names.push(name); - nameToNameIndexMap.set(name, nameIndex); - } - exit(); - return nameIndex; - } - function isNewGeneratedPosition(generatedLine, generatedCharacter) { - return !hasPending || pendingGeneratedLine !== generatedLine || pendingGeneratedCharacter !== generatedCharacter; - } - function isBacktrackingSourcePosition(sourceIndex, sourceLine, sourceCharacter) { - return sourceIndex !== void 0 && sourceLine !== void 0 && sourceCharacter !== void 0 && pendingSourceIndex === sourceIndex && (pendingSourceLine > sourceLine || pendingSourceLine === sourceLine && pendingSourceCharacter > sourceCharacter); - } - function addMapping(generatedLine, generatedCharacter, sourceIndex, sourceLine, sourceCharacter, nameIndex) { - Debug.assert(generatedLine >= pendingGeneratedLine, "generatedLine cannot backtrack"); - Debug.assert(generatedCharacter >= 0, "generatedCharacter cannot be negative"); - Debug.assert(sourceIndex === void 0 || sourceIndex >= 0, "sourceIndex cannot be negative"); - Debug.assert(sourceLine === void 0 || sourceLine >= 0, "sourceLine cannot be negative"); - Debug.assert(sourceCharacter === void 0 || sourceCharacter >= 0, "sourceCharacter cannot be negative"); - enter(); - if (isNewGeneratedPosition(generatedLine, generatedCharacter) || isBacktrackingSourcePosition(sourceIndex, sourceLine, sourceCharacter)) { - commitPendingMapping(); - pendingGeneratedLine = generatedLine; - pendingGeneratedCharacter = generatedCharacter; - hasPendingSource = false; - hasPendingName = false; - hasPending = true; - } - if (sourceIndex !== void 0 && sourceLine !== void 0 && sourceCharacter !== void 0) { - pendingSourceIndex = sourceIndex; - pendingSourceLine = sourceLine; - pendingSourceCharacter = sourceCharacter; - hasPendingSource = true; - if (nameIndex !== void 0) { - pendingNameIndex = nameIndex; - hasPendingName = true; - } - } - exit(); - } - function appendSourceMap(generatedLine, generatedCharacter, map2, sourceMapPath, start, end) { - Debug.assert(generatedLine >= pendingGeneratedLine, "generatedLine cannot backtrack"); - Debug.assert(generatedCharacter >= 0, "generatedCharacter cannot be negative"); - enter(); - const sourceIndexToNewSourceIndexMap = []; - let nameIndexToNewNameIndexMap; - const mappingIterator = decodeMappings(map2.mappings); - for (const raw of mappingIterator) { - if (end && (raw.generatedLine > end.line || raw.generatedLine === end.line && raw.generatedCharacter > end.character)) { - break; - } - if (start && (raw.generatedLine < start.line || start.line === raw.generatedLine && raw.generatedCharacter < start.character)) { - continue; - } - let newSourceIndex; - let newSourceLine; - let newSourceCharacter; - let newNameIndex; - if (raw.sourceIndex !== void 0) { - newSourceIndex = sourceIndexToNewSourceIndexMap[raw.sourceIndex]; - if (newSourceIndex === void 0) { - const rawPath = map2.sources[raw.sourceIndex]; - const relativePath = map2.sourceRoot ? combinePaths(map2.sourceRoot, rawPath) : rawPath; - const combinedPath = combinePaths(getDirectoryPath(sourceMapPath), relativePath); - sourceIndexToNewSourceIndexMap[raw.sourceIndex] = newSourceIndex = addSource(combinedPath); - if (map2.sourcesContent && typeof map2.sourcesContent[raw.sourceIndex] === "string") { - setSourceContent(newSourceIndex, map2.sourcesContent[raw.sourceIndex]); - } - } - newSourceLine = raw.sourceLine; - newSourceCharacter = raw.sourceCharacter; - if (map2.names && raw.nameIndex !== void 0) { - if (!nameIndexToNewNameIndexMap) nameIndexToNewNameIndexMap = []; - newNameIndex = nameIndexToNewNameIndexMap[raw.nameIndex]; - if (newNameIndex === void 0) { - nameIndexToNewNameIndexMap[raw.nameIndex] = newNameIndex = addName(map2.names[raw.nameIndex]); - } - } - } - const rawGeneratedLine = raw.generatedLine - (start ? start.line : 0); - const newGeneratedLine = rawGeneratedLine + generatedLine; - const rawGeneratedCharacter = start && start.line === raw.generatedLine ? raw.generatedCharacter - start.character : raw.generatedCharacter; - const newGeneratedCharacter = rawGeneratedLine === 0 ? rawGeneratedCharacter + generatedCharacter : rawGeneratedCharacter; - addMapping(newGeneratedLine, newGeneratedCharacter, newSourceIndex, newSourceLine, newSourceCharacter, newNameIndex); - } - exit(); - } - function shouldCommitMapping() { - return !hasLast || lastGeneratedLine !== pendingGeneratedLine || lastGeneratedCharacter !== pendingGeneratedCharacter || lastSourceIndex !== pendingSourceIndex || lastSourceLine !== pendingSourceLine || lastSourceCharacter !== pendingSourceCharacter || lastNameIndex !== pendingNameIndex; - } - function appendMappingCharCode(charCode) { - mappingCharCodes.push(charCode); - if (mappingCharCodes.length >= 1024) { - flushMappingBuffer(); - } - } - function commitPendingMapping() { - if (!hasPending || !shouldCommitMapping()) { - return; - } - enter(); - if (lastGeneratedLine < pendingGeneratedLine) { - do { - appendMappingCharCode(59 /* semicolon */); - lastGeneratedLine++; - } while (lastGeneratedLine < pendingGeneratedLine); - lastGeneratedCharacter = 0; - } else { - Debug.assertEqual(lastGeneratedLine, pendingGeneratedLine, "generatedLine cannot backtrack"); - if (hasLast) { - appendMappingCharCode(44 /* comma */); - } - } - appendBase64VLQ(pendingGeneratedCharacter - lastGeneratedCharacter); - lastGeneratedCharacter = pendingGeneratedCharacter; - if (hasPendingSource) { - appendBase64VLQ(pendingSourceIndex - lastSourceIndex); - lastSourceIndex = pendingSourceIndex; - appendBase64VLQ(pendingSourceLine - lastSourceLine); - lastSourceLine = pendingSourceLine; - appendBase64VLQ(pendingSourceCharacter - lastSourceCharacter); - lastSourceCharacter = pendingSourceCharacter; - if (hasPendingName) { - appendBase64VLQ(pendingNameIndex - lastNameIndex); - lastNameIndex = pendingNameIndex; - } - } - hasLast = true; - exit(); - } - function flushMappingBuffer() { - if (mappingCharCodes.length > 0) { - mappings += String.fromCharCode.apply(void 0, mappingCharCodes); - mappingCharCodes.length = 0; - } - } - function toJSON() { - commitPendingMapping(); - flushMappingBuffer(); - return { - version: 3, - file, - sourceRoot, - sources, - names, - mappings, - sourcesContent - }; - } - function appendBase64VLQ(inValue) { - if (inValue < 0) { - inValue = (-inValue << 1) + 1; - } else { - inValue = inValue << 1; - } - do { - let currentDigit = inValue & 31; - inValue = inValue >> 5; - if (inValue > 0) { - currentDigit = currentDigit | 32; - } - appendMappingCharCode(base64FormatEncode(currentDigit)); - } while (inValue > 0); - } -} -var sourceMapCommentRegExpDontCareLineStart = /\/\/[@#] source[M]appingURL=(.+)\r?\n?$/; -var sourceMapCommentRegExp = /^\/\/[@#] source[M]appingURL=(.+)\r?\n?$/; -var whitespaceOrMapCommentRegExp = /^\s*(\/\/[@#] .*)?$/; -function decodeMappings(mappings) { - let done = false; - let pos = 0; - let generatedLine = 0; - let generatedCharacter = 0; - let sourceIndex = 0; - let sourceLine = 0; - let sourceCharacter = 0; - let nameIndex = 0; - let error; - return { - get pos() { - return pos; - }, - get error() { - return error; - }, - get state() { - return captureMapping( - /*hasSource*/ - true, - /*hasName*/ - true - ); - }, - next() { - while (!done && pos < mappings.length) { - const ch = mappings.charCodeAt(pos); - if (ch === 59 /* semicolon */) { - generatedLine++; - generatedCharacter = 0; - pos++; - continue; - } - if (ch === 44 /* comma */) { - pos++; - continue; - } - let hasSource = false; - let hasName = false; - generatedCharacter += base64VLQFormatDecode(); - if (hasReportedError()) return stopIterating(); - if (generatedCharacter < 0) return setErrorAndStopIterating("Invalid generatedCharacter found"); - if (!isSourceMappingSegmentEnd()) { - hasSource = true; - sourceIndex += base64VLQFormatDecode(); - if (hasReportedError()) return stopIterating(); - if (sourceIndex < 0) return setErrorAndStopIterating("Invalid sourceIndex found"); - if (isSourceMappingSegmentEnd()) return setErrorAndStopIterating("Unsupported Format: No entries after sourceIndex"); - sourceLine += base64VLQFormatDecode(); - if (hasReportedError()) return stopIterating(); - if (sourceLine < 0) return setErrorAndStopIterating("Invalid sourceLine found"); - if (isSourceMappingSegmentEnd()) return setErrorAndStopIterating("Unsupported Format: No entries after sourceLine"); - sourceCharacter += base64VLQFormatDecode(); - if (hasReportedError()) return stopIterating(); - if (sourceCharacter < 0) return setErrorAndStopIterating("Invalid sourceCharacter found"); - if (!isSourceMappingSegmentEnd()) { - hasName = true; - nameIndex += base64VLQFormatDecode(); - if (hasReportedError()) return stopIterating(); - if (nameIndex < 0) return setErrorAndStopIterating("Invalid nameIndex found"); - if (!isSourceMappingSegmentEnd()) return setErrorAndStopIterating("Unsupported Error Format: Entries after nameIndex"); - } - } - return { value: captureMapping(hasSource, hasName), done }; - } - return stopIterating(); - }, - [Symbol.iterator]() { - return this; - } - }; - function captureMapping(hasSource, hasName) { - return { - generatedLine, - generatedCharacter, - sourceIndex: hasSource ? sourceIndex : void 0, - sourceLine: hasSource ? sourceLine : void 0, - sourceCharacter: hasSource ? sourceCharacter : void 0, - nameIndex: hasName ? nameIndex : void 0 - }; - } - function stopIterating() { - done = true; - return { value: void 0, done: true }; - } - function setError(message) { - if (error === void 0) { - error = message; - } - } - function setErrorAndStopIterating(message) { - setError(message); - return stopIterating(); - } - function hasReportedError() { - return error !== void 0; - } - function isSourceMappingSegmentEnd() { - return pos === mappings.length || mappings.charCodeAt(pos) === 44 /* comma */ || mappings.charCodeAt(pos) === 59 /* semicolon */; - } - function base64VLQFormatDecode() { - let moreDigits = true; - let shiftCount = 0; - let value = 0; - for (; moreDigits; pos++) { - if (pos >= mappings.length) return setError("Error in decoding base64VLQFormatDecode, past the mapping string"), -1; - const currentByte = base64FormatDecode(mappings.charCodeAt(pos)); - if (currentByte === -1) return setError("Invalid character in VLQ"), -1; - moreDigits = (currentByte & 32) !== 0; - value = value | (currentByte & 31) << shiftCount; - shiftCount += 5; - } - if ((value & 1) === 0) { - value = value >> 1; - } else { - value = value >> 1; - value = -value; - } - return value; - } -} -function base64FormatEncode(value) { - return value >= 0 && value < 26 ? 65 /* A */ + value : value >= 26 && value < 52 ? 97 /* a */ + value - 26 : value >= 52 && value < 62 ? 48 /* _0 */ + value - 52 : value === 62 ? 43 /* plus */ : value === 63 ? 47 /* slash */ : Debug.fail(`${value}: not a base64 value`); -} -function base64FormatDecode(ch) { - return ch >= 65 /* A */ && ch <= 90 /* Z */ ? ch - 65 /* A */ : ch >= 97 /* a */ && ch <= 122 /* z */ ? ch - 97 /* a */ + 26 : ch >= 48 /* _0 */ && ch <= 57 /* _9 */ ? ch - 48 /* _0 */ + 52 : ch === 43 /* plus */ ? 62 : ch === 47 /* slash */ ? 63 : -1; -} - -// src/compiler/transformers/utilities.ts -function getOriginalNodeId(node) { - node = getOriginalNode(node); - return node ? getNodeId(node) : 0; -} -function containsDefaultReference(node) { - if (!node) return false; - if (!isNamedImports(node) && !isNamedExports(node)) return false; - return some(node.elements, isNamedDefaultReference); -} -function isNamedDefaultReference(e) { - return moduleExportNameIsDefault(e.propertyName || e.name); -} -function chainBundle(context, transformSourceFile) { - return transformSourceFileOrBundle; - function transformSourceFileOrBundle(node) { - return node.kind === 307 /* SourceFile */ ? transformSourceFile(node) : transformBundle(node); - } - function transformBundle(node) { - return context.factory.createBundle(map(node.sourceFiles, transformSourceFile)); - } -} -function getExportNeedsImportStarHelper(node) { - return !!getNamespaceDeclarationNode(node); -} -function getImportNeedsImportStarHelper(node) { - if (!!getNamespaceDeclarationNode(node)) { - return true; - } - const bindings = node.importClause && node.importClause.namedBindings; - if (!bindings) { - return false; - } - if (!isNamedImports(bindings)) return false; - let defaultRefCount = 0; - for (const binding of bindings.elements) { - if (isNamedDefaultReference(binding)) { - defaultRefCount++; - } - } - return defaultRefCount > 0 && defaultRefCount !== bindings.elements.length || !!(bindings.elements.length - defaultRefCount) && isDefaultImport(node); -} -function getImportNeedsImportDefaultHelper(node) { - return !getImportNeedsImportStarHelper(node) && (isDefaultImport(node) || !!node.importClause && isNamedImports(node.importClause.namedBindings) && containsDefaultReference(node.importClause.namedBindings)); -} -function collectExternalModuleInfo(context, sourceFile) { - const resolver = context.getEmitResolver(); - const compilerOptions = context.getCompilerOptions(); - const externalImports = []; - const exportSpecifiers = new IdentifierNameMultiMap(); - const exportedBindings = []; - const uniqueExports = /* @__PURE__ */ new Map(); - const exportedFunctions = /* @__PURE__ */ new Set(); - let exportedNames; - let hasExportDefault = false; - let exportEquals; - let hasExportStarsToExportValues = false; - let hasImportStar = false; - let hasImportDefault = false; - for (const node of sourceFile.statements) { - switch (node.kind) { - case 272 /* ImportDeclaration */: - externalImports.push(node); - if (!hasImportStar && getImportNeedsImportStarHelper(node)) { - hasImportStar = true; - } - if (!hasImportDefault && getImportNeedsImportDefaultHelper(node)) { - hasImportDefault = true; - } - break; - case 271 /* ImportEqualsDeclaration */: - if (node.moduleReference.kind === 283 /* ExternalModuleReference */) { - externalImports.push(node); - } - break; - case 278 /* ExportDeclaration */: - if (node.moduleSpecifier) { - if (!node.exportClause) { - externalImports.push(node); - hasExportStarsToExportValues = true; - } else { - externalImports.push(node); - if (isNamedExports(node.exportClause)) { - addExportedNamesForExportDeclaration(node); - hasImportDefault || (hasImportDefault = containsDefaultReference(node.exportClause)); - } else { - const name = node.exportClause.name; - const nameText = moduleExportNameTextUnescaped(name); - if (!uniqueExports.get(nameText)) { - multiMapSparseArrayAdd(exportedBindings, getOriginalNodeId(node), name); - uniqueExports.set(nameText, true); - exportedNames = append(exportedNames, name); - } - hasImportStar = true; - } - } - } else { - addExportedNamesForExportDeclaration(node); - } - break; - case 277 /* ExportAssignment */: - if (node.isExportEquals && !exportEquals) { - exportEquals = node; - } - break; - case 243 /* VariableStatement */: - if (hasSyntacticModifier(node, 32 /* Export */)) { - for (const decl of node.declarationList.declarations) { - exportedNames = collectExportedVariableInfo(decl, uniqueExports, exportedNames, exportedBindings); - } - } - break; - case 262 /* FunctionDeclaration */: - if (hasSyntacticModifier(node, 32 /* Export */)) { - addExportedFunctionDeclaration( - node, - /*name*/ - void 0, - hasSyntacticModifier(node, 2048 /* Default */) - ); - } - break; - case 263 /* ClassDeclaration */: - if (hasSyntacticModifier(node, 32 /* Export */)) { - if (hasSyntacticModifier(node, 2048 /* Default */)) { - if (!hasExportDefault) { - multiMapSparseArrayAdd(exportedBindings, getOriginalNodeId(node), context.factory.getDeclarationName(node)); - hasExportDefault = true; - } - } else { - const name = node.name; - if (name && !uniqueExports.get(idText(name))) { - multiMapSparseArrayAdd(exportedBindings, getOriginalNodeId(node), name); - uniqueExports.set(idText(name), true); - exportedNames = append(exportedNames, name); - } - } - } - break; - } - } - const externalHelpersImportDeclaration = createExternalHelpersImportDeclarationIfNeeded(context.factory, context.getEmitHelperFactory(), sourceFile, compilerOptions, hasExportStarsToExportValues, hasImportStar, hasImportDefault); - if (externalHelpersImportDeclaration) { - externalImports.unshift(externalHelpersImportDeclaration); - } - return { externalImports, exportSpecifiers, exportEquals, hasExportStarsToExportValues, exportedBindings, exportedNames, exportedFunctions, externalHelpersImportDeclaration }; - function addExportedNamesForExportDeclaration(node) { - for (const specifier of cast(node.exportClause, isNamedExports).elements) { - const specifierNameText = moduleExportNameTextUnescaped(specifier.name); - if (!uniqueExports.get(specifierNameText)) { - const name = specifier.propertyName || specifier.name; - if (name.kind !== 11 /* StringLiteral */) { - if (!node.moduleSpecifier) { - exportSpecifiers.add(name, specifier); - } - const decl = resolver.getReferencedImportDeclaration(name) || resolver.getReferencedValueDeclaration(name); - if (decl) { - if (decl.kind === 262 /* FunctionDeclaration */) { - addExportedFunctionDeclaration(decl, specifier.name, moduleExportNameIsDefault(specifier.name)); - continue; - } - multiMapSparseArrayAdd(exportedBindings, getOriginalNodeId(decl), specifier.name); - } - } - uniqueExports.set(specifierNameText, true); - exportedNames = append(exportedNames, specifier.name); - } - } - } - function addExportedFunctionDeclaration(node, name, isDefault) { - exportedFunctions.add(getOriginalNode(node, isFunctionDeclaration)); - if (isDefault) { - if (!hasExportDefault) { - multiMapSparseArrayAdd(exportedBindings, getOriginalNodeId(node), name ?? context.factory.getDeclarationName(node)); - hasExportDefault = true; - } - } else { - name ?? (name = node.name); - const nameText = moduleExportNameTextUnescaped(name); - if (!uniqueExports.get(nameText)) { - multiMapSparseArrayAdd(exportedBindings, getOriginalNodeId(node), name); - uniqueExports.set(nameText, true); - } - } - } -} -function collectExportedVariableInfo(decl, uniqueExports, exportedNames, exportedBindings) { - if (isBindingPattern(decl.name)) { - for (const element of decl.name.elements) { - if (!isOmittedExpression(element)) { - exportedNames = collectExportedVariableInfo(element, uniqueExports, exportedNames, exportedBindings); - } - } - } else if (!isGeneratedIdentifier(decl.name)) { - const text = idText(decl.name); - if (!uniqueExports.get(text)) { - uniqueExports.set(text, true); - exportedNames = append(exportedNames, decl.name); - if (isLocalName(decl.name)) { - multiMapSparseArrayAdd(exportedBindings, getOriginalNodeId(decl), decl.name); - } - } - } - return exportedNames; -} -function multiMapSparseArrayAdd(map2, key, value) { - let values = map2[key]; - if (values) { - values.push(value); - } else { - map2[key] = values = [value]; - } - return values; -} -var IdentifierNameMap = class _IdentifierNameMap { - constructor() { - this._map = /* @__PURE__ */ new Map(); - } - get size() { - return this._map.size; - } - has(key) { - return this._map.has(_IdentifierNameMap.toKey(key)); - } - get(key) { - return this._map.get(_IdentifierNameMap.toKey(key)); - } - set(key, value) { - this._map.set(_IdentifierNameMap.toKey(key), value); - return this; - } - delete(key) { - var _a; - return ((_a = this._map) == null ? void 0 : _a.delete(_IdentifierNameMap.toKey(key))) ?? false; - } - clear() { - this._map.clear(); - } - values() { - return this._map.values(); - } - static toKey(name) { - if (isGeneratedPrivateIdentifier(name) || isGeneratedIdentifier(name)) { - const autoGenerate = name.emitNode.autoGenerate; - if ((autoGenerate.flags & 7 /* KindMask */) === 4 /* Node */) { - const node = getNodeForGeneratedName(name); - const baseName = isMemberName(node) && node !== name ? _IdentifierNameMap.toKey(node) : `(generated@${getNodeId(node)})`; - return formatGeneratedName( - /*privateName*/ - false, - autoGenerate.prefix, - baseName, - autoGenerate.suffix, - _IdentifierNameMap.toKey - ); - } else { - const baseName = `(auto@${autoGenerate.id})`; - return formatGeneratedName( - /*privateName*/ - false, - autoGenerate.prefix, - baseName, - autoGenerate.suffix, - _IdentifierNameMap.toKey - ); - } - } - if (isPrivateIdentifier(name)) { - return idText(name).slice(1); - } - return idText(name); - } -}; -var IdentifierNameMultiMap = class extends IdentifierNameMap { - add(key, value) { - let values = this.get(key); - if (values) { - values.push(value); - } else { - this.set(key, values = [value]); - } - return values; - } - remove(key, value) { - const values = this.get(key); - if (values) { - unorderedRemoveItem(values, value); - if (!values.length) { - this.delete(key); - } - } - } -}; -function isSimpleCopiableExpression(expression) { - return isStringLiteralLike(expression) || expression.kind === 9 /* NumericLiteral */ || isKeyword(expression.kind) || isIdentifier(expression); -} -function isSimpleInlineableExpression(expression) { - return !isIdentifier(expression) && isSimpleCopiableExpression(expression); -} -function isCompoundAssignment(kind) { - return kind >= 65 /* FirstCompoundAssignment */ && kind <= 79 /* LastCompoundAssignment */; -} -function getNonAssignmentOperatorForCompoundAssignment(kind) { - switch (kind) { - case 65 /* PlusEqualsToken */: - return 40 /* PlusToken */; - case 66 /* MinusEqualsToken */: - return 41 /* MinusToken */; - case 67 /* AsteriskEqualsToken */: - return 42 /* AsteriskToken */; - case 68 /* AsteriskAsteriskEqualsToken */: - return 43 /* AsteriskAsteriskToken */; - case 69 /* SlashEqualsToken */: - return 44 /* SlashToken */; - case 70 /* PercentEqualsToken */: - return 45 /* PercentToken */; - case 71 /* LessThanLessThanEqualsToken */: - return 48 /* LessThanLessThanToken */; - case 72 /* GreaterThanGreaterThanEqualsToken */: - return 49 /* GreaterThanGreaterThanToken */; - case 73 /* GreaterThanGreaterThanGreaterThanEqualsToken */: - return 50 /* GreaterThanGreaterThanGreaterThanToken */; - case 74 /* AmpersandEqualsToken */: - return 51 /* AmpersandToken */; - case 75 /* BarEqualsToken */: - return 52 /* BarToken */; - case 79 /* CaretEqualsToken */: - return 53 /* CaretToken */; - case 76 /* BarBarEqualsToken */: - return 57 /* BarBarToken */; - case 77 /* AmpersandAmpersandEqualsToken */: - return 56 /* AmpersandAmpersandToken */; - case 78 /* QuestionQuestionEqualsToken */: - return 61 /* QuestionQuestionToken */; - } -} -function getSuperCallFromStatement(statement) { - if (!isExpressionStatement(statement)) { - return void 0; - } - const expression = skipParentheses(statement.expression); - return isSuperCall(expression) ? expression : void 0; -} -function findSuperStatementIndexPathWorker(statements, start, indices) { - for (let i = start; i < statements.length; i += 1) { - const statement = statements[i]; - if (getSuperCallFromStatement(statement)) { - indices.unshift(i); - return true; - } else if (isTryStatement(statement) && findSuperStatementIndexPathWorker(statement.tryBlock.statements, 0, indices)) { - indices.unshift(i); - return true; - } - } - return false; -} -function findSuperStatementIndexPath(statements, start) { - const indices = []; - findSuperStatementIndexPathWorker(statements, start, indices); - return indices; -} -function getProperties(node, requireInitializer, isStatic2) { - return filter(node.members, (m) => isInitializedOrStaticProperty(m, requireInitializer, isStatic2)); -} -function isStaticPropertyDeclarationOrClassStaticBlockDeclaration(element) { - return isStaticPropertyDeclaration(element) || isClassStaticBlockDeclaration(element); -} -function getStaticPropertiesAndClassStaticBlock(node) { - return filter(node.members, isStaticPropertyDeclarationOrClassStaticBlockDeclaration); -} -function isInitializedOrStaticProperty(member, requireInitializer, isStatic2) { - return isPropertyDeclaration(member) && (!!member.initializer || !requireInitializer) && hasStaticModifier(member) === isStatic2; -} -function isStaticPropertyDeclaration(member) { - return isPropertyDeclaration(member) && hasStaticModifier(member); -} -function isInitializedProperty(member) { - return member.kind === 172 /* PropertyDeclaration */ && member.initializer !== void 0; -} -function isNonStaticMethodOrAccessorWithPrivateName(member) { - return !isStatic(member) && (isMethodOrAccessor(member) || isAutoAccessorPropertyDeclaration(member)) && isPrivateIdentifier(member.name); -} -function getDecoratorsOfParameters(node) { - let decorators; - if (node) { - const parameters = node.parameters; - const firstParameterIsThis = parameters.length > 0 && parameterIsThisKeyword(parameters[0]); - const firstParameterOffset = firstParameterIsThis ? 1 : 0; - const numParameters = firstParameterIsThis ? parameters.length - 1 : parameters.length; - for (let i = 0; i < numParameters; i++) { - const parameter = parameters[i + firstParameterOffset]; - if (decorators || hasDecorators(parameter)) { - if (!decorators) { - decorators = new Array(numParameters); - } - decorators[i] = getDecorators(parameter); - } - } - } - return decorators; -} -function getAllDecoratorsOfClass(node) { - const decorators = getDecorators(node); - const parameters = getDecoratorsOfParameters(getFirstConstructorWithBody(node)); - if (!some(decorators) && !some(parameters)) { - return void 0; - } - return { - decorators, - parameters - }; -} -function getAllDecoratorsOfClassElement(member, parent, useLegacyDecorators) { - switch (member.kind) { - case 177 /* GetAccessor */: - case 178 /* SetAccessor */: - if (!useLegacyDecorators) { - return getAllDecoratorsOfMethod(member); - } - return getAllDecoratorsOfAccessors(member, parent); - case 174 /* MethodDeclaration */: - return getAllDecoratorsOfMethod(member); - case 172 /* PropertyDeclaration */: - return getAllDecoratorsOfProperty(member); - default: - return void 0; - } -} -function getAllDecoratorsOfAccessors(accessor, parent) { - if (!accessor.body) { - return void 0; - } - const { firstAccessor, secondAccessor, getAccessor, setAccessor } = getAllAccessorDeclarations(parent.members, accessor); - const firstAccessorWithDecorators = hasDecorators(firstAccessor) ? firstAccessor : secondAccessor && hasDecorators(secondAccessor) ? secondAccessor : void 0; - if (!firstAccessorWithDecorators || accessor !== firstAccessorWithDecorators) { - return void 0; - } - const decorators = getDecorators(firstAccessorWithDecorators); - const parameters = getDecoratorsOfParameters(setAccessor); - if (!some(decorators) && !some(parameters)) { - return void 0; - } - return { - decorators, - parameters, - getDecorators: getAccessor && getDecorators(getAccessor), - setDecorators: setAccessor && getDecorators(setAccessor) - }; -} -function getAllDecoratorsOfMethod(method) { - if (!method.body) { - return void 0; - } - const decorators = getDecorators(method); - const parameters = getDecoratorsOfParameters(method); - if (!some(decorators) && !some(parameters)) { - return void 0; - } - return { decorators, parameters }; -} -function getAllDecoratorsOfProperty(property) { - const decorators = getDecorators(property); - if (!some(decorators)) { - return void 0; - } - return { decorators }; -} -function walkUpLexicalEnvironments(env, cb) { - while (env) { - const result = cb(env); - if (result !== void 0) return result; - env = env.previous; - } -} -function newPrivateEnvironment(data) { - return { data }; -} -function getPrivateIdentifier(privateEnv, name) { - var _a, _b; - return isGeneratedPrivateIdentifier(name) ? (_a = privateEnv == null ? void 0 : privateEnv.generatedIdentifiers) == null ? void 0 : _a.get(getNodeForGeneratedName(name)) : (_b = privateEnv == null ? void 0 : privateEnv.identifiers) == null ? void 0 : _b.get(name.escapedText); -} -function setPrivateIdentifier(privateEnv, name, entry) { - if (isGeneratedPrivateIdentifier(name)) { - privateEnv.generatedIdentifiers ?? (privateEnv.generatedIdentifiers = /* @__PURE__ */ new Map()); - privateEnv.generatedIdentifiers.set(getNodeForGeneratedName(name), entry); - } else { - privateEnv.identifiers ?? (privateEnv.identifiers = /* @__PURE__ */ new Map()); - privateEnv.identifiers.set(name.escapedText, entry); - } -} -function accessPrivateIdentifier(env, name) { - return walkUpLexicalEnvironments(env, (env2) => getPrivateIdentifier(env2.privateEnv, name)); -} -function isSimpleParameter(node) { - return !node.initializer && isIdentifier(node.name); -} -function isSimpleParameterList(nodes) { - return every(nodes, isSimpleParameter); -} - -// src/compiler/transformers/destructuring.ts -function flattenDestructuringAssignment(node, visitor, context, level, needsValue, createAssignmentCallback) { - let location = node; - let value; - if (isDestructuringAssignment(node)) { - value = node.right; - while (isEmptyArrayLiteral(node.left) || isEmptyObjectLiteral(node.left)) { - if (isDestructuringAssignment(value)) { - location = node = value; - value = node.right; - } else { - return Debug.checkDefined(visitNode(value, visitor, isExpression)); - } - } - } - let expressions; - const flattenContext = { - context, - level, - downlevelIteration: !!context.getCompilerOptions().downlevelIteration, - hoistTempVariables: true, - emitExpression, - emitBindingOrAssignment, - createArrayBindingOrAssignmentPattern: (elements) => makeArrayAssignmentPattern(context.factory, elements), - createObjectBindingOrAssignmentPattern: (elements) => makeObjectAssignmentPattern(context.factory, elements), - createArrayBindingOrAssignmentElement: makeAssignmentElement, - visitor - }; - if (value) { - value = visitNode(value, visitor, isExpression); - Debug.assert(value); - if (isIdentifier(value) && bindingOrAssignmentElementAssignsToName(node, value.escapedText) || bindingOrAssignmentElementContainsNonLiteralComputedName(node)) { - value = ensureIdentifier( - flattenContext, - value, - /*reuseIdentifierExpressions*/ - false, - location - ); - } else if (needsValue) { - value = ensureIdentifier( - flattenContext, - value, - /*reuseIdentifierExpressions*/ - true, - location - ); - } else if (nodeIsSynthesized(node)) { - location = value; - } - } - flattenBindingOrAssignmentElement( - flattenContext, - node, - value, - location, - /*skipInitializer*/ - isDestructuringAssignment(node) - ); - if (value && needsValue) { - if (!some(expressions)) { - return value; - } - expressions.push(value); - } - return context.factory.inlineExpressions(expressions) || context.factory.createOmittedExpression(); - function emitExpression(expression) { - expressions = append(expressions, expression); - } - function emitBindingOrAssignment(target, value2, location2, original) { - Debug.assertNode(target, createAssignmentCallback ? isIdentifier : isExpression); - const expression = createAssignmentCallback ? createAssignmentCallback(target, value2, location2) : setTextRange( - context.factory.createAssignment(Debug.checkDefined(visitNode(target, visitor, isExpression)), value2), - location2 - ); - expression.original = original; - emitExpression(expression); - } -} -function bindingOrAssignmentElementAssignsToName(element, escapedName) { - const target = getTargetOfBindingOrAssignmentElement(element); - if (isBindingOrAssignmentPattern(target)) { - return bindingOrAssignmentPatternAssignsToName(target, escapedName); - } else if (isIdentifier(target)) { - return target.escapedText === escapedName; - } - return false; -} -function bindingOrAssignmentPatternAssignsToName(pattern, escapedName) { - const elements = getElementsOfBindingOrAssignmentPattern(pattern); - for (const element of elements) { - if (bindingOrAssignmentElementAssignsToName(element, escapedName)) { - return true; - } - } - return false; -} -function bindingOrAssignmentElementContainsNonLiteralComputedName(element) { - const propertyName = tryGetPropertyNameOfBindingOrAssignmentElement(element); - if (propertyName && isComputedPropertyName(propertyName) && !isLiteralExpression(propertyName.expression)) { - return true; - } - const target = getTargetOfBindingOrAssignmentElement(element); - return !!target && isBindingOrAssignmentPattern(target) && bindingOrAssignmentPatternContainsNonLiteralComputedName(target); -} -function bindingOrAssignmentPatternContainsNonLiteralComputedName(pattern) { - return !!forEach(getElementsOfBindingOrAssignmentPattern(pattern), bindingOrAssignmentElementContainsNonLiteralComputedName); -} -function flattenDestructuringBinding(node, visitor, context, level, rval, hoistTempVariables = false, skipInitializer) { - let pendingExpressions; - const pendingDeclarations = []; - const declarations = []; - const flattenContext = { - context, - level, - downlevelIteration: !!context.getCompilerOptions().downlevelIteration, - hoistTempVariables, - emitExpression, - emitBindingOrAssignment, - createArrayBindingOrAssignmentPattern: (elements) => makeArrayBindingPattern(context.factory, elements), - createObjectBindingOrAssignmentPattern: (elements) => makeObjectBindingPattern(context.factory, elements), - createArrayBindingOrAssignmentElement: (name) => makeBindingElement(context.factory, name), - visitor - }; - if (isVariableDeclaration(node)) { - let initializer = getInitializerOfBindingOrAssignmentElement(node); - if (initializer && (isIdentifier(initializer) && bindingOrAssignmentElementAssignsToName(node, initializer.escapedText) || bindingOrAssignmentElementContainsNonLiteralComputedName(node))) { - initializer = ensureIdentifier( - flattenContext, - Debug.checkDefined(visitNode(initializer, flattenContext.visitor, isExpression)), - /*reuseIdentifierExpressions*/ - false, - initializer - ); - node = context.factory.updateVariableDeclaration( - node, - node.name, - /*exclamationToken*/ - void 0, - /*type*/ - void 0, - initializer - ); - } - } - flattenBindingOrAssignmentElement(flattenContext, node, rval, node, skipInitializer); - if (pendingExpressions) { - const temp = context.factory.createTempVariable( - /*recordTempVariable*/ - void 0 - ); - if (hoistTempVariables) { - const value = context.factory.inlineExpressions(pendingExpressions); - pendingExpressions = void 0; - emitBindingOrAssignment( - temp, - value, - /*location*/ - void 0, - /*original*/ - void 0 - ); - } else { - context.hoistVariableDeclaration(temp); - const pendingDeclaration = last(pendingDeclarations); - pendingDeclaration.pendingExpressions = append( - pendingDeclaration.pendingExpressions, - context.factory.createAssignment(temp, pendingDeclaration.value) - ); - addRange(pendingDeclaration.pendingExpressions, pendingExpressions); - pendingDeclaration.value = temp; - } - } - for (const { pendingExpressions: pendingExpressions2, name, value, location, original } of pendingDeclarations) { - const variable = context.factory.createVariableDeclaration( - name, - /*exclamationToken*/ - void 0, - /*type*/ - void 0, - pendingExpressions2 ? context.factory.inlineExpressions(append(pendingExpressions2, value)) : value - ); - variable.original = original; - setTextRange(variable, location); - declarations.push(variable); - } - return declarations; - function emitExpression(value) { - pendingExpressions = append(pendingExpressions, value); - } - function emitBindingOrAssignment(target, value, location, original) { - Debug.assertNode(target, isBindingName); - if (pendingExpressions) { - value = context.factory.inlineExpressions(append(pendingExpressions, value)); - pendingExpressions = void 0; - } - pendingDeclarations.push({ pendingExpressions, name: target, value, location, original }); - } -} -function flattenBindingOrAssignmentElement(flattenContext, element, value, location, skipInitializer) { - const bindingTarget = getTargetOfBindingOrAssignmentElement(element); - if (!skipInitializer) { - const initializer = visitNode(getInitializerOfBindingOrAssignmentElement(element), flattenContext.visitor, isExpression); - if (initializer) { - if (value) { - value = createDefaultValueCheck(flattenContext, value, initializer, location); - if (!isSimpleInlineableExpression(initializer) && isBindingOrAssignmentPattern(bindingTarget)) { - value = ensureIdentifier( - flattenContext, - value, - /*reuseIdentifierExpressions*/ - true, - location - ); - } - } else { - value = initializer; - } - } else if (!value) { - value = flattenContext.context.factory.createVoidZero(); - } - } - if (isObjectBindingOrAssignmentPattern(bindingTarget)) { - flattenObjectBindingOrAssignmentPattern(flattenContext, element, bindingTarget, value, location); - } else if (isArrayBindingOrAssignmentPattern(bindingTarget)) { - flattenArrayBindingOrAssignmentPattern(flattenContext, element, bindingTarget, value, location); - } else { - flattenContext.emitBindingOrAssignment( - bindingTarget, - value, - location, - /*original*/ - element - ); - } -} -function flattenObjectBindingOrAssignmentPattern(flattenContext, parent, pattern, value, location) { - const elements = getElementsOfBindingOrAssignmentPattern(pattern); - const numElements = elements.length; - if (numElements !== 1) { - const reuseIdentifierExpressions = !isDeclarationBindingElement(parent) || numElements !== 0; - value = ensureIdentifier(flattenContext, value, reuseIdentifierExpressions, location); - } - let bindingElements; - let computedTempVariables; - for (let i = 0; i < numElements; i++) { - const element = elements[i]; - if (!getRestIndicatorOfBindingOrAssignmentElement(element)) { - const propertyName = getPropertyNameOfBindingOrAssignmentElement(element); - if (flattenContext.level >= 1 /* ObjectRest */ && !(element.transformFlags & (32768 /* ContainsRestOrSpread */ | 65536 /* ContainsObjectRestOrSpread */)) && !(getTargetOfBindingOrAssignmentElement(element).transformFlags & (32768 /* ContainsRestOrSpread */ | 65536 /* ContainsObjectRestOrSpread */)) && !isComputedPropertyName(propertyName)) { - bindingElements = append(bindingElements, visitNode(element, flattenContext.visitor, isBindingOrAssignmentElement)); - } else { - if (bindingElements) { - flattenContext.emitBindingOrAssignment(flattenContext.createObjectBindingOrAssignmentPattern(bindingElements), value, location, pattern); - bindingElements = void 0; - } - const rhsValue = createDestructuringPropertyAccess(flattenContext, value, propertyName); - if (isComputedPropertyName(propertyName)) { - computedTempVariables = append(computedTempVariables, rhsValue.argumentExpression); - } - flattenBindingOrAssignmentElement( - flattenContext, - element, - rhsValue, - /*location*/ - element - ); - } - } else if (i === numElements - 1) { - if (bindingElements) { - flattenContext.emitBindingOrAssignment(flattenContext.createObjectBindingOrAssignmentPattern(bindingElements), value, location, pattern); - bindingElements = void 0; - } - const rhsValue = flattenContext.context.getEmitHelperFactory().createRestHelper(value, elements, computedTempVariables, pattern); - flattenBindingOrAssignmentElement(flattenContext, element, rhsValue, element); - } - } - if (bindingElements) { - flattenContext.emitBindingOrAssignment(flattenContext.createObjectBindingOrAssignmentPattern(bindingElements), value, location, pattern); - } -} -function flattenArrayBindingOrAssignmentPattern(flattenContext, parent, pattern, value, location) { - const elements = getElementsOfBindingOrAssignmentPattern(pattern); - const numElements = elements.length; - if (flattenContext.level < 1 /* ObjectRest */ && flattenContext.downlevelIteration) { - value = ensureIdentifier( - flattenContext, - setTextRange( - flattenContext.context.getEmitHelperFactory().createReadHelper( - value, - numElements > 0 && getRestIndicatorOfBindingOrAssignmentElement(elements[numElements - 1]) ? void 0 : numElements - ), - location - ), - /*reuseIdentifierExpressions*/ - false, - location - ); - } else if (numElements !== 1 && (flattenContext.level < 1 /* ObjectRest */ || numElements === 0) || every(elements, isOmittedExpression)) { - const reuseIdentifierExpressions = !isDeclarationBindingElement(parent) || numElements !== 0; - value = ensureIdentifier(flattenContext, value, reuseIdentifierExpressions, location); - } - let bindingElements; - let restContainingElements; - for (let i = 0; i < numElements; i++) { - const element = elements[i]; - if (flattenContext.level >= 1 /* ObjectRest */) { - if (element.transformFlags & 65536 /* ContainsObjectRestOrSpread */ || flattenContext.hasTransformedPriorElement && !isSimpleBindingOrAssignmentElement(element)) { - flattenContext.hasTransformedPriorElement = true; - const temp = flattenContext.context.factory.createTempVariable( - /*recordTempVariable*/ - void 0 - ); - if (flattenContext.hoistTempVariables) { - flattenContext.context.hoistVariableDeclaration(temp); - } - restContainingElements = append(restContainingElements, [temp, element]); - bindingElements = append(bindingElements, flattenContext.createArrayBindingOrAssignmentElement(temp)); - } else { - bindingElements = append(bindingElements, element); - } - } else if (isOmittedExpression(element)) { - continue; - } else if (!getRestIndicatorOfBindingOrAssignmentElement(element)) { - const rhsValue = flattenContext.context.factory.createElementAccessExpression(value, i); - flattenBindingOrAssignmentElement( - flattenContext, - element, - rhsValue, - /*location*/ - element - ); - } else if (i === numElements - 1) { - const rhsValue = flattenContext.context.factory.createArraySliceCall(value, i); - flattenBindingOrAssignmentElement( - flattenContext, - element, - rhsValue, - /*location*/ - element - ); - } - } - if (bindingElements) { - flattenContext.emitBindingOrAssignment(flattenContext.createArrayBindingOrAssignmentPattern(bindingElements), value, location, pattern); - } - if (restContainingElements) { - for (const [id, element] of restContainingElements) { - flattenBindingOrAssignmentElement(flattenContext, element, id, element); - } - } -} -function isSimpleBindingOrAssignmentElement(element) { - const target = getTargetOfBindingOrAssignmentElement(element); - if (!target || isOmittedExpression(target)) return true; - const propertyName = tryGetPropertyNameOfBindingOrAssignmentElement(element); - if (propertyName && !isPropertyNameLiteral(propertyName)) return false; - const initializer = getInitializerOfBindingOrAssignmentElement(element); - if (initializer && !isSimpleInlineableExpression(initializer)) return false; - if (isBindingOrAssignmentPattern(target)) return every(getElementsOfBindingOrAssignmentPattern(target), isSimpleBindingOrAssignmentElement); - return isIdentifier(target); -} -function createDefaultValueCheck(flattenContext, value, defaultValue, location) { - value = ensureIdentifier( - flattenContext, - value, - /*reuseIdentifierExpressions*/ - true, - location - ); - return flattenContext.context.factory.createConditionalExpression( - flattenContext.context.factory.createTypeCheck(value, "undefined"), - /*questionToken*/ - void 0, - defaultValue, - /*colonToken*/ - void 0, - value - ); -} -function createDestructuringPropertyAccess(flattenContext, value, propertyName) { - const { factory: factory2 } = flattenContext.context; - if (isComputedPropertyName(propertyName)) { - const argumentExpression = ensureIdentifier( - flattenContext, - Debug.checkDefined(visitNode(propertyName.expression, flattenContext.visitor, isExpression)), - /*reuseIdentifierExpressions*/ - false, - /*location*/ - propertyName - ); - return flattenContext.context.factory.createElementAccessExpression(value, argumentExpression); - } else if (isStringOrNumericLiteralLike(propertyName) || isBigIntLiteral(propertyName)) { - const argumentExpression = factory2.cloneNode(propertyName); - return flattenContext.context.factory.createElementAccessExpression(value, argumentExpression); - } else { - const name = flattenContext.context.factory.createIdentifier(idText(propertyName)); - return flattenContext.context.factory.createPropertyAccessExpression(value, name); - } -} -function ensureIdentifier(flattenContext, value, reuseIdentifierExpressions, location) { - if (isIdentifier(value) && reuseIdentifierExpressions) { - return value; - } else { - const temp = flattenContext.context.factory.createTempVariable( - /*recordTempVariable*/ - void 0 - ); - if (flattenContext.hoistTempVariables) { - flattenContext.context.hoistVariableDeclaration(temp); - flattenContext.emitExpression(setTextRange(flattenContext.context.factory.createAssignment(temp, value), location)); - } else { - flattenContext.emitBindingOrAssignment( - temp, - value, - location, - /*original*/ - void 0 - ); - } - return temp; - } -} -function makeArrayBindingPattern(factory2, elements) { - Debug.assertEachNode(elements, isArrayBindingElement); - return factory2.createArrayBindingPattern(elements); -} -function makeArrayAssignmentPattern(factory2, elements) { - Debug.assertEachNode(elements, isArrayBindingOrAssignmentElement); - return factory2.createArrayLiteralExpression(map(elements, factory2.converters.convertToArrayAssignmentElement)); -} -function makeObjectBindingPattern(factory2, elements) { - Debug.assertEachNode(elements, isBindingElement); - return factory2.createObjectBindingPattern(elements); -} -function makeObjectAssignmentPattern(factory2, elements) { - Debug.assertEachNode(elements, isObjectBindingOrAssignmentElement); - return factory2.createObjectLiteralExpression(map(elements, factory2.converters.convertToObjectAssignmentElement)); -} -function makeBindingElement(factory2, name) { - return factory2.createBindingElement( - /*dotDotDotToken*/ - void 0, - /*propertyName*/ - void 0, - name - ); -} -function makeAssignmentElement(name) { - return name; -} - -// src/compiler/transformers/classThis.ts -function createClassThisAssignmentBlock(factory2, classThis, thisExpression = factory2.createThis()) { - const expression = factory2.createAssignment(classThis, thisExpression); - const statement = factory2.createExpressionStatement(expression); - const body = factory2.createBlock( - [statement], - /*multiLine*/ - false - ); - const block = factory2.createClassStaticBlockDeclaration(body); - getOrCreateEmitNode(block).classThis = classThis; - return block; -} -function isClassThisAssignmentBlock(node) { - var _a; - if (!isClassStaticBlockDeclaration(node) || node.body.statements.length !== 1) { - return false; - } - const statement = node.body.statements[0]; - return isExpressionStatement(statement) && isAssignmentExpression( - statement.expression, - /*excludeCompoundAssignment*/ - true - ) && isIdentifier(statement.expression.left) && ((_a = node.emitNode) == null ? void 0 : _a.classThis) === statement.expression.left && statement.expression.right.kind === 110 /* ThisKeyword */; -} -function classHasClassThisAssignment(node) { - var _a; - return !!((_a = node.emitNode) == null ? void 0 : _a.classThis) && some(node.members, isClassThisAssignmentBlock); -} -function injectClassThisAssignmentIfMissing(factory2, node, classThis, thisExpression) { - if (classHasClassThisAssignment(node)) { - return node; - } - const staticBlock = createClassThisAssignmentBlock(factory2, classThis, thisExpression); - if (node.name) { - setSourceMapRange(staticBlock.body.statements[0], node.name); - } - const members = factory2.createNodeArray([staticBlock, ...node.members]); - setTextRange(members, node.members); - const updatedNode = isClassDeclaration(node) ? factory2.updateClassDeclaration( - node, - node.modifiers, - node.name, - node.typeParameters, - node.heritageClauses, - members - ) : factory2.updateClassExpression( - node, - node.modifiers, - node.name, - node.typeParameters, - node.heritageClauses, - members - ); - getOrCreateEmitNode(updatedNode).classThis = classThis; - return updatedNode; -} - -// src/compiler/transformers/namedEvaluation.ts -function getAssignedNameOfIdentifier(factory2, name, expression) { - const original = getOriginalNode(skipOuterExpressions(expression)); - if ((isClassDeclaration(original) || isFunctionDeclaration(original)) && !original.name && hasSyntacticModifier(original, 2048 /* Default */)) { - return factory2.createStringLiteral("default"); - } - return factory2.createStringLiteralFromNode(name); -} -function getAssignedNameOfPropertyName(context, name, assignedNameText) { - const { factory: factory2 } = context; - if (assignedNameText !== void 0) { - const assignedName2 = factory2.createStringLiteral(assignedNameText); - return { assignedName: assignedName2, name }; - } - if (isPropertyNameLiteral(name) || isPrivateIdentifier(name)) { - const assignedName2 = factory2.createStringLiteralFromNode(name); - return { assignedName: assignedName2, name }; - } - if (isPropertyNameLiteral(name.expression) && !isIdentifier(name.expression)) { - const assignedName2 = factory2.createStringLiteralFromNode(name.expression); - return { assignedName: assignedName2, name }; - } - const assignedName = factory2.getGeneratedNameForNode(name); - context.hoistVariableDeclaration(assignedName); - const key = context.getEmitHelperFactory().createPropKeyHelper(name.expression); - const assignment = factory2.createAssignment(assignedName, key); - const updatedName = factory2.updateComputedPropertyName(name, assignment); - return { assignedName, name: updatedName }; -} -function createClassNamedEvaluationHelperBlock(context, assignedName, thisExpression = context.factory.createThis()) { - const { factory: factory2 } = context; - const expression = context.getEmitHelperFactory().createSetFunctionNameHelper(thisExpression, assignedName); - const statement = factory2.createExpressionStatement(expression); - const body = factory2.createBlock( - [statement], - /*multiLine*/ - false - ); - const block = factory2.createClassStaticBlockDeclaration(body); - getOrCreateEmitNode(block).assignedName = assignedName; - return block; -} -function isClassNamedEvaluationHelperBlock(node) { - var _a; - if (!isClassStaticBlockDeclaration(node) || node.body.statements.length !== 1) { - return false; - } - const statement = node.body.statements[0]; - return isExpressionStatement(statement) && isCallToHelper(statement.expression, "___setFunctionName") && statement.expression.arguments.length >= 2 && statement.expression.arguments[1] === ((_a = node.emitNode) == null ? void 0 : _a.assignedName); -} -function classHasExplicitlyAssignedName(node) { - var _a; - return !!((_a = node.emitNode) == null ? void 0 : _a.assignedName) && some(node.members, isClassNamedEvaluationHelperBlock); -} -function classHasDeclaredOrExplicitlyAssignedName(node) { - return !!node.name || classHasExplicitlyAssignedName(node); -} -function injectClassNamedEvaluationHelperBlockIfMissing(context, node, assignedName, thisExpression) { - if (classHasExplicitlyAssignedName(node)) { - return node; - } - const { factory: factory2 } = context; - const namedEvaluationBlock = createClassNamedEvaluationHelperBlock(context, assignedName, thisExpression); - if (node.name) { - setSourceMapRange(namedEvaluationBlock.body.statements[0], node.name); - } - const insertionIndex = findIndex(node.members, isClassThisAssignmentBlock) + 1; - const leading = node.members.slice(0, insertionIndex); - const trailing = node.members.slice(insertionIndex); - const members = factory2.createNodeArray([...leading, namedEvaluationBlock, ...trailing]); - setTextRange(members, node.members); - node = isClassDeclaration(node) ? factory2.updateClassDeclaration( - node, - node.modifiers, - node.name, - node.typeParameters, - node.heritageClauses, - members - ) : factory2.updateClassExpression( - node, - node.modifiers, - node.name, - node.typeParameters, - node.heritageClauses, - members - ); - getOrCreateEmitNode(node).assignedName = assignedName; - return node; -} -function finishTransformNamedEvaluation(context, expression, assignedName, ignoreEmptyStringLiteral) { - if (ignoreEmptyStringLiteral && isStringLiteral(assignedName) && isEmptyStringLiteral(assignedName)) { - return expression; - } - const { factory: factory2 } = context; - const innerExpression = skipOuterExpressions(expression); - const updatedExpression = isClassExpression(innerExpression) ? cast(injectClassNamedEvaluationHelperBlockIfMissing(context, innerExpression, assignedName), isClassExpression) : context.getEmitHelperFactory().createSetFunctionNameHelper(innerExpression, assignedName); - return factory2.restoreOuterExpressions(expression, updatedExpression); -} -function transformNamedEvaluationOfPropertyAssignment(context, node, ignoreEmptyStringLiteral, assignedNameText) { - const { factory: factory2 } = context; - const { assignedName, name } = getAssignedNameOfPropertyName(context, node.name, assignedNameText); - const initializer = finishTransformNamedEvaluation(context, node.initializer, assignedName, ignoreEmptyStringLiteral); - return factory2.updatePropertyAssignment( - node, - name, - initializer - ); -} -function transformNamedEvaluationOfShorthandAssignmentProperty(context, node, ignoreEmptyStringLiteral, assignedNameText) { - const { factory: factory2 } = context; - const assignedName = assignedNameText !== void 0 ? factory2.createStringLiteral(assignedNameText) : getAssignedNameOfIdentifier(factory2, node.name, node.objectAssignmentInitializer); - const objectAssignmentInitializer = finishTransformNamedEvaluation(context, node.objectAssignmentInitializer, assignedName, ignoreEmptyStringLiteral); - return factory2.updateShorthandPropertyAssignment( - node, - node.name, - objectAssignmentInitializer - ); -} -function transformNamedEvaluationOfVariableDeclaration(context, node, ignoreEmptyStringLiteral, assignedNameText) { - const { factory: factory2 } = context; - const assignedName = assignedNameText !== void 0 ? factory2.createStringLiteral(assignedNameText) : getAssignedNameOfIdentifier(factory2, node.name, node.initializer); - const initializer = finishTransformNamedEvaluation(context, node.initializer, assignedName, ignoreEmptyStringLiteral); - return factory2.updateVariableDeclaration( - node, - node.name, - node.exclamationToken, - node.type, - initializer - ); -} -function transformNamedEvaluationOfParameterDeclaration(context, node, ignoreEmptyStringLiteral, assignedNameText) { - const { factory: factory2 } = context; - const assignedName = assignedNameText !== void 0 ? factory2.createStringLiteral(assignedNameText) : getAssignedNameOfIdentifier(factory2, node.name, node.initializer); - const initializer = finishTransformNamedEvaluation(context, node.initializer, assignedName, ignoreEmptyStringLiteral); - return factory2.updateParameterDeclaration( - node, - node.modifiers, - node.dotDotDotToken, - node.name, - node.questionToken, - node.type, - initializer - ); -} -function transformNamedEvaluationOfBindingElement(context, node, ignoreEmptyStringLiteral, assignedNameText) { - const { factory: factory2 } = context; - const assignedName = assignedNameText !== void 0 ? factory2.createStringLiteral(assignedNameText) : getAssignedNameOfIdentifier(factory2, node.name, node.initializer); - const initializer = finishTransformNamedEvaluation(context, node.initializer, assignedName, ignoreEmptyStringLiteral); - return factory2.updateBindingElement( - node, - node.dotDotDotToken, - node.propertyName, - node.name, - initializer - ); -} -function transformNamedEvaluationOfPropertyDeclaration(context, node, ignoreEmptyStringLiteral, assignedNameText) { - const { factory: factory2 } = context; - const { assignedName, name } = getAssignedNameOfPropertyName(context, node.name, assignedNameText); - const initializer = finishTransformNamedEvaluation(context, node.initializer, assignedName, ignoreEmptyStringLiteral); - return factory2.updatePropertyDeclaration( - node, - node.modifiers, - name, - node.questionToken ?? node.exclamationToken, - node.type, - initializer - ); -} -function transformNamedEvaluationOfAssignmentExpression(context, node, ignoreEmptyStringLiteral, assignedNameText) { - const { factory: factory2 } = context; - const assignedName = assignedNameText !== void 0 ? factory2.createStringLiteral(assignedNameText) : getAssignedNameOfIdentifier(factory2, node.left, node.right); - const right = finishTransformNamedEvaluation(context, node.right, assignedName, ignoreEmptyStringLiteral); - return factory2.updateBinaryExpression( - node, - node.left, - node.operatorToken, - right - ); -} -function transformNamedEvaluationOfExportAssignment(context, node, ignoreEmptyStringLiteral, assignedNameText) { - const { factory: factory2 } = context; - const assignedName = assignedNameText !== void 0 ? factory2.createStringLiteral(assignedNameText) : factory2.createStringLiteral(node.isExportEquals ? "" : "default"); - const expression = finishTransformNamedEvaluation(context, node.expression, assignedName, ignoreEmptyStringLiteral); - return factory2.updateExportAssignment( - node, - node.modifiers, - expression - ); -} -function transformNamedEvaluation(context, node, ignoreEmptyStringLiteral, assignedName) { - switch (node.kind) { - case 303 /* PropertyAssignment */: - return transformNamedEvaluationOfPropertyAssignment(context, node, ignoreEmptyStringLiteral, assignedName); - case 304 /* ShorthandPropertyAssignment */: - return transformNamedEvaluationOfShorthandAssignmentProperty(context, node, ignoreEmptyStringLiteral, assignedName); - case 260 /* VariableDeclaration */: - return transformNamedEvaluationOfVariableDeclaration(context, node, ignoreEmptyStringLiteral, assignedName); - case 169 /* Parameter */: - return transformNamedEvaluationOfParameterDeclaration(context, node, ignoreEmptyStringLiteral, assignedName); - case 208 /* BindingElement */: - return transformNamedEvaluationOfBindingElement(context, node, ignoreEmptyStringLiteral, assignedName); - case 172 /* PropertyDeclaration */: - return transformNamedEvaluationOfPropertyDeclaration(context, node, ignoreEmptyStringLiteral, assignedName); - case 226 /* BinaryExpression */: - return transformNamedEvaluationOfAssignmentExpression(context, node, ignoreEmptyStringLiteral, assignedName); - case 277 /* ExportAssignment */: - return transformNamedEvaluationOfExportAssignment(context, node, ignoreEmptyStringLiteral, assignedName); - } -} - -// src/compiler/transformers/taggedTemplate.ts -function processTaggedTemplateExpression(context, node, visitor, currentSourceFile, recordTaggedTemplateString, level) { - const tag = visitNode(node.tag, visitor, isExpression); - Debug.assert(tag); - const templateArguments = [void 0]; - const cookedStrings = []; - const rawStrings = []; - const template = node.template; - if (level === 0 /* LiftRestriction */ && !hasInvalidEscape(template)) { - return visitEachChild(node, visitor, context); - } - const { factory: factory2 } = context; - if (isNoSubstitutionTemplateLiteral(template)) { - cookedStrings.push(createTemplateCooked(factory2, template)); - rawStrings.push(getRawLiteral(factory2, template, currentSourceFile)); - } else { - cookedStrings.push(createTemplateCooked(factory2, template.head)); - rawStrings.push(getRawLiteral(factory2, template.head, currentSourceFile)); - for (const templateSpan of template.templateSpans) { - cookedStrings.push(createTemplateCooked(factory2, templateSpan.literal)); - rawStrings.push(getRawLiteral(factory2, templateSpan.literal, currentSourceFile)); - templateArguments.push(Debug.checkDefined(visitNode(templateSpan.expression, visitor, isExpression))); - } - } - const helperCall = context.getEmitHelperFactory().createTemplateObjectHelper( - factory2.createArrayLiteralExpression(cookedStrings), - factory2.createArrayLiteralExpression(rawStrings) - ); - if (isExternalModule(currentSourceFile)) { - const tempVar = factory2.createUniqueName("templateObject"); - recordTaggedTemplateString(tempVar); - templateArguments[0] = factory2.createLogicalOr( - tempVar, - factory2.createAssignment( - tempVar, - helperCall - ) - ); - } else { - templateArguments[0] = helperCall; - } - return factory2.createCallExpression( - tag, - /*typeArguments*/ - void 0, - templateArguments - ); -} -function createTemplateCooked(factory2, template) { - return template.templateFlags & 26656 /* IsInvalid */ ? factory2.createVoidZero() : factory2.createStringLiteral(template.text); -} -function getRawLiteral(factory2, node, currentSourceFile) { - let text = node.rawText; - if (text === void 0) { - Debug.assertIsDefined(currentSourceFile, "Template literal node is missing 'rawText' and does not have a source file. Possibly bad transform."); - text = getSourceTextOfNodeFromSourceFile(currentSourceFile, node); - const isLast = node.kind === 15 /* NoSubstitutionTemplateLiteral */ || node.kind === 18 /* TemplateTail */; - text = text.substring(1, text.length - (isLast ? 1 : 2)); - } - text = text.replace(/\r\n?/g, "\n"); - return setTextRange(factory2.createStringLiteral(text), node); -} - -// src/compiler/transformers/ts.ts -var USE_NEW_TYPE_METADATA_FORMAT = false; -function transformTypeScript(context) { - const { - factory: factory2, - getEmitHelperFactory: emitHelpers, - startLexicalEnvironment, - resumeLexicalEnvironment, - endLexicalEnvironment, - hoistVariableDeclaration - } = context; - const resolver = context.getEmitResolver(); - const compilerOptions = context.getCompilerOptions(); - const languageVersion = getEmitScriptTarget(compilerOptions); - const moduleKind = getEmitModuleKind(compilerOptions); - const legacyDecorators = !!compilerOptions.experimentalDecorators; - const typeSerializer = compilerOptions.emitDecoratorMetadata ? createRuntimeTypeSerializer(context) : void 0; - const previousOnEmitNode = context.onEmitNode; - const previousOnSubstituteNode = context.onSubstituteNode; - context.onEmitNode = onEmitNode; - context.onSubstituteNode = onSubstituteNode; - context.enableSubstitution(211 /* PropertyAccessExpression */); - context.enableSubstitution(212 /* ElementAccessExpression */); - let currentSourceFile; - let currentNamespace; - let currentNamespaceContainerName; - let currentLexicalScope; - let currentScopeFirstDeclarationsOfName; - let enabledSubstitutions; - let applicableSubstitutions; - return transformSourceFileOrBundle; - function transformSourceFileOrBundle(node) { - if (node.kind === 308 /* Bundle */) { - return transformBundle(node); - } - return transformSourceFile(node); - } - function transformBundle(node) { - return factory2.createBundle( - node.sourceFiles.map(transformSourceFile) - ); - } - function transformSourceFile(node) { - if (node.isDeclarationFile) { - return node; - } - currentSourceFile = node; - const visited = saveStateAndInvoke(node, visitSourceFile); - addEmitHelpers(visited, context.readEmitHelpers()); - currentSourceFile = void 0; - return visited; - } - function saveStateAndInvoke(node, f) { - const savedCurrentScope = currentLexicalScope; - const savedCurrentScopeFirstDeclarationsOfName = currentScopeFirstDeclarationsOfName; - onBeforeVisitNode(node); - const visited = f(node); - if (currentLexicalScope !== savedCurrentScope) { - currentScopeFirstDeclarationsOfName = savedCurrentScopeFirstDeclarationsOfName; - } - currentLexicalScope = savedCurrentScope; - return visited; - } - function onBeforeVisitNode(node) { - switch (node.kind) { - case 307 /* SourceFile */: - case 269 /* CaseBlock */: - case 268 /* ModuleBlock */: - case 241 /* Block */: - currentLexicalScope = node; - currentScopeFirstDeclarationsOfName = void 0; - break; - case 263 /* ClassDeclaration */: - case 262 /* FunctionDeclaration */: - if (hasSyntacticModifier(node, 128 /* Ambient */)) { - break; - } - if (node.name) { - recordEmittedDeclarationInScope(node); - } else { - Debug.assert(node.kind === 263 /* ClassDeclaration */ || hasSyntacticModifier(node, 2048 /* Default */)); - } - break; - } - } - function visitor(node) { - return saveStateAndInvoke(node, visitorWorker); - } - function visitorWorker(node) { - if (node.transformFlags & 1 /* ContainsTypeScript */) { - return visitTypeScript(node); - } - return node; - } - function sourceElementVisitor(node) { - return saveStateAndInvoke(node, sourceElementVisitorWorker); - } - function sourceElementVisitorWorker(node) { - switch (node.kind) { - case 272 /* ImportDeclaration */: - case 271 /* ImportEqualsDeclaration */: - case 277 /* ExportAssignment */: - case 278 /* ExportDeclaration */: - return visitElidableStatement(node); - default: - return visitorWorker(node); - } - } - function isElisionBlocked(node) { - const parsed = getParseTreeNode(node); - if (parsed === node || isExportAssignment(node)) { - return false; - } - if (!parsed || parsed.kind !== node.kind) { - return true; - } - switch (node.kind) { - case 272 /* ImportDeclaration */: - Debug.assertNode(parsed, isImportDeclaration); - if (node.importClause !== parsed.importClause) { - return true; - } - if (node.attributes !== parsed.attributes) { - return true; - } - break; - case 271 /* ImportEqualsDeclaration */: - Debug.assertNode(parsed, isImportEqualsDeclaration); - if (node.name !== parsed.name) { - return true; - } - if (node.isTypeOnly !== parsed.isTypeOnly) { - return true; - } - if (node.moduleReference !== parsed.moduleReference && (isEntityName(node.moduleReference) || isEntityName(parsed.moduleReference))) { - return true; - } - break; - case 278 /* ExportDeclaration */: - Debug.assertNode(parsed, isExportDeclaration); - if (node.exportClause !== parsed.exportClause) { - return true; - } - if (node.attributes !== parsed.attributes) { - return true; - } - break; - } - return false; - } - function visitElidableStatement(node) { - if (isElisionBlocked(node)) { - if (node.transformFlags & 1 /* ContainsTypeScript */) { - return visitEachChild(node, visitor, context); - } - return node; - } - switch (node.kind) { - case 272 /* ImportDeclaration */: - return visitImportDeclaration(node); - case 271 /* ImportEqualsDeclaration */: - return visitImportEqualsDeclaration(node); - case 277 /* ExportAssignment */: - return visitExportAssignment(node); - case 278 /* ExportDeclaration */: - return visitExportDeclaration(node); - default: - Debug.fail("Unhandled ellided statement"); - } - } - function namespaceElementVisitor(node) { - return saveStateAndInvoke(node, namespaceElementVisitorWorker); - } - function namespaceElementVisitorWorker(node) { - if (node.kind === 278 /* ExportDeclaration */ || node.kind === 272 /* ImportDeclaration */ || node.kind === 273 /* ImportClause */ || node.kind === 271 /* ImportEqualsDeclaration */ && node.moduleReference.kind === 283 /* ExternalModuleReference */) { - return void 0; - } else if (node.transformFlags & 1 /* ContainsTypeScript */ || hasSyntacticModifier(node, 32 /* Export */)) { - return visitTypeScript(node); - } - return node; - } - function getClassElementVisitor(parent) { - return (node) => saveStateAndInvoke(node, (n) => classElementVisitorWorker(n, parent)); - } - function classElementVisitorWorker(node, parent) { - switch (node.kind) { - case 176 /* Constructor */: - return visitConstructor(node); - case 172 /* PropertyDeclaration */: - return visitPropertyDeclaration(node, parent); - case 177 /* GetAccessor */: - return visitGetAccessor(node, parent); - case 178 /* SetAccessor */: - return visitSetAccessor(node, parent); - case 174 /* MethodDeclaration */: - return visitMethodDeclaration(node, parent); - case 175 /* ClassStaticBlockDeclaration */: - return visitEachChild(node, visitor, context); - case 240 /* SemicolonClassElement */: - return node; - case 181 /* IndexSignature */: - return; - default: - return Debug.failBadSyntaxKind(node); - } - } - function getObjectLiteralElementVisitor(parent) { - return (node) => saveStateAndInvoke(node, (n) => objectLiteralElementVisitorWorker(n, parent)); - } - function objectLiteralElementVisitorWorker(node, parent) { - switch (node.kind) { - case 303 /* PropertyAssignment */: - case 304 /* ShorthandPropertyAssignment */: - case 305 /* SpreadAssignment */: - return visitor(node); - case 177 /* GetAccessor */: - return visitGetAccessor(node, parent); - case 178 /* SetAccessor */: - return visitSetAccessor(node, parent); - case 174 /* MethodDeclaration */: - return visitMethodDeclaration(node, parent); - default: - return Debug.failBadSyntaxKind(node); - } - } - function decoratorElidingVisitor(node) { - return isDecorator(node) ? void 0 : visitor(node); - } - function modifierElidingVisitor(node) { - return isModifier(node) ? void 0 : visitor(node); - } - function modifierVisitor(node) { - if (isDecorator(node)) return void 0; - if (modifierToFlag(node.kind) & 28895 /* TypeScriptModifier */) { - return void 0; - } else if (currentNamespace && node.kind === 95 /* ExportKeyword */) { - return void 0; - } - return node; - } - function visitTypeScript(node) { - if (isStatement(node) && hasSyntacticModifier(node, 128 /* Ambient */)) { - return factory2.createNotEmittedStatement(node); - } - switch (node.kind) { - case 95 /* ExportKeyword */: - case 90 /* DefaultKeyword */: - return currentNamespace ? void 0 : node; - case 125 /* PublicKeyword */: - case 123 /* PrivateKeyword */: - case 124 /* ProtectedKeyword */: - case 128 /* AbstractKeyword */: - case 164 /* OverrideKeyword */: - case 87 /* ConstKeyword */: - case 138 /* DeclareKeyword */: - case 148 /* ReadonlyKeyword */: - case 103 /* InKeyword */: - case 147 /* OutKeyword */: - case 188 /* ArrayType */: - case 189 /* TupleType */: - case 190 /* OptionalType */: - case 191 /* RestType */: - case 187 /* TypeLiteral */: - case 182 /* TypePredicate */: - case 168 /* TypeParameter */: - case 133 /* AnyKeyword */: - case 159 /* UnknownKeyword */: - case 136 /* BooleanKeyword */: - case 154 /* StringKeyword */: - case 150 /* NumberKeyword */: - case 146 /* NeverKeyword */: - case 116 /* VoidKeyword */: - case 155 /* SymbolKeyword */: - case 185 /* ConstructorType */: - case 184 /* FunctionType */: - case 186 /* TypeQuery */: - case 183 /* TypeReference */: - case 192 /* UnionType */: - case 193 /* IntersectionType */: - case 194 /* ConditionalType */: - case 196 /* ParenthesizedType */: - case 197 /* ThisType */: - case 198 /* TypeOperator */: - case 199 /* IndexedAccessType */: - case 200 /* MappedType */: - case 201 /* LiteralType */: - case 181 /* IndexSignature */: - return void 0; - case 265 /* TypeAliasDeclaration */: - return factory2.createNotEmittedStatement(node); - case 270 /* NamespaceExportDeclaration */: - return void 0; - case 264 /* InterfaceDeclaration */: - return factory2.createNotEmittedStatement(node); - case 263 /* ClassDeclaration */: - return visitClassDeclaration(node); - case 231 /* ClassExpression */: - return visitClassExpression(node); - case 298 /* HeritageClause */: - return visitHeritageClause(node); - case 233 /* ExpressionWithTypeArguments */: - return visitExpressionWithTypeArguments(node); - case 210 /* ObjectLiteralExpression */: - return visitObjectLiteralExpression(node); - case 176 /* Constructor */: - case 172 /* PropertyDeclaration */: - case 174 /* MethodDeclaration */: - case 177 /* GetAccessor */: - case 178 /* SetAccessor */: - case 175 /* ClassStaticBlockDeclaration */: - return Debug.fail("Class and object literal elements must be visited with their respective visitors"); - case 262 /* FunctionDeclaration */: - return visitFunctionDeclaration(node); - case 218 /* FunctionExpression */: - return visitFunctionExpression(node); - case 219 /* ArrowFunction */: - return visitArrowFunction(node); - case 169 /* Parameter */: - return visitParameter(node); - case 217 /* ParenthesizedExpression */: - return visitParenthesizedExpression(node); - case 216 /* TypeAssertionExpression */: - case 234 /* AsExpression */: - return visitAssertionExpression(node); - case 238 /* SatisfiesExpression */: - return visitSatisfiesExpression(node); - case 213 /* CallExpression */: - return visitCallExpression(node); - case 214 /* NewExpression */: - return visitNewExpression(node); - case 215 /* TaggedTemplateExpression */: - return visitTaggedTemplateExpression(node); - case 235 /* NonNullExpression */: - return visitNonNullExpression(node); - case 266 /* EnumDeclaration */: - return visitEnumDeclaration(node); - case 243 /* VariableStatement */: - return visitVariableStatement(node); - case 260 /* VariableDeclaration */: - return visitVariableDeclaration(node); - case 267 /* ModuleDeclaration */: - return visitModuleDeclaration(node); - case 271 /* ImportEqualsDeclaration */: - return visitImportEqualsDeclaration(node); - case 285 /* JsxSelfClosingElement */: - return visitJsxSelfClosingElement(node); - case 286 /* JsxOpeningElement */: - return visitJsxJsxOpeningElement(node); - default: - return visitEachChild(node, visitor, context); - } - } - function visitSourceFile(node) { - const alwaysStrict = getStrictOptionValue(compilerOptions, "alwaysStrict") && !(isExternalModule(node) && moduleKind >= 5 /* ES2015 */) && !isJsonSourceFile(node); - return factory2.updateSourceFile( - node, - visitLexicalEnvironment( - node.statements, - sourceElementVisitor, - context, - /*start*/ - 0, - alwaysStrict - ) - ); - } - function visitObjectLiteralExpression(node) { - return factory2.updateObjectLiteralExpression( - node, - visitNodes2(node.properties, getObjectLiteralElementVisitor(node), isObjectLiteralElementLike) - ); - } - function getClassFacts(node) { - let facts = 0 /* None */; - if (some(getProperties( - node, - /*requireInitializer*/ - true, - /*isStatic*/ - true - ))) facts |= 1 /* HasStaticInitializedProperties */; - const extendsClauseElement = getEffectiveBaseTypeNode(node); - if (extendsClauseElement && skipOuterExpressions(extendsClauseElement.expression).kind !== 106 /* NullKeyword */) facts |= 64 /* IsDerivedClass */; - if (classOrConstructorParameterIsDecorated(legacyDecorators, node)) facts |= 2 /* HasClassOrConstructorParameterDecorators */; - if (childIsDecorated(legacyDecorators, node)) facts |= 4 /* HasMemberDecorators */; - if (isExportOfNamespace(node)) facts |= 8 /* IsExportOfNamespace */; - else if (isDefaultExternalModuleExport(node)) facts |= 32 /* IsDefaultExternalExport */; - else if (isNamedExternalModuleExport(node)) facts |= 16 /* IsNamedExternalExport */; - return facts; - } - function hasTypeScriptClassSyntax(node) { - return !!(node.transformFlags & 8192 /* ContainsTypeScriptClassSyntax */); - } - function isClassLikeDeclarationWithTypeScriptSyntax(node) { - return hasDecorators(node) || some(node.typeParameters) || some(node.heritageClauses, hasTypeScriptClassSyntax) || some(node.members, hasTypeScriptClassSyntax); - } - function visitClassDeclaration(node) { - const facts = getClassFacts(node); - const promoteToIIFE = languageVersion <= 1 /* ES5 */ && !!(facts & 7 /* MayNeedImmediatelyInvokedFunctionExpression */); - if (!isClassLikeDeclarationWithTypeScriptSyntax(node) && !classOrConstructorParameterIsDecorated(legacyDecorators, node) && !isExportOfNamespace(node)) { - return factory2.updateClassDeclaration( - node, - visitNodes2(node.modifiers, modifierVisitor, isModifier), - node.name, - /*typeParameters*/ - void 0, - visitNodes2(node.heritageClauses, visitor, isHeritageClause), - visitNodes2(node.members, getClassElementVisitor(node), isClassElement) - ); - } - if (promoteToIIFE) { - context.startLexicalEnvironment(); - } - const moveModifiers = promoteToIIFE || facts & 8 /* IsExportOfNamespace */; - let modifiers = moveModifiers ? visitNodes2(node.modifiers, modifierElidingVisitor, isModifierLike) : visitNodes2(node.modifiers, visitor, isModifierLike); - if (facts & 2 /* HasClassOrConstructorParameterDecorators */) { - modifiers = injectClassTypeMetadata(modifiers, node); - } - const needsName = moveModifiers && !node.name || facts & 4 /* HasMemberDecorators */ || facts & 1 /* HasStaticInitializedProperties */; - const name = needsName ? node.name ?? factory2.getGeneratedNameForNode(node) : node.name; - const classDeclaration = factory2.updateClassDeclaration( - node, - modifiers, - name, - /*typeParameters*/ - void 0, - visitNodes2(node.heritageClauses, visitor, isHeritageClause), - transformClassMembers(node) - ); - let emitFlags = getEmitFlags(node); - if (facts & 1 /* HasStaticInitializedProperties */) { - emitFlags |= 64 /* NoTrailingSourceMap */; - } - setEmitFlags(classDeclaration, emitFlags); - let statement; - if (promoteToIIFE) { - const statements = [classDeclaration]; - const closingBraceLocation = createTokenRange(skipTrivia(currentSourceFile.text, node.members.end), 20 /* CloseBraceToken */); - const localName = factory2.getInternalName(node); - const outer = factory2.createPartiallyEmittedExpression(localName); - setTextRangeEnd(outer, closingBraceLocation.end); - setEmitFlags(outer, 3072 /* NoComments */); - const returnStatement = factory2.createReturnStatement(outer); - setTextRangePos(returnStatement, closingBraceLocation.pos); - setEmitFlags(returnStatement, 3072 /* NoComments */ | 768 /* NoTokenSourceMaps */); - statements.push(returnStatement); - insertStatementsAfterStandardPrologue(statements, context.endLexicalEnvironment()); - const iife = factory2.createImmediatelyInvokedArrowFunction(statements); - setInternalEmitFlags(iife, 1 /* TypeScriptClassWrapper */); - const varDecl = factory2.createVariableDeclaration( - factory2.getLocalName( - node, - /*allowComments*/ - false, - /*allowSourceMaps*/ - false - ), - /*exclamationToken*/ - void 0, - /*type*/ - void 0, - iife - ); - setOriginalNode(varDecl, node); - const varStatement = factory2.createVariableStatement( - /*modifiers*/ - void 0, - factory2.createVariableDeclarationList([varDecl], 1 /* Let */) - ); - setOriginalNode(varStatement, node); - setCommentRange(varStatement, node); - setSourceMapRange(varStatement, moveRangePastDecorators(node)); - startOnNewLine(varStatement); - statement = varStatement; - } else { - statement = classDeclaration; - } - if (moveModifiers) { - if (facts & 8 /* IsExportOfNamespace */) { - return [ - statement, - createExportMemberAssignmentStatement(node) - ]; - } - if (facts & 32 /* IsDefaultExternalExport */) { - return [ - statement, - factory2.createExportDefault(factory2.getLocalName( - node, - /*allowComments*/ - false, - /*allowSourceMaps*/ - true - )) - ]; - } - if (facts & 16 /* IsNamedExternalExport */) { - return [ - statement, - factory2.createExternalModuleExport(factory2.getDeclarationName( - node, - /*allowComments*/ - false, - /*allowSourceMaps*/ - true - )) - ]; - } - } - return statement; - } - function visitClassExpression(node) { - let modifiers = visitNodes2(node.modifiers, modifierElidingVisitor, isModifierLike); - if (classOrConstructorParameterIsDecorated(legacyDecorators, node)) { - modifiers = injectClassTypeMetadata(modifiers, node); - } - return factory2.updateClassExpression( - node, - modifiers, - node.name, - /*typeParameters*/ - void 0, - visitNodes2(node.heritageClauses, visitor, isHeritageClause), - transformClassMembers(node) - ); - } - function transformClassMembers(node) { - const members = visitNodes2(node.members, getClassElementVisitor(node), isClassElement); - let newMembers; - const constructor = getFirstConstructorWithBody(node); - const parametersWithPropertyAssignments = constructor && filter(constructor.parameters, (p) => isParameterPropertyDeclaration(p, constructor)); - if (parametersWithPropertyAssignments) { - for (const parameter of parametersWithPropertyAssignments) { - const parameterProperty = factory2.createPropertyDeclaration( - /*modifiers*/ - void 0, - parameter.name, - /*questionOrExclamationToken*/ - void 0, - /*type*/ - void 0, - /*initializer*/ - void 0 - ); - setOriginalNode(parameterProperty, parameter); - newMembers = append(newMembers, parameterProperty); - } - } - if (newMembers) { - newMembers = addRange(newMembers, members); - return setTextRange( - factory2.createNodeArray(newMembers), - /*location*/ - node.members - ); - } - return members; - } - function injectClassTypeMetadata(modifiers, node) { - const metadata = getTypeMetadata(node, node); - if (some(metadata)) { - const modifiersArray = []; - addRange(modifiersArray, takeWhile(modifiers, isExportOrDefaultModifier)); - addRange(modifiersArray, filter(modifiers, isDecorator)); - addRange(modifiersArray, metadata); - addRange(modifiersArray, filter(skipWhile(modifiers, isExportOrDefaultModifier), isModifier)); - modifiers = setTextRange(factory2.createNodeArray(modifiersArray), modifiers); - } - return modifiers; - } - function injectClassElementTypeMetadata(modifiers, node, container) { - if (isClassLike(container) && classElementOrClassElementParameterIsDecorated(legacyDecorators, node, container)) { - const metadata = getTypeMetadata(node, container); - if (some(metadata)) { - const modifiersArray = []; - addRange(modifiersArray, filter(modifiers, isDecorator)); - addRange(modifiersArray, metadata); - addRange(modifiersArray, filter(modifiers, isModifier)); - modifiers = setTextRange(factory2.createNodeArray(modifiersArray), modifiers); - } - } - return modifiers; - } - function getTypeMetadata(node, container) { - if (!legacyDecorators) return void 0; - return USE_NEW_TYPE_METADATA_FORMAT ? getNewTypeMetadata(node, container) : getOldTypeMetadata(node, container); - } - function getOldTypeMetadata(node, container) { - if (typeSerializer) { - let decorators; - if (shouldAddTypeMetadata(node)) { - const typeMetadata = emitHelpers().createMetadataHelper("design:type", typeSerializer.serializeTypeOfNode({ currentLexicalScope, currentNameScope: container }, node, container)); - decorators = append(decorators, factory2.createDecorator(typeMetadata)); - } - if (shouldAddParamTypesMetadata(node)) { - const paramTypesMetadata = emitHelpers().createMetadataHelper("design:paramtypes", typeSerializer.serializeParameterTypesOfNode({ currentLexicalScope, currentNameScope: container }, node, container)); - decorators = append(decorators, factory2.createDecorator(paramTypesMetadata)); - } - if (shouldAddReturnTypeMetadata(node)) { - const returnTypeMetadata = emitHelpers().createMetadataHelper("design:returntype", typeSerializer.serializeReturnTypeOfNode({ currentLexicalScope, currentNameScope: container }, node)); - decorators = append(decorators, factory2.createDecorator(returnTypeMetadata)); - } - return decorators; - } - } - function getNewTypeMetadata(node, container) { - if (typeSerializer) { - let properties; - if (shouldAddTypeMetadata(node)) { - const typeProperty = factory2.createPropertyAssignment("type", factory2.createArrowFunction( - /*modifiers*/ - void 0, - /*typeParameters*/ - void 0, - [], - /*type*/ - void 0, - factory2.createToken(39 /* EqualsGreaterThanToken */), - typeSerializer.serializeTypeOfNode({ currentLexicalScope, currentNameScope: container }, node, container) - )); - properties = append(properties, typeProperty); - } - if (shouldAddParamTypesMetadata(node)) { - const paramTypeProperty = factory2.createPropertyAssignment("paramTypes", factory2.createArrowFunction( - /*modifiers*/ - void 0, - /*typeParameters*/ - void 0, - [], - /*type*/ - void 0, - factory2.createToken(39 /* EqualsGreaterThanToken */), - typeSerializer.serializeParameterTypesOfNode({ currentLexicalScope, currentNameScope: container }, node, container) - )); - properties = append(properties, paramTypeProperty); - } - if (shouldAddReturnTypeMetadata(node)) { - const returnTypeProperty = factory2.createPropertyAssignment("returnType", factory2.createArrowFunction( - /*modifiers*/ - void 0, - /*typeParameters*/ - void 0, - [], - /*type*/ - void 0, - factory2.createToken(39 /* EqualsGreaterThanToken */), - typeSerializer.serializeReturnTypeOfNode({ currentLexicalScope, currentNameScope: container }, node) - )); - properties = append(properties, returnTypeProperty); - } - if (properties) { - const typeInfoMetadata = emitHelpers().createMetadataHelper("design:typeinfo", factory2.createObjectLiteralExpression( - properties, - /*multiLine*/ - true - )); - return [factory2.createDecorator(typeInfoMetadata)]; - } - } - } - function shouldAddTypeMetadata(node) { - const kind = node.kind; - return kind === 174 /* MethodDeclaration */ || kind === 177 /* GetAccessor */ || kind === 178 /* SetAccessor */ || kind === 172 /* PropertyDeclaration */; - } - function shouldAddReturnTypeMetadata(node) { - return node.kind === 174 /* MethodDeclaration */; - } - function shouldAddParamTypesMetadata(node) { - switch (node.kind) { - case 263 /* ClassDeclaration */: - case 231 /* ClassExpression */: - return getFirstConstructorWithBody(node) !== void 0; - case 174 /* MethodDeclaration */: - case 177 /* GetAccessor */: - case 178 /* SetAccessor */: - return true; - } - return false; - } - function getExpressionForPropertyName(member, generateNameForComputedPropertyName) { - const name = member.name; - if (isPrivateIdentifier(name)) { - return factory2.createIdentifier(""); - } else if (isComputedPropertyName(name)) { - return generateNameForComputedPropertyName && !isSimpleInlineableExpression(name.expression) ? factory2.getGeneratedNameForNode(name) : name.expression; - } else if (isIdentifier(name)) { - return factory2.createStringLiteral(idText(name)); - } else { - return factory2.cloneNode(name); - } - } - function visitPropertyNameOfClassElement(member) { - const name = member.name; - if (legacyDecorators && isComputedPropertyName(name) && hasDecorators(member)) { - const expression = visitNode(name.expression, visitor, isExpression); - Debug.assert(expression); - const innerExpression = skipPartiallyEmittedExpressions(expression); - if (!isSimpleInlineableExpression(innerExpression)) { - const generatedName = factory2.getGeneratedNameForNode(name); - hoistVariableDeclaration(generatedName); - return factory2.updateComputedPropertyName(name, factory2.createAssignment(generatedName, expression)); - } - } - return Debug.checkDefined(visitNode(name, visitor, isPropertyName)); - } - function visitHeritageClause(node) { - if (node.token === 119 /* ImplementsKeyword */) { - return void 0; - } - return visitEachChild(node, visitor, context); - } - function visitExpressionWithTypeArguments(node) { - return factory2.updateExpressionWithTypeArguments( - node, - Debug.checkDefined(visitNode(node.expression, visitor, isLeftHandSideExpression)), - /*typeArguments*/ - void 0 - ); - } - function shouldEmitFunctionLikeDeclaration(node) { - return !nodeIsMissing(node.body); - } - function visitPropertyDeclaration(node, parent) { - const isAmbient = node.flags & 33554432 /* Ambient */ || hasSyntacticModifier(node, 64 /* Abstract */); - if (isAmbient && !(legacyDecorators && hasDecorators(node))) { - return void 0; - } - let modifiers = isClassLike(parent) ? !isAmbient ? visitNodes2(node.modifiers, visitor, isModifierLike) : visitNodes2(node.modifiers, modifierElidingVisitor, isModifierLike) : visitNodes2(node.modifiers, decoratorElidingVisitor, isModifierLike); - modifiers = injectClassElementTypeMetadata(modifiers, node, parent); - if (isAmbient) { - return factory2.updatePropertyDeclaration( - node, - concatenate(modifiers, factory2.createModifiersFromModifierFlags(128 /* Ambient */)), - Debug.checkDefined(visitNode(node.name, visitor, isPropertyName)), - /*questionOrExclamationToken*/ - void 0, - /*type*/ - void 0, - /*initializer*/ - void 0 - ); - } - return factory2.updatePropertyDeclaration( - node, - modifiers, - visitPropertyNameOfClassElement(node), - /*questionOrExclamationToken*/ - void 0, - /*type*/ - void 0, - visitNode(node.initializer, visitor, isExpression) - ); - } - function visitConstructor(node) { - if (!shouldEmitFunctionLikeDeclaration(node)) { - return void 0; - } - return factory2.updateConstructorDeclaration( - node, - /*modifiers*/ - void 0, - visitParameterList(node.parameters, visitor, context), - transformConstructorBody(node.body, node) - ); - } - function transformConstructorBodyWorker(statementsOut, statementsIn, statementOffset, superPath, superPathDepth, initializerStatements) { - const superStatementIndex = superPath[superPathDepth]; - const superStatement = statementsIn[superStatementIndex]; - addRange(statementsOut, visitNodes2(statementsIn, visitor, isStatement, statementOffset, superStatementIndex - statementOffset)); - if (isTryStatement(superStatement)) { - const tryBlockStatements = []; - transformConstructorBodyWorker( - tryBlockStatements, - superStatement.tryBlock.statements, - /*statementOffset*/ - 0, - superPath, - superPathDepth + 1, - initializerStatements - ); - const tryBlockStatementsArray = factory2.createNodeArray(tryBlockStatements); - setTextRange(tryBlockStatementsArray, superStatement.tryBlock.statements); - statementsOut.push(factory2.updateTryStatement( - superStatement, - factory2.updateBlock(superStatement.tryBlock, tryBlockStatements), - visitNode(superStatement.catchClause, visitor, isCatchClause), - visitNode(superStatement.finallyBlock, visitor, isBlock) - )); - } else { - addRange(statementsOut, visitNodes2(statementsIn, visitor, isStatement, superStatementIndex, 1)); - addRange(statementsOut, initializerStatements); - } - addRange(statementsOut, visitNodes2(statementsIn, visitor, isStatement, superStatementIndex + 1)); - } - function transformConstructorBody(body, constructor) { - const parametersWithPropertyAssignments = constructor && filter(constructor.parameters, (p) => isParameterPropertyDeclaration(p, constructor)); - if (!some(parametersWithPropertyAssignments)) { - return visitFunctionBody(body, visitor, context); - } - let statements = []; - resumeLexicalEnvironment(); - const prologueStatementCount = factory2.copyPrologue( - body.statements, - statements, - /*ensureUseStrict*/ - false, - visitor - ); - const superPath = findSuperStatementIndexPath(body.statements, prologueStatementCount); - const parameterPropertyAssignments = mapDefined(parametersWithPropertyAssignments, transformParameterWithPropertyAssignment); - if (superPath.length) { - transformConstructorBodyWorker( - statements, - body.statements, - prologueStatementCount, - superPath, - /*superPathDepth*/ - 0, - parameterPropertyAssignments - ); - } else { - addRange(statements, parameterPropertyAssignments); - addRange(statements, visitNodes2(body.statements, visitor, isStatement, prologueStatementCount)); - } - statements = factory2.mergeLexicalEnvironment(statements, endLexicalEnvironment()); - const block = factory2.createBlock( - setTextRange(factory2.createNodeArray(statements), body.statements), - /*multiLine*/ - true - ); - setTextRange( - block, - /*location*/ - body - ); - setOriginalNode(block, body); - return block; - } - function transformParameterWithPropertyAssignment(node) { - const name = node.name; - if (!isIdentifier(name)) { - return void 0; - } - const propertyName = setParent(setTextRange(factory2.cloneNode(name), name), name.parent); - setEmitFlags(propertyName, 3072 /* NoComments */ | 96 /* NoSourceMap */); - const localName = setParent(setTextRange(factory2.cloneNode(name), name), name.parent); - setEmitFlags(localName, 3072 /* NoComments */); - return startOnNewLine( - removeAllComments( - setTextRange( - setOriginalNode( - factory2.createExpressionStatement( - factory2.createAssignment( - setTextRange( - factory2.createPropertyAccessExpression( - factory2.createThis(), - propertyName - ), - node.name - ), - localName - ) - ), - node - ), - moveRangePos(node, -1) - ) - ) - ); - } - function visitMethodDeclaration(node, parent) { - if (!(node.transformFlags & 1 /* ContainsTypeScript */)) { - return node; - } - if (!shouldEmitFunctionLikeDeclaration(node)) { - return void 0; - } - let modifiers = isClassLike(parent) ? visitNodes2(node.modifiers, visitor, isModifierLike) : visitNodes2(node.modifiers, decoratorElidingVisitor, isModifierLike); - modifiers = injectClassElementTypeMetadata(modifiers, node, parent); - return factory2.updateMethodDeclaration( - node, - modifiers, - node.asteriskToken, - visitPropertyNameOfClassElement(node), - /*questionToken*/ - void 0, - /*typeParameters*/ - void 0, - visitParameterList(node.parameters, visitor, context), - /*type*/ - void 0, - visitFunctionBody(node.body, visitor, context) - ); - } - function shouldEmitAccessorDeclaration(node) { - return !(nodeIsMissing(node.body) && hasSyntacticModifier(node, 64 /* Abstract */)); - } - function visitGetAccessor(node, parent) { - if (!(node.transformFlags & 1 /* ContainsTypeScript */)) { - return node; - } - if (!shouldEmitAccessorDeclaration(node)) { - return void 0; - } - let modifiers = isClassLike(parent) ? visitNodes2(node.modifiers, visitor, isModifierLike) : visitNodes2(node.modifiers, decoratorElidingVisitor, isModifierLike); - modifiers = injectClassElementTypeMetadata(modifiers, node, parent); - return factory2.updateGetAccessorDeclaration( - node, - modifiers, - visitPropertyNameOfClassElement(node), - visitParameterList(node.parameters, visitor, context), - /*type*/ - void 0, - visitFunctionBody(node.body, visitor, context) || factory2.createBlock([]) - ); - } - function visitSetAccessor(node, parent) { - if (!(node.transformFlags & 1 /* ContainsTypeScript */)) { - return node; - } - if (!shouldEmitAccessorDeclaration(node)) { - return void 0; - } - let modifiers = isClassLike(parent) ? visitNodes2(node.modifiers, visitor, isModifierLike) : visitNodes2(node.modifiers, decoratorElidingVisitor, isModifierLike); - modifiers = injectClassElementTypeMetadata(modifiers, node, parent); - return factory2.updateSetAccessorDeclaration( - node, - modifiers, - visitPropertyNameOfClassElement(node), - visitParameterList(node.parameters, visitor, context), - visitFunctionBody(node.body, visitor, context) || factory2.createBlock([]) - ); - } - function visitFunctionDeclaration(node) { - if (!shouldEmitFunctionLikeDeclaration(node)) { - return factory2.createNotEmittedStatement(node); - } - const updated = factory2.updateFunctionDeclaration( - node, - visitNodes2(node.modifiers, modifierVisitor, isModifier), - node.asteriskToken, - node.name, - /*typeParameters*/ - void 0, - visitParameterList(node.parameters, visitor, context), - /*type*/ - void 0, - visitFunctionBody(node.body, visitor, context) || factory2.createBlock([]) - ); - if (isExportOfNamespace(node)) { - const statements = [updated]; - addExportMemberAssignment(statements, node); - return statements; - } - return updated; - } - function visitFunctionExpression(node) { - if (!shouldEmitFunctionLikeDeclaration(node)) { - return factory2.createOmittedExpression(); - } - const updated = factory2.updateFunctionExpression( - node, - visitNodes2(node.modifiers, modifierVisitor, isModifier), - node.asteriskToken, - node.name, - /*typeParameters*/ - void 0, - visitParameterList(node.parameters, visitor, context), - /*type*/ - void 0, - visitFunctionBody(node.body, visitor, context) || factory2.createBlock([]) - ); - return updated; - } - function visitArrowFunction(node) { - const updated = factory2.updateArrowFunction( - node, - visitNodes2(node.modifiers, modifierVisitor, isModifier), - /*typeParameters*/ - void 0, - visitParameterList(node.parameters, visitor, context), - /*type*/ - void 0, - node.equalsGreaterThanToken, - visitFunctionBody(node.body, visitor, context) - ); - return updated; - } - function visitParameter(node) { - if (parameterIsThisKeyword(node)) { - return void 0; - } - const updated = factory2.updateParameterDeclaration( - node, - visitNodes2(node.modifiers, (node2) => isDecorator(node2) ? visitor(node2) : void 0, isModifierLike), - node.dotDotDotToken, - Debug.checkDefined(visitNode(node.name, visitor, isBindingName)), - /*questionToken*/ - void 0, - /*type*/ - void 0, - visitNode(node.initializer, visitor, isExpression) - ); - if (updated !== node) { - setCommentRange(updated, node); - setTextRange(updated, moveRangePastModifiers(node)); - setSourceMapRange(updated, moveRangePastModifiers(node)); - setEmitFlags(updated.name, 64 /* NoTrailingSourceMap */); - } - return updated; - } - function visitVariableStatement(node) { - if (isExportOfNamespace(node)) { - const variables = getInitializedVariables(node.declarationList); - if (variables.length === 0) { - return void 0; - } - return setTextRange( - factory2.createExpressionStatement( - factory2.inlineExpressions( - map(variables, transformInitializedVariable) - ) - ), - node - ); - } else { - return visitEachChild(node, visitor, context); - } - } - function transformInitializedVariable(node) { - const name = node.name; - if (isBindingPattern(name)) { - return flattenDestructuringAssignment( - node, - visitor, - context, - 0 /* All */, - /*needsValue*/ - false, - createNamespaceExportExpression - ); - } else { - return setTextRange( - factory2.createAssignment( - getNamespaceMemberNameWithSourceMapsAndWithoutComments(name), - Debug.checkDefined(visitNode(node.initializer, visitor, isExpression)) - ), - /*location*/ - node - ); - } - } - function visitVariableDeclaration(node) { - const updated = factory2.updateVariableDeclaration( - node, - Debug.checkDefined(visitNode(node.name, visitor, isBindingName)), - /*exclamationToken*/ - void 0, - /*type*/ - void 0, - visitNode(node.initializer, visitor, isExpression) - ); - if (node.type) { - setTypeNode(updated.name, node.type); - } - return updated; - } - function visitParenthesizedExpression(node) { - const innerExpression = skipOuterExpressions(node.expression, ~(6 /* Assertions */ | 16 /* ExpressionsWithTypeArguments */)); - if (isAssertionExpression(innerExpression) || isSatisfiesExpression(innerExpression)) { - const expression = visitNode(node.expression, visitor, isExpression); - Debug.assert(expression); - return factory2.createPartiallyEmittedExpression(expression, node); - } - return visitEachChild(node, visitor, context); - } - function visitAssertionExpression(node) { - const expression = visitNode(node.expression, visitor, isExpression); - Debug.assert(expression); - return factory2.createPartiallyEmittedExpression(expression, node); - } - function visitNonNullExpression(node) { - const expression = visitNode(node.expression, visitor, isLeftHandSideExpression); - Debug.assert(expression); - return factory2.createPartiallyEmittedExpression(expression, node); - } - function visitSatisfiesExpression(node) { - const expression = visitNode(node.expression, visitor, isExpression); - Debug.assert(expression); - return factory2.createPartiallyEmittedExpression(expression, node); - } - function visitCallExpression(node) { - return factory2.updateCallExpression( - node, - Debug.checkDefined(visitNode(node.expression, visitor, isExpression)), - /*typeArguments*/ - void 0, - visitNodes2(node.arguments, visitor, isExpression) - ); - } - function visitNewExpression(node) { - return factory2.updateNewExpression( - node, - Debug.checkDefined(visitNode(node.expression, visitor, isExpression)), - /*typeArguments*/ - void 0, - visitNodes2(node.arguments, visitor, isExpression) - ); - } - function visitTaggedTemplateExpression(node) { - return factory2.updateTaggedTemplateExpression( - node, - Debug.checkDefined(visitNode(node.tag, visitor, isExpression)), - /*typeArguments*/ - void 0, - Debug.checkDefined(visitNode(node.template, visitor, isTemplateLiteral)) - ); - } - function visitJsxSelfClosingElement(node) { - return factory2.updateJsxSelfClosingElement( - node, - Debug.checkDefined(visitNode(node.tagName, visitor, isJsxTagNameExpression)), - /*typeArguments*/ - void 0, - Debug.checkDefined(visitNode(node.attributes, visitor, isJsxAttributes)) - ); - } - function visitJsxJsxOpeningElement(node) { - return factory2.updateJsxOpeningElement( - node, - Debug.checkDefined(visitNode(node.tagName, visitor, isJsxTagNameExpression)), - /*typeArguments*/ - void 0, - Debug.checkDefined(visitNode(node.attributes, visitor, isJsxAttributes)) - ); - } - function shouldEmitEnumDeclaration(node) { - return !isEnumConst(node) || shouldPreserveConstEnums(compilerOptions); - } - function visitEnumDeclaration(node) { - if (!shouldEmitEnumDeclaration(node)) { - return factory2.createNotEmittedStatement(node); - } - const statements = []; - let emitFlags = 4 /* AdviseOnEmitNode */; - const varAdded = addVarForEnumOrModuleDeclaration(statements, node); - if (varAdded) { - if (moduleKind !== 4 /* System */ || currentLexicalScope !== currentSourceFile) { - emitFlags |= 1024 /* NoLeadingComments */; - } - } - const parameterName = getNamespaceParameterName(node); - const containerName = getNamespaceContainerName(node); - const exportName = isExportOfNamespace(node) ? factory2.getExternalModuleOrNamespaceExportName( - currentNamespaceContainerName, - node, - /*allowComments*/ - false, - /*allowSourceMaps*/ - true - ) : factory2.getDeclarationName( - node, - /*allowComments*/ - false, - /*allowSourceMaps*/ - true - ); - let moduleArg = factory2.createLogicalOr( - exportName, - factory2.createAssignment( - exportName, - factory2.createObjectLiteralExpression() - ) - ); - if (isExportOfNamespace(node)) { - const localName = factory2.getLocalName( - node, - /*allowComments*/ - false, - /*allowSourceMaps*/ - true - ); - moduleArg = factory2.createAssignment(localName, moduleArg); - } - const enumStatement = factory2.createExpressionStatement( - factory2.createCallExpression( - factory2.createFunctionExpression( - /*modifiers*/ - void 0, - /*asteriskToken*/ - void 0, - /*name*/ - void 0, - /*typeParameters*/ - void 0, - [factory2.createParameterDeclaration( - /*modifiers*/ - void 0, - /*dotDotDotToken*/ - void 0, - parameterName - )], - /*type*/ - void 0, - transformEnumBody(node, containerName) - ), - /*typeArguments*/ - void 0, - [moduleArg] - ) - ); - setOriginalNode(enumStatement, node); - if (varAdded) { - setSyntheticLeadingComments(enumStatement, void 0); - setSyntheticTrailingComments(enumStatement, void 0); - } - setTextRange(enumStatement, node); - addEmitFlags(enumStatement, emitFlags); - statements.push(enumStatement); - return statements; - } - function transformEnumBody(node, localName) { - const savedCurrentNamespaceLocalName = currentNamespaceContainerName; - currentNamespaceContainerName = localName; - const statements = []; - startLexicalEnvironment(); - const members = map(node.members, transformEnumMember); - insertStatementsAfterStandardPrologue(statements, endLexicalEnvironment()); - addRange(statements, members); - currentNamespaceContainerName = savedCurrentNamespaceLocalName; - return factory2.createBlock( - setTextRange( - factory2.createNodeArray(statements), - /*location*/ - node.members - ), - /*multiLine*/ - true - ); - } - function transformEnumMember(member) { - const name = getExpressionForPropertyName( - member, - /*generateNameForComputedPropertyName*/ - false - ); - const evaluated = resolver.getEnumMemberValue(member); - const valueExpression = transformEnumMemberDeclarationValue(member, evaluated == null ? void 0 : evaluated.value); - const innerAssignment = factory2.createAssignment( - factory2.createElementAccessExpression( - currentNamespaceContainerName, - name - ), - valueExpression - ); - const outerAssignment = typeof (evaluated == null ? void 0 : evaluated.value) === "string" || (evaluated == null ? void 0 : evaluated.isSyntacticallyString) ? innerAssignment : factory2.createAssignment( - factory2.createElementAccessExpression( - currentNamespaceContainerName, - innerAssignment - ), - name - ); - return setTextRange( - factory2.createExpressionStatement( - setTextRange( - outerAssignment, - member - ) - ), - member - ); - } - function transformEnumMemberDeclarationValue(member, constantValue) { - if (constantValue !== void 0) { - return typeof constantValue === "string" ? factory2.createStringLiteral(constantValue) : constantValue < 0 ? factory2.createPrefixUnaryExpression(41 /* MinusToken */, factory2.createNumericLiteral(-constantValue)) : factory2.createNumericLiteral(constantValue); - } else { - enableSubstitutionForNonQualifiedEnumMembers(); - if (member.initializer) { - return Debug.checkDefined(visitNode(member.initializer, visitor, isExpression)); - } else { - return factory2.createVoidZero(); - } - } - } - function shouldEmitModuleDeclaration(nodeIn) { - const node = getParseTreeNode(nodeIn, isModuleDeclaration); - if (!node) { - return true; - } - return isInstantiatedModule(node, shouldPreserveConstEnums(compilerOptions)); - } - function recordEmittedDeclarationInScope(node) { - if (!currentScopeFirstDeclarationsOfName) { - currentScopeFirstDeclarationsOfName = /* @__PURE__ */ new Map(); - } - const name = declaredNameInScope(node); - if (!currentScopeFirstDeclarationsOfName.has(name)) { - currentScopeFirstDeclarationsOfName.set(name, node); - } - } - function isFirstEmittedDeclarationInScope(node) { - if (currentScopeFirstDeclarationsOfName) { - const name = declaredNameInScope(node); - return currentScopeFirstDeclarationsOfName.get(name) === node; - } - return true; - } - function declaredNameInScope(node) { - Debug.assertNode(node.name, isIdentifier); - return node.name.escapedText; - } - function addVarForEnumOrModuleDeclaration(statements, node) { - const varDecl = factory2.createVariableDeclaration(factory2.getLocalName( - node, - /*allowComments*/ - false, - /*allowSourceMaps*/ - true - )); - const varFlags = currentLexicalScope.kind === 307 /* SourceFile */ ? 0 /* None */ : 1 /* Let */; - const statement = factory2.createVariableStatement( - visitNodes2(node.modifiers, modifierVisitor, isModifier), - factory2.createVariableDeclarationList([varDecl], varFlags) - ); - setOriginalNode(varDecl, node); - setSyntheticLeadingComments(varDecl, void 0); - setSyntheticTrailingComments(varDecl, void 0); - setOriginalNode(statement, node); - recordEmittedDeclarationInScope(node); - if (isFirstEmittedDeclarationInScope(node)) { - if (node.kind === 266 /* EnumDeclaration */) { - setSourceMapRange(statement.declarationList, node); - } else { - setSourceMapRange(statement, node); - } - setCommentRange(statement, node); - addEmitFlags(statement, 2048 /* NoTrailingComments */); - statements.push(statement); - return true; - } - return false; - } - function visitModuleDeclaration(node) { - if (!shouldEmitModuleDeclaration(node)) { - return factory2.createNotEmittedStatement(node); - } - Debug.assertNode(node.name, isIdentifier, "A TypeScript namespace should have an Identifier name."); - enableSubstitutionForNamespaceExports(); - const statements = []; - let emitFlags = 4 /* AdviseOnEmitNode */; - const varAdded = addVarForEnumOrModuleDeclaration(statements, node); - if (varAdded) { - if (moduleKind !== 4 /* System */ || currentLexicalScope !== currentSourceFile) { - emitFlags |= 1024 /* NoLeadingComments */; - } - } - const parameterName = getNamespaceParameterName(node); - const containerName = getNamespaceContainerName(node); - const exportName = isExportOfNamespace(node) ? factory2.getExternalModuleOrNamespaceExportName( - currentNamespaceContainerName, - node, - /*allowComments*/ - false, - /*allowSourceMaps*/ - true - ) : factory2.getDeclarationName( - node, - /*allowComments*/ - false, - /*allowSourceMaps*/ - true - ); - let moduleArg = factory2.createLogicalOr( - exportName, - factory2.createAssignment( - exportName, - factory2.createObjectLiteralExpression() - ) - ); - if (isExportOfNamespace(node)) { - const localName = factory2.getLocalName( - node, - /*allowComments*/ - false, - /*allowSourceMaps*/ - true - ); - moduleArg = factory2.createAssignment(localName, moduleArg); - } - const moduleStatement = factory2.createExpressionStatement( - factory2.createCallExpression( - factory2.createFunctionExpression( - /*modifiers*/ - void 0, - /*asteriskToken*/ - void 0, - /*name*/ - void 0, - /*typeParameters*/ - void 0, - [factory2.createParameterDeclaration( - /*modifiers*/ - void 0, - /*dotDotDotToken*/ - void 0, - parameterName - )], - /*type*/ - void 0, - transformModuleBody(node, containerName) - ), - /*typeArguments*/ - void 0, - [moduleArg] - ) - ); - setOriginalNode(moduleStatement, node); - if (varAdded) { - setSyntheticLeadingComments(moduleStatement, void 0); - setSyntheticTrailingComments(moduleStatement, void 0); - } - setTextRange(moduleStatement, node); - addEmitFlags(moduleStatement, emitFlags); - statements.push(moduleStatement); - return statements; - } - function transformModuleBody(node, namespaceLocalName) { - const savedCurrentNamespaceContainerName = currentNamespaceContainerName; - const savedCurrentNamespace = currentNamespace; - const savedCurrentScopeFirstDeclarationsOfName = currentScopeFirstDeclarationsOfName; - currentNamespaceContainerName = namespaceLocalName; - currentNamespace = node; - currentScopeFirstDeclarationsOfName = void 0; - const statements = []; - startLexicalEnvironment(); - let statementsLocation; - let blockLocation; - if (node.body) { - if (node.body.kind === 268 /* ModuleBlock */) { - saveStateAndInvoke(node.body, (body) => addRange(statements, visitNodes2(body.statements, namespaceElementVisitor, isStatement))); - statementsLocation = node.body.statements; - blockLocation = node.body; - } else { - const result = visitModuleDeclaration(node.body); - if (result) { - if (isArray(result)) { - addRange(statements, result); - } else { - statements.push(result); - } - } - const moduleBlock = getInnerMostModuleDeclarationFromDottedModule(node).body; - statementsLocation = moveRangePos(moduleBlock.statements, -1); - } - } - insertStatementsAfterStandardPrologue(statements, endLexicalEnvironment()); - currentNamespaceContainerName = savedCurrentNamespaceContainerName; - currentNamespace = savedCurrentNamespace; - currentScopeFirstDeclarationsOfName = savedCurrentScopeFirstDeclarationsOfName; - const block = factory2.createBlock( - setTextRange( - factory2.createNodeArray(statements), - /*location*/ - statementsLocation - ), - /*multiLine*/ - true - ); - setTextRange(block, blockLocation); - if (!node.body || node.body.kind !== 268 /* ModuleBlock */) { - setEmitFlags(block, getEmitFlags(block) | 3072 /* NoComments */); - } - return block; - } - function getInnerMostModuleDeclarationFromDottedModule(moduleDeclaration) { - if (moduleDeclaration.body.kind === 267 /* ModuleDeclaration */) { - const recursiveInnerModule = getInnerMostModuleDeclarationFromDottedModule(moduleDeclaration.body); - return recursiveInnerModule || moduleDeclaration.body; - } - } - function visitImportDeclaration(node) { - if (!node.importClause) { - return node; - } - if (node.importClause.isTypeOnly) { - return void 0; - } - const importClause = visitNode(node.importClause, visitImportClause, isImportClause); - return importClause ? factory2.updateImportDeclaration( - node, - /*modifiers*/ - void 0, - importClause, - node.moduleSpecifier, - node.attributes - ) : void 0; - } - function visitImportClause(node) { - Debug.assert(!node.isTypeOnly); - const name = shouldEmitAliasDeclaration(node) ? node.name : void 0; - const namedBindings = visitNode(node.namedBindings, visitNamedImportBindings, isNamedImportBindings); - return name || namedBindings ? factory2.updateImportClause( - node, - /*isTypeOnly*/ - false, - name, - namedBindings - ) : void 0; - } - function visitNamedImportBindings(node) { - if (node.kind === 274 /* NamespaceImport */) { - return shouldEmitAliasDeclaration(node) ? node : void 0; - } else { - const allowEmpty = compilerOptions.verbatimModuleSyntax; - const elements = visitNodes2(node.elements, visitImportSpecifier, isImportSpecifier); - return allowEmpty || some(elements) ? factory2.updateNamedImports(node, elements) : void 0; - } - } - function visitImportSpecifier(node) { - return !node.isTypeOnly && shouldEmitAliasDeclaration(node) ? node : void 0; - } - function visitExportAssignment(node) { - return compilerOptions.verbatimModuleSyntax || resolver.isValueAliasDeclaration(node) ? visitEachChild(node, visitor, context) : void 0; - } - function visitExportDeclaration(node) { - if (node.isTypeOnly) { - return void 0; - } - if (!node.exportClause || isNamespaceExport(node.exportClause)) { - return node; - } - const allowEmpty = !!compilerOptions.verbatimModuleSyntax; - const exportClause = visitNode( - node.exportClause, - (bindings) => visitNamedExportBindings(bindings, allowEmpty), - isNamedExportBindings - ); - return exportClause ? factory2.updateExportDeclaration( - node, - /*modifiers*/ - void 0, - node.isTypeOnly, - exportClause, - node.moduleSpecifier, - node.attributes - ) : void 0; - } - function visitNamedExports(node, allowEmpty) { - const elements = visitNodes2(node.elements, visitExportSpecifier, isExportSpecifier); - return allowEmpty || some(elements) ? factory2.updateNamedExports(node, elements) : void 0; - } - function visitNamespaceExports(node) { - return factory2.updateNamespaceExport(node, Debug.checkDefined(visitNode(node.name, visitor, isIdentifier))); - } - function visitNamedExportBindings(node, allowEmpty) { - return isNamespaceExport(node) ? visitNamespaceExports(node) : visitNamedExports(node, allowEmpty); - } - function visitExportSpecifier(node) { - return !node.isTypeOnly && (compilerOptions.verbatimModuleSyntax || resolver.isValueAliasDeclaration(node)) ? node : void 0; - } - function shouldEmitImportEqualsDeclaration(node) { - return shouldEmitAliasDeclaration(node) || !isExternalModule(currentSourceFile) && resolver.isTopLevelValueImportEqualsWithEntityName(node); - } - function visitImportEqualsDeclaration(node) { - if (node.isTypeOnly) { - return void 0; - } - if (isExternalModuleImportEqualsDeclaration(node)) { - const isReferenced = shouldEmitAliasDeclaration(node); - return isReferenced ? visitEachChild(node, visitor, context) : void 0; - } - if (!shouldEmitImportEqualsDeclaration(node)) { - return void 0; - } - const moduleReference = createExpressionFromEntityName(factory2, node.moduleReference); - setEmitFlags(moduleReference, 3072 /* NoComments */ | 4096 /* NoNestedComments */); - if (isNamedExternalModuleExport(node) || !isExportOfNamespace(node)) { - return setOriginalNode( - setTextRange( - factory2.createVariableStatement( - visitNodes2(node.modifiers, modifierVisitor, isModifier), - factory2.createVariableDeclarationList([ - setOriginalNode( - factory2.createVariableDeclaration( - node.name, - /*exclamationToken*/ - void 0, - /*type*/ - void 0, - moduleReference - ), - node - ) - ]) - ), - node - ), - node - ); - } else { - return setOriginalNode( - createNamespaceExport( - node.name, - moduleReference, - node - ), - node - ); - } - } - function isExportOfNamespace(node) { - return currentNamespace !== void 0 && hasSyntacticModifier(node, 32 /* Export */); - } - function isExternalModuleExport(node) { - return currentNamespace === void 0 && hasSyntacticModifier(node, 32 /* Export */); - } - function isNamedExternalModuleExport(node) { - return isExternalModuleExport(node) && !hasSyntacticModifier(node, 2048 /* Default */); - } - function isDefaultExternalModuleExport(node) { - return isExternalModuleExport(node) && hasSyntacticModifier(node, 2048 /* Default */); - } - function createExportMemberAssignmentStatement(node) { - const expression = factory2.createAssignment( - factory2.getExternalModuleOrNamespaceExportName( - currentNamespaceContainerName, - node, - /*allowComments*/ - false, - /*allowSourceMaps*/ - true - ), - factory2.getLocalName(node) - ); - setSourceMapRange(expression, createRange(node.name ? node.name.pos : node.pos, node.end)); - const statement = factory2.createExpressionStatement(expression); - setSourceMapRange(statement, createRange(-1, node.end)); - return statement; - } - function addExportMemberAssignment(statements, node) { - statements.push(createExportMemberAssignmentStatement(node)); - } - function createNamespaceExport(exportName, exportValue, location) { - return setTextRange( - factory2.createExpressionStatement( - factory2.createAssignment( - factory2.getNamespaceMemberName( - currentNamespaceContainerName, - exportName, - /*allowComments*/ - false, - /*allowSourceMaps*/ - true - ), - exportValue - ) - ), - location - ); - } - function createNamespaceExportExpression(exportName, exportValue, location) { - return setTextRange(factory2.createAssignment(getNamespaceMemberNameWithSourceMapsAndWithoutComments(exportName), exportValue), location); - } - function getNamespaceMemberNameWithSourceMapsAndWithoutComments(name) { - return factory2.getNamespaceMemberName( - currentNamespaceContainerName, - name, - /*allowComments*/ - false, - /*allowSourceMaps*/ - true - ); - } - function getNamespaceParameterName(node) { - const name = factory2.getGeneratedNameForNode(node); - setSourceMapRange(name, node.name); - return name; - } - function getNamespaceContainerName(node) { - return factory2.getGeneratedNameForNode(node); - } - function enableSubstitutionForNonQualifiedEnumMembers() { - if ((enabledSubstitutions & 8 /* NonQualifiedEnumMembers */) === 0) { - enabledSubstitutions |= 8 /* NonQualifiedEnumMembers */; - context.enableSubstitution(80 /* Identifier */); - } - } - function enableSubstitutionForNamespaceExports() { - if ((enabledSubstitutions & 2 /* NamespaceExports */) === 0) { - enabledSubstitutions |= 2 /* NamespaceExports */; - context.enableSubstitution(80 /* Identifier */); - context.enableSubstitution(304 /* ShorthandPropertyAssignment */); - context.enableEmitNotification(267 /* ModuleDeclaration */); - } - } - function isTransformedModuleDeclaration(node) { - return getOriginalNode(node).kind === 267 /* ModuleDeclaration */; - } - function isTransformedEnumDeclaration(node) { - return getOriginalNode(node).kind === 266 /* EnumDeclaration */; - } - function onEmitNode(hint, node, emitCallback) { - const savedApplicableSubstitutions = applicableSubstitutions; - const savedCurrentSourceFile = currentSourceFile; - if (isSourceFile(node)) { - currentSourceFile = node; - } - if (enabledSubstitutions & 2 /* NamespaceExports */ && isTransformedModuleDeclaration(node)) { - applicableSubstitutions |= 2 /* NamespaceExports */; - } - if (enabledSubstitutions & 8 /* NonQualifiedEnumMembers */ && isTransformedEnumDeclaration(node)) { - applicableSubstitutions |= 8 /* NonQualifiedEnumMembers */; - } - previousOnEmitNode(hint, node, emitCallback); - applicableSubstitutions = savedApplicableSubstitutions; - currentSourceFile = savedCurrentSourceFile; - } - function onSubstituteNode(hint, node) { - node = previousOnSubstituteNode(hint, node); - if (hint === 1 /* Expression */) { - return substituteExpression(node); - } else if (isShorthandPropertyAssignment(node)) { - return substituteShorthandPropertyAssignment(node); - } - return node; - } - function substituteShorthandPropertyAssignment(node) { - if (enabledSubstitutions & 2 /* NamespaceExports */) { - const name = node.name; - const exportedName = trySubstituteNamespaceExportedName(name); - if (exportedName) { - if (node.objectAssignmentInitializer) { - const initializer = factory2.createAssignment(exportedName, node.objectAssignmentInitializer); - return setTextRange(factory2.createPropertyAssignment(name, initializer), node); - } - return setTextRange(factory2.createPropertyAssignment(name, exportedName), node); - } - } - return node; - } - function substituteExpression(node) { - switch (node.kind) { - case 80 /* Identifier */: - return substituteExpressionIdentifier(node); - case 211 /* PropertyAccessExpression */: - return substitutePropertyAccessExpression(node); - case 212 /* ElementAccessExpression */: - return substituteElementAccessExpression(node); - } - return node; - } - function substituteExpressionIdentifier(node) { - return trySubstituteNamespaceExportedName(node) || node; - } - function trySubstituteNamespaceExportedName(node) { - if (enabledSubstitutions & applicableSubstitutions && !isGeneratedIdentifier(node) && !isLocalName(node)) { - const container = resolver.getReferencedExportContainer( - node, - /*prefixLocals*/ - false - ); - if (container && container.kind !== 307 /* SourceFile */) { - const substitute = applicableSubstitutions & 2 /* NamespaceExports */ && container.kind === 267 /* ModuleDeclaration */ || applicableSubstitutions & 8 /* NonQualifiedEnumMembers */ && container.kind === 266 /* EnumDeclaration */; - if (substitute) { - return setTextRange( - factory2.createPropertyAccessExpression(factory2.getGeneratedNameForNode(container), node), - /*location*/ - node - ); - } - } - } - return void 0; - } - function substitutePropertyAccessExpression(node) { - return substituteConstantValue(node); - } - function substituteElementAccessExpression(node) { - return substituteConstantValue(node); - } - function safeMultiLineComment(value) { - return value.replace(/\*\//g, "*_/"); - } - function substituteConstantValue(node) { - const constantValue = tryGetConstEnumValue(node); - if (constantValue !== void 0) { - setConstantValue(node, constantValue); - const substitute = typeof constantValue === "string" ? factory2.createStringLiteral(constantValue) : constantValue < 0 ? factory2.createPrefixUnaryExpression(41 /* MinusToken */, factory2.createNumericLiteral(-constantValue)) : factory2.createNumericLiteral(constantValue); - if (!compilerOptions.removeComments) { - const originalNode = getOriginalNode(node, isAccessExpression); - addSyntheticTrailingComment(substitute, 3 /* MultiLineCommentTrivia */, ` ${safeMultiLineComment(getTextOfNode(originalNode))} `); - } - return substitute; - } - return node; - } - function tryGetConstEnumValue(node) { - if (getIsolatedModules(compilerOptions)) { - return void 0; - } - return isPropertyAccessExpression(node) || isElementAccessExpression(node) ? resolver.getConstantValue(node) : void 0; - } - function shouldEmitAliasDeclaration(node) { - return compilerOptions.verbatimModuleSyntax || isInJSFile(node) || resolver.isReferencedAliasDeclaration(node); - } -} - -// src/compiler/transformers/classFields.ts -function transformClassFields(context) { - const { - factory: factory2, - getEmitHelperFactory: emitHelpers, - hoistVariableDeclaration, - endLexicalEnvironment, - startLexicalEnvironment, - resumeLexicalEnvironment, - addBlockScopedVariable - } = context; - const resolver = context.getEmitResolver(); - const compilerOptions = context.getCompilerOptions(); - const languageVersion = getEmitScriptTarget(compilerOptions); - const useDefineForClassFields = getUseDefineForClassFields(compilerOptions); - const legacyDecorators = !!compilerOptions.experimentalDecorators; - const shouldTransformInitializersUsingSet = !useDefineForClassFields; - const shouldTransformInitializersUsingDefine = useDefineForClassFields && languageVersion < 9 /* ES2022 */; - const shouldTransformInitializers = shouldTransformInitializersUsingSet || shouldTransformInitializersUsingDefine; - const shouldTransformPrivateElementsOrClassStaticBlocks = languageVersion < 9 /* ES2022 */; - const shouldTransformAutoAccessors = languageVersion < 99 /* ESNext */ ? -1 /* True */ : !useDefineForClassFields ? 3 /* Maybe */ : 0 /* False */; - const shouldTransformThisInStaticInitializers = languageVersion < 9 /* ES2022 */; - const shouldTransformSuperInStaticInitializers = shouldTransformThisInStaticInitializers && languageVersion >= 2 /* ES2015 */; - const shouldTransformAnything = shouldTransformInitializers || shouldTransformPrivateElementsOrClassStaticBlocks || shouldTransformAutoAccessors === -1 /* True */; - const previousOnSubstituteNode = context.onSubstituteNode; - context.onSubstituteNode = onSubstituteNode; - const previousOnEmitNode = context.onEmitNode; - context.onEmitNode = onEmitNode; - let shouldTransformPrivateStaticElementsInFile = false; - let enabledSubstitutions; - let classAliases; - let pendingExpressions; - let pendingStatements; - let lexicalEnvironment; - const lexicalEnvironmentMap = /* @__PURE__ */ new Map(); - const noSubstitution = /* @__PURE__ */ new Set(); - let currentClassContainer; - let currentClassElement; - let shouldSubstituteThisWithClassThis = false; - let previousShouldSubstituteThisWithClassThis = false; - return chainBundle(context, transformSourceFile); - function transformSourceFile(node) { - if (node.isDeclarationFile) { - return node; - } - lexicalEnvironment = void 0; - shouldTransformPrivateStaticElementsInFile = !!(getInternalEmitFlags(node) & 32 /* TransformPrivateStaticElements */); - if (!shouldTransformAnything && !shouldTransformPrivateStaticElementsInFile) { - return node; - } - const visited = visitEachChild(node, visitor, context); - addEmitHelpers(visited, context.readEmitHelpers()); - return visited; - } - function modifierVisitor(node) { - switch (node.kind) { - case 129 /* AccessorKeyword */: - return shouldTransformAutoAccessorsInCurrentClass() ? void 0 : node; - default: - return tryCast(node, isModifier); - } - } - function visitor(node) { - if (!(node.transformFlags & 16777216 /* ContainsClassFields */) && !(node.transformFlags & 134234112 /* ContainsLexicalThisOrSuper */)) { - return node; - } - switch (node.kind) { - case 263 /* ClassDeclaration */: - return visitClassDeclaration(node); - case 231 /* ClassExpression */: - return visitClassExpression(node); - case 175 /* ClassStaticBlockDeclaration */: - case 172 /* PropertyDeclaration */: - return Debug.fail("Use `classElementVisitor` instead."); - case 303 /* PropertyAssignment */: - return visitPropertyAssignment(node); - case 243 /* VariableStatement */: - return visitVariableStatement(node); - case 260 /* VariableDeclaration */: - return visitVariableDeclaration(node); - case 169 /* Parameter */: - return visitParameterDeclaration(node); - case 208 /* BindingElement */: - return visitBindingElement(node); - case 277 /* ExportAssignment */: - return visitExportAssignment(node); - case 81 /* PrivateIdentifier */: - return visitPrivateIdentifier(node); - case 211 /* PropertyAccessExpression */: - return visitPropertyAccessExpression(node); - case 212 /* ElementAccessExpression */: - return visitElementAccessExpression(node); - case 224 /* PrefixUnaryExpression */: - case 225 /* PostfixUnaryExpression */: - return visitPreOrPostfixUnaryExpression( - node, - /*discarded*/ - false - ); - case 226 /* BinaryExpression */: - return visitBinaryExpression( - node, - /*discarded*/ - false - ); - case 217 /* ParenthesizedExpression */: - return visitParenthesizedExpression( - node, - /*discarded*/ - false - ); - case 213 /* CallExpression */: - return visitCallExpression(node); - case 244 /* ExpressionStatement */: - return visitExpressionStatement(node); - case 215 /* TaggedTemplateExpression */: - return visitTaggedTemplateExpression(node); - case 248 /* ForStatement */: - return visitForStatement(node); - case 110 /* ThisKeyword */: - return visitThisExpression(node); - case 262 /* FunctionDeclaration */: - case 218 /* FunctionExpression */: - return setCurrentClassElementAnd( - /*classElement*/ - void 0, - fallbackVisitor, - node - ); - case 176 /* Constructor */: - case 174 /* MethodDeclaration */: - case 177 /* GetAccessor */: - case 178 /* SetAccessor */: { - return setCurrentClassElementAnd( - node, - fallbackVisitor, - node - ); - } - default: - return fallbackVisitor(node); - } - } - function fallbackVisitor(node) { - return visitEachChild(node, visitor, context); - } - function discardedValueVisitor(node) { - switch (node.kind) { - case 224 /* PrefixUnaryExpression */: - case 225 /* PostfixUnaryExpression */: - return visitPreOrPostfixUnaryExpression( - node, - /*discarded*/ - true - ); - case 226 /* BinaryExpression */: - return visitBinaryExpression( - node, - /*discarded*/ - true - ); - case 355 /* CommaListExpression */: - return visitCommaListExpression( - node, - /*discarded*/ - true - ); - case 217 /* ParenthesizedExpression */: - return visitParenthesizedExpression( - node, - /*discarded*/ - true - ); - default: - return visitor(node); - } - } - function heritageClauseVisitor(node) { - switch (node.kind) { - case 298 /* HeritageClause */: - return visitEachChild(node, heritageClauseVisitor, context); - case 233 /* ExpressionWithTypeArguments */: - return visitExpressionWithTypeArgumentsInHeritageClause(node); - default: - return visitor(node); - } - } - function assignmentTargetVisitor(node) { - switch (node.kind) { - case 210 /* ObjectLiteralExpression */: - case 209 /* ArrayLiteralExpression */: - return visitAssignmentPattern(node); - default: - return visitor(node); - } - } - function classElementVisitor(node) { - switch (node.kind) { - case 176 /* Constructor */: - return setCurrentClassElementAnd( - node, - visitConstructorDeclaration, - node - ); - case 177 /* GetAccessor */: - case 178 /* SetAccessor */: - case 174 /* MethodDeclaration */: - return setCurrentClassElementAnd( - node, - visitMethodOrAccessorDeclaration, - node - ); - case 172 /* PropertyDeclaration */: - return setCurrentClassElementAnd( - node, - visitPropertyDeclaration, - node - ); - case 175 /* ClassStaticBlockDeclaration */: - return setCurrentClassElementAnd( - node, - visitClassStaticBlockDeclaration, - node - ); - case 167 /* ComputedPropertyName */: - return visitComputedPropertyName(node); - case 240 /* SemicolonClassElement */: - return node; - default: - return isModifierLike(node) ? modifierVisitor(node) : visitor(node); - } - } - function propertyNameVisitor(node) { - switch (node.kind) { - case 167 /* ComputedPropertyName */: - return visitComputedPropertyName(node); - default: - return visitor(node); - } - } - function accessorFieldResultVisitor(node) { - switch (node.kind) { - case 172 /* PropertyDeclaration */: - return transformFieldInitializer(node); - case 177 /* GetAccessor */: - case 178 /* SetAccessor */: - return classElementVisitor(node); - default: - Debug.assertMissingNode(node, "Expected node to either be a PropertyDeclaration, GetAccessorDeclaration, or SetAccessorDeclaration"); - break; - } - } - function visitPrivateIdentifier(node) { - if (!shouldTransformPrivateElementsOrClassStaticBlocks) { - return node; - } - if (isStatement(node.parent)) { - return node; - } - return setOriginalNode(factory2.createIdentifier(""), node); - } - function transformPrivateIdentifierInInExpression(node) { - const info = accessPrivateIdentifier2(node.left); - if (info) { - const receiver = visitNode(node.right, visitor, isExpression); - return setOriginalNode( - emitHelpers().createClassPrivateFieldInHelper(info.brandCheckIdentifier, receiver), - node - ); - } - return visitEachChild(node, visitor, context); - } - function visitPropertyAssignment(node) { - if (isNamedEvaluation(node, isAnonymousClassNeedingAssignedName)) { - node = transformNamedEvaluation(context, node); - } - return visitEachChild(node, visitor, context); - } - function visitVariableStatement(node) { - const savedPendingStatements = pendingStatements; - pendingStatements = []; - const visitedNode = visitEachChild(node, visitor, context); - const statement = some(pendingStatements) ? [visitedNode, ...pendingStatements] : visitedNode; - pendingStatements = savedPendingStatements; - return statement; - } - function visitVariableDeclaration(node) { - if (isNamedEvaluation(node, isAnonymousClassNeedingAssignedName)) { - node = transformNamedEvaluation(context, node); - } - return visitEachChild(node, visitor, context); - } - function visitParameterDeclaration(node) { - if (isNamedEvaluation(node, isAnonymousClassNeedingAssignedName)) { - node = transformNamedEvaluation(context, node); - } - return visitEachChild(node, visitor, context); - } - function visitBindingElement(node) { - if (isNamedEvaluation(node, isAnonymousClassNeedingAssignedName)) { - node = transformNamedEvaluation(context, node); - } - return visitEachChild(node, visitor, context); - } - function visitExportAssignment(node) { - if (isNamedEvaluation(node, isAnonymousClassNeedingAssignedName)) { - node = transformNamedEvaluation( - context, - node, - /*ignoreEmptyStringLiteral*/ - true, - node.isExportEquals ? "" : "default" - ); - } - return visitEachChild(node, visitor, context); - } - function injectPendingExpressions(expression) { - if (some(pendingExpressions)) { - if (isParenthesizedExpression(expression)) { - pendingExpressions.push(expression.expression); - expression = factory2.updateParenthesizedExpression(expression, factory2.inlineExpressions(pendingExpressions)); - } else { - pendingExpressions.push(expression); - expression = factory2.inlineExpressions(pendingExpressions); - } - pendingExpressions = void 0; - } - return expression; - } - function visitComputedPropertyName(node) { - const expression = visitNode(node.expression, visitor, isExpression); - return factory2.updateComputedPropertyName(node, injectPendingExpressions(expression)); - } - function visitConstructorDeclaration(node) { - if (currentClassContainer) { - return transformConstructor(node, currentClassContainer); - } - return fallbackVisitor(node); - } - function shouldTransformClassElementToWeakMap(node) { - if (shouldTransformPrivateElementsOrClassStaticBlocks) return true; - if (hasStaticModifier(node) && getInternalEmitFlags(node) & 32 /* TransformPrivateStaticElements */) return true; - return false; - } - function visitMethodOrAccessorDeclaration(node) { - Debug.assert(!hasDecorators(node)); - if (!isPrivateIdentifierClassElementDeclaration(node) || !shouldTransformClassElementToWeakMap(node)) { - return visitEachChild(node, classElementVisitor, context); - } - const info = accessPrivateIdentifier2(node.name); - Debug.assert(info, "Undeclared private name for property declaration."); - if (!info.isValid) { - return node; - } - const functionName = getHoistedFunctionName(node); - if (functionName) { - getPendingExpressions().push( - factory2.createAssignment( - functionName, - factory2.createFunctionExpression( - filter(node.modifiers, (m) => isModifier(m) && !isStaticModifier(m) && !isAccessorModifier(m)), - node.asteriskToken, - functionName, - /*typeParameters*/ - void 0, - visitParameterList(node.parameters, visitor, context), - /*type*/ - void 0, - visitFunctionBody(node.body, visitor, context) - ) - ) - ); - } - return void 0; - } - function setCurrentClassElementAnd(classElement, visitor2, arg) { - if (classElement !== currentClassElement) { - const savedCurrentClassElement = currentClassElement; - currentClassElement = classElement; - const result = visitor2(arg); - currentClassElement = savedCurrentClassElement; - return result; - } - return visitor2(arg); - } - function getHoistedFunctionName(node) { - Debug.assert(isPrivateIdentifier(node.name)); - const info = accessPrivateIdentifier2(node.name); - Debug.assert(info, "Undeclared private name for property declaration."); - if (info.kind === "m" /* Method */) { - return info.methodName; - } - if (info.kind === "a" /* Accessor */) { - if (isGetAccessor(node)) { - return info.getterName; - } - if (isSetAccessor(node)) { - return info.setterName; - } - } - } - function tryGetClassThis() { - const lex = getClassLexicalEnvironment(); - return lex.classThis ?? lex.classConstructor ?? (currentClassContainer == null ? void 0 : currentClassContainer.name); - } - function transformAutoAccessor(node) { - const commentRange = getCommentRange(node); - const sourceMapRange = getSourceMapRange(node); - const name = node.name; - let getterName = name; - let setterName = name; - if (isComputedPropertyName(name) && !isSimpleInlineableExpression(name.expression)) { - const cacheAssignment = findComputedPropertyNameCacheAssignment(name); - if (cacheAssignment) { - getterName = factory2.updateComputedPropertyName(name, visitNode(name.expression, visitor, isExpression)); - setterName = factory2.updateComputedPropertyName(name, cacheAssignment.left); - } else { - const temp = factory2.createTempVariable(hoistVariableDeclaration); - setSourceMapRange(temp, name.expression); - const expression = visitNode(name.expression, visitor, isExpression); - const assignment = factory2.createAssignment(temp, expression); - setSourceMapRange(assignment, name.expression); - getterName = factory2.updateComputedPropertyName(name, assignment); - setterName = factory2.updateComputedPropertyName(name, temp); - } - } - const modifiers = visitNodes2(node.modifiers, modifierVisitor, isModifier); - const backingField = createAccessorPropertyBackingField(factory2, node, modifiers, node.initializer); - setOriginalNode(backingField, node); - setEmitFlags(backingField, 3072 /* NoComments */); - setSourceMapRange(backingField, sourceMapRange); - const receiver = isStatic(node) ? tryGetClassThis() ?? factory2.createThis() : factory2.createThis(); - const getter = createAccessorPropertyGetRedirector(factory2, node, modifiers, getterName, receiver); - setOriginalNode(getter, node); - setCommentRange(getter, commentRange); - setSourceMapRange(getter, sourceMapRange); - const setterModifiers = factory2.createModifiersFromModifierFlags(modifiersToFlags(modifiers)); - const setter = createAccessorPropertySetRedirector(factory2, node, setterModifiers, setterName, receiver); - setOriginalNode(setter, node); - setEmitFlags(setter, 3072 /* NoComments */); - setSourceMapRange(setter, sourceMapRange); - return visitArray([backingField, getter, setter], accessorFieldResultVisitor, isClassElement); - } - function transformPrivateFieldInitializer(node) { - if (shouldTransformClassElementToWeakMap(node)) { - const info = accessPrivateIdentifier2(node.name); - Debug.assert(info, "Undeclared private name for property declaration."); - if (!info.isValid) { - return node; - } - if (info.isStatic && !shouldTransformPrivateElementsOrClassStaticBlocks) { - const statement = transformPropertyOrClassStaticBlock(node, factory2.createThis()); - if (statement) { - return factory2.createClassStaticBlockDeclaration(factory2.createBlock( - [statement], - /*multiLine*/ - true - )); - } - } - return void 0; - } - if (shouldTransformInitializersUsingSet && !isStatic(node) && (lexicalEnvironment == null ? void 0 : lexicalEnvironment.data) && lexicalEnvironment.data.facts & 16 /* WillHoistInitializersToConstructor */) { - return factory2.updatePropertyDeclaration( - node, - visitNodes2(node.modifiers, visitor, isModifierLike), - node.name, - /*questionOrExclamationToken*/ - void 0, - /*type*/ - void 0, - /*initializer*/ - void 0 - ); - } - if (isNamedEvaluation(node, isAnonymousClassNeedingAssignedName)) { - node = transformNamedEvaluation(context, node); - } - return factory2.updatePropertyDeclaration( - node, - visitNodes2(node.modifiers, modifierVisitor, isModifier), - visitNode(node.name, propertyNameVisitor, isPropertyName), - /*questionOrExclamationToken*/ - void 0, - /*type*/ - void 0, - visitNode(node.initializer, visitor, isExpression) - ); - } - function transformPublicFieldInitializer(node) { - if (shouldTransformInitializers && !isAutoAccessorPropertyDeclaration(node)) { - const expr = getPropertyNameExpressionIfNeeded( - node.name, - /*shouldHoist*/ - !!node.initializer || useDefineForClassFields - ); - if (expr) { - getPendingExpressions().push(...flattenCommaList(expr)); - } - if (isStatic(node) && !shouldTransformPrivateElementsOrClassStaticBlocks) { - const initializerStatement = transformPropertyOrClassStaticBlock(node, factory2.createThis()); - if (initializerStatement) { - const staticBlock = factory2.createClassStaticBlockDeclaration( - factory2.createBlock([initializerStatement]) - ); - setOriginalNode(staticBlock, node); - setCommentRange(staticBlock, node); - setCommentRange(initializerStatement, { pos: -1, end: -1 }); - setSyntheticLeadingComments(initializerStatement, void 0); - setSyntheticTrailingComments(initializerStatement, void 0); - return staticBlock; - } - } - return void 0; - } - return factory2.updatePropertyDeclaration( - node, - visitNodes2(node.modifiers, modifierVisitor, isModifier), - visitNode(node.name, propertyNameVisitor, isPropertyName), - /*questionOrExclamationToken*/ - void 0, - /*type*/ - void 0, - visitNode(node.initializer, visitor, isExpression) - ); - } - function transformFieldInitializer(node) { - Debug.assert(!hasDecorators(node), "Decorators should already have been transformed and elided."); - return isPrivateIdentifierClassElementDeclaration(node) ? transformPrivateFieldInitializer(node) : transformPublicFieldInitializer(node); - } - function shouldTransformAutoAccessorsInCurrentClass() { - return shouldTransformAutoAccessors === -1 /* True */ || shouldTransformAutoAccessors === 3 /* Maybe */ && !!(lexicalEnvironment == null ? void 0 : lexicalEnvironment.data) && !!(lexicalEnvironment.data.facts & 16 /* WillHoistInitializersToConstructor */); - } - function visitPropertyDeclaration(node) { - if (isAutoAccessorPropertyDeclaration(node) && (shouldTransformAutoAccessorsInCurrentClass() || hasStaticModifier(node) && getInternalEmitFlags(node) & 32 /* TransformPrivateStaticElements */)) { - return transformAutoAccessor(node); - } - return transformFieldInitializer(node); - } - function shouldForceDynamicThis() { - return !!currentClassElement && hasStaticModifier(currentClassElement) && isAccessor(currentClassElement) && isAutoAccessorPropertyDeclaration(getOriginalNode(currentClassElement)); - } - function ensureDynamicThisIfNeeded(node) { - if (shouldForceDynamicThis()) { - const innerExpression = skipOuterExpressions(node); - if (innerExpression.kind === 110 /* ThisKeyword */) { - noSubstitution.add(innerExpression); - } - } - } - function createPrivateIdentifierAccess(info, receiver) { - receiver = visitNode(receiver, visitor, isExpression); - ensureDynamicThisIfNeeded(receiver); - return createPrivateIdentifierAccessHelper(info, receiver); - } - function createPrivateIdentifierAccessHelper(info, receiver) { - setCommentRange(receiver, moveRangePos(receiver, -1)); - switch (info.kind) { - case "a" /* Accessor */: - return emitHelpers().createClassPrivateFieldGetHelper( - receiver, - info.brandCheckIdentifier, - info.kind, - info.getterName - ); - case "m" /* Method */: - return emitHelpers().createClassPrivateFieldGetHelper( - receiver, - info.brandCheckIdentifier, - info.kind, - info.methodName - ); - case "f" /* Field */: - return emitHelpers().createClassPrivateFieldGetHelper( - receiver, - info.brandCheckIdentifier, - info.kind, - info.isStatic ? info.variableName : void 0 - ); - case "untransformed": - return Debug.fail("Access helpers should not be created for untransformed private elements"); - default: - Debug.assertNever(info, "Unknown private element type"); - } - } - function visitPropertyAccessExpression(node) { - if (isPrivateIdentifier(node.name)) { - const privateIdentifierInfo = accessPrivateIdentifier2(node.name); - if (privateIdentifierInfo) { - return setTextRange( - setOriginalNode( - createPrivateIdentifierAccess(privateIdentifierInfo, node.expression), - node - ), - node - ); - } - } - if (shouldTransformSuperInStaticInitializers && currentClassElement && isSuperProperty(node) && isIdentifier(node.name) && isStaticPropertyDeclarationOrClassStaticBlock(currentClassElement) && (lexicalEnvironment == null ? void 0 : lexicalEnvironment.data)) { - const { classConstructor, superClassReference, facts } = lexicalEnvironment.data; - if (facts & 1 /* ClassWasDecorated */) { - return visitInvalidSuperProperty(node); - } - if (classConstructor && superClassReference) { - const superProperty = factory2.createReflectGetCall( - superClassReference, - factory2.createStringLiteralFromNode(node.name), - classConstructor - ); - setOriginalNode(superProperty, node.expression); - setTextRange(superProperty, node.expression); - return superProperty; - } - } - return visitEachChild(node, visitor, context); - } - function visitElementAccessExpression(node) { - if (shouldTransformSuperInStaticInitializers && currentClassElement && isSuperProperty(node) && isStaticPropertyDeclarationOrClassStaticBlock(currentClassElement) && (lexicalEnvironment == null ? void 0 : lexicalEnvironment.data)) { - const { classConstructor, superClassReference, facts } = lexicalEnvironment.data; - if (facts & 1 /* ClassWasDecorated */) { - return visitInvalidSuperProperty(node); - } - if (classConstructor && superClassReference) { - const superProperty = factory2.createReflectGetCall( - superClassReference, - visitNode(node.argumentExpression, visitor, isExpression), - classConstructor - ); - setOriginalNode(superProperty, node.expression); - setTextRange(superProperty, node.expression); - return superProperty; - } - } - return visitEachChild(node, visitor, context); - } - function visitPreOrPostfixUnaryExpression(node, discarded) { - if (node.operator === 46 /* PlusPlusToken */ || node.operator === 47 /* MinusMinusToken */) { - const operand = skipParentheses(node.operand); - if (isPrivateIdentifierPropertyAccessExpression(operand)) { - let info; - if (info = accessPrivateIdentifier2(operand.name)) { - const receiver = visitNode(operand.expression, visitor, isExpression); - ensureDynamicThisIfNeeded(receiver); - const { readExpression, initializeExpression } = createCopiableReceiverExpr(receiver); - let expression = createPrivateIdentifierAccess(info, readExpression); - const temp = isPrefixUnaryExpression(node) || discarded ? void 0 : factory2.createTempVariable(hoistVariableDeclaration); - expression = expandPreOrPostfixIncrementOrDecrementExpression(factory2, node, expression, hoistVariableDeclaration, temp); - expression = createPrivateIdentifierAssignment( - info, - initializeExpression || readExpression, - expression, - 64 /* EqualsToken */ - ); - setOriginalNode(expression, node); - setTextRange(expression, node); - if (temp) { - expression = factory2.createComma(expression, temp); - setTextRange(expression, node); - } - return expression; - } - } else if (shouldTransformSuperInStaticInitializers && currentClassElement && isSuperProperty(operand) && isStaticPropertyDeclarationOrClassStaticBlock(currentClassElement) && (lexicalEnvironment == null ? void 0 : lexicalEnvironment.data)) { - const { classConstructor, superClassReference, facts } = lexicalEnvironment.data; - if (facts & 1 /* ClassWasDecorated */) { - const expression = visitInvalidSuperProperty(operand); - return isPrefixUnaryExpression(node) ? factory2.updatePrefixUnaryExpression(node, expression) : factory2.updatePostfixUnaryExpression(node, expression); - } - if (classConstructor && superClassReference) { - let setterName; - let getterName; - if (isPropertyAccessExpression(operand)) { - if (isIdentifier(operand.name)) { - getterName = setterName = factory2.createStringLiteralFromNode(operand.name); - } - } else { - if (isSimpleInlineableExpression(operand.argumentExpression)) { - getterName = setterName = operand.argumentExpression; - } else { - getterName = factory2.createTempVariable(hoistVariableDeclaration); - setterName = factory2.createAssignment(getterName, visitNode(operand.argumentExpression, visitor, isExpression)); - } - } - if (setterName && getterName) { - let expression = factory2.createReflectGetCall(superClassReference, getterName, classConstructor); - setTextRange(expression, operand); - const temp = discarded ? void 0 : factory2.createTempVariable(hoistVariableDeclaration); - expression = expandPreOrPostfixIncrementOrDecrementExpression(factory2, node, expression, hoistVariableDeclaration, temp); - expression = factory2.createReflectSetCall(superClassReference, setterName, expression, classConstructor); - setOriginalNode(expression, node); - setTextRange(expression, node); - if (temp) { - expression = factory2.createComma(expression, temp); - setTextRange(expression, node); - } - return expression; - } - } - } - } - return visitEachChild(node, visitor, context); - } - function visitForStatement(node) { - return factory2.updateForStatement( - node, - visitNode(node.initializer, discardedValueVisitor, isForInitializer), - visitNode(node.condition, visitor, isExpression), - visitNode(node.incrementor, discardedValueVisitor, isExpression), - visitIterationBody(node.statement, visitor, context) - ); - } - function visitExpressionStatement(node) { - return factory2.updateExpressionStatement( - node, - visitNode(node.expression, discardedValueVisitor, isExpression) - ); - } - function createCopiableReceiverExpr(receiver) { - const clone = nodeIsSynthesized(receiver) ? receiver : factory2.cloneNode(receiver); - if (receiver.kind === 110 /* ThisKeyword */ && noSubstitution.has(receiver)) { - noSubstitution.add(clone); - } - if (isSimpleInlineableExpression(receiver)) { - return { readExpression: clone, initializeExpression: void 0 }; - } - const readExpression = factory2.createTempVariable(hoistVariableDeclaration); - const initializeExpression = factory2.createAssignment(readExpression, clone); - return { readExpression, initializeExpression }; - } - function visitCallExpression(node) { - var _a; - if (isPrivateIdentifierPropertyAccessExpression(node.expression) && accessPrivateIdentifier2(node.expression.name)) { - const { thisArg, target } = factory2.createCallBinding(node.expression, hoistVariableDeclaration, languageVersion); - if (isCallChain(node)) { - return factory2.updateCallChain( - node, - factory2.createPropertyAccessChain(visitNode(target, visitor, isExpression), node.questionDotToken, "call"), - /*questionDotToken*/ - void 0, - /*typeArguments*/ - void 0, - [visitNode(thisArg, visitor, isExpression), ...visitNodes2(node.arguments, visitor, isExpression)] - ); - } - return factory2.updateCallExpression( - node, - factory2.createPropertyAccessExpression(visitNode(target, visitor, isExpression), "call"), - /*typeArguments*/ - void 0, - [visitNode(thisArg, visitor, isExpression), ...visitNodes2(node.arguments, visitor, isExpression)] - ); - } - if (shouldTransformSuperInStaticInitializers && currentClassElement && isSuperProperty(node.expression) && isStaticPropertyDeclarationOrClassStaticBlock(currentClassElement) && ((_a = lexicalEnvironment == null ? void 0 : lexicalEnvironment.data) == null ? void 0 : _a.classConstructor)) { - const invocation = factory2.createFunctionCallCall( - visitNode(node.expression, visitor, isExpression), - lexicalEnvironment.data.classConstructor, - visitNodes2(node.arguments, visitor, isExpression) - ); - setOriginalNode(invocation, node); - setTextRange(invocation, node); - return invocation; - } - return visitEachChild(node, visitor, context); - } - function visitTaggedTemplateExpression(node) { - var _a; - if (isPrivateIdentifierPropertyAccessExpression(node.tag) && accessPrivateIdentifier2(node.tag.name)) { - const { thisArg, target } = factory2.createCallBinding(node.tag, hoistVariableDeclaration, languageVersion); - return factory2.updateTaggedTemplateExpression( - node, - factory2.createCallExpression( - factory2.createPropertyAccessExpression(visitNode(target, visitor, isExpression), "bind"), - /*typeArguments*/ - void 0, - [visitNode(thisArg, visitor, isExpression)] - ), - /*typeArguments*/ - void 0, - visitNode(node.template, visitor, isTemplateLiteral) - ); - } - if (shouldTransformSuperInStaticInitializers && currentClassElement && isSuperProperty(node.tag) && isStaticPropertyDeclarationOrClassStaticBlock(currentClassElement) && ((_a = lexicalEnvironment == null ? void 0 : lexicalEnvironment.data) == null ? void 0 : _a.classConstructor)) { - const invocation = factory2.createFunctionBindCall( - visitNode(node.tag, visitor, isExpression), - lexicalEnvironment.data.classConstructor, - [] - ); - setOriginalNode(invocation, node); - setTextRange(invocation, node); - return factory2.updateTaggedTemplateExpression( - node, - invocation, - /*typeArguments*/ - void 0, - visitNode(node.template, visitor, isTemplateLiteral) - ); - } - return visitEachChild(node, visitor, context); - } - function transformClassStaticBlockDeclaration(node) { - if (lexicalEnvironment) { - lexicalEnvironmentMap.set(getOriginalNode(node), lexicalEnvironment); - } - if (shouldTransformPrivateElementsOrClassStaticBlocks) { - if (isClassThisAssignmentBlock(node)) { - const result = visitNode(node.body.statements[0].expression, visitor, isExpression); - if (isAssignmentExpression( - result, - /*excludeCompoundAssignment*/ - true - ) && result.left === result.right) { - return void 0; - } - return result; - } - if (isClassNamedEvaluationHelperBlock(node)) { - return visitNode(node.body.statements[0].expression, visitor, isExpression); - } - startLexicalEnvironment(); - let statements = setCurrentClassElementAnd( - node, - (statements2) => visitNodes2(statements2, visitor, isStatement), - node.body.statements - ); - statements = factory2.mergeLexicalEnvironment(statements, endLexicalEnvironment()); - const iife = factory2.createImmediatelyInvokedArrowFunction(statements); - setOriginalNode(skipParentheses(iife.expression), node); - addEmitFlags(skipParentheses(iife.expression), 4 /* AdviseOnEmitNode */); - setOriginalNode(iife, node); - setTextRange(iife, node); - return iife; - } - } - function isAnonymousClassNeedingAssignedName(node) { - if (isClassExpression(node) && !node.name) { - const staticPropertiesOrClassStaticBlocks = getStaticPropertiesAndClassStaticBlock(node); - if (some(staticPropertiesOrClassStaticBlocks, isClassNamedEvaluationHelperBlock)) { - return false; - } - const hasTransformableStatics = (shouldTransformPrivateElementsOrClassStaticBlocks || !!(getInternalEmitFlags(node) && 32 /* TransformPrivateStaticElements */)) && some(staticPropertiesOrClassStaticBlocks, (node2) => isClassStaticBlockDeclaration(node2) || isPrivateIdentifierClassElementDeclaration(node2) || shouldTransformInitializers && isInitializedProperty(node2)); - return hasTransformableStatics; - } - return false; - } - function visitBinaryExpression(node, discarded) { - if (isDestructuringAssignment(node)) { - const savedPendingExpressions = pendingExpressions; - pendingExpressions = void 0; - node = factory2.updateBinaryExpression( - node, - visitNode(node.left, assignmentTargetVisitor, isExpression), - node.operatorToken, - visitNode(node.right, visitor, isExpression) - ); - const expr = some(pendingExpressions) ? factory2.inlineExpressions(compact([...pendingExpressions, node])) : node; - pendingExpressions = savedPendingExpressions; - return expr; - } - if (isAssignmentExpression(node)) { - if (isNamedEvaluation(node, isAnonymousClassNeedingAssignedName)) { - node = transformNamedEvaluation(context, node); - Debug.assertNode(node, isAssignmentExpression); - } - const left = skipOuterExpressions(node.left, 8 /* PartiallyEmittedExpressions */ | 1 /* Parentheses */); - if (isPrivateIdentifierPropertyAccessExpression(left)) { - const info = accessPrivateIdentifier2(left.name); - if (info) { - return setTextRange( - setOriginalNode( - createPrivateIdentifierAssignment(info, left.expression, node.right, node.operatorToken.kind), - node - ), - node - ); - } - } else if (shouldTransformSuperInStaticInitializers && currentClassElement && isSuperProperty(node.left) && isStaticPropertyDeclarationOrClassStaticBlock(currentClassElement) && (lexicalEnvironment == null ? void 0 : lexicalEnvironment.data)) { - const { classConstructor, superClassReference, facts } = lexicalEnvironment.data; - if (facts & 1 /* ClassWasDecorated */) { - return factory2.updateBinaryExpression( - node, - visitInvalidSuperProperty(node.left), - node.operatorToken, - visitNode(node.right, visitor, isExpression) - ); - } - if (classConstructor && superClassReference) { - let setterName = isElementAccessExpression(node.left) ? visitNode(node.left.argumentExpression, visitor, isExpression) : isIdentifier(node.left.name) ? factory2.createStringLiteralFromNode(node.left.name) : void 0; - if (setterName) { - let expression = visitNode(node.right, visitor, isExpression); - if (isCompoundAssignment(node.operatorToken.kind)) { - let getterName = setterName; - if (!isSimpleInlineableExpression(setterName)) { - getterName = factory2.createTempVariable(hoistVariableDeclaration); - setterName = factory2.createAssignment(getterName, setterName); - } - const superPropertyGet = factory2.createReflectGetCall( - superClassReference, - getterName, - classConstructor - ); - setOriginalNode(superPropertyGet, node.left); - setTextRange(superPropertyGet, node.left); - expression = factory2.createBinaryExpression( - superPropertyGet, - getNonAssignmentOperatorForCompoundAssignment(node.operatorToken.kind), - expression - ); - setTextRange(expression, node); - } - const temp = discarded ? void 0 : factory2.createTempVariable(hoistVariableDeclaration); - if (temp) { - expression = factory2.createAssignment(temp, expression); - setTextRange(temp, node); - } - expression = factory2.createReflectSetCall( - superClassReference, - setterName, - expression, - classConstructor - ); - setOriginalNode(expression, node); - setTextRange(expression, node); - if (temp) { - expression = factory2.createComma(expression, temp); - setTextRange(expression, node); - } - return expression; - } - } - } - } - if (isPrivateIdentifierInExpression(node)) { - return transformPrivateIdentifierInInExpression(node); - } - return visitEachChild(node, visitor, context); - } - function visitCommaListExpression(node, discarded) { - const elements = discarded ? visitCommaListElements(node.elements, discardedValueVisitor) : visitCommaListElements(node.elements, visitor, discardedValueVisitor); - return factory2.updateCommaListExpression(node, elements); - } - function visitParenthesizedExpression(node, discarded) { - const visitorFunc = discarded ? discardedValueVisitor : visitor; - const expression = visitNode(node.expression, visitorFunc, isExpression); - return factory2.updateParenthesizedExpression(node, expression); - } - function createPrivateIdentifierAssignment(info, receiver, right, operator) { - receiver = visitNode(receiver, visitor, isExpression); - right = visitNode(right, visitor, isExpression); - ensureDynamicThisIfNeeded(receiver); - if (isCompoundAssignment(operator)) { - const { readExpression, initializeExpression } = createCopiableReceiverExpr(receiver); - receiver = initializeExpression || readExpression; - right = factory2.createBinaryExpression( - createPrivateIdentifierAccessHelper(info, readExpression), - getNonAssignmentOperatorForCompoundAssignment(operator), - right - ); - } - setCommentRange(receiver, moveRangePos(receiver, -1)); - switch (info.kind) { - case "a" /* Accessor */: - return emitHelpers().createClassPrivateFieldSetHelper( - receiver, - info.brandCheckIdentifier, - right, - info.kind, - info.setterName - ); - case "m" /* Method */: - return emitHelpers().createClassPrivateFieldSetHelper( - receiver, - info.brandCheckIdentifier, - right, - info.kind, - /*f*/ - void 0 - ); - case "f" /* Field */: - return emitHelpers().createClassPrivateFieldSetHelper( - receiver, - info.brandCheckIdentifier, - right, - info.kind, - info.isStatic ? info.variableName : void 0 - ); - case "untransformed": - return Debug.fail("Access helpers should not be created for untransformed private elements"); - default: - Debug.assertNever(info, "Unknown private element type"); - } - } - function getPrivateInstanceMethodsAndAccessors(node) { - return filter(node.members, isNonStaticMethodOrAccessorWithPrivateName); - } - function getClassFacts(node) { - var _a; - let facts = 0 /* None */; - const original = getOriginalNode(node); - if (isClassLike(original) && classOrConstructorParameterIsDecorated(legacyDecorators, original)) { - facts |= 1 /* ClassWasDecorated */; - } - if (shouldTransformPrivateElementsOrClassStaticBlocks && (classHasClassThisAssignment(node) || classHasExplicitlyAssignedName(node))) { - facts |= 2 /* NeedsClassConstructorReference */; - } - let containsPublicInstanceFields = false; - let containsInitializedPublicInstanceFields = false; - let containsInstancePrivateElements = false; - let containsInstanceAutoAccessors = false; - for (const member of node.members) { - if (isStatic(member)) { - if (member.name && (isPrivateIdentifier(member.name) || isAutoAccessorPropertyDeclaration(member)) && shouldTransformPrivateElementsOrClassStaticBlocks) { - facts |= 2 /* NeedsClassConstructorReference */; - } else if (isAutoAccessorPropertyDeclaration(member) && shouldTransformAutoAccessors === -1 /* True */ && !node.name && !((_a = node.emitNode) == null ? void 0 : _a.classThis)) { - facts |= 2 /* NeedsClassConstructorReference */; - } - if (isPropertyDeclaration(member) || isClassStaticBlockDeclaration(member)) { - if (shouldTransformThisInStaticInitializers && member.transformFlags & 16384 /* ContainsLexicalThis */) { - facts |= 8 /* NeedsSubstitutionForThisInClassStaticField */; - if (!(facts & 1 /* ClassWasDecorated */)) { - facts |= 2 /* NeedsClassConstructorReference */; - } - } - if (shouldTransformSuperInStaticInitializers && member.transformFlags & 134217728 /* ContainsLexicalSuper */) { - if (!(facts & 1 /* ClassWasDecorated */)) { - facts |= 2 /* NeedsClassConstructorReference */ | 4 /* NeedsClassSuperReference */; - } - } - } - } else if (!hasAbstractModifier(getOriginalNode(member))) { - if (isAutoAccessorPropertyDeclaration(member)) { - containsInstanceAutoAccessors = true; - containsInstancePrivateElements || (containsInstancePrivateElements = isPrivateIdentifierClassElementDeclaration(member)); - } else if (isPrivateIdentifierClassElementDeclaration(member)) { - containsInstancePrivateElements = true; - if (resolver.hasNodeCheckFlag(member, 262144 /* ContainsConstructorReference */)) { - facts |= 2 /* NeedsClassConstructorReference */; - } - } else if (isPropertyDeclaration(member)) { - containsPublicInstanceFields = true; - containsInitializedPublicInstanceFields || (containsInitializedPublicInstanceFields = !!member.initializer); - } - } - } - const willHoistInitializersToConstructor = shouldTransformInitializersUsingDefine && containsPublicInstanceFields || shouldTransformInitializersUsingSet && containsInitializedPublicInstanceFields || shouldTransformPrivateElementsOrClassStaticBlocks && containsInstancePrivateElements || shouldTransformPrivateElementsOrClassStaticBlocks && containsInstanceAutoAccessors && shouldTransformAutoAccessors === -1 /* True */; - if (willHoistInitializersToConstructor) { - facts |= 16 /* WillHoistInitializersToConstructor */; - } - return facts; - } - function visitExpressionWithTypeArgumentsInHeritageClause(node) { - var _a; - const facts = ((_a = lexicalEnvironment == null ? void 0 : lexicalEnvironment.data) == null ? void 0 : _a.facts) || 0 /* None */; - if (facts & 4 /* NeedsClassSuperReference */) { - const temp = factory2.createTempVariable( - hoistVariableDeclaration, - /*reservedInNestedScopes*/ - true - ); - getClassLexicalEnvironment().superClassReference = temp; - return factory2.updateExpressionWithTypeArguments( - node, - factory2.createAssignment( - temp, - visitNode(node.expression, visitor, isExpression) - ), - /*typeArguments*/ - void 0 - ); - } - return visitEachChild(node, visitor, context); - } - function visitInNewClassLexicalEnvironment(node, visitor2) { - var _a; - const savedCurrentClassContainer = currentClassContainer; - const savedPendingExpressions = pendingExpressions; - const savedLexicalEnvironment = lexicalEnvironment; - currentClassContainer = node; - pendingExpressions = void 0; - startClassLexicalEnvironment(); - const shouldAlwaysTransformPrivateStaticElements = getInternalEmitFlags(node) & 32 /* TransformPrivateStaticElements */; - if (shouldTransformPrivateElementsOrClassStaticBlocks || shouldAlwaysTransformPrivateStaticElements) { - const name = getNameOfDeclaration(node); - if (name && isIdentifier(name)) { - getPrivateIdentifierEnvironment().data.className = name; - } else if ((_a = node.emitNode) == null ? void 0 : _a.assignedName) { - if (isStringLiteral(node.emitNode.assignedName)) { - if (node.emitNode.assignedName.textSourceNode && isIdentifier(node.emitNode.assignedName.textSourceNode)) { - getPrivateIdentifierEnvironment().data.className = node.emitNode.assignedName.textSourceNode; - } else if (isIdentifierText(node.emitNode.assignedName.text, languageVersion)) { - const prefixName = factory2.createIdentifier(node.emitNode.assignedName.text); - getPrivateIdentifierEnvironment().data.className = prefixName; - } - } - } - } - if (shouldTransformPrivateElementsOrClassStaticBlocks) { - const privateInstanceMethodsAndAccessors = getPrivateInstanceMethodsAndAccessors(node); - if (some(privateInstanceMethodsAndAccessors)) { - getPrivateIdentifierEnvironment().data.weakSetName = createHoistedVariableForClass( - "instances", - privateInstanceMethodsAndAccessors[0].name - ); - } - } - const facts = getClassFacts(node); - if (facts) { - getClassLexicalEnvironment().facts = facts; - } - if (facts & 8 /* NeedsSubstitutionForThisInClassStaticField */) { - enableSubstitutionForClassStaticThisOrSuperReference(); - } - const result = visitor2(node, facts); - endClassLexicalEnvironment(); - Debug.assert(lexicalEnvironment === savedLexicalEnvironment); - currentClassContainer = savedCurrentClassContainer; - pendingExpressions = savedPendingExpressions; - return result; - } - function visitClassDeclaration(node) { - return visitInNewClassLexicalEnvironment(node, visitClassDeclarationInNewClassLexicalEnvironment); - } - function visitClassDeclarationInNewClassLexicalEnvironment(node, facts) { - var _a, _b; - let pendingClassReferenceAssignment; - if (facts & 2 /* NeedsClassConstructorReference */) { - if (shouldTransformPrivateElementsOrClassStaticBlocks && ((_a = node.emitNode) == null ? void 0 : _a.classThis)) { - getClassLexicalEnvironment().classConstructor = node.emitNode.classThis; - pendingClassReferenceAssignment = factory2.createAssignment(node.emitNode.classThis, factory2.getInternalName(node)); - } else { - const temp = factory2.createTempVariable( - hoistVariableDeclaration, - /*reservedInNestedScopes*/ - true - ); - getClassLexicalEnvironment().classConstructor = factory2.cloneNode(temp); - pendingClassReferenceAssignment = factory2.createAssignment(temp, factory2.getInternalName(node)); - } - } - if ((_b = node.emitNode) == null ? void 0 : _b.classThis) { - getClassLexicalEnvironment().classThis = node.emitNode.classThis; - } - const isClassWithConstructorReference = resolver.hasNodeCheckFlag(node, 262144 /* ContainsConstructorReference */); - const isExport = hasSyntacticModifier(node, 32 /* Export */); - const isDefault = hasSyntacticModifier(node, 2048 /* Default */); - let modifiers = visitNodes2(node.modifiers, modifierVisitor, isModifier); - const heritageClauses = visitNodes2(node.heritageClauses, heritageClauseVisitor, isHeritageClause); - const { members, prologue } = transformClassMembers(node); - const statements = []; - if (pendingClassReferenceAssignment) { - getPendingExpressions().unshift(pendingClassReferenceAssignment); - } - if (some(pendingExpressions)) { - statements.push(factory2.createExpressionStatement(factory2.inlineExpressions(pendingExpressions))); - } - if (shouldTransformInitializersUsingSet || shouldTransformPrivateElementsOrClassStaticBlocks || getInternalEmitFlags(node) & 32 /* TransformPrivateStaticElements */) { - const staticProperties = getStaticPropertiesAndClassStaticBlock(node); - if (some(staticProperties)) { - addPropertyOrClassStaticBlockStatements(statements, staticProperties, factory2.getInternalName(node)); - } - } - if (statements.length > 0 && isExport && isDefault) { - modifiers = visitNodes2(modifiers, (node2) => isExportOrDefaultModifier(node2) ? void 0 : node2, isModifier); - statements.push(factory2.createExportAssignment( - /*modifiers*/ - void 0, - /*isExportEquals*/ - false, - factory2.getLocalName( - node, - /*allowComments*/ - false, - /*allowSourceMaps*/ - true - ) - )); - } - const alias = getClassLexicalEnvironment().classConstructor; - if (isClassWithConstructorReference && alias) { - enableSubstitutionForClassAliases(); - classAliases[getOriginalNodeId(node)] = alias; - } - const classDecl = factory2.updateClassDeclaration( - node, - modifiers, - node.name, - /*typeParameters*/ - void 0, - heritageClauses, - members - ); - statements.unshift(classDecl); - if (prologue) { - statements.unshift(factory2.createExpressionStatement(prologue)); - } - return statements; - } - function visitClassExpression(node) { - return visitInNewClassLexicalEnvironment(node, visitClassExpressionInNewClassLexicalEnvironment); - } - function visitClassExpressionInNewClassLexicalEnvironment(node, facts) { - var _a, _b, _c; - const isDecoratedClassDeclaration = !!(facts & 1 /* ClassWasDecorated */); - const staticPropertiesOrClassStaticBlocks = getStaticPropertiesAndClassStaticBlock(node); - const isClassWithConstructorReference = resolver.hasNodeCheckFlag(node, 262144 /* ContainsConstructorReference */); - const requiresBlockScopedVar = resolver.hasNodeCheckFlag(node, 32768 /* BlockScopedBindingInLoop */); - let temp; - function createClassTempVar() { - var _a2; - if (shouldTransformPrivateElementsOrClassStaticBlocks && ((_a2 = node.emitNode) == null ? void 0 : _a2.classThis)) { - return getClassLexicalEnvironment().classConstructor = node.emitNode.classThis; - } - const temp2 = factory2.createTempVariable( - requiresBlockScopedVar ? addBlockScopedVariable : hoistVariableDeclaration, - /*reservedInNestedScopes*/ - true - ); - getClassLexicalEnvironment().classConstructor = factory2.cloneNode(temp2); - return temp2; - } - if ((_a = node.emitNode) == null ? void 0 : _a.classThis) { - getClassLexicalEnvironment().classThis = node.emitNode.classThis; - } - if (facts & 2 /* NeedsClassConstructorReference */) { - temp ?? (temp = createClassTempVar()); - } - const modifiers = visitNodes2(node.modifiers, modifierVisitor, isModifier); - const heritageClauses = visitNodes2(node.heritageClauses, heritageClauseVisitor, isHeritageClause); - const { members, prologue } = transformClassMembers(node); - const classExpression = factory2.updateClassExpression( - node, - modifiers, - node.name, - /*typeParameters*/ - void 0, - heritageClauses, - members - ); - const expressions = []; - if (prologue) { - expressions.push(prologue); - } - const hasTransformableStatics = (shouldTransformPrivateElementsOrClassStaticBlocks || getInternalEmitFlags(node) & 32 /* TransformPrivateStaticElements */) && some(staticPropertiesOrClassStaticBlocks, (node2) => isClassStaticBlockDeclaration(node2) || isPrivateIdentifierClassElementDeclaration(node2) || shouldTransformInitializers && isInitializedProperty(node2)); - if (hasTransformableStatics || some(pendingExpressions)) { - if (isDecoratedClassDeclaration) { - Debug.assertIsDefined(pendingStatements, "Decorated classes transformed by TypeScript are expected to be within a variable declaration."); - if (some(pendingExpressions)) { - addRange(pendingStatements, map(pendingExpressions, factory2.createExpressionStatement)); - } - if (some(staticPropertiesOrClassStaticBlocks)) { - addPropertyOrClassStaticBlockStatements(pendingStatements, staticPropertiesOrClassStaticBlocks, ((_b = node.emitNode) == null ? void 0 : _b.classThis) ?? factory2.getInternalName(node)); - } - if (temp) { - expressions.push(factory2.createAssignment(temp, classExpression)); - } else if (shouldTransformPrivateElementsOrClassStaticBlocks && ((_c = node.emitNode) == null ? void 0 : _c.classThis)) { - expressions.push(factory2.createAssignment(node.emitNode.classThis, classExpression)); - } else { - expressions.push(classExpression); - } - } else { - temp ?? (temp = createClassTempVar()); - if (isClassWithConstructorReference) { - enableSubstitutionForClassAliases(); - const alias = factory2.cloneNode(temp); - alias.emitNode.autoGenerate.flags &= ~8 /* ReservedInNestedScopes */; - classAliases[getOriginalNodeId(node)] = alias; - } - expressions.push(factory2.createAssignment(temp, classExpression)); - addRange(expressions, pendingExpressions); - addRange(expressions, generateInitializedPropertyExpressionsOrClassStaticBlock(staticPropertiesOrClassStaticBlocks, temp)); - expressions.push(factory2.cloneNode(temp)); - } - } else { - expressions.push(classExpression); - } - if (expressions.length > 1) { - addEmitFlags(classExpression, 131072 /* Indented */); - expressions.forEach(startOnNewLine); - } - return factory2.inlineExpressions(expressions); - } - function visitClassStaticBlockDeclaration(node) { - if (!shouldTransformPrivateElementsOrClassStaticBlocks) { - return visitEachChild(node, visitor, context); - } - return void 0; - } - function visitThisExpression(node) { - if (shouldTransformThisInStaticInitializers && currentClassElement && isClassStaticBlockDeclaration(currentClassElement) && (lexicalEnvironment == null ? void 0 : lexicalEnvironment.data)) { - const { classThis, classConstructor } = lexicalEnvironment.data; - return classThis ?? classConstructor ?? node; - } - return node; - } - function transformClassMembers(node) { - const shouldTransformPrivateStaticElementsInClass = !!(getInternalEmitFlags(node) & 32 /* TransformPrivateStaticElements */); - if (shouldTransformPrivateElementsOrClassStaticBlocks || shouldTransformPrivateStaticElementsInFile) { - for (const member of node.members) { - if (isPrivateIdentifierClassElementDeclaration(member)) { - if (shouldTransformClassElementToWeakMap(member)) { - addPrivateIdentifierToEnvironment(member, member.name, addPrivateIdentifierClassElementToEnvironment); - } else { - const privateEnv = getPrivateIdentifierEnvironment(); - setPrivateIdentifier(privateEnv, member.name, { kind: "untransformed" }); - } - } - } - if (shouldTransformPrivateElementsOrClassStaticBlocks) { - if (some(getPrivateInstanceMethodsAndAccessors(node))) { - createBrandCheckWeakSetForPrivateMethods(); - } - } - if (shouldTransformAutoAccessorsInCurrentClass()) { - for (const member of node.members) { - if (isAutoAccessorPropertyDeclaration(member)) { - const storageName = factory2.getGeneratedPrivateNameForNode( - member.name, - /*prefix*/ - void 0, - "_accessor_storage" - ); - if (shouldTransformPrivateElementsOrClassStaticBlocks || shouldTransformPrivateStaticElementsInClass && hasStaticModifier(member)) { - addPrivateIdentifierToEnvironment(member, storageName, addPrivateIdentifierPropertyDeclarationToEnvironment); - } else { - const privateEnv = getPrivateIdentifierEnvironment(); - setPrivateIdentifier(privateEnv, storageName, { kind: "untransformed" }); - } - } - } - } - } - let members = visitNodes2(node.members, classElementVisitor, isClassElement); - let syntheticConstructor; - if (!some(members, isConstructorDeclaration)) { - syntheticConstructor = transformConstructor( - /*constructor*/ - void 0, - node - ); - } - let prologue; - let syntheticStaticBlock; - if (!shouldTransformPrivateElementsOrClassStaticBlocks && some(pendingExpressions)) { - let statement = factory2.createExpressionStatement(factory2.inlineExpressions(pendingExpressions)); - if (statement.transformFlags & 134234112 /* ContainsLexicalThisOrSuper */) { - const temp = factory2.createTempVariable(hoistVariableDeclaration); - const arrow = factory2.createArrowFunction( - /*modifiers*/ - void 0, - /*typeParameters*/ - void 0, - /*parameters*/ - [], - /*type*/ - void 0, - /*equalsGreaterThanToken*/ - void 0, - factory2.createBlock([statement]) - ); - prologue = factory2.createAssignment(temp, arrow); - statement = factory2.createExpressionStatement(factory2.createCallExpression( - temp, - /*typeArguments*/ - void 0, - [] - )); - } - const block = factory2.createBlock([statement]); - syntheticStaticBlock = factory2.createClassStaticBlockDeclaration(block); - pendingExpressions = void 0; - } - if (syntheticConstructor || syntheticStaticBlock) { - let membersArray; - const classThisAssignmentBlock = find(members, isClassThisAssignmentBlock); - const classNamedEvaluationHelperBlock = find(members, isClassNamedEvaluationHelperBlock); - membersArray = append(membersArray, classThisAssignmentBlock); - membersArray = append(membersArray, classNamedEvaluationHelperBlock); - membersArray = append(membersArray, syntheticConstructor); - membersArray = append(membersArray, syntheticStaticBlock); - const remainingMembers = classThisAssignmentBlock || classNamedEvaluationHelperBlock ? filter(members, (member) => member !== classThisAssignmentBlock && member !== classNamedEvaluationHelperBlock) : members; - membersArray = addRange(membersArray, remainingMembers); - members = setTextRange( - factory2.createNodeArray(membersArray), - /*location*/ - node.members - ); - } - return { members, prologue }; - } - function createBrandCheckWeakSetForPrivateMethods() { - const { weakSetName } = getPrivateIdentifierEnvironment().data; - Debug.assert(weakSetName, "weakSetName should be set in private identifier environment"); - getPendingExpressions().push( - factory2.createAssignment( - weakSetName, - factory2.createNewExpression( - factory2.createIdentifier("WeakSet"), - /*typeArguments*/ - void 0, - [] - ) - ) - ); - } - function transformConstructor(constructor, container) { - constructor = visitNode(constructor, visitor, isConstructorDeclaration); - if (!(lexicalEnvironment == null ? void 0 : lexicalEnvironment.data) || !(lexicalEnvironment.data.facts & 16 /* WillHoistInitializersToConstructor */)) { - return constructor; - } - const extendsClauseElement = getEffectiveBaseTypeNode(container); - const isDerivedClass = !!(extendsClauseElement && skipOuterExpressions(extendsClauseElement.expression).kind !== 106 /* NullKeyword */); - const parameters = visitParameterList(constructor ? constructor.parameters : void 0, visitor, context); - const body = transformConstructorBody(container, constructor, isDerivedClass); - if (!body) { - return constructor; - } - if (constructor) { - Debug.assert(parameters); - return factory2.updateConstructorDeclaration( - constructor, - /*modifiers*/ - void 0, - parameters, - body - ); - } - return startOnNewLine( - setOriginalNode( - setTextRange( - factory2.createConstructorDeclaration( - /*modifiers*/ - void 0, - parameters ?? [], - body - ), - constructor || container - ), - constructor - ) - ); - } - function transformConstructorBodyWorker(statementsOut, statementsIn, statementOffset, superPath, superPathDepth, initializerStatements, constructor) { - const superStatementIndex = superPath[superPathDepth]; - const superStatement = statementsIn[superStatementIndex]; - addRange(statementsOut, visitNodes2(statementsIn, visitor, isStatement, statementOffset, superStatementIndex - statementOffset)); - statementOffset = superStatementIndex + 1; - if (isTryStatement(superStatement)) { - const tryBlockStatements = []; - transformConstructorBodyWorker( - tryBlockStatements, - superStatement.tryBlock.statements, - /*statementOffset*/ - 0, - superPath, - superPathDepth + 1, - initializerStatements, - constructor - ); - const tryBlockStatementsArray = factory2.createNodeArray(tryBlockStatements); - setTextRange(tryBlockStatementsArray, superStatement.tryBlock.statements); - statementsOut.push(factory2.updateTryStatement( - superStatement, - factory2.updateBlock(superStatement.tryBlock, tryBlockStatements), - visitNode(superStatement.catchClause, visitor, isCatchClause), - visitNode(superStatement.finallyBlock, visitor, isBlock) - )); - } else { - addRange(statementsOut, visitNodes2(statementsIn, visitor, isStatement, superStatementIndex, 1)); - while (statementOffset < statementsIn.length) { - const statement = statementsIn[statementOffset]; - if (isParameterPropertyDeclaration(getOriginalNode(statement), constructor)) { - statementOffset++; - } else { - break; - } - } - addRange(statementsOut, initializerStatements); - } - addRange(statementsOut, visitNodes2(statementsIn, visitor, isStatement, statementOffset)); - } - function transformConstructorBody(node, constructor, isDerivedClass) { - var _a; - const instanceProperties = getProperties( - node, - /*requireInitializer*/ - false, - /*isStatic*/ - false - ); - let properties = instanceProperties; - if (!useDefineForClassFields) { - properties = filter(properties, (property) => !!property.initializer || isPrivateIdentifier(property.name) || hasAccessorModifier(property)); - } - const privateMethodsAndAccessors = getPrivateInstanceMethodsAndAccessors(node); - const needsConstructorBody = some(properties) || some(privateMethodsAndAccessors); - if (!constructor && !needsConstructorBody) { - return visitFunctionBody( - /*node*/ - void 0, - visitor, - context - ); - } - resumeLexicalEnvironment(); - const needsSyntheticConstructor = !constructor && isDerivedClass; - let statementOffset = 0; - let statements = []; - const initializerStatements = []; - const receiver = factory2.createThis(); - addInstanceMethodStatements(initializerStatements, privateMethodsAndAccessors, receiver); - if (constructor) { - const parameterProperties = filter(instanceProperties, (prop) => isParameterPropertyDeclaration(getOriginalNode(prop), constructor)); - const nonParameterProperties = filter(properties, (prop) => !isParameterPropertyDeclaration(getOriginalNode(prop), constructor)); - addPropertyOrClassStaticBlockStatements(initializerStatements, parameterProperties, receiver); - addPropertyOrClassStaticBlockStatements(initializerStatements, nonParameterProperties, receiver); - } else { - addPropertyOrClassStaticBlockStatements(initializerStatements, properties, receiver); - } - if (constructor == null ? void 0 : constructor.body) { - statementOffset = factory2.copyPrologue( - constructor.body.statements, - statements, - /*ensureUseStrict*/ - false, - visitor - ); - const superStatementIndices = findSuperStatementIndexPath(constructor.body.statements, statementOffset); - if (superStatementIndices.length) { - transformConstructorBodyWorker( - statements, - constructor.body.statements, - statementOffset, - superStatementIndices, - /*superPathDepth*/ - 0, - initializerStatements, - constructor - ); - } else { - while (statementOffset < constructor.body.statements.length) { - const statement = constructor.body.statements[statementOffset]; - if (isParameterPropertyDeclaration(getOriginalNode(statement), constructor)) { - statementOffset++; - } else { - break; - } - } - addRange(statements, initializerStatements); - addRange(statements, visitNodes2(constructor.body.statements, visitor, isStatement, statementOffset)); - } - } else { - if (needsSyntheticConstructor) { - statements.push( - factory2.createExpressionStatement( - factory2.createCallExpression( - factory2.createSuper(), - /*typeArguments*/ - void 0, - [factory2.createSpreadElement(factory2.createIdentifier("arguments"))] - ) - ) - ); - } - addRange(statements, initializerStatements); - } - statements = factory2.mergeLexicalEnvironment(statements, endLexicalEnvironment()); - if (statements.length === 0 && !constructor) { - return void 0; - } - const multiLine = (constructor == null ? void 0 : constructor.body) && constructor.body.statements.length >= statements.length ? constructor.body.multiLine ?? statements.length > 0 : statements.length > 0; - return setTextRange( - factory2.createBlock( - setTextRange( - factory2.createNodeArray(statements), - /*location*/ - ((_a = constructor == null ? void 0 : constructor.body) == null ? void 0 : _a.statements) ?? node.members - ), - multiLine - ), - /*location*/ - constructor == null ? void 0 : constructor.body - ); - } - function addPropertyOrClassStaticBlockStatements(statements, properties, receiver) { - for (const property of properties) { - if (isStatic(property) && !shouldTransformPrivateElementsOrClassStaticBlocks) { - continue; - } - const statement = transformPropertyOrClassStaticBlock(property, receiver); - if (!statement) { - continue; - } - statements.push(statement); - } - } - function transformPropertyOrClassStaticBlock(property, receiver) { - const expression = isClassStaticBlockDeclaration(property) ? setCurrentClassElementAnd(property, transformClassStaticBlockDeclaration, property) : transformProperty(property, receiver); - if (!expression) { - return void 0; - } - const statement = factory2.createExpressionStatement(expression); - setOriginalNode(statement, property); - addEmitFlags(statement, getEmitFlags(property) & 3072 /* NoComments */); - setCommentRange(statement, property); - const propertyOriginalNode = getOriginalNode(property); - if (isParameter(propertyOriginalNode)) { - setSourceMapRange(statement, propertyOriginalNode); - removeAllComments(statement); - } else { - setSourceMapRange(statement, moveRangePastModifiers(property)); - } - setSyntheticLeadingComments(expression, void 0); - setSyntheticTrailingComments(expression, void 0); - if (hasAccessorModifier(propertyOriginalNode)) { - addEmitFlags(statement, 3072 /* NoComments */); - } - return statement; - } - function generateInitializedPropertyExpressionsOrClassStaticBlock(propertiesOrClassStaticBlocks, receiver) { - const expressions = []; - for (const property of propertiesOrClassStaticBlocks) { - const expression = isClassStaticBlockDeclaration(property) ? setCurrentClassElementAnd(property, transformClassStaticBlockDeclaration, property) : setCurrentClassElementAnd( - property, - () => transformProperty(property, receiver), - /*arg*/ - void 0 - ); - if (!expression) { - continue; - } - startOnNewLine(expression); - setOriginalNode(expression, property); - addEmitFlags(expression, getEmitFlags(property) & 3072 /* NoComments */); - setSourceMapRange(expression, moveRangePastModifiers(property)); - setCommentRange(expression, property); - expressions.push(expression); - } - return expressions; - } - function transformProperty(property, receiver) { - var _a; - const savedCurrentClassElement = currentClassElement; - const transformed = transformPropertyWorker(property, receiver); - if (transformed && hasStaticModifier(property) && ((_a = lexicalEnvironment == null ? void 0 : lexicalEnvironment.data) == null ? void 0 : _a.facts)) { - setOriginalNode(transformed, property); - addEmitFlags(transformed, 4 /* AdviseOnEmitNode */); - setSourceMapRange(transformed, getSourceMapRange(property.name)); - lexicalEnvironmentMap.set(getOriginalNode(property), lexicalEnvironment); - } - currentClassElement = savedCurrentClassElement; - return transformed; - } - function transformPropertyWorker(property, receiver) { - const emitAssignment = !useDefineForClassFields; - if (isNamedEvaluation(property, isAnonymousClassNeedingAssignedName)) { - property = transformNamedEvaluation(context, property); - } - const propertyName = hasAccessorModifier(property) ? factory2.getGeneratedPrivateNameForNode(property.name) : isComputedPropertyName(property.name) && !isSimpleInlineableExpression(property.name.expression) ? factory2.updateComputedPropertyName(property.name, factory2.getGeneratedNameForNode(property.name)) : property.name; - if (hasStaticModifier(property)) { - currentClassElement = property; - } - if (isPrivateIdentifier(propertyName) && shouldTransformClassElementToWeakMap(property)) { - const privateIdentifierInfo = accessPrivateIdentifier2(propertyName); - if (privateIdentifierInfo) { - if (privateIdentifierInfo.kind === "f" /* Field */) { - if (!privateIdentifierInfo.isStatic) { - return createPrivateInstanceFieldInitializer( - factory2, - receiver, - visitNode(property.initializer, visitor, isExpression), - privateIdentifierInfo.brandCheckIdentifier - ); - } else { - return createPrivateStaticFieldInitializer( - factory2, - privateIdentifierInfo.variableName, - visitNode(property.initializer, visitor, isExpression) - ); - } - } else { - return void 0; - } - } else { - Debug.fail("Undeclared private name for property declaration."); - } - } - if ((isPrivateIdentifier(propertyName) || hasStaticModifier(property)) && !property.initializer) { - return void 0; - } - const propertyOriginalNode = getOriginalNode(property); - if (hasSyntacticModifier(propertyOriginalNode, 64 /* Abstract */)) { - return void 0; - } - let initializer = visitNode(property.initializer, visitor, isExpression); - if (isParameterPropertyDeclaration(propertyOriginalNode, propertyOriginalNode.parent) && isIdentifier(propertyName)) { - const localName = factory2.cloneNode(propertyName); - if (initializer) { - if (isParenthesizedExpression(initializer) && isCommaExpression(initializer.expression) && isCallToHelper(initializer.expression.left, "___runInitializers") && isVoidExpression(initializer.expression.right) && isNumericLiteral(initializer.expression.right.expression)) { - initializer = initializer.expression.left; - } - initializer = factory2.inlineExpressions([initializer, localName]); - } else { - initializer = localName; - } - setEmitFlags(propertyName, 3072 /* NoComments */ | 96 /* NoSourceMap */); - setSourceMapRange(localName, propertyOriginalNode.name); - setEmitFlags(localName, 3072 /* NoComments */); - } else { - initializer ?? (initializer = factory2.createVoidZero()); - } - if (emitAssignment || isPrivateIdentifier(propertyName)) { - const memberAccess = createMemberAccessForPropertyName( - factory2, - receiver, - propertyName, - /*location*/ - propertyName - ); - addEmitFlags(memberAccess, 1024 /* NoLeadingComments */); - const expression = factory2.createAssignment(memberAccess, initializer); - return expression; - } else { - const name = isComputedPropertyName(propertyName) ? propertyName.expression : isIdentifier(propertyName) ? factory2.createStringLiteral(unescapeLeadingUnderscores(propertyName.escapedText)) : propertyName; - const descriptor = factory2.createPropertyDescriptor({ value: initializer, configurable: true, writable: true, enumerable: true }); - return factory2.createObjectDefinePropertyCall(receiver, name, descriptor); - } - } - function enableSubstitutionForClassAliases() { - if ((enabledSubstitutions & 1 /* ClassAliases */) === 0) { - enabledSubstitutions |= 1 /* ClassAliases */; - context.enableSubstitution(80 /* Identifier */); - classAliases = []; - } - } - function enableSubstitutionForClassStaticThisOrSuperReference() { - if ((enabledSubstitutions & 2 /* ClassStaticThisOrSuperReference */) === 0) { - enabledSubstitutions |= 2 /* ClassStaticThisOrSuperReference */; - context.enableSubstitution(110 /* ThisKeyword */); - context.enableEmitNotification(262 /* FunctionDeclaration */); - context.enableEmitNotification(218 /* FunctionExpression */); - context.enableEmitNotification(176 /* Constructor */); - context.enableEmitNotification(177 /* GetAccessor */); - context.enableEmitNotification(178 /* SetAccessor */); - context.enableEmitNotification(174 /* MethodDeclaration */); - context.enableEmitNotification(172 /* PropertyDeclaration */); - context.enableEmitNotification(167 /* ComputedPropertyName */); - } - } - function addInstanceMethodStatements(statements, methods, receiver) { - if (!shouldTransformPrivateElementsOrClassStaticBlocks || !some(methods)) { - return; - } - const { weakSetName } = getPrivateIdentifierEnvironment().data; - Debug.assert(weakSetName, "weakSetName should be set in private identifier environment"); - statements.push( - factory2.createExpressionStatement( - createPrivateInstanceMethodInitializer(factory2, receiver, weakSetName) - ) - ); - } - function visitInvalidSuperProperty(node) { - return isPropertyAccessExpression(node) ? factory2.updatePropertyAccessExpression( - node, - factory2.createVoidZero(), - node.name - ) : factory2.updateElementAccessExpression( - node, - factory2.createVoidZero(), - visitNode(node.argumentExpression, visitor, isExpression) - ); - } - function getPropertyNameExpressionIfNeeded(name, shouldHoist) { - if (isComputedPropertyName(name)) { - const cacheAssignment = findComputedPropertyNameCacheAssignment(name); - const expression = visitNode(name.expression, visitor, isExpression); - const innerExpression = skipPartiallyEmittedExpressions(expression); - const inlinable = isSimpleInlineableExpression(innerExpression); - const alreadyTransformed = !!cacheAssignment || isAssignmentExpression(innerExpression) && isGeneratedIdentifier(innerExpression.left); - if (!alreadyTransformed && !inlinable && shouldHoist) { - const generatedName = factory2.getGeneratedNameForNode(name); - if (resolver.hasNodeCheckFlag(name, 32768 /* BlockScopedBindingInLoop */)) { - addBlockScopedVariable(generatedName); - } else { - hoistVariableDeclaration(generatedName); - } - return factory2.createAssignment(generatedName, expression); - } - return inlinable || isIdentifier(innerExpression) ? void 0 : expression; - } - } - function startClassLexicalEnvironment() { - lexicalEnvironment = { previous: lexicalEnvironment, data: void 0 }; - } - function endClassLexicalEnvironment() { - lexicalEnvironment = lexicalEnvironment == null ? void 0 : lexicalEnvironment.previous; - } - function getClassLexicalEnvironment() { - Debug.assert(lexicalEnvironment); - return lexicalEnvironment.data ?? (lexicalEnvironment.data = { - facts: 0 /* None */, - classConstructor: void 0, - classThis: void 0, - superClassReference: void 0 - // privateIdentifierEnvironment: undefined, - }); - } - function getPrivateIdentifierEnvironment() { - Debug.assert(lexicalEnvironment); - return lexicalEnvironment.privateEnv ?? (lexicalEnvironment.privateEnv = newPrivateEnvironment({ - className: void 0, - weakSetName: void 0 - })); - } - function getPendingExpressions() { - return pendingExpressions ?? (pendingExpressions = []); - } - function addPrivateIdentifierClassElementToEnvironment(node, name, lex, privateEnv, isStatic2, isValid, previousInfo) { - if (isAutoAccessorPropertyDeclaration(node)) { - addPrivateIdentifierAutoAccessorPropertyDeclarationToEnvironment(node, name, lex, privateEnv, isStatic2, isValid, previousInfo); - } else if (isPropertyDeclaration(node)) { - addPrivateIdentifierPropertyDeclarationToEnvironment(node, name, lex, privateEnv, isStatic2, isValid, previousInfo); - } else if (isMethodDeclaration(node)) { - addPrivateIdentifierMethodDeclarationToEnvironment(node, name, lex, privateEnv, isStatic2, isValid, previousInfo); - } else if (isGetAccessorDeclaration(node)) { - addPrivateIdentifierGetAccessorDeclarationToEnvironment(node, name, lex, privateEnv, isStatic2, isValid, previousInfo); - } else if (isSetAccessorDeclaration(node)) { - addPrivateIdentifierSetAccessorDeclarationToEnvironment(node, name, lex, privateEnv, isStatic2, isValid, previousInfo); - } - } - function addPrivateIdentifierPropertyDeclarationToEnvironment(_node, name, lex, privateEnv, isStatic2, isValid, _previousInfo) { - if (isStatic2) { - const brandCheckIdentifier = Debug.checkDefined(lex.classThis ?? lex.classConstructor, "classConstructor should be set in private identifier environment"); - const variableName = createHoistedVariableForPrivateName(name); - setPrivateIdentifier(privateEnv, name, { - kind: "f" /* Field */, - isStatic: true, - brandCheckIdentifier, - variableName, - isValid - }); - } else { - const weakMapName = createHoistedVariableForPrivateName(name); - setPrivateIdentifier(privateEnv, name, { - kind: "f" /* Field */, - isStatic: false, - brandCheckIdentifier: weakMapName, - isValid - }); - getPendingExpressions().push(factory2.createAssignment( - weakMapName, - factory2.createNewExpression( - factory2.createIdentifier("WeakMap"), - /*typeArguments*/ - void 0, - [] - ) - )); - } - } - function addPrivateIdentifierMethodDeclarationToEnvironment(_node, name, lex, privateEnv, isStatic2, isValid, _previousInfo) { - const methodName = createHoistedVariableForPrivateName(name); - const brandCheckIdentifier = isStatic2 ? Debug.checkDefined(lex.classThis ?? lex.classConstructor, "classConstructor should be set in private identifier environment") : Debug.checkDefined(privateEnv.data.weakSetName, "weakSetName should be set in private identifier environment"); - setPrivateIdentifier(privateEnv, name, { - kind: "m" /* Method */, - methodName, - brandCheckIdentifier, - isStatic: isStatic2, - isValid - }); - } - function addPrivateIdentifierGetAccessorDeclarationToEnvironment(_node, name, lex, privateEnv, isStatic2, isValid, previousInfo) { - const getterName = createHoistedVariableForPrivateName(name, "_get"); - const brandCheckIdentifier = isStatic2 ? Debug.checkDefined(lex.classThis ?? lex.classConstructor, "classConstructor should be set in private identifier environment") : Debug.checkDefined(privateEnv.data.weakSetName, "weakSetName should be set in private identifier environment"); - if ((previousInfo == null ? void 0 : previousInfo.kind) === "a" /* Accessor */ && previousInfo.isStatic === isStatic2 && !previousInfo.getterName) { - previousInfo.getterName = getterName; - } else { - setPrivateIdentifier(privateEnv, name, { - kind: "a" /* Accessor */, - getterName, - setterName: void 0, - brandCheckIdentifier, - isStatic: isStatic2, - isValid - }); - } - } - function addPrivateIdentifierSetAccessorDeclarationToEnvironment(_node, name, lex, privateEnv, isStatic2, isValid, previousInfo) { - const setterName = createHoistedVariableForPrivateName(name, "_set"); - const brandCheckIdentifier = isStatic2 ? Debug.checkDefined(lex.classThis ?? lex.classConstructor, "classConstructor should be set in private identifier environment") : Debug.checkDefined(privateEnv.data.weakSetName, "weakSetName should be set in private identifier environment"); - if ((previousInfo == null ? void 0 : previousInfo.kind) === "a" /* Accessor */ && previousInfo.isStatic === isStatic2 && !previousInfo.setterName) { - previousInfo.setterName = setterName; - } else { - setPrivateIdentifier(privateEnv, name, { - kind: "a" /* Accessor */, - getterName: void 0, - setterName, - brandCheckIdentifier, - isStatic: isStatic2, - isValid - }); - } - } - function addPrivateIdentifierAutoAccessorPropertyDeclarationToEnvironment(_node, name, lex, privateEnv, isStatic2, isValid, _previousInfo) { - const getterName = createHoistedVariableForPrivateName(name, "_get"); - const setterName = createHoistedVariableForPrivateName(name, "_set"); - const brandCheckIdentifier = isStatic2 ? Debug.checkDefined(lex.classThis ?? lex.classConstructor, "classConstructor should be set in private identifier environment") : Debug.checkDefined(privateEnv.data.weakSetName, "weakSetName should be set in private identifier environment"); - setPrivateIdentifier(privateEnv, name, { - kind: "a" /* Accessor */, - getterName, - setterName, - brandCheckIdentifier, - isStatic: isStatic2, - isValid - }); - } - function addPrivateIdentifierToEnvironment(node, name, addDeclaration) { - const lex = getClassLexicalEnvironment(); - const privateEnv = getPrivateIdentifierEnvironment(); - const previousInfo = getPrivateIdentifier(privateEnv, name); - const isStatic2 = hasStaticModifier(node); - const isValid = !isReservedPrivateName(name) && previousInfo === void 0; - addDeclaration(node, name, lex, privateEnv, isStatic2, isValid, previousInfo); - } - function createHoistedVariableForClass(name, node, suffix) { - const { className } = getPrivateIdentifierEnvironment().data; - const prefix = className ? { prefix: "_", node: className, suffix: "_" } : "_"; - const identifier = typeof name === "object" ? factory2.getGeneratedNameForNode(name, 16 /* Optimistic */ | 8 /* ReservedInNestedScopes */, prefix, suffix) : typeof name === "string" ? factory2.createUniqueName(name, 16 /* Optimistic */, prefix, suffix) : factory2.createTempVariable( - /*recordTempVariable*/ - void 0, - /*reservedInNestedScopes*/ - true, - prefix, - suffix - ); - if (resolver.hasNodeCheckFlag(node, 32768 /* BlockScopedBindingInLoop */)) { - addBlockScopedVariable(identifier); - } else { - hoistVariableDeclaration(identifier); - } - return identifier; - } - function createHoistedVariableForPrivateName(name, suffix) { - const text = tryGetTextOfPropertyName(name); - return createHoistedVariableForClass((text == null ? void 0 : text.substring(1)) ?? name, name, suffix); - } - function accessPrivateIdentifier2(name) { - const info = accessPrivateIdentifier(lexicalEnvironment, name); - return (info == null ? void 0 : info.kind) === "untransformed" ? void 0 : info; - } - function wrapPrivateIdentifierForDestructuringTarget(node) { - const parameter = factory2.getGeneratedNameForNode(node); - const info = accessPrivateIdentifier2(node.name); - if (!info) { - return visitEachChild(node, visitor, context); - } - let receiver = node.expression; - if (isThisProperty(node) || isSuperProperty(node) || !isSimpleCopiableExpression(node.expression)) { - receiver = factory2.createTempVariable( - hoistVariableDeclaration, - /*reservedInNestedScopes*/ - true - ); - getPendingExpressions().push(factory2.createBinaryExpression(receiver, 64 /* EqualsToken */, visitNode(node.expression, visitor, isExpression))); - } - return factory2.createAssignmentTargetWrapper( - parameter, - createPrivateIdentifierAssignment( - info, - receiver, - parameter, - 64 /* EqualsToken */ - ) - ); - } - function visitDestructuringAssignmentTarget(node) { - if (isObjectLiteralExpression(node) || isArrayLiteralExpression(node)) { - return visitAssignmentPattern(node); - } - if (isPrivateIdentifierPropertyAccessExpression(node)) { - return wrapPrivateIdentifierForDestructuringTarget(node); - } else if (shouldTransformSuperInStaticInitializers && currentClassElement && isSuperProperty(node) && isStaticPropertyDeclarationOrClassStaticBlock(currentClassElement) && (lexicalEnvironment == null ? void 0 : lexicalEnvironment.data)) { - const { classConstructor, superClassReference, facts } = lexicalEnvironment.data; - if (facts & 1 /* ClassWasDecorated */) { - return visitInvalidSuperProperty(node); - } else if (classConstructor && superClassReference) { - const name = isElementAccessExpression(node) ? visitNode(node.argumentExpression, visitor, isExpression) : isIdentifier(node.name) ? factory2.createStringLiteralFromNode(node.name) : void 0; - if (name) { - const temp = factory2.createTempVariable( - /*recordTempVariable*/ - void 0 - ); - return factory2.createAssignmentTargetWrapper( - temp, - factory2.createReflectSetCall( - superClassReference, - name, - temp, - classConstructor - ) - ); - } - } - } - return visitEachChild(node, visitor, context); - } - function visitAssignmentElement(node) { - if (isNamedEvaluation(node, isAnonymousClassNeedingAssignedName)) { - node = transformNamedEvaluation(context, node); - } - if (isAssignmentExpression( - node, - /*excludeCompoundAssignment*/ - true - )) { - const left = visitDestructuringAssignmentTarget(node.left); - const right = visitNode(node.right, visitor, isExpression); - return factory2.updateBinaryExpression(node, left, node.operatorToken, right); - } - return visitDestructuringAssignmentTarget(node); - } - function visitAssignmentRestElement(node) { - if (isLeftHandSideExpression(node.expression)) { - const expression = visitDestructuringAssignmentTarget(node.expression); - return factory2.updateSpreadElement(node, expression); - } - return visitEachChild(node, visitor, context); - } - function visitArrayAssignmentElement(node) { - if (isArrayBindingOrAssignmentElement(node)) { - if (isSpreadElement(node)) return visitAssignmentRestElement(node); - if (!isOmittedExpression(node)) return visitAssignmentElement(node); - } - return visitEachChild(node, visitor, context); - } - function visitAssignmentProperty(node) { - const name = visitNode(node.name, visitor, isPropertyName); - if (isAssignmentExpression( - node.initializer, - /*excludeCompoundAssignment*/ - true - )) { - const assignmentElement = visitAssignmentElement(node.initializer); - return factory2.updatePropertyAssignment(node, name, assignmentElement); - } - if (isLeftHandSideExpression(node.initializer)) { - const assignmentElement = visitDestructuringAssignmentTarget(node.initializer); - return factory2.updatePropertyAssignment(node, name, assignmentElement); - } - return visitEachChild(node, visitor, context); - } - function visitShorthandAssignmentProperty(node) { - if (isNamedEvaluation(node, isAnonymousClassNeedingAssignedName)) { - node = transformNamedEvaluation(context, node); - } - return visitEachChild(node, visitor, context); - } - function visitAssignmentRestProperty(node) { - if (isLeftHandSideExpression(node.expression)) { - const expression = visitDestructuringAssignmentTarget(node.expression); - return factory2.updateSpreadAssignment(node, expression); - } - return visitEachChild(node, visitor, context); - } - function visitObjectAssignmentElement(node) { - Debug.assertNode(node, isObjectBindingOrAssignmentElement); - if (isSpreadAssignment(node)) return visitAssignmentRestProperty(node); - if (isShorthandPropertyAssignment(node)) return visitShorthandAssignmentProperty(node); - if (isPropertyAssignment(node)) return visitAssignmentProperty(node); - return visitEachChild(node, visitor, context); - } - function visitAssignmentPattern(node) { - if (isArrayLiteralExpression(node)) { - return factory2.updateArrayLiteralExpression( - node, - visitNodes2(node.elements, visitArrayAssignmentElement, isExpression) - ); - } else { - return factory2.updateObjectLiteralExpression( - node, - visitNodes2(node.properties, visitObjectAssignmentElement, isObjectLiteralElementLike) - ); - } - } - function onEmitNode(hint, node, emitCallback) { - const original = getOriginalNode(node); - const lex = lexicalEnvironmentMap.get(original); - if (lex) { - const savedLexicalEnvironment = lexicalEnvironment; - const savedPreviousShouldSubstituteThisWithClassThis = previousShouldSubstituteThisWithClassThis; - lexicalEnvironment = lex; - previousShouldSubstituteThisWithClassThis = shouldSubstituteThisWithClassThis; - shouldSubstituteThisWithClassThis = !isClassStaticBlockDeclaration(original) || !(getInternalEmitFlags(original) & 32 /* TransformPrivateStaticElements */); - previousOnEmitNode(hint, node, emitCallback); - shouldSubstituteThisWithClassThis = previousShouldSubstituteThisWithClassThis; - previousShouldSubstituteThisWithClassThis = savedPreviousShouldSubstituteThisWithClassThis; - lexicalEnvironment = savedLexicalEnvironment; - return; - } - switch (node.kind) { - case 218 /* FunctionExpression */: - if (isArrowFunction(original) || getEmitFlags(node) & 524288 /* AsyncFunctionBody */) { - break; - } - case 262 /* FunctionDeclaration */: - case 176 /* Constructor */: - case 177 /* GetAccessor */: - case 178 /* SetAccessor */: - case 174 /* MethodDeclaration */: - case 172 /* PropertyDeclaration */: { - const savedLexicalEnvironment = lexicalEnvironment; - const savedPreviousShouldSubstituteThisWithClassThis = previousShouldSubstituteThisWithClassThis; - lexicalEnvironment = void 0; - previousShouldSubstituteThisWithClassThis = shouldSubstituteThisWithClassThis; - shouldSubstituteThisWithClassThis = false; - previousOnEmitNode(hint, node, emitCallback); - shouldSubstituteThisWithClassThis = previousShouldSubstituteThisWithClassThis; - previousShouldSubstituteThisWithClassThis = savedPreviousShouldSubstituteThisWithClassThis; - lexicalEnvironment = savedLexicalEnvironment; - return; - } - case 167 /* ComputedPropertyName */: { - const savedLexicalEnvironment = lexicalEnvironment; - const savedShouldSubstituteThisWithClassThis = shouldSubstituteThisWithClassThis; - lexicalEnvironment = lexicalEnvironment == null ? void 0 : lexicalEnvironment.previous; - shouldSubstituteThisWithClassThis = previousShouldSubstituteThisWithClassThis; - previousOnEmitNode(hint, node, emitCallback); - shouldSubstituteThisWithClassThis = savedShouldSubstituteThisWithClassThis; - lexicalEnvironment = savedLexicalEnvironment; - return; - } - } - previousOnEmitNode(hint, node, emitCallback); - } - function onSubstituteNode(hint, node) { - node = previousOnSubstituteNode(hint, node); - if (hint === 1 /* Expression */) { - return substituteExpression(node); - } - return node; - } - function substituteExpression(node) { - switch (node.kind) { - case 80 /* Identifier */: - return substituteExpressionIdentifier(node); - case 110 /* ThisKeyword */: - return substituteThisExpression(node); - } - return node; - } - function substituteThisExpression(node) { - if (enabledSubstitutions & 2 /* ClassStaticThisOrSuperReference */ && (lexicalEnvironment == null ? void 0 : lexicalEnvironment.data) && !noSubstitution.has(node)) { - const { facts, classConstructor, classThis } = lexicalEnvironment.data; - const substituteThis = shouldSubstituteThisWithClassThis ? classThis ?? classConstructor : classConstructor; - if (substituteThis) { - return setTextRange( - setOriginalNode( - factory2.cloneNode(substituteThis), - node - ), - node - ); - } - if (facts & 1 /* ClassWasDecorated */ && legacyDecorators) { - return factory2.createParenthesizedExpression(factory2.createVoidZero()); - } - } - return node; - } - function substituteExpressionIdentifier(node) { - return trySubstituteClassAlias(node) || node; - } - function trySubstituteClassAlias(node) { - if (enabledSubstitutions & 1 /* ClassAliases */) { - if (resolver.hasNodeCheckFlag(node, 536870912 /* ConstructorReference */)) { - const declaration = resolver.getReferencedValueDeclaration(node); - if (declaration) { - const classAlias = classAliases[declaration.id]; - if (classAlias) { - const clone = factory2.cloneNode(classAlias); - setSourceMapRange(clone, node); - setCommentRange(clone, node); - return clone; - } - } - } - } - return void 0; - } -} -function createPrivateStaticFieldInitializer(factory2, variableName, initializer) { - return factory2.createAssignment( - variableName, - factory2.createObjectLiteralExpression([ - factory2.createPropertyAssignment("value", initializer || factory2.createVoidZero()) - ]) - ); -} -function createPrivateInstanceFieldInitializer(factory2, receiver, initializer, weakMapName) { - return factory2.createCallExpression( - factory2.createPropertyAccessExpression(weakMapName, "set"), - /*typeArguments*/ - void 0, - [receiver, initializer || factory2.createVoidZero()] - ); -} -function createPrivateInstanceMethodInitializer(factory2, receiver, weakSetName) { - return factory2.createCallExpression( - factory2.createPropertyAccessExpression(weakSetName, "add"), - /*typeArguments*/ - void 0, - [receiver] - ); -} -function isReservedPrivateName(node) { - return !isGeneratedPrivateIdentifier(node) && node.escapedText === "#constructor"; -} -function isPrivateIdentifierInExpression(node) { - return isPrivateIdentifier(node.left) && node.operatorToken.kind === 103 /* InKeyword */; -} -function isStaticPropertyDeclaration2(node) { - return isPropertyDeclaration(node) && hasStaticModifier(node); -} -function isStaticPropertyDeclarationOrClassStaticBlock(node) { - return isClassStaticBlockDeclaration(node) || isStaticPropertyDeclaration2(node); -} - -// src/compiler/transformers/typeSerializer.ts -function createRuntimeTypeSerializer(context) { - const { - factory: factory2, - hoistVariableDeclaration - } = context; - const resolver = context.getEmitResolver(); - const compilerOptions = context.getCompilerOptions(); - const languageVersion = getEmitScriptTarget(compilerOptions); - const strictNullChecks = getStrictOptionValue(compilerOptions, "strictNullChecks"); - let currentLexicalScope; - let currentNameScope; - return { - serializeTypeNode: (serializerContext, node) => setSerializerContextAnd(serializerContext, serializeTypeNode, node), - serializeTypeOfNode: (serializerContext, node, container) => setSerializerContextAnd(serializerContext, serializeTypeOfNode, node, container), - serializeParameterTypesOfNode: (serializerContext, node, container) => setSerializerContextAnd(serializerContext, serializeParameterTypesOfNode, node, container), - serializeReturnTypeOfNode: (serializerContext, node) => setSerializerContextAnd(serializerContext, serializeReturnTypeOfNode, node) - }; - function setSerializerContextAnd(serializerContext, cb, node, arg) { - const savedCurrentLexicalScope = currentLexicalScope; - const savedCurrentNameScope = currentNameScope; - currentLexicalScope = serializerContext.currentLexicalScope; - currentNameScope = serializerContext.currentNameScope; - const result = arg === void 0 ? cb(node) : cb(node, arg); - currentLexicalScope = savedCurrentLexicalScope; - currentNameScope = savedCurrentNameScope; - return result; - } - function getAccessorTypeNode(node, container) { - const accessors = getAllAccessorDeclarations(container.members, node); - return accessors.setAccessor && getSetAccessorTypeAnnotationNode(accessors.setAccessor) || accessors.getAccessor && getEffectiveReturnTypeNode(accessors.getAccessor); - } - function serializeTypeOfNode(node, container) { - switch (node.kind) { - case 172 /* PropertyDeclaration */: - case 169 /* Parameter */: - return serializeTypeNode(node.type); - case 178 /* SetAccessor */: - case 177 /* GetAccessor */: - return serializeTypeNode(getAccessorTypeNode(node, container)); - case 263 /* ClassDeclaration */: - case 231 /* ClassExpression */: - case 174 /* MethodDeclaration */: - return factory2.createIdentifier("Function"); - default: - return factory2.createVoidZero(); - } - } - function serializeParameterTypesOfNode(node, container) { - const valueDeclaration = isClassLike(node) ? getFirstConstructorWithBody(node) : isFunctionLike(node) && nodeIsPresent(node.body) ? node : void 0; - const expressions = []; - if (valueDeclaration) { - const parameters = getParametersOfDecoratedDeclaration(valueDeclaration, container); - const numParameters = parameters.length; - for (let i = 0; i < numParameters; i++) { - const parameter = parameters[i]; - if (i === 0 && isIdentifier(parameter.name) && parameter.name.escapedText === "this") { - continue; - } - if (parameter.dotDotDotToken) { - expressions.push(serializeTypeNode(getRestParameterElementType(parameter.type))); - } else { - expressions.push(serializeTypeOfNode(parameter, container)); - } - } - } - return factory2.createArrayLiteralExpression(expressions); - } - function getParametersOfDecoratedDeclaration(node, container) { - if (container && node.kind === 177 /* GetAccessor */) { - const { setAccessor } = getAllAccessorDeclarations(container.members, node); - if (setAccessor) { - return setAccessor.parameters; - } - } - return node.parameters; - } - function serializeReturnTypeOfNode(node) { - if (isFunctionLike(node) && node.type) { - return serializeTypeNode(node.type); - } else if (isAsyncFunction(node)) { - return factory2.createIdentifier("Promise"); - } - return factory2.createVoidZero(); - } - function serializeTypeNode(node) { - if (node === void 0) { - return factory2.createIdentifier("Object"); - } - node = skipTypeParentheses(node); - switch (node.kind) { - case 116 /* VoidKeyword */: - case 157 /* UndefinedKeyword */: - case 146 /* NeverKeyword */: - return factory2.createVoidZero(); - case 184 /* FunctionType */: - case 185 /* ConstructorType */: - return factory2.createIdentifier("Function"); - case 188 /* ArrayType */: - case 189 /* TupleType */: - return factory2.createIdentifier("Array"); - case 182 /* TypePredicate */: - return node.assertsModifier ? factory2.createVoidZero() : factory2.createIdentifier("Boolean"); - case 136 /* BooleanKeyword */: - return factory2.createIdentifier("Boolean"); - case 203 /* TemplateLiteralType */: - case 154 /* StringKeyword */: - return factory2.createIdentifier("String"); - case 151 /* ObjectKeyword */: - return factory2.createIdentifier("Object"); - case 201 /* LiteralType */: - return serializeLiteralOfLiteralTypeNode(node.literal); - case 150 /* NumberKeyword */: - return factory2.createIdentifier("Number"); - case 163 /* BigIntKeyword */: - return getGlobalConstructor("BigInt", 7 /* ES2020 */); - case 155 /* SymbolKeyword */: - return getGlobalConstructor("Symbol", 2 /* ES2015 */); - case 183 /* TypeReference */: - return serializeTypeReferenceNode(node); - case 193 /* IntersectionType */: - return serializeUnionOrIntersectionConstituents( - node.types, - /*isIntersection*/ - true - ); - case 192 /* UnionType */: - return serializeUnionOrIntersectionConstituents( - node.types, - /*isIntersection*/ - false - ); - case 194 /* ConditionalType */: - return serializeUnionOrIntersectionConstituents( - [node.trueType, node.falseType], - /*isIntersection*/ - false - ); - case 198 /* TypeOperator */: - if (node.operator === 148 /* ReadonlyKeyword */) { - return serializeTypeNode(node.type); - } - break; - case 186 /* TypeQuery */: - case 199 /* IndexedAccessType */: - case 200 /* MappedType */: - case 187 /* TypeLiteral */: - case 133 /* AnyKeyword */: - case 159 /* UnknownKeyword */: - case 197 /* ThisType */: - case 205 /* ImportType */: - break; - case 312 /* JSDocAllType */: - case 313 /* JSDocUnknownType */: - case 317 /* JSDocFunctionType */: - case 318 /* JSDocVariadicType */: - case 319 /* JSDocNamepathType */: - break; - case 314 /* JSDocNullableType */: - case 315 /* JSDocNonNullableType */: - case 316 /* JSDocOptionalType */: - return serializeTypeNode(node.type); - default: - return Debug.failBadSyntaxKind(node); - } - return factory2.createIdentifier("Object"); - } - function serializeLiteralOfLiteralTypeNode(node) { - switch (node.kind) { - case 11 /* StringLiteral */: - case 15 /* NoSubstitutionTemplateLiteral */: - return factory2.createIdentifier("String"); - case 224 /* PrefixUnaryExpression */: { - const operand = node.operand; - switch (operand.kind) { - case 9 /* NumericLiteral */: - case 10 /* BigIntLiteral */: - return serializeLiteralOfLiteralTypeNode(operand); - default: - return Debug.failBadSyntaxKind(operand); - } - } - case 9 /* NumericLiteral */: - return factory2.createIdentifier("Number"); - case 10 /* BigIntLiteral */: - return getGlobalConstructor("BigInt", 7 /* ES2020 */); - case 112 /* TrueKeyword */: - case 97 /* FalseKeyword */: - return factory2.createIdentifier("Boolean"); - case 106 /* NullKeyword */: - return factory2.createVoidZero(); - default: - return Debug.failBadSyntaxKind(node); - } - } - function serializeUnionOrIntersectionConstituents(types, isIntersection) { - let serializedType; - for (let typeNode of types) { - typeNode = skipTypeParentheses(typeNode); - if (typeNode.kind === 146 /* NeverKeyword */) { - if (isIntersection) return factory2.createVoidZero(); - continue; - } - if (typeNode.kind === 159 /* UnknownKeyword */) { - if (!isIntersection) return factory2.createIdentifier("Object"); - continue; - } - if (typeNode.kind === 133 /* AnyKeyword */) { - return factory2.createIdentifier("Object"); - } - if (!strictNullChecks && (isLiteralTypeNode(typeNode) && typeNode.literal.kind === 106 /* NullKeyword */ || typeNode.kind === 157 /* UndefinedKeyword */)) { - continue; - } - const serializedConstituent = serializeTypeNode(typeNode); - if (isIdentifier(serializedConstituent) && serializedConstituent.escapedText === "Object") { - return serializedConstituent; - } - if (serializedType) { - if (!equateSerializedTypeNodes(serializedType, serializedConstituent)) { - return factory2.createIdentifier("Object"); - } - } else { - serializedType = serializedConstituent; - } - } - return serializedType ?? factory2.createVoidZero(); - } - function equateSerializedTypeNodes(left, right) { - return ( - // temp vars used in fallback - isGeneratedIdentifier(left) ? isGeneratedIdentifier(right) : ( - // entity names - isIdentifier(left) ? isIdentifier(right) && left.escapedText === right.escapedText : isPropertyAccessExpression(left) ? isPropertyAccessExpression(right) && equateSerializedTypeNodes(left.expression, right.expression) && equateSerializedTypeNodes(left.name, right.name) : ( - // `void 0` - isVoidExpression(left) ? isVoidExpression(right) && isNumericLiteral(left.expression) && left.expression.text === "0" && isNumericLiteral(right.expression) && right.expression.text === "0" : ( - // `"undefined"` or `"function"` in `typeof` checks - isStringLiteral(left) ? isStringLiteral(right) && left.text === right.text : ( - // used in `typeof` checks for fallback - isTypeOfExpression(left) ? isTypeOfExpression(right) && equateSerializedTypeNodes(left.expression, right.expression) : ( - // parens in `typeof` checks with temps - isParenthesizedExpression(left) ? isParenthesizedExpression(right) && equateSerializedTypeNodes(left.expression, right.expression) : ( - // conditionals used in fallback - isConditionalExpression(left) ? isConditionalExpression(right) && equateSerializedTypeNodes(left.condition, right.condition) && equateSerializedTypeNodes(left.whenTrue, right.whenTrue) && equateSerializedTypeNodes(left.whenFalse, right.whenFalse) : ( - // logical binary and assignments used in fallback - isBinaryExpression(left) ? isBinaryExpression(right) && left.operatorToken.kind === right.operatorToken.kind && equateSerializedTypeNodes(left.left, right.left) && equateSerializedTypeNodes(left.right, right.right) : false - ) - ) - ) - ) - ) - ) - ) - ); - } - function serializeTypeReferenceNode(node) { - const kind = resolver.getTypeReferenceSerializationKind(node.typeName, currentNameScope ?? currentLexicalScope); - switch (kind) { - case 0 /* Unknown */: - if (findAncestor(node, (n) => n.parent && isConditionalTypeNode(n.parent) && (n.parent.trueType === n || n.parent.falseType === n))) { - return factory2.createIdentifier("Object"); - } - const serialized = serializeEntityNameAsExpressionFallback(node.typeName); - const temp = factory2.createTempVariable(hoistVariableDeclaration); - return factory2.createConditionalExpression( - factory2.createTypeCheck(factory2.createAssignment(temp, serialized), "function"), - /*questionToken*/ - void 0, - temp, - /*colonToken*/ - void 0, - factory2.createIdentifier("Object") - ); - case 1 /* TypeWithConstructSignatureAndValue */: - return serializeEntityNameAsExpression(node.typeName); - case 2 /* VoidNullableOrNeverType */: - return factory2.createVoidZero(); - case 4 /* BigIntLikeType */: - return getGlobalConstructor("BigInt", 7 /* ES2020 */); - case 6 /* BooleanType */: - return factory2.createIdentifier("Boolean"); - case 3 /* NumberLikeType */: - return factory2.createIdentifier("Number"); - case 5 /* StringLikeType */: - return factory2.createIdentifier("String"); - case 7 /* ArrayLikeType */: - return factory2.createIdentifier("Array"); - case 8 /* ESSymbolType */: - return getGlobalConstructor("Symbol", 2 /* ES2015 */); - case 10 /* TypeWithCallSignature */: - return factory2.createIdentifier("Function"); - case 9 /* Promise */: - return factory2.createIdentifier("Promise"); - case 11 /* ObjectType */: - return factory2.createIdentifier("Object"); - default: - return Debug.assertNever(kind); - } - } - function createCheckedValue(left, right) { - return factory2.createLogicalAnd( - factory2.createStrictInequality(factory2.createTypeOfExpression(left), factory2.createStringLiteral("undefined")), - right - ); - } - function serializeEntityNameAsExpressionFallback(node) { - if (node.kind === 80 /* Identifier */) { - const copied = serializeEntityNameAsExpression(node); - return createCheckedValue(copied, copied); - } - if (node.left.kind === 80 /* Identifier */) { - return createCheckedValue(serializeEntityNameAsExpression(node.left), serializeEntityNameAsExpression(node)); - } - const left = serializeEntityNameAsExpressionFallback(node.left); - const temp = factory2.createTempVariable(hoistVariableDeclaration); - return factory2.createLogicalAnd( - factory2.createLogicalAnd( - left.left, - factory2.createStrictInequality(factory2.createAssignment(temp, left.right), factory2.createVoidZero()) - ), - factory2.createPropertyAccessExpression(temp, node.right) - ); - } - function serializeEntityNameAsExpression(node) { - switch (node.kind) { - case 80 /* Identifier */: - const name = setParent(setTextRange(parseNodeFactory.cloneNode(node), node), node.parent); - name.original = void 0; - setParent(name, getParseTreeNode(currentLexicalScope)); - return name; - case 166 /* QualifiedName */: - return serializeQualifiedNameAsExpression(node); - } - } - function serializeQualifiedNameAsExpression(node) { - return factory2.createPropertyAccessExpression(serializeEntityNameAsExpression(node.left), node.right); - } - function getGlobalConstructorWithFallback(name) { - return factory2.createConditionalExpression( - factory2.createTypeCheck(factory2.createIdentifier(name), "function"), - /*questionToken*/ - void 0, - factory2.createIdentifier(name), - /*colonToken*/ - void 0, - factory2.createIdentifier("Object") - ); - } - function getGlobalConstructor(name, minLanguageVersion) { - return languageVersion < minLanguageVersion ? getGlobalConstructorWithFallback(name) : factory2.createIdentifier(name); - } -} - -// src/compiler/transformers/legacyDecorators.ts -function transformLegacyDecorators(context) { - const { - factory: factory2, - getEmitHelperFactory: emitHelpers, - hoistVariableDeclaration - } = context; - const resolver = context.getEmitResolver(); - const compilerOptions = context.getCompilerOptions(); - const languageVersion = getEmitScriptTarget(compilerOptions); - const previousOnSubstituteNode = context.onSubstituteNode; - context.onSubstituteNode = onSubstituteNode; - let classAliases; - return chainBundle(context, transformSourceFile); - function transformSourceFile(node) { - const visited = visitEachChild(node, visitor, context); - addEmitHelpers(visited, context.readEmitHelpers()); - return visited; - } - function modifierVisitor(node) { - return isDecorator(node) ? void 0 : node; - } - function visitor(node) { - if (!(node.transformFlags & 33554432 /* ContainsDecorators */)) { - return node; - } - switch (node.kind) { - case 170 /* Decorator */: - return void 0; - case 263 /* ClassDeclaration */: - return visitClassDeclaration(node); - case 231 /* ClassExpression */: - return visitClassExpression(node); - case 176 /* Constructor */: - return visitConstructorDeclaration(node); - case 174 /* MethodDeclaration */: - return visitMethodDeclaration(node); - case 178 /* SetAccessor */: - return visitSetAccessorDeclaration(node); - case 177 /* GetAccessor */: - return visitGetAccessorDeclaration(node); - case 172 /* PropertyDeclaration */: - return visitPropertyDeclaration(node); - case 169 /* Parameter */: - return visitParameterDeclaration(node); - default: - return visitEachChild(node, visitor, context); - } - } - function visitClassDeclaration(node) { - if (!(classOrConstructorParameterIsDecorated( - /*useLegacyDecorators*/ - true, - node - ) || childIsDecorated( - /*useLegacyDecorators*/ - true, - node - ))) { - return visitEachChild(node, visitor, context); - } - const statements = classOrConstructorParameterIsDecorated( - /*useLegacyDecorators*/ - true, - node - ) ? transformClassDeclarationWithClassDecorators(node, node.name) : transformClassDeclarationWithoutClassDecorators(node, node.name); - return singleOrMany(statements); - } - function decoratorContainsPrivateIdentifierInExpression(decorator) { - return !!(decorator.transformFlags & 536870912 /* ContainsPrivateIdentifierInExpression */); - } - function parameterDecoratorsContainPrivateIdentifierInExpression(parameterDecorators) { - return some(parameterDecorators, decoratorContainsPrivateIdentifierInExpression); - } - function hasClassElementWithDecoratorContainingPrivateIdentifierInExpression(node) { - for (const member of node.members) { - if (!canHaveDecorators(member)) continue; - const allDecorators = getAllDecoratorsOfClassElement( - member, - node, - /*useLegacyDecorators*/ - true - ); - if (some(allDecorators == null ? void 0 : allDecorators.decorators, decoratorContainsPrivateIdentifierInExpression)) return true; - if (some(allDecorators == null ? void 0 : allDecorators.parameters, parameterDecoratorsContainPrivateIdentifierInExpression)) return true; - } - return false; - } - function transformDecoratorsOfClassElements(node, members) { - let decorationStatements = []; - addClassElementDecorationStatements( - decorationStatements, - node, - /*isStatic*/ - false - ); - addClassElementDecorationStatements( - decorationStatements, - node, - /*isStatic*/ - true - ); - if (hasClassElementWithDecoratorContainingPrivateIdentifierInExpression(node)) { - members = setTextRange( - factory2.createNodeArray([ - ...members, - factory2.createClassStaticBlockDeclaration( - factory2.createBlock( - decorationStatements, - /*multiLine*/ - true - ) - ) - ]), - members - ); - decorationStatements = void 0; - } - return { decorationStatements, members }; - } - function transformClassDeclarationWithoutClassDecorators(node, name) { - const modifiers = visitNodes2(node.modifiers, modifierVisitor, isModifier); - const heritageClauses = visitNodes2(node.heritageClauses, visitor, isHeritageClause); - let members = visitNodes2(node.members, visitor, isClassElement); - let decorationStatements = []; - ({ members, decorationStatements } = transformDecoratorsOfClassElements(node, members)); - const updated = factory2.updateClassDeclaration( - node, - modifiers, - name, - /*typeParameters*/ - void 0, - heritageClauses, - members - ); - return addRange([updated], decorationStatements); - } - function transformClassDeclarationWithClassDecorators(node, name) { - const isExport = hasSyntacticModifier(node, 32 /* Export */); - const isDefault = hasSyntacticModifier(node, 2048 /* Default */); - const modifiers = visitNodes2(node.modifiers, (node2) => isExportOrDefaultModifier(node2) || isDecorator(node2) ? void 0 : node2, isModifierLike); - const location = moveRangePastModifiers(node); - const classAlias = getClassAliasIfNeeded(node); - const declName = languageVersion < 2 /* ES2015 */ ? factory2.getInternalName( - node, - /*allowComments*/ - false, - /*allowSourceMaps*/ - true - ) : factory2.getLocalName( - node, - /*allowComments*/ - false, - /*allowSourceMaps*/ - true - ); - const heritageClauses = visitNodes2(node.heritageClauses, visitor, isHeritageClause); - let members = visitNodes2(node.members, visitor, isClassElement); - let decorationStatements = []; - ({ members, decorationStatements } = transformDecoratorsOfClassElements(node, members)); - const assignClassAliasInStaticBlock = languageVersion >= 9 /* ES2022 */ && !!classAlias && some(members, (member) => isPropertyDeclaration(member) && hasSyntacticModifier(member, 256 /* Static */) || isClassStaticBlockDeclaration(member)); - if (assignClassAliasInStaticBlock) { - members = setTextRange( - factory2.createNodeArray([ - factory2.createClassStaticBlockDeclaration( - factory2.createBlock([ - factory2.createExpressionStatement( - factory2.createAssignment(classAlias, factory2.createThis()) - ) - ]) - ), - ...members - ]), - members - ); - } - const classExpression = factory2.createClassExpression( - modifiers, - name && isGeneratedIdentifier(name) ? void 0 : name, - /*typeParameters*/ - void 0, - heritageClauses, - members - ); - setOriginalNode(classExpression, node); - setTextRange(classExpression, location); - const varInitializer = classAlias && !assignClassAliasInStaticBlock ? factory2.createAssignment(classAlias, classExpression) : classExpression; - const varDecl = factory2.createVariableDeclaration( - declName, - /*exclamationToken*/ - void 0, - /*type*/ - void 0, - varInitializer - ); - setOriginalNode(varDecl, node); - const varDeclList = factory2.createVariableDeclarationList([varDecl], 1 /* Let */); - const varStatement = factory2.createVariableStatement( - /*modifiers*/ - void 0, - varDeclList - ); - setOriginalNode(varStatement, node); - setTextRange(varStatement, location); - setCommentRange(varStatement, node); - const statements = [varStatement]; - addRange(statements, decorationStatements); - addConstructorDecorationStatement(statements, node); - if (isExport) { - if (isDefault) { - const exportStatement = factory2.createExportDefault(declName); - statements.push(exportStatement); - } else { - const exportStatement = factory2.createExternalModuleExport(factory2.getDeclarationName(node)); - statements.push(exportStatement); - } - } - return statements; - } - function visitClassExpression(node) { - return factory2.updateClassExpression( - node, - visitNodes2(node.modifiers, modifierVisitor, isModifier), - node.name, - /*typeParameters*/ - void 0, - visitNodes2(node.heritageClauses, visitor, isHeritageClause), - visitNodes2(node.members, visitor, isClassElement) - ); - } - function visitConstructorDeclaration(node) { - return factory2.updateConstructorDeclaration( - node, - visitNodes2(node.modifiers, modifierVisitor, isModifier), - visitNodes2(node.parameters, visitor, isParameter), - visitNode(node.body, visitor, isBlock) - ); - } - function finishClassElement(updated, original) { - if (updated !== original) { - setCommentRange(updated, original); - setSourceMapRange(updated, moveRangePastModifiers(original)); - } - return updated; - } - function visitMethodDeclaration(node) { - return finishClassElement( - factory2.updateMethodDeclaration( - node, - visitNodes2(node.modifiers, modifierVisitor, isModifier), - node.asteriskToken, - Debug.checkDefined(visitNode(node.name, visitor, isPropertyName)), - /*questionToken*/ - void 0, - /*typeParameters*/ - void 0, - visitNodes2(node.parameters, visitor, isParameter), - /*type*/ - void 0, - visitNode(node.body, visitor, isBlock) - ), - node - ); - } - function visitGetAccessorDeclaration(node) { - return finishClassElement( - factory2.updateGetAccessorDeclaration( - node, - visitNodes2(node.modifiers, modifierVisitor, isModifier), - Debug.checkDefined(visitNode(node.name, visitor, isPropertyName)), - visitNodes2(node.parameters, visitor, isParameter), - /*type*/ - void 0, - visitNode(node.body, visitor, isBlock) - ), - node - ); - } - function visitSetAccessorDeclaration(node) { - return finishClassElement( - factory2.updateSetAccessorDeclaration( - node, - visitNodes2(node.modifiers, modifierVisitor, isModifier), - Debug.checkDefined(visitNode(node.name, visitor, isPropertyName)), - visitNodes2(node.parameters, visitor, isParameter), - visitNode(node.body, visitor, isBlock) - ), - node - ); - } - function visitPropertyDeclaration(node) { - if (node.flags & 33554432 /* Ambient */ || hasSyntacticModifier(node, 128 /* Ambient */)) { - return void 0; - } - return finishClassElement( - factory2.updatePropertyDeclaration( - node, - visitNodes2(node.modifiers, modifierVisitor, isModifier), - Debug.checkDefined(visitNode(node.name, visitor, isPropertyName)), - /*questionOrExclamationToken*/ - void 0, - /*type*/ - void 0, - visitNode(node.initializer, visitor, isExpression) - ), - node - ); - } - function visitParameterDeclaration(node) { - const updated = factory2.updateParameterDeclaration( - node, - elideNodes(factory2, node.modifiers), - node.dotDotDotToken, - Debug.checkDefined(visitNode(node.name, visitor, isBindingName)), - /*questionToken*/ - void 0, - /*type*/ - void 0, - visitNode(node.initializer, visitor, isExpression) - ); - if (updated !== node) { - setCommentRange(updated, node); - setTextRange(updated, moveRangePastModifiers(node)); - setSourceMapRange(updated, moveRangePastModifiers(node)); - setEmitFlags(updated.name, 64 /* NoTrailingSourceMap */); - } - return updated; - } - function isSyntheticMetadataDecorator(node) { - return isCallToHelper(node.expression, "___metadata"); - } - function transformAllDecoratorsOfDeclaration(allDecorators) { - if (!allDecorators) { - return void 0; - } - const { false: decorators, true: metadata } = groupBy(allDecorators.decorators, isSyntheticMetadataDecorator); - const decoratorExpressions = []; - addRange(decoratorExpressions, map(decorators, transformDecorator)); - addRange(decoratorExpressions, flatMap(allDecorators.parameters, transformDecoratorsOfParameter)); - addRange(decoratorExpressions, map(metadata, transformDecorator)); - return decoratorExpressions; - } - function addClassElementDecorationStatements(statements, node, isStatic2) { - addRange(statements, map(generateClassElementDecorationExpressions(node, isStatic2), (expr) => factory2.createExpressionStatement(expr))); - } - function isDecoratedClassElement(member, isStaticElement, parent) { - return nodeOrChildIsDecorated( - /*useLegacyDecorators*/ - true, - member, - parent - ) && isStaticElement === isStatic(member); - } - function getDecoratedClassElements(node, isStatic2) { - return filter(node.members, (m) => isDecoratedClassElement(m, isStatic2, node)); - } - function generateClassElementDecorationExpressions(node, isStatic2) { - const members = getDecoratedClassElements(node, isStatic2); - let expressions; - for (const member of members) { - expressions = append(expressions, generateClassElementDecorationExpression(node, member)); - } - return expressions; - } - function generateClassElementDecorationExpression(node, member) { - const allDecorators = getAllDecoratorsOfClassElement( - member, - node, - /*useLegacyDecorators*/ - true - ); - const decoratorExpressions = transformAllDecoratorsOfDeclaration(allDecorators); - if (!decoratorExpressions) { - return void 0; - } - const prefix = getClassMemberPrefix(node, member); - const memberName = getExpressionForPropertyName( - member, - /*generateNameForComputedPropertyName*/ - !hasSyntacticModifier(member, 128 /* Ambient */) - ); - const descriptor = isPropertyDeclaration(member) && !hasAccessorModifier(member) ? factory2.createVoidZero() : factory2.createNull(); - const helper = emitHelpers().createDecorateHelper( - decoratorExpressions, - prefix, - memberName, - descriptor - ); - setEmitFlags(helper, 3072 /* NoComments */); - setSourceMapRange(helper, moveRangePastModifiers(member)); - return helper; - } - function addConstructorDecorationStatement(statements, node) { - const expression = generateConstructorDecorationExpression(node); - if (expression) { - statements.push(setOriginalNode(factory2.createExpressionStatement(expression), node)); - } - } - function generateConstructorDecorationExpression(node) { - const allDecorators = getAllDecoratorsOfClass(node); - const decoratorExpressions = transformAllDecoratorsOfDeclaration(allDecorators); - if (!decoratorExpressions) { - return void 0; - } - const classAlias = classAliases && classAliases[getOriginalNodeId(node)]; - const localName = languageVersion < 2 /* ES2015 */ ? factory2.getInternalName( - node, - /*allowComments*/ - false, - /*allowSourceMaps*/ - true - ) : factory2.getDeclarationName( - node, - /*allowComments*/ - false, - /*allowSourceMaps*/ - true - ); - const decorate = emitHelpers().createDecorateHelper(decoratorExpressions, localName); - const expression = factory2.createAssignment(localName, classAlias ? factory2.createAssignment(classAlias, decorate) : decorate); - setEmitFlags(expression, 3072 /* NoComments */); - setSourceMapRange(expression, moveRangePastModifiers(node)); - return expression; - } - function transformDecorator(decorator) { - return Debug.checkDefined(visitNode(decorator.expression, visitor, isExpression)); - } - function transformDecoratorsOfParameter(decorators, parameterOffset) { - let expressions; - if (decorators) { - expressions = []; - for (const decorator of decorators) { - const helper = emitHelpers().createParamHelper( - transformDecorator(decorator), - parameterOffset - ); - setTextRange(helper, decorator.expression); - setEmitFlags(helper, 3072 /* NoComments */); - expressions.push(helper); - } - } - return expressions; - } - function getExpressionForPropertyName(member, generateNameForComputedPropertyName) { - const name = member.name; - if (isPrivateIdentifier(name)) { - return factory2.createIdentifier(""); - } else if (isComputedPropertyName(name)) { - return generateNameForComputedPropertyName && !isSimpleInlineableExpression(name.expression) ? factory2.getGeneratedNameForNode(name) : name.expression; - } else if (isIdentifier(name)) { - return factory2.createStringLiteral(idText(name)); - } else { - return factory2.cloneNode(name); - } - } - function enableSubstitutionForClassAliases() { - if (!classAliases) { - context.enableSubstitution(80 /* Identifier */); - classAliases = []; - } - } - function getClassAliasIfNeeded(node) { - if (resolver.hasNodeCheckFlag(node, 262144 /* ContainsConstructorReference */)) { - enableSubstitutionForClassAliases(); - const classAlias = factory2.createUniqueName(node.name && !isGeneratedIdentifier(node.name) ? idText(node.name) : "default"); - classAliases[getOriginalNodeId(node)] = classAlias; - hoistVariableDeclaration(classAlias); - return classAlias; - } - } - function getClassPrototype(node) { - return factory2.createPropertyAccessExpression(factory2.getDeclarationName(node), "prototype"); - } - function getClassMemberPrefix(node, member) { - return isStatic(member) ? factory2.getDeclarationName(node) : getClassPrototype(node); - } - function onSubstituteNode(hint, node) { - node = previousOnSubstituteNode(hint, node); - if (hint === 1 /* Expression */) { - return substituteExpression(node); - } - return node; - } - function substituteExpression(node) { - switch (node.kind) { - case 80 /* Identifier */: - return substituteExpressionIdentifier(node); - } - return node; - } - function substituteExpressionIdentifier(node) { - return trySubstituteClassAlias(node) ?? node; - } - function trySubstituteClassAlias(node) { - if (classAliases) { - if (resolver.hasNodeCheckFlag(node, 536870912 /* ConstructorReference */)) { - const declaration = resolver.getReferencedValueDeclaration(node); - if (declaration) { - const classAlias = classAliases[declaration.id]; - if (classAlias) { - const clone = factory2.cloneNode(classAlias); - setSourceMapRange(clone, node); - setCommentRange(clone, node); - return clone; - } - } - } - } - return void 0; - } -} - -// src/compiler/transformers/esDecorators.ts -function transformESDecorators(context) { - const { - factory: factory2, - getEmitHelperFactory: emitHelpers, - startLexicalEnvironment, - endLexicalEnvironment, - hoistVariableDeclaration - } = context; - const languageVersion = getEmitScriptTarget(context.getCompilerOptions()); - let top; - let classInfo; - let classThis; - let classSuper; - let pendingExpressions; - let shouldTransformPrivateStaticElementsInFile; - return chainBundle(context, transformSourceFile); - function transformSourceFile(node) { - top = void 0; - shouldTransformPrivateStaticElementsInFile = false; - const visited = visitEachChild(node, visitor, context); - addEmitHelpers(visited, context.readEmitHelpers()); - if (shouldTransformPrivateStaticElementsInFile) { - addInternalEmitFlags(visited, 32 /* TransformPrivateStaticElements */); - shouldTransformPrivateStaticElementsInFile = false; - } - return visited; - } - function updateState() { - classInfo = void 0; - classThis = void 0; - classSuper = void 0; - switch (top == null ? void 0 : top.kind) { - case "class": - classInfo = top.classInfo; - break; - case "class-element": - classInfo = top.next.classInfo; - classThis = top.classThis; - classSuper = top.classSuper; - break; - case "name": - const grandparent = top.next.next.next; - if ((grandparent == null ? void 0 : grandparent.kind) === "class-element") { - classInfo = grandparent.next.classInfo; - classThis = grandparent.classThis; - classSuper = grandparent.classSuper; - } - break; - } - } - function enterClass(classInfo2) { - top = { kind: "class", next: top, classInfo: classInfo2, savedPendingExpressions: pendingExpressions }; - pendingExpressions = void 0; - updateState(); - } - function exitClass() { - Debug.assert((top == null ? void 0 : top.kind) === "class", "Incorrect value for top.kind.", () => `Expected top.kind to be 'class' but got '${top == null ? void 0 : top.kind}' instead.`); - pendingExpressions = top.savedPendingExpressions; - top = top.next; - updateState(); - } - function enterClassElement(node) { - var _a, _b; - Debug.assert((top == null ? void 0 : top.kind) === "class", "Incorrect value for top.kind.", () => `Expected top.kind to be 'class' but got '${top == null ? void 0 : top.kind}' instead.`); - top = { kind: "class-element", next: top }; - if (isClassStaticBlockDeclaration(node) || isPropertyDeclaration(node) && hasStaticModifier(node)) { - top.classThis = (_a = top.next.classInfo) == null ? void 0 : _a.classThis; - top.classSuper = (_b = top.next.classInfo) == null ? void 0 : _b.classSuper; - } - updateState(); - } - function exitClassElement() { - var _a; - Debug.assert((top == null ? void 0 : top.kind) === "class-element", "Incorrect value for top.kind.", () => `Expected top.kind to be 'class-element' but got '${top == null ? void 0 : top.kind}' instead.`); - Debug.assert(((_a = top.next) == null ? void 0 : _a.kind) === "class", "Incorrect value for top.next.kind.", () => { - var _a2; - return `Expected top.next.kind to be 'class' but got '${(_a2 = top.next) == null ? void 0 : _a2.kind}' instead.`; - }); - top = top.next; - updateState(); - } - function enterName() { - Debug.assert((top == null ? void 0 : top.kind) === "class-element", "Incorrect value for top.kind.", () => `Expected top.kind to be 'class-element' but got '${top == null ? void 0 : top.kind}' instead.`); - top = { kind: "name", next: top }; - updateState(); - } - function exitName() { - Debug.assert((top == null ? void 0 : top.kind) === "name", "Incorrect value for top.kind.", () => `Expected top.kind to be 'name' but got '${top == null ? void 0 : top.kind}' instead.`); - top = top.next; - updateState(); - } - function enterOther() { - if ((top == null ? void 0 : top.kind) === "other") { - Debug.assert(!pendingExpressions); - top.depth++; - } else { - top = { kind: "other", next: top, depth: 0, savedPendingExpressions: pendingExpressions }; - pendingExpressions = void 0; - updateState(); - } - } - function exitOther() { - Debug.assert((top == null ? void 0 : top.kind) === "other", "Incorrect value for top.kind.", () => `Expected top.kind to be 'other' but got '${top == null ? void 0 : top.kind}' instead.`); - if (top.depth > 0) { - Debug.assert(!pendingExpressions); - top.depth--; - } else { - pendingExpressions = top.savedPendingExpressions; - top = top.next; - updateState(); - } - } - function shouldVisitNode(node) { - return !!(node.transformFlags & 33554432 /* ContainsDecorators */) || !!classThis && !!(node.transformFlags & 16384 /* ContainsLexicalThis */) || !!classThis && !!classSuper && !!(node.transformFlags & 134217728 /* ContainsLexicalSuper */); - } - function visitor(node) { - if (!shouldVisitNode(node)) { - return node; - } - switch (node.kind) { - case 170 /* Decorator */: - return Debug.fail("Use `modifierVisitor` instead."); - case 263 /* ClassDeclaration */: - return visitClassDeclaration(node); - case 231 /* ClassExpression */: - return visitClassExpression(node); - case 176 /* Constructor */: - case 172 /* PropertyDeclaration */: - case 175 /* ClassStaticBlockDeclaration */: - return Debug.fail("Not supported outside of a class. Use 'classElementVisitor' instead."); - case 169 /* Parameter */: - return visitParameterDeclaration(node); - case 226 /* BinaryExpression */: - return visitBinaryExpression( - node, - /*discarded*/ - false - ); - case 303 /* PropertyAssignment */: - return visitPropertyAssignment(node); - case 260 /* VariableDeclaration */: - return visitVariableDeclaration(node); - case 208 /* BindingElement */: - return visitBindingElement(node); - case 277 /* ExportAssignment */: - return visitExportAssignment(node); - case 110 /* ThisKeyword */: - return visitThisExpression(node); - case 248 /* ForStatement */: - return visitForStatement(node); - case 244 /* ExpressionStatement */: - return visitExpressionStatement(node); - case 355 /* CommaListExpression */: - return visitCommaListExpression( - node, - /*discarded*/ - false - ); - case 217 /* ParenthesizedExpression */: - return visitParenthesizedExpression( - node, - /*discarded*/ - false - ); - case 354 /* PartiallyEmittedExpression */: - return visitPartiallyEmittedExpression( - node, - /*discarded*/ - false - ); - case 213 /* CallExpression */: - return visitCallExpression(node); - case 215 /* TaggedTemplateExpression */: - return visitTaggedTemplateExpression(node); - case 224 /* PrefixUnaryExpression */: - case 225 /* PostfixUnaryExpression */: - return visitPreOrPostfixUnaryExpression( - node, - /*discarded*/ - false - ); - case 211 /* PropertyAccessExpression */: - return visitPropertyAccessExpression(node); - case 212 /* ElementAccessExpression */: - return visitElementAccessExpression(node); - case 167 /* ComputedPropertyName */: - return visitComputedPropertyName(node); - case 174 /* MethodDeclaration */: - case 178 /* SetAccessor */: - case 177 /* GetAccessor */: - case 218 /* FunctionExpression */: - case 262 /* FunctionDeclaration */: { - enterOther(); - const result = visitEachChild(node, fallbackVisitor, context); - exitOther(); - return result; - } - default: - return visitEachChild(node, fallbackVisitor, context); - } - } - function fallbackVisitor(node) { - switch (node.kind) { - case 170 /* Decorator */: - return void 0; - default: - return visitor(node); - } - } - function modifierVisitor(node) { - switch (node.kind) { - case 170 /* Decorator */: - return void 0; - default: - return node; - } - } - function classElementVisitor(node) { - switch (node.kind) { - case 176 /* Constructor */: - return visitConstructorDeclaration(node); - case 174 /* MethodDeclaration */: - return visitMethodDeclaration(node); - case 177 /* GetAccessor */: - return visitGetAccessorDeclaration(node); - case 178 /* SetAccessor */: - return visitSetAccessorDeclaration(node); - case 172 /* PropertyDeclaration */: - return visitPropertyDeclaration(node); - case 175 /* ClassStaticBlockDeclaration */: - return visitClassStaticBlockDeclaration(node); - default: - return visitor(node); - } - } - function discardedValueVisitor(node) { - switch (node.kind) { - case 224 /* PrefixUnaryExpression */: - case 225 /* PostfixUnaryExpression */: - return visitPreOrPostfixUnaryExpression( - node, - /*discarded*/ - true - ); - case 226 /* BinaryExpression */: - return visitBinaryExpression( - node, - /*discarded*/ - true - ); - case 355 /* CommaListExpression */: - return visitCommaListExpression( - node, - /*discarded*/ - true - ); - case 217 /* ParenthesizedExpression */: - return visitParenthesizedExpression( - node, - /*discarded*/ - true - ); - default: - return visitor(node); - } - } - function getHelperVariableName(node) { - let declarationName = node.name && isIdentifier(node.name) && !isGeneratedIdentifier(node.name) ? idText(node.name) : node.name && isPrivateIdentifier(node.name) && !isGeneratedIdentifier(node.name) ? idText(node.name).slice(1) : node.name && isStringLiteral(node.name) && isIdentifierText(node.name.text, 99 /* ESNext */) ? node.name.text : isClassLike(node) ? "class" : "member"; - if (isGetAccessor(node)) declarationName = `get_${declarationName}`; - if (isSetAccessor(node)) declarationName = `set_${declarationName}`; - if (node.name && isPrivateIdentifier(node.name)) declarationName = `private_${declarationName}`; - if (isStatic(node)) declarationName = `static_${declarationName}`; - return "_" + declarationName; - } - function createHelperVariable(node, suffix) { - return factory2.createUniqueName(`${getHelperVariableName(node)}_${suffix}`, 16 /* Optimistic */ | 8 /* ReservedInNestedScopes */); - } - function createLet(name, initializer) { - return factory2.createVariableStatement( - /*modifiers*/ - void 0, - factory2.createVariableDeclarationList([ - factory2.createVariableDeclaration( - name, - /*exclamationToken*/ - void 0, - /*type*/ - void 0, - initializer - ) - ], 1 /* Let */) - ); - } - function createClassInfo(node) { - const metadataReference = factory2.createUniqueName("_metadata", 16 /* Optimistic */ | 32 /* FileLevel */); - let instanceMethodExtraInitializersName; - let staticMethodExtraInitializersName; - let hasStaticInitializers = false; - let hasNonAmbientInstanceFields = false; - let hasStaticPrivateClassElements = false; - let classThis2; - let pendingStaticInitializers; - let pendingInstanceInitializers; - if (nodeIsDecorated( - /*useLegacyDecorators*/ - false, - node - )) { - const needsUniqueClassThis = some(node.members, (member) => (isPrivateIdentifierClassElementDeclaration(member) || isAutoAccessorPropertyDeclaration(member)) && hasStaticModifier(member)); - classThis2 = factory2.createUniqueName( - "_classThis", - needsUniqueClassThis ? 16 /* Optimistic */ | 8 /* ReservedInNestedScopes */ : 16 /* Optimistic */ | 32 /* FileLevel */ - ); - } - for (const member of node.members) { - if (isMethodOrAccessor(member) && nodeOrChildIsDecorated( - /*useLegacyDecorators*/ - false, - member, - node - )) { - if (hasStaticModifier(member)) { - if (!staticMethodExtraInitializersName) { - staticMethodExtraInitializersName = factory2.createUniqueName("_staticExtraInitializers", 16 /* Optimistic */ | 32 /* FileLevel */); - const initializer = emitHelpers().createRunInitializersHelper(classThis2 ?? factory2.createThis(), staticMethodExtraInitializersName); - setSourceMapRange(initializer, node.name ?? moveRangePastDecorators(node)); - pendingStaticInitializers ?? (pendingStaticInitializers = []); - pendingStaticInitializers.push(initializer); - } - } else { - if (!instanceMethodExtraInitializersName) { - instanceMethodExtraInitializersName = factory2.createUniqueName("_instanceExtraInitializers", 16 /* Optimistic */ | 32 /* FileLevel */); - const initializer = emitHelpers().createRunInitializersHelper(factory2.createThis(), instanceMethodExtraInitializersName); - setSourceMapRange(initializer, node.name ?? moveRangePastDecorators(node)); - pendingInstanceInitializers ?? (pendingInstanceInitializers = []); - pendingInstanceInitializers.push(initializer); - } - instanceMethodExtraInitializersName ?? (instanceMethodExtraInitializersName = factory2.createUniqueName("_instanceExtraInitializers", 16 /* Optimistic */ | 32 /* FileLevel */)); - } - } - if (isClassStaticBlockDeclaration(member)) { - if (!isClassNamedEvaluationHelperBlock(member)) { - hasStaticInitializers = true; - } - } else if (isPropertyDeclaration(member)) { - if (hasStaticModifier(member)) { - hasStaticInitializers || (hasStaticInitializers = !!member.initializer || hasDecorators(member)); - } else { - hasNonAmbientInstanceFields || (hasNonAmbientInstanceFields = !isAmbientPropertyDeclaration(member)); - } - } - if ((isPrivateIdentifierClassElementDeclaration(member) || isAutoAccessorPropertyDeclaration(member)) && hasStaticModifier(member)) { - hasStaticPrivateClassElements = true; - } - if (staticMethodExtraInitializersName && instanceMethodExtraInitializersName && hasStaticInitializers && hasNonAmbientInstanceFields && hasStaticPrivateClassElements) { - break; - } - } - return { - class: node, - classThis: classThis2, - metadataReference, - instanceMethodExtraInitializersName, - staticMethodExtraInitializersName, - hasStaticInitializers, - hasNonAmbientInstanceFields, - hasStaticPrivateClassElements, - pendingStaticInitializers, - pendingInstanceInitializers - }; - } - function transformClassLike(node) { - startLexicalEnvironment(); - if (!classHasDeclaredOrExplicitlyAssignedName(node) && classOrConstructorParameterIsDecorated( - /*useLegacyDecorators*/ - false, - node - )) { - node = injectClassNamedEvaluationHelperBlockIfMissing(context, node, factory2.createStringLiteral("")); - } - const classReference = factory2.getLocalName( - node, - /*allowComments*/ - false, - /*allowSourceMaps*/ - false, - /*ignoreAssignedName*/ - true - ); - const classInfo2 = createClassInfo(node); - const classDefinitionStatements = []; - let leadingBlockStatements; - let trailingBlockStatements; - let syntheticConstructor; - let heritageClauses; - let shouldTransformPrivateStaticElementsInClass = false; - const classDecorators = transformAllDecoratorsOfDeclaration(getAllDecoratorsOfClass(node)); - if (classDecorators) { - classInfo2.classDecoratorsName = factory2.createUniqueName("_classDecorators", 16 /* Optimistic */ | 32 /* FileLevel */); - classInfo2.classDescriptorName = factory2.createUniqueName("_classDescriptor", 16 /* Optimistic */ | 32 /* FileLevel */); - classInfo2.classExtraInitializersName = factory2.createUniqueName("_classExtraInitializers", 16 /* Optimistic */ | 32 /* FileLevel */); - Debug.assertIsDefined(classInfo2.classThis); - classDefinitionStatements.push( - createLet(classInfo2.classDecoratorsName, factory2.createArrayLiteralExpression(classDecorators)), - createLet(classInfo2.classDescriptorName), - createLet(classInfo2.classExtraInitializersName, factory2.createArrayLiteralExpression()), - createLet(classInfo2.classThis) - ); - if (classInfo2.hasStaticPrivateClassElements) { - shouldTransformPrivateStaticElementsInClass = true; - shouldTransformPrivateStaticElementsInFile = true; - } - } - const extendsClause = getHeritageClause(node.heritageClauses, 96 /* ExtendsKeyword */); - const extendsElement = extendsClause && firstOrUndefined(extendsClause.types); - const extendsExpression = extendsElement && visitNode(extendsElement.expression, visitor, isExpression); - if (extendsExpression) { - classInfo2.classSuper = factory2.createUniqueName("_classSuper", 16 /* Optimistic */ | 32 /* FileLevel */); - const unwrapped = skipOuterExpressions(extendsExpression); - const safeExtendsExpression = isClassExpression(unwrapped) && !unwrapped.name || isFunctionExpression(unwrapped) && !unwrapped.name || isArrowFunction(unwrapped) ? factory2.createComma(factory2.createNumericLiteral(0), extendsExpression) : extendsExpression; - classDefinitionStatements.push(createLet(classInfo2.classSuper, safeExtendsExpression)); - const updatedExtendsElement = factory2.updateExpressionWithTypeArguments( - extendsElement, - classInfo2.classSuper, - /*typeArguments*/ - void 0 - ); - const updatedExtendsClause = factory2.updateHeritageClause(extendsClause, [updatedExtendsElement]); - heritageClauses = factory2.createNodeArray([updatedExtendsClause]); - } - const renamedClassThis = classInfo2.classThis ?? factory2.createThis(); - enterClass(classInfo2); - leadingBlockStatements = append(leadingBlockStatements, createMetadata(classInfo2.metadataReference, classInfo2.classSuper)); - let members = node.members; - members = visitNodes2(members, (node2) => isConstructorDeclaration(node2) ? node2 : classElementVisitor(node2), isClassElement); - members = visitNodes2(members, (node2) => isConstructorDeclaration(node2) ? classElementVisitor(node2) : node2, isClassElement); - if (pendingExpressions) { - let outerThis; - for (let expression of pendingExpressions) { - expression = visitNode(expression, function thisVisitor(node2) { - if (!(node2.transformFlags & 16384 /* ContainsLexicalThis */)) { - return node2; - } - switch (node2.kind) { - case 110 /* ThisKeyword */: - if (!outerThis) { - outerThis = factory2.createUniqueName("_outerThis", 16 /* Optimistic */); - classDefinitionStatements.unshift(createLet(outerThis, factory2.createThis())); - } - return outerThis; - default: - return visitEachChild(node2, thisVisitor, context); - } - }, isExpression); - const statement = factory2.createExpressionStatement(expression); - leadingBlockStatements = append(leadingBlockStatements, statement); - } - pendingExpressions = void 0; - } - exitClass(); - if (some(classInfo2.pendingInstanceInitializers) && !getFirstConstructorWithBody(node)) { - const initializerStatements = prepareConstructor(node, classInfo2); - if (initializerStatements) { - const extendsClauseElement = getEffectiveBaseTypeNode(node); - const isDerivedClass = !!(extendsClauseElement && skipOuterExpressions(extendsClauseElement.expression).kind !== 106 /* NullKeyword */); - const constructorStatements = []; - if (isDerivedClass) { - const spreadArguments = factory2.createSpreadElement(factory2.createIdentifier("arguments")); - const superCall = factory2.createCallExpression( - factory2.createSuper(), - /*typeArguments*/ - void 0, - [spreadArguments] - ); - constructorStatements.push(factory2.createExpressionStatement(superCall)); - } - addRange(constructorStatements, initializerStatements); - const constructorBody = factory2.createBlock( - constructorStatements, - /*multiLine*/ - true - ); - syntheticConstructor = factory2.createConstructorDeclaration( - /*modifiers*/ - void 0, - [], - constructorBody - ); - } - } - if (classInfo2.staticMethodExtraInitializersName) { - classDefinitionStatements.push( - createLet(classInfo2.staticMethodExtraInitializersName, factory2.createArrayLiteralExpression()) - ); - } - if (classInfo2.instanceMethodExtraInitializersName) { - classDefinitionStatements.push( - createLet(classInfo2.instanceMethodExtraInitializersName, factory2.createArrayLiteralExpression()) - ); - } - if (classInfo2.memberInfos) { - forEachEntry(classInfo2.memberInfos, (memberInfo, member) => { - if (isStatic(member)) { - classDefinitionStatements.push(createLet(memberInfo.memberDecoratorsName)); - if (memberInfo.memberInitializersName) { - classDefinitionStatements.push(createLet(memberInfo.memberInitializersName, factory2.createArrayLiteralExpression())); - } - if (memberInfo.memberExtraInitializersName) { - classDefinitionStatements.push(createLet(memberInfo.memberExtraInitializersName, factory2.createArrayLiteralExpression())); - } - if (memberInfo.memberDescriptorName) { - classDefinitionStatements.push(createLet(memberInfo.memberDescriptorName)); - } - } - }); - } - if (classInfo2.memberInfos) { - forEachEntry(classInfo2.memberInfos, (memberInfo, member) => { - if (!isStatic(member)) { - classDefinitionStatements.push(createLet(memberInfo.memberDecoratorsName)); - if (memberInfo.memberInitializersName) { - classDefinitionStatements.push(createLet(memberInfo.memberInitializersName, factory2.createArrayLiteralExpression())); - } - if (memberInfo.memberExtraInitializersName) { - classDefinitionStatements.push(createLet(memberInfo.memberExtraInitializersName, factory2.createArrayLiteralExpression())); - } - if (memberInfo.memberDescriptorName) { - classDefinitionStatements.push(createLet(memberInfo.memberDescriptorName)); - } - } - }); - } - leadingBlockStatements = addRange(leadingBlockStatements, classInfo2.staticNonFieldDecorationStatements); - leadingBlockStatements = addRange(leadingBlockStatements, classInfo2.nonStaticNonFieldDecorationStatements); - leadingBlockStatements = addRange(leadingBlockStatements, classInfo2.staticFieldDecorationStatements); - leadingBlockStatements = addRange(leadingBlockStatements, classInfo2.nonStaticFieldDecorationStatements); - if (classInfo2.classDescriptorName && classInfo2.classDecoratorsName && classInfo2.classExtraInitializersName && classInfo2.classThis) { - leadingBlockStatements ?? (leadingBlockStatements = []); - const valueProperty = factory2.createPropertyAssignment("value", renamedClassThis); - const classDescriptor = factory2.createObjectLiteralExpression([valueProperty]); - const classDescriptorAssignment = factory2.createAssignment(classInfo2.classDescriptorName, classDescriptor); - const classNameReference = factory2.createPropertyAccessExpression(renamedClassThis, "name"); - const esDecorateHelper2 = emitHelpers().createESDecorateHelper( - factory2.createNull(), - classDescriptorAssignment, - classInfo2.classDecoratorsName, - { kind: "class", name: classNameReference, metadata: classInfo2.metadataReference }, - factory2.createNull(), - classInfo2.classExtraInitializersName - ); - const esDecorateStatement = factory2.createExpressionStatement(esDecorateHelper2); - setSourceMapRange(esDecorateStatement, moveRangePastDecorators(node)); - leadingBlockStatements.push(esDecorateStatement); - const classDescriptorValueReference = factory2.createPropertyAccessExpression(classInfo2.classDescriptorName, "value"); - const classThisAssignment = factory2.createAssignment(classInfo2.classThis, classDescriptorValueReference); - const classReferenceAssignment = factory2.createAssignment(classReference, classThisAssignment); - leadingBlockStatements.push(factory2.createExpressionStatement(classReferenceAssignment)); - } - leadingBlockStatements.push(createSymbolMetadata(renamedClassThis, classInfo2.metadataReference)); - if (some(classInfo2.pendingStaticInitializers)) { - for (const initializer of classInfo2.pendingStaticInitializers) { - const initializerStatement = factory2.createExpressionStatement(initializer); - setSourceMapRange(initializerStatement, getSourceMapRange(initializer)); - trailingBlockStatements = append(trailingBlockStatements, initializerStatement); - } - classInfo2.pendingStaticInitializers = void 0; - } - if (classInfo2.classExtraInitializersName) { - const runClassInitializersHelper = emitHelpers().createRunInitializersHelper(renamedClassThis, classInfo2.classExtraInitializersName); - const runClassInitializersStatement = factory2.createExpressionStatement(runClassInitializersHelper); - setSourceMapRange(runClassInitializersStatement, node.name ?? moveRangePastDecorators(node)); - trailingBlockStatements = append(trailingBlockStatements, runClassInitializersStatement); - } - if (leadingBlockStatements && trailingBlockStatements && !classInfo2.hasStaticInitializers) { - addRange(leadingBlockStatements, trailingBlockStatements); - trailingBlockStatements = void 0; - } - const leadingStaticBlock = leadingBlockStatements && factory2.createClassStaticBlockDeclaration(factory2.createBlock( - leadingBlockStatements, - /*multiLine*/ - true - )); - if (leadingStaticBlock && shouldTransformPrivateStaticElementsInClass) { - setInternalEmitFlags(leadingStaticBlock, 32 /* TransformPrivateStaticElements */); - } - const trailingStaticBlock = trailingBlockStatements && factory2.createClassStaticBlockDeclaration(factory2.createBlock( - trailingBlockStatements, - /*multiLine*/ - true - )); - if (leadingStaticBlock || syntheticConstructor || trailingStaticBlock) { - const newMembers = []; - const existingNamedEvaluationHelperBlockIndex = members.findIndex(isClassNamedEvaluationHelperBlock); - if (leadingStaticBlock) { - addRange(newMembers, members, 0, existingNamedEvaluationHelperBlockIndex + 1); - newMembers.push(leadingStaticBlock); - addRange(newMembers, members, existingNamedEvaluationHelperBlockIndex + 1); - } else { - addRange(newMembers, members); - } - if (syntheticConstructor) { - newMembers.push(syntheticConstructor); - } - if (trailingStaticBlock) { - newMembers.push(trailingStaticBlock); - } - members = setTextRange(factory2.createNodeArray(newMembers), members); - } - const lexicalEnvironment = endLexicalEnvironment(); - let classExpression; - if (classDecorators) { - classExpression = factory2.createClassExpression( - /*modifiers*/ - void 0, - /*name*/ - void 0, - /*typeParameters*/ - void 0, - heritageClauses, - members - ); - if (classInfo2.classThis) { - classExpression = injectClassThisAssignmentIfMissing(factory2, classExpression, classInfo2.classThis); - } - const classReferenceDeclaration = factory2.createVariableDeclaration( - classReference, - /*exclamationToken*/ - void 0, - /*type*/ - void 0, - classExpression - ); - const classReferenceVarDeclList = factory2.createVariableDeclarationList([classReferenceDeclaration]); - const returnExpr = classInfo2.classThis ? factory2.createAssignment(classReference, classInfo2.classThis) : classReference; - classDefinitionStatements.push( - factory2.createVariableStatement( - /*modifiers*/ - void 0, - classReferenceVarDeclList - ), - factory2.createReturnStatement(returnExpr) - ); - } else { - classExpression = factory2.createClassExpression( - /*modifiers*/ - void 0, - node.name, - /*typeParameters*/ - void 0, - heritageClauses, - members - ); - classDefinitionStatements.push(factory2.createReturnStatement(classExpression)); - } - if (shouldTransformPrivateStaticElementsInClass) { - addInternalEmitFlags(classExpression, 32 /* TransformPrivateStaticElements */); - for (const member of classExpression.members) { - if ((isPrivateIdentifierClassElementDeclaration(member) || isAutoAccessorPropertyDeclaration(member)) && hasStaticModifier(member)) { - addInternalEmitFlags(member, 32 /* TransformPrivateStaticElements */); - } - } - } - setOriginalNode(classExpression, node); - return factory2.createImmediatelyInvokedArrowFunction(factory2.mergeLexicalEnvironment(classDefinitionStatements, lexicalEnvironment)); - } - function isDecoratedClassLike(node) { - return classOrConstructorParameterIsDecorated( - /*useLegacyDecorators*/ - false, - node - ) || childIsDecorated( - /*useLegacyDecorators*/ - false, - node - ); - } - function visitClassDeclaration(node) { - if (isDecoratedClassLike(node)) { - const statements = []; - const originalClass = getOriginalNode(node, isClassLike) ?? node; - const className = originalClass.name ? factory2.createStringLiteralFromNode(originalClass.name) : factory2.createStringLiteral("default"); - const isExport = hasSyntacticModifier(node, 32 /* Export */); - const isDefault = hasSyntacticModifier(node, 2048 /* Default */); - if (!node.name) { - node = injectClassNamedEvaluationHelperBlockIfMissing(context, node, className); - } - if (isExport && isDefault) { - const iife = transformClassLike(node); - if (node.name) { - const varDecl = factory2.createVariableDeclaration( - factory2.getLocalName(node), - /*exclamationToken*/ - void 0, - /*type*/ - void 0, - iife - ); - setOriginalNode(varDecl, node); - const varDecls = factory2.createVariableDeclarationList([varDecl], 1 /* Let */); - const varStatement = factory2.createVariableStatement( - /*modifiers*/ - void 0, - varDecls - ); - statements.push(varStatement); - const exportStatement = factory2.createExportDefault(factory2.getDeclarationName(node)); - setOriginalNode(exportStatement, node); - setCommentRange(exportStatement, getCommentRange(node)); - setSourceMapRange(exportStatement, moveRangePastDecorators(node)); - statements.push(exportStatement); - } else { - const exportStatement = factory2.createExportDefault(iife); - setOriginalNode(exportStatement, node); - setCommentRange(exportStatement, getCommentRange(node)); - setSourceMapRange(exportStatement, moveRangePastDecorators(node)); - statements.push(exportStatement); - } - } else { - Debug.assertIsDefined(node.name, "A class declaration that is not a default export must have a name."); - const iife = transformClassLike(node); - const modifierVisitorNoExport = isExport ? (node2) => isExportModifier(node2) ? void 0 : modifierVisitor(node2) : modifierVisitor; - const modifiers = visitNodes2(node.modifiers, modifierVisitorNoExport, isModifier); - const declName = factory2.getLocalName( - node, - /*allowComments*/ - false, - /*allowSourceMaps*/ - true - ); - const varDecl = factory2.createVariableDeclaration( - declName, - /*exclamationToken*/ - void 0, - /*type*/ - void 0, - iife - ); - setOriginalNode(varDecl, node); - const varDecls = factory2.createVariableDeclarationList([varDecl], 1 /* Let */); - const varStatement = factory2.createVariableStatement(modifiers, varDecls); - setOriginalNode(varStatement, node); - setCommentRange(varStatement, getCommentRange(node)); - statements.push(varStatement); - if (isExport) { - const exportStatement = factory2.createExternalModuleExport(declName); - setOriginalNode(exportStatement, node); - statements.push(exportStatement); - } - } - return singleOrMany(statements); - } else { - const modifiers = visitNodes2(node.modifiers, modifierVisitor, isModifier); - const heritageClauses = visitNodes2(node.heritageClauses, visitor, isHeritageClause); - enterClass( - /*classInfo*/ - void 0 - ); - const members = visitNodes2(node.members, classElementVisitor, isClassElement); - exitClass(); - return factory2.updateClassDeclaration( - node, - modifiers, - node.name, - /*typeParameters*/ - void 0, - heritageClauses, - members - ); - } - } - function visitClassExpression(node) { - if (isDecoratedClassLike(node)) { - const iife = transformClassLike(node); - setOriginalNode(iife, node); - return iife; - } else { - const modifiers = visitNodes2(node.modifiers, modifierVisitor, isModifier); - const heritageClauses = visitNodes2(node.heritageClauses, visitor, isHeritageClause); - enterClass( - /*classInfo*/ - void 0 - ); - const members = visitNodes2(node.members, classElementVisitor, isClassElement); - exitClass(); - return factory2.updateClassExpression( - node, - modifiers, - node.name, - /*typeParameters*/ - void 0, - heritageClauses, - members - ); - } - } - function prepareConstructor(_parent, classInfo2) { - if (some(classInfo2.pendingInstanceInitializers)) { - const statements = []; - statements.push( - factory2.createExpressionStatement( - factory2.inlineExpressions(classInfo2.pendingInstanceInitializers) - ) - ); - classInfo2.pendingInstanceInitializers = void 0; - return statements; - } - } - function transformConstructorBodyWorker(statementsOut, statementsIn, statementOffset, superPath, superPathDepth, initializerStatements) { - const superStatementIndex = superPath[superPathDepth]; - const superStatement = statementsIn[superStatementIndex]; - addRange(statementsOut, visitNodes2(statementsIn, visitor, isStatement, statementOffset, superStatementIndex - statementOffset)); - if (isTryStatement(superStatement)) { - const tryBlockStatements = []; - transformConstructorBodyWorker( - tryBlockStatements, - superStatement.tryBlock.statements, - /*statementOffset*/ - 0, - superPath, - superPathDepth + 1, - initializerStatements - ); - const tryBlockStatementsArray = factory2.createNodeArray(tryBlockStatements); - setTextRange(tryBlockStatementsArray, superStatement.tryBlock.statements); - statementsOut.push(factory2.updateTryStatement( - superStatement, - factory2.updateBlock(superStatement.tryBlock, tryBlockStatements), - visitNode(superStatement.catchClause, visitor, isCatchClause), - visitNode(superStatement.finallyBlock, visitor, isBlock) - )); - } else { - addRange(statementsOut, visitNodes2(statementsIn, visitor, isStatement, superStatementIndex, 1)); - addRange(statementsOut, initializerStatements); - } - addRange(statementsOut, visitNodes2(statementsIn, visitor, isStatement, superStatementIndex + 1)); - } - function visitConstructorDeclaration(node) { - enterClassElement(node); - const modifiers = visitNodes2(node.modifiers, modifierVisitor, isModifier); - const parameters = visitNodes2(node.parameters, visitor, isParameter); - let body; - if (node.body && classInfo) { - const initializerStatements = prepareConstructor(classInfo.class, classInfo); - if (initializerStatements) { - const statements = []; - const nonPrologueStart = factory2.copyPrologue( - node.body.statements, - statements, - /*ensureUseStrict*/ - false, - visitor - ); - const superStatementIndices = findSuperStatementIndexPath(node.body.statements, nonPrologueStart); - if (superStatementIndices.length > 0) { - transformConstructorBodyWorker(statements, node.body.statements, nonPrologueStart, superStatementIndices, 0, initializerStatements); - } else { - addRange(statements, initializerStatements); - addRange(statements, visitNodes2(node.body.statements, visitor, isStatement)); - } - body = factory2.createBlock( - statements, - /*multiLine*/ - true - ); - setOriginalNode(body, node.body); - setTextRange(body, node.body); - } - } - body ?? (body = visitNode(node.body, visitor, isBlock)); - exitClassElement(); - return factory2.updateConstructorDeclaration(node, modifiers, parameters, body); - } - function finishClassElement(updated, original) { - if (updated !== original) { - setCommentRange(updated, original); - setSourceMapRange(updated, moveRangePastDecorators(original)); - } - return updated; - } - function partialTransformClassElement(member, classInfo2, createDescriptor) { - let referencedName; - let name; - let initializersName; - let extraInitializersName; - let thisArg; - let descriptorName; - if (!classInfo2) { - const modifiers2 = visitNodes2(member.modifiers, modifierVisitor, isModifier); - enterName(); - name = visitPropertyName(member.name); - exitName(); - return { modifiers: modifiers2, referencedName, name, initializersName, descriptorName, thisArg }; - } - const memberDecorators = transformAllDecoratorsOfDeclaration(getAllDecoratorsOfClassElement( - member, - classInfo2.class, - /*useLegacyDecorators*/ - false - )); - const modifiers = visitNodes2(member.modifiers, modifierVisitor, isModifier); - if (memberDecorators) { - const memberDecoratorsName = createHelperVariable(member, "decorators"); - const memberDecoratorsArray = factory2.createArrayLiteralExpression(memberDecorators); - const memberDecoratorsAssignment = factory2.createAssignment(memberDecoratorsName, memberDecoratorsArray); - const memberInfo = { memberDecoratorsName }; - classInfo2.memberInfos ?? (classInfo2.memberInfos = /* @__PURE__ */ new Map()); - classInfo2.memberInfos.set(member, memberInfo); - pendingExpressions ?? (pendingExpressions = []); - pendingExpressions.push(memberDecoratorsAssignment); - const statements = isMethodOrAccessor(member) || isAutoAccessorPropertyDeclaration(member) ? isStatic(member) ? classInfo2.staticNonFieldDecorationStatements ?? (classInfo2.staticNonFieldDecorationStatements = []) : classInfo2.nonStaticNonFieldDecorationStatements ?? (classInfo2.nonStaticNonFieldDecorationStatements = []) : isPropertyDeclaration(member) && !isAutoAccessorPropertyDeclaration(member) ? isStatic(member) ? classInfo2.staticFieldDecorationStatements ?? (classInfo2.staticFieldDecorationStatements = []) : classInfo2.nonStaticFieldDecorationStatements ?? (classInfo2.nonStaticFieldDecorationStatements = []) : Debug.fail(); - const kind = isGetAccessorDeclaration(member) ? "getter" : isSetAccessorDeclaration(member) ? "setter" : isMethodDeclaration(member) ? "method" : isAutoAccessorPropertyDeclaration(member) ? "accessor" : isPropertyDeclaration(member) ? "field" : Debug.fail(); - let propertyName; - if (isIdentifier(member.name) || isPrivateIdentifier(member.name)) { - propertyName = { computed: false, name: member.name }; - } else if (isPropertyNameLiteral(member.name)) { - propertyName = { computed: true, name: factory2.createStringLiteralFromNode(member.name) }; - } else { - const expression = member.name.expression; - if (isPropertyNameLiteral(expression) && !isIdentifier(expression)) { - propertyName = { computed: true, name: factory2.createStringLiteralFromNode(expression) }; - } else { - enterName(); - ({ referencedName, name } = visitReferencedPropertyName(member.name)); - propertyName = { computed: true, name: referencedName }; - exitName(); - } - } - const context2 = { - kind, - name: propertyName, - static: isStatic(member), - private: isPrivateIdentifier(member.name), - access: { - // 15.7.3 CreateDecoratorAccessObject (kind, name) - // 2. If _kind_ is ~field~, ~method~, ~accessor~, or ~getter~, then ... - get: isPropertyDeclaration(member) || isGetAccessorDeclaration(member) || isMethodDeclaration(member), - // 3. If _kind_ is ~field~, ~accessor~, or ~setter~, then ... - set: isPropertyDeclaration(member) || isSetAccessorDeclaration(member) - }, - metadata: classInfo2.metadataReference - }; - if (isMethodOrAccessor(member)) { - const methodExtraInitializersName = isStatic(member) ? classInfo2.staticMethodExtraInitializersName : classInfo2.instanceMethodExtraInitializersName; - Debug.assertIsDefined(methodExtraInitializersName); - let descriptor; - if (isPrivateIdentifierClassElementDeclaration(member) && createDescriptor) { - descriptor = createDescriptor(member, visitNodes2(modifiers, (node) => tryCast(node, isAsyncModifier), isModifier)); - memberInfo.memberDescriptorName = descriptorName = createHelperVariable(member, "descriptor"); - descriptor = factory2.createAssignment(descriptorName, descriptor); - } - const esDecorateExpression = emitHelpers().createESDecorateHelper(factory2.createThis(), descriptor ?? factory2.createNull(), memberDecoratorsName, context2, factory2.createNull(), methodExtraInitializersName); - const esDecorateStatement = factory2.createExpressionStatement(esDecorateExpression); - setSourceMapRange(esDecorateStatement, moveRangePastDecorators(member)); - statements.push(esDecorateStatement); - } else if (isPropertyDeclaration(member)) { - initializersName = memberInfo.memberInitializersName ?? (memberInfo.memberInitializersName = createHelperVariable(member, "initializers")); - extraInitializersName = memberInfo.memberExtraInitializersName ?? (memberInfo.memberExtraInitializersName = createHelperVariable(member, "extraInitializers")); - if (isStatic(member)) { - thisArg = classInfo2.classThis; - } - let descriptor; - if (isPrivateIdentifierClassElementDeclaration(member) && hasAccessorModifier(member) && createDescriptor) { - descriptor = createDescriptor( - member, - /*modifiers*/ - void 0 - ); - memberInfo.memberDescriptorName = descriptorName = createHelperVariable(member, "descriptor"); - descriptor = factory2.createAssignment(descriptorName, descriptor); - } - const esDecorateExpression = emitHelpers().createESDecorateHelper( - isAutoAccessorPropertyDeclaration(member) ? factory2.createThis() : factory2.createNull(), - descriptor ?? factory2.createNull(), - memberDecoratorsName, - context2, - initializersName, - extraInitializersName - ); - const esDecorateStatement = factory2.createExpressionStatement(esDecorateExpression); - setSourceMapRange(esDecorateStatement, moveRangePastDecorators(member)); - statements.push(esDecorateStatement); - } - } - if (name === void 0) { - enterName(); - name = visitPropertyName(member.name); - exitName(); - } - if (!some(modifiers) && (isMethodDeclaration(member) || isPropertyDeclaration(member))) { - setEmitFlags(name, 1024 /* NoLeadingComments */); - } - return { modifiers, referencedName, name, initializersName, extraInitializersName, descriptorName, thisArg }; - } - function visitMethodDeclaration(node) { - enterClassElement(node); - const { modifiers, name, descriptorName } = partialTransformClassElement(node, classInfo, createMethodDescriptorObject); - if (descriptorName) { - exitClassElement(); - return finishClassElement(createMethodDescriptorForwarder(modifiers, name, descriptorName), node); - } else { - const parameters = visitNodes2(node.parameters, visitor, isParameter); - const body = visitNode(node.body, visitor, isBlock); - exitClassElement(); - return finishClassElement(factory2.updateMethodDeclaration( - node, - modifiers, - node.asteriskToken, - name, - /*questionToken*/ - void 0, - /*typeParameters*/ - void 0, - parameters, - /*type*/ - void 0, - body - ), node); - } - } - function visitGetAccessorDeclaration(node) { - enterClassElement(node); - const { modifiers, name, descriptorName } = partialTransformClassElement(node, classInfo, createGetAccessorDescriptorObject); - if (descriptorName) { - exitClassElement(); - return finishClassElement(createGetAccessorDescriptorForwarder(modifiers, name, descriptorName), node); - } else { - const parameters = visitNodes2(node.parameters, visitor, isParameter); - const body = visitNode(node.body, visitor, isBlock); - exitClassElement(); - return finishClassElement(factory2.updateGetAccessorDeclaration( - node, - modifiers, - name, - parameters, - /*type*/ - void 0, - body - ), node); - } - } - function visitSetAccessorDeclaration(node) { - enterClassElement(node); - const { modifiers, name, descriptorName } = partialTransformClassElement(node, classInfo, createSetAccessorDescriptorObject); - if (descriptorName) { - exitClassElement(); - return finishClassElement(createSetAccessorDescriptorForwarder(modifiers, name, descriptorName), node); - } else { - const parameters = visitNodes2(node.parameters, visitor, isParameter); - const body = visitNode(node.body, visitor, isBlock); - exitClassElement(); - return finishClassElement(factory2.updateSetAccessorDeclaration(node, modifiers, name, parameters, body), node); - } - } - function visitClassStaticBlockDeclaration(node) { - enterClassElement(node); - let result; - if (isClassNamedEvaluationHelperBlock(node)) { - result = visitEachChild(node, visitor, context); - } else if (isClassThisAssignmentBlock(node)) { - const savedClassThis = classThis; - classThis = void 0; - result = visitEachChild(node, visitor, context); - classThis = savedClassThis; - } else { - node = visitEachChild(node, visitor, context); - result = node; - if (classInfo) { - classInfo.hasStaticInitializers = true; - if (some(classInfo.pendingStaticInitializers)) { - const statements = []; - for (const initializer of classInfo.pendingStaticInitializers) { - const initializerStatement = factory2.createExpressionStatement(initializer); - setSourceMapRange(initializerStatement, getSourceMapRange(initializer)); - statements.push(initializerStatement); - } - const body = factory2.createBlock( - statements, - /*multiLine*/ - true - ); - const staticBlock = factory2.createClassStaticBlockDeclaration(body); - result = [staticBlock, result]; - classInfo.pendingStaticInitializers = void 0; - } - } - } - exitClassElement(); - return result; - } - function visitPropertyDeclaration(node) { - if (isNamedEvaluation(node, isAnonymousClassNeedingAssignedName)) { - node = transformNamedEvaluation(context, node, canIgnoreEmptyStringLiteralInAssignedName(node.initializer)); - } - enterClassElement(node); - Debug.assert(!isAmbientPropertyDeclaration(node), "Not yet implemented."); - const { modifiers, name, initializersName, extraInitializersName, descriptorName, thisArg } = partialTransformClassElement(node, classInfo, hasAccessorModifier(node) ? createAccessorPropertyDescriptorObject : void 0); - startLexicalEnvironment(); - let initializer = visitNode(node.initializer, visitor, isExpression); - if (initializersName) { - initializer = emitHelpers().createRunInitializersHelper( - thisArg ?? factory2.createThis(), - initializersName, - initializer ?? factory2.createVoidZero() - ); - } - if (isStatic(node) && classInfo && initializer) { - classInfo.hasStaticInitializers = true; - } - const declarations = endLexicalEnvironment(); - if (some(declarations)) { - initializer = factory2.createImmediatelyInvokedArrowFunction([ - ...declarations, - factory2.createReturnStatement(initializer) - ]); - } - if (classInfo) { - if (isStatic(node)) { - initializer = injectPendingInitializers( - classInfo, - /*isStatic*/ - true, - initializer - ); - if (extraInitializersName) { - classInfo.pendingStaticInitializers ?? (classInfo.pendingStaticInitializers = []); - classInfo.pendingStaticInitializers.push( - emitHelpers().createRunInitializersHelper( - classInfo.classThis ?? factory2.createThis(), - extraInitializersName - ) - ); - } - } else { - initializer = injectPendingInitializers( - classInfo, - /*isStatic*/ - false, - initializer - ); - if (extraInitializersName) { - classInfo.pendingInstanceInitializers ?? (classInfo.pendingInstanceInitializers = []); - classInfo.pendingInstanceInitializers.push( - emitHelpers().createRunInitializersHelper( - factory2.createThis(), - extraInitializersName - ) - ); - } - } - } - exitClassElement(); - if (hasAccessorModifier(node) && descriptorName) { - const commentRange = getCommentRange(node); - const sourceMapRange = getSourceMapRange(node); - const name2 = node.name; - let getterName = name2; - let setterName = name2; - if (isComputedPropertyName(name2) && !isSimpleInlineableExpression(name2.expression)) { - const cacheAssignment = findComputedPropertyNameCacheAssignment(name2); - if (cacheAssignment) { - getterName = factory2.updateComputedPropertyName(name2, visitNode(name2.expression, visitor, isExpression)); - setterName = factory2.updateComputedPropertyName(name2, cacheAssignment.left); - } else { - const temp = factory2.createTempVariable(hoistVariableDeclaration); - setSourceMapRange(temp, name2.expression); - const expression = visitNode(name2.expression, visitor, isExpression); - const assignment = factory2.createAssignment(temp, expression); - setSourceMapRange(assignment, name2.expression); - getterName = factory2.updateComputedPropertyName(name2, assignment); - setterName = factory2.updateComputedPropertyName(name2, temp); - } - } - const modifiersWithoutAccessor = visitNodes2(modifiers, (node2) => node2.kind !== 129 /* AccessorKeyword */ ? node2 : void 0, isModifier); - const backingField = createAccessorPropertyBackingField(factory2, node, modifiersWithoutAccessor, initializer); - setOriginalNode(backingField, node); - setEmitFlags(backingField, 3072 /* NoComments */); - setSourceMapRange(backingField, sourceMapRange); - setSourceMapRange(backingField.name, node.name); - const getter = createGetAccessorDescriptorForwarder(modifiersWithoutAccessor, getterName, descriptorName); - setOriginalNode(getter, node); - setCommentRange(getter, commentRange); - setSourceMapRange(getter, sourceMapRange); - const setter = createSetAccessorDescriptorForwarder(modifiersWithoutAccessor, setterName, descriptorName); - setOriginalNode(setter, node); - setEmitFlags(setter, 3072 /* NoComments */); - setSourceMapRange(setter, sourceMapRange); - return [backingField, getter, setter]; - } - return finishClassElement(factory2.updatePropertyDeclaration( - node, - modifiers, - name, - /*questionOrExclamationToken*/ - void 0, - /*type*/ - void 0, - initializer - ), node); - } - function visitThisExpression(node) { - return classThis ?? node; - } - function visitCallExpression(node) { - if (isSuperProperty(node.expression) && classThis) { - const expression = visitNode(node.expression, visitor, isExpression); - const argumentsList = visitNodes2(node.arguments, visitor, isExpression); - const invocation = factory2.createFunctionCallCall(expression, classThis, argumentsList); - setOriginalNode(invocation, node); - setTextRange(invocation, node); - return invocation; - } - return visitEachChild(node, visitor, context); - } - function visitTaggedTemplateExpression(node) { - if (isSuperProperty(node.tag) && classThis) { - const tag = visitNode(node.tag, visitor, isExpression); - const boundTag = factory2.createFunctionBindCall(tag, classThis, []); - setOriginalNode(boundTag, node); - setTextRange(boundTag, node); - const template = visitNode(node.template, visitor, isTemplateLiteral); - return factory2.updateTaggedTemplateExpression( - node, - boundTag, - /*typeArguments*/ - void 0, - template - ); - } - return visitEachChild(node, visitor, context); - } - function visitPropertyAccessExpression(node) { - if (isSuperProperty(node) && isIdentifier(node.name) && classThis && classSuper) { - const propertyName = factory2.createStringLiteralFromNode(node.name); - const superProperty = factory2.createReflectGetCall(classSuper, propertyName, classThis); - setOriginalNode(superProperty, node.expression); - setTextRange(superProperty, node.expression); - return superProperty; - } - return visitEachChild(node, visitor, context); - } - function visitElementAccessExpression(node) { - if (isSuperProperty(node) && classThis && classSuper) { - const propertyName = visitNode(node.argumentExpression, visitor, isExpression); - const superProperty = factory2.createReflectGetCall(classSuper, propertyName, classThis); - setOriginalNode(superProperty, node.expression); - setTextRange(superProperty, node.expression); - return superProperty; - } - return visitEachChild(node, visitor, context); - } - function visitParameterDeclaration(node) { - if (isNamedEvaluation(node, isAnonymousClassNeedingAssignedName)) { - node = transformNamedEvaluation(context, node, canIgnoreEmptyStringLiteralInAssignedName(node.initializer)); - } - const updated = factory2.updateParameterDeclaration( - node, - /*modifiers*/ - void 0, - node.dotDotDotToken, - visitNode(node.name, visitor, isBindingName), - /*questionToken*/ - void 0, - /*type*/ - void 0, - visitNode(node.initializer, visitor, isExpression) - ); - if (updated !== node) { - setCommentRange(updated, node); - setTextRange(updated, moveRangePastModifiers(node)); - setSourceMapRange(updated, moveRangePastModifiers(node)); - setEmitFlags(updated.name, 64 /* NoTrailingSourceMap */); - } - return updated; - } - function isAnonymousClassNeedingAssignedName(node) { - return isClassExpression(node) && !node.name && isDecoratedClassLike(node); - } - function canIgnoreEmptyStringLiteralInAssignedName(node) { - const innerExpression = skipOuterExpressions(node); - return isClassExpression(innerExpression) && !innerExpression.name && !classOrConstructorParameterIsDecorated( - /*useLegacyDecorators*/ - false, - innerExpression - ); - } - function visitForStatement(node) { - return factory2.updateForStatement( - node, - visitNode(node.initializer, discardedValueVisitor, isForInitializer), - visitNode(node.condition, visitor, isExpression), - visitNode(node.incrementor, discardedValueVisitor, isExpression), - visitIterationBody(node.statement, visitor, context) - ); - } - function visitExpressionStatement(node) { - return visitEachChild(node, discardedValueVisitor, context); - } - function visitBinaryExpression(node, discarded) { - if (isDestructuringAssignment(node)) { - const left = visitAssignmentPattern(node.left); - const right = visitNode(node.right, visitor, isExpression); - return factory2.updateBinaryExpression(node, left, node.operatorToken, right); - } - if (isAssignmentExpression(node)) { - if (isNamedEvaluation(node, isAnonymousClassNeedingAssignedName)) { - node = transformNamedEvaluation(context, node, canIgnoreEmptyStringLiteralInAssignedName(node.right)); - return visitEachChild(node, visitor, context); - } - if (isSuperProperty(node.left) && classThis && classSuper) { - let setterName = isElementAccessExpression(node.left) ? visitNode(node.left.argumentExpression, visitor, isExpression) : isIdentifier(node.left.name) ? factory2.createStringLiteralFromNode(node.left.name) : void 0; - if (setterName) { - let expression = visitNode(node.right, visitor, isExpression); - if (isCompoundAssignment(node.operatorToken.kind)) { - let getterName = setterName; - if (!isSimpleInlineableExpression(setterName)) { - getterName = factory2.createTempVariable(hoistVariableDeclaration); - setterName = factory2.createAssignment(getterName, setterName); - } - const superPropertyGet = factory2.createReflectGetCall( - classSuper, - getterName, - classThis - ); - setOriginalNode(superPropertyGet, node.left); - setTextRange(superPropertyGet, node.left); - expression = factory2.createBinaryExpression( - superPropertyGet, - getNonAssignmentOperatorForCompoundAssignment(node.operatorToken.kind), - expression - ); - setTextRange(expression, node); - } - const temp = discarded ? void 0 : factory2.createTempVariable(hoistVariableDeclaration); - if (temp) { - expression = factory2.createAssignment(temp, expression); - setTextRange(temp, node); - } - expression = factory2.createReflectSetCall( - classSuper, - setterName, - expression, - classThis - ); - setOriginalNode(expression, node); - setTextRange(expression, node); - if (temp) { - expression = factory2.createComma(expression, temp); - setTextRange(expression, node); - } - return expression; - } - } - } - if (node.operatorToken.kind === 28 /* CommaToken */) { - const left = visitNode(node.left, discardedValueVisitor, isExpression); - const right = visitNode(node.right, discarded ? discardedValueVisitor : visitor, isExpression); - return factory2.updateBinaryExpression(node, left, node.operatorToken, right); - } - return visitEachChild(node, visitor, context); - } - function visitPreOrPostfixUnaryExpression(node, discarded) { - if (node.operator === 46 /* PlusPlusToken */ || node.operator === 47 /* MinusMinusToken */) { - const operand = skipParentheses(node.operand); - if (isSuperProperty(operand) && classThis && classSuper) { - let setterName = isElementAccessExpression(operand) ? visitNode(operand.argumentExpression, visitor, isExpression) : isIdentifier(operand.name) ? factory2.createStringLiteralFromNode(operand.name) : void 0; - if (setterName) { - let getterName = setterName; - if (!isSimpleInlineableExpression(setterName)) { - getterName = factory2.createTempVariable(hoistVariableDeclaration); - setterName = factory2.createAssignment(getterName, setterName); - } - let expression = factory2.createReflectGetCall(classSuper, getterName, classThis); - setOriginalNode(expression, node); - setTextRange(expression, node); - const temp = discarded ? void 0 : factory2.createTempVariable(hoistVariableDeclaration); - expression = expandPreOrPostfixIncrementOrDecrementExpression(factory2, node, expression, hoistVariableDeclaration, temp); - expression = factory2.createReflectSetCall(classSuper, setterName, expression, classThis); - setOriginalNode(expression, node); - setTextRange(expression, node); - if (temp) { - expression = factory2.createComma(expression, temp); - setTextRange(expression, node); - } - return expression; - } - } - } - return visitEachChild(node, visitor, context); - } - function visitCommaListExpression(node, discarded) { - const elements = discarded ? visitCommaListElements(node.elements, discardedValueVisitor) : visitCommaListElements(node.elements, visitor, discardedValueVisitor); - return factory2.updateCommaListExpression(node, elements); - } - function visitReferencedPropertyName(node) { - if (isPropertyNameLiteral(node) || isPrivateIdentifier(node)) { - const referencedName2 = factory2.createStringLiteralFromNode(node); - const name2 = visitNode(node, visitor, isPropertyName); - return { referencedName: referencedName2, name: name2 }; - } - if (isPropertyNameLiteral(node.expression) && !isIdentifier(node.expression)) { - const referencedName2 = factory2.createStringLiteralFromNode(node.expression); - const name2 = visitNode(node, visitor, isPropertyName); - return { referencedName: referencedName2, name: name2 }; - } - const referencedName = factory2.getGeneratedNameForNode(node); - hoistVariableDeclaration(referencedName); - const key = emitHelpers().createPropKeyHelper(visitNode(node.expression, visitor, isExpression)); - const assignment = factory2.createAssignment(referencedName, key); - const name = factory2.updateComputedPropertyName(node, injectPendingExpressions(assignment)); - return { referencedName, name }; - } - function visitPropertyName(node) { - if (isComputedPropertyName(node)) { - return visitComputedPropertyName(node); - } - return visitNode(node, visitor, isPropertyName); - } - function visitComputedPropertyName(node) { - let expression = visitNode(node.expression, visitor, isExpression); - if (!isSimpleInlineableExpression(expression)) { - expression = injectPendingExpressions(expression); - } - return factory2.updateComputedPropertyName(node, expression); - } - function visitPropertyAssignment(node) { - if (isNamedEvaluation(node, isAnonymousClassNeedingAssignedName)) { - node = transformNamedEvaluation(context, node, canIgnoreEmptyStringLiteralInAssignedName(node.initializer)); - } - return visitEachChild(node, visitor, context); - } - function visitVariableDeclaration(node) { - if (isNamedEvaluation(node, isAnonymousClassNeedingAssignedName)) { - node = transformNamedEvaluation(context, node, canIgnoreEmptyStringLiteralInAssignedName(node.initializer)); - } - return visitEachChild(node, visitor, context); - } - function visitBindingElement(node) { - if (isNamedEvaluation(node, isAnonymousClassNeedingAssignedName)) { - node = transformNamedEvaluation(context, node, canIgnoreEmptyStringLiteralInAssignedName(node.initializer)); - } - return visitEachChild(node, visitor, context); - } - function visitDestructuringAssignmentTarget(node) { - if (isObjectLiteralExpression(node) || isArrayLiteralExpression(node)) { - return visitAssignmentPattern(node); - } - if (isSuperProperty(node) && classThis && classSuper) { - const propertyName = isElementAccessExpression(node) ? visitNode(node.argumentExpression, visitor, isExpression) : isIdentifier(node.name) ? factory2.createStringLiteralFromNode(node.name) : void 0; - if (propertyName) { - const paramName = factory2.createTempVariable( - /*recordTempVariable*/ - void 0 - ); - const expression = factory2.createAssignmentTargetWrapper( - paramName, - factory2.createReflectSetCall( - classSuper, - propertyName, - paramName, - classThis - ) - ); - setOriginalNode(expression, node); - setTextRange(expression, node); - return expression; - } - } - return visitEachChild(node, visitor, context); - } - function visitAssignmentElement(node) { - if (isAssignmentExpression( - node, - /*excludeCompoundAssignment*/ - true - )) { - if (isNamedEvaluation(node, isAnonymousClassNeedingAssignedName)) { - node = transformNamedEvaluation(context, node, canIgnoreEmptyStringLiteralInAssignedName(node.right)); - } - const assignmentTarget = visitDestructuringAssignmentTarget(node.left); - const initializer = visitNode(node.right, visitor, isExpression); - return factory2.updateBinaryExpression(node, assignmentTarget, node.operatorToken, initializer); - } else { - return visitDestructuringAssignmentTarget(node); - } - } - function visitAssignmentRestElement(node) { - if (isLeftHandSideExpression(node.expression)) { - const expression = visitDestructuringAssignmentTarget(node.expression); - return factory2.updateSpreadElement(node, expression); - } - return visitEachChild(node, visitor, context); - } - function visitArrayAssignmentElement(node) { - Debug.assertNode(node, isArrayBindingOrAssignmentElement); - if (isSpreadElement(node)) return visitAssignmentRestElement(node); - if (!isOmittedExpression(node)) return visitAssignmentElement(node); - return visitEachChild(node, visitor, context); - } - function visitAssignmentProperty(node) { - const name = visitNode(node.name, visitor, isPropertyName); - if (isAssignmentExpression( - node.initializer, - /*excludeCompoundAssignment*/ - true - )) { - const assignmentElement = visitAssignmentElement(node.initializer); - return factory2.updatePropertyAssignment(node, name, assignmentElement); - } - if (isLeftHandSideExpression(node.initializer)) { - const assignmentElement = visitDestructuringAssignmentTarget(node.initializer); - return factory2.updatePropertyAssignment(node, name, assignmentElement); - } - return visitEachChild(node, visitor, context); - } - function visitShorthandAssignmentProperty(node) { - if (isNamedEvaluation(node, isAnonymousClassNeedingAssignedName)) { - node = transformNamedEvaluation(context, node, canIgnoreEmptyStringLiteralInAssignedName(node.objectAssignmentInitializer)); - } - return visitEachChild(node, visitor, context); - } - function visitAssignmentRestProperty(node) { - if (isLeftHandSideExpression(node.expression)) { - const expression = visitDestructuringAssignmentTarget(node.expression); - return factory2.updateSpreadAssignment(node, expression); - } - return visitEachChild(node, visitor, context); - } - function visitObjectAssignmentElement(node) { - Debug.assertNode(node, isObjectBindingOrAssignmentElement); - if (isSpreadAssignment(node)) return visitAssignmentRestProperty(node); - if (isShorthandPropertyAssignment(node)) return visitShorthandAssignmentProperty(node); - if (isPropertyAssignment(node)) return visitAssignmentProperty(node); - return visitEachChild(node, visitor, context); - } - function visitAssignmentPattern(node) { - if (isArrayLiteralExpression(node)) { - const elements = visitNodes2(node.elements, visitArrayAssignmentElement, isExpression); - return factory2.updateArrayLiteralExpression(node, elements); - } else { - const properties = visitNodes2(node.properties, visitObjectAssignmentElement, isObjectLiteralElementLike); - return factory2.updateObjectLiteralExpression(node, properties); - } - } - function visitExportAssignment(node) { - if (isNamedEvaluation(node, isAnonymousClassNeedingAssignedName)) { - node = transformNamedEvaluation(context, node, canIgnoreEmptyStringLiteralInAssignedName(node.expression)); - } - return visitEachChild(node, visitor, context); - } - function visitParenthesizedExpression(node, discarded) { - const visitorFunc = discarded ? discardedValueVisitor : visitor; - const expression = visitNode(node.expression, visitorFunc, isExpression); - return factory2.updateParenthesizedExpression(node, expression); - } - function visitPartiallyEmittedExpression(node, discarded) { - const visitorFunc = discarded ? discardedValueVisitor : visitor; - const expression = visitNode(node.expression, visitorFunc, isExpression); - return factory2.updatePartiallyEmittedExpression(node, expression); - } - function injectPendingExpressionsCommon(pendingExpressions2, expression) { - if (some(pendingExpressions2)) { - if (expression) { - if (isParenthesizedExpression(expression)) { - pendingExpressions2.push(expression.expression); - expression = factory2.updateParenthesizedExpression(expression, factory2.inlineExpressions(pendingExpressions2)); - } else { - pendingExpressions2.push(expression); - expression = factory2.inlineExpressions(pendingExpressions2); - } - } else { - expression = factory2.inlineExpressions(pendingExpressions2); - } - } - return expression; - } - function injectPendingExpressions(expression) { - const result = injectPendingExpressionsCommon(pendingExpressions, expression); - Debug.assertIsDefined(result); - if (result !== expression) { - pendingExpressions = void 0; - } - return result; - } - function injectPendingInitializers(classInfo2, isStatic2, expression) { - const result = injectPendingExpressionsCommon(isStatic2 ? classInfo2.pendingStaticInitializers : classInfo2.pendingInstanceInitializers, expression); - if (result !== expression) { - if (isStatic2) { - classInfo2.pendingStaticInitializers = void 0; - } else { - classInfo2.pendingInstanceInitializers = void 0; - } - } - return result; - } - function transformAllDecoratorsOfDeclaration(allDecorators) { - if (!allDecorators) { - return void 0; - } - const decoratorExpressions = []; - addRange(decoratorExpressions, map(allDecorators.decorators, transformDecorator)); - return decoratorExpressions; - } - function transformDecorator(decorator) { - const expression = visitNode(decorator.expression, visitor, isExpression); - setEmitFlags(expression, 3072 /* NoComments */); - const innerExpression = skipOuterExpressions(expression); - if (isAccessExpression(innerExpression)) { - const { target, thisArg } = factory2.createCallBinding( - expression, - hoistVariableDeclaration, - languageVersion, - /*cacheIdentifiers*/ - true - ); - return factory2.restoreOuterExpressions(expression, factory2.createFunctionBindCall(target, thisArg, [])); - } - return expression; - } - function createDescriptorMethod(original, name, modifiers, asteriskToken, kind, parameters, body) { - const func = factory2.createFunctionExpression( - modifiers, - asteriskToken, - /*name*/ - void 0, - /*typeParameters*/ - void 0, - parameters, - /*type*/ - void 0, - body ?? factory2.createBlock([]) - ); - setOriginalNode(func, original); - setSourceMapRange(func, moveRangePastDecorators(original)); - setEmitFlags(func, 3072 /* NoComments */); - const prefix = kind === "get" || kind === "set" ? kind : void 0; - const functionName = factory2.createStringLiteralFromNode( - name, - /*isSingleQuote*/ - void 0 - ); - const namedFunction = emitHelpers().createSetFunctionNameHelper(func, functionName, prefix); - const method = factory2.createPropertyAssignment(factory2.createIdentifier(kind), namedFunction); - setOriginalNode(method, original); - setSourceMapRange(method, moveRangePastDecorators(original)); - setEmitFlags(method, 3072 /* NoComments */); - return method; - } - function createMethodDescriptorObject(node, modifiers) { - return factory2.createObjectLiteralExpression([ - createDescriptorMethod( - node, - node.name, - modifiers, - node.asteriskToken, - "value", - visitNodes2(node.parameters, visitor, isParameter), - visitNode(node.body, visitor, isBlock) - ) - ]); - } - function createGetAccessorDescriptorObject(node, modifiers) { - return factory2.createObjectLiteralExpression([ - createDescriptorMethod( - node, - node.name, - modifiers, - /*asteriskToken*/ - void 0, - "get", - [], - visitNode(node.body, visitor, isBlock) - ) - ]); - } - function createSetAccessorDescriptorObject(node, modifiers) { - return factory2.createObjectLiteralExpression([ - createDescriptorMethod( - node, - node.name, - modifiers, - /*asteriskToken*/ - void 0, - "set", - visitNodes2(node.parameters, visitor, isParameter), - visitNode(node.body, visitor, isBlock) - ) - ]); - } - function createAccessorPropertyDescriptorObject(node, modifiers) { - return factory2.createObjectLiteralExpression([ - createDescriptorMethod( - node, - node.name, - modifiers, - /*asteriskToken*/ - void 0, - "get", - [], - factory2.createBlock([ - factory2.createReturnStatement( - factory2.createPropertyAccessExpression( - factory2.createThis(), - factory2.getGeneratedPrivateNameForNode(node.name) - ) - ) - ]) - ), - createDescriptorMethod( - node, - node.name, - modifiers, - /*asteriskToken*/ - void 0, - "set", - [factory2.createParameterDeclaration( - /*modifiers*/ - void 0, - /*dotDotDotToken*/ - void 0, - "value" - )], - factory2.createBlock([ - factory2.createExpressionStatement( - factory2.createAssignment( - factory2.createPropertyAccessExpression( - factory2.createThis(), - factory2.getGeneratedPrivateNameForNode(node.name) - ), - factory2.createIdentifier("value") - ) - ) - ]) - ) - ]); - } - function createMethodDescriptorForwarder(modifiers, name, descriptorName) { - modifiers = visitNodes2(modifiers, (node) => isStaticModifier(node) ? node : void 0, isModifier); - return factory2.createGetAccessorDeclaration( - modifiers, - name, - [], - /*type*/ - void 0, - factory2.createBlock([ - factory2.createReturnStatement( - factory2.createPropertyAccessExpression( - descriptorName, - factory2.createIdentifier("value") - ) - ) - ]) - ); - } - function createGetAccessorDescriptorForwarder(modifiers, name, descriptorName) { - modifiers = visitNodes2(modifiers, (node) => isStaticModifier(node) ? node : void 0, isModifier); - return factory2.createGetAccessorDeclaration( - modifiers, - name, - [], - /*type*/ - void 0, - factory2.createBlock([ - factory2.createReturnStatement( - factory2.createFunctionCallCall( - factory2.createPropertyAccessExpression( - descriptorName, - factory2.createIdentifier("get") - ), - factory2.createThis(), - [] - ) - ) - ]) - ); - } - function createSetAccessorDescriptorForwarder(modifiers, name, descriptorName) { - modifiers = visitNodes2(modifiers, (node) => isStaticModifier(node) ? node : void 0, isModifier); - return factory2.createSetAccessorDeclaration( - modifiers, - name, - [factory2.createParameterDeclaration( - /*modifiers*/ - void 0, - /*dotDotDotToken*/ - void 0, - "value" - )], - factory2.createBlock([ - factory2.createReturnStatement( - factory2.createFunctionCallCall( - factory2.createPropertyAccessExpression( - descriptorName, - factory2.createIdentifier("set") - ), - factory2.createThis(), - [factory2.createIdentifier("value")] - ) - ) - ]) - ); - } - function createMetadata(name, classSuper2) { - const varDecl = factory2.createVariableDeclaration( - name, - /*exclamationToken*/ - void 0, - /*type*/ - void 0, - factory2.createConditionalExpression( - factory2.createLogicalAnd( - factory2.createTypeCheck(factory2.createIdentifier("Symbol"), "function"), - factory2.createPropertyAccessExpression(factory2.createIdentifier("Symbol"), "metadata") - ), - factory2.createToken(58 /* QuestionToken */), - factory2.createCallExpression( - factory2.createPropertyAccessExpression(factory2.createIdentifier("Object"), "create"), - /*typeArguments*/ - void 0, - [classSuper2 ? createSymbolMetadataReference(classSuper2) : factory2.createNull()] - ), - factory2.createToken(59 /* ColonToken */), - factory2.createVoidZero() - ) - ); - return factory2.createVariableStatement( - /*modifiers*/ - void 0, - factory2.createVariableDeclarationList([varDecl], 2 /* Const */) - ); - } - function createSymbolMetadata(target, value) { - const defineProperty = factory2.createObjectDefinePropertyCall( - target, - factory2.createPropertyAccessExpression(factory2.createIdentifier("Symbol"), "metadata"), - factory2.createPropertyDescriptor( - { configurable: true, writable: true, enumerable: true, value }, - /*singleLine*/ - true - ) - ); - return setEmitFlags( - factory2.createIfStatement(value, factory2.createExpressionStatement(defineProperty)), - 1 /* SingleLine */ - ); - } - function createSymbolMetadataReference(classSuper2) { - return factory2.createBinaryExpression( - factory2.createElementAccessExpression( - classSuper2, - factory2.createPropertyAccessExpression(factory2.createIdentifier("Symbol"), "metadata") - ), - 61 /* QuestionQuestionToken */, - factory2.createNull() - ); - } -} - -// src/compiler/transformers/es2017.ts -function transformES2017(context) { - const { - factory: factory2, - getEmitHelperFactory: emitHelpers, - resumeLexicalEnvironment, - endLexicalEnvironment, - hoistVariableDeclaration - } = context; - const resolver = context.getEmitResolver(); - const compilerOptions = context.getCompilerOptions(); - const languageVersion = getEmitScriptTarget(compilerOptions); - let enabledSubstitutions; - let enclosingSuperContainerFlags = 0; - let enclosingFunctionParameterNames; - let capturedSuperProperties; - let hasSuperElementAccess; - let lexicalArgumentsBinding; - const substitutedSuperAccessors = []; - let contextFlags = 0 /* None */; - const previousOnEmitNode = context.onEmitNode; - const previousOnSubstituteNode = context.onSubstituteNode; - context.onEmitNode = onEmitNode; - context.onSubstituteNode = onSubstituteNode; - return chainBundle(context, transformSourceFile); - function transformSourceFile(node) { - if (node.isDeclarationFile) { - return node; - } - setContextFlag(1 /* NonTopLevel */, false); - setContextFlag(2 /* HasLexicalThis */, !isEffectiveStrictModeSourceFile(node, compilerOptions)); - const visited = visitEachChild(node, visitor, context); - addEmitHelpers(visited, context.readEmitHelpers()); - return visited; - } - function setContextFlag(flag, val) { - contextFlags = val ? contextFlags | flag : contextFlags & ~flag; - } - function inContext(flags) { - return (contextFlags & flags) !== 0; - } - function inTopLevelContext() { - return !inContext(1 /* NonTopLevel */); - } - function inHasLexicalThisContext() { - return inContext(2 /* HasLexicalThis */); - } - function doWithContext(flags, cb, value) { - const contextFlagsToSet = flags & ~contextFlags; - if (contextFlagsToSet) { - setContextFlag( - contextFlagsToSet, - /*val*/ - true - ); - const result = cb(value); - setContextFlag( - contextFlagsToSet, - /*val*/ - false - ); - return result; - } - return cb(value); - } - function visitDefault(node) { - return visitEachChild(node, visitor, context); - } - function argumentsVisitor(node) { - switch (node.kind) { - case 218 /* FunctionExpression */: - case 262 /* FunctionDeclaration */: - case 174 /* MethodDeclaration */: - case 177 /* GetAccessor */: - case 178 /* SetAccessor */: - case 176 /* Constructor */: - return node; - case 169 /* Parameter */: - case 208 /* BindingElement */: - case 260 /* VariableDeclaration */: - break; - case 80 /* Identifier */: - if (lexicalArgumentsBinding && resolver.isArgumentsLocalBinding(node)) { - return lexicalArgumentsBinding; - } - break; - } - return visitEachChild(node, argumentsVisitor, context); - } - function visitor(node) { - if ((node.transformFlags & 256 /* ContainsES2017 */) === 0) { - return lexicalArgumentsBinding ? argumentsVisitor(node) : node; - } - switch (node.kind) { - case 134 /* AsyncKeyword */: - return void 0; - case 223 /* AwaitExpression */: - return visitAwaitExpression(node); - case 174 /* MethodDeclaration */: - return doWithContext(1 /* NonTopLevel */ | 2 /* HasLexicalThis */, visitMethodDeclaration, node); - case 262 /* FunctionDeclaration */: - return doWithContext(1 /* NonTopLevel */ | 2 /* HasLexicalThis */, visitFunctionDeclaration, node); - case 218 /* FunctionExpression */: - return doWithContext(1 /* NonTopLevel */ | 2 /* HasLexicalThis */, visitFunctionExpression, node); - case 219 /* ArrowFunction */: - return doWithContext(1 /* NonTopLevel */, visitArrowFunction, node); - case 211 /* PropertyAccessExpression */: - if (capturedSuperProperties && isPropertyAccessExpression(node) && node.expression.kind === 108 /* SuperKeyword */) { - capturedSuperProperties.add(node.name.escapedText); - } - return visitEachChild(node, visitor, context); - case 212 /* ElementAccessExpression */: - if (capturedSuperProperties && node.expression.kind === 108 /* SuperKeyword */) { - hasSuperElementAccess = true; - } - return visitEachChild(node, visitor, context); - case 177 /* GetAccessor */: - return doWithContext(1 /* NonTopLevel */ | 2 /* HasLexicalThis */, visitGetAccessorDeclaration, node); - case 178 /* SetAccessor */: - return doWithContext(1 /* NonTopLevel */ | 2 /* HasLexicalThis */, visitSetAccessorDeclaration, node); - case 176 /* Constructor */: - return doWithContext(1 /* NonTopLevel */ | 2 /* HasLexicalThis */, visitConstructorDeclaration, node); - case 263 /* ClassDeclaration */: - case 231 /* ClassExpression */: - return doWithContext(1 /* NonTopLevel */ | 2 /* HasLexicalThis */, visitDefault, node); - default: - return visitEachChild(node, visitor, context); - } - } - function asyncBodyVisitor(node) { - if (isNodeWithPossibleHoistedDeclaration(node)) { - switch (node.kind) { - case 243 /* VariableStatement */: - return visitVariableStatementInAsyncBody(node); - case 248 /* ForStatement */: - return visitForStatementInAsyncBody(node); - case 249 /* ForInStatement */: - return visitForInStatementInAsyncBody(node); - case 250 /* ForOfStatement */: - return visitForOfStatementInAsyncBody(node); - case 299 /* CatchClause */: - return visitCatchClauseInAsyncBody(node); - case 241 /* Block */: - case 255 /* SwitchStatement */: - case 269 /* CaseBlock */: - case 296 /* CaseClause */: - case 297 /* DefaultClause */: - case 258 /* TryStatement */: - case 246 /* DoStatement */: - case 247 /* WhileStatement */: - case 245 /* IfStatement */: - case 254 /* WithStatement */: - case 256 /* LabeledStatement */: - return visitEachChild(node, asyncBodyVisitor, context); - default: - return Debug.assertNever(node, "Unhandled node."); - } - } - return visitor(node); - } - function visitCatchClauseInAsyncBody(node) { - const catchClauseNames = /* @__PURE__ */ new Set(); - recordDeclarationName(node.variableDeclaration, catchClauseNames); - let catchClauseUnshadowedNames; - catchClauseNames.forEach((_, escapedName) => { - if (enclosingFunctionParameterNames.has(escapedName)) { - if (!catchClauseUnshadowedNames) { - catchClauseUnshadowedNames = new Set(enclosingFunctionParameterNames); - } - catchClauseUnshadowedNames.delete(escapedName); - } - }); - if (catchClauseUnshadowedNames) { - const savedEnclosingFunctionParameterNames = enclosingFunctionParameterNames; - enclosingFunctionParameterNames = catchClauseUnshadowedNames; - const result = visitEachChild(node, asyncBodyVisitor, context); - enclosingFunctionParameterNames = savedEnclosingFunctionParameterNames; - return result; - } else { - return visitEachChild(node, asyncBodyVisitor, context); - } - } - function visitVariableStatementInAsyncBody(node) { - if (isVariableDeclarationListWithCollidingName(node.declarationList)) { - const expression = visitVariableDeclarationListWithCollidingNames( - node.declarationList, - /*hasReceiver*/ - false - ); - return expression ? factory2.createExpressionStatement(expression) : void 0; - } - return visitEachChild(node, visitor, context); - } - function visitForInStatementInAsyncBody(node) { - return factory2.updateForInStatement( - node, - isVariableDeclarationListWithCollidingName(node.initializer) ? visitVariableDeclarationListWithCollidingNames( - node.initializer, - /*hasReceiver*/ - true - ) : Debug.checkDefined(visitNode(node.initializer, visitor, isForInitializer)), - Debug.checkDefined(visitNode(node.expression, visitor, isExpression)), - visitIterationBody(node.statement, asyncBodyVisitor, context) - ); - } - function visitForOfStatementInAsyncBody(node) { - return factory2.updateForOfStatement( - node, - visitNode(node.awaitModifier, visitor, isAwaitKeyword), - isVariableDeclarationListWithCollidingName(node.initializer) ? visitVariableDeclarationListWithCollidingNames( - node.initializer, - /*hasReceiver*/ - true - ) : Debug.checkDefined(visitNode(node.initializer, visitor, isForInitializer)), - Debug.checkDefined(visitNode(node.expression, visitor, isExpression)), - visitIterationBody(node.statement, asyncBodyVisitor, context) - ); - } - function visitForStatementInAsyncBody(node) { - const initializer = node.initializer; - return factory2.updateForStatement( - node, - isVariableDeclarationListWithCollidingName(initializer) ? visitVariableDeclarationListWithCollidingNames( - initializer, - /*hasReceiver*/ - false - ) : visitNode(node.initializer, visitor, isForInitializer), - visitNode(node.condition, visitor, isExpression), - visitNode(node.incrementor, visitor, isExpression), - visitIterationBody(node.statement, asyncBodyVisitor, context) - ); - } - function visitAwaitExpression(node) { - if (inTopLevelContext()) { - return visitEachChild(node, visitor, context); - } - return setOriginalNode( - setTextRange( - factory2.createYieldExpression( - /*asteriskToken*/ - void 0, - visitNode(node.expression, visitor, isExpression) - ), - node - ), - node - ); - } - function visitConstructorDeclaration(node) { - const savedLexicalArgumentsBinding = lexicalArgumentsBinding; - lexicalArgumentsBinding = void 0; - const updated = factory2.updateConstructorDeclaration( - node, - visitNodes2(node.modifiers, visitor, isModifier), - visitParameterList(node.parameters, visitor, context), - transformMethodBody(node) - ); - lexicalArgumentsBinding = savedLexicalArgumentsBinding; - return updated; - } - function visitMethodDeclaration(node) { - let parameters; - const functionFlags = getFunctionFlags(node); - const savedLexicalArgumentsBinding = lexicalArgumentsBinding; - lexicalArgumentsBinding = void 0; - const updated = factory2.updateMethodDeclaration( - node, - visitNodes2(node.modifiers, visitor, isModifierLike), - node.asteriskToken, - node.name, - /*questionToken*/ - void 0, - /*typeParameters*/ - void 0, - parameters = functionFlags & 2 /* Async */ ? transformAsyncFunctionParameterList(node) : visitParameterList(node.parameters, visitor, context), - /*type*/ - void 0, - functionFlags & 2 /* Async */ ? transformAsyncFunctionBody(node, parameters) : transformMethodBody(node) - ); - lexicalArgumentsBinding = savedLexicalArgumentsBinding; - return updated; - } - function visitGetAccessorDeclaration(node) { - const savedLexicalArgumentsBinding = lexicalArgumentsBinding; - lexicalArgumentsBinding = void 0; - const updated = factory2.updateGetAccessorDeclaration( - node, - visitNodes2(node.modifiers, visitor, isModifierLike), - node.name, - visitParameterList(node.parameters, visitor, context), - /*type*/ - void 0, - transformMethodBody(node) - ); - lexicalArgumentsBinding = savedLexicalArgumentsBinding; - return updated; - } - function visitSetAccessorDeclaration(node) { - const savedLexicalArgumentsBinding = lexicalArgumentsBinding; - lexicalArgumentsBinding = void 0; - const updated = factory2.updateSetAccessorDeclaration( - node, - visitNodes2(node.modifiers, visitor, isModifierLike), - node.name, - visitParameterList(node.parameters, visitor, context), - transformMethodBody(node) - ); - lexicalArgumentsBinding = savedLexicalArgumentsBinding; - return updated; - } - function visitFunctionDeclaration(node) { - let parameters; - const savedLexicalArgumentsBinding = lexicalArgumentsBinding; - lexicalArgumentsBinding = void 0; - const functionFlags = getFunctionFlags(node); - const updated = factory2.updateFunctionDeclaration( - node, - visitNodes2(node.modifiers, visitor, isModifierLike), - node.asteriskToken, - node.name, - /*typeParameters*/ - void 0, - parameters = functionFlags & 2 /* Async */ ? transformAsyncFunctionParameterList(node) : visitParameterList(node.parameters, visitor, context), - /*type*/ - void 0, - functionFlags & 2 /* Async */ ? transformAsyncFunctionBody(node, parameters) : visitFunctionBody(node.body, visitor, context) - ); - lexicalArgumentsBinding = savedLexicalArgumentsBinding; - return updated; - } - function visitFunctionExpression(node) { - let parameters; - const savedLexicalArgumentsBinding = lexicalArgumentsBinding; - lexicalArgumentsBinding = void 0; - const functionFlags = getFunctionFlags(node); - const updated = factory2.updateFunctionExpression( - node, - visitNodes2(node.modifiers, visitor, isModifier), - node.asteriskToken, - node.name, - /*typeParameters*/ - void 0, - parameters = functionFlags & 2 /* Async */ ? transformAsyncFunctionParameterList(node) : visitParameterList(node.parameters, visitor, context), - /*type*/ - void 0, - functionFlags & 2 /* Async */ ? transformAsyncFunctionBody(node, parameters) : visitFunctionBody(node.body, visitor, context) - ); - lexicalArgumentsBinding = savedLexicalArgumentsBinding; - return updated; - } - function visitArrowFunction(node) { - let parameters; - const functionFlags = getFunctionFlags(node); - return factory2.updateArrowFunction( - node, - visitNodes2(node.modifiers, visitor, isModifier), - /*typeParameters*/ - void 0, - parameters = functionFlags & 2 /* Async */ ? transformAsyncFunctionParameterList(node) : visitParameterList(node.parameters, visitor, context), - /*type*/ - void 0, - node.equalsGreaterThanToken, - functionFlags & 2 /* Async */ ? transformAsyncFunctionBody(node, parameters) : visitFunctionBody(node.body, visitor, context) - ); - } - function recordDeclarationName({ name }, names) { - if (isIdentifier(name)) { - names.add(name.escapedText); - } else { - for (const element of name.elements) { - if (!isOmittedExpression(element)) { - recordDeclarationName(element, names); - } - } - } - } - function isVariableDeclarationListWithCollidingName(node) { - return !!node && isVariableDeclarationList(node) && !(node.flags & 7 /* BlockScoped */) && node.declarations.some(collidesWithParameterName); - } - function visitVariableDeclarationListWithCollidingNames(node, hasReceiver) { - hoistVariableDeclarationList(node); - const variables = getInitializedVariables(node); - if (variables.length === 0) { - if (hasReceiver) { - return visitNode(factory2.converters.convertToAssignmentElementTarget(node.declarations[0].name), visitor, isExpression); - } - return void 0; - } - return factory2.inlineExpressions(map(variables, transformInitializedVariable)); - } - function hoistVariableDeclarationList(node) { - forEach(node.declarations, hoistVariable); - } - function hoistVariable({ name }) { - if (isIdentifier(name)) { - hoistVariableDeclaration(name); - } else { - for (const element of name.elements) { - if (!isOmittedExpression(element)) { - hoistVariable(element); - } - } - } - } - function transformInitializedVariable(node) { - const converted = setSourceMapRange( - factory2.createAssignment( - factory2.converters.convertToAssignmentElementTarget(node.name), - node.initializer - ), - node - ); - return Debug.checkDefined(visitNode(converted, visitor, isExpression)); - } - function collidesWithParameterName({ name }) { - if (isIdentifier(name)) { - return enclosingFunctionParameterNames.has(name.escapedText); - } else { - for (const element of name.elements) { - if (!isOmittedExpression(element) && collidesWithParameterName(element)) { - return true; - } - } - } - return false; - } - function transformMethodBody(node) { - Debug.assertIsDefined(node.body); - const savedCapturedSuperProperties = capturedSuperProperties; - const savedHasSuperElementAccess = hasSuperElementAccess; - capturedSuperProperties = /* @__PURE__ */ new Set(); - hasSuperElementAccess = false; - let updated = visitFunctionBody(node.body, visitor, context); - const originalMethod = getOriginalNode(node, isFunctionLikeDeclaration); - const emitSuperHelpers = languageVersion >= 2 /* ES2015 */ && (resolver.hasNodeCheckFlag(node, 256 /* MethodWithSuperPropertyAssignmentInAsync */) || resolver.hasNodeCheckFlag(node, 128 /* MethodWithSuperPropertyAccessInAsync */)) && (getFunctionFlags(originalMethod) & 3 /* AsyncGenerator */) !== 3 /* AsyncGenerator */; - if (emitSuperHelpers) { - enableSubstitutionForAsyncMethodsWithSuper(); - if (capturedSuperProperties.size) { - const variableStatement = createSuperAccessVariableStatement(factory2, resolver, node, capturedSuperProperties); - substitutedSuperAccessors[getNodeId(variableStatement)] = true; - const statements = updated.statements.slice(); - insertStatementsAfterStandardPrologue(statements, [variableStatement]); - updated = factory2.updateBlock(updated, statements); - } - if (hasSuperElementAccess) { - if (resolver.hasNodeCheckFlag(node, 256 /* MethodWithSuperPropertyAssignmentInAsync */)) { - addEmitHelper(updated, advancedAsyncSuperHelper); - } else if (resolver.hasNodeCheckFlag(node, 128 /* MethodWithSuperPropertyAccessInAsync */)) { - addEmitHelper(updated, asyncSuperHelper); - } - } - } - capturedSuperProperties = savedCapturedSuperProperties; - hasSuperElementAccess = savedHasSuperElementAccess; - return updated; - } - function createCaptureArgumentsStatement() { - Debug.assert(lexicalArgumentsBinding); - const variable = factory2.createVariableDeclaration( - lexicalArgumentsBinding, - /*exclamationToken*/ - void 0, - /*type*/ - void 0, - factory2.createIdentifier("arguments") - ); - const statement = factory2.createVariableStatement( - /*modifiers*/ - void 0, - [variable] - ); - startOnNewLine(statement); - addEmitFlags(statement, 2097152 /* CustomPrologue */); - return statement; - } - function transformAsyncFunctionParameterList(node) { - if (isSimpleParameterList(node.parameters)) { - return visitParameterList(node.parameters, visitor, context); - } - const newParameters = []; - for (const parameter of node.parameters) { - if (parameter.initializer || parameter.dotDotDotToken) { - if (node.kind === 219 /* ArrowFunction */) { - const restParameter = factory2.createParameterDeclaration( - /*modifiers*/ - void 0, - factory2.createToken(26 /* DotDotDotToken */), - factory2.createUniqueName("args", 8 /* ReservedInNestedScopes */) - ); - newParameters.push(restParameter); - } - break; - } - const newParameter = factory2.createParameterDeclaration( - /*modifiers*/ - void 0, - /*dotDotDotToken*/ - void 0, - factory2.getGeneratedNameForNode(parameter.name, 8 /* ReservedInNestedScopes */) - ); - newParameters.push(newParameter); - } - const newParametersArray = factory2.createNodeArray(newParameters); - setTextRange(newParametersArray, node.parameters); - return newParametersArray; - } - function transformAsyncFunctionBody(node, outerParameters) { - const innerParameters = !isSimpleParameterList(node.parameters) ? visitParameterList(node.parameters, visitor, context) : void 0; - resumeLexicalEnvironment(); - const original = getOriginalNode(node, isFunctionLike); - const nodeType = original.type; - const promiseConstructor = languageVersion < 2 /* ES2015 */ ? getPromiseConstructor(nodeType) : void 0; - const isArrowFunction2 = node.kind === 219 /* ArrowFunction */; - const savedLexicalArgumentsBinding = lexicalArgumentsBinding; - const hasLexicalArguments = resolver.hasNodeCheckFlag(node, 512 /* CaptureArguments */); - const captureLexicalArguments = hasLexicalArguments && !lexicalArgumentsBinding; - if (captureLexicalArguments) { - lexicalArgumentsBinding = factory2.createUniqueName("arguments"); - } - let argumentsExpression; - if (innerParameters) { - if (isArrowFunction2) { - const parameterBindings = []; - Debug.assert(outerParameters.length <= node.parameters.length); - for (let i = 0; i < node.parameters.length; i++) { - Debug.assert(i < outerParameters.length); - const originalParameter = node.parameters[i]; - const outerParameter = outerParameters[i]; - Debug.assertNode(outerParameter.name, isIdentifier); - if (originalParameter.initializer || originalParameter.dotDotDotToken) { - Debug.assert(i === outerParameters.length - 1); - parameterBindings.push(factory2.createSpreadElement(outerParameter.name)); - break; - } - parameterBindings.push(outerParameter.name); - } - argumentsExpression = factory2.createArrayLiteralExpression(parameterBindings); - } else { - argumentsExpression = factory2.createIdentifier("arguments"); - } - } - const savedEnclosingFunctionParameterNames = enclosingFunctionParameterNames; - enclosingFunctionParameterNames = /* @__PURE__ */ new Set(); - for (const parameter of node.parameters) { - recordDeclarationName(parameter, enclosingFunctionParameterNames); - } - const savedCapturedSuperProperties = capturedSuperProperties; - const savedHasSuperElementAccess = hasSuperElementAccess; - if (!isArrowFunction2) { - capturedSuperProperties = /* @__PURE__ */ new Set(); - hasSuperElementAccess = false; - } - const hasLexicalThis = inHasLexicalThisContext(); - let asyncBody = transformAsyncFunctionBodyWorker(node.body); - asyncBody = factory2.updateBlock(asyncBody, factory2.mergeLexicalEnvironment(asyncBody.statements, endLexicalEnvironment())); - let result; - if (!isArrowFunction2) { - const statements = []; - statements.push( - factory2.createReturnStatement( - emitHelpers().createAwaiterHelper( - hasLexicalThis, - argumentsExpression, - promiseConstructor, - innerParameters, - asyncBody - ) - ) - ); - const emitSuperHelpers = languageVersion >= 2 /* ES2015 */ && (resolver.hasNodeCheckFlag(node, 256 /* MethodWithSuperPropertyAssignmentInAsync */) || resolver.hasNodeCheckFlag(node, 128 /* MethodWithSuperPropertyAccessInAsync */)); - if (emitSuperHelpers) { - enableSubstitutionForAsyncMethodsWithSuper(); - if (capturedSuperProperties.size) { - const variableStatement = createSuperAccessVariableStatement(factory2, resolver, node, capturedSuperProperties); - substitutedSuperAccessors[getNodeId(variableStatement)] = true; - insertStatementsAfterStandardPrologue(statements, [variableStatement]); - } - } - if (captureLexicalArguments) { - insertStatementsAfterStandardPrologue(statements, [createCaptureArgumentsStatement()]); - } - const block = factory2.createBlock( - statements, - /*multiLine*/ - true - ); - setTextRange(block, node.body); - if (emitSuperHelpers && hasSuperElementAccess) { - if (resolver.hasNodeCheckFlag(node, 256 /* MethodWithSuperPropertyAssignmentInAsync */)) { - addEmitHelper(block, advancedAsyncSuperHelper); - } else if (resolver.hasNodeCheckFlag(node, 128 /* MethodWithSuperPropertyAccessInAsync */)) { - addEmitHelper(block, asyncSuperHelper); - } - } - result = block; - } else { - result = emitHelpers().createAwaiterHelper( - hasLexicalThis, - argumentsExpression, - promiseConstructor, - innerParameters, - asyncBody - ); - if (captureLexicalArguments) { - const block = factory2.converters.convertToFunctionBlock(result); - result = factory2.updateBlock(block, factory2.mergeLexicalEnvironment(block.statements, [createCaptureArgumentsStatement()])); - } - } - enclosingFunctionParameterNames = savedEnclosingFunctionParameterNames; - if (!isArrowFunction2) { - capturedSuperProperties = savedCapturedSuperProperties; - hasSuperElementAccess = savedHasSuperElementAccess; - lexicalArgumentsBinding = savedLexicalArgumentsBinding; - } - return result; - } - function transformAsyncFunctionBodyWorker(body, start) { - if (isBlock(body)) { - return factory2.updateBlock(body, visitNodes2(body.statements, asyncBodyVisitor, isStatement, start)); - } else { - return factory2.converters.convertToFunctionBlock(Debug.checkDefined(visitNode(body, asyncBodyVisitor, isConciseBody))); - } - } - function getPromiseConstructor(type) { - const typeName = type && getEntityNameFromTypeNode(type); - if (typeName && isEntityName(typeName)) { - const serializationKind = resolver.getTypeReferenceSerializationKind(typeName); - if (serializationKind === 1 /* TypeWithConstructSignatureAndValue */ || serializationKind === 0 /* Unknown */) { - return typeName; - } - } - return void 0; - } - function enableSubstitutionForAsyncMethodsWithSuper() { - if ((enabledSubstitutions & 1 /* AsyncMethodsWithSuper */) === 0) { - enabledSubstitutions |= 1 /* AsyncMethodsWithSuper */; - context.enableSubstitution(213 /* CallExpression */); - context.enableSubstitution(211 /* PropertyAccessExpression */); - context.enableSubstitution(212 /* ElementAccessExpression */); - context.enableEmitNotification(263 /* ClassDeclaration */); - context.enableEmitNotification(174 /* MethodDeclaration */); - context.enableEmitNotification(177 /* GetAccessor */); - context.enableEmitNotification(178 /* SetAccessor */); - context.enableEmitNotification(176 /* Constructor */); - context.enableEmitNotification(243 /* VariableStatement */); - } - } - function onEmitNode(hint, node, emitCallback) { - if (enabledSubstitutions & 1 /* AsyncMethodsWithSuper */ && isSuperContainer(node)) { - const superContainerFlags = (resolver.hasNodeCheckFlag(node, 128 /* MethodWithSuperPropertyAccessInAsync */) ? 128 /* MethodWithSuperPropertyAccessInAsync */ : 0) | (resolver.hasNodeCheckFlag(node, 256 /* MethodWithSuperPropertyAssignmentInAsync */) ? 256 /* MethodWithSuperPropertyAssignmentInAsync */ : 0); - if (superContainerFlags !== enclosingSuperContainerFlags) { - const savedEnclosingSuperContainerFlags = enclosingSuperContainerFlags; - enclosingSuperContainerFlags = superContainerFlags; - previousOnEmitNode(hint, node, emitCallback); - enclosingSuperContainerFlags = savedEnclosingSuperContainerFlags; - return; - } - } else if (enabledSubstitutions && substitutedSuperAccessors[getNodeId(node)]) { - const savedEnclosingSuperContainerFlags = enclosingSuperContainerFlags; - enclosingSuperContainerFlags = 0; - previousOnEmitNode(hint, node, emitCallback); - enclosingSuperContainerFlags = savedEnclosingSuperContainerFlags; - return; - } - previousOnEmitNode(hint, node, emitCallback); - } - function onSubstituteNode(hint, node) { - node = previousOnSubstituteNode(hint, node); - if (hint === 1 /* Expression */ && enclosingSuperContainerFlags) { - return substituteExpression(node); - } - return node; - } - function substituteExpression(node) { - switch (node.kind) { - case 211 /* PropertyAccessExpression */: - return substitutePropertyAccessExpression(node); - case 212 /* ElementAccessExpression */: - return substituteElementAccessExpression(node); - case 213 /* CallExpression */: - return substituteCallExpression(node); - } - return node; - } - function substitutePropertyAccessExpression(node) { - if (node.expression.kind === 108 /* SuperKeyword */) { - return setTextRange( - factory2.createPropertyAccessExpression( - factory2.createUniqueName("_super", 16 /* Optimistic */ | 32 /* FileLevel */), - node.name - ), - node - ); - } - return node; - } - function substituteElementAccessExpression(node) { - if (node.expression.kind === 108 /* SuperKeyword */) { - return createSuperElementAccessInAsyncMethod( - node.argumentExpression, - node - ); - } - return node; - } - function substituteCallExpression(node) { - const expression = node.expression; - if (isSuperProperty(expression)) { - const argumentExpression = isPropertyAccessExpression(expression) ? substitutePropertyAccessExpression(expression) : substituteElementAccessExpression(expression); - return factory2.createCallExpression( - factory2.createPropertyAccessExpression(argumentExpression, "call"), - /*typeArguments*/ - void 0, - [ - factory2.createThis(), - ...node.arguments - ] - ); - } - return node; - } - function isSuperContainer(node) { - const kind = node.kind; - return kind === 263 /* ClassDeclaration */ || kind === 176 /* Constructor */ || kind === 174 /* MethodDeclaration */ || kind === 177 /* GetAccessor */ || kind === 178 /* SetAccessor */; - } - function createSuperElementAccessInAsyncMethod(argumentExpression, location) { - if (enclosingSuperContainerFlags & 256 /* MethodWithSuperPropertyAssignmentInAsync */) { - return setTextRange( - factory2.createPropertyAccessExpression( - factory2.createCallExpression( - factory2.createUniqueName("_superIndex", 16 /* Optimistic */ | 32 /* FileLevel */), - /*typeArguments*/ - void 0, - [argumentExpression] - ), - "value" - ), - location - ); - } else { - return setTextRange( - factory2.createCallExpression( - factory2.createUniqueName("_superIndex", 16 /* Optimistic */ | 32 /* FileLevel */), - /*typeArguments*/ - void 0, - [argumentExpression] - ), - location - ); - } - } -} -function createSuperAccessVariableStatement(factory2, resolver, node, names) { - const hasBinding = resolver.hasNodeCheckFlag(node, 256 /* MethodWithSuperPropertyAssignmentInAsync */); - const accessors = []; - names.forEach((_, key) => { - const name = unescapeLeadingUnderscores(key); - const getterAndSetter = []; - getterAndSetter.push(factory2.createPropertyAssignment( - "get", - factory2.createArrowFunction( - /*modifiers*/ - void 0, - /*typeParameters*/ - void 0, - /* parameters */ - [], - /*type*/ - void 0, - /*equalsGreaterThanToken*/ - void 0, - setEmitFlags( - factory2.createPropertyAccessExpression( - setEmitFlags( - factory2.createSuper(), - 8 /* NoSubstitution */ - ), - name - ), - 8 /* NoSubstitution */ - ) - ) - )); - if (hasBinding) { - getterAndSetter.push( - factory2.createPropertyAssignment( - "set", - factory2.createArrowFunction( - /*modifiers*/ - void 0, - /*typeParameters*/ - void 0, - /* parameters */ - [ - factory2.createParameterDeclaration( - /*modifiers*/ - void 0, - /*dotDotDotToken*/ - void 0, - "v", - /*questionToken*/ - void 0, - /*type*/ - void 0, - /*initializer*/ - void 0 - ) - ], - /*type*/ - void 0, - /*equalsGreaterThanToken*/ - void 0, - factory2.createAssignment( - setEmitFlags( - factory2.createPropertyAccessExpression( - setEmitFlags( - factory2.createSuper(), - 8 /* NoSubstitution */ - ), - name - ), - 8 /* NoSubstitution */ - ), - factory2.createIdentifier("v") - ) - ) - ) - ); - } - accessors.push( - factory2.createPropertyAssignment( - name, - factory2.createObjectLiteralExpression(getterAndSetter) - ) - ); - }); - return factory2.createVariableStatement( - /*modifiers*/ - void 0, - factory2.createVariableDeclarationList( - [ - factory2.createVariableDeclaration( - factory2.createUniqueName("_super", 16 /* Optimistic */ | 32 /* FileLevel */), - /*exclamationToken*/ - void 0, - /*type*/ - void 0, - factory2.createCallExpression( - factory2.createPropertyAccessExpression( - factory2.createIdentifier("Object"), - "create" - ), - /*typeArguments*/ - void 0, - [ - factory2.createNull(), - factory2.createObjectLiteralExpression( - accessors, - /*multiLine*/ - true - ) - ] - ) - ) - ], - 2 /* Const */ - ) - ); -} - -// src/compiler/transformers/es2018.ts -function transformES2018(context) { - const { - factory: factory2, - getEmitHelperFactory: emitHelpers, - resumeLexicalEnvironment, - endLexicalEnvironment, - hoistVariableDeclaration - } = context; - const resolver = context.getEmitResolver(); - const compilerOptions = context.getCompilerOptions(); - const languageVersion = getEmitScriptTarget(compilerOptions); - const previousOnEmitNode = context.onEmitNode; - context.onEmitNode = onEmitNode; - const previousOnSubstituteNode = context.onSubstituteNode; - context.onSubstituteNode = onSubstituteNode; - let exportedVariableStatement = false; - let enabledSubstitutions; - let enclosingFunctionFlags; - let parametersWithPrecedingObjectRestOrSpread; - let enclosingSuperContainerFlags = 0; - let hierarchyFacts = 0; - let currentSourceFile; - let taggedTemplateStringDeclarations; - let capturedSuperProperties; - let hasSuperElementAccess; - const substitutedSuperAccessors = []; - return chainBundle(context, transformSourceFile); - function affectsSubtree(excludeFacts, includeFacts) { - return hierarchyFacts !== (hierarchyFacts & ~excludeFacts | includeFacts); - } - function enterSubtree(excludeFacts, includeFacts) { - const ancestorFacts = hierarchyFacts; - hierarchyFacts = (hierarchyFacts & ~excludeFacts | includeFacts) & 3 /* AncestorFactsMask */; - return ancestorFacts; - } - function exitSubtree(ancestorFacts) { - hierarchyFacts = ancestorFacts; - } - function recordTaggedTemplateString(temp) { - taggedTemplateStringDeclarations = append( - taggedTemplateStringDeclarations, - factory2.createVariableDeclaration(temp) - ); - } - function transformSourceFile(node) { - if (node.isDeclarationFile) { - return node; - } - currentSourceFile = node; - const visited = visitSourceFile(node); - addEmitHelpers(visited, context.readEmitHelpers()); - currentSourceFile = void 0; - taggedTemplateStringDeclarations = void 0; - return visited; - } - function visitor(node) { - return visitorWorker( - node, - /*expressionResultIsUnused*/ - false - ); - } - function visitorWithUnusedExpressionResult(node) { - return visitorWorker( - node, - /*expressionResultIsUnused*/ - true - ); - } - function visitorNoAsyncModifier(node) { - if (node.kind === 134 /* AsyncKeyword */) { - return void 0; - } - return node; - } - function doWithHierarchyFacts(cb, value, excludeFacts, includeFacts) { - if (affectsSubtree(excludeFacts, includeFacts)) { - const ancestorFacts = enterSubtree(excludeFacts, includeFacts); - const result = cb(value); - exitSubtree(ancestorFacts); - return result; - } - return cb(value); - } - function visitDefault(node) { - return visitEachChild(node, visitor, context); - } - function visitorWorker(node, expressionResultIsUnused2) { - if ((node.transformFlags & 128 /* ContainsES2018 */) === 0) { - return node; - } - switch (node.kind) { - case 223 /* AwaitExpression */: - return visitAwaitExpression(node); - case 229 /* YieldExpression */: - return visitYieldExpression(node); - case 253 /* ReturnStatement */: - return visitReturnStatement(node); - case 256 /* LabeledStatement */: - return visitLabeledStatement(node); - case 210 /* ObjectLiteralExpression */: - return visitObjectLiteralExpression(node); - case 226 /* BinaryExpression */: - return visitBinaryExpression(node, expressionResultIsUnused2); - case 355 /* CommaListExpression */: - return visitCommaListExpression(node, expressionResultIsUnused2); - case 299 /* CatchClause */: - return visitCatchClause(node); - case 243 /* VariableStatement */: - return visitVariableStatement(node); - case 260 /* VariableDeclaration */: - return visitVariableDeclaration(node); - case 246 /* DoStatement */: - case 247 /* WhileStatement */: - case 249 /* ForInStatement */: - return doWithHierarchyFacts( - visitDefault, - node, - 0 /* IterationStatementExcludes */, - 2 /* IterationStatementIncludes */ - ); - case 250 /* ForOfStatement */: - return visitForOfStatement( - node, - /*outermostLabeledStatement*/ - void 0 - ); - case 248 /* ForStatement */: - return doWithHierarchyFacts( - visitForStatement, - node, - 0 /* IterationStatementExcludes */, - 2 /* IterationStatementIncludes */ - ); - case 222 /* VoidExpression */: - return visitVoidExpression(node); - case 176 /* Constructor */: - return doWithHierarchyFacts( - visitConstructorDeclaration, - node, - 2 /* ClassOrFunctionExcludes */, - 1 /* ClassOrFunctionIncludes */ - ); - case 174 /* MethodDeclaration */: - return doWithHierarchyFacts( - visitMethodDeclaration, - node, - 2 /* ClassOrFunctionExcludes */, - 1 /* ClassOrFunctionIncludes */ - ); - case 177 /* GetAccessor */: - return doWithHierarchyFacts( - visitGetAccessorDeclaration, - node, - 2 /* ClassOrFunctionExcludes */, - 1 /* ClassOrFunctionIncludes */ - ); - case 178 /* SetAccessor */: - return doWithHierarchyFacts( - visitSetAccessorDeclaration, - node, - 2 /* ClassOrFunctionExcludes */, - 1 /* ClassOrFunctionIncludes */ - ); - case 262 /* FunctionDeclaration */: - return doWithHierarchyFacts( - visitFunctionDeclaration, - node, - 2 /* ClassOrFunctionExcludes */, - 1 /* ClassOrFunctionIncludes */ - ); - case 218 /* FunctionExpression */: - return doWithHierarchyFacts( - visitFunctionExpression, - node, - 2 /* ClassOrFunctionExcludes */, - 1 /* ClassOrFunctionIncludes */ - ); - case 219 /* ArrowFunction */: - return doWithHierarchyFacts( - visitArrowFunction, - node, - 2 /* ArrowFunctionExcludes */, - 0 /* ArrowFunctionIncludes */ - ); - case 169 /* Parameter */: - return visitParameter(node); - case 244 /* ExpressionStatement */: - return visitExpressionStatement(node); - case 217 /* ParenthesizedExpression */: - return visitParenthesizedExpression(node, expressionResultIsUnused2); - case 215 /* TaggedTemplateExpression */: - return visitTaggedTemplateExpression(node); - case 211 /* PropertyAccessExpression */: - if (capturedSuperProperties && isPropertyAccessExpression(node) && node.expression.kind === 108 /* SuperKeyword */) { - capturedSuperProperties.add(node.name.escapedText); - } - return visitEachChild(node, visitor, context); - case 212 /* ElementAccessExpression */: - if (capturedSuperProperties && node.expression.kind === 108 /* SuperKeyword */) { - hasSuperElementAccess = true; - } - return visitEachChild(node, visitor, context); - case 263 /* ClassDeclaration */: - case 231 /* ClassExpression */: - return doWithHierarchyFacts( - visitDefault, - node, - 2 /* ClassOrFunctionExcludes */, - 1 /* ClassOrFunctionIncludes */ - ); - default: - return visitEachChild(node, visitor, context); - } - } - function visitAwaitExpression(node) { - if (enclosingFunctionFlags & 2 /* Async */ && enclosingFunctionFlags & 1 /* Generator */) { - return setOriginalNode( - setTextRange( - factory2.createYieldExpression( - /*asteriskToken*/ - void 0, - emitHelpers().createAwaitHelper(visitNode(node.expression, visitor, isExpression)) - ), - /*location*/ - node - ), - node - ); - } - return visitEachChild(node, visitor, context); - } - function visitYieldExpression(node) { - if (enclosingFunctionFlags & 2 /* Async */ && enclosingFunctionFlags & 1 /* Generator */) { - if (node.asteriskToken) { - const expression = visitNode(Debug.checkDefined(node.expression), visitor, isExpression); - return setOriginalNode( - setTextRange( - factory2.createYieldExpression( - /*asteriskToken*/ - void 0, - emitHelpers().createAwaitHelper( - factory2.updateYieldExpression( - node, - node.asteriskToken, - setTextRange( - emitHelpers().createAsyncDelegatorHelper( - setTextRange( - emitHelpers().createAsyncValuesHelper(expression), - expression - ) - ), - expression - ) - ) - ) - ), - node - ), - node - ); - } - return setOriginalNode( - setTextRange( - factory2.createYieldExpression( - /*asteriskToken*/ - void 0, - createDownlevelAwait( - node.expression ? visitNode(node.expression, visitor, isExpression) : factory2.createVoidZero() - ) - ), - node - ), - node - ); - } - return visitEachChild(node, visitor, context); - } - function visitReturnStatement(node) { - if (enclosingFunctionFlags & 2 /* Async */ && enclosingFunctionFlags & 1 /* Generator */) { - return factory2.updateReturnStatement( - node, - createDownlevelAwait( - node.expression ? visitNode(node.expression, visitor, isExpression) : factory2.createVoidZero() - ) - ); - } - return visitEachChild(node, visitor, context); - } - function visitLabeledStatement(node) { - if (enclosingFunctionFlags & 2 /* Async */) { - const statement = unwrapInnermostStatementOfLabel(node); - if (statement.kind === 250 /* ForOfStatement */ && statement.awaitModifier) { - return visitForOfStatement(statement, node); - } - return factory2.restoreEnclosingLabel(visitNode(statement, visitor, isStatement, factory2.liftToBlock), node); - } - return visitEachChild(node, visitor, context); - } - function chunkObjectLiteralElements(elements) { - let chunkObject; - const objects = []; - for (const e of elements) { - if (e.kind === 305 /* SpreadAssignment */) { - if (chunkObject) { - objects.push(factory2.createObjectLiteralExpression(chunkObject)); - chunkObject = void 0; - } - const target = e.expression; - objects.push(visitNode(target, visitor, isExpression)); - } else { - chunkObject = append( - chunkObject, - e.kind === 303 /* PropertyAssignment */ ? factory2.createPropertyAssignment(e.name, visitNode(e.initializer, visitor, isExpression)) : visitNode(e, visitor, isObjectLiteralElementLike) - ); - } - } - if (chunkObject) { - objects.push(factory2.createObjectLiteralExpression(chunkObject)); - } - return objects; - } - function visitObjectLiteralExpression(node) { - if (node.transformFlags & 65536 /* ContainsObjectRestOrSpread */) { - const objects = chunkObjectLiteralElements(node.properties); - if (objects.length && objects[0].kind !== 210 /* ObjectLiteralExpression */) { - objects.unshift(factory2.createObjectLiteralExpression()); - } - let expression = objects[0]; - if (objects.length > 1) { - for (let i = 1; i < objects.length; i++) { - expression = emitHelpers().createAssignHelper([expression, objects[i]]); - } - return expression; - } else { - return emitHelpers().createAssignHelper(objects); - } - } - return visitEachChild(node, visitor, context); - } - function visitExpressionStatement(node) { - return visitEachChild(node, visitorWithUnusedExpressionResult, context); - } - function visitParenthesizedExpression(node, expressionResultIsUnused2) { - return visitEachChild(node, expressionResultIsUnused2 ? visitorWithUnusedExpressionResult : visitor, context); - } - function visitSourceFile(node) { - const ancestorFacts = enterSubtree( - 2 /* SourceFileExcludes */, - isEffectiveStrictModeSourceFile(node, compilerOptions) ? 0 /* StrictModeSourceFileIncludes */ : 1 /* SourceFileIncludes */ - ); - exportedVariableStatement = false; - const visited = visitEachChild(node, visitor, context); - const statement = concatenate( - visited.statements, - taggedTemplateStringDeclarations && [ - factory2.createVariableStatement( - /*modifiers*/ - void 0, - factory2.createVariableDeclarationList(taggedTemplateStringDeclarations) - ) - ] - ); - const result = factory2.updateSourceFile(visited, setTextRange(factory2.createNodeArray(statement), node.statements)); - exitSubtree(ancestorFacts); - return result; - } - function visitTaggedTemplateExpression(node) { - return processTaggedTemplateExpression( - context, - node, - visitor, - currentSourceFile, - recordTaggedTemplateString, - 0 /* LiftRestriction */ - ); - } - function visitBinaryExpression(node, expressionResultIsUnused2) { - if (isDestructuringAssignment(node) && containsObjectRestOrSpread(node.left)) { - return flattenDestructuringAssignment( - node, - visitor, - context, - 1 /* ObjectRest */, - !expressionResultIsUnused2 - ); - } - if (node.operatorToken.kind === 28 /* CommaToken */) { - return factory2.updateBinaryExpression( - node, - visitNode(node.left, visitorWithUnusedExpressionResult, isExpression), - node.operatorToken, - visitNode(node.right, expressionResultIsUnused2 ? visitorWithUnusedExpressionResult : visitor, isExpression) - ); - } - return visitEachChild(node, visitor, context); - } - function visitCommaListExpression(node, expressionResultIsUnused2) { - if (expressionResultIsUnused2) { - return visitEachChild(node, visitorWithUnusedExpressionResult, context); - } - let result; - for (let i = 0; i < node.elements.length; i++) { - const element = node.elements[i]; - const visited = visitNode(element, i < node.elements.length - 1 ? visitorWithUnusedExpressionResult : visitor, isExpression); - if (result || visited !== element) { - result || (result = node.elements.slice(0, i)); - result.push(visited); - } - } - const elements = result ? setTextRange(factory2.createNodeArray(result), node.elements) : node.elements; - return factory2.updateCommaListExpression(node, elements); - } - function visitCatchClause(node) { - if (node.variableDeclaration && isBindingPattern(node.variableDeclaration.name) && node.variableDeclaration.name.transformFlags & 65536 /* ContainsObjectRestOrSpread */) { - const name = factory2.getGeneratedNameForNode(node.variableDeclaration.name); - const updatedDecl = factory2.updateVariableDeclaration( - node.variableDeclaration, - node.variableDeclaration.name, - /*exclamationToken*/ - void 0, - /*type*/ - void 0, - name - ); - const visitedBindings = flattenDestructuringBinding(updatedDecl, visitor, context, 1 /* ObjectRest */); - let block = visitNode(node.block, visitor, isBlock); - if (some(visitedBindings)) { - block = factory2.updateBlock(block, [ - factory2.createVariableStatement( - /*modifiers*/ - void 0, - visitedBindings - ), - ...block.statements - ]); - } - return factory2.updateCatchClause( - node, - factory2.updateVariableDeclaration( - node.variableDeclaration, - name, - /*exclamationToken*/ - void 0, - /*type*/ - void 0, - /*initializer*/ - void 0 - ), - block - ); - } - return visitEachChild(node, visitor, context); - } - function visitVariableStatement(node) { - if (hasSyntacticModifier(node, 32 /* Export */)) { - const savedExportedVariableStatement = exportedVariableStatement; - exportedVariableStatement = true; - const visited = visitEachChild(node, visitor, context); - exportedVariableStatement = savedExportedVariableStatement; - return visited; - } - return visitEachChild(node, visitor, context); - } - function visitVariableDeclaration(node) { - if (exportedVariableStatement) { - const savedExportedVariableStatement = exportedVariableStatement; - exportedVariableStatement = false; - const visited = visitVariableDeclarationWorker( - node, - /*exportedVariableStatement*/ - true - ); - exportedVariableStatement = savedExportedVariableStatement; - return visited; - } - return visitVariableDeclarationWorker( - node, - /*exportedVariableStatement*/ - false - ); - } - function visitVariableDeclarationWorker(node, exportedVariableStatement2) { - if (isBindingPattern(node.name) && node.name.transformFlags & 65536 /* ContainsObjectRestOrSpread */) { - return flattenDestructuringBinding( - node, - visitor, - context, - 1 /* ObjectRest */, - /*rval*/ - void 0, - exportedVariableStatement2 - ); - } - return visitEachChild(node, visitor, context); - } - function visitForStatement(node) { - return factory2.updateForStatement( - node, - visitNode(node.initializer, visitorWithUnusedExpressionResult, isForInitializer), - visitNode(node.condition, visitor, isExpression), - visitNode(node.incrementor, visitorWithUnusedExpressionResult, isExpression), - visitIterationBody(node.statement, visitor, context) - ); - } - function visitVoidExpression(node) { - return visitEachChild(node, visitorWithUnusedExpressionResult, context); - } - function visitForOfStatement(node, outermostLabeledStatement) { - const ancestorFacts = enterSubtree(0 /* IterationStatementExcludes */, 2 /* IterationStatementIncludes */); - if (node.initializer.transformFlags & 65536 /* ContainsObjectRestOrSpread */ || isAssignmentPattern(node.initializer) && containsObjectRestOrSpread(node.initializer)) { - node = transformForOfStatementWithObjectRest(node); - } - const result = node.awaitModifier ? transformForAwaitOfStatement(node, outermostLabeledStatement, ancestorFacts) : factory2.restoreEnclosingLabel(visitEachChild(node, visitor, context), outermostLabeledStatement); - exitSubtree(ancestorFacts); - return result; - } - function transformForOfStatementWithObjectRest(node) { - const initializerWithoutParens = skipParentheses(node.initializer); - if (isVariableDeclarationList(initializerWithoutParens) || isAssignmentPattern(initializerWithoutParens)) { - let bodyLocation; - let statementsLocation; - const temp = factory2.createTempVariable( - /*recordTempVariable*/ - void 0 - ); - const statements = [createForOfBindingStatement(factory2, initializerWithoutParens, temp)]; - if (isBlock(node.statement)) { - addRange(statements, node.statement.statements); - bodyLocation = node.statement; - statementsLocation = node.statement.statements; - } else if (node.statement) { - append(statements, node.statement); - bodyLocation = node.statement; - statementsLocation = node.statement; - } - return factory2.updateForOfStatement( - node, - node.awaitModifier, - setTextRange( - factory2.createVariableDeclarationList( - [ - setTextRange(factory2.createVariableDeclaration(temp), node.initializer) - ], - 1 /* Let */ - ), - node.initializer - ), - node.expression, - setTextRange( - factory2.createBlock( - setTextRange(factory2.createNodeArray(statements), statementsLocation), - /*multiLine*/ - true - ), - bodyLocation - ) - ); - } - return node; - } - function convertForOfStatementHead(node, boundValue, nonUserCode) { - const value = factory2.createTempVariable(hoistVariableDeclaration); - const iteratorValueExpression = factory2.createAssignment(value, boundValue); - const iteratorValueStatement = factory2.createExpressionStatement(iteratorValueExpression); - setSourceMapRange(iteratorValueStatement, node.expression); - const exitNonUserCodeExpression = factory2.createAssignment(nonUserCode, factory2.createFalse()); - const exitNonUserCodeStatement = factory2.createExpressionStatement(exitNonUserCodeExpression); - setSourceMapRange(exitNonUserCodeStatement, node.expression); - const statements = [iteratorValueStatement, exitNonUserCodeStatement]; - const binding = createForOfBindingStatement(factory2, node.initializer, value); - statements.push(visitNode(binding, visitor, isStatement)); - let bodyLocation; - let statementsLocation; - const statement = visitIterationBody(node.statement, visitor, context); - if (isBlock(statement)) { - addRange(statements, statement.statements); - bodyLocation = statement; - statementsLocation = statement.statements; - } else { - statements.push(statement); - } - return setTextRange( - factory2.createBlock( - setTextRange(factory2.createNodeArray(statements), statementsLocation), - /*multiLine*/ - true - ), - bodyLocation - ); - } - function createDownlevelAwait(expression) { - return enclosingFunctionFlags & 1 /* Generator */ ? factory2.createYieldExpression( - /*asteriskToken*/ - void 0, - emitHelpers().createAwaitHelper(expression) - ) : factory2.createAwaitExpression(expression); - } - function transformForAwaitOfStatement(node, outermostLabeledStatement, ancestorFacts) { - const expression = visitNode(node.expression, visitor, isExpression); - const iterator = isIdentifier(expression) ? factory2.getGeneratedNameForNode(expression) : factory2.createTempVariable( - /*recordTempVariable*/ - void 0 - ); - const result = isIdentifier(expression) ? factory2.getGeneratedNameForNode(iterator) : factory2.createTempVariable( - /*recordTempVariable*/ - void 0 - ); - const nonUserCode = factory2.createTempVariable( - /*recordTempVariable*/ - void 0 - ); - const done = factory2.createTempVariable(hoistVariableDeclaration); - const errorRecord = factory2.createUniqueName("e"); - const catchVariable = factory2.getGeneratedNameForNode(errorRecord); - const returnMethod = factory2.createTempVariable( - /*recordTempVariable*/ - void 0 - ); - const callValues = setTextRange(emitHelpers().createAsyncValuesHelper(expression), node.expression); - const callNext = factory2.createCallExpression( - factory2.createPropertyAccessExpression(iterator, "next"), - /*typeArguments*/ - void 0, - [] - ); - const getDone = factory2.createPropertyAccessExpression(result, "done"); - const getValue = factory2.createPropertyAccessExpression(result, "value"); - const callReturn = factory2.createFunctionCallCall(returnMethod, iterator, []); - hoistVariableDeclaration(errorRecord); - hoistVariableDeclaration(returnMethod); - const initializer = ancestorFacts & 2 /* IterationContainer */ ? factory2.inlineExpressions([factory2.createAssignment(errorRecord, factory2.createVoidZero()), callValues]) : callValues; - const forStatement = setEmitFlags( - setTextRange( - factory2.createForStatement( - /*initializer*/ - setEmitFlags( - setTextRange( - factory2.createVariableDeclarationList([ - factory2.createVariableDeclaration( - nonUserCode, - /*exclamationToken*/ - void 0, - /*type*/ - void 0, - factory2.createTrue() - ), - setTextRange(factory2.createVariableDeclaration( - iterator, - /*exclamationToken*/ - void 0, - /*type*/ - void 0, - initializer - ), node.expression), - factory2.createVariableDeclaration(result) - ]), - node.expression - ), - 4194304 /* NoHoisting */ - ), - /*condition*/ - factory2.inlineExpressions([ - factory2.createAssignment(result, createDownlevelAwait(callNext)), - factory2.createAssignment(done, getDone), - factory2.createLogicalNot(done) - ]), - /*incrementor*/ - factory2.createAssignment(nonUserCode, factory2.createTrue()), - /*statement*/ - convertForOfStatementHead(node, getValue, nonUserCode) - ), - /*location*/ - node - ), - 512 /* NoTokenTrailingSourceMaps */ - ); - setOriginalNode(forStatement, node); - return factory2.createTryStatement( - factory2.createBlock([ - factory2.restoreEnclosingLabel( - forStatement, - outermostLabeledStatement - ) - ]), - factory2.createCatchClause( - factory2.createVariableDeclaration(catchVariable), - setEmitFlags( - factory2.createBlock([ - factory2.createExpressionStatement( - factory2.createAssignment( - errorRecord, - factory2.createObjectLiteralExpression([ - factory2.createPropertyAssignment("error", catchVariable) - ]) - ) - ) - ]), - 1 /* SingleLine */ - ) - ), - factory2.createBlock([ - factory2.createTryStatement( - /*tryBlock*/ - factory2.createBlock([ - setEmitFlags( - factory2.createIfStatement( - factory2.createLogicalAnd( - factory2.createLogicalAnd( - factory2.createLogicalNot(nonUserCode), - factory2.createLogicalNot(done) - ), - factory2.createAssignment( - returnMethod, - factory2.createPropertyAccessExpression(iterator, "return") - ) - ), - factory2.createExpressionStatement(createDownlevelAwait(callReturn)) - ), - 1 /* SingleLine */ - ) - ]), - /*catchClause*/ - void 0, - /*finallyBlock*/ - setEmitFlags( - factory2.createBlock([ - setEmitFlags( - factory2.createIfStatement( - errorRecord, - factory2.createThrowStatement( - factory2.createPropertyAccessExpression(errorRecord, "error") - ) - ), - 1 /* SingleLine */ - ) - ]), - 1 /* SingleLine */ - ) - ) - ]) - ); - } - function parameterVisitor(node) { - Debug.assertNode(node, isParameter); - return visitParameter(node); - } - function visitParameter(node) { - if (parametersWithPrecedingObjectRestOrSpread == null ? void 0 : parametersWithPrecedingObjectRestOrSpread.has(node)) { - return factory2.updateParameterDeclaration( - node, - /*modifiers*/ - void 0, - node.dotDotDotToken, - isBindingPattern(node.name) ? factory2.getGeneratedNameForNode(node) : node.name, - /*questionToken*/ - void 0, - /*type*/ - void 0, - /*initializer*/ - void 0 - ); - } - if (node.transformFlags & 65536 /* ContainsObjectRestOrSpread */) { - return factory2.updateParameterDeclaration( - node, - /*modifiers*/ - void 0, - node.dotDotDotToken, - factory2.getGeneratedNameForNode(node), - /*questionToken*/ - void 0, - /*type*/ - void 0, - visitNode(node.initializer, visitor, isExpression) - ); - } - return visitEachChild(node, visitor, context); - } - function collectParametersWithPrecedingObjectRestOrSpread(node) { - let parameters; - for (const parameter of node.parameters) { - if (parameters) { - parameters.add(parameter); - } else if (parameter.transformFlags & 65536 /* ContainsObjectRestOrSpread */) { - parameters = /* @__PURE__ */ new Set(); - } - } - return parameters; - } - function visitConstructorDeclaration(node) { - const savedEnclosingFunctionFlags = enclosingFunctionFlags; - const savedParametersWithPrecedingObjectRestOrSpread = parametersWithPrecedingObjectRestOrSpread; - enclosingFunctionFlags = getFunctionFlags(node); - parametersWithPrecedingObjectRestOrSpread = collectParametersWithPrecedingObjectRestOrSpread(node); - const updated = factory2.updateConstructorDeclaration( - node, - node.modifiers, - visitParameterList(node.parameters, parameterVisitor, context), - transformFunctionBody(node) - ); - enclosingFunctionFlags = savedEnclosingFunctionFlags; - parametersWithPrecedingObjectRestOrSpread = savedParametersWithPrecedingObjectRestOrSpread; - return updated; - } - function visitGetAccessorDeclaration(node) { - const savedEnclosingFunctionFlags = enclosingFunctionFlags; - const savedParametersWithPrecedingObjectRestOrSpread = parametersWithPrecedingObjectRestOrSpread; - enclosingFunctionFlags = getFunctionFlags(node); - parametersWithPrecedingObjectRestOrSpread = collectParametersWithPrecedingObjectRestOrSpread(node); - const updated = factory2.updateGetAccessorDeclaration( - node, - node.modifiers, - visitNode(node.name, visitor, isPropertyName), - visitParameterList(node.parameters, parameterVisitor, context), - /*type*/ - void 0, - transformFunctionBody(node) - ); - enclosingFunctionFlags = savedEnclosingFunctionFlags; - parametersWithPrecedingObjectRestOrSpread = savedParametersWithPrecedingObjectRestOrSpread; - return updated; - } - function visitSetAccessorDeclaration(node) { - const savedEnclosingFunctionFlags = enclosingFunctionFlags; - const savedParametersWithPrecedingObjectRestOrSpread = parametersWithPrecedingObjectRestOrSpread; - enclosingFunctionFlags = getFunctionFlags(node); - parametersWithPrecedingObjectRestOrSpread = collectParametersWithPrecedingObjectRestOrSpread(node); - const updated = factory2.updateSetAccessorDeclaration( - node, - node.modifiers, - visitNode(node.name, visitor, isPropertyName), - visitParameterList(node.parameters, parameterVisitor, context), - transformFunctionBody(node) - ); - enclosingFunctionFlags = savedEnclosingFunctionFlags; - parametersWithPrecedingObjectRestOrSpread = savedParametersWithPrecedingObjectRestOrSpread; - return updated; - } - function visitMethodDeclaration(node) { - const savedEnclosingFunctionFlags = enclosingFunctionFlags; - const savedParametersWithPrecedingObjectRestOrSpread = parametersWithPrecedingObjectRestOrSpread; - enclosingFunctionFlags = getFunctionFlags(node); - parametersWithPrecedingObjectRestOrSpread = collectParametersWithPrecedingObjectRestOrSpread(node); - const updated = factory2.updateMethodDeclaration( - node, - enclosingFunctionFlags & 1 /* Generator */ ? visitNodes2(node.modifiers, visitorNoAsyncModifier, isModifierLike) : node.modifiers, - enclosingFunctionFlags & 2 /* Async */ ? void 0 : node.asteriskToken, - visitNode(node.name, visitor, isPropertyName), - visitNode( - /*node*/ - void 0, - visitor, - isQuestionToken - ), - /*typeParameters*/ - void 0, - enclosingFunctionFlags & 2 /* Async */ && enclosingFunctionFlags & 1 /* Generator */ ? transformAsyncGeneratorFunctionParameterList(node) : visitParameterList(node.parameters, parameterVisitor, context), - /*type*/ - void 0, - enclosingFunctionFlags & 2 /* Async */ && enclosingFunctionFlags & 1 /* Generator */ ? transformAsyncGeneratorFunctionBody(node) : transformFunctionBody(node) - ); - enclosingFunctionFlags = savedEnclosingFunctionFlags; - parametersWithPrecedingObjectRestOrSpread = savedParametersWithPrecedingObjectRestOrSpread; - return updated; - } - function visitFunctionDeclaration(node) { - const savedEnclosingFunctionFlags = enclosingFunctionFlags; - const savedParametersWithPrecedingObjectRestOrSpread = parametersWithPrecedingObjectRestOrSpread; - enclosingFunctionFlags = getFunctionFlags(node); - parametersWithPrecedingObjectRestOrSpread = collectParametersWithPrecedingObjectRestOrSpread(node); - const updated = factory2.updateFunctionDeclaration( - node, - enclosingFunctionFlags & 1 /* Generator */ ? visitNodes2(node.modifiers, visitorNoAsyncModifier, isModifier) : node.modifiers, - enclosingFunctionFlags & 2 /* Async */ ? void 0 : node.asteriskToken, - node.name, - /*typeParameters*/ - void 0, - enclosingFunctionFlags & 2 /* Async */ && enclosingFunctionFlags & 1 /* Generator */ ? transformAsyncGeneratorFunctionParameterList(node) : visitParameterList(node.parameters, parameterVisitor, context), - /*type*/ - void 0, - enclosingFunctionFlags & 2 /* Async */ && enclosingFunctionFlags & 1 /* Generator */ ? transformAsyncGeneratorFunctionBody(node) : transformFunctionBody(node) - ); - enclosingFunctionFlags = savedEnclosingFunctionFlags; - parametersWithPrecedingObjectRestOrSpread = savedParametersWithPrecedingObjectRestOrSpread; - return updated; - } - function visitArrowFunction(node) { - const savedEnclosingFunctionFlags = enclosingFunctionFlags; - const savedParametersWithPrecedingObjectRestOrSpread = parametersWithPrecedingObjectRestOrSpread; - enclosingFunctionFlags = getFunctionFlags(node); - parametersWithPrecedingObjectRestOrSpread = collectParametersWithPrecedingObjectRestOrSpread(node); - const updated = factory2.updateArrowFunction( - node, - node.modifiers, - /*typeParameters*/ - void 0, - visitParameterList(node.parameters, parameterVisitor, context), - /*type*/ - void 0, - node.equalsGreaterThanToken, - transformFunctionBody(node) - ); - enclosingFunctionFlags = savedEnclosingFunctionFlags; - parametersWithPrecedingObjectRestOrSpread = savedParametersWithPrecedingObjectRestOrSpread; - return updated; - } - function visitFunctionExpression(node) { - const savedEnclosingFunctionFlags = enclosingFunctionFlags; - const savedParametersWithPrecedingObjectRestOrSpread = parametersWithPrecedingObjectRestOrSpread; - enclosingFunctionFlags = getFunctionFlags(node); - parametersWithPrecedingObjectRestOrSpread = collectParametersWithPrecedingObjectRestOrSpread(node); - const updated = factory2.updateFunctionExpression( - node, - enclosingFunctionFlags & 1 /* Generator */ ? visitNodes2(node.modifiers, visitorNoAsyncModifier, isModifier) : node.modifiers, - enclosingFunctionFlags & 2 /* Async */ ? void 0 : node.asteriskToken, - node.name, - /*typeParameters*/ - void 0, - enclosingFunctionFlags & 2 /* Async */ && enclosingFunctionFlags & 1 /* Generator */ ? transformAsyncGeneratorFunctionParameterList(node) : visitParameterList(node.parameters, parameterVisitor, context), - /*type*/ - void 0, - enclosingFunctionFlags & 2 /* Async */ && enclosingFunctionFlags & 1 /* Generator */ ? transformAsyncGeneratorFunctionBody(node) : transformFunctionBody(node) - ); - enclosingFunctionFlags = savedEnclosingFunctionFlags; - parametersWithPrecedingObjectRestOrSpread = savedParametersWithPrecedingObjectRestOrSpread; - return updated; - } - function transformAsyncGeneratorFunctionParameterList(node) { - if (isSimpleParameterList(node.parameters)) { - return visitParameterList(node.parameters, visitor, context); - } - const newParameters = []; - for (const parameter of node.parameters) { - if (parameter.initializer || parameter.dotDotDotToken) { - break; - } - const newParameter = factory2.createParameterDeclaration( - /*modifiers*/ - void 0, - /*dotDotDotToken*/ - void 0, - factory2.getGeneratedNameForNode(parameter.name, 8 /* ReservedInNestedScopes */) - ); - newParameters.push(newParameter); - } - const newParametersArray = factory2.createNodeArray(newParameters); - setTextRange(newParametersArray, node.parameters); - return newParametersArray; - } - function transformAsyncGeneratorFunctionBody(node) { - const innerParameters = !isSimpleParameterList(node.parameters) ? visitParameterList(node.parameters, visitor, context) : void 0; - resumeLexicalEnvironment(); - const savedCapturedSuperProperties = capturedSuperProperties; - const savedHasSuperElementAccess = hasSuperElementAccess; - capturedSuperProperties = /* @__PURE__ */ new Set(); - hasSuperElementAccess = false; - const outerStatements = []; - let asyncBody = factory2.updateBlock(node.body, visitNodes2(node.body.statements, visitor, isStatement)); - asyncBody = factory2.updateBlock(asyncBody, factory2.mergeLexicalEnvironment(asyncBody.statements, appendObjectRestAssignmentsIfNeeded(endLexicalEnvironment(), node))); - const returnStatement = factory2.createReturnStatement( - emitHelpers().createAsyncGeneratorHelper( - factory2.createFunctionExpression( - /*modifiers*/ - void 0, - factory2.createToken(42 /* AsteriskToken */), - node.name && factory2.getGeneratedNameForNode(node.name), - /*typeParameters*/ - void 0, - innerParameters ?? [], - /*type*/ - void 0, - asyncBody - ), - !!(hierarchyFacts & 1 /* HasLexicalThis */) - ) - ); - const emitSuperHelpers = languageVersion >= 2 /* ES2015 */ && (resolver.hasNodeCheckFlag(node, 256 /* MethodWithSuperPropertyAssignmentInAsync */) || resolver.hasNodeCheckFlag(node, 128 /* MethodWithSuperPropertyAccessInAsync */)); - if (emitSuperHelpers) { - enableSubstitutionForAsyncMethodsWithSuper(); - const variableStatement = createSuperAccessVariableStatement(factory2, resolver, node, capturedSuperProperties); - substitutedSuperAccessors[getNodeId(variableStatement)] = true; - insertStatementsAfterStandardPrologue(outerStatements, [variableStatement]); - } - outerStatements.push(returnStatement); - const block = factory2.updateBlock(node.body, outerStatements); - if (emitSuperHelpers && hasSuperElementAccess) { - if (resolver.hasNodeCheckFlag(node, 256 /* MethodWithSuperPropertyAssignmentInAsync */)) { - addEmitHelper(block, advancedAsyncSuperHelper); - } else if (resolver.hasNodeCheckFlag(node, 128 /* MethodWithSuperPropertyAccessInAsync */)) { - addEmitHelper(block, asyncSuperHelper); - } - } - capturedSuperProperties = savedCapturedSuperProperties; - hasSuperElementAccess = savedHasSuperElementAccess; - return block; - } - function transformFunctionBody(node) { - resumeLexicalEnvironment(); - let statementOffset = 0; - const statements = []; - const body = visitNode(node.body, visitor, isConciseBody) ?? factory2.createBlock([]); - if (isBlock(body)) { - statementOffset = factory2.copyPrologue( - body.statements, - statements, - /*ensureUseStrict*/ - false, - visitor - ); - } - addRange(statements, appendObjectRestAssignmentsIfNeeded( - /*statements*/ - void 0, - node - )); - const leadingStatements = endLexicalEnvironment(); - if (statementOffset > 0 || some(statements) || some(leadingStatements)) { - const block = factory2.converters.convertToFunctionBlock( - body, - /*multiLine*/ - true - ); - insertStatementsAfterStandardPrologue(statements, leadingStatements); - addRange(statements, block.statements.slice(statementOffset)); - return factory2.updateBlock(block, setTextRange(factory2.createNodeArray(statements), block.statements)); - } - return body; - } - function appendObjectRestAssignmentsIfNeeded(statements, node) { - let containsPrecedingObjectRestOrSpread = false; - for (const parameter of node.parameters) { - if (containsPrecedingObjectRestOrSpread) { - if (isBindingPattern(parameter.name)) { - if (parameter.name.elements.length > 0) { - const declarations = flattenDestructuringBinding( - parameter, - visitor, - context, - 0 /* All */, - factory2.getGeneratedNameForNode(parameter) - ); - if (some(declarations)) { - const declarationList = factory2.createVariableDeclarationList(declarations); - const statement = factory2.createVariableStatement( - /*modifiers*/ - void 0, - declarationList - ); - setEmitFlags(statement, 2097152 /* CustomPrologue */); - statements = append(statements, statement); - } - } else if (parameter.initializer) { - const name = factory2.getGeneratedNameForNode(parameter); - const initializer = visitNode(parameter.initializer, visitor, isExpression); - const assignment = factory2.createAssignment(name, initializer); - const statement = factory2.createExpressionStatement(assignment); - setEmitFlags(statement, 2097152 /* CustomPrologue */); - statements = append(statements, statement); - } - } else if (parameter.initializer) { - const name = factory2.cloneNode(parameter.name); - setTextRange(name, parameter.name); - setEmitFlags(name, 96 /* NoSourceMap */); - const initializer = visitNode(parameter.initializer, visitor, isExpression); - addEmitFlags(initializer, 96 /* NoSourceMap */ | 3072 /* NoComments */); - const assignment = factory2.createAssignment(name, initializer); - setTextRange(assignment, parameter); - setEmitFlags(assignment, 3072 /* NoComments */); - const block = factory2.createBlock([factory2.createExpressionStatement(assignment)]); - setTextRange(block, parameter); - setEmitFlags(block, 1 /* SingleLine */ | 64 /* NoTrailingSourceMap */ | 768 /* NoTokenSourceMaps */ | 3072 /* NoComments */); - const typeCheck = factory2.createTypeCheck(factory2.cloneNode(parameter.name), "undefined"); - const statement = factory2.createIfStatement(typeCheck, block); - startOnNewLine(statement); - setTextRange(statement, parameter); - setEmitFlags(statement, 768 /* NoTokenSourceMaps */ | 64 /* NoTrailingSourceMap */ | 2097152 /* CustomPrologue */ | 3072 /* NoComments */); - statements = append(statements, statement); - } - } else if (parameter.transformFlags & 65536 /* ContainsObjectRestOrSpread */) { - containsPrecedingObjectRestOrSpread = true; - const declarations = flattenDestructuringBinding( - parameter, - visitor, - context, - 1 /* ObjectRest */, - factory2.getGeneratedNameForNode(parameter), - /*hoistTempVariables*/ - false, - /*skipInitializer*/ - true - ); - if (some(declarations)) { - const declarationList = factory2.createVariableDeclarationList(declarations); - const statement = factory2.createVariableStatement( - /*modifiers*/ - void 0, - declarationList - ); - setEmitFlags(statement, 2097152 /* CustomPrologue */); - statements = append(statements, statement); - } - } - } - return statements; - } - function enableSubstitutionForAsyncMethodsWithSuper() { - if ((enabledSubstitutions & 1 /* AsyncMethodsWithSuper */) === 0) { - enabledSubstitutions |= 1 /* AsyncMethodsWithSuper */; - context.enableSubstitution(213 /* CallExpression */); - context.enableSubstitution(211 /* PropertyAccessExpression */); - context.enableSubstitution(212 /* ElementAccessExpression */); - context.enableEmitNotification(263 /* ClassDeclaration */); - context.enableEmitNotification(174 /* MethodDeclaration */); - context.enableEmitNotification(177 /* GetAccessor */); - context.enableEmitNotification(178 /* SetAccessor */); - context.enableEmitNotification(176 /* Constructor */); - context.enableEmitNotification(243 /* VariableStatement */); - } - } - function onEmitNode(hint, node, emitCallback) { - if (enabledSubstitutions & 1 /* AsyncMethodsWithSuper */ && isSuperContainer(node)) { - const superContainerFlags = (resolver.hasNodeCheckFlag(node, 128 /* MethodWithSuperPropertyAccessInAsync */) ? 128 /* MethodWithSuperPropertyAccessInAsync */ : 0) | (resolver.hasNodeCheckFlag(node, 256 /* MethodWithSuperPropertyAssignmentInAsync */) ? 256 /* MethodWithSuperPropertyAssignmentInAsync */ : 0); - if (superContainerFlags !== enclosingSuperContainerFlags) { - const savedEnclosingSuperContainerFlags = enclosingSuperContainerFlags; - enclosingSuperContainerFlags = superContainerFlags; - previousOnEmitNode(hint, node, emitCallback); - enclosingSuperContainerFlags = savedEnclosingSuperContainerFlags; - return; - } - } else if (enabledSubstitutions && substitutedSuperAccessors[getNodeId(node)]) { - const savedEnclosingSuperContainerFlags = enclosingSuperContainerFlags; - enclosingSuperContainerFlags = 0; - previousOnEmitNode(hint, node, emitCallback); - enclosingSuperContainerFlags = savedEnclosingSuperContainerFlags; - return; - } - previousOnEmitNode(hint, node, emitCallback); - } - function onSubstituteNode(hint, node) { - node = previousOnSubstituteNode(hint, node); - if (hint === 1 /* Expression */ && enclosingSuperContainerFlags) { - return substituteExpression(node); - } - return node; - } - function substituteExpression(node) { - switch (node.kind) { - case 211 /* PropertyAccessExpression */: - return substitutePropertyAccessExpression(node); - case 212 /* ElementAccessExpression */: - return substituteElementAccessExpression(node); - case 213 /* CallExpression */: - return substituteCallExpression(node); - } - return node; - } - function substitutePropertyAccessExpression(node) { - if (node.expression.kind === 108 /* SuperKeyword */) { - return setTextRange( - factory2.createPropertyAccessExpression( - factory2.createUniqueName("_super", 16 /* Optimistic */ | 32 /* FileLevel */), - node.name - ), - node - ); - } - return node; - } - function substituteElementAccessExpression(node) { - if (node.expression.kind === 108 /* SuperKeyword */) { - return createSuperElementAccessInAsyncMethod( - node.argumentExpression, - node - ); - } - return node; - } - function substituteCallExpression(node) { - const expression = node.expression; - if (isSuperProperty(expression)) { - const argumentExpression = isPropertyAccessExpression(expression) ? substitutePropertyAccessExpression(expression) : substituteElementAccessExpression(expression); - return factory2.createCallExpression( - factory2.createPropertyAccessExpression(argumentExpression, "call"), - /*typeArguments*/ - void 0, - [ - factory2.createThis(), - ...node.arguments - ] - ); - } - return node; - } - function isSuperContainer(node) { - const kind = node.kind; - return kind === 263 /* ClassDeclaration */ || kind === 176 /* Constructor */ || kind === 174 /* MethodDeclaration */ || kind === 177 /* GetAccessor */ || kind === 178 /* SetAccessor */; - } - function createSuperElementAccessInAsyncMethod(argumentExpression, location) { - if (enclosingSuperContainerFlags & 256 /* MethodWithSuperPropertyAssignmentInAsync */) { - return setTextRange( - factory2.createPropertyAccessExpression( - factory2.createCallExpression( - factory2.createIdentifier("_superIndex"), - /*typeArguments*/ - void 0, - [argumentExpression] - ), - "value" - ), - location - ); - } else { - return setTextRange( - factory2.createCallExpression( - factory2.createIdentifier("_superIndex"), - /*typeArguments*/ - void 0, - [argumentExpression] - ), - location - ); - } - } -} - -// src/compiler/transformers/es2019.ts -function transformES2019(context) { - const factory2 = context.factory; - return chainBundle(context, transformSourceFile); - function transformSourceFile(node) { - if (node.isDeclarationFile) { - return node; - } - return visitEachChild(node, visitor, context); - } - function visitor(node) { - if ((node.transformFlags & 64 /* ContainsES2019 */) === 0) { - return node; - } - switch (node.kind) { - case 299 /* CatchClause */: - return visitCatchClause(node); - default: - return visitEachChild(node, visitor, context); - } - } - function visitCatchClause(node) { - if (!node.variableDeclaration) { - return factory2.updateCatchClause( - node, - factory2.createVariableDeclaration(factory2.createTempVariable( - /*recordTempVariable*/ - void 0 - )), - visitNode(node.block, visitor, isBlock) - ); - } - return visitEachChild(node, visitor, context); - } -} - -// src/compiler/transformers/es2020.ts -function transformES2020(context) { - const { - factory: factory2, - hoistVariableDeclaration - } = context; - return chainBundle(context, transformSourceFile); - function transformSourceFile(node) { - if (node.isDeclarationFile) { - return node; - } - return visitEachChild(node, visitor, context); - } - function visitor(node) { - if ((node.transformFlags & 32 /* ContainsES2020 */) === 0) { - return node; - } - switch (node.kind) { - case 213 /* CallExpression */: { - const updated = visitNonOptionalCallExpression( - node, - /*captureThisArg*/ - false - ); - Debug.assertNotNode(updated, isSyntheticReference); - return updated; - } - case 211 /* PropertyAccessExpression */: - case 212 /* ElementAccessExpression */: - if (isOptionalChain(node)) { - const updated = visitOptionalExpression( - node, - /*captureThisArg*/ - false, - /*isDelete*/ - false - ); - Debug.assertNotNode(updated, isSyntheticReference); - return updated; - } - return visitEachChild(node, visitor, context); - case 226 /* BinaryExpression */: - if (node.operatorToken.kind === 61 /* QuestionQuestionToken */) { - return transformNullishCoalescingExpression(node); - } - return visitEachChild(node, visitor, context); - case 220 /* DeleteExpression */: - return visitDeleteExpression(node); - default: - return visitEachChild(node, visitor, context); - } - } - function flattenChain(chain) { - Debug.assertNotNode(chain, isNonNullChain); - const links = [chain]; - while (!chain.questionDotToken && !isTaggedTemplateExpression(chain)) { - chain = cast(skipPartiallyEmittedExpressions(chain.expression), isOptionalChain); - Debug.assertNotNode(chain, isNonNullChain); - links.unshift(chain); - } - return { expression: chain.expression, chain: links }; - } - function visitNonOptionalParenthesizedExpression(node, captureThisArg, isDelete) { - const expression = visitNonOptionalExpression(node.expression, captureThisArg, isDelete); - if (isSyntheticReference(expression)) { - return factory2.createSyntheticReferenceExpression(factory2.updateParenthesizedExpression(node, expression.expression), expression.thisArg); - } - return factory2.updateParenthesizedExpression(node, expression); - } - function visitNonOptionalPropertyOrElementAccessExpression(node, captureThisArg, isDelete) { - if (isOptionalChain(node)) { - return visitOptionalExpression(node, captureThisArg, isDelete); - } - let expression = visitNode(node.expression, visitor, isExpression); - Debug.assertNotNode(expression, isSyntheticReference); - let thisArg; - if (captureThisArg) { - if (!isSimpleCopiableExpression(expression)) { - thisArg = factory2.createTempVariable(hoistVariableDeclaration); - expression = factory2.createAssignment(thisArg, expression); - } else { - thisArg = expression; - } - } - expression = node.kind === 211 /* PropertyAccessExpression */ ? factory2.updatePropertyAccessExpression(node, expression, visitNode(node.name, visitor, isIdentifier)) : factory2.updateElementAccessExpression(node, expression, visitNode(node.argumentExpression, visitor, isExpression)); - return thisArg ? factory2.createSyntheticReferenceExpression(expression, thisArg) : expression; - } - function visitNonOptionalCallExpression(node, captureThisArg) { - if (isOptionalChain(node)) { - return visitOptionalExpression( - node, - captureThisArg, - /*isDelete*/ - false - ); - } - if (isParenthesizedExpression(node.expression) && isOptionalChain(skipParentheses(node.expression))) { - const expression = visitNonOptionalParenthesizedExpression( - node.expression, - /*captureThisArg*/ - true, - /*isDelete*/ - false - ); - const args = visitNodes2(node.arguments, visitor, isExpression); - if (isSyntheticReference(expression)) { - return setTextRange(factory2.createFunctionCallCall(expression.expression, expression.thisArg, args), node); - } - return factory2.updateCallExpression( - node, - expression, - /*typeArguments*/ - void 0, - args - ); - } - return visitEachChild(node, visitor, context); - } - function visitNonOptionalExpression(node, captureThisArg, isDelete) { - switch (node.kind) { - case 217 /* ParenthesizedExpression */: - return visitNonOptionalParenthesizedExpression(node, captureThisArg, isDelete); - case 211 /* PropertyAccessExpression */: - case 212 /* ElementAccessExpression */: - return visitNonOptionalPropertyOrElementAccessExpression(node, captureThisArg, isDelete); - case 213 /* CallExpression */: - return visitNonOptionalCallExpression(node, captureThisArg); - default: - return visitNode(node, visitor, isExpression); - } - } - function visitOptionalExpression(node, captureThisArg, isDelete) { - const { expression, chain } = flattenChain(node); - const left = visitNonOptionalExpression( - skipPartiallyEmittedExpressions(expression), - isCallChain(chain[0]), - /*isDelete*/ - false - ); - let leftThisArg = isSyntheticReference(left) ? left.thisArg : void 0; - let capturedLeft = isSyntheticReference(left) ? left.expression : left; - let leftExpression = factory2.restoreOuterExpressions(expression, capturedLeft, 8 /* PartiallyEmittedExpressions */); - if (!isSimpleCopiableExpression(capturedLeft)) { - capturedLeft = factory2.createTempVariable(hoistVariableDeclaration); - leftExpression = factory2.createAssignment(capturedLeft, leftExpression); - } - let rightExpression = capturedLeft; - let thisArg; - for (let i = 0; i < chain.length; i++) { - const segment = chain[i]; - switch (segment.kind) { - case 211 /* PropertyAccessExpression */: - case 212 /* ElementAccessExpression */: - if (i === chain.length - 1 && captureThisArg) { - if (!isSimpleCopiableExpression(rightExpression)) { - thisArg = factory2.createTempVariable(hoistVariableDeclaration); - rightExpression = factory2.createAssignment(thisArg, rightExpression); - } else { - thisArg = rightExpression; - } - } - rightExpression = segment.kind === 211 /* PropertyAccessExpression */ ? factory2.createPropertyAccessExpression(rightExpression, visitNode(segment.name, visitor, isIdentifier)) : factory2.createElementAccessExpression(rightExpression, visitNode(segment.argumentExpression, visitor, isExpression)); - break; - case 213 /* CallExpression */: - if (i === 0 && leftThisArg) { - if (!isGeneratedIdentifier(leftThisArg)) { - leftThisArg = factory2.cloneNode(leftThisArg); - addEmitFlags(leftThisArg, 3072 /* NoComments */); - } - rightExpression = factory2.createFunctionCallCall( - rightExpression, - leftThisArg.kind === 108 /* SuperKeyword */ ? factory2.createThis() : leftThisArg, - visitNodes2(segment.arguments, visitor, isExpression) - ); - } else { - rightExpression = factory2.createCallExpression( - rightExpression, - /*typeArguments*/ - void 0, - visitNodes2(segment.arguments, visitor, isExpression) - ); - } - break; - } - setOriginalNode(rightExpression, segment); - } - const target = isDelete ? factory2.createConditionalExpression( - createNotNullCondition( - leftExpression, - capturedLeft, - /*invert*/ - true - ), - /*questionToken*/ - void 0, - factory2.createTrue(), - /*colonToken*/ - void 0, - factory2.createDeleteExpression(rightExpression) - ) : factory2.createConditionalExpression( - createNotNullCondition( - leftExpression, - capturedLeft, - /*invert*/ - true - ), - /*questionToken*/ - void 0, - factory2.createVoidZero(), - /*colonToken*/ - void 0, - rightExpression - ); - setTextRange(target, node); - return thisArg ? factory2.createSyntheticReferenceExpression(target, thisArg) : target; - } - function createNotNullCondition(left, right, invert) { - return factory2.createBinaryExpression( - factory2.createBinaryExpression( - left, - factory2.createToken(invert ? 37 /* EqualsEqualsEqualsToken */ : 38 /* ExclamationEqualsEqualsToken */), - factory2.createNull() - ), - factory2.createToken(invert ? 57 /* BarBarToken */ : 56 /* AmpersandAmpersandToken */), - factory2.createBinaryExpression( - right, - factory2.createToken(invert ? 37 /* EqualsEqualsEqualsToken */ : 38 /* ExclamationEqualsEqualsToken */), - factory2.createVoidZero() - ) - ); - } - function transformNullishCoalescingExpression(node) { - let left = visitNode(node.left, visitor, isExpression); - let right = left; - if (!isSimpleCopiableExpression(left)) { - right = factory2.createTempVariable(hoistVariableDeclaration); - left = factory2.createAssignment(right, left); - } - return setTextRange( - factory2.createConditionalExpression( - createNotNullCondition(left, right), - /*questionToken*/ - void 0, - right, - /*colonToken*/ - void 0, - visitNode(node.right, visitor, isExpression) - ), - node - ); - } - function visitDeleteExpression(node) { - return isOptionalChain(skipParentheses(node.expression)) ? setOriginalNode(visitNonOptionalExpression( - node.expression, - /*captureThisArg*/ - false, - /*isDelete*/ - true - ), node) : factory2.updateDeleteExpression(node, visitNode(node.expression, visitor, isExpression)); - } -} - -// src/compiler/transformers/es2021.ts -function transformES2021(context) { - const { - hoistVariableDeclaration, - factory: factory2 - } = context; - return chainBundle(context, transformSourceFile); - function transformSourceFile(node) { - if (node.isDeclarationFile) { - return node; - } - return visitEachChild(node, visitor, context); - } - function visitor(node) { - if ((node.transformFlags & 16 /* ContainsES2021 */) === 0) { - return node; - } - if (isLogicalOrCoalescingAssignmentExpression(node)) { - return transformLogicalAssignment(node); - } - return visitEachChild(node, visitor, context); - } - function transformLogicalAssignment(binaryExpression) { - const operator = binaryExpression.operatorToken; - const nonAssignmentOperator = getNonAssignmentOperatorForCompoundAssignment(operator.kind); - let left = skipParentheses(visitNode(binaryExpression.left, visitor, isLeftHandSideExpression)); - let assignmentTarget = left; - const right = skipParentheses(visitNode(binaryExpression.right, visitor, isExpression)); - if (isAccessExpression(left)) { - const propertyAccessTargetSimpleCopiable = isSimpleCopiableExpression(left.expression); - const propertyAccessTarget = propertyAccessTargetSimpleCopiable ? left.expression : factory2.createTempVariable(hoistVariableDeclaration); - const propertyAccessTargetAssignment = propertyAccessTargetSimpleCopiable ? left.expression : factory2.createAssignment( - propertyAccessTarget, - left.expression - ); - if (isPropertyAccessExpression(left)) { - assignmentTarget = factory2.createPropertyAccessExpression( - propertyAccessTarget, - left.name - ); - left = factory2.createPropertyAccessExpression( - propertyAccessTargetAssignment, - left.name - ); - } else { - const elementAccessArgumentSimpleCopiable = isSimpleCopiableExpression(left.argumentExpression); - const elementAccessArgument = elementAccessArgumentSimpleCopiable ? left.argumentExpression : factory2.createTempVariable(hoistVariableDeclaration); - assignmentTarget = factory2.createElementAccessExpression( - propertyAccessTarget, - elementAccessArgument - ); - left = factory2.createElementAccessExpression( - propertyAccessTargetAssignment, - elementAccessArgumentSimpleCopiable ? left.argumentExpression : factory2.createAssignment( - elementAccessArgument, - left.argumentExpression - ) - ); - } - } - return factory2.createBinaryExpression( - left, - nonAssignmentOperator, - factory2.createParenthesizedExpression( - factory2.createAssignment( - assignmentTarget, - right - ) - ) - ); - } -} - -// src/compiler/transformers/esnext.ts -function transformESNext(context) { - const { - factory: factory2, - getEmitHelperFactory: emitHelpers, - hoistVariableDeclaration, - startLexicalEnvironment, - endLexicalEnvironment - } = context; - let exportBindings; - let exportVars; - let defaultExportBinding; - let exportEqualsBinding; - return chainBundle(context, transformSourceFile); - function transformSourceFile(node) { - if (node.isDeclarationFile) { - return node; - } - const visited = visitNode(node, visitor, isSourceFile); - addEmitHelpers(visited, context.readEmitHelpers()); - exportVars = void 0; - exportBindings = void 0; - defaultExportBinding = void 0; - return visited; - } - function visitor(node) { - if ((node.transformFlags & 4 /* ContainsESNext */) === 0) { - return node; - } - switch (node.kind) { - case 307 /* SourceFile */: - return visitSourceFile(node); - case 241 /* Block */: - return visitBlock(node); - case 248 /* ForStatement */: - return visitForStatement(node); - case 250 /* ForOfStatement */: - return visitForOfStatement(node); - case 255 /* SwitchStatement */: - return visitSwitchStatement(node); - default: - return visitEachChild(node, visitor, context); - } - } - function visitSourceFile(node) { - const usingKind = getUsingKindOfStatements(node.statements); - if (usingKind) { - startLexicalEnvironment(); - exportBindings = new IdentifierNameMap(); - exportVars = []; - const prologueCount = countPrologueStatements(node.statements); - const topLevelStatements = []; - addRange(topLevelStatements, visitArray(node.statements, visitor, isStatement, 0, prologueCount)); - let pos = prologueCount; - while (pos < node.statements.length) { - const statement = node.statements[pos]; - if (getUsingKind(statement) !== 0 /* None */) { - if (pos > prologueCount) { - addRange(topLevelStatements, visitNodes2(node.statements, visitor, isStatement, prologueCount, pos - prologueCount)); - } - break; - } - pos++; - } - Debug.assert(pos < node.statements.length, "Should have encountered at least one 'using' statement."); - const envBinding = createEnvBinding(); - const bodyStatements = transformUsingDeclarations(node.statements, pos, node.statements.length, envBinding, topLevelStatements); - if (exportBindings.size) { - append( - topLevelStatements, - factory2.createExportDeclaration( - /*modifiers*/ - void 0, - /*isTypeOnly*/ - false, - factory2.createNamedExports(arrayFrom(exportBindings.values())) - ) - ); - } - addRange(topLevelStatements, endLexicalEnvironment()); - if (exportVars.length) { - topLevelStatements.push(factory2.createVariableStatement( - factory2.createModifiersFromModifierFlags(32 /* Export */), - factory2.createVariableDeclarationList( - exportVars, - 1 /* Let */ - ) - )); - } - addRange(topLevelStatements, createDownlevelUsingStatements(bodyStatements, envBinding, usingKind === 2 /* Async */)); - if (exportEqualsBinding) { - topLevelStatements.push(factory2.createExportAssignment( - /*modifiers*/ - void 0, - /*isExportEquals*/ - true, - exportEqualsBinding - )); - } - return factory2.updateSourceFile(node, topLevelStatements); - } - return visitEachChild(node, visitor, context); - } - function visitBlock(node) { - const usingKind = getUsingKindOfStatements(node.statements); - if (usingKind) { - const prologueCount = countPrologueStatements(node.statements); - const envBinding = createEnvBinding(); - return factory2.updateBlock( - node, - [ - ...visitArray(node.statements, visitor, isStatement, 0, prologueCount), - ...createDownlevelUsingStatements( - transformUsingDeclarations( - node.statements, - prologueCount, - node.statements.length, - envBinding, - /*topLevelStatements*/ - void 0 - ), - envBinding, - usingKind === 2 /* Async */ - ) - ] - ); - } - return visitEachChild(node, visitor, context); - } - function visitForStatement(node) { - if (node.initializer && isUsingVariableDeclarationList(node.initializer)) { - return visitNode( - factory2.createBlock([ - factory2.createVariableStatement( - /*modifiers*/ - void 0, - node.initializer - ), - factory2.updateForStatement( - node, - /*initializer*/ - void 0, - node.condition, - node.incrementor, - node.statement - ) - ]), - visitor, - isStatement - ); - } - return visitEachChild(node, visitor, context); - } - function visitForOfStatement(node) { - if (isUsingVariableDeclarationList(node.initializer)) { - const forInitializer = node.initializer; - const forDecl = firstOrUndefined(forInitializer.declarations) || factory2.createVariableDeclaration(factory2.createTempVariable( - /*recordTempVariable*/ - void 0 - )); - const isAwaitUsing = getUsingKindOfVariableDeclarationList(forInitializer) === 2 /* Async */; - const temp = factory2.getGeneratedNameForNode(forDecl.name); - const usingVar = factory2.updateVariableDeclaration( - forDecl, - forDecl.name, - /*exclamationToken*/ - void 0, - /*type*/ - void 0, - temp - ); - const usingVarList = factory2.createVariableDeclarationList([usingVar], isAwaitUsing ? 6 /* AwaitUsing */ : 4 /* Using */); - const usingVarStatement = factory2.createVariableStatement( - /*modifiers*/ - void 0, - usingVarList - ); - return visitNode( - factory2.updateForOfStatement( - node, - node.awaitModifier, - factory2.createVariableDeclarationList([ - factory2.createVariableDeclaration(temp) - ], 2 /* Const */), - node.expression, - isBlock(node.statement) ? factory2.updateBlock(node.statement, [ - usingVarStatement, - ...node.statement.statements - ]) : factory2.createBlock( - [ - usingVarStatement, - node.statement - ], - /*multiLine*/ - true - ) - ), - visitor, - isStatement - ); - } - return visitEachChild(node, visitor, context); - } - function visitCaseOrDefaultClause(node, envBinding) { - if (getUsingKindOfStatements(node.statements) !== 0 /* None */) { - if (isCaseClause(node)) { - return factory2.updateCaseClause( - node, - visitNode(node.expression, visitor, isExpression), - transformUsingDeclarations( - node.statements, - /*start*/ - 0, - node.statements.length, - envBinding, - /*topLevelStatements*/ - void 0 - ) - ); - } else { - return factory2.updateDefaultClause( - node, - transformUsingDeclarations( - node.statements, - /*start*/ - 0, - node.statements.length, - envBinding, - /*topLevelStatements*/ - void 0 - ) - ); - } - } - return visitEachChild(node, visitor, context); - } - function visitSwitchStatement(node) { - const usingKind = getUsingKindOfCaseOrDefaultClauses(node.caseBlock.clauses); - if (usingKind) { - const envBinding = createEnvBinding(); - return createDownlevelUsingStatements( - [ - factory2.updateSwitchStatement( - node, - visitNode(node.expression, visitor, isExpression), - factory2.updateCaseBlock( - node.caseBlock, - node.caseBlock.clauses.map((clause) => visitCaseOrDefaultClause(clause, envBinding)) - ) - ) - ], - envBinding, - usingKind === 2 /* Async */ - ); - } - return visitEachChild(node, visitor, context); - } - function transformUsingDeclarations(statementsIn, start, end, envBinding, topLevelStatements) { - const statements = []; - for (let i = start; i < end; i++) { - const statement = statementsIn[i]; - const usingKind = getUsingKind(statement); - if (usingKind) { - Debug.assertNode(statement, isVariableStatement); - const declarations = []; - for (let declaration of statement.declarationList.declarations) { - if (!isIdentifier(declaration.name)) { - declarations.length = 0; - break; - } - if (isNamedEvaluation(declaration)) { - declaration = transformNamedEvaluation(context, declaration); - } - const initializer = visitNode(declaration.initializer, visitor, isExpression) ?? factory2.createVoidZero(); - declarations.push(factory2.updateVariableDeclaration( - declaration, - declaration.name, - /*exclamationToken*/ - void 0, - /*type*/ - void 0, - emitHelpers().createAddDisposableResourceHelper( - envBinding, - initializer, - usingKind === 2 /* Async */ - ) - )); - } - if (declarations.length) { - const varList = factory2.createVariableDeclarationList(declarations, 2 /* Const */); - setOriginalNode(varList, statement.declarationList); - setTextRange(varList, statement.declarationList); - hoistOrAppendNode(factory2.updateVariableStatement( - statement, - /*modifiers*/ - void 0, - varList - )); - continue; - } - } - const result = visitor(statement); - if (isArray(result)) { - result.forEach(hoistOrAppendNode); - } else if (result) { - hoistOrAppendNode(result); - } - } - return statements; - function hoistOrAppendNode(node) { - Debug.assertNode(node, isStatement); - append(statements, hoist(node)); - } - function hoist(node) { - if (!topLevelStatements) return node; - switch (node.kind) { - case 272 /* ImportDeclaration */: - case 271 /* ImportEqualsDeclaration */: - case 278 /* ExportDeclaration */: - case 262 /* FunctionDeclaration */: - return hoistImportOrExportOrHoistedDeclaration(node, topLevelStatements); - case 277 /* ExportAssignment */: - return hoistExportAssignment(node); - case 263 /* ClassDeclaration */: - return hoistClassDeclaration(node); - case 243 /* VariableStatement */: - return hoistVariableStatement(node); - } - return node; - } - } - function hoistImportOrExportOrHoistedDeclaration(node, topLevelStatements) { - topLevelStatements.push(node); - return void 0; - } - function hoistExportAssignment(node) { - return node.isExportEquals ? hoistExportEquals(node) : hoistExportDefault(node); - } - function hoistExportDefault(node) { - if (defaultExportBinding) { - return node; - } - defaultExportBinding = factory2.createUniqueName("_default", 8 /* ReservedInNestedScopes */ | 32 /* FileLevel */ | 16 /* Optimistic */); - hoistBindingIdentifier( - defaultExportBinding, - /*isExport*/ - true, - "default", - node - ); - let expression = node.expression; - let innerExpression = skipOuterExpressions(expression); - if (isNamedEvaluation(innerExpression)) { - innerExpression = transformNamedEvaluation( - context, - innerExpression, - /*ignoreEmptyStringLiteral*/ - false, - "default" - ); - expression = factory2.restoreOuterExpressions(expression, innerExpression); - } - const assignment = factory2.createAssignment(defaultExportBinding, expression); - return factory2.createExpressionStatement(assignment); - } - function hoistExportEquals(node) { - if (exportEqualsBinding) { - return node; - } - exportEqualsBinding = factory2.createUniqueName("_default", 8 /* ReservedInNestedScopes */ | 32 /* FileLevel */ | 16 /* Optimistic */); - hoistVariableDeclaration(exportEqualsBinding); - const assignment = factory2.createAssignment(exportEqualsBinding, node.expression); - return factory2.createExpressionStatement(assignment); - } - function hoistClassDeclaration(node) { - if (!node.name && defaultExportBinding) { - return node; - } - const isExported = hasSyntacticModifier(node, 32 /* Export */); - const isDefault = hasSyntacticModifier(node, 2048 /* Default */); - let expression = factory2.converters.convertToClassExpression(node); - if (node.name) { - hoistBindingIdentifier( - factory2.getLocalName(node), - isExported && !isDefault, - /*exportAlias*/ - void 0, - node - ); - expression = factory2.createAssignment(factory2.getDeclarationName(node), expression); - if (isNamedEvaluation(expression)) { - expression = transformNamedEvaluation( - context, - expression, - /*ignoreEmptyStringLiteral*/ - false - ); - } - setOriginalNode(expression, node); - setSourceMapRange(expression, node); - setCommentRange(expression, node); - } - if (isDefault && !defaultExportBinding) { - defaultExportBinding = factory2.createUniqueName("_default", 8 /* ReservedInNestedScopes */ | 32 /* FileLevel */ | 16 /* Optimistic */); - hoistBindingIdentifier( - defaultExportBinding, - /*isExport*/ - true, - "default", - node - ); - expression = factory2.createAssignment(defaultExportBinding, expression); - if (isNamedEvaluation(expression)) { - expression = transformNamedEvaluation( - context, - expression, - /*ignoreEmptyStringLiteral*/ - false, - "default" - ); - } - setOriginalNode(expression, node); - } - return factory2.createExpressionStatement(expression); - } - function hoistVariableStatement(node) { - let expressions; - const isExported = hasSyntacticModifier(node, 32 /* Export */); - for (const variable of node.declarationList.declarations) { - hoistBindingElement(variable, isExported, variable); - if (variable.initializer) { - expressions = append(expressions, hoistInitializedVariable(variable)); - } - } - if (expressions) { - const statement = factory2.createExpressionStatement(factory2.inlineExpressions(expressions)); - setOriginalNode(statement, node); - setCommentRange(statement, node); - setSourceMapRange(statement, node); - return statement; - } - return void 0; - } - function hoistInitializedVariable(node) { - Debug.assertIsDefined(node.initializer); - let target; - if (isIdentifier(node.name)) { - target = factory2.cloneNode(node.name); - setEmitFlags(target, getEmitFlags(target) & ~(32768 /* LocalName */ | 16384 /* ExportName */ | 65536 /* InternalName */)); - } else { - target = factory2.converters.convertToAssignmentPattern(node.name); - } - const assignment = factory2.createAssignment(target, node.initializer); - setOriginalNode(assignment, node); - setCommentRange(assignment, node); - setSourceMapRange(assignment, node); - return assignment; - } - function hoistBindingElement(node, isExportedDeclaration, original) { - if (isBindingPattern(node.name)) { - for (const element of node.name.elements) { - if (!isOmittedExpression(element)) { - hoistBindingElement(element, isExportedDeclaration, original); - } - } - } else { - hoistBindingIdentifier( - node.name, - isExportedDeclaration, - /*exportAlias*/ - void 0, - original - ); - } - } - function hoistBindingIdentifier(node, isExport, exportAlias, original) { - const name = isGeneratedIdentifier(node) ? node : factory2.cloneNode(node); - if (isExport) { - if (exportAlias === void 0 && !isLocalName(name)) { - const varDecl = factory2.createVariableDeclaration(name); - if (original) { - setOriginalNode(varDecl, original); - } - exportVars.push(varDecl); - return; - } - const localName = exportAlias !== void 0 ? name : void 0; - const exportName = exportAlias !== void 0 ? exportAlias : name; - const specifier = factory2.createExportSpecifier( - /*isTypeOnly*/ - false, - localName, - exportName - ); - if (original) { - setOriginalNode(specifier, original); - } - exportBindings.set(name, specifier); - } - hoistVariableDeclaration(name); - } - function createEnvBinding() { - return factory2.createUniqueName("env"); - } - function createDownlevelUsingStatements(bodyStatements, envBinding, async) { - const statements = []; - const envObject = factory2.createObjectLiteralExpression([ - factory2.createPropertyAssignment("stack", factory2.createArrayLiteralExpression()), - factory2.createPropertyAssignment("error", factory2.createVoidZero()), - factory2.createPropertyAssignment("hasError", factory2.createFalse()) - ]); - const envVar = factory2.createVariableDeclaration( - envBinding, - /*exclamationToken*/ - void 0, - /*type*/ - void 0, - envObject - ); - const envVarList = factory2.createVariableDeclarationList([envVar], 2 /* Const */); - const envVarStatement = factory2.createVariableStatement( - /*modifiers*/ - void 0, - envVarList - ); - statements.push(envVarStatement); - const tryBlock = factory2.createBlock( - bodyStatements, - /*multiLine*/ - true - ); - const bodyCatchBinding = factory2.createUniqueName("e"); - const catchClause = factory2.createCatchClause( - bodyCatchBinding, - factory2.createBlock( - [ - factory2.createExpressionStatement( - factory2.createAssignment( - factory2.createPropertyAccessExpression(envBinding, "error"), - bodyCatchBinding - ) - ), - factory2.createExpressionStatement( - factory2.createAssignment( - factory2.createPropertyAccessExpression(envBinding, "hasError"), - factory2.createTrue() - ) - ) - ], - /*multiLine*/ - true - ) - ); - let finallyBlock; - if (async) { - const result = factory2.createUniqueName("result"); - finallyBlock = factory2.createBlock( - [ - factory2.createVariableStatement( - /*modifiers*/ - void 0, - factory2.createVariableDeclarationList([ - factory2.createVariableDeclaration( - result, - /*exclamationToken*/ - void 0, - /*type*/ - void 0, - emitHelpers().createDisposeResourcesHelper(envBinding) - ) - ], 2 /* Const */) - ), - factory2.createIfStatement(result, factory2.createExpressionStatement(factory2.createAwaitExpression(result))) - ], - /*multiLine*/ - true - ); - } else { - finallyBlock = factory2.createBlock( - [ - factory2.createExpressionStatement( - emitHelpers().createDisposeResourcesHelper(envBinding) - ) - ], - /*multiLine*/ - true - ); - } - const tryStatement = factory2.createTryStatement(tryBlock, catchClause, finallyBlock); - statements.push(tryStatement); - return statements; - } -} -function countPrologueStatements(statements) { - for (let i = 0; i < statements.length; i++) { - if (!isPrologueDirective(statements[i]) && !isCustomPrologue(statements[i])) { - return i; - } - } - return 0; -} -function isUsingVariableDeclarationList(node) { - return isVariableDeclarationList(node) && getUsingKindOfVariableDeclarationList(node) !== 0 /* None */; -} -function getUsingKindOfVariableDeclarationList(node) { - return (node.flags & 7 /* BlockScoped */) === 6 /* AwaitUsing */ ? 2 /* Async */ : (node.flags & 7 /* BlockScoped */) === 4 /* Using */ ? 1 /* Sync */ : 0 /* None */; -} -function getUsingKindOfVariableStatement(node) { - return getUsingKindOfVariableDeclarationList(node.declarationList); -} -function getUsingKind(statement) { - return isVariableStatement(statement) ? getUsingKindOfVariableStatement(statement) : 0 /* None */; -} -function getUsingKindOfStatements(statements) { - let result = 0 /* None */; - for (const statement of statements) { - const usingKind = getUsingKind(statement); - if (usingKind === 2 /* Async */) return 2 /* Async */; - if (usingKind > result) result = usingKind; - } - return result; -} -function getUsingKindOfCaseOrDefaultClauses(clauses) { - let result = 0 /* None */; - for (const clause of clauses) { - const usingKind = getUsingKindOfStatements(clause.statements); - if (usingKind === 2 /* Async */) return 2 /* Async */; - if (usingKind > result) result = usingKind; - } - return result; -} - -// src/compiler/transformers/jsx.ts -function transformJsx(context) { - const { - factory: factory2, - getEmitHelperFactory: emitHelpers - } = context; - const compilerOptions = context.getCompilerOptions(); - let currentSourceFile; - let currentFileState; - return chainBundle(context, transformSourceFile); - function getCurrentFileNameExpression() { - if (currentFileState.filenameDeclaration) { - return currentFileState.filenameDeclaration.name; - } - const declaration = factory2.createVariableDeclaration( - factory2.createUniqueName("_jsxFileName", 16 /* Optimistic */ | 32 /* FileLevel */), - /*exclamationToken*/ - void 0, - /*type*/ - void 0, - factory2.createStringLiteral(currentSourceFile.fileName) - ); - currentFileState.filenameDeclaration = declaration; - return currentFileState.filenameDeclaration.name; - } - function getJsxFactoryCalleePrimitive(isStaticChildren) { - return compilerOptions.jsx === 5 /* ReactJSXDev */ ? "jsxDEV" : isStaticChildren ? "jsxs" : "jsx"; - } - function getJsxFactoryCallee(isStaticChildren) { - const type = getJsxFactoryCalleePrimitive(isStaticChildren); - return getImplicitImportForName(type); - } - function getImplicitJsxFragmentReference() { - return getImplicitImportForName("Fragment"); - } - function getImplicitImportForName(name) { - var _a, _b; - const importSource = name === "createElement" ? currentFileState.importSpecifier : getJSXRuntimeImport(currentFileState.importSpecifier, compilerOptions); - const existing = (_b = (_a = currentFileState.utilizedImplicitRuntimeImports) == null ? void 0 : _a.get(importSource)) == null ? void 0 : _b.get(name); - if (existing) { - return existing.name; - } - if (!currentFileState.utilizedImplicitRuntimeImports) { - currentFileState.utilizedImplicitRuntimeImports = /* @__PURE__ */ new Map(); - } - let specifierSourceImports = currentFileState.utilizedImplicitRuntimeImports.get(importSource); - if (!specifierSourceImports) { - specifierSourceImports = /* @__PURE__ */ new Map(); - currentFileState.utilizedImplicitRuntimeImports.set(importSource, specifierSourceImports); - } - const generatedName = factory2.createUniqueName(`_${name}`, 16 /* Optimistic */ | 32 /* FileLevel */ | 64 /* AllowNameSubstitution */); - const specifier = factory2.createImportSpecifier( - /*isTypeOnly*/ - false, - factory2.createIdentifier(name), - generatedName - ); - setIdentifierGeneratedImportReference(generatedName, specifier); - specifierSourceImports.set(name, specifier); - return generatedName; - } - function transformSourceFile(node) { - if (node.isDeclarationFile) { - return node; - } - currentSourceFile = node; - currentFileState = {}; - currentFileState.importSpecifier = getJSXImplicitImportBase(compilerOptions, node); - let visited = visitEachChild(node, visitor, context); - addEmitHelpers(visited, context.readEmitHelpers()); - let statements = visited.statements; - if (currentFileState.filenameDeclaration) { - statements = insertStatementAfterCustomPrologue(statements.slice(), factory2.createVariableStatement( - /*modifiers*/ - void 0, - factory2.createVariableDeclarationList([currentFileState.filenameDeclaration], 2 /* Const */) - )); - } - if (currentFileState.utilizedImplicitRuntimeImports) { - for (const [importSource, importSpecifiersMap] of arrayFrom(currentFileState.utilizedImplicitRuntimeImports.entries())) { - if (isExternalModule(node)) { - const importStatement = factory2.createImportDeclaration( - /*modifiers*/ - void 0, - factory2.createImportClause( - /*isTypeOnly*/ - false, - /*name*/ - void 0, - factory2.createNamedImports(arrayFrom(importSpecifiersMap.values())) - ), - factory2.createStringLiteral(importSource), - /*attributes*/ - void 0 - ); - setParentRecursive( - importStatement, - /*incremental*/ - false - ); - statements = insertStatementAfterCustomPrologue(statements.slice(), importStatement); - } else if (isExternalOrCommonJsModule(node)) { - const requireStatement = factory2.createVariableStatement( - /*modifiers*/ - void 0, - factory2.createVariableDeclarationList([ - factory2.createVariableDeclaration( - factory2.createObjectBindingPattern(arrayFrom(importSpecifiersMap.values(), (s) => factory2.createBindingElement( - /*dotDotDotToken*/ - void 0, - s.propertyName, - s.name - ))), - /*exclamationToken*/ - void 0, - /*type*/ - void 0, - factory2.createCallExpression( - factory2.createIdentifier("require"), - /*typeArguments*/ - void 0, - [factory2.createStringLiteral(importSource)] - ) - ) - ], 2 /* Const */) - ); - setParentRecursive( - requireStatement, - /*incremental*/ - false - ); - statements = insertStatementAfterCustomPrologue(statements.slice(), requireStatement); - } else { - } - } - } - if (statements !== visited.statements) { - visited = factory2.updateSourceFile(visited, statements); - } - currentFileState = void 0; - return visited; - } - function visitor(node) { - if (node.transformFlags & 2 /* ContainsJsx */) { - return visitorWorker(node); - } else { - return node; - } - } - function visitorWorker(node) { - switch (node.kind) { - case 284 /* JsxElement */: - return visitJsxElement( - node, - /*isChild*/ - false - ); - case 285 /* JsxSelfClosingElement */: - return visitJsxSelfClosingElement( - node, - /*isChild*/ - false - ); - case 288 /* JsxFragment */: - return visitJsxFragment( - node, - /*isChild*/ - false - ); - case 294 /* JsxExpression */: - return visitJsxExpression(node); - default: - return visitEachChild(node, visitor, context); - } - } - function transformJsxChildToExpression(node) { - switch (node.kind) { - case 12 /* JsxText */: - return visitJsxText(node); - case 294 /* JsxExpression */: - return visitJsxExpression(node); - case 284 /* JsxElement */: - return visitJsxElement( - node, - /*isChild*/ - true - ); - case 285 /* JsxSelfClosingElement */: - return visitJsxSelfClosingElement( - node, - /*isChild*/ - true - ); - case 288 /* JsxFragment */: - return visitJsxFragment( - node, - /*isChild*/ - true - ); - default: - return Debug.failBadSyntaxKind(node); - } - } - function hasProto(obj) { - return obj.properties.some( - (p) => isPropertyAssignment(p) && (isIdentifier(p.name) && idText(p.name) === "__proto__" || isStringLiteral(p.name) && p.name.text === "__proto__") - ); - } - function hasKeyAfterPropsSpread(node) { - let spread = false; - for (const elem of node.attributes.properties) { - if (isJsxSpreadAttribute(elem) && (!isObjectLiteralExpression(elem.expression) || elem.expression.properties.some(isSpreadAssignment))) { - spread = true; - } else if (spread && isJsxAttribute(elem) && isIdentifier(elem.name) && elem.name.escapedText === "key") { - return true; - } - } - return false; - } - function shouldUseCreateElement(node) { - return currentFileState.importSpecifier === void 0 || hasKeyAfterPropsSpread(node); - } - function visitJsxElement(node, isChild) { - const tagTransform = shouldUseCreateElement(node.openingElement) ? visitJsxOpeningLikeElementCreateElement : visitJsxOpeningLikeElementJSX; - return tagTransform( - node.openingElement, - node.children, - isChild, - /*location*/ - node - ); - } - function visitJsxSelfClosingElement(node, isChild) { - const tagTransform = shouldUseCreateElement(node) ? visitJsxOpeningLikeElementCreateElement : visitJsxOpeningLikeElementJSX; - return tagTransform( - node, - /*children*/ - void 0, - isChild, - /*location*/ - node - ); - } - function visitJsxFragment(node, isChild) { - const tagTransform = currentFileState.importSpecifier === void 0 ? visitJsxOpeningFragmentCreateElement : visitJsxOpeningFragmentJSX; - return tagTransform( - node.openingFragment, - node.children, - isChild, - /*location*/ - node - ); - } - function convertJsxChildrenToChildrenPropObject(children) { - const prop = convertJsxChildrenToChildrenPropAssignment(children); - return prop && factory2.createObjectLiteralExpression([prop]); - } - function convertJsxChildrenToChildrenPropAssignment(children) { - const nonWhitespaceChildren = getSemanticJsxChildren(children); - if (length(nonWhitespaceChildren) === 1 && !nonWhitespaceChildren[0].dotDotDotToken) { - const result2 = transformJsxChildToExpression(nonWhitespaceChildren[0]); - return result2 && factory2.createPropertyAssignment("children", result2); - } - const result = mapDefined(children, transformJsxChildToExpression); - return length(result) ? factory2.createPropertyAssignment("children", factory2.createArrayLiteralExpression(result)) : void 0; - } - function visitJsxOpeningLikeElementJSX(node, children, isChild, location) { - const tagName = getTagName(node); - const childrenProp = children && children.length ? convertJsxChildrenToChildrenPropAssignment(children) : void 0; - const keyAttr = find(node.attributes.properties, (p) => !!p.name && isIdentifier(p.name) && p.name.escapedText === "key"); - const attrs = keyAttr ? filter(node.attributes.properties, (p) => p !== keyAttr) : node.attributes.properties; - const objectProperties = length(attrs) ? transformJsxAttributesToObjectProps(attrs, childrenProp) : factory2.createObjectLiteralExpression(childrenProp ? [childrenProp] : emptyArray); - return visitJsxOpeningLikeElementOrFragmentJSX( - tagName, - objectProperties, - keyAttr, - children || emptyArray, - isChild, - location - ); - } - function visitJsxOpeningLikeElementOrFragmentJSX(tagName, objectProperties, keyAttr, children, isChild, location) { - var _a; - const nonWhitespaceChildren = getSemanticJsxChildren(children); - const isStaticChildren = length(nonWhitespaceChildren) > 1 || !!((_a = nonWhitespaceChildren[0]) == null ? void 0 : _a.dotDotDotToken); - const args = [tagName, objectProperties]; - if (keyAttr) { - args.push(transformJsxAttributeInitializer(keyAttr.initializer)); - } - if (compilerOptions.jsx === 5 /* ReactJSXDev */) { - const originalFile = getOriginalNode(currentSourceFile); - if (originalFile && isSourceFile(originalFile)) { - if (keyAttr === void 0) { - args.push(factory2.createVoidZero()); - } - args.push(isStaticChildren ? factory2.createTrue() : factory2.createFalse()); - const lineCol = getLineAndCharacterOfPosition(originalFile, location.pos); - args.push(factory2.createObjectLiteralExpression([ - factory2.createPropertyAssignment("fileName", getCurrentFileNameExpression()), - factory2.createPropertyAssignment("lineNumber", factory2.createNumericLiteral(lineCol.line + 1)), - factory2.createPropertyAssignment("columnNumber", factory2.createNumericLiteral(lineCol.character + 1)) - ])); - args.push(factory2.createThis()); - } - } - const element = setTextRange( - factory2.createCallExpression( - getJsxFactoryCallee(isStaticChildren), - /*typeArguments*/ - void 0, - args - ), - location - ); - if (isChild) { - startOnNewLine(element); - } - return element; - } - function visitJsxOpeningLikeElementCreateElement(node, children, isChild, location) { - const tagName = getTagName(node); - const attrs = node.attributes.properties; - const objectProperties = length(attrs) ? transformJsxAttributesToObjectProps(attrs) : factory2.createNull(); - const callee = currentFileState.importSpecifier === void 0 ? createJsxFactoryExpression( - factory2, - context.getEmitResolver().getJsxFactoryEntity(currentSourceFile), - compilerOptions.reactNamespace, - // TODO: GH#18217 - node - ) : getImplicitImportForName("createElement"); - const element = createExpressionForJsxElement( - factory2, - callee, - tagName, - objectProperties, - mapDefined(children, transformJsxChildToExpression), - location - ); - if (isChild) { - startOnNewLine(element); - } - return element; - } - function visitJsxOpeningFragmentJSX(_node, children, isChild, location) { - let childrenProps; - if (children && children.length) { - const result = convertJsxChildrenToChildrenPropObject(children); - if (result) { - childrenProps = result; - } - } - return visitJsxOpeningLikeElementOrFragmentJSX( - getImplicitJsxFragmentReference(), - childrenProps || factory2.createObjectLiteralExpression([]), - /*keyAttr*/ - void 0, - children, - isChild, - location - ); - } - function visitJsxOpeningFragmentCreateElement(node, children, isChild, location) { - const element = createExpressionForJsxFragment( - factory2, - context.getEmitResolver().getJsxFactoryEntity(currentSourceFile), - context.getEmitResolver().getJsxFragmentFactoryEntity(currentSourceFile), - compilerOptions.reactNamespace, - // TODO: GH#18217 - mapDefined(children, transformJsxChildToExpression), - node, - location - ); - if (isChild) { - startOnNewLine(element); - } - return element; - } - function transformJsxSpreadAttributeToProps(node) { - if (isObjectLiteralExpression(node.expression) && !hasProto(node.expression)) { - return sameMap(node.expression.properties, (p) => Debug.checkDefined(visitNode(p, visitor, isObjectLiteralElementLike))); - } - return factory2.createSpreadAssignment(Debug.checkDefined(visitNode(node.expression, visitor, isExpression))); - } - function transformJsxAttributesToObjectProps(attrs, children) { - const target = getEmitScriptTarget(compilerOptions); - return target && target >= 5 /* ES2018 */ ? factory2.createObjectLiteralExpression(transformJsxAttributesToProps(attrs, children)) : transformJsxAttributesToExpression(attrs, children); - } - function transformJsxAttributesToProps(attrs, children) { - const props = flatten(spanMap(attrs, isJsxSpreadAttribute, (attrs2, isSpread) => flatten(map(attrs2, (attr) => isSpread ? transformJsxSpreadAttributeToProps(attr) : transformJsxAttributeToObjectLiteralElement(attr))))); - if (children) { - props.push(children); - } - return props; - } - function transformJsxAttributesToExpression(attrs, children) { - const expressions = []; - let properties = []; - for (const attr of attrs) { - if (isJsxSpreadAttribute(attr)) { - if (isObjectLiteralExpression(attr.expression) && !hasProto(attr.expression)) { - for (const prop of attr.expression.properties) { - if (isSpreadAssignment(prop)) { - finishObjectLiteralIfNeeded(); - expressions.push(Debug.checkDefined(visitNode(prop.expression, visitor, isExpression))); - continue; - } - properties.push(Debug.checkDefined(visitNode(prop, visitor))); - } - continue; - } - finishObjectLiteralIfNeeded(); - expressions.push(Debug.checkDefined(visitNode(attr.expression, visitor, isExpression))); - continue; - } - properties.push(transformJsxAttributeToObjectLiteralElement(attr)); - } - if (children) { - properties.push(children); - } - finishObjectLiteralIfNeeded(); - if (expressions.length && !isObjectLiteralExpression(expressions[0])) { - expressions.unshift(factory2.createObjectLiteralExpression()); - } - return singleOrUndefined(expressions) || emitHelpers().createAssignHelper(expressions); - function finishObjectLiteralIfNeeded() { - if (properties.length) { - expressions.push(factory2.createObjectLiteralExpression(properties)); - properties = []; - } - } - } - function transformJsxAttributeToObjectLiteralElement(node) { - const name = getAttributeName(node); - const expression = transformJsxAttributeInitializer(node.initializer); - return factory2.createPropertyAssignment(name, expression); - } - function transformJsxAttributeInitializer(node) { - if (node === void 0) { - return factory2.createTrue(); - } - if (node.kind === 11 /* StringLiteral */) { - const singleQuote = node.singleQuote !== void 0 ? node.singleQuote : !isStringDoubleQuoted(node, currentSourceFile); - const literal = factory2.createStringLiteral(tryDecodeEntities(node.text) || node.text, singleQuote); - return setTextRange(literal, node); - } - if (node.kind === 294 /* JsxExpression */) { - if (node.expression === void 0) { - return factory2.createTrue(); - } - return Debug.checkDefined(visitNode(node.expression, visitor, isExpression)); - } - if (isJsxElement(node)) { - return visitJsxElement( - node, - /*isChild*/ - false - ); - } - if (isJsxSelfClosingElement(node)) { - return visitJsxSelfClosingElement( - node, - /*isChild*/ - false - ); - } - if (isJsxFragment(node)) { - return visitJsxFragment( - node, - /*isChild*/ - false - ); - } - return Debug.failBadSyntaxKind(node); - } - function visitJsxText(node) { - const fixed = fixupWhitespaceAndDecodeEntities(node.text); - return fixed === void 0 ? void 0 : factory2.createStringLiteral(fixed); - } - function fixupWhitespaceAndDecodeEntities(text) { - let acc; - let firstNonWhitespace = 0; - let lastNonWhitespace = -1; - for (let i = 0; i < text.length; i++) { - const c = text.charCodeAt(i); - if (isLineBreak(c)) { - if (firstNonWhitespace !== -1 && lastNonWhitespace !== -1) { - acc = addLineOfJsxText(acc, text.substr(firstNonWhitespace, lastNonWhitespace - firstNonWhitespace + 1)); - } - firstNonWhitespace = -1; - } else if (!isWhiteSpaceSingleLine(c)) { - lastNonWhitespace = i; - if (firstNonWhitespace === -1) { - firstNonWhitespace = i; - } - } - } - return firstNonWhitespace !== -1 ? addLineOfJsxText(acc, text.substr(firstNonWhitespace)) : acc; - } - function addLineOfJsxText(acc, trimmedLine) { - const decoded = decodeEntities(trimmedLine); - return acc === void 0 ? decoded : acc + " " + decoded; - } - function decodeEntities(text) { - return text.replace(/&((#((\d+)|x([\da-fA-F]+)))|(\w+));/g, (match, _all, _number, _digits, decimal, hex, word) => { - if (decimal) { - return utf16EncodeAsString(parseInt(decimal, 10)); - } else if (hex) { - return utf16EncodeAsString(parseInt(hex, 16)); - } else { - const ch = entities.get(word); - return ch ? utf16EncodeAsString(ch) : match; - } - }); - } - function tryDecodeEntities(text) { - const decoded = decodeEntities(text); - return decoded === text ? void 0 : decoded; - } - function getTagName(node) { - if (node.kind === 284 /* JsxElement */) { - return getTagName(node.openingElement); - } else { - const tagName = node.tagName; - if (isIdentifier(tagName) && isIntrinsicJsxName(tagName.escapedText)) { - return factory2.createStringLiteral(idText(tagName)); - } else if (isJsxNamespacedName(tagName)) { - return factory2.createStringLiteral(idText(tagName.namespace) + ":" + idText(tagName.name)); - } else { - return createExpressionFromEntityName(factory2, tagName); - } - } - } - function getAttributeName(node) { - const name = node.name; - if (isIdentifier(name)) { - const text = idText(name); - return /^[A-Z_]\w*$/i.test(text) ? name : factory2.createStringLiteral(text); - } - return factory2.createStringLiteral(idText(name.namespace) + ":" + idText(name.name)); - } - function visitJsxExpression(node) { - const expression = visitNode(node.expression, visitor, isExpression); - return node.dotDotDotToken ? factory2.createSpreadElement(expression) : expression; - } -} -var entities = new Map(Object.entries({ - 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 -})); - -// src/compiler/transformers/es2016.ts -function transformES2016(context) { - const { - factory: factory2, - hoistVariableDeclaration - } = context; - return chainBundle(context, transformSourceFile); - function transformSourceFile(node) { - if (node.isDeclarationFile) { - return node; - } - return visitEachChild(node, visitor, context); - } - function visitor(node) { - if ((node.transformFlags & 512 /* ContainsES2016 */) === 0) { - return node; - } - switch (node.kind) { - case 226 /* BinaryExpression */: - return visitBinaryExpression(node); - default: - return visitEachChild(node, visitor, context); - } - } - function visitBinaryExpression(node) { - switch (node.operatorToken.kind) { - case 68 /* AsteriskAsteriskEqualsToken */: - return visitExponentiationAssignmentExpression(node); - case 43 /* AsteriskAsteriskToken */: - return visitExponentiationExpression(node); - default: - return visitEachChild(node, visitor, context); - } - } - function visitExponentiationAssignmentExpression(node) { - let target; - let value; - const left = visitNode(node.left, visitor, isExpression); - const right = visitNode(node.right, visitor, isExpression); - if (isElementAccessExpression(left)) { - const expressionTemp = factory2.createTempVariable(hoistVariableDeclaration); - const argumentExpressionTemp = factory2.createTempVariable(hoistVariableDeclaration); - target = setTextRange( - factory2.createElementAccessExpression( - setTextRange(factory2.createAssignment(expressionTemp, left.expression), left.expression), - setTextRange(factory2.createAssignment(argumentExpressionTemp, left.argumentExpression), left.argumentExpression) - ), - left - ); - value = setTextRange( - factory2.createElementAccessExpression( - expressionTemp, - argumentExpressionTemp - ), - left - ); - } else if (isPropertyAccessExpression(left)) { - const expressionTemp = factory2.createTempVariable(hoistVariableDeclaration); - target = setTextRange( - factory2.createPropertyAccessExpression( - setTextRange(factory2.createAssignment(expressionTemp, left.expression), left.expression), - left.name - ), - left - ); - value = setTextRange( - factory2.createPropertyAccessExpression( - expressionTemp, - left.name - ), - left - ); - } else { - target = left; - value = left; - } - return setTextRange( - factory2.createAssignment( - target, - setTextRange(factory2.createGlobalMethodCall("Math", "pow", [value, right]), node) - ), - node - ); - } - function visitExponentiationExpression(node) { - const left = visitNode(node.left, visitor, isExpression); - const right = visitNode(node.right, visitor, isExpression); - return setTextRange(factory2.createGlobalMethodCall("Math", "pow", [left, right]), node); - } -} - -// src/compiler/transformers/es2015.ts -function createSpreadSegment(kind, expression) { - return { kind, expression }; -} -function transformES2015(context) { - const { - factory: factory2, - getEmitHelperFactory: emitHelpers, - startLexicalEnvironment, - resumeLexicalEnvironment, - endLexicalEnvironment, - hoistVariableDeclaration - } = context; - const compilerOptions = context.getCompilerOptions(); - const resolver = context.getEmitResolver(); - const previousOnSubstituteNode = context.onSubstituteNode; - const previousOnEmitNode = context.onEmitNode; - context.onEmitNode = onEmitNode; - context.onSubstituteNode = onSubstituteNode; - let currentSourceFile; - let currentText; - let hierarchyFacts; - let taggedTemplateStringDeclarations; - function recordTaggedTemplateString(temp) { - taggedTemplateStringDeclarations = append( - taggedTemplateStringDeclarations, - factory2.createVariableDeclaration(temp) - ); - } - let convertedLoopState; - let enabledSubstitutions; - return chainBundle(context, transformSourceFile); - function transformSourceFile(node) { - if (node.isDeclarationFile) { - return node; - } - currentSourceFile = node; - currentText = node.text; - const visited = visitSourceFile(node); - addEmitHelpers(visited, context.readEmitHelpers()); - currentSourceFile = void 0; - currentText = void 0; - taggedTemplateStringDeclarations = void 0; - hierarchyFacts = 0 /* None */; - return visited; - } - function enterSubtree(excludeFacts, includeFacts) { - const ancestorFacts = hierarchyFacts; - hierarchyFacts = (hierarchyFacts & ~excludeFacts | includeFacts) & 32767 /* AncestorFactsMask */; - return ancestorFacts; - } - function exitSubtree(ancestorFacts, excludeFacts, includeFacts) { - hierarchyFacts = (hierarchyFacts & ~excludeFacts | includeFacts) & -32768 /* SubtreeFactsMask */ | ancestorFacts; - } - function isReturnVoidStatementInConstructorWithCapturedSuper(node) { - return (hierarchyFacts & 8192 /* ConstructorWithSuperCall */) !== 0 && node.kind === 253 /* ReturnStatement */ && !node.expression; - } - function isOrMayContainReturnCompletion(node) { - return node.transformFlags & 4194304 /* ContainsHoistedDeclarationOrCompletion */ && (isReturnStatement(node) || isIfStatement(node) || isWithStatement(node) || isSwitchStatement(node) || isCaseBlock(node) || isCaseClause(node) || isDefaultClause(node) || isTryStatement(node) || isCatchClause(node) || isLabeledStatement(node) || isIterationStatement( - node, - /*lookInLabeledStatements*/ - false - ) || isBlock(node)); - } - function shouldVisitNode(node) { - return (node.transformFlags & 1024 /* ContainsES2015 */) !== 0 || convertedLoopState !== void 0 || hierarchyFacts & 8192 /* ConstructorWithSuperCall */ && isOrMayContainReturnCompletion(node) || isIterationStatement( - node, - /*lookInLabeledStatements*/ - false - ) && shouldConvertIterationStatement(node) || (getInternalEmitFlags(node) & 1 /* TypeScriptClassWrapper */) !== 0; - } - function visitor(node) { - return shouldVisitNode(node) ? visitorWorker( - node, - /*expressionResultIsUnused*/ - false - ) : node; - } - function visitorWithUnusedExpressionResult(node) { - return shouldVisitNode(node) ? visitorWorker( - node, - /*expressionResultIsUnused*/ - true - ) : node; - } - function classWrapperStatementVisitor(node) { - if (shouldVisitNode(node)) { - const original = getOriginalNode(node); - if (isPropertyDeclaration(original) && hasStaticModifier(original)) { - const ancestorFacts = enterSubtree( - 32670 /* StaticInitializerExcludes */, - 16449 /* StaticInitializerIncludes */ - ); - const result = visitorWorker( - node, - /*expressionResultIsUnused*/ - false - ); - exitSubtree(ancestorFacts, 229376 /* FunctionSubtreeExcludes */, 0 /* None */); - return result; - } - return visitorWorker( - node, - /*expressionResultIsUnused*/ - false - ); - } - return node; - } - function callExpressionVisitor(node) { - if (node.kind === 108 /* SuperKeyword */) { - return visitSuperKeyword( - node, - /*isExpressionOfCall*/ - true - ); - } - return visitor(node); - } - function visitorWorker(node, expressionResultIsUnused2) { - switch (node.kind) { - case 126 /* StaticKeyword */: - return void 0; - case 263 /* ClassDeclaration */: - return visitClassDeclaration(node); - case 231 /* ClassExpression */: - return visitClassExpression(node); - case 169 /* Parameter */: - return visitParameter(node); - case 262 /* FunctionDeclaration */: - return visitFunctionDeclaration(node); - case 219 /* ArrowFunction */: - return visitArrowFunction(node); - case 218 /* FunctionExpression */: - return visitFunctionExpression(node); - case 260 /* VariableDeclaration */: - return visitVariableDeclaration(node); - case 80 /* Identifier */: - return visitIdentifier(node); - case 261 /* VariableDeclarationList */: - return visitVariableDeclarationList(node); - case 255 /* SwitchStatement */: - return visitSwitchStatement(node); - case 269 /* CaseBlock */: - return visitCaseBlock(node); - case 241 /* Block */: - return visitBlock( - node, - /*isFunctionBody*/ - false - ); - case 252 /* BreakStatement */: - case 251 /* ContinueStatement */: - return visitBreakOrContinueStatement(node); - case 256 /* LabeledStatement */: - return visitLabeledStatement(node); - case 246 /* DoStatement */: - case 247 /* WhileStatement */: - return visitDoOrWhileStatement( - node, - /*outermostLabeledStatement*/ - void 0 - ); - case 248 /* ForStatement */: - return visitForStatement( - node, - /*outermostLabeledStatement*/ - void 0 - ); - case 249 /* ForInStatement */: - return visitForInStatement( - node, - /*outermostLabeledStatement*/ - void 0 - ); - case 250 /* ForOfStatement */: - return visitForOfStatement( - node, - /*outermostLabeledStatement*/ - void 0 - ); - case 244 /* ExpressionStatement */: - return visitExpressionStatement(node); - case 210 /* ObjectLiteralExpression */: - return visitObjectLiteralExpression(node); - case 299 /* CatchClause */: - return visitCatchClause(node); - case 304 /* ShorthandPropertyAssignment */: - return visitShorthandPropertyAssignment(node); - case 167 /* ComputedPropertyName */: - return visitComputedPropertyName(node); - case 209 /* ArrayLiteralExpression */: - return visitArrayLiteralExpression(node); - case 213 /* CallExpression */: - return visitCallExpression(node); - case 214 /* NewExpression */: - return visitNewExpression(node); - case 217 /* ParenthesizedExpression */: - return visitParenthesizedExpression(node, expressionResultIsUnused2); - case 226 /* BinaryExpression */: - return visitBinaryExpression(node, expressionResultIsUnused2); - case 355 /* CommaListExpression */: - return visitCommaListExpression(node, expressionResultIsUnused2); - case 15 /* NoSubstitutionTemplateLiteral */: - case 16 /* TemplateHead */: - case 17 /* TemplateMiddle */: - case 18 /* TemplateTail */: - return visitTemplateLiteral(node); - case 11 /* StringLiteral */: - return visitStringLiteral(node); - case 9 /* NumericLiteral */: - return visitNumericLiteral(node); - case 215 /* TaggedTemplateExpression */: - return visitTaggedTemplateExpression(node); - case 228 /* TemplateExpression */: - return visitTemplateExpression(node); - case 229 /* YieldExpression */: - return visitYieldExpression(node); - case 230 /* SpreadElement */: - return visitSpreadElement(node); - case 108 /* SuperKeyword */: - return visitSuperKeyword( - node, - /*isExpressionOfCall*/ - false - ); - case 110 /* ThisKeyword */: - return visitThisKeyword(node); - case 236 /* MetaProperty */: - return visitMetaProperty(node); - case 174 /* MethodDeclaration */: - return visitMethodDeclaration(node); - case 177 /* GetAccessor */: - case 178 /* SetAccessor */: - return visitAccessorDeclaration(node); - case 243 /* VariableStatement */: - return visitVariableStatement(node); - case 253 /* ReturnStatement */: - return visitReturnStatement(node); - case 222 /* VoidExpression */: - return visitVoidExpression(node); - default: - return visitEachChild(node, visitor, context); - } - } - function visitSourceFile(node) { - const ancestorFacts = enterSubtree(8064 /* SourceFileExcludes */, 64 /* SourceFileIncludes */); - const prologue = []; - const statements = []; - startLexicalEnvironment(); - const statementOffset = factory2.copyPrologue( - node.statements, - prologue, - /*ensureUseStrict*/ - false, - visitor - ); - addRange(statements, visitNodes2(node.statements, visitor, isStatement, statementOffset)); - if (taggedTemplateStringDeclarations) { - statements.push( - factory2.createVariableStatement( - /*modifiers*/ - void 0, - factory2.createVariableDeclarationList(taggedTemplateStringDeclarations) - ) - ); - } - factory2.mergeLexicalEnvironment(prologue, endLexicalEnvironment()); - insertCaptureThisForNodeIfNeeded(prologue, node); - exitSubtree(ancestorFacts, 0 /* None */, 0 /* None */); - return factory2.updateSourceFile( - node, - setTextRange(factory2.createNodeArray(concatenate(prologue, statements)), node.statements) - ); - } - function visitSwitchStatement(node) { - if (convertedLoopState !== void 0) { - const savedAllowedNonLabeledJumps = convertedLoopState.allowedNonLabeledJumps; - convertedLoopState.allowedNonLabeledJumps |= 2 /* Break */; - const result = visitEachChild(node, visitor, context); - convertedLoopState.allowedNonLabeledJumps = savedAllowedNonLabeledJumps; - return result; - } - return visitEachChild(node, visitor, context); - } - function visitCaseBlock(node) { - const ancestorFacts = enterSubtree(7104 /* BlockScopeExcludes */, 0 /* BlockScopeIncludes */); - const updated = visitEachChild(node, visitor, context); - exitSubtree(ancestorFacts, 0 /* None */, 0 /* None */); - return updated; - } - function returnCapturedThis(node) { - return setOriginalNode(factory2.createReturnStatement(createCapturedThis()), node); - } - function createCapturedThis() { - return factory2.createUniqueName("_this", 16 /* Optimistic */ | 32 /* FileLevel */); - } - function visitReturnStatement(node) { - if (convertedLoopState) { - convertedLoopState.nonLocalJumps |= 8 /* Return */; - if (isReturnVoidStatementInConstructorWithCapturedSuper(node)) { - node = returnCapturedThis(node); - } - return factory2.createReturnStatement( - factory2.createObjectLiteralExpression( - [ - factory2.createPropertyAssignment( - factory2.createIdentifier("value"), - node.expression ? Debug.checkDefined(visitNode(node.expression, visitor, isExpression)) : factory2.createVoidZero() - ) - ] - ) - ); - } else if (isReturnVoidStatementInConstructorWithCapturedSuper(node)) { - return returnCapturedThis(node); - } - return visitEachChild(node, visitor, context); - } - function visitThisKeyword(node) { - hierarchyFacts |= 65536 /* LexicalThis */; - if (hierarchyFacts & 2 /* ArrowFunction */ && !(hierarchyFacts & 16384 /* StaticInitializer */)) { - hierarchyFacts |= 131072 /* CapturedLexicalThis */; - } - if (convertedLoopState) { - if (hierarchyFacts & 2 /* ArrowFunction */) { - convertedLoopState.containsLexicalThis = true; - return node; - } - return convertedLoopState.thisName || (convertedLoopState.thisName = factory2.createUniqueName("this")); - } - return node; - } - function visitVoidExpression(node) { - return visitEachChild(node, visitorWithUnusedExpressionResult, context); - } - function visitIdentifier(node) { - if (convertedLoopState) { - if (resolver.isArgumentsLocalBinding(node)) { - return convertedLoopState.argumentsName || (convertedLoopState.argumentsName = factory2.createUniqueName("arguments")); - } - } - if (node.flags & 256 /* IdentifierHasExtendedUnicodeEscape */) { - return setOriginalNode( - setTextRange( - factory2.createIdentifier(unescapeLeadingUnderscores(node.escapedText)), - node - ), - node - ); - } - return node; - } - function visitBreakOrContinueStatement(node) { - if (convertedLoopState) { - const jump = node.kind === 252 /* BreakStatement */ ? 2 /* Break */ : 4 /* Continue */; - const canUseBreakOrContinue = node.label && convertedLoopState.labels && convertedLoopState.labels.get(idText(node.label)) || !node.label && convertedLoopState.allowedNonLabeledJumps & jump; - if (!canUseBreakOrContinue) { - let labelMarker; - const label = node.label; - if (!label) { - if (node.kind === 252 /* BreakStatement */) { - convertedLoopState.nonLocalJumps |= 2 /* Break */; - labelMarker = "break"; - } else { - convertedLoopState.nonLocalJumps |= 4 /* Continue */; - labelMarker = "continue"; - } - } else { - if (node.kind === 252 /* BreakStatement */) { - labelMarker = `break-${label.escapedText}`; - setLabeledJump( - convertedLoopState, - /*isBreak*/ - true, - idText(label), - labelMarker - ); - } else { - labelMarker = `continue-${label.escapedText}`; - setLabeledJump( - convertedLoopState, - /*isBreak*/ - false, - idText(label), - labelMarker - ); - } - } - let returnExpression = factory2.createStringLiteral(labelMarker); - if (convertedLoopState.loopOutParameters.length) { - const outParams = convertedLoopState.loopOutParameters; - let expr; - for (let i = 0; i < outParams.length; i++) { - const copyExpr = copyOutParameter(outParams[i], 1 /* ToOutParameter */); - if (i === 0) { - expr = copyExpr; - } else { - expr = factory2.createBinaryExpression(expr, 28 /* CommaToken */, copyExpr); - } - } - returnExpression = factory2.createBinaryExpression(expr, 28 /* CommaToken */, returnExpression); - } - return factory2.createReturnStatement(returnExpression); - } - } - return visitEachChild(node, visitor, context); - } - function visitClassDeclaration(node) { - const variable = factory2.createVariableDeclaration( - factory2.getLocalName( - node, - /*allowComments*/ - true - ), - /*exclamationToken*/ - void 0, - /*type*/ - void 0, - transformClassLikeDeclarationToExpression(node) - ); - setOriginalNode(variable, node); - const statements = []; - const statement = factory2.createVariableStatement( - /*modifiers*/ - void 0, - factory2.createVariableDeclarationList([variable]) - ); - setOriginalNode(statement, node); - setTextRange(statement, node); - startOnNewLine(statement); - statements.push(statement); - if (hasSyntacticModifier(node, 32 /* Export */)) { - const exportStatement = hasSyntacticModifier(node, 2048 /* Default */) ? factory2.createExportDefault(factory2.getLocalName(node)) : factory2.createExternalModuleExport(factory2.getLocalName(node)); - setOriginalNode(exportStatement, statement); - statements.push(exportStatement); - } - return singleOrMany(statements); - } - function visitClassExpression(node) { - return transformClassLikeDeclarationToExpression(node); - } - function transformClassLikeDeclarationToExpression(node) { - if (node.name) { - enableSubstitutionsForBlockScopedBindings(); - } - const extendsClauseElement = getClassExtendsHeritageElement(node); - const classFunction = factory2.createFunctionExpression( - /*modifiers*/ - void 0, - /*asteriskToken*/ - void 0, - /*name*/ - void 0, - /*typeParameters*/ - void 0, - extendsClauseElement ? [factory2.createParameterDeclaration( - /*modifiers*/ - void 0, - /*dotDotDotToken*/ - void 0, - createSyntheticSuper() - )] : [], - /*type*/ - void 0, - transformClassBody(node, extendsClauseElement) - ); - setEmitFlags(classFunction, getEmitFlags(node) & 131072 /* Indented */ | 1048576 /* ReuseTempVariableScope */); - const inner = factory2.createPartiallyEmittedExpression(classFunction); - setTextRangeEnd(inner, node.end); - setEmitFlags(inner, 3072 /* NoComments */); - const outer = factory2.createPartiallyEmittedExpression(inner); - setTextRangeEnd(outer, skipTrivia(currentText, node.pos)); - setEmitFlags(outer, 3072 /* NoComments */); - const result = factory2.createParenthesizedExpression( - factory2.createCallExpression( - outer, - /*typeArguments*/ - void 0, - extendsClauseElement ? [Debug.checkDefined(visitNode(extendsClauseElement.expression, visitor, isExpression))] : [] - ) - ); - addSyntheticLeadingComment(result, 3 /* MultiLineCommentTrivia */, "* @class "); - return result; - } - function transformClassBody(node, extendsClauseElement) { - const statements = []; - const name = factory2.getInternalName(node); - const constructorLikeName = isIdentifierANonContextualKeyword(name) ? factory2.getGeneratedNameForNode(name) : name; - startLexicalEnvironment(); - addExtendsHelperIfNeeded(statements, node, extendsClauseElement); - addConstructor(statements, node, constructorLikeName, extendsClauseElement); - addClassMembers(statements, node); - const closingBraceLocation = createTokenRange(skipTrivia(currentText, node.members.end), 20 /* CloseBraceToken */); - const outer = factory2.createPartiallyEmittedExpression(constructorLikeName); - setTextRangeEnd(outer, closingBraceLocation.end); - setEmitFlags(outer, 3072 /* NoComments */); - const statement = factory2.createReturnStatement(outer); - setTextRangePos(statement, closingBraceLocation.pos); - setEmitFlags(statement, 3072 /* NoComments */ | 768 /* NoTokenSourceMaps */); - statements.push(statement); - insertStatementsAfterStandardPrologue(statements, endLexicalEnvironment()); - const block = factory2.createBlock( - setTextRange( - factory2.createNodeArray(statements), - /*location*/ - node.members - ), - /*multiLine*/ - true - ); - setEmitFlags(block, 3072 /* NoComments */); - return block; - } - function addExtendsHelperIfNeeded(statements, node, extendsClauseElement) { - if (extendsClauseElement) { - statements.push( - setTextRange( - factory2.createExpressionStatement( - emitHelpers().createExtendsHelper(factory2.getInternalName(node)) - ), - /*location*/ - extendsClauseElement - ) - ); - } - } - function addConstructor(statements, node, name, extendsClauseElement) { - const savedConvertedLoopState = convertedLoopState; - convertedLoopState = void 0; - const ancestorFacts = enterSubtree(32662 /* ConstructorExcludes */, 73 /* ConstructorIncludes */); - const constructor = getFirstConstructorWithBody(node); - const hasSynthesizedSuper = hasSynthesizedDefaultSuperCall(constructor, extendsClauseElement !== void 0); - const constructorFunction = factory2.createFunctionDeclaration( - /*modifiers*/ - void 0, - /*asteriskToken*/ - void 0, - name, - /*typeParameters*/ - void 0, - transformConstructorParameters(constructor, hasSynthesizedSuper), - /*type*/ - void 0, - transformConstructorBody(constructor, node, extendsClauseElement, hasSynthesizedSuper) - ); - setTextRange(constructorFunction, constructor || node); - if (extendsClauseElement) { - setEmitFlags(constructorFunction, 16 /* CapturesThis */); - } - statements.push(constructorFunction); - exitSubtree(ancestorFacts, 229376 /* FunctionSubtreeExcludes */, 0 /* None */); - convertedLoopState = savedConvertedLoopState; - } - function transformConstructorParameters(constructor, hasSynthesizedSuper) { - return visitParameterList(constructor && !hasSynthesizedSuper ? constructor.parameters : void 0, visitor, context) || []; - } - function createDefaultConstructorBody(node, isDerivedClass) { - const statements = []; - resumeLexicalEnvironment(); - factory2.mergeLexicalEnvironment(statements, endLexicalEnvironment()); - if (isDerivedClass) { - statements.push(factory2.createReturnStatement(createDefaultSuperCallOrThis())); - } - const statementsArray = factory2.createNodeArray(statements); - setTextRange(statementsArray, node.members); - const block = factory2.createBlock( - statementsArray, - /*multiLine*/ - true - ); - setTextRange(block, node); - setEmitFlags(block, 3072 /* NoComments */); - return block; - } - function isUninitializedVariableStatement(node) { - return isVariableStatement(node) && every(node.declarationList.declarations, (decl) => isIdentifier(decl.name) && !decl.initializer); - } - function containsSuperCall(node) { - if (isSuperCall(node)) { - return true; - } - if (!(node.transformFlags & 134217728 /* ContainsLexicalSuper */)) { - return false; - } - switch (node.kind) { - case 219 /* ArrowFunction */: - case 218 /* FunctionExpression */: - case 262 /* FunctionDeclaration */: - case 176 /* Constructor */: - case 175 /* ClassStaticBlockDeclaration */: - return false; - case 177 /* GetAccessor */: - case 178 /* SetAccessor */: - case 174 /* MethodDeclaration */: - case 172 /* PropertyDeclaration */: { - const named = node; - if (isComputedPropertyName(named.name)) { - return !!forEachChild(named.name, containsSuperCall); - } - return false; - } - } - return !!forEachChild(node, containsSuperCall); - } - function transformConstructorBody(constructor, node, extendsClauseElement, hasSynthesizedSuper) { - const isDerivedClass = !!extendsClauseElement && skipOuterExpressions(extendsClauseElement.expression).kind !== 106 /* NullKeyword */; - if (!constructor) return createDefaultConstructorBody(node, isDerivedClass); - const prologue = []; - const statements = []; - resumeLexicalEnvironment(); - const standardPrologueEnd = factory2.copyStandardPrologue( - constructor.body.statements, - prologue, - /*statementOffset*/ - 0 - ); - if (hasSynthesizedSuper || containsSuperCall(constructor.body)) { - hierarchyFacts |= 8192 /* ConstructorWithSuperCall */; - } - addRange(statements, visitNodes2(constructor.body.statements, visitor, isStatement, standardPrologueEnd)); - const mayReplaceThis = isDerivedClass || hierarchyFacts & 8192 /* ConstructorWithSuperCall */; - addDefaultValueAssignmentsIfNeeded2(prologue, constructor); - addRestParameterIfNeeded(prologue, constructor, hasSynthesizedSuper); - insertCaptureNewTargetIfNeeded(prologue, constructor); - if (mayReplaceThis) { - insertCaptureThisForNode(prologue, constructor, createActualThis()); - } else { - insertCaptureThisForNodeIfNeeded(prologue, constructor); - } - factory2.mergeLexicalEnvironment(prologue, endLexicalEnvironment()); - if (mayReplaceThis && !isSufficientlyCoveredByReturnStatements(constructor.body)) { - statements.push(factory2.createReturnStatement(createCapturedThis())); - } - const body = factory2.createBlock( - setTextRange( - factory2.createNodeArray( - [ - ...prologue, - ...statements - ] - ), - /*location*/ - constructor.body.statements - ), - /*multiLine*/ - true - ); - setTextRange(body, constructor.body); - return simplifyConstructor(body, constructor.body, hasSynthesizedSuper); - } - function isCapturedThis(node) { - return isGeneratedIdentifier(node) && idText(node) === "_this"; - } - function isSyntheticSuper(node) { - return isGeneratedIdentifier(node) && idText(node) === "_super"; - } - function isThisCapturingVariableStatement(node) { - return isVariableStatement(node) && node.declarationList.declarations.length === 1 && isThisCapturingVariableDeclaration(node.declarationList.declarations[0]); - } - function isThisCapturingVariableDeclaration(node) { - return isVariableDeclaration(node) && isCapturedThis(node.name) && !!node.initializer; - } - function isThisCapturingAssignment(node) { - return isAssignmentExpression( - node, - /*excludeCompoundAssignment*/ - true - ) && isCapturedThis(node.left); - } - function isTransformedSuperCall(node) { - return isCallExpression(node) && isPropertyAccessExpression(node.expression) && isSyntheticSuper(node.expression.expression) && isIdentifier(node.expression.name) && (idText(node.expression.name) === "call" || idText(node.expression.name) === "apply") && node.arguments.length >= 1 && node.arguments[0].kind === 110 /* ThisKeyword */; - } - function isTransformedSuperCallWithFallback(node) { - return isBinaryExpression(node) && node.operatorToken.kind === 57 /* BarBarToken */ && node.right.kind === 110 /* ThisKeyword */ && isTransformedSuperCall(node.left); - } - function isImplicitSuperCall(node) { - return isBinaryExpression(node) && node.operatorToken.kind === 56 /* AmpersandAmpersandToken */ && isBinaryExpression(node.left) && node.left.operatorToken.kind === 38 /* ExclamationEqualsEqualsToken */ && isSyntheticSuper(node.left.left) && node.left.right.kind === 106 /* NullKeyword */ && isTransformedSuperCall(node.right) && idText(node.right.expression.name) === "apply"; - } - function isImplicitSuperCallWithFallback(node) { - return isBinaryExpression(node) && node.operatorToken.kind === 57 /* BarBarToken */ && node.right.kind === 110 /* ThisKeyword */ && isImplicitSuperCall(node.left); - } - function isThisCapturingTransformedSuperCallWithFallback(node) { - return isThisCapturingAssignment(node) && isTransformedSuperCallWithFallback(node.right); - } - function isThisCapturingImplicitSuperCallWithFallback(node) { - return isThisCapturingAssignment(node) && isImplicitSuperCallWithFallback(node.right); - } - function isTransformedSuperCallLike(node) { - return isTransformedSuperCall(node) || isTransformedSuperCallWithFallback(node) || isThisCapturingTransformedSuperCallWithFallback(node) || isImplicitSuperCall(node) || isImplicitSuperCallWithFallback(node) || isThisCapturingImplicitSuperCallWithFallback(node); - } - function simplifyConstructorInlineSuperInThisCaptureVariable(body) { - for (let i = 0; i < body.statements.length - 1; i++) { - const statement = body.statements[i]; - if (!isThisCapturingVariableStatement(statement)) { - continue; - } - const varDecl = statement.declarationList.declarations[0]; - if (varDecl.initializer.kind !== 110 /* ThisKeyword */) { - continue; - } - const thisCaptureStatementIndex = i; - let superCallIndex = i + 1; - while (superCallIndex < body.statements.length) { - const statement2 = body.statements[superCallIndex]; - if (isExpressionStatement(statement2)) { - if (isTransformedSuperCallLike(skipOuterExpressions(statement2.expression))) { - break; - } - } - if (isUninitializedVariableStatement(statement2)) { - superCallIndex++; - continue; - } - return body; - } - const following = body.statements[superCallIndex]; - let expression = following.expression; - if (isThisCapturingAssignment(expression)) { - expression = expression.right; - } - const newVarDecl = factory2.updateVariableDeclaration( - varDecl, - varDecl.name, - /*exclamationToken*/ - void 0, - /*type*/ - void 0, - expression - ); - const newDeclList = factory2.updateVariableDeclarationList(statement.declarationList, [newVarDecl]); - const newVarStatement = factory2.createVariableStatement(statement.modifiers, newDeclList); - setOriginalNode(newVarStatement, following); - setTextRange(newVarStatement, following); - const newStatements = factory2.createNodeArray([ - ...body.statements.slice(0, thisCaptureStatementIndex), - // copy statements preceding to `var _this` - ...body.statements.slice(thisCaptureStatementIndex + 1, superCallIndex), - // copy intervening temp variables - newVarStatement, - ...body.statements.slice(superCallIndex + 1) - // copy statements following `super.call(this, ...)` - ]); - setTextRange(newStatements, body.statements); - return factory2.updateBlock(body, newStatements); - } - return body; - } - function simplifyConstructorInlineSuperReturn(body, original) { - for (const statement of original.statements) { - if (statement.transformFlags & 134217728 /* ContainsLexicalSuper */ && !getSuperCallFromStatement(statement)) { - return body; - } - } - const canElideThisCapturingVariable = !(original.transformFlags & 16384 /* ContainsLexicalThis */) && !(hierarchyFacts & 65536 /* LexicalThis */) && !(hierarchyFacts & 131072 /* CapturedLexicalThis */); - for (let i = body.statements.length - 1; i > 0; i--) { - const statement = body.statements[i]; - if (isReturnStatement(statement) && statement.expression && isCapturedThis(statement.expression)) { - const preceding = body.statements[i - 1]; - let expression; - if (isExpressionStatement(preceding) && isThisCapturingTransformedSuperCallWithFallback(skipOuterExpressions(preceding.expression))) { - expression = preceding.expression; - } else if (canElideThisCapturingVariable && isThisCapturingVariableStatement(preceding)) { - const varDecl = preceding.declarationList.declarations[0]; - if (isTransformedSuperCallLike(skipOuterExpressions(varDecl.initializer))) { - expression = factory2.createAssignment( - createCapturedThis(), - varDecl.initializer - ); - } - } - if (!expression) { - break; - } - const newReturnStatement = factory2.createReturnStatement(expression); - setOriginalNode(newReturnStatement, preceding); - setTextRange(newReturnStatement, preceding); - const newStatements = factory2.createNodeArray([ - ...body.statements.slice(0, i - 1), - // copy all statements preceding `_super.call(this, ...)` - newReturnStatement, - ...body.statements.slice(i + 1) - // copy all statements following `return _this;` - ]); - setTextRange(newStatements, body.statements); - return factory2.updateBlock(body, newStatements); - } - } - return body; - } - function elideUnusedThisCaptureWorker(node) { - if (isThisCapturingVariableStatement(node)) { - const varDecl = node.declarationList.declarations[0]; - if (varDecl.initializer.kind === 110 /* ThisKeyword */) { - return void 0; - } - } else if (isThisCapturingAssignment(node)) { - return factory2.createPartiallyEmittedExpression(node.right, node); - } - switch (node.kind) { - case 219 /* ArrowFunction */: - case 218 /* FunctionExpression */: - case 262 /* FunctionDeclaration */: - case 176 /* Constructor */: - case 175 /* ClassStaticBlockDeclaration */: - return node; - case 177 /* GetAccessor */: - case 178 /* SetAccessor */: - case 174 /* MethodDeclaration */: - case 172 /* PropertyDeclaration */: { - const named = node; - if (isComputedPropertyName(named.name)) { - return factory2.replacePropertyName(named, visitEachChild( - named.name, - elideUnusedThisCaptureWorker, - /*context*/ - void 0 - )); - } - return node; - } - } - return visitEachChild( - node, - elideUnusedThisCaptureWorker, - /*context*/ - void 0 - ); - } - function simplifyConstructorElideUnusedThisCapture(body, original) { - if (original.transformFlags & 16384 /* ContainsLexicalThis */ || hierarchyFacts & 65536 /* LexicalThis */ || hierarchyFacts & 131072 /* CapturedLexicalThis */) { - return body; - } - for (const statement of original.statements) { - if (statement.transformFlags & 134217728 /* ContainsLexicalSuper */ && !getSuperCallFromStatement(statement)) { - return body; - } - } - return factory2.updateBlock(body, visitNodes2(body.statements, elideUnusedThisCaptureWorker, isStatement)); - } - function injectSuperPresenceCheckWorker(node) { - if (isTransformedSuperCall(node) && node.arguments.length === 2 && isIdentifier(node.arguments[1]) && idText(node.arguments[1]) === "arguments") { - return factory2.createLogicalAnd( - factory2.createStrictInequality( - createSyntheticSuper(), - factory2.createNull() - ), - node - ); - } - switch (node.kind) { - case 219 /* ArrowFunction */: - case 218 /* FunctionExpression */: - case 262 /* FunctionDeclaration */: - case 176 /* Constructor */: - case 175 /* ClassStaticBlockDeclaration */: - return node; - case 177 /* GetAccessor */: - case 178 /* SetAccessor */: - case 174 /* MethodDeclaration */: - case 172 /* PropertyDeclaration */: { - const named = node; - if (isComputedPropertyName(named.name)) { - return factory2.replacePropertyName(named, visitEachChild( - named.name, - injectSuperPresenceCheckWorker, - /*context*/ - void 0 - )); - } - return node; - } - } - return visitEachChild( - node, - injectSuperPresenceCheckWorker, - /*context*/ - void 0 - ); - } - function complicateConstructorInjectSuperPresenceCheck(body) { - return factory2.updateBlock(body, visitNodes2(body.statements, injectSuperPresenceCheckWorker, isStatement)); - } - function simplifyConstructor(body, original, hasSynthesizedSuper) { - const inputBody = body; - body = simplifyConstructorInlineSuperInThisCaptureVariable(body); - body = simplifyConstructorInlineSuperReturn(body, original); - if (body !== inputBody) { - body = simplifyConstructorElideUnusedThisCapture(body, original); - } - if (hasSynthesizedSuper) { - body = complicateConstructorInjectSuperPresenceCheck(body); - } - return body; - } - function isSufficientlyCoveredByReturnStatements(statement) { - if (statement.kind === 253 /* ReturnStatement */) { - return true; - } else if (statement.kind === 245 /* IfStatement */) { - const ifStatement = statement; - if (ifStatement.elseStatement) { - return isSufficientlyCoveredByReturnStatements(ifStatement.thenStatement) && isSufficientlyCoveredByReturnStatements(ifStatement.elseStatement); - } - } else if (statement.kind === 241 /* Block */) { - const lastStatement = lastOrUndefined(statement.statements); - if (lastStatement && isSufficientlyCoveredByReturnStatements(lastStatement)) { - return true; - } - } - return false; - } - function createActualThis() { - return setEmitFlags(factory2.createThis(), 8 /* NoSubstitution */); - } - function createDefaultSuperCallOrThis() { - return factory2.createLogicalOr( - factory2.createLogicalAnd( - factory2.createStrictInequality( - createSyntheticSuper(), - factory2.createNull() - ), - factory2.createFunctionApplyCall( - createSyntheticSuper(), - createActualThis(), - factory2.createIdentifier("arguments") - ) - ), - createActualThis() - ); - } - function visitParameter(node) { - if (node.dotDotDotToken) { - return void 0; - } else if (isBindingPattern(node.name)) { - return setOriginalNode( - setTextRange( - factory2.createParameterDeclaration( - /*modifiers*/ - void 0, - /*dotDotDotToken*/ - void 0, - factory2.getGeneratedNameForNode(node), - /*questionToken*/ - void 0, - /*type*/ - void 0, - /*initializer*/ - void 0 - ), - /*location*/ - node - ), - /*original*/ - node - ); - } else if (node.initializer) { - return setOriginalNode( - setTextRange( - factory2.createParameterDeclaration( - /*modifiers*/ - void 0, - /*dotDotDotToken*/ - void 0, - node.name, - /*questionToken*/ - void 0, - /*type*/ - void 0, - /*initializer*/ - void 0 - ), - /*location*/ - node - ), - /*original*/ - node - ); - } else { - return node; - } - } - function hasDefaultValueOrBindingPattern(node) { - return node.initializer !== void 0 || isBindingPattern(node.name); - } - function addDefaultValueAssignmentsIfNeeded2(statements, node) { - if (!some(node.parameters, hasDefaultValueOrBindingPattern)) { - return false; - } - let added = false; - for (const parameter of node.parameters) { - const { name, initializer, dotDotDotToken } = parameter; - if (dotDotDotToken) { - continue; - } - if (isBindingPattern(name)) { - added = insertDefaultValueAssignmentForBindingPattern(statements, parameter, name, initializer) || added; - } else if (initializer) { - insertDefaultValueAssignmentForInitializer(statements, parameter, name, initializer); - added = true; - } - } - return added; - } - function insertDefaultValueAssignmentForBindingPattern(statements, parameter, name, initializer) { - if (name.elements.length > 0) { - insertStatementAfterCustomPrologue( - statements, - setEmitFlags( - factory2.createVariableStatement( - /*modifiers*/ - void 0, - factory2.createVariableDeclarationList( - flattenDestructuringBinding( - parameter, - visitor, - context, - 0 /* All */, - factory2.getGeneratedNameForNode(parameter) - ) - ) - ), - 2097152 /* CustomPrologue */ - ) - ); - return true; - } else if (initializer) { - insertStatementAfterCustomPrologue( - statements, - setEmitFlags( - factory2.createExpressionStatement( - factory2.createAssignment( - factory2.getGeneratedNameForNode(parameter), - Debug.checkDefined(visitNode(initializer, visitor, isExpression)) - ) - ), - 2097152 /* CustomPrologue */ - ) - ); - return true; - } - return false; - } - function insertDefaultValueAssignmentForInitializer(statements, parameter, name, initializer) { - initializer = Debug.checkDefined(visitNode(initializer, visitor, isExpression)); - const statement = factory2.createIfStatement( - factory2.createTypeCheck(factory2.cloneNode(name), "undefined"), - setEmitFlags( - setTextRange( - factory2.createBlock([ - factory2.createExpressionStatement( - setEmitFlags( - setTextRange( - factory2.createAssignment( - // TODO(rbuckton): Does this need to be parented? - setEmitFlags(setParent(setTextRange(factory2.cloneNode(name), name), name.parent), 96 /* NoSourceMap */), - setEmitFlags(initializer, 96 /* NoSourceMap */ | getEmitFlags(initializer) | 3072 /* NoComments */) - ), - parameter - ), - 3072 /* NoComments */ - ) - ) - ]), - parameter - ), - 1 /* SingleLine */ | 64 /* NoTrailingSourceMap */ | 768 /* NoTokenSourceMaps */ | 3072 /* NoComments */ - ) - ); - startOnNewLine(statement); - setTextRange(statement, parameter); - setEmitFlags(statement, 768 /* NoTokenSourceMaps */ | 64 /* NoTrailingSourceMap */ | 2097152 /* CustomPrologue */ | 3072 /* NoComments */); - insertStatementAfterCustomPrologue(statements, statement); - } - function shouldAddRestParameter(node, inConstructorWithSynthesizedSuper) { - return !!(node && node.dotDotDotToken && !inConstructorWithSynthesizedSuper); - } - function addRestParameterIfNeeded(statements, node, inConstructorWithSynthesizedSuper) { - const prologueStatements = []; - const parameter = lastOrUndefined(node.parameters); - if (!shouldAddRestParameter(parameter, inConstructorWithSynthesizedSuper)) { - return false; - } - const declarationName = parameter.name.kind === 80 /* Identifier */ ? setParent(setTextRange(factory2.cloneNode(parameter.name), parameter.name), parameter.name.parent) : factory2.createTempVariable( - /*recordTempVariable*/ - void 0 - ); - setEmitFlags(declarationName, 96 /* NoSourceMap */); - const expressionName = parameter.name.kind === 80 /* Identifier */ ? factory2.cloneNode(parameter.name) : declarationName; - const restIndex = node.parameters.length - 1; - const temp = factory2.createLoopVariable(); - prologueStatements.push( - setEmitFlags( - setTextRange( - factory2.createVariableStatement( - /*modifiers*/ - void 0, - factory2.createVariableDeclarationList([ - factory2.createVariableDeclaration( - declarationName, - /*exclamationToken*/ - void 0, - /*type*/ - void 0, - factory2.createArrayLiteralExpression([]) - ) - ]) - ), - /*location*/ - parameter - ), - 2097152 /* CustomPrologue */ - ) - ); - const forStatement = factory2.createForStatement( - setTextRange( - factory2.createVariableDeclarationList([ - factory2.createVariableDeclaration( - temp, - /*exclamationToken*/ - void 0, - /*type*/ - void 0, - factory2.createNumericLiteral(restIndex) - ) - ]), - parameter - ), - setTextRange( - factory2.createLessThan( - temp, - factory2.createPropertyAccessExpression(factory2.createIdentifier("arguments"), "length") - ), - parameter - ), - setTextRange(factory2.createPostfixIncrement(temp), parameter), - factory2.createBlock([ - startOnNewLine( - setTextRange( - factory2.createExpressionStatement( - factory2.createAssignment( - factory2.createElementAccessExpression( - expressionName, - restIndex === 0 ? temp : factory2.createSubtract(temp, factory2.createNumericLiteral(restIndex)) - ), - factory2.createElementAccessExpression(factory2.createIdentifier("arguments"), temp) - ) - ), - /*location*/ - parameter - ) - ) - ]) - ); - setEmitFlags(forStatement, 2097152 /* CustomPrologue */); - startOnNewLine(forStatement); - prologueStatements.push(forStatement); - if (parameter.name.kind !== 80 /* Identifier */) { - prologueStatements.push( - setEmitFlags( - setTextRange( - factory2.createVariableStatement( - /*modifiers*/ - void 0, - factory2.createVariableDeclarationList( - flattenDestructuringBinding(parameter, visitor, context, 0 /* All */, expressionName) - ) - ), - parameter - ), - 2097152 /* CustomPrologue */ - ) - ); - } - insertStatementsAfterCustomPrologue(statements, prologueStatements); - return true; - } - function insertCaptureThisForNodeIfNeeded(statements, node) { - if (hierarchyFacts & 131072 /* CapturedLexicalThis */ && node.kind !== 219 /* ArrowFunction */) { - insertCaptureThisForNode(statements, node, factory2.createThis()); - return true; - } - return false; - } - function insertCaptureThisForNode(statements, node, initializer) { - enableSubstitutionsForCapturedThis(); - const captureThisStatement = factory2.createVariableStatement( - /*modifiers*/ - void 0, - factory2.createVariableDeclarationList([ - factory2.createVariableDeclaration( - createCapturedThis(), - /*exclamationToken*/ - void 0, - /*type*/ - void 0, - initializer - ) - ]) - ); - setEmitFlags(captureThisStatement, 3072 /* NoComments */ | 2097152 /* CustomPrologue */); - setSourceMapRange(captureThisStatement, node); - insertStatementAfterCustomPrologue(statements, captureThisStatement); - } - function insertCaptureNewTargetIfNeeded(statements, node) { - if (hierarchyFacts & 32768 /* NewTarget */) { - let newTarget; - switch (node.kind) { - case 219 /* ArrowFunction */: - return statements; - case 174 /* MethodDeclaration */: - case 177 /* GetAccessor */: - case 178 /* SetAccessor */: - newTarget = factory2.createVoidZero(); - break; - case 176 /* Constructor */: - newTarget = factory2.createPropertyAccessExpression( - setEmitFlags(factory2.createThis(), 8 /* NoSubstitution */), - "constructor" - ); - break; - case 262 /* FunctionDeclaration */: - case 218 /* FunctionExpression */: - newTarget = factory2.createConditionalExpression( - factory2.createLogicalAnd( - setEmitFlags(factory2.createThis(), 8 /* NoSubstitution */), - factory2.createBinaryExpression( - setEmitFlags(factory2.createThis(), 8 /* NoSubstitution */), - 104 /* InstanceOfKeyword */, - factory2.getLocalName(node) - ) - ), - /*questionToken*/ - void 0, - factory2.createPropertyAccessExpression( - setEmitFlags(factory2.createThis(), 8 /* NoSubstitution */), - "constructor" - ), - /*colonToken*/ - void 0, - factory2.createVoidZero() - ); - break; - default: - return Debug.failBadSyntaxKind(node); - } - const captureNewTargetStatement = factory2.createVariableStatement( - /*modifiers*/ - void 0, - factory2.createVariableDeclarationList([ - factory2.createVariableDeclaration( - factory2.createUniqueName("_newTarget", 16 /* Optimistic */ | 32 /* FileLevel */), - /*exclamationToken*/ - void 0, - /*type*/ - void 0, - newTarget - ) - ]) - ); - setEmitFlags(captureNewTargetStatement, 3072 /* NoComments */ | 2097152 /* CustomPrologue */); - insertStatementAfterCustomPrologue(statements, captureNewTargetStatement); - } - return statements; - } - function addClassMembers(statements, node) { - for (const member of node.members) { - switch (member.kind) { - case 240 /* SemicolonClassElement */: - statements.push(transformSemicolonClassElementToStatement(member)); - break; - case 174 /* MethodDeclaration */: - statements.push(transformClassMethodDeclarationToStatement(getClassMemberPrefix(node, member), member, node)); - break; - case 177 /* GetAccessor */: - case 178 /* SetAccessor */: - const accessors = getAllAccessorDeclarations(node.members, member); - if (member === accessors.firstAccessor) { - statements.push(transformAccessorsToStatement(getClassMemberPrefix(node, member), accessors, node)); - } - break; - case 176 /* Constructor */: - case 175 /* ClassStaticBlockDeclaration */: - break; - default: - Debug.failBadSyntaxKind(member, currentSourceFile && currentSourceFile.fileName); - break; - } - } - } - function transformSemicolonClassElementToStatement(member) { - return setTextRange(factory2.createEmptyStatement(), member); - } - function transformClassMethodDeclarationToStatement(receiver, member, container) { - const commentRange = getCommentRange(member); - const sourceMapRange = getSourceMapRange(member); - const memberFunction = transformFunctionLikeToExpression( - member, - /*location*/ - member, - /*name*/ - void 0, - container - ); - const propertyName = visitNode(member.name, visitor, isPropertyName); - Debug.assert(propertyName); - let e; - if (!isPrivateIdentifier(propertyName) && getUseDefineForClassFields(context.getCompilerOptions())) { - const name = isComputedPropertyName(propertyName) ? propertyName.expression : isIdentifier(propertyName) ? factory2.createStringLiteral(unescapeLeadingUnderscores(propertyName.escapedText)) : propertyName; - e = factory2.createObjectDefinePropertyCall(receiver, name, factory2.createPropertyDescriptor({ value: memberFunction, enumerable: false, writable: true, configurable: true })); - } else { - const memberName = createMemberAccessForPropertyName( - factory2, - receiver, - propertyName, - /*location*/ - member.name - ); - e = factory2.createAssignment(memberName, memberFunction); - } - setEmitFlags(memberFunction, 3072 /* NoComments */); - setSourceMapRange(memberFunction, sourceMapRange); - const statement = setTextRange( - factory2.createExpressionStatement(e), - /*location*/ - member - ); - setOriginalNode(statement, member); - setCommentRange(statement, commentRange); - setEmitFlags(statement, 96 /* NoSourceMap */); - return statement; - } - function transformAccessorsToStatement(receiver, accessors, container) { - const statement = factory2.createExpressionStatement(transformAccessorsToExpression( - receiver, - accessors, - container, - /*startsOnNewLine*/ - false - )); - setEmitFlags(statement, 3072 /* NoComments */); - setSourceMapRange(statement, getSourceMapRange(accessors.firstAccessor)); - return statement; - } - function transformAccessorsToExpression(receiver, { firstAccessor, getAccessor, setAccessor }, container, startsOnNewLine) { - const target = setParent(setTextRange(factory2.cloneNode(receiver), receiver), receiver.parent); - setEmitFlags(target, 3072 /* NoComments */ | 64 /* NoTrailingSourceMap */); - setSourceMapRange(target, firstAccessor.name); - const visitedAccessorName = visitNode(firstAccessor.name, visitor, isPropertyName); - Debug.assert(visitedAccessorName); - if (isPrivateIdentifier(visitedAccessorName)) { - return Debug.failBadSyntaxKind(visitedAccessorName, "Encountered unhandled private identifier while transforming ES2015."); - } - const propertyName = createExpressionForPropertyName(factory2, visitedAccessorName); - setEmitFlags(propertyName, 3072 /* NoComments */ | 32 /* NoLeadingSourceMap */); - setSourceMapRange(propertyName, firstAccessor.name); - const properties = []; - if (getAccessor) { - const getterFunction = transformFunctionLikeToExpression( - getAccessor, - /*location*/ - void 0, - /*name*/ - void 0, - container - ); - setSourceMapRange(getterFunction, getSourceMapRange(getAccessor)); - setEmitFlags(getterFunction, 1024 /* NoLeadingComments */); - const getter = factory2.createPropertyAssignment("get", getterFunction); - setCommentRange(getter, getCommentRange(getAccessor)); - properties.push(getter); - } - if (setAccessor) { - const setterFunction = transformFunctionLikeToExpression( - setAccessor, - /*location*/ - void 0, - /*name*/ - void 0, - container - ); - setSourceMapRange(setterFunction, getSourceMapRange(setAccessor)); - setEmitFlags(setterFunction, 1024 /* NoLeadingComments */); - const setter = factory2.createPropertyAssignment("set", setterFunction); - setCommentRange(setter, getCommentRange(setAccessor)); - properties.push(setter); - } - properties.push( - factory2.createPropertyAssignment("enumerable", getAccessor || setAccessor ? factory2.createFalse() : factory2.createTrue()), - factory2.createPropertyAssignment("configurable", factory2.createTrue()) - ); - const call = factory2.createCallExpression( - factory2.createPropertyAccessExpression(factory2.createIdentifier("Object"), "defineProperty"), - /*typeArguments*/ - void 0, - [ - target, - propertyName, - factory2.createObjectLiteralExpression( - properties, - /*multiLine*/ - true - ) - ] - ); - if (startsOnNewLine) { - startOnNewLine(call); - } - return call; - } - function visitArrowFunction(node) { - if (node.transformFlags & 16384 /* ContainsLexicalThis */ && !(hierarchyFacts & 16384 /* StaticInitializer */)) { - hierarchyFacts |= 131072 /* CapturedLexicalThis */; - } - const savedConvertedLoopState = convertedLoopState; - convertedLoopState = void 0; - const ancestorFacts = enterSubtree(15232 /* ArrowFunctionExcludes */, 66 /* ArrowFunctionIncludes */); - const func = factory2.createFunctionExpression( - /*modifiers*/ - void 0, - /*asteriskToken*/ - void 0, - /*name*/ - void 0, - /*typeParameters*/ - void 0, - visitParameterList(node.parameters, visitor, context), - /*type*/ - void 0, - transformFunctionBody(node) - ); - setTextRange(func, node); - setOriginalNode(func, node); - setEmitFlags(func, 16 /* CapturesThis */); - exitSubtree(ancestorFacts, 0 /* ArrowFunctionSubtreeExcludes */, 0 /* None */); - convertedLoopState = savedConvertedLoopState; - return func; - } - function visitFunctionExpression(node) { - const ancestorFacts = getEmitFlags(node) & 524288 /* AsyncFunctionBody */ ? enterSubtree(32662 /* AsyncFunctionBodyExcludes */, 69 /* AsyncFunctionBodyIncludes */) : enterSubtree(32670 /* FunctionExcludes */, 65 /* FunctionIncludes */); - const savedConvertedLoopState = convertedLoopState; - convertedLoopState = void 0; - const parameters = visitParameterList(node.parameters, visitor, context); - const body = transformFunctionBody(node); - const name = hierarchyFacts & 32768 /* NewTarget */ ? factory2.getLocalName(node) : node.name; - exitSubtree(ancestorFacts, 229376 /* FunctionSubtreeExcludes */, 0 /* None */); - convertedLoopState = savedConvertedLoopState; - return factory2.updateFunctionExpression( - node, - /*modifiers*/ - void 0, - node.asteriskToken, - name, - /*typeParameters*/ - void 0, - parameters, - /*type*/ - void 0, - body - ); - } - function visitFunctionDeclaration(node) { - const savedConvertedLoopState = convertedLoopState; - convertedLoopState = void 0; - const ancestorFacts = enterSubtree(32670 /* FunctionExcludes */, 65 /* FunctionIncludes */); - const parameters = visitParameterList(node.parameters, visitor, context); - const body = transformFunctionBody(node); - const name = hierarchyFacts & 32768 /* NewTarget */ ? factory2.getLocalName(node) : node.name; - exitSubtree(ancestorFacts, 229376 /* FunctionSubtreeExcludes */, 0 /* None */); - convertedLoopState = savedConvertedLoopState; - return factory2.updateFunctionDeclaration( - node, - visitNodes2(node.modifiers, visitor, isModifier), - node.asteriskToken, - name, - /*typeParameters*/ - void 0, - parameters, - /*type*/ - void 0, - body - ); - } - function transformFunctionLikeToExpression(node, location, name, container) { - const savedConvertedLoopState = convertedLoopState; - convertedLoopState = void 0; - const ancestorFacts = container && isClassLike(container) && !isStatic(node) ? enterSubtree(32670 /* FunctionExcludes */, 65 /* FunctionIncludes */ | 8 /* NonStaticClassElement */) : enterSubtree(32670 /* FunctionExcludes */, 65 /* FunctionIncludes */); - const parameters = visitParameterList(node.parameters, visitor, context); - const body = transformFunctionBody(node); - if (hierarchyFacts & 32768 /* NewTarget */ && !name && (node.kind === 262 /* FunctionDeclaration */ || node.kind === 218 /* FunctionExpression */)) { - name = factory2.getGeneratedNameForNode(node); - } - exitSubtree(ancestorFacts, 229376 /* FunctionSubtreeExcludes */, 0 /* None */); - convertedLoopState = savedConvertedLoopState; - return setOriginalNode( - setTextRange( - factory2.createFunctionExpression( - /*modifiers*/ - void 0, - node.asteriskToken, - name, - /*typeParameters*/ - void 0, - parameters, - /*type*/ - void 0, - body - ), - location - ), - /*original*/ - node - ); - } - function transformFunctionBody(node) { - let multiLine = false; - let singleLine = false; - let statementsLocation; - let closeBraceLocation; - const prologue = []; - const statements = []; - const body = node.body; - let statementOffset; - resumeLexicalEnvironment(); - if (isBlock(body)) { - statementOffset = factory2.copyStandardPrologue( - body.statements, - prologue, - 0, - /*ensureUseStrict*/ - false - ); - statementOffset = factory2.copyCustomPrologue(body.statements, statements, statementOffset, visitor, isHoistedFunction); - statementOffset = factory2.copyCustomPrologue(body.statements, statements, statementOffset, visitor, isHoistedVariableStatement); - } - multiLine = addDefaultValueAssignmentsIfNeeded2(statements, node) || multiLine; - multiLine = addRestParameterIfNeeded( - statements, - node, - /*inConstructorWithSynthesizedSuper*/ - false - ) || multiLine; - if (isBlock(body)) { - statementOffset = factory2.copyCustomPrologue(body.statements, statements, statementOffset, visitor); - statementsLocation = body.statements; - addRange(statements, visitNodes2(body.statements, visitor, isStatement, statementOffset)); - if (!multiLine && body.multiLine) { - multiLine = true; - } - } else { - Debug.assert(node.kind === 219 /* ArrowFunction */); - statementsLocation = moveRangeEnd(body, -1); - const equalsGreaterThanToken = node.equalsGreaterThanToken; - if (!nodeIsSynthesized(equalsGreaterThanToken) && !nodeIsSynthesized(body)) { - if (rangeEndIsOnSameLineAsRangeStart(equalsGreaterThanToken, body, currentSourceFile)) { - singleLine = true; - } else { - multiLine = true; - } - } - const expression = visitNode(body, visitor, isExpression); - const returnStatement = factory2.createReturnStatement(expression); - setTextRange(returnStatement, body); - moveSyntheticComments(returnStatement, body); - setEmitFlags(returnStatement, 768 /* NoTokenSourceMaps */ | 64 /* NoTrailingSourceMap */ | 2048 /* NoTrailingComments */); - statements.push(returnStatement); - closeBraceLocation = body; - } - factory2.mergeLexicalEnvironment(prologue, endLexicalEnvironment()); - insertCaptureNewTargetIfNeeded(prologue, node); - insertCaptureThisForNodeIfNeeded(prologue, node); - if (some(prologue)) { - multiLine = true; - } - statements.unshift(...prologue); - if (isBlock(body) && arrayIsEqualTo(statements, body.statements)) { - return body; - } - const block = factory2.createBlock(setTextRange(factory2.createNodeArray(statements), statementsLocation), multiLine); - setTextRange(block, node.body); - if (!multiLine && singleLine) { - setEmitFlags(block, 1 /* SingleLine */); - } - if (closeBraceLocation) { - setTokenSourceMapRange(block, 20 /* CloseBraceToken */, closeBraceLocation); - } - setOriginalNode(block, node.body); - return block; - } - function visitBlock(node, isFunctionBody) { - if (isFunctionBody) { - return visitEachChild(node, visitor, context); - } - const ancestorFacts = hierarchyFacts & 256 /* IterationStatement */ ? enterSubtree(7104 /* IterationStatementBlockExcludes */, 512 /* IterationStatementBlockIncludes */) : enterSubtree(6976 /* BlockExcludes */, 128 /* BlockIncludes */); - const updated = visitEachChild(node, visitor, context); - exitSubtree(ancestorFacts, 0 /* None */, 0 /* None */); - return updated; - } - function visitExpressionStatement(node) { - return visitEachChild(node, visitorWithUnusedExpressionResult, context); - } - function visitParenthesizedExpression(node, expressionResultIsUnused2) { - return visitEachChild(node, expressionResultIsUnused2 ? visitorWithUnusedExpressionResult : visitor, context); - } - function visitBinaryExpression(node, expressionResultIsUnused2) { - if (isDestructuringAssignment(node)) { - return flattenDestructuringAssignment( - node, - visitor, - context, - 0 /* All */, - !expressionResultIsUnused2 - ); - } - if (node.operatorToken.kind === 28 /* CommaToken */) { - return factory2.updateBinaryExpression( - node, - Debug.checkDefined(visitNode(node.left, visitorWithUnusedExpressionResult, isExpression)), - node.operatorToken, - Debug.checkDefined(visitNode(node.right, expressionResultIsUnused2 ? visitorWithUnusedExpressionResult : visitor, isExpression)) - ); - } - return visitEachChild(node, visitor, context); - } - function visitCommaListExpression(node, expressionResultIsUnused2) { - if (expressionResultIsUnused2) { - return visitEachChild(node, visitorWithUnusedExpressionResult, context); - } - let result; - for (let i = 0; i < node.elements.length; i++) { - const element = node.elements[i]; - const visited = visitNode(element, i < node.elements.length - 1 ? visitorWithUnusedExpressionResult : visitor, isExpression); - if (result || visited !== element) { - result || (result = node.elements.slice(0, i)); - Debug.assert(visited); - result.push(visited); - } - } - const elements = result ? setTextRange(factory2.createNodeArray(result), node.elements) : node.elements; - return factory2.updateCommaListExpression(node, elements); - } - function isVariableStatementOfTypeScriptClassWrapper(node) { - return node.declarationList.declarations.length === 1 && !!node.declarationList.declarations[0].initializer && !!(getInternalEmitFlags(node.declarationList.declarations[0].initializer) & 1 /* TypeScriptClassWrapper */); - } - function visitVariableStatement(node) { - const ancestorFacts = enterSubtree(0 /* None */, hasSyntacticModifier(node, 32 /* Export */) ? 32 /* ExportedVariableStatement */ : 0 /* None */); - let updated; - if (convertedLoopState && (node.declarationList.flags & 7 /* BlockScoped */) === 0 && !isVariableStatementOfTypeScriptClassWrapper(node)) { - let assignments; - for (const decl of node.declarationList.declarations) { - hoistVariableDeclarationDeclaredInConvertedLoop(convertedLoopState, decl); - if (decl.initializer) { - let assignment; - if (isBindingPattern(decl.name)) { - assignment = flattenDestructuringAssignment( - decl, - visitor, - context, - 0 /* All */ - ); - } else { - assignment = factory2.createBinaryExpression(decl.name, 64 /* EqualsToken */, Debug.checkDefined(visitNode(decl.initializer, visitor, isExpression))); - setTextRange(assignment, decl); - } - assignments = append(assignments, assignment); - } - } - if (assignments) { - updated = setTextRange(factory2.createExpressionStatement(factory2.inlineExpressions(assignments)), node); - } else { - updated = void 0; - } - } else { - updated = visitEachChild(node, visitor, context); - } - exitSubtree(ancestorFacts, 0 /* None */, 0 /* None */); - return updated; - } - function visitVariableDeclarationList(node) { - if (node.flags & 7 /* BlockScoped */ || node.transformFlags & 524288 /* ContainsBindingPattern */) { - if (node.flags & 7 /* BlockScoped */) { - enableSubstitutionsForBlockScopedBindings(); - } - const declarations = visitNodes2( - node.declarations, - node.flags & 1 /* Let */ ? visitVariableDeclarationInLetDeclarationList : visitVariableDeclaration, - isVariableDeclaration - ); - const declarationList = factory2.createVariableDeclarationList(declarations); - setOriginalNode(declarationList, node); - setTextRange(declarationList, node); - setCommentRange(declarationList, node); - if (node.transformFlags & 524288 /* ContainsBindingPattern */ && (isBindingPattern(node.declarations[0].name) || isBindingPattern(last(node.declarations).name))) { - setSourceMapRange(declarationList, getRangeUnion(declarations)); - } - return declarationList; - } - return visitEachChild(node, visitor, context); - } - function getRangeUnion(declarations) { - let pos = -1, end = -1; - for (const node of declarations) { - pos = pos === -1 ? node.pos : node.pos === -1 ? pos : Math.min(pos, node.pos); - end = Math.max(end, node.end); - } - return createRange(pos, end); - } - function shouldEmitExplicitInitializerForLetDeclaration(node) { - const isCapturedInFunction = resolver.hasNodeCheckFlag(node, 16384 /* CapturedBlockScopedBinding */); - const isDeclaredInLoop = resolver.hasNodeCheckFlag(node, 32768 /* BlockScopedBindingInLoop */); - const emittedAsTopLevel = (hierarchyFacts & 64 /* TopLevel */) !== 0 || isCapturedInFunction && isDeclaredInLoop && (hierarchyFacts & 512 /* IterationStatementBlock */) !== 0; - const emitExplicitInitializer = !emittedAsTopLevel && (hierarchyFacts & 4096 /* ForInOrForOfStatement */) === 0 && (!resolver.isDeclarationWithCollidingName(node) || isDeclaredInLoop && !isCapturedInFunction && (hierarchyFacts & (2048 /* ForStatement */ | 4096 /* ForInOrForOfStatement */)) === 0); - return emitExplicitInitializer; - } - function visitVariableDeclarationInLetDeclarationList(node) { - const name = node.name; - if (isBindingPattern(name)) { - return visitVariableDeclaration(node); - } - if (!node.initializer && shouldEmitExplicitInitializerForLetDeclaration(node)) { - return factory2.updateVariableDeclaration( - node, - node.name, - /*exclamationToken*/ - void 0, - /*type*/ - void 0, - factory2.createVoidZero() - ); - } - return visitEachChild(node, visitor, context); - } - function visitVariableDeclaration(node) { - const ancestorFacts = enterSubtree(32 /* ExportedVariableStatement */, 0 /* None */); - let updated; - if (isBindingPattern(node.name)) { - updated = flattenDestructuringBinding( - node, - visitor, - context, - 0 /* All */, - /*rval*/ - void 0, - (ancestorFacts & 32 /* ExportedVariableStatement */) !== 0 - ); - } else { - updated = visitEachChild(node, visitor, context); - } - exitSubtree(ancestorFacts, 0 /* None */, 0 /* None */); - return updated; - } - function recordLabel(node) { - convertedLoopState.labels.set(idText(node.label), true); - } - function resetLabel(node) { - convertedLoopState.labels.set(idText(node.label), false); - } - function visitLabeledStatement(node) { - if (convertedLoopState && !convertedLoopState.labels) { - convertedLoopState.labels = /* @__PURE__ */ new Map(); - } - const statement = unwrapInnermostStatementOfLabel(node, convertedLoopState && recordLabel); - return isIterationStatement( - statement, - /*lookInLabeledStatements*/ - false - ) ? visitIterationStatement( - statement, - /*outermostLabeledStatement*/ - node - ) : factory2.restoreEnclosingLabel(visitNode(statement, visitor, isStatement, factory2.liftToBlock) ?? setTextRange(factory2.createEmptyStatement(), statement), node, convertedLoopState && resetLabel); - } - function visitIterationStatement(node, outermostLabeledStatement) { - switch (node.kind) { - case 246 /* DoStatement */: - case 247 /* WhileStatement */: - return visitDoOrWhileStatement(node, outermostLabeledStatement); - case 248 /* ForStatement */: - return visitForStatement(node, outermostLabeledStatement); - case 249 /* ForInStatement */: - return visitForInStatement(node, outermostLabeledStatement); - case 250 /* ForOfStatement */: - return visitForOfStatement(node, outermostLabeledStatement); - } - } - function visitIterationStatementWithFacts(excludeFacts, includeFacts, node, outermostLabeledStatement, convert) { - const ancestorFacts = enterSubtree(excludeFacts, includeFacts); - const updated = convertIterationStatementBodyIfNecessary(node, outermostLabeledStatement, ancestorFacts, convert); - exitSubtree(ancestorFacts, 0 /* None */, 0 /* None */); - return updated; - } - function visitDoOrWhileStatement(node, outermostLabeledStatement) { - return visitIterationStatementWithFacts( - 0 /* DoOrWhileStatementExcludes */, - 1280 /* DoOrWhileStatementIncludes */, - node, - outermostLabeledStatement - ); - } - function visitForStatement(node, outermostLabeledStatement) { - return visitIterationStatementWithFacts( - 5056 /* ForStatementExcludes */, - 3328 /* ForStatementIncludes */, - node, - outermostLabeledStatement - ); - } - function visitEachChildOfForStatement2(node) { - return factory2.updateForStatement( - node, - visitNode(node.initializer, visitorWithUnusedExpressionResult, isForInitializer), - visitNode(node.condition, visitor, isExpression), - visitNode(node.incrementor, visitorWithUnusedExpressionResult, isExpression), - Debug.checkDefined(visitNode(node.statement, visitor, isStatement, factory2.liftToBlock)) - ); - } - function visitForInStatement(node, outermostLabeledStatement) { - return visitIterationStatementWithFacts( - 3008 /* ForInOrForOfStatementExcludes */, - 5376 /* ForInOrForOfStatementIncludes */, - node, - outermostLabeledStatement - ); - } - function visitForOfStatement(node, outermostLabeledStatement) { - return visitIterationStatementWithFacts( - 3008 /* ForInOrForOfStatementExcludes */, - 5376 /* ForInOrForOfStatementIncludes */, - node, - outermostLabeledStatement, - compilerOptions.downlevelIteration ? convertForOfStatementForIterable : convertForOfStatementForArray - ); - } - function convertForOfStatementHead(node, boundValue, convertedLoopBodyStatements) { - const statements = []; - const initializer = node.initializer; - if (isVariableDeclarationList(initializer)) { - if (node.initializer.flags & 7 /* BlockScoped */) { - enableSubstitutionsForBlockScopedBindings(); - } - const firstOriginalDeclaration = firstOrUndefined(initializer.declarations); - if (firstOriginalDeclaration && isBindingPattern(firstOriginalDeclaration.name)) { - const declarations = flattenDestructuringBinding( - firstOriginalDeclaration, - visitor, - context, - 0 /* All */, - boundValue - ); - const declarationList = setTextRange(factory2.createVariableDeclarationList(declarations), node.initializer); - setOriginalNode(declarationList, node.initializer); - setSourceMapRange(declarationList, createRange(declarations[0].pos, last(declarations).end)); - statements.push( - factory2.createVariableStatement( - /*modifiers*/ - void 0, - declarationList - ) - ); - } else { - statements.push( - setTextRange( - factory2.createVariableStatement( - /*modifiers*/ - void 0, - setOriginalNode( - setTextRange( - factory2.createVariableDeclarationList([ - factory2.createVariableDeclaration( - firstOriginalDeclaration ? firstOriginalDeclaration.name : factory2.createTempVariable( - /*recordTempVariable*/ - void 0 - ), - /*exclamationToken*/ - void 0, - /*type*/ - void 0, - boundValue - ) - ]), - moveRangePos(initializer, -1) - ), - initializer - ) - ), - moveRangeEnd(initializer, -1) - ) - ); - } - } else { - const assignment = factory2.createAssignment(initializer, boundValue); - if (isDestructuringAssignment(assignment)) { - statements.push(factory2.createExpressionStatement(visitBinaryExpression( - assignment, - /*expressionResultIsUnused*/ - true - ))); - } else { - setTextRangeEnd(assignment, initializer.end); - statements.push(setTextRange(factory2.createExpressionStatement(Debug.checkDefined(visitNode(assignment, visitor, isExpression))), moveRangeEnd(initializer, -1))); - } - } - if (convertedLoopBodyStatements) { - return createSyntheticBlockForConvertedStatements(addRange(statements, convertedLoopBodyStatements)); - } else { - const statement = visitNode(node.statement, visitor, isStatement, factory2.liftToBlock); - Debug.assert(statement); - if (isBlock(statement)) { - return factory2.updateBlock(statement, setTextRange(factory2.createNodeArray(concatenate(statements, statement.statements)), statement.statements)); - } else { - statements.push(statement); - return createSyntheticBlockForConvertedStatements(statements); - } - } - } - function createSyntheticBlockForConvertedStatements(statements) { - return setEmitFlags( - factory2.createBlock( - factory2.createNodeArray(statements), - /*multiLine*/ - true - ), - 96 /* NoSourceMap */ | 768 /* NoTokenSourceMaps */ - ); - } - function convertForOfStatementForArray(node, outermostLabeledStatement, convertedLoopBodyStatements) { - const expression = visitNode(node.expression, visitor, isExpression); - Debug.assert(expression); - const counter = factory2.createLoopVariable(); - const rhsReference = isIdentifier(expression) ? factory2.getGeneratedNameForNode(expression) : factory2.createTempVariable( - /*recordTempVariable*/ - void 0 - ); - setEmitFlags(expression, 96 /* NoSourceMap */ | getEmitFlags(expression)); - const forStatement = setTextRange( - factory2.createForStatement( - /*initializer*/ - setEmitFlags( - setTextRange( - factory2.createVariableDeclarationList([ - setTextRange(factory2.createVariableDeclaration( - counter, - /*exclamationToken*/ - void 0, - /*type*/ - void 0, - factory2.createNumericLiteral(0) - ), moveRangePos(node.expression, -1)), - setTextRange(factory2.createVariableDeclaration( - rhsReference, - /*exclamationToken*/ - void 0, - /*type*/ - void 0, - expression - ), node.expression) - ]), - node.expression - ), - 4194304 /* NoHoisting */ - ), - /*condition*/ - setTextRange( - factory2.createLessThan( - counter, - factory2.createPropertyAccessExpression(rhsReference, "length") - ), - node.expression - ), - /*incrementor*/ - setTextRange(factory2.createPostfixIncrement(counter), node.expression), - /*statement*/ - convertForOfStatementHead( - node, - factory2.createElementAccessExpression(rhsReference, counter), - convertedLoopBodyStatements - ) - ), - /*location*/ - node - ); - setEmitFlags(forStatement, 512 /* NoTokenTrailingSourceMaps */); - setTextRange(forStatement, node); - return factory2.restoreEnclosingLabel(forStatement, outermostLabeledStatement, convertedLoopState && resetLabel); - } - function convertForOfStatementForIterable(node, outermostLabeledStatement, convertedLoopBodyStatements, ancestorFacts) { - const expression = visitNode(node.expression, visitor, isExpression); - Debug.assert(expression); - const iterator = isIdentifier(expression) ? factory2.getGeneratedNameForNode(expression) : factory2.createTempVariable( - /*recordTempVariable*/ - void 0 - ); - const result = isIdentifier(expression) ? factory2.getGeneratedNameForNode(iterator) : factory2.createTempVariable( - /*recordTempVariable*/ - void 0 - ); - const errorRecord = factory2.createUniqueName("e"); - const catchVariable = factory2.getGeneratedNameForNode(errorRecord); - const returnMethod = factory2.createTempVariable( - /*recordTempVariable*/ - void 0 - ); - const values = setTextRange(emitHelpers().createValuesHelper(expression), node.expression); - const next = factory2.createCallExpression( - factory2.createPropertyAccessExpression(iterator, "next"), - /*typeArguments*/ - void 0, - [] - ); - hoistVariableDeclaration(errorRecord); - hoistVariableDeclaration(returnMethod); - const initializer = ancestorFacts & 1024 /* IterationContainer */ ? factory2.inlineExpressions([factory2.createAssignment(errorRecord, factory2.createVoidZero()), values]) : values; - const forStatement = setEmitFlags( - setTextRange( - factory2.createForStatement( - /*initializer*/ - setEmitFlags( - setTextRange( - factory2.createVariableDeclarationList([ - setTextRange(factory2.createVariableDeclaration( - iterator, - /*exclamationToken*/ - void 0, - /*type*/ - void 0, - initializer - ), node.expression), - factory2.createVariableDeclaration( - result, - /*exclamationToken*/ - void 0, - /*type*/ - void 0, - next - ) - ]), - node.expression - ), - 4194304 /* NoHoisting */ - ), - /*condition*/ - factory2.createLogicalNot(factory2.createPropertyAccessExpression(result, "done")), - /*incrementor*/ - factory2.createAssignment(result, next), - /*statement*/ - convertForOfStatementHead( - node, - factory2.createPropertyAccessExpression(result, "value"), - convertedLoopBodyStatements - ) - ), - /*location*/ - node - ), - 512 /* NoTokenTrailingSourceMaps */ - ); - return factory2.createTryStatement( - factory2.createBlock([ - factory2.restoreEnclosingLabel( - forStatement, - outermostLabeledStatement, - convertedLoopState && resetLabel - ) - ]), - factory2.createCatchClause( - factory2.createVariableDeclaration(catchVariable), - setEmitFlags( - factory2.createBlock([ - factory2.createExpressionStatement( - factory2.createAssignment( - errorRecord, - factory2.createObjectLiteralExpression([ - factory2.createPropertyAssignment("error", catchVariable) - ]) - ) - ) - ]), - 1 /* SingleLine */ - ) - ), - factory2.createBlock([ - factory2.createTryStatement( - /*tryBlock*/ - factory2.createBlock([ - setEmitFlags( - factory2.createIfStatement( - factory2.createLogicalAnd( - factory2.createLogicalAnd( - result, - factory2.createLogicalNot( - factory2.createPropertyAccessExpression(result, "done") - ) - ), - factory2.createAssignment( - returnMethod, - factory2.createPropertyAccessExpression(iterator, "return") - ) - ), - factory2.createExpressionStatement( - factory2.createFunctionCallCall(returnMethod, iterator, []) - ) - ), - 1 /* SingleLine */ - ) - ]), - /*catchClause*/ - void 0, - /*finallyBlock*/ - setEmitFlags( - factory2.createBlock([ - setEmitFlags( - factory2.createIfStatement( - errorRecord, - factory2.createThrowStatement( - factory2.createPropertyAccessExpression(errorRecord, "error") - ) - ), - 1 /* SingleLine */ - ) - ]), - 1 /* SingleLine */ - ) - ) - ]) - ); - } - function visitObjectLiteralExpression(node) { - const properties = node.properties; - let numInitialProperties = -1, hasComputed = false; - for (let i = 0; i < properties.length; i++) { - const property = properties[i]; - if (property.transformFlags & 1048576 /* ContainsYield */ && hierarchyFacts & 4 /* AsyncFunctionBody */ || (hasComputed = Debug.checkDefined(property.name).kind === 167 /* ComputedPropertyName */)) { - numInitialProperties = i; - break; - } - } - if (numInitialProperties < 0) { - return visitEachChild(node, visitor, context); - } - const temp = factory2.createTempVariable(hoistVariableDeclaration); - const expressions = []; - const assignment = factory2.createAssignment( - temp, - setEmitFlags( - factory2.createObjectLiteralExpression( - visitNodes2(properties, visitor, isObjectLiteralElementLike, 0, numInitialProperties), - node.multiLine - ), - hasComputed ? 131072 /* Indented */ : 0 - ) - ); - if (node.multiLine) { - startOnNewLine(assignment); - } - expressions.push(assignment); - addObjectLiteralMembers(expressions, node, temp, numInitialProperties); - expressions.push(node.multiLine ? startOnNewLine(setParent(setTextRange(factory2.cloneNode(temp), temp), temp.parent)) : temp); - return factory2.inlineExpressions(expressions); - } - function shouldConvertPartOfIterationStatement(node) { - return resolver.hasNodeCheckFlag(node, 8192 /* ContainsCapturedBlockScopeBinding */); - } - function shouldConvertInitializerOfForStatement(node) { - return isForStatement(node) && !!node.initializer && shouldConvertPartOfIterationStatement(node.initializer); - } - function shouldConvertConditionOfForStatement(node) { - return isForStatement(node) && !!node.condition && shouldConvertPartOfIterationStatement(node.condition); - } - function shouldConvertIncrementorOfForStatement(node) { - return isForStatement(node) && !!node.incrementor && shouldConvertPartOfIterationStatement(node.incrementor); - } - function shouldConvertIterationStatement(node) { - return shouldConvertBodyOfIterationStatement(node) || shouldConvertInitializerOfForStatement(node); - } - function shouldConvertBodyOfIterationStatement(node) { - return resolver.hasNodeCheckFlag(node, 4096 /* LoopWithCapturedBlockScopedBinding */); - } - function hoistVariableDeclarationDeclaredInConvertedLoop(state, node) { - if (!state.hoistedLocalVariables) { - state.hoistedLocalVariables = []; - } - visit(node.name); - function visit(node2) { - if (node2.kind === 80 /* Identifier */) { - state.hoistedLocalVariables.push(node2); - } else { - for (const element of node2.elements) { - if (!isOmittedExpression(element)) { - visit(element.name); - } - } - } - } - } - function convertIterationStatementBodyIfNecessary(node, outermostLabeledStatement, ancestorFacts, convert) { - if (!shouldConvertIterationStatement(node)) { - let saveAllowedNonLabeledJumps; - if (convertedLoopState) { - saveAllowedNonLabeledJumps = convertedLoopState.allowedNonLabeledJumps; - convertedLoopState.allowedNonLabeledJumps = 2 /* Break */ | 4 /* Continue */; - } - const result = convert ? convert( - node, - outermostLabeledStatement, - /*convertedLoopBodyStatements*/ - void 0, - ancestorFacts - ) : factory2.restoreEnclosingLabel( - isForStatement(node) ? visitEachChildOfForStatement2(node) : visitEachChild(node, visitor, context), - outermostLabeledStatement, - convertedLoopState && resetLabel - ); - if (convertedLoopState) { - convertedLoopState.allowedNonLabeledJumps = saveAllowedNonLabeledJumps; - } - return result; - } - const currentState = createConvertedLoopState(node); - const statements = []; - const outerConvertedLoopState = convertedLoopState; - convertedLoopState = currentState; - const initializerFunction = shouldConvertInitializerOfForStatement(node) ? createFunctionForInitializerOfForStatement(node, currentState) : void 0; - const bodyFunction = shouldConvertBodyOfIterationStatement(node) ? createFunctionForBodyOfIterationStatement(node, currentState, outerConvertedLoopState) : void 0; - convertedLoopState = outerConvertedLoopState; - if (initializerFunction) statements.push(initializerFunction.functionDeclaration); - if (bodyFunction) statements.push(bodyFunction.functionDeclaration); - addExtraDeclarationsForConvertedLoop(statements, currentState, outerConvertedLoopState); - if (initializerFunction) { - statements.push(generateCallToConvertedLoopInitializer(initializerFunction.functionName, initializerFunction.containsYield)); - } - let loop; - if (bodyFunction) { - if (convert) { - loop = convert(node, outermostLabeledStatement, bodyFunction.part, ancestorFacts); - } else { - const clone = convertIterationStatementCore(node, initializerFunction, factory2.createBlock( - bodyFunction.part, - /*multiLine*/ - true - )); - loop = factory2.restoreEnclosingLabel(clone, outermostLabeledStatement, convertedLoopState && resetLabel); - } - } else { - const clone = convertIterationStatementCore(node, initializerFunction, Debug.checkDefined(visitNode(node.statement, visitor, isStatement, factory2.liftToBlock))); - loop = factory2.restoreEnclosingLabel(clone, outermostLabeledStatement, convertedLoopState && resetLabel); - } - statements.push(loop); - return statements; - } - function convertIterationStatementCore(node, initializerFunction, convertedLoopBody) { - switch (node.kind) { - case 248 /* ForStatement */: - return convertForStatement(node, initializerFunction, convertedLoopBody); - case 249 /* ForInStatement */: - return convertForInStatement(node, convertedLoopBody); - case 250 /* ForOfStatement */: - return convertForOfStatement(node, convertedLoopBody); - case 246 /* DoStatement */: - return convertDoStatement(node, convertedLoopBody); - case 247 /* WhileStatement */: - return convertWhileStatement(node, convertedLoopBody); - default: - return Debug.failBadSyntaxKind(node, "IterationStatement expected"); - } - } - function convertForStatement(node, initializerFunction, convertedLoopBody) { - const shouldConvertCondition = node.condition && shouldConvertPartOfIterationStatement(node.condition); - const shouldConvertIncrementor = shouldConvertCondition || node.incrementor && shouldConvertPartOfIterationStatement(node.incrementor); - return factory2.updateForStatement( - node, - visitNode(initializerFunction ? initializerFunction.part : node.initializer, visitorWithUnusedExpressionResult, isForInitializer), - visitNode(shouldConvertCondition ? void 0 : node.condition, visitor, isExpression), - visitNode(shouldConvertIncrementor ? void 0 : node.incrementor, visitorWithUnusedExpressionResult, isExpression), - convertedLoopBody - ); - } - function convertForOfStatement(node, convertedLoopBody) { - return factory2.updateForOfStatement( - node, - /*awaitModifier*/ - void 0, - Debug.checkDefined(visitNode(node.initializer, visitor, isForInitializer)), - Debug.checkDefined(visitNode(node.expression, visitor, isExpression)), - convertedLoopBody - ); - } - function convertForInStatement(node, convertedLoopBody) { - return factory2.updateForInStatement( - node, - Debug.checkDefined(visitNode(node.initializer, visitor, isForInitializer)), - Debug.checkDefined(visitNode(node.expression, visitor, isExpression)), - convertedLoopBody - ); - } - function convertDoStatement(node, convertedLoopBody) { - return factory2.updateDoStatement( - node, - convertedLoopBody, - Debug.checkDefined(visitNode(node.expression, visitor, isExpression)) - ); - } - function convertWhileStatement(node, convertedLoopBody) { - return factory2.updateWhileStatement( - node, - Debug.checkDefined(visitNode(node.expression, visitor, isExpression)), - convertedLoopBody - ); - } - function createConvertedLoopState(node) { - let loopInitializer; - switch (node.kind) { - case 248 /* ForStatement */: - case 249 /* ForInStatement */: - case 250 /* ForOfStatement */: - const initializer = node.initializer; - if (initializer && initializer.kind === 261 /* VariableDeclarationList */) { - loopInitializer = initializer; - } - break; - } - const loopParameters = []; - const loopOutParameters = []; - if (loopInitializer && getCombinedNodeFlags(loopInitializer) & 7 /* BlockScoped */) { - const hasCapturedBindingsInForHead = shouldConvertInitializerOfForStatement(node) || shouldConvertConditionOfForStatement(node) || shouldConvertIncrementorOfForStatement(node); - for (const decl of loopInitializer.declarations) { - processLoopVariableDeclaration(node, decl, loopParameters, loopOutParameters, hasCapturedBindingsInForHead); - } - } - const currentState = { loopParameters, loopOutParameters }; - if (convertedLoopState) { - if (convertedLoopState.argumentsName) { - currentState.argumentsName = convertedLoopState.argumentsName; - } - if (convertedLoopState.thisName) { - currentState.thisName = convertedLoopState.thisName; - } - if (convertedLoopState.hoistedLocalVariables) { - currentState.hoistedLocalVariables = convertedLoopState.hoistedLocalVariables; - } - } - return currentState; - } - function addExtraDeclarationsForConvertedLoop(statements, state, outerState) { - let extraVariableDeclarations; - if (state.argumentsName) { - if (outerState) { - outerState.argumentsName = state.argumentsName; - } else { - (extraVariableDeclarations || (extraVariableDeclarations = [])).push( - factory2.createVariableDeclaration( - state.argumentsName, - /*exclamationToken*/ - void 0, - /*type*/ - void 0, - factory2.createIdentifier("arguments") - ) - ); - } - } - if (state.thisName) { - if (outerState) { - outerState.thisName = state.thisName; - } else { - (extraVariableDeclarations || (extraVariableDeclarations = [])).push( - factory2.createVariableDeclaration( - state.thisName, - /*exclamationToken*/ - void 0, - /*type*/ - void 0, - factory2.createIdentifier("this") - ) - ); - } - } - if (state.hoistedLocalVariables) { - if (outerState) { - outerState.hoistedLocalVariables = state.hoistedLocalVariables; - } else { - if (!extraVariableDeclarations) { - extraVariableDeclarations = []; - } - for (const identifier of state.hoistedLocalVariables) { - extraVariableDeclarations.push(factory2.createVariableDeclaration(identifier)); - } - } - } - if (state.loopOutParameters.length) { - if (!extraVariableDeclarations) { - extraVariableDeclarations = []; - } - for (const outParam of state.loopOutParameters) { - extraVariableDeclarations.push(factory2.createVariableDeclaration(outParam.outParamName)); - } - } - if (state.conditionVariable) { - if (!extraVariableDeclarations) { - extraVariableDeclarations = []; - } - extraVariableDeclarations.push(factory2.createVariableDeclaration( - state.conditionVariable, - /*exclamationToken*/ - void 0, - /*type*/ - void 0, - factory2.createFalse() - )); - } - if (extraVariableDeclarations) { - statements.push(factory2.createVariableStatement( - /*modifiers*/ - void 0, - factory2.createVariableDeclarationList(extraVariableDeclarations) - )); - } - } - function createOutVariable(p) { - return factory2.createVariableDeclaration( - p.originalName, - /*exclamationToken*/ - void 0, - /*type*/ - void 0, - p.outParamName - ); - } - function createFunctionForInitializerOfForStatement(node, currentState) { - const functionName = factory2.createUniqueName("_loop_init"); - const containsYield = (node.initializer.transformFlags & 1048576 /* ContainsYield */) !== 0; - let emitFlags = 0 /* None */; - if (currentState.containsLexicalThis) emitFlags |= 16 /* CapturesThis */; - if (containsYield && hierarchyFacts & 4 /* AsyncFunctionBody */) emitFlags |= 524288 /* AsyncFunctionBody */; - const statements = []; - statements.push(factory2.createVariableStatement( - /*modifiers*/ - void 0, - node.initializer - )); - copyOutParameters(currentState.loopOutParameters, 2 /* Initializer */, 1 /* ToOutParameter */, statements); - const functionDeclaration = factory2.createVariableStatement( - /*modifiers*/ - void 0, - setEmitFlags( - factory2.createVariableDeclarationList([ - factory2.createVariableDeclaration( - functionName, - /*exclamationToken*/ - void 0, - /*type*/ - void 0, - setEmitFlags( - factory2.createFunctionExpression( - /*modifiers*/ - void 0, - containsYield ? factory2.createToken(42 /* AsteriskToken */) : void 0, - /*name*/ - void 0, - /*typeParameters*/ - void 0, - /*parameters*/ - void 0, - /*type*/ - void 0, - Debug.checkDefined(visitNode( - factory2.createBlock( - statements, - /*multiLine*/ - true - ), - visitor, - isBlock - )) - ), - emitFlags - ) - ) - ]), - 4194304 /* NoHoisting */ - ) - ); - const part = factory2.createVariableDeclarationList(map(currentState.loopOutParameters, createOutVariable)); - return { functionName, containsYield, functionDeclaration, part }; - } - function createFunctionForBodyOfIterationStatement(node, currentState, outerState) { - const functionName = factory2.createUniqueName("_loop"); - startLexicalEnvironment(); - const statement = visitNode(node.statement, visitor, isStatement, factory2.liftToBlock); - const lexicalEnvironment = endLexicalEnvironment(); - const statements = []; - if (shouldConvertConditionOfForStatement(node) || shouldConvertIncrementorOfForStatement(node)) { - currentState.conditionVariable = factory2.createUniqueName("inc"); - if (node.incrementor) { - statements.push(factory2.createIfStatement( - currentState.conditionVariable, - factory2.createExpressionStatement(Debug.checkDefined(visitNode(node.incrementor, visitor, isExpression))), - factory2.createExpressionStatement(factory2.createAssignment(currentState.conditionVariable, factory2.createTrue())) - )); - } else { - statements.push(factory2.createIfStatement( - factory2.createLogicalNot(currentState.conditionVariable), - factory2.createExpressionStatement(factory2.createAssignment(currentState.conditionVariable, factory2.createTrue())) - )); - } - if (shouldConvertConditionOfForStatement(node)) { - statements.push(factory2.createIfStatement( - factory2.createPrefixUnaryExpression(54 /* ExclamationToken */, Debug.checkDefined(visitNode(node.condition, visitor, isExpression))), - Debug.checkDefined(visitNode(factory2.createBreakStatement(), visitor, isStatement)) - )); - } - } - Debug.assert(statement); - if (isBlock(statement)) { - addRange(statements, statement.statements); - } else { - statements.push(statement); - } - copyOutParameters(currentState.loopOutParameters, 1 /* Body */, 1 /* ToOutParameter */, statements); - insertStatementsAfterStandardPrologue(statements, lexicalEnvironment); - const loopBody = factory2.createBlock( - statements, - /*multiLine*/ - true - ); - if (isBlock(statement)) setOriginalNode(loopBody, statement); - const containsYield = (node.statement.transformFlags & 1048576 /* ContainsYield */) !== 0; - let emitFlags = 1048576 /* ReuseTempVariableScope */; - if (currentState.containsLexicalThis) emitFlags |= 16 /* CapturesThis */; - if (containsYield && (hierarchyFacts & 4 /* AsyncFunctionBody */) !== 0) emitFlags |= 524288 /* AsyncFunctionBody */; - const functionDeclaration = factory2.createVariableStatement( - /*modifiers*/ - void 0, - setEmitFlags( - factory2.createVariableDeclarationList( - [ - factory2.createVariableDeclaration( - functionName, - /*exclamationToken*/ - void 0, - /*type*/ - void 0, - setEmitFlags( - factory2.createFunctionExpression( - /*modifiers*/ - void 0, - containsYield ? factory2.createToken(42 /* AsteriskToken */) : void 0, - /*name*/ - void 0, - /*typeParameters*/ - void 0, - currentState.loopParameters, - /*type*/ - void 0, - loopBody - ), - emitFlags - ) - ) - ] - ), - 4194304 /* NoHoisting */ - ) - ); - const part = generateCallToConvertedLoop(functionName, currentState, outerState, containsYield); - return { functionName, containsYield, functionDeclaration, part }; - } - function copyOutParameter(outParam, copyDirection) { - const source = copyDirection === 0 /* ToOriginal */ ? outParam.outParamName : outParam.originalName; - const target = copyDirection === 0 /* ToOriginal */ ? outParam.originalName : outParam.outParamName; - return factory2.createBinaryExpression(target, 64 /* EqualsToken */, source); - } - function copyOutParameters(outParams, partFlags, copyDirection, statements) { - for (const outParam of outParams) { - if (outParam.flags & partFlags) { - statements.push(factory2.createExpressionStatement(copyOutParameter(outParam, copyDirection))); - } - } - } - function generateCallToConvertedLoopInitializer(initFunctionExpressionName, containsYield) { - const call = factory2.createCallExpression( - initFunctionExpressionName, - /*typeArguments*/ - void 0, - [] - ); - const callResult = containsYield ? factory2.createYieldExpression( - factory2.createToken(42 /* AsteriskToken */), - setEmitFlags(call, 8388608 /* Iterator */) - ) : call; - return factory2.createExpressionStatement(callResult); - } - function generateCallToConvertedLoop(loopFunctionExpressionName, state, outerState, containsYield) { - const statements = []; - const isSimpleLoop = !(state.nonLocalJumps & ~4 /* Continue */) && !state.labeledNonLocalBreaks && !state.labeledNonLocalContinues; - const call = factory2.createCallExpression( - loopFunctionExpressionName, - /*typeArguments*/ - void 0, - map(state.loopParameters, (p) => p.name) - ); - const callResult = containsYield ? factory2.createYieldExpression( - factory2.createToken(42 /* AsteriskToken */), - setEmitFlags(call, 8388608 /* Iterator */) - ) : call; - if (isSimpleLoop) { - statements.push(factory2.createExpressionStatement(callResult)); - copyOutParameters(state.loopOutParameters, 1 /* Body */, 0 /* ToOriginal */, statements); - } else { - const loopResultName = factory2.createUniqueName("state"); - const stateVariable = factory2.createVariableStatement( - /*modifiers*/ - void 0, - factory2.createVariableDeclarationList( - [factory2.createVariableDeclaration( - loopResultName, - /*exclamationToken*/ - void 0, - /*type*/ - void 0, - callResult - )] - ) - ); - statements.push(stateVariable); - copyOutParameters(state.loopOutParameters, 1 /* Body */, 0 /* ToOriginal */, statements); - if (state.nonLocalJumps & 8 /* Return */) { - let returnStatement; - if (outerState) { - outerState.nonLocalJumps |= 8 /* Return */; - returnStatement = factory2.createReturnStatement(loopResultName); - } else { - returnStatement = factory2.createReturnStatement(factory2.createPropertyAccessExpression(loopResultName, "value")); - } - statements.push( - factory2.createIfStatement( - factory2.createTypeCheck(loopResultName, "object"), - returnStatement - ) - ); - } - if (state.nonLocalJumps & 2 /* Break */) { - statements.push( - factory2.createIfStatement( - factory2.createStrictEquality( - loopResultName, - factory2.createStringLiteral("break") - ), - factory2.createBreakStatement() - ) - ); - } - if (state.labeledNonLocalBreaks || state.labeledNonLocalContinues) { - const caseClauses = []; - processLabeledJumps( - state.labeledNonLocalBreaks, - /*isBreak*/ - true, - loopResultName, - outerState, - caseClauses - ); - processLabeledJumps( - state.labeledNonLocalContinues, - /*isBreak*/ - false, - loopResultName, - outerState, - caseClauses - ); - statements.push( - factory2.createSwitchStatement( - loopResultName, - factory2.createCaseBlock(caseClauses) - ) - ); - } - } - return statements; - } - function setLabeledJump(state, isBreak, labelText, labelMarker) { - if (isBreak) { - if (!state.labeledNonLocalBreaks) { - state.labeledNonLocalBreaks = /* @__PURE__ */ new Map(); - } - state.labeledNonLocalBreaks.set(labelText, labelMarker); - } else { - if (!state.labeledNonLocalContinues) { - state.labeledNonLocalContinues = /* @__PURE__ */ new Map(); - } - state.labeledNonLocalContinues.set(labelText, labelMarker); - } - } - function processLabeledJumps(table, isBreak, loopResultName, outerLoop, caseClauses) { - if (!table) { - return; - } - table.forEach((labelMarker, labelText) => { - const statements = []; - if (!outerLoop || outerLoop.labels && outerLoop.labels.get(labelText)) { - const label = factory2.createIdentifier(labelText); - statements.push(isBreak ? factory2.createBreakStatement(label) : factory2.createContinueStatement(label)); - } else { - setLabeledJump(outerLoop, isBreak, labelText, labelMarker); - statements.push(factory2.createReturnStatement(loopResultName)); - } - caseClauses.push(factory2.createCaseClause(factory2.createStringLiteral(labelMarker), statements)); - }); - } - function processLoopVariableDeclaration(container, decl, loopParameters, loopOutParameters, hasCapturedBindingsInForHead) { - const name = decl.name; - if (isBindingPattern(name)) { - for (const element of name.elements) { - if (!isOmittedExpression(element)) { - processLoopVariableDeclaration(container, element, loopParameters, loopOutParameters, hasCapturedBindingsInForHead); - } - } - } else { - loopParameters.push(factory2.createParameterDeclaration( - /*modifiers*/ - void 0, - /*dotDotDotToken*/ - void 0, - name - )); - const needsOutParam = resolver.hasNodeCheckFlag(decl, 65536 /* NeedsLoopOutParameter */); - if (needsOutParam || hasCapturedBindingsInForHead) { - const outParamName = factory2.createUniqueName("out_" + idText(name)); - let flags = 0 /* None */; - if (needsOutParam) { - flags |= 1 /* Body */; - } - if (isForStatement(container)) { - if (container.initializer && resolver.isBindingCapturedByNode(container.initializer, decl)) { - flags |= 2 /* Initializer */; - } - if (container.condition && resolver.isBindingCapturedByNode(container.condition, decl) || container.incrementor && resolver.isBindingCapturedByNode(container.incrementor, decl)) { - flags |= 1 /* Body */; - } - } - loopOutParameters.push({ flags, originalName: name, outParamName }); - } - } - } - function addObjectLiteralMembers(expressions, node, receiver, start) { - const properties = node.properties; - const numProperties = properties.length; - for (let i = start; i < numProperties; i++) { - const property = properties[i]; - switch (property.kind) { - case 177 /* GetAccessor */: - case 178 /* SetAccessor */: - const accessors = getAllAccessorDeclarations(node.properties, property); - if (property === accessors.firstAccessor) { - expressions.push(transformAccessorsToExpression(receiver, accessors, node, !!node.multiLine)); - } - break; - case 174 /* MethodDeclaration */: - expressions.push(transformObjectLiteralMethodDeclarationToExpression(property, receiver, node, node.multiLine)); - break; - case 303 /* PropertyAssignment */: - expressions.push(transformPropertyAssignmentToExpression(property, receiver, node.multiLine)); - break; - case 304 /* ShorthandPropertyAssignment */: - expressions.push(transformShorthandPropertyAssignmentToExpression(property, receiver, node.multiLine)); - break; - default: - Debug.failBadSyntaxKind(node); - break; - } - } - } - function transformPropertyAssignmentToExpression(property, receiver, startsOnNewLine) { - const expression = factory2.createAssignment( - createMemberAccessForPropertyName( - factory2, - receiver, - Debug.checkDefined(visitNode(property.name, visitor, isPropertyName)) - ), - Debug.checkDefined(visitNode(property.initializer, visitor, isExpression)) - ); - setTextRange(expression, property); - if (startsOnNewLine) { - startOnNewLine(expression); - } - return expression; - } - function transformShorthandPropertyAssignmentToExpression(property, receiver, startsOnNewLine) { - const expression = factory2.createAssignment( - createMemberAccessForPropertyName( - factory2, - receiver, - Debug.checkDefined(visitNode(property.name, visitor, isPropertyName)) - ), - factory2.cloneNode(property.name) - ); - setTextRange(expression, property); - if (startsOnNewLine) { - startOnNewLine(expression); - } - return expression; - } - function transformObjectLiteralMethodDeclarationToExpression(method, receiver, container, startsOnNewLine) { - const expression = factory2.createAssignment( - createMemberAccessForPropertyName( - factory2, - receiver, - Debug.checkDefined(visitNode(method.name, visitor, isPropertyName)) - ), - transformFunctionLikeToExpression( - method, - /*location*/ - method, - /*name*/ - void 0, - container - ) - ); - setTextRange(expression, method); - if (startsOnNewLine) { - startOnNewLine(expression); - } - return expression; - } - function visitCatchClause(node) { - const ancestorFacts = enterSubtree(7104 /* BlockScopeExcludes */, 0 /* BlockScopeIncludes */); - let updated; - Debug.assert(!!node.variableDeclaration, "Catch clause variable should always be present when downleveling ES2015."); - if (isBindingPattern(node.variableDeclaration.name)) { - const temp = factory2.createTempVariable( - /*recordTempVariable*/ - void 0 - ); - const newVariableDeclaration = factory2.createVariableDeclaration(temp); - setTextRange(newVariableDeclaration, node.variableDeclaration); - const vars = flattenDestructuringBinding( - node.variableDeclaration, - visitor, - context, - 0 /* All */, - temp - ); - const list = factory2.createVariableDeclarationList(vars); - setTextRange(list, node.variableDeclaration); - const destructure = factory2.createVariableStatement( - /*modifiers*/ - void 0, - list - ); - updated = factory2.updateCatchClause(node, newVariableDeclaration, addStatementToStartOfBlock(node.block, destructure)); - } else { - updated = visitEachChild(node, visitor, context); - } - exitSubtree(ancestorFacts, 0 /* None */, 0 /* None */); - return updated; - } - function addStatementToStartOfBlock(block, statement) { - const transformedStatements = visitNodes2(block.statements, visitor, isStatement); - return factory2.updateBlock(block, [statement, ...transformedStatements]); - } - function visitMethodDeclaration(node) { - Debug.assert(!isComputedPropertyName(node.name)); - const functionExpression = transformFunctionLikeToExpression( - node, - /*location*/ - moveRangePos(node, -1), - /*name*/ - void 0, - /*container*/ - void 0 - ); - setEmitFlags(functionExpression, 1024 /* NoLeadingComments */ | getEmitFlags(functionExpression)); - return setTextRange( - factory2.createPropertyAssignment( - node.name, - functionExpression - ), - /*location*/ - node - ); - } - function visitAccessorDeclaration(node) { - Debug.assert(!isComputedPropertyName(node.name)); - const savedConvertedLoopState = convertedLoopState; - convertedLoopState = void 0; - const ancestorFacts = enterSubtree(32670 /* FunctionExcludes */, 65 /* FunctionIncludes */); - let updated; - const parameters = visitParameterList(node.parameters, visitor, context); - const body = transformFunctionBody(node); - if (node.kind === 177 /* GetAccessor */) { - updated = factory2.updateGetAccessorDeclaration(node, node.modifiers, node.name, parameters, node.type, body); - } else { - updated = factory2.updateSetAccessorDeclaration(node, node.modifiers, node.name, parameters, body); - } - exitSubtree(ancestorFacts, 229376 /* FunctionSubtreeExcludes */, 0 /* None */); - convertedLoopState = savedConvertedLoopState; - return updated; - } - function visitShorthandPropertyAssignment(node) { - return setTextRange( - factory2.createPropertyAssignment( - node.name, - visitIdentifier(factory2.cloneNode(node.name)) - ), - /*location*/ - node - ); - } - function visitComputedPropertyName(node) { - return visitEachChild(node, visitor, context); - } - function visitYieldExpression(node) { - return visitEachChild(node, visitor, context); - } - function visitArrayLiteralExpression(node) { - if (some(node.elements, isSpreadElement)) { - return transformAndSpreadElements( - node.elements, - /*isArgumentList*/ - false, - !!node.multiLine, - /*hasTrailingComma*/ - !!node.elements.hasTrailingComma - ); - } - return visitEachChild(node, visitor, context); - } - function visitCallExpression(node) { - if (getInternalEmitFlags(node) & 1 /* TypeScriptClassWrapper */) { - return visitTypeScriptClassWrapper(node); - } - const expression = skipOuterExpressions(node.expression); - if (expression.kind === 108 /* SuperKeyword */ || isSuperProperty(expression) || some(node.arguments, isSpreadElement)) { - return visitCallExpressionWithPotentialCapturedThisAssignment( - node, - /*assignToCapturedThis*/ - true - ); - } - return factory2.updateCallExpression( - node, - Debug.checkDefined(visitNode(node.expression, callExpressionVisitor, isExpression)), - /*typeArguments*/ - void 0, - visitNodes2(node.arguments, visitor, isExpression) - ); - } - function visitTypeScriptClassWrapper(node) { - const body = cast(cast(skipOuterExpressions(node.expression), isArrowFunction).body, isBlock); - const isVariableStatementWithInitializer = (stmt) => isVariableStatement(stmt) && !!first(stmt.declarationList.declarations).initializer; - const savedConvertedLoopState = convertedLoopState; - convertedLoopState = void 0; - const bodyStatements = visitNodes2(body.statements, classWrapperStatementVisitor, isStatement); - convertedLoopState = savedConvertedLoopState; - const classStatements = filter(bodyStatements, isVariableStatementWithInitializer); - const remainingStatements = filter(bodyStatements, (stmt) => !isVariableStatementWithInitializer(stmt)); - const varStatement = cast(first(classStatements), isVariableStatement); - const variable = varStatement.declarationList.declarations[0]; - const initializer = skipOuterExpressions(variable.initializer); - let aliasAssignment = tryCast(initializer, isAssignmentExpression); - if (!aliasAssignment && isBinaryExpression(initializer) && initializer.operatorToken.kind === 28 /* CommaToken */) { - aliasAssignment = tryCast(initializer.left, isAssignmentExpression); - } - const call = cast(aliasAssignment ? skipOuterExpressions(aliasAssignment.right) : initializer, isCallExpression); - const func = cast(skipOuterExpressions(call.expression), isFunctionExpression); - const funcStatements = func.body.statements; - let classBodyStart = 0; - let classBodyEnd = -1; - const statements = []; - if (aliasAssignment) { - const extendsCall = tryCast(funcStatements[classBodyStart], isExpressionStatement); - if (extendsCall) { - statements.push(extendsCall); - classBodyStart++; - } - statements.push(funcStatements[classBodyStart]); - classBodyStart++; - statements.push( - factory2.createExpressionStatement( - factory2.createAssignment( - aliasAssignment.left, - cast(variable.name, isIdentifier) - ) - ) - ); - } - while (!isReturnStatement(elementAt(funcStatements, classBodyEnd))) { - classBodyEnd--; - } - addRange(statements, funcStatements, classBodyStart, classBodyEnd); - if (classBodyEnd < -1) { - addRange(statements, funcStatements, classBodyEnd + 1); - } - const returnStatement = tryCast(elementAt(funcStatements, classBodyEnd), isReturnStatement); - for (const statement of remainingStatements) { - if (isReturnStatement(statement) && (returnStatement == null ? void 0 : returnStatement.expression) && !isIdentifier(returnStatement.expression)) { - statements.push(returnStatement); - } else { - statements.push(statement); - } - } - addRange( - statements, - classStatements, - /*start*/ - 1 - ); - return factory2.restoreOuterExpressions( - node.expression, - factory2.restoreOuterExpressions( - variable.initializer, - factory2.restoreOuterExpressions( - aliasAssignment && aliasAssignment.right, - factory2.updateCallExpression( - call, - factory2.restoreOuterExpressions( - call.expression, - factory2.updateFunctionExpression( - func, - /*modifiers*/ - void 0, - /*asteriskToken*/ - void 0, - /*name*/ - void 0, - /*typeParameters*/ - void 0, - func.parameters, - /*type*/ - void 0, - factory2.updateBlock( - func.body, - statements - ) - ) - ), - /*typeArguments*/ - void 0, - call.arguments - ) - ) - ) - ); - } - function visitCallExpressionWithPotentialCapturedThisAssignment(node, assignToCapturedThis) { - if (node.transformFlags & 32768 /* ContainsRestOrSpread */ || node.expression.kind === 108 /* SuperKeyword */ || isSuperProperty(skipOuterExpressions(node.expression))) { - const { target, thisArg } = factory2.createCallBinding(node.expression, hoistVariableDeclaration); - if (node.expression.kind === 108 /* SuperKeyword */) { - setEmitFlags(thisArg, 8 /* NoSubstitution */); - } - let resultingCall; - if (node.transformFlags & 32768 /* ContainsRestOrSpread */) { - resultingCall = factory2.createFunctionApplyCall( - Debug.checkDefined(visitNode(target, callExpressionVisitor, isExpression)), - node.expression.kind === 108 /* SuperKeyword */ ? thisArg : Debug.checkDefined(visitNode(thisArg, visitor, isExpression)), - transformAndSpreadElements( - node.arguments, - /*isArgumentList*/ - true, - /*multiLine*/ - false, - /*hasTrailingComma*/ - false - ) - ); - } else { - resultingCall = setTextRange( - factory2.createFunctionCallCall( - Debug.checkDefined(visitNode(target, callExpressionVisitor, isExpression)), - node.expression.kind === 108 /* SuperKeyword */ ? thisArg : Debug.checkDefined(visitNode(thisArg, visitor, isExpression)), - visitNodes2(node.arguments, visitor, isExpression) - ), - node - ); - } - if (node.expression.kind === 108 /* SuperKeyword */) { - const initializer = factory2.createLogicalOr( - resultingCall, - createActualThis() - ); - resultingCall = assignToCapturedThis ? factory2.createAssignment(createCapturedThis(), initializer) : initializer; - } - return setOriginalNode(resultingCall, node); - } - if (isSuperCall(node)) { - hierarchyFacts |= 131072 /* CapturedLexicalThis */; - } - return visitEachChild(node, visitor, context); - } - function visitNewExpression(node) { - if (some(node.arguments, isSpreadElement)) { - const { target, thisArg } = factory2.createCallBinding(factory2.createPropertyAccessExpression(node.expression, "bind"), hoistVariableDeclaration); - return factory2.createNewExpression( - factory2.createFunctionApplyCall( - Debug.checkDefined(visitNode(target, visitor, isExpression)), - thisArg, - transformAndSpreadElements( - factory2.createNodeArray([factory2.createVoidZero(), ...node.arguments]), - /*isArgumentList*/ - true, - /*multiLine*/ - false, - /*hasTrailingComma*/ - false - ) - ), - /*typeArguments*/ - void 0, - [] - ); - } - return visitEachChild(node, visitor, context); - } - function transformAndSpreadElements(elements, isArgumentList, multiLine, hasTrailingComma) { - const numElements = elements.length; - const segments = flatten( - // As we visit each element, we return one of two functions to use as the "key": - // - `visitSpanOfSpreads` for one or more contiguous `...` spread expressions, i.e. `...a, ...b` in `[1, 2, ...a, ...b]` - // - `visitSpanOfNonSpreads` for one or more contiguous non-spread elements, i.e. `1, 2`, in `[1, 2, ...a, ...b]` - spanMap(elements, partitionSpread, (partition, visitPartition, _start, end) => visitPartition(partition, multiLine, hasTrailingComma && end === numElements)) - ); - if (segments.length === 1) { - const firstSegment = segments[0]; - if (isArgumentList && !compilerOptions.downlevelIteration || isPackedArrayLiteral(firstSegment.expression) || isCallToHelper(firstSegment.expression, "___spreadArray")) { - return firstSegment.expression; - } - } - const helpers = emitHelpers(); - const startsWithSpread = segments[0].kind !== 0 /* None */; - let expression = startsWithSpread ? factory2.createArrayLiteralExpression() : segments[0].expression; - for (let i = startsWithSpread ? 0 : 1; i < segments.length; i++) { - const segment = segments[i]; - expression = helpers.createSpreadArrayHelper( - expression, - segment.expression, - segment.kind === 1 /* UnpackedSpread */ && !isArgumentList - ); - } - return expression; - } - function partitionSpread(node) { - return isSpreadElement(node) ? visitSpanOfSpreads : visitSpanOfNonSpreads; - } - function visitSpanOfSpreads(chunk) { - return map(chunk, visitExpressionOfSpread); - } - function visitExpressionOfSpread(node) { - Debug.assertNode(node, isSpreadElement); - let expression = visitNode(node.expression, visitor, isExpression); - Debug.assert(expression); - const isCallToReadHelper = isCallToHelper(expression, "___read"); - let kind = isCallToReadHelper || isPackedArrayLiteral(expression) ? 2 /* PackedSpread */ : 1 /* UnpackedSpread */; - if (compilerOptions.downlevelIteration && kind === 1 /* UnpackedSpread */ && !isArrayLiteralExpression(expression) && !isCallToReadHelper) { - expression = emitHelpers().createReadHelper( - expression, - /*count*/ - void 0 - ); - kind = 2 /* PackedSpread */; - } - return createSpreadSegment(kind, expression); - } - function visitSpanOfNonSpreads(chunk, multiLine, hasTrailingComma) { - const expression = factory2.createArrayLiteralExpression( - visitNodes2(factory2.createNodeArray(chunk, hasTrailingComma), visitor, isExpression), - multiLine - ); - return createSpreadSegment(0 /* None */, expression); - } - function visitSpreadElement(node) { - return visitNode(node.expression, visitor, isExpression); - } - function visitTemplateLiteral(node) { - return setTextRange(factory2.createStringLiteral(node.text), node); - } - function visitStringLiteral(node) { - if (node.hasExtendedUnicodeEscape) { - return setTextRange(factory2.createStringLiteral(node.text), node); - } - return node; - } - function visitNumericLiteral(node) { - if (node.numericLiteralFlags & 384 /* BinaryOrOctalSpecifier */) { - return setTextRange(factory2.createNumericLiteral(node.text), node); - } - return node; - } - function visitTaggedTemplateExpression(node) { - return processTaggedTemplateExpression( - context, - node, - visitor, - currentSourceFile, - recordTaggedTemplateString, - 1 /* All */ - ); - } - function visitTemplateExpression(node) { - let expression = factory2.createStringLiteral(node.head.text); - for (const span of node.templateSpans) { - const args = [Debug.checkDefined(visitNode(span.expression, visitor, isExpression))]; - if (span.literal.text.length > 0) { - args.push(factory2.createStringLiteral(span.literal.text)); - } - expression = factory2.createCallExpression( - factory2.createPropertyAccessExpression(expression, "concat"), - /*typeArguments*/ - void 0, - args - ); - } - return setTextRange(expression, node); - } - function createSyntheticSuper() { - return factory2.createUniqueName("_super", 16 /* Optimistic */ | 32 /* FileLevel */); - } - function visitSuperKeyword(node, isExpressionOfCall) { - const expression = hierarchyFacts & 8 /* NonStaticClassElement */ && !isExpressionOfCall ? factory2.createPropertyAccessExpression(setOriginalNode(createSyntheticSuper(), node), "prototype") : createSyntheticSuper(); - setOriginalNode(expression, node); - setCommentRange(expression, node); - setSourceMapRange(expression, node); - return expression; - } - function visitMetaProperty(node) { - if (node.keywordToken === 105 /* NewKeyword */ && node.name.escapedText === "target") { - hierarchyFacts |= 32768 /* NewTarget */; - return factory2.createUniqueName("_newTarget", 16 /* Optimistic */ | 32 /* FileLevel */); - } - return node; - } - function onEmitNode(hint, node, emitCallback) { - if (enabledSubstitutions & 1 /* CapturedThis */ && isFunctionLike(node)) { - const ancestorFacts = enterSubtree( - 32670 /* FunctionExcludes */, - getEmitFlags(node) & 16 /* CapturesThis */ ? 65 /* FunctionIncludes */ | 16 /* CapturesThis */ : 65 /* FunctionIncludes */ - ); - previousOnEmitNode(hint, node, emitCallback); - exitSubtree(ancestorFacts, 0 /* None */, 0 /* None */); - return; - } - previousOnEmitNode(hint, node, emitCallback); - } - function enableSubstitutionsForBlockScopedBindings() { - if ((enabledSubstitutions & 2 /* BlockScopedBindings */) === 0) { - enabledSubstitutions |= 2 /* BlockScopedBindings */; - context.enableSubstitution(80 /* Identifier */); - } - } - function enableSubstitutionsForCapturedThis() { - if ((enabledSubstitutions & 1 /* CapturedThis */) === 0) { - enabledSubstitutions |= 1 /* CapturedThis */; - context.enableSubstitution(110 /* ThisKeyword */); - context.enableEmitNotification(176 /* Constructor */); - context.enableEmitNotification(174 /* MethodDeclaration */); - context.enableEmitNotification(177 /* GetAccessor */); - context.enableEmitNotification(178 /* SetAccessor */); - context.enableEmitNotification(219 /* ArrowFunction */); - context.enableEmitNotification(218 /* FunctionExpression */); - context.enableEmitNotification(262 /* FunctionDeclaration */); - } - } - function onSubstituteNode(hint, node) { - node = previousOnSubstituteNode(hint, node); - if (hint === 1 /* Expression */) { - return substituteExpression(node); - } - if (isIdentifier(node)) { - return substituteIdentifier(node); - } - return node; - } - function substituteIdentifier(node) { - if (enabledSubstitutions & 2 /* BlockScopedBindings */ && !isInternalName(node)) { - const original = getParseTreeNode(node, isIdentifier); - if (original && isNameOfDeclarationWithCollidingName(original)) { - return setTextRange(factory2.getGeneratedNameForNode(original), node); - } - } - return node; - } - function isNameOfDeclarationWithCollidingName(node) { - switch (node.parent.kind) { - case 208 /* BindingElement */: - case 263 /* ClassDeclaration */: - case 266 /* EnumDeclaration */: - case 260 /* VariableDeclaration */: - return node.parent.name === node && resolver.isDeclarationWithCollidingName(node.parent); - } - return false; - } - function substituteExpression(node) { - switch (node.kind) { - case 80 /* Identifier */: - return substituteExpressionIdentifier(node); - case 110 /* ThisKeyword */: - return substituteThisKeyword(node); - } - return node; - } - function substituteExpressionIdentifier(node) { - if (enabledSubstitutions & 2 /* BlockScopedBindings */ && !isInternalName(node)) { - const declaration = resolver.getReferencedDeclarationWithCollidingName(node); - if (declaration && !(isClassLike(declaration) && isPartOfClassBody(declaration, node))) { - return setTextRange(factory2.getGeneratedNameForNode(getNameOfDeclaration(declaration)), node); - } - } - return node; - } - function isPartOfClassBody(declaration, node) { - let currentNode = getParseTreeNode(node); - if (!currentNode || currentNode === declaration || currentNode.end <= declaration.pos || currentNode.pos >= declaration.end) { - return false; - } - const blockScope = getEnclosingBlockScopeContainer(declaration); - while (currentNode) { - if (currentNode === blockScope || currentNode === declaration) { - return false; - } - if (isClassElement(currentNode) && currentNode.parent === declaration) { - return true; - } - currentNode = currentNode.parent; - } - return false; - } - function substituteThisKeyword(node) { - if (enabledSubstitutions & 1 /* CapturedThis */ && hierarchyFacts & 16 /* CapturesThis */) { - return setTextRange(createCapturedThis(), node); - } - return node; - } - function getClassMemberPrefix(node, member) { - return isStatic(member) ? factory2.getInternalName(node) : factory2.createPropertyAccessExpression(factory2.getInternalName(node), "prototype"); - } - function hasSynthesizedDefaultSuperCall(constructor, hasExtendsClause) { - if (!constructor || !hasExtendsClause) { - return false; - } - if (some(constructor.parameters)) { - return false; - } - const statement = firstOrUndefined(constructor.body.statements); - if (!statement || !nodeIsSynthesized(statement) || statement.kind !== 244 /* ExpressionStatement */) { - return false; - } - const statementExpression = statement.expression; - if (!nodeIsSynthesized(statementExpression) || statementExpression.kind !== 213 /* CallExpression */) { - return false; - } - const callTarget = statementExpression.expression; - if (!nodeIsSynthesized(callTarget) || callTarget.kind !== 108 /* SuperKeyword */) { - return false; - } - const callArgument = singleOrUndefined(statementExpression.arguments); - if (!callArgument || !nodeIsSynthesized(callArgument) || callArgument.kind !== 230 /* SpreadElement */) { - return false; - } - const expression = callArgument.expression; - return isIdentifier(expression) && expression.escapedText === "arguments"; - } -} - -// src/compiler/transformers/generators.ts -function getInstructionName(instruction) { - switch (instruction) { - case 2 /* Return */: - return "return"; - case 3 /* Break */: - return "break"; - case 4 /* Yield */: - return "yield"; - case 5 /* YieldStar */: - return "yield*"; - case 7 /* Endfinally */: - return "endfinally"; - default: - return void 0; - } -} -function transformGenerators(context) { - const { - factory: factory2, - getEmitHelperFactory: emitHelpers, - resumeLexicalEnvironment, - endLexicalEnvironment, - hoistFunctionDeclaration, - hoistVariableDeclaration - } = context; - const compilerOptions = context.getCompilerOptions(); - const languageVersion = getEmitScriptTarget(compilerOptions); - const resolver = context.getEmitResolver(); - const previousOnSubstituteNode = context.onSubstituteNode; - context.onSubstituteNode = onSubstituteNode; - let renamedCatchVariables; - let renamedCatchVariableDeclarations; - let inGeneratorFunctionBody; - let inStatementContainingYield; - let blocks; - let blockOffsets; - let blockActions; - let blockStack; - let labelOffsets; - let labelExpressions; - let nextLabelId = 1; - let operations; - let operationArguments; - let operationLocations; - let state; - let blockIndex = 0; - let labelNumber = 0; - let labelNumbers; - let lastOperationWasAbrupt; - let lastOperationWasCompletion; - let clauses; - let statements; - let exceptionBlockStack; - let currentExceptionBlock; - let withBlockStack; - return chainBundle(context, transformSourceFile); - function transformSourceFile(node) { - if (node.isDeclarationFile || (node.transformFlags & 2048 /* ContainsGenerator */) === 0) { - return node; - } - const visited = visitEachChild(node, visitor, context); - addEmitHelpers(visited, context.readEmitHelpers()); - return visited; - } - function visitor(node) { - const transformFlags = node.transformFlags; - if (inStatementContainingYield) { - return visitJavaScriptInStatementContainingYield(node); - } else if (inGeneratorFunctionBody) { - return visitJavaScriptInGeneratorFunctionBody(node); - } else if (isFunctionLikeDeclaration(node) && node.asteriskToken) { - return visitGenerator(node); - } else if (transformFlags & 2048 /* ContainsGenerator */) { - return visitEachChild(node, visitor, context); - } else { - return node; - } - } - function visitJavaScriptInStatementContainingYield(node) { - switch (node.kind) { - case 246 /* DoStatement */: - return visitDoStatement(node); - case 247 /* WhileStatement */: - return visitWhileStatement(node); - case 255 /* SwitchStatement */: - return visitSwitchStatement(node); - case 256 /* LabeledStatement */: - return visitLabeledStatement(node); - default: - return visitJavaScriptInGeneratorFunctionBody(node); - } - } - function visitJavaScriptInGeneratorFunctionBody(node) { - switch (node.kind) { - case 262 /* FunctionDeclaration */: - return visitFunctionDeclaration(node); - case 218 /* FunctionExpression */: - return visitFunctionExpression(node); - case 177 /* GetAccessor */: - case 178 /* SetAccessor */: - return visitAccessorDeclaration(node); - case 243 /* VariableStatement */: - return visitVariableStatement(node); - case 248 /* ForStatement */: - return visitForStatement(node); - case 249 /* ForInStatement */: - return visitForInStatement(node); - case 252 /* BreakStatement */: - return visitBreakStatement(node); - case 251 /* ContinueStatement */: - return visitContinueStatement(node); - case 253 /* ReturnStatement */: - return visitReturnStatement(node); - default: - if (node.transformFlags & 1048576 /* ContainsYield */) { - return visitJavaScriptContainingYield(node); - } else if (node.transformFlags & (2048 /* ContainsGenerator */ | 4194304 /* ContainsHoistedDeclarationOrCompletion */)) { - return visitEachChild(node, visitor, context); - } else { - return node; - } - } - } - function visitJavaScriptContainingYield(node) { - switch (node.kind) { - case 226 /* BinaryExpression */: - return visitBinaryExpression(node); - case 355 /* CommaListExpression */: - return visitCommaListExpression(node); - case 227 /* ConditionalExpression */: - return visitConditionalExpression(node); - case 229 /* YieldExpression */: - return visitYieldExpression(node); - case 209 /* ArrayLiteralExpression */: - return visitArrayLiteralExpression(node); - case 210 /* ObjectLiteralExpression */: - return visitObjectLiteralExpression(node); - case 212 /* ElementAccessExpression */: - return visitElementAccessExpression(node); - case 213 /* CallExpression */: - return visitCallExpression(node); - case 214 /* NewExpression */: - return visitNewExpression(node); - default: - return visitEachChild(node, visitor, context); - } - } - function visitGenerator(node) { - switch (node.kind) { - case 262 /* FunctionDeclaration */: - return visitFunctionDeclaration(node); - case 218 /* FunctionExpression */: - return visitFunctionExpression(node); - default: - return Debug.failBadSyntaxKind(node); - } - } - function visitFunctionDeclaration(node) { - if (node.asteriskToken) { - node = setOriginalNode( - setTextRange( - factory2.createFunctionDeclaration( - node.modifiers, - /*asteriskToken*/ - void 0, - node.name, - /*typeParameters*/ - void 0, - visitParameterList(node.parameters, visitor, context), - /*type*/ - void 0, - transformGeneratorFunctionBody(node.body) - ), - /*location*/ - node - ), - node - ); - } else { - const savedInGeneratorFunctionBody = inGeneratorFunctionBody; - const savedInStatementContainingYield = inStatementContainingYield; - inGeneratorFunctionBody = false; - inStatementContainingYield = false; - node = visitEachChild(node, visitor, context); - inGeneratorFunctionBody = savedInGeneratorFunctionBody; - inStatementContainingYield = savedInStatementContainingYield; - } - if (inGeneratorFunctionBody) { - hoistFunctionDeclaration(node); - return void 0; - } else { - return node; - } - } - function visitFunctionExpression(node) { - if (node.asteriskToken) { - node = setOriginalNode( - setTextRange( - factory2.createFunctionExpression( - /*modifiers*/ - void 0, - /*asteriskToken*/ - void 0, - node.name, - /*typeParameters*/ - void 0, - visitParameterList(node.parameters, visitor, context), - /*type*/ - void 0, - transformGeneratorFunctionBody(node.body) - ), - /*location*/ - node - ), - node - ); - } else { - const savedInGeneratorFunctionBody = inGeneratorFunctionBody; - const savedInStatementContainingYield = inStatementContainingYield; - inGeneratorFunctionBody = false; - inStatementContainingYield = false; - node = visitEachChild(node, visitor, context); - inGeneratorFunctionBody = savedInGeneratorFunctionBody; - inStatementContainingYield = savedInStatementContainingYield; - } - return node; - } - function visitAccessorDeclaration(node) { - const savedInGeneratorFunctionBody = inGeneratorFunctionBody; - const savedInStatementContainingYield = inStatementContainingYield; - inGeneratorFunctionBody = false; - inStatementContainingYield = false; - node = visitEachChild(node, visitor, context); - inGeneratorFunctionBody = savedInGeneratorFunctionBody; - inStatementContainingYield = savedInStatementContainingYield; - return node; - } - function transformGeneratorFunctionBody(body) { - const statements2 = []; - const savedInGeneratorFunctionBody = inGeneratorFunctionBody; - const savedInStatementContainingYield = inStatementContainingYield; - const savedBlocks = blocks; - const savedBlockOffsets = blockOffsets; - const savedBlockActions = blockActions; - const savedBlockStack = blockStack; - const savedLabelOffsets = labelOffsets; - const savedLabelExpressions = labelExpressions; - const savedNextLabelId = nextLabelId; - const savedOperations = operations; - const savedOperationArguments = operationArguments; - const savedOperationLocations = operationLocations; - const savedState = state; - inGeneratorFunctionBody = true; - inStatementContainingYield = false; - blocks = void 0; - blockOffsets = void 0; - blockActions = void 0; - blockStack = void 0; - labelOffsets = void 0; - labelExpressions = void 0; - nextLabelId = 1; - operations = void 0; - operationArguments = void 0; - operationLocations = void 0; - state = factory2.createTempVariable( - /*recordTempVariable*/ - void 0 - ); - resumeLexicalEnvironment(); - const statementOffset = factory2.copyPrologue( - body.statements, - statements2, - /*ensureUseStrict*/ - false, - visitor - ); - transformAndEmitStatements(body.statements, statementOffset); - const buildResult = build2(); - insertStatementsAfterStandardPrologue(statements2, endLexicalEnvironment()); - statements2.push(factory2.createReturnStatement(buildResult)); - inGeneratorFunctionBody = savedInGeneratorFunctionBody; - inStatementContainingYield = savedInStatementContainingYield; - blocks = savedBlocks; - blockOffsets = savedBlockOffsets; - blockActions = savedBlockActions; - blockStack = savedBlockStack; - labelOffsets = savedLabelOffsets; - labelExpressions = savedLabelExpressions; - nextLabelId = savedNextLabelId; - operations = savedOperations; - operationArguments = savedOperationArguments; - operationLocations = savedOperationLocations; - state = savedState; - return setTextRange(factory2.createBlock(statements2, body.multiLine), body); - } - function visitVariableStatement(node) { - if (node.transformFlags & 1048576 /* ContainsYield */) { - transformAndEmitVariableDeclarationList(node.declarationList); - return void 0; - } else { - if (getEmitFlags(node) & 2097152 /* CustomPrologue */) { - return node; - } - for (const variable of node.declarationList.declarations) { - hoistVariableDeclaration(variable.name); - } - const variables = getInitializedVariables(node.declarationList); - if (variables.length === 0) { - return void 0; - } - return setSourceMapRange( - factory2.createExpressionStatement( - factory2.inlineExpressions( - map(variables, transformInitializedVariable) - ) - ), - node - ); - } - } - function visitBinaryExpression(node) { - const assoc = getExpressionAssociativity(node); - switch (assoc) { - case 0 /* Left */: - return visitLeftAssociativeBinaryExpression(node); - case 1 /* Right */: - return visitRightAssociativeBinaryExpression(node); - default: - return Debug.assertNever(assoc); - } - } - function visitRightAssociativeBinaryExpression(node) { - const { left, right } = node; - if (containsYield(right)) { - let target; - switch (left.kind) { - case 211 /* PropertyAccessExpression */: - target = factory2.updatePropertyAccessExpression( - left, - cacheExpression(Debug.checkDefined(visitNode(left.expression, visitor, isLeftHandSideExpression))), - left.name - ); - break; - case 212 /* ElementAccessExpression */: - target = factory2.updateElementAccessExpression(left, cacheExpression(Debug.checkDefined(visitNode(left.expression, visitor, isLeftHandSideExpression))), cacheExpression(Debug.checkDefined(visitNode(left.argumentExpression, visitor, isExpression)))); - break; - default: - target = Debug.checkDefined(visitNode(left, visitor, isExpression)); - break; - } - const operator = node.operatorToken.kind; - if (isCompoundAssignment(operator)) { - return setTextRange( - factory2.createAssignment( - target, - setTextRange( - factory2.createBinaryExpression( - cacheExpression(target), - getNonAssignmentOperatorForCompoundAssignment(operator), - Debug.checkDefined(visitNode(right, visitor, isExpression)) - ), - node - ) - ), - node - ); - } else { - return factory2.updateBinaryExpression(node, target, node.operatorToken, Debug.checkDefined(visitNode(right, visitor, isExpression))); - } - } - return visitEachChild(node, visitor, context); - } - function visitLeftAssociativeBinaryExpression(node) { - if (containsYield(node.right)) { - if (isLogicalOperator(node.operatorToken.kind)) { - return visitLogicalBinaryExpression(node); - } else if (node.operatorToken.kind === 28 /* CommaToken */) { - return visitCommaExpression(node); - } - return factory2.updateBinaryExpression(node, cacheExpression(Debug.checkDefined(visitNode(node.left, visitor, isExpression))), node.operatorToken, Debug.checkDefined(visitNode(node.right, visitor, isExpression))); - } - return visitEachChild(node, visitor, context); - } - function visitCommaExpression(node) { - let pendingExpressions = []; - visit(node.left); - visit(node.right); - return factory2.inlineExpressions(pendingExpressions); - function visit(node2) { - if (isBinaryExpression(node2) && node2.operatorToken.kind === 28 /* CommaToken */) { - visit(node2.left); - visit(node2.right); - } else { - if (containsYield(node2) && pendingExpressions.length > 0) { - emitWorker(1 /* Statement */, [factory2.createExpressionStatement(factory2.inlineExpressions(pendingExpressions))]); - pendingExpressions = []; - } - pendingExpressions.push(Debug.checkDefined(visitNode(node2, visitor, isExpression))); - } - } - } - function visitCommaListExpression(node) { - let pendingExpressions = []; - for (const elem of node.elements) { - if (isBinaryExpression(elem) && elem.operatorToken.kind === 28 /* CommaToken */) { - pendingExpressions.push(visitCommaExpression(elem)); - } else { - if (containsYield(elem) && pendingExpressions.length > 0) { - emitWorker(1 /* Statement */, [factory2.createExpressionStatement(factory2.inlineExpressions(pendingExpressions))]); - pendingExpressions = []; - } - pendingExpressions.push(Debug.checkDefined(visitNode(elem, visitor, isExpression))); - } - } - return factory2.inlineExpressions(pendingExpressions); - } - function visitLogicalBinaryExpression(node) { - const resultLabel = defineLabel(); - const resultLocal = declareLocal(); - emitAssignment( - resultLocal, - Debug.checkDefined(visitNode(node.left, visitor, isExpression)), - /*location*/ - node.left - ); - if (node.operatorToken.kind === 56 /* AmpersandAmpersandToken */) { - emitBreakWhenFalse( - resultLabel, - resultLocal, - /*location*/ - node.left - ); - } else { - emitBreakWhenTrue( - resultLabel, - resultLocal, - /*location*/ - node.left - ); - } - emitAssignment( - resultLocal, - Debug.checkDefined(visitNode(node.right, visitor, isExpression)), - /*location*/ - node.right - ); - markLabel(resultLabel); - return resultLocal; - } - function visitConditionalExpression(node) { - if (containsYield(node.whenTrue) || containsYield(node.whenFalse)) { - const whenFalseLabel = defineLabel(); - const resultLabel = defineLabel(); - const resultLocal = declareLocal(); - emitBreakWhenFalse( - whenFalseLabel, - Debug.checkDefined(visitNode(node.condition, visitor, isExpression)), - /*location*/ - node.condition - ); - emitAssignment( - resultLocal, - Debug.checkDefined(visitNode(node.whenTrue, visitor, isExpression)), - /*location*/ - node.whenTrue - ); - emitBreak(resultLabel); - markLabel(whenFalseLabel); - emitAssignment( - resultLocal, - Debug.checkDefined(visitNode(node.whenFalse, visitor, isExpression)), - /*location*/ - node.whenFalse - ); - markLabel(resultLabel); - return resultLocal; - } - return visitEachChild(node, visitor, context); - } - function visitYieldExpression(node) { - const resumeLabel = defineLabel(); - const expression = visitNode(node.expression, visitor, isExpression); - if (node.asteriskToken) { - const iterator = (getEmitFlags(node.expression) & 8388608 /* Iterator */) === 0 ? setTextRange(emitHelpers().createValuesHelper(expression), node) : expression; - emitYieldStar( - iterator, - /*location*/ - node - ); - } else { - emitYield( - expression, - /*location*/ - node - ); - } - markLabel(resumeLabel); - return createGeneratorResume( - /*location*/ - node - ); - } - function visitArrayLiteralExpression(node) { - return visitElements( - node.elements, - /*leadingElement*/ - void 0, - /*location*/ - void 0, - node.multiLine - ); - } - function visitElements(elements, leadingElement, location, multiLine) { - const numInitialElements = countInitialNodesWithoutYield(elements); - let temp; - if (numInitialElements > 0) { - temp = declareLocal(); - const initialElements = visitNodes2(elements, visitor, isExpression, 0, numInitialElements); - emitAssignment( - temp, - factory2.createArrayLiteralExpression( - leadingElement ? [leadingElement, ...initialElements] : initialElements - ) - ); - leadingElement = void 0; - } - const expressions = reduceLeft(elements, reduceElement, [], numInitialElements); - return temp ? factory2.createArrayConcatCall(temp, [factory2.createArrayLiteralExpression(expressions, multiLine)]) : setTextRange( - factory2.createArrayLiteralExpression(leadingElement ? [leadingElement, ...expressions] : expressions, multiLine), - location - ); - function reduceElement(expressions2, element) { - if (containsYield(element) && expressions2.length > 0) { - const hasAssignedTemp = temp !== void 0; - if (!temp) { - temp = declareLocal(); - } - emitAssignment( - temp, - hasAssignedTemp ? factory2.createArrayConcatCall( - temp, - [factory2.createArrayLiteralExpression(expressions2, multiLine)] - ) : factory2.createArrayLiteralExpression( - leadingElement ? [leadingElement, ...expressions2] : expressions2, - multiLine - ) - ); - leadingElement = void 0; - expressions2 = []; - } - expressions2.push(Debug.checkDefined(visitNode(element, visitor, isExpression))); - return expressions2; - } - } - function visitObjectLiteralExpression(node) { - const properties = node.properties; - const multiLine = node.multiLine; - const numInitialProperties = countInitialNodesWithoutYield(properties); - const temp = declareLocal(); - emitAssignment( - temp, - factory2.createObjectLiteralExpression( - visitNodes2(properties, visitor, isObjectLiteralElementLike, 0, numInitialProperties), - multiLine - ) - ); - const expressions = reduceLeft(properties, reduceProperty, [], numInitialProperties); - expressions.push(multiLine ? startOnNewLine(setParent(setTextRange(factory2.cloneNode(temp), temp), temp.parent)) : temp); - return factory2.inlineExpressions(expressions); - function reduceProperty(expressions2, property) { - if (containsYield(property) && expressions2.length > 0) { - emitStatement(factory2.createExpressionStatement(factory2.inlineExpressions(expressions2))); - expressions2 = []; - } - const expression = createExpressionForObjectLiteralElementLike(factory2, node, property, temp); - const visited = visitNode(expression, visitor, isExpression); - if (visited) { - if (multiLine) { - startOnNewLine(visited); - } - expressions2.push(visited); - } - return expressions2; - } - } - function visitElementAccessExpression(node) { - if (containsYield(node.argumentExpression)) { - return factory2.updateElementAccessExpression(node, cacheExpression(Debug.checkDefined(visitNode(node.expression, visitor, isLeftHandSideExpression))), Debug.checkDefined(visitNode(node.argumentExpression, visitor, isExpression))); - } - return visitEachChild(node, visitor, context); - } - function visitCallExpression(node) { - if (!isImportCall(node) && forEach(node.arguments, containsYield)) { - const { target, thisArg } = factory2.createCallBinding( - node.expression, - hoistVariableDeclaration, - languageVersion, - /*cacheIdentifiers*/ - true - ); - return setOriginalNode( - setTextRange( - factory2.createFunctionApplyCall( - cacheExpression(Debug.checkDefined(visitNode(target, visitor, isLeftHandSideExpression))), - thisArg, - visitElements(node.arguments) - ), - node - ), - node - ); - } - return visitEachChild(node, visitor, context); - } - function visitNewExpression(node) { - if (forEach(node.arguments, containsYield)) { - const { target, thisArg } = factory2.createCallBinding(factory2.createPropertyAccessExpression(node.expression, "bind"), hoistVariableDeclaration); - return setOriginalNode( - setTextRange( - factory2.createNewExpression( - factory2.createFunctionApplyCall( - cacheExpression(Debug.checkDefined(visitNode(target, visitor, isExpression))), - thisArg, - visitElements( - node.arguments, - /*leadingElement*/ - factory2.createVoidZero() - ) - ), - /*typeArguments*/ - void 0, - [] - ), - node - ), - node - ); - } - return visitEachChild(node, visitor, context); - } - function transformAndEmitStatements(statements2, start = 0) { - const numStatements = statements2.length; - for (let i = start; i < numStatements; i++) { - transformAndEmitStatement(statements2[i]); - } - } - function transformAndEmitEmbeddedStatement(node) { - if (isBlock(node)) { - transformAndEmitStatements(node.statements); - } else { - transformAndEmitStatement(node); - } - } - function transformAndEmitStatement(node) { - const savedInStatementContainingYield = inStatementContainingYield; - if (!inStatementContainingYield) { - inStatementContainingYield = containsYield(node); - } - transformAndEmitStatementWorker(node); - inStatementContainingYield = savedInStatementContainingYield; - } - function transformAndEmitStatementWorker(node) { - switch (node.kind) { - case 241 /* Block */: - return transformAndEmitBlock(node); - case 244 /* ExpressionStatement */: - return transformAndEmitExpressionStatement(node); - case 245 /* IfStatement */: - return transformAndEmitIfStatement(node); - case 246 /* DoStatement */: - return transformAndEmitDoStatement(node); - case 247 /* WhileStatement */: - return transformAndEmitWhileStatement(node); - case 248 /* ForStatement */: - return transformAndEmitForStatement(node); - case 249 /* ForInStatement */: - return transformAndEmitForInStatement(node); - case 251 /* ContinueStatement */: - return transformAndEmitContinueStatement(node); - case 252 /* BreakStatement */: - return transformAndEmitBreakStatement(node); - case 253 /* ReturnStatement */: - return transformAndEmitReturnStatement(node); - case 254 /* WithStatement */: - return transformAndEmitWithStatement(node); - case 255 /* SwitchStatement */: - return transformAndEmitSwitchStatement(node); - case 256 /* LabeledStatement */: - return transformAndEmitLabeledStatement(node); - case 257 /* ThrowStatement */: - return transformAndEmitThrowStatement(node); - case 258 /* TryStatement */: - return transformAndEmitTryStatement(node); - default: - return emitStatement(visitNode(node, visitor, isStatement)); - } - } - function transformAndEmitBlock(node) { - if (containsYield(node)) { - transformAndEmitStatements(node.statements); - } else { - emitStatement(visitNode(node, visitor, isStatement)); - } - } - function transformAndEmitExpressionStatement(node) { - emitStatement(visitNode(node, visitor, isStatement)); - } - function transformAndEmitVariableDeclarationList(node) { - for (const variable of node.declarations) { - const name = factory2.cloneNode(variable.name); - setCommentRange(name, variable.name); - hoistVariableDeclaration(name); - } - const variables = getInitializedVariables(node); - const numVariables = variables.length; - let variablesWritten = 0; - let pendingExpressions = []; - while (variablesWritten < numVariables) { - for (let i = variablesWritten; i < numVariables; i++) { - const variable = variables[i]; - if (containsYield(variable.initializer) && pendingExpressions.length > 0) { - break; - } - pendingExpressions.push(transformInitializedVariable(variable)); - } - if (pendingExpressions.length) { - emitStatement(factory2.createExpressionStatement(factory2.inlineExpressions(pendingExpressions))); - variablesWritten += pendingExpressions.length; - pendingExpressions = []; - } - } - return void 0; - } - function transformInitializedVariable(node) { - return setSourceMapRange( - factory2.createAssignment( - setSourceMapRange(factory2.cloneNode(node.name), node.name), - Debug.checkDefined(visitNode(node.initializer, visitor, isExpression)) - ), - node - ); - } - function transformAndEmitIfStatement(node) { - if (containsYield(node)) { - if (containsYield(node.thenStatement) || containsYield(node.elseStatement)) { - const endLabel = defineLabel(); - const elseLabel = node.elseStatement ? defineLabel() : void 0; - emitBreakWhenFalse( - node.elseStatement ? elseLabel : endLabel, - Debug.checkDefined(visitNode(node.expression, visitor, isExpression)), - /*location*/ - node.expression - ); - transformAndEmitEmbeddedStatement(node.thenStatement); - if (node.elseStatement) { - emitBreak(endLabel); - markLabel(elseLabel); - transformAndEmitEmbeddedStatement(node.elseStatement); - } - markLabel(endLabel); - } else { - emitStatement(visitNode(node, visitor, isStatement)); - } - } else { - emitStatement(visitNode(node, visitor, isStatement)); - } - } - function transformAndEmitDoStatement(node) { - if (containsYield(node)) { - const conditionLabel = defineLabel(); - const loopLabel = defineLabel(); - beginLoopBlock( - /*continueLabel*/ - conditionLabel - ); - markLabel(loopLabel); - transformAndEmitEmbeddedStatement(node.statement); - markLabel(conditionLabel); - emitBreakWhenTrue(loopLabel, Debug.checkDefined(visitNode(node.expression, visitor, isExpression))); - endLoopBlock(); - } else { - emitStatement(visitNode(node, visitor, isStatement)); - } - } - function visitDoStatement(node) { - if (inStatementContainingYield) { - beginScriptLoopBlock(); - node = visitEachChild(node, visitor, context); - endLoopBlock(); - return node; - } else { - return visitEachChild(node, visitor, context); - } - } - function transformAndEmitWhileStatement(node) { - if (containsYield(node)) { - const loopLabel = defineLabel(); - const endLabel = beginLoopBlock(loopLabel); - markLabel(loopLabel); - emitBreakWhenFalse(endLabel, Debug.checkDefined(visitNode(node.expression, visitor, isExpression))); - transformAndEmitEmbeddedStatement(node.statement); - emitBreak(loopLabel); - endLoopBlock(); - } else { - emitStatement(visitNode(node, visitor, isStatement)); - } - } - function visitWhileStatement(node) { - if (inStatementContainingYield) { - beginScriptLoopBlock(); - node = visitEachChild(node, visitor, context); - endLoopBlock(); - return node; - } else { - return visitEachChild(node, visitor, context); - } - } - function transformAndEmitForStatement(node) { - if (containsYield(node)) { - const conditionLabel = defineLabel(); - const incrementLabel = defineLabel(); - const endLabel = beginLoopBlock(incrementLabel); - if (node.initializer) { - const initializer = node.initializer; - if (isVariableDeclarationList(initializer)) { - transformAndEmitVariableDeclarationList(initializer); - } else { - emitStatement( - setTextRange( - factory2.createExpressionStatement( - Debug.checkDefined(visitNode(initializer, visitor, isExpression)) - ), - initializer - ) - ); - } - } - markLabel(conditionLabel); - if (node.condition) { - emitBreakWhenFalse(endLabel, Debug.checkDefined(visitNode(node.condition, visitor, isExpression))); - } - transformAndEmitEmbeddedStatement(node.statement); - markLabel(incrementLabel); - if (node.incrementor) { - emitStatement( - setTextRange( - factory2.createExpressionStatement( - Debug.checkDefined(visitNode(node.incrementor, visitor, isExpression)) - ), - node.incrementor - ) - ); - } - emitBreak(conditionLabel); - endLoopBlock(); - } else { - emitStatement(visitNode(node, visitor, isStatement)); - } - } - function visitForStatement(node) { - if (inStatementContainingYield) { - beginScriptLoopBlock(); - } - const initializer = node.initializer; - if (initializer && isVariableDeclarationList(initializer)) { - for (const variable of initializer.declarations) { - hoistVariableDeclaration(variable.name); - } - const variables = getInitializedVariables(initializer); - node = factory2.updateForStatement( - node, - variables.length > 0 ? factory2.inlineExpressions(map(variables, transformInitializedVariable)) : void 0, - visitNode(node.condition, visitor, isExpression), - visitNode(node.incrementor, visitor, isExpression), - visitIterationBody(node.statement, visitor, context) - ); - } else { - node = visitEachChild(node, visitor, context); - } - if (inStatementContainingYield) { - endLoopBlock(); - } - return node; - } - function transformAndEmitForInStatement(node) { - if (containsYield(node)) { - const obj = declareLocal(); - const keysArray = declareLocal(); - const key = declareLocal(); - const keysIndex = factory2.createLoopVariable(); - const initializer = node.initializer; - hoistVariableDeclaration(keysIndex); - emitAssignment(obj, Debug.checkDefined(visitNode(node.expression, visitor, isExpression))); - emitAssignment(keysArray, factory2.createArrayLiteralExpression()); - emitStatement( - factory2.createForInStatement( - key, - obj, - factory2.createExpressionStatement( - factory2.createCallExpression( - factory2.createPropertyAccessExpression(keysArray, "push"), - /*typeArguments*/ - void 0, - [key] - ) - ) - ) - ); - emitAssignment(keysIndex, factory2.createNumericLiteral(0)); - const conditionLabel = defineLabel(); - const incrementLabel = defineLabel(); - const endLoopLabel = beginLoopBlock(incrementLabel); - markLabel(conditionLabel); - emitBreakWhenFalse(endLoopLabel, factory2.createLessThan(keysIndex, factory2.createPropertyAccessExpression(keysArray, "length"))); - emitAssignment(key, factory2.createElementAccessExpression(keysArray, keysIndex)); - emitBreakWhenFalse(incrementLabel, factory2.createBinaryExpression(key, 103 /* InKeyword */, obj)); - let variable; - if (isVariableDeclarationList(initializer)) { - for (const variable2 of initializer.declarations) { - hoistVariableDeclaration(variable2.name); - } - variable = factory2.cloneNode(initializer.declarations[0].name); - } else { - variable = Debug.checkDefined(visitNode(initializer, visitor, isExpression)); - Debug.assert(isLeftHandSideExpression(variable)); - } - emitAssignment(variable, key); - transformAndEmitEmbeddedStatement(node.statement); - markLabel(incrementLabel); - emitStatement(factory2.createExpressionStatement(factory2.createPostfixIncrement(keysIndex))); - emitBreak(conditionLabel); - endLoopBlock(); - } else { - emitStatement(visitNode(node, visitor, isStatement)); - } - } - function visitForInStatement(node) { - if (inStatementContainingYield) { - beginScriptLoopBlock(); - } - const initializer = node.initializer; - if (isVariableDeclarationList(initializer)) { - for (const variable of initializer.declarations) { - hoistVariableDeclaration(variable.name); - } - node = factory2.updateForInStatement(node, initializer.declarations[0].name, Debug.checkDefined(visitNode(node.expression, visitor, isExpression)), Debug.checkDefined(visitNode(node.statement, visitor, isStatement, factory2.liftToBlock))); - } else { - node = visitEachChild(node, visitor, context); - } - if (inStatementContainingYield) { - endLoopBlock(); - } - return node; - } - function transformAndEmitContinueStatement(node) { - const label = findContinueTarget(node.label ? idText(node.label) : void 0); - if (label > 0) { - emitBreak( - label, - /*location*/ - node - ); - } else { - emitStatement(node); - } - } - function visitContinueStatement(node) { - if (inStatementContainingYield) { - const label = findContinueTarget(node.label && idText(node.label)); - if (label > 0) { - return createInlineBreak( - label, - /*location*/ - node - ); - } - } - return visitEachChild(node, visitor, context); - } - function transformAndEmitBreakStatement(node) { - const label = findBreakTarget(node.label ? idText(node.label) : void 0); - if (label > 0) { - emitBreak( - label, - /*location*/ - node - ); - } else { - emitStatement(node); - } - } - function visitBreakStatement(node) { - if (inStatementContainingYield) { - const label = findBreakTarget(node.label && idText(node.label)); - if (label > 0) { - return createInlineBreak( - label, - /*location*/ - node - ); - } - } - return visitEachChild(node, visitor, context); - } - function transformAndEmitReturnStatement(node) { - emitReturn( - visitNode(node.expression, visitor, isExpression), - /*location*/ - node - ); - } - function visitReturnStatement(node) { - return createInlineReturn( - visitNode(node.expression, visitor, isExpression), - /*location*/ - node - ); - } - function transformAndEmitWithStatement(node) { - if (containsYield(node)) { - beginWithBlock(cacheExpression(Debug.checkDefined(visitNode(node.expression, visitor, isExpression)))); - transformAndEmitEmbeddedStatement(node.statement); - endWithBlock(); - } else { - emitStatement(visitNode(node, visitor, isStatement)); - } - } - function transformAndEmitSwitchStatement(node) { - if (containsYield(node.caseBlock)) { - const caseBlock = node.caseBlock; - const numClauses = caseBlock.clauses.length; - const endLabel = beginSwitchBlock(); - const expression = cacheExpression(Debug.checkDefined(visitNode(node.expression, visitor, isExpression))); - const clauseLabels = []; - let defaultClauseIndex = -1; - for (let i = 0; i < numClauses; i++) { - const clause = caseBlock.clauses[i]; - clauseLabels.push(defineLabel()); - if (clause.kind === 297 /* DefaultClause */ && defaultClauseIndex === -1) { - defaultClauseIndex = i; - } - } - let clausesWritten = 0; - let pendingClauses = []; - while (clausesWritten < numClauses) { - let defaultClausesSkipped = 0; - for (let i = clausesWritten; i < numClauses; i++) { - const clause = caseBlock.clauses[i]; - if (clause.kind === 296 /* CaseClause */) { - if (containsYield(clause.expression) && pendingClauses.length > 0) { - break; - } - pendingClauses.push( - factory2.createCaseClause( - Debug.checkDefined(visitNode(clause.expression, visitor, isExpression)), - [ - createInlineBreak( - clauseLabels[i], - /*location*/ - clause.expression - ) - ] - ) - ); - } else { - defaultClausesSkipped++; - } - } - if (pendingClauses.length) { - emitStatement(factory2.createSwitchStatement(expression, factory2.createCaseBlock(pendingClauses))); - clausesWritten += pendingClauses.length; - pendingClauses = []; - } - if (defaultClausesSkipped > 0) { - clausesWritten += defaultClausesSkipped; - defaultClausesSkipped = 0; - } - } - if (defaultClauseIndex >= 0) { - emitBreak(clauseLabels[defaultClauseIndex]); - } else { - emitBreak(endLabel); - } - for (let i = 0; i < numClauses; i++) { - markLabel(clauseLabels[i]); - transformAndEmitStatements(caseBlock.clauses[i].statements); - } - endSwitchBlock(); - } else { - emitStatement(visitNode(node, visitor, isStatement)); - } - } - function visitSwitchStatement(node) { - if (inStatementContainingYield) { - beginScriptSwitchBlock(); - } - node = visitEachChild(node, visitor, context); - if (inStatementContainingYield) { - endSwitchBlock(); - } - return node; - } - function transformAndEmitLabeledStatement(node) { - if (containsYield(node)) { - beginLabeledBlock(idText(node.label)); - transformAndEmitEmbeddedStatement(node.statement); - endLabeledBlock(); - } else { - emitStatement(visitNode(node, visitor, isStatement)); - } - } - function visitLabeledStatement(node) { - if (inStatementContainingYield) { - beginScriptLabeledBlock(idText(node.label)); - } - node = visitEachChild(node, visitor, context); - if (inStatementContainingYield) { - endLabeledBlock(); - } - return node; - } - function transformAndEmitThrowStatement(node) { - emitThrow( - Debug.checkDefined(visitNode(node.expression ?? factory2.createVoidZero(), visitor, isExpression)), - /*location*/ - node - ); - } - function transformAndEmitTryStatement(node) { - if (containsYield(node)) { - beginExceptionBlock(); - transformAndEmitEmbeddedStatement(node.tryBlock); - if (node.catchClause) { - beginCatchBlock(node.catchClause.variableDeclaration); - transformAndEmitEmbeddedStatement(node.catchClause.block); - } - if (node.finallyBlock) { - beginFinallyBlock(); - transformAndEmitEmbeddedStatement(node.finallyBlock); - } - endExceptionBlock(); - } else { - emitStatement(visitEachChild(node, visitor, context)); - } - } - function containsYield(node) { - return !!node && (node.transformFlags & 1048576 /* ContainsYield */) !== 0; - } - function countInitialNodesWithoutYield(nodes) { - const numNodes = nodes.length; - for (let i = 0; i < numNodes; i++) { - if (containsYield(nodes[i])) { - return i; - } - } - return -1; - } - function onSubstituteNode(hint, node) { - node = previousOnSubstituteNode(hint, node); - if (hint === 1 /* Expression */) { - return substituteExpression(node); - } - return node; - } - function substituteExpression(node) { - if (isIdentifier(node)) { - return substituteExpressionIdentifier(node); - } - return node; - } - function substituteExpressionIdentifier(node) { - if (!isGeneratedIdentifier(node) && renamedCatchVariables && renamedCatchVariables.has(idText(node))) { - const original = getOriginalNode(node); - if (isIdentifier(original) && original.parent) { - const declaration = resolver.getReferencedValueDeclaration(original); - if (declaration) { - const name = renamedCatchVariableDeclarations[getOriginalNodeId(declaration)]; - if (name) { - const clone = setParent(setTextRange(factory2.cloneNode(name), name), name.parent); - setSourceMapRange(clone, node); - setCommentRange(clone, node); - return clone; - } - } - } - } - return node; - } - function cacheExpression(node) { - if (isGeneratedIdentifier(node) || getEmitFlags(node) & 8192 /* HelperName */) { - return node; - } - const temp = factory2.createTempVariable(hoistVariableDeclaration); - emitAssignment( - temp, - node, - /*location*/ - node - ); - return temp; - } - function declareLocal(name) { - const temp = name ? factory2.createUniqueName(name) : factory2.createTempVariable( - /*recordTempVariable*/ - void 0 - ); - hoistVariableDeclaration(temp); - return temp; - } - function defineLabel() { - if (!labelOffsets) { - labelOffsets = []; - } - const label = nextLabelId; - nextLabelId++; - labelOffsets[label] = -1; - return label; - } - function markLabel(label) { - Debug.assert(labelOffsets !== void 0, "No labels were defined."); - labelOffsets[label] = operations ? operations.length : 0; - } - function beginBlock(block) { - if (!blocks) { - blocks = []; - blockActions = []; - blockOffsets = []; - blockStack = []; - } - const index = blockActions.length; - blockActions[index] = 0 /* Open */; - blockOffsets[index] = operations ? operations.length : 0; - blocks[index] = block; - blockStack.push(block); - return index; - } - function endBlock() { - const block = peekBlock(); - if (block === void 0) return Debug.fail("beginBlock was never called."); - const index = blockActions.length; - blockActions[index] = 1 /* Close */; - blockOffsets[index] = operations ? operations.length : 0; - blocks[index] = block; - blockStack.pop(); - return block; - } - function peekBlock() { - return lastOrUndefined(blockStack); - } - function peekBlockKind() { - const block = peekBlock(); - return block && block.kind; - } - function beginWithBlock(expression) { - const startLabel = defineLabel(); - const endLabel = defineLabel(); - markLabel(startLabel); - beginBlock({ - kind: 1 /* With */, - expression, - startLabel, - endLabel - }); - } - function endWithBlock() { - Debug.assert(peekBlockKind() === 1 /* With */); - const block = endBlock(); - markLabel(block.endLabel); - } - function beginExceptionBlock() { - const startLabel = defineLabel(); - const endLabel = defineLabel(); - markLabel(startLabel); - beginBlock({ - kind: 0 /* Exception */, - state: 0 /* Try */, - startLabel, - endLabel - }); - emitNop(); - return endLabel; - } - function beginCatchBlock(variable) { - Debug.assert(peekBlockKind() === 0 /* Exception */); - let name; - if (isGeneratedIdentifier(variable.name)) { - name = variable.name; - hoistVariableDeclaration(variable.name); - } else { - const text = idText(variable.name); - name = declareLocal(text); - if (!renamedCatchVariables) { - renamedCatchVariables = /* @__PURE__ */ new Map(); - renamedCatchVariableDeclarations = []; - context.enableSubstitution(80 /* Identifier */); - } - renamedCatchVariables.set(text, true); - renamedCatchVariableDeclarations[getOriginalNodeId(variable)] = name; - } - const exception = peekBlock(); - Debug.assert(exception.state < 1 /* Catch */); - const endLabel = exception.endLabel; - emitBreak(endLabel); - const catchLabel = defineLabel(); - markLabel(catchLabel); - exception.state = 1 /* Catch */; - exception.catchVariable = name; - exception.catchLabel = catchLabel; - emitAssignment(name, factory2.createCallExpression( - factory2.createPropertyAccessExpression(state, "sent"), - /*typeArguments*/ - void 0, - [] - )); - emitNop(); - } - function beginFinallyBlock() { - Debug.assert(peekBlockKind() === 0 /* Exception */); - const exception = peekBlock(); - Debug.assert(exception.state < 2 /* Finally */); - const endLabel = exception.endLabel; - emitBreak(endLabel); - const finallyLabel = defineLabel(); - markLabel(finallyLabel); - exception.state = 2 /* Finally */; - exception.finallyLabel = finallyLabel; - } - function endExceptionBlock() { - Debug.assert(peekBlockKind() === 0 /* Exception */); - const exception = endBlock(); - const state2 = exception.state; - if (state2 < 2 /* Finally */) { - emitBreak(exception.endLabel); - } else { - emitEndfinally(); - } - markLabel(exception.endLabel); - emitNop(); - exception.state = 3 /* Done */; - } - function beginScriptLoopBlock() { - beginBlock({ - kind: 3 /* Loop */, - isScript: true, - breakLabel: -1, - continueLabel: -1 - }); - } - function beginLoopBlock(continueLabel) { - const breakLabel = defineLabel(); - beginBlock({ - kind: 3 /* Loop */, - isScript: false, - breakLabel, - continueLabel - }); - return breakLabel; - } - function endLoopBlock() { - Debug.assert(peekBlockKind() === 3 /* Loop */); - const block = endBlock(); - const breakLabel = block.breakLabel; - if (!block.isScript) { - markLabel(breakLabel); - } - } - function beginScriptSwitchBlock() { - beginBlock({ - kind: 2 /* Switch */, - isScript: true, - breakLabel: -1 - }); - } - function beginSwitchBlock() { - const breakLabel = defineLabel(); - beginBlock({ - kind: 2 /* Switch */, - isScript: false, - breakLabel - }); - return breakLabel; - } - function endSwitchBlock() { - Debug.assert(peekBlockKind() === 2 /* Switch */); - const block = endBlock(); - const breakLabel = block.breakLabel; - if (!block.isScript) { - markLabel(breakLabel); - } - } - function beginScriptLabeledBlock(labelText) { - beginBlock({ - kind: 4 /* Labeled */, - isScript: true, - labelText, - breakLabel: -1 - }); - } - function beginLabeledBlock(labelText) { - const breakLabel = defineLabel(); - beginBlock({ - kind: 4 /* Labeled */, - isScript: false, - labelText, - breakLabel - }); - } - function endLabeledBlock() { - Debug.assert(peekBlockKind() === 4 /* Labeled */); - const block = endBlock(); - if (!block.isScript) { - markLabel(block.breakLabel); - } - } - function supportsUnlabeledBreak(block) { - return block.kind === 2 /* Switch */ || block.kind === 3 /* Loop */; - } - function supportsLabeledBreakOrContinue(block) { - return block.kind === 4 /* Labeled */; - } - function supportsUnlabeledContinue(block) { - return block.kind === 3 /* Loop */; - } - function hasImmediateContainingLabeledBlock(labelText, start) { - for (let j = start; j >= 0; j--) { - const containingBlock = blockStack[j]; - if (supportsLabeledBreakOrContinue(containingBlock)) { - if (containingBlock.labelText === labelText) { - return true; - } - } else { - break; - } - } - return false; - } - function findBreakTarget(labelText) { - if (blockStack) { - if (labelText) { - for (let i = blockStack.length - 1; i >= 0; i--) { - const block = blockStack[i]; - if (supportsLabeledBreakOrContinue(block) && block.labelText === labelText) { - return block.breakLabel; - } else if (supportsUnlabeledBreak(block) && hasImmediateContainingLabeledBlock(labelText, i - 1)) { - return block.breakLabel; - } - } - } else { - for (let i = blockStack.length - 1; i >= 0; i--) { - const block = blockStack[i]; - if (supportsUnlabeledBreak(block)) { - return block.breakLabel; - } - } - } - } - return 0; - } - function findContinueTarget(labelText) { - if (blockStack) { - if (labelText) { - for (let i = blockStack.length - 1; i >= 0; i--) { - const block = blockStack[i]; - if (supportsUnlabeledContinue(block) && hasImmediateContainingLabeledBlock(labelText, i - 1)) { - return block.continueLabel; - } - } - } else { - for (let i = blockStack.length - 1; i >= 0; i--) { - const block = blockStack[i]; - if (supportsUnlabeledContinue(block)) { - return block.continueLabel; - } - } - } - } - return 0; - } - function createLabel(label) { - if (label !== void 0 && label > 0) { - if (labelExpressions === void 0) { - labelExpressions = []; - } - const expression = factory2.createNumericLiteral(Number.MAX_SAFE_INTEGER); - if (labelExpressions[label] === void 0) { - labelExpressions[label] = [expression]; - } else { - labelExpressions[label].push(expression); - } - return expression; - } - return factory2.createOmittedExpression(); - } - function createInstruction(instruction) { - const literal = factory2.createNumericLiteral(instruction); - addSyntheticTrailingComment(literal, 3 /* MultiLineCommentTrivia */, getInstructionName(instruction)); - return literal; - } - function createInlineBreak(label, location) { - Debug.assertLessThan(0, label, "Invalid label"); - return setTextRange( - factory2.createReturnStatement( - factory2.createArrayLiteralExpression([ - createInstruction(3 /* Break */), - createLabel(label) - ]) - ), - location - ); - } - function createInlineReturn(expression, location) { - return setTextRange( - factory2.createReturnStatement( - factory2.createArrayLiteralExpression( - expression ? [createInstruction(2 /* Return */), expression] : [createInstruction(2 /* Return */)] - ) - ), - location - ); - } - function createGeneratorResume(location) { - return setTextRange( - factory2.createCallExpression( - factory2.createPropertyAccessExpression(state, "sent"), - /*typeArguments*/ - void 0, - [] - ), - location - ); - } - function emitNop() { - emitWorker(0 /* Nop */); - } - function emitStatement(node) { - if (node) { - emitWorker(1 /* Statement */, [node]); - } else { - emitNop(); - } - } - function emitAssignment(left, right, location) { - emitWorker(2 /* Assign */, [left, right], location); - } - function emitBreak(label, location) { - emitWorker(3 /* Break */, [label], location); - } - function emitBreakWhenTrue(label, condition, location) { - emitWorker(4 /* BreakWhenTrue */, [label, condition], location); - } - function emitBreakWhenFalse(label, condition, location) { - emitWorker(5 /* BreakWhenFalse */, [label, condition], location); - } - function emitYieldStar(expression, location) { - emitWorker(7 /* YieldStar */, [expression], location); - } - function emitYield(expression, location) { - emitWorker(6 /* Yield */, [expression], location); - } - function emitReturn(expression, location) { - emitWorker(8 /* Return */, [expression], location); - } - function emitThrow(expression, location) { - emitWorker(9 /* Throw */, [expression], location); - } - function emitEndfinally() { - emitWorker(10 /* Endfinally */); - } - function emitWorker(code, args, location) { - if (operations === void 0) { - operations = []; - operationArguments = []; - operationLocations = []; - } - if (labelOffsets === void 0) { - markLabel(defineLabel()); - } - const operationIndex = operations.length; - operations[operationIndex] = code; - operationArguments[operationIndex] = args; - operationLocations[operationIndex] = location; - } - function build2() { - blockIndex = 0; - labelNumber = 0; - labelNumbers = void 0; - lastOperationWasAbrupt = false; - lastOperationWasCompletion = false; - clauses = void 0; - statements = void 0; - exceptionBlockStack = void 0; - currentExceptionBlock = void 0; - withBlockStack = void 0; - const buildResult = buildStatements(); - return emitHelpers().createGeneratorHelper( - setEmitFlags( - factory2.createFunctionExpression( - /*modifiers*/ - void 0, - /*asteriskToken*/ - void 0, - /*name*/ - void 0, - /*typeParameters*/ - void 0, - [factory2.createParameterDeclaration( - /*modifiers*/ - void 0, - /*dotDotDotToken*/ - void 0, - state - )], - /*type*/ - void 0, - factory2.createBlock( - buildResult, - /*multiLine*/ - buildResult.length > 0 - ) - ), - 1048576 /* ReuseTempVariableScope */ - ) - ); - } - function buildStatements() { - if (operations) { - for (let operationIndex = 0; operationIndex < operations.length; operationIndex++) { - writeOperation(operationIndex); - } - flushFinalLabel(operations.length); - } else { - flushFinalLabel(0); - } - if (clauses) { - const labelExpression = factory2.createPropertyAccessExpression(state, "label"); - const switchStatement = factory2.createSwitchStatement(labelExpression, factory2.createCaseBlock(clauses)); - return [startOnNewLine(switchStatement)]; - } - if (statements) { - return statements; - } - return []; - } - function flushLabel() { - if (!statements) { - return; - } - appendLabel( - /*markLabelEnd*/ - !lastOperationWasAbrupt - ); - lastOperationWasAbrupt = false; - lastOperationWasCompletion = false; - labelNumber++; - } - function flushFinalLabel(operationIndex) { - if (isFinalLabelReachable(operationIndex)) { - tryEnterLabel(operationIndex); - withBlockStack = void 0; - writeReturn( - /*expression*/ - void 0, - /*operationLocation*/ - void 0 - ); - } - if (statements && clauses) { - appendLabel( - /*markLabelEnd*/ - false - ); - } - updateLabelExpressions(); - } - function isFinalLabelReachable(operationIndex) { - if (!lastOperationWasCompletion) { - return true; - } - if (!labelOffsets || !labelExpressions) { - return false; - } - for (let label = 0; label < labelOffsets.length; label++) { - if (labelOffsets[label] === operationIndex && labelExpressions[label]) { - return true; - } - } - return false; - } - function appendLabel(markLabelEnd) { - if (!clauses) { - clauses = []; - } - if (statements) { - if (withBlockStack) { - for (let i = withBlockStack.length - 1; i >= 0; i--) { - const withBlock = withBlockStack[i]; - statements = [factory2.createWithStatement(withBlock.expression, factory2.createBlock(statements))]; - } - } - if (currentExceptionBlock) { - const { startLabel, catchLabel, finallyLabel, endLabel } = currentExceptionBlock; - statements.unshift( - factory2.createExpressionStatement( - factory2.createCallExpression( - factory2.createPropertyAccessExpression(factory2.createPropertyAccessExpression(state, "trys"), "push"), - /*typeArguments*/ - void 0, - [ - factory2.createArrayLiteralExpression([ - createLabel(startLabel), - createLabel(catchLabel), - createLabel(finallyLabel), - createLabel(endLabel) - ]) - ] - ) - ) - ); - currentExceptionBlock = void 0; - } - if (markLabelEnd) { - statements.push( - factory2.createExpressionStatement( - factory2.createAssignment( - factory2.createPropertyAccessExpression(state, "label"), - factory2.createNumericLiteral(labelNumber + 1) - ) - ) - ); - } - } - clauses.push( - factory2.createCaseClause( - factory2.createNumericLiteral(labelNumber), - statements || [] - ) - ); - statements = void 0; - } - function tryEnterLabel(operationIndex) { - if (!labelOffsets) { - return; - } - for (let label = 0; label < labelOffsets.length; label++) { - if (labelOffsets[label] === operationIndex) { - flushLabel(); - if (labelNumbers === void 0) { - labelNumbers = []; - } - if (labelNumbers[labelNumber] === void 0) { - labelNumbers[labelNumber] = [label]; - } else { - labelNumbers[labelNumber].push(label); - } - } - } - } - function updateLabelExpressions() { - if (labelExpressions !== void 0 && labelNumbers !== void 0) { - for (let labelNumber2 = 0; labelNumber2 < labelNumbers.length; labelNumber2++) { - const labels = labelNumbers[labelNumber2]; - if (labels !== void 0) { - for (const label of labels) { - const expressions = labelExpressions[label]; - if (expressions !== void 0) { - for (const expression of expressions) { - expression.text = String(labelNumber2); - } - } - } - } - } - } - } - function tryEnterOrLeaveBlock(operationIndex) { - if (blocks) { - for (; blockIndex < blockActions.length && blockOffsets[blockIndex] <= operationIndex; blockIndex++) { - const block = blocks[blockIndex]; - const blockAction = blockActions[blockIndex]; - switch (block.kind) { - case 0 /* Exception */: - if (blockAction === 0 /* Open */) { - if (!exceptionBlockStack) { - exceptionBlockStack = []; - } - if (!statements) { - statements = []; - } - exceptionBlockStack.push(currentExceptionBlock); - currentExceptionBlock = block; - } else if (blockAction === 1 /* Close */) { - currentExceptionBlock = exceptionBlockStack.pop(); - } - break; - case 1 /* With */: - if (blockAction === 0 /* Open */) { - if (!withBlockStack) { - withBlockStack = []; - } - withBlockStack.push(block); - } else if (blockAction === 1 /* Close */) { - withBlockStack.pop(); - } - break; - } - } - } - } - function writeOperation(operationIndex) { - tryEnterLabel(operationIndex); - tryEnterOrLeaveBlock(operationIndex); - if (lastOperationWasAbrupt) { - return; - } - lastOperationWasAbrupt = false; - lastOperationWasCompletion = false; - const opcode = operations[operationIndex]; - if (opcode === 0 /* Nop */) { - return; - } else if (opcode === 10 /* Endfinally */) { - return writeEndfinally(); - } - const args = operationArguments[operationIndex]; - if (opcode === 1 /* Statement */) { - return writeStatement(args[0]); - } - const location = operationLocations[operationIndex]; - switch (opcode) { - case 2 /* Assign */: - return writeAssign(args[0], args[1], location); - case 3 /* Break */: - return writeBreak(args[0], location); - case 4 /* BreakWhenTrue */: - return writeBreakWhenTrue(args[0], args[1], location); - case 5 /* BreakWhenFalse */: - return writeBreakWhenFalse(args[0], args[1], location); - case 6 /* Yield */: - return writeYield(args[0], location); - case 7 /* YieldStar */: - return writeYieldStar(args[0], location); - case 8 /* Return */: - return writeReturn(args[0], location); - case 9 /* Throw */: - return writeThrow(args[0], location); - } - } - function writeStatement(statement) { - if (statement) { - if (!statements) { - statements = [statement]; - } else { - statements.push(statement); - } - } - } - function writeAssign(left, right, operationLocation) { - writeStatement(setTextRange(factory2.createExpressionStatement(factory2.createAssignment(left, right)), operationLocation)); - } - function writeThrow(expression, operationLocation) { - lastOperationWasAbrupt = true; - lastOperationWasCompletion = true; - writeStatement(setTextRange(factory2.createThrowStatement(expression), operationLocation)); - } - function writeReturn(expression, operationLocation) { - lastOperationWasAbrupt = true; - lastOperationWasCompletion = true; - writeStatement( - setEmitFlags( - setTextRange( - factory2.createReturnStatement( - factory2.createArrayLiteralExpression( - expression ? [createInstruction(2 /* Return */), expression] : [createInstruction(2 /* Return */)] - ) - ), - operationLocation - ), - 768 /* NoTokenSourceMaps */ - ) - ); - } - function writeBreak(label, operationLocation) { - lastOperationWasAbrupt = true; - writeStatement( - setEmitFlags( - setTextRange( - factory2.createReturnStatement( - factory2.createArrayLiteralExpression([ - createInstruction(3 /* Break */), - createLabel(label) - ]) - ), - operationLocation - ), - 768 /* NoTokenSourceMaps */ - ) - ); - } - function writeBreakWhenTrue(label, condition, operationLocation) { - writeStatement( - setEmitFlags( - factory2.createIfStatement( - condition, - setEmitFlags( - setTextRange( - factory2.createReturnStatement( - factory2.createArrayLiteralExpression([ - createInstruction(3 /* Break */), - createLabel(label) - ]) - ), - operationLocation - ), - 768 /* NoTokenSourceMaps */ - ) - ), - 1 /* SingleLine */ - ) - ); - } - function writeBreakWhenFalse(label, condition, operationLocation) { - writeStatement( - setEmitFlags( - factory2.createIfStatement( - factory2.createLogicalNot(condition), - setEmitFlags( - setTextRange( - factory2.createReturnStatement( - factory2.createArrayLiteralExpression([ - createInstruction(3 /* Break */), - createLabel(label) - ]) - ), - operationLocation - ), - 768 /* NoTokenSourceMaps */ - ) - ), - 1 /* SingleLine */ - ) - ); - } - function writeYield(expression, operationLocation) { - lastOperationWasAbrupt = true; - writeStatement( - setEmitFlags( - setTextRange( - factory2.createReturnStatement( - factory2.createArrayLiteralExpression( - expression ? [createInstruction(4 /* Yield */), expression] : [createInstruction(4 /* Yield */)] - ) - ), - operationLocation - ), - 768 /* NoTokenSourceMaps */ - ) - ); - } - function writeYieldStar(expression, operationLocation) { - lastOperationWasAbrupt = true; - writeStatement( - setEmitFlags( - setTextRange( - factory2.createReturnStatement( - factory2.createArrayLiteralExpression([ - createInstruction(5 /* YieldStar */), - expression - ]) - ), - operationLocation - ), - 768 /* NoTokenSourceMaps */ - ) - ); - } - function writeEndfinally() { - lastOperationWasAbrupt = true; - writeStatement( - factory2.createReturnStatement( - factory2.createArrayLiteralExpression([ - createInstruction(7 /* Endfinally */) - ]) - ) - ); - } -} - -// src/compiler/transformers/module/module.ts -function transformModule(context) { - function getTransformModuleDelegate(moduleKind2) { - switch (moduleKind2) { - case 2 /* AMD */: - return transformAMDModule; - case 3 /* UMD */: - return transformUMDModule; - default: - return transformCommonJSModule; - } - } - const { - factory: factory2, - getEmitHelperFactory: emitHelpers, - startLexicalEnvironment, - endLexicalEnvironment, - hoistVariableDeclaration - } = context; - const compilerOptions = context.getCompilerOptions(); - const resolver = context.getEmitResolver(); - const host = context.getEmitHost(); - const languageVersion = getEmitScriptTarget(compilerOptions); - const moduleKind = getEmitModuleKind(compilerOptions); - const previousOnSubstituteNode = context.onSubstituteNode; - const previousOnEmitNode = context.onEmitNode; - context.onSubstituteNode = onSubstituteNode; - context.onEmitNode = onEmitNode; - context.enableSubstitution(213 /* CallExpression */); - context.enableSubstitution(215 /* TaggedTemplateExpression */); - context.enableSubstitution(80 /* Identifier */); - context.enableSubstitution(226 /* BinaryExpression */); - context.enableSubstitution(304 /* ShorthandPropertyAssignment */); - context.enableEmitNotification(307 /* SourceFile */); - const moduleInfoMap = []; - let currentSourceFile; - let currentModuleInfo; - const noSubstitution = []; - let needUMDDynamicImportHelper; - return chainBundle(context, transformSourceFile); - function transformSourceFile(node) { - if (node.isDeclarationFile || !(isEffectiveExternalModule(node, compilerOptions) || node.transformFlags & 8388608 /* ContainsDynamicImport */ || isJsonSourceFile(node) && hasJsonModuleEmitEnabled(compilerOptions) && compilerOptions.outFile)) { - return node; - } - currentSourceFile = node; - currentModuleInfo = collectExternalModuleInfo(context, node); - moduleInfoMap[getOriginalNodeId(node)] = currentModuleInfo; - const transformModule2 = getTransformModuleDelegate(moduleKind); - const updated = transformModule2(node); - currentSourceFile = void 0; - currentModuleInfo = void 0; - needUMDDynamicImportHelper = false; - return updated; - } - function shouldEmitUnderscoreUnderscoreESModule() { - if (hasJSFileExtension(currentSourceFile.fileName) && currentSourceFile.commonJsModuleIndicator && (!currentSourceFile.externalModuleIndicator || currentSourceFile.externalModuleIndicator === true)) { - return false; - } - if (!currentModuleInfo.exportEquals && isExternalModule(currentSourceFile)) { - return true; - } - return false; - } - function transformCommonJSModule(node) { - startLexicalEnvironment(); - const statements = []; - const ensureUseStrict = getStrictOptionValue(compilerOptions, "alwaysStrict") || isExternalModule(currentSourceFile); - const statementOffset = factory2.copyPrologue(node.statements, statements, ensureUseStrict && !isJsonSourceFile(node), topLevelVisitor); - if (shouldEmitUnderscoreUnderscoreESModule()) { - append(statements, createUnderscoreUnderscoreESModule()); - } - if (some(currentModuleInfo.exportedNames)) { - const chunkSize = 50; - for (let i = 0; i < currentModuleInfo.exportedNames.length; i += chunkSize) { - append( - statements, - factory2.createExpressionStatement( - reduceLeft( - currentModuleInfo.exportedNames.slice(i, i + chunkSize), - (prev, nextId) => nextId.kind === 11 /* StringLiteral */ ? factory2.createAssignment(factory2.createElementAccessExpression(factory2.createIdentifier("exports"), factory2.createStringLiteral(nextId.text)), prev) : factory2.createAssignment(factory2.createPropertyAccessExpression(factory2.createIdentifier("exports"), factory2.createIdentifier(idText(nextId))), prev), - factory2.createVoidZero() - ) - ) - ); - } - } - for (const f of currentModuleInfo.exportedFunctions) { - appendExportsOfHoistedDeclaration(statements, f); - } - append(statements, visitNode(currentModuleInfo.externalHelpersImportDeclaration, topLevelVisitor, isStatement)); - addRange(statements, visitNodes2(node.statements, topLevelVisitor, isStatement, statementOffset)); - addExportEqualsIfNeeded( - statements, - /*emitAsReturn*/ - false - ); - insertStatementsAfterStandardPrologue(statements, endLexicalEnvironment()); - const updated = factory2.updateSourceFile(node, setTextRange(factory2.createNodeArray(statements), node.statements)); - addEmitHelpers(updated, context.readEmitHelpers()); - return updated; - } - function transformAMDModule(node) { - const define = factory2.createIdentifier("define"); - const moduleName = tryGetModuleNameFromFile(factory2, node, host, compilerOptions); - const jsonSourceFile = isJsonSourceFile(node) && node; - const { aliasedModuleNames, unaliasedModuleNames, importAliasNames } = collectAsynchronousDependencies( - node, - /*includeNonAmdDependencies*/ - true - ); - const updated = factory2.updateSourceFile( - node, - setTextRange( - factory2.createNodeArray([ - factory2.createExpressionStatement( - factory2.createCallExpression( - define, - /*typeArguments*/ - void 0, - [ - // Add the module name (if provided). - ...moduleName ? [moduleName] : [], - // Add the dependency array argument: - // - // ["require", "exports", module1", "module2", ...] - factory2.createArrayLiteralExpression( - jsonSourceFile ? emptyArray : [ - factory2.createStringLiteral("require"), - factory2.createStringLiteral("exports"), - ...aliasedModuleNames, - ...unaliasedModuleNames - ] - ), - // Add the module body function argument: - // - // function (require, exports, module1, module2) ... - jsonSourceFile ? jsonSourceFile.statements.length ? jsonSourceFile.statements[0].expression : factory2.createObjectLiteralExpression() : factory2.createFunctionExpression( - /*modifiers*/ - void 0, - /*asteriskToken*/ - void 0, - /*name*/ - void 0, - /*typeParameters*/ - void 0, - [ - factory2.createParameterDeclaration( - /*modifiers*/ - void 0, - /*dotDotDotToken*/ - void 0, - "require" - ), - factory2.createParameterDeclaration( - /*modifiers*/ - void 0, - /*dotDotDotToken*/ - void 0, - "exports" - ), - ...importAliasNames - ], - /*type*/ - void 0, - transformAsynchronousModuleBody(node) - ) - ] - ) - ) - ]), - /*location*/ - node.statements - ) - ); - addEmitHelpers(updated, context.readEmitHelpers()); - return updated; - } - function transformUMDModule(node) { - const { aliasedModuleNames, unaliasedModuleNames, importAliasNames } = collectAsynchronousDependencies( - node, - /*includeNonAmdDependencies*/ - false - ); - const moduleName = tryGetModuleNameFromFile(factory2, node, host, compilerOptions); - const umdHeader = factory2.createFunctionExpression( - /*modifiers*/ - void 0, - /*asteriskToken*/ - void 0, - /*name*/ - void 0, - /*typeParameters*/ - void 0, - [factory2.createParameterDeclaration( - /*modifiers*/ - void 0, - /*dotDotDotToken*/ - void 0, - "factory" - )], - /*type*/ - void 0, - setTextRange( - factory2.createBlock( - [ - factory2.createIfStatement( - factory2.createLogicalAnd( - factory2.createTypeCheck(factory2.createIdentifier("module"), "object"), - factory2.createTypeCheck(factory2.createPropertyAccessExpression(factory2.createIdentifier("module"), "exports"), "object") - ), - factory2.createBlock([ - factory2.createVariableStatement( - /*modifiers*/ - void 0, - [ - factory2.createVariableDeclaration( - "v", - /*exclamationToken*/ - void 0, - /*type*/ - void 0, - factory2.createCallExpression( - factory2.createIdentifier("factory"), - /*typeArguments*/ - void 0, - [ - factory2.createIdentifier("require"), - factory2.createIdentifier("exports") - ] - ) - ) - ] - ), - setEmitFlags( - factory2.createIfStatement( - factory2.createStrictInequality( - factory2.createIdentifier("v"), - factory2.createIdentifier("undefined") - ), - factory2.createExpressionStatement( - factory2.createAssignment( - factory2.createPropertyAccessExpression(factory2.createIdentifier("module"), "exports"), - factory2.createIdentifier("v") - ) - ) - ), - 1 /* SingleLine */ - ) - ]), - factory2.createIfStatement( - factory2.createLogicalAnd( - factory2.createTypeCheck(factory2.createIdentifier("define"), "function"), - factory2.createPropertyAccessExpression(factory2.createIdentifier("define"), "amd") - ), - factory2.createBlock([ - factory2.createExpressionStatement( - factory2.createCallExpression( - factory2.createIdentifier("define"), - /*typeArguments*/ - void 0, - [ - // Add the module name (if provided). - ...moduleName ? [moduleName] : [], - factory2.createArrayLiteralExpression([ - factory2.createStringLiteral("require"), - factory2.createStringLiteral("exports"), - ...aliasedModuleNames, - ...unaliasedModuleNames - ]), - factory2.createIdentifier("factory") - ] - ) - ) - ]) - ) - ) - ], - /*multiLine*/ - true - ), - /*location*/ - void 0 - ) - ); - const updated = factory2.updateSourceFile( - node, - setTextRange( - factory2.createNodeArray([ - factory2.createExpressionStatement( - factory2.createCallExpression( - umdHeader, - /*typeArguments*/ - void 0, - [ - // Add the module body function argument: - // - // function (require, exports) ... - factory2.createFunctionExpression( - /*modifiers*/ - void 0, - /*asteriskToken*/ - void 0, - /*name*/ - void 0, - /*typeParameters*/ - void 0, - [ - factory2.createParameterDeclaration( - /*modifiers*/ - void 0, - /*dotDotDotToken*/ - void 0, - "require" - ), - factory2.createParameterDeclaration( - /*modifiers*/ - void 0, - /*dotDotDotToken*/ - void 0, - "exports" - ), - ...importAliasNames - ], - /*type*/ - void 0, - transformAsynchronousModuleBody(node) - ) - ] - ) - ) - ]), - /*location*/ - node.statements - ) - ); - addEmitHelpers(updated, context.readEmitHelpers()); - return updated; - } - function collectAsynchronousDependencies(node, includeNonAmdDependencies) { - const aliasedModuleNames = []; - const unaliasedModuleNames = []; - const importAliasNames = []; - for (const amdDependency of node.amdDependencies) { - if (amdDependency.name) { - aliasedModuleNames.push(factory2.createStringLiteral(amdDependency.path)); - importAliasNames.push(factory2.createParameterDeclaration( - /*modifiers*/ - void 0, - /*dotDotDotToken*/ - void 0, - amdDependency.name - )); - } else { - unaliasedModuleNames.push(factory2.createStringLiteral(amdDependency.path)); - } - } - for (const importNode of currentModuleInfo.externalImports) { - const externalModuleName = getExternalModuleNameLiteral(factory2, importNode, currentSourceFile, host, resolver, compilerOptions); - const importAliasName = getLocalNameForExternalImport(factory2, importNode, currentSourceFile); - if (externalModuleName) { - if (includeNonAmdDependencies && importAliasName) { - setEmitFlags(importAliasName, 8 /* NoSubstitution */); - aliasedModuleNames.push(externalModuleName); - importAliasNames.push(factory2.createParameterDeclaration( - /*modifiers*/ - void 0, - /*dotDotDotToken*/ - void 0, - importAliasName - )); - } else { - unaliasedModuleNames.push(externalModuleName); - } - } - } - return { aliasedModuleNames, unaliasedModuleNames, importAliasNames }; - } - function getAMDImportExpressionForImport(node) { - if (isImportEqualsDeclaration(node) || isExportDeclaration(node) || !getExternalModuleNameLiteral(factory2, node, currentSourceFile, host, resolver, compilerOptions)) { - return void 0; - } - const name = getLocalNameForExternalImport(factory2, node, currentSourceFile); - const expr = getHelperExpressionForImport(node, name); - if (expr === name) { - return void 0; - } - return factory2.createExpressionStatement(factory2.createAssignment(name, expr)); - } - function transformAsynchronousModuleBody(node) { - startLexicalEnvironment(); - const statements = []; - const statementOffset = factory2.copyPrologue( - node.statements, - statements, - /*ensureUseStrict*/ - true, - topLevelVisitor - ); - if (shouldEmitUnderscoreUnderscoreESModule()) { - append(statements, createUnderscoreUnderscoreESModule()); - } - if (some(currentModuleInfo.exportedNames)) { - append( - statements, - factory2.createExpressionStatement(reduceLeft(currentModuleInfo.exportedNames, (prev, nextId) => nextId.kind === 11 /* StringLiteral */ ? factory2.createAssignment(factory2.createElementAccessExpression(factory2.createIdentifier("exports"), factory2.createStringLiteral(nextId.text)), prev) : factory2.createAssignment(factory2.createPropertyAccessExpression(factory2.createIdentifier("exports"), factory2.createIdentifier(idText(nextId))), prev), factory2.createVoidZero())) - ); - } - for (const f of currentModuleInfo.exportedFunctions) { - appendExportsOfHoistedDeclaration(statements, f); - } - append(statements, visitNode(currentModuleInfo.externalHelpersImportDeclaration, topLevelVisitor, isStatement)); - if (moduleKind === 2 /* AMD */) { - addRange(statements, mapDefined(currentModuleInfo.externalImports, getAMDImportExpressionForImport)); - } - addRange(statements, visitNodes2(node.statements, topLevelVisitor, isStatement, statementOffset)); - addExportEqualsIfNeeded( - statements, - /*emitAsReturn*/ - true - ); - insertStatementsAfterStandardPrologue(statements, endLexicalEnvironment()); - const body = factory2.createBlock( - statements, - /*multiLine*/ - true - ); - if (needUMDDynamicImportHelper) { - addEmitHelper(body, dynamicImportUMDHelper); - } - return body; - } - function addExportEqualsIfNeeded(statements, emitAsReturn) { - if (currentModuleInfo.exportEquals) { - const expressionResult = visitNode(currentModuleInfo.exportEquals.expression, visitor, isExpression); - if (expressionResult) { - if (emitAsReturn) { - const statement = factory2.createReturnStatement(expressionResult); - setTextRange(statement, currentModuleInfo.exportEquals); - setEmitFlags(statement, 768 /* NoTokenSourceMaps */ | 3072 /* NoComments */); - statements.push(statement); - } else { - const statement = factory2.createExpressionStatement( - factory2.createAssignment( - factory2.createPropertyAccessExpression( - factory2.createIdentifier("module"), - "exports" - ), - expressionResult - ) - ); - setTextRange(statement, currentModuleInfo.exportEquals); - setEmitFlags(statement, 3072 /* NoComments */); - statements.push(statement); - } - } - } - } - function topLevelVisitor(node) { - switch (node.kind) { - case 272 /* ImportDeclaration */: - return visitTopLevelImportDeclaration(node); - case 271 /* ImportEqualsDeclaration */: - return visitTopLevelImportEqualsDeclaration(node); - case 278 /* ExportDeclaration */: - return visitTopLevelExportDeclaration(node); - case 277 /* ExportAssignment */: - return visitTopLevelExportAssignment(node); - default: - return topLevelNestedVisitor(node); - } - } - function topLevelNestedVisitor(node) { - switch (node.kind) { - case 243 /* VariableStatement */: - return visitVariableStatement(node); - case 262 /* FunctionDeclaration */: - return visitFunctionDeclaration(node); - case 263 /* ClassDeclaration */: - return visitClassDeclaration(node); - case 248 /* ForStatement */: - return visitForStatement( - node, - /*isTopLevel*/ - true - ); - case 249 /* ForInStatement */: - return visitForInStatement(node); - case 250 /* ForOfStatement */: - return visitForOfStatement(node); - case 246 /* DoStatement */: - return visitDoStatement(node); - case 247 /* WhileStatement */: - return visitWhileStatement(node); - case 256 /* LabeledStatement */: - return visitLabeledStatement(node); - case 254 /* WithStatement */: - return visitWithStatement(node); - case 245 /* IfStatement */: - return visitIfStatement(node); - case 255 /* SwitchStatement */: - return visitSwitchStatement(node); - case 269 /* CaseBlock */: - return visitCaseBlock(node); - case 296 /* CaseClause */: - return visitCaseClause(node); - case 297 /* DefaultClause */: - return visitDefaultClause(node); - case 258 /* TryStatement */: - return visitTryStatement(node); - case 299 /* CatchClause */: - return visitCatchClause(node); - case 241 /* Block */: - return visitBlock(node); - default: - return visitor(node); - } - } - function visitorWorker(node, valueIsDiscarded) { - if (!(node.transformFlags & (8388608 /* ContainsDynamicImport */ | 4096 /* ContainsDestructuringAssignment */ | 268435456 /* ContainsUpdateExpressionForIdentifier */))) { - return node; - } - switch (node.kind) { - case 248 /* ForStatement */: - return visitForStatement( - node, - /*isTopLevel*/ - false - ); - case 244 /* ExpressionStatement */: - return visitExpressionStatement(node); - case 217 /* ParenthesizedExpression */: - return visitParenthesizedExpression(node, valueIsDiscarded); - case 354 /* PartiallyEmittedExpression */: - return visitPartiallyEmittedExpression(node, valueIsDiscarded); - case 213 /* CallExpression */: - if (isImportCall(node) && host.shouldTransformImportCall(currentSourceFile)) { - return visitImportCallExpression(node); - } - break; - case 226 /* BinaryExpression */: - if (isDestructuringAssignment(node)) { - return visitDestructuringAssignment(node, valueIsDiscarded); - } - break; - case 224 /* PrefixUnaryExpression */: - case 225 /* PostfixUnaryExpression */: - return visitPreOrPostfixUnaryExpression(node, valueIsDiscarded); - } - return visitEachChild(node, visitor, context); - } - function visitor(node) { - return visitorWorker( - node, - /*valueIsDiscarded*/ - false - ); - } - function discardedValueVisitor(node) { - return visitorWorker( - node, - /*valueIsDiscarded*/ - true - ); - } - function destructuringNeedsFlattening(node) { - if (isObjectLiteralExpression(node)) { - for (const elem of node.properties) { - switch (elem.kind) { - case 303 /* PropertyAssignment */: - if (destructuringNeedsFlattening(elem.initializer)) { - return true; - } - break; - case 304 /* ShorthandPropertyAssignment */: - if (destructuringNeedsFlattening(elem.name)) { - return true; - } - break; - case 305 /* SpreadAssignment */: - if (destructuringNeedsFlattening(elem.expression)) { - return true; - } - break; - case 174 /* MethodDeclaration */: - case 177 /* GetAccessor */: - case 178 /* SetAccessor */: - return false; - default: - Debug.assertNever(elem, "Unhandled object member kind"); - } - } - } else if (isArrayLiteralExpression(node)) { - for (const elem of node.elements) { - if (isSpreadElement(elem)) { - if (destructuringNeedsFlattening(elem.expression)) { - return true; - } - } else if (destructuringNeedsFlattening(elem)) { - return true; - } - } - } else if (isIdentifier(node)) { - return length(getExports(node)) > (isExportName(node) ? 1 : 0); - } - return false; - } - function visitDestructuringAssignment(node, valueIsDiscarded) { - if (destructuringNeedsFlattening(node.left)) { - return flattenDestructuringAssignment(node, visitor, context, 0 /* All */, !valueIsDiscarded, createAllExportExpressions); - } - return visitEachChild(node, visitor, context); - } - function visitForStatement(node, isTopLevel) { - if (isTopLevel && node.initializer && isVariableDeclarationList(node.initializer) && !(node.initializer.flags & 7 /* BlockScoped */)) { - const exportStatements = appendExportsOfVariableDeclarationList( - /*statements*/ - void 0, - node.initializer, - /*isForInOrOfInitializer*/ - false - ); - if (exportStatements) { - const statements = []; - const varDeclList = visitNode(node.initializer, discardedValueVisitor, isVariableDeclarationList); - const varStatement = factory2.createVariableStatement( - /*modifiers*/ - void 0, - varDeclList - ); - statements.push(varStatement); - addRange(statements, exportStatements); - const condition = visitNode(node.condition, visitor, isExpression); - const incrementor = visitNode(node.incrementor, discardedValueVisitor, isExpression); - const body = visitIterationBody(node.statement, isTopLevel ? topLevelNestedVisitor : visitor, context); - statements.push(factory2.updateForStatement( - node, - /*initializer*/ - void 0, - condition, - incrementor, - body - )); - return statements; - } - } - return factory2.updateForStatement( - node, - visitNode(node.initializer, discardedValueVisitor, isForInitializer), - visitNode(node.condition, visitor, isExpression), - visitNode(node.incrementor, discardedValueVisitor, isExpression), - visitIterationBody(node.statement, isTopLevel ? topLevelNestedVisitor : visitor, context) - ); - } - function visitForInStatement(node) { - if (isVariableDeclarationList(node.initializer) && !(node.initializer.flags & 7 /* BlockScoped */)) { - const exportStatements = appendExportsOfVariableDeclarationList( - /*statements*/ - void 0, - node.initializer, - /*isForInOrOfInitializer*/ - true - ); - if (some(exportStatements)) { - const initializer = visitNode(node.initializer, discardedValueVisitor, isForInitializer); - const expression = visitNode(node.expression, visitor, isExpression); - const body = visitIterationBody(node.statement, topLevelNestedVisitor, context); - const mergedBody = isBlock(body) ? factory2.updateBlock(body, [...exportStatements, ...body.statements]) : factory2.createBlock( - [...exportStatements, body], - /*multiLine*/ - true - ); - return factory2.updateForInStatement(node, initializer, expression, mergedBody); - } - } - return factory2.updateForInStatement( - node, - visitNode(node.initializer, discardedValueVisitor, isForInitializer), - visitNode(node.expression, visitor, isExpression), - visitIterationBody(node.statement, topLevelNestedVisitor, context) - ); - } - function visitForOfStatement(node) { - if (isVariableDeclarationList(node.initializer) && !(node.initializer.flags & 7 /* BlockScoped */)) { - const exportStatements = appendExportsOfVariableDeclarationList( - /*statements*/ - void 0, - node.initializer, - /*isForInOrOfInitializer*/ - true - ); - const initializer = visitNode(node.initializer, discardedValueVisitor, isForInitializer); - const expression = visitNode(node.expression, visitor, isExpression); - let body = visitIterationBody(node.statement, topLevelNestedVisitor, context); - if (some(exportStatements)) { - body = isBlock(body) ? factory2.updateBlock(body, [...exportStatements, ...body.statements]) : factory2.createBlock( - [...exportStatements, body], - /*multiLine*/ - true - ); - } - return factory2.updateForOfStatement(node, node.awaitModifier, initializer, expression, body); - } - return factory2.updateForOfStatement( - node, - node.awaitModifier, - visitNode(node.initializer, discardedValueVisitor, isForInitializer), - visitNode(node.expression, visitor, isExpression), - visitIterationBody(node.statement, topLevelNestedVisitor, context) - ); - } - function visitDoStatement(node) { - return factory2.updateDoStatement( - node, - visitIterationBody(node.statement, topLevelNestedVisitor, context), - visitNode(node.expression, visitor, isExpression) - ); - } - function visitWhileStatement(node) { - return factory2.updateWhileStatement( - node, - visitNode(node.expression, visitor, isExpression), - visitIterationBody(node.statement, topLevelNestedVisitor, context) - ); - } - function visitLabeledStatement(node) { - return factory2.updateLabeledStatement( - node, - node.label, - visitNode(node.statement, topLevelNestedVisitor, isStatement, factory2.liftToBlock) ?? setTextRange(factory2.createEmptyStatement(), node.statement) - ); - } - function visitWithStatement(node) { - return factory2.updateWithStatement( - node, - visitNode(node.expression, visitor, isExpression), - Debug.checkDefined(visitNode(node.statement, topLevelNestedVisitor, isStatement, factory2.liftToBlock)) - ); - } - function visitIfStatement(node) { - return factory2.updateIfStatement( - node, - visitNode(node.expression, visitor, isExpression), - visitNode(node.thenStatement, topLevelNestedVisitor, isStatement, factory2.liftToBlock) ?? factory2.createBlock([]), - visitNode(node.elseStatement, topLevelNestedVisitor, isStatement, factory2.liftToBlock) - ); - } - function visitSwitchStatement(node) { - return factory2.updateSwitchStatement( - node, - visitNode(node.expression, visitor, isExpression), - Debug.checkDefined(visitNode(node.caseBlock, topLevelNestedVisitor, isCaseBlock)) - ); - } - function visitCaseBlock(node) { - return factory2.updateCaseBlock( - node, - visitNodes2(node.clauses, topLevelNestedVisitor, isCaseOrDefaultClause) - ); - } - function visitCaseClause(node) { - return factory2.updateCaseClause( - node, - visitNode(node.expression, visitor, isExpression), - visitNodes2(node.statements, topLevelNestedVisitor, isStatement) - ); - } - function visitDefaultClause(node) { - return visitEachChild(node, topLevelNestedVisitor, context); - } - function visitTryStatement(node) { - return visitEachChild(node, topLevelNestedVisitor, context); - } - function visitCatchClause(node) { - return factory2.updateCatchClause( - node, - node.variableDeclaration, - Debug.checkDefined(visitNode(node.block, topLevelNestedVisitor, isBlock)) - ); - } - function visitBlock(node) { - node = visitEachChild(node, topLevelNestedVisitor, context); - return node; - } - function visitExpressionStatement(node) { - return factory2.updateExpressionStatement( - node, - visitNode(node.expression, discardedValueVisitor, isExpression) - ); - } - function visitParenthesizedExpression(node, valueIsDiscarded) { - return factory2.updateParenthesizedExpression(node, visitNode(node.expression, valueIsDiscarded ? discardedValueVisitor : visitor, isExpression)); - } - function visitPartiallyEmittedExpression(node, valueIsDiscarded) { - return factory2.updatePartiallyEmittedExpression(node, visitNode(node.expression, valueIsDiscarded ? discardedValueVisitor : visitor, isExpression)); - } - function visitPreOrPostfixUnaryExpression(node, valueIsDiscarded) { - if ((node.operator === 46 /* PlusPlusToken */ || node.operator === 47 /* MinusMinusToken */) && isIdentifier(node.operand) && !isGeneratedIdentifier(node.operand) && !isLocalName(node.operand) && !isDeclarationNameOfEnumOrNamespace(node.operand)) { - const exportedNames = getExports(node.operand); - if (exportedNames) { - let temp; - let expression = visitNode(node.operand, visitor, isExpression); - if (isPrefixUnaryExpression(node)) { - expression = factory2.updatePrefixUnaryExpression(node, expression); - } else { - expression = factory2.updatePostfixUnaryExpression(node, expression); - if (!valueIsDiscarded) { - temp = factory2.createTempVariable(hoistVariableDeclaration); - expression = factory2.createAssignment(temp, expression); - setTextRange(expression, node); - } - expression = factory2.createComma(expression, factory2.cloneNode(node.operand)); - setTextRange(expression, node); - } - for (const exportName of exportedNames) { - noSubstitution[getNodeId(expression)] = true; - expression = createExportExpression(exportName, expression); - setTextRange(expression, node); - } - if (temp) { - noSubstitution[getNodeId(expression)] = true; - expression = factory2.createComma(expression, temp); - setTextRange(expression, node); - } - return expression; - } - } - return visitEachChild(node, visitor, context); - } - function visitImportCallExpression(node) { - if (moduleKind === 0 /* None */ && languageVersion >= 7 /* ES2020 */) { - return visitEachChild(node, visitor, context); - } - const externalModuleName = getExternalModuleNameLiteral(factory2, node, currentSourceFile, host, resolver, compilerOptions); - const firstArgument = visitNode(firstOrUndefined(node.arguments), visitor, isExpression); - const argument = externalModuleName && (!firstArgument || !isStringLiteral(firstArgument) || firstArgument.text !== externalModuleName.text) ? externalModuleName : firstArgument; - const containsLexicalThis = !!(node.transformFlags & 16384 /* ContainsLexicalThis */); - switch (compilerOptions.module) { - case 2 /* AMD */: - return createImportCallExpressionAMD(argument, containsLexicalThis); - case 3 /* UMD */: - return createImportCallExpressionUMD(argument ?? factory2.createVoidZero(), containsLexicalThis); - case 1 /* CommonJS */: - default: - return createImportCallExpressionCommonJS(argument); - } - } - function createImportCallExpressionUMD(arg, containsLexicalThis) { - needUMDDynamicImportHelper = true; - if (isSimpleCopiableExpression(arg)) { - const argClone = isGeneratedIdentifier(arg) ? arg : isStringLiteral(arg) ? factory2.createStringLiteralFromNode(arg) : setEmitFlags(setTextRange(factory2.cloneNode(arg), arg), 3072 /* NoComments */); - return factory2.createConditionalExpression( - /*condition*/ - factory2.createIdentifier("__syncRequire"), - /*questionToken*/ - void 0, - /*whenTrue*/ - createImportCallExpressionCommonJS(arg), - /*colonToken*/ - void 0, - /*whenFalse*/ - createImportCallExpressionAMD(argClone, containsLexicalThis) - ); - } else { - const temp = factory2.createTempVariable(hoistVariableDeclaration); - return factory2.createComma( - factory2.createAssignment(temp, arg), - factory2.createConditionalExpression( - /*condition*/ - factory2.createIdentifier("__syncRequire"), - /*questionToken*/ - void 0, - /*whenTrue*/ - createImportCallExpressionCommonJS( - temp, - /*isInlineable*/ - true - ), - /*colonToken*/ - void 0, - /*whenFalse*/ - createImportCallExpressionAMD(temp, containsLexicalThis) - ) - ); - } - } - function createImportCallExpressionAMD(arg, containsLexicalThis) { - const resolve = factory2.createUniqueName("resolve"); - const reject = factory2.createUniqueName("reject"); - const parameters = [ - factory2.createParameterDeclaration( - /*modifiers*/ - void 0, - /*dotDotDotToken*/ - void 0, - /*name*/ - resolve - ), - factory2.createParameterDeclaration( - /*modifiers*/ - void 0, - /*dotDotDotToken*/ - void 0, - /*name*/ - reject - ) - ]; - const body = factory2.createBlock([ - factory2.createExpressionStatement( - factory2.createCallExpression( - factory2.createIdentifier("require"), - /*typeArguments*/ - void 0, - [factory2.createArrayLiteralExpression([arg || factory2.createOmittedExpression()]), resolve, reject] - ) - ) - ]); - let func; - if (languageVersion >= 2 /* ES2015 */) { - func = factory2.createArrowFunction( - /*modifiers*/ - void 0, - /*typeParameters*/ - void 0, - parameters, - /*type*/ - void 0, - /*equalsGreaterThanToken*/ - void 0, - body - ); - } else { - func = factory2.createFunctionExpression( - /*modifiers*/ - void 0, - /*asteriskToken*/ - void 0, - /*name*/ - void 0, - /*typeParameters*/ - void 0, - parameters, - /*type*/ - void 0, - body - ); - if (containsLexicalThis) { - setEmitFlags(func, 16 /* CapturesThis */); - } - } - const promise = factory2.createNewExpression( - factory2.createIdentifier("Promise"), - /*typeArguments*/ - void 0, - [func] - ); - if (getESModuleInterop(compilerOptions)) { - return factory2.createCallExpression( - factory2.createPropertyAccessExpression(promise, factory2.createIdentifier("then")), - /*typeArguments*/ - void 0, - [emitHelpers().createImportStarCallbackHelper()] - ); - } - return promise; - } - function createImportCallExpressionCommonJS(arg, isInlineable) { - const needSyncEval = arg && !isSimpleInlineableExpression(arg) && !isInlineable; - const promiseResolveCall = factory2.createCallExpression( - factory2.createPropertyAccessExpression(factory2.createIdentifier("Promise"), "resolve"), - /*typeArguments*/ - void 0, - /*argumentsArray*/ - needSyncEval ? languageVersion >= 2 /* ES2015 */ ? [ - factory2.createTemplateExpression(factory2.createTemplateHead(""), [ - factory2.createTemplateSpan(arg, factory2.createTemplateTail("")) - ]) - ] : [ - factory2.createCallExpression( - factory2.createPropertyAccessExpression(factory2.createStringLiteral(""), "concat"), - /*typeArguments*/ - void 0, - [arg] - ) - ] : [] - ); - let requireCall = factory2.createCallExpression( - factory2.createIdentifier("require"), - /*typeArguments*/ - void 0, - needSyncEval ? [factory2.createIdentifier("s")] : arg ? [arg] : [] - ); - if (getESModuleInterop(compilerOptions)) { - requireCall = emitHelpers().createImportStarHelper(requireCall); - } - const parameters = needSyncEval ? [ - factory2.createParameterDeclaration( - /*modifiers*/ - void 0, - /*dotDotDotToken*/ - void 0, - /*name*/ - "s" - ) - ] : []; - let func; - if (languageVersion >= 2 /* ES2015 */) { - func = factory2.createArrowFunction( - /*modifiers*/ - void 0, - /*typeParameters*/ - void 0, - /*parameters*/ - parameters, - /*type*/ - void 0, - /*equalsGreaterThanToken*/ - void 0, - requireCall - ); - } else { - func = factory2.createFunctionExpression( - /*modifiers*/ - void 0, - /*asteriskToken*/ - void 0, - /*name*/ - void 0, - /*typeParameters*/ - void 0, - /*parameters*/ - parameters, - /*type*/ - void 0, - factory2.createBlock([factory2.createReturnStatement(requireCall)]) - ); - } - const downleveledImport = factory2.createCallExpression( - factory2.createPropertyAccessExpression(promiseResolveCall, "then"), - /*typeArguments*/ - void 0, - [func] - ); - return downleveledImport; - } - function getHelperExpressionForExport(node, innerExpr) { - if (!getESModuleInterop(compilerOptions) || getInternalEmitFlags(node) & 2 /* NeverApplyImportHelper */) { - return innerExpr; - } - if (getExportNeedsImportStarHelper(node)) { - return emitHelpers().createImportStarHelper(innerExpr); - } - return innerExpr; - } - function getHelperExpressionForImport(node, innerExpr) { - if (!getESModuleInterop(compilerOptions) || getInternalEmitFlags(node) & 2 /* NeverApplyImportHelper */) { - return innerExpr; - } - if (getImportNeedsImportStarHelper(node)) { - return emitHelpers().createImportStarHelper(innerExpr); - } - if (getImportNeedsImportDefaultHelper(node)) { - return emitHelpers().createImportDefaultHelper(innerExpr); - } - return innerExpr; - } - function visitTopLevelImportDeclaration(node) { - let statements; - const namespaceDeclaration = getNamespaceDeclarationNode(node); - if (moduleKind !== 2 /* AMD */) { - if (!node.importClause) { - return setOriginalNode(setTextRange(factory2.createExpressionStatement(createRequireCall(node)), node), node); - } else { - const variables = []; - if (namespaceDeclaration && !isDefaultImport(node)) { - variables.push( - factory2.createVariableDeclaration( - factory2.cloneNode(namespaceDeclaration.name), - /*exclamationToken*/ - void 0, - /*type*/ - void 0, - getHelperExpressionForImport(node, createRequireCall(node)) - ) - ); - } else { - variables.push( - factory2.createVariableDeclaration( - factory2.getGeneratedNameForNode(node), - /*exclamationToken*/ - void 0, - /*type*/ - void 0, - getHelperExpressionForImport(node, createRequireCall(node)) - ) - ); - if (namespaceDeclaration && isDefaultImport(node)) { - variables.push( - factory2.createVariableDeclaration( - factory2.cloneNode(namespaceDeclaration.name), - /*exclamationToken*/ - void 0, - /*type*/ - void 0, - factory2.getGeneratedNameForNode(node) - ) - ); - } - } - statements = append( - statements, - setOriginalNode( - setTextRange( - factory2.createVariableStatement( - /*modifiers*/ - void 0, - factory2.createVariableDeclarationList( - variables, - languageVersion >= 2 /* ES2015 */ ? 2 /* Const */ : 0 /* None */ - ) - ), - /*location*/ - node - ), - /*original*/ - node - ) - ); - } - } else if (namespaceDeclaration && isDefaultImport(node)) { - statements = append( - statements, - factory2.createVariableStatement( - /*modifiers*/ - void 0, - factory2.createVariableDeclarationList( - [ - setOriginalNode( - setTextRange( - factory2.createVariableDeclaration( - factory2.cloneNode(namespaceDeclaration.name), - /*exclamationToken*/ - void 0, - /*type*/ - void 0, - factory2.getGeneratedNameForNode(node) - ), - /*location*/ - node - ), - /*original*/ - node - ) - ], - languageVersion >= 2 /* ES2015 */ ? 2 /* Const */ : 0 /* None */ - ) - ) - ); - } - statements = appendExportsOfImportDeclaration(statements, node); - return singleOrMany(statements); - } - function createRequireCall(importNode) { - const moduleName = getExternalModuleNameLiteral(factory2, importNode, currentSourceFile, host, resolver, compilerOptions); - const args = []; - if (moduleName) { - args.push(moduleName); - } - return factory2.createCallExpression( - factory2.createIdentifier("require"), - /*typeArguments*/ - void 0, - args - ); - } - function visitTopLevelImportEqualsDeclaration(node) { - Debug.assert(isExternalModuleImportEqualsDeclaration(node), "import= for internal module references should be handled in an earlier transformer."); - let statements; - if (moduleKind !== 2 /* AMD */) { - if (hasSyntacticModifier(node, 32 /* Export */)) { - statements = append( - statements, - setOriginalNode( - setTextRange( - factory2.createExpressionStatement( - createExportExpression( - node.name, - createRequireCall(node) - ) - ), - node - ), - node - ) - ); - } else { - statements = append( - statements, - setOriginalNode( - setTextRange( - factory2.createVariableStatement( - /*modifiers*/ - void 0, - factory2.createVariableDeclarationList( - [ - factory2.createVariableDeclaration( - factory2.cloneNode(node.name), - /*exclamationToken*/ - void 0, - /*type*/ - void 0, - createRequireCall(node) - ) - ], - /*flags*/ - languageVersion >= 2 /* ES2015 */ ? 2 /* Const */ : 0 /* None */ - ) - ), - node - ), - node - ) - ); - } - } else { - if (hasSyntacticModifier(node, 32 /* Export */)) { - statements = append( - statements, - setOriginalNode( - setTextRange( - factory2.createExpressionStatement( - createExportExpression(factory2.getExportName(node), factory2.getLocalName(node)) - ), - node - ), - node - ) - ); - } - } - statements = appendExportsOfImportEqualsDeclaration(statements, node); - return singleOrMany(statements); - } - function visitTopLevelExportDeclaration(node) { - if (!node.moduleSpecifier) { - return void 0; - } - const generatedName = factory2.getGeneratedNameForNode(node); - if (node.exportClause && isNamedExports(node.exportClause)) { - const statements = []; - if (moduleKind !== 2 /* AMD */) { - statements.push( - setOriginalNode( - setTextRange( - factory2.createVariableStatement( - /*modifiers*/ - void 0, - factory2.createVariableDeclarationList([ - factory2.createVariableDeclaration( - generatedName, - /*exclamationToken*/ - void 0, - /*type*/ - void 0, - createRequireCall(node) - ) - ]) - ), - /*location*/ - node - ), - /* original */ - node - ) - ); - } - for (const specifier of node.exportClause.elements) { - const specifierName = specifier.propertyName || specifier.name; - const exportNeedsImportDefault = !!getESModuleInterop(compilerOptions) && !(getInternalEmitFlags(node) & 2 /* NeverApplyImportHelper */) && moduleExportNameIsDefault(specifierName); - const target = exportNeedsImportDefault ? emitHelpers().createImportDefaultHelper(generatedName) : generatedName; - const exportedValue = specifierName.kind === 11 /* StringLiteral */ ? factory2.createElementAccessExpression(target, specifierName) : factory2.createPropertyAccessExpression(target, specifierName); - statements.push( - setOriginalNode( - setTextRange( - factory2.createExpressionStatement( - createExportExpression( - specifier.name.kind === 11 /* StringLiteral */ ? factory2.cloneNode(specifier.name) : factory2.getExportName(specifier), - exportedValue, - /*location*/ - void 0, - /*liveBinding*/ - true - ) - ), - specifier - ), - specifier - ) - ); - } - return singleOrMany(statements); - } else if (node.exportClause) { - const statements = []; - statements.push( - setOriginalNode( - setTextRange( - factory2.createExpressionStatement( - createExportExpression( - factory2.cloneNode(node.exportClause.name), - getHelperExpressionForExport( - node, - moduleKind !== 2 /* AMD */ ? createRequireCall(node) : isExportNamespaceAsDefaultDeclaration(node) ? generatedName : node.exportClause.name.kind === 11 /* StringLiteral */ ? generatedName : factory2.createIdentifier(idText(node.exportClause.name)) - ) - ) - ), - node - ), - node - ) - ); - return singleOrMany(statements); - } else { - return setOriginalNode( - setTextRange( - factory2.createExpressionStatement( - emitHelpers().createExportStarHelper(moduleKind !== 2 /* AMD */ ? createRequireCall(node) : generatedName) - ), - node - ), - node - ); - } - } - function visitTopLevelExportAssignment(node) { - if (node.isExportEquals) { - return void 0; - } - return createExportStatement( - factory2.createIdentifier("default"), - visitNode(node.expression, visitor, isExpression), - /*location*/ - node, - /*allowComments*/ - true - ); - } - function visitFunctionDeclaration(node) { - let statements; - if (hasSyntacticModifier(node, 32 /* Export */)) { - statements = append( - statements, - setOriginalNode( - setTextRange( - factory2.createFunctionDeclaration( - visitNodes2(node.modifiers, modifierVisitor, isModifier), - node.asteriskToken, - factory2.getDeclarationName( - node, - /*allowComments*/ - true, - /*allowSourceMaps*/ - true - ), - /*typeParameters*/ - void 0, - visitNodes2(node.parameters, visitor, isParameter), - /*type*/ - void 0, - visitEachChild(node.body, visitor, context) - ), - /*location*/ - node - ), - /*original*/ - node - ) - ); - } else { - statements = append(statements, visitEachChild(node, visitor, context)); - } - return singleOrMany(statements); - } - function visitClassDeclaration(node) { - let statements; - if (hasSyntacticModifier(node, 32 /* Export */)) { - statements = append( - statements, - setOriginalNode( - setTextRange( - factory2.createClassDeclaration( - visitNodes2(node.modifiers, modifierVisitor, isModifierLike), - factory2.getDeclarationName( - node, - /*allowComments*/ - true, - /*allowSourceMaps*/ - true - ), - /*typeParameters*/ - void 0, - visitNodes2(node.heritageClauses, visitor, isHeritageClause), - visitNodes2(node.members, visitor, isClassElement) - ), - node - ), - node - ) - ); - } else { - statements = append(statements, visitEachChild(node, visitor, context)); - } - statements = appendExportsOfHoistedDeclaration(statements, node); - return singleOrMany(statements); - } - function visitVariableStatement(node) { - let statements; - let variables; - let expressions; - if (hasSyntacticModifier(node, 32 /* Export */)) { - let modifiers; - let removeCommentsOnExpressions = false; - for (const variable of node.declarationList.declarations) { - if (isIdentifier(variable.name) && isLocalName(variable.name)) { - if (!modifiers) { - modifiers = visitNodes2(node.modifiers, modifierVisitor, isModifier); - } - if (variable.initializer) { - const updatedVariable = factory2.updateVariableDeclaration( - variable, - variable.name, - /*exclamationToken*/ - void 0, - /*type*/ - void 0, - createExportExpression( - variable.name, - visitNode(variable.initializer, visitor, isExpression) - ) - ); - variables = append(variables, updatedVariable); - } else { - variables = append(variables, variable); - } - } else if (variable.initializer) { - if (!isBindingPattern(variable.name) && (isArrowFunction(variable.initializer) || isFunctionExpression(variable.initializer) || isClassExpression(variable.initializer))) { - const expression = factory2.createAssignment( - setTextRange( - factory2.createPropertyAccessExpression( - factory2.createIdentifier("exports"), - variable.name - ), - /*location*/ - variable.name - ), - factory2.createIdentifier(getTextOfIdentifierOrLiteral(variable.name)) - ); - const updatedVariable = factory2.createVariableDeclaration( - variable.name, - variable.exclamationToken, - variable.type, - visitNode(variable.initializer, visitor, isExpression) - ); - variables = append(variables, updatedVariable); - expressions = append(expressions, expression); - removeCommentsOnExpressions = true; - } else { - expressions = append(expressions, transformInitializedVariable(variable)); - } - } - } - if (variables) { - statements = append(statements, factory2.updateVariableStatement(node, modifiers, factory2.updateVariableDeclarationList(node.declarationList, variables))); - } - if (expressions) { - const statement = setOriginalNode(setTextRange(factory2.createExpressionStatement(factory2.inlineExpressions(expressions)), node), node); - if (removeCommentsOnExpressions) { - removeAllComments(statement); - } - statements = append(statements, statement); - } - } else { - statements = append(statements, visitEachChild(node, visitor, context)); - } - statements = appendExportsOfVariableStatement(statements, node); - return singleOrMany(statements); - } - function createAllExportExpressions(name, value, location) { - const exportedNames = getExports(name); - if (exportedNames) { - let expression = isExportName(name) ? value : factory2.createAssignment(name, value); - for (const exportName of exportedNames) { - setEmitFlags(expression, 8 /* NoSubstitution */); - expression = createExportExpression( - exportName, - expression, - /*location*/ - location - ); - } - return expression; - } - return factory2.createAssignment(name, value); - } - function transformInitializedVariable(node) { - if (isBindingPattern(node.name)) { - return flattenDestructuringAssignment( - visitNode(node, visitor, isInitializedVariable), - visitor, - context, - 0 /* All */, - /*needsValue*/ - false, - createAllExportExpressions - ); - } else { - return factory2.createAssignment( - setTextRange( - factory2.createPropertyAccessExpression( - factory2.createIdentifier("exports"), - node.name - ), - /*location*/ - node.name - ), - node.initializer ? visitNode(node.initializer, visitor, isExpression) : factory2.createVoidZero() - ); - } - } - function appendExportsOfImportDeclaration(statements, decl) { - if (currentModuleInfo.exportEquals) { - return statements; - } - const importClause = decl.importClause; - if (!importClause) { - return statements; - } - const seen = new IdentifierNameMap(); - if (importClause.name) { - statements = appendExportsOfDeclaration(statements, seen, importClause); - } - const namedBindings = importClause.namedBindings; - if (namedBindings) { - switch (namedBindings.kind) { - case 274 /* NamespaceImport */: - statements = appendExportsOfDeclaration(statements, seen, namedBindings); - break; - case 275 /* NamedImports */: - for (const importBinding of namedBindings.elements) { - statements = appendExportsOfDeclaration( - statements, - seen, - importBinding, - /*liveBinding*/ - true - ); - } - break; - } - } - return statements; - } - function appendExportsOfImportEqualsDeclaration(statements, decl) { - if (currentModuleInfo.exportEquals) { - return statements; - } - return appendExportsOfDeclaration(statements, new IdentifierNameMap(), decl); - } - function appendExportsOfVariableStatement(statements, node) { - return appendExportsOfVariableDeclarationList( - statements, - node.declarationList, - /*isForInOrOfInitializer*/ - false - ); - } - function appendExportsOfVariableDeclarationList(statements, node, isForInOrOfInitializer) { - if (currentModuleInfo.exportEquals) { - return statements; - } - for (const decl of node.declarations) { - statements = appendExportsOfBindingElement(statements, decl, isForInOrOfInitializer); - } - return statements; - } - function appendExportsOfBindingElement(statements, decl, isForInOrOfInitializer) { - if (currentModuleInfo.exportEquals) { - return statements; - } - if (isBindingPattern(decl.name)) { - for (const element of decl.name.elements) { - if (!isOmittedExpression(element)) { - statements = appendExportsOfBindingElement(statements, element, isForInOrOfInitializer); - } - } - } else if (!isGeneratedIdentifier(decl.name) && (!isVariableDeclaration(decl) || decl.initializer || isForInOrOfInitializer)) { - statements = appendExportsOfDeclaration(statements, new IdentifierNameMap(), decl); - } - return statements; - } - function appendExportsOfHoistedDeclaration(statements, decl) { - if (currentModuleInfo.exportEquals) { - return statements; - } - const seen = new IdentifierNameMap(); - if (hasSyntacticModifier(decl, 32 /* Export */)) { - const exportName = hasSyntacticModifier(decl, 2048 /* Default */) ? factory2.createIdentifier("default") : factory2.getDeclarationName(decl); - statements = appendExportStatement( - statements, - seen, - exportName, - factory2.getLocalName(decl), - /*location*/ - decl - ); - } - if (decl.name) { - statements = appendExportsOfDeclaration(statements, seen, decl); - } - return statements; - } - function appendExportsOfDeclaration(statements, seen, decl, liveBinding) { - const name = factory2.getDeclarationName(decl); - const exportSpecifiers = currentModuleInfo.exportSpecifiers.get(name); - if (exportSpecifiers) { - for (const exportSpecifier of exportSpecifiers) { - statements = appendExportStatement( - statements, - seen, - exportSpecifier.name, - name, - /*location*/ - exportSpecifier.name, - /*allowComments*/ - void 0, - liveBinding - ); - } - } - return statements; - } - function appendExportStatement(statements, seen, exportName, expression, location, allowComments, liveBinding) { - if (exportName.kind !== 11 /* StringLiteral */) { - if (seen.has(exportName)) { - return statements; - } - seen.set(exportName, true); - } - statements = append(statements, createExportStatement(exportName, expression, location, allowComments, liveBinding)); - return statements; - } - function createUnderscoreUnderscoreESModule() { - const statement = factory2.createExpressionStatement( - factory2.createCallExpression( - factory2.createPropertyAccessExpression(factory2.createIdentifier("Object"), "defineProperty"), - /*typeArguments*/ - void 0, - [ - factory2.createIdentifier("exports"), - factory2.createStringLiteral("__esModule"), - factory2.createObjectLiteralExpression([ - factory2.createPropertyAssignment("value", factory2.createTrue()) - ]) - ] - ) - ); - setEmitFlags(statement, 2097152 /* CustomPrologue */); - return statement; - } - function createExportStatement(name, value, location, allowComments, liveBinding) { - const statement = setTextRange(factory2.createExpressionStatement(createExportExpression( - name, - value, - /*location*/ - void 0, - liveBinding - )), location); - startOnNewLine(statement); - if (!allowComments) { - setEmitFlags(statement, 3072 /* NoComments */); - } - return statement; - } - function createExportExpression(name, value, location, liveBinding) { - return setTextRange( - liveBinding ? factory2.createCallExpression( - factory2.createPropertyAccessExpression( - factory2.createIdentifier("Object"), - "defineProperty" - ), - /*typeArguments*/ - void 0, - [ - factory2.createIdentifier("exports"), - factory2.createStringLiteralFromNode(name), - factory2.createObjectLiteralExpression([ - factory2.createPropertyAssignment("enumerable", factory2.createTrue()), - factory2.createPropertyAssignment( - "get", - factory2.createFunctionExpression( - /*modifiers*/ - void 0, - /*asteriskToken*/ - void 0, - /*name*/ - void 0, - /*typeParameters*/ - void 0, - /*parameters*/ - [], - /*type*/ - void 0, - factory2.createBlock([factory2.createReturnStatement(value)]) - ) - ) - ]) - ] - ) : factory2.createAssignment( - name.kind === 11 /* StringLiteral */ ? factory2.createElementAccessExpression( - factory2.createIdentifier("exports"), - factory2.cloneNode(name) - ) : factory2.createPropertyAccessExpression( - factory2.createIdentifier("exports"), - factory2.cloneNode(name) - ), - value - ), - location - ); - } - function modifierVisitor(node) { - switch (node.kind) { - case 95 /* ExportKeyword */: - case 90 /* DefaultKeyword */: - return void 0; - } - return node; - } - function onEmitNode(hint, node, emitCallback) { - if (node.kind === 307 /* SourceFile */) { - currentSourceFile = node; - currentModuleInfo = moduleInfoMap[getOriginalNodeId(currentSourceFile)]; - previousOnEmitNode(hint, node, emitCallback); - currentSourceFile = void 0; - currentModuleInfo = void 0; - } else { - previousOnEmitNode(hint, node, emitCallback); - } - } - function onSubstituteNode(hint, node) { - node = previousOnSubstituteNode(hint, node); - if (node.id && noSubstitution[node.id]) { - return node; - } - if (hint === 1 /* Expression */) { - return substituteExpression(node); - } else if (isShorthandPropertyAssignment(node)) { - return substituteShorthandPropertyAssignment(node); - } - return node; - } - function substituteShorthandPropertyAssignment(node) { - const name = node.name; - const exportedOrImportedName = substituteExpressionIdentifier(name); - if (exportedOrImportedName !== name) { - if (node.objectAssignmentInitializer) { - const initializer = factory2.createAssignment(exportedOrImportedName, node.objectAssignmentInitializer); - return setTextRange(factory2.createPropertyAssignment(name, initializer), node); - } - return setTextRange(factory2.createPropertyAssignment(name, exportedOrImportedName), node); - } - return node; - } - function substituteExpression(node) { - switch (node.kind) { - case 80 /* Identifier */: - return substituteExpressionIdentifier(node); - case 213 /* CallExpression */: - return substituteCallExpression(node); - case 215 /* TaggedTemplateExpression */: - return substituteTaggedTemplateExpression(node); - case 226 /* BinaryExpression */: - return substituteBinaryExpression(node); - } - return node; - } - function substituteCallExpression(node) { - if (isIdentifier(node.expression)) { - const expression = substituteExpressionIdentifier(node.expression); - noSubstitution[getNodeId(expression)] = true; - if (!isIdentifier(expression) && !(getEmitFlags(node.expression) & 8192 /* HelperName */)) { - return addInternalEmitFlags( - factory2.updateCallExpression( - node, - expression, - /*typeArguments*/ - void 0, - node.arguments - ), - 16 /* IndirectCall */ - ); - } - } - return node; - } - function substituteTaggedTemplateExpression(node) { - if (isIdentifier(node.tag)) { - const tag = substituteExpressionIdentifier(node.tag); - noSubstitution[getNodeId(tag)] = true; - if (!isIdentifier(tag) && !(getEmitFlags(node.tag) & 8192 /* HelperName */)) { - return addInternalEmitFlags( - factory2.updateTaggedTemplateExpression( - node, - tag, - /*typeArguments*/ - void 0, - node.template - ), - 16 /* IndirectCall */ - ); - } - } - return node; - } - function substituteExpressionIdentifier(node) { - var _a, _b; - if (getEmitFlags(node) & 8192 /* HelperName */) { - const externalHelpersModuleName = getExternalHelpersModuleName(currentSourceFile); - if (externalHelpersModuleName) { - return factory2.createPropertyAccessExpression(externalHelpersModuleName, node); - } - return node; - } else if (!(isGeneratedIdentifier(node) && !(node.emitNode.autoGenerate.flags & 64 /* AllowNameSubstitution */)) && !isLocalName(node)) { - const exportContainer = resolver.getReferencedExportContainer(node, isExportName(node)); - if (exportContainer && exportContainer.kind === 307 /* SourceFile */) { - return setTextRange( - factory2.createPropertyAccessExpression( - factory2.createIdentifier("exports"), - factory2.cloneNode(node) - ), - /*location*/ - node - ); - } - const importDeclaration = resolver.getReferencedImportDeclaration(node); - if (importDeclaration) { - if (isImportClause(importDeclaration)) { - return setTextRange( - factory2.createPropertyAccessExpression( - factory2.getGeneratedNameForNode(importDeclaration.parent), - factory2.createIdentifier("default") - ), - /*location*/ - node - ); - } else if (isImportSpecifier(importDeclaration)) { - const name = importDeclaration.propertyName || importDeclaration.name; - const target = factory2.getGeneratedNameForNode(((_b = (_a = importDeclaration.parent) == null ? void 0 : _a.parent) == null ? void 0 : _b.parent) || importDeclaration); - return setTextRange( - name.kind === 11 /* StringLiteral */ ? factory2.createElementAccessExpression(target, factory2.cloneNode(name)) : factory2.createPropertyAccessExpression(target, factory2.cloneNode(name)), - /*location*/ - node - ); - } - } - } - return node; - } - function substituteBinaryExpression(node) { - if (isAssignmentOperator(node.operatorToken.kind) && isIdentifier(node.left) && (!isGeneratedIdentifier(node.left) || isFileLevelReservedGeneratedIdentifier(node.left)) && !isLocalName(node.left)) { - const exportedNames = getExports(node.left); - if (exportedNames) { - let expression = node; - for (const exportName of exportedNames) { - noSubstitution[getNodeId(expression)] = true; - expression = createExportExpression( - exportName, - expression, - /*location*/ - node - ); - } - return expression; - } - } - return node; - } - function getExports(name) { - if (!isGeneratedIdentifier(name)) { - const importDeclaration = resolver.getReferencedImportDeclaration(name); - if (importDeclaration) { - return currentModuleInfo == null ? void 0 : currentModuleInfo.exportedBindings[getOriginalNodeId(importDeclaration)]; - } - const bindingsSet = /* @__PURE__ */ new Set(); - const declarations = resolver.getReferencedValueDeclarations(name); - if (declarations) { - for (const declaration of declarations) { - const bindings = currentModuleInfo == null ? void 0 : currentModuleInfo.exportedBindings[getOriginalNodeId(declaration)]; - if (bindings) { - for (const binding of bindings) { - bindingsSet.add(binding); - } - } - } - if (bindingsSet.size) { - return arrayFrom(bindingsSet); - } - } - } else if (isFileLevelReservedGeneratedIdentifier(name)) { - const exportSpecifiers = currentModuleInfo == null ? void 0 : currentModuleInfo.exportSpecifiers.get(name); - if (exportSpecifiers) { - const exportedNames = []; - for (const exportSpecifier of exportSpecifiers) { - exportedNames.push(exportSpecifier.name); - } - return exportedNames; - } - } - } -} -var dynamicImportUMDHelper = { - name: "typescript:dynamicimport-sync-require", - scoped: true, - text: ` - var __syncRequire = typeof module === "object" && typeof module.exports === "object";` -}; - -// src/compiler/transformers/module/system.ts -function transformSystemModule(context) { - const { - factory: factory2, - startLexicalEnvironment, - endLexicalEnvironment, - hoistVariableDeclaration - } = context; - const compilerOptions = context.getCompilerOptions(); - const resolver = context.getEmitResolver(); - const host = context.getEmitHost(); - const previousOnSubstituteNode = context.onSubstituteNode; - const previousOnEmitNode = context.onEmitNode; - context.onSubstituteNode = onSubstituteNode; - context.onEmitNode = onEmitNode; - context.enableSubstitution(80 /* Identifier */); - context.enableSubstitution(304 /* ShorthandPropertyAssignment */); - context.enableSubstitution(226 /* BinaryExpression */); - context.enableSubstitution(236 /* MetaProperty */); - context.enableEmitNotification(307 /* SourceFile */); - const moduleInfoMap = []; - const exportFunctionsMap = []; - const noSubstitutionMap = []; - const contextObjectMap = []; - let currentSourceFile; - let moduleInfo; - let exportFunction; - let contextObject; - let hoistedStatements; - let enclosingBlockScopedContainer; - let noSubstitution; - return chainBundle(context, transformSourceFile); - function transformSourceFile(node) { - if (node.isDeclarationFile || !(isEffectiveExternalModule(node, compilerOptions) || node.transformFlags & 8388608 /* ContainsDynamicImport */)) { - return node; - } - const id = getOriginalNodeId(node); - currentSourceFile = node; - enclosingBlockScopedContainer = node; - moduleInfo = moduleInfoMap[id] = collectExternalModuleInfo(context, node); - exportFunction = factory2.createUniqueName("exports"); - exportFunctionsMap[id] = exportFunction; - contextObject = contextObjectMap[id] = factory2.createUniqueName("context"); - const dependencyGroups = collectDependencyGroups(moduleInfo.externalImports); - const moduleBodyBlock = createSystemModuleBody(node, dependencyGroups); - const moduleBodyFunction = factory2.createFunctionExpression( - /*modifiers*/ - void 0, - /*asteriskToken*/ - void 0, - /*name*/ - void 0, - /*typeParameters*/ - void 0, - [ - factory2.createParameterDeclaration( - /*modifiers*/ - void 0, - /*dotDotDotToken*/ - void 0, - exportFunction - ), - factory2.createParameterDeclaration( - /*modifiers*/ - void 0, - /*dotDotDotToken*/ - void 0, - contextObject - ) - ], - /*type*/ - void 0, - moduleBodyBlock - ); - const moduleName = tryGetModuleNameFromFile(factory2, node, host, compilerOptions); - const dependencies = factory2.createArrayLiteralExpression(map(dependencyGroups, (dependencyGroup) => dependencyGroup.name)); - const updated = setEmitFlags( - factory2.updateSourceFile( - node, - setTextRange( - factory2.createNodeArray([ - factory2.createExpressionStatement( - factory2.createCallExpression( - factory2.createPropertyAccessExpression(factory2.createIdentifier("System"), "register"), - /*typeArguments*/ - void 0, - moduleName ? [moduleName, dependencies, moduleBodyFunction] : [dependencies, moduleBodyFunction] - ) - ) - ]), - node.statements - ) - ), - 2048 /* NoTrailingComments */ - ); - if (!compilerOptions.outFile) { - moveEmitHelpers(updated, moduleBodyBlock, (helper) => !helper.scoped); - } - if (noSubstitution) { - noSubstitutionMap[id] = noSubstitution; - noSubstitution = void 0; - } - currentSourceFile = void 0; - moduleInfo = void 0; - exportFunction = void 0; - contextObject = void 0; - hoistedStatements = void 0; - enclosingBlockScopedContainer = void 0; - return updated; - } - function collectDependencyGroups(externalImports) { - const groupIndices = /* @__PURE__ */ new Map(); - const dependencyGroups = []; - for (const externalImport of externalImports) { - const externalModuleName = getExternalModuleNameLiteral(factory2, externalImport, currentSourceFile, host, resolver, compilerOptions); - if (externalModuleName) { - const text = externalModuleName.text; - const groupIndex = groupIndices.get(text); - if (groupIndex !== void 0) { - dependencyGroups[groupIndex].externalImports.push(externalImport); - } else { - groupIndices.set(text, dependencyGroups.length); - dependencyGroups.push({ - name: externalModuleName, - externalImports: [externalImport] - }); - } - } - } - return dependencyGroups; - } - function createSystemModuleBody(node, dependencyGroups) { - const statements = []; - startLexicalEnvironment(); - const ensureUseStrict = getStrictOptionValue(compilerOptions, "alwaysStrict") || isExternalModule(currentSourceFile); - const statementOffset = factory2.copyPrologue(node.statements, statements, ensureUseStrict, topLevelVisitor); - statements.push( - factory2.createVariableStatement( - /*modifiers*/ - void 0, - factory2.createVariableDeclarationList([ - factory2.createVariableDeclaration( - "__moduleName", - /*exclamationToken*/ - void 0, - /*type*/ - void 0, - factory2.createLogicalAnd( - contextObject, - factory2.createPropertyAccessExpression(contextObject, "id") - ) - ) - ]) - ) - ); - visitNode(moduleInfo.externalHelpersImportDeclaration, topLevelVisitor, isStatement); - const executeStatements = visitNodes2(node.statements, topLevelVisitor, isStatement, statementOffset); - addRange(statements, hoistedStatements); - insertStatementsAfterStandardPrologue(statements, endLexicalEnvironment()); - const exportStarFunction = addExportStarIfNeeded(statements); - const modifiers = node.transformFlags & 2097152 /* ContainsAwait */ ? factory2.createModifiersFromModifierFlags(1024 /* Async */) : void 0; - const moduleObject = factory2.createObjectLiteralExpression( - [ - factory2.createPropertyAssignment("setters", createSettersArray(exportStarFunction, dependencyGroups)), - factory2.createPropertyAssignment( - "execute", - factory2.createFunctionExpression( - modifiers, - /*asteriskToken*/ - void 0, - /*name*/ - void 0, - /*typeParameters*/ - void 0, - /*parameters*/ - [], - /*type*/ - void 0, - factory2.createBlock( - executeStatements, - /*multiLine*/ - true - ) - ) - ) - ], - /*multiLine*/ - true - ); - statements.push(factory2.createReturnStatement(moduleObject)); - return factory2.createBlock( - statements, - /*multiLine*/ - true - ); - } - function addExportStarIfNeeded(statements) { - if (!moduleInfo.hasExportStarsToExportValues) { - return; - } - if (!some(moduleInfo.exportedNames) && moduleInfo.exportedFunctions.size === 0 && moduleInfo.exportSpecifiers.size === 0) { - let hasExportDeclarationWithExportClause = false; - for (const externalImport of moduleInfo.externalImports) { - if (externalImport.kind === 278 /* ExportDeclaration */ && externalImport.exportClause) { - hasExportDeclarationWithExportClause = true; - break; - } - } - if (!hasExportDeclarationWithExportClause) { - const exportStarFunction2 = createExportStarFunction( - /*localNames*/ - void 0 - ); - statements.push(exportStarFunction2); - return exportStarFunction2.name; - } - } - const exportedNames = []; - if (moduleInfo.exportedNames) { - for (const exportedLocalName of moduleInfo.exportedNames) { - if (moduleExportNameIsDefault(exportedLocalName)) { - continue; - } - exportedNames.push( - factory2.createPropertyAssignment( - factory2.createStringLiteralFromNode(exportedLocalName), - factory2.createTrue() - ) - ); - } - } - for (const f of moduleInfo.exportedFunctions) { - if (hasSyntacticModifier(f, 2048 /* Default */)) { - continue; - } - Debug.assert(!!f.name); - exportedNames.push( - factory2.createPropertyAssignment( - factory2.createStringLiteralFromNode(f.name), - factory2.createTrue() - ) - ); - } - const exportedNamesStorageRef = factory2.createUniqueName("exportedNames"); - statements.push( - factory2.createVariableStatement( - /*modifiers*/ - void 0, - factory2.createVariableDeclarationList([ - factory2.createVariableDeclaration( - exportedNamesStorageRef, - /*exclamationToken*/ - void 0, - /*type*/ - void 0, - factory2.createObjectLiteralExpression( - exportedNames, - /*multiLine*/ - true - ) - ) - ]) - ) - ); - const exportStarFunction = createExportStarFunction(exportedNamesStorageRef); - statements.push(exportStarFunction); - return exportStarFunction.name; - } - function createExportStarFunction(localNames) { - const exportStarFunction = factory2.createUniqueName("exportStar"); - const m = factory2.createIdentifier("m"); - const n = factory2.createIdentifier("n"); - const exports2 = factory2.createIdentifier("exports"); - let condition = factory2.createStrictInequality(n, factory2.createStringLiteral("default")); - if (localNames) { - condition = factory2.createLogicalAnd( - condition, - factory2.createLogicalNot( - factory2.createCallExpression( - factory2.createPropertyAccessExpression(localNames, "hasOwnProperty"), - /*typeArguments*/ - void 0, - [n] - ) - ) - ); - } - return factory2.createFunctionDeclaration( - /*modifiers*/ - void 0, - /*asteriskToken*/ - void 0, - exportStarFunction, - /*typeParameters*/ - void 0, - [factory2.createParameterDeclaration( - /*modifiers*/ - void 0, - /*dotDotDotToken*/ - void 0, - m - )], - /*type*/ - void 0, - factory2.createBlock( - [ - factory2.createVariableStatement( - /*modifiers*/ - void 0, - factory2.createVariableDeclarationList([ - factory2.createVariableDeclaration( - exports2, - /*exclamationToken*/ - void 0, - /*type*/ - void 0, - factory2.createObjectLiteralExpression([]) - ) - ]) - ), - factory2.createForInStatement( - factory2.createVariableDeclarationList([ - factory2.createVariableDeclaration(n) - ]), - m, - factory2.createBlock([ - setEmitFlags( - factory2.createIfStatement( - condition, - factory2.createExpressionStatement( - factory2.createAssignment( - factory2.createElementAccessExpression(exports2, n), - factory2.createElementAccessExpression(m, n) - ) - ) - ), - 1 /* SingleLine */ - ) - ]) - ), - factory2.createExpressionStatement( - factory2.createCallExpression( - exportFunction, - /*typeArguments*/ - void 0, - [exports2] - ) - ) - ], - /*multiLine*/ - true - ) - ); - } - function createSettersArray(exportStarFunction, dependencyGroups) { - const setters = []; - for (const group2 of dependencyGroups) { - const localName = forEach(group2.externalImports, (i) => getLocalNameForExternalImport(factory2, i, currentSourceFile)); - const parameterName = localName ? factory2.getGeneratedNameForNode(localName) : factory2.createUniqueName(""); - const statements = []; - for (const entry of group2.externalImports) { - const importVariableName = getLocalNameForExternalImport(factory2, entry, currentSourceFile); - switch (entry.kind) { - case 272 /* ImportDeclaration */: - if (!entry.importClause) { - break; - } - case 271 /* ImportEqualsDeclaration */: - Debug.assert(importVariableName !== void 0); - statements.push( - factory2.createExpressionStatement( - factory2.createAssignment(importVariableName, parameterName) - ) - ); - if (hasSyntacticModifier(entry, 32 /* Export */)) { - statements.push( - factory2.createExpressionStatement( - factory2.createCallExpression( - exportFunction, - /*typeArguments*/ - void 0, - [ - factory2.createStringLiteral(idText(importVariableName)), - parameterName - ] - ) - ) - ); - } - break; - case 278 /* ExportDeclaration */: - Debug.assert(importVariableName !== void 0); - if (entry.exportClause) { - if (isNamedExports(entry.exportClause)) { - const properties = []; - for (const e of entry.exportClause.elements) { - properties.push( - factory2.createPropertyAssignment( - factory2.createStringLiteral(moduleExportNameTextUnescaped(e.name)), - factory2.createElementAccessExpression( - parameterName, - factory2.createStringLiteral(moduleExportNameTextUnescaped(e.propertyName || e.name)) - ) - ) - ); - } - statements.push( - factory2.createExpressionStatement( - factory2.createCallExpression( - exportFunction, - /*typeArguments*/ - void 0, - [factory2.createObjectLiteralExpression( - properties, - /*multiLine*/ - true - )] - ) - ) - ); - } else { - statements.push( - factory2.createExpressionStatement( - factory2.createCallExpression( - exportFunction, - /*typeArguments*/ - void 0, - [ - factory2.createStringLiteral(moduleExportNameTextUnescaped(entry.exportClause.name)), - parameterName - ] - ) - ) - ); - } - } else { - statements.push( - factory2.createExpressionStatement( - factory2.createCallExpression( - exportStarFunction, - /*typeArguments*/ - void 0, - [parameterName] - ) - ) - ); - } - break; - } - } - setters.push( - factory2.createFunctionExpression( - /*modifiers*/ - void 0, - /*asteriskToken*/ - void 0, - /*name*/ - void 0, - /*typeParameters*/ - void 0, - [factory2.createParameterDeclaration( - /*modifiers*/ - void 0, - /*dotDotDotToken*/ - void 0, - parameterName - )], - /*type*/ - void 0, - factory2.createBlock( - statements, - /*multiLine*/ - true - ) - ) - ); - } - return factory2.createArrayLiteralExpression( - setters, - /*multiLine*/ - true - ); - } - function topLevelVisitor(node) { - switch (node.kind) { - case 272 /* ImportDeclaration */: - return visitImportDeclaration(node); - case 271 /* ImportEqualsDeclaration */: - return visitImportEqualsDeclaration(node); - case 278 /* ExportDeclaration */: - return visitExportDeclaration(node); - case 277 /* ExportAssignment */: - return visitExportAssignment(node); - default: - return topLevelNestedVisitor(node); - } - } - function visitImportDeclaration(node) { - let statements; - if (node.importClause) { - hoistVariableDeclaration(getLocalNameForExternalImport(factory2, node, currentSourceFile)); - } - return singleOrMany(appendExportsOfImportDeclaration(statements, node)); - } - function visitExportDeclaration(node) { - Debug.assertIsDefined(node); - return void 0; - } - function visitImportEqualsDeclaration(node) { - Debug.assert(isExternalModuleImportEqualsDeclaration(node), "import= for internal module references should be handled in an earlier transformer."); - let statements; - hoistVariableDeclaration(getLocalNameForExternalImport(factory2, node, currentSourceFile)); - return singleOrMany(appendExportsOfImportEqualsDeclaration(statements, node)); - } - function visitExportAssignment(node) { - if (node.isExportEquals) { - return void 0; - } - const expression = visitNode(node.expression, visitor, isExpression); - return createExportStatement( - factory2.createIdentifier("default"), - expression, - /*allowComments*/ - true - ); - } - function visitFunctionDeclaration(node) { - if (hasSyntacticModifier(node, 32 /* Export */)) { - hoistedStatements = append( - hoistedStatements, - factory2.updateFunctionDeclaration( - node, - visitNodes2(node.modifiers, modifierVisitor, isModifierLike), - node.asteriskToken, - factory2.getDeclarationName( - node, - /*allowComments*/ - true, - /*allowSourceMaps*/ - true - ), - /*typeParameters*/ - void 0, - visitNodes2(node.parameters, visitor, isParameter), - /*type*/ - void 0, - visitNode(node.body, visitor, isBlock) - ) - ); - } else { - hoistedStatements = append(hoistedStatements, visitEachChild(node, visitor, context)); - } - hoistedStatements = appendExportsOfHoistedDeclaration(hoistedStatements, node); - return void 0; - } - function visitClassDeclaration(node) { - let statements; - const name = factory2.getLocalName(node); - hoistVariableDeclaration(name); - statements = append( - statements, - setTextRange( - factory2.createExpressionStatement( - factory2.createAssignment( - name, - setTextRange( - factory2.createClassExpression( - visitNodes2(node.modifiers, modifierVisitor, isModifierLike), - node.name, - /*typeParameters*/ - void 0, - visitNodes2(node.heritageClauses, visitor, isHeritageClause), - visitNodes2(node.members, visitor, isClassElement) - ), - node - ) - ) - ), - node - ) - ); - statements = appendExportsOfHoistedDeclaration(statements, node); - return singleOrMany(statements); - } - function visitVariableStatement(node) { - if (!shouldHoistVariableDeclarationList(node.declarationList)) { - return visitNode(node, visitor, isStatement); - } - let statements; - if (isVarUsing(node.declarationList) || isVarAwaitUsing(node.declarationList)) { - const modifiers = visitNodes2(node.modifiers, modifierVisitor, isModifierLike); - const declarations = []; - for (const variable of node.declarationList.declarations) { - declarations.push(factory2.updateVariableDeclaration( - variable, - factory2.getGeneratedNameForNode(variable.name), - /*exclamationToken*/ - void 0, - /*type*/ - void 0, - transformInitializedVariable( - variable, - /*isExportedDeclaration*/ - false - ) - )); - } - const declarationList = factory2.updateVariableDeclarationList( - node.declarationList, - declarations - ); - statements = append(statements, factory2.updateVariableStatement(node, modifiers, declarationList)); - } else { - let expressions; - const isExportedDeclaration = hasSyntacticModifier(node, 32 /* Export */); - for (const variable of node.declarationList.declarations) { - if (variable.initializer) { - expressions = append(expressions, transformInitializedVariable(variable, isExportedDeclaration)); - } else { - hoistBindingElement(variable); - } - } - if (expressions) { - statements = append(statements, setTextRange(factory2.createExpressionStatement(factory2.inlineExpressions(expressions)), node)); - } - } - statements = appendExportsOfVariableStatement( - statements, - node, - /*exportSelf*/ - false - ); - return singleOrMany(statements); - } - function hoistBindingElement(node) { - if (isBindingPattern(node.name)) { - for (const element of node.name.elements) { - if (!isOmittedExpression(element)) { - hoistBindingElement(element); - } - } - } else { - hoistVariableDeclaration(factory2.cloneNode(node.name)); - } - } - function shouldHoistVariableDeclarationList(node) { - return (getEmitFlags(node) & 4194304 /* NoHoisting */) === 0 && (enclosingBlockScopedContainer.kind === 307 /* SourceFile */ || (getOriginalNode(node).flags & 7 /* BlockScoped */) === 0); - } - function transformInitializedVariable(node, isExportedDeclaration) { - const createAssignment = isExportedDeclaration ? createExportedVariableAssignment : createNonExportedVariableAssignment; - return isBindingPattern(node.name) ? flattenDestructuringAssignment( - node, - visitor, - context, - 0 /* All */, - /*needsValue*/ - false, - createAssignment - ) : node.initializer ? createAssignment(node.name, visitNode(node.initializer, visitor, isExpression)) : node.name; - } - function createExportedVariableAssignment(name, value, location) { - return createVariableAssignment( - name, - value, - location, - /*isExportedDeclaration*/ - true - ); - } - function createNonExportedVariableAssignment(name, value, location) { - return createVariableAssignment( - name, - value, - location, - /*isExportedDeclaration*/ - false - ); - } - function createVariableAssignment(name, value, location, isExportedDeclaration) { - hoistVariableDeclaration(factory2.cloneNode(name)); - return isExportedDeclaration ? createExportExpression(name, preventSubstitution(setTextRange(factory2.createAssignment(name, value), location))) : preventSubstitution(setTextRange(factory2.createAssignment(name, value), location)); - } - function appendExportsOfImportDeclaration(statements, decl) { - if (moduleInfo.exportEquals) { - return statements; - } - const importClause = decl.importClause; - if (!importClause) { - return statements; - } - if (importClause.name) { - statements = appendExportsOfDeclaration(statements, importClause); - } - const namedBindings = importClause.namedBindings; - if (namedBindings) { - switch (namedBindings.kind) { - case 274 /* NamespaceImport */: - statements = appendExportsOfDeclaration(statements, namedBindings); - break; - case 275 /* NamedImports */: - for (const importBinding of namedBindings.elements) { - statements = appendExportsOfDeclaration(statements, importBinding); - } - break; - } - } - return statements; - } - function appendExportsOfImportEqualsDeclaration(statements, decl) { - if (moduleInfo.exportEquals) { - return statements; - } - return appendExportsOfDeclaration(statements, decl); - } - function appendExportsOfVariableStatement(statements, node, exportSelf) { - if (moduleInfo.exportEquals) { - return statements; - } - for (const decl of node.declarationList.declarations) { - if (decl.initializer || exportSelf) { - statements = appendExportsOfBindingElement(statements, decl, exportSelf); - } - } - return statements; - } - function appendExportsOfBindingElement(statements, decl, exportSelf) { - if (moduleInfo.exportEquals) { - return statements; - } - if (isBindingPattern(decl.name)) { - for (const element of decl.name.elements) { - if (!isOmittedExpression(element)) { - statements = appendExportsOfBindingElement(statements, element, exportSelf); - } - } - } else if (!isGeneratedIdentifier(decl.name)) { - let excludeName; - if (exportSelf) { - statements = appendExportStatement(statements, decl.name, factory2.getLocalName(decl)); - excludeName = idText(decl.name); - } - statements = appendExportsOfDeclaration(statements, decl, excludeName); - } - return statements; - } - function appendExportsOfHoistedDeclaration(statements, decl) { - if (moduleInfo.exportEquals) { - return statements; - } - let excludeName; - if (hasSyntacticModifier(decl, 32 /* Export */)) { - const exportName = hasSyntacticModifier(decl, 2048 /* Default */) ? factory2.createStringLiteral("default") : decl.name; - statements = appendExportStatement(statements, exportName, factory2.getLocalName(decl)); - excludeName = getTextOfIdentifierOrLiteral(exportName); - } - if (decl.name) { - statements = appendExportsOfDeclaration(statements, decl, excludeName); - } - return statements; - } - function appendExportsOfDeclaration(statements, decl, excludeName) { - if (moduleInfo.exportEquals) { - return statements; - } - const name = factory2.getDeclarationName(decl); - const exportSpecifiers = moduleInfo.exportSpecifiers.get(name); - if (exportSpecifiers) { - for (const exportSpecifier of exportSpecifiers) { - if (moduleExportNameTextUnescaped(exportSpecifier.name) !== excludeName) { - statements = appendExportStatement(statements, exportSpecifier.name, name); - } - } - } - return statements; - } - function appendExportStatement(statements, exportName, expression, allowComments) { - statements = append(statements, createExportStatement(exportName, expression, allowComments)); - return statements; - } - function createExportStatement(name, value, allowComments) { - const statement = factory2.createExpressionStatement(createExportExpression(name, value)); - startOnNewLine(statement); - if (!allowComments) { - setEmitFlags(statement, 3072 /* NoComments */); - } - return statement; - } - function createExportExpression(name, value) { - const exportName = isIdentifier(name) ? factory2.createStringLiteralFromNode(name) : name; - setEmitFlags(value, getEmitFlags(value) | 3072 /* NoComments */); - return setCommentRange(factory2.createCallExpression( - exportFunction, - /*typeArguments*/ - void 0, - [exportName, value] - ), value); - } - function topLevelNestedVisitor(node) { - switch (node.kind) { - case 243 /* VariableStatement */: - return visitVariableStatement(node); - case 262 /* FunctionDeclaration */: - return visitFunctionDeclaration(node); - case 263 /* ClassDeclaration */: - return visitClassDeclaration(node); - case 248 /* ForStatement */: - return visitForStatement( - node, - /*isTopLevel*/ - true - ); - case 249 /* ForInStatement */: - return visitForInStatement(node); - case 250 /* ForOfStatement */: - return visitForOfStatement(node); - case 246 /* DoStatement */: - return visitDoStatement(node); - case 247 /* WhileStatement */: - return visitWhileStatement(node); - case 256 /* LabeledStatement */: - return visitLabeledStatement(node); - case 254 /* WithStatement */: - return visitWithStatement(node); - case 245 /* IfStatement */: - return visitIfStatement(node); - case 255 /* SwitchStatement */: - return visitSwitchStatement(node); - case 269 /* CaseBlock */: - return visitCaseBlock(node); - case 296 /* CaseClause */: - return visitCaseClause(node); - case 297 /* DefaultClause */: - return visitDefaultClause(node); - case 258 /* TryStatement */: - return visitTryStatement(node); - case 299 /* CatchClause */: - return visitCatchClause(node); - case 241 /* Block */: - return visitBlock(node); - default: - return visitor(node); - } - } - function visitForStatement(node, isTopLevel) { - const savedEnclosingBlockScopedContainer = enclosingBlockScopedContainer; - enclosingBlockScopedContainer = node; - node = factory2.updateForStatement( - node, - visitNode(node.initializer, isTopLevel ? visitForInitializer : discardedValueVisitor, isForInitializer), - visitNode(node.condition, visitor, isExpression), - visitNode(node.incrementor, discardedValueVisitor, isExpression), - visitIterationBody(node.statement, isTopLevel ? topLevelNestedVisitor : visitor, context) - ); - enclosingBlockScopedContainer = savedEnclosingBlockScopedContainer; - return node; - } - function visitForInStatement(node) { - const savedEnclosingBlockScopedContainer = enclosingBlockScopedContainer; - enclosingBlockScopedContainer = node; - node = factory2.updateForInStatement( - node, - visitForInitializer(node.initializer), - visitNode(node.expression, visitor, isExpression), - visitIterationBody(node.statement, topLevelNestedVisitor, context) - ); - enclosingBlockScopedContainer = savedEnclosingBlockScopedContainer; - return node; - } - function visitForOfStatement(node) { - const savedEnclosingBlockScopedContainer = enclosingBlockScopedContainer; - enclosingBlockScopedContainer = node; - node = factory2.updateForOfStatement( - node, - node.awaitModifier, - visitForInitializer(node.initializer), - visitNode(node.expression, visitor, isExpression), - visitIterationBody(node.statement, topLevelNestedVisitor, context) - ); - enclosingBlockScopedContainer = savedEnclosingBlockScopedContainer; - return node; - } - function shouldHoistForInitializer(node) { - return isVariableDeclarationList(node) && shouldHoistVariableDeclarationList(node); - } - function visitForInitializer(node) { - if (shouldHoistForInitializer(node)) { - let expressions; - for (const variable of node.declarations) { - expressions = append(expressions, transformInitializedVariable( - variable, - /*isExportedDeclaration*/ - false - )); - if (!variable.initializer) { - hoistBindingElement(variable); - } - } - return expressions ? factory2.inlineExpressions(expressions) : factory2.createOmittedExpression(); - } else { - return visitNode(node, discardedValueVisitor, isForInitializer); - } - } - function visitDoStatement(node) { - return factory2.updateDoStatement( - node, - visitIterationBody(node.statement, topLevelNestedVisitor, context), - visitNode(node.expression, visitor, isExpression) - ); - } - function visitWhileStatement(node) { - return factory2.updateWhileStatement( - node, - visitNode(node.expression, visitor, isExpression), - visitIterationBody(node.statement, topLevelNestedVisitor, context) - ); - } - function visitLabeledStatement(node) { - return factory2.updateLabeledStatement( - node, - node.label, - visitNode(node.statement, topLevelNestedVisitor, isStatement, factory2.liftToBlock) ?? factory2.createExpressionStatement(factory2.createIdentifier("")) - ); - } - function visitWithStatement(node) { - return factory2.updateWithStatement( - node, - visitNode(node.expression, visitor, isExpression), - Debug.checkDefined(visitNode(node.statement, topLevelNestedVisitor, isStatement, factory2.liftToBlock)) - ); - } - function visitIfStatement(node) { - return factory2.updateIfStatement( - node, - visitNode(node.expression, visitor, isExpression), - visitNode(node.thenStatement, topLevelNestedVisitor, isStatement, factory2.liftToBlock) ?? factory2.createBlock([]), - visitNode(node.elseStatement, topLevelNestedVisitor, isStatement, factory2.liftToBlock) - ); - } - function visitSwitchStatement(node) { - return factory2.updateSwitchStatement( - node, - visitNode(node.expression, visitor, isExpression), - Debug.checkDefined(visitNode(node.caseBlock, topLevelNestedVisitor, isCaseBlock)) - ); - } - function visitCaseBlock(node) { - const savedEnclosingBlockScopedContainer = enclosingBlockScopedContainer; - enclosingBlockScopedContainer = node; - node = factory2.updateCaseBlock( - node, - visitNodes2(node.clauses, topLevelNestedVisitor, isCaseOrDefaultClause) - ); - enclosingBlockScopedContainer = savedEnclosingBlockScopedContainer; - return node; - } - function visitCaseClause(node) { - return factory2.updateCaseClause( - node, - visitNode(node.expression, visitor, isExpression), - visitNodes2(node.statements, topLevelNestedVisitor, isStatement) - ); - } - function visitDefaultClause(node) { - return visitEachChild(node, topLevelNestedVisitor, context); - } - function visitTryStatement(node) { - return visitEachChild(node, topLevelNestedVisitor, context); - } - function visitCatchClause(node) { - const savedEnclosingBlockScopedContainer = enclosingBlockScopedContainer; - enclosingBlockScopedContainer = node; - node = factory2.updateCatchClause( - node, - node.variableDeclaration, - Debug.checkDefined(visitNode(node.block, topLevelNestedVisitor, isBlock)) - ); - enclosingBlockScopedContainer = savedEnclosingBlockScopedContainer; - return node; - } - function visitBlock(node) { - const savedEnclosingBlockScopedContainer = enclosingBlockScopedContainer; - enclosingBlockScopedContainer = node; - node = visitEachChild(node, topLevelNestedVisitor, context); - enclosingBlockScopedContainer = savedEnclosingBlockScopedContainer; - return node; - } - function visitorWorker(node, valueIsDiscarded) { - if (!(node.transformFlags & (4096 /* ContainsDestructuringAssignment */ | 8388608 /* ContainsDynamicImport */ | 268435456 /* ContainsUpdateExpressionForIdentifier */))) { - return node; - } - switch (node.kind) { - case 248 /* ForStatement */: - return visitForStatement( - node, - /*isTopLevel*/ - false - ); - case 244 /* ExpressionStatement */: - return visitExpressionStatement(node); - case 217 /* ParenthesizedExpression */: - return visitParenthesizedExpression(node, valueIsDiscarded); - case 354 /* PartiallyEmittedExpression */: - return visitPartiallyEmittedExpression(node, valueIsDiscarded); - case 226 /* BinaryExpression */: - if (isDestructuringAssignment(node)) { - return visitDestructuringAssignment(node, valueIsDiscarded); - } - break; - case 213 /* CallExpression */: - if (isImportCall(node)) { - return visitImportCallExpression(node); - } - break; - case 224 /* PrefixUnaryExpression */: - case 225 /* PostfixUnaryExpression */: - return visitPrefixOrPostfixUnaryExpression(node, valueIsDiscarded); - } - return visitEachChild(node, visitor, context); - } - function visitor(node) { - return visitorWorker( - node, - /*valueIsDiscarded*/ - false - ); - } - function discardedValueVisitor(node) { - return visitorWorker( - node, - /*valueIsDiscarded*/ - true - ); - } - function visitExpressionStatement(node) { - return factory2.updateExpressionStatement(node, visitNode(node.expression, discardedValueVisitor, isExpression)); - } - function visitParenthesizedExpression(node, valueIsDiscarded) { - return factory2.updateParenthesizedExpression(node, visitNode(node.expression, valueIsDiscarded ? discardedValueVisitor : visitor, isExpression)); - } - function visitPartiallyEmittedExpression(node, valueIsDiscarded) { - return factory2.updatePartiallyEmittedExpression(node, visitNode(node.expression, valueIsDiscarded ? discardedValueVisitor : visitor, isExpression)); - } - function visitImportCallExpression(node) { - const externalModuleName = getExternalModuleNameLiteral(factory2, node, currentSourceFile, host, resolver, compilerOptions); - const firstArgument = visitNode(firstOrUndefined(node.arguments), visitor, isExpression); - const argument = externalModuleName && (!firstArgument || !isStringLiteral(firstArgument) || firstArgument.text !== externalModuleName.text) ? externalModuleName : firstArgument; - return factory2.createCallExpression( - factory2.createPropertyAccessExpression( - contextObject, - factory2.createIdentifier("import") - ), - /*typeArguments*/ - void 0, - argument ? [argument] : [] - ); - } - function visitDestructuringAssignment(node, valueIsDiscarded) { - if (hasExportedReferenceInDestructuringTarget(node.left)) { - return flattenDestructuringAssignment( - node, - visitor, - context, - 0 /* All */, - !valueIsDiscarded - ); - } - return visitEachChild(node, visitor, context); - } - function hasExportedReferenceInDestructuringTarget(node) { - if (isAssignmentExpression( - node, - /*excludeCompoundAssignment*/ - true - )) { - return hasExportedReferenceInDestructuringTarget(node.left); - } else if (isSpreadElement(node)) { - return hasExportedReferenceInDestructuringTarget(node.expression); - } else if (isObjectLiteralExpression(node)) { - return some(node.properties, hasExportedReferenceInDestructuringTarget); - } else if (isArrayLiteralExpression(node)) { - return some(node.elements, hasExportedReferenceInDestructuringTarget); - } else if (isShorthandPropertyAssignment(node)) { - return hasExportedReferenceInDestructuringTarget(node.name); - } else if (isPropertyAssignment(node)) { - return hasExportedReferenceInDestructuringTarget(node.initializer); - } else if (isIdentifier(node)) { - const container = resolver.getReferencedExportContainer(node); - return container !== void 0 && container.kind === 307 /* SourceFile */; - } else { - return false; - } - } - function visitPrefixOrPostfixUnaryExpression(node, valueIsDiscarded) { - if ((node.operator === 46 /* PlusPlusToken */ || node.operator === 47 /* MinusMinusToken */) && isIdentifier(node.operand) && !isGeneratedIdentifier(node.operand) && !isLocalName(node.operand) && !isDeclarationNameOfEnumOrNamespace(node.operand)) { - const exportedNames = getExports(node.operand); - if (exportedNames) { - let temp; - let expression = visitNode(node.operand, visitor, isExpression); - if (isPrefixUnaryExpression(node)) { - expression = factory2.updatePrefixUnaryExpression(node, expression); - } else { - expression = factory2.updatePostfixUnaryExpression(node, expression); - if (!valueIsDiscarded) { - temp = factory2.createTempVariable(hoistVariableDeclaration); - expression = factory2.createAssignment(temp, expression); - setTextRange(expression, node); - } - expression = factory2.createComma(expression, factory2.cloneNode(node.operand)); - setTextRange(expression, node); - } - for (const exportName of exportedNames) { - expression = createExportExpression(exportName, preventSubstitution(expression)); - } - if (temp) { - expression = factory2.createComma(expression, temp); - setTextRange(expression, node); - } - return expression; - } - } - return visitEachChild(node, visitor, context); - } - function modifierVisitor(node) { - switch (node.kind) { - case 95 /* ExportKeyword */: - case 90 /* DefaultKeyword */: - return void 0; - } - return node; - } - function onEmitNode(hint, node, emitCallback) { - if (node.kind === 307 /* SourceFile */) { - const id = getOriginalNodeId(node); - currentSourceFile = node; - moduleInfo = moduleInfoMap[id]; - exportFunction = exportFunctionsMap[id]; - noSubstitution = noSubstitutionMap[id]; - contextObject = contextObjectMap[id]; - if (noSubstitution) { - delete noSubstitutionMap[id]; - } - previousOnEmitNode(hint, node, emitCallback); - currentSourceFile = void 0; - moduleInfo = void 0; - exportFunction = void 0; - contextObject = void 0; - noSubstitution = void 0; - } else { - previousOnEmitNode(hint, node, emitCallback); - } - } - function onSubstituteNode(hint, node) { - node = previousOnSubstituteNode(hint, node); - if (isSubstitutionPrevented(node)) { - return node; - } - if (hint === 1 /* Expression */) { - return substituteExpression(node); - } else if (hint === 4 /* Unspecified */) { - return substituteUnspecified(node); - } - return node; - } - function substituteUnspecified(node) { - switch (node.kind) { - case 304 /* ShorthandPropertyAssignment */: - return substituteShorthandPropertyAssignment(node); - } - return node; - } - function substituteShorthandPropertyAssignment(node) { - var _a, _b; - const name = node.name; - if (!isGeneratedIdentifier(name) && !isLocalName(name)) { - const importDeclaration = resolver.getReferencedImportDeclaration(name); - if (importDeclaration) { - if (isImportClause(importDeclaration)) { - return setTextRange( - factory2.createPropertyAssignment( - factory2.cloneNode(name), - factory2.createPropertyAccessExpression( - factory2.getGeneratedNameForNode(importDeclaration.parent), - factory2.createIdentifier("default") - ) - ), - /*location*/ - node - ); - } else if (isImportSpecifier(importDeclaration)) { - const importedName = importDeclaration.propertyName || importDeclaration.name; - const target = factory2.getGeneratedNameForNode(((_b = (_a = importDeclaration.parent) == null ? void 0 : _a.parent) == null ? void 0 : _b.parent) || importDeclaration); - return setTextRange( - factory2.createPropertyAssignment( - factory2.cloneNode(name), - importedName.kind === 11 /* StringLiteral */ ? factory2.createElementAccessExpression(target, factory2.cloneNode(importedName)) : factory2.createPropertyAccessExpression(target, factory2.cloneNode(importedName)) - ), - /*location*/ - node - ); - } - } - } - return node; - } - function substituteExpression(node) { - switch (node.kind) { - case 80 /* Identifier */: - return substituteExpressionIdentifier(node); - case 226 /* BinaryExpression */: - return substituteBinaryExpression(node); - case 236 /* MetaProperty */: - return substituteMetaProperty(node); - } - return node; - } - function substituteExpressionIdentifier(node) { - var _a, _b; - if (getEmitFlags(node) & 8192 /* HelperName */) { - const externalHelpersModuleName = getExternalHelpersModuleName(currentSourceFile); - if (externalHelpersModuleName) { - return factory2.createPropertyAccessExpression(externalHelpersModuleName, node); - } - return node; - } - if (!isGeneratedIdentifier(node) && !isLocalName(node)) { - const importDeclaration = resolver.getReferencedImportDeclaration(node); - if (importDeclaration) { - if (isImportClause(importDeclaration)) { - return setTextRange( - factory2.createPropertyAccessExpression( - factory2.getGeneratedNameForNode(importDeclaration.parent), - factory2.createIdentifier("default") - ), - /*location*/ - node - ); - } else if (isImportSpecifier(importDeclaration)) { - const importedName = importDeclaration.propertyName || importDeclaration.name; - const target = factory2.getGeneratedNameForNode(((_b = (_a = importDeclaration.parent) == null ? void 0 : _a.parent) == null ? void 0 : _b.parent) || importDeclaration); - return setTextRange( - importedName.kind === 11 /* StringLiteral */ ? factory2.createElementAccessExpression(target, factory2.cloneNode(importedName)) : factory2.createPropertyAccessExpression(target, factory2.cloneNode(importedName)), - /*location*/ - node - ); - } - } - } - return node; - } - function substituteBinaryExpression(node) { - if (isAssignmentOperator(node.operatorToken.kind) && isIdentifier(node.left) && (!isGeneratedIdentifier(node.left) || isFileLevelReservedGeneratedIdentifier(node.left)) && !isLocalName(node.left)) { - const exportedNames = getExports(node.left); - if (exportedNames) { - let expression = node; - for (const exportName of exportedNames) { - expression = createExportExpression(exportName, preventSubstitution(expression)); - } - return expression; - } - } - return node; - } - function substituteMetaProperty(node) { - if (isImportMeta(node)) { - return factory2.createPropertyAccessExpression(contextObject, factory2.createIdentifier("meta")); - } - return node; - } - function getExports(name) { - let exportedNames; - const valueDeclaration = getReferencedDeclaration(name); - if (valueDeclaration) { - const exportContainer = resolver.getReferencedExportContainer( - name, - /*prefixLocals*/ - false - ); - if (exportContainer && exportContainer.kind === 307 /* SourceFile */) { - exportedNames = append(exportedNames, factory2.getDeclarationName(valueDeclaration)); - } - exportedNames = addRange(exportedNames, moduleInfo == null ? void 0 : moduleInfo.exportedBindings[getOriginalNodeId(valueDeclaration)]); - } else if (isGeneratedIdentifier(name) && isFileLevelReservedGeneratedIdentifier(name)) { - const exportSpecifiers = moduleInfo == null ? void 0 : moduleInfo.exportSpecifiers.get(name); - if (exportSpecifiers) { - const exportedNames2 = []; - for (const exportSpecifier of exportSpecifiers) { - exportedNames2.push(exportSpecifier.name); - } - return exportedNames2; - } - } - return exportedNames; - } - function getReferencedDeclaration(name) { - if (!isGeneratedIdentifier(name)) { - const importDeclaration = resolver.getReferencedImportDeclaration(name); - if (importDeclaration) return importDeclaration; - const valueDeclaration = resolver.getReferencedValueDeclaration(name); - if (valueDeclaration && (moduleInfo == null ? void 0 : moduleInfo.exportedBindings[getOriginalNodeId(valueDeclaration)])) return valueDeclaration; - const declarations = resolver.getReferencedValueDeclarations(name); - if (declarations) { - for (const declaration of declarations) { - if (declaration !== valueDeclaration && (moduleInfo == null ? void 0 : moduleInfo.exportedBindings[getOriginalNodeId(declaration)])) return declaration; - } - } - return valueDeclaration; - } - } - function preventSubstitution(node) { - if (noSubstitution === void 0) noSubstitution = []; - noSubstitution[getNodeId(node)] = true; - return node; - } - function isSubstitutionPrevented(node) { - return noSubstitution && node.id && noSubstitution[node.id]; - } -} - -// src/compiler/transformers/module/esnextAnd2015.ts -function transformECMAScriptModule(context) { - const { - factory: factory2, - getEmitHelperFactory: emitHelpers - } = context; - const host = context.getEmitHost(); - const resolver = context.getEmitResolver(); - const compilerOptions = context.getCompilerOptions(); - const languageVersion = getEmitScriptTarget(compilerOptions); - const previousOnEmitNode = context.onEmitNode; - const previousOnSubstituteNode = context.onSubstituteNode; - context.onEmitNode = onEmitNode; - context.onSubstituteNode = onSubstituteNode; - context.enableEmitNotification(307 /* SourceFile */); - context.enableSubstitution(80 /* Identifier */); - let helperNameSubstitutions; - let currentSourceFile; - let importRequireStatements; - return chainBundle(context, transformSourceFile); - function transformSourceFile(node) { - if (node.isDeclarationFile) { - return node; - } - if (isExternalModule(node) || getIsolatedModules(compilerOptions)) { - currentSourceFile = node; - importRequireStatements = void 0; - let result = updateExternalModule(node); - currentSourceFile = void 0; - if (importRequireStatements) { - result = factory2.updateSourceFile( - result, - setTextRange(factory2.createNodeArray(insertStatementsAfterCustomPrologue(result.statements.slice(), importRequireStatements)), result.statements) - ); - } - if (!isExternalModule(node) || getEmitModuleKind(compilerOptions) === 200 /* Preserve */ || some(result.statements, isExternalModuleIndicator)) { - return result; - } - return factory2.updateSourceFile( - result, - setTextRange(factory2.createNodeArray([...result.statements, createEmptyExports(factory2)]), result.statements) - ); - } - return node; - } - function updateExternalModule(node) { - const externalHelpersImportDeclaration = createExternalHelpersImportDeclarationIfNeeded(factory2, emitHelpers(), node, compilerOptions); - if (externalHelpersImportDeclaration) { - const statements = []; - const statementOffset = factory2.copyPrologue(node.statements, statements); - append(statements, externalHelpersImportDeclaration); - addRange(statements, visitNodes2(node.statements, visitor, isStatement, statementOffset)); - return factory2.updateSourceFile( - node, - setTextRange(factory2.createNodeArray(statements), node.statements) - ); - } else { - return visitEachChild(node, visitor, context); - } - } - function visitor(node) { - switch (node.kind) { - case 271 /* ImportEqualsDeclaration */: - return getEmitModuleKind(compilerOptions) >= 100 /* Node16 */ ? visitImportEqualsDeclaration(node) : void 0; - case 277 /* ExportAssignment */: - return visitExportAssignment(node); - case 278 /* ExportDeclaration */: - const exportDecl = node; - return visitExportDeclaration(exportDecl); - } - return node; - } - function createRequireCall(importNode) { - const moduleName = getExternalModuleNameLiteral(factory2, importNode, Debug.checkDefined(currentSourceFile), host, resolver, compilerOptions); - const args = []; - if (moduleName) { - args.push(moduleName); - } - if (getEmitModuleKind(compilerOptions) === 200 /* Preserve */) { - return factory2.createCallExpression( - factory2.createIdentifier("require"), - /*typeArguments*/ - void 0, - args - ); - } - if (!importRequireStatements) { - const createRequireName = factory2.createUniqueName("_createRequire", 16 /* Optimistic */ | 32 /* FileLevel */); - const importStatement = factory2.createImportDeclaration( - /*modifiers*/ - void 0, - factory2.createImportClause( - /*isTypeOnly*/ - false, - /*name*/ - void 0, - factory2.createNamedImports([ - factory2.createImportSpecifier( - /*isTypeOnly*/ - false, - factory2.createIdentifier("createRequire"), - createRequireName - ) - ]) - ), - factory2.createStringLiteral("module"), - /*attributes*/ - void 0 - ); - const requireHelperName = factory2.createUniqueName("__require", 16 /* Optimistic */ | 32 /* FileLevel */); - const requireStatement = factory2.createVariableStatement( - /*modifiers*/ - void 0, - factory2.createVariableDeclarationList( - [ - factory2.createVariableDeclaration( - requireHelperName, - /*exclamationToken*/ - void 0, - /*type*/ - void 0, - factory2.createCallExpression( - factory2.cloneNode(createRequireName), - /*typeArguments*/ - void 0, - [ - factory2.createPropertyAccessExpression(factory2.createMetaProperty(102 /* ImportKeyword */, factory2.createIdentifier("meta")), factory2.createIdentifier("url")) - ] - ) - ) - ], - /*flags*/ - languageVersion >= 2 /* ES2015 */ ? 2 /* Const */ : 0 /* None */ - ) - ); - importRequireStatements = [importStatement, requireStatement]; - } - const name = importRequireStatements[1].declarationList.declarations[0].name; - Debug.assertNode(name, isIdentifier); - return factory2.createCallExpression( - factory2.cloneNode(name), - /*typeArguments*/ - void 0, - args - ); - } - function visitImportEqualsDeclaration(node) { - Debug.assert(isExternalModuleImportEqualsDeclaration(node), "import= for internal module references should be handled in an earlier transformer."); - let statements; - statements = append( - statements, - setOriginalNode( - setTextRange( - factory2.createVariableStatement( - /*modifiers*/ - void 0, - factory2.createVariableDeclarationList( - [ - factory2.createVariableDeclaration( - factory2.cloneNode(node.name), - /*exclamationToken*/ - void 0, - /*type*/ - void 0, - createRequireCall(node) - ) - ], - /*flags*/ - languageVersion >= 2 /* ES2015 */ ? 2 /* Const */ : 0 /* None */ - ) - ), - node - ), - node - ) - ); - statements = appendExportsOfImportEqualsDeclaration(statements, node); - return singleOrMany(statements); - } - function appendExportsOfImportEqualsDeclaration(statements, node) { - if (hasSyntacticModifier(node, 32 /* Export */)) { - statements = append( - statements, - factory2.createExportDeclaration( - /*modifiers*/ - void 0, - node.isTypeOnly, - factory2.createNamedExports([factory2.createExportSpecifier( - /*isTypeOnly*/ - false, - /*propertyName*/ - void 0, - idText(node.name) - )]) - ) - ); - } - return statements; - } - function visitExportAssignment(node) { - if (node.isExportEquals) { - if (getEmitModuleKind(compilerOptions) === 200 /* Preserve */) { - const statement = setOriginalNode( - factory2.createExpressionStatement( - factory2.createAssignment( - factory2.createPropertyAccessExpression( - factory2.createIdentifier("module"), - "exports" - ), - node.expression - ) - ), - node - ); - return statement; - } - return void 0; - } - return node; - } - function visitExportDeclaration(node) { - if (compilerOptions.module !== void 0 && compilerOptions.module > 5 /* ES2015 */) { - return node; - } - if (!node.exportClause || !isNamespaceExport(node.exportClause) || !node.moduleSpecifier) { - return node; - } - const oldIdentifier = node.exportClause.name; - const synthName = factory2.getGeneratedNameForNode(oldIdentifier); - const importDecl = factory2.createImportDeclaration( - /*modifiers*/ - void 0, - factory2.createImportClause( - /*isTypeOnly*/ - false, - /*name*/ - void 0, - factory2.createNamespaceImport( - synthName - ) - ), - node.moduleSpecifier, - node.attributes - ); - setOriginalNode(importDecl, node.exportClause); - const exportDecl = isExportNamespaceAsDefaultDeclaration(node) ? factory2.createExportDefault(synthName) : factory2.createExportDeclaration( - /*modifiers*/ - void 0, - /*isTypeOnly*/ - false, - factory2.createNamedExports([factory2.createExportSpecifier( - /*isTypeOnly*/ - false, - synthName, - oldIdentifier - )]) - ); - setOriginalNode(exportDecl, node); - return [importDecl, exportDecl]; - } - function onEmitNode(hint, node, emitCallback) { - if (isSourceFile(node)) { - if ((isExternalModule(node) || getIsolatedModules(compilerOptions)) && compilerOptions.importHelpers) { - helperNameSubstitutions = /* @__PURE__ */ new Map(); - } - previousOnEmitNode(hint, node, emitCallback); - helperNameSubstitutions = void 0; - } else { - previousOnEmitNode(hint, node, emitCallback); - } - } - function onSubstituteNode(hint, node) { - node = previousOnSubstituteNode(hint, node); - if (helperNameSubstitutions && isIdentifier(node) && getEmitFlags(node) & 8192 /* HelperName */) { - return substituteHelperName(node); - } - return node; - } - function substituteHelperName(node) { - const name = idText(node); - let substitution = helperNameSubstitutions.get(name); - if (!substitution) { - helperNameSubstitutions.set(name, substitution = factory2.createUniqueName(name, 16 /* Optimistic */ | 32 /* FileLevel */)); - } - return substitution; - } -} - -// src/compiler/transformers/module/impliedNodeFormatDependent.ts -function transformImpliedNodeFormatDependentModule(context) { - const previousOnSubstituteNode = context.onSubstituteNode; - const previousOnEmitNode = context.onEmitNode; - const esmTransform = transformECMAScriptModule(context); - const esmOnSubstituteNode = context.onSubstituteNode; - const esmOnEmitNode = context.onEmitNode; - context.onSubstituteNode = previousOnSubstituteNode; - context.onEmitNode = previousOnEmitNode; - const cjsTransform = transformModule(context); - const cjsOnSubstituteNode = context.onSubstituteNode; - const cjsOnEmitNode = context.onEmitNode; - const getEmitModuleFormatOfFile = (file) => context.getEmitHost().getEmitModuleFormatOfFile(file); - context.onSubstituteNode = onSubstituteNode; - context.onEmitNode = onEmitNode; - context.enableSubstitution(307 /* SourceFile */); - context.enableEmitNotification(307 /* SourceFile */); - let currentSourceFile; - return transformSourceFileOrBundle; - function onSubstituteNode(hint, node) { - if (isSourceFile(node)) { - currentSourceFile = node; - return previousOnSubstituteNode(hint, node); - } else { - if (!currentSourceFile) { - return previousOnSubstituteNode(hint, node); - } - if (getEmitModuleFormatOfFile(currentSourceFile) >= 5 /* ES2015 */) { - return esmOnSubstituteNode(hint, node); - } - return cjsOnSubstituteNode(hint, node); - } - } - function onEmitNode(hint, node, emitCallback) { - if (isSourceFile(node)) { - currentSourceFile = node; - } - if (!currentSourceFile) { - return previousOnEmitNode(hint, node, emitCallback); - } - if (getEmitModuleFormatOfFile(currentSourceFile) >= 5 /* ES2015 */) { - return esmOnEmitNode(hint, node, emitCallback); - } - return cjsOnEmitNode(hint, node, emitCallback); - } - function getModuleTransformForFile(file) { - return getEmitModuleFormatOfFile(file) >= 5 /* ES2015 */ ? esmTransform : cjsTransform; - } - function transformSourceFile(node) { - if (node.isDeclarationFile) { - return node; - } - currentSourceFile = node; - const result = getModuleTransformForFile(node)(node); - currentSourceFile = void 0; - Debug.assert(isSourceFile(result)); - return result; - } - function transformSourceFileOrBundle(node) { - return node.kind === 307 /* SourceFile */ ? transformSourceFile(node) : transformBundle(node); - } - function transformBundle(node) { - return context.factory.createBundle(map(node.sourceFiles, transformSourceFile)); - } -} - -// src/compiler/transformers/declarations/diagnostics.ts -function canProduceDiagnostics(node) { - return isVariableDeclaration(node) || isPropertyDeclaration(node) || isPropertySignature(node) || isBindingElement(node) || isSetAccessor(node) || isGetAccessor(node) || isConstructSignatureDeclaration(node) || isCallSignatureDeclaration(node) || isMethodDeclaration(node) || isMethodSignature(node) || isFunctionDeclaration(node) || isParameter(node) || isTypeParameterDeclaration(node) || isExpressionWithTypeArguments(node) || isImportEqualsDeclaration(node) || isTypeAliasDeclaration(node) || isConstructorDeclaration(node) || isIndexSignatureDeclaration(node) || isPropertyAccessExpression(node) || isElementAccessExpression(node) || isBinaryExpression(node) || isJSDocTypeAlias(node); -} -function createGetSymbolAccessibilityDiagnosticForNodeName(node) { - if (isSetAccessor(node) || isGetAccessor(node)) { - return getAccessorNameVisibilityError; - } else if (isMethodSignature(node) || isMethodDeclaration(node)) { - return getMethodNameVisibilityError; - } else { - return createGetSymbolAccessibilityDiagnosticForNode(node); - } - function getAccessorNameVisibilityError(symbolAccessibilityResult) { - const diagnosticMessage = getAccessorNameVisibilityDiagnosticMessage(symbolAccessibilityResult); - return diagnosticMessage !== void 0 ? { - diagnosticMessage, - errorNode: node, - typeName: node.name - } : void 0; - } - function getAccessorNameVisibilityDiagnosticMessage(symbolAccessibilityResult) { - if (isStatic(node)) { - return symbolAccessibilityResult.errorModuleName ? symbolAccessibilityResult.accessibility === 2 /* CannotBeNamed */ ? Diagnostics.Public_static_property_0_of_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named : Diagnostics.Public_static_property_0_of_exported_class_has_or_is_using_name_1_from_private_module_2 : Diagnostics.Public_static_property_0_of_exported_class_has_or_is_using_private_name_1; - } else if (node.parent.kind === 263 /* ClassDeclaration */) { - return symbolAccessibilityResult.errorModuleName ? symbolAccessibilityResult.accessibility === 2 /* CannotBeNamed */ ? Diagnostics.Public_property_0_of_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named : Diagnostics.Public_property_0_of_exported_class_has_or_is_using_name_1_from_private_module_2 : Diagnostics.Public_property_0_of_exported_class_has_or_is_using_private_name_1; - } else { - return symbolAccessibilityResult.errorModuleName ? Diagnostics.Property_0_of_exported_interface_has_or_is_using_name_1_from_private_module_2 : Diagnostics.Property_0_of_exported_interface_has_or_is_using_private_name_1; - } - } - function getMethodNameVisibilityError(symbolAccessibilityResult) { - const diagnosticMessage = getMethodNameVisibilityDiagnosticMessage(symbolAccessibilityResult); - return diagnosticMessage !== void 0 ? { - diagnosticMessage, - errorNode: node, - typeName: node.name - } : void 0; - } - function getMethodNameVisibilityDiagnosticMessage(symbolAccessibilityResult) { - if (isStatic(node)) { - return symbolAccessibilityResult.errorModuleName ? symbolAccessibilityResult.accessibility === 2 /* CannotBeNamed */ ? Diagnostics.Public_static_method_0_of_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named : Diagnostics.Public_static_method_0_of_exported_class_has_or_is_using_name_1_from_private_module_2 : Diagnostics.Public_static_method_0_of_exported_class_has_or_is_using_private_name_1; - } else if (node.parent.kind === 263 /* ClassDeclaration */) { - return symbolAccessibilityResult.errorModuleName ? symbolAccessibilityResult.accessibility === 2 /* CannotBeNamed */ ? Diagnostics.Public_method_0_of_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named : Diagnostics.Public_method_0_of_exported_class_has_or_is_using_name_1_from_private_module_2 : Diagnostics.Public_method_0_of_exported_class_has_or_is_using_private_name_1; - } else { - return symbolAccessibilityResult.errorModuleName ? Diagnostics.Method_0_of_exported_interface_has_or_is_using_name_1_from_private_module_2 : Diagnostics.Method_0_of_exported_interface_has_or_is_using_private_name_1; - } - } -} -function createGetSymbolAccessibilityDiagnosticForNode(node) { - if (isVariableDeclaration(node) || isPropertyDeclaration(node) || isPropertySignature(node) || isPropertyAccessExpression(node) || isElementAccessExpression(node) || isBinaryExpression(node) || isBindingElement(node) || isConstructorDeclaration(node)) { - return getVariableDeclarationTypeVisibilityError; - } else if (isSetAccessor(node) || isGetAccessor(node)) { - return getAccessorDeclarationTypeVisibilityError; - } else if (isConstructSignatureDeclaration(node) || isCallSignatureDeclaration(node) || isMethodDeclaration(node) || isMethodSignature(node) || isFunctionDeclaration(node) || isIndexSignatureDeclaration(node)) { - return getReturnTypeVisibilityError; - } else if (isParameter(node)) { - if (isParameterPropertyDeclaration(node, node.parent) && hasSyntacticModifier(node.parent, 2 /* Private */)) { - return getVariableDeclarationTypeVisibilityError; - } - return getParameterDeclarationTypeVisibilityError; - } else if (isTypeParameterDeclaration(node)) { - return getTypeParameterConstraintVisibilityError; - } else if (isExpressionWithTypeArguments(node)) { - return getHeritageClauseVisibilityError; - } else if (isImportEqualsDeclaration(node)) { - return getImportEntityNameVisibilityError; - } else if (isTypeAliasDeclaration(node) || isJSDocTypeAlias(node)) { - return getTypeAliasDeclarationVisibilityError; - } else { - return Debug.assertNever(node, `Attempted to set a declaration diagnostic context for unhandled node kind: ${Debug.formatSyntaxKind(node.kind)}`); - } - function getVariableDeclarationTypeVisibilityDiagnosticMessage(symbolAccessibilityResult) { - if (node.kind === 260 /* VariableDeclaration */ || node.kind === 208 /* BindingElement */) { - return symbolAccessibilityResult.errorModuleName ? symbolAccessibilityResult.accessibility === 2 /* CannotBeNamed */ ? Diagnostics.Exported_variable_0_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named : Diagnostics.Exported_variable_0_has_or_is_using_name_1_from_private_module_2 : Diagnostics.Exported_variable_0_has_or_is_using_private_name_1; - } else if (node.kind === 172 /* PropertyDeclaration */ || node.kind === 211 /* PropertyAccessExpression */ || node.kind === 212 /* ElementAccessExpression */ || node.kind === 226 /* BinaryExpression */ || node.kind === 171 /* PropertySignature */ || node.kind === 169 /* Parameter */ && hasSyntacticModifier(node.parent, 2 /* Private */)) { - if (isStatic(node)) { - return symbolAccessibilityResult.errorModuleName ? symbolAccessibilityResult.accessibility === 2 /* CannotBeNamed */ ? Diagnostics.Public_static_property_0_of_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named : Diagnostics.Public_static_property_0_of_exported_class_has_or_is_using_name_1_from_private_module_2 : Diagnostics.Public_static_property_0_of_exported_class_has_or_is_using_private_name_1; - } else if (node.parent.kind === 263 /* ClassDeclaration */ || node.kind === 169 /* Parameter */) { - return symbolAccessibilityResult.errorModuleName ? symbolAccessibilityResult.accessibility === 2 /* CannotBeNamed */ ? Diagnostics.Public_property_0_of_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named : Diagnostics.Public_property_0_of_exported_class_has_or_is_using_name_1_from_private_module_2 : Diagnostics.Public_property_0_of_exported_class_has_or_is_using_private_name_1; - } else { - return symbolAccessibilityResult.errorModuleName ? Diagnostics.Property_0_of_exported_interface_has_or_is_using_name_1_from_private_module_2 : Diagnostics.Property_0_of_exported_interface_has_or_is_using_private_name_1; - } - } - } - function getVariableDeclarationTypeVisibilityError(symbolAccessibilityResult) { - const diagnosticMessage = getVariableDeclarationTypeVisibilityDiagnosticMessage(symbolAccessibilityResult); - return diagnosticMessage !== void 0 ? { - diagnosticMessage, - errorNode: node, - typeName: node.name - } : void 0; - } - function getAccessorDeclarationTypeVisibilityError(symbolAccessibilityResult) { - let diagnosticMessage; - if (node.kind === 178 /* SetAccessor */) { - if (isStatic(node)) { - diagnosticMessage = symbolAccessibilityResult.errorModuleName ? Diagnostics.Parameter_type_of_public_static_setter_0_from_exported_class_has_or_is_using_name_1_from_private_module_2 : Diagnostics.Parameter_type_of_public_static_setter_0_from_exported_class_has_or_is_using_private_name_1; - } else { - diagnosticMessage = symbolAccessibilityResult.errorModuleName ? Diagnostics.Parameter_type_of_public_setter_0_from_exported_class_has_or_is_using_name_1_from_private_module_2 : Diagnostics.Parameter_type_of_public_setter_0_from_exported_class_has_or_is_using_private_name_1; - } - } else { - if (isStatic(node)) { - diagnosticMessage = symbolAccessibilityResult.errorModuleName ? symbolAccessibilityResult.accessibility === 2 /* CannotBeNamed */ ? Diagnostics.Return_type_of_public_static_getter_0_from_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named : Diagnostics.Return_type_of_public_static_getter_0_from_exported_class_has_or_is_using_name_1_from_private_module_2 : Diagnostics.Return_type_of_public_static_getter_0_from_exported_class_has_or_is_using_private_name_1; - } else { - diagnosticMessage = symbolAccessibilityResult.errorModuleName ? symbolAccessibilityResult.accessibility === 2 /* CannotBeNamed */ ? Diagnostics.Return_type_of_public_getter_0_from_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named : Diagnostics.Return_type_of_public_getter_0_from_exported_class_has_or_is_using_name_1_from_private_module_2 : Diagnostics.Return_type_of_public_getter_0_from_exported_class_has_or_is_using_private_name_1; - } - } - return { - diagnosticMessage, - errorNode: node.name, - typeName: node.name - }; - } - function getReturnTypeVisibilityError(symbolAccessibilityResult) { - let diagnosticMessage; - switch (node.kind) { - case 180 /* ConstructSignature */: - diagnosticMessage = symbolAccessibilityResult.errorModuleName ? Diagnostics.Return_type_of_constructor_signature_from_exported_interface_has_or_is_using_name_0_from_private_module_1 : Diagnostics.Return_type_of_constructor_signature_from_exported_interface_has_or_is_using_private_name_0; - break; - case 179 /* CallSignature */: - diagnosticMessage = symbolAccessibilityResult.errorModuleName ? Diagnostics.Return_type_of_call_signature_from_exported_interface_has_or_is_using_name_0_from_private_module_1 : Diagnostics.Return_type_of_call_signature_from_exported_interface_has_or_is_using_private_name_0; - break; - case 181 /* IndexSignature */: - diagnosticMessage = symbolAccessibilityResult.errorModuleName ? Diagnostics.Return_type_of_index_signature_from_exported_interface_has_or_is_using_name_0_from_private_module_1 : Diagnostics.Return_type_of_index_signature_from_exported_interface_has_or_is_using_private_name_0; - break; - case 174 /* MethodDeclaration */: - case 173 /* MethodSignature */: - if (isStatic(node)) { - diagnosticMessage = symbolAccessibilityResult.errorModuleName ? symbolAccessibilityResult.accessibility === 2 /* CannotBeNamed */ ? Diagnostics.Return_type_of_public_static_method_from_exported_class_has_or_is_using_name_0_from_external_module_1_but_cannot_be_named : Diagnostics.Return_type_of_public_static_method_from_exported_class_has_or_is_using_name_0_from_private_module_1 : Diagnostics.Return_type_of_public_static_method_from_exported_class_has_or_is_using_private_name_0; - } else if (node.parent.kind === 263 /* ClassDeclaration */) { - diagnosticMessage = symbolAccessibilityResult.errorModuleName ? symbolAccessibilityResult.accessibility === 2 /* CannotBeNamed */ ? Diagnostics.Return_type_of_public_method_from_exported_class_has_or_is_using_name_0_from_external_module_1_but_cannot_be_named : Diagnostics.Return_type_of_public_method_from_exported_class_has_or_is_using_name_0_from_private_module_1 : Diagnostics.Return_type_of_public_method_from_exported_class_has_or_is_using_private_name_0; - } else { - diagnosticMessage = symbolAccessibilityResult.errorModuleName ? Diagnostics.Return_type_of_method_from_exported_interface_has_or_is_using_name_0_from_private_module_1 : Diagnostics.Return_type_of_method_from_exported_interface_has_or_is_using_private_name_0; - } - break; - case 262 /* FunctionDeclaration */: - diagnosticMessage = symbolAccessibilityResult.errorModuleName ? symbolAccessibilityResult.accessibility === 2 /* CannotBeNamed */ ? Diagnostics.Return_type_of_exported_function_has_or_is_using_name_0_from_external_module_1_but_cannot_be_named : Diagnostics.Return_type_of_exported_function_has_or_is_using_name_0_from_private_module_1 : Diagnostics.Return_type_of_exported_function_has_or_is_using_private_name_0; - break; - default: - return Debug.fail("This is unknown kind for signature: " + node.kind); - } - return { - diagnosticMessage, - errorNode: node.name || node - }; - } - function getParameterDeclarationTypeVisibilityError(symbolAccessibilityResult) { - const diagnosticMessage = getParameterDeclarationTypeVisibilityDiagnosticMessage(symbolAccessibilityResult); - return diagnosticMessage !== void 0 ? { - diagnosticMessage, - errorNode: node, - typeName: node.name - } : void 0; - } - function getParameterDeclarationTypeVisibilityDiagnosticMessage(symbolAccessibilityResult) { - switch (node.parent.kind) { - case 176 /* Constructor */: - return symbolAccessibilityResult.errorModuleName ? symbolAccessibilityResult.accessibility === 2 /* CannotBeNamed */ ? Diagnostics.Parameter_0_of_constructor_from_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named : Diagnostics.Parameter_0_of_constructor_from_exported_class_has_or_is_using_name_1_from_private_module_2 : Diagnostics.Parameter_0_of_constructor_from_exported_class_has_or_is_using_private_name_1; - case 180 /* ConstructSignature */: - case 185 /* ConstructorType */: - return symbolAccessibilityResult.errorModuleName ? Diagnostics.Parameter_0_of_constructor_signature_from_exported_interface_has_or_is_using_name_1_from_private_module_2 : Diagnostics.Parameter_0_of_constructor_signature_from_exported_interface_has_or_is_using_private_name_1; - case 179 /* CallSignature */: - return symbolAccessibilityResult.errorModuleName ? Diagnostics.Parameter_0_of_call_signature_from_exported_interface_has_or_is_using_name_1_from_private_module_2 : Diagnostics.Parameter_0_of_call_signature_from_exported_interface_has_or_is_using_private_name_1; - case 181 /* IndexSignature */: - return symbolAccessibilityResult.errorModuleName ? Diagnostics.Parameter_0_of_index_signature_from_exported_interface_has_or_is_using_name_1_from_private_module_2 : Diagnostics.Parameter_0_of_index_signature_from_exported_interface_has_or_is_using_private_name_1; - case 174 /* MethodDeclaration */: - case 173 /* MethodSignature */: - if (isStatic(node.parent)) { - return symbolAccessibilityResult.errorModuleName ? symbolAccessibilityResult.accessibility === 2 /* CannotBeNamed */ ? Diagnostics.Parameter_0_of_public_static_method_from_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named : Diagnostics.Parameter_0_of_public_static_method_from_exported_class_has_or_is_using_name_1_from_private_module_2 : Diagnostics.Parameter_0_of_public_static_method_from_exported_class_has_or_is_using_private_name_1; - } else if (node.parent.parent.kind === 263 /* ClassDeclaration */) { - return symbolAccessibilityResult.errorModuleName ? symbolAccessibilityResult.accessibility === 2 /* CannotBeNamed */ ? Diagnostics.Parameter_0_of_public_method_from_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named : Diagnostics.Parameter_0_of_public_method_from_exported_class_has_or_is_using_name_1_from_private_module_2 : Diagnostics.Parameter_0_of_public_method_from_exported_class_has_or_is_using_private_name_1; - } else { - return symbolAccessibilityResult.errorModuleName ? Diagnostics.Parameter_0_of_method_from_exported_interface_has_or_is_using_name_1_from_private_module_2 : Diagnostics.Parameter_0_of_method_from_exported_interface_has_or_is_using_private_name_1; - } - case 262 /* FunctionDeclaration */: - case 184 /* FunctionType */: - return symbolAccessibilityResult.errorModuleName ? symbolAccessibilityResult.accessibility === 2 /* CannotBeNamed */ ? Diagnostics.Parameter_0_of_exported_function_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named : Diagnostics.Parameter_0_of_exported_function_has_or_is_using_name_1_from_private_module_2 : Diagnostics.Parameter_0_of_exported_function_has_or_is_using_private_name_1; - case 178 /* SetAccessor */: - case 177 /* GetAccessor */: - return symbolAccessibilityResult.errorModuleName ? symbolAccessibilityResult.accessibility === 2 /* CannotBeNamed */ ? Diagnostics.Parameter_0_of_accessor_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named : Diagnostics.Parameter_0_of_accessor_has_or_is_using_name_1_from_private_module_2 : Diagnostics.Parameter_0_of_accessor_has_or_is_using_private_name_1; - default: - return Debug.fail(`Unknown parent for parameter: ${Debug.formatSyntaxKind(node.parent.kind)}`); - } - } - function getTypeParameterConstraintVisibilityError() { - let diagnosticMessage; - switch (node.parent.kind) { - case 263 /* ClassDeclaration */: - diagnosticMessage = Diagnostics.Type_parameter_0_of_exported_class_has_or_is_using_private_name_1; - break; - case 264 /* InterfaceDeclaration */: - diagnosticMessage = Diagnostics.Type_parameter_0_of_exported_interface_has_or_is_using_private_name_1; - break; - case 200 /* MappedType */: - diagnosticMessage = Diagnostics.Type_parameter_0_of_exported_mapped_object_type_is_using_private_name_1; - break; - case 185 /* ConstructorType */: - case 180 /* ConstructSignature */: - diagnosticMessage = Diagnostics.Type_parameter_0_of_constructor_signature_from_exported_interface_has_or_is_using_private_name_1; - break; - case 179 /* CallSignature */: - diagnosticMessage = Diagnostics.Type_parameter_0_of_call_signature_from_exported_interface_has_or_is_using_private_name_1; - break; - case 174 /* MethodDeclaration */: - case 173 /* MethodSignature */: - if (isStatic(node.parent)) { - diagnosticMessage = Diagnostics.Type_parameter_0_of_public_static_method_from_exported_class_has_or_is_using_private_name_1; - } else if (node.parent.parent.kind === 263 /* ClassDeclaration */) { - diagnosticMessage = Diagnostics.Type_parameter_0_of_public_method_from_exported_class_has_or_is_using_private_name_1; - } else { - diagnosticMessage = Diagnostics.Type_parameter_0_of_method_from_exported_interface_has_or_is_using_private_name_1; - } - break; - case 184 /* FunctionType */: - case 262 /* FunctionDeclaration */: - diagnosticMessage = Diagnostics.Type_parameter_0_of_exported_function_has_or_is_using_private_name_1; - break; - case 195 /* InferType */: - diagnosticMessage = Diagnostics.Extends_clause_for_inferred_type_0_has_or_is_using_private_name_1; - break; - case 265 /* TypeAliasDeclaration */: - diagnosticMessage = Diagnostics.Type_parameter_0_of_exported_type_alias_has_or_is_using_private_name_1; - break; - default: - return Debug.fail("This is unknown parent for type parameter: " + node.parent.kind); - } - return { - diagnosticMessage, - errorNode: node, - typeName: node.name - }; - } - function getHeritageClauseVisibilityError() { - let diagnosticMessage; - if (isClassDeclaration(node.parent.parent)) { - diagnosticMessage = isHeritageClause(node.parent) && node.parent.token === 119 /* ImplementsKeyword */ ? Diagnostics.Implements_clause_of_exported_class_0_has_or_is_using_private_name_1 : node.parent.parent.name ? Diagnostics.extends_clause_of_exported_class_0_has_or_is_using_private_name_1 : Diagnostics.extends_clause_of_exported_class_has_or_is_using_private_name_0; - } else { - diagnosticMessage = Diagnostics.extends_clause_of_exported_interface_0_has_or_is_using_private_name_1; - } - return { - diagnosticMessage, - errorNode: node, - typeName: getNameOfDeclaration(node.parent.parent) - }; - } - function getImportEntityNameVisibilityError() { - return { - diagnosticMessage: Diagnostics.Import_declaration_0_is_using_private_name_1, - errorNode: node, - typeName: node.name - }; - } - function getTypeAliasDeclarationVisibilityError(symbolAccessibilityResult) { - return { - diagnosticMessage: symbolAccessibilityResult.errorModuleName ? Diagnostics.Exported_type_alias_0_has_or_is_using_private_name_1_from_module_2 : Diagnostics.Exported_type_alias_0_has_or_is_using_private_name_1, - errorNode: isJSDocTypeAlias(node) ? Debug.checkDefined(node.typeExpression) : node.type, - typeName: isJSDocTypeAlias(node) ? getNameOfDeclaration(node) : node.name - }; - } -} -function createGetIsolatedDeclarationErrors(resolver) { - const relatedSuggestionByDeclarationKind = { - [219 /* ArrowFunction */]: Diagnostics.Add_a_return_type_to_the_function_expression, - [218 /* FunctionExpression */]: Diagnostics.Add_a_return_type_to_the_function_expression, - [174 /* MethodDeclaration */]: Diagnostics.Add_a_return_type_to_the_method, - [177 /* GetAccessor */]: Diagnostics.Add_a_return_type_to_the_get_accessor_declaration, - [178 /* SetAccessor */]: Diagnostics.Add_a_type_to_parameter_of_the_set_accessor_declaration, - [262 /* FunctionDeclaration */]: Diagnostics.Add_a_return_type_to_the_function_declaration, - [180 /* ConstructSignature */]: Diagnostics.Add_a_return_type_to_the_function_declaration, - [169 /* Parameter */]: Diagnostics.Add_a_type_annotation_to_the_parameter_0, - [260 /* VariableDeclaration */]: Diagnostics.Add_a_type_annotation_to_the_variable_0, - [172 /* PropertyDeclaration */]: Diagnostics.Add_a_type_annotation_to_the_property_0, - [171 /* PropertySignature */]: Diagnostics.Add_a_type_annotation_to_the_property_0, - [277 /* ExportAssignment */]: Diagnostics.Move_the_expression_in_default_export_to_a_variable_and_add_a_type_annotation_to_it - }; - const errorByDeclarationKind = { - [218 /* FunctionExpression */]: Diagnostics.Function_must_have_an_explicit_return_type_annotation_with_isolatedDeclarations, - [262 /* FunctionDeclaration */]: Diagnostics.Function_must_have_an_explicit_return_type_annotation_with_isolatedDeclarations, - [219 /* ArrowFunction */]: Diagnostics.Function_must_have_an_explicit_return_type_annotation_with_isolatedDeclarations, - [174 /* MethodDeclaration */]: Diagnostics.Method_must_have_an_explicit_return_type_annotation_with_isolatedDeclarations, - [180 /* ConstructSignature */]: Diagnostics.Method_must_have_an_explicit_return_type_annotation_with_isolatedDeclarations, - [177 /* GetAccessor */]: Diagnostics.At_least_one_accessor_must_have_an_explicit_return_type_annotation_with_isolatedDeclarations, - [178 /* SetAccessor */]: Diagnostics.At_least_one_accessor_must_have_an_explicit_return_type_annotation_with_isolatedDeclarations, - [169 /* Parameter */]: Diagnostics.Parameter_must_have_an_explicit_type_annotation_with_isolatedDeclarations, - [260 /* VariableDeclaration */]: Diagnostics.Variable_must_have_an_explicit_type_annotation_with_isolatedDeclarations, - [172 /* PropertyDeclaration */]: Diagnostics.Property_must_have_an_explicit_type_annotation_with_isolatedDeclarations, - [171 /* PropertySignature */]: Diagnostics.Property_must_have_an_explicit_type_annotation_with_isolatedDeclarations, - [167 /* ComputedPropertyName */]: Diagnostics.Computed_property_names_on_class_or_object_literals_cannot_be_inferred_with_isolatedDeclarations, - [305 /* SpreadAssignment */]: Diagnostics.Objects_that_contain_spread_assignments_can_t_be_inferred_with_isolatedDeclarations, - [304 /* ShorthandPropertyAssignment */]: Diagnostics.Objects_that_contain_shorthand_properties_can_t_be_inferred_with_isolatedDeclarations, - [209 /* ArrayLiteralExpression */]: Diagnostics.Only_const_arrays_can_be_inferred_with_isolatedDeclarations, - [277 /* ExportAssignment */]: Diagnostics.Default_exports_can_t_be_inferred_with_isolatedDeclarations, - [230 /* SpreadElement */]: Diagnostics.Arrays_with_spread_elements_can_t_inferred_with_isolatedDeclarations - }; - return getDiagnostic; - function getDiagnostic(node) { - const heritageClause = findAncestor(node, isHeritageClause); - if (heritageClause) { - return createDiagnosticForNode(node, Diagnostics.Extends_clause_can_t_contain_an_expression_with_isolatedDeclarations); - } - if ((isPartOfTypeNode(node) || isTypeQueryNode(node.parent)) && (isEntityName(node) || isEntityNameExpression(node))) { - return createEntityInTypeNodeError(node); - } - Debug.type(node); - switch (node.kind) { - case 177 /* GetAccessor */: - case 178 /* SetAccessor */: - return createAccessorTypeError(node); - case 167 /* ComputedPropertyName */: - case 304 /* ShorthandPropertyAssignment */: - case 305 /* SpreadAssignment */: - return createObjectLiteralError(node); - case 209 /* ArrayLiteralExpression */: - case 230 /* SpreadElement */: - return createArrayLiteralError(node); - case 174 /* MethodDeclaration */: - case 180 /* ConstructSignature */: - case 218 /* FunctionExpression */: - case 219 /* ArrowFunction */: - case 262 /* FunctionDeclaration */: - return createReturnTypeError(node); - case 208 /* BindingElement */: - return createBindingElementError(node); - case 172 /* PropertyDeclaration */: - case 260 /* VariableDeclaration */: - return createVariableOrPropertyError(node); - case 169 /* Parameter */: - return createParameterError(node); - case 303 /* PropertyAssignment */: - return createExpressionError(node.initializer); - case 231 /* ClassExpression */: - return createClassExpressionError(node); - default: - assertType(node); - return createExpressionError(node); - } - } - function findNearestDeclaration(node) { - const result = findAncestor(node, (n) => isExportAssignment(n) || isStatement(n) || isVariableDeclaration(n) || isPropertyDeclaration(n) || isParameter(n)); - if (!result) return void 0; - if (isExportAssignment(result)) return result; - if (isReturnStatement(result)) { - return findAncestor(result, (n) => isFunctionLikeDeclaration(n) && !isConstructorDeclaration(n)); - } - return isStatement(result) ? void 0 : result; - } - function createAccessorTypeError(node) { - const { getAccessor, setAccessor } = getAllAccessorDeclarations(node.symbol.declarations, node); - const targetNode = (isSetAccessor(node) ? node.parameters[0] : node) ?? node; - const diag2 = createDiagnosticForNode(targetNode, errorByDeclarationKind[node.kind]); - if (setAccessor) { - addRelatedInfo(diag2, createDiagnosticForNode(setAccessor, relatedSuggestionByDeclarationKind[setAccessor.kind])); - } - if (getAccessor) { - addRelatedInfo(diag2, createDiagnosticForNode(getAccessor, relatedSuggestionByDeclarationKind[getAccessor.kind])); - } - return diag2; - } - function addParentDeclarationRelatedInfo(node, diag2) { - const parentDeclaration = findNearestDeclaration(node); - if (parentDeclaration) { - const targetStr = isExportAssignment(parentDeclaration) || !parentDeclaration.name ? "" : getTextOfNode( - parentDeclaration.name, - /*includeTrivia*/ - false - ); - addRelatedInfo(diag2, createDiagnosticForNode(parentDeclaration, relatedSuggestionByDeclarationKind[parentDeclaration.kind], targetStr)); - } - return diag2; - } - function createObjectLiteralError(node) { - const diag2 = createDiagnosticForNode(node, errorByDeclarationKind[node.kind]); - addParentDeclarationRelatedInfo(node, diag2); - return diag2; - } - function createArrayLiteralError(node) { - const diag2 = createDiagnosticForNode(node, errorByDeclarationKind[node.kind]); - addParentDeclarationRelatedInfo(node, diag2); - return diag2; - } - function createReturnTypeError(node) { - const diag2 = createDiagnosticForNode(node, errorByDeclarationKind[node.kind]); - addParentDeclarationRelatedInfo(node, diag2); - addRelatedInfo(diag2, createDiagnosticForNode(node, relatedSuggestionByDeclarationKind[node.kind])); - return diag2; - } - function createBindingElementError(node) { - return createDiagnosticForNode(node, Diagnostics.Binding_elements_can_t_be_exported_directly_with_isolatedDeclarations); - } - function createVariableOrPropertyError(node) { - const diag2 = createDiagnosticForNode(node, errorByDeclarationKind[node.kind]); - const targetStr = getTextOfNode( - node.name, - /*includeTrivia*/ - false - ); - addRelatedInfo(diag2, createDiagnosticForNode(node, relatedSuggestionByDeclarationKind[node.kind], targetStr)); - return diag2; - } - function createParameterError(node) { - if (isSetAccessor(node.parent)) { - return createAccessorTypeError(node.parent); - } - const addUndefined = resolver.requiresAddingImplicitUndefined( - node, - /*enclosingDeclaration*/ - void 0 - ); - if (!addUndefined && node.initializer) { - return createExpressionError(node.initializer); - } - const message = addUndefined ? Diagnostics.Declaration_emit_for_this_parameter_requires_implicitly_adding_undefined_to_it_s_type_This_is_not_supported_with_isolatedDeclarations : errorByDeclarationKind[node.kind]; - const diag2 = createDiagnosticForNode(node, message); - const targetStr = getTextOfNode( - node.name, - /*includeTrivia*/ - false - ); - addRelatedInfo(diag2, createDiagnosticForNode(node, relatedSuggestionByDeclarationKind[node.kind], targetStr)); - return diag2; - } - function createClassExpressionError(node) { - return createExpressionError(node, Diagnostics.Inference_from_class_expressions_is_not_supported_with_isolatedDeclarations); - } - function createEntityInTypeNodeError(node) { - const diag2 = createDiagnosticForNode(node, Diagnostics.Type_containing_private_name_0_can_t_be_used_with_isolatedDeclarations, getTextOfNode( - node, - /*includeTrivia*/ - false - )); - addParentDeclarationRelatedInfo(node, diag2); - return diag2; - } - function createExpressionError(node, diagnosticMessage) { - const parentDeclaration = findNearestDeclaration(node); - let diag2; - if (parentDeclaration) { - const targetStr = isExportAssignment(parentDeclaration) || !parentDeclaration.name ? "" : getTextOfNode( - parentDeclaration.name, - /*includeTrivia*/ - false - ); - const parent = findAncestor(node.parent, (n) => isExportAssignment(n) || (isStatement(n) ? "quit" : !isParenthesizedExpression(n) && !isTypeAssertionExpression(n) && !isAsExpression(n))); - if (parentDeclaration === parent) { - diag2 = createDiagnosticForNode(node, diagnosticMessage ?? errorByDeclarationKind[parentDeclaration.kind]); - addRelatedInfo(diag2, createDiagnosticForNode(parentDeclaration, relatedSuggestionByDeclarationKind[parentDeclaration.kind], targetStr)); - } else { - diag2 = createDiagnosticForNode(node, diagnosticMessage ?? Diagnostics.Expression_type_can_t_be_inferred_with_isolatedDeclarations); - addRelatedInfo(diag2, createDiagnosticForNode(parentDeclaration, relatedSuggestionByDeclarationKind[parentDeclaration.kind], targetStr)); - addRelatedInfo(diag2, createDiagnosticForNode(node, Diagnostics.Add_satisfies_and_a_type_assertion_to_this_expression_satisfies_T_as_T_to_make_the_type_explicit)); - } - } else { - diag2 = createDiagnosticForNode(node, diagnosticMessage ?? Diagnostics.Expression_type_can_t_be_inferred_with_isolatedDeclarations); - } - return diag2; - } -} - -// src/compiler/transformers/declarations.ts -function getDeclarationDiagnostics(host, resolver, file) { - const compilerOptions = host.getCompilerOptions(); - const files = filter(getSourceFilesToEmit(host, file), isSourceFileNotJson); - return contains(files, file) ? transformNodes( - resolver, - host, - factory, - compilerOptions, - [file], - [transformDeclarations], - /*allowDtsFiles*/ - false - ).diagnostics : void 0; -} -var declarationEmitNodeBuilderFlags = 1024 /* MultilineObjectLiterals */ | 2048 /* WriteClassExpressionAsTypeLiteral */ | 4096 /* UseTypeOfFunction */ | 8 /* UseStructuralFallback */ | 524288 /* AllowEmptyTuple */ | 4 /* GenerateNamesForShadowedTypeParams */ | 1 /* NoTruncation */; -var declarationEmitInternalNodeBuilderFlags = 8 /* AllowUnresolvedNames */; -function transformDeclarations(context) { - const throwDiagnostic = () => Debug.fail("Diagnostic emitted without context"); - let getSymbolAccessibilityDiagnostic = throwDiagnostic; - let needsDeclare = true; - let isBundledEmit = false; - let resultHasExternalModuleIndicator = false; - let needsScopeFixMarker = false; - let resultHasScopeMarker = false; - let enclosingDeclaration; - let lateMarkedStatements; - let lateStatementReplacementMap; - let suppressNewDiagnosticContexts; - const { factory: factory2 } = context; - const host = context.getEmitHost(); - const symbolTracker = { - trackSymbol, - reportInaccessibleThisError, - reportInaccessibleUniqueSymbolError, - reportCyclicStructureError, - reportPrivateInBaseOfClassExpression, - reportLikelyUnsafeImportRequiredError, - reportTruncationError, - moduleResolverHost: host, - reportNonlocalAugmentation, - reportNonSerializableProperty, - reportInferenceFallback - }; - let errorNameNode; - let errorFallbackNode; - let currentSourceFile; - let rawReferencedFiles; - let rawTypeReferenceDirectives; - let rawLibReferenceDirectives; - const resolver = context.getEmitResolver(); - const options = context.getCompilerOptions(); - const getIsolatedDeclarationError = createGetIsolatedDeclarationErrors(resolver); - const { stripInternal, isolatedDeclarations } = options; - return transformRoot; - function reportExpandoFunctionErrors(node) { - resolver.getPropertiesOfContainerFunction(node).forEach((p) => { - if (isExpandoPropertyDeclaration(p.valueDeclaration)) { - const errorTarget = isBinaryExpression(p.valueDeclaration) ? p.valueDeclaration.left : p.valueDeclaration; - context.addDiagnostic(createDiagnosticForNode( - errorTarget, - Diagnostics.Assigning_properties_to_functions_without_declaring_them_is_not_supported_with_isolatedDeclarations_Add_an_explicit_declaration_for_the_properties_assigned_to_this_function - )); - } - }); - } - function reportInferenceFallback(node) { - if (!isolatedDeclarations || isSourceFileJS(currentSourceFile)) return; - if (getSourceFileOfNode(node) !== currentSourceFile) return; - if (isVariableDeclaration(node) && resolver.isExpandoFunctionDeclaration(node)) { - reportExpandoFunctionErrors(node); - } else { - context.addDiagnostic(getIsolatedDeclarationError(node)); - } - } - function handleSymbolAccessibilityError(symbolAccessibilityResult) { - if (symbolAccessibilityResult.accessibility === 0 /* Accessible */) { - if (symbolAccessibilityResult.aliasesToMakeVisible) { - if (!lateMarkedStatements) { - lateMarkedStatements = symbolAccessibilityResult.aliasesToMakeVisible; - } else { - for (const ref of symbolAccessibilityResult.aliasesToMakeVisible) { - pushIfUnique(lateMarkedStatements, ref); - } - } - } - } else if (symbolAccessibilityResult.accessibility !== 3 /* NotResolved */) { - const errorInfo = getSymbolAccessibilityDiagnostic(symbolAccessibilityResult); - if (errorInfo) { - if (errorInfo.typeName) { - context.addDiagnostic(createDiagnosticForNode(symbolAccessibilityResult.errorNode || errorInfo.errorNode, errorInfo.diagnosticMessage, getTextOfNode(errorInfo.typeName), symbolAccessibilityResult.errorSymbolName, symbolAccessibilityResult.errorModuleName)); - } else { - context.addDiagnostic(createDiagnosticForNode(symbolAccessibilityResult.errorNode || errorInfo.errorNode, errorInfo.diagnosticMessage, symbolAccessibilityResult.errorSymbolName, symbolAccessibilityResult.errorModuleName)); - } - return true; - } - } - return false; - } - function trackSymbol(symbol, enclosingDeclaration2, meaning) { - if (symbol.flags & 262144 /* TypeParameter */) return false; - const issuedDiagnostic = handleSymbolAccessibilityError(resolver.isSymbolAccessible( - symbol, - enclosingDeclaration2, - meaning, - /*shouldComputeAliasToMarkVisible*/ - true - )); - return issuedDiagnostic; - } - function reportPrivateInBaseOfClassExpression(propertyName) { - if (errorNameNode || errorFallbackNode) { - context.addDiagnostic( - addRelatedInfo( - createDiagnosticForNode(errorNameNode || errorFallbackNode, Diagnostics.Property_0_of_exported_anonymous_class_type_may_not_be_private_or_protected, propertyName), - ...isVariableDeclaration((errorNameNode || errorFallbackNode).parent) ? [createDiagnosticForNode(errorNameNode || errorFallbackNode, Diagnostics.Add_a_type_annotation_to_the_variable_0, errorDeclarationNameWithFallback())] : [] - ) - ); - } - } - function errorDeclarationNameWithFallback() { - return errorNameNode ? declarationNameToString(errorNameNode) : errorFallbackNode && getNameOfDeclaration(errorFallbackNode) ? declarationNameToString(getNameOfDeclaration(errorFallbackNode)) : errorFallbackNode && isExportAssignment(errorFallbackNode) ? errorFallbackNode.isExportEquals ? "export=" : "default" : "(Missing)"; - } - function reportInaccessibleUniqueSymbolError() { - if (errorNameNode || errorFallbackNode) { - context.addDiagnostic(createDiagnosticForNode(errorNameNode || errorFallbackNode, Diagnostics.The_inferred_type_of_0_references_an_inaccessible_1_type_A_type_annotation_is_necessary, errorDeclarationNameWithFallback(), "unique symbol")); - } - } - function reportCyclicStructureError() { - if (errorNameNode || errorFallbackNode) { - context.addDiagnostic(createDiagnosticForNode(errorNameNode || errorFallbackNode, Diagnostics.The_inferred_type_of_0_references_a_type_with_a_cyclic_structure_which_cannot_be_trivially_serialized_A_type_annotation_is_necessary, errorDeclarationNameWithFallback())); - } - } - function reportInaccessibleThisError() { - if (errorNameNode || errorFallbackNode) { - context.addDiagnostic(createDiagnosticForNode(errorNameNode || errorFallbackNode, Diagnostics.The_inferred_type_of_0_references_an_inaccessible_1_type_A_type_annotation_is_necessary, errorDeclarationNameWithFallback(), "this")); - } - } - function reportLikelyUnsafeImportRequiredError(specifier) { - if (errorNameNode || errorFallbackNode) { - context.addDiagnostic(createDiagnosticForNode(errorNameNode || errorFallbackNode, Diagnostics.The_inferred_type_of_0_cannot_be_named_without_a_reference_to_1_This_is_likely_not_portable_A_type_annotation_is_necessary, errorDeclarationNameWithFallback(), specifier)); - } - } - function reportTruncationError() { - if (errorNameNode || errorFallbackNode) { - context.addDiagnostic(createDiagnosticForNode(errorNameNode || errorFallbackNode, Diagnostics.The_inferred_type_of_this_node_exceeds_the_maximum_length_the_compiler_will_serialize_An_explicit_type_annotation_is_needed)); - } - } - function reportNonlocalAugmentation(containingFile, parentSymbol, symbol) { - var _a; - const primaryDeclaration = (_a = parentSymbol.declarations) == null ? void 0 : _a.find((d) => getSourceFileOfNode(d) === containingFile); - const augmentingDeclarations = filter(symbol.declarations, (d) => getSourceFileOfNode(d) !== containingFile); - if (primaryDeclaration && augmentingDeclarations) { - for (const augmentations of augmentingDeclarations) { - context.addDiagnostic(addRelatedInfo( - createDiagnosticForNode(augmentations, Diagnostics.Declaration_augments_declaration_in_another_file_This_cannot_be_serialized), - createDiagnosticForNode(primaryDeclaration, Diagnostics.This_is_the_declaration_being_augmented_Consider_moving_the_augmenting_declaration_into_the_same_file) - )); - } - } - } - function reportNonSerializableProperty(propertyName) { - if (errorNameNode || errorFallbackNode) { - context.addDiagnostic(createDiagnosticForNode(errorNameNode || errorFallbackNode, Diagnostics.The_type_of_this_node_cannot_be_serialized_because_its_property_0_cannot_be_serialized, propertyName)); - } - } - function transformDeclarationsForJS(sourceFile) { - const oldDiag = getSymbolAccessibilityDiagnostic; - getSymbolAccessibilityDiagnostic = (s) => s.errorNode && canProduceDiagnostics(s.errorNode) ? createGetSymbolAccessibilityDiagnosticForNode(s.errorNode)(s) : { - diagnosticMessage: s.errorModuleName ? Diagnostics.Declaration_emit_for_this_file_requires_using_private_name_0_from_module_1_An_explicit_type_annotation_may_unblock_declaration_emit : Diagnostics.Declaration_emit_for_this_file_requires_using_private_name_0_An_explicit_type_annotation_may_unblock_declaration_emit, - errorNode: s.errorNode || sourceFile - }; - const result = resolver.getDeclarationStatementsForSourceFile(sourceFile, declarationEmitNodeBuilderFlags, declarationEmitInternalNodeBuilderFlags, symbolTracker); - getSymbolAccessibilityDiagnostic = oldDiag; - return result; - } - function transformRoot(node) { - if (node.kind === 307 /* SourceFile */ && node.isDeclarationFile) { - return node; - } - if (node.kind === 308 /* Bundle */) { - isBundledEmit = true; - rawReferencedFiles = []; - rawTypeReferenceDirectives = []; - rawLibReferenceDirectives = []; - let hasNoDefaultLib = false; - const bundle = factory2.createBundle( - map(node.sourceFiles, (sourceFile) => { - if (sourceFile.isDeclarationFile) return void 0; - hasNoDefaultLib = hasNoDefaultLib || sourceFile.hasNoDefaultLib; - currentSourceFile = sourceFile; - enclosingDeclaration = sourceFile; - lateMarkedStatements = void 0; - suppressNewDiagnosticContexts = false; - lateStatementReplacementMap = /* @__PURE__ */ new Map(); - getSymbolAccessibilityDiagnostic = throwDiagnostic; - needsScopeFixMarker = false; - resultHasScopeMarker = false; - collectFileReferences(sourceFile); - if (isExternalOrCommonJsModule(sourceFile) || isJsonSourceFile(sourceFile)) { - resultHasExternalModuleIndicator = false; - needsDeclare = false; - const statements = isSourceFileJS(sourceFile) ? factory2.createNodeArray(transformDeclarationsForJS(sourceFile)) : visitNodes2(sourceFile.statements, visitDeclarationStatements, isStatement); - const newFile = factory2.updateSourceFile( - sourceFile, - [factory2.createModuleDeclaration( - [factory2.createModifier(138 /* DeclareKeyword */)], - factory2.createStringLiteral(getResolvedExternalModuleName(context.getEmitHost(), sourceFile)), - factory2.createModuleBlock(setTextRange(factory2.createNodeArray(transformAndReplaceLatePaintedStatements(statements)), sourceFile.statements)) - )], - /*isDeclarationFile*/ - true, - /*referencedFiles*/ - [], - /*typeReferences*/ - [], - /*hasNoDefaultLib*/ - false, - /*libReferences*/ - [] - ); - return newFile; - } - needsDeclare = true; - const updated = isSourceFileJS(sourceFile) ? factory2.createNodeArray(transformDeclarationsForJS(sourceFile)) : visitNodes2(sourceFile.statements, visitDeclarationStatements, isStatement); - return factory2.updateSourceFile( - sourceFile, - transformAndReplaceLatePaintedStatements(updated), - /*isDeclarationFile*/ - true, - /*referencedFiles*/ - [], - /*typeReferences*/ - [], - /*hasNoDefaultLib*/ - false, - /*libReferences*/ - [] - ); - }) - ); - const outputFilePath2 = getDirectoryPath(normalizeSlashes(getOutputPathsFor( - node, - host, - /*forceDtsPaths*/ - true - ).declarationFilePath)); - bundle.syntheticFileReferences = getReferencedFiles(outputFilePath2); - bundle.syntheticTypeReferences = getTypeReferences(); - bundle.syntheticLibReferences = getLibReferences(); - bundle.hasNoDefaultLib = hasNoDefaultLib; - return bundle; - } - needsDeclare = true; - needsScopeFixMarker = false; - resultHasScopeMarker = false; - enclosingDeclaration = node; - currentSourceFile = node; - getSymbolAccessibilityDiagnostic = throwDiagnostic; - isBundledEmit = false; - resultHasExternalModuleIndicator = false; - suppressNewDiagnosticContexts = false; - lateMarkedStatements = void 0; - lateStatementReplacementMap = /* @__PURE__ */ new Map(); - rawReferencedFiles = []; - rawTypeReferenceDirectives = []; - rawLibReferenceDirectives = []; - collectFileReferences(currentSourceFile); - let combinedStatements; - if (isSourceFileJS(currentSourceFile)) { - combinedStatements = factory2.createNodeArray(transformDeclarationsForJS(node)); - } else { - const statements = visitNodes2(node.statements, visitDeclarationStatements, isStatement); - combinedStatements = setTextRange(factory2.createNodeArray(transformAndReplaceLatePaintedStatements(statements)), node.statements); - if (isExternalModule(node) && (!resultHasExternalModuleIndicator || needsScopeFixMarker && !resultHasScopeMarker)) { - combinedStatements = setTextRange(factory2.createNodeArray([...combinedStatements, createEmptyExports(factory2)]), combinedStatements); - } - } - const outputFilePath = getDirectoryPath(normalizeSlashes(getOutputPathsFor( - node, - host, - /*forceDtsPaths*/ - true - ).declarationFilePath)); - return factory2.updateSourceFile( - node, - combinedStatements, - /*isDeclarationFile*/ - true, - getReferencedFiles(outputFilePath), - getTypeReferences(), - node.hasNoDefaultLib, - getLibReferences() - ); - function collectFileReferences(sourceFile) { - rawReferencedFiles = concatenate(rawReferencedFiles, map(sourceFile.referencedFiles, (f) => [sourceFile, f])); - rawTypeReferenceDirectives = concatenate(rawTypeReferenceDirectives, sourceFile.typeReferenceDirectives); - rawLibReferenceDirectives = concatenate(rawLibReferenceDirectives, sourceFile.libReferenceDirectives); - } - function copyFileReferenceAsSynthetic(ref) { - const newRef = { ...ref }; - newRef.pos = -1; - newRef.end = -1; - return newRef; - } - function getTypeReferences() { - return mapDefined(rawTypeReferenceDirectives, (ref) => { - if (!ref.preserve) return void 0; - return copyFileReferenceAsSynthetic(ref); - }); - } - function getLibReferences() { - return mapDefined(rawLibReferenceDirectives, (ref) => { - if (!ref.preserve) return void 0; - return copyFileReferenceAsSynthetic(ref); - }); - } - function getReferencedFiles(outputFilePath2) { - return mapDefined(rawReferencedFiles, ([sourceFile, ref]) => { - if (!ref.preserve) return void 0; - const file = host.getSourceFileFromReference(sourceFile, ref); - if (!file) { - return void 0; - } - let declFileName; - if (file.isDeclarationFile) { - declFileName = file.fileName; - } else { - if (isBundledEmit && contains(node.sourceFiles, file)) return; - const paths = getOutputPathsFor( - file, - host, - /*forceDtsPaths*/ - true - ); - declFileName = paths.declarationFilePath || paths.jsFilePath || file.fileName; - } - if (!declFileName) return void 0; - const fileName = getRelativePathToDirectoryOrUrl( - outputFilePath2, - declFileName, - host.getCurrentDirectory(), - host.getCanonicalFileName, - /*isAbsolutePathAnUrl*/ - false - ); - const newRef = copyFileReferenceAsSynthetic(ref); - newRef.fileName = fileName; - return newRef; - }); - } - } - function filterBindingPatternInitializers(name) { - if (name.kind === 80 /* Identifier */) { - return name; - } else { - if (name.kind === 207 /* ArrayBindingPattern */) { - return factory2.updateArrayBindingPattern(name, visitNodes2(name.elements, visitBindingElement, isArrayBindingElement)); - } else { - return factory2.updateObjectBindingPattern(name, visitNodes2(name.elements, visitBindingElement, isBindingElement)); - } - } - function visitBindingElement(elem) { - if (elem.kind === 232 /* OmittedExpression */) { - return elem; - } - if (elem.propertyName && isComputedPropertyName(elem.propertyName) && isEntityNameExpression(elem.propertyName.expression)) { - checkEntityNameVisibility(elem.propertyName.expression, enclosingDeclaration); - } - return factory2.updateBindingElement( - elem, - elem.dotDotDotToken, - elem.propertyName, - filterBindingPatternInitializers(elem.name), - /*initializer*/ - void 0 - ); - } - } - function ensureParameter(p, modifierMask, type) { - let oldDiag; - if (!suppressNewDiagnosticContexts) { - oldDiag = getSymbolAccessibilityDiagnostic; - getSymbolAccessibilityDiagnostic = createGetSymbolAccessibilityDiagnosticForNode(p); - } - const newParam = factory2.updateParameterDeclaration( - p, - maskModifiers(factory2, p, modifierMask), - p.dotDotDotToken, - filterBindingPatternInitializers(p.name), - resolver.isOptionalParameter(p) ? p.questionToken || factory2.createToken(58 /* QuestionToken */) : void 0, - ensureType( - p, - type || p.type, - /*ignorePrivate*/ - true - ), - // Ignore private param props, since this type is going straight back into a param - ensureNoInitializer(p) - ); - if (!suppressNewDiagnosticContexts) { - getSymbolAccessibilityDiagnostic = oldDiag; - } - return newParam; - } - function shouldPrintWithInitializer(node) { - return canHaveLiteralInitializer(node) && !!node.initializer && resolver.isLiteralConstDeclaration(getParseTreeNode(node)); - } - function ensureNoInitializer(node) { - if (shouldPrintWithInitializer(node)) { - const unwrappedInitializer = unwrapParenthesizedExpression(node.initializer); - if (!isPrimitiveLiteralValue(unwrappedInitializer)) { - reportInferenceFallback(node); - } - return resolver.createLiteralConstValue(getParseTreeNode(node, canHaveLiteralInitializer), symbolTracker); - } - return void 0; - } - function ensureType(node, type, ignorePrivate) { - if (!ignorePrivate && hasEffectiveModifier(node, 2 /* Private */)) { - return; - } - if (shouldPrintWithInitializer(node)) { - return; - } - const shouldAddImplicitUndefined = node.kind === 169 /* Parameter */ && resolver.requiresAddingImplicitUndefined(node, enclosingDeclaration); - if (type && !shouldAddImplicitUndefined) { - return visitNode(type, visitDeclarationSubtree, isTypeNode); - } - errorNameNode = node.name; - let oldDiag; - if (!suppressNewDiagnosticContexts) { - oldDiag = getSymbolAccessibilityDiagnostic; - getSymbolAccessibilityDiagnostic = createGetSymbolAccessibilityDiagnosticForNode(node); - } - let typeNode; - switch (node.kind) { - case 169 /* Parameter */: - case 171 /* PropertySignature */: - case 172 /* PropertyDeclaration */: - case 208 /* BindingElement */: - case 260 /* VariableDeclaration */: - typeNode = resolver.createTypeOfDeclaration(node, enclosingDeclaration, declarationEmitNodeBuilderFlags, declarationEmitInternalNodeBuilderFlags, symbolTracker); - break; - case 262 /* FunctionDeclaration */: - case 180 /* ConstructSignature */: - case 173 /* MethodSignature */: - case 174 /* MethodDeclaration */: - case 177 /* GetAccessor */: - case 179 /* CallSignature */: - typeNode = resolver.createReturnTypeOfSignatureDeclaration(node, enclosingDeclaration, declarationEmitNodeBuilderFlags, declarationEmitInternalNodeBuilderFlags, symbolTracker); - break; - default: - Debug.assertNever(node); - } - errorNameNode = void 0; - if (!suppressNewDiagnosticContexts) { - getSymbolAccessibilityDiagnostic = oldDiag; - } - return typeNode ?? factory2.createKeywordTypeNode(133 /* AnyKeyword */); - } - function isDeclarationAndNotVisible(node) { - node = getParseTreeNode(node); - switch (node.kind) { - case 262 /* FunctionDeclaration */: - case 267 /* ModuleDeclaration */: - case 264 /* InterfaceDeclaration */: - case 263 /* ClassDeclaration */: - case 265 /* TypeAliasDeclaration */: - case 266 /* EnumDeclaration */: - return !resolver.isDeclarationVisible(node); - case 260 /* VariableDeclaration */: - return !getBindingNameVisible(node); - case 271 /* ImportEqualsDeclaration */: - case 272 /* ImportDeclaration */: - case 278 /* ExportDeclaration */: - case 277 /* ExportAssignment */: - return false; - case 175 /* ClassStaticBlockDeclaration */: - return true; - } - return false; - } - function shouldEmitFunctionProperties(input) { - var _a; - if (input.body) { - return true; - } - const overloadSignatures = (_a = input.symbol.declarations) == null ? void 0 : _a.filter((decl) => isFunctionDeclaration(decl) && !decl.body); - return !overloadSignatures || overloadSignatures.indexOf(input) === overloadSignatures.length - 1; - } - function getBindingNameVisible(elem) { - if (isOmittedExpression(elem)) { - return false; - } - if (isBindingPattern(elem.name)) { - return some(elem.name.elements, getBindingNameVisible); - } else { - return resolver.isDeclarationVisible(elem); - } - } - function updateParamsList(node, params, modifierMask) { - if (hasEffectiveModifier(node, 2 /* Private */)) { - return factory2.createNodeArray(); - } - const newParams = map(params, (p) => ensureParameter(p, modifierMask)); - if (!newParams) { - return factory2.createNodeArray(); - } - return factory2.createNodeArray(newParams, params.hasTrailingComma); - } - function updateAccessorParamsList(input, isPrivate) { - let newParams; - if (!isPrivate) { - const thisParameter = getThisParameter(input); - if (thisParameter) { - newParams = [ensureParameter(thisParameter)]; - } - } - if (isSetAccessorDeclaration(input)) { - let newValueParameter; - if (!isPrivate) { - const valueParameter = getSetAccessorValueParameter(input); - if (valueParameter) { - const accessorType = getTypeAnnotationFromAllAccessorDeclarations(input, getAllAccessorDeclarations(isObjectLiteralExpression(input.parent) ? input.parent.properties : input.parent.members, input)); - newValueParameter = ensureParameter( - valueParameter, - /*modifierMask*/ - void 0, - accessorType - ); - } - } - if (!newValueParameter) { - newValueParameter = factory2.createParameterDeclaration( - /*modifiers*/ - void 0, - /*dotDotDotToken*/ - void 0, - "value" - ); - } - newParams = append(newParams, newValueParameter); - } - return factory2.createNodeArray(newParams || emptyArray); - } - function ensureTypeParams(node, params) { - return hasEffectiveModifier(node, 2 /* Private */) ? void 0 : visitNodes2(params, visitDeclarationSubtree, isTypeParameterDeclaration); - } - function isEnclosingDeclaration(node) { - return isSourceFile(node) || isTypeAliasDeclaration(node) || isModuleDeclaration(node) || isClassDeclaration(node) || isInterfaceDeclaration(node) || isFunctionLike(node) || isIndexSignatureDeclaration(node) || isMappedTypeNode(node); - } - function checkEntityNameVisibility(entityName, enclosingDeclaration2) { - const visibilityResult = resolver.isEntityNameVisible(entityName, enclosingDeclaration2); - handleSymbolAccessibilityError(visibilityResult); - } - function preserveJsDoc(updated, original) { - if (hasJSDocNodes(updated) && hasJSDocNodes(original)) { - updated.jsDoc = original.jsDoc; - } - return setCommentRange(updated, getCommentRange(original)); - } - function rewriteModuleSpecifier(parent, input) { - if (!input) return void 0; - resultHasExternalModuleIndicator = resultHasExternalModuleIndicator || parent.kind !== 267 /* ModuleDeclaration */ && parent.kind !== 205 /* ImportType */; - if (isStringLiteralLike(input)) { - if (isBundledEmit) { - const newName = getExternalModuleNameFromDeclaration(context.getEmitHost(), resolver, parent); - if (newName) { - return factory2.createStringLiteral(newName); - } - } - } - return input; - } - function transformImportEqualsDeclaration(decl) { - if (!resolver.isDeclarationVisible(decl)) return; - if (decl.moduleReference.kind === 283 /* ExternalModuleReference */) { - const specifier = getExternalModuleImportEqualsDeclarationExpression(decl); - return factory2.updateImportEqualsDeclaration( - decl, - decl.modifiers, - decl.isTypeOnly, - decl.name, - factory2.updateExternalModuleReference(decl.moduleReference, rewriteModuleSpecifier(decl, specifier)) - ); - } else { - const oldDiag = getSymbolAccessibilityDiagnostic; - getSymbolAccessibilityDiagnostic = createGetSymbolAccessibilityDiagnosticForNode(decl); - checkEntityNameVisibility(decl.moduleReference, enclosingDeclaration); - getSymbolAccessibilityDiagnostic = oldDiag; - return decl; - } - } - function transformImportDeclaration(decl) { - if (!decl.importClause) { - return factory2.updateImportDeclaration( - decl, - decl.modifiers, - decl.importClause, - rewriteModuleSpecifier(decl, decl.moduleSpecifier), - tryGetResolutionModeOverride(decl.attributes) - ); - } - const visibleDefaultBinding = decl.importClause && decl.importClause.name && resolver.isDeclarationVisible(decl.importClause) ? decl.importClause.name : void 0; - if (!decl.importClause.namedBindings) { - return visibleDefaultBinding && factory2.updateImportDeclaration( - decl, - decl.modifiers, - factory2.updateImportClause( - decl.importClause, - decl.importClause.isTypeOnly, - visibleDefaultBinding, - /*namedBindings*/ - void 0 - ), - rewriteModuleSpecifier(decl, decl.moduleSpecifier), - tryGetResolutionModeOverride(decl.attributes) - ); - } - if (decl.importClause.namedBindings.kind === 274 /* NamespaceImport */) { - const namedBindings = resolver.isDeclarationVisible(decl.importClause.namedBindings) ? decl.importClause.namedBindings : ( - /*namedBindings*/ - void 0 - ); - return visibleDefaultBinding || namedBindings ? factory2.updateImportDeclaration( - decl, - decl.modifiers, - factory2.updateImportClause( - decl.importClause, - decl.importClause.isTypeOnly, - visibleDefaultBinding, - namedBindings - ), - rewriteModuleSpecifier(decl, decl.moduleSpecifier), - tryGetResolutionModeOverride(decl.attributes) - ) : void 0; - } - const bindingList = mapDefined(decl.importClause.namedBindings.elements, (b) => resolver.isDeclarationVisible(b) ? b : void 0); - if (bindingList && bindingList.length || visibleDefaultBinding) { - return factory2.updateImportDeclaration( - decl, - decl.modifiers, - factory2.updateImportClause( - decl.importClause, - decl.importClause.isTypeOnly, - visibleDefaultBinding, - bindingList && bindingList.length ? factory2.updateNamedImports(decl.importClause.namedBindings, bindingList) : void 0 - ), - rewriteModuleSpecifier(decl, decl.moduleSpecifier), - tryGetResolutionModeOverride(decl.attributes) - ); - } - if (resolver.isImportRequiredByAugmentation(decl)) { - if (isolatedDeclarations) { - context.addDiagnostic(createDiagnosticForNode(decl, Diagnostics.Declaration_emit_for_this_file_requires_preserving_this_import_for_augmentations_This_is_not_supported_with_isolatedDeclarations)); - } - return factory2.updateImportDeclaration( - decl, - decl.modifiers, - /*importClause*/ - void 0, - rewriteModuleSpecifier(decl, decl.moduleSpecifier), - tryGetResolutionModeOverride(decl.attributes) - ); - } - } - function tryGetResolutionModeOverride(node) { - const mode = getResolutionModeOverride(node); - return node && mode !== void 0 ? node : void 0; - } - function transformAndReplaceLatePaintedStatements(statements) { - while (length(lateMarkedStatements)) { - const i = lateMarkedStatements.shift(); - if (!isLateVisibilityPaintedStatement(i)) { - return Debug.fail(`Late replaced statement was found which is not handled by the declaration transformer!: ${Debug.formatSyntaxKind(i.kind)}`); - } - const priorNeedsDeclare = needsDeclare; - needsDeclare = i.parent && isSourceFile(i.parent) && !(isExternalModule(i.parent) && isBundledEmit); - const result = transformTopLevelDeclaration(i); - needsDeclare = priorNeedsDeclare; - lateStatementReplacementMap.set(getOriginalNodeId(i), result); - } - return visitNodes2(statements, visitLateVisibilityMarkedStatements, isStatement); - function visitLateVisibilityMarkedStatements(statement) { - if (isLateVisibilityPaintedStatement(statement)) { - const key = getOriginalNodeId(statement); - if (lateStatementReplacementMap.has(key)) { - const result = lateStatementReplacementMap.get(key); - lateStatementReplacementMap.delete(key); - if (result) { - if (isArray(result) ? some(result, needsScopeMarker) : needsScopeMarker(result)) { - needsScopeFixMarker = true; - } - if (isSourceFile(statement.parent) && (isArray(result) ? some(result, isExternalModuleIndicator) : isExternalModuleIndicator(result))) { - resultHasExternalModuleIndicator = true; - } - } - return result; - } - } - return statement; - } - } - function visitDeclarationSubtree(input) { - if (shouldStripInternal(input)) return; - if (isDeclaration(input)) { - if (isDeclarationAndNotVisible(input)) return; - if (hasDynamicName(input)) { - if (isolatedDeclarations) { - if (!resolver.isDefinitelyReferenceToGlobalSymbolObject(input.name.expression)) { - if (isClassDeclaration(input.parent) || isObjectLiteralExpression(input.parent)) { - context.addDiagnostic(createDiagnosticForNode(input, Diagnostics.Computed_property_names_on_class_or_object_literals_cannot_be_inferred_with_isolatedDeclarations)); - return; - } else if ( - // Type declarations just need to double-check that the input computed name is an entity name expression - (isInterfaceDeclaration(input.parent) || isTypeLiteralNode(input.parent)) && !isEntityNameExpression(input.name.expression) - ) { - context.addDiagnostic(createDiagnosticForNode(input, Diagnostics.Computed_properties_must_be_number_or_string_literals_variables_or_dotted_expressions_with_isolatedDeclarations)); - return; - } - } - } else if (!resolver.isLateBound(getParseTreeNode(input)) || !isEntityNameExpression(input.name.expression)) { - return; - } - } - } - if (isFunctionLike(input) && resolver.isImplementationOfOverload(input)) return; - if (isSemicolonClassElement(input)) return; - let previousEnclosingDeclaration; - if (isEnclosingDeclaration(input)) { - previousEnclosingDeclaration = enclosingDeclaration; - enclosingDeclaration = input; - } - const oldDiag = getSymbolAccessibilityDiagnostic; - const canProduceDiagnostic = canProduceDiagnostics(input); - const oldWithinObjectLiteralType = suppressNewDiagnosticContexts; - let shouldEnterSuppressNewDiagnosticsContextContext = (input.kind === 187 /* TypeLiteral */ || input.kind === 200 /* MappedType */) && input.parent.kind !== 265 /* TypeAliasDeclaration */; - if (isMethodDeclaration(input) || isMethodSignature(input)) { - if (hasEffectiveModifier(input, 2 /* Private */)) { - if (input.symbol && input.symbol.declarations && input.symbol.declarations[0] !== input) return; - return cleanup(factory2.createPropertyDeclaration( - ensureModifiers(input), - input.name, - /*questionOrExclamationToken*/ - void 0, - /*type*/ - void 0, - /*initializer*/ - void 0 - )); - } - } - if (canProduceDiagnostic && !suppressNewDiagnosticContexts) { - getSymbolAccessibilityDiagnostic = createGetSymbolAccessibilityDiagnosticForNode(input); - } - if (isTypeQueryNode(input)) { - checkEntityNameVisibility(input.exprName, enclosingDeclaration); - } - if (shouldEnterSuppressNewDiagnosticsContextContext) { - suppressNewDiagnosticContexts = true; - } - if (isProcessedComponent(input)) { - switch (input.kind) { - case 233 /* ExpressionWithTypeArguments */: { - if (isEntityName(input.expression) || isEntityNameExpression(input.expression)) { - checkEntityNameVisibility(input.expression, enclosingDeclaration); - } - const node = visitEachChild(input, visitDeclarationSubtree, context); - return cleanup(factory2.updateExpressionWithTypeArguments(node, node.expression, node.typeArguments)); - } - case 183 /* TypeReference */: { - checkEntityNameVisibility(input.typeName, enclosingDeclaration); - const node = visitEachChild(input, visitDeclarationSubtree, context); - return cleanup(factory2.updateTypeReferenceNode(node, node.typeName, node.typeArguments)); - } - case 180 /* ConstructSignature */: - return cleanup(factory2.updateConstructSignature( - input, - ensureTypeParams(input, input.typeParameters), - updateParamsList(input, input.parameters), - ensureType(input, input.type) - )); - case 176 /* Constructor */: { - const ctor = factory2.createConstructorDeclaration( - /*modifiers*/ - ensureModifiers(input), - updateParamsList(input, input.parameters, 0 /* None */), - /*body*/ - void 0 - ); - return cleanup(ctor); - } - case 174 /* MethodDeclaration */: { - if (isPrivateIdentifier(input.name)) { - return cleanup( - /*returnValue*/ - void 0 - ); - } - const sig = factory2.createMethodDeclaration( - ensureModifiers(input), - /*asteriskToken*/ - void 0, - input.name, - input.questionToken, - ensureTypeParams(input, input.typeParameters), - updateParamsList(input, input.parameters), - ensureType(input, input.type), - /*body*/ - void 0 - ); - return cleanup(sig); - } - case 177 /* GetAccessor */: { - if (isPrivateIdentifier(input.name)) { - return cleanup( - /*returnValue*/ - void 0 - ); - } - const accessorType = getTypeAnnotationFromAllAccessorDeclarations(input, getAllAccessorDeclarations(isObjectLiteralExpression(input.parent) ? input.parent.properties : input.parent.members, input)); - return cleanup(factory2.updateGetAccessorDeclaration( - input, - ensureModifiers(input), - input.name, - updateAccessorParamsList(input, hasEffectiveModifier(input, 2 /* Private */)), - ensureType(input, accessorType), - /*body*/ - void 0 - )); - } - case 178 /* SetAccessor */: { - if (isPrivateIdentifier(input.name)) { - return cleanup( - /*returnValue*/ - void 0 - ); - } - return cleanup(factory2.updateSetAccessorDeclaration( - input, - ensureModifiers(input), - input.name, - updateAccessorParamsList(input, hasEffectiveModifier(input, 2 /* Private */)), - /*body*/ - void 0 - )); - } - case 172 /* PropertyDeclaration */: - if (isPrivateIdentifier(input.name)) { - return cleanup( - /*returnValue*/ - void 0 - ); - } - return cleanup(factory2.updatePropertyDeclaration( - input, - ensureModifiers(input), - input.name, - input.questionToken, - ensureType(input, input.type), - ensureNoInitializer(input) - )); - case 171 /* PropertySignature */: - if (isPrivateIdentifier(input.name)) { - return cleanup( - /*returnValue*/ - void 0 - ); - } - return cleanup(factory2.updatePropertySignature( - input, - ensureModifiers(input), - input.name, - input.questionToken, - ensureType(input, input.type) - )); - case 173 /* MethodSignature */: { - if (isPrivateIdentifier(input.name)) { - return cleanup( - /*returnValue*/ - void 0 - ); - } - return cleanup(factory2.updateMethodSignature( - input, - ensureModifiers(input), - input.name, - input.questionToken, - ensureTypeParams(input, input.typeParameters), - updateParamsList(input, input.parameters), - ensureType(input, input.type) - )); - } - case 179 /* CallSignature */: { - return cleanup( - factory2.updateCallSignature( - input, - ensureTypeParams(input, input.typeParameters), - updateParamsList(input, input.parameters), - ensureType(input, input.type) - ) - ); - } - case 181 /* IndexSignature */: { - return cleanup(factory2.updateIndexSignature( - input, - ensureModifiers(input), - updateParamsList(input, input.parameters), - visitNode(input.type, visitDeclarationSubtree, isTypeNode) || factory2.createKeywordTypeNode(133 /* AnyKeyword */) - )); - } - case 260 /* VariableDeclaration */: { - if (isBindingPattern(input.name)) { - return recreateBindingPattern(input.name); - } - shouldEnterSuppressNewDiagnosticsContextContext = true; - suppressNewDiagnosticContexts = true; - return cleanup(factory2.updateVariableDeclaration( - input, - input.name, - /*exclamationToken*/ - void 0, - ensureType(input, input.type), - ensureNoInitializer(input) - )); - } - case 168 /* TypeParameter */: { - if (isPrivateMethodTypeParameter(input) && (input.default || input.constraint)) { - return cleanup(factory2.updateTypeParameterDeclaration( - input, - input.modifiers, - input.name, - /*constraint*/ - void 0, - /*defaultType*/ - void 0 - )); - } - return cleanup(visitEachChild(input, visitDeclarationSubtree, context)); - } - case 194 /* ConditionalType */: { - const checkType = visitNode(input.checkType, visitDeclarationSubtree, isTypeNode); - const extendsType = visitNode(input.extendsType, visitDeclarationSubtree, isTypeNode); - const oldEnclosingDecl = enclosingDeclaration; - enclosingDeclaration = input.trueType; - const trueType = visitNode(input.trueType, visitDeclarationSubtree, isTypeNode); - enclosingDeclaration = oldEnclosingDecl; - const falseType = visitNode(input.falseType, visitDeclarationSubtree, isTypeNode); - Debug.assert(checkType); - Debug.assert(extendsType); - Debug.assert(trueType); - Debug.assert(falseType); - return cleanup(factory2.updateConditionalTypeNode(input, checkType, extendsType, trueType, falseType)); - } - case 184 /* FunctionType */: { - return cleanup(factory2.updateFunctionTypeNode( - input, - visitNodes2(input.typeParameters, visitDeclarationSubtree, isTypeParameterDeclaration), - updateParamsList(input, input.parameters), - Debug.checkDefined(visitNode(input.type, visitDeclarationSubtree, isTypeNode)) - )); - } - case 185 /* ConstructorType */: { - return cleanup(factory2.updateConstructorTypeNode( - input, - ensureModifiers(input), - visitNodes2(input.typeParameters, visitDeclarationSubtree, isTypeParameterDeclaration), - updateParamsList(input, input.parameters), - Debug.checkDefined(visitNode(input.type, visitDeclarationSubtree, isTypeNode)) - )); - } - case 205 /* ImportType */: { - if (!isLiteralImportTypeNode(input)) return cleanup(input); - return cleanup(factory2.updateImportTypeNode( - input, - factory2.updateLiteralTypeNode(input.argument, rewriteModuleSpecifier(input, input.argument.literal)), - input.attributes, - input.qualifier, - visitNodes2(input.typeArguments, visitDeclarationSubtree, isTypeNode), - input.isTypeOf - )); - } - default: - Debug.assertNever(input, `Attempted to process unhandled node kind: ${Debug.formatSyntaxKind(input.kind)}`); - } - } - if (isTupleTypeNode(input) && getLineAndCharacterOfPosition(currentSourceFile, input.pos).line === getLineAndCharacterOfPosition(currentSourceFile, input.end).line) { - setEmitFlags(input, 1 /* SingleLine */); - } - return cleanup(visitEachChild(input, visitDeclarationSubtree, context)); - function cleanup(returnValue) { - if (returnValue && canProduceDiagnostic && hasDynamicName(input)) { - checkName(input); - } - if (isEnclosingDeclaration(input)) { - enclosingDeclaration = previousEnclosingDeclaration; - } - if (canProduceDiagnostic && !suppressNewDiagnosticContexts) { - getSymbolAccessibilityDiagnostic = oldDiag; - } - if (shouldEnterSuppressNewDiagnosticsContextContext) { - suppressNewDiagnosticContexts = oldWithinObjectLiteralType; - } - if (returnValue === input) { - return returnValue; - } - return returnValue && setOriginalNode(preserveJsDoc(returnValue, input), input); - } - } - function isPrivateMethodTypeParameter(node) { - return node.parent.kind === 174 /* MethodDeclaration */ && hasEffectiveModifier(node.parent, 2 /* Private */); - } - function visitDeclarationStatements(input) { - if (!isPreservedDeclarationStatement(input)) { - return; - } - if (shouldStripInternal(input)) return; - switch (input.kind) { - case 278 /* ExportDeclaration */: { - if (isSourceFile(input.parent)) { - resultHasExternalModuleIndicator = true; - } - resultHasScopeMarker = true; - return factory2.updateExportDeclaration( - input, - input.modifiers, - input.isTypeOnly, - input.exportClause, - rewriteModuleSpecifier(input, input.moduleSpecifier), - tryGetResolutionModeOverride(input.attributes) - ); - } - case 277 /* ExportAssignment */: { - if (isSourceFile(input.parent)) { - resultHasExternalModuleIndicator = true; - } - resultHasScopeMarker = true; - if (input.expression.kind === 80 /* Identifier */) { - return input; - } else { - const newId = factory2.createUniqueName("_default", 16 /* Optimistic */); - getSymbolAccessibilityDiagnostic = () => ({ - diagnosticMessage: Diagnostics.Default_export_of_the_module_has_or_is_using_private_name_0, - errorNode: input - }); - errorFallbackNode = input; - const varDecl = factory2.createVariableDeclaration( - newId, - /*exclamationToken*/ - void 0, - resolver.createTypeOfExpression(input.expression, input, declarationEmitNodeBuilderFlags, declarationEmitInternalNodeBuilderFlags, symbolTracker), - /*initializer*/ - void 0 - ); - errorFallbackNode = void 0; - const statement = factory2.createVariableStatement(needsDeclare ? [factory2.createModifier(138 /* DeclareKeyword */)] : [], factory2.createVariableDeclarationList([varDecl], 2 /* Const */)); - preserveJsDoc(statement, input); - removeAllComments(input); - return [statement, factory2.updateExportAssignment(input, input.modifiers, newId)]; - } - } - } - const result = transformTopLevelDeclaration(input); - lateStatementReplacementMap.set(getOriginalNodeId(input), result); - return input; - } - function stripExportModifiers(statement) { - if (isImportEqualsDeclaration(statement) || hasEffectiveModifier(statement, 2048 /* Default */) || !canHaveModifiers(statement)) { - return statement; - } - const modifiers = factory2.createModifiersFromModifierFlags(getEffectiveModifierFlags(statement) & (131071 /* All */ ^ 32 /* Export */)); - return factory2.replaceModifiers(statement, modifiers); - } - function updateModuleDeclarationAndKeyword(node, modifiers, name, body) { - const updated = factory2.updateModuleDeclaration(node, modifiers, name, body); - if (isAmbientModule(updated) || updated.flags & 32 /* Namespace */) { - return updated; - } - const fixed = factory2.createModuleDeclaration( - updated.modifiers, - updated.name, - updated.body, - updated.flags | 32 /* Namespace */ - ); - setOriginalNode(fixed, updated); - setTextRange(fixed, updated); - return fixed; - } - function transformTopLevelDeclaration(input) { - if (lateMarkedStatements) { - while (orderedRemoveItem(lateMarkedStatements, input)) ; - } - if (shouldStripInternal(input)) return; - switch (input.kind) { - case 271 /* ImportEqualsDeclaration */: { - return transformImportEqualsDeclaration(input); - } - case 272 /* ImportDeclaration */: { - return transformImportDeclaration(input); - } - } - if (isDeclaration(input) && isDeclarationAndNotVisible(input)) return; - if (isJSDocImportTag(input)) return; - if (isFunctionLike(input) && resolver.isImplementationOfOverload(input)) return; - let previousEnclosingDeclaration; - if (isEnclosingDeclaration(input)) { - previousEnclosingDeclaration = enclosingDeclaration; - enclosingDeclaration = input; - } - const canProdiceDiagnostic = canProduceDiagnostics(input); - const oldDiag = getSymbolAccessibilityDiagnostic; - if (canProdiceDiagnostic) { - getSymbolAccessibilityDiagnostic = createGetSymbolAccessibilityDiagnosticForNode(input); - } - const previousNeedsDeclare = needsDeclare; - switch (input.kind) { - case 265 /* TypeAliasDeclaration */: { - needsDeclare = false; - const clean2 = cleanup(factory2.updateTypeAliasDeclaration( - input, - ensureModifiers(input), - input.name, - visitNodes2(input.typeParameters, visitDeclarationSubtree, isTypeParameterDeclaration), - Debug.checkDefined(visitNode(input.type, visitDeclarationSubtree, isTypeNode)) - )); - needsDeclare = previousNeedsDeclare; - return clean2; - } - case 264 /* InterfaceDeclaration */: { - return cleanup(factory2.updateInterfaceDeclaration( - input, - ensureModifiers(input), - input.name, - ensureTypeParams(input, input.typeParameters), - transformHeritageClauses(input.heritageClauses), - visitNodes2(input.members, visitDeclarationSubtree, isTypeElement) - )); - } - case 262 /* FunctionDeclaration */: { - const clean2 = cleanup(factory2.updateFunctionDeclaration( - input, - ensureModifiers(input), - /*asteriskToken*/ - void 0, - input.name, - ensureTypeParams(input, input.typeParameters), - updateParamsList(input, input.parameters), - ensureType(input, input.type), - /*body*/ - void 0 - )); - if (clean2 && resolver.isExpandoFunctionDeclaration(input) && shouldEmitFunctionProperties(input)) { - const props = resolver.getPropertiesOfContainerFunction(input); - if (isolatedDeclarations) { - reportExpandoFunctionErrors(input); - } - const fakespace = parseNodeFactory.createModuleDeclaration( - /*modifiers*/ - void 0, - clean2.name || factory2.createIdentifier("_default"), - factory2.createModuleBlock([]), - 32 /* Namespace */ - ); - setParent(fakespace, enclosingDeclaration); - fakespace.locals = createSymbolTable(props); - fakespace.symbol = props[0].parent; - const exportMappings = []; - let declarations = mapDefined(props, (p) => { - if (!isExpandoPropertyDeclaration(p.valueDeclaration)) { - return void 0; - } - const nameStr = unescapeLeadingUnderscores(p.escapedName); - if (!isIdentifierText(nameStr, 99 /* ESNext */)) { - return void 0; - } - getSymbolAccessibilityDiagnostic = createGetSymbolAccessibilityDiagnosticForNode(p.valueDeclaration); - const type = resolver.createTypeOfDeclaration(p.valueDeclaration, fakespace, declarationEmitNodeBuilderFlags, declarationEmitInternalNodeBuilderFlags | 2 /* NoSyntacticPrinter */, symbolTracker); - getSymbolAccessibilityDiagnostic = oldDiag; - const isNonContextualKeywordName = isStringANonContextualKeyword(nameStr); - const name = isNonContextualKeywordName ? factory2.getGeneratedNameForNode(p.valueDeclaration) : factory2.createIdentifier(nameStr); - if (isNonContextualKeywordName) { - exportMappings.push([name, nameStr]); - } - const varDecl = factory2.createVariableDeclaration( - name, - /*exclamationToken*/ - void 0, - type, - /*initializer*/ - void 0 - ); - return factory2.createVariableStatement(isNonContextualKeywordName ? void 0 : [factory2.createToken(95 /* ExportKeyword */)], factory2.createVariableDeclarationList([varDecl])); - }); - if (!exportMappings.length) { - declarations = mapDefined(declarations, (declaration) => factory2.replaceModifiers(declaration, 0 /* None */)); - } else { - declarations.push(factory2.createExportDeclaration( - /*modifiers*/ - void 0, - /*isTypeOnly*/ - false, - factory2.createNamedExports(map(exportMappings, ([gen, exp]) => { - return factory2.createExportSpecifier( - /*isTypeOnly*/ - false, - gen, - exp - ); - })) - )); - } - const namespaceDecl = factory2.createModuleDeclaration(ensureModifiers(input), input.name, factory2.createModuleBlock(declarations), 32 /* Namespace */); - if (!hasEffectiveModifier(clean2, 2048 /* Default */)) { - return [clean2, namespaceDecl]; - } - const modifiers = factory2.createModifiersFromModifierFlags(getEffectiveModifierFlags(clean2) & ~2080 /* ExportDefault */ | 128 /* Ambient */); - const cleanDeclaration = factory2.updateFunctionDeclaration( - clean2, - modifiers, - /*asteriskToken*/ - void 0, - clean2.name, - clean2.typeParameters, - clean2.parameters, - clean2.type, - /*body*/ - void 0 - ); - const namespaceDeclaration = factory2.updateModuleDeclaration( - namespaceDecl, - modifiers, - namespaceDecl.name, - namespaceDecl.body - ); - const exportDefaultDeclaration = factory2.createExportAssignment( - /*modifiers*/ - void 0, - /*isExportEquals*/ - false, - namespaceDecl.name - ); - if (isSourceFile(input.parent)) { - resultHasExternalModuleIndicator = true; - } - resultHasScopeMarker = true; - return [cleanDeclaration, namespaceDeclaration, exportDefaultDeclaration]; - } else { - return clean2; - } - } - case 267 /* ModuleDeclaration */: { - needsDeclare = false; - const inner = input.body; - if (inner && inner.kind === 268 /* ModuleBlock */) { - const oldNeedsScopeFix = needsScopeFixMarker; - const oldHasScopeFix = resultHasScopeMarker; - resultHasScopeMarker = false; - needsScopeFixMarker = false; - const statements = visitNodes2(inner.statements, visitDeclarationStatements, isStatement); - let lateStatements = transformAndReplaceLatePaintedStatements(statements); - if (input.flags & 33554432 /* Ambient */) { - needsScopeFixMarker = false; - } - if (!isGlobalScopeAugmentation(input) && !hasScopeMarker2(lateStatements) && !resultHasScopeMarker) { - if (needsScopeFixMarker) { - lateStatements = factory2.createNodeArray([...lateStatements, createEmptyExports(factory2)]); - } else { - lateStatements = visitNodes2(lateStatements, stripExportModifiers, isStatement); - } - } - const body = factory2.updateModuleBlock(inner, lateStatements); - needsDeclare = previousNeedsDeclare; - needsScopeFixMarker = oldNeedsScopeFix; - resultHasScopeMarker = oldHasScopeFix; - const mods = ensureModifiers(input); - return cleanup(updateModuleDeclarationAndKeyword( - input, - mods, - isExternalModuleAugmentation(input) ? rewriteModuleSpecifier(input, input.name) : input.name, - body - )); - } else { - needsDeclare = previousNeedsDeclare; - const mods = ensureModifiers(input); - needsDeclare = false; - visitNode(inner, visitDeclarationStatements); - const id = getOriginalNodeId(inner); - const body = lateStatementReplacementMap.get(id); - lateStatementReplacementMap.delete(id); - return cleanup(updateModuleDeclarationAndKeyword( - input, - mods, - input.name, - body - )); - } - } - case 263 /* ClassDeclaration */: { - errorNameNode = input.name; - errorFallbackNode = input; - const modifiers = factory2.createNodeArray(ensureModifiers(input)); - const typeParameters = ensureTypeParams(input, input.typeParameters); - const ctor = getFirstConstructorWithBody(input); - let parameterProperties; - if (ctor) { - const oldDiag2 = getSymbolAccessibilityDiagnostic; - parameterProperties = compact(flatMap(ctor.parameters, (param) => { - if (!hasSyntacticModifier(param, 31 /* ParameterPropertyModifier */) || shouldStripInternal(param)) return; - getSymbolAccessibilityDiagnostic = createGetSymbolAccessibilityDiagnosticForNode(param); - if (param.name.kind === 80 /* Identifier */) { - return preserveJsDoc( - factory2.createPropertyDeclaration( - ensureModifiers(param), - param.name, - param.questionToken, - ensureType(param, param.type), - ensureNoInitializer(param) - ), - param - ); - } else { - return walkBindingPattern(param.name); - } - function walkBindingPattern(pattern) { - let elems; - for (const elem of pattern.elements) { - if (isOmittedExpression(elem)) continue; - if (isBindingPattern(elem.name)) { - elems = concatenate(elems, walkBindingPattern(elem.name)); - } - elems = elems || []; - elems.push(factory2.createPropertyDeclaration( - ensureModifiers(param), - elem.name, - /*questionOrExclamationToken*/ - void 0, - ensureType( - elem, - /*type*/ - void 0 - ), - /*initializer*/ - void 0 - )); - } - return elems; - } - })); - getSymbolAccessibilityDiagnostic = oldDiag2; - } - const hasPrivateIdentifier = some(input.members, (member) => !!member.name && isPrivateIdentifier(member.name)); - const privateIdentifier = hasPrivateIdentifier ? [ - factory2.createPropertyDeclaration( - /*modifiers*/ - void 0, - factory2.createPrivateIdentifier("#private"), - /*questionOrExclamationToken*/ - void 0, - /*type*/ - void 0, - /*initializer*/ - void 0 - ) - ] : void 0; - const memberNodes = concatenate(concatenate(privateIdentifier, parameterProperties), visitNodes2(input.members, visitDeclarationSubtree, isClassElement)); - const members = factory2.createNodeArray(memberNodes); - const extendsClause = getEffectiveBaseTypeNode(input); - if (extendsClause && !isEntityNameExpression(extendsClause.expression) && extendsClause.expression.kind !== 106 /* NullKeyword */) { - const oldId = input.name ? unescapeLeadingUnderscores(input.name.escapedText) : "default"; - const newId = factory2.createUniqueName(`${oldId}_base`, 16 /* Optimistic */); - getSymbolAccessibilityDiagnostic = () => ({ - diagnosticMessage: Diagnostics.extends_clause_of_exported_class_0_has_or_is_using_private_name_1, - errorNode: extendsClause, - typeName: input.name - }); - const varDecl = factory2.createVariableDeclaration( - newId, - /*exclamationToken*/ - void 0, - resolver.createTypeOfExpression(extendsClause.expression, input, declarationEmitNodeBuilderFlags, declarationEmitInternalNodeBuilderFlags, symbolTracker), - /*initializer*/ - void 0 - ); - const statement = factory2.createVariableStatement(needsDeclare ? [factory2.createModifier(138 /* DeclareKeyword */)] : [], factory2.createVariableDeclarationList([varDecl], 2 /* Const */)); - const heritageClauses = factory2.createNodeArray(map(input.heritageClauses, (clause) => { - if (clause.token === 96 /* ExtendsKeyword */) { - const oldDiag2 = getSymbolAccessibilityDiagnostic; - getSymbolAccessibilityDiagnostic = createGetSymbolAccessibilityDiagnosticForNode(clause.types[0]); - const newClause = factory2.updateHeritageClause(clause, map(clause.types, (t) => factory2.updateExpressionWithTypeArguments(t, newId, visitNodes2(t.typeArguments, visitDeclarationSubtree, isTypeNode)))); - getSymbolAccessibilityDiagnostic = oldDiag2; - return newClause; - } - return factory2.updateHeritageClause(clause, visitNodes2(factory2.createNodeArray(filter(clause.types, (t) => isEntityNameExpression(t.expression) || t.expression.kind === 106 /* NullKeyword */)), visitDeclarationSubtree, isExpressionWithTypeArguments)); - })); - return [ - statement, - cleanup(factory2.updateClassDeclaration( - input, - modifiers, - input.name, - typeParameters, - heritageClauses, - members - )) - ]; - } else { - const heritageClauses = transformHeritageClauses(input.heritageClauses); - return cleanup(factory2.updateClassDeclaration( - input, - modifiers, - input.name, - typeParameters, - heritageClauses, - members - )); - } - } - case 243 /* VariableStatement */: { - return cleanup(transformVariableStatement(input)); - } - case 266 /* EnumDeclaration */: { - return cleanup(factory2.updateEnumDeclaration( - input, - factory2.createNodeArray(ensureModifiers(input)), - input.name, - factory2.createNodeArray(mapDefined(input.members, (m) => { - if (shouldStripInternal(m)) return; - const enumValue = resolver.getEnumMemberValue(m); - const constValue = enumValue == null ? void 0 : enumValue.value; - if (isolatedDeclarations && m.initializer && (enumValue == null ? void 0 : enumValue.hasExternalReferences) && // This will be its own compiler error instead, so don't report. - !isComputedPropertyName(m.name)) { - context.addDiagnostic(createDiagnosticForNode(m, Diagnostics.Enum_member_initializers_must_be_computable_without_references_to_external_symbols_with_isolatedDeclarations)); - } - const newInitializer = constValue === void 0 ? void 0 : typeof constValue === "string" ? factory2.createStringLiteral(constValue) : constValue < 0 ? factory2.createPrefixUnaryExpression(41 /* MinusToken */, factory2.createNumericLiteral(-constValue)) : factory2.createNumericLiteral(constValue); - return preserveJsDoc(factory2.updateEnumMember(m, m.name, newInitializer), m); - })) - )); - } - } - return Debug.assertNever(input, `Unhandled top-level node in declaration emit: ${Debug.formatSyntaxKind(input.kind)}`); - function cleanup(node) { - if (isEnclosingDeclaration(input)) { - enclosingDeclaration = previousEnclosingDeclaration; - } - if (canProdiceDiagnostic) { - getSymbolAccessibilityDiagnostic = oldDiag; - } - if (input.kind === 267 /* ModuleDeclaration */) { - needsDeclare = previousNeedsDeclare; - } - if (node === input) { - return node; - } - errorFallbackNode = void 0; - errorNameNode = void 0; - return node && setOriginalNode(preserveJsDoc(node, input), input); - } - } - function transformVariableStatement(input) { - if (!forEach(input.declarationList.declarations, getBindingNameVisible)) return; - const nodes = visitNodes2(input.declarationList.declarations, visitDeclarationSubtree, isVariableDeclaration); - if (!length(nodes)) return; - const modifiers = factory2.createNodeArray(ensureModifiers(input)); - let declList; - if (isVarUsing(input.declarationList) || isVarAwaitUsing(input.declarationList)) { - declList = factory2.createVariableDeclarationList(nodes, 2 /* Const */); - setOriginalNode(declList, input.declarationList); - setTextRange(declList, input.declarationList); - setCommentRange(declList, input.declarationList); - } else { - declList = factory2.updateVariableDeclarationList(input.declarationList, nodes); - } - return factory2.updateVariableStatement(input, modifiers, declList); - } - function recreateBindingPattern(d) { - return flatten(mapDefined(d.elements, (e) => recreateBindingElement(e))); - } - function recreateBindingElement(e) { - if (e.kind === 232 /* OmittedExpression */) { - return; - } - if (e.name) { - if (!getBindingNameVisible(e)) return; - if (isBindingPattern(e.name)) { - return recreateBindingPattern(e.name); - } else { - return factory2.createVariableDeclaration( - e.name, - /*exclamationToken*/ - void 0, - ensureType( - e, - /*type*/ - void 0 - ), - /*initializer*/ - void 0 - ); - } - } - } - function checkName(node) { - let oldDiag; - if (!suppressNewDiagnosticContexts) { - oldDiag = getSymbolAccessibilityDiagnostic; - getSymbolAccessibilityDiagnostic = createGetSymbolAccessibilityDiagnosticForNodeName(node); - } - errorNameNode = node.name; - Debug.assert(hasDynamicName(node)); - const decl = node; - const entityName = decl.name.expression; - checkEntityNameVisibility(entityName, enclosingDeclaration); - if (!suppressNewDiagnosticContexts) { - getSymbolAccessibilityDiagnostic = oldDiag; - } - errorNameNode = void 0; - } - function shouldStripInternal(node) { - return !!stripInternal && !!node && isInternalDeclaration(node, currentSourceFile); - } - function isScopeMarker2(node) { - return isExportAssignment(node) || isExportDeclaration(node); - } - function hasScopeMarker2(statements) { - return some(statements, isScopeMarker2); - } - function ensureModifiers(node) { - const currentFlags = getEffectiveModifierFlags(node); - const newFlags = ensureModifierFlags(node); - if (currentFlags === newFlags) { - return visitArray(node.modifiers, (n) => tryCast(n, isModifier), isModifier); - } - return factory2.createModifiersFromModifierFlags(newFlags); - } - function ensureModifierFlags(node) { - let mask = 131071 /* All */ ^ (1 /* Public */ | 1024 /* Async */ | 16 /* Override */); - let additions = needsDeclare && !isAlwaysType(node) ? 128 /* Ambient */ : 0 /* None */; - const parentIsFile = node.parent.kind === 307 /* SourceFile */; - if (!parentIsFile || isBundledEmit && parentIsFile && isExternalModule(node.parent)) { - mask ^= 128 /* Ambient */; - additions = 0 /* None */; - } - return maskModifierFlags(node, mask, additions); - } - function getTypeAnnotationFromAllAccessorDeclarations(node, accessors) { - let accessorType = getTypeAnnotationFromAccessor(node); - if (!accessorType && node !== accessors.firstAccessor) { - accessorType = getTypeAnnotationFromAccessor(accessors.firstAccessor); - getSymbolAccessibilityDiagnostic = createGetSymbolAccessibilityDiagnosticForNode(accessors.firstAccessor); - } - if (!accessorType && accessors.secondAccessor && node !== accessors.secondAccessor) { - accessorType = getTypeAnnotationFromAccessor(accessors.secondAccessor); - getSymbolAccessibilityDiagnostic = createGetSymbolAccessibilityDiagnosticForNode(accessors.secondAccessor); - } - return accessorType; - } - function transformHeritageClauses(nodes) { - return factory2.createNodeArray(filter( - map(nodes, (clause) => factory2.updateHeritageClause( - clause, - visitNodes2( - factory2.createNodeArray(filter(clause.types, (t) => { - return isEntityNameExpression(t.expression) || clause.token === 96 /* ExtendsKeyword */ && t.expression.kind === 106 /* NullKeyword */; - })), - visitDeclarationSubtree, - isExpressionWithTypeArguments - ) - )), - (clause) => clause.types && !!clause.types.length - )); - } -} -function isAlwaysType(node) { - if (node.kind === 264 /* InterfaceDeclaration */) { - return true; - } - return false; -} -function maskModifiers(factory2, node, modifierMask, modifierAdditions) { - return factory2.createModifiersFromModifierFlags(maskModifierFlags(node, modifierMask, modifierAdditions)); -} -function maskModifierFlags(node, modifierMask = 131071 /* All */ ^ 1 /* Public */, modifierAdditions = 0 /* None */) { - let flags = getEffectiveModifierFlags(node) & modifierMask | modifierAdditions; - if (flags & 2048 /* Default */ && !(flags & 32 /* Export */)) { - flags ^= 32 /* Export */; - } - if (flags & 2048 /* Default */ && flags & 128 /* Ambient */) { - flags ^= 128 /* Ambient */; - } - return flags; -} -function getTypeAnnotationFromAccessor(accessor) { - if (accessor) { - return accessor.kind === 177 /* GetAccessor */ ? accessor.type : accessor.parameters.length > 0 ? accessor.parameters[0].type : void 0; - } -} -function canHaveLiteralInitializer(node) { - switch (node.kind) { - case 172 /* PropertyDeclaration */: - case 171 /* PropertySignature */: - return !hasEffectiveModifier(node, 2 /* Private */); - case 169 /* Parameter */: - case 260 /* VariableDeclaration */: - return true; - } - return false; -} -function isPreservedDeclarationStatement(node) { - switch (node.kind) { - case 262 /* FunctionDeclaration */: - case 267 /* ModuleDeclaration */: - case 271 /* ImportEqualsDeclaration */: - case 264 /* InterfaceDeclaration */: - case 263 /* ClassDeclaration */: - case 265 /* TypeAliasDeclaration */: - case 266 /* EnumDeclaration */: - case 243 /* VariableStatement */: - case 272 /* ImportDeclaration */: - case 278 /* ExportDeclaration */: - case 277 /* ExportAssignment */: - return true; - } - return false; -} -function isProcessedComponent(node) { - switch (node.kind) { - case 180 /* ConstructSignature */: - case 176 /* Constructor */: - case 174 /* MethodDeclaration */: - case 177 /* GetAccessor */: - case 178 /* SetAccessor */: - case 172 /* PropertyDeclaration */: - case 171 /* PropertySignature */: - case 173 /* MethodSignature */: - case 179 /* CallSignature */: - case 181 /* IndexSignature */: - case 260 /* VariableDeclaration */: - case 168 /* TypeParameter */: - case 233 /* ExpressionWithTypeArguments */: - case 183 /* TypeReference */: - case 194 /* ConditionalType */: - case 184 /* FunctionType */: - case 185 /* ConstructorType */: - case 205 /* ImportType */: - return true; - } - return false; -} - -// src/compiler/transformer.ts -function getModuleTransformer(moduleKind) { - switch (moduleKind) { - case 200 /* Preserve */: - return transformECMAScriptModule; - case 99 /* ESNext */: - case 7 /* ES2022 */: - case 6 /* ES2020 */: - case 5 /* ES2015 */: - case 100 /* Node16 */: - case 199 /* NodeNext */: - case 1 /* CommonJS */: - return transformImpliedNodeFormatDependentModule; - case 4 /* System */: - return transformSystemModule; - default: - return transformModule; - } -} -var noTransformers = { scriptTransformers: emptyArray, declarationTransformers: emptyArray }; -function getTransformers(compilerOptions, customTransformers, emitOnly) { - return { - scriptTransformers: getScriptTransformers(compilerOptions, customTransformers, emitOnly), - declarationTransformers: getDeclarationTransformers(customTransformers) - }; -} -function getScriptTransformers(compilerOptions, customTransformers, emitOnly) { - if (emitOnly) return emptyArray; - const languageVersion = getEmitScriptTarget(compilerOptions); - const moduleKind = getEmitModuleKind(compilerOptions); - const useDefineForClassFields = getUseDefineForClassFields(compilerOptions); - const transformers = []; - addRange(transformers, customTransformers && map(customTransformers.before, wrapScriptTransformerFactory)); - transformers.push(transformTypeScript); - if (compilerOptions.experimentalDecorators) { - transformers.push(transformLegacyDecorators); - } - if (getJSXTransformEnabled(compilerOptions)) { - transformers.push(transformJsx); - } - if (languageVersion < 99 /* ESNext */) { - transformers.push(transformESNext); - } - if (!compilerOptions.experimentalDecorators && (languageVersion < 99 /* ESNext */ || !useDefineForClassFields)) { - transformers.push(transformESDecorators); - } - transformers.push(transformClassFields); - if (languageVersion < 8 /* ES2021 */) { - transformers.push(transformES2021); - } - if (languageVersion < 7 /* ES2020 */) { - transformers.push(transformES2020); - } - if (languageVersion < 6 /* ES2019 */) { - transformers.push(transformES2019); - } - if (languageVersion < 5 /* ES2018 */) { - transformers.push(transformES2018); - } - if (languageVersion < 4 /* ES2017 */) { - transformers.push(transformES2017); - } - if (languageVersion < 3 /* ES2016 */) { - transformers.push(transformES2016); - } - if (languageVersion < 2 /* ES2015 */) { - transformers.push(transformES2015); - transformers.push(transformGenerators); - } - transformers.push(getModuleTransformer(moduleKind)); - addRange(transformers, customTransformers && map(customTransformers.after, wrapScriptTransformerFactory)); - return transformers; -} -function getDeclarationTransformers(customTransformers) { - const transformers = []; - transformers.push(transformDeclarations); - addRange(transformers, customTransformers && map(customTransformers.afterDeclarations, wrapDeclarationTransformerFactory)); - return transformers; -} -function wrapCustomTransformer(transformer) { - return (node) => isBundle(node) ? transformer.transformBundle(node) : transformer.transformSourceFile(node); -} -function wrapCustomTransformerFactory(transformer, handleDefault) { - return (context) => { - const customTransformer = transformer(context); - return typeof customTransformer === "function" ? handleDefault(context, customTransformer) : wrapCustomTransformer(customTransformer); - }; -} -function wrapScriptTransformerFactory(transformer) { - return wrapCustomTransformerFactory(transformer, chainBundle); -} -function wrapDeclarationTransformerFactory(transformer) { - return wrapCustomTransformerFactory(transformer, (_, node) => node); -} -function noEmitSubstitution(_hint, node) { - return node; -} -function noEmitNotification(hint, node, callback) { - callback(hint, node); -} -function transformNodes(resolver, host, factory2, options, nodes, transformers, allowDtsFiles) { - var _a, _b; - const enabledSyntaxKindFeatures = new Array(357 /* Count */); - let lexicalEnvironmentVariableDeclarations; - let lexicalEnvironmentFunctionDeclarations; - let lexicalEnvironmentStatements; - let lexicalEnvironmentFlags = 0 /* None */; - let lexicalEnvironmentVariableDeclarationsStack = []; - let lexicalEnvironmentFunctionDeclarationsStack = []; - let lexicalEnvironmentStatementsStack = []; - let lexicalEnvironmentFlagsStack = []; - let lexicalEnvironmentStackOffset = 0; - let lexicalEnvironmentSuspended = false; - let blockScopedVariableDeclarationsStack = []; - let blockScopeStackOffset = 0; - let blockScopedVariableDeclarations; - let emitHelpers; - let onSubstituteNode = noEmitSubstitution; - let onEmitNode = noEmitNotification; - let state = 0 /* Uninitialized */; - const diagnostics = []; - const context = { - factory: factory2, - getCompilerOptions: () => options, - getEmitResolver: () => resolver, - // TODO: GH#18217 - getEmitHost: () => host, - // TODO: GH#18217 - getEmitHelperFactory: memoize(() => createEmitHelperFactory(context)), - startLexicalEnvironment, - suspendLexicalEnvironment, - resumeLexicalEnvironment, - endLexicalEnvironment, - setLexicalEnvironmentFlags, - getLexicalEnvironmentFlags, - hoistVariableDeclaration, - hoistFunctionDeclaration, - addInitializationStatement, - startBlockScope, - endBlockScope, - addBlockScopedVariable, - requestEmitHelper, - readEmitHelpers, - enableSubstitution, - enableEmitNotification, - isSubstitutionEnabled, - isEmitNotificationEnabled, - get onSubstituteNode() { - return onSubstituteNode; - }, - set onSubstituteNode(value) { - Debug.assert(state < 1 /* Initialized */, "Cannot modify transformation hooks after initialization has completed."); - Debug.assert(value !== void 0, "Value must not be 'undefined'"); - onSubstituteNode = value; - }, - get onEmitNode() { - return onEmitNode; - }, - set onEmitNode(value) { - Debug.assert(state < 1 /* Initialized */, "Cannot modify transformation hooks after initialization has completed."); - Debug.assert(value !== void 0, "Value must not be 'undefined'"); - onEmitNode = value; - }, - addDiagnostic(diag2) { - diagnostics.push(diag2); - } - }; - for (const node of nodes) { - disposeEmitNodes(getSourceFileOfNode(getParseTreeNode(node))); - } - mark("beforeTransform"); - const transformersWithContext = transformers.map((t) => t(context)); - const transformation = (node) => { - for (const transform of transformersWithContext) { - node = transform(node); - } - return node; - }; - state = 1 /* Initialized */; - const transformed = []; - for (const node of nodes) { - (_a = tracing) == null ? void 0 : _a.push(tracing.Phase.Emit, "transformNodes", node.kind === 307 /* SourceFile */ ? { path: node.path } : { kind: node.kind, pos: node.pos, end: node.end }); - transformed.push((allowDtsFiles ? transformation : transformRoot)(node)); - (_b = tracing) == null ? void 0 : _b.pop(); - } - state = 2 /* Completed */; - mark("afterTransform"); - measure("transformTime", "beforeTransform", "afterTransform"); - return { - transformed, - substituteNode, - emitNodeWithNotification, - isEmitNotificationEnabled, - dispose, - diagnostics - }; - function transformRoot(node) { - return node && (!isSourceFile(node) || !node.isDeclarationFile) ? transformation(node) : node; - } - function enableSubstitution(kind) { - Debug.assert(state < 2 /* Completed */, "Cannot modify the transformation context after transformation has completed."); - enabledSyntaxKindFeatures[kind] |= 1 /* Substitution */; - } - function isSubstitutionEnabled(node) { - return (enabledSyntaxKindFeatures[node.kind] & 1 /* Substitution */) !== 0 && (getEmitFlags(node) & 8 /* NoSubstitution */) === 0; - } - function substituteNode(hint, node) { - Debug.assert(state < 3 /* Disposed */, "Cannot substitute a node after the result is disposed."); - return node && isSubstitutionEnabled(node) && onSubstituteNode(hint, node) || node; - } - function enableEmitNotification(kind) { - Debug.assert(state < 2 /* Completed */, "Cannot modify the transformation context after transformation has completed."); - enabledSyntaxKindFeatures[kind] |= 2 /* EmitNotifications */; - } - function isEmitNotificationEnabled(node) { - return (enabledSyntaxKindFeatures[node.kind] & 2 /* EmitNotifications */) !== 0 || (getEmitFlags(node) & 4 /* AdviseOnEmitNode */) !== 0; - } - function emitNodeWithNotification(hint, node, emitCallback) { - Debug.assert(state < 3 /* Disposed */, "Cannot invoke TransformationResult callbacks after the result is disposed."); - if (node) { - if (isEmitNotificationEnabled(node)) { - onEmitNode(hint, node, emitCallback); - } else { - emitCallback(hint, node); - } - } - } - function hoistVariableDeclaration(name) { - Debug.assert(state > 0 /* Uninitialized */, "Cannot modify the lexical environment during initialization."); - Debug.assert(state < 2 /* Completed */, "Cannot modify the lexical environment after transformation has completed."); - const decl = setEmitFlags(factory2.createVariableDeclaration(name), 128 /* NoNestedSourceMaps */); - if (!lexicalEnvironmentVariableDeclarations) { - lexicalEnvironmentVariableDeclarations = [decl]; - } else { - lexicalEnvironmentVariableDeclarations.push(decl); - } - if (lexicalEnvironmentFlags & 1 /* InParameters */) { - lexicalEnvironmentFlags |= 2 /* VariablesHoistedInParameters */; - } - } - function hoistFunctionDeclaration(func) { - Debug.assert(state > 0 /* Uninitialized */, "Cannot modify the lexical environment during initialization."); - Debug.assert(state < 2 /* Completed */, "Cannot modify the lexical environment after transformation has completed."); - setEmitFlags(func, 2097152 /* CustomPrologue */); - if (!lexicalEnvironmentFunctionDeclarations) { - lexicalEnvironmentFunctionDeclarations = [func]; - } else { - lexicalEnvironmentFunctionDeclarations.push(func); - } - } - function addInitializationStatement(node) { - Debug.assert(state > 0 /* Uninitialized */, "Cannot modify the lexical environment during initialization."); - Debug.assert(state < 2 /* Completed */, "Cannot modify the lexical environment after transformation has completed."); - setEmitFlags(node, 2097152 /* CustomPrologue */); - if (!lexicalEnvironmentStatements) { - lexicalEnvironmentStatements = [node]; - } else { - lexicalEnvironmentStatements.push(node); - } - } - function startLexicalEnvironment() { - Debug.assert(state > 0 /* Uninitialized */, "Cannot modify the lexical environment during initialization."); - Debug.assert(state < 2 /* Completed */, "Cannot modify the lexical environment after transformation has completed."); - Debug.assert(!lexicalEnvironmentSuspended, "Lexical environment is suspended."); - lexicalEnvironmentVariableDeclarationsStack[lexicalEnvironmentStackOffset] = lexicalEnvironmentVariableDeclarations; - lexicalEnvironmentFunctionDeclarationsStack[lexicalEnvironmentStackOffset] = lexicalEnvironmentFunctionDeclarations; - lexicalEnvironmentStatementsStack[lexicalEnvironmentStackOffset] = lexicalEnvironmentStatements; - lexicalEnvironmentFlagsStack[lexicalEnvironmentStackOffset] = lexicalEnvironmentFlags; - lexicalEnvironmentStackOffset++; - lexicalEnvironmentVariableDeclarations = void 0; - lexicalEnvironmentFunctionDeclarations = void 0; - lexicalEnvironmentStatements = void 0; - lexicalEnvironmentFlags = 0 /* None */; - } - function suspendLexicalEnvironment() { - Debug.assert(state > 0 /* Uninitialized */, "Cannot modify the lexical environment during initialization."); - Debug.assert(state < 2 /* Completed */, "Cannot modify the lexical environment after transformation has completed."); - Debug.assert(!lexicalEnvironmentSuspended, "Lexical environment is already suspended."); - lexicalEnvironmentSuspended = true; - } - function resumeLexicalEnvironment() { - Debug.assert(state > 0 /* Uninitialized */, "Cannot modify the lexical environment during initialization."); - Debug.assert(state < 2 /* Completed */, "Cannot modify the lexical environment after transformation has completed."); - Debug.assert(lexicalEnvironmentSuspended, "Lexical environment is not suspended."); - lexicalEnvironmentSuspended = false; - } - function endLexicalEnvironment() { - Debug.assert(state > 0 /* Uninitialized */, "Cannot modify the lexical environment during initialization."); - Debug.assert(state < 2 /* Completed */, "Cannot modify the lexical environment after transformation has completed."); - Debug.assert(!lexicalEnvironmentSuspended, "Lexical environment is suspended."); - let statements; - if (lexicalEnvironmentVariableDeclarations || lexicalEnvironmentFunctionDeclarations || lexicalEnvironmentStatements) { - if (lexicalEnvironmentFunctionDeclarations) { - statements = [...lexicalEnvironmentFunctionDeclarations]; - } - if (lexicalEnvironmentVariableDeclarations) { - const statement = factory2.createVariableStatement( - /*modifiers*/ - void 0, - factory2.createVariableDeclarationList(lexicalEnvironmentVariableDeclarations) - ); - setEmitFlags(statement, 2097152 /* CustomPrologue */); - if (!statements) { - statements = [statement]; - } else { - statements.push(statement); - } - } - if (lexicalEnvironmentStatements) { - if (!statements) { - statements = [...lexicalEnvironmentStatements]; - } else { - statements = [...statements, ...lexicalEnvironmentStatements]; - } - } - } - lexicalEnvironmentStackOffset--; - lexicalEnvironmentVariableDeclarations = lexicalEnvironmentVariableDeclarationsStack[lexicalEnvironmentStackOffset]; - lexicalEnvironmentFunctionDeclarations = lexicalEnvironmentFunctionDeclarationsStack[lexicalEnvironmentStackOffset]; - lexicalEnvironmentStatements = lexicalEnvironmentStatementsStack[lexicalEnvironmentStackOffset]; - lexicalEnvironmentFlags = lexicalEnvironmentFlagsStack[lexicalEnvironmentStackOffset]; - if (lexicalEnvironmentStackOffset === 0) { - lexicalEnvironmentVariableDeclarationsStack = []; - lexicalEnvironmentFunctionDeclarationsStack = []; - lexicalEnvironmentStatementsStack = []; - lexicalEnvironmentFlagsStack = []; - } - return statements; - } - function setLexicalEnvironmentFlags(flags, value) { - lexicalEnvironmentFlags = value ? lexicalEnvironmentFlags | flags : lexicalEnvironmentFlags & ~flags; - } - function getLexicalEnvironmentFlags() { - return lexicalEnvironmentFlags; - } - function startBlockScope() { - Debug.assert(state > 0 /* Uninitialized */, "Cannot start a block scope during initialization."); - Debug.assert(state < 2 /* Completed */, "Cannot start a block scope after transformation has completed."); - blockScopedVariableDeclarationsStack[blockScopeStackOffset] = blockScopedVariableDeclarations; - blockScopeStackOffset++; - blockScopedVariableDeclarations = void 0; - } - function endBlockScope() { - Debug.assert(state > 0 /* Uninitialized */, "Cannot end a block scope during initialization."); - Debug.assert(state < 2 /* Completed */, "Cannot end a block scope after transformation has completed."); - const statements = some(blockScopedVariableDeclarations) ? [ - factory2.createVariableStatement( - /*modifiers*/ - void 0, - factory2.createVariableDeclarationList( - blockScopedVariableDeclarations.map((identifier) => factory2.createVariableDeclaration(identifier)), - 1 /* Let */ - ) - ) - ] : void 0; - blockScopeStackOffset--; - blockScopedVariableDeclarations = blockScopedVariableDeclarationsStack[blockScopeStackOffset]; - if (blockScopeStackOffset === 0) { - blockScopedVariableDeclarationsStack = []; - } - return statements; - } - function addBlockScopedVariable(name) { - Debug.assert(blockScopeStackOffset > 0, "Cannot add a block scoped variable outside of an iteration body."); - (blockScopedVariableDeclarations || (blockScopedVariableDeclarations = [])).push(name); - } - function requestEmitHelper(helper) { - Debug.assert(state > 0 /* Uninitialized */, "Cannot modify the transformation context during initialization."); - Debug.assert(state < 2 /* Completed */, "Cannot modify the transformation context after transformation has completed."); - Debug.assert(!helper.scoped, "Cannot request a scoped emit helper."); - if (helper.dependencies) { - for (const h of helper.dependencies) { - requestEmitHelper(h); - } - } - emitHelpers = append(emitHelpers, helper); - } - function readEmitHelpers() { - Debug.assert(state > 0 /* Uninitialized */, "Cannot modify the transformation context during initialization."); - Debug.assert(state < 2 /* Completed */, "Cannot modify the transformation context after transformation has completed."); - const helpers = emitHelpers; - emitHelpers = void 0; - return helpers; - } - function dispose() { - if (state < 3 /* Disposed */) { - for (const node of nodes) { - disposeEmitNodes(getSourceFileOfNode(getParseTreeNode(node))); - } - lexicalEnvironmentVariableDeclarations = void 0; - lexicalEnvironmentVariableDeclarationsStack = void 0; - lexicalEnvironmentFunctionDeclarations = void 0; - lexicalEnvironmentFunctionDeclarationsStack = void 0; - onSubstituteNode = void 0; - onEmitNode = void 0; - emitHelpers = void 0; - state = 3 /* Disposed */; - } - } -} -var nullTransformationContext = { - factory, - // eslint-disable-line object-shorthand - getCompilerOptions: () => ({}), - getEmitResolver: notImplemented, - getEmitHost: notImplemented, - getEmitHelperFactory: notImplemented, - startLexicalEnvironment: noop, - resumeLexicalEnvironment: noop, - suspendLexicalEnvironment: noop, - endLexicalEnvironment: returnUndefined, - setLexicalEnvironmentFlags: noop, - getLexicalEnvironmentFlags: () => 0, - hoistVariableDeclaration: noop, - hoistFunctionDeclaration: noop, - addInitializationStatement: noop, - startBlockScope: noop, - endBlockScope: returnUndefined, - addBlockScopedVariable: noop, - requestEmitHelper: noop, - readEmitHelpers: notImplemented, - enableSubstitution: noop, - enableEmitNotification: noop, - isSubstitutionEnabled: notImplemented, - isEmitNotificationEnabled: notImplemented, - onSubstituteNode: noEmitSubstitution, - onEmitNode: noEmitNotification, - addDiagnostic: noop -}; - -// src/compiler/emitter.ts -var brackets = createBracketsMap(); -function isBuildInfoFile(file) { - return fileExtensionIs(file, ".tsbuildinfo" /* TsBuildInfo */); -} -function forEachEmittedFile(host, action, sourceFilesOrTargetSourceFile, forceDtsEmit = false, onlyBuildInfo, includeBuildInfo) { - const sourceFiles = isArray(sourceFilesOrTargetSourceFile) ? sourceFilesOrTargetSourceFile : getSourceFilesToEmit(host, sourceFilesOrTargetSourceFile, forceDtsEmit); - const options = host.getCompilerOptions(); - if (!onlyBuildInfo) { - if (options.outFile) { - if (sourceFiles.length) { - const bundle = factory.createBundle(sourceFiles); - const result = action(getOutputPathsFor(bundle, host, forceDtsEmit), bundle); - if (result) { - return result; - } - } - } else { - for (const sourceFile of sourceFiles) { - const result = action(getOutputPathsFor(sourceFile, host, forceDtsEmit), sourceFile); - if (result) { - return result; - } - } - } - } - if (includeBuildInfo) { - const buildInfoPath = getTsBuildInfoEmitOutputFilePath(options); - if (buildInfoPath) return action( - { buildInfoPath }, - /*sourceFileOrBundle*/ - void 0 - ); - } -} -function getTsBuildInfoEmitOutputFilePath(options) { - const configFile = options.configFilePath; - if (!canEmitTsBuildInfo(options)) return void 0; - if (options.tsBuildInfoFile) return options.tsBuildInfoFile; - const outPath = options.outFile; - let buildInfoExtensionLess; - if (outPath) { - buildInfoExtensionLess = removeFileExtension(outPath); - } else { - if (!configFile) return void 0; - const configFileExtensionLess = removeFileExtension(configFile); - buildInfoExtensionLess = options.outDir ? options.rootDir ? resolvePath(options.outDir, getRelativePathFromDirectory( - options.rootDir, - configFileExtensionLess, - /*ignoreCase*/ - true - )) : combinePaths(options.outDir, getBaseFileName(configFileExtensionLess)) : configFileExtensionLess; - } - return buildInfoExtensionLess + ".tsbuildinfo" /* TsBuildInfo */; -} -function canEmitTsBuildInfo(options) { - return isIncrementalCompilation(options) || !!options.tscBuild; -} -function getOutputPathsForBundle(options, forceDtsPaths) { - const outPath = options.outFile; - const jsFilePath = options.emitDeclarationOnly ? void 0 : outPath; - const sourceMapFilePath = jsFilePath && getSourceMapFilePath(jsFilePath, options); - const declarationFilePath = forceDtsPaths || getEmitDeclarations(options) ? removeFileExtension(outPath) + ".d.ts" /* Dts */ : void 0; - const declarationMapPath = declarationFilePath && getAreDeclarationMapsEnabled(options) ? declarationFilePath + ".map" : void 0; - return { jsFilePath, sourceMapFilePath, declarationFilePath, declarationMapPath }; -} -function getOutputPathsFor(sourceFile, host, forceDtsPaths) { - const options = host.getCompilerOptions(); - if (sourceFile.kind === 308 /* Bundle */) { - return getOutputPathsForBundle(options, forceDtsPaths); - } else { - const ownOutputFilePath = getOwnEmitOutputFilePath(sourceFile.fileName, host, getOutputExtension(sourceFile.fileName, options)); - const isJsonFile = isJsonSourceFile(sourceFile); - const isJsonEmittedToSameLocation = isJsonFile && comparePaths(sourceFile.fileName, ownOutputFilePath, host.getCurrentDirectory(), !host.useCaseSensitiveFileNames()) === 0 /* EqualTo */; - const jsFilePath = options.emitDeclarationOnly || isJsonEmittedToSameLocation ? void 0 : ownOutputFilePath; - const sourceMapFilePath = !jsFilePath || isJsonSourceFile(sourceFile) ? void 0 : getSourceMapFilePath(jsFilePath, options); - const declarationFilePath = forceDtsPaths || getEmitDeclarations(options) && !isJsonFile ? getDeclarationEmitOutputFilePath(sourceFile.fileName, host) : void 0; - const declarationMapPath = declarationFilePath && getAreDeclarationMapsEnabled(options) ? declarationFilePath + ".map" : void 0; - return { jsFilePath, sourceMapFilePath, declarationFilePath, declarationMapPath }; - } -} -function getSourceMapFilePath(jsFilePath, options) { - return options.sourceMap && !options.inlineSourceMap ? jsFilePath + ".map" : void 0; -} -function getOutputExtension(fileName, options) { - return fileExtensionIs(fileName, ".json" /* Json */) ? ".json" /* Json */ : options.jsx === 1 /* Preserve */ && fileExtensionIsOneOf(fileName, [".jsx" /* Jsx */, ".tsx" /* Tsx */]) ? ".jsx" /* Jsx */ : fileExtensionIsOneOf(fileName, [".mts" /* Mts */, ".mjs" /* Mjs */]) ? ".mjs" /* Mjs */ : fileExtensionIsOneOf(fileName, [".cts" /* Cts */, ".cjs" /* Cjs */]) ? ".cjs" /* Cjs */ : ".js" /* Js */; -} -function getOutputPathWithoutChangingExt(inputFileName, ignoreCase, outputDir, getCommonSourceDirectory2) { - return outputDir ? resolvePath( - outputDir, - getRelativePathFromDirectory(getCommonSourceDirectory2(), inputFileName, ignoreCase) - ) : inputFileName; -} -function getOutputDeclarationFileName(inputFileName, configFile, ignoreCase, getCommonSourceDirectory2 = () => getCommonSourceDirectoryOfConfig(configFile, ignoreCase)) { - return getOutputDeclarationFileNameWorker(inputFileName, configFile.options, ignoreCase, getCommonSourceDirectory2); -} -function getOutputDeclarationFileNameWorker(inputFileName, options, ignoreCase, getCommonSourceDirectory2) { - return changeExtension( - getOutputPathWithoutChangingExt(inputFileName, ignoreCase, options.declarationDir || options.outDir, getCommonSourceDirectory2), - getDeclarationEmitExtensionForPath(inputFileName) - ); -} -function getOutputJSFileName(inputFileName, configFile, ignoreCase, getCommonSourceDirectory2 = () => getCommonSourceDirectoryOfConfig(configFile, ignoreCase)) { - if (configFile.options.emitDeclarationOnly) return void 0; - const isJsonFile = fileExtensionIs(inputFileName, ".json" /* Json */); - const outputFileName = getOutputJSFileNameWorker(inputFileName, configFile.options, ignoreCase, getCommonSourceDirectory2); - return !isJsonFile || comparePaths(inputFileName, outputFileName, Debug.checkDefined(configFile.options.configFilePath), ignoreCase) !== 0 /* EqualTo */ ? outputFileName : void 0; -} -function getOutputJSFileNameWorker(inputFileName, options, ignoreCase, getCommonSourceDirectory2) { - return changeExtension( - getOutputPathWithoutChangingExt(inputFileName, ignoreCase, options.outDir, getCommonSourceDirectory2), - getOutputExtension(inputFileName, options) - ); -} -function createAddOutput() { - let outputs; - return { addOutput, getOutputs }; - function addOutput(path) { - if (path) { - (outputs || (outputs = [])).push(path); - } - } - function getOutputs() { - return outputs || emptyArray; - } -} -function getSingleOutputFileNames(configFile, addOutput) { - const { jsFilePath, sourceMapFilePath, declarationFilePath, declarationMapPath } = getOutputPathsForBundle( - configFile.options, - /*forceDtsPaths*/ - false - ); - addOutput(jsFilePath); - addOutput(sourceMapFilePath); - addOutput(declarationFilePath); - addOutput(declarationMapPath); -} -function getOwnOutputFileNames(configFile, inputFileName, ignoreCase, addOutput, getCommonSourceDirectory2) { - if (isDeclarationFileName(inputFileName)) return; - const js = getOutputJSFileName(inputFileName, configFile, ignoreCase, getCommonSourceDirectory2); - addOutput(js); - if (fileExtensionIs(inputFileName, ".json" /* Json */)) return; - if (js && configFile.options.sourceMap) { - addOutput(`${js}.map`); - } - if (getEmitDeclarations(configFile.options)) { - const dts = getOutputDeclarationFileName(inputFileName, configFile, ignoreCase, getCommonSourceDirectory2); - addOutput(dts); - if (configFile.options.declarationMap) { - addOutput(`${dts}.map`); - } - } -} -function getCommonSourceDirectory(options, emittedFiles, currentDirectory, getCanonicalFileName, checkSourceFilesBelongToPath) { - let commonSourceDirectory; - if (options.rootDir) { - commonSourceDirectory = getNormalizedAbsolutePath(options.rootDir, currentDirectory); - checkSourceFilesBelongToPath == null ? void 0 : checkSourceFilesBelongToPath(options.rootDir); - } else if (options.composite && options.configFilePath) { - commonSourceDirectory = getDirectoryPath(normalizeSlashes(options.configFilePath)); - checkSourceFilesBelongToPath == null ? void 0 : checkSourceFilesBelongToPath(commonSourceDirectory); - } else { - commonSourceDirectory = computeCommonSourceDirectoryOfFilenames(emittedFiles(), currentDirectory, getCanonicalFileName); - } - if (commonSourceDirectory && commonSourceDirectory[commonSourceDirectory.length - 1] !== directorySeparator) { - commonSourceDirectory += directorySeparator; - } - return commonSourceDirectory; -} -function getCommonSourceDirectoryOfConfig({ options, fileNames }, ignoreCase) { - return getCommonSourceDirectory( - options, - () => filter(fileNames, (file) => !(options.noEmitForJsFiles && fileExtensionIsOneOf(file, supportedJSExtensionsFlat)) && !isDeclarationFileName(file)), - getDirectoryPath(normalizeSlashes(Debug.checkDefined(options.configFilePath))), - createGetCanonicalFileName(!ignoreCase) - ); -} -function getAllProjectOutputs(configFile, ignoreCase) { - const { addOutput, getOutputs } = createAddOutput(); - if (configFile.options.outFile) { - getSingleOutputFileNames(configFile, addOutput); - } else { - const getCommonSourceDirectory2 = memoize(() => getCommonSourceDirectoryOfConfig(configFile, ignoreCase)); - for (const inputFileName of configFile.fileNames) { - getOwnOutputFileNames(configFile, inputFileName, ignoreCase, addOutput, getCommonSourceDirectory2); - } - } - addOutput(getTsBuildInfoEmitOutputFilePath(configFile.options)); - return getOutputs(); -} -function getFirstProjectOutput(configFile, ignoreCase) { - if (configFile.options.outFile) { - const { jsFilePath, declarationFilePath } = getOutputPathsForBundle( - configFile.options, - /*forceDtsPaths*/ - false - ); - return Debug.checkDefined(jsFilePath || declarationFilePath, `project ${configFile.options.configFilePath} expected to have at least one output`); - } - const getCommonSourceDirectory2 = memoize(() => getCommonSourceDirectoryOfConfig(configFile, ignoreCase)); - for (const inputFileName of configFile.fileNames) { - if (isDeclarationFileName(inputFileName)) continue; - const jsFilePath = getOutputJSFileName(inputFileName, configFile, ignoreCase, getCommonSourceDirectory2); - if (jsFilePath) return jsFilePath; - if (fileExtensionIs(inputFileName, ".json" /* Json */)) continue; - if (getEmitDeclarations(configFile.options)) { - return getOutputDeclarationFileName(inputFileName, configFile, ignoreCase, getCommonSourceDirectory2); - } - } - const buildInfoPath = getTsBuildInfoEmitOutputFilePath(configFile.options); - if (buildInfoPath) return buildInfoPath; - return Debug.fail(`project ${configFile.options.configFilePath} expected to have at least one output`); -} -function emitResolverSkipsTypeChecking(emitOnly, forceDtsEmit) { - return !!forceDtsEmit && !!emitOnly; -} -function emitFiles(resolver, host, targetSourceFile, { scriptTransformers, declarationTransformers }, emitOnly, onlyBuildInfo, forceDtsEmit, skipBuildInfo) { - var compilerOptions = host.getCompilerOptions(); - var sourceMapDataList = compilerOptions.sourceMap || compilerOptions.inlineSourceMap || getAreDeclarationMapsEnabled(compilerOptions) ? [] : void 0; - var emittedFilesList = compilerOptions.listEmittedFiles ? [] : void 0; - var emitterDiagnostics = createDiagnosticCollection(); - var newLine = getNewLineCharacter(compilerOptions); - var writer = createTextWriter(newLine); - var { enter, exit } = createTimer("printTime", "beforePrint", "afterPrint"); - var emitSkipped = false; - enter(); - forEachEmittedFile( - host, - emitSourceFileOrBundle, - getSourceFilesToEmit(host, targetSourceFile, forceDtsEmit), - forceDtsEmit, - onlyBuildInfo, - !targetSourceFile && !skipBuildInfo - ); - exit(); - return { - emitSkipped, - diagnostics: emitterDiagnostics.getDiagnostics(), - emittedFiles: emittedFilesList, - sourceMaps: sourceMapDataList - }; - function emitSourceFileOrBundle({ jsFilePath, sourceMapFilePath, declarationFilePath, declarationMapPath, buildInfoPath }, sourceFileOrBundle) { - var _a, _b, _c, _d, _e, _f; - (_a = tracing) == null ? void 0 : _a.push(tracing.Phase.Emit, "emitJsFileOrBundle", { jsFilePath }); - emitJsFileOrBundle(sourceFileOrBundle, jsFilePath, sourceMapFilePath); - (_b = tracing) == null ? void 0 : _b.pop(); - (_c = tracing) == null ? void 0 : _c.push(tracing.Phase.Emit, "emitDeclarationFileOrBundle", { declarationFilePath }); - emitDeclarationFileOrBundle(sourceFileOrBundle, declarationFilePath, declarationMapPath); - (_d = tracing) == null ? void 0 : _d.pop(); - (_e = tracing) == null ? void 0 : _e.push(tracing.Phase.Emit, "emitBuildInfo", { buildInfoPath }); - emitBuildInfo(buildInfoPath); - (_f = tracing) == null ? void 0 : _f.pop(); - } - function emitBuildInfo(buildInfoPath) { - if (!buildInfoPath || targetSourceFile) return; - if (host.isEmitBlocked(buildInfoPath)) { - emitSkipped = true; - return; - } - const buildInfo = host.getBuildInfo() || { version }; - writeFile( - host, - emitterDiagnostics, - buildInfoPath, - getBuildInfoText(buildInfo), - /*writeByteOrderMark*/ - false, - /*sourceFiles*/ - void 0, - { buildInfo } - ); - emittedFilesList == null ? void 0 : emittedFilesList.push(buildInfoPath); - } - function emitJsFileOrBundle(sourceFileOrBundle, jsFilePath, sourceMapFilePath) { - if (!sourceFileOrBundle || emitOnly || !jsFilePath) { - return; - } - if (host.isEmitBlocked(jsFilePath) || compilerOptions.noEmit) { - emitSkipped = true; - return; - } - (isSourceFile(sourceFileOrBundle) ? [sourceFileOrBundle] : filter(sourceFileOrBundle.sourceFiles, isSourceFileNotJson)).forEach( - (sourceFile) => { - if (compilerOptions.noCheck || !canIncludeBindAndCheckDiagnostics(sourceFile, compilerOptions)) markLinkedReferences(sourceFile); - } - ); - const transform = transformNodes( - resolver, - host, - factory, - compilerOptions, - [sourceFileOrBundle], - scriptTransformers, - /*allowDtsFiles*/ - false - ); - const printerOptions = { - removeComments: compilerOptions.removeComments, - newLine: compilerOptions.newLine, - noEmitHelpers: compilerOptions.noEmitHelpers, - module: getEmitModuleKind(compilerOptions), - moduleResolution: getEmitModuleResolutionKind(compilerOptions), - target: getEmitScriptTarget(compilerOptions), - sourceMap: compilerOptions.sourceMap, - inlineSourceMap: compilerOptions.inlineSourceMap, - inlineSources: compilerOptions.inlineSources, - extendedDiagnostics: compilerOptions.extendedDiagnostics - }; - const printer = createPrinter(printerOptions, { - // resolver hooks - hasGlobalName: resolver.hasGlobalName, - // transform hooks - onEmitNode: transform.emitNodeWithNotification, - isEmitNotificationEnabled: transform.isEmitNotificationEnabled, - substituteNode: transform.substituteNode - }); - Debug.assert(transform.transformed.length === 1, "Should only see one output from the transform"); - printSourceFileOrBundle(jsFilePath, sourceMapFilePath, transform, printer, compilerOptions); - transform.dispose(); - if (emittedFilesList) { - emittedFilesList.push(jsFilePath); - if (sourceMapFilePath) { - emittedFilesList.push(sourceMapFilePath); - } - } - } - function emitDeclarationFileOrBundle(sourceFileOrBundle, declarationFilePath, declarationMapPath) { - if (!sourceFileOrBundle || emitOnly === 0 /* Js */) return; - if (!declarationFilePath) { - if (emitOnly || compilerOptions.emitDeclarationOnly) emitSkipped = true; - return; - } - const sourceFiles = isSourceFile(sourceFileOrBundle) ? [sourceFileOrBundle] : sourceFileOrBundle.sourceFiles; - const filesForEmit = forceDtsEmit ? sourceFiles : filter(sourceFiles, isSourceFileNotJson); - const inputListOrBundle = compilerOptions.outFile ? [factory.createBundle(filesForEmit)] : filesForEmit; - filesForEmit.forEach((sourceFile) => { - if (emitOnly && !getEmitDeclarations(compilerOptions) || compilerOptions.noCheck || emitResolverSkipsTypeChecking(emitOnly, forceDtsEmit) || !canIncludeBindAndCheckDiagnostics(sourceFile, compilerOptions)) { - collectLinkedAliases(sourceFile); - } - }); - const declarationTransform = transformNodes( - resolver, - host, - factory, - compilerOptions, - inputListOrBundle, - declarationTransformers, - /*allowDtsFiles*/ - false - ); - if (length(declarationTransform.diagnostics)) { - for (const diagnostic of declarationTransform.diagnostics) { - emitterDiagnostics.add(diagnostic); - } - } - const declBlocked = !!declarationTransform.diagnostics && !!declarationTransform.diagnostics.length || !!host.isEmitBlocked(declarationFilePath) || !!compilerOptions.noEmit; - emitSkipped = emitSkipped || declBlocked; - if (!declBlocked || forceDtsEmit) { - Debug.assert(declarationTransform.transformed.length === 1, "Should only see one output from the decl transform"); - const printerOptions = { - removeComments: compilerOptions.removeComments, - newLine: compilerOptions.newLine, - noEmitHelpers: true, - module: compilerOptions.module, - moduleResolution: compilerOptions.moduleResolution, - target: compilerOptions.target, - sourceMap: emitOnly !== 2 /* BuilderSignature */ && compilerOptions.declarationMap, - inlineSourceMap: compilerOptions.inlineSourceMap, - extendedDiagnostics: compilerOptions.extendedDiagnostics, - onlyPrintJsDocStyle: true, - omitBraceSourceMapPositions: true - }; - const declarationPrinter = createPrinter(printerOptions, { - // resolver hooks - hasGlobalName: resolver.hasGlobalName, - // transform hooks - onEmitNode: declarationTransform.emitNodeWithNotification, - isEmitNotificationEnabled: declarationTransform.isEmitNotificationEnabled, - substituteNode: declarationTransform.substituteNode - }); - const dtsWritten = printSourceFileOrBundle( - declarationFilePath, - declarationMapPath, - declarationTransform, - declarationPrinter, - { - sourceMap: printerOptions.sourceMap, - sourceRoot: compilerOptions.sourceRoot, - mapRoot: compilerOptions.mapRoot, - extendedDiagnostics: compilerOptions.extendedDiagnostics - // Explicitly do not passthru either `inline` option - } - ); - if (emittedFilesList) { - if (dtsWritten) emittedFilesList.push(declarationFilePath); - if (declarationMapPath) { - emittedFilesList.push(declarationMapPath); - } - } - } - declarationTransform.dispose(); - } - function collectLinkedAliases(node) { - if (isExportAssignment(node)) { - if (node.expression.kind === 80 /* Identifier */) { - resolver.collectLinkedAliases( - node.expression, - /*setVisibility*/ - true - ); - } - return; - } else if (isExportSpecifier(node)) { - resolver.collectLinkedAliases( - node.propertyName || node.name, - /*setVisibility*/ - true - ); - return; - } - forEachChild(node, collectLinkedAliases); - } - function markLinkedReferences(file) { - if (isSourceFileJS(file)) return; - forEachChildRecursively(file, (n) => { - if (isImportEqualsDeclaration(n) && !(getSyntacticModifierFlags(n) & 32 /* Export */)) return "skip"; - if (isImportDeclaration(n)) return "skip"; - resolver.markLinkedReferences(n); - }); - } - function printSourceFileOrBundle(jsFilePath, sourceMapFilePath, transform, printer, mapOptions) { - const sourceFileOrBundle = transform.transformed[0]; - const bundle = sourceFileOrBundle.kind === 308 /* Bundle */ ? sourceFileOrBundle : void 0; - const sourceFile = sourceFileOrBundle.kind === 307 /* SourceFile */ ? sourceFileOrBundle : void 0; - const sourceFiles = bundle ? bundle.sourceFiles : [sourceFile]; - let sourceMapGenerator; - if (shouldEmitSourceMaps(mapOptions, sourceFileOrBundle)) { - sourceMapGenerator = createSourceMapGenerator( - host, - getBaseFileName(normalizeSlashes(jsFilePath)), - getSourceRoot(mapOptions), - getSourceMapDirectory(mapOptions, jsFilePath, sourceFile), - mapOptions - ); - } - if (bundle) { - printer.writeBundle(bundle, writer, sourceMapGenerator); - } else { - printer.writeFile(sourceFile, writer, sourceMapGenerator); - } - let sourceMapUrlPos; - if (sourceMapGenerator) { - if (sourceMapDataList) { - sourceMapDataList.push({ - inputSourceFileNames: sourceMapGenerator.getSources(), - sourceMap: sourceMapGenerator.toJSON() - }); - } - const sourceMappingURL = getSourceMappingURL( - mapOptions, - sourceMapGenerator, - jsFilePath, - sourceMapFilePath, - sourceFile - ); - if (sourceMappingURL) { - if (!writer.isAtStartOfLine()) writer.rawWrite(newLine); - sourceMapUrlPos = writer.getTextPos(); - writer.writeComment(`//# ${"sourceMappingURL"}=${sourceMappingURL}`); - } - if (sourceMapFilePath) { - const sourceMap = sourceMapGenerator.toString(); - writeFile( - host, - emitterDiagnostics, - sourceMapFilePath, - sourceMap, - /*writeByteOrderMark*/ - false, - sourceFiles - ); - } - } else { - writer.writeLine(); - } - const text = writer.getText(); - const data = { sourceMapUrlPos, diagnostics: transform.diagnostics }; - writeFile(host, emitterDiagnostics, jsFilePath, text, !!compilerOptions.emitBOM, sourceFiles, data); - writer.clear(); - return !data.skippedDtsWrite; - } - function shouldEmitSourceMaps(mapOptions, sourceFileOrBundle) { - return (mapOptions.sourceMap || mapOptions.inlineSourceMap) && (sourceFileOrBundle.kind !== 307 /* SourceFile */ || !fileExtensionIs(sourceFileOrBundle.fileName, ".json" /* Json */)); - } - function getSourceRoot(mapOptions) { - const sourceRoot = normalizeSlashes(mapOptions.sourceRoot || ""); - return sourceRoot ? ensureTrailingDirectorySeparator(sourceRoot) : sourceRoot; - } - function getSourceMapDirectory(mapOptions, filePath, sourceFile) { - if (mapOptions.sourceRoot) return host.getCommonSourceDirectory(); - if (mapOptions.mapRoot) { - let sourceMapDir = normalizeSlashes(mapOptions.mapRoot); - if (sourceFile) { - sourceMapDir = getDirectoryPath(getSourceFilePathInNewDir(sourceFile.fileName, host, sourceMapDir)); - } - if (getRootLength(sourceMapDir) === 0) { - sourceMapDir = combinePaths(host.getCommonSourceDirectory(), sourceMapDir); - } - return sourceMapDir; - } - return getDirectoryPath(normalizePath(filePath)); - } - function getSourceMappingURL(mapOptions, sourceMapGenerator, filePath, sourceMapFilePath, sourceFile) { - if (mapOptions.inlineSourceMap) { - const sourceMapText = sourceMapGenerator.toString(); - const base64SourceMapText = base64encode(sys, sourceMapText); - return `data:application/json;base64,${base64SourceMapText}`; - } - const sourceMapFile = getBaseFileName(normalizeSlashes(Debug.checkDefined(sourceMapFilePath))); - if (mapOptions.mapRoot) { - let sourceMapDir = normalizeSlashes(mapOptions.mapRoot); - if (sourceFile) { - sourceMapDir = getDirectoryPath(getSourceFilePathInNewDir(sourceFile.fileName, host, sourceMapDir)); - } - if (getRootLength(sourceMapDir) === 0) { - sourceMapDir = combinePaths(host.getCommonSourceDirectory(), sourceMapDir); - return encodeURI( - getRelativePathToDirectoryOrUrl( - getDirectoryPath(normalizePath(filePath)), - // get the relative sourceMapDir path based on jsFilePath - combinePaths(sourceMapDir, sourceMapFile), - // this is where user expects to see sourceMap - host.getCurrentDirectory(), - host.getCanonicalFileName, - /*isAbsolutePathAnUrl*/ - true - ) - ); - } else { - return encodeURI(combinePaths(sourceMapDir, sourceMapFile)); - } - } - return encodeURI(sourceMapFile); - } -} -function getBuildInfoText(buildInfo) { - return JSON.stringify(buildInfo); -} -function getBuildInfo(buildInfoFile, buildInfoText) { - return readJsonOrUndefined(buildInfoFile, buildInfoText); -} -var notImplementedResolver = { - hasGlobalName: notImplemented, - getReferencedExportContainer: notImplemented, - getReferencedImportDeclaration: notImplemented, - getReferencedDeclarationWithCollidingName: notImplemented, - isDeclarationWithCollidingName: notImplemented, - isValueAliasDeclaration: notImplemented, - isReferencedAliasDeclaration: notImplemented, - isTopLevelValueImportEqualsWithEntityName: notImplemented, - hasNodeCheckFlag: notImplemented, - isDeclarationVisible: notImplemented, - isLateBound: (_node) => false, - collectLinkedAliases: notImplemented, - markLinkedReferences: notImplemented, - isImplementationOfOverload: notImplemented, - requiresAddingImplicitUndefined: notImplemented, - isExpandoFunctionDeclaration: notImplemented, - getPropertiesOfContainerFunction: notImplemented, - createTypeOfDeclaration: notImplemented, - createReturnTypeOfSignatureDeclaration: notImplemented, - createTypeOfExpression: notImplemented, - createLiteralConstValue: notImplemented, - isSymbolAccessible: notImplemented, - isEntityNameVisible: notImplemented, - // Returns the constant value this property access resolves to: notImplemented, or 'undefined' for a non-constant - getConstantValue: notImplemented, - getEnumMemberValue: notImplemented, - getReferencedValueDeclaration: notImplemented, - getReferencedValueDeclarations: notImplemented, - getTypeReferenceSerializationKind: notImplemented, - isOptionalParameter: notImplemented, - isArgumentsLocalBinding: notImplemented, - getExternalModuleFileFromDeclaration: notImplemented, - isLiteralConstDeclaration: notImplemented, - getJsxFactoryEntity: notImplemented, - getJsxFragmentFactoryEntity: notImplemented, - isBindingCapturedByNode: notImplemented, - getDeclarationStatementsForSourceFile: notImplemented, - isImportRequiredByAugmentation: notImplemented, - isDefinitelyReferenceToGlobalSymbolObject: notImplemented -}; -var createPrinterWithDefaults = /* @__PURE__ */ memoize(() => createPrinter({})); -var createPrinterWithRemoveComments = /* @__PURE__ */ memoize(() => createPrinter({ removeComments: true })); -var createPrinterWithRemoveCommentsNeverAsciiEscape = /* @__PURE__ */ memoize(() => createPrinter({ removeComments: true, neverAsciiEscape: true })); -var createPrinterWithRemoveCommentsOmitTrailingSemicolon = /* @__PURE__ */ memoize(() => createPrinter({ removeComments: true, omitTrailingSemicolon: true })); -function createPrinter(printerOptions = {}, handlers = {}) { - var { - hasGlobalName, - onEmitNode = noEmitNotification, - isEmitNotificationEnabled, - substituteNode = noEmitSubstitution, - onBeforeEmitNode, - onAfterEmitNode, - onBeforeEmitNodeArray, - onAfterEmitNodeArray, - onBeforeEmitToken, - onAfterEmitToken - } = handlers; - var extendedDiagnostics = !!printerOptions.extendedDiagnostics; - var omitBraceSourcePositions = !!printerOptions.omitBraceSourceMapPositions; - var newLine = getNewLineCharacter(printerOptions); - var moduleKind = getEmitModuleKind(printerOptions); - var bundledHelpers = /* @__PURE__ */ new Map(); - var currentSourceFile; - var nodeIdToGeneratedName; - var nodeIdToGeneratedPrivateName; - var autoGeneratedIdToGeneratedName; - var generatedNames; - var formattedNameTempFlagsStack; - var formattedNameTempFlags; - var privateNameTempFlagsStack; - var privateNameTempFlags; - var tempFlagsStack; - var tempFlags; - var reservedNamesStack; - var reservedNames; - var reservedPrivateNamesStack; - var reservedPrivateNames; - var preserveSourceNewlines = printerOptions.preserveSourceNewlines; - var nextListElementPos; - var writer; - var ownWriter; - var write = writeBase; - var isOwnFileEmit; - var sourceMapsDisabled = true; - var sourceMapGenerator; - var sourceMapSource; - var sourceMapSourceIndex = -1; - var mostRecentlyAddedSourceMapSource; - var mostRecentlyAddedSourceMapSourceIndex = -1; - var containerPos = -1; - var containerEnd = -1; - var declarationListContainerEnd = -1; - var currentLineMap; - var detachedCommentsInfo; - var hasWrittenComment = false; - var commentsDisabled = !!printerOptions.removeComments; - var lastSubstitution; - var currentParenthesizerRule; - var { enter: enterComment, exit: exitComment } = createTimerIf(extendedDiagnostics, "commentTime", "beforeComment", "afterComment"); - var parenthesizer = factory.parenthesizer; - var typeArgumentParenthesizerRuleSelector = { - select: (index) => index === 0 ? parenthesizer.parenthesizeLeadingTypeArgument : void 0 - }; - var emitBinaryExpression = createEmitBinaryExpression(); - reset(); - return { - // public API - printNode, - printList, - printFile, - printBundle, - // internal API - writeNode, - writeList, - writeFile: writeFile2, - writeBundle - }; - function printNode(hint, node, sourceFile) { - switch (hint) { - case 0 /* SourceFile */: - Debug.assert(isSourceFile(node), "Expected a SourceFile node."); - break; - case 2 /* IdentifierName */: - Debug.assert(isIdentifier(node), "Expected an Identifier node."); - break; - case 1 /* Expression */: - Debug.assert(isExpression(node), "Expected an Expression node."); - break; - } - switch (node.kind) { - case 307 /* SourceFile */: - return printFile(node); - case 308 /* Bundle */: - return printBundle(node); - } - writeNode(hint, node, sourceFile, beginPrint()); - return endPrint(); - } - function printList(format, nodes, sourceFile) { - writeList(format, nodes, sourceFile, beginPrint()); - return endPrint(); - } - function printBundle(bundle) { - writeBundle( - bundle, - beginPrint(), - /*sourceMapGenerator*/ - void 0 - ); - return endPrint(); - } - function printFile(sourceFile) { - writeFile2( - sourceFile, - beginPrint(), - /*sourceMapGenerator*/ - void 0 - ); - return endPrint(); - } - function writeNode(hint, node, sourceFile, output) { - const previousWriter = writer; - setWriter( - output, - /*_sourceMapGenerator*/ - void 0 - ); - print(hint, node, sourceFile); - reset(); - writer = previousWriter; - } - function writeList(format, nodes, sourceFile, output) { - const previousWriter = writer; - setWriter( - output, - /*_sourceMapGenerator*/ - void 0 - ); - if (sourceFile) { - setSourceFile(sourceFile); - } - emitList( - /*parentNode*/ - void 0, - nodes, - format - ); - reset(); - writer = previousWriter; - } - function writeBundle(bundle, output, sourceMapGenerator2) { - isOwnFileEmit = false; - const previousWriter = writer; - setWriter(output, sourceMapGenerator2); - emitShebangIfNeeded(bundle); - emitPrologueDirectivesIfNeeded(bundle); - emitHelpers(bundle); - emitSyntheticTripleSlashReferencesIfNeeded(bundle); - for (const sourceFile of bundle.sourceFiles) { - print(0 /* SourceFile */, sourceFile, sourceFile); - } - reset(); - writer = previousWriter; - } - function writeFile2(sourceFile, output, sourceMapGenerator2) { - isOwnFileEmit = true; - const previousWriter = writer; - setWriter(output, sourceMapGenerator2); - emitShebangIfNeeded(sourceFile); - emitPrologueDirectivesIfNeeded(sourceFile); - print(0 /* SourceFile */, sourceFile, sourceFile); - reset(); - writer = previousWriter; - } - function beginPrint() { - return ownWriter || (ownWriter = createTextWriter(newLine)); - } - function endPrint() { - const text = ownWriter.getText(); - ownWriter.clear(); - return text; - } - function print(hint, node, sourceFile) { - if (sourceFile) { - setSourceFile(sourceFile); - } - pipelineEmit( - hint, - node, - /*parenthesizerRule*/ - void 0 - ); - } - function setSourceFile(sourceFile) { - currentSourceFile = sourceFile; - currentLineMap = void 0; - detachedCommentsInfo = void 0; - if (sourceFile) { - setSourceMapSource(sourceFile); - } - } - function setWriter(_writer, _sourceMapGenerator) { - if (_writer && printerOptions.omitTrailingSemicolon) { - _writer = getTrailingSemicolonDeferringWriter(_writer); - } - writer = _writer; - sourceMapGenerator = _sourceMapGenerator; - sourceMapsDisabled = !writer || !sourceMapGenerator; - } - function reset() { - nodeIdToGeneratedName = []; - nodeIdToGeneratedPrivateName = []; - autoGeneratedIdToGeneratedName = []; - generatedNames = /* @__PURE__ */ new Set(); - formattedNameTempFlagsStack = []; - formattedNameTempFlags = /* @__PURE__ */ new Map(); - privateNameTempFlagsStack = []; - privateNameTempFlags = 0 /* Auto */; - tempFlagsStack = []; - tempFlags = 0 /* Auto */; - reservedNamesStack = []; - reservedNames = void 0; - reservedPrivateNamesStack = []; - reservedPrivateNames = void 0; - currentSourceFile = void 0; - currentLineMap = void 0; - detachedCommentsInfo = void 0; - setWriter( - /*output*/ - void 0, - /*_sourceMapGenerator*/ - void 0 - ); - } - function getCurrentLineMap() { - return currentLineMap || (currentLineMap = getLineStarts(Debug.checkDefined(currentSourceFile))); - } - function emit(node, parenthesizerRule) { - if (node === void 0) return; - pipelineEmit(4 /* Unspecified */, node, parenthesizerRule); - } - function emitIdentifierName(node) { - if (node === void 0) return; - pipelineEmit( - 2 /* IdentifierName */, - node, - /*parenthesizerRule*/ - void 0 - ); - } - function emitExpression(node, parenthesizerRule) { - if (node === void 0) return; - pipelineEmit(1 /* Expression */, node, parenthesizerRule); - } - function emitJsxAttributeValue(node) { - pipelineEmit(isStringLiteral(node) ? 6 /* JsxAttributeValue */ : 4 /* Unspecified */, node); - } - function beforeEmitNode(node) { - if (preserveSourceNewlines && getInternalEmitFlags(node) & 4 /* IgnoreSourceNewlines */) { - preserveSourceNewlines = false; - } - } - function afterEmitNode(savedPreserveSourceNewlines) { - preserveSourceNewlines = savedPreserveSourceNewlines; - } - function pipelineEmit(emitHint, node, parenthesizerRule) { - currentParenthesizerRule = parenthesizerRule; - const pipelinePhase = getPipelinePhase(0 /* Notification */, emitHint, node); - pipelinePhase(emitHint, node); - currentParenthesizerRule = void 0; - } - function shouldEmitComments(node) { - return !commentsDisabled && !isSourceFile(node); - } - function shouldEmitSourceMaps(node) { - return !sourceMapsDisabled && !isSourceFile(node) && !isInJsonFile(node); - } - function getPipelinePhase(phase, emitHint, node) { - switch (phase) { - case 0 /* Notification */: - if (onEmitNode !== noEmitNotification && (!isEmitNotificationEnabled || isEmitNotificationEnabled(node))) { - return pipelineEmitWithNotification; - } - case 1 /* Substitution */: - if (substituteNode !== noEmitSubstitution && (lastSubstitution = substituteNode(emitHint, node) || node) !== node) { - if (currentParenthesizerRule) { - lastSubstitution = currentParenthesizerRule(lastSubstitution); - } - return pipelineEmitWithSubstitution; - } - case 2 /* Comments */: - if (shouldEmitComments(node)) { - return pipelineEmitWithComments; - } - case 3 /* SourceMaps */: - if (shouldEmitSourceMaps(node)) { - return pipelineEmitWithSourceMaps; - } - case 4 /* Emit */: - return pipelineEmitWithHint; - default: - return Debug.assertNever(phase); - } - } - function getNextPipelinePhase(currentPhase, emitHint, node) { - return getPipelinePhase(currentPhase + 1, emitHint, node); - } - function pipelineEmitWithNotification(hint, node) { - const pipelinePhase = getNextPipelinePhase(0 /* Notification */, hint, node); - onEmitNode(hint, node, pipelinePhase); - } - function pipelineEmitWithHint(hint, node) { - onBeforeEmitNode == null ? void 0 : onBeforeEmitNode(node); - if (preserveSourceNewlines) { - const savedPreserveSourceNewlines = preserveSourceNewlines; - beforeEmitNode(node); - pipelineEmitWithHintWorker(hint, node); - afterEmitNode(savedPreserveSourceNewlines); - } else { - pipelineEmitWithHintWorker(hint, node); - } - onAfterEmitNode == null ? void 0 : onAfterEmitNode(node); - currentParenthesizerRule = void 0; - } - function pipelineEmitWithHintWorker(hint, node, allowSnippets = true) { - if (allowSnippets) { - const snippet = getSnippetElement(node); - if (snippet) { - return emitSnippetNode(hint, node, snippet); - } - } - if (hint === 0 /* SourceFile */) return emitSourceFile(cast(node, isSourceFile)); - if (hint === 2 /* IdentifierName */) return emitIdentifier(cast(node, isIdentifier)); - if (hint === 6 /* JsxAttributeValue */) return emitLiteral( - cast(node, isStringLiteral), - /*jsxAttributeEscape*/ - true - ); - if (hint === 3 /* MappedTypeParameter */) return emitMappedTypeParameter(cast(node, isTypeParameterDeclaration)); - if (hint === 7 /* ImportTypeNodeAttributes */) return emitImportTypeNodeAttributes(cast(node, isImportAttributes)); - if (hint === 5 /* EmbeddedStatement */) { - Debug.assertNode(node, isEmptyStatement); - return emitEmptyStatement( - /*isEmbeddedStatement*/ - true - ); - } - if (hint === 4 /* Unspecified */) { - switch (node.kind) { - case 16 /* TemplateHead */: - case 17 /* TemplateMiddle */: - case 18 /* TemplateTail */: - return emitLiteral( - node, - /*jsxAttributeEscape*/ - false - ); - case 80 /* Identifier */: - return emitIdentifier(node); - case 81 /* PrivateIdentifier */: - return emitPrivateIdentifier(node); - case 166 /* QualifiedName */: - return emitQualifiedName(node); - case 167 /* ComputedPropertyName */: - return emitComputedPropertyName(node); - case 168 /* TypeParameter */: - return emitTypeParameter(node); - case 169 /* Parameter */: - return emitParameter(node); - case 170 /* Decorator */: - return emitDecorator(node); - case 171 /* PropertySignature */: - return emitPropertySignature(node); - case 172 /* PropertyDeclaration */: - return emitPropertyDeclaration(node); - case 173 /* MethodSignature */: - return emitMethodSignature(node); - case 174 /* MethodDeclaration */: - return emitMethodDeclaration(node); - case 175 /* ClassStaticBlockDeclaration */: - return emitClassStaticBlockDeclaration(node); - case 176 /* Constructor */: - return emitConstructor(node); - case 177 /* GetAccessor */: - case 178 /* SetAccessor */: - return emitAccessorDeclaration(node); - case 179 /* CallSignature */: - return emitCallSignature(node); - case 180 /* ConstructSignature */: - return emitConstructSignature(node); - case 181 /* IndexSignature */: - return emitIndexSignature(node); - case 182 /* TypePredicate */: - return emitTypePredicate(node); - case 183 /* TypeReference */: - return emitTypeReference(node); - case 184 /* FunctionType */: - return emitFunctionType(node); - case 185 /* ConstructorType */: - return emitConstructorType(node); - case 186 /* TypeQuery */: - return emitTypeQuery(node); - case 187 /* TypeLiteral */: - return emitTypeLiteral(node); - case 188 /* ArrayType */: - return emitArrayType(node); - case 189 /* TupleType */: - return emitTupleType(node); - case 190 /* OptionalType */: - return emitOptionalType(node); - case 192 /* UnionType */: - return emitUnionType(node); - case 193 /* IntersectionType */: - return emitIntersectionType(node); - case 194 /* ConditionalType */: - return emitConditionalType(node); - case 195 /* InferType */: - return emitInferType(node); - case 196 /* ParenthesizedType */: - return emitParenthesizedType(node); - case 233 /* ExpressionWithTypeArguments */: - return emitExpressionWithTypeArguments(node); - case 197 /* ThisType */: - return emitThisType(); - case 198 /* TypeOperator */: - return emitTypeOperator(node); - case 199 /* IndexedAccessType */: - return emitIndexedAccessType(node); - case 200 /* MappedType */: - return emitMappedType(node); - case 201 /* LiteralType */: - return emitLiteralType(node); - case 202 /* NamedTupleMember */: - return emitNamedTupleMember(node); - case 203 /* TemplateLiteralType */: - return emitTemplateType(node); - case 204 /* TemplateLiteralTypeSpan */: - return emitTemplateTypeSpan(node); - case 205 /* ImportType */: - return emitImportTypeNode(node); - case 206 /* ObjectBindingPattern */: - return emitObjectBindingPattern(node); - case 207 /* ArrayBindingPattern */: - return emitArrayBindingPattern(node); - case 208 /* BindingElement */: - return emitBindingElement(node); - case 239 /* TemplateSpan */: - return emitTemplateSpan(node); - case 240 /* SemicolonClassElement */: - return emitSemicolonClassElement(); - case 241 /* Block */: - return emitBlock(node); - case 243 /* VariableStatement */: - return emitVariableStatement(node); - case 242 /* EmptyStatement */: - return emitEmptyStatement( - /*isEmbeddedStatement*/ - false - ); - case 244 /* ExpressionStatement */: - return emitExpressionStatement(node); - case 245 /* IfStatement */: - return emitIfStatement(node); - case 246 /* DoStatement */: - return emitDoStatement(node); - case 247 /* WhileStatement */: - return emitWhileStatement(node); - case 248 /* ForStatement */: - return emitForStatement(node); - case 249 /* ForInStatement */: - return emitForInStatement(node); - case 250 /* ForOfStatement */: - return emitForOfStatement(node); - case 251 /* ContinueStatement */: - return emitContinueStatement(node); - case 252 /* BreakStatement */: - return emitBreakStatement(node); - case 253 /* ReturnStatement */: - return emitReturnStatement(node); - case 254 /* WithStatement */: - return emitWithStatement(node); - case 255 /* SwitchStatement */: - return emitSwitchStatement(node); - case 256 /* LabeledStatement */: - return emitLabeledStatement(node); - case 257 /* ThrowStatement */: - return emitThrowStatement(node); - case 258 /* TryStatement */: - return emitTryStatement(node); - case 259 /* DebuggerStatement */: - return emitDebuggerStatement(node); - case 260 /* VariableDeclaration */: - return emitVariableDeclaration(node); - case 261 /* VariableDeclarationList */: - return emitVariableDeclarationList(node); - case 262 /* FunctionDeclaration */: - return emitFunctionDeclaration(node); - case 263 /* ClassDeclaration */: - return emitClassDeclaration(node); - case 264 /* InterfaceDeclaration */: - return emitInterfaceDeclaration(node); - case 265 /* TypeAliasDeclaration */: - return emitTypeAliasDeclaration(node); - case 266 /* EnumDeclaration */: - return emitEnumDeclaration(node); - case 267 /* ModuleDeclaration */: - return emitModuleDeclaration(node); - case 268 /* ModuleBlock */: - return emitModuleBlock(node); - case 269 /* CaseBlock */: - return emitCaseBlock(node); - case 270 /* NamespaceExportDeclaration */: - return emitNamespaceExportDeclaration(node); - case 271 /* ImportEqualsDeclaration */: - return emitImportEqualsDeclaration(node); - case 272 /* ImportDeclaration */: - return emitImportDeclaration(node); - case 273 /* ImportClause */: - return emitImportClause(node); - case 274 /* NamespaceImport */: - return emitNamespaceImport(node); - case 280 /* NamespaceExport */: - return emitNamespaceExport(node); - case 275 /* NamedImports */: - return emitNamedImports(node); - case 276 /* ImportSpecifier */: - return emitImportSpecifier(node); - case 277 /* ExportAssignment */: - return emitExportAssignment(node); - case 278 /* ExportDeclaration */: - return emitExportDeclaration(node); - case 279 /* NamedExports */: - return emitNamedExports(node); - case 281 /* ExportSpecifier */: - return emitExportSpecifier(node); - case 300 /* ImportAttributes */: - return emitImportAttributes(node); - case 301 /* ImportAttribute */: - return emitImportAttribute(node); - case 282 /* MissingDeclaration */: - return; - case 283 /* ExternalModuleReference */: - return emitExternalModuleReference(node); - case 12 /* JsxText */: - return emitJsxText(node); - case 286 /* JsxOpeningElement */: - case 289 /* JsxOpeningFragment */: - return emitJsxOpeningElementOrFragment(node); - case 287 /* JsxClosingElement */: - case 290 /* JsxClosingFragment */: - return emitJsxClosingElementOrFragment(node); - case 291 /* JsxAttribute */: - return emitJsxAttribute(node); - case 292 /* JsxAttributes */: - return emitJsxAttributes(node); - case 293 /* JsxSpreadAttribute */: - return emitJsxSpreadAttribute(node); - case 294 /* JsxExpression */: - return emitJsxExpression(node); - case 295 /* JsxNamespacedName */: - return emitJsxNamespacedName(node); - case 296 /* CaseClause */: - return emitCaseClause(node); - case 297 /* DefaultClause */: - return emitDefaultClause(node); - case 298 /* HeritageClause */: - return emitHeritageClause(node); - case 299 /* CatchClause */: - return emitCatchClause(node); - case 303 /* PropertyAssignment */: - return emitPropertyAssignment(node); - case 304 /* ShorthandPropertyAssignment */: - return emitShorthandPropertyAssignment(node); - case 305 /* SpreadAssignment */: - return emitSpreadAssignment(node); - case 306 /* EnumMember */: - return emitEnumMember(node); - case 307 /* SourceFile */: - return emitSourceFile(node); - case 308 /* Bundle */: - return Debug.fail("Bundles should be printed using printBundle"); - case 309 /* JSDocTypeExpression */: - return emitJSDocTypeExpression(node); - case 310 /* JSDocNameReference */: - return emitJSDocNameReference(node); - case 312 /* JSDocAllType */: - return writePunctuation("*"); - case 313 /* JSDocUnknownType */: - return writePunctuation("?"); - case 314 /* JSDocNullableType */: - return emitJSDocNullableType(node); - case 315 /* JSDocNonNullableType */: - return emitJSDocNonNullableType(node); - case 316 /* JSDocOptionalType */: - return emitJSDocOptionalType(node); - case 317 /* JSDocFunctionType */: - return emitJSDocFunctionType(node); - case 191 /* RestType */: - case 318 /* JSDocVariadicType */: - return emitRestOrJSDocVariadicType(node); - case 319 /* JSDocNamepathType */: - return; - case 320 /* JSDoc */: - return emitJSDoc(node); - case 322 /* JSDocTypeLiteral */: - return emitJSDocTypeLiteral(node); - case 323 /* JSDocSignature */: - return emitJSDocSignature(node); - case 327 /* JSDocTag */: - case 332 /* JSDocClassTag */: - case 337 /* JSDocOverrideTag */: - return emitJSDocSimpleTag(node); - case 328 /* JSDocAugmentsTag */: - case 329 /* JSDocImplementsTag */: - return emitJSDocHeritageTag(node); - case 330 /* JSDocAuthorTag */: - case 331 /* JSDocDeprecatedTag */: - return; - case 333 /* JSDocPublicTag */: - case 334 /* JSDocPrivateTag */: - case 335 /* JSDocProtectedTag */: - case 336 /* JSDocReadonlyTag */: - return; - case 338 /* JSDocCallbackTag */: - return emitJSDocCallbackTag(node); - case 339 /* JSDocOverloadTag */: - return emitJSDocOverloadTag(node); - case 341 /* JSDocParameterTag */: - case 348 /* JSDocPropertyTag */: - return emitJSDocPropertyLikeTag(node); - case 340 /* JSDocEnumTag */: - case 342 /* JSDocReturnTag */: - case 343 /* JSDocThisTag */: - case 344 /* JSDocTypeTag */: - case 349 /* JSDocThrowsTag */: - case 350 /* JSDocSatisfiesTag */: - return emitJSDocSimpleTypedTag(node); - case 345 /* JSDocTemplateTag */: - return emitJSDocTemplateTag(node); - case 346 /* JSDocTypedefTag */: - return emitJSDocTypedefTag(node); - case 347 /* JSDocSeeTag */: - return emitJSDocSeeTag(node); - case 351 /* JSDocImportTag */: - return emitJSDocImportTag(node); - case 353 /* NotEmittedStatement */: - return; - } - if (isExpression(node)) { - hint = 1 /* Expression */; - if (substituteNode !== noEmitSubstitution) { - const substitute = substituteNode(hint, node) || node; - if (substitute !== node) { - node = substitute; - if (currentParenthesizerRule) { - node = currentParenthesizerRule(node); - } - } - } - } - } - if (hint === 1 /* Expression */) { - switch (node.kind) { - case 9 /* NumericLiteral */: - case 10 /* BigIntLiteral */: - return emitNumericOrBigIntLiteral(node); - case 11 /* StringLiteral */: - case 14 /* RegularExpressionLiteral */: - case 15 /* NoSubstitutionTemplateLiteral */: - return emitLiteral( - node, - /*jsxAttributeEscape*/ - false - ); - case 80 /* Identifier */: - return emitIdentifier(node); - case 81 /* PrivateIdentifier */: - return emitPrivateIdentifier(node); - case 209 /* ArrayLiteralExpression */: - return emitArrayLiteralExpression(node); - case 210 /* ObjectLiteralExpression */: - return emitObjectLiteralExpression(node); - case 211 /* PropertyAccessExpression */: - return emitPropertyAccessExpression(node); - case 212 /* ElementAccessExpression */: - return emitElementAccessExpression(node); - case 213 /* CallExpression */: - return emitCallExpression(node); - case 214 /* NewExpression */: - return emitNewExpression(node); - case 215 /* TaggedTemplateExpression */: - return emitTaggedTemplateExpression(node); - case 216 /* TypeAssertionExpression */: - return emitTypeAssertionExpression(node); - case 217 /* ParenthesizedExpression */: - return emitParenthesizedExpression(node); - case 218 /* FunctionExpression */: - return emitFunctionExpression(node); - case 219 /* ArrowFunction */: - return emitArrowFunction(node); - case 220 /* DeleteExpression */: - return emitDeleteExpression(node); - case 221 /* TypeOfExpression */: - return emitTypeOfExpression(node); - case 222 /* VoidExpression */: - return emitVoidExpression(node); - case 223 /* AwaitExpression */: - return emitAwaitExpression(node); - case 224 /* PrefixUnaryExpression */: - return emitPrefixUnaryExpression(node); - case 225 /* PostfixUnaryExpression */: - return emitPostfixUnaryExpression(node); - case 226 /* BinaryExpression */: - return emitBinaryExpression(node); - case 227 /* ConditionalExpression */: - return emitConditionalExpression(node); - case 228 /* TemplateExpression */: - return emitTemplateExpression(node); - case 229 /* YieldExpression */: - return emitYieldExpression(node); - case 230 /* SpreadElement */: - return emitSpreadElement(node); - case 231 /* ClassExpression */: - return emitClassExpression(node); - case 232 /* OmittedExpression */: - return; - case 234 /* AsExpression */: - return emitAsExpression(node); - case 235 /* NonNullExpression */: - return emitNonNullExpression(node); - case 233 /* ExpressionWithTypeArguments */: - return emitExpressionWithTypeArguments(node); - case 238 /* SatisfiesExpression */: - return emitSatisfiesExpression(node); - case 236 /* MetaProperty */: - return emitMetaProperty(node); - case 237 /* SyntheticExpression */: - return Debug.fail("SyntheticExpression should never be printed."); - case 282 /* MissingDeclaration */: - return; - case 284 /* JsxElement */: - return emitJsxElement(node); - case 285 /* JsxSelfClosingElement */: - return emitJsxSelfClosingElement(node); - case 288 /* JsxFragment */: - return emitJsxFragment(node); - case 352 /* SyntaxList */: - return Debug.fail("SyntaxList should not be printed"); - case 353 /* NotEmittedStatement */: - return; - case 354 /* PartiallyEmittedExpression */: - return emitPartiallyEmittedExpression(node); - case 355 /* CommaListExpression */: - return emitCommaList(node); - case 356 /* SyntheticReferenceExpression */: - return Debug.fail("SyntheticReferenceExpression should not be printed"); - } - } - if (isKeyword(node.kind)) return writeTokenNode(node, writeKeyword); - if (isTokenKind(node.kind)) return writeTokenNode(node, writePunctuation); - Debug.fail(`Unhandled SyntaxKind: ${Debug.formatSyntaxKind(node.kind)}.`); - } - function emitMappedTypeParameter(node) { - emit(node.name); - writeSpace(); - writeKeyword("in"); - writeSpace(); - emit(node.constraint); - } - function pipelineEmitWithSubstitution(hint, node) { - const pipelinePhase = getNextPipelinePhase(1 /* Substitution */, hint, node); - Debug.assertIsDefined(lastSubstitution); - node = lastSubstitution; - lastSubstitution = void 0; - pipelinePhase(hint, node); - } - function emitHelpers(node) { - let helpersEmitted = false; - const bundle = node.kind === 308 /* Bundle */ ? node : void 0; - if (bundle && moduleKind === 0 /* None */) { - return; - } - const numNodes = bundle ? bundle.sourceFiles.length : 1; - for (let i = 0; i < numNodes; i++) { - const currentNode = bundle ? bundle.sourceFiles[i] : node; - const sourceFile = isSourceFile(currentNode) ? currentNode : currentSourceFile; - const shouldSkip = printerOptions.noEmitHelpers || !!sourceFile && hasRecordedExternalHelpers(sourceFile); - const shouldBundle = isSourceFile(currentNode) && !isOwnFileEmit; - const helpers = getSortedEmitHelpers(currentNode); - if (helpers) { - for (const helper of helpers) { - if (!helper.scoped) { - if (shouldSkip) continue; - if (shouldBundle) { - if (bundledHelpers.get(helper.name)) { - continue; - } - bundledHelpers.set(helper.name, true); - } - } else if (bundle) { - continue; - } - if (typeof helper.text === "string") { - writeLines(helper.text); - } else { - writeLines(helper.text(makeFileLevelOptimisticUniqueName)); - } - helpersEmitted = true; - } - } - } - return helpersEmitted; - } - function getSortedEmitHelpers(node) { - const helpers = getEmitHelpers(node); - return helpers && toSorted(helpers, compareEmitHelpers); - } - function emitNumericOrBigIntLiteral(node) { - emitLiteral( - node, - /*jsxAttributeEscape*/ - false - ); - } - function emitLiteral(node, jsxAttributeEscape) { - const text = getLiteralTextOfNode( - node, - /*sourceFile*/ - void 0, - printerOptions.neverAsciiEscape, - jsxAttributeEscape - ); - if ((printerOptions.sourceMap || printerOptions.inlineSourceMap) && (node.kind === 11 /* StringLiteral */ || isTemplateLiteralKind(node.kind))) { - writeLiteral(text); - } else { - writeStringLiteral(text); - } - } - function emitSnippetNode(hint, node, snippet) { - switch (snippet.kind) { - case 1 /* Placeholder */: - emitPlaceholder(hint, node, snippet); - break; - case 0 /* TabStop */: - emitTabStop(hint, node, snippet); - break; - } - } - function emitPlaceholder(hint, node, snippet) { - nonEscapingWrite(`\${${snippet.order}:`); - pipelineEmitWithHintWorker( - hint, - node, - /*allowSnippets*/ - false - ); - nonEscapingWrite(`}`); - } - function emitTabStop(hint, node, snippet) { - Debug.assert(node.kind === 242 /* EmptyStatement */, `A tab stop cannot be attached to a node of kind ${Debug.formatSyntaxKind(node.kind)}.`); - Debug.assert(hint !== 5 /* EmbeddedStatement */, `A tab stop cannot be attached to an embedded statement.`); - nonEscapingWrite(`$${snippet.order}`); - } - function emitIdentifier(node) { - const writeText = node.symbol ? writeSymbol : write; - writeText(getTextOfNode2( - node, - /*includeTrivia*/ - false - ), node.symbol); - emitList(node, getIdentifierTypeArguments(node), 53776 /* TypeParameters */); - } - function emitPrivateIdentifier(node) { - write(getTextOfNode2( - node, - /*includeTrivia*/ - false - )); - } - function emitQualifiedName(node) { - emitEntityName(node.left); - writePunctuation("."); - emit(node.right); - } - function emitEntityName(node) { - if (node.kind === 80 /* Identifier */) { - emitExpression(node); - } else { - emit(node); - } - } - function emitComputedPropertyName(node) { - writePunctuation("["); - emitExpression(node.expression, parenthesizer.parenthesizeExpressionOfComputedPropertyName); - writePunctuation("]"); - } - function emitTypeParameter(node) { - emitModifierList(node, node.modifiers); - emit(node.name); - if (node.constraint) { - writeSpace(); - writeKeyword("extends"); - writeSpace(); - emit(node.constraint); - } - if (node.default) { - writeSpace(); - writeOperator("="); - writeSpace(); - emit(node.default); - } - } - function emitParameter(node) { - emitDecoratorsAndModifiers( - node, - node.modifiers, - /*allowDecorators*/ - true - ); - emit(node.dotDotDotToken); - emitNodeWithWriter(node.name, writeParameter); - emit(node.questionToken); - if (node.parent && node.parent.kind === 317 /* JSDocFunctionType */ && !node.name) { - emit(node.type); - } else { - emitTypeAnnotation(node.type); - } - emitInitializer(node.initializer, node.type ? node.type.end : node.questionToken ? node.questionToken.end : node.name ? node.name.end : node.modifiers ? node.modifiers.end : node.pos, node, parenthesizer.parenthesizeExpressionForDisallowedComma); - } - function emitDecorator(decorator) { - writePunctuation("@"); - emitExpression(decorator.expression, parenthesizer.parenthesizeLeftSideOfAccess); - } - function emitPropertySignature(node) { - emitModifierList(node, node.modifiers); - emitNodeWithWriter(node.name, writeProperty); - emit(node.questionToken); - emitTypeAnnotation(node.type); - writeTrailingSemicolon(); - } - function emitPropertyDeclaration(node) { - emitDecoratorsAndModifiers( - node, - node.modifiers, - /*allowDecorators*/ - true - ); - emit(node.name); - emit(node.questionToken); - emit(node.exclamationToken); - emitTypeAnnotation(node.type); - emitInitializer(node.initializer, node.type ? node.type.end : node.questionToken ? node.questionToken.end : node.name.end, node); - writeTrailingSemicolon(); - } - function emitMethodSignature(node) { - emitModifierList(node, node.modifiers); - emit(node.name); - emit(node.questionToken); - emitSignatureAndBody(node, emitSignatureHead, emitEmptyFunctionBody); - } - function emitMethodDeclaration(node) { - emitDecoratorsAndModifiers( - node, - node.modifiers, - /*allowDecorators*/ - true - ); - emit(node.asteriskToken); - emit(node.name); - emit(node.questionToken); - emitSignatureAndBody(node, emitSignatureHead, emitFunctionBody); - } - function emitClassStaticBlockDeclaration(node) { - writeKeyword("static"); - pushNameGenerationScope(node); - emitBlockFunctionBody(node.body); - popNameGenerationScope(node); - } - function emitConstructor(node) { - emitDecoratorsAndModifiers( - node, - node.modifiers, - /*allowDecorators*/ - false - ); - writeKeyword("constructor"); - emitSignatureAndBody(node, emitSignatureHead, emitFunctionBody); - } - function emitAccessorDeclaration(node) { - const pos = emitDecoratorsAndModifiers( - node, - node.modifiers, - /*allowDecorators*/ - true - ); - const token = node.kind === 177 /* GetAccessor */ ? 139 /* GetKeyword */ : 153 /* SetKeyword */; - emitTokenWithComment(token, pos, writeKeyword, node); - writeSpace(); - emit(node.name); - emitSignatureAndBody(node, emitSignatureHead, emitFunctionBody); - } - function emitCallSignature(node) { - emitSignatureAndBody(node, emitSignatureHead, emitEmptyFunctionBody); - } - function emitConstructSignature(node) { - writeKeyword("new"); - writeSpace(); - emitSignatureAndBody(node, emitSignatureHead, emitEmptyFunctionBody); - } - function emitIndexSignature(node) { - emitDecoratorsAndModifiers( - node, - node.modifiers, - /*allowDecorators*/ - false - ); - emitParametersForIndexSignature(node, node.parameters); - emitTypeAnnotation(node.type); - writeTrailingSemicolon(); - } - function emitTemplateTypeSpan(node) { - emit(node.type); - emit(node.literal); - } - function emitSemicolonClassElement() { - writeTrailingSemicolon(); - } - function emitTypePredicate(node) { - if (node.assertsModifier) { - emit(node.assertsModifier); - writeSpace(); - } - emit(node.parameterName); - if (node.type) { - writeSpace(); - writeKeyword("is"); - writeSpace(); - emit(node.type); - } - } - function emitTypeReference(node) { - emit(node.typeName); - emitTypeArguments(node, node.typeArguments); - } - function emitFunctionType(node) { - emitSignatureAndBody(node, emitFunctionTypeHead, emitFunctionTypeBody); - } - function emitFunctionTypeHead(node) { - emitTypeParameters(node, node.typeParameters); - emitParametersForArrow(node, node.parameters); - writeSpace(); - writePunctuation("=>"); - } - function emitFunctionTypeBody(node) { - writeSpace(); - emit(node.type); - } - function emitJSDocFunctionType(node) { - writeKeyword("function"); - emitParameters(node, node.parameters); - writePunctuation(":"); - emit(node.type); - } - function emitJSDocNullableType(node) { - writePunctuation("?"); - emit(node.type); - } - function emitJSDocNonNullableType(node) { - writePunctuation("!"); - emit(node.type); - } - function emitJSDocOptionalType(node) { - emit(node.type); - writePunctuation("="); - } - function emitConstructorType(node) { - emitModifierList(node, node.modifiers); - writeKeyword("new"); - writeSpace(); - emitSignatureAndBody(node, emitFunctionTypeHead, emitFunctionTypeBody); - } - function emitTypeQuery(node) { - writeKeyword("typeof"); - writeSpace(); - emit(node.exprName); - emitTypeArguments(node, node.typeArguments); - } - function emitTypeLiteral(node) { - pushNameGenerationScope(node); - forEach(node.members, generateMemberNames); - writePunctuation("{"); - const flags = getEmitFlags(node) & 1 /* SingleLine */ ? 768 /* SingleLineTypeLiteralMembers */ : 32897 /* MultiLineTypeLiteralMembers */; - emitList(node, node.members, flags | 524288 /* NoSpaceIfEmpty */); - writePunctuation("}"); - popNameGenerationScope(node); - } - function emitArrayType(node) { - emit(node.elementType, parenthesizer.parenthesizeNonArrayTypeOfPostfixType); - writePunctuation("["); - writePunctuation("]"); - } - function emitRestOrJSDocVariadicType(node) { - writePunctuation("..."); - emit(node.type); - } - function emitTupleType(node) { - emitTokenWithComment(23 /* OpenBracketToken */, node.pos, writePunctuation, node); - const flags = getEmitFlags(node) & 1 /* SingleLine */ ? 528 /* SingleLineTupleTypeElements */ : 657 /* MultiLineTupleTypeElements */; - emitList(node, node.elements, flags | 524288 /* NoSpaceIfEmpty */, parenthesizer.parenthesizeElementTypeOfTupleType); - emitTokenWithComment(24 /* CloseBracketToken */, node.elements.end, writePunctuation, node); - } - function emitNamedTupleMember(node) { - emit(node.dotDotDotToken); - emit(node.name); - emit(node.questionToken); - emitTokenWithComment(59 /* ColonToken */, node.name.end, writePunctuation, node); - writeSpace(); - emit(node.type); - } - function emitOptionalType(node) { - emit(node.type, parenthesizer.parenthesizeTypeOfOptionalType); - writePunctuation("?"); - } - function emitUnionType(node) { - emitList(node, node.types, 516 /* UnionTypeConstituents */, parenthesizer.parenthesizeConstituentTypeOfUnionType); - } - function emitIntersectionType(node) { - emitList(node, node.types, 520 /* IntersectionTypeConstituents */, parenthesizer.parenthesizeConstituentTypeOfIntersectionType); - } - function emitConditionalType(node) { - emit(node.checkType, parenthesizer.parenthesizeCheckTypeOfConditionalType); - writeSpace(); - writeKeyword("extends"); - writeSpace(); - emit(node.extendsType, parenthesizer.parenthesizeExtendsTypeOfConditionalType); - writeSpace(); - writePunctuation("?"); - writeSpace(); - emit(node.trueType); - writeSpace(); - writePunctuation(":"); - writeSpace(); - emit(node.falseType); - } - function emitInferType(node) { - writeKeyword("infer"); - writeSpace(); - emit(node.typeParameter); - } - function emitParenthesizedType(node) { - writePunctuation("("); - emit(node.type); - writePunctuation(")"); - } - function emitThisType() { - writeKeyword("this"); - } - function emitTypeOperator(node) { - writeTokenText(node.operator, writeKeyword); - writeSpace(); - const parenthesizerRule = node.operator === 148 /* ReadonlyKeyword */ ? parenthesizer.parenthesizeOperandOfReadonlyTypeOperator : parenthesizer.parenthesizeOperandOfTypeOperator; - emit(node.type, parenthesizerRule); - } - function emitIndexedAccessType(node) { - emit(node.objectType, parenthesizer.parenthesizeNonArrayTypeOfPostfixType); - writePunctuation("["); - emit(node.indexType); - writePunctuation("]"); - } - function emitMappedType(node) { - const emitFlags = getEmitFlags(node); - writePunctuation("{"); - if (emitFlags & 1 /* SingleLine */) { - writeSpace(); - } else { - writeLine(); - increaseIndent(); - } - if (node.readonlyToken) { - emit(node.readonlyToken); - if (node.readonlyToken.kind !== 148 /* ReadonlyKeyword */) { - writeKeyword("readonly"); - } - writeSpace(); - } - writePunctuation("["); - pipelineEmit(3 /* MappedTypeParameter */, node.typeParameter); - if (node.nameType) { - writeSpace(); - writeKeyword("as"); - writeSpace(); - emit(node.nameType); - } - writePunctuation("]"); - if (node.questionToken) { - emit(node.questionToken); - if (node.questionToken.kind !== 58 /* QuestionToken */) { - writePunctuation("?"); - } - } - writePunctuation(":"); - writeSpace(); - emit(node.type); - writeTrailingSemicolon(); - if (emitFlags & 1 /* SingleLine */) { - writeSpace(); - } else { - writeLine(); - decreaseIndent(); - } - emitList(node, node.members, 2 /* PreserveLines */); - writePunctuation("}"); - } - function emitLiteralType(node) { - emitExpression(node.literal); - } - function emitTemplateType(node) { - emit(node.head); - emitList(node, node.templateSpans, 262144 /* TemplateExpressionSpans */); - } - function emitImportTypeNode(node) { - if (node.isTypeOf) { - writeKeyword("typeof"); - writeSpace(); - } - writeKeyword("import"); - writePunctuation("("); - emit(node.argument); - if (node.attributes) { - writePunctuation(","); - writeSpace(); - pipelineEmit(7 /* ImportTypeNodeAttributes */, node.attributes); - } - writePunctuation(")"); - if (node.qualifier) { - writePunctuation("."); - emit(node.qualifier); - } - emitTypeArguments(node, node.typeArguments); - } - function emitObjectBindingPattern(node) { - writePunctuation("{"); - emitList(node, node.elements, 525136 /* ObjectBindingPatternElements */); - writePunctuation("}"); - } - function emitArrayBindingPattern(node) { - writePunctuation("["); - emitList(node, node.elements, 524880 /* ArrayBindingPatternElements */); - writePunctuation("]"); - } - function emitBindingElement(node) { - emit(node.dotDotDotToken); - if (node.propertyName) { - emit(node.propertyName); - writePunctuation(":"); - writeSpace(); - } - emit(node.name); - emitInitializer(node.initializer, node.name.end, node, parenthesizer.parenthesizeExpressionForDisallowedComma); - } - function emitArrayLiteralExpression(node) { - const elements = node.elements; - const preferNewLine = node.multiLine ? 65536 /* PreferNewLine */ : 0 /* None */; - emitExpressionList(node, elements, 8914 /* ArrayLiteralExpressionElements */ | preferNewLine, parenthesizer.parenthesizeExpressionForDisallowedComma); - } - function emitObjectLiteralExpression(node) { - pushNameGenerationScope(node); - forEach(node.properties, generateMemberNames); - const indentedFlag = getEmitFlags(node) & 131072 /* Indented */; - if (indentedFlag) { - increaseIndent(); - } - const preferNewLine = node.multiLine ? 65536 /* PreferNewLine */ : 0 /* None */; - const allowTrailingComma = currentSourceFile && currentSourceFile.languageVersion >= 1 /* ES5 */ && !isJsonSourceFile(currentSourceFile) ? 64 /* AllowTrailingComma */ : 0 /* None */; - emitList(node, node.properties, 526226 /* ObjectLiteralExpressionProperties */ | allowTrailingComma | preferNewLine); - if (indentedFlag) { - decreaseIndent(); - } - popNameGenerationScope(node); - } - function emitPropertyAccessExpression(node) { - emitExpression(node.expression, parenthesizer.parenthesizeLeftSideOfAccess); - const token = node.questionDotToken || setTextRangePosEnd(factory.createToken(25 /* DotToken */), node.expression.end, node.name.pos); - const linesBeforeDot = getLinesBetweenNodes(node, node.expression, token); - const linesAfterDot = getLinesBetweenNodes(node, token, node.name); - writeLinesAndIndent( - linesBeforeDot, - /*writeSpaceIfNotIndenting*/ - false - ); - const shouldEmitDotDot = token.kind !== 29 /* QuestionDotToken */ && mayNeedDotDotForPropertyAccess(node.expression) && !writer.hasTrailingComment() && !writer.hasTrailingWhitespace(); - if (shouldEmitDotDot) { - writePunctuation("."); - } - if (node.questionDotToken) { - emit(token); - } else { - emitTokenWithComment(token.kind, node.expression.end, writePunctuation, node); - } - writeLinesAndIndent( - linesAfterDot, - /*writeSpaceIfNotIndenting*/ - false - ); - emit(node.name); - decreaseIndentIf(linesBeforeDot, linesAfterDot); - } - function mayNeedDotDotForPropertyAccess(expression) { - expression = skipPartiallyEmittedExpressions(expression); - if (isNumericLiteral(expression)) { - const text = getLiteralTextOfNode( - expression, - /*sourceFile*/ - void 0, - /*neverAsciiEscape*/ - true, - /*jsxAttributeEscape*/ - false - ); - return !(expression.numericLiteralFlags & 448 /* WithSpecifier */) && !text.includes(tokenToString(25 /* DotToken */)) && !text.includes(String.fromCharCode(69 /* E */)) && !text.includes(String.fromCharCode(101 /* e */)); - } else if (isAccessExpression(expression)) { - const constantValue = getConstantValue(expression); - return typeof constantValue === "number" && isFinite(constantValue) && constantValue >= 0 && Math.floor(constantValue) === constantValue; - } - } - function emitElementAccessExpression(node) { - emitExpression(node.expression, parenthesizer.parenthesizeLeftSideOfAccess); - emit(node.questionDotToken); - emitTokenWithComment(23 /* OpenBracketToken */, node.expression.end, writePunctuation, node); - emitExpression(node.argumentExpression); - emitTokenWithComment(24 /* CloseBracketToken */, node.argumentExpression.end, writePunctuation, node); - } - function emitCallExpression(node) { - const indirectCall = getInternalEmitFlags(node) & 16 /* IndirectCall */; - if (indirectCall) { - writePunctuation("("); - writeLiteral("0"); - writePunctuation(","); - writeSpace(); - } - emitExpression(node.expression, parenthesizer.parenthesizeLeftSideOfAccess); - if (indirectCall) { - writePunctuation(")"); - } - emit(node.questionDotToken); - emitTypeArguments(node, node.typeArguments); - emitExpressionList(node, node.arguments, 2576 /* CallExpressionArguments */, parenthesizer.parenthesizeExpressionForDisallowedComma); - } - function emitNewExpression(node) { - emitTokenWithComment(105 /* NewKeyword */, node.pos, writeKeyword, node); - writeSpace(); - emitExpression(node.expression, parenthesizer.parenthesizeExpressionOfNew); - emitTypeArguments(node, node.typeArguments); - emitExpressionList(node, node.arguments, 18960 /* NewExpressionArguments */, parenthesizer.parenthesizeExpressionForDisallowedComma); - } - function emitTaggedTemplateExpression(node) { - const indirectCall = getInternalEmitFlags(node) & 16 /* IndirectCall */; - if (indirectCall) { - writePunctuation("("); - writeLiteral("0"); - writePunctuation(","); - writeSpace(); - } - emitExpression(node.tag, parenthesizer.parenthesizeLeftSideOfAccess); - if (indirectCall) { - writePunctuation(")"); - } - emitTypeArguments(node, node.typeArguments); - writeSpace(); - emitExpression(node.template); - } - function emitTypeAssertionExpression(node) { - writePunctuation("<"); - emit(node.type); - writePunctuation(">"); - emitExpression(node.expression, parenthesizer.parenthesizeOperandOfPrefixUnary); - } - function emitParenthesizedExpression(node) { - const openParenPos = emitTokenWithComment(21 /* OpenParenToken */, node.pos, writePunctuation, node); - const indented = writeLineSeparatorsAndIndentBefore(node.expression, node); - emitExpression( - node.expression, - /*parenthesizerRule*/ - void 0 - ); - writeLineSeparatorsAfter(node.expression, node); - decreaseIndentIf(indented); - emitTokenWithComment(22 /* CloseParenToken */, node.expression ? node.expression.end : openParenPos, writePunctuation, node); - } - function emitFunctionExpression(node) { - generateNameIfNeeded(node.name); - emitFunctionDeclarationOrExpression(node); - } - function emitArrowFunction(node) { - emitModifierList(node, node.modifiers); - emitSignatureAndBody(node, emitArrowFunctionHead, emitArrowFunctionBody); - } - function emitArrowFunctionHead(node) { - emitTypeParameters(node, node.typeParameters); - emitParametersForArrow(node, node.parameters); - emitTypeAnnotation(node.type); - writeSpace(); - emit(node.equalsGreaterThanToken); - } - function emitArrowFunctionBody(node) { - if (isBlock(node.body)) { - emitBlockFunctionBody(node.body); - } else { - writeSpace(); - emitExpression(node.body, parenthesizer.parenthesizeConciseBodyOfArrowFunction); - } - } - function emitDeleteExpression(node) { - emitTokenWithComment(91 /* DeleteKeyword */, node.pos, writeKeyword, node); - writeSpace(); - emitExpression(node.expression, parenthesizer.parenthesizeOperandOfPrefixUnary); - } - function emitTypeOfExpression(node) { - emitTokenWithComment(114 /* TypeOfKeyword */, node.pos, writeKeyword, node); - writeSpace(); - emitExpression(node.expression, parenthesizer.parenthesizeOperandOfPrefixUnary); - } - function emitVoidExpression(node) { - emitTokenWithComment(116 /* VoidKeyword */, node.pos, writeKeyword, node); - writeSpace(); - emitExpression(node.expression, parenthesizer.parenthesizeOperandOfPrefixUnary); - } - function emitAwaitExpression(node) { - emitTokenWithComment(135 /* AwaitKeyword */, node.pos, writeKeyword, node); - writeSpace(); - emitExpression(node.expression, parenthesizer.parenthesizeOperandOfPrefixUnary); - } - function emitPrefixUnaryExpression(node) { - writeTokenText(node.operator, writeOperator); - if (shouldEmitWhitespaceBeforeOperand(node)) { - writeSpace(); - } - emitExpression(node.operand, parenthesizer.parenthesizeOperandOfPrefixUnary); - } - function shouldEmitWhitespaceBeforeOperand(node) { - const operand = node.operand; - return operand.kind === 224 /* PrefixUnaryExpression */ && (node.operator === 40 /* PlusToken */ && (operand.operator === 40 /* PlusToken */ || operand.operator === 46 /* PlusPlusToken */) || node.operator === 41 /* MinusToken */ && (operand.operator === 41 /* MinusToken */ || operand.operator === 47 /* MinusMinusToken */)); - } - function emitPostfixUnaryExpression(node) { - emitExpression(node.operand, parenthesizer.parenthesizeOperandOfPostfixUnary); - writeTokenText(node.operator, writeOperator); - } - function createEmitBinaryExpression() { - return createBinaryExpressionTrampoline( - onEnter, - onLeft, - onOperator, - onRight, - onExit, - /*foldState*/ - void 0 - ); - function onEnter(node, state) { - if (state) { - state.stackIndex++; - state.preserveSourceNewlinesStack[state.stackIndex] = preserveSourceNewlines; - state.containerPosStack[state.stackIndex] = containerPos; - state.containerEndStack[state.stackIndex] = containerEnd; - state.declarationListContainerEndStack[state.stackIndex] = declarationListContainerEnd; - const emitComments2 = state.shouldEmitCommentsStack[state.stackIndex] = shouldEmitComments(node); - const emitSourceMaps = state.shouldEmitSourceMapsStack[state.stackIndex] = shouldEmitSourceMaps(node); - onBeforeEmitNode == null ? void 0 : onBeforeEmitNode(node); - if (emitComments2) emitCommentsBeforeNode(node); - if (emitSourceMaps) emitSourceMapsBeforeNode(node); - beforeEmitNode(node); - } else { - state = { - stackIndex: 0, - preserveSourceNewlinesStack: [void 0], - containerPosStack: [-1], - containerEndStack: [-1], - declarationListContainerEndStack: [-1], - shouldEmitCommentsStack: [false], - shouldEmitSourceMapsStack: [false] - }; - } - return state; - } - function onLeft(next, _workArea, parent) { - return maybeEmitExpression(next, parent, "left"); - } - function onOperator(operatorToken, _state, node) { - const isCommaOperator = operatorToken.kind !== 28 /* CommaToken */; - const linesBeforeOperator = getLinesBetweenNodes(node, node.left, operatorToken); - const linesAfterOperator = getLinesBetweenNodes(node, operatorToken, node.right); - writeLinesAndIndent(linesBeforeOperator, isCommaOperator); - emitLeadingCommentsOfPosition(operatorToken.pos); - writeTokenNode(operatorToken, operatorToken.kind === 103 /* InKeyword */ ? writeKeyword : writeOperator); - emitTrailingCommentsOfPosition( - operatorToken.end, - /*prefixSpace*/ - true - ); - writeLinesAndIndent( - linesAfterOperator, - /*writeSpaceIfNotIndenting*/ - true - ); - } - function onRight(next, _workArea, parent) { - return maybeEmitExpression(next, parent, "right"); - } - function onExit(node, state) { - const linesBeforeOperator = getLinesBetweenNodes(node, node.left, node.operatorToken); - const linesAfterOperator = getLinesBetweenNodes(node, node.operatorToken, node.right); - decreaseIndentIf(linesBeforeOperator, linesAfterOperator); - if (state.stackIndex > 0) { - const savedPreserveSourceNewlines = state.preserveSourceNewlinesStack[state.stackIndex]; - const savedContainerPos = state.containerPosStack[state.stackIndex]; - const savedContainerEnd = state.containerEndStack[state.stackIndex]; - const savedDeclarationListContainerEnd = state.declarationListContainerEndStack[state.stackIndex]; - const shouldEmitComments2 = state.shouldEmitCommentsStack[state.stackIndex]; - const shouldEmitSourceMaps2 = state.shouldEmitSourceMapsStack[state.stackIndex]; - afterEmitNode(savedPreserveSourceNewlines); - if (shouldEmitSourceMaps2) emitSourceMapsAfterNode(node); - if (shouldEmitComments2) emitCommentsAfterNode(node, savedContainerPos, savedContainerEnd, savedDeclarationListContainerEnd); - onAfterEmitNode == null ? void 0 : onAfterEmitNode(node); - state.stackIndex--; - } - } - function maybeEmitExpression(next, parent, side) { - const parenthesizerRule = side === "left" ? parenthesizer.getParenthesizeLeftSideOfBinaryForOperator(parent.operatorToken.kind) : parenthesizer.getParenthesizeRightSideOfBinaryForOperator(parent.operatorToken.kind); - let pipelinePhase = getPipelinePhase(0 /* Notification */, 1 /* Expression */, next); - if (pipelinePhase === pipelineEmitWithSubstitution) { - Debug.assertIsDefined(lastSubstitution); - next = parenthesizerRule(cast(lastSubstitution, isExpression)); - pipelinePhase = getNextPipelinePhase(1 /* Substitution */, 1 /* Expression */, next); - lastSubstitution = void 0; - } - if (pipelinePhase === pipelineEmitWithComments || pipelinePhase === pipelineEmitWithSourceMaps || pipelinePhase === pipelineEmitWithHint) { - if (isBinaryExpression(next)) { - return next; - } - } - currentParenthesizerRule = parenthesizerRule; - pipelinePhase(1 /* Expression */, next); - } - } - function emitConditionalExpression(node) { - const linesBeforeQuestion = getLinesBetweenNodes(node, node.condition, node.questionToken); - const linesAfterQuestion = getLinesBetweenNodes(node, node.questionToken, node.whenTrue); - const linesBeforeColon = getLinesBetweenNodes(node, node.whenTrue, node.colonToken); - const linesAfterColon = getLinesBetweenNodes(node, node.colonToken, node.whenFalse); - emitExpression(node.condition, parenthesizer.parenthesizeConditionOfConditionalExpression); - writeLinesAndIndent( - linesBeforeQuestion, - /*writeSpaceIfNotIndenting*/ - true - ); - emit(node.questionToken); - writeLinesAndIndent( - linesAfterQuestion, - /*writeSpaceIfNotIndenting*/ - true - ); - emitExpression(node.whenTrue, parenthesizer.parenthesizeBranchOfConditionalExpression); - decreaseIndentIf(linesBeforeQuestion, linesAfterQuestion); - writeLinesAndIndent( - linesBeforeColon, - /*writeSpaceIfNotIndenting*/ - true - ); - emit(node.colonToken); - writeLinesAndIndent( - linesAfterColon, - /*writeSpaceIfNotIndenting*/ - true - ); - emitExpression(node.whenFalse, parenthesizer.parenthesizeBranchOfConditionalExpression); - decreaseIndentIf(linesBeforeColon, linesAfterColon); - } - function emitTemplateExpression(node) { - emit(node.head); - emitList(node, node.templateSpans, 262144 /* TemplateExpressionSpans */); - } - function emitYieldExpression(node) { - emitTokenWithComment(127 /* YieldKeyword */, node.pos, writeKeyword, node); - emit(node.asteriskToken); - emitExpressionWithLeadingSpace(node.expression && parenthesizeExpressionForNoAsi(node.expression), parenthesizeExpressionForNoAsiAndDisallowedComma); - } - function emitSpreadElement(node) { - emitTokenWithComment(26 /* DotDotDotToken */, node.pos, writePunctuation, node); - emitExpression(node.expression, parenthesizer.parenthesizeExpressionForDisallowedComma); - } - function emitClassExpression(node) { - generateNameIfNeeded(node.name); - emitClassDeclarationOrExpression(node); - } - function emitExpressionWithTypeArguments(node) { - emitExpression(node.expression, parenthesizer.parenthesizeLeftSideOfAccess); - emitTypeArguments(node, node.typeArguments); - } - function emitAsExpression(node) { - emitExpression( - node.expression, - /*parenthesizerRule*/ - void 0 - ); - if (node.type) { - writeSpace(); - writeKeyword("as"); - writeSpace(); - emit(node.type); - } - } - function emitNonNullExpression(node) { - emitExpression(node.expression, parenthesizer.parenthesizeLeftSideOfAccess); - writeOperator("!"); - } - function emitSatisfiesExpression(node) { - emitExpression( - node.expression, - /*parenthesizerRule*/ - void 0 - ); - if (node.type) { - writeSpace(); - writeKeyword("satisfies"); - writeSpace(); - emit(node.type); - } - } - function emitMetaProperty(node) { - writeToken(node.keywordToken, node.pos, writePunctuation); - writePunctuation("."); - emit(node.name); - } - function emitTemplateSpan(node) { - emitExpression(node.expression); - emit(node.literal); - } - function emitBlock(node) { - emitBlockStatements( - node, - /*forceSingleLine*/ - !node.multiLine && isEmptyBlock(node) - ); - } - function emitBlockStatements(node, forceSingleLine) { - emitTokenWithComment( - 19 /* OpenBraceToken */, - node.pos, - writePunctuation, - /*contextNode*/ - node - ); - const format = forceSingleLine || getEmitFlags(node) & 1 /* SingleLine */ ? 768 /* SingleLineBlockStatements */ : 129 /* MultiLineBlockStatements */; - emitList(node, node.statements, format); - emitTokenWithComment( - 20 /* CloseBraceToken */, - node.statements.end, - writePunctuation, - /*contextNode*/ - node, - /*indentLeading*/ - !!(format & 1 /* MultiLine */) - ); - } - function emitVariableStatement(node) { - emitDecoratorsAndModifiers( - node, - node.modifiers, - /*allowDecorators*/ - false - ); - emit(node.declarationList); - writeTrailingSemicolon(); - } - function emitEmptyStatement(isEmbeddedStatement) { - if (isEmbeddedStatement) { - writePunctuation(";"); - } else { - writeTrailingSemicolon(); - } - } - function emitExpressionStatement(node) { - emitExpression(node.expression, parenthesizer.parenthesizeExpressionOfExpressionStatement); - if (!currentSourceFile || !isJsonSourceFile(currentSourceFile) || nodeIsSynthesized(node.expression)) { - writeTrailingSemicolon(); - } - } - function emitIfStatement(node) { - const openParenPos = emitTokenWithComment(101 /* IfKeyword */, node.pos, writeKeyword, node); - writeSpace(); - emitTokenWithComment(21 /* OpenParenToken */, openParenPos, writePunctuation, node); - emitExpression(node.expression); - emitTokenWithComment(22 /* CloseParenToken */, node.expression.end, writePunctuation, node); - emitEmbeddedStatement(node, node.thenStatement); - if (node.elseStatement) { - writeLineOrSpace(node, node.thenStatement, node.elseStatement); - emitTokenWithComment(93 /* ElseKeyword */, node.thenStatement.end, writeKeyword, node); - if (node.elseStatement.kind === 245 /* IfStatement */) { - writeSpace(); - emit(node.elseStatement); - } else { - emitEmbeddedStatement(node, node.elseStatement); - } - } - } - function emitWhileClause(node, startPos) { - const openParenPos = emitTokenWithComment(117 /* WhileKeyword */, startPos, writeKeyword, node); - writeSpace(); - emitTokenWithComment(21 /* OpenParenToken */, openParenPos, writePunctuation, node); - emitExpression(node.expression); - emitTokenWithComment(22 /* CloseParenToken */, node.expression.end, writePunctuation, node); - } - function emitDoStatement(node) { - emitTokenWithComment(92 /* DoKeyword */, node.pos, writeKeyword, node); - emitEmbeddedStatement(node, node.statement); - if (isBlock(node.statement) && !preserveSourceNewlines) { - writeSpace(); - } else { - writeLineOrSpace(node, node.statement, node.expression); - } - emitWhileClause(node, node.statement.end); - writeTrailingSemicolon(); - } - function emitWhileStatement(node) { - emitWhileClause(node, node.pos); - emitEmbeddedStatement(node, node.statement); - } - function emitForStatement(node) { - const openParenPos = emitTokenWithComment(99 /* ForKeyword */, node.pos, writeKeyword, node); - writeSpace(); - let pos = emitTokenWithComment( - 21 /* OpenParenToken */, - openParenPos, - writePunctuation, - /*contextNode*/ - node - ); - emitForBinding(node.initializer); - pos = emitTokenWithComment(27 /* SemicolonToken */, node.initializer ? node.initializer.end : pos, writePunctuation, node); - emitExpressionWithLeadingSpace(node.condition); - pos = emitTokenWithComment(27 /* SemicolonToken */, node.condition ? node.condition.end : pos, writePunctuation, node); - emitExpressionWithLeadingSpace(node.incrementor); - emitTokenWithComment(22 /* CloseParenToken */, node.incrementor ? node.incrementor.end : pos, writePunctuation, node); - emitEmbeddedStatement(node, node.statement); - } - function emitForInStatement(node) { - const openParenPos = emitTokenWithComment(99 /* ForKeyword */, node.pos, writeKeyword, node); - writeSpace(); - emitTokenWithComment(21 /* OpenParenToken */, openParenPos, writePunctuation, node); - emitForBinding(node.initializer); - writeSpace(); - emitTokenWithComment(103 /* InKeyword */, node.initializer.end, writeKeyword, node); - writeSpace(); - emitExpression(node.expression); - emitTokenWithComment(22 /* CloseParenToken */, node.expression.end, writePunctuation, node); - emitEmbeddedStatement(node, node.statement); - } - function emitForOfStatement(node) { - const openParenPos = emitTokenWithComment(99 /* ForKeyword */, node.pos, writeKeyword, node); - writeSpace(); - emitWithTrailingSpace(node.awaitModifier); - emitTokenWithComment(21 /* OpenParenToken */, openParenPos, writePunctuation, node); - emitForBinding(node.initializer); - writeSpace(); - emitTokenWithComment(165 /* OfKeyword */, node.initializer.end, writeKeyword, node); - writeSpace(); - emitExpression(node.expression); - emitTokenWithComment(22 /* CloseParenToken */, node.expression.end, writePunctuation, node); - emitEmbeddedStatement(node, node.statement); - } - function emitForBinding(node) { - if (node !== void 0) { - if (node.kind === 261 /* VariableDeclarationList */) { - emit(node); - } else { - emitExpression(node); - } - } - } - function emitContinueStatement(node) { - emitTokenWithComment(88 /* ContinueKeyword */, node.pos, writeKeyword, node); - emitWithLeadingSpace(node.label); - writeTrailingSemicolon(); - } - function emitBreakStatement(node) { - emitTokenWithComment(83 /* BreakKeyword */, node.pos, writeKeyword, node); - emitWithLeadingSpace(node.label); - writeTrailingSemicolon(); - } - function emitTokenWithComment(token, pos, writer2, contextNode, indentLeading) { - const node = getParseTreeNode(contextNode); - const isSimilarNode = node && node.kind === contextNode.kind; - const startPos = pos; - if (isSimilarNode && currentSourceFile) { - pos = skipTrivia(currentSourceFile.text, pos); - } - if (isSimilarNode && contextNode.pos !== startPos) { - const needsIndent = indentLeading && currentSourceFile && !positionsAreOnSameLine(startPos, pos, currentSourceFile); - if (needsIndent) { - increaseIndent(); - } - emitLeadingCommentsOfPosition(startPos); - if (needsIndent) { - decreaseIndent(); - } - } - if (!omitBraceSourcePositions && (token === 19 /* OpenBraceToken */ || token === 20 /* CloseBraceToken */)) { - pos = writeToken(token, pos, writer2, contextNode); - } else { - pos = writeTokenText(token, writer2, pos); - } - if (isSimilarNode && contextNode.end !== pos) { - const isJsxExprContext = contextNode.kind === 294 /* JsxExpression */; - emitTrailingCommentsOfPosition( - pos, - /*prefixSpace*/ - !isJsxExprContext, - /*forceNoNewline*/ - isJsxExprContext - ); - } - return pos; - } - function commentWillEmitNewLine(node) { - return node.kind === 2 /* SingleLineCommentTrivia */ || !!node.hasTrailingNewLine; - } - function willEmitLeadingNewLine(node) { - if (!currentSourceFile) return false; - const leadingCommentRanges = getLeadingCommentRanges(currentSourceFile.text, node.pos); - if (leadingCommentRanges) { - const parseNode = getParseTreeNode(node); - if (parseNode && isParenthesizedExpression(parseNode.parent)) { - return true; - } - } - if (some(leadingCommentRanges, commentWillEmitNewLine)) return true; - if (some(getSyntheticLeadingComments(node), commentWillEmitNewLine)) return true; - if (isPartiallyEmittedExpression(node)) { - if (node.pos !== node.expression.pos) { - if (some(getTrailingCommentRanges(currentSourceFile.text, node.expression.pos), commentWillEmitNewLine)) return true; - } - return willEmitLeadingNewLine(node.expression); - } - return false; - } - function parenthesizeExpressionForNoAsi(node) { - if (!commentsDisabled && isPartiallyEmittedExpression(node) && willEmitLeadingNewLine(node)) { - const parseNode = getParseTreeNode(node); - if (parseNode && isParenthesizedExpression(parseNode)) { - const parens = factory.createParenthesizedExpression(node.expression); - setOriginalNode(parens, node); - setTextRange(parens, parseNode); - return parens; - } - return factory.createParenthesizedExpression(node); - } - return node; - } - function parenthesizeExpressionForNoAsiAndDisallowedComma(node) { - return parenthesizeExpressionForNoAsi(parenthesizer.parenthesizeExpressionForDisallowedComma(node)); - } - function emitReturnStatement(node) { - emitTokenWithComment( - 107 /* ReturnKeyword */, - node.pos, - writeKeyword, - /*contextNode*/ - node - ); - emitExpressionWithLeadingSpace(node.expression && parenthesizeExpressionForNoAsi(node.expression), parenthesizeExpressionForNoAsi); - writeTrailingSemicolon(); - } - function emitWithStatement(node) { - const openParenPos = emitTokenWithComment(118 /* WithKeyword */, node.pos, writeKeyword, node); - writeSpace(); - emitTokenWithComment(21 /* OpenParenToken */, openParenPos, writePunctuation, node); - emitExpression(node.expression); - emitTokenWithComment(22 /* CloseParenToken */, node.expression.end, writePunctuation, node); - emitEmbeddedStatement(node, node.statement); - } - function emitSwitchStatement(node) { - const openParenPos = emitTokenWithComment(109 /* SwitchKeyword */, node.pos, writeKeyword, node); - writeSpace(); - emitTokenWithComment(21 /* OpenParenToken */, openParenPos, writePunctuation, node); - emitExpression(node.expression); - emitTokenWithComment(22 /* CloseParenToken */, node.expression.end, writePunctuation, node); - writeSpace(); - emit(node.caseBlock); - } - function emitLabeledStatement(node) { - emit(node.label); - emitTokenWithComment(59 /* ColonToken */, node.label.end, writePunctuation, node); - writeSpace(); - emit(node.statement); - } - function emitThrowStatement(node) { - emitTokenWithComment(111 /* ThrowKeyword */, node.pos, writeKeyword, node); - emitExpressionWithLeadingSpace(parenthesizeExpressionForNoAsi(node.expression), parenthesizeExpressionForNoAsi); - writeTrailingSemicolon(); - } - function emitTryStatement(node) { - emitTokenWithComment(113 /* TryKeyword */, node.pos, writeKeyword, node); - writeSpace(); - emit(node.tryBlock); - if (node.catchClause) { - writeLineOrSpace(node, node.tryBlock, node.catchClause); - emit(node.catchClause); - } - if (node.finallyBlock) { - writeLineOrSpace(node, node.catchClause || node.tryBlock, node.finallyBlock); - emitTokenWithComment(98 /* FinallyKeyword */, (node.catchClause || node.tryBlock).end, writeKeyword, node); - writeSpace(); - emit(node.finallyBlock); - } - } - function emitDebuggerStatement(node) { - writeToken(89 /* DebuggerKeyword */, node.pos, writeKeyword); - writeTrailingSemicolon(); - } - function emitVariableDeclaration(node) { - var _a, _b, _c; - emit(node.name); - emit(node.exclamationToken); - emitTypeAnnotation(node.type); - emitInitializer(node.initializer, ((_a = node.type) == null ? void 0 : _a.end) ?? ((_c = (_b = node.name.emitNode) == null ? void 0 : _b.typeNode) == null ? void 0 : _c.end) ?? node.name.end, node, parenthesizer.parenthesizeExpressionForDisallowedComma); - } - function emitVariableDeclarationList(node) { - if (isVarAwaitUsing(node)) { - writeKeyword("await"); - writeSpace(); - writeKeyword("using"); - } else { - const head = isLet(node) ? "let" : isVarConst(node) ? "const" : isVarUsing(node) ? "using" : "var"; - writeKeyword(head); - } - writeSpace(); - emitList(node, node.declarations, 528 /* VariableDeclarationList */); - } - function emitFunctionDeclaration(node) { - emitFunctionDeclarationOrExpression(node); - } - function emitFunctionDeclarationOrExpression(node) { - emitDecoratorsAndModifiers( - node, - node.modifiers, - /*allowDecorators*/ - false - ); - writeKeyword("function"); - emit(node.asteriskToken); - writeSpace(); - emitIdentifierName(node.name); - emitSignatureAndBody(node, emitSignatureHead, emitFunctionBody); - } - function emitSignatureAndBody(node, emitSignatureHead2, emitBody) { - const indentedFlag = getEmitFlags(node) & 131072 /* Indented */; - if (indentedFlag) { - increaseIndent(); - } - pushNameGenerationScope(node); - forEach(node.parameters, generateNames); - emitSignatureHead2(node); - emitBody(node); - popNameGenerationScope(node); - if (indentedFlag) { - decreaseIndent(); - } - } - function emitFunctionBody(node) { - const body = node.body; - if (body) { - emitBlockFunctionBody(body); - } else { - writeTrailingSemicolon(); - } - } - function emitEmptyFunctionBody(_node) { - writeTrailingSemicolon(); - } - function emitSignatureHead(node) { - emitTypeParameters(node, node.typeParameters); - emitParameters(node, node.parameters); - emitTypeAnnotation(node.type); - } - function shouldEmitBlockFunctionBodyOnSingleLine(body) { - if (getEmitFlags(body) & 1 /* SingleLine */) { - return true; - } - if (body.multiLine) { - return false; - } - if (!nodeIsSynthesized(body) && currentSourceFile && !rangeIsOnSingleLine(body, currentSourceFile)) { - return false; - } - if (getLeadingLineTerminatorCount(body, firstOrUndefined(body.statements), 2 /* PreserveLines */) || getClosingLineTerminatorCount(body, lastOrUndefined(body.statements), 2 /* PreserveLines */, body.statements)) { - return false; - } - let previousStatement; - for (const statement of body.statements) { - if (getSeparatingLineTerminatorCount(previousStatement, statement, 2 /* PreserveLines */) > 0) { - return false; - } - previousStatement = statement; - } - return true; - } - function emitBlockFunctionBody(body) { - generateNames(body); - onBeforeEmitNode == null ? void 0 : onBeforeEmitNode(body); - writeSpace(); - writePunctuation("{"); - increaseIndent(); - const emitBlockFunctionBody2 = shouldEmitBlockFunctionBodyOnSingleLine(body) ? emitBlockFunctionBodyOnSingleLine : emitBlockFunctionBodyWorker; - emitBodyWithDetachedComments(body, body.statements, emitBlockFunctionBody2); - decreaseIndent(); - writeToken(20 /* CloseBraceToken */, body.statements.end, writePunctuation, body); - onAfterEmitNode == null ? void 0 : onAfterEmitNode(body); - } - function emitBlockFunctionBodyOnSingleLine(body) { - emitBlockFunctionBodyWorker( - body, - /*emitBlockFunctionBodyOnSingleLine*/ - true - ); - } - function emitBlockFunctionBodyWorker(body, emitBlockFunctionBodyOnSingleLine2) { - const statementOffset = emitPrologueDirectives(body.statements); - const pos = writer.getTextPos(); - emitHelpers(body); - if (statementOffset === 0 && pos === writer.getTextPos() && emitBlockFunctionBodyOnSingleLine2) { - decreaseIndent(); - emitList(body, body.statements, 768 /* SingleLineFunctionBodyStatements */); - increaseIndent(); - } else { - emitList( - body, - body.statements, - 1 /* MultiLineFunctionBodyStatements */, - /*parenthesizerRule*/ - void 0, - statementOffset - ); - } - } - function emitClassDeclaration(node) { - emitClassDeclarationOrExpression(node); - } - function emitClassDeclarationOrExpression(node) { - emitDecoratorsAndModifiers( - node, - node.modifiers, - /*allowDecorators*/ - true - ); - emitTokenWithComment(86 /* ClassKeyword */, moveRangePastModifiers(node).pos, writeKeyword, node); - if (node.name) { - writeSpace(); - emitIdentifierName(node.name); - } - const indentedFlag = getEmitFlags(node) & 131072 /* Indented */; - if (indentedFlag) { - increaseIndent(); - } - emitTypeParameters(node, node.typeParameters); - emitList(node, node.heritageClauses, 0 /* ClassHeritageClauses */); - writeSpace(); - writePunctuation("{"); - pushNameGenerationScope(node); - forEach(node.members, generateMemberNames); - emitList(node, node.members, 129 /* ClassMembers */); - popNameGenerationScope(node); - writePunctuation("}"); - if (indentedFlag) { - decreaseIndent(); - } - } - function emitInterfaceDeclaration(node) { - emitDecoratorsAndModifiers( - node, - node.modifiers, - /*allowDecorators*/ - false - ); - writeKeyword("interface"); - writeSpace(); - emit(node.name); - emitTypeParameters(node, node.typeParameters); - emitList(node, node.heritageClauses, 512 /* HeritageClauses */); - writeSpace(); - writePunctuation("{"); - pushNameGenerationScope(node); - forEach(node.members, generateMemberNames); - emitList(node, node.members, 129 /* InterfaceMembers */); - popNameGenerationScope(node); - writePunctuation("}"); - } - function emitTypeAliasDeclaration(node) { - emitDecoratorsAndModifiers( - node, - node.modifiers, - /*allowDecorators*/ - false - ); - writeKeyword("type"); - writeSpace(); - emit(node.name); - emitTypeParameters(node, node.typeParameters); - writeSpace(); - writePunctuation("="); - writeSpace(); - emit(node.type); - writeTrailingSemicolon(); - } - function emitEnumDeclaration(node) { - emitDecoratorsAndModifiers( - node, - node.modifiers, - /*allowDecorators*/ - false - ); - writeKeyword("enum"); - writeSpace(); - emit(node.name); - writeSpace(); - writePunctuation("{"); - emitList(node, node.members, 145 /* EnumMembers */); - writePunctuation("}"); - } - function emitModuleDeclaration(node) { - emitDecoratorsAndModifiers( - node, - node.modifiers, - /*allowDecorators*/ - false - ); - if (~node.flags & 2048 /* GlobalAugmentation */) { - writeKeyword(node.flags & 32 /* Namespace */ ? "namespace" : "module"); - writeSpace(); - } - emit(node.name); - let body = node.body; - if (!body) return writeTrailingSemicolon(); - while (body && isModuleDeclaration(body)) { - writePunctuation("."); - emit(body.name); - body = body.body; - } - writeSpace(); - emit(body); - } - function emitModuleBlock(node) { - pushNameGenerationScope(node); - forEach(node.statements, generateNames); - emitBlockStatements( - node, - /*forceSingleLine*/ - isEmptyBlock(node) - ); - popNameGenerationScope(node); - } - function emitCaseBlock(node) { - emitTokenWithComment(19 /* OpenBraceToken */, node.pos, writePunctuation, node); - emitList(node, node.clauses, 129 /* CaseBlockClauses */); - emitTokenWithComment( - 20 /* CloseBraceToken */, - node.clauses.end, - writePunctuation, - node, - /*indentLeading*/ - true - ); - } - function emitImportEqualsDeclaration(node) { - emitDecoratorsAndModifiers( - node, - node.modifiers, - /*allowDecorators*/ - false - ); - emitTokenWithComment(102 /* ImportKeyword */, node.modifiers ? node.modifiers.end : node.pos, writeKeyword, node); - writeSpace(); - if (node.isTypeOnly) { - emitTokenWithComment(156 /* TypeKeyword */, node.pos, writeKeyword, node); - writeSpace(); - } - emit(node.name); - writeSpace(); - emitTokenWithComment(64 /* EqualsToken */, node.name.end, writePunctuation, node); - writeSpace(); - emitModuleReference(node.moduleReference); - writeTrailingSemicolon(); - } - function emitModuleReference(node) { - if (node.kind === 80 /* Identifier */) { - emitExpression(node); - } else { - emit(node); - } - } - function emitImportDeclaration(node) { - emitDecoratorsAndModifiers( - node, - node.modifiers, - /*allowDecorators*/ - false - ); - emitTokenWithComment(102 /* ImportKeyword */, node.modifiers ? node.modifiers.end : node.pos, writeKeyword, node); - writeSpace(); - if (node.importClause) { - emit(node.importClause); - writeSpace(); - emitTokenWithComment(161 /* FromKeyword */, node.importClause.end, writeKeyword, node); - writeSpace(); - } - emitExpression(node.moduleSpecifier); - if (node.attributes) { - emitWithLeadingSpace(node.attributes); - } - writeTrailingSemicolon(); - } - function emitImportClause(node) { - if (node.isTypeOnly) { - emitTokenWithComment(156 /* TypeKeyword */, node.pos, writeKeyword, node); - writeSpace(); - } - emit(node.name); - if (node.name && node.namedBindings) { - emitTokenWithComment(28 /* CommaToken */, node.name.end, writePunctuation, node); - writeSpace(); - } - emit(node.namedBindings); - } - function emitNamespaceImport(node) { - const asPos = emitTokenWithComment(42 /* AsteriskToken */, node.pos, writePunctuation, node); - writeSpace(); - emitTokenWithComment(130 /* AsKeyword */, asPos, writeKeyword, node); - writeSpace(); - emit(node.name); - } - function emitNamedImports(node) { - emitNamedImportsOrExports(node); - } - function emitImportSpecifier(node) { - emitImportOrExportSpecifier(node); - } - function emitExportAssignment(node) { - const nextPos = emitTokenWithComment(95 /* ExportKeyword */, node.pos, writeKeyword, node); - writeSpace(); - if (node.isExportEquals) { - emitTokenWithComment(64 /* EqualsToken */, nextPos, writeOperator, node); - } else { - emitTokenWithComment(90 /* DefaultKeyword */, nextPos, writeKeyword, node); - } - writeSpace(); - emitExpression( - node.expression, - node.isExportEquals ? parenthesizer.getParenthesizeRightSideOfBinaryForOperator(64 /* EqualsToken */) : parenthesizer.parenthesizeExpressionOfExportDefault - ); - writeTrailingSemicolon(); - } - function emitExportDeclaration(node) { - emitDecoratorsAndModifiers( - node, - node.modifiers, - /*allowDecorators*/ - false - ); - let nextPos = emitTokenWithComment(95 /* ExportKeyword */, node.pos, writeKeyword, node); - writeSpace(); - if (node.isTypeOnly) { - nextPos = emitTokenWithComment(156 /* TypeKeyword */, nextPos, writeKeyword, node); - writeSpace(); - } - if (node.exportClause) { - emit(node.exportClause); - } else { - nextPos = emitTokenWithComment(42 /* AsteriskToken */, nextPos, writePunctuation, node); - } - if (node.moduleSpecifier) { - writeSpace(); - const fromPos = node.exportClause ? node.exportClause.end : nextPos; - emitTokenWithComment(161 /* FromKeyword */, fromPos, writeKeyword, node); - writeSpace(); - emitExpression(node.moduleSpecifier); - } - if (node.attributes) { - emitWithLeadingSpace(node.attributes); - } - writeTrailingSemicolon(); - } - function emitImportTypeNodeAttributes(node) { - writePunctuation("{"); - writeSpace(); - writeKeyword(node.token === 132 /* AssertKeyword */ ? "assert" : "with"); - writePunctuation(":"); - writeSpace(); - const elements = node.elements; - emitList(node, elements, 526226 /* ImportAttributes */); - writeSpace(); - writePunctuation("}"); - } - function emitImportAttributes(node) { - emitTokenWithComment(node.token, node.pos, writeKeyword, node); - writeSpace(); - const elements = node.elements; - emitList(node, elements, 526226 /* ImportAttributes */); - } - function emitImportAttribute(node) { - emit(node.name); - writePunctuation(":"); - writeSpace(); - const value = node.value; - if ((getEmitFlags(value) & 1024 /* NoLeadingComments */) === 0) { - const commentRange = getCommentRange(value); - emitTrailingCommentsOfPosition(commentRange.pos); - } - emit(value); - } - function emitNamespaceExportDeclaration(node) { - let nextPos = emitTokenWithComment(95 /* ExportKeyword */, node.pos, writeKeyword, node); - writeSpace(); - nextPos = emitTokenWithComment(130 /* AsKeyword */, nextPos, writeKeyword, node); - writeSpace(); - nextPos = emitTokenWithComment(145 /* NamespaceKeyword */, nextPos, writeKeyword, node); - writeSpace(); - emit(node.name); - writeTrailingSemicolon(); - } - function emitNamespaceExport(node) { - const asPos = emitTokenWithComment(42 /* AsteriskToken */, node.pos, writePunctuation, node); - writeSpace(); - emitTokenWithComment(130 /* AsKeyword */, asPos, writeKeyword, node); - writeSpace(); - emit(node.name); - } - function emitNamedExports(node) { - emitNamedImportsOrExports(node); - } - function emitExportSpecifier(node) { - emitImportOrExportSpecifier(node); - } - function emitNamedImportsOrExports(node) { - writePunctuation("{"); - emitList(node, node.elements, 525136 /* NamedImportsOrExportsElements */); - writePunctuation("}"); - } - function emitImportOrExportSpecifier(node) { - if (node.isTypeOnly) { - writeKeyword("type"); - writeSpace(); - } - if (node.propertyName) { - emit(node.propertyName); - writeSpace(); - emitTokenWithComment(130 /* AsKeyword */, node.propertyName.end, writeKeyword, node); - writeSpace(); - } - emit(node.name); - } - function emitExternalModuleReference(node) { - writeKeyword("require"); - writePunctuation("("); - emitExpression(node.expression); - writePunctuation(")"); - } - function emitJsxElement(node) { - emit(node.openingElement); - emitList(node, node.children, 262144 /* JsxElementOrFragmentChildren */); - emit(node.closingElement); - } - function emitJsxSelfClosingElement(node) { - writePunctuation("<"); - emitJsxTagName(node.tagName); - emitTypeArguments(node, node.typeArguments); - writeSpace(); - emit(node.attributes); - writePunctuation("/>"); - } - function emitJsxFragment(node) { - emit(node.openingFragment); - emitList(node, node.children, 262144 /* JsxElementOrFragmentChildren */); - emit(node.closingFragment); - } - function emitJsxOpeningElementOrFragment(node) { - writePunctuation("<"); - if (isJsxOpeningElement(node)) { - const indented = writeLineSeparatorsAndIndentBefore(node.tagName, node); - emitJsxTagName(node.tagName); - emitTypeArguments(node, node.typeArguments); - if (node.attributes.properties && node.attributes.properties.length > 0) { - writeSpace(); - } - emit(node.attributes); - writeLineSeparatorsAfter(node.attributes, node); - decreaseIndentIf(indented); - } - writePunctuation(">"); - } - function emitJsxText(node) { - writer.writeLiteral(node.text); - } - function emitJsxClosingElementOrFragment(node) { - writePunctuation(""); - } - function emitJsxAttributes(node) { - emitList(node, node.properties, 262656 /* JsxElementAttributes */); - } - function emitJsxAttribute(node) { - emit(node.name); - emitNodeWithPrefix("=", writePunctuation, node.initializer, emitJsxAttributeValue); - } - function emitJsxSpreadAttribute(node) { - writePunctuation("{..."); - emitExpression(node.expression); - writePunctuation("}"); - } - function hasTrailingCommentsAtPosition(pos) { - let result = false; - forEachTrailingCommentRange((currentSourceFile == null ? void 0 : currentSourceFile.text) || "", pos + 1, () => result = true); - return result; - } - function hasLeadingCommentsAtPosition(pos) { - let result = false; - forEachLeadingCommentRange((currentSourceFile == null ? void 0 : currentSourceFile.text) || "", pos + 1, () => result = true); - return result; - } - function hasCommentsAtPosition(pos) { - return hasTrailingCommentsAtPosition(pos) || hasLeadingCommentsAtPosition(pos); - } - function emitJsxExpression(node) { - var _a; - if (node.expression || !commentsDisabled && !nodeIsSynthesized(node) && hasCommentsAtPosition(node.pos)) { - const isMultiline = currentSourceFile && !nodeIsSynthesized(node) && getLineAndCharacterOfPosition(currentSourceFile, node.pos).line !== getLineAndCharacterOfPosition(currentSourceFile, node.end).line; - if (isMultiline) { - writer.increaseIndent(); - } - const end = emitTokenWithComment(19 /* OpenBraceToken */, node.pos, writePunctuation, node); - emit(node.dotDotDotToken); - emitExpression(node.expression); - emitTokenWithComment(20 /* CloseBraceToken */, ((_a = node.expression) == null ? void 0 : _a.end) || end, writePunctuation, node); - if (isMultiline) { - writer.decreaseIndent(); - } - } - } - function emitJsxNamespacedName(node) { - emitIdentifierName(node.namespace); - writePunctuation(":"); - emitIdentifierName(node.name); - } - function emitJsxTagName(node) { - if (node.kind === 80 /* Identifier */) { - emitExpression(node); - } else { - emit(node); - } - } - function emitCaseClause(node) { - emitTokenWithComment(84 /* CaseKeyword */, node.pos, writeKeyword, node); - writeSpace(); - emitExpression(node.expression, parenthesizer.parenthesizeExpressionForDisallowedComma); - emitCaseOrDefaultClauseRest(node, node.statements, node.expression.end); - } - function emitDefaultClause(node) { - const pos = emitTokenWithComment(90 /* DefaultKeyword */, node.pos, writeKeyword, node); - emitCaseOrDefaultClauseRest(node, node.statements, pos); - } - function emitCaseOrDefaultClauseRest(parentNode, statements, colonPos) { - const emitAsSingleStatement = statements.length === 1 && // treat synthesized nodes as located on the same line for emit purposes - (!currentSourceFile || nodeIsSynthesized(parentNode) || nodeIsSynthesized(statements[0]) || rangeStartPositionsAreOnSameLine(parentNode, statements[0], currentSourceFile)); - let format = 163969 /* CaseOrDefaultClauseStatements */; - if (emitAsSingleStatement) { - writeToken(59 /* ColonToken */, colonPos, writePunctuation, parentNode); - writeSpace(); - format &= ~(1 /* MultiLine */ | 128 /* Indented */); - } else { - emitTokenWithComment(59 /* ColonToken */, colonPos, writePunctuation, parentNode); - } - emitList(parentNode, statements, format); - } - function emitHeritageClause(node) { - writeSpace(); - writeTokenText(node.token, writeKeyword); - writeSpace(); - emitList(node, node.types, 528 /* HeritageClauseTypes */); - } - function emitCatchClause(node) { - const openParenPos = emitTokenWithComment(85 /* CatchKeyword */, node.pos, writeKeyword, node); - writeSpace(); - if (node.variableDeclaration) { - emitTokenWithComment(21 /* OpenParenToken */, openParenPos, writePunctuation, node); - emit(node.variableDeclaration); - emitTokenWithComment(22 /* CloseParenToken */, node.variableDeclaration.end, writePunctuation, node); - writeSpace(); - } - emit(node.block); - } - function emitPropertyAssignment(node) { - emit(node.name); - writePunctuation(":"); - writeSpace(); - const initializer = node.initializer; - if ((getEmitFlags(initializer) & 1024 /* NoLeadingComments */) === 0) { - const commentRange = getCommentRange(initializer); - emitTrailingCommentsOfPosition(commentRange.pos); - } - emitExpression(initializer, parenthesizer.parenthesizeExpressionForDisallowedComma); - } - function emitShorthandPropertyAssignment(node) { - emit(node.name); - if (node.objectAssignmentInitializer) { - writeSpace(); - writePunctuation("="); - writeSpace(); - emitExpression(node.objectAssignmentInitializer, parenthesizer.parenthesizeExpressionForDisallowedComma); - } - } - function emitSpreadAssignment(node) { - if (node.expression) { - emitTokenWithComment(26 /* DotDotDotToken */, node.pos, writePunctuation, node); - emitExpression(node.expression, parenthesizer.parenthesizeExpressionForDisallowedComma); - } - } - function emitEnumMember(node) { - emit(node.name); - emitInitializer(node.initializer, node.name.end, node, parenthesizer.parenthesizeExpressionForDisallowedComma); - } - function emitJSDoc(node) { - write("/**"); - if (node.comment) { - const text = getTextOfJSDocComment(node.comment); - if (text) { - const lines = text.split(/\r\n?|\n/); - for (const line of lines) { - writeLine(); - writeSpace(); - writePunctuation("*"); - writeSpace(); - write(line); - } - } - } - if (node.tags) { - if (node.tags.length === 1 && node.tags[0].kind === 344 /* JSDocTypeTag */ && !node.comment) { - writeSpace(); - emit(node.tags[0]); - } else { - emitList(node, node.tags, 33 /* JSDocComment */); - } - } - writeSpace(); - write("*/"); - } - function emitJSDocSimpleTypedTag(tag) { - emitJSDocTagName(tag.tagName); - emitJSDocTypeExpression(tag.typeExpression); - emitJSDocComment(tag.comment); - } - function emitJSDocSeeTag(tag) { - emitJSDocTagName(tag.tagName); - emit(tag.name); - emitJSDocComment(tag.comment); - } - function emitJSDocImportTag(tag) { - emitJSDocTagName(tag.tagName); - writeSpace(); - if (tag.importClause) { - emit(tag.importClause); - writeSpace(); - emitTokenWithComment(161 /* FromKeyword */, tag.importClause.end, writeKeyword, tag); - writeSpace(); - } - emitExpression(tag.moduleSpecifier); - if (tag.attributes) { - emitWithLeadingSpace(tag.attributes); - } - emitJSDocComment(tag.comment); - } - function emitJSDocNameReference(node) { - writeSpace(); - writePunctuation("{"); - emit(node.name); - writePunctuation("}"); - } - function emitJSDocHeritageTag(tag) { - emitJSDocTagName(tag.tagName); - writeSpace(); - writePunctuation("{"); - emit(tag.class); - writePunctuation("}"); - emitJSDocComment(tag.comment); - } - function emitJSDocTemplateTag(tag) { - emitJSDocTagName(tag.tagName); - emitJSDocTypeExpression(tag.constraint); - writeSpace(); - emitList(tag, tag.typeParameters, 528 /* CommaListElements */); - emitJSDocComment(tag.comment); - } - function emitJSDocTypedefTag(tag) { - emitJSDocTagName(tag.tagName); - if (tag.typeExpression) { - if (tag.typeExpression.kind === 309 /* JSDocTypeExpression */) { - emitJSDocTypeExpression(tag.typeExpression); - } else { - writeSpace(); - writePunctuation("{"); - write("Object"); - if (tag.typeExpression.isArrayType) { - writePunctuation("["); - writePunctuation("]"); - } - writePunctuation("}"); - } - } - if (tag.fullName) { - writeSpace(); - emit(tag.fullName); - } - emitJSDocComment(tag.comment); - if (tag.typeExpression && tag.typeExpression.kind === 322 /* JSDocTypeLiteral */) { - emitJSDocTypeLiteral(tag.typeExpression); - } - } - function emitJSDocCallbackTag(tag) { - emitJSDocTagName(tag.tagName); - if (tag.name) { - writeSpace(); - emit(tag.name); - } - emitJSDocComment(tag.comment); - emitJSDocSignature(tag.typeExpression); - } - function emitJSDocOverloadTag(tag) { - emitJSDocComment(tag.comment); - emitJSDocSignature(tag.typeExpression); - } - function emitJSDocSimpleTag(tag) { - emitJSDocTagName(tag.tagName); - emitJSDocComment(tag.comment); - } - function emitJSDocTypeLiteral(lit) { - emitList(lit, factory.createNodeArray(lit.jsDocPropertyTags), 33 /* JSDocComment */); - } - function emitJSDocSignature(sig) { - if (sig.typeParameters) { - emitList(sig, factory.createNodeArray(sig.typeParameters), 33 /* JSDocComment */); - } - if (sig.parameters) { - emitList(sig, factory.createNodeArray(sig.parameters), 33 /* JSDocComment */); - } - if (sig.type) { - writeLine(); - writeSpace(); - writePunctuation("*"); - writeSpace(); - emit(sig.type); - } - } - function emitJSDocPropertyLikeTag(param) { - emitJSDocTagName(param.tagName); - emitJSDocTypeExpression(param.typeExpression); - writeSpace(); - if (param.isBracketed) { - writePunctuation("["); - } - emit(param.name); - if (param.isBracketed) { - writePunctuation("]"); - } - emitJSDocComment(param.comment); - } - function emitJSDocTagName(tagName) { - writePunctuation("@"); - emit(tagName); - } - function emitJSDocComment(comment) { - const text = getTextOfJSDocComment(comment); - if (text) { - writeSpace(); - write(text); - } - } - function emitJSDocTypeExpression(typeExpression) { - if (typeExpression) { - writeSpace(); - writePunctuation("{"); - emit(typeExpression.type); - writePunctuation("}"); - } - } - function emitSourceFile(node) { - writeLine(); - const statements = node.statements; - const shouldEmitDetachedComment = statements.length === 0 || !isPrologueDirective(statements[0]) || nodeIsSynthesized(statements[0]); - if (shouldEmitDetachedComment) { - emitBodyWithDetachedComments(node, statements, emitSourceFileWorker); - return; - } - emitSourceFileWorker(node); - } - function emitSyntheticTripleSlashReferencesIfNeeded(node) { - emitTripleSlashDirectives(!!node.hasNoDefaultLib, node.syntheticFileReferences || [], node.syntheticTypeReferences || [], node.syntheticLibReferences || []); - } - function emitTripleSlashDirectivesIfNeeded(node) { - if (node.isDeclarationFile) emitTripleSlashDirectives(node.hasNoDefaultLib, node.referencedFiles, node.typeReferenceDirectives, node.libReferenceDirectives); - } - function emitTripleSlashDirectives(hasNoDefaultLib, files, types, libs2) { - if (hasNoDefaultLib) { - writeComment(`/// `); - writeLine(); - } - if (currentSourceFile && currentSourceFile.moduleName) { - writeComment(`/// `); - writeLine(); - } - if (currentSourceFile && currentSourceFile.amdDependencies) { - for (const dep of currentSourceFile.amdDependencies) { - if (dep.name) { - writeComment(`/// `); - } else { - writeComment(`/// `); - } - writeLine(); - } - } - function writeDirectives(kind, directives) { - for (const directive of directives) { - const resolutionMode = directive.resolutionMode ? `resolution-mode="${directive.resolutionMode === 99 /* ESNext */ ? "import" : "require"}" ` : ""; - const preserve = directive.preserve ? `preserve="true" ` : ""; - writeComment(`/// `); - writeLine(); - } - } - writeDirectives("path", files); - writeDirectives("types", types); - writeDirectives("lib", libs2); - } - function emitSourceFileWorker(node) { - const statements = node.statements; - pushNameGenerationScope(node); - forEach(node.statements, generateNames); - emitHelpers(node); - const index = findIndex(statements, (statement) => !isPrologueDirective(statement)); - emitTripleSlashDirectivesIfNeeded(node); - emitList( - node, - statements, - 1 /* MultiLine */, - /*parenthesizerRule*/ - void 0, - index === -1 ? statements.length : index - ); - popNameGenerationScope(node); - } - function emitPartiallyEmittedExpression(node) { - const emitFlags = getEmitFlags(node); - if (!(emitFlags & 1024 /* NoLeadingComments */) && node.pos !== node.expression.pos) { - emitTrailingCommentsOfPosition(node.expression.pos); - } - emitExpression(node.expression); - if (!(emitFlags & 2048 /* NoTrailingComments */) && node.end !== node.expression.end) { - emitLeadingCommentsOfPosition(node.expression.end); - } - } - function emitCommaList(node) { - emitExpressionList( - node, - node.elements, - 528 /* CommaListElements */, - /*parenthesizerRule*/ - void 0 - ); - } - function emitPrologueDirectives(statements, sourceFile, seenPrologueDirectives) { - let needsToSetSourceFile = !!sourceFile; - for (let i = 0; i < statements.length; i++) { - const statement = statements[i]; - if (isPrologueDirective(statement)) { - const shouldEmitPrologueDirective = seenPrologueDirectives ? !seenPrologueDirectives.has(statement.expression.text) : true; - if (shouldEmitPrologueDirective) { - if (needsToSetSourceFile) { - needsToSetSourceFile = false; - setSourceFile(sourceFile); - } - writeLine(); - emit(statement); - if (seenPrologueDirectives) { - seenPrologueDirectives.add(statement.expression.text); - } - } - } else { - return i; - } - } - return statements.length; - } - function emitPrologueDirectivesIfNeeded(sourceFileOrBundle) { - if (isSourceFile(sourceFileOrBundle)) { - emitPrologueDirectives(sourceFileOrBundle.statements, sourceFileOrBundle); - } else { - const seenPrologueDirectives = /* @__PURE__ */ new Set(); - for (const sourceFile of sourceFileOrBundle.sourceFiles) { - emitPrologueDirectives(sourceFile.statements, sourceFile, seenPrologueDirectives); - } - setSourceFile(void 0); - } - } - function emitShebangIfNeeded(sourceFileOrBundle) { - if (isSourceFile(sourceFileOrBundle)) { - const shebang = getShebang(sourceFileOrBundle.text); - if (shebang) { - writeComment(shebang); - writeLine(); - return true; - } - } else { - for (const sourceFile of sourceFileOrBundle.sourceFiles) { - if (emitShebangIfNeeded(sourceFile)) { - return true; - } - } - } - } - function emitNodeWithWriter(node, writer2) { - if (!node) return; - const savedWrite = write; - write = writer2; - emit(node); - write = savedWrite; - } - function emitDecoratorsAndModifiers(node, modifiers, allowDecorators) { - if (modifiers == null ? void 0 : modifiers.length) { - if (every(modifiers, isModifier)) { - return emitModifierList(node, modifiers); - } - if (every(modifiers, isDecorator)) { - if (allowDecorators) { - return emitDecoratorList(node, modifiers); - } - return node.pos; - } - onBeforeEmitNodeArray == null ? void 0 : onBeforeEmitNodeArray(modifiers); - let lastMode; - let mode; - let start = 0; - let pos = 0; - let lastModifier; - while (start < modifiers.length) { - while (pos < modifiers.length) { - lastModifier = modifiers[pos]; - mode = isDecorator(lastModifier) ? "decorators" : "modifiers"; - if (lastMode === void 0) { - lastMode = mode; - } else if (mode !== lastMode) { - break; - } - pos++; - } - const textRange = { pos: -1, end: -1 }; - if (start === 0) textRange.pos = modifiers.pos; - if (pos === modifiers.length - 1) textRange.end = modifiers.end; - if (lastMode === "modifiers" || allowDecorators) { - emitNodeListItems( - emit, - node, - modifiers, - lastMode === "modifiers" ? 2359808 /* Modifiers */ : 2146305 /* Decorators */, - /*parenthesizerRule*/ - void 0, - start, - pos - start, - /*hasTrailingComma*/ - false, - textRange - ); - } - start = pos; - lastMode = mode; - pos++; - } - onAfterEmitNodeArray == null ? void 0 : onAfterEmitNodeArray(modifiers); - if (lastModifier && !positionIsSynthesized(lastModifier.end)) { - return lastModifier.end; - } - } - return node.pos; - } - function emitModifierList(node, modifiers) { - emitList(node, modifiers, 2359808 /* Modifiers */); - const lastModifier = lastOrUndefined(modifiers); - return lastModifier && !positionIsSynthesized(lastModifier.end) ? lastModifier.end : node.pos; - } - function emitTypeAnnotation(node) { - if (node) { - writePunctuation(":"); - writeSpace(); - emit(node); - } - } - function emitInitializer(node, equalCommentStartPos, container, parenthesizerRule) { - if (node) { - writeSpace(); - emitTokenWithComment(64 /* EqualsToken */, equalCommentStartPos, writeOperator, container); - writeSpace(); - emitExpression(node, parenthesizerRule); - } - } - function emitNodeWithPrefix(prefix, prefixWriter, node, emit2) { - if (node) { - prefixWriter(prefix); - emit2(node); - } - } - function emitWithLeadingSpace(node) { - if (node) { - writeSpace(); - emit(node); - } - } - function emitExpressionWithLeadingSpace(node, parenthesizerRule) { - if (node) { - writeSpace(); - emitExpression(node, parenthesizerRule); - } - } - function emitWithTrailingSpace(node) { - if (node) { - emit(node); - writeSpace(); - } - } - function emitEmbeddedStatement(parent, node) { - if (isBlock(node) || getEmitFlags(parent) & 1 /* SingleLine */ || preserveSourceNewlines && !getLeadingLineTerminatorCount(parent, node, 0 /* None */)) { - writeSpace(); - emit(node); - } else { - writeLine(); - increaseIndent(); - if (isEmptyStatement(node)) { - pipelineEmit(5 /* EmbeddedStatement */, node); - } else { - emit(node); - } - decreaseIndent(); - } - } - function emitDecoratorList(parentNode, decorators) { - emitList(parentNode, decorators, 2146305 /* Decorators */); - const lastDecorator = lastOrUndefined(decorators); - return lastDecorator && !positionIsSynthesized(lastDecorator.end) ? lastDecorator.end : parentNode.pos; - } - function emitTypeArguments(parentNode, typeArguments) { - emitList(parentNode, typeArguments, 53776 /* TypeArguments */, typeArgumentParenthesizerRuleSelector); - } - function emitTypeParameters(parentNode, typeParameters) { - if (isFunctionLike(parentNode) && parentNode.typeArguments) { - return emitTypeArguments(parentNode, parentNode.typeArguments); - } - emitList(parentNode, typeParameters, 53776 /* TypeParameters */ | (isArrowFunction(parentNode) ? 64 /* AllowTrailingComma */ : 0 /* None */)); - } - function emitParameters(parentNode, parameters) { - emitList(parentNode, parameters, 2576 /* Parameters */); - } - function canEmitSimpleArrowHead(parentNode, parameters) { - const parameter = singleOrUndefined(parameters); - return parameter && parameter.pos === parentNode.pos && isArrowFunction(parentNode) && !parentNode.type && !some(parentNode.modifiers) && !some(parentNode.typeParameters) && !some(parameter.modifiers) && !parameter.dotDotDotToken && !parameter.questionToken && !parameter.type && !parameter.initializer && isIdentifier(parameter.name); - } - function emitParametersForArrow(parentNode, parameters) { - if (canEmitSimpleArrowHead(parentNode, parameters)) { - emitList(parentNode, parameters, 2576 /* Parameters */ & ~2048 /* Parenthesis */); - } else { - emitParameters(parentNode, parameters); - } - } - function emitParametersForIndexSignature(parentNode, parameters) { - emitList(parentNode, parameters, 8848 /* IndexSignatureParameters */); - } - function writeDelimiter(format) { - switch (format & 60 /* DelimitersMask */) { - case 0 /* None */: - break; - case 16 /* CommaDelimited */: - writePunctuation(","); - break; - case 4 /* BarDelimited */: - writeSpace(); - writePunctuation("|"); - break; - case 32 /* AsteriskDelimited */: - writeSpace(); - writePunctuation("*"); - writeSpace(); - break; - case 8 /* AmpersandDelimited */: - writeSpace(); - writePunctuation("&"); - break; - } - } - function emitList(parentNode, children, format, parenthesizerRule, start, count) { - emitNodeList( - emit, - parentNode, - children, - format | (parentNode && getEmitFlags(parentNode) & 2 /* MultiLine */ ? 65536 /* PreferNewLine */ : 0), - parenthesizerRule, - start, - count - ); - } - function emitExpressionList(parentNode, children, format, parenthesizerRule, start, count) { - emitNodeList(emitExpression, parentNode, children, format, parenthesizerRule, start, count); - } - function emitNodeList(emit2, parentNode, children, format, parenthesizerRule, start = 0, count = children ? children.length - start : 0) { - const isUndefined = children === void 0; - if (isUndefined && format & 16384 /* OptionalIfUndefined */) { - return; - } - const isEmpty = children === void 0 || start >= children.length || count === 0; - if (isEmpty && format & 32768 /* OptionalIfEmpty */) { - onBeforeEmitNodeArray == null ? void 0 : onBeforeEmitNodeArray(children); - onAfterEmitNodeArray == null ? void 0 : onAfterEmitNodeArray(children); - return; - } - if (format & 15360 /* BracketsMask */) { - writePunctuation(getOpeningBracket(format)); - if (isEmpty && children) { - emitTrailingCommentsOfPosition( - children.pos, - /*prefixSpace*/ - true - ); - } - } - onBeforeEmitNodeArray == null ? void 0 : onBeforeEmitNodeArray(children); - if (isEmpty) { - if (format & 1 /* MultiLine */ && !(preserveSourceNewlines && (!parentNode || currentSourceFile && rangeIsOnSingleLine(parentNode, currentSourceFile)))) { - writeLine(); - } else if (format & 256 /* SpaceBetweenBraces */ && !(format & 524288 /* NoSpaceIfEmpty */)) { - writeSpace(); - } - } else { - emitNodeListItems(emit2, parentNode, children, format, parenthesizerRule, start, count, children.hasTrailingComma, children); - } - onAfterEmitNodeArray == null ? void 0 : onAfterEmitNodeArray(children); - if (format & 15360 /* BracketsMask */) { - if (isEmpty && children) { - emitLeadingCommentsOfPosition(children.end); - } - writePunctuation(getClosingBracket(format)); - } - } - function emitNodeListItems(emit2, parentNode, children, format, parenthesizerRule, start, count, hasTrailingComma, childrenTextRange) { - const mayEmitInterveningComments = (format & 262144 /* NoInterveningComments */) === 0; - let shouldEmitInterveningComments = mayEmitInterveningComments; - const leadingLineTerminatorCount = getLeadingLineTerminatorCount(parentNode, children[start], format); - if (leadingLineTerminatorCount) { - writeLine(leadingLineTerminatorCount); - shouldEmitInterveningComments = false; - } else if (format & 256 /* SpaceBetweenBraces */) { - writeSpace(); - } - if (format & 128 /* Indented */) { - increaseIndent(); - } - const emitListItem = getEmitListItem(emit2, parenthesizerRule); - let previousSibling; - let shouldDecreaseIndentAfterEmit = false; - for (let i = 0; i < count; i++) { - const child = children[start + i]; - if (format & 32 /* AsteriskDelimited */) { - writeLine(); - writeDelimiter(format); - } else if (previousSibling) { - if (format & 60 /* DelimitersMask */ && previousSibling.end !== (parentNode ? parentNode.end : -1)) { - const previousSiblingEmitFlags = getEmitFlags(previousSibling); - if (!(previousSiblingEmitFlags & 2048 /* NoTrailingComments */)) { - emitLeadingCommentsOfPosition(previousSibling.end); - } - } - writeDelimiter(format); - const separatingLineTerminatorCount = getSeparatingLineTerminatorCount(previousSibling, child, format); - if (separatingLineTerminatorCount > 0) { - if ((format & (3 /* LinesMask */ | 128 /* Indented */)) === 0 /* SingleLine */) { - increaseIndent(); - shouldDecreaseIndentAfterEmit = true; - } - if (shouldEmitInterveningComments && format & 60 /* DelimitersMask */ && !positionIsSynthesized(child.pos)) { - const commentRange = getCommentRange(child); - emitTrailingCommentsOfPosition( - commentRange.pos, - /*prefixSpace*/ - !!(format & 512 /* SpaceBetweenSiblings */), - /*forceNoNewline*/ - true - ); - } - writeLine(separatingLineTerminatorCount); - shouldEmitInterveningComments = false; - } else if (previousSibling && format & 512 /* SpaceBetweenSiblings */) { - writeSpace(); - } - } - if (shouldEmitInterveningComments) { - const commentRange = getCommentRange(child); - emitTrailingCommentsOfPosition(commentRange.pos); - } else { - shouldEmitInterveningComments = mayEmitInterveningComments; - } - nextListElementPos = child.pos; - emitListItem(child, emit2, parenthesizerRule, i); - if (shouldDecreaseIndentAfterEmit) { - decreaseIndent(); - shouldDecreaseIndentAfterEmit = false; - } - previousSibling = child; - } - const emitFlags = previousSibling ? getEmitFlags(previousSibling) : 0; - const skipTrailingComments = commentsDisabled || !!(emitFlags & 2048 /* NoTrailingComments */); - const emitTrailingComma = hasTrailingComma && format & 64 /* AllowTrailingComma */ && format & 16 /* CommaDelimited */; - if (emitTrailingComma) { - if (previousSibling && !skipTrailingComments) { - emitTokenWithComment(28 /* CommaToken */, previousSibling.end, writePunctuation, previousSibling); - } else { - writePunctuation(","); - } - } - if (previousSibling && (parentNode ? parentNode.end : -1) !== previousSibling.end && format & 60 /* DelimitersMask */ && !skipTrailingComments) { - emitLeadingCommentsOfPosition(emitTrailingComma && (childrenTextRange == null ? void 0 : childrenTextRange.end) ? childrenTextRange.end : previousSibling.end); - } - if (format & 128 /* Indented */) { - decreaseIndent(); - } - const closingLineTerminatorCount = getClosingLineTerminatorCount(parentNode, children[start + count - 1], format, childrenTextRange); - if (closingLineTerminatorCount) { - writeLine(closingLineTerminatorCount); - } else if (format & (2097152 /* SpaceAfterList */ | 256 /* SpaceBetweenBraces */)) { - writeSpace(); - } - } - function writeLiteral(s) { - writer.writeLiteral(s); - } - function writeStringLiteral(s) { - writer.writeStringLiteral(s); - } - function writeBase(s) { - writer.write(s); - } - function writeSymbol(s, sym) { - writer.writeSymbol(s, sym); - } - function writePunctuation(s) { - writer.writePunctuation(s); - } - function writeTrailingSemicolon() { - writer.writeTrailingSemicolon(";"); - } - function writeKeyword(s) { - writer.writeKeyword(s); - } - function writeOperator(s) { - writer.writeOperator(s); - } - function writeParameter(s) { - writer.writeParameter(s); - } - function writeComment(s) { - writer.writeComment(s); - } - function writeSpace() { - writer.writeSpace(" "); - } - function writeProperty(s) { - writer.writeProperty(s); - } - function nonEscapingWrite(s) { - if (writer.nonEscapingWrite) { - writer.nonEscapingWrite(s); - } else { - writer.write(s); - } - } - function writeLine(count = 1) { - for (let i = 0; i < count; i++) { - writer.writeLine(i > 0); - } - } - function increaseIndent() { - writer.increaseIndent(); - } - function decreaseIndent() { - writer.decreaseIndent(); - } - function writeToken(token, pos, writer2, contextNode) { - return !sourceMapsDisabled ? emitTokenWithSourceMap(contextNode, token, writer2, pos, writeTokenText) : writeTokenText(token, writer2, pos); - } - function writeTokenNode(node, writer2) { - if (onBeforeEmitToken) { - onBeforeEmitToken(node); - } - writer2(tokenToString(node.kind)); - if (onAfterEmitToken) { - onAfterEmitToken(node); - } - } - function writeTokenText(token, writer2, pos) { - const tokenString = tokenToString(token); - writer2(tokenString); - return pos < 0 ? pos : pos + tokenString.length; - } - function writeLineOrSpace(parentNode, prevChildNode, nextChildNode) { - if (getEmitFlags(parentNode) & 1 /* SingleLine */) { - writeSpace(); - } else if (preserveSourceNewlines) { - const lines = getLinesBetweenNodes(parentNode, prevChildNode, nextChildNode); - if (lines) { - writeLine(lines); - } else { - writeSpace(); - } - } else { - writeLine(); - } - } - function writeLines(text) { - const lines = text.split(/\r\n?|\n/); - const indentation = guessIndentation(lines); - for (const lineText of lines) { - const line = indentation ? lineText.slice(indentation) : lineText; - if (line.length) { - writeLine(); - write(line); - } - } - } - function writeLinesAndIndent(lineCount, writeSpaceIfNotIndenting) { - if (lineCount) { - increaseIndent(); - writeLine(lineCount); - } else if (writeSpaceIfNotIndenting) { - writeSpace(); - } - } - function decreaseIndentIf(value1, value2) { - if (value1) { - decreaseIndent(); - } - if (value2) { - decreaseIndent(); - } - } - function getLeadingLineTerminatorCount(parentNode, firstChild, format) { - if (format & 2 /* PreserveLines */ || preserveSourceNewlines) { - if (format & 65536 /* PreferNewLine */) { - return 1; - } - if (firstChild === void 0) { - return !parentNode || currentSourceFile && rangeIsOnSingleLine(parentNode, currentSourceFile) ? 0 : 1; - } - if (firstChild.pos === nextListElementPos) { - return 0; - } - if (firstChild.kind === 12 /* JsxText */) { - return 0; - } - if (currentSourceFile && parentNode && !positionIsSynthesized(parentNode.pos) && !nodeIsSynthesized(firstChild) && (!firstChild.parent || getOriginalNode(firstChild.parent) === getOriginalNode(parentNode))) { - if (preserveSourceNewlines) { - return getEffectiveLines( - (includeComments) => getLinesBetweenPositionAndPrecedingNonWhitespaceCharacter( - firstChild.pos, - parentNode.pos, - currentSourceFile, - includeComments - ) - ); - } - return rangeStartPositionsAreOnSameLine(parentNode, firstChild, currentSourceFile) ? 0 : 1; - } - if (synthesizedNodeStartsOnNewLine(firstChild, format)) { - return 1; - } - } - return format & 1 /* MultiLine */ ? 1 : 0; - } - function getSeparatingLineTerminatorCount(previousNode, nextNode, format) { - if (format & 2 /* PreserveLines */ || preserveSourceNewlines) { - if (previousNode === void 0 || nextNode === void 0) { - return 0; - } - if (nextNode.kind === 12 /* JsxText */) { - return 0; - } else if (currentSourceFile && !nodeIsSynthesized(previousNode) && !nodeIsSynthesized(nextNode)) { - if (preserveSourceNewlines && siblingNodePositionsAreComparable(previousNode, nextNode)) { - return getEffectiveLines( - (includeComments) => getLinesBetweenRangeEndAndRangeStart( - previousNode, - nextNode, - currentSourceFile, - includeComments - ) - ); - } else if (!preserveSourceNewlines && originalNodesHaveSameParent(previousNode, nextNode)) { - return rangeEndIsOnSameLineAsRangeStart(previousNode, nextNode, currentSourceFile) ? 0 : 1; - } - return format & 65536 /* PreferNewLine */ ? 1 : 0; - } else if (synthesizedNodeStartsOnNewLine(previousNode, format) || synthesizedNodeStartsOnNewLine(nextNode, format)) { - return 1; - } - } else if (getStartsOnNewLine(nextNode)) { - return 1; - } - return format & 1 /* MultiLine */ ? 1 : 0; - } - function getClosingLineTerminatorCount(parentNode, lastChild, format, childrenTextRange) { - if (format & 2 /* PreserveLines */ || preserveSourceNewlines) { - if (format & 65536 /* PreferNewLine */) { - return 1; - } - if (lastChild === void 0) { - return !parentNode || currentSourceFile && rangeIsOnSingleLine(parentNode, currentSourceFile) ? 0 : 1; - } - if (currentSourceFile && parentNode && !positionIsSynthesized(parentNode.pos) && !nodeIsSynthesized(lastChild) && (!lastChild.parent || lastChild.parent === parentNode)) { - if (preserveSourceNewlines) { - const end = childrenTextRange && !positionIsSynthesized(childrenTextRange.end) ? childrenTextRange.end : lastChild.end; - return getEffectiveLines( - (includeComments) => getLinesBetweenPositionAndNextNonWhitespaceCharacter( - end, - parentNode.end, - currentSourceFile, - includeComments - ) - ); - } - return rangeEndPositionsAreOnSameLine(parentNode, lastChild, currentSourceFile) ? 0 : 1; - } - if (synthesizedNodeStartsOnNewLine(lastChild, format)) { - return 1; - } - } - if (format & 1 /* MultiLine */ && !(format & 131072 /* NoTrailingNewLine */)) { - return 1; - } - return 0; - } - function getEffectiveLines(getLineDifference) { - Debug.assert(!!preserveSourceNewlines); - const lines = getLineDifference( - /*includeComments*/ - true - ); - if (lines === 0) { - return getLineDifference( - /*includeComments*/ - false - ); - } - return lines; - } - function writeLineSeparatorsAndIndentBefore(node, parent) { - const leadingNewlines = preserveSourceNewlines && getLeadingLineTerminatorCount(parent, node, 0 /* None */); - if (leadingNewlines) { - writeLinesAndIndent( - leadingNewlines, - /*writeSpaceIfNotIndenting*/ - false - ); - } - return !!leadingNewlines; - } - function writeLineSeparatorsAfter(node, parent) { - const trailingNewlines = preserveSourceNewlines && getClosingLineTerminatorCount( - parent, - node, - 0 /* None */, - /*childrenTextRange*/ - void 0 - ); - if (trailingNewlines) { - writeLine(trailingNewlines); - } - } - function synthesizedNodeStartsOnNewLine(node, format) { - if (nodeIsSynthesized(node)) { - const startsOnNewLine = getStartsOnNewLine(node); - if (startsOnNewLine === void 0) { - return (format & 65536 /* PreferNewLine */) !== 0; - } - return startsOnNewLine; - } - return (format & 65536 /* PreferNewLine */) !== 0; - } - function getLinesBetweenNodes(parent, node1, node2) { - if (getEmitFlags(parent) & 262144 /* NoIndentation */) { - return 0; - } - parent = skipSynthesizedParentheses(parent); - node1 = skipSynthesizedParentheses(node1); - node2 = skipSynthesizedParentheses(node2); - if (getStartsOnNewLine(node2)) { - return 1; - } - if (currentSourceFile && !nodeIsSynthesized(parent) && !nodeIsSynthesized(node1) && !nodeIsSynthesized(node2)) { - if (preserveSourceNewlines) { - return getEffectiveLines( - (includeComments) => getLinesBetweenRangeEndAndRangeStart( - node1, - node2, - currentSourceFile, - includeComments - ) - ); - } - return rangeEndIsOnSameLineAsRangeStart(node1, node2, currentSourceFile) ? 0 : 1; - } - return 0; - } - function isEmptyBlock(block) { - return block.statements.length === 0 && (!currentSourceFile || rangeEndIsOnSameLineAsRangeStart(block, block, currentSourceFile)); - } - function skipSynthesizedParentheses(node) { - while (node.kind === 217 /* ParenthesizedExpression */ && nodeIsSynthesized(node)) { - node = node.expression; - } - return node; - } - function getTextOfNode2(node, includeTrivia) { - if (isGeneratedIdentifier(node) || isGeneratedPrivateIdentifier(node)) { - return generateName(node); - } - if (isStringLiteral(node) && node.textSourceNode) { - return getTextOfNode2(node.textSourceNode, includeTrivia); - } - const sourceFile = currentSourceFile; - const canUseSourceFile = !!sourceFile && !!node.parent && !nodeIsSynthesized(node); - if (isMemberName(node)) { - if (!canUseSourceFile || getSourceFileOfNode(node) !== getOriginalNode(sourceFile)) { - return idText(node); - } - } else if (isJsxNamespacedName(node)) { - if (!canUseSourceFile || getSourceFileOfNode(node) !== getOriginalNode(sourceFile)) { - return getTextOfJsxNamespacedName(node); - } - } else { - Debug.assertNode(node, isLiteralExpression); - if (!canUseSourceFile) { - return node.text; - } - } - return getSourceTextOfNodeFromSourceFile(sourceFile, node, includeTrivia); - } - function getLiteralTextOfNode(node, sourceFile = currentSourceFile, neverAsciiEscape, jsxAttributeEscape) { - if (node.kind === 11 /* StringLiteral */ && node.textSourceNode) { - const textSourceNode = node.textSourceNode; - if (isIdentifier(textSourceNode) || isPrivateIdentifier(textSourceNode) || isNumericLiteral(textSourceNode) || isJsxNamespacedName(textSourceNode)) { - const text = isNumericLiteral(textSourceNode) ? textSourceNode.text : getTextOfNode2(textSourceNode); - return jsxAttributeEscape ? `"${escapeJsxAttributeString(text)}"` : neverAsciiEscape || getEmitFlags(node) & 16777216 /* NoAsciiEscaping */ ? `"${escapeString(text)}"` : `"${escapeNonAsciiString(text)}"`; - } else { - return getLiteralTextOfNode(textSourceNode, getSourceFileOfNode(textSourceNode), neverAsciiEscape, jsxAttributeEscape); - } - } - const flags = (neverAsciiEscape ? 1 /* NeverAsciiEscape */ : 0) | (jsxAttributeEscape ? 2 /* JsxAttributeEscape */ : 0) | (printerOptions.terminateUnterminatedLiterals ? 4 /* TerminateUnterminatedLiterals */ : 0) | (printerOptions.target && printerOptions.target >= 8 /* ES2021 */ ? 8 /* AllowNumericSeparator */ : 0); - return getLiteralText(node, sourceFile, flags); - } - function pushNameGenerationScope(node) { - privateNameTempFlagsStack.push(privateNameTempFlags); - privateNameTempFlags = 0 /* Auto */; - reservedPrivateNamesStack.push(reservedPrivateNames); - if (node && getEmitFlags(node) & 1048576 /* ReuseTempVariableScope */) { - return; - } - tempFlagsStack.push(tempFlags); - tempFlags = 0 /* Auto */; - formattedNameTempFlagsStack.push(formattedNameTempFlags); - formattedNameTempFlags = void 0; - reservedNamesStack.push(reservedNames); - } - function popNameGenerationScope(node) { - privateNameTempFlags = privateNameTempFlagsStack.pop(); - reservedPrivateNames = reservedPrivateNamesStack.pop(); - if (node && getEmitFlags(node) & 1048576 /* ReuseTempVariableScope */) { - return; - } - tempFlags = tempFlagsStack.pop(); - formattedNameTempFlags = formattedNameTempFlagsStack.pop(); - reservedNames = reservedNamesStack.pop(); - } - function reserveNameInNestedScopes(name) { - if (!reservedNames || reservedNames === lastOrUndefined(reservedNamesStack)) { - reservedNames = /* @__PURE__ */ new Set(); - } - reservedNames.add(name); - } - function reservePrivateNameInNestedScopes(name) { - if (!reservedPrivateNames || reservedPrivateNames === lastOrUndefined(reservedPrivateNamesStack)) { - reservedPrivateNames = /* @__PURE__ */ new Set(); - } - reservedPrivateNames.add(name); - } - function generateNames(node) { - if (!node) return; - switch (node.kind) { - case 241 /* Block */: - forEach(node.statements, generateNames); - break; - case 256 /* LabeledStatement */: - case 254 /* WithStatement */: - case 246 /* DoStatement */: - case 247 /* WhileStatement */: - generateNames(node.statement); - break; - case 245 /* IfStatement */: - generateNames(node.thenStatement); - generateNames(node.elseStatement); - break; - case 248 /* ForStatement */: - case 250 /* ForOfStatement */: - case 249 /* ForInStatement */: - generateNames(node.initializer); - generateNames(node.statement); - break; - case 255 /* SwitchStatement */: - generateNames(node.caseBlock); - break; - case 269 /* CaseBlock */: - forEach(node.clauses, generateNames); - break; - case 296 /* CaseClause */: - case 297 /* DefaultClause */: - forEach(node.statements, generateNames); - break; - case 258 /* TryStatement */: - generateNames(node.tryBlock); - generateNames(node.catchClause); - generateNames(node.finallyBlock); - break; - case 299 /* CatchClause */: - generateNames(node.variableDeclaration); - generateNames(node.block); - break; - case 243 /* VariableStatement */: - generateNames(node.declarationList); - break; - case 261 /* VariableDeclarationList */: - forEach(node.declarations, generateNames); - break; - case 260 /* VariableDeclaration */: - case 169 /* Parameter */: - case 208 /* BindingElement */: - case 263 /* ClassDeclaration */: - generateNameIfNeeded(node.name); - break; - case 262 /* FunctionDeclaration */: - generateNameIfNeeded(node.name); - if (getEmitFlags(node) & 1048576 /* ReuseTempVariableScope */) { - forEach(node.parameters, generateNames); - generateNames(node.body); - } - break; - case 206 /* ObjectBindingPattern */: - case 207 /* ArrayBindingPattern */: - forEach(node.elements, generateNames); - break; - case 272 /* ImportDeclaration */: - generateNames(node.importClause); - break; - case 273 /* ImportClause */: - generateNameIfNeeded(node.name); - generateNames(node.namedBindings); - break; - case 274 /* NamespaceImport */: - generateNameIfNeeded(node.name); - break; - case 280 /* NamespaceExport */: - generateNameIfNeeded(node.name); - break; - case 275 /* NamedImports */: - forEach(node.elements, generateNames); - break; - case 276 /* ImportSpecifier */: - generateNameIfNeeded(node.propertyName || node.name); - break; - } - } - function generateMemberNames(node) { - if (!node) return; - switch (node.kind) { - case 303 /* PropertyAssignment */: - case 304 /* ShorthandPropertyAssignment */: - case 172 /* PropertyDeclaration */: - case 171 /* PropertySignature */: - case 174 /* MethodDeclaration */: - case 173 /* MethodSignature */: - case 177 /* GetAccessor */: - case 178 /* SetAccessor */: - generateNameIfNeeded(node.name); - break; - } - } - function generateNameIfNeeded(name) { - if (name) { - if (isGeneratedIdentifier(name) || isGeneratedPrivateIdentifier(name)) { - generateName(name); - } else if (isBindingPattern(name)) { - generateNames(name); - } - } - } - function generateName(name) { - const autoGenerate = name.emitNode.autoGenerate; - if ((autoGenerate.flags & 7 /* KindMask */) === 4 /* Node */) { - return generateNameCached(getNodeForGeneratedName(name), isPrivateIdentifier(name), autoGenerate.flags, autoGenerate.prefix, autoGenerate.suffix); - } else { - const autoGenerateId = autoGenerate.id; - return autoGeneratedIdToGeneratedName[autoGenerateId] || (autoGeneratedIdToGeneratedName[autoGenerateId] = makeName(name)); - } - } - function generateNameCached(node, privateName, flags, prefix, suffix) { - const nodeId = getNodeId(node); - const cache = privateName ? nodeIdToGeneratedPrivateName : nodeIdToGeneratedName; - return cache[nodeId] || (cache[nodeId] = generateNameForNode(node, privateName, flags ?? 0 /* None */, formatGeneratedNamePart(prefix, generateName), formatGeneratedNamePart(suffix))); - } - function isUniqueName(name, privateName) { - return isFileLevelUniqueNameInCurrentFile(name, privateName) && !isReservedName(name, privateName) && !generatedNames.has(name); - } - function isReservedName(name, privateName) { - let set; - let stack; - if (privateName) { - set = reservedPrivateNames; - stack = reservedPrivateNamesStack; - } else { - set = reservedNames; - stack = reservedNamesStack; - } - if (set == null ? void 0 : set.has(name)) { - return true; - } - for (let i = stack.length - 1; i >= 0; i--) { - if (set === stack[i]) { - continue; - } - set = stack[i]; - if (set == null ? void 0 : set.has(name)) { - return true; - } - } - return false; - } - function isFileLevelUniqueNameInCurrentFile(name, _isPrivate) { - return currentSourceFile ? isFileLevelUniqueName(currentSourceFile, name, hasGlobalName) : true; - } - function isUniqueLocalName(name, container) { - for (let node = container; node && isNodeDescendantOf(node, container); node = node.nextContainer) { - if (canHaveLocals(node) && node.locals) { - const local = node.locals.get(escapeLeadingUnderscores(name)); - if (local && local.flags & (111551 /* Value */ | 1048576 /* ExportValue */ | 2097152 /* Alias */)) { - return false; - } - } - } - return true; - } - function getTempFlags(formattedNameKey) { - switch (formattedNameKey) { - case "": - return tempFlags; - case "#": - return privateNameTempFlags; - default: - return (formattedNameTempFlags == null ? void 0 : formattedNameTempFlags.get(formattedNameKey)) ?? 0 /* Auto */; - } - } - function setTempFlags(formattedNameKey, flags) { - switch (formattedNameKey) { - case "": - tempFlags = flags; - break; - case "#": - privateNameTempFlags = flags; - break; - default: - formattedNameTempFlags ?? (formattedNameTempFlags = /* @__PURE__ */ new Map()); - formattedNameTempFlags.set(formattedNameKey, flags); - break; - } - } - function makeTempVariableName(flags, reservedInNestedScopes, privateName, prefix, suffix) { - if (prefix.length > 0 && prefix.charCodeAt(0) === 35 /* hash */) { - prefix = prefix.slice(1); - } - const key = formatGeneratedName(privateName, prefix, "", suffix); - let tempFlags2 = getTempFlags(key); - if (flags && !(tempFlags2 & flags)) { - const name = flags === 268435456 /* _i */ ? "_i" : "_n"; - const fullName = formatGeneratedName(privateName, prefix, name, suffix); - if (isUniqueName(fullName, privateName)) { - tempFlags2 |= flags; - if (privateName) { - reservePrivateNameInNestedScopes(fullName); - } else if (reservedInNestedScopes) { - reserveNameInNestedScopes(fullName); - } - setTempFlags(key, tempFlags2); - return fullName; - } - } - while (true) { - const count = tempFlags2 & 268435455 /* CountMask */; - tempFlags2++; - if (count !== 8 && count !== 13) { - const name = count < 26 ? "_" + String.fromCharCode(97 /* a */ + count) : "_" + (count - 26); - const fullName = formatGeneratedName(privateName, prefix, name, suffix); - if (isUniqueName(fullName, privateName)) { - if (privateName) { - reservePrivateNameInNestedScopes(fullName); - } else if (reservedInNestedScopes) { - reserveNameInNestedScopes(fullName); - } - setTempFlags(key, tempFlags2); - return fullName; - } - } - } - } - function makeUniqueName(baseName, checkFn = isUniqueName, optimistic, scoped, privateName, prefix, suffix) { - if (baseName.length > 0 && baseName.charCodeAt(0) === 35 /* hash */) { - baseName = baseName.slice(1); - } - if (prefix.length > 0 && prefix.charCodeAt(0) === 35 /* hash */) { - prefix = prefix.slice(1); - } - if (optimistic) { - const fullName = formatGeneratedName(privateName, prefix, baseName, suffix); - if (checkFn(fullName, privateName)) { - if (privateName) { - reservePrivateNameInNestedScopes(fullName); - } else if (scoped) { - reserveNameInNestedScopes(fullName); - } else { - generatedNames.add(fullName); - } - return fullName; - } - } - if (baseName.charCodeAt(baseName.length - 1) !== 95 /* _ */) { - baseName += "_"; - } - let i = 1; - while (true) { - const fullName = formatGeneratedName(privateName, prefix, baseName + i, suffix); - if (checkFn(fullName, privateName)) { - if (privateName) { - reservePrivateNameInNestedScopes(fullName); - } else if (scoped) { - reserveNameInNestedScopes(fullName); - } else { - generatedNames.add(fullName); - } - return fullName; - } - i++; - } - } - function makeFileLevelOptimisticUniqueName(name) { - return makeUniqueName( - name, - isFileLevelUniqueNameInCurrentFile, - /*optimistic*/ - true, - /*scoped*/ - false, - /*privateName*/ - false, - /*prefix*/ - "", - /*suffix*/ - "" - ); - } - function generateNameForModuleOrEnum(node) { - const name = getTextOfNode2(node.name); - return isUniqueLocalName(name, tryCast(node, canHaveLocals)) ? name : makeUniqueName( - name, - isUniqueName, - /*optimistic*/ - false, - /*scoped*/ - false, - /*privateName*/ - false, - /*prefix*/ - "", - /*suffix*/ - "" - ); - } - function generateNameForImportOrExportDeclaration(node) { - const expr = getExternalModuleName(node); - const baseName = isStringLiteral(expr) ? makeIdentifierFromModuleName(expr.text) : "module"; - return makeUniqueName( - baseName, - isUniqueName, - /*optimistic*/ - false, - /*scoped*/ - false, - /*privateName*/ - false, - /*prefix*/ - "", - /*suffix*/ - "" - ); - } - function generateNameForExportDefault() { - return makeUniqueName( - "default", - isUniqueName, - /*optimistic*/ - false, - /*scoped*/ - false, - /*privateName*/ - false, - /*prefix*/ - "", - /*suffix*/ - "" - ); - } - function generateNameForClassExpression() { - return makeUniqueName( - "class", - isUniqueName, - /*optimistic*/ - false, - /*scoped*/ - false, - /*privateName*/ - false, - /*prefix*/ - "", - /*suffix*/ - "" - ); - } - function generateNameForMethodOrAccessor(node, privateName, prefix, suffix) { - if (isIdentifier(node.name)) { - return generateNameCached(node.name, privateName); - } - return makeTempVariableName( - 0 /* Auto */, - /*reservedInNestedScopes*/ - false, - privateName, - prefix, - suffix - ); - } - function generateNameForNode(node, privateName, flags, prefix, suffix) { - switch (node.kind) { - case 80 /* Identifier */: - case 81 /* PrivateIdentifier */: - return makeUniqueName( - getTextOfNode2(node), - isUniqueName, - !!(flags & 16 /* Optimistic */), - !!(flags & 8 /* ReservedInNestedScopes */), - privateName, - prefix, - suffix - ); - case 267 /* ModuleDeclaration */: - case 266 /* EnumDeclaration */: - Debug.assert(!prefix && !suffix && !privateName); - return generateNameForModuleOrEnum(node); - case 272 /* ImportDeclaration */: - case 278 /* ExportDeclaration */: - Debug.assert(!prefix && !suffix && !privateName); - return generateNameForImportOrExportDeclaration(node); - case 262 /* FunctionDeclaration */: - case 263 /* ClassDeclaration */: { - Debug.assert(!prefix && !suffix && !privateName); - const name = node.name; - if (name && !isGeneratedIdentifier(name)) { - return generateNameForNode( - name, - /*privateName*/ - false, - flags, - prefix, - suffix - ); - } - return generateNameForExportDefault(); - } - case 277 /* ExportAssignment */: - Debug.assert(!prefix && !suffix && !privateName); - return generateNameForExportDefault(); - case 231 /* ClassExpression */: - Debug.assert(!prefix && !suffix && !privateName); - return generateNameForClassExpression(); - case 174 /* MethodDeclaration */: - case 177 /* GetAccessor */: - case 178 /* SetAccessor */: - return generateNameForMethodOrAccessor(node, privateName, prefix, suffix); - case 167 /* ComputedPropertyName */: - return makeTempVariableName( - 0 /* Auto */, - /*reservedInNestedScopes*/ - true, - privateName, - prefix, - suffix - ); - default: - return makeTempVariableName( - 0 /* Auto */, - /*reservedInNestedScopes*/ - false, - privateName, - prefix, - suffix - ); - } - } - function makeName(name) { - const autoGenerate = name.emitNode.autoGenerate; - const prefix = formatGeneratedNamePart(autoGenerate.prefix, generateName); - const suffix = formatGeneratedNamePart(autoGenerate.suffix); - switch (autoGenerate.flags & 7 /* KindMask */) { - case 1 /* Auto */: - return makeTempVariableName(0 /* Auto */, !!(autoGenerate.flags & 8 /* ReservedInNestedScopes */), isPrivateIdentifier(name), prefix, suffix); - case 2 /* Loop */: - Debug.assertNode(name, isIdentifier); - return makeTempVariableName( - 268435456 /* _i */, - !!(autoGenerate.flags & 8 /* ReservedInNestedScopes */), - /*privateName*/ - false, - prefix, - suffix - ); - case 3 /* Unique */: - return makeUniqueName( - idText(name), - autoGenerate.flags & 32 /* FileLevel */ ? isFileLevelUniqueNameInCurrentFile : isUniqueName, - !!(autoGenerate.flags & 16 /* Optimistic */), - !!(autoGenerate.flags & 8 /* ReservedInNestedScopes */), - isPrivateIdentifier(name), - prefix, - suffix - ); - } - return Debug.fail(`Unsupported GeneratedIdentifierKind: ${Debug.formatEnum( - autoGenerate.flags & 7 /* KindMask */, - GeneratedIdentifierFlags, - /*isFlags*/ - true - )}.`); - } - function pipelineEmitWithComments(hint, node) { - const pipelinePhase = getNextPipelinePhase(2 /* Comments */, hint, node); - const savedContainerPos = containerPos; - const savedContainerEnd = containerEnd; - const savedDeclarationListContainerEnd = declarationListContainerEnd; - emitCommentsBeforeNode(node); - pipelinePhase(hint, node); - emitCommentsAfterNode(node, savedContainerPos, savedContainerEnd, savedDeclarationListContainerEnd); - } - function emitCommentsBeforeNode(node) { - const emitFlags = getEmitFlags(node); - const commentRange = getCommentRange(node); - emitLeadingCommentsOfNode(node, emitFlags, commentRange.pos, commentRange.end); - if (emitFlags & 4096 /* NoNestedComments */) { - commentsDisabled = true; - } - } - function emitCommentsAfterNode(node, savedContainerPos, savedContainerEnd, savedDeclarationListContainerEnd) { - const emitFlags = getEmitFlags(node); - const commentRange = getCommentRange(node); - if (emitFlags & 4096 /* NoNestedComments */) { - commentsDisabled = false; - } - emitTrailingCommentsOfNode(node, emitFlags, commentRange.pos, commentRange.end, savedContainerPos, savedContainerEnd, savedDeclarationListContainerEnd); - const typeNode = getTypeNode(node); - if (typeNode) { - emitTrailingCommentsOfNode(node, emitFlags, typeNode.pos, typeNode.end, savedContainerPos, savedContainerEnd, savedDeclarationListContainerEnd); - } - } - function emitLeadingCommentsOfNode(node, emitFlags, pos, end) { - enterComment(); - hasWrittenComment = false; - const skipLeadingComments = pos < 0 || (emitFlags & 1024 /* NoLeadingComments */) !== 0 || node.kind === 12 /* JsxText */; - const skipTrailingComments = end < 0 || (emitFlags & 2048 /* NoTrailingComments */) !== 0 || node.kind === 12 /* JsxText */; - if ((pos > 0 || end > 0) && pos !== end) { - if (!skipLeadingComments) { - emitLeadingComments( - pos, - /*isEmittedNode*/ - node.kind !== 353 /* NotEmittedStatement */ - ); - } - if (!skipLeadingComments || pos >= 0 && (emitFlags & 1024 /* NoLeadingComments */) !== 0) { - containerPos = pos; - } - if (!skipTrailingComments || end >= 0 && (emitFlags & 2048 /* NoTrailingComments */) !== 0) { - containerEnd = end; - if (node.kind === 261 /* VariableDeclarationList */) { - declarationListContainerEnd = end; - } - } - } - forEach(getSyntheticLeadingComments(node), emitLeadingSynthesizedComment); - exitComment(); - } - function emitTrailingCommentsOfNode(node, emitFlags, pos, end, savedContainerPos, savedContainerEnd, savedDeclarationListContainerEnd) { - enterComment(); - const skipTrailingComments = end < 0 || (emitFlags & 2048 /* NoTrailingComments */) !== 0 || node.kind === 12 /* JsxText */; - forEach(getSyntheticTrailingComments(node), emitTrailingSynthesizedComment); - if ((pos > 0 || end > 0) && pos !== end) { - containerPos = savedContainerPos; - containerEnd = savedContainerEnd; - declarationListContainerEnd = savedDeclarationListContainerEnd; - if (!skipTrailingComments && node.kind !== 353 /* NotEmittedStatement */) { - emitTrailingComments(end); - } - } - exitComment(); - } - function emitLeadingSynthesizedComment(comment) { - if (comment.hasLeadingNewline || comment.kind === 2 /* SingleLineCommentTrivia */) { - writer.writeLine(); - } - writeSynthesizedComment(comment); - if (comment.hasTrailingNewLine || comment.kind === 2 /* SingleLineCommentTrivia */) { - writer.writeLine(); - } else { - writer.writeSpace(" "); - } - } - function emitTrailingSynthesizedComment(comment) { - if (!writer.isAtStartOfLine()) { - writer.writeSpace(" "); - } - writeSynthesizedComment(comment); - if (comment.hasTrailingNewLine) { - writer.writeLine(); - } - } - function writeSynthesizedComment(comment) { - const text = formatSynthesizedComment(comment); - const lineMap = comment.kind === 3 /* MultiLineCommentTrivia */ ? computeLineStarts(text) : void 0; - writeCommentRange(text, lineMap, writer, 0, text.length, newLine); - } - function formatSynthesizedComment(comment) { - return comment.kind === 3 /* MultiLineCommentTrivia */ ? `/*${comment.text}*/` : `//${comment.text}`; - } - function emitBodyWithDetachedComments(node, detachedRange, emitCallback) { - enterComment(); - const { pos, end } = detachedRange; - const emitFlags = getEmitFlags(node); - const skipLeadingComments = pos < 0 || (emitFlags & 1024 /* NoLeadingComments */) !== 0; - const skipTrailingComments = commentsDisabled || end < 0 || (emitFlags & 2048 /* NoTrailingComments */) !== 0; - if (!skipLeadingComments) { - emitDetachedCommentsAndUpdateCommentsInfo(detachedRange); - } - exitComment(); - if (emitFlags & 4096 /* NoNestedComments */ && !commentsDisabled) { - commentsDisabled = true; - emitCallback(node); - commentsDisabled = false; - } else { - emitCallback(node); - } - enterComment(); - if (!skipTrailingComments) { - emitLeadingComments( - detachedRange.end, - /*isEmittedNode*/ - true - ); - if (hasWrittenComment && !writer.isAtStartOfLine()) { - writer.writeLine(); - } - } - exitComment(); - } - function originalNodesHaveSameParent(nodeA, nodeB) { - nodeA = getOriginalNode(nodeA); - return nodeA.parent && nodeA.parent === getOriginalNode(nodeB).parent; - } - function siblingNodePositionsAreComparable(previousNode, nextNode) { - if (nextNode.pos < previousNode.end) { - return false; - } - previousNode = getOriginalNode(previousNode); - nextNode = getOriginalNode(nextNode); - const parent = previousNode.parent; - if (!parent || parent !== nextNode.parent) { - return false; - } - const parentNodeArray = getContainingNodeArray(previousNode); - const prevNodeIndex = parentNodeArray == null ? void 0 : parentNodeArray.indexOf(previousNode); - return prevNodeIndex !== void 0 && prevNodeIndex > -1 && parentNodeArray.indexOf(nextNode) === prevNodeIndex + 1; - } - function emitLeadingComments(pos, isEmittedNode) { - hasWrittenComment = false; - if (isEmittedNode) { - if (pos === 0 && (currentSourceFile == null ? void 0 : currentSourceFile.isDeclarationFile)) { - forEachLeadingCommentToEmit(pos, emitNonTripleSlashLeadingComment); - } else { - forEachLeadingCommentToEmit(pos, emitLeadingComment); - } - } else if (pos === 0) { - forEachLeadingCommentToEmit(pos, emitTripleSlashLeadingComment); - } - } - function emitTripleSlashLeadingComment(commentPos, commentEnd, kind, hasTrailingNewLine, rangePos) { - if (isTripleSlashComment(commentPos, commentEnd)) { - emitLeadingComment(commentPos, commentEnd, kind, hasTrailingNewLine, rangePos); - } - } - function emitNonTripleSlashLeadingComment(commentPos, commentEnd, kind, hasTrailingNewLine, rangePos) { - if (!isTripleSlashComment(commentPos, commentEnd)) { - emitLeadingComment(commentPos, commentEnd, kind, hasTrailingNewLine, rangePos); - } - } - function shouldWriteComment(text, pos) { - if (printerOptions.onlyPrintJsDocStyle) { - return isJSDocLikeText(text, pos) || isPinnedComment(text, pos); - } - return true; - } - function emitLeadingComment(commentPos, commentEnd, kind, hasTrailingNewLine, rangePos) { - if (!currentSourceFile || !shouldWriteComment(currentSourceFile.text, commentPos)) return; - if (!hasWrittenComment) { - emitNewLineBeforeLeadingCommentOfPosition(getCurrentLineMap(), writer, rangePos, commentPos); - hasWrittenComment = true; - } - emitPos(commentPos); - writeCommentRange(currentSourceFile.text, getCurrentLineMap(), writer, commentPos, commentEnd, newLine); - emitPos(commentEnd); - if (hasTrailingNewLine) { - writer.writeLine(); - } else if (kind === 3 /* MultiLineCommentTrivia */) { - writer.writeSpace(" "); - } - } - function emitLeadingCommentsOfPosition(pos) { - if (commentsDisabled || pos === -1) { - return; - } - emitLeadingComments( - pos, - /*isEmittedNode*/ - true - ); - } - function emitTrailingComments(pos) { - forEachTrailingCommentToEmit(pos, emitTrailingComment); - } - function emitTrailingComment(commentPos, commentEnd, _kind, hasTrailingNewLine) { - if (!currentSourceFile || !shouldWriteComment(currentSourceFile.text, commentPos)) return; - if (!writer.isAtStartOfLine()) { - writer.writeSpace(" "); - } - emitPos(commentPos); - writeCommentRange(currentSourceFile.text, getCurrentLineMap(), writer, commentPos, commentEnd, newLine); - emitPos(commentEnd); - if (hasTrailingNewLine) { - writer.writeLine(); - } - } - function emitTrailingCommentsOfPosition(pos, prefixSpace, forceNoNewline) { - if (commentsDisabled) { - return; - } - enterComment(); - forEachTrailingCommentToEmit(pos, prefixSpace ? emitTrailingComment : forceNoNewline ? emitTrailingCommentOfPositionNoNewline : emitTrailingCommentOfPosition); - exitComment(); - } - function emitTrailingCommentOfPositionNoNewline(commentPos, commentEnd, kind) { - if (!currentSourceFile) return; - emitPos(commentPos); - writeCommentRange(currentSourceFile.text, getCurrentLineMap(), writer, commentPos, commentEnd, newLine); - emitPos(commentEnd); - if (kind === 2 /* SingleLineCommentTrivia */) { - writer.writeLine(); - } - } - function emitTrailingCommentOfPosition(commentPos, commentEnd, _kind, hasTrailingNewLine) { - if (!currentSourceFile) return; - emitPos(commentPos); - writeCommentRange(currentSourceFile.text, getCurrentLineMap(), writer, commentPos, commentEnd, newLine); - emitPos(commentEnd); - if (hasTrailingNewLine) { - writer.writeLine(); - } else { - writer.writeSpace(" "); - } - } - function forEachLeadingCommentToEmit(pos, cb) { - if (currentSourceFile && (containerPos === -1 || pos !== containerPos)) { - if (hasDetachedComments(pos)) { - forEachLeadingCommentWithoutDetachedComments(cb); - } else { - forEachLeadingCommentRange( - currentSourceFile.text, - pos, - cb, - /*state*/ - pos - ); - } - } - } - function forEachTrailingCommentToEmit(end, cb) { - if (currentSourceFile && (containerEnd === -1 || end !== containerEnd && end !== declarationListContainerEnd)) { - forEachTrailingCommentRange(currentSourceFile.text, end, cb); - } - } - function hasDetachedComments(pos) { - return detachedCommentsInfo !== void 0 && last(detachedCommentsInfo).nodePos === pos; - } - function forEachLeadingCommentWithoutDetachedComments(cb) { - if (!currentSourceFile) return; - const pos = last(detachedCommentsInfo).detachedCommentEndPos; - if (detachedCommentsInfo.length - 1) { - detachedCommentsInfo.pop(); - } else { - detachedCommentsInfo = void 0; - } - forEachLeadingCommentRange( - currentSourceFile.text, - pos, - cb, - /*state*/ - pos - ); - } - function emitDetachedCommentsAndUpdateCommentsInfo(range) { - const currentDetachedCommentInfo = currentSourceFile && emitDetachedComments(currentSourceFile.text, getCurrentLineMap(), writer, emitComment, range, newLine, commentsDisabled); - if (currentDetachedCommentInfo) { - if (detachedCommentsInfo) { - detachedCommentsInfo.push(currentDetachedCommentInfo); - } else { - detachedCommentsInfo = [currentDetachedCommentInfo]; - } - } - } - function emitComment(text, lineMap, writer2, commentPos, commentEnd, newLine2) { - if (!currentSourceFile || !shouldWriteComment(currentSourceFile.text, commentPos)) return; - emitPos(commentPos); - writeCommentRange(text, lineMap, writer2, commentPos, commentEnd, newLine2); - emitPos(commentEnd); - } - function isTripleSlashComment(commentPos, commentEnd) { - return !!currentSourceFile && isRecognizedTripleSlashComment(currentSourceFile.text, commentPos, commentEnd); - } - function pipelineEmitWithSourceMaps(hint, node) { - const pipelinePhase = getNextPipelinePhase(3 /* SourceMaps */, hint, node); - emitSourceMapsBeforeNode(node); - pipelinePhase(hint, node); - emitSourceMapsAfterNode(node); - } - function emitSourceMapsBeforeNode(node) { - const emitFlags = getEmitFlags(node); - const sourceMapRange = getSourceMapRange(node); - const source = sourceMapRange.source || sourceMapSource; - if (node.kind !== 353 /* NotEmittedStatement */ && (emitFlags & 32 /* NoLeadingSourceMap */) === 0 && sourceMapRange.pos >= 0) { - emitSourcePos(sourceMapRange.source || sourceMapSource, skipSourceTrivia(source, sourceMapRange.pos)); - } - if (emitFlags & 128 /* NoNestedSourceMaps */) { - sourceMapsDisabled = true; - } - } - function emitSourceMapsAfterNode(node) { - const emitFlags = getEmitFlags(node); - const sourceMapRange = getSourceMapRange(node); - if (emitFlags & 128 /* NoNestedSourceMaps */) { - sourceMapsDisabled = false; - } - if (node.kind !== 353 /* NotEmittedStatement */ && (emitFlags & 64 /* NoTrailingSourceMap */) === 0 && sourceMapRange.end >= 0) { - emitSourcePos(sourceMapRange.source || sourceMapSource, sourceMapRange.end); - } - } - function skipSourceTrivia(source, pos) { - return source.skipTrivia ? source.skipTrivia(pos) : skipTrivia(source.text, pos); - } - function emitPos(pos) { - if (sourceMapsDisabled || positionIsSynthesized(pos) || isJsonSourceMapSource(sourceMapSource)) { - return; - } - const { line: sourceLine, character: sourceCharacter } = getLineAndCharacterOfPosition(sourceMapSource, pos); - sourceMapGenerator.addMapping( - writer.getLine(), - writer.getColumn(), - sourceMapSourceIndex, - sourceLine, - sourceCharacter, - /*nameIndex*/ - void 0 - ); - } - function emitSourcePos(source, pos) { - if (source !== sourceMapSource) { - const savedSourceMapSource = sourceMapSource; - const savedSourceMapSourceIndex = sourceMapSourceIndex; - setSourceMapSource(source); - emitPos(pos); - resetSourceMapSource(savedSourceMapSource, savedSourceMapSourceIndex); - } else { - emitPos(pos); - } - } - function emitTokenWithSourceMap(node, token, writer2, tokenPos, emitCallback) { - if (sourceMapsDisabled || node && isInJsonFile(node)) { - return emitCallback(token, writer2, tokenPos); - } - const emitNode = node && node.emitNode; - const emitFlags = emitNode && emitNode.flags || 0 /* None */; - const range = emitNode && emitNode.tokenSourceMapRanges && emitNode.tokenSourceMapRanges[token]; - const source = range && range.source || sourceMapSource; - tokenPos = skipSourceTrivia(source, range ? range.pos : tokenPos); - if ((emitFlags & 256 /* NoTokenLeadingSourceMaps */) === 0 && tokenPos >= 0) { - emitSourcePos(source, tokenPos); - } - tokenPos = emitCallback(token, writer2, tokenPos); - if (range) tokenPos = range.end; - if ((emitFlags & 512 /* NoTokenTrailingSourceMaps */) === 0 && tokenPos >= 0) { - emitSourcePos(source, tokenPos); - } - return tokenPos; - } - function setSourceMapSource(source) { - if (sourceMapsDisabled) { - return; - } - sourceMapSource = source; - if (source === mostRecentlyAddedSourceMapSource) { - sourceMapSourceIndex = mostRecentlyAddedSourceMapSourceIndex; - return; - } - if (isJsonSourceMapSource(source)) { - return; - } - sourceMapSourceIndex = sourceMapGenerator.addSource(source.fileName); - if (printerOptions.inlineSources) { - sourceMapGenerator.setSourceContent(sourceMapSourceIndex, source.text); - } - mostRecentlyAddedSourceMapSource = source; - mostRecentlyAddedSourceMapSourceIndex = sourceMapSourceIndex; - } - function resetSourceMapSource(source, sourceIndex) { - sourceMapSource = source; - sourceMapSourceIndex = sourceIndex; - } - function isJsonSourceMapSource(sourceFile) { - return fileExtensionIs(sourceFile.fileName, ".json" /* Json */); - } -} -function createBracketsMap() { - const brackets2 = []; - brackets2[1024 /* Braces */] = ["{", "}"]; - brackets2[2048 /* Parenthesis */] = ["(", ")"]; - brackets2[4096 /* AngleBrackets */] = ["<", ">"]; - brackets2[8192 /* SquareBrackets */] = ["[", "]"]; - return brackets2; -} -function getOpeningBracket(format) { - return brackets[format & 15360 /* BracketsMask */][0]; -} -function getClosingBracket(format) { - return brackets[format & 15360 /* BracketsMask */][1]; -} -function emitListItemNoParenthesizer(node, emit, _parenthesizerRule, _index) { - emit(node); -} -function emitListItemWithParenthesizerRuleSelector(node, emit, parenthesizerRuleSelector, index) { - emit(node, parenthesizerRuleSelector.select(index)); -} -function emitListItemWithParenthesizerRule(node, emit, parenthesizerRule, _index) { - emit(node, parenthesizerRule); -} -function getEmitListItem(emit, parenthesizerRule) { - return emit.length === 1 ? emitListItemNoParenthesizer : typeof parenthesizerRule === "object" ? emitListItemWithParenthesizerRuleSelector : emitListItemWithParenthesizerRule; -} - -// src/compiler/watchUtilities.ts -function createCachedDirectoryStructureHost(host, currentDirectory, useCaseSensitiveFileNames2) { - if (!host.getDirectories || !host.readDirectory) { - return void 0; - } - const cachedReadDirectoryResult = /* @__PURE__ */ new Map(); - const getCanonicalFileName = createGetCanonicalFileName(useCaseSensitiveFileNames2); - return { - useCaseSensitiveFileNames: useCaseSensitiveFileNames2, - fileExists, - readFile: (path, encoding) => host.readFile(path, encoding), - directoryExists: host.directoryExists && directoryExists, - getDirectories, - readDirectory, - createDirectory: host.createDirectory && createDirectory, - writeFile: host.writeFile && writeFile2, - addOrDeleteFileOrDirectory, - addOrDeleteFile, - clearCache, - realpath: host.realpath && realpath - }; - function toPath3(fileName) { - return toPath(fileName, currentDirectory, getCanonicalFileName); - } - function getCachedFileSystemEntries(rootDirPath) { - return cachedReadDirectoryResult.get(ensureTrailingDirectorySeparator(rootDirPath)); - } - function getCachedFileSystemEntriesForBaseDir(path) { - const entries = getCachedFileSystemEntries(getDirectoryPath(path)); - if (!entries) { - return entries; - } - if (!entries.sortedAndCanonicalizedFiles) { - entries.sortedAndCanonicalizedFiles = entries.files.map(getCanonicalFileName).sort(); - entries.sortedAndCanonicalizedDirectories = entries.directories.map(getCanonicalFileName).sort(); - } - return entries; - } - function getBaseNameOfFileName(fileName) { - return getBaseFileName(normalizePath(fileName)); - } - function createCachedFileSystemEntries(rootDir, rootDirPath) { - var _a; - if (!host.realpath || ensureTrailingDirectorySeparator(toPath3(host.realpath(rootDir))) === rootDirPath) { - const resultFromHost = { - files: map(host.readDirectory( - rootDir, - /*extensions*/ - void 0, - /*exclude*/ - void 0, - /*include*/ - ["*.*"] - ), getBaseNameOfFileName) || [], - directories: host.getDirectories(rootDir) || [] - }; - cachedReadDirectoryResult.set(ensureTrailingDirectorySeparator(rootDirPath), resultFromHost); - return resultFromHost; - } - if ((_a = host.directoryExists) == null ? void 0 : _a.call(host, rootDir)) { - cachedReadDirectoryResult.set(rootDirPath, false); - return false; - } - return void 0; - } - function tryReadDirectory(rootDir, rootDirPath) { - rootDirPath = ensureTrailingDirectorySeparator(rootDirPath); - const cachedResult = getCachedFileSystemEntries(rootDirPath); - if (cachedResult) { - return cachedResult; - } - try { - return createCachedFileSystemEntries(rootDir, rootDirPath); - } catch { - Debug.assert(!cachedReadDirectoryResult.has(ensureTrailingDirectorySeparator(rootDirPath))); - return void 0; - } - } - function hasEntry(entries, name) { - const index = binarySearch(entries, name, identity, compareStringsCaseSensitive); - return index >= 0; - } - function writeFile2(fileName, data, writeByteOrderMark) { - const path = toPath3(fileName); - const result = getCachedFileSystemEntriesForBaseDir(path); - if (result) { - updateFilesOfFileSystemEntry( - result, - getBaseNameOfFileName(fileName), - /*fileExists*/ - true - ); - } - return host.writeFile(fileName, data, writeByteOrderMark); - } - function fileExists(fileName) { - const path = toPath3(fileName); - const result = getCachedFileSystemEntriesForBaseDir(path); - return result && hasEntry(result.sortedAndCanonicalizedFiles, getCanonicalFileName(getBaseNameOfFileName(fileName))) || host.fileExists(fileName); - } - function directoryExists(dirPath) { - const path = toPath3(dirPath); - return cachedReadDirectoryResult.has(ensureTrailingDirectorySeparator(path)) || host.directoryExists(dirPath); - } - function createDirectory(dirPath) { - const path = toPath3(dirPath); - const result = getCachedFileSystemEntriesForBaseDir(path); - if (result) { - const baseName = getBaseNameOfFileName(dirPath); - const canonicalizedBaseName = getCanonicalFileName(baseName); - const canonicalizedDirectories = result.sortedAndCanonicalizedDirectories; - if (insertSorted(canonicalizedDirectories, canonicalizedBaseName, compareStringsCaseSensitive)) { - result.directories.push(baseName); - } - } - host.createDirectory(dirPath); - } - function getDirectories(rootDir) { - const rootDirPath = toPath3(rootDir); - const result = tryReadDirectory(rootDir, rootDirPath); - if (result) { - return result.directories.slice(); - } - return host.getDirectories(rootDir); - } - function readDirectory(rootDir, extensions, excludes, includes, depth) { - const rootDirPath = toPath3(rootDir); - const rootResult = tryReadDirectory(rootDir, rootDirPath); - let rootSymLinkResult; - if (rootResult !== void 0) { - return matchFiles(rootDir, extensions, excludes, includes, useCaseSensitiveFileNames2, currentDirectory, depth, getFileSystemEntries, realpath); - } - return host.readDirectory(rootDir, extensions, excludes, includes, depth); - function getFileSystemEntries(dir) { - const path = toPath3(dir); - if (path === rootDirPath) { - return rootResult || getFileSystemEntriesFromHost(dir, path); - } - const result = tryReadDirectory(dir, path); - return result !== void 0 ? result || getFileSystemEntriesFromHost(dir, path) : emptyFileSystemEntries; - } - function getFileSystemEntriesFromHost(dir, path) { - if (rootSymLinkResult && path === rootDirPath) return rootSymLinkResult; - const result = { - files: map(host.readDirectory( - dir, - /*extensions*/ - void 0, - /*exclude*/ - void 0, - /*include*/ - ["*.*"] - ), getBaseNameOfFileName) || emptyArray, - directories: host.getDirectories(dir) || emptyArray - }; - if (path === rootDirPath) rootSymLinkResult = result; - return result; - } - } - function realpath(s) { - return host.realpath ? host.realpath(s) : s; - } - function clearFirstAncestorEntry(fileOrDirectoryPath) { - forEachAncestorDirectory( - getDirectoryPath(fileOrDirectoryPath), - (ancestor) => cachedReadDirectoryResult.delete(ensureTrailingDirectorySeparator(ancestor)) ? true : void 0 - ); - } - function addOrDeleteFileOrDirectory(fileOrDirectory, fileOrDirectoryPath) { - const existingResult = getCachedFileSystemEntries(fileOrDirectoryPath); - if (existingResult !== void 0) { - clearCache(); - return void 0; - } - const parentResult = getCachedFileSystemEntriesForBaseDir(fileOrDirectoryPath); - if (!parentResult) { - clearFirstAncestorEntry(fileOrDirectoryPath); - return void 0; - } - if (!host.directoryExists) { - clearCache(); - return void 0; - } - const baseName = getBaseNameOfFileName(fileOrDirectory); - const fsQueryResult = { - fileExists: host.fileExists(fileOrDirectory), - directoryExists: host.directoryExists(fileOrDirectory) - }; - if (fsQueryResult.directoryExists || hasEntry(parentResult.sortedAndCanonicalizedDirectories, getCanonicalFileName(baseName))) { - clearCache(); - } else { - updateFilesOfFileSystemEntry(parentResult, baseName, fsQueryResult.fileExists); - } - return fsQueryResult; - } - function addOrDeleteFile(fileName, filePath, eventKind) { - if (eventKind === 1 /* Changed */) { - return; - } - const parentResult = getCachedFileSystemEntriesForBaseDir(filePath); - if (parentResult) { - updateFilesOfFileSystemEntry(parentResult, getBaseNameOfFileName(fileName), eventKind === 0 /* Created */); - } else { - clearFirstAncestorEntry(filePath); - } - } - function updateFilesOfFileSystemEntry(parentResult, baseName, fileExists2) { - const canonicalizedFiles = parentResult.sortedAndCanonicalizedFiles; - const canonicalizedBaseName = getCanonicalFileName(baseName); - if (fileExists2) { - if (insertSorted(canonicalizedFiles, canonicalizedBaseName, compareStringsCaseSensitive)) { - parentResult.files.push(baseName); - } - } else { - const sortedIndex = binarySearch(canonicalizedFiles, canonicalizedBaseName, identity, compareStringsCaseSensitive); - if (sortedIndex >= 0) { - canonicalizedFiles.splice(sortedIndex, 1); - const unsortedIndex = parentResult.files.findIndex((entry) => getCanonicalFileName(entry) === canonicalizedBaseName); - parentResult.files.splice(unsortedIndex, 1); - } - } - } - function clearCache() { - cachedReadDirectoryResult.clear(); - } -} -function updateSharedExtendedConfigFileWatcher(projectPath, options, extendedConfigFilesMap, createExtendedConfigFileWatch, toPath3) { - var _a; - const extendedConfigs = arrayToMap(((_a = options == null ? void 0 : options.configFile) == null ? void 0 : _a.extendedSourceFiles) || emptyArray, toPath3); - extendedConfigFilesMap.forEach((watcher, extendedConfigFilePath) => { - if (!extendedConfigs.has(extendedConfigFilePath)) { - watcher.projects.delete(projectPath); - watcher.close(); - } - }); - extendedConfigs.forEach((extendedConfigFileName, extendedConfigFilePath) => { - const existing = extendedConfigFilesMap.get(extendedConfigFilePath); - if (existing) { - existing.projects.add(projectPath); - } else { - extendedConfigFilesMap.set(extendedConfigFilePath, { - projects: /* @__PURE__ */ new Set([projectPath]), - watcher: createExtendedConfigFileWatch(extendedConfigFileName, extendedConfigFilePath), - close: () => { - const existing2 = extendedConfigFilesMap.get(extendedConfigFilePath); - if (!existing2 || existing2.projects.size !== 0) return; - existing2.watcher.close(); - extendedConfigFilesMap.delete(extendedConfigFilePath); - } - }); - } - }); -} -function clearSharedExtendedConfigFileWatcher(projectPath, extendedConfigFilesMap) { - extendedConfigFilesMap.forEach((watcher) => { - if (watcher.projects.delete(projectPath)) watcher.close(); - }); -} -function cleanExtendedConfigCache(extendedConfigCache, extendedConfigFilePath, toPath3) { - if (!extendedConfigCache.delete(extendedConfigFilePath)) return; - extendedConfigCache.forEach(({ extendedResult }, key) => { - var _a; - if ((_a = extendedResult.extendedSourceFiles) == null ? void 0 : _a.some((extendedFile) => toPath3(extendedFile) === extendedConfigFilePath)) { - cleanExtendedConfigCache(extendedConfigCache, key, toPath3); - } - }); -} -function updateMissingFilePathsWatch(program, missingFileWatches, createMissingFileWatch) { - mutateMap( - missingFileWatches, - program.getMissingFilePaths(), - { - // Watch the missing files - createNewValue: createMissingFileWatch, - // Files that are no longer missing (e.g. because they are no longer required) - // should no longer be watched. - onDeleteValue: closeFileWatcher - } - ); -} -function updateWatchingWildcardDirectories(existingWatchedForWildcards, wildcardDirectories, watchDirectory) { - if (wildcardDirectories) { - mutateMap( - existingWatchedForWildcards, - new Map(Object.entries(wildcardDirectories)), - { - // Create new watch and recursive info - createNewValue: createWildcardDirectoryWatcher, - // Close existing watch thats not needed any more - onDeleteValue: closeFileWatcherOf, - // Close existing watch that doesnt match in the flags - onExistingValue: updateWildcardDirectoryWatcher - } - ); - } else { - clearMap(existingWatchedForWildcards, closeFileWatcherOf); - } - function createWildcardDirectoryWatcher(directory, flags) { - return { - watcher: watchDirectory(directory, flags), - flags - }; - } - function updateWildcardDirectoryWatcher(existingWatcher, flags, directory) { - if (existingWatcher.flags === flags) { - return; - } - existingWatcher.watcher.close(); - existingWatchedForWildcards.set(directory, createWildcardDirectoryWatcher(directory, flags)); - } -} -function isIgnoredFileFromWildCardWatching({ - watchedDirPath, - fileOrDirectory, - fileOrDirectoryPath, - configFileName, - options, - program, - extraFileExtensions, - currentDirectory, - useCaseSensitiveFileNames: useCaseSensitiveFileNames2, - writeLog, - toPath: toPath3, - getScriptKind -}) { - const newPath = removeIgnoredPath(fileOrDirectoryPath); - if (!newPath) { - writeLog(`Project: ${configFileName} Detected ignored path: ${fileOrDirectory}`); - return true; - } - fileOrDirectoryPath = newPath; - if (fileOrDirectoryPath === watchedDirPath) return false; - if (hasExtension(fileOrDirectoryPath) && !(isSupportedSourceFileName(fileOrDirectory, options, extraFileExtensions) || isSupportedScriptKind())) { - writeLog(`Project: ${configFileName} Detected file add/remove of non supported extension: ${fileOrDirectory}`); - return true; - } - if (isExcludedFile(fileOrDirectory, options.configFile.configFileSpecs, getNormalizedAbsolutePath(getDirectoryPath(configFileName), currentDirectory), useCaseSensitiveFileNames2, currentDirectory)) { - writeLog(`Project: ${configFileName} Detected excluded file: ${fileOrDirectory}`); - return true; - } - if (!program) return false; - if (options.outFile || options.outDir) return false; - if (isDeclarationFileName(fileOrDirectoryPath)) { - if (options.declarationDir) return false; - } else if (!fileExtensionIsOneOf(fileOrDirectoryPath, supportedJSExtensionsFlat)) { - return false; - } - const filePathWithoutExtension = removeFileExtension(fileOrDirectoryPath); - const realProgram = isArray(program) ? void 0 : isBuilderProgram(program) ? program.getProgramOrUndefined() : program; - const builderProgram = !realProgram && !isArray(program) ? program : void 0; - if (hasSourceFile(filePathWithoutExtension + ".ts" /* Ts */) || hasSourceFile(filePathWithoutExtension + ".tsx" /* Tsx */)) { - writeLog(`Project: ${configFileName} Detected output file: ${fileOrDirectory}`); - return true; - } - return false; - function hasSourceFile(file) { - return realProgram ? !!realProgram.getSourceFileByPath(file) : builderProgram ? builderProgram.state.fileInfos.has(file) : !!find(program, (rootFile) => toPath3(rootFile) === file); - } - function isSupportedScriptKind() { - if (!getScriptKind) return false; - const scriptKind = getScriptKind(fileOrDirectory); - switch (scriptKind) { - case 3 /* TS */: - case 4 /* TSX */: - case 7 /* Deferred */: - case 5 /* External */: - return true; - case 1 /* JS */: - case 2 /* JSX */: - return getAllowJSCompilerOption(options); - case 6 /* JSON */: - return getResolveJsonModule(options); - case 0 /* Unknown */: - return false; - } - } -} -function isEmittedFileOfProgram(program, file) { - if (!program) { - return false; - } - return program.isEmittedFile(file); -} -function getWatchFactory(host, watchLogLevel, log, getDetailWatchInfo) { - setSysLog(watchLogLevel === 2 /* Verbose */ ? log : noop); - const plainInvokeFactory = { - watchFile: (file, callback, pollingInterval, options) => host.watchFile(file, callback, pollingInterval, options), - watchDirectory: (directory, callback, flags, options) => host.watchDirectory(directory, callback, (flags & 1 /* Recursive */) !== 0, options) - }; - const triggerInvokingFactory = watchLogLevel !== 0 /* None */ ? { - watchFile: createTriggerLoggingAddWatch("watchFile"), - watchDirectory: createTriggerLoggingAddWatch("watchDirectory") - } : void 0; - const factory2 = watchLogLevel === 2 /* Verbose */ ? { - watchFile: createFileWatcherWithLogging, - watchDirectory: createDirectoryWatcherWithLogging - } : triggerInvokingFactory || plainInvokeFactory; - const excludeWatcherFactory = watchLogLevel === 2 /* Verbose */ ? createExcludeWatcherWithLogging : returnNoopFileWatcher; - return { - watchFile: createExcludeHandlingAddWatch("watchFile"), - watchDirectory: createExcludeHandlingAddWatch("watchDirectory") - }; - function createExcludeHandlingAddWatch(key) { - return (file, cb, flags, options, detailInfo1, detailInfo2) => { - var _a; - return !matchesExclude(file, key === "watchFile" ? options == null ? void 0 : options.excludeFiles : options == null ? void 0 : options.excludeDirectories, useCaseSensitiveFileNames2(), ((_a = host.getCurrentDirectory) == null ? void 0 : _a.call(host)) || "") ? factory2[key].call( - /*thisArgs*/ - void 0, - file, - cb, - flags, - options, - detailInfo1, - detailInfo2 - ) : excludeWatcherFactory(file, flags, options, detailInfo1, detailInfo2); - }; - } - function useCaseSensitiveFileNames2() { - return typeof host.useCaseSensitiveFileNames === "boolean" ? host.useCaseSensitiveFileNames : host.useCaseSensitiveFileNames(); - } - function createExcludeWatcherWithLogging(file, flags, options, detailInfo1, detailInfo2) { - log(`ExcludeWatcher:: Added:: ${getWatchInfo(file, flags, options, detailInfo1, detailInfo2, getDetailWatchInfo)}`); - return { - close: () => log(`ExcludeWatcher:: Close:: ${getWatchInfo(file, flags, options, detailInfo1, detailInfo2, getDetailWatchInfo)}`) - }; - } - function createFileWatcherWithLogging(file, cb, flags, options, detailInfo1, detailInfo2) { - log(`FileWatcher:: Added:: ${getWatchInfo(file, flags, options, detailInfo1, detailInfo2, getDetailWatchInfo)}`); - const watcher = triggerInvokingFactory.watchFile(file, cb, flags, options, detailInfo1, detailInfo2); - return { - close: () => { - log(`FileWatcher:: Close:: ${getWatchInfo(file, flags, options, detailInfo1, detailInfo2, getDetailWatchInfo)}`); - watcher.close(); - } - }; - } - function createDirectoryWatcherWithLogging(file, cb, flags, options, detailInfo1, detailInfo2) { - const watchInfo = `DirectoryWatcher:: Added:: ${getWatchInfo(file, flags, options, detailInfo1, detailInfo2, getDetailWatchInfo)}`; - log(watchInfo); - const start = timestamp(); - const watcher = triggerInvokingFactory.watchDirectory(file, cb, flags, options, detailInfo1, detailInfo2); - const elapsed = timestamp() - start; - log(`Elapsed:: ${elapsed}ms ${watchInfo}`); - return { - close: () => { - const watchInfo2 = `DirectoryWatcher:: Close:: ${getWatchInfo(file, flags, options, detailInfo1, detailInfo2, getDetailWatchInfo)}`; - log(watchInfo2); - const start2 = timestamp(); - watcher.close(); - const elapsed2 = timestamp() - start2; - log(`Elapsed:: ${elapsed2}ms ${watchInfo2}`); - } - }; - } - function createTriggerLoggingAddWatch(key) { - return (file, cb, flags, options, detailInfo1, detailInfo2) => plainInvokeFactory[key].call( - /*thisArgs*/ - void 0, - file, - (...args) => { - const triggerredInfo = `${key === "watchFile" ? "FileWatcher" : "DirectoryWatcher"}:: Triggered with ${args[0]} ${args[1] !== void 0 ? args[1] : ""}:: ${getWatchInfo(file, flags, options, detailInfo1, detailInfo2, getDetailWatchInfo)}`; - log(triggerredInfo); - const start = timestamp(); - cb.call( - /*thisArg*/ - void 0, - ...args - ); - const elapsed = timestamp() - start; - log(`Elapsed:: ${elapsed}ms ${triggerredInfo}`); - }, - flags, - options, - detailInfo1, - detailInfo2 - ); - } - function getWatchInfo(file, flags, options, detailInfo1, detailInfo2, getDetailWatchInfo2) { - return `WatchInfo: ${file} ${flags} ${JSON.stringify(options)} ${getDetailWatchInfo2 ? getDetailWatchInfo2(detailInfo1, detailInfo2) : detailInfo2 === void 0 ? detailInfo1 : `${detailInfo1} ${detailInfo2}`}`; - } -} -function getFallbackOptions(options) { - const fallbackPolling = options == null ? void 0 : options.fallbackPolling; - return { - watchFile: fallbackPolling !== void 0 ? fallbackPolling : 1 /* PriorityPollingInterval */ - }; -} -function closeFileWatcherOf(objWithWatcher) { - objWithWatcher.watcher.close(); -} - -// src/compiler/program.ts -function findConfigFile(searchPath, fileExists, configName = "tsconfig.json") { - return forEachAncestorDirectory(searchPath, (ancestor) => { - const fileName = combinePaths(ancestor, configName); - return fileExists(fileName) ? fileName : void 0; - }); -} -function resolveTripleslashReference(moduleName, containingFile) { - const basePath = getDirectoryPath(containingFile); - const referencedFileName = isRootedDiskPath(moduleName) ? moduleName : combinePaths(basePath, moduleName); - return normalizePath(referencedFileName); -} -function computeCommonSourceDirectoryOfFilenames(fileNames, currentDirectory, getCanonicalFileName) { - let commonPathComponents; - const failed = forEach(fileNames, (sourceFile) => { - const sourcePathComponents = getNormalizedPathComponents(sourceFile, currentDirectory); - sourcePathComponents.pop(); - if (!commonPathComponents) { - commonPathComponents = sourcePathComponents; - return; - } - const n = Math.min(commonPathComponents.length, sourcePathComponents.length); - for (let i = 0; i < n; i++) { - if (getCanonicalFileName(commonPathComponents[i]) !== getCanonicalFileName(sourcePathComponents[i])) { - if (i === 0) { - return true; - } - commonPathComponents.length = i; - break; - } - } - if (sourcePathComponents.length < commonPathComponents.length) { - commonPathComponents.length = sourcePathComponents.length; - } - }); - if (failed) { - return ""; - } - if (!commonPathComponents) { - return currentDirectory; - } - return getPathFromPathComponents(commonPathComponents); -} -function createCompilerHost(options, setParentNodes) { - return createCompilerHostWorker(options, setParentNodes); -} -function createGetSourceFile(readFile, setParentNodes) { - return (fileName, languageVersionOrOptions, onError) => { - let text; - try { - mark("beforeIORead"); - text = readFile(fileName); - mark("afterIORead"); - measure("I/O Read", "beforeIORead", "afterIORead"); - } catch (e) { - if (onError) { - onError(e.message); - } - text = ""; - } - return text !== void 0 ? createSourceFile(fileName, text, languageVersionOrOptions, setParentNodes) : void 0; - }; -} -function createWriteFileMeasuringIO(actualWriteFile, createDirectory, directoryExists) { - return (fileName, data, writeByteOrderMark, onError) => { - try { - mark("beforeIOWrite"); - writeFileEnsuringDirectories( - fileName, - data, - writeByteOrderMark, - actualWriteFile, - createDirectory, - directoryExists - ); - mark("afterIOWrite"); - measure("I/O Write", "beforeIOWrite", "afterIOWrite"); - } catch (e) { - if (onError) { - onError(e.message); - } - } - }; -} -function createCompilerHostWorker(options, setParentNodes, system = sys) { - const existingDirectories = /* @__PURE__ */ new Map(); - const getCanonicalFileName = createGetCanonicalFileName(system.useCaseSensitiveFileNames); - function directoryExists(directoryPath) { - if (existingDirectories.has(directoryPath)) { - return true; - } - if ((compilerHost.directoryExists || system.directoryExists)(directoryPath)) { - existingDirectories.set(directoryPath, true); - return true; - } - return false; - } - function getDefaultLibLocation() { - return getDirectoryPath(normalizePath(system.getExecutingFilePath())); - } - const newLine = getNewLineCharacter(options); - const realpath = system.realpath && ((path) => system.realpath(path)); - const compilerHost = { - getSourceFile: createGetSourceFile((fileName) => compilerHost.readFile(fileName), setParentNodes), - getDefaultLibLocation, - getDefaultLibFileName: (options2) => combinePaths(getDefaultLibLocation(), getDefaultLibFileName(options2)), - writeFile: createWriteFileMeasuringIO( - (path, data, writeByteOrderMark) => system.writeFile(path, data, writeByteOrderMark), - (path) => (compilerHost.createDirectory || system.createDirectory)(path), - (path) => directoryExists(path) - ), - getCurrentDirectory: memoize(() => system.getCurrentDirectory()), - useCaseSensitiveFileNames: () => system.useCaseSensitiveFileNames, - getCanonicalFileName, - getNewLine: () => newLine, - fileExists: (fileName) => system.fileExists(fileName), - readFile: (fileName) => system.readFile(fileName), - trace: (s) => system.write(s + newLine), - directoryExists: (directoryName) => system.directoryExists(directoryName), - getEnvironmentVariable: (name) => system.getEnvironmentVariable ? system.getEnvironmentVariable(name) : "", - getDirectories: (path) => system.getDirectories(path), - realpath, - readDirectory: (path, extensions, include, exclude, depth) => system.readDirectory(path, extensions, include, exclude, depth), - createDirectory: (d) => system.createDirectory(d), - createHash: maybeBind(system, system.createHash) - }; - return compilerHost; -} -function changeCompilerHostLikeToUseCache(host, toPath3, getSourceFile) { - const originalReadFile = host.readFile; - const originalFileExists = host.fileExists; - const originalDirectoryExists = host.directoryExists; - const originalCreateDirectory = host.createDirectory; - const originalWriteFile = host.writeFile; - const readFileCache = /* @__PURE__ */ new Map(); - const fileExistsCache = /* @__PURE__ */ new Map(); - const directoryExistsCache = /* @__PURE__ */ new Map(); - const sourceFileCache = /* @__PURE__ */ new Map(); - const readFileWithCache = (fileName) => { - const key = toPath3(fileName); - const value = readFileCache.get(key); - if (value !== void 0) return value !== false ? value : void 0; - return setReadFileCache(key, fileName); - }; - const setReadFileCache = (key, fileName) => { - const newValue = originalReadFile.call(host, fileName); - readFileCache.set(key, newValue !== void 0 ? newValue : false); - return newValue; - }; - host.readFile = (fileName) => { - const key = toPath3(fileName); - const value = readFileCache.get(key); - if (value !== void 0) return value !== false ? value : void 0; - if (!fileExtensionIs(fileName, ".json" /* Json */) && !isBuildInfoFile(fileName)) { - return originalReadFile.call(host, fileName); - } - return setReadFileCache(key, fileName); - }; - const getSourceFileWithCache = getSourceFile ? (fileName, languageVersionOrOptions, onError, shouldCreateNewSourceFile) => { - const key = toPath3(fileName); - const impliedNodeFormat = typeof languageVersionOrOptions === "object" ? languageVersionOrOptions.impliedNodeFormat : void 0; - const forImpliedNodeFormat = sourceFileCache.get(impliedNodeFormat); - const value = forImpliedNodeFormat == null ? void 0 : forImpliedNodeFormat.get(key); - if (value) return value; - const sourceFile = getSourceFile(fileName, languageVersionOrOptions, onError, shouldCreateNewSourceFile); - if (sourceFile && (isDeclarationFileName(fileName) || fileExtensionIs(fileName, ".json" /* Json */))) { - sourceFileCache.set(impliedNodeFormat, (forImpliedNodeFormat || /* @__PURE__ */ new Map()).set(key, sourceFile)); - } - return sourceFile; - } : void 0; - host.fileExists = (fileName) => { - const key = toPath3(fileName); - const value = fileExistsCache.get(key); - if (value !== void 0) return value; - const newValue = originalFileExists.call(host, fileName); - fileExistsCache.set(key, !!newValue); - return newValue; - }; - if (originalWriteFile) { - host.writeFile = (fileName, data, ...rest) => { - const key = toPath3(fileName); - fileExistsCache.delete(key); - const value = readFileCache.get(key); - if (value !== void 0 && value !== data) { - readFileCache.delete(key); - sourceFileCache.forEach((map2) => map2.delete(key)); - } else if (getSourceFileWithCache) { - sourceFileCache.forEach((map2) => { - const sourceFile = map2.get(key); - if (sourceFile && sourceFile.text !== data) { - map2.delete(key); - } - }); - } - originalWriteFile.call(host, fileName, data, ...rest); - }; - } - if (originalDirectoryExists) { - host.directoryExists = (directory) => { - const key = toPath3(directory); - const value = directoryExistsCache.get(key); - if (value !== void 0) return value; - const newValue = originalDirectoryExists.call(host, directory); - directoryExistsCache.set(key, !!newValue); - return newValue; - }; - if (originalCreateDirectory) { - host.createDirectory = (directory) => { - const key = toPath3(directory); - directoryExistsCache.delete(key); - originalCreateDirectory.call(host, directory); - }; - } - } - return { - originalReadFile, - originalFileExists, - originalDirectoryExists, - originalCreateDirectory, - originalWriteFile, - getSourceFileWithCache, - readFileWithCache - }; -} -function formatDiagnostic(diagnostic, host) { - const errorMessage = `${diagnosticCategoryName(diagnostic)} TS${diagnostic.code}: ${flattenDiagnosticMessageText(diagnostic.messageText, host.getNewLine())}${host.getNewLine()}`; - if (diagnostic.file) { - const { line, character } = getLineAndCharacterOfPosition(diagnostic.file, diagnostic.start); - const fileName = diagnostic.file.fileName; - const relativeFileName = convertToRelativePath(fileName, host.getCurrentDirectory(), (fileName2) => host.getCanonicalFileName(fileName2)); - return `${relativeFileName}(${line + 1},${character + 1}): ` + errorMessage; - } - return errorMessage; -} -var gutterStyleSequence = "\x1B[7m"; -var gutterSeparator = " "; -var resetEscapeSequence = "\x1B[0m"; -var ellipsis = "..."; -var halfIndent = " "; -var indent = " "; -function getCategoryFormat(category) { - switch (category) { - case 1 /* Error */: - return "\x1B[91m" /* Red */; - case 0 /* Warning */: - return "\x1B[93m" /* Yellow */; - case 2 /* Suggestion */: - return Debug.fail("Should never get an Info diagnostic on the command line."); - case 3 /* Message */: - return "\x1B[94m" /* Blue */; - } -} -function formatColorAndReset(text, formatStyle) { - return formatStyle + text + resetEscapeSequence; -} -function formatCodeSpan(file, start, length2, indent2, squiggleColor, host) { - const { line: firstLine, character: firstLineChar } = getLineAndCharacterOfPosition(file, start); - const { line: lastLine, character: lastLineChar } = getLineAndCharacterOfPosition(file, start + length2); - const lastLineInFile = getLineAndCharacterOfPosition(file, file.text.length).line; - const hasMoreThanFiveLines = lastLine - firstLine >= 4; - let gutterWidth = (lastLine + 1 + "").length; - if (hasMoreThanFiveLines) { - gutterWidth = Math.max(ellipsis.length, gutterWidth); - } - let context = ""; - for (let i = firstLine; i <= lastLine; i++) { - context += host.getNewLine(); - if (hasMoreThanFiveLines && firstLine + 1 < i && i < lastLine - 1) { - context += indent2 + formatColorAndReset(ellipsis.padStart(gutterWidth), gutterStyleSequence) + gutterSeparator + host.getNewLine(); - i = lastLine - 1; - } - const lineStart = getPositionOfLineAndCharacter(file, i, 0); - const lineEnd = i < lastLineInFile ? getPositionOfLineAndCharacter(file, i + 1, 0) : file.text.length; - let lineContent = file.text.slice(lineStart, lineEnd); - lineContent = lineContent.trimEnd(); - lineContent = lineContent.replace(/\t/g, " "); - context += indent2 + formatColorAndReset((i + 1 + "").padStart(gutterWidth), gutterStyleSequence) + gutterSeparator; - context += lineContent + host.getNewLine(); - context += indent2 + formatColorAndReset("".padStart(gutterWidth), gutterStyleSequence) + gutterSeparator; - context += squiggleColor; - if (i === firstLine) { - const lastCharForLine = i === lastLine ? lastLineChar : void 0; - context += lineContent.slice(0, firstLineChar).replace(/\S/g, " "); - context += lineContent.slice(firstLineChar, lastCharForLine).replace(/./g, "~"); - } else if (i === lastLine) { - context += lineContent.slice(0, lastLineChar).replace(/./g, "~"); - } else { - context += lineContent.replace(/./g, "~"); - } - context += resetEscapeSequence; - } - return context; -} -function formatLocation(file, start, host, color = formatColorAndReset) { - const { line: firstLine, character: firstLineChar } = getLineAndCharacterOfPosition(file, start); - const relativeFileName = host ? convertToRelativePath(file.fileName, host.getCurrentDirectory(), (fileName) => host.getCanonicalFileName(fileName)) : file.fileName; - let output = ""; - output += color(relativeFileName, "\x1B[96m" /* Cyan */); - output += ":"; - output += color(`${firstLine + 1}`, "\x1B[93m" /* Yellow */); - output += ":"; - output += color(`${firstLineChar + 1}`, "\x1B[93m" /* Yellow */); - return output; -} -function formatDiagnosticsWithColorAndContext(diagnostics, host) { - let output = ""; - for (const diagnostic of diagnostics) { - if (diagnostic.file) { - const { file, start } = diagnostic; - output += formatLocation(file, start, host); - output += " - "; - } - output += formatColorAndReset(diagnosticCategoryName(diagnostic), getCategoryFormat(diagnostic.category)); - output += formatColorAndReset(` TS${diagnostic.code}: `, "\x1B[90m" /* Grey */); - output += flattenDiagnosticMessageText(diagnostic.messageText, host.getNewLine()); - if (diagnostic.file && diagnostic.code !== Diagnostics.File_appears_to_be_binary.code) { - output += host.getNewLine(); - output += formatCodeSpan(diagnostic.file, diagnostic.start, diagnostic.length, "", getCategoryFormat(diagnostic.category), host); - } - if (diagnostic.relatedInformation) { - output += host.getNewLine(); - for (const { file, start, length: length2, messageText } of diagnostic.relatedInformation) { - if (file) { - output += host.getNewLine(); - output += halfIndent + formatLocation(file, start, host); - output += formatCodeSpan(file, start, length2, indent, "\x1B[96m" /* Cyan */, host); - } - output += host.getNewLine(); - output += indent + flattenDiagnosticMessageText(messageText, host.getNewLine()); - } - } - output += host.getNewLine(); - } - return output; -} -function flattenDiagnosticMessageText(diag2, newLine, indent2 = 0) { - if (isString(diag2)) { - return diag2; - } else if (diag2 === void 0) { - return ""; - } - let result = ""; - if (indent2) { - result += newLine; - for (let i = 0; i < indent2; i++) { - result += " "; - } - } - result += diag2.messageText; - indent2++; - if (diag2.next) { - for (const kid of diag2.next) { - result += flattenDiagnosticMessageText(kid, newLine, indent2); - } - } - return result; -} -function getModeForFileReference(ref, containingFileMode) { - return (isString(ref) ? containingFileMode : ref.resolutionMode) || containingFileMode; -} -function isExclusivelyTypeOnlyImportOrExport(decl) { - var _a; - if (isExportDeclaration(decl)) { - return decl.isTypeOnly; - } - if ((_a = decl.importClause) == null ? void 0 : _a.isTypeOnly) { - return true; - } - return false; -} -function getModeForUsageLocation(file, usage, compilerOptions) { - return getModeForUsageLocationWorker(file, usage, compilerOptions); -} -function getModeForUsageLocationWorker(file, usage, compilerOptions) { - if (isImportDeclaration(usage.parent) || isExportDeclaration(usage.parent) || isJSDocImportTag(usage.parent)) { - const isTypeOnly = isExclusivelyTypeOnlyImportOrExport(usage.parent); - if (isTypeOnly) { - const override = getResolutionModeOverride(usage.parent.attributes); - if (override) { - return override; - } - } - } - if (usage.parent.parent && isImportTypeNode(usage.parent.parent)) { - const override = getResolutionModeOverride(usage.parent.parent.attributes); - if (override) { - return override; - } - } - if (compilerOptions && importSyntaxAffectsModuleResolution(compilerOptions)) { - return getEmitSyntaxForUsageLocationWorker(file, usage, compilerOptions); - } -} -function getEmitSyntaxForUsageLocationWorker(file, usage, compilerOptions) { - var _a; - if (!compilerOptions) { - return void 0; - } - const exprParentParent = (_a = walkUpParenthesizedExpressions(usage.parent)) == null ? void 0 : _a.parent; - if (exprParentParent && isImportEqualsDeclaration(exprParentParent) || isRequireCall( - usage.parent, - /*requireStringLiteralLikeArgument*/ - false - )) { - return 1 /* CommonJS */; - } - if (isImportCall(walkUpParenthesizedExpressions(usage.parent))) { - return shouldTransformImportCallWorker(file, compilerOptions) ? 1 /* CommonJS */ : 99 /* ESNext */; - } - const fileEmitMode = getEmitModuleFormatOfFileWorker(file, compilerOptions); - return fileEmitMode === 1 /* CommonJS */ ? 1 /* CommonJS */ : emitModuleKindIsNonNodeESM(fileEmitMode) || fileEmitMode === 200 /* Preserve */ ? 99 /* ESNext */ : void 0; -} -function getResolutionModeOverride(node, grammarErrorOnNode) { - if (!node) return void 0; - if (length(node.elements) !== 1) { - grammarErrorOnNode == null ? void 0 : grammarErrorOnNode( - node, - node.token === 118 /* WithKeyword */ ? Diagnostics.Type_import_attributes_should_have_exactly_one_key_resolution_mode_with_value_import_or_require : Diagnostics.Type_import_assertions_should_have_exactly_one_key_resolution_mode_with_value_import_or_require - ); - return void 0; - } - const elem = node.elements[0]; - if (!isStringLiteralLike(elem.name)) return void 0; - if (elem.name.text !== "resolution-mode") { - grammarErrorOnNode == null ? void 0 : grammarErrorOnNode( - elem.name, - node.token === 118 /* WithKeyword */ ? Diagnostics.resolution_mode_is_the_only_valid_key_for_type_import_attributes : Diagnostics.resolution_mode_is_the_only_valid_key_for_type_import_assertions - ); - return void 0; - } - if (!isStringLiteralLike(elem.value)) return void 0; - if (elem.value.text !== "import" && elem.value.text !== "require") { - grammarErrorOnNode == null ? void 0 : grammarErrorOnNode(elem.value, Diagnostics.resolution_mode_should_be_either_require_or_import); - return void 0; - } - return elem.value.text === "import" ? 99 /* ESNext */ : 1 /* CommonJS */; -} -var emptyResolution = { - resolvedModule: void 0, - resolvedTypeReferenceDirective: void 0 -}; -function getModuleResolutionName(literal) { - return literal.text; -} -var moduleResolutionNameAndModeGetter = { - getName: getModuleResolutionName, - getMode: (entry, file, compilerOptions) => getModeForUsageLocation(file, entry, compilerOptions) -}; -function createModuleResolutionLoader(containingFile, redirectedReference, options, host, cache) { - return { - nameAndMode: moduleResolutionNameAndModeGetter, - resolve: (moduleName, resolutionMode) => resolveModuleName( - moduleName, - containingFile, - options, - host, - cache, - redirectedReference, - resolutionMode - ) - }; -} -function getTypeReferenceResolutionName(entry) { - return !isString(entry) ? entry.fileName : entry; -} -var typeReferenceResolutionNameAndModeGetter = { - getName: getTypeReferenceResolutionName, - getMode: (entry, file, compilerOptions) => getModeForFileReference(entry, file && getDefaultResolutionModeForFileWorker(file, compilerOptions)) -}; -function createTypeReferenceResolutionLoader(containingFile, redirectedReference, options, host, cache) { - return { - nameAndMode: typeReferenceResolutionNameAndModeGetter, - resolve: (typeRef, resoluionMode) => resolveTypeReferenceDirective( - typeRef, - containingFile, - options, - host, - redirectedReference, - cache, - resoluionMode - ) - }; -} -function loadWithModeAwareCache(entries, containingFile, redirectedReference, options, containingSourceFile, host, resolutionCache, createLoader) { - if (entries.length === 0) return emptyArray; - const resolutions = []; - const cache = /* @__PURE__ */ new Map(); - const loader = createLoader(containingFile, redirectedReference, options, host, resolutionCache); - for (const entry of entries) { - const name = loader.nameAndMode.getName(entry); - const mode = loader.nameAndMode.getMode(entry, containingSourceFile, (redirectedReference == null ? void 0 : redirectedReference.commandLine.options) || options); - const key = createModeAwareCacheKey(name, mode); - let result = cache.get(key); - if (!result) { - cache.set(key, result = loader.resolve(name, mode)); - } - resolutions.push(result); - } - return resolutions; -} -function forEachResolvedProjectReference(resolvedProjectReferences, cb) { - return forEachProjectReference( - /*projectReferences*/ - void 0, - resolvedProjectReferences, - (resolvedRef, parent) => resolvedRef && cb(resolvedRef, parent) - ); -} -function forEachProjectReference(projectReferences, resolvedProjectReferences, cbResolvedRef, cbRef) { - let seenResolvedRefs; - return worker( - projectReferences, - resolvedProjectReferences, - /*parent*/ - void 0 - ); - function worker(projectReferences2, resolvedProjectReferences2, parent) { - if (cbRef) { - const result = cbRef(projectReferences2, parent); - if (result) return result; - } - return forEach(resolvedProjectReferences2, (resolvedRef, index) => { - if (resolvedRef && (seenResolvedRefs == null ? void 0 : seenResolvedRefs.has(resolvedRef.sourceFile.path))) { - return void 0; - } - const result = cbResolvedRef(resolvedRef, parent, index); - if (result || !resolvedRef) return result; - (seenResolvedRefs || (seenResolvedRefs = /* @__PURE__ */ new Set())).add(resolvedRef.sourceFile.path); - return worker(resolvedRef.commandLine.projectReferences, resolvedRef.references, resolvedRef); - }); - } -} -var inferredTypesContainingFile = "__inferred type names__.ts"; -function getInferredLibraryNameResolveFrom(options, currentDirectory, libFileName) { - const containingDirectory = options.configFilePath ? getDirectoryPath(options.configFilePath) : currentDirectory; - return combinePaths(containingDirectory, `__lib_node_modules_lookup_${libFileName}__.ts`); -} -function getLibraryNameFromLibFileName(libFileName) { - const components = libFileName.split("."); - let path = components[1]; - let i = 2; - while (components[i] && components[i] !== "d") { - path += (i === 2 ? "/" : "-") + components[i]; - i++; - } - return "@typescript/lib-" + path; -} -function getLibNameFromLibReference(libReference) { - return toFileNameLowerCase(libReference.fileName); -} -function getLibFileNameFromLibReference(libReference) { - const libName = getLibNameFromLibReference(libReference); - return libMap.get(libName); -} -function isReferencedFile(reason) { - switch (reason == null ? void 0 : reason.kind) { - case 3 /* Import */: - case 4 /* ReferenceFile */: - case 5 /* TypeReferenceDirective */: - case 7 /* LibReferenceDirective */: - return true; - default: - return false; - } -} -function isReferenceFileLocation(location) { - return location.pos !== void 0; -} -function getReferencedFileLocation(program, ref) { - var _a, _b, _c, _d; - const file = Debug.checkDefined(program.getSourceFileByPath(ref.file)); - const { kind, index } = ref; - let pos, end, packageId; - switch (kind) { - case 3 /* Import */: - const importLiteral = getModuleNameStringLiteralAt(file, index); - packageId = (_b = (_a = program.getResolvedModuleFromModuleSpecifier(importLiteral, file)) == null ? void 0 : _a.resolvedModule) == null ? void 0 : _b.packageId; - if (importLiteral.pos === -1) return { file, packageId, text: importLiteral.text }; - pos = skipTrivia(file.text, importLiteral.pos); - end = importLiteral.end; - break; - case 4 /* ReferenceFile */: - ({ pos, end } = file.referencedFiles[index]); - break; - case 5 /* TypeReferenceDirective */: - ({ pos, end } = file.typeReferenceDirectives[index]); - packageId = (_d = (_c = program.getResolvedTypeReferenceDirectiveFromTypeReferenceDirective(file.typeReferenceDirectives[index], file)) == null ? void 0 : _c.resolvedTypeReferenceDirective) == null ? void 0 : _d.packageId; - break; - case 7 /* LibReferenceDirective */: - ({ pos, end } = file.libReferenceDirectives[index]); - break; - default: - return Debug.assertNever(kind); - } - return { file, pos, end, packageId }; -} -function isProgramUptoDate(program, rootFileNames, newOptions, getSourceVersion, fileExists, hasInvalidatedResolutions, hasInvalidatedLibResolutions, hasChangedAutomaticTypeDirectiveNames, getParsedCommandLine, projectReferences) { - if (!program || (hasChangedAutomaticTypeDirectiveNames == null ? void 0 : hasChangedAutomaticTypeDirectiveNames())) return false; - if (!arrayIsEqualTo(program.getRootFileNames(), rootFileNames)) return false; - let seenResolvedRefs; - if (!arrayIsEqualTo(program.getProjectReferences(), projectReferences, projectReferenceUptoDate)) return false; - if (program.getSourceFiles().some(sourceFileNotUptoDate)) return false; - const missingPaths = program.getMissingFilePaths(); - if (missingPaths && forEachEntry(missingPaths, fileExists)) return false; - const currentOptions = program.getCompilerOptions(); - if (!compareDataObjects(currentOptions, newOptions)) return false; - if (program.resolvedLibReferences && forEachEntry(program.resolvedLibReferences, (_value, libFileName) => hasInvalidatedLibResolutions(libFileName))) return false; - if (currentOptions.configFile && newOptions.configFile) return currentOptions.configFile.text === newOptions.configFile.text; - return true; - function sourceFileNotUptoDate(sourceFile) { - return !sourceFileVersionUptoDate(sourceFile) || hasInvalidatedResolutions(sourceFile.path); - } - function sourceFileVersionUptoDate(sourceFile) { - return sourceFile.version === getSourceVersion(sourceFile.resolvedPath, sourceFile.fileName); - } - function projectReferenceUptoDate(oldRef, newRef, index) { - return projectReferenceIsEqualTo(oldRef, newRef) && resolvedProjectReferenceUptoDate(program.getResolvedProjectReferences()[index], oldRef); - } - function resolvedProjectReferenceUptoDate(oldResolvedRef, oldRef) { - if (oldResolvedRef) { - if (contains(seenResolvedRefs, oldResolvedRef)) return true; - const refPath2 = resolveProjectReferencePath(oldRef); - const newParsedCommandLine = getParsedCommandLine(refPath2); - if (!newParsedCommandLine) return false; - if (oldResolvedRef.commandLine.options.configFile !== newParsedCommandLine.options.configFile) return false; - if (!arrayIsEqualTo(oldResolvedRef.commandLine.fileNames, newParsedCommandLine.fileNames)) return false; - (seenResolvedRefs || (seenResolvedRefs = [])).push(oldResolvedRef); - return !forEach(oldResolvedRef.references, (childResolvedRef, index) => !resolvedProjectReferenceUptoDate(childResolvedRef, oldResolvedRef.commandLine.projectReferences[index])); - } - const refPath = resolveProjectReferencePath(oldRef); - return !getParsedCommandLine(refPath); - } -} -function getConfigFileParsingDiagnostics(configFileParseResult) { - return configFileParseResult.options.configFile ? [...configFileParseResult.options.configFile.parseDiagnostics, ...configFileParseResult.errors] : configFileParseResult.errors; -} -function getImpliedNodeFormatForFileWorker(fileName, packageJsonInfoCache, host, options) { - const moduleResolution = getEmitModuleResolutionKind(options); - const shouldLookupFromPackageJson = 3 /* Node16 */ <= moduleResolution && moduleResolution <= 99 /* NodeNext */ || pathContainsNodeModules(fileName); - return fileExtensionIsOneOf(fileName, [".d.mts" /* Dmts */, ".mts" /* Mts */, ".mjs" /* Mjs */]) ? 99 /* ESNext */ : fileExtensionIsOneOf(fileName, [".d.cts" /* Dcts */, ".cts" /* Cts */, ".cjs" /* Cjs */]) ? 1 /* CommonJS */ : shouldLookupFromPackageJson && fileExtensionIsOneOf(fileName, [".d.ts" /* Dts */, ".ts" /* Ts */, ".tsx" /* Tsx */, ".js" /* Js */, ".jsx" /* Jsx */]) ? lookupFromPackageJson() : void 0; - function lookupFromPackageJson() { - const state = getTemporaryModuleResolutionState(packageJsonInfoCache, host, options); - const packageJsonLocations = []; - state.failedLookupLocations = packageJsonLocations; - state.affectingLocations = packageJsonLocations; - const packageJsonScope = getPackageScopeForPath(getDirectoryPath(fileName), state); - const impliedNodeFormat = (packageJsonScope == null ? void 0 : packageJsonScope.contents.packageJsonContent.type) === "module" ? 99 /* ESNext */ : 1 /* CommonJS */; - return { impliedNodeFormat, packageJsonLocations, packageJsonScope }; - } -} -var plainJSErrors = /* @__PURE__ */ new Set([ - // binder errors - Diagnostics.Cannot_redeclare_block_scoped_variable_0.code, - Diagnostics.A_module_cannot_have_multiple_default_exports.code, - Diagnostics.Another_export_default_is_here.code, - Diagnostics.The_first_export_default_is_here.code, - Diagnostics.Identifier_expected_0_is_a_reserved_word_at_the_top_level_of_a_module.code, - Diagnostics.Identifier_expected_0_is_a_reserved_word_in_strict_mode_Modules_are_automatically_in_strict_mode.code, - Diagnostics.Identifier_expected_0_is_a_reserved_word_that_cannot_be_used_here.code, - Diagnostics.constructor_is_a_reserved_word.code, - Diagnostics.delete_cannot_be_called_on_an_identifier_in_strict_mode.code, - Diagnostics.Code_contained_in_a_class_is_evaluated_in_JavaScript_s_strict_mode_which_does_not_allow_this_use_of_0_For_more_information_see_https_Colon_Slash_Slashdeveloper_mozilla_org_Slashen_US_Slashdocs_SlashWeb_SlashJavaScript_SlashReference_SlashStrict_mode.code, - Diagnostics.Invalid_use_of_0_Modules_are_automatically_in_strict_mode.code, - Diagnostics.Invalid_use_of_0_in_strict_mode.code, - Diagnostics.A_label_is_not_allowed_here.code, - Diagnostics.with_statements_are_not_allowed_in_strict_mode.code, - // grammar errors - Diagnostics.A_break_statement_can_only_be_used_within_an_enclosing_iteration_or_switch_statement.code, - Diagnostics.A_break_statement_can_only_jump_to_a_label_of_an_enclosing_statement.code, - Diagnostics.A_class_declaration_without_the_default_modifier_must_have_a_name.code, - Diagnostics.A_class_member_cannot_have_the_0_keyword.code, - Diagnostics.A_comma_expression_is_not_allowed_in_a_computed_property_name.code, - Diagnostics.A_continue_statement_can_only_be_used_within_an_enclosing_iteration_statement.code, - Diagnostics.A_continue_statement_can_only_jump_to_a_label_of_an_enclosing_iteration_statement.code, - Diagnostics.A_continue_statement_can_only_jump_to_a_label_of_an_enclosing_iteration_statement.code, - Diagnostics.A_default_clause_cannot_appear_more_than_once_in_a_switch_statement.code, - Diagnostics.A_default_export_must_be_at_the_top_level_of_a_file_or_module_declaration.code, - Diagnostics.A_definite_assignment_assertion_is_not_permitted_in_this_context.code, - Diagnostics.A_destructuring_declaration_must_have_an_initializer.code, - Diagnostics.A_get_accessor_cannot_have_parameters.code, - Diagnostics.A_rest_element_cannot_contain_a_binding_pattern.code, - Diagnostics.A_rest_element_cannot_have_a_property_name.code, - Diagnostics.A_rest_element_cannot_have_an_initializer.code, - Diagnostics.A_rest_element_must_be_last_in_a_destructuring_pattern.code, - Diagnostics.A_rest_parameter_cannot_have_an_initializer.code, - Diagnostics.A_rest_parameter_must_be_last_in_a_parameter_list.code, - Diagnostics.A_rest_parameter_or_binding_pattern_may_not_have_a_trailing_comma.code, - Diagnostics.A_return_statement_cannot_be_used_inside_a_class_static_block.code, - Diagnostics.A_set_accessor_cannot_have_rest_parameter.code, - Diagnostics.A_set_accessor_must_have_exactly_one_parameter.code, - Diagnostics.An_export_declaration_can_only_be_used_at_the_top_level_of_a_module.code, - Diagnostics.An_export_declaration_cannot_have_modifiers.code, - Diagnostics.An_import_declaration_can_only_be_used_at_the_top_level_of_a_module.code, - Diagnostics.An_import_declaration_cannot_have_modifiers.code, - Diagnostics.An_object_member_cannot_be_declared_optional.code, - Diagnostics.Argument_of_dynamic_import_cannot_be_spread_element.code, - Diagnostics.Cannot_assign_to_private_method_0_Private_methods_are_not_writable.code, - Diagnostics.Cannot_redeclare_identifier_0_in_catch_clause.code, - Diagnostics.Catch_clause_variable_cannot_have_an_initializer.code, - Diagnostics.Class_decorators_can_t_be_used_with_static_private_identifier_Consider_removing_the_experimental_decorator.code, - Diagnostics.Classes_can_only_extend_a_single_class.code, - Diagnostics.Classes_may_not_have_a_field_named_constructor.code, - 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, - Diagnostics.Duplicate_label_0.code, - Diagnostics.Dynamic_imports_can_only_accept_a_module_specifier_and_an_optional_set_of_attributes_as_arguments.code, - Diagnostics.for_await_loops_cannot_be_used_inside_a_class_static_block.code, - Diagnostics.JSX_attributes_must_only_be_assigned_a_non_empty_expression.code, - Diagnostics.JSX_elements_cannot_have_multiple_attributes_with_the_same_name.code, - Diagnostics.JSX_expressions_may_not_use_the_comma_operator_Did_you_mean_to_write_an_array.code, - Diagnostics.JSX_property_access_expressions_cannot_include_JSX_namespace_names.code, - Diagnostics.Jump_target_cannot_cross_function_boundary.code, - Diagnostics.Line_terminator_not_permitted_before_arrow.code, - Diagnostics.Modifiers_cannot_appear_here.code, - Diagnostics.Only_a_single_variable_declaration_is_allowed_in_a_for_in_statement.code, - Diagnostics.Only_a_single_variable_declaration_is_allowed_in_a_for_of_statement.code, - Diagnostics.Private_identifiers_are_not_allowed_outside_class_bodies.code, - 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, - Diagnostics.Property_0_is_not_accessible_outside_class_1_because_it_has_a_private_identifier.code, - Diagnostics.Tagged_template_expressions_are_not_permitted_in_an_optional_chain.code, - Diagnostics.The_left_hand_side_of_a_for_of_statement_may_not_be_async.code, - Diagnostics.The_variable_declaration_of_a_for_in_statement_cannot_have_an_initializer.code, - Diagnostics.The_variable_declaration_of_a_for_of_statement_cannot_have_an_initializer.code, - Diagnostics.Trailing_comma_not_allowed.code, - Diagnostics.Variable_declaration_list_cannot_be_empty.code, - Diagnostics._0_and_1_operations_cannot_be_mixed_without_parentheses.code, - Diagnostics._0_expected.code, - Diagnostics._0_is_not_a_valid_meta_property_for_keyword_1_Did_you_mean_2.code, - Diagnostics._0_list_cannot_be_empty.code, - Diagnostics._0_modifier_already_seen.code, - Diagnostics._0_modifier_cannot_appear_on_a_constructor_declaration.code, - Diagnostics._0_modifier_cannot_appear_on_a_module_or_namespace_element.code, - Diagnostics._0_modifier_cannot_appear_on_a_parameter.code, - Diagnostics._0_modifier_cannot_appear_on_class_elements_of_this_kind.code, - Diagnostics._0_modifier_cannot_be_used_here.code, - Diagnostics._0_modifier_must_precede_1_modifier.code, - Diagnostics._0_declarations_can_only_be_declared_inside_a_block.code, - Diagnostics._0_declarations_must_be_initialized.code, - Diagnostics.extends_clause_already_seen.code, - Diagnostics.let_is_not_allowed_to_be_used_as_a_name_in_let_or_const_declarations.code, - Diagnostics.Class_constructor_may_not_be_a_generator.code, - Diagnostics.Class_constructor_may_not_be_an_accessor.code, - Diagnostics.await_expressions_are_only_allowed_within_async_functions_and_at_the_top_levels_of_modules.code, - Diagnostics.await_using_statements_are_only_allowed_within_async_functions_and_at_the_top_levels_of_modules.code, - Diagnostics.Private_field_0_must_be_declared_in_an_enclosing_class.code, - // Type errors - Diagnostics.This_condition_will_always_return_0_since_JavaScript_compares_objects_by_reference_not_value.code -]); -function shouldProgramCreateNewSourceFiles(program, newOptions) { - if (!program) return false; - return optionsHaveChanges(program.getCompilerOptions(), newOptions, sourceFileAffectingCompilerOptions); -} -function createCreateProgramOptions(rootNames, options, host, oldProgram, configFileParsingDiagnostics, typeScriptVersion2) { - return { - rootNames, - options, - host, - oldProgram, - configFileParsingDiagnostics, - typeScriptVersion: typeScriptVersion2 - }; -} -function createProgram(rootNamesOrOptions, _options, _host, _oldProgram, _configFileParsingDiagnostics) { - var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m, _n, _o, _p; - const createProgramOptions = isArray(rootNamesOrOptions) ? createCreateProgramOptions(rootNamesOrOptions, _options, _host, _oldProgram, _configFileParsingDiagnostics) : rootNamesOrOptions; - const { rootNames, options, configFileParsingDiagnostics, projectReferences, typeScriptVersion: typeScriptVersion2 } = createProgramOptions; - let { oldProgram } = createProgramOptions; - for (const option of commandLineOptionOfCustomType) { - if (hasProperty(options, option.name)) { - if (typeof options[option.name] === "string") { - throw new Error(`${option.name} is a string value; tsconfig JSON must be parsed with parseJsonSourceFileConfigFileContent or getParsedCommandLineOfConfigFile before passing to createProgram`); - } - } - } - const reportInvalidIgnoreDeprecations = memoize(() => createOptionValueDiagnostic("ignoreDeprecations", Diagnostics.Invalid_value_for_ignoreDeprecations)); - let processingDefaultLibFiles; - let processingOtherFiles; - let files; - let symlinks; - let commonSourceDirectory; - let typeChecker; - let classifiableNames; - let fileReasons = createMultiMap(); - let filesWithReferencesProcessed; - let fileReasonsToChain; - let reasonToRelatedInfo; - let cachedBindAndCheckDiagnosticsForFile; - let cachedDeclarationDiagnosticsForFile; - let fileProcessingDiagnostics; - let automaticTypeDirectiveNames; - let automaticTypeDirectiveResolutions; - let resolvedLibReferences; - let resolvedLibProcessing; - let resolvedModules; - let resolvedModulesProcessing; - let resolvedTypeReferenceDirectiveNames; - let resolvedTypeReferenceDirectiveNamesProcessing; - let packageMap; - const maxNodeModuleJsDepth = typeof options.maxNodeModuleJsDepth === "number" ? options.maxNodeModuleJsDepth : 0; - let currentNodeModulesDepth = 0; - const modulesWithElidedImports = /* @__PURE__ */ new Map(); - const sourceFilesFoundSearchingNodeModules = /* @__PURE__ */ new Map(); - (_a = tracing) == null ? void 0 : _a.push( - tracing.Phase.Program, - "createProgram", - { configFilePath: options.configFilePath, rootDir: options.rootDir }, - /*separateBeginAndEnd*/ - true - ); - mark("beforeProgram"); - const host = createProgramOptions.host || createCompilerHost(options); - const configParsingHost = parseConfigHostFromCompilerHostLike(host); - let skipDefaultLib = options.noLib; - const getDefaultLibraryFileName = memoize(() => host.getDefaultLibFileName(options)); - const defaultLibraryPath = host.getDefaultLibLocation ? host.getDefaultLibLocation() : getDirectoryPath(getDefaultLibraryFileName()); - const programDiagnostics = createDiagnosticCollection(); - let lazyProgramDiagnosticExplainingFile = []; - const currentDirectory = host.getCurrentDirectory(); - const supportedExtensions = getSupportedExtensions(options); - const supportedExtensionsWithJsonIfResolveJsonModule = getSupportedExtensionsWithJsonIfResolveJsonModule(options, supportedExtensions); - const hasEmitBlockingDiagnostics = /* @__PURE__ */ new Map(); - let _compilerOptionsObjectLiteralSyntax; - let _compilerOptionsPropertySyntax; - let moduleResolutionCache; - let actualResolveModuleNamesWorker; - const hasInvalidatedResolutions = host.hasInvalidatedResolutions || returnFalse; - if (host.resolveModuleNameLiterals) { - actualResolveModuleNamesWorker = host.resolveModuleNameLiterals.bind(host); - moduleResolutionCache = (_b = host.getModuleResolutionCache) == null ? void 0 : _b.call(host); - } else if (host.resolveModuleNames) { - actualResolveModuleNamesWorker = (moduleNames, containingFile, redirectedReference, options2, containingSourceFile, reusedNames) => host.resolveModuleNames( - moduleNames.map(getModuleResolutionName), - containingFile, - reusedNames == null ? void 0 : reusedNames.map(getModuleResolutionName), - redirectedReference, - options2, - containingSourceFile - ).map( - (resolved) => resolved ? resolved.extension !== void 0 ? { resolvedModule: resolved } : ( - // An older host may have omitted extension, in which case we should infer it from the file extension of resolvedFileName. - { resolvedModule: { ...resolved, extension: extensionFromPath(resolved.resolvedFileName) } } - ) : emptyResolution - ); - moduleResolutionCache = (_c = host.getModuleResolutionCache) == null ? void 0 : _c.call(host); - } else { - moduleResolutionCache = createModuleResolutionCache(currentDirectory, getCanonicalFileName, options); - actualResolveModuleNamesWorker = (moduleNames, containingFile, redirectedReference, options2, containingSourceFile) => loadWithModeAwareCache( - moduleNames, - containingFile, - redirectedReference, - options2, - containingSourceFile, - host, - moduleResolutionCache, - createModuleResolutionLoader - ); - } - let actualResolveTypeReferenceDirectiveNamesWorker; - if (host.resolveTypeReferenceDirectiveReferences) { - actualResolveTypeReferenceDirectiveNamesWorker = host.resolveTypeReferenceDirectiveReferences.bind(host); - } else if (host.resolveTypeReferenceDirectives) { - actualResolveTypeReferenceDirectiveNamesWorker = (typeDirectiveNames, containingFile, redirectedReference, options2, containingSourceFile) => host.resolveTypeReferenceDirectives( - typeDirectiveNames.map(getTypeReferenceResolutionName), - containingFile, - redirectedReference, - options2, - containingSourceFile == null ? void 0 : containingSourceFile.impliedNodeFormat - ).map((resolvedTypeReferenceDirective) => ({ resolvedTypeReferenceDirective })); - } else { - const typeReferenceDirectiveResolutionCache = createTypeReferenceDirectiveResolutionCache( - currentDirectory, - getCanonicalFileName, - /*options*/ - void 0, - moduleResolutionCache == null ? void 0 : moduleResolutionCache.getPackageJsonInfoCache(), - moduleResolutionCache == null ? void 0 : moduleResolutionCache.optionsToRedirectsKey - ); - actualResolveTypeReferenceDirectiveNamesWorker = (typeDirectiveNames, containingFile, redirectedReference, options2, containingSourceFile) => loadWithModeAwareCache( - typeDirectiveNames, - containingFile, - redirectedReference, - options2, - containingSourceFile, - host, - typeReferenceDirectiveResolutionCache, - createTypeReferenceResolutionLoader - ); - } - const hasInvalidatedLibResolutions = host.hasInvalidatedLibResolutions || returnFalse; - let actualResolveLibrary; - if (host.resolveLibrary) { - actualResolveLibrary = host.resolveLibrary.bind(host); - } else { - const libraryResolutionCache = createModuleResolutionCache(currentDirectory, getCanonicalFileName, options, moduleResolutionCache == null ? void 0 : moduleResolutionCache.getPackageJsonInfoCache()); - actualResolveLibrary = (libraryName, resolveFrom, options2) => resolveLibrary(libraryName, resolveFrom, options2, host, libraryResolutionCache); - } - const packageIdToSourceFile = /* @__PURE__ */ new Map(); - let sourceFileToPackageName = /* @__PURE__ */ new Map(); - let redirectTargetsMap = createMultiMap(); - let usesUriStyleNodeCoreModules = false; - const filesByName = /* @__PURE__ */ new Map(); - let missingFileNames = /* @__PURE__ */ new Map(); - const filesByNameIgnoreCase = host.useCaseSensitiveFileNames() ? /* @__PURE__ */ new Map() : void 0; - let resolvedProjectReferences; - let projectReferenceRedirects; - let mapFromFileToProjectReferenceRedirects; - let mapFromToProjectReferenceRedirectSource; - const useSourceOfProjectReferenceRedirect = !!((_d = host.useSourceOfProjectReferenceRedirect) == null ? void 0 : _d.call(host)) && !options.disableSourceOfProjectReferenceRedirect; - const { onProgramCreateComplete, fileExists, directoryExists } = updateHostForUseSourceOfProjectReferenceRedirect({ - compilerHost: host, - getSymlinkCache, - useSourceOfProjectReferenceRedirect, - toPath: toPath3, - getResolvedProjectReferences, - getSourceOfProjectReferenceRedirect, - forEachResolvedProjectReference: forEachResolvedProjectReference2 - }); - const readFile = host.readFile.bind(host); - (_e = tracing) == null ? void 0 : _e.push(tracing.Phase.Program, "shouldProgramCreateNewSourceFiles", { hasOldProgram: !!oldProgram }); - const shouldCreateNewSourceFile = shouldProgramCreateNewSourceFiles(oldProgram, options); - (_f = tracing) == null ? void 0 : _f.pop(); - let structureIsReused; - (_g = tracing) == null ? void 0 : _g.push(tracing.Phase.Program, "tryReuseStructureFromOldProgram", {}); - structureIsReused = tryReuseStructureFromOldProgram(); - (_h = tracing) == null ? void 0 : _h.pop(); - if (structureIsReused !== 2 /* Completely */) { - processingDefaultLibFiles = []; - processingOtherFiles = []; - if (projectReferences) { - if (!resolvedProjectReferences) { - resolvedProjectReferences = projectReferences.map(parseProjectReferenceConfigFile); - } - if (rootNames.length) { - resolvedProjectReferences == null ? void 0 : resolvedProjectReferences.forEach((parsedRef, index) => { - if (!parsedRef) return; - const out = parsedRef.commandLine.options.outFile; - if (useSourceOfProjectReferenceRedirect) { - if (out || getEmitModuleKind(parsedRef.commandLine.options) === 0 /* None */) { - for (const fileName of parsedRef.commandLine.fileNames) { - processProjectReferenceFile(fileName, { kind: 1 /* SourceFromProjectReference */, index }); - } - } - } else { - if (out) { - processProjectReferenceFile(changeExtension(out, ".d.ts"), { kind: 2 /* OutputFromProjectReference */, index }); - } else if (getEmitModuleKind(parsedRef.commandLine.options) === 0 /* None */) { - const getCommonSourceDirectory3 = memoize(() => getCommonSourceDirectoryOfConfig(parsedRef.commandLine, !host.useCaseSensitiveFileNames())); - for (const fileName of parsedRef.commandLine.fileNames) { - if (!isDeclarationFileName(fileName) && !fileExtensionIs(fileName, ".json" /* Json */)) { - processProjectReferenceFile(getOutputDeclarationFileName(fileName, parsedRef.commandLine, !host.useCaseSensitiveFileNames(), getCommonSourceDirectory3), { kind: 2 /* OutputFromProjectReference */, index }); - } - } - } - } - }); - } - } - (_i = tracing) == null ? void 0 : _i.push(tracing.Phase.Program, "processRootFiles", { count: rootNames.length }); - forEach(rootNames, (name, index) => processRootFile( - name, - /*isDefaultLib*/ - false, - /*ignoreNoDefaultLib*/ - false, - { kind: 0 /* RootFile */, index } - )); - (_j = tracing) == null ? void 0 : _j.pop(); - automaticTypeDirectiveNames ?? (automaticTypeDirectiveNames = rootNames.length ? getAutomaticTypeDirectiveNames(options, host) : emptyArray); - automaticTypeDirectiveResolutions = createModeAwareCache(); - if (automaticTypeDirectiveNames.length) { - (_k = tracing) == null ? void 0 : _k.push(tracing.Phase.Program, "processTypeReferences", { count: automaticTypeDirectiveNames.length }); - const containingDirectory = options.configFilePath ? getDirectoryPath(options.configFilePath) : currentDirectory; - const containingFilename = combinePaths(containingDirectory, inferredTypesContainingFile); - const resolutions = resolveTypeReferenceDirectiveNamesReusingOldState(automaticTypeDirectiveNames, containingFilename); - for (let i = 0; i < automaticTypeDirectiveNames.length; i++) { - automaticTypeDirectiveResolutions.set( - automaticTypeDirectiveNames[i], - /*mode*/ - void 0, - resolutions[i] - ); - processTypeReferenceDirective( - automaticTypeDirectiveNames[i], - /*mode*/ - void 0, - resolutions[i], - { - kind: 8 /* AutomaticTypeDirectiveFile */, - typeReference: automaticTypeDirectiveNames[i], - packageId: (_m = (_l = resolutions[i]) == null ? void 0 : _l.resolvedTypeReferenceDirective) == null ? void 0 : _m.packageId - } - ); - } - (_n = tracing) == null ? void 0 : _n.pop(); - } - if (rootNames.length && !skipDefaultLib) { - const defaultLibraryFileName = getDefaultLibraryFileName(); - if (!options.lib && defaultLibraryFileName) { - processRootFile( - defaultLibraryFileName, - /*isDefaultLib*/ - true, - /*ignoreNoDefaultLib*/ - false, - { kind: 6 /* LibFile */ } - ); - } else { - forEach(options.lib, (libFileName, index) => { - processRootFile( - pathForLibFile(libFileName), - /*isDefaultLib*/ - true, - /*ignoreNoDefaultLib*/ - false, - { kind: 6 /* LibFile */, index } - ); - }); - } - } - files = toSorted(processingDefaultLibFiles, compareDefaultLibFiles).concat(processingOtherFiles); - processingDefaultLibFiles = void 0; - processingOtherFiles = void 0; - filesWithReferencesProcessed = void 0; - } - if (oldProgram && host.onReleaseOldSourceFile) { - const oldSourceFiles = oldProgram.getSourceFiles(); - for (const oldSourceFile of oldSourceFiles) { - const newFile = getSourceFileByPath(oldSourceFile.resolvedPath); - if (shouldCreateNewSourceFile || !newFile || newFile.impliedNodeFormat !== oldSourceFile.impliedNodeFormat || // old file wasn't redirect but new file is - oldSourceFile.resolvedPath === oldSourceFile.path && newFile.resolvedPath !== oldSourceFile.path) { - host.onReleaseOldSourceFile(oldSourceFile, oldProgram.getCompilerOptions(), !!getSourceFileByPath(oldSourceFile.path), newFile); - } - } - if (!host.getParsedCommandLine) { - oldProgram.forEachResolvedProjectReference((resolvedProjectReference) => { - if (!getResolvedProjectReferenceByPath(resolvedProjectReference.sourceFile.path)) { - host.onReleaseOldSourceFile( - resolvedProjectReference.sourceFile, - oldProgram.getCompilerOptions(), - /*hasSourceFileByPath*/ - false, - /*newSourceFileByResolvedPath*/ - void 0 - ); - } - }); - } - } - if (oldProgram && host.onReleaseParsedCommandLine) { - forEachProjectReference( - oldProgram.getProjectReferences(), - oldProgram.getResolvedProjectReferences(), - (oldResolvedRef, parent, index) => { - const oldReference = (parent == null ? void 0 : parent.commandLine.projectReferences[index]) || oldProgram.getProjectReferences()[index]; - const oldRefPath = resolveProjectReferencePath(oldReference); - if (!(projectReferenceRedirects == null ? void 0 : projectReferenceRedirects.has(toPath3(oldRefPath)))) { - host.onReleaseParsedCommandLine(oldRefPath, oldResolvedRef, oldProgram.getCompilerOptions()); - } - } - ); - } - oldProgram = void 0; - resolvedLibProcessing = void 0; - resolvedModulesProcessing = void 0; - resolvedTypeReferenceDirectiveNamesProcessing = void 0; - const program = { - getRootFileNames: () => rootNames, - getSourceFile, - getSourceFileByPath, - getSourceFiles: () => files, - getMissingFilePaths: () => missingFileNames, - getModuleResolutionCache: () => moduleResolutionCache, - getFilesByNameMap: () => filesByName, - getCompilerOptions: () => options, - getSyntacticDiagnostics, - getOptionsDiagnostics, - getGlobalDiagnostics, - getSemanticDiagnostics, - getCachedSemanticDiagnostics, - getSuggestionDiagnostics, - getDeclarationDiagnostics: getDeclarationDiagnostics2, - getBindAndCheckDiagnostics, - getProgramDiagnostics, - getTypeChecker, - getClassifiableNames, - getCommonSourceDirectory: getCommonSourceDirectory2, - emit, - getCurrentDirectory: () => currentDirectory, - getNodeCount: () => getTypeChecker().getNodeCount(), - getIdentifierCount: () => getTypeChecker().getIdentifierCount(), - getSymbolCount: () => getTypeChecker().getSymbolCount(), - getTypeCount: () => getTypeChecker().getTypeCount(), - getInstantiationCount: () => getTypeChecker().getInstantiationCount(), - getRelationCacheSizes: () => getTypeChecker().getRelationCacheSizes(), - getFileProcessingDiagnostics: () => fileProcessingDiagnostics, - getAutomaticTypeDirectiveNames: () => automaticTypeDirectiveNames, - getAutomaticTypeDirectiveResolutions: () => automaticTypeDirectiveResolutions, - isSourceFileFromExternalLibrary, - isSourceFileDefaultLibrary, - getModeForUsageLocation: getModeForUsageLocation2, - getEmitSyntaxForUsageLocation, - getModeForResolutionAtIndex, - getSourceFileFromReference, - getLibFileFromReference, - sourceFileToPackageName, - redirectTargetsMap, - usesUriStyleNodeCoreModules, - resolvedModules, - resolvedTypeReferenceDirectiveNames, - resolvedLibReferences, - getResolvedModule, - getResolvedModuleFromModuleSpecifier, - getResolvedTypeReferenceDirective, - getResolvedTypeReferenceDirectiveFromTypeReferenceDirective, - forEachResolvedModule, - forEachResolvedTypeReferenceDirective, - getCurrentPackagesMap: () => packageMap, - typesPackageExists, - packageBundlesTypes, - isEmittedFile, - getConfigFileParsingDiagnostics: getConfigFileParsingDiagnostics2, - getProjectReferences, - getResolvedProjectReferences, - getProjectReferenceRedirect, - getResolvedProjectReferenceToRedirect, - getResolvedProjectReferenceByPath, - forEachResolvedProjectReference: forEachResolvedProjectReference2, - isSourceOfProjectReferenceRedirect, - getRedirectReferenceForResolutionFromSourceOfProject, - getCompilerOptionsForFile, - getDefaultResolutionModeForFile: getDefaultResolutionModeForFile2, - getEmitModuleFormatOfFile, - getImpliedNodeFormatForEmit, - shouldTransformImportCall, - emitBuildInfo, - fileExists, - readFile, - directoryExists, - getSymlinkCache, - realpath: (_o = host.realpath) == null ? void 0 : _o.bind(host), - useCaseSensitiveFileNames: () => host.useCaseSensitiveFileNames(), - getCanonicalFileName, - getFileIncludeReasons: () => fileReasons, - structureIsReused, - writeFile: writeFile2 - }; - onProgramCreateComplete(); - verifyCompilerOptions(); - mark("afterProgram"); - measure("Program", "beforeProgram", "afterProgram"); - (_p = tracing) == null ? void 0 : _p.pop(); - return program; - function updateAndGetProgramDiagnostics() { - if (lazyProgramDiagnosticExplainingFile) { - fileProcessingDiagnostics == null ? void 0 : fileProcessingDiagnostics.forEach((diagnostic) => { - switch (diagnostic.kind) { - case 1 /* FilePreprocessingFileExplainingDiagnostic */: - return programDiagnostics.add( - createDiagnosticExplainingFile( - diagnostic.file && getSourceFileByPath(diagnostic.file), - diagnostic.fileProcessingReason, - diagnostic.diagnostic, - diagnostic.args || emptyArray - ) - ); - case 0 /* FilePreprocessingLibReferenceDiagnostic */: - return programDiagnostics.add(filePreprocessingLibreferenceDiagnostic(diagnostic)); - case 2 /* ResolutionDiagnostics */: - return diagnostic.diagnostics.forEach((d) => programDiagnostics.add(d)); - default: - Debug.assertNever(diagnostic); - } - }); - lazyProgramDiagnosticExplainingFile.forEach( - ({ file, diagnostic, args }) => programDiagnostics.add( - createDiagnosticExplainingFile( - file, - /*fileProcessingReason*/ - void 0, - diagnostic, - args - ) - ) - ); - lazyProgramDiagnosticExplainingFile = void 0; - fileReasonsToChain = void 0; - reasonToRelatedInfo = void 0; - } - return programDiagnostics; - } - function filePreprocessingLibreferenceDiagnostic({ reason }) { - const { file, pos, end } = getReferencedFileLocation(program, reason); - const libReference = file.libReferenceDirectives[reason.index]; - const libName = getLibNameFromLibReference(libReference); - const unqualifiedLibName = removeSuffix(removePrefix(libName, "lib."), ".d.ts"); - const suggestion = getSpellingSuggestion(unqualifiedLibName, libs, identity); - return createFileDiagnostic( - file, - Debug.checkDefined(pos), - Debug.checkDefined(end) - pos, - suggestion ? Diagnostics.Cannot_find_lib_definition_for_0_Did_you_mean_1 : Diagnostics.Cannot_find_lib_definition_for_0, - libName, - suggestion - ); - } - function getResolvedModule(file, moduleName, mode) { - var _a2; - return (_a2 = resolvedModules == null ? void 0 : resolvedModules.get(file.path)) == null ? void 0 : _a2.get(moduleName, mode); - } - function getResolvedModuleFromModuleSpecifier(moduleSpecifier, sourceFile) { - sourceFile ?? (sourceFile = getSourceFileOfNode(moduleSpecifier)); - Debug.assertIsDefined(sourceFile, "`moduleSpecifier` must have a `SourceFile` ancestor. Use `program.getResolvedModule` instead to provide the containing file and resolution mode."); - return getResolvedModule(sourceFile, moduleSpecifier.text, getModeForUsageLocation2(sourceFile, moduleSpecifier)); - } - function getResolvedTypeReferenceDirective(file, typeDirectiveName, mode) { - var _a2; - return (_a2 = resolvedTypeReferenceDirectiveNames == null ? void 0 : resolvedTypeReferenceDirectiveNames.get(file.path)) == null ? void 0 : _a2.get(typeDirectiveName, mode); - } - function getResolvedTypeReferenceDirectiveFromTypeReferenceDirective(typeRef, sourceFile) { - return getResolvedTypeReferenceDirective(sourceFile, typeRef.fileName, typeRef.resolutionMode || sourceFile.impliedNodeFormat); - } - function forEachResolvedModule(callback, file) { - forEachResolution(resolvedModules, callback, file); - } - function forEachResolvedTypeReferenceDirective(callback, file) { - forEachResolution(resolvedTypeReferenceDirectiveNames, callback, file); - } - function forEachResolution(resolutionCache, callback, file) { - var _a2; - if (file) (_a2 = resolutionCache == null ? void 0 : resolutionCache.get(file.path)) == null ? void 0 : _a2.forEach((resolution, name, mode) => callback(resolution, name, mode, file.path)); - else resolutionCache == null ? void 0 : resolutionCache.forEach((resolutions, filePath) => resolutions.forEach((resolution, name, mode) => callback(resolution, name, mode, filePath))); - } - function getPackagesMap() { - if (packageMap) return packageMap; - packageMap = /* @__PURE__ */ new Map(); - forEachResolvedModule(({ resolvedModule }) => { - if (resolvedModule == null ? void 0 : resolvedModule.packageId) packageMap.set(resolvedModule.packageId.name, resolvedModule.extension === ".d.ts" /* Dts */ || !!packageMap.get(resolvedModule.packageId.name)); - }); - return packageMap; - } - function typesPackageExists(packageName) { - return getPackagesMap().has(getTypesPackageName(packageName)); - } - function packageBundlesTypes(packageName) { - return !!getPackagesMap().get(packageName); - } - function addResolutionDiagnostics(resolution) { - var _a2; - if (!((_a2 = resolution.resolutionDiagnostics) == null ? void 0 : _a2.length)) return; - (fileProcessingDiagnostics ?? (fileProcessingDiagnostics = [])).push({ - kind: 2 /* ResolutionDiagnostics */, - diagnostics: resolution.resolutionDiagnostics - }); - } - function addResolutionDiagnosticsFromResolutionOrCache(containingFile, name, resolution, mode) { - if (host.resolveModuleNameLiterals || !host.resolveModuleNames) return addResolutionDiagnostics(resolution); - if (!moduleResolutionCache || isExternalModuleNameRelative(name)) return; - const containingFileName = getNormalizedAbsolutePath(containingFile.originalFileName, currentDirectory); - const containingDir = getDirectoryPath(containingFileName); - const redirectedReference = getRedirectReferenceForResolution(containingFile); - const fromCache = moduleResolutionCache.getFromNonRelativeNameCache(name, mode, containingDir, redirectedReference); - if (fromCache) addResolutionDiagnostics(fromCache); - } - function resolveModuleNamesWorker(moduleNames, containingFile, reusedNames) { - var _a2, _b2; - const containingFileName = getNormalizedAbsolutePath(containingFile.originalFileName, currentDirectory); - const redirectedReference = getRedirectReferenceForResolution(containingFile); - (_a2 = tracing) == null ? void 0 : _a2.push(tracing.Phase.Program, "resolveModuleNamesWorker", { containingFileName }); - mark("beforeResolveModule"); - const result = actualResolveModuleNamesWorker( - moduleNames, - containingFileName, - redirectedReference, - options, - containingFile, - reusedNames - ); - mark("afterResolveModule"); - measure("ResolveModule", "beforeResolveModule", "afterResolveModule"); - (_b2 = tracing) == null ? void 0 : _b2.pop(); - return result; - } - function resolveTypeReferenceDirectiveNamesWorker(typeDirectiveNames, containingFile, reusedNames) { - var _a2, _b2; - const containingSourceFile = !isString(containingFile) ? containingFile : void 0; - const containingFileName = !isString(containingFile) ? getNormalizedAbsolutePath(containingFile.originalFileName, currentDirectory) : containingFile; - const redirectedReference = containingSourceFile && getRedirectReferenceForResolution(containingSourceFile); - (_a2 = tracing) == null ? void 0 : _a2.push(tracing.Phase.Program, "resolveTypeReferenceDirectiveNamesWorker", { containingFileName }); - mark("beforeResolveTypeReference"); - const result = actualResolveTypeReferenceDirectiveNamesWorker( - typeDirectiveNames, - containingFileName, - redirectedReference, - options, - containingSourceFile, - reusedNames - ); - mark("afterResolveTypeReference"); - measure("ResolveTypeReference", "beforeResolveTypeReference", "afterResolveTypeReference"); - (_b2 = tracing) == null ? void 0 : _b2.pop(); - return result; - } - function getRedirectReferenceForResolution(file) { - const redirect = getResolvedProjectReferenceToRedirect(file.originalFileName); - if (redirect || !isDeclarationFileName(file.originalFileName)) return redirect; - const resultFromDts = getRedirectReferenceForResolutionFromSourceOfProject(file.path); - if (resultFromDts) return resultFromDts; - if (!host.realpath || !options.preserveSymlinks || !file.originalFileName.includes(nodeModulesPathPart)) return void 0; - const realDeclarationPath = toPath3(host.realpath(file.originalFileName)); - return realDeclarationPath === file.path ? void 0 : getRedirectReferenceForResolutionFromSourceOfProject(realDeclarationPath); - } - function getRedirectReferenceForResolutionFromSourceOfProject(filePath) { - const source = getSourceOfProjectReferenceRedirect(filePath); - if (isString(source)) return getResolvedProjectReferenceToRedirect(source); - if (!source) return void 0; - return forEachResolvedProjectReference2((resolvedRef) => { - const out = resolvedRef.commandLine.options.outFile; - if (!out) return void 0; - return toPath3(out) === filePath ? resolvedRef : void 0; - }); - } - function compareDefaultLibFiles(a, b) { - return compareValues(getDefaultLibFilePriority(a), getDefaultLibFilePriority(b)); - } - function getDefaultLibFilePriority(a) { - if (containsPath( - defaultLibraryPath, - a.fileName, - /*ignoreCase*/ - false - )) { - const basename = getBaseFileName(a.fileName); - if (basename === "lib.d.ts" || basename === "lib.es6.d.ts") return 0; - const name = removeSuffix(removePrefix(basename, "lib."), ".d.ts"); - const index = libs.indexOf(name); - if (index !== -1) return index + 1; - } - return libs.length + 2; - } - function toPath3(fileName) { - return toPath(fileName, currentDirectory, getCanonicalFileName); - } - function getCommonSourceDirectory2() { - if (commonSourceDirectory === void 0) { - const emittedFiles = filter(files, (file) => sourceFileMayBeEmitted(file, program)); - commonSourceDirectory = getCommonSourceDirectory( - options, - () => mapDefined(emittedFiles, (file) => file.isDeclarationFile ? void 0 : file.fileName), - currentDirectory, - getCanonicalFileName, - (commonSourceDirectory2) => checkSourceFilesBelongToPath(emittedFiles, commonSourceDirectory2) - ); - } - return commonSourceDirectory; - } - function getClassifiableNames() { - var _a2; - if (!classifiableNames) { - getTypeChecker(); - classifiableNames = /* @__PURE__ */ new Set(); - for (const sourceFile of files) { - (_a2 = sourceFile.classifiableNames) == null ? void 0 : _a2.forEach((value) => classifiableNames.add(value)); - } - } - return classifiableNames; - } - function resolveModuleNamesReusingOldState(moduleNames, containingFile) { - return resolveNamesReusingOldState({ - entries: moduleNames, - containingFile, - containingSourceFile: containingFile, - redirectedReference: getRedirectReferenceForResolution(containingFile), - nameAndModeGetter: moduleResolutionNameAndModeGetter, - resolutionWorker: resolveModuleNamesWorker, - getResolutionFromOldProgram: (name, mode) => oldProgram == null ? void 0 : oldProgram.getResolvedModule(containingFile, name, mode), - getResolved: getResolvedModuleFromResolution, - canReuseResolutionsInFile: () => containingFile === (oldProgram == null ? void 0 : oldProgram.getSourceFile(containingFile.fileName)) && !hasInvalidatedResolutions(containingFile.path), - resolveToOwnAmbientModule: true - }); - } - function resolveTypeReferenceDirectiveNamesReusingOldState(typeDirectiveNames, containingFile) { - const containingSourceFile = !isString(containingFile) ? containingFile : void 0; - return resolveNamesReusingOldState({ - entries: typeDirectiveNames, - containingFile, - containingSourceFile, - redirectedReference: containingSourceFile && getRedirectReferenceForResolution(containingSourceFile), - nameAndModeGetter: typeReferenceResolutionNameAndModeGetter, - resolutionWorker: resolveTypeReferenceDirectiveNamesWorker, - getResolutionFromOldProgram: (name, mode) => { - var _a2; - return containingSourceFile ? oldProgram == null ? void 0 : oldProgram.getResolvedTypeReferenceDirective(containingSourceFile, name, mode) : (_a2 = oldProgram == null ? void 0 : oldProgram.getAutomaticTypeDirectiveResolutions()) == null ? void 0 : _a2.get(name, mode); - }, - getResolved: getResolvedTypeReferenceDirectiveFromResolution, - canReuseResolutionsInFile: () => containingSourceFile ? containingSourceFile === (oldProgram == null ? void 0 : oldProgram.getSourceFile(containingSourceFile.fileName)) && !hasInvalidatedResolutions(containingSourceFile.path) : !hasInvalidatedResolutions(toPath3(containingFile)) - }); - } - function resolveNamesReusingOldState({ - entries, - containingFile, - containingSourceFile, - redirectedReference, - nameAndModeGetter, - resolutionWorker, - getResolutionFromOldProgram, - getResolved, - canReuseResolutionsInFile, - resolveToOwnAmbientModule - }) { - if (!entries.length) return emptyArray; - if (structureIsReused === 0 /* Not */ && (!resolveToOwnAmbientModule || !containingSourceFile.ambientModuleNames.length)) { - return resolutionWorker( - entries, - containingFile, - /*reusedNames*/ - void 0 - ); - } - let unknownEntries; - let unknownEntryIndices; - let result; - let reusedNames; - const reuseResolutions = canReuseResolutionsInFile(); - for (let i = 0; i < entries.length; i++) { - const entry = entries[i]; - if (reuseResolutions) { - const name = nameAndModeGetter.getName(entry); - const mode = nameAndModeGetter.getMode(entry, containingSourceFile, (redirectedReference == null ? void 0 : redirectedReference.commandLine.options) ?? options); - const oldResolution = getResolutionFromOldProgram(name, mode); - const oldResolved = oldResolution && getResolved(oldResolution); - if (oldResolved) { - if (isTraceEnabled(options, host)) { - trace( - host, - resolutionWorker === resolveModuleNamesWorker ? oldResolved.packageId ? Diagnostics.Reusing_resolution_of_module_0_from_1_of_old_program_it_was_successfully_resolved_to_2_with_Package_ID_3 : Diagnostics.Reusing_resolution_of_module_0_from_1_of_old_program_it_was_successfully_resolved_to_2 : oldResolved.packageId ? Diagnostics.Reusing_resolution_of_type_reference_directive_0_from_1_of_old_program_it_was_successfully_resolved_to_2_with_Package_ID_3 : Diagnostics.Reusing_resolution_of_type_reference_directive_0_from_1_of_old_program_it_was_successfully_resolved_to_2, - name, - containingSourceFile ? getNormalizedAbsolutePath(containingSourceFile.originalFileName, currentDirectory) : containingFile, - oldResolved.resolvedFileName, - oldResolved.packageId && packageIdToString(oldResolved.packageId) - ); - } - (result ?? (result = new Array(entries.length)))[i] = oldResolution; - (reusedNames ?? (reusedNames = [])).push(entry); - continue; - } - } - if (resolveToOwnAmbientModule) { - const name = nameAndModeGetter.getName(entry); - if (contains(containingSourceFile.ambientModuleNames, name)) { - if (isTraceEnabled(options, host)) { - trace( - host, - Diagnostics.Module_0_was_resolved_as_locally_declared_ambient_module_in_file_1, - name, - getNormalizedAbsolutePath(containingSourceFile.originalFileName, currentDirectory) - ); - } - (result ?? (result = new Array(entries.length)))[i] = emptyResolution; - continue; - } - } - (unknownEntries ?? (unknownEntries = [])).push(entry); - (unknownEntryIndices ?? (unknownEntryIndices = [])).push(i); - } - if (!unknownEntries) return result; - const resolutions = resolutionWorker(unknownEntries, containingFile, reusedNames); - if (!result) return resolutions; - resolutions.forEach((resolution, index) => result[unknownEntryIndices[index]] = resolution); - return result; - } - function canReuseProjectReferences() { - return !forEachProjectReference( - oldProgram.getProjectReferences(), - oldProgram.getResolvedProjectReferences(), - (oldResolvedRef, parent, index) => { - const newRef = (parent ? parent.commandLine.projectReferences : projectReferences)[index]; - const newResolvedRef = parseProjectReferenceConfigFile(newRef); - if (oldResolvedRef) { - return !newResolvedRef || newResolvedRef.sourceFile !== oldResolvedRef.sourceFile || !arrayIsEqualTo(oldResolvedRef.commandLine.fileNames, newResolvedRef.commandLine.fileNames); - } else { - return newResolvedRef !== void 0; - } - }, - (oldProjectReferences, parent) => { - const newReferences = parent ? getResolvedProjectReferenceByPath(parent.sourceFile.path).commandLine.projectReferences : projectReferences; - return !arrayIsEqualTo(oldProjectReferences, newReferences, projectReferenceIsEqualTo); - } - ); - } - function tryReuseStructureFromOldProgram() { - var _a2; - if (!oldProgram) { - return 0 /* Not */; - } - const oldOptions = oldProgram.getCompilerOptions(); - if (changesAffectModuleResolution(oldOptions, options)) { - return 0 /* Not */; - } - const oldRootNames = oldProgram.getRootFileNames(); - if (!arrayIsEqualTo(oldRootNames, rootNames)) { - return 0 /* Not */; - } - if (!canReuseProjectReferences()) { - return 0 /* Not */; - } - if (projectReferences) { - resolvedProjectReferences = projectReferences.map(parseProjectReferenceConfigFile); - } - const newSourceFiles = []; - const modifiedSourceFiles = []; - structureIsReused = 2 /* Completely */; - if (forEachEntry(oldProgram.getMissingFilePaths(), (missingFileName) => host.fileExists(missingFileName))) { - return 0 /* Not */; - } - const oldSourceFiles = oldProgram.getSourceFiles(); - let SeenPackageName; - ((SeenPackageName2) => { - SeenPackageName2[SeenPackageName2["Exists"] = 0] = "Exists"; - SeenPackageName2[SeenPackageName2["Modified"] = 1] = "Modified"; - })(SeenPackageName || (SeenPackageName = {})); - const seenPackageNames = /* @__PURE__ */ new Map(); - for (const oldSourceFile of oldSourceFiles) { - const sourceFileOptions = getCreateSourceFileOptions(oldSourceFile.fileName, moduleResolutionCache, host, options); - let newSourceFile = host.getSourceFileByPath ? host.getSourceFileByPath( - oldSourceFile.fileName, - oldSourceFile.resolvedPath, - sourceFileOptions, - /*onError*/ - void 0, - shouldCreateNewSourceFile - ) : host.getSourceFile( - oldSourceFile.fileName, - sourceFileOptions, - /*onError*/ - void 0, - shouldCreateNewSourceFile - ); - if (!newSourceFile) { - return 0 /* Not */; - } - newSourceFile.packageJsonLocations = ((_a2 = sourceFileOptions.packageJsonLocations) == null ? void 0 : _a2.length) ? sourceFileOptions.packageJsonLocations : void 0; - newSourceFile.packageJsonScope = sourceFileOptions.packageJsonScope; - Debug.assert(!newSourceFile.redirectInfo, "Host should not return a redirect source file from `getSourceFile`"); - let fileChanged; - if (oldSourceFile.redirectInfo) { - if (newSourceFile !== oldSourceFile.redirectInfo.unredirected) { - return 0 /* Not */; - } - fileChanged = false; - newSourceFile = oldSourceFile; - } else if (oldProgram.redirectTargetsMap.has(oldSourceFile.path)) { - if (newSourceFile !== oldSourceFile) { - return 0 /* Not */; - } - fileChanged = false; - } else { - fileChanged = newSourceFile !== oldSourceFile; - } - newSourceFile.path = oldSourceFile.path; - newSourceFile.originalFileName = oldSourceFile.originalFileName; - newSourceFile.resolvedPath = oldSourceFile.resolvedPath; - newSourceFile.fileName = oldSourceFile.fileName; - const packageName = oldProgram.sourceFileToPackageName.get(oldSourceFile.path); - if (packageName !== void 0) { - const prevKind = seenPackageNames.get(packageName); - const newKind = fileChanged ? 1 /* Modified */ : 0 /* Exists */; - if (prevKind !== void 0 && newKind === 1 /* Modified */ || prevKind === 1 /* Modified */) { - return 0 /* Not */; - } - seenPackageNames.set(packageName, newKind); - } - if (fileChanged) { - if (oldSourceFile.impliedNodeFormat !== newSourceFile.impliedNodeFormat) { - structureIsReused = 1 /* SafeModules */; - } else if (!arrayIsEqualTo(oldSourceFile.libReferenceDirectives, newSourceFile.libReferenceDirectives, fileReferenceIsEqualTo)) { - structureIsReused = 1 /* SafeModules */; - } else if (oldSourceFile.hasNoDefaultLib !== newSourceFile.hasNoDefaultLib) { - structureIsReused = 1 /* SafeModules */; - } else if (!arrayIsEqualTo(oldSourceFile.referencedFiles, newSourceFile.referencedFiles, fileReferenceIsEqualTo)) { - structureIsReused = 1 /* SafeModules */; - } else { - collectExternalModuleReferences(newSourceFile); - if (!arrayIsEqualTo(oldSourceFile.imports, newSourceFile.imports, moduleNameIsEqualTo)) { - structureIsReused = 1 /* SafeModules */; - } else if (!arrayIsEqualTo(oldSourceFile.moduleAugmentations, newSourceFile.moduleAugmentations, moduleNameIsEqualTo)) { - structureIsReused = 1 /* SafeModules */; - } else if ((oldSourceFile.flags & 12582912 /* PermanentlySetIncrementalFlags */) !== (newSourceFile.flags & 12582912 /* PermanentlySetIncrementalFlags */)) { - structureIsReused = 1 /* SafeModules */; - } else if (!arrayIsEqualTo(oldSourceFile.typeReferenceDirectives, newSourceFile.typeReferenceDirectives, fileReferenceIsEqualTo)) { - structureIsReused = 1 /* SafeModules */; - } - } - modifiedSourceFiles.push(newSourceFile); - } else if (hasInvalidatedResolutions(oldSourceFile.path)) { - structureIsReused = 1 /* SafeModules */; - modifiedSourceFiles.push(newSourceFile); - } - newSourceFiles.push(newSourceFile); - } - if (structureIsReused !== 2 /* Completely */) { - return structureIsReused; - } - for (const newSourceFile of modifiedSourceFiles) { - const moduleNames = getModuleNames(newSourceFile); - const resolutions = resolveModuleNamesReusingOldState(moduleNames, newSourceFile); - (resolvedModulesProcessing ?? (resolvedModulesProcessing = /* @__PURE__ */ new Map())).set(newSourceFile.path, resolutions); - const resolutionsChanged = hasChangesInResolutions( - moduleNames, - resolutions, - (name) => oldProgram.getResolvedModule(newSourceFile, name.text, getModeForUsageLocation2(newSourceFile, name)), - moduleResolutionIsEqualTo - ); - if (resolutionsChanged) structureIsReused = 1 /* SafeModules */; - const typesReferenceDirectives = newSourceFile.typeReferenceDirectives; - const typeReferenceResolutions = resolveTypeReferenceDirectiveNamesReusingOldState(typesReferenceDirectives, newSourceFile); - (resolvedTypeReferenceDirectiveNamesProcessing ?? (resolvedTypeReferenceDirectiveNamesProcessing = /* @__PURE__ */ new Map())).set(newSourceFile.path, typeReferenceResolutions); - const typeReferenceResolutionsChanged = hasChangesInResolutions( - typesReferenceDirectives, - typeReferenceResolutions, - (name) => oldProgram.getResolvedTypeReferenceDirective(newSourceFile, getTypeReferenceResolutionName(name), getModeForFileReference(name, newSourceFile.impliedNodeFormat)), - typeDirectiveIsEqualTo - ); - if (typeReferenceResolutionsChanged) structureIsReused = 1 /* SafeModules */; - } - if (structureIsReused !== 2 /* Completely */) { - return structureIsReused; - } - if (changesAffectingProgramStructure(oldOptions, options)) { - return 1 /* SafeModules */; - } - if (oldProgram.resolvedLibReferences && forEachEntry(oldProgram.resolvedLibReferences, (resolution, libFileName) => pathForLibFileWorker(libFileName).actual !== resolution.actual)) { - return 1 /* SafeModules */; - } - if (host.hasChangedAutomaticTypeDirectiveNames) { - if (host.hasChangedAutomaticTypeDirectiveNames()) return 1 /* SafeModules */; - } else { - automaticTypeDirectiveNames = getAutomaticTypeDirectiveNames(options, host); - if (!arrayIsEqualTo(oldProgram.getAutomaticTypeDirectiveNames(), automaticTypeDirectiveNames)) return 1 /* SafeModules */; - } - missingFileNames = oldProgram.getMissingFilePaths(); - Debug.assert(newSourceFiles.length === oldProgram.getSourceFiles().length); - for (const newSourceFile of newSourceFiles) { - filesByName.set(newSourceFile.path, newSourceFile); - } - const oldFilesByNameMap = oldProgram.getFilesByNameMap(); - oldFilesByNameMap.forEach((oldFile, path) => { - if (!oldFile) { - filesByName.set(path, oldFile); - return; - } - if (oldFile.path === path) { - if (oldProgram.isSourceFileFromExternalLibrary(oldFile)) { - sourceFilesFoundSearchingNodeModules.set(oldFile.path, true); - } - return; - } - filesByName.set(path, filesByName.get(oldFile.path)); - }); - files = newSourceFiles; - fileReasons = oldProgram.getFileIncludeReasons(); - fileProcessingDiagnostics = oldProgram.getFileProcessingDiagnostics(); - automaticTypeDirectiveNames = oldProgram.getAutomaticTypeDirectiveNames(); - automaticTypeDirectiveResolutions = oldProgram.getAutomaticTypeDirectiveResolutions(); - sourceFileToPackageName = oldProgram.sourceFileToPackageName; - redirectTargetsMap = oldProgram.redirectTargetsMap; - usesUriStyleNodeCoreModules = oldProgram.usesUriStyleNodeCoreModules; - resolvedModules = oldProgram.resolvedModules; - resolvedTypeReferenceDirectiveNames = oldProgram.resolvedTypeReferenceDirectiveNames; - resolvedLibReferences = oldProgram.resolvedLibReferences; - packageMap = oldProgram.getCurrentPackagesMap(); - return 2 /* Completely */; - } - function getEmitHost(writeFileCallback) { - return { - getCanonicalFileName, - getCommonSourceDirectory: program.getCommonSourceDirectory, - getCompilerOptions: program.getCompilerOptions, - getCurrentDirectory: () => currentDirectory, - getSourceFile: program.getSourceFile, - getSourceFileByPath: program.getSourceFileByPath, - getSourceFiles: program.getSourceFiles, - isSourceFileFromExternalLibrary, - getResolvedProjectReferenceToRedirect, - getProjectReferenceRedirect, - isSourceOfProjectReferenceRedirect, - getSymlinkCache, - writeFile: writeFileCallback || writeFile2, - isEmitBlocked, - shouldTransformImportCall, - getEmitModuleFormatOfFile, - getDefaultResolutionModeForFile: getDefaultResolutionModeForFile2, - getModeForResolutionAtIndex, - readFile: (f) => host.readFile(f), - fileExists: (f) => { - const path = toPath3(f); - if (getSourceFileByPath(path)) return true; - if (missingFileNames.has(path)) return false; - return host.fileExists(f); - }, - realpath: maybeBind(host, host.realpath), - useCaseSensitiveFileNames: () => host.useCaseSensitiveFileNames(), - getBuildInfo: () => { - var _a2; - return (_a2 = program.getBuildInfo) == null ? void 0 : _a2.call(program); - }, - getSourceFileFromReference: (file, ref) => program.getSourceFileFromReference(file, ref), - redirectTargetsMap, - getFileIncludeReasons: program.getFileIncludeReasons, - createHash: maybeBind(host, host.createHash), - getModuleResolutionCache: () => program.getModuleResolutionCache(), - trace: maybeBind(host, host.trace) - }; - } - function writeFile2(fileName, text, writeByteOrderMark, onError, sourceFiles, data) { - host.writeFile(fileName, text, writeByteOrderMark, onError, sourceFiles, data); - } - function emitBuildInfo(writeFileCallback) { - var _a2, _b2; - (_a2 = tracing) == null ? void 0 : _a2.push( - tracing.Phase.Emit, - "emitBuildInfo", - {}, - /*separateBeginAndEnd*/ - true - ); - mark("beforeEmit"); - const emitResult = emitFiles( - notImplementedResolver, - getEmitHost(writeFileCallback), - /*targetSourceFile*/ - void 0, - /*transformers*/ - noTransformers, - /*emitOnly*/ - false, - /*onlyBuildInfo*/ - true - ); - mark("afterEmit"); - measure("Emit", "beforeEmit", "afterEmit"); - (_b2 = tracing) == null ? void 0 : _b2.pop(); - return emitResult; - } - function getResolvedProjectReferences() { - return resolvedProjectReferences; - } - function getProjectReferences() { - return projectReferences; - } - function isSourceFileFromExternalLibrary(file) { - return !!sourceFilesFoundSearchingNodeModules.get(file.path); - } - function isSourceFileDefaultLibrary(file) { - if (!file.isDeclarationFile) { - return false; - } - if (file.hasNoDefaultLib) { - return true; - } - if (options.noLib) { - return false; - } - const equalityComparer = host.useCaseSensitiveFileNames() ? equateStringsCaseSensitive : equateStringsCaseInsensitive; - if (!options.lib) { - return equalityComparer(file.fileName, getDefaultLibraryFileName()); - } else { - return some(options.lib, (libFileName) => { - const resolvedLib = resolvedLibReferences.get(libFileName); - return !!resolvedLib && equalityComparer(file.fileName, resolvedLib.actual); - }); - } - } - function getTypeChecker() { - return typeChecker || (typeChecker = createTypeChecker(program)); - } - function emit(sourceFile, writeFileCallback, cancellationToken, emitOnly, transformers, forceDtsEmit, skipBuildInfo) { - var _a2, _b2; - (_a2 = tracing) == null ? void 0 : _a2.push( - tracing.Phase.Emit, - "emit", - { path: sourceFile == null ? void 0 : sourceFile.path }, - /*separateBeginAndEnd*/ - true - ); - const result = runWithCancellationToken( - () => emitWorker( - program, - sourceFile, - writeFileCallback, - cancellationToken, - emitOnly, - transformers, - forceDtsEmit, - skipBuildInfo - ) - ); - (_b2 = tracing) == null ? void 0 : _b2.pop(); - return result; - } - function isEmitBlocked(emitFileName) { - return hasEmitBlockingDiagnostics.has(toPath3(emitFileName)); - } - function emitWorker(program2, sourceFile, writeFileCallback, cancellationToken, emitOnly, customTransformers, forceDtsEmit, skipBuildInfo) { - if (!forceDtsEmit) { - const result = handleNoEmitOptions(program2, sourceFile, writeFileCallback, cancellationToken); - if (result) return result; - } - const typeChecker2 = getTypeChecker(); - const emitResolver = typeChecker2.getEmitResolver( - options.outFile ? void 0 : sourceFile, - cancellationToken, - emitResolverSkipsTypeChecking(emitOnly, forceDtsEmit) - ); - mark("beforeEmit"); - const emitResult = typeChecker2.runWithCancellationToken( - cancellationToken, - () => emitFiles( - emitResolver, - getEmitHost(writeFileCallback), - sourceFile, - getTransformers(options, customTransformers, emitOnly), - emitOnly, - /*onlyBuildInfo*/ - false, - forceDtsEmit, - skipBuildInfo - ) - ); - mark("afterEmit"); - measure("Emit", "beforeEmit", "afterEmit"); - return emitResult; - } - function getSourceFile(fileName) { - return getSourceFileByPath(toPath3(fileName)); - } - function getSourceFileByPath(path) { - return filesByName.get(path) || void 0; - } - function getDiagnosticsHelper(sourceFile, getDiagnostics, cancellationToken) { - if (sourceFile) { - return sortAndDeduplicateDiagnostics(getDiagnostics(sourceFile, cancellationToken)); - } - return sortAndDeduplicateDiagnostics(flatMap(program.getSourceFiles(), (sourceFile2) => { - if (cancellationToken) { - cancellationToken.throwIfCancellationRequested(); - } - return getDiagnostics(sourceFile2, cancellationToken); - })); - } - function getSyntacticDiagnostics(sourceFile, cancellationToken) { - return getDiagnosticsHelper(sourceFile, getSyntacticDiagnosticsForFile, cancellationToken); - } - function getSemanticDiagnostics(sourceFile, cancellationToken, nodesToCheck) { - return getDiagnosticsHelper( - sourceFile, - (sourceFile2, cancellationToken2) => getSemanticDiagnosticsForFile(sourceFile2, cancellationToken2, nodesToCheck), - cancellationToken - ); - } - function getCachedSemanticDiagnostics(sourceFile) { - return cachedBindAndCheckDiagnosticsForFile == null ? void 0 : cachedBindAndCheckDiagnosticsForFile.get(sourceFile.path); - } - function getBindAndCheckDiagnostics(sourceFile, cancellationToken) { - return getBindAndCheckDiagnosticsForFile( - sourceFile, - cancellationToken, - /*nodesToCheck*/ - void 0 - ); - } - function getProgramDiagnostics(sourceFile) { - var _a2; - if (skipTypeChecking(sourceFile, options, program)) { - return emptyArray; - } - const programDiagnosticsInFile = updateAndGetProgramDiagnostics().getDiagnostics(sourceFile.fileName); - if (!((_a2 = sourceFile.commentDirectives) == null ? void 0 : _a2.length)) { - return programDiagnosticsInFile; - } - return getDiagnosticsWithPrecedingDirectives(sourceFile, sourceFile.commentDirectives, programDiagnosticsInFile).diagnostics; - } - function getDeclarationDiagnostics2(sourceFile, cancellationToken) { - return getDiagnosticsHelper(sourceFile, getDeclarationDiagnosticsForFile, cancellationToken); - } - function getSyntacticDiagnosticsForFile(sourceFile) { - if (isSourceFileJS(sourceFile)) { - if (!sourceFile.additionalSyntacticDiagnostics) { - sourceFile.additionalSyntacticDiagnostics = getJSSyntacticDiagnosticsForFile(sourceFile); - } - return concatenate(sourceFile.additionalSyntacticDiagnostics, sourceFile.parseDiagnostics); - } - return sourceFile.parseDiagnostics; - } - function runWithCancellationToken(func) { - try { - return func(); - } catch (e) { - if (e instanceof OperationCanceledException) { - typeChecker = void 0; - } - throw e; - } - } - function getSemanticDiagnosticsForFile(sourceFile, cancellationToken, nodesToCheck) { - return concatenate( - filterSemanticDiagnostics(getBindAndCheckDiagnosticsForFile(sourceFile, cancellationToken, nodesToCheck), options), - getProgramDiagnostics(sourceFile) - ); - } - function getBindAndCheckDiagnosticsForFile(sourceFile, cancellationToken, nodesToCheck) { - if (nodesToCheck) { - return getBindAndCheckDiagnosticsForFileNoCache(sourceFile, cancellationToken, nodesToCheck); - } - let result = cachedBindAndCheckDiagnosticsForFile == null ? void 0 : cachedBindAndCheckDiagnosticsForFile.get(sourceFile.path); - if (!result) { - (cachedBindAndCheckDiagnosticsForFile ?? (cachedBindAndCheckDiagnosticsForFile = /* @__PURE__ */ new Map())).set( - sourceFile.path, - result = getBindAndCheckDiagnosticsForFileNoCache(sourceFile, cancellationToken) - ); - } - return result; - } - function getBindAndCheckDiagnosticsForFileNoCache(sourceFile, cancellationToken, nodesToCheck) { - return runWithCancellationToken(() => { - if (skipTypeChecking(sourceFile, options, program)) { - return emptyArray; - } - const typeChecker2 = getTypeChecker(); - Debug.assert(!!sourceFile.bindDiagnostics); - const isJs = sourceFile.scriptKind === 1 /* JS */ || sourceFile.scriptKind === 2 /* JSX */; - const isPlainJs = isPlainJsFile(sourceFile, options.checkJs); - const isCheckJs = isJs && isCheckJsEnabledForFile(sourceFile, options); - let bindDiagnostics = sourceFile.bindDiagnostics; - let checkDiagnostics = typeChecker2.getDiagnostics(sourceFile, cancellationToken, nodesToCheck); - if (isPlainJs) { - bindDiagnostics = filter(bindDiagnostics, (d) => plainJSErrors.has(d.code)); - checkDiagnostics = filter(checkDiagnostics, (d) => plainJSErrors.has(d.code)); - } - return getMergedBindAndCheckDiagnostics( - sourceFile, - !isPlainJs, - !!nodesToCheck, - bindDiagnostics, - checkDiagnostics, - isCheckJs ? sourceFile.jsDocDiagnostics : void 0 - ); - }); - } - function getMergedBindAndCheckDiagnostics(sourceFile, includeBindAndCheckDiagnostics, partialCheck, ...allDiagnostics) { - var _a2; - const flatDiagnostics = flatten(allDiagnostics); - if (!includeBindAndCheckDiagnostics || !((_a2 = sourceFile.commentDirectives) == null ? void 0 : _a2.length)) { - return flatDiagnostics; - } - const { diagnostics, directives } = getDiagnosticsWithPrecedingDirectives(sourceFile, sourceFile.commentDirectives, flatDiagnostics); - if (partialCheck) { - return diagnostics; - } - for (const errorExpectation of directives.getUnusedExpectations()) { - diagnostics.push(createDiagnosticForRange(sourceFile, errorExpectation.range, Diagnostics.Unused_ts_expect_error_directive)); - } - return diagnostics; - } - function getDiagnosticsWithPrecedingDirectives(sourceFile, commentDirectives, flatDiagnostics) { - const directives = createCommentDirectivesMap(sourceFile, commentDirectives); - const diagnostics = flatDiagnostics.filter((diagnostic) => markPrecedingCommentDirectiveLine(diagnostic, directives) === -1); - return { diagnostics, directives }; - } - function getSuggestionDiagnostics(sourceFile, cancellationToken) { - return runWithCancellationToken(() => { - return getTypeChecker().getSuggestionDiagnostics(sourceFile, cancellationToken); - }); - } - function markPrecedingCommentDirectiveLine(diagnostic, directives) { - const { file, start } = diagnostic; - if (!file) { - return -1; - } - const lineStarts = getLineStarts(file); - let line = computeLineAndCharacterOfPosition(lineStarts, start).line - 1; - while (line >= 0) { - if (directives.markUsed(line)) { - return line; - } - const lineText = file.text.slice(lineStarts[line], lineStarts[line + 1]).trim(); - if (lineText !== "" && !/^\s*\/\/.*$/.test(lineText)) { - return -1; - } - line--; - } - return -1; - } - function getJSSyntacticDiagnosticsForFile(sourceFile) { - return runWithCancellationToken(() => { - const diagnostics = []; - walk(sourceFile, sourceFile); - forEachChildRecursively(sourceFile, walk, walkArray); - return diagnostics; - function walk(node, parent) { - switch (parent.kind) { - case 169 /* Parameter */: - case 172 /* PropertyDeclaration */: - case 174 /* MethodDeclaration */: - if (parent.questionToken === node) { - diagnostics.push(createDiagnosticForNode2(node, Diagnostics.The_0_modifier_can_only_be_used_in_TypeScript_files, "?")); - return "skip"; - } - case 173 /* MethodSignature */: - case 176 /* Constructor */: - case 177 /* GetAccessor */: - case 178 /* SetAccessor */: - case 218 /* FunctionExpression */: - case 262 /* FunctionDeclaration */: - case 219 /* ArrowFunction */: - case 260 /* VariableDeclaration */: - if (parent.type === node) { - diagnostics.push(createDiagnosticForNode2(node, Diagnostics.Type_annotations_can_only_be_used_in_TypeScript_files)); - return "skip"; - } - } - switch (node.kind) { - case 273 /* ImportClause */: - if (node.isTypeOnly) { - diagnostics.push(createDiagnosticForNode2(parent, Diagnostics._0_declarations_can_only_be_used_in_TypeScript_files, "import type")); - return "skip"; - } - break; - case 278 /* ExportDeclaration */: - if (node.isTypeOnly) { - diagnostics.push(createDiagnosticForNode2(node, Diagnostics._0_declarations_can_only_be_used_in_TypeScript_files, "export type")); - return "skip"; - } - break; - case 276 /* ImportSpecifier */: - case 281 /* ExportSpecifier */: - if (node.isTypeOnly) { - diagnostics.push(createDiagnosticForNode2(node, Diagnostics._0_declarations_can_only_be_used_in_TypeScript_files, isImportSpecifier(node) ? "import...type" : "export...type")); - return "skip"; - } - break; - case 271 /* ImportEqualsDeclaration */: - diagnostics.push(createDiagnosticForNode2(node, Diagnostics.import_can_only_be_used_in_TypeScript_files)); - return "skip"; - case 277 /* ExportAssignment */: - if (node.isExportEquals) { - diagnostics.push(createDiagnosticForNode2(node, Diagnostics.export_can_only_be_used_in_TypeScript_files)); - return "skip"; - } - break; - case 298 /* HeritageClause */: - const heritageClause = node; - if (heritageClause.token === 119 /* ImplementsKeyword */) { - diagnostics.push(createDiagnosticForNode2(node, Diagnostics.implements_clauses_can_only_be_used_in_TypeScript_files)); - return "skip"; - } - break; - case 264 /* InterfaceDeclaration */: - const interfaceKeyword = tokenToString(120 /* InterfaceKeyword */); - Debug.assertIsDefined(interfaceKeyword); - diagnostics.push(createDiagnosticForNode2(node, Diagnostics._0_declarations_can_only_be_used_in_TypeScript_files, interfaceKeyword)); - return "skip"; - case 267 /* ModuleDeclaration */: - const moduleKeyword = node.flags & 32 /* Namespace */ ? tokenToString(145 /* NamespaceKeyword */) : tokenToString(144 /* ModuleKeyword */); - Debug.assertIsDefined(moduleKeyword); - diagnostics.push(createDiagnosticForNode2(node, Diagnostics._0_declarations_can_only_be_used_in_TypeScript_files, moduleKeyword)); - return "skip"; - case 265 /* TypeAliasDeclaration */: - diagnostics.push(createDiagnosticForNode2(node, Diagnostics.Type_aliases_can_only_be_used_in_TypeScript_files)); - return "skip"; - case 176 /* Constructor */: - case 174 /* MethodDeclaration */: - case 262 /* FunctionDeclaration */: - if (!node.body) { - diagnostics.push(createDiagnosticForNode2(node, Diagnostics.Signature_declarations_can_only_be_used_in_TypeScript_files)); - return "skip"; - } - return; - case 266 /* EnumDeclaration */: - const enumKeyword = Debug.checkDefined(tokenToString(94 /* EnumKeyword */)); - diagnostics.push(createDiagnosticForNode2(node, Diagnostics._0_declarations_can_only_be_used_in_TypeScript_files, enumKeyword)); - return "skip"; - case 235 /* NonNullExpression */: - diagnostics.push(createDiagnosticForNode2(node, Diagnostics.Non_null_assertions_can_only_be_used_in_TypeScript_files)); - return "skip"; - case 234 /* AsExpression */: - diagnostics.push(createDiagnosticForNode2(node.type, Diagnostics.Type_assertion_expressions_can_only_be_used_in_TypeScript_files)); - return "skip"; - case 238 /* SatisfiesExpression */: - diagnostics.push(createDiagnosticForNode2(node.type, Diagnostics.Type_satisfaction_expressions_can_only_be_used_in_TypeScript_files)); - return "skip"; - case 216 /* TypeAssertionExpression */: - Debug.fail(); - } - } - function walkArray(nodes, parent) { - if (canHaveIllegalDecorators(parent)) { - const decorator = find(parent.modifiers, isDecorator); - if (decorator) { - diagnostics.push(createDiagnosticForNode2(decorator, Diagnostics.Decorators_are_not_valid_here)); - } - } else if (canHaveDecorators(parent) && parent.modifiers) { - const decoratorIndex = findIndex(parent.modifiers, isDecorator); - if (decoratorIndex >= 0) { - if (isParameter(parent) && !options.experimentalDecorators) { - diagnostics.push(createDiagnosticForNode2(parent.modifiers[decoratorIndex], Diagnostics.Decorators_are_not_valid_here)); - } else if (isClassDeclaration(parent)) { - const exportIndex = findIndex(parent.modifiers, isExportModifier); - if (exportIndex >= 0) { - const defaultIndex = findIndex(parent.modifiers, isDefaultModifier); - if (decoratorIndex > exportIndex && defaultIndex >= 0 && decoratorIndex < defaultIndex) { - diagnostics.push(createDiagnosticForNode2(parent.modifiers[decoratorIndex], Diagnostics.Decorators_are_not_valid_here)); - } else if (exportIndex >= 0 && decoratorIndex < exportIndex) { - const trailingDecoratorIndex = findIndex(parent.modifiers, isDecorator, exportIndex); - if (trailingDecoratorIndex >= 0) { - diagnostics.push(addRelatedInfo( - createDiagnosticForNode2(parent.modifiers[trailingDecoratorIndex], Diagnostics.Decorators_may_not_appear_after_export_or_export_default_if_they_also_appear_before_export), - createDiagnosticForNode2(parent.modifiers[decoratorIndex], Diagnostics.Decorator_used_before_export_here) - )); - } - } - } - } - } - } - switch (parent.kind) { - case 263 /* ClassDeclaration */: - case 231 /* ClassExpression */: - case 174 /* MethodDeclaration */: - case 176 /* Constructor */: - case 177 /* GetAccessor */: - case 178 /* SetAccessor */: - case 218 /* FunctionExpression */: - case 262 /* FunctionDeclaration */: - case 219 /* ArrowFunction */: - if (nodes === parent.typeParameters) { - diagnostics.push(createDiagnosticForNodeArray2(nodes, Diagnostics.Type_parameter_declarations_can_only_be_used_in_TypeScript_files)); - return "skip"; - } - case 243 /* VariableStatement */: - if (nodes === parent.modifiers) { - checkModifiers(parent.modifiers, parent.kind === 243 /* VariableStatement */); - return "skip"; - } - break; - case 172 /* PropertyDeclaration */: - if (nodes === parent.modifiers) { - for (const modifier of nodes) { - if (isModifier(modifier) && modifier.kind !== 126 /* StaticKeyword */ && modifier.kind !== 129 /* AccessorKeyword */) { - diagnostics.push(createDiagnosticForNode2(modifier, Diagnostics.The_0_modifier_can_only_be_used_in_TypeScript_files, tokenToString(modifier.kind))); - } - } - return "skip"; - } - break; - case 169 /* Parameter */: - if (nodes === parent.modifiers && some(nodes, isModifier)) { - diagnostics.push(createDiagnosticForNodeArray2(nodes, Diagnostics.Parameter_modifiers_can_only_be_used_in_TypeScript_files)); - return "skip"; - } - break; - case 213 /* CallExpression */: - case 214 /* NewExpression */: - case 233 /* ExpressionWithTypeArguments */: - case 285 /* JsxSelfClosingElement */: - case 286 /* JsxOpeningElement */: - case 215 /* TaggedTemplateExpression */: - if (nodes === parent.typeArguments) { - diagnostics.push(createDiagnosticForNodeArray2(nodes, Diagnostics.Type_arguments_can_only_be_used_in_TypeScript_files)); - return "skip"; - } - break; - } - } - function checkModifiers(modifiers, isConstValid) { - for (const modifier of modifiers) { - switch (modifier.kind) { - case 87 /* ConstKeyword */: - if (isConstValid) { - continue; - } - case 125 /* PublicKeyword */: - case 123 /* PrivateKeyword */: - case 124 /* ProtectedKeyword */: - case 148 /* ReadonlyKeyword */: - case 138 /* DeclareKeyword */: - case 128 /* AbstractKeyword */: - case 164 /* OverrideKeyword */: - case 103 /* InKeyword */: - case 147 /* OutKeyword */: - diagnostics.push(createDiagnosticForNode2(modifier, Diagnostics.The_0_modifier_can_only_be_used_in_TypeScript_files, tokenToString(modifier.kind))); - break; - case 126 /* StaticKeyword */: - case 95 /* ExportKeyword */: - case 90 /* DefaultKeyword */: - case 129 /* AccessorKeyword */: - } - } - } - function createDiagnosticForNodeArray2(nodes, message, ...args) { - const start = nodes.pos; - return createFileDiagnostic(sourceFile, start, nodes.end - start, message, ...args); - } - function createDiagnosticForNode2(node, message, ...args) { - return createDiagnosticForNodeInSourceFile(sourceFile, node, message, ...args); - } - }); - } - function getDeclarationDiagnosticsWorker(sourceFile, cancellationToken) { - let result = cachedDeclarationDiagnosticsForFile == null ? void 0 : cachedDeclarationDiagnosticsForFile.get(sourceFile.path); - if (!result) { - (cachedDeclarationDiagnosticsForFile ?? (cachedDeclarationDiagnosticsForFile = /* @__PURE__ */ new Map())).set( - sourceFile.path, - result = getDeclarationDiagnosticsForFileNoCache(sourceFile, cancellationToken) - ); - } - return result; - } - function getDeclarationDiagnosticsForFileNoCache(sourceFile, cancellationToken) { - return runWithCancellationToken(() => { - const resolver = getTypeChecker().getEmitResolver(sourceFile, cancellationToken); - return getDeclarationDiagnostics(getEmitHost(noop), resolver, sourceFile) || emptyArray; - }); - } - function getDeclarationDiagnosticsForFile(sourceFile, cancellationToken) { - return sourceFile.isDeclarationFile ? emptyArray : getDeclarationDiagnosticsWorker(sourceFile, cancellationToken); - } - function getOptionsDiagnostics() { - return sortAndDeduplicateDiagnostics(concatenate( - updateAndGetProgramDiagnostics().getGlobalDiagnostics(), - getOptionsDiagnosticsOfConfigFile() - )); - } - function getOptionsDiagnosticsOfConfigFile() { - if (!options.configFile) return emptyArray; - let diagnostics = updateAndGetProgramDiagnostics().getDiagnostics(options.configFile.fileName); - forEachResolvedProjectReference2((resolvedRef) => { - diagnostics = concatenate(diagnostics, updateAndGetProgramDiagnostics().getDiagnostics(resolvedRef.sourceFile.fileName)); - }); - return diagnostics; - } - function getGlobalDiagnostics() { - return rootNames.length ? sortAndDeduplicateDiagnostics(getTypeChecker().getGlobalDiagnostics().slice()) : emptyArray; - } - function getConfigFileParsingDiagnostics2() { - return configFileParsingDiagnostics || emptyArray; - } - function processRootFile(fileName, isDefaultLib, ignoreNoDefaultLib, reason) { - processSourceFile( - normalizePath(fileName), - isDefaultLib, - ignoreNoDefaultLib, - /*packageId*/ - void 0, - reason - ); - } - function fileReferenceIsEqualTo(a, b) { - return a.fileName === b.fileName; - } - function moduleNameIsEqualTo(a, b) { - return a.kind === 80 /* Identifier */ ? b.kind === 80 /* Identifier */ && a.escapedText === b.escapedText : b.kind === 11 /* StringLiteral */ && a.text === b.text; - } - function createSyntheticImport(text, file) { - const externalHelpersModuleReference = factory.createStringLiteral(text); - const importDecl = factory.createImportDeclaration( - /*modifiers*/ - void 0, - /*importClause*/ - void 0, - externalHelpersModuleReference - ); - addInternalEmitFlags(importDecl, 2 /* NeverApplyImportHelper */); - setParent(externalHelpersModuleReference, importDecl); - setParent(importDecl, file); - externalHelpersModuleReference.flags &= ~16 /* Synthesized */; - importDecl.flags &= ~16 /* Synthesized */; - return externalHelpersModuleReference; - } - function collectExternalModuleReferences(file) { - if (file.imports) { - return; - } - const isJavaScriptFile = isSourceFileJS(file); - const isExternalModuleFile = isExternalModule(file); - let imports; - let moduleAugmentations; - let ambientModules; - if (isJavaScriptFile || !file.isDeclarationFile && (getIsolatedModules(options) || isExternalModule(file))) { - if (options.importHelpers) { - imports = [createSyntheticImport(externalHelpersModuleNameText, file)]; - } - const jsxImport = getJSXRuntimeImport(getJSXImplicitImportBase(options, file), options); - if (jsxImport) { - (imports || (imports = [])).push(createSyntheticImport(jsxImport, file)); - } - } - for (const node of file.statements) { - collectModuleReferences( - node, - /*inAmbientModule*/ - false - ); - } - if (file.flags & 4194304 /* PossiblyContainsDynamicImport */ || isJavaScriptFile) { - collectDynamicImportOrRequireOrJsDocImportCalls(file); - } - file.imports = imports || emptyArray; - file.moduleAugmentations = moduleAugmentations || emptyArray; - file.ambientModuleNames = ambientModules || emptyArray; - return; - function collectModuleReferences(node, inAmbientModule) { - if (isAnyImportOrReExport(node)) { - const moduleNameExpr = getExternalModuleName(node); - if (moduleNameExpr && isStringLiteral(moduleNameExpr) && moduleNameExpr.text && (!inAmbientModule || !isExternalModuleNameRelative(moduleNameExpr.text))) { - setParentRecursive( - node, - /*incremental*/ - false - ); - imports = append(imports, moduleNameExpr); - if (!usesUriStyleNodeCoreModules && currentNodeModulesDepth === 0 && !file.isDeclarationFile) { - usesUriStyleNodeCoreModules = startsWith(moduleNameExpr.text, "node:"); - } - } - } else if (isModuleDeclaration(node)) { - if (isAmbientModule(node) && (inAmbientModule || hasSyntacticModifier(node, 128 /* Ambient */) || file.isDeclarationFile)) { - node.name.parent = node; - const nameText = getTextOfIdentifierOrLiteral(node.name); - if (isExternalModuleFile || inAmbientModule && !isExternalModuleNameRelative(nameText)) { - (moduleAugmentations || (moduleAugmentations = [])).push(node.name); - } else if (!inAmbientModule) { - if (file.isDeclarationFile) { - (ambientModules || (ambientModules = [])).push(nameText); - } - const body = node.body; - if (body) { - for (const statement of body.statements) { - collectModuleReferences( - statement, - /*inAmbientModule*/ - true - ); - } - } - } - } - } - } - function collectDynamicImportOrRequireOrJsDocImportCalls(file2) { - const r = /import|require/g; - while (r.exec(file2.text) !== null) { - const node = getNodeAtPosition(file2, r.lastIndex); - if (isJavaScriptFile && isRequireCall( - node, - /*requireStringLiteralLikeArgument*/ - true - )) { - setParentRecursive( - node, - /*incremental*/ - false - ); - imports = append(imports, node.arguments[0]); - } else if (isImportCall(node) && node.arguments.length >= 1 && isStringLiteralLike(node.arguments[0])) { - setParentRecursive( - node, - /*incremental*/ - false - ); - imports = append(imports, node.arguments[0]); - } else if (isLiteralImportTypeNode(node)) { - setParentRecursive( - node, - /*incremental*/ - false - ); - imports = append(imports, node.argument.literal); - } else if (isJavaScriptFile && isJSDocImportTag(node)) { - const moduleNameExpr = getExternalModuleName(node); - if (moduleNameExpr && isStringLiteral(moduleNameExpr) && moduleNameExpr.text) { - setParentRecursive( - node, - /*incremental*/ - false - ); - imports = append(imports, moduleNameExpr); - } - } - } - } - function getNodeAtPosition(sourceFile, position) { - let current = sourceFile; - const getContainingChild = (child) => { - if (child.pos <= position && (position < child.end || position === child.end && child.kind === 1 /* EndOfFileToken */)) { - return child; - } - }; - while (true) { - const child = isJavaScriptFile && hasJSDocNodes(current) && forEach(current.jsDoc, getContainingChild) || forEachChild(current, getContainingChild); - if (!child) { - return current; - } - current = child; - } - } - } - function getLibFileFromReference(ref) { - var _a2; - const libFileName = getLibFileNameFromLibReference(ref); - const actualFileName = libFileName && ((_a2 = resolvedLibReferences == null ? void 0 : resolvedLibReferences.get(libFileName)) == null ? void 0 : _a2.actual); - return actualFileName !== void 0 ? getSourceFile(actualFileName) : void 0; - } - function getSourceFileFromReference(referencingFile, ref) { - return getSourceFileFromReferenceWorker(resolveTripleslashReference(ref.fileName, referencingFile.fileName), getSourceFile); - } - function getSourceFileFromReferenceWorker(fileName, getSourceFile2, fail, reason) { - if (hasExtension(fileName)) { - const canonicalFileName = host.getCanonicalFileName(fileName); - if (!options.allowNonTsExtensions && !forEach(flatten(supportedExtensionsWithJsonIfResolveJsonModule), (extension) => fileExtensionIs(canonicalFileName, extension))) { - if (fail) { - if (hasJSFileExtension(canonicalFileName)) { - fail(Diagnostics.File_0_is_a_JavaScript_file_Did_you_mean_to_enable_the_allowJs_option, fileName); - } else { - fail(Diagnostics.File_0_has_an_unsupported_extension_The_only_supported_extensions_are_1, fileName, "'" + flatten(supportedExtensions).join("', '") + "'"); - } - } - return void 0; - } - const sourceFile = getSourceFile2(fileName); - if (fail) { - if (!sourceFile) { - const redirect = getProjectReferenceRedirect(fileName); - if (redirect) { - fail(Diagnostics.Output_file_0_has_not_been_built_from_source_file_1, redirect, fileName); - } else { - fail(Diagnostics.File_0_not_found, fileName); - } - } else if (isReferencedFile(reason) && canonicalFileName === host.getCanonicalFileName(getSourceFileByPath(reason.file).fileName)) { - fail(Diagnostics.A_file_cannot_have_a_reference_to_itself); - } - } - return sourceFile; - } else { - const sourceFileNoExtension = options.allowNonTsExtensions && getSourceFile2(fileName); - if (sourceFileNoExtension) return sourceFileNoExtension; - if (fail && options.allowNonTsExtensions) { - fail(Diagnostics.File_0_not_found, fileName); - return void 0; - } - const sourceFileWithAddedExtension = forEach(supportedExtensions[0], (extension) => getSourceFile2(fileName + extension)); - if (fail && !sourceFileWithAddedExtension) fail(Diagnostics.Could_not_resolve_the_path_0_with_the_extensions_Colon_1, fileName, "'" + flatten(supportedExtensions).join("', '") + "'"); - return sourceFileWithAddedExtension; - } - } - function processSourceFile(fileName, isDefaultLib, ignoreNoDefaultLib, packageId, reason) { - getSourceFileFromReferenceWorker( - fileName, - (fileName2) => findSourceFile(fileName2, isDefaultLib, ignoreNoDefaultLib, reason, packageId), - // TODO: GH#18217 - (diagnostic, ...args) => addFilePreprocessingFileExplainingDiagnostic( - /*file*/ - void 0, - reason, - diagnostic, - args - ), - reason - ); - } - function processProjectReferenceFile(fileName, reason) { - return processSourceFile( - fileName, - /*isDefaultLib*/ - false, - /*ignoreNoDefaultLib*/ - false, - /*packageId*/ - void 0, - reason - ); - } - function reportFileNamesDifferOnlyInCasingError(fileName, existingFile, reason) { - const hasExistingReasonToReportErrorOn = !isReferencedFile(reason) && some(fileReasons.get(existingFile.path), isReferencedFile); - if (hasExistingReasonToReportErrorOn) { - addFilePreprocessingFileExplainingDiagnostic(existingFile, reason, Diagnostics.Already_included_file_name_0_differs_from_file_name_1_only_in_casing, [existingFile.fileName, fileName]); - } else { - addFilePreprocessingFileExplainingDiagnostic(existingFile, reason, Diagnostics.File_name_0_differs_from_already_included_file_name_1_only_in_casing, [fileName, existingFile.fileName]); - } - } - function createRedirectedSourceFile(redirectTarget, unredirected, fileName, path, resolvedPath, originalFileName, sourceFileOptions) { - var _a2; - const redirect = parseNodeFactory.createRedirectedSourceFile({ redirectTarget, unredirected }); - redirect.fileName = fileName; - redirect.path = path; - redirect.resolvedPath = resolvedPath; - redirect.originalFileName = originalFileName; - redirect.packageJsonLocations = ((_a2 = sourceFileOptions.packageJsonLocations) == null ? void 0 : _a2.length) ? sourceFileOptions.packageJsonLocations : void 0; - redirect.packageJsonScope = sourceFileOptions.packageJsonScope; - sourceFilesFoundSearchingNodeModules.set(path, currentNodeModulesDepth > 0); - return redirect; - } - function findSourceFile(fileName, isDefaultLib, ignoreNoDefaultLib, reason, packageId) { - var _a2, _b2; - (_a2 = tracing) == null ? void 0 : _a2.push(tracing.Phase.Program, "findSourceFile", { - fileName, - isDefaultLib: isDefaultLib || void 0, - fileIncludeKind: FileIncludeKind[reason.kind] - }); - const result = findSourceFileWorker(fileName, isDefaultLib, ignoreNoDefaultLib, reason, packageId); - (_b2 = tracing) == null ? void 0 : _b2.pop(); - return result; - } - function getCreateSourceFileOptions(fileName, moduleResolutionCache2, host2, options2) { - const result = getImpliedNodeFormatForFileWorker(getNormalizedAbsolutePath(fileName, currentDirectory), moduleResolutionCache2 == null ? void 0 : moduleResolutionCache2.getPackageJsonInfoCache(), host2, options2); - const languageVersion = getEmitScriptTarget(options2); - const setExternalModuleIndicator2 = getSetExternalModuleIndicator(options2); - return typeof result === "object" ? { ...result, languageVersion, setExternalModuleIndicator: setExternalModuleIndicator2, jsDocParsingMode: host2.jsDocParsingMode } : { languageVersion, impliedNodeFormat: result, setExternalModuleIndicator: setExternalModuleIndicator2, jsDocParsingMode: host2.jsDocParsingMode }; - } - function findSourceFileWorker(fileName, isDefaultLib, ignoreNoDefaultLib, reason, packageId) { - var _a2; - const path = toPath3(fileName); - if (useSourceOfProjectReferenceRedirect) { - let source = getSourceOfProjectReferenceRedirect(path); - if (!source && host.realpath && options.preserveSymlinks && isDeclarationFileName(fileName) && fileName.includes(nodeModulesPathPart)) { - const realPath2 = toPath3(host.realpath(fileName)); - if (realPath2 !== path) source = getSourceOfProjectReferenceRedirect(realPath2); - } - if (source) { - const file2 = isString(source) ? findSourceFile(source, isDefaultLib, ignoreNoDefaultLib, reason, packageId) : void 0; - if (file2) addFileToFilesByName( - file2, - path, - fileName, - /*redirectedPath*/ - void 0 - ); - return file2; - } - } - const originalFileName = fileName; - if (filesByName.has(path)) { - const file2 = filesByName.get(path); - const addedReason = addFileIncludeReason( - file2 || void 0, - reason, - /*checkExisting*/ - true - ); - if (file2 && addedReason && !(options.forceConsistentCasingInFileNames === false)) { - const checkedName = file2.fileName; - const isRedirect = toPath3(checkedName) !== toPath3(fileName); - if (isRedirect) { - fileName = getProjectReferenceRedirect(fileName) || fileName; - } - const checkedAbsolutePath = getNormalizedAbsolutePathWithoutRoot(checkedName, currentDirectory); - const inputAbsolutePath = getNormalizedAbsolutePathWithoutRoot(fileName, currentDirectory); - if (checkedAbsolutePath !== inputAbsolutePath) { - reportFileNamesDifferOnlyInCasingError(fileName, file2, reason); - } - } - if (file2 && sourceFilesFoundSearchingNodeModules.get(file2.path) && currentNodeModulesDepth === 0) { - sourceFilesFoundSearchingNodeModules.set(file2.path, false); - if (!options.noResolve) { - processReferencedFiles(file2, isDefaultLib); - processTypeReferenceDirectives(file2); - } - if (!options.noLib) { - processLibReferenceDirectives(file2); - } - modulesWithElidedImports.set(file2.path, false); - processImportedModules(file2); - } else if (file2 && modulesWithElidedImports.get(file2.path)) { - if (currentNodeModulesDepth < maxNodeModuleJsDepth) { - modulesWithElidedImports.set(file2.path, false); - processImportedModules(file2); - } - } - return file2 || void 0; - } - let redirectedPath; - if (!useSourceOfProjectReferenceRedirect) { - const redirectProject = getProjectReferenceRedirectProject(fileName); - if (redirectProject) { - if (redirectProject.commandLine.options.outFile) { - return void 0; - } - const redirect = getProjectReferenceOutputName(redirectProject, fileName); - fileName = redirect; - redirectedPath = toPath3(redirect); - } - } - const sourceFileOptions = getCreateSourceFileOptions(fileName, moduleResolutionCache, host, options); - const file = host.getSourceFile( - fileName, - sourceFileOptions, - (hostErrorMessage) => addFilePreprocessingFileExplainingDiagnostic( - /*file*/ - void 0, - reason, - Diagnostics.Cannot_read_file_0_Colon_1, - [fileName, hostErrorMessage] - ), - shouldCreateNewSourceFile - ); - if (packageId) { - const packageIdKey = packageIdToString(packageId); - const fileFromPackageId = packageIdToSourceFile.get(packageIdKey); - if (fileFromPackageId) { - const dupFile = createRedirectedSourceFile(fileFromPackageId, file, fileName, path, toPath3(fileName), originalFileName, sourceFileOptions); - redirectTargetsMap.add(fileFromPackageId.path, fileName); - addFileToFilesByName(dupFile, path, fileName, redirectedPath); - addFileIncludeReason( - dupFile, - reason, - /*checkExisting*/ - false - ); - sourceFileToPackageName.set(path, packageIdToPackageName(packageId)); - processingOtherFiles.push(dupFile); - return dupFile; - } else if (file) { - packageIdToSourceFile.set(packageIdKey, file); - sourceFileToPackageName.set(path, packageIdToPackageName(packageId)); - } - } - addFileToFilesByName(file, path, fileName, redirectedPath); - if (file) { - sourceFilesFoundSearchingNodeModules.set(path, currentNodeModulesDepth > 0); - file.fileName = fileName; - file.path = path; - file.resolvedPath = toPath3(fileName); - file.originalFileName = originalFileName; - file.packageJsonLocations = ((_a2 = sourceFileOptions.packageJsonLocations) == null ? void 0 : _a2.length) ? sourceFileOptions.packageJsonLocations : void 0; - file.packageJsonScope = sourceFileOptions.packageJsonScope; - addFileIncludeReason( - file, - reason, - /*checkExisting*/ - false - ); - if (host.useCaseSensitiveFileNames()) { - const pathLowerCase = toFileNameLowerCase(path); - const existingFile = filesByNameIgnoreCase.get(pathLowerCase); - if (existingFile) { - reportFileNamesDifferOnlyInCasingError(fileName, existingFile, reason); - } else { - filesByNameIgnoreCase.set(pathLowerCase, file); - } - } - skipDefaultLib = skipDefaultLib || file.hasNoDefaultLib && !ignoreNoDefaultLib; - if (!options.noResolve) { - processReferencedFiles(file, isDefaultLib); - processTypeReferenceDirectives(file); - } - if (!options.noLib) { - processLibReferenceDirectives(file); - } - processImportedModules(file); - if (isDefaultLib) { - processingDefaultLibFiles.push(file); - } else { - processingOtherFiles.push(file); - } - (filesWithReferencesProcessed ?? (filesWithReferencesProcessed = /* @__PURE__ */ new Set())).add(file.path); - } - return file; - } - function addFileIncludeReason(file, reason, checkExisting) { - if (file && (!checkExisting || !isReferencedFile(reason) || !(filesWithReferencesProcessed == null ? void 0 : filesWithReferencesProcessed.has(reason.file)))) { - fileReasons.add(file.path, reason); - return true; - } - return false; - } - function addFileToFilesByName(file, path, fileName, redirectedPath) { - if (redirectedPath) { - updateFilesByNameMap(fileName, redirectedPath, file); - updateFilesByNameMap(fileName, path, file || false); - } else { - updateFilesByNameMap(fileName, path, file); - } - } - function updateFilesByNameMap(fileName, path, file) { - filesByName.set(path, file); - if (file !== void 0) missingFileNames.delete(path); - else missingFileNames.set(path, fileName); - } - function getProjectReferenceRedirect(fileName) { - const referencedProject = getProjectReferenceRedirectProject(fileName); - return referencedProject && getProjectReferenceOutputName(referencedProject, fileName); - } - function getProjectReferenceRedirectProject(fileName) { - if (!resolvedProjectReferences || !resolvedProjectReferences.length || isDeclarationFileName(fileName) || fileExtensionIs(fileName, ".json" /* Json */)) { - return void 0; - } - return getResolvedProjectReferenceToRedirect(fileName); - } - function getProjectReferenceOutputName(referencedProject, fileName) { - const out = referencedProject.commandLine.options.outFile; - return out ? changeExtension(out, ".d.ts" /* Dts */) : getOutputDeclarationFileName(fileName, referencedProject.commandLine, !host.useCaseSensitiveFileNames()); - } - function getResolvedProjectReferenceToRedirect(fileName) { - if (mapFromFileToProjectReferenceRedirects === void 0) { - mapFromFileToProjectReferenceRedirects = /* @__PURE__ */ new Map(); - forEachResolvedProjectReference2((referencedProject) => { - if (toPath3(options.configFilePath) !== referencedProject.sourceFile.path) { - referencedProject.commandLine.fileNames.forEach((f) => mapFromFileToProjectReferenceRedirects.set(toPath3(f), referencedProject.sourceFile.path)); - } - }); - } - const referencedProjectPath = mapFromFileToProjectReferenceRedirects.get(toPath3(fileName)); - return referencedProjectPath && getResolvedProjectReferenceByPath(referencedProjectPath); - } - function forEachResolvedProjectReference2(cb) { - return forEachResolvedProjectReference(resolvedProjectReferences, cb); - } - function getSourceOfProjectReferenceRedirect(path) { - if (!isDeclarationFileName(path)) return void 0; - if (mapFromToProjectReferenceRedirectSource === void 0) { - mapFromToProjectReferenceRedirectSource = /* @__PURE__ */ new Map(); - forEachResolvedProjectReference2((resolvedRef) => { - const out = resolvedRef.commandLine.options.outFile; - if (out) { - const outputDts = changeExtension(out, ".d.ts" /* Dts */); - mapFromToProjectReferenceRedirectSource.set(toPath3(outputDts), true); - } else { - const getCommonSourceDirectory3 = memoize(() => getCommonSourceDirectoryOfConfig(resolvedRef.commandLine, !host.useCaseSensitiveFileNames())); - forEach(resolvedRef.commandLine.fileNames, (fileName) => { - if (!isDeclarationFileName(fileName) && !fileExtensionIs(fileName, ".json" /* Json */)) { - const outputDts = getOutputDeclarationFileName(fileName, resolvedRef.commandLine, !host.useCaseSensitiveFileNames(), getCommonSourceDirectory3); - mapFromToProjectReferenceRedirectSource.set(toPath3(outputDts), fileName); - } - }); - } - }); - } - return mapFromToProjectReferenceRedirectSource.get(path); - } - function isSourceOfProjectReferenceRedirect(fileName) { - return useSourceOfProjectReferenceRedirect && !!getResolvedProjectReferenceToRedirect(fileName); - } - function getResolvedProjectReferenceByPath(projectReferencePath) { - if (!projectReferenceRedirects) { - return void 0; - } - return projectReferenceRedirects.get(projectReferencePath) || void 0; - } - function processReferencedFiles(file, isDefaultLib) { - forEach(file.referencedFiles, (ref, index) => { - processSourceFile( - resolveTripleslashReference(ref.fileName, file.fileName), - isDefaultLib, - /*ignoreNoDefaultLib*/ - false, - /*packageId*/ - void 0, - { kind: 4 /* ReferenceFile */, file: file.path, index } - ); - }); - } - function processTypeReferenceDirectives(file) { - const typeDirectives = file.typeReferenceDirectives; - if (!typeDirectives.length) return; - const resolutions = (resolvedTypeReferenceDirectiveNamesProcessing == null ? void 0 : resolvedTypeReferenceDirectiveNamesProcessing.get(file.path)) || resolveTypeReferenceDirectiveNamesReusingOldState(typeDirectives, file); - const resolutionsInFile = createModeAwareCache(); - (resolvedTypeReferenceDirectiveNames ?? (resolvedTypeReferenceDirectiveNames = /* @__PURE__ */ new Map())).set(file.path, resolutionsInFile); - for (let index = 0; index < typeDirectives.length; index++) { - const ref = file.typeReferenceDirectives[index]; - const resolvedTypeReferenceDirective = resolutions[index]; - const fileName = ref.fileName; - resolutionsInFile.set(fileName, getModeForFileReference(ref, file.impliedNodeFormat), resolvedTypeReferenceDirective); - const mode = ref.resolutionMode || getDefaultResolutionModeForFile2(file); - processTypeReferenceDirective(fileName, mode, resolvedTypeReferenceDirective, { kind: 5 /* TypeReferenceDirective */, file: file.path, index }); - } - } - function getCompilerOptionsForFile(file) { - var _a2; - return ((_a2 = getRedirectReferenceForResolution(file)) == null ? void 0 : _a2.commandLine.options) || options; - } - function processTypeReferenceDirective(typeReferenceDirective, mode, resolution, reason) { - var _a2, _b2; - (_a2 = tracing) == null ? void 0 : _a2.push(tracing.Phase.Program, "processTypeReferenceDirective", { directive: typeReferenceDirective, hasResolved: !!resolution.resolvedTypeReferenceDirective, refKind: reason.kind, refPath: isReferencedFile(reason) ? reason.file : void 0 }); - processTypeReferenceDirectiveWorker(typeReferenceDirective, mode, resolution, reason); - (_b2 = tracing) == null ? void 0 : _b2.pop(); - } - function processTypeReferenceDirectiveWorker(typeReferenceDirective, mode, resolution, reason) { - addResolutionDiagnostics(resolution); - const { resolvedTypeReferenceDirective } = resolution; - if (resolvedTypeReferenceDirective) { - if (resolvedTypeReferenceDirective.isExternalLibraryImport) currentNodeModulesDepth++; - processSourceFile( - resolvedTypeReferenceDirective.resolvedFileName, - /*isDefaultLib*/ - false, - /*ignoreNoDefaultLib*/ - false, - resolvedTypeReferenceDirective.packageId, - reason - ); - if (resolvedTypeReferenceDirective.isExternalLibraryImport) currentNodeModulesDepth--; - } else { - addFilePreprocessingFileExplainingDiagnostic( - /*file*/ - void 0, - reason, - Diagnostics.Cannot_find_type_definition_file_for_0, - [typeReferenceDirective] - ); - } - } - function pathForLibFile(libFileName) { - const existing = resolvedLibReferences == null ? void 0 : resolvedLibReferences.get(libFileName); - if (existing) return existing.actual; - const result = pathForLibFileWorker(libFileName); - (resolvedLibReferences ?? (resolvedLibReferences = /* @__PURE__ */ new Map())).set(libFileName, result); - return result.actual; - } - function pathForLibFileWorker(libFileName) { - var _a2, _b2, _c2, _d2, _e2; - const existing = resolvedLibProcessing == null ? void 0 : resolvedLibProcessing.get(libFileName); - if (existing) return existing; - if (structureIsReused !== 0 /* Not */ && oldProgram && !hasInvalidatedLibResolutions(libFileName)) { - const oldResolution = (_a2 = oldProgram.resolvedLibReferences) == null ? void 0 : _a2.get(libFileName); - if (oldResolution) { - if (oldResolution.resolution && isTraceEnabled(options, host)) { - const libraryName2 = getLibraryNameFromLibFileName(libFileName); - const resolveFrom2 = getInferredLibraryNameResolveFrom(options, currentDirectory, libFileName); - trace( - host, - oldResolution.resolution.resolvedModule ? oldResolution.resolution.resolvedModule.packageId ? Diagnostics.Reusing_resolution_of_module_0_from_1_of_old_program_it_was_successfully_resolved_to_2_with_Package_ID_3 : Diagnostics.Reusing_resolution_of_module_0_from_1_of_old_program_it_was_successfully_resolved_to_2 : Diagnostics.Reusing_resolution_of_module_0_from_1_of_old_program_it_was_not_resolved, - libraryName2, - getNormalizedAbsolutePath(resolveFrom2, currentDirectory), - (_b2 = oldResolution.resolution.resolvedModule) == null ? void 0 : _b2.resolvedFileName, - ((_c2 = oldResolution.resolution.resolvedModule) == null ? void 0 : _c2.packageId) && packageIdToString(oldResolution.resolution.resolvedModule.packageId) - ); - } - (resolvedLibProcessing ?? (resolvedLibProcessing = /* @__PURE__ */ new Map())).set(libFileName, oldResolution); - return oldResolution; - } - } - const libraryName = getLibraryNameFromLibFileName(libFileName); - const resolveFrom = getInferredLibraryNameResolveFrom(options, currentDirectory, libFileName); - (_d2 = tracing) == null ? void 0 : _d2.push(tracing.Phase.Program, "resolveLibrary", { resolveFrom }); - mark("beforeResolveLibrary"); - const resolution = actualResolveLibrary(libraryName, resolveFrom, options, libFileName); - mark("afterResolveLibrary"); - measure("ResolveLibrary", "beforeResolveLibrary", "afterResolveLibrary"); - (_e2 = tracing) == null ? void 0 : _e2.pop(); - const result = { - resolution, - actual: resolution.resolvedModule ? resolution.resolvedModule.resolvedFileName : combinePaths(defaultLibraryPath, libFileName) - }; - (resolvedLibProcessing ?? (resolvedLibProcessing = /* @__PURE__ */ new Map())).set(libFileName, result); - return result; - } - function processLibReferenceDirectives(file) { - forEach(file.libReferenceDirectives, (libReference, index) => { - const libFileName = getLibFileNameFromLibReference(libReference); - if (libFileName) { - processRootFile( - pathForLibFile(libFileName), - /*isDefaultLib*/ - true, - /*ignoreNoDefaultLib*/ - true, - { kind: 7 /* LibReferenceDirective */, file: file.path, index } - ); - } else { - (fileProcessingDiagnostics || (fileProcessingDiagnostics = [])).push({ - kind: 0 /* FilePreprocessingLibReferenceDiagnostic */, - reason: { kind: 7 /* LibReferenceDirective */, file: file.path, index } - }); - } - }); - } - function getCanonicalFileName(fileName) { - return host.getCanonicalFileName(fileName); - } - function processImportedModules(file) { - collectExternalModuleReferences(file); - if (file.imports.length || file.moduleAugmentations.length) { - const moduleNames = getModuleNames(file); - const resolutions = (resolvedModulesProcessing == null ? void 0 : resolvedModulesProcessing.get(file.path)) || resolveModuleNamesReusingOldState(moduleNames, file); - Debug.assert(resolutions.length === moduleNames.length); - const optionsForFile = getCompilerOptionsForFile(file); - const resolutionsInFile = createModeAwareCache(); - (resolvedModules ?? (resolvedModules = /* @__PURE__ */ new Map())).set(file.path, resolutionsInFile); - for (let index = 0; index < moduleNames.length; index++) { - const resolution = resolutions[index].resolvedModule; - const moduleName = moduleNames[index].text; - const mode = getModeForUsageLocationWorker(file, moduleNames[index], optionsForFile); - resolutionsInFile.set(moduleName, mode, resolutions[index]); - addResolutionDiagnosticsFromResolutionOrCache(file, moduleName, resolutions[index], mode); - if (!resolution) { - continue; - } - const isFromNodeModulesSearch = resolution.isExternalLibraryImport; - const isJsFile = !resolutionExtensionIsTSOrJson(resolution.extension) && !getProjectReferenceRedirectProject(resolution.resolvedFileName); - const isJsFileFromNodeModules = isFromNodeModulesSearch && isJsFile && (!resolution.originalPath || pathContainsNodeModules(resolution.resolvedFileName)); - const resolvedFileName = resolution.resolvedFileName; - if (isFromNodeModulesSearch) { - currentNodeModulesDepth++; - } - const elideImport = isJsFileFromNodeModules && currentNodeModulesDepth > maxNodeModuleJsDepth; - const shouldAddFile = resolvedFileName && !getResolutionDiagnostic(optionsForFile, resolution, file) && !optionsForFile.noResolve && index < file.imports.length && !elideImport && !(isJsFile && !getAllowJSCompilerOption(optionsForFile)) && (isInJSFile(file.imports[index]) || !(file.imports[index].flags & 16777216 /* JSDoc */)); - if (elideImport) { - modulesWithElidedImports.set(file.path, true); - } else if (shouldAddFile) { - findSourceFile( - resolvedFileName, - /*isDefaultLib*/ - false, - /*ignoreNoDefaultLib*/ - false, - { kind: 3 /* Import */, file: file.path, index }, - resolution.packageId - ); - } - if (isFromNodeModulesSearch) { - currentNodeModulesDepth--; - } - } - } - } - function checkSourceFilesBelongToPath(sourceFiles, rootDirectory) { - let allFilesBelongToPath = true; - const absoluteRootDirectoryPath = host.getCanonicalFileName(getNormalizedAbsolutePath(rootDirectory, currentDirectory)); - for (const sourceFile of sourceFiles) { - if (!sourceFile.isDeclarationFile) { - const absoluteSourceFilePath = host.getCanonicalFileName(getNormalizedAbsolutePath(sourceFile.fileName, currentDirectory)); - if (absoluteSourceFilePath.indexOf(absoluteRootDirectoryPath) !== 0) { - addLazyProgramDiagnosticExplainingFile( - sourceFile, - Diagnostics.File_0_is_not_under_rootDir_1_rootDir_is_expected_to_contain_all_source_files, - [sourceFile.fileName, rootDirectory] - ); - allFilesBelongToPath = false; - } - } - } - return allFilesBelongToPath; - } - function parseProjectReferenceConfigFile(ref) { - if (!projectReferenceRedirects) { - projectReferenceRedirects = /* @__PURE__ */ new Map(); - } - const refPath = resolveProjectReferencePath(ref); - const sourceFilePath = toPath3(refPath); - const fromCache = projectReferenceRedirects.get(sourceFilePath); - if (fromCache !== void 0) { - return fromCache || void 0; - } - let commandLine; - let sourceFile; - if (host.getParsedCommandLine) { - commandLine = host.getParsedCommandLine(refPath); - if (!commandLine) { - addFileToFilesByName( - /*file*/ - void 0, - sourceFilePath, - refPath, - /*redirectedPath*/ - void 0 - ); - projectReferenceRedirects.set(sourceFilePath, false); - return void 0; - } - sourceFile = Debug.checkDefined(commandLine.options.configFile); - Debug.assert(!sourceFile.path || sourceFile.path === sourceFilePath); - addFileToFilesByName( - sourceFile, - sourceFilePath, - refPath, - /*redirectedPath*/ - void 0 - ); - } else { - const basePath = getNormalizedAbsolutePath(getDirectoryPath(refPath), currentDirectory); - sourceFile = host.getSourceFile(refPath, 100 /* JSON */); - addFileToFilesByName( - sourceFile, - sourceFilePath, - refPath, - /*redirectedPath*/ - void 0 - ); - if (sourceFile === void 0) { - projectReferenceRedirects.set(sourceFilePath, false); - return void 0; - } - commandLine = parseJsonSourceFileConfigFileContent( - sourceFile, - configParsingHost, - basePath, - /*existingOptions*/ - void 0, - refPath - ); - } - sourceFile.fileName = refPath; - sourceFile.path = sourceFilePath; - sourceFile.resolvedPath = sourceFilePath; - sourceFile.originalFileName = refPath; - const resolvedRef = { commandLine, sourceFile }; - projectReferenceRedirects.set(sourceFilePath, resolvedRef); - if (commandLine.projectReferences) { - resolvedRef.references = commandLine.projectReferences.map(parseProjectReferenceConfigFile); - } - return resolvedRef; - } - function verifyCompilerOptions() { - if (options.strictPropertyInitialization && !getStrictOptionValue(options, "strictNullChecks")) { - createDiagnosticForOptionName(Diagnostics.Option_0_cannot_be_specified_without_specifying_option_1, "strictPropertyInitialization", "strictNullChecks"); - } - if (options.exactOptionalPropertyTypes && !getStrictOptionValue(options, "strictNullChecks")) { - createDiagnosticForOptionName(Diagnostics.Option_0_cannot_be_specified_without_specifying_option_1, "exactOptionalPropertyTypes", "strictNullChecks"); - } - if (options.isolatedModules || options.verbatimModuleSyntax) { - if (options.outFile) { - createDiagnosticForOptionName(Diagnostics.Option_0_cannot_be_specified_with_option_1, "outFile", options.verbatimModuleSyntax ? "verbatimModuleSyntax" : "isolatedModules"); - } - } - if (options.isolatedDeclarations) { - if (getAllowJSCompilerOption(options)) { - createDiagnosticForOptionName(Diagnostics.Option_0_cannot_be_specified_with_option_1, "allowJs", "isolatedDeclarations"); - } - if (!getEmitDeclarations(options)) { - createDiagnosticForOptionName(Diagnostics.Option_0_cannot_be_specified_without_specifying_option_1_or_option_2, "isolatedDeclarations", "declaration", "composite"); - } - } - if (options.inlineSourceMap) { - if (options.sourceMap) { - createDiagnosticForOptionName(Diagnostics.Option_0_cannot_be_specified_with_option_1, "sourceMap", "inlineSourceMap"); - } - if (options.mapRoot) { - createDiagnosticForOptionName(Diagnostics.Option_0_cannot_be_specified_with_option_1, "mapRoot", "inlineSourceMap"); - } - } - if (options.composite) { - if (options.declaration === false) { - createDiagnosticForOptionName(Diagnostics.Composite_projects_may_not_disable_declaration_emit, "declaration"); - } - if (options.incremental === false) { - createDiagnosticForOptionName(Diagnostics.Composite_projects_may_not_disable_incremental_compilation, "declaration"); - } - } - const outputFile = options.outFile; - if (!options.tsBuildInfoFile && options.incremental && !outputFile && !options.configFilePath) { - programDiagnostics.add(createCompilerDiagnostic(Diagnostics.Option_incremental_can_only_be_specified_using_tsconfig_emitting_to_single_file_or_when_option_tsBuildInfoFile_is_specified)); - } - verifyDeprecatedCompilerOptions(); - verifyProjectReferences(); - if (options.composite) { - const rootPaths = new Set(rootNames.map(toPath3)); - for (const file of files) { - if (sourceFileMayBeEmitted(file, program) && !rootPaths.has(file.path)) { - addLazyProgramDiagnosticExplainingFile( - file, - Diagnostics.File_0_is_not_listed_within_the_file_list_of_project_1_Projects_must_list_all_files_or_use_an_include_pattern, - [file.fileName, options.configFilePath || ""] - ); - } - } - } - if (options.paths) { - for (const key in options.paths) { - if (!hasProperty(options.paths, key)) { - continue; - } - if (!hasZeroOrOneAsteriskCharacter(key)) { - createDiagnosticForOptionPaths( - /*onKey*/ - true, - key, - Diagnostics.Pattern_0_can_have_at_most_one_Asterisk_character, - key - ); - } - if (isArray(options.paths[key])) { - const len = options.paths[key].length; - if (len === 0) { - createDiagnosticForOptionPaths( - /*onKey*/ - false, - key, - Diagnostics.Substitutions_for_pattern_0_shouldn_t_be_an_empty_array, - key - ); - } - for (let i = 0; i < len; i++) { - const subst = options.paths[key][i]; - const typeOfSubst = typeof subst; - if (typeOfSubst === "string") { - if (!hasZeroOrOneAsteriskCharacter(subst)) { - createDiagnosticForOptionPathKeyValue(key, i, Diagnostics.Substitution_0_in_pattern_1_can_have_at_most_one_Asterisk_character, subst, key); - } - if (!options.baseUrl && !pathIsRelative(subst) && !pathIsAbsolute(subst)) { - createDiagnosticForOptionPathKeyValue(key, i, Diagnostics.Non_relative_paths_are_not_allowed_when_baseUrl_is_not_set_Did_you_forget_a_leading_Slash); - } - } else { - createDiagnosticForOptionPathKeyValue(key, i, Diagnostics.Substitution_0_for_pattern_1_has_incorrect_type_expected_string_got_2, subst, key, typeOfSubst); - } - } - } else { - createDiagnosticForOptionPaths( - /*onKey*/ - false, - key, - Diagnostics.Substitutions_for_pattern_0_should_be_an_array, - key - ); - } - } - } - if (!options.sourceMap && !options.inlineSourceMap) { - if (options.inlineSources) { - createDiagnosticForOptionName(Diagnostics.Option_0_can_only_be_used_when_either_option_inlineSourceMap_or_option_sourceMap_is_provided, "inlineSources"); - } - if (options.sourceRoot) { - createDiagnosticForOptionName(Diagnostics.Option_0_can_only_be_used_when_either_option_inlineSourceMap_or_option_sourceMap_is_provided, "sourceRoot"); - } - } - if (options.mapRoot && !(options.sourceMap || options.declarationMap)) { - createDiagnosticForOptionName(Diagnostics.Option_0_cannot_be_specified_without_specifying_option_1_or_option_2, "mapRoot", "sourceMap", "declarationMap"); - } - if (options.declarationDir) { - if (!getEmitDeclarations(options)) { - createDiagnosticForOptionName(Diagnostics.Option_0_cannot_be_specified_without_specifying_option_1_or_option_2, "declarationDir", "declaration", "composite"); - } - if (outputFile) { - createDiagnosticForOptionName(Diagnostics.Option_0_cannot_be_specified_with_option_1, "declarationDir", "outFile"); - } - } - if (options.declarationMap && !getEmitDeclarations(options)) { - createDiagnosticForOptionName(Diagnostics.Option_0_cannot_be_specified_without_specifying_option_1_or_option_2, "declarationMap", "declaration", "composite"); - } - if (options.lib && options.noLib) { - createDiagnosticForOptionName(Diagnostics.Option_0_cannot_be_specified_with_option_1, "lib", "noLib"); - } - const languageVersion = getEmitScriptTarget(options); - const firstNonAmbientExternalModuleSourceFile = find(files, (f) => isExternalModule(f) && !f.isDeclarationFile); - if (options.isolatedModules || options.verbatimModuleSyntax) { - if (options.module === 0 /* None */ && languageVersion < 2 /* ES2015 */ && options.isolatedModules) { - createDiagnosticForOptionName(Diagnostics.Option_isolatedModules_can_only_be_used_when_either_option_module_is_provided_or_option_target_is_ES2015_or_higher, "isolatedModules", "target"); - } - if (options.preserveConstEnums === false) { - createDiagnosticForOptionName(Diagnostics.Option_preserveConstEnums_cannot_be_disabled_when_0_is_enabled, options.verbatimModuleSyntax ? "verbatimModuleSyntax" : "isolatedModules", "preserveConstEnums"); - } - } else if (firstNonAmbientExternalModuleSourceFile && languageVersion < 2 /* ES2015 */ && options.module === 0 /* None */) { - const span = getErrorSpanForNode(firstNonAmbientExternalModuleSourceFile, typeof firstNonAmbientExternalModuleSourceFile.externalModuleIndicator === "boolean" ? firstNonAmbientExternalModuleSourceFile : firstNonAmbientExternalModuleSourceFile.externalModuleIndicator); - programDiagnostics.add(createFileDiagnostic(firstNonAmbientExternalModuleSourceFile, span.start, span.length, Diagnostics.Cannot_use_imports_exports_or_module_augmentations_when_module_is_none)); - } - if (outputFile && !options.emitDeclarationOnly) { - if (options.module && !(options.module === 2 /* AMD */ || options.module === 4 /* System */)) { - createDiagnosticForOptionName(Diagnostics.Only_amd_and_system_modules_are_supported_alongside_0, "outFile", "module"); - } else if (options.module === void 0 && firstNonAmbientExternalModuleSourceFile) { - const span = getErrorSpanForNode(firstNonAmbientExternalModuleSourceFile, typeof firstNonAmbientExternalModuleSourceFile.externalModuleIndicator === "boolean" ? firstNonAmbientExternalModuleSourceFile : firstNonAmbientExternalModuleSourceFile.externalModuleIndicator); - programDiagnostics.add(createFileDiagnostic(firstNonAmbientExternalModuleSourceFile, span.start, span.length, Diagnostics.Cannot_compile_modules_using_option_0_unless_the_module_flag_is_amd_or_system, "outFile")); - } - } - if (getResolveJsonModule(options)) { - if (getEmitModuleResolutionKind(options) === 1 /* Classic */) { - createDiagnosticForOptionName(Diagnostics.Option_resolveJsonModule_cannot_be_specified_when_moduleResolution_is_set_to_classic, "resolveJsonModule"); - } else if (!hasJsonModuleEmitEnabled(options)) { - createDiagnosticForOptionName(Diagnostics.Option_resolveJsonModule_cannot_be_specified_when_module_is_set_to_none_system_or_umd, "resolveJsonModule", "module"); - } - } - if (options.outDir || // there is --outDir specified - options.rootDir || // there is --rootDir specified - options.sourceRoot || // there is --sourceRoot specified - options.mapRoot || // there is --mapRoot specified - getEmitDeclarations(options) && options.declarationDir) { - const dir = getCommonSourceDirectory2(); - if (options.outDir && dir === "" && files.some((file) => getRootLength(file.fileName) > 1)) { - createDiagnosticForOptionName(Diagnostics.Cannot_find_the_common_subdirectory_path_for_the_input_files, "outDir"); - } - } - if (options.checkJs && !getAllowJSCompilerOption(options)) { - createDiagnosticForOptionName(Diagnostics.Option_0_cannot_be_specified_without_specifying_option_1, "checkJs", "allowJs"); - } - if (options.emitDeclarationOnly) { - if (!getEmitDeclarations(options)) { - createDiagnosticForOptionName(Diagnostics.Option_0_cannot_be_specified_without_specifying_option_1_or_option_2, "emitDeclarationOnly", "declaration", "composite"); - } - } - if (options.emitDecoratorMetadata && !options.experimentalDecorators) { - createDiagnosticForOptionName(Diagnostics.Option_0_cannot_be_specified_without_specifying_option_1, "emitDecoratorMetadata", "experimentalDecorators"); - } - if (options.jsxFactory) { - if (options.reactNamespace) { - createDiagnosticForOptionName(Diagnostics.Option_0_cannot_be_specified_with_option_1, "reactNamespace", "jsxFactory"); - } - if (options.jsx === 4 /* ReactJSX */ || options.jsx === 5 /* ReactJSXDev */) { - createDiagnosticForOptionName(Diagnostics.Option_0_cannot_be_specified_when_option_jsx_is_1, "jsxFactory", inverseJsxOptionMap.get("" + options.jsx)); - } - if (!parseIsolatedEntityName(options.jsxFactory, languageVersion)) { - createOptionValueDiagnostic("jsxFactory", Diagnostics.Invalid_value_for_jsxFactory_0_is_not_a_valid_identifier_or_qualified_name, options.jsxFactory); - } - } else if (options.reactNamespace && !isIdentifierText(options.reactNamespace, languageVersion)) { - createOptionValueDiagnostic("reactNamespace", Diagnostics.Invalid_value_for_reactNamespace_0_is_not_a_valid_identifier, options.reactNamespace); - } - if (options.jsxFragmentFactory) { - if (!options.jsxFactory) { - createDiagnosticForOptionName(Diagnostics.Option_0_cannot_be_specified_without_specifying_option_1, "jsxFragmentFactory", "jsxFactory"); - } - if (options.jsx === 4 /* ReactJSX */ || options.jsx === 5 /* ReactJSXDev */) { - createDiagnosticForOptionName(Diagnostics.Option_0_cannot_be_specified_when_option_jsx_is_1, "jsxFragmentFactory", inverseJsxOptionMap.get("" + options.jsx)); - } - if (!parseIsolatedEntityName(options.jsxFragmentFactory, languageVersion)) { - createOptionValueDiagnostic("jsxFragmentFactory", Diagnostics.Invalid_value_for_jsxFragmentFactory_0_is_not_a_valid_identifier_or_qualified_name, options.jsxFragmentFactory); - } - } - if (options.reactNamespace) { - if (options.jsx === 4 /* ReactJSX */ || options.jsx === 5 /* ReactJSXDev */) { - createDiagnosticForOptionName(Diagnostics.Option_0_cannot_be_specified_when_option_jsx_is_1, "reactNamespace", inverseJsxOptionMap.get("" + options.jsx)); - } - } - if (options.jsxImportSource) { - if (options.jsx === 2 /* React */) { - createDiagnosticForOptionName(Diagnostics.Option_0_cannot_be_specified_when_option_jsx_is_1, "jsxImportSource", inverseJsxOptionMap.get("" + options.jsx)); - } - } - const moduleKind = getEmitModuleKind(options); - if (options.verbatimModuleSyntax) { - if (moduleKind === 2 /* AMD */ || moduleKind === 3 /* UMD */ || moduleKind === 4 /* System */) { - createDiagnosticForOptionName(Diagnostics.Option_verbatimModuleSyntax_cannot_be_used_when_module_is_set_to_UMD_AMD_or_System, "verbatimModuleSyntax"); - } - } - if (options.allowImportingTsExtensions && !(options.noEmit || options.emitDeclarationOnly)) { - createOptionValueDiagnostic("allowImportingTsExtensions", Diagnostics.Option_allowImportingTsExtensions_can_only_be_used_when_either_noEmit_or_emitDeclarationOnly_is_set); - } - const moduleResolution = getEmitModuleResolutionKind(options); - if (options.resolvePackageJsonExports && !moduleResolutionSupportsPackageJsonExportsAndImports(moduleResolution)) { - createDiagnosticForOptionName(Diagnostics.Option_0_can_only_be_used_when_moduleResolution_is_set_to_node16_nodenext_or_bundler, "resolvePackageJsonExports"); - } - if (options.resolvePackageJsonImports && !moduleResolutionSupportsPackageJsonExportsAndImports(moduleResolution)) { - createDiagnosticForOptionName(Diagnostics.Option_0_can_only_be_used_when_moduleResolution_is_set_to_node16_nodenext_or_bundler, "resolvePackageJsonImports"); - } - if (options.customConditions && !moduleResolutionSupportsPackageJsonExportsAndImports(moduleResolution)) { - createDiagnosticForOptionName(Diagnostics.Option_0_can_only_be_used_when_moduleResolution_is_set_to_node16_nodenext_or_bundler, "customConditions"); - } - if (moduleResolution === 100 /* Bundler */ && !emitModuleKindIsNonNodeESM(moduleKind) && moduleKind !== 200 /* Preserve */) { - createOptionValueDiagnostic("moduleResolution", Diagnostics.Option_0_can_only_be_used_when_module_is_set_to_preserve_or_to_es2015_or_later, "bundler"); - } - if (ModuleKind[moduleKind] && (100 /* Node16 */ <= moduleKind && moduleKind <= 199 /* NodeNext */) && !(3 /* Node16 */ <= moduleResolution && moduleResolution <= 99 /* NodeNext */)) { - const moduleKindName = ModuleKind[moduleKind]; - createOptionValueDiagnostic("moduleResolution", Diagnostics.Option_moduleResolution_must_be_set_to_0_or_left_unspecified_when_option_module_is_set_to_1, moduleKindName, moduleKindName); - } else if (ModuleResolutionKind[moduleResolution] && (3 /* Node16 */ <= moduleResolution && moduleResolution <= 99 /* NodeNext */) && !(100 /* Node16 */ <= moduleKind && moduleKind <= 199 /* NodeNext */)) { - const moduleResolutionName = ModuleResolutionKind[moduleResolution]; - createOptionValueDiagnostic("module", Diagnostics.Option_module_must_be_set_to_0_when_option_moduleResolution_is_set_to_1, moduleResolutionName, moduleResolutionName); - } - if (!options.noEmit && !options.suppressOutputPathCheck) { - const emitHost = getEmitHost(); - const emitFilesSeen = /* @__PURE__ */ new Set(); - forEachEmittedFile(emitHost, (emitFileNames) => { - if (!options.emitDeclarationOnly) { - verifyEmitFilePath(emitFileNames.jsFilePath, emitFilesSeen); - } - verifyEmitFilePath(emitFileNames.declarationFilePath, emitFilesSeen); - }); - } - function verifyEmitFilePath(emitFileName, emitFilesSeen) { - if (emitFileName) { - const emitFilePath = toPath3(emitFileName); - if (filesByName.has(emitFilePath)) { - let chain; - if (!options.configFilePath) { - chain = chainDiagnosticMessages( - /*details*/ - void 0, - 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 - ); - } - chain = chainDiagnosticMessages(chain, Diagnostics.Cannot_write_file_0_because_it_would_overwrite_input_file, emitFileName); - blockEmittingOfFile(emitFileName, createCompilerDiagnosticFromMessageChain(chain)); - } - const emitFileKey = !host.useCaseSensitiveFileNames() ? toFileNameLowerCase(emitFilePath) : emitFilePath; - if (emitFilesSeen.has(emitFileKey)) { - blockEmittingOfFile(emitFileName, createCompilerDiagnostic(Diagnostics.Cannot_write_file_0_because_it_would_be_overwritten_by_multiple_input_files, emitFileName)); - } else { - emitFilesSeen.add(emitFileKey); - } - } - } - } - function getIgnoreDeprecationsVersion() { - const ignoreDeprecations = options.ignoreDeprecations; - if (ignoreDeprecations) { - if (ignoreDeprecations === "5.0") { - return new Version(ignoreDeprecations); - } - reportInvalidIgnoreDeprecations(); - } - return Version.zero; - } - function checkDeprecations(deprecatedIn, removedIn, createDiagnostic, fn) { - const deprecatedInVersion = new Version(deprecatedIn); - const removedInVersion = new Version(removedIn); - const typescriptVersion = new Version(typeScriptVersion2 || versionMajorMinor); - const ignoreDeprecationsVersion = getIgnoreDeprecationsVersion(); - const mustBeRemoved = !(removedInVersion.compareTo(typescriptVersion) === 1 /* GreaterThan */); - const canBeSilenced = !mustBeRemoved && ignoreDeprecationsVersion.compareTo(deprecatedInVersion) === -1 /* LessThan */; - if (mustBeRemoved || canBeSilenced) { - fn((name, value, useInstead) => { - if (mustBeRemoved) { - if (value === void 0) { - createDiagnostic(name, value, useInstead, Diagnostics.Option_0_has_been_removed_Please_remove_it_from_your_configuration, name); - } else { - createDiagnostic(name, value, useInstead, Diagnostics.Option_0_1_has_been_removed_Please_remove_it_from_your_configuration, name, value); - } - } else { - if (value === void 0) { - createDiagnostic(name, value, useInstead, Diagnostics.Option_0_is_deprecated_and_will_stop_functioning_in_TypeScript_1_Specify_compilerOption_ignoreDeprecations_Colon_2_to_silence_this_error, name, removedIn, deprecatedIn); - } else { - createDiagnostic(name, value, useInstead, Diagnostics.Option_0_1_is_deprecated_and_will_stop_functioning_in_TypeScript_2_Specify_compilerOption_ignoreDeprecations_Colon_3_to_silence_this_error, name, value, removedIn, deprecatedIn); - } - } - }); - } - } - function verifyDeprecatedCompilerOptions() { - function createDiagnostic(name, value, useInstead, message, ...args) { - if (useInstead) { - const details = chainDiagnosticMessages( - /*details*/ - void 0, - Diagnostics.Use_0_instead, - useInstead - ); - const chain = chainDiagnosticMessages(details, message, ...args); - createDiagnosticForOption( - /*onKey*/ - !value, - name, - /*option2*/ - void 0, - chain - ); - } else { - createDiagnosticForOption( - /*onKey*/ - !value, - name, - /*option2*/ - void 0, - message, - ...args - ); - } - } - checkDeprecations("5.0", "5.5", createDiagnostic, (createDeprecatedDiagnostic) => { - if (options.target === 0 /* ES3 */) { - createDeprecatedDiagnostic("target", "ES3"); - } - if (options.noImplicitUseStrict) { - createDeprecatedDiagnostic("noImplicitUseStrict"); - } - if (options.keyofStringsOnly) { - createDeprecatedDiagnostic("keyofStringsOnly"); - } - if (options.suppressExcessPropertyErrors) { - createDeprecatedDiagnostic("suppressExcessPropertyErrors"); - } - if (options.suppressImplicitAnyIndexErrors) { - createDeprecatedDiagnostic("suppressImplicitAnyIndexErrors"); - } - if (options.noStrictGenericChecks) { - createDeprecatedDiagnostic("noStrictGenericChecks"); - } - if (options.charset) { - createDeprecatedDiagnostic("charset"); - } - if (options.out) { - createDeprecatedDiagnostic( - "out", - /*value*/ - void 0, - "outFile" - ); - } - if (options.importsNotUsedAsValues) { - createDeprecatedDiagnostic( - "importsNotUsedAsValues", - /*value*/ - void 0, - "verbatimModuleSyntax" - ); - } - if (options.preserveValueImports) { - createDeprecatedDiagnostic( - "preserveValueImports", - /*value*/ - void 0, - "verbatimModuleSyntax" - ); - } - }); - } - function verifyDeprecatedProjectReference(ref, parentFile, index) { - function createDiagnostic(_name, _value, _useInstead, message, ...args) { - createDiagnosticForReference(parentFile, index, message, ...args); - } - checkDeprecations("5.0", "5.5", createDiagnostic, (createDeprecatedDiagnostic) => { - if (ref.prepend) { - createDeprecatedDiagnostic("prepend"); - } - }); - } - function createDiagnosticExplainingFile(file, fileProcessingReason, diagnostic, args) { - let seenReasons; - const reasons = file && fileReasons.get(file.path); - let fileIncludeReasons; - let relatedInfo; - let locationReason = isReferencedFile(fileProcessingReason) ? fileProcessingReason : void 0; - let fileIncludeReasonDetails; - let redirectInfo; - let cachedChain = file && (fileReasonsToChain == null ? void 0 : fileReasonsToChain.get(file.path)); - let chain; - if (cachedChain) { - if (cachedChain.fileIncludeReasonDetails) { - seenReasons = new Set(reasons); - reasons == null ? void 0 : reasons.forEach(populateRelatedInfo); - } else { - reasons == null ? void 0 : reasons.forEach(processReason); - } - redirectInfo = cachedChain.redirectInfo; - } else { - reasons == null ? void 0 : reasons.forEach(processReason); - redirectInfo = file && explainIfFileIsRedirectAndImpliedFormat(file, getCompilerOptionsForFile(file)); - } - if (fileProcessingReason) processReason(fileProcessingReason); - const processedExtraReason = (seenReasons == null ? void 0 : seenReasons.size) !== (reasons == null ? void 0 : reasons.length); - if (locationReason && (seenReasons == null ? void 0 : seenReasons.size) === 1) seenReasons = void 0; - if (seenReasons && cachedChain) { - if (cachedChain.details && !processedExtraReason) { - chain = chainDiagnosticMessages(cachedChain.details, diagnostic, ...args || emptyArray); - } else if (cachedChain.fileIncludeReasonDetails) { - if (!processedExtraReason) { - if (!cachedFileIncludeDetailsHasProcessedExtraReason()) { - fileIncludeReasonDetails = cachedChain.fileIncludeReasonDetails; - } else { - fileIncludeReasons = cachedChain.fileIncludeReasonDetails.next.slice(0, reasons.length); - } - } else { - if (!cachedFileIncludeDetailsHasProcessedExtraReason()) { - fileIncludeReasons = [...cachedChain.fileIncludeReasonDetails.next, fileIncludeReasons[0]]; - } else { - fileIncludeReasons = append(cachedChain.fileIncludeReasonDetails.next.slice(0, reasons.length), fileIncludeReasons[0]); - } - } - } - } - if (!chain) { - if (!fileIncludeReasonDetails) fileIncludeReasonDetails = seenReasons && chainDiagnosticMessages(fileIncludeReasons, Diagnostics.The_file_is_in_the_program_because_Colon); - chain = chainDiagnosticMessages( - redirectInfo ? fileIncludeReasonDetails ? [fileIncludeReasonDetails, ...redirectInfo] : redirectInfo : fileIncludeReasonDetails, - diagnostic, - ...args || emptyArray - ); - } - if (file) { - if (cachedChain) { - if (!cachedChain.fileIncludeReasonDetails || !processedExtraReason && fileIncludeReasonDetails) { - cachedChain.fileIncludeReasonDetails = fileIncludeReasonDetails; - } - } else { - (fileReasonsToChain ?? (fileReasonsToChain = /* @__PURE__ */ new Map())).set(file.path, cachedChain = { fileIncludeReasonDetails, redirectInfo }); - } - if (!cachedChain.details && !processedExtraReason) cachedChain.details = chain.next; - } - const location = locationReason && getReferencedFileLocation(program, locationReason); - return location && isReferenceFileLocation(location) ? createFileDiagnosticFromMessageChain(location.file, location.pos, location.end - location.pos, chain, relatedInfo) : createCompilerDiagnosticFromMessageChain(chain, relatedInfo); - function processReason(reason) { - if (seenReasons == null ? void 0 : seenReasons.has(reason)) return; - (seenReasons ?? (seenReasons = /* @__PURE__ */ new Set())).add(reason); - (fileIncludeReasons ?? (fileIncludeReasons = [])).push(fileIncludeReasonToDiagnostics(program, reason)); - populateRelatedInfo(reason); - } - function populateRelatedInfo(reason) { - if (!locationReason && isReferencedFile(reason)) { - locationReason = reason; - } else if (locationReason !== reason) { - relatedInfo = append(relatedInfo, getFileIncludeReasonToRelatedInformation(reason)); - } - } - function cachedFileIncludeDetailsHasProcessedExtraReason() { - var _a2; - return ((_a2 = cachedChain.fileIncludeReasonDetails.next) == null ? void 0 : _a2.length) !== (reasons == null ? void 0 : reasons.length); - } - } - function addFilePreprocessingFileExplainingDiagnostic(file, fileProcessingReason, diagnostic, args) { - (fileProcessingDiagnostics || (fileProcessingDiagnostics = [])).push({ - kind: 1 /* FilePreprocessingFileExplainingDiagnostic */, - file: file && file.path, - fileProcessingReason, - diagnostic, - args - }); - } - function addLazyProgramDiagnosticExplainingFile(file, diagnostic, args) { - lazyProgramDiagnosticExplainingFile.push({ file, diagnostic, args }); - } - function getFileIncludeReasonToRelatedInformation(reason) { - let relatedInfo = reasonToRelatedInfo == null ? void 0 : reasonToRelatedInfo.get(reason); - if (relatedInfo === void 0) (reasonToRelatedInfo ?? (reasonToRelatedInfo = /* @__PURE__ */ new Map())).set(reason, relatedInfo = fileIncludeReasonToRelatedInformation(reason) ?? false); - return relatedInfo || void 0; - } - function fileIncludeReasonToRelatedInformation(reason) { - if (isReferencedFile(reason)) { - const referenceLocation = getReferencedFileLocation(program, reason); - let message2; - switch (reason.kind) { - case 3 /* Import */: - message2 = Diagnostics.File_is_included_via_import_here; - break; - case 4 /* ReferenceFile */: - message2 = Diagnostics.File_is_included_via_reference_here; - break; - case 5 /* TypeReferenceDirective */: - message2 = Diagnostics.File_is_included_via_type_library_reference_here; - break; - case 7 /* LibReferenceDirective */: - message2 = Diagnostics.File_is_included_via_library_reference_here; - break; - default: - Debug.assertNever(reason); - } - return isReferenceFileLocation(referenceLocation) ? createFileDiagnostic( - referenceLocation.file, - referenceLocation.pos, - referenceLocation.end - referenceLocation.pos, - message2 - ) : void 0; - } - if (!options.configFile) return void 0; - let configFileNode; - let message; - switch (reason.kind) { - case 0 /* RootFile */: - if (!options.configFile.configFileSpecs) return void 0; - const fileName = getNormalizedAbsolutePath(rootNames[reason.index], currentDirectory); - const matchedByFiles = getMatchedFileSpec(program, fileName); - if (matchedByFiles) { - configFileNode = getTsConfigPropArrayElementValue(options.configFile, "files", matchedByFiles); - message = Diagnostics.File_is_matched_by_files_list_specified_here; - break; - } - const matchedByInclude = getMatchedIncludeSpec(program, fileName); - if (!matchedByInclude || !isString(matchedByInclude)) return void 0; - configFileNode = getTsConfigPropArrayElementValue(options.configFile, "include", matchedByInclude); - message = Diagnostics.File_is_matched_by_include_pattern_specified_here; - break; - case 1 /* SourceFromProjectReference */: - case 2 /* OutputFromProjectReference */: - const referencedResolvedRef = Debug.checkDefined(resolvedProjectReferences == null ? void 0 : resolvedProjectReferences[reason.index]); - const referenceInfo = forEachProjectReference(projectReferences, resolvedProjectReferences, (resolvedRef, parent, index2) => resolvedRef === referencedResolvedRef ? { sourceFile: (parent == null ? void 0 : parent.sourceFile) || options.configFile, index: index2 } : void 0); - if (!referenceInfo) return void 0; - const { sourceFile, index } = referenceInfo; - const referencesSyntax = forEachTsConfigPropArray(sourceFile, "references", (property) => isArrayLiteralExpression(property.initializer) ? property.initializer : void 0); - return referencesSyntax && referencesSyntax.elements.length > index ? createDiagnosticForNodeInSourceFile( - sourceFile, - referencesSyntax.elements[index], - reason.kind === 2 /* OutputFromProjectReference */ ? Diagnostics.File_is_output_from_referenced_project_specified_here : Diagnostics.File_is_source_from_referenced_project_specified_here - ) : void 0; - case 8 /* AutomaticTypeDirectiveFile */: - if (!options.types) return void 0; - configFileNode = getOptionsSyntaxByArrayElementValue("types", reason.typeReference); - message = Diagnostics.File_is_entry_point_of_type_library_specified_here; - break; - case 6 /* LibFile */: - if (reason.index !== void 0) { - configFileNode = getOptionsSyntaxByArrayElementValue("lib", options.lib[reason.index]); - message = Diagnostics.File_is_library_specified_here; - break; - } - const target = getNameOfScriptTarget(getEmitScriptTarget(options)); - configFileNode = target ? getOptionsSyntaxByValue("target", target) : void 0; - message = Diagnostics.File_is_default_library_for_target_specified_here; - break; - default: - Debug.assertNever(reason); - } - return configFileNode && createDiagnosticForNodeInSourceFile( - options.configFile, - configFileNode, - message - ); - } - function verifyProjectReferences() { - const buildInfoPath = !options.suppressOutputPathCheck ? getTsBuildInfoEmitOutputFilePath(options) : void 0; - forEachProjectReference(projectReferences, resolvedProjectReferences, (resolvedRef, parent, index) => { - const ref = (parent ? parent.commandLine.projectReferences : projectReferences)[index]; - const parentFile = parent && parent.sourceFile; - verifyDeprecatedProjectReference(ref, parentFile, index); - if (!resolvedRef) { - createDiagnosticForReference(parentFile, index, Diagnostics.File_0_not_found, ref.path); - return; - } - const options2 = resolvedRef.commandLine.options; - if (!options2.composite || options2.noEmit) { - const inputs = parent ? parent.commandLine.fileNames : rootNames; - if (inputs.length) { - if (!options2.composite) createDiagnosticForReference(parentFile, index, Diagnostics.Referenced_project_0_must_have_setting_composite_Colon_true, ref.path); - if (options2.noEmit) createDiagnosticForReference(parentFile, index, Diagnostics.Referenced_project_0_may_not_disable_emit, ref.path); - } - } - if (!parent && buildInfoPath && buildInfoPath === getTsBuildInfoEmitOutputFilePath(options2)) { - createDiagnosticForReference(parentFile, index, Diagnostics.Cannot_write_file_0_because_it_will_overwrite_tsbuildinfo_file_generated_by_referenced_project_1, buildInfoPath, ref.path); - hasEmitBlockingDiagnostics.set(toPath3(buildInfoPath), true); - } - }); - } - function createDiagnosticForOptionPathKeyValue(key, valueIndex, message, ...args) { - let needCompilerDiagnostic = true; - forEachOptionPathsSyntax((pathProp) => { - if (isObjectLiteralExpression(pathProp.initializer)) { - forEachPropertyAssignment(pathProp.initializer, key, (keyProps) => { - const initializer = keyProps.initializer; - if (isArrayLiteralExpression(initializer) && initializer.elements.length > valueIndex) { - programDiagnostics.add(createDiagnosticForNodeInSourceFile(options.configFile, initializer.elements[valueIndex], message, ...args)); - needCompilerDiagnostic = false; - } - }); - } - }); - if (needCompilerDiagnostic) { - createCompilerOptionsDiagnostic(message, ...args); - } - } - function createDiagnosticForOptionPaths(onKey, key, message, ...args) { - let needCompilerDiagnostic = true; - forEachOptionPathsSyntax((pathProp) => { - if (isObjectLiteralExpression(pathProp.initializer) && createOptionDiagnosticInObjectLiteralSyntax( - pathProp.initializer, - onKey, - key, - /*key2*/ - void 0, - message, - ...args - )) { - needCompilerDiagnostic = false; - } - }); - if (needCompilerDiagnostic) { - createCompilerOptionsDiagnostic(message, ...args); - } - } - function forEachOptionsSyntaxByName(name, callback) { - return forEachPropertyAssignment(getCompilerOptionsObjectLiteralSyntax(), name, callback); - } - function forEachOptionPathsSyntax(callback) { - return forEachOptionsSyntaxByName("paths", callback); - } - function getOptionsSyntaxByValue(name, value) { - return forEachOptionsSyntaxByName(name, (property) => isStringLiteral(property.initializer) && property.initializer.text === value ? property.initializer : void 0); - } - function getOptionsSyntaxByArrayElementValue(name, value) { - const compilerOptionsObjectLiteralSyntax = getCompilerOptionsObjectLiteralSyntax(); - return compilerOptionsObjectLiteralSyntax && getPropertyArrayElementValue(compilerOptionsObjectLiteralSyntax, name, value); - } - function createDiagnosticForOptionName(message, option1, option2, option3) { - createDiagnosticForOption( - /*onKey*/ - true, - option1, - option2, - message, - option1, - option2, - option3 - ); - } - function createOptionValueDiagnostic(option1, message, ...args) { - createDiagnosticForOption( - /*onKey*/ - false, - option1, - /*option2*/ - void 0, - message, - ...args - ); - } - function createDiagnosticForReference(sourceFile, index, message, ...args) { - const referencesSyntax = forEachTsConfigPropArray(sourceFile || options.configFile, "references", (property) => isArrayLiteralExpression(property.initializer) ? property.initializer : void 0); - if (referencesSyntax && referencesSyntax.elements.length > index) { - programDiagnostics.add(createDiagnosticForNodeInSourceFile(sourceFile || options.configFile, referencesSyntax.elements[index], message, ...args)); - } else { - programDiagnostics.add(createCompilerDiagnostic(message, ...args)); - } - } - function createDiagnosticForOption(onKey, option1, option2, message, ...args) { - const compilerOptionsObjectLiteralSyntax = getCompilerOptionsObjectLiteralSyntax(); - const needCompilerDiagnostic = !compilerOptionsObjectLiteralSyntax || !createOptionDiagnosticInObjectLiteralSyntax(compilerOptionsObjectLiteralSyntax, onKey, option1, option2, message, ...args); - if (needCompilerDiagnostic) { - createCompilerOptionsDiagnostic(message, ...args); - } - } - function createCompilerOptionsDiagnostic(message, ...args) { - const compilerOptionsProperty = getCompilerOptionsPropertySyntax(); - if (compilerOptionsProperty) { - if ("messageText" in message) { - programDiagnostics.add(createDiagnosticForNodeFromMessageChain(options.configFile, compilerOptionsProperty.name, message)); - } else { - programDiagnostics.add(createDiagnosticForNodeInSourceFile(options.configFile, compilerOptionsProperty.name, message, ...args)); - } - } else if ("messageText" in message) { - programDiagnostics.add(createCompilerDiagnosticFromMessageChain(message)); - } else { - programDiagnostics.add(createCompilerDiagnostic(message, ...args)); - } - } - function getCompilerOptionsObjectLiteralSyntax() { - if (_compilerOptionsObjectLiteralSyntax === void 0) { - const compilerOptionsProperty = getCompilerOptionsPropertySyntax(); - _compilerOptionsObjectLiteralSyntax = compilerOptionsProperty ? tryCast(compilerOptionsProperty.initializer, isObjectLiteralExpression) || false : false; - } - return _compilerOptionsObjectLiteralSyntax || void 0; - } - function getCompilerOptionsPropertySyntax() { - if (_compilerOptionsPropertySyntax === void 0) { - _compilerOptionsPropertySyntax = forEachPropertyAssignment( - getTsConfigObjectLiteralExpression(options.configFile), - "compilerOptions", - identity - ) || false; - } - return _compilerOptionsPropertySyntax || void 0; - } - function createOptionDiagnosticInObjectLiteralSyntax(objectLiteral, onKey, key1, key2, message, ...args) { - let needsCompilerDiagnostic = false; - forEachPropertyAssignment(objectLiteral, key1, (prop) => { - if ("messageText" in message) { - programDiagnostics.add(createDiagnosticForNodeFromMessageChain(options.configFile, onKey ? prop.name : prop.initializer, message)); - } else { - programDiagnostics.add(createDiagnosticForNodeInSourceFile(options.configFile, onKey ? prop.name : prop.initializer, message, ...args)); - } - needsCompilerDiagnostic = true; - }, key2); - return needsCompilerDiagnostic; - } - function blockEmittingOfFile(emitFileName, diag2) { - hasEmitBlockingDiagnostics.set(toPath3(emitFileName), true); - programDiagnostics.add(diag2); - } - function isEmittedFile(file) { - if (options.noEmit) { - return false; - } - const filePath = toPath3(file); - if (getSourceFileByPath(filePath)) { - return false; - } - const out = options.outFile; - if (out) { - return isSameFile(filePath, out) || isSameFile(filePath, removeFileExtension(out) + ".d.ts" /* Dts */); - } - if (options.declarationDir && containsPath(options.declarationDir, filePath, currentDirectory, !host.useCaseSensitiveFileNames())) { - return true; - } - if (options.outDir) { - return containsPath(options.outDir, filePath, currentDirectory, !host.useCaseSensitiveFileNames()); - } - if (fileExtensionIsOneOf(filePath, supportedJSExtensionsFlat) || isDeclarationFileName(filePath)) { - const filePathWithoutExtension = removeFileExtension(filePath); - return !!getSourceFileByPath(filePathWithoutExtension + ".ts" /* Ts */) || !!getSourceFileByPath(filePathWithoutExtension + ".tsx" /* Tsx */); - } - return false; - } - function isSameFile(file1, file2) { - return comparePaths(file1, file2, currentDirectory, !host.useCaseSensitiveFileNames()) === 0 /* EqualTo */; - } - function getSymlinkCache() { - if (host.getSymlinkCache) { - return host.getSymlinkCache(); - } - if (!symlinks) { - symlinks = createSymlinkCache(currentDirectory, getCanonicalFileName); - } - if (files && !symlinks.hasProcessedResolutions()) { - symlinks.setSymlinksFromResolutions(forEachResolvedModule, forEachResolvedTypeReferenceDirective, automaticTypeDirectiveResolutions); - } - return symlinks; - } - function getModeForUsageLocation2(file, usage) { - return getModeForUsageLocationWorker(file, usage, getCompilerOptionsForFile(file)); - } - function getEmitSyntaxForUsageLocation(file, usage) { - return getEmitSyntaxForUsageLocationWorker(file, usage, getCompilerOptionsForFile(file)); - } - function getModeForResolutionAtIndex(file, index) { - return getModeForUsageLocation2(file, getModuleNameStringLiteralAt(file, index)); - } - function getDefaultResolutionModeForFile2(sourceFile) { - return getDefaultResolutionModeForFileWorker(sourceFile, getCompilerOptionsForFile(sourceFile)); - } - function getImpliedNodeFormatForEmit(sourceFile) { - return getImpliedNodeFormatForEmitWorker(sourceFile, getCompilerOptionsForFile(sourceFile)); - } - function getEmitModuleFormatOfFile(sourceFile) { - return getEmitModuleFormatOfFileWorker(sourceFile, getCompilerOptionsForFile(sourceFile)); - } - function shouldTransformImportCall(sourceFile) { - return shouldTransformImportCallWorker(sourceFile, getCompilerOptionsForFile(sourceFile)); - } -} -function shouldTransformImportCallWorker(sourceFile, options) { - const moduleKind = getEmitModuleKind(options); - if (100 /* Node16 */ <= moduleKind && moduleKind <= 199 /* NodeNext */ || moduleKind === 200 /* Preserve */) { - return false; - } - return getEmitModuleFormatOfFileWorker(sourceFile, options) < 5 /* ES2015 */; -} -function getEmitModuleFormatOfFileWorker(sourceFile, options) { - return getImpliedNodeFormatForEmitWorker(sourceFile, options) ?? getEmitModuleKind(options); -} -function getImpliedNodeFormatForEmitWorker(sourceFile, options) { - var _a, _b; - const moduleKind = getEmitModuleKind(options); - if (100 /* Node16 */ <= moduleKind && moduleKind <= 199 /* NodeNext */) { - return sourceFile.impliedNodeFormat; - } - if (sourceFile.impliedNodeFormat === 1 /* CommonJS */ && (((_a = sourceFile.packageJsonScope) == null ? void 0 : _a.contents.packageJsonContent.type) === "commonjs" || fileExtensionIsOneOf(sourceFile.fileName, [".cjs" /* Cjs */, ".cts" /* Cts */]))) { - return 1 /* CommonJS */; - } - if (sourceFile.impliedNodeFormat === 99 /* ESNext */ && (((_b = sourceFile.packageJsonScope) == null ? void 0 : _b.contents.packageJsonContent.type) === "module" || fileExtensionIsOneOf(sourceFile.fileName, [".mjs" /* Mjs */, ".mts" /* Mts */]))) { - return 99 /* ESNext */; - } - return void 0; -} -function getDefaultResolutionModeForFileWorker(sourceFile, options) { - return importSyntaxAffectsModuleResolution(options) ? getImpliedNodeFormatForEmitWorker(sourceFile, options) : void 0; -} -function updateHostForUseSourceOfProjectReferenceRedirect(host) { - let setOfDeclarationDirectories; - const originalFileExists = host.compilerHost.fileExists; - const originalDirectoryExists = host.compilerHost.directoryExists; - const originalGetDirectories = host.compilerHost.getDirectories; - const originalRealpath = host.compilerHost.realpath; - if (!host.useSourceOfProjectReferenceRedirect) return { onProgramCreateComplete: noop, fileExists }; - host.compilerHost.fileExists = fileExists; - let directoryExists; - if (originalDirectoryExists) { - directoryExists = host.compilerHost.directoryExists = (path) => { - if (originalDirectoryExists.call(host.compilerHost, path)) { - handleDirectoryCouldBeSymlink(path); - return true; - } - if (!host.getResolvedProjectReferences()) return false; - if (!setOfDeclarationDirectories) { - setOfDeclarationDirectories = /* @__PURE__ */ new Set(); - host.forEachResolvedProjectReference((ref) => { - const out = ref.commandLine.options.outFile; - if (out) { - setOfDeclarationDirectories.add(getDirectoryPath(host.toPath(out))); - } else { - const declarationDir = ref.commandLine.options.declarationDir || ref.commandLine.options.outDir; - if (declarationDir) { - setOfDeclarationDirectories.add(host.toPath(declarationDir)); - } - } - }); - } - return fileOrDirectoryExistsUsingSource( - path, - /*isFile*/ - false - ); - }; - } - if (originalGetDirectories) { - host.compilerHost.getDirectories = (path) => !host.getResolvedProjectReferences() || originalDirectoryExists && originalDirectoryExists.call(host.compilerHost, path) ? originalGetDirectories.call(host.compilerHost, path) : []; - } - if (originalRealpath) { - host.compilerHost.realpath = (s) => { - var _a; - return ((_a = host.getSymlinkCache().getSymlinkedFiles()) == null ? void 0 : _a.get(host.toPath(s))) || originalRealpath.call(host.compilerHost, s); - }; - } - return { onProgramCreateComplete, fileExists, directoryExists }; - function onProgramCreateComplete() { - host.compilerHost.fileExists = originalFileExists; - host.compilerHost.directoryExists = originalDirectoryExists; - host.compilerHost.getDirectories = originalGetDirectories; - } - function fileExists(file) { - if (originalFileExists.call(host.compilerHost, file)) return true; - if (!host.getResolvedProjectReferences()) return false; - if (!isDeclarationFileName(file)) return false; - return fileOrDirectoryExistsUsingSource( - file, - /*isFile*/ - true - ); - } - function fileExistsIfProjectReferenceDts(file) { - const source = host.getSourceOfProjectReferenceRedirect(host.toPath(file)); - return source !== void 0 ? isString(source) ? originalFileExists.call(host.compilerHost, source) : true : void 0; - } - function directoryExistsIfProjectReferenceDeclDir(dir) { - const dirPath = host.toPath(dir); - const dirPathWithTrailingDirectorySeparator = `${dirPath}${directorySeparator}`; - return forEachKey( - setOfDeclarationDirectories, - (declDirPath) => dirPath === declDirPath || // Any parent directory of declaration dir - startsWith(declDirPath, dirPathWithTrailingDirectorySeparator) || // Any directory inside declaration dir - startsWith(dirPath, `${declDirPath}/`) - ); - } - function handleDirectoryCouldBeSymlink(directory) { - var _a; - if (!host.getResolvedProjectReferences() || containsIgnoredPath(directory)) return; - if (!originalRealpath || !directory.includes(nodeModulesPathPart)) return; - const symlinkCache = host.getSymlinkCache(); - const directoryPath = ensureTrailingDirectorySeparator(host.toPath(directory)); - if ((_a = symlinkCache.getSymlinkedDirectories()) == null ? void 0 : _a.has(directoryPath)) return; - const real = normalizePath(originalRealpath.call(host.compilerHost, directory)); - let realPath2; - if (real === directory || (realPath2 = ensureTrailingDirectorySeparator(host.toPath(real))) === directoryPath) { - symlinkCache.setSymlinkedDirectory(directoryPath, false); - return; - } - symlinkCache.setSymlinkedDirectory(directory, { - real: ensureTrailingDirectorySeparator(real), - realPath: realPath2 - }); - } - function fileOrDirectoryExistsUsingSource(fileOrDirectory, isFile) { - var _a; - const fileOrDirectoryExistsUsingSource2 = isFile ? (file) => fileExistsIfProjectReferenceDts(file) : (dir) => directoryExistsIfProjectReferenceDeclDir(dir); - const result = fileOrDirectoryExistsUsingSource2(fileOrDirectory); - if (result !== void 0) return result; - const symlinkCache = host.getSymlinkCache(); - const symlinkedDirectories = symlinkCache.getSymlinkedDirectories(); - if (!symlinkedDirectories) return false; - const fileOrDirectoryPath = host.toPath(fileOrDirectory); - if (!fileOrDirectoryPath.includes(nodeModulesPathPart)) return false; - if (isFile && ((_a = symlinkCache.getSymlinkedFiles()) == null ? void 0 : _a.has(fileOrDirectoryPath))) return true; - return firstDefinedIterator( - symlinkedDirectories.entries(), - ([directoryPath, symlinkedDirectory]) => { - if (!symlinkedDirectory || !startsWith(fileOrDirectoryPath, directoryPath)) return void 0; - const result2 = fileOrDirectoryExistsUsingSource2(fileOrDirectoryPath.replace(directoryPath, symlinkedDirectory.realPath)); - if (isFile && result2) { - const absolutePath = getNormalizedAbsolutePath(fileOrDirectory, host.compilerHost.getCurrentDirectory()); - symlinkCache.setSymlinkedFile( - fileOrDirectoryPath, - `${symlinkedDirectory.real}${absolutePath.replace(new RegExp(directoryPath, "i"), "")}` - ); - } - return result2; - } - ) || false; - } -} -var emitSkippedWithNoDiagnostics = { diagnostics: emptyArray, sourceMaps: void 0, emittedFiles: void 0, emitSkipped: true }; -function handleNoEmitOptions(program, sourceFile, writeFile2, cancellationToken) { - const options = program.getCompilerOptions(); - if (options.noEmit) { - return sourceFile ? emitSkippedWithNoDiagnostics : program.emitBuildInfo(writeFile2, cancellationToken); - } - if (!options.noEmitOnError) return void 0; - let diagnostics = [ - ...program.getOptionsDiagnostics(cancellationToken), - ...program.getSyntacticDiagnostics(sourceFile, cancellationToken), - ...program.getGlobalDiagnostics(cancellationToken), - ...program.getSemanticDiagnostics(sourceFile, cancellationToken) - ]; - if (diagnostics.length === 0 && getEmitDeclarations(program.getCompilerOptions())) { - diagnostics = program.getDeclarationDiagnostics( - /*sourceFile*/ - void 0, - cancellationToken - ); - } - if (!diagnostics.length) return void 0; - let emittedFiles; - if (!sourceFile) { - const emitResult = program.emitBuildInfo(writeFile2, cancellationToken); - if (emitResult.diagnostics) diagnostics = [...diagnostics, ...emitResult.diagnostics]; - emittedFiles = emitResult.emittedFiles; - } - return { diagnostics, sourceMaps: void 0, emittedFiles, emitSkipped: true }; -} -function filterSemanticDiagnostics(diagnostic, option) { - return filter(diagnostic, (d) => !d.skippedOn || !option[d.skippedOn]); -} -function parseConfigHostFromCompilerHostLike(host, directoryStructureHost = host) { - return { - fileExists: (f) => directoryStructureHost.fileExists(f), - readDirectory(root, extensions, excludes, includes, depth) { - Debug.assertIsDefined(directoryStructureHost.readDirectory, "'CompilerHost.readDirectory' must be implemented to correctly process 'projectReferences'"); - return directoryStructureHost.readDirectory(root, extensions, excludes, includes, depth); - }, - readFile: (f) => directoryStructureHost.readFile(f), - directoryExists: maybeBind(directoryStructureHost, directoryStructureHost.directoryExists), - getDirectories: maybeBind(directoryStructureHost, directoryStructureHost.getDirectories), - realpath: maybeBind(directoryStructureHost, directoryStructureHost.realpath), - useCaseSensitiveFileNames: host.useCaseSensitiveFileNames(), - getCurrentDirectory: () => host.getCurrentDirectory(), - onUnRecoverableConfigFileDiagnostic: host.onUnRecoverableConfigFileDiagnostic || returnUndefined, - trace: host.trace ? (s) => host.trace(s) : void 0 - }; -} -function resolveProjectReferencePath(ref) { - return resolveConfigFileProjectName(ref.path); -} -function getResolutionDiagnostic(options, { extension }, { isDeclarationFile }) { - switch (extension) { - case ".ts" /* Ts */: - case ".d.ts" /* Dts */: - case ".mts" /* Mts */: - case ".d.mts" /* Dmts */: - case ".cts" /* Cts */: - case ".d.cts" /* Dcts */: - return void 0; - case ".tsx" /* Tsx */: - return needJsx(); - case ".jsx" /* Jsx */: - return needJsx() || needAllowJs(); - case ".js" /* Js */: - case ".mjs" /* Mjs */: - case ".cjs" /* Cjs */: - return needAllowJs(); - case ".json" /* Json */: - return needResolveJsonModule(); - default: - return needAllowArbitraryExtensions(); - } - function needJsx() { - return options.jsx ? void 0 : Diagnostics.Module_0_was_resolved_to_1_but_jsx_is_not_set; - } - function needAllowJs() { - return getAllowJSCompilerOption(options) || !getStrictOptionValue(options, "noImplicitAny") ? void 0 : Diagnostics.Could_not_find_a_declaration_file_for_module_0_1_implicitly_has_an_any_type; - } - function needResolveJsonModule() { - return getResolveJsonModule(options) ? void 0 : Diagnostics.Module_0_was_resolved_to_1_but_resolveJsonModule_is_not_used; - } - function needAllowArbitraryExtensions() { - return isDeclarationFile || options.allowArbitraryExtensions ? void 0 : Diagnostics.Module_0_was_resolved_to_1_but_allowArbitraryExtensions_is_not_set; - } -} -function getModuleNames({ imports, moduleAugmentations }) { - const res = imports.map((i) => i); - for (const aug of moduleAugmentations) { - if (aug.kind === 11 /* StringLiteral */) { - res.push(aug); - } - } - return res; -} -function getModuleNameStringLiteralAt({ imports, moduleAugmentations }, index) { - if (index < imports.length) return imports[index]; - let augIndex = imports.length; - for (const aug of moduleAugmentations) { - if (aug.kind === 11 /* StringLiteral */) { - if (index === augIndex) return aug; - augIndex++; - } - } - Debug.fail("should never ask for module name at index higher than possible module name"); -} - -// src/compiler/builderState.ts -var BuilderState; -((BuilderState2) => { - function createManyToManyPathMap() { - function create2(forward, reverse, deleted) { - const map2 = { - getKeys: (v) => reverse.get(v), - getValues: (k) => forward.get(k), - keys: () => forward.keys(), - size: () => forward.size, - deleteKey: (k) => { - (deleted || (deleted = /* @__PURE__ */ new Set())).add(k); - const set = forward.get(k); - if (!set) { - return false; - } - set.forEach((v) => deleteFromMultimap(reverse, v, k)); - forward.delete(k); - return true; - }, - set: (k, vSet) => { - deleted == null ? void 0 : deleted.delete(k); - const existingVSet = forward.get(k); - forward.set(k, vSet); - existingVSet == null ? void 0 : existingVSet.forEach((v) => { - if (!vSet.has(v)) { - deleteFromMultimap(reverse, v, k); - } - }); - vSet.forEach((v) => { - if (!(existingVSet == null ? void 0 : existingVSet.has(v))) { - addToMultimap(reverse, v, k); - } - }); - return map2; - } - }; - return map2; - } - return create2( - /* @__PURE__ */ new Map(), - /* @__PURE__ */ new Map(), - /*deleted*/ - void 0 - ); - } - BuilderState2.createManyToManyPathMap = createManyToManyPathMap; - function addToMultimap(map2, k, v) { - let set = map2.get(k); - if (!set) { - set = /* @__PURE__ */ new Set(); - map2.set(k, set); - } - set.add(v); - } - function deleteFromMultimap(map2, k, v) { - const set = map2.get(k); - if (set == null ? void 0 : set.delete(v)) { - if (!set.size) { - map2.delete(k); - } - return true; - } - return false; - } - function getReferencedFilesFromImportedModuleSymbol(symbol) { - return mapDefined(symbol.declarations, (declaration) => { - var _a; - return (_a = getSourceFileOfNode(declaration)) == null ? void 0 : _a.resolvedPath; - }); - } - function getReferencedFilesFromImportLiteral(checker, importName) { - const symbol = checker.getSymbolAtLocation(importName); - return symbol && getReferencedFilesFromImportedModuleSymbol(symbol); - } - function getReferencedFileFromFileName(program, fileName, sourceFileDirectory, getCanonicalFileName) { - return toPath(program.getProjectReferenceRedirect(fileName) || fileName, sourceFileDirectory, getCanonicalFileName); - } - function getReferencedFiles(program, sourceFile, getCanonicalFileName) { - let referencedFiles; - if (sourceFile.imports && sourceFile.imports.length > 0) { - const checker = program.getTypeChecker(); - for (const importName of sourceFile.imports) { - const declarationSourceFilePaths = getReferencedFilesFromImportLiteral(checker, importName); - declarationSourceFilePaths == null ? void 0 : declarationSourceFilePaths.forEach(addReferencedFile); - } - } - const sourceFileDirectory = getDirectoryPath(sourceFile.resolvedPath); - if (sourceFile.referencedFiles && sourceFile.referencedFiles.length > 0) { - for (const referencedFile of sourceFile.referencedFiles) { - const referencedPath = getReferencedFileFromFileName(program, referencedFile.fileName, sourceFileDirectory, getCanonicalFileName); - addReferencedFile(referencedPath); - } - } - program.forEachResolvedTypeReferenceDirective(({ resolvedTypeReferenceDirective }) => { - if (!resolvedTypeReferenceDirective) { - return; - } - const fileName = resolvedTypeReferenceDirective.resolvedFileName; - const typeFilePath = getReferencedFileFromFileName(program, fileName, sourceFileDirectory, getCanonicalFileName); - addReferencedFile(typeFilePath); - }, sourceFile); - if (sourceFile.moduleAugmentations.length) { - const checker = program.getTypeChecker(); - for (const moduleName of sourceFile.moduleAugmentations) { - if (!isStringLiteral(moduleName)) continue; - const symbol = checker.getSymbolAtLocation(moduleName); - if (!symbol) continue; - addReferenceFromAmbientModule(symbol); - } - } - for (const ambientModule of program.getTypeChecker().getAmbientModules()) { - if (ambientModule.declarations && ambientModule.declarations.length > 1) { - addReferenceFromAmbientModule(ambientModule); - } - } - return referencedFiles; - function addReferenceFromAmbientModule(symbol) { - if (!symbol.declarations) { - return; - } - for (const declaration of symbol.declarations) { - const declarationSourceFile = getSourceFileOfNode(declaration); - if (declarationSourceFile && declarationSourceFile !== sourceFile) { - addReferencedFile(declarationSourceFile.resolvedPath); - } - } - } - function addReferencedFile(referencedPath) { - (referencedFiles || (referencedFiles = /* @__PURE__ */ new Set())).add(referencedPath); - } - } - function canReuseOldState(newReferencedMap, oldState) { - return oldState && !oldState.referencedMap === !newReferencedMap; - } - BuilderState2.canReuseOldState = canReuseOldState; - function createReferencedMap(options) { - return options.module !== 0 /* None */ && !options.outFile ? createManyToManyPathMap() : void 0; - } - BuilderState2.createReferencedMap = createReferencedMap; - function create(newProgram, oldState, disableUseFileVersionAsSignature) { - var _a, _b; - const fileInfos = /* @__PURE__ */ new Map(); - const options = newProgram.getCompilerOptions(); - const referencedMap = createReferencedMap(options); - const useOldState = canReuseOldState(referencedMap, oldState); - newProgram.getTypeChecker(); - for (const sourceFile of newProgram.getSourceFiles()) { - const version2 = Debug.checkDefined(sourceFile.version, "Program intended to be used with Builder should have source files with versions set"); - const oldUncommittedSignature = useOldState ? (_a = oldState.oldSignatures) == null ? void 0 : _a.get(sourceFile.resolvedPath) : void 0; - const signature = oldUncommittedSignature === void 0 ? useOldState ? (_b = oldState.fileInfos.get(sourceFile.resolvedPath)) == null ? void 0 : _b.signature : void 0 : oldUncommittedSignature || void 0; - if (referencedMap) { - const newReferences = getReferencedFiles(newProgram, sourceFile, newProgram.getCanonicalFileName); - if (newReferences) { - referencedMap.set(sourceFile.resolvedPath, newReferences); - } - } - fileInfos.set(sourceFile.resolvedPath, { - version: version2, - signature, - // No need to calculate affectsGlobalScope with --out since its not used at all - affectsGlobalScope: !options.outFile ? isFileAffectingGlobalScope(sourceFile) || void 0 : void 0, - impliedFormat: sourceFile.impliedNodeFormat - }); - } - return { - fileInfos, - referencedMap, - useFileVersionAsSignature: !disableUseFileVersionAsSignature && !useOldState - }; - } - BuilderState2.create = create; - function releaseCache2(state) { - state.allFilesExcludingDefaultLibraryFile = void 0; - state.allFileNames = void 0; - } - BuilderState2.releaseCache = releaseCache2; - function getFilesAffectedBy(state, programOfThisState, path, cancellationToken, host) { - var _a; - const result = getFilesAffectedByWithOldState( - state, - programOfThisState, - path, - cancellationToken, - host - ); - (_a = state.oldSignatures) == null ? void 0 : _a.clear(); - return result; - } - BuilderState2.getFilesAffectedBy = getFilesAffectedBy; - function getFilesAffectedByWithOldState(state, programOfThisState, path, cancellationToken, host) { - const sourceFile = programOfThisState.getSourceFileByPath(path); - if (!sourceFile) { - return emptyArray; - } - if (!updateShapeSignature(state, programOfThisState, sourceFile, cancellationToken, host)) { - return [sourceFile]; - } - return (state.referencedMap ? getFilesAffectedByUpdatedShapeWhenModuleEmit : getFilesAffectedByUpdatedShapeWhenNonModuleEmit)(state, programOfThisState, sourceFile, cancellationToken, host); - } - BuilderState2.getFilesAffectedByWithOldState = getFilesAffectedByWithOldState; - function updateSignatureOfFile(state, signature, path) { - state.fileInfos.get(path).signature = signature; - (state.hasCalledUpdateShapeSignature || (state.hasCalledUpdateShapeSignature = /* @__PURE__ */ new Set())).add(path); - } - BuilderState2.updateSignatureOfFile = updateSignatureOfFile; - function computeDtsSignature(programOfThisState, sourceFile, cancellationToken, host, onNewSignature) { - programOfThisState.emit( - sourceFile, - (fileName, text, _writeByteOrderMark, _onError, sourceFiles, data) => { - Debug.assert(isDeclarationFileName(fileName), `File extension for signature expected to be dts: Got:: ${fileName}`); - onNewSignature( - computeSignatureWithDiagnostics( - programOfThisState, - sourceFile, - text, - host, - data - ), - sourceFiles - ); - }, - cancellationToken, - 2 /* BuilderSignature */, - /*customTransformers*/ - void 0, - /*forceDtsEmit*/ - true - ); - } - BuilderState2.computeDtsSignature = computeDtsSignature; - function updateShapeSignature(state, programOfThisState, sourceFile, cancellationToken, host, useFileVersionAsSignature = state.useFileVersionAsSignature) { - var _a; - if ((_a = state.hasCalledUpdateShapeSignature) == null ? void 0 : _a.has(sourceFile.resolvedPath)) return false; - const info = state.fileInfos.get(sourceFile.resolvedPath); - const prevSignature = info.signature; - let latestSignature; - if (!sourceFile.isDeclarationFile && !useFileVersionAsSignature) { - computeDtsSignature(programOfThisState, sourceFile, cancellationToken, host, (signature) => { - latestSignature = signature; - if (host.storeSignatureInfo) (state.signatureInfo ?? (state.signatureInfo = /* @__PURE__ */ new Map())).set(sourceFile.resolvedPath, 0 /* ComputedDts */); - }); - } - if (latestSignature === void 0) { - latestSignature = sourceFile.version; - if (host.storeSignatureInfo) (state.signatureInfo ?? (state.signatureInfo = /* @__PURE__ */ new Map())).set(sourceFile.resolvedPath, 2 /* UsedVersion */); - } - (state.oldSignatures || (state.oldSignatures = /* @__PURE__ */ new Map())).set(sourceFile.resolvedPath, prevSignature || false); - (state.hasCalledUpdateShapeSignature || (state.hasCalledUpdateShapeSignature = /* @__PURE__ */ new Set())).add(sourceFile.resolvedPath); - info.signature = latestSignature; - return latestSignature !== prevSignature; - } - BuilderState2.updateShapeSignature = updateShapeSignature; - function getAllDependencies(state, programOfThisState, sourceFile) { - const compilerOptions = programOfThisState.getCompilerOptions(); - if (compilerOptions.outFile) { - return getAllFileNames(state, programOfThisState); - } - if (!state.referencedMap || isFileAffectingGlobalScope(sourceFile)) { - return getAllFileNames(state, programOfThisState); - } - const seenMap = /* @__PURE__ */ new Set(); - const queue = [sourceFile.resolvedPath]; - while (queue.length) { - const path = queue.pop(); - if (!seenMap.has(path)) { - seenMap.add(path); - const references = state.referencedMap.getValues(path); - if (references) { - for (const key of references.keys()) { - queue.push(key); - } - } - } - } - return arrayFrom(mapDefinedIterator(seenMap.keys(), (path) => { - var _a; - return ((_a = programOfThisState.getSourceFileByPath(path)) == null ? void 0 : _a.fileName) ?? path; - })); - } - BuilderState2.getAllDependencies = getAllDependencies; - function getAllFileNames(state, programOfThisState) { - if (!state.allFileNames) { - const sourceFiles = programOfThisState.getSourceFiles(); - state.allFileNames = sourceFiles === emptyArray ? emptyArray : sourceFiles.map((file) => file.fileName); - } - return state.allFileNames; - } - function getReferencedByPaths(state, referencedFilePath) { - const keys = state.referencedMap.getKeys(referencedFilePath); - return keys ? arrayFrom(keys.keys()) : []; - } - BuilderState2.getReferencedByPaths = getReferencedByPaths; - function containsOnlyAmbientModules(sourceFile) { - for (const statement of sourceFile.statements) { - if (!isModuleWithStringLiteralName(statement)) { - return false; - } - } - return true; - } - function containsGlobalScopeAugmentation(sourceFile) { - return some(sourceFile.moduleAugmentations, (augmentation) => isGlobalScopeAugmentation(augmentation.parent)); - } - function isFileAffectingGlobalScope(sourceFile) { - return containsGlobalScopeAugmentation(sourceFile) || !isExternalOrCommonJsModule(sourceFile) && !isJsonSourceFile(sourceFile) && !containsOnlyAmbientModules(sourceFile); - } - function getAllFilesExcludingDefaultLibraryFile(state, programOfThisState, firstSourceFile) { - if (state.allFilesExcludingDefaultLibraryFile) { - return state.allFilesExcludingDefaultLibraryFile; - } - let result; - if (firstSourceFile) addSourceFile(firstSourceFile); - for (const sourceFile of programOfThisState.getSourceFiles()) { - if (sourceFile !== firstSourceFile) { - addSourceFile(sourceFile); - } - } - state.allFilesExcludingDefaultLibraryFile = result || emptyArray; - return state.allFilesExcludingDefaultLibraryFile; - function addSourceFile(sourceFile) { - if (!programOfThisState.isSourceFileDefaultLibrary(sourceFile)) { - (result || (result = [])).push(sourceFile); - } - } - } - BuilderState2.getAllFilesExcludingDefaultLibraryFile = getAllFilesExcludingDefaultLibraryFile; - function getFilesAffectedByUpdatedShapeWhenNonModuleEmit(state, programOfThisState, sourceFileWithUpdatedShape) { - const compilerOptions = programOfThisState.getCompilerOptions(); - if (compilerOptions && compilerOptions.outFile) { - return [sourceFileWithUpdatedShape]; - } - return getAllFilesExcludingDefaultLibraryFile(state, programOfThisState, sourceFileWithUpdatedShape); - } - function getFilesAffectedByUpdatedShapeWhenModuleEmit(state, programOfThisState, sourceFileWithUpdatedShape, cancellationToken, host) { - if (isFileAffectingGlobalScope(sourceFileWithUpdatedShape)) { - return getAllFilesExcludingDefaultLibraryFile(state, programOfThisState, sourceFileWithUpdatedShape); - } - const compilerOptions = programOfThisState.getCompilerOptions(); - if (compilerOptions && (getIsolatedModules(compilerOptions) || compilerOptions.outFile)) { - return [sourceFileWithUpdatedShape]; - } - const seenFileNamesMap = /* @__PURE__ */ new Map(); - seenFileNamesMap.set(sourceFileWithUpdatedShape.resolvedPath, sourceFileWithUpdatedShape); - const queue = getReferencedByPaths(state, sourceFileWithUpdatedShape.resolvedPath); - while (queue.length > 0) { - const currentPath = queue.pop(); - if (!seenFileNamesMap.has(currentPath)) { - const currentSourceFile = programOfThisState.getSourceFileByPath(currentPath); - seenFileNamesMap.set(currentPath, currentSourceFile); - if (currentSourceFile && updateShapeSignature(state, programOfThisState, currentSourceFile, cancellationToken, host)) { - queue.push(...getReferencedByPaths(state, currentSourceFile.resolvedPath)); - } - } - } - return arrayFrom(mapDefinedIterator(seenFileNamesMap.values(), (value) => value)); - } -})(BuilderState || (BuilderState = {})); - -// src/compiler/builder.ts -function isBuilderProgramStateWithDefinedProgram(state) { - return state.program !== void 0; -} -function toBuilderProgramStateWithDefinedProgram(state) { - Debug.assert(isBuilderProgramStateWithDefinedProgram(state)); - return state; -} -function getBuilderFileEmit(options) { - let result = 1 /* Js */; - if (options.sourceMap) result = result | 2 /* JsMap */; - if (options.inlineSourceMap) result = result | 4 /* JsInlineMap */; - if (getEmitDeclarations(options)) result = result | 24 /* Dts */; - if (options.declarationMap) result = result | 32 /* DtsMap */; - if (options.emitDeclarationOnly) result = result & 56 /* AllDts */; - return result; -} -function getPendingEmitKind(optionsOrEmitKind, oldOptionsOrEmitKind) { - const oldEmitKind = oldOptionsOrEmitKind && (isNumber(oldOptionsOrEmitKind) ? oldOptionsOrEmitKind : getBuilderFileEmit(oldOptionsOrEmitKind)); - const emitKind = isNumber(optionsOrEmitKind) ? optionsOrEmitKind : getBuilderFileEmit(optionsOrEmitKind); - if (oldEmitKind === emitKind) return 0 /* None */; - if (!oldEmitKind || !emitKind) return emitKind; - const diff = oldEmitKind ^ emitKind; - let result = 0 /* None */; - if (diff & 7 /* AllJs */) result = emitKind & 7 /* AllJs */; - if (diff & 8 /* DtsErrors */) result = result | emitKind & 8 /* DtsErrors */; - if (diff & 48 /* AllDtsEmit */) result = result | emitKind & 48 /* AllDtsEmit */; - return result; -} -function hasSameKeys(map1, map2) { - return map1 === map2 || map1 !== void 0 && map2 !== void 0 && map1.size === map2.size && !forEachKey(map1, (key) => !map2.has(key)); -} -function createBuilderProgramState(newProgram, oldState) { - var _a, _b; - const state = BuilderState.create( - newProgram, - oldState, - /*disableUseFileVersionAsSignature*/ - false - ); - state.program = newProgram; - const compilerOptions = newProgram.getCompilerOptions(); - state.compilerOptions = compilerOptions; - const outFilePath = compilerOptions.outFile; - state.semanticDiagnosticsPerFile = /* @__PURE__ */ new Map(); - if (outFilePath && compilerOptions.composite && (oldState == null ? void 0 : oldState.outSignature) && outFilePath === oldState.compilerOptions.outFile) { - state.outSignature = oldState.outSignature && getEmitSignatureFromOldSignature(compilerOptions, oldState.compilerOptions, oldState.outSignature); - } - state.changedFilesSet = /* @__PURE__ */ new Set(); - state.latestChangedDtsFile = compilerOptions.composite ? oldState == null ? void 0 : oldState.latestChangedDtsFile : void 0; - state.checkPending = state.compilerOptions.noCheck ? true : void 0; - const useOldState = BuilderState.canReuseOldState(state.referencedMap, oldState); - const oldCompilerOptions = useOldState ? oldState.compilerOptions : void 0; - let canCopySemanticDiagnostics = useOldState && !compilerOptionsAffectSemanticDiagnostics(compilerOptions, oldCompilerOptions); - const canCopyEmitSignatures = compilerOptions.composite && (oldState == null ? void 0 : oldState.emitSignatures) && !outFilePath && !compilerOptionsAffectDeclarationPath(compilerOptions, oldState.compilerOptions); - let canCopyEmitDiagnostics = true; - if (useOldState) { - (_a = oldState.changedFilesSet) == null ? void 0 : _a.forEach((value) => state.changedFilesSet.add(value)); - if (!outFilePath && ((_b = oldState.affectedFilesPendingEmit) == null ? void 0 : _b.size)) { - state.affectedFilesPendingEmit = new Map(oldState.affectedFilesPendingEmit); - state.seenAffectedFiles = /* @__PURE__ */ new Set(); - } - state.programEmitPending = oldState.programEmitPending; - if (outFilePath && state.changedFilesSet.size) { - canCopySemanticDiagnostics = false; - canCopyEmitDiagnostics = false; - } - state.hasErrorsFromOldState = oldState.hasErrors; - } else { - state.buildInfoEmitPending = isIncrementalCompilation(compilerOptions); - } - const referencedMap = state.referencedMap; - const oldReferencedMap = useOldState ? oldState.referencedMap : void 0; - const copyDeclarationFileDiagnostics = canCopySemanticDiagnostics && !compilerOptions.skipLibCheck === !oldCompilerOptions.skipLibCheck; - const copyLibFileDiagnostics = copyDeclarationFileDiagnostics && !compilerOptions.skipDefaultLibCheck === !oldCompilerOptions.skipDefaultLibCheck; - state.fileInfos.forEach((info, sourceFilePath) => { - var _a2; - let oldInfo; - let newReferences; - if (!useOldState || // File wasn't present in old state - !(oldInfo = oldState.fileInfos.get(sourceFilePath)) || // versions dont match - oldInfo.version !== info.version || // Implied formats dont match - oldInfo.impliedFormat !== info.impliedFormat || // Referenced files changed - !hasSameKeys(newReferences = referencedMap && referencedMap.getValues(sourceFilePath), oldReferencedMap && oldReferencedMap.getValues(sourceFilePath)) || // Referenced file was deleted in the new program - newReferences && forEachKey(newReferences, (path) => !state.fileInfos.has(path) && oldState.fileInfos.has(path))) { - addFileToChangeSet(sourceFilePath); - } else { - const sourceFile = newProgram.getSourceFileByPath(sourceFilePath); - const emitDiagnostics = canCopyEmitDiagnostics ? (_a2 = oldState.emitDiagnosticsPerFile) == null ? void 0 : _a2.get(sourceFilePath) : void 0; - if (emitDiagnostics) { - (state.emitDiagnosticsPerFile ?? (state.emitDiagnosticsPerFile = /* @__PURE__ */ new Map())).set( - sourceFilePath, - oldState.hasReusableDiagnostic ? convertToDiagnostics(emitDiagnostics, sourceFilePath, newProgram) : repopulateDiagnostics(emitDiagnostics, newProgram) - ); - } - if (canCopySemanticDiagnostics) { - if (sourceFile.isDeclarationFile && !copyDeclarationFileDiagnostics) return; - if (sourceFile.hasNoDefaultLib && !copyLibFileDiagnostics) return; - const diagnostics = oldState.semanticDiagnosticsPerFile.get(sourceFilePath); - if (diagnostics) { - state.semanticDiagnosticsPerFile.set( - sourceFilePath, - oldState.hasReusableDiagnostic ? convertToDiagnostics(diagnostics, sourceFilePath, newProgram) : repopulateDiagnostics(diagnostics, newProgram) - ); - (state.semanticDiagnosticsFromOldState ?? (state.semanticDiagnosticsFromOldState = /* @__PURE__ */ new Set())).add(sourceFilePath); - } - } - } - if (canCopyEmitSignatures) { - const oldEmitSignature = oldState.emitSignatures.get(sourceFilePath); - if (oldEmitSignature) { - (state.emitSignatures ?? (state.emitSignatures = /* @__PURE__ */ new Map())).set(sourceFilePath, getEmitSignatureFromOldSignature(compilerOptions, oldState.compilerOptions, oldEmitSignature)); - } - } - }); - if (useOldState && forEachEntry(oldState.fileInfos, (info, sourceFilePath) => { - if (state.fileInfos.has(sourceFilePath)) return false; - if (info.affectsGlobalScope) return true; - state.buildInfoEmitPending = true; - return !!outFilePath; - })) { - BuilderState.getAllFilesExcludingDefaultLibraryFile( - state, - newProgram, - /*firstSourceFile*/ - void 0 - ).forEach((file) => addFileToChangeSet(file.resolvedPath)); - } else if (oldCompilerOptions) { - const pendingEmitKind = compilerOptionsAffectEmit(compilerOptions, oldCompilerOptions) ? getBuilderFileEmit(compilerOptions) : getPendingEmitKind(compilerOptions, oldCompilerOptions); - if (pendingEmitKind !== 0 /* None */) { - if (!outFilePath) { - newProgram.getSourceFiles().forEach((f) => { - if (!state.changedFilesSet.has(f.resolvedPath)) { - addToAffectedFilesPendingEmit( - state, - f.resolvedPath, - pendingEmitKind - ); - } - }); - Debug.assert(!state.seenAffectedFiles || !state.seenAffectedFiles.size); - state.seenAffectedFiles = state.seenAffectedFiles || /* @__PURE__ */ new Set(); - } else if (!state.changedFilesSet.size) { - state.programEmitPending = state.programEmitPending ? state.programEmitPending | pendingEmitKind : pendingEmitKind; - } - state.buildInfoEmitPending = true; - } - } - if (useOldState && state.semanticDiagnosticsPerFile.size !== state.fileInfos.size && oldState.checkPending !== state.checkPending) state.buildInfoEmitPending = true; - return state; - function addFileToChangeSet(path) { - state.changedFilesSet.add(path); - if (outFilePath) { - canCopySemanticDiagnostics = false; - canCopyEmitDiagnostics = false; - state.semanticDiagnosticsFromOldState = void 0; - state.semanticDiagnosticsPerFile.clear(); - state.emitDiagnosticsPerFile = void 0; - } - state.buildInfoEmitPending = true; - state.programEmitPending = void 0; - } -} -function getEmitSignatureFromOldSignature(options, oldOptions, oldEmitSignature) { - return !!options.declarationMap === !!oldOptions.declarationMap ? ( - // Use same format of signature - oldEmitSignature - ) : ( - // Convert to different format - isString(oldEmitSignature) ? [oldEmitSignature] : oldEmitSignature[0] - ); -} -function repopulateDiagnostics(diagnostics, newProgram) { - if (!diagnostics.length) return diagnostics; - return sameMap(diagnostics, (diag2) => { - if (isString(diag2.messageText)) return diag2; - const repopulatedChain = convertOrRepopulateDiagnosticMessageChain(diag2.messageText, diag2.file, newProgram, (chain) => { - var _a; - return (_a = chain.repopulateInfo) == null ? void 0 : _a.call(chain); - }); - return repopulatedChain === diag2.messageText ? diag2 : { ...diag2, messageText: repopulatedChain }; - }); -} -function convertOrRepopulateDiagnosticMessageChain(chain, sourceFile, newProgram, repopulateInfo) { - const info = repopulateInfo(chain); - if (info === true) { - return { - ...createModeMismatchDetails(sourceFile), - next: convertOrRepopulateDiagnosticMessageChainArray(chain.next, sourceFile, newProgram, repopulateInfo) - }; - } else if (info) { - return { - ...createModuleNotFoundChain(sourceFile, newProgram, info.moduleReference, info.mode, info.packageName || info.moduleReference), - next: convertOrRepopulateDiagnosticMessageChainArray(chain.next, sourceFile, newProgram, repopulateInfo) - }; - } - const next = convertOrRepopulateDiagnosticMessageChainArray(chain.next, sourceFile, newProgram, repopulateInfo); - return next === chain.next ? chain : { ...chain, next }; -} -function convertOrRepopulateDiagnosticMessageChainArray(array, sourceFile, newProgram, repopulateInfo) { - return sameMap(array, (chain) => convertOrRepopulateDiagnosticMessageChain(chain, sourceFile, newProgram, repopulateInfo)); -} -function convertToDiagnostics(diagnostics, diagnosticFilePath, newProgram) { - if (!diagnostics.length) return emptyArray; - let buildInfoDirectory; - return diagnostics.map((diagnostic) => { - const result = convertToDiagnosticRelatedInformation(diagnostic, diagnosticFilePath, newProgram, toPathInBuildInfoDirectory); - result.reportsUnnecessary = diagnostic.reportsUnnecessary; - result.reportsDeprecated = diagnostic.reportDeprecated; - result.source = diagnostic.source; - result.skippedOn = diagnostic.skippedOn; - const { relatedInformation } = diagnostic; - result.relatedInformation = relatedInformation ? relatedInformation.length ? relatedInformation.map((r) => convertToDiagnosticRelatedInformation(r, diagnosticFilePath, newProgram, toPathInBuildInfoDirectory)) : [] : void 0; - return result; - }); - function toPathInBuildInfoDirectory(path) { - buildInfoDirectory ?? (buildInfoDirectory = getDirectoryPath(getNormalizedAbsolutePath(getTsBuildInfoEmitOutputFilePath(newProgram.getCompilerOptions()), newProgram.getCurrentDirectory()))); - return toPath(path, buildInfoDirectory, newProgram.getCanonicalFileName); - } -} -function convertToDiagnosticRelatedInformation(diagnostic, diagnosticFilePath, newProgram, toPath3) { - const { file } = diagnostic; - const sourceFile = file !== false ? newProgram.getSourceFileByPath(file ? toPath3(file) : diagnosticFilePath) : void 0; - return { - ...diagnostic, - file: sourceFile, - messageText: isString(diagnostic.messageText) ? diagnostic.messageText : convertOrRepopulateDiagnosticMessageChain(diagnostic.messageText, sourceFile, newProgram, (chain) => chain.info) - }; -} -function releaseCache(state) { - BuilderState.releaseCache(state); - state.program = void 0; -} -function assertSourceFileOkWithoutNextAffectedCall(state, sourceFile) { - Debug.assert(!sourceFile || !state.affectedFiles || state.affectedFiles[state.affectedFilesIndex - 1] !== sourceFile || !state.semanticDiagnosticsPerFile.has(sourceFile.resolvedPath)); -} -function getNextAffectedFile(state, cancellationToken, host) { - var _a; - while (true) { - const { affectedFiles } = state; - if (affectedFiles) { - const seenAffectedFiles = state.seenAffectedFiles; - let affectedFilesIndex = state.affectedFilesIndex; - while (affectedFilesIndex < affectedFiles.length) { - const affectedFile = affectedFiles[affectedFilesIndex]; - if (!seenAffectedFiles.has(affectedFile.resolvedPath)) { - state.affectedFilesIndex = affectedFilesIndex; - addToAffectedFilesPendingEmit( - state, - affectedFile.resolvedPath, - getBuilderFileEmit(state.compilerOptions) - ); - handleDtsMayChangeOfAffectedFile( - state, - affectedFile, - cancellationToken, - host - ); - return affectedFile; - } - affectedFilesIndex++; - } - state.changedFilesSet.delete(state.currentChangedFilePath); - state.currentChangedFilePath = void 0; - (_a = state.oldSignatures) == null ? void 0 : _a.clear(); - state.affectedFiles = void 0; - } - const nextKey = state.changedFilesSet.keys().next(); - if (nextKey.done) { - return void 0; - } - const compilerOptions = state.program.getCompilerOptions(); - if (compilerOptions.outFile) return state.program; - state.affectedFiles = BuilderState.getFilesAffectedByWithOldState( - state, - state.program, - nextKey.value, - cancellationToken, - host - ); - state.currentChangedFilePath = nextKey.value; - state.affectedFilesIndex = 0; - if (!state.seenAffectedFiles) state.seenAffectedFiles = /* @__PURE__ */ new Set(); - } -} -function clearAffectedFilesPendingEmit(state, emitOnlyDtsFiles, isForDtsErrors) { - var _a, _b; - if (!((_a = state.affectedFilesPendingEmit) == null ? void 0 : _a.size) && !state.programEmitPending) return; - if (!emitOnlyDtsFiles && !isForDtsErrors) { - state.affectedFilesPendingEmit = void 0; - state.programEmitPending = void 0; - } - (_b = state.affectedFilesPendingEmit) == null ? void 0 : _b.forEach((emitKind, path) => { - const pending = !isForDtsErrors ? emitKind & 7 /* AllJs */ : emitKind & (7 /* AllJs */ | 48 /* AllDtsEmit */); - if (!pending) state.affectedFilesPendingEmit.delete(path); - else state.affectedFilesPendingEmit.set(path, pending); - }); - if (state.programEmitPending) { - const pending = !isForDtsErrors ? state.programEmitPending & 7 /* AllJs */ : state.programEmitPending & (7 /* AllJs */ | 48 /* AllDtsEmit */); - if (!pending) state.programEmitPending = void 0; - else state.programEmitPending = pending; - } -} -function getPendingEmitKindWithSeen(optionsOrEmitKind, seenOldOptionsOrEmitKind, emitOnlyDtsFiles, isForDtsErrors) { - let pendingKind = getPendingEmitKind(optionsOrEmitKind, seenOldOptionsOrEmitKind); - if (emitOnlyDtsFiles) pendingKind = pendingKind & 56 /* AllDts */; - if (isForDtsErrors) pendingKind = pendingKind & 8 /* DtsErrors */; - return pendingKind; -} -function getBuilderFileEmitAllDts(isForDtsErrors) { - return !isForDtsErrors ? 56 /* AllDts */ : 8 /* DtsErrors */; -} -function getNextAffectedFilePendingEmit(state, emitOnlyDtsFiles, isForDtsErrors) { - var _a; - if (!((_a = state.affectedFilesPendingEmit) == null ? void 0 : _a.size)) return void 0; - return forEachEntry(state.affectedFilesPendingEmit, (emitKind, path) => { - var _a2; - const affectedFile = state.program.getSourceFileByPath(path); - if (!affectedFile || !sourceFileMayBeEmitted(affectedFile, state.program)) { - state.affectedFilesPendingEmit.delete(path); - return void 0; - } - const seenKind = (_a2 = state.seenEmittedFiles) == null ? void 0 : _a2.get(affectedFile.resolvedPath); - const pendingKind = getPendingEmitKindWithSeen( - emitKind, - seenKind, - emitOnlyDtsFiles, - isForDtsErrors - ); - if (pendingKind) return { affectedFile, emitKind: pendingKind }; - }); -} -function getNextPendingEmitDiagnosticsFile(state, isForDtsErrors) { - var _a; - if (!((_a = state.emitDiagnosticsPerFile) == null ? void 0 : _a.size)) return void 0; - return forEachEntry(state.emitDiagnosticsPerFile, (diagnostics, path) => { - var _a2; - const affectedFile = state.program.getSourceFileByPath(path); - if (!affectedFile || !sourceFileMayBeEmitted(affectedFile, state.program)) { - state.emitDiagnosticsPerFile.delete(path); - return void 0; - } - const seenKind = ((_a2 = state.seenEmittedFiles) == null ? void 0 : _a2.get(affectedFile.resolvedPath)) || 0 /* None */; - if (!(seenKind & getBuilderFileEmitAllDts(isForDtsErrors))) return { affectedFile, diagnostics, seenKind }; - }); -} -function removeDiagnosticsOfLibraryFiles(state) { - if (!state.cleanedDiagnosticsOfLibFiles) { - state.cleanedDiagnosticsOfLibFiles = true; - const options = state.program.getCompilerOptions(); - forEach(state.program.getSourceFiles(), (f) => state.program.isSourceFileDefaultLibrary(f) && !skipTypeCheckingIgnoringNoCheck(f, options, state.program) && removeSemanticDiagnosticsOf(state, f.resolvedPath)); - } -} -function handleDtsMayChangeOfAffectedFile(state, affectedFile, cancellationToken, host) { - removeSemanticDiagnosticsOf(state, affectedFile.resolvedPath); - if (state.allFilesExcludingDefaultLibraryFile === state.affectedFiles) { - removeDiagnosticsOfLibraryFiles(state); - BuilderState.updateShapeSignature( - state, - state.program, - affectedFile, - cancellationToken, - host - ); - return; - } - if (state.compilerOptions.assumeChangesOnlyAffectDirectDependencies) return; - handleDtsMayChangeOfReferencingExportOfAffectedFile( - state, - affectedFile, - cancellationToken, - host - ); -} -function handleDtsMayChangeOf(state, path, invalidateJsFiles, cancellationToken, host) { - removeSemanticDiagnosticsOf(state, path); - if (!state.changedFilesSet.has(path)) { - const sourceFile = state.program.getSourceFileByPath(path); - if (sourceFile) { - BuilderState.updateShapeSignature( - state, - state.program, - sourceFile, - cancellationToken, - host, - /*useFileVersionAsSignature*/ - true - ); - if (invalidateJsFiles) { - addToAffectedFilesPendingEmit( - state, - path, - getBuilderFileEmit(state.compilerOptions) - ); - } else if (getEmitDeclarations(state.compilerOptions)) { - addToAffectedFilesPendingEmit( - state, - path, - state.compilerOptions.declarationMap ? 56 /* AllDts */ : 24 /* Dts */ - ); - } - } - } -} -function removeSemanticDiagnosticsOf(state, path) { - if (!state.semanticDiagnosticsFromOldState) { - return true; - } - state.semanticDiagnosticsFromOldState.delete(path); - state.semanticDiagnosticsPerFile.delete(path); - return !state.semanticDiagnosticsFromOldState.size; -} -function isChangedSignature(state, path) { - const oldSignature = Debug.checkDefined(state.oldSignatures).get(path) || void 0; - const newSignature = Debug.checkDefined(state.fileInfos.get(path)).signature; - return newSignature !== oldSignature; -} -function handleDtsMayChangeOfGlobalScope(state, filePath, invalidateJsFiles, cancellationToken, host) { - var _a; - if (!((_a = state.fileInfos.get(filePath)) == null ? void 0 : _a.affectsGlobalScope)) return false; - BuilderState.getAllFilesExcludingDefaultLibraryFile( - state, - state.program, - /*firstSourceFile*/ - void 0 - ).forEach( - (file) => handleDtsMayChangeOf( - state, - file.resolvedPath, - invalidateJsFiles, - cancellationToken, - host - ) - ); - removeDiagnosticsOfLibraryFiles(state); - return true; -} -function handleDtsMayChangeOfReferencingExportOfAffectedFile(state, affectedFile, cancellationToken, host) { - var _a, _b; - if (!state.referencedMap || !state.changedFilesSet.has(affectedFile.resolvedPath)) return; - if (!isChangedSignature(state, affectedFile.resolvedPath)) return; - if (getIsolatedModules(state.compilerOptions)) { - const seenFileNamesMap = /* @__PURE__ */ new Map(); - seenFileNamesMap.set(affectedFile.resolvedPath, true); - const queue = BuilderState.getReferencedByPaths(state, affectedFile.resolvedPath); - while (queue.length > 0) { - const currentPath = queue.pop(); - if (!seenFileNamesMap.has(currentPath)) { - seenFileNamesMap.set(currentPath, true); - if (handleDtsMayChangeOfGlobalScope( - state, - currentPath, - /*invalidateJsFiles*/ - false, - cancellationToken, - host - )) return; - handleDtsMayChangeOf( - state, - currentPath, - /*invalidateJsFiles*/ - false, - cancellationToken, - host - ); - if (isChangedSignature(state, currentPath)) { - const currentSourceFile = state.program.getSourceFileByPath(currentPath); - queue.push(...BuilderState.getReferencedByPaths(state, currentSourceFile.resolvedPath)); - } - } - } - } - const seenFileAndExportsOfFile = /* @__PURE__ */ new Set(); - const invalidateJsFiles = !!((_a = affectedFile.symbol) == null ? void 0 : _a.exports) && !!forEachEntry( - affectedFile.symbol.exports, - (exported) => { - if ((exported.flags & 128 /* ConstEnum */) !== 0) return true; - const aliased = skipAlias(exported, state.program.getTypeChecker()); - if (aliased === exported) return false; - return (aliased.flags & 128 /* ConstEnum */) !== 0 && some(aliased.declarations, (d) => getSourceFileOfNode(d) === affectedFile); - } - ); - (_b = state.referencedMap.getKeys(affectedFile.resolvedPath)) == null ? void 0 : _b.forEach((exportedFromPath) => { - if (handleDtsMayChangeOfGlobalScope(state, exportedFromPath, invalidateJsFiles, cancellationToken, host)) return true; - const references = state.referencedMap.getKeys(exportedFromPath); - return references && forEachKey(references, (filePath) => handleDtsMayChangeOfFileAndExportsOfFile( - state, - filePath, - invalidateJsFiles, - seenFileAndExportsOfFile, - cancellationToken, - host - )); - }); -} -function handleDtsMayChangeOfFileAndExportsOfFile(state, filePath, invalidateJsFiles, seenFileAndExportsOfFile, cancellationToken, host) { - var _a; - if (!tryAddToSet(seenFileAndExportsOfFile, filePath)) return void 0; - if (handleDtsMayChangeOfGlobalScope(state, filePath, invalidateJsFiles, cancellationToken, host)) return true; - handleDtsMayChangeOf(state, filePath, invalidateJsFiles, cancellationToken, host); - (_a = state.referencedMap.getKeys(filePath)) == null ? void 0 : _a.forEach( - (referencingFilePath) => handleDtsMayChangeOfFileAndExportsOfFile( - state, - referencingFilePath, - invalidateJsFiles, - seenFileAndExportsOfFile, - cancellationToken, - host - ) - ); - return void 0; -} -function getSemanticDiagnosticsOfFile(state, sourceFile, cancellationToken, semanticDiagnosticsPerFile) { - if (state.compilerOptions.noCheck) return emptyArray; - return concatenate( - getBinderAndCheckerDiagnosticsOfFile(state, sourceFile, cancellationToken, semanticDiagnosticsPerFile), - state.program.getProgramDiagnostics(sourceFile) - ); -} -function getBinderAndCheckerDiagnosticsOfFile(state, sourceFile, cancellationToken, semanticDiagnosticsPerFile) { - semanticDiagnosticsPerFile ?? (semanticDiagnosticsPerFile = state.semanticDiagnosticsPerFile); - const path = sourceFile.resolvedPath; - const cachedDiagnostics = semanticDiagnosticsPerFile.get(path); - if (cachedDiagnostics) { - return filterSemanticDiagnostics(cachedDiagnostics, state.compilerOptions); - } - const diagnostics = state.program.getBindAndCheckDiagnostics(sourceFile, cancellationToken); - semanticDiagnosticsPerFile.set(path, diagnostics); - state.buildInfoEmitPending = true; - return filterSemanticDiagnostics(diagnostics, state.compilerOptions); -} -function isIncrementalBundleEmitBuildInfo(info) { - var _a; - return !!((_a = info.options) == null ? void 0 : _a.outFile); -} -function isIncrementalBuildInfo(info) { - return !!info.fileNames; -} -function isNonIncrementalBuildInfo(info) { - return !isIncrementalBuildInfo(info) && !!info.root; -} -function ensureHasErrorsForState(state) { - if (state.hasErrors !== void 0) return; - if (isIncrementalCompilation(state.compilerOptions)) { - state.hasErrors = !some(state.program.getSourceFiles(), (f) => { - var _a, _b; - const bindAndCheckDiagnostics = state.semanticDiagnosticsPerFile.get(f.resolvedPath); - return bindAndCheckDiagnostics === void 0 || // Missing semantic diagnostics in cache will be encoded in buildInfo - !!bindAndCheckDiagnostics.length || // cached semantic diagnostics will be encoded in buildInfo - !!((_b = (_a = state.emitDiagnosticsPerFile) == null ? void 0 : _a.get(f.resolvedPath)) == null ? void 0 : _b.length); - }) && (hasSyntaxOrGlobalErrors(state) || some(state.program.getSourceFiles(), (f) => !!state.program.getProgramDiagnostics(f).length)); - } else { - state.hasErrors = some(state.program.getSourceFiles(), (f) => { - var _a, _b; - const bindAndCheckDiagnostics = state.semanticDiagnosticsPerFile.get(f.resolvedPath); - return !!(bindAndCheckDiagnostics == null ? void 0 : bindAndCheckDiagnostics.length) || // If has semantic diagnostics - !!((_b = (_a = state.emitDiagnosticsPerFile) == null ? void 0 : _a.get(f.resolvedPath)) == null ? void 0 : _b.length); - }) || hasSyntaxOrGlobalErrors(state); - } -} -function hasSyntaxOrGlobalErrors(state) { - return !!state.program.getConfigFileParsingDiagnostics().length || !!state.program.getSyntacticDiagnostics().length || !!state.program.getOptionsDiagnostics().length || !!state.program.getGlobalDiagnostics().length; -} -function getBuildInfoEmitPending(state) { - ensureHasErrorsForState(state); - return state.buildInfoEmitPending ?? (state.buildInfoEmitPending = !!state.hasErrorsFromOldState !== !!state.hasErrors); -} -function getBuildInfo2(state) { - var _a, _b; - const currentDirectory = state.program.getCurrentDirectory(); - const buildInfoDirectory = getDirectoryPath(getNormalizedAbsolutePath(getTsBuildInfoEmitOutputFilePath(state.compilerOptions), currentDirectory)); - const latestChangedDtsFile = state.latestChangedDtsFile ? relativeToBuildInfoEnsuringAbsolutePath(state.latestChangedDtsFile) : void 0; - const fileNames = []; - const fileNameToFileId = /* @__PURE__ */ new Map(); - const rootFileNames = new Set(state.program.getRootFileNames().map((f) => toPath(f, currentDirectory, state.program.getCanonicalFileName))); - ensureHasErrorsForState(state); - if (!isIncrementalCompilation(state.compilerOptions)) { - const buildInfo2 = { - root: arrayFrom(rootFileNames, (r) => relativeToBuildInfo(r)), - errors: state.hasErrors ? true : void 0, - checkPending: state.checkPending, - version - }; - return buildInfo2; - } - const root = []; - if (state.compilerOptions.outFile) { - const fileInfos2 = arrayFrom(state.fileInfos.entries(), ([key, value]) => { - const fileId = toFileId(key); - tryAddRoot(key, fileId); - return value.impliedFormat ? { version: value.version, impliedFormat: value.impliedFormat, signature: void 0, affectsGlobalScope: void 0 } : value.version; - }); - const buildInfo2 = { - fileNames, - fileInfos: fileInfos2, - root, - resolvedRoot: toResolvedRoot(), - options: toIncrementalBuildInfoCompilerOptions(state.compilerOptions), - semanticDiagnosticsPerFile: !state.changedFilesSet.size ? toIncrementalBuildInfoDiagnostics() : void 0, - emitDiagnosticsPerFile: toIncrementalBuildInfoEmitDiagnostics(), - changeFileSet: toChangeFileSet(), - outSignature: state.outSignature, - latestChangedDtsFile, - pendingEmit: !state.programEmitPending ? void 0 : ( - // Pending is undefined or None is encoded as undefined - state.programEmitPending === getBuilderFileEmit(state.compilerOptions) ? false : ( - // Pending emit is same as deteremined by compilerOptions - state.programEmitPending - ) - ), - // Actual value - errors: state.hasErrors ? true : void 0, - checkPending: state.checkPending, - version - }; - return buildInfo2; - } - let fileIdsList; - let fileNamesToFileIdListId; - let emitSignatures; - const fileInfos = arrayFrom(state.fileInfos.entries(), ([key, value]) => { - var _a2, _b2; - const fileId = toFileId(key); - tryAddRoot(key, fileId); - Debug.assert(fileNames[fileId - 1] === relativeToBuildInfo(key)); - const oldSignature = (_a2 = state.oldSignatures) == null ? void 0 : _a2.get(key); - const actualSignature = oldSignature !== void 0 ? oldSignature || void 0 : value.signature; - if (state.compilerOptions.composite) { - const file = state.program.getSourceFileByPath(key); - if (!isJsonSourceFile(file) && sourceFileMayBeEmitted(file, state.program)) { - const emitSignature = (_b2 = state.emitSignatures) == null ? void 0 : _b2.get(key); - if (emitSignature !== actualSignature) { - emitSignatures = append( - emitSignatures, - emitSignature === void 0 ? fileId : ( - // There is no emit, encode as false - // fileId, signature: emptyArray if signature only differs in dtsMap option than our own compilerOptions otherwise EmitSignature - [fileId, !isString(emitSignature) && emitSignature[0] === actualSignature ? emptyArray : emitSignature] - ) - ); - } - } - } - return value.version === actualSignature ? value.affectsGlobalScope || value.impliedFormat ? ( - // If file version is same as signature, dont serialize signature - { version: value.version, signature: void 0, affectsGlobalScope: value.affectsGlobalScope, impliedFormat: value.impliedFormat } - ) : ( - // If file info only contains version and signature and both are same we can just write string - value.version - ) : actualSignature !== void 0 ? ( - // If signature is not same as version, encode signature in the fileInfo - oldSignature === void 0 ? ( - // If we havent computed signature, use fileInfo as is - value - ) : ( - // Serialize fileInfo with new updated signature - { version: value.version, signature: actualSignature, affectsGlobalScope: value.affectsGlobalScope, impliedFormat: value.impliedFormat } - ) - ) : ( - // Signature of the FileInfo is undefined, serialize it as false - { version: value.version, signature: false, affectsGlobalScope: value.affectsGlobalScope, impliedFormat: value.impliedFormat } - ); - }); - let referencedMap; - if ((_a = state.referencedMap) == null ? void 0 : _a.size()) { - referencedMap = arrayFrom(state.referencedMap.keys()).sort(compareStringsCaseSensitive).map((key) => [ - toFileId(key), - toFileIdListId(state.referencedMap.getValues(key)) - ]); - } - const semanticDiagnosticsPerFile = toIncrementalBuildInfoDiagnostics(); - let affectedFilesPendingEmit; - if ((_b = state.affectedFilesPendingEmit) == null ? void 0 : _b.size) { - const fullEmitForOptions = getBuilderFileEmit(state.compilerOptions); - const seenFiles = /* @__PURE__ */ new Set(); - for (const path of arrayFrom(state.affectedFilesPendingEmit.keys()).sort(compareStringsCaseSensitive)) { - if (tryAddToSet(seenFiles, path)) { - const file = state.program.getSourceFileByPath(path); - if (!file || !sourceFileMayBeEmitted(file, state.program)) continue; - const fileId = toFileId(path), pendingEmit = state.affectedFilesPendingEmit.get(path); - affectedFilesPendingEmit = append( - affectedFilesPendingEmit, - pendingEmit === fullEmitForOptions ? fileId : ( - // Pending full emit per options - pendingEmit === 24 /* Dts */ ? [fileId] : ( - // Pending on Dts only - [fileId, pendingEmit] - ) - ) - // Anything else - ); - } - } - } - const buildInfo = { - fileNames, - fileIdsList, - fileInfos, - root, - resolvedRoot: toResolvedRoot(), - options: toIncrementalBuildInfoCompilerOptions(state.compilerOptions), - referencedMap, - semanticDiagnosticsPerFile, - emitDiagnosticsPerFile: toIncrementalBuildInfoEmitDiagnostics(), - changeFileSet: toChangeFileSet(), - affectedFilesPendingEmit, - emitSignatures, - latestChangedDtsFile, - errors: state.hasErrors ? true : void 0, - checkPending: state.checkPending, - version - }; - return buildInfo; - function relativeToBuildInfoEnsuringAbsolutePath(path) { - return relativeToBuildInfo(getNormalizedAbsolutePath(path, currentDirectory)); - } - function relativeToBuildInfo(path) { - return ensurePathIsNonModuleName(getRelativePathFromDirectory(buildInfoDirectory, path, state.program.getCanonicalFileName)); - } - function toFileId(path) { - let fileId = fileNameToFileId.get(path); - if (fileId === void 0) { - fileNames.push(relativeToBuildInfo(path)); - fileNameToFileId.set(path, fileId = fileNames.length); - } - return fileId; - } - function toFileIdListId(set) { - const fileIds = arrayFrom(set.keys(), toFileId).sort(compareValues); - const key = fileIds.join(); - let fileIdListId = fileNamesToFileIdListId == null ? void 0 : fileNamesToFileIdListId.get(key); - if (fileIdListId === void 0) { - fileIdsList = append(fileIdsList, fileIds); - (fileNamesToFileIdListId ?? (fileNamesToFileIdListId = /* @__PURE__ */ new Map())).set(key, fileIdListId = fileIdsList.length); - } - return fileIdListId; - } - function tryAddRoot(path, fileId) { - const file = state.program.getSourceFile(path); - if (!state.program.getFileIncludeReasons().get(file.path).some((r) => r.kind === 0 /* RootFile */)) return; - if (!root.length) return root.push(fileId); - const last2 = root[root.length - 1]; - const isLastStartEnd = isArray(last2); - if (isLastStartEnd && last2[1] === fileId - 1) return last2[1] = fileId; - if (isLastStartEnd || root.length === 1 || last2 !== fileId - 1) return root.push(fileId); - const lastButOne = root[root.length - 2]; - if (!isNumber(lastButOne) || lastButOne !== last2 - 1) return root.push(fileId); - root[root.length - 2] = [lastButOne, fileId]; - return root.length = root.length - 1; - } - function toResolvedRoot() { - let result; - rootFileNames.forEach((path) => { - const file = state.program.getSourceFileByPath(path); - if (file && path !== file.resolvedPath) { - result = append(result, [toFileId(file.resolvedPath), toFileId(path)]); - } - }); - return result; - } - function toIncrementalBuildInfoCompilerOptions(options) { - let result; - const { optionsNameMap } = getOptionsNameMap(); - for (const name of getOwnKeys(options).sort(compareStringsCaseSensitive)) { - const optionInfo = optionsNameMap.get(name.toLowerCase()); - if (optionInfo == null ? void 0 : optionInfo.affectsBuildInfo) { - (result || (result = {}))[name] = toReusableCompilerOptionValue( - optionInfo, - options[name] - ); - } - } - return result; - } - function toReusableCompilerOptionValue(option, value) { - if (option) { - Debug.assert(option.type !== "listOrElement"); - if (option.type === "list") { - const values = value; - if (option.element.isFilePath && values.length) { - return values.map(relativeToBuildInfoEnsuringAbsolutePath); - } - } else if (option.isFilePath) { - return relativeToBuildInfoEnsuringAbsolutePath(value); - } - } - return value; - } - function toIncrementalBuildInfoDiagnostics() { - let result; - state.fileInfos.forEach((_value, key) => { - const value = state.semanticDiagnosticsPerFile.get(key); - if (!value) { - if (!state.changedFilesSet.has(key)) result = append(result, toFileId(key)); - } else if (value.length) { - result = append(result, [ - toFileId(key), - toReusableDiagnostic(value, key) - ]); - } - }); - return result; - } - function toIncrementalBuildInfoEmitDiagnostics() { - var _a2; - let result; - if (!((_a2 = state.emitDiagnosticsPerFile) == null ? void 0 : _a2.size)) return result; - for (const key of arrayFrom(state.emitDiagnosticsPerFile.keys()).sort(compareStringsCaseSensitive)) { - const value = state.emitDiagnosticsPerFile.get(key); - result = append(result, [ - toFileId(key), - toReusableDiagnostic(value, key) - ]); - } - return result; - } - function toReusableDiagnostic(diagnostics, diagnosticFilePath) { - Debug.assert(!!diagnostics.length); - return diagnostics.map((diagnostic) => { - const result = toReusableDiagnosticRelatedInformation(diagnostic, diagnosticFilePath); - result.reportsUnnecessary = diagnostic.reportsUnnecessary; - result.reportDeprecated = diagnostic.reportsDeprecated; - result.source = diagnostic.source; - result.skippedOn = diagnostic.skippedOn; - const { relatedInformation } = diagnostic; - result.relatedInformation = relatedInformation ? relatedInformation.length ? relatedInformation.map((r) => toReusableDiagnosticRelatedInformation(r, diagnosticFilePath)) : [] : void 0; - return result; - }); - } - function toReusableDiagnosticRelatedInformation(diagnostic, diagnosticFilePath) { - const { file } = diagnostic; - return { - ...diagnostic, - file: file ? file.resolvedPath === diagnosticFilePath ? void 0 : relativeToBuildInfo(file.resolvedPath) : false, - messageText: isString(diagnostic.messageText) ? diagnostic.messageText : toReusableDiagnosticMessageChain(diagnostic.messageText) - }; - } - function toReusableDiagnosticMessageChain(chain) { - if (chain.repopulateInfo) { - return { - info: chain.repopulateInfo(), - next: toReusableDiagnosticMessageChainArray(chain.next) - }; - } - const next = toReusableDiagnosticMessageChainArray(chain.next); - return next === chain.next ? chain : { ...chain, next }; - } - function toReusableDiagnosticMessageChainArray(array) { - if (!array) return array; - return forEach(array, (chain, index) => { - const reusable = toReusableDiagnosticMessageChain(chain); - if (chain === reusable) return void 0; - const result = index > 0 ? array.slice(0, index - 1) : []; - result.push(reusable); - for (let i = index + 1; i < array.length; i++) { - result.push(toReusableDiagnosticMessageChain(array[i])); - } - return result; - }) || array; - } - function toChangeFileSet() { - let changeFileSet; - if (state.changedFilesSet.size) { - for (const path of arrayFrom(state.changedFilesSet.keys()).sort(compareStringsCaseSensitive)) { - changeFileSet = append(changeFileSet, toFileId(path)); - } - } - return changeFileSet; - } -} -function getBuilderCreationParameters(newProgramOrRootNames, hostOrOptions, oldProgramOrHost, configFileParsingDiagnosticsOrOldProgram, configFileParsingDiagnostics, projectReferences) { - let host; - let newProgram; - let oldProgram; - if (newProgramOrRootNames === void 0) { - Debug.assert(hostOrOptions === void 0); - host = oldProgramOrHost; - oldProgram = configFileParsingDiagnosticsOrOldProgram; - Debug.assert(!!oldProgram); - newProgram = oldProgram.getProgram(); - } else if (isArray(newProgramOrRootNames)) { - oldProgram = configFileParsingDiagnosticsOrOldProgram; - newProgram = createProgram({ - rootNames: newProgramOrRootNames, - options: hostOrOptions, - host: oldProgramOrHost, - oldProgram: oldProgram && oldProgram.getProgramOrUndefined(), - configFileParsingDiagnostics, - projectReferences - }); - host = oldProgramOrHost; - } else { - newProgram = newProgramOrRootNames; - host = hostOrOptions; - oldProgram = oldProgramOrHost; - configFileParsingDiagnostics = configFileParsingDiagnosticsOrOldProgram; - } - return { host, newProgram, oldProgram, configFileParsingDiagnostics: configFileParsingDiagnostics || emptyArray }; -} -function getTextHandlingSourceMapForSignature(text, data) { - return (data == null ? void 0 : data.sourceMapUrlPos) !== void 0 ? text.substring(0, data.sourceMapUrlPos) : text; -} -function computeSignatureWithDiagnostics(program, sourceFile, text, host, data) { - var _a; - text = getTextHandlingSourceMapForSignature(text, data); - let sourceFileDirectory; - if ((_a = data == null ? void 0 : data.diagnostics) == null ? void 0 : _a.length) { - text += data.diagnostics.map((diagnostic) => `${locationInfo(diagnostic)}${DiagnosticCategory[diagnostic.category]}${diagnostic.code}: ${flattenDiagnosticMessageText2(diagnostic.messageText)}`).join("\n"); - } - return (host.createHash ?? generateDjb2Hash)(text); - function flattenDiagnosticMessageText2(diagnostic) { - return isString(diagnostic) ? diagnostic : diagnostic === void 0 ? "" : !diagnostic.next ? diagnostic.messageText : diagnostic.messageText + diagnostic.next.map(flattenDiagnosticMessageText2).join("\n"); - } - function locationInfo(diagnostic) { - if (diagnostic.file.resolvedPath === sourceFile.resolvedPath) return `(${diagnostic.start},${diagnostic.length})`; - if (sourceFileDirectory === void 0) sourceFileDirectory = getDirectoryPath(sourceFile.resolvedPath); - return `${ensurePathIsNonModuleName(getRelativePathFromDirectory( - sourceFileDirectory, - diagnostic.file.resolvedPath, - program.getCanonicalFileName - ))}(${diagnostic.start},${diagnostic.length})`; - } -} -function computeSignature(text, host, data) { - return (host.createHash ?? generateDjb2Hash)(getTextHandlingSourceMapForSignature(text, data)); -} -function createBuilderProgram(kind, { newProgram, host, oldProgram, configFileParsingDiagnostics }) { - let oldState = oldProgram && oldProgram.state; - if (oldState && newProgram === oldState.program && configFileParsingDiagnostics === newProgram.getConfigFileParsingDiagnostics()) { - newProgram = void 0; - oldState = void 0; - return oldProgram; - } - const state = createBuilderProgramState(newProgram, oldState); - newProgram.getBuildInfo = () => getBuildInfo2(toBuilderProgramStateWithDefinedProgram(state)); - newProgram = void 0; - oldProgram = void 0; - oldState = void 0; - const builderProgram = createRedirectedBuilderProgram(state, configFileParsingDiagnostics); - builderProgram.state = state; - builderProgram.hasChangedEmitSignature = () => !!state.hasChangedEmitSignature; - builderProgram.getAllDependencies = (sourceFile) => BuilderState.getAllDependencies( - state, - Debug.checkDefined(state.program), - sourceFile - ); - builderProgram.getSemanticDiagnostics = getSemanticDiagnostics; - builderProgram.getDeclarationDiagnostics = getDeclarationDiagnostics2; - builderProgram.emit = emit; - builderProgram.releaseProgram = () => releaseCache(state); - if (kind === 0 /* SemanticDiagnosticsBuilderProgram */) { - builderProgram.getSemanticDiagnosticsOfNextAffectedFile = getSemanticDiagnosticsOfNextAffectedFile; - } else if (kind === 1 /* EmitAndSemanticDiagnosticsBuilderProgram */) { - builderProgram.getSemanticDiagnosticsOfNextAffectedFile = getSemanticDiagnosticsOfNextAffectedFile; - builderProgram.emitNextAffectedFile = emitNextAffectedFile; - builderProgram.emitBuildInfo = emitBuildInfo; - } else { - notImplemented(); - } - return builderProgram; - function emitBuildInfo(writeFile2, cancellationToken) { - Debug.assert(isBuilderProgramStateWithDefinedProgram(state)); - if (getBuildInfoEmitPending(state)) { - const result = state.program.emitBuildInfo( - writeFile2 || maybeBind(host, host.writeFile), - cancellationToken - ); - state.buildInfoEmitPending = false; - return result; - } - return emitSkippedWithNoDiagnostics; - } - function emitNextAffectedFileOrDtsErrors(writeFile2, cancellationToken, emitOnlyDtsFiles, customTransformers, isForDtsErrors) { - var _a, _b, _c, _d; - Debug.assert(isBuilderProgramStateWithDefinedProgram(state)); - let affected = getNextAffectedFile(state, cancellationToken, host); - const programEmitKind = getBuilderFileEmit(state.compilerOptions); - let emitKind = !isForDtsErrors ? emitOnlyDtsFiles ? programEmitKind & 56 /* AllDts */ : programEmitKind : 8 /* DtsErrors */; - if (!affected) { - if (!state.compilerOptions.outFile) { - const pendingAffectedFile = getNextAffectedFilePendingEmit( - state, - emitOnlyDtsFiles, - isForDtsErrors - ); - if (pendingAffectedFile) { - ({ affectedFile: affected, emitKind } = pendingAffectedFile); - } else { - const pendingForDiagnostics = getNextPendingEmitDiagnosticsFile( - state, - isForDtsErrors - ); - if (pendingForDiagnostics) { - (state.seenEmittedFiles ?? (state.seenEmittedFiles = /* @__PURE__ */ new Map())).set( - pendingForDiagnostics.affectedFile.resolvedPath, - pendingForDiagnostics.seenKind | getBuilderFileEmitAllDts(isForDtsErrors) - ); - return { - result: { emitSkipped: true, diagnostics: pendingForDiagnostics.diagnostics }, - affected: pendingForDiagnostics.affectedFile - }; - } - } - } else { - if (state.programEmitPending) { - emitKind = getPendingEmitKindWithSeen( - state.programEmitPending, - state.seenProgramEmit, - emitOnlyDtsFiles, - isForDtsErrors - ); - if (emitKind) affected = state.program; - } - if (!affected && ((_a = state.emitDiagnosticsPerFile) == null ? void 0 : _a.size)) { - const seenKind = state.seenProgramEmit || 0 /* None */; - if (!(seenKind & getBuilderFileEmitAllDts(isForDtsErrors))) { - state.seenProgramEmit = getBuilderFileEmitAllDts(isForDtsErrors) | seenKind; - const diagnostics = []; - state.emitDiagnosticsPerFile.forEach((d) => addRange(diagnostics, d)); - return { - result: { emitSkipped: true, diagnostics }, - affected: state.program - }; - } - } - } - if (!affected) { - if (isForDtsErrors || !getBuildInfoEmitPending(state)) return void 0; - const affected2 = state.program; - const result2 = affected2.emitBuildInfo( - writeFile2 || maybeBind(host, host.writeFile), - cancellationToken - ); - state.buildInfoEmitPending = false; - return { result: result2, affected: affected2 }; - } - } - let emitOnly; - if (emitKind & 7 /* AllJs */) emitOnly = 0 /* Js */; - if (emitKind & 56 /* AllDts */) emitOnly = emitOnly === void 0 ? 1 /* Dts */ : void 0; - const result = !isForDtsErrors ? state.program.emit( - affected === state.program ? void 0 : affected, - getWriteFileCallback(writeFile2, customTransformers), - cancellationToken, - emitOnly, - customTransformers, - /*forceDtsEmit*/ - void 0, - /*skipBuildInfo*/ - true - ) : { - emitSkipped: true, - diagnostics: state.program.getDeclarationDiagnostics( - affected === state.program ? void 0 : affected, - cancellationToken - ) - }; - if (affected !== state.program) { - const affectedSourceFile = affected; - state.seenAffectedFiles.add(affectedSourceFile.resolvedPath); - if (state.affectedFilesIndex !== void 0) state.affectedFilesIndex++; - state.buildInfoEmitPending = true; - const existing = ((_b = state.seenEmittedFiles) == null ? void 0 : _b.get(affectedSourceFile.resolvedPath)) || 0 /* None */; - (state.seenEmittedFiles ?? (state.seenEmittedFiles = /* @__PURE__ */ new Map())).set(affectedSourceFile.resolvedPath, emitKind | existing); - const existingPending = ((_c = state.affectedFilesPendingEmit) == null ? void 0 : _c.get(affectedSourceFile.resolvedPath)) || programEmitKind; - const pendingKind = getPendingEmitKind(existingPending, emitKind | existing); - if (pendingKind) (state.affectedFilesPendingEmit ?? (state.affectedFilesPendingEmit = /* @__PURE__ */ new Map())).set(affectedSourceFile.resolvedPath, pendingKind); - else (_d = state.affectedFilesPendingEmit) == null ? void 0 : _d.delete(affectedSourceFile.resolvedPath); - if (result.diagnostics.length) (state.emitDiagnosticsPerFile ?? (state.emitDiagnosticsPerFile = /* @__PURE__ */ new Map())).set(affectedSourceFile.resolvedPath, result.diagnostics); - } else { - state.changedFilesSet.clear(); - state.programEmitPending = state.changedFilesSet.size ? getPendingEmitKind(programEmitKind, emitKind) : state.programEmitPending ? getPendingEmitKind(state.programEmitPending, emitKind) : void 0; - state.seenProgramEmit = emitKind | (state.seenProgramEmit || 0 /* None */); - setEmitDiagnosticsPerFile(result.diagnostics); - state.buildInfoEmitPending = true; - } - return { result, affected }; - } - function setEmitDiagnosticsPerFile(diagnostics) { - let emitDiagnosticsPerFile; - diagnostics.forEach((d) => { - if (!d.file) return; - let diagnostics2 = emitDiagnosticsPerFile == null ? void 0 : emitDiagnosticsPerFile.get(d.file.resolvedPath); - if (!diagnostics2) (emitDiagnosticsPerFile ?? (emitDiagnosticsPerFile = /* @__PURE__ */ new Map())).set(d.file.resolvedPath, diagnostics2 = []); - diagnostics2.push(d); - }); - if (emitDiagnosticsPerFile) state.emitDiagnosticsPerFile = emitDiagnosticsPerFile; - } - function emitNextAffectedFile(writeFile2, cancellationToken, emitOnlyDtsFiles, customTransformers) { - return emitNextAffectedFileOrDtsErrors( - writeFile2, - cancellationToken, - emitOnlyDtsFiles, - customTransformers, - /*isForDtsErrors*/ - false - ); - } - function getWriteFileCallback(writeFile2, customTransformers) { - Debug.assert(isBuilderProgramStateWithDefinedProgram(state)); - if (!getEmitDeclarations(state.compilerOptions)) return writeFile2 || maybeBind(host, host.writeFile); - return (fileName, text, writeByteOrderMark, onError, sourceFiles, data) => { - var _a, _b, _c; - if (isDeclarationFileName(fileName)) { - if (!state.compilerOptions.outFile) { - Debug.assert((sourceFiles == null ? void 0 : sourceFiles.length) === 1); - let emitSignature; - if (!customTransformers) { - const file = sourceFiles[0]; - const info = state.fileInfos.get(file.resolvedPath); - if (info.signature === file.version) { - const signature = computeSignatureWithDiagnostics( - state.program, - file, - text, - host, - data - ); - if (!((_a = data == null ? void 0 : data.diagnostics) == null ? void 0 : _a.length)) emitSignature = signature; - if (signature !== file.version) { - if (host.storeSignatureInfo) (state.signatureInfo ?? (state.signatureInfo = /* @__PURE__ */ new Map())).set(file.resolvedPath, 1 /* StoredSignatureAtEmit */); - if (state.affectedFiles) { - const existing = (_b = state.oldSignatures) == null ? void 0 : _b.get(file.resolvedPath); - if (existing === void 0) (state.oldSignatures ?? (state.oldSignatures = /* @__PURE__ */ new Map())).set(file.resolvedPath, info.signature || false); - info.signature = signature; - } else { - info.signature = signature; - } - } - } - } - if (state.compilerOptions.composite) { - const filePath = sourceFiles[0].resolvedPath; - emitSignature = handleNewSignature((_c = state.emitSignatures) == null ? void 0 : _c.get(filePath), emitSignature); - if (!emitSignature) return data.skippedDtsWrite = true; - (state.emitSignatures ?? (state.emitSignatures = /* @__PURE__ */ new Map())).set(filePath, emitSignature); - } - } else if (state.compilerOptions.composite) { - const newSignature = handleNewSignature( - state.outSignature, - /*newSignature*/ - void 0 - ); - if (!newSignature) return data.skippedDtsWrite = true; - state.outSignature = newSignature; - } - } - if (writeFile2) writeFile2(fileName, text, writeByteOrderMark, onError, sourceFiles, data); - else if (host.writeFile) host.writeFile(fileName, text, writeByteOrderMark, onError, sourceFiles, data); - else state.program.writeFile(fileName, text, writeByteOrderMark, onError, sourceFiles, data); - function handleNewSignature(oldSignatureFormat, newSignature) { - const oldSignature = !oldSignatureFormat || isString(oldSignatureFormat) ? oldSignatureFormat : oldSignatureFormat[0]; - newSignature ?? (newSignature = computeSignature(text, host, data)); - if (newSignature === oldSignature) { - if (oldSignatureFormat === oldSignature) return void 0; - else if (data) data.differsOnlyInMap = true; - else data = { differsOnlyInMap: true }; - } else { - state.hasChangedEmitSignature = true; - state.latestChangedDtsFile = fileName; - } - return newSignature; - } - }; - } - function emit(targetSourceFile, writeFile2, cancellationToken, emitOnlyDtsFiles, customTransformers) { - Debug.assert(isBuilderProgramStateWithDefinedProgram(state)); - if (kind === 1 /* EmitAndSemanticDiagnosticsBuilderProgram */) { - assertSourceFileOkWithoutNextAffectedCall(state, targetSourceFile); - } - const result = handleNoEmitOptions(builderProgram, targetSourceFile, writeFile2, cancellationToken); - if (result) return result; - if (!targetSourceFile) { - if (kind === 1 /* EmitAndSemanticDiagnosticsBuilderProgram */) { - let sourceMaps = []; - let emitSkipped = false; - let diagnostics; - let emittedFiles = []; - let affectedEmitResult; - while (affectedEmitResult = emitNextAffectedFile( - writeFile2, - cancellationToken, - emitOnlyDtsFiles, - customTransformers - )) { - emitSkipped = emitSkipped || affectedEmitResult.result.emitSkipped; - diagnostics = addRange(diagnostics, affectedEmitResult.result.diagnostics); - emittedFiles = addRange(emittedFiles, affectedEmitResult.result.emittedFiles); - sourceMaps = addRange(sourceMaps, affectedEmitResult.result.sourceMaps); - } - return { - emitSkipped, - diagnostics: diagnostics || emptyArray, - emittedFiles, - sourceMaps - }; - } else { - clearAffectedFilesPendingEmit( - state, - emitOnlyDtsFiles, - /*isForDtsErrors*/ - false - ); - } - } - const emitResult = state.program.emit( - targetSourceFile, - getWriteFileCallback(writeFile2, customTransformers), - cancellationToken, - emitOnlyDtsFiles, - customTransformers - ); - handleNonEmitBuilderWithEmitOrDtsErrors( - targetSourceFile, - emitOnlyDtsFiles, - /*isForDtsErrors*/ - false, - emitResult.diagnostics - ); - return emitResult; - } - function handleNonEmitBuilderWithEmitOrDtsErrors(targetSourceFile, emitOnlyDtsFiles, isForDtsErrors, diagnostics) { - if (!targetSourceFile && kind !== 1 /* EmitAndSemanticDiagnosticsBuilderProgram */) { - clearAffectedFilesPendingEmit(state, emitOnlyDtsFiles, isForDtsErrors); - setEmitDiagnosticsPerFile(diagnostics); - } - } - function getDeclarationDiagnostics2(sourceFile, cancellationToken) { - var _a; - Debug.assert(isBuilderProgramStateWithDefinedProgram(state)); - if (kind === 1 /* EmitAndSemanticDiagnosticsBuilderProgram */) { - assertSourceFileOkWithoutNextAffectedCall(state, sourceFile); - let affectedEmitResult; - let diagnostics; - while (affectedEmitResult = emitNextAffectedFileOrDtsErrors( - /*writeFile*/ - void 0, - cancellationToken, - /*emitOnlyDtsFiles*/ - void 0, - /*customTransformers*/ - void 0, - /*isForDtsErrors*/ - true - )) { - if (!sourceFile) diagnostics = addRange(diagnostics, affectedEmitResult.result.diagnostics); - } - return (!sourceFile ? diagnostics : (_a = state.emitDiagnosticsPerFile) == null ? void 0 : _a.get(sourceFile.resolvedPath)) || emptyArray; - } else { - const result = state.program.getDeclarationDiagnostics(sourceFile, cancellationToken); - handleNonEmitBuilderWithEmitOrDtsErrors( - sourceFile, - /*emitOnlyDtsFiles*/ - void 0, - /*isForDtsErrors*/ - true, - result - ); - return result; - } - } - function getSemanticDiagnosticsOfNextAffectedFile(cancellationToken, ignoreSourceFile) { - Debug.assert(isBuilderProgramStateWithDefinedProgram(state)); - while (true) { - const affected = getNextAffectedFile(state, cancellationToken, host); - let result; - if (!affected) { - if (state.checkPending && !state.compilerOptions.noCheck) { - state.checkPending = void 0; - state.buildInfoEmitPending = true; - } - return void 0; - } else if (affected !== state.program) { - const affectedSourceFile = affected; - if (!ignoreSourceFile || !ignoreSourceFile(affectedSourceFile)) { - result = getSemanticDiagnosticsOfFile(state, affectedSourceFile, cancellationToken); - } - state.seenAffectedFiles.add(affectedSourceFile.resolvedPath); - state.affectedFilesIndex++; - state.buildInfoEmitPending = true; - if (!result) continue; - } else { - let diagnostics; - const semanticDiagnosticsPerFile = /* @__PURE__ */ new Map(); - state.program.getSourceFiles().forEach( - (sourceFile) => diagnostics = addRange( - diagnostics, - getSemanticDiagnosticsOfFile( - state, - sourceFile, - cancellationToken, - semanticDiagnosticsPerFile - ) - ) - ); - state.semanticDiagnosticsPerFile = semanticDiagnosticsPerFile; - result = diagnostics || emptyArray; - state.changedFilesSet.clear(); - state.programEmitPending = getBuilderFileEmit(state.compilerOptions); - if (!state.compilerOptions.noCheck) state.checkPending = void 0; - state.buildInfoEmitPending = true; - } - return { result, affected }; - } - } - function getSemanticDiagnostics(sourceFile, cancellationToken) { - Debug.assert(isBuilderProgramStateWithDefinedProgram(state)); - assertSourceFileOkWithoutNextAffectedCall(state, sourceFile); - if (sourceFile) { - return getSemanticDiagnosticsOfFile(state, sourceFile, cancellationToken); - } - while (true) { - const affectedResult = getSemanticDiagnosticsOfNextAffectedFile(cancellationToken); - if (!affectedResult) break; - if (affectedResult.affected === state.program) return affectedResult.result; - } - let diagnostics; - for (const sourceFile2 of state.program.getSourceFiles()) { - diagnostics = addRange(diagnostics, getSemanticDiagnosticsOfFile(state, sourceFile2, cancellationToken)); - } - if (state.checkPending && !state.compilerOptions.noCheck) { - state.checkPending = void 0; - state.buildInfoEmitPending = true; - } - return diagnostics || emptyArray; - } -} -function addToAffectedFilesPendingEmit(state, affectedFilePendingEmit, kind) { - var _a, _b; - const existingKind = ((_a = state.affectedFilesPendingEmit) == null ? void 0 : _a.get(affectedFilePendingEmit)) || 0 /* None */; - (state.affectedFilesPendingEmit ?? (state.affectedFilesPendingEmit = /* @__PURE__ */ new Map())).set(affectedFilePendingEmit, existingKind | kind); - (_b = state.emitDiagnosticsPerFile) == null ? void 0 : _b.delete(affectedFilePendingEmit); -} -function toBuilderStateFileInfoForMultiEmit(fileInfo) { - return isString(fileInfo) ? { version: fileInfo, signature: fileInfo, affectsGlobalScope: void 0, impliedFormat: void 0 } : isString(fileInfo.signature) ? fileInfo : { version: fileInfo.version, signature: fileInfo.signature === false ? void 0 : fileInfo.version, affectsGlobalScope: fileInfo.affectsGlobalScope, impliedFormat: fileInfo.impliedFormat }; -} -function toBuilderFileEmit(value, fullEmitForOptions) { - return isNumber(value) ? fullEmitForOptions : value[1] || 24 /* Dts */; -} -function toProgramEmitPending(value, options) { - return !value ? getBuilderFileEmit(options || {}) : value; -} -function createBuilderProgramUsingIncrementalBuildInfo(buildInfo, buildInfoPath, host) { - var _a, _b, _c, _d; - const buildInfoDirectory = getDirectoryPath(getNormalizedAbsolutePath(buildInfoPath, host.getCurrentDirectory())); - const getCanonicalFileName = createGetCanonicalFileName(host.useCaseSensitiveFileNames()); - let state; - const filePaths = (_a = buildInfo.fileNames) == null ? void 0 : _a.map(toPathInBuildInfoDirectory); - let filePathsSetList; - const latestChangedDtsFile = buildInfo.latestChangedDtsFile ? toAbsolutePath(buildInfo.latestChangedDtsFile) : void 0; - const fileInfos = /* @__PURE__ */ new Map(); - const changedFilesSet = new Set(map(buildInfo.changeFileSet, toFilePath)); - if (isIncrementalBundleEmitBuildInfo(buildInfo)) { - buildInfo.fileInfos.forEach((fileInfo, index) => { - const path = toFilePath(index + 1); - fileInfos.set(path, isString(fileInfo) ? { version: fileInfo, signature: void 0, affectsGlobalScope: void 0, impliedFormat: void 0 } : fileInfo); - }); - state = { - fileInfos, - compilerOptions: buildInfo.options ? convertToOptionsWithAbsolutePaths(buildInfo.options, toAbsolutePath) : {}, - semanticDiagnosticsPerFile: toPerFileSemanticDiagnostics(buildInfo.semanticDiagnosticsPerFile), - emitDiagnosticsPerFile: toPerFileEmitDiagnostics(buildInfo.emitDiagnosticsPerFile), - hasReusableDiagnostic: true, - changedFilesSet, - latestChangedDtsFile, - outSignature: buildInfo.outSignature, - programEmitPending: buildInfo.pendingEmit === void 0 ? void 0 : toProgramEmitPending(buildInfo.pendingEmit, buildInfo.options), - hasErrors: buildInfo.errors, - checkPending: buildInfo.checkPending - }; - } else { - filePathsSetList = (_b = buildInfo.fileIdsList) == null ? void 0 : _b.map((fileIds) => new Set(fileIds.map(toFilePath))); - const emitSignatures = ((_c = buildInfo.options) == null ? void 0 : _c.composite) && !buildInfo.options.outFile ? /* @__PURE__ */ new Map() : void 0; - buildInfo.fileInfos.forEach((fileInfo, index) => { - const path = toFilePath(index + 1); - const stateFileInfo = toBuilderStateFileInfoForMultiEmit(fileInfo); - fileInfos.set(path, stateFileInfo); - if (emitSignatures && stateFileInfo.signature) emitSignatures.set(path, stateFileInfo.signature); - }); - (_d = buildInfo.emitSignatures) == null ? void 0 : _d.forEach((value) => { - if (isNumber(value)) emitSignatures.delete(toFilePath(value)); - else { - const key = toFilePath(value[0]); - emitSignatures.set( - key, - !isString(value[1]) && !value[1].length ? ( - // File signature is emit signature but differs in map - [emitSignatures.get(key)] - ) : value[1] - ); - } - }); - const fullEmitForOptions = buildInfo.affectedFilesPendingEmit ? getBuilderFileEmit(buildInfo.options || {}) : void 0; - state = { - fileInfos, - compilerOptions: buildInfo.options ? convertToOptionsWithAbsolutePaths(buildInfo.options, toAbsolutePath) : {}, - referencedMap: toManyToManyPathMap(buildInfo.referencedMap, buildInfo.options ?? {}), - semanticDiagnosticsPerFile: toPerFileSemanticDiagnostics(buildInfo.semanticDiagnosticsPerFile), - emitDiagnosticsPerFile: toPerFileEmitDiagnostics(buildInfo.emitDiagnosticsPerFile), - hasReusableDiagnostic: true, - changedFilesSet, - affectedFilesPendingEmit: buildInfo.affectedFilesPendingEmit && arrayToMap(buildInfo.affectedFilesPendingEmit, (value) => toFilePath(isNumber(value) ? value : value[0]), (value) => toBuilderFileEmit(value, fullEmitForOptions)), - latestChangedDtsFile, - emitSignatures: (emitSignatures == null ? void 0 : emitSignatures.size) ? emitSignatures : void 0, - hasErrors: buildInfo.errors, - checkPending: buildInfo.checkPending - }; - } - return { - state, - getProgram: notImplemented, - getProgramOrUndefined: returnUndefined, - releaseProgram: noop, - getCompilerOptions: () => state.compilerOptions, - getSourceFile: notImplemented, - getSourceFiles: notImplemented, - getOptionsDiagnostics: notImplemented, - getGlobalDiagnostics: notImplemented, - getConfigFileParsingDiagnostics: notImplemented, - getSyntacticDiagnostics: notImplemented, - getDeclarationDiagnostics: notImplemented, - getSemanticDiagnostics: notImplemented, - emit: notImplemented, - getAllDependencies: notImplemented, - getCurrentDirectory: notImplemented, - emitNextAffectedFile: notImplemented, - getSemanticDiagnosticsOfNextAffectedFile: notImplemented, - emitBuildInfo: notImplemented, - close: noop, - hasChangedEmitSignature: returnFalse - }; - function toPathInBuildInfoDirectory(path) { - return toPath(path, buildInfoDirectory, getCanonicalFileName); - } - function toAbsolutePath(path) { - return getNormalizedAbsolutePath(path, buildInfoDirectory); - } - function toFilePath(fileId) { - return filePaths[fileId - 1]; - } - function toFilePathsSet(fileIdsListId) { - return filePathsSetList[fileIdsListId - 1]; - } - function toManyToManyPathMap(referenceMap, options) { - const map2 = BuilderState.createReferencedMap(options); - if (!map2 || !referenceMap) return map2; - referenceMap.forEach(([fileId, fileIdListId]) => map2.set(toFilePath(fileId), toFilePathsSet(fileIdListId))); - return map2; - } - function toPerFileSemanticDiagnostics(diagnostics) { - const semanticDiagnostics = new Map( - mapDefinedIterator( - fileInfos.keys(), - (key) => !changedFilesSet.has(key) ? [key, emptyArray] : void 0 - ) - ); - diagnostics == null ? void 0 : diagnostics.forEach((value) => { - if (isNumber(value)) semanticDiagnostics.delete(toFilePath(value)); - else semanticDiagnostics.set(toFilePath(value[0]), value[1]); - }); - return semanticDiagnostics; - } - function toPerFileEmitDiagnostics(diagnostics) { - return diagnostics && arrayToMap(diagnostics, (value) => toFilePath(value[0]), (value) => value[1]); - } -} -function getBuildInfoFileVersionMap(program, buildInfoPath, host) { - const buildInfoDirectory = getDirectoryPath(getNormalizedAbsolutePath(buildInfoPath, host.getCurrentDirectory())); - const getCanonicalFileName = createGetCanonicalFileName(host.useCaseSensitiveFileNames()); - const fileInfos = /* @__PURE__ */ new Map(); - let rootIndex = 0; - const roots = /* @__PURE__ */ new Map(); - const resolvedRoots = new Map(program.resolvedRoot); - program.fileInfos.forEach((fileInfo, index) => { - const path = toPath(program.fileNames[index], buildInfoDirectory, getCanonicalFileName); - const version2 = isString(fileInfo) ? fileInfo : fileInfo.version; - fileInfos.set(path, version2); - if (rootIndex < program.root.length) { - const current = program.root[rootIndex]; - const fileId = index + 1; - if (isArray(current)) { - if (current[0] <= fileId && fileId <= current[1]) { - addRoot(fileId, path); - if (current[1] === fileId) rootIndex++; - } - } else if (current === fileId) { - addRoot(fileId, path); - rootIndex++; - } - } - }); - return { fileInfos, roots }; - function addRoot(fileId, path) { - const root = resolvedRoots.get(fileId); - if (root) { - roots.set(toPath(program.fileNames[root - 1], buildInfoDirectory, getCanonicalFileName), path); - } else { - roots.set(path, void 0); - } - } -} -function getNonIncrementalBuildInfoRoots(buildInfo, buildInfoPath, host) { - if (!isNonIncrementalBuildInfo(buildInfo)) return void 0; - const buildInfoDirectory = getDirectoryPath(getNormalizedAbsolutePath(buildInfoPath, host.getCurrentDirectory())); - const getCanonicalFileName = createGetCanonicalFileName(host.useCaseSensitiveFileNames()); - return buildInfo.root.map((r) => toPath(r, buildInfoDirectory, getCanonicalFileName)); -} -function createRedirectedBuilderProgram(state, configFileParsingDiagnostics) { - return { - state: void 0, - getProgram, - getProgramOrUndefined: () => state.program, - releaseProgram: () => state.program = void 0, - getCompilerOptions: () => state.compilerOptions, - getSourceFile: (fileName) => getProgram().getSourceFile(fileName), - getSourceFiles: () => getProgram().getSourceFiles(), - getOptionsDiagnostics: (cancellationToken) => getProgram().getOptionsDiagnostics(cancellationToken), - getGlobalDiagnostics: (cancellationToken) => getProgram().getGlobalDiagnostics(cancellationToken), - getConfigFileParsingDiagnostics: () => configFileParsingDiagnostics, - getSyntacticDiagnostics: (sourceFile, cancellationToken) => getProgram().getSyntacticDiagnostics(sourceFile, cancellationToken), - getDeclarationDiagnostics: (sourceFile, cancellationToken) => getProgram().getDeclarationDiagnostics(sourceFile, cancellationToken), - getSemanticDiagnostics: (sourceFile, cancellationToken) => getProgram().getSemanticDiagnostics(sourceFile, cancellationToken), - emit: (sourceFile, writeFile2, cancellationToken, emitOnlyDts, customTransformers) => getProgram().emit(sourceFile, writeFile2, cancellationToken, emitOnlyDts, customTransformers), - emitBuildInfo: (writeFile2, cancellationToken) => getProgram().emitBuildInfo(writeFile2, cancellationToken), - getAllDependencies: notImplemented, - getCurrentDirectory: () => getProgram().getCurrentDirectory(), - close: noop - }; - function getProgram() { - return Debug.checkDefined(state.program); - } -} - -// src/compiler/builderPublic.ts -function createEmitAndSemanticDiagnosticsBuilderProgram(newProgramOrRootNames, hostOrOptions, oldProgramOrHost, configFileParsingDiagnosticsOrOldProgram, configFileParsingDiagnostics, projectReferences) { - return createBuilderProgram( - 1 /* EmitAndSemanticDiagnosticsBuilderProgram */, - getBuilderCreationParameters( - newProgramOrRootNames, - hostOrOptions, - oldProgramOrHost, - configFileParsingDiagnosticsOrOldProgram, - configFileParsingDiagnostics, - projectReferences - ) - ); -} - -// src/compiler/resolutionCache.ts -function removeIgnoredPath(path) { - if (endsWith(path, "/node_modules/.staging")) { - return removeSuffix(path, "/.staging"); - } - return some(ignoredPaths, (searchPath) => path.includes(searchPath)) ? void 0 : path; -} -function perceivedOsRootLengthForWatching(pathComponents2, length2) { - if (length2 <= 1) return 1; - let indexAfterOsRoot = 1; - let isDosStyle = pathComponents2[0].search(/[a-z]:/i) === 0; - if (pathComponents2[0] !== directorySeparator && !isDosStyle && // Non dos style paths - pathComponents2[1].search(/[a-z]\$$/i) === 0) { - if (length2 === 2) return 2; - indexAfterOsRoot = 2; - isDosStyle = true; - } - if (isDosStyle && !pathComponents2[indexAfterOsRoot].match(/^users$/i)) { - return indexAfterOsRoot; - } - if (pathComponents2[indexAfterOsRoot].match(/^workspaces$/i)) { - return indexAfterOsRoot + 1; - } - return indexAfterOsRoot + 2; -} -function canWatchDirectoryOrFile(pathComponents2, length2) { - if (length2 === void 0) length2 = pathComponents2.length; - if (length2 <= 2) return false; - const perceivedOsRootLength = perceivedOsRootLengthForWatching(pathComponents2, length2); - return length2 > perceivedOsRootLength + 1; -} -function canWatchAtTypes(atTypes) { - return canWatchAffectedPackageJsonOrNodeModulesOfAtTypes(getDirectoryPath(atTypes)); -} -function isInDirectoryPath(dirComponents, fileOrDirComponents) { - if (fileOrDirComponents.length < fileOrDirComponents.length) return false; - for (let i = 0; i < dirComponents.length; i++) { - if (fileOrDirComponents[i] !== dirComponents[i]) return false; - } - return true; -} -function canWatchAffectedPackageJsonOrNodeModulesOfAtTypes(fileOrDirPath) { - return canWatchDirectoryOrFile(getPathComponents(fileOrDirPath)); -} -function canWatchAffectingLocation(filePath) { - return canWatchAffectedPackageJsonOrNodeModulesOfAtTypes(filePath); -} -function getDirectoryToWatchFailedLookupLocation(failedLookupLocation, failedLookupLocationPath, rootDir, rootPath, rootPathComponents, getCurrentDirectory, preferNonRecursiveWatch) { - const failedLookupPathComponents = getPathComponents(failedLookupLocationPath); - failedLookupLocation = isRootedDiskPath(failedLookupLocation) ? normalizePath(failedLookupLocation) : getNormalizedAbsolutePath(failedLookupLocation, getCurrentDirectory()); - const failedLookupComponents = getPathComponents(failedLookupLocation); - const perceivedOsRootLength = perceivedOsRootLengthForWatching(failedLookupPathComponents, failedLookupPathComponents.length); - if (failedLookupPathComponents.length <= perceivedOsRootLength + 1) return void 0; - const nodeModulesIndex = failedLookupPathComponents.indexOf("node_modules"); - if (nodeModulesIndex !== -1 && nodeModulesIndex + 1 <= perceivedOsRootLength + 1) return void 0; - const lastNodeModulesIndex = failedLookupPathComponents.lastIndexOf("node_modules"); - if (isInDirectoryPath(rootPathComponents, failedLookupPathComponents)) { - if (failedLookupPathComponents.length > rootPathComponents.length + 1) { - return getDirectoryOfFailedLookupWatch( - failedLookupComponents, - failedLookupPathComponents, - Math.max(rootPathComponents.length + 1, perceivedOsRootLength + 1), - lastNodeModulesIndex - ); - } else { - return { - dir: rootDir, - dirPath: rootPath, - nonRecursive: true - }; - } - } - return getDirectoryToWatchFromFailedLookupLocationDirectory( - failedLookupComponents, - failedLookupPathComponents, - failedLookupPathComponents.length - 1, - perceivedOsRootLength, - nodeModulesIndex, - rootPathComponents, - lastNodeModulesIndex, - preferNonRecursiveWatch - ); -} -function getDirectoryToWatchFromFailedLookupLocationDirectory(dirComponents, dirPathComponents, dirPathComponentsLength, perceivedOsRootLength, nodeModulesIndex, rootPathComponents, lastNodeModulesIndex, preferNonRecursiveWatch) { - if (nodeModulesIndex !== -1) { - return getDirectoryOfFailedLookupWatch( - dirComponents, - dirPathComponents, - nodeModulesIndex + 1, - lastNodeModulesIndex - ); - } - let nonRecursive = true; - let length2 = dirPathComponentsLength; - if (!preferNonRecursiveWatch) { - for (let i = 0; i < dirPathComponentsLength; i++) { - if (dirPathComponents[i] !== rootPathComponents[i]) { - nonRecursive = false; - length2 = Math.max(i + 1, perceivedOsRootLength + 1); - break; - } - } - } - return getDirectoryOfFailedLookupWatch( - dirComponents, - dirPathComponents, - length2, - lastNodeModulesIndex, - nonRecursive - ); -} -function getDirectoryOfFailedLookupWatch(dirComponents, dirPathComponents, length2, lastNodeModulesIndex, nonRecursive) { - let packageDirLength; - if (lastNodeModulesIndex !== -1 && lastNodeModulesIndex + 1 >= length2 && lastNodeModulesIndex + 2 < dirPathComponents.length) { - if (!startsWith(dirPathComponents[lastNodeModulesIndex + 1], "@")) { - packageDirLength = lastNodeModulesIndex + 2; - } else if (lastNodeModulesIndex + 3 < dirPathComponents.length) { - packageDirLength = lastNodeModulesIndex + 3; - } - } - return { - dir: getPathFromPathComponents(dirComponents, length2), - dirPath: getPathFromPathComponents(dirPathComponents, length2), - nonRecursive, - packageDir: packageDirLength !== void 0 ? getPathFromPathComponents(dirComponents, packageDirLength) : void 0, - packageDirPath: packageDirLength !== void 0 ? getPathFromPathComponents(dirPathComponents, packageDirLength) : void 0 - }; -} -function getDirectoryToWatchFailedLookupLocationFromTypeRoot(typeRoot, typeRootPath, rootPath, rootPathComponents, getCurrentDirectory, preferNonRecursiveWatch, filterCustomPath) { - const typeRootPathComponents = getPathComponents(typeRootPath); - if (isInDirectoryPath(rootPathComponents, typeRootPathComponents)) { - return rootPath; - } - typeRoot = isRootedDiskPath(typeRoot) ? normalizePath(typeRoot) : getNormalizedAbsolutePath(typeRoot, getCurrentDirectory()); - const toWatch = getDirectoryToWatchFromFailedLookupLocationDirectory( - getPathComponents(typeRoot), - typeRootPathComponents, - typeRootPathComponents.length, - perceivedOsRootLengthForWatching(typeRootPathComponents, typeRootPathComponents.length), - typeRootPathComponents.indexOf("node_modules"), - rootPathComponents, - typeRootPathComponents.lastIndexOf("node_modules"), - preferNonRecursiveWatch - ); - return toWatch && filterCustomPath(toWatch.dirPath) ? toWatch.dirPath : void 0; -} -function getRootDirectoryOfResolutionCache(rootDirForResolution, getCurrentDirectory) { - const normalized = getNormalizedAbsolutePath(rootDirForResolution, getCurrentDirectory()); - return !isDiskPathRoot(normalized) ? removeTrailingDirectorySeparator(normalized) : normalized; -} -function getModuleResolutionHost(resolutionHost) { - var _a; - return ((_a = resolutionHost.getCompilerHost) == null ? void 0 : _a.call(resolutionHost)) || resolutionHost; -} -function createModuleResolutionLoaderUsingGlobalCache(containingFile, redirectedReference, options, resolutionHost, moduleResolutionCache) { - return { - nameAndMode: moduleResolutionNameAndModeGetter, - resolve: (moduleName, resoluionMode) => resolveModuleNameUsingGlobalCache( - resolutionHost, - moduleResolutionCache, - moduleName, - containingFile, - options, - redirectedReference, - resoluionMode - ) - }; -} -function resolveModuleNameUsingGlobalCache(resolutionHost, moduleResolutionCache, moduleName, containingFile, compilerOptions, redirectedReference, mode) { - const host = getModuleResolutionHost(resolutionHost); - const primaryResult = resolveModuleName(moduleName, containingFile, compilerOptions, host, moduleResolutionCache, redirectedReference, mode); - if (!resolutionHost.getGlobalCache) { - return primaryResult; - } - const globalCache = resolutionHost.getGlobalCache(); - if (globalCache !== void 0 && !isExternalModuleNameRelative(moduleName) && !(primaryResult.resolvedModule && extensionIsTS(primaryResult.resolvedModule.extension))) { - const { resolvedModule, failedLookupLocations, affectingLocations, resolutionDiagnostics } = loadModuleFromGlobalCache( - Debug.checkDefined(resolutionHost.globalCacheResolutionModuleName)(moduleName), - resolutionHost.projectName, - compilerOptions, - host, - globalCache, - moduleResolutionCache - ); - if (resolvedModule) { - primaryResult.resolvedModule = resolvedModule; - primaryResult.failedLookupLocations = updateResolutionField(primaryResult.failedLookupLocations, failedLookupLocations); - primaryResult.affectingLocations = updateResolutionField(primaryResult.affectingLocations, affectingLocations); - primaryResult.resolutionDiagnostics = updateResolutionField(primaryResult.resolutionDiagnostics, resolutionDiagnostics); - return primaryResult; - } - } - return primaryResult; -} -function createResolutionCache(resolutionHost, rootDirForResolution, logChangesWhenResolvingModule) { - let filesWithChangedSetOfUnresolvedImports; - let filesWithInvalidatedResolutions; - let filesWithInvalidatedNonRelativeUnresolvedImports; - const nonRelativeExternalModuleResolutions = /* @__PURE__ */ new Set(); - const resolutionsWithFailedLookups = /* @__PURE__ */ new Set(); - const resolutionsWithOnlyAffectingLocations = /* @__PURE__ */ new Set(); - const resolvedFileToResolution = /* @__PURE__ */ new Map(); - const impliedFormatPackageJsons = /* @__PURE__ */ new Map(); - let hasChangedAutomaticTypeDirectiveNames = false; - let affectingPathChecksForFile; - let affectingPathChecks; - let failedLookupChecks; - let startsWithPathChecks; - let isInDirectoryChecks; - let allModuleAndTypeResolutionsAreInvalidated = false; - const getCurrentDirectory = memoize(() => resolutionHost.getCurrentDirectory()); - const cachedDirectoryStructureHost = resolutionHost.getCachedDirectoryStructureHost(); - const resolvedModuleNames = /* @__PURE__ */ new Map(); - const moduleResolutionCache = createModuleResolutionCache( - getCurrentDirectory(), - resolutionHost.getCanonicalFileName, - resolutionHost.getCompilationSettings() - ); - const resolvedTypeReferenceDirectives = /* @__PURE__ */ new Map(); - const typeReferenceDirectiveResolutionCache = createTypeReferenceDirectiveResolutionCache( - getCurrentDirectory(), - resolutionHost.getCanonicalFileName, - resolutionHost.getCompilationSettings(), - moduleResolutionCache.getPackageJsonInfoCache(), - moduleResolutionCache.optionsToRedirectsKey - ); - const resolvedLibraries = /* @__PURE__ */ new Map(); - const libraryResolutionCache = createModuleResolutionCache( - getCurrentDirectory(), - resolutionHost.getCanonicalFileName, - getOptionsForLibraryResolution(resolutionHost.getCompilationSettings()), - moduleResolutionCache.getPackageJsonInfoCache() - ); - const directoryWatchesOfFailedLookups = /* @__PURE__ */ new Map(); - const fileWatchesOfAffectingLocations = /* @__PURE__ */ new Map(); - const rootDir = getRootDirectoryOfResolutionCache(rootDirForResolution, getCurrentDirectory); - const rootPath = resolutionHost.toPath(rootDir); - const rootPathComponents = getPathComponents(rootPath); - const isSymlinkCache = /* @__PURE__ */ new Map(); - const packageDirWatchers = /* @__PURE__ */ new Map(); - const dirPathToSymlinkPackageRefCount = /* @__PURE__ */ new Map(); - const typeRootsWatches = /* @__PURE__ */ new Map(); - return { - rootDirForResolution, - resolvedModuleNames, - resolvedTypeReferenceDirectives, - resolvedLibraries, - resolvedFileToResolution, - resolutionsWithFailedLookups, - resolutionsWithOnlyAffectingLocations, - directoryWatchesOfFailedLookups, - fileWatchesOfAffectingLocations, - packageDirWatchers, - dirPathToSymlinkPackageRefCount, - watchFailedLookupLocationsOfExternalModuleResolutions, - getModuleResolutionCache: () => moduleResolutionCache, - startRecordingFilesWithChangedResolutions, - finishRecordingFilesWithChangedResolutions, - // perDirectoryResolvedModuleNames and perDirectoryResolvedTypeReferenceDirectives could be non empty if there was exception during program update - // (between startCachingPerDirectoryResolution and finishCachingPerDirectoryResolution) - startCachingPerDirectoryResolution, - finishCachingPerDirectoryResolution, - resolveModuleNameLiterals, - resolveTypeReferenceDirectiveReferences, - resolveLibrary: resolveLibrary2, - resolveSingleModuleNameWithoutWatching, - removeResolutionsFromProjectReferenceRedirects, - removeResolutionsOfFile, - hasChangedAutomaticTypeDirectiveNames: () => hasChangedAutomaticTypeDirectiveNames, - invalidateResolutionOfFile, - invalidateResolutionsOfFailedLookupLocations, - setFilesWithInvalidatedNonRelativeUnresolvedImports, - createHasInvalidatedResolutions, - isFileWithInvalidatedNonRelativeUnresolvedImports, - updateTypeRootsWatch, - closeTypeRootsWatch, - clear: clear2, - onChangesAffectModuleResolution - }; - function clear2() { - clearMap(directoryWatchesOfFailedLookups, closeFileWatcherOf); - clearMap(fileWatchesOfAffectingLocations, closeFileWatcherOf); - isSymlinkCache.clear(); - packageDirWatchers.clear(); - dirPathToSymlinkPackageRefCount.clear(); - nonRelativeExternalModuleResolutions.clear(); - closeTypeRootsWatch(); - resolvedModuleNames.clear(); - resolvedTypeReferenceDirectives.clear(); - resolvedFileToResolution.clear(); - resolutionsWithFailedLookups.clear(); - resolutionsWithOnlyAffectingLocations.clear(); - failedLookupChecks = void 0; - startsWithPathChecks = void 0; - isInDirectoryChecks = void 0; - affectingPathChecks = void 0; - affectingPathChecksForFile = void 0; - allModuleAndTypeResolutionsAreInvalidated = false; - moduleResolutionCache.clear(); - typeReferenceDirectiveResolutionCache.clear(); - moduleResolutionCache.update(resolutionHost.getCompilationSettings()); - typeReferenceDirectiveResolutionCache.update(resolutionHost.getCompilationSettings()); - libraryResolutionCache.clear(); - impliedFormatPackageJsons.clear(); - resolvedLibraries.clear(); - hasChangedAutomaticTypeDirectiveNames = false; - } - function onChangesAffectModuleResolution() { - allModuleAndTypeResolutionsAreInvalidated = true; - moduleResolutionCache.clearAllExceptPackageJsonInfoCache(); - typeReferenceDirectiveResolutionCache.clearAllExceptPackageJsonInfoCache(); - moduleResolutionCache.update(resolutionHost.getCompilationSettings()); - typeReferenceDirectiveResolutionCache.update(resolutionHost.getCompilationSettings()); - } - function startRecordingFilesWithChangedResolutions() { - filesWithChangedSetOfUnresolvedImports = []; - } - function finishRecordingFilesWithChangedResolutions() { - const collected = filesWithChangedSetOfUnresolvedImports; - filesWithChangedSetOfUnresolvedImports = void 0; - return collected; - } - function isFileWithInvalidatedNonRelativeUnresolvedImports(path) { - if (!filesWithInvalidatedNonRelativeUnresolvedImports) { - return false; - } - const value = filesWithInvalidatedNonRelativeUnresolvedImports.get(path); - return !!value && !!value.length; - } - function createHasInvalidatedResolutions(customHasInvalidatedResolutions, customHasInvalidatedLibResolutions) { - invalidateResolutionsOfFailedLookupLocations(); - const collected = filesWithInvalidatedResolutions; - filesWithInvalidatedResolutions = void 0; - return { - hasInvalidatedResolutions: (path) => customHasInvalidatedResolutions(path) || allModuleAndTypeResolutionsAreInvalidated || !!(collected == null ? void 0 : collected.has(path)) || isFileWithInvalidatedNonRelativeUnresolvedImports(path), - hasInvalidatedLibResolutions: (libFileName) => { - var _a; - return customHasInvalidatedLibResolutions(libFileName) || !!((_a = resolvedLibraries == null ? void 0 : resolvedLibraries.get(libFileName)) == null ? void 0 : _a.isInvalidated); - } - }; - } - function startCachingPerDirectoryResolution() { - moduleResolutionCache.isReadonly = void 0; - typeReferenceDirectiveResolutionCache.isReadonly = void 0; - libraryResolutionCache.isReadonly = void 0; - moduleResolutionCache.getPackageJsonInfoCache().isReadonly = void 0; - moduleResolutionCache.clearAllExceptPackageJsonInfoCache(); - typeReferenceDirectiveResolutionCache.clearAllExceptPackageJsonInfoCache(); - libraryResolutionCache.clearAllExceptPackageJsonInfoCache(); - watchFailedLookupLocationOfNonRelativeModuleResolutions(); - isSymlinkCache.clear(); - } - function cleanupLibResolutionWatching(newProgram) { - resolvedLibraries.forEach((resolution, libFileName) => { - var _a; - if (!((_a = newProgram == null ? void 0 : newProgram.resolvedLibReferences) == null ? void 0 : _a.has(libFileName))) { - stopWatchFailedLookupLocationOfResolution( - resolution, - resolutionHost.toPath(getInferredLibraryNameResolveFrom(resolutionHost.getCompilationSettings(), getCurrentDirectory(), libFileName)), - getResolvedModuleFromResolution - ); - resolvedLibraries.delete(libFileName); - } - }); - } - function finishCachingPerDirectoryResolution(newProgram, oldProgram) { - filesWithInvalidatedNonRelativeUnresolvedImports = void 0; - allModuleAndTypeResolutionsAreInvalidated = false; - watchFailedLookupLocationOfNonRelativeModuleResolutions(); - if (newProgram !== oldProgram) { - cleanupLibResolutionWatching(newProgram); - newProgram == null ? void 0 : newProgram.getSourceFiles().forEach((newFile) => { - var _a; - const expected = ((_a = newFile.packageJsonLocations) == null ? void 0 : _a.length) ?? 0; - const existing = impliedFormatPackageJsons.get(newFile.resolvedPath) ?? emptyArray; - for (let i = existing.length; i < expected; i++) { - createFileWatcherOfAffectingLocation( - newFile.packageJsonLocations[i], - /*forResolution*/ - false - ); - } - if (existing.length > expected) { - for (let i = expected; i < existing.length; i++) { - fileWatchesOfAffectingLocations.get(existing[i]).files--; - } - } - if (expected) impliedFormatPackageJsons.set(newFile.resolvedPath, newFile.packageJsonLocations); - else impliedFormatPackageJsons.delete(newFile.resolvedPath); - }); - impliedFormatPackageJsons.forEach((existing, path) => { - const newFile = newProgram == null ? void 0 : newProgram.getSourceFileByPath(path); - if (!newFile || newFile.resolvedPath !== path) { - existing.forEach((location) => fileWatchesOfAffectingLocations.get(location).files--); - impliedFormatPackageJsons.delete(path); - } - }); - } - directoryWatchesOfFailedLookups.forEach(closeDirectoryWatchesOfFailedLookup); - fileWatchesOfAffectingLocations.forEach(closeFileWatcherOfAffectingLocation); - packageDirWatchers.forEach(closePackageDirWatcher); - hasChangedAutomaticTypeDirectiveNames = false; - moduleResolutionCache.isReadonly = true; - typeReferenceDirectiveResolutionCache.isReadonly = true; - libraryResolutionCache.isReadonly = true; - moduleResolutionCache.getPackageJsonInfoCache().isReadonly = true; - isSymlinkCache.clear(); - } - function closePackageDirWatcher(watcher, packageDirPath) { - if (watcher.dirPathToWatcher.size === 0) { - packageDirWatchers.delete(packageDirPath); - } - } - function closeDirectoryWatchesOfFailedLookup(watcher, path) { - if (watcher.refCount === 0) { - directoryWatchesOfFailedLookups.delete(path); - watcher.watcher.close(); - } - } - function closeFileWatcherOfAffectingLocation(watcher, path) { - var _a; - if (watcher.files === 0 && watcher.resolutions === 0 && !((_a = watcher.symlinks) == null ? void 0 : _a.size)) { - fileWatchesOfAffectingLocations.delete(path); - watcher.watcher.close(); - } - } - function resolveNamesWithLocalCache({ - entries, - containingFile, - containingSourceFile, - redirectedReference, - options, - perFileCache, - reusedNames, - loader, - getResolutionWithResolvedFileName, - deferWatchingNonRelativeResolution, - shouldRetryResolution, - logChanges - }) { - const path = resolutionHost.toPath(containingFile); - const resolutionsInFile = perFileCache.get(path) || perFileCache.set(path, createModeAwareCache()).get(path); - const resolvedModules = []; - const hasInvalidatedNonRelativeUnresolvedImport = logChanges && isFileWithInvalidatedNonRelativeUnresolvedImports(path); - const program = resolutionHost.getCurrentProgram(); - const oldRedirect = program && program.getResolvedProjectReferenceToRedirect(containingFile); - const unmatchedRedirects = oldRedirect ? !redirectedReference || redirectedReference.sourceFile.path !== oldRedirect.sourceFile.path : !!redirectedReference; - const seenNamesInFile = createModeAwareCache(); - for (const entry of entries) { - const name = loader.nameAndMode.getName(entry); - const mode = loader.nameAndMode.getMode(entry, containingSourceFile, (redirectedReference == null ? void 0 : redirectedReference.commandLine.options) || options); - let resolution = resolutionsInFile.get(name, mode); - if (!seenNamesInFile.has(name, mode) && (allModuleAndTypeResolutionsAreInvalidated || unmatchedRedirects || !resolution || resolution.isInvalidated || // If the name is unresolved import that was invalidated, recalculate - hasInvalidatedNonRelativeUnresolvedImport && !isExternalModuleNameRelative(name) && shouldRetryResolution(resolution))) { - const existingResolution = resolution; - resolution = loader.resolve(name, mode); - if (resolutionHost.onDiscoveredSymlink && resolutionIsSymlink(resolution)) { - resolutionHost.onDiscoveredSymlink(); - } - resolutionsInFile.set(name, mode, resolution); - if (resolution !== existingResolution) { - watchFailedLookupLocationsOfExternalModuleResolutions(name, resolution, path, getResolutionWithResolvedFileName, deferWatchingNonRelativeResolution); - if (existingResolution) { - stopWatchFailedLookupLocationOfResolution(existingResolution, path, getResolutionWithResolvedFileName); - } - } - if (logChanges && filesWithChangedSetOfUnresolvedImports && !resolutionIsEqualTo(existingResolution, resolution)) { - filesWithChangedSetOfUnresolvedImports.push(path); - logChanges = false; - } - } else { - const host = getModuleResolutionHost(resolutionHost); - if (isTraceEnabled(options, host) && !seenNamesInFile.has(name, mode)) { - const resolved = getResolutionWithResolvedFileName(resolution); - trace( - host, - perFileCache === resolvedModuleNames ? (resolved == null ? void 0 : resolved.resolvedFileName) ? resolved.packageId ? Diagnostics.Reusing_resolution_of_module_0_from_1_of_old_program_it_was_successfully_resolved_to_2_with_Package_ID_3 : Diagnostics.Reusing_resolution_of_module_0_from_1_of_old_program_it_was_successfully_resolved_to_2 : Diagnostics.Reusing_resolution_of_module_0_from_1_of_old_program_it_was_not_resolved : (resolved == null ? void 0 : resolved.resolvedFileName) ? resolved.packageId ? Diagnostics.Reusing_resolution_of_type_reference_directive_0_from_1_of_old_program_it_was_successfully_resolved_to_2_with_Package_ID_3 : Diagnostics.Reusing_resolution_of_type_reference_directive_0_from_1_of_old_program_it_was_successfully_resolved_to_2 : Diagnostics.Reusing_resolution_of_type_reference_directive_0_from_1_of_old_program_it_was_not_resolved, - name, - containingFile, - resolved == null ? void 0 : resolved.resolvedFileName, - (resolved == null ? void 0 : resolved.packageId) && packageIdToString(resolved.packageId) - ); - } - } - Debug.assert(resolution !== void 0 && !resolution.isInvalidated); - seenNamesInFile.set(name, mode, true); - resolvedModules.push(resolution); - } - reusedNames == null ? void 0 : reusedNames.forEach( - (entry) => seenNamesInFile.set( - loader.nameAndMode.getName(entry), - loader.nameAndMode.getMode(entry, containingSourceFile, (redirectedReference == null ? void 0 : redirectedReference.commandLine.options) || options), - true - ) - ); - if (resolutionsInFile.size() !== seenNamesInFile.size()) { - resolutionsInFile.forEach((resolution, name, mode) => { - if (!seenNamesInFile.has(name, mode)) { - stopWatchFailedLookupLocationOfResolution(resolution, path, getResolutionWithResolvedFileName); - resolutionsInFile.delete(name, mode); - } - }); - } - return resolvedModules; - function resolutionIsEqualTo(oldResolution, newResolution) { - if (oldResolution === newResolution) { - return true; - } - if (!oldResolution || !newResolution) { - return false; - } - const oldResult = getResolutionWithResolvedFileName(oldResolution); - const newResult = getResolutionWithResolvedFileName(newResolution); - if (oldResult === newResult) { - return true; - } - if (!oldResult || !newResult) { - return false; - } - return oldResult.resolvedFileName === newResult.resolvedFileName; - } - } - function resolveTypeReferenceDirectiveReferences(typeDirectiveReferences, containingFile, redirectedReference, options, containingSourceFile, reusedNames) { - return resolveNamesWithLocalCache({ - entries: typeDirectiveReferences, - containingFile, - containingSourceFile, - redirectedReference, - options, - reusedNames, - perFileCache: resolvedTypeReferenceDirectives, - loader: createTypeReferenceResolutionLoader( - containingFile, - redirectedReference, - options, - getModuleResolutionHost(resolutionHost), - typeReferenceDirectiveResolutionCache - ), - getResolutionWithResolvedFileName: getResolvedTypeReferenceDirectiveFromResolution, - shouldRetryResolution: (resolution) => resolution.resolvedTypeReferenceDirective === void 0, - deferWatchingNonRelativeResolution: false - }); - } - function resolveModuleNameLiterals(moduleLiterals, containingFile, redirectedReference, options, containingSourceFile, reusedNames) { - return resolveNamesWithLocalCache({ - entries: moduleLiterals, - containingFile, - containingSourceFile, - redirectedReference, - options, - reusedNames, - perFileCache: resolvedModuleNames, - loader: createModuleResolutionLoaderUsingGlobalCache( - containingFile, - redirectedReference, - options, - resolutionHost, - moduleResolutionCache - ), - getResolutionWithResolvedFileName: getResolvedModuleFromResolution, - shouldRetryResolution: (resolution) => !resolution.resolvedModule || !resolutionExtensionIsTSOrJson(resolution.resolvedModule.extension), - logChanges: logChangesWhenResolvingModule, - deferWatchingNonRelativeResolution: true - // Defer non relative resolution watch because we could be using ambient modules - }); - } - function resolveLibrary2(libraryName, resolveFrom, options, libFileName) { - const host = getModuleResolutionHost(resolutionHost); - let resolution = resolvedLibraries == null ? void 0 : resolvedLibraries.get(libFileName); - if (!resolution || resolution.isInvalidated) { - const existingResolution = resolution; - resolution = resolveLibrary(libraryName, resolveFrom, options, host, libraryResolutionCache); - const path = resolutionHost.toPath(resolveFrom); - watchFailedLookupLocationsOfExternalModuleResolutions( - libraryName, - resolution, - path, - getResolvedModuleFromResolution, - /*deferWatchingNonRelativeResolution*/ - false - ); - resolvedLibraries.set(libFileName, resolution); - if (existingResolution) { - stopWatchFailedLookupLocationOfResolution(existingResolution, path, getResolvedModuleFromResolution); - } - } else { - if (isTraceEnabled(options, host)) { - const resolved = getResolvedModuleFromResolution(resolution); - trace( - host, - (resolved == null ? void 0 : resolved.resolvedFileName) ? resolved.packageId ? Diagnostics.Reusing_resolution_of_module_0_from_1_of_old_program_it_was_successfully_resolved_to_2_with_Package_ID_3 : Diagnostics.Reusing_resolution_of_module_0_from_1_of_old_program_it_was_successfully_resolved_to_2 : Diagnostics.Reusing_resolution_of_module_0_from_1_of_old_program_it_was_not_resolved, - libraryName, - resolveFrom, - resolved == null ? void 0 : resolved.resolvedFileName, - (resolved == null ? void 0 : resolved.packageId) && packageIdToString(resolved.packageId) - ); - } - } - return resolution; - } - function resolveSingleModuleNameWithoutWatching(moduleName, containingFile) { - var _a, _b; - const path = resolutionHost.toPath(containingFile); - const resolutionsInFile = resolvedModuleNames.get(path); - const resolution = resolutionsInFile == null ? void 0 : resolutionsInFile.get( - moduleName, - /*mode*/ - void 0 - ); - if (resolution && !resolution.isInvalidated) return resolution; - const data = (_a = resolutionHost.beforeResolveSingleModuleNameWithoutWatching) == null ? void 0 : _a.call(resolutionHost, moduleResolutionCache); - const host = getModuleResolutionHost(resolutionHost); - const result = resolveModuleName( - moduleName, - containingFile, - resolutionHost.getCompilationSettings(), - host, - moduleResolutionCache - ); - (_b = resolutionHost.afterResolveSingleModuleNameWithoutWatching) == null ? void 0 : _b.call(resolutionHost, moduleResolutionCache, moduleName, containingFile, result, data); - return result; - } - function isNodeModulesAtTypesDirectory(dirPath) { - return endsWith(dirPath, "/node_modules/@types"); - } - function watchFailedLookupLocationsOfExternalModuleResolutions(name, resolution, filePath, getResolutionWithResolvedFileName, deferWatchingNonRelativeResolution) { - (resolution.files ?? (resolution.files = /* @__PURE__ */ new Set())).add(filePath); - if (resolution.files.size !== 1) return; - if (!deferWatchingNonRelativeResolution || isExternalModuleNameRelative(name)) { - watchFailedLookupLocationOfResolution(resolution); - } else { - nonRelativeExternalModuleResolutions.add(resolution); - } - const resolved = getResolutionWithResolvedFileName(resolution); - if (resolved && resolved.resolvedFileName) { - const key = resolutionHost.toPath(resolved.resolvedFileName); - let resolutions = resolvedFileToResolution.get(key); - if (!resolutions) resolvedFileToResolution.set(key, resolutions = /* @__PURE__ */ new Set()); - resolutions.add(resolution); - } - } - function watchFailedLookupLocation(failedLookupLocation, setAtRoot) { - const failedLookupLocationPath = resolutionHost.toPath(failedLookupLocation); - const toWatch = getDirectoryToWatchFailedLookupLocation( - failedLookupLocation, - failedLookupLocationPath, - rootDir, - rootPath, - rootPathComponents, - getCurrentDirectory, - resolutionHost.preferNonRecursiveWatch - ); - if (toWatch) { - const { dir, dirPath, nonRecursive, packageDir, packageDirPath } = toWatch; - if (dirPath === rootPath) { - Debug.assert(nonRecursive); - Debug.assert(!packageDir); - setAtRoot = true; - } else { - setDirectoryWatcher(dir, dirPath, packageDir, packageDirPath, nonRecursive); - } - } - return setAtRoot; - } - function watchFailedLookupLocationOfResolution(resolution) { - var _a; - Debug.assert(!!((_a = resolution.files) == null ? void 0 : _a.size)); - const { failedLookupLocations, affectingLocations, alternateResult } = resolution; - if (!(failedLookupLocations == null ? void 0 : failedLookupLocations.length) && !(affectingLocations == null ? void 0 : affectingLocations.length) && !alternateResult) return; - if ((failedLookupLocations == null ? void 0 : failedLookupLocations.length) || alternateResult) resolutionsWithFailedLookups.add(resolution); - let setAtRoot = false; - if (failedLookupLocations) { - for (const failedLookupLocation of failedLookupLocations) { - setAtRoot = watchFailedLookupLocation(failedLookupLocation, setAtRoot); - } - } - if (alternateResult) setAtRoot = watchFailedLookupLocation(alternateResult, setAtRoot); - if (setAtRoot) { - setDirectoryWatcher( - rootDir, - rootPath, - /*packageDir*/ - void 0, - /*packageDirPath*/ - void 0, - /*nonRecursive*/ - true - ); - } - watchAffectingLocationsOfResolution(resolution, !(failedLookupLocations == null ? void 0 : failedLookupLocations.length) && !alternateResult); - } - function watchAffectingLocationsOfResolution(resolution, addToResolutionsWithOnlyAffectingLocations) { - var _a; - Debug.assert(!!((_a = resolution.files) == null ? void 0 : _a.size)); - const { affectingLocations } = resolution; - if (!(affectingLocations == null ? void 0 : affectingLocations.length)) return; - if (addToResolutionsWithOnlyAffectingLocations) resolutionsWithOnlyAffectingLocations.add(resolution); - for (const affectingLocation of affectingLocations) { - createFileWatcherOfAffectingLocation( - affectingLocation, - /*forResolution*/ - true - ); - } - } - function createFileWatcherOfAffectingLocation(affectingLocation, forResolution) { - const fileWatcher = fileWatchesOfAffectingLocations.get(affectingLocation); - if (fileWatcher) { - if (forResolution) fileWatcher.resolutions++; - else fileWatcher.files++; - return; - } - let locationToWatch = affectingLocation; - let isSymlink = false; - let symlinkWatcher; - if (resolutionHost.realpath) { - locationToWatch = resolutionHost.realpath(affectingLocation); - if (affectingLocation !== locationToWatch) { - isSymlink = true; - symlinkWatcher = fileWatchesOfAffectingLocations.get(locationToWatch); - } - } - const resolutions = forResolution ? 1 : 0; - const files = forResolution ? 0 : 1; - if (!isSymlink || !symlinkWatcher) { - const watcher = { - watcher: canWatchAffectingLocation(resolutionHost.toPath(locationToWatch)) ? resolutionHost.watchAffectingFileLocation(locationToWatch, (fileName, eventKind) => { - cachedDirectoryStructureHost == null ? void 0 : cachedDirectoryStructureHost.addOrDeleteFile(fileName, resolutionHost.toPath(locationToWatch), eventKind); - invalidateAffectingFileWatcher(locationToWatch, moduleResolutionCache.getPackageJsonInfoCache().getInternalMap()); - resolutionHost.scheduleInvalidateResolutionsOfFailedLookupLocations(); - }) : noopFileWatcher, - resolutions: isSymlink ? 0 : resolutions, - files: isSymlink ? 0 : files, - symlinks: void 0 - }; - fileWatchesOfAffectingLocations.set(locationToWatch, watcher); - if (isSymlink) symlinkWatcher = watcher; - } - if (isSymlink) { - Debug.assert(!!symlinkWatcher); - const watcher = { - watcher: { - close: () => { - var _a; - const symlinkWatcher2 = fileWatchesOfAffectingLocations.get(locationToWatch); - if (((_a = symlinkWatcher2 == null ? void 0 : symlinkWatcher2.symlinks) == null ? void 0 : _a.delete(affectingLocation)) && !symlinkWatcher2.symlinks.size && !symlinkWatcher2.resolutions && !symlinkWatcher2.files) { - fileWatchesOfAffectingLocations.delete(locationToWatch); - symlinkWatcher2.watcher.close(); - } - } - }, - resolutions, - files, - symlinks: void 0 - }; - fileWatchesOfAffectingLocations.set(affectingLocation, watcher); - (symlinkWatcher.symlinks ?? (symlinkWatcher.symlinks = /* @__PURE__ */ new Set())).add(affectingLocation); - } - } - function invalidateAffectingFileWatcher(path, packageJsonMap) { - var _a; - const watcher = fileWatchesOfAffectingLocations.get(path); - if (watcher == null ? void 0 : watcher.resolutions) (affectingPathChecks ?? (affectingPathChecks = /* @__PURE__ */ new Set())).add(path); - if (watcher == null ? void 0 : watcher.files) (affectingPathChecksForFile ?? (affectingPathChecksForFile = /* @__PURE__ */ new Set())).add(path); - (_a = watcher == null ? void 0 : watcher.symlinks) == null ? void 0 : _a.forEach((path2) => invalidateAffectingFileWatcher(path2, packageJsonMap)); - packageJsonMap == null ? void 0 : packageJsonMap.delete(resolutionHost.toPath(path)); - } - function watchFailedLookupLocationOfNonRelativeModuleResolutions() { - nonRelativeExternalModuleResolutions.forEach(watchFailedLookupLocationOfResolution); - nonRelativeExternalModuleResolutions.clear(); - } - function createDirectoryWatcherForPackageDir(dir, dirPath, packageDir, packageDirPath, nonRecursive) { - Debug.assert(!nonRecursive); - let isSymlink = isSymlinkCache.get(packageDirPath); - let packageDirWatcher = packageDirWatchers.get(packageDirPath); - if (isSymlink === void 0) { - const realPath2 = resolutionHost.realpath(packageDir); - isSymlink = realPath2 !== packageDir && resolutionHost.toPath(realPath2) !== packageDirPath; - isSymlinkCache.set(packageDirPath, isSymlink); - if (!packageDirWatcher) { - packageDirWatchers.set( - packageDirPath, - packageDirWatcher = { - dirPathToWatcher: /* @__PURE__ */ new Map(), - isSymlink - } - ); - } else if (packageDirWatcher.isSymlink !== isSymlink) { - packageDirWatcher.dirPathToWatcher.forEach((watcher) => { - removeDirectoryWatcher(packageDirWatcher.isSymlink ? packageDirPath : dirPath); - watcher.watcher = createDirPathToWatcher(); - }); - packageDirWatcher.isSymlink = isSymlink; - } - } else { - Debug.assertIsDefined(packageDirWatcher); - Debug.assert(isSymlink === packageDirWatcher.isSymlink); - } - const forDirPath = packageDirWatcher.dirPathToWatcher.get(dirPath); - if (forDirPath) { - forDirPath.refCount++; - } else { - packageDirWatcher.dirPathToWatcher.set(dirPath, { - watcher: createDirPathToWatcher(), - refCount: 1 - }); - if (isSymlink) dirPathToSymlinkPackageRefCount.set(dirPath, (dirPathToSymlinkPackageRefCount.get(dirPath) ?? 0) + 1); - } - function createDirPathToWatcher() { - return isSymlink ? createOrAddRefToDirectoryWatchOfFailedLookups(packageDir, packageDirPath, nonRecursive) : createOrAddRefToDirectoryWatchOfFailedLookups(dir, dirPath, nonRecursive); - } - } - function setDirectoryWatcher(dir, dirPath, packageDir, packageDirPath, nonRecursive) { - if (!packageDirPath || !resolutionHost.realpath) { - createOrAddRefToDirectoryWatchOfFailedLookups(dir, dirPath, nonRecursive); - } else { - createDirectoryWatcherForPackageDir(dir, dirPath, packageDir, packageDirPath, nonRecursive); - } - } - function createOrAddRefToDirectoryWatchOfFailedLookups(dir, dirPath, nonRecursive) { - let dirWatcher = directoryWatchesOfFailedLookups.get(dirPath); - if (dirWatcher) { - Debug.assert(!!nonRecursive === !!dirWatcher.nonRecursive); - dirWatcher.refCount++; - } else { - directoryWatchesOfFailedLookups.set(dirPath, dirWatcher = { watcher: createDirectoryWatcher(dir, dirPath, nonRecursive), refCount: 1, nonRecursive }); - } - return dirWatcher; - } - function stopWatchFailedLookupLocation(failedLookupLocation, removeAtRoot) { - const failedLookupLocationPath = resolutionHost.toPath(failedLookupLocation); - const toWatch = getDirectoryToWatchFailedLookupLocation( - failedLookupLocation, - failedLookupLocationPath, - rootDir, - rootPath, - rootPathComponents, - getCurrentDirectory, - resolutionHost.preferNonRecursiveWatch - ); - if (toWatch) { - const { dirPath, packageDirPath } = toWatch; - if (dirPath === rootPath) { - removeAtRoot = true; - } else if (packageDirPath && resolutionHost.realpath) { - const packageDirWatcher = packageDirWatchers.get(packageDirPath); - const forDirPath = packageDirWatcher.dirPathToWatcher.get(dirPath); - forDirPath.refCount--; - if (forDirPath.refCount === 0) { - removeDirectoryWatcher(packageDirWatcher.isSymlink ? packageDirPath : dirPath); - packageDirWatcher.dirPathToWatcher.delete(dirPath); - if (packageDirWatcher.isSymlink) { - const refCount = dirPathToSymlinkPackageRefCount.get(dirPath) - 1; - if (refCount === 0) { - dirPathToSymlinkPackageRefCount.delete(dirPath); - } else { - dirPathToSymlinkPackageRefCount.set(dirPath, refCount); - } - } - } - } else { - removeDirectoryWatcher(dirPath); - } - } - return removeAtRoot; - } - function stopWatchFailedLookupLocationOfResolution(resolution, filePath, getResolutionWithResolvedFileName) { - Debug.checkDefined(resolution.files).delete(filePath); - if (resolution.files.size) return; - resolution.files = void 0; - const resolved = getResolutionWithResolvedFileName(resolution); - if (resolved && resolved.resolvedFileName) { - const key = resolutionHost.toPath(resolved.resolvedFileName); - const resolutions = resolvedFileToResolution.get(key); - if ((resolutions == null ? void 0 : resolutions.delete(resolution)) && !resolutions.size) resolvedFileToResolution.delete(key); - } - const { failedLookupLocations, affectingLocations, alternateResult } = resolution; - if (resolutionsWithFailedLookups.delete(resolution)) { - let removeAtRoot = false; - if (failedLookupLocations) { - for (const failedLookupLocation of failedLookupLocations) { - removeAtRoot = stopWatchFailedLookupLocation(failedLookupLocation, removeAtRoot); - } - } - if (alternateResult) removeAtRoot = stopWatchFailedLookupLocation(alternateResult, removeAtRoot); - if (removeAtRoot) removeDirectoryWatcher(rootPath); - } else if (affectingLocations == null ? void 0 : affectingLocations.length) { - resolutionsWithOnlyAffectingLocations.delete(resolution); - } - if (affectingLocations) { - for (const affectingLocation of affectingLocations) { - const watcher = fileWatchesOfAffectingLocations.get(affectingLocation); - watcher.resolutions--; - } - } - } - function removeDirectoryWatcher(dirPath) { - const dirWatcher = directoryWatchesOfFailedLookups.get(dirPath); - dirWatcher.refCount--; - } - function createDirectoryWatcher(directory, dirPath, nonRecursive) { - return resolutionHost.watchDirectoryOfFailedLookupLocation(directory, (fileOrDirectory) => { - const fileOrDirectoryPath = resolutionHost.toPath(fileOrDirectory); - if (cachedDirectoryStructureHost) { - cachedDirectoryStructureHost.addOrDeleteFileOrDirectory(fileOrDirectory, fileOrDirectoryPath); - } - scheduleInvalidateResolutionOfFailedLookupLocation(fileOrDirectoryPath, dirPath === fileOrDirectoryPath); - }, nonRecursive ? 0 /* None */ : 1 /* Recursive */); - } - function removeResolutionsOfFileFromCache(cache, filePath, getResolutionWithResolvedFileName) { - const resolutions = cache.get(filePath); - if (resolutions) { - resolutions.forEach( - (resolution) => stopWatchFailedLookupLocationOfResolution( - resolution, - filePath, - getResolutionWithResolvedFileName - ) - ); - cache.delete(filePath); - } - } - function removeResolutionsFromProjectReferenceRedirects(filePath) { - if (!fileExtensionIs(filePath, ".json" /* Json */)) return; - const program = resolutionHost.getCurrentProgram(); - if (!program) return; - const resolvedProjectReference = program.getResolvedProjectReferenceByPath(filePath); - if (!resolvedProjectReference) return; - resolvedProjectReference.commandLine.fileNames.forEach((f) => removeResolutionsOfFile(resolutionHost.toPath(f))); - } - function removeResolutionsOfFile(filePath) { - removeResolutionsOfFileFromCache(resolvedModuleNames, filePath, getResolvedModuleFromResolution); - removeResolutionsOfFileFromCache(resolvedTypeReferenceDirectives, filePath, getResolvedTypeReferenceDirectiveFromResolution); - } - function invalidateResolutions(resolutions, canInvalidate) { - if (!resolutions) return false; - let invalidated = false; - resolutions.forEach((resolution) => { - if (resolution.isInvalidated || !canInvalidate(resolution)) return; - resolution.isInvalidated = invalidated = true; - for (const containingFilePath of Debug.checkDefined(resolution.files)) { - (filesWithInvalidatedResolutions ?? (filesWithInvalidatedResolutions = /* @__PURE__ */ new Set())).add(containingFilePath); - hasChangedAutomaticTypeDirectiveNames = hasChangedAutomaticTypeDirectiveNames || endsWith(containingFilePath, inferredTypesContainingFile); - } - }); - return invalidated; - } - function invalidateResolutionOfFile(filePath) { - removeResolutionsOfFile(filePath); - const prevHasChangedAutomaticTypeDirectiveNames = hasChangedAutomaticTypeDirectiveNames; - if (invalidateResolutions(resolvedFileToResolution.get(filePath), returnTrue) && hasChangedAutomaticTypeDirectiveNames && !prevHasChangedAutomaticTypeDirectiveNames) { - resolutionHost.onChangedAutomaticTypeDirectiveNames(); - } - } - function setFilesWithInvalidatedNonRelativeUnresolvedImports(filesMap) { - Debug.assert(filesWithInvalidatedNonRelativeUnresolvedImports === filesMap || filesWithInvalidatedNonRelativeUnresolvedImports === void 0); - filesWithInvalidatedNonRelativeUnresolvedImports = filesMap; - } - function scheduleInvalidateResolutionOfFailedLookupLocation(fileOrDirectoryPath, isCreatingWatchedDirectory) { - if (isCreatingWatchedDirectory) { - (isInDirectoryChecks || (isInDirectoryChecks = /* @__PURE__ */ new Set())).add(fileOrDirectoryPath); - } else { - const updatedPath = removeIgnoredPath(fileOrDirectoryPath); - if (!updatedPath) return false; - fileOrDirectoryPath = updatedPath; - if (resolutionHost.fileIsOpen(fileOrDirectoryPath)) { - return false; - } - const dirOfFileOrDirectory = getDirectoryPath(fileOrDirectoryPath); - if (isNodeModulesAtTypesDirectory(fileOrDirectoryPath) || isNodeModulesDirectory(fileOrDirectoryPath) || isNodeModulesAtTypesDirectory(dirOfFileOrDirectory) || isNodeModulesDirectory(dirOfFileOrDirectory)) { - (failedLookupChecks || (failedLookupChecks = /* @__PURE__ */ new Set())).add(fileOrDirectoryPath); - (startsWithPathChecks || (startsWithPathChecks = /* @__PURE__ */ new Set())).add(fileOrDirectoryPath); - } else { - if (isEmittedFileOfProgram(resolutionHost.getCurrentProgram(), fileOrDirectoryPath)) { - return false; - } - if (fileExtensionIs(fileOrDirectoryPath, ".map")) { - return false; - } - (failedLookupChecks || (failedLookupChecks = /* @__PURE__ */ new Set())).add(fileOrDirectoryPath); - const packagePath = parseNodeModuleFromPath( - fileOrDirectoryPath, - /*isFolder*/ - true - ); - if (packagePath) (startsWithPathChecks || (startsWithPathChecks = /* @__PURE__ */ new Set())).add(packagePath); - } - } - resolutionHost.scheduleInvalidateResolutionsOfFailedLookupLocations(); - } - function invalidatePackageJsonMap() { - const packageJsonMap = moduleResolutionCache.getPackageJsonInfoCache().getInternalMap(); - if (packageJsonMap && (failedLookupChecks || startsWithPathChecks || isInDirectoryChecks)) { - packageJsonMap.forEach((_value, path) => isInvalidatedFailedLookup(path) ? packageJsonMap.delete(path) : void 0); - } - } - function invalidateResolutionsOfFailedLookupLocations() { - var _a; - if (allModuleAndTypeResolutionsAreInvalidated) { - affectingPathChecksForFile = void 0; - invalidatePackageJsonMap(); - if (failedLookupChecks || startsWithPathChecks || isInDirectoryChecks || affectingPathChecks) { - invalidateResolutions(resolvedLibraries, canInvalidateFailedLookupResolution); - } - failedLookupChecks = void 0; - startsWithPathChecks = void 0; - isInDirectoryChecks = void 0; - affectingPathChecks = void 0; - return true; - } - let invalidated = false; - if (affectingPathChecksForFile) { - (_a = resolutionHost.getCurrentProgram()) == null ? void 0 : _a.getSourceFiles().forEach((f) => { - if (some(f.packageJsonLocations, (location) => affectingPathChecksForFile.has(location))) { - (filesWithInvalidatedResolutions ?? (filesWithInvalidatedResolutions = /* @__PURE__ */ new Set())).add(f.path); - invalidated = true; - } - }); - affectingPathChecksForFile = void 0; - } - if (!failedLookupChecks && !startsWithPathChecks && !isInDirectoryChecks && !affectingPathChecks) { - return invalidated; - } - invalidated = invalidateResolutions(resolutionsWithFailedLookups, canInvalidateFailedLookupResolution) || invalidated; - invalidatePackageJsonMap(); - failedLookupChecks = void 0; - startsWithPathChecks = void 0; - isInDirectoryChecks = void 0; - invalidated = invalidateResolutions(resolutionsWithOnlyAffectingLocations, canInvalidatedFailedLookupResolutionWithAffectingLocation) || invalidated; - affectingPathChecks = void 0; - return invalidated; - } - function canInvalidateFailedLookupResolution(resolution) { - var _a; - if (canInvalidatedFailedLookupResolutionWithAffectingLocation(resolution)) return true; - if (!failedLookupChecks && !startsWithPathChecks && !isInDirectoryChecks) return false; - return ((_a = resolution.failedLookupLocations) == null ? void 0 : _a.some((location) => isInvalidatedFailedLookup(resolutionHost.toPath(location)))) || !!resolution.alternateResult && isInvalidatedFailedLookup(resolutionHost.toPath(resolution.alternateResult)); - } - function isInvalidatedFailedLookup(locationPath) { - return (failedLookupChecks == null ? void 0 : failedLookupChecks.has(locationPath)) || firstDefinedIterator((startsWithPathChecks == null ? void 0 : startsWithPathChecks.keys()) || [], (fileOrDirectoryPath) => startsWith(locationPath, fileOrDirectoryPath) ? true : void 0) || firstDefinedIterator((isInDirectoryChecks == null ? void 0 : isInDirectoryChecks.keys()) || [], (dirPath) => locationPath.length > dirPath.length && startsWith(locationPath, dirPath) && (isDiskPathRoot(dirPath) || locationPath[dirPath.length] === directorySeparator) ? true : void 0); - } - function canInvalidatedFailedLookupResolutionWithAffectingLocation(resolution) { - var _a; - return !!affectingPathChecks && ((_a = resolution.affectingLocations) == null ? void 0 : _a.some((location) => affectingPathChecks.has(location))); - } - function closeTypeRootsWatch() { - clearMap(typeRootsWatches, closeFileWatcher); - } - function createTypeRootsWatch(typeRoot) { - return canWatchTypeRootPath(typeRoot) ? resolutionHost.watchTypeRootsDirectory(typeRoot, (fileOrDirectory) => { - const fileOrDirectoryPath = resolutionHost.toPath(fileOrDirectory); - if (cachedDirectoryStructureHost) { - cachedDirectoryStructureHost.addOrDeleteFileOrDirectory(fileOrDirectory, fileOrDirectoryPath); - } - hasChangedAutomaticTypeDirectiveNames = true; - resolutionHost.onChangedAutomaticTypeDirectiveNames(); - const dirPath = getDirectoryToWatchFailedLookupLocationFromTypeRoot( - typeRoot, - resolutionHost.toPath(typeRoot), - rootPath, - rootPathComponents, - getCurrentDirectory, - resolutionHost.preferNonRecursiveWatch, - (dirPath2) => directoryWatchesOfFailedLookups.has(dirPath2) || dirPathToSymlinkPackageRefCount.has(dirPath2) - ); - if (dirPath) { - scheduleInvalidateResolutionOfFailedLookupLocation(fileOrDirectoryPath, dirPath === fileOrDirectoryPath); - } - }, 1 /* Recursive */) : noopFileWatcher; - } - function updateTypeRootsWatch() { - const options = resolutionHost.getCompilationSettings(); - if (options.types) { - closeTypeRootsWatch(); - return; - } - const typeRoots = getEffectiveTypeRoots(options, { getCurrentDirectory }); - if (typeRoots) { - mutateMap( - typeRootsWatches, - new Set(typeRoots), - { - createNewValue: createTypeRootsWatch, - onDeleteValue: closeFileWatcher - } - ); - } else { - closeTypeRootsWatch(); - } - } - function canWatchTypeRootPath(typeRoot) { - if (resolutionHost.getCompilationSettings().typeRoots) return true; - return canWatchAtTypes(resolutionHost.toPath(typeRoot)); - } -} -function resolutionIsSymlink(resolution) { - var _a, _b; - return !!(((_a = resolution.resolvedModule) == null ? void 0 : _a.originalPath) || ((_b = resolution.resolvedTypeReferenceDirective) == null ? void 0 : _b.originalPath)); -} - -// src/compiler/watch.ts -var sysFormatDiagnosticsHost = sys ? { - getCurrentDirectory: () => sys.getCurrentDirectory(), - getNewLine: () => sys.newLine, - getCanonicalFileName: createGetCanonicalFileName(sys.useCaseSensitiveFileNames) -} : void 0; -function createDiagnosticReporter(system, pretty) { - const host = system === sys && sysFormatDiagnosticsHost ? sysFormatDiagnosticsHost : { - getCurrentDirectory: () => system.getCurrentDirectory(), - getNewLine: () => system.newLine, - getCanonicalFileName: createGetCanonicalFileName(system.useCaseSensitiveFileNames) - }; - if (!pretty) { - return (diagnostic) => system.write(formatDiagnostic(diagnostic, host)); - } - const diagnostics = new Array(1); - return (diagnostic) => { - diagnostics[0] = diagnostic; - system.write(formatDiagnosticsWithColorAndContext(diagnostics, host) + host.getNewLine()); - diagnostics[0] = void 0; - }; -} -function clearScreenIfNotWatchingForFileChanges(system, diagnostic, options) { - if (system.clearScreen && !options.preserveWatchOutput && !options.extendedDiagnostics && !options.diagnostics && contains(screenStartingMessageCodes, diagnostic.code)) { - system.clearScreen(); - return true; - } - return false; -} -var screenStartingMessageCodes = [ - Diagnostics.Starting_compilation_in_watch_mode.code, - Diagnostics.File_change_detected_Starting_incremental_compilation.code -]; -function getPlainDiagnosticFollowingNewLines(diagnostic, newLine) { - return contains(screenStartingMessageCodes, diagnostic.code) ? newLine + newLine : newLine; -} -function getLocaleTimeString(system) { - return !system.now ? (/* @__PURE__ */ new Date()).toLocaleTimeString() : ( - // On some systems / builds of Node, there's a non-breaking space between the time and AM/PM. - // This branch is solely for testing, so just switch it to a normal space for baseline stability. - // See: - // - https://github.com/nodejs/node/issues/45171 - // - https://github.com/nodejs/node/issues/45753 - system.now().toLocaleTimeString("en-US", { timeZone: "UTC" }).replace("\u202F", " ") - ); -} -function createWatchStatusReporter(system, pretty) { - return pretty ? (diagnostic, newLine, options) => { - clearScreenIfNotWatchingForFileChanges(system, diagnostic, options); - let output = `[${formatColorAndReset(getLocaleTimeString(system), "\x1B[90m" /* Grey */)}] `; - output += `${flattenDiagnosticMessageText(diagnostic.messageText, system.newLine)}${newLine + newLine}`; - system.write(output); - } : (diagnostic, newLine, options) => { - let output = ""; - if (!clearScreenIfNotWatchingForFileChanges(system, diagnostic, options)) { - output += newLine; - } - output += `${getLocaleTimeString(system)} - `; - output += `${flattenDiagnosticMessageText(diagnostic.messageText, system.newLine)}${getPlainDiagnosticFollowingNewLines(diagnostic, newLine)}`; - system.write(output); - }; -} -function parseConfigFileWithSystem(configFileName, optionsToExtend, extendedConfigCache, watchOptionsToExtend, system, reportDiagnostic) { - const host = system; - host.onUnRecoverableConfigFileDiagnostic = (diagnostic) => reportUnrecoverableDiagnostic(system, reportDiagnostic, diagnostic); - const result = getParsedCommandLineOfConfigFile(configFileName, optionsToExtend, host, extendedConfigCache, watchOptionsToExtend); - host.onUnRecoverableConfigFileDiagnostic = void 0; - return result; -} -function getErrorCountForSummary(diagnostics) { - return countWhere(diagnostics, (diagnostic) => diagnostic.category === 1 /* Error */); -} -function getFilesInErrorForSummary(diagnostics) { - const filesInError = filter(diagnostics, (diagnostic) => diagnostic.category === 1 /* Error */).map( - (errorDiagnostic) => { - if (errorDiagnostic.file === void 0) return; - return `${errorDiagnostic.file.fileName}`; - } - ); - return filesInError.map((fileName) => { - if (fileName === void 0) { - return void 0; - } - const diagnosticForFileName = find(diagnostics, (diagnostic) => diagnostic.file !== void 0 && diagnostic.file.fileName === fileName); - if (diagnosticForFileName !== void 0) { - const { line } = getLineAndCharacterOfPosition(diagnosticForFileName.file, diagnosticForFileName.start); - return { - fileName, - line: line + 1 - }; - } - }); -} -function getWatchErrorSummaryDiagnosticMessage(errorCount) { - return errorCount === 1 ? Diagnostics.Found_1_error_Watching_for_file_changes : Diagnostics.Found_0_errors_Watching_for_file_changes; -} -function prettyPathForFileError(error, cwd) { - const line = formatColorAndReset(":" + error.line, "\x1B[90m" /* Grey */); - if (pathIsAbsolute(error.fileName) && pathIsAbsolute(cwd)) { - return getRelativePathFromDirectory( - cwd, - error.fileName, - /*ignoreCase*/ - false - ) + line; - } - return error.fileName + line; -} -function getErrorSummaryText(errorCount, filesInError, newLine, host) { - if (errorCount === 0) return ""; - const nonNilFiles = filesInError.filter((fileInError) => fileInError !== void 0); - const distinctFileNamesWithLines = nonNilFiles.map((fileInError) => `${fileInError.fileName}:${fileInError.line}`).filter((value, index, self) => self.indexOf(value) === index); - const firstFileReference = nonNilFiles[0] && prettyPathForFileError(nonNilFiles[0], host.getCurrentDirectory()); - let messageAndArgs; - if (errorCount === 1) { - messageAndArgs = filesInError[0] !== void 0 ? [Diagnostics.Found_1_error_in_0, firstFileReference] : [Diagnostics.Found_1_error]; - } else { - messageAndArgs = distinctFileNamesWithLines.length === 0 ? [Diagnostics.Found_0_errors, errorCount] : distinctFileNamesWithLines.length === 1 ? [Diagnostics.Found_0_errors_in_the_same_file_starting_at_Colon_1, errorCount, firstFileReference] : [Diagnostics.Found_0_errors_in_1_files, errorCount, distinctFileNamesWithLines.length]; - } - const d = createCompilerDiagnostic(...messageAndArgs); - const suffix = distinctFileNamesWithLines.length > 1 ? createTabularErrorsDisplay(nonNilFiles, host) : ""; - return `${newLine}${flattenDiagnosticMessageText(d.messageText, newLine)}${newLine}${newLine}${suffix}`; -} -function createTabularErrorsDisplay(filesInError, host) { - const distinctFiles = filesInError.filter((value, index, self) => index === self.findIndex((file) => (file == null ? void 0 : file.fileName) === (value == null ? void 0 : value.fileName))); - if (distinctFiles.length === 0) return ""; - const numberLength = (num) => Math.log(num) * Math.LOG10E + 1; - const fileToErrorCount = distinctFiles.map((file) => [file, countWhere(filesInError, (fileInError) => fileInError.fileName === file.fileName)]); - const maxErrors = maxBy(fileToErrorCount, 0, (value) => value[1]); - const headerRow = Diagnostics.Errors_Files.message; - const leftColumnHeadingLength = headerRow.split(" ")[0].length; - const leftPaddingGoal = Math.max(leftColumnHeadingLength, numberLength(maxErrors)); - const headerPadding = Math.max(numberLength(maxErrors) - leftColumnHeadingLength, 0); - let tabularData = ""; - tabularData += " ".repeat(headerPadding) + headerRow + "\n"; - fileToErrorCount.forEach((row) => { - const [file, errorCount] = row; - const errorCountDigitsLength = Math.log(errorCount) * Math.LOG10E + 1 | 0; - const leftPadding = errorCountDigitsLength < leftPaddingGoal ? " ".repeat(leftPaddingGoal - errorCountDigitsLength) : ""; - const fileRef = prettyPathForFileError(file, host.getCurrentDirectory()); - tabularData += `${leftPadding}${errorCount} ${fileRef} -`; - }); - return tabularData; -} -function isBuilderProgram(program) { - return !!program.state; -} -function listFiles(program, write) { - const options = program.getCompilerOptions(); - if (options.explainFiles) { - explainFiles(isBuilderProgram(program) ? program.getProgram() : program, write); - } else if (options.listFiles || options.listFilesOnly) { - forEach(program.getSourceFiles(), (file) => { - write(file.fileName); - }); - } -} -function explainFiles(program, write) { - var _a, _b; - const reasons = program.getFileIncludeReasons(); - const relativeFileName = (fileName) => convertToRelativePath(fileName, program.getCurrentDirectory(), program.getCanonicalFileName); - for (const file of program.getSourceFiles()) { - write(`${toFileName(file, relativeFileName)}`); - (_a = reasons.get(file.path)) == null ? void 0 : _a.forEach((reason) => write(` ${fileIncludeReasonToDiagnostics(program, reason, relativeFileName).messageText}`)); - (_b = explainIfFileIsRedirectAndImpliedFormat(file, program.getCompilerOptionsForFile(file), relativeFileName)) == null ? void 0 : _b.forEach((d) => write(` ${d.messageText}`)); - } -} -function explainIfFileIsRedirectAndImpliedFormat(file, options, fileNameConvertor) { - var _a; - let result; - if (file.path !== file.resolvedPath) { - (result ?? (result = [])).push(chainDiagnosticMessages( - /*details*/ - void 0, - Diagnostics.File_is_output_of_project_reference_source_0, - toFileName(file.originalFileName, fileNameConvertor) - )); - } - if (file.redirectInfo) { - (result ?? (result = [])).push(chainDiagnosticMessages( - /*details*/ - void 0, - Diagnostics.File_redirects_to_file_0, - toFileName(file.redirectInfo.redirectTarget, fileNameConvertor) - )); - } - if (isExternalOrCommonJsModule(file)) { - switch (getImpliedNodeFormatForEmitWorker(file, options)) { - case 99 /* ESNext */: - if (file.packageJsonScope) { - (result ?? (result = [])).push(chainDiagnosticMessages( - /*details*/ - void 0, - Diagnostics.File_is_ECMAScript_module_because_0_has_field_type_with_value_module, - toFileName(last(file.packageJsonLocations), fileNameConvertor) - )); - } - break; - case 1 /* CommonJS */: - if (file.packageJsonScope) { - (result ?? (result = [])).push(chainDiagnosticMessages( - /*details*/ - void 0, - file.packageJsonScope.contents.packageJsonContent.type ? Diagnostics.File_is_CommonJS_module_because_0_has_field_type_whose_value_is_not_module : Diagnostics.File_is_CommonJS_module_because_0_does_not_have_field_type, - toFileName(last(file.packageJsonLocations), fileNameConvertor) - )); - } else if ((_a = file.packageJsonLocations) == null ? void 0 : _a.length) { - (result ?? (result = [])).push(chainDiagnosticMessages( - /*details*/ - void 0, - Diagnostics.File_is_CommonJS_module_because_package_json_was_not_found - )); - } - break; - } - } - return result; -} -function getMatchedFileSpec(program, fileName) { - var _a; - const configFile = program.getCompilerOptions().configFile; - if (!((_a = configFile == null ? void 0 : configFile.configFileSpecs) == null ? void 0 : _a.validatedFilesSpec)) return void 0; - const filePath = program.getCanonicalFileName(fileName); - const basePath = getDirectoryPath(getNormalizedAbsolutePath(configFile.fileName, program.getCurrentDirectory())); - const index = findIndex(configFile.configFileSpecs.validatedFilesSpec, (fileSpec) => program.getCanonicalFileName(getNormalizedAbsolutePath(fileSpec, basePath)) === filePath); - return index !== -1 ? configFile.configFileSpecs.validatedFilesSpecBeforeSubstitution[index] : void 0; -} -function getMatchedIncludeSpec(program, fileName) { - var _a, _b; - const configFile = program.getCompilerOptions().configFile; - if (!((_a = configFile == null ? void 0 : configFile.configFileSpecs) == null ? void 0 : _a.validatedIncludeSpecs)) return void 0; - if (configFile.configFileSpecs.isDefaultIncludeSpec) return true; - const isJsonFile = fileExtensionIs(fileName, ".json" /* Json */); - const basePath = getDirectoryPath(getNormalizedAbsolutePath(configFile.fileName, program.getCurrentDirectory())); - const useCaseSensitiveFileNames2 = program.useCaseSensitiveFileNames(); - const index = findIndex((_b = configFile == null ? void 0 : configFile.configFileSpecs) == null ? void 0 : _b.validatedIncludeSpecs, (includeSpec) => { - if (isJsonFile && !endsWith(includeSpec, ".json" /* Json */)) return false; - const pattern = getPatternFromSpec(includeSpec, basePath, "files"); - return !!pattern && getRegexFromPattern(`(${pattern})$`, useCaseSensitiveFileNames2).test(fileName); - }); - return index !== -1 ? configFile.configFileSpecs.validatedIncludeSpecsBeforeSubstitution[index] : void 0; -} -function fileIncludeReasonToDiagnostics(program, reason, fileNameConvertor) { - var _a, _b; - const options = program.getCompilerOptions(); - if (isReferencedFile(reason)) { - const referenceLocation = getReferencedFileLocation(program, reason); - const referenceText = isReferenceFileLocation(referenceLocation) ? referenceLocation.file.text.substring(referenceLocation.pos, referenceLocation.end) : `"${referenceLocation.text}"`; - let message; - Debug.assert(isReferenceFileLocation(referenceLocation) || reason.kind === 3 /* Import */, "Only synthetic references are imports"); - switch (reason.kind) { - case 3 /* Import */: - if (isReferenceFileLocation(referenceLocation)) { - message = referenceLocation.packageId ? Diagnostics.Imported_via_0_from_file_1_with_packageId_2 : Diagnostics.Imported_via_0_from_file_1; - } else if (referenceLocation.text === externalHelpersModuleNameText) { - message = referenceLocation.packageId ? Diagnostics.Imported_via_0_from_file_1_with_packageId_2_to_import_importHelpers_as_specified_in_compilerOptions : Diagnostics.Imported_via_0_from_file_1_to_import_importHelpers_as_specified_in_compilerOptions; - } else { - message = referenceLocation.packageId ? Diagnostics.Imported_via_0_from_file_1_with_packageId_2_to_import_jsx_and_jsxs_factory_functions : Diagnostics.Imported_via_0_from_file_1_to_import_jsx_and_jsxs_factory_functions; - } - break; - case 4 /* ReferenceFile */: - Debug.assert(!referenceLocation.packageId); - message = Diagnostics.Referenced_via_0_from_file_1; - break; - case 5 /* TypeReferenceDirective */: - message = referenceLocation.packageId ? Diagnostics.Type_library_referenced_via_0_from_file_1_with_packageId_2 : Diagnostics.Type_library_referenced_via_0_from_file_1; - break; - case 7 /* LibReferenceDirective */: - Debug.assert(!referenceLocation.packageId); - message = Diagnostics.Library_referenced_via_0_from_file_1; - break; - default: - Debug.assertNever(reason); - } - return chainDiagnosticMessages( - /*details*/ - void 0, - message, - referenceText, - toFileName(referenceLocation.file, fileNameConvertor), - referenceLocation.packageId && packageIdToString(referenceLocation.packageId) - ); - } - switch (reason.kind) { - case 0 /* RootFile */: - if (!((_a = options.configFile) == null ? void 0 : _a.configFileSpecs)) return chainDiagnosticMessages( - /*details*/ - void 0, - Diagnostics.Root_file_specified_for_compilation - ); - const fileName = getNormalizedAbsolutePath(program.getRootFileNames()[reason.index], program.getCurrentDirectory()); - const matchedByFiles = getMatchedFileSpec(program, fileName); - if (matchedByFiles) return chainDiagnosticMessages( - /*details*/ - void 0, - Diagnostics.Part_of_files_list_in_tsconfig_json - ); - const matchedByInclude = getMatchedIncludeSpec(program, fileName); - return isString(matchedByInclude) ? chainDiagnosticMessages( - /*details*/ - void 0, - Diagnostics.Matched_by_include_pattern_0_in_1, - matchedByInclude, - toFileName(options.configFile, fileNameConvertor) - ) : ( - // Could be additional files specified as roots or matched by default include - chainDiagnosticMessages( - /*details*/ - void 0, - matchedByInclude ? Diagnostics.Matched_by_default_include_pattern_Asterisk_Asterisk_Slash_Asterisk : Diagnostics.Root_file_specified_for_compilation - ) - ); - case 1 /* SourceFromProjectReference */: - case 2 /* OutputFromProjectReference */: - const isOutput = reason.kind === 2 /* OutputFromProjectReference */; - const referencedResolvedRef = Debug.checkDefined((_b = program.getResolvedProjectReferences()) == null ? void 0 : _b[reason.index]); - return chainDiagnosticMessages( - /*details*/ - void 0, - options.outFile ? isOutput ? Diagnostics.Output_from_referenced_project_0_included_because_1_specified : Diagnostics.Source_from_referenced_project_0_included_because_1_specified : isOutput ? Diagnostics.Output_from_referenced_project_0_included_because_module_is_specified_as_none : Diagnostics.Source_from_referenced_project_0_included_because_module_is_specified_as_none, - toFileName(referencedResolvedRef.sourceFile.fileName, fileNameConvertor), - options.outFile ? "--outFile" : "--out" - ); - case 8 /* AutomaticTypeDirectiveFile */: { - const messageAndArgs = options.types ? reason.packageId ? [Diagnostics.Entry_point_of_type_library_0_specified_in_compilerOptions_with_packageId_1, reason.typeReference, packageIdToString(reason.packageId)] : [Diagnostics.Entry_point_of_type_library_0_specified_in_compilerOptions, reason.typeReference] : reason.packageId ? [Diagnostics.Entry_point_for_implicit_type_library_0_with_packageId_1, reason.typeReference, packageIdToString(reason.packageId)] : [Diagnostics.Entry_point_for_implicit_type_library_0, reason.typeReference]; - return chainDiagnosticMessages( - /*details*/ - void 0, - ...messageAndArgs - ); - } - case 6 /* LibFile */: { - if (reason.index !== void 0) return chainDiagnosticMessages( - /*details*/ - void 0, - Diagnostics.Library_0_specified_in_compilerOptions, - options.lib[reason.index] - ); - const target = getNameOfScriptTarget(getEmitScriptTarget(options)); - const messageAndArgs = target ? [Diagnostics.Default_library_for_target_0, target] : [Diagnostics.Default_library]; - return chainDiagnosticMessages( - /*details*/ - void 0, - ...messageAndArgs - ); - } - default: - Debug.assertNever(reason); - } -} -function toFileName(file, fileNameConvertor) { - const fileName = isString(file) ? file : file.fileName; - return fileNameConvertor ? fileNameConvertor(fileName) : fileName; -} -function emitFilesAndReportErrors(program, reportDiagnostic, write, reportSummary, writeFile2, cancellationToken, emitOnlyDtsFiles, customTransformers) { - const options = program.getCompilerOptions(); - const allDiagnostics = program.getConfigFileParsingDiagnostics().slice(); - const configFileParsingDiagnosticsLength = allDiagnostics.length; - addRange(allDiagnostics, program.getSyntacticDiagnostics( - /*sourceFile*/ - void 0, - cancellationToken - )); - if (allDiagnostics.length === configFileParsingDiagnosticsLength) { - addRange(allDiagnostics, program.getOptionsDiagnostics(cancellationToken)); - if (!options.listFilesOnly) { - addRange(allDiagnostics, program.getGlobalDiagnostics(cancellationToken)); - if (allDiagnostics.length === configFileParsingDiagnosticsLength) { - addRange(allDiagnostics, program.getSemanticDiagnostics( - /*sourceFile*/ - void 0, - cancellationToken - )); - } - if (options.noEmit && getEmitDeclarations(options) && allDiagnostics.length === configFileParsingDiagnosticsLength) { - addRange(allDiagnostics, program.getDeclarationDiagnostics( - /*sourceFile*/ - void 0, - cancellationToken - )); - } - } - } - const emitResult = options.listFilesOnly ? { emitSkipped: true, diagnostics: emptyArray } : program.emit( - /*targetSourceFile*/ - void 0, - writeFile2, - cancellationToken, - emitOnlyDtsFiles, - customTransformers - ); - addRange(allDiagnostics, emitResult.diagnostics); - const diagnostics = sortAndDeduplicateDiagnostics(allDiagnostics); - diagnostics.forEach(reportDiagnostic); - if (write) { - const currentDir = program.getCurrentDirectory(); - forEach(emitResult.emittedFiles, (file) => { - const filepath = getNormalizedAbsolutePath(file, currentDir); - write(`TSFILE: ${filepath}`); - }); - listFiles(program, write); - } - if (reportSummary) { - reportSummary(getErrorCountForSummary(diagnostics), getFilesInErrorForSummary(diagnostics)); - } - return { - emitResult, - diagnostics - }; -} -function emitFilesAndReportErrorsAndGetExitStatus(program, reportDiagnostic, write, reportSummary, writeFile2, cancellationToken, emitOnlyDtsFiles, customTransformers) { - const { emitResult, diagnostics } = emitFilesAndReportErrors( - program, - reportDiagnostic, - write, - reportSummary, - writeFile2, - cancellationToken, - emitOnlyDtsFiles, - customTransformers - ); - if (emitResult.emitSkipped && diagnostics.length > 0) { - return 1 /* DiagnosticsPresent_OutputsSkipped */; - } else if (diagnostics.length > 0) { - return 2 /* DiagnosticsPresent_OutputsGenerated */; - } - return 0 /* Success */; -} -var noopFileWatcher = { close: noop }; -var returnNoopFileWatcher = () => noopFileWatcher; -function createWatchHost(system = sys, reportWatchStatus2) { - const onWatchStatusChange = reportWatchStatus2 || createWatchStatusReporter(system); - return { - onWatchStatusChange, - watchFile: maybeBind(system, system.watchFile) || returnNoopFileWatcher, - watchDirectory: maybeBind(system, system.watchDirectory) || returnNoopFileWatcher, - setTimeout: maybeBind(system, system.setTimeout) || noop, - clearTimeout: maybeBind(system, system.clearTimeout) || noop, - preferNonRecursiveWatch: system.preferNonRecursiveWatch - }; -} -var WatchType = { - ConfigFile: "Config file", - ExtendedConfigFile: "Extended config file", - SourceFile: "Source file", - MissingFile: "Missing file", - WildcardDirectory: "Wild card directory", - FailedLookupLocations: "Failed Lookup Locations", - AffectingFileLocation: "File location affecting resolution", - 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", - ClosedScriptInfo: "Closed Script info", - ConfigFileForInferredRoot: "Config file for the inferred project root", - NodeModules: "node_modules for closed script infos and package.jsons affecting module specifier cache", - MissingSourceMapFile: "Missing source map file", - NoopConfigFileForInferredRoot: "Noop Config file for the inferred project root", - MissingGeneratedFile: "Missing generated file", - NodeModulesForModuleSpecifierCache: "node_modules for module specifier cache invalidation", - TypingInstallerLocationFile: "File location for typing installer", - TypingInstallerLocationDirectory: "Directory location for typing installer" -}; -function createWatchFactory(host, options) { - const watchLogLevel = host.trace ? options.extendedDiagnostics ? 2 /* Verbose */ : options.diagnostics ? 1 /* TriggerOnly */ : 0 /* None */ : 0 /* None */; - const writeLog = watchLogLevel !== 0 /* None */ ? (s) => host.trace(s) : noop; - const result = getWatchFactory(host, watchLogLevel, writeLog); - result.writeLog = writeLog; - return result; -} -function createCompilerHostFromProgramHost(host, getCompilerOptions, directoryStructureHost = host) { - const useCaseSensitiveFileNames2 = host.useCaseSensitiveFileNames(); - const compilerHost = { - getSourceFile: createGetSourceFile( - (fileName, encoding) => !encoding ? compilerHost.readFile(fileName) : host.readFile(fileName, encoding), - /*setParentNodes*/ - void 0 - ), - getDefaultLibLocation: maybeBind(host, host.getDefaultLibLocation), - getDefaultLibFileName: (options) => host.getDefaultLibFileName(options), - writeFile: createWriteFileMeasuringIO( - (path, data, writeByteOrderMark) => host.writeFile(path, data, writeByteOrderMark), - (path) => host.createDirectory(path), - (path) => host.directoryExists(path) - ), - getCurrentDirectory: memoize(() => host.getCurrentDirectory()), - useCaseSensitiveFileNames: () => useCaseSensitiveFileNames2, - getCanonicalFileName: createGetCanonicalFileName(useCaseSensitiveFileNames2), - getNewLine: () => getNewLineCharacter(getCompilerOptions()), - fileExists: (f) => host.fileExists(f), - readFile: (f) => host.readFile(f), - trace: maybeBind(host, host.trace), - directoryExists: maybeBind(directoryStructureHost, directoryStructureHost.directoryExists), - getDirectories: maybeBind(directoryStructureHost, directoryStructureHost.getDirectories), - realpath: maybeBind(host, host.realpath), - getEnvironmentVariable: maybeBind(host, host.getEnvironmentVariable) || (() => ""), - createHash: maybeBind(host, host.createHash), - readDirectory: maybeBind(host, host.readDirectory), - storeSignatureInfo: host.storeSignatureInfo, - jsDocParsingMode: host.jsDocParsingMode - }; - return compilerHost; -} -function getSourceFileVersionAsHashFromText(host, text) { - if (text.match(sourceMapCommentRegExpDontCareLineStart)) { - let lineEnd = text.length; - let lineStart = lineEnd; - for (let pos = lineEnd - 1; pos >= 0; pos--) { - const ch = text.charCodeAt(pos); - switch (ch) { - case 10 /* lineFeed */: - if (pos && text.charCodeAt(pos - 1) === 13 /* carriageReturn */) { - pos--; - } - case 13 /* carriageReturn */: - break; - default: - if (ch < 127 /* maxAsciiCharacter */ || !isLineBreak(ch)) { - lineStart = pos; - continue; - } - break; - } - const line = text.substring(lineStart, lineEnd); - if (line.match(sourceMapCommentRegExp)) { - text = text.substring(0, lineStart); - break; - } else if (!line.match(whitespaceOrMapCommentRegExp)) { - break; - } - lineEnd = lineStart; - } - } - return (host.createHash || generateDjb2Hash)(text); -} -function setGetSourceFileAsHashVersioned(compilerHost) { - const originalGetSourceFile = compilerHost.getSourceFile; - compilerHost.getSourceFile = (...args) => { - const result = originalGetSourceFile.call(compilerHost, ...args); - if (result) { - result.version = getSourceFileVersionAsHashFromText(compilerHost, result.text); - } - return result; - }; -} -function createProgramHost(system, createProgram2) { - const getDefaultLibLocation = memoize(() => getDirectoryPath(normalizePath(system.getExecutingFilePath()))); - return { - useCaseSensitiveFileNames: () => system.useCaseSensitiveFileNames, - getNewLine: () => system.newLine, - getCurrentDirectory: memoize(() => system.getCurrentDirectory()), - getDefaultLibLocation, - getDefaultLibFileName: (options) => combinePaths(getDefaultLibLocation(), getDefaultLibFileName(options)), - fileExists: (path) => system.fileExists(path), - readFile: (path, encoding) => system.readFile(path, encoding), - directoryExists: (path) => system.directoryExists(path), - getDirectories: (path) => system.getDirectories(path), - readDirectory: (path, extensions, exclude, include, depth) => system.readDirectory(path, extensions, exclude, include, depth), - realpath: maybeBind(system, system.realpath), - getEnvironmentVariable: maybeBind(system, system.getEnvironmentVariable), - trace: (s) => system.write(s + system.newLine), - createDirectory: (path) => system.createDirectory(path), - writeFile: (path, data, writeByteOrderMark) => system.writeFile(path, data, writeByteOrderMark), - createHash: maybeBind(system, system.createHash), - createProgram: createProgram2 || createEmitAndSemanticDiagnosticsBuilderProgram, - storeSignatureInfo: system.storeSignatureInfo, - now: maybeBind(system, system.now) - }; -} -function createWatchCompilerHost(system = sys, createProgram2, reportDiagnostic, reportWatchStatus2) { - const write = (s) => system.write(s + system.newLine); - const result = createProgramHost(system, createProgram2); - copyProperties(result, createWatchHost(system, reportWatchStatus2)); - result.afterProgramCreate = (builderProgram) => { - const compilerOptions = builderProgram.getCompilerOptions(); - const newLine = getNewLineCharacter(compilerOptions); - emitFilesAndReportErrors( - builderProgram, - reportDiagnostic, - write, - (errorCount) => result.onWatchStatusChange( - createCompilerDiagnostic(getWatchErrorSummaryDiagnosticMessage(errorCount), errorCount), - newLine, - compilerOptions, - errorCount - ) - ); - }; - return result; -} -function reportUnrecoverableDiagnostic(system, reportDiagnostic, diagnostic) { - reportDiagnostic(diagnostic); - system.exit(1 /* DiagnosticsPresent_OutputsSkipped */); -} -function createWatchCompilerHostOfConfigFile({ - configFileName, - optionsToExtend, - watchOptionsToExtend, - extraFileExtensions, - system, - createProgram: createProgram2, - reportDiagnostic, - reportWatchStatus: reportWatchStatus2 -}) { - const diagnosticReporter = reportDiagnostic || createDiagnosticReporter(system); - const host = createWatchCompilerHost(system, createProgram2, diagnosticReporter, reportWatchStatus2); - host.onUnRecoverableConfigFileDiagnostic = (diagnostic) => reportUnrecoverableDiagnostic(system, diagnosticReporter, diagnostic); - host.configFileName = configFileName; - host.optionsToExtend = optionsToExtend; - host.watchOptionsToExtend = watchOptionsToExtend; - host.extraFileExtensions = extraFileExtensions; - return host; -} -function createWatchCompilerHostOfFilesAndCompilerOptions({ - rootFiles, - options, - watchOptions, - projectReferences, - system, - createProgram: createProgram2, - reportDiagnostic, - reportWatchStatus: reportWatchStatus2 -}) { - const host = createWatchCompilerHost(system, createProgram2, reportDiagnostic || createDiagnosticReporter(system), reportWatchStatus2); - host.rootFiles = rootFiles; - host.options = options; - host.watchOptions = watchOptions; - host.projectReferences = projectReferences; - return host; -} -function performIncrementalCompilation(input) { - const system = input.system || sys; - const host = input.host || (input.host = createIncrementalCompilerHost(input.options, system)); - const builderProgram = createIncrementalProgram(input); - const exitStatus = emitFilesAndReportErrorsAndGetExitStatus( - builderProgram, - input.reportDiagnostic || createDiagnosticReporter(system), - (s) => host.trace && host.trace(s), - input.reportErrorSummary || input.options.pretty ? (errorCount, filesInError) => system.write(getErrorSummaryText(errorCount, filesInError, system.newLine, host)) : void 0 - ); - if (input.afterProgramEmitAndDiagnostics) input.afterProgramEmitAndDiagnostics(builderProgram); - return exitStatus; -} - -// src/compiler/watchPublic.ts -function readBuilderProgram(compilerOptions, host) { - const buildInfoPath = getTsBuildInfoEmitOutputFilePath(compilerOptions); - if (!buildInfoPath) return void 0; - let buildInfo; - if (host.getBuildInfo) { - buildInfo = host.getBuildInfo(buildInfoPath, compilerOptions.configFilePath); - } else { - const content = host.readFile(buildInfoPath); - if (!content) return void 0; - buildInfo = getBuildInfo(buildInfoPath, content); - } - if (!buildInfo || buildInfo.version !== version || !isIncrementalBuildInfo(buildInfo)) return void 0; - return createBuilderProgramUsingIncrementalBuildInfo(buildInfo, buildInfoPath, host); -} -function createIncrementalCompilerHost(options, system = sys) { - const host = createCompilerHostWorker( - options, - /*setParentNodes*/ - void 0, - system - ); - host.createHash = maybeBind(system, system.createHash); - host.storeSignatureInfo = system.storeSignatureInfo; - setGetSourceFileAsHashVersioned(host); - changeCompilerHostLikeToUseCache(host, (fileName) => toPath(fileName, host.getCurrentDirectory(), host.getCanonicalFileName)); - return host; -} -function createIncrementalProgram({ - rootNames, - options, - configFileParsingDiagnostics, - projectReferences, - host, - createProgram: createProgram2 -}) { - host = host || createIncrementalCompilerHost(options); - createProgram2 = createProgram2 || createEmitAndSemanticDiagnosticsBuilderProgram; - const oldProgram = readBuilderProgram(options, host); - return createProgram2(rootNames, options, host, oldProgram, configFileParsingDiagnostics, projectReferences); -} -function createWatchProgram(host) { - let builderProgram; - let updateLevel; - let missingFilesMap; - let watchedWildcardDirectories; - let timerToUpdateProgram; - let timerToInvalidateFailedLookupResolutions; - let parsedConfigs; - let sharedExtendedConfigFileWatchers; - let extendedConfigCache = host.extendedConfigCache; - let reportFileChangeDetectedOnCreateProgram = false; - const sourceFilesCache = /* @__PURE__ */ new Map(); - let missingFilePathsRequestedForRelease; - let hasChangedCompilerOptions = false; - const useCaseSensitiveFileNames2 = host.useCaseSensitiveFileNames(); - const currentDirectory = host.getCurrentDirectory(); - const { configFileName, optionsToExtend: optionsToExtendForConfigFile = {}, watchOptionsToExtend, extraFileExtensions, createProgram: createProgram2 } = host; - let { rootFiles: rootFileNames, options: compilerOptions, watchOptions, projectReferences } = host; - let wildcardDirectories; - let configFileParsingDiagnostics; - let canConfigFileJsonReportNoInputFiles = false; - let hasChangedConfigFileParsingErrors = false; - const cachedDirectoryStructureHost = configFileName === void 0 ? void 0 : createCachedDirectoryStructureHost(host, currentDirectory, useCaseSensitiveFileNames2); - const directoryStructureHost = cachedDirectoryStructureHost || host; - const parseConfigFileHost = parseConfigHostFromCompilerHostLike(host, directoryStructureHost); - let newLine = updateNewLine(); - if (configFileName && host.configFileParsingResult) { - setConfigFileParsingResult(host.configFileParsingResult); - newLine = updateNewLine(); - } - reportWatchDiagnostic(Diagnostics.Starting_compilation_in_watch_mode); - if (configFileName && !host.configFileParsingResult) { - newLine = getNewLineCharacter(optionsToExtendForConfigFile); - Debug.assert(!rootFileNames); - parseConfigFile2(); - newLine = updateNewLine(); - } - Debug.assert(compilerOptions); - Debug.assert(rootFileNames); - const { watchFile: watchFile2, watchDirectory, writeLog } = createWatchFactory(host, compilerOptions); - const getCanonicalFileName = createGetCanonicalFileName(useCaseSensitiveFileNames2); - writeLog(`Current directory: ${currentDirectory} CaseSensitiveFileNames: ${useCaseSensitiveFileNames2}`); - let configFileWatcher; - if (configFileName) { - configFileWatcher = watchFile2(configFileName, scheduleProgramReload, 2e3 /* High */, watchOptions, WatchType.ConfigFile); - } - const compilerHost = createCompilerHostFromProgramHost(host, () => compilerOptions, directoryStructureHost); - setGetSourceFileAsHashVersioned(compilerHost); - const getNewSourceFile = compilerHost.getSourceFile; - compilerHost.getSourceFile = (fileName, ...args) => getVersionedSourceFileByPath(fileName, toPath3(fileName), ...args); - compilerHost.getSourceFileByPath = getVersionedSourceFileByPath; - compilerHost.getNewLine = () => newLine; - compilerHost.fileExists = fileExists; - compilerHost.onReleaseOldSourceFile = onReleaseOldSourceFile; - compilerHost.onReleaseParsedCommandLine = onReleaseParsedCommandLine; - compilerHost.toPath = toPath3; - compilerHost.getCompilationSettings = () => compilerOptions; - compilerHost.useSourceOfProjectReferenceRedirect = maybeBind(host, host.useSourceOfProjectReferenceRedirect); - compilerHost.preferNonRecursiveWatch = host.preferNonRecursiveWatch; - compilerHost.watchDirectoryOfFailedLookupLocation = (dir, cb, flags) => watchDirectory(dir, cb, flags, watchOptions, WatchType.FailedLookupLocations); - compilerHost.watchAffectingFileLocation = (file, cb) => watchFile2(file, cb, 2e3 /* High */, watchOptions, WatchType.AffectingFileLocation); - compilerHost.watchTypeRootsDirectory = (dir, cb, flags) => watchDirectory(dir, cb, flags, watchOptions, WatchType.TypeRoots); - compilerHost.getCachedDirectoryStructureHost = () => cachedDirectoryStructureHost; - compilerHost.scheduleInvalidateResolutionsOfFailedLookupLocations = scheduleInvalidateResolutionsOfFailedLookupLocations; - compilerHost.onInvalidatedResolution = scheduleProgramUpdate; - compilerHost.onChangedAutomaticTypeDirectiveNames = scheduleProgramUpdate; - compilerHost.fileIsOpen = returnFalse; - compilerHost.getCurrentProgram = getCurrentProgram; - compilerHost.writeLog = writeLog; - compilerHost.getParsedCommandLine = getParsedCommandLine; - const resolutionCache = createResolutionCache( - compilerHost, - configFileName ? getDirectoryPath(getNormalizedAbsolutePath(configFileName, currentDirectory)) : currentDirectory, - /*logChangesWhenResolvingModule*/ - false - ); - compilerHost.resolveModuleNameLiterals = maybeBind(host, host.resolveModuleNameLiterals); - compilerHost.resolveModuleNames = maybeBind(host, host.resolveModuleNames); - if (!compilerHost.resolveModuleNameLiterals && !compilerHost.resolveModuleNames) { - compilerHost.resolveModuleNameLiterals = resolutionCache.resolveModuleNameLiterals.bind(resolutionCache); - } - compilerHost.resolveTypeReferenceDirectiveReferences = maybeBind(host, host.resolveTypeReferenceDirectiveReferences); - compilerHost.resolveTypeReferenceDirectives = maybeBind(host, host.resolveTypeReferenceDirectives); - if (!compilerHost.resolveTypeReferenceDirectiveReferences && !compilerHost.resolveTypeReferenceDirectives) { - compilerHost.resolveTypeReferenceDirectiveReferences = resolutionCache.resolveTypeReferenceDirectiveReferences.bind(resolutionCache); - } - compilerHost.resolveLibrary = !host.resolveLibrary ? resolutionCache.resolveLibrary.bind(resolutionCache) : host.resolveLibrary.bind(host); - compilerHost.getModuleResolutionCache = host.resolveModuleNameLiterals || host.resolveModuleNames ? maybeBind(host, host.getModuleResolutionCache) : () => resolutionCache.getModuleResolutionCache(); - const userProvidedResolution = !!host.resolveModuleNameLiterals || !!host.resolveTypeReferenceDirectiveReferences || !!host.resolveModuleNames || !!host.resolveTypeReferenceDirectives; - const customHasInvalidatedResolutions = userProvidedResolution ? maybeBind(host, host.hasInvalidatedResolutions) || returnTrue : returnFalse; - const customHasInvalidLibResolutions = host.resolveLibrary ? maybeBind(host, host.hasInvalidatedLibResolutions) || returnTrue : returnFalse; - builderProgram = readBuilderProgram(compilerOptions, compilerHost); - synchronizeProgram(); - watchConfigFileWildCardDirectories(); - if (configFileName) updateExtendedConfigFilesWatches(toPath3(configFileName), compilerOptions, watchOptions, WatchType.ExtendedConfigFile); - return configFileName ? { getCurrentProgram: getCurrentBuilderProgram, getProgram: updateProgram, close, getResolutionCache } : { getCurrentProgram: getCurrentBuilderProgram, getProgram: updateProgram, updateRootFileNames, close, getResolutionCache }; - function close() { - clearInvalidateResolutionsOfFailedLookupLocations(); - resolutionCache.clear(); - clearMap(sourceFilesCache, (value) => { - if (value && value.fileWatcher) { - value.fileWatcher.close(); - value.fileWatcher = void 0; - } - }); - if (configFileWatcher) { - configFileWatcher.close(); - configFileWatcher = void 0; - } - extendedConfigCache == null ? void 0 : extendedConfigCache.clear(); - extendedConfigCache = void 0; - if (sharedExtendedConfigFileWatchers) { - clearMap(sharedExtendedConfigFileWatchers, closeFileWatcherOf); - sharedExtendedConfigFileWatchers = void 0; - } - if (watchedWildcardDirectories) { - clearMap(watchedWildcardDirectories, closeFileWatcherOf); - watchedWildcardDirectories = void 0; - } - if (missingFilesMap) { - clearMap(missingFilesMap, closeFileWatcher); - missingFilesMap = void 0; - } - if (parsedConfigs) { - clearMap(parsedConfigs, (config) => { - var _a; - (_a = config.watcher) == null ? void 0 : _a.close(); - config.watcher = void 0; - if (config.watchedDirectories) clearMap(config.watchedDirectories, closeFileWatcherOf); - config.watchedDirectories = void 0; - }); - parsedConfigs = void 0; - } - builderProgram = void 0; - } - function getResolutionCache() { - return resolutionCache; - } - function getCurrentBuilderProgram() { - return builderProgram; - } - function getCurrentProgram() { - return builderProgram && builderProgram.getProgramOrUndefined(); - } - function synchronizeProgram() { - writeLog(`Synchronizing program`); - Debug.assert(compilerOptions); - Debug.assert(rootFileNames); - clearInvalidateResolutionsOfFailedLookupLocations(); - const program = getCurrentBuilderProgram(); - if (hasChangedCompilerOptions) { - newLine = updateNewLine(); - if (program && changesAffectModuleResolution(program.getCompilerOptions(), compilerOptions)) { - resolutionCache.onChangesAffectModuleResolution(); - } - } - const { hasInvalidatedResolutions, hasInvalidatedLibResolutions } = resolutionCache.createHasInvalidatedResolutions(customHasInvalidatedResolutions, customHasInvalidLibResolutions); - const { - originalReadFile, - originalFileExists, - originalDirectoryExists, - originalCreateDirectory, - originalWriteFile, - readFileWithCache - } = changeCompilerHostLikeToUseCache(compilerHost, toPath3); - if (isProgramUptoDate(getCurrentProgram(), rootFileNames, compilerOptions, (path) => getSourceVersion(path, readFileWithCache), (fileName) => compilerHost.fileExists(fileName), hasInvalidatedResolutions, hasInvalidatedLibResolutions, hasChangedAutomaticTypeDirectiveNames, getParsedCommandLine, projectReferences)) { - if (hasChangedConfigFileParsingErrors) { - if (reportFileChangeDetectedOnCreateProgram) { - reportWatchDiagnostic(Diagnostics.File_change_detected_Starting_incremental_compilation); - } - builderProgram = createProgram2( - /*rootNames*/ - void 0, - /*options*/ - void 0, - compilerHost, - builderProgram, - configFileParsingDiagnostics, - projectReferences - ); - hasChangedConfigFileParsingErrors = false; - } - } else { - if (reportFileChangeDetectedOnCreateProgram) { - reportWatchDiagnostic(Diagnostics.File_change_detected_Starting_incremental_compilation); - } - createNewProgram(hasInvalidatedResolutions, hasInvalidatedLibResolutions); - } - reportFileChangeDetectedOnCreateProgram = false; - if (host.afterProgramCreate && program !== builderProgram) { - host.afterProgramCreate(builderProgram); - } - compilerHost.readFile = originalReadFile; - compilerHost.fileExists = originalFileExists; - compilerHost.directoryExists = originalDirectoryExists; - compilerHost.createDirectory = originalCreateDirectory; - compilerHost.writeFile = originalWriteFile; - return builderProgram; - } - function createNewProgram(hasInvalidatedResolutions, hasInvalidatedLibResolutions) { - writeLog("CreatingProgramWith::"); - writeLog(` roots: ${JSON.stringify(rootFileNames)}`); - writeLog(` options: ${JSON.stringify(compilerOptions)}`); - if (projectReferences) writeLog(` projectReferences: ${JSON.stringify(projectReferences)}`); - const needsUpdateInTypeRootWatch = hasChangedCompilerOptions || !getCurrentProgram(); - hasChangedCompilerOptions = false; - hasChangedConfigFileParsingErrors = false; - resolutionCache.startCachingPerDirectoryResolution(); - compilerHost.hasInvalidatedResolutions = hasInvalidatedResolutions; - compilerHost.hasInvalidatedLibResolutions = hasInvalidatedLibResolutions; - compilerHost.hasChangedAutomaticTypeDirectiveNames = hasChangedAutomaticTypeDirectiveNames; - const oldProgram = getCurrentProgram(); - builderProgram = createProgram2(rootFileNames, compilerOptions, compilerHost, builderProgram, configFileParsingDiagnostics, projectReferences); - resolutionCache.finishCachingPerDirectoryResolution(builderProgram.getProgram(), oldProgram); - updateMissingFilePathsWatch( - builderProgram.getProgram(), - missingFilesMap || (missingFilesMap = /* @__PURE__ */ new Map()), - watchMissingFilePath - ); - if (needsUpdateInTypeRootWatch) { - resolutionCache.updateTypeRootsWatch(); - } - if (missingFilePathsRequestedForRelease) { - for (const missingFilePath of missingFilePathsRequestedForRelease) { - if (!missingFilesMap.has(missingFilePath)) { - sourceFilesCache.delete(missingFilePath); - } - } - missingFilePathsRequestedForRelease = void 0; - } - } - function updateRootFileNames(files) { - Debug.assert(!configFileName, "Cannot update root file names with config file watch mode"); - rootFileNames = files; - scheduleProgramUpdate(); - } - function updateNewLine() { - return getNewLineCharacter(compilerOptions || optionsToExtendForConfigFile); - } - function toPath3(fileName) { - return toPath(fileName, currentDirectory, getCanonicalFileName); - } - function isFileMissingOnHost(hostSourceFile) { - return typeof hostSourceFile === "boolean"; - } - function isFilePresenceUnknownOnHost(hostSourceFile) { - return typeof hostSourceFile.version === "boolean"; - } - function fileExists(fileName) { - const path = toPath3(fileName); - if (isFileMissingOnHost(sourceFilesCache.get(path))) { - return false; - } - return directoryStructureHost.fileExists(fileName); - } - function getVersionedSourceFileByPath(fileName, path, languageVersionOrOptions, onError, shouldCreateNewSourceFile) { - const hostSourceFile = sourceFilesCache.get(path); - if (isFileMissingOnHost(hostSourceFile)) { - return void 0; - } - const impliedNodeFormat = typeof languageVersionOrOptions === "object" ? languageVersionOrOptions.impliedNodeFormat : void 0; - if (hostSourceFile === void 0 || shouldCreateNewSourceFile || isFilePresenceUnknownOnHost(hostSourceFile) || hostSourceFile.sourceFile.impliedNodeFormat !== impliedNodeFormat) { - const sourceFile = getNewSourceFile(fileName, languageVersionOrOptions, onError); - if (hostSourceFile) { - if (sourceFile) { - hostSourceFile.sourceFile = sourceFile; - hostSourceFile.version = sourceFile.version; - if (!hostSourceFile.fileWatcher) { - hostSourceFile.fileWatcher = watchFilePath(path, fileName, onSourceFileChange, 250 /* Low */, watchOptions, WatchType.SourceFile); - } - } else { - if (hostSourceFile.fileWatcher) { - hostSourceFile.fileWatcher.close(); - } - sourceFilesCache.set(path, false); - } - } else { - if (sourceFile) { - const fileWatcher = watchFilePath(path, fileName, onSourceFileChange, 250 /* Low */, watchOptions, WatchType.SourceFile); - sourceFilesCache.set(path, { sourceFile, version: sourceFile.version, fileWatcher }); - } else { - sourceFilesCache.set(path, false); - } - } - return sourceFile; - } - return hostSourceFile.sourceFile; - } - function nextSourceFileVersion(path) { - const hostSourceFile = sourceFilesCache.get(path); - if (hostSourceFile !== void 0) { - if (isFileMissingOnHost(hostSourceFile)) { - sourceFilesCache.set(path, { version: false }); - } else { - hostSourceFile.version = false; - } - } - } - function getSourceVersion(path, readFileWithCache) { - const hostSourceFile = sourceFilesCache.get(path); - if (!hostSourceFile) return void 0; - if (hostSourceFile.version) return hostSourceFile.version; - const text = readFileWithCache(path); - return text !== void 0 ? getSourceFileVersionAsHashFromText(compilerHost, text) : void 0; - } - function onReleaseOldSourceFile(oldSourceFile, _oldOptions, hasSourceFileByPath) { - const hostSourceFileInfo = sourceFilesCache.get(oldSourceFile.resolvedPath); - if (hostSourceFileInfo !== void 0) { - if (isFileMissingOnHost(hostSourceFileInfo)) { - (missingFilePathsRequestedForRelease || (missingFilePathsRequestedForRelease = [])).push(oldSourceFile.path); - } else if (hostSourceFileInfo.sourceFile === oldSourceFile) { - if (hostSourceFileInfo.fileWatcher) { - hostSourceFileInfo.fileWatcher.close(); - } - sourceFilesCache.delete(oldSourceFile.resolvedPath); - if (!hasSourceFileByPath) { - resolutionCache.removeResolutionsOfFile(oldSourceFile.path); - } - } - } - } - function reportWatchDiagnostic(message) { - if (host.onWatchStatusChange) { - host.onWatchStatusChange(createCompilerDiagnostic(message), newLine, compilerOptions || optionsToExtendForConfigFile); - } - } - function hasChangedAutomaticTypeDirectiveNames() { - return resolutionCache.hasChangedAutomaticTypeDirectiveNames(); - } - function clearInvalidateResolutionsOfFailedLookupLocations() { - if (!timerToInvalidateFailedLookupResolutions) return false; - host.clearTimeout(timerToInvalidateFailedLookupResolutions); - timerToInvalidateFailedLookupResolutions = void 0; - return true; - } - function scheduleInvalidateResolutionsOfFailedLookupLocations() { - if (!host.setTimeout || !host.clearTimeout) { - return resolutionCache.invalidateResolutionsOfFailedLookupLocations(); - } - const pending = clearInvalidateResolutionsOfFailedLookupLocations(); - writeLog(`Scheduling invalidateFailedLookup${pending ? ", Cancelled earlier one" : ""}`); - timerToInvalidateFailedLookupResolutions = host.setTimeout(invalidateResolutionsOfFailedLookup, 250, "timerToInvalidateFailedLookupResolutions"); - } - function invalidateResolutionsOfFailedLookup() { - timerToInvalidateFailedLookupResolutions = void 0; - if (resolutionCache.invalidateResolutionsOfFailedLookupLocations()) { - scheduleProgramUpdate(); - } - } - function scheduleProgramUpdate() { - if (!host.setTimeout || !host.clearTimeout) { - return; - } - if (timerToUpdateProgram) { - host.clearTimeout(timerToUpdateProgram); - } - writeLog("Scheduling update"); - timerToUpdateProgram = host.setTimeout(updateProgramWithWatchStatus, 250, "timerToUpdateProgram"); - } - function scheduleProgramReload() { - Debug.assert(!!configFileName); - updateLevel = 2 /* Full */; - scheduleProgramUpdate(); - } - function updateProgramWithWatchStatus() { - timerToUpdateProgram = void 0; - reportFileChangeDetectedOnCreateProgram = true; - updateProgram(); - } - function updateProgram() { - switch (updateLevel) { - case 1 /* RootNamesAndUpdate */: - reloadFileNamesFromConfigFile(); - break; - case 2 /* Full */: - reloadConfigFile(); - break; - default: - synchronizeProgram(); - break; - } - return getCurrentBuilderProgram(); - } - function reloadFileNamesFromConfigFile() { - writeLog("Reloading new file names and options"); - Debug.assert(compilerOptions); - Debug.assert(configFileName); - updateLevel = 0 /* Update */; - rootFileNames = getFileNamesFromConfigSpecs(compilerOptions.configFile.configFileSpecs, getNormalizedAbsolutePath(getDirectoryPath(configFileName), currentDirectory), compilerOptions, parseConfigFileHost, extraFileExtensions); - if (updateErrorForNoInputFiles(rootFileNames, getNormalizedAbsolutePath(configFileName, currentDirectory), compilerOptions.configFile.configFileSpecs, configFileParsingDiagnostics, canConfigFileJsonReportNoInputFiles)) { - hasChangedConfigFileParsingErrors = true; - } - synchronizeProgram(); - } - function reloadConfigFile() { - Debug.assert(configFileName); - writeLog(`Reloading config file: ${configFileName}`); - updateLevel = 0 /* Update */; - if (cachedDirectoryStructureHost) { - cachedDirectoryStructureHost.clearCache(); - } - parseConfigFile2(); - hasChangedCompilerOptions = true; - synchronizeProgram(); - watchConfigFileWildCardDirectories(); - updateExtendedConfigFilesWatches(toPath3(configFileName), compilerOptions, watchOptions, WatchType.ExtendedConfigFile); - } - function parseConfigFile2() { - Debug.assert(configFileName); - setConfigFileParsingResult( - getParsedCommandLineOfConfigFile( - configFileName, - optionsToExtendForConfigFile, - parseConfigFileHost, - extendedConfigCache || (extendedConfigCache = /* @__PURE__ */ new Map()), - watchOptionsToExtend, - extraFileExtensions - ) - ); - } - function setConfigFileParsingResult(configFileParseResult) { - rootFileNames = configFileParseResult.fileNames; - compilerOptions = configFileParseResult.options; - watchOptions = configFileParseResult.watchOptions; - projectReferences = configFileParseResult.projectReferences; - wildcardDirectories = configFileParseResult.wildcardDirectories; - configFileParsingDiagnostics = getConfigFileParsingDiagnostics(configFileParseResult).slice(); - canConfigFileJsonReportNoInputFiles = canJsonReportNoInputFiles(configFileParseResult.raw); - hasChangedConfigFileParsingErrors = true; - } - function getParsedCommandLine(configFileName2) { - const configPath = toPath3(configFileName2); - let config = parsedConfigs == null ? void 0 : parsedConfigs.get(configPath); - if (config) { - if (!config.updateLevel) return config.parsedCommandLine; - if (config.parsedCommandLine && config.updateLevel === 1 /* RootNamesAndUpdate */ && !host.getParsedCommandLine) { - writeLog("Reloading new file names and options"); - Debug.assert(compilerOptions); - const fileNames = getFileNamesFromConfigSpecs( - config.parsedCommandLine.options.configFile.configFileSpecs, - getNormalizedAbsolutePath(getDirectoryPath(configFileName2), currentDirectory), - compilerOptions, - parseConfigFileHost - ); - config.parsedCommandLine = { ...config.parsedCommandLine, fileNames }; - config.updateLevel = void 0; - return config.parsedCommandLine; - } - } - writeLog(`Loading config file: ${configFileName2}`); - const parsedCommandLine = host.getParsedCommandLine ? host.getParsedCommandLine(configFileName2) : getParsedCommandLineFromConfigFileHost(configFileName2); - if (config) { - config.parsedCommandLine = parsedCommandLine; - config.updateLevel = void 0; - } else { - (parsedConfigs || (parsedConfigs = /* @__PURE__ */ new Map())).set(configPath, config = { parsedCommandLine }); - } - watchReferencedProject(configFileName2, configPath, config); - return parsedCommandLine; - } - function getParsedCommandLineFromConfigFileHost(configFileName2) { - const onUnRecoverableConfigFileDiagnostic = parseConfigFileHost.onUnRecoverableConfigFileDiagnostic; - parseConfigFileHost.onUnRecoverableConfigFileDiagnostic = noop; - const parsedCommandLine = getParsedCommandLineOfConfigFile( - configFileName2, - /*optionsToExtend*/ - void 0, - parseConfigFileHost, - extendedConfigCache || (extendedConfigCache = /* @__PURE__ */ new Map()), - watchOptionsToExtend - ); - parseConfigFileHost.onUnRecoverableConfigFileDiagnostic = onUnRecoverableConfigFileDiagnostic; - return parsedCommandLine; - } - function onReleaseParsedCommandLine(fileName) { - var _a; - const path = toPath3(fileName); - const config = parsedConfigs == null ? void 0 : parsedConfigs.get(path); - if (!config) return; - parsedConfigs.delete(path); - if (config.watchedDirectories) clearMap(config.watchedDirectories, closeFileWatcherOf); - (_a = config.watcher) == null ? void 0 : _a.close(); - clearSharedExtendedConfigFileWatcher(path, sharedExtendedConfigFileWatchers); - } - function watchFilePath(path, file, callback, pollingInterval, options, watchType) { - return watchFile2(file, (fileName, eventKind) => callback(fileName, eventKind, path), pollingInterval, options, watchType); - } - function onSourceFileChange(fileName, eventKind, path) { - updateCachedSystemWithFile(fileName, path, eventKind); - if (eventKind === 2 /* Deleted */ && sourceFilesCache.has(path)) { - resolutionCache.invalidateResolutionOfFile(path); - } - nextSourceFileVersion(path); - scheduleProgramUpdate(); - } - function updateCachedSystemWithFile(fileName, path, eventKind) { - if (cachedDirectoryStructureHost) { - cachedDirectoryStructureHost.addOrDeleteFile(fileName, path, eventKind); - } - } - function watchMissingFilePath(missingFilePath, missingFileName) { - return (parsedConfigs == null ? void 0 : parsedConfigs.has(missingFilePath)) ? noopFileWatcher : watchFilePath( - missingFilePath, - missingFileName, - onMissingFileChange, - 500 /* Medium */, - watchOptions, - WatchType.MissingFile - ); - } - function onMissingFileChange(fileName, eventKind, missingFilePath) { - updateCachedSystemWithFile(fileName, missingFilePath, eventKind); - if (eventKind === 0 /* Created */ && missingFilesMap.has(missingFilePath)) { - missingFilesMap.get(missingFilePath).close(); - missingFilesMap.delete(missingFilePath); - nextSourceFileVersion(missingFilePath); - scheduleProgramUpdate(); - } - } - function watchConfigFileWildCardDirectories() { - updateWatchingWildcardDirectories( - watchedWildcardDirectories || (watchedWildcardDirectories = /* @__PURE__ */ new Map()), - wildcardDirectories, - watchWildcardDirectory - ); - } - function watchWildcardDirectory(directory, flags) { - return watchDirectory( - directory, - (fileOrDirectory) => { - Debug.assert(configFileName); - Debug.assert(compilerOptions); - const fileOrDirectoryPath = toPath3(fileOrDirectory); - if (cachedDirectoryStructureHost) { - cachedDirectoryStructureHost.addOrDeleteFileOrDirectory(fileOrDirectory, fileOrDirectoryPath); - } - nextSourceFileVersion(fileOrDirectoryPath); - if (isIgnoredFileFromWildCardWatching({ - watchedDirPath: toPath3(directory), - fileOrDirectory, - fileOrDirectoryPath, - configFileName, - extraFileExtensions, - options: compilerOptions, - program: getCurrentBuilderProgram() || rootFileNames, - currentDirectory, - useCaseSensitiveFileNames: useCaseSensitiveFileNames2, - writeLog, - toPath: toPath3 - })) return; - if (updateLevel !== 2 /* Full */) { - updateLevel = 1 /* RootNamesAndUpdate */; - scheduleProgramUpdate(); - } - }, - flags, - watchOptions, - WatchType.WildcardDirectory - ); - } - function updateExtendedConfigFilesWatches(forProjectPath, options, watchOptions2, watchType) { - updateSharedExtendedConfigFileWatcher( - forProjectPath, - options, - sharedExtendedConfigFileWatchers || (sharedExtendedConfigFileWatchers = /* @__PURE__ */ new Map()), - (extendedConfigFileName, extendedConfigFilePath) => watchFile2( - extendedConfigFileName, - (_fileName, eventKind) => { - var _a; - updateCachedSystemWithFile(extendedConfigFileName, extendedConfigFilePath, eventKind); - if (extendedConfigCache) cleanExtendedConfigCache(extendedConfigCache, extendedConfigFilePath, toPath3); - const projects = (_a = sharedExtendedConfigFileWatchers.get(extendedConfigFilePath)) == null ? void 0 : _a.projects; - if (!(projects == null ? void 0 : projects.size)) return; - projects.forEach((projectPath) => { - if (configFileName && toPath3(configFileName) === projectPath) { - updateLevel = 2 /* Full */; - } else { - const config = parsedConfigs == null ? void 0 : parsedConfigs.get(projectPath); - if (config) config.updateLevel = 2 /* Full */; - resolutionCache.removeResolutionsFromProjectReferenceRedirects(projectPath); - } - scheduleProgramUpdate(); - }); - }, - 2e3 /* High */, - watchOptions2, - watchType - ), - toPath3 - ); - } - function watchReferencedProject(configFileName2, configPath, commandLine) { - var _a, _b, _c, _d; - commandLine.watcher || (commandLine.watcher = watchFile2( - configFileName2, - (_fileName, eventKind) => { - updateCachedSystemWithFile(configFileName2, configPath, eventKind); - const config = parsedConfigs == null ? void 0 : parsedConfigs.get(configPath); - if (config) config.updateLevel = 2 /* Full */; - resolutionCache.removeResolutionsFromProjectReferenceRedirects(configPath); - scheduleProgramUpdate(); - }, - 2e3 /* High */, - ((_a = commandLine.parsedCommandLine) == null ? void 0 : _a.watchOptions) || watchOptions, - WatchType.ConfigFileOfReferencedProject - )); - updateWatchingWildcardDirectories( - commandLine.watchedDirectories || (commandLine.watchedDirectories = /* @__PURE__ */ new Map()), - (_b = commandLine.parsedCommandLine) == null ? void 0 : _b.wildcardDirectories, - (directory, flags) => { - var _a2; - return watchDirectory( - directory, - (fileOrDirectory) => { - const fileOrDirectoryPath = toPath3(fileOrDirectory); - if (cachedDirectoryStructureHost) { - cachedDirectoryStructureHost.addOrDeleteFileOrDirectory(fileOrDirectory, fileOrDirectoryPath); - } - nextSourceFileVersion(fileOrDirectoryPath); - const config = parsedConfigs == null ? void 0 : parsedConfigs.get(configPath); - if (!(config == null ? void 0 : config.parsedCommandLine)) return; - if (isIgnoredFileFromWildCardWatching({ - watchedDirPath: toPath3(directory), - fileOrDirectory, - fileOrDirectoryPath, - configFileName: configFileName2, - options: config.parsedCommandLine.options, - program: config.parsedCommandLine.fileNames, - currentDirectory, - useCaseSensitiveFileNames: useCaseSensitiveFileNames2, - writeLog, - toPath: toPath3 - })) return; - if (config.updateLevel !== 2 /* Full */) { - config.updateLevel = 1 /* RootNamesAndUpdate */; - scheduleProgramUpdate(); - } - }, - flags, - ((_a2 = commandLine.parsedCommandLine) == null ? void 0 : _a2.watchOptions) || watchOptions, - WatchType.WildcardDirectoryOfReferencedProject - ); - } - ); - updateExtendedConfigFilesWatches( - configPath, - (_c = commandLine.parsedCommandLine) == null ? void 0 : _c.options, - ((_d = commandLine.parsedCommandLine) == null ? void 0 : _d.watchOptions) || watchOptions, - WatchType.ExtendedConfigOfReferencedProject - ); - } -} - -// src/compiler/tsbuild.ts -function resolveConfigFileProjectName(project) { - if (fileExtensionIs(project, ".json" /* Json */)) { - return project; - } - return combinePaths(project, "tsconfig.json"); -} - -// src/compiler/tsbuildPublic.ts -var minimumDate = /* @__PURE__ */ new Date(-864e13); -function getOrCreateValueFromConfigFileMap(configFileMap, resolved, createT) { - const existingValue = configFileMap.get(resolved); - let newValue; - if (!existingValue) { - newValue = createT(); - configFileMap.set(resolved, newValue); - } - return existingValue || newValue; -} -function getOrCreateValueMapFromConfigFileMap(configFileMap, resolved) { - return getOrCreateValueFromConfigFileMap(configFileMap, resolved, () => /* @__PURE__ */ new Map()); -} -function getCurrentTime(host) { - return host.now ? host.now() : /* @__PURE__ */ new Date(); -} -function isCircularBuildOrder(buildOrder) { - return !!buildOrder && !!buildOrder.buildOrder; -} -function getBuildOrderFromAnyBuildOrder(anyBuildOrder) { - return isCircularBuildOrder(anyBuildOrder) ? anyBuildOrder.buildOrder : anyBuildOrder; -} -function createBuilderStatusReporter(system, pretty) { - return (diagnostic) => { - let output = pretty ? `[${formatColorAndReset(getLocaleTimeString(system), "\x1B[90m" /* Grey */)}] ` : `${getLocaleTimeString(system)} - `; - output += `${flattenDiagnosticMessageText(diagnostic.messageText, system.newLine)}${system.newLine + system.newLine}`; - system.write(output); - }; -} -function createSolutionBuilderHostBase(system, createProgram2, reportDiagnostic, reportSolutionBuilderStatus) { - const host = createProgramHost(system, createProgram2); - host.getModifiedTime = system.getModifiedTime ? (path) => system.getModifiedTime(path) : returnUndefined; - host.setModifiedTime = system.setModifiedTime ? (path, date) => system.setModifiedTime(path, date) : noop; - host.deleteFile = system.deleteFile ? (path) => system.deleteFile(path) : noop; - host.reportDiagnostic = reportDiagnostic || createDiagnosticReporter(system); - host.reportSolutionBuilderStatus = reportSolutionBuilderStatus || createBuilderStatusReporter(system); - host.now = maybeBind(system, system.now); - return host; -} -function createSolutionBuilderHost(system = sys, createProgram2, reportDiagnostic, reportSolutionBuilderStatus, reportErrorSummary2) { - const host = createSolutionBuilderHostBase(system, createProgram2, reportDiagnostic, reportSolutionBuilderStatus); - host.reportErrorSummary = reportErrorSummary2; - return host; -} -function createSolutionBuilderWithWatchHost(system = sys, createProgram2, reportDiagnostic, reportSolutionBuilderStatus, reportWatchStatus2) { - const host = createSolutionBuilderHostBase(system, createProgram2, reportDiagnostic, reportSolutionBuilderStatus); - const watchHost = createWatchHost(system, reportWatchStatus2); - copyProperties(host, watchHost); - return host; -} -function getCompilerOptionsOfBuildOptions(buildOptions) { - const result = {}; - commonOptionsWithBuild.forEach((option) => { - if (hasProperty(buildOptions, option.name)) result[option.name] = buildOptions[option.name]; - }); - result.tscBuild = true; - return result; -} -function createSolutionBuilder(host, rootNames, defaultOptions) { - return createSolutionBuilderWorker( - /*watch*/ - false, - host, - rootNames, - defaultOptions - ); -} -function createSolutionBuilderWithWatch(host, rootNames, defaultOptions, baseWatchOptions) { - return createSolutionBuilderWorker( - /*watch*/ - true, - host, - rootNames, - defaultOptions, - baseWatchOptions - ); -} -function createSolutionBuilderState(watch, hostOrHostWithWatch, rootNames, options, baseWatchOptions) { - const host = hostOrHostWithWatch; - const hostWithWatch = hostOrHostWithWatch; - const baseCompilerOptions = getCompilerOptionsOfBuildOptions(options); - const compilerHost = createCompilerHostFromProgramHost(host, () => state.projectCompilerOptions); - setGetSourceFileAsHashVersioned(compilerHost); - compilerHost.getParsedCommandLine = (fileName) => parseConfigFile(state, fileName, toResolvedConfigFilePath(state, fileName)); - compilerHost.resolveModuleNameLiterals = maybeBind(host, host.resolveModuleNameLiterals); - compilerHost.resolveTypeReferenceDirectiveReferences = maybeBind(host, host.resolveTypeReferenceDirectiveReferences); - compilerHost.resolveLibrary = maybeBind(host, host.resolveLibrary); - compilerHost.resolveModuleNames = maybeBind(host, host.resolveModuleNames); - compilerHost.resolveTypeReferenceDirectives = maybeBind(host, host.resolveTypeReferenceDirectives); - compilerHost.getModuleResolutionCache = maybeBind(host, host.getModuleResolutionCache); - let moduleResolutionCache, typeReferenceDirectiveResolutionCache; - if (!compilerHost.resolveModuleNameLiterals && !compilerHost.resolveModuleNames) { - moduleResolutionCache = createModuleResolutionCache(compilerHost.getCurrentDirectory(), compilerHost.getCanonicalFileName); - compilerHost.resolveModuleNameLiterals = (moduleNames, containingFile, redirectedReference, options2, containingSourceFile) => loadWithModeAwareCache( - moduleNames, - containingFile, - redirectedReference, - options2, - containingSourceFile, - host, - moduleResolutionCache, - createModuleResolutionLoader - ); - compilerHost.getModuleResolutionCache = () => moduleResolutionCache; - } - if (!compilerHost.resolveTypeReferenceDirectiveReferences && !compilerHost.resolveTypeReferenceDirectives) { - typeReferenceDirectiveResolutionCache = createTypeReferenceDirectiveResolutionCache( - compilerHost.getCurrentDirectory(), - compilerHost.getCanonicalFileName, - /*options*/ - void 0, - moduleResolutionCache == null ? void 0 : moduleResolutionCache.getPackageJsonInfoCache(), - moduleResolutionCache == null ? void 0 : moduleResolutionCache.optionsToRedirectsKey - ); - compilerHost.resolveTypeReferenceDirectiveReferences = (typeDirectiveNames, containingFile, redirectedReference, options2, containingSourceFile) => loadWithModeAwareCache( - typeDirectiveNames, - containingFile, - redirectedReference, - options2, - containingSourceFile, - host, - typeReferenceDirectiveResolutionCache, - createTypeReferenceResolutionLoader - ); - } - let libraryResolutionCache; - if (!compilerHost.resolveLibrary) { - libraryResolutionCache = createModuleResolutionCache( - compilerHost.getCurrentDirectory(), - compilerHost.getCanonicalFileName, - /*options*/ - void 0, - moduleResolutionCache == null ? void 0 : moduleResolutionCache.getPackageJsonInfoCache() - ); - compilerHost.resolveLibrary = (libraryName, resolveFrom, options2) => resolveLibrary( - libraryName, - resolveFrom, - options2, - host, - libraryResolutionCache - ); - } - compilerHost.getBuildInfo = (fileName, configFilePath) => getBuildInfo3( - state, - fileName, - toResolvedConfigFilePath(state, configFilePath), - /*modifiedTime*/ - void 0 - ); - const { watchFile: watchFile2, watchDirectory, writeLog } = createWatchFactory(hostWithWatch, options); - const state = { - host, - hostWithWatch, - parseConfigFileHost: parseConfigHostFromCompilerHostLike(host), - write: maybeBind(host, host.trace), - // State of solution - options, - baseCompilerOptions, - rootNames, - baseWatchOptions, - resolvedConfigFilePaths: /* @__PURE__ */ new Map(), - configFileCache: /* @__PURE__ */ new Map(), - projectStatus: /* @__PURE__ */ new Map(), - extendedConfigCache: /* @__PURE__ */ new Map(), - buildInfoCache: /* @__PURE__ */ new Map(), - outputTimeStamps: /* @__PURE__ */ new Map(), - builderPrograms: /* @__PURE__ */ new Map(), - diagnostics: /* @__PURE__ */ new Map(), - projectPendingBuild: /* @__PURE__ */ new Map(), - projectErrorsReported: /* @__PURE__ */ new Map(), - compilerHost, - moduleResolutionCache, - typeReferenceDirectiveResolutionCache, - libraryResolutionCache, - // Mutable state - buildOrder: void 0, - readFileWithCache: (f) => host.readFile(f), - projectCompilerOptions: baseCompilerOptions, - cache: void 0, - allProjectBuildPending: true, - needsSummary: true, - watchAllProjectsPending: watch, - // Watch state - watch, - allWatchedWildcardDirectories: /* @__PURE__ */ new Map(), - allWatchedInputFiles: /* @__PURE__ */ new Map(), - allWatchedConfigFiles: /* @__PURE__ */ new Map(), - allWatchedExtendedConfigFiles: /* @__PURE__ */ new Map(), - allWatchedPackageJsonFiles: /* @__PURE__ */ new Map(), - filesWatched: /* @__PURE__ */ new Map(), - lastCachedPackageJsonLookups: /* @__PURE__ */ new Map(), - timerToBuildInvalidatedProject: void 0, - reportFileChangeDetected: false, - watchFile: watchFile2, - watchDirectory, - writeLog - }; - return state; -} -function toPath2(state, fileName) { - return toPath(fileName, state.compilerHost.getCurrentDirectory(), state.compilerHost.getCanonicalFileName); -} -function toResolvedConfigFilePath(state, fileName) { - const { resolvedConfigFilePaths } = state; - const path = resolvedConfigFilePaths.get(fileName); - if (path !== void 0) return path; - const resolvedPath = toPath2(state, fileName); - resolvedConfigFilePaths.set(fileName, resolvedPath); - return resolvedPath; -} -function isParsedCommandLine(entry) { - return !!entry.options; -} -function getCachedParsedConfigFile(state, configFilePath) { - const value = state.configFileCache.get(configFilePath); - return value && isParsedCommandLine(value) ? value : void 0; -} -function parseConfigFile(state, configFileName, configFilePath) { - const { configFileCache } = state; - const value = configFileCache.get(configFilePath); - if (value) { - return isParsedCommandLine(value) ? value : void 0; - } - mark("SolutionBuilder::beforeConfigFileParsing"); - let diagnostic; - const { parseConfigFileHost, baseCompilerOptions, baseWatchOptions, extendedConfigCache, host } = state; - let parsed; - if (host.getParsedCommandLine) { - parsed = host.getParsedCommandLine(configFileName); - if (!parsed) diagnostic = createCompilerDiagnostic(Diagnostics.File_0_not_found, configFileName); - } else { - parseConfigFileHost.onUnRecoverableConfigFileDiagnostic = (d) => diagnostic = d; - parsed = getParsedCommandLineOfConfigFile(configFileName, baseCompilerOptions, parseConfigFileHost, extendedConfigCache, baseWatchOptions); - parseConfigFileHost.onUnRecoverableConfigFileDiagnostic = noop; - } - configFileCache.set(configFilePath, parsed || diagnostic); - mark("SolutionBuilder::afterConfigFileParsing"); - measure("SolutionBuilder::Config file parsing", "SolutionBuilder::beforeConfigFileParsing", "SolutionBuilder::afterConfigFileParsing"); - return parsed; -} -function resolveProjectName(state, name) { - return resolveConfigFileProjectName(resolvePath(state.compilerHost.getCurrentDirectory(), name)); -} -function createBuildOrder(state, roots) { - const temporaryMarks = /* @__PURE__ */ new Map(); - const permanentMarks = /* @__PURE__ */ new Map(); - const circularityReportStack = []; - let buildOrder; - let circularDiagnostics; - for (const root of roots) { - visit(root); - } - return circularDiagnostics ? { buildOrder: buildOrder || emptyArray, circularDiagnostics } : buildOrder || emptyArray; - function visit(configFileName, inCircularContext) { - const projPath = toResolvedConfigFilePath(state, configFileName); - if (permanentMarks.has(projPath)) return; - if (temporaryMarks.has(projPath)) { - if (!inCircularContext) { - (circularDiagnostics || (circularDiagnostics = [])).push( - createCompilerDiagnostic( - Diagnostics.Project_references_may_not_form_a_circular_graph_Cycle_detected_Colon_0, - circularityReportStack.join("\r\n") - ) - ); - } - return; - } - temporaryMarks.set(projPath, true); - circularityReportStack.push(configFileName); - const parsed = parseConfigFile(state, configFileName, projPath); - if (parsed && parsed.projectReferences) { - for (const ref of parsed.projectReferences) { - const resolvedRefPath = resolveProjectName(state, ref.path); - visit(resolvedRefPath, inCircularContext || ref.circular); - } - } - circularityReportStack.pop(); - permanentMarks.set(projPath, true); - (buildOrder || (buildOrder = [])).push(configFileName); - } -} -function getBuildOrder(state) { - return state.buildOrder || createStateBuildOrder(state); -} -function createStateBuildOrder(state) { - const buildOrder = createBuildOrder(state, state.rootNames.map((f) => resolveProjectName(state, f))); - state.resolvedConfigFilePaths.clear(); - const currentProjects = new Set( - getBuildOrderFromAnyBuildOrder(buildOrder).map( - (resolved) => toResolvedConfigFilePath(state, resolved) - ) - ); - const noopOnDelete = { onDeleteValue: noop }; - mutateMapSkippingNewValues(state.configFileCache, currentProjects, noopOnDelete); - mutateMapSkippingNewValues(state.projectStatus, currentProjects, noopOnDelete); - mutateMapSkippingNewValues(state.builderPrograms, currentProjects, noopOnDelete); - mutateMapSkippingNewValues(state.diagnostics, currentProjects, noopOnDelete); - mutateMapSkippingNewValues(state.projectPendingBuild, currentProjects, noopOnDelete); - mutateMapSkippingNewValues(state.projectErrorsReported, currentProjects, noopOnDelete); - mutateMapSkippingNewValues(state.buildInfoCache, currentProjects, noopOnDelete); - mutateMapSkippingNewValues(state.outputTimeStamps, currentProjects, noopOnDelete); - mutateMapSkippingNewValues(state.lastCachedPackageJsonLookups, currentProjects, noopOnDelete); - if (state.watch) { - mutateMapSkippingNewValues( - state.allWatchedConfigFiles, - currentProjects, - { onDeleteValue: closeFileWatcher } - ); - state.allWatchedExtendedConfigFiles.forEach((watcher) => { - watcher.projects.forEach((project) => { - if (!currentProjects.has(project)) { - watcher.projects.delete(project); - } - }); - watcher.close(); - }); - mutateMapSkippingNewValues( - state.allWatchedWildcardDirectories, - currentProjects, - { onDeleteValue: (existingMap) => existingMap.forEach(closeFileWatcherOf) } - ); - mutateMapSkippingNewValues( - state.allWatchedInputFiles, - currentProjects, - { onDeleteValue: (existingMap) => existingMap.forEach(closeFileWatcher) } - ); - mutateMapSkippingNewValues( - state.allWatchedPackageJsonFiles, - currentProjects, - { onDeleteValue: (existingMap) => existingMap.forEach(closeFileWatcher) } - ); - } - return state.buildOrder = buildOrder; -} -function getBuildOrderFor(state, project, onlyReferences) { - const resolvedProject = project && resolveProjectName(state, project); - const buildOrderFromState = getBuildOrder(state); - if (isCircularBuildOrder(buildOrderFromState)) return buildOrderFromState; - if (resolvedProject) { - const projectPath = toResolvedConfigFilePath(state, resolvedProject); - const projectIndex = findIndex( - buildOrderFromState, - (configFileName) => toResolvedConfigFilePath(state, configFileName) === projectPath - ); - if (projectIndex === -1) return void 0; - } - const buildOrder = resolvedProject ? createBuildOrder(state, [resolvedProject]) : buildOrderFromState; - Debug.assert(!isCircularBuildOrder(buildOrder)); - Debug.assert(!onlyReferences || resolvedProject !== void 0); - Debug.assert(!onlyReferences || buildOrder[buildOrder.length - 1] === resolvedProject); - return onlyReferences ? buildOrder.slice(0, buildOrder.length - 1) : buildOrder; -} -function enableCache(state) { - if (state.cache) { - disableCache(state); - } - const { compilerHost, host } = state; - const originalReadFileWithCache = state.readFileWithCache; - const originalGetSourceFile = compilerHost.getSourceFile; - const { - originalReadFile, - originalFileExists, - originalDirectoryExists, - originalCreateDirectory, - originalWriteFile, - getSourceFileWithCache, - readFileWithCache - } = changeCompilerHostLikeToUseCache( - host, - (fileName) => toPath2(state, fileName), - (...args) => originalGetSourceFile.call(compilerHost, ...args) - ); - state.readFileWithCache = readFileWithCache; - compilerHost.getSourceFile = getSourceFileWithCache; - state.cache = { - originalReadFile, - originalFileExists, - originalDirectoryExists, - originalCreateDirectory, - originalWriteFile, - originalReadFileWithCache, - originalGetSourceFile - }; -} -function disableCache(state) { - if (!state.cache) return; - const { cache, host, compilerHost, extendedConfigCache, moduleResolutionCache, typeReferenceDirectiveResolutionCache, libraryResolutionCache } = state; - host.readFile = cache.originalReadFile; - host.fileExists = cache.originalFileExists; - host.directoryExists = cache.originalDirectoryExists; - host.createDirectory = cache.originalCreateDirectory; - host.writeFile = cache.originalWriteFile; - compilerHost.getSourceFile = cache.originalGetSourceFile; - state.readFileWithCache = cache.originalReadFileWithCache; - extendedConfigCache.clear(); - moduleResolutionCache == null ? void 0 : moduleResolutionCache.clear(); - typeReferenceDirectiveResolutionCache == null ? void 0 : typeReferenceDirectiveResolutionCache.clear(); - libraryResolutionCache == null ? void 0 : libraryResolutionCache.clear(); - state.cache = void 0; -} -function clearProjectStatus(state, resolved) { - state.projectStatus.delete(resolved); - state.diagnostics.delete(resolved); -} -function addProjToQueue({ projectPendingBuild }, proj, updateLevel) { - const value = projectPendingBuild.get(proj); - if (value === void 0) { - projectPendingBuild.set(proj, updateLevel); - } else if (value < updateLevel) { - projectPendingBuild.set(proj, updateLevel); - } -} -function setupInitialBuild(state, cancellationToken) { - if (!state.allProjectBuildPending) return; - state.allProjectBuildPending = false; - if (state.options.watch) reportWatchStatus(state, Diagnostics.Starting_compilation_in_watch_mode); - enableCache(state); - const buildOrder = getBuildOrderFromAnyBuildOrder(getBuildOrder(state)); - buildOrder.forEach( - (configFileName) => state.projectPendingBuild.set( - toResolvedConfigFilePath(state, configFileName), - 0 /* Update */ - ) - ); - if (cancellationToken) { - cancellationToken.throwIfCancellationRequested(); - } -} -function doneInvalidatedProject(state, projectPath) { - state.projectPendingBuild.delete(projectPath); - return state.diagnostics.has(projectPath) ? 1 /* DiagnosticsPresent_OutputsSkipped */ : 0 /* Success */; -} -function createUpdateOutputFileStampsProject(state, project, projectPath, config, buildOrder) { - let updateOutputFileStampsPending = true; - return { - kind: 1 /* UpdateOutputFileStamps */, - project, - projectPath, - buildOrder, - getCompilerOptions: () => config.options, - getCurrentDirectory: () => state.compilerHost.getCurrentDirectory(), - updateOutputFileStatmps: () => { - updateOutputTimestamps(state, config, projectPath); - updateOutputFileStampsPending = false; - }, - done: () => { - if (updateOutputFileStampsPending) { - updateOutputTimestamps(state, config, projectPath); - } - mark("SolutionBuilder::Timestamps only updates"); - return doneInvalidatedProject(state, projectPath); - } - }; -} -function createBuildOrUpdateInvalidedProject(state, project, projectPath, projectIndex, config, status, buildOrder) { - let step = 0 /* CreateProgram */; - let program; - let buildResult; - return { - kind: 0 /* Build */, - project, - projectPath, - buildOrder, - getCompilerOptions: () => config.options, - getCurrentDirectory: () => state.compilerHost.getCurrentDirectory(), - getBuilderProgram: () => withProgramOrUndefined(identity), - getProgram: () => withProgramOrUndefined( - (program2) => program2.getProgramOrUndefined() - ), - getSourceFile: (fileName) => withProgramOrUndefined( - (program2) => program2.getSourceFile(fileName) - ), - getSourceFiles: () => withProgramOrEmptyArray( - (program2) => program2.getSourceFiles() - ), - getOptionsDiagnostics: (cancellationToken) => withProgramOrEmptyArray( - (program2) => program2.getOptionsDiagnostics(cancellationToken) - ), - getGlobalDiagnostics: (cancellationToken) => withProgramOrEmptyArray( - (program2) => program2.getGlobalDiagnostics(cancellationToken) - ), - getConfigFileParsingDiagnostics: () => withProgramOrEmptyArray( - (program2) => program2.getConfigFileParsingDiagnostics() - ), - getSyntacticDiagnostics: (sourceFile, cancellationToken) => withProgramOrEmptyArray( - (program2) => program2.getSyntacticDiagnostics(sourceFile, cancellationToken) - ), - getAllDependencies: (sourceFile) => withProgramOrEmptyArray( - (program2) => program2.getAllDependencies(sourceFile) - ), - getSemanticDiagnostics: (sourceFile, cancellationToken) => withProgramOrEmptyArray( - (program2) => program2.getSemanticDiagnostics(sourceFile, cancellationToken) - ), - getSemanticDiagnosticsOfNextAffectedFile: (cancellationToken, ignoreSourceFile) => withProgramOrUndefined( - (program2) => program2.getSemanticDiagnosticsOfNextAffectedFile && program2.getSemanticDiagnosticsOfNextAffectedFile(cancellationToken, ignoreSourceFile) - ), - emit: (targetSourceFile, writeFile2, cancellationToken, emitOnlyDtsFiles, customTransformers) => { - if (targetSourceFile || emitOnlyDtsFiles) { - return withProgramOrUndefined( - (program2) => { - var _a, _b; - return program2.emit(targetSourceFile, writeFile2, cancellationToken, emitOnlyDtsFiles, customTransformers || ((_b = (_a = state.host).getCustomTransformers) == null ? void 0 : _b.call(_a, project))); - } - ); - } - executeSteps(0 /* CreateProgram */, cancellationToken); - return emit(writeFile2, cancellationToken, customTransformers); - }, - done - }; - function done(cancellationToken, writeFile2, customTransformers) { - executeSteps(3 /* Done */, cancellationToken, writeFile2, customTransformers); - mark("SolutionBuilder::Projects built"); - return doneInvalidatedProject(state, projectPath); - } - function withProgramOrUndefined(action) { - executeSteps(0 /* CreateProgram */); - return program && action(program); - } - function withProgramOrEmptyArray(action) { - return withProgramOrUndefined(action) || emptyArray; - } - function createProgram2() { - var _a, _b, _c; - Debug.assert(program === void 0); - if (state.options.dry) { - reportStatus(state, Diagnostics.A_non_dry_build_would_build_project_0, project); - buildResult = 1 /* Success */; - step = 2 /* QueueReferencingProjects */; - return; - } - if (state.options.verbose) reportStatus(state, Diagnostics.Building_project_0, project); - if (config.fileNames.length === 0) { - reportAndStoreErrors(state, projectPath, getConfigFileParsingDiagnostics(config)); - buildResult = 0 /* None */; - step = 2 /* QueueReferencingProjects */; - return; - } - const { host, compilerHost } = state; - state.projectCompilerOptions = config.options; - (_a = state.moduleResolutionCache) == null ? void 0 : _a.update(config.options); - (_b = state.typeReferenceDirectiveResolutionCache) == null ? void 0 : _b.update(config.options); - program = host.createProgram( - config.fileNames, - config.options, - compilerHost, - getOldProgram(state, projectPath, config), - getConfigFileParsingDiagnostics(config), - config.projectReferences - ); - if (state.watch) { - const internalMap = (_c = state.moduleResolutionCache) == null ? void 0 : _c.getPackageJsonInfoCache().getInternalMap(); - state.lastCachedPackageJsonLookups.set( - projectPath, - internalMap && new Set(arrayFrom( - internalMap.values(), - (data) => state.host.realpath && (isPackageJsonInfo(data) || data.directoryExists) ? state.host.realpath(combinePaths(data.packageDirectory, "package.json")) : combinePaths(data.packageDirectory, "package.json") - )) - ); - state.builderPrograms.set(projectPath, program); - } - step++; - } - function emit(writeFileCallback, cancellationToken, customTransformers) { - var _a, _b, _c; - Debug.assertIsDefined(program); - Debug.assert(step === 1 /* Emit */); - const { host, compilerHost } = state; - const emittedOutputs = /* @__PURE__ */ new Map(); - const options = program.getCompilerOptions(); - const isIncremental = isIncrementalCompilation(options); - let outputTimeStampMap; - let now; - const { emitResult, diagnostics } = emitFilesAndReportErrors( - program, - (d) => host.reportDiagnostic(d), - state.write, - /*reportSummary*/ - void 0, - (name, text, writeByteOrderMark, onError, sourceFiles, data) => { - var _a2; - const path = toPath2(state, name); - emittedOutputs.set(toPath2(state, name), name); - if (data == null ? void 0 : data.buildInfo) { - now || (now = getCurrentTime(state.host)); - const isChangedSignature2 = (_a2 = program.hasChangedEmitSignature) == null ? void 0 : _a2.call(program); - const existing = getBuildInfoCacheEntry(state, name, projectPath); - if (existing) { - existing.buildInfo = data.buildInfo; - existing.modifiedTime = now; - if (isChangedSignature2) existing.latestChangedDtsTime = now; - } else { - state.buildInfoCache.set(projectPath, { - path: toPath2(state, name), - buildInfo: data.buildInfo, - modifiedTime: now, - latestChangedDtsTime: isChangedSignature2 ? now : void 0 - }); - } - } - const modifiedTime = (data == null ? void 0 : data.differsOnlyInMap) ? getModifiedTime(state.host, name) : void 0; - (writeFileCallback || compilerHost.writeFile)( - name, - text, - writeByteOrderMark, - onError, - sourceFiles, - data - ); - if (data == null ? void 0 : data.differsOnlyInMap) state.host.setModifiedTime(name, modifiedTime); - else if (!isIncremental && state.watch) { - (outputTimeStampMap || (outputTimeStampMap = getOutputTimeStampMap(state, projectPath))).set(path, now || (now = getCurrentTime(state.host))); - } - }, - cancellationToken, - /*emitOnlyDtsFiles*/ - void 0, - customTransformers || ((_b = (_a = state.host).getCustomTransformers) == null ? void 0 : _b.call(_a, project)) - ); - if ((!options.noEmitOnError || !diagnostics.length) && (emittedOutputs.size || status.type !== 8 /* OutOfDateBuildInfoWithErrors */)) { - updateOutputTimestampsWorker(state, config, projectPath, Diagnostics.Updating_unchanged_output_timestamps_of_project_0, emittedOutputs); - } - state.projectErrorsReported.set(projectPath, true); - buildResult = ((_c = program.hasChangedEmitSignature) == null ? void 0 : _c.call(program)) ? 0 /* None */ : 2 /* DeclarationOutputUnchanged */; - if (!diagnostics.length) { - state.diagnostics.delete(projectPath); - state.projectStatus.set(projectPath, { - type: 1 /* UpToDate */, - oldestOutputFileName: firstOrUndefinedIterator(emittedOutputs.values()) ?? getFirstProjectOutput(config, !host.useCaseSensitiveFileNames()) - }); - } else { - state.diagnostics.set(projectPath, diagnostics); - state.projectStatus.set(projectPath, { type: 0 /* Unbuildable */, reason: `it had errors` }); - buildResult |= 4 /* AnyErrors */; - } - afterProgramDone(state, program); - step = 2 /* QueueReferencingProjects */; - return emitResult; - } - function executeSteps(till, cancellationToken, writeFile2, customTransformers) { - while (step <= till && step < 3 /* Done */) { - const currentStep = step; - switch (step) { - case 0 /* CreateProgram */: - createProgram2(); - break; - case 1 /* Emit */: - emit(writeFile2, cancellationToken, customTransformers); - break; - case 2 /* QueueReferencingProjects */: - queueReferencingProjects(state, project, projectPath, projectIndex, config, buildOrder, Debug.checkDefined(buildResult)); - step++; - break; - case 3 /* Done */: - default: - assertType(step); - } - Debug.assert(step > currentStep); - } - } -} -function getNextInvalidatedProjectCreateInfo(state, buildOrder, reportQueue) { - if (!state.projectPendingBuild.size) return void 0; - if (isCircularBuildOrder(buildOrder)) return void 0; - const { options, projectPendingBuild } = state; - for (let projectIndex = 0; projectIndex < buildOrder.length; projectIndex++) { - const project = buildOrder[projectIndex]; - const projectPath = toResolvedConfigFilePath(state, project); - const updateLevel = state.projectPendingBuild.get(projectPath); - if (updateLevel === void 0) continue; - if (reportQueue) { - reportQueue = false; - reportBuildQueue(state, buildOrder); - } - const config = parseConfigFile(state, project, projectPath); - if (!config) { - reportParseConfigFileDiagnostic(state, projectPath); - projectPendingBuild.delete(projectPath); - continue; - } - if (updateLevel === 2 /* Full */) { - watchConfigFile(state, project, projectPath, config); - watchExtendedConfigFiles(state, projectPath, config); - watchWildCardDirectories(state, project, projectPath, config); - watchInputFiles(state, project, projectPath, config); - watchPackageJsonFiles(state, project, projectPath, config); - } else if (updateLevel === 1 /* RootNamesAndUpdate */) { - config.fileNames = getFileNamesFromConfigSpecs(config.options.configFile.configFileSpecs, getDirectoryPath(project), config.options, state.parseConfigFileHost); - updateErrorForNoInputFiles(config.fileNames, project, config.options.configFile.configFileSpecs, config.errors, canJsonReportNoInputFiles(config.raw)); - watchInputFiles(state, project, projectPath, config); - watchPackageJsonFiles(state, project, projectPath, config); - } - const status = getUpToDateStatus(state, config, projectPath); - if (!options.force) { - if (status.type === 1 /* UpToDate */) { - verboseReportProjectStatus(state, project, status); - reportAndStoreErrors(state, projectPath, getConfigFileParsingDiagnostics(config)); - projectPendingBuild.delete(projectPath); - if (options.dry) { - reportStatus(state, Diagnostics.Project_0_is_up_to_date, project); - } - continue; - } - if (status.type === 2 /* UpToDateWithUpstreamTypes */ || status.type === 15 /* UpToDateWithInputFileText */) { - reportAndStoreErrors(state, projectPath, getConfigFileParsingDiagnostics(config)); - return { - kind: 1 /* UpdateOutputFileStamps */, - status, - project, - projectPath, - projectIndex, - config - }; - } - } - if (status.type === 12 /* UpstreamBlocked */) { - verboseReportProjectStatus(state, project, status); - reportAndStoreErrors(state, projectPath, getConfigFileParsingDiagnostics(config)); - projectPendingBuild.delete(projectPath); - if (options.verbose) { - reportStatus( - state, - status.upstreamProjectBlocked ? Diagnostics.Skipping_build_of_project_0_because_its_dependency_1_was_not_built : Diagnostics.Skipping_build_of_project_0_because_its_dependency_1_has_errors, - project, - status.upstreamProjectName - ); - } - continue; - } - if (status.type === 16 /* ContainerOnly */) { - verboseReportProjectStatus(state, project, status); - reportAndStoreErrors(state, projectPath, getConfigFileParsingDiagnostics(config)); - projectPendingBuild.delete(projectPath); - continue; - } - return { - kind: 0 /* Build */, - status, - project, - projectPath, - projectIndex, - config - }; - } - return void 0; -} -function createInvalidatedProjectWithInfo(state, info, buildOrder) { - verboseReportProjectStatus(state, info.project, info.status); - return info.kind !== 1 /* UpdateOutputFileStamps */ ? createBuildOrUpdateInvalidedProject( - state, - info.project, - info.projectPath, - info.projectIndex, - info.config, - info.status, - buildOrder - ) : createUpdateOutputFileStampsProject( - state, - info.project, - info.projectPath, - info.config, - buildOrder - ); -} -function getNextInvalidatedProject(state, buildOrder, reportQueue) { - const info = getNextInvalidatedProjectCreateInfo(state, buildOrder, reportQueue); - if (!info) return info; - return createInvalidatedProjectWithInfo(state, info, buildOrder); -} -function getOldProgram({ options, builderPrograms, compilerHost }, proj, parsed) { - if (options.force) return void 0; - const value = builderPrograms.get(proj); - if (value) return value; - return readBuilderProgram(parsed.options, compilerHost); -} -function afterProgramDone(state, program) { - if (program) { - if (state.host.afterProgramEmitAndDiagnostics) { - state.host.afterProgramEmitAndDiagnostics(program); - } - program.releaseProgram(); - } - state.projectCompilerOptions = state.baseCompilerOptions; -} -function isFileWatcherWithModifiedTime(value) { - return !!value.watcher; -} -function getModifiedTime2(state, fileName) { - const path = toPath2(state, fileName); - const existing = state.filesWatched.get(path); - if (state.watch && !!existing) { - if (!isFileWatcherWithModifiedTime(existing)) return existing; - if (existing.modifiedTime) return existing.modifiedTime; - } - const result = getModifiedTime(state.host, fileName); - if (state.watch) { - if (existing) existing.modifiedTime = result; - else state.filesWatched.set(path, result); - } - return result; -} -function watchFile(state, file, callback, pollingInterval, options, watchType, project) { - const path = toPath2(state, file); - const existing = state.filesWatched.get(path); - if (existing && isFileWatcherWithModifiedTime(existing)) { - existing.callbacks.push(callback); - } else { - const watcher = state.watchFile( - file, - (fileName, eventKind, modifiedTime) => { - const existing2 = Debug.checkDefined(state.filesWatched.get(path)); - Debug.assert(isFileWatcherWithModifiedTime(existing2)); - existing2.modifiedTime = modifiedTime; - existing2.callbacks.forEach((cb) => cb(fileName, eventKind, modifiedTime)); - }, - pollingInterval, - options, - watchType, - project - ); - state.filesWatched.set(path, { callbacks: [callback], watcher, modifiedTime: existing }); - } - return { - close: () => { - const existing2 = Debug.checkDefined(state.filesWatched.get(path)); - Debug.assert(isFileWatcherWithModifiedTime(existing2)); - if (existing2.callbacks.length === 1) { - state.filesWatched.delete(path); - closeFileWatcherOf(existing2); - } else { - unorderedRemoveItem(existing2.callbacks, callback); - } - } - }; -} -function getOutputTimeStampMap(state, resolvedConfigFilePath) { - if (!state.watch) return void 0; - let result = state.outputTimeStamps.get(resolvedConfigFilePath); - if (!result) state.outputTimeStamps.set(resolvedConfigFilePath, result = /* @__PURE__ */ new Map()); - return result; -} -function getBuildInfoCacheEntry(state, buildInfoPath, resolvedConfigPath) { - const path = toPath2(state, buildInfoPath); - const existing = state.buildInfoCache.get(resolvedConfigPath); - return (existing == null ? void 0 : existing.path) === path ? existing : void 0; -} -function getBuildInfo3(state, buildInfoPath, resolvedConfigPath, modifiedTime) { - const path = toPath2(state, buildInfoPath); - const existing = state.buildInfoCache.get(resolvedConfigPath); - if (existing !== void 0 && existing.path === path) { - return existing.buildInfo || void 0; - } - const value = state.readFileWithCache(buildInfoPath); - const buildInfo = value ? getBuildInfo(buildInfoPath, value) : void 0; - state.buildInfoCache.set(resolvedConfigPath, { path, buildInfo: buildInfo || false, modifiedTime: modifiedTime || missingFileModifiedTime }); - return buildInfo; -} -function checkConfigFileUpToDateStatus(state, configFile, oldestOutputFileTime, oldestOutputFileName) { - const tsconfigTime = getModifiedTime2(state, configFile); - if (oldestOutputFileTime < tsconfigTime) { - return { - type: 5 /* OutOfDateWithSelf */, - outOfDateOutputFileName: oldestOutputFileName, - newerInputFileName: configFile - }; - } -} -function getUpToDateStatusWorker(state, project, resolvedPath) { - var _a, _b, _c, _d, _e; - if (!project.fileNames.length && !canJsonReportNoInputFiles(project.raw)) { - return { - type: 16 /* ContainerOnly */ - }; - } - let referenceStatuses; - const force = !!state.options.force; - if (project.projectReferences) { - state.projectStatus.set(resolvedPath, { type: 13 /* ComputingUpstream */ }); - for (const ref of project.projectReferences) { - const resolvedRef = resolveProjectReferencePath(ref); - const resolvedRefPath = toResolvedConfigFilePath(state, resolvedRef); - const resolvedConfig = parseConfigFile(state, resolvedRef, resolvedRefPath); - const refStatus = getUpToDateStatus(state, resolvedConfig, resolvedRefPath); - if (refStatus.type === 13 /* ComputingUpstream */ || refStatus.type === 16 /* ContainerOnly */) { - continue; - } - if (state.options.stopBuildOnErrors && (refStatus.type === 0 /* Unbuildable */ || refStatus.type === 12 /* UpstreamBlocked */)) { - return { - type: 12 /* UpstreamBlocked */, - upstreamProjectName: ref.path, - upstreamProjectBlocked: refStatus.type === 12 /* UpstreamBlocked */ - }; - } - if (!force) (referenceStatuses || (referenceStatuses = [])).push({ ref, refStatus, resolvedRefPath, resolvedConfig }); - } - } - if (force) return { type: 17 /* ForceBuild */ }; - const { host } = state; - const buildInfoPath = getTsBuildInfoEmitOutputFilePath(project.options); - const isIncremental = isIncrementalCompilation(project.options); - let buildInfoCacheEntry = getBuildInfoCacheEntry(state, buildInfoPath, resolvedPath); - const buildInfoTime = (buildInfoCacheEntry == null ? void 0 : buildInfoCacheEntry.modifiedTime) || getModifiedTime(host, buildInfoPath); - if (buildInfoTime === missingFileModifiedTime) { - if (!buildInfoCacheEntry) { - state.buildInfoCache.set(resolvedPath, { - path: toPath2(state, buildInfoPath), - buildInfo: false, - modifiedTime: buildInfoTime - }); - } - return { - type: 3 /* OutputMissing */, - missingOutputFileName: buildInfoPath - }; - } - const buildInfo = getBuildInfo3(state, buildInfoPath, resolvedPath, buildInfoTime); - if (!buildInfo) { - return { - type: 4 /* ErrorReadingFile */, - fileName: buildInfoPath - }; - } - const incrementalBuildInfo = isIncremental && isIncrementalBuildInfo(buildInfo) ? buildInfo : void 0; - if ((incrementalBuildInfo || !isIncremental) && buildInfo.version !== version) { - return { - type: 14 /* TsVersionOutputOfDate */, - version: buildInfo.version - }; - } - if (!project.options.noCheck && (buildInfo.errors || // TODO: syntax errors???? - buildInfo.checkPending)) { - return { - type: 8 /* OutOfDateBuildInfoWithErrors */, - buildInfoFile: buildInfoPath - }; - } - if (incrementalBuildInfo) { - if (!project.options.noCheck && (((_a = incrementalBuildInfo.changeFileSet) == null ? void 0 : _a.length) || ((_b = incrementalBuildInfo.semanticDiagnosticsPerFile) == null ? void 0 : _b.length) || getEmitDeclarations(project.options) && ((_c = incrementalBuildInfo.emitDiagnosticsPerFile) == null ? void 0 : _c.length))) { - return { - type: 8 /* OutOfDateBuildInfoWithErrors */, - buildInfoFile: buildInfoPath - }; - } - if (!project.options.noEmit && (((_d = incrementalBuildInfo.changeFileSet) == null ? void 0 : _d.length) || ((_e = incrementalBuildInfo.affectedFilesPendingEmit) == null ? void 0 : _e.length) || incrementalBuildInfo.pendingEmit !== void 0)) { - return { - type: 7 /* OutOfDateBuildInfoWithPendingEmit */, - buildInfoFile: buildInfoPath - }; - } - if ((!project.options.noEmit || project.options.noEmit && getEmitDeclarations(project.options)) && getPendingEmitKindWithSeen( - project.options, - incrementalBuildInfo.options || {}, - /*emitOnlyDtsFiles*/ - void 0, - !!project.options.noEmit - )) { - return { - type: 9 /* OutOfDateOptions */, - buildInfoFile: buildInfoPath - }; - } - } - let oldestOutputFileTime = buildInfoTime; - let oldestOutputFileName = buildInfoPath; - let newestInputFileName = void 0; - let newestInputFileTime = minimumDate; - let pseudoInputUpToDate = false; - const seenRoots = /* @__PURE__ */ new Set(); - let buildInfoVersionMap; - for (const inputFile of project.fileNames) { - const inputTime = getModifiedTime2(state, inputFile); - if (inputTime === missingFileModifiedTime) { - return { - type: 0 /* Unbuildable */, - reason: `${inputFile} does not exist` - }; - } - const inputPath = toPath2(state, inputFile); - if (buildInfoTime < inputTime) { - let version2; - let currentVersion; - if (incrementalBuildInfo) { - if (!buildInfoVersionMap) buildInfoVersionMap = getBuildInfoFileVersionMap(incrementalBuildInfo, buildInfoPath, host); - const resolvedInputPath = buildInfoVersionMap.roots.get(inputPath); - version2 = buildInfoVersionMap.fileInfos.get(resolvedInputPath ?? inputPath); - const text = version2 ? state.readFileWithCache(resolvedInputPath ?? inputFile) : void 0; - currentVersion = text !== void 0 ? getSourceFileVersionAsHashFromText(host, text) : void 0; - if (version2 && version2 === currentVersion) pseudoInputUpToDate = true; - } - if (!version2 || version2 !== currentVersion) { - return { - type: 5 /* OutOfDateWithSelf */, - outOfDateOutputFileName: buildInfoPath, - newerInputFileName: inputFile - }; - } - } - if (inputTime > newestInputFileTime) { - newestInputFileName = inputFile; - newestInputFileTime = inputTime; - } - seenRoots.add(inputPath); - } - let existingRoot; - if (incrementalBuildInfo) { - if (!buildInfoVersionMap) buildInfoVersionMap = getBuildInfoFileVersionMap(incrementalBuildInfo, buildInfoPath, host); - existingRoot = forEachEntry( - buildInfoVersionMap.roots, - // File was root file when project was built but its not any more - (_resolved, existingRoot2) => !seenRoots.has(existingRoot2) ? existingRoot2 : void 0 - ); - } else { - existingRoot = forEach( - getNonIncrementalBuildInfoRoots(buildInfo, buildInfoPath, host), - (root) => !seenRoots.has(root) ? root : void 0 - ); - } - if (existingRoot) { - return { - type: 10 /* OutOfDateRoots */, - buildInfoFile: buildInfoPath, - inputFile: existingRoot - }; - } - if (!isIncremental) { - const outputs = getAllProjectOutputs(project, !host.useCaseSensitiveFileNames()); - const outputTimeStampMap = getOutputTimeStampMap(state, resolvedPath); - for (const output of outputs) { - if (output === buildInfoPath) continue; - const path = toPath2(state, output); - let outputTime = outputTimeStampMap == null ? void 0 : outputTimeStampMap.get(path); - if (!outputTime) { - outputTime = getModifiedTime(state.host, output); - outputTimeStampMap == null ? void 0 : outputTimeStampMap.set(path, outputTime); - } - if (outputTime === missingFileModifiedTime) { - return { - type: 3 /* OutputMissing */, - missingOutputFileName: output - }; - } - if (outputTime < newestInputFileTime) { - return { - type: 5 /* OutOfDateWithSelf */, - outOfDateOutputFileName: output, - newerInputFileName: newestInputFileName - }; - } - if (outputTime < oldestOutputFileTime) { - oldestOutputFileTime = outputTime; - oldestOutputFileName = output; - } - } - } - let pseudoUpToDate = false; - if (referenceStatuses) { - for (const { ref, refStatus, resolvedConfig, resolvedRefPath } of referenceStatuses) { - if (refStatus.newestInputFileTime && refStatus.newestInputFileTime <= oldestOutputFileTime) { - continue; - } - if (hasSameBuildInfo(state, buildInfoCacheEntry ?? (buildInfoCacheEntry = state.buildInfoCache.get(resolvedPath)), resolvedRefPath)) { - return { - type: 6 /* OutOfDateWithUpstream */, - outOfDateOutputFileName: buildInfoPath, - newerProjectName: ref.path - }; - } - const newestDeclarationFileContentChangedTime = getLatestChangedDtsTime(state, resolvedConfig.options, resolvedRefPath); - if (newestDeclarationFileContentChangedTime && newestDeclarationFileContentChangedTime <= oldestOutputFileTime) { - pseudoUpToDate = true; - continue; - } - Debug.assert(oldestOutputFileName !== void 0, "Should have an oldest output filename here"); - return { - type: 6 /* OutOfDateWithUpstream */, - outOfDateOutputFileName: oldestOutputFileName, - newerProjectName: ref.path - }; - } - } - const configStatus = checkConfigFileUpToDateStatus(state, project.options.configFilePath, oldestOutputFileTime, oldestOutputFileName); - if (configStatus) return configStatus; - const extendedConfigStatus = forEach(project.options.configFile.extendedSourceFiles || emptyArray, (configFile) => checkConfigFileUpToDateStatus(state, configFile, oldestOutputFileTime, oldestOutputFileName)); - if (extendedConfigStatus) return extendedConfigStatus; - const packageJsonLookups = state.lastCachedPackageJsonLookups.get(resolvedPath); - const dependentPackageFileStatus = packageJsonLookups && forEachKey( - packageJsonLookups, - (path) => checkConfigFileUpToDateStatus(state, path, oldestOutputFileTime, oldestOutputFileName) - ); - if (dependentPackageFileStatus) return dependentPackageFileStatus; - return { - type: pseudoUpToDate ? 2 /* UpToDateWithUpstreamTypes */ : pseudoInputUpToDate ? 15 /* UpToDateWithInputFileText */ : 1 /* UpToDate */, - newestInputFileTime, - newestInputFileName, - oldestOutputFileName - }; -} -function hasSameBuildInfo(state, buildInfoCacheEntry, resolvedRefPath) { - const refBuildInfo = state.buildInfoCache.get(resolvedRefPath); - return refBuildInfo.path === buildInfoCacheEntry.path; -} -function getUpToDateStatus(state, project, resolvedPath) { - if (project === void 0) { - return { type: 0 /* Unbuildable */, reason: "config file deleted mid-build" }; - } - const prior = state.projectStatus.get(resolvedPath); - if (prior !== void 0) { - return prior; - } - mark("SolutionBuilder::beforeUpToDateCheck"); - const actual = getUpToDateStatusWorker(state, project, resolvedPath); - mark("SolutionBuilder::afterUpToDateCheck"); - measure("SolutionBuilder::Up-to-date check", "SolutionBuilder::beforeUpToDateCheck", "SolutionBuilder::afterUpToDateCheck"); - state.projectStatus.set(resolvedPath, actual); - return actual; -} -function updateOutputTimestampsWorker(state, proj, projectPath, verboseMessage, skipOutputs) { - if (proj.options.noEmit) return; - let now; - const buildInfoPath = getTsBuildInfoEmitOutputFilePath(proj.options); - const isIncremental = isIncrementalCompilation(proj.options); - if (buildInfoPath && isIncremental) { - if (!(skipOutputs == null ? void 0 : skipOutputs.has(toPath2(state, buildInfoPath)))) { - if (!!state.options.verbose) reportStatus(state, verboseMessage, proj.options.configFilePath); - state.host.setModifiedTime(buildInfoPath, now = getCurrentTime(state.host)); - getBuildInfoCacheEntry(state, buildInfoPath, projectPath).modifiedTime = now; - } - state.outputTimeStamps.delete(projectPath); - return; - } - const { host } = state; - const outputs = getAllProjectOutputs(proj, !host.useCaseSensitiveFileNames()); - const outputTimeStampMap = getOutputTimeStampMap(state, projectPath); - const modifiedOutputs = outputTimeStampMap ? /* @__PURE__ */ new Set() : void 0; - if (!skipOutputs || outputs.length !== skipOutputs.size) { - let reportVerbose = !!state.options.verbose; - for (const file of outputs) { - const path = toPath2(state, file); - if (skipOutputs == null ? void 0 : skipOutputs.has(path)) continue; - if (reportVerbose) { - reportVerbose = false; - reportStatus(state, verboseMessage, proj.options.configFilePath); - } - host.setModifiedTime(file, now || (now = getCurrentTime(state.host))); - if (file === buildInfoPath) getBuildInfoCacheEntry(state, buildInfoPath, projectPath).modifiedTime = now; - else if (outputTimeStampMap) { - outputTimeStampMap.set(path, now); - modifiedOutputs.add(path); - } - } - } - outputTimeStampMap == null ? void 0 : outputTimeStampMap.forEach((_value, key) => { - if (!(skipOutputs == null ? void 0 : skipOutputs.has(key)) && !modifiedOutputs.has(key)) outputTimeStampMap.delete(key); - }); -} -function getLatestChangedDtsTime(state, options, resolvedConfigPath) { - if (!options.composite) return void 0; - const entry = Debug.checkDefined(state.buildInfoCache.get(resolvedConfigPath)); - if (entry.latestChangedDtsTime !== void 0) return entry.latestChangedDtsTime || void 0; - const latestChangedDtsTime = entry.buildInfo && isIncrementalBuildInfo(entry.buildInfo) && entry.buildInfo.latestChangedDtsFile ? state.host.getModifiedTime(getNormalizedAbsolutePath(entry.buildInfo.latestChangedDtsFile, getDirectoryPath(entry.path))) : void 0; - entry.latestChangedDtsTime = latestChangedDtsTime || false; - return latestChangedDtsTime; -} -function updateOutputTimestamps(state, proj, resolvedPath) { - if (state.options.dry) { - return reportStatus(state, Diagnostics.A_non_dry_build_would_update_timestamps_for_output_of_project_0, proj.options.configFilePath); - } - updateOutputTimestampsWorker(state, proj, resolvedPath, Diagnostics.Updating_output_timestamps_of_project_0); - state.projectStatus.set(resolvedPath, { - type: 1 /* UpToDate */, - oldestOutputFileName: getFirstProjectOutput(proj, !state.host.useCaseSensitiveFileNames()) - }); -} -function queueReferencingProjects(state, project, projectPath, projectIndex, config, buildOrder, buildResult) { - if (state.options.stopBuildOnErrors && buildResult & 4 /* AnyErrors */) return; - if (!config.options.composite) return; - for (let index = projectIndex + 1; index < buildOrder.length; index++) { - const nextProject = buildOrder[index]; - const nextProjectPath = toResolvedConfigFilePath(state, nextProject); - if (state.projectPendingBuild.has(nextProjectPath)) continue; - const nextProjectConfig = parseConfigFile(state, nextProject, nextProjectPath); - if (!nextProjectConfig || !nextProjectConfig.projectReferences) continue; - for (const ref of nextProjectConfig.projectReferences) { - const resolvedRefPath = resolveProjectName(state, ref.path); - if (toResolvedConfigFilePath(state, resolvedRefPath) !== projectPath) continue; - const status = state.projectStatus.get(nextProjectPath); - if (status) { - switch (status.type) { - case 1 /* UpToDate */: - if (buildResult & 2 /* DeclarationOutputUnchanged */) { - status.type = 2 /* UpToDateWithUpstreamTypes */; - break; - } - case 15 /* UpToDateWithInputFileText */: - case 2 /* UpToDateWithUpstreamTypes */: - if (!(buildResult & 2 /* DeclarationOutputUnchanged */)) { - state.projectStatus.set(nextProjectPath, { - type: 6 /* OutOfDateWithUpstream */, - outOfDateOutputFileName: status.oldestOutputFileName, - newerProjectName: project - }); - } - break; - case 12 /* UpstreamBlocked */: - if (toResolvedConfigFilePath(state, resolveProjectName(state, status.upstreamProjectName)) === projectPath) { - clearProjectStatus(state, nextProjectPath); - } - break; - } - } - addProjToQueue(state, nextProjectPath, 0 /* Update */); - break; - } - } -} -function build(state, project, cancellationToken, writeFile2, getCustomTransformers, onlyReferences) { - mark("SolutionBuilder::beforeBuild"); - const result = buildWorker(state, project, cancellationToken, writeFile2, getCustomTransformers, onlyReferences); - mark("SolutionBuilder::afterBuild"); - measure("SolutionBuilder::Build", "SolutionBuilder::beforeBuild", "SolutionBuilder::afterBuild"); - return result; -} -function buildWorker(state, project, cancellationToken, writeFile2, getCustomTransformers, onlyReferences) { - const buildOrder = getBuildOrderFor(state, project, onlyReferences); - if (!buildOrder) return 3 /* InvalidProject_OutputsSkipped */; - setupInitialBuild(state, cancellationToken); - let reportQueue = true; - let successfulProjects = 0; - while (true) { - const invalidatedProject = getNextInvalidatedProject(state, buildOrder, reportQueue); - if (!invalidatedProject) break; - reportQueue = false; - invalidatedProject.done(cancellationToken, writeFile2, getCustomTransformers == null ? void 0 : getCustomTransformers(invalidatedProject.project)); - if (!state.diagnostics.has(invalidatedProject.projectPath)) successfulProjects++; - } - disableCache(state); - reportErrorSummary(state, buildOrder); - startWatching(state, buildOrder); - return isCircularBuildOrder(buildOrder) ? 4 /* ProjectReferenceCycle_OutputsSkipped */ : !buildOrder.some((p) => state.diagnostics.has(toResolvedConfigFilePath(state, p))) ? 0 /* Success */ : successfulProjects ? 2 /* DiagnosticsPresent_OutputsGenerated */ : 1 /* DiagnosticsPresent_OutputsSkipped */; -} -function clean(state, project, onlyReferences) { - mark("SolutionBuilder::beforeClean"); - const result = cleanWorker(state, project, onlyReferences); - mark("SolutionBuilder::afterClean"); - measure("SolutionBuilder::Clean", "SolutionBuilder::beforeClean", "SolutionBuilder::afterClean"); - return result; -} -function cleanWorker(state, project, onlyReferences) { - const buildOrder = getBuildOrderFor(state, project, onlyReferences); - if (!buildOrder) return 3 /* InvalidProject_OutputsSkipped */; - if (isCircularBuildOrder(buildOrder)) { - reportErrors(state, buildOrder.circularDiagnostics); - return 4 /* ProjectReferenceCycle_OutputsSkipped */; - } - const { options, host } = state; - const filesToDelete = options.dry ? [] : void 0; - for (const proj of buildOrder) { - const resolvedPath = toResolvedConfigFilePath(state, proj); - const parsed = parseConfigFile(state, proj, resolvedPath); - if (parsed === void 0) { - reportParseConfigFileDiagnostic(state, resolvedPath); - continue; - } - const outputs = getAllProjectOutputs(parsed, !host.useCaseSensitiveFileNames()); - if (!outputs.length) continue; - const inputFileNames = new Set(parsed.fileNames.map((f) => toPath2(state, f))); - for (const output of outputs) { - if (inputFileNames.has(toPath2(state, output))) continue; - if (host.fileExists(output)) { - if (filesToDelete) { - filesToDelete.push(output); - } else { - host.deleteFile(output); - invalidateProject(state, resolvedPath, 0 /* Update */); - } - } - } - } - if (filesToDelete) { - reportStatus(state, Diagnostics.A_non_dry_build_would_delete_the_following_files_Colon_0, filesToDelete.map((f) => `\r - * ${f}`).join("")); - } - return 0 /* Success */; -} -function invalidateProject(state, resolved, updateLevel) { - if (state.host.getParsedCommandLine && updateLevel === 1 /* RootNamesAndUpdate */) { - updateLevel = 2 /* Full */; - } - if (updateLevel === 2 /* Full */) { - state.configFileCache.delete(resolved); - state.buildOrder = void 0; - } - state.needsSummary = true; - clearProjectStatus(state, resolved); - addProjToQueue(state, resolved, updateLevel); - enableCache(state); -} -function invalidateProjectAndScheduleBuilds(state, resolvedPath, updateLevel) { - state.reportFileChangeDetected = true; - invalidateProject(state, resolvedPath, updateLevel); - scheduleBuildInvalidatedProject( - state, - 250, - /*changeDetected*/ - true - ); -} -function scheduleBuildInvalidatedProject(state, time, changeDetected) { - const { hostWithWatch } = state; - if (!hostWithWatch.setTimeout || !hostWithWatch.clearTimeout) { - return; - } - if (state.timerToBuildInvalidatedProject) { - hostWithWatch.clearTimeout(state.timerToBuildInvalidatedProject); - } - state.timerToBuildInvalidatedProject = hostWithWatch.setTimeout(buildNextInvalidatedProject, time, "timerToBuildInvalidatedProject", state, changeDetected); -} -function buildNextInvalidatedProject(_timeoutType, state, changeDetected) { - mark("SolutionBuilder::beforeBuild"); - const buildOrder = buildNextInvalidatedProjectWorker(state, changeDetected); - mark("SolutionBuilder::afterBuild"); - measure("SolutionBuilder::Build", "SolutionBuilder::beforeBuild", "SolutionBuilder::afterBuild"); - if (buildOrder) reportErrorSummary(state, buildOrder); -} -function buildNextInvalidatedProjectWorker(state, changeDetected) { - state.timerToBuildInvalidatedProject = void 0; - if (state.reportFileChangeDetected) { - state.reportFileChangeDetected = false; - state.projectErrorsReported.clear(); - reportWatchStatus(state, Diagnostics.File_change_detected_Starting_incremental_compilation); - } - let projectsBuilt = 0; - const buildOrder = getBuildOrder(state); - const invalidatedProject = getNextInvalidatedProject( - state, - buildOrder, - /*reportQueue*/ - false - ); - if (invalidatedProject) { - invalidatedProject.done(); - projectsBuilt++; - while (state.projectPendingBuild.size) { - if (state.timerToBuildInvalidatedProject) return; - const info = getNextInvalidatedProjectCreateInfo( - state, - buildOrder, - /*reportQueue*/ - false - ); - if (!info) break; - if (info.kind !== 1 /* UpdateOutputFileStamps */ && (changeDetected || projectsBuilt === 5)) { - scheduleBuildInvalidatedProject( - state, - 100, - /*changeDetected*/ - false - ); - return; - } - const project = createInvalidatedProjectWithInfo(state, info, buildOrder); - project.done(); - if (info.kind !== 1 /* UpdateOutputFileStamps */) projectsBuilt++; - } - } - disableCache(state); - return buildOrder; -} -function watchConfigFile(state, resolved, resolvedPath, parsed) { - if (!state.watch || state.allWatchedConfigFiles.has(resolvedPath)) return; - state.allWatchedConfigFiles.set( - resolvedPath, - watchFile( - state, - resolved, - () => invalidateProjectAndScheduleBuilds(state, resolvedPath, 2 /* Full */), - 2e3 /* High */, - parsed == null ? void 0 : parsed.watchOptions, - WatchType.ConfigFile, - resolved - ) - ); -} -function watchExtendedConfigFiles(state, resolvedPath, parsed) { - updateSharedExtendedConfigFileWatcher( - resolvedPath, - parsed == null ? void 0 : parsed.options, - state.allWatchedExtendedConfigFiles, - (extendedConfigFileName, extendedConfigFilePath) => watchFile( - state, - extendedConfigFileName, - () => { - var _a; - return (_a = state.allWatchedExtendedConfigFiles.get(extendedConfigFilePath)) == null ? void 0 : _a.projects.forEach((projectConfigFilePath) => invalidateProjectAndScheduleBuilds(state, projectConfigFilePath, 2 /* Full */)); - }, - 2e3 /* High */, - parsed == null ? void 0 : parsed.watchOptions, - WatchType.ExtendedConfigFile - ), - (fileName) => toPath2(state, fileName) - ); -} -function watchWildCardDirectories(state, resolved, resolvedPath, parsed) { - if (!state.watch) return; - updateWatchingWildcardDirectories( - getOrCreateValueMapFromConfigFileMap(state.allWatchedWildcardDirectories, resolvedPath), - parsed.wildcardDirectories, - (dir, flags) => state.watchDirectory( - dir, - (fileOrDirectory) => { - var _a; - if (isIgnoredFileFromWildCardWatching({ - watchedDirPath: toPath2(state, dir), - fileOrDirectory, - fileOrDirectoryPath: toPath2(state, fileOrDirectory), - configFileName: resolved, - currentDirectory: state.compilerHost.getCurrentDirectory(), - options: parsed.options, - program: state.builderPrograms.get(resolvedPath) || ((_a = getCachedParsedConfigFile(state, resolvedPath)) == null ? void 0 : _a.fileNames), - useCaseSensitiveFileNames: state.parseConfigFileHost.useCaseSensitiveFileNames, - writeLog: (s) => state.writeLog(s), - toPath: (fileName) => toPath2(state, fileName) - })) return; - invalidateProjectAndScheduleBuilds(state, resolvedPath, 1 /* RootNamesAndUpdate */); - }, - flags, - parsed == null ? void 0 : parsed.watchOptions, - WatchType.WildcardDirectory, - resolved - ) - ); -} -function watchInputFiles(state, resolved, resolvedPath, parsed) { - if (!state.watch) return; - mutateMap( - getOrCreateValueMapFromConfigFileMap(state.allWatchedInputFiles, resolvedPath), - new Set(parsed.fileNames), - { - createNewValue: (input) => watchFile( - state, - input, - () => invalidateProjectAndScheduleBuilds(state, resolvedPath, 0 /* Update */), - 250 /* Low */, - parsed == null ? void 0 : parsed.watchOptions, - WatchType.SourceFile, - resolved - ), - onDeleteValue: closeFileWatcher - } - ); -} -function watchPackageJsonFiles(state, resolved, resolvedPath, parsed) { - if (!state.watch || !state.lastCachedPackageJsonLookups) return; - mutateMap( - getOrCreateValueMapFromConfigFileMap(state.allWatchedPackageJsonFiles, resolvedPath), - state.lastCachedPackageJsonLookups.get(resolvedPath), - { - createNewValue: (input) => watchFile( - state, - input, - () => invalidateProjectAndScheduleBuilds(state, resolvedPath, 0 /* Update */), - 2e3 /* High */, - parsed == null ? void 0 : parsed.watchOptions, - WatchType.PackageJson, - resolved - ), - onDeleteValue: closeFileWatcher - } - ); -} -function startWatching(state, buildOrder) { - if (!state.watchAllProjectsPending) return; - mark("SolutionBuilder::beforeWatcherCreation"); - state.watchAllProjectsPending = false; - for (const resolved of getBuildOrderFromAnyBuildOrder(buildOrder)) { - const resolvedPath = toResolvedConfigFilePath(state, resolved); - const cfg = parseConfigFile(state, resolved, resolvedPath); - watchConfigFile(state, resolved, resolvedPath, cfg); - watchExtendedConfigFiles(state, resolvedPath, cfg); - if (cfg) { - watchWildCardDirectories(state, resolved, resolvedPath, cfg); - watchInputFiles(state, resolved, resolvedPath, cfg); - watchPackageJsonFiles(state, resolved, resolvedPath, cfg); - } - } - mark("SolutionBuilder::afterWatcherCreation"); - measure("SolutionBuilder::Watcher creation", "SolutionBuilder::beforeWatcherCreation", "SolutionBuilder::afterWatcherCreation"); -} -function stopWatching(state) { - clearMap(state.allWatchedConfigFiles, closeFileWatcher); - clearMap(state.allWatchedExtendedConfigFiles, closeFileWatcherOf); - clearMap(state.allWatchedWildcardDirectories, (watchedWildcardDirectories) => clearMap(watchedWildcardDirectories, closeFileWatcherOf)); - clearMap(state.allWatchedInputFiles, (watchedWildcardDirectories) => clearMap(watchedWildcardDirectories, closeFileWatcher)); - clearMap(state.allWatchedPackageJsonFiles, (watchedPacageJsonFiles) => clearMap(watchedPacageJsonFiles, closeFileWatcher)); -} -function createSolutionBuilderWorker(watch, hostOrHostWithWatch, rootNames, options, baseWatchOptions) { - const state = createSolutionBuilderState(watch, hostOrHostWithWatch, rootNames, options, baseWatchOptions); - return { - build: (project, cancellationToken, writeFile2, getCustomTransformers) => build(state, project, cancellationToken, writeFile2, getCustomTransformers), - clean: (project) => clean(state, project), - buildReferences: (project, cancellationToken, writeFile2, getCustomTransformers) => build( - state, - project, - cancellationToken, - writeFile2, - getCustomTransformers, - /*onlyReferences*/ - true - ), - cleanReferences: (project) => clean( - state, - project, - /*onlyReferences*/ - true - ), - getNextInvalidatedProject: (cancellationToken) => { - setupInitialBuild(state, cancellationToken); - return getNextInvalidatedProject( - state, - getBuildOrder(state), - /*reportQueue*/ - false - ); - }, - getBuildOrder: () => getBuildOrder(state), - getUpToDateStatusOfProject: (project) => { - const configFileName = resolveProjectName(state, project); - const configFilePath = toResolvedConfigFilePath(state, configFileName); - return getUpToDateStatus(state, parseConfigFile(state, configFileName, configFilePath), configFilePath); - }, - invalidateProject: (configFilePath, updateLevel) => invalidateProject(state, configFilePath, updateLevel || 0 /* Update */), - close: () => stopWatching(state) - }; -} -function relName(state, path) { - return convertToRelativePath(path, state.compilerHost.getCurrentDirectory(), state.compilerHost.getCanonicalFileName); -} -function reportStatus(state, message, ...args) { - state.host.reportSolutionBuilderStatus(createCompilerDiagnostic(message, ...args)); -} -function reportWatchStatus(state, message, ...args) { - var _a, _b; - (_b = (_a = state.hostWithWatch).onWatchStatusChange) == null ? void 0 : _b.call(_a, createCompilerDiagnostic(message, ...args), state.host.getNewLine(), state.baseCompilerOptions); -} -function reportErrors({ host }, errors) { - errors.forEach((err) => host.reportDiagnostic(err)); -} -function reportAndStoreErrors(state, proj, errors) { - reportErrors(state, errors); - state.projectErrorsReported.set(proj, true); - if (errors.length) { - state.diagnostics.set(proj, errors); - } -} -function reportParseConfigFileDiagnostic(state, proj) { - reportAndStoreErrors(state, proj, [state.configFileCache.get(proj)]); -} -function reportErrorSummary(state, buildOrder) { - if (!state.needsSummary) return; - state.needsSummary = false; - const canReportSummary = state.watch || !!state.host.reportErrorSummary; - const { diagnostics } = state; - let totalErrors = 0; - let filesInError = []; - if (isCircularBuildOrder(buildOrder)) { - reportBuildQueue(state, buildOrder.buildOrder); - reportErrors(state, buildOrder.circularDiagnostics); - if (canReportSummary) totalErrors += getErrorCountForSummary(buildOrder.circularDiagnostics); - if (canReportSummary) filesInError = [...filesInError, ...getFilesInErrorForSummary(buildOrder.circularDiagnostics)]; - } else { - buildOrder.forEach((project) => { - const projectPath = toResolvedConfigFilePath(state, project); - if (!state.projectErrorsReported.has(projectPath)) { - reportErrors(state, diagnostics.get(projectPath) || emptyArray); - } - }); - if (canReportSummary) diagnostics.forEach((singleProjectErrors) => totalErrors += getErrorCountForSummary(singleProjectErrors)); - if (canReportSummary) diagnostics.forEach((singleProjectErrors) => [...filesInError, ...getFilesInErrorForSummary(singleProjectErrors)]); - } - if (state.watch) { - reportWatchStatus(state, getWatchErrorSummaryDiagnosticMessage(totalErrors), totalErrors); - } else if (state.host.reportErrorSummary) { - state.host.reportErrorSummary(totalErrors, filesInError); - } -} -function reportBuildQueue(state, buildQueue) { - if (state.options.verbose) { - reportStatus(state, Diagnostics.Projects_in_this_build_Colon_0, buildQueue.map((s) => "\r\n * " + relName(state, s)).join("")); - } -} -function reportUpToDateStatus(state, configFileName, status) { - switch (status.type) { - case 5 /* OutOfDateWithSelf */: - return reportStatus( - state, - Diagnostics.Project_0_is_out_of_date_because_output_1_is_older_than_input_2, - relName(state, configFileName), - relName(state, status.outOfDateOutputFileName), - relName(state, status.newerInputFileName) - ); - case 6 /* OutOfDateWithUpstream */: - return reportStatus( - state, - Diagnostics.Project_0_is_out_of_date_because_output_1_is_older_than_input_2, - relName(state, configFileName), - relName(state, status.outOfDateOutputFileName), - relName(state, status.newerProjectName) - ); - case 3 /* OutputMissing */: - return reportStatus( - state, - Diagnostics.Project_0_is_out_of_date_because_output_file_1_does_not_exist, - relName(state, configFileName), - relName(state, status.missingOutputFileName) - ); - case 4 /* ErrorReadingFile */: - return reportStatus( - state, - Diagnostics.Project_0_is_out_of_date_because_there_was_error_reading_file_1, - relName(state, configFileName), - relName(state, status.fileName) - ); - case 7 /* OutOfDateBuildInfoWithPendingEmit */: - return reportStatus( - state, - Diagnostics.Project_0_is_out_of_date_because_buildinfo_file_1_indicates_that_some_of_the_changes_were_not_emitted, - relName(state, configFileName), - relName(state, status.buildInfoFile) - ); - case 8 /* OutOfDateBuildInfoWithErrors */: - return reportStatus( - state, - Diagnostics.Project_0_is_out_of_date_because_buildinfo_file_1_indicates_that_program_needs_to_report_errors, - relName(state, configFileName), - relName(state, status.buildInfoFile) - ); - case 9 /* OutOfDateOptions */: - return reportStatus( - state, - Diagnostics.Project_0_is_out_of_date_because_buildinfo_file_1_indicates_there_is_change_in_compilerOptions, - relName(state, configFileName), - relName(state, status.buildInfoFile) - ); - case 10 /* OutOfDateRoots */: - return reportStatus( - state, - Diagnostics.Project_0_is_out_of_date_because_buildinfo_file_1_indicates_that_file_2_was_root_file_of_compilation_but_not_any_more, - relName(state, configFileName), - relName(state, status.buildInfoFile), - relName(state, status.inputFile) - ); - case 1 /* UpToDate */: - if (status.newestInputFileTime !== void 0) { - return reportStatus( - state, - Diagnostics.Project_0_is_up_to_date_because_newest_input_1_is_older_than_output_2, - relName(state, configFileName), - relName(state, status.newestInputFileName || ""), - relName(state, status.oldestOutputFileName || "") - ); - } - break; - case 2 /* UpToDateWithUpstreamTypes */: - return reportStatus( - state, - Diagnostics.Project_0_is_up_to_date_with_d_ts_files_from_its_dependencies, - relName(state, configFileName) - ); - case 15 /* UpToDateWithInputFileText */: - return reportStatus( - state, - Diagnostics.Project_0_is_up_to_date_but_needs_to_update_timestamps_of_output_files_that_are_older_than_input_files, - relName(state, configFileName) - ); - case 11 /* UpstreamOutOfDate */: - return reportStatus( - state, - Diagnostics.Project_0_is_out_of_date_because_its_dependency_1_is_out_of_date, - relName(state, configFileName), - relName(state, status.upstreamProjectName) - ); - case 12 /* UpstreamBlocked */: - return reportStatus( - state, - status.upstreamProjectBlocked ? Diagnostics.Project_0_can_t_be_built_because_its_dependency_1_was_not_built : Diagnostics.Project_0_can_t_be_built_because_its_dependency_1_has_errors, - relName(state, configFileName), - relName(state, status.upstreamProjectName) - ); - case 0 /* Unbuildable */: - return reportStatus( - state, - Diagnostics.Project_0_is_out_of_date_because_1, - relName(state, configFileName), - status.reason - ); - case 14 /* TsVersionOutputOfDate */: - return reportStatus( - state, - Diagnostics.Project_0_is_out_of_date_because_output_for_it_was_generated_with_version_1_that_differs_with_current_version_2, - relName(state, configFileName), - status.version, - version - ); - case 17 /* ForceBuild */: - return reportStatus( - state, - Diagnostics.Project_0_is_being_forcibly_rebuilt, - relName(state, configFileName) - ); - case 16 /* ContainerOnly */: - case 13 /* ComputingUpstream */: - break; - default: - assertType(status); - } -} -function verboseReportProjectStatus(state, configFileName, status) { - if (state.options.verbose) { - reportUpToDateStatus(state, configFileName, status); - } -} - -// src/compiler/executeCommandLine.ts -function countLines(program) { - const counts2 = getCountsMap(); - forEach(program.getSourceFiles(), (file) => { - const key = getCountKey(program, file); - const lineCount = getLineStarts(file).length; - counts2.set(key, counts2.get(key) + lineCount); - }); - return counts2; -} -function getCountsMap() { - const counts2 = /* @__PURE__ */ new Map(); - counts2.set("Library", 0); - counts2.set("Definitions", 0); - counts2.set("TypeScript", 0); - counts2.set("JavaScript", 0); - counts2.set("JSON", 0); - counts2.set("Other", 0); - return counts2; -} -function getCountKey(program, file) { - if (program.isSourceFileDefaultLibrary(file)) { - return "Library"; - } else if (file.isDeclarationFile) { - return "Definitions"; - } - const path = file.path; - if (fileExtensionIsOneOf(path, supportedTSExtensionsFlat)) { - return "TypeScript"; - } else if (fileExtensionIsOneOf(path, supportedJSExtensionsFlat)) { - return "JavaScript"; - } else if (fileExtensionIs(path, ".json" /* Json */)) { - return "JSON"; - } else { - return "Other"; - } -} -function updateReportDiagnostic(sys2, existing, options) { - return shouldBePretty(sys2, options) ? createDiagnosticReporter( - sys2, - /*pretty*/ - true - ) : existing; -} -function defaultIsPretty(sys2) { - return !!sys2.writeOutputIsTTY && sys2.writeOutputIsTTY() && !sys2.getEnvironmentVariable("NO_COLOR"); -} -function shouldBePretty(sys2, options) { - if (!options || typeof options.pretty === "undefined") { - return defaultIsPretty(sys2); - } - return options.pretty; -} -function getOptionsForHelp(commandLine) { - return !!commandLine.options.all ? toSorted(optionDeclarations, (a, b) => compareStringsCaseInsensitive(a.name, b.name)) : filter(optionDeclarations.slice(), (v) => !!v.showInSimplifiedHelpView); -} -function printVersion(sys2) { - sys2.write(getDiagnosticText(Diagnostics.Version_0, version) + sys2.newLine); -} -function createColors(sys2) { - const showColors = defaultIsPretty(sys2); - if (!showColors) { - return { - bold: (str) => str, - blue: (str) => str, - blueBackground: (str) => str, - brightWhite: (str) => str - }; - } - function bold(str) { - return `\x1B[1m${str}\x1B[22m`; - } - const isWindows = sys2.getEnvironmentVariable("OS") && sys2.getEnvironmentVariable("OS").toLowerCase().includes("windows"); - const isWindowsTerminal = sys2.getEnvironmentVariable("WT_SESSION"); - const isVSCode = sys2.getEnvironmentVariable("TERM_PROGRAM") && sys2.getEnvironmentVariable("TERM_PROGRAM") === "vscode"; - function blue(str) { - if (isWindows && !isWindowsTerminal && !isVSCode) { - return brightWhite(str); - } - return `\x1B[94m${str}\x1B[39m`; - } - const supportsRicherColors = sys2.getEnvironmentVariable("COLORTERM") === "truecolor" || sys2.getEnvironmentVariable("TERM") === "xterm-256color"; - function blueBackground(str) { - if (supportsRicherColors) { - return `\x1B[48;5;68m${str}\x1B[39;49m`; - } else { - return `\x1B[44m${str}\x1B[39;49m`; - } - } - function brightWhite(str) { - return `\x1B[97m${str}\x1B[39m`; - } - return { - bold, - blue, - brightWhite, - blueBackground - }; -} -function getDisplayNameTextOfOption(option) { - return `--${option.name}${option.shortName ? `, -${option.shortName}` : ""}`; -} -function generateOptionOutput(sys2, option, rightAlignOfLeft, leftAlignOfRight) { - var _a; - const text = []; - const colors = createColors(sys2); - const name = getDisplayNameTextOfOption(option); - const valueCandidates = getValueCandidate(option); - const defaultValueDescription = typeof option.defaultValueDescription === "object" ? getDiagnosticText(option.defaultValueDescription) : formatDefaultValue( - option.defaultValueDescription, - option.type === "list" || option.type === "listOrElement" ? option.element.type : option.type - ); - const terminalWidth = ((_a = sys2.getWidthOfTerminal) == null ? void 0 : _a.call(sys2)) ?? 0; - if (terminalWidth >= 80) { - let description = ""; - if (option.description) { - description = getDiagnosticText(option.description); - } - text.push(...getPrettyOutput( - name, - description, - rightAlignOfLeft, - leftAlignOfRight, - terminalWidth, - /*colorLeft*/ - true - ), sys2.newLine); - if (showAdditionalInfoOutput(valueCandidates, option)) { - if (valueCandidates) { - text.push(...getPrettyOutput( - valueCandidates.valueType, - valueCandidates.possibleValues, - rightAlignOfLeft, - leftAlignOfRight, - terminalWidth, - /*colorLeft*/ - false - ), sys2.newLine); - } - if (defaultValueDescription) { - text.push(...getPrettyOutput( - getDiagnosticText(Diagnostics.default_Colon), - defaultValueDescription, - rightAlignOfLeft, - leftAlignOfRight, - terminalWidth, - /*colorLeft*/ - false - ), sys2.newLine); - } - } - text.push(sys2.newLine); - } else { - text.push(colors.blue(name), sys2.newLine); - if (option.description) { - const description = getDiagnosticText(option.description); - text.push(description); - } - text.push(sys2.newLine); - if (showAdditionalInfoOutput(valueCandidates, option)) { - if (valueCandidates) { - text.push(`${valueCandidates.valueType} ${valueCandidates.possibleValues}`); - } - if (defaultValueDescription) { - if (valueCandidates) text.push(sys2.newLine); - const diagType = getDiagnosticText(Diagnostics.default_Colon); - text.push(`${diagType} ${defaultValueDescription}`); - } - text.push(sys2.newLine); - } - text.push(sys2.newLine); - } - return text; - function formatDefaultValue(defaultValue, type) { - return defaultValue !== void 0 && typeof type === "object" ? arrayFrom(type.entries()).filter(([, value]) => value === defaultValue).map(([name2]) => name2).join("/") : String(defaultValue); - } - function showAdditionalInfoOutput(valueCandidates2, option2) { - const ignoreValues = ["string"]; - const ignoredDescriptions = [void 0, "false", "n/a"]; - const defaultValueDescription2 = option2.defaultValueDescription; - if (option2.category === Diagnostics.Command_line_Options) return false; - if (contains(ignoreValues, valueCandidates2 == null ? void 0 : valueCandidates2.possibleValues) && contains(ignoredDescriptions, defaultValueDescription2)) { - return false; - } - return true; - } - function getPrettyOutput(left, right, rightAlignOfLeft2, leftAlignOfRight2, terminalWidth2, colorLeft) { - const res = []; - let isFirstLine = true; - let remainRight = right; - const rightCharacterNumber = terminalWidth2 - leftAlignOfRight2; - while (remainRight.length > 0) { - let curLeft = ""; - if (isFirstLine) { - curLeft = left.padStart(rightAlignOfLeft2); - curLeft = curLeft.padEnd(leftAlignOfRight2); - curLeft = colorLeft ? colors.blue(curLeft) : curLeft; - } else { - curLeft = "".padStart(leftAlignOfRight2); - } - const curRight = remainRight.substr(0, rightCharacterNumber); - remainRight = remainRight.slice(rightCharacterNumber); - res.push(`${curLeft}${curRight}`); - isFirstLine = false; - } - return res; - } - function getValueCandidate(option2) { - if (option2.type === "object") { - return void 0; - } - return { - valueType: getValueType(option2), - possibleValues: getPossibleValues(option2) - }; - function getValueType(option3) { - Debug.assert(option3.type !== "listOrElement"); - switch (option3.type) { - case "string": - case "number": - case "boolean": - return getDiagnosticText(Diagnostics.type_Colon); - case "list": - return getDiagnosticText(Diagnostics.one_or_more_Colon); - default: - return getDiagnosticText(Diagnostics.one_of_Colon); - } - } - function getPossibleValues(option3) { - let possibleValues; - switch (option3.type) { - case "string": - case "number": - case "boolean": - possibleValues = option3.type; - break; - case "list": - case "listOrElement": - possibleValues = getPossibleValues(option3.element); - break; - case "object": - possibleValues = ""; - break; - default: - const inverted = {}; - option3.type.forEach((value, name2) => { - var _a2; - if (!((_a2 = option3.deprecatedKeys) == null ? void 0 : _a2.has(name2))) { - (inverted[value] || (inverted[value] = [])).push(name2); - } - }); - return Object.entries(inverted).map(([, synonyms]) => synonyms.join("/")).join(", "); - } - return possibleValues; - } - } -} -function generateGroupOptionOutput(sys2, optionsList) { - let maxLength = 0; - for (const option of optionsList) { - const curLength = getDisplayNameTextOfOption(option).length; - maxLength = maxLength > curLength ? maxLength : curLength; - } - const rightAlignOfLeftPart = maxLength + 2; - const leftAlignOfRightPart = rightAlignOfLeftPart + 2; - let lines = []; - for (const option of optionsList) { - const tmp = generateOptionOutput(sys2, option, rightAlignOfLeftPart, leftAlignOfRightPart); - lines = [...lines, ...tmp]; - } - if (lines[lines.length - 2] !== sys2.newLine) { - lines.push(sys2.newLine); - } - return lines; -} -function generateSectionOptionsOutput(sys2, sectionName, options, subCategory, beforeOptionsDescription, afterOptionsDescription) { - let res = []; - res.push(createColors(sys2).bold(sectionName) + sys2.newLine + sys2.newLine); - if (beforeOptionsDescription) { - res.push(beforeOptionsDescription + sys2.newLine + sys2.newLine); - } - if (!subCategory) { - res = [...res, ...generateGroupOptionOutput(sys2, options)]; - if (afterOptionsDescription) { - res.push(afterOptionsDescription + sys2.newLine + sys2.newLine); - } - return res; - } - const categoryMap = /* @__PURE__ */ new Map(); - for (const option of options) { - if (!option.category) { - continue; - } - const curCategory = getDiagnosticText(option.category); - const optionsOfCurCategory = categoryMap.get(curCategory) ?? []; - optionsOfCurCategory.push(option); - categoryMap.set(curCategory, optionsOfCurCategory); - } - categoryMap.forEach((value, key) => { - res.push(`### ${key}${sys2.newLine}${sys2.newLine}`); - res = [...res, ...generateGroupOptionOutput(sys2, value)]; - }); - if (afterOptionsDescription) { - res.push(afterOptionsDescription + sys2.newLine + sys2.newLine); - } - return res; -} -function printEasyHelp(sys2, simpleOptions) { - const colors = createColors(sys2); - let output = [...getHeader(sys2, `${getDiagnosticText(Diagnostics.tsc_Colon_The_TypeScript_Compiler)} - ${getDiagnosticText(Diagnostics.Version_0, version)}`)]; - output.push(colors.bold(getDiagnosticText(Diagnostics.COMMON_COMMANDS)) + sys2.newLine + sys2.newLine); - example("tsc", Diagnostics.Compiles_the_current_project_tsconfig_json_in_the_working_directory); - example("tsc app.ts util.ts", Diagnostics.Ignoring_tsconfig_json_compiles_the_specified_files_with_default_compiler_options); - example("tsc -b", Diagnostics.Build_a_composite_project_in_the_working_directory); - example("tsc --init", Diagnostics.Creates_a_tsconfig_json_with_the_recommended_settings_in_the_working_directory); - example("tsc -p ./path/to/tsconfig.json", Diagnostics.Compiles_the_TypeScript_project_located_at_the_specified_path); - example("tsc --help --all", Diagnostics.An_expanded_version_of_this_information_showing_all_possible_compiler_options); - example(["tsc --noEmit", "tsc --target esnext"], Diagnostics.Compiles_the_current_project_with_additional_settings); - const cliCommands = simpleOptions.filter((opt) => opt.isCommandLineOnly || opt.category === Diagnostics.Command_line_Options); - const configOpts = simpleOptions.filter((opt) => !contains(cliCommands, opt)); - output = [ - ...output, - ...generateSectionOptionsOutput( - sys2, - getDiagnosticText(Diagnostics.COMMAND_LINE_FLAGS), - cliCommands, - /*subCategory*/ - false, - /*beforeOptionsDescription*/ - void 0, - /*afterOptionsDescription*/ - void 0 - ), - ...generateSectionOptionsOutput( - sys2, - getDiagnosticText(Diagnostics.COMMON_COMPILER_OPTIONS), - configOpts, - /*subCategory*/ - false, - /*beforeOptionsDescription*/ - void 0, - formatMessage(Diagnostics.You_can_learn_about_all_of_the_compiler_options_at_0, "https://aka.ms/tsc") - ) - ]; - for (const line of output) { - sys2.write(line); - } - function example(ex, desc) { - const examples = typeof ex === "string" ? [ex] : ex; - for (const example2 of examples) { - output.push(" " + colors.blue(example2) + sys2.newLine); - } - output.push(" " + getDiagnosticText(desc) + sys2.newLine + sys2.newLine); - } -} -function printAllHelp(sys2, compilerOptions, buildOptions, watchOptions) { - let output = [...getHeader(sys2, `${getDiagnosticText(Diagnostics.tsc_Colon_The_TypeScript_Compiler)} - ${getDiagnosticText(Diagnostics.Version_0, version)}`)]; - output = [...output, ...generateSectionOptionsOutput( - sys2, - getDiagnosticText(Diagnostics.ALL_COMPILER_OPTIONS), - compilerOptions, - /*subCategory*/ - true, - /*beforeOptionsDescription*/ - void 0, - formatMessage(Diagnostics.You_can_learn_about_all_of_the_compiler_options_at_0, "https://aka.ms/tsc") - )]; - output = [...output, ...generateSectionOptionsOutput( - sys2, - getDiagnosticText(Diagnostics.WATCH_OPTIONS), - watchOptions, - /*subCategory*/ - false, - getDiagnosticText(Diagnostics.Including_watch_w_will_start_watching_the_current_project_for_the_file_changes_Once_set_you_can_config_watch_mode_with_Colon) - )]; - output = [...output, ...generateSectionOptionsOutput( - sys2, - getDiagnosticText(Diagnostics.BUILD_OPTIONS), - buildOptions, - /*subCategory*/ - false, - formatMessage(Diagnostics.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, "https://aka.ms/tsc-composite-builds") - )]; - for (const line of output) { - sys2.write(line); - } -} -function printBuildHelp(sys2, buildOptions) { - let output = [...getHeader(sys2, `${getDiagnosticText(Diagnostics.tsc_Colon_The_TypeScript_Compiler)} - ${getDiagnosticText(Diagnostics.Version_0, version)}`)]; - output = [...output, ...generateSectionOptionsOutput( - sys2, - getDiagnosticText(Diagnostics.BUILD_OPTIONS), - buildOptions, - /*subCategory*/ - false, - formatMessage(Diagnostics.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, "https://aka.ms/tsc-composite-builds") - )]; - for (const line of output) { - sys2.write(line); - } -} -function getHeader(sys2, message) { - var _a; - const colors = createColors(sys2); - const header = []; - const terminalWidth = ((_a = sys2.getWidthOfTerminal) == null ? void 0 : _a.call(sys2)) ?? 0; - const tsIconLength = 5; - const tsIconFirstLine = colors.blueBackground("".padStart(tsIconLength)); - const tsIconSecondLine = colors.blueBackground(colors.brightWhite("TS ".padStart(tsIconLength))); - if (terminalWidth >= message.length + tsIconLength) { - const rightAlign = terminalWidth > 120 ? 120 : terminalWidth; - const leftAlign = rightAlign - tsIconLength; - header.push(message.padEnd(leftAlign) + tsIconFirstLine + sys2.newLine); - header.push("".padStart(leftAlign) + tsIconSecondLine + sys2.newLine); - } else { - header.push(message + sys2.newLine); - header.push(sys2.newLine); - } - return header; -} -function printHelp(sys2, commandLine) { - if (!commandLine.options.all) { - printEasyHelp(sys2, getOptionsForHelp(commandLine)); - } else { - printAllHelp(sys2, getOptionsForHelp(commandLine), optionsForBuild, optionsForWatch); - } -} -function executeCommandLineWorker(sys2, cb, commandLine) { - let reportDiagnostic = createDiagnosticReporter(sys2); - if (commandLine.options.build) { - reportDiagnostic(createCompilerDiagnostic(Diagnostics.Option_build_must_be_the_first_command_line_argument)); - return sys2.exit(1 /* DiagnosticsPresent_OutputsSkipped */); - } - let configFileName; - if (commandLine.options.locale) { - validateLocaleAndSetLanguage(commandLine.options.locale, sys2, commandLine.errors); - } - if (commandLine.errors.length > 0) { - commandLine.errors.forEach(reportDiagnostic); - return sys2.exit(1 /* DiagnosticsPresent_OutputsSkipped */); - } - if (commandLine.options.init) { - writeConfigFile(sys2, reportDiagnostic, commandLine.options, commandLine.fileNames); - return sys2.exit(0 /* Success */); - } - if (commandLine.options.version) { - printVersion(sys2); - return sys2.exit(0 /* Success */); - } - if (commandLine.options.help || commandLine.options.all) { - printHelp(sys2, commandLine); - return sys2.exit(0 /* Success */); - } - if (commandLine.options.watch && commandLine.options.listFilesOnly) { - reportDiagnostic(createCompilerDiagnostic(Diagnostics.Options_0_and_1_cannot_be_combined, "watch", "listFilesOnly")); - return sys2.exit(1 /* DiagnosticsPresent_OutputsSkipped */); - } - if (commandLine.options.project) { - if (commandLine.fileNames.length !== 0) { - reportDiagnostic(createCompilerDiagnostic(Diagnostics.Option_project_cannot_be_mixed_with_source_files_on_a_command_line)); - return sys2.exit(1 /* DiagnosticsPresent_OutputsSkipped */); - } - const fileOrDirectory = normalizePath(commandLine.options.project); - if (!fileOrDirectory || sys2.directoryExists(fileOrDirectory)) { - configFileName = combinePaths(fileOrDirectory, "tsconfig.json"); - if (!sys2.fileExists(configFileName)) { - reportDiagnostic(createCompilerDiagnostic(Diagnostics.Cannot_find_a_tsconfig_json_file_at_the_specified_directory_Colon_0, commandLine.options.project)); - return sys2.exit(1 /* DiagnosticsPresent_OutputsSkipped */); - } - } else { - configFileName = fileOrDirectory; - if (!sys2.fileExists(configFileName)) { - reportDiagnostic(createCompilerDiagnostic(Diagnostics.The_specified_path_does_not_exist_Colon_0, commandLine.options.project)); - return sys2.exit(1 /* DiagnosticsPresent_OutputsSkipped */); - } - } - } else if (commandLine.fileNames.length === 0) { - const searchPath = normalizePath(sys2.getCurrentDirectory()); - configFileName = findConfigFile(searchPath, (fileName) => sys2.fileExists(fileName)); - } - if (commandLine.fileNames.length === 0 && !configFileName) { - if (commandLine.options.showConfig) { - reportDiagnostic(createCompilerDiagnostic(Diagnostics.Cannot_find_a_tsconfig_json_file_at_the_current_directory_Colon_0, normalizePath(sys2.getCurrentDirectory()))); - } else { - printVersion(sys2); - printHelp(sys2, commandLine); - } - return sys2.exit(1 /* DiagnosticsPresent_OutputsSkipped */); - } - const currentDirectory = sys2.getCurrentDirectory(); - const commandLineOptions = convertToOptionsWithAbsolutePaths( - commandLine.options, - (fileName) => getNormalizedAbsolutePath(fileName, currentDirectory) - ); - if (configFileName) { - const extendedConfigCache = /* @__PURE__ */ new Map(); - const configParseResult = parseConfigFileWithSystem(configFileName, commandLineOptions, extendedConfigCache, commandLine.watchOptions, sys2, reportDiagnostic); - if (commandLineOptions.showConfig) { - if (configParseResult.errors.length !== 0) { - reportDiagnostic = updateReportDiagnostic( - sys2, - reportDiagnostic, - configParseResult.options - ); - configParseResult.errors.forEach(reportDiagnostic); - return sys2.exit(1 /* DiagnosticsPresent_OutputsSkipped */); - } - sys2.write(JSON.stringify(convertToTSConfig(configParseResult, configFileName, sys2), null, 4) + sys2.newLine); - return sys2.exit(0 /* Success */); - } - reportDiagnostic = updateReportDiagnostic( - sys2, - reportDiagnostic, - configParseResult.options - ); - if (isWatchSet(configParseResult.options)) { - if (reportWatchModeWithoutSysSupport(sys2, reportDiagnostic)) return; - return createWatchOfConfigFile( - sys2, - cb, - reportDiagnostic, - configParseResult, - commandLineOptions, - commandLine.watchOptions, - extendedConfigCache - ); - } else if (isIncrementalCompilation(configParseResult.options)) { - performIncrementalCompilation2( - sys2, - cb, - reportDiagnostic, - configParseResult - ); - } else { - performCompilation( - sys2, - cb, - reportDiagnostic, - configParseResult - ); - } - } else { - if (commandLineOptions.showConfig) { - sys2.write(JSON.stringify(convertToTSConfig(commandLine, combinePaths(currentDirectory, "tsconfig.json"), sys2), null, 4) + sys2.newLine); - return sys2.exit(0 /* Success */); - } - reportDiagnostic = updateReportDiagnostic( - sys2, - reportDiagnostic, - commandLineOptions - ); - if (isWatchSet(commandLineOptions)) { - if (reportWatchModeWithoutSysSupport(sys2, reportDiagnostic)) return; - return createWatchOfFilesAndCompilerOptions( - sys2, - cb, - reportDiagnostic, - commandLine.fileNames, - commandLineOptions, - commandLine.watchOptions - ); - } else if (isIncrementalCompilation(commandLineOptions)) { - performIncrementalCompilation2( - sys2, - cb, - reportDiagnostic, - { ...commandLine, options: commandLineOptions } - ); - } else { - performCompilation( - sys2, - cb, - reportDiagnostic, - { ...commandLine, options: commandLineOptions } - ); - } - } -} -function isBuild(commandLineArgs) { - if (commandLineArgs.length > 0 && commandLineArgs[0].charCodeAt(0) === 45 /* minus */) { - const firstOption = commandLineArgs[0].slice(commandLineArgs[0].charCodeAt(1) === 45 /* minus */ ? 2 : 1).toLowerCase(); - return firstOption === "build" || firstOption === "b"; - } - return false; -} -function executeCommandLine(system, cb, commandLineArgs) { - if (isBuild(commandLineArgs)) { - const { buildOptions, watchOptions, projects, errors } = parseBuildCommand(commandLineArgs.slice(1)); - if (buildOptions.generateCpuProfile && system.enableCPUProfiler) { - system.enableCPUProfiler(buildOptions.generateCpuProfile, () => performBuild( - system, - cb, - buildOptions, - watchOptions, - projects, - errors - )); - } else { - return performBuild( - system, - cb, - buildOptions, - watchOptions, - projects, - errors - ); - } - } - const commandLine = parseCommandLine(commandLineArgs, (path) => system.readFile(path)); - if (commandLine.options.generateCpuProfile && system.enableCPUProfiler) { - system.enableCPUProfiler(commandLine.options.generateCpuProfile, () => executeCommandLineWorker( - system, - cb, - commandLine - )); - } else { - return executeCommandLineWorker(system, cb, commandLine); - } -} -function reportWatchModeWithoutSysSupport(sys2, reportDiagnostic) { - if (!sys2.watchFile || !sys2.watchDirectory) { - reportDiagnostic(createCompilerDiagnostic(Diagnostics.The_current_host_does_not_support_the_0_option, "--watch")); - sys2.exit(1 /* DiagnosticsPresent_OutputsSkipped */); - return true; - } - return false; -} -var defaultJSDocParsingMode = 2 /* ParseForTypeErrors */; -function performBuild(sys2, cb, buildOptions, watchOptions, projects, errors) { - const reportDiagnostic = updateReportDiagnostic( - sys2, - createDiagnosticReporter(sys2), - buildOptions - ); - if (buildOptions.locale) { - validateLocaleAndSetLanguage(buildOptions.locale, sys2, errors); - } - if (errors.length > 0) { - errors.forEach(reportDiagnostic); - return sys2.exit(1 /* DiagnosticsPresent_OutputsSkipped */); - } - if (buildOptions.help) { - printVersion(sys2); - printBuildHelp(sys2, buildOpts); - return sys2.exit(0 /* Success */); - } - if (projects.length === 0) { - printVersion(sys2); - printBuildHelp(sys2, buildOpts); - return sys2.exit(0 /* Success */); - } - if (!sys2.getModifiedTime || !sys2.setModifiedTime || buildOptions.clean && !sys2.deleteFile) { - reportDiagnostic(createCompilerDiagnostic(Diagnostics.The_current_host_does_not_support_the_0_option, "--build")); - return sys2.exit(1 /* DiagnosticsPresent_OutputsSkipped */); - } - if (buildOptions.watch) { - if (reportWatchModeWithoutSysSupport(sys2, reportDiagnostic)) return; - const buildHost2 = createSolutionBuilderWithWatchHost( - sys2, - /*createProgram*/ - void 0, - reportDiagnostic, - createBuilderStatusReporter(sys2, shouldBePretty(sys2, buildOptions)), - createWatchStatusReporter2(sys2, buildOptions) - ); - buildHost2.jsDocParsingMode = defaultJSDocParsingMode; - const solutionPerformance2 = enableSolutionPerformance(sys2, buildOptions); - updateSolutionBuilderHost(sys2, cb, buildHost2, solutionPerformance2); - const onWatchStatusChange = buildHost2.onWatchStatusChange; - let reportBuildStatistics = false; - buildHost2.onWatchStatusChange = (d, newLine, options, errorCount) => { - onWatchStatusChange == null ? void 0 : onWatchStatusChange(d, newLine, options, errorCount); - if (reportBuildStatistics && (d.code === Diagnostics.Found_0_errors_Watching_for_file_changes.code || d.code === Diagnostics.Found_1_error_Watching_for_file_changes.code)) { - reportSolutionBuilderTimes(builder2, solutionPerformance2); - } - }; - const builder2 = createSolutionBuilderWithWatch(buildHost2, projects, buildOptions, watchOptions); - builder2.build(); - reportSolutionBuilderTimes(builder2, solutionPerformance2); - reportBuildStatistics = true; - return builder2; - } - const buildHost = createSolutionBuilderHost( - sys2, - /*createProgram*/ - void 0, - reportDiagnostic, - createBuilderStatusReporter(sys2, shouldBePretty(sys2, buildOptions)), - createReportErrorSummary(sys2, buildOptions) - ); - buildHost.jsDocParsingMode = defaultJSDocParsingMode; - const solutionPerformance = enableSolutionPerformance(sys2, buildOptions); - updateSolutionBuilderHost(sys2, cb, buildHost, solutionPerformance); - const builder = createSolutionBuilder(buildHost, projects, buildOptions); - const exitStatus = buildOptions.clean ? builder.clean() : builder.build(); - reportSolutionBuilderTimes(builder, solutionPerformance); - dumpTracingLegend(); - return sys2.exit(exitStatus); -} -function createReportErrorSummary(sys2, options) { - return shouldBePretty(sys2, options) ? (errorCount, filesInError) => sys2.write(getErrorSummaryText(errorCount, filesInError, sys2.newLine, sys2)) : void 0; -} -function performCompilation(sys2, cb, reportDiagnostic, config) { - const { fileNames, options, projectReferences } = config; - const host = createCompilerHostWorker( - options, - /*setParentNodes*/ - void 0, - sys2 - ); - host.jsDocParsingMode = defaultJSDocParsingMode; - const currentDirectory = host.getCurrentDirectory(); - const getCanonicalFileName = createGetCanonicalFileName(host.useCaseSensitiveFileNames()); - changeCompilerHostLikeToUseCache(host, (fileName) => toPath(fileName, currentDirectory, getCanonicalFileName)); - enableStatisticsAndTracing( - sys2, - options, - /*isBuildMode*/ - false - ); - const programOptions = { - rootNames: fileNames, - options, - projectReferences, - host, - configFileParsingDiagnostics: getConfigFileParsingDiagnostics(config) - }; - const program = createProgram(programOptions); - const exitStatus = emitFilesAndReportErrorsAndGetExitStatus( - program, - reportDiagnostic, - (s) => sys2.write(s + sys2.newLine), - createReportErrorSummary(sys2, options) - ); - reportStatistics( - sys2, - program, - /*solutionPerformance*/ - void 0 - ); - cb(program); - return sys2.exit(exitStatus); -} -function performIncrementalCompilation2(sys2, cb, reportDiagnostic, config) { - const { options, fileNames, projectReferences } = config; - enableStatisticsAndTracing( - sys2, - options, - /*isBuildMode*/ - false - ); - const host = createIncrementalCompilerHost(options, sys2); - host.jsDocParsingMode = defaultJSDocParsingMode; - const exitStatus = performIncrementalCompilation({ - host, - system: sys2, - rootNames: fileNames, - options, - configFileParsingDiagnostics: getConfigFileParsingDiagnostics(config), - projectReferences, - reportDiagnostic, - reportErrorSummary: createReportErrorSummary(sys2, options), - afterProgramEmitAndDiagnostics: (builderProgram) => { - reportStatistics( - sys2, - builderProgram.getProgram(), - /*solutionPerformance*/ - void 0 - ); - cb(builderProgram); - } - }); - return sys2.exit(exitStatus); -} -function updateSolutionBuilderHost(sys2, cb, buildHost, solutionPerformance) { - updateCreateProgram( - sys2, - buildHost, - /*isBuildMode*/ - true - ); - buildHost.afterProgramEmitAndDiagnostics = (program) => { - reportStatistics(sys2, program.getProgram(), solutionPerformance); - cb(program); - }; -} -function updateCreateProgram(sys2, host, isBuildMode) { - const compileUsingBuilder = host.createProgram; - host.createProgram = (rootNames, options, host2, oldProgram, configFileParsingDiagnostics, projectReferences) => { - Debug.assert(rootNames !== void 0 || options === void 0 && !!oldProgram); - if (options !== void 0) { - enableStatisticsAndTracing(sys2, options, isBuildMode); - } - return compileUsingBuilder(rootNames, options, host2, oldProgram, configFileParsingDiagnostics, projectReferences); - }; -} -function updateWatchCompilationHost(sys2, cb, watchCompilerHost) { - watchCompilerHost.jsDocParsingMode = defaultJSDocParsingMode; - updateCreateProgram( - sys2, - watchCompilerHost, - /*isBuildMode*/ - false - ); - const emitFilesUsingBuilder = watchCompilerHost.afterProgramCreate; - watchCompilerHost.afterProgramCreate = (builderProgram) => { - emitFilesUsingBuilder(builderProgram); - reportStatistics( - sys2, - builderProgram.getProgram(), - /*solutionPerformance*/ - void 0 - ); - cb(builderProgram); - }; -} -function createWatchStatusReporter2(sys2, options) { - return createWatchStatusReporter(sys2, shouldBePretty(sys2, options)); -} -function createWatchOfConfigFile(system, cb, reportDiagnostic, configParseResult, optionsToExtend, watchOptionsToExtend, extendedConfigCache) { - const watchCompilerHost = createWatchCompilerHostOfConfigFile({ - configFileName: configParseResult.options.configFilePath, - optionsToExtend, - watchOptionsToExtend, - system, - reportDiagnostic, - reportWatchStatus: createWatchStatusReporter2(system, configParseResult.options) - }); - updateWatchCompilationHost(system, cb, watchCompilerHost); - watchCompilerHost.configFileParsingResult = configParseResult; - watchCompilerHost.extendedConfigCache = extendedConfigCache; - return createWatchProgram(watchCompilerHost); -} -function createWatchOfFilesAndCompilerOptions(system, cb, reportDiagnostic, rootFiles, options, watchOptions) { - const watchCompilerHost = createWatchCompilerHostOfFilesAndCompilerOptions({ - rootFiles, - options, - watchOptions, - system, - reportDiagnostic, - reportWatchStatus: createWatchStatusReporter2(system, options) - }); - updateWatchCompilationHost(system, cb, watchCompilerHost); - return createWatchProgram(watchCompilerHost); -} -function enableSolutionPerformance(system, options) { - if (system === sys && options.extendedDiagnostics) { - enable(); - return createSolutionPerfomrance(); - } -} -function createSolutionPerfomrance() { - let statistics; - return { - addAggregateStatistic, - forEachAggregateStatistics: forEachAggreateStatistics, - clear: clear2 - }; - function addAggregateStatistic(s) { - const existing = statistics == null ? void 0 : statistics.get(s.name); - if (existing) { - if (existing.type === 2 /* memory */) existing.value = Math.max(existing.value, s.value); - else existing.value += s.value; - } else { - (statistics ?? (statistics = /* @__PURE__ */ new Map())).set(s.name, s); - } - } - function forEachAggreateStatistics(cb) { - statistics == null ? void 0 : statistics.forEach(cb); - } - function clear2() { - statistics = void 0; - } -} -function reportSolutionBuilderTimes(builder, solutionPerformance) { - if (!solutionPerformance) return; - if (!isEnabled()) { - sys.write(Diagnostics.Performance_timings_for_diagnostics_or_extendedDiagnostics_are_not_available_in_this_session_A_native_implementation_of_the_Web_Performance_API_could_not_be_found.message + "\n"); - return; - } - const statistics = []; - statistics.push( - { name: "Projects in scope", value: getBuildOrderFromAnyBuildOrder(builder.getBuildOrder()).length, type: 1 /* count */ } - ); - reportSolutionBuilderCountStatistic("SolutionBuilder::Projects built"); - reportSolutionBuilderCountStatistic("SolutionBuilder::Timestamps only updates"); - reportSolutionBuilderCountStatistic("SolutionBuilder::Bundles updated"); - solutionPerformance.forEachAggregateStatistics((s) => { - s.name = `Aggregate ${s.name}`; - statistics.push(s); - }); - forEachMeasure((name, duration) => { - if (isSolutionMarkOrMeasure(name)) statistics.push({ name: `${getNameFromSolutionBuilderMarkOrMeasure(name)} time`, value: duration, type: 0 /* time */ }); - }); - disable(); - enable(); - solutionPerformance.clear(); - reportAllStatistics(sys, statistics); - function reportSolutionBuilderCountStatistic(name) { - const value = getCount(name); - if (value) { - statistics.push({ name: getNameFromSolutionBuilderMarkOrMeasure(name), value, type: 1 /* count */ }); - } - } - function getNameFromSolutionBuilderMarkOrMeasure(name) { - return name.replace("SolutionBuilder::", ""); - } -} -function canReportDiagnostics(system, compilerOptions) { - return system === sys && (compilerOptions.diagnostics || compilerOptions.extendedDiagnostics); -} -function canTrace(system, compilerOptions) { - return system === sys && compilerOptions.generateTrace; -} -function enableStatisticsAndTracing(system, compilerOptions, isBuildMode) { - if (canReportDiagnostics(system, compilerOptions)) { - enable(system); - } - if (canTrace(system, compilerOptions)) { - startTracing(isBuildMode ? "build" : "project", compilerOptions.generateTrace, compilerOptions.configFilePath); - } -} -function isSolutionMarkOrMeasure(name) { - return startsWith(name, "SolutionBuilder::"); -} -function reportStatistics(sys2, program, solutionPerformance) { - var _a; - const compilerOptions = program.getCompilerOptions(); - if (canTrace(sys2, compilerOptions)) { - (_a = tracing) == null ? void 0 : _a.stopTracing(); - } - let statistics; - if (canReportDiagnostics(sys2, compilerOptions)) { - statistics = []; - const memoryUsed = sys2.getMemoryUsage ? sys2.getMemoryUsage() : -1; - reportCountStatistic("Files", program.getSourceFiles().length); - const lineCounts = countLines(program); - if (compilerOptions.extendedDiagnostics) { - for (const [key, value] of lineCounts.entries()) { - reportCountStatistic("Lines of " + key, value); - } - } else { - reportCountStatistic("Lines", reduceLeftIterator(lineCounts.values(), (sum, count) => sum + count, 0)); - } - reportCountStatistic("Identifiers", program.getIdentifierCount()); - reportCountStatistic("Symbols", program.getSymbolCount()); - reportCountStatistic("Types", program.getTypeCount()); - reportCountStatistic("Instantiations", program.getInstantiationCount()); - if (memoryUsed >= 0) { - reportStatisticalValue( - { name: "Memory used", value: memoryUsed, type: 2 /* memory */ }, - /*aggregate*/ - true - ); - } - const isPerformanceEnabled = isEnabled(); - const programTime = isPerformanceEnabled ? getDuration("Program") : 0; - const bindTime = isPerformanceEnabled ? getDuration("Bind") : 0; - const checkTime = isPerformanceEnabled ? getDuration("Check") : 0; - const emitTime = isPerformanceEnabled ? getDuration("Emit") : 0; - if (compilerOptions.extendedDiagnostics) { - const caches = program.getRelationCacheSizes(); - reportCountStatistic("Assignability cache size", caches.assignable); - reportCountStatistic("Identity cache size", caches.identity); - reportCountStatistic("Subtype cache size", caches.subtype); - reportCountStatistic("Strict subtype cache size", caches.strictSubtype); - if (isPerformanceEnabled) { - forEachMeasure((name, duration) => { - if (!isSolutionMarkOrMeasure(name)) reportTimeStatistic( - `${name} time`, - duration, - /*aggregate*/ - true - ); - }); - } - } else if (isPerformanceEnabled) { - reportTimeStatistic( - "I/O read", - getDuration("I/O Read"), - /*aggregate*/ - true - ); - reportTimeStatistic( - "I/O write", - getDuration("I/O Write"), - /*aggregate*/ - true - ); - reportTimeStatistic( - "Parse time", - programTime, - /*aggregate*/ - true - ); - reportTimeStatistic( - "Bind time", - bindTime, - /*aggregate*/ - true - ); - reportTimeStatistic( - "Check time", - checkTime, - /*aggregate*/ - true - ); - reportTimeStatistic( - "Emit time", - emitTime, - /*aggregate*/ - true - ); - } - if (isPerformanceEnabled) { - reportTimeStatistic( - "Total time", - programTime + bindTime + checkTime + emitTime, - /*aggregate*/ - false - ); - } - reportAllStatistics(sys2, statistics); - if (!isPerformanceEnabled) { - sys2.write(Diagnostics.Performance_timings_for_diagnostics_or_extendedDiagnostics_are_not_available_in_this_session_A_native_implementation_of_the_Web_Performance_API_could_not_be_found.message + "\n"); - } else { - if (solutionPerformance) { - forEachMeasure((name) => { - if (!isSolutionMarkOrMeasure(name)) clearMeasures(name); - }); - forEachMark((name) => { - if (!isSolutionMarkOrMeasure(name)) clearMarks(name); - }); - } else { - disable(); - } - } - } - function reportStatisticalValue(s, aggregate) { - statistics.push(s); - if (aggregate) solutionPerformance == null ? void 0 : solutionPerformance.addAggregateStatistic(s); - } - function reportCountStatistic(name, count) { - reportStatisticalValue( - { name, value: count, type: 1 /* count */ }, - /*aggregate*/ - true - ); - } - function reportTimeStatistic(name, time, aggregate) { - reportStatisticalValue({ name, value: time, type: 0 /* time */ }, aggregate); - } -} -function reportAllStatistics(sys2, statistics) { - let nameSize = 0; - let valueSize = 0; - for (const s of statistics) { - if (s.name.length > nameSize) { - nameSize = s.name.length; - } - const value = statisticValue(s); - if (value.length > valueSize) { - valueSize = value.length; - } - } - for (const s of statistics) { - sys2.write(`${s.name}:`.padEnd(nameSize + 2) + statisticValue(s).toString().padStart(valueSize) + sys2.newLine); - } -} -function statisticValue(s) { - switch (s.type) { - case 1 /* count */: - return "" + s.value; - case 0 /* time */: - return (s.value / 1e3).toFixed(2) + "s"; - case 2 /* memory */: - return Math.round(s.value / 1e3) + "K"; - default: - Debug.assertNever(s.type); - } -} -function writeConfigFile(sys2, reportDiagnostic, options, fileNames) { - const currentDirectory = sys2.getCurrentDirectory(); - const file = normalizePath(combinePaths(currentDirectory, "tsconfig.json")); - if (sys2.fileExists(file)) { - reportDiagnostic(createCompilerDiagnostic(Diagnostics.A_tsconfig_json_file_is_already_defined_at_Colon_0, file)); - } else { - sys2.writeFile(file, generateTSConfig(options, fileNames, sys2.newLine)); - const output = [sys2.newLine, ...getHeader(sys2, "Created a new tsconfig.json with:")]; - output.push(getCompilerOptionsDiffValue(options, sys2.newLine) + sys2.newLine + sys2.newLine); - output.push(`You can learn more at https://aka.ms/tsconfig` + sys2.newLine); - for (const line of output) { - sys2.write(line); - } - } - return; -} - -// src/compiler/expressionToTypeNode.ts -function createSyntacticTypeNodeBuilder(options, resolver) { - const strictNullChecks = getStrictOptionValue(options, "strictNullChecks"); - return { - typeFromExpression, - serializeTypeOfDeclaration, - serializeReturnTypeForSignature, - serializeTypeOfExpression - }; - function serializeExistingTypeAnnotation(type, addUndefined) { - return type !== void 0 && (!addUndefined || type && canAddUndefined(type)) ? true : void 0; - } - function serializeTypeOfExpression(expr, context, addUndefined, preserveLiterals) { - return typeFromExpression( - expr, - context, - /*isConstContext*/ - false, - addUndefined, - preserveLiterals - ) ?? inferExpressionType(expr, context); - } - function serializeTypeOfDeclaration(node, context) { - switch (node.kind) { - case 171 /* PropertySignature */: - return serializeExistingTypeAnnotation(getEffectiveTypeAnnotationNode(node)); - case 169 /* Parameter */: - return typeFromParameter(node, context); - case 260 /* VariableDeclaration */: - return typeFromVariable(node, context); - case 172 /* PropertyDeclaration */: - return typeFromProperty(node, context); - case 208 /* BindingElement */: - return inferTypeOfDeclaration(node, context); - case 277 /* ExportAssignment */: - return serializeTypeOfExpression( - node.expression, - context, - /*addUndefined*/ - void 0, - /*preserveLiterals*/ - true - ); - case 211 /* PropertyAccessExpression */: - case 212 /* ElementAccessExpression */: - case 226 /* BinaryExpression */: - return serializeExistingTypeAnnotation(getEffectiveTypeAnnotationNode(node)) || inferTypeOfDeclaration(node, context); - case 303 /* PropertyAssignment */: - return typeFromExpression(node.initializer, context) || inferTypeOfDeclaration(node, context); - default: - Debug.assertNever(node, `Node needs to be an inferrable node, found ${Debug.formatSyntaxKind(node.kind)}`); - } - } - function serializeReturnTypeForSignature(node, context) { - switch (node.kind) { - case 177 /* GetAccessor */: - return typeFromAccessor(node, context); - case 174 /* MethodDeclaration */: - case 262 /* FunctionDeclaration */: - case 180 /* ConstructSignature */: - case 173 /* MethodSignature */: - case 179 /* CallSignature */: - case 176 /* Constructor */: - case 178 /* SetAccessor */: - case 181 /* IndexSignature */: - case 184 /* FunctionType */: - case 185 /* ConstructorType */: - case 218 /* FunctionExpression */: - case 219 /* ArrowFunction */: - case 317 /* JSDocFunctionType */: - case 323 /* JSDocSignature */: - return createReturnFromSignature(node, context); - default: - Debug.assertNever(node, `Node needs to be an inferrable node, found ${Debug.formatSyntaxKind(node.kind)}`); - } - } - function getTypeAnnotationFromAccessor2(accessor) { - if (accessor) { - return accessor.kind === 177 /* GetAccessor */ ? getEffectiveReturnTypeNode(accessor) : accessor.parameters.length > 0 ? getEffectiveTypeAnnotationNode(accessor.parameters[0]) : void 0; - } - } - function getTypeAnnotationFromAllAccessorDeclarations(node, accessors) { - let accessorType = getTypeAnnotationFromAccessor2(node); - if (!accessorType && node !== accessors.firstAccessor) { - accessorType = getTypeAnnotationFromAccessor2(accessors.firstAccessor); - } - if (!accessorType && accessors.secondAccessor && node !== accessors.secondAccessor) { - accessorType = getTypeAnnotationFromAccessor2(accessors.secondAccessor); - } - return accessorType; - } - function typeFromAccessor(node, context) { - const accessorDeclarations = resolver.getAllAccessorDeclarations(node); - const accessorType = getTypeAnnotationFromAllAccessorDeclarations(node, accessorDeclarations); - if (accessorType) { - return serializeExistingTypeAnnotation(accessorType); - } - if (accessorDeclarations.getAccessor) { - return createReturnFromSignature(accessorDeclarations.getAccessor, context); - } - return false; - } - function typeFromVariable(node, context) { - const declaredType = getEffectiveTypeAnnotationNode(node); - if (declaredType) { - return serializeExistingTypeAnnotation(declaredType); - } - let resultType; - if (node.initializer) { - if (!resolver.isExpandoFunctionDeclaration(node)) { - resultType = typeFromExpression( - node.initializer, - context, - /*isConstContext*/ - void 0, - /*requiresAddingUndefined*/ - void 0, - isVarConstLike(node) - ); - } - } - return resultType ?? inferTypeOfDeclaration(node, context); - } - function typeFromParameter(node, context) { - const parent = node.parent; - if (parent.kind === 178 /* SetAccessor */) { - return typeFromAccessor(parent, context); - } - const declaredType = getEffectiveTypeAnnotationNode(node); - const addUndefined = resolver.requiresAddingImplicitUndefined(node, context.enclosingDeclaration); - let resultType; - if (declaredType) { - resultType = serializeExistingTypeAnnotation(declaredType, addUndefined); - } else { - if (node.initializer && isIdentifier(node.name)) { - resultType = typeFromExpression( - node.initializer, - context, - /*isConstContext*/ - void 0, - addUndefined - ); - } - } - return resultType ?? inferTypeOfDeclaration(node, context); - } - function typeFromProperty(node, context) { - const declaredType = getEffectiveTypeAnnotationNode(node); - if (declaredType) { - return serializeExistingTypeAnnotation(declaredType); - } - let resultType; - if (node.initializer) { - const isReadonly = isDeclarationReadonly(node); - resultType = typeFromExpression( - node.initializer, - context, - /*isConstContext*/ - void 0, - /*requiresAddingUndefined*/ - void 0, - isReadonly - ); - } - return resultType ?? inferTypeOfDeclaration(node, context); - } - function inferTypeOfDeclaration(node, context) { - context.tracker.reportInferenceFallback(node); - return false; - } - function inferExpressionType(node, context) { - context.tracker.reportInferenceFallback(node); - return false; - } - function inferReturnTypeOfSignatureSignature(node, context) { - context.tracker.reportInferenceFallback(node); - return false; - } - function inferAccessorType(node, allAccessors, context) { - if (node.kind === 177 /* GetAccessor */) { - return createReturnFromSignature(node, context); - } else { - context.tracker.reportInferenceFallback(node); - return false; - } - } - function typeFromTypeAssertion(expression, type, context, requiresAddingUndefined) { - if (isConstTypeReference(type)) { - return typeFromExpression( - expression, - context, - /*isConstContext*/ - true, - requiresAddingUndefined - ); - } - if (requiresAddingUndefined && !canAddUndefined(type)) { - context.tracker.reportInferenceFallback(type); - } - return serializeExistingTypeAnnotation(type); - } - function typeFromExpression(node, context, isConstContext = false, requiresAddingUndefined = false, preserveLiterals = false) { - switch (node.kind) { - case 217 /* ParenthesizedExpression */: - if (isJSDocTypeAssertion(node)) { - return typeFromTypeAssertion(node.expression, getJSDocTypeAssertionType(node), context, requiresAddingUndefined); - } - return typeFromExpression(node.expression, context, isConstContext, requiresAddingUndefined); - case 80 /* Identifier */: - if (resolver.isUndefinedIdentifierExpression(node)) { - return true; - } - break; - case 106 /* NullKeyword */: - return true; - case 219 /* ArrowFunction */: - case 218 /* FunctionExpression */: - return typeFromFunctionLikeExpression(node, context); - case 216 /* TypeAssertionExpression */: - case 234 /* AsExpression */: - const asExpression = node; - return typeFromTypeAssertion(asExpression.expression, asExpression.type, context, requiresAddingUndefined); - case 224 /* PrefixUnaryExpression */: - const unaryExpression = node; - if (isPrimitiveLiteralValue(unaryExpression)) { - if (unaryExpression.operand.kind === 10 /* BigIntLiteral */) { - return typeFromPrimitiveLiteral(); - } - if (unaryExpression.operand.kind === 9 /* NumericLiteral */) { - return typeFromPrimitiveLiteral(); - } - } - break; - case 9 /* NumericLiteral */: - return typeFromPrimitiveLiteral(); - case 228 /* TemplateExpression */: - if (!isConstContext && !preserveLiterals) { - return true; - } - break; - case 15 /* NoSubstitutionTemplateLiteral */: - case 11 /* StringLiteral */: - return typeFromPrimitiveLiteral(); - case 10 /* BigIntLiteral */: - return typeFromPrimitiveLiteral(); - case 112 /* TrueKeyword */: - case 97 /* FalseKeyword */: - return typeFromPrimitiveLiteral(); - case 209 /* ArrayLiteralExpression */: - return typeFromArrayLiteral(node, context, isConstContext); - case 210 /* ObjectLiteralExpression */: - return typeFromObjectLiteral(node, context, isConstContext); - case 231 /* ClassExpression */: - return inferExpressionType(node, context); - } - return void 0; - } - function typeFromFunctionLikeExpression(fnNode, context) { - const returnType = serializeExistingTypeAnnotation(fnNode.type) ?? createReturnFromSignature(fnNode, context); - const typeParameters = reuseTypeParameters(fnNode.typeParameters); - const parameters = fnNode.parameters.every((p) => ensureParameter(p, context)); - return returnType && typeParameters && parameters; - } - function canGetTypeFromArrayLiteral(arrayLiteral, context, isConstContext) { - if (!isConstContext) { - context.tracker.reportInferenceFallback(arrayLiteral); - return false; - } - for (const element of arrayLiteral.elements) { - if (element.kind === 230 /* SpreadElement */) { - context.tracker.reportInferenceFallback(element); - return false; - } - } - return true; - } - function typeFromArrayLiteral(arrayLiteral, context, isConstContext) { - if (!canGetTypeFromArrayLiteral(arrayLiteral, context, isConstContext)) { - return false; - } - let canInferArray = true; - for (const element of arrayLiteral.elements) { - Debug.assert(element.kind !== 230 /* SpreadElement */); - if (element.kind !== 232 /* OmittedExpression */) { - canInferArray = (typeFromExpression(element, context, isConstContext) ?? inferExpressionType(element, context)) && canInferArray; - } - } - return true; - } - function canGetTypeFromObjectLiteral(objectLiteral, context) { - let result = true; - for (const prop of objectLiteral.properties) { - if (prop.flags & 262144 /* ThisNodeHasError */) { - result = false; - break; - } - if (prop.kind === 304 /* ShorthandPropertyAssignment */ || prop.kind === 305 /* SpreadAssignment */) { - context.tracker.reportInferenceFallback(prop); - result = false; - } else if (prop.name.flags & 262144 /* ThisNodeHasError */) { - result = false; - break; - } else if (prop.name.kind === 81 /* PrivateIdentifier */) { - result = false; - } else if (prop.name.kind === 167 /* ComputedPropertyName */) { - const expression = prop.name.expression; - if (!isPrimitiveLiteralValue( - expression, - /*includeBigInt*/ - false - ) && !resolver.isDefinitelyReferenceToGlobalSymbolObject(expression)) { - context.tracker.reportInferenceFallback(prop.name); - result = false; - } - } - } - return result; - } - function typeFromObjectLiteral(objectLiteral, context, isConstContext) { - if (!canGetTypeFromObjectLiteral(objectLiteral, context)) return false; - let canInferObjectLiteral = true; - for (const prop of objectLiteral.properties) { - Debug.assert(!isShorthandPropertyAssignment(prop) && !isSpreadAssignment(prop)); - const name = prop.name; - switch (prop.kind) { - case 174 /* MethodDeclaration */: - canInferObjectLiteral = !!typeFromObjectLiteralMethod(prop, name, context) && canInferObjectLiteral; - break; - case 303 /* PropertyAssignment */: - canInferObjectLiteral = !!typeFromObjectLiteralPropertyAssignment(prop, name, context, isConstContext) && canInferObjectLiteral; - break; - case 178 /* SetAccessor */: - case 177 /* GetAccessor */: - canInferObjectLiteral = !!typeFromObjectLiteralAccessor(prop, name, context) && canInferObjectLiteral; - break; - } - } - return canInferObjectLiteral; - } - function typeFromObjectLiteralPropertyAssignment(prop, name, context, isConstContext) { - return typeFromExpression(prop.initializer, context, isConstContext) ?? inferTypeOfDeclaration(prop, context); - } - function ensureParameter(p, context) { - return typeFromParameter(p, context); - } - function reuseTypeParameters(typeParameters) { - return (typeParameters == null ? void 0 : typeParameters.every( - (tp) => serializeExistingTypeAnnotation(tp.constraint) && serializeExistingTypeAnnotation(tp.default) - )) ?? true; - } - function typeFromObjectLiteralMethod(method, name, context) { - const returnType = createReturnFromSignature(method, context); - const typeParameters = reuseTypeParameters(method.typeParameters); - const parameters = method.parameters.every((p) => ensureParameter(p, context)); - return returnType && typeParameters && parameters; - } - function typeFromObjectLiteralAccessor(accessor, name, context) { - const allAccessors = resolver.getAllAccessorDeclarations(accessor); - const getAccessorType = allAccessors.getAccessor && getTypeAnnotationFromAccessor2(allAccessors.getAccessor); - const setAccessorType = allAccessors.setAccessor && getTypeAnnotationFromAccessor2(allAccessors.setAccessor); - if (getAccessorType !== void 0 && setAccessorType !== void 0) { - const parameters = accessor.parameters.every((p) => ensureParameter(p, context)); - if (isGetAccessor(accessor)) { - return parameters && serializeExistingTypeAnnotation(getAccessorType); - } else { - return parameters; - } - } else if (allAccessors.firstAccessor === accessor) { - const foundType = getAccessorType ?? setAccessorType; - const propertyType = foundType ? serializeExistingTypeAnnotation(foundType) : inferAccessorType(accessor, allAccessors, context); - return propertyType; - } - return false; - } - function typeFromPrimitiveLiteral() { - return true; - } - function canAddUndefined(node) { - if (!strictNullChecks) return true; - if (isKeyword(node.kind) || node.kind === 201 /* LiteralType */ || node.kind === 184 /* FunctionType */ || node.kind === 185 /* ConstructorType */ || node.kind === 188 /* ArrayType */ || node.kind === 189 /* TupleType */ || node.kind === 187 /* TypeLiteral */ || node.kind === 203 /* TemplateLiteralType */ || node.kind === 197 /* ThisType */) { - return true; - } - if (node.kind === 196 /* ParenthesizedType */) { - return canAddUndefined(node.type); - } - if (node.kind === 192 /* UnionType */ || node.kind === 193 /* IntersectionType */) { - return node.types.every(canAddUndefined); - } - return false; - } - function createReturnFromSignature(fn, context) { - let returnType; - const returnTypeNode = getEffectiveReturnTypeNode(fn); - if (returnTypeNode) { - returnType = serializeExistingTypeAnnotation(returnTypeNode); - } - if (!returnType && isValueSignatureDeclaration(fn)) { - returnType = typeFromSingleReturnExpression(fn, context); - } - return returnType ?? inferReturnTypeOfSignatureSignature(fn, context); - } - function typeFromSingleReturnExpression(declaration, context) { - let candidateExpr; - if (declaration && !nodeIsMissing(declaration.body)) { - if (getFunctionFlags(declaration) & 3 /* AsyncGenerator */) return void 0; - const body = declaration.body; - if (body && isBlock(body)) { - forEachReturnStatement(body, (s) => { - if (!candidateExpr) { - candidateExpr = s.expression; - } else { - candidateExpr = void 0; - return true; - } - }); - } else { - candidateExpr = body; - } - } - if (candidateExpr) { - return typeFromExpression(candidateExpr, context); - } - return void 0; - } -} - -// src/tsc/tsc.ts -Debug.loggingHost = { - log(_level, s) { - sys.write(`${s || ""}${sys.newLine}`); - } -}; -if (Debug.isDebugging) { - Debug.enableDebugInfo(); -} -if (sys.tryEnableSourceMapsForHost && /^development$/i.test(sys.getEnvironmentVariable("NODE_ENV"))) { - sys.tryEnableSourceMapsForHost(); -} -if (sys.setBlocking) { - sys.setBlocking(); -} -executeCommandLine(sys, noop, sys.args); -//# sourceMappingURL=tsc.js.map +// This file is a shim which defers loading the real module until the compile cache is enabled. +try { + const { enableCompileCache } = require("node:module"); + if (enableCompileCache) { + enableCompileCache(); + } +} catch {} +module.exports = require("./_tsc.js"); diff --git a/node_modules/typescript/lib/tsserver.js b/node_modules/typescript/lib/tsserver.js index f382665614..736fff31ed 100644 --- a/node_modules/typescript/lib/tsserver.js +++ b/node_modules/typescript/lib/tsserver.js @@ -1,623 +1,8 @@ -/*! ***************************************************************************** -Copyright (c) Microsoft Corporation. All rights reserved. -Licensed under the Apache License, Version 2.0 (the "License"); you may not use -this file except in compliance with the License. You may obtain a copy of the -License at http://www.apache.org/licenses/LICENSE-2.0 - -THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY -KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED -WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE, -MERCHANTABLITY OR NON-INFRINGEMENT. - -See the Apache Version 2.0 License for specific language governing permissions -and limitations under the License. -***************************************************************************** */ - - -"use strict"; -var __create = Object.create; -var __defProp = Object.defineProperty; -var __getOwnPropDesc = Object.getOwnPropertyDescriptor; -var __getOwnPropNames = Object.getOwnPropertyNames; -var __getProtoOf = Object.getPrototypeOf; -var __hasOwnProp = Object.prototype.hasOwnProperty; -var __copyProps = (to, from, except, desc) => { - if (from && typeof from === "object" || typeof from === "function") { - for (let key of __getOwnPropNames(from)) - if (!__hasOwnProp.call(to, key) && key !== except) - __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable }); - } - return to; -}; -var __reExport = (target, mod, secondTarget) => (__copyProps(target, mod, "default"), secondTarget && __copyProps(secondTarget, mod, "default")); -var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps( - // If the importer is in node compatibility mode or this is not an ESM - // file that has been converted to a CommonJS file using a Babel- - // compatible transform (i.e. "__esModule" has not been set), then set - // "default" to the CommonJS "module.exports" for node compatibility. - isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target, - mod -)); - -// src/tsserver/server.ts -var import_os2 = __toESM(require("os")); - -// src/typescript/typescript.ts -var typescript_exports = {}; -__reExport(typescript_exports, require("./typescript.js")); - -// src/tsserver/nodeServer.ts -var import_child_process = __toESM(require("child_process")); -var import_fs = __toESM(require("fs")); -var import_net = __toESM(require("net")); -var import_os = __toESM(require("os")); -var import_readline = __toESM(require("readline")); - -// src/tsserver/common.ts -function getLogLevel(level) { - if (level) { - const l = level.toLowerCase(); - for (const name in typescript_exports.server.LogLevel) { - if (isNaN(+name) && l === name.toLowerCase()) { - return typescript_exports.server.LogLevel[name]; - } - } - } - return void 0; -} - -// src/tsserver/nodeServer.ts -function parseLoggingEnvironmentString(logEnvStr) { - if (!logEnvStr) { - return {}; - } - const logEnv = { logToFile: true }; - const args = logEnvStr.split(" "); - const len = args.length - 1; - for (let i = 0; i < len; i += 2) { - const option = args[i]; - const { value, extraPartCounter } = getEntireValue(i + 1); - i += extraPartCounter; - if (option && value) { - switch (option) { - case "-file": - logEnv.file = value; - break; - case "-level": - const level = getLogLevel(value); - logEnv.detailLevel = level !== void 0 ? level : typescript_exports.server.LogLevel.normal; - break; - case "-traceToConsole": - logEnv.traceToConsole = value.toLowerCase() === "true"; - break; - case "-logToFile": - logEnv.logToFile = value.toLowerCase() === "true"; - break; - } - } - } - return logEnv; - function getEntireValue(initialIndex) { - let pathStart = args[initialIndex]; - let extraPartCounter = 0; - if (pathStart.charCodeAt(0) === typescript_exports.CharacterCodes.doubleQuote && pathStart.charCodeAt(pathStart.length - 1) !== typescript_exports.CharacterCodes.doubleQuote) { - for (let i = initialIndex + 1; i < args.length; i++) { - pathStart += " "; - pathStart += args[i]; - extraPartCounter++; - if (pathStart.charCodeAt(pathStart.length - 1) === typescript_exports.CharacterCodes.doubleQuote) break; - } - } - return { value: (0, typescript_exports.stripQuotes)(pathStart), extraPartCounter }; - } -} -function parseServerMode() { - const mode = typescript_exports.server.findArgument("--serverMode"); - if (!mode) return void 0; - switch (mode.toLowerCase()) { - case "semantic": - return typescript_exports.LanguageServiceMode.Semantic; - case "partialsemantic": - return typescript_exports.LanguageServiceMode.PartialSemantic; - case "syntactic": - return typescript_exports.LanguageServiceMode.Syntactic; - default: - return mode; - } -} -function initializeNodeSystem() { - const sys4 = typescript_exports.Debug.checkDefined(typescript_exports.sys); - class Logger { - constructor(logFilename, traceToConsole, level) { - this.logFilename = logFilename; - this.traceToConsole = traceToConsole; - this.level = level; - this.seq = 0; - this.inGroup = false; - this.firstInGroup = true; - this.fd = -1; - if (this.logFilename) { - try { - this.fd = import_fs.default.openSync(this.logFilename, "w"); - } catch { - } - } - } - static padStringRight(str, padding) { - return (str + padding).slice(0, padding.length); - } - close() { - if (this.fd >= 0) { - import_fs.default.close(this.fd, typescript_exports.noop); - } - } - getLogFileName() { - return this.logFilename; - } - perftrc(s) { - this.msg(s, typescript_exports.server.Msg.Perf); - } - info(s) { - this.msg(s, typescript_exports.server.Msg.Info); - } - err(s) { - this.msg(s, typescript_exports.server.Msg.Err); - } - startGroup() { - this.inGroup = true; - this.firstInGroup = true; - } - endGroup() { - this.inGroup = false; - } - loggingEnabled() { - return !!this.logFilename || this.traceToConsole; - } - hasLevel(level) { - return this.loggingEnabled() && this.level >= level; - } - msg(s, type = typescript_exports.server.Msg.Err) { - if (!this.canWrite()) return; - s = `[${typescript_exports.server.nowString()}] ${s} -`; - if (!this.inGroup || this.firstInGroup) { - const prefix = Logger.padStringRight(type + " " + this.seq.toString(), " "); - s = prefix + s; - } - this.write(s, type); - if (!this.inGroup) { - this.seq++; - } - } - canWrite() { - return this.fd >= 0 || this.traceToConsole; - } - write(s, _type) { - if (this.fd >= 0) { - const buf = Buffer.from(s); - import_fs.default.writeSync( - this.fd, - buf, - 0, - buf.length, - /*position*/ - null - ); - } - if (this.traceToConsole) { - console.warn(s); - } - } - } - const libDirectory = (0, typescript_exports.getDirectoryPath)((0, typescript_exports.normalizePath)(sys4.getExecutingFilePath())); - const useWatchGuard = process.platform === "win32"; - const originalWatchDirectory = sys4.watchDirectory.bind(sys4); - const logger = createLogger(); - typescript_exports.Debug.loggingHost = { - log(level, s) { - switch (level) { - case typescript_exports.LogLevel.Error: - case typescript_exports.LogLevel.Warning: - return logger.msg(s, typescript_exports.server.Msg.Err); - case typescript_exports.LogLevel.Info: - case typescript_exports.LogLevel.Verbose: - return logger.msg(s, typescript_exports.server.Msg.Info); - } - } - }; - const pending = (0, typescript_exports.createQueue)(); - let canWrite = true; - if (useWatchGuard) { - const currentDrive = extractWatchDirectoryCacheKey( - sys4.resolvePath(sys4.getCurrentDirectory()), - /*currentDriveKey*/ - void 0 - ); - const statusCache = /* @__PURE__ */ new Map(); - sys4.watchDirectory = (path, callback, recursive, options) => { - const cacheKey = extractWatchDirectoryCacheKey(path, currentDrive); - let status = cacheKey && statusCache.get(cacheKey); - if (status === void 0) { - if (logger.hasLevel(typescript_exports.server.LogLevel.verbose)) { - logger.info(`${cacheKey} for path ${path} not found in cache...`); - } - try { - const args = [(0, typescript_exports.combinePaths)(libDirectory, "watchGuard.js"), path]; - if (logger.hasLevel(typescript_exports.server.LogLevel.verbose)) { - logger.info(`Starting ${process.execPath} with args:${typescript_exports.server.stringifyIndented(args)}`); - } - import_child_process.default.execFileSync(process.execPath, args, { stdio: "ignore", env: { ELECTRON_RUN_AS_NODE: "1" } }); - status = true; - if (logger.hasLevel(typescript_exports.server.LogLevel.verbose)) { - logger.info(`WatchGuard for path ${path} returned: OK`); - } - } catch (e) { - status = false; - if (logger.hasLevel(typescript_exports.server.LogLevel.verbose)) { - logger.info(`WatchGuard for path ${path} returned: ${e.message}`); - } - } - if (cacheKey) { - statusCache.set(cacheKey, status); - } - } else if (logger.hasLevel(typescript_exports.server.LogLevel.verbose)) { - logger.info(`watchDirectory for ${path} uses cached drive information.`); - } - if (status) { - return watchDirectorySwallowingException(path, callback, recursive, options); - } else { - return typescript_exports.noopFileWatcher; - } - }; - } else { - sys4.watchDirectory = watchDirectorySwallowingException; - } - sys4.write = (s) => writeMessage(Buffer.from(s, "utf8")); - sys4.setTimeout = setTimeout; - sys4.clearTimeout = clearTimeout; - sys4.setImmediate = setImmediate; - sys4.clearImmediate = clearImmediate; - if (typeof global !== "undefined" && global.gc) { - sys4.gc = () => { - var _a; - return (_a = global.gc) == null ? void 0 : _a.call(global); - }; - } - let cancellationToken; - try { - const factory = require("./cancellationToken.js"); - cancellationToken = factory(sys4.args); - } catch { - cancellationToken = typescript_exports.server.nullCancellationToken; - } - const localeStr = typescript_exports.server.findArgument("--locale"); - if (localeStr) { - (0, typescript_exports.validateLocaleAndSetLanguage)(localeStr, sys4); - } - const modeOrUnknown = parseServerMode(); - let serverMode; - let unknownServerMode; - if (modeOrUnknown !== void 0) { - if (typeof modeOrUnknown === "number") serverMode = modeOrUnknown; - else unknownServerMode = modeOrUnknown; - } - return { - args: process.argv, - logger, - cancellationToken, - serverMode, - unknownServerMode, - startSession: startNodeSession - }; - function createLogger() { - const cmdLineLogFileName = typescript_exports.server.findArgument("--logFile"); - const cmdLineVerbosity = getLogLevel(typescript_exports.server.findArgument("--logVerbosity")); - const envLogOptions = parseLoggingEnvironmentString(process.env.TSS_LOG); - const unsubstitutedLogFileName = cmdLineLogFileName ? (0, typescript_exports.stripQuotes)(cmdLineLogFileName) : envLogOptions.logToFile ? envLogOptions.file || libDirectory + "/.log" + process.pid.toString() : void 0; - const substitutedLogFileName = unsubstitutedLogFileName ? unsubstitutedLogFileName.replace("PID", process.pid.toString()) : void 0; - const logVerbosity = cmdLineVerbosity || envLogOptions.detailLevel; - return new Logger(substitutedLogFileName, envLogOptions.traceToConsole, logVerbosity); - } - function writeMessage(buf) { - if (!canWrite) { - pending.enqueue(buf); - } else { - canWrite = false; - process.stdout.write(buf, setCanWriteFlagAndWriteMessageIfNecessary); - } - } - function setCanWriteFlagAndWriteMessageIfNecessary() { - canWrite = true; - if (!pending.isEmpty()) { - writeMessage(pending.dequeue()); - } - } - function extractWatchDirectoryCacheKey(path, currentDriveKey) { - path = (0, typescript_exports.normalizeSlashes)(path); - if (isUNCPath(path)) { - const firstSlash = path.indexOf(typescript_exports.directorySeparator, 2); - return firstSlash !== -1 ? (0, typescript_exports.toFileNameLowerCase)(path.substring(0, firstSlash)) : path; - } - const rootLength = (0, typescript_exports.getRootLength)(path); - if (rootLength === 0) { - return currentDriveKey; - } - if (path.charCodeAt(1) === typescript_exports.CharacterCodes.colon && path.charCodeAt(2) === typescript_exports.CharacterCodes.slash) { - return (0, typescript_exports.toFileNameLowerCase)(path.charAt(0)); - } - if (path.charCodeAt(0) === typescript_exports.CharacterCodes.slash && path.charCodeAt(1) !== typescript_exports.CharacterCodes.slash) { - return currentDriveKey; - } - return void 0; - } - function isUNCPath(s) { - return s.length > 2 && s.charCodeAt(0) === typescript_exports.CharacterCodes.slash && s.charCodeAt(1) === typescript_exports.CharacterCodes.slash; - } - function watchDirectorySwallowingException(path, callback, recursive, options) { - try { - return originalWatchDirectory(path, callback, recursive, options); - } catch (e) { - logger.info(`Exception when creating directory watcher: ${e.message}`); - return typescript_exports.noopFileWatcher; - } - } -} -function parseEventPort(eventPortStr) { - const eventPort = eventPortStr === void 0 ? void 0 : parseInt(eventPortStr); - return eventPort !== void 0 && !isNaN(eventPort) ? eventPort : void 0; -} -function startNodeSession(options, logger, cancellationToken) { - const rl = import_readline.default.createInterface({ - input: process.stdin, - output: process.stdout, - terminal: false - }); - const _NodeTypingsInstallerAdapter = class _NodeTypingsInstallerAdapter extends typescript_exports.server.TypingsInstallerAdapter { - constructor(telemetryEnabled2, logger2, host, globalTypingsCacheLocation, typingSafeListLocation2, typesMapLocation2, npmLocation2, validateDefaultNpmLocation2, event) { - super( - telemetryEnabled2, - logger2, - host, - globalTypingsCacheLocation, - event, - _NodeTypingsInstallerAdapter.maxActiveRequestCount - ); - this.typingSafeListLocation = typingSafeListLocation2; - this.typesMapLocation = typesMapLocation2; - this.npmLocation = npmLocation2; - this.validateDefaultNpmLocation = validateDefaultNpmLocation2; - } - createInstallerProcess() { - if (this.logger.hasLevel(typescript_exports.server.LogLevel.requestTime)) { - this.logger.info("Binding..."); - } - const args = [typescript_exports.server.Arguments.GlobalCacheLocation, this.globalTypingsCacheLocation]; - if (this.telemetryEnabled) { - args.push(typescript_exports.server.Arguments.EnableTelemetry); - } - if (this.logger.loggingEnabled() && this.logger.getLogFileName()) { - args.push(typescript_exports.server.Arguments.LogFile, (0, typescript_exports.combinePaths)((0, typescript_exports.getDirectoryPath)((0, typescript_exports.normalizeSlashes)(this.logger.getLogFileName())), `ti-${process.pid}.log`)); - } - if (this.typingSafeListLocation) { - args.push(typescript_exports.server.Arguments.TypingSafeListLocation, this.typingSafeListLocation); - } - if (this.typesMapLocation) { - args.push(typescript_exports.server.Arguments.TypesMapLocation, this.typesMapLocation); - } - if (this.npmLocation) { - args.push(typescript_exports.server.Arguments.NpmLocation, this.npmLocation); - } - if (this.validateDefaultNpmLocation) { - args.push(typescript_exports.server.Arguments.ValidateDefaultNpmLocation); - } - const execArgv = []; - for (const arg of process.execArgv) { - const match = /^--((?:debug|inspect)(?:-brk)?)(?:=(\d+))?$/.exec(arg); - if (match) { - const currentPort = match[2] !== void 0 ? +match[2] : match[1].charAt(0) === "d" ? 5858 : 9229; - execArgv.push(`--${match[1]}=${currentPort + 1}`); - break; - } - } - const typingsInstaller = (0, typescript_exports.combinePaths)((0, typescript_exports.getDirectoryPath)(typescript_exports.sys.getExecutingFilePath()), "typingsInstaller.js"); - this.installer = import_child_process.default.fork(typingsInstaller, args, { execArgv }); - this.installer.on("message", (m) => this.handleMessage(m)); - this.host.setImmediate(() => this.event({ pid: this.installer.pid }, "typingsInstallerPid")); - process.on("exit", () => { - this.installer.kill(); - }); - return this.installer; - } - }; - // This number is essentially arbitrary. Processing more than one typings request - // at a time makes sense, but having too many in the pipe results in a hang - // (see https://github.com/nodejs/node/issues/7657). - // It would be preferable to base our limit on the amount of space left in the - // buffer, but we have yet to find a way to retrieve that value. - _NodeTypingsInstallerAdapter.maxActiveRequestCount = 10; - let NodeTypingsInstallerAdapter = _NodeTypingsInstallerAdapter; - class IOSession extends typescript_exports.server.Session { - constructor() { - const event = (body, eventName) => { - this.event(body, eventName); - }; - const host = typescript_exports.sys; - const typingsInstaller = disableAutomaticTypingAcquisition ? void 0 : new NodeTypingsInstallerAdapter(telemetryEnabled, logger, host, getGlobalTypingsCacheLocation(), typingSafeListLocation, typesMapLocation, npmLocation, validateDefaultNpmLocation, event); - super({ - host, - cancellationToken, - ...options, - typingsInstaller, - byteLength: Buffer.byteLength, - hrtime: process.hrtime, - logger, - canUseEvents: true, - typesMapLocation - }); - this.eventPort = eventPort; - if (this.canUseEvents && this.eventPort) { - const s = import_net.default.connect({ port: this.eventPort }, () => { - this.eventSocket = s; - if (this.socketEventQueue) { - for (const event2 of this.socketEventQueue) { - this.writeToEventSocket(event2.body, event2.eventName); - } - this.socketEventQueue = void 0; - } - }); - } - this.constructed = true; - } - event(body, eventName) { - typescript_exports.Debug.assert(!!this.constructed, "Should only call `IOSession.prototype.event` on an initialized IOSession"); - if (this.canUseEvents && this.eventPort) { - if (!this.eventSocket) { - if (this.logger.hasLevel(typescript_exports.server.LogLevel.verbose)) { - this.logger.info(`eventPort: event "${eventName}" queued, but socket not yet initialized`); - } - (this.socketEventQueue || (this.socketEventQueue = [])).push({ body, eventName }); - return; - } else { - typescript_exports.Debug.assert(this.socketEventQueue === void 0); - this.writeToEventSocket(body, eventName); - } - } else { - super.event(body, eventName); - } - } - writeToEventSocket(body, eventName) { - this.eventSocket.write(typescript_exports.server.formatMessage(typescript_exports.server.toEvent(eventName, body), this.logger, this.byteLength, this.host.newLine), "utf8"); - } - exit() { - var _a; - this.logger.info("Exiting..."); - this.projectService.closeLog(); - (_a = typescript_exports.tracing) == null ? void 0 : _a.stopTracing(); - process.exit(0); - } - listen() { - rl.on("line", (input) => { - const message = input.trim(); - this.onMessage(message); - }); - rl.on("close", () => { - this.exit(); - }); - } - } - class IpcIOSession extends IOSession { - writeMessage(msg) { - const verboseLogging = logger.hasLevel(typescript_exports.server.LogLevel.verbose); - if (verboseLogging) { - const json = JSON.stringify(msg); - logger.info(`${msg.type}:${typescript_exports.server.indent(json)}`); - } - process.send(msg); - } - parseMessage(message) { - return message; - } - toStringMessage(message) { - return JSON.stringify(message, void 0, 2); - } - listen() { - process.on("message", (e) => { - this.onMessage(e); - }); - process.on("disconnect", () => { - this.exit(); - }); - } - } - const eventPort = parseEventPort(typescript_exports.server.findArgument("--eventPort")); - const typingSafeListLocation = typescript_exports.server.findArgument(typescript_exports.server.Arguments.TypingSafeListLocation); - const typesMapLocation = typescript_exports.server.findArgument(typescript_exports.server.Arguments.TypesMapLocation) || (0, typescript_exports.combinePaths)((0, typescript_exports.getDirectoryPath)(typescript_exports.sys.getExecutingFilePath()), "typesMap.json"); - const npmLocation = typescript_exports.server.findArgument(typescript_exports.server.Arguments.NpmLocation); - const validateDefaultNpmLocation = typescript_exports.server.hasArgument(typescript_exports.server.Arguments.ValidateDefaultNpmLocation); - const disableAutomaticTypingAcquisition = typescript_exports.server.hasArgument("--disableAutomaticTypingAcquisition"); - const useNodeIpc = typescript_exports.server.hasArgument("--useNodeIpc"); - const telemetryEnabled = typescript_exports.server.hasArgument(typescript_exports.server.Arguments.EnableTelemetry); - const commandLineTraceDir = typescript_exports.server.findArgument("--traceDirectory"); - const traceDir = commandLineTraceDir ? (0, typescript_exports.stripQuotes)(commandLineTraceDir) : process.env.TSS_TRACE; - if (traceDir) { - (0, typescript_exports.startTracing)("server", traceDir); - } - const ioSession = useNodeIpc ? new IpcIOSession() : new IOSession(); - process.on("uncaughtException", (err) => { - ioSession.logError(err, "unknown"); - }); - process.noAsar = true; - ioSession.listen(); - function getGlobalTypingsCacheLocation() { - switch (process.platform) { - case "win32": { - const basePath = process.env.LOCALAPPDATA || process.env.APPDATA || import_os.default.homedir && import_os.default.homedir() || process.env.USERPROFILE || process.env.HOMEDRIVE && process.env.HOMEPATH && (0, typescript_exports.normalizeSlashes)(process.env.HOMEDRIVE + process.env.HOMEPATH) || import_os.default.tmpdir(); - return (0, typescript_exports.combinePaths)((0, typescript_exports.combinePaths)((0, typescript_exports.normalizeSlashes)(basePath), "Microsoft/TypeScript"), typescript_exports.versionMajorMinor); - } - case "openbsd": - case "freebsd": - case "netbsd": - case "darwin": - case "linux": - case "android": { - const cacheLocation = getNonWindowsCacheLocation(process.platform === "darwin"); - return (0, typescript_exports.combinePaths)((0, typescript_exports.combinePaths)(cacheLocation, "typescript"), typescript_exports.versionMajorMinor); - } - default: - return typescript_exports.Debug.fail(`unsupported platform '${process.platform}'`); - } - } - function getNonWindowsCacheLocation(platformIsDarwin) { - if (process.env.XDG_CACHE_HOME) { - return process.env.XDG_CACHE_HOME; - } - const usersDir = platformIsDarwin ? "Users" : "home"; - const homePath = import_os.default.homedir && import_os.default.homedir() || process.env.HOME || (process.env.LOGNAME || process.env.USER) && `/${usersDir}/${process.env.LOGNAME || process.env.USER}` || import_os.default.tmpdir(); - const cacheFolder = platformIsDarwin ? "Library/Caches" : ".cache"; - return (0, typescript_exports.combinePaths)((0, typescript_exports.normalizeSlashes)(homePath), cacheFolder); - } -} - -// src/tsserver/server.ts -function findArgumentStringArray(argName) { - const arg = typescript_exports.server.findArgument(argName); - if (arg === void 0) { - return typescript_exports.emptyArray; - } - return arg.split(",").filter((name) => name !== ""); -} -function start({ args, logger, cancellationToken, serverMode, unknownServerMode, startSession: startServer }, platform) { - logger.info(`Starting TS Server`); - logger.info(`Version: ${typescript_exports.version}`); - logger.info(`Arguments: ${args.join(" ")}`); - logger.info(`Platform: ${platform} NodeVersion: ${process.version} CaseSensitive: ${typescript_exports.sys.useCaseSensitiveFileNames}`); - logger.info(`ServerMode: ${serverMode} hasUnknownServerMode: ${unknownServerMode}`); - typescript_exports.setStackTraceLimit(); - if (typescript_exports.Debug.isDebugging) { - typescript_exports.Debug.enableDebugInfo(); - } - if (typescript_exports.sys.tryEnableSourceMapsForHost && /^development$/i.test(typescript_exports.sys.getEnvironmentVariable("NODE_ENV"))) { - typescript_exports.sys.tryEnableSourceMapsForHost(); - } - console.log = (...args2) => logger.msg(args2.length === 1 ? args2[0] : args2.join(", "), typescript_exports.server.Msg.Info); - console.warn = (...args2) => logger.msg(args2.length === 1 ? args2[0] : args2.join(", "), typescript_exports.server.Msg.Err); - console.error = (...args2) => logger.msg(args2.length === 1 ? args2[0] : args2.join(", "), typescript_exports.server.Msg.Err); - startServer( - { - globalPlugins: findArgumentStringArray("--globalPlugins"), - pluginProbeLocations: findArgumentStringArray("--pluginProbeLocations"), - allowLocalPluginLoads: typescript_exports.server.hasArgument("--allowLocalPluginLoads"), - useSingleInferredProject: typescript_exports.server.hasArgument("--useSingleInferredProject"), - useInferredProjectPerProjectRoot: typescript_exports.server.hasArgument("--useInferredProjectPerProjectRoot"), - suppressDiagnosticEvents: typescript_exports.server.hasArgument("--suppressDiagnosticEvents"), - noGetErrOnBackgroundUpdate: typescript_exports.server.hasArgument("--noGetErrOnBackgroundUpdate"), - canUseWatchEvents: typescript_exports.server.hasArgument("--canUseWatchEvents"), - serverMode - }, - logger, - cancellationToken - ); -} -typescript_exports.setStackTraceLimit(); -start(initializeNodeSystem(), import_os2.default.platform()); -//# sourceMappingURL=tsserver.js.map +// This file is a shim which defers loading the real module until the compile cache is enabled. +try { + const { enableCompileCache } = require("node:module"); + if (enableCompileCache) { + enableCompileCache(); + } +} catch {} +module.exports = require("./_tsserver.js"); diff --git a/node_modules/typescript/lib/typesMap.json b/node_modules/typescript/lib/typesMap.json index 6c95ae9c42..fbad5a9b1c 100644 --- a/node_modules/typescript/lib/typesMap.json +++ b/node_modules/typescript/lib/typesMap.json @@ -1,497 +1,497 @@ -{ - "typesMap": { - "jquery": { - "match": "jquery(-(\\.?\\d+)+)?(\\.intellisense)?(\\.min)?\\.js$", - "types": ["jquery"] - }, - "WinJS": { - "match": "^(.*\\/winjs-[.\\d]+)\\/js\\/base\\.js$", - "exclude": [["^", 1, "/.*"]], - "types": ["winjs"] - }, - "Kendo": { - "match": "^(.*\\/kendo(-ui)?)\\/kendo\\.all(\\.min)?\\.js$", - "exclude": [["^", 1, "/.*"]], - "types": ["kendo-ui"] - }, - "Office Nuget": { - "match": "^(.*\\/office\\/1)\\/excel-\\d+\\.debug\\.js$", - "exclude": [["^", 1, "/.*"]], - "types": ["office"] - }, - "References": { - "match": "^(.*\\/_references\\.js)$", - "exclude": [["^", 1, "$"]] - }, - "Datatables.net": { - "match": "^.*\\/(jquery\\.)?dataTables(\\.all)?(\\.min)?\\.js$", - "types": ["datatables.net"] - }, - "Ace": { - "match": "^(.*)\\/ace.js", - "exclude": [["^", 1, "/.*"]], - "types": ["ace"] - } - }, - "simpleMap": { - "accounting": "accounting", - "ace.js": "ace", - "ag-grid": "ag-grid", - "alertify": "alertify", - "alt": "alt", - "amcharts.js": "amcharts", - "amplify": "amplifyjs", - "angular": "angular", - "angular-bootstrap-lightbox": "angular-bootstrap-lightbox", - "angular-cookie": "angular-cookie", - "angular-file-upload": "angular-file-upload", - "angularfire": "angularfire", - "angular-gettext": "angular-gettext", - "angular-google-analytics": "angular-google-analytics", - "angular-local-storage": "angular-local-storage", - "angularLocalStorage": "angularLocalStorage", - "angular-scroll": "angular-scroll", - "angular-spinner": "angular-spinner", - "angular-strap": "angular-strap", - "angulartics": "angulartics", - "angular-toastr": "angular-toastr", - "angular-translate": "angular-translate", - "angular-ui-router": "angular-ui-router", - "angular-ui-tree": "angular-ui-tree", - "angular-wizard": "angular-wizard", - "async": "async", - "atmosphere": "atmosphere", - "aws-sdk": "aws-sdk", - "aws-sdk-js": "aws-sdk", - "axios": "axios", - "backbone": "backbone", - "backbone.layoutmanager": "backbone.layoutmanager", - "backbone.paginator": "backbone.paginator", - "backbone.radio": "backbone.radio", - "backbone-associations": "backbone-associations", - "backbone-relational": "backbone-relational", - "backgrid": "backgrid", - "Bacon": "baconjs", - "benchmark": "benchmark", - "blazy": "blazy", - "bliss": "blissfuljs", - "bluebird": "bluebird", - "body-parser": "body-parser", - "bootbox": "bootbox", - "bootstrap": "bootstrap", - "bootstrap-editable": "x-editable", - "bootstrap-maxlength": "bootstrap-maxlength", - "bootstrap-notify": "bootstrap-notify", - "bootstrap-slider": "bootstrap-slider", - "bootstrap-switch": "bootstrap-switch", - "bowser": "bowser", - "breeze": "breeze", - "browserify": "browserify", - "bson": "bson", - "c3": "c3", - "canvasjs": "canvasjs", - "chai": "chai", - "chalk": "chalk", - "chance": "chance", - "chartist": "chartist", - "cheerio": "cheerio", - "chokidar": "chokidar", - "chosen.jquery": "chosen", - "chroma": "chroma-js", - "ckeditor.js": "ckeditor", - "cli-color": "cli-color", - "clipboard": "clipboard", - "codemirror": "codemirror", - "colors": "colors", - "commander": "commander", - "commonmark": "commonmark", - "compression": "compression", - "confidence": "confidence", - "connect": "connect", - "Control.FullScreen": "leaflet.fullscreen", - "cookie": "cookie", - "cookie-parser": "cookie-parser", - "cookies": "cookies", - "core": "core-js", - "core-js": "core-js", - "crossfilter": "crossfilter", - "crossroads": "crossroads", - "css": "css", - "ct-ui-router-extras": "ui-router-extras", - "d3": "d3", - "dagre-d3": "dagre-d3", - "dat.gui": "dat-gui", - "debug": "debug", - "deep-diff": "deep-diff", - "Dexie": "dexie", - "dialogs": "angular-dialog-service", - "dojo.js": "dojo", - "doT": "dot", - "dragula": "dragula", - "drop": "drop", - "dropbox": "dropboxjs", - "dropzone": "dropzone", - "Dts Name": "Dts Name", - "dust-core": "dustjs-linkedin", - "easeljs": "easeljs", - "ejs": "ejs", - "ember": "ember", - "envify": "envify", - "epiceditor": "epiceditor", - "es6-promise": "es6-promise", - "ES6-Promise": "es6-promise", - "es6-shim": "es6-shim", - "expect": "expect", - "express": "express", - "express-session": "express-session", - "ext-all.js": "extjs", - "extend": "extend", - "fabric": "fabricjs", - "faker": "faker", - "fastclick": "fastclick", - "favico": "favico.js", - "featherlight": "featherlight", - "FileSaver": "FileSaver", - "fingerprint": "fingerprintjs", - "fixed-data-table": "fixed-data-table", - "flickity.pkgd": "flickity", - "flight": "flight", - "flow": "flowjs", - "Flux": "flux", - "formly": "angular-formly", - "foundation": "foundation", - "fpsmeter": "fpsmeter", - "fuse": "fuse", - "generator": "yeoman-generator", - "gl-matrix": "gl-matrix", - "globalize": "globalize", - "graceful-fs": "graceful-fs", - "gridstack": "gridstack", - "gulp": "gulp", - "gulp-rename": "gulp-rename", - "gulp-uglify": "gulp-uglify", - "gulp-util": "gulp-util", - "hammer": "hammerjs", - "handlebars": "handlebars", - "hasher": "hasher", - "he": "he", - "hello.all": "hellojs", - "highcharts.js": "highcharts", - "highlight": "highlightjs", - "history": "history", - "History": "history", - "hopscotch": "hopscotch", - "hotkeys": "angular-hotkeys", - "html2canvas": "html2canvas", - "humane": "humane", - "i18next": "i18next", - "icheck": "icheck", - "impress": "impress", - "incremental-dom": "incremental-dom", - "Inquirer": "inquirer", - "insight": "insight", - "interact": "interactjs", - "intercom": "intercomjs", - "intro": "intro.js", - "ion.rangeSlider": "ion.rangeSlider", - "ionic": "ionic", - "is": "is_js", - "iscroll": "iscroll", - "jade": "jade", - "jasmine": "jasmine", - "joint": "jointjs", - "jquery": "jquery", - "jquery.address": "jquery.address", - "jquery.are-you-sure": "jquery.are-you-sure", - "jquery.blockUI": "jquery.blockUI", - "jquery.bootstrap.wizard": "jquery.bootstrap.wizard", - "jquery.bootstrap-touchspin": "bootstrap-touchspin", - "jquery.color": "jquery.color", - "jquery.colorbox": "jquery.colorbox", - "jquery.contextMenu": "jquery.contextMenu", - "jquery.cookie": "jquery.cookie", - "jquery.customSelect": "jquery.customSelect", - "jquery.cycle.all": "jquery.cycle", - "jquery.cycle2": "jquery.cycle2", - "jquery.dataTables": "jquery.dataTables", - "jquery.dropotron": "jquery.dropotron", - "jquery.fancybox.pack.js": "fancybox", - "jquery.fancytree-all": "jquery.fancytree", - "jquery.fileupload": "jquery.fileupload", - "jquery.flot": "flot", - "jquery.form": "jquery.form", - "jquery.gridster": "jquery.gridster", - "jquery.handsontable.full": "jquery-handsontable", - "jquery.joyride": "jquery.joyride", - "jquery.jqGrid": "jqgrid", - "jquery.mmenu": "jquery.mmenu", - "jquery.mockjax": "jquery-mockjax", - "jquery.noty": "jquery.noty", - "jquery.payment": "jquery.payment", - "jquery.pjax": "jquery.pjax", - "jquery.placeholder": "jquery.placeholder", - "jquery.qrcode": "jquery.qrcode", - "jquery.qtip": "qtip2", - "jquery.raty": "raty", - "jquery.scrollTo": "jquery.scrollTo", - "jquery.signalR": "signalr", - "jquery.simplemodal": "jquery.simplemodal", - "jquery.timeago": "jquery.timeago", - "jquery.tinyscrollbar": "jquery.tinyscrollbar", - "jquery.tipsy": "jquery.tipsy", - "jquery.tooltipster": "tooltipster", - "jquery.transit": "jquery.transit", - "jquery.uniform": "jquery.uniform", - "jquery.watch": "watch", - "jquery-sortable": "jquery-sortable", - "jquery-ui": "jqueryui", - "js.cookie": "js-cookie", - "js-data": "js-data", - "js-data-angular": "js-data-angular", - "js-data-http": "js-data-http", - "jsdom": "jsdom", - "jsnlog": "jsnlog", - "json5": "json5", - "jspdf": "jspdf", - "jsrender": "jsrender", - "js-signals": "js-signals", - "jstorage": "jstorage", - "jstree": "jstree", - "js-yaml": "js-yaml", - "jszip": "jszip", - "katex": "katex", - "kefir": "kefir", - "keymaster": "keymaster", - "keypress": "keypress", - "kinetic": "kineticjs", - "knockback": "knockback", - "knockout": "knockout", - "knockout.mapping": "knockout.mapping", - "knockout.validation": "knockout.validation", - "knockout-paging": "knockout-paging", - "knockout-pre-rendered": "knockout-pre-rendered", - "ladda": "ladda", - "later": "later", - "lazy": "lazy.js", - "Leaflet.Editable": "leaflet-editable", - "leaflet.js": "leaflet", - "less": "less", - "linq": "linq", - "loading-bar": "angular-loading-bar", - "lodash": "lodash", - "log4javascript": "log4javascript", - "loglevel": "loglevel", - "lokijs": "lokijs", - "lovefield": "lovefield", - "lunr": "lunr", - "lz-string": "lz-string", - "mailcheck": "mailcheck", - "maquette": "maquette", - "marked": "marked", - "math": "mathjs", - "MathJax.js": "mathjax", - "matter": "matter-js", - "md5": "blueimp-md5", - "md5.js": "crypto-js", - "messenger": "messenger", - "method-override": "method-override", - "minimatch": "minimatch", - "minimist": "minimist", - "mithril": "mithril", - "mobile-detect": "mobile-detect", - "mocha": "mocha", - "mock-ajax": "jasmine-ajax", - "modernizr": "modernizr", - "Modernizr": "Modernizr", - "moment": "moment", - "moment-range": "moment-range", - "moment-timezone": "moment-timezone", - "mongoose": "mongoose", - "morgan": "morgan", - "mousetrap": "mousetrap", - "ms": "ms", - "mustache": "mustache", - "native.history": "history", - "nconf": "nconf", - "ncp": "ncp", - "nedb": "nedb", - "ng-cordova": "ng-cordova", - "ngDialog": "ng-dialog", - "ng-flow-standalone": "ng-flow", - "ng-grid": "ng-grid", - "ng-i18next": "ng-i18next", - "ng-table": "ng-table", - "node_redis": "redis", - "node-clone": "clone", - "node-fs-extra": "fs-extra", - "node-glob": "glob", - "Nodemailer": "nodemailer", - "node-mime": "mime", - "node-mkdirp": "mkdirp", - "node-mongodb-native": "mongodb", - "node-mysql": "mysql", - "node-open": "open", - "node-optimist": "optimist", - "node-progress": "progress", - "node-semver": "semver", - "node-tar": "tar", - "node-uuid": "node-uuid", - "node-xml2js": "xml2js", - "nopt": "nopt", - "notify": "notify", - "nouislider": "nouislider", - "npm": "npm", - "nprogress": "nprogress", - "numbro": "numbro", - "numeral": "numeraljs", - "nunjucks": "nunjucks", - "nv.d3": "nvd3", - "object-assign": "object-assign", - "oboe-browser": "oboe", - "office": "office-js", - "offline": "offline-js", - "onsenui": "onsenui", - "OpenLayers.js": "openlayers", - "openpgp": "openpgp", - "p2": "p2", - "packery.pkgd": "packery", - "page": "page", - "pako": "pako", - "papaparse": "papaparse", - "passport": "passport", - "passport-local": "passport-local", - "path": "pathjs", - "pdfkit": "pdfkit", - "peer": "peerjs", - "peg": "pegjs", - "photoswipe": "photoswipe", - "picker.js": "pickadate", - "pikaday": "pikaday", - "pixi": "pixi.js", - "platform": "platform", - "Please": "pleasejs", - "plottable": "plottable", - "polymer": "polymer", - "postal": "postal", - "preloadjs": "preloadjs", - "progress": "progress", - "purify": "dompurify", - "purl": "purl", - "q": "q", - "qs": "qs", - "qunit": "qunit", - "ractive": "ractive", - "rangy-core": "rangy", - "raphael": "raphael", - "raven": "ravenjs", - "react": "react", - "react-bootstrap": "react-bootstrap", - "react-intl": "react-intl", - "react-redux": "react-redux", - "ReactRouter": "react-router", - "ready": "domready", - "redux": "redux", - "request": "request", - "require": "require", - "restangular": "restangular", - "reveal": "reveal", - "rickshaw": "rickshaw", - "rimraf": "rimraf", - "rivets": "rivets", - "rx": "rx", - "rx.angular": "rx-angular", - "sammy": "sammyjs", - "SAT": "sat", - "sax-js": "sax", - "screenfull": "screenfull", - "seedrandom": "seedrandom", - "select2": "select2", - "selectize": "selectize", - "serve-favicon": "serve-favicon", - "serve-static": "serve-static", - "shelljs": "shelljs", - "should": "should", - "showdown": "showdown", - "sigma": "sigmajs", - "signature_pad": "signature_pad", - "sinon": "sinon", - "sjcl": "sjcl", - "slick": "slick-carousel", - "smoothie": "smoothie", - "socket.io": "socket.io", - "socket.io-client": "socket.io-client", - "sockjs": "sockjs-client", - "sortable": "angular-ui-sortable", - "soundjs": "soundjs", - "source-map": "source-map", - "spectrum": "spectrum", - "spin": "spin", - "sprintf": "sprintf", - "stampit": "stampit", - "state-machine": "state-machine", - "Stats": "stats", - "store": "storejs", - "string": "string", - "string_score": "string_score", - "strophe": "strophe", - "stylus": "stylus", - "sugar": "sugar", - "superagent": "superagent", - "svg": "svgjs", - "svg-injector": "svg-injector", - "swfobject": "swfobject", - "swig": "swig", - "swipe": "swipe", - "swiper": "swiper", - "system.js": "systemjs", - "tether": "tether", - "three": "threejs", - "through": "through", - "through2": "through2", - "timeline": "timelinejs", - "tinycolor": "tinycolor", - "tmhDynamicLocale": "angular-dynamic-locale", - "toaster": "angularjs-toaster", - "toastr": "toastr", - "tracking": "tracking", - "trunk8": "trunk8", - "turf": "turf", - "tweenjs": "tweenjs", - "TweenMax": "gsap", - "twig": "twig", - "twix": "twix", - "typeahead.bundle": "typeahead", - "typescript": "typescript", - "ui": "winjs", - "ui-bootstrap-tpls": "angular-ui-bootstrap", - "ui-grid": "ui-grid", - "uikit": "uikit", - "underscore": "underscore", - "underscore.string": "underscore.string", - "update-notifier": "update-notifier", - "url": "jsurl", - "UUID": "uuid", - "validator": "validator", - "vega": "vega", - "vex": "vex-js", - "video": "videojs", - "vue": "vue", - "vue-router": "vue-router", - "webtorrent": "webtorrent", - "when": "when", - "winston": "winston", - "wrench-js": "wrench", - "ws": "ws", - "xlsx": "xlsx", - "xml2json": "x2js", - "xmlbuilder-js": "xmlbuilder", - "xregexp": "xregexp", - "yargs": "yargs", - "yosay": "yosay", - "yui": "yui", - "yui3": "yui", - "zepto": "zepto", - "ZeroClipboard": "zeroclipboard", - "ZSchema-browser": "z-schema" - } -} +{ + "typesMap": { + "jquery": { + "match": "jquery(-(\\.?\\d+)+)?(\\.intellisense)?(\\.min)?\\.js$", + "types": ["jquery"] + }, + "WinJS": { + "match": "^(.*\\/winjs-[.\\d]+)\\/js\\/base\\.js$", + "exclude": [["^", 1, "/.*"]], + "types": ["winjs"] + }, + "Kendo": { + "match": "^(.*\\/kendo(-ui)?)\\/kendo\\.all(\\.min)?\\.js$", + "exclude": [["^", 1, "/.*"]], + "types": ["kendo-ui"] + }, + "Office Nuget": { + "match": "^(.*\\/office\\/1)\\/excel-\\d+\\.debug\\.js$", + "exclude": [["^", 1, "/.*"]], + "types": ["office"] + }, + "References": { + "match": "^(.*\\/_references\\.js)$", + "exclude": [["^", 1, "$"]] + }, + "Datatables.net": { + "match": "^.*\\/(jquery\\.)?dataTables(\\.all)?(\\.min)?\\.js$", + "types": ["datatables.net"] + }, + "Ace": { + "match": "^(.*)\\/ace.js", + "exclude": [["^", 1, "/.*"]], + "types": ["ace"] + } + }, + "simpleMap": { + "accounting": "accounting", + "ace.js": "ace", + "ag-grid": "ag-grid", + "alertify": "alertify", + "alt": "alt", + "amcharts.js": "amcharts", + "amplify": "amplifyjs", + "angular": "angular", + "angular-bootstrap-lightbox": "angular-bootstrap-lightbox", + "angular-cookie": "angular-cookie", + "angular-file-upload": "angular-file-upload", + "angularfire": "angularfire", + "angular-gettext": "angular-gettext", + "angular-google-analytics": "angular-google-analytics", + "angular-local-storage": "angular-local-storage", + "angularLocalStorage": "angularLocalStorage", + "angular-scroll": "angular-scroll", + "angular-spinner": "angular-spinner", + "angular-strap": "angular-strap", + "angulartics": "angulartics", + "angular-toastr": "angular-toastr", + "angular-translate": "angular-translate", + "angular-ui-router": "angular-ui-router", + "angular-ui-tree": "angular-ui-tree", + "angular-wizard": "angular-wizard", + "async": "async", + "atmosphere": "atmosphere", + "aws-sdk": "aws-sdk", + "aws-sdk-js": "aws-sdk", + "axios": "axios", + "backbone": "backbone", + "backbone.layoutmanager": "backbone.layoutmanager", + "backbone.paginator": "backbone.paginator", + "backbone.radio": "backbone.radio", + "backbone-associations": "backbone-associations", + "backbone-relational": "backbone-relational", + "backgrid": "backgrid", + "Bacon": "baconjs", + "benchmark": "benchmark", + "blazy": "blazy", + "bliss": "blissfuljs", + "bluebird": "bluebird", + "body-parser": "body-parser", + "bootbox": "bootbox", + "bootstrap": "bootstrap", + "bootstrap-editable": "x-editable", + "bootstrap-maxlength": "bootstrap-maxlength", + "bootstrap-notify": "bootstrap-notify", + "bootstrap-slider": "bootstrap-slider", + "bootstrap-switch": "bootstrap-switch", + "bowser": "bowser", + "breeze": "breeze", + "browserify": "browserify", + "bson": "bson", + "c3": "c3", + "canvasjs": "canvasjs", + "chai": "chai", + "chalk": "chalk", + "chance": "chance", + "chartist": "chartist", + "cheerio": "cheerio", + "chokidar": "chokidar", + "chosen.jquery": "chosen", + "chroma": "chroma-js", + "ckeditor.js": "ckeditor", + "cli-color": "cli-color", + "clipboard": "clipboard", + "codemirror": "codemirror", + "colors": "colors", + "commander": "commander", + "commonmark": "commonmark", + "compression": "compression", + "confidence": "confidence", + "connect": "connect", + "Control.FullScreen": "leaflet.fullscreen", + "cookie": "cookie", + "cookie-parser": "cookie-parser", + "cookies": "cookies", + "core": "core-js", + "core-js": "core-js", + "crossfilter": "crossfilter", + "crossroads": "crossroads", + "css": "css", + "ct-ui-router-extras": "ui-router-extras", + "d3": "d3", + "dagre-d3": "dagre-d3", + "dat.gui": "dat-gui", + "debug": "debug", + "deep-diff": "deep-diff", + "Dexie": "dexie", + "dialogs": "angular-dialog-service", + "dojo.js": "dojo", + "doT": "dot", + "dragula": "dragula", + "drop": "drop", + "dropbox": "dropboxjs", + "dropzone": "dropzone", + "Dts Name": "Dts Name", + "dust-core": "dustjs-linkedin", + "easeljs": "easeljs", + "ejs": "ejs", + "ember": "ember", + "envify": "envify", + "epiceditor": "epiceditor", + "es6-promise": "es6-promise", + "ES6-Promise": "es6-promise", + "es6-shim": "es6-shim", + "expect": "expect", + "express": "express", + "express-session": "express-session", + "ext-all.js": "extjs", + "extend": "extend", + "fabric": "fabricjs", + "faker": "faker", + "fastclick": "fastclick", + "favico": "favico.js", + "featherlight": "featherlight", + "FileSaver": "FileSaver", + "fingerprint": "fingerprintjs", + "fixed-data-table": "fixed-data-table", + "flickity.pkgd": "flickity", + "flight": "flight", + "flow": "flowjs", + "Flux": "flux", + "formly": "angular-formly", + "foundation": "foundation", + "fpsmeter": "fpsmeter", + "fuse": "fuse", + "generator": "yeoman-generator", + "gl-matrix": "gl-matrix", + "globalize": "globalize", + "graceful-fs": "graceful-fs", + "gridstack": "gridstack", + "gulp": "gulp", + "gulp-rename": "gulp-rename", + "gulp-uglify": "gulp-uglify", + "gulp-util": "gulp-util", + "hammer": "hammerjs", + "handlebars": "handlebars", + "hasher": "hasher", + "he": "he", + "hello.all": "hellojs", + "highcharts.js": "highcharts", + "highlight": "highlightjs", + "history": "history", + "History": "history", + "hopscotch": "hopscotch", + "hotkeys": "angular-hotkeys", + "html2canvas": "html2canvas", + "humane": "humane", + "i18next": "i18next", + "icheck": "icheck", + "impress": "impress", + "incremental-dom": "incremental-dom", + "Inquirer": "inquirer", + "insight": "insight", + "interact": "interactjs", + "intercom": "intercomjs", + "intro": "intro.js", + "ion.rangeSlider": "ion.rangeSlider", + "ionic": "ionic", + "is": "is_js", + "iscroll": "iscroll", + "jade": "jade", + "jasmine": "jasmine", + "joint": "jointjs", + "jquery": "jquery", + "jquery.address": "jquery.address", + "jquery.are-you-sure": "jquery.are-you-sure", + "jquery.blockUI": "jquery.blockUI", + "jquery.bootstrap.wizard": "jquery.bootstrap.wizard", + "jquery.bootstrap-touchspin": "bootstrap-touchspin", + "jquery.color": "jquery.color", + "jquery.colorbox": "jquery.colorbox", + "jquery.contextMenu": "jquery.contextMenu", + "jquery.cookie": "jquery.cookie", + "jquery.customSelect": "jquery.customSelect", + "jquery.cycle.all": "jquery.cycle", + "jquery.cycle2": "jquery.cycle2", + "jquery.dataTables": "jquery.dataTables", + "jquery.dropotron": "jquery.dropotron", + "jquery.fancybox.pack.js": "fancybox", + "jquery.fancytree-all": "jquery.fancytree", + "jquery.fileupload": "jquery.fileupload", + "jquery.flot": "flot", + "jquery.form": "jquery.form", + "jquery.gridster": "jquery.gridster", + "jquery.handsontable.full": "jquery-handsontable", + "jquery.joyride": "jquery.joyride", + "jquery.jqGrid": "jqgrid", + "jquery.mmenu": "jquery.mmenu", + "jquery.mockjax": "jquery-mockjax", + "jquery.noty": "jquery.noty", + "jquery.payment": "jquery.payment", + "jquery.pjax": "jquery.pjax", + "jquery.placeholder": "jquery.placeholder", + "jquery.qrcode": "jquery.qrcode", + "jquery.qtip": "qtip2", + "jquery.raty": "raty", + "jquery.scrollTo": "jquery.scrollTo", + "jquery.signalR": "signalr", + "jquery.simplemodal": "jquery.simplemodal", + "jquery.timeago": "jquery.timeago", + "jquery.tinyscrollbar": "jquery.tinyscrollbar", + "jquery.tipsy": "jquery.tipsy", + "jquery.tooltipster": "tooltipster", + "jquery.transit": "jquery.transit", + "jquery.uniform": "jquery.uniform", + "jquery.watch": "watch", + "jquery-sortable": "jquery-sortable", + "jquery-ui": "jqueryui", + "js.cookie": "js-cookie", + "js-data": "js-data", + "js-data-angular": "js-data-angular", + "js-data-http": "js-data-http", + "jsdom": "jsdom", + "jsnlog": "jsnlog", + "json5": "json5", + "jspdf": "jspdf", + "jsrender": "jsrender", + "js-signals": "js-signals", + "jstorage": "jstorage", + "jstree": "jstree", + "js-yaml": "js-yaml", + "jszip": "jszip", + "katex": "katex", + "kefir": "kefir", + "keymaster": "keymaster", + "keypress": "keypress", + "kinetic": "kineticjs", + "knockback": "knockback", + "knockout": "knockout", + "knockout.mapping": "knockout.mapping", + "knockout.validation": "knockout.validation", + "knockout-paging": "knockout-paging", + "knockout-pre-rendered": "knockout-pre-rendered", + "ladda": "ladda", + "later": "later", + "lazy": "lazy.js", + "Leaflet.Editable": "leaflet-editable", + "leaflet.js": "leaflet", + "less": "less", + "linq": "linq", + "loading-bar": "angular-loading-bar", + "lodash": "lodash", + "log4javascript": "log4javascript", + "loglevel": "loglevel", + "lokijs": "lokijs", + "lovefield": "lovefield", + "lunr": "lunr", + "lz-string": "lz-string", + "mailcheck": "mailcheck", + "maquette": "maquette", + "marked": "marked", + "math": "mathjs", + "MathJax.js": "mathjax", + "matter": "matter-js", + "md5": "blueimp-md5", + "md5.js": "crypto-js", + "messenger": "messenger", + "method-override": "method-override", + "minimatch": "minimatch", + "minimist": "minimist", + "mithril": "mithril", + "mobile-detect": "mobile-detect", + "mocha": "mocha", + "mock-ajax": "jasmine-ajax", + "modernizr": "modernizr", + "Modernizr": "Modernizr", + "moment": "moment", + "moment-range": "moment-range", + "moment-timezone": "moment-timezone", + "mongoose": "mongoose", + "morgan": "morgan", + "mousetrap": "mousetrap", + "ms": "ms", + "mustache": "mustache", + "native.history": "history", + "nconf": "nconf", + "ncp": "ncp", + "nedb": "nedb", + "ng-cordova": "ng-cordova", + "ngDialog": "ng-dialog", + "ng-flow-standalone": "ng-flow", + "ng-grid": "ng-grid", + "ng-i18next": "ng-i18next", + "ng-table": "ng-table", + "node_redis": "redis", + "node-clone": "clone", + "node-fs-extra": "fs-extra", + "node-glob": "glob", + "Nodemailer": "nodemailer", + "node-mime": "mime", + "node-mkdirp": "mkdirp", + "node-mongodb-native": "mongodb", + "node-mysql": "mysql", + "node-open": "open", + "node-optimist": "optimist", + "node-progress": "progress", + "node-semver": "semver", + "node-tar": "tar", + "node-uuid": "node-uuid", + "node-xml2js": "xml2js", + "nopt": "nopt", + "notify": "notify", + "nouislider": "nouislider", + "npm": "npm", + "nprogress": "nprogress", + "numbro": "numbro", + "numeral": "numeraljs", + "nunjucks": "nunjucks", + "nv.d3": "nvd3", + "object-assign": "object-assign", + "oboe-browser": "oboe", + "office": "office-js", + "offline": "offline-js", + "onsenui": "onsenui", + "OpenLayers.js": "openlayers", + "openpgp": "openpgp", + "p2": "p2", + "packery.pkgd": "packery", + "page": "page", + "pako": "pako", + "papaparse": "papaparse", + "passport": "passport", + "passport-local": "passport-local", + "path": "pathjs", + "pdfkit": "pdfkit", + "peer": "peerjs", + "peg": "pegjs", + "photoswipe": "photoswipe", + "picker.js": "pickadate", + "pikaday": "pikaday", + "pixi": "pixi.js", + "platform": "platform", + "Please": "pleasejs", + "plottable": "plottable", + "polymer": "polymer", + "postal": "postal", + "preloadjs": "preloadjs", + "progress": "progress", + "purify": "dompurify", + "purl": "purl", + "q": "q", + "qs": "qs", + "qunit": "qunit", + "ractive": "ractive", + "rangy-core": "rangy", + "raphael": "raphael", + "raven": "ravenjs", + "react": "react", + "react-bootstrap": "react-bootstrap", + "react-intl": "react-intl", + "react-redux": "react-redux", + "ReactRouter": "react-router", + "ready": "domready", + "redux": "redux", + "request": "request", + "require": "require", + "restangular": "restangular", + "reveal": "reveal", + "rickshaw": "rickshaw", + "rimraf": "rimraf", + "rivets": "rivets", + "rx": "rx", + "rx.angular": "rx-angular", + "sammy": "sammyjs", + "SAT": "sat", + "sax-js": "sax", + "screenfull": "screenfull", + "seedrandom": "seedrandom", + "select2": "select2", + "selectize": "selectize", + "serve-favicon": "serve-favicon", + "serve-static": "serve-static", + "shelljs": "shelljs", + "should": "should", + "showdown": "showdown", + "sigma": "sigmajs", + "signature_pad": "signature_pad", + "sinon": "sinon", + "sjcl": "sjcl", + "slick": "slick-carousel", + "smoothie": "smoothie", + "socket.io": "socket.io", + "socket.io-client": "socket.io-client", + "sockjs": "sockjs-client", + "sortable": "angular-ui-sortable", + "soundjs": "soundjs", + "source-map": "source-map", + "spectrum": "spectrum", + "spin": "spin", + "sprintf": "sprintf", + "stampit": "stampit", + "state-machine": "state-machine", + "Stats": "stats", + "store": "storejs", + "string": "string", + "string_score": "string_score", + "strophe": "strophe", + "stylus": "stylus", + "sugar": "sugar", + "superagent": "superagent", + "svg": "svgjs", + "svg-injector": "svg-injector", + "swfobject": "swfobject", + "swig": "swig", + "swipe": "swipe", + "swiper": "swiper", + "system.js": "systemjs", + "tether": "tether", + "three": "threejs", + "through": "through", + "through2": "through2", + "timeline": "timelinejs", + "tinycolor": "tinycolor", + "tmhDynamicLocale": "angular-dynamic-locale", + "toaster": "angularjs-toaster", + "toastr": "toastr", + "tracking": "tracking", + "trunk8": "trunk8", + "turf": "turf", + "tweenjs": "tweenjs", + "TweenMax": "gsap", + "twig": "twig", + "twix": "twix", + "typeahead.bundle": "typeahead", + "typescript": "typescript", + "ui": "winjs", + "ui-bootstrap-tpls": "angular-ui-bootstrap", + "ui-grid": "ui-grid", + "uikit": "uikit", + "underscore": "underscore", + "underscore.string": "underscore.string", + "update-notifier": "update-notifier", + "url": "jsurl", + "UUID": "uuid", + "validator": "validator", + "vega": "vega", + "vex": "vex-js", + "video": "videojs", + "vue": "vue", + "vue-router": "vue-router", + "webtorrent": "webtorrent", + "when": "when", + "winston": "winston", + "wrench-js": "wrench", + "ws": "ws", + "xlsx": "xlsx", + "xml2json": "x2js", + "xmlbuilder-js": "xmlbuilder", + "xregexp": "xregexp", + "yargs": "yargs", + "yosay": "yosay", + "yui": "yui", + "yui3": "yui", + "zepto": "zepto", + "ZeroClipboard": "zeroclipboard", + "ZSchema-browser": "z-schema" + } +} diff --git a/node_modules/typescript/lib/typescript.d.ts b/node_modules/typescript/lib/typescript.d.ts index 963c5732b9..6780dd1ddb 100644 --- a/node_modules/typescript/lib/typescript.d.ts +++ b/node_modules/typescript/lib/typescript.d.ts @@ -107,6 +107,7 @@ declare namespace ts { GetApplicableRefactors = "getApplicableRefactors", GetEditsForRefactor = "getEditsForRefactor", GetMoveToRefactoringFileSuggestions = "getMoveToRefactoringFileSuggestions", + PreparePasteEdits = "preparePasteEdits", GetPasteEdits = "getPasteEdits", OrganizeImports = "organizeImports", GetEditsForFileRename = "getEditsForFileRename", @@ -363,6 +364,10 @@ declare namespace ts { * Indicate if the file name list of the project is needed */ needFileNameList: boolean; + /** + * if true returns details about default configured project calculation + */ + needDefaultConfiguredProjectInfo?: boolean; } /** * A request to get the project information of the current file. @@ -386,6 +391,17 @@ declare namespace ts { */ projectFileName: string; } + /** + * Details about the default project for the file if tsconfig file is found + */ + export interface DefaultConfiguredProjectInfo { + /** List of config files looked and did not match because file was not part of root file names */ + notMatchedByConfig?: readonly string[]; + /** List of projects which were loaded but file was not part of the project or is file from referenced project */ + notInProject?: readonly string[]; + /** Configured project used as default */ + defaultProject?: string; + } /** * Response message body for "projectInfo" request */ @@ -403,6 +419,10 @@ declare namespace ts { * Indicates if the project has a active language service instance */ languageServiceDisabled?: boolean; + /** + * Information about default project + */ + configuredProjectInfo?: DefaultConfiguredProjectInfo; } /** * Represents diagnostic info that includes location of diagnostic in two forms @@ -495,6 +515,19 @@ declare namespace ts { files: string[]; }; } + /** + * Request to check if `pasteEdits` should be provided for a given location post copying text from that location. + */ + export interface PreparePasteEditsRequest extends FileRequest { + command: CommandTypes.PreparePasteEdits; + arguments: PreparePasteEditsRequestArgs; + } + export interface PreparePasteEditsRequestArgs extends FileRequestArgs { + copiedTextSpan: TextSpan[]; + } + export interface PreparePasteEditsResponse extends Response { + body: boolean; + } /** * Request refactorings at a given position post pasting text from some other location. */ @@ -2507,6 +2540,7 @@ declare namespace ts { ES2021 = "es2021", ES2022 = "es2022", ES2023 = "es2023", + ES2024 = "es2024", ESNext = "esnext", JSON = "json", Latest = "esnext", @@ -2808,7 +2842,6 @@ declare namespace ts { abstract class Project implements LanguageServiceHost, ModuleResolutionHost { readonly projectKind: ProjectKind; readonly projectService: ProjectService; - private documentRegistry; private compilerOptions; compileOnSaveEnabled: boolean; protected watchOptions: WatchOptions | undefined; @@ -2828,7 +2861,6 @@ declare namespace ts { private lastReportedFileNames; private lastReportedVersion; protected projectErrors: Diagnostic[] | undefined; - protected isInitialLoadPending: () => boolean; private typingsCache; private typingWatchers; private readonly cancellationToken; @@ -2842,14 +2874,14 @@ declare namespace ts { readonly jsDocParsingMode: JSDocParsingMode | undefined; isKnownTypesPackageName(name: string): boolean; installPackage(options: InstallPackageOptions): Promise; - getCompilationSettings(): ts.CompilerOptions; - getCompilerOptions(): ts.CompilerOptions; + getCompilationSettings(): CompilerOptions; + getCompilerOptions(): CompilerOptions; getNewLine(): string; getProjectVersion(): string; getProjectReferences(): readonly ProjectReference[] | undefined; getScriptFileNames(): string[]; private getOrCreateScriptInfoAndAttachToProject; - getScriptKind(fileName: string): ts.ScriptKind; + getScriptKind(fileName: string): ScriptKind; getScriptVersion(filename: string): string; getScriptSnapshot(filename: string): IScriptSnapshot | undefined; getCancellationToken(): HostCancellationToken; @@ -2885,16 +2917,16 @@ declare namespace ts { getProjectName(): string; protected removeLocalTypingsFromTypeAcquisition(newTypeAcquisition: TypeAcquisition): TypeAcquisition; getExternalFiles(updateLevel?: ProgramUpdateLevel): SortedReadonlyArray; - getSourceFile(path: Path): ts.SourceFile | undefined; + getSourceFile(path: Path): SourceFile | undefined; close(): void; private detachScriptInfoIfNotRoot; isClosed(): boolean; hasRoots(): boolean; getRootFiles(): NormalizedPath[]; - getRootScriptInfos(): ts.server.ScriptInfo[]; + getRootScriptInfos(): ScriptInfo[]; getScriptInfos(): ScriptInfo[]; getExcludedFiles(): readonly NormalizedPath[]; - getFileNames(excludeFilesFromExternalLibraries?: boolean, excludeConfigFiles?: boolean): ts.server.NormalizedPath[]; + getFileNames(excludeFilesFromExternalLibraries?: boolean, excludeConfigFiles?: boolean): NormalizedPath[]; hasConfigFile(configFilePath: NormalizedPath): boolean; containsScriptInfo(info: ScriptInfo): boolean; containsFile(filename: NormalizedPath, requireOpen?: boolean): boolean; @@ -2919,19 +2951,18 @@ declare namespace ts { private isValidGeneratedFileWatcher; private clearGeneratedFileWatch; getScriptInfoForNormalizedPath(fileName: NormalizedPath): ScriptInfo | undefined; - getScriptInfo(uncheckedFileName: string): ts.server.ScriptInfo | undefined; + getScriptInfo(uncheckedFileName: string): ScriptInfo | undefined; filesToString(writeProjectFileNames: boolean): string; private filesToStringWorker; setCompilerOptions(compilerOptions: CompilerOptions): void; setTypeAcquisition(newTypeAcquisition: TypeAcquisition | undefined): void; - getTypeAcquisition(): ts.TypeAcquisition; + getTypeAcquisition(): TypeAcquisition; protected removeRoot(info: ScriptInfo): void; protected enableGlobalPlugins(options: CompilerOptions): void; protected enablePlugin(pluginConfigEntry: PluginImport, searchPaths: string[]): void; /** Starts a new check for diagnostics. Call this if some file has updated that would cause diagnostics to be changed. */ refreshDiagnostics(): void; private isDefaultProjectForOpenFiles; - private getCompilerOptionsForNoDtsResolutionProject; } /** * If a file is opened and no tsconfig (or jsconfig) is found, @@ -2958,7 +2989,7 @@ declare namespace ts { getScriptFileNames(): string[]; getLanguageService(): never; getHostForAutoImportProvider(): never; - getProjectReferences(): readonly ts.ProjectReference[] | undefined; + getProjectReferences(): readonly ProjectReference[] | undefined; } /** * If a file is opened, the server will look for a tsconfig (or jsconfig) @@ -2975,7 +3006,7 @@ declare namespace ts { * @returns: true if set of files in the project stays the same and false - otherwise. */ updateGraph(): boolean; - getConfigFilePath(): ts.server.NormalizedPath; + getConfigFilePath(): NormalizedPath; getProjectReferences(): readonly ProjectReference[] | undefined; updateReferences(refs: readonly ProjectReference[] | undefined): void; /** @@ -2999,14 +3030,14 @@ declare namespace ts { compileOnSaveEnabled: boolean; excludedFiles: readonly NormalizedPath[]; updateGraph(): boolean; - getExcludedFiles(): readonly ts.server.NormalizedPath[]; + getExcludedFiles(): readonly NormalizedPath[]; } function convertFormatOptions(protocolOptions: protocol.FormatCodeSettings): FormatCodeSettings; function convertCompilerOptions(protocolOptions: protocol.ExternalProjectCompilerOptions): CompilerOptions & protocol.CompileOnSaveMixin; function convertWatchOptions(protocolOptions: protocol.ExternalProjectCompilerOptions, currentDirectory?: string): WatchOptionsAndErrors | undefined; function convertTypeAcquisition(protocolOptions: protocol.InferredProjectCompilerOptions): TypeAcquisition | undefined; function tryConvertScriptKindName(scriptKindName: protocol.ScriptKindName | ScriptKind): ScriptKind; - function convertScriptKindName(scriptKindName: protocol.ScriptKindName): ScriptKind.Unknown | ScriptKind.JS | ScriptKind.JSX | ScriptKind.TS | ScriptKind.TSX; + function convertScriptKindName(scriptKindName: protocol.ScriptKindName): ScriptKind; const maxProgramSizeForNonTsFiles: number; const ProjectsUpdatedInBackgroundEvent = "projectsUpdatedInBackground"; interface ProjectsUpdatedInBackgroundEvent { @@ -3277,6 +3308,7 @@ declare namespace ts { private deleteScriptInfo; private configFileExists; private createConfigFileWatcherForParsedConfig; + private ensureConfigFileWatcherForProject; private forEachConfigFileLocation; private getConfigFileNameForFileFromCache; private setConfigFileNameForFileInCache; @@ -3290,6 +3322,7 @@ declare namespace ts { private updateNonInferredProjectFiles; private updateRootAndOptionsOfNonInferredProject; private reloadFileNamesOfParsedConfig; + private setProjectForReload; private clearSemanticCache; private getOrCreateInferredProjectForProjectRootPathIfEnabled; private getOrCreateSingleInferredProjectIfEnabled; @@ -3336,6 +3369,8 @@ declare namespace ts { private getOrCreateOpenScriptInfo; private assignProjectToOpenedScriptInfo; private tryFindDefaultConfiguredProjectForOpenScriptInfo; + private isMatchedByConfig; + private tryFindDefaultConfiguredProjectForOpenScriptInfoOrClosedFileInfo; private tryFindDefaultConfiguredProjectAndLoadAncestorsForOpenScriptInfo; private ensureProjectChildren; private cleanupConfiguredProjects; @@ -3480,9 +3515,11 @@ declare namespace ts { private getDocumentHighlights; private provideInlayHints; private mapCode; + private getCopilotRelatedInfo; private setCompilerOptionsForInferredProjects; private getProjectInfo; private getProjectInfoWorker; + private getDefaultConfiguredProjectInfo; private getRenameInfo; private getProjects; private getDefaultProject; @@ -3535,6 +3572,7 @@ declare namespace ts { private getApplicableRefactors; private getEditsForRefactor; private getMoveToRefactoringFileSuggestions; + private preparePasteEdits; private getPasteEdits; private organizeImports; private getEditsForFileRename; @@ -3595,7 +3633,7 @@ declare namespace ts { readDirectory(rootDir: string, extensions: readonly string[], excludes: readonly string[] | undefined, includes: readonly string[] | undefined, depth?: number): string[]; } } - const versionMajorMinor = "5.6"; + const versionMajorMinor = "5.7"; /** The version of the TypeScript compiler release */ const version: string; /** @@ -3983,10 +4021,11 @@ declare namespace ts { JSDocImportTag = 351, SyntaxList = 352, NotEmittedStatement = 353, - PartiallyEmittedExpression = 354, - CommaListExpression = 355, - SyntheticReferenceExpression = 356, - Count = 357, + NotEmittedTypeElement = 354, + PartiallyEmittedExpression = 355, + CommaListExpression = 356, + SyntheticReferenceExpression = 357, + Count = 358, FirstAssignment = 64, LastAssignment = 79, FirstCompoundAssignment = 65, @@ -5098,7 +5137,7 @@ declare namespace ts { interface InstanceofExpression extends BinaryExpression { readonly operatorToken: Token; } - type CallLikeExpression = CallExpression | NewExpression | TaggedTemplateExpression | Decorator | JsxOpeningLikeElement | InstanceofExpression; + type CallLikeExpression = CallExpression | NewExpression | TaggedTemplateExpression | Decorator | JsxCallLike | InstanceofExpression; interface AsExpression extends Expression { readonly kind: SyntaxKind.AsExpression; readonly expression: Expression; @@ -5134,6 +5173,7 @@ declare namespace ts { readonly closingElement: JsxClosingElement; } type JsxOpeningLikeElement = JsxSelfClosingElement | JsxOpeningElement; + type JsxCallLike = JsxOpeningLikeElement | JsxOpeningFragment; type JsxAttributeLike = JsxAttribute | JsxSpreadAttribute; type JsxAttributeName = Identifier | JsxNamespacedName; type JsxTagNameExpression = Identifier | ThisExpression | JsxTagNamePropertyAccess | JsxNamespacedName; @@ -5212,6 +5252,9 @@ declare namespace ts { interface NotEmittedStatement extends Statement { readonly kind: SyntaxKind.NotEmittedStatement; } + interface NotEmittedTypeElement extends TypeElement { + readonly kind: SyntaxKind.NotEmittedTypeElement; + } /** * A list of comma-separated expressions. This node is only created by transformations. */ @@ -6115,7 +6158,7 @@ declare namespace ts { getPrivateIdentifierPropertyOfType(leftType: Type, name: string, location: Node): Symbol | undefined; getIndexInfoOfType(type: Type, kind: IndexKind): IndexInfo | undefined; getIndexInfosOfType(type: Type): readonly IndexInfo[]; - getIndexInfosOfIndexSymbol: (indexSymbol: Symbol) => IndexInfo[]; + getIndexInfosOfIndexSymbol: (indexSymbol: Symbol, siblingSymbols?: Symbol[] | undefined) => IndexInfo[]; getSignaturesOfType(type: Type, kind: SignatureKind): readonly Signature[]; getIndexTypeOfType(type: Type, kind: IndexKind): Type | undefined; getBaseTypes(type: InterfaceType): BaseType[]; @@ -6982,6 +7025,7 @@ declare namespace ts { moduleDetection?: ModuleDetectionKind; newLine?: NewLineKind; noEmit?: boolean; + noCheck?: boolean; noEmitHelpers?: boolean; noEmitOnError?: boolean; noErrorTruncation?: boolean; @@ -7021,6 +7065,7 @@ declare namespace ts { removeComments?: boolean; resolvePackageJsonExports?: boolean; resolvePackageJsonImports?: boolean; + rewriteRelativeImportExtensions?: boolean; rootDir?: string; rootDirs?: string[]; skipLibCheck?: boolean; @@ -7131,6 +7176,7 @@ declare namespace ts { ES2021 = 8, ES2022 = 9, ES2023 = 10, + ES2024 = 11, ESNext = 99, JSON = 100, Latest = 99, @@ -7813,6 +7859,7 @@ declare namespace ts { createSourceFile(statements: readonly Statement[], endOfFileToken: EndOfFileToken, flags: NodeFlags): SourceFile; updateSourceFile(node: SourceFile, statements: readonly Statement[], isDeclarationFile?: boolean, referencedFiles?: readonly FileReference[], typeReferences?: readonly FileReference[], hasNoDefaultLib?: boolean, libReferences?: readonly FileReference[]): SourceFile; createNotEmittedStatement(original: Node): NotEmittedStatement; + createNotEmittedTypeElement(): NotEmittedTypeElement; createPartiallyEmittedExpression(expression: Expression, original?: Node): PartiallyEmittedExpression; updatePartiallyEmittedExpression(node: PartiallyEmittedExpression, expression: Expression): PartiallyEmittedExpression; createCommaListExpression(elements: readonly Expression[]): CommaListExpression; @@ -8694,6 +8741,7 @@ declare namespace ts { function isTypeOnlyImportDeclaration(node: Node): node is TypeOnlyImportDeclaration; function isTypeOnlyExportDeclaration(node: Node): node is TypeOnlyExportDeclaration; function isTypeOnlyImportOrExportDeclaration(node: Node): node is TypeOnlyAliasDeclaration; + function isPartOfTypeOnlyImportOrExportDeclaration(node: Node): boolean; function isStringTextContainingNode(node: Node): node is StringLiteral | TemplateLiteralToken; function isImportAttributeName(node: Node): node is ImportAttributeName; function isModifier(node: Node): node is Modifier; @@ -8742,6 +8790,7 @@ declare namespace ts { function isJsxAttributeLike(node: Node): node is JsxAttributeLike; function isStringLiteralOrJsxExpression(node: Node): node is StringLiteral | JsxExpression; function isJsxOpeningLikeElement(node: Node): node is JsxOpeningLikeElement; + function isJsxCallLike(node: Node): node is JsxCallLike; function isCaseOrDefaultClause(node: Node): node is CaseOrDefaultClause; /** True if node is of a kind that may contain comment text. */ function isJSDocCommentContainingNode(node: Node): boolean; @@ -9120,6 +9169,7 @@ declare namespace ts { jsDocParsingMode?: JSDocParsingMode; } function parseCommandLine(commandLine: readonly string[], readFile?: (path: string) => string | undefined): ParsedCommandLine; + function parseBuildCommand(commandLine: readonly string[]): ParsedBuildCommand; /** * Reads the config file, reports errors if any and exits if the config file cannot be found */ @@ -9174,6 +9224,13 @@ declare namespace ts { options: TypeAcquisition; errors: Diagnostic[]; }; + /** Parsed command line for build */ + interface ParsedBuildCommand { + buildOptions: BuildOptions; + watchOptions: WatchOptions | undefined; + projects: string[]; + errors: Diagnostic[]; + } type DiagnosticReporter = (diagnostic: Diagnostic) => void; /** * Reports config file diagnostics @@ -9901,6 +9958,8 @@ declare namespace ts { emit(targetSourceFile?: SourceFile, writeFile?: WriteFileCallback, cancellationToken?: CancellationToken, emitOnlyDtsFiles?: boolean, customTransformers?: CustomTransformers): EmitResult | undefined; } type InvalidatedProject = UpdateOutputFileStampsProject | BuildInvalidedProject; + /** Returns true if commandline is --build and needs to be parsed useing parseBuildCommand */ + function isBuildCommand(commandLineArgs: readonly string[]): boolean; function getDefaultFormatCodeSettings(newLineCharacter?: string): FormatCodeSettings; /** * Represents an immutable snapshot of a script at a specified time.Once acquired, the @@ -10175,6 +10234,7 @@ declare namespace ts { uncommentSelection(fileName: string, textRange: TextRange): TextChange[]; getSupportedCodeFixes(fileName?: string): readonly string[]; dispose(): void; + preparePasteEditsForFile(fileName: string, copiedTextRanges: TextRange[]): boolean; getPasteEdits(args: PasteEditsArgs, formatOptions: FormatCodeSettings): PasteEdits; } interface JsxClosingTagInfo { diff --git a/node_modules/typescript/lib/typescript.js b/node_modules/typescript/lib/typescript.js index 0c2c66fb52..33387eadeb 100644 --- a/node_modules/typescript/lib/typescript.js +++ b/node_modules/typescript/lib/typescript.js @@ -144,6 +144,7 @@ __export(typescript_exports, { PollingWatchKind: () => PollingWatchKind, PragmaKindFlags: () => PragmaKindFlags, PredicateSemantics: () => PredicateSemantics, + PreparePasteEdits: () => ts_preparePasteEdits_exports, PrivateIdentifierKind: () => PrivateIdentifierKind, ProcessLevel: () => ProcessLevel, ProgramUpdateLevel: () => ProgramUpdateLevel, @@ -258,6 +259,7 @@ __export(typescript_exports, { canWatchAffectingLocation: () => canWatchAffectingLocation, canWatchAtTypes: () => canWatchAtTypes, canWatchDirectoryOrFile: () => canWatchDirectoryOrFile, + canWatchDirectoryOrFilePath: () => canWatchDirectoryOrFilePath, cartesianProduct: () => cartesianProduct, cast: () => cast, chainBundle: () => chainBundle, @@ -528,6 +530,7 @@ __export(typescript_exports, { escapeTemplateSubstitution: () => escapeTemplateSubstitution, evaluatorResult: () => evaluatorResult, every: () => every, + exclusivelyPrefixedNodeCoreModules: () => exclusivelyPrefixedNodeCoreModules, executeCommandLine: () => executeCommandLine, expandPreOrPostfixIncrementOrDecrementExpression: () => expandPreOrPostfixIncrementOrDecrementExpression, explainFiles: () => explainFiles, @@ -540,7 +543,6 @@ __export(typescript_exports, { extensionsNotSupportingExtensionlessResolution: () => extensionsNotSupportingExtensionlessResolution, externalHelpersModuleNameText: () => externalHelpersModuleNameText, factory: () => factory, - fileContainsPackageImport: () => fileContainsPackageImport, fileExtensionIs: () => fileExtensionIs, fileExtensionIsOneOf: () => fileExtensionIsOneOf, fileIncludeReasonToDiagnostics: () => fileIncludeReasonToDiagnostics, @@ -590,8 +592,10 @@ __export(typescript_exports, { forEach: () => forEach, forEachAncestor: () => forEachAncestor, forEachAncestorDirectory: () => forEachAncestorDirectory, + forEachAncestorDirectoryStoppingAtGlobalCache: () => forEachAncestorDirectoryStoppingAtGlobalCache, forEachChild: () => forEachChild, forEachChildRecursively: () => forEachChildRecursively, + forEachDynamicImportOrRequireCall: () => forEachDynamicImportOrRequireCall, forEachEmittedFile: () => forEachEmittedFile, forEachEnclosingBlockScopeContainer: () => forEachEnclosingBlockScopeContainer, forEachEntry: () => forEachEntry, @@ -632,6 +636,7 @@ __export(typescript_exports, { getAllKeys: () => getAllKeys, getAllProjectOutputs: () => getAllProjectOutputs, getAllSuperTypeNodes: () => getAllSuperTypeNodes, + getAllowImportingTsExtensions: () => getAllowImportingTsExtensions, getAllowJSCompilerOption: () => getAllowJSCompilerOption, getAllowSyntheticDefaultImports: () => getAllowSyntheticDefaultImports, getAncestor: () => getAncestor, @@ -940,6 +945,7 @@ __export(typescript_exports, { getPositionOfLineAndCharacter: () => getPositionOfLineAndCharacter, getPossibleGenericSignatures: () => getPossibleGenericSignatures, getPossibleOriginalInputExtensionForExtension: () => getPossibleOriginalInputExtensionForExtension, + getPossibleOriginalInputPathWithoutChangingExt: () => getPossibleOriginalInputPathWithoutChangingExt, getPossibleTypeArgumentsInfo: () => getPossibleTypeArgumentsInfo, getPreEmitDiagnostics: () => getPreEmitDiagnostics, getPrecedingNonSpaceCharacterPosition: () => getPrecedingNonSpaceCharacterPosition, @@ -1203,7 +1209,7 @@ __export(typescript_exports, { isBooleanLiteral: () => isBooleanLiteral, isBreakOrContinueStatement: () => isBreakOrContinueStatement, isBreakStatement: () => isBreakStatement, - isBuild: () => isBuild, + isBuildCommand: () => isBuildCommand, isBuildInfoFile: () => isBuildInfoFile, isBuilderProgram: () => isBuilderProgram, isBundle: () => isBundle, @@ -1390,7 +1396,7 @@ __export(typescript_exports, { isImportSpecifier: () => isImportSpecifier, isImportTypeAssertionContainer: () => isImportTypeAssertionContainer, isImportTypeNode: () => isImportTypeNode, - isImportableFile: () => isImportableFile, + isImportable: () => isImportable, isInComment: () => isInComment, isInCompoundLikeAssignment: () => isInCompoundLikeAssignment, isInExpressionContext: () => isInExpressionContext, @@ -1489,6 +1495,7 @@ __export(typescript_exports, { isJsxAttributeLike: () => isJsxAttributeLike, isJsxAttributeName: () => isJsxAttributeName, isJsxAttributes: () => isJsxAttributes, + isJsxCallLike: () => isJsxCallLike, isJsxChild: () => isJsxChild, isJsxClosingElement: () => isJsxClosingElement, isJsxClosingFragment: () => isJsxClosingFragment, @@ -1571,6 +1578,7 @@ __export(typescript_exports, { isNamespaceReexportDeclaration: () => isNamespaceReexportDeclaration, isNewExpression: () => isNewExpression, isNewExpressionTarget: () => isNewExpressionTarget, + isNewScopeNode: () => isNewScopeNode, isNoSubstitutionTemplateLiteral: () => isNoSubstitutionTemplateLiteral, isNodeArray: () => isNodeArray, isNodeArrayMultiLine: () => isNodeArrayMultiLine, @@ -1619,6 +1627,7 @@ __export(typescript_exports, { isParseTreeNode: () => isParseTreeNode, isPartOfParameterDeclaration: () => isPartOfParameterDeclaration, isPartOfTypeNode: () => isPartOfTypeNode, + isPartOfTypeOnlyImportOrExportDeclaration: () => isPartOfTypeOnlyImportOrExportDeclaration, isPartOfTypeQuery: () => isPartOfTypeQuery, isPartiallyEmittedExpression: () => isPartiallyEmittedExpression, isPatternMatch: () => isPatternMatch, @@ -1687,6 +1696,7 @@ __export(typescript_exports, { isSimpleInlineableExpression: () => isSimpleInlineableExpression, isSimpleParameterList: () => isSimpleParameterList, isSingleOrDoubleQuote: () => isSingleOrDoubleQuote, + isSolutionConfig: () => isSolutionConfig, isSourceElement: () => isSourceElement, isSourceFile: () => isSourceFile, isSourceFileFromLibrary: () => isSourceFileFromLibrary, @@ -1795,7 +1805,6 @@ __export(typescript_exports, { isVariableDeclarationInitializedToRequire: () => isVariableDeclarationInitializedToRequire, isVariableDeclarationList: () => isVariableDeclarationList, isVariableLike: () => isVariableLike, - isVariableLikeOrAccessor: () => isVariableLikeOrAccessor, isVariableStatement: () => isVariableStatement, isVoidExpression: () => isVoidExpression, isWatchSet: () => isWatchSet, @@ -1832,6 +1841,7 @@ __export(typescript_exports, { matchPatternOrExact: () => matchPatternOrExact, matchedText: () => matchedText, matchesExclude: () => matchesExclude, + matchesExcludeWorker: () => matchesExcludeWorker, maxBy: () => maxBy, maybeBind: () => maybeBind, maybeSetLocalizedDiagnosticMessages: () => maybeSetLocalizedDiagnosticMessages, @@ -1871,6 +1881,7 @@ __export(typescript_exports, { noTransformers: () => noTransformers, noTruncationMaximumTruncationLength: () => noTruncationMaximumTruncationLength, nodeCanBeDecorated: () => nodeCanBeDecorated, + nodeCoreModules: () => nodeCoreModules, nodeHasName: () => nodeHasName, nodeIsDecorated: () => nodeIsDecorated, nodeIsMissing: () => nodeIsMissing, @@ -2015,6 +2026,7 @@ __export(typescript_exports, { returnTrue: () => returnTrue, returnUndefined: () => returnUndefined, returnsPromise: () => returnsPromise, + rewriteModuleSpecifier: () => rewriteModuleSpecifier, sameFlatMap: () => sameFlatMap, sameMap: () => sameMap, sameMapping: () => sameMapping, @@ -2060,6 +2072,7 @@ __export(typescript_exports, { setValueDeclaration: () => setValueDeclaration, shouldAllowImportingTsExtension: () => shouldAllowImportingTsExtension, shouldPreserveConstEnums: () => shouldPreserveConstEnums, + shouldRewriteModuleSpecifier: () => shouldRewriteModuleSpecifier, shouldUseUriStyleNodeCoreModules: () => shouldUseUriStyleNodeCoreModules, showModuleSpecifier: () => showModuleSpecifier, signatureHasRestParameter: () => signatureHasRestParameter, @@ -2117,6 +2130,7 @@ __export(typescript_exports, { tagNamesAreEquivalent: () => tagNamesAreEquivalent, takeWhile: () => takeWhile, targetOptionDeclaration: () => targetOptionDeclaration, + targetToLibMap: () => targetToLibMap, testFormatSettings: () => testFormatSettings, textChangeRangeIsUnchanged: () => textChangeRangeIsUnchanged, textChangeRangeNewSpan: () => textChangeRangeNewSpan, @@ -2210,6 +2224,7 @@ __export(typescript_exports, { tryRemoveExtension: () => tryRemoveExtension, tryRemovePrefix: () => tryRemovePrefix, tryRemoveSuffix: () => tryRemoveSuffix, + tscBuildOption: () => tscBuildOption, typeAcquisitionDeclarations: () => typeAcquisitionDeclarations, typeAliasNamePart: () => typeAliasNamePart, typeDirectiveIsEqualTo: () => typeDirectiveIsEqualTo, @@ -2221,6 +2236,7 @@ __export(typescript_exports, { unescapeLeadingUnderscores: () => unescapeLeadingUnderscores, unmangleScopedPackageName: () => unmangleScopedPackageName, unorderedRemoveItem: () => unorderedRemoveItem, + unprefixedNodeCoreModules: () => unprefixedNodeCoreModules, unreachableCodeIsError: () => unreachableCodeIsError, unsetNodeChildren: () => unsetNodeChildren, unusedLabelIsError: () => unusedLabelIsError, @@ -2261,8 +2277,8 @@ __export(typescript_exports, { module.exports = __toCommonJS(typescript_exports); // src/compiler/corePublic.ts -var versionMajorMinor = "5.6"; -var version = "5.6.3"; +var versionMajorMinor = "5.7"; +var version = "5.7.2"; var Comparison = /* @__PURE__ */ ((Comparison3) => { Comparison3[Comparison3["LessThan"] = -1] = "LessThan"; Comparison3[Comparison3["EqualTo"] = 0] = "EqualTo"; @@ -2730,7 +2746,10 @@ function deduplicateSorted(array, comparer) { for (let i = 1; i < array.length; i++) { const next = array[i]; switch (comparer(next, last2)) { + // equality comparison case true: + // relational comparison + // falls through case 0 /* EqualTo */: continue; case -1 /* LessThan */: @@ -3615,7 +3634,7 @@ function findBestPatternMatch(values, getPattern, candidate) { for (let i = 0; i < values.length; i++) { const v = values[i]; const pattern = getPattern(v); - if (isPatternMatch(pattern, candidate) && pattern.prefix.length > longestMatchPrefixLength) { + if (pattern.prefix.length > longestMatchPrefixLength && isPatternMatch(pattern, candidate)) { longestMatchPrefixLength = pattern.prefix.length; matchedValue = v; } @@ -5851,10 +5870,11 @@ var SyntaxKind = /* @__PURE__ */ ((SyntaxKind5) => { SyntaxKind5[SyntaxKind5["JSDocImportTag"] = 351] = "JSDocImportTag"; SyntaxKind5[SyntaxKind5["SyntaxList"] = 352] = "SyntaxList"; SyntaxKind5[SyntaxKind5["NotEmittedStatement"] = 353] = "NotEmittedStatement"; - SyntaxKind5[SyntaxKind5["PartiallyEmittedExpression"] = 354] = "PartiallyEmittedExpression"; - SyntaxKind5[SyntaxKind5["CommaListExpression"] = 355] = "CommaListExpression"; - SyntaxKind5[SyntaxKind5["SyntheticReferenceExpression"] = 356] = "SyntheticReferenceExpression"; - SyntaxKind5[SyntaxKind5["Count"] = 357] = "Count"; + SyntaxKind5[SyntaxKind5["NotEmittedTypeElement"] = 354] = "NotEmittedTypeElement"; + SyntaxKind5[SyntaxKind5["PartiallyEmittedExpression"] = 355] = "PartiallyEmittedExpression"; + SyntaxKind5[SyntaxKind5["CommaListExpression"] = 356] = "CommaListExpression"; + SyntaxKind5[SyntaxKind5["SyntheticReferenceExpression"] = 357] = "SyntheticReferenceExpression"; + SyntaxKind5[SyntaxKind5["Count"] = 358] = "Count"; SyntaxKind5[SyntaxKind5["FirstAssignment"] = 64 /* EqualsToken */] = "FirstAssignment"; SyntaxKind5[SyntaxKind5["LastAssignment"] = 79 /* CaretEqualsToken */] = "LastAssignment"; SyntaxKind5[SyntaxKind5["FirstCompoundAssignment"] = 65 /* PlusEqualsToken */] = "FirstCompoundAssignment"; @@ -6754,6 +6774,7 @@ var ScriptTarget = /* @__PURE__ */ ((ScriptTarget12) => { ScriptTarget12[ScriptTarget12["ES2021"] = 8] = "ES2021"; ScriptTarget12[ScriptTarget12["ES2022"] = 9] = "ES2022"; ScriptTarget12[ScriptTarget12["ES2023"] = 10] = "ES2023"; + ScriptTarget12[ScriptTarget12["ES2024"] = 11] = "ES2024"; ScriptTarget12[ScriptTarget12["ESNext"] = 99] = "ESNext"; ScriptTarget12[ScriptTarget12["JSON"] = 100] = "JSON"; ScriptTarget12[ScriptTarget12["Latest"] = 99 /* ESNext */] = "Latest"; @@ -7030,43 +7051,42 @@ var InternalEmitFlags = /* @__PURE__ */ ((InternalEmitFlags3) => { InternalEmitFlags3[InternalEmitFlags3["TransformPrivateStaticElements"] = 32] = "TransformPrivateStaticElements"; return InternalEmitFlags3; })(InternalEmitFlags || {}); -var LanguageFeatureMinimumTarget = /* @__PURE__ */ ((LanguageFeatureMinimumTarget2) => { - LanguageFeatureMinimumTarget2[LanguageFeatureMinimumTarget2["Classes"] = 2 /* ES2015 */] = "Classes"; - LanguageFeatureMinimumTarget2[LanguageFeatureMinimumTarget2["ForOf"] = 2 /* ES2015 */] = "ForOf"; - LanguageFeatureMinimumTarget2[LanguageFeatureMinimumTarget2["Generators"] = 2 /* ES2015 */] = "Generators"; - LanguageFeatureMinimumTarget2[LanguageFeatureMinimumTarget2["Iteration"] = 2 /* ES2015 */] = "Iteration"; - LanguageFeatureMinimumTarget2[LanguageFeatureMinimumTarget2["SpreadElements"] = 2 /* ES2015 */] = "SpreadElements"; - LanguageFeatureMinimumTarget2[LanguageFeatureMinimumTarget2["RestElements"] = 2 /* ES2015 */] = "RestElements"; - LanguageFeatureMinimumTarget2[LanguageFeatureMinimumTarget2["TaggedTemplates"] = 2 /* ES2015 */] = "TaggedTemplates"; - LanguageFeatureMinimumTarget2[LanguageFeatureMinimumTarget2["DestructuringAssignment"] = 2 /* ES2015 */] = "DestructuringAssignment"; - LanguageFeatureMinimumTarget2[LanguageFeatureMinimumTarget2["BindingPatterns"] = 2 /* ES2015 */] = "BindingPatterns"; - LanguageFeatureMinimumTarget2[LanguageFeatureMinimumTarget2["ArrowFunctions"] = 2 /* ES2015 */] = "ArrowFunctions"; - LanguageFeatureMinimumTarget2[LanguageFeatureMinimumTarget2["BlockScopedVariables"] = 2 /* ES2015 */] = "BlockScopedVariables"; - LanguageFeatureMinimumTarget2[LanguageFeatureMinimumTarget2["ObjectAssign"] = 2 /* ES2015 */] = "ObjectAssign"; - LanguageFeatureMinimumTarget2[LanguageFeatureMinimumTarget2["RegularExpressionFlagsUnicode"] = 2 /* ES2015 */] = "RegularExpressionFlagsUnicode"; - LanguageFeatureMinimumTarget2[LanguageFeatureMinimumTarget2["RegularExpressionFlagsSticky"] = 2 /* ES2015 */] = "RegularExpressionFlagsSticky"; - LanguageFeatureMinimumTarget2[LanguageFeatureMinimumTarget2["Exponentiation"] = 3 /* ES2016 */] = "Exponentiation"; - LanguageFeatureMinimumTarget2[LanguageFeatureMinimumTarget2["AsyncFunctions"] = 4 /* ES2017 */] = "AsyncFunctions"; - LanguageFeatureMinimumTarget2[LanguageFeatureMinimumTarget2["ForAwaitOf"] = 5 /* ES2018 */] = "ForAwaitOf"; - LanguageFeatureMinimumTarget2[LanguageFeatureMinimumTarget2["AsyncGenerators"] = 5 /* ES2018 */] = "AsyncGenerators"; - LanguageFeatureMinimumTarget2[LanguageFeatureMinimumTarget2["AsyncIteration"] = 5 /* ES2018 */] = "AsyncIteration"; - LanguageFeatureMinimumTarget2[LanguageFeatureMinimumTarget2["ObjectSpreadRest"] = 5 /* ES2018 */] = "ObjectSpreadRest"; - LanguageFeatureMinimumTarget2[LanguageFeatureMinimumTarget2["RegularExpressionFlagsDotAll"] = 5 /* ES2018 */] = "RegularExpressionFlagsDotAll"; - LanguageFeatureMinimumTarget2[LanguageFeatureMinimumTarget2["BindinglessCatch"] = 6 /* ES2019 */] = "BindinglessCatch"; - LanguageFeatureMinimumTarget2[LanguageFeatureMinimumTarget2["BigInt"] = 7 /* ES2020 */] = "BigInt"; - LanguageFeatureMinimumTarget2[LanguageFeatureMinimumTarget2["NullishCoalesce"] = 7 /* ES2020 */] = "NullishCoalesce"; - LanguageFeatureMinimumTarget2[LanguageFeatureMinimumTarget2["OptionalChaining"] = 7 /* ES2020 */] = "OptionalChaining"; - LanguageFeatureMinimumTarget2[LanguageFeatureMinimumTarget2["LogicalAssignment"] = 8 /* ES2021 */] = "LogicalAssignment"; - LanguageFeatureMinimumTarget2[LanguageFeatureMinimumTarget2["TopLevelAwait"] = 9 /* ES2022 */] = "TopLevelAwait"; - LanguageFeatureMinimumTarget2[LanguageFeatureMinimumTarget2["ClassFields"] = 9 /* ES2022 */] = "ClassFields"; - LanguageFeatureMinimumTarget2[LanguageFeatureMinimumTarget2["PrivateNamesAndClassStaticBlocks"] = 9 /* ES2022 */] = "PrivateNamesAndClassStaticBlocks"; - LanguageFeatureMinimumTarget2[LanguageFeatureMinimumTarget2["RegularExpressionFlagsHasIndices"] = 9 /* ES2022 */] = "RegularExpressionFlagsHasIndices"; - LanguageFeatureMinimumTarget2[LanguageFeatureMinimumTarget2["ShebangComments"] = 99 /* ESNext */] = "ShebangComments"; - LanguageFeatureMinimumTarget2[LanguageFeatureMinimumTarget2["UsingAndAwaitUsing"] = 99 /* ESNext */] = "UsingAndAwaitUsing"; - LanguageFeatureMinimumTarget2[LanguageFeatureMinimumTarget2["ClassAndClassElementDecorators"] = 99 /* ESNext */] = "ClassAndClassElementDecorators"; - LanguageFeatureMinimumTarget2[LanguageFeatureMinimumTarget2["RegularExpressionFlagsUnicodeSets"] = 99 /* ESNext */] = "RegularExpressionFlagsUnicodeSets"; - return LanguageFeatureMinimumTarget2; -})(LanguageFeatureMinimumTarget || {}); +var LanguageFeatureMinimumTarget = { + Classes: 2 /* ES2015 */, + ForOf: 2 /* ES2015 */, + Generators: 2 /* ES2015 */, + Iteration: 2 /* ES2015 */, + SpreadElements: 2 /* ES2015 */, + RestElements: 2 /* ES2015 */, + TaggedTemplates: 2 /* ES2015 */, + DestructuringAssignment: 2 /* ES2015 */, + BindingPatterns: 2 /* ES2015 */, + ArrowFunctions: 2 /* ES2015 */, + BlockScopedVariables: 2 /* ES2015 */, + ObjectAssign: 2 /* ES2015 */, + RegularExpressionFlagsUnicode: 2 /* ES2015 */, + RegularExpressionFlagsSticky: 2 /* ES2015 */, + Exponentiation: 3 /* ES2016 */, + AsyncFunctions: 4 /* ES2017 */, + ForAwaitOf: 5 /* ES2018 */, + AsyncGenerators: 5 /* ES2018 */, + AsyncIteration: 5 /* ES2018 */, + ObjectSpreadRest: 5 /* ES2018 */, + RegularExpressionFlagsDotAll: 5 /* ES2018 */, + BindinglessCatch: 6 /* ES2019 */, + BigInt: 7 /* ES2020 */, + NullishCoalesce: 7 /* ES2020 */, + OptionalChaining: 7 /* ES2020 */, + LogicalAssignment: 8 /* ES2021 */, + TopLevelAwait: 9 /* ES2022 */, + ClassFields: 9 /* ES2022 */, + PrivateNamesAndClassStaticBlocks: 9 /* ES2022 */, + RegularExpressionFlagsHasIndices: 9 /* ES2022 */, + ShebangComments: 10 /* ES2023 */, + RegularExpressionFlagsUnicodeSets: 11 /* ES2024 */, + UsingAndAwaitUsing: 99 /* ESNext */, + ClassAndClassElementDecorators: 99 /* ESNext */ +}; var ExternalEmitHelpers = /* @__PURE__ */ ((ExternalEmitHelpers2) => { ExternalEmitHelpers2[ExternalEmitHelpers2["Extends"] = 1] = "Extends"; ExternalEmitHelpers2[ExternalEmitHelpers2["Assign"] = 2] = "Assign"; @@ -7094,6 +7114,7 @@ var ExternalEmitHelpers = /* @__PURE__ */ ((ExternalEmitHelpers2) => { ExternalEmitHelpers2[ExternalEmitHelpers2["SetFunctionName"] = 4194304] = "SetFunctionName"; ExternalEmitHelpers2[ExternalEmitHelpers2["PropKey"] = 8388608] = "PropKey"; ExternalEmitHelpers2[ExternalEmitHelpers2["AddDisposableResourceAndDisposeResources"] = 16777216] = "AddDisposableResourceAndDisposeResources"; + ExternalEmitHelpers2[ExternalEmitHelpers2["RewriteRelativeImportExtension"] = 33554432] = "RewriteRelativeImportExtension"; ExternalEmitHelpers2[ExternalEmitHelpers2["FirstEmitHelper"] = 1 /* Extends */] = "FirstEmitHelper"; ExternalEmitHelpers2[ExternalEmitHelpers2["LastEmitHelper"] = 16777216 /* AddDisposableResourceAndDisposeResources */] = "LastEmitHelper"; ExternalEmitHelpers2[ExternalEmitHelpers2["ForOfIncludes"] = 256 /* Values */] = "ForOfIncludes"; @@ -7994,6 +8015,7 @@ function createSystemWatchFunctions({ return generateWatchFileOptions(4 /* UseFsEvents */, 2 /* DynamicPriority */, options); case "UseFsEventsOnParentDirectory": useNonPollingWatchers2 = true; + // fall through default: return useNonPollingWatchers2 ? ( // Use notifications from FS to watch with falling back to fs.watchFile @@ -8242,6 +8264,7 @@ var sys = (() => { let profilePath = "./profile.cpuprofile"; const isMacOs = process.platform === "darwin"; const isLinuxOrMacOs = process.platform === "linux" || isMacOs; + const statSyncOptions = { throwIfNoEntry: false }; const platform = _os.platform(); const useCaseSensitiveFileNames2 = isFileSystemCaseSensitive(); const fsRealpath = !!_fs.realpathSync.native ? process.platform === "win32" ? fsRealPathHandlingLongPath : _fs.realpathSync.native : _fs.realpathSync; @@ -8323,12 +8346,9 @@ var sys = (() => { return process.memoryUsage().heapUsed; }, getFileSize(path) { - try { - const stat = statSync(path); - if (stat == null ? void 0 : stat.isFile()) { - return stat.size; - } - } catch { + const stat = statSync(path); + if (stat == null ? void 0 : stat.isFile()) { + return stat.size; } return 0; }, @@ -8371,7 +8391,11 @@ var sys = (() => { }; return nodeSystem; function statSync(path) { - return _fs.statSync(path, { throwIfNoEntry: false }); + try { + return _fs.statSync(path, statSyncOptions); + } catch { + return void 0; + } } function enableCPUProfiler(path, cb) { if (activeSession) { @@ -8425,11 +8449,8 @@ var sys = (() => { activeSession.post("Profiler.stop", (err, { profile }) => { var _a; if (!err) { - try { - if ((_a = statSync(profilePath)) == null ? void 0 : _a.isDirectory()) { - profilePath = _path.join(profilePath, `${(/* @__PURE__ */ new Date()).toISOString().replace(/:/g, "-")}+P${process.pid}.cpuprofile`); - } - } catch { + if ((_a = statSync(profilePath)) == null ? void 0 : _a.isDirectory()) { + profilePath = _path.join(profilePath, `${(/* @__PURE__ */ new Date()).toISOString().replace(/:/g, "-")}+P${process.pid}.cpuprofile`); } try { _fs.mkdirSync(_path.dirname(profilePath), { recursive: true }); @@ -8548,12 +8569,8 @@ var sys = (() => { let stat; if (typeof dirent === "string" || dirent.isSymbolicLink()) { const name = combinePaths(path, entry); - try { - stat = statSync(name); - if (!stat) { - continue; - } - } catch { + stat = statSync(name); + if (!stat) { continue; } } else { @@ -8576,25 +8593,17 @@ var sys = (() => { return matchFiles(path, extensions, excludes, includes, useCaseSensitiveFileNames2, process.cwd(), depth, getAccessibleFileSystemEntries, realpath); } function fileSystemEntryExists(path, entryKind) { - const originalStackTraceLimit = Error.stackTraceLimit; - Error.stackTraceLimit = 0; - try { - const stat = statSync(path); - if (!stat) { - return false; - } - switch (entryKind) { - case 0 /* File */: - return stat.isFile(); - case 1 /* Directory */: - return stat.isDirectory(); - default: - return false; - } - } catch { + const stat = statSync(path); + if (!stat) { return false; - } finally { - Error.stackTraceLimit = originalStackTraceLimit; + } + switch (entryKind) { + case 0 /* File */: + return stat.isFile(); + case 1 /* Directory */: + return stat.isDirectory(); + default: + return false; } } function fileExists(path) { @@ -8618,15 +8627,7 @@ var sys = (() => { } function getModifiedTime3(path) { var _a; - const originalStackTraceLimit = Error.stackTraceLimit; - Error.stackTraceLimit = 0; - try { - return (_a = statSync(path)) == null ? void 0 : _a.mtime; - } catch { - return void 0; - } finally { - Error.stackTraceLimit = originalStackTraceLimit; - } + return (_a = statSync(path)) == null ? void 0 : _a.mtime; } function setModifiedTime(path, time) { try { @@ -9536,6 +9537,10 @@ var Diagnostics = { /*reportsDeprecated*/ true ), + Type_only_import_of_an_ECMAScript_module_from_a_CommonJS_module_must_have_a_resolution_mode_attribute: diag(1541, 1 /* Error */, "Type_only_import_of_an_ECMAScript_module_from_a_CommonJS_module_must_have_a_resolution_mode_attribut_1541", "Type-only import of an ECMAScript module from a CommonJS module must have a 'resolution-mode' attribute."), + Type_import_of_an_ECMAScript_module_from_a_CommonJS_module_must_have_a_resolution_mode_attribute: diag(1542, 1 /* Error */, "Type_import_of_an_ECMAScript_module_from_a_CommonJS_module_must_have_a_resolution_mode_attribute_1542", "Type import of an ECMAScript module from a CommonJS module must have a 'resolution-mode' attribute."), + Importing_a_JSON_file_into_an_ECMAScript_module_requires_a_type_Colon_json_import_attribute_when_module_is_set_to_0: diag(1543, 1 /* Error */, "Importing_a_JSON_file_into_an_ECMAScript_module_requires_a_type_Colon_json_import_attribute_when_mod_1543", `Importing a JSON file into an ECMAScript module requires a 'type: "json"' import attribute when 'module' is set to '{0}'.`), + Named_imports_from_a_JSON_file_into_an_ECMAScript_module_are_not_allowed_when_module_is_set_to_0: diag(1544, 1 /* Error */, "Named_imports_from_a_JSON_file_into_an_ECMAScript_module_are_not_allowed_when_module_is_set_to_0_1544", "Named imports from a JSON file into an ECMAScript module are not allowed when 'module' is set to '{0}'."), The_types_of_0_are_incompatible_between_these_types: diag(2200, 1 /* 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: diag(2201, 1 /* 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: diag( @@ -10107,6 +10112,12 @@ var Diagnostics = { This_expression_is_always_nullish: diag(2871, 1 /* Error */, "This_expression_is_always_nullish_2871", "This expression is always nullish."), This_kind_of_expression_is_always_truthy: diag(2872, 1 /* Error */, "This_kind_of_expression_is_always_truthy_2872", "This kind of expression is always truthy."), This_kind_of_expression_is_always_falsy: diag(2873, 1 /* Error */, "This_kind_of_expression_is_always_falsy_2873", "This kind of expression is always falsy."), + This_JSX_tag_requires_0_to_be_in_scope_but_it_could_not_be_found: diag(2874, 1 /* Error */, "This_JSX_tag_requires_0_to_be_in_scope_but_it_could_not_be_found_2874", "This JSX tag requires '{0}' to be in scope, but it could not be found."), + This_JSX_tag_requires_the_module_path_0_to_exist_but_none_could_be_found_Make_sure_you_have_types_for_the_appropriate_package_installed: diag(2875, 1 /* Error */, "This_JSX_tag_requires_the_module_path_0_to_exist_but_none_could_be_found_Make_sure_you_have_types_fo_2875", "This JSX tag requires the module path '{0}' to exist, but none could be found. Make sure you have types for the appropriate package installed."), + This_relative_import_path_is_unsafe_to_rewrite_because_it_looks_like_a_file_name_but_actually_resolves_to_0: diag(2876, 1 /* Error */, "This_relative_import_path_is_unsafe_to_rewrite_because_it_looks_like_a_file_name_but_actually_resolv_2876", 'This relative import path is unsafe to rewrite because it looks like a file name, but actually resolves to "{0}".'), + This_import_uses_a_0_extension_to_resolve_to_an_input_TypeScript_file_but_will_not_be_rewritten_during_emit_because_it_is_not_a_relative_path: diag(2877, 1 /* Error */, "This_import_uses_a_0_extension_to_resolve_to_an_input_TypeScript_file_but_will_not_be_rewritten_duri_2877", "This import uses a '{0}' extension to resolve to an input TypeScript file, but will not be rewritten during emit because it is not a relative path."), + This_import_path_is_unsafe_to_rewrite_because_it_resolves_to_another_project_and_the_relative_path_between_the_projects_output_files_is_not_the_same_as_the_relative_path_between_its_input_files: diag(2878, 1 /* Error */, "This_import_path_is_unsafe_to_rewrite_because_it_resolves_to_another_project_and_the_relative_path_b_2878", "This import path is unsafe to rewrite because it resolves to another project, and the relative path between the projects' output files is not the same as the relative path between its input files."), + Using_JSX_fragments_requires_fragment_factory_0_to_be_in_scope_but_it_could_not_be_found: diag(2879, 1 /* Error */, "Using_JSX_fragments_requires_fragment_factory_0_to_be_in_scope_but_it_could_not_be_found_2879", "Using JSX fragments requires fragment factory '{0}' to be in scope, but it could not be found."), Import_declaration_0_is_using_private_name_1: diag(4e3, 1 /* 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: diag(4002, 1 /* 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: diag(4004, 1 /* 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}'."), @@ -10663,6 +10674,7 @@ var Diagnostics = { Searching_all_ancestor_node_modules_directories_for_fallback_extensions_Colon_0: diag(6418, 3 /* Message */, "Searching_all_ancestor_node_modules_directories_for_fallback_extensions_Colon_0_6418", "Searching all ancestor node_modules directories for fallback extensions: {0}."), Project_0_is_out_of_date_because_buildinfo_file_1_indicates_that_program_needs_to_report_errors: diag(6419, 3 /* Message */, "Project_0_is_out_of_date_because_buildinfo_file_1_indicates_that_program_needs_to_report_errors_6419", "Project '{0}' is out of date because buildinfo file '{1}' indicates that program needs to report errors."), Project_0_is_out_of_date_because_1: diag(6420, 3 /* Message */, "Project_0_is_out_of_date_because_1_6420", "Project '{0}' is out of date because {1}."), + Rewrite_ts_tsx_mts_and_cts_file_extensions_in_relative_import_paths_to_their_JavaScript_equivalent_in_output_files: diag(6421, 3 /* Message */, "Rewrite_ts_tsx_mts_and_cts_file_extensions_in_relative_import_paths_to_their_JavaScript_equivalent_i_6421", "Rewrite '.ts', '.tsx', '.mts', and '.cts' file extensions in relative import paths to their JavaScript equivalent in output files."), The_expected_type_comes_from_property_0_which_is_declared_here_on_type_1: diag(6500, 3 /* 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: diag(6501, 3 /* 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: diag(6502, 3 /* Message */, "The_expected_type_comes_from_the_return_type_of_this_signature_6502", "The expected type comes from the return type of this signature."), @@ -10842,7 +10854,7 @@ var Diagnostics = { _0_implicitly_has_type_any_because_it_does_not_have_a_type_annotation_and_is_referenced_directly_or_indirectly_in_its_own_initializer: diag(7022, 1 /* 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: diag(7023, 1 /* 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: diag(7024, 1 /* 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: diag(7025, 1 /* 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."), + Generator_implicitly_has_yield_type_0_Consider_supplying_a_return_type_annotation: diag(7025, 1 /* Error */, "Generator_implicitly_has_yield_type_0_Consider_supplying_a_return_type_annotation_7025", "Generator implicitly has yield type '{0}'. Consider supplying a return type annotation."), JSX_element_implicitly_has_type_any_because_no_interface_JSX_0_exists: diag(7026, 1 /* 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: diag( 7027, @@ -10933,7 +10945,7 @@ var Diagnostics = { Declaration_emit_for_this_file_requires_using_private_name_0_from_module_1_An_explicit_type_annotation_may_unblock_declaration_emit: diag(9006, 1 /* 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."), Function_must_have_an_explicit_return_type_annotation_with_isolatedDeclarations: diag(9007, 1 /* Error */, "Function_must_have_an_explicit_return_type_annotation_with_isolatedDeclarations_9007", "Function must have an explicit return type annotation with --isolatedDeclarations."), Method_must_have_an_explicit_return_type_annotation_with_isolatedDeclarations: diag(9008, 1 /* Error */, "Method_must_have_an_explicit_return_type_annotation_with_isolatedDeclarations_9008", "Method must have an explicit return type annotation with --isolatedDeclarations."), - At_least_one_accessor_must_have_an_explicit_return_type_annotation_with_isolatedDeclarations: diag(9009, 1 /* Error */, "At_least_one_accessor_must_have_an_explicit_return_type_annotation_with_isolatedDeclarations_9009", "At least one accessor must have an explicit return type annotation with --isolatedDeclarations."), + At_least_one_accessor_must_have_an_explicit_type_annotation_with_isolatedDeclarations: diag(9009, 1 /* Error */, "At_least_one_accessor_must_have_an_explicit_type_annotation_with_isolatedDeclarations_9009", "At least one accessor must have an explicit type annotation with --isolatedDeclarations."), Variable_must_have_an_explicit_type_annotation_with_isolatedDeclarations: diag(9010, 1 /* Error */, "Variable_must_have_an_explicit_type_annotation_with_isolatedDeclarations_9010", "Variable must have an explicit type annotation with --isolatedDeclarations."), Parameter_must_have_an_explicit_type_annotation_with_isolatedDeclarations: diag(9011, 1 /* Error */, "Parameter_must_have_an_explicit_type_annotation_with_isolatedDeclarations_9011", "Parameter must have an explicit type annotation with --isolatedDeclarations."), Property_must_have_an_explicit_type_annotation_with_isolatedDeclarations: diag(9012, 1 /* Error */, "Property_must_have_an_explicit_type_annotation_with_isolatedDeclarations_9012", "Property must have an explicit type annotation with --isolatedDeclarations."), @@ -10948,7 +10960,7 @@ var Diagnostics = { Extends_clause_can_t_contain_an_expression_with_isolatedDeclarations: diag(9021, 1 /* Error */, "Extends_clause_can_t_contain_an_expression_with_isolatedDeclarations_9021", "Extends clause can't contain an expression with --isolatedDeclarations."), Inference_from_class_expressions_is_not_supported_with_isolatedDeclarations: diag(9022, 1 /* Error */, "Inference_from_class_expressions_is_not_supported_with_isolatedDeclarations_9022", "Inference from class expressions is not supported with --isolatedDeclarations."), Assigning_properties_to_functions_without_declaring_them_is_not_supported_with_isolatedDeclarations_Add_an_explicit_declaration_for_the_properties_assigned_to_this_function: diag(9023, 1 /* Error */, "Assigning_properties_to_functions_without_declaring_them_is_not_supported_with_isolatedDeclarations__9023", "Assigning properties to functions without declaring them is not supported with --isolatedDeclarations. Add an explicit declaration for the properties assigned to this function."), - Declaration_emit_for_this_parameter_requires_implicitly_adding_undefined_to_it_s_type_This_is_not_supported_with_isolatedDeclarations: diag(9025, 1 /* Error */, "Declaration_emit_for_this_parameter_requires_implicitly_adding_undefined_to_it_s_type_This_is_not_su_9025", "Declaration emit for this parameter requires implicitly adding undefined to it's type. This is not supported with --isolatedDeclarations."), + Declaration_emit_for_this_parameter_requires_implicitly_adding_undefined_to_its_type_This_is_not_supported_with_isolatedDeclarations: diag(9025, 1 /* Error */, "Declaration_emit_for_this_parameter_requires_implicitly_adding_undefined_to_its_type_This_is_not_sup_9025", "Declaration emit for this parameter requires implicitly adding undefined to its type. This is not supported with --isolatedDeclarations."), Declaration_emit_for_this_file_requires_preserving_this_import_for_augmentations_This_is_not_supported_with_isolatedDeclarations: diag(9026, 1 /* Error */, "Declaration_emit_for_this_file_requires_preserving_this_import_for_augmentations_This_is_not_support_9026", "Declaration emit for this file requires preserving this import for augmentations. This is not supported with --isolatedDeclarations."), Add_a_type_annotation_to_the_variable_0: diag(9027, 1 /* Error */, "Add_a_type_annotation_to_the_variable_0_9027", "Add a type annotation to the variable {0}."), Add_a_type_annotation_to_the_parameter_0: diag(9028, 1 /* Error */, "Add_a_type_annotation_to_the_parameter_0_9028", "Add a type annotation to the parameter {0}."), @@ -11242,6 +11254,8 @@ var Diagnostics = { Add_all_optional_parameters: diag(95193, 3 /* Message */, "Add_all_optional_parameters_95193", "Add all optional parameters"), Wrap_in_parentheses: diag(95194, 3 /* Message */, "Wrap_in_parentheses_95194", "Wrap in parentheses"), Wrap_all_invalid_decorator_expressions_in_parentheses: diag(95195, 3 /* Message */, "Wrap_all_invalid_decorator_expressions_in_parentheses_95195", "Wrap all invalid decorator expressions in parentheses"), + Add_resolution_mode_import_attribute: diag(95196, 3 /* Message */, "Add_resolution_mode_import_attribute_95196", "Add 'resolution-mode' import attribute"), + Add_resolution_mode_import_attribute_to_all_type_only_imports_that_need_it: diag(95197, 3 /* Message */, "Add_resolution_mode_import_attribute_to_all_type_only_imports_that_need_it_95197", "Add 'resolution-mode' import attribute to all type-only imports that need it"), No_value_exists_in_scope_for_the_shorthand_property_0_Either_declare_one_or_provide_an_initializer: diag(18004, 1 /* 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: diag(18006, 1 /* 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: diag(18007, 1 /* 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?"), @@ -11457,11 +11471,11 @@ var charCodeToRegExpFlag = /* @__PURE__ */ new Map([ [121 /* y */, 128 /* Sticky */] ]); var regExpFlagToFirstAvailableLanguageVersion = /* @__PURE__ */ new Map([ - [1 /* HasIndices */, 9 /* RegularExpressionFlagsHasIndices */], - [16 /* DotAll */, 5 /* RegularExpressionFlagsDotAll */], - [32 /* Unicode */, 2 /* RegularExpressionFlagsUnicode */], - [64 /* UnicodeSets */, 99 /* RegularExpressionFlagsUnicodeSets */], - [128 /* Sticky */, 2 /* RegularExpressionFlagsSticky */] + [1 /* HasIndices */, LanguageFeatureMinimumTarget.RegularExpressionFlagsHasIndices], + [16 /* DotAll */, LanguageFeatureMinimumTarget.RegularExpressionFlagsDotAll], + [32 /* Unicode */, LanguageFeatureMinimumTarget.RegularExpressionFlagsUnicode], + [64 /* UnicodeSets */, LanguageFeatureMinimumTarget.RegularExpressionFlagsUnicodeSets], + [128 /* Sticky */, LanguageFeatureMinimumTarget.RegularExpressionFlagsSticky] ]); var unicodeES5IdentifierStart = [170, 170, 181, 181, 186, 186, 192, 214, 216, 246, 248, 705, 710, 721, 736, 740, 748, 748, 750, 750, 880, 884, 886, 887, 890, 893, 902, 902, 904, 906, 908, 908, 910, 929, 931, 1013, 1015, 1153, 1162, 1319, 1329, 1366, 1369, 1369, 1377, 1415, 1488, 1514, 1520, 1522, 1568, 1610, 1646, 1647, 1649, 1747, 1749, 1749, 1765, 1766, 1774, 1775, 1786, 1788, 1791, 1791, 1808, 1808, 1810, 1839, 1869, 1957, 1969, 1969, 1994, 2026, 2036, 2037, 2042, 2042, 2048, 2069, 2074, 2074, 2084, 2084, 2088, 2088, 2112, 2136, 2208, 2208, 2210, 2220, 2308, 2361, 2365, 2365, 2384, 2384, 2392, 2401, 2417, 2423, 2425, 2431, 2437, 2444, 2447, 2448, 2451, 2472, 2474, 2480, 2482, 2482, 2486, 2489, 2493, 2493, 2510, 2510, 2524, 2525, 2527, 2529, 2544, 2545, 2565, 2570, 2575, 2576, 2579, 2600, 2602, 2608, 2610, 2611, 2613, 2614, 2616, 2617, 2649, 2652, 2654, 2654, 2674, 2676, 2693, 2701, 2703, 2705, 2707, 2728, 2730, 2736, 2738, 2739, 2741, 2745, 2749, 2749, 2768, 2768, 2784, 2785, 2821, 2828, 2831, 2832, 2835, 2856, 2858, 2864, 2866, 2867, 2869, 2873, 2877, 2877, 2908, 2909, 2911, 2913, 2929, 2929, 2947, 2947, 2949, 2954, 2958, 2960, 2962, 2965, 2969, 2970, 2972, 2972, 2974, 2975, 2979, 2980, 2984, 2986, 2990, 3001, 3024, 3024, 3077, 3084, 3086, 3088, 3090, 3112, 3114, 3123, 3125, 3129, 3133, 3133, 3160, 3161, 3168, 3169, 3205, 3212, 3214, 3216, 3218, 3240, 3242, 3251, 3253, 3257, 3261, 3261, 3294, 3294, 3296, 3297, 3313, 3314, 3333, 3340, 3342, 3344, 3346, 3386, 3389, 3389, 3406, 3406, 3424, 3425, 3450, 3455, 3461, 3478, 3482, 3505, 3507, 3515, 3517, 3517, 3520, 3526, 3585, 3632, 3634, 3635, 3648, 3654, 3713, 3714, 3716, 3716, 3719, 3720, 3722, 3722, 3725, 3725, 3732, 3735, 3737, 3743, 3745, 3747, 3749, 3749, 3751, 3751, 3754, 3755, 3757, 3760, 3762, 3763, 3773, 3773, 3776, 3780, 3782, 3782, 3804, 3807, 3840, 3840, 3904, 3911, 3913, 3948, 3976, 3980, 4096, 4138, 4159, 4159, 4176, 4181, 4186, 4189, 4193, 4193, 4197, 4198, 4206, 4208, 4213, 4225, 4238, 4238, 4256, 4293, 4295, 4295, 4301, 4301, 4304, 4346, 4348, 4680, 4682, 4685, 4688, 4694, 4696, 4696, 4698, 4701, 4704, 4744, 4746, 4749, 4752, 4784, 4786, 4789, 4792, 4798, 4800, 4800, 4802, 4805, 4808, 4822, 4824, 4880, 4882, 4885, 4888, 4954, 4992, 5007, 5024, 5108, 5121, 5740, 5743, 5759, 5761, 5786, 5792, 5866, 5870, 5872, 5888, 5900, 5902, 5905, 5920, 5937, 5952, 5969, 5984, 5996, 5998, 6e3, 6016, 6067, 6103, 6103, 6108, 6108, 6176, 6263, 6272, 6312, 6314, 6314, 6320, 6389, 6400, 6428, 6480, 6509, 6512, 6516, 6528, 6571, 6593, 6599, 6656, 6678, 6688, 6740, 6823, 6823, 6917, 6963, 6981, 6987, 7043, 7072, 7086, 7087, 7098, 7141, 7168, 7203, 7245, 7247, 7258, 7293, 7401, 7404, 7406, 7409, 7413, 7414, 7424, 7615, 7680, 7957, 7960, 7965, 7968, 8005, 8008, 8013, 8016, 8023, 8025, 8025, 8027, 8027, 8029, 8029, 8031, 8061, 8064, 8116, 8118, 8124, 8126, 8126, 8130, 8132, 8134, 8140, 8144, 8147, 8150, 8155, 8160, 8172, 8178, 8180, 8182, 8188, 8305, 8305, 8319, 8319, 8336, 8348, 8450, 8450, 8455, 8455, 8458, 8467, 8469, 8469, 8473, 8477, 8484, 8484, 8486, 8486, 8488, 8488, 8490, 8493, 8495, 8505, 8508, 8511, 8517, 8521, 8526, 8526, 8544, 8584, 11264, 11310, 11312, 11358, 11360, 11492, 11499, 11502, 11506, 11507, 11520, 11557, 11559, 11559, 11565, 11565, 11568, 11623, 11631, 11631, 11648, 11670, 11680, 11686, 11688, 11694, 11696, 11702, 11704, 11710, 11712, 11718, 11720, 11726, 11728, 11734, 11736, 11742, 11823, 11823, 12293, 12295, 12321, 12329, 12337, 12341, 12344, 12348, 12353, 12438, 12445, 12447, 12449, 12538, 12540, 12543, 12549, 12589, 12593, 12686, 12704, 12730, 12784, 12799, 13312, 19893, 19968, 40908, 40960, 42124, 42192, 42237, 42240, 42508, 42512, 42527, 42538, 42539, 42560, 42606, 42623, 42647, 42656, 42735, 42775, 42783, 42786, 42888, 42891, 42894, 42896, 42899, 42912, 42922, 43e3, 43009, 43011, 43013, 43015, 43018, 43020, 43042, 43072, 43123, 43138, 43187, 43250, 43255, 43259, 43259, 43274, 43301, 43312, 43334, 43360, 43388, 43396, 43442, 43471, 43471, 43520, 43560, 43584, 43586, 43588, 43595, 43616, 43638, 43642, 43642, 43648, 43695, 43697, 43697, 43701, 43702, 43705, 43709, 43712, 43712, 43714, 43714, 43739, 43741, 43744, 43754, 43762, 43764, 43777, 43782, 43785, 43790, 43793, 43798, 43808, 43814, 43816, 43822, 43968, 44002, 44032, 55203, 55216, 55238, 55243, 55291, 63744, 64109, 64112, 64217, 64256, 64262, 64275, 64279, 64285, 64285, 64287, 64296, 64298, 64310, 64312, 64316, 64318, 64318, 64320, 64321, 64323, 64324, 64326, 64433, 64467, 64829, 64848, 64911, 64914, 64967, 65008, 65019, 65136, 65140, 65142, 65276, 65313, 65338, 65345, 65370, 65382, 65470, 65474, 65479, 65482, 65487, 65490, 65495, 65498, 65500]; var unicodeES5IdentifierPart = [170, 170, 181, 181, 186, 186, 192, 214, 216, 246, 248, 705, 710, 721, 736, 740, 748, 748, 750, 750, 768, 884, 886, 887, 890, 893, 902, 902, 904, 906, 908, 908, 910, 929, 931, 1013, 1015, 1153, 1155, 1159, 1162, 1319, 1329, 1366, 1369, 1369, 1377, 1415, 1425, 1469, 1471, 1471, 1473, 1474, 1476, 1477, 1479, 1479, 1488, 1514, 1520, 1522, 1552, 1562, 1568, 1641, 1646, 1747, 1749, 1756, 1759, 1768, 1770, 1788, 1791, 1791, 1808, 1866, 1869, 1969, 1984, 2037, 2042, 2042, 2048, 2093, 2112, 2139, 2208, 2208, 2210, 2220, 2276, 2302, 2304, 2403, 2406, 2415, 2417, 2423, 2425, 2431, 2433, 2435, 2437, 2444, 2447, 2448, 2451, 2472, 2474, 2480, 2482, 2482, 2486, 2489, 2492, 2500, 2503, 2504, 2507, 2510, 2519, 2519, 2524, 2525, 2527, 2531, 2534, 2545, 2561, 2563, 2565, 2570, 2575, 2576, 2579, 2600, 2602, 2608, 2610, 2611, 2613, 2614, 2616, 2617, 2620, 2620, 2622, 2626, 2631, 2632, 2635, 2637, 2641, 2641, 2649, 2652, 2654, 2654, 2662, 2677, 2689, 2691, 2693, 2701, 2703, 2705, 2707, 2728, 2730, 2736, 2738, 2739, 2741, 2745, 2748, 2757, 2759, 2761, 2763, 2765, 2768, 2768, 2784, 2787, 2790, 2799, 2817, 2819, 2821, 2828, 2831, 2832, 2835, 2856, 2858, 2864, 2866, 2867, 2869, 2873, 2876, 2884, 2887, 2888, 2891, 2893, 2902, 2903, 2908, 2909, 2911, 2915, 2918, 2927, 2929, 2929, 2946, 2947, 2949, 2954, 2958, 2960, 2962, 2965, 2969, 2970, 2972, 2972, 2974, 2975, 2979, 2980, 2984, 2986, 2990, 3001, 3006, 3010, 3014, 3016, 3018, 3021, 3024, 3024, 3031, 3031, 3046, 3055, 3073, 3075, 3077, 3084, 3086, 3088, 3090, 3112, 3114, 3123, 3125, 3129, 3133, 3140, 3142, 3144, 3146, 3149, 3157, 3158, 3160, 3161, 3168, 3171, 3174, 3183, 3202, 3203, 3205, 3212, 3214, 3216, 3218, 3240, 3242, 3251, 3253, 3257, 3260, 3268, 3270, 3272, 3274, 3277, 3285, 3286, 3294, 3294, 3296, 3299, 3302, 3311, 3313, 3314, 3330, 3331, 3333, 3340, 3342, 3344, 3346, 3386, 3389, 3396, 3398, 3400, 3402, 3406, 3415, 3415, 3424, 3427, 3430, 3439, 3450, 3455, 3458, 3459, 3461, 3478, 3482, 3505, 3507, 3515, 3517, 3517, 3520, 3526, 3530, 3530, 3535, 3540, 3542, 3542, 3544, 3551, 3570, 3571, 3585, 3642, 3648, 3662, 3664, 3673, 3713, 3714, 3716, 3716, 3719, 3720, 3722, 3722, 3725, 3725, 3732, 3735, 3737, 3743, 3745, 3747, 3749, 3749, 3751, 3751, 3754, 3755, 3757, 3769, 3771, 3773, 3776, 3780, 3782, 3782, 3784, 3789, 3792, 3801, 3804, 3807, 3840, 3840, 3864, 3865, 3872, 3881, 3893, 3893, 3895, 3895, 3897, 3897, 3902, 3911, 3913, 3948, 3953, 3972, 3974, 3991, 3993, 4028, 4038, 4038, 4096, 4169, 4176, 4253, 4256, 4293, 4295, 4295, 4301, 4301, 4304, 4346, 4348, 4680, 4682, 4685, 4688, 4694, 4696, 4696, 4698, 4701, 4704, 4744, 4746, 4749, 4752, 4784, 4786, 4789, 4792, 4798, 4800, 4800, 4802, 4805, 4808, 4822, 4824, 4880, 4882, 4885, 4888, 4954, 4957, 4959, 4992, 5007, 5024, 5108, 5121, 5740, 5743, 5759, 5761, 5786, 5792, 5866, 5870, 5872, 5888, 5900, 5902, 5908, 5920, 5940, 5952, 5971, 5984, 5996, 5998, 6e3, 6002, 6003, 6016, 6099, 6103, 6103, 6108, 6109, 6112, 6121, 6155, 6157, 6160, 6169, 6176, 6263, 6272, 6314, 6320, 6389, 6400, 6428, 6432, 6443, 6448, 6459, 6470, 6509, 6512, 6516, 6528, 6571, 6576, 6601, 6608, 6617, 6656, 6683, 6688, 6750, 6752, 6780, 6783, 6793, 6800, 6809, 6823, 6823, 6912, 6987, 6992, 7001, 7019, 7027, 7040, 7155, 7168, 7223, 7232, 7241, 7245, 7293, 7376, 7378, 7380, 7414, 7424, 7654, 7676, 7957, 7960, 7965, 7968, 8005, 8008, 8013, 8016, 8023, 8025, 8025, 8027, 8027, 8029, 8029, 8031, 8061, 8064, 8116, 8118, 8124, 8126, 8126, 8130, 8132, 8134, 8140, 8144, 8147, 8150, 8155, 8160, 8172, 8178, 8180, 8182, 8188, 8204, 8205, 8255, 8256, 8276, 8276, 8305, 8305, 8319, 8319, 8336, 8348, 8400, 8412, 8417, 8417, 8421, 8432, 8450, 8450, 8455, 8455, 8458, 8467, 8469, 8469, 8473, 8477, 8484, 8484, 8486, 8486, 8488, 8488, 8490, 8493, 8495, 8505, 8508, 8511, 8517, 8521, 8526, 8526, 8544, 8584, 11264, 11310, 11312, 11358, 11360, 11492, 11499, 11507, 11520, 11557, 11559, 11559, 11565, 11565, 11568, 11623, 11631, 11631, 11647, 11670, 11680, 11686, 11688, 11694, 11696, 11702, 11704, 11710, 11712, 11718, 11720, 11726, 11728, 11734, 11736, 11742, 11744, 11775, 11823, 11823, 12293, 12295, 12321, 12335, 12337, 12341, 12344, 12348, 12353, 12438, 12441, 12442, 12445, 12447, 12449, 12538, 12540, 12543, 12549, 12589, 12593, 12686, 12704, 12730, 12784, 12799, 13312, 19893, 19968, 40908, 40960, 42124, 42192, 42237, 42240, 42508, 42512, 42539, 42560, 42607, 42612, 42621, 42623, 42647, 42655, 42737, 42775, 42783, 42786, 42888, 42891, 42894, 42896, 42899, 42912, 42922, 43e3, 43047, 43072, 43123, 43136, 43204, 43216, 43225, 43232, 43255, 43259, 43259, 43264, 43309, 43312, 43347, 43360, 43388, 43392, 43456, 43471, 43481, 43520, 43574, 43584, 43597, 43600, 43609, 43616, 43638, 43642, 43643, 43648, 43714, 43739, 43741, 43744, 43759, 43762, 43766, 43777, 43782, 43785, 43790, 43793, 43798, 43808, 43814, 43816, 43822, 43968, 44010, 44012, 44013, 44016, 44025, 44032, 55203, 55216, 55238, 55243, 55291, 63744, 64109, 64112, 64217, 64256, 64262, 64275, 64279, 64285, 64296, 64298, 64310, 64312, 64316, 64318, 64318, 64320, 64321, 64323, 64324, 64326, 64433, 64467, 64829, 64848, 64911, 64914, 64967, 65008, 65019, 65024, 65039, 65056, 65062, 65075, 65076, 65101, 65103, 65136, 65140, 65142, 65276, 65296, 65305, 65313, 65338, 65343, 65343, 65345, 65370, 65382, 65470, 65474, 65479, 65482, 65487, 65490, 65495, 65498, 65500]; @@ -11530,6 +11544,7 @@ function computeLineStarts(text) { if (text.charCodeAt(pos) === 10 /* lineFeed */) { pos++; } + // falls through case 10 /* lineFeed */: result.push(lineStart); lineStart = pos; @@ -11632,6 +11647,8 @@ function couldStartTrivia(text, pos) { case 12 /* formFeed */: case 32 /* space */: case 47 /* slash */: + // starts of normal trivia + // falls through case 60 /* lessThan */: case 124 /* bar */: case 61 /* equals */: @@ -11655,6 +11672,7 @@ function skipTrivia(text, pos, stopAfterLineBreak, stopAtComments, inJSDoc) { if (text.charCodeAt(pos + 1) === 10 /* lineFeed */) { pos++; } + // falls through case 10 /* lineFeed */: pos++; if (stopAfterLineBreak) { @@ -11801,6 +11819,7 @@ function iterateCommentRanges(reduce, text, pos, trailing, cb, state, initial) { if (text.charCodeAt(pos + 1) === 10 /* lineFeed */) { pos++; } + // falls through case 10 /* lineFeed */: pos++; if (trailing) { @@ -12366,12 +12385,16 @@ function createScanner(languageVersion, skipTrivia2, languageVariant = 0 /* Stan if (pos >= end || !isDigit(charCodeUnchecked(pos))) { return "\0"; } + // '\01', '\011' + // falls through case 49 /* _1 */: case 50 /* _2 */: case 51 /* _3 */: if (pos < end && isOctalDigit(charCodeUnchecked(pos))) { pos++; } + // '\17', '\177' + // falls through case 52 /* _4 */: case 53 /* _5 */: case 54 /* _6 */: @@ -12469,10 +12492,13 @@ function createScanner(languageVersion, skipTrivia2, languageVariant = 0 /* Stan } tokenFlags |= 4096 /* HexEscape */; return String.fromCharCode(parseInt(text.substring(start2 + 2, pos), 16)); + // when encountering a LineContinuation (i.e. a backslash and a line terminator sequence), + // the line terminator is interpreted to be "the empty code unit sequence". case 13 /* carriageReturn */: if (pos < end && charCodeUnchecked(pos) === 10 /* lineFeed */) { pos++; } + // falls through case 10 /* lineFeed */: case 8232 /* lineSeparator */: case 8233 /* paragraphSeparator */: @@ -12903,6 +12929,7 @@ function createScanner(languageVersion, skipTrivia2, languageVariant = 0 /* Stan tokenFlags |= 256 /* OctalSpecifier */; return token = checkBigIntSuffix(); } + // falls through case 49 /* _1 */: case 50 /* _2 */: case 51 /* _3 */: @@ -13422,6 +13449,7 @@ function createScanner(languageVersion, skipTrivia2, languageVariant = 0 /* Stan break; } } + // falls through case 42 /* asterisk */: case 43 /* plus */: case 63 /* question */: @@ -13452,6 +13480,7 @@ function createScanner(languageVersion, skipTrivia2, languageVariant = 0 /* Stan if (isInGroup) { return; } + // falls through case 93 /* closeBracket */: case 125 /* closeBrace */: if (anyUnicodeModeOrNonAnnexB || ch === 41 /* closeParen */) { @@ -13514,6 +13543,7 @@ function createScanner(languageVersion, skipTrivia2, languageVariant = 0 /* Stan error2(Diagnostics.q_is_only_available_inside_character_class, pos - 2, 2); break; } + // falls through default: Debug.assert(scanCharacterClassEscape() || scanDecimalEscape() || scanCharacterEscape( /*atomEscape*/ @@ -13651,6 +13681,7 @@ function createScanner(languageVersion, skipTrivia2, languageVariant = 0 /* Stan let start2 = pos; let operand; switch (text.slice(pos, pos + 2)) { + // TODO: don't use slice case "--": case "&&": error2(Diagnostics.Expected_a_class_set_operand); @@ -13756,6 +13787,7 @@ function createScanner(languageVersion, skipTrivia2, languageVariant = 0 /* Stan } start2 = pos; switch (text.slice(pos, pos + 2)) { + // TODO: don't use slice case "--": case "&&": error2(Diagnostics.Operators_must_not_be_mixed_within_a_character_class_Wrap_it_in_a_nested_class_instead, pos, 2); @@ -13853,6 +13885,7 @@ function createScanner(languageVersion, skipTrivia2, languageVariant = 0 /* Stan } } pos--; + // falls through default: return scanClassSetCharacter(); } @@ -13999,6 +14032,7 @@ function createScanner(languageVersion, skipTrivia2, languageVariant = 0 /* Stan return true; case 80 /* P */: isCharacterComplement = true; + // falls through case 112 /* p */: pos++; if (charCodeChecked(pos) === 123 /* openBrace */) { @@ -14306,6 +14340,7 @@ function createScanner(languageVersion, skipTrivia2, languageVariant = 0 /* Stan if (charCodeUnchecked(pos) === 10 /* lineFeed */) { pos++; } + // falls through case 10 /* lineFeed */: tokenFlags |= 1 /* PrecedingLineBreak */; return token = 4 /* NewLineTrivia */; @@ -14510,28 +14545,33 @@ function isExternalModuleNameRelative(moduleName) { function sortAndDeduplicateDiagnostics(diagnostics) { return sortAndDeduplicate(diagnostics, compareDiagnostics, diagnosticsEqualityComparer); } +var targetToLibMap = /* @__PURE__ */ new Map([ + [99 /* ESNext */, "lib.esnext.full.d.ts"], + [10 /* ES2023 */, "lib.es2023.full.d.ts"], + [9 /* ES2022 */, "lib.es2022.full.d.ts"], + [8 /* ES2021 */, "lib.es2021.full.d.ts"], + [7 /* ES2020 */, "lib.es2020.full.d.ts"], + [6 /* ES2019 */, "lib.es2019.full.d.ts"], + [5 /* ES2018 */, "lib.es2018.full.d.ts"], + [4 /* ES2017 */, "lib.es2017.full.d.ts"], + [3 /* ES2016 */, "lib.es2016.full.d.ts"], + [2 /* ES2015 */, "lib.es6.d.ts"] + // We don't use lib.es2015.full.d.ts due to breaking change. +]); function getDefaultLibFileName(options) { - switch (getEmitScriptTarget(options)) { + const target = getEmitScriptTarget(options); + switch (target) { case 99 /* ESNext */: - return "lib.esnext.full.d.ts"; case 10 /* ES2023 */: - return "lib.es2023.full.d.ts"; case 9 /* ES2022 */: - return "lib.es2022.full.d.ts"; case 8 /* ES2021 */: - return "lib.es2021.full.d.ts"; case 7 /* ES2020 */: - return "lib.es2020.full.d.ts"; case 6 /* ES2019 */: - return "lib.es2019.full.d.ts"; case 5 /* ES2018 */: - return "lib.es2018.full.d.ts"; case 4 /* ES2017 */: - return "lib.es2017.full.d.ts"; case 3 /* ES2016 */: - return "lib.es2016.full.d.ts"; case 2 /* ES2015 */: - return "lib.es6.d.ts"; + return targetToLibMap.get(target); default: return "lib.d.ts"; } @@ -15324,6 +15364,9 @@ function isTypeOnlyExportDeclaration(node) { function isTypeOnlyImportOrExportDeclaration(node) { return isTypeOnlyImportDeclaration(node) || isTypeOnlyExportDeclaration(node); } +function isPartOfTypeOnlyImportOrExportDeclaration(node) { + return findAncestor(node, isTypeOnlyImportOrExportDeclaration) !== void 0; +} function isStringTextContainingNode(node) { return node.kind === 11 /* StringLiteral */ || isTemplateLiteralKind(node.kind); } @@ -15472,7 +15515,7 @@ function isModifierLike(node) { } function isTypeElement(node) { const kind = node.kind; - return kind === 180 /* ConstructSignature */ || kind === 179 /* CallSignature */ || kind === 171 /* PropertySignature */ || kind === 173 /* MethodSignature */ || kind === 181 /* IndexSignature */ || kind === 177 /* GetAccessor */ || kind === 178 /* SetAccessor */; + return kind === 180 /* ConstructSignature */ || kind === 179 /* CallSignature */ || kind === 171 /* PropertySignature */ || kind === 173 /* MethodSignature */ || kind === 181 /* IndexSignature */ || kind === 177 /* GetAccessor */ || kind === 178 /* SetAccessor */ || kind === 354 /* NotEmittedTypeElement */; } function isClassOrTypeElement(node) { return isTypeElement(node) || isClassElement(node); @@ -15534,7 +15577,9 @@ function isObjectBindingOrAssignmentElement(node) { switch (node.kind) { case 208 /* BindingElement */: case 303 /* PropertyAssignment */: + // AssignmentProperty case 304 /* ShorthandPropertyAssignment */: + // AssignmentProperty case 305 /* SpreadAssignment */: return true; } @@ -15552,11 +15597,17 @@ function isArrayBindingOrAssignmentElement(node) { switch (node.kind) { case 208 /* BindingElement */: case 232 /* OmittedExpression */: + // Elision case 230 /* SpreadElement */: + // AssignmentRestElement case 209 /* ArrayLiteralExpression */: + // ArrayAssignmentPattern case 210 /* ObjectLiteralExpression */: + // ObjectAssignmentPattern case 80 /* Identifier */: + // DestructuringAssignmentTarget case 211 /* PropertyAccessExpression */: + // DestructuringAssignmentTarget case 212 /* ElementAccessExpression */: return true; } @@ -15579,13 +15630,16 @@ function isCallLikeOrFunctionLikeExpression(node) { } function isCallLikeExpression(node) { switch (node.kind) { - case 286 /* JsxOpeningElement */: - case 285 /* JsxSelfClosingElement */: case 213 /* CallExpression */: case 214 /* NewExpression */: case 215 /* TaggedTemplateExpression */: case 170 /* Decorator */: + case 286 /* JsxOpeningElement */: + case 285 /* JsxSelfClosingElement */: + case 289 /* JsxOpeningFragment */: return true; + case 226 /* BinaryExpression */: + return node.operatorToken.kind === 104 /* InstanceOfKeyword */; default: return false; } @@ -15617,6 +15671,7 @@ function isLeftHandSideExpressionKind(kind) { case 218 /* FunctionExpression */: case 80 /* Identifier */: case 81 /* PrivateIdentifier */: + // technically this is only an Expression if it's in a `#field in expr` BinaryExpression case 14 /* RegularExpressionLiteral */: case 9 /* NumericLiteral */: case 10 /* BigIntLiteral */: @@ -15632,6 +15687,7 @@ function isLeftHandSideExpressionKind(kind) { case 233 /* ExpressionWithTypeArguments */: case 236 /* MetaProperty */: case 102 /* ImportKeyword */: + // technically this is only an Expression if it's in a CallExpression case 282 /* MissingDeclaration */: return true; default: @@ -15688,8 +15744,8 @@ function isExpressionKind(kind) { case 230 /* SpreadElement */: case 234 /* AsExpression */: case 232 /* OmittedExpression */: - case 355 /* CommaListExpression */: - case 354 /* PartiallyEmittedExpression */: + case 356 /* CommaListExpression */: + case 355 /* PartiallyEmittedExpression */: case 238 /* SatisfiesExpression */: return true; default: @@ -15926,6 +15982,10 @@ function isJsxOpeningLikeElement(node) { const kind = node.kind; return kind === 286 /* JsxOpeningElement */ || kind === 285 /* JsxSelfClosingElement */; } +function isJsxCallLike(node) { + const kind = node.kind; + return kind === 286 /* JsxOpeningElement */ || kind === 285 /* JsxSelfClosingElement */ || kind === 289 /* JsxOpeningFragment */; +} function isCaseOrDefaultClause(node) { const kind = node.kind; return kind === 296 /* CaseClause */ || kind === 297 /* DefaultClause */; @@ -16566,11 +16626,45 @@ var getScriptTargetFeatures = /* @__PURE__ */ memoize( AsyncIterator: new Map(Object.entries({ es2015: emptyArray })), + ArrayBuffer: new Map(Object.entries({ + es2024: [ + "maxByteLength", + "resizable", + "resize", + "detached", + "transfer", + "transferToFixedLength" + ] + })), Atomics: new Map(Object.entries({ - es2017: emptyArray + es2017: [ + "add", + "and", + "compareExchange", + "exchange", + "isLockFree", + "load", + "or", + "store", + "sub", + "wait", + "notify", + "xor" + ], + es2024: [ + "waitAsync" + ] })), SharedArrayBuffer: new Map(Object.entries({ - es2017: emptyArray + es2017: [ + "byteLength", + "slice" + ], + es2024: [ + "growable", + "maxByteLength", + "grow" + ] })), AsyncIterable: new Map(Object.entries({ es2018: emptyArray @@ -16592,6 +16686,9 @@ var getScriptTargetFeatures = /* @__PURE__ */ memoize( ], es2018: [ "dotAll" + ], + es2024: [ + "unicodeSets" ] })), Reflect: new Map(Object.entries({ @@ -16638,6 +16735,9 @@ var getScriptTargetFeatures = /* @__PURE__ */ memoize( ], es2022: [ "hasOwn" + ], + es2024: [ + "groupBy" ] })), NumberConstructor: new Map(Object.entries({ @@ -16678,11 +16778,25 @@ var getScriptTargetFeatures = /* @__PURE__ */ memoize( "values" ] })), + MapConstructor: new Map(Object.entries({ + es2024: [ + "groupBy" + ] + })), Set: new Map(Object.entries({ es2015: [ "entries", "keys", "values" + ], + esnext: [ + "union", + "intersection", + "difference", + "symmetricDifference", + "isSubsetOf", + "isSupersetOf", + "isDisjointFrom" ] })), PromiseConstructor: new Map(Object.entries({ @@ -16697,6 +16811,9 @@ var getScriptTargetFeatures = /* @__PURE__ */ memoize( ], es2021: [ "any" + ], + es2024: [ + "withResolvers" ] })), Symbol: new Map(Object.entries({ @@ -16763,7 +16880,7 @@ var getScriptTargetFeatures = /* @__PURE__ */ memoize( es2022: [ "at" ], - esnext: [ + es2024: [ "isWellFormed", "toWellFormed" ] @@ -16808,6 +16925,11 @@ var getScriptTargetFeatures = /* @__PURE__ */ memoize( SymbolConstructor: new Map(Object.entries({ es2020: [ "matchAll" + ], + esnext: [ + "metadata", + "dispose", + "asyncDispose" ] })), DataView: new Map(Object.entries({ @@ -17428,6 +17550,8 @@ function getErrorSpanForNode(sourceFile, node) { } return getSpanOfTokenAtPosition(sourceFile, pos2); } + // This list is a work in progress. Add missing node kinds to improve their error + // spans. case 260 /* VariableDeclaration */: case 208 /* BindingElement */: case 263 /* ClassDeclaration */: @@ -17599,6 +17723,8 @@ function isPartOfTypeNode(node) { return isPartOfTypeExpressionWithTypeArguments(node); case 168 /* TypeParameter */: return node.parent.kind === 200 /* MappedType */ || node.parent.kind === 195 /* InferType */; + // Identifiers and qualified names may be type nodes, depending on their context. Climb + // above them to find the lowest container case 80 /* Identifier */: if (node.parent.kind === 166 /* QualifiedName */ && node.parent.right === node) { node = node.parent; @@ -17606,6 +17732,7 @@ function isPartOfTypeNode(node) { node = node.parent; } Debug.assert(node.kind === 80 /* Identifier */ || node.kind === 166 /* QualifiedName */ || node.kind === 211 /* PropertyAccessExpression */, "'node' was expected to be a qualified name, identifier or property access in 'isPartOfTypeNode'."); + // falls through case 166 /* QualifiedName */: case 211 /* PropertyAccessExpression */: case 110 /* ThisKeyword */: { @@ -17747,9 +17874,6 @@ function isVariableLike(node) { } return false; } -function isVariableLikeOrAccessor(node) { - return isVariableLike(node) || isAccessor(node); -} function isVariableDeclarationInVariableStatement(node) { return node.parent.kind === 261 /* VariableDeclarationList */ && node.parent.parent.kind === 243 /* VariableStatement */; } @@ -17874,6 +17998,7 @@ function getThisContainer(node, includeArrowFunctions, includeClassComputedPrope if (!includeArrowFunctions) { continue; } + // falls through case 262 /* FunctionDeclaration */: case 218 /* FunctionExpression */: case 267 /* ModuleDeclaration */: @@ -17896,6 +18021,8 @@ function getThisContainer(node, includeArrowFunctions, includeClassComputedPrope } function isThisContainerOrFunctionBlock(node) { switch (node.kind) { + // Arrow functions use the same scope, but may do so in a "delayed" manner + // For example, `const getThis = () => this` may be before a super() call in a derived constructor case 219 /* ArrowFunction */: case 262 /* FunctionDeclaration */: case 218 /* FunctionExpression */: @@ -17962,6 +18089,7 @@ function getSuperContainer(node, stopOnFunctions) { if (!stopOnFunctions) { continue; } + // falls through case 172 /* PropertyDeclaration */: case 171 /* PropertySignature */: case 174 /* MethodDeclaration */: @@ -18015,6 +18143,7 @@ function getEntityNameFromTypeNode(node) { return node.typeName; case 233 /* ExpressionWithTypeArguments */: return isEntityNameExpression(node.expression) ? node.expression : void 0; + // TODO(rbuckton): These aren't valid TypeNodes, but we treat them as such because of `isPartOfTypeNode`, which returns `true` for things that aren't `TypeNode`s. case 80 /* Identifier */: case 166 /* QualifiedName */: return node; @@ -18030,6 +18159,8 @@ function getInvokedExpression(node) { return node.tagName; case 226 /* BinaryExpression */: return node.right; + case 289 /* JsxOpeningFragment */: + return node; default: return node.expression; } @@ -18179,6 +18310,7 @@ function isExpressionNode(node) { if (node.parent.kind === 186 /* TypeQuery */ || isJSDocLinkLike(node.parent) || isJSDocNameReference(node.parent) || isJSDocMemberName(node.parent) || isJSXTagName(node)) { return true; } + // falls through case 9 /* NumericLiteral */: case 10 /* BigIntLiteral */: case 11 /* StringLiteral */: @@ -18633,12 +18765,17 @@ function tryGetImportFromModuleSpecifier(node) { false ) ? node.parent : void 0; case 201 /* LiteralType */: - Debug.assert(isStringLiteral(node)); + if (!isStringLiteral(node)) { + break; + } return tryCast(node.parent.parent, isImportTypeNode); default: return void 0; } } +function shouldRewriteModuleSpecifier(specifier, compilerOptions) { + return !!compilerOptions.rewriteRelativeImportExtensions && pathIsRelative(specifier) && !isDeclarationFileName(specifier) && hasTSFileExtension(specifier); +} function getExternalModuleName(node) { switch (node.kind) { case 272 /* ImportDeclaration */: @@ -18683,17 +18820,15 @@ function forEachImportClauseDeclaration(node, action) { } } function hasQuestionToken(node) { - if (node) { - switch (node.kind) { - case 169 /* Parameter */: - case 174 /* MethodDeclaration */: - case 173 /* MethodSignature */: - case 304 /* ShorthandPropertyAssignment */: - case 303 /* PropertyAssignment */: - case 172 /* PropertyDeclaration */: - case 171 /* PropertySignature */: - return node.questionToken !== void 0; - } + switch (node.kind) { + case 169 /* Parameter */: + case 174 /* MethodDeclaration */: + case 173 /* MethodSignature */: + case 304 /* ShorthandPropertyAssignment */: + case 303 /* PropertyAssignment */: + case 172 /* PropertyDeclaration */: + case 171 /* PropertySignature */: + return node.questionToken !== void 0; } return false; } @@ -19093,6 +19228,7 @@ function getDeclarationFromName(name) { case 15 /* NoSubstitutionTemplateLiteral */: case 9 /* NumericLiteral */: if (isComputedPropertyName(parent2)) return parent2.parent; + // falls through case 80 /* Identifier */: if (isDeclaration(parent2)) { return parent2.name === name ? parent2 : void 0; @@ -19263,6 +19399,7 @@ function getFunctionFlags(node) { if (node.asteriskToken) { flags |= 1 /* Generator */; } + // falls through case 219 /* ArrowFunction */: if (hasSyntacticModifier(node, 1024 /* Async */)) { flags |= 2 /* Async */; @@ -19533,7 +19670,7 @@ var OperatorPrecedence = /* @__PURE__ */ ((OperatorPrecedence2) => { })(OperatorPrecedence || {}); function getOperatorPrecedence(nodeKind, operatorKind, hasArguments) { switch (nodeKind) { - case 355 /* CommaListExpression */: + case 356 /* CommaListExpression */: return 0 /* Comma */; case 230 /* SpreadElement */: return 1 /* Spread */; @@ -19565,6 +19702,7 @@ function getOperatorPrecedence(nodeKind, operatorKind, hasArguments) { default: return getBinaryOperatorPrecedence(operatorKind); } + // TODO: Should prefix `++` and `--` be moved to the `Update` precedence? case 216 /* TypeAssertionExpression */: case 235 /* NonNullExpression */: case 224 /* PrefixUnaryExpression */: @@ -19747,7 +19885,7 @@ function hasInvalidEscape(template) { } var doubleQuoteEscapedCharsRegExp = /[\\"\u0000-\u001f\u2028\u2029\u0085]/g; var singleQuoteEscapedCharsRegExp = /[\\'\u0000-\u001f\u2028\u2029\u0085]/g; -var backtickQuoteEscapedCharsRegExp = /\r\n|[\\`\u0000-\u001f\u2028\u2029\u0085]/g; +var backtickQuoteEscapedCharsRegExp = /\r\n|[\\`\u0000-\u0009\u000b-\u001f\u2028\u2029\u0085]/g; var escapedCharsMap = new Map(Object.entries({ " ": "\\t", "\v": "\\v", @@ -20067,6 +20205,12 @@ function getDeclarationEmitExtensionForPath(path) { function getPossibleOriginalInputExtensionForExtension(path) { return fileExtensionIsOneOf(path, [".d.mts" /* Dmts */, ".mjs" /* Mjs */, ".mts" /* Mts */]) ? [".mts" /* Mts */, ".mjs" /* Mjs */] : fileExtensionIsOneOf(path, [".d.cts" /* Dcts */, ".cjs" /* Cjs */, ".cts" /* Cts */]) ? [".cts" /* Cts */, ".cjs" /* Cjs */] : fileExtensionIsOneOf(path, [`.d.json.ts`]) ? [".json" /* Json */] : [".tsx" /* Tsx */, ".ts" /* Ts */, ".jsx" /* Jsx */, ".js" /* Js */]; } +function getPossibleOriginalInputPathWithoutChangingExt(filePath, ignoreCase, outputDir, getCommonSourceDirectory2) { + return outputDir ? resolvePath( + getCommonSourceDirectory2(), + getRelativePathFromDirectory(outputDir, filePath, ignoreCase) + ) : filePath; +} function getPathsBasePath(options, host) { var _a; if (!options.paths) return void 0; @@ -20940,6 +21084,12 @@ function getLinesBetweenPositionAndNextNonWhitespaceCharacter(pos, stopPos, sour ); return getLinesBetweenPositions(sourceFile, pos, Math.min(stopPos, nextPos)); } +function rangeContainsRange(r1, r2) { + return startEndContainsRange(r1.pos, r1.end, r2); +} +function startEndContainsRange(start, end, range) { + return start <= range.pos && end >= range.end; +} function getPreviousNonWhitespacePosition(pos, stopPos = 0, sourceFile) { while (pos-- > stopPos) { if (!isWhiteSpaceLike(sourceFile.text.charCodeAt(pos))) { @@ -21024,6 +21174,9 @@ function accessKind(node) { return node === parent2.objectAssignmentInitializer ? 0 /* Read */ : accessKind(parent2.parent); case 209 /* ArrayLiteralExpression */: return accessKind(parent2); + case 249 /* ForInStatement */: + case 250 /* ForOfStatement */: + return node === parent2.initializer ? 1 /* Write */ : 0 /* Read */; default: return 0 /* Read */; } @@ -21116,11 +21269,11 @@ function getLastChild(node) { }); return lastChild; } -function addToSeen(seen, key, value = true) { +function addToSeen(seen, key) { if (seen.has(key)) { return false; } - seen.set(key, value); + seen.add(key); return true; } function isObjectTypeDeclaration(node) { @@ -21196,11 +21349,12 @@ function getLeftmostExpression(node, stopAtCallExpressions) { if (stopAtCallExpressions) { return node; } + // falls through case 234 /* AsExpression */: case 212 /* ElementAccessExpression */: case 211 /* PropertyAccessExpression */: case 235 /* NonNullExpression */: - case 354 /* PartiallyEmittedExpression */: + case 355 /* PartiallyEmittedExpression */: case 238 /* SatisfiesExpression */: node = node.expression; continue; @@ -21600,7 +21754,13 @@ function importSyntaxAffectsModuleResolution(options) { function createComputedCompilerOptions(options) { return options; } -var computedOptions = createComputedCompilerOptions({ +var _computedOptions = createComputedCompilerOptions({ + allowImportingTsExtensions: { + dependencies: ["rewriteRelativeImportExtensions"], + computeValue: (compilerOptions) => { + return !!(compilerOptions.allowImportingTsExtensions || compilerOptions.rewriteRelativeImportExtensions); + } + }, target: { dependencies: ["module"], computeValue: (compilerOptions) => { @@ -21611,7 +21771,7 @@ var computedOptions = createComputedCompilerOptions({ module: { dependencies: ["target"], computeValue: (compilerOptions) => { - return typeof compilerOptions.module === "number" ? compilerOptions.module : computedOptions.target.computeValue(compilerOptions) >= 2 /* ES2015 */ ? 5 /* ES2015 */ : 1 /* CommonJS */; + return typeof compilerOptions.module === "number" ? compilerOptions.module : _computedOptions.target.computeValue(compilerOptions) >= 2 /* ES2015 */ ? 5 /* ES2015 */ : 1 /* CommonJS */; } }, moduleResolution: { @@ -21619,7 +21779,7 @@ var computedOptions = createComputedCompilerOptions({ computeValue: (compilerOptions) => { let moduleResolution = compilerOptions.moduleResolution; if (moduleResolution === void 0) { - switch (computedOptions.module.computeValue(compilerOptions)) { + switch (_computedOptions.module.computeValue(compilerOptions)) { case 1 /* CommonJS */: moduleResolution = 2 /* Node10 */; break; @@ -21643,7 +21803,7 @@ var computedOptions = createComputedCompilerOptions({ moduleDetection: { dependencies: ["module", "target"], computeValue: (compilerOptions) => { - return compilerOptions.moduleDetection || (computedOptions.module.computeValue(compilerOptions) === 100 /* Node16 */ || computedOptions.module.computeValue(compilerOptions) === 199 /* NodeNext */ ? 3 /* Force */ : 2 /* Auto */); + return compilerOptions.moduleDetection || (_computedOptions.module.computeValue(compilerOptions) === 100 /* Node16 */ || _computedOptions.module.computeValue(compilerOptions) === 199 /* NodeNext */ ? 3 /* Force */ : 2 /* Auto */); } }, isolatedModules: { @@ -21658,7 +21818,7 @@ var computedOptions = createComputedCompilerOptions({ if (compilerOptions.esModuleInterop !== void 0) { return compilerOptions.esModuleInterop; } - switch (computedOptions.module.computeValue(compilerOptions)) { + switch (_computedOptions.module.computeValue(compilerOptions)) { case 100 /* Node16 */: case 199 /* NodeNext */: case 200 /* Preserve */: @@ -21673,13 +21833,13 @@ var computedOptions = createComputedCompilerOptions({ if (compilerOptions.allowSyntheticDefaultImports !== void 0) { return compilerOptions.allowSyntheticDefaultImports; } - return computedOptions.esModuleInterop.computeValue(compilerOptions) || computedOptions.module.computeValue(compilerOptions) === 4 /* System */ || computedOptions.moduleResolution.computeValue(compilerOptions) === 100 /* Bundler */; + return _computedOptions.esModuleInterop.computeValue(compilerOptions) || _computedOptions.module.computeValue(compilerOptions) === 4 /* System */ || _computedOptions.moduleResolution.computeValue(compilerOptions) === 100 /* Bundler */; } }, resolvePackageJsonExports: { dependencies: ["moduleResolution"], computeValue: (compilerOptions) => { - const moduleResolution = computedOptions.moduleResolution.computeValue(compilerOptions); + const moduleResolution = _computedOptions.moduleResolution.computeValue(compilerOptions); if (!moduleResolutionSupportsPackageJsonExportsAndImports(moduleResolution)) { return false; } @@ -21698,7 +21858,7 @@ var computedOptions = createComputedCompilerOptions({ resolvePackageJsonImports: { dependencies: ["moduleResolution", "resolvePackageJsonExports"], computeValue: (compilerOptions) => { - const moduleResolution = computedOptions.moduleResolution.computeValue(compilerOptions); + const moduleResolution = _computedOptions.moduleResolution.computeValue(compilerOptions); if (!moduleResolutionSupportsPackageJsonExportsAndImports(moduleResolution)) { return false; } @@ -21720,7 +21880,7 @@ var computedOptions = createComputedCompilerOptions({ if (compilerOptions.resolveJsonModule !== void 0) { return compilerOptions.resolveJsonModule; } - return computedOptions.moduleResolution.computeValue(compilerOptions) === 100 /* Bundler */; + return _computedOptions.moduleResolution.computeValue(compilerOptions) === 100 /* Bundler */; } }, declaration: { @@ -21732,7 +21892,7 @@ var computedOptions = createComputedCompilerOptions({ preserveConstEnums: { dependencies: ["isolatedModules", "verbatimModuleSyntax"], computeValue: (compilerOptions) => { - return !!(compilerOptions.preserveConstEnums || computedOptions.isolatedModules.computeValue(compilerOptions)); + return !!(compilerOptions.preserveConstEnums || _computedOptions.isolatedModules.computeValue(compilerOptions)); } }, incremental: { @@ -21744,7 +21904,7 @@ var computedOptions = createComputedCompilerOptions({ declarationMap: { dependencies: ["declaration", "composite"], computeValue: (compilerOptions) => { - return !!(compilerOptions.declarationMap && computedOptions.declaration.computeValue(compilerOptions)); + return !!(compilerOptions.declarationMap && _computedOptions.declaration.computeValue(compilerOptions)); } }, allowJs: { @@ -21756,7 +21916,7 @@ var computedOptions = createComputedCompilerOptions({ useDefineForClassFields: { dependencies: ["target", "module"], computeValue: (compilerOptions) => { - return compilerOptions.useDefineForClassFields === void 0 ? computedOptions.target.computeValue(compilerOptions) >= 9 /* ES2022 */ : compilerOptions.useDefineForClassFields; + return compilerOptions.useDefineForClassFields === void 0 ? _computedOptions.target.computeValue(compilerOptions) >= 9 /* ES2022 */ : compilerOptions.useDefineForClassFields; } }, noImplicitAny: { @@ -21814,22 +21974,24 @@ var computedOptions = createComputedCompilerOptions({ } } }); -var getEmitScriptTarget = computedOptions.target.computeValue; -var getEmitModuleKind = computedOptions.module.computeValue; -var getEmitModuleResolutionKind = computedOptions.moduleResolution.computeValue; -var getEmitModuleDetectionKind = computedOptions.moduleDetection.computeValue; -var getIsolatedModules = computedOptions.isolatedModules.computeValue; -var getESModuleInterop = computedOptions.esModuleInterop.computeValue; -var getAllowSyntheticDefaultImports = computedOptions.allowSyntheticDefaultImports.computeValue; -var getResolvePackageJsonExports = computedOptions.resolvePackageJsonExports.computeValue; -var getResolvePackageJsonImports = computedOptions.resolvePackageJsonImports.computeValue; -var getResolveJsonModule = computedOptions.resolveJsonModule.computeValue; -var getEmitDeclarations = computedOptions.declaration.computeValue; -var shouldPreserveConstEnums = computedOptions.preserveConstEnums.computeValue; -var isIncrementalCompilation = computedOptions.incremental.computeValue; -var getAreDeclarationMapsEnabled = computedOptions.declarationMap.computeValue; -var getAllowJSCompilerOption = computedOptions.allowJs.computeValue; -var getUseDefineForClassFields = computedOptions.useDefineForClassFields.computeValue; +var computedOptions = _computedOptions; +var getAllowImportingTsExtensions = _computedOptions.allowImportingTsExtensions.computeValue; +var getEmitScriptTarget = _computedOptions.target.computeValue; +var getEmitModuleKind = _computedOptions.module.computeValue; +var getEmitModuleResolutionKind = _computedOptions.moduleResolution.computeValue; +var getEmitModuleDetectionKind = _computedOptions.moduleDetection.computeValue; +var getIsolatedModules = _computedOptions.isolatedModules.computeValue; +var getESModuleInterop = _computedOptions.esModuleInterop.computeValue; +var getAllowSyntheticDefaultImports = _computedOptions.allowSyntheticDefaultImports.computeValue; +var getResolvePackageJsonExports = _computedOptions.resolvePackageJsonExports.computeValue; +var getResolvePackageJsonImports = _computedOptions.resolvePackageJsonImports.computeValue; +var getResolveJsonModule = _computedOptions.resolveJsonModule.computeValue; +var getEmitDeclarations = _computedOptions.declaration.computeValue; +var shouldPreserveConstEnums = _computedOptions.preserveConstEnums.computeValue; +var isIncrementalCompilation = _computedOptions.incremental.computeValue; +var getAreDeclarationMapsEnabled = _computedOptions.declarationMap.computeValue; +var getAllowJSCompilerOption = _computedOptions.allowJs.computeValue; +var getUseDefineForClassFields = _computedOptions.useDefineForClassFields.computeValue; function emitModuleKindIsNonNodeESM(moduleKind) { return moduleKind >= 5 /* ES2015 */ && moduleKind <= 99 /* ESNext */; } @@ -22374,8 +22536,33 @@ function tryParsePattern(pattern) { suffix: pattern.substr(indexOfStar + 1) }; } +var parsedPatternsCache = /* @__PURE__ */ new WeakMap(); function tryParsePatterns(paths) { - return mapDefined(getOwnKeys(paths), (path) => tryParsePattern(path)); + let result = parsedPatternsCache.get(paths); + if (result !== void 0) { + return result; + } + let matchableStringSet; + let patterns; + const pathList = getOwnKeys(paths); + for (const path of pathList) { + const patternOrStr = tryParsePattern(path); + if (patternOrStr === void 0) { + continue; + } else if (typeof patternOrStr === "string") { + (matchableStringSet ?? (matchableStringSet = /* @__PURE__ */ new Set())).add(patternOrStr); + } else { + (patterns ?? (patterns = [])).push(patternOrStr); + } + } + parsedPatternsCache.set( + paths, + result = { + matchableStringSet, + patterns + } + ); + return result; } function positionIsSynthesized(pos) { return !(pos >= 0); @@ -22403,15 +22590,13 @@ var emptyFileSystemEntries = { files: emptyArray, directories: emptyArray }; -function matchPatternOrExact(patternOrStrings, candidate) { - const patterns = []; - for (const patternOrString of patternOrStrings) { - if (patternOrString === candidate) { - return candidate; - } - if (!isString(patternOrString)) { - patterns.push(patternOrString); - } +function matchPatternOrExact(parsedPatterns, candidate) { + const { matchableStringSet, patterns } = parsedPatterns; + if (matchableStringSet == null ? void 0 : matchableStringSet.has(candidate)) { + return candidate; + } + if (patterns === void 0 || patterns.length === 0) { + return void 0; } return findBestPatternMatch(patterns, (_) => _, candidate); } @@ -22488,6 +22673,7 @@ function isJsonEqual(a, b) { function parsePseudoBigInt(stringValue) { let log2Base; switch (stringValue.charCodeAt(1)) { + // "x" in "0x123" case 98 /* b */: case 66 /* B */: log2Base = 1; @@ -22735,7 +22921,7 @@ function getContainingNodeArray(node) { return parent2.types; case 189 /* TupleType */: case 209 /* ArrayLiteralExpression */: - case 355 /* CommaListExpression */: + case 356 /* CommaListExpression */: case 275 /* NamedImports */: case 279 /* NamedExports */: return parent2.elements; @@ -23274,6 +23460,7 @@ function createNameResolver({ switch (location.kind) { case 307 /* SourceFile */: if (!isExternalOrCommonJsModule(location)) break; + // falls through case 267 /* ModuleDeclaration */: const moduleExports = ((_a = getSymbolOfDeclaration(location)) == null ? void 0 : _a.exports) || emptySymbols; if (location.kind === 307 /* SourceFile */ || isModuleDeclaration(location) && location.flags & 33554432 /* Ambient */ && !isGlobalScopeAugmentation(location)) { @@ -23357,6 +23544,14 @@ function createNameResolver({ } } break; + // It is not legal to reference a class's own type parameters from a computed property name that + // belongs to the class. For example: + // + // function foo() { return '' } + // class C { // <-- Class's own type parameter T + // [foo()]() { } // <-- Reference to T from class's own computed property + // } + // case 167 /* ComputedPropertyName */: grandparent = location.parent.parent; if (isClassLike(grandparent) || grandparent.kind === 264 /* InterfaceDeclaration */) { @@ -23372,6 +23567,7 @@ function createNameResolver({ if (getEmitScriptTarget(compilerOptions) >= 2 /* ES2015 */) { break; } + // falls through case 174 /* MethodDeclaration */: case 176 /* Constructor */: case 177 /* GetAccessor */: @@ -23614,6 +23810,9 @@ function hasInferredType(node) { case 260 /* VariableDeclaration */: case 277 /* ExportAssignment */: case 303 /* PropertyAssignment */: + case 304 /* ShorthandPropertyAssignment */: + case 341 /* JSDocParameterTag */: + case 348 /* JSDocPropertyTag */: return true; default: assertType(node); @@ -23624,6 +23823,118 @@ function isSideEffectImport(node) { const ancestor = findAncestor(node, isImportDeclaration); return !!ancestor && !ancestor.importClause; } +var unprefixedNodeCoreModulesList = [ + "assert", + "assert/strict", + "async_hooks", + "buffer", + "child_process", + "cluster", + "console", + "constants", + "crypto", + "dgram", + "diagnostics_channel", + "dns", + "dns/promises", + "domain", + "events", + "fs", + "fs/promises", + "http", + "http2", + "https", + "inspector", + "inspector/promises", + "module", + "net", + "os", + "path", + "path/posix", + "path/win32", + "perf_hooks", + "process", + "punycode", + "querystring", + "readline", + "readline/promises", + "repl", + "stream", + "stream/consumers", + "stream/promises", + "stream/web", + "string_decoder", + "sys", + "test/mock_loader", + "timers", + "timers/promises", + "tls", + "trace_events", + "tty", + "url", + "util", + "util/types", + "v8", + "vm", + "wasi", + "worker_threads", + "zlib" +]; +var unprefixedNodeCoreModules = new Set(unprefixedNodeCoreModulesList); +var exclusivelyPrefixedNodeCoreModules = /* @__PURE__ */ new Set([ + "node:sea", + "node:sqlite", + "node:test", + "node:test/reporters" +]); +var nodeCoreModules = /* @__PURE__ */ new Set([ + ...unprefixedNodeCoreModulesList, + ...unprefixedNodeCoreModulesList.map((name) => `node:${name}`), + ...exclusivelyPrefixedNodeCoreModules +]); +function forEachDynamicImportOrRequireCall(file, includeTypeSpaceImports, requireStringLiteralLikeArgument, cb) { + const isJavaScriptFile = isInJSFile(file); + const r = /import|require/g; + while (r.exec(file.text) !== null) { + const node = getNodeAtPosition( + file, + r.lastIndex, + /*includeJSDoc*/ + includeTypeSpaceImports + ); + if (isJavaScriptFile && isRequireCall(node, requireStringLiteralLikeArgument)) { + cb(node, node.arguments[0]); + } else if (isImportCall(node) && node.arguments.length >= 1 && (!requireStringLiteralLikeArgument || isStringLiteralLike(node.arguments[0]))) { + cb(node, node.arguments[0]); + } else if (includeTypeSpaceImports && isLiteralImportTypeNode(node)) { + cb(node, node.argument.literal); + } else if (includeTypeSpaceImports && isJSDocImportTag(node)) { + const moduleNameExpr = getExternalModuleName(node); + if (moduleNameExpr && isStringLiteral(moduleNameExpr) && moduleNameExpr.text) { + cb(node, moduleNameExpr); + } + } + } +} +function getNodeAtPosition(sourceFile, position, includeJSDoc) { + const isJavaScriptFile = isInJSFile(sourceFile); + let current = sourceFile; + const getContainingChild = (child) => { + if (child.pos <= position && (position < child.end || position === child.end && child.kind === 1 /* EndOfFileToken */)) { + return child; + } + }; + while (true) { + const child = isJavaScriptFile && includeJSDoc && hasJSDocNodes(current) && forEach(current.jsDoc, getContainingChild) || forEachChild(current, getContainingChild); + if (!child) { + return current; + } + current = child; + } +} +function isNewScopeNode(node) { + return isFunctionLike(node) || isJSDocSignature(node) || isMappedTypeNode(node); +} // src/compiler/factory/baseNodeFactory.ts function createBaseNodeFactory() { @@ -23947,6 +24258,7 @@ function createParenthesizerRules(factory2) { function parenthesizeConstituentTypeOfUnionType(type) { switch (type.kind) { case 192 /* UnionType */: + // Not strictly necessary, but a union containing a union should have been flattened case 193 /* IntersectionType */: return factory2.createParenthesizedType(type); } @@ -24728,6 +25040,7 @@ function createNodeFactory(flags, baseFactory2) { createSyntheticExpression, createSyntaxList: createSyntaxList3, createNotEmittedStatement, + createNotEmittedTypeElement, createPartiallyEmittedExpression, updatePartiallyEmittedExpression, createCommaListExpression, @@ -27754,7 +28067,7 @@ function createNodeFactory(flags, baseFactory2) { return node; } function createPartiallyEmittedExpression(expression, original) { - const node = createBaseNode(354 /* PartiallyEmittedExpression */); + const node = createBaseNode(355 /* PartiallyEmittedExpression */); node.expression = expression; node.original = original; node.transformFlags |= propagateChildFlags(node.expression) | 1 /* ContainsTypeScript */; @@ -27764,6 +28077,9 @@ function createNodeFactory(flags, baseFactory2) { function updatePartiallyEmittedExpression(node, expression) { return node.expression !== expression ? update(createPartiallyEmittedExpression(expression, node.original), node) : node; } + function createNotEmittedTypeElement() { + return createBaseNode(354 /* NotEmittedTypeElement */); + } function flattenCommaElements(node) { if (nodeIsSynthesized(node) && !isParseTreeNode(node) && !node.original && !node.emitNode && !node.id) { if (isCommaListExpression(node)) { @@ -27776,7 +28092,7 @@ function createNodeFactory(flags, baseFactory2) { return node; } function createCommaListExpression(elements) { - const node = createBaseNode(355 /* CommaListExpression */); + const node = createBaseNode(356 /* CommaListExpression */); node.elements = createNodeArray(sameFlatMap(elements, flattenCommaElements)); node.transformFlags |= propagateChildrenFlags(node.elements); return node; @@ -27785,7 +28101,7 @@ function createNodeFactory(flags, baseFactory2) { return node.elements !== elements ? update(createCommaListExpression(elements), node) : node; } function createSyntheticReferenceExpression(expression, thisArg) { - const node = createBaseNode(356 /* SyntheticReferenceExpression */); + const node = createBaseNode(357 /* SyntheticReferenceExpression */); node.expression = expression; node.thisArg = thisArg; node.transformFlags |= propagateChildFlags(node.expression) | propagateChildFlags(node.thisArg); @@ -28032,7 +28348,7 @@ function createNodeFactory(flags, baseFactory2) { return updateNonNullExpression(outerExpression, expression); case 233 /* ExpressionWithTypeArguments */: return updateExpressionWithTypeArguments(outerExpression, expression, outerExpression.typeArguments); - case 354 /* PartiallyEmittedExpression */: + case 355 /* PartiallyEmittedExpression */: return updatePartiallyEmittedExpression(outerExpression, expression); } } @@ -28577,7 +28893,7 @@ function getTransformFlagsSubtreeExclusions(kind) { case 216 /* TypeAssertionExpression */: case 238 /* SatisfiesExpression */: case 234 /* AsExpression */: - case 354 /* PartiallyEmittedExpression */: + case 355 /* PartiallyEmittedExpression */: case 217 /* ParenthesizedExpression */: case 108 /* SuperKeyword */: return -2147483648 /* OuterExpressionExcludes */; @@ -28950,7 +29266,9 @@ function createEmitHelperFactory(context) { createClassPrivateFieldInHelper, // 'using' helpers createAddDisposableResourceHelper, - createDisposeResourcesHelper + createDisposeResourcesHelper, + // --rewriteRelativeImportExtensions helpers + createRewriteRelativeImportExtensionsHelper }; function getUnscopedHelperName(name) { return setEmitFlags(factory2.createIdentifier(name), 8192 /* HelperName */ | 4 /* AdviseOnEmitNode */); @@ -29439,6 +29757,15 @@ function createEmitHelperFactory(context) { [envBinding] ); } + function createRewriteRelativeImportExtensionsHelper(expression) { + context.requestEmitHelper(rewriteRelativeImportExtensionsHelper); + return factory2.createCallExpression( + getUnscopedHelperName("__rewriteRelativeImportExtension"), + /*typeArguments*/ + void 0, + context.getCompilerOptions().jsx === 1 /* Preserve */ ? [expression, factory2.createTrue()] : [expression] + ); + } } function compareEmitHelpers(x, y) { if (x === y) return 0 /* EqualTo */; @@ -29819,13 +30146,23 @@ var importStarHelper = { dependencies: [createBindingHelper, setModuleDefaultHelper], priority: 2, text: ` - var __importStar = (this && this.__importStar) || function (mod) { - if (mod && mod.__esModule) return mod; - var result = {}; - if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k); - __setModuleDefault(result, mod); - return result; - };` + var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; + })();` }; var importDefaultHelper = { name: "typescript:commonjsimportdefault", @@ -29944,6 +30281,20 @@ var disposeResourcesHelper = { return e.name = "SuppressedError", e.error = error, e.suppressed = suppressed, e; });` }; +var rewriteRelativeImportExtensionsHelper = { + name: "typescript:rewriteRelativeImportExtensions", + importName: "__rewriteRelativeImportExtension", + scoped: false, + text: ` + var __rewriteRelativeImportExtension = (this && this.__rewriteRelativeImportExtension) || function (path, preserveJsx) { + if (typeof path === "string" && /^\\.\\.?\\//.test(path)) { + return path.replace(/\\.(tsx)$|((?:\\.d)?)((?:\\.[^./]+?)?)\\.([cm]?)ts$/i, function (m, tsx, d, ext, cm) { + return tsx ? preserveJsx ? ".jsx" : ".js" : d && (!ext || !cm) ? m : (d + ext + "." + cm.toLowerCase() + "js"); + }); + } + return path; + };` +}; var asyncSuperHelper = { name: "typescript:async-super", scoped: true, @@ -30286,10 +30637,10 @@ function isSyntheticExpression(node) { return node.kind === 237 /* SyntheticExpression */; } function isPartiallyEmittedExpression(node) { - return node.kind === 354 /* PartiallyEmittedExpression */; + return node.kind === 355 /* PartiallyEmittedExpression */; } function isCommaListExpression(node) { - return node.kind === 355 /* CommaListExpression */; + return node.kind === 356 /* CommaListExpression */; } function isTemplateSpan(node) { return node.kind === 239 /* TemplateSpan */; @@ -30445,7 +30796,7 @@ function isNotEmittedStatement(node) { return node.kind === 353 /* NotEmittedStatement */; } function isSyntheticReference(node) { - return node.kind === 356 /* SyntheticReferenceExpression */; + return node.kind === 357 /* SyntheticReferenceExpression */; } function isExternalModuleReference(node) { return node.kind === 283 /* ExternalModuleReference */; @@ -31068,7 +31419,7 @@ function isOuterExpression(node, kinds = 31 /* All */) { return (kinds & 16 /* ExpressionsWithTypeArguments */) !== 0; case 235 /* NonNullExpression */: return (kinds & 4 /* NonNullAssertions */) !== 0; - case 354 /* PartiallyEmittedExpression */: + case 355 /* PartiallyEmittedExpression */: return (kinds & 8 /* PartiallyEmittedExpressions */) !== 0; } return false; @@ -31106,23 +31457,21 @@ function hasRecordedExternalHelpers(sourceFile) { } function createExternalHelpersImportDeclarationIfNeeded(nodeFactory, helperFactory, sourceFile, compilerOptions, hasExportStarsToExportValues, hasImportStar, hasImportDefault) { if (compilerOptions.importHelpers && isEffectiveExternalModule(sourceFile, compilerOptions)) { - let namedBindings; const moduleKind = getEmitModuleKind(compilerOptions); - if (moduleKind >= 5 /* ES2015 */ && moduleKind <= 99 /* ESNext */ || getImpliedNodeFormatForEmitWorker(sourceFile, compilerOptions) === 99 /* ESNext */) { - const helpers = getEmitHelpers(sourceFile); + const impliedModuleKind = getImpliedNodeFormatForEmitWorker(sourceFile, compilerOptions); + const helpers = getImportedHelpers(sourceFile); + if (moduleKind >= 5 /* ES2015 */ && moduleKind <= 99 /* ESNext */ || impliedModuleKind === 99 /* ESNext */ || impliedModuleKind === void 0 && moduleKind === 200 /* Preserve */) { if (helpers) { const helperNames = []; for (const helper of helpers) { - if (!helper.scoped) { - const importName = helper.importName; - if (importName) { - pushIfUnique(helperNames, importName); - } + const importName = helper.importName; + if (importName) { + pushIfUnique(helperNames, importName); } } if (some(helperNames)) { helperNames.sort(compareStringsCaseSensitive); - namedBindings = nodeFactory.createNamedImports( + const namedBindings = nodeFactory.createNamedImports( map(helperNames, (name) => isFileLevelUniqueName(sourceFile, name) ? nodeFactory.createImportSpecifier( /*isTypeOnly*/ false, @@ -31139,57 +31488,54 @@ function createExternalHelpersImportDeclarationIfNeeded(nodeFactory, helperFacto const parseNode = getOriginalNode(sourceFile, isSourceFile); const emitNode = getOrCreateEmitNode(parseNode); emitNode.externalHelpers = true; + const externalHelpersImportDeclaration = nodeFactory.createImportDeclaration( + /*modifiers*/ + void 0, + nodeFactory.createImportClause( + /*isTypeOnly*/ + false, + /*name*/ + void 0, + namedBindings + ), + nodeFactory.createStringLiteral(externalHelpersModuleNameText), + /*attributes*/ + void 0 + ); + addInternalEmitFlags(externalHelpersImportDeclaration, 2 /* NeverApplyImportHelper */); + return externalHelpersImportDeclaration; } } } else { - const externalHelpersModuleName = getOrCreateExternalHelpersModuleNameIfNeeded(nodeFactory, sourceFile, compilerOptions, hasExportStarsToExportValues, hasImportStar || hasImportDefault); + const externalHelpersModuleName = getOrCreateExternalHelpersModuleNameIfNeeded(nodeFactory, sourceFile, compilerOptions, helpers, hasExportStarsToExportValues, hasImportStar || hasImportDefault); if (externalHelpersModuleName) { - namedBindings = nodeFactory.createNamespaceImport(externalHelpersModuleName); - } - } - if (namedBindings) { - const externalHelpersImportDeclaration = nodeFactory.createImportDeclaration( - /*modifiers*/ - void 0, - nodeFactory.createImportClause( + const externalHelpersImportDeclaration = nodeFactory.createImportEqualsDeclaration( + /*modifiers*/ + void 0, /*isTypeOnly*/ false, - /*name*/ - void 0, - namedBindings - ), - nodeFactory.createStringLiteral(externalHelpersModuleNameText), - /*attributes*/ - void 0 - ); - addInternalEmitFlags(externalHelpersImportDeclaration, 2 /* NeverApplyImportHelper */); - return externalHelpersImportDeclaration; + externalHelpersModuleName, + nodeFactory.createExternalModuleReference(nodeFactory.createStringLiteral(externalHelpersModuleNameText)) + ); + addInternalEmitFlags(externalHelpersImportDeclaration, 2 /* NeverApplyImportHelper */); + return externalHelpersImportDeclaration; + } } } } -function getOrCreateExternalHelpersModuleNameIfNeeded(factory2, node, compilerOptions, hasExportStarsToExportValues, hasImportStarOrImportDefault) { - if (compilerOptions.importHelpers && isEffectiveExternalModule(node, compilerOptions)) { - const externalHelpersModuleName = getExternalHelpersModuleName(node); - if (externalHelpersModuleName) { - return externalHelpersModuleName; - } - let create = (hasExportStarsToExportValues || getESModuleInterop(compilerOptions) && hasImportStarOrImportDefault) && getEmitModuleFormatOfFileWorker(node, compilerOptions) < 4 /* System */; - if (!create) { - const helpers = getEmitHelpers(node); - if (helpers) { - for (const helper of helpers) { - if (!helper.scoped) { - create = true; - break; - } - } - } - } - if (create) { - const parseNode = getOriginalNode(node, isSourceFile); - const emitNode = getOrCreateEmitNode(parseNode); - return emitNode.externalHelpersModuleName || (emitNode.externalHelpersModuleName = factory2.createUniqueName(externalHelpersModuleNameText)); - } +function getImportedHelpers(sourceFile) { + return filter(getEmitHelpers(sourceFile), (helper) => !helper.scoped); +} +function getOrCreateExternalHelpersModuleNameIfNeeded(factory2, node, compilerOptions, helpers, hasExportStarsToExportValues, hasImportStarOrImportDefault) { + const externalHelpersModuleName = getExternalHelpersModuleName(node); + if (externalHelpersModuleName) { + return externalHelpersModuleName; + } + const create = some(helpers) || (hasExportStarsToExportValues || getESModuleInterop(compilerOptions) && hasImportStarOrImportDefault) && getEmitModuleFormatOfFileWorker(node, compilerOptions) < 4 /* System */; + if (create) { + const parseNode = getOriginalNode(node, isSourceFile); + const emitNode = getOrCreateEmitNode(parseNode); + return emitNode.externalHelpersModuleName || (emitNode.externalHelpersModuleName = factory2.createUniqueName(externalHelpersModuleNameText)); } } function getLocalNameForExternalImport(factory2, node, sourceFile) { @@ -31512,10 +31858,13 @@ var BinaryExpressionState; switch (currentState) { case enter: if (machine.onLeft) return left; + // falls through case left: if (machine.onOperator) return operator; + // falls through case operator: if (machine.onRight) return right; + // falls through case right: return exit; case exit: @@ -32143,7 +32492,7 @@ var forEachChildTable = { [282 /* MissingDeclaration */]: function forEachChildInMissingDeclaration(node, cbNode, cbNodes) { return visitNodes(cbNode, cbNodes, node.modifiers); }, - [355 /* CommaListExpression */]: function forEachChildInCommaListExpression(node, cbNode, cbNodes) { + [356 /* CommaListExpression */]: function forEachChildInCommaListExpression(node, cbNode, cbNodes) { return visitNodes(cbNode, cbNodes, node.elements); }, [284 /* JsxElement */]: function forEachChildInJsxElement(node, cbNode, cbNodes) { @@ -32239,7 +32588,7 @@ var forEachChildTable = { [331 /* JSDocDeprecatedTag */]: forEachChildInJSDocTag, [337 /* JSDocOverrideTag */]: forEachChildInJSDocTag, [351 /* JSDocImportTag */]: forEachChildInJSDocImportTag, - [354 /* PartiallyEmittedExpression */]: forEachChildInPartiallyEmittedExpression + [355 /* PartiallyEmittedExpression */]: forEachChildInPartiallyEmittedExpression }; function forEachChildInCallOrConstructSignature(node, cbNode, cbNodes) { return visitNodes(cbNode, cbNodes, node.typeParameters) || visitNodes(cbNode, cbNodes, node.parameters) || visitNode2(cbNode, node.type); @@ -32609,6 +32958,7 @@ var Parser; expression2 = parseLiteralNode(); break; } + // falls through default: expression2 = parseObjectLiteralExpression(); break; @@ -33450,10 +33800,12 @@ var Parser; case 90 /* DefaultKeyword */: return nextTokenCanFollowDefaultKeyword(); case 126 /* StaticKeyword */: + nextToken(); + return canFollowModifier(); case 139 /* GetKeyword */: case 153 /* SetKeyword */: nextToken(); - return canFollowModifier(); + return canFollowGetOrSetKeyword(); default: return nextTokenIsOnSameLineAndCanFollowModifier(); } @@ -33471,6 +33823,9 @@ var Parser; function canFollowModifier() { return token() === 23 /* OpenBracketToken */ || token() === 19 /* OpenBraceToken */ || token() === 42 /* AsteriskToken */ || token() === 26 /* DotDotDotToken */ || isLiteralPropertyName(); } + function canFollowGetOrSetKeyword() { + return token() === 23 /* OpenBracketToken */ || isLiteralPropertyName(); + } function nextTokenCanFollowDefaultKeyword() { nextToken(); return token() === 86 /* ClassKeyword */ || token() === 100 /* FunctionKeyword */ || token() === 120 /* InterfaceKeyword */ || token() === 60 /* AtToken */ || token() === 128 /* AbstractKeyword */ && lookAhead(nextTokenIsClassKeywordOnSameLine) || token() === 134 /* AsyncKeyword */ && lookAhead(nextTokenIsFunctionKeywordOnSameLine); @@ -33530,6 +33885,7 @@ var Parser; case 25 /* DotToken */: return true; } + // falls through case 11 /* ArgumentExpressions */: return token() === 26 /* DotDotDotToken */ || isStartOfExpression(); case 16 /* Parameters */: @@ -33563,6 +33919,7 @@ var Parser; return true; case 26 /* Count */: return Debug.fail("ParsingContext.Count used as a context"); + // Not a real context, only a marker. default: Debug.assertNever(parsingContext2, "Non-exhaustive case in 'isListElement'."); } @@ -33879,6 +34236,7 @@ var Parser; case 3 /* SwitchClauseStatements */: return parseErrorAtCurrentToken(Diagnostics.Statement_expected); case 18 /* RestProperties */: + // fallthrough case 4 /* TypeMembers */: return parseErrorAtCurrentToken(Diagnostics.Property_or_signature_expected); case 5 /* ClassMembers */: @@ -33926,6 +34284,7 @@ var Parser; return parseErrorAtCurrentToken(Diagnostics.Identifier_expected); case 26 /* Count */: return Debug.fail("ParsingContext.Count used as a context"); + // Not a real context, only a marker. default: Debug.assertNever(context); } @@ -34850,10 +35209,12 @@ var Parser; return tryParse(parseKeywordAndNoDot) || parseTypeReference(); case 67 /* AsteriskEqualsToken */: scanner2.reScanAsteriskEqualsToken(); + // falls through case 42 /* AsteriskToken */: return parseJSDocAllType(); case 61 /* QuestionQuestionToken */: scanner2.reScanQuestionToken(); + // falls through case 58 /* QuestionToken */: return parseJSDocUnknownOrNullableType(); case 100 /* FunctionKeyword */: @@ -35731,6 +36092,7 @@ var Parser; if (isAwaitExpression2()) { return parseAwaitExpression(); } + // falls through default: return parseUpdateExpression(); } @@ -35750,6 +36112,8 @@ var Parser; if (languageVariant !== 1 /* JSX */) { return false; } + // We are in JSX context and the token is part of JSXElement. + // falls through default: return true; } @@ -36323,10 +36687,16 @@ var Parser; } function canFollowTypeArgumentsInExpression() { switch (token()) { + // These tokens can follow a type argument list in a call expression. case 21 /* OpenParenToken */: + // foo( case 15 /* NoSubstitutionTemplateLiteral */: + // foo `...` case 16 /* TemplateHead */: return true; + // A type argument list followed by `<` never makes sense, and a type argument list followed + // by `>` is ambiguous with a (re-scanned) `>>` operator, so we disqualify both. Also, in + // this context, `+` and `-` are unary operators, not binary operators. case 30 /* LessThanToken */: case 32 /* GreaterThanToken */: case 40 /* PlusToken */: @@ -36344,6 +36714,7 @@ var Parser; false ); } + // falls through case 9 /* NumericLiteral */: case 10 /* BigIntLiteral */: case 11 /* StringLiteral */: @@ -36847,6 +37218,27 @@ var Parser; return isUsingDeclaration(); case 135 /* AwaitKeyword */: return isAwaitUsingDeclaration(); + // 'declare', 'module', 'namespace', 'interface'* and 'type' are all legal JavaScript identifiers; + // however, an identifier cannot be followed by another identifier on the same line. This is what we + // count on to parse out the respective declarations. For instance, we exploit this to say that + // + // namespace n + // + // can be none other than the beginning of a namespace declaration, but need to respect that JavaScript sees + // + // namespace + // n + // + // as the identifier 'namespace' on one line followed by the identifier 'n' on another. + // We need to look one token ahead to see if it permissible to try parsing a declaration. + // + // *Note*: 'interface' is actually a strict mode reserved word. So while + // + // "use strict" + // interface + // I {} + // + // could be legal, it would add complexity for very little gain. case 120 /* InterfaceKeyword */: case 156 /* TypeKeyword */: return nextTokenIsIdentifierOnSameLine(); @@ -36919,6 +37311,9 @@ var Parser; case 111 /* ThrowKeyword */: case 113 /* TryKeyword */: case 89 /* DebuggerKeyword */: + // 'catch' and 'finally' do not actually indicate that the code is part of a statement, + // however, we say they are here so that we may gracefully parse them and error later. + // falls through case 85 /* CatchKeyword */: case 98 /* FinallyKeyword */: return true; @@ -37057,6 +37452,8 @@ var Parser; case 111 /* ThrowKeyword */: return parseThrowStatement(); case 113 /* TryKeyword */: + // Include 'catch' and 'finally' for error recovery. + // falls through case 85 /* CatchKeyword */: case 98 /* FinallyKeyword */: return parseTryStatement(); @@ -37475,10 +37872,15 @@ var Parser; } switch (token()) { case 21 /* OpenParenToken */: + // Method declaration case 30 /* LessThanToken */: + // Generic Method declaration case 54 /* ExclamationToken */: + // Non-null assertion on property name case 59 /* ColonToken */: + // Type Annotation for declaration case 64 /* EqualsToken */: + // Initializer for declaration case 58 /* QuestionToken */: return true; default: @@ -38385,6 +38787,7 @@ var Parser; linkEnd = scanner2.getTokenEnd(); break; } + // fallthrough if it's not a {@link sequence default: state = 2 /* SavingComments */; pushComment(scanner2.getTokenText()); @@ -38643,6 +39046,8 @@ var Parser; indent3 += 1; break; } + // record the * as a comment + // falls through default: if (state !== 3 /* SavingBackticks */) { state = 2 /* SavingComments */; @@ -39614,9 +40019,10 @@ function getDeclarationFileExtension(fileName) { return standardExtension; } if (fileExtensionIs(fileName, ".ts" /* Ts */)) { - const index = getBaseFileName(fileName).lastIndexOf(".d."); + const baseName = getBaseFileName(fileName); + const index = baseName.lastIndexOf(".d."); if (index >= 0) { - return fileName.substring(index); + return baseName.substring(index); } } return void 0; @@ -39723,6 +40129,7 @@ function processPragmasIntoFields(context, reportDiagnostic) { case "jsximportsource": case "jsxruntime": return; + // Accessed directly default: Debug.fail("Unhandled pragma kind"); } @@ -39860,6 +40267,7 @@ var libEntries = [ ["es2021", "lib.es2021.d.ts"], ["es2022", "lib.es2022.d.ts"], ["es2023", "lib.es2023.d.ts"], + ["es2024", "lib.es2024.d.ts"], ["esnext", "lib.esnext.d.ts"], // Host only ["dom", "lib.dom.d.ts"], @@ -39882,6 +40290,7 @@ var libEntries = [ ["es2015.symbol.wellknown", "lib.es2015.symbol.wellknown.d.ts"], ["es2016.array.include", "lib.es2016.array.include.d.ts"], ["es2016.intl", "lib.es2016.intl.d.ts"], + ["es2017.arraybuffer", "lib.es2017.arraybuffer.d.ts"], ["es2017.date", "lib.es2017.date.d.ts"], ["es2017.object", "lib.es2017.object.d.ts"], ["es2017.sharedmemory", "lib.es2017.sharedmemory.d.ts"], @@ -39914,12 +40323,18 @@ var libEntries = [ ["es2022.error", "lib.es2022.error.d.ts"], ["es2022.intl", "lib.es2022.intl.d.ts"], ["es2022.object", "lib.es2022.object.d.ts"], - ["es2022.sharedmemory", "lib.es2022.sharedmemory.d.ts"], ["es2022.string", "lib.es2022.string.d.ts"], ["es2022.regexp", "lib.es2022.regexp.d.ts"], ["es2023.array", "lib.es2023.array.d.ts"], ["es2023.collection", "lib.es2023.collection.d.ts"], ["es2023.intl", "lib.es2023.intl.d.ts"], + ["es2024.arraybuffer", "lib.es2024.arraybuffer.d.ts"], + ["es2024.collection", "lib.es2024.collection.d.ts"], + ["es2024.object", "lib.es2024.object.d.ts"], + ["es2024.promise", "lib.es2024.promise.d.ts"], + ["es2024.regexp", "lib.es2024.regexp.d.ts"], + ["es2024.sharedmemory", "lib.es2024.sharedmemory.d.ts"], + ["es2024.string", "lib.es2024.string.d.ts"], ["esnext.array", "lib.es2023.array.d.ts"], ["esnext.collection", "lib.esnext.collection.d.ts"], ["esnext.symbol", "lib.es2019.symbol.d.ts"], @@ -39928,13 +40343,13 @@ var libEntries = [ ["esnext.disposable", "lib.esnext.disposable.d.ts"], ["esnext.bigint", "lib.es2020.bigint.d.ts"], ["esnext.string", "lib.es2022.string.d.ts"], - ["esnext.promise", "lib.esnext.promise.d.ts"], + ["esnext.promise", "lib.es2024.promise.d.ts"], ["esnext.weakref", "lib.es2021.weakref.d.ts"], ["esnext.decorators", "lib.esnext.decorators.d.ts"], - ["esnext.object", "lib.esnext.object.d.ts"], + ["esnext.object", "lib.es2024.object.d.ts"], ["esnext.array", "lib.esnext.array.d.ts"], - ["esnext.regexp", "lib.esnext.regexp.d.ts"], - ["esnext.string", "lib.esnext.string.d.ts"], + ["esnext.regexp", "lib.es2024.regexp.d.ts"], + ["esnext.string", "lib.es2024.string.d.ts"], ["esnext.iterator", "lib.esnext.iterator.d.ts"], ["decorators", "lib.decorators.d.ts"], ["decorators.legacy", "lib.decorators.legacy.d.ts"] @@ -40233,6 +40648,7 @@ var targetOptionDeclaration = { es2021: 8 /* ES2021 */, es2022: 9 /* ES2022 */, es2023: 10 /* ES2023 */, + es2024: 11 /* ES2024 */, esnext: 99 /* ESNext */ })), affectsSourceFile: true, @@ -40311,15 +40727,6 @@ var commandOptionsWithoutBuild = [ paramType: Diagnostics.FILE_OR_DIRECTORY, description: 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: true, - category: Diagnostics.Command_line_Options, - description: Diagnostics.Build_one_or_more_projects_and_their_dependencies_if_out_of_date, - defaultValueDescription: false - }, { name: "showConfig", type: "boolean", @@ -40844,6 +41251,15 @@ var commandOptionsWithoutBuild = [ defaultValueDescription: false, transpileOptionValue: void 0 }, + { + name: "rewriteRelativeImportExtensions", + type: "boolean", + affectsSemanticDiagnostics: true, + affectsBuildInfo: true, + category: Diagnostics.Modules, + description: Diagnostics.Rewrite_ts_tsx_mts_and_cts_file_extensions_in_relative_import_paths_to_their_JavaScript_equivalent_in_output_files, + defaultValueDescription: false + }, { name: "resolvePackageJsonExports", type: "boolean", @@ -41304,7 +41720,17 @@ var commandLineOptionOfCustomType = optionDeclarations.filter(isCommandLineOptio function isCommandLineOptionOfCustomType(option) { return !isString(option.type); } +var tscBuildOption = { + name: "build", + type: "boolean", + shortName: "b", + showInSimplifiedHelpView: true, + category: Diagnostics.Command_line_Options, + description: Diagnostics.Build_one_or_more_projects_and_their_dependencies_if_out_of_date, + defaultValueDescription: false +}; var optionsForBuild = [ + tscBuildOption, { name: "verbose", shortName: "v", @@ -41443,8 +41869,14 @@ function getOptionName(option) { } function createUnknownOptionError(unknownOption, diagnostics, unknownOptionErrorText, node, sourceFile) { var _a; - if ((_a = diagnostics.alternateMode) == null ? void 0 : _a.getOptionsNameMap().optionsNameMap.has(unknownOption.toLowerCase())) { - return createDiagnosticForNodeInSourceFileOrCompilerDiagnostic(sourceFile, node, diagnostics.alternateMode.diagnostic, unknownOption); + const otherOption = (_a = diagnostics.alternateMode) == null ? void 0 : _a.getOptionsNameMap().optionsNameMap.get(unknownOption.toLowerCase()); + if (otherOption) { + return createDiagnosticForNodeInSourceFileOrCompilerDiagnostic( + sourceFile, + node, + otherOption !== tscBuildOption ? diagnostics.alternateMode.diagnostic : Diagnostics.Option_build_must_be_the_first_command_line_argument, + unknownOption + ); } const possibleOption = getSpellingSuggestion(unknownOption, diagnostics.optionDeclarations, getOptionName); return possibleOption ? createDiagnosticForNodeInSourceFileOrCompilerDiagnostic(sourceFile, node, diagnostics.unknownDidYouMeanDiagnostic, unknownOptionErrorText || unknownOption, possibleOption.name) : createDiagnosticForNodeInSourceFileOrCompilerDiagnostic(sourceFile, node, diagnostics.unknownOptionDiagnostic, unknownOptionErrorText || unknownOption); @@ -41579,6 +42011,7 @@ function parseOptionValue(args, i, diagnostics, opt, options, errors) { case "listOrElement": Debug.fail("listOrElement not supported here"); break; + // If not a primitive, the possible types are specified in what is effectively a map of options. default: options[opt.name] = parseCustomTypeOption(opt, args[i], errors); i++; @@ -41632,10 +42065,10 @@ var buildOptionsDidYouMeanDiagnostics = { unknownDidYouMeanDiagnostic: Diagnostics.Unknown_build_option_0_Did_you_mean_1, optionTypeMismatchDiagnostic: Diagnostics.Build_option_0_requires_a_value_of_type_1 }; -function parseBuildCommand(args) { +function parseBuildCommand(commandLine) { const { options, watchOptions, fileNames: projects, errors } = parseCommandLineWorker( buildOptionsDidYouMeanDiagnostics, - args + commandLine ); const buildOptions = options; if (projects.length === 0) { @@ -41919,6 +42352,7 @@ function convertToJson(sourceFile, rootExpression, errors, returnValue, jsonConv return false; case 106 /* NullKeyword */: return null; + // eslint-disable-line no-restricted-syntax case 11 /* StringLiteral */: if (!isDoubleQuotedString(valueExpression)) { errors.push(createDiagnosticForNodeInSourceFile(sourceFile, valueExpression, Diagnostics.String_literal_with_double_quotes_expected)); @@ -42012,7 +42446,7 @@ function convertToTSConfig(configParseResult, configFileName, host) { const providedKeys = new Set(optionMap.keys()); const impliedCompilerOptions = {}; for (const option in computedOptions) { - if (!providedKeys.has(option) && some(computedOptions[option].dependencies, (dep) => providedKeys.has(dep))) { + if (!providedKeys.has(option) && optionDependsOn(option, providedKeys)) { const implied = computedOptions[option].computeValue(configParseResult.options); const defaultValue = computedOptions[option].computeValue({}); if (implied !== defaultValue) { @@ -42023,6 +42457,17 @@ function convertToTSConfig(configParseResult, configFileName, host) { assign(config.compilerOptions, optionMapToObject(serializeCompilerOptions(impliedCompilerOptions, pathOptions))); return config; } +function optionDependsOn(option, dependsOn) { + const seen = /* @__PURE__ */ new Set(); + return optionDependsOnRecursive(option); + function optionDependsOnRecursive(option2) { + var _a; + if (addToSeen(seen, option2)) { + return some((_a = computedOptions[option2]) == null ? void 0 : _a.dependencies, (dep) => dependsOn.has(dep) || optionDependsOnRecursive(dep)); + } + return false; + } +} function optionMapToObject(optionMap) { return Object.fromEntries(optionMap); } @@ -42398,8 +42843,6 @@ function parseJsonConfigFileContentWorker(json, sourceFile, host, basePath, exis validatedFilesSpecBeforeSubstitution, validatedIncludeSpecsBeforeSubstitution, validatedExcludeSpecsBeforeSubstitution, - pathPatterns: void 0, - // Initialized on first use isDefaultIncludeSpec }; } @@ -42538,6 +42981,9 @@ function getErrorForNoInputFiles({ includeSpecs, excludeSpecs }, configFileName) function shouldReportNoInputFiles(fileNames, canJsonReportNoInutFiles, resolutionStack) { return fileNames.length === 0 && canJsonReportNoInutFiles && (!resolutionStack || resolutionStack.length === 0); } +function isSolutionConfig(config) { + return !config.fileNames.length && hasProperty(config.raw, "references"); +} function canJsonReportNoInputFiles(raw) { return !hasProperty(raw, "files") && !hasProperty(raw, "references"); } @@ -42579,7 +43025,7 @@ function parseConfig(json, sourceFile, host, basePath, configFileName, resolutio if (ownConfig.raw.compileOnSave === void 0 && result.compileOnSave) ownConfig.raw.compileOnSave = result.compileOnSave; if (sourceFile && result.extendedSourceFiles) sourceFile.extendedSourceFiles = arrayFrom(result.extendedSourceFiles.keys()); ownConfig.options = assign(result.options, ownConfig.options); - ownConfig.watchOptions = ownConfig.watchOptions && result.watchOptions ? assign(result.watchOptions, ownConfig.watchOptions) : ownConfig.watchOptions || result.watchOptions; + ownConfig.watchOptions = ownConfig.watchOptions && result.watchOptions ? assignWatchOptions(result, ownConfig.watchOptions) : ownConfig.watchOptions || result.watchOptions; } return ownConfig; function applyExtendedConfig(result, extendedConfigPath) { @@ -42603,9 +43049,14 @@ function parseConfig(json, sourceFile, host, basePath, configFileName, resolutio result.compileOnSave = extendsRaw.compileOnSave; } assign(result.options, extendedConfig.options); - result.watchOptions = result.watchOptions && extendedConfig.watchOptions ? assign({}, result.watchOptions, extendedConfig.watchOptions) : result.watchOptions || extendedConfig.watchOptions; + result.watchOptions = result.watchOptions && extendedConfig.watchOptions ? assignWatchOptions(result, extendedConfig.watchOptions) : result.watchOptions || extendedConfig.watchOptions; } } + function assignWatchOptions(result, watchOptions) { + if (result.watchOptionsCopied) return assign(result.watchOptions, watchOptions); + result.watchOptionsCopied = true; + return assign({}, result.watchOptions, watchOptions); + } } function parseOwnConfigOfJson(json, host, basePath, configFileName, errors) { if (hasProperty(json, "excludes")) { @@ -43127,6 +43578,7 @@ function getOptionValueWithEmptyStrings(value, option) { return typeof value === "boolean" ? value : ""; case "listOrElement": if (!isArray(value)) return getOptionValueWithEmptyStrings(value, option.element); + // fall through to list case "list": const elementType = option.element; return isArray(value) ? mapDefined(value, (v) => getOptionValueWithEmptyStrings(v, elementType)) : ""; @@ -43647,7 +44099,7 @@ function getConditions(options, resolutionMode) { } function resolvePackageNameToPackageJson(packageName, containingDirectory, options, host, cache) { const moduleResolutionState = getTemporaryModuleResolutionState(cache == null ? void 0 : cache.getPackageJsonInfoCache(), host, options); - return forEachAncestorDirectory(containingDirectory, (ancestorDirectory) => { + return forEachAncestorDirectoryStoppingAtGlobalCache(host, containingDirectory, (ancestorDirectory) => { if (getBaseFileName(ancestorDirectory) !== "node_modules") { const nodeModulesFolder = combinePaths(ancestorDirectory, "node_modules"); const candidate = combinePaths(nodeModulesFolder, packageName); @@ -44103,8 +44555,7 @@ function tryLoadModuleUsingOptionalResolutionSettings(extensions, moduleName, co } } function tryLoadModuleUsingPathsIfEligible(extensions, moduleName, loader, state) { - var _a; - const { baseUrl, paths, configFile } = state.compilerOptions; + const { baseUrl, paths } = state.compilerOptions; if (paths && !pathIsRelative(moduleName)) { if (state.traceEnabled) { if (baseUrl) { @@ -44113,7 +44564,7 @@ function tryLoadModuleUsingPathsIfEligible(extensions, moduleName, loader, state trace(state.host, Diagnostics.paths_option_is_specified_looking_for_a_pattern_to_match_module_name_0, moduleName); } const baseDirectory = getPathsBasePath(state.compilerOptions, state.host); - const pathPatterns = (configFile == null ? void 0 : configFile.configFileSpecs) ? (_a = configFile.configFileSpecs).pathPatterns || (_a.pathPatterns = tryParsePatterns(paths)) : void 0; + const pathPatterns = tryParsePatterns(paths); return tryLoadModuleUsingPaths( extensions, moduleName, @@ -44425,25 +44876,28 @@ function nodeModuleNameResolverWorker(features, moduleName, containingDirectory, return toSearchResult({ resolved, isExternalLibraryImport: pathContainsNodeModules(resolved.path) }); } if (!isExternalModuleNameRelative(moduleName)) { - let resolved2; if (features & 2 /* Imports */ && startsWith(moduleName, "#")) { - resolved2 = loadModuleFromImports(extensions2, moduleName, containingDirectory, state2, cache, redirectedReference); - } - if (!resolved2 && features & 4 /* SelfName */) { - resolved2 = loadModuleFromSelfNameReference(extensions2, moduleName, containingDirectory, state2, cache, redirectedReference); + const resolved3 = loadModuleFromImports(extensions2, moduleName, containingDirectory, state2, cache, redirectedReference); + if (resolved3) { + return resolved3.value && { value: { resolved: resolved3.value, isExternalLibraryImport: false } }; + } } - if (!resolved2) { - if (moduleName.includes(":")) { - if (traceEnabled) { - trace(host, Diagnostics.Skipping_module_0_that_looks_like_an_absolute_URI_target_file_types_Colon_1, moduleName, formatExtensions(extensions2)); - } - return void 0; + if (features & 4 /* SelfName */) { + const resolved3 = loadModuleFromSelfNameReference(extensions2, moduleName, containingDirectory, state2, cache, redirectedReference); + if (resolved3) { + return resolved3.value && { value: { resolved: resolved3.value, isExternalLibraryImport: false } }; } + } + if (moduleName.includes(":")) { if (traceEnabled) { - trace(host, Diagnostics.Loading_module_0_from_node_modules_folder_target_file_types_Colon_1, moduleName, formatExtensions(extensions2)); + trace(host, Diagnostics.Skipping_module_0_that_looks_like_an_absolute_URI_target_file_types_Colon_1, moduleName, formatExtensions(extensions2)); } - resolved2 = loadModuleFromNearestNodeModulesDirectory(extensions2, moduleName, containingDirectory, state2, cache, redirectedReference); + return void 0; } + if (traceEnabled) { + trace(host, Diagnostics.Loading_module_0_from_node_modules_folder_target_file_types_Colon_1, moduleName, formatExtensions(extensions2)); + } + let resolved2 = loadModuleFromNearestNodeModulesDirectory(extensions2, moduleName, containingDirectory, state2, cache, redirectedReference); if (extensions2 & 4 /* Declaration */) { resolved2 ?? (resolved2 = resolveFromTypeRoot(moduleName, state2)); } @@ -44571,10 +45025,11 @@ function loadModuleFromFileNoImplicitExtensions(extensions, candidate, onlyRecor } return tryAddingExtensions(extensionless, extensions, extension, onlyRecordFailures, state); } -function loadFileNameFromPackageJsonField(extensions, candidate, onlyRecordFailures, state) { +function loadFileNameFromPackageJsonField(extensions, candidate, packageJsonValue, onlyRecordFailures, state) { if (extensions & 1 /* TypeScript */ && fileExtensionIsOneOf(candidate, supportedTSImplementationExtensions) || extensions & 4 /* Declaration */ && fileExtensionIsOneOf(candidate, supportedDeclarationExtensions)) { const result = tryFile(candidate, onlyRecordFailures, state); - return result !== void 0 ? { path: candidate, ext: tryExtractTSExtension(candidate), resolvedUsingTsExtension: void 0 } : void 0; + const ext = tryExtractTSExtension(candidate); + return result !== void 0 ? { path: candidate, ext, resolvedUsingTsExtension: packageJsonValue ? !endsWith(packageJsonValue, ext) : void 0 } : void 0; } if (state.isConfigLookup && extensions === 8 /* Json */ && fileExtensionIs(candidate, ".json" /* Json */)) { const result = tryFile(candidate, onlyRecordFailures, state); @@ -44736,6 +45191,7 @@ function loadEntrypointsFromExportMap(scope, exports2, state, extensions) { const result = loadFileNameFromPackageJsonField( extensions, finalPath, + target, /*onlyRecordFailures*/ false, state @@ -44780,7 +45236,8 @@ function getTemporaryModuleResolutionState(packageJsonInfoCache, host, options) }; } function getPackageScopeForPath(directory, state) { - return forEachAncestorDirectory( + return forEachAncestorDirectoryStoppingAtGlobalCache( + state.host, directory, (dir) => getPackageJsonInfo( dir, @@ -44876,7 +45333,14 @@ function loadNodeModuleFromDirectoryWorker(extensions, candidate, onlyRecordFail } } const loader = (extensions2, candidate2, onlyRecordFailures2, state2) => { - const fromFile = loadFileNameFromPackageJsonField(extensions2, candidate2, onlyRecordFailures2, state2); + const fromFile = loadFileNameFromPackageJsonField( + extensions2, + candidate2, + /*packageJsonValue*/ + void 0, + onlyRecordFailures2, + state2 + ); if (fromFile) { return noPackageId(fromFile); } @@ -44912,17 +45376,8 @@ function loadNodeModuleFromDirectoryWorker(extensions, candidate, onlyRecordFail if (state.traceEnabled) { trace(state.host, Diagnostics.package_json_has_a_typesVersions_entry_0_that_matches_compiler_version_1_looking_for_a_pattern_to_match_module_name_2, versionPaths.version, version, moduleName); } - const result = tryLoadModuleUsingPaths( - extensions, - moduleName, - candidate, - versionPaths.paths, - /*pathPatterns*/ - void 0, - loader, - onlyRecordFailuresForPackageFile || onlyRecordFailuresForIndex, - state - ); + const pathPatterns = tryParsePatterns(versionPaths.paths); + const result = tryLoadModuleUsingPaths(extensions, moduleName, candidate, versionPaths.paths, pathPatterns, loader, onlyRecordFailuresForPackageFile || onlyRecordFailuresForIndex, state); if (result) { return removeIgnoredPackageId(result.value); } @@ -44985,7 +45440,7 @@ function loadModuleFromExports(scope, extensions, subpath, state, cache, redirec mainExport = scope.contents.packageJsonContent.exports["."]; } if (mainExport) { - const loadModuleFromTargetImportOrExport = getLoadModuleFromTargetImportOrExport( + const loadModuleFromTargetExportOrImport = getLoadModuleFromTargetExportOrImport( extensions, state, cache, @@ -44995,7 +45450,7 @@ function loadModuleFromExports(scope, extensions, subpath, state, cache, redirec /*isImports*/ false ); - return loadModuleFromTargetImportOrExport( + return loadModuleFromTargetExportOrImport( mainExport, "", /*pattern*/ @@ -45013,7 +45468,7 @@ function loadModuleFromExports(scope, extensions, subpath, state, cache, redirec void 0 ); } - const result = loadModuleFromImportsOrExports( + const result = loadModuleFromExportsOrImports( extensions, state, cache, @@ -45067,7 +45522,7 @@ function loadModuleFromImports(extensions, moduleName, directory, state, cache, void 0 ); } - const result = loadModuleFromImportsOrExports( + const result = loadModuleFromExportsOrImports( extensions, state, cache, @@ -45094,19 +45549,19 @@ function comparePatternKeys(a, b) { const bPatternIndex = b.indexOf("*"); const baseLenA = aPatternIndex === -1 ? a.length : aPatternIndex + 1; const baseLenB = bPatternIndex === -1 ? b.length : bPatternIndex + 1; - if (baseLenA > baseLenB) return -1; - if (baseLenB > baseLenA) return 1; - if (aPatternIndex === -1) return 1; - if (bPatternIndex === -1) return -1; - if (a.length > b.length) return -1; - if (b.length > a.length) return 1; - return 0; + if (baseLenA > baseLenB) return -1 /* LessThan */; + if (baseLenB > baseLenA) return 1 /* GreaterThan */; + if (aPatternIndex === -1) return 1 /* GreaterThan */; + if (bPatternIndex === -1) return -1 /* LessThan */; + if (a.length > b.length) return -1 /* LessThan */; + if (b.length > a.length) return 1 /* GreaterThan */; + return 0 /* EqualTo */; } -function loadModuleFromImportsOrExports(extensions, state, cache, redirectedReference, moduleName, lookupTable, scope, isImports) { - const loadModuleFromTargetImportOrExport = getLoadModuleFromTargetImportOrExport(extensions, state, cache, redirectedReference, moduleName, scope, isImports); +function loadModuleFromExportsOrImports(extensions, state, cache, redirectedReference, moduleName, lookupTable, scope, isImports) { + const loadModuleFromTargetExportOrImport = getLoadModuleFromTargetExportOrImport(extensions, state, cache, redirectedReference, moduleName, scope, isImports); if (!endsWith(moduleName, directorySeparator) && !moduleName.includes("*") && hasProperty(lookupTable, moduleName)) { const target = lookupTable[moduleName]; - return loadModuleFromTargetImportOrExport( + return loadModuleFromTargetExportOrImport( target, /*subpath*/ "", @@ -45121,7 +45576,7 @@ function loadModuleFromImportsOrExports(extensions, state, cache, redirectedRefe const target = lookupTable[potentialTarget]; const starPos = potentialTarget.indexOf("*"); const subpath = moduleName.substring(potentialTarget.substring(0, starPos).length, moduleName.length - (potentialTarget.length - 1 - starPos)); - return loadModuleFromTargetImportOrExport( + return loadModuleFromTargetExportOrImport( target, subpath, /*pattern*/ @@ -45131,7 +45586,7 @@ function loadModuleFromImportsOrExports(extensions, state, cache, redirectedRefe } else if (endsWith(potentialTarget, "*") && startsWith(moduleName, potentialTarget.substring(0, potentialTarget.length - 1))) { const target = lookupTable[potentialTarget]; const subpath = moduleName.substring(potentialTarget.length - 1); - return loadModuleFromTargetImportOrExport( + return loadModuleFromTargetExportOrImport( target, subpath, /*pattern*/ @@ -45141,7 +45596,7 @@ function loadModuleFromImportsOrExports(extensions, state, cache, redirectedRefe } else if (startsWith(moduleName, potentialTarget)) { const target = lookupTable[potentialTarget]; const subpath = moduleName.substring(potentialTarget.length); - return loadModuleFromTargetImportOrExport( + return loadModuleFromTargetExportOrImport( target, subpath, /*pattern*/ @@ -45161,9 +45616,9 @@ function hasOneAsterisk(patternKey) { const firstStar = patternKey.indexOf("*"); return firstStar !== -1 && firstStar === patternKey.lastIndexOf("*"); } -function getLoadModuleFromTargetImportOrExport(extensions, state, cache, redirectedReference, moduleName, scope, isImports) { - return loadModuleFromTargetImportOrExport; - function loadModuleFromTargetImportOrExport(target, subpath, pattern, key) { +function getLoadModuleFromTargetExportOrImport(extensions, state, cache, redirectedReference, moduleName, scope, isImports) { + return loadModuleFromTargetExportOrImport; + function loadModuleFromTargetExportOrImport(target, subpath, pattern, key) { if (typeof target === "string") { if (!pattern && subpath.length > 0 && !endsWith(target, "/")) { if (state.traceEnabled) { @@ -45241,6 +45696,7 @@ function getLoadModuleFromTargetImportOrExport(extensions, state, cache, redirec return toSearchResult(withPackageId(scope, loadFileNameFromPackageJsonField( extensions, finalPath, + target, /*onlyRecordFailures*/ false, state @@ -45252,7 +45708,7 @@ function getLoadModuleFromTargetImportOrExport(extensions, state, cache, redirec if (condition === "default" || state.conditions.includes(condition) || isApplicableVersionedTypesKey(state.conditions, condition)) { traceIfEnabled(state, Diagnostics.Matched_0_condition_1, isImports ? "imports" : "exports", condition); const subTarget = target[condition]; - const result = loadModuleFromTargetImportOrExport(subTarget, subpath, pattern, key); + const result = loadModuleFromTargetExportOrImport(subTarget, subpath, pattern, key); if (result) { traceIfEnabled(state, Diagnostics.Resolved_under_condition_0, condition); traceIfEnabled(state, Diagnostics.Exiting_conditional_exports); @@ -45277,7 +45733,7 @@ function getLoadModuleFromTargetImportOrExport(extensions, state, cache, redirec ); } for (const elem of target) { - const result = loadModuleFromTargetImportOrExport(elem, subpath, pattern, key); + const result = loadModuleFromTargetExportOrImport(elem, subpath, pattern, key); if (result) { return result; } @@ -45353,6 +45809,8 @@ function getLoadModuleFromTargetImportOrExport(extensions, state, cache, redirec return toSearchResult(withPackageId(scope, loadFileNameFromPackageJsonField( extensions, possibleInputWithInputExtension, + /*packageJsonValue*/ + void 0, /*onlyRecordFailures*/ false, state @@ -45428,17 +45886,30 @@ function loadModuleFromNearestNodeModulesDirectoryWorker(extensions, moduleName, return lookup(secondaryExtensions); } function lookup(extensions2) { - return forEachAncestorDirectory(normalizeSlashes(directory), (ancestorDirectory) => { - if (getBaseFileName(ancestorDirectory) !== "node_modules") { - const resolutionFromCache = tryFindNonRelativeModuleNameInCache(cache, moduleName, mode, ancestorDirectory, redirectedReference, state); - if (resolutionFromCache) { - return resolutionFromCache; + return forEachAncestorDirectoryStoppingAtGlobalCache( + state.host, + normalizeSlashes(directory), + (ancestorDirectory) => { + if (getBaseFileName(ancestorDirectory) !== "node_modules") { + const resolutionFromCache = tryFindNonRelativeModuleNameInCache(cache, moduleName, mode, ancestorDirectory, redirectedReference, state); + if (resolutionFromCache) { + return resolutionFromCache; + } + return toSearchResult(loadModuleFromImmediateNodeModulesDirectory(extensions2, moduleName, ancestorDirectory, state, typesScopeOnly, cache, redirectedReference)); } - return toSearchResult(loadModuleFromImmediateNodeModulesDirectory(extensions2, moduleName, ancestorDirectory, state, typesScopeOnly, cache, redirectedReference)); } - }); + ); } } +function forEachAncestorDirectoryStoppingAtGlobalCache(host, directory, callback) { + var _a; + const globalCache = (_a = host == null ? void 0 : host.getGlobalTypingsCacheLocation) == null ? void 0 : _a.call(host); + return forEachAncestorDirectory(directory, (ancestorDirectory) => { + const result = callback(ancestorDirectory); + if (result !== void 0) return result; + if (ancestorDirectory === globalCache) return false; + }) || void 0; +} function loadModuleFromImmediateNodeModulesDirectory(extensions, moduleName, directory, state, typesScopeOnly, cache, redirectedReference) { const nodeModulesFolder = combinePaths(directory, "node_modules"); const nodeModulesFolderExists = directoryProbablyExists(nodeModulesFolder, state.host); @@ -45514,17 +45985,8 @@ function loadModuleFromSpecificNodeModulesDirectory(extensions, moduleName, node trace(state.host, Diagnostics.package_json_has_a_typesVersions_entry_0_that_matches_compiler_version_1_looking_for_a_pattern_to_match_module_name_2, versionPaths.version, version, rest); } const packageDirectoryExists = nodeModulesDirectoryExists && directoryProbablyExists(packageDirectory, state.host); - const fromPaths = tryLoadModuleUsingPaths( - extensions, - rest, - packageDirectory, - versionPaths.paths, - /*pathPatterns*/ - void 0, - loader, - !packageDirectoryExists, - state - ); + const pathPatterns = tryParsePatterns(versionPaths.paths); + const fromPaths = tryLoadModuleUsingPaths(extensions, rest, packageDirectory, versionPaths.paths, pathPatterns, loader, !packageDirectoryExists, state); if (fromPaths) { return fromPaths.value; } @@ -45532,7 +45994,6 @@ function loadModuleFromSpecificNodeModulesDirectory(extensions, moduleName, node return loader(extensions, candidate, !nodeModulesDirectoryExists, state); } function tryLoadModuleUsingPaths(extensions, moduleName, baseDirectory, paths, pathPatterns, loader, onlyRecordFailures, state) { - pathPatterns || (pathPatterns = tryParsePatterns(paths)); const matchedPattern = matchPatternOrExact(pathPatterns, moduleName); if (matchedPattern) { const matchedStar = isString(matchedPattern) ? void 0 : matchedText(matchedPattern, moduleName); @@ -45644,28 +46105,32 @@ function classicNameResolver(moduleName, containingFile, compilerOptions, host, return { value: resolvedUsingSettings }; } if (!isExternalModuleNameRelative(moduleName)) { - const resolved2 = forEachAncestorDirectory(containingDirectory, (directory) => { - const resolutionFromCache = tryFindNonRelativeModuleNameInCache( - cache, - moduleName, - /*mode*/ - void 0, - directory, - redirectedReference, - state - ); - if (resolutionFromCache) { - return resolutionFromCache; + const resolved2 = forEachAncestorDirectoryStoppingAtGlobalCache( + state.host, + containingDirectory, + (directory) => { + const resolutionFromCache = tryFindNonRelativeModuleNameInCache( + cache, + moduleName, + /*mode*/ + void 0, + directory, + redirectedReference, + state + ); + if (resolutionFromCache) { + return resolutionFromCache; + } + const searchName = normalizePath(combinePaths(directory, moduleName)); + return toSearchResult(loadModuleFromFileNoPackageId( + extensions, + searchName, + /*onlyRecordFailures*/ + false, + state + )); } - const searchName = normalizePath(combinePaths(directory, moduleName)); - return toSearchResult(loadModuleFromFileNoPackageId( - extensions, - searchName, - /*onlyRecordFailures*/ - false, - state - )); - }); + ); if (resolved2) return resolved2; if (extensions & (1 /* TypeScript */ | 4 /* Declaration */)) { let resolved3 = loadModuleFromNearestNodeModulesDirectoryTypesScope(moduleName, containingDirectory, state); @@ -45708,7 +46173,7 @@ function resolveFromTypeRoot(moduleName, state) { } } function shouldAllowImportingTsExtension(compilerOptions, fromFileName) { - return !!compilerOptions.allowImportingTsExtensions || fromFileName && isDeclarationFileName(fromFileName); + return getAllowImportingTsExtensions(compilerOptions) || !!fromFileName && isDeclarationFileName(fromFileName); } function loadModuleFromGlobalCache(moduleName, projectName, compilerOptions, host, globalCache, packageJsonInfoCache) { const traceEnabled = isTraceEnabled(compilerOptions, host); @@ -45799,20 +46264,24 @@ function getModuleInstanceStateCached(node, visited = /* @__PURE__ */ new Map()) } function getModuleInstanceStateWorker(node, visited) { switch (node.kind) { + // 1. interface declarations, type alias declarations case 264 /* InterfaceDeclaration */: case 265 /* TypeAliasDeclaration */: return 0 /* NonInstantiated */; + // 2. const enum declarations case 266 /* EnumDeclaration */: if (isEnumConst(node)) { return 2 /* ConstEnumOnly */; } break; + // 3. non-exported import declarations case 272 /* ImportDeclaration */: case 271 /* ImportEqualsDeclaration */: if (!hasSyntacticModifier(node, 32 /* Export */)) { return 0 /* NonInstantiated */; } break; + // 4. Export alias declarations pointing at only uninstantiated modules or things uninstantiated modules contain case 278 /* ExportDeclaration */: const exportDeclaration = node; if (!exportDeclaration.moduleSpecifier && exportDeclaration.exportClause && exportDeclaration.exportClause.kind === 279 /* NamedExports */) { @@ -45829,6 +46298,7 @@ function getModuleInstanceStateWorker(node, visited) { return state; } break; + // 5. other uninstantiated module declarations. case 268 /* ModuleBlock */: { let state = 0 /* NonInstantiated */; forEachChild(node, (n) => { @@ -45946,7 +46416,7 @@ function createBinder() { var inStrictMode; var inAssignmentPattern = false; var symbolCount = 0; - var Symbol47; + var Symbol48; var classifiableNames; var unreachableFlow = createFlowNode( 1 /* Unreachable */, @@ -45975,7 +46445,7 @@ function createBinder() { inStrictMode = bindInStrictMode(file, opts); classifiableNames = /* @__PURE__ */ new Set(); symbolCount = 0; - Symbol47 = objectAllocator.getSymbolConstructor(); + Symbol48 = objectAllocator.getSymbolConstructor(); Debug.attachFlowNodeDebugInfo(unreachableFlow); Debug.attachFlowNodeDebugInfo(reportedUnreachableFlow); if (!file.locals) { @@ -46026,7 +46496,7 @@ function createBinder() { } function createSymbol(flags, name) { symbolCount++; - return new Symbol47(flags, name); + return new Symbol48(flags, name); } function addDeclarationToSymbol(symbol, node, symbolFlags) { symbol.flags |= symbolFlags; @@ -46439,6 +46909,7 @@ function createBinder() { case 351 /* JSDocImportTag */: bindJSDocImportTag(node); break; + // In source files and blocks, bind functions first to match hoisting that occurs at runtime case 307 /* SourceFile */: { bindEachFunctionsFirst(node.statements); bind(node.endOfFileToken); @@ -46459,6 +46930,7 @@ function createBinder() { case 303 /* PropertyAssignment */: case 230 /* SpreadElement */: inAssignmentPattern = saveInAssignmentPattern; + // falls through default: bindEachChild(node); break; @@ -46480,6 +46952,7 @@ function createBinder() { if (isJSDocTypeAssertion(expr)) { return false; } + // fallthrough case 235 /* NonNullExpression */: return isNarrowingExpression(expr.expression); case 226 /* BinaryExpression */: @@ -47311,6 +47784,10 @@ function createBinder() { } function declareSymbolAndAddToSymbolTable(node, symbolFlags, symbolExcludes) { switch (container.kind) { + // Modules, source files, and classes need specialized handling for how their + // members are declared (for example, a member of a class will go into a specific + // symbol table depending on if it is static or not). We defer to specialized + // handlers to take care of declaring these child members. case 267 /* ModuleDeclaration */: return declareModuleMember(node, symbolFlags, symbolExcludes); case 307 /* SourceFile */: @@ -47452,6 +47929,7 @@ function createBinder() { declareModuleMember(node, symbolFlags, symbolExcludes); break; } + // falls through default: Debug.assertNode(blockScopeContainer, canHaveLocals); if (!blockScopeContainer.locals) { @@ -47772,6 +48250,7 @@ function createBinder() { } function bindWorker(node) { switch (node.kind) { + /* Strict mode checks */ case 80 /* Identifier */: if (node.flags & 4096 /* IdentifierIsInJSDocNamespace */) { let parentNode = node.parent; @@ -47781,6 +48260,7 @@ function createBinder() { bindBlockScopedDeclaration(parentNode, 524288 /* TypeAlias */, 788968 /* TypeAliasExcludes */); break; } + // falls through case 110 /* ThisKeyword */: if (currentFlow && (isExpression(node) || parent2.kind === 304 /* ShorthandPropertyAssignment */)) { node.flowNode = currentFlow; @@ -47869,6 +48349,7 @@ function createBinder() { return; case 182 /* TypePredicate */: break; + // Binding the children will handle everything case 168 /* TypeParameter */: return bindTypeParameter(node); case 169 /* Parameter */: @@ -47933,6 +48414,7 @@ function createBinder() { return bindObjectDefinePrototypeProperty(node); case 0 /* None */: break; + // Nothing to do default: return Debug.fail("Unknown call expression assignment declaration kind"); } @@ -47940,6 +48422,7 @@ function createBinder() { bindCallExpression(node); } break; + // Members of classes, interfaces, and modules case 231 /* ClassExpression */: case 263 /* ClassDeclaration */: inStrictMode = true; @@ -47952,10 +48435,12 @@ function createBinder() { return bindEnumDeclaration(node); case 267 /* ModuleDeclaration */: return bindModuleDeclaration(node); + // Jsx-attributes case 292 /* JsxAttributes */: return bindJsxAttributes(node); case 291 /* JsxAttribute */: return bindJsxAttribute(node, 4 /* Property */, 0 /* PropertyExcludes */); + // Imports and exports case 271 /* ImportEqualsDeclaration */: case 274 /* NamespaceImport */: case 276 /* ImportSpecifier */: @@ -47976,6 +48461,7 @@ function createBinder() { if (!isFunctionLikeOrClassStaticBlockDeclaration(node.parent)) { return; } + // falls through case 268 /* ModuleBlock */: return updateStrictModeStatementList(node.statements); case 341 /* JSDocParameterTag */: @@ -47985,6 +48471,7 @@ function createBinder() { if (node.parent.kind !== 322 /* JSDocTypeLiteral */) { break; } + // falls through case 348 /* JSDocPropertyTag */: const propTag = node; const flags = propTag.isBracketed || propTag.typeExpression && propTag.typeExpression.type.kind === 316 /* JSDocOptionalType */ ? 4 /* Property */ | 16777216 /* Optional */ : 4 /* Property */; @@ -48197,6 +48684,7 @@ function createBinder() { declareSymbolAndAddToSymbolTable(node, 1 /* FunctionScopedVariable */, 111550 /* FunctionScopedVariableExcludes */); } break; + // Namespaces are not allowed in javascript files, so do nothing here case 267 /* ModuleDeclaration */: break; default: @@ -48693,6 +49181,7 @@ function getContainerFlags(node) { if (isObjectLiteralOrClassExpressionMethodOrAccessor(node)) { return 1 /* IsContainer */ | 4 /* IsControlFlowContainer */ | 32 /* HasLocals */ | 8 /* IsFunctionLike */ | 128 /* IsObjectLiteralOrClassExpressionMethodOrAccessor */; } + // falls through case 176 /* Constructor */: case 262 /* FunctionDeclaration */: case 173 /* MethodSignature */: @@ -49140,31 +49629,29 @@ function computeModuleSpecifiers(modulePaths, compilerOptions, importingSourceFi return { kind: "node_modules", moduleSpecifiers: nodeModulesSpecifiers, computedWithoutCache: true }; } } - if (!specifier) { - const local = getLocalModuleSpecifier( - modulePath.path, - info, - compilerOptions, - host, - options.overrideImportMode || importingSourceFile.impliedNodeFormat, - preferences, - /*pathsOnly*/ - modulePath.isRedirect - ); - if (!local || forAutoImport && isExcludedByRegex(local, preferences.excludeRegexes)) { - continue; - } - if (modulePath.isRedirect) { - redirectPathsSpecifiers = append(redirectPathsSpecifiers, local); - } else if (pathIsBareSpecifier(local)) { - if (pathContainsNodeModules(local)) { - relativeSpecifiers = append(relativeSpecifiers, local); - } else { - pathsSpecifiers = append(pathsSpecifiers, local); - } - } else if (forAutoImport || !importedFileIsInNodeModules || modulePath.isInNodeModules) { + const local = getLocalModuleSpecifier( + modulePath.path, + info, + compilerOptions, + host, + options.overrideImportMode || importingSourceFile.impliedNodeFormat, + preferences, + /*pathsOnly*/ + modulePath.isRedirect || !!specifier + ); + if (!local || forAutoImport && isExcludedByRegex(local, preferences.excludeRegexes)) { + continue; + } + if (modulePath.isRedirect) { + redirectPathsSpecifiers = append(redirectPathsSpecifiers, local); + } else if (pathIsBareSpecifier(local)) { + if (pathContainsNodeModules(local)) { relativeSpecifiers = append(relativeSpecifiers, local); + } else { + pathsSpecifiers = append(pathsSpecifiers, local); } + } else if (forAutoImport || !importedFileIsInNodeModules || modulePath.isInNodeModules) { + relativeSpecifiers = append(relativeSpecifiers, local); } } return (pathsSpecifiers == null ? void 0 : pathsSpecifiers.length) ? { kind: "paths", moduleSpecifiers: pathsSpecifiers, computedWithoutCache: true } : (redirectPathsSpecifiers == null ? void 0 : redirectPathsSpecifiers.length) ? { kind: "redirect", moduleSpecifiers: redirectPathsSpecifiers, computedWithoutCache: true } : (nodeModulesSpecifiers == null ? void 0 : nodeModulesSpecifiers.length) ? { kind: "node_modules", moduleSpecifiers: nodeModulesSpecifiers, computedWithoutCache: true } : { kind: "relative", moduleSpecifiers: relativeSpecifiers ?? emptyArray, computedWithoutCache: true }; @@ -49210,7 +49697,7 @@ function getLocalModuleSpecifier(moduleFileName, info, compilerOptions, host, im importMode, prefersTsExtension(allowedEndings) ); - const fromPaths = pathsOnly || fromPackageJsonImports === void 0 ? paths && tryGetModuleNameFromPaths(relativeToBaseUrl, paths, allowedEndings, host, compilerOptions) : void 0; + const fromPaths = pathsOnly || fromPackageJsonImports === void 0 ? paths && tryGetModuleNameFromPaths(relativeToBaseUrl, paths, allowedEndings, baseDirectory, getCanonicalFileName, host, compilerOptions) : void 0; if (pathsOnly) { return fromPaths; } @@ -49266,9 +49753,11 @@ function getNearestAncestorDirectoryWithPackageJson(host, fileName) { if (host.getNearestAncestorDirectoryWithPackageJson) { return host.getNearestAncestorDirectoryWithPackageJson(fileName); } - return forEachAncestorDirectory(fileName, (directory) => { - return host.fileExists(combinePaths(directory, "package.json")) ? directory : void 0; - }); + return forEachAncestorDirectoryStoppingAtGlobalCache( + host, + fileName, + (directory) => host.fileExists(combinePaths(directory, "package.json")) ? directory : void 0 + ); } function forEachFileNameOfModule(importingFileName, importedFileName, host, preferSymlinks, cb) { var _a; @@ -49286,25 +49775,29 @@ function forEachFileNameOfModule(importingFileName, importedFileName, host, pref } const symlinkedDirectories = (_a = host.getSymlinkCache) == null ? void 0 : _a.call(host).getSymlinkedDirectoriesByRealpath(); const fullImportedFileName = getNormalizedAbsolutePath(importedFileName, cwd); - const result = symlinkedDirectories && forEachAncestorDirectory(getDirectoryPath(fullImportedFileName), (realPathDirectory) => { - const symlinkDirectories = symlinkedDirectories.get(ensureTrailingDirectorySeparator(toPath(realPathDirectory, cwd, getCanonicalFileName))); - if (!symlinkDirectories) return void 0; - if (startsWithDirectory(importingFileName, realPathDirectory, getCanonicalFileName)) { - return false; - } - return forEach(targets, (target) => { - if (!startsWithDirectory(target, realPathDirectory, getCanonicalFileName)) { - return; - } - const relative = getRelativePathFromDirectory(realPathDirectory, target, getCanonicalFileName); - for (const symlinkDirectory of symlinkDirectories) { - const option = resolvePath(symlinkDirectory, relative); - const result2 = cb(option, target === referenceRedirect); - shouldFilterIgnoredPaths = true; - if (result2) return result2; + const result = symlinkedDirectories && forEachAncestorDirectoryStoppingAtGlobalCache( + host, + getDirectoryPath(fullImportedFileName), + (realPathDirectory) => { + const symlinkDirectories = symlinkedDirectories.get(ensureTrailingDirectorySeparator(toPath(realPathDirectory, cwd, getCanonicalFileName))); + if (!symlinkDirectories) return void 0; + if (startsWithDirectory(importingFileName, realPathDirectory, getCanonicalFileName)) { + return false; } - }); - }); + return forEach(targets, (target) => { + if (!startsWithDirectory(target, realPathDirectory, getCanonicalFileName)) { + return; + } + const relative = getRelativePathFromDirectory(realPathDirectory, target, getCanonicalFileName); + for (const symlinkDirectory of symlinkDirectories) { + const option = resolvePath(symlinkDirectory, relative); + const result2 = cb(option, target === referenceRedirect); + shouldFilterIgnoredPaths = true; + if (result2) return result2; + } + }); + } + ); return result || (preferSymlinks ? forEach(targets, (p) => shouldFilterIgnoredPaths && containsIgnoredPath(p) ? void 0 : cb(p, p === referenceRedirect)) : void 0); } function getAllModulePaths(info, importedFileName, host, preferences, compilerOptions, options = {}) { @@ -49433,10 +49926,11 @@ function tryGetModuleNameFromAmbientModule(moduleSymbol, checker) { return ambientModuleDeclare.name.text; } } -function tryGetModuleNameFromPaths(relativeToBaseUrl, paths, allowedEndings, host, compilerOptions) { +function tryGetModuleNameFromPaths(relativeToBaseUrl, paths, allowedEndings, baseDirectory, getCanonicalFileName, host, compilerOptions) { for (const key in paths) { for (const patternText2 of paths[key]) { - const pattern = normalizePath(patternText2); + const normalized = normalizePath(patternText2); + const pattern = getRelativePathIfInSameVolume(normalized, baseDirectory, getCanonicalFileName) ?? normalized; const indexOfStar = pattern.indexOf("*"); const candidates = allowedEndings.map((ending) => ({ ending, @@ -49765,6 +50259,8 @@ function tryGetModuleNameAsNodeModule({ path, isRedirect }, { getCanonicalFileNa subModuleName, versionPaths.paths, allowedEndings, + packageRootPath, + getCanonicalFileName, host, options ); @@ -50058,9 +50554,9 @@ function createTypeChecker(host) { }; var cancellationToken; var scanner2; - var Symbol47 = objectAllocator.getSymbolConstructor(); + var Symbol48 = objectAllocator.getSymbolConstructor(); var Type29 = objectAllocator.getTypeConstructor(); - var Signature14 = objectAllocator.getSignatureConstructor(); + var Signature13 = objectAllocator.getSignatureConstructor(); var typeCount = 0; var symbolCount = 0; var totalInstantiationCount = 0; @@ -50092,17 +50588,7 @@ function createTypeChecker(host) { var checkBinaryExpression = createCheckBinaryExpression(); var emitResolver = createResolver(); var nodeBuilder = createNodeBuilder(); - var syntacticNodeBuilder = createSyntacticTypeNodeBuilder(compilerOptions, { - isEntityNameVisible, - isExpandoFunctionDeclaration, - getAllAccessorDeclarations: getAllAccessorDeclarationsForDeclaration, - requiresAddingImplicitUndefined, - isUndefinedIdentifierExpression(node) { - Debug.assert(isExpressionNode(node)); - return getSymbolAtLocation(node) === undefinedSymbol; - }, - isDefinitelyReferenceToGlobalSymbolObject - }); + var syntacticNodeBuilder = createSyntacticTypeNodeBuilder(compilerOptions, nodeBuilder.syntacticBuilderResolver); var evaluate = createEvaluator({ evaluateElementAccessExpression, evaluateEntityNameExpression @@ -50203,6 +50689,7 @@ function createTypeChecker(host) { getBaseTypeOfLiteralType, getWidenedType, getWidenedLiteralType, + fillMissingTypeArguments, getTypeFromTypeNode: (nodeIn) => { const node = getParseTreeNode(nodeIn, isTypeNode); return node ? getTypeFromTypeNode(node) : errorType; @@ -50759,6 +51246,15 @@ function createTypeChecker(host) { emptyArray ); emptyJsxObjectType.objectFlags |= 2048 /* JsxAttributes */; + var emptyFreshJsxObjectType = createAnonymousType( + /*symbol*/ + void 0, + emptySymbols, + emptyArray, + emptyArray, + emptyArray + ); + emptyFreshJsxObjectType.objectFlags |= 2048 /* JsxAttributes */ | 8192 /* FreshLiteral */ | 128 /* ObjectLiteral */ | 131072 /* ContainsObjectOrArrayLiteral */; var emptyTypeLiteralSymbol = createSymbol(2048 /* TypeLiteral */, "__type" /* Type */); emptyTypeLiteralSymbol.members = createSymbolTable(); var emptyTypeLiteralType = createAnonymousType(emptyTypeLiteralSymbol, emptySymbols, emptyArray, emptyArray, emptyArray); @@ -51237,7 +51733,7 @@ function createTypeChecker(host) { } function createSymbol(flags, name, checkFlags) { symbolCount++; - const symbol = new Symbol47(flags | 33554432 /* Transient */, name); + const symbol = new Symbol48(flags | 33554432 /* Transient */, name); symbol.links = new SymbolLinks(); symbol.links.checkFlags = checkFlags || 0 /* None */; return symbol; @@ -51846,6 +52342,7 @@ function createTypeChecker(host) { if (isEntityNameExpression(node.expression)) { return node.expression; } + // falls through default: return void 0; } @@ -52141,10 +52638,19 @@ function createTypeChecker(host) { function isESMFormatImportImportingCommonjsFormatFile(usageMode, targetMode) { return usageMode === 99 /* ESNext */ && targetMode === 1 /* CommonJS */; } - function isOnlyImportableAsDefault(usage) { + function isOnlyImportableAsDefault(usage, resolvedModule) { if (100 /* Node16 */ <= moduleKind && moduleKind <= 199 /* NodeNext */) { const usageMode = getEmitSyntaxForModuleSpecifierExpression(usage); - return usageMode === 99 /* ESNext */ && endsWith(usage.text, ".json" /* Json */); + if (usageMode === 99 /* ESNext */) { + resolvedModule ?? (resolvedModule = resolveExternalModuleName( + usage, + usage, + /*ignoreErrors*/ + true + )); + const targetFile = resolvedModule && getSourceFileOfModule(resolvedModule); + return targetFile && (isJsonSourceFile(targetFile) || getDeclarationFileExtension(targetFile.fileName) === ".d.json.ts"); + } } return false; } @@ -52215,7 +52721,7 @@ function createTypeChecker(host) { if (!specifier) { return exportDefaultSymbol; } - const hasDefaultOnly = isOnlyImportableAsDefault(specifier); + const hasDefaultOnly = isOnlyImportableAsDefault(specifier, moduleSymbol); const hasSyntheticDefault = canHaveSyntheticDefault(file, moduleSymbol, dontResolveAlias, specifier); if (!exportDefaultSymbol && !hasSyntheticDefault && !hasDefaultOnly) { if (hasExportAssignmentSymbol(moduleSymbol) && !allowSyntheticDefaultImports) { @@ -52417,12 +52923,14 @@ function createTypeChecker(host) { let symbolFromModule = getExportOfModule(targetSymbol, nameText, specifier, dontResolveAlias); if (symbolFromModule === void 0 && nameText === "default" /* Default */) { const file = (_a = moduleSymbol.declarations) == null ? void 0 : _a.find(isSourceFile); - if (isOnlyImportableAsDefault(moduleSpecifier) || canHaveSyntheticDefault(file, moduleSymbol, dontResolveAlias, moduleSpecifier)) { + if (isOnlyImportableAsDefault(moduleSpecifier, moduleSymbol) || canHaveSyntheticDefault(file, moduleSymbol, dontResolveAlias, moduleSpecifier)) { symbolFromModule = resolveExternalModuleSymbol(moduleSymbol, dontResolveAlias) || resolveSymbol(moduleSymbol, dontResolveAlias); } } const symbol = symbolFromModule && symbolFromVariable && symbolFromModule !== symbolFromVariable ? combineValueAndTypeSymbols(symbolFromVariable, symbolFromModule) : symbolFromModule || symbolFromVariable; - if (!symbol) { + if (isImportOrExportSpecifier(specifier) && isOnlyImportableAsDefault(moduleSpecifier, moduleSymbol) && nameText !== "default" /* Default */) { + error2(name, Diagnostics.Named_imports_from_a_JSON_file_into_an_ECMAScript_module_are_not_allowed_when_module_is_set_to_0, ModuleKind[moduleKind]); + } else if (!symbol) { errorNoModuleMemberSymbol(moduleSymbol, targetSymbol, node, name); } return symbol; @@ -53016,14 +53524,14 @@ function createTypeChecker(host) { return ambientModule; } const currentSourceFile = getSourceFileOfNode(location); - const contextSpecifier = isStringLiteralLike(location) ? location : ((_a = isModuleDeclaration(location) ? location : location.parent && isModuleDeclaration(location.parent) && location.parent.name === location ? location.parent : void 0) == null ? void 0 : _a.name) || ((_b = isLiteralImportTypeNode(location) ? location : void 0) == null ? void 0 : _b.argument.literal) || (isInJSFile(location) && isJSDocImportTag(location) ? location.moduleSpecifier : void 0) || (isVariableDeclaration(location) && location.initializer && isRequireCall( + const contextSpecifier = isStringLiteralLike(location) ? location : ((_a = isModuleDeclaration(location) ? location : location.parent && isModuleDeclaration(location.parent) && location.parent.name === location ? location.parent : void 0) == null ? void 0 : _a.name) || ((_b = isLiteralImportTypeNode(location) ? location : void 0) == null ? void 0 : _b.argument.literal) || (isVariableDeclaration(location) && location.initializer && isRequireCall( location.initializer, /*requireStringLiteralLikeArgument*/ true - ) ? location.initializer.arguments[0] : void 0) || ((_c = findAncestor(location, isImportCall)) == null ? void 0 : _c.arguments[0]) || ((_d = findAncestor(location, isImportDeclaration)) == null ? void 0 : _d.moduleSpecifier) || ((_e = findAncestor(location, isExternalModuleImportEqualsDeclaration)) == null ? void 0 : _e.moduleReference.expression) || ((_f = findAncestor(location, isExportDeclaration)) == null ? void 0 : _f.moduleSpecifier); + ) ? location.initializer.arguments[0] : void 0) || ((_c = findAncestor(location, isImportCall)) == null ? void 0 : _c.arguments[0]) || ((_d = findAncestor(location, or(isImportDeclaration, isJSDocImportTag, isExportDeclaration))) == null ? void 0 : _d.moduleSpecifier) || ((_e = findAncestor(location, isExternalModuleImportEqualsDeclaration)) == null ? void 0 : _e.moduleReference.expression); const mode = contextSpecifier && isStringLiteralLike(contextSpecifier) ? host.getModeForUsageLocation(currentSourceFile, contextSpecifier) : host.getDefaultResolutionModeForFile(currentSourceFile); const moduleResolutionKind = getEmitModuleResolutionKind(compilerOptions); - const resolvedModule = (_g = host.getResolvedModule(currentSourceFile, moduleReference, mode)) == null ? void 0 : _g.resolvedModule; + const resolvedModule = (_f = host.getResolvedModule(currentSourceFile, moduleReference, mode)) == null ? void 0 : _f.resolvedModule; const resolutionDiagnostic = errorNode && resolvedModule && getResolutionDiagnostic(compilerOptions, resolvedModule, currentSourceFile); const sourceFile = resolvedModule && (!resolutionDiagnostic || resolutionDiagnostic === Diagnostics.Module_0_was_resolved_to_1_but_jsx_is_not_set) && host.getSourceFile(resolvedModule.resolvedFileName); if (sourceFile) { @@ -53031,7 +53539,7 @@ function createTypeChecker(host) { error2(errorNode, resolutionDiagnostic, moduleReference, resolvedModule.resolvedFileName); } if (resolvedModule.resolvedUsingTsExtension && isDeclarationFileName(moduleReference)) { - const importOrExport = ((_h = findAncestor(location, isImportDeclaration)) == null ? void 0 : _h.importClause) || findAncestor(location, or(isImportEqualsDeclaration, isExportDeclaration)); + const importOrExport = ((_g = findAncestor(location, isImportDeclaration)) == null ? void 0 : _g.importClause) || findAncestor(location, or(isImportEqualsDeclaration, isExportDeclaration)); if (errorNode && importOrExport && !importOrExport.isTypeOnly || findAncestor(location, isImportCall)) { error2( errorNode, @@ -53040,11 +53548,41 @@ function createTypeChecker(host) { ); } } else if (resolvedModule.resolvedUsingTsExtension && !shouldAllowImportingTsExtension(compilerOptions, currentSourceFile.fileName)) { - const importOrExport = ((_i = findAncestor(location, isImportDeclaration)) == null ? void 0 : _i.importClause) || findAncestor(location, or(isImportEqualsDeclaration, isExportDeclaration)); + const importOrExport = ((_h = findAncestor(location, isImportDeclaration)) == null ? void 0 : _h.importClause) || findAncestor(location, or(isImportEqualsDeclaration, isExportDeclaration)); if (errorNode && !((importOrExport == null ? void 0 : importOrExport.isTypeOnly) || findAncestor(location, isImportTypeNode))) { const tsExtension = Debug.checkDefined(tryExtractTSExtension(moduleReference)); error2(errorNode, Diagnostics.An_import_path_can_only_end_with_a_0_extension_when_allowImportingTsExtensions_is_enabled, tsExtension); } + } else if (compilerOptions.rewriteRelativeImportExtensions && !(location.flags & 33554432 /* Ambient */) && !isDeclarationFileName(moduleReference) && !isLiteralImportTypeNode(location) && !isPartOfTypeOnlyImportOrExportDeclaration(location)) { + const shouldRewrite = shouldRewriteModuleSpecifier(moduleReference, compilerOptions); + if (!resolvedModule.resolvedUsingTsExtension && shouldRewrite) { + error2( + errorNode, + Diagnostics.This_relative_import_path_is_unsafe_to_rewrite_because_it_looks_like_a_file_name_but_actually_resolves_to_0, + getRelativePathFromFile(getNormalizedAbsolutePath(currentSourceFile.fileName, host.getCurrentDirectory()), resolvedModule.resolvedFileName, hostGetCanonicalFileName(host)) + ); + } else if (resolvedModule.resolvedUsingTsExtension && !shouldRewrite && sourceFileMayBeEmitted(sourceFile, host)) { + error2( + errorNode, + Diagnostics.This_import_uses_a_0_extension_to_resolve_to_an_input_TypeScript_file_but_will_not_be_rewritten_during_emit_because_it_is_not_a_relative_path, + getAnyExtensionFromPath(moduleReference) + ); + } else if (resolvedModule.resolvedUsingTsExtension && shouldRewrite) { + const redirect = host.getResolvedProjectReferenceToRedirect(sourceFile.path); + if (redirect) { + const ignoreCase = !host.useCaseSensitiveFileNames(); + const ownRootDir = host.getCommonSourceDirectory(); + const otherRootDir = getCommonSourceDirectoryOfConfig(redirect.commandLine, ignoreCase); + const rootDirPath = getRelativePathFromDirectory(ownRootDir, otherRootDir, ignoreCase); + const outDirPath = getRelativePathFromDirectory(compilerOptions.outDir || ownRootDir, redirect.commandLine.options.outDir || otherRootDir, ignoreCase); + if (rootDirPath !== outDirPath) { + error2( + errorNode, + Diagnostics.This_import_path_is_unsafe_to_rewrite_because_it_resolves_to_another_project_and_the_relative_path_between_the_projects_output_files_is_not_the_same_as_the_relative_path_between_its_input_files + ); + } + } + } } if (sourceFile.symbol) { if (errorNode && resolvedModule.isExternalLibraryImport && !resolutionExtensionIsTSOrJson(resolvedModule.extension)) { @@ -53070,14 +53608,11 @@ function createTypeChecker(host) { if (ext === ".ts" /* Ts */ || ext === ".js" /* Js */ || ext === ".tsx" /* Tsx */ || ext === ".jsx" /* Jsx */) { diagnosticDetails = createModeMismatchDetails(currentSourceFile); } + const message = (overrideHost == null ? void 0 : overrideHost.kind) === 272 /* ImportDeclaration */ && ((_i = overrideHost.importClause) == null ? void 0 : _i.isTypeOnly) ? Diagnostics.Type_only_import_of_an_ECMAScript_module_from_a_CommonJS_module_must_have_a_resolution_mode_attribute : (overrideHost == null ? void 0 : overrideHost.kind) === 205 /* ImportType */ ? Diagnostics.Type_import_of_an_ECMAScript_module_from_a_CommonJS_module_must_have_a_resolution_mode_attribute : Diagnostics.The_current_file_is_a_CommonJS_module_whose_imports_will_produce_require_calls_however_the_referenced_file_is_an_ECMAScript_module_and_cannot_be_imported_with_require_Consider_writing_a_dynamic_import_0_call_instead; diagnostics.add(createDiagnosticForNodeFromMessageChain( getSourceFileOfNode(errorNode), errorNode, - chainDiagnosticMessages( - diagnosticDetails, - Diagnostics.The_current_file_is_a_CommonJS_module_whose_imports_will_produce_require_calls_however_the_referenced_file_is_an_ECMAScript_module_and_cannot_be_imported_with_require_Consider_writing_a_dynamic_import_0_call_instead, - moduleReference - ) + chainDiagnosticMessages(diagnosticDetails, message, moduleReference) )); } } @@ -53704,6 +54239,7 @@ function createTypeChecker(host) { if (!isExternalOrCommonJsModule(location)) { break; } + // falls through case 267 /* ModuleDeclaration */: const sym = getSymbolOfDeclaration(location); if (result = callback( @@ -53757,7 +54293,7 @@ function createTypeChecker(host) { const links = getSymbolLinks(symbol); const cache = links.accessibleChainCache || (links.accessibleChainCache = /* @__PURE__ */ new Map()); const firstRelevantLocation = forEachSymbolTableInScope(enclosingDeclaration, (_, __, ___, node) => node); - const key = `${useOnlyExternalAliasing ? 0 : 1}|${firstRelevantLocation && getNodeId(firstRelevantLocation)}|${meaning}`; + const key = `${useOnlyExternalAliasing ? 0 : 1}|${firstRelevantLocation ? getNodeId(firstRelevantLocation) : 0}|${meaning}`; if (cache.has(key)) { return cache.get(key); } @@ -54210,12 +54746,194 @@ function createTypeChecker(host) { return getTypeFromTypeNode(node); } function createNodeBuilder() { + const syntacticBuilderResolver = { + evaluateEntityNameExpression, + isExpandoFunctionDeclaration, + hasLateBindableName, + shouldRemoveDeclaration(context, node) { + return !(context.internalFlags & 8 /* AllowUnresolvedNames */ && isEntityNameExpression(node.name.expression) && checkComputedPropertyName(node.name).flags & 1 /* Any */); + }, + createRecoveryBoundary(context) { + return createRecoveryBoundary(context); + }, + isDefinitelyReferenceToGlobalSymbolObject, + getAllAccessorDeclarations: getAllAccessorDeclarationsForDeclaration, + requiresAddingImplicitUndefined(declaration, symbol, enclosingDeclaration) { + var _a; + switch (declaration.kind) { + case 172 /* PropertyDeclaration */: + case 171 /* PropertySignature */: + case 348 /* JSDocPropertyTag */: + symbol ?? (symbol = getSymbolOfDeclaration(declaration)); + const type = getTypeOfSymbol(symbol); + return !!(symbol.flags & 4 /* Property */ && symbol.flags & 16777216 /* Optional */ && isOptionalDeclaration(declaration) && ((_a = symbol.links) == null ? void 0 : _a.mappedType) && containsNonMissingUndefinedType(type)); + case 169 /* Parameter */: + case 341 /* JSDocParameterTag */: + return requiresAddingImplicitUndefined(declaration, enclosingDeclaration); + default: + Debug.assertNever(declaration); + } + }, + isOptionalParameter, + isUndefinedIdentifierExpression(node) { + Debug.assert(isExpressionNode(node)); + return getSymbolAtLocation(node) === undefinedSymbol; + }, + isEntityNameVisible(context, entityName, shouldComputeAliasToMakeVisible) { + return isEntityNameVisible(entityName, context.enclosingDeclaration, shouldComputeAliasToMakeVisible); + }, + serializeExistingTypeNode(context, typeNode, addUndefined) { + return serializeExistingTypeNode(context, typeNode, !!addUndefined); + }, + serializeReturnTypeForSignature(syntacticContext, signatureDeclaration) { + const context = syntacticContext; + const signature = getSignatureFromDeclaration(signatureDeclaration); + const returnType = context.enclosingSymbolTypes.get(getSymbolId(getSymbolOfDeclaration(signatureDeclaration))) ?? instantiateType(getReturnTypeOfSignature(signature), context.mapper); + return serializeInferredReturnTypeForSignature(context, signature, returnType); + }, + serializeTypeOfExpression(syntacticContext, expr) { + const context = syntacticContext; + const type = instantiateType(getWidenedType(getRegularTypeOfExpression(expr)), context.mapper); + return typeToTypeNodeHelper(type, context); + }, + serializeTypeOfDeclaration(syntacticContext, declaration, symbol) { + var _a; + const context = syntacticContext; + symbol ?? (symbol = getSymbolOfDeclaration(declaration)); + let type = (_a = context.enclosingSymbolTypes) == null ? void 0 : _a.get(getSymbolId(symbol)); + if (type === void 0) { + type = symbol && !(symbol.flags & (2048 /* TypeLiteral */ | 131072 /* Signature */)) ? instantiateType(getWidenedLiteralType(getTypeOfSymbol(symbol)), context.mapper) : errorType; + } + const addUndefinedForParameter = declaration && (isParameter(declaration) || isJSDocParameterTag(declaration)) && requiresAddingImplicitUndefined(declaration, context.enclosingDeclaration); + if (addUndefinedForParameter) { + type = getOptionalType(type); + } + return serializeInferredTypeForDeclaration(symbol, context, type); + }, + serializeNameOfParameter(context, parameter) { + return parameterToParameterDeclarationName(getSymbolOfDeclaration(parameter), parameter, context); + }, + serializeEntityName(syntacticContext, node) { + const context = syntacticContext; + const symbol = getSymbolAtLocation( + node, + /*ignoreErrors*/ + true + ); + if (!symbol) return void 0; + if (!isValueSymbolAccessible(symbol, context.enclosingDeclaration)) return void 0; + return symbolToExpression(symbol, context, 111551 /* Value */ | 1048576 /* ExportValue */); + }, + serializeTypeName(context, node, isTypeOf, typeArguments) { + return serializeTypeName(context, node, isTypeOf, typeArguments); + }, + getJsDocPropertyOverride(syntacticContext, jsDocTypeLiteral, jsDocProperty) { + const context = syntacticContext; + const name = isIdentifier(jsDocProperty.name) ? jsDocProperty.name : jsDocProperty.name.right; + const typeViaParent = getTypeOfPropertyOfType(getTypeFromTypeNode2(context, jsDocTypeLiteral), name.escapedText); + const overrideTypeNode = typeViaParent && jsDocProperty.typeExpression && getTypeFromTypeNode2(context, jsDocProperty.typeExpression.type) !== typeViaParent ? typeToTypeNodeHelper(typeViaParent, context) : void 0; + return overrideTypeNode; + }, + enterNewScope(context, node) { + if (isFunctionLike(node) || isJSDocSignature(node)) { + const signature = getSignatureFromDeclaration(node); + const expandedParams = getExpandedParameters( + signature, + /*skipUnionExpanding*/ + true + )[0]; + return enterNewScope(context, node, expandedParams, signature.typeParameters); + } else { + const typeParameters = isConditionalTypeNode(node) ? getInferTypeParameters(node) : [getDeclaredTypeOfTypeParameter(getSymbolOfDeclaration(node.typeParameter))]; + return enterNewScope( + context, + node, + /*expandedParams*/ + void 0, + typeParameters + ); + } + }, + markNodeReuse(context, range, location) { + return setTextRange2(context, range, location); + }, + trackExistingEntityName(context, node) { + return trackExistingEntityName(node, context); + }, + trackComputedName(context, accessExpression) { + trackComputedName(accessExpression, context.enclosingDeclaration, context); + }, + getModuleSpecifierOverride(syntacticContext, parent2, lit) { + const context = syntacticContext; + if (context.bundled || context.enclosingFile !== getSourceFileOfNode(lit)) { + let name = lit.text; + const nodeSymbol = getNodeLinks(parent2).resolvedSymbol; + const meaning = parent2.isTypeOf ? 111551 /* Value */ : 788968 /* Type */; + const parentSymbol = nodeSymbol && isSymbolAccessible( + nodeSymbol, + context.enclosingDeclaration, + meaning, + /*shouldComputeAliasesToMakeVisible*/ + false + ).accessibility === 0 /* Accessible */ && lookupSymbolChain( + nodeSymbol, + context, + meaning, + /*yieldModuleSymbol*/ + true + )[0]; + if (parentSymbol && isExternalModuleSymbol(parentSymbol)) { + name = getSpecifierForModuleSymbol(parentSymbol, context); + } else { + const targetFile = getExternalModuleFileFromDeclaration(parent2); + if (targetFile) { + name = getSpecifierForModuleSymbol(targetFile.symbol, context); + } + } + if (name.includes("/node_modules/")) { + context.encounteredError = true; + if (context.tracker.reportLikelyUnsafeImportRequiredError) { + context.tracker.reportLikelyUnsafeImportRequiredError(name); + } + } + return name; + } + }, + canReuseTypeNode(context, typeNode) { + return canReuseTypeNode(context, typeNode); + }, + canReuseTypeNodeAnnotation(syntacticContext, node, existing, symbol, requiresAddingUndefined) { + var _a; + const context = syntacticContext; + if (context.enclosingDeclaration === void 0) return false; + symbol ?? (symbol = getSymbolOfDeclaration(node)); + let type = (_a = context.enclosingSymbolTypes) == null ? void 0 : _a.get(getSymbolId(symbol)); + if (type === void 0) { + if (symbol.flags & 98304 /* Accessor */) { + type = node.kind === 178 /* SetAccessor */ ? getWriteTypeOfSymbol(symbol) : getTypeOfAccessors(symbol); + } else if (isValueSignatureDeclaration(node)) { + type = getReturnTypeOfSignature(getSignatureFromDeclaration(node)); + } else { + type = getTypeOfSymbol(symbol); + } + } + let annotationType = getTypeFromTypeNodeWithoutContext(existing); + if (isErrorType(annotationType)) { + return true; + } + if (requiresAddingUndefined && annotationType) { + annotationType = getOptionalType(annotationType, !isParameter(node)); + } + return !!annotationType && typeNodeIsEquivalentToType(node, type, annotationType) && existingTypeNodeIsNotReferenceOrIsReferenceWithCompatibleTypeArgumentCount(existing, type); + } + }; return { + syntacticBuilderResolver, typeToTypeNode: (type, enclosingDeclaration, flags, internalFlags, tracker) => withContext2(enclosingDeclaration, flags, internalFlags, tracker, (context) => typeToTypeNodeHelper(type, context)), typePredicateToTypePredicateNode: (typePredicate, enclosingDeclaration, flags, internalFlags, tracker) => withContext2(enclosingDeclaration, flags, internalFlags, tracker, (context) => typePredicateToTypePredicateNodeHelper(typePredicate, context)), - expressionOrTypeToTypeNode: (expr, type, addUndefined, enclosingDeclaration, flags, internalFlags, tracker) => withContext2(enclosingDeclaration, flags, internalFlags, tracker, (context) => expressionOrTypeToTypeNode(context, expr, type, addUndefined)), - serializeTypeForDeclaration: (declaration, type, symbol, enclosingDeclaration, flags, internalFlags, tracker) => withContext2(enclosingDeclaration, flags, internalFlags, tracker, (context) => serializeTypeForDeclaration(context, declaration, type, symbol)), - serializeReturnTypeForSignature: (signature, enclosingDeclaration, flags, internalFlags, tracker) => withContext2(enclosingDeclaration, flags, internalFlags, tracker, (context) => serializeReturnTypeForSignature(context, signature)), + serializeTypeForExpression: (expr, enclosingDeclaration, flags, internalFlags, tracker) => withContext2(enclosingDeclaration, flags, internalFlags, tracker, (context) => syntacticNodeBuilder.serializeTypeOfExpression(expr, context)), + serializeTypeForDeclaration: (declaration, symbol, enclosingDeclaration, flags, internalFlags, tracker) => withContext2(enclosingDeclaration, flags, internalFlags, tracker, (context) => syntacticNodeBuilder.serializeTypeOfDeclaration(declaration, symbol, context)), + serializeReturnTypeForSignature: (signature, enclosingDeclaration, flags, internalFlags, tracker) => withContext2(enclosingDeclaration, flags, internalFlags, tracker, (context) => syntacticNodeBuilder.serializeReturnTypeForSignature(signature, getSymbolOfDeclaration(signature), context)), indexInfoToIndexSignatureDeclaration: (indexInfo, enclosingDeclaration, flags, internalFlags, tracker) => withContext2(enclosingDeclaration, flags, internalFlags, tracker, (context) => indexInfoToIndexSignatureDeclarationHelper( indexInfo, context, @@ -54263,65 +54981,6 @@ function createTypeChecker(host) { } return range; } - function expressionOrTypeToTypeNode(context, expr, type, addUndefined) { - const restoreFlags = saveRestoreFlags(context); - if (expr && !(context.internalFlags & 2 /* NoSyntacticPrinter */)) { - syntacticNodeBuilder.serializeTypeOfExpression(expr, context, addUndefined); - } - context.internalFlags |= 2 /* NoSyntacticPrinter */; - const result = expressionOrTypeToTypeNodeHelper(context, expr, type, addUndefined); - restoreFlags(); - return result; - } - function expressionOrTypeToTypeNodeHelper(context, expr, type, addUndefined) { - if (expr) { - const typeNode = isAssertionExpression(expr) ? expr.type : isJSDocTypeAssertion(expr) ? getJSDocTypeAssertionType(expr) : void 0; - if (typeNode && !isConstTypeReference(typeNode)) { - const result = tryReuseExistingTypeNode(context, typeNode, type, expr.parent, addUndefined); - if (result) { - return result; - } - } - } - if (addUndefined) { - type = getOptionalType(type); - } - return typeToTypeNodeHelper(type, context); - } - function tryReuseExistingTypeNode(context, typeNode, type, host2, addUndefined) { - const originalType = type; - if (addUndefined) { - type = getOptionalType(type, !isParameter(host2)); - } - const clone2 = tryReuseExistingNonParameterTypeNode(context, typeNode, type, host2); - if (clone2) { - if (addUndefined && containsNonMissingUndefinedType(type) && !someType(getTypeFromTypeNode2(context, typeNode), (t) => !!(t.flags & 32768 /* Undefined */))) { - return factory.createUnionTypeNode([clone2, factory.createKeywordTypeNode(157 /* UndefinedKeyword */)]); - } - return clone2; - } - if (addUndefined && originalType !== type) { - const cloneMissingUndefined = tryReuseExistingNonParameterTypeNode(context, typeNode, originalType, host2); - if (cloneMissingUndefined) { - return factory.createUnionTypeNode([cloneMissingUndefined, factory.createKeywordTypeNode(157 /* UndefinedKeyword */)]); - } - } - return void 0; - } - function tryReuseExistingNonParameterTypeNode(context, existing, type, host2 = context.enclosingDeclaration, annotationType = getTypeFromTypeNode2( - context, - existing, - /*noMappedTypes*/ - true - )) { - if (annotationType && typeNodeIsEquivalentToType(host2, type, annotationType) && existingTypeNodeIsNotReferenceOrIsReferenceWithCompatibleTypeArgumentCount(existing, type)) { - const result = tryReuseExistingTypeNodeHelper(context, existing); - if (result) { - return result; - } - } - return void 0; - } function symbolToNode(symbol, context, meaning) { if (context.internalFlags & 1 /* WriteComputedProps */) { if (symbol.valueDeclaration) { @@ -54345,6 +55004,7 @@ function createTypeChecker(host) { internalFlags: internalFlags || 0 /* None */, tracker: void 0, encounteredError: false, + suppressReportInferenceFallback: false, reportedDiagnostic: false, visitedTypes: void 0, symbolDepth: void 0, @@ -54363,6 +55023,7 @@ function createTypeChecker(host) { typeParameterNames: void 0, typeParameterNamesByText: void 0, typeParameterNamesByTextNextNameCount: void 0, + enclosingSymbolTypes: /* @__PURE__ */ new Map(), mapper: void 0 }; context.tracker = new SymbolTrackerImpl(context, tracker, moduleResolverHost); @@ -54372,6 +55033,19 @@ function createTypeChecker(host) { } return context.encounteredError ? void 0 : resultingNode; } + function addSymbolTypeToContext(context, symbol, type) { + const id = getSymbolId(symbol); + const oldType = context.enclosingSymbolTypes.get(id); + context.enclosingSymbolTypes.set(id, type); + return restore; + function restore() { + if (oldType) { + context.enclosingSymbolTypes.set(id, oldType); + } else { + context.enclosingSymbolTypes.delete(id); + } + } + } function saveRestoreFlags(context) { const flags = context.flags; const internalFlags = context.internalFlags; @@ -54783,8 +55457,8 @@ function createTypeChecker(host) { if (isInstantiationExpressionType) { const instantiationExpressionType = type2; const existing = instantiationExpressionType.node; - if (isTypeQueryNode(existing)) { - const typeNode = tryReuseExistingNonParameterTypeNode(context, existing, type2); + if (isTypeQueryNode(existing) && getTypeFromTypeNode2(context, existing) === type2) { + const typeNode = syntacticNodeBuilder.tryReuseExistingTypeNode(context, existing); if (typeNode) { return typeNode; } @@ -55126,6 +55800,9 @@ function createTypeChecker(host) { } function createTypeNodesFromResolvedType(resolvedType) { if (checkTruncationLength(context)) { + if (context.flags & 1 /* NoTruncation */) { + return [addSyntheticTrailingComment(factory.createNotEmittedTypeElement(), 3 /* MultiLineCommentTrivia */, "elided")]; + } return [factory.createPropertySignature( /*modifiers*/ void 0, @@ -55163,15 +55840,20 @@ function createTypeChecker(host) { } } if (checkTruncationLength(context) && i + 2 < properties.length - 1) { - typeElements.push(factory.createPropertySignature( - /*modifiers*/ - void 0, - `... ${properties.length - i} more ...`, - /*questionToken*/ - void 0, - /*type*/ - void 0 - )); + if (context.flags & 1 /* NoTruncation */) { + const typeElement = typeElements.pop(); + typeElements.push(addSyntheticTrailingComment(typeElement, 3 /* MultiLineCommentTrivia */, `... ${properties.length - i} more elided ...`)); + } else { + typeElements.push(factory.createPropertySignature( + /*modifiers*/ + void 0, + `... ${properties.length - i} more ...`, + /*questionToken*/ + void 0, + /*type*/ + void 0 + )); + } addPropertyToElementList(properties[properties.length - 1], context, typeElements); break; } @@ -55189,7 +55871,7 @@ function createTypeChecker(host) { void 0 ); } - return factory.createKeywordTypeNode(133 /* AnyKeyword */); + return addSyntheticLeadingComment(factory.createKeywordTypeNode(133 /* AnyKeyword */), 3 /* MultiLineCommentTrivia */, "elided"); } function shouldUsePlaceholderForProperty(propertySymbol, context) { var _a; @@ -55265,7 +55947,7 @@ function createTypeChecker(host) { const signatures = getSignaturesOfType(filterType(propertyType, (t) => !(t.flags & 32768 /* Undefined */)), 0 /* Call */); for (const signature of signatures) { const methodDeclaration = signatureToSignatureDeclarationHelper(signature, 173 /* MethodSignature */, context, { name: propertyName, questionToken: optionalToken }); - typeElements.push(preserveCommentsOn(methodDeclaration)); + typeElements.push(preserveCommentsOn(methodDeclaration, signature.declaration || propertySymbol.valueDeclaration)); } if (signatures.length || !optionalToken) { return; @@ -55300,8 +55982,8 @@ function createTypeChecker(host) { optionalToken, propertyTypeNode ); - typeElements.push(preserveCommentsOn(propertySignature)); - function preserveCommentsOn(node) { + typeElements.push(preserveCommentsOn(propertySignature, propertySymbol.valueDeclaration)); + function preserveCommentsOn(node, range) { var _a2; const jsdocPropertyTag = (_a2 = propertySymbol.declarations) == null ? void 0 : _a2.find((d) => d.kind === 348 /* JSDocPropertyTag */); if (jsdocPropertyTag) { @@ -55309,8 +55991,8 @@ function createTypeChecker(host) { if (commentText) { setSyntheticLeadingComments(node, [{ kind: 3 /* MultiLineCommentTrivia */, text: "*\n * " + commentText.replace(/\n/g, "\n * ") + "\n ", pos: -1, end: -1, hasTrailingNewLine: true }]); } - } else if (propertySymbol.valueDeclaration) { - setCommentRange2(context, node, propertySymbol.valueDeclaration); + } else if (range) { + setCommentRange2(context, node, range); } return node; } @@ -55325,15 +56007,17 @@ function createTypeChecker(host) { if (some(types)) { if (checkTruncationLength(context)) { if (!isBareList) { - return [factory.createTypeReferenceNode( - "...", - /*typeArguments*/ - void 0 - )]; + return [ + context.flags & 1 /* NoTruncation */ ? addSyntheticLeadingComment(factory.createKeywordTypeNode(133 /* AnyKeyword */), 3 /* MultiLineCommentTrivia */, "elided") : factory.createTypeReferenceNode( + "...", + /*typeArguments*/ + void 0 + ) + ]; } else if (types.length > 2) { return [ typeToTypeNodeHelper(types[0], context), - factory.createTypeReferenceNode( + context.flags & 1 /* NoTruncation */ ? addSyntheticLeadingComment(factory.createKeywordTypeNode(133 /* AnyKeyword */), 3 /* MultiLineCommentTrivia */, `... ${types.length - 2} more elided ...`) : factory.createTypeReferenceNode( `... ${types.length - 2} more ...`, /*typeArguments*/ void 0 @@ -55349,11 +56033,13 @@ function createTypeChecker(host) { for (const type of types) { i++; if (checkTruncationLength(context) && i + 2 < types.length - 1) { - result.push(factory.createTypeReferenceNode( - `... ${types.length - i} more ...`, - /*typeArguments*/ - void 0 - )); + result.push( + context.flags & 1 /* NoTruncation */ ? addSyntheticLeadingComment(factory.createKeywordTypeNode(133 /* AnyKeyword */), 3 /* MultiLineCommentTrivia */, `... ${types.length - i} more elided ...`) : factory.createTypeReferenceNode( + `... ${types.length - i} more ...`, + /*typeArguments*/ + void 0 + ) + ); const typeNode2 = typeToTypeNodeHelper(types[types.length - 1], context); if (typeNode2) { result.push(typeNode2); @@ -55523,14 +56209,85 @@ function createTypeChecker(host) { cleanup == null ? void 0 : cleanup(); return node; } - function isNewScopeNode(node) { - return isFunctionLike(node) || isJSDocSignature(node) || isMappedTypeNode(node); - } - function getTypeParametersInScope(node) { - return isFunctionLike(node) || isJSDocSignature(node) ? getSignatureFromDeclaration(node).typeParameters : isConditionalTypeNode(node) ? getInferTypeParameters(node) : [getDeclaredTypeOfTypeParameter(getSymbolOfDeclaration(node.typeParameter))]; - } - function getParametersInScope(node) { - return isFunctionLike(node) || isJSDocSignature(node) ? getSignatureFromDeclaration(node).parameters : void 0; + function createRecoveryBoundary(context) { + if (cancellationToken && cancellationToken.throwIfCancellationRequested) { + cancellationToken.throwIfCancellationRequested(); + } + let trackedSymbols; + let unreportedErrors; + let hadError = false; + const oldTracker = context.tracker; + const oldTrackedSymbols = context.trackedSymbols; + context.trackedSymbols = void 0; + const oldEncounteredError = context.encounteredError; + context.tracker = new SymbolTrackerImpl(context, { + ...oldTracker.inner, + reportCyclicStructureError() { + markError(() => oldTracker.reportCyclicStructureError()); + }, + reportInaccessibleThisError() { + markError(() => oldTracker.reportInaccessibleThisError()); + }, + reportInaccessibleUniqueSymbolError() { + markError(() => oldTracker.reportInaccessibleUniqueSymbolError()); + }, + reportLikelyUnsafeImportRequiredError(specifier) { + markError(() => oldTracker.reportLikelyUnsafeImportRequiredError(specifier)); + }, + reportNonSerializableProperty(name) { + markError(() => oldTracker.reportNonSerializableProperty(name)); + }, + reportPrivateInBaseOfClassExpression(propertyName) { + markError(() => oldTracker.reportPrivateInBaseOfClassExpression(propertyName)); + }, + trackSymbol(sym, decl, meaning) { + (trackedSymbols ?? (trackedSymbols = [])).push([sym, decl, meaning]); + return false; + }, + moduleResolverHost: context.tracker.moduleResolverHost + }, context.tracker.moduleResolverHost); + return { + startRecoveryScope, + finalizeBoundary, + markError, + hadError: () => hadError + }; + function markError(unreportedError) { + hadError = true; + if (unreportedError) { + (unreportedErrors ?? (unreportedErrors = [])).push(unreportedError); + } + } + function startRecoveryScope() { + const trackedSymbolsTop = (trackedSymbols == null ? void 0 : trackedSymbols.length) ?? 0; + const unreportedErrorsTop = (unreportedErrors == null ? void 0 : unreportedErrors.length) ?? 0; + return () => { + hadError = false; + if (trackedSymbols) { + trackedSymbols.length = trackedSymbolsTop; + } + if (unreportedErrors) { + unreportedErrors.length = unreportedErrorsTop; + } + }; + } + function finalizeBoundary() { + context.tracker = oldTracker; + context.trackedSymbols = oldTrackedSymbols; + context.encounteredError = oldEncounteredError; + unreportedErrors == null ? void 0 : unreportedErrors.forEach((fn) => fn()); + if (hadError) { + return false; + } + trackedSymbols == null ? void 0 : trackedSymbols.forEach( + ([symbol, enclosingDeclaration, meaning]) => context.tracker.trackSymbol( + symbol, + enclosingDeclaration, + meaning + ) + ); + return true; + } } function enterNewScope(context, declaration, expandedParams, typeParameters, originalParameters, mapper) { const cleanupContext = cloneNodeBuilderContext(context); @@ -55673,7 +56430,7 @@ function createTypeChecker(host) { return factory.createTypeParameterDeclaration(modifiers, name, constraintNode, defaultParameterNode); } function typeToTypeNodeHelperWithPossibleReusableTypeNode(type, typeNode, context) { - return typeNode && tryReuseExistingNonParameterTypeNode(context, typeNode, type) || typeToTypeNodeHelper(type, context); + return typeNode && getTypeFromTypeNode2(context, typeNode) === type && syntacticNodeBuilder.tryReuseExistingTypeNode(context, typeNode) || typeToTypeNodeHelper(type, context); } function typeParameterToDeclaration(type, context, constraint = getConstraintOfTypeParameter(type)) { const constraintNode = constraint && typeToTypeNodeHelperWithPossibleReusableTypeNode(constraint, getConstraintDeclaration(type), context); @@ -56295,41 +57052,46 @@ function createTypeChecker(host) { } return enclosingDeclaration; } + function serializeInferredTypeForDeclaration(symbol, context, type) { + if (type.flags & 8192 /* UniqueESSymbol */ && type.symbol === symbol && (!context.enclosingDeclaration || some(symbol.declarations, (d) => getSourceFileOfNode(d) === context.enclosingFile))) { + context.flags |= 1048576 /* AllowUniqueESSymbolType */; + } + const result = typeToTypeNodeHelper(type, context); + return result; + } function serializeTypeForDeclaration(context, declaration, type, symbol) { - var _a, _b; + var _a; + let result; const addUndefinedForParameter = declaration && (isParameter(declaration) || isJSDocParameterTag(declaration)) && requiresAddingImplicitUndefined(declaration, context.enclosingDeclaration); - const enclosingDeclaration = context.enclosingDeclaration; - const restoreFlags = saveRestoreFlags(context); - if (declaration && hasInferredType(declaration) && !(context.internalFlags & 2 /* NoSyntacticPrinter */)) { - syntacticNodeBuilder.serializeTypeOfDeclaration(declaration, context); - } - context.internalFlags |= 2 /* NoSyntacticPrinter */; - if (enclosingDeclaration && (!isErrorType(type) || context.internalFlags & 8 /* AllowUnresolvedNames */)) { - const declWithExistingAnnotation = declaration && getNonlocalEffectiveTypeAnnotationNode(declaration) ? declaration : getDeclarationWithTypeAnnotation(symbol); - if (declWithExistingAnnotation && !isFunctionLikeDeclaration(declWithExistingAnnotation) && !isGetAccessorDeclaration(declWithExistingAnnotation)) { - const existing = getNonlocalEffectiveTypeAnnotationNode(declWithExistingAnnotation); - const addUndefined = addUndefinedForParameter || !!(symbol.flags & 4 /* Property */ && symbol.flags & 16777216 /* Optional */ && isOptionalDeclaration(declWithExistingAnnotation) && ((_a = symbol.links) == null ? void 0 : _a.mappedType) && containsNonMissingUndefinedType(type)); - const result2 = !isTypePredicateNode(existing) && tryReuseExistingTypeNode(context, existing, type, declWithExistingAnnotation, addUndefined); - if (result2) { - restoreFlags(); - return result2; - } + const decl = declaration ?? symbol.valueDeclaration ?? getDeclarationWithTypeAnnotation(symbol) ?? ((_a = symbol.declarations) == null ? void 0 : _a[0]); + if (decl) { + if (isAccessor(decl)) { + result = syntacticNodeBuilder.serializeTypeOfAccessor(decl, symbol, context); + } else if (hasInferredType(decl) && !nodeIsSynthesized(decl) && !(getObjectFlags(type) & 196608 /* RequiresWidening */)) { + const restore = addSymbolTypeToContext(context, symbol, type); + result = syntacticNodeBuilder.serializeTypeOfDeclaration(decl, symbol, context); + restore(); } } - if (type.flags & 8192 /* UniqueESSymbol */ && type.symbol === symbol && (!context.enclosingDeclaration || some(symbol.declarations, (d) => getSourceFileOfNode(d) === getSourceFileOfNode(context.enclosingDeclaration)))) { - context.flags |= 1048576 /* AllowUniqueESSymbolType */; + if (!result) { + if (addUndefinedForParameter) { + type = getOptionalType(type); + } + result = serializeInferredTypeForDeclaration(symbol, context, type); } - const decl = declaration ?? symbol.valueDeclaration ?? ((_b = symbol.declarations) == null ? void 0 : _b[0]); - const expr = decl && isDeclarationWithPossibleInnerTypeNodeReuse(decl) ? getPossibleTypeNodeReuseExpression(decl) : void 0; - const result = expressionOrTypeToTypeNode(context, expr, type, addUndefinedForParameter); - restoreFlags(); - return result; + return result ?? factory.createKeywordTypeNode(133 /* AnyKeyword */); } function typeNodeIsEquivalentToType(annotatedDeclaration, type, typeFromTypeNode) { if (typeFromTypeNode === type) { return true; } - if (annotatedDeclaration && (isParameter(annotatedDeclaration) || isPropertySignature(annotatedDeclaration) || isPropertyDeclaration(annotatedDeclaration)) && annotatedDeclaration.questionToken) { + if (!annotatedDeclaration) { + return false; + } + if ((isPropertySignature(annotatedDeclaration) || isPropertyDeclaration(annotatedDeclaration)) && annotatedDeclaration.questionToken) { + return getTypeWithFacts(type, 524288 /* NEUndefined */) === typeFromTypeNode; + } + if (isParameter(annotatedDeclaration) && hasEffectiveQuestionToken(annotatedDeclaration)) { return getTypeWithFacts(type, 524288 /* NEUndefined */) === typeFromTypeNode; } return false; @@ -56340,37 +57102,32 @@ function createTypeChecker(host) { if (suppressAny) context.flags &= ~256 /* SuppressAnyReturnType */; let returnTypeNode; const returnType = getReturnTypeOfSignature(signature); - if (returnType && !(suppressAny && isTypeAny(returnType))) { - if (signature.declaration && !(context.internalFlags & 2 /* NoSyntacticPrinter */)) { - syntacticNodeBuilder.serializeReturnTypeForSignature(signature.declaration, context); + if (!(suppressAny && isTypeAny(returnType))) { + if (signature.declaration && !nodeIsSynthesized(signature.declaration)) { + const declarationSymbol = getSymbolOfDeclaration(signature.declaration); + const restore = addSymbolTypeToContext(context, declarationSymbol, returnType); + returnTypeNode = syntacticNodeBuilder.serializeReturnTypeForSignature(signature.declaration, declarationSymbol, context); + restore(); + } + if (!returnTypeNode) { + returnTypeNode = serializeInferredReturnTypeForSignature(context, signature, returnType); } - context.internalFlags |= 2 /* NoSyntacticPrinter */; - returnTypeNode = serializeReturnTypeForSignatureWorker(context, signature); - } else if (!suppressAny) { + } + if (!returnTypeNode && !suppressAny) { returnTypeNode = factory.createKeywordTypeNode(133 /* AnyKeyword */); } restoreFlags(); return returnTypeNode; } - function serializeReturnTypeForSignatureWorker(context, signature) { + function serializeInferredReturnTypeForSignature(context, signature, returnType) { + const oldSuppressReportInferenceFallback = context.suppressReportInferenceFallback; + context.suppressReportInferenceFallback = true; const typePredicate = getTypePredicateOfSignature(signature); - const type = getReturnTypeOfSignature(signature); - if (context.enclosingDeclaration && (!isErrorType(type) || context.internalFlags & 8 /* AllowUnresolvedNames */) && signature.declaration && !nodeIsSynthesized(signature.declaration)) { - const annotation = getNonlocalEffectiveReturnTypeAnnotationNode(signature.declaration); - if (annotation) { - const result = tryReuseExistingTypeNode(context, annotation, type, context.enclosingDeclaration); - if (result) { - return result; - } - } - } - if (typePredicate) { - return typePredicateToTypePredicateNodeHelper(typePredicate, context); - } - const expr = signature.declaration && getPossibleTypeNodeReuseExpression(signature.declaration); - return expressionOrTypeToTypeNode(context, expr, type); + const returnTypeNode = typePredicate ? typePredicateToTypePredicateNodeHelper(context.mapper ? instantiateTypePredicate(typePredicate, context.mapper) : typePredicate, context) : typeToTypeNodeHelper(returnType, context); + context.suppressReportInferenceFallback = oldSuppressReportInferenceFallback; + return returnTypeNode; } - function trackExistingEntityName(node, context) { + function trackExistingEntityName(node, context, enclosingDeclaration = context.enclosingDeclaration) { let introducesError = false; const leftmost = getFirstIdentifier(node); if (isInJSFile(node) && (isExportsIdentifier(leftmost) || isModuleExportsAccessExpression(leftmost.parent) || isQualifiedName(leftmost.parent) && isModuleIdentifier(leftmost.parent.left) && isExportsIdentifier(leftmost.parent.right))) { @@ -56421,7 +57178,7 @@ function createTypeChecker(host) { if ( // Check for unusable parameters symbols symAtLocation === unknownSymbol || // If the symbol is not found, but was not found in the original scope either we probably have an error, don't reuse the node - symAtLocation === void 0 && sym !== void 0 || // If the symbol is found both in declaration scope and in current scope then it shoudl point to the same reference + symAtLocation === void 0 && sym !== void 0 || // If the symbol is found both in declaration scope and in current scope then it should point to the same reference symAtLocation && sym && !getSymbolIfSameReference(getExportSymbolOfValueSymbolIfExported(symAtLocation), sym) ) { if (symAtLocation !== unknownSymbol) { @@ -56442,7 +57199,7 @@ function createTypeChecker(host) { if (!(sym.flags & 262144 /* TypeParameter */) && // Type parameters are visible in the current context if they are are resolvable !isDeclarationName(node) && isSymbolAccessible( sym, - context.enclosingDeclaration, + enclosingDeclaration, meaning, /*shouldComputeAliasesToMakeVisible*/ false @@ -56450,7 +57207,7 @@ function createTypeChecker(host) { context.tracker.reportInferenceFallback(node); introducesError = true; } else { - context.tracker.trackSymbol(sym, context.enclosingDeclaration, meaning); + context.tracker.trackSymbol(sym, enclosingDeclaration, meaning); } return { introducesError, node: attachSymbolToLeftmostIdentifier(node) }; } @@ -56494,6 +57251,15 @@ function createTypeChecker(host) { return symbolToTypeNode(resolvedSymbol, context, meaning, typeArguments); } function canReuseTypeNode(context, existing) { + const type = getTypeFromTypeNode2( + context, + existing, + /*noMappedTypes*/ + true + ); + if (!type) { + return false; + } if (isInJSFile(existing)) { if (isLiteralImportTypeNode(existing)) { void getTypeFromImportTypeNode(existing); @@ -56503,29 +57269,16 @@ function createTypeChecker(host) { !(length(existing.typeArguments) >= getMinTypeArgumentCount(getLocalTypeParametersOfClassOrInterfaceOrTypeAlias(nodeSymbol)))); } } - if (isThisTypeNode(existing)) { - if (context.mapper === void 0) return true; - const type = getTypeFromTypeNode2( - context, - existing, - /*noMappedTypes*/ - true - ); - return !!type; - } if (isTypeReferenceNode(existing)) { if (isConstTypeReference(existing)) return false; - const type = getTypeFromTypeReference(existing); const symbol = getNodeLinks(existing).resolvedSymbol; if (!symbol) return false; if (symbol.flags & 262144 /* TypeParameter */) { - const type2 = getDeclaredTypeOfSymbol(symbol); - if (context.mapper && getMappedType(type2, context.mapper) !== type2) { - return false; - } + const declaredType = getDeclaredTypeOfSymbol(symbol); + return !(context.mapper && getMappedType(declaredType, context.mapper) !== declaredType); } if (isInJSDoc(existing)) { - return existingTypeNodeIsNotReferenceOrIsReferenceWithCompatibleTypeArgumentCount(existing, type) && !getIntendedTypeFromJSDocTypeReference(existing) && symbol.flags & 788968 /* Type */; + return existingTypeNodeIsNotReferenceOrIsReferenceWithCompatibleTypeArgumentCount(existing, type) && !getIntendedTypeFromJSDocTypeReference(existing) && !!(symbol.flags & 788968 /* Type */); } } if (isTypeOperatorNode(existing) && existing.operator === 158 /* UniqueKeyword */ && existing.type.kind === 155 /* SymbolKeyword */) { @@ -56534,511 +57287,15 @@ function createTypeChecker(host) { } return true; } - function serializeExistingTypeNode(context, typeNode) { + function serializeExistingTypeNode(context, typeNode, addUndefined) { const type = getTypeFromTypeNode2(context, typeNode); - return typeToTypeNodeHelper(type, context); - } - function tryReuseExistingTypeNodeHelper(context, existing) { - if (cancellationToken && cancellationToken.throwIfCancellationRequested) { - cancellationToken.throwIfCancellationRequested(); - } - let hadError = false; - const { finalizeBoundary, startRecoveryScope } = createRecoveryBoundary(); - const transformed = visitNode(existing, visitExistingNodeTreeSymbols, isTypeNode); - if (!finalizeBoundary()) { - return void 0; - } - context.approximateLength += existing.end - existing.pos; - return transformed; - function visitExistingNodeTreeSymbols(node) { - if (hadError) return node; - const recover = startRecoveryScope(); - const onExitNewScope = isNewScopeNode(node) ? onEnterNewScope(node) : void 0; - const result = visitExistingNodeTreeSymbolsWorker(node); - onExitNewScope == null ? void 0 : onExitNewScope(); - if (hadError) { - if (isTypeNode(node) && !isTypePredicateNode(node)) { - recover(); - return serializeExistingTypeNode(context, node); - } - return node; - } - return result ? setTextRange2(context, result, node) : void 0; - } - function createRecoveryBoundary() { - let trackedSymbols; - let unreportedErrors; - const oldTracker = context.tracker; - const oldTrackedSymbols = context.trackedSymbols; - context.trackedSymbols = void 0; - const oldEncounteredError = context.encounteredError; - context.tracker = new SymbolTrackerImpl(context, { - ...oldTracker.inner, - reportCyclicStructureError() { - markError(() => oldTracker.reportCyclicStructureError()); - }, - reportInaccessibleThisError() { - markError(() => oldTracker.reportInaccessibleThisError()); - }, - reportInaccessibleUniqueSymbolError() { - markError(() => oldTracker.reportInaccessibleUniqueSymbolError()); - }, - reportLikelyUnsafeImportRequiredError(specifier) { - markError(() => oldTracker.reportLikelyUnsafeImportRequiredError(specifier)); - }, - reportNonSerializableProperty(name) { - markError(() => oldTracker.reportNonSerializableProperty(name)); - }, - trackSymbol(sym, decl, meaning) { - (trackedSymbols ?? (trackedSymbols = [])).push([sym, decl, meaning]); - return false; - }, - moduleResolverHost: context.tracker.moduleResolverHost - }, context.tracker.moduleResolverHost); - return { - startRecoveryScope: startRecoveryScope2, - finalizeBoundary: finalizeBoundary2 - }; - function markError(unreportedError) { - hadError = true; - (unreportedErrors ?? (unreportedErrors = [])).push(unreportedError); - } - function startRecoveryScope2() { - const trackedSymbolsTop = (trackedSymbols == null ? void 0 : trackedSymbols.length) ?? 0; - const unreportedErrorsTop = (unreportedErrors == null ? void 0 : unreportedErrors.length) ?? 0; - return () => { - hadError = false; - if (trackedSymbols) { - trackedSymbols.length = trackedSymbolsTop; - } - if (unreportedErrors) { - unreportedErrors.length = unreportedErrorsTop; - } - }; - } - function finalizeBoundary2() { - context.tracker = oldTracker; - context.trackedSymbols = oldTrackedSymbols; - context.encounteredError = oldEncounteredError; - unreportedErrors == null ? void 0 : unreportedErrors.forEach((fn) => fn()); - if (hadError) { - return false; - } - trackedSymbols == null ? void 0 : trackedSymbols.forEach( - ([symbol, enclosingDeclaration, meaning]) => context.tracker.trackSymbol( - symbol, - enclosingDeclaration, - meaning - ) - ); - return true; - } - } - function onEnterNewScope(node) { - return enterNewScope(context, node, getParametersInScope(node), getTypeParametersInScope(node)); - } - function tryVisitSimpleTypeNode(node) { - const innerNode = skipTypeParentheses(node); - switch (innerNode.kind) { - case 183 /* TypeReference */: - return tryVisitTypeReference(innerNode); - case 186 /* TypeQuery */: - return tryVisitTypeQuery(innerNode); - case 199 /* IndexedAccessType */: - return tryVisitIndexedAccess(innerNode); - case 198 /* TypeOperator */: - const typeOperatorNode = innerNode; - if (typeOperatorNode.operator === 143 /* KeyOfKeyword */) { - return tryVisitKeyOf(typeOperatorNode); - } - } - return visitNode(node, visitExistingNodeTreeSymbols, isTypeNode); - } - function tryVisitIndexedAccess(node) { - const resultObjectType = tryVisitSimpleTypeNode(node.objectType); - if (resultObjectType === void 0) { - return void 0; - } - return factory.updateIndexedAccessTypeNode(node, resultObjectType, visitNode(node.indexType, visitExistingNodeTreeSymbols, isTypeNode)); - } - function tryVisitKeyOf(node) { - Debug.assertEqual(node.operator, 143 /* KeyOfKeyword */); - const type = tryVisitSimpleTypeNode(node.type); - if (type === void 0) { - return void 0; - } - return factory.updateTypeOperatorNode(node, type); - } - function tryVisitTypeQuery(node) { - const { introducesError, node: exprName } = trackExistingEntityName(node.exprName, context); - if (!introducesError) { - return factory.updateTypeQueryNode( - node, - exprName, - visitNodes2(node.typeArguments, visitExistingNodeTreeSymbols, isTypeNode) - ); - } - const serializedName = serializeTypeName( - context, - node.exprName, - /*isTypeOf*/ - true - ); - if (serializedName) { - return setTextRange2(context, serializedName, node.exprName); - } - } - function tryVisitTypeReference(node) { - if (canReuseTypeNode(context, node)) { - const { introducesError, node: newName } = trackExistingEntityName(node.typeName, context); - const typeArguments = visitNodes2(node.typeArguments, visitExistingNodeTreeSymbols, isTypeNode); - if (!introducesError) { - const updated = factory.updateTypeReferenceNode( - node, - newName, - typeArguments - ); - return setTextRange2(context, updated, node); - } else { - const serializedName = serializeTypeName( - context, - node.typeName, - /*isTypeOf*/ - false, - typeArguments - ); - if (serializedName) { - return setTextRange2(context, serializedName, node.typeName); - } - } - } - } - function visitExistingNodeTreeSymbolsWorker(node) { - if (isJSDocTypeExpression(node)) { - return visitNode(node.type, visitExistingNodeTreeSymbols, isTypeNode); - } - if (isJSDocAllType(node) || node.kind === 319 /* JSDocNamepathType */) { - return factory.createKeywordTypeNode(133 /* AnyKeyword */); - } - if (isJSDocUnknownType(node)) { - return factory.createKeywordTypeNode(159 /* UnknownKeyword */); - } - if (isJSDocNullableType(node)) { - return factory.createUnionTypeNode([visitNode(node.type, visitExistingNodeTreeSymbols, isTypeNode), factory.createLiteralTypeNode(factory.createNull())]); - } - if (isJSDocOptionalType(node)) { - return factory.createUnionTypeNode([visitNode(node.type, visitExistingNodeTreeSymbols, isTypeNode), factory.createKeywordTypeNode(157 /* UndefinedKeyword */)]); - } - if (isJSDocNonNullableType(node)) { - return visitNode(node.type, visitExistingNodeTreeSymbols); - } - if (isJSDocVariadicType(node)) { - return factory.createArrayTypeNode(visitNode(node.type, visitExistingNodeTreeSymbols, isTypeNode)); - } - if (isJSDocTypeLiteral(node)) { - return factory.createTypeLiteralNode(map(node.jsDocPropertyTags, (t) => { - const name = visitNode(isIdentifier(t.name) ? t.name : t.name.right, visitExistingNodeTreeSymbols, isIdentifier); - const typeViaParent = getTypeOfPropertyOfType(getTypeFromTypeNode2(context, node), name.escapedText); - const overrideTypeNode = typeViaParent && t.typeExpression && getTypeFromTypeNode2(context, t.typeExpression.type) !== typeViaParent ? typeToTypeNodeHelper(typeViaParent, context) : void 0; - return factory.createPropertySignature( - /*modifiers*/ - void 0, - name, - t.isBracketed || t.typeExpression && isJSDocOptionalType(t.typeExpression.type) ? factory.createToken(58 /* QuestionToken */) : void 0, - overrideTypeNode || t.typeExpression && visitNode(t.typeExpression.type, visitExistingNodeTreeSymbols, isTypeNode) || factory.createKeywordTypeNode(133 /* AnyKeyword */) - ); - })); - } - if (isTypeReferenceNode(node) && isIdentifier(node.typeName) && node.typeName.escapedText === "") { - return setOriginalNode(factory.createKeywordTypeNode(133 /* AnyKeyword */), node); - } - if ((isExpressionWithTypeArguments(node) || isTypeReferenceNode(node)) && isJSDocIndexSignature(node)) { - return factory.createTypeLiteralNode([factory.createIndexSignature( - /*modifiers*/ - void 0, - [factory.createParameterDeclaration( - /*modifiers*/ - void 0, - /*dotDotDotToken*/ - void 0, - "x", - /*questionToken*/ - void 0, - visitNode(node.typeArguments[0], visitExistingNodeTreeSymbols, isTypeNode) - )], - visitNode(node.typeArguments[1], visitExistingNodeTreeSymbols, isTypeNode) - )]); - } - if (isJSDocFunctionType(node)) { - if (isJSDocConstructSignature(node)) { - let newTypeNode; - return factory.createConstructorTypeNode( - /*modifiers*/ - void 0, - visitNodes2(node.typeParameters, visitExistingNodeTreeSymbols, isTypeParameterDeclaration), - mapDefined(node.parameters, (p, i) => p.name && isIdentifier(p.name) && p.name.escapedText === "new" ? (newTypeNode = p.type, void 0) : factory.createParameterDeclaration( - /*modifiers*/ - void 0, - getEffectiveDotDotDotForParameter(p), - setTextRange2(context, factory.createIdentifier(getNameForJSDocFunctionParameter(p, i)), p), - factory.cloneNode(p.questionToken), - visitNode(p.type, visitExistingNodeTreeSymbols, isTypeNode), - /*initializer*/ - void 0 - )), - visitNode(newTypeNode || node.type, visitExistingNodeTreeSymbols, isTypeNode) || factory.createKeywordTypeNode(133 /* AnyKeyword */) - ); - } else { - return factory.createFunctionTypeNode( - visitNodes2(node.typeParameters, visitExistingNodeTreeSymbols, isTypeParameterDeclaration), - map(node.parameters, (p, i) => factory.createParameterDeclaration( - /*modifiers*/ - void 0, - getEffectiveDotDotDotForParameter(p), - setTextRange2(context, factory.createIdentifier(getNameForJSDocFunctionParameter(p, i)), p), - factory.cloneNode(p.questionToken), - visitNode(p.type, visitExistingNodeTreeSymbols, isTypeNode), - /*initializer*/ - void 0 - )), - visitNode(node.type, visitExistingNodeTreeSymbols, isTypeNode) || factory.createKeywordTypeNode(133 /* AnyKeyword */) - ); - } - } - if (isThisTypeNode(node)) { - if (canReuseTypeNode(context, node)) { - return node; - } - hadError = true; - return node; - } - if (isTypeParameterDeclaration(node)) { - return factory.updateTypeParameterDeclaration( - node, - visitNodes2(node.modifiers, visitExistingNodeTreeSymbols, isModifier), - setTextRange2(context, typeParameterToName(getDeclaredTypeOfSymbol(getSymbolOfDeclaration(node)), context), node), - visitNode(node.constraint, visitExistingNodeTreeSymbols, isTypeNode), - visitNode(node.default, visitExistingNodeTreeSymbols, isTypeNode) - ); - } - if (isIndexedAccessTypeNode(node)) { - const result = tryVisitIndexedAccess(node); - if (!result) { - hadError = true; - return node; - } - return result; - } - if (isTypeReferenceNode(node)) { - const result = tryVisitTypeReference(node); - if (result) { - return result; - } - hadError = true; - return node; - } - if (isLiteralImportTypeNode(node)) { - const nodeSymbol = getNodeLinks(node).resolvedSymbol; - if (isInJSDoc(node) && nodeSymbol && // The import type resolved using jsdoc fallback logic - (!node.isTypeOf && !(nodeSymbol.flags & 788968 /* Type */) || // The import type had type arguments autofilled by js fallback logic - !(length(node.typeArguments) >= getMinTypeArgumentCount(getLocalTypeParametersOfClassOrInterfaceOrTypeAlias(nodeSymbol))))) { - return setTextRange2(context, typeToTypeNodeHelper(getTypeFromTypeNode2(context, node), context), node); - } - return factory.updateImportTypeNode( - node, - factory.updateLiteralTypeNode(node.argument, rewriteModuleSpecifier(node, node.argument.literal)), - visitNode(node.attributes, visitExistingNodeTreeSymbols, isImportAttributes), - visitNode(node.qualifier, visitExistingNodeTreeSymbols, isEntityName), - visitNodes2(node.typeArguments, visitExistingNodeTreeSymbols, isTypeNode), - node.isTypeOf - ); - } - if (isNamedDeclaration(node) && node.name.kind === 167 /* ComputedPropertyName */ && !isLateBindableName(node.name)) { - if (!hasDynamicName(node)) { - return visitEachChild2(node, visitExistingNodeTreeSymbols); - } - if (!(context.internalFlags & 8 /* AllowUnresolvedNames */ && isEntityNameExpression(node.name.expression) && checkComputedPropertyName(node.name).flags & 1 /* Any */)) { - return void 0; - } - } - if (isFunctionLike(node) && !node.type || isPropertyDeclaration(node) && !node.type && !node.initializer || isPropertySignature(node) && !node.type && !node.initializer || isParameter(node) && !node.type && !node.initializer) { - let visited = visitEachChild2(node, visitExistingNodeTreeSymbols); - if (visited === node) { - visited = setTextRange2(context, factory.cloneNode(node), node); - } - visited.type = factory.createKeywordTypeNode(133 /* AnyKeyword */); - if (isParameter(node)) { - visited.modifiers = void 0; - } - return visited; - } - if (isTypeQueryNode(node)) { - const result = tryVisitTypeQuery(node); - if (!result) { - hadError = true; - return node; - } - return result; - } - if (isComputedPropertyName(node) && isEntityNameExpression(node.expression)) { - const { node: result, introducesError } = trackExistingEntityName(node.expression, context); - if (!introducesError) { - return factory.updateComputedPropertyName(node, result); - } else { - const type = getWidenedType(getRegularTypeOfExpression(node.expression)); - const computedPropertyNameType = typeToTypeNodeHelper(type, context); - let literal; - if (isLiteralTypeNode(computedPropertyNameType)) { - literal = computedPropertyNameType.literal; - } else { - const evaluated = evaluateEntityNameExpression(node.expression); - const literalNode = typeof evaluated.value === "string" ? factory.createStringLiteral( - evaluated.value, - /*isSingleQuote*/ - void 0 - ) : typeof evaluated.value === "number" ? factory.createNumericLiteral( - evaluated.value, - /*numericLiteralFlags*/ - 0 - ) : void 0; - if (!literalNode) { - if (isImportTypeNode(computedPropertyNameType)) { - trackComputedName(node.expression, context.enclosingDeclaration, context); - } - return node; - } - literal = literalNode; - } - if (literal.kind === 11 /* StringLiteral */ && isIdentifierText(literal.text, getEmitScriptTarget(compilerOptions))) { - return factory.createIdentifier(literal.text); - } - if (literal.kind === 9 /* NumericLiteral */ && !literal.text.startsWith("-")) { - return literal; - } - return factory.updateComputedPropertyName(node, literal); - } - } - if (isTypePredicateNode(node)) { - let parameterName; - if (isIdentifier(node.parameterName)) { - const { node: result, introducesError } = trackExistingEntityName(node.parameterName, context); - hadError = hadError || introducesError; - parameterName = result; - } else { - parameterName = factory.cloneNode(node.parameterName); - } - return factory.updateTypePredicateNode(node, factory.cloneNode(node.assertsModifier), parameterName, visitNode(node.type, visitExistingNodeTreeSymbols, isTypeNode)); - } - if (isTupleTypeNode(node) || isTypeLiteralNode(node) || isMappedTypeNode(node)) { - const visited = visitEachChild2(node, visitExistingNodeTreeSymbols); - const clone2 = setTextRange2(context, visited === node ? factory.cloneNode(node) : visited, node); - const flags = getEmitFlags(clone2); - setEmitFlags(clone2, flags | (context.flags & 1024 /* MultilineObjectLiterals */ && isTypeLiteralNode(node) ? 0 : 1 /* SingleLine */)); - return clone2; - } - if (isStringLiteral(node) && !!(context.flags & 268435456 /* UseSingleQuotesForStringLiteralType */) && !node.singleQuote) { - const clone2 = factory.cloneNode(node); - clone2.singleQuote = true; - return clone2; - } - if (isConditionalTypeNode(node)) { - const checkType = visitNode(node.checkType, visitExistingNodeTreeSymbols, isTypeNode); - const disposeScope = onEnterNewScope(node); - const extendType = visitNode(node.extendsType, visitExistingNodeTreeSymbols, isTypeNode); - const trueType2 = visitNode(node.trueType, visitExistingNodeTreeSymbols, isTypeNode); - disposeScope(); - const falseType2 = visitNode(node.falseType, visitExistingNodeTreeSymbols, isTypeNode); - return factory.updateConditionalTypeNode( - node, - checkType, - extendType, - trueType2, - falseType2 - ); - } - if (isTypeOperatorNode(node)) { - if (node.operator === 158 /* UniqueKeyword */ && node.type.kind === 155 /* SymbolKeyword */) { - if (!canReuseTypeNode(context, node)) { - hadError = true; - return node; - } - } else if (node.operator === 143 /* KeyOfKeyword */) { - const result = tryVisitKeyOf(node); - if (!result) { - hadError = true; - return node; - } - return result; - } - } - return visitEachChild2(node, visitExistingNodeTreeSymbols); - function visitEachChild2(node2, visitor) { - const nonlocalNode = !context.enclosingFile || context.enclosingFile !== getSourceFileOfNode(node2); - return visitEachChild( - node2, - visitor, - /*context*/ - void 0, - nonlocalNode ? visitNodesWithoutCopyingPositions : void 0 - ); - } - function visitNodesWithoutCopyingPositions(nodes, visitor, test, start, count) { - let result = visitNodes2(nodes, visitor, test, start, count); - if (result) { - if (result.pos !== -1 || result.end !== -1) { - if (result === nodes) { - result = factory.createNodeArray(nodes.slice(), nodes.hasTrailingComma); - } - setTextRangePosEnd(result, -1, -1); - } - } - return result; - } - function getEffectiveDotDotDotForParameter(p) { - return p.dotDotDotToken || (p.type && isJSDocVariadicType(p.type) ? factory.createToken(26 /* DotDotDotToken */) : void 0); - } - function getNameForJSDocFunctionParameter(p, index) { - return p.name && isIdentifier(p.name) && p.name.escapedText === "this" ? "this" : getEffectiveDotDotDotForParameter(p) ? `args` : `arg${index}`; - } - function rewriteModuleSpecifier(parent2, lit) { - if (context.bundled || context.enclosingFile !== getSourceFileOfNode(lit)) { - let name = lit.text; - const nodeSymbol = getNodeLinks(node).resolvedSymbol; - const meaning = parent2.isTypeOf ? 111551 /* Value */ : 788968 /* Type */; - const parentSymbol = nodeSymbol && isSymbolAccessible( - nodeSymbol, - context.enclosingDeclaration, - meaning, - /*shouldComputeAliasesToMakeVisible*/ - false - ).accessibility === 0 /* Accessible */ && lookupSymbolChain( - nodeSymbol, - context, - meaning, - /*yieldModuleSymbol*/ - true - )[0]; - if (parentSymbol && isExternalModuleSymbol(parentSymbol)) { - name = getSpecifierForModuleSymbol(parentSymbol, context); - } else { - const targetFile = getExternalModuleFileFromDeclaration(parent2); - if (targetFile) { - name = getSpecifierForModuleSymbol(targetFile.symbol, context); - } - } - if (name.includes("/node_modules/")) { - context.encounteredError = true; - if (context.tracker.reportLikelyUnsafeImportRequiredError) { - context.tracker.reportLikelyUnsafeImportRequiredError(name); - } - } - if (name !== lit.text) { - return setOriginalNode(factory.createStringLiteral(name), lit); - } - } - return visitNode(lit, visitExistingNodeTreeSymbols, isStringLiteral); + if (addUndefined && !someType(type, (t) => !!(t.flags & 32768 /* Undefined */)) && canReuseTypeNode(context, typeNode)) { + const clone2 = syntacticNodeBuilder.tryReuseExistingTypeNode(context, typeNode); + if (clone2) { + return factory.createUnionTypeNode([clone2, factory.createKeywordTypeNode(157 /* UndefinedKeyword */)]); } } + return typeToTypeNodeHelper(type, context); } function symbolTableToDeclarationStatements(symbolTable, context) { var _a; @@ -57290,7 +57547,9 @@ function createTypeChecker(host) { const skipMembershipCheck = !isPrivate; if (skipMembershipCheck || !!length(symbol.declarations) && some(symbol.declarations, (d) => !!findAncestor(d, (n) => n === enclosingDeclaration))) { const scopeCleanup = cloneNodeBuilderContext(context); + context.tracker.pushErrorFallbackNode(find(symbol.declarations, (d) => getSourceFileOfNode(d) === context.enclosingFile)); serializeSymbolWorker(symbol, isPrivate, propertyAsAlias); + context.tracker.popErrorFallbackNode(); scopeCleanup(); } } @@ -57513,13 +57772,7 @@ function createTypeChecker(host) { context.flags |= 8388608 /* InTypeAlias */; const oldEnclosingDecl = context.enclosingDeclaration; context.enclosingDeclaration = jsdocAliasDecl; - const typeNode = jsdocAliasDecl && jsdocAliasDecl.typeExpression && isJSDocTypeExpression(jsdocAliasDecl.typeExpression) && tryReuseExistingNonParameterTypeNode( - context, - jsdocAliasDecl.typeExpression.type, - aliasType, - /*host*/ - void 0 - ) || typeToTypeNodeHelper(aliasType, context); + const typeNode = jsdocAliasDecl && jsdocAliasDecl.typeExpression && isJSDocTypeExpression(jsdocAliasDecl.typeExpression) && syntacticNodeBuilder.tryReuseExistingTypeNode(context, jsdocAliasDecl.typeExpression.type) || typeToTypeNodeHelper(aliasType, context); addResult( setSyntheticLeadingComments( factory.createTypeAliasDeclaration( @@ -57752,7 +58005,7 @@ function createTypeChecker(host) { } return cleanup(factory.createExpressionWithTypeArguments( expr, - map(e.typeArguments, (a) => tryReuseExistingNonParameterTypeNode(context, a, getTypeFromTypeNode2(context, a)) || typeToTypeNodeHelper(getTypeFromTypeNode2(context, a), context)) + map(e.typeArguments, (a) => syntacticNodeBuilder.tryReuseExistingTypeNode(context, a) || typeToTypeNodeHelper(getTypeFromTypeNode2(context, a), context)) )); function cleanup(result2) { context.enclosingDeclaration = oldEnclosing; @@ -57948,6 +58201,7 @@ function createTypeChecker(host) { ); break; } + // else fall through and treat commonjs require just like import= case 271 /* ImportEqualsDeclaration */: if (target.escapedName === "export=" /* ExportEquals */ && some(target.declarations, (d) => isSourceFile(d) && isJsonSourceFile(d))) { serializeMaybeAliasAssignment(symbol); @@ -58238,7 +58492,7 @@ function createTypeChecker(host) { } function makeSerializePropertySymbol(createProperty2, methodKind, useAccessors) { return function serializePropertySymbol(p, isStatic2, baseType) { - var _a2, _b, _c, _d, _e; + var _a2, _b, _c, _d, _e, _f; const modifierFlags = getDeclarationModifierFlagsFromSymbol(p); const isPrivate = !!(modifierFlags & 2 /* Private */); if (isStatic2 && p.flags & (788968 /* Type */ | 1920 /* Namespace */ | 2097152 /* Alias */)) { @@ -58268,6 +58522,7 @@ function createTypeChecker(host) { }); Debug.assert(!!setter); const paramSymbol = isFunctionLikeDeclaration(setter) ? getSignatureFromDeclaration(setter).parameters[0] : void 0; + const setterDeclaration = (_b = p.declarations) == null ? void 0 : _b.find(isSetAccessor); result.push(setTextRange2( context, factory.createSetAccessorDeclaration( @@ -58281,39 +58536,28 @@ function createTypeChecker(host) { paramSymbol ? parameterToParameterDeclarationName(paramSymbol, getEffectiveParameterDeclaration(paramSymbol), context) : "value", /*questionToken*/ void 0, - isPrivate ? void 0 : serializeTypeForDeclaration( - context, - /*declaration*/ - void 0, - getWriteTypeOfSymbol(p), - p - ) + isPrivate ? void 0 : serializeTypeForDeclaration(context, setterDeclaration, getWriteTypeOfSymbol(p), p) )], /*body*/ void 0 ), - ((_b = p.declarations) == null ? void 0 : _b.find(isSetAccessor)) || firstPropertyLikeDecl + setterDeclaration ?? firstPropertyLikeDecl )); } if (p.flags & 32768 /* GetAccessor */) { const isPrivate2 = modifierFlags & 2 /* Private */; + const getterDeclaration = (_c = p.declarations) == null ? void 0 : _c.find(isGetAccessor); result.push(setTextRange2( context, factory.createGetAccessorDeclaration( factory.createModifiersFromModifierFlags(flag), name, [], - isPrivate2 ? void 0 : serializeTypeForDeclaration( - context, - /*declaration*/ - void 0, - getTypeOfSymbol(p), - p - ), + isPrivate2 ? void 0 : serializeTypeForDeclaration(context, getterDeclaration, getTypeOfSymbol(p), p), /*body*/ void 0 ), - ((_c = p.declarations) == null ? void 0 : _c.find(isGetAccessor)) || firstPropertyLikeDecl + getterDeclaration ?? firstPropertyLikeDecl )); } return result; @@ -58324,19 +58568,13 @@ function createTypeChecker(host) { factory.createModifiersFromModifierFlags((isReadonlySymbol(p) ? 8 /* Readonly */ : 0) | flag), name, p.flags & 16777216 /* Optional */ ? factory.createToken(58 /* QuestionToken */) : void 0, - isPrivate ? void 0 : serializeTypeForDeclaration( - context, - /*declaration*/ - void 0, - getWriteTypeOfSymbol(p), - p - ), + isPrivate ? void 0 : serializeTypeForDeclaration(context, (_d = p.declarations) == null ? void 0 : _d.find(isSetAccessorDeclaration), getWriteTypeOfSymbol(p), p), // TODO: https://github.com/microsoft/TypeScript/pull/32372#discussion_r328386357 // interface members can't have initializers, however class members _can_ /*initializer*/ void 0 ), - ((_d = p.declarations) == null ? void 0 : _d.find(or(isPropertyDeclaration, isVariableDeclaration))) || firstPropertyLikeDecl + ((_e = p.declarations) == null ? void 0 : _e.find(or(isPropertyDeclaration, isVariableDeclaration))) || firstPropertyLikeDecl ); } if (p.flags & (8192 /* Method */ | 16 /* Function */)) { @@ -58354,7 +58592,7 @@ function createTypeChecker(host) { /*initializer*/ void 0 ), - ((_e = p.declarations) == null ? void 0 : _e.find(isFunctionLikeDeclaration)) || signatures[0] && signatures[0].declaration || p.declarations && p.declarations[0] + ((_f = p.declarations) == null ? void 0 : _f.find(isFunctionLikeDeclaration)) || signatures[0] && signatures[0].declaration || p.declarations && p.declarations[0] ); } const results2 = []; @@ -58397,7 +58635,7 @@ function createTypeChecker(host) { return []; } if (baseSigs.length === signatures.length) { - let failed = false; + let failed2 = false; for (let i = 0; i < baseSigs.length; i++) { if (!compareSignaturesIdentical( signatures[i], @@ -58410,11 +58648,11 @@ function createTypeChecker(host) { true, compareTypesIdentical )) { - failed = true; + failed2 = true; break; } } - if (!failed) { + if (!failed2) { return []; } } @@ -58720,6 +58958,7 @@ function createTypeChecker(host) { if (isBindingPattern(node.name) && !node.name.elements.length) { return false; } + // falls through case 267 /* ModuleDeclaration */: case 263 /* ClassDeclaration */: case 264 /* InterfaceDeclaration */: @@ -58744,6 +58983,8 @@ function createTypeChecker(host) { if (hasEffectiveModifier(node, 2 /* Private */ | 4 /* Protected */)) { return false; } + // Public properties/methods are visible if its parents are visible, so: + // falls through case 176 /* Constructor */: case 180 /* ConstructSignature */: case 179 /* CallSignature */: @@ -58761,14 +59002,20 @@ function createTypeChecker(host) { case 196 /* ParenthesizedType */: case 202 /* NamedTupleMember */: return isDeclarationVisible(node.parent); + // Default binding, import specifier and namespace import is visible + // only on demand so by default it is not visible case 273 /* ImportClause */: case 274 /* NamespaceImport */: case 276 /* ImportSpecifier */: return false; + // Type parameters are always visible case 168 /* TypeParameter */: + // Source file and namespace export are always visible + // falls through case 307 /* SourceFile */: case 270 /* NamespaceExportDeclaration */: return true; + // Export assignments do not create name bindings outside the module case 277 /* ExportAssignment */: return false; default: @@ -59612,7 +59859,6 @@ function createTypeChecker(host) { const flags = 4 /* Property */ | (e.initializer ? 16777216 /* Optional */ : 0); const symbol = createSymbol(flags, text); symbol.links.type = getTypeFromBindingElement(e, includePatternInType, reportErrors2); - symbol.links.bindingElement = e; members.set(symbol.escapedName, symbol); }); const result = createAnonymousType( @@ -59857,7 +60103,7 @@ function createTypeChecker(host) { const getter = getDeclarationOfKind(symbol, 177 /* GetAccessor */); const setter = getDeclarationOfKind(symbol, 178 /* SetAccessor */); const accessor = tryCast(getDeclarationOfKind(symbol, 172 /* PropertyDeclaration */), isAutoAccessorPropertyDeclaration); - let type = getter && isInJSFile(getter) && getTypeForDeclarationFromJSDocComment(getter) || getAnnotatedAccessorType(getter) || getAnnotatedAccessorType(setter) || getAnnotatedAccessorType(accessor) || getter && getter.body && getReturnTypeFromBody(getter) || accessor && accessor.initializer && getWidenedTypeForVariableLikeDeclaration( + let type = getter && isInJSFile(getter) && getTypeForDeclarationFromJSDocComment(getter) || getAnnotatedAccessorType(getter) || getAnnotatedAccessorType(setter) || getAnnotatedAccessorType(accessor) || getter && getter.body && getReturnTypeFromBody(getter) || accessor && getWidenedTypeForVariableLikeDeclaration( accessor, /*reportErrors*/ true @@ -60713,11 +60959,20 @@ function createTypeChecker(host) { return type; } function isLateBindableName(node) { + return isLateBindableAST(node) && isTypeUsableAsPropertyName(isComputedPropertyName(node) ? checkComputedPropertyName(node) : checkExpressionCached(node.argumentExpression)); + } + function isLateBindableIndexSignature(node) { + return isLateBindableAST(node) && isTypeUsableAsIndexSignature(isComputedPropertyName(node) ? checkComputedPropertyName(node) : checkExpressionCached(node.argumentExpression)); + } + function isLateBindableAST(node) { if (!isComputedPropertyName(node) && !isElementAccessExpression(node)) { return false; } const expr = isComputedPropertyName(node) ? node.expression : node.argumentExpression; - return isEntityNameExpression(expr) && isTypeUsableAsPropertyName(isComputedPropertyName(node) ? checkComputedPropertyName(node) : checkExpressionCached(expr)); + return isEntityNameExpression(expr); + } + function isTypeUsableAsIndexSignature(type) { + return isTypeAssignableTo(type, stringNumberSymbolType); } function isLateBoundName(name) { return name.charCodeAt(0) === 95 /* _ */ && name.charCodeAt(1) === 95 /* _ */ && name.charCodeAt(2) === 64 /* at */; @@ -60726,6 +60981,10 @@ function createTypeChecker(host) { const name = getNameOfDeclaration(node); return !!name && isLateBindableName(name); } + function hasLateBindableIndexSignature(node) { + const name = getNameOfDeclaration(node); + return !!name && isLateBindableIndexSignature(name); + } function hasBindableName(node) { return !hasDynamicName(node) || hasLateBindableName(node); } @@ -60779,6 +61038,24 @@ function createTypeChecker(host) { } return links.resolvedSymbol; } + function lateBindIndexSignature(parent2, earlySymbols, lateSymbols, decl) { + let indexSymbol = lateSymbols.get("__index" /* Index */); + if (!indexSymbol) { + const early = earlySymbols == null ? void 0 : earlySymbols.get("__index" /* Index */); + if (!early) { + indexSymbol = createSymbol(0 /* None */, "__index" /* Index */, 4096 /* Late */); + } else { + indexSymbol = cloneSymbol(early); + indexSymbol.links.checkFlags |= 4096 /* Late */; + } + lateSymbols.set("__index" /* Index */, indexSymbol); + } + if (!indexSymbol.declarations) { + indexSymbol.declarations = [decl]; + } else if (!decl.symbol.isReplaceableByMethod) { + indexSymbol.declarations.push(decl); + } + } function getResolvedMembersOrExportsOfSymbol(symbol, resolutionKind) { const links = getSymbolLinks(symbol); if (!links[resolutionKind]) { @@ -60793,6 +61070,8 @@ function createTypeChecker(host) { if (isStatic2 === hasStaticModifier(member)) { if (hasLateBindableName(member)) { lateBindMember(symbol, earlySymbols, lateSymbols, member); + } else if (hasLateBindableIndexSignature(member)) { + lateBindIndexSignature(symbol, earlySymbols, lateSymbols, member); } } } @@ -60923,7 +61202,7 @@ function createTypeChecker(host) { resolveObjectTypeMembers(type, source, typeParameters, paddedTypeArguments); } function createSignature(declaration, typeParameters, thisParameter, parameters, resolvedReturnType, resolvedTypePredicate, minArgumentCount, flags) { - const sig = new Signature14(checker, flags); + const sig = new Signature13(checker, flags); sig.declaration = declaration; sig.typeParameters = typeParameters; sig.parameters = parameters; @@ -61250,8 +61529,13 @@ function createTypeChecker(host) { if (left.typeParameters && right.typeParameters) { paramMapper = createTypeMapper(right.typeParameters, left.typeParameters); } + let flags = (left.flags | right.flags) & (167 /* PropagatingFlags */ & ~1 /* HasRestParameter */); const declaration = left.declaration; const params = combineUnionParameters(left, right, paramMapper); + const lastParam = lastOrUndefined(params); + if (lastParam && getCheckFlags(lastParam) & 32768 /* RestParameter */) { + flags |= 1 /* HasRestParameter */; + } const thisParam = combineUnionThisParam(left.thisParameter, right.thisParameter, paramMapper); const minArgCount = Math.max(left.minArgumentCount, right.minArgumentCount); const result = createSignature( @@ -61264,7 +61548,7 @@ function createTypeChecker(host) { /*resolvedTypePredicate*/ void 0, minArgCount, - (left.flags | right.flags) & 167 /* PropagatingFlags */ + flags ); result.compositeKind = 1048576 /* Union */; result.compositeSignatures = concatenate(left.compositeKind !== 2097152 /* Intersection */ && left.compositeSignatures || [left], [right]); @@ -61437,7 +61721,7 @@ function createTypeChecker(host) { } const indexSymbol = getIndexSymbolFromSymbolTable(members); if (indexSymbol) { - indexInfos = getIndexInfosOfIndexSymbol(indexSymbol); + indexInfos = getIndexInfosOfIndexSymbol(indexSymbol, arrayFrom(members.values())); } else { if (baseConstructorIndexInfo) { indexInfos = append(indexInfos, baseConstructorIndexInfo); @@ -63056,7 +63340,7 @@ function createTypeChecker(host) { return signature.isolatedSignatureType; } function getIndexSymbol(symbol) { - return symbol.members ? getIndexSymbolFromSymbolTable(symbol.members) : void 0; + return symbol.members ? getIndexSymbolFromSymbolTable(getMembersOfSymbol(symbol)) : void 0; } function getIndexSymbolFromSymbolTable(symbolTable) { return symbolTable.get("__index" /* Index */); @@ -63066,23 +63350,61 @@ function createTypeChecker(host) { } function getIndexInfosOfSymbol(symbol) { const indexSymbol = getIndexSymbol(symbol); - return indexSymbol ? getIndexInfosOfIndexSymbol(indexSymbol) : emptyArray; + return indexSymbol ? getIndexInfosOfIndexSymbol(indexSymbol, arrayFrom(getMembersOfSymbol(symbol).values())) : emptyArray; } - function getIndexInfosOfIndexSymbol(indexSymbol) { + function getIndexInfosOfIndexSymbol(indexSymbol, siblingSymbols = indexSymbol.parent ? arrayFrom(getMembersOfSymbol(indexSymbol.parent).values()) : void 0) { if (indexSymbol.declarations) { const indexInfos = []; + let hasComputedNumberProperty = false; + let readonlyComputedNumberProperty = true; + let hasComputedSymbolProperty = false; + let readonlyComputedSymbolProperty = true; + let hasComputedStringProperty = false; + let readonlyComputedStringProperty = true; + const computedPropertySymbols = []; for (const declaration of indexSymbol.declarations) { - if (declaration.parameters.length === 1) { - const parameter = declaration.parameters[0]; - if (parameter.type) { - forEachType(getTypeFromTypeNode(parameter.type), (keyType) => { - if (isValidIndexKeyType(keyType) && !findIndexInfo(indexInfos, keyType)) { - indexInfos.push(createIndexInfo(keyType, declaration.type ? getTypeFromTypeNode(declaration.type) : anyType, hasEffectiveModifier(declaration, 8 /* Readonly */), declaration)); + if (isIndexSignatureDeclaration(declaration)) { + if (declaration.parameters.length === 1) { + const parameter = declaration.parameters[0]; + if (parameter.type) { + forEachType(getTypeFromTypeNode(parameter.type), (keyType) => { + if (isValidIndexKeyType(keyType) && !findIndexInfo(indexInfos, keyType)) { + indexInfos.push(createIndexInfo(keyType, declaration.type ? getTypeFromTypeNode(declaration.type) : anyType, hasEffectiveModifier(declaration, 8 /* Readonly */), declaration)); + } + }); + } + } + } else if (hasLateBindableIndexSignature(declaration)) { + const declName = isBinaryExpression(declaration) ? declaration.left : declaration.name; + const keyType = isElementAccessExpression(declName) ? checkExpressionCached(declName.argumentExpression) : checkComputedPropertyName(declName); + if (findIndexInfo(indexInfos, keyType)) { + continue; + } + if (isTypeAssignableTo(keyType, stringNumberSymbolType)) { + if (isTypeAssignableTo(keyType, numberType)) { + hasComputedNumberProperty = true; + if (!hasEffectiveReadonlyModifier(declaration)) { + readonlyComputedNumberProperty = false; } - }); + } else if (isTypeAssignableTo(keyType, esSymbolType)) { + hasComputedSymbolProperty = true; + if (!hasEffectiveReadonlyModifier(declaration)) { + readonlyComputedSymbolProperty = false; + } + } else { + hasComputedStringProperty = true; + if (!hasEffectiveReadonlyModifier(declaration)) { + readonlyComputedStringProperty = false; + } + } + computedPropertySymbols.push(declaration.symbol); } } } + const allPropertySymbols = concatenate(computedPropertySymbols, filter(siblingSymbols, (s) => s !== indexSymbol)); + if (hasComputedStringProperty && !findIndexInfo(indexInfos, stringType)) indexInfos.push(getObjectLiteralIndexInfo(readonlyComputedStringProperty, 0, allPropertySymbols, stringType)); + if (hasComputedNumberProperty && !findIndexInfo(indexInfos, numberType)) indexInfos.push(getObjectLiteralIndexInfo(readonlyComputedNumberProperty, 0, allPropertySymbols, numberType)); + if (hasComputedSymbolProperty && !findIndexInfo(indexInfos, esSymbolType)) indexInfos.push(getObjectLiteralIndexInfo(readonlyComputedSymbolProperty, 0, allPropertySymbols, esSymbolType)); return indexInfos; } return emptyArray; @@ -65926,7 +66248,7 @@ function createTypeChecker(host) { const links = getNodeLinks(node); if (!links.resolvedType) { const aliasSymbol = getAliasSymbolForTypeNode(node); - if (getMembersOfSymbol(node.symbol).size === 0 && !aliasSymbol) { + if (!node.symbol || getMembersOfSymbol(node.symbol).size === 0 && !aliasSymbol) { links.resolvedType = emptyTypeLiteralType; } else { let type = createObjectType(16 /* Anonymous */, node.symbol); @@ -66318,6 +66640,9 @@ function createTypeChecker(host) { return getTypeFromTemplateTypeNode(node); case 205 /* ImportType */: return getTypeFromImportTypeNode(node); + // This function assumes that an identifier, qualified name, or property access expression is a type expression + // Callers should first ensure this by calling `isPartOfTypeNode` + // TODO(rbuckton): These aren't valid TypeNodes, but we treat them as such because of `isPartOfTypeNode`, which returns `true` for things that aren't `TypeNode`s. case 80 /* Identifier */: case 166 /* QualifiedName */: case 211 /* PropertyAccessExpression */: @@ -66565,6 +66890,7 @@ function createTypeChecker(host) { return !!tp.isThisType; case 80 /* Identifier */: return !tp.isThisType && isPartOfTypeNode(node2) && maybeTypeParameterReference(node2) && getTypeFromTypeNodeWorker(node2) === tp; + // use worker because we're looking for === equality case 186 /* TypeQuery */: const entityName = node2.exprName; const firstIdentifier = getFirstIdentifier(entityName); @@ -66984,6 +67310,7 @@ function createTypeChecker(host) { if (!isConstAssertion(node)) { break; } + // fallthrough case 294 /* JsxExpression */: case 217 /* ParenthesizedExpression */: return elaborateError(node.expression, source, target, relation, headMessage, containingMessageChain, errorOutputContainer); @@ -68079,7 +68406,7 @@ function createTypeChecker(host) { const [sourceType, targetType] = getTypeNamesForErrorDisplay(source2, target2); let generalizedSource = source2; let generalizedSourceType = sourceType; - if (isLiteralType(source2) && !typeCouldHaveTopLevelSingletonTypes(target2)) { + if (!(target2.flags & 131072 /* Never */) && isLiteralType(source2) && !typeCouldHaveTopLevelSingletonTypes(target2)) { generalizedSource = getBaseTypeOfLiteralType(source2); Debug.assert(!isTypeAssignableTo(generalizedSource, target2), "generalized source shouldn't be assignable"); generalizedSourceType = getTypeNameForErrorDisplay(generalizedSource); @@ -71111,7 +71438,7 @@ function createTypeChecker(host) { case 219 /* ArrowFunction */: if (noImplicitAny && !declaration.name) { if (wideningKind === 3 /* GeneratorYield */) { - error2(declaration, Diagnostics.Generator_implicitly_has_yield_type_0_because_it_does_not_yield_any_values_Consider_supplying_a_return_type_annotation, typeAsString); + error2(declaration, Diagnostics.Generator_implicitly_has_yield_type_0_Consider_supplying_a_return_type_annotation, typeAsString); } else { error2(declaration, Diagnostics.Function_expression_which_lacks_return_type_annotation_implicitly_has_an_0_return_type, typeAsString); } @@ -71129,11 +71456,37 @@ function createTypeChecker(host) { } errorOrSuggestion(noImplicitAny, declaration, diagnostic, declarationNameToString(getNameOfDeclaration(declaration)), typeAsString); } + function shouldReportErrorsFromWideningWithContextualSignature(declaration, wideningKind) { + const signature = getContextualSignatureForFunctionLikeDeclaration(declaration); + if (!signature) { + return true; + } + let returnType = getReturnTypeOfSignature(signature); + const flags = getFunctionFlags(declaration); + switch (wideningKind) { + case 1 /* FunctionReturn */: + if (flags & 1 /* Generator */) { + returnType = getIterationTypeOfGeneratorFunctionReturnType(1 /* Return */, returnType, !!(flags & 2 /* Async */)) ?? returnType; + } else if (flags & 2 /* Async */) { + returnType = getAwaitedTypeNoAlias(returnType) ?? returnType; + } + return isGenericType(returnType); + case 3 /* GeneratorYield */: + const yieldType = getIterationTypeOfGeneratorFunctionReturnType(0 /* Yield */, returnType, !!(flags & 2 /* Async */)); + return !!yieldType && isGenericType(yieldType); + case 2 /* GeneratorNext */: + const nextType = getIterationTypeOfGeneratorFunctionReturnType(2 /* Next */, returnType, !!(flags & 2 /* Async */)); + return !!nextType && isGenericType(nextType); + } + return false; + } function reportErrorsFromWidening(declaration, type, wideningKind) { addLazyDiagnostic(() => { - if (noImplicitAny && getObjectFlags(type) & 65536 /* ContainsWideningType */ && (!wideningKind || !getContextualSignatureForFunctionLikeDeclaration(declaration))) { - if (!reportWideningErrorsInType(type)) { - reportImplicitAny(declaration, type, wideningKind); + if (noImplicitAny && getObjectFlags(type) & 65536 /* ContainsWideningType */) { + if (!wideningKind || isFunctionLikeDeclaration(declaration) && shouldReportErrorsFromWideningWithContextualSignature(declaration, wideningKind)) { + if (!reportWideningErrorsInType(type)) { + reportImplicitAny(declaration, type, wideningKind); + } } } }); @@ -72303,6 +72656,7 @@ function createTypeChecker(host) { if (isCallExpression(node.parent)) { return Diagnostics.Cannot_find_name_0_Did_you_mean_to_write_this_in_an_async_function; } + // falls through default: if (node.parent.kind === 304 /* ShorthandPropertyAssignment */) { return Diagnostics.No_value_exists_in_scope_for_the_shorthand_property_0_Either_declare_one_or_provide_an_initializer; @@ -72336,6 +72690,7 @@ function createTypeChecker(host) { const symbol = getResolvedSymbol(node); return symbol !== unknownSymbol ? `${flowContainer ? getNodeId(flowContainer) : "-1"}|${getTypeId(declaredType)}|${getTypeId(initialType)}|${getSymbolId(symbol)}` : void 0; } + // falls through case 110 /* ThisKeyword */: return `0|${flowContainer ? getNodeId(flowContainer) : "-1"}|${getTypeId(declaredType)}|${getTypeId(initialType)}`; case 235 /* NonNullExpression */: @@ -73889,6 +74244,9 @@ function createTypeChecker(host) { break; case 28 /* CommaToken */: return narrowType(type, expr.right, assumeTrue); + // Ordinarily we won't see && and || expressions in control flow analysis because the Binder breaks those + // expressions down to individual conditional control flows. However, we may encounter them when analyzing + // aliased conditional expressions. case 56 /* AmpersandAmpersandToken */: return assumeTrue ? narrowType( narrowType( @@ -74332,6 +74690,7 @@ function createTypeChecker(host) { } } } + // falls through case 110 /* ThisKeyword */: case 108 /* SuperKeyword */: case 211 /* PropertyAccessExpression */: @@ -74392,6 +74751,12 @@ function createTypeChecker(host) { function getControlFlowContainer(node) { return findAncestor(node.parent, (node2) => isFunctionLike(node2) && !getImmediatelyInvokedFunctionExpression(node2) || node2.kind === 268 /* ModuleBlock */ || node2.kind === 307 /* SourceFile */ || node2.kind === 172 /* PropertyDeclaration */); } + function isSymbolAssignedDefinitely(symbol) { + if (symbol.lastAssignmentPos !== void 0) { + return symbol.lastAssignmentPos < 0; + } + return isSymbolAssigned(symbol) && symbol.lastAssignmentPos !== void 0 && symbol.lastAssignmentPos < 0; + } function isSymbolAssigned(symbol) { return !isPastLastAssignment( symbol, @@ -74411,7 +74776,7 @@ function createTypeChecker(host) { markNodeAssignments(parent2); } } - return !symbol.lastAssignmentPos || location && symbol.lastAssignmentPos < location.pos; + return !symbol.lastAssignmentPos || location && Math.abs(symbol.lastAssignmentPos) < location.pos; } function isSomeSymbolAssigned(rootDeclaration) { Debug.assert(isVariableDeclaration(rootDeclaration) || isParameter(rootDeclaration)); @@ -74432,12 +74797,19 @@ function createTypeChecker(host) { function markNodeAssignments(node) { switch (node.kind) { case 80 /* Identifier */: - if (isAssignmentTarget(node)) { + const assigmentTarget = getAssignmentTargetKind(node); + if (assigmentTarget !== 0 /* None */) { const symbol = getResolvedSymbol(node); - if (isParameterOrMutableLocalVariable(symbol) && symbol.lastAssignmentPos !== Number.MAX_VALUE) { - const referencingFunction = findAncestor(node, isFunctionOrSourceFile); - const declaringFunction = findAncestor(symbol.valueDeclaration, isFunctionOrSourceFile); - symbol.lastAssignmentPos = referencingFunction === declaringFunction ? extendAssignmentPosition(node, symbol.valueDeclaration) : Number.MAX_VALUE; + const hasDefiniteAssignment = assigmentTarget === 1 /* Definite */ || symbol.lastAssignmentPos !== void 0 && symbol.lastAssignmentPos < 0; + if (isParameterOrMutableLocalVariable(symbol)) { + if (symbol.lastAssignmentPos === void 0 || Math.abs(symbol.lastAssignmentPos) !== Number.MAX_VALUE) { + const referencingFunction = findAncestor(node, isFunctionOrSourceFile); + const declaringFunction = findAncestor(symbol.valueDeclaration, isFunctionOrSourceFile); + symbol.lastAssignmentPos = referencingFunction === declaringFunction ? extendAssignmentPosition(node, symbol.valueDeclaration) : Number.MAX_VALUE; + } + if (hasDefiniteAssignment && symbol.lastAssignmentPos > 0) { + symbol.lastAssignmentPos *= -1; + } } } return; @@ -74454,7 +74826,8 @@ function createTypeChecker(host) { true ); if (symbol && isParameterOrMutableLocalVariable(symbol)) { - symbol.lastAssignmentPos = Number.MAX_VALUE; + const sign = symbol.lastAssignmentPos !== void 0 && symbol.lastAssignmentPos < 0 ? -1 : 1; + symbol.lastAssignmentPos = sign * Number.MAX_VALUE; } } return; @@ -74687,7 +75060,7 @@ function createTypeChecker(host) { } function markJsxAliasReferenced(node) { if (!getJsxNamespaceContainerForImplicitImport(node)) { - const jsxFactoryRefErr = diagnostics && compilerOptions.jsx === 2 /* React */ ? Diagnostics.Cannot_find_name_0 : void 0; + const jsxFactoryRefErr = diagnostics && compilerOptions.jsx === 2 /* React */ ? Diagnostics.This_JSX_tag_requires_0_to_be_in_scope_but_it_could_not_be_found : void 0; const jsxFactoryNamespace = getJsxNamespace(node); const jsxFactoryLocation = isJsxOpeningLikeElement(node) ? node.tagName : node; let jsxFactorySym; @@ -74695,7 +75068,7 @@ function createTypeChecker(host) { jsxFactorySym = resolveName( jsxFactoryLocation, jsxFactoryNamespace, - 111551 /* Value */, + compilerOptions.jsx === 1 /* Preserve */ ? 111551 /* Value */ & ~384 /* Enum */ : 111551 /* Value */, jsxFactoryRefErr, /*isUse*/ true @@ -74714,7 +75087,7 @@ function createTypeChecker(host) { resolveName( jsxFactoryLocation, localJsxNamespace, - 111551 /* Value */, + compilerOptions.jsx === 1 /* Preserve */ ? 111551 /* Value */ & ~384 /* Enum */ : 111551 /* Value */, jsxFactoryRefErr, /*isUse*/ true @@ -75038,6 +75411,7 @@ function createTypeChecker(host) { } const localOrExportSymbol = getExportSymbolOfValueSymbolIfExported(symbol); let declaration = localOrExportSymbol.valueDeclaration; + const immediateDeclaration = declaration; if (declaration && declaration.kind === 208 /* BindingElement */ && contains(contextualBindingPatterns, declaration.parent) && findAncestor(node, (parent2) => parent2 === declaration.parent)) { return nonInferrableAnyType; } @@ -75083,7 +75457,8 @@ function createTypeChecker(host) { while (flowContainer !== declarationContainer && (flowContainer.kind === 218 /* FunctionExpression */ || flowContainer.kind === 219 /* ArrowFunction */ || isObjectLiteralOrClassExpressionMethodOrAccessor(flowContainer)) && (isConstantVariable(localOrExportSymbol) && type !== autoArrayType || isParameterOrMutableLocalVariable(localOrExportSymbol) && isPastLastAssignment(localOrExportSymbol, node))) { flowContainer = getControlFlowContainer(flowContainer); } - const assumeInitialized = isParameter2 || isAlias || isOuterVariable || isSpreadDestructuringAssignmentTarget || isModuleExports || isSameScopedBindingElement(node, declaration) || type !== autoType && type !== autoArrayType && (!strictNullChecks || (type.flags & (3 /* AnyOrUnknown */ | 16384 /* Void */)) !== 0 || isInTypeQuery(node) || isInAmbientOrTypeNode(node) || node.parent.kind === 281 /* ExportSpecifier */) || node.parent.kind === 235 /* NonNullExpression */ || declaration.kind === 260 /* VariableDeclaration */ && declaration.exclamationToken || declaration.flags & 33554432 /* Ambient */; + const isNeverInitialized = immediateDeclaration && isVariableDeclaration(immediateDeclaration) && !immediateDeclaration.initializer && !immediateDeclaration.exclamationToken && isMutableLocalVariableDeclaration(immediateDeclaration) && !isSymbolAssignedDefinitely(symbol); + const assumeInitialized = isParameter2 || isAlias || isOuterVariable && !isNeverInitialized || isSpreadDestructuringAssignmentTarget || isModuleExports || isSameScopedBindingElement(node, declaration) || type !== autoType && type !== autoArrayType && (!strictNullChecks || (type.flags & (3 /* AnyOrUnknown */ | 16384 /* Void */)) !== 0 || isInTypeQuery(node) || isInAmbientOrTypeNode(node) || node.parent.kind === 281 /* ExportSpecifier */) || node.parent.kind === 235 /* NonNullExpression */ || declaration.kind === 260 /* VariableDeclaration */ && declaration.exclamationToken || declaration.flags & 33554432 /* Ambient */; const initialType = isAutomaticTypeInNonNull ? undefinedType : assumeInitialized ? isParameter2 ? removeOptionalityFromDeclaredType(type, declaration) : type : typeIsAutomatic ? undefinedType : getOptionalType(type); const flowType = isAutomaticTypeInNonNull ? getNonNullableType(getFlowTypeOfReference(node, type, initialType, flowContainer)) : getFlowTypeOfReference(node, type, initialType, flowContainer); if (!isEvolvingArrayOperationTarget(node) && (type === autoType || type === autoArrayType)) { @@ -75988,46 +76363,108 @@ function createTypeChecker(host) { function isCircularMappedProperty(symbol) { return !!(getCheckFlags(symbol) & 262144 /* Mapped */ && !symbol.links.type && findResolutionCycleStartIndex(symbol, 0 /* Type */) >= 0); } + function isExcludedMappedPropertyName(constraint, propertyNameType) { + if (constraint.flags & 16777216 /* Conditional */) { + const type = constraint; + return !!(getReducedType(getTrueTypeFromConditionalType(type)).flags & 131072 /* Never */) && getActualTypeVariable(getFalseTypeFromConditionalType(type)) === getActualTypeVariable(type.checkType) && isTypeAssignableTo(propertyNameType, type.extendsType); + } + if (constraint.flags & 2097152 /* Intersection */) { + return some(constraint.types, (t) => isExcludedMappedPropertyName(t, propertyNameType)); + } + return false; + } function getTypeOfPropertyOfContextualType(type, name, nameType) { return mapType( type, (t) => { - var _a; - if (isGenericMappedType(t) && getMappedTypeNameTypeKind(t) !== 2 /* Remapping */) { - const constraint = getConstraintTypeFromMappedType(t); - const constraintOfConstraint = getBaseConstraintOfType(constraint) || constraint; - const propertyNameType = nameType || getStringLiteralType(unescapeLeadingUnderscores(name)); - if (isTypeAssignableTo(propertyNameType, constraintOfConstraint)) { - return substituteIndexedMappedType(t, propertyNameType); - } - } else if (t.flags & 3670016 /* StructuredType */) { - const prop = getPropertyOfType(t, name); - if (prop) { - return isCircularMappedProperty(prop) ? void 0 : removeMissingType(getTypeOfSymbol(prop), !!(prop.flags & 16777216 /* Optional */)); + if (t.flags & 2097152 /* Intersection */) { + let types; + let indexInfoCandidates; + let ignoreIndexInfos = false; + for (const constituentType of t.types) { + if (!(constituentType.flags & 524288 /* Object */)) { + continue; + } + if (isGenericMappedType(constituentType) && getMappedTypeNameTypeKind(constituentType) !== 2 /* Remapping */) { + const substitutedType = getIndexedMappedTypeSubstitutedTypeOfContextualType(constituentType, name, nameType); + types = appendContextualPropertyTypeConstituent(types, substitutedType); + continue; + } + const propertyType = getTypeOfConcretePropertyOfContextualType(constituentType, name); + if (!propertyType) { + if (!ignoreIndexInfos) { + indexInfoCandidates = append(indexInfoCandidates, constituentType); + } + continue; + } + ignoreIndexInfos = true; + indexInfoCandidates = void 0; + types = appendContextualPropertyTypeConstituent(types, propertyType); } - if (isTupleType(t) && isNumericLiteralName(name) && +name >= 0) { - const restType = getElementTypeOfSliceOfTupleType( - t, - t.target.fixedLength, - /*endSkipCount*/ - 0, - /*writing*/ - false, - /*noReductions*/ - true - ); - if (restType) { - return restType; + if (indexInfoCandidates) { + for (const candidate of indexInfoCandidates) { + const indexInfoType = getTypeFromIndexInfosOfContextualType(candidate, name, nameType); + types = appendContextualPropertyTypeConstituent(types, indexInfoType); } } - return (_a = findApplicableIndexInfo(getIndexInfosOfStructuredType(t), nameType || getStringLiteralType(unescapeLeadingUnderscores(name)))) == null ? void 0 : _a.type; + if (!types) { + return; + } + if (types.length === 1) { + return types[0]; + } + return getIntersectionType(types); } - return void 0; + if (!(t.flags & 524288 /* Object */)) { + return; + } + return isGenericMappedType(t) && getMappedTypeNameTypeKind(t) !== 2 /* Remapping */ ? getIndexedMappedTypeSubstitutedTypeOfContextualType(t, name, nameType) : getTypeOfConcretePropertyOfContextualType(t, name) ?? getTypeFromIndexInfosOfContextualType(t, name, nameType); }, /*noReductions*/ true ); } + function appendContextualPropertyTypeConstituent(types, type) { + return type ? append(types, type.flags & 1 /* Any */ ? unknownType : type) : types; + } + function getIndexedMappedTypeSubstitutedTypeOfContextualType(type, name, nameType) { + const propertyNameType = nameType || getStringLiteralType(unescapeLeadingUnderscores(name)); + const constraint = getConstraintTypeFromMappedType(type); + if (type.nameType && isExcludedMappedPropertyName(type.nameType, propertyNameType) || isExcludedMappedPropertyName(constraint, propertyNameType)) { + return; + } + const constraintOfConstraint = getBaseConstraintOfType(constraint) || constraint; + if (!isTypeAssignableTo(propertyNameType, constraintOfConstraint)) { + return; + } + return substituteIndexedMappedType(type, propertyNameType); + } + function getTypeOfConcretePropertyOfContextualType(type, name) { + const prop = getPropertyOfType(type, name); + if (!prop || isCircularMappedProperty(prop)) { + return; + } + return removeMissingType(getTypeOfSymbol(prop), !!(prop.flags & 16777216 /* Optional */)); + } + function getTypeFromIndexInfosOfContextualType(type, name, nameType) { + var _a; + if (isTupleType(type) && isNumericLiteralName(name) && +name >= 0) { + const restType = getElementTypeOfSliceOfTupleType( + type, + type.target.fixedLength, + /*endSkipCount*/ + 0, + /*writing*/ + false, + /*noReductions*/ + true + ); + if (restType) { + return restType; + } + } + return (_a = findApplicableIndexInfo(getIndexInfosOfStructuredType(type), nameType || getStringLiteralType(unescapeLeadingUnderscores(name)))) == null ? void 0 : _a.type; + } function getContextualTypeForObjectLiteralMethod(node, contextFlags) { Debug.assert(isObjectLiteralMethod(node)); if (node.flags & 67108864 /* InWithStatement */) { @@ -76440,7 +76877,7 @@ function createTypeChecker(host) { return getContextualTypeForArgumentAtIndex(node, 0); } function getEffectiveFirstArgumentForJsxSignature(signature, node) { - return getJsxReferenceKind(node) !== 0 /* Component */ ? getJsxPropsTypeFromCallSignature(signature, node) : getJsxPropsTypeFromClassType(signature, node); + return isJsxOpeningFragment(node) || getJsxReferenceKind(node) !== 0 /* Component */ ? getJsxPropsTypeFromCallSignature(signature, node) : getJsxPropsTypeFromClassType(signature, node); } function getJsxPropsTypeFromCallSignature(sig, context) { let propsType = getTypeOfFirstParameterOfSignatureWithFallback(sig, unknownType); @@ -76471,6 +76908,7 @@ function createTypeChecker(host) { return isTypeAny(instanceType) ? instanceType : getTypeOfPropertyOfType(instanceType, forcedLookupLocation); } function getStaticTypeOfReferencedJsxConstructor(context) { + if (isJsxOpeningFragment(context)) return getJSXFragmentType(context); if (isJsxIntrinsicTagName(context.tagName)) { const result = getIntrinsicAttributesTypeFromJsxOpeningLikeElement(context); const fakeSignature = createSignatureForJSXIntrinsic(context, result); @@ -76570,13 +77008,14 @@ function createTypeChecker(host) { const paramName = leftName === rightName ? leftName : !leftName ? rightName : !rightName ? leftName : void 0; const paramSymbol = createSymbol( 1 /* FunctionScopedVariable */ | (isOptional && !isRestParam ? 16777216 /* Optional */ : 0), - paramName || `arg${i}` + paramName || `arg${i}`, + isRestParam ? 32768 /* RestParameter */ : isOptional ? 16384 /* OptionalParameter */ : 0 ); paramSymbol.links.type = isRestParam ? createArrayType(unionParamType) : unionParamType; params[i] = paramSymbol; } if (needsExtraRestElement) { - const restParamSymbol = createSymbol(1 /* FunctionScopedVariable */, "args"); + const restParamSymbol = createSymbol(1 /* FunctionScopedVariable */, "args", 32768 /* RestParameter */); restParamSymbol.links.type = createArrayType(getTypeAtPosition(shorter, longestCount)); if (shorter === right) { restParamSymbol.links.type = instantiateType(restParamSymbol.links.type, mapper); @@ -76591,8 +77030,13 @@ function createTypeChecker(host) { if (left.typeParameters && right.typeParameters) { paramMapper = createTypeMapper(right.typeParameters, left.typeParameters); } + let flags = (left.flags | right.flags) & (167 /* PropagatingFlags */ & ~1 /* HasRestParameter */); const declaration = left.declaration; const params = combineIntersectionParameters(left, right, paramMapper); + const lastParam = lastOrUndefined(params); + if (lastParam && getCheckFlags(lastParam) & 32768 /* RestParameter */) { + flags |= 1 /* HasRestParameter */; + } const thisParam = combineIntersectionThisParam(left.thisParameter, right.thisParameter, paramMapper); const minArgCount = Math.max(left.minArgumentCount, right.minArgumentCount); const result = createSignature( @@ -76605,7 +77049,7 @@ function createTypeChecker(host) { /*resolvedTypePredicate*/ void 0, minArgCount, - (left.flags | right.flags) & 167 /* PropagatingFlags */ + flags ); result.compositeKind = 2097152 /* Intersection */; result.compositeSignatures = concatenate(left.compositeKind === 2097152 /* Intersection */ && left.compositeSignatures || [left], [right]); @@ -76724,7 +77168,7 @@ function createTypeChecker(host) { return globalRegExpType; } function checkSpreadExpression(node, checkMode) { - if (languageVersion < 2 /* SpreadElements */) { + if (languageVersion < LanguageFeatureMinimumTarget.SpreadElements) { checkExternalEmitHelpers(node, compilerOptions.downlevelIteration ? 1536 /* SpreadIncludes */ : 1024 /* SpreadArray */); } const arrayOrIterableType = checkExpression(node.expression, checkMode); @@ -76758,7 +77202,7 @@ function createTypeChecker(host) { for (let i = 0; i < elementCount; i++) { const e = elements[i]; if (e.kind === 230 /* SpreadElement */) { - if (languageVersion < 2 /* SpreadElements */) { + if (languageVersion < LanguageFeatureMinimumTarget.SpreadElements) { checkExternalEmitHelpers(e, compilerOptions.downlevelIteration ? 1536 /* SpreadIncludes */ : 1024 /* SpreadArray */); } const spreadType = checkExpression(e.expression, checkMode, forceTuple); @@ -76877,7 +77321,7 @@ function createTypeChecker(host) { const firstDecl = (_a = symbol.declarations) == null ? void 0 : _a[0]; return isKnownSymbol(symbol) || firstDecl && isNamedDeclaration(firstDecl) && isComputedPropertyName(firstDecl.name) && isTypeAssignableToKind(checkComputedPropertyName(firstDecl.name), 4096 /* ESSymbol */); } - function getObjectLiteralIndexInfo(node, offset, properties, keyType) { + function getObjectLiteralIndexInfo(isReadonly, offset, properties, keyType) { const propTypes = []; for (let i = offset; i < properties.length; i++) { const prop = properties[i]; @@ -76886,7 +77330,7 @@ function createTypeChecker(host) { } } const unionType = propTypes.length ? getUnionType(propTypes, 2 /* Subtype */) : undefinedType; - return createIndexInfo(keyType, unionType, isConstContext(node)); + return createIndexInfo(keyType, unionType, isReadonly); } function getImmediateAliasedSymbol(symbol) { Debug.assert((symbol.flags & 2097152 /* Alias */) !== 0, "Should only get Alias here."); @@ -76983,7 +77427,7 @@ function createTypeChecker(host) { addIntraExpressionInferenceSite(inferenceContext, inferenceNode, type); } } else if (memberDecl.kind === 305 /* SpreadAssignment */) { - if (languageVersion < 2 /* ObjectAssign */) { + if (languageVersion < LanguageFeatureMinimumTarget.ObjectAssign) { checkExternalEmitHelpers(memberDecl, 2 /* Assign */); } if (propertiesArray.length > 0) { @@ -77049,9 +77493,10 @@ function createTypeChecker(host) { return createObjectLiteralType(); function createObjectLiteralType() { const indexInfos = []; - if (hasComputedStringProperty) indexInfos.push(getObjectLiteralIndexInfo(node, offset, propertiesArray, stringType)); - if (hasComputedNumberProperty) indexInfos.push(getObjectLiteralIndexInfo(node, offset, propertiesArray, numberType)); - if (hasComputedSymbolProperty) indexInfos.push(getObjectLiteralIndexInfo(node, offset, propertiesArray, esSymbolType)); + const isReadonly = isConstContext(node); + if (hasComputedStringProperty) indexInfos.push(getObjectLiteralIndexInfo(isReadonly, offset, propertiesArray, stringType)); + if (hasComputedNumberProperty) indexInfos.push(getObjectLiteralIndexInfo(isReadonly, offset, propertiesArray, numberType)); + if (hasComputedSymbolProperty) indexInfos.push(getObjectLiteralIndexInfo(isReadonly, offset, propertiesArray, esSymbolType)); const result = createAnonymousType(node.symbol, propertiesTable, emptyArray, emptyArray, indexInfos); result.objectFlags |= objectFlags | 128 /* ObjectLiteral */ | 131072 /* ContainsObjectOrArrayLiteral */; if (isJSObjectLiteral) { @@ -77100,7 +77545,8 @@ function createTypeChecker(host) { ); } checkJsxChildren(node); - return getJsxElementTypeAt(node) || anyType; + const jsxElementType = getJsxElementTypeAt(node); + return isErrorType(jsxElementType) ? anyType : jsxElementType; } function isHyphenatedJsxName(name) { return name.includes("-"); @@ -77112,8 +77558,6 @@ function createTypeChecker(host) { return node.initializer ? checkExpressionForMutableLocation(node.initializer, checkMode) : trueType; } function createJsxAttributesTypeFromAttributesProperty(openingLikeElement, checkMode = 0 /* Normal */) { - const attributes = openingLikeElement.attributes; - const contextualType = getContextualType2(attributes, 0 /* None */); const allAttributesTable = strictNullChecks ? createSymbolTable() : void 0; let attributesTable = createSymbolTable(); let spread = emptyJsxObjectType; @@ -77122,96 +77566,105 @@ function createTypeChecker(host) { let explicitlySpecifyChildrenAttribute = false; let objectFlags = 2048 /* JsxAttributes */; const jsxChildrenPropertyName = getJsxElementChildrenPropertyName(getJsxNamespaceAt(openingLikeElement)); - for (const attributeDecl of attributes.properties) { - const member = attributeDecl.symbol; - if (isJsxAttribute(attributeDecl)) { - const exprType = checkJsxAttribute(attributeDecl, checkMode); - objectFlags |= getObjectFlags(exprType) & 458752 /* PropagatingFlags */; - const attributeSymbol = createSymbol(4 /* Property */ | member.flags, member.escapedName); - attributeSymbol.declarations = member.declarations; - attributeSymbol.parent = member.parent; - if (member.valueDeclaration) { - attributeSymbol.valueDeclaration = member.valueDeclaration; - } - attributeSymbol.links.type = exprType; - attributeSymbol.links.target = member; - attributesTable.set(attributeSymbol.escapedName, attributeSymbol); - allAttributesTable == null ? void 0 : allAttributesTable.set(attributeSymbol.escapedName, attributeSymbol); - if (getEscapedTextOfJsxAttributeName(attributeDecl.name) === jsxChildrenPropertyName) { - explicitlySpecifyChildrenAttribute = true; - } - if (contextualType) { - const prop = getPropertyOfType(contextualType, member.escapedName); - if (prop && prop.declarations && isDeprecatedSymbol(prop) && isIdentifier(attributeDecl.name)) { - addDeprecatedSuggestion(attributeDecl.name, prop.declarations, attributeDecl.name.escapedText); + const isJsxOpenFragment = isJsxOpeningFragment(openingLikeElement); + let attributesSymbol; + let attributeParent = openingLikeElement; + if (!isJsxOpenFragment) { + const attributes = openingLikeElement.attributes; + attributesSymbol = attributes.symbol; + attributeParent = attributes; + const contextualType = getContextualType2(attributes, 0 /* None */); + for (const attributeDecl of attributes.properties) { + const member = attributeDecl.symbol; + if (isJsxAttribute(attributeDecl)) { + const exprType = checkJsxAttribute(attributeDecl, checkMode); + objectFlags |= getObjectFlags(exprType) & 458752 /* PropagatingFlags */; + const attributeSymbol = createSymbol(4 /* Property */ | member.flags, member.escapedName); + attributeSymbol.declarations = member.declarations; + attributeSymbol.parent = member.parent; + if (member.valueDeclaration) { + attributeSymbol.valueDeclaration = member.valueDeclaration; + } + attributeSymbol.links.type = exprType; + attributeSymbol.links.target = member; + attributesTable.set(attributeSymbol.escapedName, attributeSymbol); + allAttributesTable == null ? void 0 : allAttributesTable.set(attributeSymbol.escapedName, attributeSymbol); + if (getEscapedTextOfJsxAttributeName(attributeDecl.name) === jsxChildrenPropertyName) { + explicitlySpecifyChildrenAttribute = true; + } + if (contextualType) { + const prop = getPropertyOfType(contextualType, member.escapedName); + if (prop && prop.declarations && isDeprecatedSymbol(prop) && isIdentifier(attributeDecl.name)) { + addDeprecatedSuggestion(attributeDecl.name, prop.declarations, attributeDecl.name.escapedText); + } + } + if (contextualType && checkMode & 2 /* Inferential */ && !(checkMode & 4 /* SkipContextSensitive */) && isContextSensitive(attributeDecl)) { + const inferenceContext = getInferenceContext(attributes); + Debug.assert(inferenceContext); + const inferenceNode = attributeDecl.initializer.expression; + addIntraExpressionInferenceSite(inferenceContext, inferenceNode, exprType); + } + } else { + Debug.assert(attributeDecl.kind === 293 /* JsxSpreadAttribute */); + if (attributesTable.size > 0) { + spread = getSpreadType( + spread, + createJsxAttributesTypeHelper(), + attributes.symbol, + objectFlags, + /*readonly*/ + false + ); + attributesTable = createSymbolTable(); + } + const exprType = getReducedType(checkExpression(attributeDecl.expression, checkMode & 2 /* Inferential */)); + if (isTypeAny(exprType)) { + hasSpreadAnyType = true; + } + if (isValidSpreadType(exprType)) { + spread = getSpreadType( + spread, + exprType, + attributes.symbol, + objectFlags, + /*readonly*/ + false + ); + if (allAttributesTable) { + checkSpreadPropOverrides(exprType, allAttributesTable, attributeDecl); + } + } else { + error2(attributeDecl.expression, Diagnostics.Spread_types_may_only_be_created_from_object_types); + typeToIntersect = typeToIntersect ? getIntersectionType([typeToIntersect, exprType]) : exprType; } } - if (contextualType && checkMode & 2 /* Inferential */ && !(checkMode & 4 /* SkipContextSensitive */) && isContextSensitive(attributeDecl)) { - const inferenceContext = getInferenceContext(attributes); - Debug.assert(inferenceContext); - const inferenceNode = attributeDecl.initializer.expression; - addIntraExpressionInferenceSite(inferenceContext, inferenceNode, exprType); - } - } else { - Debug.assert(attributeDecl.kind === 293 /* JsxSpreadAttribute */); + } + if (!hasSpreadAnyType) { if (attributesTable.size > 0) { spread = getSpreadType( spread, - createJsxAttributesType(), - attributes.symbol, - objectFlags, - /*readonly*/ - false - ); - attributesTable = createSymbolTable(); - } - const exprType = getReducedType(checkExpression(attributeDecl.expression, checkMode & 2 /* Inferential */)); - if (isTypeAny(exprType)) { - hasSpreadAnyType = true; - } - if (isValidSpreadType(exprType)) { - spread = getSpreadType( - spread, - exprType, + createJsxAttributesTypeHelper(), attributes.symbol, objectFlags, /*readonly*/ false ); - if (allAttributesTable) { - checkSpreadPropOverrides(exprType, allAttributesTable, attributeDecl); - } - } else { - error2(attributeDecl.expression, Diagnostics.Spread_types_may_only_be_created_from_object_types); - typeToIntersect = typeToIntersect ? getIntersectionType([typeToIntersect, exprType]) : exprType; } } } - if (!hasSpreadAnyType) { - if (attributesTable.size > 0) { - spread = getSpreadType( - spread, - createJsxAttributesType(), - attributes.symbol, - objectFlags, - /*readonly*/ - false - ); - } - } - const parent2 = openingLikeElement.parent.kind === 284 /* JsxElement */ ? openingLikeElement.parent : void 0; - if (parent2 && parent2.openingElement === openingLikeElement && getSemanticJsxChildren(parent2.children).length > 0) { + const parent2 = openingLikeElement.parent; + if ((isJsxElement(parent2) && parent2.openingElement === openingLikeElement || isJsxFragment(parent2) && parent2.openingFragment === openingLikeElement) && getSemanticJsxChildren(parent2.children).length > 0) { const childrenTypes = checkJsxChildren(parent2, checkMode); if (!hasSpreadAnyType && jsxChildrenPropertyName && jsxChildrenPropertyName !== "") { if (explicitlySpecifyChildrenAttribute) { - error2(attributes, Diagnostics._0_are_specified_twice_The_attribute_named_0_will_be_overwritten, unescapeLeadingUnderscores(jsxChildrenPropertyName)); + error2(attributeParent, Diagnostics._0_are_specified_twice_The_attribute_named_0_will_be_overwritten, unescapeLeadingUnderscores(jsxChildrenPropertyName)); } - const contextualType2 = getApparentTypeOfContextualType( + const contextualType = isJsxOpeningElement(openingLikeElement) ? getApparentTypeOfContextualType( openingLikeElement.attributes, /*contextFlags*/ void 0 - ); - const childrenContextualType = contextualType2 && getTypeOfPropertyOfContextualType(contextualType2, jsxChildrenPropertyName); + ) : void 0; + const childrenContextualType = contextualType && getTypeOfPropertyOfContextualType(contextualType, jsxChildrenPropertyName); const childrenPropSymbol = createSymbol(4 /* Property */, jsxChildrenPropertyName); childrenPropSymbol.links.type = childrenTypes.length === 1 ? childrenTypes[0] : childrenContextualType && someType(childrenContextualType, isTupleLikeType) ? createTupleType(childrenTypes) : createArrayType(getUnionType(childrenTypes)); childrenPropSymbol.valueDeclaration = factory.createPropertySignature( @@ -77223,14 +77676,14 @@ function createTypeChecker(host) { /*type*/ void 0 ); - setParent(childrenPropSymbol.valueDeclaration, attributes); + setParent(childrenPropSymbol.valueDeclaration, attributeParent); childrenPropSymbol.valueDeclaration.symbol = childrenPropSymbol; const childPropMap = createSymbolTable(); childPropMap.set(jsxChildrenPropertyName, childrenPropSymbol); spread = getSpreadType( spread, - createAnonymousType(attributes.symbol, childPropMap, emptyArray, emptyArray, emptyArray), - attributes.symbol, + createAnonymousType(attributesSymbol, childPropMap, emptyArray, emptyArray, emptyArray), + attributesSymbol, objectFlags, /*readonly*/ false @@ -77243,14 +77696,17 @@ function createTypeChecker(host) { if (typeToIntersect && spread !== emptyJsxObjectType) { return getIntersectionType([typeToIntersect, spread]); } - return typeToIntersect || (spread === emptyJsxObjectType ? createJsxAttributesType() : spread); - function createJsxAttributesType() { + return typeToIntersect || (spread === emptyJsxObjectType ? createJsxAttributesTypeHelper() : spread); + function createJsxAttributesTypeHelper() { objectFlags |= 8192 /* FreshLiteral */; - const result = createAnonymousType(attributes.symbol, attributesTable, emptyArray, emptyArray, emptyArray); - result.objectFlags |= objectFlags | 128 /* ObjectLiteral */ | 131072 /* ContainsObjectOrArrayLiteral */; - return result; + return createJsxAttributesType(objectFlags, attributesSymbol, attributesTable); } } + function createJsxAttributesType(objectFlags, attributesSymbol, attributesTable) { + const result = createAnonymousType(attributesSymbol, attributesTable, emptyArray, emptyArray, emptyArray); + result.objectFlags |= objectFlags | 8192 /* FreshLiteral */ | 128 /* ObjectLiteral */ | 131072 /* ContainsObjectOrArrayLiteral */; + return result; + } function checkJsxChildren(node, checkMode) { const childrenTypes = []; for (const child of node.children) { @@ -77332,7 +77788,7 @@ function createTypeChecker(host) { return void 0; } const isClassic = getEmitModuleResolutionKind(compilerOptions) === 1 /* Classic */; - const errorMessage = isClassic ? Diagnostics.Cannot_find_module_0_Did_you_mean_to_set_the_moduleResolution_option_to_nodenext_or_to_add_aliases_to_the_paths_option : Diagnostics.Cannot_find_module_0_or_its_corresponding_type_declarations; + const errorMessage = isClassic ? Diagnostics.Cannot_find_module_0_Did_you_mean_to_set_the_moduleResolution_option_to_nodenext_or_to_add_aliases_to_the_paths_option : Diagnostics.This_JSX_tag_requires_the_module_path_0_to_exist_but_none_could_be_found_Make_sure_you_have_types_for_the_appropriate_package_installed; const specifier = getJSXRuntimeImportSpecifier(file, runtimeImportSpecifier); const mod = resolveExternalModule(specifier || location, runtimeImportSpecifier, errorMessage, location); const result = mod && mod !== unknownSymbol ? getMergedSymbol(resolveSymbol(mod)) : void 0; @@ -77556,10 +78012,10 @@ function createTypeChecker(host) { } checkJsxPreconditions(node); markJsxAliasReferenced(node); + const sig = getResolvedSignature(node); + checkDeprecatedSignature(sig, node); if (isNodeOpeningLikeElement) { const jsxOpeningLikeNode = node; - const sig = getResolvedSignature(jsxOpeningLikeNode); - checkDeprecatedSignature(sig, node); const elementTypeConstraint = getJsxElementTypeTypeAt(jsxOpeningLikeNode); if (elementTypeConstraint !== void 0) { const tagName = jsxOpeningLikeNode.tagName; @@ -77960,7 +78416,7 @@ function createTypeChecker(host) { const isAnyLike = isTypeAny(apparentType) || apparentType === silentNeverType; let prop; if (isPrivateIdentifier(right)) { - if (languageVersion < 9 /* PrivateNamesAndClassStaticBlocks */ || languageVersion < 99 /* ClassAndClassElementDecorators */ || !useDefineForClassFields) { + if (languageVersion < LanguageFeatureMinimumTarget.PrivateNamesAndClassStaticBlocks || languageVersion < LanguageFeatureMinimumTarget.ClassAndClassElementDecorators || !useDefineForClassFields) { if (assignmentKind !== 0 /* None */) { checkExternalEmitHelpers(node, 1048576 /* ClassPrivateFieldSet */); } @@ -78583,6 +79039,7 @@ function createTypeChecker(host) { return !!(t.flags & (16384 /* Void */ | 32768 /* Undefined */ | 2 /* Unknown */ | 1 /* Any */)); } function hasCorrectArity(node, args, signature, signatureHelpTrailingComma = false) { + if (isJsxOpeningFragment(node)) return true; let argCount; let callIsIncomplete = false; let effectiveParameterCount = getParameterCount(signature); @@ -78856,9 +79313,9 @@ function createTypeChecker(host) { } return 2 /* Mixed */; } - function checkApplicableSignatureForJsxOpeningLikeElement(node, signature, relation, checkMode, reportErrors2, containingMessageChain, errorOutputContainer) { + function checkApplicableSignatureForJsxCallLikeElement(node, signature, relation, checkMode, reportErrors2, containingMessageChain, errorOutputContainer) { const paramType = getEffectiveFirstArgumentForJsxSignature(signature, node); - const attributesType = checkExpressionWithContextualType( + const attributesType = isJsxOpeningFragment(node) ? createJsxAttributesTypeFromAttributesProperty(node) : checkExpressionWithContextualType( node.attributes, paramType, /*inferenceContext*/ @@ -78870,8 +79327,8 @@ function createTypeChecker(host) { checkAttributesType, paramType, relation, - reportErrors2 ? node.tagName : void 0, - node.attributes, + reportErrors2 ? isJsxOpeningFragment(node) ? node : node.tagName : void 0, + isJsxOpeningFragment(node) ? void 0 : node.attributes, /*headMessage*/ void 0, containingMessageChain, @@ -78942,10 +79399,11 @@ function createTypeChecker(host) { return true; } if (reportErrors2) { - const diag2 = createDiagnosticForNode(node.tagName, Diagnostics.Tag_0_expects_at_least_1_arguments_but_the_JSX_factory_2_provides_at_most_3, entityNameToString(node.tagName), absoluteMinArgCount, entityNameToString(factory2), maxParamCount); - const tagNameDeclaration = (_a = getSymbolAtLocation(node.tagName)) == null ? void 0 : _a.valueDeclaration; + const tagName = node.tagName; + const diag2 = createDiagnosticForNode(tagName, Diagnostics.Tag_0_expects_at_least_1_arguments_but_the_JSX_factory_2_provides_at_most_3, entityNameToString(tagName), absoluteMinArgCount, entityNameToString(factory2), maxParamCount); + const tagNameDeclaration = (_a = getSymbolAtLocation(tagName)) == null ? void 0 : _a.valueDeclaration; if (tagNameDeclaration) { - addRelatedInfo(diag2, createDiagnosticForNode(tagNameDeclaration, Diagnostics._0_is_declared_here, entityNameToString(node.tagName))); + addRelatedInfo(diag2, createDiagnosticForNode(tagNameDeclaration, Diagnostics._0_is_declared_here, entityNameToString(tagName))); } if (errorOutputContainer && errorOutputContainer.skipLogging) { (errorOutputContainer.errors || (errorOutputContainer.errors = [])).push(diag2); @@ -78963,8 +79421,8 @@ function createTypeChecker(host) { } function getSignatureApplicabilityError(node, args, signature, relation, checkMode, reportErrors2, containingMessageChain, inferenceContext) { const errorOutputContainer = { errors: void 0, skipLogging: true }; - if (isJsxOpeningLikeElement(node)) { - if (!checkApplicableSignatureForJsxOpeningLikeElement(node, signature, relation, checkMode, reportErrors2, containingMessageChain, errorOutputContainer)) { + if (isJsxCallLike(node)) { + if (!checkApplicableSignatureForJsxCallLikeElement(node, signature, relation, checkMode, reportErrors2, containingMessageChain, errorOutputContainer)) { Debug.assert(!reportErrors2 || !!errorOutputContainer.errors, "jsx should have errors when reporting errors"); return errorOutputContainer.errors || emptyArray; } @@ -79064,6 +79522,9 @@ function createTypeChecker(host) { return result; } function getEffectiveCallArguments(node) { + if (isJsxOpeningFragment(node)) { + return [createSyntheticExpression(node, emptyFreshJsxObjectType)]; + } if (node.kind === 215 /* TaggedTemplateExpression */) { const template = node.template; const args2 = [createSyntheticExpression(template, getGlobalTemplateStringsArrayType())]; @@ -79348,25 +79809,32 @@ function createTypeChecker(host) { const isTaggedTemplate = node.kind === 215 /* TaggedTemplateExpression */; const isDecorator2 = node.kind === 170 /* Decorator */; const isJsxOpeningOrSelfClosingElement = isJsxOpeningLikeElement(node); + const isJsxOpenFragment = isJsxOpeningFragment(node); const isInstanceof = node.kind === 226 /* BinaryExpression */; const reportErrors2 = !isInferencePartiallyBlocked && !candidatesOutArray; + let candidatesForArgumentError; + let candidateForArgumentArityError; + let candidateForTypeArgumentError; + let result; + let argCheckMode = 0 /* Normal */; + let candidates = []; let typeArguments; - if (!isDecorator2 && !isInstanceof && !isSuperCall(node)) { + if (!isDecorator2 && !isInstanceof && !isSuperCall(node) && !isJsxOpenFragment) { typeArguments = node.typeArguments; if (isTaggedTemplate || isJsxOpeningOrSelfClosingElement || node.expression.kind !== 108 /* SuperKeyword */) { forEach(typeArguments, checkSourceElement); } } - const candidates = candidatesOutArray || []; + candidates = candidatesOutArray || []; reorderCandidates(signatures, candidates, callChainFlags); - Debug.assert(candidates.length, "Revert #54442 and add a testcase with whatever triggered this"); + if (!isJsxOpenFragment) { + Debug.assert(candidates.length, "Revert #54442 and add a testcase with whatever triggered this"); + } const args = getEffectiveCallArguments(node); const isSingleNonGenericCandidate = candidates.length === 1 && !candidates[0].typeParameters; - let argCheckMode = !isDecorator2 && !isSingleNonGenericCandidate && some(args, isContextSensitive) ? 4 /* SkipContextSensitive */ : 0 /* Normal */; - let candidatesForArgumentError; - let candidateForArgumentArityError; - let candidateForTypeArgumentError; - let result; + if (!isDecorator2 && !isSingleNonGenericCandidate && some(args, isContextSensitive)) { + argCheckMode = 4 /* SkipContextSensitive */; + } const signatureHelpTrailingComma = !!(checkMode & 16 /* IsForSignatureHelp */) && node.kind === 213 /* CallExpression */ && node.arguments.hasTrailingComma; if (candidates.length > 1) { result = chooseOverload(candidates, subtypeRelation, isSingleNonGenericCandidate, signatureHelpTrailingComma); @@ -79486,7 +79954,7 @@ function createTypeChecker(host) { true, headMessage ); - } else { + } else if (!isJsxOpenFragment) { const signaturesWithCorrectTypeArgumentArity = filter(signatures, (s) => hasCorrectTypeArgumentArity(s, typeArguments)); if (signaturesWithCorrectTypeArgumentArity.length === 0) { diagnostics.add(getTypeArgumentArityError(node, signatures, typeArguments, headMessage)); @@ -79496,12 +79964,12 @@ function createTypeChecker(host) { } } return result; - function addImplementationSuccessElaboration(failed, diagnostic) { + function addImplementationSuccessElaboration(failed2, diagnostic) { var _a, _b; const oldCandidatesForArgumentError = candidatesForArgumentError; const oldCandidateForArgumentArityError = candidateForArgumentArityError; const oldCandidateForTypeArgumentError = candidateForTypeArgumentError; - const failedSignatureDeclarations = ((_b = (_a = failed.declaration) == null ? void 0 : _a.symbol) == null ? void 0 : _b.declarations) || emptyArray; + const failedSignatureDeclarations = ((_b = (_a = failed2.declaration) == null ? void 0 : _a.symbol) == null ? void 0 : _b.declarations) || emptyArray; const isOverload2 = failedSignatureDeclarations.length > 1; const implDecl = isOverload2 ? find(failedSignatureDeclarations, (d) => isFunctionLikeDeclaration(d) && nodeIsPresent(d.body)) : void 0; if (implDecl) { @@ -80134,24 +80602,53 @@ function createTypeChecker(host) { 0 /* None */ ); } + function getJSXFragmentType(node) { + const sourceFileLinks = getNodeLinks(getSourceFileOfNode(node)); + if (sourceFileLinks.jsxFragmentType !== void 0) return sourceFileLinks.jsxFragmentType; + const jsxFragmentFactoryName = getJsxNamespace(node); + if (jsxFragmentFactoryName === "null") return sourceFileLinks.jsxFragmentType = anyType; + const jsxFactoryRefErr = diagnostics ? Diagnostics.Using_JSX_fragments_requires_fragment_factory_0_to_be_in_scope_but_it_could_not_be_found : void 0; + const jsxFactorySymbol = getJsxNamespaceContainerForImplicitImport(node) ?? resolveName( + node, + jsxFragmentFactoryName, + compilerOptions.jsx === 1 /* Preserve */ ? 111551 /* Value */ & ~384 /* Enum */ : 111551 /* Value */, + /*nameNotFoundMessage*/ + jsxFactoryRefErr, + /*isUse*/ + true + ); + if (jsxFactorySymbol === void 0) return sourceFileLinks.jsxFragmentType = errorType; + if (jsxFactorySymbol.escapedName === ReactNames.Fragment) return sourceFileLinks.jsxFragmentType = getTypeOfSymbol(jsxFactorySymbol); + const resolvedAlias = (jsxFactorySymbol.flags & 2097152 /* Alias */) === 0 ? jsxFactorySymbol : resolveAlias(jsxFactorySymbol); + const reactExports = jsxFactorySymbol && getExportsOfSymbol(resolvedAlias); + const typeSymbol = reactExports && getSymbol2(reactExports, ReactNames.Fragment, 2 /* BlockScopedVariable */); + const type = typeSymbol && getTypeOfSymbol(typeSymbol); + return sourceFileLinks.jsxFragmentType = type === void 0 ? errorType : type; + } function resolveJsxOpeningLikeElement(node, candidatesOutArray, checkMode) { - if (isJsxIntrinsicTagName(node.tagName)) { - const result = getIntrinsicAttributesTypeFromJsxOpeningLikeElement(node); - const fakeSignature = createSignatureForJSXIntrinsic(node, result); - checkTypeAssignableToAndOptionallyElaborate(checkExpressionWithContextualType( - node.attributes, - getEffectiveFirstArgumentForJsxSignature(fakeSignature, node), - /*inferenceContext*/ - void 0, - 0 /* Normal */ - ), result, node.tagName, node.attributes); - if (length(node.typeArguments)) { - forEach(node.typeArguments, checkSourceElement); - diagnostics.add(createDiagnosticForNodeArray(getSourceFileOfNode(node), node.typeArguments, Diagnostics.Expected_0_type_arguments_but_got_1, 0, length(node.typeArguments))); + const isJsxOpenFragment = isJsxOpeningFragment(node); + let exprTypes; + if (!isJsxOpenFragment) { + if (isJsxIntrinsicTagName(node.tagName)) { + const result = getIntrinsicAttributesTypeFromJsxOpeningLikeElement(node); + const fakeSignature = createSignatureForJSXIntrinsic(node, result); + checkTypeAssignableToAndOptionallyElaborate(checkExpressionWithContextualType( + node.attributes, + getEffectiveFirstArgumentForJsxSignature(fakeSignature, node), + /*inferenceContext*/ + void 0, + 0 /* Normal */ + ), result, node.tagName, node.attributes); + if (length(node.typeArguments)) { + forEach(node.typeArguments, checkSourceElement); + diagnostics.add(createDiagnosticForNodeArray(getSourceFileOfNode(node), node.typeArguments, Diagnostics.Expected_0_type_arguments_but_got_1, 0, length(node.typeArguments))); + } + return fakeSignature; } - return fakeSignature; + exprTypes = checkExpression(node.tagName); + } else { + exprTypes = getJSXFragmentType(node); } - const exprTypes = checkExpression(node.tagName); const apparentType = getApparentType(exprTypes); if (isErrorType(apparentType)) { return resolveErrorCall(node); @@ -80167,7 +80664,11 @@ function createTypeChecker(host) { return resolveUntypedCall(node); } if (signatures.length === 0) { - error2(node.tagName, Diagnostics.JSX_element_type_0_does_not_have_any_construct_or_call_signatures, getTextOfNode(node.tagName)); + if (isJsxOpenFragment) { + error2(node, Diagnostics.JSX_element_type_0_does_not_have_any_construct_or_call_signatures, getTextOfNode(node)); + } else { + error2(node.tagName, Diagnostics.JSX_element_type_0_does_not_have_any_construct_or_call_signatures, getTextOfNode(node.tagName)); + } return resolveErrorCall(node); } return resolveCall(node, signatures, candidatesOutArray, checkMode, 0 /* None */); @@ -80209,6 +80710,7 @@ function createTypeChecker(host) { return resolveTaggedTemplateExpression(node, candidatesOutArray, checkMode); case 170 /* Decorator */: return resolveDecorator(node, candidatesOutArray, checkMode); + case 289 /* JsxOpeningFragment */: case 286 /* JsxOpeningElement */: case 285 /* JsxSelfClosingElement */: return resolveJsxOpeningLikeElement(node, candidatesOutArray, checkMode); @@ -80577,7 +81079,7 @@ function createTypeChecker(host) { } function checkTaggedTemplateExpression(node) { if (!checkGrammarTaggedTemplateChain(node)) checkGrammarTypeArguments(node, node.typeArguments); - if (languageVersion < 2 /* TaggedTemplates */) { + if (languageVersion < LanguageFeatureMinimumTarget.TaggedTemplates) { checkExternalEmitHelpers(node, 262144 /* MakeTemplateObject */); } const signature = getResolvedSignature(node); @@ -80696,9 +81198,17 @@ function createTypeChecker(host) { if (exprType === silentNeverType || isErrorType(exprType) || !some(typeArguments)) { return exprType; } + const links = getNodeLinks(node); + if (!links.instantiationExpressionTypes) { + links.instantiationExpressionTypes = /* @__PURE__ */ new Map(); + } + if (links.instantiationExpressionTypes.has(exprType.id)) { + return links.instantiationExpressionTypes.get(exprType.id); + } let hasSomeApplicableSignature = false; let nonApplicableType; const result = getInstantiatedType(exprType); + links.instantiationExpressionTypes.set(exprType.id, result); const errorType2 = hasSomeApplicableSignature ? nonApplicableType : exprType; if (errorType2) { diagnostics.add(createDiagnosticForNodeArray(getSourceFileOfNode(node), typeArguments, Diagnostics.Type_0_has_no_signatures_for_which_the_type_argument_list_is_applicable, typeToString(errorType2))); @@ -81753,7 +82263,7 @@ function createTypeChecker(host) { }); } function checkIfExpressionRefinesParameter(func, expr, param, initType) { - const antecedent = expr.flowNode || expr.parent.kind === 253 /* ReturnStatement */ && expr.parent.flowNode || createFlowNode( + const antecedent = canHaveFlowNode(expr) && expr.flowNode || expr.parent.kind === 253 /* ReturnStatement */ && expr.parent.flowNode || createFlowNode( 2 /* Start */, /*node*/ void 0, @@ -82072,6 +82582,7 @@ function createTypeChecker(host) { hasError = true; break; } + // fallthrough case 7 /* ES2022 */: case 99 /* ESNext */: case 200 /* Preserve */: @@ -82079,6 +82590,7 @@ function createTypeChecker(host) { if (languageVersion >= 4 /* ES2017 */) { break; } + // fallthrough default: span ?? (span = getSpanOfTokenAtPosition(sourceFile, node.pos)); const message = isAwaitExpression(node) ? Diagnostics.Top_level_await_expressions_are_only_allowed_when_the_module_option_is_set_to_es2022_esnext_system_node16_nodenext_or_preserve_and_the_target_option_is_set_to_es2017_or_higher : Diagnostics.Top_level_await_using_statements_are_only_allowed_when_the_module_option_is_set_to_es2022_esnext_system_node16_nodenext_or_preserve_and_the_target_option_is_set_to_es2017_or_higher; @@ -82287,7 +82799,7 @@ function createTypeChecker(host) { return silentNeverType; } if (isPrivateIdentifier(left)) { - if (languageVersion < 9 /* PrivateNamesAndClassStaticBlocks */ || languageVersion < 99 /* ClassAndClassElementDecorators */ || !useDefineForClassFields) { + if (languageVersion < LanguageFeatureMinimumTarget.PrivateNamesAndClassStaticBlocks || languageVersion < LanguageFeatureMinimumTarget.ClassAndClassElementDecorators || !useDefineForClassFields) { checkExternalEmitHelpers(left, 2097152 /* ClassPrivateFieldIn */); } if (!getNodeLinks(left).resolvedSymbol && getContainingClass(left)) { @@ -82348,7 +82860,7 @@ function createTypeChecker(host) { if (propertyIndex < properties.length - 1) { error2(property, Diagnostics.A_rest_element_must_be_last_in_a_destructuring_pattern); } else { - if (languageVersion < 5 /* ObjectSpreadRest */) { + if (languageVersion < LanguageFeatureMinimumTarget.ObjectSpreadRest) { checkExternalEmitHelpers(property, 4 /* Rest */); } const nonRestNames = []; @@ -82369,7 +82881,7 @@ function createTypeChecker(host) { } function checkArrayLiteralAssignment(node, sourceType, checkMode) { const elements = node.elements; - if (languageVersion < 2 /* DestructuringAssignment */ && compilerOptions.downlevelIteration) { + if (languageVersion < LanguageFeatureMinimumTarget.DestructuringAssignment && compilerOptions.downlevelIteration) { checkExternalEmitHelpers(node, 512 /* Read */); } const possiblyOutOfBoundsType = checkIteratedTypeOrElementType(65 /* Destructuring */ | 128 /* PossiblyOutOfBounds */, sourceType, undefinedType, node) || errorType; @@ -82496,9 +83008,13 @@ function createTypeChecker(host) { return true; } return false; + // Some forms listed here for clarity case 222 /* VoidExpression */: + // Explicit opt-out case 216 /* TypeAssertionExpression */: + // Not SEF, but can produce useful type warnings case 234 /* AsExpression */: + // Not SEF, but can produce useful type warnings default: return false; } @@ -83139,10 +83655,10 @@ function createTypeChecker(host) { } const isAsync = (functionFlags & 2 /* Async */) !== 0; if (node.asteriskToken) { - if (isAsync && languageVersion < 5 /* AsyncGenerators */) { + if (isAsync && languageVersion < LanguageFeatureMinimumTarget.AsyncGenerators) { checkExternalEmitHelpers(node, 26624 /* AsyncDelegatorIncludes */); } - if (!isAsync && languageVersion < 2 /* Generators */ && compilerOptions.downlevelIteration) { + if (!isAsync && languageVersion < LanguageFeatureMinimumTarget.Generators && compilerOptions.downlevelIteration) { checkExternalEmitHelpers(node, 256 /* Values */); } } @@ -83747,6 +84263,7 @@ function createTypeChecker(host) { if (node.expression.kind === 102 /* ImportKeyword */) { return checkImportCallExpression(node); } + // falls through case 214 /* NewExpression */: return checkCallExpression(node, checkMode); case 215 /* TaggedTemplateExpression */: @@ -83835,7 +84352,7 @@ function createTypeChecker(host) { const modifiers = getTypeParameterModifiers(typeParameter) & (8192 /* In */ | 16384 /* Out */); if (modifiers) { const symbol = getSymbolOfDeclaration(node.parent); - if (isTypeAliasDeclaration(node.parent) && !(getObjectFlags(getDeclaredTypeOfSymbol(symbol)) & (4 /* Reference */ | 16 /* Anonymous */ | 32 /* Mapped */))) { + if (isTypeAliasDeclaration(node.parent) && !(getObjectFlags(getDeclaredTypeOfSymbol(symbol)) & (16 /* Anonymous */ | 32 /* Mapped */))) { error2(node, Diagnostics.Variance_annotations_are_only_supported_in_type_aliases_for_object_function_constructor_and_mapped_types); } else if (modifiers === 8192 /* In */ || modifiers === 16384 /* Out */) { (_a = tracing) == null ? void 0 : _a.push(tracing.Phase.CheckTypes, "checkTypeParameterDeferred", { parent: getTypeId(getDeclaredTypeOfSymbol(symbol)), id: getTypeId(typeParameter) }); @@ -83974,13 +84491,13 @@ function createTypeChecker(host) { } const functionFlags = getFunctionFlags(node); if (!(functionFlags & 4 /* Invalid */)) { - if ((functionFlags & 3 /* AsyncGenerator */) === 3 /* AsyncGenerator */ && languageVersion < 5 /* AsyncGenerators */) { + if ((functionFlags & 3 /* AsyncGenerator */) === 3 /* AsyncGenerator */ && languageVersion < LanguageFeatureMinimumTarget.AsyncGenerators) { checkExternalEmitHelpers(node, 6144 /* AsyncGeneratorIncludes */); } - if ((functionFlags & 3 /* AsyncGenerator */) === 2 /* Async */ && languageVersion < 4 /* AsyncFunctions */) { + if ((functionFlags & 3 /* AsyncGenerator */) === 2 /* Async */ && languageVersion < LanguageFeatureMinimumTarget.AsyncFunctions) { checkExternalEmitHelpers(node, 64 /* Awaiter */); } - if ((functionFlags & 3 /* AsyncGenerator */) !== 0 /* Normal */ && languageVersion < 2 /* Generators */) { + if ((functionFlags & 3 /* AsyncGenerator */) !== 0 /* Normal */ && languageVersion < LanguageFeatureMinimumTarget.Generators) { checkExternalEmitHelpers(node, 128 /* Generator */); } } @@ -84116,6 +84633,7 @@ function createTypeChecker(host) { if (useDefineForClassFields) { break; } + // fall through case "prototype": const message = Diagnostics.Static_property_0_conflicts_with_built_in_property_Function_0_of_constructor_function_1; const className = getNameOfSymbolAsWritten(getSymbolOfDeclaration(node)); @@ -84162,15 +84680,17 @@ function createTypeChecker(host) { if (indexSymbol == null ? void 0 : indexSymbol.declarations) { const indexSignatureMap = /* @__PURE__ */ new Map(); for (const declaration of indexSymbol.declarations) { - if (declaration.parameters.length === 1 && declaration.parameters[0].type) { - forEachType(getTypeFromTypeNode(declaration.parameters[0].type), (type) => { - const entry = indexSignatureMap.get(getTypeId(type)); - if (entry) { - entry.declarations.push(declaration); - } else { - indexSignatureMap.set(getTypeId(type), { type, declarations: [declaration] }); - } - }); + if (isIndexSignatureDeclaration(declaration)) { + if (declaration.parameters.length === 1 && declaration.parameters[0].type) { + forEachType(getTypeFromTypeNode(declaration.parameters[0].type), (type) => { + const entry = indexSignatureMap.get(getTypeId(type)); + if (entry) { + entry.declarations.push(declaration); + } else { + indexSignatureMap.set(getTypeId(type), { type, declarations: [declaration] }); + } + }); + } } } indexSignatureMap.forEach((entry) => { @@ -84212,7 +84732,7 @@ function createTypeChecker(host) { } function setNodeLinksForPrivateIdentifierScope(node) { if (isPrivateIdentifier(node.name)) { - if (languageVersion < 9 /* PrivateNamesAndClassStaticBlocks */ || languageVersion < 99 /* ClassAndClassElementDecorators */ || !useDefineForClassFields) { + if (languageVersion < LanguageFeatureMinimumTarget.PrivateNamesAndClassStaticBlocks || languageVersion < LanguageFeatureMinimumTarget.ClassAndClassElementDecorators || !useDefineForClassFields) { for (let lexicalScope = getEnclosingBlockScopeContainer(node); !!lexicalScope; lexicalScope = getEnclosingBlockScopeContainer(lexicalScope)) { getNodeLinks(lexicalScope).flags |= 1048576 /* ContainsClassWithPrivateIdentifiers */; } @@ -84859,6 +85379,8 @@ function createTypeChecker(host) { switch (d.kind) { case 264 /* InterfaceDeclaration */: case 265 /* TypeAliasDeclaration */: + // A jsdoc typedef and callback are, by definition, type aliases. + // falls through case 346 /* JSDocTypedefTag */: case 338 /* JSDocCallbackTag */: case 340 /* JSDocEnumTag */: @@ -84879,6 +85401,8 @@ function createTypeChecker(host) { return 1 /* ExportValue */; } d = expression; + // The below options all declare an Alias, which is allowed to merge with other values within the importing module. + // falls through case 271 /* ImportEqualsDeclaration */: case 274 /* NamespaceImport */: case 273 /* ImportClause */: @@ -84892,6 +85416,7 @@ function createTypeChecker(host) { case 208 /* BindingElement */: case 262 /* FunctionDeclaration */: case 276 /* ImportSpecifier */: + // https://github.com/Microsoft/TypeScript/pull/7591 case 80 /* Identifier */: return 1 /* ExportValue */; case 173 /* MethodSignature */: @@ -85240,6 +85765,7 @@ function createTypeChecker(host) { headMessage = Diagnostics.Decorator_function_return_type_0_is_not_assignable_to_type_1; break; } + // falls through case 169 /* Parameter */: headMessage = Diagnostics.Decorator_function_return_type_is_0_but_is_expected_to_be_void_or_any; break; @@ -85346,7 +85872,7 @@ function createTypeChecker(host) { if (node.kind === 169 /* Parameter */) { checkExternalEmitHelpers(firstDecorator, 32 /* Param */); } - } else if (languageVersion < 99 /* ClassAndClassElementDecorators */) { + } else if (languageVersion < LanguageFeatureMinimumTarget.ClassAndClassElementDecorators) { checkExternalEmitHelpers(firstDecorator, 8 /* ESDecorateAndRunInitializers */); if (isClassDeclaration(node)) { if (!node.name) { @@ -86012,7 +86538,7 @@ function createTypeChecker(host) { potentialUnusedRenamedBindingElementsInTypes.push(node); return; } - if (isObjectBindingPattern(node.parent) && node.dotDotDotToken && languageVersion < 5 /* ObjectSpreadRest */) { + if (isObjectBindingPattern(node.parent) && node.dotDotDotToken && languageVersion < LanguageFeatureMinimumTarget.ObjectSpreadRest) { checkExternalEmitHelpers(node, 4 /* Rest */); } if (node.propertyName && node.propertyName.kind === 167 /* ComputedPropertyName */) { @@ -86048,7 +86574,7 @@ function createTypeChecker(host) { } } if (isBindingPattern(node.name)) { - if (node.name.kind === 207 /* ArrayBindingPattern */ && languageVersion < 2 /* BindingPatterns */ && compilerOptions.downlevelIteration) { + if (node.name.kind === 207 /* ArrayBindingPattern */ && languageVersion < LanguageFeatureMinimumTarget.BindingPatterns && compilerOptions.downlevelIteration) { checkExternalEmitHelpers(node, 512 /* Read */); } forEach(node.name.elements, checkSourceElement); @@ -86202,7 +86728,7 @@ function createTypeChecker(host) { } function checkVariableDeclarationList(node) { const blockScopeKind = getCombinedNodeFlags(node) & 7 /* BlockScoped */; - if ((blockScopeKind === 4 /* Using */ || blockScopeKind === 6 /* AwaitUsing */) && languageVersion < 99 /* UsingAndAwaitUsing */) { + if ((blockScopeKind === 4 /* Using */ || blockScopeKind === 6 /* AwaitUsing */) && languageVersion < LanguageFeatureMinimumTarget.UsingAndAwaitUsing) { checkExternalEmitHelpers(node, 16777216 /* AddDisposableResourceAndDisposeResources */); } forEach(node.declarations, checkSourceElement); @@ -86416,11 +86942,11 @@ function createTypeChecker(host) { grammarErrorOnNode(node.awaitModifier, Diagnostics.for_await_loops_cannot_be_used_inside_a_class_static_block); } else { const functionFlags = getFunctionFlags(container); - if ((functionFlags & (4 /* Invalid */ | 2 /* Async */)) === 2 /* Async */ && languageVersion < 5 /* ForAwaitOf */) { + if ((functionFlags & (4 /* Invalid */ | 2 /* Async */)) === 2 /* Async */ && languageVersion < LanguageFeatureMinimumTarget.ForAwaitOf) { checkExternalEmitHelpers(node, 16384 /* ForAwaitOfIncludes */); } } - } else if (compilerOptions.downlevelIteration && languageVersion < 2 /* ForOf */) { + } else if (compilerOptions.downlevelIteration && languageVersion < LanguageFeatureMinimumTarget.ForOf) { checkExternalEmitHelpers(node, 256 /* ForOfIncludes */); } if (node.initializer.kind === 261 /* VariableDeclarationList */) { @@ -86653,7 +87179,7 @@ function createTypeChecker(host) { return anyIterationTypes; } if (!(type.flags & 1048576 /* Union */)) { - const errorOutputContainer = errorNode ? { errors: void 0 } : void 0; + const errorOutputContainer = errorNode ? { errors: void 0, skipLogging: true } : void 0; const iterationTypes2 = getIterationTypesOfIterableWorker(type, use, errorNode, errorOutputContainer); if (iterationTypes2 === noIterationTypes) { if (errorNode) { @@ -86821,11 +87347,27 @@ function createTypeChecker(host) { if (isTypeAny(methodType)) { return noCache ? anyIterationTypes : setCachedIterationTypes(type, resolver.iterableCacheKey, anyIterationTypes); } - const signatures = methodType ? getSignaturesOfType(methodType, 0 /* Call */) : void 0; - if (!some(signatures)) { + const allSignatures = methodType ? getSignaturesOfType(methodType, 0 /* Call */) : void 0; + const validSignatures = filter(allSignatures, (sig) => getMinArgumentCount(sig) === 0); + if (!some(validSignatures)) { + if (errorNode && some(allSignatures)) { + checkTypeAssignableTo( + type, + resolver.getGlobalIterableType( + /*reportErrors*/ + true + ), + errorNode, + /*headMessage*/ + void 0, + /*containingMessageChain*/ + void 0, + errorOutputContainer + ); + } return noCache ? noIterationTypes : setCachedIterationTypes(type, resolver.iterableCacheKey, noIterationTypes); } - const iteratorType = getIntersectionType(map(signatures, getReturnTypeOfSignature)); + const iteratorType = getIntersectionType(map(validSignatures, getReturnTypeOfSignature)); const iterationTypes = getIterationTypesOfIteratorWorker(iteratorType, resolver, errorNode, errorOutputContainer, noCache) ?? noIterationTypes; return noCache ? iterationTypes : setCachedIterationTypes(type, resolver.iterableCacheKey, iterationTypes); } @@ -87461,12 +88003,12 @@ function createTypeChecker(host) { return true; } function getFirstTransformableStaticClassElement(node) { - const willTransformStaticElementsOfDecoratedClass = !legacyDecorators && languageVersion < 99 /* ClassAndClassElementDecorators */ && classOrConstructorParameterIsDecorated( + const willTransformStaticElementsOfDecoratedClass = !legacyDecorators && languageVersion < LanguageFeatureMinimumTarget.ClassAndClassElementDecorators && classOrConstructorParameterIsDecorated( /*useLegacyDecorators*/ false, node ); - const willTransformPrivateElementsOrClassStaticBlocks = languageVersion < 9 /* PrivateNamesAndClassStaticBlocks */ || languageVersion < 99 /* ClassAndClassElementDecorators */; + const willTransformPrivateElementsOrClassStaticBlocks = languageVersion < LanguageFeatureMinimumTarget.PrivateNamesAndClassStaticBlocks || languageVersion < LanguageFeatureMinimumTarget.ClassAndClassElementDecorators; const willTransformInitializers = !emitStandardClassFields; if (willTransformStaticElementsOfDecoratedClass || willTransformPrivateElementsOrClassStaticBlocks) { for (const member of node.members) { @@ -87493,7 +88035,7 @@ function createTypeChecker(host) { if (node.name) return; const parent2 = walkUpOuterExpressions(node); if (!isNamedEvaluationSource(parent2)) return; - const willTransformESDecorators = !legacyDecorators && languageVersion < 99 /* ClassAndClassElementDecorators */; + const willTransformESDecorators = !legacyDecorators && languageVersion < LanguageFeatureMinimumTarget.ClassAndClassElementDecorators; let location; if (willTransformESDecorators && classOrConstructorParameterIsDecorated( /*useLegacyDecorators*/ @@ -87553,7 +88095,7 @@ function createTypeChecker(host) { const baseTypeNode = getEffectiveBaseTypeNode(node); if (baseTypeNode) { forEach(baseTypeNode.typeArguments, checkSourceElement); - if (languageVersion < 2 /* Classes */) { + if (languageVersion < LanguageFeatureMinimumTarget.Classes) { checkExternalEmitHelpers(baseTypeNode.parent, 1 /* Extends */); } const extendsNode = getClassExtendsHeritageElement(node); @@ -88059,6 +88601,9 @@ function createTypeChecker(host) { } function checkInterfaceDeclaration(node) { if (!checkGrammarModifiers(node)) checkGrammarInterfaceDeclaration(node); + if (!allowBlockDeclarations(node.parent)) { + grammarErrorOnNode(node, Diagnostics._0_declarations_can_only_be_declared_inside_a_block, "interface"); + } checkTypeParameters(node.typeParameters); addLazyDiagnostic(() => { checkTypeNameIsReserved(node.name, Diagnostics.Interface_name_cannot_be_0); @@ -88093,6 +88638,9 @@ function createTypeChecker(host) { function checkTypeAliasDeclaration(node) { checkGrammarModifiers(node); checkTypeNameIsReserved(node.name, Diagnostics.Type_alias_name_cannot_be_0); + if (!allowBlockDeclarations(node.parent)) { + grammarErrorOnNode(node, Diagnostics._0_declarations_can_only_be_declared_inside_a_block, "type"); + } checkExportsOnMergedDeclarations(node); checkTypeParameters(node.typeParameters); if (node.type.kind === 141 /* IntrinsicKeyword */) { @@ -88461,6 +89009,7 @@ function createTypeChecker(host) { break; case 271 /* ImportEqualsDeclaration */: if (isInternalModuleImportEqualsDeclaration(node)) break; + // falls through case 272 /* ImportDeclaration */: grammarErrorOnFirstToken(node, Diagnostics.Imports_are_not_permitted_in_module_augmentations_Consider_moving_them_to_the_enclosing_external_module); break; @@ -88473,6 +89022,7 @@ function createTypeChecker(host) { } break; } + // falls through case 263 /* ClassDeclaration */: case 266 /* EnumDeclaration */: case 262 /* FunctionDeclaration */: @@ -88736,6 +89286,7 @@ function createTypeChecker(host) { grammarErrorOnFirstToken(node, Diagnostics.An_import_declaration_cannot_have_modifiers); } if (checkExternalImportOrExportDeclaration(node)) { + let resolvedModule; const importClause = node.importClause; if (importClause && !checkGrammarImportClause(importClause)) { if (importClause.name) { @@ -88748,18 +89299,27 @@ function createTypeChecker(host) { checkExternalEmitHelpers(node, 65536 /* ImportStar */); } } else { - const moduleExisted = resolveExternalModuleName(node, node.moduleSpecifier); - if (moduleExisted) { + resolvedModule = resolveExternalModuleName(node, node.moduleSpecifier); + if (resolvedModule) { forEach(importClause.namedBindings.elements, checkImportBinding); } } } + if (isOnlyImportableAsDefault(node.moduleSpecifier, resolvedModule) && !hasTypeJsonImportAttribute(node)) { + error2(node.moduleSpecifier, Diagnostics.Importing_a_JSON_file_into_an_ECMAScript_module_requires_a_type_Colon_json_import_attribute_when_module_is_set_to_0, ModuleKind[moduleKind]); + } } else if (noUncheckedSideEffectImports && !importClause) { void resolveExternalModuleName(node, node.moduleSpecifier); } } checkImportAttributes(node); } + function hasTypeJsonImportAttribute(node) { + return !!node.attributes && node.attributes.elements.some((attr) => { + var _a; + return getTextOfIdentifierOrLiteral(attr.name) === "type" && ((_a = tryCast(attr.value, isStringLiteralLike)) == null ? void 0 : _a.text) === "json"; + }); + } function checkImportEqualsDeclaration(node) { if (checkGrammarModuleElementContext(node, isInJSFile(node) ? Diagnostics.An_import_declaration_can_only_be_used_at_the_top_level_of_a_module : Diagnostics.An_import_declaration_can_only_be_used_at_the_top_level_of_a_namespace_or_module)) { return; @@ -89149,6 +89709,7 @@ function createTypeChecker(host) { return checkJSDocPropertyTag(node); case 317 /* JSDocFunctionType */: checkJSDocFunctionType(node); + // falls through case 315 /* JSDocNonNullableType */: case 314 /* JSDocNullableType */: case 312 /* JSDocAllType */: @@ -89572,6 +90133,7 @@ function createTypeChecker(host) { switch (location.kind) { case 307 /* SourceFile */: if (!isExternalModule(location)) break; + // falls through case 267 /* ModuleDeclaration */: copyLocallyVisibleExportSymbols(getSymbolOfDeclaration(location).exports, meaning & 2623475 /* ModuleMember */); break; @@ -89583,6 +90145,9 @@ function createTypeChecker(host) { if (className) { copySymbol(location.symbol, meaning); } + // this fall-through is necessary because we would like to handle + // type parameter inside class expression similar to how we handle it in classDeclaration and interface Declaration. + // falls through case 263 /* ClassDeclaration */: case 264 /* InterfaceDeclaration */: if (!isStaticSymbol) { @@ -89691,6 +90256,7 @@ function createTypeChecker(host) { if (isPropertyAccessExpression(entityName.parent) && getLeftmostAccessExpression(entityName.parent) === entityName) { return void 0; } + // falls through case 4 /* ThisProperty */: case 2 /* ModuleExports */: return getSymbolOfDeclaration(entityName.parent.parent); @@ -89870,7 +90436,7 @@ function createTypeChecker(host) { } else if (isJSDocMemberName(name)) { return resolveJSDocMemberName(name); } - } else if (isTypeReferenceIdentifier(name)) { + } else if (isEntityName(name) && isTypeReferenceIdentifier(name)) { const meaning = name.parent.kind === 183 /* TypeReference */ ? 788968 /* Type */ : 1920 /* Namespace */; const symbol = resolveEntityName( name, @@ -89984,6 +90550,7 @@ function createTypeChecker(host) { if (!isThisInTypeQuery(node)) { return getSymbolOfNameOrPropertyAccessExpression(node); } + // falls through case 110 /* ThisKeyword */: const container = getThisContainer( node, @@ -90001,6 +90568,7 @@ function createTypeChecker(host) { if (isInExpressionContext(node)) { return checkExpression(node).symbol; } + // falls through case 197 /* ThisType */: return getTypeFromThisTypeNode(node).symbol; case 108 /* SuperKeyword */: @@ -90023,6 +90591,7 @@ function createTypeChecker(host) { if (isCallExpression(parent2) && isBindableObjectDefinePropertyCall(parent2) && parent2.arguments[1] === node) { return getSymbolOfDeclaration(parent2); } + // falls through case 9 /* NumericLiteral */: const objectType = isElementAccessExpression(parent2) ? parent2.argumentExpression === node ? getTypeOfExpression(parent2.expression) : void 0 : isLiteralTypeNode(parent2) && isIndexedAccessTypeNode(grandParent) ? getTypeFromTypeNode(grandParent.objectType) : void 0; return objectType && getPropertyOfType(objectType, escapeLeadingUnderscores(node.text)); @@ -90052,6 +90621,7 @@ function createTypeChecker(host) { const symbol = getIntrinsicTagSymbol(node.parent); return symbol === unknownSymbol ? void 0 : symbol; } + // falls through default: return void 0; } @@ -90457,7 +91027,7 @@ function createTypeChecker(host) { const typeNode = getNonlocalEffectiveTypeAnnotationNode(parameter); if (!typeNode) return false; const type = getTypeFromTypeNode(typeNode); - return containsUndefinedType(type); + return isErrorType(type) || containsUndefinedType(type); } function requiresAddingImplicitUndefined(parameter, enclosingDeclaration) { return (isRequiredInitializedParameter(parameter, enclosingDeclaration) || isOptionalUninitializedParameterProperty(parameter)) && !declaredParameterTypeContainsUndefined(parameter); @@ -90744,16 +91314,12 @@ function createTypeChecker(host) { } } function createTypeOfDeclaration(declarationIn, enclosingDeclaration, flags, internalFlags, tracker) { - const declaration = getParseTreeNode(declarationIn, isVariableLikeOrAccessor); + const declaration = getParseTreeNode(declarationIn, hasInferredType); if (!declaration) { return factory.createToken(133 /* AnyKeyword */); } const symbol = getSymbolOfDeclaration(declaration); - const type = symbol && !(symbol.flags & (2048 /* TypeLiteral */ | 131072 /* Signature */)) ? getWidenedLiteralType(getTypeOfSymbol(symbol)) : errorType; - return nodeBuilder.serializeTypeForDeclaration(declaration, type, symbol, enclosingDeclaration, flags | 1024 /* MultilineObjectLiterals */, internalFlags, tracker); - } - function isDeclarationWithPossibleInnerTypeNodeReuse(declaration) { - return isFunctionLike(declaration) || isExportAssignment(declaration) || isVariableLike(declaration); + return nodeBuilder.serializeTypeForDeclaration(declaration, symbol, enclosingDeclaration, flags | 1024 /* MultilineObjectLiterals */, internalFlags, tracker); } function getAllAccessorDeclarationsForDeclaration(accessor) { accessor = getParseTreeNode(accessor, isGetOrSetAccessorDeclaration); @@ -90770,52 +91336,19 @@ function createTypeChecker(host) { getAccessor }; } - function getPossibleTypeNodeReuseExpression(declaration) { - return isFunctionLike(declaration) && !isSetAccessor(declaration) ? getSingleReturnExpression(declaration) : isExportAssignment(declaration) ? declaration.expression : !!declaration.initializer ? declaration.initializer : isParameter(declaration) && isSetAccessor(declaration.parent) ? getSingleReturnExpression(getAllAccessorDeclarationsForDeclaration(declaration.parent).getAccessor) : void 0; - } - function getSingleReturnExpression(declaration) { - let candidateExpr; - if (declaration && !nodeIsMissing(declaration.body)) { - if (getFunctionFlags(declaration) & 3 /* AsyncGenerator */) return void 0; - const body = declaration.body; - if (body && isBlock(body)) { - forEachReturnStatement(body, (s) => { - if (!candidateExpr) { - candidateExpr = s.expression; - } else { - candidateExpr = void 0; - return true; - } - }); - } else { - candidateExpr = body; - } - } - return candidateExpr; - } function createReturnTypeOfSignatureDeclaration(signatureDeclarationIn, enclosingDeclaration, flags, internalFlags, tracker) { const signatureDeclaration = getParseTreeNode(signatureDeclarationIn, isFunctionLike); if (!signatureDeclaration) { return factory.createToken(133 /* AnyKeyword */); } - return nodeBuilder.serializeReturnTypeForSignature(getSignatureFromDeclaration(signatureDeclaration), enclosingDeclaration, flags | 1024 /* MultilineObjectLiterals */, internalFlags, tracker); + return nodeBuilder.serializeReturnTypeForSignature(signatureDeclaration, enclosingDeclaration, flags | 1024 /* MultilineObjectLiterals */, internalFlags, tracker); } function createTypeOfExpression(exprIn, enclosingDeclaration, flags, internalFlags, tracker) { const expr = getParseTreeNode(exprIn, isExpression); if (!expr) { return factory.createToken(133 /* AnyKeyword */); } - const type = getWidenedType(getRegularTypeOfExpression(expr)); - return nodeBuilder.expressionOrTypeToTypeNode( - expr, - type, - /*addUndefined*/ - void 0, - enclosingDeclaration, - flags | 1024 /* MultilineObjectLiterals */, - internalFlags, - tracker - ); + return nodeBuilder.serializeTypeForExpression(expr, enclosingDeclaration, flags | 1024 /* MultilineObjectLiterals */, internalFlags, tracker); } function hasGlobalName(name) { return globals.has(escapeLeadingUnderscores(name)); @@ -90966,22 +91499,6 @@ function createTypeChecker(host) { } return void 0; } - function getNonlocalEffectiveReturnTypeAnnotationNode(node) { - const direct = getEffectiveReturnTypeNode(node); - if (direct) { - return direct; - } - if (node.kind === 177 /* GetAccessor */) { - const other = getAllAccessorDeclarationsForDeclaration(node).setAccessor; - if (other) { - const param = getSetAccessorValueParameter(other); - if (param) { - return getEffectiveTypeAnnotationNode(param); - } - } - } - return void 0; - } function createResolver() { return { getReferencedExportContainer, @@ -91060,7 +91577,29 @@ function createTypeChecker(host) { return !sym.exports ? [] : nodeBuilder.symbolTableToDeclarationStatements(sym.exports, node, flags, internalFlags, tracker); }, isImportRequiredByAugmentation, - isDefinitelyReferenceToGlobalSymbolObject + isDefinitelyReferenceToGlobalSymbolObject, + createLateBoundIndexSignatures: (cls, enclosing, flags, internalFlags, tracker) => { + const sym = cls.symbol; + const staticInfos = getIndexInfosOfType(getTypeOfSymbol(sym)); + const instanceIndexSymbol = getIndexSymbol(sym); + const instanceInfos = instanceIndexSymbol && getIndexInfosOfIndexSymbol(instanceIndexSymbol, arrayFrom(getMembersOfSymbol(sym).values())); + let result; + for (const infoList of [staticInfos, instanceInfos]) { + if (!length(infoList)) continue; + result || (result = []); + for (const info of infoList) { + if (info.declaration) continue; + const node = nodeBuilder.indexInfoToIndexSignatureDeclaration(info, enclosing, flags, internalFlags, tracker); + if (node && infoList === staticInfos) { + (node.modifiers || (node.modifiers = factory.createNodeArray())).unshift(factory.createModifier(126 /* StaticKeyword */)); + } + if (node) { + result.push(node); + } + } + } + return result; + } }; function isImportRequiredByAugmentation(node) { const file = getSourceFileOfNode(node); @@ -91363,6 +91902,8 @@ function createTypeChecker(host) { return ["__propKey"]; case 16777216 /* AddDisposableResourceAndDisposeResources */: return ["__addDisposableResource", "__disposeResources"]; + case 33554432 /* RewriteRelativeImportExtension */: + return ["__rewriteRelativeImportExtension"]; default: return Debug.fail("Unrecognized helper"); } @@ -92146,6 +92687,7 @@ function createTypeChecker(host) { ); break; } + // fallthrough case 7 /* ES2022 */: case 99 /* ESNext */: case 200 /* Preserve */: @@ -92153,6 +92695,7 @@ function createTypeChecker(host) { if (languageVersion >= 4 /* ES2017 */) { break; } + // fallthrough default: diagnostics.add( createDiagnosticForNode(forInOrOfStatement.awaitModifier, Diagnostics.Top_level_for_await_loops_are_only_allowed_when_the_module_option_is_set_to_es2022_esnext_system_node16_nodenext_or_preserve_and_the_target_option_is_set_to_es2017_or_higher) @@ -92510,7 +93053,7 @@ function createTypeChecker(host) { } return false; } - function allowLetAndConstDeclarations(parent2) { + function allowBlockDeclarations(parent2) { switch (parent2.kind) { case 245 /* IfStatement */: case 246 /* DoStatement */: @@ -92521,12 +93064,12 @@ function createTypeChecker(host) { case 250 /* ForOfStatement */: return false; case 256 /* LabeledStatement */: - return allowLetAndConstDeclarations(parent2.parent); + return allowBlockDeclarations(parent2.parent); } return true; } function checkGrammarForDisallowedBlockScopedVariableStatement(node) { - if (!allowLetAndConstDeclarations(node.parent)) { + if (!allowBlockDeclarations(node.parent)) { const blockScopeKind = getCombinedNodeFlagsCached(node.declarationList) & 7 /* BlockScoped */; if (blockScopeKind) { const keyword = blockScopeKind === 1 /* Let */ ? "let" : blockScopeKind === 2 /* Const */ ? "const" : blockScopeKind === 4 /* Using */ ? "using" : blockScopeKind === 6 /* AwaitUsing */ ? "await using" : Debug.fail("Unknown BlockScope flag"); @@ -92925,6 +93468,10 @@ var JsxNames; JsxNames2.IntrinsicClassAttributes = "IntrinsicClassAttributes"; JsxNames2.LibraryManagedAttributes = "LibraryManagedAttributes"; })(JsxNames || (JsxNames = {})); +var ReactNames; +((ReactNames2) => { + ReactNames2.Fragment = "Fragment"; +})(ReactNames || (ReactNames = {})); function getIterationTypesKeyFromIterationTypeKind(typeKind) { switch (typeKind) { case 0 /* Yield */: @@ -92950,7 +93497,7 @@ function createBasicNodeBuilderModuleSpecifierResolutionHost(host) { var _a; return (_a = host.getPackageJsonInfoCache) == null ? void 0 : _a.call(host); }, - useCaseSensitiveFileNames: maybeBind(host, host.useCaseSensitiveFileNames), + useCaseSensitiveFileNames: () => host.useCaseSensitiveFileNames(), redirectTargetsMap: host.redirectTargetsMap, getProjectReferenceRedirect: (fileName) => host.getProjectReferenceRedirect(fileName), isSourceOfProjectReferenceRedirect: (fileName) => host.isSourceOfProjectReferenceRedirect(fileName), @@ -92958,7 +93505,8 @@ function createBasicNodeBuilderModuleSpecifierResolutionHost(host) { getFileIncludeReasons: () => host.getFileIncludeReasons(), readFile: host.readFile ? (fileName) => host.readFile(fileName) : void 0, getDefaultResolutionModeForFile: (file) => host.getDefaultResolutionModeForFile(file), - getModeForResolutionAtIndex: (file, index) => host.getModeForResolutionAtIndex(file, index) + getModeForResolutionAtIndex: (file, index) => host.getModeForResolutionAtIndex(file, index), + getGlobalTypingsCacheLocation: maybeBind(host, host.getGlobalTypingsCacheLocation) }; } var SymbolTrackerImpl = class _SymbolTrackerImpl { @@ -93047,10 +93595,19 @@ var SymbolTrackerImpl = class _SymbolTrackerImpl { } reportInferenceFallback(node) { var _a; - if ((_a = this.inner) == null ? void 0 : _a.reportInferenceFallback) { + if (((_a = this.inner) == null ? void 0 : _a.reportInferenceFallback) && !this.context.suppressReportInferenceFallback) { + this.onDiagnosticReported(); this.inner.reportInferenceFallback(node); } } + pushErrorFallbackNode(node) { + var _a, _b; + return (_b = (_a = this.inner) == null ? void 0 : _a.pushErrorFallbackNode) == null ? void 0 : _b.call(_a, node); + } + popErrorFallbackNode() { + var _a, _b; + return (_b = (_a = this.inner) == null ? void 0 : _a.popErrorFallbackNode) == null ? void 0 : _b.call(_a); + } }; // src/compiler/visitorPublic.ts @@ -94329,13 +94886,13 @@ var visitEachChildTable = { ); }, // Transformation nodes - [354 /* PartiallyEmittedExpression */]: function visitEachChildOfPartiallyEmittedExpression(node, visitor, context, _nodesVisitor, nodeVisitor, _tokenVisitor) { + [355 /* PartiallyEmittedExpression */]: function visitEachChildOfPartiallyEmittedExpression(node, visitor, context, _nodesVisitor, nodeVisitor, _tokenVisitor) { return context.factory.updatePartiallyEmittedExpression( node, Debug.checkDefined(nodeVisitor(node.expression, visitor, isExpression)) ); }, - [355 /* CommaListExpression */]: function visitEachChildOfCommaListExpression(node, visitor, context, nodesVisitor, _nodeVisitor, _tokenVisitor) { + [356 /* CommaListExpression */]: function visitEachChildOfCommaListExpression(node, visitor, context, nodesVisitor, _nodeVisitor, _tokenVisitor) { return context.factory.updateCommaListExpression( node, nodesVisitor(node.elements, visitor, isExpression) @@ -95290,9 +95847,9 @@ function getDecoratorsOfParameters(node) { } return decorators; } -function getAllDecoratorsOfClass(node) { +function getAllDecoratorsOfClass(node, useLegacyDecorators) { const decorators = getDecorators(node); - const parameters = getDecoratorsOfParameters(getFirstConstructorWithBody(node)); + const parameters = useLegacyDecorators ? getDecoratorsOfParameters(getFirstConstructorWithBody(node)) : void 0; if (!some(decorators) && !some(parameters)) { return void 0; } @@ -95306,18 +95863,27 @@ function getAllDecoratorsOfClassElement(member, parent2, useLegacyDecorators) { case 177 /* GetAccessor */: case 178 /* SetAccessor */: if (!useLegacyDecorators) { - return getAllDecoratorsOfMethod(member); + return getAllDecoratorsOfMethod( + member, + /*useLegacyDecorators*/ + false + ); } - return getAllDecoratorsOfAccessors(member, parent2); + return getAllDecoratorsOfAccessors( + member, + parent2, + /*useLegacyDecorators*/ + true + ); case 174 /* MethodDeclaration */: - return getAllDecoratorsOfMethod(member); + return getAllDecoratorsOfMethod(member, useLegacyDecorators); case 172 /* PropertyDeclaration */: return getAllDecoratorsOfProperty(member); default: return void 0; } } -function getAllDecoratorsOfAccessors(accessor, parent2) { +function getAllDecoratorsOfAccessors(accessor, parent2, useLegacyDecorators) { if (!accessor.body) { return void 0; } @@ -95327,7 +95893,7 @@ function getAllDecoratorsOfAccessors(accessor, parent2) { return void 0; } const decorators = getDecorators(firstAccessorWithDecorators); - const parameters = getDecoratorsOfParameters(setAccessor); + const parameters = useLegacyDecorators ? getDecoratorsOfParameters(setAccessor) : void 0; if (!some(decorators) && !some(parameters)) { return void 0; } @@ -95338,12 +95904,12 @@ function getAllDecoratorsOfAccessors(accessor, parent2) { setDecorators: setAccessor && getDecorators(setAccessor) }; } -function getAllDecoratorsOfMethod(method) { +function getAllDecoratorsOfMethod(method, useLegacyDecorators) { if (!method.body) { return void 0; } const decorators = getDecorators(method); - const parameters = getDecoratorsOfParameters(method); + const parameters = useLegacyDecorators ? getDecoratorsOfParameters(method) : void 0; if (!some(decorators) && !some(parameters)) { return void 0; } @@ -95388,6 +95954,13 @@ function isSimpleParameter(node) { function isSimpleParameterList(nodes) { return every(nodes, isSimpleParameter); } +function rewriteModuleSpecifier(node, compilerOptions) { + if (!node || !isStringLiteral(node) || !shouldRewriteModuleSpecifier(node.text, compilerOptions)) { + return node; + } + const updatedText = changeExtension(node.text, getOutputExtension(node.text, compilerOptions)); + return updatedText !== node.text ? setOriginalNode(setTextRange(factory.createStringLiteral(updatedText, node.singleQuote), node), node) : node; +} // src/compiler/transformers/destructuring.ts var FlattenLevel = /* @__PURE__ */ ((FlattenLevel2) => { @@ -96211,7 +96784,7 @@ function transformTypeScript(context) { let currentNamespaceContainerName; let currentLexicalScope; let currentScopeFirstDeclarationsOfName; - let enabledSubstitutions; + let enabledSubstitutions = 0 /* None */; let applicableSubstitutions; return transformSourceFileOrBundle; function transformSourceFileOrBundle(node) { @@ -96441,6 +97014,8 @@ function transformTypeScript(context) { case 148 /* ReadonlyKeyword */: case 103 /* InKeyword */: case 147 /* OutKeyword */: + // TypeScript accessibility and readonly modifiers are elided + // falls through case 188 /* ArrayType */: case 189 /* TupleType */: case 190 /* OptionalType */: @@ -96469,6 +97044,8 @@ function transformTypeScript(context) { case 199 /* IndexedAccessType */: case 200 /* MappedType */: case 201 /* LiteralType */: + // TypeScript type nodes are elided. + // falls through case 181 /* IndexSignature */: return void 0; case 265 /* TypeAliasDeclaration */: @@ -97712,7 +98289,14 @@ function transformTypeScript(context) { return void 0; } if (!node.exportClause || isNamespaceExport(node.exportClause)) { - return node; + return factory2.updateExportDeclaration( + node, + node.modifiers, + node.isTypeOnly, + node.exportClause, + node.moduleSpecifier, + node.attributes + ); } const allowEmpty = !!compilerOptions.verbatimModuleSyntax; const exportClause = visitNode( @@ -97751,8 +98335,10 @@ function transformTypeScript(context) { return void 0; } if (isExternalModuleImportEqualsDeclaration(node)) { - const isReferenced = shouldEmitAliasDeclaration(node); - return isReferenced ? visitEachChild(node, visitor, context) : void 0; + if (!shouldEmitAliasDeclaration(node)) { + return void 0; + } + return visitEachChild(node, visitor, context); } if (!shouldEmitImportEqualsDeclaration(node)) { return void 0; @@ -98019,7 +98605,7 @@ function transformClassFields(context) { const previousOnEmitNode = context.onEmitNode; context.onEmitNode = onEmitNode; let shouldTransformPrivateStaticElementsInFile = false; - let enabledSubstitutions; + let enabledSubstitutions = 0 /* None */; let classAliases; let pendingExpressions; let pendingStatements; @@ -98151,7 +98737,7 @@ function transformClassFields(context) { /*discarded*/ true ); - case 355 /* CommaListExpression */: + case 356 /* CommaListExpression */: return visitCommaListExpression( node, /*discarded*/ @@ -100091,6 +100677,7 @@ function transformClassFields(context) { if (isArrowFunction(original) || getEmitFlags(node) & 524288 /* AsyncFunctionBody */) { break; } + // falls through case 262 /* FunctionDeclaration */: case 176 /* Constructor */: case 177 /* GetAccessor */: @@ -100366,6 +100953,7 @@ function createRuntimeTypeSerializer(context) { case 197 /* ThisType */: case 205 /* ImportType */: break; + // handle JSDoc types from an invalid parse case 312 /* JSDocAllType */: case 313 /* JSDocUnknownType */: case 317 /* JSDocFunctionType */: @@ -100965,7 +101553,11 @@ function transformLegacyDecorators(context) { } } function generateConstructorDecorationExpression(node) { - const allDecorators = getAllDecoratorsOfClass(node); + const allDecorators = getAllDecoratorsOfClass( + node, + /*useLegacyDecorators*/ + true + ); const decoratorExpressions = transformAllDecoratorsOfDeclaration(allDecorators); if (!decoratorExpressions) { return void 0; @@ -101211,6 +101803,7 @@ function transformESDecorators(context) { return Debug.fail("Not supported outside of a class. Use 'classElementVisitor' instead."); case 169 /* Parameter */: return visitParameterDeclaration(node); + // Support NamedEvaluation to ensure the correct class name for class expressions. case 226 /* BinaryExpression */: return visitBinaryExpression( node, @@ -101231,7 +101824,7 @@ function transformESDecorators(context) { return visitForStatement(node); case 244 /* ExpressionStatement */: return visitExpressionStatement(node); - case 355 /* CommaListExpression */: + case 356 /* CommaListExpression */: return visitCommaListExpression( node, /*discarded*/ @@ -101243,7 +101836,7 @@ function transformESDecorators(context) { /*discarded*/ false ); - case 354 /* PartiallyEmittedExpression */: + case 355 /* PartiallyEmittedExpression */: return visitPartiallyEmittedExpression( node, /*discarded*/ @@ -101267,6 +101860,7 @@ function transformESDecorators(context) { case 167 /* ComputedPropertyName */: return visitComputedPropertyName(node); case 174 /* MethodDeclaration */: + // object literal methods and accessors case 178 /* SetAccessor */: case 177 /* GetAccessor */: case 218 /* FunctionExpression */: @@ -101329,7 +101923,7 @@ function transformESDecorators(context) { /*discarded*/ true ); - case 355 /* CommaListExpression */: + case 356 /* CommaListExpression */: return visitCommaListExpression( node, /*discarded*/ @@ -101475,7 +102069,11 @@ function transformESDecorators(context) { let syntheticConstructor; let heritageClauses; let shouldTransformPrivateStaticElementsInClass = false; - const classDecorators = transformAllDecoratorsOfDeclaration(getAllDecoratorsOfClass(node)); + const classDecorators = transformAllDecoratorsOfDeclaration(getAllDecoratorsOfClass( + node, + /*useLegacyDecorators*/ + false + )); if (classDecorators) { classInfo2.classDecoratorsName = factory2.createUniqueName("_classDecorators", 16 /* Optimistic */ | 32 /* FileLevel */); classInfo2.classDescriptorName = factory2.createUniqueName("_classDescriptor", 16 /* Optimistic */ | 32 /* FileLevel */); @@ -102948,7 +103546,7 @@ function transformES2017(context) { const resolver = context.getEmitResolver(); const compilerOptions = context.getCompilerOptions(); const languageVersion = getEmitScriptTarget(compilerOptions); - let enabledSubstitutions; + let enabledSubstitutions = 0 /* None */; let enclosingSuperContainerFlags = 0; let enclosingFunctionParameterNames; let capturedSuperProperties; @@ -103823,7 +104421,7 @@ function transformES2018(context) { const previousOnSubstituteNode = context.onSubstituteNode; context.onSubstituteNode = onSubstituteNode; let exportedVariableStatement = false; - let enabledSubstitutions; + let enabledSubstitutions = 0 /* None */; let enclosingFunctionFlags; let parametersWithPrecedingObjectRestOrSpread; let enclosingSuperContainerFlags = 0; @@ -103911,7 +104509,7 @@ function transformES2018(context) { return visitObjectLiteralExpression(node); case 226 /* BinaryExpression */: return visitBinaryExpression(node, expressionResultIsUnused2); - case 355 /* CommaListExpression */: + case 356 /* CommaListExpression */: return visitCommaListExpression(node, expressionResultIsUnused2); case 299 /* CatchClause */: return visitCatchClause(node); @@ -106958,7 +107556,7 @@ function transformES2015(context) { ); } let convertedLoopState; - let enabledSubstitutions; + let enabledSubstitutions = 0 /* None */; return chainBundle(context, transformSourceFile); function transformSourceFile(node) { if (node.isDeclarationFile) { @@ -107051,6 +107649,7 @@ function transformES2015(context) { switch (node.kind) { case 126 /* StaticKeyword */: return void 0; + // elide static keyword case 263 /* ClassDeclaration */: return visitClassDeclaration(node); case 231 /* ClassExpression */: @@ -107129,7 +107728,7 @@ function transformES2015(context) { return visitParenthesizedExpression(node, expressionResultIsUnused2); case 226 /* BinaryExpression */: return visitBinaryExpression(node, expressionResultIsUnused2); - case 355 /* CommaListExpression */: + case 356 /* CommaListExpression */: return visitCommaListExpression(node, expressionResultIsUnused2); case 15 /* NoSubstitutionTemplateLiteral */: case 16 /* TemplateHead */: @@ -107513,12 +108112,14 @@ function transformES2015(context) { return false; } switch (node.kind) { + // stop at function boundaries case 219 /* ArrowFunction */: case 218 /* FunctionExpression */: case 262 /* FunctionDeclaration */: case 176 /* Constructor */: case 175 /* ClassStaticBlockDeclaration */: return false; + // only step into computed property names for class and object literal elements case 177 /* GetAccessor */: case 178 /* SetAccessor */: case 174 /* MethodDeclaration */: @@ -107727,12 +108328,14 @@ function transformES2015(context) { return factory2.createPartiallyEmittedExpression(node.right, node); } switch (node.kind) { + // stop at function boundaries case 219 /* ArrowFunction */: case 218 /* FunctionExpression */: case 262 /* FunctionDeclaration */: case 176 /* Constructor */: case 175 /* ClassStaticBlockDeclaration */: return node; + // only step into computed property names for class and object literal elements case 177 /* GetAccessor */: case 178 /* SetAccessor */: case 174 /* MethodDeclaration */: @@ -107778,12 +108381,14 @@ function transformES2015(context) { ); } switch (node.kind) { + // stop at function boundaries case 219 /* ArrowFunction */: case 218 /* FunctionExpression */: case 262 /* FunctionDeclaration */: case 176 /* Constructor */: case 175 /* ClassStaticBlockDeclaration */: return node; + // only step into computed property names for class and object literal elements case 177 /* GetAccessor */: case 178 /* SetAccessor */: case 174 /* MethodDeclaration */: @@ -110415,7 +111020,7 @@ function transformGenerators(context) { switch (node.kind) { case 226 /* BinaryExpression */: return visitBinaryExpression(node); - case 355 /* CommaListExpression */: + case 356 /* CommaListExpression */: return visitCommaListExpression(node); case 227 /* ConditionalExpression */: return visitConditionalExpression(node); @@ -112311,6 +112916,7 @@ function transformModule(context) { const moduleInfoMap = []; let currentSourceFile; let currentModuleInfo; + let importsAndRequiresToRewriteOrShim; const noSubstitution = []; let needUMDDynamicImportHelper; return chainBundle(context, transformSourceFile); @@ -112321,6 +112927,20 @@ function transformModule(context) { currentSourceFile = node; currentModuleInfo = collectExternalModuleInfo(context, node); moduleInfoMap[getOriginalNodeId(node)] = currentModuleInfo; + if (compilerOptions.rewriteRelativeImportExtensions) { + forEachDynamicImportOrRequireCall( + node, + /*includeTypeSpaceImports*/ + false, + /*requireStringLiteralLikeArgument*/ + false, + (node2) => { + if (!isStringLiteralLike(node2.arguments[0]) || shouldRewriteModuleSpecifier(node2.arguments[0].text, compilerOptions)) { + importsAndRequiresToRewriteOrShim = append(importsAndRequiresToRewriteOrShim, node2); + } + } + ); + } const transformModule2 = getTransformModuleDelegate(moduleKind); const updated = transformModule2(node); currentSourceFile = void 0; @@ -112792,7 +113412,7 @@ function transformModule(context) { } } function visitorWorker(node, valueIsDiscarded) { - if (!(node.transformFlags & (8388608 /* ContainsDynamicImport */ | 4096 /* ContainsDestructuringAssignment */ | 268435456 /* ContainsUpdateExpressionForIdentifier */))) { + if (!(node.transformFlags & (8388608 /* ContainsDynamicImport */ | 4096 /* ContainsDestructuringAssignment */ | 268435456 /* ContainsUpdateExpressionForIdentifier */)) && !(importsAndRequiresToRewriteOrShim == null ? void 0 : importsAndRequiresToRewriteOrShim.length)) { return node; } switch (node.kind) { @@ -112806,11 +113426,17 @@ function transformModule(context) { return visitExpressionStatement(node); case 217 /* ParenthesizedExpression */: return visitParenthesizedExpression(node, valueIsDiscarded); - case 354 /* PartiallyEmittedExpression */: + case 355 /* PartiallyEmittedExpression */: return visitPartiallyEmittedExpression(node, valueIsDiscarded); case 213 /* CallExpression */: + const needsRewrite = node === firstOrUndefined(importsAndRequiresToRewriteOrShim); + if (needsRewrite) { + importsAndRequiresToRewriteOrShim.shift(); + } if (isImportCall(node) && host.shouldTransformImportCall(currentSourceFile)) { - return visitImportCallExpression(node); + return visitImportCallExpression(node, needsRewrite); + } else if (needsRewrite) { + return shimOrRewriteImportOrRequireCall(node); } break; case 226 /* BinaryExpression */: @@ -113102,13 +113728,27 @@ function transformModule(context) { } return visitEachChild(node, visitor, context); } - function visitImportCallExpression(node) { + function shimOrRewriteImportOrRequireCall(node) { + return factory2.updateCallExpression( + node, + node.expression, + /*typeArguments*/ + void 0, + visitNodes2(node.arguments, (arg) => { + if (arg === node.arguments[0]) { + return isStringLiteralLike(arg) ? rewriteModuleSpecifier(arg, compilerOptions) : emitHelpers().createRewriteRelativeImportExtensionsHelper(arg); + } + return visitor(arg); + }, isExpression) + ); + } + function visitImportCallExpression(node, rewriteOrShim) { if (moduleKind === 0 /* None */ && languageVersion >= 7 /* ES2020 */) { return visitEachChild(node, visitor, context); } const externalModuleName = getExternalModuleNameLiteral(factory2, node, currentSourceFile, host, resolver, compilerOptions); const firstArgument = visitNode(firstOrUndefined(node.arguments), visitor, isExpression); - const argument = externalModuleName && (!firstArgument || !isStringLiteral(firstArgument) || firstArgument.text !== externalModuleName.text) ? externalModuleName : firstArgument; + const argument = externalModuleName && (!firstArgument || !isStringLiteral(firstArgument) || firstArgument.text !== externalModuleName.text) ? externalModuleName : firstArgument && rewriteOrShim ? isStringLiteral(firstArgument) ? rewriteModuleSpecifier(firstArgument, compilerOptions) : emitHelpers().createRewriteRelativeImportExtensionsHelper(firstArgument) : firstArgument; const containsLexicalThis = !!(node.transformFlags & 16384 /* ContainsLexicalThis */); switch (compilerOptions.module) { case 2 /* AMD */: @@ -113439,7 +114079,7 @@ function transformModule(context) { const moduleName = getExternalModuleNameLiteral(factory2, importNode, currentSourceFile, host, resolver, compilerOptions); const args = []; if (moduleName) { - args.push(moduleName); + args.push(rewriteModuleSpecifier(moduleName, compilerOptions)); } return factory2.createCallExpression( factory2.createIdentifier("require"), @@ -114566,6 +115206,7 @@ function transformSystemModule(context) { if (!entry.importClause) { break; } + // falls through case 271 /* ImportEqualsDeclaration */: Debug.assert(importVariableName !== void 0); statements.push( @@ -115200,7 +115841,7 @@ function transformSystemModule(context) { return visitExpressionStatement(node); case 217 /* ParenthesizedExpression */: return visitParenthesizedExpression(node, valueIsDiscarded); - case 354 /* PartiallyEmittedExpression */: + case 355 /* PartiallyEmittedExpression */: return visitPartiallyEmittedExpression(node, valueIsDiscarded); case 226 /* BinaryExpression */: if (isDestructuringAssignment(node)) { @@ -115533,6 +116174,8 @@ function transformECMAScriptModule(context) { context.onSubstituteNode = onSubstituteNode; context.enableEmitNotification(307 /* SourceFile */); context.enableSubstitution(80 /* Identifier */); + const noSubstitution = /* @__PURE__ */ new Set(); + let importsAndRequiresToRewriteOrShim; let helperNameSubstitutions; let currentSourceFile; let importRequireStatements; @@ -115544,7 +116187,22 @@ function transformECMAScriptModule(context) { if (isExternalModule(node) || getIsolatedModules(compilerOptions)) { currentSourceFile = node; importRequireStatements = void 0; + if (compilerOptions.rewriteRelativeImportExtensions && (currentSourceFile.flags & 4194304 /* PossiblyContainsDynamicImport */ || isInJSFile(node))) { + forEachDynamicImportOrRequireCall( + node, + /*includeTypeSpaceImports*/ + false, + /*requireStringLiteralLikeArgument*/ + false, + (node2) => { + if (!isStringLiteralLike(node2.arguments[0]) || shouldRewriteModuleSpecifier(node2.arguments[0].text, compilerOptions)) { + importsAndRequiresToRewriteOrShim = append(importsAndRequiresToRewriteOrShim, node2); + } + } + ); + } let result = updateExternalModule(node); + addEmitHelpers(result, context.readEmitHelpers()); currentSourceFile = void 0; if (importRequireStatements) { result = factory2.updateSourceFile( @@ -115567,7 +116225,7 @@ function transformECMAScriptModule(context) { if (externalHelpersImportDeclaration) { const statements = []; const statementOffset = factory2.copyPrologue(node.statements, statements); - append(statements, externalHelpersImportDeclaration); + addRange(statements, visitArray([externalHelpersImportDeclaration], visitor, isStatement)); addRange(statements, visitNodes2(node.statements, visitor, isStatement, statementOffset)); return factory2.updateSourceFile( node, @@ -115586,14 +116244,52 @@ function transformECMAScriptModule(context) { case 278 /* ExportDeclaration */: const exportDecl = node; return visitExportDeclaration(exportDecl); + case 272 /* ImportDeclaration */: + return visitImportDeclaration(node); + case 213 /* CallExpression */: + if (node === (importsAndRequiresToRewriteOrShim == null ? void 0 : importsAndRequiresToRewriteOrShim[0])) { + return visitImportOrRequireCall(importsAndRequiresToRewriteOrShim.shift()); + } + break; + default: + if ((importsAndRequiresToRewriteOrShim == null ? void 0 : importsAndRequiresToRewriteOrShim.length) && rangeContainsRange(node, importsAndRequiresToRewriteOrShim[0])) { + return visitEachChild(node, visitor, context); + } } return node; } + function visitImportDeclaration(node) { + if (!compilerOptions.rewriteRelativeImportExtensions) { + return node; + } + const updatedModuleSpecifier = rewriteModuleSpecifier(node.moduleSpecifier, compilerOptions); + if (updatedModuleSpecifier === node.moduleSpecifier) { + return node; + } + return factory2.updateImportDeclaration( + node, + node.modifiers, + node.importClause, + updatedModuleSpecifier, + node.attributes + ); + } + function visitImportOrRequireCall(node) { + return factory2.updateCallExpression( + node, + node.expression, + node.typeArguments, + [ + isStringLiteralLike(node.arguments[0]) ? rewriteModuleSpecifier(node.arguments[0], compilerOptions) : emitHelpers().createRewriteRelativeImportExtensionsHelper(node.arguments[0]), + ...node.arguments.slice(1) + ] + ); + } function createRequireCall2(importNode) { const moduleName = getExternalModuleNameLiteral(factory2, importNode, Debug.checkDefined(currentSourceFile), host, resolver, compilerOptions); const args = []; if (moduleName) { - args.push(moduleName); + args.push(rewriteModuleSpecifier(moduleName, compilerOptions)); } if (getEmitModuleKind(compilerOptions) === 200 /* Preserve */) { return factory2.createCallExpression( @@ -115738,11 +116434,16 @@ function transformECMAScriptModule(context) { return node; } function visitExportDeclaration(node) { - if (compilerOptions.module !== void 0 && compilerOptions.module > 5 /* ES2015 */) { - return node; - } - if (!node.exportClause || !isNamespaceExport(node.exportClause) || !node.moduleSpecifier) { - return node; + const updatedModuleSpecifier = rewriteModuleSpecifier(node.moduleSpecifier, compilerOptions); + if (compilerOptions.module !== void 0 && compilerOptions.module > 5 /* ES2015 */ || !node.exportClause || !isNamespaceExport(node.exportClause) || !node.moduleSpecifier) { + return !node.moduleSpecifier || updatedModuleSpecifier === node.moduleSpecifier ? node : factory2.updateExportDeclaration( + node, + node.modifiers, + node.isTypeOnly, + node.exportClause, + updatedModuleSpecifier, + node.attributes + ); } const oldIdentifier = node.exportClause.name; const synthName = factory2.getGeneratedNameForNode(oldIdentifier); @@ -115758,7 +116459,7 @@ function transformECMAScriptModule(context) { synthName ) ), - node.moduleSpecifier, + updatedModuleSpecifier, node.attributes ); setOriginalNode(importDecl, node.exportClause); @@ -115782,7 +116483,9 @@ function transformECMAScriptModule(context) { if ((isExternalModule(node) || getIsolatedModules(compilerOptions)) && compilerOptions.importHelpers) { helperNameSubstitutions = /* @__PURE__ */ new Map(); } + currentSourceFile = node; previousOnEmitNode(hint, node, emitCallback); + currentSourceFile = void 0; helperNameSubstitutions = void 0; } else { previousOnEmitNode(hint, node, emitCallback); @@ -115790,18 +116493,29 @@ function transformECMAScriptModule(context) { } function onSubstituteNode(hint, node) { node = previousOnSubstituteNode(hint, node); - if (helperNameSubstitutions && isIdentifier(node) && getEmitFlags(node) & 8192 /* HelperName */) { + if (node.id && noSubstitution.has(node.id)) { + return node; + } + if (isIdentifier(node) && getEmitFlags(node) & 8192 /* HelperName */) { return substituteHelperName(node); } return node; } function substituteHelperName(node) { - const name = idText(node); - let substitution = helperNameSubstitutions.get(name); - if (!substitution) { - helperNameSubstitutions.set(name, substitution = factory2.createUniqueName(name, 16 /* Optimistic */ | 32 /* FileLevel */)); + const externalHelpersModuleName = currentSourceFile && getExternalHelpersModuleName(currentSourceFile); + if (externalHelpersModuleName) { + noSubstitution.add(getNodeId(node)); + return factory2.createPropertyAccessExpression(externalHelpersModuleName, node); } - return substitution; + if (helperNameSubstitutions) { + const name = idText(node); + let substitution = helperNameSubstitutions.get(name); + if (!substitution) { + helperNameSubstitutions.set(name, substitution = factory2.createUniqueName(name, 16 /* Optimistic */ | 32 /* FileLevel */)); + } + return substitution; + } + return node; } } @@ -116151,8 +116865,8 @@ function createGetIsolatedDeclarationErrors(resolver) { [219 /* ArrowFunction */]: Diagnostics.Function_must_have_an_explicit_return_type_annotation_with_isolatedDeclarations, [174 /* MethodDeclaration */]: Diagnostics.Method_must_have_an_explicit_return_type_annotation_with_isolatedDeclarations, [180 /* ConstructSignature */]: Diagnostics.Method_must_have_an_explicit_return_type_annotation_with_isolatedDeclarations, - [177 /* GetAccessor */]: Diagnostics.At_least_one_accessor_must_have_an_explicit_return_type_annotation_with_isolatedDeclarations, - [178 /* SetAccessor */]: Diagnostics.At_least_one_accessor_must_have_an_explicit_return_type_annotation_with_isolatedDeclarations, + [177 /* GetAccessor */]: Diagnostics.At_least_one_accessor_must_have_an_explicit_type_annotation_with_isolatedDeclarations, + [178 /* SetAccessor */]: Diagnostics.At_least_one_accessor_must_have_an_explicit_type_annotation_with_isolatedDeclarations, [169 /* Parameter */]: Diagnostics.Parameter_must_have_an_explicit_type_annotation_with_isolatedDeclarations, [260 /* VariableDeclaration */]: Diagnostics.Variable_must_have_an_explicit_type_annotation_with_isolatedDeclarations, [172 /* PropertyDeclaration */]: Diagnostics.Property_must_have_an_explicit_type_annotation_with_isolatedDeclarations, @@ -116281,7 +116995,7 @@ function createGetIsolatedDeclarationErrors(resolver) { if (!addUndefined && node.initializer) { return createExpressionError(node.initializer); } - const message = addUndefined ? Diagnostics.Declaration_emit_for_this_parameter_requires_implicitly_adding_undefined_to_it_s_type_This_is_not_supported_with_isolatedDeclarations : errorByDeclarationKind[node.kind]; + const message = addUndefined ? Diagnostics.Declaration_emit_for_this_parameter_requires_implicitly_adding_undefined_to_its_type_This_is_not_supported_with_isolatedDeclarations : errorByDeclarationKind[node.kind]; const diag2 = createDiagnosticForNode(node, message); const targetStr = getTextOfNode( node.name, @@ -116359,6 +117073,7 @@ function transformDeclarations(context) { let suppressNewDiagnosticContexts; const { factory: factory2 } = context; const host = context.getEmitHost(); + let restoreFallbackNode = () => void 0; const symbolTracker = { trackSymbol, reportInaccessibleThisError, @@ -116370,7 +117085,19 @@ function transformDeclarations(context) { moduleResolverHost: host, reportNonlocalAugmentation, reportNonSerializableProperty, - reportInferenceFallback + reportInferenceFallback, + pushErrorFallbackNode(node) { + const currentFallback = errorFallbackNode; + const currentRestore = restoreFallbackNode; + restoreFallbackNode = () => { + restoreFallbackNode = currentRestore; + errorFallbackNode = currentFallback; + }; + errorFallbackNode = node; + }, + popErrorFallbackNode() { + restoreFallbackNode(); + } }; let errorNameNode; let errorFallbackNode; @@ -116707,7 +117434,7 @@ function transformDeclarations(context) { ); } } - function ensureParameter(p, modifierMask, type) { + function ensureParameter(p, modifierMask) { let oldDiag; if (!suppressNewDiagnosticContexts) { oldDiag = getSymbolAccessibilityDiagnostic; @@ -116721,7 +117448,6 @@ function transformDeclarations(context) { resolver.isOptionalParameter(p) ? p.questionToken || factory2.createToken(58 /* QuestionToken */) : void 0, ensureType( p, - type || p.type, /*ignorePrivate*/ true ), @@ -116746,44 +117472,34 @@ function transformDeclarations(context) { } return void 0; } - function ensureType(node, type, ignorePrivate) { + function ensureType(node, ignorePrivate) { if (!ignorePrivate && hasEffectiveModifier(node, 2 /* Private */)) { return; } if (shouldPrintWithInitializer(node)) { return; } - const shouldAddImplicitUndefined = node.kind === 169 /* Parameter */ && resolver.requiresAddingImplicitUndefined(node, enclosingDeclaration); - if (type && !shouldAddImplicitUndefined) { - return visitNode(type, visitDeclarationSubtree, isTypeNode); + if (!isExportAssignment(node) && !isBindingElement(node) && node.type && (!isParameter(node) || !resolver.requiresAddingImplicitUndefined(node, enclosingDeclaration))) { + return visitNode(node.type, visitDeclarationSubtree, isTypeNode); } + const oldErrorNameNode = errorNameNode; errorNameNode = node.name; let oldDiag; if (!suppressNewDiagnosticContexts) { oldDiag = getSymbolAccessibilityDiagnostic; - getSymbolAccessibilityDiagnostic = createGetSymbolAccessibilityDiagnosticForNode(node); + if (canProduceDiagnostics(node)) { + getSymbolAccessibilityDiagnostic = createGetSymbolAccessibilityDiagnosticForNode(node); + } } let typeNode; - switch (node.kind) { - case 169 /* Parameter */: - case 171 /* PropertySignature */: - case 172 /* PropertyDeclaration */: - case 208 /* BindingElement */: - case 260 /* VariableDeclaration */: - typeNode = resolver.createTypeOfDeclaration(node, enclosingDeclaration, declarationEmitNodeBuilderFlags, declarationEmitInternalNodeBuilderFlags, symbolTracker); - break; - case 262 /* FunctionDeclaration */: - case 180 /* ConstructSignature */: - case 173 /* MethodSignature */: - case 174 /* MethodDeclaration */: - case 177 /* GetAccessor */: - case 179 /* CallSignature */: - typeNode = resolver.createReturnTypeOfSignatureDeclaration(node, enclosingDeclaration, declarationEmitNodeBuilderFlags, declarationEmitInternalNodeBuilderFlags, symbolTracker); - break; - default: - Debug.assertNever(node); + if (hasInferredType(node)) { + typeNode = resolver.createTypeOfDeclaration(node, enclosingDeclaration, declarationEmitNodeBuilderFlags, declarationEmitInternalNodeBuilderFlags, symbolTracker); + } else if (isFunctionLike(node)) { + typeNode = resolver.createReturnTypeOfSignatureDeclaration(node, enclosingDeclaration, declarationEmitNodeBuilderFlags, declarationEmitInternalNodeBuilderFlags, symbolTracker); + } else { + Debug.assertNever(node); } - errorNameNode = void 0; + errorNameNode = oldErrorNameNode; if (!suppressNewDiagnosticContexts) { getSymbolAccessibilityDiagnostic = oldDiag; } @@ -116799,6 +117515,7 @@ function transformDeclarations(context) { case 265 /* TypeAliasDeclaration */: case 266 /* EnumDeclaration */: return !resolver.isDeclarationVisible(node); + // The following should be doing their own visibility checks based on filtering their members case 260 /* VariableDeclaration */: return !getBindingNameVisible(node); case 271 /* ImportEqualsDeclaration */: @@ -116852,13 +117569,7 @@ function transformDeclarations(context) { if (!isPrivate) { const valueParameter = getSetAccessorValueParameter(input); if (valueParameter) { - const accessorType = getTypeAnnotationFromAllAccessorDeclarations(input, getAllAccessorDeclarations(isObjectLiteralExpression(input.parent) ? input.parent.properties : input.parent.members, input)); - newValueParameter = ensureParameter( - valueParameter, - /*modifierMask*/ - void 0, - accessorType - ); + newValueParameter = ensureParameter(valueParameter); } } if (!newValueParameter) { @@ -116890,7 +117601,7 @@ function transformDeclarations(context) { } return setCommentRange(updated, getCommentRange(original)); } - function rewriteModuleSpecifier(parent2, input) { + function rewriteModuleSpecifier2(parent2, input) { if (!input) return void 0; resultHasExternalModuleIndicator = resultHasExternalModuleIndicator || parent2.kind !== 267 /* ModuleDeclaration */ && parent2.kind !== 205 /* ImportType */; if (isStringLiteralLike(input)) { @@ -116912,7 +117623,7 @@ function transformDeclarations(context) { decl.modifiers, decl.isTypeOnly, decl.name, - factory2.updateExternalModuleReference(decl.moduleReference, rewriteModuleSpecifier(decl, specifier)) + factory2.updateExternalModuleReference(decl.moduleReference, rewriteModuleSpecifier2(decl, specifier)) ); } else { const oldDiag = getSymbolAccessibilityDiagnostic; @@ -116928,7 +117639,7 @@ function transformDeclarations(context) { decl, decl.modifiers, decl.importClause, - rewriteModuleSpecifier(decl, decl.moduleSpecifier), + rewriteModuleSpecifier2(decl, decl.moduleSpecifier), tryGetResolutionModeOverride(decl.attributes) ); } @@ -116944,7 +117655,7 @@ function transformDeclarations(context) { /*namedBindings*/ void 0 ), - rewriteModuleSpecifier(decl, decl.moduleSpecifier), + rewriteModuleSpecifier2(decl, decl.moduleSpecifier), tryGetResolutionModeOverride(decl.attributes) ); } @@ -116962,7 +117673,7 @@ function transformDeclarations(context) { visibleDefaultBinding, namedBindings ), - rewriteModuleSpecifier(decl, decl.moduleSpecifier), + rewriteModuleSpecifier2(decl, decl.moduleSpecifier), tryGetResolutionModeOverride(decl.attributes) ) : void 0; } @@ -116977,7 +117688,7 @@ function transformDeclarations(context) { visibleDefaultBinding, bindingList && bindingList.length ? factory2.updateNamedImports(decl.importClause.namedBindings, bindingList) : void 0 ), - rewriteModuleSpecifier(decl, decl.moduleSpecifier), + rewriteModuleSpecifier2(decl, decl.moduleSpecifier), tryGetResolutionModeOverride(decl.attributes) ); } @@ -116990,7 +117701,7 @@ function transformDeclarations(context) { decl.modifiers, /*importClause*/ void 0, - rewriteModuleSpecifier(decl, decl.moduleSpecifier), + rewriteModuleSpecifier2(decl, decl.moduleSpecifier), tryGetResolutionModeOverride(decl.attributes) ); } @@ -117109,7 +117820,7 @@ function transformDeclarations(context) { input, ensureTypeParams(input, input.typeParameters), updateParamsList(input, input.parameters), - ensureType(input, input.type) + ensureType(input) )); case 176 /* Constructor */: { const ctor = factory2.createConstructorDeclaration( @@ -117136,7 +117847,7 @@ function transformDeclarations(context) { input.questionToken, ensureTypeParams(input, input.typeParameters), updateParamsList(input, input.parameters), - ensureType(input, input.type), + ensureType(input), /*body*/ void 0 ); @@ -117149,13 +117860,12 @@ function transformDeclarations(context) { void 0 ); } - const accessorType = getTypeAnnotationFromAllAccessorDeclarations(input, getAllAccessorDeclarations(isObjectLiteralExpression(input.parent) ? input.parent.properties : input.parent.members, input)); return cleanup(factory2.updateGetAccessorDeclaration( input, ensureModifiers(input), input.name, updateAccessorParamsList(input, hasEffectiveModifier(input, 2 /* Private */)), - ensureType(input, accessorType), + ensureType(input), /*body*/ void 0 )); @@ -117188,7 +117898,7 @@ function transformDeclarations(context) { ensureModifiers(input), input.name, input.questionToken, - ensureType(input, input.type), + ensureType(input), ensureNoInitializer(input) )); case 171 /* PropertySignature */: @@ -117203,7 +117913,7 @@ function transformDeclarations(context) { ensureModifiers(input), input.name, input.questionToken, - ensureType(input, input.type) + ensureType(input) )); case 173 /* MethodSignature */: { if (isPrivateIdentifier(input.name)) { @@ -117219,7 +117929,7 @@ function transformDeclarations(context) { input.questionToken, ensureTypeParams(input, input.typeParameters), updateParamsList(input, input.parameters), - ensureType(input, input.type) + ensureType(input) )); } case 179 /* CallSignature */: { @@ -117228,7 +117938,7 @@ function transformDeclarations(context) { input, ensureTypeParams(input, input.typeParameters), updateParamsList(input, input.parameters), - ensureType(input, input.type) + ensureType(input) ) ); } @@ -117251,7 +117961,7 @@ function transformDeclarations(context) { input.name, /*exclamationToken*/ void 0, - ensureType(input, input.type), + ensureType(input), ensureNoInitializer(input) )); } @@ -117304,7 +118014,7 @@ function transformDeclarations(context) { if (!isLiteralImportTypeNode(input)) return cleanup(input); return cleanup(factory2.updateImportTypeNode( input, - factory2.updateLiteralTypeNode(input.argument, rewriteModuleSpecifier(input, input.argument.literal)), + factory2.updateLiteralTypeNode(input.argument, rewriteModuleSpecifier2(input, input.argument.literal)), input.attributes, input.qualifier, visitNodes2(input.typeArguments, visitDeclarationSubtree, isTypeNode), @@ -117357,7 +118067,7 @@ function transformDeclarations(context) { input.modifiers, input.isTypeOnly, input.exportClause, - rewriteModuleSpecifier(input, input.moduleSpecifier), + rewriteModuleSpecifier2(input, input.moduleSpecifier), tryGetResolutionModeOverride(input.attributes) ); } @@ -117375,11 +118085,12 @@ function transformDeclarations(context) { errorNode: input }); errorFallbackNode = input; + const type = ensureType(input); const varDecl = factory2.createVariableDeclaration( newId, /*exclamationToken*/ void 0, - resolver.createTypeOfExpression(input.expression, input, declarationEmitNodeBuilderFlags, declarationEmitInternalNodeBuilderFlags, symbolTracker), + type, /*initializer*/ void 0 ); @@ -117476,7 +118187,7 @@ function transformDeclarations(context) { input.name, ensureTypeParams(input, input.typeParameters), updateParamsList(input, input.parameters), - ensureType(input, input.type), + ensureType(input), /*body*/ void 0 )); @@ -117607,7 +118318,7 @@ function transformDeclarations(context) { return cleanup(updateModuleDeclarationAndKeyword( input, mods, - isExternalModuleAugmentation(input) ? rewriteModuleSpecifier(input, input.name) : input.name, + isExternalModuleAugmentation(input) ? rewriteModuleSpecifier2(input, input.name) : input.name, body )); } else { @@ -117644,7 +118355,7 @@ function transformDeclarations(context) { ensureModifiers(param), param.name, param.questionToken, - ensureType(param, param.type), + ensureType(param), ensureNoInitializer(param) ), param @@ -117665,11 +118376,7 @@ function transformDeclarations(context) { elem.name, /*questionOrExclamationToken*/ void 0, - ensureType( - elem, - /*type*/ - void 0 - ), + ensureType(elem), /*initializer*/ void 0 )); @@ -117693,7 +118400,8 @@ function transformDeclarations(context) { void 0 ) ] : void 0; - const memberNodes = concatenate(concatenate(privateIdentifier, parameterProperties), visitNodes2(input.members, visitDeclarationSubtree, isClassElement)); + const lateIndexes = resolver.createLateBoundIndexSignatures(input, enclosingDeclaration, declarationEmitNodeBuilderFlags, declarationEmitInternalNodeBuilderFlags, symbolTracker); + const memberNodes = concatenate(concatenate(concatenate(privateIdentifier, lateIndexes), parameterProperties), visitNodes2(input.members, visitDeclarationSubtree, isClassElement)); const members = factory2.createNodeArray(memberNodes); const extendsClause = getEffectiveBaseTypeNode(input); if (extendsClause && !isEntityNameExpression(extendsClause.expression) && extendsClause.expression.kind !== 106 /* NullKeyword */) { @@ -117819,11 +118527,7 @@ function transformDeclarations(context) { e.name, /*exclamationToken*/ void 0, - ensureType( - e, - /*type*/ - void 0 - ), + ensureType(e), /*initializer*/ void 0 ); @@ -117873,18 +118577,6 @@ function transformDeclarations(context) { } return maskModifierFlags(node, mask2, additions); } - function getTypeAnnotationFromAllAccessorDeclarations(node, accessors) { - let accessorType = getTypeAnnotationFromAccessor(node); - if (!accessorType && node !== accessors.firstAccessor) { - accessorType = getTypeAnnotationFromAccessor(accessors.firstAccessor); - getSymbolAccessibilityDiagnostic = createGetSymbolAccessibilityDiagnosticForNode(accessors.firstAccessor); - } - if (!accessorType && accessors.secondAccessor && node !== accessors.secondAccessor) { - accessorType = getTypeAnnotationFromAccessor(accessors.secondAccessor); - getSymbolAccessibilityDiagnostic = createGetSymbolAccessibilityDiagnosticForNode(accessors.secondAccessor); - } - return accessorType; - } function transformHeritageClauses(nodes) { return factory2.createNodeArray(filter( map(nodes, (clause) => factory2.updateHeritageClause( @@ -117920,11 +118612,6 @@ function maskModifierFlags(node, modifierMask = 131071 /* All */ ^ 1 /* Public * } return flags; } -function getTypeAnnotationFromAccessor(accessor) { - if (accessor) { - return accessor.kind === 177 /* GetAccessor */ ? accessor.type : accessor.parameters.length > 0 ? accessor.parameters[0].type : void 0; - } -} function canHaveLiteralInitializer(node) { switch (node.kind) { case 172 /* PropertyDeclaration */: @@ -118080,7 +118767,7 @@ function noEmitNotification(hint, node, callback) { } function transformNodes(resolver, host, factory2, options, nodes, transformers, allowDtsFiles) { var _a, _b; - const enabledSyntaxKindFeatures = new Array(357 /* Count */); + const enabledSyntaxKindFeatures = new Array(358 /* Count */); let lexicalEnvironmentVariableDeclarations; let lexicalEnvironmentFunctionDeclarations; let lexicalEnvironmentStatements; @@ -119009,7 +119696,8 @@ var notImplementedResolver = { isBindingCapturedByNode: notImplemented, getDeclarationStatementsForSourceFile: notImplemented, isImportRequiredByAugmentation: notImplemented, - isDefinitelyReferenceToGlobalSymbolObject: notImplemented + isDefinitelyReferenceToGlobalSymbolObject: notImplemented, + createLateBoundIndexSignatures: notImplemented }; var createPrinterWithDefaults = /* @__PURE__ */ memoize(() => createPrinter({})); var createPrinterWithRemoveComments = /* @__PURE__ */ memoize(() => createPrinter({ removeComments: true })); @@ -119294,6 +119982,7 @@ function createPrinter(printerOptions = {}, handlers = {}) { if (onEmitNode !== noEmitNotification && (!isEmitNotificationEnabled || isEmitNotificationEnabled(node))) { return pipelineEmitWithNotification; } + // falls through case 1 /* Substitution */: if (substituteNode !== noEmitSubstitution && (lastSubstitution = substituteNode(emitHint, node) || node) !== node) { if (currentParenthesizerRule) { @@ -119301,14 +119990,17 @@ function createPrinter(printerOptions = {}, handlers = {}) { } return pipelineEmitWithSubstitution; } + // falls through case 2 /* Comments */: if (shouldEmitComments(node)) { return pipelineEmitWithComments; } + // falls through case 3 /* SourceMaps */: if (shouldEmitSourceMaps(node)) { return pipelineEmitWithSourceMaps; } + // falls through case 4 /* Emit */: return pipelineEmitWithHint; default: @@ -119360,6 +120052,7 @@ function createPrinter(printerOptions = {}, handlers = {}) { } if (hint === 4 /* Unspecified */) { switch (node.kind) { + // Pseudo-literals case 16 /* TemplateHead */: case 17 /* TemplateMiddle */: case 18 /* TemplateTail */: @@ -119368,20 +120061,26 @@ function createPrinter(printerOptions = {}, handlers = {}) { /*jsxAttributeEscape*/ false ); + // Identifiers case 80 /* Identifier */: return emitIdentifier(node); + // PrivateIdentifiers case 81 /* PrivateIdentifier */: return emitPrivateIdentifier(node); + // Parse tree nodes + // Names case 166 /* QualifiedName */: return emitQualifiedName(node); case 167 /* ComputedPropertyName */: return emitComputedPropertyName(node); + // Signature elements case 168 /* TypeParameter */: return emitTypeParameter(node); case 169 /* Parameter */: return emitParameter(node); case 170 /* Decorator */: return emitDecorator(node); + // Type members case 171 /* PropertySignature */: return emitPropertySignature(node); case 172 /* PropertyDeclaration */: @@ -119403,6 +120102,7 @@ function createPrinter(printerOptions = {}, handlers = {}) { return emitConstructSignature(node); case 181 /* IndexSignature */: return emitIndexSignature(node); + // Types case 182 /* TypePredicate */: return emitTypePredicate(node); case 183 /* TypeReference */: @@ -119421,6 +120121,7 @@ function createPrinter(printerOptions = {}, handlers = {}) { return emitTupleType(node); case 190 /* OptionalType */: return emitOptionalType(node); + // SyntaxKind.RestType is handled below case 192 /* UnionType */: return emitUnionType(node); case 193 /* IntersectionType */: @@ -119451,16 +120152,19 @@ function createPrinter(printerOptions = {}, handlers = {}) { return emitTemplateTypeSpan(node); case 205 /* ImportType */: return emitImportTypeNode(node); + // Binding patterns case 206 /* ObjectBindingPattern */: return emitObjectBindingPattern(node); case 207 /* ArrayBindingPattern */: return emitArrayBindingPattern(node); case 208 /* BindingElement */: return emitBindingElement(node); + // Misc case 239 /* TemplateSpan */: return emitTemplateSpan(node); case 240 /* SemicolonClassElement */: return emitSemicolonClassElement(); + // Statements case 241 /* Block */: return emitBlock(node); case 243 /* VariableStatement */: @@ -119502,6 +120206,7 @@ function createPrinter(printerOptions = {}, handlers = {}) { return emitTryStatement(node); case 259 /* DebuggerStatement */: return emitDebuggerStatement(node); + // Declarations case 260 /* VariableDeclaration */: return emitVariableDeclaration(node); case 261 /* VariableDeclarationList */: @@ -119552,8 +120257,10 @@ function createPrinter(printerOptions = {}, handlers = {}) { return emitImportAttribute(node); case 282 /* MissingDeclaration */: return; + // Module references case 283 /* ExternalModuleReference */: return emitExternalModuleReference(node); + // JSX (non-expression) case 12 /* JsxText */: return emitJsxText(node); case 286 /* JsxOpeningElement */: @@ -119572,6 +120279,7 @@ function createPrinter(printerOptions = {}, handlers = {}) { return emitJsxExpression(node); case 295 /* JsxNamespacedName */: return emitJsxNamespacedName(node); + // Clauses case 296 /* CaseClause */: return emitCaseClause(node); case 297 /* DefaultClause */: @@ -119580,18 +120288,22 @@ function createPrinter(printerOptions = {}, handlers = {}) { return emitHeritageClause(node); case 299 /* CatchClause */: return emitCatchClause(node); + // Property assignments case 303 /* PropertyAssignment */: return emitPropertyAssignment(node); case 304 /* ShorthandPropertyAssignment */: return emitShorthandPropertyAssignment(node); case 305 /* SpreadAssignment */: return emitSpreadAssignment(node); + // Enum case 306 /* EnumMember */: return emitEnumMember(node); + // Top-level nodes case 307 /* SourceFile */: return emitSourceFile(node); case 308 /* Bundle */: return Debug.fail("Bundles should be printed using printBundle"); + // JSDoc nodes (only used in codefixes currently) case 309 /* JSDocTypeExpression */: return emitJSDocTypeExpression(node); case 310 /* JSDocNameReference */: @@ -119629,6 +120341,7 @@ function createPrinter(printerOptions = {}, handlers = {}) { case 330 /* JSDocAuthorTag */: case 331 /* JSDocDeprecatedTag */: return; + // SyntaxKind.JSDocClassTag (see JSDocTag, above) case 333 /* JSDocPublicTag */: case 334 /* JSDocPrivateTag */: case 335 /* JSDocProtectedTag */: @@ -119638,6 +120351,7 @@ function createPrinter(printerOptions = {}, handlers = {}) { return emitJSDocCallbackTag(node); case 339 /* JSDocOverloadTag */: return emitJSDocOverloadTag(node); + // SyntaxKind.JSDocEnumTag (see below) case 341 /* JSDocParameterTag */: case 348 /* JSDocPropertyTag */: return emitJSDocPropertyLikeTag(node); @@ -119656,7 +120370,10 @@ function createPrinter(printerOptions = {}, handlers = {}) { return emitJSDocSeeTag(node); case 351 /* JSDocImportTag */: return emitJSDocImportTag(node); + // SyntaxKind.JSDocPropertyTag (see JSDocParameterTag, above) + // Transformation nodes case 353 /* NotEmittedStatement */: + case 354 /* NotEmittedTypeElement */: return; } if (isExpression(node)) { @@ -119674,6 +120391,7 @@ function createPrinter(printerOptions = {}, handlers = {}) { } if (hint === 1 /* Expression */) { switch (node.kind) { + // Literals case 9 /* NumericLiteral */: case 10 /* BigIntLiteral */: return emitNumericOrBigIntLiteral(node); @@ -119685,10 +120403,12 @@ function createPrinter(printerOptions = {}, handlers = {}) { /*jsxAttributeEscape*/ false ); + // Identifiers case 80 /* Identifier */: return emitIdentifier(node); case 81 /* PrivateIdentifier */: return emitPrivateIdentifier(node); + // Expressions case 209 /* ArrayLiteralExpression */: return emitArrayLiteralExpression(node); case 210 /* ObjectLiteralExpression */: @@ -119751,21 +120471,24 @@ function createPrinter(printerOptions = {}, handlers = {}) { return Debug.fail("SyntheticExpression should never be printed."); case 282 /* MissingDeclaration */: return; + // JSX case 284 /* JsxElement */: return emitJsxElement(node); case 285 /* JsxSelfClosingElement */: return emitJsxSelfClosingElement(node); case 288 /* JsxFragment */: return emitJsxFragment(node); + // Synthesized list case 352 /* SyntaxList */: return Debug.fail("SyntaxList should not be printed"); + // Transformation nodes case 353 /* NotEmittedStatement */: return; - case 354 /* PartiallyEmittedExpression */: + case 355 /* PartiallyEmittedExpression */: return emitPartiallyEmittedExpression(node); - case 355 /* CommaListExpression */: + case 356 /* CommaListExpression */: return emitCommaList(node); - case 356 /* SyntheticReferenceExpression */: + case 357 /* SyntheticReferenceExpression */: return Debug.fail("SyntheticReferenceExpression should not be printed"); } } @@ -120856,15 +121579,88 @@ function createPrinter(printerOptions = {}, handlers = {}) { return false; } function parenthesizeExpressionForNoAsi(node) { - if (!commentsDisabled && isPartiallyEmittedExpression(node) && willEmitLeadingNewLine(node)) { - const parseNode = getParseTreeNode(node); - if (parseNode && isParenthesizedExpression(parseNode)) { - const parens = factory.createParenthesizedExpression(node.expression); - setOriginalNode(parens, node); - setTextRange(parens, parseNode); - return parens; + if (!commentsDisabled) { + switch (node.kind) { + case 355 /* PartiallyEmittedExpression */: + if (willEmitLeadingNewLine(node)) { + const parseNode = getParseTreeNode(node); + if (parseNode && isParenthesizedExpression(parseNode)) { + const parens = factory.createParenthesizedExpression(node.expression); + setOriginalNode(parens, node); + setTextRange(parens, parseNode); + return parens; + } + return factory.createParenthesizedExpression(node); + } + return factory.updatePartiallyEmittedExpression( + node, + parenthesizeExpressionForNoAsi(node.expression) + ); + case 211 /* PropertyAccessExpression */: + return factory.updatePropertyAccessExpression( + node, + parenthesizeExpressionForNoAsi(node.expression), + node.name + ); + case 212 /* ElementAccessExpression */: + return factory.updateElementAccessExpression( + node, + parenthesizeExpressionForNoAsi(node.expression), + node.argumentExpression + ); + case 213 /* CallExpression */: + return factory.updateCallExpression( + node, + parenthesizeExpressionForNoAsi(node.expression), + node.typeArguments, + node.arguments + ); + case 215 /* TaggedTemplateExpression */: + return factory.updateTaggedTemplateExpression( + node, + parenthesizeExpressionForNoAsi(node.tag), + node.typeArguments, + node.template + ); + case 225 /* PostfixUnaryExpression */: + return factory.updatePostfixUnaryExpression( + node, + parenthesizeExpressionForNoAsi(node.operand) + ); + case 226 /* BinaryExpression */: + return factory.updateBinaryExpression( + node, + parenthesizeExpressionForNoAsi(node.left), + node.operatorToken, + node.right + ); + case 227 /* ConditionalExpression */: + return factory.updateConditionalExpression( + node, + parenthesizeExpressionForNoAsi(node.condition), + node.questionToken, + node.whenTrue, + node.colonToken, + node.whenFalse + ); + case 234 /* AsExpression */: + return factory.updateAsExpression( + node, + parenthesizeExpressionForNoAsi(node.expression), + node.type + ); + case 238 /* SatisfiesExpression */: + return factory.updateSatisfiesExpression( + node, + parenthesizeExpressionForNoAsi(node.expression), + node.type + ); + case 235 /* NonNullExpression */: + return factory.updateNonNullExpression( + node, + parenthesizeExpressionForNoAsi(node.expression) + ); } - return factory.createParenthesizedExpression(node); } return node; } @@ -123922,7 +124718,7 @@ function resolveTripleslashReference(moduleName, containingFile) { } function computeCommonSourceDirectoryOfFilenames(fileNames, currentDirectory, getCanonicalFileName) { let commonPathComponents; - const failed = forEach(fileNames, (sourceFile) => { + const failed2 = forEach(fileNames, (sourceFile) => { const sourcePathComponents = getNormalizedPathComponents(sourceFile, currentDirectory); sourcePathComponents.pop(); if (!commonPathComponents) { @@ -123943,7 +124739,7 @@ function computeCommonSourceDirectoryOfFilenames(fileNames, currentDirectory, ge commonPathComponents.length = sourcePathComponents.length; } }); - if (failed) { + if (failed2) { return ""; } if (!commonPathComponents) { @@ -124459,15 +125255,22 @@ function forEachProjectReference(projectReferences, resolvedProjectReferences, c const result = cbRef(projectReferences2, parent2); if (result) return result; } - return forEach(resolvedProjectReferences2, (resolvedRef, index) => { - if (resolvedRef && (seenResolvedRefs == null ? void 0 : seenResolvedRefs.has(resolvedRef.sourceFile.path))) { - return void 0; + let skipChildren; + return forEach( + resolvedProjectReferences2, + (resolvedRef, index) => { + if (resolvedRef && (seenResolvedRefs == null ? void 0 : seenResolvedRefs.has(resolvedRef.sourceFile.path))) { + (skipChildren ?? (skipChildren = /* @__PURE__ */ new Set())).add(resolvedRef); + return void 0; + } + const result = cbResolvedRef(resolvedRef, parent2, index); + if (result || !resolvedRef) return result; + (seenResolvedRefs || (seenResolvedRefs = /* @__PURE__ */ new Set())).add(resolvedRef.sourceFile.path); } - const result = cbResolvedRef(resolvedRef, parent2, index); - if (result || !resolvedRef) return result; - (seenResolvedRefs || (seenResolvedRefs = /* @__PURE__ */ new Set())).add(resolvedRef.sourceFile.path); - return worker(resolvedRef.commandLine.projectReferences, resolvedRef.references, resolvedRef); - }); + ) || forEach( + resolvedProjectReferences2, + (resolvedRef) => resolvedRef && !(skipChildren == null ? void 0 : skipChildren.has(resolvedRef)) ? worker(resolvedRef.commandLine.projectReferences, resolvedRef.references, resolvedRef) : void 0 + ); } } var inferredTypesContainingFile = "__inferred type names__.ts"; @@ -124565,7 +125368,13 @@ function isProgramUptoDate(program, rootFileNames, newOptions, getSourceVersion, if (oldResolvedRef.commandLine.options.configFile !== newParsedCommandLine.options.configFile) return false; if (!arrayIsEqualTo(oldResolvedRef.commandLine.fileNames, newParsedCommandLine.fileNames)) return false; (seenResolvedRefs || (seenResolvedRefs = [])).push(oldResolvedRef); - return !forEach(oldResolvedRef.references, (childResolvedRef, index) => !resolvedProjectReferenceUptoDate(childResolvedRef, oldResolvedRef.commandLine.projectReferences[index])); + return !forEach( + oldResolvedRef.references, + (childResolvedRef, index) => !resolvedProjectReferenceUptoDate( + childResolvedRef, + oldResolvedRef.commandLine.projectReferences[index] + ) + ); } const refPath = resolveProjectReferencePath(oldRef); return !getParsedCommandLine(refPath); @@ -124840,7 +125649,7 @@ function createProgram(rootNamesOrOptions, _options, _host, _oldProgram, _config const packageIdToSourceFile = /* @__PURE__ */ new Map(); let sourceFileToPackageName = /* @__PURE__ */ new Map(); let redirectTargetsMap = createMultiMap(); - let usesUriStyleNodeCoreModules = false; + let usesUriStyleNodeCoreModules; const filesByName = /* @__PURE__ */ new Map(); let missingFileNames = /* @__PURE__ */ new Map(); const filesByNameIgnoreCase = host.useCaseSensitiveFileNames() ? /* @__PURE__ */ new Map() : void 0; @@ -125085,7 +125894,8 @@ function createProgram(rootNamesOrOptions, _options, _host, _oldProgram, _config getCanonicalFileName, getFileIncludeReasons: () => fileReasons, structureIsReused, - writeFile: writeFile2 + writeFile: writeFile2, + getGlobalTypingsCacheLocation: maybeBind(host, host.getGlobalTypingsCacheLocation) }; onProgramCreateComplete(); verifyCompilerOptions(); @@ -125160,7 +125970,11 @@ function createProgram(rootNamesOrOptions, _options, _host, _oldProgram, _config return (_a2 = resolvedTypeReferenceDirectiveNames == null ? void 0 : resolvedTypeReferenceDirectiveNames.get(file.path)) == null ? void 0 : _a2.get(typeDirectiveName, mode); } function getResolvedTypeReferenceDirectiveFromTypeReferenceDirective(typeRef, sourceFile) { - return getResolvedTypeReferenceDirective(sourceFile, typeRef.fileName, typeRef.resolutionMode || sourceFile.impliedNodeFormat); + return getResolvedTypeReferenceDirective( + sourceFile, + typeRef.fileName, + getModeForTypeReferenceDirectiveInFile(typeRef, sourceFile) + ); } function forEachResolvedModule(callback, file) { forEachResolution(resolvedModules, callback, file); @@ -125547,10 +126361,11 @@ function createProgram(rootNamesOrOptions, _options, _host, _oldProgram, _config const moduleNames = getModuleNames(newSourceFile); const resolutions = resolveModuleNamesReusingOldState(moduleNames, newSourceFile); (resolvedModulesProcessing ?? (resolvedModulesProcessing = /* @__PURE__ */ new Map())).set(newSourceFile.path, resolutions); + const optionsForFile = getCompilerOptionsForFile(newSourceFile); const resolutionsChanged = hasChangesInResolutions( moduleNames, resolutions, - (name) => oldProgram.getResolvedModule(newSourceFile, name.text, getModeForUsageLocation2(newSourceFile, name)), + (name) => oldProgram.getResolvedModule(newSourceFile, name.text, getModeForUsageLocationWorker(newSourceFile, name, optionsForFile)), moduleResolutionIsEqualTo ); if (resolutionsChanged) structureIsReused = 1 /* SafeModules */; @@ -125560,7 +126375,11 @@ function createProgram(rootNamesOrOptions, _options, _host, _oldProgram, _config const typeReferenceResolutionsChanged = hasChangesInResolutions( typesReferenceDirectives, typeReferenceResolutions, - (name) => oldProgram.getResolvedTypeReferenceDirective(newSourceFile, getTypeReferenceResolutionName(name), getModeForFileReference(name, newSourceFile.impliedNodeFormat)), + (name) => oldProgram.getResolvedTypeReferenceDirective( + newSourceFile, + getTypeReferenceResolutionName(name), + getModeForTypeReferenceDirectiveInFile(name, newSourceFile) + ), typeDirectiveIsEqualTo ); if (typeReferenceResolutionsChanged) structureIsReused = 1 /* SafeModules */; @@ -125651,7 +126470,8 @@ function createProgram(rootNamesOrOptions, _options, _host, _oldProgram, _config getFileIncludeReasons: program.getFileIncludeReasons, createHash: maybeBind(host, host.createHash), getModuleResolutionCache: () => program.getModuleResolutionCache(), - trace: maybeBind(host, host.trace) + trace: maybeBind(host, host.trace), + getGlobalTypingsCacheLocation: program.getGlobalTypingsCacheLocation }; } function writeFile2(fileName, text, writeByteOrderMark, onError, sourceFiles, data) { @@ -125948,6 +126768,7 @@ function createProgram(rootNamesOrOptions, _options, _host, _oldProgram, _config diagnostics.push(createDiagnosticForNode2(node, Diagnostics.The_0_modifier_can_only_be_used_in_TypeScript_files, "?")); return "skip"; } + // falls through case 173 /* MethodSignature */: case 176 /* Constructor */: case 177 /* GetAccessor */: @@ -126079,6 +126900,7 @@ function createProgram(rootNamesOrOptions, _options, _host, _oldProgram, _config diagnostics.push(createDiagnosticForNodeArray2(nodes, Diagnostics.Type_parameter_declarations_can_only_be_used_in_TypeScript_files)); return "skip"; } + // falls through case 243 /* VariableStatement */: if (nodes === parent2.modifiers) { checkModifiers(parent2.modifiers, parent2.kind === 243 /* VariableStatement */); @@ -126121,6 +126943,8 @@ function createProgram(rootNamesOrOptions, _options, _host, _oldProgram, _config if (isConstValid) { continue; } + // to report error, + // falls through case 125 /* PublicKeyword */: case 123 /* PrivateKeyword */: case 124 /* ProtectedKeyword */: @@ -126132,6 +126956,7 @@ function createProgram(rootNamesOrOptions, _options, _host, _oldProgram, _config case 147 /* OutKeyword */: diagnostics.push(createDiagnosticForNode2(modifier, Diagnostics.The_0_modifier_can_only_be_used_in_TypeScript_files, tokenToString(modifier.kind))); break; + // These are all legal modifiers. case 126 /* StaticKeyword */: case 95 /* ExportKeyword */: case 90 /* DefaultKeyword */: @@ -126245,7 +127070,21 @@ function createProgram(rootNamesOrOptions, _options, _host, _oldProgram, _config ); } if (file.flags & 4194304 /* PossiblyContainsDynamicImport */ || isJavaScriptFile) { - collectDynamicImportOrRequireOrJsDocImportCalls(file); + forEachDynamicImportOrRequireCall( + file, + /*includeTypeSpaceImports*/ + true, + /*requireStringLiteralLikeArgument*/ + true, + (node, moduleSpecifier) => { + setParentRecursive( + node, + /*incremental*/ + false + ); + imports = append(imports, moduleSpecifier); + } + ); } file.imports = imports || emptyArray; file.moduleAugmentations = moduleAugmentations || emptyArray; @@ -126262,7 +127101,11 @@ function createProgram(rootNamesOrOptions, _options, _host, _oldProgram, _config ); imports = append(imports, moduleNameExpr); if (!usesUriStyleNodeCoreModules && currentNodeModulesDepth === 0 && !file.isDeclarationFile) { - usesUriStyleNodeCoreModules = startsWith(moduleNameExpr.text, "node:"); + if (startsWith(moduleNameExpr.text, "node:") && !exclusivelyPrefixedNodeCoreModules.has(moduleNameExpr.text)) { + usesUriStyleNodeCoreModules = true; + } else if (usesUriStyleNodeCoreModules === void 0 && unprefixedNodeCoreModules.has(moduleNameExpr.text)) { + usesUriStyleNodeCoreModules = false; + } } } } else if (isModuleDeclaration(node)) { @@ -126289,63 +127132,6 @@ function createProgram(rootNamesOrOptions, _options, _host, _oldProgram, _config } } } - function collectDynamicImportOrRequireOrJsDocImportCalls(file2) { - const r = /import|require/g; - while (r.exec(file2.text) !== null) { - const node = getNodeAtPosition(file2, r.lastIndex); - if (isJavaScriptFile && isRequireCall( - node, - /*requireStringLiteralLikeArgument*/ - true - )) { - setParentRecursive( - node, - /*incremental*/ - false - ); - imports = append(imports, node.arguments[0]); - } else if (isImportCall(node) && node.arguments.length >= 1 && isStringLiteralLike(node.arguments[0])) { - setParentRecursive( - node, - /*incremental*/ - false - ); - imports = append(imports, node.arguments[0]); - } else if (isLiteralImportTypeNode(node)) { - setParentRecursive( - node, - /*incremental*/ - false - ); - imports = append(imports, node.argument.literal); - } else if (isJavaScriptFile && isJSDocImportTag(node)) { - const moduleNameExpr = getExternalModuleName(node); - if (moduleNameExpr && isStringLiteral(moduleNameExpr) && moduleNameExpr.text) { - setParentRecursive( - node, - /*incremental*/ - false - ); - imports = append(imports, moduleNameExpr); - } - } - } - } - function getNodeAtPosition(sourceFile, position) { - let current = sourceFile; - const getContainingChild = (child) => { - if (child.pos <= position && (position < child.end || position === child.end && child.kind === 1 /* EndOfFileToken */)) { - return child; - } - }; - while (true) { - const child = isJavaScriptFile && hasJSDocNodes(current) && forEach(current.jsDoc, getContainingChild) || forEachChild(current, getContainingChild); - if (!child) { - return current; - } - current = child; - } - } } function getLibFileFromReference(ref) { var _a2; @@ -126711,8 +127497,8 @@ function createProgram(rootNamesOrOptions, _options, _host, _oldProgram, _config const ref = file.typeReferenceDirectives[index]; const resolvedTypeReferenceDirective = resolutions[index]; const fileName = ref.fileName; - resolutionsInFile.set(fileName, getModeForFileReference(ref, file.impliedNodeFormat), resolvedTypeReferenceDirective); - const mode = ref.resolutionMode || getDefaultResolutionModeForFile2(file); + const mode = getModeForTypeReferenceDirectiveInFile(ref, file); + resolutionsInFile.set(fileName, mode, resolvedTypeReferenceDirective); processTypeReferenceDirective(fileName, mode, resolvedTypeReferenceDirective, { kind: 5 /* TypeReferenceDirective */, file: file.path, index }); } } @@ -127170,7 +127956,7 @@ function createProgram(rootNamesOrOptions, _options, _host, _oldProgram, _config createDiagnosticForOptionName(Diagnostics.Option_verbatimModuleSyntax_cannot_be_used_when_module_is_set_to_UMD_AMD_or_System, "verbatimModuleSyntax"); } } - if (options.allowImportingTsExtensions && !(options.noEmit || options.emitDeclarationOnly)) { + if (options.allowImportingTsExtensions && !(options.noEmit || options.emitDeclarationOnly || options.rewriteRelativeImportExtensions)) { createOptionValueDiagnostic("allowImportingTsExtensions", Diagnostics.Option_allowImportingTsExtensions_can_only_be_used_when_either_noEmit_or_emitDeclarationOnly_is_set); } const moduleResolution = getEmitModuleResolutionKind(options); @@ -127497,7 +128283,11 @@ function createProgram(rootNamesOrOptions, _options, _host, _oldProgram, _config case 1 /* SourceFromProjectReference */: case 2 /* OutputFromProjectReference */: const referencedResolvedRef = Debug.checkDefined(resolvedProjectReferences == null ? void 0 : resolvedProjectReferences[reason.index]); - const referenceInfo = forEachProjectReference(projectReferences, resolvedProjectReferences, (resolvedRef, parent2, index2) => resolvedRef === referencedResolvedRef ? { sourceFile: (parent2 == null ? void 0 : parent2.sourceFile) || options.configFile, index: index2 } : void 0); + const referenceInfo = forEachProjectReference( + projectReferences, + resolvedProjectReferences, + (resolvedRef, parent2, index2) => resolvedRef === referencedResolvedRef ? { sourceFile: (parent2 == null ? void 0 : parent2.sourceFile) || options.configFile, index: index2 } : void 0 + ); if (!referenceInfo) return void 0; const { sourceFile, index } = referenceInfo; const referencesSyntax = forEachTsConfigPropArray(sourceFile, "references", (property) => isArrayLiteralExpression(property.initializer) ? property.initializer : void 0); @@ -127532,27 +128322,31 @@ function createProgram(rootNamesOrOptions, _options, _host, _oldProgram, _config } function verifyProjectReferences() { const buildInfoPath = !options.suppressOutputPathCheck ? getTsBuildInfoEmitOutputFilePath(options) : void 0; - forEachProjectReference(projectReferences, resolvedProjectReferences, (resolvedRef, parent2, index) => { - const ref = (parent2 ? parent2.commandLine.projectReferences : projectReferences)[index]; - const parentFile = parent2 && parent2.sourceFile; - verifyDeprecatedProjectReference(ref, parentFile, index); - if (!resolvedRef) { - createDiagnosticForReference(parentFile, index, Diagnostics.File_0_not_found, ref.path); - return; - } - const options2 = resolvedRef.commandLine.options; - if (!options2.composite || options2.noEmit) { - const inputs = parent2 ? parent2.commandLine.fileNames : rootNames; - if (inputs.length) { - if (!options2.composite) createDiagnosticForReference(parentFile, index, Diagnostics.Referenced_project_0_must_have_setting_composite_Colon_true, ref.path); - if (options2.noEmit) createDiagnosticForReference(parentFile, index, Diagnostics.Referenced_project_0_may_not_disable_emit, ref.path); + forEachProjectReference( + projectReferences, + resolvedProjectReferences, + (resolvedRef, parent2, index) => { + const ref = (parent2 ? parent2.commandLine.projectReferences : projectReferences)[index]; + const parentFile = parent2 && parent2.sourceFile; + verifyDeprecatedProjectReference(ref, parentFile, index); + if (!resolvedRef) { + createDiagnosticForReference(parentFile, index, Diagnostics.File_0_not_found, ref.path); + return; + } + const options2 = resolvedRef.commandLine.options; + if (!options2.composite || options2.noEmit) { + const inputs = parent2 ? parent2.commandLine.fileNames : rootNames; + if (inputs.length) { + if (!options2.composite) createDiagnosticForReference(parentFile, index, Diagnostics.Referenced_project_0_must_have_setting_composite_Colon_true, ref.path); + if (options2.noEmit) createDiagnosticForReference(parentFile, index, Diagnostics.Referenced_project_0_may_not_disable_emit, ref.path); + } + } + if (!parent2 && buildInfoPath && buildInfoPath === getTsBuildInfoEmitOutputFilePath(options2)) { + createDiagnosticForReference(parentFile, index, Diagnostics.Cannot_write_file_0_because_it_will_overwrite_tsbuildinfo_file_generated_by_referenced_project_1, buildInfoPath, ref.path); + hasEmitBlockingDiagnostics.set(toPath3(buildInfoPath), true); } } - if (!parent2 && buildInfoPath && buildInfoPath === getTsBuildInfoEmitOutputFilePath(options2)) { - createDiagnosticForReference(parentFile, index, Diagnostics.Cannot_write_file_0_because_it_will_overwrite_tsbuildinfo_file_generated_by_referenced_project_1, buildInfoPath, ref.path); - hasEmitBlockingDiagnostics.set(toPath3(buildInfoPath), true); - } - }); + ); } function createDiagnosticForOptionPathKeyValue(key, valueIndex, message, ...args) { let needCompilerDiagnostic = true; @@ -127748,6 +128542,9 @@ function createProgram(rootNamesOrOptions, _options, _host, _oldProgram, _config function shouldTransformImportCall(sourceFile) { return shouldTransformImportCallWorker(sourceFile, getCompilerOptionsForFile(sourceFile)); } + function getModeForTypeReferenceDirectiveInFile(ref, sourceFile) { + return ref.resolutionMode || getDefaultResolutionModeForFile2(sourceFile); + } } function shouldTransformImportCallWorker(sourceFile, options) { const moduleKind = getEmitModuleKind(options); @@ -130005,6 +130802,9 @@ function canWatchDirectoryOrFile(pathComponents2, length2) { const perceivedOsRootLength = perceivedOsRootLengthForWatching(pathComponents2, length2); return length2 > perceivedOsRootLength + 1; } +function canWatchDirectoryOrFilePath(path) { + return canWatchDirectoryOrFile(getPathComponents(path)); +} function canWatchAtTypes(atTypes) { return canWatchAffectedPackageJsonOrNodeModulesOfAtTypes(getDirectoryPath(atTypes)); } @@ -130016,12 +130816,12 @@ function isInDirectoryPath(dirComponents, fileOrDirComponents) { return true; } function canWatchAffectedPackageJsonOrNodeModulesOfAtTypes(fileOrDirPath) { - return canWatchDirectoryOrFile(getPathComponents(fileOrDirPath)); + return canWatchDirectoryOrFilePath(fileOrDirPath); } function canWatchAffectingLocation(filePath) { return canWatchAffectedPackageJsonOrNodeModulesOfAtTypes(filePath); } -function getDirectoryToWatchFailedLookupLocation(failedLookupLocation, failedLookupLocationPath, rootDir, rootPath, rootPathComponents, getCurrentDirectory, preferNonRecursiveWatch) { +function getDirectoryToWatchFailedLookupLocation(failedLookupLocation, failedLookupLocationPath, rootDir, rootPath, rootPathComponents, isRootWatchable, getCurrentDirectory, preferNonRecursiveWatch) { const failedLookupPathComponents = getPathComponents(failedLookupLocationPath); failedLookupLocation = isRootedDiskPath(failedLookupLocation) ? normalizePath(failedLookupLocation) : getNormalizedAbsolutePath(failedLookupLocation, getCurrentDirectory()); const failedLookupComponents = getPathComponents(failedLookupLocation); @@ -130030,7 +130830,7 @@ function getDirectoryToWatchFailedLookupLocation(failedLookupLocation, failedLoo const nodeModulesIndex = failedLookupPathComponents.indexOf("node_modules"); if (nodeModulesIndex !== -1 && nodeModulesIndex + 1 <= perceivedOsRootLength + 1) return void 0; const lastNodeModulesIndex = failedLookupPathComponents.lastIndexOf("node_modules"); - if (isInDirectoryPath(rootPathComponents, failedLookupPathComponents)) { + if (isRootWatchable && isInDirectoryPath(rootPathComponents, failedLookupPathComponents)) { if (failedLookupPathComponents.length > rootPathComponents.length + 1) { return getDirectoryOfFailedLookupWatch( failedLookupComponents, @@ -130102,9 +130902,9 @@ function getDirectoryOfFailedLookupWatch(dirComponents, dirPathComponents, lengt packageDirPath: packageDirLength !== void 0 ? getPathFromPathComponents(dirPathComponents, packageDirLength) : void 0 }; } -function getDirectoryToWatchFailedLookupLocationFromTypeRoot(typeRoot, typeRootPath, rootPath, rootPathComponents, getCurrentDirectory, preferNonRecursiveWatch, filterCustomPath) { +function getDirectoryToWatchFailedLookupLocationFromTypeRoot(typeRoot, typeRootPath, rootPath, rootPathComponents, isRootWatchable, getCurrentDirectory, preferNonRecursiveWatch, filterCustomPath) { const typeRootPathComponents = getPathComponents(typeRootPath); - if (isInDirectoryPath(rootPathComponents, typeRootPathComponents)) { + if (isRootWatchable && isInDirectoryPath(rootPathComponents, typeRootPathComponents)) { return rootPath; } typeRoot = isRootedDiskPath(typeRoot) ? normalizePath(typeRoot) : getNormalizedAbsolutePath(typeRoot, getCurrentDirectory()); @@ -130145,10 +130945,10 @@ function createModuleResolutionLoaderUsingGlobalCache(containingFile, redirected function resolveModuleNameUsingGlobalCache(resolutionHost, moduleResolutionCache, moduleName, containingFile, compilerOptions, redirectedReference, mode) { const host = getModuleResolutionHost(resolutionHost); const primaryResult = resolveModuleName(moduleName, containingFile, compilerOptions, host, moduleResolutionCache, redirectedReference, mode); - if (!resolutionHost.getGlobalCache) { + if (!resolutionHost.getGlobalTypingsCacheLocation) { return primaryResult; } - const globalCache = resolutionHost.getGlobalCache(); + const globalCache = resolutionHost.getGlobalTypingsCacheLocation(); if (globalCache !== void 0 && !isExternalModuleNameRelative(moduleName) && !(primaryResult.resolvedModule && extensionIsTS(primaryResult.resolvedModule.extension))) { const { resolvedModule, failedLookupLocations, affectingLocations, resolutionDiagnostics } = loadModuleFromGlobalCache( Debug.checkDefined(resolutionHost.globalCacheResolutionModuleName)(moduleName), @@ -130212,6 +131012,7 @@ function createResolutionCache(resolutionHost, rootDirForResolution, logChangesW const rootDir = getRootDirectoryOfResolutionCache(rootDirForResolution, getCurrentDirectory); const rootPath = resolutionHost.toPath(rootDir); const rootPathComponents = getPathComponents(rootPath); + const isRootWatchable = canWatchDirectoryOrFile(rootPathComponents); const isSymlinkCache = /* @__PURE__ */ new Map(); const packageDirWatchers = /* @__PURE__ */ new Map(); const dirPathToSymlinkPackageRefCount = /* @__PURE__ */ new Map(); @@ -130623,6 +131424,7 @@ function createResolutionCache(resolutionHost, rootDirForResolution, logChangesW rootDir, rootPath, rootPathComponents, + isRootWatchable, getCurrentDirectory, resolutionHost.preferNonRecursiveWatch ); @@ -130811,6 +131613,7 @@ function createResolutionCache(resolutionHost, rootDirForResolution, logChangesW rootDir, rootPath, rootPathComponents, + isRootWatchable, getCurrentDirectory, resolutionHost.preferNonRecursiveWatch ); @@ -130954,6 +131757,7 @@ function createResolutionCache(resolutionHost, rootDirForResolution, logChangesW return false; } (failedLookupChecks || (failedLookupChecks = /* @__PURE__ */ new Set())).add(fileOrDirectoryPath); + (startsWithPathChecks || (startsWithPathChecks = /* @__PURE__ */ new Set())).add(fileOrDirectoryPath); const packagePath = parseNodeModuleFromPath( fileOrDirectoryPath, /*isFolder*/ @@ -131035,6 +131839,7 @@ function createResolutionCache(resolutionHost, rootDirForResolution, logChangesW resolutionHost.toPath(typeRoot), rootPath, rootPathComponents, + isRootWatchable, getCurrentDirectory, resolutionHost.preferNonRecursiveWatch, (dirPath2) => directoryWatchesOfFailedLookups.has(dirPath2) || dirPathToSymlinkPackageRefCount.has(dirPath2) @@ -131590,6 +132395,7 @@ function getSourceFileVersionAsHashFromText(host, text) { if (pos && text.charCodeAt(pos - 1) === 13 /* carriageReturn */) { pos--; } + // falls through case 13 /* carriageReturn */: break; default: @@ -131791,6 +132597,7 @@ function createWatchProgram(host) { let updateLevel; let missingFilesMap; let watchedWildcardDirectories; + let staleWatches = /* @__PURE__ */ new Map([[void 0, void 0]]); let timerToUpdateProgram; let timerToInvalidateFailedLookupResolutions; let parsedConfigs; @@ -131879,8 +132686,6 @@ function createWatchProgram(host) { const customHasInvalidLibResolutions = host.resolveLibrary ? maybeBind(host, host.hasInvalidatedLibResolutions) || returnTrue : returnFalse; builderProgram = readBuilderProgram(compilerOptions, compilerHost); synchronizeProgram(); - watchConfigFileWildCardDirectories(); - if (configFileName) updateExtendedConfigFilesWatches(toPath3(configFileName), compilerOptions, watchOptions, WatchType.ExtendedConfigFile); return configFileName ? { getCurrentProgram: getCurrentBuilderProgram, getProgram: updateProgram, close, getResolutionCache } : { getCurrentProgram: getCurrentBuilderProgram, getProgram: updateProgram, updateRootFileNames, close, getResolutionCache }; function close() { clearInvalidateResolutionsOfFailedLookupLocations(); @@ -131983,6 +132788,16 @@ function createWatchProgram(host) { compilerHost.directoryExists = originalDirectoryExists; compilerHost.createDirectory = originalCreateDirectory; compilerHost.writeFile = originalWriteFile; + staleWatches == null ? void 0 : staleWatches.forEach((configFile, configPath) => { + if (!configPath) { + watchConfigFileWildCardDirectories(); + if (configFileName) updateExtendedConfigFilesWatches(toPath3(configFileName), compilerOptions, watchOptions, WatchType.ExtendedConfigFile); + } else { + const config = parsedConfigs == null ? void 0 : parsedConfigs.get(configPath); + if (config) watchReferencedProject(configFile, configPath, config); + } + }); + staleWatches = void 0; return builderProgram; } function createNewProgram(hasInvalidatedResolutions, hasInvalidatedLibResolutions) { @@ -132175,7 +132990,13 @@ function createWatchProgram(host) { Debug.assert(configFileName); updateLevel = 0 /* Update */; rootFileNames = getFileNamesFromConfigSpecs(compilerOptions.configFile.configFileSpecs, getNormalizedAbsolutePath(getDirectoryPath(configFileName), currentDirectory), compilerOptions, parseConfigFileHost, extraFileExtensions); - if (updateErrorForNoInputFiles(rootFileNames, getNormalizedAbsolutePath(configFileName, currentDirectory), compilerOptions.configFile.configFileSpecs, configFileParsingDiagnostics, canConfigFileJsonReportNoInputFiles)) { + if (updateErrorForNoInputFiles( + rootFileNames, + getNormalizedAbsolutePath(configFileName, currentDirectory), + compilerOptions.configFile.configFileSpecs, + configFileParsingDiagnostics, + canConfigFileJsonReportNoInputFiles + )) { hasChangedConfigFileParsingErrors = true; } synchronizeProgram(); @@ -132189,9 +133010,8 @@ function createWatchProgram(host) { } parseConfigFile2(); hasChangedCompilerOptions = true; + (staleWatches ?? (staleWatches = /* @__PURE__ */ new Map())).set(void 0, void 0); synchronizeProgram(); - watchConfigFileWildCardDirectories(); - updateExtendedConfigFilesWatches(toPath3(configFileName), compilerOptions, watchOptions, WatchType.ExtendedConfigFile); } function parseConfigFile2() { Debug.assert(configFileName); @@ -132243,7 +133063,7 @@ function createWatchProgram(host) { } else { (parsedConfigs || (parsedConfigs = /* @__PURE__ */ new Map())).set(configPath, config = { parsedCommandLine }); } - watchReferencedProject(configFileName2, configPath, config); + (staleWatches ?? (staleWatches = /* @__PURE__ */ new Map())).set(configPath, configFileName2); return parsedCommandLine; } function getParsedCommandLineFromConfigFileHost(configFileName2) { @@ -133127,6 +133947,7 @@ function createBuildOrUpdateInvalidedProject(state, project, projectPath, projec queueReferencingProjects(state, project, projectPath, projectIndex, config, buildOrder, Debug.checkDefined(buildResult)); step++; break; + // Should never be done case 3 /* Done */: default: assertType(step); @@ -133162,7 +133983,13 @@ function getNextInvalidatedProjectCreateInfo(state, buildOrder, reportQueue) { watchPackageJsonFiles(state, project, projectPath, config); } else if (updateLevel === 1 /* RootNamesAndUpdate */) { config.fileNames = getFileNamesFromConfigSpecs(config.options.configFile.configFileSpecs, getDirectoryPath(project), config.options, state.parseConfigFileHost); - updateErrorForNoInputFiles(config.fileNames, project, config.options.configFile.configFileSpecs, config.errors, canJsonReportNoInputFiles(config.raw)); + updateErrorForNoInputFiles( + config.fileNames, + project, + config.options.configFile.configFileSpecs, + config.errors, + canJsonReportNoInputFiles(config.raw) + ); watchInputFiles(state, project, projectPath, config); watchPackageJsonFiles(state, project, projectPath, config); } @@ -133343,11 +134170,7 @@ function checkConfigFileUpToDateStatus(state, configFile, oldestOutputFileTime, } function getUpToDateStatusWorker(state, project, resolvedPath) { var _a, _b, _c, _d, _e; - if (!project.fileNames.length && !canJsonReportNoInputFiles(project.raw)) { - return { - type: 16 /* ContainerOnly */ - }; - } + if (isSolutionConfig(project)) return { type: 16 /* ContainerOnly */ }; let referenceStatuses; const force = !!state.options.force; if (project.projectReferences) { @@ -133667,6 +134490,7 @@ function queueReferencingProjects(state, project, projectPath, projectIndex, con status.type = 2 /* UpToDateWithUpstreamTypes */; break; } + // falls through case 15 /* UpToDateWithInputFileText */: case 2 /* UpToDateWithUpstreamTypes */: if (!(buildResult & 2 /* DeclarationOutputUnchanged */)) { @@ -134184,6 +135008,8 @@ function reportUpToDateStatus(state, configFileName, status) { relName(state, configFileName) ); case 16 /* ContainerOnly */: + // Don't report status on "solution" projects + // falls through case 13 /* ComputingUpstream */: break; default: @@ -134256,7 +135082,7 @@ function shouldBePretty(sys2, options) { return options.pretty; } function getOptionsForHelp(commandLine) { - return !!commandLine.options.all ? toSorted(optionDeclarations, (a, b) => compareStringsCaseInsensitive(a.name, b.name)) : filter(optionDeclarations.slice(), (v) => !!v.showInSimplifiedHelpView); + return !!commandLine.options.all ? toSorted(optionDeclarations.concat(tscBuildOption), (a, b) => compareStringsCaseInsensitive(a.name, b.name)) : filter(optionDeclarations.concat(tscBuildOption), (v) => !!v.showInSimplifiedHelpView); } function printVersion(sys2) { sys2.write(getDiagnosticText(Diagnostics.Version_0, version) + sys2.newLine); @@ -134580,7 +135406,7 @@ function printAllHelp(sys2, compilerOptions, buildOptions, watchOptions) { output = [...output, ...generateSectionOptionsOutput( sys2, getDiagnosticText(Diagnostics.BUILD_OPTIONS), - buildOptions, + filter(buildOptions, (option) => option !== tscBuildOption), /*subCategory*/ false, formatMessage(Diagnostics.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, "https://aka.ms/tsc-composite-builds") @@ -134594,7 +135420,7 @@ function printBuildHelp(sys2, buildOptions) { output = [...output, ...generateSectionOptionsOutput( sys2, getDiagnosticText(Diagnostics.BUILD_OPTIONS), - buildOptions, + filter(buildOptions, (option) => option !== tscBuildOption), /*subCategory*/ false, formatMessage(Diagnostics.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, "https://aka.ms/tsc-composite-builds") @@ -134631,10 +135457,6 @@ function printHelp(sys2, commandLine) { } function executeCommandLineWorker(sys2, cb, commandLine) { let reportDiagnostic = createDiagnosticReporter(sys2); - if (commandLine.options.build) { - reportDiagnostic(createCompilerDiagnostic(Diagnostics.Option_build_must_be_the_first_command_line_argument)); - return sys2.exit(1 /* DiagnosticsPresent_OutputsSkipped */); - } let configFileName; if (commandLine.options.locale) { validateLocaleAndSetLanguage(commandLine.options.locale, sys2, commandLine.errors); @@ -134780,16 +135602,16 @@ function executeCommandLineWorker(sys2, cb, commandLine) { } } } -function isBuild(commandLineArgs) { +function isBuildCommand(commandLineArgs) { if (commandLineArgs.length > 0 && commandLineArgs[0].charCodeAt(0) === 45 /* minus */) { const firstOption = commandLineArgs[0].slice(commandLineArgs[0].charCodeAt(1) === 45 /* minus */ ? 2 : 1).toLowerCase(); - return firstOption === "build" || firstOption === "b"; + return firstOption === tscBuildOption.name || firstOption === tscBuildOption.shortName; } return false; } function executeCommandLine(system, cb, commandLineArgs) { - if (isBuild(commandLineArgs)) { - const { buildOptions, watchOptions, projects, errors } = parseBuildCommand(commandLineArgs.slice(1)); + if (isBuildCommand(commandLineArgs)) { + const { buildOptions, watchOptions, projects, errors } = parseBuildCommand(commandLineArgs); if (buildOptions.generateCpuProfile && system.enableCPUProfiler) { system.enableCPUProfiler(buildOptions.generateCpuProfile, () => performBuild( system, @@ -135301,39 +136123,518 @@ function writeConfigFile(sys2, reportDiagnostic, options, fileNames) { } // src/compiler/expressionToTypeNode.ts +function syntacticResult(type, reportFallback = true) { + return { type, reportFallback }; +} +var notImplemented2 = syntacticResult( + /*type*/ + void 0, + /*reportFallback*/ + false +); +var alreadyReported = syntacticResult( + /*type*/ + void 0, + /*reportFallback*/ + false +); +var failed = syntacticResult( + /*type*/ + void 0, + /*reportFallback*/ + true +); function createSyntacticTypeNodeBuilder(options, resolver) { const strictNullChecks = getStrictOptionValue(options, "strictNullChecks"); return { - typeFromExpression, serializeTypeOfDeclaration, serializeReturnTypeForSignature, - serializeTypeOfExpression + serializeTypeOfExpression, + serializeTypeOfAccessor, + tryReuseExistingTypeNode(context, existing) { + if (!resolver.canReuseTypeNode(context, existing)) { + return void 0; + } + return tryReuseExistingTypeNode(context, existing); + } }; - function serializeExistingTypeAnnotation(type, addUndefined) { - return type !== void 0 && (!addUndefined || type && canAddUndefined(type)) ? true : void 0; + function reuseNode(context, node, range = node) { + return node === void 0 ? void 0 : resolver.markNodeReuse(context, node.flags & 16 /* Synthesized */ ? node : factory.cloneNode(node), range ?? node); + } + function tryReuseExistingTypeNode(context, existing) { + const { finalizeBoundary, startRecoveryScope, hadError, markError } = resolver.createRecoveryBoundary(context); + const transformed = visitNode(existing, visitExistingNodeTreeSymbols, isTypeNode); + if (!finalizeBoundary()) { + return void 0; + } + context.approximateLength += existing.end - existing.pos; + return transformed; + function visitExistingNodeTreeSymbols(node) { + if (hadError()) return node; + const recover = startRecoveryScope(); + const onExitNewScope = isNewScopeNode(node) ? resolver.enterNewScope(context, node) : void 0; + const result = visitExistingNodeTreeSymbolsWorker(node); + onExitNewScope == null ? void 0 : onExitNewScope(); + if (hadError()) { + if (isTypeNode(node) && !isTypePredicateNode(node)) { + recover(); + return resolver.serializeExistingTypeNode(context, node); + } + return node; + } + return result ? resolver.markNodeReuse(context, result, node) : void 0; + } + function tryVisitSimpleTypeNode(node) { + const innerNode = skipTypeParentheses(node); + switch (innerNode.kind) { + case 183 /* TypeReference */: + return tryVisitTypeReference(innerNode); + case 186 /* TypeQuery */: + return tryVisitTypeQuery(innerNode); + case 199 /* IndexedAccessType */: + return tryVisitIndexedAccess(innerNode); + case 198 /* TypeOperator */: + const typeOperatorNode = innerNode; + if (typeOperatorNode.operator === 143 /* KeyOfKeyword */) { + return tryVisitKeyOf(typeOperatorNode); + } + } + return visitNode(node, visitExistingNodeTreeSymbols, isTypeNode); + } + function tryVisitIndexedAccess(node) { + const resultObjectType = tryVisitSimpleTypeNode(node.objectType); + if (resultObjectType === void 0) { + return void 0; + } + return factory.updateIndexedAccessTypeNode(node, resultObjectType, visitNode(node.indexType, visitExistingNodeTreeSymbols, isTypeNode)); + } + function tryVisitKeyOf(node) { + Debug.assertEqual(node.operator, 143 /* KeyOfKeyword */); + const type = tryVisitSimpleTypeNode(node.type); + if (type === void 0) { + return void 0; + } + return factory.updateTypeOperatorNode(node, type); + } + function tryVisitTypeQuery(node) { + const { introducesError, node: exprName } = resolver.trackExistingEntityName(context, node.exprName); + if (!introducesError) { + return factory.updateTypeQueryNode( + node, + exprName, + visitNodes2(node.typeArguments, visitExistingNodeTreeSymbols, isTypeNode) + ); + } + const serializedName = resolver.serializeTypeName( + context, + node.exprName, + /*isTypeOf*/ + true + ); + if (serializedName) { + return resolver.markNodeReuse(context, serializedName, node.exprName); + } + } + function tryVisitTypeReference(node) { + if (resolver.canReuseTypeNode(context, node)) { + const { introducesError, node: newName } = resolver.trackExistingEntityName(context, node.typeName); + const typeArguments = visitNodes2(node.typeArguments, visitExistingNodeTreeSymbols, isTypeNode); + if (!introducesError) { + const updated = factory.updateTypeReferenceNode( + node, + newName, + typeArguments + ); + return resolver.markNodeReuse(context, updated, node); + } else { + const serializedName = resolver.serializeTypeName( + context, + node.typeName, + /*isTypeOf*/ + false, + typeArguments + ); + if (serializedName) { + return resolver.markNodeReuse(context, serializedName, node.typeName); + } + } + } + } + function visitExistingNodeTreeSymbolsWorker(node) { + var _a; + if (isJSDocTypeExpression(node)) { + return visitNode(node.type, visitExistingNodeTreeSymbols, isTypeNode); + } + if (isJSDocAllType(node) || node.kind === 319 /* JSDocNamepathType */) { + return factory.createKeywordTypeNode(133 /* AnyKeyword */); + } + if (isJSDocUnknownType(node)) { + return factory.createKeywordTypeNode(159 /* UnknownKeyword */); + } + if (isJSDocNullableType(node)) { + return factory.createUnionTypeNode([visitNode(node.type, visitExistingNodeTreeSymbols, isTypeNode), factory.createLiteralTypeNode(factory.createNull())]); + } + if (isJSDocOptionalType(node)) { + return factory.createUnionTypeNode([visitNode(node.type, visitExistingNodeTreeSymbols, isTypeNode), factory.createKeywordTypeNode(157 /* UndefinedKeyword */)]); + } + if (isJSDocNonNullableType(node)) { + return visitNode(node.type, visitExistingNodeTreeSymbols); + } + if (isJSDocVariadicType(node)) { + return factory.createArrayTypeNode(visitNode(node.type, visitExistingNodeTreeSymbols, isTypeNode)); + } + if (isJSDocTypeLiteral(node)) { + return factory.createTypeLiteralNode(map(node.jsDocPropertyTags, (t) => { + const name = visitNode(isIdentifier(t.name) ? t.name : t.name.right, visitExistingNodeTreeSymbols, isIdentifier); + const overrideTypeNode = resolver.getJsDocPropertyOverride(context, node, t); + return factory.createPropertySignature( + /*modifiers*/ + void 0, + name, + t.isBracketed || t.typeExpression && isJSDocOptionalType(t.typeExpression.type) ? factory.createToken(58 /* QuestionToken */) : void 0, + overrideTypeNode || t.typeExpression && visitNode(t.typeExpression.type, visitExistingNodeTreeSymbols, isTypeNode) || factory.createKeywordTypeNode(133 /* AnyKeyword */) + ); + })); + } + if (isTypeReferenceNode(node) && isIdentifier(node.typeName) && node.typeName.escapedText === "") { + return setOriginalNode(factory.createKeywordTypeNode(133 /* AnyKeyword */), node); + } + if ((isExpressionWithTypeArguments(node) || isTypeReferenceNode(node)) && isJSDocIndexSignature(node)) { + return factory.createTypeLiteralNode([factory.createIndexSignature( + /*modifiers*/ + void 0, + [factory.createParameterDeclaration( + /*modifiers*/ + void 0, + /*dotDotDotToken*/ + void 0, + "x", + /*questionToken*/ + void 0, + visitNode(node.typeArguments[0], visitExistingNodeTreeSymbols, isTypeNode) + )], + visitNode(node.typeArguments[1], visitExistingNodeTreeSymbols, isTypeNode) + )]); + } + if (isJSDocFunctionType(node)) { + if (isJSDocConstructSignature(node)) { + let newTypeNode; + return factory.createConstructorTypeNode( + /*modifiers*/ + void 0, + visitNodes2(node.typeParameters, visitExistingNodeTreeSymbols, isTypeParameterDeclaration), + mapDefined(node.parameters, (p, i) => p.name && isIdentifier(p.name) && p.name.escapedText === "new" ? (newTypeNode = p.type, void 0) : factory.createParameterDeclaration( + /*modifiers*/ + void 0, + getEffectiveDotDotDotForParameter(p), + resolver.markNodeReuse(context, factory.createIdentifier(getNameForJSDocFunctionParameter(p, i)), p), + factory.cloneNode(p.questionToken), + visitNode(p.type, visitExistingNodeTreeSymbols, isTypeNode), + /*initializer*/ + void 0 + )), + visitNode(newTypeNode || node.type, visitExistingNodeTreeSymbols, isTypeNode) || factory.createKeywordTypeNode(133 /* AnyKeyword */) + ); + } else { + return factory.createFunctionTypeNode( + visitNodes2(node.typeParameters, visitExistingNodeTreeSymbols, isTypeParameterDeclaration), + map(node.parameters, (p, i) => factory.createParameterDeclaration( + /*modifiers*/ + void 0, + getEffectiveDotDotDotForParameter(p), + resolver.markNodeReuse(context, factory.createIdentifier(getNameForJSDocFunctionParameter(p, i)), p), + factory.cloneNode(p.questionToken), + visitNode(p.type, visitExistingNodeTreeSymbols, isTypeNode), + /*initializer*/ + void 0 + )), + visitNode(node.type, visitExistingNodeTreeSymbols, isTypeNode) || factory.createKeywordTypeNode(133 /* AnyKeyword */) + ); + } + } + if (isThisTypeNode(node)) { + if (resolver.canReuseTypeNode(context, node)) { + return node; + } + markError(); + return node; + } + if (isTypeParameterDeclaration(node)) { + const { node: newName } = resolver.trackExistingEntityName(context, node.name); + return factory.updateTypeParameterDeclaration( + node, + visitNodes2(node.modifiers, visitExistingNodeTreeSymbols, isModifier), + // resolver.markNodeReuse(context, typeParameterToName(getDeclaredTypeOfSymbol(getSymbolOfDeclaration(node)), context), node), + newName, + visitNode(node.constraint, visitExistingNodeTreeSymbols, isTypeNode), + visitNode(node.default, visitExistingNodeTreeSymbols, isTypeNode) + ); + } + if (isIndexedAccessTypeNode(node)) { + const result = tryVisitIndexedAccess(node); + if (!result) { + markError(); + return node; + } + return result; + } + if (isTypeReferenceNode(node)) { + const result = tryVisitTypeReference(node); + if (result) { + return result; + } + markError(); + return node; + } + if (isLiteralImportTypeNode(node)) { + if (((_a = node.attributes) == null ? void 0 : _a.token) === 132 /* AssertKeyword */) { + markError(); + return node; + } + if (!resolver.canReuseTypeNode(context, node)) { + return resolver.serializeExistingTypeNode(context, node); + } + return factory.updateImportTypeNode( + node, + factory.updateLiteralTypeNode(node.argument, rewriteModuleSpecifier2(node, node.argument.literal)), + visitNode(node.attributes, visitExistingNodeTreeSymbols, isImportAttributes), + visitNode(node.qualifier, visitExistingNodeTreeSymbols, isEntityName), + visitNodes2(node.typeArguments, visitExistingNodeTreeSymbols, isTypeNode), + node.isTypeOf + ); + } + if (isNamedDeclaration(node) && node.name.kind === 167 /* ComputedPropertyName */ && !resolver.hasLateBindableName(node)) { + if (!hasDynamicName(node)) { + return visitEachChild2(node, visitExistingNodeTreeSymbols); + } + if (resolver.shouldRemoveDeclaration(context, node)) { + return void 0; + } + } + if (isFunctionLike(node) && !node.type || isPropertyDeclaration(node) && !node.type && !node.initializer || isPropertySignature(node) && !node.type && !node.initializer || isParameter(node) && !node.type && !node.initializer) { + let visited = visitEachChild2(node, visitExistingNodeTreeSymbols); + if (visited === node) { + visited = resolver.markNodeReuse(context, factory.cloneNode(node), node); + } + visited.type = factory.createKeywordTypeNode(133 /* AnyKeyword */); + if (isParameter(node)) { + visited.modifiers = void 0; + } + return visited; + } + if (isTypeQueryNode(node)) { + const result = tryVisitTypeQuery(node); + if (!result) { + markError(); + return node; + } + return result; + } + if (isComputedPropertyName(node) && isEntityNameExpression(node.expression)) { + const { node: result, introducesError } = resolver.trackExistingEntityName(context, node.expression); + if (!introducesError) { + return factory.updateComputedPropertyName(node, result); + } else { + const computedPropertyNameType = resolver.serializeTypeOfExpression(context, node.expression); + let literal; + if (isLiteralTypeNode(computedPropertyNameType)) { + literal = computedPropertyNameType.literal; + } else { + const evaluated = resolver.evaluateEntityNameExpression(node.expression); + const literalNode = typeof evaluated.value === "string" ? factory.createStringLiteral( + evaluated.value, + /*isSingleQuote*/ + void 0 + ) : typeof evaluated.value === "number" ? factory.createNumericLiteral( + evaluated.value, + /*numericLiteralFlags*/ + 0 + ) : void 0; + if (!literalNode) { + if (isImportTypeNode(computedPropertyNameType)) { + resolver.trackComputedName(context, node.expression); + } + return node; + } + literal = literalNode; + } + if (literal.kind === 11 /* StringLiteral */ && isIdentifierText(literal.text, getEmitScriptTarget(options))) { + return factory.createIdentifier(literal.text); + } + if (literal.kind === 9 /* NumericLiteral */ && !literal.text.startsWith("-")) { + return literal; + } + return factory.updateComputedPropertyName(node, literal); + } + } + if (isTypePredicateNode(node)) { + let parameterName; + if (isIdentifier(node.parameterName)) { + const { node: result, introducesError } = resolver.trackExistingEntityName(context, node.parameterName); + if (introducesError) markError(); + parameterName = result; + } else { + parameterName = factory.cloneNode(node.parameterName); + } + return factory.updateTypePredicateNode(node, factory.cloneNode(node.assertsModifier), parameterName, visitNode(node.type, visitExistingNodeTreeSymbols, isTypeNode)); + } + if (isTupleTypeNode(node) || isTypeLiteralNode(node) || isMappedTypeNode(node)) { + const visited = visitEachChild2(node, visitExistingNodeTreeSymbols); + const clone2 = resolver.markNodeReuse(context, visited === node ? factory.cloneNode(node) : visited, node); + const flags = getEmitFlags(clone2); + setEmitFlags(clone2, flags | (context.flags & 1024 /* MultilineObjectLiterals */ && isTypeLiteralNode(node) ? 0 : 1 /* SingleLine */)); + return clone2; + } + if (isStringLiteral(node) && !!(context.flags & 268435456 /* UseSingleQuotesForStringLiteralType */) && !node.singleQuote) { + const clone2 = factory.cloneNode(node); + clone2.singleQuote = true; + return clone2; + } + if (isConditionalTypeNode(node)) { + const checkType = visitNode(node.checkType, visitExistingNodeTreeSymbols, isTypeNode); + const disposeScope = resolver.enterNewScope(context, node); + const extendType = visitNode(node.extendsType, visitExistingNodeTreeSymbols, isTypeNode); + const trueType = visitNode(node.trueType, visitExistingNodeTreeSymbols, isTypeNode); + disposeScope(); + const falseType = visitNode(node.falseType, visitExistingNodeTreeSymbols, isTypeNode); + return factory.updateConditionalTypeNode( + node, + checkType, + extendType, + trueType, + falseType + ); + } + if (isTypeOperatorNode(node)) { + if (node.operator === 158 /* UniqueKeyword */ && node.type.kind === 155 /* SymbolKeyword */) { + if (!resolver.canReuseTypeNode(context, node)) { + markError(); + return node; + } + } else if (node.operator === 143 /* KeyOfKeyword */) { + const result = tryVisitKeyOf(node); + if (!result) { + markError(); + return node; + } + return result; + } + } + return visitEachChild2(node, visitExistingNodeTreeSymbols); + function visitEachChild2(node2, visitor) { + const nonlocalNode = !context.enclosingFile || context.enclosingFile !== getSourceFileOfNode(node2); + return visitEachChild( + node2, + visitor, + /*context*/ + void 0, + nonlocalNode ? visitNodesWithoutCopyingPositions : void 0 + ); + } + function visitNodesWithoutCopyingPositions(nodes, visitor, test, start, count) { + let result = visitNodes2(nodes, visitor, test, start, count); + if (result) { + if (result.pos !== -1 || result.end !== -1) { + if (result === nodes) { + result = factory.createNodeArray(nodes.slice(), nodes.hasTrailingComma); + } + setTextRangePosEnd(result, -1, -1); + } + } + return result; + } + function getEffectiveDotDotDotForParameter(p) { + return p.dotDotDotToken || (p.type && isJSDocVariadicType(p.type) ? factory.createToken(26 /* DotDotDotToken */) : void 0); + } + function getNameForJSDocFunctionParameter(p, index) { + return p.name && isIdentifier(p.name) && p.name.escapedText === "this" ? "this" : getEffectiveDotDotDotForParameter(p) ? `args` : `arg${index}`; + } + function rewriteModuleSpecifier2(parent2, lit) { + const newName = resolver.getModuleSpecifierOverride(context, parent2, lit); + if (newName) { + return setOriginalNode(factory.createStringLiteral(newName), lit); + } + return visitNode(lit, visitExistingNodeTreeSymbols, isStringLiteral); + } + } + } + function serializeExistingTypeNode(typeNode, context, addUndefined) { + if (!typeNode) return void 0; + let result; + if ((!addUndefined || canAddUndefined(typeNode)) && resolver.canReuseTypeNode(context, typeNode)) { + result = tryReuseExistingTypeNode(context, typeNode); + if (result !== void 0) { + result = addUndefinedIfNeeded( + result, + addUndefined, + /*owner*/ + void 0, + context + ); + } + } + return result; + } + function serializeTypeAnnotationOfDeclaration(declaredType, context, node, symbol, requiresAddingUndefined, useFallback = requiresAddingUndefined !== void 0) { + if (!declaredType) return void 0; + if (!resolver.canReuseTypeNodeAnnotation(context, node, declaredType, symbol, requiresAddingUndefined)) { + if (!requiresAddingUndefined || !resolver.canReuseTypeNodeAnnotation( + context, + node, + declaredType, + symbol, + /*requiresAddingUndefined*/ + false + )) { + return void 0; + } + } + let result; + if (!requiresAddingUndefined || canAddUndefined(declaredType)) { + result = serializeExistingTypeNode(declaredType, context, requiresAddingUndefined); + } + if (result !== void 0 || !useFallback) { + return result; + } + context.tracker.reportInferenceFallback(node); + return resolver.serializeExistingTypeNode(context, declaredType, requiresAddingUndefined) ?? factory.createKeywordTypeNode(133 /* AnyKeyword */); + } + function serializeExistingTypeNodeWithFallback(typeNode, context, addUndefined, targetNode) { + if (!typeNode) return void 0; + const result = serializeExistingTypeNode(typeNode, context, addUndefined); + if (result !== void 0) { + return result; + } + context.tracker.reportInferenceFallback(targetNode ?? typeNode); + return resolver.serializeExistingTypeNode(context, typeNode, addUndefined) ?? factory.createKeywordTypeNode(133 /* AnyKeyword */); + } + function serializeTypeOfAccessor(accessor, symbol, context) { + return typeFromAccessor(accessor, symbol, context) ?? inferAccessorType(accessor, resolver.getAllAccessorDeclarations(accessor), context, symbol); } function serializeTypeOfExpression(expr, context, addUndefined, preserveLiterals) { - return typeFromExpression( + const result = typeFromExpression( expr, context, /*isConstContext*/ false, addUndefined, preserveLiterals - ) ?? inferExpressionType(expr, context); + ); + return result.type !== void 0 ? result.type : inferExpressionType(expr, context, result.reportFallback); } - function serializeTypeOfDeclaration(node, context) { + function serializeTypeOfDeclaration(node, symbol, context) { switch (node.kind) { - case 171 /* PropertySignature */: - return serializeExistingTypeAnnotation(getEffectiveTypeAnnotationNode(node)); case 169 /* Parameter */: - return typeFromParameter(node, context); + case 341 /* JSDocParameterTag */: + return typeFromParameter(node, symbol, context); case 260 /* VariableDeclaration */: - return typeFromVariable(node, context); + return typeFromVariable(node, symbol, context); + case 171 /* PropertySignature */: + case 348 /* JSDocPropertyTag */: case 172 /* PropertyDeclaration */: - return typeFromProperty(node, context); + return typeFromProperty(node, symbol, context); case 208 /* BindingElement */: - return inferTypeOfDeclaration(node, context); + return inferTypeOfDeclaration(node, symbol, context); case 277 /* ExportAssignment */: return serializeTypeOfExpression( node.expression, @@ -135346,17 +136647,39 @@ function createSyntacticTypeNodeBuilder(options, resolver) { case 211 /* PropertyAccessExpression */: case 212 /* ElementAccessExpression */: case 226 /* BinaryExpression */: - return serializeExistingTypeAnnotation(getEffectiveTypeAnnotationNode(node)) || inferTypeOfDeclaration(node, context); + return typeFromExpandoProperty(node, symbol, context); case 303 /* PropertyAssignment */: - return typeFromExpression(node.initializer, context) || inferTypeOfDeclaration(node, context); + case 304 /* ShorthandPropertyAssignment */: + return typeFromPropertyAssignment(node, symbol, context); default: Debug.assertNever(node, `Node needs to be an inferrable node, found ${Debug.formatSyntaxKind(node.kind)}`); } } - function serializeReturnTypeForSignature(node, context) { + function typeFromPropertyAssignment(node, symbol, context) { + const typeAnnotation = getEffectiveTypeAnnotationNode(node); + let result; + if (typeAnnotation && resolver.canReuseTypeNodeAnnotation(context, node, typeAnnotation, symbol)) { + result = serializeExistingTypeNode(typeAnnotation, context); + } + if (!result && node.kind === 303 /* PropertyAssignment */) { + const initializer = node.initializer; + const type = isJSDocTypeAssertion(initializer) ? getJSDocTypeAssertionType(initializer) : initializer.kind === 234 /* AsExpression */ || initializer.kind === 216 /* TypeAssertionExpression */ ? initializer.type : void 0; + if (type && !isConstTypeReference(type)) { + result = serializeExistingTypeNode(type, context); + } + } + return result ?? inferTypeOfDeclaration( + node, + symbol, + context, + /*reportFallback*/ + false + ); + } + function serializeReturnTypeForSignature(node, symbol, context) { switch (node.kind) { case 177 /* GetAccessor */: - return typeFromAccessor(node, context); + return serializeTypeOfAccessor(node, symbol, context); case 174 /* MethodDeclaration */: case 262 /* FunctionDeclaration */: case 180 /* ConstructSignature */: @@ -135371,45 +136694,50 @@ function createSyntacticTypeNodeBuilder(options, resolver) { case 219 /* ArrowFunction */: case 317 /* JSDocFunctionType */: case 323 /* JSDocSignature */: - return createReturnFromSignature(node, context); + return createReturnFromSignature(node, symbol, context); default: Debug.assertNever(node, `Node needs to be an inferrable node, found ${Debug.formatSyntaxKind(node.kind)}`); } } - function getTypeAnnotationFromAccessor2(accessor) { + function getTypeAnnotationFromAccessor(accessor) { if (accessor) { - return accessor.kind === 177 /* GetAccessor */ ? getEffectiveReturnTypeNode(accessor) : accessor.parameters.length > 0 ? getEffectiveTypeAnnotationNode(accessor.parameters[0]) : void 0; + return accessor.kind === 177 /* GetAccessor */ ? isInJSFile(accessor) && getJSDocType(accessor) || getEffectiveReturnTypeNode(accessor) : getEffectiveSetAccessorTypeAnnotationNode(accessor); } } function getTypeAnnotationFromAllAccessorDeclarations(node, accessors) { - let accessorType = getTypeAnnotationFromAccessor2(node); + let accessorType = getTypeAnnotationFromAccessor(node); if (!accessorType && node !== accessors.firstAccessor) { - accessorType = getTypeAnnotationFromAccessor2(accessors.firstAccessor); + accessorType = getTypeAnnotationFromAccessor(accessors.firstAccessor); } if (!accessorType && accessors.secondAccessor && node !== accessors.secondAccessor) { - accessorType = getTypeAnnotationFromAccessor2(accessors.secondAccessor); + accessorType = getTypeAnnotationFromAccessor(accessors.secondAccessor); } return accessorType; } - function typeFromAccessor(node, context) { + function typeFromAccessor(node, symbol, context) { const accessorDeclarations = resolver.getAllAccessorDeclarations(node); const accessorType = getTypeAnnotationFromAllAccessorDeclarations(node, accessorDeclarations); - if (accessorType) { - return serializeExistingTypeAnnotation(accessorType); + if (accessorType && !isTypePredicateNode(accessorType)) { + return withNewScope(context, node, () => serializeTypeAnnotationOfDeclaration(accessorType, context, node, symbol) ?? inferTypeOfDeclaration(node, symbol, context)); } if (accessorDeclarations.getAccessor) { - return createReturnFromSignature(accessorDeclarations.getAccessor, context); + return withNewScope(context, accessorDeclarations.getAccessor, () => createReturnFromSignature( + accessorDeclarations.getAccessor, + /*symbol*/ + void 0, + context + )); } - return false; + return void 0; } - function typeFromVariable(node, context) { + function typeFromVariable(node, symbol, context) { + var _a; const declaredType = getEffectiveTypeAnnotationNode(node); + let resultType = failed; if (declaredType) { - return serializeExistingTypeAnnotation(declaredType); - } - let resultType; - if (node.initializer) { - if (!resolver.isExpandoFunctionDeclaration(node)) { + resultType = syntacticResult(serializeTypeAnnotationOfDeclaration(declaredType, context, node, symbol)); + } else if (node.initializer && (((_a = symbol.declarations) == null ? void 0 : _a.length) === 1 || countWhere(symbol.declarations, isVariableDeclaration) === 1)) { + if (!resolver.isExpandoFunctionDeclaration(node) && !isContextuallyTyped(node)) { resultType = typeFromExpression( node.initializer, context, @@ -135421,71 +136749,119 @@ function createSyntacticTypeNodeBuilder(options, resolver) { ); } } - return resultType ?? inferTypeOfDeclaration(node, context); + return resultType.type !== void 0 ? resultType.type : inferTypeOfDeclaration(node, symbol, context, resultType.reportFallback); } - function typeFromParameter(node, context) { + function typeFromParameter(node, symbol, context) { const parent2 = node.parent; if (parent2.kind === 178 /* SetAccessor */) { - return typeFromAccessor(parent2, context); + return serializeTypeOfAccessor( + parent2, + /*symbol*/ + void 0, + context + ); } const declaredType = getEffectiveTypeAnnotationNode(node); - const addUndefined = resolver.requiresAddingImplicitUndefined(node, context.enclosingDeclaration); - let resultType; + const addUndefined = resolver.requiresAddingImplicitUndefined(node, symbol, context.enclosingDeclaration); + let resultType = failed; if (declaredType) { - resultType = serializeExistingTypeAnnotation(declaredType, addUndefined); + resultType = syntacticResult(serializeTypeAnnotationOfDeclaration(declaredType, context, node, symbol, addUndefined)); + } else if (isParameter(node) && node.initializer && isIdentifier(node.name) && !isContextuallyTyped(node)) { + resultType = typeFromExpression( + node.initializer, + context, + /*isConstContext*/ + void 0, + addUndefined + ); + } + return resultType.type !== void 0 ? resultType.type : inferTypeOfDeclaration(node, symbol, context, resultType.reportFallback); + } + function typeFromExpandoProperty(node, symbol, context) { + const declaredType = getEffectiveTypeAnnotationNode(node); + let result; + if (declaredType) { + result = serializeTypeAnnotationOfDeclaration(declaredType, context, node, symbol); + } + const oldSuppressReportInferenceFallback = context.suppressReportInferenceFallback; + context.suppressReportInferenceFallback = true; + const resultType = result ?? inferTypeOfDeclaration( + node, + symbol, + context, + /*reportFallback*/ + false + ); + context.suppressReportInferenceFallback = oldSuppressReportInferenceFallback; + return resultType; + } + function typeFromProperty(node, symbol, context) { + const declaredType = getEffectiveTypeAnnotationNode(node); + const requiresAddingUndefined = resolver.requiresAddingImplicitUndefined(node, symbol, context.enclosingDeclaration); + let resultType = failed; + if (declaredType) { + resultType = syntacticResult(serializeTypeAnnotationOfDeclaration(declaredType, context, node, symbol, requiresAddingUndefined)); } else { - if (node.initializer && isIdentifier(node.name)) { + const initializer = isPropertyDeclaration(node) ? node.initializer : void 0; + if (initializer && !isContextuallyTyped(node)) { + const isReadonly = isDeclarationReadonly(node); resultType = typeFromExpression( - node.initializer, + initializer, context, /*isConstContext*/ void 0, - addUndefined + requiresAddingUndefined, + isReadonly ); } } - return resultType ?? inferTypeOfDeclaration(node, context); + return resultType.type !== void 0 ? resultType.type : inferTypeOfDeclaration(node, symbol, context, resultType.reportFallback); } - function typeFromProperty(node, context) { - const declaredType = getEffectiveTypeAnnotationNode(node); - if (declaredType) { - return serializeExistingTypeAnnotation(declaredType); + function inferTypeOfDeclaration(node, symbol, context, reportFallback = true) { + if (reportFallback) { + context.tracker.reportInferenceFallback(node); } - let resultType; - if (node.initializer) { - const isReadonly = isDeclarationReadonly(node); - resultType = typeFromExpression( - node.initializer, - context, - /*isConstContext*/ - void 0, - /*requiresAddingUndefined*/ - void 0, - isReadonly - ); + if (context.noInferenceFallback === true) { + return factory.createKeywordTypeNode(133 /* AnyKeyword */); } - return resultType ?? inferTypeOfDeclaration(node, context); + return resolver.serializeTypeOfDeclaration(context, node, symbol); } - function inferTypeOfDeclaration(node, context) { - context.tracker.reportInferenceFallback(node); - return false; - } - function inferExpressionType(node, context) { - context.tracker.reportInferenceFallback(node); - return false; + function inferExpressionType(node, context, reportFallback = true, requiresAddingUndefined) { + Debug.assert(!requiresAddingUndefined); + if (reportFallback) { + context.tracker.reportInferenceFallback(node); + } + if (context.noInferenceFallback === true) { + return factory.createKeywordTypeNode(133 /* AnyKeyword */); + } + return resolver.serializeTypeOfExpression(context, node) ?? factory.createKeywordTypeNode(133 /* AnyKeyword */); } - function inferReturnTypeOfSignatureSignature(node, context) { - context.tracker.reportInferenceFallback(node); - return false; + function inferReturnTypeOfSignatureSignature(node, context, reportFallback) { + if (reportFallback) { + context.tracker.reportInferenceFallback(node); + } + if (context.noInferenceFallback === true) { + return factory.createKeywordTypeNode(133 /* AnyKeyword */); + } + return resolver.serializeReturnTypeForSignature(context, node) ?? factory.createKeywordTypeNode(133 /* AnyKeyword */); } - function inferAccessorType(node, allAccessors, context) { + function inferAccessorType(node, allAccessors, context, symbol, reportFallback = true) { if (node.kind === 177 /* GetAccessor */) { - return createReturnFromSignature(node, context); + return createReturnFromSignature(node, symbol, context, reportFallback); } else { - context.tracker.reportInferenceFallback(node); - return false; + if (reportFallback) { + context.tracker.reportInferenceFallback(node); + } + const result = allAccessors.getAccessor && createReturnFromSignature(allAccessors.getAccessor, symbol, context, reportFallback); + return result ?? resolver.serializeTypeOfDeclaration(context, node, symbol) ?? factory.createKeywordTypeNode(133 /* AnyKeyword */); } } + function withNewScope(context, node, fn) { + const cleanup = resolver.enterNewScope(context, node); + const result = fn(); + cleanup(); + return result; + } function typeFromTypeAssertion(expression, type, context, requiresAddingUndefined) { if (isConstTypeReference(type)) { return typeFromExpression( @@ -135496,10 +136872,7 @@ function createSyntacticTypeNodeBuilder(options, resolver) { requiresAddingUndefined ); } - if (requiresAddingUndefined && !canAddUndefined(type)) { - context.tracker.reportInferenceFallback(type); - } - return serializeExistingTypeAnnotation(type); + return syntacticResult(serializeExistingTypeNodeWithFallback(type, context, requiresAddingUndefined)); } function typeFromExpression(node, context, isConstContext = false, requiresAddingUndefined = false, preserveLiterals = false) { switch (node.kind) { @@ -135510,14 +136883,19 @@ function createSyntacticTypeNodeBuilder(options, resolver) { return typeFromExpression(node.expression, context, isConstContext, requiresAddingUndefined); case 80 /* Identifier */: if (resolver.isUndefinedIdentifierExpression(node)) { - return true; + return syntacticResult(createUndefinedTypeNode()); } break; case 106 /* NullKeyword */: - return true; + if (strictNullChecks) { + return syntacticResult(addUndefinedIfNeeded(factory.createLiteralTypeNode(factory.createNull()), requiresAddingUndefined, node, context)); + } else { + return syntacticResult(factory.createKeywordTypeNode(133 /* AnyKeyword */)); + } case 219 /* ArrowFunction */: case 218 /* FunctionExpression */: - return typeFromFunctionLikeExpression(node, context); + Debug.type(node); + return withNewScope(context, node, () => typeFromFunctionLikeExpression(node, context)); case 216 /* TypeAssertionExpression */: case 234 /* AsExpression */: const asExpression = node; @@ -135525,43 +136903,73 @@ function createSyntacticTypeNodeBuilder(options, resolver) { case 224 /* PrefixUnaryExpression */: const unaryExpression = node; if (isPrimitiveLiteralValue(unaryExpression)) { - if (unaryExpression.operand.kind === 10 /* BigIntLiteral */) { - return typeFromPrimitiveLiteral(); - } - if (unaryExpression.operand.kind === 9 /* NumericLiteral */) { - return typeFromPrimitiveLiteral(); - } + return typeFromPrimitiveLiteral( + unaryExpression.operator === 40 /* PlusToken */ ? unaryExpression.operand : unaryExpression, + unaryExpression.operand.kind === 10 /* BigIntLiteral */ ? 163 /* BigIntKeyword */ : 150 /* NumberKeyword */, + context, + isConstContext || preserveLiterals, + requiresAddingUndefined + ); } break; - case 9 /* NumericLiteral */: - return typeFromPrimitiveLiteral(); + case 209 /* ArrayLiteralExpression */: + return typeFromArrayLiteral(node, context, isConstContext, requiresAddingUndefined); + case 210 /* ObjectLiteralExpression */: + return typeFromObjectLiteral(node, context, isConstContext, requiresAddingUndefined); + case 231 /* ClassExpression */: + return syntacticResult(inferExpressionType( + node, + context, + /*reportFallback*/ + true, + requiresAddingUndefined + )); case 228 /* TemplateExpression */: if (!isConstContext && !preserveLiterals) { - return true; + return syntacticResult(factory.createKeywordTypeNode(154 /* StringKeyword */)); } break; - case 15 /* NoSubstitutionTemplateLiteral */: - case 11 /* StringLiteral */: - return typeFromPrimitiveLiteral(); - case 10 /* BigIntLiteral */: - return typeFromPrimitiveLiteral(); - case 112 /* TrueKeyword */: - case 97 /* FalseKeyword */: - return typeFromPrimitiveLiteral(); - case 209 /* ArrayLiteralExpression */: - return typeFromArrayLiteral(node, context, isConstContext); - case 210 /* ObjectLiteralExpression */: - return typeFromObjectLiteral(node, context, isConstContext); - case 231 /* ClassExpression */: - return inferExpressionType(node, context); + default: + let typeKind; + let primitiveNode = node; + switch (node.kind) { + case 9 /* NumericLiteral */: + typeKind = 150 /* NumberKeyword */; + break; + case 15 /* NoSubstitutionTemplateLiteral */: + primitiveNode = factory.createStringLiteral(node.text); + typeKind = 154 /* StringKeyword */; + break; + case 11 /* StringLiteral */: + typeKind = 154 /* StringKeyword */; + break; + case 10 /* BigIntLiteral */: + typeKind = 163 /* BigIntKeyword */; + break; + case 112 /* TrueKeyword */: + case 97 /* FalseKeyword */: + typeKind = 136 /* BooleanKeyword */; + break; + } + if (typeKind) { + return typeFromPrimitiveLiteral(primitiveNode, typeKind, context, isConstContext || preserveLiterals, requiresAddingUndefined); + } } - return void 0; + return failed; } function typeFromFunctionLikeExpression(fnNode, context) { - const returnType = serializeExistingTypeAnnotation(fnNode.type) ?? createReturnFromSignature(fnNode, context); - const typeParameters = reuseTypeParameters(fnNode.typeParameters); - const parameters = fnNode.parameters.every((p) => ensureParameter(p, context)); - return returnType && typeParameters && parameters; + const oldNoInferenceFallback = context.noInferenceFallback; + context.noInferenceFallback = true; + createReturnFromSignature( + fnNode, + /*symbol*/ + void 0, + context + ); + reuseTypeParameters(fnNode.typeParameters, context); + fnNode.parameters.map((p) => ensureParameter(p, context)); + context.noInferenceFallback = oldNoInferenceFallback; + return notImplemented2; } function canGetTypeFromArrayLiteral(arrayLiteral, context, isConstContext) { if (!isConstContext) { @@ -135576,18 +136984,38 @@ function createSyntacticTypeNodeBuilder(options, resolver) { } return true; } - function typeFromArrayLiteral(arrayLiteral, context, isConstContext) { + function typeFromArrayLiteral(arrayLiteral, context, isConstContext, requiresAddingUndefined) { if (!canGetTypeFromArrayLiteral(arrayLiteral, context, isConstContext)) { - return false; + if (requiresAddingUndefined || isDeclaration(walkUpParenthesizedExpressions(arrayLiteral).parent)) { + return alreadyReported; + } + return syntacticResult(inferExpressionType( + arrayLiteral, + context, + /*reportFallback*/ + false, + requiresAddingUndefined + )); } - let canInferArray = true; + const oldNoInferenceFallback = context.noInferenceFallback; + context.noInferenceFallback = true; + const elementTypesInfo = []; for (const element of arrayLiteral.elements) { Debug.assert(element.kind !== 230 /* SpreadElement */); - if (element.kind !== 232 /* OmittedExpression */) { - canInferArray = (typeFromExpression(element, context, isConstContext) ?? inferExpressionType(element, context)) && canInferArray; + if (element.kind === 232 /* OmittedExpression */) { + elementTypesInfo.push( + createUndefinedTypeNode() + ); + } else { + const expressionType = typeFromExpression(element, context, isConstContext); + const elementType = expressionType.type !== void 0 ? expressionType.type : inferExpressionType(element, context, expressionType.reportFallback); + elementTypesInfo.push(elementType); } } - return true; + const tupleType = factory.createTupleTypeNode(elementTypesInfo); + tupleType.emitNode = { flags: 1, autoGenerate: void 0, internalFlags: 0 }; + context.noInferenceFallback = oldNoInferenceFallback; + return notImplemented2; } function canGetTypeFromObjectLiteral(objectLiteral, context) { let result = true; @@ -135618,64 +137046,214 @@ function createSyntacticTypeNodeBuilder(options, resolver) { } return result; } - function typeFromObjectLiteral(objectLiteral, context, isConstContext) { - if (!canGetTypeFromObjectLiteral(objectLiteral, context)) return false; - let canInferObjectLiteral = true; + function typeFromObjectLiteral(objectLiteral, context, isConstContext, requiresAddingUndefined) { + if (!canGetTypeFromObjectLiteral(objectLiteral, context)) { + if (requiresAddingUndefined || isDeclaration(walkUpParenthesizedExpressions(objectLiteral).parent)) { + return alreadyReported; + } + return syntacticResult(inferExpressionType( + objectLiteral, + context, + /*reportFallback*/ + false, + requiresAddingUndefined + )); + } + const oldNoInferenceFallback = context.noInferenceFallback; + context.noInferenceFallback = true; + const properties = []; + const oldFlags = context.flags; + context.flags |= 4194304 /* InObjectTypeLiteral */; for (const prop of objectLiteral.properties) { Debug.assert(!isShorthandPropertyAssignment(prop) && !isSpreadAssignment(prop)); const name = prop.name; + let newProp; switch (prop.kind) { case 174 /* MethodDeclaration */: - canInferObjectLiteral = !!typeFromObjectLiteralMethod(prop, name, context) && canInferObjectLiteral; + newProp = withNewScope(context, prop, () => typeFromObjectLiteralMethod(prop, name, context, isConstContext)); break; case 303 /* PropertyAssignment */: - canInferObjectLiteral = !!typeFromObjectLiteralPropertyAssignment(prop, name, context, isConstContext) && canInferObjectLiteral; + newProp = typeFromObjectLiteralPropertyAssignment(prop, name, context, isConstContext); break; case 178 /* SetAccessor */: case 177 /* GetAccessor */: - canInferObjectLiteral = !!typeFromObjectLiteralAccessor(prop, name, context) && canInferObjectLiteral; + newProp = typeFromObjectLiteralAccessor(prop, name, context); break; } + if (newProp) { + setCommentRange(newProp, prop); + properties.push(newProp); + } } - return canInferObjectLiteral; + context.flags = oldFlags; + const typeNode = factory.createTypeLiteralNode(properties); + if (!(context.flags & 1024 /* MultilineObjectLiterals */)) { + setEmitFlags(typeNode, 1 /* SingleLine */); + } + context.noInferenceFallback = oldNoInferenceFallback; + return notImplemented2; } function typeFromObjectLiteralPropertyAssignment(prop, name, context, isConstContext) { - return typeFromExpression(prop.initializer, context, isConstContext) ?? inferTypeOfDeclaration(prop, context); + const modifiers = isConstContext ? [factory.createModifier(148 /* ReadonlyKeyword */)] : []; + const expressionResult = typeFromExpression(prop.initializer, context, isConstContext); + const typeNode = expressionResult.type !== void 0 ? expressionResult.type : inferTypeOfDeclaration( + prop, + /*symbol*/ + void 0, + context, + expressionResult.reportFallback + ); + return factory.createPropertySignature( + modifiers, + reuseNode(context, name), + /*questionToken*/ + void 0, + typeNode + ); } function ensureParameter(p, context) { - return typeFromParameter(p, context); + return factory.updateParameterDeclaration( + p, + [], + reuseNode(context, p.dotDotDotToken), + resolver.serializeNameOfParameter(context, p), + resolver.isOptionalParameter(p) ? factory.createToken(58 /* QuestionToken */) : void 0, + typeFromParameter( + p, + /*symbol*/ + void 0, + context + ), + // Ignore private param props, since this type is going straight back into a param + /*initializer*/ + void 0 + ); } - function reuseTypeParameters(typeParameters) { - return (typeParameters == null ? void 0 : typeParameters.every( - (tp) => serializeExistingTypeAnnotation(tp.constraint) && serializeExistingTypeAnnotation(tp.default) - )) ?? true; + function reuseTypeParameters(typeParameters, context) { + return typeParameters == null ? void 0 : typeParameters.map( + (tp) => { + var _a; + return factory.updateTypeParameterDeclaration( + tp, + (_a = tp.modifiers) == null ? void 0 : _a.map((m) => reuseNode(context, m)), + reuseNode(context, tp.name), + serializeExistingTypeNodeWithFallback(tp.constraint, context), + serializeExistingTypeNodeWithFallback(tp.default, context) + ); + } + ); } - function typeFromObjectLiteralMethod(method, name, context) { - const returnType = createReturnFromSignature(method, context); - const typeParameters = reuseTypeParameters(method.typeParameters); - const parameters = method.parameters.every((p) => ensureParameter(p, context)); - return returnType && typeParameters && parameters; + function typeFromObjectLiteralMethod(method, name, context, isConstContext) { + const returnType = createReturnFromSignature( + method, + /*symbol*/ + void 0, + context + ); + const typeParameters = reuseTypeParameters(method.typeParameters, context); + const parameters = method.parameters.map((p) => ensureParameter(p, context)); + if (isConstContext) { + return factory.createPropertySignature( + [factory.createModifier(148 /* ReadonlyKeyword */)], + reuseNode(context, name), + reuseNode(context, method.questionToken), + factory.createFunctionTypeNode( + typeParameters, + parameters, + returnType + ) + ); + } else { + if (isIdentifier(name) && name.escapedText === "new") { + name = factory.createStringLiteral("new"); + } + return factory.createMethodSignature( + [], + reuseNode(context, name), + reuseNode(context, method.questionToken), + typeParameters, + parameters, + returnType + ); + } } function typeFromObjectLiteralAccessor(accessor, name, context) { const allAccessors = resolver.getAllAccessorDeclarations(accessor); - const getAccessorType = allAccessors.getAccessor && getTypeAnnotationFromAccessor2(allAccessors.getAccessor); - const setAccessorType = allAccessors.setAccessor && getTypeAnnotationFromAccessor2(allAccessors.setAccessor); + const getAccessorType = allAccessors.getAccessor && getTypeAnnotationFromAccessor(allAccessors.getAccessor); + const setAccessorType = allAccessors.setAccessor && getTypeAnnotationFromAccessor(allAccessors.setAccessor); if (getAccessorType !== void 0 && setAccessorType !== void 0) { - const parameters = accessor.parameters.every((p) => ensureParameter(p, context)); - if (isGetAccessor(accessor)) { - return parameters && serializeExistingTypeAnnotation(getAccessorType); - } else { - return parameters; - } + return withNewScope(context, accessor, () => { + const parameters = accessor.parameters.map((p) => ensureParameter(p, context)); + if (isGetAccessor(accessor)) { + return factory.updateGetAccessorDeclaration( + accessor, + [], + reuseNode(context, name), + parameters, + serializeExistingTypeNodeWithFallback(getAccessorType, context), + /*body*/ + void 0 + ); + } else { + return factory.updateSetAccessorDeclaration( + accessor, + [], + reuseNode(context, name), + parameters, + /*body*/ + void 0 + ); + } + }); } else if (allAccessors.firstAccessor === accessor) { - const foundType = getAccessorType ?? setAccessorType; - const propertyType = foundType ? serializeExistingTypeAnnotation(foundType) : inferAccessorType(accessor, allAccessors, context); - return propertyType; + const foundType = getAccessorType ? withNewScope(context, allAccessors.getAccessor, () => serializeExistingTypeNodeWithFallback(getAccessorType, context)) : setAccessorType ? withNewScope(context, allAccessors.setAccessor, () => serializeExistingTypeNodeWithFallback(setAccessorType, context)) : void 0; + const propertyType = foundType ?? inferAccessorType( + accessor, + allAccessors, + context, + /*symbol*/ + void 0 + ); + const propertySignature = factory.createPropertySignature( + allAccessors.setAccessor === void 0 ? [factory.createModifier(148 /* ReadonlyKeyword */)] : [], + reuseNode(context, name), + /*questionToken*/ + void 0, + propertyType + ); + return propertySignature; } - return false; } - function typeFromPrimitiveLiteral() { - return true; + function createUndefinedTypeNode() { + if (strictNullChecks) { + return factory.createKeywordTypeNode(157 /* UndefinedKeyword */); + } else { + return factory.createKeywordTypeNode(133 /* AnyKeyword */); + } + } + function typeFromPrimitiveLiteral(node, baseType, context, preserveLiterals, requiresAddingUndefined) { + let result; + if (preserveLiterals) { + if (node.kind === 224 /* PrefixUnaryExpression */ && node.operator === 40 /* PlusToken */) { + result = factory.createLiteralTypeNode(reuseNode(context, node.operand)); + } + result = factory.createLiteralTypeNode(reuseNode(context, node)); + } else { + result = factory.createKeywordTypeNode(baseType); + } + return syntacticResult(addUndefinedIfNeeded(result, requiresAddingUndefined, node, context)); + } + function addUndefinedIfNeeded(node, addUndefined, owner, context) { + const parentDeclaration = owner && walkUpParenthesizedExpressions(owner).parent; + const optionalDeclaration = parentDeclaration && isDeclaration(parentDeclaration) && isOptionalDeclaration(parentDeclaration); + if (!strictNullChecks || !(addUndefined || optionalDeclaration)) return node; + if (!canAddUndefined(node)) { + context.tracker.reportInferenceFallback(node); + } + if (isUnionTypeNode(node)) { + return factory.createUnionTypeNode([...node.types, factory.createKeywordTypeNode(157 /* UndefinedKeyword */)]); + } + return factory.createUnionTypeNode([node, factory.createKeywordTypeNode(157 /* UndefinedKeyword */)]); } function canAddUndefined(node) { if (!strictNullChecks) return true; @@ -135690,24 +137268,28 @@ function createSyntacticTypeNodeBuilder(options, resolver) { } return false; } - function createReturnFromSignature(fn, context) { - let returnType; - const returnTypeNode = getEffectiveReturnTypeNode(fn); + function createReturnFromSignature(fn, symbol, context, reportFallback = true) { + let returnType = failed; + const returnTypeNode = isJSDocConstructSignature(fn) ? getEffectiveTypeAnnotationNode(fn.parameters[0]) : getEffectiveReturnTypeNode(fn); if (returnTypeNode) { - returnType = serializeExistingTypeAnnotation(returnTypeNode); - } - if (!returnType && isValueSignatureDeclaration(fn)) { + returnType = syntacticResult(serializeTypeAnnotationOfDeclaration(returnTypeNode, context, fn, symbol)); + } else if (isValueSignatureDeclaration(fn)) { returnType = typeFromSingleReturnExpression(fn, context); } - return returnType ?? inferReturnTypeOfSignatureSignature(fn, context); + return returnType.type !== void 0 ? returnType.type : inferReturnTypeOfSignatureSignature(fn, context, reportFallback && returnType.reportFallback && !returnTypeNode); } function typeFromSingleReturnExpression(declaration, context) { let candidateExpr; if (declaration && !nodeIsMissing(declaration.body)) { - if (getFunctionFlags(declaration) & 3 /* AsyncGenerator */) return void 0; + const flags = getFunctionFlags(declaration); + if (flags & 3 /* AsyncGenerator */) return failed; const body = declaration.body; if (body && isBlock(body)) { forEachReturnStatement(body, (s) => { + if (s.parent !== body) { + candidateExpr = void 0; + return true; + } if (!candidateExpr) { candidateExpr = s.expression; } else { @@ -135720,9 +137302,21 @@ function createSyntacticTypeNodeBuilder(options, resolver) { } } if (candidateExpr) { - return typeFromExpression(candidateExpr, context); + if (isContextuallyTyped(candidateExpr)) { + const type = isJSDocTypeAssertion(candidateExpr) ? getJSDocTypeAssertionType(candidateExpr) : isAsExpression(candidateExpr) || isTypeAssertionExpression(candidateExpr) ? candidateExpr.type : void 0; + if (type && !isConstTypeReference(type)) { + return syntacticResult(serializeExistingTypeNode(type, context)); + } + } else { + return typeFromExpression(candidateExpr, context); + } } - return void 0; + return failed; + } + function isContextuallyTyped(node) { + return findAncestor(node.parent, (n) => { + return isCallExpression(n) || !isFunctionLikeDeclaration(n) && !!getEffectiveTypeAnnotationNode(n) || isJsxElement(n) || isJsxExpression(n); + }); } } @@ -135734,8 +137328,6 @@ __export(ts_JsTyping_exports, { isTypingUpToDate: () => isTypingUpToDate, loadSafeList: () => loadSafeList, loadTypesMap: () => loadTypesMap, - nodeCoreModuleList: () => nodeCoreModuleList, - nodeCoreModules: () => nodeCoreModules, nonRelativeModuleNameForTypingCache: () => nonRelativeModuleNameForTypingCache, renderPackageNameValidationFailure: () => renderPackageNameValidationFailure, validatePackageName: () => validatePackageName @@ -135784,58 +137376,6 @@ function isTypingUpToDate(cachedTyping, availableTypingVersions) { const availableVersion = new Version(getProperty(availableTypingVersions, `ts${versionMajorMinor}`) || getProperty(availableTypingVersions, "latest")); return availableVersion.compareTo(cachedTyping.version) <= 0; } -var unprefixedNodeCoreModuleList = [ - "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" -]; -var prefixedNodeCoreModuleList = unprefixedNodeCoreModuleList.map((name) => `node:${name}`); -var nodeCoreModuleList = [...unprefixedNodeCoreModuleList, ...prefixedNodeCoreModuleList]; -var nodeCoreModules = new Set(nodeCoreModuleList); function nonRelativeModuleNameForTypingCache(moduleName) { return nodeCoreModules.has(moduleName) ? "node" : moduleName; } @@ -136070,6 +137610,7 @@ function renderPackageNameValidationFailureWorker(typing, result, name, isScopeN return `'${typing}':: ${kind} name '${name}' contains non URI safe characters`; case 0 /* Ok */: return Debug.fail(); + // Shouldn't have called this. default: Debug.assertNever(result); } @@ -136446,6 +137987,7 @@ function getMeaningFromDeclaration(node) { case 277 /* ExportAssignment */: case 278 /* ExportDeclaration */: return 7 /* All */; + // An external module can be a Value case 307 /* SourceFile */: return 4 /* Namespace */ | 1 /* Value */; } @@ -136754,6 +138296,7 @@ function getNodeKind(node) { return isFunctionExpression(right) ? "method" /* memberFunctionElement */ : "property" /* memberVariableElement */; case 4 /* ThisProperty */: return "property" /* memberVariableElement */; + // property case 5 /* Property */: return isFunctionExpression(right) ? "method" /* memberFunctionElement */ : "property" /* memberVariableElement */; case 6 /* Prototype */: @@ -136791,9 +138334,6 @@ function getLineStartPositionForPosition(position, sourceFile) { const line = sourceFile.getLineAndCharacterOfPosition(position).line; return lineStarts[line]; } -function rangeContainsRange(r1, r2) { - return startEndContainsRange(r1.pos, r1.end, r2); -} function rangeContainsRangeExclusive(r1, r2) { return rangeContainsPositionExclusive(r1, r2.pos) && rangeContainsPositionExclusive(r1, r2.end); } @@ -136803,9 +138343,6 @@ function rangeContainsPosition(r, pos) { function rangeContainsPositionExclusive(r, pos) { return r.pos < pos && pos < r.end; } -function startEndContainsRange(start, end, range) { - return start <= range.pos && end >= range.end; -} function rangeContainsStartEnd(range, start, end) { return range.pos <= start && range.end >= end; } @@ -136847,6 +138384,7 @@ function isCompletedNode(n, sourceFile) { if (!n.arguments) { return true; } + // falls through case 213 /* CallExpression */: case 217 /* ParenthesizedExpression */: case 196 /* ParenthesizedType */: @@ -137575,16 +139113,19 @@ function getPossibleTypeArgumentsInfo(tokenIn, sourceFile) { token = findPrecedingMatchingToken(token, 23 /* OpenBracketToken */, sourceFile); if (!token) return void 0; break; + // Valid tokens in a type name. Skip. case 28 /* CommaToken */: nTypeArguments++; break; case 39 /* EqualsGreaterThanToken */: + // falls through case 80 /* Identifier */: case 11 /* StringLiteral */: case 9 /* NumericLiteral */: case 10 /* BigIntLiteral */: case 112 /* TrueKeyword */: case 97 /* FalseKeyword */: + // falls through case 114 /* TypeOfKeyword */: case 96 /* ExtendsKeyword */: case 143 /* KeyOfKeyword */: @@ -137821,7 +139362,7 @@ function createModuleSpecifierResolutionHost(program, host) { fileExists: (fileName) => program.fileExists(fileName), getCurrentDirectory: () => host.getCurrentDirectory(), readFile: maybeBind(host, host.readFile), - useCaseSensitiveFileNames: maybeBind(host, host.useCaseSensitiveFileNames), + useCaseSensitiveFileNames: maybeBind(host, host.useCaseSensitiveFileNames) || program.useCaseSensitiveFileNames, getSymlinkCache: maybeBind(host, host.getSymlinkCache) || program.getSymlinkCache, getModuleSpecifierCache: maybeBind(host, host.getModuleSpecifierCache), getPackageJsonInfoCache: () => { @@ -138673,28 +140214,33 @@ function tryAndIgnoreErrors(cb) { function tryIOAndConsumeErrors(host, toApply, ...args) { return tryAndIgnoreErrors(() => toApply && toApply.apply(host, args)); } -function findPackageJsons(startDirectory, host, stopDirectory) { +function findPackageJsons(startDirectory, host) { const paths = []; - forEachAncestorDirectory(startDirectory, (ancestor) => { - if (ancestor === stopDirectory) { - return true; - } - const currentConfigPath = combinePaths(ancestor, "package.json"); - if (tryFileExists(host, currentConfigPath)) { - paths.push(currentConfigPath); + forEachAncestorDirectoryStoppingAtGlobalCache( + host, + startDirectory, + (ancestor) => { + const currentConfigPath = combinePaths(ancestor, "package.json"); + if (tryFileExists(host, currentConfigPath)) { + paths.push(currentConfigPath); + } } - }); + ); return paths; } function findPackageJson(directory, host) { let packageJson; - forEachAncestorDirectory(directory, (ancestor) => { - if (ancestor === "node_modules") return true; - packageJson = findConfigFile(ancestor, (f) => tryFileExists(host, f), "package.json"); - if (packageJson) { - return true; + forEachAncestorDirectoryStoppingAtGlobalCache( + host, + directory, + (ancestor) => { + if (ancestor === "node_modules") return true; + packageJson = findConfigFile(ancestor, (f) => tryFileExists(host, f), "package.json"); + if (packageJson) { + return true; + } } - }); + ); return packageJson; } function getPackageJsonsVisibleToFile(fileName, host) { @@ -138702,15 +140248,19 @@ function getPackageJsonsVisibleToFile(fileName, host) { return []; } const packageJsons = []; - forEachAncestorDirectory(getDirectoryPath(fileName), (ancestor) => { - const packageJsonFileName = combinePaths(ancestor, "package.json"); - if (host.fileExists(packageJsonFileName)) { - const info = createPackageJsonInfo(packageJsonFileName, host); - if (info) { - packageJsons.push(info); + forEachAncestorDirectoryStoppingAtGlobalCache( + host, + getDirectoryPath(fileName), + (ancestor) => { + const packageJsonFileName = combinePaths(ancestor, "package.json"); + if (host.fileExists(packageJsonFileName)) { + const info = createPackageJsonInfo(packageJsonFileName, host); + if (info) { + packageJsons.push(info); + } } } - }); + ); return packageJsons; } function createPackageJsonInfo(fileName, host) { @@ -138839,7 +140389,7 @@ function createPackageJsonImportFilter(fromFile, preferences, host) { return moduleSpecifierIsCoveredByPackageJson(moduleSpecifier); } function isAllowedCoreNodeModulesImport(moduleSpecifier) { - if (isFullSourceFile(fromFile) && isSourceFileJS(fromFile) && ts_JsTyping_exports.nodeCoreModules.has(moduleSpecifier)) { + if (isFullSourceFile(fromFile) && isSourceFileJS(fromFile) && nodeCoreModules.has(moduleSpecifier)) { if (usesNodeCoreModules === void 0) { usesNodeCoreModules = consumesNodeCoreModules(fromFile); } @@ -138876,7 +140426,7 @@ function createPackageJsonImportFilter(fromFile, preferences, host) { } } function consumesNodeCoreModules(sourceFile) { - return some(sourceFile.imports, ({ text }) => ts_JsTyping_exports.nodeCoreModules.has(text)); + return some(sourceFile.imports, ({ text }) => nodeCoreModules.has(text)); } function isInsideNodeModules(fileOrDirectory) { return contains(getPathComponents(fileOrDirectory), "node_modules"); @@ -138950,7 +140500,13 @@ function getDefaultLikeExportNameFromDeclaration(symbol) { if (isExportSpecifier(d) && d.symbol.flags === 2097152 /* Alias */) { return (_b = tryCast(d.propertyName, isIdentifier)) == null ? void 0 : _b.text; } - return (_c = tryCast(getNameOfDeclaration(d), isIdentifier)) == null ? void 0 : _c.text; + const name = (_c = tryCast(getNameOfDeclaration(d), isIdentifier)) == null ? void 0 : _c.text; + if (name) { + return name; + } + if (symbol.parent && !isExternalModuleSymbol(symbol.parent)) { + return symbol.parent.getName(); + } }); } function getSymbolParentOrFail(symbol) { @@ -139012,11 +140568,16 @@ function isDeprecatedDeclaration(decl) { return !!(getCombinedNodeFlagsAlwaysIncludeJSDoc(decl) & 65536 /* Deprecated */); } function shouldUseUriStyleNodeCoreModules(file, program) { - const decisionFromFile = firstDefined(file.imports, (node) => { - if (ts_JsTyping_exports.nodeCoreModules.has(node.text)) { - return startsWith(node.text, "node:"); + let decisionFromFile; + for (const node of file.imports) { + if (nodeCoreModules.has(node.text) && !exclusivelyPrefixedNodeCoreModules.has(node.text)) { + if (startsWith(node.text, "node:")) { + return true; + } else { + decisionFromFile = false; + } } - }); + } return decisionFromFile ?? program.usesUriStyleNodeCoreModules; } function getNewLineKind(newLineCharacter) { @@ -139176,6 +140737,7 @@ var ExportKind = /* @__PURE__ */ ((ExportKind3) => { ExportKind3[ExportKind3["Default"] = 1] = "Default"; ExportKind3[ExportKind3["ExportEquals"] = 2] = "ExportEquals"; ExportKind3[ExportKind3["UMD"] = 3] = "UMD"; + ExportKind3[ExportKind3["Module"] = 4] = "Module"; return ExportKind3; })(ExportKind || {}); function createCacheableExportInfoMap(host) { @@ -139366,38 +140928,57 @@ function createCacheableExportInfoMap(host) { return !packageDeepestNodeModulesPath || startsWith(info.moduleFileName, packageDeepestNodeModulesPath); } } -function isImportableFile(program, from, to, preferences, packageJsonFilter, moduleSpecifierResolutionHost, moduleSpecifierCache) { +function isImportable(program, fromFile, toFile, toModule, preferences, packageJsonFilter, moduleSpecifierResolutionHost, moduleSpecifierCache) { var _a; - if (from === to) return false; - const cachedResult = moduleSpecifierCache == null ? void 0 : moduleSpecifierCache.get(from.path, to.path, preferences, {}); + if (!toFile) { + let useNodePrefix; + const moduleName = stripQuotes(toModule.name); + if (nodeCoreModules.has(moduleName) && (useNodePrefix = shouldUseUriStyleNodeCoreModules(fromFile, program)) !== void 0) { + return useNodePrefix === startsWith(moduleName, "node:"); + } + return !packageJsonFilter || packageJsonFilter.allowsImportingAmbientModule(toModule, moduleSpecifierResolutionHost) || fileContainsPackageImport(fromFile, moduleName); + } + Debug.assertIsDefined(toFile); + if (fromFile === toFile) return false; + const cachedResult = moduleSpecifierCache == null ? void 0 : moduleSpecifierCache.get(fromFile.path, toFile.path, preferences, {}); if ((cachedResult == null ? void 0 : cachedResult.isBlockedByPackageJsonDependencies) !== void 0) { - return !cachedResult.isBlockedByPackageJsonDependencies || !!cachedResult.packageName && fileContainsPackageImport(from, cachedResult.packageName); + return !cachedResult.isBlockedByPackageJsonDependencies || !!cachedResult.packageName && fileContainsPackageImport(fromFile, cachedResult.packageName); } const getCanonicalFileName = hostGetCanonicalFileName(moduleSpecifierResolutionHost); const globalTypingsCache = (_a = moduleSpecifierResolutionHost.getGlobalTypingsCacheLocation) == null ? void 0 : _a.call(moduleSpecifierResolutionHost); const hasImportablePath = !!ts_moduleSpecifiers_exports.forEachFileNameOfModule( - from.fileName, - to.fileName, + fromFile.fileName, + toFile.fileName, moduleSpecifierResolutionHost, /*preferSymlinks*/ false, (toPath3) => { - const toFile = program.getSourceFile(toPath3); - return (toFile === to || !toFile) && isImportablePath(from.fileName, toPath3, getCanonicalFileName, globalTypingsCache); + const file = program.getSourceFile(toPath3); + return (file === toFile || !file) && isImportablePath( + fromFile.fileName, + toPath3, + getCanonicalFileName, + globalTypingsCache, + moduleSpecifierResolutionHost + ); } ); if (packageJsonFilter) { - const importInfo = hasImportablePath ? packageJsonFilter.getSourceFileInfo(to, moduleSpecifierResolutionHost) : void 0; - moduleSpecifierCache == null ? void 0 : moduleSpecifierCache.setBlockedByPackageJsonDependencies(from.path, to.path, preferences, {}, importInfo == null ? void 0 : importInfo.packageName, !(importInfo == null ? void 0 : importInfo.importable)); - return !!(importInfo == null ? void 0 : importInfo.importable) || !!(importInfo == null ? void 0 : importInfo.packageName) && fileContainsPackageImport(from, importInfo.packageName); + const importInfo = hasImportablePath ? packageJsonFilter.getSourceFileInfo(toFile, moduleSpecifierResolutionHost) : void 0; + moduleSpecifierCache == null ? void 0 : moduleSpecifierCache.setBlockedByPackageJsonDependencies(fromFile.path, toFile.path, preferences, {}, importInfo == null ? void 0 : importInfo.packageName, !(importInfo == null ? void 0 : importInfo.importable)); + return !!(importInfo == null ? void 0 : importInfo.importable) || hasImportablePath && !!(importInfo == null ? void 0 : importInfo.packageName) && fileContainsPackageImport(fromFile, importInfo.packageName); } return hasImportablePath; } function fileContainsPackageImport(sourceFile, packageName) { return sourceFile.imports && sourceFile.imports.some((i) => i.text === packageName || i.text.startsWith(packageName + "/")); } -function isImportablePath(fromPath, toPath3, getCanonicalFileName, globalCachePath) { - const toNodeModules = forEachAncestorDirectory(toPath3, (ancestor) => getBaseFileName(ancestor) === "node_modules" ? ancestor : void 0); +function isImportablePath(fromPath, toPath3, getCanonicalFileName, globalCachePath, host) { + const toNodeModules = forEachAncestorDirectoryStoppingAtGlobalCache( + host, + toPath3, + (ancestor) => getBaseFileName(ancestor) === "node_modules" ? ancestor : void 0 + ); const toNodeModulesParent = toNodeModules && getDirectoryPath(getCanonicalFileName(toNodeModules)); return toNodeModulesParent === void 0 || startsWith(getCanonicalFileName(fromPath), toNodeModulesParent) || !!globalCachePath && startsWith(getCanonicalFileName(globalCachePath), toNodeModulesParent); } @@ -139468,13 +141049,17 @@ function getIsExcluded(excludePatterns, host) { if (excludePatterns.some((p) => p.test(fileName))) return true; if ((realpathsWithSymlinks == null ? void 0 : realpathsWithSymlinks.size) && pathContainsNodeModules(fileName)) { let dir = getDirectoryPath(fileName); - return forEachAncestorDirectory(getDirectoryPath(path), (dirPath) => { - const symlinks = realpathsWithSymlinks.get(ensureTrailingDirectorySeparator(dirPath)); - if (symlinks) { - return symlinks.some((s) => excludePatterns.some((p) => p.test(fileName.replace(dir, s)))); + return forEachAncestorDirectoryStoppingAtGlobalCache( + host, + getDirectoryPath(path), + (dirPath) => { + const symlinks = realpathsWithSymlinks.get(ensureTrailingDirectorySeparator(dirPath)); + if (symlinks) { + return symlinks.some((s) => excludePatterns.some((p) => p.test(fileName.replace(dir, s)))); + } + dir = getDirectoryPath(dir); } - dir = getDirectoryPath(dir); - }) ?? false; + ) ?? false; } return false; }; @@ -139513,7 +141098,7 @@ function getExportInfoMap(importingFile, host, program, preferences, cancellatio true, (moduleSymbol, moduleFile, program2, isFromPackageJson) => { if (++moduleCount % 100 === 0) cancellationToken == null ? void 0 : cancellationToken.throwIfCancellationRequested(); - const seenExports = /* @__PURE__ */ new Map(); + const seenExports = /* @__PURE__ */ new Set(); const checker = program2.getTypeChecker(); const defaultInfo = getDefaultLikeExportInfo(moduleSymbol, checker); if (defaultInfo && isImportableSymbol(defaultInfo.symbol, checker)) { @@ -139553,7 +141138,11 @@ function getExportInfoMap(importingFile, host, program, preferences, cancellatio } function getDefaultLikeExportInfo(moduleSymbol, checker) { const exportEquals = checker.resolveExternalModuleSymbol(moduleSymbol); - if (exportEquals !== moduleSymbol) return { symbol: exportEquals, exportKind: 2 /* ExportEquals */ }; + if (exportEquals !== moduleSymbol) { + const defaultExport2 = checker.tryGetMemberInModuleExports("default" /* Default */, exportEquals); + if (defaultExport2) return { symbol: defaultExport2, exportKind: 1 /* Default */ }; + return { symbol: exportEquals, exportKind: 2 /* ExportEquals */ }; + } const defaultExport = checker.tryGetMemberInModuleExports("default" /* Default */, moduleSymbol); if (defaultExport) return { symbol: defaultExport, exportKind: 1 /* Default */ }; } @@ -139571,7 +141160,7 @@ function getNamesForExportedSymbol(defaultExport, checker, scriptTarget) { function forEachNameOfDefaultExport(defaultExport, checker, scriptTarget, cb) { let chain; let current = defaultExport; - const seen = /* @__PURE__ */ new Map(); + const seen = /* @__PURE__ */ new Set(); while (current) { const fromDeclaration = getDefaultLikeExportNameFromDeclaration(current); if (fromDeclaration) { @@ -139844,6 +141433,7 @@ function canFollow(keyword1, keyword2) { case 126 /* StaticKeyword */: case 129 /* AccessorKeyword */: return true; + // Allow things like "public get", "public constructor" and "public static". default: return false; } @@ -140654,6 +142244,7 @@ var DocumentHighlights; if (statement.kind === 251 /* ContinueStatement */) { return false; } + // falls through case 248 /* ForStatement */: case 249 /* ForInStatement */: case 250 /* ForOfStatement */: @@ -140699,6 +142290,7 @@ var DocumentHighlights; return [...nodes, container]; } return nodes; + // Syntactically invalid positions that the parser might produce anyway default: return void 0; } @@ -142278,8 +143870,10 @@ function isFixablePromiseArgument(arg, checker) { if (functionFlags & 1 /* Generator */) { return false; } + // falls through case 219 /* ArrowFunction */: visitedNestedConvertibleFunctions.set(getKeyFromNode(arg), true); + // falls through case 106 /* NullKeyword */: return true; case 80 /* Identifier */: @@ -142952,6 +144546,7 @@ function addChildrenRecursively(node) { Debug.assertNever(special); } } + // falls through default: if (hasJSDocNodes(node)) { forEach(node.jsDoc, (jsDoc) => { @@ -143114,6 +144709,7 @@ function isSynthesized(node) { return !!(node.flags & 16 /* Synthesized */); } function isOwnChild(n, parent2) { + if (n.parent === void 0) return false; const par = isModuleBlock(n.parent) ? n.parent.parent : n.parent; return par === parent2.node || contains(parent2.additionalNodes, par); } @@ -143398,6 +144994,7 @@ __export(ts_refactor_exports, { getStatementsToMove: () => getStatementsToMove, getUsageInfo: () => getUsageInfo, inferFunctionReturnType: () => ts_refactor_inferFunctionReturnType_exports, + isInImport: () => isInImport, isRefactorErrorInfo: () => isRefactorErrorInfo, refactorKindBeginsWith: () => refactorKindBeginsWith, registerRefactor: () => registerRefactor @@ -143544,6 +145141,7 @@ function changeExport(exportingSourceFile, { wasDefault, exportNode, exportName changes.replaceNode(exportingSourceFile, exportNode, factory.createExportDefault(Debug.checkDefined(decl.initializer, "Initializer was previously known to be present"))); break; } + // falls through case 266 /* EnumDeclaration */: case 265 /* TypeAliasDeclaration */: case 267 /* ModuleDeclaration */: @@ -144028,7 +145626,7 @@ function flattenTypeLiteralNodeReference(checker, selection) { } if (isIntersectionTypeNode(selection)) { const result = []; - const seen = /* @__PURE__ */ new Map(); + const seen = /* @__PURE__ */ new Set(); for (const type of selection.types) { const flattenedTypeMembers = flattenTypeLiteralNodeReference(checker, type); if (!flattenedTypeMembers || !flattenedTypeMembers.every((type2) => type2.name && addToSeen(seen, getNameFromPropertyName(type2.name)))) { @@ -144650,6 +146248,7 @@ function getNamesToExportInCommonJS(decl) { case 262 /* FunctionDeclaration */: case 263 /* ClassDeclaration */: return [decl.name.text]; + // TODO: GH#18217 case 243 /* VariableStatement */: return mapDefined(decl.declarationList.declarations, (d) => isIdentifier(d.name) ? d.name.text : void 0); case 267 /* ModuleDeclaration */: @@ -144831,23 +146430,22 @@ function getUsageInfo(oldFile, toMove, checker, existingTargetLocals = /* @__PUR const unusedImportsFromOldFile = /* @__PURE__ */ new Set(); for (const statement of toMove) { forEachReference(statement, checker, enclosingRange, (symbol, isValidTypeOnlyUseSite) => { - if (!symbol.declarations || isGlobalType(checker, symbol)) { + if (!symbol.declarations) { return; } if (existingTargetLocals.has(skipAlias(symbol, checker))) { unusedImportsFromOldFile.add(symbol); return; } - for (const decl of symbol.declarations) { - if (isInImport(decl)) { - const prevIsTypeOnly = oldImportsNeededByTargetFile.get(symbol); - oldImportsNeededByTargetFile.set(symbol, [ - prevIsTypeOnly === void 0 ? isValidTypeOnlyUseSite : prevIsTypeOnly && isValidTypeOnlyUseSite, - tryCast(decl, (d) => isImportSpecifier(d) || isImportClause(d) || isNamespaceImport(d) || isImportEqualsDeclaration(d) || isBindingElement(d) || isVariableDeclaration(d)) - ]); - } else if (isTopLevelDeclaration(decl) && sourceFileOfTopLevelDeclaration(decl) === oldFile && !movedSymbols.has(symbol)) { - targetFileImportsFromOldFile.set(symbol, isValidTypeOnlyUseSite); - } + const importedDeclaration = find(symbol.declarations, isInImport); + if (importedDeclaration) { + const prevIsTypeOnly = oldImportsNeededByTargetFile.get(symbol); + oldImportsNeededByTargetFile.set(symbol, [ + prevIsTypeOnly === void 0 ? isValidTypeOnlyUseSite : prevIsTypeOnly && isValidTypeOnlyUseSite, + tryCast(importedDeclaration, (d) => isImportSpecifier(d) || isImportClause(d) || isNamespaceImport(d) || isImportEqualsDeclaration(d) || isBindingElement(d) || isVariableDeclaration(d)) + ]); + } else if (!movedSymbols.has(symbol) && every(symbol.declarations, (decl) => isTopLevelDeclaration(decl) && sourceFileOfTopLevelDeclaration(decl) === oldFile)) { + targetFileImportsFromOldFile.set(symbol, isValidTypeOnlyUseSite); } }); } @@ -144881,16 +146479,6 @@ function getUsageInfo(oldFile, toMove, checker, existingTargetLocals = /* @__PUR return !!jsxNamespaceSymbol2 && some(jsxNamespaceSymbol2.declarations, isInImport) ? jsxNamespaceSymbol2 : void 0; } } -function isGlobalType(checker, symbol) { - return !!checker.resolveName( - symbol.name, - /*location*/ - void 0, - 788968 /* Type */, - /*excludeGlobals*/ - false - ); -} function makeUniqueFilename(proposedFilename, extension, inDirectory, host) { let newFilename = proposedFilename; for (let i = 1; ; i++) { @@ -145109,6 +146697,9 @@ function addTargetFileImports(oldFile, importsToCopy, targetFileImportsFromOldFi const targetSymbol = skipAlias(symbol, checker); if (checker.isUnknownSymbol(targetSymbol)) { importAdder.addVerbatimImport(Debug.checkDefined(declaration ?? findAncestor((_a = symbol.declarations) == null ? void 0 : _a[0], isAnyImportOrRequireStatement))); + } else if (targetSymbol.parent === void 0) { + Debug.assert(declaration !== void 0, "expected module symbol to have a declaration"); + importAdder.addImportForModuleSymbol(symbol, isValidTypeOnlyUseSite, declaration); } else { importAdder.addImportFromExportedSymbol(targetSymbol, isValidTypeOnlyUseSite, declaration); } @@ -146112,6 +147703,7 @@ function entryToFunctionCall(entry) { const functionReference = entry.node; const parent2 = functionReference.parent; switch (parent2.kind) { + // foo(...) or super(...) or new Foo(...) case 213 /* CallExpression */: case 214 /* NewExpression */: const callOrNewExpression = tryCast(parent2, isCallOrNewExpression); @@ -146119,6 +147711,7 @@ function entryToFunctionCall(entry) { return callOrNewExpression; } break; + // x.foo(...) case 211 /* PropertyAccessExpression */: const propertyAccessExpression = tryCast(parent2, isPropertyAccessExpression); if (propertyAccessExpression && propertyAccessExpression.parent && propertyAccessExpression.name === functionReference) { @@ -146128,6 +147721,7 @@ function entryToFunctionCall(entry) { } } break; + // x["foo"](...) case 212 /* ElementAccessExpression */: const elementAccessExpression = tryCast(parent2, isElementAccessExpression); if (elementAccessExpression && elementAccessExpression.parent && elementAccessExpression.argumentExpression === functionReference) { @@ -146146,12 +147740,14 @@ function entryToAccessExpression(entry) { const reference = entry.node; const parent2 = reference.parent; switch (parent2.kind) { + // `C.foo` case 211 /* PropertyAccessExpression */: const propertyAccessExpression = tryCast(parent2, isPropertyAccessExpression); if (propertyAccessExpression && propertyAccessExpression.expression === reference) { return propertyAccessExpression; } break; + // `C["foo"]` case 212 /* ElementAccessExpression */: const elementAccessExpression = tryCast(parent2, isElementAccessExpression); if (elementAccessExpression && elementAccessExpression.expression === reference) { @@ -147244,11 +148840,13 @@ function getRangeToExtract2(sourceFile, span, invoked = true) { forEachChild(n, check); } }); + // falls through case 263 /* ClassDeclaration */: case 262 /* FunctionDeclaration */: if (isSourceFile(node2.parent) && node2.parent.externalModuleIndicator === void 0) { (errors2 || (errors2 = [])).push(createDiagnosticForNode(node2, Messages.functionWillNotBeVisibleInTheNewScope)); } + // falls through case 231 /* ClassExpression */: case 218 /* FunctionExpression */: case 174 /* MethodDeclaration */: @@ -149075,6 +150673,7 @@ var SymbolObject = class { if (context) { if (isGetAccessor(context)) { if (!this.contextualGetAccessorDocumentationComment) { + this.contextualGetAccessorDocumentationComment = emptyArray; this.contextualGetAccessorDocumentationComment = getDocumentationComment(filter(this.declarations, isGetAccessor), checker); } if (length(this.contextualGetAccessorDocumentationComment)) { @@ -149083,6 +150682,7 @@ var SymbolObject = class { } if (isSetAccessor(context)) { if (!this.contextualSetAccessorDocumentationComment) { + this.contextualSetAccessorDocumentationComment = emptyArray; this.contextualSetAccessorDocumentationComment = getDocumentationComment(filter(this.declarations, isSetAccessor), checker); } if (length(this.contextualSetAccessorDocumentationComment)) { @@ -149103,6 +150703,7 @@ var SymbolObject = class { if (context) { if (isGetAccessor(context)) { if (!this.contextualGetAccessorTags) { + this.contextualGetAccessorTags = emptyArray; this.contextualGetAccessorTags = getJsDocTagsOfDeclarations(filter(this.declarations, isGetAccessor), checker); } if (length(this.contextualGetAccessorTags)) { @@ -149111,6 +150712,7 @@ var SymbolObject = class { } if (isSetAccessor(context)) { if (!this.contextualSetAccessorTags) { + this.contextualSetAccessorTags = emptyArray; this.contextualSetAccessorTags = getJsDocTagsOfDeclarations(filter(this.declarations, isSetAccessor), checker); } if (length(this.contextualSetAccessorTags)) { @@ -149423,6 +151025,7 @@ var SourceFileObject = class extends NodeObject { if (!hasSyntacticModifier(node, 31 /* ParameterPropertyModifier */)) { break; } + // falls through case 260 /* VariableDeclaration */: case 208 /* BindingElement */: { const decl = node; @@ -149434,6 +151037,7 @@ var SourceFileObject = class extends NodeObject { visit(decl.initializer); } } + // falls through case 306 /* EnumMember */: case 172 /* PropertyDeclaration */: case 171 /* PropertySignature */: @@ -149468,6 +151072,7 @@ var SourceFileObject = class extends NodeObject { if (getAssignmentDeclarationKind(node) !== 0 /* None */) { addDeclaration(node); } + // falls through default: forEachChild(node, visit); } @@ -149715,7 +151320,8 @@ var invalidOperationsInSyntacticMode = [ "getNavigateToItems", "getRenameInfo", "findRenameLocations", - "getApplicableRefactors" + "getApplicableRefactors", + "preparePasteEditsForFile" ]; function createLanguageService(host, documentRegistry = createDocumentRegistry(host.useCaseSensitiveFileNames && host.useCaseSensitiveFileNames(), host.getCurrentDirectory(), host.jsDocParsingMode), syntaxOnlyOrLanguageServiceMode) { var _a; @@ -149831,7 +151437,8 @@ function createLanguageService(host, documentRegistry = createDocumentRegistry(h resolveLibrary: maybeBind(host, host.resolveLibrary), useSourceOfProjectReferenceRedirect: maybeBind(host, host.useSourceOfProjectReferenceRedirect), getParsedCommandLine, - jsDocParsingMode: host.jsDocParsingMode + jsDocParsingMode: host.jsDocParsingMode, + getGlobalTypingsCacheLocation: maybeBind(host, host.getGlobalTypingsCacheLocation) }; const originalGetSourceFile = compilerHost.getSourceFile; const { getSourceFileWithCache } = changeCompilerHostLikeToUseCache( @@ -150207,6 +151814,14 @@ function createLanguageService(host, documentRegistry = createDocumentRegistry(h tags }; } + function preparePasteEditsForFile(fileName, copiedTextRange) { + synchronizeHostData(); + return ts_preparePasteEdits_exports.preparePasteEdits( + getValidSourceFile(fileName), + copiedTextRange, + program.getTypeChecker() + ); + } function getPasteEdits(args, formatOptions) { synchronizeHostData(); return ts_PasteEdits_exports.pasteEditsProvider( @@ -150355,6 +151970,7 @@ function createLanguageService(host, documentRegistry = createDocumentRegistry(h case 197 /* ThisType */: case 80 /* Identifier */: break; + // Cant create the text span default: return void 0; } @@ -150460,22 +152076,22 @@ function createLanguageService(host, documentRegistry = createDocumentRegistry(h } return []; } - function getCodeFixesAtPosition(fileName, start, end, errorCodes67, formatOptions, preferences = emptyOptions) { + function getCodeFixesAtPosition(fileName, start, end, errorCodes68, formatOptions, preferences = emptyOptions) { synchronizeHostData(); const sourceFile = getValidSourceFile(fileName); const span = createTextSpanFromBounds(start, end); const formatContext = ts_formatting_exports.getFormatContext(formatOptions, host); - return flatMap(deduplicate(errorCodes67, equateValues, compareValues), (errorCode) => { + return flatMap(deduplicate(errorCodes68, equateValues, compareValues), (errorCode) => { cancellationToken.throwIfCancellationRequested(); return ts_codefix_exports.getFixes({ errorCode, sourceFile, span, program, host, cancellationToken, formatContext, preferences }); }); } - function getCombinedCodeFix(scope, fixId55, formatOptions, preferences = emptyOptions) { + function getCombinedCodeFix(scope, fixId56, formatOptions, preferences = emptyOptions) { synchronizeHostData(); Debug.assert(scope.type === "file"); const sourceFile = getValidSourceFile(scope.fileName); const formatContext = ts_formatting_exports.getFormatContext(formatOptions, host); - return ts_codefix_exports.getAllFixes({ fixId: fixId55, sourceFile, program, host, cancellationToken, formatContext, preferences }); + return ts_codefix_exports.getAllFixes({ fixId: fixId56, sourceFile, program, host, cancellationToken, formatContext, preferences }); } function organizeImports2(args, formatOptions, preferences = emptyOptions) { synchronizeHostData(); @@ -151008,6 +152624,7 @@ function createLanguageService(host, documentRegistry = createDocumentRegistry(h uncommentSelection, provideInlayHints: provideInlayHints2, getSupportedCodeFixes, + preparePasteEditsForFile, getPasteEdits, mapCode: mapCode2 }; @@ -151072,6 +152689,7 @@ function getContainingObjectLiteralElementWorker(node) { if (node.parent.kind === 167 /* ComputedPropertyName */) { return isObjectLiteralElement(node.parent.parent) ? node.parent.parent : void 0; } + // falls through case 80 /* Identifier */: return isObjectLiteralElement(node.parent) && (node.parent.parent.kind === 210 /* ObjectLiteralExpression */ || node.parent.parent.kind === 292 /* JsxAttributes */) && node.parent.name === node ? node.parent : void 0; } @@ -151226,6 +152844,7 @@ function spanInSourceFileAtLocation(sourceFile, position) { if (isFunctionBlock(node)) { return spanInFunctionBlock(node); } + // falls through case 268 /* ModuleBlock */: return spanInBlock(node); case 299 /* CatchClause */: @@ -151274,6 +152893,7 @@ function spanInSourceFileAtLocation(sourceFile, position) { if (getModuleInstanceState(node) !== 1 /* Instantiated */) { return void 0; } + // falls through case 263 /* ClassDeclaration */: case 266 /* EnumDeclaration */: case 306 /* EnumMember */: @@ -151286,9 +152906,11 @@ function spanInSourceFileAtLocation(sourceFile, position) { case 206 /* ObjectBindingPattern */: case 207 /* ArrayBindingPattern */: return spanInBindingPattern(node); + // No breakpoint in interface, type alias case 264 /* InterfaceDeclaration */: case 265 /* TypeAliasDeclaration */: return void 0; + // Tokens: case 27 /* SemicolonToken */: case 1 /* EndOfFileToken */: return spanInNodeIfStartsOnSameLine(findPrecedingToken(node.pos, sourceFile)); @@ -151309,6 +152931,7 @@ function spanInSourceFileAtLocation(sourceFile, position) { case 32 /* GreaterThanToken */: case 30 /* LessThanToken */: return spanInGreaterThanOrLessThanToken(node); + // Keywords: case 117 /* WhileKeyword */: return spanInWhileKeyword(node); case 93 /* ElseKeyword */: @@ -151459,10 +153082,13 @@ function spanInSourceFileAtLocation(sourceFile, position) { if (getModuleInstanceState(block.parent) !== 1 /* Instantiated */) { return void 0; } + // Set on parent if on same line otherwise on first statement + // falls through case 247 /* WhileStatement */: case 245 /* IfStatement */: case 249 /* ForInStatement */: return spanInNodeIfStartsOnSameLine(block.parent, block.statements[0]); + // Set span on previous token if it starts on same line otherwise on the first statement of the block case 248 /* ForStatement */: case 250 /* ForOfStatement */: return spanInNodeIfStartsOnSameLine(findPrecedingToken(block.pos, sourceFile, block.parent), block.statements[0]); @@ -151528,6 +153154,7 @@ function spanInSourceFileAtLocation(sourceFile, position) { if (getModuleInstanceState(node2.parent.parent) !== 1 /* Instantiated */) { return void 0; } + // falls through case 266 /* EnumDeclaration */: case 263 /* ClassDeclaration */: return textSpan(node2); @@ -151535,6 +153162,7 @@ function spanInSourceFileAtLocation(sourceFile, position) { if (isFunctionBlock(node2.parent)) { return textSpan(node2); } + // falls through case 299 /* CatchClause */: return spanInNode(lastOrUndefined(node2.parent.statements)); case 269 /* CaseBlock */: @@ -151547,6 +153175,7 @@ function spanInSourceFileAtLocation(sourceFile, position) { case 206 /* ObjectBindingPattern */: const bindingPattern = node2.parent; return spanInNode(lastOrUndefined(bindingPattern.elements) || bindingPattern); + // Default to parent node default: if (isArrayLiteralOrObjectLiteralDestructuringPattern(node2.parent)) { const objectLiteral = node2.parent; @@ -151596,6 +153225,7 @@ function spanInSourceFileAtLocation(sourceFile, position) { case 214 /* NewExpression */: case 217 /* ParenthesizedExpression */: return spanInPreviousNode(node2); + // Default to parent node default: return spanInNode(node2.parent); } @@ -152129,8 +153759,10 @@ __export(ts_codefix_exports, { setJsonCompilerOptionValue: () => setJsonCompilerOptionValue, setJsonCompilerOptionValues: () => setJsonCompilerOptionValues, tryGetAutoImportableReferenceFromTypeNode: () => tryGetAutoImportableReferenceFromTypeNode, + typeNodeToAutoImportableTypeNode: () => typeNodeToAutoImportableTypeNode, typePredicateToAutoImportableTypeNode: () => typePredicateToAutoImportableTypeNode, - typeToAutoImportableTypeNode: () => typeToAutoImportableTypeNode + typeToAutoImportableTypeNode: () => typeToAutoImportableTypeNode, + typeToMinimizedReferenceType: () => typeToMinimizedReferenceType }); // src/services/codeFixProvider.ts @@ -152147,14 +153779,14 @@ function createCodeFixActionWithoutFixAll(fixName8, changes, description3) { void 0 ); } -function createCodeFixAction(fixName8, changes, description3, fixId55, fixAllDescription, command) { - return createCodeFixActionWorker(fixName8, diagnosticToString(description3), changes, fixId55, diagnosticToString(fixAllDescription), command); +function createCodeFixAction(fixName8, changes, description3, fixId56, fixAllDescription, command) { + return createCodeFixActionWorker(fixName8, diagnosticToString(description3), changes, fixId56, diagnosticToString(fixAllDescription), command); } -function createCodeFixActionMaybeFixAll(fixName8, changes, description3, fixId55, fixAllDescription, command) { - return createCodeFixActionWorker(fixName8, diagnosticToString(description3), changes, fixId55, fixAllDescription && diagnosticToString(fixAllDescription), command); +function createCodeFixActionMaybeFixAll(fixName8, changes, description3, fixId56, fixAllDescription, command) { + return createCodeFixActionWorker(fixName8, diagnosticToString(description3), changes, fixId56, fixAllDescription && diagnosticToString(fixAllDescription), command); } -function createCodeFixActionWorker(fixName8, description3, changes, fixId55, fixAllDescription, command) { - return { fixName: fixName8, description: description3, changes, fixId: fixId55, fixAllDescription, commands: command ? [command] : void 0 }; +function createCodeFixActionWorker(fixName8, description3, changes, fixId56, fixAllDescription, command) { + return { fixName: fixName8, description: description3, changes, fixId: fixId56, fixAllDescription, commands: command ? [command] : void 0 }; } function registerCodeFix(reg) { for (const error2 of reg.errorCodes) { @@ -152162,9 +153794,9 @@ function registerCodeFix(reg) { errorCodeToFixes.add(String(error2), reg); } if (reg.fixIds) { - for (const fixId55 of reg.fixIds) { - Debug.assert(!fixIdToRegistration.has(fixId55)); - fixIdToRegistration.set(fixId55, reg); + for (const fixId56 of reg.fixIds) { + Debug.assert(!fixIdToRegistration.has(fixId56)); + fixIdToRegistration.set(fixId56, reg); } } } @@ -152173,15 +153805,15 @@ function getSupportedErrorCodes() { return errorCodeToFixesArray ?? (errorCodeToFixesArray = arrayFrom(errorCodeToFixes.keys())); } function removeFixIdIfFixAllUnavailable(registration, diagnostics) { - const { errorCodes: errorCodes67 } = registration; + const { errorCodes: errorCodes68 } = registration; let maybeFixableDiagnostics = 0; for (const diag2 of diagnostics) { - if (contains(errorCodes67, diag2.code)) maybeFixableDiagnostics++; + if (contains(errorCodes68, diag2.code)) maybeFixableDiagnostics++; if (maybeFixableDiagnostics > 1) break; } const fixAllUnavailable = maybeFixableDiagnostics < 2; - return ({ fixId: fixId55, fixAllDescription, ...action }) => { - return fixAllUnavailable ? action : { ...action, fixId: fixId55, fixAllDescription }; + return ({ fixId: fixId56, fixAllDescription, ...action }) => { + return fixAllUnavailable ? action : { ...action, fixId: fixId56, fixAllDescription }; }; } function getFixes(context) { @@ -152198,14 +153830,14 @@ function createCombinedCodeActions(changes, commands) { function createFileTextChanges(fileName, textChanges2) { return { fileName, textChanges: textChanges2 }; } -function codeFixAll(context, errorCodes67, use) { +function codeFixAll(context, errorCodes68, use) { const commands = []; - const changes = ts_textChanges_exports.ChangeTracker.with(context, (t) => eachDiagnostic(context, errorCodes67, (diag2) => use(t, diag2, commands))); + const changes = ts_textChanges_exports.ChangeTracker.with(context, (t) => eachDiagnostic(context, errorCodes68, (diag2) => use(t, diag2, commands))); return createCombinedCodeActions(changes, commands.length === 0 ? void 0 : commands); } -function eachDiagnostic(context, errorCodes67, cb) { +function eachDiagnostic(context, errorCodes68, cb) { for (const diag2 of getDiagnostics(context)) { - if (contains(errorCodes67, diag2.code)) { + if (contains(errorCodes68, diag2.code)) { cb(diag2); } } @@ -152719,19 +154351,99 @@ function makeChange6(changeTracker, sourceFile, pos) { changeTracker.replaceNode(sourceFile, decorator.expression, replacement); } -// src/services/codefixes/addNameToNamelessParameter.ts -var fixId7 = "addNameToNamelessParameter"; -var errorCodes7 = [Diagnostics.Parameter_has_a_name_but_no_type_Did_you_mean_0_Colon_1.code]; +// src/services/codefixes/addMissingResolutionModeImportAttribute.ts +var fixId7 = "addMissingResolutionModeImportAttribute"; +var errorCodes7 = [ + Diagnostics.Type_only_import_of_an_ECMAScript_module_from_a_CommonJS_module_must_have_a_resolution_mode_attribute.code, + Diagnostics.Type_import_of_an_ECMAScript_module_from_a_CommonJS_module_must_have_a_resolution_mode_attribute.code +]; registerCodeFix({ errorCodes: errorCodes7, - getCodeActions: function getCodeActionsToAddNameToNamelessParameter(context) { - const changes = ts_textChanges_exports.ChangeTracker.with(context, (t) => makeChange7(t, context.sourceFile, context.span.start)); - return [createCodeFixAction(fixId7, changes, Diagnostics.Add_parameter_name, fixId7, Diagnostics.Add_names_to_all_parameters_without_names)]; + getCodeActions: function getCodeActionsToAddMissingResolutionModeImportAttribute(context) { + const changes = ts_textChanges_exports.ChangeTracker.with(context, (t) => makeChange7(t, context.sourceFile, context.span.start, context.program, context.host, context.preferences)); + return [createCodeFixAction(fixId7, changes, Diagnostics.Add_resolution_mode_import_attribute, fixId7, Diagnostics.Add_resolution_mode_import_attribute_to_all_type_only_imports_that_need_it)]; }, fixIds: [fixId7], - getAllCodeActions: (context) => codeFixAll(context, errorCodes7, (changes, diag2) => makeChange7(changes, diag2.file, diag2.start)) + getAllCodeActions: (context) => codeFixAll(context, errorCodes7, (changes, diag2) => makeChange7(changes, diag2.file, diag2.start, context.program, context.host, context.preferences)) +}); +function makeChange7(changeTracker, sourceFile, pos, program, host, preferences) { + var _a, _b, _c; + const token = getTokenAtPosition(sourceFile, pos); + const importNode = findAncestor(token, or(isImportDeclaration, isImportTypeNode)); + Debug.assert(!!importNode, "Expected position to be owned by an ImportDeclaration or ImportType."); + const useSingleQuotes = getQuotePreference(sourceFile, preferences) === 0 /* Single */; + const moduleSpecifier = tryGetModuleSpecifierFromDeclaration(importNode); + const canUseImportMode = !moduleSpecifier || ((_a = resolveModuleName( + moduleSpecifier.text, + sourceFile.fileName, + program.getCompilerOptions(), + host, + program.getModuleResolutionCache(), + /*redirectedReference*/ + void 0, + 99 /* ESNext */ + ).resolvedModule) == null ? void 0 : _a.resolvedFileName) === ((_c = (_b = program.getResolvedModuleFromModuleSpecifier( + moduleSpecifier, + sourceFile + )) == null ? void 0 : _b.resolvedModule) == null ? void 0 : _c.resolvedFileName); + const attributes = importNode.attributes ? factory.updateImportAttributes( + importNode.attributes, + factory.createNodeArray([ + ...importNode.attributes.elements, + factory.createImportAttribute( + factory.createStringLiteral("resolution-mode", useSingleQuotes), + factory.createStringLiteral(canUseImportMode ? "import" : "require", useSingleQuotes) + ) + ], importNode.attributes.elements.hasTrailingComma), + importNode.attributes.multiLine + ) : factory.createImportAttributes( + factory.createNodeArray([ + factory.createImportAttribute( + factory.createStringLiteral("resolution-mode", useSingleQuotes), + factory.createStringLiteral(canUseImportMode ? "import" : "require", useSingleQuotes) + ) + ]) + ); + if (importNode.kind === 272 /* ImportDeclaration */) { + changeTracker.replaceNode( + sourceFile, + importNode, + factory.updateImportDeclaration( + importNode, + importNode.modifiers, + importNode.importClause, + importNode.moduleSpecifier, + attributes + ) + ); + } else { + changeTracker.replaceNode( + sourceFile, + importNode, + factory.updateImportTypeNode( + importNode, + importNode.argument, + attributes, + importNode.qualifier, + importNode.typeArguments + ) + ); + } +} + +// src/services/codefixes/addNameToNamelessParameter.ts +var fixId8 = "addNameToNamelessParameter"; +var errorCodes8 = [Diagnostics.Parameter_has_a_name_but_no_type_Did_you_mean_0_Colon_1.code]; +registerCodeFix({ + errorCodes: errorCodes8, + getCodeActions: function getCodeActionsToAddNameToNamelessParameter(context) { + const changes = ts_textChanges_exports.ChangeTracker.with(context, (t) => makeChange8(t, context.sourceFile, context.span.start)); + return [createCodeFixAction(fixId8, changes, Diagnostics.Add_parameter_name, fixId8, Diagnostics.Add_names_to_all_parameters_without_names)]; + }, + fixIds: [fixId8], + getAllCodeActions: (context) => codeFixAll(context, errorCodes8, (changes, diag2) => makeChange8(changes, diag2.file, diag2.start)) }); -function makeChange7(changeTracker, sourceFile, start) { +function makeChange8(changeTracker, sourceFile, start) { const token = getTokenAtPosition(sourceFile, start); const param = token.parent; if (!isParameter(param)) { @@ -152772,13 +154484,13 @@ function tryGetNextParam(sourceFile, param) { // src/services/codefixes/addOptionalPropertyUndefined.ts var addOptionalPropertyUndefined = "addOptionalPropertyUndefined"; -var errorCodes8 = [ +var errorCodes9 = [ Diagnostics.Type_0_is_not_assignable_to_type_1_with_exactOptionalPropertyTypes_Colon_true_Consider_adding_undefined_to_the_type_of_the_target.code, 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, 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 ]; registerCodeFix({ - errorCodes: errorCodes8, + errorCodes: errorCodes9, getCodeActions(context) { const typeChecker = context.program.getTypeChecker(); const toAdd = getPropertiesToAdd(context.sourceFile, context.span, typeChecker); @@ -152849,18 +154561,18 @@ function addUndefinedToOptionalProperty(changes, toAdd) { } // src/services/codefixes/annotateWithTypeFromJSDoc.ts -var fixId8 = "annotateWithTypeFromJSDoc"; -var errorCodes9 = [Diagnostics.JSDoc_types_may_be_moved_to_TypeScript_types.code]; +var fixId9 = "annotateWithTypeFromJSDoc"; +var errorCodes10 = [Diagnostics.JSDoc_types_may_be_moved_to_TypeScript_types.code]; registerCodeFix({ - errorCodes: errorCodes9, + errorCodes: errorCodes10, getCodeActions(context) { const decl = getDeclaration(context.sourceFile, context.span.start); if (!decl) return; const changes = ts_textChanges_exports.ChangeTracker.with(context, (t) => doChange8(t, context.sourceFile, decl)); - return [createCodeFixAction(fixId8, changes, Diagnostics.Annotate_with_type_from_JSDoc, fixId8, Diagnostics.Annotate_everything_with_types_from_JSDoc)]; + return [createCodeFixAction(fixId9, changes, Diagnostics.Annotate_with_type_from_JSDoc, fixId9, Diagnostics.Annotate_everything_with_types_from_JSDoc)]; }, - fixIds: [fixId8], - getAllCodeActions: (context) => codeFixAll(context, errorCodes9, (changes, diag2) => { + fixIds: [fixId9], + getAllCodeActions: (context) => codeFixAll(context, errorCodes10, (changes, diag2) => { const decl = getDeclaration(diag2.file, diag2.start); if (decl) doChange8(changes, diag2.file, decl); }) @@ -153017,16 +154729,16 @@ function transformJSDocIndexSignature(node) { } // src/services/codefixes/convertFunctionToEs6Class.ts -var fixId9 = "convertFunctionToEs6Class"; -var errorCodes10 = [Diagnostics.This_constructor_function_may_be_converted_to_a_class_declaration.code]; +var fixId10 = "convertFunctionToEs6Class"; +var errorCodes11 = [Diagnostics.This_constructor_function_may_be_converted_to_a_class_declaration.code]; registerCodeFix({ - errorCodes: errorCodes10, + errorCodes: errorCodes11, getCodeActions(context) { const changes = ts_textChanges_exports.ChangeTracker.with(context, (t) => doChange9(t, context.sourceFile, context.span.start, context.program.getTypeChecker(), context.preferences, context.program.getCompilerOptions())); - return [createCodeFixAction(fixId9, changes, Diagnostics.Convert_function_to_an_ES2015_class, fixId9, Diagnostics.Convert_all_constructor_functions_to_classes)]; + return [createCodeFixAction(fixId10, changes, Diagnostics.Convert_function_to_an_ES2015_class, fixId10, Diagnostics.Convert_all_constructor_functions_to_classes)]; }, - fixIds: [fixId9], - getAllCodeActions: (context) => codeFixAll(context, errorCodes10, (changes, err) => doChange9(changes, err.file, err.start, context.program.getTypeChecker(), context.preferences, context.program.getCompilerOptions())) + fixIds: [fixId10], + getAllCodeActions: (context) => codeFixAll(context, errorCodes11, (changes, err) => doChange9(changes, err.file, err.start, context.program.getTypeChecker(), context.preferences, context.program.getCompilerOptions())) }); function doChange9(changes, sourceFile, position, checker, preferences, compilerOptions) { const ctorSymbol = checker.getSymbolAtLocation(getTokenAtPosition(sourceFile, position)); @@ -153298,18 +155010,18 @@ function tryGetPropertyName(node, compilerOptions, quotePreference) { } // src/services/codefixes/convertToAsyncFunction.ts -var fixId10 = "convertToAsyncFunction"; -var errorCodes11 = [Diagnostics.This_may_be_converted_to_an_async_function.code]; +var fixId11 = "convertToAsyncFunction"; +var errorCodes12 = [Diagnostics.This_may_be_converted_to_an_async_function.code]; var codeActionSucceeded = true; registerCodeFix({ - errorCodes: errorCodes11, + errorCodes: errorCodes12, getCodeActions(context) { codeActionSucceeded = true; const changes = ts_textChanges_exports.ChangeTracker.with(context, (t) => convertToAsyncFunction(t, context.sourceFile, context.span.start, context.program.getTypeChecker())); - return codeActionSucceeded ? [createCodeFixAction(fixId10, changes, Diagnostics.Convert_to_async_function, fixId10, Diagnostics.Convert_all_to_async_functions)] : []; + return codeActionSucceeded ? [createCodeFixAction(fixId11, changes, Diagnostics.Convert_to_async_function, fixId11, Diagnostics.Convert_all_to_async_functions)] : []; }, - fixIds: [fixId10], - getAllCodeActions: (context) => codeFixAll(context, errorCodes11, (changes, err) => convertToAsyncFunction(changes, err.file, err.start, context.program.getTypeChecker())) + fixIds: [fixId11], + getAllCodeActions: (context) => codeFixAll(context, errorCodes12, (changes, err) => convertToAsyncFunction(changes, err.file, err.start, context.program.getTypeChecker())) }); function convertToAsyncFunction(changes, sourceFile, position, checker) { const tokenAtPosition = getTokenAtPosition(sourceFile, position); @@ -154108,6 +155820,7 @@ function convertStatement(sourceFile, statement, checker, changes, identifiers, } } } + // falls through default: return false; } @@ -154207,6 +155920,8 @@ function tryChangeModuleExportsObject(object, useSitesToUnqualify) { switch (prop.kind) { case 177 /* GetAccessor */: case 178 /* SetAccessor */: + // TODO: Maybe we should handle this? See fourslash test `refactorConvertToEs6Module_export_object_shorthand.ts`. + // falls through case 304 /* ShorthandPropertyAssignment */: case 305 /* SpreadAssignment */: return void 0; @@ -154288,6 +156003,7 @@ function convertExportsDotXEquals_replaceNode(name, exported, useSitesToUnqualif return exportConst(); } } + // falls through case 219 /* ArrowFunction */: return functionExpressionToDeclaration(name, modifiers, exported, useSitesToUnqualify); case 231 /* ClassExpression */: @@ -154336,6 +156052,7 @@ function convertSingleImport(name, moduleSpecifier, checker, identifiers, target )]); } } + // falls through -- object destructuring has an interesting pattern and must be a variable declaration case 207 /* ArrayBindingPattern */: { const tmp = makeUniqueName(moduleSpecifierToValidIdentifier(moduleSpecifier.text, target), identifiers); return convertedImports([ @@ -154509,19 +156226,19 @@ function convertedImports(newImports, useSitesToUnqualify) { } // src/services/codefixes/correctQualifiedNameToIndexedAccessType.ts -var fixId11 = "correctQualifiedNameToIndexedAccessType"; -var errorCodes12 = [Diagnostics.Cannot_access_0_1_because_0_is_a_type_but_not_a_namespace_Did_you_mean_to_retrieve_the_type_of_the_property_1_in_0_with_0_1.code]; +var fixId12 = "correctQualifiedNameToIndexedAccessType"; +var errorCodes13 = [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]; registerCodeFix({ - errorCodes: errorCodes12, + errorCodes: errorCodes13, getCodeActions(context) { const qualifiedName = getQualifiedName(context.sourceFile, context.span.start); if (!qualifiedName) return void 0; const changes = ts_textChanges_exports.ChangeTracker.with(context, (t) => doChange10(t, context.sourceFile, qualifiedName)); const newText = `${qualifiedName.left.text}["${qualifiedName.right.text}"]`; - return [createCodeFixAction(fixId11, changes, [Diagnostics.Rewrite_as_the_indexed_access_type_0, newText], fixId11, Diagnostics.Rewrite_all_as_indexed_access_types)]; + return [createCodeFixAction(fixId12, changes, [Diagnostics.Rewrite_as_the_indexed_access_type_0, newText], fixId12, Diagnostics.Rewrite_all_as_indexed_access_types)]; }, - fixIds: [fixId11], - getAllCodeActions: (context) => codeFixAll(context, errorCodes12, (changes, diag2) => { + fixIds: [fixId12], + getAllCodeActions: (context) => codeFixAll(context, errorCodes13, (changes, diag2) => { const q = getQualifiedName(diag2.file, diag2.start); if (q) { doChange10(changes, diag2.file, q); @@ -154547,20 +156264,20 @@ function doChange10(changeTracker, sourceFile, qualifiedName) { } // src/services/codefixes/convertToTypeOnlyExport.ts -var errorCodes13 = [Diagnostics.Re_exporting_a_type_when_0_is_enabled_requires_using_export_type.code]; -var fixId12 = "convertToTypeOnlyExport"; +var errorCodes14 = [Diagnostics.Re_exporting_a_type_when_0_is_enabled_requires_using_export_type.code]; +var fixId13 = "convertToTypeOnlyExport"; registerCodeFix({ - errorCodes: errorCodes13, + errorCodes: errorCodes14, getCodeActions: function getCodeActionsToConvertToTypeOnlyExport(context) { const changes = ts_textChanges_exports.ChangeTracker.with(context, (t) => fixSingleExportDeclaration(t, getExportSpecifierForDiagnosticSpan(context.span, context.sourceFile), context)); if (changes.length) { - return [createCodeFixAction(fixId12, changes, Diagnostics.Convert_to_type_only_export, fixId12, Diagnostics.Convert_all_re_exported_types_to_type_only_exports)]; + return [createCodeFixAction(fixId13, changes, Diagnostics.Convert_to_type_only_export, fixId13, Diagnostics.Convert_all_re_exported_types_to_type_only_exports)]; } }, - fixIds: [fixId12], + fixIds: [fixId13], getAllCodeActions: function getAllCodeActionsToConvertToTypeOnlyExport(context) { - const fixedExportDeclarations = /* @__PURE__ */ new Map(); - return codeFixAll(context, errorCodes13, (changes, diag2) => { + const fixedExportDeclarations = /* @__PURE__ */ new Set(); + return codeFixAll(context, errorCodes14, (changes, diag2) => { const exportSpecifier = getExportSpecifierForDiagnosticSpan(diag2, context.sourceFile); if (exportSpecifier && addToSeen(fixedExportDeclarations, getNodeId(exportSpecifier.parent.parent))) { fixSingleExportDeclaration(changes, exportSpecifier, context); @@ -154619,18 +156336,18 @@ function getTypeExportSpecifiers(originExportSpecifier, context) { ); return filter(exportClause.elements, (element) => { var _a; - return element === originExportSpecifier || ((_a = findDiagnosticForNode(element, diagnostics)) == null ? void 0 : _a.code) === errorCodes13[0]; + return element === originExportSpecifier || ((_a = findDiagnosticForNode(element, diagnostics)) == null ? void 0 : _a.code) === errorCodes14[0]; }); } // src/services/codefixes/convertToTypeOnlyImport.ts -var errorCodes14 = [ +var errorCodes15 = [ Diagnostics._0_is_a_type_and_must_be_imported_using_a_type_only_import_when_verbatimModuleSyntax_is_enabled.code, Diagnostics._0_resolves_to_a_type_only_declaration_and_must_be_imported_using_a_type_only_import_when_verbatimModuleSyntax_is_enabled.code ]; -var fixId13 = "convertToTypeOnlyImport"; +var fixId14 = "convertToTypeOnlyImport"; registerCodeFix({ - errorCodes: errorCodes14, + errorCodes: errorCodes15, getCodeActions: function getCodeActionsToConvertToTypeOnlyImport(context) { var _a; const declaration = getDeclaration2(context.sourceFile, context.span.start); @@ -154638,15 +156355,15 @@ registerCodeFix({ const changes = ts_textChanges_exports.ChangeTracker.with(context, (t) => doChange11(t, context.sourceFile, declaration)); const importDeclarationChanges = declaration.kind === 276 /* ImportSpecifier */ && isImportDeclaration(declaration.parent.parent.parent) && canConvertImportDeclarationForSpecifier(declaration, context.sourceFile, context.program) ? ts_textChanges_exports.ChangeTracker.with(context, (t) => doChange11(t, context.sourceFile, declaration.parent.parent.parent)) : void 0; const mainAction = createCodeFixAction( - fixId13, + fixId14, changes, declaration.kind === 276 /* ImportSpecifier */ ? [Diagnostics.Use_type_0, ((_a = declaration.propertyName) == null ? void 0 : _a.text) ?? declaration.name.text] : Diagnostics.Use_import_type, - fixId13, + fixId14, Diagnostics.Fix_all_with_type_only_imports ); if (some(importDeclarationChanges)) { return [ - createCodeFixActionWithoutFixAll(fixId13, importDeclarationChanges, Diagnostics.Use_import_type), + createCodeFixActionWithoutFixAll(fixId14, importDeclarationChanges, Diagnostics.Use_import_type), mainAction ]; } @@ -154654,10 +156371,10 @@ registerCodeFix({ } return void 0; }, - fixIds: [fixId13], + fixIds: [fixId14], getAllCodeActions: function getAllCodeActionsToConvertToTypeOnlyImport(context) { const fixedImportDeclarations = /* @__PURE__ */ new Set(); - return codeFixAll(context, errorCodes14, (changes, diag2) => { + return codeFixAll(context, errorCodes15, (changes, diag2) => { const errorDeclaration = getDeclaration2(diag2.file, diag2.start); if ((errorDeclaration == null ? void 0 : errorDeclaration.kind) === 272 /* ImportDeclaration */ && !fixedImportDeclarations.has(errorDeclaration)) { doChange11(changes, diag2.file, errorDeclaration); @@ -154790,11 +156507,11 @@ function doChange11(changes, sourceFile, declaration) { } // src/services/codefixes/convertTypedefToType.ts -var fixId14 = "convertTypedefToType"; -var errorCodes15 = [Diagnostics.JSDoc_typedef_may_be_converted_to_TypeScript_type.code]; +var fixId15 = "convertTypedefToType"; +var errorCodes16 = [Diagnostics.JSDoc_typedef_may_be_converted_to_TypeScript_type.code]; registerCodeFix({ - fixIds: [fixId14], - errorCodes: errorCodes15, + fixIds: [fixId15], + errorCodes: errorCodes16, getCodeActions(context) { const newLineCharacter = getNewLineOrDefaultFromHost(context.host, context.formatContext.options); const node = getTokenAtPosition( @@ -154806,10 +156523,10 @@ registerCodeFix({ if (changes.length > 0) { return [ createCodeFixAction( - fixId14, + fixId15, changes, Diagnostics.Convert_typedef_to_TypeScript_type, - fixId14, + fixId15, Diagnostics.Convert_all_typedef_to_TypeScript_types ) ]; @@ -154817,7 +156534,7 @@ registerCodeFix({ }, getAllCodeActions: (context) => codeFixAll( context, - errorCodes15, + errorCodes16, (changes, diag2) => { const newLineCharacter = getNewLineOrDefaultFromHost(context.host, context.formatContext.options); const node = getTokenAtPosition(diag2.file, diag2.start); @@ -154960,10 +156677,10 @@ function getJSDocTypedefNodes(node) { } // src/services/codefixes/convertLiteralTypeToMappedType.ts -var fixId15 = "convertLiteralTypeToMappedType"; -var errorCodes16 = [Diagnostics._0_only_refers_to_a_type_but_is_being_used_as_a_value_here_Did_you_mean_to_use_1_in_0.code]; +var fixId16 = "convertLiteralTypeToMappedType"; +var errorCodes17 = [Diagnostics._0_only_refers_to_a_type_but_is_being_used_as_a_value_here_Did_you_mean_to_use_1_in_0.code]; registerCodeFix({ - errorCodes: errorCodes16, + errorCodes: errorCodes17, getCodeActions: function getCodeActionsToConvertLiteralTypeToMappedType(context) { const { sourceFile, span } = context; const info = getInfo5(sourceFile, span.start); @@ -154972,10 +156689,10 @@ registerCodeFix({ } const { name, constraint } = info; const changes = ts_textChanges_exports.ChangeTracker.with(context, (t) => doChange13(t, sourceFile, info)); - return [createCodeFixAction(fixId15, changes, [Diagnostics.Convert_0_to_1_in_0, constraint, name], fixId15, Diagnostics.Convert_all_type_literals_to_mapped_type)]; + return [createCodeFixAction(fixId16, changes, [Diagnostics.Convert_0_to_1_in_0, constraint, name], fixId16, Diagnostics.Convert_all_type_literals_to_mapped_type)]; }, - fixIds: [fixId15], - getAllCodeActions: (context) => codeFixAll(context, errorCodes16, (changes, diag2) => { + fixIds: [fixId16], + getAllCodeActions: (context) => codeFixAll(context, errorCodes17, (changes, diag2) => { const info = getInfo5(diag2.file, diag2.start); if (info) { doChange13(changes, diag2.file, info); @@ -155021,25 +156738,25 @@ function doChange13(changes, sourceFile, { container, typeNode, constraint, name } // src/services/codefixes/fixClassIncorrectlyImplementsInterface.ts -var errorCodes17 = [ +var errorCodes18 = [ Diagnostics.Class_0_incorrectly_implements_interface_1.code, Diagnostics.Class_0_incorrectly_implements_class_1_Did_you_mean_to_extend_1_and_inherit_its_members_as_a_subclass.code ]; -var fixId16 = "fixClassIncorrectlyImplementsInterface"; +var fixId17 = "fixClassIncorrectlyImplementsInterface"; registerCodeFix({ - errorCodes: errorCodes17, + errorCodes: errorCodes18, getCodeActions(context) { const { sourceFile, span } = context; const classDeclaration = getClass(sourceFile, span.start); return mapDefined(getEffectiveImplementsTypeNodes(classDeclaration), (implementedTypeNode) => { const changes = ts_textChanges_exports.ChangeTracker.with(context, (t) => addMissingDeclarations(context, implementedTypeNode, sourceFile, classDeclaration, t, context.preferences)); - return changes.length === 0 ? void 0 : createCodeFixAction(fixId16, changes, [Diagnostics.Implement_interface_0, implementedTypeNode.getText(sourceFile)], fixId16, Diagnostics.Implement_all_unimplemented_interfaces); + return changes.length === 0 ? void 0 : createCodeFixAction(fixId17, changes, [Diagnostics.Implement_interface_0, implementedTypeNode.getText(sourceFile)], fixId17, Diagnostics.Implement_all_unimplemented_interfaces); }); }, - fixIds: [fixId16], + fixIds: [fixId17], getAllCodeActions(context) { - const seenClassDeclarations = /* @__PURE__ */ new Map(); - return codeFixAll(context, errorCodes17, (changes, diag2) => { + const seenClassDeclarations = /* @__PURE__ */ new Set(); + return codeFixAll(context, errorCodes18, (changes, diag2) => { const classDeclaration = getClass(diag2.file, diag2.start); if (addToSeen(seenClassDeclarations, getNodeId(classDeclaration))) { for (const implementedTypeNode of getEffectiveImplementsTypeNodes(classDeclaration)) { @@ -155105,7 +156822,7 @@ function getHeritageClauseSymbolTable(classDeclaration, checker) { // src/services/codefixes/importFixes.ts var importFixName = "import"; var importFixId = "fixMissingImport"; -var errorCodes18 = [ +var errorCodes19 = [ Diagnostics.Cannot_find_name_0.code, Diagnostics.Cannot_find_name_0_Did_you_mean_1.code, Diagnostics.Cannot_find_name_0_Did_you_mean_the_instance_member_this_0.code, @@ -155124,10 +156841,11 @@ var errorCodes18 = [ 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.code, Diagnostics.Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_node_Try_npm_i_save_dev_types_Slashnode.code, 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.code, - Diagnostics.Cannot_find_namespace_0_Did_you_mean_1.code + Diagnostics.Cannot_find_namespace_0_Did_you_mean_1.code, + Diagnostics.This_JSX_tag_requires_0_to_be_in_scope_but_it_could_not_be_found.code ]; registerCodeFix({ - errorCodes: errorCodes18, + errorCodes: errorCodes19, getCodeActions(context) { const { errorCode, preferences, sourceFile, span, program } = context; const info = getFixInfos( @@ -155163,7 +156881,7 @@ registerCodeFix({ host, cancellationToken ); - eachDiagnostic(context, errorCodes18, (diag2) => importAdder.addImportFromDiagnostic(diag2, context)); + eachDiagnostic(context, errorCodes19, (diag2) => importAdder.addImportFromDiagnostic(diag2, context)); return createCombinedCodeActions(ts_textChanges_exports.ChangeTracker.with(context, importAdder.writeFixes)); } }); @@ -155186,7 +156904,7 @@ function createImportAdderWorker(sourceFile, program, useAutoImportProvider, pre const removeExisting = /* @__PURE__ */ new Set(); const verbatimImports = /* @__PURE__ */ new Set(); const newImports = /* @__PURE__ */ new Map(); - return { addImportFromDiagnostic, addImportFromExportedSymbol, writeFixes, hasFixes, addImportForUnresolvedIdentifier, addImportForNonExistentExport, removeExistingImport, addVerbatimImport }; + return { addImportFromDiagnostic, addImportFromExportedSymbol, addImportForModuleSymbol, writeFixes, hasFixes, addImportForUnresolvedIdentifier, addImportForNonExistentExport, removeExistingImport, addVerbatimImport }; function addVerbatimImport(declaration) { verbatimImports.add(declaration); } @@ -155202,7 +156920,7 @@ function createImportAdderWorker(sourceFile, program, useAutoImportProvider, pre } function addImportFromExportedSymbol(exportedSymbol, isValidTypeOnlyUseSite, referenceImport) { var _a, _b; - const moduleSymbol = Debug.checkDefined(exportedSymbol.parent); + const moduleSymbol = Debug.checkDefined(exportedSymbol.parent, "Expected exported symbol to have module symbol as parent"); const symbolName2 = getNameForExportedSymbol(exportedSymbol, getEmitScriptTarget(compilerOptions)); const checker = program.getTypeChecker(); const symbol = checker.getMergedSymbol(skipAlias(exportedSymbol, checker)); @@ -155236,12 +156954,91 @@ function createImportAdderWorker(sourceFile, program, useAutoImportProvider, pre ); if (fix) { const localName = ((_b = tryCast(referenceImport == null ? void 0 : referenceImport.name, isIdentifier)) == null ? void 0 : _b.text) ?? symbolName2; + let addAsTypeOnly; + let propertyName; if (referenceImport && isTypeOnlyImportDeclaration(referenceImport) && (fix.kind === 3 /* AddNew */ || fix.kind === 2 /* AddToExisting */) && fix.addAsTypeOnly === 1 /* Allowed */) { - fix = { ...fix, addAsTypeOnly: 2 /* Required */ }; + addAsTypeOnly = 2 /* Required */; } + if (exportedSymbol.name !== localName) { + propertyName = exportedSymbol.name; + } + fix = { + ...fix, + ...addAsTypeOnly === void 0 ? {} : { addAsTypeOnly }, + ...propertyName === void 0 ? {} : { propertyName } + }; addImport({ fix, symbolName: localName ?? symbolName2, errorIdentifierText: void 0 }); } } + function addImportForModuleSymbol(symbolAlias, isValidTypeOnlyUseSite, referenceImport) { + var _a, _b, _c; + const checker = program.getTypeChecker(); + const moduleSymbol = checker.getAliasedSymbol(symbolAlias); + Debug.assert(moduleSymbol.flags & 1536 /* Module */, "Expected symbol to be a module"); + const moduleSpecifierResolutionHost = createModuleSpecifierResolutionHost(program, host); + const moduleSpecifierResult = ts_moduleSpecifiers_exports.getModuleSpecifiersWithCacheInfo( + moduleSymbol, + checker, + compilerOptions, + sourceFile, + moduleSpecifierResolutionHost, + preferences, + /*options*/ + void 0, + /*forAutoImport*/ + true + ); + const useRequire = shouldUseRequire(sourceFile, program); + let addAsTypeOnly = getAddAsTypeOnly( + isValidTypeOnlyUseSite, + /*isForNewImportDeclaration*/ + true, + /*symbol*/ + void 0, + symbolAlias.flags, + program.getTypeChecker(), + compilerOptions + ); + addAsTypeOnly = addAsTypeOnly === 1 /* Allowed */ && isTypeOnlyImportDeclaration(referenceImport) ? 2 /* Required */ : 1 /* Allowed */; + const importKind = isImportDeclaration(referenceImport) ? isDefaultImport(referenceImport) ? 1 /* Default */ : 2 /* Namespace */ : isImportSpecifier(referenceImport) ? 0 /* Named */ : isImportClause(referenceImport) && !!referenceImport.name ? 1 /* Default */ : 2 /* Namespace */; + const exportInfo = [{ + symbol: symbolAlias, + moduleSymbol, + moduleFileName: (_c = (_b = (_a = moduleSymbol.declarations) == null ? void 0 : _a[0]) == null ? void 0 : _b.getSourceFile()) == null ? void 0 : _c.fileName, + exportKind: 4 /* Module */, + targetFlags: symbolAlias.flags, + isFromPackageJson: false + }]; + const existingFix = getImportFixForSymbol( + sourceFile, + exportInfo, + program, + /*position*/ + void 0, + !!isValidTypeOnlyUseSite, + useRequire, + host, + preferences + ); + let fix; + if (existingFix && importKind !== 2 /* Namespace */) { + fix = { + ...existingFix, + addAsTypeOnly, + importKind + }; + } else { + fix = { + kind: 3 /* AddNew */, + moduleSpecifierKind: existingFix !== void 0 ? existingFix.moduleSpecifierKind : moduleSpecifierResult.kind, + moduleSpecifier: existingFix !== void 0 ? existingFix.moduleSpecifier : first(moduleSpecifierResult.moduleSpecifiers), + importKind, + addAsTypeOnly, + useRequire + }; + } + addImport({ fix, symbolName: symbolAlias.name, errorIdentifierText: void 0 }); + } function addImportForNonExistentExport(exportName, exportingFileName, exportKind, exportedMeanings, isImportUsageValidAsTypeOnly) { const exportingSourceFile = program.getSourceFile(exportingFileName); const useRequire = shouldUseRequire(sourceFile, program); @@ -155304,7 +157101,7 @@ function createImportAdderWorker(sourceFile, program, useAutoImportProvider, pre removeExisting.add(declaration); } function addImport(info) { - var _a, _b; + var _a, _b, _c; const { fix, symbolName: symbolName2 } = info; switch (fix.kind) { case 0 /* UseNamespace */: @@ -155314,40 +157111,40 @@ function createImportAdderWorker(sourceFile, program, useAutoImportProvider, pre importType.push(fix); break; case 2 /* AddToExisting */: { - const { importClauseOrBindingPattern, importKind, addAsTypeOnly } = fix; + const { importClauseOrBindingPattern, importKind, addAsTypeOnly, propertyName } = fix; let entry = addToExisting.get(importClauseOrBindingPattern); if (!entry) { addToExisting.set(importClauseOrBindingPattern, entry = { importClauseOrBindingPattern, defaultImport: void 0, namedImports: /* @__PURE__ */ new Map() }); } if (importKind === 0 /* Named */) { - const prevValue = entry == null ? void 0 : entry.namedImports.get(symbolName2); - entry.namedImports.set(symbolName2, reduceAddAsTypeOnlyValues(prevValue, addAsTypeOnly)); + const prevTypeOnly = (_a = entry == null ? void 0 : entry.namedImports.get(symbolName2)) == null ? void 0 : _a.addAsTypeOnly; + entry.namedImports.set(symbolName2, { addAsTypeOnly: reduceAddAsTypeOnlyValues(prevTypeOnly, addAsTypeOnly), propertyName }); } else { Debug.assert(entry.defaultImport === void 0 || entry.defaultImport.name === symbolName2, "(Add to Existing) Default import should be missing or match symbolName"); entry.defaultImport = { name: symbolName2, - addAsTypeOnly: reduceAddAsTypeOnlyValues((_a = entry.defaultImport) == null ? void 0 : _a.addAsTypeOnly, addAsTypeOnly) + addAsTypeOnly: reduceAddAsTypeOnlyValues((_b = entry.defaultImport) == null ? void 0 : _b.addAsTypeOnly, addAsTypeOnly) }; } break; } case 3 /* AddNew */: { - const { moduleSpecifier, importKind, useRequire, addAsTypeOnly } = fix; + const { moduleSpecifier, importKind, useRequire, addAsTypeOnly, propertyName } = fix; const entry = getNewImportEntry(moduleSpecifier, importKind, useRequire, addAsTypeOnly); Debug.assert(entry.useRequire === useRequire, "(Add new) Tried to add an `import` and a `require` for the same module"); switch (importKind) { case 1 /* Default */: Debug.assert(entry.defaultImport === void 0 || entry.defaultImport.name === symbolName2, "(Add new) Default import should be missing or match symbolName"); - entry.defaultImport = { name: symbolName2, addAsTypeOnly: reduceAddAsTypeOnlyValues((_b = entry.defaultImport) == null ? void 0 : _b.addAsTypeOnly, addAsTypeOnly) }; + entry.defaultImport = { name: symbolName2, addAsTypeOnly: reduceAddAsTypeOnlyValues((_c = entry.defaultImport) == null ? void 0 : _c.addAsTypeOnly, addAsTypeOnly) }; break; case 0 /* Named */: const prevValue = (entry.namedImports || (entry.namedImports = /* @__PURE__ */ new Map())).get(symbolName2); - entry.namedImports.set(symbolName2, reduceAddAsTypeOnlyValues(prevValue, addAsTypeOnly)); + entry.namedImports.set(symbolName2, [reduceAddAsTypeOnlyValues(prevValue, addAsTypeOnly), propertyName]); break; case 3 /* CommonJS */: if (compilerOptions.verbatimModuleSyntax) { const prevValue2 = (entry.namedImports || (entry.namedImports = /* @__PURE__ */ new Map())).get(symbolName2); - entry.namedImports.set(symbolName2, reduceAddAsTypeOnlyValues(prevValue2, addAsTypeOnly)); + entry.namedImports.set(symbolName2, [reduceAddAsTypeOnlyValues(prevValue2, addAsTypeOnly), propertyName]); } else { Debug.assert(entry.namespaceLikeImport === void 0 || entry.namespaceLikeImport.name === symbolName2, "Namespacelike import shoudl be missing or match symbolName"); entry.namespaceLikeImport = { importKind, name: symbolName2, addAsTypeOnly }; @@ -155408,7 +157205,7 @@ function createImportAdderWorker(sourceFile, program, useAutoImportProvider, pre function writeFixes(changeTracker, oldFileQuotePreference) { var _a, _b; let quotePreference; - if (isFullSourceFile(sourceFile) && sourceFile.imports.length === 0 && oldFileQuotePreference !== void 0) { + if (sourceFile.imports !== void 0 && sourceFile.imports.length === 0 && oldFileQuotePreference !== void 0) { quotePreference = oldFileQuotePreference; } else { quotePreference = getQuotePreference(sourceFile, preferences); @@ -155501,7 +157298,7 @@ function createImportAdderWorker(sourceFile, program, useAutoImportProvider, pre sourceFile, importClauseOrBindingPattern, defaultImport, - arrayFrom(namedImports.entries(), ([name, addAsTypeOnly]) => ({ addAsTypeOnly, name })), + arrayFrom(namedImports.entries(), ([name, { addAsTypeOnly, propertyName }]) => ({ addAsTypeOnly, propertyName, name })), importSpecifiersToRemoveWhileAdding, preferences ); @@ -155514,7 +157311,7 @@ function createImportAdderWorker(sourceFile, program, useAutoImportProvider, pre moduleSpecifier, quotePreference, defaultImport, - namedImports && arrayFrom(namedImports.entries(), ([name, addAsTypeOnly]) => ({ addAsTypeOnly, name })), + namedImports && arrayFrom(namedImports.entries(), ([name, [addAsTypeOnly, propertyName]]) => ({ addAsTypeOnly, propertyName, name })), namespaceLikeImport, compilerOptions, preferences @@ -155690,7 +157487,8 @@ function getAllExportInfoForSymbol(importingFile, symbol, symbolName2, moduleSym const moduleSourceFile = isFileExcluded && mergedModuleSymbol.declarations && getDeclarationOfKind(mergedModuleSymbol, 307 /* SourceFile */); const moduleSymbolExcluded = moduleSourceFile && isFileExcluded(moduleSourceFile); return getExportInfoMap(importingFile, host, program, preferences, cancellationToken).search(importingFile.path, preferCapitalized, (name) => name === symbolName2, (info) => { - if (getChecker(info[0].isFromPackageJson).getMergedSymbol(skipAlias(info[0].symbol, getChecker(info[0].isFromPackageJson))) === symbol && (moduleSymbolExcluded || info.some((i) => i.moduleSymbol === moduleSymbol || i.symbol.parent === moduleSymbol))) { + const checker = getChecker(info[0].isFromPackageJson); + if (checker.getMergedSymbol(skipAlias(info[0].symbol, checker)) === symbol && (moduleSymbolExcluded || info.some((i) => checker.getMergedSymbol(i.moduleSymbol) === moduleSymbol || i.symbol.parent === moduleSymbol))) { return info; } }); @@ -156119,6 +157917,8 @@ function getImportKind(importingFile, exportKind, program, forceImportKeyword) { return getExportEqualsImportKind(importingFile, program.getCompilerOptions(), !!forceImportKeyword); case 3 /* UMD */: return getUmdImportKind(importingFile, program, !!forceImportKeyword); + case 4 /* Module */: + return 2 /* Namespace */; default: return Debug.assertNever(exportKind); } @@ -156219,7 +158019,7 @@ function getExportInfos(symbolName2, isJsxTagName, currentTokenMeaning, cancella }); function addSymbol(moduleSymbol, toFile, exportedSymbol, exportKind, program2, isFromPackageJson) { const moduleSpecifierResolutionHost = getModuleSpecifierResolutionHost(isFromPackageJson); - if (toFile && isImportableFile(program2, fromFile, toFile, preferences, packageJsonFilter, moduleSpecifierResolutionHost, moduleSpecifierCache) || (!toFile && packageJsonFilter.allowsImportingAmbientModule(moduleSymbol, moduleSpecifierResolutionHost) || fileContainsPackageImport(fromFile, stripQuotes(moduleSymbol.name)))) { + if (isImportable(program2, fromFile, toFile, moduleSymbol, preferences, packageJsonFilter, moduleSpecifierResolutionHost, moduleSpecifierCache)) { const checker = program2.getTypeChecker(); originalSymbolToExportInfos.add(getUniqueSymbolId(exportedSymbol, checker).toString(), { symbol: exportedSymbol, moduleSymbol, moduleFileName: toFile == null ? void 0 : toFile.fileName, exportKind, targetFlags: skipAlias(exportedSymbol, checker).flags, isFromPackageJson }); } @@ -156414,8 +158214,7 @@ function doAddExistingFix(changes, sourceFile, clause, defaultImport, namedImpor ...namedImports.map((i) => factory.createBindingElement( /*dotDotDotToken*/ void 0, - /*propertyName*/ - void 0, + i.propertyName, i.name )) ]) @@ -156426,12 +158225,7 @@ function doAddExistingFix(changes, sourceFile, clause, defaultImport, namedImpor addElementToBindingPattern(clause, defaultImport.name, "default"); } for (const specifier of namedImports) { - addElementToBindingPattern( - clause, - specifier.name, - /*propertyName*/ - void 0 - ); + addElementToBindingPattern(clause, specifier.name, specifier.propertyName); } return; } @@ -156447,8 +158241,7 @@ function doAddExistingFix(changes, sourceFile, clause, defaultImport, namedImpor namedImports.map( (namedImport) => factory.createImportSpecifier( (!clause.isTypeOnly || promoteFromTypeOnly2) && shouldUseTypeOnly(namedImport, preferences), - /*propertyName*/ - void 0, + namedImport.propertyName === void 0 ? void 0 : factory.createIdentifier(namedImport.propertyName), factory.createIdentifier(namedImport.name) ) ), @@ -156543,8 +158336,7 @@ function getNewImports(moduleSpecifier, quotePreference, defaultImport, namedImp namedImports == null ? void 0 : namedImports.map( (namedImport) => factory.createImportSpecifier( !topLevelTypeOnly && shouldUseTypeOnly(namedImport, preferences), - /*propertyName*/ - void 0, + namedImport.propertyName === void 0 ? void 0 : factory.createIdentifier(namedImport.propertyName), factory.createIdentifier(namedImport.name) ) ), @@ -156582,11 +158374,10 @@ function getNewRequires(moduleSpecifier, quotePreference, defaultImport, namedIm const quotedModuleSpecifier = makeStringLiteral(moduleSpecifier, quotePreference); let statements; if (defaultImport || (namedImports == null ? void 0 : namedImports.length)) { - const bindingElements = (namedImports == null ? void 0 : namedImports.map(({ name }) => factory.createBindingElement( + const bindingElements = (namedImports == null ? void 0 : namedImports.map(({ name, propertyName }) => factory.createBindingElement( /*dotDotDotToken*/ void 0, - /*propertyName*/ - void 0, + propertyName, name ))) || []; if (defaultImport) { @@ -156638,8 +158429,8 @@ function getEmitModuleFormatOfFile(file, program) { } // src/services/codefixes/fixAddMissingConstraint.ts -var fixId17 = "addMissingConstraint"; -var errorCodes19 = [ +var fixId18 = "addMissingConstraint"; +var errorCodes20 = [ // We want errors this could be attached to: // Diagnostics.This_type_parameter_probably_needs_an_extends_0_constraint Diagnostics.Type_0_is_not_comparable_to_type_1.code, @@ -156652,20 +158443,20 @@ var errorCodes19 = [ Diagnostics.Type_0_does_not_satisfy_the_constraint_1.code ]; registerCodeFix({ - errorCodes: errorCodes19, + errorCodes: errorCodes20, getCodeActions(context) { const { sourceFile, span, program, preferences, host } = context; const info = getInfo6(program, sourceFile, span); if (info === void 0) return; const changes = ts_textChanges_exports.ChangeTracker.with(context, (t) => addMissingConstraint(t, program, preferences, host, sourceFile, info)); - return [createCodeFixAction(fixId17, changes, Diagnostics.Add_extends_constraint, fixId17, Diagnostics.Add_extends_constraint_to_all_type_parameters)]; + return [createCodeFixAction(fixId18, changes, Diagnostics.Add_extends_constraint, fixId18, Diagnostics.Add_extends_constraint_to_all_type_parameters)]; }, - fixIds: [fixId17], + fixIds: [fixId18], getAllCodeActions: (context) => { const { program, preferences, host } = context; - const seen = /* @__PURE__ */ new Map(); + const seen = /* @__PURE__ */ new Set(); return createCombinedCodeActions(ts_textChanges_exports.ChangeTracker.with(context, (changes) => { - eachDiagnostic(context, errorCodes19, (diag2) => { + eachDiagnostic(context, errorCodes20, (diag2) => { const info = getInfo6(program, diag2.file, createTextSpan(diag2.start, diag2.length)); if (info) { if (addToSeen(seen, getNodeId(info.declaration))) { @@ -156747,7 +158538,7 @@ function tryGetConstraintType(checker, node) { var fixName = "fixOverrideModifier"; var fixAddOverrideId = "fixAddOverrideModifier"; var fixRemoveOverrideId = "fixRemoveOverrideModifier"; -var errorCodes20 = [ +var errorCodes21 = [ Diagnostics.This_member_cannot_have_an_override_modifier_because_it_is_not_declared_in_the_base_class_0.code, Diagnostics.This_member_cannot_have_an_override_modifier_because_its_containing_class_0_does_not_extend_another_class.code, Diagnostics.This_member_must_have_an_override_modifier_because_it_overrides_an_abstract_method_that_is_declared_in_the_base_class_0.code, @@ -156811,19 +158602,19 @@ var errorCodeFixIdMap = { } }; registerCodeFix({ - errorCodes: errorCodes20, + errorCodes: errorCodes21, getCodeActions: function getCodeActionsToFixOverrideModifierIssues(context) { const { errorCode, span } = context; const info = errorCodeFixIdMap[errorCode]; if (!info) return emptyArray; - const { descriptions, fixId: fixId55, fixAllDescriptions } = info; + const { descriptions, fixId: fixId56, fixAllDescriptions } = info; const changes = ts_textChanges_exports.ChangeTracker.with(context, (changes2) => dispatchChanges(changes2, context, errorCode, span.start)); return [ - createCodeFixActionMaybeFixAll(fixName, changes, descriptions, fixId55, fixAllDescriptions) + createCodeFixActionMaybeFixAll(fixName, changes, descriptions, fixId56, fixAllDescriptions) ]; }, fixIds: [fixName, fixAddOverrideId, fixRemoveOverrideId], - getAllCodeActions: (context) => codeFixAll(context, errorCodes20, (changes, diag2) => { + getAllCodeActions: (context) => codeFixAll(context, errorCodes21, (changes, diag2) => { const { code, start } = diag2; const info = errorCodeFixIdMap[code]; if (!info || info.fixId !== context.fixId) { @@ -156899,20 +158690,20 @@ function findContainerClassElementLike(sourceFile, pos) { } // src/services/codefixes/fixNoPropertyAccessFromIndexSignature.ts -var fixId18 = "fixNoPropertyAccessFromIndexSignature"; -var errorCodes21 = [ +var fixId19 = "fixNoPropertyAccessFromIndexSignature"; +var errorCodes22 = [ Diagnostics.Property_0_comes_from_an_index_signature_so_it_must_be_accessed_with_0.code ]; registerCodeFix({ - errorCodes: errorCodes21, - fixIds: [fixId18], + errorCodes: errorCodes22, + fixIds: [fixId19], getCodeActions(context) { const { sourceFile, span, preferences } = context; const property = getPropertyAccessExpression(sourceFile, span.start); const changes = ts_textChanges_exports.ChangeTracker.with(context, (t) => doChange14(t, context.sourceFile, property, preferences)); - return [createCodeFixAction(fixId18, changes, [Diagnostics.Use_element_access_for_0, property.name.text], fixId18, Diagnostics.Use_element_access_for_all_undeclared_properties)]; + return [createCodeFixAction(fixId19, changes, [Diagnostics.Use_element_access_for_0, property.name.text], fixId19, Diagnostics.Use_element_access_for_all_undeclared_properties)]; }, - getAllCodeActions: (context) => codeFixAll(context, errorCodes21, (changes, diag2) => doChange14(changes, diag2.file, getPropertyAccessExpression(diag2.file, diag2.start), context.preferences)) + getAllCodeActions: (context) => codeFixAll(context, errorCodes22, (changes, diag2) => doChange14(changes, diag2.file, getPropertyAccessExpression(diag2.file, diag2.start), context.preferences)) }); function doChange14(changes, sourceFile, node, preferences) { const quotePreference = getQuotePreference(sourceFile, preferences); @@ -156928,20 +158719,20 @@ function getPropertyAccessExpression(sourceFile, pos) { } // src/services/codefixes/fixImplicitThis.ts -var fixId19 = "fixImplicitThis"; -var errorCodes22 = [Diagnostics.this_implicitly_has_type_any_because_it_does_not_have_a_type_annotation.code]; +var fixId20 = "fixImplicitThis"; +var errorCodes23 = [Diagnostics.this_implicitly_has_type_any_because_it_does_not_have_a_type_annotation.code]; registerCodeFix({ - errorCodes: errorCodes22, + errorCodes: errorCodes23, getCodeActions: function getCodeActionsToFixImplicitThis(context) { const { sourceFile, program, span } = context; let diagnostic; const changes = ts_textChanges_exports.ChangeTracker.with(context, (t) => { diagnostic = doChange15(t, sourceFile, span.start, program.getTypeChecker()); }); - return diagnostic ? [createCodeFixAction(fixId19, changes, diagnostic, fixId19, Diagnostics.Fix_all_implicit_this_errors)] : emptyArray; + return diagnostic ? [createCodeFixAction(fixId20, changes, diagnostic, fixId20, Diagnostics.Fix_all_implicit_this_errors)] : emptyArray; }, - fixIds: [fixId19], - getAllCodeActions: (context) => codeFixAll(context, errorCodes22, (changes, diag2) => { + fixIds: [fixId20], + getAllCodeActions: (context) => codeFixAll(context, errorCodes23, (changes, diag2) => { doChange15(changes, diag2.file, diag2.start, context.program.getTypeChecker()); }) }); @@ -156986,25 +158777,25 @@ function doChange15(changes, sourceFile, pos, checker) { } // src/services/codefixes/fixImportNonExportedMember.ts -var fixId20 = "fixImportNonExportedMember"; -var errorCodes23 = [ +var fixId21 = "fixImportNonExportedMember"; +var errorCodes24 = [ Diagnostics.Module_0_declares_1_locally_but_it_is_not_exported.code ]; registerCodeFix({ - errorCodes: errorCodes23, - fixIds: [fixId20], + errorCodes: errorCodes24, + fixIds: [fixId21], getCodeActions(context) { const { sourceFile, span, program } = context; const info = getInfo7(sourceFile, span.start, program); if (info === void 0) return void 0; const changes = ts_textChanges_exports.ChangeTracker.with(context, (t) => doChange16(t, program, info)); - return [createCodeFixAction(fixId20, changes, [Diagnostics.Export_0_from_module_1, info.exportName.node.text, info.moduleSpecifier], fixId20, Diagnostics.Export_all_referenced_locals)]; + return [createCodeFixAction(fixId21, changes, [Diagnostics.Export_0_from_module_1, info.exportName.node.text, info.moduleSpecifier], fixId21, Diagnostics.Export_all_referenced_locals)]; }, getAllCodeActions(context) { const { program } = context; return createCombinedCodeActions(ts_textChanges_exports.ChangeTracker.with(context, (changes) => { const exports2 = /* @__PURE__ */ new Map(); - eachDiagnostic(context, errorCodes23, (diag2) => { + eachDiagnostic(context, errorCodes24, (diag2) => { const info = getInfo7(diag2.file, diag2.start, program); if (info === void 0) return void 0; const { exportName, node, moduleSourceFile } = info; @@ -157144,20 +158935,20 @@ function getNodeOfSymbol(symbol) { } // src/services/codefixes/fixIncorrectNamedTupleSyntax.ts -var fixId21 = "fixIncorrectNamedTupleSyntax"; -var errorCodes24 = [ +var fixId22 = "fixIncorrectNamedTupleSyntax"; +var errorCodes25 = [ 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, Diagnostics.A_labeled_tuple_element_is_declared_as_rest_with_a_before_the_name_rather_than_before_the_type.code ]; registerCodeFix({ - errorCodes: errorCodes24, + errorCodes: errorCodes25, getCodeActions: function getCodeActionsToFixIncorrectNamedTupleSyntax(context) { const { sourceFile, span } = context; const namedTupleMember = getNamedTupleMember(sourceFile, span.start); const changes = ts_textChanges_exports.ChangeTracker.with(context, (t) => doChange17(t, sourceFile, namedTupleMember)); - return [createCodeFixAction(fixId21, changes, Diagnostics.Move_labeled_tuple_element_modifiers_to_labels, fixId21, Diagnostics.Move_labeled_tuple_element_modifiers_to_labels)]; + return [createCodeFixAction(fixId22, changes, Diagnostics.Move_labeled_tuple_element_modifiers_to_labels, fixId22, Diagnostics.Move_labeled_tuple_element_modifiers_to_labels)]; }, - fixIds: [fixId21] + fixIds: [fixId22] }); function getNamedTupleMember(sourceFile, pos) { const token = getTokenAtPosition(sourceFile, pos); @@ -157192,8 +158983,8 @@ function doChange17(changes, sourceFile, namedTupleMember) { } // src/services/codefixes/fixSpelling.ts -var fixId22 = "fixSpelling"; -var errorCodes25 = [ +var fixId23 = "fixSpelling"; +var errorCodes26 = [ Diagnostics.Property_0_does_not_exist_on_type_1_Did_you_mean_2.code, Diagnostics.Property_0_may_not_exist_on_type_1_Did_you_mean_2.code, Diagnostics.Cannot_find_name_0_Did_you_mean_1.code, @@ -157210,7 +159001,7 @@ var errorCodes25 = [ Diagnostics.Type_0_is_not_assignable_to_type_1.code ]; registerCodeFix({ - errorCodes: errorCodes25, + errorCodes: errorCodes26, getCodeActions(context) { const { sourceFile, errorCode } = context; const info = getInfo8(sourceFile, context.span.start, context, errorCode); @@ -157218,10 +159009,10 @@ registerCodeFix({ const { node, suggestedSymbol } = info; const target = getEmitScriptTarget(context.host.getCompilationSettings()); const changes = ts_textChanges_exports.ChangeTracker.with(context, (t) => doChange18(t, sourceFile, node, suggestedSymbol, target)); - return [createCodeFixAction("spelling", changes, [Diagnostics.Change_spelling_to_0, symbolName(suggestedSymbol)], fixId22, Diagnostics.Fix_all_detected_spelling_errors)]; + return [createCodeFixAction("spelling", changes, [Diagnostics.Change_spelling_to_0, symbolName(suggestedSymbol)], fixId23, Diagnostics.Fix_all_detected_spelling_errors)]; }, - fixIds: [fixId22], - getAllCodeActions: (context) => codeFixAll(context, errorCodes25, (changes, diag2) => { + fixIds: [fixId23], + getAllCodeActions: (context) => codeFixAll(context, errorCodes26, (changes, diag2) => { const info = getInfo8(diag2.file, diag2.start, context, diag2.code); const target = getEmitScriptTarget(context.host.getCompilationSettings()); if (info) doChange18(changes, context.sourceFile, info.node, info.suggestedSymbol, target); @@ -157310,17 +159101,17 @@ function getResolvedSourceFileFromImportDeclaration(context, importDeclaration, } // src/services/codefixes/returnValueCorrect.ts -var fixId23 = "returnValueCorrect"; +var fixId24 = "returnValueCorrect"; var fixIdAddReturnStatement = "fixAddReturnStatement"; var fixRemoveBracesFromArrowFunctionBody = "fixRemoveBracesFromArrowFunctionBody"; var fixIdWrapTheBlockWithParen = "fixWrapTheBlockWithParen"; -var errorCodes26 = [ +var errorCodes27 = [ Diagnostics.A_function_whose_declared_type_is_neither_undefined_void_nor_any_must_return_a_value.code, Diagnostics.Type_0_is_not_assignable_to_type_1.code, Diagnostics.Argument_of_type_0_is_not_assignable_to_parameter_of_type_1.code ]; registerCodeFix({ - errorCodes: errorCodes26, + errorCodes: errorCodes27, fixIds: [fixIdAddReturnStatement, fixRemoveBracesFromArrowFunctionBody, fixIdWrapTheBlockWithParen], getCodeActions: function getCodeActionsToCorrectReturnValue(context) { const { program, sourceFile, span: { start }, errorCode } = context; @@ -157335,7 +159126,7 @@ registerCodeFix({ return [getActionForfixWrapTheBlockWithParen(context, info.declaration, info.expression)]; } }, - getAllCodeActions: (context) => codeFixAll(context, errorCodes26, (changes, diag2) => { + getAllCodeActions: (context) => codeFixAll(context, errorCodes27, (changes, diag2) => { const info = getInfo9(context.program.getTypeChecker(), diag2.file, diag2.start, diag2.code); if (!info) return void 0; switch (context.fixId) { @@ -157534,7 +159325,7 @@ function wrapBlockWithParen(changes, sourceFile, declaration, expression) { } function getActionForfixAddReturnStatement(context, expression, statement) { const changes = ts_textChanges_exports.ChangeTracker.with(context, (t) => addReturnStatement(t, context.sourceFile, expression, statement)); - return createCodeFixAction(fixId23, changes, Diagnostics.Add_a_return_statement, fixIdAddReturnStatement, Diagnostics.Add_all_missing_return_statement); + return createCodeFixAction(fixId24, changes, Diagnostics.Add_a_return_statement, fixIdAddReturnStatement, Diagnostics.Add_all_missing_return_statement); } function getActionForFixRemoveBracesFromArrowFunctionBody(context, declaration, expression, commentSource) { const changes = ts_textChanges_exports.ChangeTracker.with(context, (t) => removeBlockBodyBrace( @@ -157546,11 +159337,11 @@ function getActionForFixRemoveBracesFromArrowFunctionBody(context, declaration, /*withParen*/ false )); - return createCodeFixAction(fixId23, changes, Diagnostics.Remove_braces_from_arrow_function_body, fixRemoveBracesFromArrowFunctionBody, Diagnostics.Remove_braces_from_all_arrow_function_bodies_with_relevant_issues); + return createCodeFixAction(fixId24, changes, Diagnostics.Remove_braces_from_arrow_function_body, fixRemoveBracesFromArrowFunctionBody, Diagnostics.Remove_braces_from_all_arrow_function_bodies_with_relevant_issues); } function getActionForfixWrapTheBlockWithParen(context, declaration, expression) { const changes = ts_textChanges_exports.ChangeTracker.with(context, (t) => wrapBlockWithParen(t, context.sourceFile, declaration, expression)); - return createCodeFixAction(fixId23, changes, Diagnostics.Wrap_the_following_body_with_parentheses_which_should_be_an_object_literal, fixIdWrapTheBlockWithParen, Diagnostics.Wrap_all_object_literal_with_parentheses); + return createCodeFixAction(fixId24, changes, Diagnostics.Wrap_the_following_body_with_parentheses_which_should_be_an_object_literal, fixIdWrapTheBlockWithParen, Diagnostics.Wrap_all_object_literal_with_parentheses); } // src/services/codefixes/fixAddMissingMember.ts @@ -157558,7 +159349,7 @@ var fixMissingMember = "fixMissingMember"; var fixMissingProperties = "fixMissingProperties"; var fixMissingAttributes = "fixMissingAttributes"; var fixMissingFunctionDeclaration = "fixMissingFunctionDeclaration"; -var errorCodes27 = [ +var errorCodes28 = [ Diagnostics.Property_0_does_not_exist_on_type_1.code, Diagnostics.Property_0_does_not_exist_on_type_1_Did_you_mean_2.code, Diagnostics.Property_0_is_missing_in_type_1_but_required_in_type_2.code, @@ -157568,7 +159359,7 @@ var errorCodes27 = [ Diagnostics.Cannot_find_name_0.code ]; registerCodeFix({ - errorCodes: errorCodes27, + errorCodes: errorCodes28, getCodeActions(context) { const typeChecker = context.program.getTypeChecker(); const info = getInfo10(context.sourceFile, context.span.start, context.errorCode, typeChecker, context.program); @@ -157595,21 +159386,21 @@ registerCodeFix({ }, fixIds: [fixMissingMember, fixMissingFunctionDeclaration, fixMissingProperties, fixMissingAttributes], getAllCodeActions: (context) => { - const { program, fixId: fixId55 } = context; + const { program, fixId: fixId56 } = context; const checker = program.getTypeChecker(); - const seen = /* @__PURE__ */ new Map(); + const seen = /* @__PURE__ */ new Set(); const typeDeclToMembers = /* @__PURE__ */ new Map(); return createCombinedCodeActions(ts_textChanges_exports.ChangeTracker.with(context, (changes) => { - eachDiagnostic(context, errorCodes27, (diag2) => { + eachDiagnostic(context, errorCodes28, (diag2) => { const info = getInfo10(diag2.file, diag2.start, diag2.code, checker, context.program); if (!info || !addToSeen(seen, getNodeId(info.parentDeclaration) + "#" + (info.kind === 3 /* ObjectLiteral */ ? info.identifier : info.token.text))) { return; } - if (fixId55 === fixMissingFunctionDeclaration && (info.kind === 2 /* Function */ || info.kind === 5 /* Signature */)) { + if (fixId56 === fixMissingFunctionDeclaration && (info.kind === 2 /* Function */ || info.kind === 5 /* Signature */)) { addFunctionDeclaration(changes, context, info); - } else if (fixId55 === fixMissingProperties && info.kind === 3 /* ObjectLiteral */) { + } else if (fixId56 === fixMissingProperties && info.kind === 3 /* ObjectLiteral */) { addObjectLiteralProperties(changes, context, info); - } else if (fixId55 === fixMissingAttributes && info.kind === 4 /* JsxAttributes */) { + } else if (fixId56 === fixMissingAttributes && info.kind === 4 /* JsxAttributes */) { addJsxAttributes(changes, context, info); } else { if (info.kind === 1 /* Enum */) { @@ -157648,7 +159439,7 @@ registerCodeFix({ } }); function getInfo10(sourceFile, tokenPos, errorCode, checker, program) { - var _a; + var _a, _b, _c; const token = getTokenAtPosition(sourceFile, tokenPos); const parent2 = token.parent; if (errorCode === Diagnostics.Argument_of_type_0_is_not_assignable_to_parameter_of_type_1.code) { @@ -157661,7 +159452,7 @@ function getInfo10(sourceFile, tokenPos, errorCode, checker, program) { if (!(param && isParameter(param) && isIdentifier(param.name))) return void 0; const properties = arrayFrom(checker.getUnmatchedProperties( checker.getTypeAtLocation(parent2), - checker.getParameterType(signature, argIndex), + checker.getParameterType(signature, argIndex).getNonNullableType(), /*requireOptionalProperties*/ false, /*matchDiscriminantProperties*/ @@ -157671,7 +159462,7 @@ function getInfo10(sourceFile, tokenPos, errorCode, checker, program) { return { kind: 3 /* ObjectLiteral */, token: param.name, identifier: param.name.text, properties, parentDeclaration: parent2 }; } if (token.kind === 19 /* OpenBraceToken */ && isObjectLiteralExpression(parent2)) { - const targetType = checker.getContextualType(parent2) || checker.getTypeAtLocation(parent2); + const targetType = (_a = checker.getContextualType(parent2) || checker.getTypeAtLocation(parent2)) == null ? void 0 : _a.getNonNullableType(); const properties = arrayFrom(checker.getUnmatchedProperties( checker.getTypeAtLocation(parent2), targetType, @@ -157686,7 +159477,7 @@ function getInfo10(sourceFile, tokenPos, errorCode, checker, program) { } if (!isMemberName(token)) return void 0; if (isIdentifier(token) && hasInitializer(parent2) && parent2.initializer && isObjectLiteralExpression(parent2.initializer)) { - const targetType = checker.getContextualType(token) || checker.getTypeAtLocation(token); + const targetType = (_b = checker.getContextualType(token) || checker.getTypeAtLocation(token)) == null ? void 0 : _b.getNonNullableType(); const properties = arrayFrom(checker.getUnmatchedProperties( checker.getTypeAtLocation(parent2.initializer), targetType, @@ -157705,7 +159496,7 @@ function getInfo10(sourceFile, tokenPos, errorCode, checker, program) { return { kind: 4 /* JsxAttributes */, token, attributes, parentDeclaration: token.parent }; } if (isIdentifier(token)) { - const type = (_a = checker.getContextualType(token)) == null ? void 0 : _a.getNonNullableType(); + const type = (_c = checker.getContextualType(token)) == null ? void 0 : _c.getNonNullableType(); if (type && getObjectFlags(type) & 16 /* Anonymous */) { const signature = firstOrUndefined(checker.getSignaturesOfType(type, 0 /* Call */)); if (signature === void 0) return void 0; @@ -158026,8 +159817,9 @@ function tryGetValueFromType(context, checker, importAdder, quotePreference, typ } if (type.flags & 1056 /* EnumLike */) { const enumMember = type.symbol.exports ? firstOrUndefinedIterator(type.symbol.exports.values()) : type.symbol; + const symbol = type.symbol.parent && type.symbol.parent.flags & 256 /* RegularEnum */ ? type.symbol.parent : type.symbol; const name = checker.symbolToExpression( - type.symbol.parent ? type.symbol.parent : type.symbol, + symbol, 111551 /* Value */, /*enclosingDeclaration*/ void 0, @@ -158178,17 +159970,17 @@ function findScope(node) { } // src/services/codefixes/fixAddMissingNewOperator.ts -var fixId24 = "addMissingNewOperator"; -var errorCodes28 = [Diagnostics.Value_of_type_0_is_not_callable_Did_you_mean_to_include_new.code]; +var fixId25 = "addMissingNewOperator"; +var errorCodes29 = [Diagnostics.Value_of_type_0_is_not_callable_Did_you_mean_to_include_new.code]; registerCodeFix({ - errorCodes: errorCodes28, + errorCodes: errorCodes29, getCodeActions(context) { const { sourceFile, span } = context; const changes = ts_textChanges_exports.ChangeTracker.with(context, (t) => addMissingNewOperator(t, sourceFile, span)); - return [createCodeFixAction(fixId24, changes, Diagnostics.Add_missing_new_operator_to_call, fixId24, Diagnostics.Add_missing_new_operator_to_all_calls)]; + return [createCodeFixAction(fixId25, changes, Diagnostics.Add_missing_new_operator_to_call, fixId25, Diagnostics.Add_missing_new_operator_to_all_calls)]; }, - fixIds: [fixId24], - getAllCodeActions: (context) => codeFixAll(context, errorCodes28, (changes, diag2) => addMissingNewOperator(changes, context.sourceFile, diag2)) + fixIds: [fixId25], + getAllCodeActions: (context) => codeFixAll(context, errorCodes29, (changes, diag2) => addMissingNewOperator(changes, context.sourceFile, diag2)) }); function addMissingNewOperator(changes, sourceFile, span) { const call = cast(findAncestorMatchingSpan2(sourceFile, span), isCallExpression); @@ -158207,9 +159999,9 @@ function findAncestorMatchingSpan2(sourceFile, span) { // src/services/codefixes/fixAddMissingParam.ts var addMissingParamFixId = "addMissingParam"; var addOptionalParamFixId = "addOptionalParam"; -var errorCodes29 = [Diagnostics.Expected_0_arguments_but_got_1.code]; +var errorCodes30 = [Diagnostics.Expected_0_arguments_but_got_1.code]; registerCodeFix({ - errorCodes: errorCodes29, + errorCodes: errorCodes30, fixIds: [addMissingParamFixId, addOptionalParamFixId], getCodeActions(context) { const info = getInfo11(context.sourceFile, context.program, context.span.start); @@ -158242,7 +160034,7 @@ registerCodeFix({ } return actions2; }, - getAllCodeActions: (context) => codeFixAll(context, errorCodes29, (changes, diag2) => { + getAllCodeActions: (context) => codeFixAll(context, errorCodes30, (changes, diag2) => { const info = getInfo11(context.sourceFile, context.program, diag2.start); if (info) { const { declarations, newParameters, newOptionalParameters } = info; @@ -158445,17 +160237,19 @@ function getParameterType(importAdder, typeNode, scriptTarget) { var fixName2 = "fixCannotFindModule"; var fixIdInstallTypesPackage = "installTypesPackage"; var errorCodeCannotFindModule = Diagnostics.Cannot_find_module_0_or_its_corresponding_type_declarations.code; -var errorCodes30 = [ +var errorCannotFindImplicitJsxImport = Diagnostics.This_JSX_tag_requires_the_module_path_0_to_exist_but_none_could_be_found_Make_sure_you_have_types_for_the_appropriate_package_installed.code; +var errorCodes31 = [ errorCodeCannotFindModule, - Diagnostics.Could_not_find_a_declaration_file_for_module_0_1_implicitly_has_an_any_type.code + Diagnostics.Could_not_find_a_declaration_file_for_module_0_1_implicitly_has_an_any_type.code, + errorCannotFindImplicitJsxImport ]; registerCodeFix({ - errorCodes: errorCodes30, + errorCodes: errorCodes31, getCodeActions: function getCodeActionsToFixNotFoundModule(context) { - const { host, sourceFile, span: { start } } = context; - const packageName = tryGetImportedPackageName(sourceFile, start); + const { host, sourceFile, span: { start }, errorCode } = context; + const packageName = errorCode === errorCannotFindImplicitJsxImport ? getJSXImplicitImportBase(context.program.getCompilerOptions(), sourceFile) : tryGetImportedPackageName(sourceFile, start); if (packageName === void 0) return void 0; - const typesPackageName = getTypesPackageNameToInstall(packageName, host, context.errorCode); + const typesPackageName = getTypesPackageNameToInstall(packageName, host, errorCode); return typesPackageName === void 0 ? [] : [createCodeFixAction( fixName2, /*changes*/ @@ -158468,7 +160262,7 @@ registerCodeFix({ }, fixIds: [fixIdInstallTypesPackage], getAllCodeActions: (context) => { - return codeFixAll(context, errorCodes30, (_changes, diag2, commands) => { + return codeFixAll(context, errorCodes31, (_changes, diag2, commands) => { const packageName = tryGetImportedPackageName(diag2.file, diag2.start); if (packageName === void 0) return void 0; switch (context.fixId) { @@ -158497,11 +160291,11 @@ function tryGetImportedPackageName(sourceFile, pos) { } function getTypesPackageNameToInstall(packageName, host, diagCode) { var _a; - return diagCode === errorCodeCannotFindModule ? ts_JsTyping_exports.nodeCoreModules.has(packageName) ? "@types/node" : void 0 : ((_a = host.isKnownTypesPackageName) == null ? void 0 : _a.call(host, packageName)) ? getTypesPackageName(packageName) : void 0; + return diagCode === errorCodeCannotFindModule ? nodeCoreModules.has(packageName) ? "@types/node" : void 0 : ((_a = host.isKnownTypesPackageName) == null ? void 0 : _a.call(host, packageName)) ? getTypesPackageName(packageName) : void 0; } // src/services/codefixes/fixClassDoesntImplementInheritedAbstractMember.ts -var errorCodes31 = [ +var errorCodes32 = [ Diagnostics.Non_abstract_class_0_does_not_implement_inherited_abstract_member_1_from_class_2.code, Diagnostics.Non_abstract_class_0_is_missing_implementations_for_the_following_members_of_1_Colon_2.code, Diagnostics.Non_abstract_class_0_is_missing_implementations_for_the_following_members_of_1_Colon_2_and_3_more.code, @@ -158509,18 +160303,18 @@ var errorCodes31 = [ Diagnostics.Non_abstract_class_expression_is_missing_implementations_for_the_following_members_of_0_Colon_1.code, Diagnostics.Non_abstract_class_expression_is_missing_implementations_for_the_following_members_of_0_Colon_1_and_2_more.code ]; -var fixId25 = "fixClassDoesntImplementInheritedAbstractMember"; +var fixId26 = "fixClassDoesntImplementInheritedAbstractMember"; registerCodeFix({ - errorCodes: errorCodes31, + errorCodes: errorCodes32, getCodeActions: function getCodeActionsToFixClassNotImplementingInheritedMembers(context) { const { sourceFile, span } = context; const changes = ts_textChanges_exports.ChangeTracker.with(context, (t) => addMissingMembers(getClass2(sourceFile, span.start), sourceFile, context, t, context.preferences)); - return changes.length === 0 ? void 0 : [createCodeFixAction(fixId25, changes, Diagnostics.Implement_inherited_abstract_class, fixId25, Diagnostics.Implement_all_inherited_abstract_classes)]; + return changes.length === 0 ? void 0 : [createCodeFixAction(fixId26, changes, Diagnostics.Implement_inherited_abstract_class, fixId26, Diagnostics.Implement_all_inherited_abstract_classes)]; }, - fixIds: [fixId25], + fixIds: [fixId26], getAllCodeActions: function getAllCodeActionsToFixClassDoesntImplementInheritedAbstractMember(context) { - const seenClassDeclarations = /* @__PURE__ */ new Map(); - return codeFixAll(context, errorCodes31, (changes, diag2) => { + const seenClassDeclarations = /* @__PURE__ */ new Set(); + return codeFixAll(context, errorCodes32, (changes, diag2) => { const classDeclaration = getClass2(diag2.file, diag2.start); if (addToSeen(seenClassDeclarations, getNodeId(classDeclaration))) { addMissingMembers(classDeclaration, context.sourceFile, context, changes, context.preferences); @@ -158547,23 +160341,23 @@ function symbolPointsToNonPrivateAndAbstractMember(symbol) { } // src/services/codefixes/fixClassSuperMustPrecedeThisAccess.ts -var fixId26 = "classSuperMustPrecedeThisAccess"; -var errorCodes32 = [Diagnostics.super_must_be_called_before_accessing_this_in_the_constructor_of_a_derived_class.code]; +var fixId27 = "classSuperMustPrecedeThisAccess"; +var errorCodes33 = [Diagnostics.super_must_be_called_before_accessing_this_in_the_constructor_of_a_derived_class.code]; registerCodeFix({ - errorCodes: errorCodes32, + errorCodes: errorCodes33, getCodeActions(context) { const { sourceFile, span } = context; const nodes = getNodes(sourceFile, span.start); if (!nodes) return void 0; const { constructor, superCall } = nodes; const changes = ts_textChanges_exports.ChangeTracker.with(context, (t) => doChange20(t, sourceFile, constructor, superCall)); - return [createCodeFixAction(fixId26, changes, Diagnostics.Make_super_call_the_first_statement_in_the_constructor, fixId26, Diagnostics.Make_all_super_calls_the_first_statement_in_their_constructor)]; + return [createCodeFixAction(fixId27, changes, Diagnostics.Make_super_call_the_first_statement_in_the_constructor, fixId27, Diagnostics.Make_all_super_calls_the_first_statement_in_their_constructor)]; }, - fixIds: [fixId26], + fixIds: [fixId27], getAllCodeActions(context) { const { sourceFile } = context; - const seenClasses = /* @__PURE__ */ new Map(); - return codeFixAll(context, errorCodes32, (changes, diag2) => { + const seenClasses = /* @__PURE__ */ new Set(); + return codeFixAll(context, errorCodes33, (changes, diag2) => { const nodes = getNodes(diag2.file, diag2.start); if (!nodes) return; const { constructor, superCall } = nodes; @@ -158589,18 +160383,18 @@ function findSuperCall(n) { } // src/services/codefixes/fixConstructorForDerivedNeedSuperCall.ts -var fixId27 = "constructorForDerivedNeedSuperCall"; -var errorCodes33 = [Diagnostics.Constructors_for_derived_classes_must_contain_a_super_call.code]; +var fixId28 = "constructorForDerivedNeedSuperCall"; +var errorCodes34 = [Diagnostics.Constructors_for_derived_classes_must_contain_a_super_call.code]; registerCodeFix({ - errorCodes: errorCodes33, + errorCodes: errorCodes34, getCodeActions(context) { const { sourceFile, span } = context; const ctr = getNode(sourceFile, span.start); const changes = ts_textChanges_exports.ChangeTracker.with(context, (t) => doChange21(t, sourceFile, ctr)); - return [createCodeFixAction(fixId27, changes, Diagnostics.Add_missing_super_call, fixId27, Diagnostics.Add_all_missing_super_calls)]; + return [createCodeFixAction(fixId28, changes, Diagnostics.Add_missing_super_call, fixId28, Diagnostics.Add_all_missing_super_calls)]; }, - fixIds: [fixId27], - getAllCodeActions: (context) => codeFixAll(context, errorCodes33, (changes, diag2) => doChange21(changes, context.sourceFile, getNode(diag2.file, diag2.start))) + fixIds: [fixId28], + getAllCodeActions: (context) => codeFixAll(context, errorCodes34, (changes, diag2) => doChange21(changes, context.sourceFile, getNode(diag2.file, diag2.start))) }); function getNode(sourceFile, pos) { const token = getTokenAtPosition(sourceFile, pos); @@ -158620,9 +160414,9 @@ function doChange21(changes, sourceFile, ctr) { // src/services/codefixes/fixEnableJsxFlag.ts var fixID = "fixEnableJsxFlag"; -var errorCodes34 = [Diagnostics.Cannot_use_JSX_unless_the_jsx_flag_is_provided.code]; +var errorCodes35 = [Diagnostics.Cannot_use_JSX_unless_the_jsx_flag_is_provided.code]; registerCodeFix({ - errorCodes: errorCodes34, + errorCodes: errorCodes35, getCodeActions: function getCodeActionsToFixEnableJsxFlag(context) { const { configFile } = context.program.getCompilerOptions(); if (configFile === void 0) { @@ -158634,7 +160428,7 @@ registerCodeFix({ ]; }, fixIds: [fixID], - getAllCodeActions: (context) => codeFixAll(context, errorCodes34, (changes) => { + getAllCodeActions: (context) => codeFixAll(context, errorCodes35, (changes) => { const { configFile } = context.program.getCompilerOptions(); if (configFile === void 0) { return void 0; @@ -158647,23 +160441,23 @@ function doChange22(changeTracker, configFile) { } // src/services/codefixes/fixNaNEquality.ts -var fixId28 = "fixNaNEquality"; -var errorCodes35 = [ +var fixId29 = "fixNaNEquality"; +var errorCodes36 = [ Diagnostics.This_condition_will_always_return_0.code ]; registerCodeFix({ - errorCodes: errorCodes35, + errorCodes: errorCodes36, getCodeActions(context) { const { sourceFile, span, program } = context; const info = getInfo12(program, sourceFile, span); if (info === void 0) return; const { suggestion, expression, arg } = info; const changes = ts_textChanges_exports.ChangeTracker.with(context, (t) => doChange23(t, sourceFile, arg, expression)); - return [createCodeFixAction(fixId28, changes, [Diagnostics.Use_0, suggestion], fixId28, Diagnostics.Use_Number_isNaN_in_all_conditions)]; + return [createCodeFixAction(fixId29, changes, [Diagnostics.Use_0, suggestion], fixId29, Diagnostics.Use_Number_isNaN_in_all_conditions)]; }, - fixIds: [fixId28], + fixIds: [fixId29], getAllCodeActions: (context) => { - return codeFixAll(context, errorCodes35, (changes, diag2) => { + return codeFixAll(context, errorCodes36, (changes, diag2) => { const info = getInfo12(context.program, diag2.file, createTextSpan(diag2.start, diag2.length)); if (info) { doChange23(changes, diag2.file, info.arg, info.expression); @@ -158743,20 +160537,20 @@ registerCodeFix({ }); // src/services/codefixes/fixPropertyAssignment.ts -var fixId29 = "fixPropertyAssignment"; -var errorCodes36 = [ +var fixId30 = "fixPropertyAssignment"; +var errorCodes37 = [ 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 ]; registerCodeFix({ - errorCodes: errorCodes36, - fixIds: [fixId29], + errorCodes: errorCodes37, + fixIds: [fixId30], getCodeActions(context) { const { sourceFile, span } = context; const property = getProperty2(sourceFile, span.start); const changes = ts_textChanges_exports.ChangeTracker.with(context, (t) => doChange24(t, context.sourceFile, property)); - return [createCodeFixAction(fixId29, changes, [Diagnostics.Change_0_to_1, "=", ":"], fixId29, [Diagnostics.Switch_each_misused_0_to_1, "=", ":"])]; + return [createCodeFixAction(fixId30, changes, [Diagnostics.Change_0_to_1, "=", ":"], fixId30, [Diagnostics.Switch_each_misused_0_to_1, "=", ":"])]; }, - getAllCodeActions: (context) => codeFixAll(context, errorCodes36, (changes, diag2) => doChange24(changes, diag2.file, getProperty2(diag2.file, diag2.start))) + getAllCodeActions: (context) => codeFixAll(context, errorCodes37, (changes, diag2) => doChange24(changes, diag2.file, getProperty2(diag2.file, diag2.start))) }); function doChange24(changes, sourceFile, node) { changes.replaceNode(sourceFile, node, factory.createPropertyAssignment(node.name, node.objectAssignmentInitializer)); @@ -158766,20 +160560,20 @@ function getProperty2(sourceFile, pos) { } // src/services/codefixes/fixExtendsInterfaceBecomesImplements.ts -var fixId30 = "extendsInterfaceBecomesImplements"; -var errorCodes37 = [Diagnostics.Cannot_extend_an_interface_0_Did_you_mean_implements.code]; +var fixId31 = "extendsInterfaceBecomesImplements"; +var errorCodes38 = [Diagnostics.Cannot_extend_an_interface_0_Did_you_mean_implements.code]; registerCodeFix({ - errorCodes: errorCodes37, + errorCodes: errorCodes38, getCodeActions(context) { const { sourceFile } = context; const nodes = getNodes2(sourceFile, context.span.start); if (!nodes) return void 0; const { extendsToken, heritageClauses } = nodes; const changes = ts_textChanges_exports.ChangeTracker.with(context, (t) => doChanges2(t, sourceFile, extendsToken, heritageClauses)); - return [createCodeFixAction(fixId30, changes, Diagnostics.Change_extends_to_implements, fixId30, Diagnostics.Change_all_extended_interfaces_to_implements)]; + return [createCodeFixAction(fixId31, changes, Diagnostics.Change_extends_to_implements, fixId31, Diagnostics.Change_all_extended_interfaces_to_implements)]; }, - fixIds: [fixId30], - getAllCodeActions: (context) => codeFixAll(context, errorCodes37, (changes, diag2) => { + fixIds: [fixId31], + getAllCodeActions: (context) => codeFixAll(context, errorCodes38, (changes, diag2) => { const nodes = getNodes2(diag2.file, diag2.start); if (nodes) doChanges2(changes, diag2.file, nodes.extendsToken, nodes.heritageClauses); }) @@ -158806,15 +160600,15 @@ function doChanges2(changes, sourceFile, extendsToken, heritageClauses) { } // src/services/codefixes/fixForgottenThisPropertyAccess.ts -var fixId31 = "forgottenThisPropertyAccess"; +var fixId32 = "forgottenThisPropertyAccess"; var didYouMeanStaticMemberCode = Diagnostics.Cannot_find_name_0_Did_you_mean_the_static_member_1_0.code; -var errorCodes38 = [ +var errorCodes39 = [ Diagnostics.Cannot_find_name_0_Did_you_mean_the_instance_member_this_0.code, 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, didYouMeanStaticMemberCode ]; registerCodeFix({ - errorCodes: errorCodes38, + errorCodes: errorCodes39, getCodeActions(context) { const { sourceFile } = context; const info = getInfo13(sourceFile, context.span.start, context.errorCode); @@ -158822,10 +160616,10 @@ registerCodeFix({ return void 0; } const changes = ts_textChanges_exports.ChangeTracker.with(context, (t) => doChange25(t, sourceFile, info)); - return [createCodeFixAction(fixId31, changes, [Diagnostics.Add_0_to_unresolved_variable, info.className || "this"], fixId31, Diagnostics.Add_qualifier_to_all_unresolved_variables_matching_a_member_name)]; + return [createCodeFixAction(fixId32, changes, [Diagnostics.Add_0_to_unresolved_variable, info.className || "this"], fixId32, Diagnostics.Add_qualifier_to_all_unresolved_variables_matching_a_member_name)]; }, - fixIds: [fixId31], - getAllCodeActions: (context) => codeFixAll(context, errorCodes38, (changes, diag2) => { + fixIds: [fixId32], + getAllCodeActions: (context) => codeFixAll(context, errorCodes39, (changes, diag2) => { const info = getInfo13(diag2.file, diag2.start, diag2.code); if (info) doChange25(changes, context.sourceFile, info); }) @@ -158844,12 +160638,12 @@ function doChange25(changes, sourceFile, { node, className }) { // src/services/codefixes/fixInvalidJsxCharacters.ts var fixIdExpression = "fixInvalidJsxCharacters_expression"; var fixIdHtmlEntity = "fixInvalidJsxCharacters_htmlEntity"; -var errorCodes39 = [ +var errorCodes40 = [ Diagnostics.Unexpected_token_Did_you_mean_or_gt.code, Diagnostics.Unexpected_token_Did_you_mean_or_rbrace.code ]; registerCodeFix({ - errorCodes: errorCodes39, + errorCodes: errorCodes40, fixIds: [fixIdExpression, fixIdHtmlEntity], getCodeActions(context) { const { sourceFile, preferences, span } = context; @@ -158875,7 +160669,7 @@ registerCodeFix({ ]; }, getAllCodeActions(context) { - return codeFixAll(context, errorCodes39, (changes, diagnostic) => doChange26(changes, context.preferences, diagnostic.file, diagnostic.start, context.fixId === fixIdHtmlEntity)); + return codeFixAll(context, errorCodes40, (changes, diagnostic) => doChange26(changes, context.preferences, diagnostic.file, diagnostic.start, context.fixId === fixIdHtmlEntity)); } }); var htmlEntity = { @@ -158897,12 +160691,12 @@ function doChange26(changes, preferences, sourceFile, start, useHtmlEntity) { // src/services/codefixes/fixUnmatchedParameter.ts var deleteUnmatchedParameter = "deleteUnmatchedParameter"; var renameUnmatchedParameter = "renameUnmatchedParameter"; -var errorCodes40 = [ +var errorCodes41 = [ Diagnostics.JSDoc_param_tag_has_name_0_but_there_is_no_parameter_with_that_name.code ]; registerCodeFix({ fixIds: [deleteUnmatchedParameter, renameUnmatchedParameter], - errorCodes: errorCodes40, + errorCodes: errorCodes41, getCodeActions: function getCodeActionsToFixUnmatchedParameter(context) { const { sourceFile, span } = context; const actions2 = []; @@ -158917,7 +160711,7 @@ registerCodeFix({ getAllCodeActions: function getAllCodeActionsToFixUnmatchedParameter(context) { const tagsToSignature = /* @__PURE__ */ new Map(); return createCombinedCodeActions(ts_textChanges_exports.ChangeTracker.with(context, (changes) => { - eachDiagnostic(context, errorCodes40, ({ file, start }) => { + eachDiagnostic(context, errorCodes41, ({ file, start }) => { const info = getInfo14(file, start); if (info) { tagsToSignature.set(info.signature, append(tagsToSignature.get(info.signature), info.jsDocParameterTag)); @@ -158980,10 +160774,10 @@ function getInfo14(sourceFile, pos) { } // src/services/codefixes/fixUnreferenceableDecoratorMetadata.ts -var fixId32 = "fixUnreferenceableDecoratorMetadata"; -var errorCodes41 = [Diagnostics.A_type_referenced_in_a_decorated_signature_must_be_imported_with_import_type_or_a_namespace_import_when_isolatedModules_and_emitDecoratorMetadata_are_enabled.code]; +var fixId33 = "fixUnreferenceableDecoratorMetadata"; +var errorCodes42 = [Diagnostics.A_type_referenced_in_a_decorated_signature_must_be_imported_with_import_type_or_a_namespace_import_when_isolatedModules_and_emitDecoratorMetadata_are_enabled.code]; registerCodeFix({ - errorCodes: errorCodes41, + errorCodes: errorCodes42, getCodeActions: (context) => { const importDeclaration = getImportDeclaration(context.sourceFile, context.program, context.span.start); if (!importDeclaration) return; @@ -158991,14 +160785,14 @@ registerCodeFix({ const typeOnlyChanges = ts_textChanges_exports.ChangeTracker.with(context, (t) => doTypeOnlyImportChange(t, context.sourceFile, importDeclaration, context.program)); let actions2; if (namespaceChanges.length) { - actions2 = append(actions2, createCodeFixActionWithoutFixAll(fixId32, namespaceChanges, Diagnostics.Convert_named_imports_to_namespace_import)); + actions2 = append(actions2, createCodeFixActionWithoutFixAll(fixId33, namespaceChanges, Diagnostics.Convert_named_imports_to_namespace_import)); } if (typeOnlyChanges.length) { - actions2 = append(actions2, createCodeFixActionWithoutFixAll(fixId32, typeOnlyChanges, Diagnostics.Use_import_type)); + actions2 = append(actions2, createCodeFixActionWithoutFixAll(fixId33, typeOnlyChanges, Diagnostics.Use_import_type)); } return actions2; }, - fixIds: [fixId32] + fixIds: [fixId33] }); function getImportDeclaration(sourceFile, program, start) { const identifier = tryCast(getTokenAtPosition(sourceFile, start), isIdentifier); @@ -159035,7 +160829,7 @@ var fixIdPrefix = "unusedIdentifier_prefix"; var fixIdDelete = "unusedIdentifier_delete"; var fixIdDeleteImports = "unusedIdentifier_deleteImports"; var fixIdInfer = "unusedIdentifier_infer"; -var errorCodes42 = [ +var errorCodes43 = [ Diagnostics._0_is_declared_but_its_value_is_never_read.code, Diagnostics._0_is_declared_but_never_used.code, Diagnostics.Property_0_is_declared_but_its_value_is_never_read.code, @@ -159045,7 +160839,7 @@ var errorCodes42 = [ Diagnostics.All_type_parameters_are_unused.code ]; registerCodeFix({ - errorCodes: errorCodes42, + errorCodes: errorCodes43, getCodeActions(context) { const { errorCode, sourceFile, program, cancellationToken } = context; const checker = program.getTypeChecker(); @@ -159134,7 +160928,7 @@ registerCodeFix({ const { sourceFile, program, cancellationToken } = context; const checker = program.getTypeChecker(); const sourceFiles = program.getSourceFiles(); - return codeFixAll(context, errorCodes42, (changes, diag2) => { + return codeFixAll(context, errorCodes43, (changes, diag2) => { const token = getTokenAtPosition(sourceFile, diag2.start); switch (context.fixId) { case fixIdPrefix: @@ -159374,18 +161168,18 @@ function deleteFunctionLikeDeclaration(changes, sourceFile, node) { } // src/services/codefixes/fixUnreachableCode.ts -var fixId33 = "fixUnreachableCode"; -var errorCodes43 = [Diagnostics.Unreachable_code_detected.code]; +var fixId34 = "fixUnreachableCode"; +var errorCodes44 = [Diagnostics.Unreachable_code_detected.code]; registerCodeFix({ - errorCodes: errorCodes43, + errorCodes: errorCodes44, getCodeActions(context) { const syntacticDiagnostics = context.program.getSyntacticDiagnostics(context.sourceFile, context.cancellationToken); if (syntacticDiagnostics.length) return; const changes = ts_textChanges_exports.ChangeTracker.with(context, (t) => doChange27(t, context.sourceFile, context.span.start, context.span.length, context.errorCode)); - return [createCodeFixAction(fixId33, changes, Diagnostics.Remove_unreachable_code, fixId33, Diagnostics.Remove_all_unreachable_code)]; + return [createCodeFixAction(fixId34, changes, Diagnostics.Remove_unreachable_code, fixId34, Diagnostics.Remove_all_unreachable_code)]; }, - fixIds: [fixId33], - getAllCodeActions: (context) => codeFixAll(context, errorCodes43, (changes, diag2) => doChange27(changes, diag2.file, diag2.start, diag2.length, diag2.code)) + fixIds: [fixId34], + getAllCodeActions: (context) => codeFixAll(context, errorCodes44, (changes, diag2) => doChange27(changes, diag2.file, diag2.start, diag2.length, diag2.code)) }); function doChange27(changes, sourceFile, start, length2, errorCode) { const token = getTokenAtPosition(sourceFile, start); @@ -159412,6 +161206,7 @@ function doChange27(changes, sourceFile, start, length2, errorCode) { } return; } + // falls through case 247 /* WhileStatement */: case 248 /* ForStatement */: changes.delete(sourceFile, container); @@ -159436,16 +161231,16 @@ function lastWhere(a, pred) { } // src/services/codefixes/fixUnusedLabel.ts -var fixId34 = "fixUnusedLabel"; -var errorCodes44 = [Diagnostics.Unused_label.code]; +var fixId35 = "fixUnusedLabel"; +var errorCodes45 = [Diagnostics.Unused_label.code]; registerCodeFix({ - errorCodes: errorCodes44, + errorCodes: errorCodes45, getCodeActions(context) { const changes = ts_textChanges_exports.ChangeTracker.with(context, (t) => doChange28(t, context.sourceFile, context.span.start)); - return [createCodeFixAction(fixId34, changes, Diagnostics.Remove_unused_label, fixId34, Diagnostics.Remove_all_unused_labels)]; + return [createCodeFixAction(fixId35, changes, Diagnostics.Remove_unused_label, fixId35, Diagnostics.Remove_all_unused_labels)]; }, - fixIds: [fixId34], - getAllCodeActions: (context) => codeFixAll(context, errorCodes44, (changes, diag2) => doChange28(changes, diag2.file, diag2.start)) + fixIds: [fixId35], + getAllCodeActions: (context) => codeFixAll(context, errorCodes45, (changes, diag2) => doChange28(changes, diag2.file, diag2.start)) }); function doChange28(changes, sourceFile, start) { const token = getTokenAtPosition(sourceFile, start); @@ -159464,13 +161259,13 @@ function doChange28(changes, sourceFile, start) { // src/services/codefixes/fixJSDocTypes.ts var fixIdPlain = "fixJSDocTypes_plain"; var fixIdNullable = "fixJSDocTypes_nullable"; -var errorCodes45 = [ +var errorCodes46 = [ Diagnostics.JSDoc_types_can_only_be_used_inside_documentation_comments.code, Diagnostics._0_at_the_end_of_a_type_is_not_valid_TypeScript_syntax_Did_you_mean_to_write_1.code, Diagnostics._0_at_the_start_of_a_type_is_not_valid_TypeScript_syntax_Did_you_mean_to_write_1.code ]; registerCodeFix({ - errorCodes: errorCodes45, + errorCodes: errorCodes46, getCodeActions(context) { const { sourceFile } = context; const checker = context.program.getTypeChecker(); @@ -159483,20 +161278,20 @@ registerCodeFix({ actions2.push(fix(type, fixIdNullable, Diagnostics.Change_all_jsdoc_style_types_to_TypeScript_and_add_undefined_to_nullable_types)); } return actions2; - function fix(type2, fixId55, fixAllDescription) { + function fix(type2, fixId56, fixAllDescription) { const changes = ts_textChanges_exports.ChangeTracker.with(context, (t) => doChange29(t, sourceFile, typeNode, type2, checker)); - return createCodeFixAction("jdocTypes", changes, [Diagnostics.Change_0_to_1, original, checker.typeToString(type2)], fixId55, fixAllDescription); + return createCodeFixAction("jdocTypes", changes, [Diagnostics.Change_0_to_1, original, checker.typeToString(type2)], fixId56, fixAllDescription); } }, fixIds: [fixIdPlain, fixIdNullable], getAllCodeActions(context) { - const { fixId: fixId55, program, sourceFile } = context; + const { fixId: fixId56, program, sourceFile } = context; const checker = program.getTypeChecker(); - return codeFixAll(context, errorCodes45, (changes, err) => { + return codeFixAll(context, errorCodes46, (changes, err) => { const info = getInfo15(err.file, err.start, checker); if (!info) return; const { typeNode, type } = info; - const fixedType = typeNode.kind === 314 /* JSDocNullableType */ && fixId55 === fixIdNullable ? checker.getNullableType(type, 32768 /* Undefined */) : type; + const fixedType = typeNode.kind === 314 /* JSDocNullableType */ && fixId56 === fixIdNullable ? checker.getNullableType(type, 32768 /* Undefined */) : type; doChange29(changes, sourceFile, typeNode, fixedType, checker); }); } @@ -159552,21 +161347,21 @@ function getType(checker, node) { } // src/services/codefixes/fixMissingCallParentheses.ts -var fixId35 = "fixMissingCallParentheses"; -var errorCodes46 = [ +var fixId36 = "fixMissingCallParentheses"; +var errorCodes47 = [ Diagnostics.This_condition_will_always_return_true_since_this_function_is_always_defined_Did_you_mean_to_call_it_instead.code ]; registerCodeFix({ - errorCodes: errorCodes46, - fixIds: [fixId35], + errorCodes: errorCodes47, + fixIds: [fixId36], getCodeActions(context) { const { sourceFile, span } = context; const callName = getCallName(sourceFile, span.start); if (!callName) return; const changes = ts_textChanges_exports.ChangeTracker.with(context, (t) => doChange30(t, context.sourceFile, callName)); - return [createCodeFixAction(fixId35, changes, Diagnostics.Add_missing_call_parentheses, fixId35, Diagnostics.Add_all_missing_call_parentheses)]; + return [createCodeFixAction(fixId36, changes, Diagnostics.Add_missing_call_parentheses, fixId36, Diagnostics.Add_all_missing_call_parentheses)]; }, - getAllCodeActions: (context) => codeFixAll(context, errorCodes46, (changes, diag2) => { + getAllCodeActions: (context) => codeFixAll(context, errorCodes47, (changes, diag2) => { const callName = getCallName(diag2.file, diag2.start); if (callName) doChange30(changes, diag2.file, callName); }) @@ -159590,14 +161385,14 @@ function getCallName(sourceFile, start) { } // src/services/codefixes/fixMissingTypeAnnotationOnExports.ts -var fixId36 = "fixMissingTypeAnnotationOnExports"; +var fixId37 = "fixMissingTypeAnnotationOnExports"; var addAnnotationFix = "add-annotation"; var addInlineTypeAssertion = "add-type-assertion"; var extractExpression = "extract-expression"; -var errorCodes47 = [ +var errorCodes48 = [ Diagnostics.Function_must_have_an_explicit_return_type_annotation_with_isolatedDeclarations.code, Diagnostics.Method_must_have_an_explicit_return_type_annotation_with_isolatedDeclarations.code, - Diagnostics.At_least_one_accessor_must_have_an_explicit_return_type_annotation_with_isolatedDeclarations.code, + Diagnostics.At_least_one_accessor_must_have_an_explicit_type_annotation_with_isolatedDeclarations.code, Diagnostics.Variable_must_have_an_explicit_type_annotation_with_isolatedDeclarations.code, Diagnostics.Parameter_must_have_an_explicit_type_annotation_with_isolatedDeclarations.code, Diagnostics.Property_must_have_an_explicit_type_annotation_with_isolatedDeclarations.code, @@ -159613,7 +161408,7 @@ var errorCodes47 = [ Diagnostics.Default_exports_can_t_be_inferred_with_isolatedDeclarations.code, Diagnostics.Only_const_arrays_can_be_inferred_with_isolatedDeclarations.code, Diagnostics.Assigning_properties_to_functions_without_declaring_them_is_not_supported_with_isolatedDeclarations_Add_an_explicit_declaration_for_the_properties_assigned_to_this_function.code, - Diagnostics.Declaration_emit_for_this_parameter_requires_implicitly_adding_undefined_to_it_s_type_This_is_not_supported_with_isolatedDeclarations.code, + Diagnostics.Declaration_emit_for_this_parameter_requires_implicitly_adding_undefined_to_its_type_This_is_not_supported_with_isolatedDeclarations.code, Diagnostics.Type_containing_private_name_0_can_t_be_used_with_isolatedDeclarations.code, Diagnostics.Add_satisfies_and_a_type_assertion_to_this_expression_satisfies_T_as_T_to_make_the_type_explicit.code ]; @@ -159634,8 +161429,8 @@ var canHaveTypeAnnotation = /* @__PURE__ */ new Set([ var declarationEmitNodeBuilderFlags2 = 1024 /* MultilineObjectLiterals */ | 2048 /* WriteClassExpressionAsTypeLiteral */ | 4096 /* UseTypeOfFunction */ | 8 /* UseStructuralFallback */ | 524288 /* AllowEmptyTuple */ | 4 /* GenerateNamesForShadowedTypeParams */ | 1 /* NoTruncation */; var declarationEmitInternalNodeBuilderFlags2 = 1 /* WriteComputedProps */; registerCodeFix({ - errorCodes: errorCodes47, - fixIds: [fixId36], + errorCodes: errorCodes48, + fixIds: [fixId37], getCodeActions(context) { const fixes = []; addCodeAction(addAnnotationFix, fixes, context, 0 /* Full */, (f) => f.addTypeAnnotation(context.span)); @@ -159649,7 +161444,7 @@ registerCodeFix({ }, getAllCodeActions: (context) => { const changes = withContext(context, 0 /* Full */, (f) => { - eachDiagnostic(context, errorCodes47, (diag2) => { + eachDiagnostic(context, errorCodes48, (diag2) => { f.addTypeAnnotation(diag2); }); }); @@ -159663,7 +161458,7 @@ function addCodeAction(fixName8, fixes, context, typePrintMode, cb) { fixName8, changes.textChanges, changes.result, - fixId36, + fixId37, Diagnostics.Add_all_missing_type_annotations )); } @@ -160419,7 +162214,7 @@ function withContext(context, typePrintMode, cb) { } function typeToTypeNode2(type, enclosingDeclaration, flags = 0 /* None */) { let isTruncated = false; - const result2 = typeToAutoImportableTypeNode(typeChecker, importAdder, type, enclosingDeclaration, scriptTarget, declarationEmitNodeBuilderFlags2 | flags, declarationEmitInternalNodeBuilderFlags2, { + const minimizedTypeNode = typeToMinimizedReferenceType(typeChecker, type, enclosingDeclaration, declarationEmitNodeBuilderFlags2 | flags, declarationEmitInternalNodeBuilderFlags2, { moduleResolverHost: program, trackSymbol() { return true; @@ -160428,6 +162223,10 @@ function withContext(context, typePrintMode, cb) { isTruncated = true; } }); + if (!minimizedTypeNode) { + return void 0; + } + const result2 = typeNodeToAutoImportableTypeNode(minimizedTypeNode, importAdder, scriptTarget); return isTruncated ? factory.createKeywordTypeNode(133 /* AnyKeyword */) : result2; } function typePredicateToTypeNode(typePredicate, enclosingDeclaration, flags = 0 /* None */) { @@ -160483,26 +162282,26 @@ function withContext(context, typePrintMode, cb) { } // src/services/codefixes/fixAwaitInSyncFunction.ts -var fixId37 = "fixAwaitInSyncFunction"; -var errorCodes48 = [ +var fixId38 = "fixAwaitInSyncFunction"; +var errorCodes49 = [ Diagnostics.await_expressions_are_only_allowed_within_async_functions_and_at_the_top_levels_of_modules.code, Diagnostics.await_using_statements_are_only_allowed_within_async_functions_and_at_the_top_levels_of_modules.code, Diagnostics.for_await_loops_are_only_allowed_within_async_functions_and_at_the_top_levels_of_modules.code, Diagnostics.Cannot_find_name_0_Did_you_mean_to_write_this_in_an_async_function.code ]; registerCodeFix({ - errorCodes: errorCodes48, + errorCodes: errorCodes49, getCodeActions(context) { const { sourceFile, span } = context; const nodes = getNodes3(sourceFile, span.start); if (!nodes) return void 0; const changes = ts_textChanges_exports.ChangeTracker.with(context, (t) => doChange31(t, sourceFile, nodes)); - return [createCodeFixAction(fixId37, changes, Diagnostics.Add_async_modifier_to_containing_function, fixId37, Diagnostics.Add_all_missing_async_modifiers)]; + return [createCodeFixAction(fixId38, changes, Diagnostics.Add_async_modifier_to_containing_function, fixId38, Diagnostics.Add_all_missing_async_modifiers)]; }, - fixIds: [fixId37], + fixIds: [fixId38], getAllCodeActions: function getAllCodeActionsToFixAwaitInSyncFunction(context) { - const seen = /* @__PURE__ */ new Map(); - return codeFixAll(context, errorCodes48, (changes, diag2) => { + const seen = /* @__PURE__ */ new Set(); + return codeFixAll(context, errorCodes49, (changes, diag2) => { const nodes = getNodes3(diag2.file, diag2.start); if (!nodes || !addToSeen(seen, getNodeId(nodes.insertBefore))) return; doChange31(changes, context.sourceFile, nodes); @@ -160555,21 +162354,21 @@ function doChange31(changes, sourceFile, { insertBefore, returnType }) { } // src/services/codefixes/fixPropertyOverrideAccessor.ts -var errorCodes49 = [ +var errorCodes50 = [ Diagnostics._0_is_defined_as_an_accessor_in_class_1_but_is_overridden_here_in_2_as_an_instance_property.code, Diagnostics._0_is_defined_as_a_property_in_class_1_but_is_overridden_here_in_2_as_an_accessor.code ]; -var fixId38 = "fixPropertyOverrideAccessor"; +var fixId39 = "fixPropertyOverrideAccessor"; registerCodeFix({ - errorCodes: errorCodes49, + errorCodes: errorCodes50, getCodeActions(context) { const edits = doChange32(context.sourceFile, context.span.start, context.span.length, context.errorCode, context); if (edits) { - return [createCodeFixAction(fixId38, edits, Diagnostics.Generate_get_and_set_accessors, fixId38, Diagnostics.Generate_get_and_set_accessors_for_all_overriding_properties)]; + return [createCodeFixAction(fixId39, edits, Diagnostics.Generate_get_and_set_accessors, fixId39, Diagnostics.Generate_get_and_set_accessors_for_all_overriding_properties)]; } }, - fixIds: [fixId38], - getAllCodeActions: (context) => codeFixAll(context, errorCodes49, (changes, diag2) => { + fixIds: [fixId39], + getAllCodeActions: (context) => codeFixAll(context, errorCodes50, (changes, diag2) => { const edits = doChange32(diag2.file, diag2.start, diag2.length, diag2.code, context); if (edits) { for (const edit of edits) { @@ -160605,8 +162404,8 @@ function doChange32(file, start, length2, code, context) { } // src/services/codefixes/inferFromUsage.ts -var fixId39 = "inferFromUsage"; -var errorCodes50 = [ +var fixId40 = "inferFromUsage"; +var errorCodes51 = [ // Variable declarations Diagnostics.Variable_0_implicitly_has_type_1_in_some_locations_where_its_type_cannot_be_determined.code, // Variable uses @@ -160640,7 +162439,7 @@ var errorCodes50 = [ Diagnostics.this_implicitly_has_type_any_because_it_does_not_have_a_type_annotation.code ]; registerCodeFix({ - errorCodes: errorCodes50, + errorCodes: errorCodes51, getCodeActions(context) { const { sourceFile, program, span: { start }, errorCode, cancellationToken, host, preferences } = context; const token = getTokenAtPosition(sourceFile, start); @@ -160660,13 +162459,13 @@ registerCodeFix({ ); }); const name = declaration && getNameOfDeclaration(declaration); - return !name || changes.length === 0 ? void 0 : [createCodeFixAction(fixId39, changes, [getDiagnostic(errorCode, token), getTextOfNode(name)], fixId39, Diagnostics.Infer_all_types_from_usage)]; + return !name || changes.length === 0 ? void 0 : [createCodeFixAction(fixId40, changes, [getDiagnostic(errorCode, token), getTextOfNode(name)], fixId40, Diagnostics.Infer_all_types_from_usage)]; }, - fixIds: [fixId39], + fixIds: [fixId40], getAllCodeActions(context) { const { sourceFile, program, cancellationToken, host, preferences } = context; const markSeen = nodeSeenTracker(); - return codeFixAll(context, errorCodes50, (changes, err) => { + return codeFixAll(context, errorCodes51, (changes, err) => { doChange33(changes, sourceFile, getTokenAtPosition(err.file, err.start), err.code, program, cancellationToken, markSeen, host, preferences); }); } @@ -160676,6 +162475,7 @@ function getDiagnostic(errorCode, token) { case Diagnostics.Parameter_0_implicitly_has_an_1_type.code: case Diagnostics.Parameter_0_implicitly_has_an_1_type_but_a_better_type_may_be_inferred_from_usage.code: return isSetAccessorDeclaration(getContainingFunction(token)) ? Diagnostics.Infer_type_of_0_from_usage : Diagnostics.Infer_parameter_types_from_usage; + // TODO: GH#18217 case Diagnostics.Rest_parameter_0_implicitly_has_an_any_type.code: case Diagnostics.Rest_parameter_0_implicitly_has_an_any_type_but_a_better_type_may_be_inferred_from_usage.code: return Diagnostics.Infer_parameter_types_from_usage; @@ -160714,6 +162514,7 @@ function doChange33(changes, sourceFile, token, errorCode, program, cancellation const importAdder = createImportAdder(sourceFile, program, preferences, host); errorCode = mapSuggestionDiagnostic(errorCode); switch (errorCode) { + // Variable and Property declarations case Diagnostics.Member_0_implicitly_has_an_1_type.code: case Diagnostics.Variable_0_implicitly_has_type_1_in_some_locations_where_its_type_cannot_be_determined.code: if (isVariableDeclaration(parent2) && markSeen(parent2) || isPropertyDeclaration(parent2) || isPropertySignature(parent2)) { @@ -160754,12 +162555,14 @@ function doChange33(changes, sourceFile, token, errorCode, program, cancellation } let declaration; switch (errorCode) { + // Parameter declarations case Diagnostics.Parameter_0_implicitly_has_an_1_type.code: if (isSetAccessorDeclaration(containingFunction)) { annotateSetAccessor(changes, importAdder, sourceFile, containingFunction, program, host, cancellationToken); declaration = containingFunction; break; } + // falls through case Diagnostics.Rest_parameter_0_implicitly_has_an_any_type.code: if (markSeen(containingFunction)) { const param = cast(parent2, isParameter); @@ -160767,6 +162570,7 @@ function doChange33(changes, sourceFile, token, errorCode, program, cancellation declaration = param; } break; + // Get Accessor declarations case Diagnostics.Property_0_implicitly_has_type_any_because_its_get_accessor_lacks_a_return_type_annotation.code: case Diagnostics._0_which_lacks_return_type_annotation_implicitly_has_an_1_return_type.code: if (isGetAccessorDeclaration(containingFunction) && isIdentifier(containingFunction.name)) { @@ -160774,12 +162578,14 @@ function doChange33(changes, sourceFile, token, errorCode, program, cancellation declaration = containingFunction; } break; + // Set Accessor declarations case Diagnostics.Property_0_implicitly_has_type_any_because_its_set_accessor_lacks_a_parameter_type_annotation.code: if (isSetAccessorDeclaration(containingFunction)) { annotateSetAccessor(changes, importAdder, sourceFile, containingFunction, program, host, cancellationToken); declaration = containingFunction; } break; + // Function 'this' case Diagnostics.this_implicitly_has_type_any_because_it_does_not_have_a_type_annotation.code: if (ts_textChanges_exports.isThisTypeAnnotatable(containingFunction) && markSeen(containingFunction)) { annotateThis(changes, sourceFile, containingFunction, program, host, cancellationToken); @@ -161161,6 +162967,7 @@ function inferTypeFromReferences(program, references, cancellationToken) { break; } } + // falls through default: return inferTypeFromContextualType(node, usage); } @@ -161188,16 +162995,25 @@ function inferTypeFromReferences(program, references, cancellationToken) { } function inferTypeFromBinaryExpression(node, parent2, usage) { switch (parent2.operatorToken.kind) { + // ExponentiationOperator case 43 /* AsteriskAsteriskToken */: + // MultiplicativeOperator + // falls through case 42 /* AsteriskToken */: case 44 /* SlashToken */: case 45 /* PercentToken */: + // ShiftOperator + // falls through case 48 /* LessThanLessThanToken */: case 49 /* GreaterThanGreaterThanToken */: case 50 /* GreaterThanGreaterThanGreaterThanToken */: + // BitwiseOperator + // falls through case 51 /* AmpersandToken */: case 52 /* BarToken */: case 53 /* CaretToken */: + // CompoundAssignmentOperator + // falls through case 66 /* MinusEqualsToken */: case 68 /* AsteriskAsteriskEqualsToken */: case 67 /* AsteriskEqualsToken */: @@ -161209,7 +163025,11 @@ function inferTypeFromReferences(program, references, cancellationToken) { case 71 /* LessThanLessThanEqualsToken */: case 73 /* GreaterThanGreaterThanGreaterThanEqualsToken */: case 72 /* GreaterThanGreaterThanEqualsToken */: + // AdditiveOperator + // falls through case 41 /* MinusToken */: + // RelationalOperator + // falls through case 30 /* LessThanToken */: case 33 /* LessThanEqualsToken */: case 32 /* GreaterThanToken */: @@ -161235,6 +163055,7 @@ function inferTypeFromReferences(program, references, cancellationToken) { usage.isNumberOrString = true; } break; + // AssignmentOperators case 64 /* EqualsToken */: case 35 /* EqualsEqualsToken */: case 37 /* EqualsEqualsEqualsToken */: @@ -161250,6 +163071,7 @@ function inferTypeFromReferences(program, references, cancellationToken) { usage.isString = true; } break; + // LogicalOperator Or NullishCoalescing case 57 /* BarBarToken */: case 61 /* QuestionQuestionToken */: if (node === parent2.left && (node.parent.parent.kind === 260 /* VariableDeclaration */ || isAssignmentExpression( @@ -161597,13 +163419,13 @@ function inferTypeFromReferences(program, references, cancellationToken) { } // src/services/codefixes/fixReturnTypeInAsyncFunction.ts -var fixId40 = "fixReturnTypeInAsyncFunction"; -var errorCodes51 = [ +var fixId41 = "fixReturnTypeInAsyncFunction"; +var errorCodes52 = [ 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 ]; registerCodeFix({ - errorCodes: errorCodes51, - fixIds: [fixId40], + errorCodes: errorCodes52, + fixIds: [fixId41], getCodeActions: function getCodeActionsToFixReturnTypeInAsyncFunction(context) { const { sourceFile, program, span } = context; const checker = program.getTypeChecker(); @@ -161614,14 +163436,14 @@ registerCodeFix({ const { returnTypeNode, returnType, promisedTypeNode, promisedType } = info; const changes = ts_textChanges_exports.ChangeTracker.with(context, (t) => doChange34(t, sourceFile, returnTypeNode, promisedTypeNode)); return [createCodeFixAction( - fixId40, + fixId41, changes, [Diagnostics.Replace_0_with_Promise_1, checker.typeToString(returnType), checker.typeToString(promisedType)], - fixId40, + fixId41, Diagnostics.Fix_all_incorrect_return_type_of_an_async_functions )]; }, - getAllCodeActions: (context) => codeFixAll(context, errorCodes51, (changes, diag2) => { + getAllCodeActions: (context) => codeFixAll(context, errorCodes52, (changes, diag2) => { const info = getInfo16(diag2.file, context.program.getTypeChecker(), diag2.start); if (info) { doChange34(changes, diag2.file, info.returnTypeNode, info.promisedTypeNode); @@ -161657,13 +163479,13 @@ function doChange34(changes, sourceFile, returnTypeNode, promisedTypeNode) { // src/services/codefixes/disableJsDiagnostics.ts var fixName4 = "disableJsDiagnostics"; -var fixId41 = "disableJsDiagnostics"; -var errorCodes52 = mapDefined(Object.keys(Diagnostics), (key) => { +var fixId42 = "disableJsDiagnostics"; +var errorCodes53 = mapDefined(Object.keys(Diagnostics), (key) => { const diag2 = Diagnostics[key]; return diag2.category === 1 /* Error */ ? diag2.code : void 0; }); registerCodeFix({ - errorCodes: errorCodes52, + errorCodes: errorCodes53, getCodeActions: function getCodeActionsToDisableJsDiagnostics(context) { const { sourceFile, program, span, host, formatContext } = context; if (!isInJSFile(sourceFile) || !isCheckJsEnabledForFile(sourceFile, program.getCompilerOptions())) { @@ -161684,21 +163506,21 @@ registerCodeFix({ ) ]; if (ts_textChanges_exports.isValidLocationToAddComment(sourceFile, span.start)) { - fixes.unshift(createCodeFixAction(fixName4, ts_textChanges_exports.ChangeTracker.with(context, (t) => makeChange8(t, sourceFile, span.start)), Diagnostics.Ignore_this_error_message, fixId41, Diagnostics.Add_ts_ignore_to_all_error_messages)); + fixes.unshift(createCodeFixAction(fixName4, ts_textChanges_exports.ChangeTracker.with(context, (t) => makeChange9(t, sourceFile, span.start)), Diagnostics.Ignore_this_error_message, fixId42, Diagnostics.Add_ts_ignore_to_all_error_messages)); } return fixes; }, - fixIds: [fixId41], + fixIds: [fixId42], getAllCodeActions: (context) => { const seenLines = /* @__PURE__ */ new Set(); - return codeFixAll(context, errorCodes52, (changes, diag2) => { + return codeFixAll(context, errorCodes53, (changes, diag2) => { if (ts_textChanges_exports.isValidLocationToAddComment(diag2.file, diag2.start)) { - makeChange8(changes, diag2.file, diag2.start, seenLines); + makeChange9(changes, diag2.file, diag2.start, seenLines); } }); } }); -function makeChange8(changes, sourceFile, position, seenLines) { +function makeChange9(changes, sourceFile, position, seenLines) { const { line: lineNumber } = getLineAndCharacterOfPosition(sourceFile, position); if (!seenLines || tryAddToSet(seenLines, lineNumber)) { changes.insertCommentBeforeLine(sourceFile, lineNumber, position, " @ts-ignore"); @@ -161754,11 +163576,10 @@ function addNewNodeForMemberSymbol(symbol, enclosingDeclaration, sourceFile, con const optional = !!(symbol.flags & 16777216 /* Optional */); const ambient = !!(enclosingDeclaration.flags & 33554432 /* Ambient */) || isAmbient; const quotePreference = getQuotePreference(sourceFile, preferences); + const flags = 1 /* NoTruncation */ | (quotePreference === 0 /* Single */ ? 268435456 /* UseSingleQuotesForStringLiteralType */ : 0 /* None */); switch (kind) { case 171 /* PropertySignature */: case 172 /* PropertyDeclaration */: - let flags = 1 /* NoTruncation */; - flags |= quotePreference === 0 /* Single */ ? 268435456 /* UseSingleQuotesForStringLiteralType */ : 0; let typeNode = checker.typeToTypeNode(type, enclosingDeclaration, flags, 8 /* AllowUnresolvedNames */, getNoopSymbolTrackerWithResolver(context)); if (importAdder) { const importableReference = tryGetAutoImportableReferenceFromTypeNode(typeNode, scriptTarget); @@ -161782,8 +163603,7 @@ function addNewNodeForMemberSymbol(symbol, enclosingDeclaration, sourceFile, con let typeNode2 = checker.typeToTypeNode( type, enclosingDeclaration, - /*flags*/ - void 0, + flags, /*internalFlags*/ void 0, getNoopSymbolTrackerWithResolver(context) @@ -162110,7 +163930,13 @@ function createTypeParameterName(index) { return 84 /* T */ + index <= 90 /* Z */ ? String.fromCharCode(84 /* T */ + index) : `T${index}`; } function typeToAutoImportableTypeNode(checker, importAdder, type, contextNode, scriptTarget, flags, internalFlags, tracker) { - let typeNode = checker.typeToTypeNode(type, contextNode, flags, internalFlags, tracker); + const typeNode = checker.typeToTypeNode(type, contextNode, flags, internalFlags, tracker); + if (!typeNode) { + return void 0; + } + return typeNodeToAutoImportableTypeNode(typeNode, importAdder, scriptTarget); +} +function typeNodeToAutoImportableTypeNode(typeNode, importAdder, scriptTarget) { if (typeNode && isImportTypeNode(typeNode)) { const importableReference = tryGetAutoImportableReferenceFromTypeNode(typeNode, scriptTarget); if (importableReference) { @@ -162120,6 +163946,42 @@ function typeToAutoImportableTypeNode(checker, importAdder, type, contextNode, s } return getSynthesizedDeepClone(typeNode); } +function endOfRequiredTypeParameters(checker, type) { + Debug.assert(type.typeArguments); + const fullTypeArguments = type.typeArguments; + const target = type.target; + for (let cutoff = 0; cutoff < fullTypeArguments.length; cutoff++) { + const typeArguments = fullTypeArguments.slice(0, cutoff); + const filledIn = checker.fillMissingTypeArguments( + typeArguments, + target.typeParameters, + cutoff, + /*isJavaScriptImplicitAny*/ + false + ); + if (filledIn.every((fill, i) => fill === fullTypeArguments[i])) { + return cutoff; + } + } + return fullTypeArguments.length; +} +function typeToMinimizedReferenceType(checker, type, contextNode, flags, internalFlags, tracker) { + let typeNode = checker.typeToTypeNode(type, contextNode, flags, internalFlags, tracker); + if (!typeNode) { + return void 0; + } + if (isTypeReferenceNode(typeNode)) { + const genericType = type; + if (genericType.typeArguments && typeNode.typeArguments) { + const cutoff = endOfRequiredTypeParameters(checker, genericType); + if (cutoff < typeNode.typeArguments.length) { + const newTypeArguments = factory.createNodeArray(typeNode.typeArguments.slice(0, cutoff)); + typeNode = factory.updateTypeReferenceNode(typeNode, typeNode.typeName, newTypeArguments); + } + } + } + return typeNode; +} function typePredicateToAutoImportableTypeNode(checker, importAdder, typePredicate, contextNode, scriptTarget, flags, internalFlags, tracker) { let typePredicateNode = checker.typePredicateToTypePredicateNode(typePredicate, contextNode, flags, internalFlags, tracker); if ((typePredicateNode == null ? void 0 : typePredicateNode.type) && isImportTypeNode(typePredicateNode.type)) { @@ -162711,9 +164573,9 @@ var fixName6 = "strictClassInitialization"; var fixIdAddDefiniteAssignmentAssertions = "addMissingPropertyDefiniteAssignmentAssertions"; var fixIdAddUndefinedType = "addMissingPropertyUndefinedType"; var fixIdAddInitializer = "addMissingPropertyInitializer"; -var errorCodes53 = [Diagnostics.Property_0_has_no_initializer_and_is_not_definitely_assigned_in_the_constructor.code]; +var errorCodes54 = [Diagnostics.Property_0_has_no_initializer_and_is_not_definitely_assigned_in_the_constructor.code]; registerCodeFix({ - errorCodes: errorCodes53, + errorCodes: errorCodes54, getCodeActions: function getCodeActionsForStrictClassInitializationErrors(context) { const info = getInfo17(context.sourceFile, context.span.start); if (!info) return; @@ -162725,7 +164587,7 @@ registerCodeFix({ }, fixIds: [fixIdAddDefiniteAssignmentAssertions, fixIdAddUndefinedType, fixIdAddInitializer], getAllCodeActions: (context) => { - return codeFixAll(context, errorCodes53, (changes, diag2) => { + return codeFixAll(context, errorCodes54, (changes, diag2) => { const info = getInfo17(diag2.file, diag2.start); if (!info) return; switch (context.fixId) { @@ -162848,20 +164710,20 @@ function getDefaultValueFromType(checker, type) { } // src/services/codefixes/requireInTs.ts -var fixId42 = "requireInTs"; -var errorCodes54 = [Diagnostics.require_call_may_be_converted_to_an_import.code]; +var fixId43 = "requireInTs"; +var errorCodes55 = [Diagnostics.require_call_may_be_converted_to_an_import.code]; registerCodeFix({ - errorCodes: errorCodes54, + errorCodes: errorCodes55, getCodeActions(context) { const info = getInfo18(context.sourceFile, context.program, context.span.start, context.preferences); if (!info) { return void 0; } const changes = ts_textChanges_exports.ChangeTracker.with(context, (t) => doChange35(t, context.sourceFile, info)); - return [createCodeFixAction(fixId42, changes, Diagnostics.Convert_require_to_import, fixId42, Diagnostics.Convert_all_require_to_import)]; + return [createCodeFixAction(fixId43, changes, Diagnostics.Convert_require_to_import, fixId43, Diagnostics.Convert_all_require_to_import)]; }, - fixIds: [fixId42], - getAllCodeActions: (context) => codeFixAll(context, errorCodes54, (changes, diag2) => { + fixIds: [fixId43], + getAllCodeActions: (context) => codeFixAll(context, errorCodes55, (changes, diag2) => { const info = getInfo18(diag2.file, context.program, diag2.start, context.preferences); if (info) { doChange35(changes, context.sourceFile, info); @@ -162938,19 +164800,19 @@ function tryCreateNamedImportsFromObjectBindingPattern(node) { } // src/services/codefixes/useDefaultImport.ts -var fixId43 = "useDefaultImport"; -var errorCodes55 = [Diagnostics.Import_may_be_converted_to_a_default_import.code]; +var fixId44 = "useDefaultImport"; +var errorCodes56 = [Diagnostics.Import_may_be_converted_to_a_default_import.code]; registerCodeFix({ - errorCodes: errorCodes55, + errorCodes: errorCodes56, getCodeActions(context) { const { sourceFile, span: { start } } = context; const info = getInfo19(sourceFile, start); if (!info) return void 0; const changes = ts_textChanges_exports.ChangeTracker.with(context, (t) => doChange36(t, sourceFile, info, context.preferences)); - return [createCodeFixAction(fixId43, changes, Diagnostics.Convert_to_default_import, fixId43, Diagnostics.Convert_all_to_default_imports)]; + return [createCodeFixAction(fixId44, changes, Diagnostics.Convert_to_default_import, fixId44, Diagnostics.Convert_all_to_default_imports)]; }, - fixIds: [fixId43], - getAllCodeActions: (context) => codeFixAll(context, errorCodes55, (changes, diag2) => { + fixIds: [fixId44], + getAllCodeActions: (context) => codeFixAll(context, errorCodes56, (changes, diag2) => { const info = getInfo19(diag2.file, diag2.start); if (info) doChange36(changes, diag2.file, info, context.preferences); }) @@ -162977,24 +164839,24 @@ function doChange36(changes, sourceFile, info, preferences) { } // src/services/codefixes/useBigintLiteral.ts -var fixId44 = "useBigintLiteral"; -var errorCodes56 = [ +var fixId45 = "useBigintLiteral"; +var errorCodes57 = [ Diagnostics.Numeric_literals_with_absolute_values_equal_to_2_53_or_greater_are_too_large_to_be_represented_accurately_as_integers.code ]; registerCodeFix({ - errorCodes: errorCodes56, + errorCodes: errorCodes57, getCodeActions: function getCodeActionsToUseBigintLiteral(context) { - const changes = ts_textChanges_exports.ChangeTracker.with(context, (t) => makeChange9(t, context.sourceFile, context.span)); + const changes = ts_textChanges_exports.ChangeTracker.with(context, (t) => makeChange10(t, context.sourceFile, context.span)); if (changes.length > 0) { - return [createCodeFixAction(fixId44, changes, Diagnostics.Convert_to_a_bigint_numeric_literal, fixId44, Diagnostics.Convert_all_to_bigint_numeric_literals)]; + return [createCodeFixAction(fixId45, changes, Diagnostics.Convert_to_a_bigint_numeric_literal, fixId45, Diagnostics.Convert_all_to_bigint_numeric_literals)]; } }, - fixIds: [fixId44], + fixIds: [fixId45], getAllCodeActions: (context) => { - return codeFixAll(context, errorCodes56, (changes, diag2) => makeChange9(changes, diag2.file, diag2)); + return codeFixAll(context, errorCodes57, (changes, diag2) => makeChange10(changes, diag2.file, diag2)); } }); -function makeChange9(changeTracker, sourceFile, span) { +function makeChange10(changeTracker, sourceFile, span) { const numericLiteral = tryCast(getTokenAtPosition(sourceFile, span.start), isNumericLiteral); if (!numericLiteral) { return; @@ -163005,18 +164867,18 @@ function makeChange9(changeTracker, sourceFile, span) { // src/services/codefixes/fixAddModuleReferTypeMissingTypeof.ts var fixIdAddMissingTypeof = "fixAddModuleReferTypeMissingTypeof"; -var fixId45 = fixIdAddMissingTypeof; -var errorCodes57 = [Diagnostics.Module_0_does_not_refer_to_a_type_but_is_used_as_a_type_here_Did_you_mean_typeof_import_0.code]; +var fixId46 = fixIdAddMissingTypeof; +var errorCodes58 = [Diagnostics.Module_0_does_not_refer_to_a_type_but_is_used_as_a_type_here_Did_you_mean_typeof_import_0.code]; registerCodeFix({ - errorCodes: errorCodes57, + errorCodes: errorCodes58, getCodeActions: function getCodeActionsToAddMissingTypeof(context) { const { sourceFile, span } = context; const importType = getImportTypeNode(sourceFile, span.start); const changes = ts_textChanges_exports.ChangeTracker.with(context, (t) => doChange37(t, sourceFile, importType)); - return [createCodeFixAction(fixId45, changes, Diagnostics.Add_missing_typeof, fixId45, Diagnostics.Add_missing_typeof)]; + return [createCodeFixAction(fixId46, changes, Diagnostics.Add_missing_typeof, fixId46, Diagnostics.Add_missing_typeof)]; }, - fixIds: [fixId45], - getAllCodeActions: (context) => codeFixAll(context, errorCodes57, (changes, diag2) => doChange37(changes, context.sourceFile, getImportTypeNode(diag2.file, diag2.start))) + fixIds: [fixId46], + getAllCodeActions: (context) => codeFixAll(context, errorCodes58, (changes, diag2) => doChange37(changes, context.sourceFile, getImportTypeNode(diag2.file, diag2.start))) }); function getImportTypeNode(sourceFile, pos) { const token = getTokenAtPosition(sourceFile, pos); @@ -163039,9 +164901,9 @@ function doChange37(changes, sourceFile, importType) { // src/services/codefixes/wrapJsxInFragment.ts var fixID2 = "wrapJsxInFragment"; -var errorCodes58 = [Diagnostics.JSX_expressions_must_have_one_parent_element.code]; +var errorCodes59 = [Diagnostics.JSX_expressions_must_have_one_parent_element.code]; registerCodeFix({ - errorCodes: errorCodes58, + errorCodes: errorCodes59, getCodeActions: function getCodeActionsToWrapJsxInFragment(context) { const { sourceFile, span } = context; const node = findNodeToFix(sourceFile, span.start); @@ -163050,7 +164912,7 @@ registerCodeFix({ return [createCodeFixAction(fixID2, changes, Diagnostics.Wrap_in_JSX_fragment, fixID2, Diagnostics.Wrap_all_unparented_JSX_in_JSX_fragment)]; }, fixIds: [fixID2], - getAllCodeActions: (context) => codeFixAll(context, errorCodes58, (changes, diag2) => { + getAllCodeActions: (context) => codeFixAll(context, errorCodes59, (changes, diag2) => { const node = findNodeToFix(context.sourceFile, diag2.start); if (!node) return void 0; doChange38(changes, context.sourceFile, node); @@ -163089,18 +164951,18 @@ function flattenInvalidBinaryExpr(node) { } // src/services/codefixes/wrapDecoratorInParentheses.ts -var fixId46 = "wrapDecoratorInParentheses"; -var errorCodes59 = [Diagnostics.Expression_must_be_enclosed_in_parentheses_to_be_used_as_a_decorator.code]; +var fixId47 = "wrapDecoratorInParentheses"; +var errorCodes60 = [Diagnostics.Expression_must_be_enclosed_in_parentheses_to_be_used_as_a_decorator.code]; registerCodeFix({ - errorCodes: errorCodes59, + errorCodes: errorCodes60, getCodeActions: function getCodeActionsToWrapDecoratorExpressionInParentheses(context) { - const changes = ts_textChanges_exports.ChangeTracker.with(context, (t) => makeChange10(t, context.sourceFile, context.span.start)); - return [createCodeFixAction(fixId46, changes, Diagnostics.Wrap_in_parentheses, fixId46, Diagnostics.Wrap_all_invalid_decorator_expressions_in_parentheses)]; + const changes = ts_textChanges_exports.ChangeTracker.with(context, (t) => makeChange11(t, context.sourceFile, context.span.start)); + return [createCodeFixAction(fixId47, changes, Diagnostics.Wrap_in_parentheses, fixId47, Diagnostics.Wrap_all_invalid_decorator_expressions_in_parentheses)]; }, - fixIds: [fixId46], - getAllCodeActions: (context) => codeFixAll(context, errorCodes59, (changes, diag2) => makeChange10(changes, diag2.file, diag2.start)) + fixIds: [fixId47], + getAllCodeActions: (context) => codeFixAll(context, errorCodes60, (changes, diag2) => makeChange11(changes, diag2.file, diag2.start)) }); -function makeChange10(changeTracker, sourceFile, pos) { +function makeChange11(changeTracker, sourceFile, pos) { const token = getTokenAtPosition(sourceFile, pos); const decorator = findAncestor(token, isDecorator); Debug.assert(!!decorator, "Expected position to be owned by a decorator."); @@ -163109,20 +164971,20 @@ function makeChange10(changeTracker, sourceFile, pos) { } // src/services/codefixes/convertToMappedObjectType.ts -var fixId47 = "fixConvertToMappedObjectType"; -var errorCodes60 = [Diagnostics.An_index_signature_parameter_type_cannot_be_a_literal_type_or_generic_type_Consider_using_a_mapped_object_type_instead.code]; +var fixId48 = "fixConvertToMappedObjectType"; +var errorCodes61 = [Diagnostics.An_index_signature_parameter_type_cannot_be_a_literal_type_or_generic_type_Consider_using_a_mapped_object_type_instead.code]; registerCodeFix({ - errorCodes: errorCodes60, + errorCodes: errorCodes61, getCodeActions: function getCodeActionsToConvertToMappedTypeObject(context) { const { sourceFile, span } = context; const info = getInfo20(sourceFile, span.start); if (!info) return void 0; const changes = ts_textChanges_exports.ChangeTracker.with(context, (t) => doChange39(t, sourceFile, info)); const name = idText(info.container.name); - return [createCodeFixAction(fixId47, changes, [Diagnostics.Convert_0_to_mapped_object_type, name], fixId47, [Diagnostics.Convert_0_to_mapped_object_type, name])]; + return [createCodeFixAction(fixId48, changes, [Diagnostics.Convert_0_to_mapped_object_type, name], fixId48, [Diagnostics.Convert_0_to_mapped_object_type, name])]; }, - fixIds: [fixId47], - getAllCodeActions: (context) => codeFixAll(context, errorCodes60, (changes, diag2) => { + fixIds: [fixId48], + getAllCodeActions: (context) => codeFixAll(context, errorCodes61, (changes, diag2) => { const info = getInfo20(diag2.file, diag2.start); if (info) doChange39(changes, diag2.file, info); }) @@ -163167,12 +165029,12 @@ function doChange39(changes, sourceFile, { indexSignature, container }) { } // src/services/codefixes/removeAccidentalCallParentheses.ts -var fixId48 = "removeAccidentalCallParentheses"; -var errorCodes61 = [ +var fixId49 = "removeAccidentalCallParentheses"; +var errorCodes62 = [ Diagnostics.This_expression_is_not_callable_because_it_is_a_get_accessor_Did_you_mean_to_use_it_without.code ]; registerCodeFix({ - errorCodes: errorCodes61, + errorCodes: errorCodes62, getCodeActions(context) { const callExpression = findAncestor(getTokenAtPosition(context.sourceFile, context.span.start), isCallExpression); if (!callExpression) { @@ -163181,30 +165043,30 @@ registerCodeFix({ const changes = ts_textChanges_exports.ChangeTracker.with(context, (t) => { t.deleteRange(context.sourceFile, { pos: callExpression.expression.end, end: callExpression.end }); }); - return [createCodeFixActionWithoutFixAll(fixId48, changes, Diagnostics.Remove_parentheses)]; + return [createCodeFixActionWithoutFixAll(fixId49, changes, Diagnostics.Remove_parentheses)]; }, - fixIds: [fixId48] + fixIds: [fixId49] }); // src/services/codefixes/removeUnnecessaryAwait.ts -var fixId49 = "removeUnnecessaryAwait"; -var errorCodes62 = [ +var fixId50 = "removeUnnecessaryAwait"; +var errorCodes63 = [ Diagnostics.await_has_no_effect_on_the_type_of_this_expression.code ]; registerCodeFix({ - errorCodes: errorCodes62, + errorCodes: errorCodes63, getCodeActions: function getCodeActionsToRemoveUnnecessaryAwait(context) { - const changes = ts_textChanges_exports.ChangeTracker.with(context, (t) => makeChange11(t, context.sourceFile, context.span)); + const changes = ts_textChanges_exports.ChangeTracker.with(context, (t) => makeChange12(t, context.sourceFile, context.span)); if (changes.length > 0) { - return [createCodeFixAction(fixId49, changes, Diagnostics.Remove_unnecessary_await, fixId49, Diagnostics.Remove_all_unnecessary_uses_of_await)]; + return [createCodeFixAction(fixId50, changes, Diagnostics.Remove_unnecessary_await, fixId50, Diagnostics.Remove_all_unnecessary_uses_of_await)]; } }, - fixIds: [fixId49], + fixIds: [fixId50], getAllCodeActions: (context) => { - return codeFixAll(context, errorCodes62, (changes, diag2) => makeChange11(changes, diag2.file, diag2)); + return codeFixAll(context, errorCodes63, (changes, diag2) => makeChange12(changes, diag2.file, diag2)); } }); -function makeChange11(changeTracker, sourceFile, span) { +function makeChange12(changeTracker, sourceFile, span) { const awaitKeyword = tryCast(getTokenAtPosition(sourceFile, span.start), (node) => node.kind === 135 /* AwaitKeyword */); const awaitExpression = awaitKeyword && tryCast(awaitKeyword.parent, isAwaitExpression); if (!awaitExpression) { @@ -163229,20 +165091,20 @@ function makeChange11(changeTracker, sourceFile, span) { } // src/services/codefixes/splitTypeOnlyImport.ts -var errorCodes63 = [Diagnostics.A_type_only_import_can_specify_a_default_import_or_named_bindings_but_not_both.code]; -var fixId50 = "splitTypeOnlyImport"; +var errorCodes64 = [Diagnostics.A_type_only_import_can_specify_a_default_import_or_named_bindings_but_not_both.code]; +var fixId51 = "splitTypeOnlyImport"; registerCodeFix({ - errorCodes: errorCodes63, - fixIds: [fixId50], + errorCodes: errorCodes64, + fixIds: [fixId51], getCodeActions: function getCodeActionsToSplitTypeOnlyImport(context) { const changes = ts_textChanges_exports.ChangeTracker.with(context, (t) => { return splitTypeOnlyImport(t, getImportDeclaration2(context.sourceFile, context.span), context); }); if (changes.length) { - return [createCodeFixAction(fixId50, changes, Diagnostics.Split_into_two_separate_import_declarations, fixId50, Diagnostics.Split_all_invalid_type_only_imports)]; + return [createCodeFixAction(fixId51, changes, Diagnostics.Split_into_two_separate_import_declarations, fixId51, Diagnostics.Split_all_invalid_type_only_imports)]; } }, - getAllCodeActions: (context) => codeFixAll(context, errorCodes63, (changes, error2) => { + getAllCodeActions: (context) => codeFixAll(context, errorCodes64, (changes, error2) => { splitTypeOnlyImport(changes, getImportDeclaration2(context.sourceFile, error2), context); }) }); @@ -163291,22 +165153,22 @@ function splitTypeOnlyImport(changes, importDeclaration, context) { } // src/services/codefixes/convertConstToLet.ts -var fixId51 = "fixConvertConstToLet"; -var errorCodes64 = [Diagnostics.Cannot_assign_to_0_because_it_is_a_constant.code]; +var fixId52 = "fixConvertConstToLet"; +var errorCodes65 = [Diagnostics.Cannot_assign_to_0_because_it_is_a_constant.code]; registerCodeFix({ - errorCodes: errorCodes64, + errorCodes: errorCodes65, getCodeActions: function getCodeActionsToConvertConstToLet(context) { const { sourceFile, span, program } = context; const info = getInfo21(sourceFile, span.start, program); if (info === void 0) return; const changes = ts_textChanges_exports.ChangeTracker.with(context, (t) => doChange40(t, sourceFile, info.token)); - return [createCodeFixActionMaybeFixAll(fixId51, changes, Diagnostics.Convert_const_to_let, fixId51, Diagnostics.Convert_all_const_to_let)]; + return [createCodeFixActionMaybeFixAll(fixId52, changes, Diagnostics.Convert_const_to_let, fixId52, Diagnostics.Convert_all_const_to_let)]; }, getAllCodeActions: (context) => { const { program } = context; - const seen = /* @__PURE__ */ new Map(); + const seen = /* @__PURE__ */ new Set(); return createCombinedCodeActions(ts_textChanges_exports.ChangeTracker.with(context, (changes) => { - eachDiagnostic(context, errorCodes64, (diag2) => { + eachDiagnostic(context, errorCodes65, (diag2) => { const info = getInfo21(diag2.file, diag2.start, program); if (info) { if (addToSeen(seen, getSymbolId(info.symbol))) { @@ -163317,7 +165179,7 @@ registerCodeFix({ }); })); }, - fixIds: [fixId51] + fixIds: [fixId52] }); function getInfo21(sourceFile, pos, program) { var _a; @@ -163335,26 +165197,26 @@ function doChange40(changes, sourceFile, token) { } // src/services/codefixes/fixExpectedComma.ts -var fixId52 = "fixExpectedComma"; +var fixId53 = "fixExpectedComma"; var expectedErrorCode = Diagnostics._0_expected.code; -var errorCodes65 = [expectedErrorCode]; +var errorCodes66 = [expectedErrorCode]; registerCodeFix({ - errorCodes: errorCodes65, + errorCodes: errorCodes66, getCodeActions(context) { const { sourceFile } = context; const info = getInfo22(sourceFile, context.span.start, context.errorCode); if (!info) return void 0; const changes = ts_textChanges_exports.ChangeTracker.with(context, (t) => doChange41(t, sourceFile, info)); return [createCodeFixAction( - fixId52, + fixId53, changes, [Diagnostics.Change_0_to_1, ";", ","], - fixId52, + fixId53, [Diagnostics.Change_0_to_1, ";", ","] )]; }, - fixIds: [fixId52], - getAllCodeActions: (context) => codeFixAll(context, errorCodes65, (changes, diag2) => { + fixIds: [fixId53], + getAllCodeActions: (context) => codeFixAll(context, errorCodes66, (changes, diag2) => { const info = getInfo22(diag2.file, diag2.start, diag2.code); if (info) doChange41(changes, context.sourceFile, info); }) @@ -163370,25 +165232,25 @@ function doChange41(changes, sourceFile, { node }) { // src/services/codefixes/fixAddVoidToPromise.ts var fixName7 = "addVoidToPromise"; -var fixId53 = "addVoidToPromise"; -var errorCodes66 = [ +var fixId54 = "addVoidToPromise"; +var errorCodes67 = [ Diagnostics.Expected_1_argument_but_got_0_new_Promise_needs_a_JSDoc_hint_to_produce_a_resolve_that_can_be_called_without_arguments.code, Diagnostics.Expected_0_arguments_but_got_1_Did_you_forget_to_include_void_in_your_type_argument_to_Promise.code ]; registerCodeFix({ - errorCodes: errorCodes66, - fixIds: [fixId53], + errorCodes: errorCodes67, + fixIds: [fixId54], getCodeActions(context) { - const changes = ts_textChanges_exports.ChangeTracker.with(context, (t) => makeChange12(t, context.sourceFile, context.span, context.program)); + const changes = ts_textChanges_exports.ChangeTracker.with(context, (t) => makeChange13(t, context.sourceFile, context.span, context.program)); if (changes.length > 0) { - return [createCodeFixAction(fixName7, changes, Diagnostics.Add_void_to_Promise_resolved_without_a_value, fixId53, Diagnostics.Add_void_to_all_Promises_resolved_without_a_value)]; + return [createCodeFixAction(fixName7, changes, Diagnostics.Add_void_to_Promise_resolved_without_a_value, fixId54, Diagnostics.Add_void_to_all_Promises_resolved_without_a_value)]; } }, getAllCodeActions(context) { - return codeFixAll(context, errorCodes66, (changes, diag2) => makeChange12(changes, diag2.file, diag2, context.program, /* @__PURE__ */ new Set())); + return codeFixAll(context, errorCodes67, (changes, diag2) => makeChange13(changes, diag2.file, diag2, context.program, /* @__PURE__ */ new Set())); } }); -function makeChange12(changes, sourceFile, span, program, seen) { +function makeChange13(changes, sourceFile, span, program, seen) { const node = getTokenAtPosition(sourceFile, span.start); if (!isIdentifier(node) || !isCallExpression(node.parent) || node.parent.expression !== node || node.parent.arguments.length !== 0) return; const checker = program.getTypeChecker(); @@ -163480,6 +165342,8 @@ var SortText = { return sortText + "1"; } }; +var allCommitCharacters = [".", ",", ";"]; +var noCommaCommitCharacters = [".", ";"]; var CompletionSource = /* @__PURE__ */ ((CompletionSource2) => { CompletionSource2["ThisProperty"] = "ThisProperty/"; CompletionSource2["ClassMemberSnippet"] = "ClassMemberSnippet/"; @@ -163586,7 +165450,7 @@ function getDefaultCommitCharacters(isNewIdentifierLocation) { if (isNewIdentifierLocation) { return []; } - return [".", ",", ";"]; + return allCommitCharacters; } function getCompletionsAtPosition(host, program, log, sourceFile, position, preferences, triggerCharacter, completionKind, cancellationToken, formatContext, includeSymbol = false) { var _a; @@ -164084,7 +165948,8 @@ function completionInfoFromData(sourceFile, host, program, compilerOptions, log, importStatementCompletion, insideJsDocTagTypeExpression, symbolToSortTextMap, - hasUnresolvedAutoImports + hasUnresolvedAutoImports, + defaultCommitCharacters } = completionData; let literals = completionData.literals; const checker = program.getTypeChecker(); @@ -164202,7 +166067,7 @@ function completionInfoFromData(sourceFile, host, program, compilerOptions, log, isNewIdentifierLocation, optionalReplacementSpan: getOptionalReplacementSpan(location), entries, - defaultCommitCharacters: getDefaultCommitCharacters(isNewIdentifierLocation) + defaultCommitCharacters: defaultCommitCharacters ?? getDefaultCommitCharacters(isNewIdentifierLocation) }; } function isCheckedFile(sourceFile, compilerOptions) { @@ -164537,9 +166402,13 @@ function createCompletionEntry(symbol, sortText, replacementToken, contextToken, if (parentNamedImportOrExport) { const languageVersion = getEmitScriptTarget(host.getCompilationSettings()); if (!isIdentifierText(name, languageVersion)) { - insertText = JSON.stringify(name); + insertText = quotePropertyName(sourceFile, preferences, name); if (parentNamedImportOrExport.kind === 275 /* NamedImports */) { - insertText += " as " + generateIdentifierForArbitraryString(name, languageVersion); + scanner.setText(sourceFile.text); + scanner.resetTokenState(position); + if (!(scanner.scan() === 130 /* AsKeyword */ && scanner.scan() === 80 /* Identifier */)) { + insertText += " as " + generateIdentifierForArbitraryString(name, languageVersion); + } } } else if (parentNamedImportOrExport.kind === 275 /* NamedImports */) { const possibleToken = stringToToken(name); @@ -165101,7 +166970,7 @@ function getSourceFromOrigin(origin) { } function getCompletionEntriesFromSymbols(symbols, entries, replacementToken, contextToken, location, position, sourceFile, host, program, target, log, kind, preferences, compilerOptions, formatContext, isTypeOnlyLocation, propertyAccessToConvert, jsxIdentifierExpected, isJsxInitializer, importStatementCompletion, recommendedCompletion, symbolToOriginInfoMap, symbolToSortTextMap, isJsxIdentifierExpected, isRightOfOpenTag, includeSymbol = false) { const start = timestamp(); - const variableOrParameterDeclaration = getVariableOrParameterDeclaration(contextToken, location); + const closestSymbolDeclaration = getClosestSymbolDeclaration(contextToken, location); const useSemicolons = probablyUsesSemicolons(sourceFile); const typeChecker = program.getTypeChecker(); const uniques = /* @__PURE__ */ new Map(); @@ -165171,15 +167040,26 @@ function getCompletionEntriesFromSymbols(symbols, entries, replacementToken, con if (isExportAssignment(location.parent)) { return true; } - if (tryCast(variableOrParameterDeclaration, isVariableDeclaration) && symbol.valueDeclaration === variableOrParameterDeclaration) { + if (tryCast(closestSymbolDeclaration, isVariableDeclaration) && symbol.valueDeclaration === closestSymbolDeclaration) { return false; } const symbolDeclaration = symbol.valueDeclaration ?? ((_a = symbol.declarations) == null ? void 0 : _a[0]); - if (variableOrParameterDeclaration && symbolDeclaration && (isTypeParameterDeclaration(variableOrParameterDeclaration) && isTypeParameterDeclaration(symbolDeclaration) || isParameter(variableOrParameterDeclaration) && isParameter(symbolDeclaration))) { - const symbolDeclarationPos = symbolDeclaration.pos; - const parameters = isParameter(variableOrParameterDeclaration) ? variableOrParameterDeclaration.parent.parameters : isInferTypeNode(variableOrParameterDeclaration.parent) ? void 0 : variableOrParameterDeclaration.parent.typeParameters; - if (symbolDeclarationPos >= variableOrParameterDeclaration.pos && parameters && symbolDeclarationPos < parameters.end) { - return false; + if (closestSymbolDeclaration && symbolDeclaration) { + if (isParameter(closestSymbolDeclaration) && isParameter(symbolDeclaration)) { + const parameters = closestSymbolDeclaration.parent.parameters; + if (symbolDeclaration.pos >= closestSymbolDeclaration.pos && symbolDeclaration.pos < parameters.end) { + return false; + } + } else if (isTypeParameterDeclaration(closestSymbolDeclaration) && isTypeParameterDeclaration(symbolDeclaration)) { + if (closestSymbolDeclaration === symbolDeclaration && (contextToken == null ? void 0 : contextToken.kind) === 96 /* ExtendsKeyword */) { + return false; + } + if (isInTypeParameterDefault(contextToken) && !isInferTypeNode(closestSymbolDeclaration.parent)) { + const typeParameters = closestSymbolDeclaration.parent.typeParameters; + if (typeParameters && symbolDeclaration.pos >= closestSymbolDeclaration.pos && symbolDeclaration.pos < typeParameters.end) { + return false; + } + } } } const symbolOrigin = skipAlias(symbol, typeChecker); @@ -165496,6 +167376,7 @@ function getContextualType(previousToken, position, sourceFile, checker) { switch (parent2.kind) { case 260 /* VariableDeclaration */: return checker.getContextualType(parent2.initializer); + // TODO: GH#18217 case 226 /* BinaryExpression */: return checker.getTypeAtLocation(parent2.left); case 291 /* JsxAttribute */: @@ -165601,6 +167482,7 @@ function getCompletionData(program, log, sourceFile, compilerOptions, position, let keywordFilters = 0 /* None */; let isNewIdentifierLocation = false; let flags = 0 /* None */; + let defaultCommitCharacters; if (contextToken) { const importStatementCompletionInfo = getImportStatementCompletionInfo(contextToken, sourceFile); if (importStatementCompletionInfo.keywordCompletion) { @@ -165620,7 +167502,7 @@ function getCompletionData(program, log, sourceFile, compilerOptions, position, } if (!importStatementCompletionInfo.replacementSpan && isCompletionListBlocker(contextToken)) { log("Returning an empty list because completion was requested in an invalid position."); - return keywordFilters ? keywordCompletionData(keywordFilters, isJsOnlyLocation, isNewIdentifierDefinitionLocation()) : void 0; + return keywordFilters ? keywordCompletionData(keywordFilters, isJsOnlyLocation, computeCommitCharactersAndIsNewIdentifier().isNewIdentifierLocation) : void 0; } let parent2 = contextToken.parent; if (contextToken.kind === 25 /* DotToken */ || contextToken.kind === 29 /* QuestionDotToken */) { @@ -165681,6 +167563,7 @@ function getCompletionData(program, log, sourceFile, compilerOptions, position, if (!binaryExpressionMayBeOpenTag(parent2)) { break; } + // falls through case 285 /* JsxSelfClosingElement */: case 284 /* JsxElement */: case 286 /* JsxOpeningElement */: @@ -165722,7 +167605,7 @@ function getCompletionData(program, log, sourceFile, compilerOptions, position, let importSpecifierResolver; const symbolToOriginInfoMap = []; const symbolToSortTextMap = []; - const seenPropertySymbols = /* @__PURE__ */ new Map(); + const seenPropertySymbols = /* @__PURE__ */ new Set(); const isTypeOnlyLocation = isTypeOnlyCompletion(); const getModuleSpecifierResolutionHost = memoizeOne((isFromPackageJson) => { return createModuleSpecifierResolutionHost(isFromPackageJson ? host.getPackageJsonAutoImportProvider() : program, host); @@ -165779,7 +167662,8 @@ function getCompletionData(program, log, sourceFile, compilerOptions, position, isRightOfDotOrQuestionDot: isRightOfDot || isRightOfQuestionDot, importStatementCompletion, hasUnresolvedAutoImports, - flags + flags, + defaultCommitCharacters }; function isTagWithTypeExpression(tag) { switch (tag.kind) { @@ -165814,7 +167698,10 @@ function getCompletionData(program, log, sourceFile, compilerOptions, position, const isRhsOfImportDeclaration = isInRightSideOfInternalImportEqualsDeclaration(node); if (isEntityName(node) || isImportType || isPropertyAccessExpression(node)) { const isNamespaceName = isModuleDeclaration(node.parent); - if (isNamespaceName) isNewIdentifierLocation = true; + if (isNamespaceName) { + isNewIdentifierLocation = true; + defaultCommitCharacters = []; + } let symbol = typeChecker.getSymbolAtLocation(node); if (symbol) { symbol = skipAlias(symbol, typeChecker); @@ -165884,9 +167771,13 @@ function getCompletionData(program, log, sourceFile, compilerOptions, position, } } function addTypeProperties(type, insertAwait, insertQuestionDot) { - isNewIdentifierLocation = !!type.getStringIndexType(); + if (type.getStringIndexType()) { + isNewIdentifierLocation = true; + defaultCommitCharacters = []; + } if (isRightOfQuestionDot && some(type.getCallSignatures())) { isNewIdentifierLocation = true; + defaultCommitCharacters ?? (defaultCommitCharacters = allCommitCharacters); } const propertyAccess = node.kind === 205 /* ImportType */ ? node : node.parent; if (inCheckedFile) { @@ -166025,7 +167916,7 @@ function getCompletionData(program, log, sourceFile, compilerOptions, position, function getGlobalCompletions() { keywordFilters = tryGetFunctionLikeBodyCompletionContainer(contextToken) ? 5 /* FunctionLikeBodyKeywords */ : 1 /* All */; completionKind = 1 /* Global */; - isNewIdentifierLocation = isNewIdentifierDefinitionLocation(); + ({ isNewIdentifierLocation, defaultCommitCharacters } = computeCommitCharactersAndIsNewIdentifier()); if (previousToken !== contextToken) { Debug.assert(!!previousToken, "Expected 'contextToken' to be defined when different from 'previousToken'."); } @@ -166187,18 +168078,11 @@ function getCompletionData(program, log, sourceFile, compilerOptions, position, } ); function isImportableExportInfo(info) { - const moduleFile = tryCast(info.moduleSymbol.valueDeclaration, isSourceFile); - if (!moduleFile) { - const moduleName = stripQuotes(info.moduleSymbol.name); - if (ts_JsTyping_exports.nodeCoreModules.has(moduleName) && startsWith(moduleName, "node:") !== shouldUseUriStyleNodeCoreModules(sourceFile, program)) { - return false; - } - return ((packageJsonFilter == null ? void 0 : packageJsonFilter.allowsImportingAmbientModule(info.moduleSymbol, getModuleSpecifierResolutionHost(info.isFromPackageJson))) ?? true) || fileContainsPackageImport(sourceFile, moduleName); - } - return isImportableFile( + return isImportable( info.isFromPackageJson ? packageJsonAutoImportProvider : program, sourceFile, - moduleFile, + tryCast(info.moduleSymbol.valueDeclaration, isSourceFile), + info.moduleSymbol, preferences, packageJsonFilter, getModuleSpecifierResolutionHost(info.isFromPackageJson), @@ -166291,41 +168175,121 @@ function getCompletionData(program, log, sourceFile, compilerOptions, position, } return false; } - function isNewIdentifierDefinitionLocation() { + function computeCommitCharactersAndIsNewIdentifier() { if (contextToken) { const containingNodeKind = contextToken.parent.kind; const tokenKind = keywordForNode(contextToken); switch (tokenKind) { case 28 /* CommaToken */: - return containingNodeKind === 213 /* CallExpression */ || containingNodeKind === 176 /* Constructor */ || containingNodeKind === 214 /* NewExpression */ || containingNodeKind === 209 /* ArrayLiteralExpression */ || containingNodeKind === 226 /* BinaryExpression */ || containingNodeKind === 184 /* FunctionType */ || containingNodeKind === 210 /* ObjectLiteralExpression */; + switch (containingNodeKind) { + case 213 /* CallExpression */: + // func( a, | + case 214 /* NewExpression */: { + const expression = contextToken.parent.expression; + if (getLineAndCharacterOfPosition(sourceFile, expression.end).line !== getLineAndCharacterOfPosition(sourceFile, position).line) { + return { defaultCommitCharacters: noCommaCommitCharacters, isNewIdentifierLocation: true }; + } + return { defaultCommitCharacters: allCommitCharacters, isNewIdentifierLocation: true }; + } + case 226 /* BinaryExpression */: + return { defaultCommitCharacters: noCommaCommitCharacters, isNewIdentifierLocation: true }; + case 176 /* Constructor */: + // constructor( a, | /* public, protected, private keywords are allowed here, so show completion */ + case 184 /* FunctionType */: + // var x: (s: string, list| + case 210 /* ObjectLiteralExpression */: + return { defaultCommitCharacters: [], isNewIdentifierLocation: true }; + case 209 /* ArrayLiteralExpression */: + return { defaultCommitCharacters: allCommitCharacters, isNewIdentifierLocation: true }; + default: + return { defaultCommitCharacters: allCommitCharacters, isNewIdentifierLocation: false }; + } case 21 /* OpenParenToken */: - return containingNodeKind === 213 /* CallExpression */ || containingNodeKind === 176 /* Constructor */ || containingNodeKind === 214 /* NewExpression */ || containingNodeKind === 217 /* ParenthesizedExpression */ || containingNodeKind === 196 /* ParenthesizedType */; + switch (containingNodeKind) { + case 213 /* CallExpression */: + // func( | + case 214 /* NewExpression */: { + const expression = contextToken.parent.expression; + if (getLineAndCharacterOfPosition(sourceFile, expression.end).line !== getLineAndCharacterOfPosition(sourceFile, position).line) { + return { defaultCommitCharacters: noCommaCommitCharacters, isNewIdentifierLocation: true }; + } + return { defaultCommitCharacters: allCommitCharacters, isNewIdentifierLocation: true }; + } + case 217 /* ParenthesizedExpression */: + return { defaultCommitCharacters: noCommaCommitCharacters, isNewIdentifierLocation: true }; + case 176 /* Constructor */: + // constructor( | + case 196 /* ParenthesizedType */: + return { defaultCommitCharacters: [], isNewIdentifierLocation: true }; + default: + return { defaultCommitCharacters: allCommitCharacters, isNewIdentifierLocation: false }; + } case 23 /* OpenBracketToken */: - return containingNodeKind === 209 /* ArrayLiteralExpression */ || containingNodeKind === 181 /* IndexSignature */ || containingNodeKind === 167 /* ComputedPropertyName */; + switch (containingNodeKind) { + case 209 /* ArrayLiteralExpression */: + // [ | + case 181 /* IndexSignature */: + // [ | : string ] + case 189 /* TupleType */: + // [ | : string ] + case 167 /* ComputedPropertyName */: + return { defaultCommitCharacters: allCommitCharacters, isNewIdentifierLocation: true }; + default: + return { defaultCommitCharacters: allCommitCharacters, isNewIdentifierLocation: false }; + } case 144 /* ModuleKeyword */: + // module | case 145 /* NamespaceKeyword */: + // namespace | case 102 /* ImportKeyword */: - return true; + return { defaultCommitCharacters: [], isNewIdentifierLocation: true }; case 25 /* DotToken */: - return containingNodeKind === 267 /* ModuleDeclaration */; + switch (containingNodeKind) { + case 267 /* ModuleDeclaration */: + return { defaultCommitCharacters: [], isNewIdentifierLocation: true }; + default: + return { defaultCommitCharacters: allCommitCharacters, isNewIdentifierLocation: false }; + } case 19 /* OpenBraceToken */: - return containingNodeKind === 263 /* ClassDeclaration */ || containingNodeKind === 210 /* ObjectLiteralExpression */; + switch (containingNodeKind) { + case 263 /* ClassDeclaration */: + // class A { | + case 210 /* ObjectLiteralExpression */: + return { defaultCommitCharacters: [], isNewIdentifierLocation: true }; + default: + return { defaultCommitCharacters: allCommitCharacters, isNewIdentifierLocation: false }; + } case 64 /* EqualsToken */: - return containingNodeKind === 260 /* VariableDeclaration */ || containingNodeKind === 226 /* BinaryExpression */; + switch (containingNodeKind) { + case 260 /* VariableDeclaration */: + // const x = a| + case 226 /* BinaryExpression */: + return { defaultCommitCharacters: allCommitCharacters, isNewIdentifierLocation: true }; + default: + return { defaultCommitCharacters: allCommitCharacters, isNewIdentifierLocation: false }; + } case 16 /* TemplateHead */: - return containingNodeKind === 228 /* TemplateExpression */; + return { + defaultCommitCharacters: allCommitCharacters, + isNewIdentifierLocation: containingNodeKind === 228 /* TemplateExpression */ + // `aa ${| + }; case 17 /* TemplateMiddle */: - return containingNodeKind === 239 /* TemplateSpan */; + return { + defaultCommitCharacters: allCommitCharacters, + isNewIdentifierLocation: containingNodeKind === 239 /* TemplateSpan */ + // `aa ${10} dd ${| + }; case 134 /* AsyncKeyword */: - return containingNodeKind === 174 /* MethodDeclaration */ || containingNodeKind === 304 /* ShorthandPropertyAssignment */; + return containingNodeKind === 174 /* MethodDeclaration */ || containingNodeKind === 304 /* ShorthandPropertyAssignment */ ? { defaultCommitCharacters: [], isNewIdentifierLocation: true } : { defaultCommitCharacters: allCommitCharacters, isNewIdentifierLocation: false }; case 42 /* AsteriskToken */: - return containingNodeKind === 174 /* MethodDeclaration */; + return containingNodeKind === 174 /* MethodDeclaration */ ? { defaultCommitCharacters: [], isNewIdentifierLocation: true } : { defaultCommitCharacters: allCommitCharacters, isNewIdentifierLocation: false }; } if (isClassMemberCompletionKeyword(tokenKind)) { - return true; + return { defaultCommitCharacters: [], isNewIdentifierLocation: true }; } } - return false; + return { defaultCommitCharacters: allCommitCharacters, isNewIdentifierLocation: false }; } function isInStringOrRegularExpressionOrTemplateLiteral(contextToken2) { return (isRegularExpressionLiteral(contextToken2) || isStringTextContainingNode(contextToken2)) && (rangeContainsPositionExclusive(contextToken2, position) || position === contextToken2.end && (!!contextToken2.isUnterminated || isRegularExpressionLiteral(contextToken2))); @@ -166553,6 +168517,7 @@ function getCompletionData(program, log, sourceFile, compilerOptions, position, const parent2 = contextToken2.parent; switch (contextToken2.kind) { case 32 /* GreaterThanToken */: + // End of a type argument list case 31 /* LessThanSlashToken */: case 44 /* SlashToken */: case 80 /* Identifier */: @@ -166575,6 +168540,9 @@ function getCompletionData(program, log, sourceFile, compilerOptions, position, return parent2.parent.parent; } break; + // The context token is the closing } or " of an attribute, which means + // its parent is a JsxExpression, whose parent is a JsxAttribute, + // whose parent is a JsxOpeningLikeElement case 11 /* StringLiteral */: if (parent2 && (parent2.kind === 291 /* JsxAttribute */ || parent2.kind === 293 /* JsxSpreadAttribute */)) { return parent2.parent.parent; @@ -166609,14 +168577,18 @@ function getCompletionData(program, log, sourceFile, compilerOptions, position, isClassLike(parent2) && !!parent2.typeParameters && parent2.typeParameters.end >= contextToken2.pos; case 25 /* DotToken */: return containingNodeKind === 207 /* ArrayBindingPattern */; + // var [.| case 59 /* ColonToken */: return containingNodeKind === 208 /* BindingElement */; + // var {x :html| case 23 /* OpenBracketToken */: return containingNodeKind === 207 /* ArrayBindingPattern */; + // var [x| case 21 /* OpenParenToken */: return containingNodeKind === 299 /* CatchClause */ || isFunctionLikeButNotConstructor(containingNodeKind); case 19 /* OpenBraceToken */: return containingNodeKind === 266 /* EnumDeclaration */; + // enum a { | case 30 /* LessThanToken */: return containingNodeKind === 263 /* ClassDeclaration */ || // class A< | containingNodeKind === 231 /* ClassExpression */ || // var C = class D< | @@ -166627,6 +168599,7 @@ function getCompletionData(program, log, sourceFile, compilerOptions, position, return containingNodeKind === 172 /* PropertyDeclaration */ && !isClassLike(parent2.parent); case 26 /* DotDotDotToken */: return containingNodeKind === 169 /* Parameter */ || !!parent2.parent && parent2.parent.kind === 207 /* ArrayBindingPattern */; + // var [...z| case 125 /* PublicKeyword */: case 123 /* PrivateKeyword */: case 124 /* ProtectedKeyword */: @@ -166637,7 +168610,7 @@ function getCompletionData(program, log, sourceFile, compilerOptions, position, case 153 /* SetKeyword */: return !isFromObjectTypeDeclaration(contextToken2); case 80 /* Identifier */: { - if (containingNodeKind === 276 /* ImportSpecifier */ && contextToken2 === parent2.name && contextToken2.text === "type") { + if ((containingNodeKind === 276 /* ImportSpecifier */ || containingNodeKind === 281 /* ExportSpecifier */) && contextToken2 === parent2.name && contextToken2.text === "type") { return false; } const ancestorVariableDeclaration = findAncestor( @@ -166853,6 +168826,7 @@ function tryGetObjectLikeCompletionContainer(contextToken, position, sourceFile) const { parent: parent2 } = contextToken; switch (contextToken.kind) { case 19 /* OpenBraceToken */: + // const x = { | case 28 /* CommaToken */: if (isObjectLiteralExpression(parent2) || isObjectBindingPattern(parent2)) { return parent2; @@ -167130,9 +169104,11 @@ function tryGetObjectTypeDeclarationCompletionContainer(sourceFile, contextToken case 64 /* EqualsToken */: return void 0; case 27 /* SemicolonToken */: + // class c {getValue(): number; | } case 20 /* CloseBraceToken */: return isFromObjectTypeDeclaration(location) && location.parent.name === location ? location.parent.parent : tryCast(location, isObjectTypeDeclaration); case 19 /* OpenBraceToken */: + // class c { | case 28 /* CommaToken */: return tryCast(contextToken.parent, isObjectTypeDeclaration); default: @@ -167366,20 +169342,37 @@ function isModuleSpecifierMissingOrEmpty(specifier) { if (nodeIsMissing(specifier)) return true; return !((_a = tryCast(isExternalModuleReference(specifier) ? specifier.expression : specifier, isStringLiteralLike)) == null ? void 0 : _a.text); } -function getVariableOrParameterDeclaration(contextToken, location) { +function getClosestSymbolDeclaration(contextToken, location) { if (!contextToken) return; - const possiblyParameterDeclaration = findAncestor(contextToken, (node) => isFunctionBlock(node) || isArrowFunctionBody(node) || isBindingPattern(node) ? "quit" : (isParameter(node) || isTypeParameterDeclaration(node)) && !isIndexSignatureDeclaration(node.parent)); - const possiblyVariableDeclaration = findAncestor(location, (node) => isFunctionBlock(node) || isArrowFunctionBody(node) || isBindingPattern(node) ? "quit" : isVariableDeclaration(node)); - return possiblyParameterDeclaration || possiblyVariableDeclaration; + let closestDeclaration = findAncestor(contextToken, (node) => isFunctionBlock(node) || isArrowFunctionBody(node) || isBindingPattern(node) ? "quit" : (isParameter(node) || isTypeParameterDeclaration(node)) && !isIndexSignatureDeclaration(node.parent)); + if (!closestDeclaration) { + closestDeclaration = findAncestor(location, (node) => isFunctionBlock(node) || isArrowFunctionBody(node) || isBindingPattern(node) ? "quit" : isVariableDeclaration(node)); + } + return closestDeclaration; +} +function isInTypeParameterDefault(contextToken) { + if (!contextToken) { + return false; + } + let node = contextToken; + let parent2 = contextToken.parent; + while (parent2) { + if (isTypeParameterDeclaration(parent2)) { + return parent2.default === node || node.kind === 64 /* EqualsToken */; + } + node = parent2; + parent2 = parent2.parent; + } + return false; } function isArrowFunctionBody(node) { return node.parent && isArrowFunction(node.parent) && (node.parent.body === node || // const a = () => /**/; node.kind === 39 /* EqualsGreaterThanToken */); } -function symbolCanBeReferencedAtTypeLocation(symbol, checker, seenModules = /* @__PURE__ */ new Map()) { +function symbolCanBeReferencedAtTypeLocation(symbol, checker, seenModules = /* @__PURE__ */ new Set()) { return nonAliasCanBeReferencedAtTypeLocation(symbol) || nonAliasCanBeReferencedAtTypeLocation(skipAlias(symbol.exportSymbol || symbol, checker)); function nonAliasCanBeReferencedAtTypeLocation(symbol2) { - return !!(symbol2.flags & 788968 /* Type */) || checker.isUnknownSymbol(symbol2) || !!(symbol2.flags & 1536 /* Module */) && addToSeen(seenModules, getSymbolId(symbol2)) && checker.getExportsOfModule(symbol2).some((e) => symbolCanBeReferencedAtTypeLocation(e, checker, seenModules)); + return !!(symbol2.flags & 788968 /* Type */) || checker.isUnknownSymbol(symbol2) || !!(symbol2.flags & 1536 /* Module */) && addToSeen(seenModules, symbol2) && checker.getExportsOfModule(symbol2).some((e) => symbolCanBeReferencedAtTypeLocation(e, checker, seenModules)); } } function isDeprecated(symbol, checker) { @@ -167451,7 +169444,7 @@ function createNameAndKindSet() { } function getStringLiteralCompletions(sourceFile, position, contextToken, options, host, program, log, preferences, includeSymbol) { if (isInReferenceComment(sourceFile, position)) { - const entries = getTripleSlashReferenceCompletion(sourceFile, position, program, host); + const entries = getTripleSlashReferenceCompletion(sourceFile, position, program, host, createModuleSpecifierResolutionHost(program, host)); return entries && convertPathCompletions(entries); } if (isInString(sourceFile, position, contextToken)) { @@ -167638,6 +169631,7 @@ function getStringLiteralCompletionEntries(sourceFile, node, position, program, const argumentInfo = ts_SignatureHelp_exports.getArgumentInfoForCompletions(parent2.kind === 291 /* JsxAttribute */ ? parent2.parent : node, position, sourceFile, typeChecker); return argumentInfo && getStringLiteralCompletionsFromSignature(argumentInfo.invocation, node, argumentInfo, typeChecker) || fromContextualType(0 /* None */); } + // falls through (is `require("")` or `require(""` or `import("")`) case 272 /* ImportDeclaration */: case 278 /* ExportDeclaration */: case 283 /* ExternalModuleReference */: @@ -167723,7 +169717,7 @@ function getAlreadyUsedTypesInStringLiteralUnion(union, current) { } function getStringLiteralCompletionsFromSignature(call, arg, argumentInfo, checker) { let isNewIdentifier = false; - const uniques = /* @__PURE__ */ new Map(); + const uniques = /* @__PURE__ */ new Set(); const editingArgument = isJsxOpeningLikeElement(call) ? Debug.checkDefined(findAncestor(arg.parent, isJsxAttribute)) : arg; const candidates = checker.getCandidateSignaturesForStringLiteralCompletions(call, editingArgument); const types = flatMap(candidates, (candidate) => { @@ -167763,7 +169757,7 @@ function stringLiteralCompletionsForObjectLiteral(checker, objectLiteralExpressi hasIndexSignature: hasIndexSignature(contextualType) }; } -function getStringLiteralTypes(type, uniques = /* @__PURE__ */ new Map()) { +function getStringLiteralTypes(type, uniques = /* @__PURE__ */ new Set()) { if (!type) return emptyArray; type = skipConstraint(type); return type.isUnion() ? flatMap(type.types, (t) => getStringLiteralTypes(t, uniques)) : type.isStringLiteral() && !(type.flags & 1024 /* EnumLiteral */) && addToSeen(uniques, type.value) ? [type] : emptyArray; @@ -167794,8 +169788,9 @@ function getStringLiteralCompletionsFromModuleNamesWorker(sourceFile, node, prog const scriptDirectory = getDirectoryPath(scriptPath); const compilerOptions = program.getCompilerOptions(); const typeChecker = program.getTypeChecker(); + const moduleSpecifierResolutionHost = createModuleSpecifierResolutionHost(program, host); const extensionOptions = getExtensionOptions(compilerOptions, 1 /* ModuleSpecifier */, sourceFile, typeChecker, preferences, mode); - return isPathRelativeToScript(literalValue) || !compilerOptions.baseUrl && !compilerOptions.paths && (isRootedDiskPath(literalValue) || isUrl(literalValue)) ? getCompletionEntriesForRelativeModules(literalValue, scriptDirectory, program, host, scriptPath, extensionOptions) : getCompletionEntriesForNonRelativeModules(literalValue, scriptDirectory, mode, program, host, extensionOptions); + return isPathRelativeToScript(literalValue) || !compilerOptions.baseUrl && !compilerOptions.paths && (isRootedDiskPath(literalValue) || isUrl(literalValue)) ? getCompletionEntriesForRelativeModules(literalValue, scriptDirectory, program, host, moduleSpecifierResolutionHost, scriptPath, extensionOptions) : getCompletionEntriesForNonRelativeModules(literalValue, scriptDirectory, mode, program, host, moduleSpecifierResolutionHost, extensionOptions); } function getExtensionOptions(compilerOptions, referenceKind, importingSourceFile, typeChecker, preferences, resolutionMode) { return { @@ -167806,7 +169801,7 @@ function getExtensionOptions(compilerOptions, referenceKind, importingSourceFile resolutionMode }; } -function getCompletionEntriesForRelativeModules(literalValue, scriptDirectory, program, host, scriptPath, extensionOptions) { +function getCompletionEntriesForRelativeModules(literalValue, scriptDirectory, program, host, moduleSpecifierResolutionHost, scriptPath, extensionOptions) { const compilerOptions = program.getCompilerOptions(); if (compilerOptions.rootDirs) { return getCompletionEntriesForDirectoryFragmentWithRootDirs( @@ -167816,6 +169811,7 @@ function getCompletionEntriesForRelativeModules(literalValue, scriptDirectory, p extensionOptions, program, host, + moduleSpecifierResolutionHost, scriptPath ); } else { @@ -167825,6 +169821,7 @@ function getCompletionEntriesForRelativeModules(literalValue, scriptDirectory, p extensionOptions, program, host, + moduleSpecifierResolutionHost, /*moduleSpecifierIsRelative*/ true, scriptPath @@ -167850,7 +169847,7 @@ function getBaseDirectoriesFromRootDirs(rootDirs, basePath, scriptDirectory, ign compareStringsCaseSensitive ); } -function getCompletionEntriesForDirectoryFragmentWithRootDirs(rootDirs, fragment, scriptDirectory, extensionOptions, program, host, exclude) { +function getCompletionEntriesForDirectoryFragmentWithRootDirs(rootDirs, fragment, scriptDirectory, extensionOptions, program, host, moduleSpecifierResolutionHost, exclude) { const compilerOptions = program.getCompilerOptions(); const basePath = compilerOptions.project || host.getCurrentDirectory(); const ignoreCase = !(host.useCaseSensitiveFileNames && host.useCaseSensitiveFileNames()); @@ -167862,6 +169859,7 @@ function getCompletionEntriesForDirectoryFragmentWithRootDirs(rootDirs, fragment extensionOptions, program, host, + moduleSpecifierResolutionHost, /*moduleSpecifierIsRelative*/ true, exclude @@ -167869,7 +169867,7 @@ function getCompletionEntriesForDirectoryFragmentWithRootDirs(rootDirs, fragment (itemA, itemB) => itemA.name === itemB.name && itemA.kind === itemB.kind && itemA.extension === itemB.extension ); } -function getCompletionEntriesForDirectoryFragment(fragment, scriptDirectory, extensionOptions, program, host, moduleSpecifierIsRelative, exclude, result = createNameAndKindSet()) { +function getCompletionEntriesForDirectoryFragment(fragment, scriptDirectory, extensionOptions, program, host, moduleSpecifierResolutionHost, moduleSpecifierIsRelative, exclude, result = createNameAndKindSet()) { var _a; if (fragment === void 0) { fragment = ""; @@ -167894,7 +169892,7 @@ function getCompletionEntriesForDirectoryFragment(fragment, scriptDirectory, ext if (versionPaths) { const packageDirectory = getDirectoryPath(packageJsonPath); const pathInPackage = absolutePath.slice(ensureTrailingDirectorySeparator(packageDirectory).length); - if (addCompletionEntriesFromPaths(result, pathInPackage, packageDirectory, extensionOptions, program, host, versionPaths)) { + if (addCompletionEntriesFromPaths(result, pathInPackage, packageDirectory, extensionOptions, program, host, moduleSpecifierResolutionHost, versionPaths)) { return result; } } @@ -167922,7 +169920,7 @@ function getCompletionEntriesForDirectoryFragment(fragment, scriptDirectory, ext getBaseFileName(filePath), program, extensionOptions, - /*isExportsWildcard*/ + /*isExportsOrImportsWildcard*/ false ); result.add(nameAndKind(name, "script" /* scriptElement */, extension)); @@ -167939,7 +169937,7 @@ function getCompletionEntriesForDirectoryFragment(fragment, scriptDirectory, ext } return result; } -function getFilenameWithExtensionOption(name, program, extensionOptions, isExportsWildcard) { +function getFilenameWithExtensionOption(name, program, extensionOptions, isExportsOrImportsWildcard) { const nonJsResult = ts_moduleSpecifiers_exports.tryGetRealFileNameForNonJsDeclarationFileName(name); if (nonJsResult) { return { name: nonJsResult, extension: tryGetExtensionFromPath2(nonJsResult) }; @@ -167953,7 +169951,7 @@ function getFilenameWithExtensionOption(name, program, extensionOptions, isExpor program.getCompilerOptions(), extensionOptions.importingSourceFile ).getAllowedEndingsInPreferredOrder(extensionOptions.resolutionMode); - if (isExportsWildcard) { + if (isExportsOrImportsWildcard) { allowedEndings = allowedEndings.filter((e) => e !== 0 /* Minimal */ && e !== 1 /* Index */); } if (allowedEndings[0] === 3 /* TsExtension */) { @@ -167963,13 +169961,13 @@ function getFilenameWithExtensionOption(name, program, extensionOptions, isExpor const outputExtension2 = ts_moduleSpecifiers_exports.tryGetJSExtensionForFile(name, program.getCompilerOptions()); return outputExtension2 ? { name: changeExtension(name, outputExtension2), extension: outputExtension2 } : { name, extension: tryGetExtensionFromPath2(name) }; } - if (!isExportsWildcard && (allowedEndings[0] === 0 /* Minimal */ || allowedEndings[0] === 1 /* Index */) && fileExtensionIsOneOf(name, [".js" /* Js */, ".jsx" /* Jsx */, ".ts" /* Ts */, ".tsx" /* Tsx */, ".d.ts" /* Dts */])) { + if (!isExportsOrImportsWildcard && (allowedEndings[0] === 0 /* Minimal */ || allowedEndings[0] === 1 /* Index */) && fileExtensionIsOneOf(name, [".js" /* Js */, ".jsx" /* Jsx */, ".ts" /* Ts */, ".tsx" /* Tsx */, ".d.ts" /* Dts */])) { return { name: removeFileExtension(name), extension: tryGetExtensionFromPath2(name) }; } const outputExtension = ts_moduleSpecifiers_exports.tryGetJSExtensionForFile(name, program.getCompilerOptions()); return outputExtension ? { name: changeExtension(name, outputExtension), extension: outputExtension } : { name, extension: tryGetExtensionFromPath2(name) }; } -function addCompletionEntriesFromPaths(result, fragment, baseDirectory, extensionOptions, program, host, paths) { +function addCompletionEntriesFromPaths(result, fragment, baseDirectory, extensionOptions, program, host, moduleSpecifierResolutionHost, paths) { const getPatternsForKey = (key) => paths[key]; const comparePaths2 = (a, b) => { const patternA = tryParsePattern(a); @@ -167978,40 +169976,43 @@ function addCompletionEntriesFromPaths(result, fragment, baseDirectory, extensio const lengthB = typeof patternB === "object" ? patternB.prefix.length : b.length; return compareValues(lengthB, lengthA); }; - return addCompletionEntriesFromPathsOrExports( + return addCompletionEntriesFromPathsOrExportsOrImports( result, /*isExports*/ false, + /*isImports*/ + false, fragment, baseDirectory, extensionOptions, program, host, + moduleSpecifierResolutionHost, getOwnKeys(paths), getPatternsForKey, comparePaths2 ); } -function addCompletionEntriesFromPathsOrExports(result, isExports, fragment, baseDirectory, extensionOptions, program, host, keys, getPatternsForKey, comparePaths2) { +function addCompletionEntriesFromPathsOrExportsOrImports(result, isExports, isImports, fragment, baseDirectory, extensionOptions, program, host, moduleSpecifierResolutionHost, keys, getPatternsForKey, comparePaths2) { let pathResults = []; let matchedPath; for (const key of keys) { if (key === ".") continue; - const keyWithoutLeadingDotSlash = key.replace(/^\.\//, ""); + const keyWithoutLeadingDotSlash = key.replace(/^\.\//, "") + ((isExports || isImports) && endsWith(key, "/") ? "*" : ""); const patterns = getPatternsForKey(key); if (patterns) { const pathPattern = tryParsePattern(keyWithoutLeadingDotSlash); if (!pathPattern) continue; const isMatch = typeof pathPattern === "object" && isPatternMatch(pathPattern, fragment); - const isLongestMatch = isMatch && (matchedPath === void 0 || comparePaths2(key, matchedPath) === -1 /* LessThan */); + const isLongestMatch = isMatch && (matchedPath === void 0 || comparePaths2(keyWithoutLeadingDotSlash, matchedPath) === -1 /* LessThan */); if (isLongestMatch) { - matchedPath = key; + matchedPath = keyWithoutLeadingDotSlash; pathResults = pathResults.filter((r) => !r.matchedPattern); } - if (typeof pathPattern === "string" || matchedPath === void 0 || comparePaths2(key, matchedPath) !== 1 /* GreaterThan */) { + if (typeof pathPattern === "string" || matchedPath === void 0 || comparePaths2(keyWithoutLeadingDotSlash, matchedPath) !== 1 /* GreaterThan */) { pathResults.push({ matchedPattern: isMatch, - results: getCompletionsForPathMapping(keyWithoutLeadingDotSlash, patterns, fragment, baseDirectory, extensionOptions, isExports && isMatch, program, host).map(({ name, kind, extension }) => nameAndKind(name, kind, extension)) + results: getCompletionsForPathMapping(keyWithoutLeadingDotSlash, patterns, fragment, baseDirectory, extensionOptions, isExports, isImports, program, host, moduleSpecifierResolutionHost).map(({ name, kind, extension }) => nameAndKind(name, kind, extension)) }); } } @@ -168019,7 +170020,7 @@ function addCompletionEntriesFromPathsOrExports(result, isExports, fragment, bas pathResults.forEach((pathResult) => pathResult.results.forEach((r) => result.add(r))); return matchedPath !== void 0; } -function getCompletionEntriesForNonRelativeModules(fragment, scriptPath, mode, program, host, extensionOptions) { +function getCompletionEntriesForNonRelativeModules(fragment, scriptPath, mode, program, host, moduleSpecifierResolutionHost, extensionOptions) { const typeChecker = program.getTypeChecker(); const compilerOptions = program.getCompilerOptions(); const { baseUrl, paths } = compilerOptions; @@ -168033,6 +170034,7 @@ function getCompletionEntriesForNonRelativeModules(fragment, scriptPath, mode, p extensionOptions, program, host, + moduleSpecifierResolutionHost, /*moduleSpecifierIsRelative*/ false, /*exclude*/ @@ -168042,7 +170044,7 @@ function getCompletionEntriesForNonRelativeModules(fragment, scriptPath, mode, p } if (paths) { const absolute = getPathsBasePath(compilerOptions, host); - addCompletionEntriesFromPaths(result, fragment, absolute, extensionOptions, program, host, paths); + addCompletionEntriesFromPaths(result, fragment, absolute, extensionOptions, program, host, moduleSpecifierResolutionHost, paths); } const fragmentDirectory = getFragmentDirectory(fragment); for (const ambientName of getAmbientModuleCompletions(fragment, fragmentDirectory, typeChecker)) { @@ -168053,7 +170055,7 @@ function getCompletionEntriesForNonRelativeModules(fragment, scriptPath, mode, p void 0 )); } - getCompletionEntriesFromTypings(host, program, scriptPath, fragmentDirectory, extensionOptions, result); + getCompletionEntriesFromTypings(program, host, moduleSpecifierResolutionHost, scriptPath, fragmentDirectory, extensionOptions, result); if (moduleResolutionUsesNodeModules(moduleResolution)) { let foundGlobal = false; if (fragmentDirectory === void 0) { @@ -168071,6 +170073,26 @@ function getCompletionEntriesForNonRelativeModules(fragment, scriptPath, mode, p } } if (!foundGlobal) { + const resolvePackageJsonExports = getResolvePackageJsonExports(compilerOptions); + const resolvePackageJsonImports = getResolvePackageJsonImports(compilerOptions); + let seenPackageScope = false; + const importsLookup = (directory) => { + if (resolvePackageJsonImports && !seenPackageScope) { + const packageFile = combinePaths(directory, "package.json"); + if (seenPackageScope = tryFileExists(host, packageFile)) { + const packageJson = readJson(packageFile, host); + exportsOrImportsLookup( + packageJson.imports, + fragment, + directory, + /*isExports*/ + false, + /*isImports*/ + true + ); + } + } + }; let ancestorLookup = (ancestor) => { const nodeModules = combinePaths(ancestor, "node_modules"); if (tryDirectoryExists(host, nodeModules)) { @@ -168080,6 +170102,7 @@ function getCompletionEntriesForNonRelativeModules(fragment, scriptPath, mode, p extensionOptions, program, host, + moduleSpecifierResolutionHost, /*moduleSpecifierIsRelative*/ false, /*exclude*/ @@ -168087,58 +170110,77 @@ function getCompletionEntriesForNonRelativeModules(fragment, scriptPath, mode, p result ); } + importsLookup(ancestor); }; - if (fragmentDirectory && getResolvePackageJsonExports(compilerOptions)) { - const nodeModulesDirectoryLookup = ancestorLookup; + if (fragmentDirectory && resolvePackageJsonExports) { + const nodeModulesDirectoryOrImportsLookup = ancestorLookup; ancestorLookup = (ancestor) => { const components = getPathComponents(fragment); components.shift(); let packagePath = components.shift(); if (!packagePath) { - return nodeModulesDirectoryLookup(ancestor); + return nodeModulesDirectoryOrImportsLookup(ancestor); } if (startsWith(packagePath, "@")) { const subName = components.shift(); if (!subName) { - return nodeModulesDirectoryLookup(ancestor); + return nodeModulesDirectoryOrImportsLookup(ancestor); } packagePath = combinePaths(packagePath, subName); } + if (resolvePackageJsonImports && startsWith(packagePath, "#")) { + return importsLookup(ancestor); + } const packageDirectory = combinePaths(ancestor, "node_modules", packagePath); const packageFile = combinePaths(packageDirectory, "package.json"); if (tryFileExists(host, packageFile)) { const packageJson = readJson(packageFile, host); - const exports2 = packageJson.exports; - if (exports2) { - if (typeof exports2 !== "object" || exports2 === null) { - return; - } - const keys = getOwnKeys(exports2); - const fragmentSubpath = components.join("/") + (components.length && hasTrailingDirectorySeparator(fragment) ? "/" : ""); - const conditions = getConditions(compilerOptions, mode); - addCompletionEntriesFromPathsOrExports( - result, - /*isExports*/ - true, - fragmentSubpath, - packageDirectory, - extensionOptions, - program, - host, - keys, - (key) => singleElementArray(getPatternFromFirstMatchingCondition(exports2[key], conditions)), - comparePatternKeys - ); - return; - } + const fragmentSubpath = components.join("/") + (components.length && hasTrailingDirectorySeparator(fragment) ? "/" : ""); + exportsOrImportsLookup( + packageJson.exports, + fragmentSubpath, + packageDirectory, + /*isExports*/ + true, + /*isImports*/ + false + ); + return; } - return nodeModulesDirectoryLookup(ancestor); + return nodeModulesDirectoryOrImportsLookup(ancestor); }; } - forEachAncestorDirectory(scriptPath, ancestorLookup); + forEachAncestorDirectoryStoppingAtGlobalCache(host, scriptPath, ancestorLookup); } } return arrayFrom(result.values()); + function exportsOrImportsLookup(lookupTable, fragment2, baseDirectory, isExports, isImports) { + if (typeof lookupTable !== "object" || lookupTable === null) { + return; + } + const keys = getOwnKeys(lookupTable); + const conditions = getConditions(compilerOptions, mode); + addCompletionEntriesFromPathsOrExportsOrImports( + result, + isExports, + isImports, + fragment2, + baseDirectory, + extensionOptions, + program, + host, + moduleSpecifierResolutionHost, + keys, + (key) => { + const pattern = getPatternFromFirstMatchingCondition(lookupTable[key], conditions); + if (pattern === void 0) { + return void 0; + } + return singleElementArray(endsWith(key, "/") && endsWith(pattern, "/") ? pattern + "*" : pattern); + }, + comparePatternKeys + ); + } } function getPatternFromFirstMatchingCondition(target, conditions) { if (typeof target === "string") { @@ -168156,25 +170198,28 @@ function getPatternFromFirstMatchingCondition(target, conditions) { function getFragmentDirectory(fragment) { return containsSlash(fragment) ? hasTrailingDirectorySeparator(fragment) ? fragment : getDirectoryPath(fragment) : void 0; } -function getCompletionsForPathMapping(path, patterns, fragment, packageDirectory, extensionOptions, isExportsWildcard, program, host) { - if (!endsWith(path, "*")) { - return !path.includes("*") ? justPathMappingName(path, "script" /* scriptElement */) : emptyArray; +function getCompletionsForPathMapping(path, patterns, fragment, packageDirectory, extensionOptions, isExports, isImports, program, host, moduleSpecifierResolutionHost) { + const parsedPath = tryParsePattern(path); + if (!parsedPath) { + return emptyArray; + } + if (typeof parsedPath === "string") { + return justPathMappingName(path, "script" /* scriptElement */); } - const pathPrefix = path.slice(0, path.length - 1); - const remainingFragment = tryRemovePrefix(fragment, pathPrefix); + const remainingFragment = tryRemovePrefix(fragment, parsedPath.prefix); if (remainingFragment === void 0) { - const starIsFullPathComponent = path[path.length - 2] === "/"; - return starIsFullPathComponent ? justPathMappingName(pathPrefix, "directory" /* directory */) : flatMap(patterns, (pattern) => { + const starIsFullPathComponent = endsWith(path, "/*"); + return starIsFullPathComponent ? justPathMappingName(parsedPath.prefix, "directory" /* directory */) : flatMap(patterns, (pattern) => { var _a; - return (_a = getModulesForPathsPattern("", packageDirectory, pattern, extensionOptions, isExportsWildcard, program, host)) == null ? void 0 : _a.map(({ name, ...rest }) => ({ name: pathPrefix + name, ...rest })); + return (_a = getModulesForPathsPattern("", packageDirectory, pattern, extensionOptions, isExports, isImports, program, host, moduleSpecifierResolutionHost)) == null ? void 0 : _a.map(({ name, ...rest }) => ({ name: parsedPath.prefix + name + parsedPath.suffix, ...rest })); }); } - return flatMap(patterns, (pattern) => getModulesForPathsPattern(remainingFragment, packageDirectory, pattern, extensionOptions, isExportsWildcard, program, host)); + return flatMap(patterns, (pattern) => getModulesForPathsPattern(remainingFragment, packageDirectory, pattern, extensionOptions, isExports, isImports, program, host, moduleSpecifierResolutionHost)); function justPathMappingName(name, kind) { return startsWith(name, fragment) ? [{ name: removeTrailingDirectorySeparator(name), kind, extension: void 0 }] : emptyArray; } } -function getModulesForPathsPattern(fragment, packageDirectory, pattern, extensionOptions, isExportsWildcard, program, host) { +function getModulesForPathsPattern(fragment, packageDirectory, pattern, extensionOptions, isExports, isImports, program, host, moduleSpecifierResolutionHost) { if (!host.readDirectory) { return void 0; } @@ -168187,35 +170232,67 @@ function getModulesForPathsPattern(fragment, packageDirectory, pattern, extensio const normalizedPrefixBase = hasTrailingDirectorySeparator(parsed.prefix) ? "" : getBaseFileName(normalizedPrefix); const fragmentHasPath = containsSlash(fragment); const fragmentDirectory = fragmentHasPath ? hasTrailingDirectorySeparator(fragment) ? fragment : getDirectoryPath(fragment) : void 0; + const getCommonSourceDirectory2 = () => moduleSpecifierResolutionHost.getCommonSourceDirectory(); + const ignoreCase = !hostUsesCaseSensitiveFileNames(moduleSpecifierResolutionHost); + const outDir = program.getCompilerOptions().outDir; + const declarationDir = program.getCompilerOptions().declarationDir; const expandedPrefixDirectory = fragmentHasPath ? combinePaths(normalizedPrefixDirectory, normalizedPrefixBase + fragmentDirectory) : normalizedPrefixDirectory; + const baseDirectory = normalizePath(combinePaths(packageDirectory, expandedPrefixDirectory)); + const possibleInputBaseDirectoryForOutDir = isImports && outDir && getPossibleOriginalInputPathWithoutChangingExt(baseDirectory, ignoreCase, outDir, getCommonSourceDirectory2); + const possibleInputBaseDirectoryForDeclarationDir = isImports && declarationDir && getPossibleOriginalInputPathWithoutChangingExt(baseDirectory, ignoreCase, declarationDir, getCommonSourceDirectory2); const normalizedSuffix = normalizePath(parsed.suffix); const declarationExtension = normalizedSuffix && getDeclarationEmitExtensionForPath("_" + normalizedSuffix); - const matchingSuffixes = declarationExtension ? [changeExtension(normalizedSuffix, declarationExtension), normalizedSuffix] : [normalizedSuffix]; - const baseDirectory = normalizePath(combinePaths(packageDirectory, expandedPrefixDirectory)); - const completePrefix = fragmentHasPath ? baseDirectory : ensureTrailingDirectorySeparator(baseDirectory) + normalizedPrefixBase; + const inputExtension = normalizedSuffix ? getPossibleOriginalInputExtensionForExtension("_" + normalizedSuffix) : void 0; + const matchingSuffixes = [ + declarationExtension && changeExtension(normalizedSuffix, declarationExtension), + ...inputExtension ? inputExtension.map((ext) => changeExtension(normalizedSuffix, ext)) : [], + normalizedSuffix + ].filter(isString); const includeGlobs = normalizedSuffix ? matchingSuffixes.map((suffix) => "**/*" + suffix) : ["./*"]; - const matches = mapDefined(tryReadDirectory( - host, - baseDirectory, - extensionOptions.extensionsToSearch, - /*exclude*/ - void 0, - includeGlobs - ), (match) => { - const trimmedWithPattern = trimPrefixAndSuffix(match); - if (trimmedWithPattern) { - if (containsSlash(trimmedWithPattern)) { - return directoryResult(getPathComponents(removeLeadingDirectorySeparator(trimmedWithPattern))[1]); - } - const { name, extension } = getFilenameWithExtensionOption(trimmedWithPattern, program, extensionOptions, isExportsWildcard); - return nameAndKind(name, "script" /* scriptElement */, extension); + const isExportsOrImportsWildcard = (isExports || isImports) && endsWith(pattern, "/*"); + let matches = getMatchesWithPrefix(baseDirectory); + if (possibleInputBaseDirectoryForOutDir) { + matches = concatenate(matches, getMatchesWithPrefix(possibleInputBaseDirectoryForOutDir)); + } + if (possibleInputBaseDirectoryForDeclarationDir) { + matches = concatenate(matches, getMatchesWithPrefix(possibleInputBaseDirectoryForDeclarationDir)); + } + if (!normalizedSuffix) { + matches = concatenate(matches, getDirectoryMatches(baseDirectory)); + if (possibleInputBaseDirectoryForOutDir) { + matches = concatenate(matches, getDirectoryMatches(possibleInputBaseDirectoryForOutDir)); } - }); - const directories = normalizedSuffix ? emptyArray : mapDefined(tryGetDirectories(host, baseDirectory), (dir) => dir === "node_modules" ? void 0 : directoryResult(dir)); - return [...matches, ...directories]; - function trimPrefixAndSuffix(path) { + if (possibleInputBaseDirectoryForDeclarationDir) { + matches = concatenate(matches, getDirectoryMatches(possibleInputBaseDirectoryForDeclarationDir)); + } + } + return matches; + function getMatchesWithPrefix(directory) { + const completePrefix = fragmentHasPath ? directory : ensureTrailingDirectorySeparator(directory) + normalizedPrefixBase; + return mapDefined(tryReadDirectory( + host, + directory, + extensionOptions.extensionsToSearch, + /*exclude*/ + void 0, + includeGlobs + ), (match) => { + const trimmedWithPattern = trimPrefixAndSuffix(match, completePrefix); + if (trimmedWithPattern) { + if (containsSlash(trimmedWithPattern)) { + return directoryResult(getPathComponents(removeLeadingDirectorySeparator(trimmedWithPattern))[1]); + } + const { name, extension } = getFilenameWithExtensionOption(trimmedWithPattern, program, extensionOptions, isExportsOrImportsWildcard); + return nameAndKind(name, "script" /* scriptElement */, extension); + } + }); + } + function getDirectoryMatches(directoryName) { + return mapDefined(tryGetDirectories(host, directoryName), (dir) => dir === "node_modules" ? void 0 : directoryResult(dir)); + } + function trimPrefixAndSuffix(path, prefix) { return firstDefined(matchingSuffixes, (suffix) => { - const inner = withoutStartAndEnd(normalizePath(path), completePrefix, suffix); + const inner = withoutStartAndEnd(normalizePath(path), prefix, suffix); return inner === void 0 ? void 0 : removeLeadingDirectorySeparator(inner); }); } @@ -168235,7 +170312,7 @@ function getAmbientModuleCompletions(fragment, fragmentDirectory, checker) { } return nonRelativeModuleNames; } -function getTripleSlashReferenceCompletion(sourceFile, position, program, host) { +function getTripleSlashReferenceCompletion(sourceFile, position, program, host, moduleSpecifierResolutionHost) { const compilerOptions = program.getCompilerOptions(); const token = getTokenAtPosition(sourceFile, position); const commentRanges = getLeadingCommentRanges(sourceFile.text, token.pos); @@ -168256,13 +170333,14 @@ function getTripleSlashReferenceCompletion(sourceFile, position, program, host) getExtensionOptions(compilerOptions, 0 /* Filename */, sourceFile), program, host, + moduleSpecifierResolutionHost, /*moduleSpecifierIsRelative*/ true, sourceFile.path - ) : kind === "types" ? getCompletionEntriesFromTypings(host, program, scriptPath, getFragmentDirectory(toComplete), getExtensionOptions(compilerOptions, 1 /* ModuleSpecifier */, sourceFile)) : Debug.fail(); + ) : kind === "types" ? getCompletionEntriesFromTypings(program, host, moduleSpecifierResolutionHost, scriptPath, getFragmentDirectory(toComplete), getExtensionOptions(compilerOptions, 1 /* ModuleSpecifier */, sourceFile)) : Debug.fail(); return addReplacementSpans(toComplete, range.pos + prefix.length, arrayFrom(names.values())); } -function getCompletionEntriesFromTypings(host, program, scriptPath, fragmentDirectory, extensionOptions, result = createNameAndKindSet()) { +function getCompletionEntriesFromTypings(program, host, moduleSpecifierResolutionHost, scriptPath, fragmentDirectory, extensionOptions, result = createNameAndKindSet()) { const options = program.getCompilerOptions(); const seen = /* @__PURE__ */ new Map(); const typeRoots = tryAndIgnoreErrors(() => getEffectiveTypeRoots(options, host)) || emptyArray; @@ -168299,6 +170377,7 @@ function getCompletionEntriesFromTypings(host, program, scriptPath, fragmentDire extensionOptions, program, host, + moduleSpecifierResolutionHost, /*moduleSpecifierIsRelative*/ false, /*exclude*/ @@ -168444,6 +170523,7 @@ function getImportersForExport(sourceFiles, sourceFilesSet, allDirectImports, { break; case 80 /* Identifier */: break; + // TODO: GH#23879 case 271 /* ImportEqualsDeclaration */: handleNamespaceImport( direct, @@ -169050,7 +171130,7 @@ function getImplementationsAtPosition(program, cancellationToken, sourceFiles, s referenceEntries = entries && [...entries]; } else if (entries) { const queue = createQueue(entries); - const seenNodes = /* @__PURE__ */ new Map(); + const seenNodes = /* @__PURE__ */ new Set(); while (!queue.isEmpty()) { const entry = queue.dequeue(); if (!addToSeen(seenNodes, getNodeId(entry.node))) { @@ -169338,6 +171418,7 @@ function declarationIsWriteAccess(decl) { case 306 /* EnumMember */: case 281 /* ExportSpecifier */: case 273 /* ImportClause */: + // default import case 271 /* ImportEqualsDeclaration */: case 276 /* ImportSpecifier */: case 264 /* InterfaceDeclaration */: @@ -169724,6 +171805,7 @@ var Core; Debug.assert(node.parent.name === node); return 2 /* Class */; } + // falls through default: return 0 /* None */; } @@ -170055,6 +172137,7 @@ var Core; if (isJSDocMemberName(node.parent)) { return true; } + // falls through I guess case 80 /* Identifier */: return node.text.length === searchSymbolName.length; case 15 /* NoSubstitutionTemplateLiteral */: @@ -170480,6 +172563,7 @@ var Core; searchSpaceNode = searchSpaceNode.parent; break; } + // falls through case 172 /* PropertyDeclaration */: case 171 /* PropertySignature */: case 176 /* Constructor */: @@ -170492,9 +172576,12 @@ var Core; if (isExternalModule(searchSpaceNode) || isParameterName(thisOrSuperKeyword)) { return void 0; } + // falls through case 262 /* FunctionDeclaration */: case 218 /* FunctionExpression */: break; + // Computed properties in classes are not handled here because references to this are illegal, + // so there is no point finding references to them. default: return void 0; } @@ -170695,10 +172782,10 @@ var Core; } } function getPropertySymbolsFromBaseTypes(symbol, propertyName, checker, cb) { - const seen = /* @__PURE__ */ new Map(); + const seen = /* @__PURE__ */ new Set(); return recur(symbol); function recur(symbol2) { - if (!(symbol2.flags & (32 /* Class */ | 64 /* Interface */)) || !addToSeen(seen, getSymbolId(symbol2))) return; + if (!(symbol2.flags & (32 /* Class */ | 64 /* Interface */)) || !addToSeen(seen, symbol2)) return; return firstDefined(symbol2.declarations, (declaration) => firstDefined(getAllSuperTypeNodes(declaration), (typeReference) => { const type = checker.getTypeAtLocation(typeReference); const propertySymbol = type && type.symbol && checker.getPropertyOfType(type, propertyName); @@ -170834,6 +172921,7 @@ function getDefinitionAtPosition(program, sourceFile, position, searchOtherFiles if (!isDefaultClause(node.parent)) { break; } + // falls through case 84 /* CaseKeyword */: const switchStatement = findAncestor(node.parent, isSwitchStatement); if (switchStatement) { @@ -171278,6 +173366,8 @@ function isDefinitionVisible(checker, declaration) { case 178 /* SetAccessor */: case 174 /* MethodDeclaration */: if (hasEffectiveModifier(declaration, 2 /* Private */)) return false; + // Public properties/methods are visible if its parents are visible, so: + // falls through case 176 /* Constructor */: case 303 /* PropertyAssignment */: case 304 /* ShorthandPropertyAssignment */: @@ -171481,11 +173571,8 @@ function provideInlayHints(context) { if (!args || !args.length) { return; } - const candidates = []; - const signature = checker.getResolvedSignatureForSignatureHelp(expr, candidates); - if (!signature || !candidates.length) { - return; - } + const signature = checker.getResolvedSignature(expr); + if (signature === void 0) return; let signatureParamPos = 0; for (const originalArg of args) { const arg = skipParentheses(originalArg); @@ -172254,6 +174341,7 @@ function getCommentHavingNodes(declaration) { if (isJSDocOverloadTag(declaration.parent)) { return [declaration.parent.parent]; } + // falls through default: return getJSDocCommentsAndTags(declaration); } @@ -173591,6 +175679,7 @@ function getOutliningSpanForNode(n, sourceFile) { const node = findChildOfKind(tryStatement, 98 /* FinallyKeyword */, sourceFile); if (node) return spanForNode(node); } + // falls through default: return createOutliningSpan(createTextSpanFromNode(n, sourceFile), "code" /* Code */); } @@ -175341,6 +177430,7 @@ __export(ts_textChanges_exports, { assignPositionsToNode: () => assignPositionsToNode, createWriter: () => createWriter, deleteNode: () => deleteNode, + getAdjustedEndPosition: () => getAdjustedEndPosition, isThisTypeAnnotatable: () => isThisTypeAnnotatable, isValidLocationToAddComment: () => isValidLocationToAddComment }); @@ -175840,7 +177930,10 @@ var ChangeTracker = class _ChangeTracker { getInsertNodeAtStartInsertOptions(sourceFile, node, indentation) { const members = getMembersOrProperties(node); const isEmpty = members.length === 0; - const isFirstInsertion = addToSeen(this.classesWithNodesInsertedAtStart, getNodeId(node), { node, sourceFile }); + const isFirstInsertion = !this.classesWithNodesInsertedAtStart.has(getNodeId(node)); + if (isFirstInsertion) { + this.classesWithNodesInsertedAtStart.set(getNodeId(node), { node, sourceFile }); + } const insertTrailingComma = isObjectLiteralExpression(node) && (!isJsonSourceFile(sourceFile) || !isEmpty); const insertLeadingComma = isObjectLiteralExpression(node) && isJsonSourceFile(sourceFile) && isEmpty && !isFirstInsertion; return { @@ -177416,19 +179509,34 @@ function isBinaryOpContext(context) { case 193 /* IntersectionType */: case 238 /* SatisfiesExpression */: return true; + // equals in binding elements: function foo([[x, y] = [1, 2]]) case 208 /* BindingElement */: + // equals in type X = ... + // falls through case 265 /* TypeAliasDeclaration */: + // equal in import a = module('a'); + // falls through case 271 /* ImportEqualsDeclaration */: + // equal in export = 1 + // falls through case 277 /* ExportAssignment */: + // equal in let a = 0 + // falls through case 260 /* VariableDeclaration */: + // equal in p = 0 + // falls through case 169 /* Parameter */: case 306 /* EnumMember */: case 172 /* PropertyDeclaration */: case 171 /* PropertySignature */: return context.currentTokenSpan.kind === 64 /* EqualsToken */ || context.nextTokenSpan.kind === 64 /* EqualsToken */; + // "in" keyword in for (let x in []) { } case 249 /* ForInStatement */: + // "in" keyword in [P in keyof T]: T[P] + // falls through case 168 /* TypeParameter */: return context.currentTokenSpan.kind === 103 /* InKeyword */ || context.nextTokenSpan.kind === 103 /* InKeyword */ || context.currentTokenSpan.kind === 64 /* EqualsToken */ || context.nextTokenSpan.kind === 64 /* EqualsToken */; + // Technically, "of" is not a binary operator, but format it the same way as "in" case 250 /* ForOfStatement */: return context.currentTokenSpan.kind === 165 /* OfKeyword */ || context.nextTokenSpan.kind === 165 /* OfKeyword */; } @@ -177492,12 +179600,20 @@ function isFunctionDeclContext(context) { case 262 /* FunctionDeclaration */: case 174 /* MethodDeclaration */: case 173 /* MethodSignature */: + // case SyntaxKind.MemberFunctionDeclaration: + // falls through case 177 /* GetAccessor */: case 178 /* SetAccessor */: + // case SyntaxKind.MethodSignature: + // falls through case 179 /* CallSignature */: case 218 /* FunctionExpression */: case 176 /* Constructor */: case 219 /* ArrowFunction */: + // case SyntaxKind.ConstructorDeclaration: + // case SyntaxKind.SimpleArrowFunctionExpression: + // case SyntaxKind.ParenthesizedArrowFunctionExpression: + // falls through case 264 /* InterfaceDeclaration */: return true; } @@ -177557,6 +179673,9 @@ function isControlDeclContext(context) { case 258 /* TryStatement */: case 246 /* DoStatement */: case 254 /* WithStatement */: + // TODO + // case SyntaxKind.ElseClause: + // falls through case 299 /* CatchClause */: return true; default: @@ -177724,6 +179843,9 @@ function isSemicolonDeletionContext(context) { if (startLine === endLine) { return nextTokenKind === 20 /* CloseBraceToken */ || nextTokenKind === 1 /* EndOfFileToken */; } + if (nextTokenKind === 27 /* SemicolonToken */ && context.currentTokenSpan.kind === 27 /* SemicolonToken */) { + return true; + } if (nextTokenKind === 240 /* SemicolonClassElement */ || nextTokenKind === 27 /* SemicolonToken */) { return false; } @@ -178185,6 +180307,7 @@ function formatSpanWorker(originalRange, enclosingNode, initialIndentation, delt if (node.asteriskToken) { return 42 /* AsteriskToken */; } + // falls through case 172 /* PropertyDeclaration */: case 169 /* Parameter */: const name = getNameOfDeclaration(node); @@ -178197,6 +180320,10 @@ function formatSpanWorker(originalRange, enclosingNode, initialIndentation, delt return { getIndentationForComment: (kind, tokenIndentation, container) => { switch (kind) { + // preceding comment to the token that closes the indentation scope inherits the indentation from the scope + // .. { + // // comment + // } case 20 /* CloseBraceToken */: case 24 /* CloseBracketToken */: case 22 /* CloseParenToken */: @@ -178226,6 +180353,7 @@ function formatSpanWorker(originalRange, enclosingNode, initialIndentation, delt }; function shouldAddDelta(line, kind, container) { switch (kind) { + // open and close brace, 'else' and 'while' (in do statement) tokens has indentation of the parent case 19 /* OpenBraceToken */: case 20 /* CloseBraceToken */: case 22 /* CloseParenToken */: @@ -179383,6 +181511,48 @@ var SmartIndenter; } })(SmartIndenter || (SmartIndenter = {})); +// src/services/_namespaces/ts.preparePasteEdits.ts +var ts_preparePasteEdits_exports = {}; +__export(ts_preparePasteEdits_exports, { + preparePasteEdits: () => preparePasteEdits +}); + +// src/services/preparePasteEdits.ts +function preparePasteEdits(sourceFile, copiedFromRange, checker) { + let shouldProvidePasteEdits = false; + copiedFromRange.forEach((range) => { + const enclosingNode = findAncestor( + getTokenAtPosition(sourceFile, range.pos), + (ancestorNode) => rangeContainsRange(ancestorNode, range) + ); + if (!enclosingNode) return; + forEachChild(enclosingNode, function checkNameResolution(node) { + var _a; + if (shouldProvidePasteEdits) return; + if (isIdentifier(node) && rangeContainsPosition(range, node.getStart(sourceFile))) { + const resolvedSymbol = checker.resolveName( + node.text, + node, + -1 /* All */, + /*excludeGlobals*/ + false + ); + if (resolvedSymbol && resolvedSymbol.declarations) { + for (const decl of resolvedSymbol.declarations) { + if (isInImport(decl) || !!(node.text && sourceFile.symbol && ((_a = sourceFile.symbol.exports) == null ? void 0 : _a.has(node.escapedText)))) { + shouldProvidePasteEdits = true; + return; + } + } + } + } + node.forEachChild(checkNameResolution); + }); + if (shouldProvidePasteEdits) return; + }); + return shouldProvidePasteEdits; +} + // src/services/_namespaces/ts.PasteEdits.ts var ts_PasteEdits_exports = {}; __export(ts_PasteEdits_exports, { @@ -179390,10 +181560,10 @@ __export(ts_PasteEdits_exports, { }); // src/services/pasteEdits.ts -var fixId54 = "providePostPasteEdits"; +var fixId55 = "providePostPasteEdits"; function pasteEditsProvider(targetFile, pastedText, pasteLocations, copiedFrom, host, preferences, formatContext, cancellationToken) { const changes = ts_textChanges_exports.ChangeTracker.with({ host, formatContext, preferences }, (changeTracker) => pasteEdits(targetFile, pastedText, pasteLocations, copiedFrom, host, preferences, formatContext, cancellationToken, changeTracker)); - return { edits: changes, fixId: fixId54 }; + return { edits: changes, fixId: fixId55 }; } function pasteEdits(targetFile, pastedText, pasteLocations, copiedFrom, host, preferences, formatContext, cancellationToken, changes) { let actualPastedText; @@ -179421,11 +181591,13 @@ function pasteEdits(targetFile, pastedText, pasteLocations, copiedFrom, host, pr } statements.push(...statementsInSourceFile.slice(startNodeIndex, endNodeIndex === -1 ? statementsInSourceFile.length : endNodeIndex + 1)); }); - const usage = getUsageInfo(copiedFrom.file, statements, originalProgram.getTypeChecker(), getExistingLocals(updatedFile, statements, originalProgram.getTypeChecker()), { pos: copiedFrom.range[0].pos, end: copiedFrom.range[copiedFrom.range.length - 1].end }); - Debug.assertIsDefined(originalProgram); + Debug.assertIsDefined(originalProgram, "no original program found"); + const originalProgramTypeChecker = originalProgram.getTypeChecker(); + const usageInfoRange = getUsageInfoRangeForPasteEdits(copiedFrom); + const usage = getUsageInfo(copiedFrom.file, statements, originalProgramTypeChecker, getExistingLocals(updatedFile, statements, originalProgramTypeChecker), usageInfoRange); const useEsModuleSyntax = !fileShouldUseJavaScriptRequire(targetFile.fileName, originalProgram, host, !!copiedFrom.file.commonJsModuleIndicator); addExportsInOldFile(copiedFrom.file, usage.targetFileImportsFromOldFile, changes, useEsModuleSyntax); - addTargetFileImports(copiedFrom.file, usage.oldImportsNeededByTargetFile, usage.targetFileImportsFromOldFile, originalProgram.getTypeChecker(), updatedProgram, importAdder); + addTargetFileImports(copiedFrom.file, usage.oldImportsNeededByTargetFile, usage.targetFileImportsFromOldFile, originalProgramTypeChecker, updatedProgram, importAdder); } else { const context = { sourceFile: updatedFile, @@ -179481,6 +181653,16 @@ function pasteEdits(targetFile, pastedText, pasteLocations, copiedFrom, host, pr ); }); } +function getUsageInfoRangeForPasteEdits({ file: sourceFile, range }) { + const pos = range[0].pos; + const end = range[range.length - 1].end; + const startToken = getTokenAtPosition(sourceFile, pos); + const endToken = findTokenOnLeftOfPosition(sourceFile, pos) ?? getTokenAtPosition(sourceFile, end); + return { + pos: isIdentifier(startToken) && pos <= startToken.getStart(sourceFile) ? startToken.getFullStart() : pos, + end: isIdentifier(endToken) && end === endToken.getEnd() ? ts_textChanges_exports.getAdjustedEndPosition(sourceFile, endToken, {}) : end + }; +} // src/server/_namespaces/ts.ts var ts_exports2 = {}; @@ -179593,6 +181775,7 @@ __export(ts_exports2, { PollingWatchKind: () => PollingWatchKind, PragmaKindFlags: () => PragmaKindFlags, PredicateSemantics: () => PredicateSemantics, + PreparePasteEdits: () => ts_preparePasteEdits_exports, PrivateIdentifierKind: () => PrivateIdentifierKind, ProcessLevel: () => ProcessLevel, ProgramUpdateLevel: () => ProgramUpdateLevel, @@ -179707,6 +181890,7 @@ __export(ts_exports2, { canWatchAffectingLocation: () => canWatchAffectingLocation, canWatchAtTypes: () => canWatchAtTypes, canWatchDirectoryOrFile: () => canWatchDirectoryOrFile, + canWatchDirectoryOrFilePath: () => canWatchDirectoryOrFilePath, cartesianProduct: () => cartesianProduct, cast: () => cast, chainBundle: () => chainBundle, @@ -179977,6 +182161,7 @@ __export(ts_exports2, { escapeTemplateSubstitution: () => escapeTemplateSubstitution, evaluatorResult: () => evaluatorResult, every: () => every, + exclusivelyPrefixedNodeCoreModules: () => exclusivelyPrefixedNodeCoreModules, executeCommandLine: () => executeCommandLine, expandPreOrPostfixIncrementOrDecrementExpression: () => expandPreOrPostfixIncrementOrDecrementExpression, explainFiles: () => explainFiles, @@ -179989,7 +182174,6 @@ __export(ts_exports2, { extensionsNotSupportingExtensionlessResolution: () => extensionsNotSupportingExtensionlessResolution, externalHelpersModuleNameText: () => externalHelpersModuleNameText, factory: () => factory, - fileContainsPackageImport: () => fileContainsPackageImport, fileExtensionIs: () => fileExtensionIs, fileExtensionIsOneOf: () => fileExtensionIsOneOf, fileIncludeReasonToDiagnostics: () => fileIncludeReasonToDiagnostics, @@ -180039,8 +182223,10 @@ __export(ts_exports2, { forEach: () => forEach, forEachAncestor: () => forEachAncestor, forEachAncestorDirectory: () => forEachAncestorDirectory, + forEachAncestorDirectoryStoppingAtGlobalCache: () => forEachAncestorDirectoryStoppingAtGlobalCache, forEachChild: () => forEachChild, forEachChildRecursively: () => forEachChildRecursively, + forEachDynamicImportOrRequireCall: () => forEachDynamicImportOrRequireCall, forEachEmittedFile: () => forEachEmittedFile, forEachEnclosingBlockScopeContainer: () => forEachEnclosingBlockScopeContainer, forEachEntry: () => forEachEntry, @@ -180081,6 +182267,7 @@ __export(ts_exports2, { getAllKeys: () => getAllKeys, getAllProjectOutputs: () => getAllProjectOutputs, getAllSuperTypeNodes: () => getAllSuperTypeNodes, + getAllowImportingTsExtensions: () => getAllowImportingTsExtensions, getAllowJSCompilerOption: () => getAllowJSCompilerOption, getAllowSyntheticDefaultImports: () => getAllowSyntheticDefaultImports, getAncestor: () => getAncestor, @@ -180389,6 +182576,7 @@ __export(ts_exports2, { getPositionOfLineAndCharacter: () => getPositionOfLineAndCharacter, getPossibleGenericSignatures: () => getPossibleGenericSignatures, getPossibleOriginalInputExtensionForExtension: () => getPossibleOriginalInputExtensionForExtension, + getPossibleOriginalInputPathWithoutChangingExt: () => getPossibleOriginalInputPathWithoutChangingExt, getPossibleTypeArgumentsInfo: () => getPossibleTypeArgumentsInfo, getPreEmitDiagnostics: () => getPreEmitDiagnostics, getPrecedingNonSpaceCharacterPosition: () => getPrecedingNonSpaceCharacterPosition, @@ -180652,7 +182840,7 @@ __export(ts_exports2, { isBooleanLiteral: () => isBooleanLiteral, isBreakOrContinueStatement: () => isBreakOrContinueStatement, isBreakStatement: () => isBreakStatement, - isBuild: () => isBuild, + isBuildCommand: () => isBuildCommand, isBuildInfoFile: () => isBuildInfoFile, isBuilderProgram: () => isBuilderProgram, isBundle: () => isBundle, @@ -180839,7 +183027,7 @@ __export(ts_exports2, { isImportSpecifier: () => isImportSpecifier, isImportTypeAssertionContainer: () => isImportTypeAssertionContainer, isImportTypeNode: () => isImportTypeNode, - isImportableFile: () => isImportableFile, + isImportable: () => isImportable, isInComment: () => isInComment, isInCompoundLikeAssignment: () => isInCompoundLikeAssignment, isInExpressionContext: () => isInExpressionContext, @@ -180938,6 +183126,7 @@ __export(ts_exports2, { isJsxAttributeLike: () => isJsxAttributeLike, isJsxAttributeName: () => isJsxAttributeName, isJsxAttributes: () => isJsxAttributes, + isJsxCallLike: () => isJsxCallLike, isJsxChild: () => isJsxChild, isJsxClosingElement: () => isJsxClosingElement, isJsxClosingFragment: () => isJsxClosingFragment, @@ -181020,6 +183209,7 @@ __export(ts_exports2, { isNamespaceReexportDeclaration: () => isNamespaceReexportDeclaration, isNewExpression: () => isNewExpression, isNewExpressionTarget: () => isNewExpressionTarget, + isNewScopeNode: () => isNewScopeNode, isNoSubstitutionTemplateLiteral: () => isNoSubstitutionTemplateLiteral, isNodeArray: () => isNodeArray, isNodeArrayMultiLine: () => isNodeArrayMultiLine, @@ -181068,6 +183258,7 @@ __export(ts_exports2, { isParseTreeNode: () => isParseTreeNode, isPartOfParameterDeclaration: () => isPartOfParameterDeclaration, isPartOfTypeNode: () => isPartOfTypeNode, + isPartOfTypeOnlyImportOrExportDeclaration: () => isPartOfTypeOnlyImportOrExportDeclaration, isPartOfTypeQuery: () => isPartOfTypeQuery, isPartiallyEmittedExpression: () => isPartiallyEmittedExpression, isPatternMatch: () => isPatternMatch, @@ -181136,6 +183327,7 @@ __export(ts_exports2, { isSimpleInlineableExpression: () => isSimpleInlineableExpression, isSimpleParameterList: () => isSimpleParameterList, isSingleOrDoubleQuote: () => isSingleOrDoubleQuote, + isSolutionConfig: () => isSolutionConfig, isSourceElement: () => isSourceElement, isSourceFile: () => isSourceFile, isSourceFileFromLibrary: () => isSourceFileFromLibrary, @@ -181244,7 +183436,6 @@ __export(ts_exports2, { isVariableDeclarationInitializedToRequire: () => isVariableDeclarationInitializedToRequire, isVariableDeclarationList: () => isVariableDeclarationList, isVariableLike: () => isVariableLike, - isVariableLikeOrAccessor: () => isVariableLikeOrAccessor, isVariableStatement: () => isVariableStatement, isVoidExpression: () => isVoidExpression, isWatchSet: () => isWatchSet, @@ -181281,6 +183472,7 @@ __export(ts_exports2, { matchPatternOrExact: () => matchPatternOrExact, matchedText: () => matchedText, matchesExclude: () => matchesExclude, + matchesExcludeWorker: () => matchesExcludeWorker, maxBy: () => maxBy, maybeBind: () => maybeBind, maybeSetLocalizedDiagnosticMessages: () => maybeSetLocalizedDiagnosticMessages, @@ -181320,6 +183512,7 @@ __export(ts_exports2, { noTransformers: () => noTransformers, noTruncationMaximumTruncationLength: () => noTruncationMaximumTruncationLength, nodeCanBeDecorated: () => nodeCanBeDecorated, + nodeCoreModules: () => nodeCoreModules, nodeHasName: () => nodeHasName, nodeIsDecorated: () => nodeIsDecorated, nodeIsMissing: () => nodeIsMissing, @@ -181464,6 +183657,7 @@ __export(ts_exports2, { returnTrue: () => returnTrue, returnUndefined: () => returnUndefined, returnsPromise: () => returnsPromise, + rewriteModuleSpecifier: () => rewriteModuleSpecifier, sameFlatMap: () => sameFlatMap, sameMap: () => sameMap, sameMapping: () => sameMapping, @@ -181509,6 +183703,7 @@ __export(ts_exports2, { setValueDeclaration: () => setValueDeclaration, shouldAllowImportingTsExtension: () => shouldAllowImportingTsExtension, shouldPreserveConstEnums: () => shouldPreserveConstEnums, + shouldRewriteModuleSpecifier: () => shouldRewriteModuleSpecifier, shouldUseUriStyleNodeCoreModules: () => shouldUseUriStyleNodeCoreModules, showModuleSpecifier: () => showModuleSpecifier, signatureHasRestParameter: () => signatureHasRestParameter, @@ -181566,6 +183761,7 @@ __export(ts_exports2, { tagNamesAreEquivalent: () => tagNamesAreEquivalent, takeWhile: () => takeWhile, targetOptionDeclaration: () => targetOptionDeclaration, + targetToLibMap: () => targetToLibMap, testFormatSettings: () => testFormatSettings, textChangeRangeIsUnchanged: () => textChangeRangeIsUnchanged, textChangeRangeNewSpan: () => textChangeRangeNewSpan, @@ -181659,6 +183855,7 @@ __export(ts_exports2, { tryRemoveExtension: () => tryRemoveExtension, tryRemovePrefix: () => tryRemovePrefix, tryRemoveSuffix: () => tryRemoveSuffix, + tscBuildOption: () => tscBuildOption, typeAcquisitionDeclarations: () => typeAcquisitionDeclarations, typeAliasNamePart: () => typeAliasNamePart, typeDirectiveIsEqualTo: () => typeDirectiveIsEqualTo, @@ -181670,6 +183867,7 @@ __export(ts_exports2, { unescapeLeadingUnderscores: () => unescapeLeadingUnderscores, unmangleScopedPackageName: () => unmangleScopedPackageName, unorderedRemoveItem: () => unorderedRemoveItem, + unprefixedNodeCoreModules: () => unprefixedNodeCoreModules, unreachableCodeIsError: () => unreachableCodeIsError, unsetNodeChildren: () => unsetNodeChildren, unusedLabelIsError: () => unusedLabelIsError, @@ -181883,6 +184081,7 @@ __export(ts_server_exports3, { formatDiagnosticToProtocol: () => formatDiagnosticToProtocol, formatMessage: () => formatMessage2, getBaseConfigFileName: () => getBaseConfigFileName, + getDetailWatchInfo: () => getDetailWatchInfo, getLocationInNewDocument: () => getLocationInNewDocument, hasArgument: () => hasArgument, hasNoTypeScriptSource: () => hasNoTypeScriptSource, @@ -181905,6 +184104,8 @@ __export(ts_server_exports3, { nullCancellationToken: () => nullCancellationToken, nullTypingsInstaller: () => nullTypingsInstaller, protocol: () => ts_server_protocol_exports, + scriptInfoIsContainedByBackgroundProject: () => scriptInfoIsContainedByBackgroundProject, + scriptInfoIsContainedByDeferredClosedProject: () => scriptInfoIsContainedByDeferredClosedProject, stringifyIndented: () => stringifyIndented, toEvent: () => toEvent, toNormalizedPath: () => toNormalizedPath, @@ -182590,6 +184791,7 @@ var CommandTypes = /* @__PURE__ */ ((CommandTypes2) => { CommandTypes2["GetApplicableRefactors"] = "getApplicableRefactors"; CommandTypes2["GetEditsForRefactor"] = "getEditsForRefactor"; CommandTypes2["GetMoveToRefactoringFileSuggestions"] = "getMoveToRefactoringFileSuggestions"; + CommandTypes2["PreparePasteEdits"] = "preparePasteEdits"; CommandTypes2["GetPasteEdits"] = "getPasteEdits"; CommandTypes2["GetEditsForRefactorFull"] = "getEditsForRefactor-full"; CommandTypes2["OrganizeImports"] = "organizeImports"; @@ -182613,6 +184815,7 @@ var CommandTypes = /* @__PURE__ */ ((CommandTypes2) => { CommandTypes2["ProvideInlayHints"] = "provideInlayHints"; CommandTypes2["WatchChange"] = "watchChange"; CommandTypes2["MapCode"] = "mapCode"; + CommandTypes2["CopilotRelated"] = "copilotRelated"; return CommandTypes2; })(CommandTypes || {}); var WatchFileKind2 = /* @__PURE__ */ ((WatchFileKind3) => { @@ -182697,6 +184900,7 @@ var ScriptTarget11 = /* @__PURE__ */ ((ScriptTarget12) => { ScriptTarget12["ES2021"] = "es2021"; ScriptTarget12["ES2022"] = "es2022"; ScriptTarget12["ES2023"] = "es2023"; + ScriptTarget12["ES2024"] = "es2024"; ScriptTarget12["ESNext"] = "esnext"; ScriptTarget12["JSON"] = "json"; ScriptTarget12["Latest"] = "esnext" /* ESNext */; @@ -183141,13 +185345,6 @@ var ScriptInfo = class { isOrphan() { return this.deferredDelete || !forEach(this.containingProjects, (p) => !p.isOrphan()); } - /** @internal */ - isContainedByBackgroundProject() { - return some( - this.containingProjects, - isBackgroundProject - ); - } /** * @param line 1 based index */ @@ -183185,6 +185382,18 @@ function failIfInvalidLocation(location) { Debug.assert(location.line > 0, `Expected line to be non-${location.line === 0 ? "zero" : "negative"}`); Debug.assert(location.offset > 0, `Expected offset to be non-${location.offset === 0 ? "zero" : "negative"}`); } +function scriptInfoIsContainedByBackgroundProject(info) { + return some( + info.containingProjects, + isBackgroundProject + ); +} +function scriptInfoIsContainedByDeferredClosedProject(info) { + return some( + info.containingProjects, + isProjectDeferredClose + ); +} // src/server/project.ts var ProjectKind = /* @__PURE__ */ ((ProjectKind2) => { @@ -183301,10 +185510,9 @@ function unresolvedImportsChanged(imports1, imports2) { } var Project2 = class _Project { /** @internal */ - constructor(projectName, projectKind, projectService, documentRegistry, hasExplicitListOfFiles, lastFileExceededProgramSize, compilerOptions, compileOnSaveEnabled, watchOptions, directoryStructureHost, currentDirectory) { + constructor(projectName, projectKind, projectService, hasExplicitListOfFiles, lastFileExceededProgramSize, compilerOptions, compileOnSaveEnabled, watchOptions, directoryStructureHost, currentDirectory) { this.projectKind = projectKind; this.projectService = projectService; - this.documentRegistry = documentRegistry; this.compilerOptions = compilerOptions; this.compileOnSaveEnabled = compileOnSaveEnabled; this.watchOptions = watchOptions; @@ -183339,7 +185547,8 @@ var Project2 = class _Project { * @internal */ this.projectStateVersion = 0; - this.isInitialLoadPending = returnFalse; + /** @internal */ + this.initialLoadPending = false; /** @internal */ this.dirty = false; /** @internal */ @@ -183351,6 +185560,7 @@ var Project2 = class _Project { this.globalCacheResolutionModuleName = ts_JsTyping_exports.nonRelativeModuleNameForTypingCache; /** @internal */ this.updateFromProjectInProgress = false; + projectService.logger.info(`Creating ${ProjectKind[projectKind]}Project: ${projectName}, currentDirectory: ${currentDirectory}`); this.projectName = projectName; this.directoryStructureHost = directoryStructureHost; this.currentDirectory = this.projectService.getNormalizedAbsolutePath(currentDirectory); @@ -183396,7 +185606,11 @@ var Project2 = class _Project { /*logChangesWhenResolvingModule*/ true ); - this.languageService = createLanguageService(this, this.documentRegistry, this.projectService.serverMode); + this.languageService = createLanguageService( + this, + this.projectService.documentRegistry, + this.projectService.serverMode + ); if (lastFileExceededProgramSize) { this.disableLanguageService(lastFileExceededProgramSize); } @@ -183470,7 +185684,7 @@ var Project2 = class _Project { } /** @internal */ getGlobalTypingsCacheLocation() { - return this.getGlobalCache(); + return this.getTypeAcquisition().enable ? this.projectService.typingsInstaller.globalTypingsCacheLocation : void 0; } /** @internal */ getSymlinkCache() { @@ -183685,10 +185899,6 @@ var Project2 = class _Project { this.projectService.delayUpdateProjectGraphAndEnsureProjectStructureForOpenFiles(this); } /** @internal */ - getGlobalCache() { - return this.getTypeAcquisition().enable ? this.projectService.typingsInstaller.globalTypingsCacheLocation : void 0; - } - /** @internal */ fileIsOpen(filePath) { return this.projectService.openFiles.has(filePath); } @@ -184091,19 +186301,12 @@ var Project2 = class _Project { } /** @internal */ onAutoImportProviderSettingsChanged() { - var _a; - if (this.autoImportProviderHost === false) { - this.autoImportProviderHost = void 0; - } else { - (_a = this.autoImportProviderHost) == null ? void 0 : _a.markAsDirty(); - } + this.markAutoImportProviderAsDirty(); } /** @internal */ onPackageJsonChange() { this.moduleSpecifierCache.clear(); - if (this.autoImportProviderHost) { - this.autoImportProviderHost.markAsDirty(); - } + this.markAutoImportProviderAsDirty(); } /** @internal */ onFileAddedOrRemoved(isSymlink) { @@ -184225,14 +186428,15 @@ var Project2 = class _Project { const canonicalPath = this.toPath(path); toRemove.delete(canonicalPath); if (!this.typingWatchers.has(canonicalPath)) { + const watchType = typingsWatcherType === "FileWatcher" /* FileWatcher */ ? WatchType.TypingInstallerLocationFile : WatchType.TypingInstallerLocationDirectory; this.typingWatchers.set( canonicalPath, - typingsWatcherType === "FileWatcher" /* FileWatcher */ ? this.projectService.watchFactory.watchFile( + canWatchDirectoryOrFilePath(canonicalPath) ? typingsWatcherType === "FileWatcher" /* FileWatcher */ ? this.projectService.watchFactory.watchFile( path, () => !this.typingWatchers.isInvoked ? this.onTypingInstallerWatchInvoke() : this.writeLog(`TypingWatchers already invoked`), 2e3 /* High */, this.projectService.getWatchOptions(this), - WatchType.TypingInstallerLocationFile, + watchType, this ) : this.projectService.watchFactory.watchDirectory( path, @@ -184244,9 +186448,9 @@ var Project2 = class _Project { }, 1 /* Recursive */, this.projectService.getWatchOptions(this), - WatchType.TypingInstallerLocationDirectory, + watchType, this - ) + ) : (this.writeLog(`Skipping watcher creation at ${path}:: ${getDetailWatchInfo(watchType, this)}`), noopFileWatcher) ); } }; @@ -184282,7 +186486,7 @@ var Project2 = class _Project { } removeExistingTypings(include) { if (!include.length) return include; - const existing = getAutomaticTypeDirectiveNames(this.getCompilerOptions(), this.directoryStructureHost); + const existing = getAutomaticTypeDirectiveNames(this.getCompilerOptions(), this); return filter(include, (i) => !existing.includes(i)); } updateGraphWorker() { @@ -184537,7 +186741,7 @@ var Project2 = class _Project { ); } filesToStringWorker(writeProjectFileNames, writeFileExplaination, writeFileVersionAndText) { - if (this.isInitialLoadPending()) return " Files (0) InitialLoadPending\n"; + if (this.initialLoadPending) return " Files (0) InitialLoadPending\n"; if (!this.program) return " Files (0) NoProgram\n"; const sourceFiles = this.program.getSourceFiles(); let strBuilder = ` Files (${sourceFiles.length}) @@ -184624,7 +186828,7 @@ var Project2 = class _Project { fileName, isSourceOfProjectReferenceRedirect })) : (files) => arrayFrom(files.keys()); - if (!this.isInitialLoadPending()) { + if (!this.initialLoadPending) { updateProjectIfDirty(this); } const info = { @@ -184788,7 +186992,7 @@ var Project2 = class _Project { } /** @internal */ getNearestAncestorDirectoryWithPackageJson(fileName) { - return this.projectService.getNearestAncestorDirectoryWithPackageJson(fileName); + return this.projectService.getNearestAncestorDirectoryWithPackageJson(fileName, this); } /** @internal */ getPackageJsonsForAutoImport(rootDir) { @@ -184859,7 +187063,11 @@ var Project2 = class _Project { if (dependencySelection) { (_a = tracing) == null ? void 0 : _a.push(tracing.Phase.Session, "getPackageJsonAutoImportProvider"); const start = timestamp(); - this.autoImportProviderHost = AutoImportProviderProject.create(dependencySelection, this, this.getHostForAutoImportProvider(), this.documentRegistry); + this.autoImportProviderHost = AutoImportProviderProject.create( + dependencySelection, + this, + this.getHostForAutoImportProvider() + ) ?? false; if (this.autoImportProviderHost) { updateProjectIfDirty(this.autoImportProviderHost); this.sendPerformanceEvent("CreatePackageJsonAutoImportProvider", timestamp() - start); @@ -184886,11 +187094,12 @@ var Project2 = class _Project { /** @internal */ getNoDtsResolutionProject(rootFile) { Debug.assert(this.projectService.serverMode === 0 /* Semantic */); - if (!this.noDtsResolutionProject) { - this.noDtsResolutionProject = new AuxiliaryProject(this.projectService, this.documentRegistry, this.getCompilerOptionsForNoDtsResolutionProject(), this.currentDirectory); - } + this.noDtsResolutionProject ?? (this.noDtsResolutionProject = new AuxiliaryProject(this)); if (this.noDtsResolutionProject.rootFile !== rootFile) { - this.projectService.setFileNamesOfAutpImportProviderOrAuxillaryProject(this.noDtsResolutionProject, [rootFile]); + this.projectService.setFileNamesOfAutoImportProviderOrAuxillaryProject( + this.noDtsResolutionProject, + [rootFile] + ); this.noDtsResolutionProject.rootFile = rootFile; } return this.noDtsResolutionProject; @@ -184909,6 +187118,7 @@ var Project2 = class _Project { (_d = this.getScriptInfo(rootFile)) == null ? void 0 : _d.editContent(0, updatedText.length, originalText); } } + /** @internal */ getCompilerOptionsForNoDtsResolutionProject() { return { ...this.getCompilerOptions(), @@ -184951,15 +187161,13 @@ function extractUnresolvedImportsFromSourceFile(program, file, ambientModules, c } var InferredProject2 = class extends Project2 { /** @internal */ - constructor(projectService, documentRegistry, compilerOptions, watchOptions, projectRootPath, currentDirectory, typeAcquisition) { + constructor(projectService, compilerOptions, watchOptions, projectRootPath, currentDirectory, typeAcquisition) { super( projectService.newInferredProjectName(), 0 /* Inferred */, projectService, - documentRegistry, - // TODO: GH#18217 - /*files*/ - void 0, + /*hasExplicitListOfFiles*/ + false, /*lastFileExceededProgramSize*/ void 0, compilerOptions, @@ -185044,23 +187252,22 @@ var InferredProject2 = class extends Project2 { } }; var AuxiliaryProject = class extends Project2 { - constructor(projectService, documentRegistry, compilerOptions, currentDirectory) { + constructor(hostProject) { super( - projectService.newAuxiliaryProjectName(), + hostProject.projectService.newAuxiliaryProjectName(), 4 /* Auxiliary */, - projectService, - documentRegistry, + hostProject.projectService, /*hasExplicitListOfFiles*/ false, /*lastFileExceededProgramSize*/ void 0, - compilerOptions, + hostProject.getCompilerOptionsForNoDtsResolutionProject(), /*compileOnSaveEnabled*/ false, /*watchOptions*/ void 0, - projectService.host, - currentDirectory + hostProject.projectService.host, + hostProject.currentDirectory ); } isOrphan() { @@ -185072,12 +187279,11 @@ var AuxiliaryProject = class extends Project2 { }; var _AutoImportProviderProject = class _AutoImportProviderProject extends Project2 { /** @internal */ - constructor(hostProject, initialRootNames, documentRegistry, compilerOptions) { + constructor(hostProject, initialRootNames, compilerOptions) { super( hostProject.projectService.newAutoImportProviderProjectName(), 3 /* AutoImportProvider */, hostProject.projectService, - documentRegistry, /*hasExplicitListOfFiles*/ false, /*lastFileExceededProgramSize*/ @@ -185117,7 +187323,7 @@ var _AutoImportProviderProject = class _AutoImportProviderProject extends Projec if (dependencyNames) { const symlinkCache = hostProject.getSymlinkCache(); for (const name of arrayFrom(dependencyNames.keys())) { - if (dependencySelection === 2 /* Auto */ && dependenciesAdded > this.maxDependencies) { + if (dependencySelection === 2 /* Auto */ && dependenciesAdded >= this.maxDependencies) { hostProject.log(`AutoImportProviderProject: attempted to add more than ${this.maxDependencies} dependencies. Aborting.`); return emptyArray; } @@ -185238,7 +187444,7 @@ var _AutoImportProviderProject = class _AutoImportProviderProject extends Projec } } /** @internal */ - static create(dependencySelection, hostProject, host, documentRegistry) { + static create(dependencySelection, hostProject, host) { if (dependencySelection === 0 /* Off */) { return void 0; } @@ -185250,7 +187456,7 @@ var _AutoImportProviderProject = class _AutoImportProviderProject extends Projec if (!rootNames.length) { return void 0; } - return new _AutoImportProviderProject(hostProject, rootNames, documentRegistry, compilerOptions); + return new _AutoImportProviderProject(hostProject, rootNames, compilerOptions); } /** @internal */ isEmpty() { @@ -185270,7 +187476,7 @@ var _AutoImportProviderProject = class _AutoImportProviderProject extends Projec this.getCompilationSettings() ); } - this.projectService.setFileNamesOfAutpImportProviderOrAuxillaryProject(this, rootFileNames); + this.projectService.setFileNamesOfAutoImportProviderOrAuxillaryProject(this, rootFileNames); this.rootFileNames = rootFileNames; const oldProgram = this.getCurrentProgram(); const hasSameSetOfFiles = super.updateGraph(); @@ -185339,12 +187545,11 @@ _AutoImportProviderProject.compilerOptionsOverrides = { var AutoImportProviderProject = _AutoImportProviderProject; var ConfiguredProject2 = class extends Project2 { /** @internal */ - constructor(configFileName, canonicalConfigFilePath, projectService, documentRegistry, cachedDirectoryStructureHost, pendingUpdateReason) { + constructor(configFileName, canonicalConfigFilePath, projectService, cachedDirectoryStructureHost, pendingUpdateReason) { super( configFileName, 1 /* Configured */, projectService, - documentRegistry, /*hasExplicitListOfFiles*/ false, /*lastFileExceededProgramSize*/ @@ -185362,9 +187567,7 @@ var ConfiguredProject2 = class extends Project2 { /** @internal */ this.openFileWatchTriggered = /* @__PURE__ */ new Map(); /** @internal */ - this.canConfigFileJsonReportNoInputFiles = false; - /** @internal */ - this.isInitialLoadPending = returnTrue; + this.initialLoadPending = true; /** @internal */ this.sendLoadingProjectFinish = false; this.pendingUpdateLevel = 2 /* Full */; @@ -185384,7 +187587,7 @@ var ConfiguredProject2 = class extends Project2 { } /** @internal */ getParsedCommandLine(fileName) { - const configFileName = asNormalizedPath(normalizePath(fileName)); + const configFileName = toNormalizedPath(fileName); const canonicalConfigFilePath = asNormalizedPath(this.projectService.toCanonicalFileName(configFileName)); let configFileExistenceInfo = this.projectService.configFileExistenceInfoCache.get(canonicalConfigFilePath); if (!configFileExistenceInfo) { @@ -185398,7 +187601,7 @@ var ConfiguredProject2 = class extends Project2 { } /** @internal */ onReleaseParsedCommandLine(fileName) { - this.releaseParsedConfig(asNormalizedPath(this.projectService.toCanonicalFileName(asNormalizedPath(normalizePath(fileName))))); + this.releaseParsedConfig(asNormalizedPath(this.projectService.toCanonicalFileName(toNormalizedPath(fileName)))); } releaseParsedConfig(canonicalConfigFilePath) { this.projectService.stopWatchingWildCards(canonicalConfigFilePath, this); @@ -185411,7 +187614,7 @@ var ConfiguredProject2 = class extends Project2 { updateGraph() { if (this.deferredClose) return false; const isDirty = this.dirty; - this.isInitialLoadPending = returnFalse; + this.initialLoadPending = false; const updateLevel = this.pendingUpdateLevel; this.pendingUpdateLevel = 0 /* Update */; let result; @@ -185463,7 +187666,7 @@ var ConfiguredProject2 = class extends Project2 { } /** @internal */ setPotentialProjectReference(canonicalConfigPath) { - Debug.assert(this.isInitialLoadPending()); + Debug.assert(this.initialLoadPending); (this.potentialProjectReferences || (this.potentialProjectReferences = /* @__PURE__ */ new Set())).add(canonicalConfigPath); } /** @internal */ @@ -185527,10 +187730,6 @@ var ConfiguredProject2 = class extends Project2 { super.markAsDirty(); } /** @internal */ - isSolution() { - return this.getRootFilesMap().size === 0 && !this.canConfigFileJsonReportNoInputFiles; - } - /** @internal */ isOrphan() { return !!this.deferredClose; } @@ -185538,18 +187737,24 @@ var ConfiguredProject2 = class extends Project2 { return getEffectiveTypeRoots(this.getCompilationSettings(), this) || []; } /** @internal */ - updateErrorOnNoInputFiles(fileNames) { - updateErrorForNoInputFiles(fileNames, this.getConfigFilePath(), this.getCompilerOptions().configFile.configFileSpecs, this.projectErrors, this.canConfigFileJsonReportNoInputFiles); + updateErrorOnNoInputFiles(parsedCommandLine) { + this.parsedCommandLine = parsedCommandLine; + updateErrorForNoInputFiles( + parsedCommandLine.fileNames, + this.getConfigFilePath(), + this.getCompilerOptions().configFile.configFileSpecs, + this.projectErrors, + canJsonReportNoInputFiles(parsedCommandLine.raw) + ); } }; var ExternalProject = class extends Project2 { /** @internal */ - constructor(externalProjectName, projectService, documentRegistry, compilerOptions, lastFileExceededProgramSize, compileOnSaveEnabled, projectFilePath, watchOptions) { + constructor(externalProjectName, projectService, compilerOptions, lastFileExceededProgramSize, compileOnSaveEnabled, projectFilePath, watchOptions) { super( externalProjectName, 2 /* External */, projectService, - documentRegistry, /*hasExplicitListOfFiles*/ true, lastFileExceededProgramSize, @@ -185761,8 +187966,23 @@ var nullTypingsInstaller = { }; var noopConfigFileWatcher = { close: noop }; function getConfigFileNameFromCache(info, cache) { - if (!cache || isAncestorConfigFileInfo(info)) return void 0; - return cache.get(info.path); + if (!cache) return void 0; + const configFileForOpenFile = cache.get(info.path); + if (configFileForOpenFile === void 0) return void 0; + if (!isAncestorConfigFileInfo(info)) { + return isString(configFileForOpenFile) || !configFileForOpenFile ? configFileForOpenFile : ( + // direct result + configFileForOpenFile.get( + /*key*/ + false + ) + ); + } else { + return configFileForOpenFile && !isString(configFileForOpenFile) ? ( + // Map with fileName as key + configFileForOpenFile.get(info.fileName) + ) : void 0; + } } function isOpenScriptInfo(infoOrFileNameOrConfig) { return !!infoOrFileNameOrConfig.containingProjects; @@ -185771,125 +187991,159 @@ function isAncestorConfigFileInfo(infoOrFileNameOrConfig) { return !!infoOrFileNameOrConfig.configFileInfo; } var ConfiguredProjectLoadKind = /* @__PURE__ */ ((ConfiguredProjectLoadKind2) => { - ConfiguredProjectLoadKind2[ConfiguredProjectLoadKind2["Find"] = 0] = "Find"; - ConfiguredProjectLoadKind2[ConfiguredProjectLoadKind2["Create"] = 1] = "Create"; - ConfiguredProjectLoadKind2[ConfiguredProjectLoadKind2["Reload"] = 2] = "Reload"; + ConfiguredProjectLoadKind2[ConfiguredProjectLoadKind2["FindOptimized"] = 0] = "FindOptimized"; + ConfiguredProjectLoadKind2[ConfiguredProjectLoadKind2["Find"] = 1] = "Find"; + ConfiguredProjectLoadKind2[ConfiguredProjectLoadKind2["CreateReplayOptimized"] = 2] = "CreateReplayOptimized"; + ConfiguredProjectLoadKind2[ConfiguredProjectLoadKind2["CreateReplay"] = 3] = "CreateReplay"; + ConfiguredProjectLoadKind2[ConfiguredProjectLoadKind2["CreateOptimized"] = 4] = "CreateOptimized"; + ConfiguredProjectLoadKind2[ConfiguredProjectLoadKind2["Create"] = 5] = "Create"; + ConfiguredProjectLoadKind2[ConfiguredProjectLoadKind2["ReloadOptimized"] = 6] = "ReloadOptimized"; + ConfiguredProjectLoadKind2[ConfiguredProjectLoadKind2["Reload"] = 7] = "Reload"; return ConfiguredProjectLoadKind2; })(ConfiguredProjectLoadKind || {}); -function forEachAncestorProject(info, project, cb, kind, reason, allowDeferredClosed, reloadedProjects, delayReloadedConfiguredProjects) { +function toConfiguredProjectLoadOptimized(kind) { + return kind - 1; +} +function forEachAncestorProjectLoad(info, project, cb, kind, reason, allowDeferredClosed, reloadedProjects, searchOnlyPotentialSolution, delayReloadedConfiguredProjects) { + var _a; while (true) { - if (!project.isInitialLoadPending() && (!project.getCompilerOptions().composite || project.getCompilerOptions().disableSolutionSearching)) return; - const configFileName = project.projectService.getConfigFileNameForFile({ - fileName: project.getConfigFilePath(), - path: info.path, - configFileInfo: true - }, kind === 0 /* Find */); + if (project.parsedCommandLine && (searchOnlyPotentialSolution && !project.parsedCommandLine.options.composite || // Currently disableSolutionSearching is shared for finding solution/project when + // - loading solution for find all references + // - trying to find default project + project.parsedCommandLine.options.disableSolutionSearching)) return; + const configFileName = project.projectService.getConfigFileNameForFile( + { + fileName: project.getConfigFilePath(), + path: info.path, + configFileInfo: true, + isForDefaultProject: !searchOnlyPotentialSolution + }, + kind <= 3 /* CreateReplay */ + ); if (!configFileName) return; const ancestor = project.projectService.findCreateOrReloadConfiguredProject( configFileName, kind, reason, allowDeferredClosed, - /*triggerFile*/ - void 0, + !searchOnlyPotentialSolution ? info.fileName : void 0, + // Config Diag event for project if its for default project reloadedProjects, - /*delayLoad*/ - true, + searchOnlyPotentialSolution, + // Delay load if we are searching for solution delayReloadedConfiguredProjects ); if (!ancestor) return; - if (ancestor.project.isInitialLoadPending() && project.getCompilerOptions().composite) { + if (!ancestor.project.parsedCommandLine && ((_a = project.parsedCommandLine) == null ? void 0 : _a.options.composite)) { ancestor.project.setPotentialProjectReference(project.canonicalConfigFilePath); } - const result = cb(ancestor.project); + const result = cb(ancestor); if (result) return result; project = ancestor.project; } } -function forEachResolvedProjectReferenceProject(project, fileName, cb, kind, reason, allowDeferredClosed, triggerFile, reloadedProjects) { - var _a; - const resolvedRefs = (_a = project.getCurrentProgram()) == null ? void 0 : _a.getResolvedProjectReferences(); - if (!resolvedRefs) return void 0; - const possibleDefaultRef = fileName ? project.getResolvedProjectReferenceToRedirect(fileName) : void 0; - if (possibleDefaultRef) { - const configFileName = toNormalizedPath(possibleDefaultRef.sourceFile.fileName); - const child = project.projectService.findConfiguredProjectByProjectName( - configFileName, - allowDeferredClosed - ); - if (child) { - const result = callbackWithProjectFoundUsingFind(child); - if (result) return result; - } else if (kind !== 0 /* Find */) { - const result = forEachResolvedProjectReferenceProjectWorker( - resolvedRefs, - project.getCompilerOptions(), - (ref, loadKind) => possibleDefaultRef === ref ? callback(ref, loadKind) : void 0, - kind, - project.projectService - ); - if (result) return result; +function forEachResolvedProjectReferenceProjectLoad(project, parentConfig, cb, kind, reason, allowDeferredClosed, reloadedProjects, seenResolvedRefs) { + const loadKind = parentConfig.options.disableReferencedProjectLoad ? 0 /* FindOptimized */ : kind; + let children; + return forEach( + parentConfig.projectReferences, + (ref) => { + var _a; + const childConfigName = toNormalizedPath(resolveProjectReferencePath(ref)); + const childCanonicalConfigPath = asNormalizedPath(project.projectService.toCanonicalFileName(childConfigName)); + const seenValue = seenResolvedRefs == null ? void 0 : seenResolvedRefs.get(childCanonicalConfigPath); + if (seenValue !== void 0 && seenValue >= loadKind) return void 0; + const configFileExistenceInfo = project.projectService.configFileExistenceInfoCache.get(childCanonicalConfigPath); + let childConfig = loadKind === 0 /* FindOptimized */ ? (configFileExistenceInfo == null ? void 0 : configFileExistenceInfo.exists) || ((_a = project.resolvedChildConfigs) == null ? void 0 : _a.has(childCanonicalConfigPath)) ? configFileExistenceInfo.config.parsedCommandLine : void 0 : project.getParsedCommandLine(childConfigName); + if (childConfig && loadKind !== kind && loadKind > 2 /* CreateReplayOptimized */) { + childConfig = project.getParsedCommandLine(childConfigName); + } + if (!childConfig) return void 0; + const childProject = project.projectService.findConfiguredProjectByProjectName(childConfigName, allowDeferredClosed); + if (loadKind === 2 /* CreateReplayOptimized */ && !configFileExistenceInfo && !childProject) return void 0; + switch (loadKind) { + case 6 /* ReloadOptimized */: + if (childProject) childProject.projectService.reloadConfiguredProjectOptimized(childProject, reason, reloadedProjects); + // falls through + case 4 /* CreateOptimized */: + (project.resolvedChildConfigs ?? (project.resolvedChildConfigs = /* @__PURE__ */ new Set())).add(childCanonicalConfigPath); + // falls through + case 2 /* CreateReplayOptimized */: + case 0 /* FindOptimized */: + if (childProject || loadKind !== 0 /* FindOptimized */) { + const result = cb( + configFileExistenceInfo ?? project.projectService.configFileExistenceInfoCache.get(childCanonicalConfigPath), + childProject, + childConfigName, + reason, + project, + childCanonicalConfigPath + ); + if (result) return result; + } + break; + default: + Debug.assertNever(loadKind); + } + (seenResolvedRefs ?? (seenResolvedRefs = /* @__PURE__ */ new Map())).set(childCanonicalConfigPath, loadKind); + (children ?? (children = [])).push(childConfig); } - } - return forEachResolvedProjectReferenceProjectWorker( - resolvedRefs, - project.getCompilerOptions(), - (ref, loadKind) => possibleDefaultRef !== ref ? callback(ref, loadKind) : void 0, - kind, - project.projectService - ); - function callback(ref, loadKind) { - const result = project.projectService.findCreateOrReloadConfiguredProject( - toNormalizedPath(ref.sourceFile.fileName), + ) || forEach( + children, + (childConfig) => childConfig.projectReferences && forEachResolvedProjectReferenceProjectLoad( + project, + childConfig, + cb, loadKind, reason, allowDeferredClosed, - triggerFile, - reloadedProjects - ); - return result && (loadKind === kind ? cb(result.project, result.sentConfigFileDiag) : callbackWithProjectFoundUsingFind(result.project)); - } - function callbackWithProjectFoundUsingFind(child) { - let sentConfigFileDiag = false; - switch (kind) { - case 1 /* Create */: - sentConfigFileDiag = updateConfiguredProject(child, triggerFile); - break; - case 2 /* Reload */: - sentConfigFileDiag = child.projectService.reloadConfiguredProjectClearingSemanticCache(child, reason, reloadedProjects); - break; - case 0 /* Find */: - break; - default: - Debug.assertNever(kind); - } - const result = cb(child, sentConfigFileDiag); - if (result) return result; - } + reloadedProjects, + seenResolvedRefs + ) + ); } -function forEachResolvedProjectReferenceProjectWorker(resolvedProjectReferences, parentOptions, cb, kind, projectService, seenResolvedRefs) { - const loadKind = parentOptions.disableReferencedProjectLoad ? 0 /* Find */ : kind; - return forEach(resolvedProjectReferences, (ref) => { - if (!ref) return void 0; - const configFileName = toNormalizedPath(ref.sourceFile.fileName); - const canonicalPath = projectService.toCanonicalFileName(configFileName); - const seenValue = seenResolvedRefs == null ? void 0 : seenResolvedRefs.get(canonicalPath); - if (seenValue !== void 0 && seenValue >= loadKind) { - return void 0; - } - const result = cb(ref, loadKind); - if (result) { - return result; - } - (seenResolvedRefs || (seenResolvedRefs = /* @__PURE__ */ new Map())).set(canonicalPath, loadKind); - return ref.references && forEachResolvedProjectReferenceProjectWorker(ref.references, ref.commandLine.options, cb, loadKind, projectService, seenResolvedRefs); - }); +function updateProjectFoundUsingFind(project, kind, triggerFile, reason, reloadedProjects) { + let sentConfigFileDiag = false; + let configFileExistenceInfo; + switch (kind) { + case 2 /* CreateReplayOptimized */: + case 3 /* CreateReplay */: + if (useConfigFileExistenceInfoForOptimizedLoading(project)) { + configFileExistenceInfo = project.projectService.configFileExistenceInfoCache.get(project.canonicalConfigFilePath); + } + break; + case 4 /* CreateOptimized */: + configFileExistenceInfo = configFileExistenceInfoForOptimizedLoading(project); + if (configFileExistenceInfo) break; + // falls through + case 5 /* Create */: + sentConfigFileDiag = updateConfiguredProject(project, triggerFile); + break; + case 6 /* ReloadOptimized */: + project.projectService.reloadConfiguredProjectOptimized(project, reason, reloadedProjects); + configFileExistenceInfo = configFileExistenceInfoForOptimizedLoading(project); + if (configFileExistenceInfo) break; + // falls through + case 7 /* Reload */: + sentConfigFileDiag = project.projectService.reloadConfiguredProjectClearingSemanticCache( + project, + reason, + reloadedProjects + ); + break; + case 0 /* FindOptimized */: + case 1 /* Find */: + break; + default: + Debug.assertNever(kind); + } + return { project, sentConfigFileDiag, configFileExistenceInfo, reason }; } function forEachPotentialProjectReference(project, cb) { - return project.potentialProjectReferences && forEachKey(project.potentialProjectReferences, cb); + return project.initialLoadPending ? (project.potentialProjectReferences && forEachKey(project.potentialProjectReferences, cb)) ?? (project.resolvedChildConfigs && forEachKey(project.resolvedChildConfigs, cb)) : void 0; } function forEachAnyProjectReferenceKind(project, cb, cbProjectRef, cbPotentialProjectRef) { - return project.getCurrentProgram() ? project.forEachResolvedProjectReference(cb) : project.isInitialLoadPending() ? forEachPotentialProjectReference(project, cbPotentialProjectRef) : forEach(project.getProjectReferences(), cbProjectRef); + return project.getCurrentProgram() ? project.forEachResolvedProjectReference(cb) : project.initialLoadPending ? forEachPotentialProjectReference(project, cbPotentialProjectRef) : forEach(project.getProjectReferences(), cbProjectRef); } function callbackRefProject(project, cb, refPath) { const refProject = refPath && project.projectService.configuredProjects.get(refPath); @@ -185939,6 +188193,27 @@ function updateConfiguredProject(project, triggerFile) { } return false; } +function configFileExistenceInfoForOptimizedLoading(project) { + const configFileName = toNormalizedPath(project.getConfigFilePath()); + const configFileExistenceInfo = project.projectService.ensureParsedConfigUptoDate( + configFileName, + project.canonicalConfigFilePath, + project.projectService.configFileExistenceInfoCache.get(project.canonicalConfigFilePath), + project + ); + const parsedCommandLine = configFileExistenceInfo.config.parsedCommandLine; + project.parsedCommandLine = parsedCommandLine; + project.resolvedChildConfigs = void 0; + project.updateReferences(parsedCommandLine.projectReferences); + if (useConfigFileExistenceInfoForOptimizedLoading(project)) return configFileExistenceInfo; +} +function useConfigFileExistenceInfoForOptimizedLoading(project) { + return !!project.parsedCommandLine && (!!project.parsedCommandLine.options.composite || // If solution, no need to load it to determine if file belongs to it + !!isSolutionConfig(project.parsedCommandLine)); +} +function configFileExistenceInfoForOptimizedReplay(project) { + return useConfigFileExistenceInfoForOptimizedLoading(project) ? project.projectService.configFileExistenceInfoCache.get(project.canonicalConfigFilePath) : void 0; +} function fileOpenReason(info) { return `Creating possible configured project for ${info.fileName} to open`; } @@ -186060,7 +188335,7 @@ var _ProjectService = class _ProjectService { */ this.filenameToScriptInfoVersion = /* @__PURE__ */ new Map(); // Set of all '.js' files ever opened. - this.allJsFilesForOpenFileTelemetry = /* @__PURE__ */ new Map(); + this.allJsFilesForOpenFileTelemetry = /* @__PURE__ */ new Set(); /** * maps external project file name to list of config files that were the part of this project */ @@ -186157,6 +188432,9 @@ var _ProjectService = class _ProjectService { this.toCanonicalFileName = createGetCanonicalFileName(this.host.useCaseSensitiveFileNames); this.globalCacheLocationDirectoryPath = this.typingsInstaller.globalTypingsCacheLocation ? ensureTrailingDirectorySeparator(this.toPath(this.typingsInstaller.globalTypingsCacheLocation)) : void 0; this.throttledOperations = new ThrottledOperations(this.host, this.logger); + this.logger.info(`currentDirectory:: ${this.host.getCurrentDirectory()} useCaseSensitiveFileNames:: ${this.host.useCaseSensitiveFileNames}`); + this.logger.info(`libs Location:: ${getDirectoryPath(this.host.getExecutingFilePath())}`); + this.logger.info(`globalTypingsCacheLocation:: ${this.typingsInstaller.globalTypingsCacheLocation}`); if (this.typesMapLocation) { this.loadTypesMap(); } else { @@ -186169,7 +188447,12 @@ var _ProjectService = class _ProjectService { hostInfo: "Unknown host", extraFileExtensions: [] }; - this.documentRegistry = createDocumentRegistryInternal(this.host.useCaseSensitiveFileNames, this.currentDirectory, this.jsDocParsingMode, this); + this.documentRegistry = createDocumentRegistryInternal( + this.host.useCaseSensitiveFileNames, + this.currentDirectory, + this.jsDocParsingMode, + this + ); const watchLogLevel = this.logger.hasLevel(3 /* verbose */) ? 2 /* Verbose */ : this.logger.loggingEnabled() ? 1 /* TriggerOnly */ : 0 /* None */; const log = watchLogLevel !== 0 /* None */ ? (s) => this.logger.info(s) : noop; this.packageJsonCache = createPackageJsonCache(this); @@ -186456,7 +188739,7 @@ var _ProjectService = class _ProjectService { if ((_a = this.pendingOpenFileProjectUpdates) == null ? void 0 : _a.delete(scriptInfo.path)) { this.tryFindDefaultConfiguredProjectAndLoadAncestorsForOpenScriptInfo( scriptInfo, - 1 /* Create */ + 5 /* Create */ ); if (scriptInfo.isOrphan()) { this.assignOrphanScriptInfoToInferredProject(scriptInfo, this.openFiles.get(scriptInfo.path)); @@ -186671,22 +188954,35 @@ var _ProjectService = class _ProjectService { if (!(configFileExistenceInfo == null ? void 0 : configFileExistenceInfo.config)) return false; let scheduledAnyProjectUpdate = false; configFileExistenceInfo.config.updateLevel = 2 /* Full */; + configFileExistenceInfo.config.cachedDirectoryStructureHost.clearCache(); configFileExistenceInfo.config.projects.forEach((_watchWildcardDirectories, projectCanonicalPath) => { - var _a; + var _a, _b, _c; const project = this.getConfiguredProjectByCanonicalConfigFilePath(projectCanonicalPath); if (!project) return; scheduledAnyProjectUpdate = true; if (projectCanonicalPath === canonicalConfigFilePath) { - if (project.isInitialLoadPending()) return; + if (project.initialLoadPending) return; project.pendingUpdateLevel = 2 /* Full */; project.pendingUpdateReason = loadReason; this.delayUpdateProjectGraph(project); project.markAutoImportProviderAsDirty(); } else { + if (project.initialLoadPending) { + (_b = (_a = this.configFileExistenceInfoCache.get(projectCanonicalPath)) == null ? void 0 : _a.openFilesImpactedByConfigFile) == null ? void 0 : _b.forEach((path2) => { + var _a2; + if (!((_a2 = this.pendingOpenFileProjectUpdates) == null ? void 0 : _a2.has(path2))) { + (this.pendingOpenFileProjectUpdates ?? (this.pendingOpenFileProjectUpdates = /* @__PURE__ */ new Map())).set( + path2, + this.configFileForOpenFiles.get(path2) + ); + } + }); + return; + } const path = this.toPath(canonicalConfigFilePath); project.resolutionCache.removeResolutionsFromProjectReferenceRedirects(path); this.delayUpdateProjectGraph(project); - if (this.getHostPreferences().includeCompletionsForModuleExports && find((_a = project.getCurrentProgram()) == null ? void 0 : _a.getResolvedProjectReferences(), (ref) => (ref == null ? void 0 : ref.sourceFile.path) === path)) { + if (this.getHostPreferences().includeCompletionsForModuleExports && find((_c = project.getCurrentProgram()) == null ? void 0 : _c.getResolvedProjectReferences(), (ref) => (ref == null ? void 0 : ref.sourceFile.path) === path)) { project.markAutoImportProviderAsDirty(); } } @@ -186711,7 +189007,6 @@ var _ProjectService = class _ProjectService { canonicalConfigFilePath, "Change in config file detected" ); - const updatedProjects = new Set(project ? [project] : void 0); this.openFiles.forEach((_projectRootPath, path) => { var _a, _b; const configFileForOpenFile = this.configFileForOpenFiles.get(path); @@ -186724,16 +189019,9 @@ var _ProjectService = class _ProjectService { false ); if (!newConfigFileNameForInfo) return; - const projectForInfo = this.findConfiguredProjectByProjectName(newConfigFileNameForInfo) ?? this.createConfiguredProject( - newConfigFileNameForInfo, - `Change in config file ${configFileName} detected, ${fileOpenReason(info)}` - ); if (!((_b = this.pendingOpenFileProjectUpdates) == null ? void 0 : _b.has(path))) { (this.pendingOpenFileProjectUpdates ?? (this.pendingOpenFileProjectUpdates = /* @__PURE__ */ new Map())).set(path, configFileForOpenFile); } - if (tryAddToSet(updatedProjects, projectForInfo) && projectForInfo.isInitialLoadPending()) { - this.delayUpdateProjectGraph(projectForInfo); - } }); this.delayEnsureProjectForOpenFiles(); } @@ -186905,7 +189193,7 @@ var _ProjectService = class _ProjectService { configFileExists(configFileName, canonicalConfigFilePath, info) { const configFileExistenceInfo = this.configFileExistenceInfoCache.get(canonicalConfigFilePath); let openFilesImpactedByConfigFile; - if (this.openFiles.has(info.path) && !isAncestorConfigFileInfo(info)) { + if (this.openFiles.has(info.path) && (!isAncestorConfigFileInfo(info) || info.isForDefaultProject)) { if (configFileExistenceInfo) (configFileExistenceInfo.openFilesImpactedByConfigFile ?? (configFileExistenceInfo.openFilesImpactedByConfigFile = /* @__PURE__ */ new Set())).add(info.path); else (openFilesImpactedByConfigFile = /* @__PURE__ */ new Set()).add(info.path); } @@ -186927,6 +189215,9 @@ var _ProjectService = class _ProjectService { forProject ); } + this.ensureConfigFileWatcherForProject(configFileExistenceInfo, forProject); + } + ensureConfigFileWatcherForProject(configFileExistenceInfo, forProject) { const projects = configFileExistenceInfo.config.projects; projects.set(forProject.canonicalConfigFilePath, projects.get(forProject.canonicalConfigFilePath) || false); } @@ -186941,7 +189232,7 @@ var _ProjectService = class _ProjectService { Debug.checkDefined(configFileExistenceInfo.watcher); if ((_c = configFileExistenceInfo.openFilesImpactedByConfigFile) == null ? void 0 : _c.size) { if (configFileExistenceInfo.inferredProjectRoots) { - if (!canWatchDirectoryOrFile(getPathComponents(getDirectoryPath(canonicalConfigFilePath)))) { + if (!canWatchDirectoryOrFilePath(getDirectoryPath(canonicalConfigFilePath))) { configFileExistenceInfo.watcher.close(); configFileExistenceInfo.watcher = noopConfigFileWatcher; } @@ -187004,7 +189295,7 @@ var _ProjectService = class _ProjectService { configFileExistenceInfo.inferredProjectRoots = (configFileExistenceInfo.inferredProjectRoots ?? 0) + 1; } (configFileExistenceInfo.openFilesImpactedByConfigFile ?? (configFileExistenceInfo.openFilesImpactedByConfigFile = /* @__PURE__ */ new Set())).add(info.path); - configFileExistenceInfo.watcher || (configFileExistenceInfo.watcher = canWatchDirectoryOrFile(getPathComponents(getDirectoryPath(canonicalConfigFilePath))) ? this.watchFactory.watchFile( + configFileExistenceInfo.watcher || (configFileExistenceInfo.watcher = canWatchDirectoryOrFilePath(getDirectoryPath(canonicalConfigFilePath)) ? this.watchFactory.watchFile( configFileName, (_filename, eventKind) => this.onConfigFileChanged(configFileName, canonicalConfigFilePath, eventKind), 2e3 /* High */, @@ -187032,34 +189323,48 @@ var _ProjectService = class _ProjectService { let searchPath = asNormalizedPath(getDirectoryPath(info.fileName)); const isSearchPathInProjectRoot = () => containsPath(projectRootPath, searchPath, this.currentDirectory, !this.host.useCaseSensitiveFileNames); const anySearchPathOk = !projectRootPath || !isSearchPathInProjectRoot(); - let searchInDirectory = !isAncestorConfigFileInfo(info); + let searchTsconfig = true; + let searchJsconfig = true; + if (isAncestorConfigFileInfo(info)) { + if (endsWith(info.fileName, "tsconfig.json")) searchTsconfig = false; + else searchTsconfig = searchJsconfig = false; + } do { - if (searchInDirectory) { - const canonicalSearchPath = normalizedPathToPath(searchPath, this.currentDirectory, this.toCanonicalFileName); + const canonicalSearchPath = normalizedPathToPath(searchPath, this.currentDirectory, this.toCanonicalFileName); + if (searchTsconfig) { const tsconfigFileName = asNormalizedPath(combinePaths(searchPath, "tsconfig.json")); - let result = action(combinePaths(canonicalSearchPath, "tsconfig.json"), tsconfigFileName); + const result = action(combinePaths(canonicalSearchPath, "tsconfig.json"), tsconfigFileName); if (result) return tsconfigFileName; + } + if (searchJsconfig) { const jsconfigFileName = asNormalizedPath(combinePaths(searchPath, "jsconfig.json")); - result = action(combinePaths(canonicalSearchPath, "jsconfig.json"), jsconfigFileName); + const result = action(combinePaths(canonicalSearchPath, "jsconfig.json"), jsconfigFileName); if (result) return jsconfigFileName; - if (isNodeModulesDirectory(canonicalSearchPath)) { - break; - } + } + if (isNodeModulesDirectory(canonicalSearchPath)) { + break; } const parentPath = asNormalizedPath(getDirectoryPath(searchPath)); if (parentPath === searchPath) break; searchPath = parentPath; - searchInDirectory = true; + searchTsconfig = searchJsconfig = true; } while (anySearchPathOk || isSearchPathInProjectRoot()); return void 0; } /** @internal */ findDefaultConfiguredProject(info) { var _a; - return info.isScriptOpen() ? (_a = this.tryFindDefaultConfiguredProjectForOpenScriptInfo( + return (_a = this.findDefaultConfiguredProjectWorker( info, - 0 /* Find */ - )) == null ? void 0 : _a.defaultProject : void 0; + 1 /* Find */ + )) == null ? void 0 : _a.defaultProject; + } + /** @internal */ + findDefaultConfiguredProjectWorker(info, kind) { + return info.isScriptOpen() ? this.tryFindDefaultConfiguredProjectForOpenScriptInfo( + info, + kind + ) : void 0; } /** Get cached configFileName for scriptInfo or ancestor of open script info */ getConfigFileNameForFileFromCache(info, lookInPendingFilesForValue) { @@ -187072,8 +189377,19 @@ var _ProjectService = class _ProjectService { /** Caches the configFilename for script info or ancestor of open script info */ setConfigFileNameForFileInCache(info, configFileName) { if (!this.openFiles.has(info.path)) return; - if (isAncestorConfigFileInfo(info)) return; - this.configFileForOpenFiles.set(info.path, configFileName || false); + const config = configFileName || false; + if (!isAncestorConfigFileInfo(info)) { + this.configFileForOpenFiles.set(info.path, config); + } else { + let configFileForOpenFile = this.configFileForOpenFiles.get(info.path); + if (!configFileForOpenFile || isString(configFileForOpenFile)) { + this.configFileForOpenFiles.set( + info.path, + configFileForOpenFile = (/* @__PURE__ */ new Map()).set(false, configFileForOpenFile) + ); + } + configFileForOpenFile.set(info.fileName, config); + } } /** * This function tries to search for a tsconfig.json for the given file. @@ -187153,7 +189469,6 @@ var _ProjectService = class _ProjectService { const project = new ExternalProject( projectFileName, this, - this.documentRegistry, compilerOptions, /*lastFileExceededProgramSize*/ this.getFilenameForExceededTotalSizeLimitForNonTsFiles(projectFileName, compilerOptions, files, externalFilePropertyReader), @@ -187224,7 +189539,6 @@ var _ProjectService = class _ProjectService { createConfiguredProject(configFileName, reason) { var _a; (_a = tracing) == null ? void 0 : _a.instant(tracing.Phase.Session, "createConfiguredProject", { configFilePath: configFileName }); - this.logger.info(`Creating configuration project ${configFileName}`); const canonicalConfigFilePath = asNormalizedPath(this.toCanonicalFileName(configFileName)); let configFileExistenceInfo = this.configFileExistenceInfoCache.get(canonicalConfigFilePath); if (!configFileExistenceInfo) { @@ -187243,7 +189557,6 @@ var _ProjectService = class _ProjectService { configFileName, canonicalConfigFilePath, this, - this.documentRegistry, configFileExistenceInfo.config.cachedDirectoryStructureHost, reason ); @@ -187259,7 +189572,7 @@ var _ProjectService = class _ProjectService { var _a, _b; (_a = tracing) == null ? void 0 : _a.push(tracing.Phase.Session, "loadConfiguredProject", { configFilePath: project.canonicalConfigFilePath }); this.sendProjectLoadingStartEvent(project, reason); - const configFilename = asNormalizedPath(normalizePath(project.getConfigFilePath())); + const configFilename = toNormalizedPath(project.getConfigFilePath()); const configFileExistenceInfo = this.ensureParsedConfigUptoDate( configFilename, project.canonicalConfigFilePath, @@ -187277,7 +189590,7 @@ var _ProjectService = class _ProjectService { configHasExcludeProperty: parsedCommandLine.raw.exclude !== void 0 }; } - project.canConfigFileJsonReportNoInputFiles = canJsonReportNoInputFiles(parsedCommandLine.raw); + project.parsedCommandLine = parsedCommandLine; project.setProjectErrors(parsedCommandLine.options.configFile.parseDiagnostics); project.updateReferences(parsedCommandLine.projectReferences); const lastFileExceededProgramSize = this.getFilenameForExceededTotalSizeLimitForNonTsFiles(project.canonicalConfigFilePath, compilerOptions, parsedCommandLine.fileNames, fileNamePropertyReader); @@ -187299,12 +189612,19 @@ var _ProjectService = class _ProjectService { ensureParsedConfigUptoDate(configFilename, canonicalConfigFilePath, configFileExistenceInfo, forProject) { var _a, _b, _c; if (configFileExistenceInfo.config) { - if (!configFileExistenceInfo.config.updateLevel) return configFileExistenceInfo; if (configFileExistenceInfo.config.updateLevel === 1 /* RootNamesAndUpdate */) { this.reloadFileNamesOfParsedConfig(configFilename, configFileExistenceInfo.config); + } + if (!configFileExistenceInfo.config.updateLevel) { + this.ensureConfigFileWatcherForProject(configFileExistenceInfo, forProject); return configFileExistenceInfo; } } + if (!configFileExistenceInfo.exists && configFileExistenceInfo.config) { + configFileExistenceInfo.config.updateLevel = void 0; + this.ensureConfigFileWatcherForProject(configFileExistenceInfo, forProject); + return configFileExistenceInfo; + } const cachedDirectoryStructureHost = ((_a = configFileExistenceInfo.config) == null ? void 0 : _a.cachedDirectoryStructureHost) || createCachedDirectoryStructureHost(this.host, this.host.getCurrentDirectory(), this.host.useCaseSensitiveFileNames); const configFileContent = tryReadFile(configFilename, (fileName) => this.host.readFile(fileName)); const configFile = parseJsonText(configFilename, isString(configFileContent) ? configFileContent : ""); @@ -187499,14 +189819,18 @@ var _ProjectService = class _ProjectService { * @internal */ reloadFileNamesOfConfiguredProject(project) { - const fileNames = this.reloadFileNamesOfParsedConfig(project.getConfigFilePath(), this.configFileExistenceInfoCache.get(project.canonicalConfigFilePath).config); - project.updateErrorOnNoInputFiles(fileNames); - this.updateNonInferredProjectFiles(project, fileNames.concat(project.getExternalFiles(1 /* RootNamesAndUpdate */)), fileNamePropertyReader); + const config = this.reloadFileNamesOfParsedConfig(project.getConfigFilePath(), this.configFileExistenceInfoCache.get(project.canonicalConfigFilePath).config); + project.updateErrorOnNoInputFiles(config); + this.updateNonInferredProjectFiles( + project, + config.fileNames.concat(project.getExternalFiles(1 /* RootNamesAndUpdate */)), + fileNamePropertyReader + ); project.markAsDirty(); return project.updateGraph(); } reloadFileNamesOfParsedConfig(configFileName, config) { - if (config.updateLevel === void 0) return config.parsedCommandLine.fileNames; + if (config.updateLevel === void 0) return config.parsedCommandLine; Debug.assert(config.updateLevel === 1 /* RootNamesAndUpdate */); const configFileSpecs = config.parsedCommandLine.options.configFile.configFileSpecs; const fileNames = getFileNamesFromConfigSpecs( @@ -187517,30 +189841,42 @@ var _ProjectService = class _ProjectService { this.hostConfiguration.extraFileExtensions ); config.parsedCommandLine = { ...config.parsedCommandLine, fileNames }; - return fileNames; + config.updateLevel = void 0; + return config.parsedCommandLine; } /** @internal */ - setFileNamesOfAutpImportProviderOrAuxillaryProject(project, fileNames) { + setFileNamesOfAutoImportProviderOrAuxillaryProject(project, fileNames) { this.updateNonInferredProjectFiles(project, fileNames, fileNamePropertyReader); } /** @internal */ + reloadConfiguredProjectOptimized(project, reason, reloadedProjects) { + if (reloadedProjects.has(project)) return; + reloadedProjects.set(project, 6 /* ReloadOptimized */); + if (!project.initialLoadPending) { + this.setProjectForReload(project, 2 /* Full */, reason); + } + } + /** @internal */ reloadConfiguredProjectClearingSemanticCache(project, reason, reloadedProjects) { - if (!tryAddToSet(reloadedProjects, project)) return false; + if (reloadedProjects.get(project) === 7 /* Reload */) return false; + reloadedProjects.set(project, 7 /* Reload */); this.clearSemanticCache(project); this.reloadConfiguredProject(project, reloadReason(reason)); return true; } + setProjectForReload(project, updateLevel, reason) { + if (updateLevel === 2 /* Full */) this.clearSemanticCache(project); + project.pendingUpdateReason = reason && reloadReason(reason); + project.pendingUpdateLevel = updateLevel; + } /** * Read the config file of the project again by clearing the cache and update the project graph * * @internal */ reloadConfiguredProject(project, reason) { - project.isInitialLoadPending = returnFalse; - project.pendingUpdateReason = void 0; - project.pendingUpdateLevel = 0 /* Update */; - const host = project.getCachedDirectoryStructureHost(); - host.clearCache(); + project.initialLoadPending = false; + this.setProjectForReload(project, 0 /* Update */); this.loadConfiguredProject(project, reason); updateWithTriggerFile( project, @@ -187610,9 +189946,11 @@ var _ProjectService = class _ProjectService { return this.inferredProjects[0]; } return this.createInferredProject( - "", + this.currentDirectory, /*isSingleInferredProject*/ - true + true, + /*projectRootPath*/ + void 0 ); } getOrCreateSingleInferredWithoutProjectRoot(currentDirectory) { @@ -187623,7 +189961,13 @@ var _ProjectService = class _ProjectService { return inferredProject; } } - return this.createInferredProject(currentDirectory); + return this.createInferredProject( + currentDirectory, + /*isSingleInferredProject*/ + false, + /*projectRootPath*/ + void 0 + ); } createInferredProject(currentDirectory, isSingleInferredProject, projectRootPath) { const compilerOptions = projectRootPath && this.compilerOptionsForInferredProjectsPerProjectRoot.get(projectRootPath) || this.compilerOptionsForInferredProjects; @@ -187640,7 +189984,14 @@ var _ProjectService = class _ProjectService { typeAcquisition = this.typeAcquisitionForInferredProjects; } watchOptionsAndErrors = watchOptionsAndErrors || void 0; - const project = new InferredProject2(this, this.documentRegistry, compilerOptions, watchOptionsAndErrors == null ? void 0 : watchOptionsAndErrors.watchOptions, projectRootPath, currentDirectory, typeAcquisition); + const project = new InferredProject2( + this, + compilerOptions, + watchOptionsAndErrors == null ? void 0 : watchOptionsAndErrors.watchOptions, + projectRootPath, + currentDirectory, + typeAcquisition + ); project.setProjectErrors(watchOptionsAndErrors == null ? void 0 : watchOptionsAndErrors.errors); if (isSingleInferredProject) { this.inferredProjects.unshift(project); @@ -188171,25 +190522,23 @@ Dynamic files must always be opened with service's current directory or service this.pendingOpenFileProjectUpdates = void 0; this.pendingEnsureProjectForOpenFiles = false; this.configFileExistenceInfoCache.forEach((info) => { - if (info.config) info.config.updateLevel = 2 /* Full */; + if (info.config) { + info.config.updateLevel = 2 /* Full */; + info.config.cachedDirectoryStructureHost.clearCache(); + } }); this.configFileForOpenFiles.clear(); this.externalProjects.forEach((project) => { this.clearSemanticCache(project); project.updateGraph(); }); - const reloadedConfiguredProjects = /* @__PURE__ */ new Set(); + const reloadedConfiguredProjects = /* @__PURE__ */ new Map(); const delayReloadedConfiguredProjects = /* @__PURE__ */ new Set(); this.externalProjectToConfiguredProjectMap.forEach((projects, externalProjectName) => { const reason = `Reloading configured project in external project: ${externalProjectName}`; projects.forEach((project) => { if (this.getHostPreferences().lazyConfiguredProjectsFromExternalProject) { - if (!project.isInitialLoadPending()) { - this.clearSemanticCache(project); - project.pendingUpdateLevel = 2 /* Full */; - project.pendingUpdateReason = reloadReason(reason); - } - delayReloadedConfiguredProjects.add(project); + this.reloadConfiguredProjectOptimized(project, reason, reloadedConfiguredProjects); } else { this.reloadConfiguredProjectClearingSemanticCache( project, @@ -188204,12 +190553,12 @@ Dynamic files must always be opened with service's current directory or service if (find(info.containingProjects, isExternalProject)) return; this.tryFindDefaultConfiguredProjectAndLoadAncestorsForOpenScriptInfo( info, - 2 /* Reload */, + 7 /* Reload */, reloadedConfiguredProjects, delayReloadedConfiguredProjects ); }); - delayReloadedConfiguredProjects.forEach((p) => reloadedConfiguredProjects.add(p)); + delayReloadedConfiguredProjects.forEach((p) => reloadedConfiguredProjects.set(p, 7 /* Reload */)); this.inferredProjects.forEach((project) => this.clearSemanticCache(project)); this.ensureProjectForOpenFiles(); this.cleanupProjectsAndScriptInfos( @@ -188251,7 +190600,7 @@ Dynamic files must always be opened with service's current directory or service pendingOpenFileProjectUpdates == null ? void 0 : pendingOpenFileProjectUpdates.forEach( (_config, path) => this.tryFindDefaultConfiguredProjectAndLoadAncestorsForOpenScriptInfo( this.getScriptInfoForPath(path), - 1 /* Create */ + 5 /* Create */ ) ); this.openFiles.forEach((projectRootPath, path) => { @@ -188307,23 +190656,18 @@ Dynamic files must always be opened with service's current directory or service } configuredProject = this.createConfiguredProject(configFileName, `Creating project for original file: ${originalFileInfo.fileName}${location !== originalLocation ? " for location: " + location.fileName : ""}`); } - updateProjectIfDirty(configuredProject); - const projectContainsOriginalInfo = (project2) => { - const info = this.getScriptInfo(fileName); - return info && project2.containsScriptInfo(info) && !project2.isSourceOfProjectReferenceRedirect(info.path); - }; - if (configuredProject.isSolution() || !projectContainsOriginalInfo(configuredProject)) { - configuredProject = forEachResolvedProjectReferenceProject( + const result = this.tryFindDefaultConfiguredProjectForOpenScriptInfoOrClosedFileInfo( + originalFileInfo, + 5 /* Create */, + updateProjectFoundUsingFind( configuredProject, - fileName, - (child) => projectContainsOriginalInfo(child) ? child : void 0, - 1 /* Create */, - `Creating project referenced in solution ${configuredProject.projectName} to find possible configured project for original file: ${originalFileInfo.fileName}${location !== originalLocation ? " for location: " + location.fileName : ""}` - ); - if (!configuredProject) return void 0; - if (configuredProject === project) return originalLocation; - } - addOriginalConfiguredProject(configuredProject); + 4 /* CreateOptimized */ + ), + (project2) => `Creating project referenced in solution ${project2.projectName} to find possible configured project for original file: ${originalFileInfo.fileName}${location !== originalLocation ? " for location: " + location.fileName : ""}` + ); + if (!result.defaultProject) return void 0; + if (result.defaultProject === project) return originalLocation; + addOriginalConfiguredProject(result.defaultProject); const originalScriptInfo = this.getScriptInfo(fileName); if (!originalScriptInfo || !originalScriptInfo.containingProjects.length) return void 0; originalScriptInfo.containingProjects.forEach((project2) => { @@ -188372,7 +190716,7 @@ Dynamic files must always be opened with service's current directory or service if (!project && this.serverMode === 0 /* Semantic */) { const result = this.tryFindDefaultConfiguredProjectAndLoadAncestorsForOpenScriptInfo( info, - 1 /* Create */ + 5 /* Create */ ); if (result) { retainProjects = result.seenProjects; @@ -188385,8 +190729,8 @@ Dynamic files must always be opened with service's current directory or service } info.containingProjects.forEach(updateProjectIfDirty); if (info.isOrphan()) { - retainProjects == null ? void 0 : retainProjects.forEach((project2) => { - if (!sentConfigDiag.has(project2)) this.sendConfigFileDiagEvent( + retainProjects == null ? void 0 : retainProjects.forEach((kind, project2) => { + if (kind !== 4 /* CreateOptimized */ && !sentConfigDiag.has(project2)) this.sendConfigFileDiagEvent( project2, info.fileName, /*force*/ @@ -188406,30 +190750,49 @@ Dynamic files must always be opened with service's current directory or service * - Reload - if the project doesnt exist, it creates one. If not delayLoad, the project is reloaded clearing semantic cache * @internal */ - findCreateOrReloadConfiguredProject(configFileName, kind, reason, allowDeferredClosed, triggerFile, reloadedProjects, delayLoad, delayReloadedConfiguredProjects) { - let project = this.findConfiguredProjectByProjectName(configFileName, allowDeferredClosed); + findCreateOrReloadConfiguredProject(configFileName, kind, reason, allowDeferredClosed, triggerFile, reloadedProjects, delayLoad, delayReloadedConfiguredProjects, projectForConfigFile) { + let project = projectForConfigFile ?? this.findConfiguredProjectByProjectName(configFileName, allowDeferredClosed); let sentConfigFileDiag = false; + let configFileExistenceInfo; switch (kind) { - case 0 /* Find */: + case 0 /* FindOptimized */: + case 1 /* Find */: + case 3 /* CreateReplay */: if (!project) return; break; - case 1 /* Create */: + case 2 /* CreateReplayOptimized */: + if (!project) return; + configFileExistenceInfo = configFileExistenceInfoForOptimizedReplay(project); + break; + case 4 /* CreateOptimized */: + case 5 /* Create */: project ?? (project = this.createConfiguredProject(configFileName, reason)); - sentConfigFileDiag = !delayLoad && updateConfiguredProject(project, triggerFile); + if (!delayLoad) { + ({ sentConfigFileDiag, configFileExistenceInfo } = updateProjectFoundUsingFind( + project, + kind, + triggerFile + )); + } break; - case 2 /* Reload */: + case 6 /* ReloadOptimized */: + project ?? (project = this.createConfiguredProject(configFileName, reloadReason(reason))); + project.projectService.reloadConfiguredProjectOptimized(project, reason, reloadedProjects); + configFileExistenceInfo = configFileExistenceInfoForOptimizedLoading(project); + if (configFileExistenceInfo) break; + // falls through + case 7 /* Reload */: project ?? (project = this.createConfiguredProject(configFileName, reloadReason(reason))); sentConfigFileDiag = !delayReloadedConfiguredProjects && this.reloadConfiguredProjectClearingSemanticCache(project, reason, reloadedProjects); if (delayReloadedConfiguredProjects && !delayReloadedConfiguredProjects.has(project) && !reloadedProjects.has(project)) { - project.pendingUpdateLevel = 2 /* Full */; - project.pendingUpdateReason = reloadReason(reason); + this.setProjectForReload(project, 2 /* Full */, reason); delayReloadedConfiguredProjects.add(project); } break; default: Debug.assertNever(kind); } - return { project, sentConfigFileDiag }; + return { project, sentConfigFileDiag, configFileExistenceInfo, reason }; } /** * Finds the default configured project for given info @@ -188437,54 +190800,167 @@ Dynamic files must always be opened with service's current directory or service * The search happens for all tsconfigs till projectRootPath */ tryFindDefaultConfiguredProjectForOpenScriptInfo(info, kind, allowDeferredClosed, reloadedProjects) { - const configFileName = this.getConfigFileNameForFile(info, kind === 0 /* Find */); + const configFileName = this.getConfigFileNameForFile(info, kind <= 3 /* CreateReplay */); if (!configFileName) return; + const optimizedKind = toConfiguredProjectLoadOptimized(kind); const result = this.findCreateOrReloadConfiguredProject( configFileName, - kind, + optimizedKind, fileOpenReason(info), allowDeferredClosed, info.fileName, reloadedProjects ); - if (!result) return; - const seenProjects = /* @__PURE__ */ new Set(); - const sentConfigDiag = new Set(result.sentConfigFileDiag ? [result.project] : void 0); + return result && this.tryFindDefaultConfiguredProjectForOpenScriptInfoOrClosedFileInfo( + info, + kind, + result, + (project) => `Creating project referenced in solution ${project.projectName} to find possible configured project for ${info.fileName} to open`, + allowDeferredClosed, + reloadedProjects + ); + } + isMatchedByConfig(configFileName, config, info) { + if (config.fileNames.some((rootName) => this.toPath(rootName) === info.path)) return true; + if (isSupportedSourceFileName( + info.fileName, + config.options, + this.hostConfiguration.extraFileExtensions + )) return false; + const { validatedFilesSpec, validatedIncludeSpecs, validatedExcludeSpecs } = config.options.configFile.configFileSpecs; + const basePath = toNormalizedPath(getNormalizedAbsolutePath(getDirectoryPath(configFileName), this.currentDirectory)); + if (validatedFilesSpec == null ? void 0 : validatedFilesSpec.some((fileSpec) => this.toPath(getNormalizedAbsolutePath(fileSpec, basePath)) === info.path)) return true; + if (!(validatedIncludeSpecs == null ? void 0 : validatedIncludeSpecs.length)) return false; + if (matchesExcludeWorker( + info.fileName, + validatedExcludeSpecs, + this.host.useCaseSensitiveFileNames, + this.currentDirectory, + basePath + )) return false; + return validatedIncludeSpecs == null ? void 0 : validatedIncludeSpecs.some((includeSpec) => { + const pattern = getPatternFromSpec(includeSpec, basePath, "files"); + return !!pattern && getRegexFromPattern(`(${pattern})$`, this.host.useCaseSensitiveFileNames).test(info.fileName); + }); + } + tryFindDefaultConfiguredProjectForOpenScriptInfoOrClosedFileInfo(info, kind, initialConfigResult, referencedProjectReason, allowDeferredClosed, reloadedProjects) { + const infoIsOpenScriptInfo = isOpenScriptInfo(info); + const optimizedKind = toConfiguredProjectLoadOptimized(kind); + const seenProjects = /* @__PURE__ */ new Map(); + let seenConfigs; + const sentConfigDiag = /* @__PURE__ */ new Set(); let defaultProject; let possiblyDefault; - tryFindDefaultConfiguredProject(result.project); + let tsconfigOfDefault; + let tsconfigOfPossiblyDefault; + tryFindDefaultConfiguredProject(initialConfigResult); return { defaultProject: defaultProject ?? possiblyDefault, + tsconfigProject: tsconfigOfDefault ?? tsconfigOfPossiblyDefault, sentConfigDiag, - seenProjects + seenProjects, + seenConfigs }; - function tryFindDefaultConfiguredProject(project) { - return isDefaultProject(project) ? defaultProject : tryFindDefaultConfiguredProjectFromReferences(project); - } - function isDefaultProject(project) { - if (!tryAddToSet(seenProjects, project)) return; - const projectWithInfo = project.containsScriptInfo(info); - if (projectWithInfo && !project.isSourceOfProjectReferenceRedirect(info.path)) return defaultProject = project; - possiblyDefault ?? (possiblyDefault = projectWithInfo ? project : void 0); + function tryFindDefaultConfiguredProject(result) { + return isDefaultProjectOptimized(result, result.project) ?? tryFindDefaultConfiguredProjectFromReferences(result.project) ?? tryFindDefaultConfiguredProjectFromAncestor(result.project); } - function tryFindDefaultConfiguredProjectFromReferences(project) { - return forEachResolvedProjectReferenceProject( + function isDefaultConfigFileExistenceInfo(configFileExistenceInfo, project, childConfigName, reason, tsconfigProject, canonicalConfigFilePath) { + if (project) { + if (seenProjects.has(project)) return; + seenProjects.set(project, optimizedKind); + } else { + if (seenConfigs == null ? void 0 : seenConfigs.has(canonicalConfigFilePath)) return; + (seenConfigs ?? (seenConfigs = /* @__PURE__ */ new Set())).add(canonicalConfigFilePath); + } + if (!tsconfigProject.projectService.isMatchedByConfig( + childConfigName, + configFileExistenceInfo.config.parsedCommandLine, + info + )) { + if (tsconfigProject.languageServiceEnabled) { + tsconfigProject.projectService.watchWildcards( + childConfigName, + configFileExistenceInfo, + tsconfigProject + ); + } + return; + } + const result = project ? updateProjectFoundUsingFind( project, - info.path, - (child, sentConfigFileDiag) => { - if (sentConfigFileDiag) sentConfigDiag.add(child); - return isDefaultProject(child); - }, kind, - `Creating project referenced in solution ${project.projectName} to find possible configured project for ${info.fileName} to open`, + info.fileName, + reason, + reloadedProjects + ) : tsconfigProject.projectService.findCreateOrReloadConfiguredProject( + childConfigName, + kind, + reason, allowDeferredClosed, info.fileName, reloadedProjects ); + if (!result) { + Debug.assert(kind === 3 /* CreateReplay */); + return void 0; + } + seenProjects.set(result.project, optimizedKind); + if (result.sentConfigFileDiag) sentConfigDiag.add(result.project); + return isDefaultProject(result.project, tsconfigProject); + } + function isDefaultProject(project, tsconfigProject) { + if (seenProjects.get(project) === kind) return; + seenProjects.set(project, kind); + const scriptInfo = infoIsOpenScriptInfo ? info : project.projectService.getScriptInfo(info.fileName); + const projectWithInfo = scriptInfo && project.containsScriptInfo(scriptInfo); + if (projectWithInfo && !project.isSourceOfProjectReferenceRedirect(scriptInfo.path)) { + tsconfigOfDefault = tsconfigProject; + return defaultProject = project; + } + if (!possiblyDefault && infoIsOpenScriptInfo && projectWithInfo) { + tsconfigOfPossiblyDefault = tsconfigProject; + possiblyDefault = project; + } + } + function isDefaultProjectOptimized(result, tsconfigProject) { + if (result.sentConfigFileDiag) sentConfigDiag.add(result.project); + return result.configFileExistenceInfo ? isDefaultConfigFileExistenceInfo( + result.configFileExistenceInfo, + result.project, + toNormalizedPath(result.project.getConfigFilePath()), + result.reason, + result.project, + result.project.canonicalConfigFilePath + ) : isDefaultProject(result.project, tsconfigProject); + } + function tryFindDefaultConfiguredProjectFromReferences(project) { + return project.parsedCommandLine && forEachResolvedProjectReferenceProjectLoad( + project, + project.parsedCommandLine, + isDefaultConfigFileExistenceInfo, + optimizedKind, + referencedProjectReason(project), + allowDeferredClosed, + reloadedProjects + ); + } + function tryFindDefaultConfiguredProjectFromAncestor(project) { + return infoIsOpenScriptInfo ? forEachAncestorProjectLoad( + // If not in referenced projects, try ancestors and its references + info, + project, + tryFindDefaultConfiguredProject, + optimizedKind, + `Creating possible configured project for ${info.fileName} to open`, + allowDeferredClosed, + reloadedProjects, + /*searchOnlyPotentialSolution*/ + false + ) : void 0; } } tryFindDefaultConfiguredProjectAndLoadAncestorsForOpenScriptInfo(info, kind, reloadedProjects, delayReloadedConfiguredProjects) { - const allowDeferredClosed = kind === 0 /* Find */; + const allowDeferredClosed = kind === 1 /* Find */; const result = this.tryFindDefaultConfiguredProjectForOpenScriptInfo( info, kind, @@ -188492,18 +190968,20 @@ Dynamic files must always be opened with service's current directory or service reloadedProjects ); if (!result) return; - const { defaultProject, seenProjects } = result; + const { defaultProject, tsconfigProject, seenProjects } = result; if (defaultProject) { - forEachAncestorProject( + forEachAncestorProjectLoad( info, - defaultProject, + tsconfigProject, (ancestor) => { - seenProjects.add(ancestor); + seenProjects.set(ancestor.project, kind); }, kind, `Creating project possibly referencing default composite project ${defaultProject.getProjectName()} of open file ${info.fileName}`, allowDeferredClosed, reloadedProjects, + /*searchOnlyPotentialSolution*/ + true, delayReloadedConfiguredProjects ); } @@ -188512,7 +190990,7 @@ Dynamic files must always be opened with service's current directory or service /** @internal */ loadAncestorProjectTree(forProjects) { forProjects ?? (forProjects = new Set( - mapDefinedIterator(this.configuredProjects.entries(), ([key, project]) => !project.isInitialLoadPending() ? key : void 0) + mapDefinedIterator(this.configuredProjects.entries(), ([key, project]) => !project.initialLoadPending ? key : void 0) )); const seenProjects = /* @__PURE__ */ new Set(); const currentConfiguredProjects = arrayFrom(this.configuredProjects.values()); @@ -188618,7 +191096,8 @@ Dynamic files must always be opened with service's current directory or service ); } }; - toRetainConfiguredProjects == null ? void 0 : toRetainConfiguredProjects.forEach(retainConfiguredProject); + toRetainConfiguredProjects == null ? void 0 : toRetainConfiguredProjects.forEach((_, project) => retainConfiguredProject(project)); + if (!toRemoveConfiguredProjects.size) return toRemoveConfiguredProjects; this.inferredProjects.forEach(markOriginalProjectsAsUsed); this.externalProjects.forEach(markOriginalProjectsAsUsed); this.externalProjectToConfiguredProjectMap.forEach((projects, externalProjectName) => { @@ -188626,22 +191105,26 @@ Dynamic files must always be opened with service's current directory or service projects.forEach(retainConfiguredProject); } }); - this.openFiles.forEach((_projectRootPath, path) => { + if (!toRemoveConfiguredProjects.size) return toRemoveConfiguredProjects; + forEachEntry(this.openFiles, (_projectRootPath, path) => { if (openFilesWithRetainedConfiguredProject == null ? void 0 : openFilesWithRetainedConfiguredProject.has(path)) return; const info = this.getScriptInfoForPath(path); if (find(info.containingProjects, isExternalProject)) return; const result = this.tryFindDefaultConfiguredProjectAndLoadAncestorsForOpenScriptInfo( info, - 0 /* Find */ + 1 /* Find */ ); if (result == null ? void 0 : result.defaultProject) { - result == null ? void 0 : result.seenProjects.forEach(retainConfiguredProject); + result == null ? void 0 : result.seenProjects.forEach((_, project) => retainConfiguredProject(project)); + if (!toRemoveConfiguredProjects.size) return toRemoveConfiguredProjects; } }); - this.configuredProjects.forEach((project) => { + if (!toRemoveConfiguredProjects.size) return toRemoveConfiguredProjects; + forEachEntry(this.configuredProjects, (project) => { if (toRemoveConfiguredProjects.has(project)) { if (isPendingUpdate(project) || forEachReferencedProject(project, isRetained)) { retainConfiguredProject(project); + if (!toRemoveConfiguredProjects.size) return toRemoveConfiguredProjects; } } }); @@ -188663,7 +191146,7 @@ Dynamic files must always be opened with service's current directory or service const toRemoveScriptInfos = new Map(this.filenameToScriptInfo); this.filenameToScriptInfo.forEach((info) => { if (info.deferredDelete) return; - if (!info.isScriptOpen() && info.isOrphan() && !info.isContainedByBackgroundProject()) { + if (!info.isScriptOpen() && info.isOrphan() && !scriptInfoIsContainedByDeferredClosedProject(info) && !scriptInfoIsContainedByBackgroundProject(info)) { if (!info.sourceMapFilePath) return; let sourceInfos; if (isString(info.sourceMapFilePath)) { @@ -188781,10 +191264,14 @@ Dynamic files must always be opened with service's current directory or service existingOpenScriptInfos, (existing, index) => !existing && openScriptInfos[index] && !openScriptInfos[index].isDynamic ? this.tryInvokeWildCardDirectories(openScriptInfos[index]) : void 0 ); - openScriptInfos == null ? void 0 : openScriptInfos.forEach((info) => { - var _a; - return (_a = this.assignProjectToOpenedScriptInfo(info).retainProjects) == null ? void 0 : _a.forEach((p) => (retainProjects ?? (retainProjects = /* @__PURE__ */ new Set())).add(p)); - }); + openScriptInfos == null ? void 0 : openScriptInfos.forEach( + (info) => { + var _a; + return (_a = this.assignProjectToOpenedScriptInfo(info).retainProjects) == null ? void 0 : _a.forEach( + (kind, p) => (retainProjects ?? (retainProjects = /* @__PURE__ */ new Map())).set(p, kind) + ); + } + ); if (assignOrphanScriptInfosToInferredProject) { this.assignOrphanScriptInfosToInferredProject(); } @@ -189000,7 +191487,7 @@ Dynamic files must always be opened with service's current directory or service if (cleanupAfter) { this.cleanupConfiguredProjects( configuredProjects, - new Set(proj.projectFileName) + /* @__PURE__ */ new Set([proj.projectFileName]) ); this.printProjects(); } @@ -189138,9 +191625,11 @@ Dynamic files must always be opened with service's current directory or service const result = []; const processDirectory = (directory) => { switch (packageJsonCache.directoryHasPackageJson(directory)) { + // Sync and check same directory again case 3 /* Maybe */: - packageJsonCache.searchDirectoryAndAncestors(directory); + packageJsonCache.searchDirectoryAndAncestors(directory, project); return processDirectory(directory); + // Check package.json case -1 /* True */: const packageJsonFileName = combinePaths(directory, "package.json"); this.watchPackageJsonFile(packageJsonFileName, this.toPath(packageJsonFileName), project); @@ -189151,21 +191640,29 @@ Dynamic files must always be opened with service's current directory or service return true; } }; - forEachAncestorDirectory(getDirectoryPath(fileName), processDirectory); + forEachAncestorDirectoryStoppingAtGlobalCache( + project, + getDirectoryPath(fileName), + processDirectory + ); return result; } /** @internal */ - getNearestAncestorDirectoryWithPackageJson(fileName) { - return forEachAncestorDirectory(fileName, (directory) => { - switch (this.packageJsonCache.directoryHasPackageJson(directory)) { - case -1 /* True */: - return directory; - case 0 /* False */: - return void 0; - case 3 /* Maybe */: - return this.host.fileExists(combinePaths(directory, "package.json")) ? directory : void 0; + getNearestAncestorDirectoryWithPackageJson(fileName, project) { + return forEachAncestorDirectoryStoppingAtGlobalCache( + project, + fileName, + (directory) => { + switch (this.packageJsonCache.directoryHasPackageJson(directory)) { + case -1 /* True */: + return directory; + case 0 /* False */: + return void 0; + case 3 /* Maybe */: + return this.host.fileExists(combinePaths(directory, "package.json")) ? directory : void 0; + } } - }); + ); } watchPackageJsonFile(file, path, project) { Debug.assert(project !== void 0); @@ -189378,19 +191875,23 @@ function createPackageJsonCache(host) { return packageJsons.get(host.toPath(combinePaths(directory, "package.json"))) || void 0; }, directoryHasPackageJson: (directory) => directoryHasPackageJson(host.toPath(directory)), - searchDirectoryAndAncestors: (directory) => { - forEachAncestorDirectory(directory, (ancestor) => { - const ancestorPath = host.toPath(ancestor); - if (directoryHasPackageJson(ancestorPath) !== 3 /* Maybe */) { - return true; - } - const packageJsonFileName = combinePaths(ancestor, "package.json"); - if (tryFileExists(host, packageJsonFileName)) { - addOrUpdate(packageJsonFileName, combinePaths(ancestorPath, "package.json")); - } else { - directoriesWithoutPackageJson.set(ancestorPath, true); + searchDirectoryAndAncestors: (directory, project) => { + forEachAncestorDirectoryStoppingAtGlobalCache( + project, + directory, + (ancestor) => { + const ancestorPath = host.toPath(ancestor); + if (directoryHasPackageJson(ancestorPath) !== 3 /* Maybe */) { + return true; + } + const packageJsonFileName = combinePaths(ancestor, "package.json"); + if (tryFileExists(host, packageJsonFileName)) { + addOrUpdate(packageJsonFileName, combinePaths(ancestorPath, "package.json")); + } else { + directoriesWithoutPackageJson.set(ancestorPath, true); + } } - }); + ); } }; function addOrUpdate(fileName, path) { @@ -189611,8 +192112,13 @@ function getRenameLocationsWorker(projects, defaultProject, initialLocation, fin projects, defaultProject, initialLocation, - /*isForRename*/ - true, + getDefinitionLocation( + defaultProject, + initialLocation, + /*isForRename*/ + true + ), + mapDefinitionInProject, (project, position) => project.getLanguageService().findRenameLocations(position.fileName, position.pos, findInStrings, findInComments, preferences), (renameLocation, cb) => cb(documentSpanLocation(renameLocation)) ); @@ -189649,8 +192155,13 @@ function getReferencesWorker(projects, defaultProject, initialLocation, useCaseS projects, defaultProject, initialLocation, - /*isForRename*/ - false, + getDefinitionLocation( + defaultProject, + initialLocation, + /*isForRename*/ + false + ), + mapDefinitionInProject, (project, position) => { logger.info(`Finding references to ${position.fileName} position ${position.pos} in project ${project.getProjectName()}`); return project.getLanguageService().findReferences(position.fileName, position.pos); @@ -189745,7 +192256,7 @@ function forEachProjectInProjects(projects, path, cb) { }); } } -function getPerProjectReferences(projects, defaultProject, initialLocation, isForRename, getResultsForPosition, forPositionInResult) { +function getPerProjectReferences(projects, defaultProject, initialLocation, defaultDefinition, mapDefinitionInProject2, getResultsForPosition, forPositionInResult) { const resultsMap = /* @__PURE__ */ new Map(); const queue = createQueue(); queue.enqueue({ project: defaultProject, location: initialLocation }); @@ -189755,7 +192266,6 @@ function getPerProjectReferences(projects, defaultProject, initialLocation, isFo }); const projectService = defaultProject.projectService; const cancellationToken = defaultProject.getCancellationToken(); - const defaultDefinition = getDefinitionLocation(defaultProject, initialLocation, isForRename); const getGeneratedDefinition = memoize( () => defaultProject.isSourceOfProjectReferenceRedirect(defaultDefinition.fileName) ? defaultDefinition : defaultProject.getLanguageService().getSourceMapper().tryGetGeneratedPosition(defaultDefinition) ); @@ -189783,7 +192293,7 @@ function getPerProjectReferences(projects, defaultProject, initialLocation, isFo projectService.forEachEnabledProject((project) => { if (cancellationToken.isCancellationRequested()) return; if (resultsMap.has(project)) return; - const location = mapDefinitionInProject(defaultDefinition, project, getGeneratedDefinition, getSourceDefinition); + const location = mapDefinitionInProject2(defaultDefinition, project, getGeneratedDefinition, getSourceDefinition); if (location) { queue.enqueue({ project, location }); } @@ -189796,7 +192306,7 @@ function getPerProjectReferences(projects, defaultProject, initialLocation, isFo return resultsMap; function searchPosition(project, location) { const projectResults = getResultsForPosition(project, location); - if (!projectResults) return void 0; + if (!projectResults || !forPositionInResult) return projectResults; for (const result of projectResults) { forPositionInResult(result, (position) => { const originalLocation = projectService.getOriginalLocationEnsuringConfiguredProject(project, position); @@ -189822,10 +192332,14 @@ function getPerProjectReferences(projects, defaultProject, initialLocation, isFo return projectResults; } } -function mapDefinitionInProject(definition, project, getGeneratedDefinition, getSourceDefinition) { +function mapDefinitionInProjectIfFileInProject(definition, project) { if (project.containsFile(toNormalizedPath(definition.fileName)) && !isLocationProjectReferenceRedirect(project, definition)) { return definition; } +} +function mapDefinitionInProject(definition, project, getGeneratedDefinition, getSourceDefinition) { + const result = mapDefinitionInProjectIfFileInProject(definition, project); + if (result) return result; const generatedDefinition = getGeneratedDefinition(); if (generatedDefinition && project.containsFile(toNormalizedPath(generatedDefinition.fileName))) return generatedDefinition; const sourceDefinition = getSourceDefinition(); @@ -189885,7 +192399,8 @@ var invalidPartialSemanticModeCommands = [ "prepareCallHierarchy" /* PrepareCallHierarchy */, "provideCallHierarchyIncomingCalls" /* ProvideCallHierarchyIncomingCalls */, "provideCallHierarchyOutgoingCalls" /* ProvideCallHierarchyOutgoingCalls */, - "getPasteEdits" /* GetPasteEdits */ + "getPasteEdits" /* GetPasteEdits */, + "copilotRelated" /* CopilotRelated */ ]; var invalidSyntacticModeCommands = [ ...invalidPartialSemanticModeCommands, @@ -189913,7 +192428,8 @@ var invalidSyntacticModeCommands = [ "navto" /* Navto */, "navto-full" /* NavtoFull */, "documentHighlights" /* DocumentHighlights */, - "documentHighlights-full" /* DocumentHighlightsFull */ + "documentHighlights-full" /* DocumentHighlightsFull */, + "preparePasteEdits" /* PreparePasteEdits */ ]; var Session3 = class _Session { constructor(opts) { @@ -190437,6 +192953,9 @@ var Session3 = class _Session { ["getMoveToRefactoringFileSuggestions" /* GetMoveToRefactoringFileSuggestions */]: (request) => { return this.requiredResponse(this.getMoveToRefactoringFileSuggestions(request.arguments)); }, + ["preparePasteEdits" /* PreparePasteEdits */]: (request) => { + return this.requiredResponse(this.preparePasteEdits(request.arguments)); + }, ["getPasteEdits" /* GetPasteEdits */]: (request) => { return this.requiredResponse(this.getPasteEdits(request.arguments)); }, @@ -190563,6 +193082,9 @@ var Session3 = class _Session { }, ["mapCode" /* MapCode */]: (request) => { return this.requiredResponse(this.mapCode(request.arguments)); + }, + ["copilotRelated" /* CopilotRelated */]: () => { + return this.requiredResponse(this.getCopilotRelatedInfo()); } })); this.host = opts.host; @@ -191510,6 +194032,11 @@ Project '${project.projectName}' (${ProjectKind[project.projectKind]}) ${counter const changes = languageService.mapCode(file, args.mapping.contents, focusLocations, formatOptions, preferences); return this.mapTextChangesToCodeEdits(changes); } + getCopilotRelatedInfo() { + return { + relatedFiles: [] + }; + } setCompilerOptionsForInferredProjects(args) { this.projectService.setCompilerOptionsForInferredProjects(args.options, args.projectRootPath); } @@ -191518,11 +194045,12 @@ Project '${project.projectName}' (${ProjectKind[project.projectKind]}) ${counter args.file, args.projectFileName, args.needFileNameList, + args.needDefaultConfiguredProjectInfo, /*excludeConfigFiles*/ false ); } - getProjectInfoWorker(uncheckedFileName, projectFileName, needFileNameList, excludeConfigFiles) { + getProjectInfoWorker(uncheckedFileName, projectFileName, needFileNameList, needDefaultConfiguredProjectInfo, excludeConfigFiles) { const { project } = this.getFileAndProjectWorker(uncheckedFileName, projectFileName); updateProjectIfDirty(project); const projectInfo = { @@ -191532,10 +194060,38 @@ Project '${project.projectName}' (${ProjectKind[project.projectKind]}) ${counter /*excludeFilesFromExternalLibraries*/ false, excludeConfigFiles - ) : void 0 + ) : void 0, + configuredProjectInfo: needDefaultConfiguredProjectInfo ? this.getDefaultConfiguredProjectInfo(uncheckedFileName) : void 0 }; return projectInfo; } + getDefaultConfiguredProjectInfo(uncheckedFileName) { + var _a; + const info = this.projectService.getScriptInfo(uncheckedFileName); + if (!info) return; + const result = this.projectService.findDefaultConfiguredProjectWorker( + info, + 3 /* CreateReplay */ + ); + if (!result) return void 0; + let notMatchedByConfig; + let notInProject; + result.seenProjects.forEach((kind, project) => { + if (project !== result.defaultProject) { + if (kind !== 3 /* CreateReplay */) { + (notMatchedByConfig ?? (notMatchedByConfig = [])).push(toNormalizedPath(project.getConfigFilePath())); + } else { + (notInProject ?? (notInProject = [])).push(toNormalizedPath(project.getConfigFilePath())); + } + } + }); + (_a = result.seenConfigs) == null ? void 0 : _a.forEach((config) => (notMatchedByConfig ?? (notMatchedByConfig = [])).push(config)); + return { + notMatchedByConfig, + notInProject, + defaultProject: result.defaultProject && toNormalizedPath(result.defaultProject.getConfigFilePath()) + }; + } getRenameInfo(args) { const { file, project } = this.getFileAndProject(args); const position = this.getPositionInFile(args, file); @@ -191652,27 +194208,35 @@ Project '${project.projectName}' (${ProjectKind[project.projectKind]}) ${counter } getFileReferences(args, simplifiedResult) { const projects = this.getProjects(args); - const fileName = args.file; - const preferences = this.getPreferences(toNormalizedPath(fileName)); - const references = []; - const seen = createDocumentSpanSet(this.host.useCaseSensitiveFileNames); - forEachProjectInProjects( + const fileName = toNormalizedPath(args.file); + const preferences = this.getPreferences(fileName); + const initialLocation = { fileName, pos: 0 }; + const perProjectResults = getPerProjectReferences( projects, - /*path*/ - void 0, + this.getDefaultProject(args), + initialLocation, + initialLocation, + mapDefinitionInProjectIfFileInProject, (project) => { - if (project.getCancellationToken().isCancellationRequested()) return; - const projectOutputs = project.getLanguageService().getFileReferences(fileName); - if (projectOutputs) { - for (const referenceEntry of projectOutputs) { - if (!seen.has(referenceEntry)) { - references.push(referenceEntry); - seen.add(referenceEntry); - } - } - } + this.logger.info(`Finding references to file ${fileName} in project ${project.getProjectName()}`); + return project.getLanguageService().getFileReferences(fileName); } ); + let references; + if (isArray(perProjectResults)) { + references = perProjectResults; + } else { + references = []; + const seen = createDocumentSpanSet(this.host.useCaseSensitiveFileNames); + perProjectResults.forEach((projectOutputs) => { + for (const referenceEntry of projectOutputs) { + if (!seen.has(referenceEntry)) { + references.push(referenceEntry); + seen.add(referenceEntry); + } + } + }); + } if (!simplifiedResult) return references; const refs = references.map((entry) => referenceEntryToReferencesResponseItem(this.projectService, entry, preferences)); return { @@ -192264,8 +194828,13 @@ Project '${project.projectName}' (${ProjectKind[project.projectKind]}) ${counter const scriptInfo = project.getScriptInfoForNormalizedPath(file); return project.getLanguageService().getMoveToRefactoringFileSuggestions(file, this.extractPositionOrRange(args, scriptInfo), this.getPreferences(file)); } + preparePasteEdits(args) { + const { file, project } = this.getFileAndProject(args); + return project.getLanguageService().preparePasteEditsForFile(file, args.copiedTextSpan.map((copies) => this.getRange({ file, startLine: copies.start.line, startOffset: copies.start.offset, endLine: copies.end.line, endOffset: copies.end.offset }, this.projectService.getScriptInfoForNormalizedPath(file)))); + } getPasteEdits(args) { const { file, project } = this.getFileAndProject(args); + if (isDynamicFileName(file)) return void 0; const copiedFrom = args.copiedFrom ? { file: args.copiedFrom.file, range: args.copiedFrom.spans.map((copies) => this.getRange({ file: args.copiedFrom.file, startLine: copies.start.line, startOffset: copies.start.offset, endLine: copies.end.line, endOffset: copies.end.offset }, project.getScriptInfoForNormalizedPath(toNormalizedPath(args.copiedFrom.file)))) } : void 0; const result = project.getLanguageService().getPasteEdits( { @@ -192345,10 +194914,10 @@ ${e.message}`; } return simplifiedResult ? codeActions.map((codeAction) => this.mapCodeFixAction(codeAction)) : codeActions; } - getCombinedCodeFix({ scope, fixId: fixId55 }, simplifiedResult) { + getCombinedCodeFix({ scope, fixId: fixId56 }, simplifiedResult) { Debug.assert(scope.type === "file"); const { file, project } = this.getFileAndProject(scope.args); - const res = project.getLanguageService().getCombinedCodeFix({ type: "file", fileName: file }, fixId55, this.getFormatOptions(file), this.getPreferences(file)); + const res = project.getLanguageService().getCombinedCodeFix({ type: "file", fileName: file }, fixId56, this.getFormatOptions(file), this.getPreferences(file)); if (simplifiedResult) { return { changes: this.mapTextChangesToCodeEdits(res.changes), commands: res.commands }; } else { @@ -192387,11 +194956,11 @@ ${e.message}`; mapCodeAction({ description: description3, changes, commands }) { return { description: description3, changes: this.mapTextChangesToCodeEdits(changes), commands }; } - mapCodeFixAction({ fixName: fixName8, description: description3, changes, commands, fixId: fixId55, fixAllDescription }) { - return { fixName: fixName8, description: description3, changes: this.mapTextChangesToCodeEdits(changes), commands, fixId: fixId55, fixAllDescription }; + mapCodeFixAction({ fixName: fixName8, description: description3, changes, commands, fixId: fixId56, fixAllDescription }) { + return { fixName: fixName8, description: description3, changes: this.mapTextChangesToCodeEdits(changes), commands, fixId: fixId56, fixAllDescription }; } - mapPasteEditsAction({ edits, fixId: fixId55 }) { - return { edits: this.mapTextChangesToCodeEdits(edits), fixId: fixId55 }; + mapPasteEditsAction({ edits, fixId: fixId56 }) { + return { edits: this.mapTextChangesToCodeEdits(edits), fixId: fixId56 }; } mapTextChangesToCodeEdits(textChanges2) { return textChanges2.map((change) => this.mapTextChangeToCodeEdit(change)); @@ -192430,16 +194999,14 @@ ${e.message}`; void 0, /*needFileNameList*/ true, + /*needDefaultConfiguredProjectInfo*/ + void 0, /*excludeConfigFiles*/ true ); - if (languageServiceDisabled) { - return; - } + if (languageServiceDisabled) return; const fileNamesInProject = fileNames.filter((value) => !value.includes("lib.d.ts")); - if (fileNamesInProject.length === 0) { - return; - } + if (fileNamesInProject.length === 0) return; const highPriorityFiles = []; const mediumPriorityFiles = []; const lowPriorityFiles = []; @@ -193350,6 +195917,7 @@ var LineNode = class _LineNode { } } walk(rangeStart, rangeLength, walkFns) { + if (this.children.length === 0) return; let childIndex = 0; let childCharCount = this.children[childIndex].charCount(); let adjustedStart = rangeStart; @@ -193793,6 +196361,7 @@ __export(ts_server_exports4, { formatDiagnosticToProtocol: () => formatDiagnosticToProtocol, formatMessage: () => formatMessage2, getBaseConfigFileName: () => getBaseConfigFileName, + getDetailWatchInfo: () => getDetailWatchInfo, getLocationInNewDocument: () => getLocationInNewDocument, hasArgument: () => hasArgument, hasNoTypeScriptSource: () => hasNoTypeScriptSource, @@ -193815,6 +196384,8 @@ __export(ts_server_exports4, { nullCancellationToken: () => nullCancellationToken, nullTypingsInstaller: () => nullTypingsInstaller, protocol: () => ts_server_protocol_exports, + scriptInfoIsContainedByBackgroundProject: () => scriptInfoIsContainedByBackgroundProject, + scriptInfoIsContainedByDeferredClosedProject: () => scriptInfoIsContainedByDeferredClosedProject, stringifyIndented: () => stringifyIndented, toEvent: () => toEvent, toNormalizedPath: () => toNormalizedPath, @@ -193950,6 +196521,7 @@ if (typeof console !== "undefined") { PollingWatchKind, PragmaKindFlags, PredicateSemantics, + PreparePasteEdits, PrivateIdentifierKind, ProcessLevel, ProgramUpdateLevel, @@ -194064,6 +196636,7 @@ if (typeof console !== "undefined") { canWatchAffectingLocation, canWatchAtTypes, canWatchDirectoryOrFile, + canWatchDirectoryOrFilePath, cartesianProduct, cast, chainBundle, @@ -194334,6 +196907,7 @@ if (typeof console !== "undefined") { escapeTemplateSubstitution, evaluatorResult, every, + exclusivelyPrefixedNodeCoreModules, executeCommandLine, expandPreOrPostfixIncrementOrDecrementExpression, explainFiles, @@ -194346,7 +196920,6 @@ if (typeof console !== "undefined") { extensionsNotSupportingExtensionlessResolution, externalHelpersModuleNameText, factory, - fileContainsPackageImport, fileExtensionIs, fileExtensionIsOneOf, fileIncludeReasonToDiagnostics, @@ -194396,8 +196969,10 @@ if (typeof console !== "undefined") { forEach, forEachAncestor, forEachAncestorDirectory, + forEachAncestorDirectoryStoppingAtGlobalCache, forEachChild, forEachChildRecursively, + forEachDynamicImportOrRequireCall, forEachEmittedFile, forEachEnclosingBlockScopeContainer, forEachEntry, @@ -194438,6 +197013,7 @@ if (typeof console !== "undefined") { getAllKeys, getAllProjectOutputs, getAllSuperTypeNodes, + getAllowImportingTsExtensions, getAllowJSCompilerOption, getAllowSyntheticDefaultImports, getAncestor, @@ -194746,6 +197322,7 @@ if (typeof console !== "undefined") { getPositionOfLineAndCharacter, getPossibleGenericSignatures, getPossibleOriginalInputExtensionForExtension, + getPossibleOriginalInputPathWithoutChangingExt, getPossibleTypeArgumentsInfo, getPreEmitDiagnostics, getPrecedingNonSpaceCharacterPosition, @@ -195009,7 +197586,7 @@ if (typeof console !== "undefined") { isBooleanLiteral, isBreakOrContinueStatement, isBreakStatement, - isBuild, + isBuildCommand, isBuildInfoFile, isBuilderProgram, isBundle, @@ -195196,7 +197773,7 @@ if (typeof console !== "undefined") { isImportSpecifier, isImportTypeAssertionContainer, isImportTypeNode, - isImportableFile, + isImportable, isInComment, isInCompoundLikeAssignment, isInExpressionContext, @@ -195295,6 +197872,7 @@ if (typeof console !== "undefined") { isJsxAttributeLike, isJsxAttributeName, isJsxAttributes, + isJsxCallLike, isJsxChild, isJsxClosingElement, isJsxClosingFragment, @@ -195377,6 +197955,7 @@ if (typeof console !== "undefined") { isNamespaceReexportDeclaration, isNewExpression, isNewExpressionTarget, + isNewScopeNode, isNoSubstitutionTemplateLiteral, isNodeArray, isNodeArrayMultiLine, @@ -195425,6 +198004,7 @@ if (typeof console !== "undefined") { isParseTreeNode, isPartOfParameterDeclaration, isPartOfTypeNode, + isPartOfTypeOnlyImportOrExportDeclaration, isPartOfTypeQuery, isPartiallyEmittedExpression, isPatternMatch, @@ -195493,6 +198073,7 @@ if (typeof console !== "undefined") { isSimpleInlineableExpression, isSimpleParameterList, isSingleOrDoubleQuote, + isSolutionConfig, isSourceElement, isSourceFile, isSourceFileFromLibrary, @@ -195601,7 +198182,6 @@ if (typeof console !== "undefined") { isVariableDeclarationInitializedToRequire, isVariableDeclarationList, isVariableLike, - isVariableLikeOrAccessor, isVariableStatement, isVoidExpression, isWatchSet, @@ -195638,6 +198218,7 @@ if (typeof console !== "undefined") { matchPatternOrExact, matchedText, matchesExclude, + matchesExcludeWorker, maxBy, maybeBind, maybeSetLocalizedDiagnosticMessages, @@ -195677,6 +198258,7 @@ if (typeof console !== "undefined") { noTransformers, noTruncationMaximumTruncationLength, nodeCanBeDecorated, + nodeCoreModules, nodeHasName, nodeIsDecorated, nodeIsMissing, @@ -195821,6 +198403,7 @@ if (typeof console !== "undefined") { returnTrue, returnUndefined, returnsPromise, + rewriteModuleSpecifier, sameFlatMap, sameMap, sameMapping, @@ -195866,6 +198449,7 @@ if (typeof console !== "undefined") { setValueDeclaration, shouldAllowImportingTsExtension, shouldPreserveConstEnums, + shouldRewriteModuleSpecifier, shouldUseUriStyleNodeCoreModules, showModuleSpecifier, signatureHasRestParameter, @@ -195923,6 +198507,7 @@ if (typeof console !== "undefined") { tagNamesAreEquivalent, takeWhile, targetOptionDeclaration, + targetToLibMap, testFormatSettings, textChangeRangeIsUnchanged, textChangeRangeNewSpan, @@ -196016,6 +198601,7 @@ if (typeof console !== "undefined") { tryRemoveExtension, tryRemovePrefix, tryRemoveSuffix, + tscBuildOption, typeAcquisitionDeclarations, typeAliasNamePart, typeDirectiveIsEqualTo, @@ -196027,6 +198613,7 @@ if (typeof console !== "undefined") { unescapeLeadingUnderscores, unmangleScopedPackageName, unorderedRemoveItem, + unprefixedNodeCoreModules, unreachableCodeIsError, unsetNodeChildren, unusedLabelIsError, diff --git a/node_modules/typescript/lib/typingsInstaller.js b/node_modules/typescript/lib/typingsInstaller.js index ea1a468627..ba3994e481 100644 --- a/node_modules/typescript/lib/typingsInstaller.js +++ b/node_modules/typescript/lib/typingsInstaller.js @@ -1,236 +1,8 @@ -/*! ***************************************************************************** -Copyright (c) Microsoft Corporation. All rights reserved. -Licensed under the Apache License, Version 2.0 (the "License"); you may not use -this file except in compliance with the License. You may obtain a copy of the -License at http://www.apache.org/licenses/LICENSE-2.0 - -THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY -KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED -WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE, -MERCHANTABLITY OR NON-INFRINGEMENT. - -See the Apache Version 2.0 License for specific language governing permissions -and limitations under the License. -***************************************************************************** */ - - -"use strict"; -var __create = Object.create; -var __defProp = Object.defineProperty; -var __getOwnPropDesc = Object.getOwnPropertyDescriptor; -var __getOwnPropNames = Object.getOwnPropertyNames; -var __getProtoOf = Object.getPrototypeOf; -var __hasOwnProp = Object.prototype.hasOwnProperty; -var __export = (target, all) => { - for (var name in all) - __defProp(target, name, { get: all[name], enumerable: true }); -}; -var __copyProps = (to, from, except, desc) => { - if (from && typeof from === "object" || typeof from === "function") { - for (let key of __getOwnPropNames(from)) - if (!__hasOwnProp.call(to, key) && key !== except) - __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable }); - } - return to; -}; -var __reExport = (target, mod, secondTarget) => (__copyProps(target, mod, "default"), secondTarget && __copyProps(secondTarget, mod, "default")); -var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps( - // If the importer is in node compatibility mode or this is not an ESM - // file that has been converted to a CommonJS file using a Babel- - // compatible transform (i.e. "__esModule" has not been set), then set - // "default" to the CommonJS "module.exports" for node compatibility. - isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target, - mod -)); -var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod); - -// src/typingsInstaller/nodeTypingsInstaller.ts -var nodeTypingsInstaller_exports = {}; -__export(nodeTypingsInstaller_exports, { - NodeTypingsInstaller: () => NodeTypingsInstaller -}); -module.exports = __toCommonJS(nodeTypingsInstaller_exports); -var import_child_process = require("child_process"); -var fs = __toESM(require("fs")); -var path = __toESM(require("path")); - -// src/typescript/typescript.ts -var typescript_exports = {}; -__reExport(typescript_exports, require("./typescript.js")); - -// src/typingsInstaller/nodeTypingsInstaller.ts -var FileLog = class { - constructor(logFile) { - this.logFile = logFile; - this.isEnabled = () => { - return typeof this.logFile === "string"; - }; - this.writeLine = (text) => { - if (typeof this.logFile !== "string") return; - try { - fs.appendFileSync(this.logFile, `[${typescript_exports.server.nowString()}] ${text}${typescript_exports.sys.newLine}`); - } catch { - this.logFile = void 0; - } - }; - } -}; -function getDefaultNPMLocation(processName, validateDefaultNpmLocation2, host) { - if (path.basename(processName).indexOf("node") === 0) { - const npmPath = path.join(path.dirname(process.argv[0]), "npm"); - if (!validateDefaultNpmLocation2) { - return npmPath; - } - if (host.fileExists(npmPath)) { - return `"${npmPath}"`; - } - } - return "npm"; -} -function loadTypesRegistryFile(typesRegistryFilePath, host, log2) { - if (!host.fileExists(typesRegistryFilePath)) { - if (log2.isEnabled()) { - log2.writeLine(`Types registry file '${typesRegistryFilePath}' does not exist`); - } - return /* @__PURE__ */ new Map(); - } - try { - const content = JSON.parse(host.readFile(typesRegistryFilePath)); - return new Map(Object.entries(content.entries)); - } catch (e) { - if (log2.isEnabled()) { - log2.writeLine(`Error when loading types registry file '${typesRegistryFilePath}': ${e.message}, ${e.stack}`); - } - return /* @__PURE__ */ new Map(); - } -} -var typesRegistryPackageName = "types-registry"; -function getTypesRegistryFileLocation(globalTypingsCacheLocation2) { - return (0, typescript_exports.combinePaths)((0, typescript_exports.normalizeSlashes)(globalTypingsCacheLocation2), `node_modules/${typesRegistryPackageName}/index.json`); -} -var NodeTypingsInstaller = class extends typescript_exports.server.typingsInstaller.TypingsInstaller { - constructor(globalTypingsCacheLocation2, typingSafeListLocation2, typesMapLocation2, npmLocation2, validateDefaultNpmLocation2, throttleLimit, log2) { - const libDirectory = (0, typescript_exports.getDirectoryPath)((0, typescript_exports.normalizePath)(typescript_exports.sys.getExecutingFilePath())); - super( - typescript_exports.sys, - globalTypingsCacheLocation2, - typingSafeListLocation2 ? (0, typescript_exports.toPath)(typingSafeListLocation2, "", (0, typescript_exports.createGetCanonicalFileName)(typescript_exports.sys.useCaseSensitiveFileNames)) : (0, typescript_exports.toPath)("typingSafeList.json", libDirectory, (0, typescript_exports.createGetCanonicalFileName)(typescript_exports.sys.useCaseSensitiveFileNames)), - typesMapLocation2 ? (0, typescript_exports.toPath)(typesMapLocation2, "", (0, typescript_exports.createGetCanonicalFileName)(typescript_exports.sys.useCaseSensitiveFileNames)) : (0, typescript_exports.toPath)("typesMap.json", libDirectory, (0, typescript_exports.createGetCanonicalFileName)(typescript_exports.sys.useCaseSensitiveFileNames)), - throttleLimit, - log2 - ); - this.npmPath = npmLocation2 !== void 0 ? npmLocation2 : getDefaultNPMLocation(process.argv[0], validateDefaultNpmLocation2, this.installTypingHost); - if (this.npmPath.includes(" ") && this.npmPath[0] !== `"`) { - this.npmPath = `"${this.npmPath}"`; - } - if (this.log.isEnabled()) { - this.log.writeLine(`Process id: ${process.pid}`); - this.log.writeLine(`NPM location: ${this.npmPath} (explicit '${typescript_exports.server.Arguments.NpmLocation}' ${npmLocation2 === void 0 ? "not " : ""} provided)`); - this.log.writeLine(`validateDefaultNpmLocation: ${validateDefaultNpmLocation2}`); - } - this.ensurePackageDirectoryExists(globalTypingsCacheLocation2); - try { - if (this.log.isEnabled()) { - this.log.writeLine(`Updating ${typesRegistryPackageName} npm package...`); - } - this.execSyncAndLog(`${this.npmPath} install --ignore-scripts ${typesRegistryPackageName}@${this.latestDistTag}`, { cwd: globalTypingsCacheLocation2 }); - if (this.log.isEnabled()) { - this.log.writeLine(`Updated ${typesRegistryPackageName} npm package`); - } - } catch (e) { - if (this.log.isEnabled()) { - this.log.writeLine(`Error updating ${typesRegistryPackageName} package: ${e.message}`); - } - this.delayedInitializationError = { - kind: "event::initializationFailed", - message: e.message, - stack: e.stack - }; - } - this.typesRegistry = loadTypesRegistryFile(getTypesRegistryFileLocation(globalTypingsCacheLocation2), this.installTypingHost, this.log); - } - handleRequest(req) { - if (this.delayedInitializationError) { - this.sendResponse(this.delayedInitializationError); - this.delayedInitializationError = void 0; - } - super.handleRequest(req); - } - sendResponse(response) { - if (this.log.isEnabled()) { - this.log.writeLine(`Sending response:${typescript_exports.server.stringifyIndented(response)}`); - } - process.send(response); - if (this.log.isEnabled()) { - this.log.writeLine(`Response has been sent.`); - } - } - installWorker(requestId, packageNames, cwd, onRequestCompleted) { - if (this.log.isEnabled()) { - this.log.writeLine(`#${requestId} with cwd: ${cwd} arguments: ${JSON.stringify(packageNames)}`); - } - const start = Date.now(); - const hasError = typescript_exports.server.typingsInstaller.installNpmPackages(this.npmPath, typescript_exports.version, packageNames, (command) => this.execSyncAndLog(command, { cwd })); - if (this.log.isEnabled()) { - this.log.writeLine(`npm install #${requestId} took: ${Date.now() - start} ms`); - } - onRequestCompleted(!hasError); - } - /** Returns 'true' in case of error. */ - execSyncAndLog(command, options) { - if (this.log.isEnabled()) { - this.log.writeLine(`Exec: ${command}`); - } - try { - const stdout = (0, import_child_process.execSync)(command, { ...options, encoding: "utf-8" }); - if (this.log.isEnabled()) { - this.log.writeLine(` Succeeded. stdout:${indent(typescript_exports.sys.newLine, stdout)}`); - } - return false; - } catch (error) { - const { stdout, stderr } = error; - this.log.writeLine(` Failed. stdout:${indent(typescript_exports.sys.newLine, stdout)}${typescript_exports.sys.newLine} stderr:${indent(typescript_exports.sys.newLine, stderr)}`); - return true; - } - } -}; -var logFilePath = typescript_exports.server.findArgument(typescript_exports.server.Arguments.LogFile); -var globalTypingsCacheLocation = typescript_exports.server.findArgument(typescript_exports.server.Arguments.GlobalCacheLocation); -var typingSafeListLocation = typescript_exports.server.findArgument(typescript_exports.server.Arguments.TypingSafeListLocation); -var typesMapLocation = typescript_exports.server.findArgument(typescript_exports.server.Arguments.TypesMapLocation); -var npmLocation = typescript_exports.server.findArgument(typescript_exports.server.Arguments.NpmLocation); -var validateDefaultNpmLocation = typescript_exports.server.hasArgument(typescript_exports.server.Arguments.ValidateDefaultNpmLocation); -var log = new FileLog(logFilePath); -if (log.isEnabled()) { - process.on("uncaughtException", (e) => { - log.writeLine(`Unhandled exception: ${e} at ${e.stack}`); - }); -} -process.on("disconnect", () => { - if (log.isEnabled()) { - log.writeLine(`Parent process has exited, shutting down...`); - } - process.exit(0); -}); -var installer; -process.on("message", (req) => { - installer ?? (installer = new NodeTypingsInstaller( - globalTypingsCacheLocation, - typingSafeListLocation, - typesMapLocation, - npmLocation, - validateDefaultNpmLocation, - /*throttleLimit*/ - 5, - log - )); - installer.handleRequest(req); -}); -function indent(newline, str) { - return str && str.length ? `${newline} ` + str.replace(/\r?\n/, `${newline} `) : ""; -} -// Annotate the CommonJS export names for ESM import in node: -0 && (module.exports = { - NodeTypingsInstaller -}); -//# sourceMappingURL=typingsInstaller.js.map +// This file is a shim which defers loading the real module until the compile cache is enabled. +try { + const { enableCompileCache } = require("node:module"); + if (enableCompileCache) { + enableCompileCache(); + } +} catch {} +module.exports = require("./_typingsInstaller.js"); diff --git a/node_modules/typescript/lib/zh-cn/diagnosticMessages.generated.json b/node_modules/typescript/lib/zh-cn/diagnosticMessages.generated.json index 0a00506dc7..3ee0094dcb 100644 --- a/node_modules/typescript/lib/zh-cn/diagnosticMessages.generated.json +++ b/node_modules/typescript/lib/zh-cn/diagnosticMessages.generated.json @@ -179,6 +179,8 @@ "Add_override_modifier_95160": "添加 \"override\" 修饰符", "Add_parameter_name_90034": "添加参数名称", "Add_qualifier_to_all_unresolved_variables_matching_a_member_name_95037": "将限定符添加到匹配成员名称的所有未解析变量", + "Add_resolution_mode_import_attribute_95196": "添加 \"resolution-mode\" 导入属性", + "Add_resolution_mode_import_attribute_to_all_type_only_imports_that_need_it_95197": "向所有需要 \"resolution-mode\" 导入属性的仅类型导入添加该属性", "Add_return_type_0_90063": "添加返回类型“{0}”", "Add_satisfies_and_a_type_assertion_to_this_expression_satisfies_T_as_T_to_make_the_type_explicit_9035": "将 satisfies 和类型断言添加到此表达式 (satisfies T as T) 以使类型显式。", "Add_satisfies_and_an_inline_type_assertion_with_0_90068": "使用“{0}”添加 satisfies 和内联类型断言", @@ -299,7 +301,7 @@ "Assertions_require_the_call_target_to_be_an_identifier_or_qualified_name_2776": "断言要求调用目标为标识符或限定名。", "Assigning_properties_to_functions_without_declaring_them_is_not_supported_with_isolatedDeclarations__9023": "--isolatedDeclarations 不支持将属性分配给不声明它们的函数。为分配给此函数的属性添加显式声明。", "Asterisk_Slash_expected_1010": "应为 \"*/\"。", - "At_least_one_accessor_must_have_an_explicit_return_type_annotation_with_isolatedDeclarations_9009": "至少一个访问器必须具有带有 --isolatedDeclarations 的显式返回类型注释。", + "At_least_one_accessor_must_have_an_explicit_type_annotation_with_isolatedDeclarations_9009": "至少一个访问器必须具有带有 --isolatedDeclarations 的显式类型注释。", "Augmentations_for_the_global_scope_can_only_be_directly_nested_in_external_modules_or_ambient_module_2669": "全局范围的扩大仅可直接嵌套在外部模块中或环境模块声明中。", "Augmentations_for_the_global_scope_should_have_declare_modifier_unless_they_appear_in_already_ambien_2670": "全局范围的扩大应具有 \"declare\" 修饰符,除非它们显示在已有的环境上下文中。", "Auto_discovery_for_typings_is_enabled_in_project_0_Running_extra_resolution_pass_for_module_1_using__6140": "项目“{0}”中启用了键入内容的自动发现。使用缓存位置“{2}”运行模块“{1}”的额外解决传递。", @@ -543,7 +545,7 @@ "Declaration_emit_for_this_file_requires_preserving_this_import_for_augmentations_This_is_not_support_9026": "为此文件发出的声明需要保留此导入以进行扩充。--isolatedDeclarations 不支持此功能。", "Declaration_emit_for_this_file_requires_using_private_name_0_An_explicit_type_annotation_may_unblock_9005": "此文件的声明发出要求使用专用名称 \"{0}\"。显式类型注释可能取消阻止声明发出。", "Declaration_emit_for_this_file_requires_using_private_name_0_from_module_1_An_explicit_type_annotati_9006": "此文件的声明发出要求使用模块 \"{1}\" 中的专用名称 \"{0}\"。显式类型注释可能取消阻止声明发出。", - "Declaration_emit_for_this_parameter_requires_implicitly_adding_undefined_to_it_s_type_This_is_not_su_9025": "为此参数发出的声明要求隐式添加未定义的类型。--isolatedDeclarations 不支持此功能。", + "Declaration_emit_for_this_parameter_requires_implicitly_adding_undefined_to_its_type_This_is_not_sup_9025": "为此参数发出的声明要求将未定义隐式添加到其类型。--isolatedDeclarations 不支持此功能。", "Declaration_expected_1146": "应为声明。", "Declaration_name_conflicts_with_built_in_global_identifier_0_2397": "声明名称与内置全局标识符“{0}”冲突。", "Declaration_or_statement_expected_1128": "应为声明或语句。", @@ -850,7 +852,7 @@ "Generates_an_event_trace_and_a_list_of_types_6237": "生成事件跟踪和类型列表。", "Generates_corresponding_d_ts_file_6002": "生成相应的 \".d.ts\" 文件。", "Generates_corresponding_map_file_6043": "生成相应的 \".map\" 文件。", - "Generator_implicitly_has_yield_type_0_because_it_does_not_yield_any_values_Consider_supplying_a_retu_7025": "生成器隐式具有产出类型 \"{0}\" ,因为它不生成任何值。请考虑提供一个返回类型注释。", + "Generator_implicitly_has_yield_type_0_Consider_supplying_a_return_type_annotation_7025": "生成器隐式具有 yield 类型 ‘{0}’。请考虑提供一个返回类型注释。", "Generators_are_not_allowed_in_an_ambient_context_1221": "不允许在环境上下文中使用生成器。", "Generic_type_0_requires_1_type_argument_s_2314": "泛型类型“{0}”需要 {1} 个类型参数。", "Generic_type_0_requires_between_1_and_2_type_arguments_2707": "泛型类型“{0}”需要介于 {1} 和 {2} 类型参数之间。", @@ -907,6 +909,7 @@ "Imported_via_0_from_file_1_with_packageId_2_1394": "通过 {0} 从具有 packageId \"{2}\" 的文件 \"{1}\" 导入", "Imported_via_0_from_file_1_with_packageId_2_to_import_importHelpers_as_specified_in_compilerOptions_1396": "通过 {0} 从具有 packageId \"{2}\" 的文件 \"{1}\" 导入,以按照 compilerOptions 中指定的方式导入 \"importHelpers\"", "Imported_via_0_from_file_1_with_packageId_2_to_import_jsx_and_jsxs_factory_functions_1398": "通过 {0} 从具有 packageId \"{2}\" 的文件 \"{1}\" 导入,以导入 \"jsx\" 和 \"jsxs\" 工厂函数", + "Importing_a_JSON_file_into_an_ECMAScript_module_requires_a_type_Colon_json_import_attribute_when_mod_1543": "当 ‘module’ 设置为 ‘{0}’ 时,将 JSON 文件导入 ECMAScript 模块需要 ‘type: “json”’ 导入属性。", "Imports_are_not_permitted_in_module_augmentations_Consider_moving_them_to_the_enclosing_external_mod_2667": "模块扩大中不允许导入。请考虑将它们移动到封闭的外部模块。", "In_ambient_enum_declarations_member_initializer_must_be_constant_expression_1066": "在环境枚举声明中,成员初始化表达式必须是常数表达式。", "In_an_enum_with_multiple_declarations_only_one_declaration_can_omit_an_initializer_for_its_first_enu_2432": "在包含多个声明的枚举中,只有一个声明可以省略其第一个枚举元素的初始化表达式。", @@ -1059,6 +1062,7 @@ "Name_is_not_valid_95136": "名称无效", "Named_capturing_groups_are_only_available_when_targeting_ES2018_or_later_1503": "命名捕获组仅在面向“ES2018”或更高版本时可用。", "Named_capturing_groups_with_the_same_name_must_be_mutually_exclusive_to_each_other_1515": "名称相同的命名捕获组必须彼此排斥。", + "Named_imports_from_a_JSON_file_into_an_ECMAScript_module_are_not_allowed_when_module_is_set_to_0_1544": "当 ‘module’ 设置为 ‘{0}’ 时,不允许从 JSON 文件到 ECMAScript 模块中的命名导入。", "Named_property_0_of_types_1_and_2_are_not_identical_2319": "“{1}”和“{2}”类型的命名属性“{0}”不完全相同。", "Namespace_0_has_no_exported_member_1_2694": "命名空间“{0}”没有已导出的成员“{1}”。", "Namespace_must_be_given_a_name_1437": "必须为命名空间指定名称。", @@ -1143,7 +1147,6 @@ "Option_project_cannot_be_mixed_with_source_files_on_a_command_line_5042": "选项 \"project\" 在命令行上不能与源文件混合使用。", "Option_resolveJsonModule_cannot_be_specified_when_moduleResolution_is_set_to_classic_5070": "当“moduleResolution”设置为“classic”时,无法指定选项“--resolveJsonModule”。", "Option_resolveJsonModule_cannot_be_specified_when_module_is_set_to_none_system_or_umd_5071": "当“module”设置为“none”、“system”或“umd”时,无法指定选项“--resolveJsonModule”。", - "Option_tsBuildInfoFile_cannot_be_specified_without_specifying_option_incremental_or_composite_or_if__5111": "如果未指定选项“incremental”或“composite”或未运行“tsc -b”,则无法指定选项“tsBuildInfoFile”。", "Option_verbatimModuleSyntax_cannot_be_used_when_module_is_set_to_UMD_AMD_or_System_5105": "当“module”设置为“UMD”、“AMD”或“System”时,不能使用选项“verbatimModuleSyntax”。", "Options_0_and_1_cannot_be_combined_6370": "选项“{0}”与“{1}”不能组合在一起。", "Options_Colon_6027": "选项:", @@ -1246,7 +1249,7 @@ "Projects_6255": "项目", "Projects_in_this_build_Colon_0_6355": "此生成中的项目: {0}", "Properties_with_the_accessor_modifier_are_only_available_when_targeting_ECMAScript_2015_and_higher_18045": "只有在面向 ECMAScript 2015 及更高版本时,才可使用带有 \"accessor\" 修饰符的属性。", - "Property_0_cannot_have_an_initializer_because_it_is_marked_abstract_1267": "属性“{0}”不能具有初始化表杰式,因为它标记为摘要。", + "Property_0_cannot_have_an_initializer_because_it_is_marked_abstract_1267": "属性“{0}”不能具有初始化表达式,因为它标记为摘要。", "Property_0_comes_from_an_index_signature_so_it_must_be_accessed_with_0_4111": "属性“{0}”来自索引签名,因此必须使用[“{0}”]访问它。", "Property_0_does_not_exist_on_type_1_2339": "类型“{1}”上不存在属性“{0}”。", "Property_0_does_not_exist_on_type_1_Did_you_mean_2_2551": "属性“{0}”在类型“{1}”上不存在。你是否指的是“{2}”?", @@ -1413,6 +1416,7 @@ "Reusing_resolution_of_type_reference_directive_0_from_1_of_old_program_it_was_successfully_resolved__6391": "正在重用旧程序“{1}”中类型引用指令“{0}”的解析,已成功将其解析为包 ID 为“{3}”的“{2}”。", "Rewrite_all_as_indexed_access_types_95034": "全部重写为索引访问类型", "Rewrite_as_the_indexed_access_type_0_90026": "重写为索引访问类型“{0}”", + "Rewrite_ts_tsx_mts_and_cts_file_extensions_in_relative_import_paths_to_their_JavaScript_equivalent_i_6421": "将相对导入路径中的 ‘.ts’、‘.tsx’、‘.mts’ 和 ‘.cts’ 文件扩展名改写为其在输出文件中的 JavaScript 等效项。", "Right_operand_of_is_unreachable_because_the_left_operand_is_never_nullish_2869": "由于左操作数永远不会为空,因此 ?? 的右操作数无法访问。", "Root_directory_cannot_be_determined_skipping_primary_search_paths_6122": "无法确定根目录,正在跳过主搜索路径。", "Root_file_specified_for_compilation_1427": "为编译指定的根文件", @@ -1633,6 +1637,8 @@ "There_are_types_at_0_but_this_result_could_not_be_resolved_when_respecting_package_json_exports_The__6278": "“{0}”处有类型,但在遵守 package.json \"exports\" 时无法解析此结果。“{1}”库可能需要更新其 package.json 或键入。", "There_is_no_capturing_group_named_0_in_this_regular_expression_1532": "此正则表达式中没有名为“{0}”的捕获组。", "There_is_nothing_available_for_repetition_1507": "没有可重复的内容。", + "This_JSX_tag_requires_0_to_be_in_scope_but_it_could_not_be_found_2874": "此 JSX 标记要求 ‘{0}’ 在范围内,但找不到它。", + "This_JSX_tag_requires_the_module_path_0_to_exist_but_none_could_be_found_Make_sure_you_have_types_fo_2875": "此 JSX 标记要求模块路径 ‘{0}’ 存在,但找不到任何路径。请确保已安装相应包的类型。", "This_JSX_tag_s_0_prop_expects_a_single_child_of_type_1_but_multiple_children_were_provided_2746": "此 JSX 标记的 \"{0}\" 属性需要 \"{1}\" 类型的子级,但提供了多个子级。", "This_JSX_tag_s_0_prop_expects_type_1_which_requires_multiple_children_but_only_a_single_child_was_pr_2745": "此 JSX 标记的 \"{0}\" 属性需要类型 \"{1}\",该类型需要多个子级,但仅提供了一个子级。", "This_backreference_refers_to_a_group_that_does_not_exist_There_are_no_capturing_groups_in_this_regul_1534": "此向后引用指的是一个不存在的组。此正则表达式中没有捕获组。", @@ -1650,6 +1656,8 @@ "This_expression_is_not_callable_because_it_is_a_get_accessor_Did_you_mean_to_use_it_without_6234": "此表达式是 \"get\" 访问器,因此不可调用。你想在不使用 \"()\" 的情况下使用它吗?", "This_expression_is_not_constructable_2351": "此表达式不可构造。", "This_file_already_has_a_default_export_95130": "此文件已具有默认导出", + "This_import_path_is_unsafe_to_rewrite_because_it_resolves_to_another_project_and_the_relative_path_b_2878": "重写此导入路径并不安全,因为它会解析为另一个项目,并且项目的输出文件之间的相对路径与其输入文件之间的相对路径不同。", + "This_import_uses_a_0_extension_to_resolve_to_an_input_TypeScript_file_but_will_not_be_rewritten_duri_2877": "此导入使用 ‘{0}’ 扩展解析为输入 TypeScript 文件,但不会在发出期间重写,因为它不是相对路径。", "This_is_the_declaration_being_augmented_Consider_moving_the_augmenting_declaration_into_the_same_fil_6233": "这是正在扩充的声明。请考虑将扩充声明移到同一个文件中。", "This_kind_of_expression_is_always_falsy_2873": "这种表达式的结果始终为 false。", "This_kind_of_expression_is_always_truthy_2872": "这种表达式的结果始终为 true。", @@ -1673,6 +1681,7 @@ "This_parameter_property_must_have_an_override_modifier_because_it_overrides_a_member_in_base_class_0_4115": "此参数属性必须具有 “override” 修饰符,因为它会替代基类“{0}”中的成员。", "This_regular_expression_flag_cannot_be_toggled_within_a_subpattern_1509": "此正则表达式标志不能在子模式内切换。", "This_regular_expression_flag_is_only_available_when_targeting_0_or_later_1501": "此正则表达式标志仅在面向“{0}”或更高版本时可用。", + "This_relative_import_path_is_unsafe_to_rewrite_because_it_looks_like_a_file_name_but_actually_resolv_2876": "重写此相对导入路径并不安全,因为它看起来像文件名,但实际上解析为 ‘{0}’。", "This_spread_always_overwrites_this_property_2785": "此扩张将始终覆盖此属性。", "This_syntax_is_reserved_in_files_with_the_mts_or_cts_extension_Add_a_trailing_comma_or_explicit_cons_7060": "此语法保留在扩展名为 .mts 或 .cts 的文件中。请添加尾随逗号或显式约束。", "This_syntax_is_reserved_in_files_with_the_mts_or_cts_extension_Use_an_as_expression_instead_7059": "此语法保留在扩展名为 .mts 或 .cts 的文件中。请改用 `as` 表达式。", @@ -1748,6 +1757,7 @@ "Type_expected_1110": "应为类型。", "Type_import_assertions_should_have_exactly_one_key_resolution_mode_with_value_import_or_require_1456": "类型导入断言应恰好有一个键 - \"resolution-mode\" - 值为 \"import\" 或 \"require\"。", "Type_import_attributes_should_have_exactly_one_key_resolution_mode_with_value_import_or_require_1464": "类型导入属性应只有一个键 \"resolution-mode\",值为 \"import\" 或 \"require\"。", + "Type_import_of_an_ECMAScript_module_from_a_CommonJS_module_must_have_a_resolution_mode_attribute_1542": "从 CommonJS 模块导入 ECMAScript 模块的类型导入必须具有 \"resolution-mode\" 属性。", "Type_instantiation_is_excessively_deep_and_possibly_infinite_2589": "类型实例化过深,且可能无限。", "Type_is_referenced_directly_or_indirectly_in_the_fulfillment_callback_of_its_own_then_method_1062": "类型在其自身的 \"then\" 方法的 fulfillment 回调中被直接或间接引用。", "Type_library_referenced_via_0_from_file_1_1402": "通过 \"{0}\" 从文件 \"{1}\" 引用了库类型", @@ -1758,6 +1768,7 @@ "Type_of_iterated_elements_of_a_yield_Asterisk_operand_must_either_be_a_valid_promise_or_must_not_con_1322": "\"yield*\" 操作数的迭代元素的类型必须是有效承诺,或不得包含可调用的 \"then\" 成员。", "Type_of_property_0_circularly_references_itself_in_mapped_type_1_2615": "属性“{0}”的类型在已映射的类型“{1}”中循环引用其自身。", "Type_of_yield_operand_in_an_async_generator_must_either_be_a_valid_promise_or_must_not_contain_a_cal_1321": "异步生成器中 \"yield\" 操作数的类型必须是有效承诺,或不得包含可调用的 \"then\" 成员。", + "Type_only_import_of_an_ECMAScript_module_from_a_CommonJS_module_must_have_a_resolution_mode_attribut_1541": "从 CommonJS 模块导入 ECMAScript 模块的仅类型导入必须具有 \"resolution-mode\" 属性。", "Type_originates_at_this_import_A_namespace_style_import_cannot_be_called_or_constructed_and_will_cau_7038": "此导入产生的类型。无法调用或构造命名空间样式的导入,这类导入将在运行时导致失败。请考虑改为使用默认导入或此处需要的导入。", "Type_parameter_0_has_a_circular_constraint_2313": "类型参数“{0}”具有循环约束。", "Type_parameter_0_has_a_circular_default_2716": "类型参数“{0}”具有循环默认值。", @@ -1844,6 +1855,7 @@ "Use_the_package_json_imports_field_when_resolving_imports_6409": "解析导入时,请使用 package.json \"import\" 字段。", "Use_type_0_95181": "使用 \"type {0}\"", "Using_0_subpath_1_with_target_2_6404": "将“{0}”子路径“{1}”与目标“{2}”一起使用", + "Using_JSX_fragments_requires_fragment_factory_0_to_be_in_scope_but_it_could_not_be_found_2879": "使用 JSX 片段需要片段工厂 ‘{0}’ 在范围内,但找不到它。", "Using_a_string_in_a_for_of_statement_is_only_supported_in_ECMAScript_5_and_higher_2494": "仅 ECMAScript 5 和更高版本支持在 \"for...of\" 语句中使用字符串。", "Using_build_b_will_make_tsc_behave_more_like_a_build_orchestrator_than_a_compiler_This_is_used_to_tr_6915": "使用 --build,-b 将使 tsc 的行为更像生成业务流程协调程序,而非编译器。这可用于触发生成复合项目,你可以在 {0} 详细了解这些项目", "Using_compiler_options_of_project_reference_redirect_0_6215": "使用项目引用重定向“{0}”的编译器选项。", diff --git a/node_modules/typescript/lib/zh-tw/diagnosticMessages.generated.json b/node_modules/typescript/lib/zh-tw/diagnosticMessages.generated.json index 5423c18d4b..bf94ddd081 100644 --- a/node_modules/typescript/lib/zh-tw/diagnosticMessages.generated.json +++ b/node_modules/typescript/lib/zh-tw/diagnosticMessages.generated.json @@ -179,6 +179,8 @@ "Add_override_modifier_95160": "新增 'override' 修飾元", "Add_parameter_name_90034": "新增參數名稱", "Add_qualifier_to_all_unresolved_variables_matching_a_member_name_95037": "對所有比對成員名稱的未解析變數新增限定詞", + "Add_resolution_mode_import_attribute_95196": "新增 'resolution-mode' 匯入屬性", + "Add_resolution_mode_import_attribute_to_all_type_only_imports_that_need_it_95197": "將 'resolution-mode' 匯入屬性新增至所有需要該屬性的僅限類型匯入", "Add_return_type_0_90063": "新增傳回類型 '{0}'", "Add_satisfies_and_a_type_assertion_to_this_expression_satisfies_T_as_T_to_make_the_type_explicit_9035": "在此運算式中新增 satisfies 和類型判斷提示 (將 T 視為 T),使類型明確顯示。", "Add_satisfies_and_an_inline_type_assertion_with_0_90068": "新增 satisfies 和具有 '{0}' 的內嵌類型判斷提示", @@ -299,7 +301,7 @@ "Assertions_require_the_call_target_to_be_an_identifier_or_qualified_name_2776": "判斷提示要求呼叫目標必須為識別碼或限定名稱。", "Assigning_properties_to_functions_without_declaring_them_is_not_supported_with_isolatedDeclarations__9023": "在未宣告的情況下,--isolatedDeclarations 不支援指派屬性給函式。新增指派給此函式之屬性的明確宣告。", "Asterisk_Slash_expected_1010": "必須是 '*/'。", - "At_least_one_accessor_must_have_an_explicit_return_type_annotation_with_isolatedDeclarations_9009": "至少一個存取子必須有具備 --isolatedDeclarations 的明確傳回類型註解。", + "At_least_one_accessor_must_have_an_explicit_type_annotation_with_isolatedDeclarations_9009": "至少一個存取子必須有具備 --isolatedDeclarations 的明確型別註釋。", "Augmentations_for_the_global_scope_can_only_be_directly_nested_in_external_modules_or_ambient_module_2669": "全域範圍的增強指定只能在外部模組宣告或環境模組宣告直接巢狀。", "Augmentations_for_the_global_scope_should_have_declare_modifier_unless_they_appear_in_already_ambien_2670": "除非全域範圍的增強指定已顯示在環境內容中,否則應含有 'declare' 修飾元。", "Auto_discovery_for_typings_is_enabled_in_project_0_Running_extra_resolution_pass_for_module_1_using__6140": "專案 '{0}' 中已啟用鍵入的自動探索。正在使用快取位置 '{2}' 執行模組 '{1}' 的額外解析傳遞。", @@ -543,7 +545,7 @@ "Declaration_emit_for_this_file_requires_preserving_this_import_for_augmentations_This_is_not_support_9026": "此檔案發出的宣告需要保留此匯入,以進行增強。該情況不受 --isolatedDeclarations 支援。", "Declaration_emit_for_this_file_requires_using_private_name_0_An_explicit_type_annotation_may_unblock_9005": "此檔案的宣告發出必須使用私人名稱 '{0}'。明確的型別註解可能會解除封鎖宣告發出。", "Declaration_emit_for_this_file_requires_using_private_name_0_from_module_1_An_explicit_type_annotati_9006": "此檔案的宣告發出必須使用來自模組 '{1}' 的私人名稱 '{0}'。明確的型別註解可能會解除封鎖宣告發出。", - "Declaration_emit_for_this_parameter_requires_implicitly_adding_undefined_to_it_s_type_This_is_not_su_9025": "此參數發出的宣告需要隱含地新增未定義值至其類型。該情況不受 --isolatedDeclarations 支援。", + "Declaration_emit_for_this_parameter_requires_implicitly_adding_undefined_to_its_type_This_is_not_sup_9025": "此參數發出的宣告需要隱含地新增未定義值至其類型。此情況不受 --isolatedDeclarations 支援。", "Declaration_expected_1146": "必須是宣告。", "Declaration_name_conflicts_with_built_in_global_identifier_0_2397": "宣告名稱與內建全域識別碼 '{0}' 衝突。", "Declaration_or_statement_expected_1128": "必須是宣告或陳述式。", @@ -850,7 +852,7 @@ "Generates_an_event_trace_and_a_list_of_types_6237": "產生事件追蹤與類型清單。", "Generates_corresponding_d_ts_file_6002": "產生對應的 '.d.ts' 檔案。", "Generates_corresponding_map_file_6043": "產生對應的 '.map' 檔案。", - "Generator_implicitly_has_yield_type_0_because_it_does_not_yield_any_values_Consider_supplying_a_retu_7025": "因為產生器未產生任何值,所以其隱含產生類型 '{0}'。請考慮提供傳回型別註解。", + "Generator_implicitly_has_yield_type_0_Consider_supplying_a_return_type_annotation_7025": "產生器隱含的 yield 類型為 '{0}'。請考慮提供傳回型別註解。", "Generators_are_not_allowed_in_an_ambient_context_1221": "環境內容中不允許產生器。", "Generic_type_0_requires_1_type_argument_s_2314": "泛型類型 '{0}' 需要 {1} 個型別引數。", "Generic_type_0_requires_between_1_and_2_type_arguments_2707": "泛型型別 '{0}' 需要介於 {1} 和 {2} 之間的型別引數。", @@ -907,6 +909,7 @@ "Imported_via_0_from_file_1_with_packageId_2_1394": "透過 {0} 從檔案 '{1}' (packageId 為 '{2}') 匯入", "Imported_via_0_from_file_1_with_packageId_2_to_import_importHelpers_as_specified_in_compilerOptions_1396": "透過 {0} 從檔案 '{1}' (packageId 為 '{2}') 匯入,以 CompilerOptions 指定的方式匯入 'ImportHelpers'", "Imported_via_0_from_file_1_with_packageId_2_to_import_jsx_and_jsxs_factory_functions_1398": "透過 {0} 從檔案 '{1}' (packageId 為 '{2}') 匯入,匯入 'jsx' 和 'jsxs' 處理站函式", + "Importing_a_JSON_file_into_an_ECMAScript_module_requires_a_type_Colon_json_import_attribute_when_mod_1543": "當 'module' 設定為 '{0}' 時,匯入 JSON 檔案至 ECMAScript 模組需要 'type: \"json\"' 匯入屬性。", "Imports_are_not_permitted_in_module_augmentations_Consider_moving_them_to_the_enclosing_external_mod_2667": "模組增強指定中不允許匯入。請考慮將其移至封入外部模組。", "In_ambient_enum_declarations_member_initializer_must_be_constant_expression_1066": "在環境列舉宣告中,成員初始設定式必須是常數運算式。", "In_an_enum_with_multiple_declarations_only_one_declaration_can_omit_an_initializer_for_its_first_enu_2432": "在具有多個宣告的列舉中,只有一個宣告可以在其第一個列舉項目中省略初始設定式。", @@ -1059,6 +1062,7 @@ "Name_is_not_valid_95136": "名稱無效", "Named_capturing_groups_are_only_available_when_targeting_ES2018_or_later_1503": "只有以 'ES2018' 或更新版本為目標時,才可以使用具名擷取群組。", "Named_capturing_groups_with_the_same_name_must_be_mutually_exclusive_to_each_other_1515": "具有相同名稱的命名擷取群組必須互相排除。", + "Named_imports_from_a_JSON_file_into_an_ECMAScript_module_are_not_allowed_when_module_is_set_to_0_1544": "當 'module' 設定為 '{0}' 時,不允許從 JSON 檔案具名匯入 ECMAScript 模組。", "Named_property_0_of_types_1_and_2_are_not_identical_2319": "類型 '{1}' 及 '{2}' 的具名屬性 '{0}' 不一致。", "Namespace_0_has_no_exported_member_1_2694": "命名空間 '{0}' 沒有匯出的成員 '{1}'。", "Namespace_must_be_given_a_name_1437": "必須為命名空間指定名稱。", @@ -1143,7 +1147,6 @@ "Option_project_cannot_be_mixed_with_source_files_on_a_command_line_5042": "在命令列上,'project' 選項不得與原始程式檔並用。", "Option_resolveJsonModule_cannot_be_specified_when_moduleResolution_is_set_to_classic_5070": "當 'moduleResolution' 設定為 'classic' 時,不得指定 '--resolveJsonModule' 選項。", "Option_resolveJsonModule_cannot_be_specified_when_module_is_set_to_none_system_or_umd_5071": "當 'module' 設定為 'none'、'system' 或 'umd' 時,不得指定 '--resolveJsonModule' 選項。", - "Option_tsBuildInfoFile_cannot_be_specified_without_specifying_option_incremental_or_composite_or_if__5111": "在未指定選項 'incremental' 或 'composite',或未執行 'tsc -b' 的情況下,無法指定選項 'tsBuildInfoFile'。", "Option_verbatimModuleSyntax_cannot_be_used_when_module_is_set_to_UMD_AMD_or_System_5105": "當 'module' 設定為 'UMD'、'AMD' 或 'System' 時,無法使用選項 'verbatimModuleSyntax'。", "Options_0_and_1_cannot_be_combined_6370": "無法合併選項 '{0}' 與 '{1}'。", "Options_Colon_6027": "選項:", @@ -1413,6 +1416,7 @@ "Reusing_resolution_of_type_reference_directive_0_from_1_of_old_program_it_was_successfully_resolved__6391": "在舊程式的 '{1}' 中重複使用類型參考指示詞 '{0}' 的解析,已成功將其解析為套件識別碼為 '{3}' 的 '{2}'。", "Rewrite_all_as_indexed_access_types_95034": "將全部重寫為經過編製索引的存取類型", "Rewrite_as_the_indexed_access_type_0_90026": "重寫為索引存取類型 '{0}'", + "Rewrite_ts_tsx_mts_and_cts_file_extensions_in_relative_import_paths_to_their_JavaScript_equivalent_i_6421": "將相對匯入路徑中的 '.ts'、'.tsx'、'.mts'、'.cts' 檔案副檔名重寫為輸出檔案中的 JavaScript 對應檔名。", "Right_operand_of_is_unreachable_because_the_left_operand_is_never_nullish_2869": "?? 的右運算元無法連線,因為左運算元永遠不會是 nullish。", "Root_directory_cannot_be_determined_skipping_primary_search_paths_6122": "無法判斷根目錄,將略過主要搜尋路徑。", "Root_file_specified_for_compilation_1427": "為編譯指定的根檔案", @@ -1633,6 +1637,8 @@ "There_are_types_at_0_but_this_result_could_not_be_resolved_when_respecting_package_json_exports_The__6278": "'{0}' 具有型別,不過在採用 package.json \"exports\" 的狀態下,無法解析此結果。'{1}' 程式庫可能需要更新其 package.json 或輸入。", "There_is_no_capturing_group_named_0_in_this_regular_expression_1532": "此規則運算式中沒有名為 '{0}' 的擷取群組。", "There_is_nothing_available_for_repetition_1507": "沒有可重複的內容。", + "This_JSX_tag_requires_0_to_be_in_scope_but_it_could_not_be_found_2874": "此 JSX 標籤需要 '{0}' 在範圍內,但無法找到。", + "This_JSX_tag_requires_the_module_path_0_to_exist_but_none_could_be_found_Make_sure_you_have_types_fo_2875": "此 JSX 標籤需要模組路徑 '{0}' 存在,但無法找到。請確定您已安裝適當的套件類型。", "This_JSX_tag_s_0_prop_expects_a_single_child_of_type_1_but_multiple_children_were_provided_2746": "此 JSX 標籤的 '{0}' 屬性只能有一個 '{1}' 類型的子系,但提供的子系卻有多個。", "This_JSX_tag_s_0_prop_expects_type_1_which_requires_multiple_children_but_only_a_single_child_was_pr_2745": "此 JSX 標籤的 '{0}' 屬性需要必須有多個子系的類型 '{1}',但僅提供的子系只有一個。", "This_backreference_refers_to_a_group_that_does_not_exist_There_are_no_capturing_groups_in_this_regul_1534": "此反向參考參照的群組不存在。此規則運算式中沒有任何擷取群組。", @@ -1650,6 +1656,8 @@ "This_expression_is_not_callable_because_it_is_a_get_accessor_Did_you_mean_to_use_it_without_6234": "因為此運算式為 'get' 存取子,所以無法呼叫。要在沒有 '()' 的情況下,使用該運算式嗎?", "This_expression_is_not_constructable_2351": "無法建構此運算式。", "This_file_already_has_a_default_export_95130": "此檔案已有預設匯出", + "This_import_path_is_unsafe_to_rewrite_because_it_resolves_to_another_project_and_the_relative_path_b_2878": "重寫此匯入路徑並不安全,因為其解析到另一個專案,而專案輸出檔案之間的相對路徑與其輸入檔案之間的相對路徑不同。", + "This_import_uses_a_0_extension_to_resolve_to_an_input_TypeScript_file_but_will_not_be_rewritten_duri_2877": "這個匯入使用 '{0}' 副檔名來解析到輸入的 TypeScript 檔案,但在發出時不會重寫,因為其不是相對路徑。", "This_is_the_declaration_being_augmented_Consider_moving_the_augmenting_declaration_into_the_same_fil_6233": "此宣告正在增加中。請考慮將正在增加的宣告移至相同的檔案中。", "This_kind_of_expression_is_always_falsy_2873": "此種運算式的值一律為 false。", "This_kind_of_expression_is_always_truthy_2872": "此種運算式的值一律為 true。", @@ -1673,6 +1681,7 @@ "This_parameter_property_must_have_an_override_modifier_because_it_overrides_a_member_in_base_class_0_4115": "因為此參數屬性會覆寫基底類別 '{0}' 中的成員,所以其必須具有 'override' 修飾元。", "This_regular_expression_flag_cannot_be_toggled_within_a_subpattern_1509": "無法在子模式內切換此規則運算式旗標。", "This_regular_expression_flag_is_only_available_when_targeting_0_or_later_1501": "只有以 '{0}' 或更新版本作為目標時,才能使用規則運算式旗標。", + "This_relative_import_path_is_unsafe_to_rewrite_because_it_looks_like_a_file_name_but_actually_resolv_2876": "此相對匯入路徑在重寫時是不安全的,因為其看起來像檔案名稱,但實際上解析為 \"{0}\"。", "This_spread_always_overwrites_this_property_2785": "此展開會永遠覆寫此屬性。", "This_syntax_is_reserved_in_files_with_the_mts_or_cts_extension_Add_a_trailing_comma_or_explicit_cons_7060": "此語法是保留在具有 mts 或 cts 副檔名的檔案中。新增尾端逗號或明確條件約束。", "This_syntax_is_reserved_in_files_with_the_mts_or_cts_extension_Use_an_as_expression_instead_7059": "此語法會保留在具有 mts 或 cts 副檔名的檔案中。請改用 `as` 運算式。", @@ -1748,6 +1757,7 @@ "Type_expected_1110": "必須是類型。", "Type_import_assertions_should_have_exactly_one_key_resolution_mode_with_value_import_or_require_1456": "輸入匯入判斷提示應該只有一個索引鍵 - 'resolution-mode' - 值為 'import' 或 'require'。", "Type_import_attributes_should_have_exactly_one_key_resolution_mode_with_value_import_or_require_1464": "型別匯入屬性應只有一個索引鍵 'resolution-mode',且值為 'import' 或 'require'。", + "Type_import_of_an_ECMAScript_module_from_a_CommonJS_module_must_have_a_resolution_mode_attribute_1542": "從 CommonJS 模組匯入 ECMAScript 模組的類型必須有 'resolution-mode' 屬性。", "Type_instantiation_is_excessively_deep_and_possibly_infinite_2589": "類型具現化過深,可能會有無限深度。", "Type_is_referenced_directly_or_indirectly_in_the_fulfillment_callback_of_its_own_then_method_1062": "類型在其本身 'then' 方法的完成回撥中直接或間接受到參考。", "Type_library_referenced_via_0_from_file_1_1402": "透過 '{0}' 從檔案 '{1}' 參考的型別程式庫", @@ -1758,6 +1768,7 @@ "Type_of_iterated_elements_of_a_yield_Asterisk_operand_must_either_be_a_valid_promise_or_must_not_con_1322": "'yield*' 運算元的反覆項目類型必須是有效的 Promise,或不得包含可呼叫的 'then' 成員。", "Type_of_property_0_circularly_references_itself_in_mapped_type_1_2615": "屬性 '{0}' 的類型在對應的類型 '{1}' 中會循環參考自己。", "Type_of_yield_operand_in_an_async_generator_must_either_be_a_valid_promise_or_must_not_contain_a_cal_1321": "非同步產生器中的 'yield' 運算元類型必須是有效的 Promise,或不得包含可呼叫的 'then' 成員。", + "Type_only_import_of_an_ECMAScript_module_from_a_CommonJS_module_must_have_a_resolution_mode_attribut_1541": "從 CommonJS 模組進行僅限類型匯入 ECMAScript 模組時,必須有 'resolution-mode' 屬性。", "Type_originates_at_this_import_A_namespace_style_import_cannot_be_called_or_constructed_and_will_cau_7038": "類型源自此匯入。無法呼叫或建構命名空間樣式的匯入,而且可能會在執行階段導致失敗。請考慮改用預設匯入或於此處匯入 require。", "Type_parameter_0_has_a_circular_constraint_2313": "類型參數 '{0}' 具有循環條件約束。", "Type_parameter_0_has_a_circular_default_2716": "型別參數 '{0}' 包含循環的預設值。", @@ -1844,6 +1855,7 @@ "Use_the_package_json_imports_field_when_resolving_imports_6409": "解析匯入時,請使用 package.json 'imports' 欄位。", "Use_type_0_95181": "請使用 'type {0}'", "Using_0_subpath_1_with_target_2_6404": "使用 '{0}' 子路徑 '{1}' 與目標 '{2}'。", + "Using_JSX_fragments_requires_fragment_factory_0_to_be_in_scope_but_it_could_not_be_found_2879": "使用 JSX 片段需要片段中心 '{0}' 在範圍內,但無法找到。", "Using_a_string_in_a_for_of_statement_is_only_supported_in_ECMAScript_5_and_higher_2494": "只有在 ECMAScript 5 及更高版本中,才可在 'for...of' 陳述式中使用字串。", "Using_build_b_will_make_tsc_behave_more_like_a_build_orchestrator_than_a_compiler_This_is_used_to_tr_6915": "使用 --build、-b 會讓 tsc 的行為較編譯器更像是建置協調器。這可用於觸發建置複合專案,您可以在以下位置深入了解: {0}", "Using_compiler_options_of_project_reference_redirect_0_6215": "正在使用專案參考重新導向 '{0}' 的編譯器選項。", diff --git a/node_modules/typescript/package.json b/node_modules/typescript/package.json index b5b6df9487..8f08792247 100644 --- a/node_modules/typescript/package.json +++ b/node_modules/typescript/package.json @@ -2,7 +2,7 @@ "name": "typescript", "author": "Microsoft Corp.", "homepage": "https://www.typescriptlang.org/", - "version": "5.6.3", + "version": "5.7.2", "license": "Apache-2.0", "description": "TypeScript is a language for application scale JavaScript development", "keywords": [ @@ -40,49 +40,48 @@ ], "devDependencies": { "@dprint/formatter": "^0.4.1", - "@dprint/typescript": "0.91.6", + "@dprint/typescript": "0.93.0", "@esfx/canceltoken": "^1.0.0", - "@eslint/js": "^9.9.0", - "@octokit/rest": "^21.0.1", - "@types/chai": "^4.3.17", - "@types/diff": "^5.2.1", + "@eslint/js": "^9.11.1", + "@octokit/rest": "^21.0.2", + "@types/chai": "^4.3.20", + "@types/diff": "^5.2.2", "@types/minimist": "^1.2.5", - "@types/mocha": "^10.0.7", + "@types/mocha": "^10.0.8", "@types/ms": "^0.7.34", "@types/node": "latest", "@types/source-map-support": "^0.5.10", "@types/which": "^3.0.4", - "@typescript-eslint/rule-tester": "^8.1.0", - "@typescript-eslint/type-utils": "^8.1.0", - "@typescript-eslint/utils": "^8.1.0", - "azure-devops-node-api": "^14.0.2", + "@typescript-eslint/rule-tester": "^8.8.0", + "@typescript-eslint/type-utils": "^8.8.0", + "@typescript-eslint/utils": "^8.8.0", + "azure-devops-node-api": "^14.1.0", "c8": "^10.1.2", "chai": "^4.5.0", "chalk": "^4.1.2", "chokidar": "^3.6.0", "diff": "^5.2.0", "dprint": "^0.47.2", - "esbuild": "^0.23.0", - "eslint": "^9.9.0", + "esbuild": "^0.24.0", + "eslint": "^9.11.1", "eslint-formatter-autolinkable-stylish": "^1.4.0", "eslint-plugin-regexp": "^2.6.0", - "fast-xml-parser": "^4.4.1", + "fast-xml-parser": "^4.5.0", "glob": "^10.4.5", "globals": "^15.9.0", - "hereby": "^1.9.0", + "hereby": "^1.10.0", "jsonc-parser": "^3.3.1", - "knip": "^5.27.2", + "knip": "^5.30.6", "minimist": "^1.2.8", "mocha": "^10.7.3", "mocha-fivemat-progress-reporter": "^0.1.0", - "monocart-coverage-reports": "^2.10.2", + "monocart-coverage-reports": "^2.11.0", "ms": "^2.1.3", - "node-fetch": "^3.3.2", - "playwright": "^1.46.0", + "playwright": "^1.47.2", "source-map-support": "^0.5.21", - "tslib": "^2.6.3", - "typescript": "^5.5.4", - "typescript-eslint": "^8.1.0", + "tslib": "^2.7.0", + "typescript": "^5.6.2", + "typescript-eslint": "^8.8.0", "which": "^3.0.1" }, "overrides": { @@ -117,5 +116,5 @@ "node": "20.1.0", "npm": "8.19.4" }, - "gitHead": "d48a5cf89a62a62d6c6ed53ffa18f070d9458b85" + "gitHead": "d701d908d534e68cfab24b6df15539014ac348a3" } diff --git a/node_modules/untildify/index.d.ts b/node_modules/untildify/index.d.ts deleted file mode 100644 index 8672d9fa15..0000000000 --- a/node_modules/untildify/index.d.ts +++ /dev/null @@ -1,14 +0,0 @@ -/** -Convert a tilde path to an absolute path: `~/dev` → `/Users/sindresorhus/dev`. - -@example -``` -import untildify = require('untildify'); - -untildify('~/dev'); -//=> '/Users/sindresorhus/dev' -``` -*/ -declare function untildify(pathWithTilde: string): string; - -export = untildify; diff --git a/node_modules/untildify/index.js b/node_modules/untildify/index.js deleted file mode 100644 index c82d3c1e6b..0000000000 --- a/node_modules/untildify/index.js +++ /dev/null @@ -1,12 +0,0 @@ -'use strict'; -const os = require('os'); - -const homeDirectory = os.homedir(); - -module.exports = pathWithTilde => { - if (typeof pathWithTilde !== 'string') { - throw new TypeError(`Expected a string, got ${typeof pathWithTilde}`); - } - - return homeDirectory ? pathWithTilde.replace(/^~(?=$|\/|\\)/, homeDirectory) : pathWithTilde; -}; diff --git a/node_modules/untildify/license b/node_modules/untildify/license deleted file mode 100644 index e7af2f7710..0000000000 --- a/node_modules/untildify/license +++ /dev/null @@ -1,9 +0,0 @@ -MIT License - -Copyright (c) Sindre Sorhus (sindresorhus.com) - -Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/node_modules/untildify/package.json b/node_modules/untildify/package.json deleted file mode 100644 index 3e4daef15f..0000000000 --- a/node_modules/untildify/package.json +++ /dev/null @@ -1,43 +0,0 @@ -{ - "name": "untildify", - "version": "4.0.0", - "description": "Convert a tilde path to an absolute path: `~/dev` → `/Users/sindresorhus/dev`", - "license": "MIT", - "repository": "sindresorhus/untildify", - "author": { - "name": "Sindre Sorhus", - "email": "sindresorhus@gmail.com", - "url": "sindresorhus.com" - }, - "contributors": [ - "silverwind (https://silverwind.io)" - ], - "engines": { - "node": ">=8" - }, - "scripts": { - "test": "xo && ava && tsd" - }, - "files": [ - "index.js", - "index.d.ts" - ], - "keywords": [ - "tilde", - "expansion", - "expand", - "untildify", - "path", - "home", - "directory", - "user", - "shell", - "bash" - ], - "devDependencies": { - "ava": "^1.4.1", - "rewire": "^4.0.1", - "tsd": "^0.7.2", - "xo": "^0.24.0" - } -} diff --git a/node_modules/untildify/readme.md b/node_modules/untildify/readme.md deleted file mode 100644 index 5f38db2bb6..0000000000 --- a/node_modules/untildify/readme.md +++ /dev/null @@ -1,30 +0,0 @@ -# untildify [![Build Status](https://travis-ci.org/sindresorhus/untildify.svg?branch=master)](https://travis-ci.org/sindresorhus/untildify) - -> Convert a tilde path to an absolute path: `~/dev` → `/Users/sindresorhus/dev` - - -## Install - -``` -$ npm install untildify -``` - - -## Usage - -```js -const untildify = require('untildify'); - -untildify('~/dev'); -//=> '/Users/sindresorhus/dev' -``` - - -## Related - -See [tildify](https://github.com/sindresorhus/tildify) for the inverse. - - -## License - -MIT © [Sindre Sorhus](https://sindresorhus.com) diff --git a/node_modules/update-browserslist-db/README.md b/node_modules/update-browserslist-db/README.md index 40ae31262a..c4155c9e9c 100644 --- a/node_modules/update-browserslist-db/README.md +++ b/node_modules/update-browserslist-db/README.md @@ -6,7 +6,7 @@ CLI tool to update `caniuse-lite` with browsers DB from [Browserslist](https://github.com/browserslist/browserslist/) config. -Some queries like `last 2 version` or `>1%` depends on actual data +Some queries like `last 2 versions` or `>1%` depend on actual data from `caniuse-lite`. ```sh @@ -18,6 +18,5 @@ npx update-browserslist-db@latest alt="Sponsored by Evil Martians" width="236" height="54"> - ## Docs -Read **[full docs](https://github.com/browserslist/update-db#readme)** on GitHub. +Read full docs **[here](https://github.com/browserslist/update-db#readme)**. diff --git a/node_modules/update-browserslist-db/check-npm-version.js b/node_modules/update-browserslist-db/check-npm-version.js index 25e1c92d36..b06811a522 100644 --- a/node_modules/update-browserslist-db/check-npm-version.js +++ b/node_modules/update-browserslist-db/check-npm-version.js @@ -13,4 +13,5 @@ try { ) process.exit(1) } + // eslint-disable-next-line no-unused-vars } catch (e) {} diff --git a/node_modules/update-browserslist-db/index.d.ts b/node_modules/update-browserslist-db/index.d.ts index 05ef411af0..7ae5acd345 100644 --- a/node_modules/update-browserslist-db/index.d.ts +++ b/node_modules/update-browserslist-db/index.d.ts @@ -1,6 +1,6 @@ /** * Run update and print output to terminal. */ -declare function updateDb(print?: (str: string) => void): Promise +declare function updateDb(print?: (str: string) => void): void export = updateDb diff --git a/node_modules/update-browserslist-db/index.js b/node_modules/update-browserslist-db/index.js index ad7fed637d..1246914cfe 100644 --- a/node_modules/update-browserslist-db/index.js +++ b/node_modules/update-browserslist-db/index.js @@ -1,10 +1,10 @@ -let childProcess = require('child_process') +let { execSync } = require('child_process') let escalade = require('escalade/sync') +let { existsSync, readFileSync, writeFileSync } = require('fs') +let { join } = require('path') let pico = require('picocolors') -let path = require('path') -let fs = require('fs') -const { detectIndent, detectEOL } = require('./utils') +const { detectEOL, detectIndent } = require('./utils') function BrowserslistUpdateError(message) { this.name = 'BrowserslistUpdateError' @@ -17,6 +17,10 @@ function BrowserslistUpdateError(message) { BrowserslistUpdateError.prototype = Error.prototype +// Check if HADOOP_HOME is set to determine if this is running in a Hadoop environment +const IsHadoopExists = !!process.env.HADOOP_HOME +const yarnCommand = IsHadoopExists ? 'yarnpkg' : 'yarn' + /* c8 ignore next 3 */ function defaultPrint(str) { process.stdout.write(str) @@ -34,22 +38,25 @@ function detectLockfile() { ) } - let lockfileNpm = path.join(packageDir, 'package-lock.json') - let lockfileShrinkwrap = path.join(packageDir, 'npm-shrinkwrap.json') - let lockfileYarn = path.join(packageDir, 'yarn.lock') - let lockfilePnpm = path.join(packageDir, 'pnpm-lock.yaml') + let lockfileNpm = join(packageDir, 'package-lock.json') + let lockfileShrinkwrap = join(packageDir, 'npm-shrinkwrap.json') + let lockfileYarn = join(packageDir, 'yarn.lock') + let lockfilePnpm = join(packageDir, 'pnpm-lock.yaml') + let lockfileBun = join(packageDir, 'bun.lockb') - if (fs.existsSync(lockfilePnpm)) { - return { mode: 'pnpm', file: lockfilePnpm } - } else if (fs.existsSync(lockfileNpm)) { - return { mode: 'npm', file: lockfileNpm } - } else if (fs.existsSync(lockfileYarn)) { - let lock = { mode: 'yarn', file: lockfileYarn } - lock.content = fs.readFileSync(lock.file).toString() + if (existsSync(lockfilePnpm)) { + return { file: lockfilePnpm, mode: 'pnpm' } + } else if (existsSync(lockfileBun)) { + return { file: lockfileBun, mode: 'bun' } + } else if (existsSync(lockfileNpm)) { + return { file: lockfileNpm, mode: 'npm' } + } else if (existsSync(lockfileYarn)) { + let lock = { file: lockfileYarn, mode: 'yarn' } + lock.content = readFileSync(lock.file).toString() lock.version = /# yarn lockfile v1/.test(lock.content) ? 1 : 2 return lock - } else if (fs.existsSync(lockfileShrinkwrap)) { - return { mode: 'npm', file: lockfileShrinkwrap } + } else if (existsSync(lockfileShrinkwrap)) { + return { file: lockfileShrinkwrap, mode: 'npm' } } throw new BrowserslistUpdateError( 'No lockfile found. Run "npm install", "yarn install" or "pnpm install"' @@ -60,22 +67,23 @@ function getLatestInfo(lock) { if (lock.mode === 'yarn') { if (lock.version === 1) { return JSON.parse( - childProcess.execSync('yarn info caniuse-lite --json').toString() + execSync(yarnCommand + ' info caniuse-lite --json').toString() ).data } else { return JSON.parse( - childProcess.execSync('yarn npm info caniuse-lite --json').toString() + execSync(yarnCommand + ' npm info caniuse-lite --json').toString() ) } } if (lock.mode === 'pnpm') { - return JSON.parse( - childProcess.execSync('pnpm info caniuse-lite --json').toString() - ) + return JSON.parse(execSync('pnpm info caniuse-lite --json').toString()) } - return JSON.parse( - childProcess.execSync('npm show caniuse-lite --json').toString() - ) + if (lock.mode === 'bun') { + // TO-DO: No 'bun info' yet. Created issue: https://github.com/oven-sh/bun/issues/12280 + return JSON.parse(execSync(' npm info caniuse-lite --json').toString()) + } + + return JSON.parse(execSync('npm show caniuse-lite --json').toString()) } function getBrowsers() { @@ -126,6 +134,14 @@ function deletePackage(node, metadata) { node.dependencies[i] = deletePackage(node.dependencies[i], metadata) } } + if (node.packages) { + for (let path in node.packages) { + if (path.endsWith('/caniuse-lite')) { + metadata.versions[node.packages[path].version] = true + delete node.packages[path] + } + } + } return node } @@ -165,7 +181,7 @@ function updateYarnLockfile(lock, latest) { } function updateLockfile(lock, latest) { - if (!lock.content) lock.content = fs.readFileSync(lock.file).toString() + if (!lock.content) lock.content = readFileSync(lock.file).toString() let updatedLockFile if (lock.mode === 'yarn') { @@ -186,7 +202,7 @@ function updatePackageManually(print, lock, latest) { if (caniuseVersions.length === 1 && caniuseVersions[0] === latest.version) { print( 'Installed version: ' + - pico.bold(pico.green(latest.version)) + + pico.bold(pico.green(caniuseVersions[0])) + '\n' + pico.bold(pico.green('caniuse-lite is up to date')) + '\n' @@ -204,16 +220,17 @@ function updatePackageManually(print, lock, latest) { '\n' + 'Removing old caniuse-lite from lock file\n' ) - fs.writeFileSync(lock.file, lockfileData.content) + writeFileSync(lock.file, lockfileData.content) - let install = lock.mode === 'yarn' ? 'yarn add -W' : lock.mode + ' install' + let install = + lock.mode === 'yarn' ? yarnCommand + ' add -W' : lock.mode + ' install' print( 'Installing new caniuse-lite version\n' + pico.yellow('$ ' + install + ' caniuse-lite') + '\n' ) try { - childProcess.execSync(install + ' caniuse-lite') + execSync(install + ' caniuse-lite') } catch (e) /* c8 ignore start */ { print( pico.red( @@ -229,19 +246,20 @@ function updatePackageManually(print, lock, latest) { process.exit(1) } /* c8 ignore end */ - let del = lock.mode === 'yarn' ? 'yarn remove -W' : lock.mode + ' uninstall' + let del = + lock.mode === 'yarn' ? yarnCommand + ' remove -W' : lock.mode + ' uninstall' print( 'Cleaning package.json dependencies from caniuse-lite\n' + pico.yellow('$ ' + del + ' caniuse-lite') + '\n' ) - childProcess.execSync(del + ' caniuse-lite') + execSync(del + ' caniuse-lite') } function updateWith(print, cmd) { print('Updating caniuse-lite version\n' + pico.yellow('$ ' + cmd) + '\n') try { - childProcess.execSync(cmd) + execSync(cmd) } catch (e) /* c8 ignore start */ { print(pico.red(e.stdout.toString())) print( @@ -274,9 +292,11 @@ module.exports = function updateDB(print = defaultPrint) { print('Latest version: ' + pico.bold(pico.green(latest.version)) + '\n') if (lock.mode === 'yarn' && lock.version !== 1) { - updateWith(print, 'yarn up -R caniuse-lite') + updateWith(print, yarnCommand + ' up -R caniuse-lite') } else if (lock.mode === 'pnpm') { updateWith(print, 'pnpm up caniuse-lite') + } else if (lock.mode === 'bun') { + updateWith(print, 'bun update caniuse-lite') } else { updatePackageManually(print, lock, latest) } @@ -293,15 +313,24 @@ module.exports = function updateDB(print = defaultPrint) { } if (listError) { - print( - pico.red( - '\n' + - listError.stack + - '\n\n' + - 'Problem with browser list retrieval.\n' + - 'Target browser changes won’t be shown.\n' + if (listError.message.includes("Cannot find module 'browserslist'")) { + print( + pico.gray( + 'Install `browserslist` to your direct dependencies ' + + 'to see target browser changes\n' + ) ) - ) + } else { + print( + pico.red( + '\n' + + listError.stack + + '\n\n' + + 'Problem with browser list retrieval.\n' + + 'Target browser changes won’t be shown.\n' + ) + ) + } } else { let changes = diffBrowsers(oldList, newList) if (changes) { diff --git a/node_modules/update-browserslist-db/package.json b/node_modules/update-browserslist-db/package.json index b6a5d12b6b..714bdec2b6 100644 --- a/node_modules/update-browserslist-db/package.json +++ b/node_modules/update-browserslist-db/package.json @@ -1,6 +1,6 @@ { "name": "update-browserslist-db", - "version": "1.0.10", + "version": "1.1.1", "description": "CLI tool to update caniuse-lite to refresh target browsers from Browserslist config", "keywords": [ "caniuse", @@ -15,6 +15,10 @@ { "type": "tidelift", "url": "https://tidelift.com/funding/github/npm/browserslist" + }, + { + "type": "github", + "url": "https://github.com/sponsors/ai" } ], "author": "Andrey Sitnik ", @@ -26,13 +30,11 @@ "./package.json": "./package.json" }, "dependencies": { - "escalade": "^3.1.1", - "picocolors": "^1.0.0" + "escalade": "^3.2.0", + "picocolors": "^1.1.0" }, "peerDependencies": { "browserslist": ">= 4.21.0" }, - "bin": { - "browserslist-lint": "cli.js" - } + "bin": "cli.js" } diff --git a/node_modules/update-browserslist-db/utils.js b/node_modules/update-browserslist-db/utils.js index d3ac914d02..c63b278c01 100644 --- a/node_modules/update-browserslist-db/utils.js +++ b/node_modules/update-browserslist-db/utils.js @@ -3,8 +3,11 @@ const { EOL } = require('os') const getFirstRegexpMatchOrDefault = (text, regexp, defaultValue) => { regexp.lastIndex = 0 // https://stackoverflow.com/a/11477448/4536543 let match = regexp.exec(text) - if (match !== null) return match[1] - return defaultValue + if (match !== null) { + return match[1] + } else { + return defaultValue + } } const DEFAULT_INDENT = ' ' diff --git a/package-lock.json b/package-lock.json index 6390c493fb..eaf6f020d4 100644 --- a/package-lock.json +++ b/package-lock.json @@ -56,20 +56,20 @@ "@types/node": "20.9.0", "@types/semver": "^7.5.8", "@types/sinon": "^17.0.3", - "@typescript-eslint/eslint-plugin": "^8.15.0", - "@typescript-eslint/parser": "^8.15.0", + "@typescript-eslint/eslint-plugin": "^8.16.0", + "@typescript-eslint/parser": "^8.16.0", "ava": "^5.3.1", "eslint": "^8.57.1", "eslint-import-resolver-typescript": "^3.6.3", "eslint-plugin-filenames": "^1.3.2", - "eslint-plugin-github": "^5.0.2", + "eslint-plugin-github": "^5.1.1", "eslint-plugin-import": "2.29.1", "eslint-plugin-no-async-foreach": "^0.1.1", "micromatch": "4.0.8", "nock": "^13.5.6", "removeNPMAbsolutePaths": "3.0.1", "sinon": "^19.0.2", - "typescript": "^5.6.3" + "typescript": "^5.7.2" } }, "node_modules/@aashutoshrathi/word-wrap": { @@ -1140,18 +1140,12 @@ "node": ">=14" } }, - "node_modules/@pkgr/utils": { - "version": "2.4.2", + "node_modules/@pkgr/core": { + "version": "0.1.1", + "resolved": "https://registry.npmjs.org/@pkgr/core/-/core-0.1.1.tgz", + "integrity": "sha512-cq8o4cWH0ibXh9VGi5P20Tu9XF/0fFXl9EUinr9QfTM7a7p0oTA4iJRCQWppXR1Pg8dSM0UCItCkPwsk9qWWYA==", "dev": true, "license": "MIT", - "dependencies": { - "cross-spawn": "^7.0.3", - "fast-glob": "^3.3.0", - "is-glob": "^4.0.3", - "open": "^9.1.0", - "picocolors": "^1.0.0", - "tslib": "^2.6.0" - }, "engines": { "node": "^12.20.0 || ^14.18.0 || >=16.0.0" }, @@ -1159,11 +1153,6 @@ "url": "https://opencollective.com/unts" } }, - "node_modules/@pkgr/utils/node_modules/tslib": { - "version": "2.6.0", - "dev": true, - "license": "0BSD" - }, "node_modules/@protobuf-ts/plugin": { "version": "2.9.4", "resolved": "https://registry.npmjs.org/@protobuf-ts/plugin/-/plugin-2.9.4.tgz", @@ -1371,16 +1360,17 @@ "license": "MIT" }, "node_modules/@typescript-eslint/eslint-plugin": { - "version": "8.15.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-8.15.0.tgz", - "integrity": "sha512-+zkm9AR1Ds9uLWN3fkoeXgFppaQ+uEVtfOV62dDmsy9QCNqlRHWNEck4yarvRNrvRcHQLGfqBNui3cimoz8XAg==", + "version": "8.16.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-8.16.0.tgz", + "integrity": "sha512-5YTHKV8MYlyMI6BaEG7crQ9BhSc8RxzshOReKwZwRWN0+XvvTOm+L/UYLCYxFpfwYuAAqhxiq4yae0CMFwbL7Q==", "dev": true, + "license": "MIT", "dependencies": { "@eslint-community/regexpp": "^4.10.0", - "@typescript-eslint/scope-manager": "8.15.0", - "@typescript-eslint/type-utils": "8.15.0", - "@typescript-eslint/utils": "8.15.0", - "@typescript-eslint/visitor-keys": "8.15.0", + "@typescript-eslint/scope-manager": "8.16.0", + "@typescript-eslint/type-utils": "8.16.0", + "@typescript-eslint/utils": "8.16.0", + "@typescript-eslint/visitor-keys": "8.16.0", "graphemer": "^1.4.0", "ignore": "^5.3.1", "natural-compare": "^1.4.0", @@ -1404,15 +1394,16 @@ } }, "node_modules/@typescript-eslint/parser": { - "version": "8.15.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-8.15.0.tgz", - "integrity": "sha512-7n59qFpghG4uazrF9qtGKBZXn7Oz4sOMm8dwNWDQY96Xlm2oX67eipqcblDj+oY1lLCbf1oltMZFpUso66Kl1A==", + "version": "8.16.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-8.16.0.tgz", + "integrity": "sha512-D7DbgGFtsqIPIFMPJwCad9Gfi/hC0PWErRRHFnaCWoEDYi5tQUDiJCTmGUbBiLzjqAck4KcXt9Ayj0CNlIrF+w==", "dev": true, + "license": "BSD-2-Clause", "dependencies": { - "@typescript-eslint/scope-manager": "8.15.0", - "@typescript-eslint/types": "8.15.0", - "@typescript-eslint/typescript-estree": "8.15.0", - "@typescript-eslint/visitor-keys": "8.15.0", + "@typescript-eslint/scope-manager": "8.16.0", + "@typescript-eslint/types": "8.16.0", + "@typescript-eslint/typescript-estree": "8.16.0", + "@typescript-eslint/visitor-keys": "8.16.0", "debug": "^4.3.4" }, "engines": { @@ -1432,13 +1423,14 @@ } }, "node_modules/@typescript-eslint/scope-manager": { - "version": "8.15.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-8.15.0.tgz", - "integrity": "sha512-QRGy8ADi4J7ii95xz4UoiymmmMd/zuy9azCaamnZ3FM8T5fZcex8UfJcjkiEZjJSztKfEBe3dZ5T/5RHAmw2mA==", + "version": "8.16.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-8.16.0.tgz", + "integrity": "sha512-mwsZWubQvBki2t5565uxF0EYvG+FwdFb8bMtDuGQLdCCnGPrDEDvm1gtfynuKlnpzeBRqdFCkMf9jg1fnAK8sg==", "dev": true, + "license": "MIT", "dependencies": { - "@typescript-eslint/types": "8.15.0", - "@typescript-eslint/visitor-keys": "8.15.0" + "@typescript-eslint/types": "8.16.0", + "@typescript-eslint/visitor-keys": "8.16.0" }, "engines": { "node": "^18.18.0 || ^20.9.0 || >=21.1.0" @@ -1449,13 +1441,14 @@ } }, "node_modules/@typescript-eslint/type-utils": { - "version": "8.15.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-8.15.0.tgz", - "integrity": "sha512-UU6uwXDoI3JGSXmcdnP5d8Fffa2KayOhUUqr/AiBnG1Gl7+7ut/oyagVeSkh7bxQ0zSXV9ptRh/4N15nkCqnpw==", + "version": "8.16.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-8.16.0.tgz", + "integrity": "sha512-IqZHGG+g1XCWX9NyqnI/0CX5LL8/18awQqmkZSl2ynn8F76j579dByc0jhfVSnSnhf7zv76mKBQv9HQFKvDCgg==", "dev": true, + "license": "MIT", "dependencies": { - "@typescript-eslint/typescript-estree": "8.15.0", - "@typescript-eslint/utils": "8.15.0", + "@typescript-eslint/typescript-estree": "8.16.0", + "@typescript-eslint/utils": "8.16.0", "debug": "^4.3.4", "ts-api-utils": "^1.3.0" }, @@ -1476,10 +1469,11 @@ } }, "node_modules/@typescript-eslint/types": { - "version": "8.15.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-8.15.0.tgz", - "integrity": "sha512-n3Gt8Y/KyJNe0S3yDCD2RVKrHBC4gTUcLTebVBXacPy091E6tNspFLKRXlk3hwT4G55nfr1n2AdFqi/XMxzmPQ==", + "version": "8.16.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-8.16.0.tgz", + "integrity": "sha512-NzrHj6thBAOSE4d9bsuRNMvk+BvaQvmY4dDglgkgGC0EW/tB3Kelnp3tAKH87GEwzoxgeQn9fNGRyFJM/xd+GQ==", "dev": true, + "license": "MIT", "engines": { "node": "^18.18.0 || ^20.9.0 || >=21.1.0" }, @@ -1489,13 +1483,14 @@ } }, "node_modules/@typescript-eslint/typescript-estree": { - "version": "8.15.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-8.15.0.tgz", - "integrity": "sha512-1eMp2JgNec/niZsR7ioFBlsh/Fk0oJbhaqO0jRyQBMgkz7RrFfkqF9lYYmBoGBaSiLnu8TAPQTwoTUiSTUW9dg==", + "version": "8.16.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-8.16.0.tgz", + "integrity": "sha512-E2+9IzzXMc1iaBy9zmo+UYvluE3TW7bCGWSF41hVWUE01o8nzr1rvOQYSxelxr6StUvRcTMe633eY8mXASMaNw==", "dev": true, + "license": "BSD-2-Clause", "dependencies": { - "@typescript-eslint/types": "8.15.0", - "@typescript-eslint/visitor-keys": "8.15.0", + "@typescript-eslint/types": "8.16.0", + "@typescript-eslint/visitor-keys": "8.16.0", "debug": "^4.3.4", "fast-glob": "^3.3.2", "is-glob": "^4.0.3", @@ -1521,6 +1516,7 @@ "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.1.tgz", "integrity": "sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA==", "dev": true, + "license": "MIT", "dependencies": { "balanced-match": "^1.0.0" } @@ -1530,6 +1526,7 @@ "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-9.0.5.tgz", "integrity": "sha512-G6T0ZX48xgozx7587koeX9Ys2NYy6Gmv//P89sEte9V9whIapMNF4idKxnW2QtCcLiTWlb/wfCabAtAFWhhBow==", "dev": true, + "license": "ISC", "dependencies": { "brace-expansion": "^2.0.1" }, @@ -1541,15 +1538,16 @@ } }, "node_modules/@typescript-eslint/utils": { - "version": "8.15.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-8.15.0.tgz", - "integrity": "sha512-k82RI9yGhr0QM3Dnq+egEpz9qB6Un+WLYhmoNcvl8ltMEededhh7otBVVIDDsEEttauwdY/hQoSsOv13lxrFzQ==", + "version": "8.16.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-8.16.0.tgz", + "integrity": "sha512-C1zRy/mOL8Pj157GiX4kaw7iyRLKfJXBR3L82hk5kS/GyHcOFmy4YUq/zfZti72I9wnuQtA/+xzft4wCC8PJdA==", "dev": true, + "license": "MIT", "dependencies": { "@eslint-community/eslint-utils": "^4.4.0", - "@typescript-eslint/scope-manager": "8.15.0", - "@typescript-eslint/types": "8.15.0", - "@typescript-eslint/typescript-estree": "8.15.0" + "@typescript-eslint/scope-manager": "8.16.0", + "@typescript-eslint/types": "8.16.0", + "@typescript-eslint/typescript-estree": "8.16.0" }, "engines": { "node": "^18.18.0 || ^20.9.0 || >=21.1.0" @@ -1568,12 +1566,13 @@ } }, "node_modules/@typescript-eslint/visitor-keys": { - "version": "8.15.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-8.15.0.tgz", - "integrity": "sha512-h8vYOulWec9LhpwfAdZf2bjr8xIp0KNKnpgqSz0qqYYKAW/QZKw3ktRndbiAtUz4acH4QLQavwZBYCc0wulA/Q==", + "version": "8.16.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-8.16.0.tgz", + "integrity": "sha512-pq19gbaMOmFE3CbL0ZB8J8BFCo2ckfHBfaIsaOZgBIF4EoISJIdLX5xRhd0FGB0LlHReNRuzoJoMGpTjq8F2CQ==", "dev": true, + "license": "MIT", "dependencies": { - "@typescript-eslint/types": "8.15.0", + "@typescript-eslint/types": "8.16.0", "eslint-visitor-keys": "^4.2.0" }, "engines": { @@ -1589,6 +1588,7 @@ "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-4.2.0.tgz", "integrity": "sha512-UyLnSehNt62FFhSwjZlHmeokpRK59rcz29j+F1/aDgbkbRTk7wIc9XzdoasMUbRNKDM0qQt/+BJ4BrpFeABemw==", "dev": true, + "license": "Apache-2.0", "engines": { "node": "^18.18.0 || ^20.9.0 || >=21.1.0" }, @@ -2145,14 +2145,6 @@ "version": "2.2.3", "license": "Apache-2.0" }, - "node_modules/big-integer": { - "version": "1.6.51", - "dev": true, - "license": "Unlicense", - "engines": { - "node": ">=0.6" - } - }, "node_modules/binary": { "version": "0.3.0", "resolved": "https://registry.npmjs.org/binary/-/binary-0.3.0.tgz", @@ -2183,17 +2175,6 @@ "version": "2.19.5", "license": "MIT" }, - "node_modules/bplist-parser": { - "version": "0.2.0", - "dev": true, - "license": "MIT", - "dependencies": { - "big-integer": "^1.6.44" - }, - "engines": { - "node": ">= 5.10.0" - } - }, "node_modules/brace-expansion": { "version": "1.1.11", "license": "MIT", @@ -2213,7 +2194,9 @@ } }, "node_modules/browserslist": { - "version": "4.21.4", + "version": "4.24.2", + "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.24.2.tgz", + "integrity": "sha512-ZIc+Q62revdMcqC6aChtW4jz3My3klmCO1fEmINZY/8J3EpBg5/A/D0AKmBveUh6pgoeycoMkVMko84tuYS+Gg==", "dev": true, "funding": [ { @@ -2223,14 +2206,18 @@ { "type": "tidelift", "url": "https://tidelift.com/funding/github/npm/browserslist" + }, + { + "type": "github", + "url": "https://github.com/sponsors/ai" } ], "license": "MIT", "dependencies": { - "caniuse-lite": "^1.0.30001400", - "electron-to-chromium": "^1.4.251", - "node-releases": "^2.0.6", - "update-browserslist-db": "^1.0.9" + "caniuse-lite": "^1.0.30001669", + "electron-to-chromium": "^1.5.41", + "node-releases": "^2.0.18", + "update-browserslist-db": "^1.1.1" }, "bin": { "browserslist": "cli.js" @@ -2280,20 +2267,6 @@ "node": ">=0.2.0" } }, - "node_modules/bundle-name": { - "version": "3.0.0", - "dev": true, - "license": "MIT", - "dependencies": { - "run-applescript": "^5.0.0" - }, - "engines": { - "node": ">=12" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, "node_modules/call-bind": { "version": "1.0.7", "resolved": "https://registry.npmjs.org/call-bind/-/call-bind-1.0.7.tgz", @@ -2338,7 +2311,9 @@ "license": "0BSD" }, "node_modules/caniuse-lite": { - "version": "1.0.30001639", + "version": "1.0.30001684", + "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001684.tgz", + "integrity": "sha512-G1LRwLIQjBQoyq0ZJGqGIJUXzJ8irpbjHLpVRXDvBEScFJ9b17sgK6vlx0GAJFE21okD7zXl08rRRUfq6HdoEQ==", "dev": true, "funding": [ { @@ -2842,38 +2817,6 @@ "dev": true, "license": "MIT" }, - "node_modules/default-browser": { - "version": "4.0.0", - "dev": true, - "license": "MIT", - "dependencies": { - "bundle-name": "^3.0.0", - "default-browser-id": "^3.0.0", - "execa": "^7.1.1", - "titleize": "^3.0.0" - }, - "engines": { - "node": ">=14.16" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/default-browser-id": { - "version": "3.0.0", - "dev": true, - "license": "MIT", - "dependencies": { - "bplist-parser": "^0.2.0", - "untildify": "^4.0.0" - }, - "engines": { - "node": ">=12" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, "node_modules/define-data-property": { "version": "1.1.4", "resolved": "https://registry.npmjs.org/define-data-property/-/define-data-property-1.1.4.tgz", @@ -2891,17 +2834,6 @@ "url": "https://github.com/sponsors/ljharb" } }, - "node_modules/define-lazy-prop": { - "version": "3.0.0", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=12" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, "node_modules/define-properties": { "version": "1.2.1", "resolved": "https://registry.npmjs.org/define-properties/-/define-properties-1.2.1.tgz", @@ -3065,7 +2997,9 @@ "license": "MIT" }, "node_modules/electron-to-chromium": { - "version": "1.4.284", + "version": "1.5.64", + "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.5.64.tgz", + "integrity": "sha512-IXEuxU+5ClW2IGEYFC2T7szbyVgehupCWQe5GNh+H065CD6U6IFN0s4KeAMFGNmQolRU4IV7zGBWSYMmZ8uuqQ==", "dev": true, "license": "ISC" }, @@ -3249,7 +3183,9 @@ } }, "node_modules/escalade": { - "version": "3.1.1", + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/escalade/-/escalade-3.2.0.tgz", + "integrity": "sha512-WUj2qlxaQtO4g6Pq5c29GTcWGDyd8itL8zTlipgECz3JesAiiOKotd8JU6otB3PACgG6xkJUyVhboMS+bje/jA==", "dev": true, "license": "MIT", "engines": { @@ -3409,11 +3345,13 @@ } }, "node_modules/eslint-plugin-escompat": { - "version": "3.3.4", + "version": "3.11.4", + "resolved": "https://registry.npmjs.org/eslint-plugin-escompat/-/eslint-plugin-escompat-3.11.4.tgz", + "integrity": "sha512-j0ywwNnIufshOzgAu+PfIig1c7VRClKSNKzpniMT2vXQ4leL5q+e/SpMFQU0nrdL2WFFM44XmhSuwmxb3G0CJg==", "dev": true, "license": "MIT", "dependencies": { - "browserslist": "^4.21.0" + "browserslist": "^4.23.1" }, "peerDependencies": { "eslint": ">=5.14.1" @@ -3452,34 +3390,69 @@ } }, "node_modules/eslint-plugin-github": { - "version": "5.0.2", - "resolved": "https://registry.npmjs.org/eslint-plugin-github/-/eslint-plugin-github-5.0.2.tgz", - "integrity": "sha512-nMdzWJQ5CimjQDY6SFeJ0KIXuNFf0dgDWEd4eP3UWfuTuP/dXcZJDg7MQRvAFt743T1zUi4+/HdOihfu8xJkLA==", + "version": "5.1.1", + "resolved": "https://registry.npmjs.org/eslint-plugin-github/-/eslint-plugin-github-5.1.1.tgz", + "integrity": "sha512-+yE9caIn0v14AUE+vYksZy2xMnzHhsiiC9DBMbrZutb4nsHEZy+Uzimdfth7GAyxAh6VWCiivYG/ktH4LT+hnQ==", "dev": true, + "license": "MIT", "dependencies": { + "@eslint/compat": "^1.2.3", + "@eslint/eslintrc": "^3.1.0", + "@eslint/js": "^9.14.0", "@github/browserslist-config": "^1.0.0", - "@typescript-eslint/eslint-plugin": "^8.0.0", - "@typescript-eslint/parser": "^8.0.0", "aria-query": "^5.3.0", "eslint-config-prettier": ">=8.0.0", - "eslint-plugin-escompat": "^3.3.3", + "eslint-plugin-escompat": "^3.11.3", "eslint-plugin-eslint-comments": "^3.2.0", "eslint-plugin-filenames": "^1.3.2", "eslint-plugin-i18n-text": "^1.0.1", "eslint-plugin-import": "^2.25.2", "eslint-plugin-jsx-a11y": "^6.7.1", "eslint-plugin-no-only-tests": "^3.0.0", - "eslint-plugin-prettier": "^5.0.0", + "eslint-plugin-prettier": "^5.2.1", "eslint-rule-documentation": ">=1.0.0", + "globals": "^15.12.0", "jsx-ast-utils": "^3.3.2", "prettier": "^3.0.0", - "svg-element-attributes": "^1.3.1" + "svg-element-attributes": "^1.3.1", + "typescript-eslint": "^8.14.0" }, "bin": { "eslint-ignore-errors": "bin/eslint-ignore-errors.js" }, "peerDependencies": { - "eslint": "^8.0.1" + "eslint": "^8 || ^9" + } + }, + "node_modules/eslint-plugin-github/node_modules/@eslint/compat": { + "version": "1.2.3", + "resolved": "https://registry.npmjs.org/@eslint/compat/-/compat-1.2.3.tgz", + "integrity": "sha512-wlZhwlDFxkxIZ571aH0FoK4h4Vwx7P3HJx62Gp8hTc10bfpwT2x0nULuAHmQSJBOWPgPeVf+9YtnD4j50zVHmA==", + "dev": true, + "license": "Apache-2.0", + "engines": { + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + }, + "peerDependencies": { + "eslint": "^9.10.0" + }, + "peerDependenciesMeta": { + "eslint": { + "optional": true + } + } + }, + "node_modules/eslint-plugin-github/node_modules/globals": { + "version": "15.12.0", + "resolved": "https://registry.npmjs.org/globals/-/globals-15.12.0.tgz", + "integrity": "sha512-1+gLErljJFhbOVyaetcwJiJ4+eLe45S2E7P5UiZ9xGfeq3ATQf5DOv9G7MH3gGbKQLkzmNh2DxfZwLdw+j6oTQ==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=18" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" } }, "node_modules/eslint-plugin-i18n-text": { @@ -3591,22 +3564,25 @@ } }, "node_modules/eslint-plugin-prettier": { - "version": "5.0.0", + "version": "5.2.1", + "resolved": "https://registry.npmjs.org/eslint-plugin-prettier/-/eslint-plugin-prettier-5.2.1.tgz", + "integrity": "sha512-gH3iR3g4JfF+yYPaJYkN7jEl9QbweL/YfkoRlNnuIEHEz1vHVlCmWOS+eGGiRuzHQXdJFCOTxRgvju9b8VUmrw==", "dev": true, "license": "MIT", "dependencies": { "prettier-linter-helpers": "^1.0.0", - "synckit": "^0.8.5" + "synckit": "^0.9.1" }, "engines": { "node": "^14.18.0 || >=16.0.0" }, "funding": { - "url": "https://opencollective.com/prettier" + "url": "https://opencollective.com/eslint-plugin-prettier" }, "peerDependencies": { "@types/eslint": ">=8.0.0", "eslint": ">=8.0.0", + "eslint-config-prettier": "*", "prettier": ">=3.0.0" }, "peerDependenciesMeta": { @@ -4781,20 +4757,6 @@ "url": "https://github.com/sponsors/ljharb" } }, - "node_modules/is-docker": { - "version": "3.0.0", - "dev": true, - "license": "MIT", - "bin": { - "is-docker": "cli.js" - }, - "engines": { - "node": "^12.20.0 || ^14.13.1 || >=16.0.0" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, "node_modules/is-error": { "version": "2.2.2", "dev": true, @@ -4824,23 +4786,6 @@ "node": ">=0.10.0" } }, - "node_modules/is-inside-container": { - "version": "1.0.0", - "dev": true, - "license": "MIT", - "dependencies": { - "is-docker": "^3.0.0" - }, - "bin": { - "is-inside-container": "cli.js" - }, - "engines": { - "node": ">=14.16" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, "node_modules/is-map": { "version": "2.0.2", "dev": true, @@ -5042,31 +4987,6 @@ "url": "https://github.com/sponsors/ljharb" } }, - "node_modules/is-wsl": { - "version": "2.2.0", - "dev": true, - "license": "MIT", - "dependencies": { - "is-docker": "^2.0.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/is-wsl/node_modules/is-docker": { - "version": "2.2.1", - "dev": true, - "license": "MIT", - "bin": { - "is-docker": "cli.js" - }, - "engines": { - "node": ">=8" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, "node_modules/isarray": { "version": "2.0.5", "resolved": "https://registry.npmjs.org/isarray/-/isarray-2.0.5.tgz", @@ -5565,7 +5485,9 @@ } }, "node_modules/node-releases": { - "version": "2.0.8", + "version": "2.0.18", + "resolved": "https://registry.npmjs.org/node-releases/-/node-releases-2.0.18.tgz", + "integrity": "sha512-d9VeXT4SJ7ZeOqGX6R5EM022wpL+eWPooLI+5UpWn2jCT1aosUQEhQP214x33Wkwx3JQMvIm+tIoVOdodFS40g==", "dev": true, "license": "MIT" }, @@ -5745,23 +5667,6 @@ "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/open": { - "version": "9.1.0", - "dev": true, - "license": "MIT", - "dependencies": { - "default-browser": "^4.0.0", - "define-lazy-prop": "^3.0.0", - "is-inside-container": "^1.0.0", - "is-wsl": "^2.2.0" - }, - "engines": { - "node": ">=14.16" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, "node_modules/optionator": { "version": "0.9.3", "dev": true, @@ -5965,7 +5870,9 @@ } }, "node_modules/picocolors": { - "version": "1.0.0", + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/picocolors/-/picocolors-1.1.1.tgz", + "integrity": "sha512-xceH2snhtb5M9liqDsmEw56le376mTZkEX/jEb/RxNFyegNul7eNslCXP9FDj/Lcu0X8KEyMceP2ntpaHrDEVA==", "dev": true, "license": "ISC" }, @@ -6026,7 +5933,9 @@ } }, "node_modules/prettier": { - "version": "3.0.0", + "version": "3.3.3", + "resolved": "https://registry.npmjs.org/prettier/-/prettier-3.3.3.tgz", + "integrity": "sha512-i2tDNA0O5IrMO757lfrdQZCc2jPNDVntV0m/+4whiDfWaTKfMNgR7Qz0NAeGz/nRqF4m5/6CLzbP4/liHt12Ew==", "dev": true, "license": "MIT", "bin": { @@ -6041,6 +5950,8 @@ }, "node_modules/prettier-linter-helpers": { "version": "1.0.0", + "resolved": "https://registry.npmjs.org/prettier-linter-helpers/-/prettier-linter-helpers-1.0.0.tgz", + "integrity": "sha512-GbK2cP9nraSSUF9N2XwUwqfzlAFlMNYYl+ShE/V+H8a9uNl/oUqB1w2EL54Jh0OlyRSd8RfWYJ3coVS4TROP2w==", "dev": true, "license": "MIT", "dependencies": { @@ -6307,102 +6218,6 @@ "url": "https://github.com/sponsors/isaacs" } }, - "node_modules/run-applescript": { - "version": "5.0.0", - "dev": true, - "license": "MIT", - "dependencies": { - "execa": "^5.0.0" - }, - "engines": { - "node": ">=12" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/run-applescript/node_modules/execa": { - "version": "5.1.1", - "dev": true, - "license": "MIT", - "dependencies": { - "cross-spawn": "^7.0.3", - "get-stream": "^6.0.0", - "human-signals": "^2.1.0", - "is-stream": "^2.0.0", - "merge-stream": "^2.0.0", - "npm-run-path": "^4.0.1", - "onetime": "^5.1.2", - "signal-exit": "^3.0.3", - "strip-final-newline": "^2.0.0" - }, - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/sindresorhus/execa?sponsor=1" - } - }, - "node_modules/run-applescript/node_modules/human-signals": { - "version": "2.1.0", - "dev": true, - "license": "Apache-2.0", - "engines": { - "node": ">=10.17.0" - } - }, - "node_modules/run-applescript/node_modules/is-stream": { - "version": "2.0.1", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=8" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/run-applescript/node_modules/mimic-fn": { - "version": "2.1.0", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=6" - } - }, - "node_modules/run-applescript/node_modules/npm-run-path": { - "version": "4.0.1", - "dev": true, - "license": "MIT", - "dependencies": { - "path-key": "^3.0.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/run-applescript/node_modules/onetime": { - "version": "5.1.2", - "dev": true, - "license": "MIT", - "dependencies": { - "mimic-fn": "^2.1.0" - }, - "engines": { - "node": ">=6" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/run-applescript/node_modules/strip-final-newline": { - "version": "2.0.0", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=6" - } - }, "node_modules/run-parallel": { "version": "1.2.0", "funding": [ @@ -6929,12 +6744,14 @@ } }, "node_modules/synckit": { - "version": "0.8.5", + "version": "0.9.2", + "resolved": "https://registry.npmjs.org/synckit/-/synckit-0.9.2.tgz", + "integrity": "sha512-vrozgXDQwYO72vHjUb/HnFbQx1exDjoKzqx23aXEg2a9VIg2TSFZ8FmeZpTjUCFMYw7mpX4BE2SFu8wI7asYsw==", "dev": true, "license": "MIT", "dependencies": { - "@pkgr/utils": "^2.3.1", - "tslib": "^2.5.0" + "@pkgr/core": "^0.1.0", + "tslib": "^2.6.2" }, "engines": { "node": "^14.18.0 || >=16.0.0" @@ -6944,7 +6761,9 @@ } }, "node_modules/synckit/node_modules/tslib": { - "version": "2.6.0", + "version": "2.8.1", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.8.1.tgz", + "integrity": "sha512-oJFu94HQb+KVduSUQL7wnpmqnfmLsOA/nAh6b6EH0wCEoK0/mPeXU6c3wKDV83MkOuHPRHtSXKKU99IBazS/2w==", "dev": true, "license": "0BSD" }, @@ -7002,17 +6821,6 @@ "version": "2.0.3", "license": "MIT" }, - "node_modules/titleize": { - "version": "3.0.0", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=12" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, "node_modules/tmp": { "version": "0.2.3", "resolved": "https://registry.npmjs.org/tmp/-/tmp-0.2.3.tgz", @@ -7252,10 +7060,11 @@ } }, "node_modules/typescript": { - "version": "5.6.3", - "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.6.3.tgz", - "integrity": "sha512-hjcS1mhfuyi4WW8IWtjP7brDrG2cuDZukyrYrSauoXGNgx0S7zceP07adYkJycEr56BOUTNPzbInooiN3fn1qw==", + "version": "5.7.2", + "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.7.2.tgz", + "integrity": "sha512-i5t66RHxDvVN40HfDd1PsEThGNnlMCMT3jMUuoh9/0TaqWevNontacunWyN02LA9/fIbEWlcHZcgTKb9QoaLfg==", "dev": true, + "license": "Apache-2.0", "bin": { "tsc": "bin/tsc", "tsserver": "bin/tsserver" @@ -7264,6 +7073,33 @@ "node": ">=14.17" } }, + "node_modules/typescript-eslint": { + "version": "8.16.0", + "resolved": "https://registry.npmjs.org/typescript-eslint/-/typescript-eslint-8.16.0.tgz", + "integrity": "sha512-wDkVmlY6O2do4V+lZd0GtRfbtXbeD0q9WygwXXSJnC1xorE8eqyC2L1tJimqpSeFrOzRlYtWnUp/uzgHQOgfBQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "@typescript-eslint/eslint-plugin": "8.16.0", + "@typescript-eslint/parser": "8.16.0", + "@typescript-eslint/utils": "8.16.0" + }, + "engines": { + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/typescript-eslint" + }, + "peerDependencies": { + "eslint": "^8.57.0 || ^9.0.0" + }, + "peerDependenciesMeta": { + "typescript": { + "optional": true + } + } + }, "node_modules/unbox-primitive": { "version": "1.0.2", "dev": true, @@ -7286,14 +7122,6 @@ "version": "6.0.0", "license": "ISC" }, - "node_modules/untildify": { - "version": "4.0.0", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=8" - } - }, "node_modules/unzip-stream": { "version": "0.3.4", "resolved": "https://registry.npmjs.org/unzip-stream/-/unzip-stream-0.3.4.tgz", @@ -7305,7 +7133,9 @@ } }, "node_modules/update-browserslist-db": { - "version": "1.0.10", + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/update-browserslist-db/-/update-browserslist-db-1.1.1.tgz", + "integrity": "sha512-R8UzCaa9Az+38REPiJ1tXlImTJXlVfgHZsglwBD/k6nj76ctsH1E3q4doGrukiLQd3sGQYu56r5+lo5r94l29A==", "dev": true, "funding": [ { @@ -7315,15 +7145,19 @@ { "type": "tidelift", "url": "https://tidelift.com/funding/github/npm/browserslist" + }, + { + "type": "github", + "url": "https://github.com/sponsors/ai" } ], "license": "MIT", "dependencies": { - "escalade": "^3.1.1", - "picocolors": "^1.0.0" + "escalade": "^3.2.0", + "picocolors": "^1.1.0" }, "bin": { - "browserslist-lint": "cli.js" + "update-browserslist-db": "cli.js" }, "peerDependencies": { "browserslist": ">= 4.21.0" diff --git a/package.json b/package.json index d43d1717a4..0fe8e6146b 100644 --- a/package.json +++ b/package.json @@ -72,20 +72,20 @@ "@types/node": "20.9.0", "@types/semver": "^7.5.8", "@types/sinon": "^17.0.3", - "@typescript-eslint/eslint-plugin": "^8.15.0", - "@typescript-eslint/parser": "^8.15.0", + "@typescript-eslint/eslint-plugin": "^8.16.0", + "@typescript-eslint/parser": "^8.16.0", "ava": "^5.3.1", "eslint": "^8.57.1", "eslint-import-resolver-typescript": "^3.6.3", "eslint-plugin-filenames": "^1.3.2", - "eslint-plugin-github": "^5.0.2", + "eslint-plugin-github": "^5.1.1", "eslint-plugin-import": "2.29.1", "eslint-plugin-no-async-foreach": "^0.1.1", "micromatch": "4.0.8", "nock": "^13.5.6", "removeNPMAbsolutePaths": "3.0.1", "sinon": "^19.0.2", - "typescript": "^5.6.3" + "typescript": "^5.7.2" }, "overrides": { "@actions/tool-cache": {